diff --git a/README.md b/README.md index 8478114..48438f5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,35 @@ -# deepin-wine-ubuntu -Deepin wine for ubuntu +# deepin wine for ubuntu + +#### 项目介绍 +deepin wine for ubuntu + +#### 软件架构 +软件架构说明 + + +#### 安装教程 + +方法1:使用"git clone 'https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git'" 克隆到本地,用图形界面的软件包管理器安装所有deb文件。 + +方法2:使用"git clone 'https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git'" 克隆到本地,(授予可执行权限后)在终端中运行install.sh 。 + +#### 使用说明 + +自行到'http://mirrors.aliyun.com/deepin/pool/non-free/d/' 中下载想要的容器安装运行即可。 + +#### 参与贡献 + +1. Fork 本项目 +2. 新建 Feat_xxx 分支 +3. 提交代码 +4. 新建 Pull Request + + +#### 码云特技 + +1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md +2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) +3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 +4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 +5. 码云官方提供的使用手册 [http://git.mydoc.io/](http://git.mydoc.io/) +6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/deepin-fonts-wine_2.18-12_all.deb b/deepin-fonts-wine_2.18-12_all.deb new file mode 100644 index 0000000..01a1f49 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all.deb differ diff --git a/deepin-fonts-wine_2.18-12_all/DEBIAN/control b/deepin-fonts-wine_2.18-12_all/DEBIAN/control new file mode 100644 index 0000000..f6dbe1c --- /dev/null +++ b/deepin-fonts-wine_2.18-12_all/DEBIAN/control @@ -0,0 +1,18 @@ +Package: deepin-fonts-wine +Source: deepin-wine +Version: 2.18-12 +Architecture: all +Maintainer: Debian Wine Party +Installed-Size: 893 +Breaks: libdeepin-wine (<< 1.7.41-2~) +Replaces: libdeepin-wine (<< 1.7.41-2~) +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: fonts +Priority: optional +Multi-Arch: foreign +Homepage: http://www.winehq.org/ +Description: Windows API implementation - fonts + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides the fonts used by wine. diff --git a/deepin-fonts-wine_2.18-12_all/DEBIAN/md5sums b/deepin-fonts-wine_2.18-12_all/DEBIAN/md5sums new file mode 100644 index 0000000..691f11f --- /dev/null +++ b/deepin-fonts-wine_2.18-12_all/DEBIAN/md5sums @@ -0,0 +1,59 @@ +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-fonts-wine/control +b56e0381bbf6039cc1d7d38ed91837da usr/share/deepin-wine/wine/fonts/coue1255.fon +e96603bf73e71f1bcdf70c8ca6672bf7 usr/share/deepin-wine/wine/fonts/coue1256.fon +46728b29d89708d5110ceb4218bbff22 usr/share/deepin-wine/wine/fonts/coue1257.fon +fa541bfc84bca578cd4fdaaf1f4fbc11 usr/share/deepin-wine/wine/fonts/coure.fon +55282b04289f3b39daf1cf40d90d130a usr/share/deepin-wine/wine/fonts/couree.fon +f299556db0ef17cf7d4ee96090502da9 usr/share/deepin-wine/wine/fonts/coureg.fon +d07606faae0ca4e4ffdfc55bb2b62bf1 usr/share/deepin-wine/wine/fonts/courer.fon +1f9e535c2eaa9140bfe802246d4197ad usr/share/deepin-wine/wine/fonts/couret.fon +032301bf2fd2abecc348176cae196869 usr/share/deepin-wine/wine/fonts/cvgasys.fon +1d7d8c92463f69f5946be0a33c8ab656 usr/share/deepin-wine/wine/fonts/hvgasys.fon +33399ac949753df18429a007ebfa3692 usr/share/deepin-wine/wine/fonts/jsmalle.fon +b9d41688130702d9245cd13663340201 usr/share/deepin-wine/wine/fonts/jvgafix.fon +9873d022b70921db9a7f7fcb9a5d702d usr/share/deepin-wine/wine/fonts/jvgasys.fon +95b3546be3a69d0b4b76c99d3920c962 usr/share/deepin-wine/wine/fonts/marlett.ttf +8ef2965ecd6b6d83ce37cddfa3c409c7 usr/share/deepin-wine/wine/fonts/smae1255.fon +fc90504fa3737edc3e96bf79f212e4c1 usr/share/deepin-wine/wine/fonts/smae1256.fon +8267969b0b1f414d881540e665a5d590 usr/share/deepin-wine/wine/fonts/smae1257.fon +c41447c91f1e2dc3575ee67acea73b22 usr/share/deepin-wine/wine/fonts/smalle.fon +5eaf8200fe12c497f27afdbf0b83256a usr/share/deepin-wine/wine/fonts/smallee.fon +0a80edebc46a14ec3fef8b02521483c8 usr/share/deepin-wine/wine/fonts/smalleg.fon +761466a17f6c18836e55981ce415c95b usr/share/deepin-wine/wine/fonts/smaller.fon +b666ad688fd37a544a746e9aa358cfb0 usr/share/deepin-wine/wine/fonts/smallet.fon +662dd70af5035dde6258421209b6b63d usr/share/deepin-wine/wine/fonts/ssee1255.fon +a14bff070baebb4badab94a8d676e7c9 usr/share/deepin-wine/wine/fonts/ssee1256.fon +bb0387d316038e0b1d5f1df7ee21c3e8 usr/share/deepin-wine/wine/fonts/ssee1257.fon +84c88f2ad727bf11e9770ad1477f9969 usr/share/deepin-wine/wine/fonts/ssee874.fon +d5a289a764b8173fd475ef7fe0784948 usr/share/deepin-wine/wine/fonts/ssef1255.fon +a27aa2c5e1f3e32558fb267ba81ef0a6 usr/share/deepin-wine/wine/fonts/ssef1256.fon +1e3d8c80c843ba98bb217e9f2bb30c10 usr/share/deepin-wine/wine/fonts/ssef1257.fon +35089305a59a409cd0a496a21f50cfb6 usr/share/deepin-wine/wine/fonts/ssef874.fon +159d172e900cfb52533638685a121bd1 usr/share/deepin-wine/wine/fonts/sserife.fon +135019a81b619502e501e9836acdd169 usr/share/deepin-wine/wine/fonts/sserifee.fon +c90e4a1e0a71efe8e6c8ccb087a6bc5e usr/share/deepin-wine/wine/fonts/sserifeg.fon +55ccd2d26f68531f0a915dd618649c2e usr/share/deepin-wine/wine/fonts/sserifer.fon +293bc0e04ec8622730ca49e92b5ff109 usr/share/deepin-wine/wine/fonts/sserifet.fon +c8a432f21e633d505d91a7752e515372 usr/share/deepin-wine/wine/fonts/sseriff.fon +8ef330b81abcaca92fdf8125344c84ae usr/share/deepin-wine/wine/fonts/sseriffe.fon +fd5e766ca0a49cb6636edd8b7ef05023 usr/share/deepin-wine/wine/fonts/sseriffg.fon +67384915943df6cf4897bdc1201f7e54 usr/share/deepin-wine/wine/fonts/sseriffr.fon +eb692244685cab1e497fd598d0d17cce usr/share/deepin-wine/wine/fonts/sserifft.fon +e21ccab7402449dadb4979469520649b usr/share/deepin-wine/wine/fonts/svgasys.fon +74cf6150c229b61ba9c22b7db0c130be usr/share/deepin-wine/wine/fonts/symbol.ttf +35ffed31763ebda57fefb97598af6b86 usr/share/deepin-wine/wine/fonts/tahoma.ttf +2720d135034e2f3e853d4cd5e8440bcb usr/share/deepin-wine/wine/fonts/tahomabd.ttf +7e472bf12bad1e62ae9b17a751b62501 usr/share/deepin-wine/wine/fonts/vgafix.fon +e43ad3acae1bf2f5e923943e73669ac7 usr/share/deepin-wine/wine/fonts/vgas1255.fon +ec808eca9fae246ded9b1230591ddd9b usr/share/deepin-wine/wine/fonts/vgas1256.fon +22409f337cdde6b052e38f9536c3a7d1 usr/share/deepin-wine/wine/fonts/vgas1257.fon +10b6bd15d6229c3d763da9b1247dfb4b usr/share/deepin-wine/wine/fonts/vgas874.fon +0079a7aecd058fe864a5afaad7bf2d6c usr/share/deepin-wine/wine/fonts/vgasys.fon +e46420a1d117a97b0c7477f91eec6991 usr/share/deepin-wine/wine/fonts/vgasyse.fon +faf16c0a9e348af7028b843c873cf2fd usr/share/deepin-wine/wine/fonts/vgasysg.fon +effacb9b2c4d826875be7fc2b566ca34 usr/share/deepin-wine/wine/fonts/vgasysr.fon +3a5531a5c1bf9d7e150e8b0a9f6b3ef1 usr/share/deepin-wine/wine/fonts/vgasyst.fon +abc4a6b26b0e12d7d690b3b6d84f9a65 usr/share/deepin-wine/wine/fonts/wingding.ttf +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-fonts-wine/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-fonts-wine/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-fonts-wine/copyright diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/bug/deepin-fonts-wine/control b/deepin-fonts-wine_2.18-12_all/usr/share/bug/deepin-fonts-wine/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-fonts-wine_2.18-12_all/usr/share/bug/deepin-fonts-wine/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1255.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1255.fon new file mode 100644 index 0000000..9515d04 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1255.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1256.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1256.fon new file mode 100644 index 0000000..dba7e8f Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1256.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1257.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1257.fon new file mode 100644 index 0000000..e39dc35 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coue1257.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coure.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coure.fon new file mode 100644 index 0000000..bd39208 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coure.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/couree.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/couree.fon new file mode 100644 index 0000000..890a653 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/couree.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coureg.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coureg.fon new file mode 100644 index 0000000..5be0785 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/coureg.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/courer.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/courer.fon new file mode 100644 index 0000000..995a81d Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/courer.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/couret.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/couret.fon new file mode 100644 index 0000000..1ca5e54 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/couret.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/cvgasys.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/cvgasys.fon new file mode 100644 index 0000000..a4d7653 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/cvgasys.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/hvgasys.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/hvgasys.fon new file mode 100644 index 0000000..7bc88b5 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/hvgasys.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jsmalle.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jsmalle.fon new file mode 100644 index 0000000..97de2ba Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jsmalle.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jvgafix.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jvgafix.fon new file mode 100644 index 0000000..d3bf7a3 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jvgafix.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jvgasys.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jvgasys.fon new file mode 100644 index 0000000..1415d85 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/jvgasys.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/marlett.ttf b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/marlett.ttf new file mode 100644 index 0000000..b3122c5 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/marlett.ttf differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1255.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1255.fon new file mode 100644 index 0000000..683b867 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1255.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1256.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1256.fon new file mode 100644 index 0000000..19757ae Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1256.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1257.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1257.fon new file mode 100644 index 0000000..73e27d3 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smae1257.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smalle.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smalle.fon new file mode 100644 index 0000000..9a2d832 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smalle.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smallee.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smallee.fon new file mode 100644 index 0000000..23a17ce Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smallee.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smalleg.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smalleg.fon new file mode 100644 index 0000000..8a8b8fb Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smalleg.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smaller.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smaller.fon new file mode 100644 index 0000000..0cd2ab1 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smaller.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smallet.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smallet.fon new file mode 100644 index 0000000..5fcac7a Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/smallet.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1255.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1255.fon new file mode 100644 index 0000000..e2db380 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1255.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1256.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1256.fon new file mode 100644 index 0000000..ee577a0 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1256.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1257.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1257.fon new file mode 100644 index 0000000..87dfc52 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee1257.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee874.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee874.fon new file mode 100644 index 0000000..54a3a2a Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssee874.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1255.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1255.fon new file mode 100644 index 0000000..01401e8 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1255.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1256.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1256.fon new file mode 100644 index 0000000..9dc5f0d Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1256.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1257.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1257.fon new file mode 100644 index 0000000..daad9b5 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef1257.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef874.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef874.fon new file mode 100644 index 0000000..ba95253 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/ssef874.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserife.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserife.fon new file mode 100644 index 0000000..2d3422c Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserife.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifee.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifee.fon new file mode 100644 index 0000000..7eb63b4 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifee.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifeg.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifeg.fon new file mode 100644 index 0000000..ae14fcb Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifeg.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifer.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifer.fon new file mode 100644 index 0000000..66489d3 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifer.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifet.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifet.fon new file mode 100644 index 0000000..643f343 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifet.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriff.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriff.fon new file mode 100644 index 0000000..30e0efe Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriff.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffe.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffe.fon new file mode 100644 index 0000000..7e5d557 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffe.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffg.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffg.fon new file mode 100644 index 0000000..f488172 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffg.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffr.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffr.fon new file mode 100644 index 0000000..af07bf3 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sseriffr.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifft.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifft.fon new file mode 100644 index 0000000..011d0e3 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/sserifft.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/svgasys.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/svgasys.fon new file mode 100644 index 0000000..9442c5d Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/svgasys.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/symbol.ttf b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/symbol.ttf new file mode 100644 index 0000000..1fd5b4e Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/symbol.ttf differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/tahoma.ttf b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/tahoma.ttf new file mode 100644 index 0000000..4f68d1e Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/tahoma.ttf differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/tahomabd.ttf b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/tahomabd.ttf new file mode 100644 index 0000000..c01f9e1 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/tahomabd.ttf differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgafix.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgafix.fon new file mode 100644 index 0000000..11c1350 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgafix.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1255.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1255.fon new file mode 100644 index 0000000..e1e7bea Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1255.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1256.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1256.fon new file mode 100644 index 0000000..ab1a761 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1256.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1257.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1257.fon new file mode 100644 index 0000000..c2e24d5 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas1257.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas874.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas874.fon new file mode 100644 index 0000000..0fd52f9 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgas874.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasys.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasys.fon new file mode 100644 index 0000000..5f5d2f5 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasys.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasyse.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasyse.fon new file mode 100644 index 0000000..5a7a555 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasyse.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasysg.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasysg.fon new file mode 100644 index 0000000..d8e39f4 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasysg.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasysr.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasysr.fon new file mode 100644 index 0000000..ace93dc Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasysr.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasyst.fon b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasyst.fon new file mode 100644 index 0000000..fc66d63 Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/vgasyst.fon differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/wingding.ttf b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/wingding.ttf new file mode 100644 index 0000000..36539ce Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/deepin-wine/wine/fonts/wingding.ttf differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/changelog.Debian.gz b/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/changelog.Debian.gz differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/changelog.gz b/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/changelog.gz differ diff --git a/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/copyright b/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-fonts-wine_2.18-12_all/usr/share/doc/deepin-fonts-wine/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-libwine-dbg_2.18-12_i386.deb b/deepin-libwine-dbg_2.18-12_i386.deb new file mode 100644 index 0000000..e85e9f8 Binary files /dev/null and b/deepin-libwine-dbg_2.18-12_i386.deb differ diff --git a/deepin-libwine-dbg_2.18-12_i386/DEBIAN/control b/deepin-libwine-dbg_2.18-12_i386/DEBIAN/control new file mode 100644 index 0000000..0c67d1e --- /dev/null +++ b/deepin-libwine-dbg_2.18-12_i386/DEBIAN/control @@ -0,0 +1,17 @@ +Package: deepin-libwine-dbg +Source: deepin-wine +Version: 2.18-12 +Architecture: i386 +Maintainer: Debian Wine Party +Installed-Size: 81 +Depends: deepin-libwine (= 2.18-12) +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: debug +Priority: extra +Multi-Arch: same +Homepage: http://www.winehq.org/ +Description: Windows API implementation - debugging symbols + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides wine's debugging symbols. diff --git a/deepin-libwine-dbg_2.18-12_i386/DEBIAN/md5sums b/deepin-libwine-dbg_2.18-12_i386/DEBIAN/md5sums new file mode 100644 index 0000000..67249fc --- /dev/null +++ b/deepin-libwine-dbg_2.18-12_i386/DEBIAN/md5sums @@ -0,0 +1,4 @@ +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-libwine-dbg/control +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-libwine-dbg/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-libwine-dbg/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-libwine-dbg/copyright diff --git a/deepin-libwine-dbg_2.18-12_i386/usr/share/bug/deepin-libwine-dbg/control b/deepin-libwine-dbg_2.18-12_i386/usr/share/bug/deepin-libwine-dbg/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-libwine-dbg_2.18-12_i386/usr/share/bug/deepin-libwine-dbg/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/changelog.Debian.gz b/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/changelog.Debian.gz differ diff --git a/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/changelog.gz b/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/changelog.gz differ diff --git a/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/copyright b/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-libwine-dbg_2.18-12_i386/usr/share/doc/deepin-libwine-dbg/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-libwine-dev_2.18-12_i386.deb b/deepin-libwine-dev_2.18-12_i386.deb new file mode 100644 index 0000000..b6844ba Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386.deb differ diff --git a/deepin-libwine-dev_2.18-12_i386/DEBIAN/control b/deepin-libwine-dev_2.18-12_i386/DEBIAN/control new file mode 100644 index 0000000..2a6ff7d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/DEBIAN/control @@ -0,0 +1,18 @@ +Package: deepin-libwine-dev +Source: deepin-wine +Version: 2.18-12 +Architecture: i386 +Maintainer: Debian Wine Party +Installed-Size: 33370 +Depends: deepin-libwine (= 2.18-12), libc6-dev +Recommends: deepin-wine32-tools (= 2.18-12) | deepin-wine64-tools (= 2.18-12) +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: libdevel +Priority: optional +Multi-Arch: same +Homepage: http://www.winehq.org/ +Description: Windows API implementation - development files + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides wine's C header files and development libraries. diff --git a/deepin-libwine-dev_2.18-12_i386/DEBIAN/md5sums b/deepin-libwine-dev_2.18-12_i386/DEBIAN/md5sums new file mode 100644 index 0000000..a3071ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/DEBIAN/md5sums @@ -0,0 +1,1099 @@ +6a2b21ceac060b6e37b91c05c028dda1 usr/include/deepin-wine/debug.h +e66b3fce0f305822fde34b40cdf3d2d5 usr/include/deepin-wine/exception.h +063820e8e1ab67bd88be7d7e9ccfee6d usr/include/deepin-wine/itss.h +79c6680994a24eae6cb2c7fae0befbf7 usr/include/deepin-wine/itss.idl +d395376cd71aadaff91219b40cdebf36 usr/include/deepin-wine/library.h +73cb04fde91795ac5cc7a3a23b9b9725 usr/include/deepin-wine/msvcrt/assert.h +5694b03208880d8882b0c960ef44975c usr/include/deepin-wine/msvcrt/conio.h +7fac471480579cd3672b1a0e09105891 usr/include/deepin-wine/msvcrt/crtdbg.h +0c31cf04cd660bffc596f87ea85333f7 usr/include/deepin-wine/msvcrt/crtdefs.h +6adb8534be9ea5b06f2ffe49e218284d usr/include/deepin-wine/msvcrt/ctype.h +f8ae3d307f123fc9b607ffc41b1f245c usr/include/deepin-wine/msvcrt/direct.h +281c4fb836a65d9d71375318c7342cc4 usr/include/deepin-wine/msvcrt/dirent.h +49ff1ee72cb9acc6f0b6099b62019874 usr/include/deepin-wine/msvcrt/dos.h +39fc0bfc5f997fc14806bf7841141c73 usr/include/deepin-wine/msvcrt/eh.h +6327a70a81afadc23d76c00e2cddf8cb usr/include/deepin-wine/msvcrt/errno.h +b6b783bf5c88dd457a39979ae5c4bef7 usr/include/deepin-wine/msvcrt/fcntl.h +ccb6be0aee99015d733ba9b4eb2b9221 usr/include/deepin-wine/msvcrt/float.h +e6141d646c930e8754662495d9b7ffdc usr/include/deepin-wine/msvcrt/fpieee.h +3b69b62e575386f96708f757242f99f8 usr/include/deepin-wine/msvcrt/io.h +96c2ff793e479fc352017246053b8660 usr/include/deepin-wine/msvcrt/limits.h +7e290a9d45bc3fcea8550f5cb516ccf5 usr/include/deepin-wine/msvcrt/locale.h +d3bac822953b8c95b55ae79ed69df579 usr/include/deepin-wine/msvcrt/malloc.h +ab5c2c355b7fe7e8f0332ba646cc275f usr/include/deepin-wine/msvcrt/math.h +31c246d585876068962b038fe35fa53a usr/include/deepin-wine/msvcrt/mbctype.h +347ddb33fd83639f3847fea3c3ceb853 usr/include/deepin-wine/msvcrt/mbstring.h +3b5dca67a94647d66ccb7570764f2716 usr/include/deepin-wine/msvcrt/memory.h +6d13d47e36d0bbd3bc85c92c789daeca usr/include/deepin-wine/msvcrt/process.h +dde51869739cae6323452e543f6bc6df usr/include/deepin-wine/msvcrt/search.h +d712a082847559b8d9bfd600ad545fb8 usr/include/deepin-wine/msvcrt/setjmp.h +8ffd71df045681a2bb1531d2d1785689 usr/include/deepin-wine/msvcrt/share.h +54f46157a108f23c3001803313e6b526 usr/include/deepin-wine/msvcrt/signal.h +d6dfb656f72e4e3301c0b5e56d25fe8b usr/include/deepin-wine/msvcrt/stddef.h +fe4c818d6a54cd4f9abd0aa324e73e00 usr/include/deepin-wine/msvcrt/stdio.h +1436928cf530e231a2ea02dec6dcea5f usr/include/deepin-wine/msvcrt/stdlib.h +8ff32e13530dc8aa0439cdac16a6feb3 usr/include/deepin-wine/msvcrt/string.h +cc60c10f0484d99509cd3c5b1a7c954b usr/include/deepin-wine/msvcrt/sys/locking.h +038f5bbc53b8ef887e85c4a4fd35b397 usr/include/deepin-wine/msvcrt/sys/stat.h +a784c49caa8aca3eee9df8181f3c20c3 usr/include/deepin-wine/msvcrt/sys/timeb.h +388abcab0f368ef2fa63067853906d3a usr/include/deepin-wine/msvcrt/sys/types.h +101c8d8e5ea2024ef267fc637feec704 usr/include/deepin-wine/msvcrt/sys/unistd.h +45f890bb545eb3fafc95c86f616937c9 usr/include/deepin-wine/msvcrt/sys/utime.h +2c04244731a4e2bb1b942268e9dc913f usr/include/deepin-wine/msvcrt/time.h +aba560c943646ac9035d58a8f727f06b usr/include/deepin-wine/msvcrt/unistd.h +ff4bb6d9f97b5567eead66445506a08c usr/include/deepin-wine/msvcrt/wchar.h +350f42ee4159622a0a6521806fb1b65b usr/include/deepin-wine/msvcrt/wctype.h +b6baa3a2513cb9a09c8bf37aa91b20f8 usr/include/deepin-wine/svcctl.h +00649b0072baaddf3f3a6e0a8b29ad5e usr/include/deepin-wine/svcctl.idl +52413c21adf9372cea4aaa8ae358990e usr/include/deepin-wine/unicode.h +c980f6049062bd37db8f0be3b88ee3f8 usr/include/deepin-wine/windows/accctrl.h +f3bfe1775168b64ee96bbdca9dbd65ac usr/include/deepin-wine/windows/access.idl +323503d7f05b49f54dc3e8321b60719c usr/include/deepin-wine/windows/aclapi.h +b49d751471eb74570cf365bbfe4e6196 usr/include/deepin-wine/windows/aclui.h +f6cad2bb6da4e66c15d6c408c59fed45 usr/include/deepin-wine/windows/activaut.h +2e017bc6bf62c975b28a9a6e7c49b907 usr/include/deepin-wine/windows/activaut.idl +c9972cc3392325a0a3a955595203cea9 usr/include/deepin-wine/windows/activdbg.h +3ca4ef9b76c7c122d9c25d7becdc7e0d usr/include/deepin-wine/windows/activdbg.idl +da59a786a385504212c87b2e9d13dd1a usr/include/deepin-wine/windows/activscp.h +ae37b70819a82eb29e3ced91c3823068 usr/include/deepin-wine/windows/activscp.idl +34c19d467b4ce83fce729e2d20ccf2ec usr/include/deepin-wine/windows/adshlp.h +7b3b607261926c57b3bf47d09c1e9b3a usr/include/deepin-wine/windows/advpub.h +08c213091895f50c4ea0f1941d9e96aa usr/include/deepin-wine/windows/af_irda.h +69b7c2297277c8352e7cd40ecc4c178f usr/include/deepin-wine/windows/amaudio.h +acb619f80cbc3fbf97d5512aee75e989 usr/include/deepin-wine/windows/amstream.h +525dcf1b960413f81c1de7e8078deda4 usr/include/deepin-wine/windows/amstream.idl +a33c7832843e21ac504dfc0488cc7ff8 usr/include/deepin-wine/windows/amvideo.h +4171ce934d41d26833270b7332664fab usr/include/deepin-wine/windows/amvideo.idl +7fd30e0a48006c29b86c3f2d04d47729 usr/include/deepin-wine/windows/appcompatapi.h +77d72aee29abbcaafcedb4609c36a02b usr/include/deepin-wine/windows/appmgmt.h +5d25f0bfa80d889a3750e7454376cd5d usr/include/deepin-wine/windows/asptlb.h +84d3f8ad9b7867720315565d25677282 usr/include/deepin-wine/windows/asptlb.idl +07e1b3885f56c88870b2ab820fefdb0f usr/include/deepin-wine/windows/asynot.idl +420d190abe98962c942ce25f8e0b687b usr/include/deepin-wine/windows/asysta.idl +c1d05456a7d1610bc49bcaa87c0acfe0 usr/include/deepin-wine/windows/atlbase.h +88febc109ad689a01e63e7692b27ae6c usr/include/deepin-wine/windows/atlcom.h +02a915cc1fd10412041a56201f236979 usr/include/deepin-wine/windows/atliface.h +a4adf1246f63c55f63242bf3b8b75015 usr/include/deepin-wine/windows/atliface.idl +52ad432d8a1fa4518303c8d7d6fab311 usr/include/deepin-wine/windows/atlwin.h +c015131ae305898a736b0a621c7018f0 usr/include/deepin-wine/windows/audevcod.h +43d282a7b78a1e0dfa04ff57e4729f8b usr/include/deepin-wine/windows/audioclient.h +46b4ae4467e379e6f70e4ddbd6217695 usr/include/deepin-wine/windows/audioclient.idl +3a77092a9bbc28a5f10bb0a56852d3a3 usr/include/deepin-wine/windows/audiopolicy.h +e5e7e247906bbec8b7c25e7c45afc2e9 usr/include/deepin-wine/windows/audiopolicy.idl +0a21a2ffbf1b895b668450259fe6807b usr/include/deepin-wine/windows/audiosessiontypes.h +448d809335bd6f532ca8a1972098ea2a usr/include/deepin-wine/windows/austream.h +4e561200d5e1ab76153ba580f64d8b97 usr/include/deepin-wine/windows/austream.idl +25cfd9813680162822b89a9f62e399b4 usr/include/deepin-wine/windows/authz.h +559ab6fb21329c12b4fada7087086e09 usr/include/deepin-wine/windows/aviriff.h +c447a33ac53d1d85301213d2e4fd4e2c usr/include/deepin-wine/windows/avrt.h +a58633344877fa92a59075be042b7963 usr/include/deepin-wine/windows/axcore.idl +a764f5c1c3c4bcd885e5b61e06918a3c usr/include/deepin-wine/windows/axextend.idl +e0775c74c6bf44260ed4f8b9e61e0849 usr/include/deepin-wine/windows/basetsd.h +c1d6d1f872e191fce98372ac3c6c3a7a usr/include/deepin-wine/windows/basetyps.h +959a429903fe45cc83e6f282ad0d75d8 usr/include/deepin-wine/windows/bcrypt.h +5bfd82612d2d7554e31a9af7665cb871 usr/include/deepin-wine/windows/bdaiface.h +8a0c2c7a3788f9fd3a05165e6407107e usr/include/deepin-wine/windows/bdaiface.idl +75982358a01517cc7ab927772434dc40 usr/include/deepin-wine/windows/bdaiface_enums.h +d599a171d79a92a8b34670b1dcc04da2 usr/include/deepin-wine/windows/bdatypes.h +648ee70c689caac3e8b273e96480145d usr/include/deepin-wine/windows/binres.idl +39603044317d1e3fda493e8c7fc3d193 usr/include/deepin-wine/windows/bits.h +6510cfade9baddd9535c0935075bc519 usr/include/deepin-wine/windows/bits.idl +07e55540828d0a210d29cf9e6c5c977f usr/include/deepin-wine/windows/bits1_5.h +b4b3d3f820eda704b1ad0b54201dd3f2 usr/include/deepin-wine/windows/bits1_5.idl +240533d17dc2aeaef05270f51c13ea9c usr/include/deepin-wine/windows/bits2_0.h +cfaf67b1ced2c745b60f8e22c27b4502 usr/include/deepin-wine/windows/bits2_0.idl +9855632bc7a2ff7ba29e6c622542a84d usr/include/deepin-wine/windows/bits2_5.h +db279b68c32f750e8a34057e2bb193d7 usr/include/deepin-wine/windows/bits2_5.idl +f3b5d1980fab33bd57c62d0d20d6548a usr/include/deepin-wine/windows/bits3_0.h +87b754261cfbc89ebba443479bdf36e0 usr/include/deepin-wine/windows/bits3_0.idl +7451d4678f9b640917cf3f3e46de4079 usr/include/deepin-wine/windows/bitsmsg.h +63a6b6c38f936c5fb593ab9d78368042 usr/include/deepin-wine/windows/bluetoothapis.h +71468a81406d332b84261262feecb822 usr/include/deepin-wine/windows/bthsdpdef.h +8edd1e6b40922f74f5c0fcd0da957466 usr/include/deepin-wine/windows/cderr.h +58862f1d103cf7c18ee87b5266d4df3d usr/include/deepin-wine/windows/cfgmgr32.h +e67c79b2e0bd8e586d9afc4574b6a845 usr/include/deepin-wine/windows/cguid.h +d60a3eef7667b7cb365c4d6b9f254125 usr/include/deepin-wine/windows/chprst.idl +fe7fd9ce8da27ffa715f43785e884b10 usr/include/deepin-wine/windows/cierror.h +d4304981e3dc7cf4a70c3885ced3486c usr/include/deepin-wine/windows/clusapi.h +75b422f3846b32f75b8381bf094e0f1a usr/include/deepin-wine/windows/cmdbas.idl +e021d5d40c4e554b390a5c0c1fa5b60d usr/include/deepin-wine/windows/cmdtxt.idl +b30c6d53eb925762961d11f0cce91f7a usr/include/deepin-wine/windows/cmnquery.h +3859326deeb69a06325978a5a3394589 usr/include/deepin-wine/windows/cmnquery.idl +67dd82b108ed30e17ad4dca615244a04 usr/include/deepin-wine/windows/colinf.idl +50082f941816ecd7016ea2cb9d3781b2 usr/include/deepin-wine/windows/comcat.h +e10ed83feebbb20ae7ad4c69a3360caa usr/include/deepin-wine/windows/comcat.idl +b95f23108e2388772887104490c43b31 usr/include/deepin-wine/windows/commctrl.h +cbf8be06bcf5546df2fe48e7dc9304ab usr/include/deepin-wine/windows/commctrl.rh +4ffd64ba999740c0cc828fcee547ebed usr/include/deepin-wine/windows/commdlg.h +fe275aa30801f21e548aa93bcc00650a usr/include/deepin-wine/windows/commoncontrols.h +c82695b1a351b15c77f9d20c56f3bbf9 usr/include/deepin-wine/windows/commoncontrols.idl +f9d2e365c816c3c3a990b7267a4bc0c9 usr/include/deepin-wine/windows/compobj.h +aaea1ac3d1b1a89484a2c2ba504686ad usr/include/deepin-wine/windows/comsvcs.h +96a26c11f34f8a78f3a978e222b636ba usr/include/deepin-wine/windows/comsvcs.idl +f9e1869954a256cf253b26f664430595 usr/include/deepin-wine/windows/control.h +c241e25e2898a58a7458a5d5a1e1b02f usr/include/deepin-wine/windows/control.idl +8291b98befdbf6602f051815ae3bed4b usr/include/deepin-wine/windows/cor.h +4ceaf1730b726e1a8baf5d3284bd6320 usr/include/deepin-wine/windows/cor.idl +226b43770c5fc908d7c55cf38e7f6ed5 usr/include/deepin-wine/windows/cordebug.h +a76ba6dce484118ac8858a27ef41bd90 usr/include/deepin-wine/windows/cordebug.idl +43028a10acfe745b88ba9c152f781acb usr/include/deepin-wine/windows/corerror.h +d400329377e7a1bfe87f29c5696cd3ae usr/include/deepin-wine/windows/corhdr.h +6a50f7240a47e0c057058b14f41c2421 usr/include/deepin-wine/windows/cpl.h +a98cb11838a8db88802717ea2fb4be9e usr/include/deepin-wine/windows/crtrow.idl +f00a15358b6f0fe7d5e7dacf62782f29 usr/include/deepin-wine/windows/cryptdlg.h +dba7ea093ab6433277538047edbbc700 usr/include/deepin-wine/windows/cryptuiapi.h +f5641edb756d4e063a6412f4640ff2cf usr/include/deepin-wine/windows/ctfutb.h +97b0885093addc78dbc8c675312bb4cd usr/include/deepin-wine/windows/ctfutb.idl +0b2e9e57910b897a97076fa0aac9b7f7 usr/include/deepin-wine/windows/ctxtcall.h +1114c6da116559eccd92d20ea1e2cc9d usr/include/deepin-wine/windows/ctxtcall.idl +17f570d6b536e1fa7fca1286fe717513 usr/include/deepin-wine/windows/custcntl.h +cedefce22b64ae4fe6b73a0cda83da0a usr/include/deepin-wine/windows/cvconst.h +8a8938f8f61a5a3136a9c927083a2763 usr/include/deepin-wine/windows/d2d1.h +3c9f3eee33c9534b27b482bee4011122 usr/include/deepin-wine/windows/d2d1.idl +9efd7f4bfb194428b3b0f70a7da4d97d usr/include/deepin-wine/windows/d2dbasetypes.h +83245716a36ea2da8b07e6fef0448f73 usr/include/deepin-wine/windows/d2derr.h +a72e96d1200f87534911412740f06bd1 usr/include/deepin-wine/windows/d3d.h +e9ee1dcbc0ffd2138cddcaedc47419a7 usr/include/deepin-wine/windows/d3d10.h +16314b93e5c0b22a927f703d0131b9d2 usr/include/deepin-wine/windows/d3d10.idl +245c6b1b550e04a220814be6f72e3914 usr/include/deepin-wine/windows/d3d10_1.h +238c36a7699404e54b813c83945bd994 usr/include/deepin-wine/windows/d3d10_1.idl +8927d2227334fb2018aa30323bb13437 usr/include/deepin-wine/windows/d3d10_1shader.h +d69030a520c5be1c4c684f915a9a4bbd usr/include/deepin-wine/windows/d3d10effect.h +e2f175df840739e38502c99aee72aceb usr/include/deepin-wine/windows/d3d10misc.h +6a62502c2453926e5a7ba40f08cfac7e usr/include/deepin-wine/windows/d3d10sdklayers.h +718bc307e363b5f3fcca7d3b4e99195f usr/include/deepin-wine/windows/d3d10sdklayers.idl +70a2c0a8d0ac95927f6050b6daf62401 usr/include/deepin-wine/windows/d3d10shader.h +92fb1324421b4e3c8d57b33e9c1e29f7 usr/include/deepin-wine/windows/d3d11.h +3fffc02fbe5d2e957a014f40efc12663 usr/include/deepin-wine/windows/d3d11.idl +6bc67ecb347a63a3630695ae01aa0dd2 usr/include/deepin-wine/windows/d3d11_1.h +32f43550dea9e87ec8fe6f5c70afeeef usr/include/deepin-wine/windows/d3d11_1.idl +37bbf8c1ff4beb8da1b63864e42b5e86 usr/include/deepin-wine/windows/d3d11_2.h +4dc9fb78d386ec3cce1756eb00bd119f usr/include/deepin-wine/windows/d3d11_2.idl +551059967f7ff39f4d0f3137f987b34e usr/include/deepin-wine/windows/d3d11_3.h +8e7a952af370d7968500804e5adfb65b usr/include/deepin-wine/windows/d3d11_3.idl +5ed1fd35e32a0acb54207e83411e40cf usr/include/deepin-wine/windows/d3d11_4.h +eeccd3c0787a59b9649e4f64cc08b324 usr/include/deepin-wine/windows/d3d11_4.idl +67a76d91465ecedf6b1ec97d8c5ecf38 usr/include/deepin-wine/windows/d3d11sdklayers.h +997f05a599d2e1701a6d86a77b633e6f usr/include/deepin-wine/windows/d3d11sdklayers.idl +82c6a42d05ca6f8b85f64810c65345d4 usr/include/deepin-wine/windows/d3d11shader.h +553d7c91feac33254753abb021c56cd8 usr/include/deepin-wine/windows/d3d8.h +b4f67f142eb9f45bde533170ea77edc8 usr/include/deepin-wine/windows/d3d8caps.h +dc4d265f76c273ce5a0bba3cccc1da3b usr/include/deepin-wine/windows/d3d8types.h +bac584fb0e42a72e3b3bb1dcaf1922d7 usr/include/deepin-wine/windows/d3d9.h +0209924e907bc59b589c248533a0b9e7 usr/include/deepin-wine/windows/d3d9caps.h +dc68c9d172c0426394c72d43bb65d417 usr/include/deepin-wine/windows/d3d9types.h +969800e2942700e17244166e674d438c usr/include/deepin-wine/windows/d3dcaps.h +5d30fded7ca2014b0d2d44ad174b6309 usr/include/deepin-wine/windows/d3dcommon.h +5d735ee55d406cf8ec0dd5ccc5ef6556 usr/include/deepin-wine/windows/d3dcommon.idl +48a5544740e96abbc5be9f46e370f59d usr/include/deepin-wine/windows/d3dcompiler.h +fcd8ee2c38c6336eeb61a876523c38ca usr/include/deepin-wine/windows/d3dhal.h +671d73a046d7dbb41a07cb53877017e3 usr/include/deepin-wine/windows/d3drm.h +cf38ebca0318a5fbae6f0dd8fa94c3a8 usr/include/deepin-wine/windows/d3drmdef.h +5a759341c2cec20f1789399d59249143 usr/include/deepin-wine/windows/d3drmobj.h +b1a30072dfbf4f12e57ec5dd5e65574f usr/include/deepin-wine/windows/d3drmwin.h +04b949301458773ae526cf07fde20eb7 usr/include/deepin-wine/windows/d3dtypes.h +b916eb4d31589658a9efe5e9b118f2f2 usr/include/deepin-wine/windows/d3dukmdt.h +b0754d73235c2219044daa39b941b8e1 usr/include/deepin-wine/windows/d3dvec.inl +e05b8b3e6d84ca829dc06215cc266169 usr/include/deepin-wine/windows/d3dx10.h +20dc9bfc23aaccd0f197cfa3bfdca2b2 usr/include/deepin-wine/windows/d3dx10async.h +f364ec3bd6df3a045a30d33f0164e2d0 usr/include/deepin-wine/windows/d3dx10core.h +39b91d868bfd570195521eb292bf7ec3 usr/include/deepin-wine/windows/d3dx10core.idl +5e5a7ab58af53f09fdb0cdface5b9d80 usr/include/deepin-wine/windows/d3dx10math.h +db4f1fca6a55ee435233d2b6ca752677 usr/include/deepin-wine/windows/d3dx10tex.h +d6e4fe8f962c22824163ea1faa128c91 usr/include/deepin-wine/windows/d3dx11.h +d93aa78bdd8737b3910654ad1efd5236 usr/include/deepin-wine/windows/d3dx11async.h +6ef3ff28eaec8b8a82fb1ef9264faf84 usr/include/deepin-wine/windows/d3dx11core.h +a0c4f772f29e8fffe29c17b368cc3c4e usr/include/deepin-wine/windows/d3dx11core.idl +63bf20c438e2d9afd26adf0af9df788c usr/include/deepin-wine/windows/d3dx11tex.h +8c04c812b8116798c4530d51009836cc usr/include/deepin-wine/windows/d3dx9.h +27b267bc44e48415bdd953b8b1b8d649 usr/include/deepin-wine/windows/d3dx9anim.h +798fa30b80cd652b6ffcfa54315971b2 usr/include/deepin-wine/windows/d3dx9core.h +668f1a50455ecdec7e9d806b2833533c usr/include/deepin-wine/windows/d3dx9effect.h +e63931024b8ed75434be65b43b4d759b usr/include/deepin-wine/windows/d3dx9math.h +24fb1477835ad9b393ceeaedecf5f743 usr/include/deepin-wine/windows/d3dx9math.inl +e71dcf3ea0c1145ffec1893e24c94c4d usr/include/deepin-wine/windows/d3dx9mesh.h +05a663ea60212eb487dcd9e7e9aa27a3 usr/include/deepin-wine/windows/d3dx9shader.h +a9ab345c448bdcc55d0e0e7236ac0116 usr/include/deepin-wine/windows/d3dx9shape.h +ee3bac070535cd4de8b7b8c4581489fb usr/include/deepin-wine/windows/d3dx9tex.h +e8023fa6f07d11faee0a8029f9be5ebb usr/include/deepin-wine/windows/d3dx9xof.h +2a8405a9134c8fce4408a8237a6dbd11 usr/include/deepin-wine/windows/davclnt.h +836a9955b76689309dbb5fec2c3dd006 usr/include/deepin-wine/windows/dbccmd.idl +08a748f256b1c59c12d7076bd13569fa usr/include/deepin-wine/windows/dbcses.idl +6957fc32b648388a80cb7d4ae3bc0561 usr/include/deepin-wine/windows/dbdsad.idl +0af24557389e52b4df6191623bcc685d usr/include/deepin-wine/windows/dbghelp.h +00391c71aa268476b71a53a8446a8df4 usr/include/deepin-wine/windows/dbinit.idl +aa0993530cc2e248244bdb19e5a6f238 usr/include/deepin-wine/windows/dbprop.idl +824b487085f6471a64572edbd2d5f717 usr/include/deepin-wine/windows/dbs.idl +561b03038c0c74499ed78828c06d6121 usr/include/deepin-wine/windows/dbt.h +3e4239400f813c6b77cb95a5eaab943d usr/include/deepin-wine/windows/dciddi.h +5088b2ebe94848c7c1098ad6f796b641 usr/include/deepin-wine/windows/dciman.h +8708f6bbd5756693d2f311e82a0683f4 usr/include/deepin-wine/windows/dcommon.h +4a7f5d1d36c8b2dc92ff3d583d848396 usr/include/deepin-wine/windows/dcommon.idl +f1d2dd6ca3da375cf5b183b3100a6ae4 usr/include/deepin-wine/windows/dde.h +bf38d8bd9623c217bc26f081d9908a4d usr/include/deepin-wine/windows/dde.rh +c396ed41c3d61e33fb000cb22409dbe8 usr/include/deepin-wine/windows/ddeml.h +860e26718b2bb8b9b273ed9c3e5932ea usr/include/deepin-wine/windows/ddk/compstui.h +0cc8d928d1ff91b946fbd4de5749407c usr/include/deepin-wine/windows/ddk/csq.h +5a41b1d4e844853f3baf6d7dd1ec40eb usr/include/deepin-wine/windows/ddk/d3dkmthk.h +ba4800e4bce7731d1ceacadc9b6d575b usr/include/deepin-wine/windows/ddk/hidclass.h +e86d2172898a117dd895f942c65406f2 usr/include/deepin-wine/windows/ddk/hidpi.h +21346fce03c4fa3fd093ec6d8c6bc8f5 usr/include/deepin-wine/windows/ddk/hidport.h +a761b129c104a57c4e95d415bebb1970 usr/include/deepin-wine/windows/ddk/hidsdi.h +5e9927e8bd168eb8d02a20b90d558f36 usr/include/deepin-wine/windows/ddk/hidtypes.h +30893d3eea89c140d17860f7ff13bc24 usr/include/deepin-wine/windows/ddk/imm.h +5b9d9ab27ae91d37a7512d50a327e8da usr/include/deepin-wine/windows/ddk/mountmgr.h +209208a290ff42f81683f3bd2ff4cf96 usr/include/deepin-wine/windows/ddk/ndis.h +d9b6402a8f4742b0de0f933d4576b36f usr/include/deepin-wine/windows/ddk/ntddcdvd.h +2191f1ab300361429b601e594f1c44a5 usr/include/deepin-wine/windows/ddk/ntddk.h +475282bb10b6d3b9ec4971a3cd364088 usr/include/deepin-wine/windows/ddk/ntddser.h +926e8e47852f06a5d06a0edd49d32a73 usr/include/deepin-wine/windows/ddk/ntddtape.h +d9fb33f3f3da400b42dc3ad8f8c281ba usr/include/deepin-wine/windows/ddk/ntifs.h +8d0f7cf0ae31e964a02efcb21311b1e5 usr/include/deepin-wine/windows/ddk/usb.h +61593cc72b7bdec335d3b419debb0aae usr/include/deepin-wine/windows/ddk/usb100.h +9f90aefeda45f489957ccae2d6b62401 usr/include/deepin-wine/windows/ddk/usb200.h +a80d0240e315401574124372b49ee59f usr/include/deepin-wine/windows/ddk/usbdlib.h +5e1266b39923275bcc8d3ec48ab0d2ea usr/include/deepin-wine/windows/ddk/usbioctl.h +6c53d2c6d5a0f804fcac3a9609255dff usr/include/deepin-wine/windows/ddk/usbiodef.h +c329f604b3c08de47aa0c58a85ef52a3 usr/include/deepin-wine/windows/ddk/wdm.h +5aa2d123a1448682f15bd9c22b40fbd1 usr/include/deepin-wine/windows/ddk/winddiui.h +8aea188e05aa57c8ee5b1a650663ae9d usr/include/deepin-wine/windows/ddk/winsplp.h +362fb673d5ca190ad42d01096085e21c usr/include/deepin-wine/windows/ddraw.h +182d0e3328cc97b068f96f47b67a23be usr/include/deepin-wine/windows/ddrawgdi.h +db13690bad414e8e15d32f397dd57806 usr/include/deepin-wine/windows/ddrawi.h +d4492eff8412a07dffa5e237d3dceda3 usr/include/deepin-wine/windows/ddstream.h +6ff425372d32430bdecb708c020a7c73 usr/include/deepin-wine/windows/ddstream.idl +45225dcd7ecd704c2c5a9ae0cd16a7f8 usr/include/deepin-wine/windows/delayloadhandler.h +bd0554b60981836d43ae5d45eb9d01c2 usr/include/deepin-wine/windows/devenum.idl +a2011ea610128af01f2165dc235d9a01 usr/include/deepin-wine/windows/devguid.h +70b08f53fd8139e99e8691f42e540b98 usr/include/deepin-wine/windows/devicetopology.h +34228d1abb8f166a9f43f0c6c87825ad usr/include/deepin-wine/windows/devicetopology.idl +6277a25c1cb9e46975ef19f22086ffba usr/include/deepin-wine/windows/devpkey.h +bcca28e9f968ef6f7b8dbb374301d2ca usr/include/deepin-wine/windows/devpropdef.h +b5b7365be364aa13dae20a4ef8e72d05 usr/include/deepin-wine/windows/dhcpcsdk.h +626134035fc426bc8f6c1abf1f325cd5 usr/include/deepin-wine/windows/difxapi.h +da9a3622593c20283605a4f7f5e8ce4f usr/include/deepin-wine/windows/digitalv.h +34bca4945680365ac01a00b447d09c40 usr/include/deepin-wine/windows/dimm.h +938c02de3d47ba1f685b5a568f8c2e54 usr/include/deepin-wine/windows/dimm.idl +59d41ba2332e0b250adbe31c286ee696 usr/include/deepin-wine/windows/dinput.h +57510d3e17d227b814b276893818e61b usr/include/deepin-wine/windows/dinputd.h +d323854a53bfdc576a30cdb0c1510e5c usr/include/deepin-wine/windows/dispdib.h +077de24b0c8de80af8ad79264c253e9f usr/include/deepin-wine/windows/dispex.h +dad2683a5808fc69a4fd02d1c412b832 usr/include/deepin-wine/windows/dispex.idl +73aefbc6ffc69aad1abdac3171ee8f4d usr/include/deepin-wine/windows/dlgs.h +ae8d25cf65bbaa0f49c86f8cf872e216 usr/include/deepin-wine/windows/dls1.h +93104e7a804b94c42f37d709b633d925 usr/include/deepin-wine/windows/dls2.h +d1c2a4e07edc9624ae2c9f6e6649ddd1 usr/include/deepin-wine/windows/dmdls.h +f45e332faa06479d5dcc631f27f4fcdd usr/include/deepin-wine/windows/dmerror.h +459fc4da759fb1880992a8e3b75e062e usr/include/deepin-wine/windows/dmksctrl.h +729960e70b3060e6230b7453232a77f6 usr/include/deepin-wine/windows/dmo.h +622a817def833d08571f88e6292d97b8 usr/include/deepin-wine/windows/dmoreg.h +0b9b01791a172900d91a578b3d0a9795 usr/include/deepin-wine/windows/dmort.h +9f142dba54f74cb97c4faf938aea271f usr/include/deepin-wine/windows/dmplugin.h +49501ca4e41e578002c4d8632266d546 usr/include/deepin-wine/windows/dmusbuff.h +5fc6739636905316fe964e76025afd67 usr/include/deepin-wine/windows/dmusicc.h +0cecd679d901da72c1bc71a03cb45436 usr/include/deepin-wine/windows/dmusicf.h +2b9b90bb5e6f434dc7fd86d2bed2a448 usr/include/deepin-wine/windows/dmusici.h +c6ae059f1fcc744b56a58c7e14dcbff4 usr/include/deepin-wine/windows/dmusics.h +795124bd4bcf7063401c17cb60328f60 usr/include/deepin-wine/windows/docobj.h +cddcece538367eee3db1398cc16b6aff usr/include/deepin-wine/windows/docobj.idl +65bc8a41ad3008669c33a2735c66db7c usr/include/deepin-wine/windows/docobjectservice.h +1ee43bbcaaca1c4f8bbd0b26aad58873 usr/include/deepin-wine/windows/docobjectservice.idl +9142784848f35fa4819ae1678f09c436 usr/include/deepin-wine/windows/downloadmgr.h +639c13429a0925b6d857a8ec3392e7ce usr/include/deepin-wine/windows/downloadmgr.idl +514d86b28ea5c97377be75ddb7fea357 usr/include/deepin-wine/windows/dpaddr.h +f9333f20b95899bf032d818af489a167 usr/include/deepin-wine/windows/dplay.h +294647ab06c7e003e5718ca845923bab usr/include/deepin-wine/windows/dplay8.h +0aae6f3f74639cc48f4d86d52543f780 usr/include/deepin-wine/windows/dplobby.h +35d6e03d3dc5d82fdf857eab79baf97e usr/include/deepin-wine/windows/dplobby8.h +03d3377d3088d90541ebfe9865c5e51a usr/include/deepin-wine/windows/dpnathlp.h +99d0afa533a8b3d8f13305952a8fda42 usr/include/deepin-wine/windows/drmexternals.h +17cc7b05e469e9144cda89008c1f72e6 usr/include/deepin-wine/windows/drmexternals.idl +580c2f6d6dff550952d5751eef9d3918 usr/include/deepin-wine/windows/dsconf.h +95bc8a57175d68bab924a28bde8009ad usr/include/deepin-wine/windows/dsgetdc.h +1b2d3a696db69fca523bc4d5cc27753a usr/include/deepin-wine/windows/dshow.h +07e7bf174135f82176c11f81b9dc5710 usr/include/deepin-wine/windows/dsound.h +97ae45efe2a5d5bd4eba6e516c427c78 usr/include/deepin-wine/windows/dsrole.h +b8a3a86e2046a4d9648930c375825d34 usr/include/deepin-wine/windows/dvdmedia.h +52018696b07414caa9a2bbc7bd320a8c usr/include/deepin-wine/windows/dvoice.h +6987f1c7828b39b2cbe08dac5c948326 usr/include/deepin-wine/windows/dwmapi.h +0846077c96dcb3ed449d7393bd3d0f58 usr/include/deepin-wine/windows/dwrite.h +211dbdc3c36124202a36f8a9723b4603 usr/include/deepin-wine/windows/dwrite.idl +c2263355a38cce67e7f67a156b8a53c5 usr/include/deepin-wine/windows/dwrite_1.h +0cd2c861fc2b2de7fdeeb988db208fc2 usr/include/deepin-wine/windows/dwrite_1.idl +f36d5f54e3b19cd2c12f7b5c05c137f0 usr/include/deepin-wine/windows/dwrite_2.h +ef1d2bc39d979850759285b24e1c420e usr/include/deepin-wine/windows/dwrite_2.idl +1f1e42040ae7678dd83385712c9fe5f2 usr/include/deepin-wine/windows/dwrite_3.h +fdb861575ace57f1b0808037150f0eae usr/include/deepin-wine/windows/dwrite_3.idl +4cdf1318c51659d6097b84d32532a86b usr/include/deepin-wine/windows/dxdiag.h +ef8382bcbe9abcb09a31554b756e9f04 usr/include/deepin-wine/windows/dxerr8.h +31087cc08db471b773183c25fb91d2a1 usr/include/deepin-wine/windows/dxerr9.h +ed303aa3f0e0387c19559b10e6179d2f usr/include/deepin-wine/windows/dxfile.h +0d884e7606110dbc11bdad4d8f1c9a11 usr/include/deepin-wine/windows/dxgi.h +3d477336df257bfba44ddc935f7d8876 usr/include/deepin-wine/windows/dxgi.idl +1ca0e3197e3b38de62f294f420afbca6 usr/include/deepin-wine/windows/dxgi1_2.h +25aac343aa585f851f68193096694935 usr/include/deepin-wine/windows/dxgi1_2.idl +0b8beb75c815bbad211043cda449a04b usr/include/deepin-wine/windows/dxgi1_3.h +5319cf68d999377da8faf9d35a00c2f0 usr/include/deepin-wine/windows/dxgi1_3.idl +706500b7903ef7aba40891ff8f5e3872 usr/include/deepin-wine/windows/dxgi1_4.h +57112c23da12b2b8e1ee970a81056110 usr/include/deepin-wine/windows/dxgi1_4.idl +b2c8e2fd8775497934f53c1ded2b5634 usr/include/deepin-wine/windows/dxgi1_5.h +44c5ec93bf4300ea05a83cd6dd99db3b usr/include/deepin-wine/windows/dxgi1_5.idl +286b87c8e4d2175988d73d2a48072503 usr/include/deepin-wine/windows/dxgi1_6.h +3601831ef3364d7e6aa109684a36bf84 usr/include/deepin-wine/windows/dxgi1_6.idl +2b1d2bcdf0e9be6db2b2d30bd9dbb5c2 usr/include/deepin-wine/windows/dxgicommon.h +086292caf41fa2b7d1778e81fb335d54 usr/include/deepin-wine/windows/dxgicommon.idl +88b1cf189e177f7abbe9d7bd51e0628a usr/include/deepin-wine/windows/dxgiformat.h +1897c135330fb0d4c179ded0596e4e6d usr/include/deepin-wine/windows/dxgiformat.idl +d0ebeb4394423ff20387aaa019a75dc7 usr/include/deepin-wine/windows/dxgitype.h +4eafdff611e68a5f6598bc8709b2ff33 usr/include/deepin-wine/windows/dxgitype.idl +32b8a9742a801cc854e1e49c5f8c6255 usr/include/deepin-wine/windows/dxva2api.h +84cca9ec607b14b1ef80852ae5be0789 usr/include/deepin-wine/windows/dxva2api.idl +d243fa228ce1672832516b255b04a90b usr/include/deepin-wine/windows/dyngraph.idl +e84bf75d4c13065d7538268fb9faf04d usr/include/deepin-wine/windows/endpointvolume.h +2d5b806ca79cbe14bdae1634b8eba28f usr/include/deepin-wine/windows/endpointvolume.idl +43e506f0339d2d637741970f05042e06 usr/include/deepin-wine/windows/errorrep.h +4dc1408ec2d3ff0cbaccc796df5f34a7 usr/include/deepin-wine/windows/errors.h +f9cf2554dbaf9d44b6e4bf07b4d42ebf usr/include/deepin-wine/windows/errrec.idl +90ed296cf68f3c443d98fe314aa7515c usr/include/deepin-wine/windows/evcode.h +d85ccd138b86994b2c1689c3062faf08 usr/include/deepin-wine/windows/evntprov.h +61ea5abda1f4016bb17ad0b03e018efb usr/include/deepin-wine/windows/evntrace.h +9d5d02af9c879b380852a2e37f64b43c usr/include/deepin-wine/windows/evr.h +23e30b4b58e994877a050558e963f4f8 usr/include/deepin-wine/windows/evr.idl +2723b8d87e4e453791699e59b85e5993 usr/include/deepin-wine/windows/excpt.h +60df7671626e3908b01b2a1190c37908 usr/include/deepin-wine/windows/exdisp.h +a0650bae433de61ce11f1ff8f55eb40c usr/include/deepin-wine/windows/exdisp.idl +8e6f649a7c83806dc8d643082835c20b usr/include/deepin-wine/windows/exdispid.h +ef6c8ff3fbc711297edd5c92bf424347 usr/include/deepin-wine/windows/fci.h +246d610dbafeec50bfc53414fd84808b usr/include/deepin-wine/windows/fdi.h +f83a14ac47dd48ae7fbcf6a47bcb1d5a usr/include/deepin-wine/windows/fileapi.h +c12cf92cfd1fe9f43df1653c7e03d6bc usr/include/deepin-wine/windows/fltdefs.h +9b22d722e1ae6603ef1deafe390f3903 usr/include/deepin-wine/windows/fontsub.h +0fb58f1e78c99ceb4f84d4b1dfd1cac7 usr/include/deepin-wine/windows/fusion.h +88a8f7d72381a3ccf04b7fbbab065615 usr/include/deepin-wine/windows/fusion.idl +bbbb9cbd17d1bf177146aa53d2044e88 usr/include/deepin-wine/windows/gameux.h +39b4e945ed16a045e681676ecafa3011 usr/include/deepin-wine/windows/gameux.idl +17d52f040fe645d5459ede5b60177cf3 usr/include/deepin-wine/windows/gdiplus.h +0b0a3c814785160f41b22168e6a782dd usr/include/deepin-wine/windows/gdipluscolor.h +43cc26098dd396bd241e4cfe1705c577 usr/include/deepin-wine/windows/gdipluscolormatrix.h +e75e8b9883c25e58abaa24291a3c87b8 usr/include/deepin-wine/windows/gdipluseffects.h +40639f7ea5df5ec4b1e49e24f108564e usr/include/deepin-wine/windows/gdiplusenums.h +f367702f59ec56dfda7801e58330e18c usr/include/deepin-wine/windows/gdiplusflat.h +5ca34b870504cf438b6d0389d4068063 usr/include/deepin-wine/windows/gdiplusgpstubs.h +7c6240cae56a1ae210a40c5cd9e569e1 usr/include/deepin-wine/windows/gdiplusimaging.h +020180a694ba99d84152fd92a625fcd2 usr/include/deepin-wine/windows/gdiplusinit.h +af529c0c6d6522d6fca2da59d5ed1e52 usr/include/deepin-wine/windows/gdiplusmem.h +fb50d72ebfccb793bf9b0d119b501b9e usr/include/deepin-wine/windows/gdiplusmetaheader.h +9e87b6bbd156c550fae02f46356f5d4a usr/include/deepin-wine/windows/gdipluspixelformats.h +0f6177b0d042b12c3ba19533ff5140cd usr/include/deepin-wine/windows/gdiplustypes.h +bc45d7253c8f9a3690207c5ce0c6c431 usr/include/deepin-wine/windows/guiddef.h +711b6fe256e9d67555c0eec4cd85d2bd usr/include/deepin-wine/windows/hidusage.h +adb1976e81f8b47e4d8c1c0dd49fbe91 usr/include/deepin-wine/windows/highlevelmonitorconfigurationapi.h +bdac68d149fbb72c3a0c66acc278cafb usr/include/deepin-wine/windows/hlguids.h +53ee58784fe9e60b44e7b17ac85a5d2d usr/include/deepin-wine/windows/hlink.h +a265a8fac81d9b364e2384811cc17073 usr/include/deepin-wine/windows/hlink.idl +4a4163208a4227ec5ee630fd0833f30f usr/include/deepin-wine/windows/hstring.h +a07025a48132f52938ab23cb55a54d25 usr/include/deepin-wine/windows/hstring.idl +0c1cc37034ca5a7b9546fc1361035dbc usr/include/deepin-wine/windows/htiface.h +4700aa148ae7cbaaa59068a7d1fe77ff usr/include/deepin-wine/windows/htiface.idl +fa0717781e33569886a9b80de06af677 usr/include/deepin-wine/windows/htiframe.h +7fcd35c817cf2fd2032db10fc42a7fd0 usr/include/deepin-wine/windows/htiframe.idl +4ca43ab2e9b723d8d1e7c7e49ef1ed3b usr/include/deepin-wine/windows/htmlhelp.h +aa3090a21a100f222a628d8bc33fa73a usr/include/deepin-wine/windows/http.h +3810a38fdb1fa2a04ddaaccff2c7bd5b usr/include/deepin-wine/windows/httprequest.h +f9d6650e4b87a1b966acea60ad3645c7 usr/include/deepin-wine/windows/httprequest.idl +8af97c926da7e8a83711bca447fbb500 usr/include/deepin-wine/windows/httprequestid.h +e93cfb7d2c133eaee4a35cce3101f3d7 usr/include/deepin-wine/windows/i_cryptasn1tls.h +edde6067ad9d5ccea4200a977c41f636 usr/include/deepin-wine/windows/iads.h +06531cbff6937297723e821f27265c3c usr/include/deepin-wine/windows/iads.idl +ae876a9f447a2d2065ef08b2dc553c31 usr/include/deepin-wine/windows/icftypes.h +39b887ace97c7077e9b4e59d78f637a7 usr/include/deepin-wine/windows/icftypes.idl +c2bb722657d27fc538f3048a93e14ee0 usr/include/deepin-wine/windows/icm.h +893eb3001f2331e1258befb2f314d802 usr/include/deepin-wine/windows/icmpapi.h +74584e6c531d6df0d4b3f4fb988873a2 usr/include/deepin-wine/windows/idispids.h +b94854f14afa4ea462774fdbd1fcc1fe usr/include/deepin-wine/windows/ieautomation.h +119d0c67fbfa16968bf03b09701710da usr/include/deepin-wine/windows/ieautomation.idl +1c8732777e2b401c432c8df208fcf07b usr/include/deepin-wine/windows/iextag.h +5c982c60f452b788768dc65f69dad342 usr/include/deepin-wine/windows/iextag.idl +acd2a824608de1b800ede85bf4a0a2c6 usr/include/deepin-wine/windows/ifdef.h +6d9f6a703cc946f1ccf111d873ae8d05 usr/include/deepin-wine/windows/ifmib.h +4e2a1de8c2074b78810fa25a44c87c36 usr/include/deepin-wine/windows/iimgctx.h +8b096e7e79a34b45658597097a19e5b9 usr/include/deepin-wine/windows/iimgctx.idl +3fb82e02022b20dee53ef84bd079cb2d usr/include/deepin-wine/windows/imagehlp.h +7ab8b98a0c9e01a04cf8be3247f6f155 usr/include/deepin-wine/windows/ime.h +841cf0d7f3f81d9c1a0071e4bc50d99b usr/include/deepin-wine/windows/imm.h +c32e40bf4ec8a9b73af4acc3de4ae2e4 usr/include/deepin-wine/windows/imnact.h +53d698a0f9c7bb1a1b265f166fc760c4 usr/include/deepin-wine/windows/imnact.idl +7e0d3adaa8702254413e98eab5688007 usr/include/deepin-wine/windows/imnxport.h +abd7c4f20f4e84188b8a4b1aaf92b646 usr/include/deepin-wine/windows/imnxport.idl +49109cb8690d7f5a39852c29a0abb389 usr/include/deepin-wine/windows/in6addr.h +17bafffb74cec0e17466f7ede09a0c1a usr/include/deepin-wine/windows/inaddr.h +bc2290a640beb54561a68416112bbc55 usr/include/deepin-wine/windows/indexsrv.h +b19e03c48ded454dd1b1db397ef0ccf9 usr/include/deepin-wine/windows/indexsrv.idl +1610e8dabfabf2d867f197897d5397ee usr/include/deepin-wine/windows/initguid.h +6d063a2e57379120025fd0b46f23a97f usr/include/deepin-wine/windows/inputscope.h +49e3ec14a699e36f1d690531a5b90776 usr/include/deepin-wine/windows/inputscope.idl +a4582c4a8c56dc37233ca2c0f7928ae7 usr/include/deepin-wine/windows/inseng.h +9251e00271ab7a77a690f5d1bb6a9e6d usr/include/deepin-wine/windows/inseng.idl +89cc33141f8db66beaad31381d38b076 usr/include/deepin-wine/windows/inspectable.h +a37ed3a7966d91a407c788cbc0be1031 usr/include/deepin-wine/windows/inspectable.idl +3335dbc52df9d9a7a7c961a3c21a14ad usr/include/deepin-wine/windows/intshcut.h +6ca454358add9eb411e8f63fd877e65d usr/include/deepin-wine/windows/ipexport.h +600556c8798a02eeaee89968350936f6 usr/include/deepin-wine/windows/iphlpapi.h +facda71da662c26d7f3a45ab143dca9a usr/include/deepin-wine/windows/ipifcons.h +3fd54f1188b1faa5bf68d59c688186c5 usr/include/deepin-wine/windows/ipmib.h +37940445a28c9c8b37e74559eab11de7 usr/include/deepin-wine/windows/iprtrmib.h +0a0f07f9165a3c363632fd76af9e3c74 usr/include/deepin-wine/windows/iptypes.h +78e54199c8665bce3bd3e856b8b16e33 usr/include/deepin-wine/windows/isguids.h +e7ee89ab68b65e476c36269d4e779206 usr/include/deepin-wine/windows/knownfolders.h +7f3420711e9f7989ae9858a76a3eb07e usr/include/deepin-wine/windows/ks.h +a05651262f618082d387c93569ef330a usr/include/deepin-wine/windows/ksguid.h +1e243340de6cc67905ad1ee2cacca05a usr/include/deepin-wine/windows/ksmedia.h +cca3692d797d3eefecf0c57853fed215 usr/include/deepin-wine/windows/ksuuids.h +be222d6de5f9803d08ffe5f9e4d0959a usr/include/deepin-wine/windows/libloaderapi.h +c2d1d632c38c6fcf5137f70cd3b49d8f usr/include/deepin-wine/windows/lm.h +6d1b69bca9ccd299cfdbd2a0287800eb usr/include/deepin-wine/windows/lmaccess.h +56bd68beb52a50916181fa6cf05d4e83 usr/include/deepin-wine/windows/lmapibuf.h +51dd81140d17b76981a1b5e3a4321fdb usr/include/deepin-wine/windows/lmat.h +eae4cc242b426cfd168cd3c7eea7cbaf usr/include/deepin-wine/windows/lmbrowsr.h +b879eb127cd6fcddb7881e175accce05 usr/include/deepin-wine/windows/lmcons.h +9a2d38d1cb440982aaceacc9581dfb1a usr/include/deepin-wine/windows/lmerr.h +526431de498e8d1f67ab7484e8200444 usr/include/deepin-wine/windows/lmjoin.h +32c04753560e06ac51baef08c0b33bac usr/include/deepin-wine/windows/lmmsg.h +a2a34de96b79efad3883278ed85b7c23 usr/include/deepin-wine/windows/lmserver.h +49363084acf08ca73da60459669d802b usr/include/deepin-wine/windows/lmshare.h +97c07ae0e3075515b4c4b9ff0d511fb5 usr/include/deepin-wine/windows/lmstats.h +cd22cb2d4b1997d6ce2101f3da9251a2 usr/include/deepin-wine/windows/lmuse.h +99666e6203343ef01f6b39b92a4e888e usr/include/deepin-wine/windows/lmuseflg.h +ffc503dc69c3f04d743d82cd93d61d45 usr/include/deepin-wine/windows/lmwksta.h +ebe477a82e2a182c9a046a71c1ff7c8d usr/include/deepin-wine/windows/loadperf.h +e3d0947de41f79a6c5c082f96e5bbc7f usr/include/deepin-wine/windows/lowlevelmonitorconfigurationapi.h +c0d1d7ab95917880d69d9104d2eb442c usr/include/deepin-wine/windows/lzexpand.h +c3c48a7150a09f9e0ee062b29b1a5689 usr/include/deepin-wine/windows/mapi.h +3c8626b5a35b05ce7eb6776523dca153 usr/include/deepin-wine/windows/mapicode.h +f2fb4408b72640c1db2b3bf6391359be usr/include/deepin-wine/windows/mapidefs.h +30202ac0dc236e182eda84971082c290 usr/include/deepin-wine/windows/mapiform.h +87b57bcd7c2d570a0ea50f59319ef3ae usr/include/deepin-wine/windows/mapiguid.h +a83f5e6de752fce8fcacf95b4305db6b usr/include/deepin-wine/windows/mapitags.h +f439f1a9b84abb9e6243ba2d48081b75 usr/include/deepin-wine/windows/mapiutil.h +9d68257f4938e957d54edf2ea777cc78 usr/include/deepin-wine/windows/mapival.h +43be253edb0df0b2b0dddb3497c60934 usr/include/deepin-wine/windows/mapix.h +97a80c1c3f04aad4ee7bf4a9dbdad0b0 usr/include/deepin-wine/windows/mciavi.h +0ab12d9f4ccdb19a96f1d993e523f955 usr/include/deepin-wine/windows/mcx.h +ecc9a34015e36215cb29d3e815b93e13 usr/include/deepin-wine/windows/mediaerr.h +a4f4e68c8a29b613663a915edeb6536d usr/include/deepin-wine/windows/mediaobj.h +3a00c1359ca14a17b9c9f7e1b76c7f91 usr/include/deepin-wine/windows/mediaobj.idl +4d5d908a6db5e1783958cde58c62d517 usr/include/deepin-wine/windows/metahost.h +d68c161b856e6039af87c949c7ec03a0 usr/include/deepin-wine/windows/metahost.idl +615d823aec82fa202fd31f354989ba02 usr/include/deepin-wine/windows/mfapi.h +a70ff022e053e3130bbf77c67b22692b usr/include/deepin-wine/windows/mferror.h +940c42432f1ba15b1bad5f2c2e9a4df4 usr/include/deepin-wine/windows/mfidl.h +ba3a67ecce05270ade9c336f3b98295a usr/include/deepin-wine/windows/mfidl.idl +2300a0038ced9dc58e759a3991056053 usr/include/deepin-wine/windows/mfobjects.h +7aaa650b81a43eec2b2a32a6518e8bfe usr/include/deepin-wine/windows/mfobjects.idl +68c463f1200bba154a3175d9e18f5abd usr/include/deepin-wine/windows/mfreadwrite.h +8ae0fde8799046b116cdc722c2923b65 usr/include/deepin-wine/windows/mfreadwrite.idl +4c8f05fa3d4c649bf84e50613eae5e0e usr/include/deepin-wine/windows/mftransform.h +b67a260119a130fa4912765e9d6916b9 usr/include/deepin-wine/windows/mftransform.idl +6c2ee85a683c77acc6cfab3b72f9fad1 usr/include/deepin-wine/windows/midles.h +e868d2185b77d08b0a4f419db96e0c10 usr/include/deepin-wine/windows/mimeinfo.h +e911bd09980fcc155a6b2c7df20e61d3 usr/include/deepin-wine/windows/mimeinfo.idl +907e7e4a99bf7cfffb90c11555a3192e usr/include/deepin-wine/windows/mimeole.h +f2450a982747be4dbb474c912bd8f85f usr/include/deepin-wine/windows/mimeole.idl +cfa28f0ad112dda74576efd832db7f25 usr/include/deepin-wine/windows/minmax.h +1a6699094cf0ea6641152ef60090d7f0 usr/include/deepin-wine/windows/mlang.h +18a3c60e592383dc8b88b38605f586a6 usr/include/deepin-wine/windows/mlang.idl +63e6151280726af2bb0d9f860f6076d5 usr/include/deepin-wine/windows/mmc.h +5c80bd06017b8350ee3f3a904c4d38b0 usr/include/deepin-wine/windows/mmc.idl +8e3a918b45b7e83a999d9eab2875d047 usr/include/deepin-wine/windows/mmddk.h +4cf0f36e8b9fd002abaf99d66be3dd70 usr/include/deepin-wine/windows/mmdeviceapi.h +164d59beb4a4bd2b7dfa2b1a95dd3ed3 usr/include/deepin-wine/windows/mmdeviceapi.idl +72e9bac2ff2dd704e6eea2afbc9bf7e2 usr/include/deepin-wine/windows/mmreg.h +e993269866949681d068c0ed299d9109 usr/include/deepin-wine/windows/mmstream.h +3fa0e6c3dcec4688ccce142ddcab9868 usr/include/deepin-wine/windows/mmstream.idl +9d0fe7d2d2d6db9e2c5c3ad0b424f172 usr/include/deepin-wine/windows/mmsystem.h +2b2d97b22f5811a49a1731b9eb9f3442 usr/include/deepin-wine/windows/mprapi.h +d6640732772b0a5d2b2417458fbf69a0 usr/include/deepin-wine/windows/mprerror.h +20d268366a639ec7c30bda6d807cf619 usr/include/deepin-wine/windows/msacm.h +69874d6f0ad348adcb531f1c2a3650fb usr/include/deepin-wine/windows/msacmdlg.h +bf261c601fb5d32c0ff5e6b5b807e40b usr/include/deepin-wine/windows/msacmdrv.h +9a3c66a32aac42f7602701bfe6f9a1c7 usr/include/deepin-wine/windows/msasn1.h +09dd847a6885c1dd2b2138daba6af508 usr/include/deepin-wine/windows/mscat.h +9afb9237acd55aa1fbb749586de1d880 usr/include/deepin-wine/windows/mscoree.h +5232b67c3ff0ea48c4c9251b28d85e5c usr/include/deepin-wine/windows/mscoree.idl +d801f2c2a158fe7d3b62f756c49f02c6 usr/include/deepin-wine/windows/msctf.h +acfbeca4dd31e1f37ac74bd6c0343a2d usr/include/deepin-wine/windows/msctf.idl +8fa4e468e4c294951a9dc7b0de1f7151 usr/include/deepin-wine/windows/msdadc.h +b86d309c122e012b9df65eec6b344e63 usr/include/deepin-wine/windows/msdadc.idl +202d9bbe1060057dc0a8989669d3af87 usr/include/deepin-wine/windows/msdaguid.h +c2ef2df3e693cbdac83498b124927180 usr/include/deepin-wine/windows/msdasc.h +d88ef0d3921fbcc1236780dbefeeb707 usr/include/deepin-wine/windows/msdasc.idl +b4b3c2d72a133f9112c2ec9d8a982019 usr/include/deepin-wine/windows/mshtmcid.h +57cdc232ea50efe95eb9b40ad09886a2 usr/include/deepin-wine/windows/mshtmdid.h +82bfff7615b9b4e2d3474d45cb01e90c usr/include/deepin-wine/windows/mshtmhst.h +daa4215beb1310c92dac14a7d92c629b usr/include/deepin-wine/windows/mshtmhst.idl +3e0a44138a3e9da544c041c9ac905dc9 usr/include/deepin-wine/windows/mshtml.h +565e83a0506969f40eaeef1e3e907db2 usr/include/deepin-wine/windows/mshtml.idl +fee9c97cf2900668fcd95b069662c7ec usr/include/deepin-wine/windows/msi.h +26e034f34a2e7a70ae71354f829fc658 usr/include/deepin-wine/windows/msidefs.h +8306c3515040433ac2e64c9278fdceda usr/include/deepin-wine/windows/msident.h +e56842e7a8daa76e64fbc744e24d5493 usr/include/deepin-wine/windows/msident.idl +31556cb1b344aee6b2b4c8f782d04395 usr/include/deepin-wine/windows/msinkaut.h +d6816abe03edeb79e05a94e267f53758 usr/include/deepin-wine/windows/msinkaut.idl +8610543eed785af88508352e192a29cd usr/include/deepin-wine/windows/msiquery.h +873a139cd5f7f1744098bc988aba4586 usr/include/deepin-wine/windows/mssip.h +f066b75bb6b4665fe6678c7b3d552fd1 usr/include/deepin-wine/windows/msstkppg.h +2531eb4bc8261c13990bd8e81997ecd4 usr/include/deepin-wine/windows/mstask.h +43d6e0be7b6894b17e093bc0cde24828 usr/include/deepin-wine/windows/mstask.idl +5e68d14542bd0098eaa4ad8f203aa745 usr/include/deepin-wine/windows/mstcpip.h +30f767def904b9ca100199807f169630 usr/include/deepin-wine/windows/mswsock.h +5fb3d8fed39be5d5b8c56f43c9fbd61c usr/include/deepin-wine/windows/msxml.h +681acbe42d4649fbb3e5da319ff944e8 usr/include/deepin-wine/windows/msxml.idl +508fe0be7e87c0fa82828829d0d3b015 usr/include/deepin-wine/windows/msxml2.h +b582dc3789ccea7039412a47e89658e5 usr/include/deepin-wine/windows/msxml2.idl +50a379dab70c653a5ed8c056d89c2f26 usr/include/deepin-wine/windows/msxml2did.h +e2defd1058084820e517b66eade5f329 usr/include/deepin-wine/windows/msxml6.h +87e2181baececea7136a3ad7b349b2e8 usr/include/deepin-wine/windows/msxml6.idl +c662d10640aece5261568141f65b85ab usr/include/deepin-wine/windows/msxml6did.h +2f705efbe490104eee87ac458e44bab5 usr/include/deepin-wine/windows/msxmldid.h +99c0ffc5d8028c8b360faeddba7488eb usr/include/deepin-wine/windows/mtxdm.h +660d512806a60b4f6f2e9e3b7467b610 usr/include/deepin-wine/windows/multimon.h +1de913602af7e598de651250f0a095e3 usr/include/deepin-wine/windows/nb30.h +8a20b606b43bb135a35201d6d9099f0e usr/include/deepin-wine/windows/ncrypt.h +c64c2dc533ae10e5d8ead074f8c0c842 usr/include/deepin-wine/windows/ndrtypes.h +ad69cf7080c3e48ebf08a012d1ffc736 usr/include/deepin-wine/windows/netcfgx.h +7e71f159e69c380ad4cc8a977f900690 usr/include/deepin-wine/windows/netcfgx.idl +5a1c0f18147d8e348e4e4259d1366f66 usr/include/deepin-wine/windows/netcon.h +890080c11e6964a5b08775958ad9b43b usr/include/deepin-wine/windows/netcon.idl +ce61d389b347952d22a713f1cf20ca82 usr/include/deepin-wine/windows/netfw.h +e12b31ede24e8828d414b047c52d4403 usr/include/deepin-wine/windows/netfw.idl +b81501a12f5669aebe7d866cd919ecef usr/include/deepin-wine/windows/netioapi.h +e8d0f63c2c8ed07de73373026eafd92a usr/include/deepin-wine/windows/netlistmgr.h +9fddc18cc7c7a230d8bee4383cbc1688 usr/include/deepin-wine/windows/netlistmgr.idl +c2990f704751f4d1e1c0e0ace6c1ecce usr/include/deepin-wine/windows/nldef.h +7e74e89dc70156e441d28798cb8b1b59 usr/include/deepin-wine/windows/npapi.h +da864f0fda19a5ae512d47cc8e7ddb30 usr/include/deepin-wine/windows/nserror.h +7bcb70a82cb268ae689ac2f2f6dbc956 usr/include/deepin-wine/windows/nspapi.h +7c6b8975886027bd9733a5a828767780 usr/include/deepin-wine/windows/ntddcdrm.h +f5da6aa6b89726d9300e3c06cb0823d5 usr/include/deepin-wine/windows/ntddndis.h +220c114bbbb24812fe588b107d963934 usr/include/deepin-wine/windows/ntddscsi.h +7c3b50cf9d44d984846820ff2589c73c usr/include/deepin-wine/windows/ntddstor.h +73b81335f091c65830d3418dc7b495cc usr/include/deepin-wine/windows/ntdef.h +2d5fbec9a483742f63901f9474727954 usr/include/deepin-wine/windows/ntdsapi.h +dd867468d582846cca76b61acf3531df usr/include/deepin-wine/windows/ntquery.h +dabc434265d38ce08950c66ef35b0138 usr/include/deepin-wine/windows/ntsecapi.h +789a69fc445139efa99cf913f78d89ca usr/include/deepin-wine/windows/ntsecpkg.h +ddebc0f1462f6549f6d90ba9388e18d2 usr/include/deepin-wine/windows/ntstatus.h +83958a4b20993a23ebfb71c651930f02 usr/include/deepin-wine/windows/oaidl.h +d02f6fb0956220ef7f0b9c1d05d675af usr/include/deepin-wine/windows/oaidl.idl +e396b6afb094c9b8b90cc7c36c1e16c3 usr/include/deepin-wine/windows/objbase.h +9fd60e197e8de4862c0a02016ddbfd54 usr/include/deepin-wine/windows/objectarray.h +cab2d720c8a8154433632dc570fd305f usr/include/deepin-wine/windows/objectarray.idl +c1a9d42d3eeeca020cd779b56a0cecc1 usr/include/deepin-wine/windows/objidl.h +ab68346d35a09b28fb6dee2de5107761 usr/include/deepin-wine/windows/objidl.idl +66de61ea01a0393b7532c4071fa4a301 usr/include/deepin-wine/windows/objsafe.h +af64de87d5c216cad3543bb396931b86 usr/include/deepin-wine/windows/objsafe.idl +4edf98602dc489ead4d716d46af619b0 usr/include/deepin-wine/windows/objsel.h +a05407b1865d32f82472b86130c266a1 usr/include/deepin-wine/windows/ocidl.h +b3417a73a0793bc1030aef9ceb4d56f6 usr/include/deepin-wine/windows/ocidl.idl +11dfe438de23875023887ce84fa45e1d usr/include/deepin-wine/windows/ocmm.h +2b7c6e7023b92d9a17a173f149aff1a0 usr/include/deepin-wine/windows/ocmm.idl +98a617c00f36922f32442b88f39f5080 usr/include/deepin-wine/windows/odbcinst.h +84ea872acfb1c68b37da3168c53e2ce4 usr/include/deepin-wine/windows/ole2.h +47c450f0f65aaf40c2464d7d83c73b4b usr/include/deepin-wine/windows/ole2ver.h +a73085d660dde5b596fa16e6b2447374 usr/include/deepin-wine/windows/oleacc.h +1d504943717f50568f6993ff3b46902f usr/include/deepin-wine/windows/oleacc.idl +ca939b243e58a8cb148cd789b8f62a30 usr/include/deepin-wine/windows/oleauto.h +356a7309e45841c756ca883f6905683c usr/include/deepin-wine/windows/olectl.h +6d48040a08a5ef37648d8b88b7e3f4c6 usr/include/deepin-wine/windows/oledb.h +cf8a9e7378668efd1de16331eb3c8581 usr/include/deepin-wine/windows/oledb.idl +6e6ce47b5037970f3b6e1b4b05c92d71 usr/include/deepin-wine/windows/oledberr.h +f27bf5dbe53d970af81c41f0cabe86b6 usr/include/deepin-wine/windows/oledlg.h +84e0e525a5cb8b0ccac504e039bc7a2e usr/include/deepin-wine/windows/oleidl.h +6077d365333b413290adb2fe848a0b67 usr/include/deepin-wine/windows/oleidl.idl +a692a86355700586d7c71e1b09ceee92 usr/include/deepin-wine/windows/opnrst.idl +02683105684bea20a4683c4b48d2b87a usr/include/deepin-wine/windows/optary.h +f33cab6abf54c877d1a375a2d777f6ea usr/include/deepin-wine/windows/optary.idl +91a9af030b447bb4c0de2f1bef9d3a3c usr/include/deepin-wine/windows/patchapi.h +91f37258f314ce52fec0a3feb3f3722f usr/include/deepin-wine/windows/pdh.h +25b059f9ebd4cb67708d600cc58330f2 usr/include/deepin-wine/windows/pdhmsg.h +e4612d6738cfa072fa097c787881286a usr/include/deepin-wine/windows/perhist.h +acdd6ff393688edc21ea42e6deeaff2a usr/include/deepin-wine/windows/perhist.idl +044f955cfd8bb6a789a27dd505d7cc0c usr/include/deepin-wine/windows/physicalmonitorenumerationapi.h +9472ea2450d49045063036b31771faf1 usr/include/deepin-wine/windows/pktdef.h +00670220a2b767f443dce2507f0394a8 usr/include/deepin-wine/windows/poppack.h +a1fb19361aec28c5bc8d479da3532f76 usr/include/deepin-wine/windows/powrprof.h +1d9ba486d489f5706b4f891c287f32e6 usr/include/deepin-wine/windows/prntvpt.h +76432380194c4ab974524a38a2bcb53e usr/include/deepin-wine/windows/profinfo.h +5edecfa708934d54450524eab9049df0 usr/include/deepin-wine/windows/propidl.h +a00ad45641c7261f199964206f4d03c0 usr/include/deepin-wine/windows/propidl.idl +a265613d98ec00d273437ec39f892c51 usr/include/deepin-wine/windows/propkey.h +8581d797f722ada37ad0702a4d353e24 usr/include/deepin-wine/windows/propkeydef.h +748b436cf04384fad3461593fca61a4b usr/include/deepin-wine/windows/propsys.h +a46f0e95b4ea29dc1f5ac1ffcff899f3 usr/include/deepin-wine/windows/propsys.idl +f058528c429af3628821819c5fa8004d usr/include/deepin-wine/windows/propvarutil.h +77ee2f95a3dde569b8c09ecd47203a96 usr/include/deepin-wine/windows/prsht.h +c04b768b6c57223254b8dc50e1269663 usr/include/deepin-wine/windows/psapi.h +4cbc7127f9295eeb096d680ed06577b2 usr/include/deepin-wine/windows/pshpack1.h +b57d589851d1e3b54990927390edd496 usr/include/deepin-wine/windows/pshpack2.h +8b4cd79672d5f88c66cc7d4b50fe3b43 usr/include/deepin-wine/windows/pshpack4.h +7edb60b75fe33a44d7009b057d20ca82 usr/include/deepin-wine/windows/pshpack8.h +f2ca8ac268e0b3b983a60492eb9f9003 usr/include/deepin-wine/windows/pstore.h +dc53a8709b8b4137a214ea82ee06ce60 usr/include/deepin-wine/windows/pstore.idl +60643249a9e4ac7254cb6c3aac800912 usr/include/deepin-wine/windows/qedit.h +eccb91c0ddb22b3cba8ecc02d1e83e7c usr/include/deepin-wine/windows/qedit.idl +88a50128b611a36768109af0eea2e85a usr/include/deepin-wine/windows/ras.h +3cc5dbe8716e3d8b0ab42016678e088c usr/include/deepin-wine/windows/rasdlg.h +b4e54ebc32e076d63f06d8372b69bf5f usr/include/deepin-wine/windows/raserror.h +970078225e4be61ea2cfbfb8a5d165d2 usr/include/deepin-wine/windows/reason.h +547dc1dea584645dacd005e267c6e4e7 usr/include/deepin-wine/windows/regstr.h +46e9afb7486d9604bb5ecf53ddf5be52 usr/include/deepin-wine/windows/restartmanager.h +adb4dbde1f87963ff96ec87fe86ddc01 usr/include/deepin-wine/windows/richedit.h +66999861088646e121607a9a2e9fd7df usr/include/deepin-wine/windows/richole.h +a4b224b49af86f8839941d3d154cc54b usr/include/deepin-wine/windows/richole.idl +5d2e82fb31e95f01183ff238f667ad45 usr/include/deepin-wine/windows/rmxfguid.h +d2d6457482ae8d507ad5458b1e800788 usr/include/deepin-wine/windows/rmxftmpl.h +2e73f19f0143b36f83fee1e07bf029ec usr/include/deepin-wine/windows/rmxftmpl.x +0e3e13cb2d309ac7b9b5755153104890 usr/include/deepin-wine/windows/roapi.h +d90a74215a8121351ebc41c3ad050ca8 usr/include/deepin-wine/windows/row.idl +df47ccc7701e765857498340abca2d30 usr/include/deepin-wine/windows/rowchg.idl +d2e66b3e6ee383487c9724cab75f5e1e usr/include/deepin-wine/windows/rowpos.idl +040f30202dc35363e53848597e7903ed usr/include/deepin-wine/windows/rowpsc.idl +011d922188a8365811f86639af8e9552 usr/include/deepin-wine/windows/rpc.h +e825b559db25718aba75ff1b844bc6b6 usr/include/deepin-wine/windows/rpcasync.h +abc338836f88766d1a0eacd13a051119 usr/include/deepin-wine/windows/rpcdce.h +4369c0860d28ae9856010406960e30d4 usr/include/deepin-wine/windows/rpcdcep.h +445b035c7c59657a5424e94dafa5d5e1 usr/include/deepin-wine/windows/rpcndr.h +42b46ff90168f441085f061a3898f968 usr/include/deepin-wine/windows/rpcnterr.h +08b28c98db72bfc3e4b2fac0c1f2c7ba usr/include/deepin-wine/windows/rpcproxy.h +cac8ca8c2eda45974996c32847e2f48d usr/include/deepin-wine/windows/rpcsal.h +9f2b18c60b4606ad31e7f321b73fe337 usr/include/deepin-wine/windows/rstbas.idl +dd3a5e0c690b7f62e68fed853d9638fb usr/include/deepin-wine/windows/rstinf.idl +8b0e51e94773e3fed7e0f1746ea5c189 usr/include/deepin-wine/windows/rstloc.idl +c8b62162cc7934cdba7cd005505cda3d usr/include/deepin-wine/windows/rstnot.idl +8d5cd5a8f6917a3635f415339e6664d2 usr/include/deepin-wine/windows/rtutils.h +718564cd989bd2d5bae4dc1bc5a19735 usr/include/deepin-wine/windows/sapi.h +54d49d91f91eed7422834b444710b967 usr/include/deepin-wine/windows/sapi.idl +87ccea4c8494dcc36e1749045626aab5 usr/include/deepin-wine/windows/sapiddk.h +4a492cfec0d2f483843ac6bb861a922e usr/include/deepin-wine/windows/sapiddk.idl +48fc28441e536cb25d6b84ba00a05822 usr/include/deepin-wine/windows/scarderr.h +6ef1ce2b796849e27917dcfb5bbdb0e4 usr/include/deepin-wine/windows/schannel.h +61984eded2eac942cebbff4b86cfc546 usr/include/deepin-wine/windows/schemadef.h +4260dd573ad4d5a72afbb9b2c84502d3 usr/include/deepin-wine/windows/schnlsp.h +667ba35fd45598a74182b0257dbba3d9 usr/include/deepin-wine/windows/sddl.h +78fd17cc367c41829c0bc2333ae5ecda usr/include/deepin-wine/windows/secext.h +848a3b2be445de5ab2206c5369167d37 usr/include/deepin-wine/windows/security.h +63b0894c2a9cddad2fd728709d872aec usr/include/deepin-wine/windows/sensapi.h +40ae7941ec36dcfa327edebf07c2484b usr/include/deepin-wine/windows/sensevts.h +3f2945dfb077413595a4272ea9e6f1a3 usr/include/deepin-wine/windows/sensevts.idl +08be4049c7beb2b1557bb37a21d2fedd usr/include/deepin-wine/windows/servprov.h +34689730120d99da3495a934630ceb26 usr/include/deepin-wine/windows/servprov.idl +c4dc317db5752fa31db821dd3c898a60 usr/include/deepin-wine/windows/sesprp.idl +c84a9d5b6004a5a3a533bc0ce4aa400e usr/include/deepin-wine/windows/setupapi.h +9725e90eab87f47d58cee98979460e52 usr/include/deepin-wine/windows/sfc.h +a0adc87f6a6151c64b3f3a80c0afeceb usr/include/deepin-wine/windows/shdeprecated.h +0f5fa397296163cbc896905445f7952f usr/include/deepin-wine/windows/shdeprecated.idl +61df0498c6a3cd618070b4bc9b4ecfbe usr/include/deepin-wine/windows/shdispid.h +6a17669331786624d85ccb2bbaa9a25c usr/include/deepin-wine/windows/shellapi.h +64311549847c304334d880ba8c09343f usr/include/deepin-wine/windows/shimgdata.h +eac5e1448157cdf40abe00c7c672d513 usr/include/deepin-wine/windows/shimgdata.idl +8cdc2e93e35200059e6a83e0b9f6ec81 usr/include/deepin-wine/windows/shldisp.h +6b7deee57b7b24497bde3e193e8666f8 usr/include/deepin-wine/windows/shldisp.idl +bc04d7957b74b3db672aabef3033d3ed usr/include/deepin-wine/windows/shlguid.h +621a236b7e6b4c4116b7f88104750466 usr/include/deepin-wine/windows/shlobj.h +9f9e9fbe60d28f29c3de19648377f5fd usr/include/deepin-wine/windows/shlwapi.h +4f0d0060544426a91ecf932d3f3301c6 usr/include/deepin-wine/windows/shobjidl.h +9e8fd1d4eb2d169eaebd970380291f3d usr/include/deepin-wine/windows/shobjidl.idl +420244c9cbc41b40922813b72af19b14 usr/include/deepin-wine/windows/shtypes.h +8f36d2e5cbc5c9ba5edbecffed026d37 usr/include/deepin-wine/windows/shtypes.idl +25f91d35d1c42f93a4d950c845514e24 usr/include/deepin-wine/windows/sipbase.h +fe36d447e75db8009a0ee8b10d4dc3af usr/include/deepin-wine/windows/slerror.h +f36b371dd8f9246e90c09a606b2575ab usr/include/deepin-wine/windows/slpublic.h +b99d181c646a984bf29c57da5575fd82 usr/include/deepin-wine/windows/snmp.h +545070cdf4c187bf87d2e01750a8b864 usr/include/deepin-wine/windows/softpub.h +ccfbec384b686865582162a48e350722 usr/include/deepin-wine/windows/sperror.h +b483f969f446d035a7e7e14392be2deb usr/include/deepin-wine/windows/sql.h +4e97c41843dca41f93e1670cb9985b18 usr/include/deepin-wine/windows/sqlext.h +811b2c349a0c2defca886d5b62fdb2f3 usr/include/deepin-wine/windows/sqltypes.h +7e13efa6655fdc8a0031de2850cf7c53 usr/include/deepin-wine/windows/sqlucode.h +4e8f86b02b3c54fcee3a175895b74c49 usr/include/deepin-wine/windows/srcrst.idl +d7291906c38234310e232b94079b0cb7 usr/include/deepin-wine/windows/srrestoreptapi.h +34cb3c593a813fbd12ccecdcfde39cc8 usr/include/deepin-wine/windows/sspi.h +eb7ca1ef1ccdcf70a0e12b2c5577f0dd usr/include/deepin-wine/windows/stdole2.idl +42d8b5e41a287a5e39dd07166b4b98e6 usr/include/deepin-wine/windows/stgprop.h +0288616c87591f503077ab693b3feb97 usr/include/deepin-wine/windows/sti.h +05fa5d55518333a3d8324972f81b9b9d usr/include/deepin-wine/windows/storage.h +6da16de8f3963450badf7bff4db4c504 usr/include/deepin-wine/windows/strmif.h +09fd824c2125dd8fd9c9acdb6a21a347 usr/include/deepin-wine/windows/strmif.idl +86973ac9ef58b2ee875177abe2bcfe89 usr/include/deepin-wine/windows/strsafe.h +bbd8b5edbb23e3e0719c619a68af12de usr/include/deepin-wine/windows/structuredquerycondition.h +00fa7b168ac7773b055af8b377e4c1e0 usr/include/deepin-wine/windows/structuredquerycondition.idl +22ea5fa0ff0243567c997dcbdc895cd2 usr/include/deepin-wine/windows/svrapi.h +1177da9024cf88ab4021889baa60a66c usr/include/deepin-wine/windows/t2embapi.h +9de917663601ea585e1b399c9c3da358 usr/include/deepin-wine/windows/tapi.h +957c498168adf4fa4ac291943749be6b usr/include/deepin-wine/windows/taskschd.h +f8209f49583936e7b37544aeb7ce73cb usr/include/deepin-wine/windows/taskschd.idl +4250ba9e8b3d5576d1cfba54897e8d16 usr/include/deepin-wine/windows/tchar.h +06f54f99c6a8b9226944896c5a5f8143 usr/include/deepin-wine/windows/tcpestats.h +a041912ac1295e1ce7c63d68d6312b90 usr/include/deepin-wine/windows/tcpmib.h +bfd57e2925e9430c8adff88d11d796a5 usr/include/deepin-wine/windows/textserv.h +4fefb41978608c8fef7a3d5129a2dc49 usr/include/deepin-wine/windows/textstor.h +53282ea8fc042c6092628eb61ccbd877 usr/include/deepin-wine/windows/textstor.idl +96c86e49fd9a3c387f2d8f65deed9c6f usr/include/deepin-wine/windows/tlhelp32.h +6f4ec328bcaba4de5fa72902333c27e9 usr/include/deepin-wine/windows/tlogstg.h +259bc9ff0606c350db49ae18ce79c774 usr/include/deepin-wine/windows/tlogstg.idl +427b8d307c2d8362f249eaa0ab199c2d usr/include/deepin-wine/windows/tmschema.h +ebdcfc20f01bf6b3daf3f807b9833dd3 usr/include/deepin-wine/windows/tom.h +90987af7a60dd6169b790c36b671ab5b usr/include/deepin-wine/windows/tom.idl +e4606990aaaa2ca295508ef9c897daae usr/include/deepin-wine/windows/traffic.h +a299f355b4b9e83098ec8ed5d5b46a34 usr/include/deepin-wine/windows/transact.h +664c038b5872e204afb120cbbe2cb082 usr/include/deepin-wine/windows/transact.idl +d30997760d04e53e0642dce36ceadcea usr/include/deepin-wine/windows/twain.h +e0fcdc4027ea7002268158dfb0f1fd70 usr/include/deepin-wine/windows/txcoord.h +7445160602b87269e3fd703617601229 usr/include/deepin-wine/windows/txcoord.idl +824582139c6c93d2b720c25ccc23d450 usr/include/deepin-wine/windows/txdtc.h +aef927a3d78d6ad02f745e11048d6682 usr/include/deepin-wine/windows/txdtc.idl +e3f6074b0d40d418a79c4a03e3ac94ae usr/include/deepin-wine/windows/udpmib.h +7ce808691d7eb0dae7caa14b84a64f05 usr/include/deepin-wine/windows/uianimation.h +1ba0aaa3dbd108616717eec6d774b81d usr/include/deepin-wine/windows/uianimation.idl +3ae41e6a1945149a1445f5398451d6a4 usr/include/deepin-wine/windows/uiautomation.h +150932a22d7e286464247b5777600e3a usr/include/deepin-wine/windows/uiautomationclient.h +1c758d04bf2d1b23075a54761e236e19 usr/include/deepin-wine/windows/uiautomationclient.idl +f217a981664b25df8aaa9dfccaca1b7a usr/include/deepin-wine/windows/uiautomationcore.h +01efc8fc9ba6f2b4f40434b0f5564533 usr/include/deepin-wine/windows/uiautomationcore.idl +95403e9470ae888c81f60a02794d5ecc usr/include/deepin-wine/windows/uiautomationcoreapi.h +45fc8efbc713d7dca43e41292f7a1e8b usr/include/deepin-wine/windows/uiribbon.h +17b28f3fed089f1e595cc71d6dbc4509 usr/include/deepin-wine/windows/uiribbon.idl +44e9644f0920dab820012b29dfb99b10 usr/include/deepin-wine/windows/unknwn.h +b7eaead86fe1c8f4ad4b19a3441b458c usr/include/deepin-wine/windows/unknwn.idl +6d10e9939ac84ccd8ca5e0a5a44d1e2a usr/include/deepin-wine/windows/urlhist.h +09306903992b91cc093f9ed5ebb4ffe7 usr/include/deepin-wine/windows/urlhist.idl +5b5f33211c837ccf832db71c5e903fba usr/include/deepin-wine/windows/urlmon.h +86bb4e5ab0ae7ef41567ef96b24e7303 usr/include/deepin-wine/windows/urlmon.idl +08e8d63202541d4edf90b84015c17257 usr/include/deepin-wine/windows/userenv.h +b76b9697c459531d39e1c8a7f5a918d5 usr/include/deepin-wine/windows/usp10.h +c53f14827a2c6b8e21ee579d1852428c usr/include/deepin-wine/windows/uuids.h +fa2693748dc399c3b6062afce8e01177 usr/include/deepin-wine/windows/uxtheme.h +4e521d12359897d4182b57851cf3914f usr/include/deepin-wine/windows/vdmdbg.h +b9e3115e472e757fab3b551705896e99 usr/include/deepin-wine/windows/ver.h +5a8a5fee490019dbff6bea80f137a3a7 usr/include/deepin-wine/windows/verrsrc.h +c9bb216491650b3f9b5dc6a7621c7180 usr/include/deepin-wine/windows/vfw.h +8f266fa31b51bad09b38aaa5e6a06b5a usr/include/deepin-wine/windows/vfwmsgs.h +4f5d547cf3b02d6a0bdeacc5e65dce42 usr/include/deepin-wine/windows/vmr9.h +9eeabe99088ff603c53d7b5aeed55c51 usr/include/deepin-wine/windows/vmr9.idl +e5bd275f05e93e93e50c17b61615afdb usr/include/deepin-wine/windows/vmrender.idl +69cdaaddcd52e6b94d84adcd81f77965 usr/include/deepin-wine/windows/vss.h +4d3ed750c8aa7a8bc0cff16b2af6aa9b usr/include/deepin-wine/windows/vss.idl +7b79986d9fd4a403e4436e3451d93de0 usr/include/deepin-wine/windows/vsstyle.h +1926882d9e9434fc580375b201da1dfb usr/include/deepin-wine/windows/vssym32.h +e47303b255a0e14646ab4532abb16b38 usr/include/deepin-wine/windows/vswriter.h +5f9786af36c269edfff9895d90de80b4 usr/include/deepin-wine/windows/wbemcli.h +7ff87385c4c84230719da0b6160eb6ea usr/include/deepin-wine/windows/wbemcli.idl +5fa54c8fcf32ccd014d99652a7c2c5a9 usr/include/deepin-wine/windows/wbemdisp.h +a6dbc82e44fb20fc95fae01e19ef2344 usr/include/deepin-wine/windows/wbemdisp.idl +5ecd5dc0fcfa4d1181d9ff680853bb4b usr/include/deepin-wine/windows/wbemprov.h +1c4ee4af7022cd11b6acbdc3d3777e50 usr/include/deepin-wine/windows/wbemprov.idl +4acd63bad19bdc5c65043bb189013a37 usr/include/deepin-wine/windows/wct.h +dd131aad85cda2e65475b53d8fcbb4a4 usr/include/deepin-wine/windows/webservices.h +d77e19faab29a732396bffe16e641d57 usr/include/deepin-wine/windows/werapi.h +f0a60261f8f29cc60fbdcdaf0c88f3a5 usr/include/deepin-wine/windows/wfext.h +1850954c66c042585cff43c9c0780eb1 usr/include/deepin-wine/windows/wia.h +12f06266c9d62317dbe337ca3fc8634e usr/include/deepin-wine/windows/wia_lh.h +985593ba0af161fd62826e2e1d7ae0f8 usr/include/deepin-wine/windows/wia_lh.idl +6c9da46a5cd85ce70e7f2b82dec29850 usr/include/deepin-wine/windows/wia_xp.h +985593ba0af161fd62826e2e1d7ae0f8 usr/include/deepin-wine/windows/wia_xp.idl +9fc01e9ee52fed575eeef6185679b79e usr/include/deepin-wine/windows/wiadef.h +001a61d53173736640d237a1d9b199fe usr/include/deepin-wine/windows/wimgapi.h +8051c57270c668f1e4ecc125f72e3036 usr/include/deepin-wine/windows/winbase.h +7d08afba6174540763bf4c9d9db245e7 usr/include/deepin-wine/windows/wincodec.h +ff046e29b4f44da097ee2a43683b22ae usr/include/deepin-wine/windows/wincodec.idl +369a7434fd8d6e0e24703aab0fec43f4 usr/include/deepin-wine/windows/wincodecsdk.h +a05c3abd77d3ccd6e65d895b9b8ed095 usr/include/deepin-wine/windows/wincodecsdk.idl +6bae180c4381cb148fc3b60f7b90bdcd usr/include/deepin-wine/windows/wincon.h +759445b9f240e0d606faad048ab36425 usr/include/deepin-wine/windows/wincred.h +8277bec6caaa9ce3c02b2e0c7d85c98d usr/include/deepin-wine/windows/wincrypt.h +6517ed4a059603aafe02d57b2700b3aa usr/include/deepin-wine/windows/windef.h +403b9fbad8c5acb077876c7f6cb9a78c usr/include/deepin-wine/windows/windns.h +b970671906e20011ea88d8af03b8129e usr/include/deepin-wine/windows/windows.foundation.h +c810f83ee3cd30b1bce806e74fd7249c usr/include/deepin-wine/windows/windows.foundation.idl +ab8916e4c45eeee14699a70e4c4715df usr/include/deepin-wine/windows/windows.h +9d66e57c6d70e25d0a12fff136cc6524 usr/include/deepin-wine/windows/windowsx.h +59b21352597d55f3d8dfd944b5fad323 usr/include/deepin-wine/windows/winerror.h +0299d4978a53f620636a7593d1918659 usr/include/deepin-wine/windows/winevt.h +740de33cd554e54f7c5de7afa51ae69f usr/include/deepin-wine/windows/wingdi.h +e02e47d04dd960c10b806d8dd8a0abae usr/include/deepin-wine/windows/winhttp.h +5eb198e9a049985420c5be7719a75ddd usr/include/deepin-wine/windows/wininet.h +5faffaf6502bd98dded475e8812ac432 usr/include/deepin-wine/windows/winineti.h +3503db028de8411992710efccf8f2ac7 usr/include/deepin-wine/windows/winioctl.h +213f6872459d530385c57d51b88d5df4 usr/include/deepin-wine/windows/winldap.h +b036fa112d0c81b25c458a7b9d762f3a usr/include/deepin-wine/windows/winnetwk.h +d80bf0c6f1aa93722b098c44603e70cb usr/include/deepin-wine/windows/winnls.h +33d5ff39a0b08bffe38ae0eeadec6040 usr/include/deepin-wine/windows/winnls32.h +814d74bcd6aad4628df4245016d9c022 usr/include/deepin-wine/windows/winnt.h +debe2d1fd7f5f7eb248b66851be16083 usr/include/deepin-wine/windows/winnt.rh +6da92816ab39768266ddf266f4e91270 usr/include/deepin-wine/windows/winperf.h +78e08138f778165b059f479cdf71acca usr/include/deepin-wine/windows/winreg.h +ff029bb6cedac6ae799adb1a2d96d503 usr/include/deepin-wine/windows/winresrc.h +92a58e3cc3f0d33ae756ed67e9a36085 usr/include/deepin-wine/windows/winsafer.h +cddadc9bad17bea47f49212dadc169a2 usr/include/deepin-wine/windows/winscard.h +7285183767513e3da6c28a52a8e3cf1b usr/include/deepin-wine/windows/winsmcrd.h +7a420d0151aebabc3105e95c9f1ebdf1 usr/include/deepin-wine/windows/winsnmp.h +907883254d76fe19efb8cc811a2ccb0d usr/include/deepin-wine/windows/winsock.h +92d3b11173ec7b8dcc4c2ccec3c7c0a0 usr/include/deepin-wine/windows/winsock2.h +48f8b5e07965c3f9f3555155261daf8c usr/include/deepin-wine/windows/winspool.h +e771a286925f998ff14fbd8f0335d4cd usr/include/deepin-wine/windows/winstring.h +a711688f27cf31da0f7b417e5ac2102b usr/include/deepin-wine/windows/winsvc.h +9d6ebfed0cdb908acc37f701cfb5efcb usr/include/deepin-wine/windows/winsxs.h +01315203779773b5e3c076e9c6aa8ffb usr/include/deepin-wine/windows/winsxs.idl +aad9b1bbef6a4581ff0e166a79cd7acd usr/include/deepin-wine/windows/wintab.h +14fade3725a12598e90e9cba6391cfbb usr/include/deepin-wine/windows/wintabx.h +eb07e42373ee21a0e88d24a2fb96c7ad usr/include/deepin-wine/windows/winternl.h +d78569dd40c6c9555d27b8e510410cfd usr/include/deepin-wine/windows/wintrust.h +9330725a74b1e259298c96953e223d65 usr/include/deepin-wine/windows/winuser.h +fa8df1b1e7d16d4a0951e97a93dc214c usr/include/deepin-wine/windows/winuser.rh +518d4026e128fe37e9f07ef93dde5be2 usr/include/deepin-wine/windows/winver.h +e41ced80854a194b08058a19b9adc625 usr/include/deepin-wine/windows/wlanapi.h +1e6acd207fdef5d05a7b5841d9a99e67 usr/include/deepin-wine/windows/wmdrmsdk.h +144962083b0342a66d03b625f11bb94e usr/include/deepin-wine/windows/wmdrmsdk.idl +bf16233761d26c32c49cd55a3a0c1355 usr/include/deepin-wine/windows/wmistr.h +39c0599420f58c0eededf99c6c509ef6 usr/include/deepin-wine/windows/wmium.h +1c8d17587599c24c7262ec9db8ae3c01 usr/include/deepin-wine/windows/wmiutils.h +4e70c6eb369ec18755baea9f5190d47e usr/include/deepin-wine/windows/wmiutils.idl +c528a77c944c7bada534ac9760c712b6 usr/include/deepin-wine/windows/wmp.h +9d3a022fd98aafa25c0f858a02594896 usr/include/deepin-wine/windows/wmp.idl +08d323dec763bcc1a1371c891dadea23 usr/include/deepin-wine/windows/wmsbuffer.h +e07ebfd947f9a1e2b01065e75895e137 usr/include/deepin-wine/windows/wmsbuffer.idl +ca380040f98b90f56f29e65852495787 usr/include/deepin-wine/windows/wmsdk.h +7011597a9ac88f4ec094e3f5e05def2f usr/include/deepin-wine/windows/wmsdkidl.h +e8538c510447607a7cef2467a8378d44 usr/include/deepin-wine/windows/wmsdkidl.idl +04937c5862e45957ce0838e8d6eb0433 usr/include/deepin-wine/windows/wnaspi32.h +5f85342f09adfe2a0fec34b9dd0ad8f2 usr/include/deepin-wine/windows/wownt32.h +5028391bb05d06c7833ba5a60bf602bf usr/include/deepin-wine/windows/wpcapi.h +9428c2d6358c11d7cd5cea77e693d97e usr/include/deepin-wine/windows/wpcapi.idl +f4211d26b98920b67e4e063bfb32f6c3 usr/include/deepin-wine/windows/ws2def.h +94a47337a6198f7c504c50df97456c64 usr/include/deepin-wine/windows/ws2ipdef.h +f10c8ac041b7c4aaca8a6fb19fdba379 usr/include/deepin-wine/windows/ws2spi.h +622866f0069a9718f44c5b2f60f11338 usr/include/deepin-wine/windows/ws2tcpip.h +3a385c9fe15e5dcde159f973f7f2b6ba usr/include/deepin-wine/windows/wsdapi.h +f11679dc021837b3af5dec079a12660a usr/include/deepin-wine/windows/wsdbase.h +6ce160bb61209cf72325f7617107eb21 usr/include/deepin-wine/windows/wsdbase.idl +a9de470ecd9fc8b2d6e8398b816e66f0 usr/include/deepin-wine/windows/wsddisco.h +ab2c866b6ac21782fbc9b6f0cfcfaea6 usr/include/deepin-wine/windows/wsddisco.idl +8ef13da22b29db3f8e51e3e25527faad usr/include/deepin-wine/windows/wsdtypes.h +97ad94357a02bb81dcf9f1774162d403 usr/include/deepin-wine/windows/wsdutil.h +2540177435eb8517ae4c27e35b16dcac usr/include/deepin-wine/windows/wsdxml.h +f0c8dd7bd0135f67205a912234bc130a usr/include/deepin-wine/windows/wsdxml.idl +befc36f66cbdd06be22780c97367f623 usr/include/deepin-wine/windows/wsdxmldom.h +ec3f4c6d960f3e43f2972b765f524439 usr/include/deepin-wine/windows/wshisotp.h +78314e8a9a14a5cefb856d3a0f5ee0d1 usr/include/deepin-wine/windows/wsipx.h +c6f1b8975e0a3cce74c621d8b033e801 usr/include/deepin-wine/windows/wsnwlink.h +587a894fe3ef20eeb6a04c2379cddbeb usr/include/deepin-wine/windows/wtsapi32.h +dd51375bf73a0373588e4839a4a8cd14 usr/include/deepin-wine/windows/wtypes.h +ab4fa56a57c4e3d259a56e34206eaab6 usr/include/deepin-wine/windows/wtypes.idl +b558b846fae1b21a86817ab8785d75e3 usr/include/deepin-wine/windows/wuapi.h +f9db336109bc53588882008bf81833f0 usr/include/deepin-wine/windows/wuapi.idl +1a6b500b669f5a30399ac6bee7aa27a4 usr/include/deepin-wine/windows/x3daudio.h +b19608373edf8a4d3b38dca762ffecc3 usr/include/deepin-wine/windows/xapo.h +5ca4937c57dfdfbe49850dc5302c2af2 usr/include/deepin-wine/windows/xapo.idl +4473aac58eba5596a00c3e02c5b8e877 usr/include/deepin-wine/windows/xapofx.h +a352787f56adfe19876b94d5bf1130bc usr/include/deepin-wine/windows/xaudio2.h +901382bcdff418808cc95eafdcb3a682 usr/include/deepin-wine/windows/xaudio2.idl +27c546a36c6b8d56a563eb2812058a4a usr/include/deepin-wine/windows/xaudio2fx.h +48c2ce9b7968539c880500570079d2c3 usr/include/deepin-wine/windows/xaudio2fx.idl +0c80adc617887ae285895ec31e946f11 usr/include/deepin-wine/windows/xcmc.h +809fa98c594976a2b53e011203d4c3a9 usr/include/deepin-wine/windows/xinput.h +7d03c1c478cab1bc31311ce2adadd29c usr/include/deepin-wine/windows/xmldom.h +e109878f2777d33d1ef37043671765de usr/include/deepin-wine/windows/xmldom.idl +50c4261917cd76306967b74820b590a8 usr/include/deepin-wine/windows/xmldomdid.h +c78eb8ab7023c39002ce159e085d09b6 usr/include/deepin-wine/windows/xmldso.idl +db56a70b8b55fe2ccd9461e60bd41c01 usr/include/deepin-wine/windows/xmldsodid.h +5e019dc5d7c6ab138b1d6013d6e459fb usr/include/deepin-wine/windows/xmllite.h +349ba7fec30bf6c4e319dc0e9ac0f2fa usr/include/deepin-wine/windows/xmllite.idl +3f2b3e1e220c5b160f7d1f3c0826d644 usr/include/deepin-wine/windows/zmouse.h +28fb16297c9fe62d8a6d6c56643fb1b1 usr/lib/i386-linux-gnu/deepin-wine/libaclui.def +454d8821340a912111b32a9855627e01 usr/lib/i386-linux-gnu/deepin-wine/libactiveds.def +157ad59ed2c23b05ffb501cd7bef7302 usr/lib/i386-linux-gnu/deepin-wine/libadsiid.a +316bf2796976a105ce06d6709dca8819 usr/lib/i386-linux-gnu/deepin-wine/libadvapi32.def +cb1d955dbd6c1feb79dd788e283d9ea4 usr/lib/i386-linux-gnu/deepin-wine/libadvpack.def +5c4e7281e25003032188c10e80baed90 usr/lib/i386-linux-gnu/deepin-wine/libatl.def +f8ab2a1389b8b817fc4f1e439e19168f usr/lib/i386-linux-gnu/deepin-wine/libatl100.def +398b074c281b287cd317274bc86fa7ce usr/lib/i386-linux-gnu/deepin-wine/libatl80.def +568053ee62175b0da944675ec31ff454 usr/lib/i386-linux-gnu/deepin-wine/libavicap32.def +10b14bc4a72f8ba135dbe709702dffe6 usr/lib/i386-linux-gnu/deepin-wine/libavifil32.def +ef19d965227a82759509fc52e8f6982c usr/lib/i386-linux-gnu/deepin-wine/libavrt.def +cab1df26e0a379f1e12a06c663934128 usr/lib/i386-linux-gnu/deepin-wine/libbcrypt.def +c5a66b61a34f434954a7b072751a1d4e usr/lib/i386-linux-gnu/deepin-wine/libcabinet.def +1ba52a0905002c190cb1a47cc5a2de07 usr/lib/i386-linux-gnu/deepin-wine/libcapi2032.def +c0843752e3e49f2a6080885fcb4a791f usr/lib/i386-linux-gnu/deepin-wine/libcards.def +ed521f9e0dc0b23a539520047c56aa0b usr/lib/i386-linux-gnu/deepin-wine/libcfgmgr32.def +929fc4e446f46da53d921f815e905ccd usr/lib/i386-linux-gnu/deepin-wine/libclusapi.def +e526b9085f97dd60fb5f49b5e7e2e624 usr/lib/i386-linux-gnu/deepin-wine/libcomctl32.def +c23c565106c7a371c7a69c7bf2642083 usr/lib/i386-linux-gnu/deepin-wine/libcomdlg32.def +6dfe5cda71952bbaa88430caea3070b9 usr/lib/i386-linux-gnu/deepin-wine/libcompstui.def +75cc3079b190093f54dadf39f23c0b4b usr/lib/i386-linux-gnu/deepin-wine/libcomsvcs.def +c5c3f29c0fb5632906d22fb4d6558e23 usr/lib/i386-linux-gnu/deepin-wine/libcredui.def +bbee213465856b1f3f9efbd47b5e10e8 usr/lib/i386-linux-gnu/deepin-wine/libcrypt32.def +320d684c7580c269021e5d999210c056 usr/lib/i386-linux-gnu/deepin-wine/libcryptdll.def +4d0795f348564e69fc0334bceeeb488d usr/lib/i386-linux-gnu/deepin-wine/libcryptnet.def +0997ed0daf4edbb551e6b48b7153c202 usr/lib/i386-linux-gnu/deepin-wine/libcryptui.def +5793ba46e4c51a39f6ff22651039b0ed usr/lib/i386-linux-gnu/deepin-wine/libd2d1.def +dfaa5054ae176063e0e09a7f11718efc usr/lib/i386-linux-gnu/deepin-wine/libd3d10.def +46eba168775204af12387322cc30e801 usr/lib/i386-linux-gnu/deepin-wine/libd3d10_1.def +b1e60cd9ece690bfdb9800d8fce21ef7 usr/lib/i386-linux-gnu/deepin-wine/libd3d10core.def +723064ac5d92482db1adfe18481514ca usr/lib/i386-linux-gnu/deepin-wine/libd3d11.def +b19d1044793cadd7f3efa78102497e54 usr/lib/i386-linux-gnu/deepin-wine/libd3d8.def +d433c1f6ea3eae196e98c4ff2549eb45 usr/lib/i386-linux-gnu/deepin-wine/libd3d9.def +d2f294e9777a09f63ab908ab89e45fce usr/lib/i386-linux-gnu/deepin-wine/libd3dcompiler.def +cc36088f5ac9c0814882afc2502fbed3 usr/lib/i386-linux-gnu/deepin-wine/libd3drm.def +69aea2542b66154fbd907f8e8500ce45 usr/lib/i386-linux-gnu/deepin-wine/libd3dx10.def +c1914eb471db2c4692e853dbdac4b949 usr/lib/i386-linux-gnu/deepin-wine/libd3dx11.def +e05ba6b65fa2e519f36a031164941c25 usr/lib/i386-linux-gnu/deepin-wine/libd3dx9.def +bbbbeeacbf3ded2551a68cda4b162264 usr/lib/i386-linux-gnu/deepin-wine/libd3dxof.def +bb2d21620d3a9792cbf84525c7696fab usr/lib/i386-linux-gnu/deepin-wine/libdbgeng.def +72651f70eb130fda3072cd8a1f0c1020 usr/lib/i386-linux-gnu/deepin-wine/libdbghelp.def +8af73e7dc37aa7a2dba42e0a11b40f38 usr/lib/i386-linux-gnu/deepin-wine/libdciman32.def +07afa002afeb783e3a92f90add0d9988 usr/lib/i386-linux-gnu/deepin-wine/libddraw.def +71e4ee90ab15edf620e9f1bc48c38db8 usr/lib/i386-linux-gnu/deepin-wine/libdinput.a +f32ea4fec7f861bf846cf50c0cd810db usr/lib/i386-linux-gnu/deepin-wine/libdinput8.def +33bbcca0a925e56b28a110512da5545c usr/lib/i386-linux-gnu/deepin-wine/libdnsapi.def +ac0c13f8b60390540e6c05740e03c205 usr/lib/i386-linux-gnu/deepin-wine/libdplayx.def +527529008f06eed7ec3a98ed92d706f7 usr/lib/i386-linux-gnu/deepin-wine/libdpnet.def +4cc481dd74742cb56c23f2cdfac8ff73 usr/lib/i386-linux-gnu/deepin-wine/libdsound.def +3eca455975657d60c0e3029dbed30f7f usr/lib/i386-linux-gnu/deepin-wine/libdwmapi.def +72d5813b979c12aa214d04c49a60d960 usr/lib/i386-linux-gnu/deepin-wine/libdwrite.def +e3226bd292d28652c61f82e03bb5b782 usr/lib/i386-linux-gnu/deepin-wine/libdxerr8.a +3599642f8edd2146e2a27831dbac9de0 usr/lib/i386-linux-gnu/deepin-wine/libdxerr9.a +5e79af0dcad16112a21678ce1b4d7533 usr/lib/i386-linux-gnu/deepin-wine/libdxgi.def +20af9d241fc6f50797eb697e09f0c8dd usr/lib/i386-linux-gnu/deepin-wine/libdxguid.a +7562938df4c4d45b5a2218c9e90f3407 usr/lib/i386-linux-gnu/deepin-wine/libfaultrep.def +410a0f409d843848d6ba2b427caf0160 usr/lib/i386-linux-gnu/deepin-wine/libgdi32.def +839380bce93a86bf1783c2f8efdeac9a usr/lib/i386-linux-gnu/deepin-wine/libgdiplus.def +8b5dd4864b9bc6236453a9c84017355a usr/lib/i386-linux-gnu/deepin-wine/libglu32.def +340227d72ed6ad28880708c1a25196bb usr/lib/i386-linux-gnu/deepin-wine/libhid.def +c4622d5f666bb1d5240ab83d89922029 usr/lib/i386-linux-gnu/deepin-wine/libhidclass.def +440ec5a82fe35da1459216632814b45c usr/lib/i386-linux-gnu/deepin-wine/libhlink.def +b3e0ffc461c36a704e589fdfca778793 usr/lib/i386-linux-gnu/deepin-wine/libhtmlhelp.def +51055c7bdcbc3cbcd04b17720226cc35 usr/lib/i386-linux-gnu/deepin-wine/libieframe.def +5656fa9a5ce63275b941fe960ef5d143 usr/lib/i386-linux-gnu/deepin-wine/libimagehlp.def +1c36587da544db8ad22ee194dc6175ac usr/lib/i386-linux-gnu/deepin-wine/libimm32.def +158238312a9c0a884d13344a45c3f75f usr/lib/i386-linux-gnu/deepin-wine/libinetcomm.def +14eef8b49bb2283dfee3d4b219d8bfc7 usr/lib/i386-linux-gnu/deepin-wine/libiphlpapi.def +8ea4bef5911610e7870ca7b3c48c533b usr/lib/i386-linux-gnu/deepin-wine/libjsproxy.def +f23812920068a8ccaa0cd82cb71f10d0 usr/lib/i386-linux-gnu/deepin-wine/libkernel.def +7ac91941bd8b88c9f8a77049da6ce2a7 usr/lib/i386-linux-gnu/deepin-wine/libkernel32.def +b06e887355c1683e02ba9942bd5b2635 usr/lib/i386-linux-gnu/deepin-wine/libloadperf.def +599b0cf60b33d93bb2f7fad8a62206e5 usr/lib/i386-linux-gnu/deepin-wine/liblz32.def +8032b2d68d8a0950c3c33d6e2c3a5208 usr/lib/i386-linux-gnu/deepin-wine/libmapi32.def +675d0bcd2a1507b16fdde22bb6a0ae81 usr/lib/i386-linux-gnu/deepin-wine/libmf.def +0746ba78b9dcf6e5bb7d06400ea2d35f usr/lib/i386-linux-gnu/deepin-wine/libmfplat.def +1b960ca7be2cead50f6473e05e34fc68 usr/lib/i386-linux-gnu/deepin-wine/libmfuuid.a +eb26b6b6fae09a04bf28f3d5c8c21760 usr/lib/i386-linux-gnu/deepin-wine/libmlang.def +deb1a3485728e3dcee2879dd7b93458f usr/lib/i386-linux-gnu/deepin-wine/libmpr.def +fa834c5f365d6cae7488cede62af143b usr/lib/i386-linux-gnu/deepin-wine/libmprapi.def +0d77849aa712d585f1f591a7c7397fae usr/lib/i386-linux-gnu/deepin-wine/libmsacm32.def +64604d5353616e3ff8973ec6e677acce usr/lib/i386-linux-gnu/deepin-wine/libmsasn1.def +2862890e7866bf0702465d5519613403 usr/lib/i386-linux-gnu/deepin-wine/libmscms.def +6bf8e050d34e62021e7eb3bc50ea0bfe usr/lib/i386-linux-gnu/deepin-wine/libmsdmo.def +6d1c8049a0a7ef59aa3717e50d0d39be usr/lib/i386-linux-gnu/deepin-wine/libmshtml.def +4da407c322098a29da179ed5e0a8c69a usr/lib/i386-linux-gnu/deepin-wine/libmsi.def +b5596e12125b60af629b56024550f17a usr/lib/i386-linux-gnu/deepin-wine/libmsimg32.def +958870210989cba1faab8098ec2464e7 usr/lib/i386-linux-gnu/deepin-wine/libmspatcha.def +220b4578bfa05be1385130eb1a8b35c9 usr/lib/i386-linux-gnu/deepin-wine/libmsvcr100.def +8ff52948b6b7d48323d6a0a25bd0c8cf usr/lib/i386-linux-gnu/deepin-wine/libmsvcr110.def +179274550612f464e7cb6d35093da2a3 usr/lib/i386-linux-gnu/deepin-wine/libmsvcr120.def +c349fc091b05ddda6549393ed9afc6db usr/lib/i386-linux-gnu/deepin-wine/libmsvcr70.def +f4c358134b4e3e6f5e377f6877c0a2c1 usr/lib/i386-linux-gnu/deepin-wine/libmsvcr71.def +c980e846df7b9d8159ad424e27cd3f88 usr/lib/i386-linux-gnu/deepin-wine/libmsvcr80.def +b6427a6e2a1e6f00426cf5de6478a47e usr/lib/i386-linux-gnu/deepin-wine/libmsvcr90.def +9a32ba414371d4d93de0c982741d5ce4 usr/lib/i386-linux-gnu/deepin-wine/libmsvcrt.def +36d50b11568778c288ca32240a19ed0a usr/lib/i386-linux-gnu/deepin-wine/libmsvcrtd.def +48f7a628016e71d94d6c6908291a398b usr/lib/i386-linux-gnu/deepin-wine/libmsvfw32.def +6c0668f8fe6ccb7602b0cbd511a4f6e4 usr/lib/i386-linux-gnu/deepin-wine/libmswsock.def +6961d73e317899641d984e5928bde863 usr/lib/i386-linux-gnu/deepin-wine/libnddeapi.def +af6019f798e47e93f0fbc329abd7dc16 usr/lib/i386-linux-gnu/deepin-wine/libnetapi32.def +bc4314fb665b493cdc0194e1517e91cc usr/lib/i386-linux-gnu/deepin-wine/libnewdev.def +cb77c13a1a93d196bc244218ee4ef3dc usr/lib/i386-linux-gnu/deepin-wine/libnormaliz.def +d6af06d238cb6c658e17b92d9b121cc6 usr/lib/i386-linux-gnu/deepin-wine/libntdll.def +d1bfcc10fc62022263e004cac4a77778 usr/lib/i386-linux-gnu/deepin-wine/libntdsapi.def +cb690b8f3610e6405c39de5a532646e8 usr/lib/i386-linux-gnu/deepin-wine/libntoskrnl.def +aec7e9a7079d8746849132cf388c7752 usr/lib/i386-linux-gnu/deepin-wine/libodbc32.def +ac10afe1fcfc8bbdf6eb981ecb0626af usr/lib/i386-linux-gnu/deepin-wine/libodbccp32.def +abd02aa9afed47bbc95d35e0f378f510 usr/lib/i386-linux-gnu/deepin-wine/libole32.def +4d8223d6169c9b2e5563aa7a0cb0cdc4 usr/lib/i386-linux-gnu/deepin-wine/liboleacc.def +6a64193fc3adc87f88241b36707339dd usr/lib/i386-linux-gnu/deepin-wine/liboleaut32.def +5b7b6dccea6c702ebd05e64d9d61db93 usr/lib/i386-linux-gnu/deepin-wine/libolecli32.def +86e17967bcfc8add4b3ef781ac232997 usr/lib/i386-linux-gnu/deepin-wine/liboledlg.def +0e86dff7a14ae0923217bd6e00d1c920 usr/lib/i386-linux-gnu/deepin-wine/libolepro32.def +372d91c41c220580226f1a51ffbd303f usr/lib/i386-linux-gnu/deepin-wine/libolesvr32.def +384b1c8e968f2fdb3e4203d55885dfc1 usr/lib/i386-linux-gnu/deepin-wine/libopengl32.def +3a1448c4cdff0856c86de028e2663d8f usr/lib/i386-linux-gnu/deepin-wine/libpdh.def +439043e8bec6be9faf5549f501337b63 usr/lib/i386-linux-gnu/deepin-wine/libpowrprof.def +041f75a3397a87a949cab0c2bd215533 usr/lib/i386-linux-gnu/deepin-wine/libpropsys.def +0e164e9c58e7f9fde884a37b4041b0a1 usr/lib/i386-linux-gnu/deepin-wine/libpsapi.def +b642b1c430677705574cf69d355529ed usr/lib/i386-linux-gnu/deepin-wine/libquartz.def +882537f04d2058756a7c1f35812d9ab3 usr/lib/i386-linux-gnu/deepin-wine/librasapi32.def +c88925b04be0259639c36051e6148220 usr/lib/i386-linux-gnu/deepin-wine/librasdlg.def +e30119940ad375bfd4eaea284f03b938 usr/lib/i386-linux-gnu/deepin-wine/libresutils.def +65c3d8bce11c555cca1533986029db81 usr/lib/i386-linux-gnu/deepin-wine/libriched20.def +8e84c9a86376719c8e5a6ee0acdaac25 usr/lib/i386-linux-gnu/deepin-wine/librpcrt4.def +0fb0a10b1c6c7f3b748d76b3f16fd066 usr/lib/i386-linux-gnu/deepin-wine/librsaenh.def +768a09f00d7ca55ffba7883b8294c72e usr/lib/i386-linux-gnu/deepin-wine/librtutils.def +b34496cb8e50d14b1efa29f06c2e805f usr/lib/i386-linux-gnu/deepin-wine/libsecur32.def +5785f9d2f69d77dfe33693bf37f19873 usr/lib/i386-linux-gnu/deepin-wine/libsensapi.def +4a2c411c6f25daad850ee51846318e79 usr/lib/i386-linux-gnu/deepin-wine/libsetupapi.def +45c5cab847b32478c1fe16b9d46c036f usr/lib/i386-linux-gnu/deepin-wine/libsfc.def +a2e20a06910bf6d23cfce2762c4063d0 usr/lib/i386-linux-gnu/deepin-wine/libsfc_os.def +fa283d2c941ae6b7f1bd0bbd40f1c30d usr/lib/i386-linux-gnu/deepin-wine/libshdocvw.def +da02168ba2cf8021e26664eea87667bf usr/lib/i386-linux-gnu/deepin-wine/libshell32.def +3e5ce33c5319843c543133ca6b28adff usr/lib/i386-linux-gnu/deepin-wine/libshfolder.def +f02c50712a59043d0b8e70c8514ed797 usr/lib/i386-linux-gnu/deepin-wine/libshlwapi.def +c7e95132a8d038e4e10c3d9bc64403be usr/lib/i386-linux-gnu/deepin-wine/libslc.def +a3bbaf03adf9d6100d6c3c1100253237 usr/lib/i386-linux-gnu/deepin-wine/libsnmpapi.def +25dd4423b02b51347a124003e10391a1 usr/lib/i386-linux-gnu/deepin-wine/libspoolss.def +72a56281c24eee25a7952baa68e71c36 usr/lib/i386-linux-gnu/deepin-wine/libsti.def +83b5bafc2c9cbce1d9df6c835bbe3009 usr/lib/i386-linux-gnu/deepin-wine/libstrmbase.a +502069ceb30910e09839a20abbab2e7b usr/lib/i386-linux-gnu/deepin-wine/libstrmiids.a +def028f91b14f0d40ca6bba20a789167 usr/lib/i386-linux-gnu/deepin-wine/libsxs.def +9f881e27297509ca3e3594c9dcd3af54 usr/lib/i386-linux-gnu/deepin-wine/libt2embed.def +47ade5b6f3378cf69bef1edebe392a11 usr/lib/i386-linux-gnu/deepin-wine/libtapi32.def +f1fc4427c6fcec7739427547b20c267b usr/lib/i386-linux-gnu/deepin-wine/libucrtbase.def +36cb7941c4ad103f47ff4f98a28d0a48 usr/lib/i386-linux-gnu/deepin-wine/libunicows.def +a14cfd6277f652b5d7b346756b84638d usr/lib/i386-linux-gnu/deepin-wine/liburl.def +6c8521ac77683383f48cbdbe80204cd9 usr/lib/i386-linux-gnu/deepin-wine/liburlmon.def +700dbe43fb9b28342cf9e29323a9598c usr/lib/i386-linux-gnu/deepin-wine/libusbd.def +f6b62b5f468bff2af55c52ee816c5774 usr/lib/i386-linux-gnu/deepin-wine/libuser32.def +bb87e788b9c62ed75435691f3f1871ac usr/lib/i386-linux-gnu/deepin-wine/libuserenv.def +60b46aa2303dffbd155dbd5c45210a8b usr/lib/i386-linux-gnu/deepin-wine/libusp10.def +28739c55bb464d6812126d3f6a815626 usr/lib/i386-linux-gnu/deepin-wine/libuuid.a +4239fdbdde7e6e30c2992557cf322c6d usr/lib/i386-linux-gnu/deepin-wine/libuxtheme.def +b7c6f931363e382e874e52da506015a4 usr/lib/i386-linux-gnu/deepin-wine/libvdmdbg.def +e41fdd6dc0f6aa3772786c515d9a6793 usr/lib/i386-linux-gnu/deepin-wine/libversion.def +c493cb670e4e4b3d9711ea34cab6c740 usr/lib/i386-linux-gnu/deepin-wine/libwebservices.def +78cd59dee4f0caa48146cd2ead99e53c usr/lib/i386-linux-gnu/deepin-wine/libwer.def +9d97c8fc7a24e5c2b184292e4f2812dd usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecs.def +59fad3bbf5f993b4ff053490f8db85ee usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecsext.def +180386c14e2e147a98a2b2d06ec3fe53 usr/lib/i386-linux-gnu/deepin-wine/libwinecrt0.a +7c6700f6f670f77a54244f4f17e6ec03 usr/lib/i386-linux-gnu/deepin-wine/libwined3d.def +c3b78eab955e19e1a9bbc64084df45ea usr/lib/i386-linux-gnu/deepin-wine/libwinhttp.def +ae6199cde6b96bdcae8f0a94de4efbe6 usr/lib/i386-linux-gnu/deepin-wine/libwininet.def +37d68e62b29e46b2f1079fefa1d0a42b usr/lib/i386-linux-gnu/deepin-wine/libwinmm.def +031d3a17defc8a8dfbb1cef12dcc190a usr/lib/i386-linux-gnu/deepin-wine/libwinnls32.def +c3a6e2e1193385a6b82bf31e7f414176 usr/lib/i386-linux-gnu/deepin-wine/libwinscard.def +c3cd94bc5003166097207898ef064ecc usr/lib/i386-linux-gnu/deepin-wine/libwinspool.def +00f6527d66ed94682208d4ae31faa2cf usr/lib/i386-linux-gnu/deepin-wine/libwintab32.def +3a2463d06c11ad6097f2b2679b13205a usr/lib/i386-linux-gnu/deepin-wine/libwintrust.def +47d7a34b89a39a336ebe6040c4ab2050 usr/lib/i386-linux-gnu/deepin-wine/libwlanapi.def +20848ed1c79093106de948ea01c2cf29 usr/lib/i386-linux-gnu/deepin-wine/libwldap32.def +152fcc74e9e00a9aa73efcf5937ffff5 usr/lib/i386-linux-gnu/deepin-wine/libwmvcore.def +2b2b1ddc57f479cc3d7f5b2bc34badeb usr/lib/i386-linux-gnu/deepin-wine/libwnaspi32.def +ec11e7a9abfdc35a3ea0bc917980e5d2 usr/lib/i386-linux-gnu/deepin-wine/libwow32.def +757de4a729282dca61ec840f15c041ae usr/lib/i386-linux-gnu/deepin-wine/libws2_32.def +90745d53bdb3671d64d0ab3116323158 usr/lib/i386-linux-gnu/deepin-wine/libwsdapi.def +c22b754349e88ec4d71c8a382161285c usr/lib/i386-linux-gnu/deepin-wine/libwsnmp32.def +23795b4255b737ad7f1c1ca5c938f378 usr/lib/i386-linux-gnu/deepin-wine/libwsock32.def +001711f978a50b001f00bd30adbad637 usr/lib/i386-linux-gnu/deepin-wine/libwtsapi32.def +ddfa92bc2e7add55170abbf0eebda78f usr/lib/i386-linux-gnu/deepin-wine/libxinput.def +34430f5c6a412d297aa90fb7e143d019 usr/lib/i386-linux-gnu/deepin-wine/libxmllite.def +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-libwine-dev/control +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-libwine-dev/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-libwine-dev/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-libwine-dev/copyright diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/debug.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/debug.h new file mode 100644 index 0000000..3c0006c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/debug.h @@ -0,0 +1,412 @@ +/* + * Wine debugging interface + * + * Copyright 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINE_DEBUG_H +#define __WINE_WINE_DEBUG_H + +#include +#include +#ifndef GUID_DEFINED +#include +#endif + +#ifdef __WINE_WINE_TEST_H +#error This file should not be used in Wine tests +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +struct _GUID; + +/* + * Internal definitions (do not use these directly) + */ + +enum __wine_debug_class +{ + __WINE_DBCL_FIXME, + __WINE_DBCL_ERR, + __WINE_DBCL_WARN, + __WINE_DBCL_TRACE, + + __WINE_DBCL_INIT = 7 /* lazy init flag */ +}; + +struct __wine_debug_channel +{ + unsigned char flags; + char name[15]; +}; + +#ifndef WINE_NO_TRACE_MSGS +# define __WINE_GET_DEBUGGING_TRACE(dbch) ((dbch)->flags & (1 << __WINE_DBCL_TRACE)) +#else +# define __WINE_GET_DEBUGGING_TRACE(dbch) 0 +#endif + +#ifndef WINE_NO_DEBUG_MSGS +# define __WINE_GET_DEBUGGING_WARN(dbch) ((dbch)->flags & (1 << __WINE_DBCL_WARN)) +# define __WINE_GET_DEBUGGING_FIXME(dbch) ((dbch)->flags & (1 << __WINE_DBCL_FIXME)) +#else +# define __WINE_GET_DEBUGGING_WARN(dbch) 0 +# define __WINE_GET_DEBUGGING_FIXME(dbch) 0 +#endif + +/* define error macro regardless of what is configured */ +#define __WINE_GET_DEBUGGING_ERR(dbch) ((dbch)->flags & (1 << __WINE_DBCL_ERR)) + +#define __WINE_GET_DEBUGGING(dbcl,dbch) __WINE_GET_DEBUGGING##dbcl(dbch) + +#define __WINE_IS_DEBUG_ON(dbcl,dbch) \ + (__WINE_GET_DEBUGGING##dbcl(dbch) && (__wine_dbg_get_channel_flags(dbch) & (1 << __WINE_DBCL##dbcl))) + +#ifdef __GNUC__ + +#define __WINE_DPRINTF(dbcl,dbch) \ + do { if(__WINE_GET_DEBUGGING(dbcl,(dbch))) { \ + struct __wine_debug_channel * const __dbch = (dbch); \ + const enum __wine_debug_class __dbcl = __WINE_DBCL##dbcl; \ + __WINE_DBG_LOG + +#define __WINE_DBG_LOG(args...) \ + wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0) + +#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args))) + + +#ifdef WINE_NO_TRACE_MSGS +#define WINE_TRACE(args...) do { } while(0) +#define WINE_TRACE_(ch) WINE_TRACE +#endif + +#ifdef WINE_NO_DEBUG_MSGS +#define WINE_WARN(args...) do { } while(0) +#define WINE_WARN_(ch) WINE_WARN +#define WINE_FIXME(args...) do { } while(0) +#define WINE_FIXME_(ch) WINE_FIXME +#endif + +#elif defined(__SUNPRO_C) + +#define __WINE_DPRINTF(dbcl,dbch) \ + do { if(__WINE_GET_DEBUGGING(dbcl,(dbch))) { \ + struct __wine_debug_channel * const __dbch = (dbch); \ + const enum __WINE_DEBUG_CLASS __dbcl = __WINE_DBCL##dbcl; \ + __WINE_DBG_LOG + +#define __WINE_DBG_LOG(...) \ + wine_dbg_log( __dbcl, __dbch, __func__, __VA_ARGS__); } } while(0) + +#define __WINE_PRINTF_ATTR(fmt,args) + +#ifdef WINE_NO_TRACE_MSGS +#define WINE_TRACE(...) do { } while(0) +#define WINE_TRACE_(ch) WINE_TRACE +#endif + +#ifdef WINE_NO_DEBUG_MSGS +#define WINE_WARN(...) do { } while(0) +#define WINE_WARN_(ch) WINE_WARN +#define WINE_FIXME(...) do { } while(0) +#define WINE_FIXME_(ch) WINE_FIXME +#endif + +#else /* !__GNUC__ && !__SUNPRO_C */ + +#define __WINE_DPRINTF(dbcl,dbch) \ + (!__WINE_GET_DEBUGGING(dbcl,(dbch)) || \ + (wine_dbg_log(__WINE_DBCL##dbcl,(dbch),__FILE__,"%d: ",__LINE__) == -1)) ? \ + (void)0 : (void)wine_dbg_printf + +#define __WINE_PRINTF_ATTR(fmt, args) + +#endif /* !__GNUC__ && !__SUNPRO_C */ + +struct __wine_debug_functions +{ + char * (*get_temp_buffer)( size_t n ); + void (*release_temp_buffer)( char *buffer, size_t n ); + const char * (*dbgstr_an)( const char * s, int n ); + const char * (*dbgstr_wn)( const WCHAR *s, int n ); + int (*dbg_vprintf)( const char *format, va_list args ); + int (*dbg_vlog)( enum __wine_debug_class cls, struct __wine_debug_channel *channel, + const char *function, const char *format, va_list args ); +}; + +extern unsigned char __wine_dbg_get_channel_flags( struct __wine_debug_channel *channel ); +extern int __wine_dbg_set_channel_flags( struct __wine_debug_channel *channel, + unsigned char set, unsigned char clear ); +extern void __wine_dbg_set_functions( const struct __wine_debug_functions *new_funcs, + struct __wine_debug_functions *old_funcs, size_t size ); + +/* + * Exported definitions and macros + */ + +/* These functions return a printable version of a string, including + quotes. The string will be valid for some time, but not indefinitely + as strings are re-used. */ +extern void wine_dbgstr_array (const void* buffer, int n); +extern const char *wine_dbgstr_an( const char * s, int n ); +extern const char *wine_dbgstr_wn( const WCHAR *s, int n ); +extern const char *wine_dbg_sprintf( const char *format, ... ) __WINE_PRINTF_ATTR(1,2); + +extern int wine_dbg_printf( const char *format, ... ) __WINE_PRINTF_ATTR(1,2); +extern int wine_dbg_log( enum __wine_debug_class cls, struct __wine_debug_channel *ch, const char *func, + const char *format, ... ) __WINE_PRINTF_ATTR(4,5); + +static inline const char *wine_dbgstr_a( const char *s ) +{ + return wine_dbgstr_an( s, -1 ); +} + +static inline const char *wine_dbgstr_w( const WCHAR *s ) +{ + return wine_dbgstr_wn( s, -1 ); +} + +static inline const char *wine_dbgstr_guid( const GUID *id ) +{ + if (!id) return "(null)"; + if (!((ULONG_PTR)id >> 16)) return wine_dbg_sprintf( "", (WORD)(ULONG_PTR)id ); + return wine_dbg_sprintf( "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", + id->Data1, id->Data2, id->Data3, + id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3], + id->Data4[4], id->Data4[5], id->Data4[6], id->Data4[7] ); +} + +static inline const char *wine_dbgstr_point( const POINT *pt ) +{ + if (!pt) return "(null)"; + return wine_dbg_sprintf( "(%d,%d)", pt->x, pt->y ); +} + +static inline const char *wine_dbgstr_rect( const RECT *rect ) +{ + if (!rect) return "(null)"; + return wine_dbg_sprintf( "(%d,%d)-(%d,%d)", rect->left, rect->top, + rect->right, rect->bottom ); +} + +static inline const char *wine_dbgstr_longlong( ULONGLONG ll ) +{ + if (sizeof(ll) > sizeof(unsigned long) && ll >> 32) + return wine_dbg_sprintf( "%lx%08lx", (unsigned long)(ll >> 32), (unsigned long)ll ); + else return wine_dbg_sprintf( "%lx", (unsigned long)ll ); +} + +#if defined(__oaidl_h__) && defined(V_VT) + +static inline const char *wine_dbgstr_vt( VARTYPE vt ) +{ + static const char *const variant_types[] = + { + "VT_EMPTY","VT_NULL","VT_I2","VT_I4","VT_R4","VT_R8","VT_CY","VT_DATE", + "VT_BSTR","VT_DISPATCH","VT_ERROR","VT_BOOL","VT_VARIANT","VT_UNKNOWN", + "VT_DECIMAL","15","VT_I1","VT_UI1","VT_UI2","VT_UI4","VT_I8","VT_UI8", + "VT_INT","VT_UINT","VT_VOID","VT_HRESULT","VT_PTR","VT_SAFEARRAY", + "VT_CARRAY","VT_USERDEFINED","VT_LPSTR","VT_LPWSTR","32","33","34","35", + "VT_RECORD","VT_INT_PTR","VT_UINT_PTR","39","40","41","42","43","44","45", + "46","47","48","49","50","51","52","53","54","55","56","57","58","59","60", + "61","62","63","VT_FILETIME","VT_BLOB","VT_STREAM","VT_STORAGE", + "VT_STREAMED_OBJECT","VT_STORED_OBJECT","VT_BLOB_OBJECT","VT_CF","VT_CLSID", + "VT_VERSIONED_STREAM" + }; + + static const char *const variant_flags[16] = + { + "", + "|VT_VECTOR", + "|VT_ARRAY", + "|VT_VECTOR|VT_ARRAY", + "|VT_BYREF", + "|VT_VECTOR|VT_BYREF", + "|VT_ARRAY|VT_BYREF", + "|VT_VECTOR|VT_ARRAY|VT_BYREF", + "|VT_RESERVED", + "|VT_VECTOR|VT_RESERVED", + "|VT_ARRAY|VT_RESERVED", + "|VT_VECTOR|VT_ARRAY|VT_RESERVED", + "|VT_BYREF|VT_RESERVED", + "|VT_VECTOR|VT_BYREF|VT_RESERVED", + "|VT_ARRAY|VT_BYREF|VT_RESERVED", + "|VT_VECTOR|VT_ARRAY|VT_BYREF|VT_RESERVED", + }; + + if (vt & ~VT_TYPEMASK) + return wine_dbg_sprintf( "%s%s", wine_dbgstr_vt(vt&VT_TYPEMASK), variant_flags[vt>>12] ); + + if (vt < sizeof(variant_types)/sizeof(*variant_types)) + return variant_types[vt]; + + if (vt == VT_BSTR_BLOB) + return "VT_BSTR_BLOB"; + + return wine_dbg_sprintf( "vt(invalid %x)", vt ); +} + +static inline const char *wine_dbgstr_variant( const VARIANT *v ) +{ + if (!v) + return "(null)"; + + if (V_VT(v) & VT_BYREF) { + if (V_VT(v) == (VT_VARIANT|VT_BYREF)) + return wine_dbg_sprintf( "%p {VT_VARIANT|VT_BYREF: %s}", v, wine_dbgstr_variant(V_VARIANTREF(v)) ); + if (V_VT(v) == (VT_BSTR|VT_BYREF)) + return wine_dbg_sprintf( "%p {VT_BSTR|VT_BYREF: %s}", v, V_BSTRREF(v) ? wine_dbgstr_w(*V_BSTRREF(v)) : "(none)" ); + return wine_dbg_sprintf( "%p {%s %p}", v, wine_dbgstr_vt(V_VT(v)), V_BYREF(v) ); + } + + if (V_ISARRAY(v) || V_ISVECTOR(v)) + return wine_dbg_sprintf( "%p {%s %p}", v, wine_dbgstr_vt(V_VT(v)), V_ARRAY(v) ); + + switch(V_VT(v)) { + case VT_EMPTY: + return wine_dbg_sprintf( "%p {VT_EMPTY}", v ); + case VT_NULL: + return wine_dbg_sprintf( "%p {VT_NULL}", v ); + case VT_I2: + return wine_dbg_sprintf( "%p {VT_I2: %d}", v, V_I2(v) ); + case VT_I4: + return wine_dbg_sprintf( "%p {VT_I4: %d}", v, V_I4(v) ); + case VT_R4: + return wine_dbg_sprintf( "%p {VT_R4: %f}", v, V_R4(v) ); + case VT_R8: + return wine_dbg_sprintf( "%p {VT_R8: %lf}", v, V_R8(v) ); + case VT_CY: + return wine_dbg_sprintf( "%p {VT_CY: %s}", v, wine_dbgstr_longlong(V_CY(v).int64) ); + case VT_DATE: + return wine_dbg_sprintf( "%p {VT_DATE: %lf}", v, V_DATE(v) ); + case VT_LPSTR: + return wine_dbg_sprintf( "%p {VT_LPSTR: %s}", v, wine_dbgstr_a((const char *)V_BSTR(v)) ); + case VT_LPWSTR: + return wine_dbg_sprintf( "%p {VT_LPWSTR: %s}", v, wine_dbgstr_w(V_BSTR(v)) ); + case VT_BSTR: + return wine_dbg_sprintf( "%p {VT_BSTR: %s}", v, wine_dbgstr_w(V_BSTR(v)) ); + case VT_DISPATCH: + return wine_dbg_sprintf( "%p {VT_DISPATCH: %p}", v, V_DISPATCH(v) ); + case VT_ERROR: + return wine_dbg_sprintf( "%p {VT_ERROR: %08x}", v, V_ERROR(v) ); + case VT_BOOL: + return wine_dbg_sprintf( "%p {VT_BOOL: %x}", v, V_BOOL(v) ); + case VT_UNKNOWN: + return wine_dbg_sprintf( "%p {VT_UNKNOWN: %p}", v, V_UNKNOWN(v) ); + case VT_I1: + return wine_dbg_sprintf( "%p {VT_I1: %d}", v, V_I1(v) ); + case VT_UI1: + return wine_dbg_sprintf( "%p {VT_UI1: %u}", v, V_UI1(v) ); + case VT_UI2: + return wine_dbg_sprintf( "%p {VT_UI2: %d}", v, V_UI2(v) ); + case VT_UI4: + return wine_dbg_sprintf( "%p {VT_UI4: %d}", v, V_UI4(v) ); + case VT_I8: + return wine_dbg_sprintf( "%p {VT_I8: %s}", v, wine_dbgstr_longlong(V_I8(v)) ); + case VT_UI8: + return wine_dbg_sprintf( "%p {VT_UI8: %s}", v, wine_dbgstr_longlong(V_UI8(v)) ); + case VT_INT: + return wine_dbg_sprintf( "%p {VT_INT: %d}", v, V_INT(v) ); + case VT_UINT: + return wine_dbg_sprintf( "%p {VT_UINT: %u}", v, V_UINT(v) ); + case VT_VOID: + return wine_dbg_sprintf( "%p {VT_VOID}", v ); + case VT_RECORD: + return wine_dbg_sprintf( "%p {VT_RECORD: %p %p}", v, V_RECORD(v), V_RECORDINFO(v) ); + default: + return wine_dbg_sprintf( "%p {vt %s}", v, wine_dbgstr_vt(V_VT(v)) ); + } +} + +#endif /* defined(__oaidl_h__) && defined(V_VT) */ + +#ifndef WINE_TRACE +#define WINE_TRACE __WINE_DPRINTF(_TRACE,__wine_dbch___default) +#define WINE_TRACE_(ch) __WINE_DPRINTF(_TRACE,&__wine_dbch_##ch) +#endif +#define WINE_TRACE_ON(ch) __WINE_IS_DEBUG_ON(_TRACE,&__wine_dbch_##ch) + +#ifndef WINE_WARN +#define WINE_WARN __WINE_DPRINTF(_WARN,__wine_dbch___default) +#define WINE_WARN_(ch) __WINE_DPRINTF(_WARN,&__wine_dbch_##ch) +#endif +#define WINE_WARN_ON(ch) __WINE_IS_DEBUG_ON(_WARN,&__wine_dbch_##ch) + +#ifndef WINE_FIXME +#define WINE_FIXME __WINE_DPRINTF(_FIXME,__wine_dbch___default) +#define WINE_FIXME_(ch) __WINE_DPRINTF(_FIXME,&__wine_dbch_##ch) +#endif +#define WINE_FIXME_ON(ch) __WINE_IS_DEBUG_ON(_FIXME,&__wine_dbch_##ch) + +#define WINE_ERR __WINE_DPRINTF(_ERR,__wine_dbch___default) +#define WINE_ERR_(ch) __WINE_DPRINTF(_ERR,&__wine_dbch_##ch) +#define WINE_ERR_ON(ch) __WINE_IS_DEBUG_ON(_ERR,&__wine_dbch_##ch) + +#define WINE_DECLARE_DEBUG_CHANNEL(ch) \ + static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch } +#define WINE_DEFAULT_DEBUG_CHANNEL(ch) \ + static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch }; \ + static struct __wine_debug_channel * const __wine_dbch___default = &__wine_dbch_##ch + +#define WINE_DPRINTF wine_dbg_printf +#define WINE_MESSAGE wine_dbg_printf + +#ifdef __WINESRC__ +/* Wine uses shorter names that are very likely to conflict with other software */ + +static inline const char *debugstr_an( const char * s, int n ) { return wine_dbgstr_an( s, n ); } +static inline const char *debugstr_wn( const WCHAR *s, int n ) { return wine_dbgstr_wn( s, n ); } +static inline const char *debugstr_guid( const struct _GUID *id ) { return wine_dbgstr_guid(id); } +static inline const char *debugstr_a( const char *s ) { return wine_dbgstr_an( s, -1 ); } +static inline const char *debugstr_w( const WCHAR *s ) { return wine_dbgstr_wn( s, -1 ); } + +#if defined(__oaidl_h__) && defined(V_VT) +static inline const char *debugstr_vt( VARTYPE vt ) { return wine_dbgstr_vt( vt ); } +static inline const char *debugstr_variant( const VARIANT *v ) { return wine_dbgstr_variant( v ); } +#endif + +#define TRACE WINE_TRACE +#define TRACE_(ch) WINE_TRACE_(ch) +#define TRACE_ON(ch) WINE_TRACE_ON(ch) + +#define WARN WINE_WARN +#define WARN_(ch) WINE_WARN_(ch) +#define WARN_ON(ch) WINE_WARN_ON(ch) + +#define FIXME WINE_FIXME +#define FIXME_(ch) WINE_FIXME_(ch) +#define FIXME_ON(ch) WINE_FIXME_ON(ch) + +#undef ERR /* Solaris got an 'ERR' define in */ +#define ERR WINE_ERR +#define ERR_(ch) WINE_ERR_(ch) +#define ERR_ON(ch) WINE_ERR_ON(ch) + +#define DPRINTF WINE_DPRINTF +#define MESSAGE WINE_MESSAGE + +#endif /* __WINESRC__ */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINE_DEBUG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/exception.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/exception.h new file mode 100644 index 0000000..5bc4d1c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/exception.h @@ -0,0 +1,315 @@ +/* + * Wine exception handling + * + * Copyright (c) 1999 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINE_EXCEPTION_H +#define __WINE_WINE_EXCEPTION_H + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* The following definitions allow using exceptions in Wine and Winelib code + * + * They should be used like this: + * + * __TRY + * { + * do some stuff that can raise an exception + * } + * __EXCEPT(filter_func) + * { + * handle the exception here + * } + * __ENDTRY + * + * or + * + * __TRY + * { + * do some stuff that can raise an exception + * } + * __FINALLY(finally_func) + * + * The filter_func and finally_func functions must be defined like this: + * + * LONG CALLBACK filter_func( PEXCEPTION_POINTERS __eptr ) { ... } + * + * void CALLBACK finally_func( BOOL __normal ) { ... } + * + * The filter function must return one of the EXCEPTION_* code; it can + * use GetExceptionInformation() and GetExceptionCode() to retrieve the + * exception info. + * + * Warning: inside a __TRY or __EXCEPT block, 'break' or 'continue' statements + * break out of the current block. You cannot use 'return', 'goto' + * or 'longjmp' to leave a __TRY block, as this will surely crash. + * You can use them to leave a __EXCEPT block though. + * + * -- AJ + */ + +#ifndef __GNUC__ +#define __attribute__(x) /* nothing */ +#endif + +/* Define this if you want to use your compiler built-in __try/__except support. + * This is only useful when compiling to a native Windows binary, as the built-in + * compiler exceptions will most certainly not work under Winelib. + */ +#ifdef USE_COMPILER_EXCEPTIONS + +#define __TRY __try +#define __EXCEPT(func) __except((func)(GetExceptionInformation())) +#define __EXCEPT_CTX(func, ctx) __except((func)(GetExceptionInformation(), ctx)) +#define __FINALLY(func) __finally { (func)(!AbnormalTermination()); } +#define __FINALLY_CTX(func, ctx) __finally { (func)(!AbnormalTermination(), ctx); } +#define __ENDTRY /*nothing*/ +#define __EXCEPT_PAGE_FAULT __except(GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION) +#define __EXCEPT_ALL __except(EXCEPTION_EXECUTE_HANDLER) + +#else /* USE_COMPILER_EXCEPTIONS */ + +#if defined(__MINGW32__) || defined(__CYGWIN__) +#define sigjmp_buf jmp_buf +#define sigsetjmp(buf,sigs) setjmp(buf) +#define siglongjmp(buf,val) longjmp(buf,val) +#endif + +extern void __wine_rtl_unwind( EXCEPTION_REGISTRATION_RECORD* frame, EXCEPTION_RECORD *record, + void (*target)(void) ) DECLSPEC_HIDDEN DECLSPEC_NORETURN; +extern DWORD __wine_exception_handler( EXCEPTION_RECORD *record, + EXCEPTION_REGISTRATION_RECORD *frame, + CONTEXT *context, + EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN; +extern DWORD __wine_exception_ctx_handler( EXCEPTION_RECORD *record, + EXCEPTION_REGISTRATION_RECORD *frame, + CONTEXT *context, + EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN; +extern DWORD __wine_exception_handler_page_fault( EXCEPTION_RECORD *record, + EXCEPTION_REGISTRATION_RECORD *frame, + CONTEXT *context, + EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN; +extern DWORD __wine_exception_handler_all( EXCEPTION_RECORD *record, + EXCEPTION_REGISTRATION_RECORD *frame, + CONTEXT *context, + EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN; +extern DWORD __wine_finally_handler( EXCEPTION_RECORD *record, + EXCEPTION_REGISTRATION_RECORD *frame, + CONTEXT *context, + EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN; +extern DWORD __wine_finally_ctx_handler( EXCEPTION_RECORD *record, + EXCEPTION_REGISTRATION_RECORD *frame, + CONTEXT *context, + EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN; + +#define __TRY \ + do { __WINE_FRAME __f; \ + int __first = 1; \ + for (;;) if (!__first) \ + { \ + do { + +#define __EXCEPT(func) \ + } while(0); \ + __wine_pop_frame( &__f.frame ); \ + break; \ + } else { \ + __f.frame.Handler = __wine_exception_handler; \ + __f.u.filter = (func); \ + if (sigsetjmp( __f.jmp, 0 )) { \ + const __WINE_FRAME * const __eptr __attribute__((unused)) = &__f; \ + do { + +#define __EXCEPT_CTX(func, context) \ + } while(0); \ + __wine_pop_frame( &__f.frame ); \ + break; \ + } else { \ + __f.frame.Handler = __wine_exception_ctx_handler; \ + __f.u.filter_ctx = (func); \ + __f.ctx = context; \ + if (sigsetjmp( __f.jmp, 0 )) { \ + const __WINE_FRAME * const __eptr __attribute__((unused)) = &__f; \ + do { + +/* convenience handler for page fault exceptions */ +#define __EXCEPT_PAGE_FAULT \ + } while(0); \ + __wine_pop_frame( &__f.frame ); \ + break; \ + } else { \ + __f.frame.Handler = __wine_exception_handler_page_fault; \ + if (sigsetjmp( __f.jmp, 0 )) { \ + const __WINE_FRAME * const __eptr __attribute__((unused)) = &__f; \ + do { + +/* convenience handler for all exception */ +#define __EXCEPT_ALL \ + } while(0); \ + __wine_pop_frame( &__f.frame ); \ + break; \ + } else { \ + __f.frame.Handler = __wine_exception_handler_all; \ + if (sigsetjmp( __f.jmp, 0 )) { \ + const __WINE_FRAME * const __eptr __attribute__((unused)) = &__f; \ + do { + +#define __ENDTRY \ + } while (0); \ + break; \ + } \ + __wine_push_frame( &__f.frame ); \ + __first = 0; \ + } \ + } while (0); + +#define __FINALLY(func) \ + } while(0); \ + __wine_pop_frame( &__f.frame ); \ + (func)(1); \ + break; \ + } else { \ + __f.frame.Handler = __wine_finally_handler; \ + __f.u.finally_func = (func); \ + __wine_push_frame( &__f.frame ); \ + __first = 0; \ + } \ + } while (0); + +#define __FINALLY_CTX(func, context) \ + } while(0); \ + __wine_pop_frame( &__f.frame ); \ + (func)(1, context); \ + break; \ + } else { \ + __f.frame.Handler = __wine_finally_ctx_handler; \ + __f.u.finally_func_ctx = (func); \ + __f.ctx = context; \ + __wine_push_frame( &__f.frame ); \ + __first = 0; \ + } \ + } while (0); + + +typedef LONG (CALLBACK *__WINE_FILTER)(PEXCEPTION_POINTERS); +typedef LONG (CALLBACK *__WINE_FILTER_CTX)(PEXCEPTION_POINTERS, void*); +typedef void (CALLBACK *__WINE_FINALLY)(BOOL); +typedef void (CALLBACK *__WINE_FINALLY_CTX)(BOOL, void*); + +#define GetExceptionInformation() (__eptr) +#define GetExceptionCode() (__eptr->ExceptionRecord->ExceptionCode) +#define AbnormalTermination() (!__normal) + +typedef struct __tagWINE_FRAME +{ + EXCEPTION_REGISTRATION_RECORD frame; + union + { + /* exception data */ + __WINE_FILTER filter; + __WINE_FILTER_CTX filter_ctx; + /* finally data */ + __WINE_FINALLY finally_func; + __WINE_FINALLY_CTX finally_func_ctx; + } u; + void *ctx; + sigjmp_buf jmp; + /* hack to make GetExceptionCode() work in handler */ + DWORD ExceptionCode; + const struct __tagWINE_FRAME *ExceptionRecord; +} __WINE_FRAME; + +#endif /* USE_COMPILER_EXCEPTIONS */ + +static inline EXCEPTION_REGISTRATION_RECORD *__wine_push_frame( EXCEPTION_REGISTRATION_RECORD *frame ) +{ +#if defined(__GNUC__) && defined(__i386__) + EXCEPTION_REGISTRATION_RECORD *prev; + __asm__ __volatile__(".byte 0x64\n\tmovl (0),%0" + "\n\tmovl %0,(%1)" + "\n\t.byte 0x64\n\tmovl %1,(0)" + : "=&r" (prev) : "r" (frame) : "memory" ); + return prev; +#else + NT_TIB *teb = (NT_TIB *)NtCurrentTeb(); + frame->Prev = teb->ExceptionList; + teb->ExceptionList = frame; + return frame->Prev; +#endif +} + +static inline EXCEPTION_REGISTRATION_RECORD *__wine_pop_frame( EXCEPTION_REGISTRATION_RECORD *frame ) +{ +#if defined(__GNUC__) && defined(__i386__) + __asm__ __volatile__(".byte 0x64\n\tmovl %0,(0)" + : : "r" (frame->Prev) : "memory" ); + return frame->Prev; + +#else + NT_TIB *teb = (NT_TIB *)NtCurrentTeb(); + teb->ExceptionList = frame->Prev; + return frame->Prev; +#endif +} + +static inline EXCEPTION_REGISTRATION_RECORD *__wine_get_frame(void) +{ +#if defined(__GNUC__) && defined(__i386__) + EXCEPTION_REGISTRATION_RECORD *ret; + __asm__ __volatile__(".byte 0x64\n\tmovl (0),%0" : "=r" (ret) ); + return ret; +#else + NT_TIB *teb = (NT_TIB *)NtCurrentTeb(); + return teb->ExceptionList; +#endif +} + +/* Exception handling flags - from OS/2 2.0 exception handling */ + +/* Win32 seems to use the same flags as ExceptionFlags in an EXCEPTION_RECORD */ +#define EH_NONCONTINUABLE 0x01 +#define EH_UNWINDING 0x02 +#define EH_EXIT_UNWIND 0x04 +#define EH_STACK_INVALID 0x08 +#define EH_NESTED_CALL 0x10 +#define EH_TARGET_UNWIND 0x20 +#define EH_COLLIDED_UNWIND 0x40 + +/* Wine-specific exceptions codes */ + +#define EXCEPTION_WINE_STUB 0x80000100 /* stub entry point called */ +#define EXCEPTION_WINE_ASSERTION 0x80000101 /* assertion failed */ + +/* unhandled return status from vm86 mode */ +#define EXCEPTION_VM86_INTx 0x80000110 +#define EXCEPTION_VM86_STI 0x80000111 +#define EXCEPTION_VM86_PICRETURN 0x80000112 + +extern void __wine_enter_vm86( CONTEXT *context ); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINE_EXCEPTION_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/itss.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/itss.h new file mode 100644 index 0000000..27f2f69 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/itss.h @@ -0,0 +1,278 @@ +/*** Autogenerated by WIDL 2.18 from wine/itss.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __itss_h__ +#define __itss_h__ + +/* Forward declarations */ + +#ifndef __IITStorage_FWD_DEFINED__ +#define __IITStorage_FWD_DEFINED__ +typedef interface IITStorage IITStorage; +#ifdef __cplusplus +interface IITStorage; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _ITS_Control_Data { + UINT cdwControlData; + UINT adwControlData[1]; +} ITS_Control_Data; +typedef struct _ITS_Control_Data *PITS_Control_Data; +typedef enum ECompactionLev { + COMPACT_DATA = 0, + COMPACT_DATA_AND_PATH = 1 +} ECompactionLev; +/***************************************************************************** + * IITStorage interface + */ +#ifndef __IITStorage_INTERFACE_DEFINED__ +#define __IITStorage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IITStorage, 0x88cc31de, 0x27ab, 0x11d0, 0x9d,0xf9, 0x00,0xa0,0xc9,0x22,0xe6,0xec); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("88cc31de-27ab-11d0-9df9-00a0c922e6ec") +IITStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StgCreateDocfile( + const WCHAR *pwcsName, + DWORD grfMode, + DWORD reserved, + IStorage **ppstgOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE StgCreateDocfileOnILockBytes( + ILockBytes *plkbyt, + DWORD grfMode, + DWORD reserved, + IStorage **ppstgOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE StgIsStorageFile( + const WCHAR *pwcsName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StgIsStorageILockBytes( + ILockBytes *plkbyt) = 0; + + virtual HRESULT STDMETHODCALLTYPE StgOpenStorage( + const WCHAR *pwcsName, + IStorage *pstgPriority, + DWORD grfMode, + SNB snbExclude, + DWORD reserved, + IStorage **ppstgOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE StgOpenStorageOnILockBytes( + ILockBytes *plkbyt, + IStorage *pStgPriority, + DWORD grfMode, + SNB snbExclude, + DWORD reserved, + IStorage **ppstgOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE StgSetTimes( + const WCHAR *lpszName, + const FILETIME *pctime, + const FILETIME *patime, + const FILETIME *pmtime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetControlData( + PITS_Control_Data pControlData) = 0; + + virtual HRESULT STDMETHODCALLTYPE DefaultControlData( + PITS_Control_Data *ppControlData) = 0; + + virtual HRESULT STDMETHODCALLTYPE Compact( + const WCHAR *pwcsName, + ECompactionLev iLev) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IITStorage, 0x88cc31de, 0x27ab, 0x11d0, 0x9d,0xf9, 0x00,0xa0,0xc9,0x22,0xe6,0xec) +#endif +#else +typedef struct IITStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IITStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IITStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IITStorage *This); + + /*** IITStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *StgCreateDocfile)( + IITStorage *This, + const WCHAR *pwcsName, + DWORD grfMode, + DWORD reserved, + IStorage **ppstgOpen); + + HRESULT (STDMETHODCALLTYPE *StgCreateDocfileOnILockBytes)( + IITStorage *This, + ILockBytes *plkbyt, + DWORD grfMode, + DWORD reserved, + IStorage **ppstgOpen); + + HRESULT (STDMETHODCALLTYPE *StgIsStorageFile)( + IITStorage *This, + const WCHAR *pwcsName); + + HRESULT (STDMETHODCALLTYPE *StgIsStorageILockBytes)( + IITStorage *This, + ILockBytes *plkbyt); + + HRESULT (STDMETHODCALLTYPE *StgOpenStorage)( + IITStorage *This, + const WCHAR *pwcsName, + IStorage *pstgPriority, + DWORD grfMode, + SNB snbExclude, + DWORD reserved, + IStorage **ppstgOpen); + + HRESULT (STDMETHODCALLTYPE *StgOpenStorageOnILockBytes)( + IITStorage *This, + ILockBytes *plkbyt, + IStorage *pStgPriority, + DWORD grfMode, + SNB snbExclude, + DWORD reserved, + IStorage **ppstgOpen); + + HRESULT (STDMETHODCALLTYPE *StgSetTimes)( + IITStorage *This, + const WCHAR *lpszName, + const FILETIME *pctime, + const FILETIME *patime, + const FILETIME *pmtime); + + HRESULT (STDMETHODCALLTYPE *SetControlData)( + IITStorage *This, + PITS_Control_Data pControlData); + + HRESULT (STDMETHODCALLTYPE *DefaultControlData)( + IITStorage *This, + PITS_Control_Data *ppControlData); + + HRESULT (STDMETHODCALLTYPE *Compact)( + IITStorage *This, + const WCHAR *pwcsName, + ECompactionLev iLev); + + END_INTERFACE +} IITStorageVtbl; + +interface IITStorage { + CONST_VTBL IITStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IITStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IITStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IITStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IITStorage methods ***/ +#define IITStorage_StgCreateDocfile(This,pwcsName,grfMode,reserved,ppstgOpen) (This)->lpVtbl->StgCreateDocfile(This,pwcsName,grfMode,reserved,ppstgOpen) +#define IITStorage_StgCreateDocfileOnILockBytes(This,plkbyt,grfMode,reserved,ppstgOpen) (This)->lpVtbl->StgCreateDocfileOnILockBytes(This,plkbyt,grfMode,reserved,ppstgOpen) +#define IITStorage_StgIsStorageFile(This,pwcsName) (This)->lpVtbl->StgIsStorageFile(This,pwcsName) +#define IITStorage_StgIsStorageILockBytes(This,plkbyt) (This)->lpVtbl->StgIsStorageILockBytes(This,plkbyt) +#define IITStorage_StgOpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstgOpen) (This)->lpVtbl->StgOpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstgOpen) +#define IITStorage_StgOpenStorageOnILockBytes(This,plkbyt,pStgPriority,grfMode,snbExclude,reserved,ppstgOpen) (This)->lpVtbl->StgOpenStorageOnILockBytes(This,plkbyt,pStgPriority,grfMode,snbExclude,reserved,ppstgOpen) +#define IITStorage_StgSetTimes(This,lpszName,pctime,patime,pmtime) (This)->lpVtbl->StgSetTimes(This,lpszName,pctime,patime,pmtime) +#define IITStorage_SetControlData(This,pControlData) (This)->lpVtbl->SetControlData(This,pControlData) +#define IITStorage_DefaultControlData(This,ppControlData) (This)->lpVtbl->DefaultControlData(This,ppControlData) +#define IITStorage_Compact(This,pwcsName,iLev) (This)->lpVtbl->Compact(This,pwcsName,iLev) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IITStorage_QueryInterface(IITStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IITStorage_AddRef(IITStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IITStorage_Release(IITStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IITStorage methods ***/ +static FORCEINLINE HRESULT IITStorage_StgCreateDocfile(IITStorage* This,const WCHAR *pwcsName,DWORD grfMode,DWORD reserved,IStorage **ppstgOpen) { + return This->lpVtbl->StgCreateDocfile(This,pwcsName,grfMode,reserved,ppstgOpen); +} +static FORCEINLINE HRESULT IITStorage_StgCreateDocfileOnILockBytes(IITStorage* This,ILockBytes *plkbyt,DWORD grfMode,DWORD reserved,IStorage **ppstgOpen) { + return This->lpVtbl->StgCreateDocfileOnILockBytes(This,plkbyt,grfMode,reserved,ppstgOpen); +} +static FORCEINLINE HRESULT IITStorage_StgIsStorageFile(IITStorage* This,const WCHAR *pwcsName) { + return This->lpVtbl->StgIsStorageFile(This,pwcsName); +} +static FORCEINLINE HRESULT IITStorage_StgIsStorageILockBytes(IITStorage* This,ILockBytes *plkbyt) { + return This->lpVtbl->StgIsStorageILockBytes(This,plkbyt); +} +static FORCEINLINE HRESULT IITStorage_StgOpenStorage(IITStorage* This,const WCHAR *pwcsName,IStorage *pstgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage **ppstgOpen) { + return This->lpVtbl->StgOpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstgOpen); +} +static FORCEINLINE HRESULT IITStorage_StgOpenStorageOnILockBytes(IITStorage* This,ILockBytes *plkbyt,IStorage *pStgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage **ppstgOpen) { + return This->lpVtbl->StgOpenStorageOnILockBytes(This,plkbyt,pStgPriority,grfMode,snbExclude,reserved,ppstgOpen); +} +static FORCEINLINE HRESULT IITStorage_StgSetTimes(IITStorage* This,const WCHAR *lpszName,const FILETIME *pctime,const FILETIME *patime,const FILETIME *pmtime) { + return This->lpVtbl->StgSetTimes(This,lpszName,pctime,patime,pmtime); +} +static FORCEINLINE HRESULT IITStorage_SetControlData(IITStorage* This,PITS_Control_Data pControlData) { + return This->lpVtbl->SetControlData(This,pControlData); +} +static FORCEINLINE HRESULT IITStorage_DefaultControlData(IITStorage* This,PITS_Control_Data *ppControlData) { + return This->lpVtbl->DefaultControlData(This,ppControlData); +} +static FORCEINLINE HRESULT IITStorage_Compact(IITStorage* This,const WCHAR *pwcsName,ECompactionLev iLev) { + return This->lpVtbl->Compact(This,pwcsName,iLev); +} +#endif +#endif + +#endif + + +#endif /* __IITStorage_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec); +DEFINE_GUID(CLSID_MSFSStore,0xd54eee56,0xaaab,0x11d0,0x9e,0x1d,0x00,0xa0,0xc9,0x22,0xe6,0xec); +DEFINE_GUID(CLSID_MSITStore,0x9d148290,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6); +DEFINE_GUID(CLSID_ITSProtocol,0x9d148291,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER SNB_UserSize (ULONG *, ULONG, SNB *); +unsigned char * __RPC_USER SNB_UserMarshal (ULONG *, unsigned char *, SNB *); +unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *); +void __RPC_USER SNB_UserFree (ULONG *, SNB *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __itss_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/itss.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/itss.idl new file mode 100644 index 0000000..9d09cb6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/itss.idl @@ -0,0 +1,95 @@ +/* + * Copyright (C) 2004 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +typedef struct _ITS_Control_Data +{ + UINT cdwControlData; + UINT adwControlData[1]; + +} ITS_Control_Data, *PITS_Control_Data; + +typedef enum ECompactionLev { + COMPACT_DATA = 0, + COMPACT_DATA_AND_PATH +} ECompactionLev; + +[ + object, + uuid(88cc31de-27ab-11d0-9df9-00a0c922e6ec), + pointer_default(unique) +] +interface IITStorage : IUnknown +{ + HRESULT StgCreateDocfile( + [in] const WCHAR * pwcsName, + [in] DWORD grfMode, + [in] DWORD reserved, + [out] IStorage ** ppstgOpen); + + HRESULT StgCreateDocfileOnILockBytes( + [in] ILockBytes * plkbyt, + [in] DWORD grfMode, + [in] DWORD reserved, + [out] IStorage ** ppstgOpen); + + + HRESULT StgIsStorageFile( + [in] const WCHAR * pwcsName); + + HRESULT StgIsStorageILockBytes( + [in] ILockBytes * plkbyt); + + HRESULT StgOpenStorage( + [in] const WCHAR * pwcsName, + [in] IStorage * pstgPriority, + [in] DWORD grfMode, + [in] SNB snbExclude, + [in] DWORD reserved, + [out] IStorage ** ppstgOpen); + + HRESULT StgOpenStorageOnILockBytes( + [in] ILockBytes * plkbyt, + [in] IStorage * pStgPriority, + [in] DWORD grfMode, + [in] SNB snbExclude, + [in] DWORD reserved, + [out] IStorage ** ppstgOpen); + + HRESULT StgSetTimes( + [in] WCHAR const * lpszName, + [in] FILETIME const * pctime, + [in] FILETIME const * patime, + [in] FILETIME const * pmtime); + + HRESULT SetControlData( + [in] PITS_Control_Data pControlData); + + HRESULT DefaultControlData( + [out] PITS_Control_Data * ppControlData); + + HRESULT Compact( + [in] const WCHAR * pwcsName, + [in] ECompactionLev iLev); +} + +cpp_quote("DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec);") +cpp_quote("DEFINE_GUID(CLSID_MSFSStore,0xd54eee56,0xaaab,0x11d0,0x9e,0x1d,0x00,0xa0,0xc9,0x22,0xe6,0xec);") +cpp_quote("DEFINE_GUID(CLSID_MSITStore,0x9d148290,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);") +cpp_quote("DEFINE_GUID(CLSID_ITSProtocol,0x9d148291,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/library.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/library.h new file mode 100644 index 0000000..242bb69 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/library.h @@ -0,0 +1,199 @@ +/* + * Definitions for the Wine library + * + * Copyright 2000 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINE_LIBRARY_H +#define __WINE_WINE_LIBRARY_H + +#include +#include + +#include +#include + +#ifdef __WINE_WINE_TEST_H +#error This file should not be used in Wine tests +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* configuration */ + +extern const char *wine_get_build_dir(void); +extern const char *wine_get_config_dir(void); +extern const char *wine_get_data_dir(void); +extern const char *wine_get_server_dir(void); +extern const char *wine_get_user_name(void); +extern const char *wine_get_version(void); +extern const char *wine_get_build_id(void); +extern void wine_init_argv0_path( const char *argv0 ); +extern void wine_exec_wine_binary( const char *name, char **argv, const char *env_var ); + +/* dll loading */ + +typedef void (*load_dll_callback_t)( void *, const char * ); + +extern void *wine_dlopen( const char *filename, int flag, char *error, size_t errorsize ); +extern void *wine_dlsym( void *handle, const char *symbol, char *error, size_t errorsize ); +extern int wine_dlclose( void *handle, char *error, size_t errorsize ); +extern void wine_dll_set_callback( load_dll_callback_t load ); +extern void *wine_dll_load( const char *filename, char *error, int errorsize, int *file_exists ); +extern void *wine_dll_load_main_exe( const char *name, char *error, int errorsize, + int test_only, int *file_exists ); +extern void wine_dll_unload( void *handle ); +extern const char *wine_dll_enum_load_path( unsigned int index ); +extern int wine_dll_get_owner( const char *name, char *buffer, int size, int *file_exists ); + +extern int __wine_main_argc; +extern char **__wine_main_argv; +extern WCHAR **__wine_main_wargv; +extern void __wine_dll_register( const IMAGE_NT_HEADERS *header, const char *filename ); +extern void wine_init( int argc, char *argv[], char *error, int error_size ); + +/* portability */ + +extern void DECLSPEC_NORETURN wine_switch_to_stack( void (*func)(void *), void *arg, void *stack ); +extern int wine_call_on_stack( int (*func)(void *), void *arg, void *stack ); + +/* memory mappings */ + +extern void *wine_anon_mmap( void *start, size_t size, int prot, int flags ); +extern void wine_mmap_add_reserved_area( void *addr, size_t size ); +extern void wine_mmap_remove_reserved_area( void *addr, size_t size, int unmap ); +extern int wine_mmap_is_in_reserved_area( void *addr, size_t size ); +extern int wine_mmap_enum_reserved_areas( int (*enum_func)(void *base, size_t size, void *arg), + void *arg, int top_down ); + +#ifdef __i386__ + +/* LDT management */ + +extern void wine_ldt_init_locking( void (*lock_func)(void), void (*unlock_func)(void) ); +extern void wine_ldt_get_entry( unsigned short sel, LDT_ENTRY *entry ); +extern int wine_ldt_set_entry( unsigned short sel, const LDT_ENTRY *entry ); +extern int wine_ldt_is_system( unsigned short sel ); +extern void *wine_ldt_get_ptr( unsigned short sel, unsigned long offset ); +extern unsigned short wine_ldt_alloc_entries( int count ); +extern unsigned short wine_ldt_realloc_entries( unsigned short sel, int oldcount, int newcount ); +extern void wine_ldt_free_entries( unsigned short sel, int count ); +extern unsigned short wine_ldt_alloc_fs(void); +extern void wine_ldt_init_fs( unsigned short sel, const LDT_ENTRY *entry ); +extern void wine_ldt_free_fs( unsigned short sel ); + +/* the local copy of the LDT */ +extern struct __wine_ldt_copy +{ + void *base[8192]; /* base address or 0 if entry is free */ + unsigned long limit[8192]; /* limit in bytes or 0 if entry is free */ + unsigned char flags[8192]; /* flags (defined below) */ +} wine_ldt_copy; + +#define WINE_LDT_FLAGS_DATA 0x13 /* Data segment */ +#define WINE_LDT_FLAGS_STACK 0x17 /* Stack segment */ +#define WINE_LDT_FLAGS_CODE 0x1b /* Code segment */ +#define WINE_LDT_FLAGS_TYPE_MASK 0x1f /* Mask for segment type */ +#define WINE_LDT_FLAGS_32BIT 0x40 /* Segment is 32-bit (code or stack) */ +#define WINE_LDT_FLAGS_ALLOCATED 0x80 /* Segment is allocated (no longer free) */ + +/* helper functions to manipulate the LDT_ENTRY structure */ +static inline void wine_ldt_set_base( LDT_ENTRY *ent, const void *base ) +{ + ent->BaseLow = (WORD)(ULONG_PTR)base; + ent->HighWord.Bits.BaseMid = (BYTE)((ULONG_PTR)base >> 16); + ent->HighWord.Bits.BaseHi = (BYTE)((ULONG_PTR)base >> 24); +} +static inline void wine_ldt_set_limit( LDT_ENTRY *ent, unsigned int limit ) +{ + if ((ent->HighWord.Bits.Granularity = (limit >= 0x100000))) limit >>= 12; + ent->LimitLow = (WORD)limit; + ent->HighWord.Bits.LimitHi = (limit >> 16); +} +static inline void *wine_ldt_get_base( const LDT_ENTRY *ent ) +{ + return (void *)(ent->BaseLow | + (ULONG_PTR)ent->HighWord.Bits.BaseMid << 16 | + (ULONG_PTR)ent->HighWord.Bits.BaseHi << 24); +} +static inline unsigned int wine_ldt_get_limit( const LDT_ENTRY *ent ) +{ + unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16); + if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff; + return limit; +} +static inline void wine_ldt_set_flags( LDT_ENTRY *ent, unsigned char flags ) +{ + ent->HighWord.Bits.Dpl = 3; + ent->HighWord.Bits.Pres = 1; + ent->HighWord.Bits.Type = flags; + ent->HighWord.Bits.Sys = 0; + ent->HighWord.Bits.Reserved_0 = 0; + ent->HighWord.Bits.Default_Big = (flags & WINE_LDT_FLAGS_32BIT) != 0; +} +static inline unsigned char wine_ldt_get_flags( const LDT_ENTRY *ent ) +{ + unsigned char ret = ent->HighWord.Bits.Type; + if (ent->HighWord.Bits.Default_Big) ret |= WINE_LDT_FLAGS_32BIT; + return ret; +} +static inline int wine_ldt_is_empty( const LDT_ENTRY *ent ) +{ + const DWORD *dw = (const DWORD *)ent; + return (dw[0] | dw[1]) == 0; +} + +/* segment register access */ + +# if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) +# define __DEFINE_GET_SEG(seg) \ + static FORCEINLINE unsigned short wine_get_##seg(void) \ + { unsigned short res; __asm__ __volatile__("movw %%" #seg ",%w0" : "=r"(res)); return res; } +# define __DEFINE_SET_SEG(seg) \ + static FORCEINLINE void wine_set_##seg(int val) \ + { __asm__("movw %w0,%%" #seg : : "r" (val)); } +# elif defined(_MSC_VER) +# define __DEFINE_GET_SEG(seg) \ + static inline unsigned short wine_get_##seg(void) \ + { unsigned short res; __asm { mov res, seg } return res; } +# define __DEFINE_SET_SEG(seg) \ + static inline void wine_set_##seg(unsigned short val) { __asm { mov seg, val } } +# else /* __GNUC__ || _MSC_VER */ +# define __DEFINE_GET_SEG(seg) extern unsigned short wine_get_##seg(void); +# define __DEFINE_SET_SEG(seg) extern void wine_set_##seg(unsigned int); +# endif /* __GNUC__ || _MSC_VER */ + +__DEFINE_GET_SEG(cs) +__DEFINE_GET_SEG(ds) +__DEFINE_GET_SEG(es) +__DEFINE_GET_SEG(fs) +__DEFINE_GET_SEG(gs) +__DEFINE_GET_SEG(ss) +__DEFINE_SET_SEG(fs) +__DEFINE_SET_SEG(gs) +#undef __DEFINE_GET_SEG +#undef __DEFINE_SET_SEG + +#endif /* __i386__ */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINE_LIBRARY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/assert.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/assert.h new file mode 100644 index 0000000..c9cb164 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/assert.h @@ -0,0 +1,37 @@ +/* + * Assert support + * + * Copyright 2011 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#undef assert +#ifdef NDEBUG +#define assert(_expr) ((void)0) +#else +extern void __cdecl _assert(const char *, const char *, unsigned int); +#define assert(_expr) (void)((!!(_expr)) || (_assert(#_expr, __FILE__, __LINE__), 0)) +#endif + +#ifdef __cplusplus +} +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/conio.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/conio.h new file mode 100644 index 0000000..18f3d24 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/conio.h @@ -0,0 +1,63 @@ +/* + * Console I/O definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_CONIO_H +#define __WINE_CONIO_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +char* __cdecl _cgets(char*); +int __cdecl _cprintf(const char*,...); +int __cdecl _cputs(const char*); +int __cdecl _cscanf(const char*,...); +int __cdecl _getch(void); +int __cdecl _getche(void); +int __cdecl _kbhit(void); +int __cdecl _putch(int); +int __cdecl _ungetch(int); + +#ifdef _M_IX86 +int __cdecl _inp(unsigned short); +__msvcrt_ulong __cdecl _inpd(unsigned short); +unsigned short __cdecl _inpw(unsigned short); +int __cdecl _outp(unsigned short, int); +__msvcrt_ulong __cdecl _outpd(unsigned short, __msvcrt_ulong); +unsigned short __cdecl _outpw(unsigned short, unsigned short); +#endif + +#ifdef __cplusplus +} +#endif + + +static inline char* cgets(char* str) { return _cgets(str); } +static inline int cputs(const char* str) { return _cputs(str); } +static inline int getch(void) { return _getch(); } +static inline int getche(void) { return _getche(); } +static inline int kbhit(void) { return _kbhit(); } +static inline int putch(int c) { return _putch(c); } +static inline int ungetch(int c) { return _ungetch(c); } +#ifdef _M_IX86 +static inline int inp(unsigned short i) { return _inp(i); } +static inline unsigned short inpw(unsigned short i) { return _inpw(i); } +static inline int outp(unsigned short i, int j) { return _outp(i, j); } +static inline unsigned short outpw(unsigned short i, unsigned short j) { return _outpw(i, j); } +#endif + +#if defined(__GNUC__) && (__GNUC__ < 4) +extern int __cdecl cprintf(const char*,...) __attribute__((alias("_cprintf"),format(printf,1,2))); +extern int __cdecl cscanf(const char*,...) __attribute__((alias("_cscanf"),format(scanf,1,2))); +#else +#define cprintf _cprintf +#define cscanf _cscanf +#endif /* __GNUC__ */ + +#endif /* __WINE_CONIO_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/crtdbg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/crtdbg.h new file mode 100644 index 0000000..cc85995 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/crtdbg.h @@ -0,0 +1,130 @@ +/* + * Debug API + * + * Copyright 2001 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_CRTDBG_H_ +#define __WINE_CRTDBG_H_ + +#include + +/* The debug API is not implemented in Winelib. + * Redirect everything to the regular APIs. + */ + +#define _CRT_WARN 0 +#define _CRT_ERROR 1 +#define _CRT_ASSERT 2 +#define _CRT_ERRCNT 3 + +#define _FREE_BLOCK 0 +#define _NORMAL_BLOCK 1 +#define _CRT_BLOCK 2 +#define _IGNORE_BLOCK 3 +#define _CLIENT_BLOCK 4 +#define _MAX_BLOCKS 5 + +#define _BLOCK_TYPE(block) (block & 0xFFFF) +#define _BLOCK_SUBTYPE(block) (block >> 16 & 0xFFFF) + +typedef struct _CrtMemState +{ + struct _CrtMemBlockHeader* pBlockHeader; + __msvcrt_ulong lCounts[_MAX_BLOCKS]; + __msvcrt_ulong lSizes[_MAX_BLOCKS]; + __msvcrt_ulong lHighWaterCount; + __msvcrt_ulong lTotalCount; +} _CrtMemState; + + +#ifndef _DEBUG + +#define _ASSERT(expr) ((void)0) +#define _ASSERTE(expr) ((void)0) +#define _CrtDbgBreak() ((void)0) + +#define _CrtCheckMemory() ((int)1) +#define _CrtDbgReport(...) ((int)0) +#define _CrtDumpMemoryLeaks() ((int)0) +#define _CrtSetBreakAlloc(a) ((__msvcrt_long)0) +#define _CrtSetDbgFlag(f) ((int)0) +#define _CrtSetDumpClient(f) ((void)0) +#define _CrtSetReportMode(t,m) ((int)0) + +#else /* _DEBUG */ + +#include +#define _ASSERT(expr) assert(expr) +#define _ASSERTE(expr) assert(expr) +#if defined(__GNUC__) && defined(__i386__) +#define _CrtDbgBreak() __asm__ ("\tint $0x3\n") +#else +#define _CrtDbgBreak() ((void)0) +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +extern int _crtAssertBusy; +extern int _crtBreakAlloc; +extern int _crtDbgFlag; + +int __cdecl _CrtCheckMemory(void); +int __cdecl _CrtDbgReport(int reportType, const char *filename, int linenumber, + const char *moduleName, const char *format, ...); +int __cdecl _CrtDumpMemoryLeaks(void); +int __cdecl _CrtSetBreakAlloc(int); +int __cdecl _CrtSetDbgFlag(int); +void *__cdecl _CrtSetDumpClient(void *dumpClient); +int __cdecl _CrtSetReportMode(int reportType, int reportMode); + +#ifdef __cplusplus +} +#endif + +#endif /* _DEBUG */ + +#define _CrtDoForAllClientObjects(f,c) ((void)0) +#define _CrtIsMemoryBlock(p,s,r,f,l) ((int)1) +#define _CrtIsValidHeapPointer(p) ((int)1) +#define _CrtIsValidPointer(p,s,a) ((int)1) +#define _CrtMemCheckpoint(s) ((void)0) +#define _CrtMemDifference(s1,s2,s3) ((int)0) +#define _CrtMemDumpAllObjectsSince(s) ((void)0) +#define _CrtMemDumpStatistics(s) ((void)0) +#define _CrtSetAllocHook(f) ((void)0) + +#define _RPT0(t,m) +#define _RPT1(t,m,p1) +#define _RPT2(t,m,p1,p2) +#define _RPT3(t,m,p1,p2,p3) +#define _RPT4(t,m,p1,p2,p3,p4) +#define _RPTF0(t,m) +#define _RPTF1(t,m,p1) +#define _RPTF2(t,m,p1,p2) +#define _RPTF3(t,m,p1,p2,p3) +#define _RPTF4(t,m,p1,p2,p3,p4) + + +#define _malloc_dbg(s,t,f,l) malloc(s) +#define _calloc_dbg(c,s,t,f,l) calloc(c,s) +#define _expand_dbg(p,s,t,f,l) _expand(p,s) +#define _free_dbg(p,t) free(p) +#define _realloc_dbg(p,s,t,f,l) realloc(p,s) + +#endif /* __WINE_CRTDBG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/crtdefs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/crtdefs.h new file mode 100644 index 0000000..8aed64c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/crtdefs.h @@ -0,0 +1,253 @@ +/* + * CRT definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_CRTDEFS_H +#define __WINE_CRTDEFS_H + +#ifndef __WINE_USE_MSVCRT +#define __WINE_USE_MSVCRT +#endif + +#ifdef __WINE_WINE_PORT_H +# error You cannot use both wine/port.h and msvcrt headers +#endif + +#if (defined(__x86_64__) || defined(__powerpc64__) || defined(__aarch64__)) && !defined(_WIN64) +#define _WIN64 +#endif + +#if !defined(_MSC_VER) && !defined(__int64) +# if defined(_WIN64) && !defined(__MINGW64__) +# define __int64 long +# else +# define __int64 long long +# endif +#endif + +#ifndef __stdcall +# ifdef __i386__ +# ifdef __GNUC__ +# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__) +# define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__)) +# else +# define __stdcall __attribute__((__stdcall__)) +# endif +# elif defined(_MSC_VER) + /* Nothing needs to be done. __stdcall already exists */ +# else +# error You need to define __stdcall for your compiler +# endif +# elif defined(__x86_64__) && defined (__GNUC__) +# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) +# define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) +# else +# define __stdcall __attribute__((ms_abi)) +# endif +# else /* __i386__ */ +# define __stdcall +# endif /* __i386__ */ +#endif /* __stdcall */ + +#ifndef __cdecl +# if defined(__i386__) && defined(__GNUC__) +# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__) +# define __cdecl __attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__)) +# else +# define __cdecl __attribute__((__cdecl__)) +# endif +# elif defined(__x86_64__) && defined (__GNUC__) +# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) +# define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) +# else +# define __cdecl __attribute__((ms_abi)) +# endif +# elif !defined(_MSC_VER) +# define __cdecl +# endif +#endif /* __cdecl */ + +#ifndef __ms_va_list +# if defined(__x86_64__) && defined (__GNUC__) +# define __ms_va_list __builtin_ms_va_list +# define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg) +# define __ms_va_end(list) __builtin_ms_va_end(list) +# define __ms_va_copy(dest,src) __builtin_ms_va_copy(dest,src) +# else +# define __ms_va_list va_list +# define __ms_va_start(list,arg) va_start(list,arg) +# define __ms_va_end(list) va_end(list) +# ifdef va_copy +# define __ms_va_copy(dest,src) va_copy(dest,src) +# else +# define __ms_va_copy(dest,src) ((dest) = (src)) +# endif +# endif +#endif + +#ifndef DECLSPEC_ALIGN +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) +# define DECLSPEC_ALIGN(x) __declspec(align(x)) +# elif defined(__GNUC__) +# define DECLSPEC_ALIGN(x) __attribute__((aligned(x))) +# else +# define DECLSPEC_ALIGN(x) +# endif +#endif + +#define _ARGMAX 100 + +#ifndef _MSVCRT_LONG_DEFINED +#define _MSVCRT_LONG_DEFINED +/* we need 32-bit longs even on 64-bit */ +typedef int __msvcrt_long; +typedef unsigned int __msvcrt_ulong; +#endif + +#ifndef _INTPTR_T_DEFINED +#ifdef _WIN64 +typedef __int64 intptr_t; +#else +typedef int intptr_t; +#endif +#define _INTPTR_T_DEFINED +#endif + +#ifndef _UINTPTR_T_DEFINED +#ifdef _WIN64 +typedef unsigned __int64 uintptr_t; +#else +typedef unsigned int uintptr_t; +#endif +#define _UINTPTR_T_DEFINED +#endif + +#ifndef _PTRDIFF_T_DEFINED +#ifdef _WIN64 +typedef __int64 ptrdiff_t; +#else +typedef int ptrdiff_t; +#endif +#define _PTRDIFF_T_DEFINED +#endif + +#ifndef _SIZE_T_DEFINED +#ifdef _WIN64 +typedef unsigned __int64 size_t; +#else +typedef unsigned int size_t; +#endif +#define _SIZE_T_DEFINED +#endif + +#ifndef _TIME32_T_DEFINED +typedef __msvcrt_long __time32_t; +#define _TIME32_T_DEFINED +#endif + +#ifndef _TIME64_T_DEFINED +typedef __int64 DECLSPEC_ALIGN(8) __time64_t; +#define _TIME64_T_DEFINED +#endif + +#ifdef _USE_32BIT_TIME_T +# ifdef _WIN64 +# error You cannot use 32-bit time_t in Win64 +# endif +#elif !defined(_WIN64) +# define _USE_32BIT_TIME_T +#endif + +#ifndef _TIME_T_DEFINED +#ifdef _USE_32BIT_TIME_T +typedef __time32_t time_t; +#else +typedef __time64_t time_t; +#endif +#define _TIME_T_DEFINED +#endif + +#ifndef _WCHAR_T_DEFINED +#ifndef __cplusplus +typedef unsigned short wchar_t; +#endif +#define _WCHAR_T_DEFINED +#endif + +#ifndef _WCTYPE_T_DEFINED +typedef unsigned short wint_t; +typedef unsigned short wctype_t; +#define _WCTYPE_T_DEFINED +#endif + +#ifndef _ERRNO_T_DEFINED +typedef int errno_t; +#define _ERRNO_T_DEFINED +#endif + +struct threadlocaleinfostruct; +struct threadmbcinfostruct; +typedef struct threadlocaleinfostruct *pthreadlocinfo; +typedef struct threadmbcinfostruct *pthreadmbcinfo; + +typedef struct localeinfo_struct +{ + pthreadlocinfo locinfo; + pthreadmbcinfo mbcinfo; +} _locale_tstruct, *_locale_t; + +#ifndef _TAGLC_ID_DEFINED +typedef struct tagLC_ID { + unsigned short wLanguage; + unsigned short wCountry; + unsigned short wCodePage; +} LC_ID, *LPLC_ID; +#define _TAGLC_ID_DEFINED +#endif + +#ifndef _THREADLOCALEINFO +typedef struct threadlocaleinfostruct { + int refcount; + unsigned int lc_codepage; + unsigned int lc_collate_cp; + __msvcrt_ulong lc_handle[6]; + LC_ID lc_id[6]; + struct { + char *locale; + wchar_t *wlocale; + int *refcount; + int *wrefcount; + } lc_category[6]; + int lc_clike; + int mb_cur_max; + int *lconv_intl_refcount; + int *lconv_num_refcount; + int *lconv_mon_refcount; + struct lconv *lconv; + int *ctype1_refcount; + unsigned short *ctype1; + const unsigned short *pctype; + const unsigned char *pclmap; + const unsigned char *pcumap; + struct __lc_time_data *lc_time_curr; +} threadlocinfo; +#define _THREADLOCALEINFO +#endif + +#endif /* __WINE_CRTDEFS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/ctype.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/ctype.h new file mode 100644 index 0000000..b44e74c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/ctype.h @@ -0,0 +1,85 @@ +/* + * Character type definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_CTYPE_H +#define __WINE_CTYPE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef WEOF +#define WEOF (wint_t)(0xFFFF) +#endif + +/* ASCII char classification table - binary compatible */ +#define _UPPER 0x0001 /* C1_UPPER */ +#define _LOWER 0x0002 /* C1_LOWER */ +#define _DIGIT 0x0004 /* C1_DIGIT */ +#define _SPACE 0x0008 /* C1_SPACE */ +#define _PUNCT 0x0010 /* C1_PUNCT */ +#define _CONTROL 0x0020 /* C1_CNTRL */ +#define _BLANK 0x0040 /* C1_BLANK */ +#define _HEX 0x0080 /* C1_XDIGIT */ +#define _LEADBYTE 0x8000 +#define _ALPHA (0x0100|_UPPER|_LOWER) /* (C1_ALPHA|_UPPER|_LOWER) */ + +int __cdecl __isascii(int); +int __cdecl __iscsym(int); +int __cdecl __iscsymf(int); +int __cdecl __toascii(int); +int __cdecl _isctype(int,int); +int __cdecl _tolower(int); +int __cdecl _toupper(int); +int __cdecl isalnum(int); +int __cdecl isalpha(int); +int __cdecl iscntrl(int); +int __cdecl isdigit(int); +int __cdecl isgraph(int); +int __cdecl islower(int); +int __cdecl isprint(int); +int __cdecl ispunct(int); +int __cdecl isspace(int); +int __cdecl isupper(int); +int __cdecl isxdigit(int); +int __cdecl tolower(int); +int __cdecl toupper(int); + +#ifndef _WCTYPE_DEFINED +#define _WCTYPE_DEFINED +int __cdecl is_wctype(wint_t,wctype_t); +int __cdecl isleadbyte(int); +int __cdecl iswalnum(wint_t); +int __cdecl iswalpha(wint_t); +int __cdecl iswascii(wint_t); +int __cdecl iswcntrl(wint_t); +int __cdecl iswctype(wint_t,wctype_t); +int __cdecl iswdigit(wint_t); +int __cdecl iswgraph(wint_t); +int __cdecl iswlower(wint_t); +int __cdecl iswprint(wint_t); +int __cdecl iswpunct(wint_t); +int __cdecl iswspace(wint_t); +int __cdecl iswupper(wint_t); +int __cdecl iswxdigit(wint_t); +wchar_t __cdecl towlower(wchar_t); +wchar_t __cdecl towupper(wchar_t); +#endif /* _WCTYPE_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +static inline int isascii(int c) { return __isascii(c); } +static inline int iscsym(int c) { return __iscsym(c); } +static inline int iscsymf(int c) { return __iscsymf(c); } +static inline int toascii(int c) { return __toascii(c); } + +#endif /* __WINE_CTYPE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/direct.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/direct.h new file mode 100644 index 0000000..45db8e2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/direct.h @@ -0,0 +1,59 @@ +/* + * Path and directory definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_DIRECT_H +#define __WINE_DIRECT_H + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _DISKFREE_T_DEFINED +#define _DISKFREE_T_DEFINED +struct _diskfree_t { + unsigned int total_clusters; + unsigned int avail_clusters; + unsigned int sectors_per_cluster; + unsigned int bytes_per_sector; +}; +#endif /* _DISKFREE_T_DEFINED */ + +int __cdecl _chdir(const char*); +int __cdecl _chdrive(int); +char* __cdecl _getcwd(char*,int); +char* __cdecl _getdcwd(int,char*,int); +int __cdecl _getdrive(void); +__msvcrt_ulong __cdecl _getdrives(void); +int __cdecl _mkdir(const char*); +int __cdecl _rmdir(const char*); + +#ifndef _WDIRECT_DEFINED +#define _WDIRECT_DEFINED +int __cdecl _wchdir(const wchar_t*); +wchar_t* __cdecl _wgetcwd(wchar_t*,int); +wchar_t* __cdecl _wgetdcwd(int,wchar_t*,int); +int __cdecl _wmkdir(const wchar_t*); +int __cdecl _wrmdir(const wchar_t*); +#endif /* _WDIRECT_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +static inline int chdir(const char* newdir) { return _chdir(newdir); } +static inline char* getcwd(char * buf, int size) { return _getcwd(buf, size); } +static inline int mkdir(const char* newdir) { return _mkdir(newdir); } +static inline int rmdir(const char* dir) { return _rmdir(dir); } + +#include + +#endif /* __WINE_DIRECT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/dirent.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/dirent.h new file mode 100644 index 0000000..5e04280 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/dirent.h @@ -0,0 +1 @@ +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/dos.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/dos.h new file mode 100644 index 0000000..bc62188 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/dos.h @@ -0,0 +1,50 @@ +/* + * DOS definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_DOS_H +#define __WINE_DOS_H + +#include + +#include + +/* The following are also defined in io.h */ +#define _A_NORMAL 0x00000000 +#define _A_RDONLY 0x00000001 +#define _A_HIDDEN 0x00000002 +#define _A_SYSTEM 0x00000004 +#define _A_VOLID 0x00000008 +#define _A_SUBDIR 0x00000010 +#define _A_ARCH 0x00000020 + +#ifndef _DISKFREE_T_DEFINED +#define _DISKFREE_T_DEFINED +struct _diskfree_t { + unsigned int total_clusters; + unsigned int avail_clusters; + unsigned int sectors_per_cluster; + unsigned int bytes_per_sector; +}; +#endif /* _DISKFREE_T_DEFINED */ + + +#ifdef __cplusplus +extern "C" { +#endif + +unsigned int __cdecl _getdiskfree(unsigned int, struct _diskfree_t *); + +#ifdef __cplusplus +} +#endif + + +#define diskfree_t _diskfree_t + +#include + +#endif /* __WINE_DOS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/eh.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/eh.h new file mode 100644 index 0000000..932972f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/eh.h @@ -0,0 +1,48 @@ +/* + * C++ exception handling facility + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_EH_H +#define __WINE_EH_H + +#include + +#if !defined(__cplusplus) && !defined(__WINE_MSVCRT_TEST) +#error "eh.h is meant only for C++ applications" +#endif + +#include + +struct _EXCEPTION_POINTERS; + +typedef void (__cdecl *terminate_handler)(void); +typedef void (__cdecl *terminate_function)(void); +typedef void (__cdecl *unexpected_handler)(void); +typedef void (__cdecl *unexpected_function)(void); +typedef void (__cdecl *_se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info); + +terminate_function __cdecl set_terminate(terminate_function func); +unexpected_function __cdecl set_unexpected(unexpected_function func); +_se_translator_function __cdecl set_se_translator(_se_translator_function func); + +void __cdecl terminate(void); +void __cdecl unexpected(void); + +#include + +#endif /* __WINE_EH_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/errno.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/errno.h new file mode 100644 index 0000000..dddc013 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/errno.h @@ -0,0 +1,78 @@ +/* + * Copyright 2001 Jon Griffiths + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ERRNO_H +#define __WINE_ERRNO_H + +#include + +# define EPERM 1 +# define ENOENT 2 +# define ESRCH 3 +# define EINTR 4 +# define EIO 5 +# define ENXIO 6 +# define E2BIG 7 +# define ENOEXEC 8 +# define EBADF 9 +# define ECHILD 10 +# define EAGAIN 11 +# define ENOMEM 12 +# define EACCES 13 +# define EFAULT 14 +# define EBUSY 16 +# define EEXIST 17 +# define EXDEV 18 +# define ENODEV 19 +# define ENOTDIR 20 +# define EISDIR 21 +# define EINVAL 22 +# define ENFILE 23 +# define EMFILE 24 +# define ENOTTY 25 +# define EFBIG 27 +# define ENOSPC 28 +# define ESPIPE 29 +# define EROFS 30 +# define EMLINK 31 +# define EPIPE 32 +# define EDOM 33 +# define ERANGE 34 +# define EDEADLK 36 +# define EDEADLOCK EDEADLK +# define ENAMETOOLONG 38 +# define ENOLCK 39 +# define ENOSYS 40 +# define ENOTEMPTY 41 +# define EILSEQ 42 + +# define STRUNCATE 80 + +#ifdef __cplusplus +extern "C" { +#endif + +extern int* __cdecl _errno(void); + +#ifdef __cplusplus +} +#endif + +#define errno (*_errno()) + +#endif /* __WINE_ERRNO_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/fcntl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/fcntl.h new file mode 100644 index 0000000..267feed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/fcntl.h @@ -0,0 +1,50 @@ +/* + * File definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_FCNTL_H +#define __WINE_FCNTL_H + +#include + +#define _O_RDONLY 0 +#define _O_WRONLY 1 +#define _O_RDWR 2 +#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR) +#define _O_APPEND 0x0008 +#define _O_RANDOM 0x0010 +#define _O_SEQUENTIAL 0x0020 +#define _O_TEMPORARY 0x0040 +#define _O_NOINHERIT 0x0080 +#define _O_CREAT 0x0100 +#define _O_TRUNC 0x0200 +#define _O_EXCL 0x0400 +#define _O_SHORT_LIVED 0x1000 +#define _O_TEXT 0x4000 +#define _O_BINARY 0x8000 +#define _O_RAW _O_BINARY + +#define _O_WTEXT 0x10000 +#define _O_U16TEXT 0x20000 +#define _O_U8TEXT 0x40000 + +#define O_RDONLY _O_RDONLY +#define O_WRONLY _O_WRONLY +#define O_RDWR _O_RDWR +#define O_ACCMODE _O_ACCMODE +#define O_APPEND _O_APPEND +#define O_RANDOM _O_RANDOM +#define O_SEQENTIAL _O_SEQUENTIAL +#define O_TEMPORARY _O_TEMPORARY +#define O_NOINHERIT _O_NOINHERIT +#define O_CREAT _O_CREAT +#define O_TRUNC _O_TRUNC +#define O_EXCL _O_EXCL +#define O_TEXT _O_TEXT +#define O_BINARY _O_BINARY +#define O_RAW _O_BINARY + +#endif /* __WINE_FCNTL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/float.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/float.h new file mode 100644 index 0000000..33ebb68 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/float.h @@ -0,0 +1,158 @@ +/* + * Floating point arithmetic. + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Hans Leidekker. + * This file is in the public domain. + */ + +#ifndef __WINE_FLOAT_H +#define __WINE_FLOAT_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define DBL_DIG 15 +#define DBL_EPSILON 2.2204460492503131e-016 +#define DBL_MANT_DIG 53 +#define DBL_MAX 1.7976931348623158e+308 +#define DBL_MAX_10_EXP 308 +#define DBL_MAX_EXP 1024 +#define DBL_MIN 2.2250738585072014e-308 +#define DBL_MIN_10_EXP (-307) +#define DBL_MIN_EXP (-1021) + +#define _DBL_RADIX 2 +#define _DBL_ROUNDS 1 + +#define DBL_RADIX _DBL_RADIX +#define DBL_ROUNDS _DBL_ROUNDS + +#define FLT_DIG 6 +#define FLT_EPSILON 1.192092896e-07F +#define FLT_MANT_DIG 24 +#define FLT_MAX 3.402823466e+38F +#define FLT_MAX_10_EXP 38 +#define FLT_MAX_EXP 128 +#define FLT_MIN 1.175494351e-38F +#define FLT_MIN_10_EXP (-37) +#define FLT_MIN_EXP (-125) + +#define FLT_RADIX 2 +#define FLT_ROUNDS 1 + +#define LDBL_DIG DBL_DIG +#define LDBL_EPSILON DBL_EPSILON +#define LDBL_MANT_DIG DBL_MANT_DIG +#define LDBL_MAX DBL_MAX +#define LDBL_MAX_10_EXP DBL_MAX_10_EXP +#define LDBL_MAX_EXP DBL_MAX_EXP +#define LDBL_MIN DBL_MIN +#define LDBL_MIN_10_EXP DBL_MIN_10_EXP +#define LDBL_MIN_EXP DBL_MIN_EXP + +#define _LDBL_RADIX _DBL_RADIX +#define _LDBL_ROUNDS _DBL_ROUNDS + +#define LDBL_RADIX _LDBL_RADIX +#define LDBL_ROUNDS _LDBL_ROUNDS + +/* Control word masks for unMask */ +#define _MCW_EM 0x0008001f +#define _MCW_IC 0x00040000 +#define _MCW_RC 0x00000300 +#define _MCW_PC 0x00030000 +#define _MCW_DN 0x03000000 + +/* Control word values for unNew (use with related unMask above) */ +#define _EM_INVALID 0x00000010 +#define _EM_DENORMAL 0x00080000 +#define _EM_ZERODIVIDE 0x00000008 +#define _EM_OVERFLOW 0x00000004 +#define _EM_UNDERFLOW 0x00000002 +#define _EM_INEXACT 0x00000001 +#define _IC_AFFINE 0x00040000 +#define _IC_PROJECTIVE 0x00000000 +#define _RC_CHOP 0x00000300 +#define _RC_UP 0x00000200 +#define _RC_DOWN 0x00000100 +#define _RC_NEAR 0x00000000 +#define _PC_24 0x00020000 +#define _PC_53 0x00010000 +#define _PC_64 0x00000000 +#define _DN_SAVE 0x00000000 +#define _DN_FLUSH 0x01000000 +#define _DN_FLUSH_OPERANDS_SAVE_RESULTS 0x02000000 +#define _DN_SAVE_OPERANDS_FLUSH_RESULTS 0x03000000 +#define _EM_AMBIGUOUS 0x80000000 + +/* _statusfp bit flags */ +#define _SW_INEXACT 0x00000001 /* inexact (precision) */ +#define _SW_UNDERFLOW 0x00000002 /* underflow */ +#define _SW_OVERFLOW 0x00000004 /* overflow */ +#define _SW_ZERODIVIDE 0x00000008 /* zero divide */ +#define _SW_INVALID 0x00000010 /* invalid */ + +#define _SW_UNEMULATED 0x00000040 /* unemulated instruction */ +#define _SW_SQRTNEG 0x00000080 /* square root of a neg number */ +#define _SW_STACKOVERFLOW 0x00000200 /* FP stack overflow */ +#define _SW_STACKUNDERFLOW 0x00000400 /* FP stack underflow */ + +#define _SW_DENORMAL 0x00080000 /* denormal status bit */ + +/* fpclass constants */ +#define _FPCLASS_SNAN 0x0001 /* Signaling "Not a Number" */ +#define _FPCLASS_QNAN 0x0002 /* Quiet "Not a Number" */ +#define _FPCLASS_NINF 0x0004 /* Negative Infinity */ +#define _FPCLASS_NN 0x0008 /* Negative Normal */ +#define _FPCLASS_ND 0x0010 /* Negative Denormal */ +#define _FPCLASS_NZ 0x0020 /* Negative Zero */ +#define _FPCLASS_PZ 0x0040 /* Positive Zero */ +#define _FPCLASS_PD 0x0080 /* Positive Denormal */ +#define _FPCLASS_PN 0x0100 /* Positive Normal */ +#define _FPCLASS_PINF 0x0200 /* Positive Infinity */ + +/* floating point error signals */ +#define _FPE_INVALID 0x81 +#define _FPE_DENORMAL 0x82 +#define _FPE_ZERODIVIDE 0x83 +#define _FPE_OVERFLOW 0x84 +#define _FPE_UNDERFLOW 0x85 +#define _FPE_INEXACT 0x86 +#define _FPE_UNEMULATED 0x87 +#define _FPE_SQRTNEG 0x88 +#define _FPE_STACKOVERFLOW 0x8a +#define _FPE_STACKUNDERFLOW 0x8b +#define _FPE_EXPLICITGEN 0x8c + +#if defined(__i386__) +#define _CW_DEFAULT (_RC_NEAR + _PC_53 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL) +#elif defined(__x86_64__) +#define _CW_DEFAULT (_RC_NEAR + _PC_64 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL) +#endif + +unsigned int __cdecl _control87(unsigned int, unsigned int); +unsigned int __cdecl _controlfp(unsigned int, unsigned int); +errno_t __cdecl _controlfp_s(unsigned int *, unsigned int, unsigned int); + +double __cdecl _copysign (double, double); +double __cdecl _chgsign (double); +double __cdecl _scalb(double, __msvcrt_long); +double __cdecl _logb(double); +double __cdecl _nextafter(double, double); +int __cdecl _finite(double); +int __cdecl _isnan(double); +int __cdecl _fpclass(double); + +#ifdef __x86_64__ +float __cdecl _scalbf(float, __msvcrt_long); +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_FLOAT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/fpieee.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/fpieee.h new file mode 100644 index 0000000..67f6d11 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/fpieee.h @@ -0,0 +1,239 @@ +/** + * Derived from mingw-w64 header. + * This file is in the public domain. + */ +#ifndef __WINE_FPIEEE_H +#define __WINE_FPIEEE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + _FpCompareEqual, + _FpCompareGreater, + _FpCompareLess, + _FpCompareUnordered +} _FPIEEE_COMPARE_RESULT; + +typedef enum { + _FpFormatFp32, + _FpFormatFp64, + _FpFormatFp80, + _FpFormatFp128, + _FpFormatI16, + _FpFormatI32, + _FpFormatI64, + _FpFormatU16, + _FpFormatU32, + _FpFormatU64, + _FpFormatBcd80, + _FpFormatCompare, + _FpFormatString, +} _FPIEEE_FORMAT; + +typedef enum { + _FpCodeUnspecified, + _FpCodeAdd, + _FpCodeSubtract, + _FpCodeMultiply, + _FpCodeDivide, + _FpCodeSquareRoot, + _FpCodeRemainder, + _FpCodeCompare, + _FpCodeConvert, + _FpCodeRound, + _FpCodeTruncate, + _FpCodeFloor, + _FpCodeCeil, + _FpCodeAcos, + _FpCodeAsin, + _FpCodeAtan, + _FpCodeAtan2, + _FpCodeCabs, + _FpCodeCos, + _FpCodeCosh, + _FpCodeExp, + _FpCodeFabs, + _FpCodeFmod, + _FpCodeFrexp, + _FpCodeHypot, + _FpCodeLdexp, + _FpCodeLog, + _FpCodeLog10, + _FpCodeModf, + _FpCodePow, + _FpCodeSin, + _FpCodeSinh, + _FpCodeTan, + _FpCodeTanh, + _FpCodeY0, + _FpCodeY1, + _FpCodeYn, + _FpCodeLogb, + _FpCodeNextafter, + _FpCodeNegate, + _FpCodeFmin, + _FpCodeFmax, + _FpCodeConvertTrunc, + _XMMIAddps, + _XMMIAddss, + _XMMISubps, + _XMMISubss, + _XMMIMulps, + _XMMIMulss, + _XMMIDivps, + _XMMIDivss, + _XMMISqrtps, + _XMMISqrtss, + _XMMIMaxps, + _XMMIMaxss, + _XMMIMinps, + _XMMIMinss, + _XMMICmpps, + _XMMICmpss, + _XMMIComiss, + _XMMIUComiss, + _XMMICvtpi2ps, + _XMMICvtsi2ss, + _XMMICvtps2pi, + _XMMICvtss2si, + _XMMICvttps2pi, + _XMMICvttss2si, + _XMMIAddsubps, + _XMMIHaddps, + _XMMIHsubps, + _XMMI2Addpd, + _XMMI2Addsd, + _XMMI2Subpd, + _XMMI2Subsd, + _XMMI2Mulpd, + _XMMI2Mulsd, + _XMMI2Divpd, + _XMMI2Divsd, + _XMMI2Sqrtpd, + _XMMI2Sqrtsd, + _XMMI2Maxpd, + _XMMI2Maxsd, + _XMMI2Minpd, + _XMMI2Minsd, + _XMMI2Cmppd, + _XMMI2Cmpsd, + _XMMI2Comisd, + _XMMI2UComisd, + _XMMI2Cvtpd2pi, + _XMMI2Cvtsd2si, + _XMMI2Cvttpd2pi, + _XMMI2Cvttsd2si, + _XMMI2Cvtps2pd, + _XMMI2Cvtss2sd, + _XMMI2Cvtpd2ps, + _XMMI2Cvtsd2ss, + _XMMI2Cvtdq2ps, + _XMMI2Cvttps2dq, + _XMMI2Cvtps2dq, + _XMMI2Cvttpd2dq, + _XMMI2Cvtpd2dq, + _XMMI2Addsubpd, + _XMMI2Haddpd, + _XMMI2Hsubpd, +} _FP_OPERATION_CODE; + +typedef enum { + _FpRoundNearest, + _FpRoundMinusInfinity, + _FpRoundPlusInfinity, + _FpRoundChopped +} _FPIEEE_ROUNDING_MODE; + +typedef enum { + _FpPrecisionFull, + _FpPrecision53, + _FpPrecision24, +} _FPIEEE_PRECISION; + +typedef float _FP32; +typedef double _FP64; +typedef short _I16; +typedef int _I32; +typedef unsigned short _U16; +typedef unsigned int _U32; +typedef __int64 _Q64; + +typedef struct { + unsigned short W[5]; +} _FP80; + +typedef struct DECLSPEC_ALIGN(16) { + __msvcrt_ulong W[4]; +} _FP128; + +typedef struct DECLSPEC_ALIGN(8) { + __msvcrt_ulong W[2]; +} _I64; + +typedef struct DECLSPEC_ALIGN(8) { + __msvcrt_ulong W[2]; +} _U64; + +typedef struct { + unsigned short W[5]; +} _BCD80; + +typedef struct DECLSPEC_ALIGN(16) { + _Q64 W[2]; +} _FPQ64; + +typedef struct { + union { + _FP32 Fp32Value; + _FP64 Fp64Value; + _FP80 Fp80Value; + _FP128 Fp128Value; + _I16 I16Value; + _I32 I32Value; + _I64 I64Value; + _U16 U16Value; + _U32 U32Value; + _U64 U64Value; + _BCD80 Bcd80Value; + char *StringValue; + int CompareValue; + _Q64 Q64Value; + _FPQ64 Fpq64Value; + } Value; + unsigned int OperandValid : 1; + unsigned int Format : 4; +} _FPIEEE_VALUE; + +typedef struct { + unsigned int Inexact : 1; + unsigned int Underflow : 1; + unsigned int Overflow : 1; + unsigned int ZeroDivide : 1; + unsigned int InvalidOperation : 1; +} _FPIEEE_EXCEPTION_FLAGS; + +typedef struct { + unsigned int RoundingMode : 2; + unsigned int Precision : 3; + unsigned int Operation :12; + _FPIEEE_EXCEPTION_FLAGS Cause; + _FPIEEE_EXCEPTION_FLAGS Enable; + _FPIEEE_EXCEPTION_FLAGS Status; + _FPIEEE_VALUE Operand1; + _FPIEEE_VALUE Operand2; + _FPIEEE_VALUE Result; +} _FPIEEE_RECORD,*_PFPIEEE_RECORD; + +struct _EXCEPTION_POINTERS; + +int __cdecl _fpieee_flt(__msvcrt_ulong _ExceptionCode,struct _EXCEPTION_POINTERS *_PtExceptionPtr,int (__cdecl *_Handler)(_FPIEEE_RECORD *)); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/io.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/io.h new file mode 100644 index 0000000..b227b20 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/io.h @@ -0,0 +1,185 @@ +/* + * System I/O definitions. + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_IO_H +#define __WINE_IO_H + +#include + +#include + +/* The following are also defined in dos.h */ +#define _A_NORMAL 0x00000000 +#define _A_RDONLY 0x00000001 +#define _A_HIDDEN 0x00000002 +#define _A_SYSTEM 0x00000004 +#define _A_VOLID 0x00000008 +#define _A_SUBDIR 0x00000010 +#define _A_ARCH 0x00000020 + +#ifndef _FSIZE_T_DEFINED +typedef __msvcrt_ulong _fsize_t; +#define _FSIZE_T_DEFINED +#endif + +#ifndef _FINDDATA_T_DEFINED +#define _FINDDATA_T_DEFINED +struct _finddata_t +{ + unsigned attrib; + time_t time_create; + time_t time_access; + time_t time_write; + _fsize_t size; + char name[260]; +}; + +struct _finddatai64_t +{ + unsigned attrib; + time_t time_create; + time_t time_access; + time_t time_write; + __int64 DECLSPEC_ALIGN(8) size; + char name[260]; +}; + +struct _finddata64_t +{ + unsigned attrib; + __time64_t time_create; + __time64_t time_access; + __time64_t time_write; + __int64 DECLSPEC_ALIGN(8) size; + char name[260]; +}; +#endif /* _FINDDATA_T_DEFINED */ + +#ifndef _WFINDDATA_T_DEFINED +#define _WFINDDATA_T_DEFINED +struct _wfinddata_t { + unsigned attrib; + time_t time_create; + time_t time_access; + time_t time_write; + _fsize_t size; + wchar_t name[260]; +}; + +struct _wfinddatai64_t { + unsigned attrib; + time_t time_create; + time_t time_access; + time_t time_write; + __int64 DECLSPEC_ALIGN(8) size; + wchar_t name[260]; +}; +#endif /* _WFINDDATA_T_DEFINED */ + +#ifdef __cplusplus +extern "C" { +#endif + +int __cdecl _access(const char*,int); +int __cdecl _chmod(const char*,int); +int __cdecl _chsize(int,__msvcrt_ulong); +int __cdecl _chsize_s(int,__int64); +int __cdecl _close(int); +int __cdecl _commit(int); +int __cdecl _creat(const char*,int); +int __cdecl _dup(int); +int __cdecl _dup2(int,int); +int __cdecl _eof(int); +__int64 __cdecl _filelengthi64(int); +__msvcrt_long __cdecl _filelength(int); +int __cdecl _findclose(intptr_t); +intptr_t __cdecl _findfirst(const char*,struct _finddata_t*); +intptr_t __cdecl _findfirsti64(const char*, struct _finddatai64_t*); +intptr_t __cdecl _findfirst64(const char*, struct _finddata64_t*); +int __cdecl _findnext(intptr_t,struct _finddata_t*); +int __cdecl _findnexti64(intptr_t, struct _finddatai64_t*); +int __cdecl _findnext64(intptr_t, struct _finddata64_t*); +intptr_t __cdecl _get_osfhandle(int); +int __cdecl _isatty(int); +int __cdecl _locking(int,int,__msvcrt_long); +__msvcrt_long __cdecl _lseek(int,__msvcrt_long,int); +__int64 __cdecl _lseeki64(int,__int64,int); +char* __cdecl _mktemp(char*); +int __cdecl _mktemp_s(char*,size_t); +int __cdecl _open(const char*,int,...); +int __cdecl _open_osfhandle(intptr_t,int); +int __cdecl _pipe(int*,unsigned int,int); +int __cdecl _read(int,void*,unsigned int); +int __cdecl _setmode(int,int); +int __cdecl _sopen(const char*,int,int,...); +__msvcrt_long __cdecl _tell(int); +__int64 __cdecl _telli64(int); +int __cdecl _umask(int); +int __cdecl _unlink(const char*); +int __cdecl _write(int,const void*,unsigned int); + +int __cdecl remove(const char*); +int __cdecl rename(const char*,const char*); + +#ifndef _WIO_DEFINED +#define _WIO_DEFINED +int __cdecl _waccess(const wchar_t*,int); +int __cdecl _wchmod(const wchar_t*,int); +int __cdecl _wcreat(const wchar_t*,int); +intptr_t __cdecl _wfindfirst(const wchar_t*,struct _wfinddata_t*); +intptr_t __cdecl _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*); +int __cdecl _wfindnext(intptr_t,struct _wfinddata_t*); +int __cdecl _wfindnexti64(intptr_t, struct _wfinddatai64_t*); +wchar_t * __cdecl _wmktemp(wchar_t*); +int __cdecl _wopen(const wchar_t*,int,...); +int __cdecl _wrename(const wchar_t*,const wchar_t*); +int __cdecl _wsopen(const wchar_t*,int,int,...); +int __cdecl _wunlink(const wchar_t*); +#endif /* _WIO_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +static inline int access(const char* path, int mode) { return _access(path, mode); } +static inline int chmod(const char* path, int mode) { return _chmod(path, mode); } +static inline int chsize(int fd, __msvcrt_long size) { return _chsize(fd, size); } +static inline int close(int fd) { return _close(fd); } +static inline int creat(const char* path, int mode) { return _creat(path, mode); } +static inline int dup(int od) { return _dup(od); } +static inline int dup2(int od, int nd) { return _dup2(od, nd); } +static inline int eof(int fd) { return _eof(fd); } +static inline __msvcrt_long filelength(int fd) { return _filelength(fd); } +static inline int isatty(int fd) { return _isatty(fd); } +static inline int locking(int fd, int mode, __msvcrt_long size) { return _locking(fd, mode, size); } +static inline __msvcrt_long lseek(int fd, __msvcrt_long off, int where) { return _lseek(fd, off, where); } +static inline char* mktemp(char* pat) { return _mktemp(pat); } +static inline int read(int fd, void* buf, unsigned int size) { return _read(fd, buf, size); } +static inline int setmode(int fd, int mode) { return _setmode(fd, mode); } +static inline __msvcrt_long tell(int fd) { return _tell(fd); } +#ifndef _UMASK_DEFINED +static inline int umask(int fd) { return _umask(fd); } +#define _UMASK_DEFINED +#endif +#ifndef _UNLINK_DEFINED +static inline int unlink(const char* path) { return _unlink(path); } +#define _UNLINK_DEFINED +#endif +static inline int write(int fd, const void* buf, unsigned int size) { return _write(fd, buf, size); } + +#if defined(__GNUC__) && (__GNUC__ < 4) +extern int __cdecl open(const char*,int,...) __attribute__((alias("_open"))); +extern int __cdecl sopen(const char*,int,int,...) __attribute__((alias("_sopen"))); +#else +#define open _open +#define sopen _sopen +#endif /* __GNUC__ */ + +#include + +#endif /* __WINE_IO_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/limits.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/limits.h new file mode 100644 index 0000000..13bab86 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/limits.h @@ -0,0 +1,53 @@ +#ifndef __WINE_LIMITS_H +#define __WINE_LIMITS_H + +#include + +#define CHAR_BIT 8 +#define MB_LEN_MAX 5 + +#define SCHAR_MIN (-0x80) +#define SCHAR_MAX 0x7f +#define UCHAR_MAX 0xff + +#ifdef __CHAR_UNSIGNED__ +# define CHAR_MIN 0 +# define CHAR_MAX UCHAR_MAX +#else +# define CHAR_MIN SCHAR_MIN +# define CHAR_MAX SCHAR_MAX +#endif + +#define SHRT_MIN (-0x8000) +#define SHRT_MAX 0x7fff +#define USHRT_MAX 0xffff + +#define INT_MIN (-0x7fffffff - 1) +#define INT_MAX 0x7fffffff +#define UINT_MAX 0xffffffffU + +#define LONG_MIN (-0x7fffffffL - 1L) +#define LONG_MAX 0x7fffffffL +#define ULONG_MAX 0xffffffffUL + +#define LLONG_MAX (((__int64)0x7fffffff << 32) | 0xffffffff) +#define LLONG_MIN (-LLONG_MAX-1) +#define ULLONG_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff) + +#define _I64_MAX (((__int64)0x7fffffff << 32) | 0xffffffff) +#define _I64_MIN (-_I64_MAX-1) +#define _UI64_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff) + +#define I64_MIN _I64_MIN +#define I64_MAX _I64_MAX +#define UI64_MAX _UI64_MAX + +#ifndef SIZE_MAX +# ifdef _WIN64 +# define SIZE_MAX UI64_MAX +# else +# define SIZE_MAX UINT_MAX +# endif +#endif + +#endif /* __WINE_LIMITS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/locale.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/locale.h new file mode 100644 index 0000000..5e0dd35 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/locale.h @@ -0,0 +1,80 @@ +/* + * Locale definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_LOCALE_H +#define __WINE_LOCALE_H + +#include + +#define LC_ALL 0 +#define LC_COLLATE 1 +#define LC_CTYPE 2 +#define LC_MONETARY 3 +#define LC_NUMERIC 4 +#define LC_TIME 5 +#define LC_MIN LC_ALL +#define LC_MAX LC_TIME + +#ifndef _LCONV_DEFINED +#define _LCONV_DEFINED +struct lconv +{ + char* decimal_point; + char* thousands_sep; + char* grouping; + char* int_curr_symbol; + char* currency_symbol; + char* mon_decimal_point; + char* mon_thousands_sep; + char* mon_grouping; + char* positive_sign; + char* negative_sign; + char int_frac_digits; + char frac_digits; + char p_cs_precedes; + char p_sep_by_space; + char n_cs_precedes; + char n_sep_by_space; + char p_sign_posn; + char n_sign_posn; +}; +#endif /* _LCONV_DEFINED */ + + +#ifdef __cplusplus +extern "C" { +#endif + +char* __cdecl setlocale(int,const char*); +struct lconv* __cdecl localeconv(void); +int __cdecl _configthreadlocale(int); +_locale_t __cdecl _get_current_locale(void); +_locale_t __cdecl _create_locale(int, const char*); +void __cdecl _free_locale(_locale_t); + +#ifndef _WLOCALE_DEFINED +#define _WLOCALE_DEFINED +wchar_t* __cdecl _wsetlocale(int,const wchar_t*); +#endif /* _WLOCALE_DEFINED */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_LOCALE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/malloc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/malloc.h new file mode 100644 index 0000000..9224e4b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/malloc.h @@ -0,0 +1,89 @@ +/* + * Heap definitions + * + * Copyright 2001 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_MALLOC_H +#define __WINE_MALLOC_H + +#include + +/* heap function constants */ +#define _HEAPEMPTY -1 +#define _HEAPOK -2 +#define _HEAPBADBEGIN -3 +#define _HEAPBADNODE -4 +#define _HEAPEND -5 +#define _HEAPBADPTR -6 + +#define _FREEENTRY 0 +#define _USEDENTRY 1 + +#ifndef _HEAPINFO_DEFINED +#define _HEAPINFO_DEFINED +typedef struct _heapinfo +{ + int* _pentry; + size_t _size; + int _useflag; +} _HEAPINFO; +#endif /* _HEAPINFO_DEFINED */ + +#ifdef __i386__ +extern unsigned int* __cdecl __p__amblksiz(void); +#define _amblksiz (*__p__amblksiz()); +#else +extern unsigned int _amblksiz; +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +void* __cdecl _expand(void*,size_t); +int __cdecl _heapadd(void*,size_t); +int __cdecl _heapchk(void); +int __cdecl _heapmin(void); +int __cdecl _heapset(unsigned int); +size_t __cdecl _heapused(size_t*,size_t*); +int __cdecl _heapwalk(_HEAPINFO*); +size_t __cdecl _msize(void*); + +void* __cdecl calloc(size_t,size_t); +void __cdecl free(void*); +void* __cdecl malloc(size_t); +void* __cdecl realloc(void*,size_t); + +void __cdecl _aligned_free(void*); +void* __cdecl _aligned_malloc(size_t,size_t); +void* __cdecl _aligned_offset_malloc(size_t,size_t,size_t); +void* __cdecl _aligned_realloc(void*,size_t,size_t); +void* __cdecl _aligned_offset_realloc(void*,size_t,size_t,size_t); + +size_t __cdecl _get_sbh_threshold(void); +int __cdecl _set_sbh_threshold(size_t size); + +#ifdef __cplusplus +} +#endif + +# ifdef __GNUC__ +# define _alloca(x) __builtin_alloca((x)) +# define alloca(x) __builtin_alloca((x)) +# endif + +#endif /* __WINE_MALLOC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/math.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/math.h new file mode 100644 index 0000000..5b42b4d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/math.h @@ -0,0 +1,213 @@ +/* + * Math functions. + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Hans Leidekker. + * This file is in the public domain. + */ + +#ifndef __WINE_MATH_H +#define __WINE_MATH_H + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define _DOMAIN 1 /* domain error in argument */ +#define _SING 2 /* singularity */ +#define _OVERFLOW 3 /* range overflow */ +#define _UNDERFLOW 4 /* range underflow */ +#define _TLOSS 5 /* total loss of precision */ +#define _PLOSS 6 /* partial loss of precision */ + +#ifndef _EXCEPTION_DEFINED +#define _EXCEPTION_DEFINED +struct _exception +{ + int type; + char *name; + double arg1; + double arg2; + double retval; +}; +#endif /* _EXCEPTION_DEFINED */ + +#ifndef _COMPLEX_DEFINED +#define _COMPLEX_DEFINED +struct _complex +{ + double x; /* Real part */ + double y; /* Imaginary part */ +}; +#endif /* _COMPLEX_DEFINED */ + +double __cdecl sin(double); +double __cdecl cos(double); +double __cdecl tan(double); +double __cdecl sinh(double); +double __cdecl cosh(double); +double __cdecl tanh(double); +double __cdecl asin(double); +double __cdecl acos(double); +double __cdecl atan(double); +double __cdecl atan2(double, double); +double __cdecl exp(double); +double __cdecl log(double); +double __cdecl log10(double); +double __cdecl pow(double, double); +double __cdecl sqrt(double); +double __cdecl ceil(double); +double __cdecl floor(double); +double __cdecl fabs(double); +double __cdecl ldexp(double, int); +double __cdecl frexp(double, int*); +double __cdecl modf(double, double*); +double __cdecl fmod(double, double); + +double __cdecl _hypot(double, double); +double __cdecl _j0(double); +double __cdecl _j1(double); +double __cdecl _jn(int, double); +double __cdecl _y0(double); +double __cdecl _y1(double); +double __cdecl _yn(int, double); + +double __cdecl cbrt(double); +double __cdecl exp2(double); +double __cdecl log2(double); +double __cdecl rint(double); +double __cdecl round(double); +double __cdecl trunc(double); + +float __cdecl cbrtf(float); +float __cdecl exp2f(float); +float __cdecl log2f(float); +float __cdecl rintf(float); +float __cdecl roundf(float); +float __cdecl truncf(float); + +long __cdecl lrint(double); +long __cdecl lrintf(float); +long __cdecl lround(double); +long __cdecl lroundf(float); + +#if defined(__x86_64__) || defined(__arm__) + +float __cdecl sinf(float); +float __cdecl cosf(float); +float __cdecl tanf(float); +float __cdecl sinhf(float); +float __cdecl coshf(float); +float __cdecl tanhf(float); +float __cdecl asinf(float); +float __cdecl acosf(float); +float __cdecl atanf(float); +float __cdecl atan2f(float, float); +float __cdecl expf(float); +float __cdecl logf(float); +float __cdecl log10f(float); +float __cdecl powf(float, float); +float __cdecl sqrtf(float); +float __cdecl ceilf(float); +float __cdecl floorf(float); +float __cdecl fabsf(float); +float __cdecl ldexpf(float, int); +float __cdecl frexpf(float, int*); +float __cdecl modff(float, float*); +float __cdecl fmodf(float, float); + +#else + +#define sinf(x) ((float)sin((double)(x))) +#define cosf(x) ((float)cos((double)(x))) +#define tanf(x) ((float)tan((double)(x))) +#define sinhf(x) ((float)sinh((double)(x))) +#define coshf(x) ((float)cosh((double)(x))) +#define tanhf(x) ((float)tanh((double)(x))) +#define asinf(x) ((float)asin((double)(x))) +#define acosf(x) ((float)acos((double)(x))) +#define atanf(x) ((float)atan((double)(x))) +#define atan2f(x,y) ((float)atan2((double)(x), (double)(y))) +#define expf(x) ((float)exp((double)(x))) +#define logf(x) ((float)log((double)(x))) +#define log10f(x) ((float)log10((double)(x))) +#define powf(x,y) ((float)pow((double)(x), (double)(y))) +#define sqrtf(x) ((float)sqrt((double)(x))) +#define ceilf(x) ((float)ceil((double)(x))) +#define floorf(x) ((float)floor((double)(x))) +#define fabsf(x) ((float)fabs((double)(x))) +#define frexpf(x) ((float)frexp((double)(x))) +#define modff(x,y) ((float)modf((double)(x), (double*)(y))) +#define fmodf(x,y) ((float)fmod((double)(x), (double)(y))) + +#endif + +#define ldexpf(x,y) ((float)ldexp((double)(x),(y))) + +double __cdecl nearbyint(double); +float __cdecl nearbyintf(float); + +float __cdecl _hypotf(float, float); + +int __cdecl _matherr(struct _exception*); +double __cdecl _cabs(struct _complex); + +#ifndef HUGE_VAL +# if defined(__GNUC__) && (__GNUC__ >= 3) +# define HUGE_VAL (__extension__ 0x1.0p2047) +# else +static const union { + unsigned char __c[8]; + double __d; +} __huge_val = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }; +# define HUGE_VAL (__huge_val.__d) +# endif +#endif + +#define FP_INFINITE 1 +#define FP_NAN 2 +#define FP_NORMAL -1 +#define FP_SUBNORMAL -2 +#define FP_ZERO 0 + +#ifdef __cplusplus +} +#endif + +#include + +#ifdef _USE_MATH_DEFINES +#ifndef _MATH_DEFINES_DEFINED +#define _MATH_DEFINES_DEFINED +#define M_E 2.71828182845904523536 +#define M_LOG2E 1.44269504088896340736 +#define M_LOG10E 0.434294481903251827651 +#define M_LN2 0.693147180559945309417 +#define M_LN10 2.30258509299404568402 +#define M_PI 3.14159265358979323846 +#define M_PI_2 1.57079632679489661923 +#define M_PI_4 0.785398163397448309616 +#define M_1_PI 0.318309886183790671538 +#define M_2_PI 0.636619772367581343076 +#define M_2_SQRTPI 1.12837916709551257390 +#define M_SQRT2 1.41421356237309504880 +#define M_SQRT1_2 0.707106781186547524401 +#endif /* !_MATH_DEFINES_DEFINED */ +#endif /* _USE_MATH_DEFINES */ + +static inline double hypot( double x, double y ) { return _hypot( x, y ); } +static inline double j0( double x ) { return _j0( x ); } +static inline double j1( double x ) { return _j1( x ); } +static inline double jn( int n, double x ) { return _jn( n, x ); } +static inline double y0( double x ) { return _y0( x ); } +static inline double y1( double x ) { return _y1( x ); } +static inline double yn( int n, double x ) { return _yn( n, x ); } +static inline double cabs(struct _complex z) { return _cabs( z ); } + +static inline float hypotf( float x, float y ) { return _hypotf( x, y ); } + +#endif /* __WINE_MATH_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/mbctype.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/mbctype.h new file mode 100644 index 0000000..cb460b9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/mbctype.h @@ -0,0 +1,80 @@ +/* + * Multibyte char definitions + * + * Copyright 2001 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_MBCTYPE_H +#define __WINE_MBCTYPE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __i386__ +unsigned char* __cdecl __p__mbctype(void); +#define _mbctype (__p__mbctype()) +#else +extern unsigned char MSVCRT_mbctype[]; +#endif + +#define _MS 0x01 +#define _MP 0x02 +#define _M1 0x04 +#define _M2 0x08 + +#define _SBUP 0x10 +#define _SBLOW 0x20 + +#define _MBC_SINGLE 0 +#define _MBC_LEAD 1 +#define _MBC_TRAIL 2 +#define _MBC_ILLEGAL -1 + +#define _KANJI_CP 932 + +#define _MB_CP_SBCS 0 +#define _MB_CP_OEM -2 +#define _MB_CP_ANSI -3 +#define _MB_CP_LOCALE -4 + +int __cdecl _getmbcp(void); +int __cdecl _ismbbalnum(unsigned int); +int __cdecl _ismbbalpha(unsigned int); +int __cdecl _ismbbgraph(unsigned int); +int __cdecl _ismbbkalnum(unsigned int); +int __cdecl _ismbbkana(unsigned int); +int __cdecl _ismbbkprint(unsigned int); +int __cdecl _ismbbkpunct(unsigned int); +int __cdecl _ismbbprint(unsigned int); +int __cdecl _ismbbpunct(unsigned int); +int __cdecl _setmbcp(int); + +#ifndef _MBLEADTRAIL_DEFINED +#define _MBLEADTRAIL_DEFINED +int __cdecl _ismbblead(unsigned int); +int __cdecl _ismbbtrail(unsigned int); +int __cdecl _ismbslead(const unsigned char*,const unsigned char*); +int __cdecl _ismbstrail(const unsigned char*,const unsigned char*); +#endif /* _MBLEADTRAIL_DEFINED */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MBCTYPE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/mbstring.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/mbstring.h new file mode 100644 index 0000000..7a40f7b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/mbstring.h @@ -0,0 +1,122 @@ +/* + * Multibyte string definitions + * + * Copyright 2001 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_MBSTRING_H +#define __WINE_MBSTRING_H + +#include + +#include + +#ifndef _NLSCMP_DEFINED +#define _NLSCMPERROR ((unsigned int)0x7fffffff) +#define _NLSCMP_DEFINED +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +int __cdecl _ismbcalnum(unsigned int); +int __cdecl _ismbcalpha(unsigned int); +int __cdecl _ismbcdigit(unsigned int); +int __cdecl _ismbcgraph(unsigned int); +int __cdecl _ismbchira(unsigned int); +int __cdecl _ismbckata(unsigned int); +int __cdecl _ismbcl0(unsigned int); +int __cdecl _ismbcl1(unsigned int); +int __cdecl _ismbcl2(unsigned int); +int __cdecl _ismbclegal(unsigned int); +int __cdecl _ismbclower(unsigned int); +int __cdecl _ismbcprint(unsigned int); +int __cdecl _ismbcpunct(unsigned int); +int __cdecl _ismbcspace(unsigned int); +int __cdecl _ismbcsymbol(unsigned int); +int __cdecl _ismbcupper(unsigned int); +unsigned int __cdecl _mbbtombc(unsigned int); +int __cdecl _mbbtype(unsigned char,int); +#define _mbccmp(_cpc1,_cpc2) _mbsncmp((_cpc1),(_cpc2),1) +void __cdecl _mbccpy(unsigned char*,const unsigned char*); +unsigned int __cdecl _mbcjistojms(unsigned int); +unsigned int __cdecl _mbcjmstojis(unsigned int); +size_t __cdecl _mbclen(const unsigned char*); +unsigned int __cdecl _mbctohira(unsigned int); +unsigned int __cdecl _mbctokata(unsigned int); +unsigned int __cdecl _mbctolower(unsigned int); +unsigned int __cdecl _mbctombb(unsigned int); +unsigned int __cdecl _mbctoupper(unsigned int); +int __cdecl _mbsbtype(const unsigned char*,size_t); +unsigned char* __cdecl _mbscat(unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbschr(const unsigned char*,unsigned int); +int __cdecl _mbscmp(const unsigned char*,const unsigned char*); +int __cdecl _mbscoll(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbscpy(unsigned char*,const unsigned char*); +size_t __cdecl _mbscspn(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbsdec(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbsdup(const unsigned char*); +int __cdecl _mbsicmp(const unsigned char*,const unsigned char*); +int __cdecl _mbsicoll(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbsinc(const unsigned char*); +size_t __cdecl _mbslen(const unsigned char*); +unsigned char* __cdecl _mbslwr(unsigned char*); +unsigned char* __cdecl _mbsnbcat(unsigned char*,const unsigned char*,size_t); +errno_t __cdecl _mbsnbcat_s(unsigned char*,size_t,const unsigned char*,size_t); +int __cdecl _mbsnbcmp(const unsigned char*,const unsigned char*,size_t); +int __cdecl _mbsnbcoll(const unsigned char*,const unsigned char*,size_t); +size_t __cdecl _mbsnbcnt(const unsigned char*,size_t); +unsigned char* __cdecl _mbsnbcpy(unsigned char*,const unsigned char*,size_t); +int __cdecl _mbsnbicmp(const unsigned char*,const unsigned char*,size_t); +int __cdecl _mbsnbicoll(const unsigned char*,const unsigned char*,size_t); +unsigned char* __cdecl _mbsnbset(unsigned char*,unsigned int,size_t); +unsigned char* __cdecl _mbsncat(unsigned char*,const unsigned char*, size_t); +size_t __cdecl _mbsnccnt(const unsigned char*,size_t); +int __cdecl _mbsncmp(const unsigned char*,const unsigned char*,size_t); +int __cdecl _mbsncoll(const unsigned char*,const unsigned char*,size_t); +unsigned char* __cdecl _mbsncpy(unsigned char*,const unsigned char*,size_t); +unsigned int __cdecl _mbsnextc (const unsigned char*); +int __cdecl _mbsnicmp(const unsigned char*,const unsigned char*,size_t); +int __cdecl _mbsnicoll(const unsigned char*,const unsigned char*,size_t); +unsigned char* __cdecl _mbsninc(const unsigned char*,size_t); +unsigned char* __cdecl _mbsnset(unsigned char*,unsigned int,size_t); +unsigned char* __cdecl _mbspbrk(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbsrchr(const unsigned char*,unsigned int); +unsigned char* __cdecl _mbsrev(unsigned char*); +unsigned char* __cdecl _mbsset(unsigned char*,unsigned int); +size_t __cdecl _mbsspn(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbsspnp(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbsstr(const unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbstok(unsigned char*,const unsigned char*); +unsigned char* __cdecl _mbstok_l(unsigned char*,const unsigned char*,_locale_t); +unsigned char* __cdecl _mbsupr(unsigned char*); + +#ifndef _MBLEADTRAIL_DEFINED +#define _MBLEADTRAIL_DEFINED +int __cdecl _ismbblead(unsigned int); +int __cdecl _ismbbtrail(unsigned int); +int __cdecl _ismbslead(const unsigned char*,const unsigned char*); +int __cdecl _ismbstrail(const unsigned char*,const unsigned char*); +#endif /* _MBLEADTRAIL_DEFINED */ + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_MBSTRING_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/memory.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/memory.h new file mode 100644 index 0000000..ecf13aa --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/memory.h @@ -0,0 +1,37 @@ +/* + * Memory definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_MEMORY_H +#define __WINE_MEMORY_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _CRT_MEMORY_DEFINED +#define _CRT_MEMORY_DEFINED + +void* __cdecl memchr(const void*,int,size_t); +int __cdecl memcmp(const void*,const void*,size_t); +void* __cdecl memcpy(void*,const void*,size_t); +errno_t __cdecl memcpy_s(void*,size_t,const void*,size_t); +void* __cdecl memset(void*,int,size_t); +void* __cdecl _memccpy(void*,const void*,int,unsigned int); +int __cdecl _memicmp(const void*,const void*,unsigned int); + +static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); } +static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); } + +#endif /* _CRT_MEMORY_DEFINED */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MEMORY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/process.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/process.h new file mode 100644 index 0000000..f9ab2a4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/process.h @@ -0,0 +1,126 @@ +/* + * Process definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_PROCESS_H +#define __WINE_PROCESS_H + +#include + +/* Process creation flags */ +#define _P_WAIT 0 +#define _P_NOWAIT 1 +#define _P_OVERLAY 2 +#define _P_NOWAITO 3 +#define _P_DETACH 4 + +#define _WAIT_CHILD 0 +#define _WAIT_GRANDCHILD 1 + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void (__cdecl *_beginthread_start_routine_t)(void *); +typedef unsigned int (__stdcall *_beginthreadex_start_routine_t)(void *); + +uintptr_t __cdecl _beginthread(_beginthread_start_routine_t,unsigned int,void*); +uintptr_t __cdecl _beginthreadex(void*,unsigned int,_beginthreadex_start_routine_t,void*,unsigned int,unsigned int*); +intptr_t __cdecl _cwait(int*,intptr_t,int); +void __cdecl _endthread(void); +void __cdecl _endthreadex(unsigned int); +intptr_t __cdecl _execl(const char*,const char*,...); +intptr_t __cdecl _execle(const char*,const char*,...); +intptr_t __cdecl _execlp(const char*,const char*,...); +intptr_t __cdecl _execlpe(const char*,const char*,...); +intptr_t __cdecl _execv(const char*,const char* const *); +intptr_t __cdecl _execve(const char*,const char* const *,const char* const *); +intptr_t __cdecl _execvp(const char*,const char* const *); +intptr_t __cdecl _execvpe(const char*,const char* const *,const char* const *); +int __cdecl _getpid(void); +intptr_t __cdecl _spawnl(int,const char*,const char*,...); +intptr_t __cdecl _spawnle(int,const char*,const char*,...); +intptr_t __cdecl _spawnlp(int,const char*,const char*,...); +intptr_t __cdecl _spawnlpe(int,const char*,const char*,...); +intptr_t __cdecl _spawnv(int,const char*,const char* const *); +intptr_t __cdecl _spawnve(int,const char*,const char* const *,const char* const *); +intptr_t __cdecl _spawnvp(int,const char*,const char* const *); +intptr_t __cdecl _spawnvpe(int,const char*,const char* const *,const char* const *); + +void __cdecl _c_exit(void); +void __cdecl _cexit(void); +void __cdecl _exit(int); +void __cdecl abort(void); +void __cdecl exit(int); +int __cdecl system(const char*); + +#ifndef _WPROCESS_DEFINED +#define _WPROCESS_DEFINED +intptr_t __cdecl _wexecl(const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wexecle(const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wexeclp(const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wexeclpe(const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wexecv(const wchar_t*,const wchar_t* const *); +intptr_t __cdecl _wexecve(const wchar_t*,const wchar_t* const *,const wchar_t* const *); +intptr_t __cdecl _wexecvp(const wchar_t*,const wchar_t* const *); +intptr_t __cdecl _wexecvpe(const wchar_t*,const wchar_t* const *,const wchar_t* const *); +intptr_t __cdecl _wspawnl(int,const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wspawnle(int,const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wspawnlp(int,const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wspawnlpe(int,const wchar_t*,const wchar_t*,...); +intptr_t __cdecl _wspawnv(int,const wchar_t*,const wchar_t* const *); +intptr_t __cdecl _wspawnve(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *); +intptr_t __cdecl _wspawnvp(int,const wchar_t*,const wchar_t* const *); +intptr_t __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *); +int __cdecl _wsystem(const wchar_t*); +#endif /* _WPROCESS_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +#define P_WAIT _P_WAIT +#define P_NOWAIT _P_NOWAIT +#define P_OVERLAY _P_OVERLAY +#define P_NOWAITO _P_NOWAITO +#define P_DETACH _P_DETACH + +#define WAIT_CHILD _WAIT_CHILD +#define WAIT_GRANDCHILD _WAIT_GRANDCHILD + +static inline intptr_t cwait(int *status, intptr_t pid, int action) { return _cwait(status, pid, action); } +static inline int getpid(void) { return _getpid(); } +static inline intptr_t execv(const char* name, const char* const* argv) { return _execv(name, argv); } +static inline intptr_t execve(const char* name, const char* const* argv, const char* const* envv) { return _execve(name, argv, envv); } +static inline intptr_t execvp(const char* name, const char* const* argv) { return _execvp(name, argv); } +static inline intptr_t execvpe(const char* name, const char* const* argv, const char* const* envv) { return _execvpe(name, argv, envv); } +static inline intptr_t spawnv(int flags, const char* name, const char* const* argv) { return _spawnv(flags, name, argv); } +static inline intptr_t spawnve(int flags, const char* name, const char* const* argv, const char* const* envv) { return _spawnve(flags, name, argv, envv); } +static inline intptr_t spawnvp(int flags, const char* name, const char* const* argv) { return _spawnvp(flags, name, argv); } +static inline intptr_t spawnvpe(int flags, const char* name, const char* const* argv, const char* const* envv) { return _spawnvpe(flags, name, argv, envv); } + +#if defined(__GNUC__) && (__GNUC__ < 4) +extern intptr_t __cdecl execl(const char*,const char*,...) __attribute__((alias("_execl"))); +extern intptr_t __cdecl execle(const char*,const char*,...) __attribute__((alias("_execle"))); +extern intptr_t __cdecl execlp(const char*,const char*,...) __attribute__((alias("_execlp"))); +extern intptr_t __cdecl execlpe(const char*,const char*,...) __attribute__((alias("_execlpe"))); +extern intptr_t __cdecl spawnl(int,const char*,const char*,...) __attribute__((alias("_spawnl"))); +extern intptr_t __cdecl spawnle(int,const char*,const char*,...) __attribute__((alias("_spawnle"))); +extern intptr_t __cdecl spawnlp(int,const char*,const char*,...) __attribute__((alias("_spawnlp"))); +extern intptr_t __cdecl spawnlpe(int,const char*,const char*,...) __attribute__((alias("_spawnlpe"))); +#else +#define execl _execl +#define execle _execle +#define execlp _execlp +#define execlpe _execlpe +#define spawnl _spawnl +#define spawnle _spawnle +#define spawnlp _spawnlp +#define spawnlpe _spawnlpe +#endif /* __GNUC__ */ + +#endif /* __WINE_PROCESS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/search.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/search.h new file mode 100644 index 0000000..16a0850 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/search.h @@ -0,0 +1,42 @@ +/* + * Heap definitions + * + * Copyright 2001 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SEARCH_H +#define __WINE_SEARCH_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void* __cdecl _lfind(const void*,const void*,unsigned int*,unsigned int,int (*)(const void*,const void*)); +void* __cdecl _lsearch(const void*,void*,unsigned int*,unsigned int,int (*)(const void*,const void*)); +void* __cdecl bsearch(const void*,const void*,size_t,size_t,int (*)(const void*,const void*)); +void __cdecl qsort(void*,size_t,size_t,int (*)(const void*,const void*)); + +#ifdef __cplusplus +} +#endif + + +static inline void* lfind(const void* match, const void* start, unsigned int* array_size, unsigned int elem_size, int (*cf)(const void*,const void*)) { return _lfind(match, start, array_size, elem_size, cf); } +static inline void* lsearch(const void* match, void* start, unsigned int* array_size, unsigned int elem_size, int (*cf)(const void*,const void*) ) { return _lsearch(match, start, array_size, elem_size, cf); } + +#endif /* __WINE_SEARCH_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/setjmp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/setjmp.h new file mode 100644 index 0000000..4038cbd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/setjmp.h @@ -0,0 +1,157 @@ +/* + * Setjmp/Longjmp definitions + * + * Copyright 2001 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SETJMP_H +#define __WINE_SETJMP_H + +#include + +#include + +#ifdef __i386__ + +typedef struct __JUMP_BUFFER +{ + unsigned long Ebp; + unsigned long Ebx; + unsigned long Edi; + unsigned long Esi; + unsigned long Esp; + unsigned long Eip; + unsigned long Registration; + unsigned long TryLevel; + /* Start of new struct members */ + unsigned long Cookie; + unsigned long UnwindFunc; + unsigned long UnwindData[6]; +} _JUMP_BUFFER; + +#define _JBLEN 16 +#define _JBTYPE int + +#elif defined(__x86_64__) + +typedef struct _SETJMP_FLOAT128 +{ + unsigned __int64 DECLSPEC_ALIGN(16) Part[2]; +} SETJMP_FLOAT128; + +typedef struct _JUMP_BUFFER +{ + unsigned __int64 Frame; + unsigned __int64 Rbx; + unsigned __int64 Rsp; + unsigned __int64 Rbp; + unsigned __int64 Rsi; + unsigned __int64 Rdi; + unsigned __int64 R12; + unsigned __int64 R13; + unsigned __int64 R14; + unsigned __int64 R15; + unsigned __int64 Rip; + unsigned __int64 Spare; + SETJMP_FLOAT128 Xmm6; + SETJMP_FLOAT128 Xmm7; + SETJMP_FLOAT128 Xmm8; + SETJMP_FLOAT128 Xmm9; + SETJMP_FLOAT128 Xmm10; + SETJMP_FLOAT128 Xmm11; + SETJMP_FLOAT128 Xmm12; + SETJMP_FLOAT128 Xmm13; + SETJMP_FLOAT128 Xmm14; + SETJMP_FLOAT128 Xmm15; +} _JUMP_BUFFER; + +#define _JBLEN 16 +typedef SETJMP_FLOAT128 _JBTYPE; + +#elif defined(__arm__) + +typedef struct _JUMP_BUFFER +{ + unsigned long Frame; + unsigned long R4; + unsigned long R5; + unsigned long R6; + unsigned long R7; + unsigned long R8; + unsigned long R9; + unsigned long R10; + unsigned long R11; + unsigned long Sp; + unsigned long Pc; + unsigned long Fpscr; + unsigned long long D[8]; +} _JUMP_BUFFER; + +#define _JBLEN 28 +#define _JBTYPE int + +#elif defined(__aarch64__) + +typedef struct _JUMP_BUFFER +{ + unsigned __int64 Frame; + unsigned __int64 Reserved; + unsigned __int64 X19; + unsigned __int64 X20; + unsigned __int64 X21; + unsigned __int64 X22; + unsigned __int64 X23; + unsigned __int64 X24; + unsigned __int64 X25; + unsigned __int64 X26; + unsigned __int64 X27; + unsigned __int64 X28; + unsigned __int64 Fp; + unsigned __int64 Lr; + unsigned __int64 Sp; + unsigned long Fpcr; + unsigned long Fpsr; + double D[8]; +} _JUMP_BUFFER; + +#define _JBLEN 24 +#define _JBTYPE unsigned __int64 + +#else + +#define _JBLEN 1 +#define _JBTYPE int + +#endif + +typedef _JBTYPE jmp_buf[_JBLEN]; + +#ifdef __cplusplus +extern "C" { +#endif + +int __cdecl _setjmp(jmp_buf); +void __cdecl longjmp(jmp_buf,int); + +#ifdef __cplusplus +} +#endif + +#define setjmp _setjmp + +#include + +#endif /* __WINE_SETJMP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/share.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/share.h new file mode 100644 index 0000000..3813e76 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/share.h @@ -0,0 +1,42 @@ +/* + * share.h + * + * Constants for file sharing functions. + * + * Derived from the Mingw32 header written by Colin Peters. + * Modified for Wine use by Bill Medland + * This file is in the public domain. + * + * Original header contained the following + * + * THIS SOFTWARE IS NOT COPYRIGHTED + * + * This source code is offered for use in the public domain. You may + * use, modify or distribute it freely. + * + * This code is distributed in the hope that it will be useful but + * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + * DISCLAIMED. This includes but is not limited to warranties of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + */ + +#ifndef __WINE_SHARE_H +#define __WINE_SHARE_H +#ifndef __WINE_USE_MSVCRT +#define __WINE_USE_MSVCRT +#endif + +#define SH_COMPAT 0x00 /* Compatibility */ +#define SH_DENYRW 0x10 /* Deny read/write */ +#define SH_DENYWR 0x20 /* Deny write */ +#define SH_DENYRD 0x30 /* Deny read */ +#define SH_DENYNO 0x40 /* Deny nothing */ + +#define _SH_COMPAT SH_COMPAT +#define _SH_DENYRW SH_DENYRW +#define _SH_DENYWR SH_DENYWR +#define _SH_DENYRD SH_DENYRD +#define _SH_DENYNO SH_DENYNO + +#endif /* __WINE_SHARE_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/signal.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/signal.h new file mode 100644 index 0000000..42d2bfe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/signal.h @@ -0,0 +1,53 @@ +/* + * Signal definitions + * + * Copyright 2005 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _WINE_SIGNAL_H +#define _WINE_SIGNAL_H + +#include + +#define SIGINT 2 +#define SIGILL 4 +#define SIGFPE 8 +#define SIGSEGV 11 +#define SIGTERM 15 +#define SIGBREAK 21 +#define SIGABRT 22 + +#define NSIG (SIGABRT + 1) + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void (__cdecl *__sighandler_t)(int); + +#define SIG_DFL ((__sighandler_t)0) +#define SIG_IGN ((__sighandler_t)1) +#define SIG_ERR ((__sighandler_t)-1) + +void** __cdecl __pxcptinfoptrs(void); +__sighandler_t __cdecl signal(int sig, __sighandler_t func); +int __cdecl raise(int sig); + +#ifdef __cplusplus +} +#endif + +#endif /* _WINE_SIGNAL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stddef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stddef.h new file mode 100644 index 0000000..0ceb65d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stddef.h @@ -0,0 +1,50 @@ +/* + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_STDDEF_H +#define __WINE_STDDEF_H + +#include + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void *)0) +#endif +#endif + +#ifdef _WIN64 +#define offsetof(s,m) (size_t)((ptrdiff_t)&(((s*)NULL)->m)) +#else +#define offsetof(s,m) (size_t)&(((s*)NULL)->m) +#endif + + +#ifdef __cplusplus +extern "C" { +#endif + +__msvcrt_ulong __cdecl __threadid(void); +__msvcrt_ulong __cdecl __threadhandle(void); +#define _threadid (__threadid()) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_STDDEF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stdio.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stdio.h new file mode 100644 index 0000000..31b0427 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stdio.h @@ -0,0 +1,294 @@ +/* + * Standard I/O definitions. + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_STDIO_H +#define __WINE_STDIO_H + +#include + +#ifndef RC_INVOKED +#include +#endif + +#include + +/* file._flag flags */ +#define _IOREAD 0x0001 +#define _IOWRT 0x0002 +#define _IOMYBUF 0x0008 +#define _IOEOF 0x0010 +#define _IOERR 0x0020 +#define _IOSTRG 0x0040 +#define _IORW 0x0080 + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void *)0) +#endif +#endif + +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 + +/* more file._flag flags, but these conflict with Unix */ +#define _IOFBF 0x0000 +#define _IONBF 0x0004 +#define _IOLBF 0x0040 + +#define EOF (-1) +#define FILENAME_MAX 260 +#define TMP_MAX 0x7fff +#define FOPEN_MAX 20 +#define L_tmpnam 260 + +#define BUFSIZ 512 + +#ifndef SEEK_SET +#define SEEK_SET 0 +#define SEEK_CUR 1 +#define SEEK_END 2 +#endif + +#ifndef _FILE_DEFINED +#define _FILE_DEFINED +typedef struct _iobuf +{ + char* _ptr; + int _cnt; + char* _base; + int _flag; + int _file; + int _charbuf; + int _bufsiz; + char* _tmpfname; +} FILE; +#endif /* _FILE_DEFINED */ + +#ifndef _FPOS_T_DEFINED +typedef __int64 DECLSPEC_ALIGN(8) fpos_t; +#define _FPOS_T_DEFINED +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _STDIO_DEFINED +# ifdef __i386__ +FILE* __cdecl __p__iob(void); +# define _iob (__p__iob()) +# else +FILE* __cdecl __iob_func(void); +# define _iob (__iob_func()) +# endif +#endif /* _STDIO_DEFINED */ + +#define stdin (_iob+STDIN_FILENO) +#define stdout (_iob+STDOUT_FILENO) +#define stderr (_iob+STDERR_FILENO) + +/* return value for _get_output_format */ +#define _TWO_DIGIT_EXPONENT 0x1 + +#ifndef _STDIO_DEFINED +#define _STDIO_DEFINED +int __cdecl _fcloseall(void); +FILE* __cdecl _fdopen(int,const char*); +int __cdecl _fgetchar(void); +int __cdecl _filbuf(FILE*); +int __cdecl _fileno(FILE*); +int __cdecl _flsbuf(int,FILE*); +int __cdecl _flushall(void); +int __cdecl _fputchar(int); +FILE* __cdecl _fsopen(const char*,const char*,int); +int __cdecl _get_printf_count_output(void); +int __cdecl _getmaxstdio(void); +int __cdecl _getw(FILE*); +int __cdecl _pclose(FILE*); +FILE* __cdecl _popen(const char*,const char*); +int __cdecl _putw(int,FILE*); +int __cdecl _rmtmp(void); +int __cdecl _set_printf_count_output(int); +int __cdecl _setmaxstdio(int); +int __cdecl _snprintf(char*,size_t,const char*,...); +int __cdecl _snprintf_s(char*,size_t,size_t,const char*,...); +char* __cdecl _tempnam(const char*,const char*); +int __cdecl _unlink(const char*); +int __cdecl _scprintf(const char*,...); +int __cdecl _vscprintf(const char*,__ms_va_list); +int __cdecl _vsnprintf(char*,size_t,const char*,__ms_va_list); +int __cdecl _vsnprintf_s(char*,size_t,size_t,const char*,__ms_va_list); +int __cdecl _vsprintf_p_l(char*,size_t,const char*,_locale_t,__ms_va_list); + +size_t __cdecl _fread_nolock(void*,size_t,size_t,FILE*); +size_t __cdecl _fread_nolock_s(void*,size_t,size_t,size_t,FILE*); +size_t __cdecl _fwrite_nolock(const void*,size_t,size_t,FILE*); +int __cdecl _fclose_nolock(FILE*); +int __cdecl _fflush_nolock(FILE*); +int __cdecl _fgetc_nolock(FILE*); +int __cdecl _fputc_nolock(int,FILE*); +int __cdecl _fseek_nolock(FILE*,__msvcrt_long,int); +int __cdecl _fseeki64_nolock(FILE*,__int64,int); +__msvcrt_long __cdecl _ftell_nolock(FILE*); +__int64 __cdecl _ftelli64_nolock(FILE*); +int __cdecl _getc_nolock(FILE*); +int __cdecl _putc_nolock(int,FILE*); +int __cdecl _ungetc_nolock(int,FILE*); + +void __cdecl clearerr(FILE*); +errno_t __cdecl clearerr_s(FILE*); +int __cdecl fclose(FILE*); +int __cdecl feof(FILE*); +int __cdecl ferror(FILE*); +int __cdecl fflush(FILE*); +int __cdecl fgetc(FILE*); +int __cdecl fgetpos(FILE*,fpos_t*); +char* __cdecl fgets(char*,int,FILE*); +FILE* __cdecl fopen(const char*,const char*); +errno_t __cdecl fopen_s(FILE**,const char*,const char*); +int __cdecl fprintf(FILE*,const char*,...); +int __cdecl fprintf_s(FILE*,const char*,...); +int __cdecl fputc(int,FILE*); +int __cdecl fputs(const char*,FILE*); +size_t __cdecl fread(void*,size_t,size_t,FILE*); +size_t __cdecl fread_s(void*,size_t,size_t,size_t,FILE*); +FILE* __cdecl freopen(const char*,const char*,FILE*); +int __cdecl fscanf(FILE*,const char*,...); +int __cdecl fscanf_s(FILE*,const char*,...); +int __cdecl fseek(FILE*,__msvcrt_long,int); +int __cdecl _fseeki64(FILE*,__int64,int); +int __cdecl fsetpos(FILE*,fpos_t*); +__msvcrt_long __cdecl ftell(FILE*); +__int64 __cdecl _ftelli64(FILE*); +size_t __cdecl fwrite(const void*,size_t,size_t,FILE*); +int __cdecl getc(FILE*); +int __cdecl getchar(void); +char* __cdecl gets(char*); +void __cdecl perror(const char*); +int __cdecl printf(const char*,...); +int __cdecl printf_s(const char*,...); +int __cdecl putc(int,FILE*); +int __cdecl putchar(int); +int __cdecl puts(const char*); +int __cdecl remove(const char*); +int __cdecl rename(const char*,const char*); +void __cdecl rewind(FILE*); +int __cdecl scanf(const char*,...); +int __cdecl scanf_s(const char*,...); +void __cdecl setbuf(FILE*,char*); +int __cdecl setvbuf(FILE*,char*,int,size_t); +int __cdecl sprintf(char*,const char*,...); +int __cdecl sprintf_s(char*,size_t,const char*,...); +int __cdecl _scprintf(const char *, ...); +int __cdecl sscanf(const char*,const char*,...); +int __cdecl sscanf_s(const char*,const char*,...); +FILE* __cdecl tmpfile(void); +char* __cdecl tmpnam(char*); +int __cdecl ungetc(int,FILE*); +int __cdecl vfprintf(FILE*,const char*,__ms_va_list); +int __cdecl vfprintf_s(FILE*,const char*,__ms_va_list); +int __cdecl vprintf(const char*,__ms_va_list); +int __cdecl vprintf_s(const char*,__ms_va_list); +int __cdecl vsprintf(char*,const char*,__ms_va_list); +int __cdecl vsprintf_s(char*,size_t,const char*,__ms_va_list); +unsigned int __cdecl _get_output_format(void); +unsigned int __cdecl _set_output_format(void); + +#ifndef _WSTDIO_DEFINED +#define _WSTDIO_DEFINED +wint_t __cdecl _fgetwc_nolock(FILE*); +wint_t __cdecl _fgetwchar(void); +wint_t __cdecl _fputwc_nolock(wint_t,FILE*); +wint_t __cdecl _fputwchar(wint_t); +wint_t __cdecl _getwc_nolock(FILE*); +wchar_t* __cdecl _getws(wchar_t*); +wint_t __cdecl _putwc_nolock(wint_t,FILE*); +int __cdecl _putws(const wchar_t*); +int __cdecl _snwprintf(wchar_t*,size_t,const wchar_t*,...); +int __cdecl _snwprintf_s(wchar_t*,size_t,size_t,const wchar_t*,...); +int __cdecl _scwprintf(const wchar_t*,...); +wint_t __cdecl _ungetwc_nolock(wint_t,FILE*); +int __cdecl _vscwprintf(const wchar_t*,__ms_va_list); +int __cdecl _vscwprintf_p_l(const wchar_t*,_locale_t,__ms_va_list); +int __cdecl _vsnwprintf(wchar_t*,size_t,const wchar_t*,__ms_va_list); +int __cdecl _vsnwprintf_s(wchar_t*,size_t,size_t,const wchar_t*,__ms_va_list); +int __cdecl _vswprintf_p_l(wchar_t*,size_t,const wchar_t*,_locale_t,__ms_va_list); +FILE* __cdecl _wfdopen(int,const wchar_t*); +FILE* __cdecl _wfopen(const wchar_t*,const wchar_t*); +errno_t __cdecl _wfopen_s(FILE**,const wchar_t*,const wchar_t*); +FILE* __cdecl _wfreopen(const wchar_t*,const wchar_t*,FILE*); +FILE* __cdecl _wfsopen(const wchar_t*,const wchar_t*,int); +void __cdecl _wperror(const wchar_t*); +FILE* __cdecl _wpopen(const wchar_t*,const wchar_t*); +int __cdecl _wremove(const wchar_t*); +wchar_t* __cdecl _wtempnam(const wchar_t*,const wchar_t*); +wchar_t* __cdecl _wtmpnam(wchar_t*); + +wint_t __cdecl fgetwc(FILE*); +wchar_t* __cdecl fgetws(wchar_t*,int,FILE*); +wint_t __cdecl fputwc(wint_t,FILE*); +int __cdecl fputws(const wchar_t*,FILE*); +int __cdecl fwprintf(FILE*,const wchar_t*,...); +int __cdecl fwprintf_s(FILE*,const wchar_t*,...); +int __cdecl fputws(const wchar_t*,FILE*); +int __cdecl fwscanf(FILE*,const wchar_t*,...); +int __cdecl fwscanf_s(FILE*,const wchar_t*,...); +wint_t __cdecl getwc(FILE*); +wint_t __cdecl getwchar(void); +wchar_t* __cdecl getws(wchar_t*); +wint_t __cdecl putwc(wint_t,FILE*); +wint_t __cdecl putwchar(wint_t); +int __cdecl putws(const wchar_t*); +int __cdecl swprintf(wchar_t*,const wchar_t*,...); +int __cdecl swprintf_s(wchar_t*,size_t,const wchar_t*,...); +int __cdecl swscanf(const wchar_t*,const wchar_t*,...); +int __cdecl swscanf_s(const wchar_t*,const wchar_t*,...); +wint_t __cdecl ungetwc(wint_t,FILE*); +int __cdecl vfwprintf(FILE*,const wchar_t*,__ms_va_list); +int __cdecl vfwprintf_s(FILE*,const wchar_t*,__ms_va_list); +int __cdecl vswprintf(wchar_t*,const wchar_t*,__ms_va_list); +int __cdecl vswprintf_s(wchar_t*,size_t,const wchar_t*,__ms_va_list); +int __cdecl vwprintf(const wchar_t*,__ms_va_list); +int __cdecl vwprintf_s(const wchar_t*,__ms_va_list); +int __cdecl wprintf(const wchar_t*,...); +int __cdecl wprintf_s(const wchar_t*,...); +int __cdecl wscanf(const wchar_t*,...); +int __cdecl wscanf_s(const wchar_t*,...); +#endif /* _WSTDIO_DEFINED */ + +#endif /* _STDIO_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +static inline FILE* fdopen(int fd, const char *mode) { return _fdopen(fd, mode); } +static inline int fgetchar(void) { return _fgetchar(); } +static inline int fileno(FILE* file) { return _fileno(file); } +static inline int fputchar(int c) { return _fputchar(c); } +static inline int pclose(FILE* file) { return _pclose(file); } +static inline FILE* popen(const char* command, const char* mode) { return _popen(command, mode); } +static inline char* tempnam(const char *dir, const char *prefix) { return _tempnam(dir, prefix); } +#ifndef _UNLINK_DEFINED +static inline int unlink(const char* path) { return _unlink(path); } +#define _UNLINK_DEFINED +#endif +static inline int vsnprintf(char *buffer, size_t size, const char *format, __ms_va_list args) { return _vsnprintf(buffer,size,format,args); } + +static inline wint_t fgetwchar(void) { return _fgetwchar(); } +static inline wint_t fputwchar(wint_t wc) { return _fputwchar(wc); } +static inline int getw(FILE* file) { return _getw(file); } +static inline int putw(int val, FILE* file) { return _putw(val, file); } +static inline FILE* wpopen(const wchar_t* command,const wchar_t* mode) { return _wpopen(command, mode); } + +#include + +#endif /* __WINE_STDIO_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stdlib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stdlib.h new file mode 100644 index 0000000..174df43 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/stdlib.h @@ -0,0 +1,301 @@ +/* + * Standard library definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_STDLIB_H +#define __WINE_STDLIB_H + +#include + +#include + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void*)0) +#endif +#endif + +typedef struct +{ + float f; +} _CRT_FLOAT; + +typedef struct +{ + double x; +} _CRT_DOUBLE; + +typedef struct +{ + unsigned char ld[10]; +} _LDOUBLE; + +#define EXIT_SUCCESS 0 +#define EXIT_FAILURE -1 +#define RAND_MAX 0x7FFF + +#ifndef _MAX_PATH +#define _MAX_DRIVE 3 +#define _MAX_FNAME 256 +#define _MAX_DIR _MAX_FNAME +#define _MAX_EXT _MAX_FNAME +#define _MAX_PATH 260 +#endif + +/* Make the secure string functions (names end in "_s") truncate their output */ +#define _TRUNCATE ((size_t)-1) + +typedef struct _div_t { + int quot; + int rem; +} div_t; + +typedef struct _ldiv_t { + __msvcrt_long quot; + __msvcrt_long rem; +} ldiv_t; + +#define __max(a,b) (((a) > (b)) ? (a) : (b)) +#define __min(a,b) (((a) < (b)) ? (a) : (b)) +#ifndef __cplusplus +#define max(a,b) (((a) > (b)) ? (a) : (b)) +#define min(a,b) (((a) < (b)) ? (a) : (b)) +#endif + +/* _set_error_mode() constants */ +#define _OUT_TO_DEFAULT 0 +#define _OUT_TO_STDERR 1 +#define _OUT_TO_MSGBOX 2 +#define _REPORT_ERRMODE 3 + +/* _set_abort_behavior codes */ +#define _WRITE_ABORT_MSG 1 +#define _CALL_REPORTFAULT 2 + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __i386__ + +extern unsigned int* __cdecl __p__osver(void); +#define _osver (*__p__osver()) +extern unsigned int* __cdecl __p__winver(void); +#define _winver (*__p__winver()) +extern unsigned int* __cdecl __p__winmajor(void); +#define _winmajor (*__p__winmajor()) +extern unsigned int* __cdecl __p__winminor(void); +#define _winminor (*__p__winminor()) +extern int* __cdecl __p___argc(void); +#define __argc (*__p___argc()) +extern char*** __cdecl __p___argv(void); +#define __argv (*__p___argv()) +extern wchar_t*** __cdecl __p___wargv(void); +#define __wargv (*__p___wargv()) +extern char*** __cdecl __p__environ(void); +#define _environ (*__p__environ()) +extern wchar_t*** __cdecl __p__wenviron(void); +#define _wenviron (*__p__wenviron()) +extern unsigned int* __cdecl __p__fmode(void); +#define _fmode (*__p__fmode()) + +#else /* __i386__ */ + +extern unsigned int _osver; +extern unsigned int _winver; +extern unsigned int _winmajor; +extern unsigned int _winminor; +extern int __argc; +extern char **__argv; +extern wchar_t **__wargv; +extern char **_environ; +extern wchar_t **_wenviron; +extern unsigned int _fmode; + +#endif /* __i386__ */ + +extern int __cdecl ___mb_cur_max_func(void); +#define __mb_cur_max ___mb_cur_max_func() +extern __msvcrt_ulong* __cdecl __doserrno(void); +#define _doserrno (*__doserrno()) +extern int* __cdecl _errno(void); +#define errno (*_errno()) + +/* FIXME: We need functions to access these: + * int _sys_nerr; + * char** _sys_errlist; + */ + +errno_t __cdecl _get_doserrno(int*); +errno_t __cdecl _get_errno(int*); +errno_t __cdecl _set_doserrno(int); +errno_t __cdecl _set_errno(int); + +typedef int (__cdecl *_onexit_t)(void); + + +int __cdecl _atodbl(_CRT_DOUBLE*,char*); +int __cdecl _atodbl_l(_CRT_DOUBLE*,char*,_locale_t); +int __cdecl _atoflt(_CRT_FLOAT*,char*); +int __cdecl _atoflt_l(_CRT_FLOAT*,char*,_locale_t); +__int64 __cdecl _atoi64(const char*); +long double __cdecl _atold(const char*); +int __cdecl _atoldbl(_LDOUBLE*,char*); +void __cdecl _beep(unsigned int,unsigned int); +char* __cdecl _ecvt(double,int,int*,int*); +char* __cdecl _fcvt(double,int,int*,int*); +char* __cdecl _fullpath(char*,const char*,size_t); +char* __cdecl _gcvt(double,int,char*); +char* __cdecl _i64toa(__int64,char*,int); +char* __cdecl _itoa(int,char*,int); +errno_t __cdecl _itoa_s(int,char*,size_t,int); +char* __cdecl _ltoa(__msvcrt_long,char*,int); +__msvcrt_ulong __cdecl _lrotl(__msvcrt_ulong,int); +__msvcrt_ulong __cdecl _lrotr(__msvcrt_ulong,int); +void __cdecl _makepath(char*,const char*,const char*,const char*,const char*); +int __cdecl _makepath_s(char*,size_t,const char*,const char*,const char*,const char*); +size_t __cdecl _mbstrlen(const char*); +_onexit_t __cdecl _onexit(_onexit_t); +int __cdecl _putenv(const char*); +unsigned int __cdecl _rotl(unsigned int,int); +unsigned int __cdecl _rotr(unsigned int,int); +void __cdecl _searchenv(const char*,const char*,char*); +int __cdecl _set_error_mode(int); +void __cdecl _seterrormode(int); +void __cdecl _sleep(__msvcrt_ulong); +void __cdecl _splitpath(const char*,char*,char*,char*,char*); +long double __cdecl _strtold(const char*,char**); +void __cdecl _swab(char*,char*,int); +char* __cdecl _ui64toa(unsigned __int64,char*,int); +errno_t __cdecl _ui64toa_s(unsigned __int64,char*,size_t,int); +char* __cdecl _ultoa(__msvcrt_ulong,char*,int); +errno_t __cdecl _ultoa_s(__msvcrt_ulong,char*,size_t,int); + +void __cdecl _exit(int); +void __cdecl abort(void); +int __cdecl abs(int); +int __cdecl atexit(void (*)(void)); +double __cdecl atof(const char*); +int __cdecl atoi(const char*); +int __cdecl _atoi_l(const char*,_locale_t); +__msvcrt_long __cdecl atol(const char*); +void* __cdecl calloc(size_t,size_t); +#ifndef __i386__ +div_t __cdecl div(int,int); +ldiv_t __cdecl ldiv(__msvcrt_long,__msvcrt_long); +#endif +void __cdecl exit(int); +void __cdecl free(void*); +char* __cdecl getenv(const char*); +__msvcrt_long __cdecl labs(__msvcrt_long); +void* __cdecl malloc(size_t); +int __cdecl mblen(const char*,size_t); +void __cdecl perror(const char*); +int __cdecl rand(void); +errno_t __cdecl rand_s(unsigned int*); +void* __cdecl realloc(void*,size_t); +void __cdecl srand(unsigned int); +double __cdecl strtod(const char*,char**); +__msvcrt_long __cdecl strtol(const char*,char**,int); +__msvcrt_ulong __cdecl strtoul(const char*,char**,int); +__int64 __cdecl _strtoi64(const char*,char**,int); +__int64 __cdecl _strtoi64_l(const char*,char**,int,_locale_t); +unsigned __int64 __cdecl _strtoui64(const char*,char**,int); +unsigned __int64 __cdecl _strtoui64_l(const char*,char**,int,_locale_t); +int __cdecl system(const char*); +void* __cdecl bsearch(const void*,const void*,size_t,size_t,int (*)(const void*,const void*)); +void __cdecl qsort(void*,size_t,size_t,int (*)(const void*,const void*)); + +#ifndef _WSTDLIB_DEFINED +#define _WSTDLIB_DEFINED +wchar_t* __cdecl _itow(int,wchar_t*,int); +wchar_t* __cdecl _i64tow(__int64,wchar_t*,int); +wchar_t* __cdecl _ltow(__msvcrt_long,wchar_t*,int); +wchar_t* __cdecl _ui64tow(unsigned __int64,wchar_t*,int); +wchar_t* __cdecl _ultow(__msvcrt_ulong,wchar_t*,int); +wchar_t* __cdecl _wfullpath(wchar_t*,const wchar_t*,size_t); +wchar_t* __cdecl _wgetenv(const wchar_t*); +void __cdecl _wmakepath(wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*); +int __cdecl _wmakepath_s(wchar_t*,size_t,const wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*); +void __cdecl _wperror(const wchar_t*); +int __cdecl _wputenv(const wchar_t*); +void __cdecl _wsearchenv(const wchar_t*,const wchar_t*,wchar_t*); +void __cdecl _wsplitpath(const wchar_t*,wchar_t*,wchar_t*,wchar_t*,wchar_t*); +errno_t __cdecl _wsplitpath_s(const wchar_t*,wchar_t*,size_t,wchar_t*,size_t, + wchar_t*,size_t,wchar_t*,size_t); +int __cdecl _wsystem(const wchar_t*); +double __cdecl _wtof(const wchar_t*); +int __cdecl _wtoi(const wchar_t*); +__int64 __cdecl _wtoi64(const wchar_t*); +__msvcrt_long __cdecl _wtol(const wchar_t*); + +size_t __cdecl mbstowcs(wchar_t*,const char*,size_t); +errno_t __cdecl mbstowcs_s(size_t*,wchar_t*,size_t,const char*,size_t); +int __cdecl mbtowc(wchar_t*,const char*,size_t); +double __cdecl wcstod(const wchar_t*,wchar_t**); +__msvcrt_long __cdecl wcstol(const wchar_t*,wchar_t**,int); +size_t __cdecl wcstombs(char*,const wchar_t*,size_t); +errno_t __cdecl wcstombs_s(size_t*,char*,size_t,const wchar_t*,size_t); +__msvcrt_ulong __cdecl wcstoul(const wchar_t*,wchar_t**,int); +int __cdecl wctomb(char*,wchar_t); +__int64 __cdecl _wcstoi64(const wchar_t*,wchar_t**,int); +__int64 __cdecl _wcstoi64_l(const wchar_t*,wchar_t**,int,_locale_t); +unsigned __int64 __cdecl _wcstoui64(const wchar_t*,wchar_t**,int); +unsigned __int64 __cdecl _wcstoui64_l(const wchar_t*,wchar_t**,int,_locale_t); +#endif /* _WSTDLIB_DEFINED */ + +typedef void (__cdecl *_invalid_parameter_handler)(const wchar_t*, const wchar_t*, const wchar_t*, unsigned, uintptr_t); +_invalid_parameter_handler __cdecl _set_invalid_parameter_handler(_invalid_parameter_handler); +_invalid_parameter_handler __cdecl _get_invalid_parameter_handler(void); +void __cdecl _invalid_parameter(const wchar_t *expr, const wchar_t *func, const wchar_t *file, + unsigned int line, uintptr_t arg); + +#ifdef __cplusplus +} +#endif + + +#define environ _environ +#define onexit_t _onexit_t + +static inline char* ecvt(double value, int ndigit, int* decpt, int* sign) { return _ecvt(value, ndigit, decpt, sign); } +static inline char* fcvt(double value, int ndigit, int* decpt, int* sign) { return _fcvt(value, ndigit, decpt, sign); } +static inline char* gcvt(double value, int ndigit, char* buf) { return _gcvt(value, ndigit, buf); } +static inline char* itoa(int value, char* str, int radix) { return _itoa(value, str, radix); } +static inline char* ltoa(__msvcrt_long value, char* str, int radix) { return _ltoa(value, str, radix); } +static inline _onexit_t onexit(_onexit_t func) { return _onexit(func); } +static inline int putenv(const char* str) { return _putenv(str); } +static inline void swab(char* src, char* dst, int len) { _swab(src, dst, len); } +static inline char* ultoa(__msvcrt_ulong value, char* str, int radix) { return _ultoa(value, str, radix); } + +#ifdef __i386__ +static inline div_t __wine_msvcrt_div(int num, int denom) +{ + extern unsigned __int64 div(int,int); + div_t ret; + unsigned __int64 res = div(num,denom); + ret.quot = (int)res; + ret.rem = (int)(res >> 32); + return ret; +} +static inline ldiv_t __wine_msvcrt_ldiv(__msvcrt_long num, __msvcrt_long denom) +{ + extern unsigned __int64 ldiv(__msvcrt_long,__msvcrt_long); + ldiv_t ret; + unsigned __int64 res = ldiv(num,denom); + ret.quot = (__msvcrt_long)res; + ret.rem = (__msvcrt_long)(res >> 32); + return ret; +} +#define div(num,denom) __wine_msvcrt_div(num,denom) +#define ldiv(num,denom) __wine_msvcrt_ldiv(num,denom) +#endif + +#include + +#endif /* __WINE_STDLIB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/string.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/string.h new file mode 100644 index 0000000..d1dca89 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/string.h @@ -0,0 +1,156 @@ +/* + * String definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_STRING_H +#define __WINE_STRING_H + +#include + +#ifndef _NLSCMP_DEFINED +#define _NLSCMPERROR ((unsigned int)0x7fffffff) +#define _NLSCMP_DEFINED +#endif + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void *)0) +#endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _CRT_MEMORY_DEFINED +#define _CRT_MEMORY_DEFINED +void* __cdecl memchr(const void*,int,size_t); +int __cdecl memcmp(const void*,const void*,size_t); +void* __cdecl memcpy(void*,const void*,size_t); +errno_t __cdecl memcpy_s(void*,size_t,const void*,size_t); +void* __cdecl memset(void*,int,size_t); +void* __cdecl _memccpy(void*,const void*,int,unsigned int); +int __cdecl _memicmp(const void*,const void*,unsigned int); + +static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); } +static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); } +#endif /* _CRT_MEMORY_DEFINED */ + +int __cdecl _strcmpi(const char*,const char*); +int __cdecl _strcoll_l(const char*, const char*, _locale_t); +char* __cdecl _strdup(const char*); +char* __cdecl _strerror(const char*); +errno_t __cdecl strerror_s(char*,size_t,int); +int __cdecl _stricmp(const char*,const char*); +int __cdecl _stricoll(const char*,const char*); +int __cdecl _stricoll_l(const char*, const char*, _locale_t); +char* __cdecl _strlwr(char*); +errno_t __cdecl _strlwr_s(char*,size_t); +int __cdecl _strncoll(const char*, const char*, size_t); +int __cdecl _strncoll_l(const char*, const char*, size_t, _locale_t); +int __cdecl _strnicmp(const char*,const char*,size_t); +int __cdecl _strnicoll(const char*, const char*, size_t); +int __cdecl _strnicoll_l(const char*, const char*, size_t, _locale_t); +char* __cdecl _strnset(char*,int,size_t); +char* __cdecl _strrev(char*); +char* __cdecl _strset(char*,int); +char* __cdecl _strupr(char*); + +void* __cdecl memmove(void*,const void*,size_t); +errno_t __cdecl memmove_s(void*,size_t,const void*,size_t); +char* __cdecl strcat(char*,const char*); +errno_t __cdecl strcat_s(char*,size_t,const char*); +char* __cdecl strchr(const char*,int); +int __cdecl strcmp(const char*,const char*); +int __cdecl strcoll(const char*,const char*); +char* __cdecl strcpy(char*,const char*); +errno_t __cdecl strcpy_s(char*,size_t,const char*); +size_t __cdecl strcspn(const char*,const char*); +char* __cdecl strerror(int); +size_t __cdecl strlen(const char*); +char* __cdecl strncat(char*,const char*,size_t); +errno_t __cdecl strncat_s(char*,size_t,const char*,size_t); +int __cdecl strncmp(const char*,const char*,size_t); +char* __cdecl strncpy(char*,const char*,size_t); +errno_t __cdecl strncpy_s(char*,size_t,const char*,size_t); +size_t __cdecl strnlen(const char*,size_t); +char* __cdecl strpbrk(const char*,const char*); +char* __cdecl strrchr(const char*,int); +size_t __cdecl strspn(const char*,const char*); +char* __cdecl strstr(const char*,const char*); +char* __cdecl strtok(char*,const char*); +char* __cdecl strtok_s(char*,const char*,char**); +size_t __cdecl strxfrm(char*,const char*,size_t); + +#ifndef _WSTRING_DEFINED +#define _WSTRING_DEFINED +wchar_t* __cdecl _wcsdup(const wchar_t*); +int __cdecl _wcsicmp(const wchar_t*,const wchar_t*); +int __cdecl _wcsicoll(const wchar_t*,const wchar_t*); +int __cdecl _wcsicoll_l(const wchar_t*, const wchar_t*, _locale_t); +wchar_t* __cdecl _wcslwr(wchar_t*); +int __cdecl _wcscoll_l(const wchar_t*, const wchar_t*, _locale_t); +int __cdecl _wcsncoll(const wchar_t*, const wchar_t*, size_t); +int __cdecl _wcsncoll_l(const wchar_t*, const wchar_t*, size_t, _locale_t); +int __cdecl _wcsnicmp(const wchar_t*,const wchar_t*,size_t); +int __cdecl _wcsnicoll(const wchar_t*,const wchar_t*,size_t); +int __cdecl _wcsnicoll_l(const wchar_t*, const wchar_t*, size_t, _locale_t); +wchar_t* __cdecl _wcsnset(wchar_t*,wchar_t,size_t); +wchar_t* __cdecl _wcsrev(wchar_t*); +wchar_t* __cdecl _wcsset(wchar_t*,wchar_t); +wchar_t* __cdecl _wcsupr(wchar_t*); + +wchar_t* __cdecl wcscat(wchar_t*,const wchar_t*); +errno_t __cdecl wcscat_s(wchar_t*,size_t,const wchar_t*); +wchar_t* __cdecl wcschr(const wchar_t*,wchar_t); +int __cdecl wcscmp(const wchar_t*,const wchar_t*); +int __cdecl wcscoll(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcscpy(wchar_t*,const wchar_t*); +errno_t __cdecl wcscpy_s(wchar_t*,size_t,const wchar_t*); +size_t __cdecl wcscspn(const wchar_t*,const wchar_t*); +size_t __cdecl wcslen(const wchar_t*); +wchar_t* __cdecl wcsncat(wchar_t*,const wchar_t*,size_t); +int __cdecl wcsncmp(const wchar_t*,const wchar_t*,size_t); +wchar_t* __cdecl wcsncpy(wchar_t*,const wchar_t*,size_t); +errno_t __cdecl wcsncpy_s(wchar_t*,size_t,const wchar_t*,size_t); +wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcsrchr(const wchar_t*,wchar_t wcFor); +size_t __cdecl wcsspn(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcsstr(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*); +size_t __cdecl wcsxfrm(wchar_t*,const wchar_t*,size_t); +#endif /* _WSTRING_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +static inline int strcasecmp(const char* s1, const char* s2) { return _stricmp(s1, s2); } +static inline int strcmpi(const char* s1, const char* s2) { return _strcmpi(s1, s2); } +static inline char* strdup(const char* buf) { return _strdup(buf); } +static inline int stricmp(const char* s1, const char* s2) { return _stricmp(s1, s2); } +static inline int stricoll(const char* s1, const char* s2) { return _stricoll(s1, s2); } +static inline char* strlwr(char* str) { return _strlwr(str); } +static inline int strncasecmp(const char *str1, const char *str2, size_t n) { return _strnicmp(str1, str2, n); } +static inline int strnicmp(const char* s1, const char* s2, size_t n) { return _strnicmp(s1, s2, n); } +static inline char* strnset(char* str, int value, unsigned int len) { return _strnset(str, value, len); } +static inline char* strrev(char* str) { return _strrev(str); } +static inline char* strset(char* str, int value) { return _strset(str, value); } +static inline char* strupr(char* str) { return _strupr(str); } + +static inline wchar_t* wcsdup(const wchar_t* str) { return _wcsdup(str); } +static inline int wcsicoll(const wchar_t* str1, const wchar_t* str2) { return _wcsicoll(str1, str2); } +static inline wchar_t* wcslwr(wchar_t* str) { return _wcslwr(str); } +static inline int wcsnicmp(const wchar_t* str1, const wchar_t* str2, size_t n) { return _wcsnicmp(str1, str2, n); } +static inline wchar_t* wcsnset(wchar_t* str, wchar_t c, size_t n) { return _wcsnset(str, c, n); } +static inline wchar_t* wcsrev(wchar_t* str) { return _wcsrev(str); } +static inline wchar_t* wcsset(wchar_t* str, wchar_t c) { return _wcsset(str, c); } +static inline wchar_t* wcsupr(wchar_t* str) { return _wcsupr(str); } + +#endif /* __WINE_STRING_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/locking.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/locking.h new file mode 100644 index 0000000..0147865 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/locking.h @@ -0,0 +1,32 @@ +/* + * _locking constants + * + * Copyright 2002 Bill Medland + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SYS_LOCKING_H__ +#define __WINE_SYS_LOCKING_H__ +#ifndef __WINE_USE_MSVCRT +#define __WINE_USE_MSVCRT +#endif + +#define _LK_UNLCK 0 +#define _LK_LOCK 1 +#define _LK_NBLCK 2 +#define _LK_RLCK 3 +#define _LK_NBRLCK 4 + +#endif /* __WINE_SYS_LOCKING_H__ : Do not place anything after this #endif */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/stat.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/stat.h new file mode 100644 index 0000000..6509e04 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/stat.h @@ -0,0 +1,201 @@ +/* + * _stat() definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_SYS_STAT_H +#define __WINE_SYS_STAT_H + +#include +#include + +#include + +#ifndef _DEV_T_DEFINED +typedef unsigned int _dev_t; +#define _DEV_T_DEFINED +#endif + +#ifndef _INO_T_DEFINED +typedef unsigned short _ino_t; +#define _INO_T_DEFINED +#endif + +#ifndef _OFF_T_DEFINED +typedef int _off_t; +#define _OFF_T_DEFINED +#endif + +#ifndef DECLSPEC_ALIGN +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) +# define DECLSPEC_ALIGN(x) __declspec(align(x)) +# elif defined(__GNUC__) +# define DECLSPEC_ALIGN(x) __attribute__((aligned(x))) +# else +# define DECLSPEC_ALIGN(x) +# endif +#endif + +#define _S_IEXEC 0x0040 +#define _S_IWRITE 0x0080 +#define _S_IREAD 0x0100 +#define _S_IFIFO 0x1000 +#define _S_IFCHR 0x2000 +#define _S_IFDIR 0x4000 +#define _S_IFREG 0x8000 +#define _S_IFMT 0xF000 + +/* for FreeBSD */ +#undef st_atime +#undef st_ctime +#undef st_mtime + +#ifndef _STAT_DEFINED +#define _STAT_DEFINED + +struct _stat { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct stat { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct _stat32 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + __time32_t st_atime; + __time32_t st_mtime; + __time32_t st_ctime; +}; + +struct _stat32i64 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + __int64 DECLSPEC_ALIGN(8) st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct _stat64i32 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + __time64_t st_atime; + __time64_t st_mtime; + __time64_t st_ctime; +}; + +struct _stati64 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + __int64 DECLSPEC_ALIGN(8) st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct _stat64 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + __int64 DECLSPEC_ALIGN(8) st_size; + __time64_t st_atime; + __time64_t st_mtime; + __time64_t st_ctime; +}; +#endif /* _STAT_DEFINED */ + +#ifdef __cplusplus +extern "C" { +#endif + +int __cdecl _fstat(int,struct _stat*); +int __cdecl _stat(const char*,struct _stat*); +int __cdecl _fstat32(int, struct _stat32*); +int __cdecl _stat32(const char*, struct _stat32*); +int __cdecl _fstati64(int,struct _stati64*); +int __cdecl _stati64(const char*,struct _stati64*); +int __cdecl _fstat64(int,struct _stat64*); +int __cdecl _stat64(const char*,struct _stat64*); +int __cdecl _umask(int); + +#ifndef _WSTAT_DEFINED +#define _WSTAT_DEFINED +int __cdecl _wstat(const wchar_t*,struct _stat*); +int __cdecl _wstat32(const wchar_t*, struct _stat32*); +int __cdecl _wstati64(const wchar_t*,struct _stati64*); +int __cdecl _wstat64(const wchar_t*,struct _stat64*); +#endif /* _WSTAT_DEFINED */ + +#ifdef __cplusplus +} +#endif + + +#define S_IFMT _S_IFMT +#define S_IFDIR _S_IFDIR +#define S_IFCHR _S_IFCHR +#define S_IFREG _S_IFREG +#define S_IREAD _S_IREAD +#define S_IWRITE _S_IWRITE +#define S_IEXEC _S_IEXEC + +static inline int fstat(int fd, struct stat* ptr) { return _fstat(fd, (struct _stat*)ptr); } +static inline int stat(const char* path, struct stat* ptr) { return _stat(path, (struct _stat*)ptr); } +#ifndef _UMASK_DEFINED +static inline int umask(int fd) { return _umask(fd); } +#define _UMASK_DEFINED +#endif + +#include + +#endif /* __WINE_SYS_STAT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/timeb.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/timeb.h new file mode 100644 index 0000000..783ccbc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/timeb.h @@ -0,0 +1,76 @@ +/* + * Path and directory definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SYS_TIMEB_H +#define __WINE_SYS_TIMEB_H + +#include + +#include + +#ifndef _TIMEB_DEFINED +#define _TIMEB_DEFINED +struct _timeb +{ + time_t time; + unsigned short millitm; + short timezone; + short dstflag; +}; +struct __timeb32 +{ + __time32_t time; + unsigned short millitm; + short timezone; + short dstflag; +}; +struct __timeb64 +{ + __time64_t time; + unsigned short millitm; + short timezone; + short dstflag; +}; +#endif /* _TIMEB_DEFINED */ + + +#ifdef __cplusplus +extern "C" { +#endif + +void __cdecl _ftime32(struct __timeb32*); +void __cdecl _ftime64(struct __timeb64*); + +#ifdef __cplusplus +} +#endif + +#ifdef _USE_32BIT_TIME_T +static inline void __cdecl _ftime(struct _timeb *tb) { return _ftime32((struct __timeb32*)tb); } +#else +static inline void __cdecl _ftime(struct _timeb *tb) { return _ftime64((struct __timeb64*)tb); } +#endif + +#define timeb _timeb + +static inline void ftime(struct _timeb* ptr) { return _ftime(ptr); } + +#include + +#endif /* __WINE_SYS_TIMEB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/types.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/types.h new file mode 100644 index 0000000..fa60bf4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/types.h @@ -0,0 +1,72 @@ +/* + * _stat() definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SYS_TYPES_H +#define __WINE_SYS_TYPES_H + +#include + +#ifndef _DEV_T_DEFINED +typedef unsigned int _dev_t; +#define _DEV_T_DEFINED +#endif + +#ifndef _INO_T_DEFINED +typedef unsigned short _ino_t; +#define _INO_T_DEFINED +#endif + +#ifndef _MODE_T_DEFINED +typedef unsigned short _mode_t; +#define _MODE_T_DEFINED +#endif + +#ifndef _OFF_T_DEFINED +typedef int _off_t; +#define _OFF_T_DEFINED +#endif + +#ifndef _BSDTYPES_DEFINED +typedef unsigned char u_char; +typedef unsigned short u_short; +typedef unsigned int u_int; +typedef __msvcrt_ulong u_long; +#define _BSDTYPES_DEFINED +#endif + +#define dev_t _dev_t +#define ino_t _ino_t +#define mode_t _mode_t +#define off_t _off_t + +#ifndef _PID_T_DEFINED +typedef int pid_t; +#define _PID_T_DEFINED +#endif + +#ifndef _SSIZE_T_DEFINED +#ifdef _WIN64 +typedef __int64 ssize_t; +#else +typedef int ssize_t; +#endif +#define _SSIZE_T_DEFINED +#endif + +#endif /* __WINE_SYS_TYPES_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/unistd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/unistd.h new file mode 100644 index 0000000..1e823fb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/unistd.h @@ -0,0 +1 @@ +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/utime.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/utime.h new file mode 100644 index 0000000..014351b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/sys/utime.h @@ -0,0 +1,78 @@ +/* + * Path and directory definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SYS_UTIME_H +#define __WINE_SYS_UTIME_H + +#include + +#include + +#ifndef _UTIMBUF_DEFINED +#define _UTIMBUF_DEFINED +struct _utimbuf +{ + time_t actime; + time_t modtime; +}; +struct __utimbuf32 +{ + __time32_t actime; + __time32_t modtime; +}; +struct __utimbuf64 +{ + __time64_t actime; + __time64_t modtime; +}; +#endif /* _UTIMBUF_DEFINED */ + +#ifdef __cplusplus +extern "C" { +#endif + +int __cdecl _futime32(int,struct __utimbuf32*); +int __cdecl _futime64(int,struct __utimbuf64*); +int __cdecl _utime32(const char*,struct __utimbuf32*); +int __cdecl _utime64(const char*,struct __utimbuf64*); +int __cdecl _wutime32(const wchar_t*,struct __utimbuf32*); +int __cdecl _wutime64(const wchar_t*,struct __utimbuf64*); + +#ifdef _USE_32BIT_TIME_T +static inline int _futime(int fd, struct _utimbuf *buf) { return _futime32(fd, (struct __utimbuf32*)buf); } +static inline int _utime(const char *s, struct _utimbuf *buf) { return _utime32(s, (struct __utimbuf32*)buf); } +static inline int _wutime(const wchar_t *s, struct _utimbuf *buf) { return _wutime32(s, (struct __utimbuf32*)buf); } +#else +static inline int _futime(int fd, struct _utimbuf *buf) { return _futime64(fd, (struct __utimbuf64*)buf); } +static inline int _utime(const char *s, struct _utimbuf *buf) { return _utime64(s, (struct __utimbuf64*)buf); } +static inline int _wutime(const wchar_t *s, struct _utimbuf *buf) { return _wutime64(s, (struct __utimbuf64*)buf); } +#endif + +#ifdef __cplusplus +} +#endif + + +#define utimbuf _utimbuf + +static inline int utime(const char* path, struct _utimbuf* buf) { return _utime(path, buf); } + +#include + +#endif /* __WINE_SYS_UTIME_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/time.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/time.h new file mode 100644 index 0000000..3a5e22f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/time.h @@ -0,0 +1,152 @@ +/* + * Time definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_TIME_H +#define __WINE_TIME_H + +#include + +#include + +#ifndef _CLOCK_T_DEFINED +typedef __msvcrt_long clock_t; +#define _CLOCK_T_DEFINED +#endif + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void *)0) +#endif +#endif + +#ifndef CLOCKS_PER_SEC +#define CLOCKS_PER_SEC 1000 +#endif + +#ifndef _TM_DEFINED +#define _TM_DEFINED +struct tm { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + int tm_year; + int tm_wday; + int tm_yday; + int tm_isdst; +}; +#endif /* _TM_DEFINED */ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __i386__ +#define _daylight (*__p__daylight()) +#define _dstbias (*__p__dstbias()) +#define _timezone (*__p__timezone()) +#define _tzname (__p__tzname()) + +int * __cdecl __p__daylight(void); +__msvcrt_long * __cdecl __p__dstbias(void); +__msvcrt_long * __cdecl __p__timezone(void); +char ** __cdecl __p__tzname(void); +#else +extern int _daylight; +extern __msvcrt_long _dstbias; +extern __msvcrt_long _timezone; +extern char *_tzname; +#endif + +#ifdef _USE_32BIT_TIME_T +#define _ctime32 ctime +#define _difftime32 difftime +#define _gmtime32 gmtime +#define _localtime32 localtime +#define _mktime32 mktime +#define _time32 time +#endif + +unsigned __cdecl _getsystime(struct tm*); +unsigned __cdecl _setsystime(struct tm*,unsigned); +char* __cdecl _strdate(char*); +errno_t __cdecl _strdate_s(char*,size_t); +char* __cdecl _strtime(char*); +errno_t __cdecl _strtime_s(char*,size_t); +void __cdecl _tzset(void); + +char* __cdecl asctime(const struct tm*); +clock_t __cdecl clock(void); +char* __cdecl _ctime32(const __time32_t*); +char* __cdecl _ctime64(const __time64_t*); +double __cdecl _difftime32(__time32_t,__time32_t); +double __cdecl _difftime64(__time64_t,__time64_t); +struct tm* __cdecl _gmtime32(const __time32_t*); +struct tm* __cdecl _gmtime64(const __time64_t*); +struct tm* __cdecl _localtime32(const __time32_t*); +errno_t __cdecl _localtime32_s(struct tm*, const __time64_t*); +struct tm* __cdecl _localtime64(const __time64_t*); +errno_t __cdecl _localtime64_s(struct tm*, const __time64_t*); +__time32_t __cdecl _mktime32(struct tm*); +__time64_t __cdecl _mktime64(struct tm*); +size_t __cdecl strftime(char*,size_t,const char*,const struct tm*); +__time32_t __cdecl _time32(__time32_t*); +__time64_t __cdecl _time64(__time64_t*); + +#ifndef _USE_32BIT_TIME_T +static inline char* ctime(const time_t *t) { return _ctime64(t); } +static inline double difftime(time_t t1, time_t t2) { return _difftime64(t1, t2); } +static inline struct tm* gmtime(const time_t *t) { return _gmtime64(t); } +static inline struct tm* localtime(const time_t *t) { return _localtime64(t); } +static inline time_t mktime(struct tm *tm) { return _mktime64(tm); } +static inline time_t time(time_t *t) { return _time64(t); } +#endif + +#ifndef _WTIME_DEFINED +#define _WTIME_DEFINED + +#ifdef _USE_32BIT_TIME_T +#define _wctime32 _wctime +#endif + +wchar_t* __cdecl _wasctime(const struct tm*); +size_t __cdecl wcsftime(wchar_t*,size_t,const wchar_t*,const struct tm*); +wchar_t* __cdecl _wctime32(const __time32_t*); +wchar_t* __cdecl _wctime64(const __time64_t*); +wchar_t* __cdecl _wstrdate(wchar_t*); +errno_t __cdecl _wstrdate_s(wchar_t*,size_t); +wchar_t* __cdecl _wstrtime(wchar_t*); +errno_t __cdecl _wstrtime_s(wchar_t*,size_t); + +#ifndef _USE_32BIT_TIME_T +static inline wchar_t* _wctime(const time_t *t) { return _wctime64(t); } +#endif + +#endif /* _WTIME_DEFINED */ + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_TIME_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/unistd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/unistd.h new file mode 100644 index 0000000..eca5c5e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/unistd.h @@ -0,0 +1,2 @@ +#include +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/wchar.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/wchar.h new file mode 100644 index 0000000..702fa67 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/wchar.h @@ -0,0 +1,484 @@ +/* + * Unicode definitions + * + * Derived from the mingw header written by Colin Peters. + * Modified for Wine use by Jon Griffiths and Francois Gouget. + * This file is in the public domain. + */ +#ifndef __WINE_WCHAR_H +#define __WINE_WCHAR_H + +#include +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void *)0) +#endif +#endif + +#define WCHAR_MIN 0 +#define WCHAR_MAX ((wchar_t)-1) + +#ifndef DECLSPEC_ALIGN +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) +# define DECLSPEC_ALIGN(x) __declspec(align(x)) +# elif defined(__GNUC__) +# define DECLSPEC_ALIGN(x) __attribute__((aligned(x))) +# else +# define DECLSPEC_ALIGN(x) +# endif +#endif + +typedef int mbstate_t; + +#ifndef WEOF +#define WEOF (wint_t)(0xFFFF) +#endif + +#ifndef _FSIZE_T_DEFINED +typedef __msvcrt_ulong _fsize_t; +#define _FSIZE_T_DEFINED +#endif + +#ifndef _DEV_T_DEFINED +typedef unsigned int _dev_t; +#define _DEV_T_DEFINED +#endif + +#ifndef _INO_T_DEFINED +typedef unsigned short _ino_t; +#define _INO_T_DEFINED +#endif + +#ifndef _OFF_T_DEFINED +typedef int _off_t; +#define _OFF_T_DEFINED +#endif + +#ifndef _TM_DEFINED +#define _TM_DEFINED +struct tm { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + int tm_year; + int tm_wday; + int tm_yday; + int tm_isdst; +}; +#endif /* _TM_DEFINED */ + +#ifndef _FILE_DEFINED +#define _FILE_DEFINED +typedef struct _iobuf +{ + char* _ptr; + int _cnt; + char* _base; + int _flag; + int _file; + int _charbuf; + int _bufsiz; + char* _tmpfname; +} FILE; +#endif /* _FILE_DEFINED */ + +#ifndef _WFINDDATA_T_DEFINED +#define _WFINDDATA_T_DEFINED + +struct _wfinddata_t { + unsigned attrib; + time_t time_create; + time_t time_access; + time_t time_write; + _fsize_t size; + wchar_t name[260]; +}; + +struct _wfinddatai64_t { + unsigned attrib; + time_t time_create; + time_t time_access; + time_t time_write; + __int64 DECLSPEC_ALIGN(8) size; + wchar_t name[260]; +}; + +#endif /* _WFINDDATA_T_DEFINED */ + +#ifndef _STAT_DEFINED +#define _STAT_DEFINED + +struct _stat { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct stat { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct _stat32 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + __time32_t st_atime; + __time32_t st_mtime; + __time32_t st_ctime; +}; + +struct _stat32i64 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + __int64 DECLSPEC_ALIGN(8) st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct _stat64i32 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + __time64_t st_atime; + __time64_t st_mtime; + __time64_t st_ctime; +}; + +struct _stati64 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + __int64 DECLSPEC_ALIGN(8) st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + +struct _stat64 { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + __int64 DECLSPEC_ALIGN(8) st_size; + __time64_t st_atime; + __time64_t st_mtime; + __time64_t st_ctime; +}; +#endif /* _STAT_DEFINED */ + +/* ASCII char classification table - binary compatible */ +#define _UPPER 0x0001 /* C1_UPPER */ +#define _LOWER 0x0002 /* C1_LOWER */ +#define _DIGIT 0x0004 /* C1_DIGIT */ +#define _SPACE 0x0008 /* C1_SPACE */ +#define _PUNCT 0x0010 /* C1_PUNCT */ +#define _CONTROL 0x0020 /* C1_CNTRL */ +#define _BLANK 0x0040 /* C1_BLANK */ +#define _HEX 0x0080 /* C1_XDIGIT */ +#define _LEADBYTE 0x8000 +#define _ALPHA (0x0100|_UPPER|_LOWER) /* (C1_ALPHA|_UPPER|_LOWER) */ + +#ifndef _WCTYPE_DEFINED +#define _WCTYPE_DEFINED +int __cdecl is_wctype(wint_t,wctype_t); +int __cdecl isleadbyte(int); +int __cdecl iswalnum(wint_t); +int __cdecl iswalpha(wint_t); +int __cdecl iswascii(wint_t); +int __cdecl iswcntrl(wint_t); +int __cdecl iswctype(wint_t,wctype_t); +int __cdecl iswdigit(wint_t); +int __cdecl iswgraph(wint_t); +int __cdecl iswlower(wint_t); +int __cdecl iswprint(wint_t); +int __cdecl iswpunct(wint_t); +int __cdecl iswspace(wint_t); +int __cdecl iswupper(wint_t); +int __cdecl iswxdigit(wint_t); +wchar_t __cdecl towlower(wchar_t); +wchar_t __cdecl towupper(wchar_t); +#endif /* _WCTYPE_DEFINED */ + +#ifndef _WDIRECT_DEFINED +#define _WDIRECT_DEFINED +int __cdecl _wchdir(const wchar_t*); +wchar_t* __cdecl _wgetcwd(wchar_t*,int); +wchar_t* __cdecl _wgetdcwd(int,wchar_t*,int); +int __cdecl _wmkdir(const wchar_t*); +int __cdecl _wrmdir(const wchar_t*); +#endif /* _WDIRECT_DEFINED */ + +#ifndef _WIO_DEFINED +#define _WIO_DEFINED +int __cdecl _waccess(const wchar_t*,int); +int __cdecl _wchmod(const wchar_t*,int); +int __cdecl _wcreat(const wchar_t*,int); +intptr_t __cdecl _wfindfirst(const wchar_t*,struct _wfinddata_t*); +intptr_t __cdecl _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*); +int __cdecl _wfindnext(intptr_t,struct _wfinddata_t*); +int __cdecl _wfindnexti64(intptr_t, struct _wfinddatai64_t*); +wchar_t* __cdecl _wmktemp(wchar_t*); +int __cdecl _wopen(const wchar_t*,int,...); +int __cdecl _wrename(const wchar_t*,const wchar_t*); +int __cdecl _wsopen(const wchar_t*,int,int,...); +int __cdecl _wunlink(const wchar_t*); +#endif /* _WIO_DEFINED */ + +#ifndef _WLOCALE_DEFINED +#define _WLOCALE_DEFINED +wchar_t* __cdecl _wsetlocale(int,const wchar_t*); +#endif /* _WLOCALE_DEFINED */ + +#ifndef _WPROCESS_DEFINED +#define _WPROCESS_DEFINED +int __cdecl _wexecl(const wchar_t*,const wchar_t*,...); +int __cdecl _wexecle(const wchar_t*,const wchar_t*,...); +int __cdecl _wexeclp(const wchar_t*,const wchar_t*,...); +int __cdecl _wexeclpe(const wchar_t*,const wchar_t*,...); +int __cdecl _wexecv(const wchar_t*,const wchar_t* const *); +int __cdecl _wexecve(const wchar_t*,const wchar_t* const *,const wchar_t* const *); +int __cdecl _wexecvp(const wchar_t*,const wchar_t* const *); +int __cdecl _wexecvpe(const wchar_t*,const wchar_t* const *,const wchar_t* const *); +int __cdecl _wspawnl(int,const wchar_t*,const wchar_t*,...); +int __cdecl _wspawnle(int,const wchar_t*,const wchar_t*,...); +int __cdecl _wspawnlp(int,const wchar_t*,const wchar_t*,...); +int __cdecl _wspawnlpe(int,const wchar_t*,const wchar_t*,...); +int __cdecl _wspawnv(int,const wchar_t*,const wchar_t* const *); +int __cdecl _wspawnve(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *); +int __cdecl _wspawnvp(int,const wchar_t*,const wchar_t* const *); +int __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *); +int __cdecl _wsystem(const wchar_t*); +#endif /* _WPROCESS_DEFINED */ + +#ifndef _WSTAT_DEFINED +#define _WSTAT_DEFINED +int __cdecl _wstat(const wchar_t*,struct _stat*); +int __cdecl _wstat32(const wchar_t*, struct _stat32*); +int __cdecl _wstati64(const wchar_t*,struct _stati64*); +int __cdecl _wstat64(const wchar_t*,struct _stat64*); +#endif /* _WSTAT_DEFINED */ + +#ifndef _WSTDIO_DEFINED +#define _WSTDIO_DEFINED +wint_t __cdecl _fgetwc_nolock(FILE*); +wint_t __cdecl _fgetwchar(void); +wint_t __cdecl _fputwc_nolock(wint_t,FILE*); +wint_t __cdecl _fputwchar(wint_t); +wint_t __cdecl _getwc_nolock(FILE*); +wchar_t* __cdecl _getws(wchar_t*); +wint_t __cdecl _putwc_nolock(wint_t,FILE*); +int __cdecl _putws(const wchar_t*); +int __cdecl _snwprintf(wchar_t*,size_t,const wchar_t*,...); +int __cdecl _snwprintf_s(wchar_t*,size_t,size_t,const wchar_t*,...); +int __cdecl _scwprintf(const wchar_t*,...); +wint_t __cdecl _ungetwc_nolock(wint_t,FILE*); +int __cdecl _vscwprintf(const wchar_t*,__ms_va_list); +int __cdecl _vscwprintf_p_l(const wchar_t*,_locale_t,__ms_va_list); +int __cdecl _vsnwprintf(wchar_t*,size_t,const wchar_t*,__ms_va_list); +int __cdecl _vsnwprintf_s(wchar_t*,size_t,size_t,const wchar_t*,__ms_va_list); +int __cdecl _vswprintf_p_l(wchar_t*,size_t,const wchar_t*,_locale_t,__ms_va_list); +FILE* __cdecl _wfdopen(int,const wchar_t*); +FILE* __cdecl _wfopen(const wchar_t*,const wchar_t*); +errno_t __cdecl _wfopen_s(FILE**,const wchar_t*,const wchar_t*); +FILE* __cdecl _wfreopen(const wchar_t*,const wchar_t*,FILE*); +FILE* __cdecl _wfsopen(const wchar_t*,const wchar_t*,int); +void __cdecl _wperror(const wchar_t*); +FILE* __cdecl _wpopen(const wchar_t*,const wchar_t*); +int __cdecl _wremove(const wchar_t*); +wchar_t* __cdecl _wtempnam(const wchar_t*,const wchar_t*); +wchar_t* __cdecl _wtmpnam(wchar_t*); + +wint_t __cdecl fgetwc(FILE*); +wchar_t* __cdecl fgetws(wchar_t*,int,FILE*); +wint_t __cdecl fputwc(wint_t,FILE*); +int __cdecl fputws(const wchar_t*,FILE*); +int __cdecl fwprintf(FILE*,const wchar_t*,...); +int __cdecl fwprintf_s(FILE*,const wchar_t*,...); +int __cdecl fputws(const wchar_t*,FILE*); +int __cdecl fwscanf(FILE*,const wchar_t*,...); +int __cdecl fwscanf_s(FILE*,const wchar_t*,...); +wint_t __cdecl getwc(FILE*); +wint_t __cdecl getwchar(void); +wchar_t* __cdecl getws(wchar_t*); +wint_t __cdecl putwc(wint_t,FILE*); +wint_t __cdecl putwchar(wint_t); +int __cdecl putws(const wchar_t*); +int __cdecl swprintf(wchar_t*,const wchar_t*,...); +int __cdecl swprintf_s(wchar_t*,size_t,const wchar_t*,...); +int __cdecl swscanf(const wchar_t*,const wchar_t*,...); +int __cdecl swscanf_s(const wchar_t*,const wchar_t*,...); +wint_t __cdecl ungetwc(wint_t,FILE*); +int __cdecl vfwprintf(FILE*,const wchar_t*,__ms_va_list); +int __cdecl vfwprintf_s(FILE*,const wchar_t*,__ms_va_list); +int __cdecl vswprintf(wchar_t*,const wchar_t*,__ms_va_list); +int __cdecl vswprintf_s(wchar_t*,size_t,const wchar_t*,__ms_va_list); +int __cdecl vwprintf(const wchar_t*,__ms_va_list); +int __cdecl vwprintf_s(const wchar_t*,__ms_va_list); +int __cdecl wprintf(const wchar_t*,...); +int __cdecl wprintf_s(const wchar_t*,...); +int __cdecl wscanf(const wchar_t*,...); +int __cdecl wscanf_s(const wchar_t*,...); +#endif /* _WSTDIO_DEFINED */ + +#ifndef _WSTDLIB_DEFINED +#define _WSTDLIB_DEFINED +wchar_t* __cdecl _itow(int,wchar_t*,int); +wchar_t* __cdecl _i64tow(__int64,wchar_t*,int); +wchar_t* __cdecl _ltow(__msvcrt_long,wchar_t*,int); +wchar_t* __cdecl _ui64tow(unsigned __int64,wchar_t*,int); +wchar_t* __cdecl _ultow(__msvcrt_ulong,wchar_t*,int); +wchar_t* __cdecl _wfullpath(wchar_t*,const wchar_t*,size_t); +wchar_t* __cdecl _wgetenv(const wchar_t*); +void __cdecl _wmakepath(wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*); +void __cdecl _wperror(const wchar_t*); +int __cdecl _wputenv(const wchar_t*); +void __cdecl _wsearchenv(const wchar_t*,const wchar_t*,wchar_t*); +void __cdecl _wsplitpath(const wchar_t*,wchar_t*,wchar_t*,wchar_t*,wchar_t*); +errno_t __cdecl _wsplitpath_s(const wchar_t*,wchar_t*,size_t,wchar_t*,size_t, + wchar_t*,size_t,wchar_t*,size_t); +int __cdecl _wsystem(const wchar_t*); +double __cdecl _wtof(const wchar_t*); +int __cdecl _wtoi(const wchar_t*); +__int64 __cdecl _wtoi64(const wchar_t*); +__msvcrt_long __cdecl _wtol(const wchar_t*); + +size_t __cdecl mbstowcs(wchar_t*,const char*,size_t); +errno_t __cdecl mbstowcs_s(size_t*,wchar_t*,size_t,const char*,size_t); +int __cdecl mbtowc(wchar_t*,const char*,size_t); +double __cdecl wcstod(const wchar_t*,wchar_t**); +__msvcrt_long __cdecl wcstol(const wchar_t*,wchar_t**,int); +size_t __cdecl wcstombs(char*,const wchar_t*,size_t); +errno_t __cdecl wcstombs_s(size_t*,char*,size_t,const wchar_t*,size_t); +__msvcrt_ulong __cdecl wcstoul(const wchar_t*,wchar_t**,int); +int __cdecl wctomb(char*,wchar_t); +#endif /* _WSTDLIB_DEFINED */ + +#ifndef _WSTRING_DEFINED +#define _WSTRING_DEFINED +int __cdecl _wcscoll_l(const wchar_t*,const wchar_t*,_locale_t); +wchar_t* __cdecl _wcsdup(const wchar_t*); +int __cdecl _wcsicmp(const wchar_t*,const wchar_t*); +int __cdecl _wcsicoll(const wchar_t*,const wchar_t*); +int __cdecl _wcsicoll_l(const wchar_t*,const wchar_t*,_locale_t); +wchar_t* __cdecl _wcslwr(wchar_t*); +int __cdecl _wcsncoll(const wchar_t*,const wchar_t*,size_t); +int __cdecl _wcsncoll_l(const wchar_t*,const wchar_t*,size_t,_locale_t); +int __cdecl _wcsnicmp(const wchar_t*,const wchar_t*,size_t); +int __cdecl _wcsnicoll(const wchar_t*,const wchar_t*,size_t); +int __cdecl _wcsnicoll_l(const wchar_t*,const wchar_t*,size_t,_locale_t); +wchar_t* __cdecl _wcsnset(wchar_t*,wchar_t,size_t); +wchar_t* __cdecl _wcsrev(wchar_t*); +wchar_t* __cdecl _wcsset(wchar_t*,wchar_t); +wchar_t* __cdecl _wcsupr(wchar_t*); + +wchar_t* __cdecl wcscat(wchar_t*,const wchar_t*); +errno_t __cdecl wcscat_s(wchar_t*,size_t,const wchar_t*); +wchar_t* __cdecl wcschr(const wchar_t*,wchar_t); +int __cdecl wcscmp(const wchar_t*,const wchar_t*); +int __cdecl wcscoll(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcscpy(wchar_t*,const wchar_t*); +errno_t __cdecl wcscpy_s(wchar_t*,size_t,const wchar_t*); +size_t __cdecl wcscspn(const wchar_t*,const wchar_t*); +size_t __cdecl wcslen(const wchar_t*); +wchar_t* __cdecl wcsncat(wchar_t*,const wchar_t*,size_t); +int __cdecl wcsncmp(const wchar_t*,const wchar_t*,size_t); +wchar_t* __cdecl wcsncpy(wchar_t*,const wchar_t*,size_t); +errno_t __cdecl wcsncpy_s(wchar_t*,size_t,const wchar_t*,size_t); +wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcsrchr(const wchar_t*,wchar_t wcFor); +size_t __cdecl wcsspn(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcsstr(const wchar_t*,const wchar_t*); +wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*); +size_t __cdecl wcsxfrm(wchar_t*,const wchar_t*,size_t); +#endif /* _WSTRING_DEFINED */ + +#ifndef _WTIME_DEFINED +#define _WTIME_DEFINED + +#ifdef _USE_32BIT_TIME_T +#define _wctime32 _wctime +#endif + +wchar_t* __cdecl _wasctime(const struct tm*); +size_t __cdecl wcsftime(wchar_t*,size_t,const wchar_t*,const struct tm*); +wchar_t* __cdecl _wctime32(const __time32_t*); +wchar_t* __cdecl _wctime64(const __time64_t*); +wchar_t* __cdecl _wstrdate(wchar_t*); +errno_t __cdecl _wstrdate_s(wchar_t*,size_t); +wchar_t* __cdecl _wstrtime(wchar_t*); +errno_t __cdecl _wstrtime_s(wchar_t*,size_t); + +#ifndef _USE_32BIT_TIME_T +static inline wchar_t* _wctime(const time_t *t) { return _wctime64(t); } +#endif + +#endif /* _WTIME_DEFINED */ + +wchar_t __cdecl btowc(int); +size_t __cdecl mbrlen(const char *,size_t,mbstate_t*); +size_t __cdecl mbrtowc(wchar_t*,const char*,size_t,mbstate_t*); +size_t __cdecl mbsrtowcs(wchar_t*,const char**,size_t,mbstate_t*); +size_t __cdecl wcrtomb(char*,wchar_t,mbstate_t*); +size_t __cdecl wcsrtombs(char*,const wchar_t**,size_t,mbstate_t*); +int __cdecl wctob(wint_t); + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_WCHAR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/wctype.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/wctype.h new file mode 100644 index 0000000..81c2e22 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/msvcrt/wctype.h @@ -0,0 +1,82 @@ +/* + * Unicode definitions + * + * Copyright 2000 Francois Gouget. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_WCTYPE_H +#define __WINE_WCTYPE_H + +#include + +#include + +/* ASCII char classification table - binary compatible */ +#define _UPPER 0x0001 /* C1_UPPER */ +#define _LOWER 0x0002 /* C1_LOWER */ +#define _DIGIT 0x0004 /* C1_DIGIT */ +#define _SPACE 0x0008 /* C1_SPACE */ +#define _PUNCT 0x0010 /* C1_PUNCT */ +#define _CONTROL 0x0020 /* C1_CNTRL */ +#define _BLANK 0x0040 /* C1_BLANK */ +#define _HEX 0x0080 /* C1_XDIGIT */ +#define _LEADBYTE 0x8000 +#define _ALPHA (0x0100|_UPPER|_LOWER) /* (C1_ALPHA|_UPPER|_LOWER) */ + +#ifndef WEOF +#define WEOF (wint_t)(0xFFFF) +#endif + +/* FIXME: there's something to do with __p__pctype and __p__pwctype */ + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _WCTYPE_DEFINED +#define _WCTYPE_DEFINED +int __cdecl is_wctype(wint_t,wctype_t); +int __cdecl isleadbyte(int); +int __cdecl iswalnum(wint_t); +int __cdecl iswalpha(wint_t); +int __cdecl iswascii(wint_t); +int __cdecl iswcntrl(wint_t); +int __cdecl iswctype(wint_t,wctype_t); +int __cdecl iswdigit(wint_t); +int __cdecl iswgraph(wint_t); +int __cdecl iswlower(wint_t); +int __cdecl iswprint(wint_t); +int __cdecl iswpunct(wint_t); +int __cdecl iswspace(wint_t); +int __cdecl iswupper(wint_t); +int __cdecl iswxdigit(wint_t); +wchar_t __cdecl towlower(wchar_t); +wchar_t __cdecl towupper(wchar_t); +#endif /* _WCTYPE_DEFINED */ + +typedef wchar_t wctrans_t; +wint_t __cdecl towctrans(wint_t,wctrans_t); +wctrans_t __cdecl wctrans(const char *); +wctype_t __cdecl wctype(const char *); + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_WCTYPE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/svcctl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/svcctl.h new file mode 100644 index 0000000..a9de711 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/svcctl.h @@ -0,0 +1,682 @@ +/*** Autogenerated by WIDL 2.18 from wine/svcctl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __svcctl_h__ +#define __svcctl_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include "winsvc.h" +#define SVCCTL_TRANSPORT {'n','c','a','c','n','_','n','p',0} +#define SVCCTL_TRANSPORTA "ncacn_np" +#define SVCCTL_ENDPOINT {'\\','p','i','p','e','\\','s','v','c','c','t','l',0} +#define SVCCTL_ENDPOINTA "\\pipe\\svcctl" +#define SVCCTL_STARTED_EVENT {'_','_','w','i','n','e','_','S','v','c','c','t','l','S','t','a','r','t','e','d',0} +#define SERVICE_PROTOCOL_MAGIC 0x57494e45 +#define SERVICE_CONTROL_START 0 +#define SERVICE_CONTROL_FORWARD_FLAG 0x80000000 +typedef struct service_start_info_t { + DWORD magic; + DWORD total_size; + DWORD name_size; + DWORD control; + BYTE data[1]; +} service_start_info; +/***************************************************************************** + * svcctl interface (v2.0) + */ +#ifndef __svcctl_INTERFACE_DEFINED__ +#define __svcctl_INTERFACE_DEFINED__ + +extern RPC_IF_HANDLE svcctl_v2_0_c_ifspec; +extern RPC_IF_HANDLE svcctl_v2_0_s_ifspec; +typedef LPCWSTR MACHINE_HANDLEW; +typedef LPCSTR MACHINE_HANDLEA; +typedef LPCWSTR SVCCTL_HANDLEW; +typedef void *SC_RPC_HANDLE; +typedef void *SC_RPC_LOCK; +typedef void *SC_NOTIFY_RPC_HANDLE; +#define SERVICE_SET_STATUS 0x8000 +#if 0 /* already defined in winsvc.h / winnt.h */ +typedef DWORD SECURITY_INFORMATION; +typedef struct _QUERY_SERVICE_CONFIGA { + DWORD dwServiceType; + DWORD dwStartType; + DWORD dwErrorControl; + LPSTR lpBinaryPathName; + LPSTR lpLoadOrderGroup; + DWORD dwTagId; + LPSTR lpDependencies; + LPSTR lpServiceStartName; + LPSTR lpDisplayName; +} QUERY_SERVICE_CONFIGA; +typedef struct _QUERY_SERVICE_CONFIGA *LPQUERY_SERVICE_CONFIGA; +typedef struct _QUERY_SERVICE_CONFIGW { + DWORD dwServiceType; + DWORD dwStartType; + DWORD dwErrorControl; + LPWSTR lpBinaryPathName; + LPWSTR lpLoadOrderGroup; + DWORD dwTagId; + LPWSTR lpDependencies; + LPWSTR lpServiceStartName; + LPWSTR lpDisplayName; +} QUERY_SERVICE_CONFIGW; +typedef struct _QUERY_SERVICE_CONFIGW *LPQUERY_SERVICE_CONFIGW; +typedef struct _SERVICE_STATUS { + DWORD dwServiceType; + DWORD dwCurrentState; + DWORD dwControlsAccepted; + DWORD dwWin32ExitCode; + DWORD dwServiceSpecificExitCode; + DWORD dwCheckPoint; + DWORD dwWaitHint; +} SERVICE_STATUS; +typedef struct _SERVICE_STATUS *LPSERVICE_STATUS; +typedef enum _SC_STATUS_TYPE { + SC_STATUS_PROCESS_INFO = 0 +} SC_STATUS_TYPE; +typedef struct _SERVICE_DESCRIPTIONA { + LPSTR lpDescription; +} SERVICE_DESCRIPTIONA; +typedef struct _SERVICE_DESCRIPTIONA *LPSERVICE_DESCRIPTIONA; +typedef struct _SERVICE_DESCRIPTIONW { + LPWSTR lpDescription; +} SERVICE_DESCRIPTIONW; +typedef struct _SERVICE_DESCRIPTIONW *LPSERVICE_DESCRIPTIONW; +typedef enum _SC_ACTION_TYPE { + SC_ACTION_NONE = 0, + SC_ACTION_RESTART = 1, + SC_ACTION_REBOOT = 2, + SC_ACTION_RUN_COMMAND = 3 +} SC_ACTION_TYPE; +typedef struct _SC_ACTION { + SC_ACTION_TYPE Type; + DWORD Delay; +} SC_ACTION; +typedef struct _SC_ACTION *LPSC_ACTION; +typedef struct _SERVICE_FAILURE_ACTIONSA { + DWORD dwResetPeriod; + LPSTR lpRebootMsg; + LPSTR lpCommand; + DWORD cActions; + SC_ACTION *lpsaActions; +} SERVICE_FAILURE_ACTIONSA; +typedef struct _SERVICE_FAILURE_ACTIONSA *LPSERVICE_FAILURE_ACTIONSA; +typedef struct _SERVICE_FAILURE_ACTIONSW { + DWORD dwResetPeriod; + LPWSTR lpRebootMsg; + LPWSTR lpCommand; + DWORD cActions; + SC_ACTION *lpsaActions; +} SERVICE_FAILURE_ACTIONSW; +typedef struct _SERVICE_FAILURE_ACTIONSW *LPSERVICE_FAILURE_ACTIONSW; +typedef struct _SERVICE_DELAYED_AUTO_START_INFO { + BOOL fDelayedAutostart; +} SERVICE_DELAYED_AUTO_START_INFO; +typedef struct _SERVICE_FAILURE_ACTIONS_FLAG { + BOOL fFailureActionsOnNonCrashFailures; +} SERVICE_FAILURE_ACTIONS_FLAG; +typedef struct _SERVICE_SID_INFO { + DWORD dwServiceSidType; +} SERVICE_SID_INFO; +typedef struct _SERVICE_PRESHUTDOWN_INFO { + DWORD dwPreshutdownTimeout; +} SERVICE_PRESHUTDOWN_INFO; +typedef struct _SERVICE_PRESHUTDOWN_INFO *LPSERVICE_PRESHUTDOWN_INFO; +typedef struct _ENUM_SERVICE_STATUSW { + LPWSTR lpServiceName; + LPWSTR lpDisplayName; + SERVICE_STATUS ServiceStatus; +} ENUM_SERVICE_STATUSW; +typedef struct _ENUM_SERVICE_STATUSW *LPENUM_SERVICE_STATUSW; +typedef struct _QUERY_SERVICE_LOCK_STATUSA { + DWORD fIsLocked; + LPSTR lpLockOwner; + DWORD dwLockDuration; +} QUERY_SERVICE_LOCK_STATUSA; +typedef struct _QUERY_SERVICE_LOCK_STATUSA *LPQUERY_SERVICE_LOCK_STATUSA; +typedef struct _QUERY_SERVICE_LOCK_STATUSW { + DWORD fIsLocked; + LPWSTR lpLockOwner; + DWORD dwLockDuration; +} QUERY_SERVICE_LOCK_STATUSW; +typedef struct _QUERY_SERVICE_LOCK_STATUSW *LPQUERY_SERVICE_LOCK_STATUSW; +typedef struct _SERVICE_STATUS_PROCESS { + DWORD dwServiceType; + DWORD dwCurrentState; + DWORD dwControlsAccepted; + DWORD dwWin32ExitCode; + DWORD dwServiceSpecificExitCode; + DWORD dwCheckPoint; + DWORD dwWaitHint; + DWORD dwProcessId; + DWORD dwServiceFlags; +} SERVICE_STATUS_PROCESS; +typedef struct _SERVICE_STATUS_PROCESS *LPSERVICE_STATUS_PROCESS; +typedef enum _SC_ENUM_TYPE { + SC_ENUM_PROCESS_INFO = 0 +} SC_ENUM_TYPE; +#endif +typedef struct _SERVICE_RPC_REQUIRED_PRIVILEGES_INFO { + DWORD cbRequiredPrivileges; + BYTE *pRequiredPrivileges; +} SERVICE_RPC_REQUIRED_PRIVILEGES_INFO; +typedef struct _SC_RPC_CONFIG_INFOW { + DWORD dwInfoLevel; + __C89_NAMELESS union { + SERVICE_DESCRIPTIONW *descr; + SERVICE_FAILURE_ACTIONSW *actions; + SERVICE_DELAYED_AUTO_START_INFO *delayedstart; + SERVICE_FAILURE_ACTIONS_FLAG *actionsflag; + SERVICE_SID_INFO *sid; + SERVICE_RPC_REQUIRED_PRIVILEGES_INFO *privinfo; + SERVICE_PRESHUTDOWN_INFO *preshutdown; + } __C89_NAMELESSUNIONNAME; +} SC_RPC_CONFIG_INFOW; +typedef struct _SC_RPC_CONFIG_INFOA { + DWORD dwInfoLevel; + __C89_NAMELESS union { + SERVICE_DESCRIPTIONA *descr; + SERVICE_FAILURE_ACTIONSA *actions; + SERVICE_DELAYED_AUTO_START_INFO *delayedstart; + SERVICE_FAILURE_ACTIONS_FLAG *actionsflag; + SERVICE_SID_INFO *sid; + SERVICE_RPC_REQUIRED_PRIVILEGES_INFO *privinfo; + SERVICE_PRESHUTDOWN_INFO *preshutdown; + } __C89_NAMELESSUNIONNAME; +} SC_RPC_CONFIG_INFOA; +typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1 { + ULONGLONG ullThreadId; + DWORD dwNotifyMask; + UCHAR CallbackAddressArray[16]; + UCHAR CallbackParamAddressArray[16]; + SERVICE_STATUS_PROCESS ServiceStatus; + DWORD dwNotificationStatus; + DWORD dwSequence; +} SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1; +typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1 *PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1; +typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 { + ULONGLONG ullThreadId; + DWORD dwNotifyMask; + UCHAR CallbackAddressArray[16]; + UCHAR CallbackParamAddressArray[16]; + SERVICE_STATUS_PROCESS ServiceStatus; + DWORD dwNotificationStatus; + DWORD dwSequence; + DWORD dwNotificationTriggered; + LPWSTR pszServiceNames; +} SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2; +typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 *PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2; +typedef struct _SC_RPC_NOTIFY_PARAMS { + DWORD dwInfoLevel; + __C89_NAMELESS union { + SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1 *params1; + SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 *params; + } __C89_NAMELESSUNIONNAME; +} SC_RPC_NOTIFY_PARAMS; +typedef struct _SC_RPC_NOTIFY_PARAMS_LIST { + DWORD cElements; + SC_RPC_NOTIFY_PARAMS NotifyParamsArray[1]; +} SC_RPC_NOTIFY_PARAMS_LIST; +typedef struct _SC_RPC_NOTIFY_PARAMS_LIST *PSC_RPC_NOTIFY_PARAMS_LIST; +typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA { + DWORD dwReason; + LPSTR pszComment; +} SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA; +typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA *PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSA; +typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW { + DWORD dwReason; + LPWSTR pszComment; +} SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW; +typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW *PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSW; +typedef union _SC_RPC_SERVICE_CONTROL_IN_PARAMSA { + PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSA psrInParams; +} SC_RPC_SERVICE_CONTROL_IN_PARAMSA; +typedef union _SC_RPC_SERVICE_CONTROL_IN_PARAMSA *PSC_RPC_SERVICE_CONTROL_IN_PARAMSA; +typedef union _SC_RPC_SERVICE_CONTROL_IN_PARAMSW { + PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSW psrInParams; +} SC_RPC_SERVICE_CONTROL_IN_PARAMSW; +typedef union _SC_RPC_SERVICE_CONTROL_IN_PARAMSW *PSC_RPC_SERVICE_CONTROL_IN_PARAMSW; +typedef struct _SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS { + SERVICE_STATUS_PROCESS ServiceStatus; +} SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS; +typedef struct _SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS *PSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS; +typedef union _SC_RPC_SERVICE_CONTROL_OUT_PARAMSA { + PSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS psrOutParams; +} SC_RPC_SERVICE_CONTROL_OUT_PARAMSA; +typedef union _SC_RPC_SERVICE_CONTROL_OUT_PARAMSA *PSC_RPC_SERVICE_CONTROL_OUT_PARAMSA; +typedef union _SC_RPC_SERVICE_CONTROL_OUT_PARAMSW { + PSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS psrOutParams; +} SC_RPC_SERVICE_CONTROL_OUT_PARAMSW; +typedef union _SC_RPC_SERVICE_CONTROL_OUT_PARAMSW *PSC_RPC_SERVICE_CONTROL_OUT_PARAMSW; +DWORD __cdecl svcctl_CloseServiceHandle( + SC_RPC_HANDLE *handle); + +DWORD __cdecl svcctl_ControlService( + SC_RPC_HANDLE hService, + DWORD dwControl, + SERVICE_STATUS *lpServiceStatus); + +DWORD __cdecl svcctl_DeleteService( + SC_RPC_HANDLE hService); + +DWORD __cdecl svcctl_LockServiceDatabase( + SC_RPC_HANDLE hSCManager, + SC_RPC_LOCK *phLock); + +DWORD __cdecl svcctl_QueryServiceObjectSecurity( + SC_RPC_HANDLE service, + SECURITY_INFORMATION info, + BYTE *descriptor, + DWORD buf_size, + DWORD *needed_size); + +DWORD __cdecl svcctl_SetServiceObjectSecurity( + SC_RPC_HANDLE service, + SECURITY_INFORMATION info, + BYTE *descriptor, + DWORD buf_size); + +DWORD __cdecl svcctl_QueryServiceStatus( + SC_RPC_HANDLE service, + SERVICE_STATUS *status); + +DWORD __cdecl svcctl_SetServiceStatus( + SC_RPC_HANDLE hServiceStatus, + LPSERVICE_STATUS lpServiceStatus); + +DWORD __cdecl svcctl_UnlockServiceDatabase( + SC_RPC_LOCK *phLock); + +DWORD __cdecl svcctl_NotifyBootConfigStatus( + SVCCTL_HANDLEW machinename, + DWORD boot_acceptable); + +DWORD __cdecl svcctl_SCSetServiceBitsW( + void); + +DWORD __cdecl svcctl_ChangeServiceConfigW( + SC_RPC_HANDLE hService, + DWORD dwServiceType, + DWORD dwStartType, + DWORD dwErrorControl, + LPCWSTR lpBinaryPathName, + LPCWSTR lpLoadOrderGroupKey, + DWORD *lpdwTagId, + const BYTE *lpDependencies, + DWORD dwDependenciesSize, + LPCWSTR lpServiceStartName, + const BYTE *lpPassword, + DWORD dwPasswordSize, + LPCWSTR lpDisplayName); + +DWORD __cdecl svcctl_CreateServiceW( + SC_RPC_HANDLE hSCManager, + LPCWSTR lpServiceName, + LPCWSTR lpDisplayName, + DWORD dwDesiredAccess, + DWORD dwServiceType, + DWORD dwStartType, + DWORD dwErrorControl, + LPCWSTR lpBinaryPathName, + LPCWSTR lpLoadOrderGroup, + DWORD *lpdwTagId, + const BYTE *lpDependencies, + DWORD dwDependenciesSize, + LPCWSTR lpServiceStartName, + const BYTE *lpPassword, + DWORD dwPasswordSize, + SC_RPC_HANDLE *phService); + +DWORD __cdecl svcctl_EnumDependentServicesW( + SC_RPC_HANDLE service, + DWORD state, + BYTE *services, + DWORD buf_size, + DWORD *needed_size, + DWORD *services_ret); + +DWORD __cdecl svcctl_EnumServicesStatusW( + SC_RPC_HANDLE hmngr, + DWORD type, + DWORD state, + BYTE *buffer, + DWORD size, + LPDWORD needed, + LPDWORD returned, + LPDWORD resume); + +DWORD __cdecl svcctl_OpenSCManagerW( + MACHINE_HANDLEW MachineName, + LPCWSTR DatabaseName, + DWORD dwAccessMask, + SC_RPC_HANDLE *handle); + +DWORD __cdecl svcctl_OpenServiceW( + SC_RPC_HANDLE hSCManager, + LPCWSTR lpServiceName, + DWORD dwDesiredAccess, + SC_RPC_HANDLE *phService); + +DWORD __cdecl svcctl_QueryServiceConfigW( + SC_RPC_HANDLE hService, + QUERY_SERVICE_CONFIGW *config, + DWORD buf_size, + DWORD *needed_size); + +DWORD __cdecl svcctl_QueryServiceLockStatusW( + SC_RPC_HANDLE scmanager, + QUERY_SERVICE_LOCK_STATUSW *status, + DWORD buf_size, + DWORD *needed_size); + +DWORD __cdecl svcctl_StartServiceW( + SC_RPC_HANDLE hService, + DWORD dwNumServiceArgs, + LPCWSTR *lpServiceArgVectors); + +DWORD __cdecl svcctl_GetServiceDisplayNameW( + SC_RPC_HANDLE hSCManager, + LPCWSTR lpServiceName, + WCHAR lpBuffer[], + DWORD *cchBufSize); + +DWORD __cdecl svcctl_GetServiceKeyNameW( + SC_RPC_HANDLE hSCManager, + LPCWSTR lpServiceDisplayName, + WCHAR lpBuffer[], + DWORD *cchBufSize); + +DWORD __cdecl svcctl_SCSetServiceBitsA( + void); + +DWORD __cdecl svcctl_ChangeServiceConfigA( + SC_RPC_HANDLE service, + DWORD service_type, + DWORD start_type, + DWORD error_control, + LPSTR binarypath, + LPSTR loadordergroup, + DWORD *tagid, + BYTE *dependencies, + DWORD depend_size, + LPSTR startname, + BYTE *password, + DWORD password_size, + LPSTR displayname); + +DWORD __cdecl svcctl_CreateServiceA( + SC_RPC_HANDLE scmanager, + LPCSTR servicename, + LPCSTR displayname, + DWORD desiredaccess, + DWORD service_type, + DWORD start_type, + DWORD error_control, + LPCSTR binarypath, + LPCSTR loadordergroup, + DWORD *tagid, + const BYTE *dependencies, + DWORD depend_size, + LPCSTR startname, + const BYTE *password, + DWORD password_size, + SC_RPC_HANDLE *service); + +DWORD __cdecl svcctl_EnumDependentServicesA( + SC_RPC_HANDLE service, + DWORD state, + BYTE *services, + DWORD buf_size, + DWORD *needed_size, + DWORD *services_ret); + +DWORD __cdecl svcctl_EnumServicesStatusA( + SC_RPC_HANDLE hmngr, + DWORD type, + DWORD state, + BYTE *buffer, + DWORD size, + DWORD *needed, + DWORD *returned, + DWORD *resume); + +DWORD __cdecl svcctl_OpenSCManagerA( + MACHINE_HANDLEA MachineName, + LPCSTR DatabaseName, + DWORD dwAccessMask, + SC_RPC_HANDLE *handle); + +DWORD __cdecl svcctl_OpenServiceA( + SC_RPC_HANDLE hSCManager, + LPCSTR lpServiceName, + DWORD dwDesiredAccess, + SC_RPC_HANDLE *phService); + +DWORD __cdecl svcctl_QueryServiceConfigA( + SC_RPC_HANDLE hService, + QUERY_SERVICE_CONFIGA *config, + DWORD buf_size, + DWORD *needed_size); + +DWORD __cdecl svcctl_QueryServiceLockStatusA( + SC_RPC_HANDLE scmanager, + QUERY_SERVICE_LOCK_STATUSA *status, + DWORD buf_size, + DWORD *needed_size); + +DWORD __cdecl svcctl_StartServiceA( + SC_RPC_HANDLE service, + DWORD argc, + LPCSTR *args); + +DWORD __cdecl svcctl_GetServiceDisplayNameA( + SC_RPC_HANDLE hSCManager, + LPCSTR servicename, + CHAR buffer[], + DWORD *buf_size); + +DWORD __cdecl svcctl_GetServiceKeyNameA( + SC_RPC_HANDLE hSCManager, + LPCSTR servicename, + CHAR buffer[], + DWORD *buf_size); + +DWORD __cdecl svcctl_GetCurrentGroupStateW( + void); + +DWORD __cdecl svcctl_EnumServiceGroupW( + SC_RPC_HANDLE scmanager, + DWORD service_type, + DWORD service_state, + BYTE *buffer, + DWORD buf_size, + DWORD *needed_size, + DWORD *returned_size, + DWORD *resume_index, + LPCWSTR groupname); + +DWORD __cdecl svcctl_ChangeServiceConfig2A( + SC_RPC_HANDLE service, + SC_RPC_CONFIG_INFOA info); + +DWORD __cdecl svcctl_ChangeServiceConfig2W( + SC_RPC_HANDLE service, + SC_RPC_CONFIG_INFOW info); + +DWORD __cdecl svcctl_QueryServiceConfig2A( + SC_RPC_HANDLE service, + DWORD info_level, + BYTE *buffer, + DWORD buf_size, + DWORD *needed_size); + +DWORD __cdecl svcctl_QueryServiceConfig2W( + SC_RPC_HANDLE hService, + DWORD InfoLevel, + BYTE lpBuffer[], + DWORD cbBufSize, + LPDWORD pcbBytesNeeded); + +DWORD __cdecl svcctl_QueryServiceStatusEx( + SC_RPC_HANDLE hService, + SC_STATUS_TYPE InfoLevel, + BYTE *lpBuffer, + DWORD cbBufSize, + LPDWORD pcbBytesNeeded); + +DWORD __cdecl svcctl_EnumServicesStatusExA( + SC_RPC_HANDLE scmanager, + SC_ENUM_TYPE info_level, + DWORD service_type, + DWORD service_state, + BYTE *buffer, + DWORD buf_size, + DWORD *needed_size, + DWORD *services_count, + DWORD *resume_index, + LPCSTR groupname); + +DWORD __cdecl svcctl_EnumServicesStatusExW( + SC_RPC_HANDLE scmanager, + SC_ENUM_TYPE info_level, + DWORD service_type, + DWORD service_state, + BYTE *buffer, + DWORD buf_size, + DWORD *needed_size, + DWORD *services_count, + DWORD *resume_index, + LPCWSTR groupname); + +DWORD __cdecl svcctl_unknown43( + void); + +DWORD __cdecl svcctl_CreateServiceWOW64A( + SC_RPC_HANDLE scmanager, + LPCSTR servicename, + LPCSTR displayname, + DWORD accessmask, + DWORD service_type, + DWORD start_type, + DWORD error_control, + LPCSTR imagepath, + LPCSTR loadordergroup, + DWORD *tagid, + const BYTE *dependencies, + DWORD depend_size, + LPCSTR start_name, + const BYTE *password, + DWORD password_size, + SC_RPC_HANDLE *service); + +DWORD __cdecl svcctl_CreateServiceWOW64W( + SC_RPC_HANDLE scmanager, + LPCWSTR servicename, + LPCWSTR displayname, + DWORD accessmask, + DWORD service_type, + DWORD start_type, + DWORD error_control, + LPCWSTR imagepath, + LPCWSTR loadordergroup, + DWORD *tagid, + const BYTE *dependencies, + DWORD depend_size, + LPCWSTR start_name, + const BYTE *password, + DWORD password_size, + SC_RPC_HANDLE *service); + +DWORD __cdecl svcctl_unknown46( + void); + +DWORD __cdecl svcctl_NotifyServiceStatusChange( + SC_RPC_HANDLE service, + SC_RPC_NOTIFY_PARAMS params, + GUID *clientprocessguid, + GUID *scmprocessguid, + BOOL *createremotequeue, + SC_NOTIFY_RPC_HANDLE *notify); + +DWORD __cdecl svcctl_GetNotifyResults( + SC_NOTIFY_RPC_HANDLE notify, + SC_RPC_NOTIFY_PARAMS_LIST **params); + +DWORD __cdecl svcctl_CloseNotifyHandle( + SC_NOTIFY_RPC_HANDLE *notify, + BOOL *apc_fired); + +DWORD __cdecl svcctl_ControlServiceExA( + SC_RPC_HANDLE service, + DWORD control, + DWORD info_level, + SC_RPC_SERVICE_CONTROL_IN_PARAMSA *in_params, + SC_RPC_SERVICE_CONTROL_OUT_PARAMSA *out_params); + +DWORD __cdecl svcctl_ControlServiceExW( + SC_RPC_HANDLE service, + DWORD control, + DWORD info_level, + SC_RPC_SERVICE_CONTROL_IN_PARAMSW *in_params, + SC_RPC_SERVICE_CONTROL_OUT_PARAMSW *out_params); + +DWORD __cdecl svcctl_unknown52( + void); + +DWORD __cdecl svcctl_unknown53( + void); + +DWORD __cdecl svcctl_unknown54( + void); + +DWORD __cdecl svcctl_unknown55( + void); + +DWORD __cdecl svcctl_QueryServiceConfigEx( + SC_RPC_HANDLE service, + DWORD info_level, + SC_RPC_CONFIG_INFOW *info); + + +#endif /* __svcctl_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +handle_t __RPC_USER SVCCTL_HANDLEW_bind(SVCCTL_HANDLEW); +void __RPC_USER SVCCTL_HANDLEW_unbind(SVCCTL_HANDLEW, handle_t); +handle_t __RPC_USER MACHINE_HANDLEW_bind(MACHINE_HANDLEW); +void __RPC_USER MACHINE_HANDLEW_unbind(MACHINE_HANDLEW, handle_t); +handle_t __RPC_USER MACHINE_HANDLEA_bind(MACHINE_HANDLEA); +void __RPC_USER MACHINE_HANDLEA_unbind(MACHINE_HANDLEA, handle_t); +void __RPC_USER SC_RPC_HANDLE_rundown(SC_RPC_HANDLE); +void __RPC_USER SC_RPC_LOCK_rundown(SC_RPC_LOCK); +void __RPC_USER SC_NOTIFY_RPC_HANDLE_rundown(SC_NOTIFY_RPC_HANDLE); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __svcctl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/svcctl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/svcctl.idl new file mode 100644 index 0000000..9fd5ca4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/svcctl.idl @@ -0,0 +1,787 @@ +/* + * svcctl interface definitions - exported by services.exe to access the + * services database + * + * Copyright 2007 Google (Mikolaj Zalewski) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; + +/* + * some defined for the C code + */ +cpp_quote("#include \"winsvc.h\"") +cpp_quote("#define SVCCTL_TRANSPORT {'n','c','a','c','n','_','n','p',0}") +cpp_quote("#define SVCCTL_TRANSPORTA \"ncacn_np\"") +cpp_quote("#define SVCCTL_ENDPOINT {'\\\\','p','i','p','e','\\\\','s','v','c','c','t','l',0}") +cpp_quote("#define SVCCTL_ENDPOINTA \"\\\\pipe\\\\svcctl\"") + +/* Not the Windows event name - if needed the true one can be found in Inside Windows */ +cpp_quote("#define SVCCTL_STARTED_EVENT {'_','_','w','i','n','e','_','S','v','c','c','t','l','S','t','a','r','t','e','d',0}") + +/* Service startup protocol over control pipe - not compatible with Windows */ +cpp_quote("#define SERVICE_PROTOCOL_MAGIC 0x57494e45") +cpp_quote("#define SERVICE_CONTROL_START 0") +cpp_quote("#define SERVICE_CONTROL_FORWARD_FLAG 0x80000000") + +typedef struct service_start_info_t +{ + DWORD magic; /* protocol magic */ + DWORD total_size; /* total request size */ + DWORD name_size; /* size of name in data buffer */ + DWORD control; /* control code */ + BYTE data[1]; +} service_start_info; + +[ + uuid(367abb81-9844-35f1-ad32-98f038001003), + version(2.0), + pointer_default(unique), + endpoint("ncacn_np:[\\pipe\\svcctl]") +] +interface svcctl +{ + /* handle types */ + typedef [handle] LPCWSTR MACHINE_HANDLEW; + typedef [handle] LPCSTR MACHINE_HANDLEA; + typedef [handle] LPCWSTR SVCCTL_HANDLEW; + typedef [context_handle] void *SC_RPC_HANDLE; + typedef [context_handle] void *SC_RPC_LOCK; + typedef [context_handle] void *SC_NOTIFY_RPC_HANDLE; + + /* undocumented access rights */ + cpp_quote("#define SERVICE_SET_STATUS 0x8000") + +cpp_quote("#if 0 /* already defined in winsvc.h / winnt.h */") + +typedef DWORD SECURITY_INFORMATION; + +typedef struct _QUERY_SERVICE_CONFIGA { + DWORD dwServiceType; + DWORD dwStartType; + DWORD dwErrorControl; + LPSTR lpBinaryPathName; + LPSTR lpLoadOrderGroup; + DWORD dwTagId; + LPSTR lpDependencies; + LPSTR lpServiceStartName; + LPSTR lpDisplayName; +} QUERY_SERVICE_CONFIGA, *LPQUERY_SERVICE_CONFIGA; + +typedef struct _QUERY_SERVICE_CONFIGW { + DWORD dwServiceType; + DWORD dwStartType; + DWORD dwErrorControl; + [unique] LPWSTR lpBinaryPathName; + [unique] LPWSTR lpLoadOrderGroup; + DWORD dwTagId; + [unique] LPWSTR lpDependencies; + [unique] LPWSTR lpServiceStartName; + [unique] LPWSTR lpDisplayName; +} QUERY_SERVICE_CONFIGW, *LPQUERY_SERVICE_CONFIGW; + +typedef struct _SERVICE_STATUS { + DWORD dwServiceType; + DWORD dwCurrentState; + DWORD dwControlsAccepted; + DWORD dwWin32ExitCode; + DWORD dwServiceSpecificExitCode; + DWORD dwCheckPoint; + DWORD dwWaitHint; +} SERVICE_STATUS, *LPSERVICE_STATUS; + +typedef enum _SC_STATUS_TYPE { + SC_STATUS_PROCESS_INFO = 0 +} SC_STATUS_TYPE; + +typedef struct _SERVICE_DESCRIPTIONA { + LPSTR lpDescription; +} SERVICE_DESCRIPTIONA,*LPSERVICE_DESCRIPTIONA; + +typedef struct _SERVICE_DESCRIPTIONW { + LPWSTR lpDescription; +} SERVICE_DESCRIPTIONW,*LPSERVICE_DESCRIPTIONW; + +typedef enum _SC_ACTION_TYPE { + SC_ACTION_NONE = 0, + SC_ACTION_RESTART = 1, + SC_ACTION_REBOOT = 2, + SC_ACTION_RUN_COMMAND = 3 +} SC_ACTION_TYPE; + +typedef struct _SC_ACTION { + SC_ACTION_TYPE Type; + DWORD Delay; +} SC_ACTION,*LPSC_ACTION; + +typedef struct _SERVICE_FAILURE_ACTIONSA { + DWORD dwResetPeriod; + [unique] LPSTR lpRebootMsg; + [unique] LPSTR lpCommand; + DWORD cActions; + [size_is(cActions)] SC_ACTION *lpsaActions; +} SERVICE_FAILURE_ACTIONSA,*LPSERVICE_FAILURE_ACTIONSA; + +typedef struct _SERVICE_FAILURE_ACTIONSW { + DWORD dwResetPeriod; + [unique] LPWSTR lpRebootMsg; + [unique] LPWSTR lpCommand; + DWORD cActions; + [size_is(cActions)] SC_ACTION *lpsaActions; +} SERVICE_FAILURE_ACTIONSW,*LPSERVICE_FAILURE_ACTIONSW; + +typedef struct _SERVICE_DELAYED_AUTO_START_INFO { + BOOL fDelayedAutostart; +} SERVICE_DELAYED_AUTO_START_INFO; + +typedef struct _SERVICE_FAILURE_ACTIONS_FLAG { + BOOL fFailureActionsOnNonCrashFailures; +} SERVICE_FAILURE_ACTIONS_FLAG; + +typedef struct _SERVICE_SID_INFO { + DWORD dwServiceSidType; +} SERVICE_SID_INFO; + +typedef struct _SERVICE_PRESHUTDOWN_INFO { + DWORD dwPreshutdownTimeout; +} SERVICE_PRESHUTDOWN_INFO,*LPSERVICE_PRESHUTDOWN_INFO; + +#define SERVICE_CONFIG_DESCRIPTION 1 +#define SERVICE_CONFIG_FAILURE_ACTIONS 2 +#define SERVICE_CONFIG_DELAYED_AUTO_START_INFO 3 +#define SERVICE_CONFIG_FAILURE_ACTIONS_FLAG 4 +#define SERVICE_CONFIG_SERVICE_SID_INFO 5 +#define SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO 6 +#define SERVICE_CONFIG_PRESHUTDOWN_INFO 7 + +#define SERVICE_NOTIFY_STATUS_CHANGE_1 1 +#define SERVICE_NOTIFY_STATUS_CHANGE_2 2 + +typedef struct _ENUM_SERVICE_STATUSW { + LPWSTR lpServiceName; + LPWSTR lpDisplayName; + SERVICE_STATUS ServiceStatus; +} ENUM_SERVICE_STATUSW, *LPENUM_SERVICE_STATUSW; + +typedef struct _QUERY_SERVICE_LOCK_STATUSA +{ + DWORD fIsLocked; + LPSTR lpLockOwner; + DWORD dwLockDuration; +} QUERY_SERVICE_LOCK_STATUSA, *LPQUERY_SERVICE_LOCK_STATUSA; + +typedef struct _QUERY_SERVICE_LOCK_STATUSW +{ + DWORD fIsLocked; + LPWSTR lpLockOwner; + DWORD dwLockDuration; +} QUERY_SERVICE_LOCK_STATUSW, *LPQUERY_SERVICE_LOCK_STATUSW; + +typedef struct _SERVICE_STATUS_PROCESS +{ + DWORD dwServiceType; + DWORD dwCurrentState; + DWORD dwControlsAccepted; + DWORD dwWin32ExitCode; + DWORD dwServiceSpecificExitCode; + DWORD dwCheckPoint; + DWORD dwWaitHint; + DWORD dwProcessId; + DWORD dwServiceFlags; +} SERVICE_STATUS_PROCESS, *LPSERVICE_STATUS_PROCESS; + +typedef enum _SC_ENUM_TYPE { + SC_ENUM_PROCESS_INFO = 0 +} SC_ENUM_TYPE; + +cpp_quote("#endif") + +typedef struct _SERVICE_RPC_REQUIRED_PRIVILEGES_INFO { + DWORD cbRequiredPrivileges; + [size_is(cbRequiredPrivileges)] BYTE *pRequiredPrivileges; +} SERVICE_RPC_REQUIRED_PRIVILEGES_INFO; + +typedef struct _SC_RPC_CONFIG_INFOW { + DWORD dwInfoLevel; + [switch_is(dwInfoLevel)] union { + [case(SERVICE_CONFIG_DESCRIPTION)] SERVICE_DESCRIPTIONW *descr; + [case(SERVICE_CONFIG_FAILURE_ACTIONS)] SERVICE_FAILURE_ACTIONSW *actions; + [case(SERVICE_CONFIG_DELAYED_AUTO_START_INFO)] SERVICE_DELAYED_AUTO_START_INFO *delayedstart; + [case(SERVICE_CONFIG_FAILURE_ACTIONS_FLAG)] SERVICE_FAILURE_ACTIONS_FLAG *actionsflag; + [case(SERVICE_CONFIG_SERVICE_SID_INFO)] SERVICE_SID_INFO *sid; + [case(SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO)] SERVICE_RPC_REQUIRED_PRIVILEGES_INFO *privinfo; + [case(SERVICE_CONFIG_PRESHUTDOWN_INFO)] SERVICE_PRESHUTDOWN_INFO *preshutdown; + }; +} SC_RPC_CONFIG_INFOW; + +typedef struct _SC_RPC_CONFIG_INFOA { + DWORD dwInfoLevel; + [switch_is(dwInfoLevel)] union { + [case(SERVICE_CONFIG_DESCRIPTION)] SERVICE_DESCRIPTIONA *descr; + [case(SERVICE_CONFIG_FAILURE_ACTIONS)] SERVICE_FAILURE_ACTIONSA *actions; + [case(SERVICE_CONFIG_DELAYED_AUTO_START_INFO)] SERVICE_DELAYED_AUTO_START_INFO *delayedstart; + [case(SERVICE_CONFIG_FAILURE_ACTIONS_FLAG)] SERVICE_FAILURE_ACTIONS_FLAG *actionsflag; + [case(SERVICE_CONFIG_SERVICE_SID_INFO)] SERVICE_SID_INFO *sid; + [case(SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO)] SERVICE_RPC_REQUIRED_PRIVILEGES_INFO *privinfo; + [case(SERVICE_CONFIG_PRESHUTDOWN_INFO)] SERVICE_PRESHUTDOWN_INFO *preshutdown; + }; +} SC_RPC_CONFIG_INFOA; + +typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1 { + ULONGLONG ullThreadId; + DWORD dwNotifyMask; + UCHAR CallbackAddressArray[16]; + UCHAR CallbackParamAddressArray[16]; + SERVICE_STATUS_PROCESS ServiceStatus; + DWORD dwNotificationStatus; + DWORD dwSequence; +} SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1, *PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1; + +typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 { + ULONGLONG ullThreadId; + DWORD dwNotifyMask; + UCHAR CallbackAddressArray[16]; + UCHAR CallbackParamAddressArray[16]; + SERVICE_STATUS_PROCESS ServiceStatus; + DWORD dwNotificationStatus; + DWORD dwSequence; + DWORD dwNotificationTriggered; + [string] LPWSTR pszServiceNames; +} SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2, *PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2; + +typedef struct _SC_RPC_NOTIFY_PARAMS { + DWORD dwInfoLevel; + [switch_is(dwInfoLevel)] union { + [case(SERVICE_NOTIFY_STATUS_CHANGE_1)] SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1 *params1; + [case(SERVICE_NOTIFY_STATUS_CHANGE_2)] SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 *params; + }; +} SC_RPC_NOTIFY_PARAMS; + +typedef struct _SC_RPC_NOTIFY_PARAMS_LIST { + DWORD cElements; + [size_is(cElements)] SC_RPC_NOTIFY_PARAMS NotifyParamsArray[]; +} SC_RPC_NOTIFY_PARAMS_LIST, *PSC_RPC_NOTIFY_PARAMS_LIST; + +typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA { + DWORD dwReason; + [string] LPSTR pszComment; +} SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA, *PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSA; + +typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW { + DWORD dwReason; + [string] LPWSTR pszComment; +} SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW, *PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSW; + +typedef [switch_type(DWORD)] union _SC_RPC_SERVICE_CONTROL_IN_PARAMSA { + [case(1)] PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSA psrInParams; +} SC_RPC_SERVICE_CONTROL_IN_PARAMSA, *PSC_RPC_SERVICE_CONTROL_IN_PARAMSA; + +typedef [switch_type(DWORD)] union _SC_RPC_SERVICE_CONTROL_IN_PARAMSW { + [case(1)] PSERVICE_CONTROL_STATUS_REASON_IN_PARAMSW psrInParams; +} SC_RPC_SERVICE_CONTROL_IN_PARAMSW, *PSC_RPC_SERVICE_CONTROL_IN_PARAMSW; + +typedef struct _SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS { + SERVICE_STATUS_PROCESS ServiceStatus; +} SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS, *PSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS; + +typedef [switch_type(DWORD)] union _SC_RPC_SERVICE_CONTROL_OUT_PARAMSA { + [case(1)] PSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS psrOutParams; +} SC_RPC_SERVICE_CONTROL_OUT_PARAMSA, *PSC_RPC_SERVICE_CONTROL_OUT_PARAMSA; + +typedef [switch_type(DWORD)] union _SC_RPC_SERVICE_CONTROL_OUT_PARAMSW { + [case(1)] PSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS psrOutParams; +} SC_RPC_SERVICE_CONTROL_OUT_PARAMSW, *PSC_RPC_SERVICE_CONTROL_OUT_PARAMSW; + + /* Function 0 */ + DWORD svcctl_CloseServiceHandle( + [in,out] SC_RPC_HANDLE *handle + ); + + /* Function 1 */ + DWORD svcctl_ControlService( + [in] SC_RPC_HANDLE hService, + [in] DWORD dwControl, + [out] SERVICE_STATUS *lpServiceStatus + ); + + /* Function 2 */ + DWORD svcctl_DeleteService( + [in] SC_RPC_HANDLE hService + ); + + /* Function 3 */ + DWORD svcctl_LockServiceDatabase( + [in] SC_RPC_HANDLE hSCManager, + [out] SC_RPC_LOCK *phLock + ); + + /* Function 4 */ + DWORD svcctl_QueryServiceObjectSecurity( + [in] SC_RPC_HANDLE service, + [in] SECURITY_INFORMATION info, + [out, size_is(buf_size)] BYTE *descriptor, + [in] DWORD buf_size, + [out] DWORD *needed_size + ); + + /* Function 5 */ + DWORD svcctl_SetServiceObjectSecurity( + [in] SC_RPC_HANDLE service, + [in] SECURITY_INFORMATION info, + [in, size_is(buf_size)] BYTE *descriptor, + [in] DWORD buf_size + ); + + /* Function 6 */ + DWORD svcctl_QueryServiceStatus( + [in] SC_RPC_HANDLE service, + [out] SERVICE_STATUS *status + ); + + /* Function 7 */ + DWORD svcctl_SetServiceStatus( + [in] SC_RPC_HANDLE hServiceStatus, + [in] LPSERVICE_STATUS lpServiceStatus + ); + + /* Function 8 */ + DWORD svcctl_UnlockServiceDatabase( + [in,out] SC_RPC_LOCK *phLock + ); + + /* Function 9 */ + DWORD svcctl_NotifyBootConfigStatus( + [in, string, unique] SVCCTL_HANDLEW machinename, + [in] DWORD boot_acceptable + ); + + /* Not compatible with Windows function 10 */ + DWORD svcctl_SCSetServiceBitsW(/* FIXME */); + + /* Function 11 */ + DWORD svcctl_ChangeServiceConfigW( + [in] SC_RPC_HANDLE hService, + [in] DWORD dwServiceType, + [in] DWORD dwStartType, + [in] DWORD dwErrorControl, + [in,unique] LPCWSTR lpBinaryPathName, + [in,unique] LPCWSTR lpLoadOrderGroupKey, + [in,out,unique] DWORD *lpdwTagId, + [in,unique,size_is(dwDependenciesSize)] const BYTE *lpDependencies, + [in] DWORD dwDependenciesSize, + [in,unique] LPCWSTR lpServiceStartName, + [in,unique,size_is(dwPasswordSize)] const BYTE *lpPassword, + [in] DWORD dwPasswordSize, + [in,unique] LPCWSTR lpDisplayName + ); + + /* Function 12 */ + DWORD svcctl_CreateServiceW( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCWSTR lpServiceName, + [in,unique] LPCWSTR lpDisplayName, + [in] DWORD dwDesiredAccess, + [in] DWORD dwServiceType, + [in] DWORD dwStartType, + [in] DWORD dwErrorControl, + [in] LPCWSTR lpBinaryPathName, + [in,unique] LPCWSTR lpLoadOrderGroup, + [in,out,unique] DWORD *lpdwTagId, + [in,unique,size_is(dwDependenciesSize)] const BYTE *lpDependencies, + [in] DWORD dwDependenciesSize, + [in,unique] LPCWSTR lpServiceStartName, + [in,unique,size_is(dwPasswordSize)] const BYTE *lpPassword, + [in] DWORD dwPasswordSize, + [out] SC_RPC_HANDLE *phService + ); + + /* Function 13 */ + DWORD svcctl_EnumDependentServicesW( + [in] SC_RPC_HANDLE service, + [in] DWORD state, + [out, size_is(buf_size)] BYTE *services, + [in] DWORD buf_size, + [out] DWORD *needed_size, + [out] DWORD *services_ret + ); + + /* Function 14 */ + DWORD svcctl_EnumServicesStatusW( + [in] SC_RPC_HANDLE hmngr, + [in] DWORD type, + [in] DWORD state, + [out,size_is(size)] BYTE *buffer, + [in] DWORD size, + [out] LPDWORD needed, + [out] LPDWORD returned, + [in,out,unique] LPDWORD resume + ); + + /* Function 15 */ + DWORD svcctl_OpenSCManagerW( + [in,unique] MACHINE_HANDLEW MachineName, + [in,unique] LPCWSTR DatabaseName, + [in] DWORD dwAccessMask, + [out] SC_RPC_HANDLE *handle + ); + + /* Function 16 */ + DWORD svcctl_OpenServiceW( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCWSTR lpServiceName, + [in] DWORD dwDesiredAccess, + [out] SC_RPC_HANDLE *phService + ); + + /* Function 17 */ + DWORD svcctl_QueryServiceConfigW( + [in] SC_RPC_HANDLE hService, + [out] QUERY_SERVICE_CONFIGW *config, + [in] DWORD buf_size, + [out] DWORD *needed_size); + + /* Function 18 */ + DWORD svcctl_QueryServiceLockStatusW( + [in] SC_RPC_HANDLE scmanager, + [out] QUERY_SERVICE_LOCK_STATUSW *status, + [in] DWORD buf_size, + [out] DWORD *needed_size + ); + + /* Function 19 */ + DWORD svcctl_StartServiceW( + [in] SC_RPC_HANDLE hService, + [in] DWORD dwNumServiceArgs, + [in,unique,size_is(dwNumServiceArgs)] LPCWSTR *lpServiceArgVectors + ); + + /* Function 20 */ + DWORD svcctl_GetServiceDisplayNameW( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCWSTR lpServiceName, + [out,string,size_is(*cchBufSize+1)] WCHAR lpBuffer[], + [in,out] DWORD *cchBufSize); + + /* Function 21 */ + DWORD svcctl_GetServiceKeyNameW( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCWSTR lpServiceDisplayName, + [out,string,size_is(*cchBufSize+1)] WCHAR lpBuffer[], + [in,out] DWORD *cchBufSize); + + /* Not compatible with Windows function 22 */ + DWORD svcctl_SCSetServiceBitsA(/* FIXME */); + + /* Function 23 */ + DWORD svcctl_ChangeServiceConfigA( + [in] SC_RPC_HANDLE service, + [in] DWORD service_type, + [in] DWORD start_type, + [in] DWORD error_control, + [in, string, unique] LPSTR binarypath, + [in, string, unique] LPSTR loadordergroup, + [in, out, unique] DWORD *tagid, + [in, unique, size_is(depend_size)] BYTE *dependencies, + [in] DWORD depend_size, + [in, string, unique] LPSTR startname, + [in, unique, size_is(password_size)] BYTE *password, + [in] DWORD password_size, + [in, string, unique] LPSTR displayname + ); + + /* Function 24 */ + DWORD svcctl_CreateServiceA( + [in] SC_RPC_HANDLE scmanager, + [in] LPCSTR servicename, + [in, unique] LPCSTR displayname, + [in] DWORD desiredaccess, + [in] DWORD service_type, + [in] DWORD start_type, + [in] DWORD error_control, + [in] LPCSTR binarypath, + [in, unique] LPCSTR loadordergroup, + [in, out, unique] DWORD *tagid, + [in, unique, size_is(depend_size)] const BYTE *dependencies, + [in] DWORD depend_size, + [in, unique] LPCSTR startname, + [in, unique, size_is(password_size)] const BYTE *password, + [in] DWORD password_size, + [out] SC_RPC_HANDLE *service + ); + + /* Function 25 */ + DWORD svcctl_EnumDependentServicesA( + [in] SC_RPC_HANDLE service, + [in] DWORD state, + [out, size_is(buf_size)] BYTE *services, + [in] DWORD buf_size, + [out] DWORD *needed_size, + [out] DWORD *services_ret + ); + + /* Function 26 */ + DWORD svcctl_EnumServicesStatusA( + [in] SC_RPC_HANDLE hmngr, + [in] DWORD type, + [in] DWORD state, + [out, size_is(size)] BYTE *buffer, + [in] DWORD size, + [out] DWORD *needed, + [out] DWORD *returned, + [in,out,unique] DWORD *resume + ); + + /* Function 27 */ + DWORD svcctl_OpenSCManagerA( + [in,unique] MACHINE_HANDLEA MachineName, + [in,unique] LPCSTR DatabaseName, + [in] DWORD dwAccessMask, + [out] SC_RPC_HANDLE *handle + ); + + /* Function 28 */ + DWORD svcctl_OpenServiceA( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCSTR lpServiceName, + [in] DWORD dwDesiredAccess, + [out] SC_RPC_HANDLE *phService + ); + + /* Function 29 */ + DWORD svcctl_QueryServiceConfigA( + [in] SC_RPC_HANDLE hService, + [out] QUERY_SERVICE_CONFIGA *config, + [in] DWORD buf_size, + [out] DWORD *needed_size); + + /* Function 30 */ + DWORD svcctl_QueryServiceLockStatusA( + [in] SC_RPC_HANDLE scmanager, + [out] QUERY_SERVICE_LOCK_STATUSA *status, + [in] DWORD buf_size, + [out] DWORD *needed_size + ); + + /* Function 31 */ + DWORD svcctl_StartServiceA( + [in] SC_RPC_HANDLE service, + [in] DWORD argc, + [in, unique, size_is(argc)] LPCSTR *args + ); + + /* Function 32 */ + DWORD svcctl_GetServiceDisplayNameA( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCSTR servicename, + [out, string, size_is(*buf_size+1)] CHAR buffer[], + [in, out] DWORD *buf_size); + + /* Function 33 */ + DWORD svcctl_GetServiceKeyNameA( + [in] SC_RPC_HANDLE hSCManager, + [in] LPCSTR servicename, + [out, string, size_is(*buf_size+1)] CHAR buffer[], + [in, out] DWORD *buf_size); + + /* Not compatible with Windows function 34 */ + DWORD svcctl_GetCurrentGroupStateW(/* FIXME */); + + /* Function 35 */ + DWORD svcctl_EnumServiceGroupW( + [in] SC_RPC_HANDLE scmanager, + [in] DWORD service_type, + [in] DWORD service_state, + [out, size_is(buf_size)] BYTE *buffer, + [in] DWORD buf_size, + [out] DWORD *needed_size, + [out] DWORD *returned_size, + [in, out, unique] DWORD *resume_index, + [in, string, unique] LPCWSTR groupname + ); + + /* Function 36 */ + DWORD svcctl_ChangeServiceConfig2A( + [in] SC_RPC_HANDLE service, + [in] SC_RPC_CONFIG_INFOA info + ); + + /* Function 37 */ + DWORD svcctl_ChangeServiceConfig2W( + [in] SC_RPC_HANDLE service, + [in] SC_RPC_CONFIG_INFOW info + ); + + /* Function 38 */ + DWORD svcctl_QueryServiceConfig2A( + [in] SC_RPC_HANDLE service, + [in] DWORD info_level, + [out, size_is(buf_size)] BYTE *buffer, + [in] DWORD buf_size, + [out] DWORD *needed_size + ); + + /* Function 39 */ + DWORD svcctl_QueryServiceConfig2W( + [in] SC_RPC_HANDLE hService, + [in] DWORD InfoLevel, + [out,size_is(cbBufSize)] BYTE lpBuffer[], + [in] DWORD cbBufSize, + [out] LPDWORD pcbBytesNeeded + ); + + /* Function 40 */ + DWORD svcctl_QueryServiceStatusEx( + [in] SC_RPC_HANDLE hService, + [in] SC_STATUS_TYPE InfoLevel, + [out,size_is(cbBufSize)] BYTE *lpBuffer, + [in] DWORD cbBufSize, + [out] LPDWORD pcbBytesNeeded + ); + + /* Function 41 */ + DWORD svcctl_EnumServicesStatusExA( + [in] SC_RPC_HANDLE scmanager, + [in] SC_ENUM_TYPE info_level, + [in] DWORD service_type, + [in] DWORD service_state, + [out, size_is(buf_size)] BYTE *buffer, + [in] DWORD buf_size, + [out] DWORD *needed_size, + [out] DWORD *services_count, + [in, out, unique] DWORD *resume_index, + [in, string, unique] LPCSTR groupname + ); + + /* Function 42 */ + DWORD svcctl_EnumServicesStatusExW( + [in] SC_RPC_HANDLE scmanager, + [in] SC_ENUM_TYPE info_level, + [in] DWORD service_type, + [in] DWORD service_state, + [out, size_is(buf_size)] BYTE *buffer, + [in] DWORD buf_size, + [out] DWORD *needed_size, + [out] DWORD *services_count, + [in, out, unique] DWORD *resume_index, + [in, string, unique] LPCWSTR groupname + ); + + /* Not compatible with Windows function 43 */ + DWORD svcctl_unknown43(/*FIXME*/); + + /* Function 44 */ + DWORD svcctl_CreateServiceWOW64A( + [in] SC_RPC_HANDLE scmanager, + [in, string] LPCSTR servicename, + [in, string, unique] LPCSTR displayname, + [in] DWORD accessmask, + [in] DWORD service_type, + [in] DWORD start_type, + [in] DWORD error_control, + [in, string] LPCSTR imagepath, + [in, string, unique] LPCSTR loadordergroup, + [in, out, unique] DWORD *tagid, + [in, unique, size_is(depend_size)] const BYTE *dependencies, + [in] DWORD depend_size, + [in, string, unique] LPCSTR start_name, + [in, unique, size_is(password_size)] const BYTE *password, + [in] DWORD password_size, + [out] SC_RPC_HANDLE *service + ); + + /* Function 45 */ + DWORD svcctl_CreateServiceWOW64W( + [in] SC_RPC_HANDLE scmanager, + [in, string] LPCWSTR servicename, + [in, string, unique] LPCWSTR displayname, + [in] DWORD accessmask, + [in] DWORD service_type, + [in] DWORD start_type, + [in] DWORD error_control, + [in, string] LPCWSTR imagepath, + [in, string, unique] LPCWSTR loadordergroup, + [in, out, unique] DWORD *tagid, + [in, unique, size_is(depend_size)] const BYTE *dependencies, + [in] DWORD depend_size, + [in, string, unique] LPCWSTR start_name, + [in, unique, size_is(password_size)] const BYTE *password, + [in] DWORD password_size, + [out] SC_RPC_HANDLE *service + ); + + /* Not compatible with Windows function 46 */ + DWORD svcctl_unknown46(/*FIXME*/); + + /* Function 47 */ + DWORD svcctl_NotifyServiceStatusChange( + [in] SC_RPC_HANDLE service, + [in] SC_RPC_NOTIFY_PARAMS params, + [in] GUID *clientprocessguid, + [out] GUID *scmprocessguid, + [out] BOOL *createremotequeue, + [out] SC_NOTIFY_RPC_HANDLE *notify + ); + + /* Function 48 */ + DWORD svcctl_GetNotifyResults( + [in] SC_NOTIFY_RPC_HANDLE notify, + [out] SC_RPC_NOTIFY_PARAMS_LIST **params + ); + + /* Function 49 */ + DWORD svcctl_CloseNotifyHandle( + [in, out] SC_NOTIFY_RPC_HANDLE *notify, + [out] BOOL *apc_fired + ); + + /* Function 50 */ + DWORD svcctl_ControlServiceExA( + [in] SC_RPC_HANDLE service, + [in] DWORD control, + [in] DWORD info_level, + [in, switch_is(info_level)] SC_RPC_SERVICE_CONTROL_IN_PARAMSA *in_params, + [out, switch_is(info_level)] SC_RPC_SERVICE_CONTROL_OUT_PARAMSA *out_params + ); + + /* Function 51 */ + DWORD svcctl_ControlServiceExW( + [in] SC_RPC_HANDLE service, + [in] DWORD control, + [in] DWORD info_level, + [in, switch_is(info_level)] SC_RPC_SERVICE_CONTROL_IN_PARAMSW *in_params, + [out, switch_is(info_level)] SC_RPC_SERVICE_CONTROL_OUT_PARAMSW *out_params + ); + + /* Not compatible with Windows function 52 */ + DWORD svcctl_unknown52(); + + /* Not compatible with Windows function 53 */ + DWORD svcctl_unknown53(); + + /* Not compatible with Windows function 54 */ + DWORD svcctl_unknown54(); + + /* Not compatible with Windows function 55 */ + DWORD svcctl_unknown55(); + + /* Function 56 */ + DWORD svcctl_QueryServiceConfigEx( + [in] SC_RPC_HANDLE service, + [in] DWORD info_level, + [out] SC_RPC_CONFIG_INFOW *info + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/unicode.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/unicode.h new file mode 100644 index 0000000..35c6166 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/unicode.h @@ -0,0 +1,311 @@ +/* + * Wine internal Unicode definitions + * + * Copyright 2000 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINE_UNICODE_H +#define __WINE_WINE_UNICODE_H + +#include + +#include +#include +#include + +#ifdef __WINE_WINE_TEST_H +#error This file should not be used in Wine tests +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef WINE_UNICODE_API +# if defined(_MSC_VER) || defined(__MINGW32__) +# define WINE_UNICODE_API DECLSPEC_IMPORT +# else +# define WINE_UNICODE_API +# endif +#endif + +#ifndef WINE_UNICODE_INLINE +#define WINE_UNICODE_INLINE static inline +#endif + +/* code page info common to SBCS and DBCS */ +struct cp_info +{ + unsigned int codepage; /* codepage id */ + unsigned int char_size; /* char size (1 or 2 bytes) */ + WCHAR def_char; /* default char value (can be double-byte) */ + WCHAR def_unicode_char; /* default Unicode char value */ + const char *name; /* code page name */ +}; + +struct sbcs_table +{ + struct cp_info info; + const WCHAR *cp2uni; /* code page -> Unicode map */ + const WCHAR *cp2uni_glyphs; /* code page -> Unicode map with glyph chars */ + const unsigned char *uni2cp_low; /* Unicode -> code page map */ + const unsigned short *uni2cp_high; +}; + +struct dbcs_table +{ + struct cp_info info; + const WCHAR *cp2uni; /* code page -> Unicode map */ + const unsigned char *cp2uni_leadbytes; + const unsigned short *uni2cp_low; /* Unicode -> code page map */ + const unsigned short *uni2cp_high; + unsigned char lead_bytes[12]; /* lead bytes ranges */ +}; + +union cptable +{ + struct cp_info info; + struct sbcs_table sbcs; + struct dbcs_table dbcs; +}; + +extern const union cptable *wine_cp_get_table( unsigned int codepage ); +extern const union cptable *wine_cp_enum_table( unsigned int index ); + +extern int wine_cp_mbstowcs( const union cptable *table, int flags, + const char *src, int srclen, + WCHAR *dst, int dstlen ); +extern int wine_cp_wcstombs( const union cptable *table, int flags, + const WCHAR *src, int srclen, + char *dst, int dstlen, const char *defchar, int *used ); +extern int wine_cpsymbol_mbstowcs( const char *src, int srclen, WCHAR *dst, int dstlen ); +extern int wine_cpsymbol_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen ); +extern int wine_utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen ); +extern int wine_utf8_wcstombs( int flags, const WCHAR *src, int srclen, char *dst, int dstlen ); + +extern int wine_compare_string( int flags, const WCHAR *str1, int len1, const WCHAR *str2, int len2 ); +extern int wine_get_sortkey( int flags, const WCHAR *src, int srclen, char *dst, int dstlen ); +extern int wine_fold_string( int flags, const WCHAR *src, int srclen , WCHAR *dst, int dstlen ); + +extern int strcmpiW( const WCHAR *str1, const WCHAR *str2 ); +extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n ); +extern int memicmpW( const WCHAR *str1, const WCHAR *str2, int n ); +extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub ); +extern long int strtolW( const WCHAR *nptr, WCHAR **endptr, int base ); +extern unsigned long int strtoulW( const WCHAR *nptr, WCHAR **endptr, int base ); +extern int sprintfW( WCHAR *str, const WCHAR *format, ... ); +extern int snprintfW( WCHAR *str, size_t len, const WCHAR *format, ... ); +extern int vsprintfW( WCHAR *str, const WCHAR *format, va_list valist ); +extern int vsnprintfW( WCHAR *str, size_t len, const WCHAR *format, va_list valist ); + +WINE_UNICODE_INLINE int wine_is_dbcs_leadbyte( const union cptable *table, unsigned char ch ) +{ + return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]); +} + +WINE_UNICODE_INLINE WCHAR tolowerW( WCHAR ch ) +{ + extern WINE_UNICODE_API const WCHAR wine_casemap_lower[]; + return ch + wine_casemap_lower[wine_casemap_lower[ch >> 8] + (ch & 0xff)]; +} + +WINE_UNICODE_INLINE WCHAR toupperW( WCHAR ch ) +{ + extern WINE_UNICODE_API const WCHAR wine_casemap_upper[]; + return ch + wine_casemap_upper[wine_casemap_upper[ch >> 8] + (ch & 0xff)]; +} + +/* the character type contains the C1_* flags in the low 12 bits */ +/* and the C2_* type in the high 4 bits */ +WINE_UNICODE_INLINE unsigned short get_char_typeW( WCHAR ch ) +{ + extern WINE_UNICODE_API const unsigned short wine_wctype_table[]; + return wine_wctype_table[wine_wctype_table[ch >> 8] + (ch & 0xff)]; +} + +WINE_UNICODE_INLINE int iscntrlW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_CNTRL; +} + +WINE_UNICODE_INLINE int ispunctW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_PUNCT; +} + +WINE_UNICODE_INLINE int isspaceW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_SPACE; +} + +WINE_UNICODE_INLINE int isdigitW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_DIGIT; +} + +WINE_UNICODE_INLINE int isxdigitW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_XDIGIT; +} + +WINE_UNICODE_INLINE int islowerW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_LOWER; +} + +WINE_UNICODE_INLINE int isupperW( WCHAR wc ) +{ + return get_char_typeW(wc) & C1_UPPER; +} + +WINE_UNICODE_INLINE int isalnumW( WCHAR wc ) +{ + return get_char_typeW(wc) & (C1_ALPHA|C1_DIGIT|C1_LOWER|C1_UPPER); +} + +WINE_UNICODE_INLINE int isalphaW( WCHAR wc ) +{ + return get_char_typeW(wc) & (C1_ALPHA|C1_LOWER|C1_UPPER); +} + +WINE_UNICODE_INLINE int isgraphW( WCHAR wc ) +{ + return get_char_typeW(wc) & (C1_ALPHA|C1_PUNCT|C1_DIGIT|C1_LOWER|C1_UPPER); +} + +WINE_UNICODE_INLINE int isprintW( WCHAR wc ) +{ + return get_char_typeW(wc) & (C1_ALPHA|C1_BLANK|C1_PUNCT|C1_DIGIT|C1_LOWER|C1_UPPER); +} + +/* some useful string manipulation routines */ + +WINE_UNICODE_INLINE unsigned int strlenW( const WCHAR *str ) +{ + const WCHAR *s = str; + while (*s) s++; + return s - str; +} + +WINE_UNICODE_INLINE WCHAR *strcpyW( WCHAR *dst, const WCHAR *src ) +{ + WCHAR *p = dst; + while ((*p++ = *src++)); + return dst; +} + +/* strncpy doesn't do what you think, don't use it */ +#define strncpyW(d,s,n) error do_not_use_strncpyW_use_lstrcpynW_or_memcpy_instead + +WINE_UNICODE_INLINE int strcmpW( const WCHAR *str1, const WCHAR *str2 ) +{ + while (*str1 && (*str1 == *str2)) { str1++; str2++; } + return *str1 - *str2; +} + +WINE_UNICODE_INLINE int strncmpW( const WCHAR *str1, const WCHAR *str2, int n ) +{ + if (n <= 0) return 0; + while ((--n > 0) && *str1 && (*str1 == *str2)) { str1++; str2++; } + return *str1 - *str2; +} + +WINE_UNICODE_INLINE WCHAR *strcatW( WCHAR *dst, const WCHAR *src ) +{ + strcpyW( dst + strlenW(dst), src ); + return dst; +} + +WINE_UNICODE_INLINE WCHAR *strchrW( const WCHAR *str, WCHAR ch ) +{ + do { if (*str == ch) return (WCHAR *)(ULONG_PTR)str; } while (*str++); + return NULL; +} + +WINE_UNICODE_INLINE WCHAR *strrchrW( const WCHAR *str, WCHAR ch ) +{ + WCHAR *ret = NULL; + do { if (*str == ch) ret = (WCHAR *)(ULONG_PTR)str; } while (*str++); + return ret; +} + +WINE_UNICODE_INLINE WCHAR *strpbrkW( const WCHAR *str, const WCHAR *accept ) +{ + for ( ; *str; str++) if (strchrW( accept, *str )) return (WCHAR *)(ULONG_PTR)str; + return NULL; +} + +WINE_UNICODE_INLINE size_t strspnW( const WCHAR *str, const WCHAR *accept ) +{ + const WCHAR *ptr; + for (ptr = str; *ptr; ptr++) if (!strchrW( accept, *ptr )) break; + return ptr - str; +} + +WINE_UNICODE_INLINE size_t strcspnW( const WCHAR *str, const WCHAR *reject ) +{ + const WCHAR *ptr; + for (ptr = str; *ptr; ptr++) if (strchrW( reject, *ptr )) break; + return ptr - str; +} + +WINE_UNICODE_INLINE WCHAR *strlwrW( WCHAR *str ) +{ + WCHAR *ret; + for (ret = str; *str; str++) *str = tolowerW(*str); + return ret; +} + +WINE_UNICODE_INLINE WCHAR *struprW( WCHAR *str ) +{ + WCHAR *ret; + for (ret = str; *str; str++) *str = toupperW(*str); + return ret; +} + +WINE_UNICODE_INLINE WCHAR *memchrW( const WCHAR *ptr, WCHAR ch, size_t n ) +{ + const WCHAR *end; + for (end = ptr + n; ptr < end; ptr++) if (*ptr == ch) return (WCHAR *)(ULONG_PTR)ptr; + return NULL; +} + +WINE_UNICODE_INLINE WCHAR *memrchrW( const WCHAR *ptr, WCHAR ch, size_t n ) +{ + const WCHAR *end; + WCHAR *ret = NULL; + for (end = ptr + n; ptr < end; ptr++) if (*ptr == ch) ret = (WCHAR *)(ULONG_PTR)ptr; + return ret; +} + +WINE_UNICODE_INLINE long int atolW( const WCHAR *str ) +{ + return strtolW( str, (WCHAR **)0, 10 ); +} + +WINE_UNICODE_INLINE int atoiW( const WCHAR *str ) +{ + return (int)atolW( str ); +} + +#undef WINE_UNICODE_INLINE + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINE_UNICODE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/accctrl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/accctrl.h new file mode 100644 index 0000000..e71a5bb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/accctrl.h @@ -0,0 +1,451 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ACCCTRL_H +#define __WINE_ACCCTRL_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _SE_OBJECT_TYPE +{ + SE_UNKNOWN_OBJECT_TYPE = 0, + SE_FILE_OBJECT, + SE_SERVICE, + SE_PRINTER, + SE_REGISTRY_KEY, + SE_LMSHARE, + SE_KERNEL_OBJECT, + SE_WINDOW_OBJECT, + SE_DS_OBJECT, + SE_DS_OBJECT_ALL, + SE_PROVIDER_DEFINED_OBJECT, + SE_WMIGUID_OBJECT, + SE_REGISTRY_WOW64_32KEY +} SE_OBJECT_TYPE; + +typedef enum _TRUSTEE_TYPE +{ + TRUSTEE_IS_UNKNOWN, + TRUSTEE_IS_USER, + TRUSTEE_IS_GROUP, + TRUSTEE_IS_DOMAIN, + TRUSTEE_IS_ALIAS, + TRUSTEE_IS_WELL_KNOWN_GROUP, + TRUSTEE_IS_DELETED, + TRUSTEE_IS_INVALID, + TRUSTEE_IS_COMPUTER +} TRUSTEE_TYPE; + +typedef enum _TRUSTEE_FORM +{ + TRUSTEE_IS_SID, + TRUSTEE_IS_NAME, + TRUSTEE_BAD_FORM, + TRUSTEE_IS_OBJECTS_AND_SID, + TRUSTEE_IS_OBJECTS_AND_NAME +} TRUSTEE_FORM; + +typedef enum _MULTIPLE_TRUSTEE_OPERATION +{ + NO_MULTIPLE_TRUSTEE, + TRUSTEE_IS_IMPERSONATE, +} MULTIPLE_TRUSTEE_OPERATION; + +typedef struct _OBJECTS_AND_SID +{ + DWORD ObjectsPresent; + GUID ObjectTypeGuid; + GUID InheritedObjectTypeGuid; + SID *pSid; +} OBJECTS_AND_SID, *POBJECTS_AND_SID; + +typedef struct _OBJECTS_AND_NAME_A +{ + DWORD ObjectsPresent; + SE_OBJECT_TYPE ObjectType; + LPSTR ObjectTypeName; + LPSTR InheritedObjectTypeName; + LPSTR ptstrName; +} OBJECTS_AND_NAME_A, *POBJECTS_AND_NAME_A; + +typedef struct _OBJECTS_AND_NAME_W +{ + DWORD ObjectsPresent; + SE_OBJECT_TYPE ObjectType; + LPWSTR ObjectTypeName; + LPWSTR InheritedObjectTypeName; + LPWSTR ptstrName; +} OBJECTS_AND_NAME_W, *POBJECTS_AND_NAME_W; + +DECL_WINELIB_TYPE_AW(OBJECTS_AND_NAME_) +DECL_WINELIB_TYPE_AW(POBJECTS_AND_NAME_) + +typedef struct _TRUSTEE_A +{ + struct _TRUSTEE_A *pMultipleTrustee; + MULTIPLE_TRUSTEE_OPERATION MultipleTrusteeOperation; + TRUSTEE_FORM TrusteeForm; + TRUSTEE_TYPE TrusteeType; + LPSTR ptstrName; +} TRUSTEE_A, *PTRUSTEE_A, TRUSTEEA, *PTRUSTEEA; + +typedef struct _TRUSTEE_W +{ + struct _TRUSTEE_W *pMultipleTrustee; + MULTIPLE_TRUSTEE_OPERATION MultipleTrusteeOperation; + TRUSTEE_FORM TrusteeForm; + TRUSTEE_TYPE TrusteeType; + LPWSTR ptstrName; +} TRUSTEE_W, *PTRUSTEE_W, TRUSTEEW, *PTRUSTEEW; + +DECL_WINELIB_TYPE_AW(TRUSTEE_) +DECL_WINELIB_TYPE_AW(PTRUSTEE_) +DECL_WINELIB_TYPE_AW(TRUSTEE) +DECL_WINELIB_TYPE_AW(PTRUSTEE) + +typedef enum _ACCESS_MODE +{ + NOT_USED_ACCESS = 0, + GRANT_ACCESS, + SET_ACCESS, + DENY_ACCESS, + REVOKE_ACCESS, + SET_AUDIT_SUCCESS, + SET_AUDIT_FAILURE +} ACCESS_MODE; + +#define NO_INHERITANCE 0x0 +#define SUB_OBJECTS_ONLY_INHERIT 0x1 +#define SUB_CONTAINERS_ONLY_INHERIT 0x2 +#define SUB_CONTAINERS_AND_OBJECTS_INHERIT 0x3 +#define INHERIT_NO_PROPAGATE 0x4 +#define INHERIT_ONLY 0x8 +#define INHERITED_ACCESS_ENTRY 0x10 +#define INHERITED_PARENT 0x10000000 +#define INHERITED_GRANDPARENT 0x20000000 + +typedef struct _EXPLICIT_ACCESS_A +{ + DWORD grfAccessPermissions; + ACCESS_MODE grfAccessMode; + DWORD grfInheritance; + TRUSTEE_A Trustee; +} EXPLICIT_ACCESS_A, *PEXPLICIT_ACCESS_A, EXPLICIT_ACCESSA, *PEXPLICIT_ACCESSA; + +typedef struct _EXPLICIT_ACCESS_W +{ + DWORD grfAccessPermissions; + ACCESS_MODE grfAccessMode; + DWORD grfInheritance; + TRUSTEE_W Trustee; +} EXPLICIT_ACCESS_W, *PEXPLICIT_ACCESS_W, EXPLICIT_ACCESSW, *PEXPLICIT_ACCESSW; + +DECL_WINELIB_TYPE_AW(EXPLICIT_ACCESS_) +DECL_WINELIB_TYPE_AW(PEXPLICIT_ACCESS_) +DECL_WINELIB_TYPE_AW(EXPLICIT_ACCESS) +DECL_WINELIB_TYPE_AW(PEXPLICIT_ACCESS) + +typedef ULONG ACCESS_RIGHTS, *PACCESS_RIGHTS; +typedef ULONG INHERIT_FLAGS, *PINHERIT_FLAGS; + +typedef struct _ACTRL_ACCESS_ENTRYA +{ + TRUSTEE_A Trustee; + ULONG fAccessFlags; + ACCESS_RIGHTS Access; + ACCESS_RIGHTS ProvSpecificAccess; + INHERIT_FLAGS Inheritance; + LPSTR lpInheritProperty; +} ACTRL_ACCESS_ENTRYA, *PACTRL_ACCESS_ENTRYA; + +typedef struct _ACTRL_ACCESS_ENTRYW +{ + TRUSTEE_W Trustee; + ULONG fAccessFlags; + ACCESS_RIGHTS Access; + ACCESS_RIGHTS ProvSpecificAccess; + INHERIT_FLAGS Inheritance; + LPWSTR lpInheritProperty; +} ACTRL_ACCESS_ENTRYW, *PACTRL_ACCESS_ENTRYW; + +DECL_WINELIB_TYPE_AW(ACTRL_ACCESS_ENTRY) +DECL_WINELIB_TYPE_AW(PACTRL_ACCESS_ENTRY) + + +typedef struct _ACTRL_ACCESS_ENTRY_LISTA +{ + ULONG cEntries; + ACTRL_ACCESS_ENTRYA *pAccessList; +} ACTRL_ACCESS_ENTRY_LISTA, *PACTRL_ACCESS_ENTRY_LISTA; + +typedef struct _ACTRL_ACCESS_ENTRY_LISTW +{ + ULONG cEntries; + ACTRL_ACCESS_ENTRYW *pAccessList; +} ACTRL_ACCESS_ENTRY_LISTW, *PACTRL_ACCESS_ENTRY_LISTW; + +DECL_WINELIB_TYPE_AW(ACTRL_ACCESS_ENTRY_LIST) +DECL_WINELIB_TYPE_AW(PACTRL_ACCESS_ENTRY_LIST) + +typedef struct _ACTRL_PROPERTY_ENTRYA +{ + LPSTR lpProperty; + PACTRL_ACCESS_ENTRY_LISTA pAccessEntryList; + ULONG fListFlags; +} ACTRL_PROPERTY_ENTRYA, *PACTRL_PROPERTY_ENTRYA; + +typedef struct _ACTRL_PROPERTY_ENTRYW +{ + LPWSTR lpProperty; + PACTRL_ACCESS_ENTRY_LISTW pAccessEntryList; + ULONG fListFlags; +} ACTRL_PROPERTY_ENTRYW, *PACTRL_PROPERTY_ENTRYW; + +DECL_WINELIB_TYPE_AW(ACTRL_PROPERTY_ENTRY) +DECL_WINELIB_TYPE_AW(PACTRL_PROPERTY_ENTRY) + +typedef struct _ACTRL_ALISTA +{ + ULONG cEntries; + PACTRL_PROPERTY_ENTRYA pPropertyAccessList; +} ACTRL_ACCESSA, *PACTRL_ACCESSA, ACTRL_AUDITA, *PACTRL_AUDITA; + +typedef struct _ACTRL_ALISTW +{ + ULONG cEntries; + PACTRL_PROPERTY_ENTRYW pPropertyAccessList; +} ACTRL_ACCESSW, *PACTRL_ACCESSW, ACTRL_AUDITW, *PACTRL_AUDITW; + +DECL_WINELIB_TYPE_AW(ACTRL_ACCESS) +DECL_WINELIB_TYPE_AW(PACTRL_ACCESS) +DECL_WINELIB_TYPE_AW(ACTRL_AUDIT) +DECL_WINELIB_TYPE_AW(PACTRL_AUDIT) + +#define TRUSTEE_ACCESS_ALLOWED 0x00000001 +#define TRUSTEE_ACCESS_READ 0x00000002 +#define TRUSTEE_ACCESS_WRITE 0x00000004 + +#define TRUSTEE_ACCESS_EXPLICIT 0x00000001 +#define TRUSTEE_ACCESS_READ_WRITE (TRUSTEE_ACCESS_READ|TRUSTEE_ACCESS_WRITE) +#define TRUSTEE_ACCESS_ALL 0xFFFFFFFF + +typedef struct _TRUSTEE_ACCESSA +{ + LPSTR lpProperty; + ACCESS_RIGHTS Access; + ULONG fAccessFlags; + ULONG fReturnedAccess; +} TRUSTEE_ACCESSA, *PTRUSTEE_ACCESSA; + +typedef struct _TRUSTEE_ACCESSW +{ + LPWSTR lpProperty; + ACCESS_RIGHTS Access; + ULONG fAccessFlags; + ULONG fReturnedAccess; +} TRUSTEE_ACCESSW, *PTRUSTEE_ACCESSW; + +DECL_WINELIB_TYPE_AW(TRUSTEE_ACCESS) +DECL_WINELIB_TYPE_AW(PTRUSTEE_ACCESS) + +#define ACTRL_RESERVED 0x00000000 +#define ACTRL_PERM_1 0x00000001 +#define ACTRL_PERM_2 0x00000002 +#define ACTRL_PERM_3 0x00000004 +#define ACTRL_PERM_4 0x00000008 +#define ACTRL_PERM_5 0x00000010 +#define ACTRL_PERM_6 0x00000020 +#define ACTRL_PERM_7 0x00000040 +#define ACTRL_PERM_8 0x00000080 +#define ACTRL_PERM_9 0x00000100 +#define ACTRL_PERM_10 0x00000200 +#define ACTRL_PERM_11 0x00000400 +#define ACTRL_PERM_12 0x00000800 +#define ACTRL_PERM_13 0x00001000 +#define ACTRL_PERM_14 0x00002000 +#define ACTRL_PERM_15 0x00004000 +#define ACTRL_PERM_16 0x00008000 +#define ACTRL_PERM_17 0x00010000 +#define ACTRL_PERM_18 0x00020000 +#define ACTRL_PERM_19 0x00040000 +#define ACTRL_PERM_20 0x00080000 + +#define ACTRL_ACCESS_ALLOWED 0x00000001 +#define ACTRL_ACCESS_DENIED 0x00000002 +#define ACTRL_AUDIT_SUCCESS 0x00000004 +#define ACTRL_AUDIT_FAILURE 0x00000008 + +#define ACTRL_ACCESS_PROTECTED 0x00000001 + +#define ACTRL_SYSTEM_ACCESS 0x04000000 +#define ACTRL_DELETE 0x08000000 +#define ACTRL_READ_CONTROL 0x10000000 +#define ACTRL_CHANGE_ACCESS 0x20000000 +#define ACTRL_CHANGE_OWNER 0x40000000 +#define ACTRL_SYNCHRONIZE 0x80000000 +#define ACTRL_STD_RIGHTS_ALL 0xf8000000 +#define ACTRL_STD_RIGHT_REQUIRED (ACTRL_STD_RIGHTS_ALL & ~ACTRL_SYNCHRONIZE) + +#define ACTRL_DS_OPEN ACTRL_RESERVED +#define ACTRL_DS_CREATE_CHILD ACTRL_PERM_1 +#define ACTRL_DS_DELETE_CHILD ACTRL_PERM_2 +#define ACTRL_DS_LIST ACTRL_PERM_3 +#define ACTRL_DS_SELF ACTRL_PERM_4 +#define ACTRL_DS_READ_PROP ACTRL_PERM_5 +#define ACTRL_DS_WRITE_PROP ACTRL_PERM_6 +#define ACTRL_DS_DELETE_TREE ACTRL_PERM_7 +#define ACTRL_DS_LIST_OBJECT ACTRL_PERM_8 +#define ACTRL_DS_CONTROL_ACCESS ACTRL_PERM_9 + +#define ACTRL_FILE_READ ACTRL_PERM_1 +#define ACTRL_FILE_WRITE ACTRL_PERM_2 +#define ACTRL_FILE_APPEND ACTRL_PERM_3 +#define ACTRL_FILE_READ_PROP ACTRL_PERM_4 +#define ACTRL_FILE_WRITE_PROP ACTRL_PERM_5 +#define ACTRL_FILE_EXECUTE ACTRL_PERM_6 +#define ACTRL_FILE_READ_ATTRIB ACTRL_PERM_8 +#define ACTRL_FILE_WRITE_ATTRIB ACTRL_PERM_9 +#define ACTRL_FILE_CREATE_PIPE ACTRL_PERM_10 +#define ACTRL_DIR_LIST ACTRL_PERM_1 +#define ACTRL_DIR_CREATE_OBJECT ACTRL_PERM_2 +#define ACTRL_DIR_CREATE_CHILD ACTRL_PERM_3 +#define ACTRL_DIR_DELETE_CHILD ACTRL_PERM_7 +#define ACTRL_DIR_TRAVERSE ACTRL_PERM_6 +#define ACTRL_KERNEL_TERMINATE ACTRL_PERM_1 +#define ACTRL_KERNEL_THREAD ACTRL_PERM_2 +#define ACTRL_KERNEL_VM ACTRL_PERM_3 +#define ACTRL_KERNEL_VM_READ ACTRL_PERM_4 +#define ACTRL_KERNEL_VM_WRITE ACTRL_PERM_5 +#define ACTRL_KERNEL_DUP_HANDLE ACTRL_PERM_6 +#define ACTRL_KERNEL_PROCESS ACTRL_PERM_7 +#define ACTRL_KERNEL_SET_INFO ACTRL_PERM_8 +#define ACTRL_KERNEL_GET_INFO ACTRL_PERM_9 +#define ACTRL_KERNEL_CONTROL ACTRL_PERM_10 +#define ACTRL_KERNEL_ALERT ACTRL_PERM_11 +#define ACTRL_KERNEL_GET_CONTEXT ACTRL_PERM_12 +#define ACTRL_KERNEL_SET_CONTEXT ACTRL_PERM_13 +#define ACTRL_KERNEL_TOKEN ACTRL_PERM_14 +#define ACTRL_KERNEL_IMPERSONATE ACTRL_PERM_15 +#define ACTRL_KERNEL_DIMPERSONATE ACTRL_PERM_16 +#define ACTRL_PRINT_SADMIN ACTRL_PERM_1 +#define ACTRL_PRINT_SLIST ACTRL_PERM_2 +#define ACTRL_PRINT_PADMIN ACTRL_PERM_3 +#define ACTRL_PRINT_PUSE ACTRL_PERM_4 +#define ACTRL_PRINT_JADMIN ACTRL_PERM_5 +#define ACTRL_SVC_GET_INFO ACTRL_PERM_1 +#define ACTRL_SVC_SET_INFO ACTRL_PERM_2 +#define ACTRL_SVC_STATUS ACTRL_PERM_3 +#define ACTRL_SVC_LIST ACTRL_PERM_4 +#define ACTRL_SVC_START ACTRL_PERM_5 +#define ACTRL_SVC_STOP ACTRL_PERM_6 +#define ACTRL_SVC_PAUSE ACTRL_PERM_7 +#define ACTRL_SVC_INTERROGATE ACTRL_PERM_8 +#define ACTRL_SVC_UCONTROL ACTRL_PERM_9 +#define ACTRL_REG_QUERY ACTRL_PERM_1 +#define ACTRL_REG_SET ACTRL_PERM_2 +#define ACTRL_REG_CREATE_CHILD ACTRL_PERM_3 +#define ACTRL_REG_LIST ACTRL_PERM_4 +#define ACTRL_REG_NOTIFY ACTRL_PERM_5 +#define ACTRL_REG_LINK ACTRL_PERM_6 +#define ACTRL_WIN_CLIPBRD ACTRL_PERM_1 +#define ACTRL_WIN_GLOBAL_ATOMS ACTRL_PERM_2 +#define ACTRL_WIN_CREATE ACTRL_PERM_3 +#define ACTRL_WIN_LIST_DESK ACTRL_PERM_4 +#define ACTRL_WIN_LIST ACTRL_PERM_5 +#define ACTRL_WIN_READ_ATTRIBS ACTRL_PERM_6 +#define ACTRL_WIN_WRITE_ATTRIBS ACTRL_PERM_7 +#define ACTRL_WIN_SCREEN ACTRL_PERM_8 +#define ACTRL_WIN_EXIT ACTRL_PERM_9 + +#define ACTRL_ACCESS_NO_OPTIONS 0x00000000 +#define ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES 0x00000001 + +typedef struct _ACTRL_OVERLAPPED +{ + union { + PVOID Provider; + ULONG Reserved1; + } DUMMYUNIONNAME; + ULONG Reserved2; + HANDLE hEvent; +} ACTRL_OVERLAPPED, *PACTRL_OVERLAPPED; + +typedef struct _ACTRL_ACCESS_INFOA +{ + ULONG fAccessPermission; + LPSTR lpAccessPermissionName; +} ACTRL_ACCESS_INFOA, *PACTRL_ACCESS_INFOA; + +typedef struct _ACTRL_ACCESS_INFOW +{ + ULONG fAccessPermission; + LPWSTR lpAccessPermissionName; +} ACTRL_ACCESS_INFOW, *PACTRL_ACCESS_INFOW; + +DECL_WINELIB_TYPE_AW(ACTRL_ACCESS_INFO) +DECL_WINELIB_TYPE_AW(PACTRL_ACCESS_INFO) + +typedef struct _ACTRL_CONTROL_INFOA +{ + LPSTR lpControlId; + LPSTR lpControlName; +} ACTRL_CONTROL_INFOA, *PACTRL_CONTROL_INFOA; + +typedef struct _ACTRL_CONTROL_INFOW +{ + LPWSTR lpControlId; + LPWSTR lpControlName; +} ACTRL_CONTROL_INFOW, *PACTRL_CONTROL_INFOW; + +DECL_WINELIB_TYPE_AW(ACTRL_CONTROL_INFO) +DECL_WINELIB_TYPE_AW(PACTRL_CONTROL_INFO) + +typedef enum _PROGRESS_INVOKE_SETTING { + ProgressInvokeNever = 1, + ProgressInvokeEveryObject, + ProgressInvokeOnError, + ProgressCancelOperation, + ProgressRetryOperation +} PROG_INVOKE_SETTING, *PPROG_INVOKE_SETTING; + +typedef struct _INHERITED_FROMA +{ + LONG GenerationGap; + LPSTR AncestorName; +} INHERITED_FROMA, *PINHERITED_FROMA; + +typedef struct _INHERITED_FROMW +{ + LONG GenerationGap; + LPWSTR AncestorName; +} INHERITED_FROMW, *PINHERITED_FROMW; + +DECL_WINELIB_TYPE_AW(INHERITED_FROM) +DECL_WINELIB_TYPE_AW(PINHERITED_FROM) + +#define AccFree LocalFree + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ACCCTRL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/access.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/access.idl new file mode 100644 index 0000000..a1585f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/access.idl @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a8c-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IAccessor : IUnknown +{ + + typedef DWORD DBACCESSORFLAGS; + + typedef DWORD DBBINDSTATUS; + + [local] + HRESULT AddRefAccessor([in] HACCESSOR hAccessor, + [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount); + + [call_as(AddRefAccessor)] + HRESULT RemoteAddRefAccessor([in] HACCESSOR hAccessor, + [in, out, unique] DBREFCOUNT *pcRefCount, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT CreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags, + [in] DBCOUNTITEM cBindings, + [in, size_is(cBindings), annotation("__in_ecount(cBindings)")] const DBBINDING rgBindings[], + [in] DBLENGTH cbRowSize, + [out, annotation("__out")] HACCESSOR *phAccessor, + [out, size_is(cBindings), annotation("__out_ecount_opt(cBindings)")] DBBINDSTATUS rgStatus[]); + + [call_as(CreateAccessor)] + HRESULT RemoteCreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags, + [in] DBCOUNTITEM cBindings, + [in, unique, size_is((ULONG)cBindings)] DBBINDING *rgBindings, + [in] DBLENGTH cbRowSize, + [out] HACCESSOR *phAccessor, + [in, out, unique, size_is((ULONG)cBindings)] DBBINDSTATUS *rgStatus, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetBindings([in] HACCESSOR hAccessor, + [out, annotation("__out")] DBACCESSORFLAGS *pdwAccessorFlags, + [in, out, annotation("__out_opt")] DBCOUNTITEM *pcBindings, + [out, size_is(,*pcBindings), annotation("__deref_out_ecount_opt(*pcBindings)")] DBBINDING **prgBindings); + + [call_as(GetBindings)] + HRESULT RemoteGetBindings([in] HACCESSOR hAccessor, + [out] DBACCESSORFLAGS *pdwAccessorFlags, + [in, out] DBCOUNTITEM *pcBindings, + [out, size_is(,(ULONG)*pcBindings)] DBBINDING **prgBindings, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT ReleaseAccessor([in] HACCESSOR hAccessor, + [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount); + + [call_as(ReleaseAccessor)] + HRESULT RemoteReleaseAccessor([in] HACCESSOR hAccessor, + [in, out, unique] DBREFCOUNT *pcRefCount, + [out] IErrorInfo **ppErrorInfoRem); + +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aclapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aclapi.h new file mode 100644 index 0000000..cd818bc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aclapi.h @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2004 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ACLAPI_H +#define __WINE_ACLAPI_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void (*FN_PROGRESS)(LPWSTR,DWORD,PPROG_INVOKE_SETTING,PVOID,BOOL); + +WINADVAPI DWORD WINAPI GetExplicitEntriesFromAclA( PACL, PULONG, PEXPLICIT_ACCESS_A* ); +WINADVAPI DWORD WINAPI GetExplicitEntriesFromAclW( PACL, PULONG, PEXPLICIT_ACCESS_W* ); +#define GetExplicitEntriesFromAcl WINELIB_NAME_AW(GetExplicitEntriesFromAcl) +WINADVAPI DWORD WINAPI GetSecurityInfo( HANDLE, SE_OBJECT_TYPE, SECURITY_INFORMATION, PSID*, PSID*, PACL*, PACL*, PSECURITY_DESCRIPTOR*); +WINADVAPI DWORD WINAPI GetSecurityInfoExA(HANDLE, SE_OBJECT_TYPE, SECURITY_INFORMATION, LPCSTR, LPCSTR, PACTRL_ACCESSA*, PACTRL_AUDITA*, LPSTR*, LPSTR*); +WINADVAPI DWORD WINAPI GetSecurityInfoExW(HANDLE, SE_OBJECT_TYPE, SECURITY_INFORMATION, LPCWSTR, LPCWSTR, PACTRL_ACCESSW*, PACTRL_AUDITW*, LPWSTR*, LPWSTR*); +#define GetSecurityInfoEx WINELIB_NAME_AW(GetSecurityInfoEx) +WINADVAPI DWORD WINAPI GetNamedSecurityInfoA(LPSTR, SE_OBJECT_TYPE, SECURITY_INFORMATION, PSID*, PSID*, PACL*, PACL*, PSECURITY_DESCRIPTOR*); +WINADVAPI DWORD WINAPI GetNamedSecurityInfoW(LPWSTR, SE_OBJECT_TYPE, SECURITY_INFORMATION, PSID*, PSID*, PACL*, PACL*, PSECURITY_DESCRIPTOR*); +#define GetNamedSecurityInfo WINELIB_NAME_AW(GetNamedSecurityInfo) +WINADVAPI DWORD WINAPI SetNamedSecurityInfoA(LPSTR, SE_OBJECT_TYPE, SECURITY_INFORMATION, PSID, PSID, PACL, PACL); +WINADVAPI DWORD WINAPI SetNamedSecurityInfoW(LPWSTR, SE_OBJECT_TYPE, SECURITY_INFORMATION, PSID, PSID, PACL, PACL); +#define SetNamedSecurityInfo WINELIB_NAME_AW(SetNamedSecurityInfo) +WINADVAPI DWORD WINAPI SetEntriesInAclA( ULONG, PEXPLICIT_ACCESSA, PACL, PACL*); +WINADVAPI DWORD WINAPI SetEntriesInAclW( ULONG, PEXPLICIT_ACCESSW, PACL, PACL*); +#define SetEntriesInAcl WINELIB_NAME_AW(SetEntriesInAcl) +WINADVAPI DWORD WINAPI SetSecurityInfo(HANDLE, SE_OBJECT_TYPE, SECURITY_INFORMATION, PSID, PSID, PACL, PACL); +WINADVAPI TRUSTEE_FORM WINAPI GetTrusteeFormA( PTRUSTEEA ); +WINADVAPI TRUSTEE_FORM WINAPI GetTrusteeFormW( PTRUSTEEW ); +#define GetTrusteeForm WINELIB_NAME_AW(GetTrusteeForm) +WINADVAPI LPSTR WINAPI GetTrusteeNameA( PTRUSTEEA ); +WINADVAPI LPWSTR WINAPI GetTrusteeNameW( PTRUSTEEW ); +#define GetTrusteeName WINELIB_NAME_AW(GetTrusteeName) +WINADVAPI TRUSTEE_TYPE WINAPI GetTrusteeTypeA( PTRUSTEEA ); +WINADVAPI TRUSTEE_TYPE WINAPI GetTrusteeTypeW( PTRUSTEEW ); +#define GetTrusteeType WINELIB_NAME_AW(GetTrusteeType) +WINADVAPI DWORD WINAPI BuildSecurityDescriptorA( PTRUSTEEA, PTRUSTEEA, ULONG, PEXPLICIT_ACCESS_A, ULONG, PEXPLICIT_ACCESS_A, PSECURITY_DESCRIPTOR, PULONG, PSECURITY_DESCRIPTOR* ); +WINADVAPI DWORD WINAPI BuildSecurityDescriptorW( PTRUSTEEW, PTRUSTEEW, ULONG, PEXPLICIT_ACCESS_W, ULONG, PEXPLICIT_ACCESS_W, PSECURITY_DESCRIPTOR, PULONG, PSECURITY_DESCRIPTOR* ); +#define BuildSecurityDescriptor WINELIB_NAME_AW(BuildSecurityDescriptor) +WINADVAPI void WINAPI BuildTrusteeWithNameA( PTRUSTEEA, LPSTR ); +WINADVAPI void WINAPI BuildTrusteeWithNameW( PTRUSTEEW, LPWSTR ); +#define BuildTrusteeWithName WINELIB_NAME_AW(BuildTrusteeWithName) +WINADVAPI void WINAPI BuildTrusteeWithObjectsAndNameA(PTRUSTEEA, POBJECTS_AND_NAME_A, SE_OBJECT_TYPE, LPSTR, LPSTR, LPSTR); +WINADVAPI void WINAPI BuildTrusteeWithObjectsAndNameW(PTRUSTEEW, POBJECTS_AND_NAME_W, SE_OBJECT_TYPE, LPWSTR, LPWSTR, LPWSTR); +#define BuildTrusteeWithObjectsAndName WINELIB_NAME_AW(BuildTrusteeWithObjectsAndName) +WINADVAPI void WINAPI BuildTrusteeWithObjectsAndSidA(PTRUSTEEA, POBJECTS_AND_SID, GUID*, GUID*, PSID); +WINADVAPI void WINAPI BuildTrusteeWithObjectsAndSidW(PTRUSTEEW, POBJECTS_AND_SID, GUID*, GUID*, PSID); +#define BuildTrusteeWithObjectsAndSid WINELIB_NAME_AW(BuildTrusteeWithObjectsAndSid) +WINADVAPI void WINAPI BuildExplicitAccessWithNameA(PEXPLICIT_ACCESSA, LPSTR, DWORD, ACCESS_MODE, DWORD); +WINADVAPI void WINAPI BuildExplicitAccessWithNameW(PEXPLICIT_ACCESSW, LPWSTR, DWORD, ACCESS_MODE, DWORD); +#define BuildExplicitAccessWithName WINELIB_NAME_AW(BuildExplicitAccessWithName) +WINADVAPI void WINAPI BuildTrusteeWithSidA(PTRUSTEEA pTrustee, PSID pSid); +WINADVAPI void WINAPI BuildTrusteeWithSidW(PTRUSTEEW pTrustee, PSID pSid); +#define BuildTrusteeWithSid WINELIB_NAME_AW(BuildTrusteeWithSid) +WINADVAPI DWORD WINAPI GetEffectiveRightsFromAclA(PACL,PTRUSTEE_A,PACCESS_MASK); +WINADVAPI DWORD WINAPI GetEffectiveRightsFromAclW(PACL,PTRUSTEE_W,PACCESS_MASK); +#define GetEffectiveRightsFromAcl WINELIB_NAME_AW(GetEffectiveRightsFromAcl) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ACLAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aclui.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aclui.h new file mode 100644 index 0000000..c64b2f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aclui.h @@ -0,0 +1,238 @@ +/* + * Copyright (C) 2009 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ACLUI_H +#define __WINE_ACLUI_H + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +typedef struct _SI_OBJECT_INFO +{ + DWORD dwFlags; + HINSTANCE hInstance; + LPWSTR pszServerName; + LPWSTR pszObjectName; + LPWSTR pszPageTitle; + GUID guidObjectType; +} SI_OBJECT_INFO, *PSI_OBJECT_INFO; + +#define SI_EDIT_PERMS 0x00000000 +#define SI_EDIT_OWNER 0x00000001 +#define SI_EDIT_AUDITS 0x00000002 +#define SI_CONTAINER 0x00000004 +#define SI_READONLY 0x00000008 +#define SI_ADVANCED 0x00000010 +#define SI_RESET 0x00000020 +#define SI_OWNER_READONLY 0x00000040 +#define SI_EDIT_PROPERTIES 0x00000080 +#define SI_OWNER_RECURSE 0x00000100 +#define SI_NO_ACL_PROTECT 0x00000200 +#define SI_NO_TREE_APPLY 0x00000400 +#define SI_PAGE_TITLE 0x00000800 +#define SI_SERVER_IS_DC 0x00001000 +#define SI_RESET_DACL_TREE 0x00004000 +#define SI_RESET_SACL_TREE 0x00008000 +#define SI_OBJECT_GUID 0x00010000 +#define SI_EDIT_EFFECTIVE 0x00020000 +#define SI_RESET_DACL 0x00040000 +#define SI_RESET_SACL 0x00080000 +#define SI_RESET_OWNER 0x00100000 +#define SI_NO_ADDITIONAL_PERMISSION 0x00200000 +#define SI_VIEW_ONLY 0x00400000 +#define SI_PERMS_ELEVATION_REQUIRED 0x01000000 +#define SI_AUDITS_ELEVATION_REQUIRED 0x02000000 +#define SI_OWNER_ELEVATION_REQUIRED 0x04000000 +#define SI_MAY_WRITE 0x10000000 + +#define SI_EDIT_ALL (SI_EDIT_PERMS | SI_EDIT_OWNER | SI_EDIT_AUDITS) + +typedef struct _SI_ACCESS +{ + const GUID *pguid; + ACCESS_MASK mask; + LPCWSTR pszName; + DWORD dwFlags; +} SI_ACCESS, *PSI_ACCESS; + +#define SI_ACCESS_SPECIFIC 0x00010000 +#define SI_ACCESS_GENERAL 0x00020000 +#define SI_ACCESS_CONTAINER 0x00040000 +#define SI_ACCESS_PROPERTY 0x00080000 + +typedef struct _SI_INHERIT_TYPE +{ + const GUID *pguid; + ULONG dwFlags; + LPCWSTR pszName; +} SI_INHERIT_TYPE, *PSI_INHERIT_TYPE; + +typedef enum _SI_PAGE_TYPE +{ + SI_PAGE_PERM, + SI_PAGE_ADVPERM, + SI_PAGE_AUDIT, + SI_PAGE_OWNER, + SI_PAGE_EFFECTIVE, + SI_PAGE_TAKEOWNERSHIP +} SI_PAGE_TYPE; + +#define PSPCB_SI_INITDIALOG (WM_USER + 1) + +#undef INTERFACE +#define INTERFACE ISecurityInformation +DECLARE_INTERFACE_IID_(ISecurityInformation, IUnknown, "965fc360-16ff-11d0-91cb-00aa00bbb723") +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /* ISecurityInformation methods */ + STDMETHOD(GetObjectInformation) (THIS_ PSI_OBJECT_INFO pObjectInfo ) PURE; + STDMETHOD(GetSecurity) (THIS_ SECURITY_INFORMATION RequestedInformation, + PSECURITY_DESCRIPTOR *ppSecurityDescriptor, + BOOL fDefault ) PURE; + STDMETHOD(SetSecurity) (THIS_ SECURITY_INFORMATION SecurityInformation, + PSECURITY_DESCRIPTOR pSecurityDescriptor ) PURE; + STDMETHOD(GetAccessRights) (THIS_ const GUID* pguidObjectType, + DWORD dwFlags, + PSI_ACCESS *ppAccess, + ULONG *pcAccesses, + ULONG *piDefaultAccess ) PURE; + STDMETHOD(MapGeneric) (THIS_ const GUID *pguidObjectType, + UCHAR *pAceFlags, + ACCESS_MASK *pMask) PURE; + STDMETHOD(GetInheritTypes) (THIS_ PSI_INHERIT_TYPE *ppInheritTypes, + ULONG *pcInheritTypes ) PURE; + STDMETHOD(PropertySheetPageCallback)(THIS_ HWND hwnd, UINT uMsg, SI_PAGE_TYPE uPage ) PURE; +}; +#undef INTERFACE +typedef ISecurityInformation *LPSECURITYINFO; + +#define INTERFACE ISecurityInformation2 +DECLARE_INTERFACE_IID_(ISecurityInformation2, IUnknown, "c3ccfdb4-6f88-11d2-a3ce-00c04fb1782a") +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /* ISecurityInformation2 methods */ + STDMETHOD_(BOOL,IsDaclCanonical) (THIS_ PACL pDacl) PURE; + STDMETHOD(LookupSids) (THIS_ ULONG cSids, PSID *rgpSids, LPDATAOBJECT *ppdo) PURE; +}; +#undef INTERFACE +typedef ISecurityInformation2 *LPSECURITYINFO2; + +#define CFSTR_ACLUI_SID_INFO_LIST TEXT("CFSTR_ACLUI_SID_INFO_LIST") + +typedef struct _SID_INFO +{ + PSID pSid; + PWSTR pwzCommonName; + PWSTR pwzClass; + PWSTR pwzUPN; +} SID_INFO, *PSID_INFO; + +typedef struct _SID_INFO_LIST +{ + ULONG cItems; + SID_INFO aSidInfo[ANYSIZE_ARRAY]; +} SID_INFO_LIST, *PSID_INFO_LIST; + + +#define INTERFACE IEffectivePermission +DECLARE_INTERFACE_IID_(IEffectivePermission, IUnknown, "3853dc76-9f35-407c-88a1-d19344365fbc") +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /* ISecurityInformation methods */ + STDMETHOD(GetEffectivePermission) (THIS_ + const GUID* pguidObjectType, + PSID pUserSid, + LPCWSTR pszServerName, + PSECURITY_DESCRIPTOR pSD, + POBJECT_TYPE_LIST *ppObjectTypeList, + ULONG *pcObjectTypeListLength, + PACCESS_MASK *ppGrantedAccessList, + ULONG *pcGrantedAccessListLength) PURE; +}; +#undef INTERFACE +typedef IEffectivePermission *LPEFFECTIVEPERMISSION; + +#define INTERFACE ISecurityObjectTypeInfo +DECLARE_INTERFACE_IID_(ISecurityObjectTypeInfo, IUnknown, "fc3066eb-79ef-444b-9111-d18a75ebf2fa") +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /* ISecurityInformation methods */ + STDMETHOD(GetInheritSource)(THIS_ SECURITY_INFORMATION si, + PACL pACL, +#ifndef WINE_NO_UNICODE_MACROS + PINHERITED_FROM *ppInheritArray +#else + PINHERITED_FROMW *ppInheritArray +#endif + ) PURE; +}; +#undef INTERFACE +typedef ISecurityObjectTypeInfo *LPSecurityObjectTypeInfo; + + +#define INTERFACE ISecurityInformation3 +DECLARE_INTERFACE_IID_(ISecurityInformation3, IUnknown, "e2cdc9cc-31bd-4f8f-8c8b-b641af516a1a") +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /* ISecurityInformation3 methods */ + STDMETHOD(GetFullResourceName) (THIS_ LPWSTR *ppszResourceName) PURE; + STDMETHOD(OpenElevatedEditor) (THIS_ HWND hWnd, SI_PAGE_TYPE uPage) PURE; +}; +#undef INTERFACE +typedef ISecurityInformation3 *LPSECURITYINFO3; + +DEFINE_GUID(IID_ISecurityInformation, 0x965fc360, 0x16ff, 0x11d0, 0x91, 0xcb, 0x0, 0xaa, 0x0, 0xbb, 0xb7, 0x23); +DEFINE_GUID(IID_ISecurityInformation2, 0xc3ccfdb4, 0x6f88, 0x11d2, 0xa3, 0xce, 0x0, 0xc0, 0x4f, 0xb1, 0x78, 0x2a); +DEFINE_GUID(IID_IEffectivePermission, 0x3853dc76, 0x9f35, 0x407c, 0x88, 0xa1, 0xd1, 0x93, 0x44, 0x36, 0x5f, 0xbc); +DEFINE_GUID(IID_ISecurityObjectTypeInfo, 0xfc3066eb, 0x79ef, 0x444b, 0x91, 0x11, 0xd1, 0x8a, 0x75, 0xeb, 0xf2, 0xfa); +DEFINE_GUID(IID_ISecurityInformation3, 0xe2cdc9cc, 0x31bd, 0x4f8f, 0x8c, 0x8b, 0xb6, 0x41, 0xaf, 0x51, 0x6a, 0x1a); + +HPROPSHEETPAGE WINAPI CreateSecurityPage(LPSECURITYINFO psi); +BOOL WINAPI EditSecurity(HWND owner, LPSECURITYINFO psi); +HRESULT WINAPI EditSecurityAdvanced(HWND owner, LPSECURITYINFO psi, SI_PAGE_TYPE uSIPage); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __WINE_ACLUI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activaut.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activaut.h new file mode 100644 index 0000000..ab7a74b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activaut.h @@ -0,0 +1,42 @@ +/*** Autogenerated by WIDL 2.18 from activaut.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __activaut_h__ +#define __activaut_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _NO_AUTHOR_GUIDS +DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92,0xbcbb,0x11d0,0x8c,0x72,0x0,0xc0,0x4f,0xc2,0xb0,0x85); +#endif +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __activaut_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activaut.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activaut.idl new file mode 100644 index 0000000..890e785 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activaut.idl @@ -0,0 +1,29 @@ +/* + * Copyright 2008 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "ocidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +#endif + +cpp_quote("#ifndef _NO_AUTHOR_GUIDS") + +cpp_quote("DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92,0xbcbb,0x11d0,0x8c,0x72,0x0,0xc0,0x4f,0xc2,0xb0,0x85);") + +cpp_quote("#endif") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activdbg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activdbg.h new file mode 100644 index 0000000..350340f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activdbg.h @@ -0,0 +1,2451 @@ +/*** Autogenerated by WIDL 2.18 from activdbg.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __activdbg_h__ +#define __activdbg_h__ + +/* Forward declarations */ + +#ifndef __IActiveScriptDebug32_FWD_DEFINED__ +#define __IActiveScriptDebug32_FWD_DEFINED__ +typedef interface IActiveScriptDebug32 IActiveScriptDebug32; +#ifdef __cplusplus +interface IActiveScriptDebug32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptDebug64_FWD_DEFINED__ +#define __IActiveScriptDebug64_FWD_DEFINED__ +typedef interface IActiveScriptDebug64 IActiveScriptDebug64; +#ifdef __cplusplus +interface IActiveScriptDebug64; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugDocumentInfo_FWD_DEFINED__ +#define __IDebugDocumentInfo_FWD_DEFINED__ +typedef interface IDebugDocumentInfo IDebugDocumentInfo; +#ifdef __cplusplus +interface IDebugDocumentInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugDocument_FWD_DEFINED__ +#define __IDebugDocument_FWD_DEFINED__ +typedef interface IDebugDocument IDebugDocument; +#ifdef __cplusplus +interface IDebugDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugCodeContext_FWD_DEFINED__ +#define __IDebugCodeContext_FWD_DEFINED__ +typedef interface IDebugCodeContext IDebugCodeContext; +#ifdef __cplusplus +interface IDebugCodeContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumDebugCodeContexts_FWD_DEFINED__ +#define __IEnumDebugCodeContexts_FWD_DEFINED__ +typedef interface IEnumDebugCodeContexts IEnumDebugCodeContexts; +#ifdef __cplusplus +interface IEnumDebugCodeContexts; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugDocumentContext_FWD_DEFINED__ +#define __IDebugDocumentContext_FWD_DEFINED__ +typedef interface IDebugDocumentContext IDebugDocumentContext; +#ifdef __cplusplus +interface IDebugDocumentContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IRemoteDebugApplicationThread_FWD_DEFINED__ +#define __IRemoteDebugApplicationThread_FWD_DEFINED__ +typedef interface IRemoteDebugApplicationThread IRemoteDebugApplicationThread; +#ifdef __cplusplus +interface IRemoteDebugApplicationThread; +#endif /* __cplusplus */ +#endif + +#ifndef __IRemoteDebugApplication_FWD_DEFINED__ +#define __IRemoteDebugApplication_FWD_DEFINED__ +typedef interface IRemoteDebugApplication IRemoteDebugApplication; +#ifdef __cplusplus +interface IRemoteDebugApplication; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugApplication32_FWD_DEFINED__ +#define __IDebugApplication32_FWD_DEFINED__ +typedef interface IDebugApplication32 IDebugApplication32; +#ifdef __cplusplus +interface IDebugApplication32; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugApplication64_FWD_DEFINED__ +#define __IDebugApplication64_FWD_DEFINED__ +typedef interface IDebugApplication64 IDebugApplication64; +#ifdef __cplusplus +interface IDebugApplication64; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptSiteDebug32_FWD_DEFINED__ +#define __IActiveScriptSiteDebug32_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebug32 IActiveScriptSiteDebug32; +#ifdef __cplusplus +interface IActiveScriptSiteDebug32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptSiteDebug64_FWD_DEFINED__ +#define __IActiveScriptSiteDebug64_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebug64 IActiveScriptSiteDebug64; +#ifdef __cplusplus +interface IActiveScriptSiteDebug64; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IDebugDocumentContext_FWD_DEFINED__ +#define __IDebugDocumentContext_FWD_DEFINED__ +typedef interface IDebugDocumentContext IDebugDocumentContext; +#ifdef __cplusplus +interface IDebugDocumentContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IRemoteDebugApplication_FWD_DEFINED__ +#define __IRemoteDebugApplication_FWD_DEFINED__ +typedef interface IRemoteDebugApplication IRemoteDebugApplication; +#ifdef __cplusplus +interface IRemoteDebugApplication; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumDebugCodeContexts_FWD_DEFINED__ +#define __IEnumDebugCodeContexts_FWD_DEFINED__ +typedef interface IEnumDebugCodeContexts IEnumDebugCodeContexts; +#ifdef __cplusplus +interface IEnumDebugCodeContexts; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumDebugStackFrames_FWD_DEFINED__ +#define __IEnumDebugStackFrames_FWD_DEFINED__ +typedef interface IEnumDebugStackFrames IEnumDebugStackFrames; +#ifdef __cplusplus +interface IEnumDebugStackFrames; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugStackFrame_FWD_DEFINED__ +#define __IDebugStackFrame_FWD_DEFINED__ +typedef interface IDebugStackFrame IDebugStackFrame; +#ifdef __cplusplus +interface IDebugStackFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __IApplicationDebugger_FWD_DEFINED__ +#define __IApplicationDebugger_FWD_DEFINED__ +typedef interface IApplicationDebugger IApplicationDebugger; +#ifdef __cplusplus +interface IApplicationDebugger; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumRemoteDebugApplicationThreads_FWD_DEFINED__ +#define __IEnumRemoteDebugApplicationThreads_FWD_DEFINED__ +typedef interface IEnumRemoteDebugApplicationThreads IEnumRemoteDebugApplicationThreads; +#ifdef __cplusplus +interface IEnumRemoteDebugApplicationThreads; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugApplicationNode_FWD_DEFINED__ +#define __IDebugApplicationNode_FWD_DEFINED__ +typedef interface IDebugApplicationNode IDebugApplicationNode; +#ifdef __cplusplus +interface IDebugApplicationNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumDebugExpressionContexts_FWD_DEFINED__ +#define __IEnumDebugExpressionContexts_FWD_DEFINED__ +typedef interface IEnumDebugExpressionContexts IEnumDebugExpressionContexts; +#ifdef __cplusplus +interface IEnumDebugExpressionContexts; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugApplicationThread_FWD_DEFINED__ +#define __IDebugApplicationThread_FWD_DEFINED__ +typedef interface IDebugApplicationThread IDebugApplicationThread; +#ifdef __cplusplus +interface IDebugApplicationThread; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugSyncOperation_FWD_DEFINED__ +#define __IDebugSyncOperation_FWD_DEFINED__ +typedef interface IDebugSyncOperation IDebugSyncOperation; +#ifdef __cplusplus +interface IDebugSyncOperation; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugAsyncOperation_FWD_DEFINED__ +#define __IDebugAsyncOperation_FWD_DEFINED__ +typedef interface IDebugAsyncOperation IDebugAsyncOperation; +#ifdef __cplusplus +interface IDebugAsyncOperation; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugStackFrameSniffer_FWD_DEFINED__ +#define __IDebugStackFrameSniffer_FWD_DEFINED__ +typedef interface IDebugStackFrameSniffer IDebugStackFrameSniffer; +#ifdef __cplusplus +interface IDebugStackFrameSniffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebugThreadCall32_FWD_DEFINED__ +#define __IDebugThreadCall32_FWD_DEFINED__ +typedef interface IDebugThreadCall32 IDebugThreadCall32; +#ifdef __cplusplus +interface IDebugThreadCall32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptErrorDebug_FWD_DEFINED__ +#define __IActiveScriptErrorDebug_FWD_DEFINED__ +typedef interface IActiveScriptErrorDebug IActiveScriptErrorDebug; +#ifdef __cplusplus +interface IActiveScriptErrorDebug; +#endif /* __cplusplus */ +#endif + +#ifndef __IProvideExpressionContexts_FWD_DEFINED__ +#define __IProvideExpressionContexts_FWD_DEFINED__ +typedef interface IProvideExpressionContexts IProvideExpressionContexts; +#ifdef __cplusplus +interface IProvideExpressionContexts; +#endif /* __cplusplus */ +#endif + +typedef enum tagBREAKPOINT_STATE { + BREAKPOINT_DELETED = 0, + BREAKPOINT_DISABLED = 1, + BREAKPOINT_ENABLED = 2 +} BREAKPOINT_STATE; +typedef DWORD APPBREAKFLAGS; +typedef enum tagBREAKREASON { + BREAKREASON_STEP = 0, + BREAKREASON_BREAKPOINT = 1, + BREAKREASON_DEBUGGER_BLOCK = 2, + BREAKREASON_HOST_INITIATED = 3, + BREAKREASON_LANGUAGE_INITIATED = 4, + BREAKREASON_DEBUGGER_HALT = 5, + BREAKREASON_ERROR = 6, + BREAKREASON_JIT = 7 +} BREAKREASON; +typedef enum tagBREAKRESUME_ACTION { + BREAKRESUMEACTION_ABORT = 0, + BREAKRESUMEACTION_CONTINUE = 1, + BREAKRESUMEACTION_STEP_INTO = 2, + BREAKRESUMEACTION_STEP_OVER = 3, + BREAKRESUMEACTION_STEP_OUT = 4, + BREAKRESUMEACTION_IGNORE = 5 +} BREAKRESUMEACTION; +typedef enum tagDOCUMENTNAMETYPE { + DOCUMENTNAMETYPE_APPNODE = 0, + DOCUMENTNAMETYPE_TITLE = 1, + DOCUMENTNAMETYPE_FILE_TAIL = 2, + DOCUMENTNAMETYPE_URL = 3 +} DOCUMENTNAMETYPE; +typedef enum tagERRORRESUMEACTION { + ERRORRESUMEACTION_ReexecuteErrorStatement = 0, + ERRORRESUMEACTION_AbortCallAndReturnErrorToCaller = 1, + ERRORRESUMEACTION_SkipErrorStatement = 2 +} ERRORRESUMEACTION; +typedef WORD SOURCE_TEXT_ATTR; +#define SOURCETEXT_ATTR_KEYWORD (0x1) + +#define SOURCETEXT_ATTR_COMMENT (0x2) + +#define SOURCETEXT_ATTR_NONSOURCE (0x4) + +#define SOURCETEXT_ATTR_OPERATOR (0x8) + +#define SOURCETEXT_ATTR_NUMBER (0x10) + +#define SOURCETEXT_ATTR_STRING (0x20) + +#define SOURCETEXT_ATTR_FUNCTION_START (0x40) + +/***************************************************************************** + * IActiveScriptDebug32 interface + */ +#ifndef __IActiveScriptDebug32_INTERFACE_DEFINED__ +#define __IActiveScriptDebug32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptDebug32, 0x51973c10, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c10-cb0c-11d0-b5c9-00a0244a0e7a") +IActiveScriptDebug32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodeContextsOfPosition( + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptDebug32, 0x51973c10, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IActiveScriptDebug32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptDebug32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptDebug32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptDebug32 *This); + + /*** IActiveScriptDebug32 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetScriptTextAttributes)( + IActiveScriptDebug32 *This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *GetScriptletTextAttributes)( + IActiveScriptDebug32 *This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *EnumCodeContextsOfPosition)( + IActiveScriptDebug32 *This, + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc); + + END_INTERFACE +} IActiveScriptDebug32Vtbl; + +interface IActiveScriptDebug32 { + CONST_VTBL IActiveScriptDebug32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptDebug32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptDebug32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptDebug32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptDebug32 methods ***/ +#define IActiveScriptDebug32_GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug32_GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug32_EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) (This)->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug32_QueryInterface(IActiveScriptDebug32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptDebug32_AddRef(IActiveScriptDebug32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptDebug32_Release(IActiveScriptDebug32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptDebug32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug32_GetScriptTextAttributes(IActiveScriptDebug32* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug32_GetScriptletTextAttributes(IActiveScriptDebug32* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug32_EnumCodeContextsOfPosition(IActiveScriptDebug32* This,DWORD dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IEnumDebugCodeContexts **ppescc) { + return This->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptDebug32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptDebug64 interface + */ +#ifndef __IActiveScriptDebug64_INTERFACE_DEFINED__ +#define __IActiveScriptDebug64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptDebug64, 0xbc437e23, 0xf5b8, 0x47f4, 0xbb,0x79, 0x7d,0x1c,0xe5,0x48,0x3b,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc437e23-f5b8-47f4-bb79-7d1ce5483b86") +IActiveScriptDebug64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodeContextsOfPosition( + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptDebug64, 0xbc437e23, 0xf5b8, 0x47f4, 0xbb,0x79, 0x7d,0x1c,0xe5,0x48,0x3b,0x86) +#endif +#else +typedef struct IActiveScriptDebug64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptDebug64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptDebug64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptDebug64 *This); + + /*** IActiveScriptDebug64 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetScriptTextAttributes)( + IActiveScriptDebug64 *This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *GetScriptletTextAttributes)( + IActiveScriptDebug64 *This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *EnumCodeContextsOfPosition)( + IActiveScriptDebug64 *This, + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc); + + END_INTERFACE +} IActiveScriptDebug64Vtbl; + +interface IActiveScriptDebug64 { + CONST_VTBL IActiveScriptDebug64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptDebug64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptDebug64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptDebug64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptDebug64 methods ***/ +#define IActiveScriptDebug64_GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug64_GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug64_EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) (This)->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug64_QueryInterface(IActiveScriptDebug64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptDebug64_AddRef(IActiveScriptDebug64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptDebug64_Release(IActiveScriptDebug64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptDebug64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug64_GetScriptTextAttributes(IActiveScriptDebug64* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug64_GetScriptletTextAttributes(IActiveScriptDebug64* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug64_EnumCodeContextsOfPosition(IActiveScriptDebug64* This,DWORDLONG dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IEnumDebugCodeContexts **ppescc) { + return This->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptDebug64_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebugDocumentInfo interface + */ +#ifndef __IDebugDocumentInfo_INTERFACE_DEFINED__ +#define __IDebugDocumentInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDebugDocumentInfo, 0x51973c1f, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c1f-cb0c-11d0-b5c9-00a0244a0e7a") +IDebugDocumentInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + DOCUMENTNAMETYPE dnt, + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocumentClassId( + CLSID *pclsidDocument) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebugDocumentInfo, 0x51973c1f, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IDebugDocumentInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebugDocumentInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebugDocumentInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebugDocumentInfo *This); + + /*** IDebugDocumentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + IDebugDocumentInfo *This, + DOCUMENTNAMETYPE dnt, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetDocumentClassId)( + IDebugDocumentInfo *This, + CLSID *pclsidDocument); + + END_INTERFACE +} IDebugDocumentInfoVtbl; + +interface IDebugDocumentInfo { + CONST_VTBL IDebugDocumentInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebugDocumentInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebugDocumentInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebugDocumentInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IDebugDocumentInfo methods ***/ +#define IDebugDocumentInfo_GetName(This,dnt,pbstrName) (This)->lpVtbl->GetName(This,dnt,pbstrName) +#define IDebugDocumentInfo_GetDocumentClassId(This,pclsidDocument) (This)->lpVtbl->GetDocumentClassId(This,pclsidDocument) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebugDocumentInfo_QueryInterface(IDebugDocumentInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebugDocumentInfo_AddRef(IDebugDocumentInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebugDocumentInfo_Release(IDebugDocumentInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IDebugDocumentInfo methods ***/ +static FORCEINLINE HRESULT IDebugDocumentInfo_GetName(IDebugDocumentInfo* This,DOCUMENTNAMETYPE dnt,BSTR *pbstrName) { + return This->lpVtbl->GetName(This,dnt,pbstrName); +} +static FORCEINLINE HRESULT IDebugDocumentInfo_GetDocumentClassId(IDebugDocumentInfo* This,CLSID *pclsidDocument) { + return This->lpVtbl->GetDocumentClassId(This,pclsidDocument); +} +#endif +#endif + +#endif + + +#endif /* __IDebugDocumentInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebugDocument interface + */ +#ifndef __IDebugDocument_INTERFACE_DEFINED__ +#define __IDebugDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDebugDocument, 0x51973c21, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c21-cb0c-11d0-b5c9-00a0244a0e7a") +IDebugDocument : public IDebugDocumentInfo +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebugDocument, 0x51973c21, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IDebugDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebugDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebugDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebugDocument *This); + + /*** IDebugDocumentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + IDebugDocument *This, + DOCUMENTNAMETYPE dnt, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetDocumentClassId)( + IDebugDocument *This, + CLSID *pclsidDocument); + + END_INTERFACE +} IDebugDocumentVtbl; + +interface IDebugDocument { + CONST_VTBL IDebugDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebugDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebugDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebugDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDebugDocumentInfo methods ***/ +#define IDebugDocument_GetName(This,dnt,pbstrName) (This)->lpVtbl->GetName(This,dnt,pbstrName) +#define IDebugDocument_GetDocumentClassId(This,pclsidDocument) (This)->lpVtbl->GetDocumentClassId(This,pclsidDocument) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebugDocument_QueryInterface(IDebugDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebugDocument_AddRef(IDebugDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebugDocument_Release(IDebugDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDebugDocumentInfo methods ***/ +static FORCEINLINE HRESULT IDebugDocument_GetName(IDebugDocument* This,DOCUMENTNAMETYPE dnt,BSTR *pbstrName) { + return This->lpVtbl->GetName(This,dnt,pbstrName); +} +static FORCEINLINE HRESULT IDebugDocument_GetDocumentClassId(IDebugDocument* This,CLSID *pclsidDocument) { + return This->lpVtbl->GetDocumentClassId(This,pclsidDocument); +} +#endif +#endif + +#endif + + +#endif /* __IDebugDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebugCodeContext interface + */ +#ifndef __IDebugCodeContext_INTERFACE_DEFINED__ +#define __IDebugCodeContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDebugCodeContext, 0x51973c13, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c13-cb0c-11d0-b5c9-00a0244a0e7a") +IDebugCodeContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDocumentContext( + IDebugDocumentContext **ppsc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakPoint( + BREAKPOINT_STATE bps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebugCodeContext, 0x51973c13, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IDebugCodeContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebugCodeContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebugCodeContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebugCodeContext *This); + + /*** IDebugCodeContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDocumentContext)( + IDebugCodeContext *This, + IDebugDocumentContext **ppsc); + + HRESULT (STDMETHODCALLTYPE *SetBreakPoint)( + IDebugCodeContext *This, + BREAKPOINT_STATE bps); + + END_INTERFACE +} IDebugCodeContextVtbl; + +interface IDebugCodeContext { + CONST_VTBL IDebugCodeContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebugCodeContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebugCodeContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebugCodeContext_Release(This) (This)->lpVtbl->Release(This) +/*** IDebugCodeContext methods ***/ +#define IDebugCodeContext_GetDocumentContext(This,ppsc) (This)->lpVtbl->GetDocumentContext(This,ppsc) +#define IDebugCodeContext_SetBreakPoint(This,bps) (This)->lpVtbl->SetBreakPoint(This,bps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebugCodeContext_QueryInterface(IDebugCodeContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebugCodeContext_AddRef(IDebugCodeContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebugCodeContext_Release(IDebugCodeContext* This) { + return This->lpVtbl->Release(This); +} +/*** IDebugCodeContext methods ***/ +static FORCEINLINE HRESULT IDebugCodeContext_GetDocumentContext(IDebugCodeContext* This,IDebugDocumentContext **ppsc) { + return This->lpVtbl->GetDocumentContext(This,ppsc); +} +static FORCEINLINE HRESULT IDebugCodeContext_SetBreakPoint(IDebugCodeContext* This,BREAKPOINT_STATE bps) { + return This->lpVtbl->SetBreakPoint(This,bps); +} +#endif +#endif + +#endif + + +#endif /* __IDebugCodeContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumDebugCodeContexts interface + */ +#ifndef __IEnumDebugCodeContexts_INTERFACE_DEFINED__ +#define __IEnumDebugCodeContexts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumDebugCodeContexts, 0x51973c1d, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c1d-cb0c-11d0-b5c9-00a0244a0e7a") +IEnumDebugCodeContexts : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IDebugCodeContext **pscc, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumDebugCodeContexts **ppescc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumDebugCodeContexts, 0x51973c1d, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IEnumDebugCodeContextsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumDebugCodeContexts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumDebugCodeContexts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumDebugCodeContexts *This); + + /*** IEnumDebugCodeContexts methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumDebugCodeContexts *This, + ULONG celt, + IDebugCodeContext **pscc, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumDebugCodeContexts *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumDebugCodeContexts *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumDebugCodeContexts *This, + IEnumDebugCodeContexts **ppescc); + + END_INTERFACE +} IEnumDebugCodeContextsVtbl; + +interface IEnumDebugCodeContexts { + CONST_VTBL IEnumDebugCodeContextsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumDebugCodeContexts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumDebugCodeContexts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumDebugCodeContexts_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumDebugCodeContexts methods ***/ +#define IEnumDebugCodeContexts_Next(This,celt,pscc,pceltFetched) (This)->lpVtbl->Next(This,celt,pscc,pceltFetched) +#define IEnumDebugCodeContexts_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumDebugCodeContexts_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumDebugCodeContexts_Clone(This,ppescc) (This)->lpVtbl->Clone(This,ppescc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumDebugCodeContexts_QueryInterface(IEnumDebugCodeContexts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumDebugCodeContexts_AddRef(IEnumDebugCodeContexts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumDebugCodeContexts_Release(IEnumDebugCodeContexts* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumDebugCodeContexts methods ***/ +static FORCEINLINE HRESULT IEnumDebugCodeContexts_Next(IEnumDebugCodeContexts* This,ULONG celt,IDebugCodeContext **pscc,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,pscc,pceltFetched); +} +static FORCEINLINE HRESULT IEnumDebugCodeContexts_Skip(IEnumDebugCodeContexts* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumDebugCodeContexts_Reset(IEnumDebugCodeContexts* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumDebugCodeContexts_Clone(IEnumDebugCodeContexts* This,IEnumDebugCodeContexts **ppescc) { + return This->lpVtbl->Clone(This,ppescc); +} +#endif +#endif + +#endif + + +#endif /* __IEnumDebugCodeContexts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebugDocumentContext interface + */ +#ifndef __IDebugDocumentContext_INTERFACE_DEFINED__ +#define __IDebugDocumentContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDebugDocumentContext, 0x51973c28, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c28-cb0c-11d0-b5c9-00a0244a0e7a") +IDebugDocumentContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDocument( + IDebugDocument **ppsd) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodeContexts( + IEnumDebugCodeContexts **ppescc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebugDocumentContext, 0x51973c28, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IDebugDocumentContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebugDocumentContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebugDocumentContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebugDocumentContext *This); + + /*** IDebugDocumentContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDocument)( + IDebugDocumentContext *This, + IDebugDocument **ppsd); + + HRESULT (STDMETHODCALLTYPE *EnumCodeContexts)( + IDebugDocumentContext *This, + IEnumDebugCodeContexts **ppescc); + + END_INTERFACE +} IDebugDocumentContextVtbl; + +interface IDebugDocumentContext { + CONST_VTBL IDebugDocumentContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebugDocumentContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebugDocumentContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebugDocumentContext_Release(This) (This)->lpVtbl->Release(This) +/*** IDebugDocumentContext methods ***/ +#define IDebugDocumentContext_GetDocument(This,ppsd) (This)->lpVtbl->GetDocument(This,ppsd) +#define IDebugDocumentContext_EnumCodeContexts(This,ppescc) (This)->lpVtbl->EnumCodeContexts(This,ppescc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebugDocumentContext_QueryInterface(IDebugDocumentContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebugDocumentContext_AddRef(IDebugDocumentContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebugDocumentContext_Release(IDebugDocumentContext* This) { + return This->lpVtbl->Release(This); +} +/*** IDebugDocumentContext methods ***/ +static FORCEINLINE HRESULT IDebugDocumentContext_GetDocument(IDebugDocumentContext* This,IDebugDocument **ppsd) { + return This->lpVtbl->GetDocument(This,ppsd); +} +static FORCEINLINE HRESULT IDebugDocumentContext_EnumCodeContexts(IDebugDocumentContext* This,IEnumDebugCodeContexts **ppescc) { + return This->lpVtbl->EnumCodeContexts(This,ppescc); +} +#endif +#endif + +#endif + + +#endif /* __IDebugDocumentContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRemoteDebugApplicationThread interface + */ +#ifndef __IRemoteDebugApplicationThread_INTERFACE_DEFINED__ +#define __IRemoteDebugApplicationThread_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRemoteDebugApplicationThread, 0x51973c37, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c37-cb0c-11d0-b5c9-00a0244a0e7a") +IRemoteDebugApplicationThread : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSystemThreadId( + DWORD *dwThreadId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetApplication( + IRemoteDebugApplication **pprda) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumStackFrames( + IEnumDebugStackFrames **ppedsf) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *pbstrDescription, + BSTR *pbstrState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNextStatement( + IDebugStackFrame *pStackFrame, + IDebugCodeContext *pCodeContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + DWORD *pState) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + DWORD *pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + DWORD *pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSuspendCount( + DWORD *pdwCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRemoteDebugApplicationThread, 0x51973c37, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IRemoteDebugApplicationThreadVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRemoteDebugApplicationThread *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRemoteDebugApplicationThread *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRemoteDebugApplicationThread *This); + + /*** IRemoteDebugApplicationThread methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemThreadId)( + IRemoteDebugApplicationThread *This, + DWORD *dwThreadId); + + HRESULT (STDMETHODCALLTYPE *GetApplication)( + IRemoteDebugApplicationThread *This, + IRemoteDebugApplication **pprda); + + HRESULT (STDMETHODCALLTYPE *EnumStackFrames)( + IRemoteDebugApplicationThread *This, + IEnumDebugStackFrames **ppedsf); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IRemoteDebugApplicationThread *This, + BSTR *pbstrDescription, + BSTR *pbstrState); + + HRESULT (STDMETHODCALLTYPE *SetNextStatement)( + IRemoteDebugApplicationThread *This, + IDebugStackFrame *pStackFrame, + IDebugCodeContext *pCodeContext); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IRemoteDebugApplicationThread *This, + DWORD *pState); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IRemoteDebugApplicationThread *This, + DWORD *pdwCount); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IRemoteDebugApplicationThread *This, + DWORD *pdwCount); + + HRESULT (STDMETHODCALLTYPE *GetSuspendCount)( + IRemoteDebugApplicationThread *This, + DWORD *pdwCount); + + END_INTERFACE +} IRemoteDebugApplicationThreadVtbl; + +interface IRemoteDebugApplicationThread { + CONST_VTBL IRemoteDebugApplicationThreadVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRemoteDebugApplicationThread_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRemoteDebugApplicationThread_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRemoteDebugApplicationThread_Release(This) (This)->lpVtbl->Release(This) +/*** IRemoteDebugApplicationThread methods ***/ +#define IRemoteDebugApplicationThread_GetSystemThreadId(This,dwThreadId) (This)->lpVtbl->GetSystemThreadId(This,dwThreadId) +#define IRemoteDebugApplicationThread_GetApplication(This,pprda) (This)->lpVtbl->GetApplication(This,pprda) +#define IRemoteDebugApplicationThread_EnumStackFrames(This,ppedsf) (This)->lpVtbl->EnumStackFrames(This,ppedsf) +#define IRemoteDebugApplicationThread_GetDescription(This,pbstrDescription,pbstrState) (This)->lpVtbl->GetDescription(This,pbstrDescription,pbstrState) +#define IRemoteDebugApplicationThread_SetNextStatement(This,pStackFrame,pCodeContext) (This)->lpVtbl->SetNextStatement(This,pStackFrame,pCodeContext) +#define IRemoteDebugApplicationThread_GetState(This,pState) (This)->lpVtbl->GetState(This,pState) +#define IRemoteDebugApplicationThread_Suspend(This,pdwCount) (This)->lpVtbl->Suspend(This,pdwCount) +#define IRemoteDebugApplicationThread_Resume(This,pdwCount) (This)->lpVtbl->Resume(This,pdwCount) +#define IRemoteDebugApplicationThread_GetSuspendCount(This,pdwCount) (This)->lpVtbl->GetSuspendCount(This,pdwCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_QueryInterface(IRemoteDebugApplicationThread* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRemoteDebugApplicationThread_AddRef(IRemoteDebugApplicationThread* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRemoteDebugApplicationThread_Release(IRemoteDebugApplicationThread* This) { + return This->lpVtbl->Release(This); +} +/*** IRemoteDebugApplicationThread methods ***/ +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_GetSystemThreadId(IRemoteDebugApplicationThread* This,DWORD *dwThreadId) { + return This->lpVtbl->GetSystemThreadId(This,dwThreadId); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_GetApplication(IRemoteDebugApplicationThread* This,IRemoteDebugApplication **pprda) { + return This->lpVtbl->GetApplication(This,pprda); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_EnumStackFrames(IRemoteDebugApplicationThread* This,IEnumDebugStackFrames **ppedsf) { + return This->lpVtbl->EnumStackFrames(This,ppedsf); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_GetDescription(IRemoteDebugApplicationThread* This,BSTR *pbstrDescription,BSTR *pbstrState) { + return This->lpVtbl->GetDescription(This,pbstrDescription,pbstrState); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_SetNextStatement(IRemoteDebugApplicationThread* This,IDebugStackFrame *pStackFrame,IDebugCodeContext *pCodeContext) { + return This->lpVtbl->SetNextStatement(This,pStackFrame,pCodeContext); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_GetState(IRemoteDebugApplicationThread* This,DWORD *pState) { + return This->lpVtbl->GetState(This,pState); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_Suspend(IRemoteDebugApplicationThread* This,DWORD *pdwCount) { + return This->lpVtbl->Suspend(This,pdwCount); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_Resume(IRemoteDebugApplicationThread* This,DWORD *pdwCount) { + return This->lpVtbl->Resume(This,pdwCount); +} +static FORCEINLINE HRESULT IRemoteDebugApplicationThread_GetSuspendCount(IRemoteDebugApplicationThread* This,DWORD *pdwCount) { + return This->lpVtbl->GetSuspendCount(This,pdwCount); +} +#endif +#endif + +#endif + + +#endif /* __IRemoteDebugApplicationThread_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRemoteDebugApplication interface + */ +#ifndef __IRemoteDebugApplication_INTERFACE_DEFINED__ +#define __IRemoteDebugApplication_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRemoteDebugApplication, 0x51973c30, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0xae,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c30-cb0c-11d0-b5c9-00a0244aae7a") +IRemoteDebugApplication : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ResumeFromBreakPoint( + IRemoteDebugApplicationThread *prptFocus, + BREAKRESUMEACTION bra, + ERRORRESUMEACTION era) = 0; + + virtual HRESULT STDMETHODCALLTYPE CauseBreak( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectDebugger( + IApplicationDebugger *pad) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisconnectDebugger( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDebugger( + IApplicationDebugger **pad) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstanceAtApplication( + REFCLSID rclsid, + IUnknown *pUnkOuter, + DWORD dwClsContext, + REFIID riid, + IUnknown **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAlive( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumThreads( + IEnumRemoteDebugApplicationThreads **pperdat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootNode( + IDebugApplicationNode **ppdanRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumGlobalExpressionContexts( + IEnumDebugExpressionContexts **ppedec) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRemoteDebugApplication, 0x51973c30, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0xae,0x7a) +#endif +#else +typedef struct IRemoteDebugApplicationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRemoteDebugApplication *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRemoteDebugApplication *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRemoteDebugApplication *This); + + /*** IRemoteDebugApplication methods ***/ + HRESULT (STDMETHODCALLTYPE *ResumeFromBreakPoint)( + IRemoteDebugApplication *This, + IRemoteDebugApplicationThread *prptFocus, + BREAKRESUMEACTION bra, + ERRORRESUMEACTION era); + + HRESULT (STDMETHODCALLTYPE *CauseBreak)( + IRemoteDebugApplication *This); + + HRESULT (STDMETHODCALLTYPE *ConnectDebugger)( + IRemoteDebugApplication *This, + IApplicationDebugger *pad); + + HRESULT (STDMETHODCALLTYPE *DisconnectDebugger)( + IRemoteDebugApplication *This); + + HRESULT (STDMETHODCALLTYPE *GetDebugger)( + IRemoteDebugApplication *This, + IApplicationDebugger **pad); + + HRESULT (STDMETHODCALLTYPE *CreateInstanceAtApplication)( + IRemoteDebugApplication *This, + REFCLSID rclsid, + IUnknown *pUnkOuter, + DWORD dwClsContext, + REFIID riid, + IUnknown **ppvObject); + + HRESULT (STDMETHODCALLTYPE *QueryAlive)( + IRemoteDebugApplication *This); + + HRESULT (STDMETHODCALLTYPE *EnumThreads)( + IRemoteDebugApplication *This, + IEnumRemoteDebugApplicationThreads **pperdat); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IRemoteDebugApplication *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetRootNode)( + IRemoteDebugApplication *This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *EnumGlobalExpressionContexts)( + IRemoteDebugApplication *This, + IEnumDebugExpressionContexts **ppedec); + + END_INTERFACE +} IRemoteDebugApplicationVtbl; + +interface IRemoteDebugApplication { + CONST_VTBL IRemoteDebugApplicationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRemoteDebugApplication_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRemoteDebugApplication_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRemoteDebugApplication_Release(This) (This)->lpVtbl->Release(This) +/*** IRemoteDebugApplication methods ***/ +#define IRemoteDebugApplication_ResumeFromBreakPoint(This,prptFocus,bra,era) (This)->lpVtbl->ResumeFromBreakPoint(This,prptFocus,bra,era) +#define IRemoteDebugApplication_CauseBreak(This) (This)->lpVtbl->CauseBreak(This) +#define IRemoteDebugApplication_ConnectDebugger(This,pad) (This)->lpVtbl->ConnectDebugger(This,pad) +#define IRemoteDebugApplication_DisconnectDebugger(This) (This)->lpVtbl->DisconnectDebugger(This) +#define IRemoteDebugApplication_GetDebugger(This,pad) (This)->lpVtbl->GetDebugger(This,pad) +#define IRemoteDebugApplication_CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject) (This)->lpVtbl->CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject) +#define IRemoteDebugApplication_QueryAlive(This) (This)->lpVtbl->QueryAlive(This) +#define IRemoteDebugApplication_EnumThreads(This,pperdat) (This)->lpVtbl->EnumThreads(This,pperdat) +#define IRemoteDebugApplication_GetName(This,pbstrName) (This)->lpVtbl->GetName(This,pbstrName) +#define IRemoteDebugApplication_GetRootNode(This,ppdanRoot) (This)->lpVtbl->GetRootNode(This,ppdanRoot) +#define IRemoteDebugApplication_EnumGlobalExpressionContexts(This,ppedec) (This)->lpVtbl->EnumGlobalExpressionContexts(This,ppedec) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRemoteDebugApplication_QueryInterface(IRemoteDebugApplication* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRemoteDebugApplication_AddRef(IRemoteDebugApplication* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRemoteDebugApplication_Release(IRemoteDebugApplication* This) { + return This->lpVtbl->Release(This); +} +/*** IRemoteDebugApplication methods ***/ +static FORCEINLINE HRESULT IRemoteDebugApplication_ResumeFromBreakPoint(IRemoteDebugApplication* This,IRemoteDebugApplicationThread *prptFocus,BREAKRESUMEACTION bra,ERRORRESUMEACTION era) { + return This->lpVtbl->ResumeFromBreakPoint(This,prptFocus,bra,era); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_CauseBreak(IRemoteDebugApplication* This) { + return This->lpVtbl->CauseBreak(This); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_ConnectDebugger(IRemoteDebugApplication* This,IApplicationDebugger *pad) { + return This->lpVtbl->ConnectDebugger(This,pad); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_DisconnectDebugger(IRemoteDebugApplication* This) { + return This->lpVtbl->DisconnectDebugger(This); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_GetDebugger(IRemoteDebugApplication* This,IApplicationDebugger **pad) { + return This->lpVtbl->GetDebugger(This,pad); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_CreateInstanceAtApplication(IRemoteDebugApplication* This,REFCLSID rclsid,IUnknown *pUnkOuter,DWORD dwClsContext,REFIID riid,IUnknown **ppvObject) { + return This->lpVtbl->CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_QueryAlive(IRemoteDebugApplication* This) { + return This->lpVtbl->QueryAlive(This); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_EnumThreads(IRemoteDebugApplication* This,IEnumRemoteDebugApplicationThreads **pperdat) { + return This->lpVtbl->EnumThreads(This,pperdat); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_GetName(IRemoteDebugApplication* This,BSTR *pbstrName) { + return This->lpVtbl->GetName(This,pbstrName); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_GetRootNode(IRemoteDebugApplication* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IRemoteDebugApplication_EnumGlobalExpressionContexts(IRemoteDebugApplication* This,IEnumDebugExpressionContexts **ppedec) { + return This->lpVtbl->EnumGlobalExpressionContexts(This,ppedec); +} +#endif +#endif + +#endif + + +#endif /* __IRemoteDebugApplication_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebugApplication32 interface + */ +#ifndef __IDebugApplication32_INTERFACE_DEFINED__ +#define __IDebugApplication32_INTERFACE_DEFINED__ + +#undef GetCurrentThread +DEFINE_GUID(IID_IDebugApplication32, 0x51973c32, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c32-cb0c-11d0-b5c9-00a0244a0e7a") +IDebugApplication32 : public IRemoteDebugApplication +{ + virtual HRESULT STDMETHODCALLTYPE SetName( + LPCOLESTR pstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StepOutComplete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DebugOutput( + LPCOLESTR pstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartDebugSession( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleBreakPoint( + BREAKREASON br, + BREAKRESUMEACTION *pbra) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBreakFlags( + APPBREAKFLAGS *pabf, + IRemoteDebugApplicationThread **pprdatSteppingThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentThread( + IDebugApplicationThread **pat) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAsyncDebugOperation( + IDebugSyncOperation *psdo, + IDebugAsyncOperation **ppado) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStackFrameSniffer( + IDebugStackFrameSniffer *pdsfs, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStackFrameSniffer( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryCurrentThreadIsDebuggerThread( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SynchronousCallInDebuggerThread( + IDebugThreadCall32 *pptc, + DWORD dwParam1, + DWORD dwParam2, + DWORD dwParam3) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateApplicationNode( + IDebugApplicationNode **ppdanNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE FireDebuggerEvent( + REFGUID riid, + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleRuntimeError( + IActiveScriptErrorDebug *pErrorDebug, + IActiveScriptSite *pScriptSite, + BREAKRESUMEACTION *pbra, + ERRORRESUMEACTION *perra, + BOOL *pfCallOnScriptError) = 0; + + virtual BOOL STDMETHODCALLTYPE FCanJitDebug( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE FIsAutoJitDebugEnabled( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddGlobalExpressionContextProvider( + IProvideExpressionContexts *pdsfs, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveGlobalExpressionContextProvider( + DWORD dwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebugApplication32, 0x51973c32, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IDebugApplication32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebugApplication32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebugApplication32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebugApplication32 *This); + + /*** IRemoteDebugApplication methods ***/ + HRESULT (STDMETHODCALLTYPE *ResumeFromBreakPoint)( + IDebugApplication32 *This, + IRemoteDebugApplicationThread *prptFocus, + BREAKRESUMEACTION bra, + ERRORRESUMEACTION era); + + HRESULT (STDMETHODCALLTYPE *CauseBreak)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *ConnectDebugger)( + IDebugApplication32 *This, + IApplicationDebugger *pad); + + HRESULT (STDMETHODCALLTYPE *DisconnectDebugger)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *GetDebugger)( + IDebugApplication32 *This, + IApplicationDebugger **pad); + + HRESULT (STDMETHODCALLTYPE *CreateInstanceAtApplication)( + IDebugApplication32 *This, + REFCLSID rclsid, + IUnknown *pUnkOuter, + DWORD dwClsContext, + REFIID riid, + IUnknown **ppvObject); + + HRESULT (STDMETHODCALLTYPE *QueryAlive)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *EnumThreads)( + IDebugApplication32 *This, + IEnumRemoteDebugApplicationThreads **pperdat); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IDebugApplication32 *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetRootNode)( + IDebugApplication32 *This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *EnumGlobalExpressionContexts)( + IDebugApplication32 *This, + IEnumDebugExpressionContexts **ppedec); + + /*** IDebugApplication32 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetName)( + IDebugApplication32 *This, + LPCOLESTR pstrName); + + HRESULT (STDMETHODCALLTYPE *StepOutComplete)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *DebugOutput)( + IDebugApplication32 *This, + LPCOLESTR pstr); + + HRESULT (STDMETHODCALLTYPE *StartDebugSession)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *HandleBreakPoint)( + IDebugApplication32 *This, + BREAKREASON br, + BREAKRESUMEACTION *pbra); + + HRESULT (STDMETHODCALLTYPE *Close)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *GetBreakFlags)( + IDebugApplication32 *This, + APPBREAKFLAGS *pabf, + IRemoteDebugApplicationThread **pprdatSteppingThread); + + HRESULT (STDMETHODCALLTYPE *GetCurrentThread)( + IDebugApplication32 *This, + IDebugApplicationThread **pat); + + HRESULT (STDMETHODCALLTYPE *CreateAsyncDebugOperation)( + IDebugApplication32 *This, + IDebugSyncOperation *psdo, + IDebugAsyncOperation **ppado); + + HRESULT (STDMETHODCALLTYPE *AddStackFrameSniffer)( + IDebugApplication32 *This, + IDebugStackFrameSniffer *pdsfs, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RemoveStackFrameSniffer)( + IDebugApplication32 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *QueryCurrentThreadIsDebuggerThread)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *SynchronousCallInDebuggerThread)( + IDebugApplication32 *This, + IDebugThreadCall32 *pptc, + DWORD dwParam1, + DWORD dwParam2, + DWORD dwParam3); + + HRESULT (STDMETHODCALLTYPE *CreateApplicationNode)( + IDebugApplication32 *This, + IDebugApplicationNode **ppdanNew); + + HRESULT (STDMETHODCALLTYPE *FireDebuggerEvent)( + IDebugApplication32 *This, + REFGUID riid, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *HandleRuntimeError)( + IDebugApplication32 *This, + IActiveScriptErrorDebug *pErrorDebug, + IActiveScriptSite *pScriptSite, + BREAKRESUMEACTION *pbra, + ERRORRESUMEACTION *perra, + BOOL *pfCallOnScriptError); + + BOOL (STDMETHODCALLTYPE *FCanJitDebug)( + IDebugApplication32 *This); + + BOOL (STDMETHODCALLTYPE *FIsAutoJitDebugEnabled)( + IDebugApplication32 *This); + + HRESULT (STDMETHODCALLTYPE *AddGlobalExpressionContextProvider)( + IDebugApplication32 *This, + IProvideExpressionContexts *pdsfs, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RemoveGlobalExpressionContextProvider)( + IDebugApplication32 *This, + DWORD dwCookie); + + END_INTERFACE +} IDebugApplication32Vtbl; + +interface IDebugApplication32 { + CONST_VTBL IDebugApplication32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebugApplication32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebugApplication32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebugApplication32_Release(This) (This)->lpVtbl->Release(This) +/*** IRemoteDebugApplication methods ***/ +#define IDebugApplication32_ResumeFromBreakPoint(This,prptFocus,bra,era) (This)->lpVtbl->ResumeFromBreakPoint(This,prptFocus,bra,era) +#define IDebugApplication32_CauseBreak(This) (This)->lpVtbl->CauseBreak(This) +#define IDebugApplication32_ConnectDebugger(This,pad) (This)->lpVtbl->ConnectDebugger(This,pad) +#define IDebugApplication32_DisconnectDebugger(This) (This)->lpVtbl->DisconnectDebugger(This) +#define IDebugApplication32_GetDebugger(This,pad) (This)->lpVtbl->GetDebugger(This,pad) +#define IDebugApplication32_CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject) (This)->lpVtbl->CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject) +#define IDebugApplication32_QueryAlive(This) (This)->lpVtbl->QueryAlive(This) +#define IDebugApplication32_EnumThreads(This,pperdat) (This)->lpVtbl->EnumThreads(This,pperdat) +#define IDebugApplication32_GetName(This,pbstrName) (This)->lpVtbl->GetName(This,pbstrName) +#define IDebugApplication32_GetRootNode(This,ppdanRoot) (This)->lpVtbl->GetRootNode(This,ppdanRoot) +#define IDebugApplication32_EnumGlobalExpressionContexts(This,ppedec) (This)->lpVtbl->EnumGlobalExpressionContexts(This,ppedec) +/*** IDebugApplication32 methods ***/ +#define IDebugApplication32_SetName(This,pstrName) (This)->lpVtbl->SetName(This,pstrName) +#define IDebugApplication32_StepOutComplete(This) (This)->lpVtbl->StepOutComplete(This) +#define IDebugApplication32_DebugOutput(This,pstr) (This)->lpVtbl->DebugOutput(This,pstr) +#define IDebugApplication32_StartDebugSession(This) (This)->lpVtbl->StartDebugSession(This) +#define IDebugApplication32_HandleBreakPoint(This,br,pbra) (This)->lpVtbl->HandleBreakPoint(This,br,pbra) +#define IDebugApplication32_Close(This) (This)->lpVtbl->Close(This) +#define IDebugApplication32_GetBreakFlags(This,pabf,pprdatSteppingThread) (This)->lpVtbl->GetBreakFlags(This,pabf,pprdatSteppingThread) +#define IDebugApplication32_GetCurrentThread(This,pat) (This)->lpVtbl->GetCurrentThread(This,pat) +#define IDebugApplication32_CreateAsyncDebugOperation(This,psdo,ppado) (This)->lpVtbl->CreateAsyncDebugOperation(This,psdo,ppado) +#define IDebugApplication32_AddStackFrameSniffer(This,pdsfs,pdwCookie) (This)->lpVtbl->AddStackFrameSniffer(This,pdsfs,pdwCookie) +#define IDebugApplication32_RemoveStackFrameSniffer(This,dwCookie) (This)->lpVtbl->RemoveStackFrameSniffer(This,dwCookie) +#define IDebugApplication32_QueryCurrentThreadIsDebuggerThread(This) (This)->lpVtbl->QueryCurrentThreadIsDebuggerThread(This) +#define IDebugApplication32_SynchronousCallInDebuggerThread(This,pptc,dwParam1,dwParam2,dwParam3) (This)->lpVtbl->SynchronousCallInDebuggerThread(This,pptc,dwParam1,dwParam2,dwParam3) +#define IDebugApplication32_CreateApplicationNode(This,ppdanNew) (This)->lpVtbl->CreateApplicationNode(This,ppdanNew) +#define IDebugApplication32_FireDebuggerEvent(This,riid,punk) (This)->lpVtbl->FireDebuggerEvent(This,riid,punk) +#define IDebugApplication32_HandleRuntimeError(This,pErrorDebug,pScriptSite,pbra,perra,pfCallOnScriptError) (This)->lpVtbl->HandleRuntimeError(This,pErrorDebug,pScriptSite,pbra,perra,pfCallOnScriptError) +#define IDebugApplication32_FCanJitDebug(This) (This)->lpVtbl->FCanJitDebug(This) +#define IDebugApplication32_FIsAutoJitDebugEnabled(This) (This)->lpVtbl->FIsAutoJitDebugEnabled(This) +#define IDebugApplication32_AddGlobalExpressionContextProvider(This,pdsfs,pdwCookie) (This)->lpVtbl->AddGlobalExpressionContextProvider(This,pdsfs,pdwCookie) +#define IDebugApplication32_RemoveGlobalExpressionContextProvider(This,dwCookie) (This)->lpVtbl->RemoveGlobalExpressionContextProvider(This,dwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebugApplication32_QueryInterface(IDebugApplication32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebugApplication32_AddRef(IDebugApplication32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebugApplication32_Release(IDebugApplication32* This) { + return This->lpVtbl->Release(This); +} +/*** IRemoteDebugApplication methods ***/ +static FORCEINLINE HRESULT IDebugApplication32_ResumeFromBreakPoint(IDebugApplication32* This,IRemoteDebugApplicationThread *prptFocus,BREAKRESUMEACTION bra,ERRORRESUMEACTION era) { + return This->lpVtbl->ResumeFromBreakPoint(This,prptFocus,bra,era); +} +static FORCEINLINE HRESULT IDebugApplication32_CauseBreak(IDebugApplication32* This) { + return This->lpVtbl->CauseBreak(This); +} +static FORCEINLINE HRESULT IDebugApplication32_ConnectDebugger(IDebugApplication32* This,IApplicationDebugger *pad) { + return This->lpVtbl->ConnectDebugger(This,pad); +} +static FORCEINLINE HRESULT IDebugApplication32_DisconnectDebugger(IDebugApplication32* This) { + return This->lpVtbl->DisconnectDebugger(This); +} +static FORCEINLINE HRESULT IDebugApplication32_GetDebugger(IDebugApplication32* This,IApplicationDebugger **pad) { + return This->lpVtbl->GetDebugger(This,pad); +} +static FORCEINLINE HRESULT IDebugApplication32_CreateInstanceAtApplication(IDebugApplication32* This,REFCLSID rclsid,IUnknown *pUnkOuter,DWORD dwClsContext,REFIID riid,IUnknown **ppvObject) { + return This->lpVtbl->CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject); +} +static FORCEINLINE HRESULT IDebugApplication32_QueryAlive(IDebugApplication32* This) { + return This->lpVtbl->QueryAlive(This); +} +static FORCEINLINE HRESULT IDebugApplication32_EnumThreads(IDebugApplication32* This,IEnumRemoteDebugApplicationThreads **pperdat) { + return This->lpVtbl->EnumThreads(This,pperdat); +} +static FORCEINLINE HRESULT IDebugApplication32_GetName(IDebugApplication32* This,BSTR *pbstrName) { + return This->lpVtbl->GetName(This,pbstrName); +} +static FORCEINLINE HRESULT IDebugApplication32_GetRootNode(IDebugApplication32* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IDebugApplication32_EnumGlobalExpressionContexts(IDebugApplication32* This,IEnumDebugExpressionContexts **ppedec) { + return This->lpVtbl->EnumGlobalExpressionContexts(This,ppedec); +} +/*** IDebugApplication32 methods ***/ +static FORCEINLINE HRESULT IDebugApplication32_SetName(IDebugApplication32* This,LPCOLESTR pstrName) { + return This->lpVtbl->SetName(This,pstrName); +} +static FORCEINLINE HRESULT IDebugApplication32_StepOutComplete(IDebugApplication32* This) { + return This->lpVtbl->StepOutComplete(This); +} +static FORCEINLINE HRESULT IDebugApplication32_DebugOutput(IDebugApplication32* This,LPCOLESTR pstr) { + return This->lpVtbl->DebugOutput(This,pstr); +} +static FORCEINLINE HRESULT IDebugApplication32_StartDebugSession(IDebugApplication32* This) { + return This->lpVtbl->StartDebugSession(This); +} +static FORCEINLINE HRESULT IDebugApplication32_HandleBreakPoint(IDebugApplication32* This,BREAKREASON br,BREAKRESUMEACTION *pbra) { + return This->lpVtbl->HandleBreakPoint(This,br,pbra); +} +static FORCEINLINE HRESULT IDebugApplication32_Close(IDebugApplication32* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IDebugApplication32_GetBreakFlags(IDebugApplication32* This,APPBREAKFLAGS *pabf,IRemoteDebugApplicationThread **pprdatSteppingThread) { + return This->lpVtbl->GetBreakFlags(This,pabf,pprdatSteppingThread); +} +static FORCEINLINE HRESULT IDebugApplication32_GetCurrentThread(IDebugApplication32* This,IDebugApplicationThread **pat) { + return This->lpVtbl->GetCurrentThread(This,pat); +} +static FORCEINLINE HRESULT IDebugApplication32_CreateAsyncDebugOperation(IDebugApplication32* This,IDebugSyncOperation *psdo,IDebugAsyncOperation **ppado) { + return This->lpVtbl->CreateAsyncDebugOperation(This,psdo,ppado); +} +static FORCEINLINE HRESULT IDebugApplication32_AddStackFrameSniffer(IDebugApplication32* This,IDebugStackFrameSniffer *pdsfs,DWORD *pdwCookie) { + return This->lpVtbl->AddStackFrameSniffer(This,pdsfs,pdwCookie); +} +static FORCEINLINE HRESULT IDebugApplication32_RemoveStackFrameSniffer(IDebugApplication32* This,DWORD dwCookie) { + return This->lpVtbl->RemoveStackFrameSniffer(This,dwCookie); +} +static FORCEINLINE HRESULT IDebugApplication32_QueryCurrentThreadIsDebuggerThread(IDebugApplication32* This) { + return This->lpVtbl->QueryCurrentThreadIsDebuggerThread(This); +} +static FORCEINLINE HRESULT IDebugApplication32_SynchronousCallInDebuggerThread(IDebugApplication32* This,IDebugThreadCall32 *pptc,DWORD dwParam1,DWORD dwParam2,DWORD dwParam3) { + return This->lpVtbl->SynchronousCallInDebuggerThread(This,pptc,dwParam1,dwParam2,dwParam3); +} +static FORCEINLINE HRESULT IDebugApplication32_CreateApplicationNode(IDebugApplication32* This,IDebugApplicationNode **ppdanNew) { + return This->lpVtbl->CreateApplicationNode(This,ppdanNew); +} +static FORCEINLINE HRESULT IDebugApplication32_FireDebuggerEvent(IDebugApplication32* This,REFGUID riid,IUnknown *punk) { + return This->lpVtbl->FireDebuggerEvent(This,riid,punk); +} +static FORCEINLINE HRESULT IDebugApplication32_HandleRuntimeError(IDebugApplication32* This,IActiveScriptErrorDebug *pErrorDebug,IActiveScriptSite *pScriptSite,BREAKRESUMEACTION *pbra,ERRORRESUMEACTION *perra,BOOL *pfCallOnScriptError) { + return This->lpVtbl->HandleRuntimeError(This,pErrorDebug,pScriptSite,pbra,perra,pfCallOnScriptError); +} +static FORCEINLINE BOOL IDebugApplication32_FCanJitDebug(IDebugApplication32* This) { + return This->lpVtbl->FCanJitDebug(This); +} +static FORCEINLINE BOOL IDebugApplication32_FIsAutoJitDebugEnabled(IDebugApplication32* This) { + return This->lpVtbl->FIsAutoJitDebugEnabled(This); +} +static FORCEINLINE HRESULT IDebugApplication32_AddGlobalExpressionContextProvider(IDebugApplication32* This,IProvideExpressionContexts *pdsfs,DWORD *pdwCookie) { + return This->lpVtbl->AddGlobalExpressionContextProvider(This,pdsfs,pdwCookie); +} +static FORCEINLINE HRESULT IDebugApplication32_RemoveGlobalExpressionContextProvider(IDebugApplication32* This,DWORD dwCookie) { + return This->lpVtbl->RemoveGlobalExpressionContextProvider(This,dwCookie); +} +#endif +#endif + +#endif + + +#endif /* __IDebugApplication32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebugApplication64 interface + */ +#ifndef __IDebugApplication64_INTERFACE_DEFINED__ +#define __IDebugApplication64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDebugApplication64, 0x4dedc754, 0x04c7, 0x4f10, 0x9e,0x60, 0x16,0xa3,0x90,0xfe,0x6e,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4dedc754-04c7-4f10-9e60-16a390fe6e62") +IDebugApplication64 : public IRemoteDebugApplication +{ + virtual HRESULT STDMETHODCALLTYPE SetName( + LPCOLESTR pstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StepOutComplete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DebugOutput( + LPCOLESTR pstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartDebugSession( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleBreakPoint( + BREAKREASON br, + BREAKRESUMEACTION *pbra) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBreakFlags( + APPBREAKFLAGS *pabf, + IRemoteDebugApplicationThread **pprdatSteppingThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentThread( + IDebugApplicationThread **pat) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAsyncDebugOperation( + IDebugSyncOperation *psdo, + IDebugAsyncOperation **ppado) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStackFrameSniffer( + IDebugStackFrameSniffer *pdsfs, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStackFrameSniffer( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryCurrentThreadIsDebuggerThread( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SynchronousCallInDebuggerThread( + IDebugThreadCall32 *pptc, + DWORDLONG dwParam1, + DWORDLONG dwParam2, + DWORDLONG dwParam3) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateApplicationNode( + IDebugApplicationNode **ppdanNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE FireDebuggerEvent( + REFGUID riid, + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleRuntimeError( + IActiveScriptErrorDebug *pErrorDebug, + IActiveScriptSite *pScriptSite, + BREAKRESUMEACTION *pbra, + ERRORRESUMEACTION *perra, + BOOL *pfCallOnScriptError) = 0; + + virtual BOOL STDMETHODCALLTYPE FCanJitDebug( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE FIsAutoJitDebugEnabled( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddGlobalExpressionContextProvider( + IProvideExpressionContexts *pdsfs, + DWORDLONG *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveGlobalExpressionContextProvider( + DWORDLONG dwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebugApplication64, 0x4dedc754, 0x04c7, 0x4f10, 0x9e,0x60, 0x16,0xa3,0x90,0xfe,0x6e,0x62) +#endif +#else +typedef struct IDebugApplication64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebugApplication64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebugApplication64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebugApplication64 *This); + + /*** IRemoteDebugApplication methods ***/ + HRESULT (STDMETHODCALLTYPE *ResumeFromBreakPoint)( + IDebugApplication64 *This, + IRemoteDebugApplicationThread *prptFocus, + BREAKRESUMEACTION bra, + ERRORRESUMEACTION era); + + HRESULT (STDMETHODCALLTYPE *CauseBreak)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *ConnectDebugger)( + IDebugApplication64 *This, + IApplicationDebugger *pad); + + HRESULT (STDMETHODCALLTYPE *DisconnectDebugger)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *GetDebugger)( + IDebugApplication64 *This, + IApplicationDebugger **pad); + + HRESULT (STDMETHODCALLTYPE *CreateInstanceAtApplication)( + IDebugApplication64 *This, + REFCLSID rclsid, + IUnknown *pUnkOuter, + DWORD dwClsContext, + REFIID riid, + IUnknown **ppvObject); + + HRESULT (STDMETHODCALLTYPE *QueryAlive)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *EnumThreads)( + IDebugApplication64 *This, + IEnumRemoteDebugApplicationThreads **pperdat); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IDebugApplication64 *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetRootNode)( + IDebugApplication64 *This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *EnumGlobalExpressionContexts)( + IDebugApplication64 *This, + IEnumDebugExpressionContexts **ppedec); + + /*** IDebugApplication64 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetName)( + IDebugApplication64 *This, + LPCOLESTR pstrName); + + HRESULT (STDMETHODCALLTYPE *StepOutComplete)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *DebugOutput)( + IDebugApplication64 *This, + LPCOLESTR pstr); + + HRESULT (STDMETHODCALLTYPE *StartDebugSession)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *HandleBreakPoint)( + IDebugApplication64 *This, + BREAKREASON br, + BREAKRESUMEACTION *pbra); + + HRESULT (STDMETHODCALLTYPE *Close)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *GetBreakFlags)( + IDebugApplication64 *This, + APPBREAKFLAGS *pabf, + IRemoteDebugApplicationThread **pprdatSteppingThread); + + HRESULT (STDMETHODCALLTYPE *GetCurrentThread)( + IDebugApplication64 *This, + IDebugApplicationThread **pat); + + HRESULT (STDMETHODCALLTYPE *CreateAsyncDebugOperation)( + IDebugApplication64 *This, + IDebugSyncOperation *psdo, + IDebugAsyncOperation **ppado); + + HRESULT (STDMETHODCALLTYPE *AddStackFrameSniffer)( + IDebugApplication64 *This, + IDebugStackFrameSniffer *pdsfs, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RemoveStackFrameSniffer)( + IDebugApplication64 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *QueryCurrentThreadIsDebuggerThread)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *SynchronousCallInDebuggerThread)( + IDebugApplication64 *This, + IDebugThreadCall32 *pptc, + DWORDLONG dwParam1, + DWORDLONG dwParam2, + DWORDLONG dwParam3); + + HRESULT (STDMETHODCALLTYPE *CreateApplicationNode)( + IDebugApplication64 *This, + IDebugApplicationNode **ppdanNew); + + HRESULT (STDMETHODCALLTYPE *FireDebuggerEvent)( + IDebugApplication64 *This, + REFGUID riid, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *HandleRuntimeError)( + IDebugApplication64 *This, + IActiveScriptErrorDebug *pErrorDebug, + IActiveScriptSite *pScriptSite, + BREAKRESUMEACTION *pbra, + ERRORRESUMEACTION *perra, + BOOL *pfCallOnScriptError); + + BOOL (STDMETHODCALLTYPE *FCanJitDebug)( + IDebugApplication64 *This); + + BOOL (STDMETHODCALLTYPE *FIsAutoJitDebugEnabled)( + IDebugApplication64 *This); + + HRESULT (STDMETHODCALLTYPE *AddGlobalExpressionContextProvider)( + IDebugApplication64 *This, + IProvideExpressionContexts *pdsfs, + DWORDLONG *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RemoveGlobalExpressionContextProvider)( + IDebugApplication64 *This, + DWORDLONG dwCookie); + + END_INTERFACE +} IDebugApplication64Vtbl; + +interface IDebugApplication64 { + CONST_VTBL IDebugApplication64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebugApplication64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebugApplication64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebugApplication64_Release(This) (This)->lpVtbl->Release(This) +/*** IRemoteDebugApplication methods ***/ +#define IDebugApplication64_ResumeFromBreakPoint(This,prptFocus,bra,era) (This)->lpVtbl->ResumeFromBreakPoint(This,prptFocus,bra,era) +#define IDebugApplication64_CauseBreak(This) (This)->lpVtbl->CauseBreak(This) +#define IDebugApplication64_ConnectDebugger(This,pad) (This)->lpVtbl->ConnectDebugger(This,pad) +#define IDebugApplication64_DisconnectDebugger(This) (This)->lpVtbl->DisconnectDebugger(This) +#define IDebugApplication64_GetDebugger(This,pad) (This)->lpVtbl->GetDebugger(This,pad) +#define IDebugApplication64_CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject) (This)->lpVtbl->CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject) +#define IDebugApplication64_QueryAlive(This) (This)->lpVtbl->QueryAlive(This) +#define IDebugApplication64_EnumThreads(This,pperdat) (This)->lpVtbl->EnumThreads(This,pperdat) +#define IDebugApplication64_GetName(This,pbstrName) (This)->lpVtbl->GetName(This,pbstrName) +#define IDebugApplication64_GetRootNode(This,ppdanRoot) (This)->lpVtbl->GetRootNode(This,ppdanRoot) +#define IDebugApplication64_EnumGlobalExpressionContexts(This,ppedec) (This)->lpVtbl->EnumGlobalExpressionContexts(This,ppedec) +/*** IDebugApplication64 methods ***/ +#define IDebugApplication64_SetName(This,pstrName) (This)->lpVtbl->SetName(This,pstrName) +#define IDebugApplication64_StepOutComplete(This) (This)->lpVtbl->StepOutComplete(This) +#define IDebugApplication64_DebugOutput(This,pstr) (This)->lpVtbl->DebugOutput(This,pstr) +#define IDebugApplication64_StartDebugSession(This) (This)->lpVtbl->StartDebugSession(This) +#define IDebugApplication64_HandleBreakPoint(This,br,pbra) (This)->lpVtbl->HandleBreakPoint(This,br,pbra) +#define IDebugApplication64_Close(This) (This)->lpVtbl->Close(This) +#define IDebugApplication64_GetBreakFlags(This,pabf,pprdatSteppingThread) (This)->lpVtbl->GetBreakFlags(This,pabf,pprdatSteppingThread) +#define IDebugApplication64_GetCurrentThread(This,pat) (This)->lpVtbl->GetCurrentThread(This,pat) +#define IDebugApplication64_CreateAsyncDebugOperation(This,psdo,ppado) (This)->lpVtbl->CreateAsyncDebugOperation(This,psdo,ppado) +#define IDebugApplication64_AddStackFrameSniffer(This,pdsfs,pdwCookie) (This)->lpVtbl->AddStackFrameSniffer(This,pdsfs,pdwCookie) +#define IDebugApplication64_RemoveStackFrameSniffer(This,dwCookie) (This)->lpVtbl->RemoveStackFrameSniffer(This,dwCookie) +#define IDebugApplication64_QueryCurrentThreadIsDebuggerThread(This) (This)->lpVtbl->QueryCurrentThreadIsDebuggerThread(This) +#define IDebugApplication64_SynchronousCallInDebuggerThread(This,pptc,dwParam1,dwParam2,dwParam3) (This)->lpVtbl->SynchronousCallInDebuggerThread(This,pptc,dwParam1,dwParam2,dwParam3) +#define IDebugApplication64_CreateApplicationNode(This,ppdanNew) (This)->lpVtbl->CreateApplicationNode(This,ppdanNew) +#define IDebugApplication64_FireDebuggerEvent(This,riid,punk) (This)->lpVtbl->FireDebuggerEvent(This,riid,punk) +#define IDebugApplication64_HandleRuntimeError(This,pErrorDebug,pScriptSite,pbra,perra,pfCallOnScriptError) (This)->lpVtbl->HandleRuntimeError(This,pErrorDebug,pScriptSite,pbra,perra,pfCallOnScriptError) +#define IDebugApplication64_FCanJitDebug(This) (This)->lpVtbl->FCanJitDebug(This) +#define IDebugApplication64_FIsAutoJitDebugEnabled(This) (This)->lpVtbl->FIsAutoJitDebugEnabled(This) +#define IDebugApplication64_AddGlobalExpressionContextProvider(This,pdsfs,pdwCookie) (This)->lpVtbl->AddGlobalExpressionContextProvider(This,pdsfs,pdwCookie) +#define IDebugApplication64_RemoveGlobalExpressionContextProvider(This,dwCookie) (This)->lpVtbl->RemoveGlobalExpressionContextProvider(This,dwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebugApplication64_QueryInterface(IDebugApplication64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebugApplication64_AddRef(IDebugApplication64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebugApplication64_Release(IDebugApplication64* This) { + return This->lpVtbl->Release(This); +} +/*** IRemoteDebugApplication methods ***/ +static FORCEINLINE HRESULT IDebugApplication64_ResumeFromBreakPoint(IDebugApplication64* This,IRemoteDebugApplicationThread *prptFocus,BREAKRESUMEACTION bra,ERRORRESUMEACTION era) { + return This->lpVtbl->ResumeFromBreakPoint(This,prptFocus,bra,era); +} +static FORCEINLINE HRESULT IDebugApplication64_CauseBreak(IDebugApplication64* This) { + return This->lpVtbl->CauseBreak(This); +} +static FORCEINLINE HRESULT IDebugApplication64_ConnectDebugger(IDebugApplication64* This,IApplicationDebugger *pad) { + return This->lpVtbl->ConnectDebugger(This,pad); +} +static FORCEINLINE HRESULT IDebugApplication64_DisconnectDebugger(IDebugApplication64* This) { + return This->lpVtbl->DisconnectDebugger(This); +} +static FORCEINLINE HRESULT IDebugApplication64_GetDebugger(IDebugApplication64* This,IApplicationDebugger **pad) { + return This->lpVtbl->GetDebugger(This,pad); +} +static FORCEINLINE HRESULT IDebugApplication64_CreateInstanceAtApplication(IDebugApplication64* This,REFCLSID rclsid,IUnknown *pUnkOuter,DWORD dwClsContext,REFIID riid,IUnknown **ppvObject) { + return This->lpVtbl->CreateInstanceAtApplication(This,rclsid,pUnkOuter,dwClsContext,riid,ppvObject); +} +static FORCEINLINE HRESULT IDebugApplication64_QueryAlive(IDebugApplication64* This) { + return This->lpVtbl->QueryAlive(This); +} +static FORCEINLINE HRESULT IDebugApplication64_EnumThreads(IDebugApplication64* This,IEnumRemoteDebugApplicationThreads **pperdat) { + return This->lpVtbl->EnumThreads(This,pperdat); +} +static FORCEINLINE HRESULT IDebugApplication64_GetName(IDebugApplication64* This,BSTR *pbstrName) { + return This->lpVtbl->GetName(This,pbstrName); +} +static FORCEINLINE HRESULT IDebugApplication64_GetRootNode(IDebugApplication64* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IDebugApplication64_EnumGlobalExpressionContexts(IDebugApplication64* This,IEnumDebugExpressionContexts **ppedec) { + return This->lpVtbl->EnumGlobalExpressionContexts(This,ppedec); +} +/*** IDebugApplication64 methods ***/ +static FORCEINLINE HRESULT IDebugApplication64_SetName(IDebugApplication64* This,LPCOLESTR pstrName) { + return This->lpVtbl->SetName(This,pstrName); +} +static FORCEINLINE HRESULT IDebugApplication64_StepOutComplete(IDebugApplication64* This) { + return This->lpVtbl->StepOutComplete(This); +} +static FORCEINLINE HRESULT IDebugApplication64_DebugOutput(IDebugApplication64* This,LPCOLESTR pstr) { + return This->lpVtbl->DebugOutput(This,pstr); +} +static FORCEINLINE HRESULT IDebugApplication64_StartDebugSession(IDebugApplication64* This) { + return This->lpVtbl->StartDebugSession(This); +} +static FORCEINLINE HRESULT IDebugApplication64_HandleBreakPoint(IDebugApplication64* This,BREAKREASON br,BREAKRESUMEACTION *pbra) { + return This->lpVtbl->HandleBreakPoint(This,br,pbra); +} +static FORCEINLINE HRESULT IDebugApplication64_Close(IDebugApplication64* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IDebugApplication64_GetBreakFlags(IDebugApplication64* This,APPBREAKFLAGS *pabf,IRemoteDebugApplicationThread **pprdatSteppingThread) { + return This->lpVtbl->GetBreakFlags(This,pabf,pprdatSteppingThread); +} +static FORCEINLINE HRESULT IDebugApplication64_GetCurrentThread(IDebugApplication64* This,IDebugApplicationThread **pat) { + return This->lpVtbl->GetCurrentThread(This,pat); +} +static FORCEINLINE HRESULT IDebugApplication64_CreateAsyncDebugOperation(IDebugApplication64* This,IDebugSyncOperation *psdo,IDebugAsyncOperation **ppado) { + return This->lpVtbl->CreateAsyncDebugOperation(This,psdo,ppado); +} +static FORCEINLINE HRESULT IDebugApplication64_AddStackFrameSniffer(IDebugApplication64* This,IDebugStackFrameSniffer *pdsfs,DWORD *pdwCookie) { + return This->lpVtbl->AddStackFrameSniffer(This,pdsfs,pdwCookie); +} +static FORCEINLINE HRESULT IDebugApplication64_RemoveStackFrameSniffer(IDebugApplication64* This,DWORD dwCookie) { + return This->lpVtbl->RemoveStackFrameSniffer(This,dwCookie); +} +static FORCEINLINE HRESULT IDebugApplication64_QueryCurrentThreadIsDebuggerThread(IDebugApplication64* This) { + return This->lpVtbl->QueryCurrentThreadIsDebuggerThread(This); +} +static FORCEINLINE HRESULT IDebugApplication64_SynchronousCallInDebuggerThread(IDebugApplication64* This,IDebugThreadCall32 *pptc,DWORDLONG dwParam1,DWORDLONG dwParam2,DWORDLONG dwParam3) { + return This->lpVtbl->SynchronousCallInDebuggerThread(This,pptc,dwParam1,dwParam2,dwParam3); +} +static FORCEINLINE HRESULT IDebugApplication64_CreateApplicationNode(IDebugApplication64* This,IDebugApplicationNode **ppdanNew) { + return This->lpVtbl->CreateApplicationNode(This,ppdanNew); +} +static FORCEINLINE HRESULT IDebugApplication64_FireDebuggerEvent(IDebugApplication64* This,REFGUID riid,IUnknown *punk) { + return This->lpVtbl->FireDebuggerEvent(This,riid,punk); +} +static FORCEINLINE HRESULT IDebugApplication64_HandleRuntimeError(IDebugApplication64* This,IActiveScriptErrorDebug *pErrorDebug,IActiveScriptSite *pScriptSite,BREAKRESUMEACTION *pbra,ERRORRESUMEACTION *perra,BOOL *pfCallOnScriptError) { + return This->lpVtbl->HandleRuntimeError(This,pErrorDebug,pScriptSite,pbra,perra,pfCallOnScriptError); +} +static FORCEINLINE BOOL IDebugApplication64_FCanJitDebug(IDebugApplication64* This) { + return This->lpVtbl->FCanJitDebug(This); +} +static FORCEINLINE BOOL IDebugApplication64_FIsAutoJitDebugEnabled(IDebugApplication64* This) { + return This->lpVtbl->FIsAutoJitDebugEnabled(This); +} +static FORCEINLINE HRESULT IDebugApplication64_AddGlobalExpressionContextProvider(IDebugApplication64* This,IProvideExpressionContexts *pdsfs,DWORDLONG *pdwCookie) { + return This->lpVtbl->AddGlobalExpressionContextProvider(This,pdsfs,pdwCookie); +} +static FORCEINLINE HRESULT IDebugApplication64_RemoveGlobalExpressionContextProvider(IDebugApplication64* This,DWORDLONG dwCookie) { + return This->lpVtbl->RemoveGlobalExpressionContextProvider(This,dwCookie); +} +#endif +#endif + +#endif + + +#endif /* __IDebugApplication64_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteDebug32 interface + */ +#ifndef __IActiveScriptSiteDebug32_INTERFACE_DEFINED__ +#define __IActiveScriptSiteDebug32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteDebug32, 0x51973c11, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c11-cb0c-11d0-b5c9-00a0244a0e7a") +IActiveScriptSiteDebug32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDocumentContextFromPosition( + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetApplication( + IDebugApplication32 **ppda) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootApplicationNode( + IDebugApplicationNode **ppdanRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnScriptErrorDebug( + IActiveScriptErrorDebug *pErrorDebug, + BOOL *pfEnterDebugger, + BOOL *pfCallOnScriptErrorWhenContinuing) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteDebug32, 0x51973c11, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IActiveScriptSiteDebug32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteDebug32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteDebug32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteDebug32 *This); + + /*** IActiveScriptSiteDebug32 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDocumentContextFromPosition)( + IActiveScriptSiteDebug32 *This, + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc); + + HRESULT (STDMETHODCALLTYPE *GetApplication)( + IActiveScriptSiteDebug32 *This, + IDebugApplication32 **ppda); + + HRESULT (STDMETHODCALLTYPE *GetRootApplicationNode)( + IActiveScriptSiteDebug32 *This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *OnScriptErrorDebug)( + IActiveScriptSiteDebug32 *This, + IActiveScriptErrorDebug *pErrorDebug, + BOOL *pfEnterDebugger, + BOOL *pfCallOnScriptErrorWhenContinuing); + + END_INTERFACE +} IActiveScriptSiteDebug32Vtbl; + +interface IActiveScriptSiteDebug32 { + CONST_VTBL IActiveScriptSiteDebug32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteDebug32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteDebug32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteDebug32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteDebug32 methods ***/ +#define IActiveScriptSiteDebug32_GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) (This)->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) +#define IActiveScriptSiteDebug32_GetApplication(This,ppda) (This)->lpVtbl->GetApplication(This,ppda) +#define IActiveScriptSiteDebug32_GetRootApplicationNode(This,ppdanRoot) (This)->lpVtbl->GetRootApplicationNode(This,ppdanRoot) +#define IActiveScriptSiteDebug32_OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) (This)->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_QueryInterface(IActiveScriptSiteDebug32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug32_AddRef(IActiveScriptSiteDebug32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug32_Release(IActiveScriptSiteDebug32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteDebug32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_GetDocumentContextFromPosition(IActiveScriptSiteDebug32* This,DWORD dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IDebugDocumentContext **ppsc) { + return This->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_GetApplication(IActiveScriptSiteDebug32* This,IDebugApplication32 **ppda) { + return This->lpVtbl->GetApplication(This,ppda); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_GetRootApplicationNode(IActiveScriptSiteDebug32* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootApplicationNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_OnScriptErrorDebug(IActiveScriptSiteDebug32* This,IActiveScriptErrorDebug *pErrorDebug,BOOL *pfEnterDebugger,BOOL *pfCallOnScriptErrorWhenContinuing) { + return This->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptSiteDebug32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteDebug64 interface + */ +#ifndef __IActiveScriptSiteDebug64_INTERFACE_DEFINED__ +#define __IActiveScriptSiteDebug64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteDebug64, 0xd6b96b0a, 0x7463, 0x402c, 0x92,0xac, 0x89,0x98,0x42,0x26,0x94,0x2f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d6b96b0a-7463-402c-92ac-89984226942f") +IActiveScriptSiteDebug64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDocumentContextFromPosition( + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetApplication( + IDebugApplication64 **ppda) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootApplicationNode( + IDebugApplicationNode **ppdanRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnScriptErrorDebug( + IActiveScriptErrorDebug *pErrorDebug, + BOOL *pfEnterDebugger, + BOOL *pfCallOnScriptErrorWhenContinuing) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteDebug64, 0xd6b96b0a, 0x7463, 0x402c, 0x92,0xac, 0x89,0x98,0x42,0x26,0x94,0x2f) +#endif +#else +typedef struct IActiveScriptSiteDebug64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteDebug64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteDebug64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteDebug64 *This); + + /*** IActiveScriptSiteDebug64 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDocumentContextFromPosition)( + IActiveScriptSiteDebug64 *This, + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc); + + HRESULT (STDMETHODCALLTYPE *GetApplication)( + IActiveScriptSiteDebug64 *This, + IDebugApplication64 **ppda); + + HRESULT (STDMETHODCALLTYPE *GetRootApplicationNode)( + IActiveScriptSiteDebug64 *This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *OnScriptErrorDebug)( + IActiveScriptSiteDebug64 *This, + IActiveScriptErrorDebug *pErrorDebug, + BOOL *pfEnterDebugger, + BOOL *pfCallOnScriptErrorWhenContinuing); + + END_INTERFACE +} IActiveScriptSiteDebug64Vtbl; + +interface IActiveScriptSiteDebug64 { + CONST_VTBL IActiveScriptSiteDebug64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteDebug64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteDebug64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteDebug64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteDebug64 methods ***/ +#define IActiveScriptSiteDebug64_GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) (This)->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) +#define IActiveScriptSiteDebug64_GetApplication(This,ppda) (This)->lpVtbl->GetApplication(This,ppda) +#define IActiveScriptSiteDebug64_GetRootApplicationNode(This,ppdanRoot) (This)->lpVtbl->GetRootApplicationNode(This,ppdanRoot) +#define IActiveScriptSiteDebug64_OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) (This)->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_QueryInterface(IActiveScriptSiteDebug64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug64_AddRef(IActiveScriptSiteDebug64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug64_Release(IActiveScriptSiteDebug64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteDebug64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_GetDocumentContextFromPosition(IActiveScriptSiteDebug64* This,DWORDLONG dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IDebugDocumentContext **ppsc) { + return This->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_GetApplication(IActiveScriptSiteDebug64* This,IDebugApplication64 **ppda) { + return This->lpVtbl->GetApplication(This,ppda); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_GetRootApplicationNode(IActiveScriptSiteDebug64* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootApplicationNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_OnScriptErrorDebug(IActiveScriptSiteDebug64* This,IActiveScriptErrorDebug *pErrorDebug,BOOL *pfEnterDebugger,BOOL *pfCallOnScriptErrorWhenContinuing) { + return This->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptSiteDebug64_INTERFACE_DEFINED__ */ + +#ifndef DISABLE_ACTIVDBG_INTERFACE_WRAPPERS +#ifdef _WIN64 +#define IActiveScriptDebug IActiveScriptDebug64 +#define IID_IActiveScriptDebug IID_IActiveScriptDebug64 +#define IActiveScriptSiteDebug IActiveScriptSiteDebug64 +#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug64 +#define IDebugApplication IDebugApplication64 +#define IID_IDebugApplication IID_IDebugApplication64 +#else +#define IActiveScriptDebug IActiveScriptDebug32 +#define IID_IActiveScriptDebug IID_IActiveScriptDebug32 +#define IActiveScriptSiteDebug IActiveScriptSiteDebug32 +#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug32 +#define IDebugApplication IDebugApplication32 +#define IID_IDebugApplication IID_IDebugApplication32 +#endif +#endif +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __activdbg_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activdbg.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activdbg.idl new file mode 100644 index 0000000..e10066c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activdbg.idl @@ -0,0 +1,581 @@ +/* + * Copyright 2008 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; +import "activscp.idl"; +/* import "dbgprop.idl"; */ + +interface IDebugDocumentContext; +interface IRemoteDebugApplication; +interface IEnumDebugCodeContexts; + +/* FIXME: */ +interface IEnumDebugStackFrames; +interface IDebugStackFrame; +interface IApplicationDebugger; +interface IEnumRemoteDebugApplicationThreads; +interface IDebugApplicationNode; +interface IEnumDebugExpressionContexts; +interface IDebugApplicationThread; +interface IDebugSyncOperation; +interface IDebugAsyncOperation; +interface IDebugStackFrameSniffer; +interface IDebugThreadCall32; +interface IActiveScriptErrorDebug; +interface IProvideExpressionContexts; + +typedef enum tagBREAKPOINT_STATE { + BREAKPOINT_DELETED, + BREAKPOINT_DISABLED, + BREAKPOINT_ENABLED +} BREAKPOINT_STATE; + +typedef DWORD APPBREAKFLAGS; + +typedef enum tagBREAKREASON { + BREAKREASON_STEP, + BREAKREASON_BREAKPOINT, + BREAKREASON_DEBUGGER_BLOCK, + BREAKREASON_HOST_INITIATED, + BREAKREASON_LANGUAGE_INITIATED, + BREAKREASON_DEBUGGER_HALT, + BREAKREASON_ERROR, + BREAKREASON_JIT +} BREAKREASON; + +typedef enum tagBREAKRESUME_ACTION { + BREAKRESUMEACTION_ABORT, + BREAKRESUMEACTION_CONTINUE, + BREAKRESUMEACTION_STEP_INTO, + BREAKRESUMEACTION_STEP_OVER, + BREAKRESUMEACTION_STEP_OUT, + BREAKRESUMEACTION_IGNORE +} BREAKRESUMEACTION; + +typedef enum tagDOCUMENTNAMETYPE { + DOCUMENTNAMETYPE_APPNODE, + DOCUMENTNAMETYPE_TITLE, + DOCUMENTNAMETYPE_FILE_TAIL, + DOCUMENTNAMETYPE_URL +} DOCUMENTNAMETYPE; + +typedef enum tagERRORRESUMEACTION { + ERRORRESUMEACTION_ReexecuteErrorStatement, + ERRORRESUMEACTION_AbortCallAndReturnErrorToCaller, + ERRORRESUMEACTION_SkipErrorStatement, +} ERRORRESUMEACTION; + +typedef WORD SOURCE_TEXT_ATTR; + +#ifdef INTEROPLIB +enum enum_SOURCE_TEXT_ATTR +{ + SOURCETEXT_ATTR_KEYWORD = 0x01, + SOURCETEXT_ATTR_COMMENT = 0x02, + SOURCETEXT_ATTR_NONSOURCE = 0x04, + SOURCETEXT_ATTR_OPERATOR = 0x08, + SOURCETEXT_ATTR_NUMBER = 0x10, + SOURCETEXT_ATTR_STRING = 0x20, + SOURCETEXT_ATTR_FUNCTION_START = 0x40 +}; +#endif + +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_KEYWORD = 0x01; +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_COMMENT = 0x02; +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_NONSOURCE = 0x04; +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_OPERATOR = 0x08; +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_NUMBER = 0x10; +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_STRING = 0x20; +const SOURCE_TEXT_ATTR SOURCETEXT_ATTR_FUNCTION_START = 0x40; + +/************************************************************ + * interface IActiveScriptDebug32 + */ +[ + object, + uuid(51973c10-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IActiveScriptDebug32 : IUnknown +{ + HRESULT GetScriptTextAttributes( + [in, size_is(uNumCodeChars)] LPCOLESTR pstrCode, + [in] ULONG uNumCodeChars, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwFlags, + [in, out, size_is(uNumCodeChars)] SOURCE_TEXT_ATTR *pattr); + + HRESULT GetScriptletTextAttributes( + [in, size_is(uNumCodeChars)] LPCOLESTR pstrCode, + [in] ULONG uNumCodeChars, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwFlags, + [in, out, size_is(uNumCodeChars)] SOURCE_TEXT_ATTR *pattr); + + HRESULT EnumCodeContextsOfPosition( + [in] DWORD dwSourceContext, + [in] ULONG uCharacterOffset, + [in] ULONG uNumChars, + [out] IEnumDebugCodeContexts **ppescc); +} + +[ + object, + uuid(bc437e23-f5b8-47f4-bb79-7d1ce5483b86), + pointer_default(unique) +] +interface IActiveScriptDebug64 : IUnknown +{ + HRESULT GetScriptTextAttributes( + [in, size_is(uNumCodeChars)] LPCOLESTR pstrCode, + [in] ULONG uNumCodeChars, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwFlags, + [in, out, size_is(uNumCodeChars)] SOURCE_TEXT_ATTR *pattr); + + HRESULT GetScriptletTextAttributes( + [in, size_is(uNumCodeChars)] LPCOLESTR pstrCode, + [in] ULONG uNumCodeChars, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwFlags, + [in, out, size_is(uNumCodeChars)] SOURCE_TEXT_ATTR *pattr); + + HRESULT EnumCodeContextsOfPosition( + [in] DWORDLONG dwSourceContext, + [in] ULONG uCharacterOffset, + [in] ULONG uNumChars, + [out] IEnumDebugCodeContexts **ppescc); +} + +/************************************************************ + * interface IDebugDocumentInfo + */ +[ + object, + uuid(51973c1f-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IDebugDocumentInfo : IUnknown +{ + HRESULT GetName( + [in] DOCUMENTNAMETYPE dnt, + [out] BSTR *pbstrName); + + HRESULT GetDocumentClassId( + [out] CLSID *pclsidDocument); +} + +/************************************************************ + * interface IDebugDocument + */ +[ + object, + uuid(51973c21-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IDebugDocument : IDebugDocumentInfo +{ +} + +/************************************************************ + * interface IDebugCodeContext + */ +[ + object, + uuid(51973c13-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IDebugCodeContext : IUnknown +{ + HRESULT GetDocumentContext( + [out] IDebugDocumentContext **ppsc); + + HRESULT SetBreakPoint( + [in] BREAKPOINT_STATE bps); +} + +/************************************************************ + * interface IEnumDebugCodeContexts + */ +[ + object, + uuid(51973c1d-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IEnumDebugCodeContexts : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out] IDebugCodeContext **pscc, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumDebugCodeContexts **ppescc); +} + +/************************************************************ + * interface IDebugDocumentContext + */ +[ + object, + uuid(51973c28-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IDebugDocumentContext : IUnknown +{ + HRESULT GetDocument( + [out] IDebugDocument **ppsd); + + HRESULT EnumCodeContexts( + [out] IEnumDebugCodeContexts **ppescc); +} + +/************************************************************ + * interface IRemoteDebugApplicationThread + */ +[ + object, + uuid(51973c37-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique) +] +interface IRemoteDebugApplicationThread : IUnknown +{ + HRESULT GetSystemThreadId( + [out] DWORD *dwThreadId); + + HRESULT GetApplication( + [out] IRemoteDebugApplication **pprda); + + HRESULT EnumStackFrames( + [out] IEnumDebugStackFrames **ppedsf); + + HRESULT GetDescription( + [out] BSTR *pbstrDescription, + [out] BSTR *pbstrState); + + HRESULT SetNextStatement( + [in] IDebugStackFrame *pStackFrame, + [in] IDebugCodeContext *pCodeContext); + + HRESULT GetState( + [out] DWORD *pState); + + HRESULT Suspend( + [out] DWORD *pdwCount); + + HRESULT Resume( + [out] DWORD *pdwCount); + + HRESULT GetSuspendCount( + [out] DWORD *pdwCount); +} + +/************************************************************ + * interface IRemoteDebugApplication + */ +[ + object, + uuid(51973c30-cb0c-11d0-b5c9-00a0244Aae7a), + pointer_default(unique) +] +interface IRemoteDebugApplication : IUnknown +{ + HRESULT ResumeFromBreakPoint( + [in] IRemoteDebugApplicationThread *prptFocus, + [in] BREAKRESUMEACTION bra, + [in] ERRORRESUMEACTION era); + + HRESULT CauseBreak(); + + HRESULT ConnectDebugger( + [in] IApplicationDebugger *pad); + + HRESULT DisconnectDebugger(); + + HRESULT GetDebugger( + [out] IApplicationDebugger **pad); + + HRESULT CreateInstanceAtApplication( + [in] REFCLSID rclsid, + [in] IUnknown *pUnkOuter, + [in] DWORD dwClsContext, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppvObject); + + HRESULT QueryAlive(); + + HRESULT EnumThreads( + [out] IEnumRemoteDebugApplicationThreads **pperdat); + + HRESULT GetName( + [out] BSTR *pbstrName); + + HRESULT GetRootNode( + [out] IDebugApplicationNode **ppdanRoot); + + HRESULT EnumGlobalExpressionContexts( + [out] IEnumDebugExpressionContexts **ppedec); +} + +/************************************************************ + * interface IDebugApplication32 + */ +[ + object, + uuid(51973c32-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique), + local +] +interface IDebugApplication32 : IRemoteDebugApplication +{ + HRESULT SetName( + [in] LPCOLESTR pstrName); + + HRESULT StepOutComplete(); + + HRESULT DebugOutput( + [in] LPCOLESTR pstr); + + HRESULT StartDebugSession(); + + HRESULT HandleBreakPoint( + [in] BREAKREASON br, + [out] BREAKRESUMEACTION *pbra); + + HRESULT Close(); + + HRESULT GetBreakFlags( + [out] APPBREAKFLAGS *pabf, + [out] IRemoteDebugApplicationThread **pprdatSteppingThread); + + cpp_quote("#undef GetCurrentThread") + HRESULT GetCurrentThread( + [out] IDebugApplicationThread **pat); + + HRESULT CreateAsyncDebugOperation( + [in] IDebugSyncOperation *psdo, + [out] IDebugAsyncOperation **ppado); + + HRESULT AddStackFrameSniffer( + [in] IDebugStackFrameSniffer *pdsfs, + [out] DWORD *pdwCookie); + + HRESULT RemoveStackFrameSniffer( + [in] DWORD dwCookie); + + HRESULT QueryCurrentThreadIsDebuggerThread(); + + HRESULT SynchronousCallInDebuggerThread( + [in] IDebugThreadCall32 *pptc, + [in] DWORD dwParam1, + [in] DWORD dwParam2, + [in] DWORD dwParam3); + + HRESULT CreateApplicationNode( + [out] IDebugApplicationNode **ppdanNew); + + HRESULT FireDebuggerEvent( + [in] REFGUID riid, + [in] IUnknown *punk); + + HRESULT HandleRuntimeError( + [in] IActiveScriptErrorDebug *pErrorDebug, + [in] IActiveScriptSite *pScriptSite, + [out] BREAKRESUMEACTION *pbra, + [out] ERRORRESUMEACTION *perra, + [out] BOOL *pfCallOnScriptError); + + BOOL FCanJitDebug(); + + BOOL FIsAutoJitDebugEnabled(); + + HRESULT AddGlobalExpressionContextProvider( + [in] IProvideExpressionContexts *pdsfs, + [out] DWORD *pdwCookie); + + HRESULT RemoveGlobalExpressionContextProvider( + [in] DWORD dwCookie); +} + +/************************************************************ + * interface IDebugApplication64 + */ +[ + object, + uuid(4dedc754-04c7-4f10-9e60-16a390fe6e62), + pointer_default(unique), + local +] +interface IDebugApplication64 : IRemoteDebugApplication +{ + HRESULT SetName( + [in] LPCOLESTR pstrName); + + HRESULT StepOutComplete(); + + HRESULT DebugOutput( + [in] LPCOLESTR pstr); + + HRESULT StartDebugSession(); + + HRESULT HandleBreakPoint( + [in] BREAKREASON br, + [out] BREAKRESUMEACTION *pbra); + + HRESULT Close(); + + HRESULT GetBreakFlags( + [out] APPBREAKFLAGS *pabf, + [out] IRemoteDebugApplicationThread **pprdatSteppingThread); + + HRESULT GetCurrentThread( + [out] IDebugApplicationThread **pat); + + HRESULT CreateAsyncDebugOperation( + [in] IDebugSyncOperation *psdo, + [out] IDebugAsyncOperation **ppado); + + HRESULT AddStackFrameSniffer( + [in] IDebugStackFrameSniffer *pdsfs, + [out] DWORD *pdwCookie); + + HRESULT RemoveStackFrameSniffer( + [in] DWORD dwCookie); + + HRESULT QueryCurrentThreadIsDebuggerThread(); + + HRESULT SynchronousCallInDebuggerThread( + [in] IDebugThreadCall32 *pptc, + [in] DWORDLONG dwParam1, + [in] DWORDLONG dwParam2, + [in] DWORDLONG dwParam3); + + HRESULT CreateApplicationNode( + [out] IDebugApplicationNode **ppdanNew); + + HRESULT FireDebuggerEvent( + [in] REFGUID riid, + [in] IUnknown *punk); + + HRESULT HandleRuntimeError( + [in] IActiveScriptErrorDebug *pErrorDebug, + [in] IActiveScriptSite *pScriptSite, + [out] BREAKRESUMEACTION *pbra, + [out] ERRORRESUMEACTION *perra, + [out] BOOL *pfCallOnScriptError); + + BOOL FCanJitDebug(); + + BOOL FIsAutoJitDebugEnabled(); + + HRESULT AddGlobalExpressionContextProvider( + [in] IProvideExpressionContexts *pdsfs, + [out] DWORDLONG *pdwCookie); + + HRESULT RemoveGlobalExpressionContextProvider( + [in] DWORDLONG dwCookie); +} + +/************************************************************ + * interface IActiveScriptSiteDebug32 + */ +[ + object, + uuid(51973c11-cb0c-11d0-b5c9-00a0244a0e7a), + pointer_default(unique), + local +] +interface IActiveScriptSiteDebug32 : IUnknown +{ + HRESULT GetDocumentContextFromPosition( + [in] DWORD dwSourceContext, + [in] ULONG uCharacterOffset, + [in] ULONG uNumChars, + [out] IDebugDocumentContext **ppsc); + + HRESULT GetApplication( + [out] IDebugApplication32 **ppda); + + HRESULT GetRootApplicationNode( + [out] IDebugApplicationNode **ppdanRoot); + + HRESULT OnScriptErrorDebug( + [in] IActiveScriptErrorDebug *pErrorDebug, + [out] BOOL *pfEnterDebugger, + [out] BOOL *pfCallOnScriptErrorWhenContinuing); +} + +/************************************************************ + * interface IActiveScriptSiteDebug64 + */ +[ + object, + uuid(d6b96b0a-7463-402c-92ac-89984226942f), + pointer_default(unique), + local +] +interface IActiveScriptSiteDebug64 : IUnknown +{ + HRESULT GetDocumentContextFromPosition( + [in] DWORDLONG dwSourceContext, + [in] ULONG uCharacterOffset, + [in] ULONG uNumChars, + [out] IDebugDocumentContext **ppsc); + + HRESULT GetApplication( + [out] IDebugApplication64 **ppda); + + HRESULT GetRootApplicationNode( + [out] IDebugApplicationNode **ppdanRoot); + + HRESULT OnScriptErrorDebug( + [in] IActiveScriptErrorDebug *pErrorDebug, + [out] BOOL *pfEnterDebugger, + [out] BOOL *pfCallOnScriptErrorWhenContinuing); +} + +cpp_quote("#ifndef DISABLE_ACTIVDBG_INTERFACE_WRAPPERS") +cpp_quote("#ifdef _WIN64") + +cpp_quote("#define IActiveScriptDebug IActiveScriptDebug64") +cpp_quote("#define IID_IActiveScriptDebug IID_IActiveScriptDebug64") + +cpp_quote("#define IActiveScriptSiteDebug IActiveScriptSiteDebug64") +cpp_quote("#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug64") + +cpp_quote("#define IDebugApplication IDebugApplication64") +cpp_quote("#define IID_IDebugApplication IID_IDebugApplication64") + +cpp_quote("#else") + +cpp_quote("#define IActiveScriptDebug IActiveScriptDebug32") +cpp_quote("#define IID_IActiveScriptDebug IID_IActiveScriptDebug32") + +cpp_quote("#define IActiveScriptSiteDebug IActiveScriptSiteDebug32") +cpp_quote("#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug32") + +cpp_quote("#define IDebugApplication IDebugApplication32") +cpp_quote("#define IID_IDebugApplication IID_IDebugApplication32") + +cpp_quote("#endif") +cpp_quote("#endif") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activscp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activscp.h new file mode 100644 index 0000000..ddfd702 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activscp.h @@ -0,0 +1,2220 @@ +/*** Autogenerated by WIDL 2.18 from activscp.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __activscp_h__ +#define __activscp_h__ + +/* Forward declarations */ + +#ifndef __IActiveScriptError_FWD_DEFINED__ +#define __IActiveScriptError_FWD_DEFINED__ +typedef interface IActiveScriptError IActiveScriptError; +#ifdef __cplusplus +interface IActiveScriptError; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptSite_FWD_DEFINED__ +#define __IActiveScriptSite_FWD_DEFINED__ +typedef interface IActiveScriptSite IActiveScriptSite; +#ifdef __cplusplus +interface IActiveScriptSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptSiteWindow_FWD_DEFINED__ +#define __IActiveScriptSiteWindow_FWD_DEFINED__ +typedef interface IActiveScriptSiteWindow IActiveScriptSiteWindow; +#ifdef __cplusplus +interface IActiveScriptSiteWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptSiteUIControl_FWD_DEFINED__ +#define __IActiveScriptSiteUIControl_FWD_DEFINED__ +typedef interface IActiveScriptSiteUIControl IActiveScriptSiteUIControl; +#ifdef __cplusplus +interface IActiveScriptSiteUIControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptSiteInterruptPoll_FWD_DEFINED__ +#define __IActiveScriptSiteInterruptPoll_FWD_DEFINED__ +typedef interface IActiveScriptSiteInterruptPoll IActiveScriptSiteInterruptPoll; +#ifdef __cplusplus +interface IActiveScriptSiteInterruptPoll; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScript_FWD_DEFINED__ +#define __IActiveScript_FWD_DEFINED__ +typedef interface IActiveScript IActiveScript; +#ifdef __cplusplus +interface IActiveScript; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParse32_FWD_DEFINED__ +#define __IActiveScriptParse32_FWD_DEFINED__ +typedef interface IActiveScriptParse32 IActiveScriptParse32; +#ifdef __cplusplus +interface IActiveScriptParse32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParse64_FWD_DEFINED__ +#define __IActiveScriptParse64_FWD_DEFINED__ +typedef interface IActiveScriptParse64 IActiveScriptParse64; +#ifdef __cplusplus +interface IActiveScriptParse64; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParseProcedureOld32_FWD_DEFINED__ +#define __IActiveScriptParseProcedureOld32_FWD_DEFINED__ +typedef interface IActiveScriptParseProcedureOld32 IActiveScriptParseProcedureOld32; +#ifdef __cplusplus +interface IActiveScriptParseProcedureOld32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParseProcedureOld64_FWD_DEFINED__ +#define __IActiveScriptParseProcedureOld64_FWD_DEFINED__ +typedef interface IActiveScriptParseProcedureOld64 IActiveScriptParseProcedureOld64; +#ifdef __cplusplus +interface IActiveScriptParseProcedureOld64; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParseProcedure32_FWD_DEFINED__ +#define __IActiveScriptParseProcedure32_FWD_DEFINED__ +typedef interface IActiveScriptParseProcedure32 IActiveScriptParseProcedure32; +#ifdef __cplusplus +interface IActiveScriptParseProcedure32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParseProcedure64_FWD_DEFINED__ +#define __IActiveScriptParseProcedure64_FWD_DEFINED__ +typedef interface IActiveScriptParseProcedure64 IActiveScriptParseProcedure64; +#ifdef __cplusplus +interface IActiveScriptParseProcedure64; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParseProcedure2_32_FWD_DEFINED__ +#define __IActiveScriptParseProcedure2_32_FWD_DEFINED__ +typedef interface IActiveScriptParseProcedure2_32 IActiveScriptParseProcedure2_32; +#ifdef __cplusplus +interface IActiveScriptParseProcedure2_32; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptParseProcedure2_64_FWD_DEFINED__ +#define __IActiveScriptParseProcedure2_64_FWD_DEFINED__ +typedef interface IActiveScriptParseProcedure2_64 IActiveScriptParseProcedure2_64; +#ifdef __cplusplus +interface IActiveScriptParseProcedure2_64; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindEventHandler_FWD_DEFINED__ +#define __IBindEventHandler_FWD_DEFINED__ +typedef interface IBindEventHandler IBindEventHandler; +#ifdef __cplusplus +interface IBindEventHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptStats_FWD_DEFINED__ +#define __IActiveScriptStats_FWD_DEFINED__ +typedef interface IActiveScriptStats IActiveScriptStats; +#ifdef __cplusplus +interface IActiveScriptStats; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptProperty_FWD_DEFINED__ +#define __IActiveScriptProperty_FWD_DEFINED__ +typedef interface IActiveScriptProperty IActiveScriptProperty; +#ifdef __cplusplus +interface IActiveScriptProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveScriptGarbageCollector_FWD_DEFINED__ +#define __IActiveScriptGarbageCollector_FWD_DEFINED__ +typedef interface IActiveScriptGarbageCollector IActiveScriptGarbageCollector; +#ifdef __cplusplus +interface IActiveScriptGarbageCollector; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _NO_SCRIPT_GUIDS +DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64); +DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64); +DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64); +#endif +#define SCRIPTPROP_NAME 0x00000000 +#define SCRIPTPROP_MAJORVERSION 0x00000001 +#define SCRIPTPROP_MINORVERSION 0x00000002 +#define SCRIPTPROP_BUILDNUMBER 0x00000003 +#define SCRIPTPROP_DELAYEDEVENTSINKING 0x00001000 +#define SCRIPTPROP_CATCHEXCEPTION 0x00001001 +#define SCRIPTPROP_CONVERSIONLCID 0x00001002 +#define SCRIPTPROP_HOSTSTACKREQUIRED 0x00001003 +#define SCRIPTPROP_DEBUGGER 0x00001100 +#define SCRIPTPROP_JITDEBUG 0x00001101 +#define SCRIPTPROP_INVOKEVERSIONING 0x00004000 +#define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000 +#define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001 +#define SCRIPTPROP_ABBREVIATE_GLOBALNAME_RESOLUTION 0x70000002 +typedef enum tagSCRIPTSTATE { + SCRIPTSTATE_UNINITIALIZED = 0, + SCRIPTSTATE_STARTED = 1, + SCRIPTSTATE_CONNECTED = 2, + SCRIPTSTATE_DISCONNECTED = 3, + SCRIPTSTATE_CLOSED = 4, + SCRIPTSTATE_INITIALIZED = 5 +} SCRIPTSTATE; +typedef enum tagSCRIPTTHREADSTATE { + SCRIPTTHREADSTATE_NOTINSCRIPT = 0, + SCRIPTTHREADSTATE_RUNNING = 1 +} SCRIPTTHREADSTATE; +typedef enum tagSCRIPTUICITEM { + SCRIPTUICITEM_INPUTBOX = 1, + SCRIPTUICITEM_MSGBOX = 2 +} SCRIPTUICITEM; +typedef enum tagSCRIPTUICHANDLING { + SCRIPTUICHANDLING_ALLOW = 0, + SCRIPTUICHANDLING_NOUIERROR = 1, + SCRIPTUICHANDLING_NOUIDEFAULT = 2 +} SCRIPTUICHANDLING; +typedef enum tagSCRIPTGCTYPE { + SCRIPTGCTYPE_NORMAL = 0, + SCRIPTGCTYPE_EXHAUSTIVE = 1 +} SCRIPTGCTYPE; +typedef DWORD SCRIPTTHREADID; +#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1) +#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2) +#define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3) +#define SCRIPTITEM_ISVISIBLE 0x00000002 +#define SCRIPTITEM_ISSOURCE 0x00000004 +#define SCRIPTITEM_GLOBALMEMBERS 0x00000008 +#define SCRIPTITEM_ISPERSISTENT 0x00000040 +#define SCRIPTITEM_CODEONLY 0x00000200 +#define SCRIPTITEM_NOCODE 0x00000400 +#define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | \ + SCRIPTITEM_ISVISIBLE | \ + SCRIPTITEM_ISPERSISTENT | \ + SCRIPTITEM_GLOBALMEMBERS | \ + SCRIPTITEM_NOCODE | \ + SCRIPTITEM_CODEONLY) +#define SCRIPTTYPELIB_ISCONTROL 0x00000010 +#define SCRIPTTYPELIB_ISPERSISTENT 0x00000040 +#define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTEXT_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT) +#define SCRIPTTEXT_DELAYEXECUTION 0x00000001 +#define SCRIPTTEXT_ISVISIBLE 0x00000002 +#define SCRIPTTEXT_ISEXPRESSION 0x00000020 +#define SCRIPTTEXT_ISPERSISTENT 0x00000040 +#define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080 +#define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | \ + SCRIPTTEXT_ISVISIBLE | \ + SCRIPTTEXT_ISEXPRESSION | \ + SCRIPTTEXT_ISPERSISTENT | \ + SCRIPTTEXT_HOSTMANAGESSOURCE) +#define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080 +#define SCRIPTPROC_IMPLICIT_THIS 0x00000100 +#define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200 +#define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | \ + SCRIPTPROC_IMPLICIT_THIS | \ + SCRIPTPROC_IMPLICIT_PARENTS) +#define SCRIPTINFO_IUNKNOWN 0x00000001 +#define SCRIPTINFO_ITYPEINFO 0x00000002 +#define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO) +#define SCRIPTINTERRUPT_DEBUG 0x00000001 +#define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002 +#define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION) +#define SCRIPTSTAT_STATEMENT_COUNT 1 +#define SCRIPTSTAT_INSTRUCTION_COUNT 2 +#define SCRIPTSTAT_INTSTRUCTION_TIME 3 +#define SCRIPTSTAT_TOTAL_TIME 4 +#define SCRIPT_E_RECORDED 0x86664004 +#define SCRIPT_E_REPORTED 0x80020101 +#define SCRIPT_E_PROPAGATE 0x80020102 +/***************************************************************************** + * IActiveScriptError interface + */ +#ifndef __IActiveScriptError_INTERFACE_DEFINED__ +#define __IActiveScriptError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptError, 0xeae1ba61, 0xa4ed, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eae1ba61-a4ed-11cf-8f20-00805f2cd064") +IActiveScriptError : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetExceptionInfo( + EXCEPINFO *pexcepinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourcePosition( + DWORD *pdwSourceContext, + ULONG *pulLineNumber, + LONG *plCharacterPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceLineText( + BSTR *pbstrSourceLine) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptError, 0xeae1ba61, 0xa4ed, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IActiveScriptErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptError *This); + + /*** IActiveScriptError methods ***/ + HRESULT (STDMETHODCALLTYPE *GetExceptionInfo)( + IActiveScriptError *This, + EXCEPINFO *pexcepinfo); + + HRESULT (STDMETHODCALLTYPE *GetSourcePosition)( + IActiveScriptError *This, + DWORD *pdwSourceContext, + ULONG *pulLineNumber, + LONG *plCharacterPosition); + + HRESULT (STDMETHODCALLTYPE *GetSourceLineText)( + IActiveScriptError *This, + BSTR *pbstrSourceLine); + + END_INTERFACE +} IActiveScriptErrorVtbl; + +interface IActiveScriptError { + CONST_VTBL IActiveScriptErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptError_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptError methods ***/ +#define IActiveScriptError_GetExceptionInfo(This,pexcepinfo) (This)->lpVtbl->GetExceptionInfo(This,pexcepinfo) +#define IActiveScriptError_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) +#define IActiveScriptError_GetSourceLineText(This,pbstrSourceLine) (This)->lpVtbl->GetSourceLineText(This,pbstrSourceLine) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptError_QueryInterface(IActiveScriptError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptError_AddRef(IActiveScriptError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptError_Release(IActiveScriptError* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptError methods ***/ +static FORCEINLINE HRESULT IActiveScriptError_GetExceptionInfo(IActiveScriptError* This,EXCEPINFO *pexcepinfo) { + return This->lpVtbl->GetExceptionInfo(This,pexcepinfo); +} +static FORCEINLINE HRESULT IActiveScriptError_GetSourcePosition(IActiveScriptError* This,DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition) { + return This->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition); +} +static FORCEINLINE HRESULT IActiveScriptError_GetSourceLineText(IActiveScriptError* This,BSTR *pbstrSourceLine) { + return This->lpVtbl->GetSourceLineText(This,pbstrSourceLine); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSite interface + */ +#ifndef __IActiveScriptSite_INTERFACE_DEFINED__ +#define __IActiveScriptSite_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("db01a1e3-a42b-11cf-8f20-00805f2cd064") +IActiveScriptSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetLCID( + LCID *plcid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemInfo( + LPCOLESTR pstrName, + DWORD dwReturnMask, + IUnknown **ppiunkItem, + ITypeInfo **ppti) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocVersionString( + BSTR *pbstrVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnScriptTerminate( + const VARIANT *pvarResult, + const EXCEPINFO *pexcepinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStateChange( + SCRIPTSTATE ssScriptState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnScriptError( + IActiveScriptError *pscripterror) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEnterScript( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnLeaveScript( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IActiveScriptSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSite *This); + + /*** IActiveScriptSite methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLCID)( + IActiveScriptSite *This, + LCID *plcid); + + HRESULT (STDMETHODCALLTYPE *GetItemInfo)( + IActiveScriptSite *This, + LPCOLESTR pstrName, + DWORD dwReturnMask, + IUnknown **ppiunkItem, + ITypeInfo **ppti); + + HRESULT (STDMETHODCALLTYPE *GetDocVersionString)( + IActiveScriptSite *This, + BSTR *pbstrVersion); + + HRESULT (STDMETHODCALLTYPE *OnScriptTerminate)( + IActiveScriptSite *This, + const VARIANT *pvarResult, + const EXCEPINFO *pexcepinfo); + + HRESULT (STDMETHODCALLTYPE *OnStateChange)( + IActiveScriptSite *This, + SCRIPTSTATE ssScriptState); + + HRESULT (STDMETHODCALLTYPE *OnScriptError)( + IActiveScriptSite *This, + IActiveScriptError *pscripterror); + + HRESULT (STDMETHODCALLTYPE *OnEnterScript)( + IActiveScriptSite *This); + + HRESULT (STDMETHODCALLTYPE *OnLeaveScript)( + IActiveScriptSite *This); + + END_INTERFACE +} IActiveScriptSiteVtbl; + +interface IActiveScriptSite { + CONST_VTBL IActiveScriptSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSite_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSite methods ***/ +#define IActiveScriptSite_GetLCID(This,plcid) (This)->lpVtbl->GetLCID(This,plcid) +#define IActiveScriptSite_GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti) (This)->lpVtbl->GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti) +#define IActiveScriptSite_GetDocVersionString(This,pbstrVersion) (This)->lpVtbl->GetDocVersionString(This,pbstrVersion) +#define IActiveScriptSite_OnScriptTerminate(This,pvarResult,pexcepinfo) (This)->lpVtbl->OnScriptTerminate(This,pvarResult,pexcepinfo) +#define IActiveScriptSite_OnStateChange(This,ssScriptState) (This)->lpVtbl->OnStateChange(This,ssScriptState) +#define IActiveScriptSite_OnScriptError(This,pscripterror) (This)->lpVtbl->OnScriptError(This,pscripterror) +#define IActiveScriptSite_OnEnterScript(This) (This)->lpVtbl->OnEnterScript(This) +#define IActiveScriptSite_OnLeaveScript(This) (This)->lpVtbl->OnLeaveScript(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSite_QueryInterface(IActiveScriptSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSite_AddRef(IActiveScriptSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSite_Release(IActiveScriptSite* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSite methods ***/ +static FORCEINLINE HRESULT IActiveScriptSite_GetLCID(IActiveScriptSite* This,LCID *plcid) { + return This->lpVtbl->GetLCID(This,plcid); +} +static FORCEINLINE HRESULT IActiveScriptSite_GetItemInfo(IActiveScriptSite* This,LPCOLESTR pstrName,DWORD dwReturnMask,IUnknown **ppiunkItem,ITypeInfo **ppti) { + return This->lpVtbl->GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti); +} +static FORCEINLINE HRESULT IActiveScriptSite_GetDocVersionString(IActiveScriptSite* This,BSTR *pbstrVersion) { + return This->lpVtbl->GetDocVersionString(This,pbstrVersion); +} +static FORCEINLINE HRESULT IActiveScriptSite_OnScriptTerminate(IActiveScriptSite* This,const VARIANT *pvarResult,const EXCEPINFO *pexcepinfo) { + return This->lpVtbl->OnScriptTerminate(This,pvarResult,pexcepinfo); +} +static FORCEINLINE HRESULT IActiveScriptSite_OnStateChange(IActiveScriptSite* This,SCRIPTSTATE ssScriptState) { + return This->lpVtbl->OnStateChange(This,ssScriptState); +} +static FORCEINLINE HRESULT IActiveScriptSite_OnScriptError(IActiveScriptSite* This,IActiveScriptError *pscripterror) { + return This->lpVtbl->OnScriptError(This,pscripterror); +} +static FORCEINLINE HRESULT IActiveScriptSite_OnEnterScript(IActiveScriptSite* This) { + return This->lpVtbl->OnEnterScript(This); +} +static FORCEINLINE HRESULT IActiveScriptSite_OnLeaveScript(IActiveScriptSite* This) { + return This->lpVtbl->OnLeaveScript(This); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptSite_INTERFACE_DEFINED__ */ + +typedef IActiveScriptSite *PIActiveScriptSite; +/***************************************************************************** + * IActiveScriptSiteWindow interface + */ +#ifndef __IActiveScriptSiteWindow_INTERFACE_DEFINED__ +#define __IActiveScriptSiteWindow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d10f6761-83e9-11cf-8f20-00805f2cd064") +IActiveScriptSiteWindow : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetWindow( + HWND *phwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + BOOL fEnable) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IActiveScriptSiteWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteWindow *This); + + /*** IActiveScriptSiteWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IActiveScriptSiteWindow *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IActiveScriptSiteWindow *This, + BOOL fEnable); + + END_INTERFACE +} IActiveScriptSiteWindowVtbl; + +interface IActiveScriptSiteWindow { + CONST_VTBL IActiveScriptSiteWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteWindow methods ***/ +#define IActiveScriptSiteWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IActiveScriptSiteWindow_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteWindow_QueryInterface(IActiveScriptSiteWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteWindow_AddRef(IActiveScriptSiteWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteWindow_Release(IActiveScriptSiteWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteWindow methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteWindow_GetWindow(IActiveScriptSiteWindow* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IActiveScriptSiteWindow_EnableModeless(IActiveScriptSiteWindow* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptSiteWindow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteUIControl interface + */ +#ifndef __IActiveScriptSiteUIControl_INTERFACE_DEFINED__ +#define __IActiveScriptSiteUIControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteUIControl, 0xaedae97e, 0xd7ee, 0x4796, 0xb9,0x60, 0x7f,0x09,0x2a,0xe8,0x44,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aedae97e-d7ee-4796-b960-7f092ae844ab") +IActiveScriptSiteUIControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetUIBehavior( + SCRIPTUICITEM UicItem, + SCRIPTUICHANDLING *pUicHandling) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteUIControl, 0xaedae97e, 0xd7ee, 0x4796, 0xb9,0x60, 0x7f,0x09,0x2a,0xe8,0x44,0xab) +#endif +#else +typedef struct IActiveScriptSiteUIControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteUIControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteUIControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteUIControl *This); + + /*** IActiveScriptSiteUIControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetUIBehavior)( + IActiveScriptSiteUIControl *This, + SCRIPTUICITEM UicItem, + SCRIPTUICHANDLING *pUicHandling); + + END_INTERFACE +} IActiveScriptSiteUIControlVtbl; + +interface IActiveScriptSiteUIControl { + CONST_VTBL IActiveScriptSiteUIControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteUIControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteUIControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteUIControl_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteUIControl methods ***/ +#define IActiveScriptSiteUIControl_GetUIBehavior(This,UicItem,pUicHandling) (This)->lpVtbl->GetUIBehavior(This,UicItem,pUicHandling) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteUIControl_QueryInterface(IActiveScriptSiteUIControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteUIControl_AddRef(IActiveScriptSiteUIControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteUIControl_Release(IActiveScriptSiteUIControl* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteUIControl methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteUIControl_GetUIBehavior(IActiveScriptSiteUIControl* This,SCRIPTUICITEM UicItem,SCRIPTUICHANDLING *pUicHandling) { + return This->lpVtbl->GetUIBehavior(This,UicItem,pUicHandling); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptSiteUIControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteInterruptPoll interface + */ +#ifndef __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__ +#define __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5,0xeb, 0x00,0xaa,0x00,0x47,0xa0,0x63); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("539698a0-cdca-11cf-a5eb-00aa0047a063") +IActiveScriptSiteInterruptPoll : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryContinue( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5,0xeb, 0x00,0xaa,0x00,0x47,0xa0,0x63) +#endif +#else +typedef struct IActiveScriptSiteInterruptPollVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteInterruptPoll *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteInterruptPoll *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteInterruptPoll *This); + + /*** IActiveScriptSiteInterruptPoll methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryContinue)( + IActiveScriptSiteInterruptPoll *This); + + END_INTERFACE +} IActiveScriptSiteInterruptPollVtbl; + +interface IActiveScriptSiteInterruptPoll { + CONST_VTBL IActiveScriptSiteInterruptPollVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteInterruptPoll_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteInterruptPoll_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteInterruptPoll_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteInterruptPoll methods ***/ +#define IActiveScriptSiteInterruptPoll_QueryContinue(This) (This)->lpVtbl->QueryContinue(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteInterruptPoll_QueryInterface(IActiveScriptSiteInterruptPoll* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteInterruptPoll_AddRef(IActiveScriptSiteInterruptPoll* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteInterruptPoll_Release(IActiveScriptSiteInterruptPoll* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteInterruptPoll methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteInterruptPoll_QueryContinue(IActiveScriptSiteInterruptPoll* This) { + return This->lpVtbl->QueryContinue(This); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScript interface + */ +#ifndef __IActiveScript_INTERFACE_DEFINED__ +#define __IActiveScript_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb1a2ae1-a4f9-11cf-8f20-00805f2cd064") +IActiveScript : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetScriptSite( + IActiveScriptSite *pass) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptSite( + REFIID riid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetScriptState( + SCRIPTSTATE ss) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptState( + SCRIPTSTATE *pssState) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddNamedItem( + LPCOLESTR pstrName, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTypeLib( + REFGUID rguidTypeLib, + DWORD dwMajor, + DWORD dwMinor, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptDispatch( + LPCOLESTR pstrItemName, + IDispatch **ppdisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentScriptThreadID( + SCRIPTTHREADID *pstidThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptThreadID( + DWORD dwWin32ThreadId, + SCRIPTTHREADID *pstidThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptThreadState( + SCRIPTTHREADID stidThread, + SCRIPTTHREADSTATE *pstsState) = 0; + + virtual HRESULT STDMETHODCALLTYPE InterruptScriptThread( + SCRIPTTHREADID stidThread, + const EXCEPINFO *pexcepinfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IActiveScript **ppscript) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IActiveScriptVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScript *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScript *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScript *This); + + /*** IActiveScript methods ***/ + HRESULT (STDMETHODCALLTYPE *SetScriptSite)( + IActiveScript *This, + IActiveScriptSite *pass); + + HRESULT (STDMETHODCALLTYPE *GetScriptSite)( + IActiveScript *This, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *SetScriptState)( + IActiveScript *This, + SCRIPTSTATE ss); + + HRESULT (STDMETHODCALLTYPE *GetScriptState)( + IActiveScript *This, + SCRIPTSTATE *pssState); + + HRESULT (STDMETHODCALLTYPE *Close)( + IActiveScript *This); + + HRESULT (STDMETHODCALLTYPE *AddNamedItem)( + IActiveScript *This, + LPCOLESTR pstrName, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *AddTypeLib)( + IActiveScript *This, + REFGUID rguidTypeLib, + DWORD dwMajor, + DWORD dwMinor, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetScriptDispatch)( + IActiveScript *This, + LPCOLESTR pstrItemName, + IDispatch **ppdisp); + + HRESULT (STDMETHODCALLTYPE *GetCurrentScriptThreadID)( + IActiveScript *This, + SCRIPTTHREADID *pstidThread); + + HRESULT (STDMETHODCALLTYPE *GetScriptThreadID)( + IActiveScript *This, + DWORD dwWin32ThreadId, + SCRIPTTHREADID *pstidThread); + + HRESULT (STDMETHODCALLTYPE *GetScriptThreadState)( + IActiveScript *This, + SCRIPTTHREADID stidThread, + SCRIPTTHREADSTATE *pstsState); + + HRESULT (STDMETHODCALLTYPE *InterruptScriptThread)( + IActiveScript *This, + SCRIPTTHREADID stidThread, + const EXCEPINFO *pexcepinfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IActiveScript *This, + IActiveScript **ppscript); + + END_INTERFACE +} IActiveScriptVtbl; + +interface IActiveScript { + CONST_VTBL IActiveScriptVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScript_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScript_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScript_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScript methods ***/ +#define IActiveScript_SetScriptSite(This,pass) (This)->lpVtbl->SetScriptSite(This,pass) +#define IActiveScript_GetScriptSite(This,riid,ppvObject) (This)->lpVtbl->GetScriptSite(This,riid,ppvObject) +#define IActiveScript_SetScriptState(This,ss) (This)->lpVtbl->SetScriptState(This,ss) +#define IActiveScript_GetScriptState(This,pssState) (This)->lpVtbl->GetScriptState(This,pssState) +#define IActiveScript_Close(This) (This)->lpVtbl->Close(This) +#define IActiveScript_AddNamedItem(This,pstrName,dwFlags) (This)->lpVtbl->AddNamedItem(This,pstrName,dwFlags) +#define IActiveScript_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) (This)->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) +#define IActiveScript_GetScriptDispatch(This,pstrItemName,ppdisp) (This)->lpVtbl->GetScriptDispatch(This,pstrItemName,ppdisp) +#define IActiveScript_GetCurrentScriptThreadID(This,pstidThread) (This)->lpVtbl->GetCurrentScriptThreadID(This,pstidThread) +#define IActiveScript_GetScriptThreadID(This,dwWin32ThreadId,pstidThread) (This)->lpVtbl->GetScriptThreadID(This,dwWin32ThreadId,pstidThread) +#define IActiveScript_GetScriptThreadState(This,stidThread,pstsState) (This)->lpVtbl->GetScriptThreadState(This,stidThread,pstsState) +#define IActiveScript_InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags) (This)->lpVtbl->InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags) +#define IActiveScript_Clone(This,ppscript) (This)->lpVtbl->Clone(This,ppscript) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScript_QueryInterface(IActiveScript* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScript_AddRef(IActiveScript* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScript_Release(IActiveScript* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScript methods ***/ +static FORCEINLINE HRESULT IActiveScript_SetScriptSite(IActiveScript* This,IActiveScriptSite *pass) { + return This->lpVtbl->SetScriptSite(This,pass); +} +static FORCEINLINE HRESULT IActiveScript_GetScriptSite(IActiveScript* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->GetScriptSite(This,riid,ppvObject); +} +static FORCEINLINE HRESULT IActiveScript_SetScriptState(IActiveScript* This,SCRIPTSTATE ss) { + return This->lpVtbl->SetScriptState(This,ss); +} +static FORCEINLINE HRESULT IActiveScript_GetScriptState(IActiveScript* This,SCRIPTSTATE *pssState) { + return This->lpVtbl->GetScriptState(This,pssState); +} +static FORCEINLINE HRESULT IActiveScript_Close(IActiveScript* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IActiveScript_AddNamedItem(IActiveScript* This,LPCOLESTR pstrName,DWORD dwFlags) { + return This->lpVtbl->AddNamedItem(This,pstrName,dwFlags); +} +static FORCEINLINE HRESULT IActiveScript_AddTypeLib(IActiveScript* This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags) { + return This->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags); +} +static FORCEINLINE HRESULT IActiveScript_GetScriptDispatch(IActiveScript* This,LPCOLESTR pstrItemName,IDispatch **ppdisp) { + return This->lpVtbl->GetScriptDispatch(This,pstrItemName,ppdisp); +} +static FORCEINLINE HRESULT IActiveScript_GetCurrentScriptThreadID(IActiveScript* This,SCRIPTTHREADID *pstidThread) { + return This->lpVtbl->GetCurrentScriptThreadID(This,pstidThread); +} +static FORCEINLINE HRESULT IActiveScript_GetScriptThreadID(IActiveScript* This,DWORD dwWin32ThreadId,SCRIPTTHREADID *pstidThread) { + return This->lpVtbl->GetScriptThreadID(This,dwWin32ThreadId,pstidThread); +} +static FORCEINLINE HRESULT IActiveScript_GetScriptThreadState(IActiveScript* This,SCRIPTTHREADID stidThread,SCRIPTTHREADSTATE *pstsState) { + return This->lpVtbl->GetScriptThreadState(This,stidThread,pstsState); +} +static FORCEINLINE HRESULT IActiveScript_InterruptScriptThread(IActiveScript* This,SCRIPTTHREADID stidThread,const EXCEPINFO *pexcepinfo,DWORD dwFlags) { + return This->lpVtbl->InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags); +} +static FORCEINLINE HRESULT IActiveScript_Clone(IActiveScript* This,IActiveScript **ppscript) { + return This->lpVtbl->Clone(This,ppscript); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScript_INTERFACE_DEFINED__ */ + +typedef IActiveScript *PIActiveScript; +/***************************************************************************** + * IActiveScriptParse32 interface + */ +#ifndef __IActiveScriptParse32_INTERFACE_DEFINED__ +#define __IActiveScriptParse32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb1a2ae2-a4f9-11cf-8f20-00805f2cd064") +IActiveScriptParse32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddScriptlet( + LPCOLESTR pstrDefaultName, + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + LPCOLESTR pstrSubItemName, + LPCOLESTR pstrEventName, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + BSTR *pbstrName, + EXCEPINFO *pexcepinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE ParseScriptText( + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + VARIANT *pvarResult, + EXCEPINFO *pexcepinfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IActiveScriptParse32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParse32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParse32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParse32 *This); + + /*** IActiveScriptParse32 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IActiveScriptParse32 *This); + + HRESULT (STDMETHODCALLTYPE *AddScriptlet)( + IActiveScriptParse32 *This, + LPCOLESTR pstrDefaultName, + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + LPCOLESTR pstrSubItemName, + LPCOLESTR pstrEventName, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + BSTR *pbstrName, + EXCEPINFO *pexcepinfo); + + HRESULT (STDMETHODCALLTYPE *ParseScriptText)( + IActiveScriptParse32 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + VARIANT *pvarResult, + EXCEPINFO *pexcepinfo); + + END_INTERFACE +} IActiveScriptParse32Vtbl; + +interface IActiveScriptParse32 { + CONST_VTBL IActiveScriptParse32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParse32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParse32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParse32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParse32 methods ***/ +#define IActiveScriptParse32_InitNew(This) (This)->lpVtbl->InitNew(This) +#define IActiveScriptParse32_AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) (This)->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) +#define IActiveScriptParse32_ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) (This)->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParse32_QueryInterface(IActiveScriptParse32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParse32_AddRef(IActiveScriptParse32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParse32_Release(IActiveScriptParse32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParse32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParse32_InitNew(IActiveScriptParse32* This) { + return This->lpVtbl->InitNew(This); +} +static FORCEINLINE HRESULT IActiveScriptParse32_AddScriptlet(IActiveScriptParse32* This,LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo) { + return This->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo); +} +static FORCEINLINE HRESULT IActiveScriptParse32_ParseScriptText(IActiveScriptParse32* This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo) { + return This->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParse32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptParse64 interface + */ +#ifndef __IActiveScriptParse64_INTERFACE_DEFINED__ +#define __IActiveScriptParse64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97,0xea, 0xd5,0x2c,0xb4,0xd7,0x6d,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c7ef7658-e1ee-480e-97ea-d52cb4d76d17") +IActiveScriptParse64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddScriptlet( + LPCOLESTR pstrDefaultName, + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + LPCOLESTR pstrSubItemName, + LPCOLESTR pstrEventName, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + BSTR *pbstrName, + EXCEPINFO *pexcepinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE ParseScriptText( + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + VARIANT *pvarResult, + EXCEPINFO *pexcepinfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97,0xea, 0xd5,0x2c,0xb4,0xd7,0x6d,0x17) +#endif +#else +typedef struct IActiveScriptParse64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParse64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParse64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParse64 *This); + + /*** IActiveScriptParse64 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IActiveScriptParse64 *This); + + HRESULT (STDMETHODCALLTYPE *AddScriptlet)( + IActiveScriptParse64 *This, + LPCOLESTR pstrDefaultName, + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + LPCOLESTR pstrSubItemName, + LPCOLESTR pstrEventName, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + BSTR *pbstrName, + EXCEPINFO *pexcepinfo); + + HRESULT (STDMETHODCALLTYPE *ParseScriptText)( + IActiveScriptParse64 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + VARIANT *pvarResult, + EXCEPINFO *pexcepinfo); + + END_INTERFACE +} IActiveScriptParse64Vtbl; + +interface IActiveScriptParse64 { + CONST_VTBL IActiveScriptParse64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParse64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParse64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParse64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParse64 methods ***/ +#define IActiveScriptParse64_InitNew(This) (This)->lpVtbl->InitNew(This) +#define IActiveScriptParse64_AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) (This)->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) +#define IActiveScriptParse64_ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) (This)->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParse64_QueryInterface(IActiveScriptParse64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParse64_AddRef(IActiveScriptParse64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParse64_Release(IActiveScriptParse64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParse64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParse64_InitNew(IActiveScriptParse64* This) { + return This->lpVtbl->InitNew(This); +} +static FORCEINLINE HRESULT IActiveScriptParse64_AddScriptlet(IActiveScriptParse64* This,LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo) { + return This->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo); +} +static FORCEINLINE HRESULT IActiveScriptParse64_ParseScriptText(IActiveScriptParse64* This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo) { + return This->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParse64_INTERFACE_DEFINED__ */ + +#ifdef _WIN64 +#define IActiveScriptParse IActiveScriptParse64 +#define IID_IActiveScriptParse IID_IActiveScriptParse64 +#else +#define IActiveScriptParse IActiveScriptParse32 +#define IID_IActiveScriptParse IID_IActiveScriptParse32 +#endif +typedef IActiveScriptParse *PIActiveScriptParse; +/***************************************************************************** + * IActiveScriptParseProcedureOld32 interface + */ +#ifndef __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__ +#define __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93,0x28, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1cff0050-6fdd-11d0-9328-00a0c90dcaa9") +IActiveScriptParseProcedureOld32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseProcedureText( + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93,0x28, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IActiveScriptParseProcedureOld32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParseProcedureOld32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParseProcedureOld32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParseProcedureOld32 *This); + + /*** IActiveScriptParseProcedureOld32 methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( + IActiveScriptParseProcedureOld32 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp); + + END_INTERFACE +} IActiveScriptParseProcedureOld32Vtbl; + +interface IActiveScriptParseProcedureOld32 { + CONST_VTBL IActiveScriptParseProcedureOld32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParseProcedureOld32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParseProcedureOld32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParseProcedureOld32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParseProcedureOld32 methods ***/ +#define IActiveScriptParseProcedureOld32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedureOld32_QueryInterface(IActiveScriptParseProcedureOld32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParseProcedureOld32_AddRef(IActiveScriptParseProcedureOld32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParseProcedureOld32_Release(IActiveScriptParseProcedureOld32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParseProcedureOld32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedureOld32_ParseProcedureText(IActiveScriptParseProcedureOld32* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) { + return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptParseProcedureOld64 interface + */ +#ifndef __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__ +#define __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba,0x12, 0x22,0xd1,0x5d,0x88,0xdc,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("21f57128-08c9-4638-ba12-22d15d88dc5c") +IActiveScriptParseProcedureOld64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseProcedureText( + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba,0x12, 0x22,0xd1,0x5d,0x88,0xdc,0x5c) +#endif +#else +typedef struct IActiveScriptParseProcedureOld64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParseProcedureOld64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParseProcedureOld64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParseProcedureOld64 *This); + + /*** IActiveScriptParseProcedureOld64 methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( + IActiveScriptParseProcedureOld64 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp); + + END_INTERFACE +} IActiveScriptParseProcedureOld64Vtbl; + +interface IActiveScriptParseProcedureOld64 { + CONST_VTBL IActiveScriptParseProcedureOld64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParseProcedureOld64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParseProcedureOld64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParseProcedureOld64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParseProcedureOld64 methods ***/ +#define IActiveScriptParseProcedureOld64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedureOld64_QueryInterface(IActiveScriptParseProcedureOld64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParseProcedureOld64_AddRef(IActiveScriptParseProcedureOld64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParseProcedureOld64_Release(IActiveScriptParseProcedureOld64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParseProcedureOld64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedureOld64_ParseProcedureText(IActiveScriptParseProcedureOld64* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) { + return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__ */ + +#ifdef _WIN64 +#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64 +#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64 +#else +#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32 +#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32 +#endif +/***************************************************************************** + * IActiveScriptParseProcedure32 interface + */ +#ifndef __IActiveScriptParseProcedure32_INTERFACE_DEFINED__ +#define __IActiveScriptParseProcedure32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93,0x2f, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa5b6a80-b834-11d0-932f-00a0c90dcaa9") +IActiveScriptParseProcedure32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseProcedureText( + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrProcedureName, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93,0x2f, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IActiveScriptParseProcedure32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParseProcedure32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParseProcedure32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParseProcedure32 *This); + + /*** IActiveScriptParseProcedure32 methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( + IActiveScriptParseProcedure32 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrProcedureName, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp); + + END_INTERFACE +} IActiveScriptParseProcedure32Vtbl; + +interface IActiveScriptParseProcedure32 { + CONST_VTBL IActiveScriptParseProcedure32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParseProcedure32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParseProcedure32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParseProcedure32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParseProcedure32 methods ***/ +#define IActiveScriptParseProcedure32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure32_QueryInterface(IActiveScriptParseProcedure32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure32_AddRef(IActiveScriptParseProcedure32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure32_Release(IActiveScriptParseProcedure32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParseProcedure32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure32_ParseProcedureText(IActiveScriptParseProcedure32* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) { + return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParseProcedure32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptParseProcedure64 interface + */ +#ifndef __IActiveScriptParseProcedure64_INTERFACE_DEFINED__ +#define __IActiveScriptParseProcedure64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92,0x00, 0x43,0x8b,0x72,0x89,0x0b,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c64713b6-e029-4cc5-9200-438b72890b6a") +IActiveScriptParseProcedure64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseProcedureText( + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrProcedureName, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92,0x00, 0x43,0x8b,0x72,0x89,0x0b,0x6a) +#endif +#else +typedef struct IActiveScriptParseProcedure64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParseProcedure64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParseProcedure64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParseProcedure64 *This); + + /*** IActiveScriptParseProcedure64 methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( + IActiveScriptParseProcedure64 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrProcedureName, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp); + + END_INTERFACE +} IActiveScriptParseProcedure64Vtbl; + +interface IActiveScriptParseProcedure64 { + CONST_VTBL IActiveScriptParseProcedure64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParseProcedure64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParseProcedure64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParseProcedure64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParseProcedure64 methods ***/ +#define IActiveScriptParseProcedure64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure64_QueryInterface(IActiveScriptParseProcedure64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure64_AddRef(IActiveScriptParseProcedure64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure64_Release(IActiveScriptParseProcedure64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParseProcedure64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure64_ParseProcedureText(IActiveScriptParseProcedure64* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) { + return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParseProcedure64_INTERFACE_DEFINED__ */ + +#ifdef _WIN64 +#define IActiveScriptParseProcedure IActiveScriptParseProcedure64 +#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64 +#else +#define IActiveScriptParseProcedure IActiveScriptParseProcedure32 +#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32 +#endif +/***************************************************************************** + * IActiveScriptParseProcedure2_32 interface + */ +#ifndef __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__ +#define __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3,0xa8, 0x00,0xa0,0xc9,0x11,0xe8,0xb2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71ee5b20-fb04-11d1-b3a8-00a0c911e8b2") +IActiveScriptParseProcedure2_32 : public IActiveScriptParseProcedure32 +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3,0xa8, 0x00,0xa0,0xc9,0x11,0xe8,0xb2) +#endif +#else +typedef struct IActiveScriptParseProcedure2_32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParseProcedure2_32 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParseProcedure2_32 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParseProcedure2_32 *This); + + /*** IActiveScriptParseProcedure32 methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( + IActiveScriptParseProcedure2_32 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrProcedureName, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORD dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp); + + END_INTERFACE +} IActiveScriptParseProcedure2_32Vtbl; + +interface IActiveScriptParseProcedure2_32 { + CONST_VTBL IActiveScriptParseProcedure2_32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParseProcedure2_32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParseProcedure2_32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParseProcedure2_32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParseProcedure32 methods ***/ +#define IActiveScriptParseProcedure2_32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure2_32_QueryInterface(IActiveScriptParseProcedure2_32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure2_32_AddRef(IActiveScriptParseProcedure2_32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure2_32_Release(IActiveScriptParseProcedure2_32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParseProcedure32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure2_32_ParseProcedureText(IActiveScriptParseProcedure2_32* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) { + return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptParseProcedure2_64 interface + */ +#ifndef __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__ +#define __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f,0x54, 0x76,0xda,0xb7,0x04,0x7b,0x28); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fe7c4271-210c-448d-9f54-76dab7047b28") +IActiveScriptParseProcedure2_64 : public IActiveScriptParseProcedure64 +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f,0x54, 0x76,0xda,0xb7,0x04,0x7b,0x28) +#endif +#else +typedef struct IActiveScriptParseProcedure2_64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptParseProcedure2_64 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptParseProcedure2_64 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptParseProcedure2_64 *This); + + /*** IActiveScriptParseProcedure64 methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( + IActiveScriptParseProcedure2_64 *This, + LPCOLESTR pstrCode, + LPCOLESTR pstrFormalParams, + LPCOLESTR pstrProcedureName, + LPCOLESTR pstrItemName, + IUnknown *punkContext, + LPCOLESTR pstrDelimiter, + DWORDLONG dwSourceContextCookie, + ULONG ulStartingLineNumber, + DWORD dwFlags, + IDispatch **ppdisp); + + END_INTERFACE +} IActiveScriptParseProcedure2_64Vtbl; + +interface IActiveScriptParseProcedure2_64 { + CONST_VTBL IActiveScriptParseProcedure2_64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptParseProcedure2_64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptParseProcedure2_64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptParseProcedure2_64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptParseProcedure64 methods ***/ +#define IActiveScriptParseProcedure2_64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure2_64_QueryInterface(IActiveScriptParseProcedure2_64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure2_64_AddRef(IActiveScriptParseProcedure2_64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptParseProcedure2_64_Release(IActiveScriptParseProcedure2_64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptParseProcedure64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptParseProcedure2_64_ParseProcedureText(IActiveScriptParseProcedure2_64* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) { + return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__ */ + +#ifdef _WIN64 +#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64 +#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64 +#else +#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32 +#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32 +#endif +/***************************************************************************** + * IBindEventHandler interface + */ +#ifndef __IBindEventHandler_INTERFACE_DEFINED__ +#define __IBindEventHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("63cdbcb0-c1b1-11d0-9336-00a0c90dcaa9") +IBindEventHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BindHandler( + LPCOLESTR pstrEvent, + IDispatch *pdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IBindEventHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindEventHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindEventHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindEventHandler *This); + + /*** IBindEventHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *BindHandler)( + IBindEventHandler *This, + LPCOLESTR pstrEvent, + IDispatch *pdisp); + + END_INTERFACE +} IBindEventHandlerVtbl; + +interface IBindEventHandler { + CONST_VTBL IBindEventHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindEventHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindEventHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindEventHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IBindEventHandler methods ***/ +#define IBindEventHandler_BindHandler(This,pstrEvent,pdisp) (This)->lpVtbl->BindHandler(This,pstrEvent,pdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindEventHandler_QueryInterface(IBindEventHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindEventHandler_AddRef(IBindEventHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindEventHandler_Release(IBindEventHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IBindEventHandler methods ***/ +static FORCEINLINE HRESULT IBindEventHandler_BindHandler(IBindEventHandler* This,LPCOLESTR pstrEvent,IDispatch *pdisp) { + return This->lpVtbl->BindHandler(This,pstrEvent,pdisp); +} +#endif +#endif + +#endif + + +#endif /* __IBindEventHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptStats interface + */ +#ifndef __IActiveScriptStats_INTERFACE_DEFINED__ +#define __IActiveScriptStats_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93,0x3c, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b8da6310-e19b-11d0-933c-00a0c90dcaa9") +IActiveScriptStats : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStat( + DWORD stid, + ULONG *pluHi, + ULONG *pluLo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatEx( + REFGUID guid, + ULONG *pluHi, + ULONG *pluLo) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetStats( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93,0x3c, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IActiveScriptStatsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptStats *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptStats *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptStats *This); + + /*** IActiveScriptStats methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStat)( + IActiveScriptStats *This, + DWORD stid, + ULONG *pluHi, + ULONG *pluLo); + + HRESULT (STDMETHODCALLTYPE *GetStatEx)( + IActiveScriptStats *This, + REFGUID guid, + ULONG *pluHi, + ULONG *pluLo); + + HRESULT (STDMETHODCALLTYPE *ResetStats)( + IActiveScriptStats *This); + + END_INTERFACE +} IActiveScriptStatsVtbl; + +interface IActiveScriptStats { + CONST_VTBL IActiveScriptStatsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptStats_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptStats_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptStats_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptStats methods ***/ +#define IActiveScriptStats_GetStat(This,stid,pluHi,pluLo) (This)->lpVtbl->GetStat(This,stid,pluHi,pluLo) +#define IActiveScriptStats_GetStatEx(This,guid,pluHi,pluLo) (This)->lpVtbl->GetStatEx(This,guid,pluHi,pluLo) +#define IActiveScriptStats_ResetStats(This) (This)->lpVtbl->ResetStats(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptStats_QueryInterface(IActiveScriptStats* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptStats_AddRef(IActiveScriptStats* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptStats_Release(IActiveScriptStats* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptStats methods ***/ +static FORCEINLINE HRESULT IActiveScriptStats_GetStat(IActiveScriptStats* This,DWORD stid,ULONG *pluHi,ULONG *pluLo) { + return This->lpVtbl->GetStat(This,stid,pluHi,pluLo); +} +static FORCEINLINE HRESULT IActiveScriptStats_GetStatEx(IActiveScriptStats* This,REFGUID guid,ULONG *pluHi,ULONG *pluLo) { + return This->lpVtbl->GetStatEx(This,guid,pluHi,pluLo); +} +static FORCEINLINE HRESULT IActiveScriptStats_ResetStats(IActiveScriptStats* This) { + return This->lpVtbl->ResetStats(This); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptStats_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptProperty interface + */ +#ifndef __IActiveScriptProperty_INTERFACE_DEFINED__ +#define __IActiveScriptProperty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptProperty, 0x4954e0d0, 0xfbc7, 0x11d1, 0x84,0x10, 0x00,0x60,0x08,0xc3,0xfb,0xfc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4954e0d0-fbc7-11d1-8410-006008c3fbfc") +IActiveScriptProperty : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProperty( + DWORD dwProperty, + VARIANT *pvarIndex, + VARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperty( + DWORD dwProperty, + VARIANT *pvarIndex, + VARIANT *pvarValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptProperty, 0x4954e0d0, 0xfbc7, 0x11d1, 0x84,0x10, 0x00,0x60,0x08,0xc3,0xfb,0xfc) +#endif +#else +typedef struct IActiveScriptPropertyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptProperty *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptProperty *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptProperty *This); + + /*** IActiveScriptProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IActiveScriptProperty *This, + DWORD dwProperty, + VARIANT *pvarIndex, + VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IActiveScriptProperty *This, + DWORD dwProperty, + VARIANT *pvarIndex, + VARIANT *pvarValue); + + END_INTERFACE +} IActiveScriptPropertyVtbl; + +interface IActiveScriptProperty { + CONST_VTBL IActiveScriptPropertyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptProperty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptProperty_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptProperty methods ***/ +#define IActiveScriptProperty_GetProperty(This,dwProperty,pvarIndex,pvarValue) (This)->lpVtbl->GetProperty(This,dwProperty,pvarIndex,pvarValue) +#define IActiveScriptProperty_SetProperty(This,dwProperty,pvarIndex,pvarValue) (This)->lpVtbl->SetProperty(This,dwProperty,pvarIndex,pvarValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptProperty_QueryInterface(IActiveScriptProperty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptProperty_AddRef(IActiveScriptProperty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptProperty_Release(IActiveScriptProperty* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptProperty methods ***/ +static FORCEINLINE HRESULT IActiveScriptProperty_GetProperty(IActiveScriptProperty* This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue) { + return This->lpVtbl->GetProperty(This,dwProperty,pvarIndex,pvarValue); +} +static FORCEINLINE HRESULT IActiveScriptProperty_SetProperty(IActiveScriptProperty* This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue) { + return This->lpVtbl->SetProperty(This,dwProperty,pvarIndex,pvarValue); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptProperty_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptGarbageCollector interface + */ +#ifndef __IActiveScriptGarbageCollector_INTERFACE_DEFINED__ +#define __IActiveScriptGarbageCollector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2,0xa0, 0x00,0x10,0x4b,0xd3,0x50,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6aa2c4a0-2b53-11d4-a2a0-00104bd35090") +IActiveScriptGarbageCollector : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CollectGarbage( + SCRIPTGCTYPE gctype) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2,0xa0, 0x00,0x10,0x4b,0xd3,0x50,0x90) +#endif +#else +typedef struct IActiveScriptGarbageCollectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptGarbageCollector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptGarbageCollector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptGarbageCollector *This); + + /*** IActiveScriptGarbageCollector methods ***/ + HRESULT (STDMETHODCALLTYPE *CollectGarbage)( + IActiveScriptGarbageCollector *This, + SCRIPTGCTYPE gctype); + + END_INTERFACE +} IActiveScriptGarbageCollectorVtbl; + +interface IActiveScriptGarbageCollector { + CONST_VTBL IActiveScriptGarbageCollectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptGarbageCollector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptGarbageCollector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptGarbageCollector_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptGarbageCollector methods ***/ +#define IActiveScriptGarbageCollector_CollectGarbage(This,gctype) (This)->lpVtbl->CollectGarbage(This,gctype) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptGarbageCollector_QueryInterface(IActiveScriptGarbageCollector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptGarbageCollector_AddRef(IActiveScriptGarbageCollector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptGarbageCollector_Release(IActiveScriptGarbageCollector* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptGarbageCollector methods ***/ +static FORCEINLINE HRESULT IActiveScriptGarbageCollector_CollectGarbage(IActiveScriptGarbageCollector* This,SCRIPTGCTYPE gctype) { + return This->lpVtbl->CollectGarbage(This,gctype); +} +#endif +#endif + +#endif + + +#endif /* __IActiveScriptGarbageCollector_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __activscp_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activscp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activscp.idl new file mode 100644 index 0000000..e539b04 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/activscp.idl @@ -0,0 +1,569 @@ +/* + * Copyright 2004 Kevin Koltzau + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "ocidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +#endif + +cpp_quote("#ifndef _NO_SCRIPT_GUIDS") + +cpp_quote("DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);") +cpp_quote("DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);") +cpp_quote("DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);") + +cpp_quote("#endif") + +cpp_quote("#define SCRIPTPROP_NAME 0x00000000") +cpp_quote("#define SCRIPTPROP_MAJORVERSION 0x00000001") +cpp_quote("#define SCRIPTPROP_MINORVERSION 0x00000002") +cpp_quote("#define SCRIPTPROP_BUILDNUMBER 0x00000003") +cpp_quote("#define SCRIPTPROP_DELAYEDEVENTSINKING 0x00001000") +cpp_quote("#define SCRIPTPROP_CATCHEXCEPTION 0x00001001") +cpp_quote("#define SCRIPTPROP_CONVERSIONLCID 0x00001002") +cpp_quote("#define SCRIPTPROP_HOSTSTACKREQUIRED 0x00001003") +cpp_quote("#define SCRIPTPROP_DEBUGGER 0x00001100") +cpp_quote("#define SCRIPTPROP_JITDEBUG 0x00001101") +cpp_quote("#define SCRIPTPROP_INVOKEVERSIONING 0x00004000") + +cpp_quote("#define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000") +cpp_quote("#define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001") +cpp_quote("#define SCRIPTPROP_ABBREVIATE_GLOBALNAME_RESOLUTION 0x70000002") + +typedef enum tagSCRIPTSTATE { + SCRIPTSTATE_UNINITIALIZED = 0, + SCRIPTSTATE_STARTED = 1, + SCRIPTSTATE_CONNECTED = 2, + SCRIPTSTATE_DISCONNECTED = 3, + SCRIPTSTATE_CLOSED = 4, + SCRIPTSTATE_INITIALIZED = 5 +} SCRIPTSTATE; + +typedef enum tagSCRIPTTHREADSTATE { + SCRIPTTHREADSTATE_NOTINSCRIPT = 0, + SCRIPTTHREADSTATE_RUNNING = 1 +} SCRIPTTHREADSTATE; + +typedef enum tagSCRIPTUICITEM { + SCRIPTUICITEM_INPUTBOX = 1, + SCRIPTUICITEM_MSGBOX = 2 +} SCRIPTUICITEM; + +typedef enum tagSCRIPTUICHANDLING { + SCRIPTUICHANDLING_ALLOW = 0, + SCRIPTUICHANDLING_NOUIERROR = 1, + SCRIPTUICHANDLING_NOUIDEFAULT = 2 +} SCRIPTUICHANDLING; + +typedef enum tagSCRIPTGCTYPE { + SCRIPTGCTYPE_NORMAL = 0, + SCRIPTGCTYPE_EXHAUSTIVE = 1 +} SCRIPTGCTYPE; + +typedef DWORD SCRIPTTHREADID; +cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)") +cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)") +cpp_quote("#define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3)") + +cpp_quote("#define SCRIPTITEM_ISVISIBLE 0x00000002") +cpp_quote("#define SCRIPTITEM_ISSOURCE 0x00000004") +cpp_quote("#define SCRIPTITEM_GLOBALMEMBERS 0x00000008") +cpp_quote("#define SCRIPTITEM_ISPERSISTENT 0x00000040") +cpp_quote("#define SCRIPTITEM_CODEONLY 0x00000200") +cpp_quote("#define SCRIPTITEM_NOCODE 0x00000400") +cpp_quote("#define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | \\") +cpp_quote(" SCRIPTITEM_ISVISIBLE | \\") +cpp_quote(" SCRIPTITEM_ISPERSISTENT | \\") +cpp_quote(" SCRIPTITEM_GLOBALMEMBERS | \\") +cpp_quote(" SCRIPTITEM_NOCODE | \\") +cpp_quote(" SCRIPTITEM_CODEONLY)") +cpp_quote("#define SCRIPTTYPELIB_ISCONTROL 0x00000010") +cpp_quote("#define SCRIPTTYPELIB_ISPERSISTENT 0x00000040") +cpp_quote("#define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTEXT_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)") +cpp_quote("#define SCRIPTTEXT_DELAYEXECUTION 0x00000001") +cpp_quote("#define SCRIPTTEXT_ISVISIBLE 0x00000002") +cpp_quote("#define SCRIPTTEXT_ISEXPRESSION 0x00000020") +cpp_quote("#define SCRIPTTEXT_ISPERSISTENT 0x00000040") +cpp_quote("#define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080") +cpp_quote("#define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | \\") +cpp_quote(" SCRIPTTEXT_ISVISIBLE | \\") +cpp_quote(" SCRIPTTEXT_ISEXPRESSION | \\") +cpp_quote(" SCRIPTTEXT_ISPERSISTENT | \\") +cpp_quote(" SCRIPTTEXT_HOSTMANAGESSOURCE)") +cpp_quote("#define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080") +cpp_quote("#define SCRIPTPROC_IMPLICIT_THIS 0x00000100") +cpp_quote("#define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200") +cpp_quote("#define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | \\") +cpp_quote(" SCRIPTPROC_IMPLICIT_THIS | \\") +cpp_quote(" SCRIPTPROC_IMPLICIT_PARENTS)") +cpp_quote("#define SCRIPTINFO_IUNKNOWN 0x00000001") +cpp_quote("#define SCRIPTINFO_ITYPEINFO 0x00000002") +cpp_quote("#define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO)") +cpp_quote("#define SCRIPTINTERRUPT_DEBUG 0x00000001") +cpp_quote("#define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002") +cpp_quote("#define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION)") +cpp_quote("#define SCRIPTSTAT_STATEMENT_COUNT 1") +cpp_quote("#define SCRIPTSTAT_INSTRUCTION_COUNT 2") +cpp_quote("#define SCRIPTSTAT_INTSTRUCTION_TIME 3") +cpp_quote("#define SCRIPTSTAT_TOTAL_TIME 4") + +cpp_quote("#define SCRIPT_E_RECORDED 0x86664004") +cpp_quote("#define SCRIPT_E_REPORTED 0x80020101") +cpp_quote("#define SCRIPT_E_PROPAGATE 0x80020102") + +[ +object, +uuid(EAE1BA61-A4ED-11cf-8F20-00805F2CD064), +pointer_default(unique) +] +interface IActiveScriptError : IUnknown +{ + HRESULT GetExceptionInfo( + [out] EXCEPINFO *pexcepinfo + ); + + HRESULT GetSourcePosition( + [out] DWORD *pdwSourceContext, + [out] ULONG *pulLineNumber, + [out] LONG *plCharacterPosition + ); + + HRESULT GetSourceLineText( + [out] BSTR *pbstrSourceLine + ); +} + +[ +object, +uuid(DB01A1E3-A42B-11cf-8F20-00805F2CD064), +pointer_default(unique) +] +interface IActiveScriptSite : IUnknown +{ + HRESULT GetLCID( + [out] LCID *plcid); + + HRESULT GetItemInfo( + [in] LPCOLESTR pstrName, + [in] DWORD dwReturnMask, + [out] IUnknown **ppiunkItem, + [out] ITypeInfo **ppti + ); + + HRESULT GetDocVersionString( + [out] BSTR *pbstrVersion + ); + + HRESULT OnScriptTerminate( + [in] const VARIANT *pvarResult, + [in] const EXCEPINFO *pexcepinfo + ); + + HRESULT OnStateChange( + [in] SCRIPTSTATE ssScriptState + ); + + HRESULT OnScriptError( + [in] IActiveScriptError *pscripterror + ); + + HRESULT OnEnterScript(void); + + HRESULT OnLeaveScript(void); +} + +cpp_quote("typedef IActiveScriptSite *PIActiveScriptSite;") + +[ +object, +uuid(D10F6761-83E9-11cf-8F20-00805F2CD064), +pointer_default(unique) +] +interface IActiveScriptSiteWindow : IUnknown +{ + HRESULT GetWindow( + [out] HWND *phwnd + ); + + HRESULT EnableModeless( + [in] BOOL fEnable + ); +} + +[ + object, + uuid(aedae97e-d7ee-4796-b960-7f092ae844ab), + pointer_default(unique) +] +interface IActiveScriptSiteUIControl : IUnknown +{ + HRESULT GetUIBehavior( + [in] SCRIPTUICITEM UicItem, + [out] SCRIPTUICHANDLING *pUicHandling); +} + +[ +object, +uuid(539698A0-CDCA-11CF-A5EB-00AA0047A063), +pointer_default(unique) +] +interface IActiveScriptSiteInterruptPoll : IUnknown +{ + HRESULT QueryContinue(); +} + +[ +object, +uuid(BB1A2AE1-A4F9-11cf-8F20-00805F2CD064), +pointer_default(unique) +] +interface IActiveScript : IUnknown +{ + HRESULT SetScriptSite( + [in] IActiveScriptSite *pass + ); + + HRESULT GetScriptSite( + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObject + ); + + HRESULT SetScriptState( + [in] SCRIPTSTATE ss + ); + + HRESULT GetScriptState( + [out] SCRIPTSTATE *pssState + ); + + HRESULT Close(void); + + HRESULT AddNamedItem( + [in] LPCOLESTR pstrName, + [in] DWORD dwFlags + ); + + HRESULT AddTypeLib( + [in] REFGUID rguidTypeLib, + [in] DWORD dwMajor, + [in] DWORD dwMinor, + [in] DWORD dwFlags + ); + + HRESULT GetScriptDispatch( + [in] LPCOLESTR pstrItemName, + [out] IDispatch **ppdisp + ); + + HRESULT GetCurrentScriptThreadID( + [out] SCRIPTTHREADID *pstidThread + ); + + HRESULT GetScriptThreadID( + [in] DWORD dwWin32ThreadId, + [out] SCRIPTTHREADID *pstidThread + ); + + HRESULT GetScriptThreadState( + [in] SCRIPTTHREADID stidThread, + [out] SCRIPTTHREADSTATE *pstsState + ); + + HRESULT InterruptScriptThread( + [in] SCRIPTTHREADID stidThread, + [in] const EXCEPINFO *pexcepinfo, + [in] DWORD dwFlags + ); + + HRESULT Clone( + [out] IActiveScript **ppscript + ); +} + +cpp_quote("typedef IActiveScript *PIActiveScript;") + +[ +object, +uuid(BB1A2AE2-A4F9-11cf-8F20-00805F2CD064), +pointer_default(unique) +] +interface IActiveScriptParse32 : IUnknown +{ + HRESULT InitNew(void); + + HRESULT AddScriptlet( + [in] LPCOLESTR pstrDefaultName, + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrItemName, + [in] LPCOLESTR pstrSubItemName, + [in] LPCOLESTR pstrEventName, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] BSTR *pbstrName, + [out] EXCEPINFO *pexcepinfo + ); + + HRESULT ParseScriptText( + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrItemName, + [in] IUnknown *punkContext, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] VARIANT *pvarResult, + [out] EXCEPINFO *pexcepinfo + ); +} + +[ + object, + uuid(c7ef7658-e1ee-480e-97ea-d52cb4d76d17), + pointer_default(unique) +] +interface IActiveScriptParse64 : IUnknown +{ + HRESULT InitNew(void); + + HRESULT AddScriptlet( + [in] LPCOLESTR pstrDefaultName, + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrItemName, + [in] LPCOLESTR pstrSubItemName, + [in] LPCOLESTR pstrEventName, + [in] LPCOLESTR pstrDelimiter, + [in] DWORDLONG dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] BSTR *pbstrName, + [out] EXCEPINFO *pexcepinfo + ); + + HRESULT ParseScriptText( + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrItemName, + [in] IUnknown *punkContext, + [in] LPCOLESTR pstrDelimiter, + [in] DWORDLONG dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] VARIANT *pvarResult, + [out] EXCEPINFO *pexcepinfo + ); +} + +cpp_quote("#ifdef _WIN64") +cpp_quote("#define IActiveScriptParse IActiveScriptParse64") +cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse64") +cpp_quote("#else") +cpp_quote("#define IActiveScriptParse IActiveScriptParse32") +cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse32") +cpp_quote("#endif") + +cpp_quote("typedef IActiveScriptParse *PIActiveScriptParse;") + +[ +object, +uuid(1CFF0050-6FDD-11d0-9328-00A0C90DCAA9), +pointer_default(unique) +] +interface IActiveScriptParseProcedureOld32 : IUnknown +{ + HRESULT ParseProcedureText( + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrFormalParams, + [in] LPCOLESTR pstrItemName, + [in] IUnknown *punkContext, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] IDispatch **ppdisp + ); +} + +[ + object, + uuid(21f57128-08c9-4638-ba12-22d15d88dc5c), + pointer_default(unique) +] +interface IActiveScriptParseProcedureOld64 : IUnknown +{ + HRESULT ParseProcedureText( + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrFormalParams, + [in] LPCOLESTR pstrItemName, + [in] IUnknown *punkContext, + [in] LPCOLESTR pstrDelimiter, + [in] DWORDLONG dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] IDispatch **ppdisp + ); +} + +cpp_quote("#ifdef _WIN64") +cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64") +cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64") +cpp_quote("#else") +cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32") +cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32") +cpp_quote("#endif") + +[ +object, +uuid(AA5B6A80-B834-11d0-932F-00A0C90DCAA9), +pointer_default(unique) +] +interface IActiveScriptParseProcedure32 : IUnknown +{ + HRESULT ParseProcedureText( + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrFormalParams, + [in] LPCOLESTR pstrProcedureName, + [in] LPCOLESTR pstrItemName, + [in] IUnknown *punkContext, + [in] LPCOLESTR pstrDelimiter, + [in] DWORD dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] IDispatch **ppdisp + ); +} + +[ + object, + uuid(c64713b6-e029-4cc5-9200-438b72890b6a), + pointer_default(unique) +] +interface IActiveScriptParseProcedure64 : IUnknown +{ + HRESULT ParseProcedureText( + [in] LPCOLESTR pstrCode, + [in] LPCOLESTR pstrFormalParams, + [in] LPCOLESTR pstrProcedureName, + [in] LPCOLESTR pstrItemName, + [in] IUnknown *punkContext, + [in] LPCOLESTR pstrDelimiter, + [in] DWORDLONG dwSourceContextCookie, + [in] ULONG ulStartingLineNumber, + [in] DWORD dwFlags, + [out] IDispatch **ppdisp + ); +} + +cpp_quote("#ifdef _WIN64") +cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure64") +cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64") +cpp_quote("#else") +cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure32") +cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32") +cpp_quote("#endif") + +[ + object, + uuid(71ee5b20-fb04-11d1-b3a8-00a0c911e8b2), + pointer_default(unique) +] +interface IActiveScriptParseProcedure2_32 : IActiveScriptParseProcedure32 +{ +} + +[ + object, + uuid(fe7c4271-210c-448d-9f54-76dab7047b28), + pointer_default(unique) +] +interface IActiveScriptParseProcedure2_64 : IActiveScriptParseProcedure64 +{ +} + +cpp_quote("#ifdef _WIN64") +cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64") +cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64") +cpp_quote("#else") +cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32") +cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32") +cpp_quote("#endif") + +[ +object, +uuid(63CDBCB0-C1B1-11d0-9336-00A0C90DCAA9), +pointer_default(unique) +] +interface IBindEventHandler : IUnknown +{ + HRESULT BindHandler( + [in] LPCOLESTR pstrEvent, + [in] IDispatch *pdisp + ); +} + +[ +object, +uuid(B8DA6310-E19B-11d0-933C-00A0C90DCAA9), +pointer_default(unique) +] +interface IActiveScriptStats : IUnknown +{ + HRESULT GetStat( + [in] DWORD stid, + [out] ULONG *pluHi, + [out] ULONG *pluLo + ); + + HRESULT GetStatEx( + [in] REFGUID guid, + [out] ULONG *pluHi, + [out] ULONG *pluLo + ); + + HRESULT ResetStats(void); +} + +[ + object, + uuid(4954e0d0-fbc7-11d1-8410-006008c3fbfc), + pointer_default(unique) +] +interface IActiveScriptProperty : IUnknown +{ + HRESULT GetProperty( + [in] DWORD dwProperty, + [in] VARIANT *pvarIndex, + [out] VARIANT *pvarValue); + + HRESULT SetProperty( + [in] DWORD dwProperty, + [in] VARIANT *pvarIndex, + [in] VARIANT *pvarValue); +} + +[ + object, + uuid(6aa2c4a0-2b53-11d4-a2a0-00104bd35090), + pointer_default(unique) +] +interface IActiveScriptGarbageCollector : IUnknown +{ + HRESULT CollectGarbage( + [in] SCRIPTGCTYPE gctype); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/adshlp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/adshlp.h new file mode 100644 index 0000000..a574e50 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/adshlp.h @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2005 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ADSHLP_H +#define __WINE_ADSHLP_H + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI ADsBuildEnumerator(IADsContainer*,IEnumVARIANT**); +HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT*,ULONG,VARIANT*,ULONG*); +HRESULT WINAPI ADsGetObject(LPCWSTR,REFIID,VOID**); +HRESULT WINAPI ADsOpenObject(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,REFIID,VOID**); +BOOL WINAPI FreeADsMem(LPVOID); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/advpub.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/advpub.h new file mode 100644 index 0000000..7823e0a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/advpub.h @@ -0,0 +1,284 @@ +/* + * Copyright 2004 Huw D M Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_ADVPUB_H +#define __WINE_ADVPUB_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef S_ASYNCHRONOUS +#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8) +#endif + +typedef struct _CabInfoA +{ + LPSTR pszCab; + LPSTR pszInf; + LPSTR pszSection; + CHAR szSrcPath[MAX_PATH]; + DWORD dwFlags; +} CABINFOA, *PCABINFOA; + +typedef struct _CabInfoW +{ + LPWSTR pszCab; + LPWSTR pszInf; + LPWSTR pszSection; + WCHAR szSrcPath[MAX_PATH]; + DWORD dwFlags; +} CABINFOW, *PCABINFOW; + +DECL_WINELIB_TYPE_AW(CABINFO) +DECL_WINELIB_TYPE_AW(PCABINFO) + +typedef struct _PERUSERSECTIONA +{ + CHAR szGUID[39 /*MAX_GUID_STRING_LEN*/ + 20]; + CHAR szDispName[128]; + CHAR szLocale[10]; + CHAR szStub[MAX_PATH * 4]; + CHAR szVersion[32]; + CHAR szCompID[128]; + DWORD dwIsInstalled; + BOOL bRollback; +} PERUSERSECTIONA, *PPERUSERSECTIONA; + +typedef struct _PERUSERSECTIONW +{ + WCHAR szGUID[39 /*MAX_GUID_STRING_LEN*/ + 20]; + WCHAR szDispName[128]; + WCHAR szLocale[10]; + WCHAR szStub[MAX_PATH * 4]; + WCHAR szVersion[32]; + WCHAR szCompID[128]; + DWORD dwIsInstalled; + BOOL bRollback; +} PERUSERSECTIONW, *PPERUSERSECTIONW; + +DECL_WINELIB_TYPE_AW(PERUSERSECTION) +DECL_WINELIB_TYPE_AW(PPERUSERSECTION) + +typedef struct _StrEntryA +{ + LPSTR pszName; + LPSTR pszValue; +} STRENTRYA, *LPSTRENTRYA; + +typedef struct _StrEntryW +{ + LPWSTR pszName; + LPWSTR pszValue; +} STRENTRYW, *LPSTRENTRYW; + +DECL_WINELIB_TYPE_AW(STRENTRY) +DECL_WINELIB_TYPE_AW(LPSTRENTRY) + +typedef struct _StrTableA +{ + DWORD cEntries; + STRENTRYA* pse; +} STRTABLEA, *LPSTRTABLEA; +typedef const STRTABLEA CSTRTABLEA, *LPCSTRTABLEA; + +typedef struct _StrTableW +{ + DWORD cEntries; + STRENTRYW* pse; +} STRTABLEW, *LPSTRTABLEW; +typedef const STRTABLEW CSTRTABLEW, *LPCSTRTABLEW; + +DECL_WINELIB_TYPE_AW(STRTABLE) +DECL_WINELIB_TYPE_AW(CSTRTABLE) +DECL_WINELIB_TYPE_AW(LPSTRTABLE) +DECL_WINELIB_TYPE_AW(LPCSTRTABLE) + +/* Flags for AddDelBackupEntry */ +#define AADBE_ADD_ENTRY 0x01 +#define AADBE_DEL_ENTRY 0x02 + +/* Flags for AdvInstallFile */ +#define AIF_WARNIFSKIP 0x00000001 +#define AIF_NOSKIP 0x00000002 +#define AIF_NOVERSIONCHECK 0x00000004 +#define AIF_FORCE_FILE_IN_USE 0x00000008 +#define AIF_NOOVERWRITE 0x00000010 +#define AIF_NO_VERSION_DIALOG 0x00000020 +#define AIF_REPLACEONLY 0x00000400 +#define AIF_NOLANGUAGECHECK 0x10000000 +#define AIF_QUIET 0x20000000 + +/* Flags for RunSetupCommand */ +#define RSC_FLAG_INF 0x00000001 +#define RSC_FLAG_SKIPDISKSPACECHECK 0x00000002 +#define RSC_FLAG_QUIET 0x00000004 +#define RSC_FLAG_NGCONV 0x00000008 +#define RSC_FLAG_UPDHLPDLLS 0x00000010 +#define RSC_FLAG_DELAYREGISTEROCX 0x00000200 +#define RSC_FLAG_SETUPAPI 0x00000400 + +/* Flags for LaunchINFSection */ +#define LIS_QUIET 0x00000001 +#define LIS_NOGRPCONV 0x00000002 + +/* Flags for DelNode */ +#define ADN_DEL_IF_EMPTY 0x00000001 +#define ADN_DONT_DEL_SUBDIRS 0x00000002 +#define ADN_DONT_DEL_DIR 0x00000004 +#define ADN_DEL_UNC_PATHS 0x00000008 + +/* Flags for RegRestoreAll, RegSaveRestore, RegSaveRestoreOnINF */ +#define IE4_RESTORE 0x00000001 +#define IE4_BACKNEW 0x00000002 +#define IE4_NODELETENEW 0x00000004 +#define IE4_NOMESSAGES 0x00000008 +#define IE4_NOPROGRESS 0x00000010 +#define IE4_NOENUMKEY 0x00000020 +#define IE4_NO_CRC_MAPPING 0x00000040 +#define IE4_REGSECTION 0x00000080 +#define IE4_FRDOALL 0x00000100 +#define IE4_UPDREFCNT 0x00000200 +#define IE4_USEREFCNT 0x00000400 +#define IE4_EXTRAINCREFCNT 0x00000800 + +/* Flags for file save and restore functions */ +#define AFSR_RESTORE IE4_RESTORE +#define AFSR_BACKNEW IE4_BACKNEW +#define AFSR_NODELETENEW IE4_NODELETENEW +#define AFSR_NOMESSAGES IE4_NOMESSAGES +#define AFSR_NOPROGRESS IE4_NOPROGRESS +#define AFSR_UPDREFCNT IE4_UPDREFCNT +#define AFSR_USEREFCNT IE4_USEREFCNT +#define AFSR_EXTRAINCREFCNT IE4_EXTRAINCREFCNT + +HRESULT WINAPI AddDelBackupEntryA(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir, + LPCSTR lpcszBaseName, DWORD dwFlags); +HRESULT WINAPI AddDelBackupEntryW(LPCWSTR lpcszFileList, LPCWSTR lpcszBackupDir, + LPCWSTR lpcszBaseName, DWORD dwFlags); +#define AddDelBackupEntry WINELIB_NAME_AW(AddDelBackupEntry) +HRESULT WINAPI AdvInstallFileA(HWND hwnd, LPCSTR lpszSourceDir, + LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile, + DWORD dwFlags, DWORD dwReserved); +HRESULT WINAPI AdvInstallFileW(HWND hwnd, LPCWSTR lpszSourceDir, + LPCWSTR lpszSourceFile, LPCWSTR lpszDestDir, LPCWSTR lpszDestFile, + DWORD dwFlags, DWORD dwReserved); +#define AdvInstallFile WINELIB_NAME_AW(AdvInstallFile) +HRESULT WINAPI CloseINFEngine(HINF hInf); +HRESULT WINAPI DelNodeA(LPCSTR pszFileOrDirName, DWORD dwFlags); +HRESULT WINAPI DelNodeW(LPCWSTR pszFileOrDirName, DWORD dwFlags); +#define DelNode WINELIB_NAME_AW(DelNode) +HRESULT WINAPI DelNodeRunDLL32A(HWND,HINSTANCE,LPSTR,INT); +HRESULT WINAPI DelNodeRunDLL32W(HWND,HINSTANCE,LPWSTR,INT); +#define DelNodeRunDLL32 WINELIB_NAME_AW(DelNodeRunDLL32) +HRESULT WINAPI ExecuteCabA( HWND hwnd, CABINFOA* pCab, LPVOID pReserved ); +HRESULT WINAPI ExecuteCabW( HWND hwnd, CABINFOW* pCab, LPVOID pReserved ); +#define ExecuteCab WINELIB_NAME_AW(ExecuteCab) +HRESULT WINAPI ExtractFilesA(LPCSTR,LPCSTR,DWORD,LPCSTR,LPVOID,DWORD); +HRESULT WINAPI ExtractFilesW(LPCWSTR,LPCWSTR,DWORD,LPCWSTR,LPVOID,DWORD); +#define ExtractFiles WINELIB_NAME_AW(ExtractFiles) +HRESULT WINAPI FileSaveMarkNotExistA(LPSTR pszFileList, LPSTR pszDir, LPSTR pszBaseName); +HRESULT WINAPI FileSaveMarkNotExistW(LPWSTR pszFileList, LPWSTR pszDir, LPWSTR pszBaseName); +#define FileSaveMarkNotExist WINELIB_NAME_AW(FileSaveMarkNotExist) +HRESULT WINAPI FileSaveRestoreA(HWND hDlg, LPSTR pszFileList, LPSTR pszDir, + LPSTR pszBaseName, DWORD dwFlags); +HRESULT WINAPI FileSaveRestoreW(HWND hDlg, LPWSTR pszFileList, LPWSTR pszDir, + LPWSTR pszBaseName, DWORD dwFlags); +#define FileSaveRestore WINELIB_NAME_AW(FileSaveRestore) +HRESULT WINAPI FileSaveRestoreOnINFA(HWND hWnd, LPCSTR pszTitle, LPCSTR pszINF, + LPCSTR pszSection, LPCSTR pszBackupDir, LPCSTR pszBaseBackupFile, DWORD dwFlags); +HRESULT WINAPI FileSaveRestoreOnINFW(HWND hWnd, LPCWSTR pszTitle, LPCWSTR pszINF, + LPCWSTR pszSection, LPCWSTR pszBackupDir, LPCWSTR pszBaseBackupFile, DWORD dwFlags); +#define FileSaveRestoreOnINF WINELIB_NAME_AW(FileSaveRestoreOnINF) +HRESULT WINAPI GetVersionFromFileA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion); +HRESULT WINAPI GetVersionFromFileW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion); +#define GetVersionFromFile WINELIB_NAME_AW(GetVersionFromFile) +HRESULT WINAPI GetVersionFromFileExA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion); +HRESULT WINAPI GetVersionFromFileExW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion); +#define GetVersionFromFileEx WINELIB_NAME_AW(GetVersionFromFileEx) +BOOL WINAPI IsNTAdmin(DWORD,LPDWORD); +INT WINAPI LaunchINFSectionA(HWND,HINSTANCE,LPSTR,INT); +INT WINAPI LaunchINFSectionW(HWND,HINSTANCE,LPWSTR,INT); +#define LaunchINFSection WINELIB_NAME_AW(LaunchINFSection) +HRESULT WINAPI LaunchINFSectionExA(HWND,HINSTANCE,LPSTR,INT); +HRESULT WINAPI LaunchINFSectionExW(HWND,HINSTANCE,LPWSTR,INT); +#define LaunchINFSectionEx WINELIB_NAME_AW(LaunchINFSectionEx) +DWORD WINAPI NeedRebootInit(VOID); +BOOL WINAPI NeedReboot(DWORD dwRebootCheck); +HRESULT WINAPI OpenINFEngineA(LPCSTR pszInfFilename, LPCSTR pszInstallSection, + DWORD dwFlags, HINF *phInf, PVOID pvReserved); +HRESULT WINAPI OpenINFEngineW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection, + DWORD dwFlags, HINF *phInf, PVOID pvReserved); +#define OpenINFEngine WINELIB_NAME_AW(OpenINFEngine) +HRESULT WINAPI RebootCheckOnInstallA(HWND hWnd, LPCSTR pszINF, LPCSTR pszSec, DWORD dwReserved); +HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF, LPCWSTR pszSec, DWORD dwReserved); +#define RebootCheckOnInstall WINELIB_NAME_AW(RebootCheckOnInstall) +HRESULT WINAPI RegInstallA(HMODULE hm, LPCSTR pszSection, const STRTABLEA* pstTable); +HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstTable); +#define RegInstall WINELIB_NAME_AW(RegInstall) +HRESULT WINAPI RegRestoreAllA(HWND hWnd, LPSTR pszTitleString, HKEY hkBackupKey); +HRESULT WINAPI RegRestoreAllW(HWND hWnd, LPWSTR pszTitleString, HKEY hkBackupKey); +#define RegRestoreAll WINELIB_NAME_AW(RegRestoreAll) +HRESULT WINAPI RegSaveRestoreA(HWND hWnd, LPCSTR pszTitleString, HKEY hkBackupKey, + LPCSTR pcszRootKey, LPCSTR pcszSubKey, LPCSTR pcszValueName, DWORD dwFlags); +HRESULT WINAPI RegSaveRestoreW(HWND hWnd, LPCWSTR pszTitleString, HKEY hkBackupKey, + LPCWSTR pcszRootKey, LPCWSTR pcszSubKey, LPCWSTR pcszValueName, DWORD dwFlags); +#define RegSaveRestore WINELIB_NAME_AW(RegSaveRestore) +HRESULT WINAPI RegSaveRestoreOnINFA(HWND hWnd, LPCSTR pszTitle, LPCSTR pszINF, + LPCSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags); +HRESULT WINAPI RegSaveRestoreOnINFW(HWND hWnd, LPCWSTR pszTitle, LPCWSTR pszINF, + LPCWSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags); +#define RegSaveRestoreOnINF WINELIB_NAME_AW(RegSaveRestoreOnINF) +HRESULT WINAPI RunSetupCommandA(HWND hWnd, + LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle, + HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved); +HRESULT WINAPI RunSetupCommandW(HWND hWnd, + LPCWSTR szCmdName, LPCWSTR szInfSection, LPCWSTR szDir, LPCWSTR lpszTitle, + HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved); +#define RunSetupCommand WINELIB_NAME_AW(RunSetupCommand) +HRESULT WINAPI SetPerUserSecValuesA(PERUSERSECTIONA* pPerUser); +HRESULT WINAPI SetPerUserSecValuesW(PERUSERSECTIONW* pPerUser); +#define SetPerUserSecValues WINELIB_NAME_AW(SetPerUserSecValues) +HRESULT WINAPI TranslateInfStringA(LPCSTR pszInfFilename, LPCSTR pszInstallSection, + LPCSTR pszTranslateSection, LPCSTR pszTranslateKey, LPSTR pszBuffer, + DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved); +HRESULT WINAPI TranslateInfStringW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection, + LPCWSTR pszTranslateSection, LPCWSTR pszTranslateKey, LPWSTR pszBuffer, + DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved); +#define TranslateInfString WINELIB_NAME_AW(TranslateInfString) +HRESULT WINAPI TranslateInfStringExA(HINF hInf, LPCSTR pszInfFilename, + LPCSTR pszTranslateSection, LPCSTR pszTranslateKey, LPSTR pszBuffer, + DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved); +HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename, + LPCWSTR pszTranslateSection, LPCWSTR pszTranslateKey, LPWSTR pszBuffer, + DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved); +#define TranslateInfStringEx WINELIB_NAME_AW(TranslateInfStringEx) +HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance, LPSTR pszParms, INT nShow); +HRESULT WINAPI UserInstStubWrapperW(HWND hWnd, HINSTANCE hInstance, LPWSTR pszParms, INT nShow); +#define UserInstStubWrapper WINELIB_NAME_AW(UserInstStubWrapper) +HRESULT WINAPI UserUnInstStubWrapperA(HWND hWnd, HINSTANCE hInstance, LPSTR pszParms, INT nShow); +HRESULT WINAPI UserUnInstStubWrapperW(HWND hWnd, HINSTANCE hInstance, LPWSTR pszParms, INT nShow); +#define UserUnInstStubWrapper WINELIB_NAME_AW(UserUnInstStubWrapper) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ADVPUB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/af_irda.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/af_irda.h new file mode 100644 index 0000000..3be5b39 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/af_irda.h @@ -0,0 +1,100 @@ +/* + * Copyright 2009 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef AF_IRDA_H +#define AF_IRDA_H + +typedef struct _IRDA_DEVICE_INFO +{ + UCHAR irdaDeviceID[4]; + char irdaDeviceName[22]; + UCHAR irdaDeviceHints1; + UCHAR irdaDeviceHints2; + UCHAR irdaCharSet; +} IRDA_DEVICE_INFO, *PIRDA_DEVICE_INFO; + +typedef struct _DEVICELIST +{ + ULONG numDevice; + IRDA_DEVICE_INFO Device[1]; +} DEVICELIST, *PDEVICELIST; + +typedef struct _SOCKADDR_IRDA +{ + USHORT irdaAddressFamily; + UCHAR irdaDeviceID[4]; + char irdaServiceName[25]; +} SOCKADDR_IRDA, *PSOCKADDR_IRDA, *LPSOCKADDR_IRDA; + +#ifdef USE_WS_PREFIX + +/* Socket levels and options */ +#define WS_SOL_IRLMP 0xff + +#define WS_IRLMP_ENUMDEVICES ((ULONG)0x10) +#define WS_IRLMP_IAS_SET ((ULONG)0x11) +#define WS_IRLMP_IAS_QUERY ((ULONG)0x12) +#define WS_IRLMP_SEND_PDU_LEN ((ULONG)0x13) +#define WS_IRLMP_EXCLUSIVE_MODE ((ULONG)0x14) +#define WS_IRLMP_IRLPT_MODE ((ULONG)0x15) +#define WS_IRLMP_9WIRE_MODE ((ULONG)0x16) +#define WS_IRLMP_TINYTP_MODE ((ULONG)0x17) +#define WS_IRLMP_PARAMETERS ((ULONG)0x18) +#define WS_IRLMP_DISCOVER_MODE ((ULONG)0x19) +#define WS_IRLMP_SHARP_MODE ((ULONG)0x20) + +#define WS_IAS_MAX_CLASSNAME 64 +#define WS_IAS_MAX_ATTRIBNAME 256 + +#else + +/* Socket levels and options */ +#define SOL_IRLMP 0xff + +#define IRLMP_ENUMDEVICES ((ULONG)0x10) +#define IRLMP_IAS_SET ((ULONG)0x11) +#define IRLMP_IAS_QUERY ((ULONG)0x12) +#define IRLMP_SEND_PDU_LEN ((ULONG)0x13) +#define IRLMP_EXCLUSIVE_MODE ((ULONG)0x14) +#define IRLMP_IRLPT_MODE ((ULONG)0x15) +#define IRLMP_9WIRE_MODE ((ULONG)0x16) +#define IRLMP_TINYTP_MODE ((ULONG)0x17) +#define IRLMP_PARAMETERS ((ULONG)0x18) +#define IRLMP_DISCOVER_MODE ((ULONG)0x19) +#define IRLMP_SHARP_MODE ((ULONG)0x20) + +#define IAS_MAX_CLASSNAME 64 +#define IAS_MAX_ATTRIBNAME 256 + +#endif + +#define IAS_MAX_OCTET_STRING 1024 +#define IAS_MAX_USER_STRING 256 + +#define LmCharSetASCII 0x00 +#define LmCharSetISO_8859_1 0x01 +#define LmCharSetISO_8859_2 0x02 +#define LmCharSetISO_8859_3 0x03 +#define LmCharSetISO_8859_4 0x04 +#define LmCharSetISO_8859_5 0x05 +#define LmCharSetISO_8859_6 0x06 +#define LmCharSetISO_8859_7 0x07 +#define LmCharSetISO_8859_8 0x08 +#define LmCharSetISO_8859_9 0x09 +#define LmCharSetUNICODE 0xff + +#endif /* AF_IRDA_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amaudio.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amaudio.h new file mode 100644 index 0000000..e684821 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amaudio.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2010 Maarten Lankhorst for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __AMAUDIO__ +#define __AMAUDIO__ + +#include +#include + +#undef INTERFACE +#define INTERFACE IAMDirectSound + +DECLARE_INTERFACE_(IAMDirectSound,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + + /*** IAMDirectSound methods ***/ + STDMETHOD(GetDirectSoundInterface)(THIS_ IDirectSound **ds) PURE; + STDMETHOD(GetPrimaryBufferInterface)(THIS_ IDirectSoundBuffer **buf) PURE; + STDMETHOD(GetSecondaryBufferInterface)(THIS_ IDirectSoundBuffer **buf) PURE; + STDMETHOD(ReleaseDirectSoundInterface)(THIS_ IDirectSound *ds) PURE; + STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE; + STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE; + STDMETHOD(SetFocusWindow)(THIS_ HWND hwnd, BOOL bgaudible) PURE; + STDMETHOD(GetFocusWindow)(THIS_ HWND *hwnd, BOOL *bgaudible) PURE; +}; +#undef INTERFACE + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amstream.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amstream.h new file mode 100644 index 0000000..98bf5ae --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amstream.h @@ -0,0 +1,1756 @@ +/*** Autogenerated by WIDL 2.18 from amstream.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __amstream_h__ +#define __amstream_h__ + +/* Forward declarations */ + +#ifndef __IDirectShowStream_FWD_DEFINED__ +#define __IDirectShowStream_FWD_DEFINED__ +typedef interface IDirectShowStream IDirectShowStream; +#ifdef __cplusplus +interface IDirectShowStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMultiMediaStream_FWD_DEFINED__ +#define __IAMMultiMediaStream_FWD_DEFINED__ +typedef interface IAMMultiMediaStream IAMMultiMediaStream; +#ifdef __cplusplus +interface IAMMultiMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMediaStream_FWD_DEFINED__ +#define __IAMMediaStream_FWD_DEFINED__ +typedef interface IAMMediaStream IAMMediaStream; +#ifdef __cplusplus +interface IAMMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaStreamFilter_FWD_DEFINED__ +#define __IMediaStreamFilter_FWD_DEFINED__ +typedef interface IMediaStreamFilter IMediaStreamFilter; +#ifdef __cplusplus +interface IMediaStreamFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawMediaSampleAllocator_FWD_DEFINED__ +#define __IDirectDrawMediaSampleAllocator_FWD_DEFINED__ +typedef interface IDirectDrawMediaSampleAllocator IDirectDrawMediaSampleAllocator; +#ifdef __cplusplus +interface IDirectDrawMediaSampleAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawMediaSample_FWD_DEFINED__ +#define __IDirectDrawMediaSample_FWD_DEFINED__ +typedef interface IDirectDrawMediaSample IDirectDrawMediaSample; +#ifdef __cplusplus +interface IDirectDrawMediaSample; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMediaTypeStream_FWD_DEFINED__ +#define __IAMMediaTypeStream_FWD_DEFINED__ +typedef interface IAMMediaTypeStream IAMMediaTypeStream; +#ifdef __cplusplus +interface IAMMediaTypeStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMediaTypeSample_FWD_DEFINED__ +#define __IAMMediaTypeSample_FWD_DEFINED__ +typedef interface IAMMediaTypeSample IAMMediaTypeSample; +#ifdef __cplusplus +interface IAMMediaTypeSample; +#endif /* __cplusplus */ +#endif + +#ifndef __AMMultiMediaStream_FWD_DEFINED__ +#define __AMMultiMediaStream_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AMMultiMediaStream AMMultiMediaStream; +#else +typedef struct AMMultiMediaStream AMMultiMediaStream; +#endif /* defined __cplusplus */ +#endif /* defined __AMMultiMediaStream_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include +#include +#include +#if 0 +#ifndef __IDirectDraw_FWD_DEFINED__ +#define __IDirectDraw_FWD_DEFINED__ +typedef interface IDirectDraw IDirectDraw; +#ifdef __cplusplus +interface IDirectDraw; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawSurface_FWD_DEFINED__ +#define __IDirectDrawSurface_FWD_DEFINED__ +typedef interface IDirectDrawSurface IDirectDrawSurface; +#ifdef __cplusplus +interface IDirectDrawSurface; +#endif /* __cplusplus */ +#endif + +#endif +#ifndef __IAMMultiMediaStream_FWD_DEFINED__ +#define __IAMMultiMediaStream_FWD_DEFINED__ +typedef interface IAMMultiMediaStream IAMMultiMediaStream; +#ifdef __cplusplus +interface IAMMultiMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMediaStream_FWD_DEFINED__ +#define __IAMMediaStream_FWD_DEFINED__ +typedef interface IAMMediaStream IAMMediaStream; +#ifdef __cplusplus +interface IAMMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaStreamFilter_FWD_DEFINED__ +#define __IMediaStreamFilter_FWD_DEFINED__ +typedef interface IMediaStreamFilter IMediaStreamFilter; +#ifdef __cplusplus +interface IMediaStreamFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMediaTypeStream_FWD_DEFINED__ +#define __IAMMediaTypeStream_FWD_DEFINED__ +typedef interface IAMMediaTypeStream IAMMediaTypeStream; +#ifdef __cplusplus +interface IAMMediaTypeStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMMediaTypeSample_FWD_DEFINED__ +#define __IAMMediaTypeSample_FWD_DEFINED__ +typedef interface IAMMediaTypeSample IAMMediaTypeSample; +#ifdef __cplusplus +interface IAMMediaTypeSample; +#endif /* __cplusplus */ +#endif + +enum { + AMMSF_NOGRAPHTHREAD = 0x1 +}; +enum { + AMMSF_ADDDEFAULTRENDERER = 0x1, + AMMSF_CREATEPEER = 0x2, + AMMSF_STOPIFNOSAMPLES = 0x4, + AMMSF_NOSTALL = 0x8 +}; +enum { + AMMSF_RENDERTYPEMASK = 0x3, + AMMSF_RENDERTOEXISTING = 0x0, + AMMSF_RENDERALLSTREAMS = 0x1, + AMMSF_NORENDER = 0x2, + AMMSF_NOCLOCK = 0x4, + AMMSF_RUN = 0x8 +}; +typedef enum __WIDL_amstream_generated_name_0000000D { + Disabled = 0, + ReadData = 1, + RenderData = 2 +} OUTPUT_STATE; +/***************************************************************************** + * IDirectShowStream interface + */ +#ifndef __IDirectShowStream_INTERFACE_DEFINED__ +#define __IDirectShowStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectShowStream, 0x7db01c96, 0xc0c3, 0x11d0, 0x8f,0xf1, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7db01c96-c0c3-11d0-8ff1-00c04fd9189d") +IDirectShowStream : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_FileName( + BSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FileName( + BSTR newVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Video( + OUTPUT_STATE *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Video( + OUTPUT_STATE newVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Audio( + OUTPUT_STATE *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Audio( + OUTPUT_STATE newVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectShowStream, 0x7db01c96, 0xc0c3, 0x11d0, 0x8f,0xf1, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IDirectShowStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectShowStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectShowStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectShowStream *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDirectShowStream *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDirectShowStream *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDirectShowStream *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDirectShowStream *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDirectShowStream methods ***/ + HRESULT (STDMETHODCALLTYPE *get_FileName)( + IDirectShowStream *This, + BSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *put_FileName)( + IDirectShowStream *This, + BSTR newVal); + + HRESULT (STDMETHODCALLTYPE *get_Video)( + IDirectShowStream *This, + OUTPUT_STATE *pVal); + + HRESULT (STDMETHODCALLTYPE *put_Video)( + IDirectShowStream *This, + OUTPUT_STATE newVal); + + HRESULT (STDMETHODCALLTYPE *get_Audio)( + IDirectShowStream *This, + OUTPUT_STATE *pVal); + + HRESULT (STDMETHODCALLTYPE *put_Audio)( + IDirectShowStream *This, + OUTPUT_STATE newVal); + + END_INTERFACE +} IDirectShowStreamVtbl; + +interface IDirectShowStream { + CONST_VTBL IDirectShowStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectShowStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectShowStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectShowStream_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDirectShowStream_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDirectShowStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDirectShowStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDirectShowStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDirectShowStream methods ***/ +#define IDirectShowStream_get_FileName(This,pVal) (This)->lpVtbl->get_FileName(This,pVal) +#define IDirectShowStream_put_FileName(This,newVal) (This)->lpVtbl->put_FileName(This,newVal) +#define IDirectShowStream_get_Video(This,pVal) (This)->lpVtbl->get_Video(This,pVal) +#define IDirectShowStream_put_Video(This,newVal) (This)->lpVtbl->put_Video(This,newVal) +#define IDirectShowStream_get_Audio(This,pVal) (This)->lpVtbl->get_Audio(This,pVal) +#define IDirectShowStream_put_Audio(This,newVal) (This)->lpVtbl->put_Audio(This,newVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectShowStream_QueryInterface(IDirectShowStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectShowStream_AddRef(IDirectShowStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectShowStream_Release(IDirectShowStream* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDirectShowStream_GetTypeInfoCount(IDirectShowStream* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDirectShowStream_GetTypeInfo(IDirectShowStream* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDirectShowStream_GetIDsOfNames(IDirectShowStream* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDirectShowStream_Invoke(IDirectShowStream* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDirectShowStream methods ***/ +static FORCEINLINE HRESULT IDirectShowStream_get_FileName(IDirectShowStream* This,BSTR *pVal) { + return This->lpVtbl->get_FileName(This,pVal); +} +static FORCEINLINE HRESULT IDirectShowStream_put_FileName(IDirectShowStream* This,BSTR newVal) { + return This->lpVtbl->put_FileName(This,newVal); +} +static FORCEINLINE HRESULT IDirectShowStream_get_Video(IDirectShowStream* This,OUTPUT_STATE *pVal) { + return This->lpVtbl->get_Video(This,pVal); +} +static FORCEINLINE HRESULT IDirectShowStream_put_Video(IDirectShowStream* This,OUTPUT_STATE newVal) { + return This->lpVtbl->put_Video(This,newVal); +} +static FORCEINLINE HRESULT IDirectShowStream_get_Audio(IDirectShowStream* This,OUTPUT_STATE *pVal) { + return This->lpVtbl->get_Audio(This,pVal); +} +static FORCEINLINE HRESULT IDirectShowStream_put_Audio(IDirectShowStream* This,OUTPUT_STATE newVal) { + return This->lpVtbl->put_Audio(This,newVal); +} +#endif +#endif + +#endif + + +#endif /* __IDirectShowStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMMultiMediaStream interface + */ +#ifndef __IAMMultiMediaStream_INTERFACE_DEFINED__ +#define __IAMMultiMediaStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMMultiMediaStream, 0xbebe595c, 0x9a6f, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bebe595c-9a6f-11d0-8fde-00c04fd9189d") +IAMMultiMediaStream : public IMultiMediaStream +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + STREAM_TYPE StreamType, + DWORD dwFlags, + IGraphBuilder *pFilterGraph) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilterGraph( + IGraphBuilder **ppGraphBuilder) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilter( + IMediaStreamFilter **ppFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMediaStream( + IUnknown *pStreamObject, + const MSPID *PurposeId, + DWORD dwFlags, + IMediaStream **ppNewStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenFile( + LPCWSTR pszFileName, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenMoniker( + IBindCtx *pCtx, + IMoniker *pMoniker, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Render( + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMMultiMediaStream, 0xbebe595c, 0x9a6f, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IAMMultiMediaStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMMultiMediaStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMMultiMediaStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMMultiMediaStream *This); + + /*** IMultiMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IAMMultiMediaStream *This, + DWORD *pdwFlags, + STREAM_TYPE *pStreamType); + + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IAMMultiMediaStream *This, + REFMSPID idPurpose, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *EnumMediaStreams)( + IAMMultiMediaStream *This, + LONG Index, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IAMMultiMediaStream *This, + STREAM_STATE *pCurrentState); + + HRESULT (STDMETHODCALLTYPE *SetState)( + IAMMultiMediaStream *This, + STREAM_STATE NewState); + + HRESULT (STDMETHODCALLTYPE *GetTime)( + IAMMultiMediaStream *This, + STREAM_TIME *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *GetDuration)( + IAMMultiMediaStream *This, + STREAM_TIME *pDuration); + + HRESULT (STDMETHODCALLTYPE *Seek)( + IAMMultiMediaStream *This, + STREAM_TIME SeekTime); + + HRESULT (STDMETHODCALLTYPE *GetEndOfStreamEventHandle)( + IAMMultiMediaStream *This, + HANDLE *phEOS); + + /*** IAMMultiMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IAMMultiMediaStream *This, + STREAM_TYPE StreamType, + DWORD dwFlags, + IGraphBuilder *pFilterGraph); + + HRESULT (STDMETHODCALLTYPE *GetFilterGraph)( + IAMMultiMediaStream *This, + IGraphBuilder **ppGraphBuilder); + + HRESULT (STDMETHODCALLTYPE *GetFilter)( + IAMMultiMediaStream *This, + IMediaStreamFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *AddMediaStream)( + IAMMultiMediaStream *This, + IUnknown *pStreamObject, + const MSPID *PurposeId, + DWORD dwFlags, + IMediaStream **ppNewStream); + + HRESULT (STDMETHODCALLTYPE *OpenFile)( + IAMMultiMediaStream *This, + LPCWSTR pszFileName, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *OpenMoniker)( + IAMMultiMediaStream *This, + IBindCtx *pCtx, + IMoniker *pMoniker, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Render)( + IAMMultiMediaStream *This, + DWORD dwFlags); + + END_INTERFACE +} IAMMultiMediaStreamVtbl; + +interface IAMMultiMediaStream { + CONST_VTBL IAMMultiMediaStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMMultiMediaStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMMultiMediaStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMMultiMediaStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMultiMediaStream methods ***/ +#define IAMMultiMediaStream_GetInformation(This,pdwFlags,pStreamType) (This)->lpVtbl->GetInformation(This,pdwFlags,pStreamType) +#define IAMMultiMediaStream_GetMediaStream(This,idPurpose,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,idPurpose,ppMediaStream) +#define IAMMultiMediaStream_EnumMediaStreams(This,Index,ppMediaStream) (This)->lpVtbl->EnumMediaStreams(This,Index,ppMediaStream) +#define IAMMultiMediaStream_GetState(This,pCurrentState) (This)->lpVtbl->GetState(This,pCurrentState) +#define IAMMultiMediaStream_SetState(This,NewState) (This)->lpVtbl->SetState(This,NewState) +#define IAMMultiMediaStream_GetTime(This,pCurrentTime) (This)->lpVtbl->GetTime(This,pCurrentTime) +#define IAMMultiMediaStream_GetDuration(This,pDuration) (This)->lpVtbl->GetDuration(This,pDuration) +#define IAMMultiMediaStream_Seek(This,SeekTime) (This)->lpVtbl->Seek(This,SeekTime) +#define IAMMultiMediaStream_GetEndOfStreamEventHandle(This,phEOS) (This)->lpVtbl->GetEndOfStreamEventHandle(This,phEOS) +/*** IAMMultiMediaStream methods ***/ +#define IAMMultiMediaStream_Initialize(This,StreamType,dwFlags,pFilterGraph) (This)->lpVtbl->Initialize(This,StreamType,dwFlags,pFilterGraph) +#define IAMMultiMediaStream_GetFilterGraph(This,ppGraphBuilder) (This)->lpVtbl->GetFilterGraph(This,ppGraphBuilder) +#define IAMMultiMediaStream_GetFilter(This,ppFilter) (This)->lpVtbl->GetFilter(This,ppFilter) +#define IAMMultiMediaStream_AddMediaStream(This,pStreamObject,PurposeId,dwFlags,ppNewStream) (This)->lpVtbl->AddMediaStream(This,pStreamObject,PurposeId,dwFlags,ppNewStream) +#define IAMMultiMediaStream_OpenFile(This,pszFileName,dwFlags) (This)->lpVtbl->OpenFile(This,pszFileName,dwFlags) +#define IAMMultiMediaStream_OpenMoniker(This,pCtx,pMoniker,dwFlags) (This)->lpVtbl->OpenMoniker(This,pCtx,pMoniker,dwFlags) +#define IAMMultiMediaStream_Render(This,dwFlags) (This)->lpVtbl->Render(This,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMMultiMediaStream_QueryInterface(IAMMultiMediaStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMMultiMediaStream_AddRef(IAMMultiMediaStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMMultiMediaStream_Release(IAMMultiMediaStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMultiMediaStream methods ***/ +static FORCEINLINE HRESULT IAMMultiMediaStream_GetInformation(IAMMultiMediaStream* This,DWORD *pdwFlags,STREAM_TYPE *pStreamType) { + return This->lpVtbl->GetInformation(This,pdwFlags,pStreamType); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetMediaStream(IAMMultiMediaStream* This,REFMSPID idPurpose,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,idPurpose,ppMediaStream); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_EnumMediaStreams(IAMMultiMediaStream* This,LONG Index,IMediaStream **ppMediaStream) { + return This->lpVtbl->EnumMediaStreams(This,Index,ppMediaStream); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetState(IAMMultiMediaStream* This,STREAM_STATE *pCurrentState) { + return This->lpVtbl->GetState(This,pCurrentState); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_SetState(IAMMultiMediaStream* This,STREAM_STATE NewState) { + return This->lpVtbl->SetState(This,NewState); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetTime(IAMMultiMediaStream* This,STREAM_TIME *pCurrentTime) { + return This->lpVtbl->GetTime(This,pCurrentTime); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetDuration(IAMMultiMediaStream* This,STREAM_TIME *pDuration) { + return This->lpVtbl->GetDuration(This,pDuration); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_Seek(IAMMultiMediaStream* This,STREAM_TIME SeekTime) { + return This->lpVtbl->Seek(This,SeekTime); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetEndOfStreamEventHandle(IAMMultiMediaStream* This,HANDLE *phEOS) { + return This->lpVtbl->GetEndOfStreamEventHandle(This,phEOS); +} +/*** IAMMultiMediaStream methods ***/ +static FORCEINLINE HRESULT IAMMultiMediaStream_Initialize(IAMMultiMediaStream* This,STREAM_TYPE StreamType,DWORD dwFlags,IGraphBuilder *pFilterGraph) { + return This->lpVtbl->Initialize(This,StreamType,dwFlags,pFilterGraph); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetFilterGraph(IAMMultiMediaStream* This,IGraphBuilder **ppGraphBuilder) { + return This->lpVtbl->GetFilterGraph(This,ppGraphBuilder); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_GetFilter(IAMMultiMediaStream* This,IMediaStreamFilter **ppFilter) { + return This->lpVtbl->GetFilter(This,ppFilter); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_AddMediaStream(IAMMultiMediaStream* This,IUnknown *pStreamObject,const MSPID *PurposeId,DWORD dwFlags,IMediaStream **ppNewStream) { + return This->lpVtbl->AddMediaStream(This,pStreamObject,PurposeId,dwFlags,ppNewStream); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_OpenFile(IAMMultiMediaStream* This,LPCWSTR pszFileName,DWORD dwFlags) { + return This->lpVtbl->OpenFile(This,pszFileName,dwFlags); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_OpenMoniker(IAMMultiMediaStream* This,IBindCtx *pCtx,IMoniker *pMoniker,DWORD dwFlags) { + return This->lpVtbl->OpenMoniker(This,pCtx,pMoniker,dwFlags); +} +static FORCEINLINE HRESULT IAMMultiMediaStream_Render(IAMMultiMediaStream* This,DWORD dwFlags) { + return This->lpVtbl->Render(This,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IAMMultiMediaStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMMediaStream interface + */ +#ifndef __IAMMediaStream_INTERFACE_DEFINED__ +#define __IAMMediaStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMMediaStream, 0xbebe595d, 0x9a6f, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bebe595d-9a6f-11d0-8fde-00c04fd9189d") +IAMMediaStream : public IMediaStream +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IUnknown *pSourceObject, + DWORD dwFlags, + REFMSPID PurposeId, + const STREAM_TYPE StreamType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetState( + FILTER_STATE State) = 0; + + virtual HRESULT STDMETHODCALLTYPE JoinAMMultiMediaStream( + IAMMultiMediaStream *pAMMultiMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE JoinFilter( + IMediaStreamFilter *pMediaStreamFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE JoinFilterGraph( + IFilterGraph *pFilterGraph) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMMediaStream, 0xbebe595d, 0x9a6f, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IAMMediaStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMMediaStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMMediaStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMMediaStream *This); + + /*** IMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)( + IAMMediaStream *This, + IMultiMediaStream **ppMultiMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IAMMediaStream *This, + MSPID *pPurposeId, + STREAM_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *SetSameFormat)( + IAMMediaStream *This, + IMediaStream *pStreamThatHasDesiredFormat, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *AllocateSample)( + IAMMediaStream *This, + DWORD dwFlags, + IStreamSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *CreateSharedSample)( + IAMMediaStream *This, + IStreamSample *pExistingSample, + DWORD dwFlags, + IStreamSample **ppNewSample); + + HRESULT (STDMETHODCALLTYPE *SendEndOfStream)( + IAMMediaStream *This, + DWORD dwFlags); + + /*** IAMMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IAMMediaStream *This, + IUnknown *pSourceObject, + DWORD dwFlags, + REFMSPID PurposeId, + const STREAM_TYPE StreamType); + + HRESULT (STDMETHODCALLTYPE *SetState)( + IAMMediaStream *This, + FILTER_STATE State); + + HRESULT (STDMETHODCALLTYPE *JoinAMMultiMediaStream)( + IAMMediaStream *This, + IAMMultiMediaStream *pAMMultiMediaStream); + + HRESULT (STDMETHODCALLTYPE *JoinFilter)( + IAMMediaStream *This, + IMediaStreamFilter *pMediaStreamFilter); + + HRESULT (STDMETHODCALLTYPE *JoinFilterGraph)( + IAMMediaStream *This, + IFilterGraph *pFilterGraph); + + END_INTERFACE +} IAMMediaStreamVtbl; + +interface IAMMediaStream { + CONST_VTBL IAMMediaStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMMediaStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMMediaStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMMediaStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaStream methods ***/ +#define IAMMediaStream_GetMultiMediaStream(This,ppMultiMediaStream) (This)->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream) +#define IAMMediaStream_GetInformation(This,pPurposeId,pType) (This)->lpVtbl->GetInformation(This,pPurposeId,pType) +#define IAMMediaStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) (This)->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) +#define IAMMediaStream_AllocateSample(This,dwFlags,ppSample) (This)->lpVtbl->AllocateSample(This,dwFlags,ppSample) +#define IAMMediaStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) (This)->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) +#define IAMMediaStream_SendEndOfStream(This,dwFlags) (This)->lpVtbl->SendEndOfStream(This,dwFlags) +/*** IAMMediaStream methods ***/ +#define IAMMediaStream_Initialize(This,pSourceObject,dwFlags,PurposeId,StreamType) (This)->lpVtbl->Initialize(This,pSourceObject,dwFlags,PurposeId,StreamType) +#define IAMMediaStream_SetState(This,State) (This)->lpVtbl->SetState(This,State) +#define IAMMediaStream_JoinAMMultiMediaStream(This,pAMMultiMediaStream) (This)->lpVtbl->JoinAMMultiMediaStream(This,pAMMultiMediaStream) +#define IAMMediaStream_JoinFilter(This,pMediaStreamFilter) (This)->lpVtbl->JoinFilter(This,pMediaStreamFilter) +#define IAMMediaStream_JoinFilterGraph(This,pFilterGraph) (This)->lpVtbl->JoinFilterGraph(This,pFilterGraph) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMMediaStream_QueryInterface(IAMMediaStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMMediaStream_AddRef(IAMMediaStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMMediaStream_Release(IAMMediaStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaStream methods ***/ +static FORCEINLINE HRESULT IAMMediaStream_GetMultiMediaStream(IAMMediaStream* This,IMultiMediaStream **ppMultiMediaStream) { + return This->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream); +} +static FORCEINLINE HRESULT IAMMediaStream_GetInformation(IAMMediaStream* This,MSPID *pPurposeId,STREAM_TYPE *pType) { + return This->lpVtbl->GetInformation(This,pPurposeId,pType); +} +static FORCEINLINE HRESULT IAMMediaStream_SetSameFormat(IAMMediaStream* This,IMediaStream *pStreamThatHasDesiredFormat,DWORD dwFlags) { + return This->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags); +} +static FORCEINLINE HRESULT IAMMediaStream_AllocateSample(IAMMediaStream* This,DWORD dwFlags,IStreamSample **ppSample) { + return This->lpVtbl->AllocateSample(This,dwFlags,ppSample); +} +static FORCEINLINE HRESULT IAMMediaStream_CreateSharedSample(IAMMediaStream* This,IStreamSample *pExistingSample,DWORD dwFlags,IStreamSample **ppNewSample) { + return This->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample); +} +static FORCEINLINE HRESULT IAMMediaStream_SendEndOfStream(IAMMediaStream* This,DWORD dwFlags) { + return This->lpVtbl->SendEndOfStream(This,dwFlags); +} +/*** IAMMediaStream methods ***/ +static FORCEINLINE HRESULT IAMMediaStream_Initialize(IAMMediaStream* This,IUnknown *pSourceObject,DWORD dwFlags,REFMSPID PurposeId,const STREAM_TYPE StreamType) { + return This->lpVtbl->Initialize(This,pSourceObject,dwFlags,PurposeId,StreamType); +} +static FORCEINLINE HRESULT IAMMediaStream_SetState(IAMMediaStream* This,FILTER_STATE State) { + return This->lpVtbl->SetState(This,State); +} +static FORCEINLINE HRESULT IAMMediaStream_JoinAMMultiMediaStream(IAMMediaStream* This,IAMMultiMediaStream *pAMMultiMediaStream) { + return This->lpVtbl->JoinAMMultiMediaStream(This,pAMMultiMediaStream); +} +static FORCEINLINE HRESULT IAMMediaStream_JoinFilter(IAMMediaStream* This,IMediaStreamFilter *pMediaStreamFilter) { + return This->lpVtbl->JoinFilter(This,pMediaStreamFilter); +} +static FORCEINLINE HRESULT IAMMediaStream_JoinFilterGraph(IAMMediaStream* This,IFilterGraph *pFilterGraph) { + return This->lpVtbl->JoinFilterGraph(This,pFilterGraph); +} +#endif +#endif + +#endif + + +#endif /* __IAMMediaStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaStreamFilter interface + */ +#ifndef __IMediaStreamFilter_INTERFACE_DEFINED__ +#define __IMediaStreamFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaStreamFilter, 0xbebe595e, 0x9a6f, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bebe595e-9a6f-11d0-8fde-00c04fd9189d") +IMediaStreamFilter : public IBaseFilter +{ + virtual HRESULT STDMETHODCALLTYPE AddMediaStream( + IAMMediaStream *pAMMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaStream( + REFMSPID idPurpose, + IMediaStream **ppMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumMediaStreams( + LONG Index, + IMediaStream **ppMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SupportSeeking( + BOOL bRenderer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReferenceTimeToStreamTime( + REFERENCE_TIME *pTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentStreamTime( + REFERENCE_TIME *pCurrentStreamTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitUntil( + REFERENCE_TIME WaitStreamTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + BOOL bCancelEOS) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndOfStream( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaStreamFilter, 0xbebe595e, 0x9a6f, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IMediaStreamFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaStreamFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaStreamFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaStreamFilter *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMediaStreamFilter *This, + CLSID *pClassID); + + /*** IMediaFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *Stop)( + IMediaStreamFilter *This); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IMediaStreamFilter *This); + + HRESULT (STDMETHODCALLTYPE *Run)( + IMediaStreamFilter *This, + REFERENCE_TIME tStart); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IMediaStreamFilter *This, + DWORD dwMilliSecsTimeout, + FILTER_STATE *State); + + HRESULT (STDMETHODCALLTYPE *SetSyncSource)( + IMediaStreamFilter *This, + IReferenceClock *pClock); + + HRESULT (STDMETHODCALLTYPE *GetSyncSource)( + IMediaStreamFilter *This, + IReferenceClock **pClock); + + /*** IBaseFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumPins)( + IMediaStreamFilter *This, + IEnumPins **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindPin)( + IMediaStreamFilter *This, + LPCWSTR Id, + IPin **ppPin); + + HRESULT (STDMETHODCALLTYPE *QueryFilterInfo)( + IMediaStreamFilter *This, + FILTER_INFO *pInfo); + + HRESULT (STDMETHODCALLTYPE *JoinFilterGraph)( + IMediaStreamFilter *This, + IFilterGraph *pGraph, + LPCWSTR pName); + + HRESULT (STDMETHODCALLTYPE *QueryVendorInfo)( + IMediaStreamFilter *This, + LPWSTR *pVendorInfo); + + /*** IMediaStreamFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *AddMediaStream)( + IMediaStreamFilter *This, + IAMMediaStream *pAMMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IMediaStreamFilter *This, + REFMSPID idPurpose, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *EnumMediaStreams)( + IMediaStreamFilter *This, + LONG Index, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *SupportSeeking)( + IMediaStreamFilter *This, + BOOL bRenderer); + + HRESULT (STDMETHODCALLTYPE *ReferenceTimeToStreamTime)( + IMediaStreamFilter *This, + REFERENCE_TIME *pTime); + + HRESULT (STDMETHODCALLTYPE *GetCurrentStreamTime)( + IMediaStreamFilter *This, + REFERENCE_TIME *pCurrentStreamTime); + + HRESULT (STDMETHODCALLTYPE *WaitUntil)( + IMediaStreamFilter *This, + REFERENCE_TIME WaitStreamTime); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IMediaStreamFilter *This, + BOOL bCancelEOS); + + HRESULT (STDMETHODCALLTYPE *EndOfStream)( + IMediaStreamFilter *This); + + END_INTERFACE +} IMediaStreamFilterVtbl; + +interface IMediaStreamFilter { + CONST_VTBL IMediaStreamFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaStreamFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaStreamFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaStreamFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMediaStreamFilter_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IMediaFilter methods ***/ +#define IMediaStreamFilter_Stop(This) (This)->lpVtbl->Stop(This) +#define IMediaStreamFilter_Pause(This) (This)->lpVtbl->Pause(This) +#define IMediaStreamFilter_Run(This,tStart) (This)->lpVtbl->Run(This,tStart) +#define IMediaStreamFilter_GetState(This,dwMilliSecsTimeout,State) (This)->lpVtbl->GetState(This,dwMilliSecsTimeout,State) +#define IMediaStreamFilter_SetSyncSource(This,pClock) (This)->lpVtbl->SetSyncSource(This,pClock) +#define IMediaStreamFilter_GetSyncSource(This,pClock) (This)->lpVtbl->GetSyncSource(This,pClock) +/*** IBaseFilter methods ***/ +#define IMediaStreamFilter_EnumPins(This,ppEnum) (This)->lpVtbl->EnumPins(This,ppEnum) +#define IMediaStreamFilter_FindPin(This,Id,ppPin) (This)->lpVtbl->FindPin(This,Id,ppPin) +#define IMediaStreamFilter_QueryFilterInfo(This,pInfo) (This)->lpVtbl->QueryFilterInfo(This,pInfo) +#define IMediaStreamFilter_JoinFilterGraph(This,pGraph,pName) (This)->lpVtbl->JoinFilterGraph(This,pGraph,pName) +#define IMediaStreamFilter_QueryVendorInfo(This,pVendorInfo) (This)->lpVtbl->QueryVendorInfo(This,pVendorInfo) +/*** IMediaStreamFilter methods ***/ +#define IMediaStreamFilter_AddMediaStream(This,pAMMediaStream) (This)->lpVtbl->AddMediaStream(This,pAMMediaStream) +#define IMediaStreamFilter_GetMediaStream(This,idPurpose,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,idPurpose,ppMediaStream) +#define IMediaStreamFilter_EnumMediaStreams(This,Index,ppMediaStream) (This)->lpVtbl->EnumMediaStreams(This,Index,ppMediaStream) +#define IMediaStreamFilter_SupportSeeking(This,bRenderer) (This)->lpVtbl->SupportSeeking(This,bRenderer) +#define IMediaStreamFilter_ReferenceTimeToStreamTime(This,pTime) (This)->lpVtbl->ReferenceTimeToStreamTime(This,pTime) +#define IMediaStreamFilter_GetCurrentStreamTime(This,pCurrentStreamTime) (This)->lpVtbl->GetCurrentStreamTime(This,pCurrentStreamTime) +#define IMediaStreamFilter_WaitUntil(This,WaitStreamTime) (This)->lpVtbl->WaitUntil(This,WaitStreamTime) +#define IMediaStreamFilter_Flush(This,bCancelEOS) (This)->lpVtbl->Flush(This,bCancelEOS) +#define IMediaStreamFilter_EndOfStream(This) (This)->lpVtbl->EndOfStream(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaStreamFilter_QueryInterface(IMediaStreamFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaStreamFilter_AddRef(IMediaStreamFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaStreamFilter_Release(IMediaStreamFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMediaStreamFilter_GetClassID(IMediaStreamFilter* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IMediaFilter methods ***/ +static FORCEINLINE HRESULT IMediaStreamFilter_Stop(IMediaStreamFilter* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IMediaStreamFilter_Pause(IMediaStreamFilter* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IMediaStreamFilter_Run(IMediaStreamFilter* This,REFERENCE_TIME tStart) { + return This->lpVtbl->Run(This,tStart); +} +static FORCEINLINE HRESULT IMediaStreamFilter_GetState(IMediaStreamFilter* This,DWORD dwMilliSecsTimeout,FILTER_STATE *State) { + return This->lpVtbl->GetState(This,dwMilliSecsTimeout,State); +} +static FORCEINLINE HRESULT IMediaStreamFilter_SetSyncSource(IMediaStreamFilter* This,IReferenceClock *pClock) { + return This->lpVtbl->SetSyncSource(This,pClock); +} +static FORCEINLINE HRESULT IMediaStreamFilter_GetSyncSource(IMediaStreamFilter* This,IReferenceClock **pClock) { + return This->lpVtbl->GetSyncSource(This,pClock); +} +/*** IBaseFilter methods ***/ +static FORCEINLINE HRESULT IMediaStreamFilter_EnumPins(IMediaStreamFilter* This,IEnumPins **ppEnum) { + return This->lpVtbl->EnumPins(This,ppEnum); +} +static FORCEINLINE HRESULT IMediaStreamFilter_FindPin(IMediaStreamFilter* This,LPCWSTR Id,IPin **ppPin) { + return This->lpVtbl->FindPin(This,Id,ppPin); +} +static FORCEINLINE HRESULT IMediaStreamFilter_QueryFilterInfo(IMediaStreamFilter* This,FILTER_INFO *pInfo) { + return This->lpVtbl->QueryFilterInfo(This,pInfo); +} +static FORCEINLINE HRESULT IMediaStreamFilter_JoinFilterGraph(IMediaStreamFilter* This,IFilterGraph *pGraph,LPCWSTR pName) { + return This->lpVtbl->JoinFilterGraph(This,pGraph,pName); +} +static FORCEINLINE HRESULT IMediaStreamFilter_QueryVendorInfo(IMediaStreamFilter* This,LPWSTR *pVendorInfo) { + return This->lpVtbl->QueryVendorInfo(This,pVendorInfo); +} +/*** IMediaStreamFilter methods ***/ +static FORCEINLINE HRESULT IMediaStreamFilter_AddMediaStream(IMediaStreamFilter* This,IAMMediaStream *pAMMediaStream) { + return This->lpVtbl->AddMediaStream(This,pAMMediaStream); +} +static FORCEINLINE HRESULT IMediaStreamFilter_GetMediaStream(IMediaStreamFilter* This,REFMSPID idPurpose,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,idPurpose,ppMediaStream); +} +static FORCEINLINE HRESULT IMediaStreamFilter_EnumMediaStreams(IMediaStreamFilter* This,LONG Index,IMediaStream **ppMediaStream) { + return This->lpVtbl->EnumMediaStreams(This,Index,ppMediaStream); +} +static FORCEINLINE HRESULT IMediaStreamFilter_SupportSeeking(IMediaStreamFilter* This,BOOL bRenderer) { + return This->lpVtbl->SupportSeeking(This,bRenderer); +} +static FORCEINLINE HRESULT IMediaStreamFilter_ReferenceTimeToStreamTime(IMediaStreamFilter* This,REFERENCE_TIME *pTime) { + return This->lpVtbl->ReferenceTimeToStreamTime(This,pTime); +} +static FORCEINLINE HRESULT IMediaStreamFilter_GetCurrentStreamTime(IMediaStreamFilter* This,REFERENCE_TIME *pCurrentStreamTime) { + return This->lpVtbl->GetCurrentStreamTime(This,pCurrentStreamTime); +} +static FORCEINLINE HRESULT IMediaStreamFilter_WaitUntil(IMediaStreamFilter* This,REFERENCE_TIME WaitStreamTime) { + return This->lpVtbl->WaitUntil(This,WaitStreamTime); +} +static FORCEINLINE HRESULT IMediaStreamFilter_Flush(IMediaStreamFilter* This,BOOL bCancelEOS) { + return This->lpVtbl->Flush(This,bCancelEOS); +} +static FORCEINLINE HRESULT IMediaStreamFilter_EndOfStream(IMediaStreamFilter* This) { + return This->lpVtbl->EndOfStream(This); +} +#endif +#endif + +#endif + + +#endif /* __IMediaStreamFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectDrawMediaSampleAllocator interface + */ +#ifndef __IDirectDrawMediaSampleAllocator_INTERFACE_DEFINED__ +#define __IDirectDrawMediaSampleAllocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectDrawMediaSampleAllocator, 0xab6b4afc, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ab6b4afc-f6e4-11d0-900d-00c04fd9189d") +IDirectDrawMediaSampleAllocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDirectDraw( + IDirectDraw **ppDirectDraw) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectDrawMediaSampleAllocator, 0xab6b4afc, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IDirectDrawMediaSampleAllocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectDrawMediaSampleAllocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectDrawMediaSampleAllocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectDrawMediaSampleAllocator *This); + + /*** IDirectDrawMediaSampleAllocator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDirectDraw)( + IDirectDrawMediaSampleAllocator *This, + IDirectDraw **ppDirectDraw); + + END_INTERFACE +} IDirectDrawMediaSampleAllocatorVtbl; + +interface IDirectDrawMediaSampleAllocator { + CONST_VTBL IDirectDrawMediaSampleAllocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectDrawMediaSampleAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectDrawMediaSampleAllocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectDrawMediaSampleAllocator_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectDrawMediaSampleAllocator methods ***/ +#define IDirectDrawMediaSampleAllocator_GetDirectDraw(This,ppDirectDraw) (This)->lpVtbl->GetDirectDraw(This,ppDirectDraw) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaSampleAllocator_QueryInterface(IDirectDrawMediaSampleAllocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectDrawMediaSampleAllocator_AddRef(IDirectDrawMediaSampleAllocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectDrawMediaSampleAllocator_Release(IDirectDrawMediaSampleAllocator* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectDrawMediaSampleAllocator methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaSampleAllocator_GetDirectDraw(IDirectDrawMediaSampleAllocator* This,IDirectDraw **ppDirectDraw) { + return This->lpVtbl->GetDirectDraw(This,ppDirectDraw); +} +#endif +#endif + +#endif + + +#endif /* __IDirectDrawMediaSampleAllocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectDrawMediaSample interface + */ +#ifndef __IDirectDrawMediaSample_INTERFACE_DEFINED__ +#define __IDirectDrawMediaSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectDrawMediaSample, 0xab6b4afe, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ab6b4afe-f6e4-11d0-900d-00c04fd9189d") +IDirectDrawMediaSample : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSurfaceAndReleaseLock( + IDirectDrawSurface **ppDirectDrawSurface, + RECT *pRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockMediaSamplePointer( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectDrawMediaSample, 0xab6b4afe, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IDirectDrawMediaSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectDrawMediaSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectDrawMediaSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectDrawMediaSample *This); + + /*** IDirectDrawMediaSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSurfaceAndReleaseLock)( + IDirectDrawMediaSample *This, + IDirectDrawSurface **ppDirectDrawSurface, + RECT *pRect); + + HRESULT (STDMETHODCALLTYPE *LockMediaSamplePointer)( + IDirectDrawMediaSample *This); + + END_INTERFACE +} IDirectDrawMediaSampleVtbl; + +interface IDirectDrawMediaSample { + CONST_VTBL IDirectDrawMediaSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectDrawMediaSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectDrawMediaSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectDrawMediaSample_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectDrawMediaSample methods ***/ +#define IDirectDrawMediaSample_GetSurfaceAndReleaseLock(This,ppDirectDrawSurface,pRect) (This)->lpVtbl->GetSurfaceAndReleaseLock(This,ppDirectDrawSurface,pRect) +#define IDirectDrawMediaSample_LockMediaSamplePointer(This) (This)->lpVtbl->LockMediaSamplePointer(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaSample_QueryInterface(IDirectDrawMediaSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectDrawMediaSample_AddRef(IDirectDrawMediaSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectDrawMediaSample_Release(IDirectDrawMediaSample* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectDrawMediaSample methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaSample_GetSurfaceAndReleaseLock(IDirectDrawMediaSample* This,IDirectDrawSurface **ppDirectDrawSurface,RECT *pRect) { + return This->lpVtbl->GetSurfaceAndReleaseLock(This,ppDirectDrawSurface,pRect); +} +static FORCEINLINE HRESULT IDirectDrawMediaSample_LockMediaSamplePointer(IDirectDrawMediaSample* This) { + return This->lpVtbl->LockMediaSamplePointer(This); +} +#endif +#endif + +#endif + + +#endif /* __IDirectDrawMediaSample_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMMediaTypeStream interface + */ +#ifndef __IAMMediaTypeStream_INTERFACE_DEFINED__ +#define __IAMMediaTypeStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMMediaTypeStream, 0xab6b4afa, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ab6b4afa-f6e4-11d0-900d-00c04fd9189d") +IAMMediaTypeStream : public IMediaStream +{ + virtual HRESULT STDMETHODCALLTYPE GetFormat( + AM_MEDIA_TYPE *pMediaType, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFormat( + AM_MEDIA_TYPE *pMediaType, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSample( + LONG lSampleSize, + BYTE *pbBuffer, + DWORD dwFlags, + IUnknown *pUnkOuter, + IAMMediaTypeSample **ppAMMediaTypeSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamAllocatorRequirements( + ALLOCATOR_PROPERTIES *pProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamAllocatorRequirements( + ALLOCATOR_PROPERTIES *pProps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMMediaTypeStream, 0xab6b4afa, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IAMMediaTypeStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMMediaTypeStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMMediaTypeStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMMediaTypeStream *This); + + /*** IMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)( + IAMMediaTypeStream *This, + IMultiMediaStream **ppMultiMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IAMMediaTypeStream *This, + MSPID *pPurposeId, + STREAM_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *SetSameFormat)( + IAMMediaTypeStream *This, + IMediaStream *pStreamThatHasDesiredFormat, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *AllocateSample)( + IAMMediaTypeStream *This, + DWORD dwFlags, + IStreamSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *CreateSharedSample)( + IAMMediaTypeStream *This, + IStreamSample *pExistingSample, + DWORD dwFlags, + IStreamSample **ppNewSample); + + HRESULT (STDMETHODCALLTYPE *SendEndOfStream)( + IAMMediaTypeStream *This, + DWORD dwFlags); + + /*** IAMMediaTypeStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFormat)( + IAMMediaTypeStream *This, + AM_MEDIA_TYPE *pMediaType, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *SetFormat)( + IAMMediaTypeStream *This, + AM_MEDIA_TYPE *pMediaType, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *CreateSample)( + IAMMediaTypeStream *This, + LONG lSampleSize, + BYTE *pbBuffer, + DWORD dwFlags, + IUnknown *pUnkOuter, + IAMMediaTypeSample **ppAMMediaTypeSample); + + HRESULT (STDMETHODCALLTYPE *GetStreamAllocatorRequirements)( + IAMMediaTypeStream *This, + ALLOCATOR_PROPERTIES *pProps); + + HRESULT (STDMETHODCALLTYPE *SetStreamAllocatorRequirements)( + IAMMediaTypeStream *This, + ALLOCATOR_PROPERTIES *pProps); + + END_INTERFACE +} IAMMediaTypeStreamVtbl; + +interface IAMMediaTypeStream { + CONST_VTBL IAMMediaTypeStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMMediaTypeStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMMediaTypeStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMMediaTypeStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaStream methods ***/ +#define IAMMediaTypeStream_GetMultiMediaStream(This,ppMultiMediaStream) (This)->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream) +#define IAMMediaTypeStream_GetInformation(This,pPurposeId,pType) (This)->lpVtbl->GetInformation(This,pPurposeId,pType) +#define IAMMediaTypeStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) (This)->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) +#define IAMMediaTypeStream_AllocateSample(This,dwFlags,ppSample) (This)->lpVtbl->AllocateSample(This,dwFlags,ppSample) +#define IAMMediaTypeStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) (This)->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) +#define IAMMediaTypeStream_SendEndOfStream(This,dwFlags) (This)->lpVtbl->SendEndOfStream(This,dwFlags) +/*** IAMMediaTypeStream methods ***/ +#define IAMMediaTypeStream_GetFormat(This,pMediaType,dwFlags) (This)->lpVtbl->GetFormat(This,pMediaType,dwFlags) +#define IAMMediaTypeStream_SetFormat(This,pMediaType,dwFlags) (This)->lpVtbl->SetFormat(This,pMediaType,dwFlags) +#define IAMMediaTypeStream_CreateSample(This,lSampleSize,pbBuffer,dwFlags,pUnkOuter,ppAMMediaTypeSample) (This)->lpVtbl->CreateSample(This,lSampleSize,pbBuffer,dwFlags,pUnkOuter,ppAMMediaTypeSample) +#define IAMMediaTypeStream_GetStreamAllocatorRequirements(This,pProps) (This)->lpVtbl->GetStreamAllocatorRequirements(This,pProps) +#define IAMMediaTypeStream_SetStreamAllocatorRequirements(This,pProps) (This)->lpVtbl->SetStreamAllocatorRequirements(This,pProps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMMediaTypeStream_QueryInterface(IAMMediaTypeStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMMediaTypeStream_AddRef(IAMMediaTypeStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMMediaTypeStream_Release(IAMMediaTypeStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaStream methods ***/ +static FORCEINLINE HRESULT IAMMediaTypeStream_GetMultiMediaStream(IAMMediaTypeStream* This,IMultiMediaStream **ppMultiMediaStream) { + return This->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_GetInformation(IAMMediaTypeStream* This,MSPID *pPurposeId,STREAM_TYPE *pType) { + return This->lpVtbl->GetInformation(This,pPurposeId,pType); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_SetSameFormat(IAMMediaTypeStream* This,IMediaStream *pStreamThatHasDesiredFormat,DWORD dwFlags) { + return This->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_AllocateSample(IAMMediaTypeStream* This,DWORD dwFlags,IStreamSample **ppSample) { + return This->lpVtbl->AllocateSample(This,dwFlags,ppSample); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_CreateSharedSample(IAMMediaTypeStream* This,IStreamSample *pExistingSample,DWORD dwFlags,IStreamSample **ppNewSample) { + return This->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_SendEndOfStream(IAMMediaTypeStream* This,DWORD dwFlags) { + return This->lpVtbl->SendEndOfStream(This,dwFlags); +} +/*** IAMMediaTypeStream methods ***/ +static FORCEINLINE HRESULT IAMMediaTypeStream_GetFormat(IAMMediaTypeStream* This,AM_MEDIA_TYPE *pMediaType,DWORD dwFlags) { + return This->lpVtbl->GetFormat(This,pMediaType,dwFlags); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_SetFormat(IAMMediaTypeStream* This,AM_MEDIA_TYPE *pMediaType,DWORD dwFlags) { + return This->lpVtbl->SetFormat(This,pMediaType,dwFlags); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_CreateSample(IAMMediaTypeStream* This,LONG lSampleSize,BYTE *pbBuffer,DWORD dwFlags,IUnknown *pUnkOuter,IAMMediaTypeSample **ppAMMediaTypeSample) { + return This->lpVtbl->CreateSample(This,lSampleSize,pbBuffer,dwFlags,pUnkOuter,ppAMMediaTypeSample); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_GetStreamAllocatorRequirements(IAMMediaTypeStream* This,ALLOCATOR_PROPERTIES *pProps) { + return This->lpVtbl->GetStreamAllocatorRequirements(This,pProps); +} +static FORCEINLINE HRESULT IAMMediaTypeStream_SetStreamAllocatorRequirements(IAMMediaTypeStream* This,ALLOCATOR_PROPERTIES *pProps) { + return This->lpVtbl->SetStreamAllocatorRequirements(This,pProps); +} +#endif +#endif + +#endif + + +#endif /* __IAMMediaTypeStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMMediaTypeSample interface + */ +#ifndef __IAMMediaTypeSample_INTERFACE_DEFINED__ +#define __IAMMediaTypeSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMMediaTypeSample, 0xab6b4afb, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ab6b4afb-f6e4-11d0-900d-00c04fd9189d") +IAMMediaTypeSample : public IStreamSample +{ + virtual HRESULT STDMETHODCALLTYPE SetPointer( + BYTE *pBuffer, + LONG lSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPointer( + BYTE **ppBuffer) = 0; + + virtual LONG STDMETHODCALLTYPE GetSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTime( + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTime( + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSyncPoint( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSyncPoint( + BOOL bIsSyncPoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPreroll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPreroll( + BOOL bIsPreroll) = 0; + + virtual LONG STDMETHODCALLTYPE GetActualDataLength( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetActualDataLength( + LONG Len) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaType( + AM_MEDIA_TYPE **ppMediaType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaType( + AM_MEDIA_TYPE *pMediaType) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDiscontinuity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDiscontinuity( + BOOL bDiscontinuity) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaTime( + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaTime( + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMMediaTypeSample, 0xab6b4afb, 0xf6e4, 0x11d0, 0x90,0x0d, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IAMMediaTypeSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMMediaTypeSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMMediaTypeSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMMediaTypeSample *This); + + /*** IStreamSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IAMMediaTypeSample *This, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetSampleTimes)( + IAMMediaTypeSample *This, + STREAM_TIME *pStartTime, + STREAM_TIME *pEndTime, + STREAM_TIME *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *SetSampleTimes)( + IAMMediaTypeSample *This, + const STREAM_TIME *pStartTime, + const STREAM_TIME *pEndTime); + + HRESULT (STDMETHODCALLTYPE *Update)( + IAMMediaTypeSample *This, + DWORD dwFlags, + HANDLE hEvent, + PAPCFUNC pfnAPC, + DWORD dwAPCData); + + HRESULT (STDMETHODCALLTYPE *CompletionStatus)( + IAMMediaTypeSample *This, + DWORD dwFlags, + DWORD dwMilliseconds); + + /*** IAMMediaTypeSample methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPointer)( + IAMMediaTypeSample *This, + BYTE *pBuffer, + LONG lSize); + + HRESULT (STDMETHODCALLTYPE *GetPointer)( + IAMMediaTypeSample *This, + BYTE **ppBuffer); + + LONG (STDMETHODCALLTYPE *GetSize)( + IAMMediaTypeSample *This); + + HRESULT (STDMETHODCALLTYPE *GetTime)( + IAMMediaTypeSample *This, + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IAMMediaTypeSample *This, + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *IsSyncPoint)( + IAMMediaTypeSample *This); + + HRESULT (STDMETHODCALLTYPE *SetSyncPoint)( + IAMMediaTypeSample *This, + BOOL bIsSyncPoint); + + HRESULT (STDMETHODCALLTYPE *IsPreroll)( + IAMMediaTypeSample *This); + + HRESULT (STDMETHODCALLTYPE *SetPreroll)( + IAMMediaTypeSample *This, + BOOL bIsPreroll); + + LONG (STDMETHODCALLTYPE *GetActualDataLength)( + IAMMediaTypeSample *This); + + HRESULT (STDMETHODCALLTYPE *SetActualDataLength)( + IAMMediaTypeSample *This, + LONG Len); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IAMMediaTypeSample *This, + AM_MEDIA_TYPE **ppMediaType); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IAMMediaTypeSample *This, + AM_MEDIA_TYPE *pMediaType); + + HRESULT (STDMETHODCALLTYPE *IsDiscontinuity)( + IAMMediaTypeSample *This); + + HRESULT (STDMETHODCALLTYPE *SetDiscontinuity)( + IAMMediaTypeSample *This, + BOOL bDiscontinuity); + + HRESULT (STDMETHODCALLTYPE *GetMediaTime)( + IAMMediaTypeSample *This, + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *SetMediaTime)( + IAMMediaTypeSample *This, + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd); + + END_INTERFACE +} IAMMediaTypeSampleVtbl; + +interface IAMMediaTypeSample { + CONST_VTBL IAMMediaTypeSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMMediaTypeSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMMediaTypeSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMMediaTypeSample_Release(This) (This)->lpVtbl->Release(This) +/*** IStreamSample methods ***/ +#define IAMMediaTypeSample_GetMediaStream(This,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,ppMediaStream) +#define IAMMediaTypeSample_GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) (This)->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) +#define IAMMediaTypeSample_SetSampleTimes(This,pStartTime,pEndTime) (This)->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime) +#define IAMMediaTypeSample_Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) (This)->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) +#define IAMMediaTypeSample_CompletionStatus(This,dwFlags,dwMilliseconds) (This)->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds) +/*** IAMMediaTypeSample methods ***/ +#define IAMMediaTypeSample_SetPointer(This,pBuffer,lSize) (This)->lpVtbl->SetPointer(This,pBuffer,lSize) +#define IAMMediaTypeSample_GetPointer(This,ppBuffer) (This)->lpVtbl->GetPointer(This,ppBuffer) +#define IAMMediaTypeSample_GetSize(This) (This)->lpVtbl->GetSize(This) +#define IAMMediaTypeSample_GetTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->GetTime(This,pTimeStart,pTimeEnd) +#define IAMMediaTypeSample_SetTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->SetTime(This,pTimeStart,pTimeEnd) +#define IAMMediaTypeSample_IsSyncPoint(This) (This)->lpVtbl->IsSyncPoint(This) +#define IAMMediaTypeSample_SetSyncPoint(This,bIsSyncPoint) (This)->lpVtbl->SetSyncPoint(This,bIsSyncPoint) +#define IAMMediaTypeSample_IsPreroll(This) (This)->lpVtbl->IsPreroll(This) +#define IAMMediaTypeSample_SetPreroll(This,bIsPreroll) (This)->lpVtbl->SetPreroll(This,bIsPreroll) +#define IAMMediaTypeSample_GetActualDataLength(This) (This)->lpVtbl->GetActualDataLength(This) +#define IAMMediaTypeSample_SetActualDataLength(This,Len) (This)->lpVtbl->SetActualDataLength(This,Len) +#define IAMMediaTypeSample_GetMediaType(This,ppMediaType) (This)->lpVtbl->GetMediaType(This,ppMediaType) +#define IAMMediaTypeSample_SetMediaType(This,pMediaType) (This)->lpVtbl->SetMediaType(This,pMediaType) +#define IAMMediaTypeSample_IsDiscontinuity(This) (This)->lpVtbl->IsDiscontinuity(This) +#define IAMMediaTypeSample_SetDiscontinuity(This,bDiscontinuity) (This)->lpVtbl->SetDiscontinuity(This,bDiscontinuity) +#define IAMMediaTypeSample_GetMediaTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->GetMediaTime(This,pTimeStart,pTimeEnd) +#define IAMMediaTypeSample_SetMediaTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->SetMediaTime(This,pTimeStart,pTimeEnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMMediaTypeSample_QueryInterface(IAMMediaTypeSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMMediaTypeSample_AddRef(IAMMediaTypeSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMMediaTypeSample_Release(IAMMediaTypeSample* This) { + return This->lpVtbl->Release(This); +} +/*** IStreamSample methods ***/ +static FORCEINLINE HRESULT IAMMediaTypeSample_GetMediaStream(IAMMediaTypeSample* This,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,ppMediaStream); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_GetSampleTimes(IAMMediaTypeSample* This,STREAM_TIME *pStartTime,STREAM_TIME *pEndTime,STREAM_TIME *pCurrentTime) { + return This->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetSampleTimes(IAMMediaTypeSample* This,const STREAM_TIME *pStartTime,const STREAM_TIME *pEndTime) { + return This->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_Update(IAMMediaTypeSample* This,DWORD dwFlags,HANDLE hEvent,PAPCFUNC pfnAPC,DWORD dwAPCData) { + return This->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_CompletionStatus(IAMMediaTypeSample* This,DWORD dwFlags,DWORD dwMilliseconds) { + return This->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds); +} +/*** IAMMediaTypeSample methods ***/ +static FORCEINLINE HRESULT IAMMediaTypeSample_SetPointer(IAMMediaTypeSample* This,BYTE *pBuffer,LONG lSize) { + return This->lpVtbl->SetPointer(This,pBuffer,lSize); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_GetPointer(IAMMediaTypeSample* This,BYTE **ppBuffer) { + return This->lpVtbl->GetPointer(This,ppBuffer); +} +static FORCEINLINE LONG IAMMediaTypeSample_GetSize(IAMMediaTypeSample* This) { + return This->lpVtbl->GetSize(This); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_GetTime(IAMMediaTypeSample* This,REFERENCE_TIME *pTimeStart,REFERENCE_TIME *pTimeEnd) { + return This->lpVtbl->GetTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetTime(IAMMediaTypeSample* This,REFERENCE_TIME *pTimeStart,REFERENCE_TIME *pTimeEnd) { + return This->lpVtbl->SetTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_IsSyncPoint(IAMMediaTypeSample* This) { + return This->lpVtbl->IsSyncPoint(This); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetSyncPoint(IAMMediaTypeSample* This,BOOL bIsSyncPoint) { + return This->lpVtbl->SetSyncPoint(This,bIsSyncPoint); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_IsPreroll(IAMMediaTypeSample* This) { + return This->lpVtbl->IsPreroll(This); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetPreroll(IAMMediaTypeSample* This,BOOL bIsPreroll) { + return This->lpVtbl->SetPreroll(This,bIsPreroll); +} +static FORCEINLINE LONG IAMMediaTypeSample_GetActualDataLength(IAMMediaTypeSample* This) { + return This->lpVtbl->GetActualDataLength(This); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetActualDataLength(IAMMediaTypeSample* This,LONG Len) { + return This->lpVtbl->SetActualDataLength(This,Len); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_GetMediaType(IAMMediaTypeSample* This,AM_MEDIA_TYPE **ppMediaType) { + return This->lpVtbl->GetMediaType(This,ppMediaType); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetMediaType(IAMMediaTypeSample* This,AM_MEDIA_TYPE *pMediaType) { + return This->lpVtbl->SetMediaType(This,pMediaType); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_IsDiscontinuity(IAMMediaTypeSample* This) { + return This->lpVtbl->IsDiscontinuity(This); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetDiscontinuity(IAMMediaTypeSample* This,BOOL bDiscontinuity) { + return This->lpVtbl->SetDiscontinuity(This,bDiscontinuity); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_GetMediaTime(IAMMediaTypeSample* This,LONGLONG *pTimeStart,LONGLONG *pTimeEnd) { + return This->lpVtbl->GetMediaTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IAMMediaTypeSample_SetMediaTime(IAMMediaTypeSample* This,LONGLONG *pTimeStart,LONGLONG *pTimeEnd) { + return This->lpVtbl->SetMediaTime(This,pTimeStart,pTimeEnd); +} +#endif +#endif + +#endif + + +#endif /* __IAMMediaTypeSample_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * AMMultiMediaStream coclass + */ + +DEFINE_GUID(CLSID_AMMultiMediaStream, 0x49c47ce5, 0x9ba4, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45); + +#ifdef __cplusplus +class DECLSPEC_UUID("49c47ce5-9ba4-11d0-8212-00c04fc32c45") AMMultiMediaStream; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AMMultiMediaStream, 0x49c47ce5, 0x9ba4, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45) +#endif +#endif + +DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45); +DEFINE_GUID(CLSID_AMAudioStream, 0x8496e040, 0xaf4c, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45); +DEFINE_GUID(CLSID_AMAudioData, 0xf2468580, 0xaf8a, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45); +DEFINE_GUID(CLSID_AMMediaTypeStream, 0xcf0f2f7c, 0xf7bf, 0x11d0, 0x90, 0x0d, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d); +DEFINE_GUID(CLSID_MediaStreamFilter, 0x49c47ce0, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __amstream_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amstream.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amstream.idl new file mode 100644 index 0000000..d4e5e35 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amstream.idl @@ -0,0 +1,318 @@ +/* + * Copyright 2004 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "mmstream.idl"; +import "strmif.idl"; + +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#include ") + +cpp_quote("#if 0") +interface IDirectDraw; +interface IDirectDrawSurface; +cpp_quote("#endif") + +interface IAMMultiMediaStream; +interface IAMMediaStream; +interface IMediaStreamFilter; +interface IAMMediaTypeStream; +interface IAMMediaTypeSample; + +enum { + AMMSF_NOGRAPHTHREAD = 0x00000001 +}; + +enum { + AMMSF_ADDDEFAULTRENDERER = 0x00000001, + AMMSF_CREATEPEER = 0x00000002, + AMMSF_STOPIFNOSAMPLES = 0x00000004, + AMMSF_NOSTALL = 0x00000008 +}; + +enum { + AMMSF_RENDERTYPEMASK = 0x00000003, + AMMSF_RENDERTOEXISTING = 0x00000000, + AMMSF_RENDERALLSTREAMS = 0x00000001, + AMMSF_NORENDER = 0x00000002, + AMMSF_NOCLOCK = 0x00000004, + AMMSF_RUN = 0x00000008 +}; + + +typedef [v1_enum] enum { + Disabled = 0, + ReadData = 1, + RenderData = 2 +} OUTPUT_STATE; + +[ +object, +uuid(7DB01C96-C0C3-11d0-8FF1-00C04FD9189D), +dual, +helpstring("IDirectShowStream Interface"), +pointer_default(unique) +] +interface IDirectShowStream : IDispatch +{ + [propget, id(1), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal); + [propput, id(1), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal); + [propget, id(2), helpstring("property Video")] HRESULT Video([out, retval] OUTPUT_STATE *pVal); + [propput, id(2), helpstring("property Video")] HRESULT Video([in] OUTPUT_STATE newVal); + [propget, id(3), helpstring("property Audio")] HRESULT Audio([out, retval] OUTPUT_STATE *pVal); + [propput, id(3), helpstring("property Audio")] HRESULT Audio([in] OUTPUT_STATE newVal); +}; + +[ +object, +uuid(BEBE595C-9A6F-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IAMMultiMediaStream : IMultiMediaStream +{ + HRESULT Initialize( + [in] STREAM_TYPE StreamType, + [in] DWORD dwFlags, + [in] IGraphBuilder *pFilterGraph); + + HRESULT GetFilterGraph( + [out] IGraphBuilder **ppGraphBuilder); + + HRESULT GetFilter( + [out] IMediaStreamFilter **ppFilter); + + HRESULT AddMediaStream( + [in] IUnknown *pStreamObject, + [in] const MSPID *PurposeId, + [in] DWORD dwFlags, + [out] IMediaStream **ppNewStream); + + HRESULT OpenFile( + [in] LPCWSTR pszFileName, + [in] DWORD dwFlags); + + HRESULT OpenMoniker( + [in] IBindCtx *pCtx, + [in] IMoniker *pMoniker, + [in] DWORD dwFlags); + + HRESULT Render( + [in] DWORD dwFlags); +} + + +[ +object, +uuid(BEBE595D-9A6F-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IAMMediaStream : IMediaStream +{ + HRESULT Initialize( + [in] IUnknown *pSourceObject, + [in] DWORD dwFlags, + [in] REFMSPID PurposeId, + [in] const STREAM_TYPE StreamType); + + HRESULT SetState( + [in] FILTER_STATE State); + + HRESULT JoinAMMultiMediaStream( + [in] IAMMultiMediaStream *pAMMultiMediaStream); + + HRESULT JoinFilter( + [in] IMediaStreamFilter *pMediaStreamFilter); + + HRESULT JoinFilterGraph( + [in] IFilterGraph *pFilterGraph); +} + + +[ +object, +local, +uuid(BEBE595E-9A6F-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IMediaStreamFilter : IBaseFilter +{ + HRESULT AddMediaStream( + [in] IAMMediaStream *pAMMediaStream); + + HRESULT GetMediaStream( + [in] REFMSPID idPurpose, + [out] IMediaStream **ppMediaStream); + + HRESULT EnumMediaStreams( + [in] long Index, + [out] IMediaStream **ppMediaStream); + + HRESULT SupportSeeking( + [in] BOOL bRenderer); + + HRESULT ReferenceTimeToStreamTime( + [in] [out] REFERENCE_TIME *pTime); + + HRESULT GetCurrentStreamTime( + [out] REFERENCE_TIME *pCurrentStreamTime); + + HRESULT WaitUntil( + [in] REFERENCE_TIME WaitStreamTime); + + HRESULT Flush( + [in] BOOL bCancelEOS); + + HRESULT EndOfStream(); +} + + +[ +object, +local, +uuid(AB6B4AFC-F6E4-11d0-900D-00C04FD9189D), +pointer_default(unique) +] +interface IDirectDrawMediaSampleAllocator : IUnknown +{ + HRESULT GetDirectDraw(IDirectDraw **ppDirectDraw); +} + + +[ +object, +local, +uuid(AB6B4AFE-F6E4-11d0-900D-00C04FD9189D), +pointer_default(unique) +] +interface IDirectDrawMediaSample : IUnknown +{ + HRESULT GetSurfaceAndReleaseLock( + [out] IDirectDrawSurface **ppDirectDrawSurface, + [out] RECT * pRect); + + HRESULT LockMediaSamplePointer(void); +} + + +[ +object, +local, +uuid(AB6B4AFA-F6E4-11d0-900D-00C04FD9189D), +pointer_default(unique) +] + +interface IAMMediaTypeStream : IMediaStream +{ + HRESULT GetFormat( + [out] AM_MEDIA_TYPE * pMediaType, + [in] DWORD dwFlags); + + HRESULT SetFormat( + [in] AM_MEDIA_TYPE * pMediaType, + [in] DWORD dwFlags); + + HRESULT CreateSample( + [in] long lSampleSize, + [in] BYTE * pbBuffer, + [in] DWORD dwFlags, + [in] IUnknown *pUnkOuter, + [out] IAMMediaTypeSample ** ppAMMediaTypeSample); + + HRESULT GetStreamAllocatorRequirements( + [out] ALLOCATOR_PROPERTIES *pProps); + + HRESULT SetStreamAllocatorRequirements( + [in] ALLOCATOR_PROPERTIES *pProps); +} + + +[ +object, +local, +uuid(AB6B4AFB-F6E4-11d0-900D-00C04FD9189D), +pointer_default(unique) +] +interface IAMMediaTypeSample : IStreamSample +{ + HRESULT SetPointer( + [in] BYTE *pBuffer, + [in] long lSize); + + HRESULT GetPointer( + [out] BYTE ** ppBuffer); + + long GetSize(void); + + HRESULT GetTime( + [out] REFERENCE_TIME * pTimeStart, + [out] REFERENCE_TIME * pTimeEnd); + + HRESULT SetTime( + [in] REFERENCE_TIME * pTimeStart, + [in] REFERENCE_TIME * pTimeEnd); + + HRESULT IsSyncPoint(void); + + HRESULT SetSyncPoint( + BOOL bIsSyncPoint); + + HRESULT IsPreroll(void); + + HRESULT SetPreroll( + BOOL bIsPreroll); + + long GetActualDataLength(void); + + HRESULT SetActualDataLength(long Len); + + HRESULT GetMediaType( + AM_MEDIA_TYPE **ppMediaType); + + HRESULT SetMediaType( + AM_MEDIA_TYPE *pMediaType); + + HRESULT IsDiscontinuity(void); + + HRESULT SetDiscontinuity( + BOOL bDiscontinuity); + + HRESULT GetMediaTime( + [out] LONGLONG * pTimeStart, + [out] LONGLONG * pTimeEnd); + + HRESULT SetMediaTime( + [in] LONGLONG * pTimeStart, + [in] LONGLONG * pTimeEnd); +} + +[ + uuid(49C47CE5-9BA4-11d0-8212-00C04FC32C45) +] +coclass AMMultiMediaStream +{ + [default] dispinterface IDirectShowStream; +} + +cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") +cpp_quote("DEFINE_GUID(CLSID_AMAudioStream, 0x8496e040, 0xaf4c, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") +cpp_quote("DEFINE_GUID(CLSID_AMAudioData, 0xf2468580, 0xaf8a, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") +cpp_quote("DEFINE_GUID(CLSID_AMMediaTypeStream, 0xcf0f2f7c, 0xf7bf, 0x11d0, 0x90, 0x0d, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);") +cpp_quote("DEFINE_GUID(CLSID_MediaStreamFilter, 0x49c47ce0, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amvideo.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amvideo.h new file mode 100644 index 0000000..87255a2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amvideo.h @@ -0,0 +1,1194 @@ +/*** Autogenerated by WIDL 2.18 from amvideo.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __amvideo_h__ +#define __amvideo_h__ + +/* Forward declarations */ + +#ifndef __IDirectDrawVideo_FWD_DEFINED__ +#define __IDirectDrawVideo_FWD_DEFINED__ +typedef interface IDirectDrawVideo IDirectDrawVideo; +#ifdef __cplusplus +interface IDirectDrawVideo; +#endif /* __cplusplus */ +#endif + +#ifndef __IQualProp_FWD_DEFINED__ +#define __IQualProp_FWD_DEFINED__ +typedef interface IQualProp IQualProp; +#ifdef __cplusplus +interface IQualProp; +#endif /* __cplusplus */ +#endif + +#ifndef __IFullScreenVideo_FWD_DEFINED__ +#define __IFullScreenVideo_FWD_DEFINED__ +typedef interface IFullScreenVideo IFullScreenVideo; +#ifdef __cplusplus +interface IFullScreenVideo; +#endif /* __cplusplus */ +#endif + +#ifndef __IFullScreenVideoEx_FWD_DEFINED__ +#define __IFullScreenVideoEx_FWD_DEFINED__ +typedef interface IFullScreenVideoEx IFullScreenVideoEx; +#ifdef __cplusplus +interface IFullScreenVideoEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IBaseVideoMixer_FWD_DEFINED__ +#define __IBaseVideoMixer_FWD_DEFINED__ +typedef interface IBaseVideoMixer IBaseVideoMixer; +#ifdef __cplusplus +interface IBaseVideoMixer; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +#ifndef __IDirectDraw_FWD_DEFINED__ +#define __IDirectDraw_FWD_DEFINED__ +typedef interface IDirectDraw IDirectDraw; +#ifdef __cplusplus +interface IDirectDraw; +#endif /* __cplusplus */ +#endif + +typedef void DDSURFACEDESC; +typedef void DDCAPS; +typedef DWORD RGBQUAD; +typedef LONGLONG REFERENCE_TIME; +typedef struct __WIDL_amvideo_generated_name_00000002 { + DWORD biSize; + LONG biWidth; + LONG biHeight; + WORD biPlanes; + WORD biBitCount; + DWORD biCompression; + DWORD biSizeImage; + LONG biXPelsPerMeter; + LONG biYPelsPerMeter; + DWORD biClrUsed; + DWORD biClrImportant; +} BITMAPINFOHEADER; +typedef struct __WIDL_amvideo_generated_name_00000002 *PBITMAPINFOHEADER; +typedef struct __WIDL_amvideo_generated_name_00000002 *LPBITMAPINFOHEADER; +#endif +#include +#define AMDDS_NONE 0x00 +#define AMDDS_DCIPS 0x01 +#define AMDDS_PS 0x02 +#define AMDDS_RGBOVR 0x04 +#define AMDDS_YUVOVR 0x08 +#define AMDDS_RGBOFF 0x10 +#define AMDDS_YUVOFF 0x20 +#define AMDDS_RGBFLP 0x40 +#define AMDDS_YUVFLP 0x80 +#define AMDDS_ALL 0xFF +#define AMDDS_DEFAULT AMDDS_ALL +#define AMDDS_YUV (AMDDS_YUVOFF | AMDDS_YUVOVR | AMDDS_YUVFLP) +#define AMDDS_RGB (AMDDS_RGBOFF | AMDDS_RGBOVR | AMDDS_RGBFLP) +#define AMDSS_PRIMARY (AMDDS_DCIPS | AMDDS_PS) +/***************************************************************************** + * IDirectDrawVideo interface + */ +#ifndef __IDirectDrawVideo_INTERFACE_DEFINED__ +#define __IDirectDrawVideo_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IDirectDrawVideo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSwitches( + DWORD *pSwitches) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSwitches( + DWORD Switches) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCaps( + DDCAPS *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEmulatedCaps( + DDCAPS *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSurfaceDesc( + DDSURFACEDESC *pSurfaceDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFourCCCodes( + DWORD *pCount, + DWORD *pCodes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDirectDraw( + IDirectDraw *ddraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDirectDraw( + IDirectDraw **ddraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSurfaceType( + DWORD *pSurfaceType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefault( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UseScanLine( + LONG UseScanLine) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanUseScanLine( + LONG *UseScanLine) = 0; + + virtual HRESULT STDMETHODCALLTYPE UseOverlayStretch( + LONG UseOverlayStretch) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanUseOverlayStretch( + LONG *UseOverlayStretch) = 0; + + virtual HRESULT STDMETHODCALLTYPE UseWhenFullScreen( + LONG UseWhenFullScreen) = 0; + + virtual HRESULT STDMETHODCALLTYPE WillUseFullScreen( + LONG *UseWhenFullScreen) = 0; + +}; +#else +typedef struct IDirectDrawVideoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectDrawVideo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectDrawVideo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectDrawVideo *This); + + /*** IDirectDrawVideo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSwitches)( + IDirectDrawVideo *This, + DWORD *pSwitches); + + HRESULT (STDMETHODCALLTYPE *SetSwitches)( + IDirectDrawVideo *This, + DWORD Switches); + + HRESULT (STDMETHODCALLTYPE *GetCaps)( + IDirectDrawVideo *This, + DDCAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetEmulatedCaps)( + IDirectDrawVideo *This, + DDCAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetSurfaceDesc)( + IDirectDrawVideo *This, + DDSURFACEDESC *pSurfaceDesc); + + HRESULT (STDMETHODCALLTYPE *GetFourCCCodes)( + IDirectDrawVideo *This, + DWORD *pCount, + DWORD *pCodes); + + HRESULT (STDMETHODCALLTYPE *SetDirectDraw)( + IDirectDrawVideo *This, + IDirectDraw *ddraw); + + HRESULT (STDMETHODCALLTYPE *GetDirectDraw)( + IDirectDrawVideo *This, + IDirectDraw **ddraw); + + HRESULT (STDMETHODCALLTYPE *GetSurfaceType)( + IDirectDrawVideo *This, + DWORD *pSurfaceType); + + HRESULT (STDMETHODCALLTYPE *SetDefault)( + IDirectDrawVideo *This); + + HRESULT (STDMETHODCALLTYPE *UseScanLine)( + IDirectDrawVideo *This, + LONG UseScanLine); + + HRESULT (STDMETHODCALLTYPE *CanUseScanLine)( + IDirectDrawVideo *This, + LONG *UseScanLine); + + HRESULT (STDMETHODCALLTYPE *UseOverlayStretch)( + IDirectDrawVideo *This, + LONG UseOverlayStretch); + + HRESULT (STDMETHODCALLTYPE *CanUseOverlayStretch)( + IDirectDrawVideo *This, + LONG *UseOverlayStretch); + + HRESULT (STDMETHODCALLTYPE *UseWhenFullScreen)( + IDirectDrawVideo *This, + LONG UseWhenFullScreen); + + HRESULT (STDMETHODCALLTYPE *WillUseFullScreen)( + IDirectDrawVideo *This, + LONG *UseWhenFullScreen); + + END_INTERFACE +} IDirectDrawVideoVtbl; + +interface IDirectDrawVideo { + CONST_VTBL IDirectDrawVideoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectDrawVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectDrawVideo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectDrawVideo_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectDrawVideo methods ***/ +#define IDirectDrawVideo_GetSwitches(This,pSwitches) (This)->lpVtbl->GetSwitches(This,pSwitches) +#define IDirectDrawVideo_SetSwitches(This,Switches) (This)->lpVtbl->SetSwitches(This,Switches) +#define IDirectDrawVideo_GetCaps(This,pCaps) (This)->lpVtbl->GetCaps(This,pCaps) +#define IDirectDrawVideo_GetEmulatedCaps(This,pCaps) (This)->lpVtbl->GetEmulatedCaps(This,pCaps) +#define IDirectDrawVideo_GetSurfaceDesc(This,pSurfaceDesc) (This)->lpVtbl->GetSurfaceDesc(This,pSurfaceDesc) +#define IDirectDrawVideo_GetFourCCCodes(This,pCount,pCodes) (This)->lpVtbl->GetFourCCCodes(This,pCount,pCodes) +#define IDirectDrawVideo_SetDirectDraw(This,ddraw) (This)->lpVtbl->SetDirectDraw(This,ddraw) +#define IDirectDrawVideo_GetDirectDraw(This,ddraw) (This)->lpVtbl->GetDirectDraw(This,ddraw) +#define IDirectDrawVideo_GetSurfaceType(This,pSurfaceType) (This)->lpVtbl->GetSurfaceType(This,pSurfaceType) +#define IDirectDrawVideo_SetDefault(This) (This)->lpVtbl->SetDefault(This) +#define IDirectDrawVideo_UseScanLine(This,UseScanLine) (This)->lpVtbl->UseScanLine(This,UseScanLine) +#define IDirectDrawVideo_CanUseScanLine(This,UseScanLine) (This)->lpVtbl->CanUseScanLine(This,UseScanLine) +#define IDirectDrawVideo_UseOverlayStretch(This,UseOverlayStretch) (This)->lpVtbl->UseOverlayStretch(This,UseOverlayStretch) +#define IDirectDrawVideo_CanUseOverlayStretch(This,UseOverlayStretch) (This)->lpVtbl->CanUseOverlayStretch(This,UseOverlayStretch) +#define IDirectDrawVideo_UseWhenFullScreen(This,UseWhenFullScreen) (This)->lpVtbl->UseWhenFullScreen(This,UseWhenFullScreen) +#define IDirectDrawVideo_WillUseFullScreen(This,UseWhenFullScreen) (This)->lpVtbl->WillUseFullScreen(This,UseWhenFullScreen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectDrawVideo_QueryInterface(IDirectDrawVideo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectDrawVideo_AddRef(IDirectDrawVideo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectDrawVideo_Release(IDirectDrawVideo* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectDrawVideo methods ***/ +static FORCEINLINE HRESULT IDirectDrawVideo_GetSwitches(IDirectDrawVideo* This,DWORD *pSwitches) { + return This->lpVtbl->GetSwitches(This,pSwitches); +} +static FORCEINLINE HRESULT IDirectDrawVideo_SetSwitches(IDirectDrawVideo* This,DWORD Switches) { + return This->lpVtbl->SetSwitches(This,Switches); +} +static FORCEINLINE HRESULT IDirectDrawVideo_GetCaps(IDirectDrawVideo* This,DDCAPS *pCaps) { + return This->lpVtbl->GetCaps(This,pCaps); +} +static FORCEINLINE HRESULT IDirectDrawVideo_GetEmulatedCaps(IDirectDrawVideo* This,DDCAPS *pCaps) { + return This->lpVtbl->GetEmulatedCaps(This,pCaps); +} +static FORCEINLINE HRESULT IDirectDrawVideo_GetSurfaceDesc(IDirectDrawVideo* This,DDSURFACEDESC *pSurfaceDesc) { + return This->lpVtbl->GetSurfaceDesc(This,pSurfaceDesc); +} +static FORCEINLINE HRESULT IDirectDrawVideo_GetFourCCCodes(IDirectDrawVideo* This,DWORD *pCount,DWORD *pCodes) { + return This->lpVtbl->GetFourCCCodes(This,pCount,pCodes); +} +static FORCEINLINE HRESULT IDirectDrawVideo_SetDirectDraw(IDirectDrawVideo* This,IDirectDraw *ddraw) { + return This->lpVtbl->SetDirectDraw(This,ddraw); +} +static FORCEINLINE HRESULT IDirectDrawVideo_GetDirectDraw(IDirectDrawVideo* This,IDirectDraw **ddraw) { + return This->lpVtbl->GetDirectDraw(This,ddraw); +} +static FORCEINLINE HRESULT IDirectDrawVideo_GetSurfaceType(IDirectDrawVideo* This,DWORD *pSurfaceType) { + return This->lpVtbl->GetSurfaceType(This,pSurfaceType); +} +static FORCEINLINE HRESULT IDirectDrawVideo_SetDefault(IDirectDrawVideo* This) { + return This->lpVtbl->SetDefault(This); +} +static FORCEINLINE HRESULT IDirectDrawVideo_UseScanLine(IDirectDrawVideo* This,LONG UseScanLine) { + return This->lpVtbl->UseScanLine(This,UseScanLine); +} +static FORCEINLINE HRESULT IDirectDrawVideo_CanUseScanLine(IDirectDrawVideo* This,LONG *UseScanLine) { + return This->lpVtbl->CanUseScanLine(This,UseScanLine); +} +static FORCEINLINE HRESULT IDirectDrawVideo_UseOverlayStretch(IDirectDrawVideo* This,LONG UseOverlayStretch) { + return This->lpVtbl->UseOverlayStretch(This,UseOverlayStretch); +} +static FORCEINLINE HRESULT IDirectDrawVideo_CanUseOverlayStretch(IDirectDrawVideo* This,LONG *UseOverlayStretch) { + return This->lpVtbl->CanUseOverlayStretch(This,UseOverlayStretch); +} +static FORCEINLINE HRESULT IDirectDrawVideo_UseWhenFullScreen(IDirectDrawVideo* This,LONG UseWhenFullScreen) { + return This->lpVtbl->UseWhenFullScreen(This,UseWhenFullScreen); +} +static FORCEINLINE HRESULT IDirectDrawVideo_WillUseFullScreen(IDirectDrawVideo* This,LONG *UseWhenFullScreen) { + return This->lpVtbl->WillUseFullScreen(This,UseWhenFullScreen); +} +#endif +#endif + +#endif + + +#endif /* __IDirectDrawVideo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IQualProp interface + */ +#ifndef __IQualProp_INTERFACE_DEFINED__ +#define __IQualProp_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IQualProp : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_FramesDroppedInRenderer( + int *pcFrames) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FramesDrawn( + int *pcFramesDrawn) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AvgFrameRate( + int *piAvgFrameRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Jitter( + int *iJitter) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AvgSyncOffset( + int *piAvg) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DevSyncOffset( + int *piDev) = 0; + +}; +#else +typedef struct IQualPropVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IQualProp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IQualProp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IQualProp *This); + + /*** IQualProp methods ***/ + HRESULT (STDMETHODCALLTYPE *get_FramesDroppedInRenderer)( + IQualProp *This, + int *pcFrames); + + HRESULT (STDMETHODCALLTYPE *get_FramesDrawn)( + IQualProp *This, + int *pcFramesDrawn); + + HRESULT (STDMETHODCALLTYPE *get_AvgFrameRate)( + IQualProp *This, + int *piAvgFrameRate); + + HRESULT (STDMETHODCALLTYPE *get_Jitter)( + IQualProp *This, + int *iJitter); + + HRESULT (STDMETHODCALLTYPE *get_AvgSyncOffset)( + IQualProp *This, + int *piAvg); + + HRESULT (STDMETHODCALLTYPE *get_DevSyncOffset)( + IQualProp *This, + int *piDev); + + END_INTERFACE +} IQualPropVtbl; + +interface IQualProp { + CONST_VTBL IQualPropVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IQualProp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IQualProp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IQualProp_Release(This) (This)->lpVtbl->Release(This) +/*** IQualProp methods ***/ +#define IQualProp_get_FramesDroppedInRenderer(This,pcFrames) (This)->lpVtbl->get_FramesDroppedInRenderer(This,pcFrames) +#define IQualProp_get_FramesDrawn(This,pcFramesDrawn) (This)->lpVtbl->get_FramesDrawn(This,pcFramesDrawn) +#define IQualProp_get_AvgFrameRate(This,piAvgFrameRate) (This)->lpVtbl->get_AvgFrameRate(This,piAvgFrameRate) +#define IQualProp_get_Jitter(This,iJitter) (This)->lpVtbl->get_Jitter(This,iJitter) +#define IQualProp_get_AvgSyncOffset(This,piAvg) (This)->lpVtbl->get_AvgSyncOffset(This,piAvg) +#define IQualProp_get_DevSyncOffset(This,piDev) (This)->lpVtbl->get_DevSyncOffset(This,piDev) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IQualProp_QueryInterface(IQualProp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IQualProp_AddRef(IQualProp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IQualProp_Release(IQualProp* This) { + return This->lpVtbl->Release(This); +} +/*** IQualProp methods ***/ +static FORCEINLINE HRESULT IQualProp_get_FramesDroppedInRenderer(IQualProp* This,int *pcFrames) { + return This->lpVtbl->get_FramesDroppedInRenderer(This,pcFrames); +} +static FORCEINLINE HRESULT IQualProp_get_FramesDrawn(IQualProp* This,int *pcFramesDrawn) { + return This->lpVtbl->get_FramesDrawn(This,pcFramesDrawn); +} +static FORCEINLINE HRESULT IQualProp_get_AvgFrameRate(IQualProp* This,int *piAvgFrameRate) { + return This->lpVtbl->get_AvgFrameRate(This,piAvgFrameRate); +} +static FORCEINLINE HRESULT IQualProp_get_Jitter(IQualProp* This,int *iJitter) { + return This->lpVtbl->get_Jitter(This,iJitter); +} +static FORCEINLINE HRESULT IQualProp_get_AvgSyncOffset(IQualProp* This,int *piAvg) { + return This->lpVtbl->get_AvgSyncOffset(This,piAvg); +} +static FORCEINLINE HRESULT IQualProp_get_DevSyncOffset(IQualProp* This,int *piDev) { + return This->lpVtbl->get_DevSyncOffset(This,piDev); +} +#endif +#endif + +#endif + + +#endif /* __IQualProp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFullScreenVideo interface + */ +#ifndef __IFullScreenVideo_INTERFACE_DEFINED__ +#define __IFullScreenVideo_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IFullScreenVideo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CountModes( + LONG *pModes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetModeInfo( + LONG Mode, + LONG *pWidth, + LONG *pHeight, + LONG *pDepth) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentMode( + LONG *pMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsModeAvailable( + LONG Mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsModeEnabled( + LONG Mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnabled( + LONG Mode, + LONG bEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClipFactor( + LONG *pClipFactor) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClipFactor( + LONG ClipFactor) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMessageDrain( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessageDrain( + HWND *hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMonitor( + LONG Monitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMonitor( + LONG *Monitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE HideOnDeactivate( + LONG Hide) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsHideOnDeactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCaption( + BSTR strCaption) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCaption( + BSTR *pstrCaption) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefault( + ) = 0; + +}; +#else +typedef struct IFullScreenVideoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFullScreenVideo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFullScreenVideo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFullScreenVideo *This); + + /*** IFullScreenVideo methods ***/ + HRESULT (STDMETHODCALLTYPE *CountModes)( + IFullScreenVideo *This, + LONG *pModes); + + HRESULT (STDMETHODCALLTYPE *GetModeInfo)( + IFullScreenVideo *This, + LONG Mode, + LONG *pWidth, + LONG *pHeight, + LONG *pDepth); + + HRESULT (STDMETHODCALLTYPE *GetCurrentMode)( + IFullScreenVideo *This, + LONG *pMode); + + HRESULT (STDMETHODCALLTYPE *IsModeAvailable)( + IFullScreenVideo *This, + LONG Mode); + + HRESULT (STDMETHODCALLTYPE *IsModeEnabled)( + IFullScreenVideo *This, + LONG Mode); + + HRESULT (STDMETHODCALLTYPE *SetEnabled)( + IFullScreenVideo *This, + LONG Mode, + LONG bEnabled); + + HRESULT (STDMETHODCALLTYPE *GetClipFactor)( + IFullScreenVideo *This, + LONG *pClipFactor); + + HRESULT (STDMETHODCALLTYPE *SetClipFactor)( + IFullScreenVideo *This, + LONG ClipFactor); + + HRESULT (STDMETHODCALLTYPE *SetMessageDrain)( + IFullScreenVideo *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *GetMessageDrain)( + IFullScreenVideo *This, + HWND *hwnd); + + HRESULT (STDMETHODCALLTYPE *SetMonitor)( + IFullScreenVideo *This, + LONG Monitor); + + HRESULT (STDMETHODCALLTYPE *GetMonitor)( + IFullScreenVideo *This, + LONG *Monitor); + + HRESULT (STDMETHODCALLTYPE *HideOnDeactivate)( + IFullScreenVideo *This, + LONG Hide); + + HRESULT (STDMETHODCALLTYPE *IsHideOnDeactivate)( + IFullScreenVideo *This); + + HRESULT (STDMETHODCALLTYPE *SetCaption)( + IFullScreenVideo *This, + BSTR strCaption); + + HRESULT (STDMETHODCALLTYPE *GetCaption)( + IFullScreenVideo *This, + BSTR *pstrCaption); + + HRESULT (STDMETHODCALLTYPE *SetDefault)( + IFullScreenVideo *This); + + END_INTERFACE +} IFullScreenVideoVtbl; + +interface IFullScreenVideo { + CONST_VTBL IFullScreenVideoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFullScreenVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFullScreenVideo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFullScreenVideo_Release(This) (This)->lpVtbl->Release(This) +/*** IFullScreenVideo methods ***/ +#define IFullScreenVideo_CountModes(This,pModes) (This)->lpVtbl->CountModes(This,pModes) +#define IFullScreenVideo_GetModeInfo(This,Mode,pWidth,pHeight,pDepth) (This)->lpVtbl->GetModeInfo(This,Mode,pWidth,pHeight,pDepth) +#define IFullScreenVideo_GetCurrentMode(This,pMode) (This)->lpVtbl->GetCurrentMode(This,pMode) +#define IFullScreenVideo_IsModeAvailable(This,Mode) (This)->lpVtbl->IsModeAvailable(This,Mode) +#define IFullScreenVideo_IsModeEnabled(This,Mode) (This)->lpVtbl->IsModeEnabled(This,Mode) +#define IFullScreenVideo_SetEnabled(This,Mode,bEnabled) (This)->lpVtbl->SetEnabled(This,Mode,bEnabled) +#define IFullScreenVideo_GetClipFactor(This,pClipFactor) (This)->lpVtbl->GetClipFactor(This,pClipFactor) +#define IFullScreenVideo_SetClipFactor(This,ClipFactor) (This)->lpVtbl->SetClipFactor(This,ClipFactor) +#define IFullScreenVideo_SetMessageDrain(This,hwnd) (This)->lpVtbl->SetMessageDrain(This,hwnd) +#define IFullScreenVideo_GetMessageDrain(This,hwnd) (This)->lpVtbl->GetMessageDrain(This,hwnd) +#define IFullScreenVideo_SetMonitor(This,Monitor) (This)->lpVtbl->SetMonitor(This,Monitor) +#define IFullScreenVideo_GetMonitor(This,Monitor) (This)->lpVtbl->GetMonitor(This,Monitor) +#define IFullScreenVideo_HideOnDeactivate(This,Hide) (This)->lpVtbl->HideOnDeactivate(This,Hide) +#define IFullScreenVideo_IsHideOnDeactivate(This) (This)->lpVtbl->IsHideOnDeactivate(This) +#define IFullScreenVideo_SetCaption(This,strCaption) (This)->lpVtbl->SetCaption(This,strCaption) +#define IFullScreenVideo_GetCaption(This,pstrCaption) (This)->lpVtbl->GetCaption(This,pstrCaption) +#define IFullScreenVideo_SetDefault(This) (This)->lpVtbl->SetDefault(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFullScreenVideo_QueryInterface(IFullScreenVideo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFullScreenVideo_AddRef(IFullScreenVideo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFullScreenVideo_Release(IFullScreenVideo* This) { + return This->lpVtbl->Release(This); +} +/*** IFullScreenVideo methods ***/ +static FORCEINLINE HRESULT IFullScreenVideo_CountModes(IFullScreenVideo* This,LONG *pModes) { + return This->lpVtbl->CountModes(This,pModes); +} +static FORCEINLINE HRESULT IFullScreenVideo_GetModeInfo(IFullScreenVideo* This,LONG Mode,LONG *pWidth,LONG *pHeight,LONG *pDepth) { + return This->lpVtbl->GetModeInfo(This,Mode,pWidth,pHeight,pDepth); +} +static FORCEINLINE HRESULT IFullScreenVideo_GetCurrentMode(IFullScreenVideo* This,LONG *pMode) { + return This->lpVtbl->GetCurrentMode(This,pMode); +} +static FORCEINLINE HRESULT IFullScreenVideo_IsModeAvailable(IFullScreenVideo* This,LONG Mode) { + return This->lpVtbl->IsModeAvailable(This,Mode); +} +static FORCEINLINE HRESULT IFullScreenVideo_IsModeEnabled(IFullScreenVideo* This,LONG Mode) { + return This->lpVtbl->IsModeEnabled(This,Mode); +} +static FORCEINLINE HRESULT IFullScreenVideo_SetEnabled(IFullScreenVideo* This,LONG Mode,LONG bEnabled) { + return This->lpVtbl->SetEnabled(This,Mode,bEnabled); +} +static FORCEINLINE HRESULT IFullScreenVideo_GetClipFactor(IFullScreenVideo* This,LONG *pClipFactor) { + return This->lpVtbl->GetClipFactor(This,pClipFactor); +} +static FORCEINLINE HRESULT IFullScreenVideo_SetClipFactor(IFullScreenVideo* This,LONG ClipFactor) { + return This->lpVtbl->SetClipFactor(This,ClipFactor); +} +static FORCEINLINE HRESULT IFullScreenVideo_SetMessageDrain(IFullScreenVideo* This,HWND hwnd) { + return This->lpVtbl->SetMessageDrain(This,hwnd); +} +static FORCEINLINE HRESULT IFullScreenVideo_GetMessageDrain(IFullScreenVideo* This,HWND *hwnd) { + return This->lpVtbl->GetMessageDrain(This,hwnd); +} +static FORCEINLINE HRESULT IFullScreenVideo_SetMonitor(IFullScreenVideo* This,LONG Monitor) { + return This->lpVtbl->SetMonitor(This,Monitor); +} +static FORCEINLINE HRESULT IFullScreenVideo_GetMonitor(IFullScreenVideo* This,LONG *Monitor) { + return This->lpVtbl->GetMonitor(This,Monitor); +} +static FORCEINLINE HRESULT IFullScreenVideo_HideOnDeactivate(IFullScreenVideo* This,LONG Hide) { + return This->lpVtbl->HideOnDeactivate(This,Hide); +} +static FORCEINLINE HRESULT IFullScreenVideo_IsHideOnDeactivate(IFullScreenVideo* This) { + return This->lpVtbl->IsHideOnDeactivate(This); +} +static FORCEINLINE HRESULT IFullScreenVideo_SetCaption(IFullScreenVideo* This,BSTR strCaption) { + return This->lpVtbl->SetCaption(This,strCaption); +} +static FORCEINLINE HRESULT IFullScreenVideo_GetCaption(IFullScreenVideo* This,BSTR *pstrCaption) { + return This->lpVtbl->GetCaption(This,pstrCaption); +} +static FORCEINLINE HRESULT IFullScreenVideo_SetDefault(IFullScreenVideo* This) { + return This->lpVtbl->SetDefault(This); +} +#endif +#endif + +#endif + + +#endif /* __IFullScreenVideo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFullScreenVideoEx interface + */ +#ifndef __IFullScreenVideoEx_INTERFACE_DEFINED__ +#define __IFullScreenVideoEx_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IFullScreenVideoEx : public IFullScreenVideo +{ + virtual HRESULT STDMETHODCALLTYPE SetAcceleratorTable( + HWND hwnd, + HACCEL hAccel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAcceleratorTable( + HWND *phwnd, + HACCEL *phAccel) = 0; + + virtual HRESULT STDMETHODCALLTYPE KeepPixelAspectRatio( + LONG KeepAspect) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsKeepPixelAspectRatio( + LONG *pKeepAspect) = 0; + +}; +#else +typedef struct IFullScreenVideoExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFullScreenVideoEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFullScreenVideoEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFullScreenVideoEx *This); + + /*** IFullScreenVideo methods ***/ + HRESULT (STDMETHODCALLTYPE *CountModes)( + IFullScreenVideoEx *This, + LONG *pModes); + + HRESULT (STDMETHODCALLTYPE *GetModeInfo)( + IFullScreenVideoEx *This, + LONG Mode, + LONG *pWidth, + LONG *pHeight, + LONG *pDepth); + + HRESULT (STDMETHODCALLTYPE *GetCurrentMode)( + IFullScreenVideoEx *This, + LONG *pMode); + + HRESULT (STDMETHODCALLTYPE *IsModeAvailable)( + IFullScreenVideoEx *This, + LONG Mode); + + HRESULT (STDMETHODCALLTYPE *IsModeEnabled)( + IFullScreenVideoEx *This, + LONG Mode); + + HRESULT (STDMETHODCALLTYPE *SetEnabled)( + IFullScreenVideoEx *This, + LONG Mode, + LONG bEnabled); + + HRESULT (STDMETHODCALLTYPE *GetClipFactor)( + IFullScreenVideoEx *This, + LONG *pClipFactor); + + HRESULT (STDMETHODCALLTYPE *SetClipFactor)( + IFullScreenVideoEx *This, + LONG ClipFactor); + + HRESULT (STDMETHODCALLTYPE *SetMessageDrain)( + IFullScreenVideoEx *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *GetMessageDrain)( + IFullScreenVideoEx *This, + HWND *hwnd); + + HRESULT (STDMETHODCALLTYPE *SetMonitor)( + IFullScreenVideoEx *This, + LONG Monitor); + + HRESULT (STDMETHODCALLTYPE *GetMonitor)( + IFullScreenVideoEx *This, + LONG *Monitor); + + HRESULT (STDMETHODCALLTYPE *HideOnDeactivate)( + IFullScreenVideoEx *This, + LONG Hide); + + HRESULT (STDMETHODCALLTYPE *IsHideOnDeactivate)( + IFullScreenVideoEx *This); + + HRESULT (STDMETHODCALLTYPE *SetCaption)( + IFullScreenVideoEx *This, + BSTR strCaption); + + HRESULT (STDMETHODCALLTYPE *GetCaption)( + IFullScreenVideoEx *This, + BSTR *pstrCaption); + + HRESULT (STDMETHODCALLTYPE *SetDefault)( + IFullScreenVideoEx *This); + + /*** IFullScreenVideoEx methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAcceleratorTable)( + IFullScreenVideoEx *This, + HWND hwnd, + HACCEL hAccel); + + HRESULT (STDMETHODCALLTYPE *GetAcceleratorTable)( + IFullScreenVideoEx *This, + HWND *phwnd, + HACCEL *phAccel); + + HRESULT (STDMETHODCALLTYPE *KeepPixelAspectRatio)( + IFullScreenVideoEx *This, + LONG KeepAspect); + + HRESULT (STDMETHODCALLTYPE *IsKeepPixelAspectRatio)( + IFullScreenVideoEx *This, + LONG *pKeepAspect); + + END_INTERFACE +} IFullScreenVideoExVtbl; + +interface IFullScreenVideoEx { + CONST_VTBL IFullScreenVideoExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFullScreenVideoEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFullScreenVideoEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFullScreenVideoEx_Release(This) (This)->lpVtbl->Release(This) +/*** IFullScreenVideo methods ***/ +#define IFullScreenVideoEx_CountModes(This,pModes) (This)->lpVtbl->CountModes(This,pModes) +#define IFullScreenVideoEx_GetModeInfo(This,Mode,pWidth,pHeight,pDepth) (This)->lpVtbl->GetModeInfo(This,Mode,pWidth,pHeight,pDepth) +#define IFullScreenVideoEx_GetCurrentMode(This,pMode) (This)->lpVtbl->GetCurrentMode(This,pMode) +#define IFullScreenVideoEx_IsModeAvailable(This,Mode) (This)->lpVtbl->IsModeAvailable(This,Mode) +#define IFullScreenVideoEx_IsModeEnabled(This,Mode) (This)->lpVtbl->IsModeEnabled(This,Mode) +#define IFullScreenVideoEx_SetEnabled(This,Mode,bEnabled) (This)->lpVtbl->SetEnabled(This,Mode,bEnabled) +#define IFullScreenVideoEx_GetClipFactor(This,pClipFactor) (This)->lpVtbl->GetClipFactor(This,pClipFactor) +#define IFullScreenVideoEx_SetClipFactor(This,ClipFactor) (This)->lpVtbl->SetClipFactor(This,ClipFactor) +#define IFullScreenVideoEx_SetMessageDrain(This,hwnd) (This)->lpVtbl->SetMessageDrain(This,hwnd) +#define IFullScreenVideoEx_GetMessageDrain(This,hwnd) (This)->lpVtbl->GetMessageDrain(This,hwnd) +#define IFullScreenVideoEx_SetMonitor(This,Monitor) (This)->lpVtbl->SetMonitor(This,Monitor) +#define IFullScreenVideoEx_GetMonitor(This,Monitor) (This)->lpVtbl->GetMonitor(This,Monitor) +#define IFullScreenVideoEx_HideOnDeactivate(This,Hide) (This)->lpVtbl->HideOnDeactivate(This,Hide) +#define IFullScreenVideoEx_IsHideOnDeactivate(This) (This)->lpVtbl->IsHideOnDeactivate(This) +#define IFullScreenVideoEx_SetCaption(This,strCaption) (This)->lpVtbl->SetCaption(This,strCaption) +#define IFullScreenVideoEx_GetCaption(This,pstrCaption) (This)->lpVtbl->GetCaption(This,pstrCaption) +#define IFullScreenVideoEx_SetDefault(This) (This)->lpVtbl->SetDefault(This) +/*** IFullScreenVideoEx methods ***/ +#define IFullScreenVideoEx_SetAcceleratorTable(This,hwnd,hAccel) (This)->lpVtbl->SetAcceleratorTable(This,hwnd,hAccel) +#define IFullScreenVideoEx_GetAcceleratorTable(This,phwnd,phAccel) (This)->lpVtbl->GetAcceleratorTable(This,phwnd,phAccel) +#define IFullScreenVideoEx_KeepPixelAspectRatio(This,KeepAspect) (This)->lpVtbl->KeepPixelAspectRatio(This,KeepAspect) +#define IFullScreenVideoEx_IsKeepPixelAspectRatio(This,pKeepAspect) (This)->lpVtbl->IsKeepPixelAspectRatio(This,pKeepAspect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFullScreenVideoEx_QueryInterface(IFullScreenVideoEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFullScreenVideoEx_AddRef(IFullScreenVideoEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFullScreenVideoEx_Release(IFullScreenVideoEx* This) { + return This->lpVtbl->Release(This); +} +/*** IFullScreenVideo methods ***/ +static FORCEINLINE HRESULT IFullScreenVideoEx_CountModes(IFullScreenVideoEx* This,LONG *pModes) { + return This->lpVtbl->CountModes(This,pModes); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetModeInfo(IFullScreenVideoEx* This,LONG Mode,LONG *pWidth,LONG *pHeight,LONG *pDepth) { + return This->lpVtbl->GetModeInfo(This,Mode,pWidth,pHeight,pDepth); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetCurrentMode(IFullScreenVideoEx* This,LONG *pMode) { + return This->lpVtbl->GetCurrentMode(This,pMode); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_IsModeAvailable(IFullScreenVideoEx* This,LONG Mode) { + return This->lpVtbl->IsModeAvailable(This,Mode); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_IsModeEnabled(IFullScreenVideoEx* This,LONG Mode) { + return This->lpVtbl->IsModeEnabled(This,Mode); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_SetEnabled(IFullScreenVideoEx* This,LONG Mode,LONG bEnabled) { + return This->lpVtbl->SetEnabled(This,Mode,bEnabled); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetClipFactor(IFullScreenVideoEx* This,LONG *pClipFactor) { + return This->lpVtbl->GetClipFactor(This,pClipFactor); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_SetClipFactor(IFullScreenVideoEx* This,LONG ClipFactor) { + return This->lpVtbl->SetClipFactor(This,ClipFactor); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_SetMessageDrain(IFullScreenVideoEx* This,HWND hwnd) { + return This->lpVtbl->SetMessageDrain(This,hwnd); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetMessageDrain(IFullScreenVideoEx* This,HWND *hwnd) { + return This->lpVtbl->GetMessageDrain(This,hwnd); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_SetMonitor(IFullScreenVideoEx* This,LONG Monitor) { + return This->lpVtbl->SetMonitor(This,Monitor); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetMonitor(IFullScreenVideoEx* This,LONG *Monitor) { + return This->lpVtbl->GetMonitor(This,Monitor); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_HideOnDeactivate(IFullScreenVideoEx* This,LONG Hide) { + return This->lpVtbl->HideOnDeactivate(This,Hide); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_IsHideOnDeactivate(IFullScreenVideoEx* This) { + return This->lpVtbl->IsHideOnDeactivate(This); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_SetCaption(IFullScreenVideoEx* This,BSTR strCaption) { + return This->lpVtbl->SetCaption(This,strCaption); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetCaption(IFullScreenVideoEx* This,BSTR *pstrCaption) { + return This->lpVtbl->GetCaption(This,pstrCaption); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_SetDefault(IFullScreenVideoEx* This) { + return This->lpVtbl->SetDefault(This); +} +/*** IFullScreenVideoEx methods ***/ +static FORCEINLINE HRESULT IFullScreenVideoEx_SetAcceleratorTable(IFullScreenVideoEx* This,HWND hwnd,HACCEL hAccel) { + return This->lpVtbl->SetAcceleratorTable(This,hwnd,hAccel); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_GetAcceleratorTable(IFullScreenVideoEx* This,HWND *phwnd,HACCEL *phAccel) { + return This->lpVtbl->GetAcceleratorTable(This,phwnd,phAccel); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_KeepPixelAspectRatio(IFullScreenVideoEx* This,LONG KeepAspect) { + return This->lpVtbl->KeepPixelAspectRatio(This,KeepAspect); +} +static FORCEINLINE HRESULT IFullScreenVideoEx_IsKeepPixelAspectRatio(IFullScreenVideoEx* This,LONG *pKeepAspect) { + return This->lpVtbl->IsKeepPixelAspectRatio(This,pKeepAspect); +} +#endif +#endif + +#endif + + +#endif /* __IFullScreenVideoEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBaseVideoMixer interface + */ +#ifndef __IBaseVideoMixer_INTERFACE_DEFINED__ +#define __IBaseVideoMixer_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IBaseVideoMixer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetLeadPin( + int iPin) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLeadPin( + int *piPin) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputPinCount( + int *piPinCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUsingClock( + int *pbValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUsingClock( + int bValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClockPeriod( + int *pbValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClockPeriod( + int bValue) = 0; + +}; +#else +typedef struct IBaseVideoMixerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBaseVideoMixer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBaseVideoMixer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBaseVideoMixer *This); + + /*** IBaseVideoMixer methods ***/ + HRESULT (STDMETHODCALLTYPE *SetLeadPin)( + IBaseVideoMixer *This, + int iPin); + + HRESULT (STDMETHODCALLTYPE *GetLeadPin)( + IBaseVideoMixer *This, + int *piPin); + + HRESULT (STDMETHODCALLTYPE *GetInputPinCount)( + IBaseVideoMixer *This, + int *piPinCount); + + HRESULT (STDMETHODCALLTYPE *IsUsingClock)( + IBaseVideoMixer *This, + int *pbValue); + + HRESULT (STDMETHODCALLTYPE *SetUsingClock)( + IBaseVideoMixer *This, + int bValue); + + HRESULT (STDMETHODCALLTYPE *GetClockPeriod)( + IBaseVideoMixer *This, + int *pbValue); + + HRESULT (STDMETHODCALLTYPE *SetClockPeriod)( + IBaseVideoMixer *This, + int bValue); + + END_INTERFACE +} IBaseVideoMixerVtbl; + +interface IBaseVideoMixer { + CONST_VTBL IBaseVideoMixerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBaseVideoMixer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBaseVideoMixer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBaseVideoMixer_Release(This) (This)->lpVtbl->Release(This) +/*** IBaseVideoMixer methods ***/ +#define IBaseVideoMixer_SetLeadPin(This,iPin) (This)->lpVtbl->SetLeadPin(This,iPin) +#define IBaseVideoMixer_GetLeadPin(This,piPin) (This)->lpVtbl->GetLeadPin(This,piPin) +#define IBaseVideoMixer_GetInputPinCount(This,piPinCount) (This)->lpVtbl->GetInputPinCount(This,piPinCount) +#define IBaseVideoMixer_IsUsingClock(This,pbValue) (This)->lpVtbl->IsUsingClock(This,pbValue) +#define IBaseVideoMixer_SetUsingClock(This,bValue) (This)->lpVtbl->SetUsingClock(This,bValue) +#define IBaseVideoMixer_GetClockPeriod(This,pbValue) (This)->lpVtbl->GetClockPeriod(This,pbValue) +#define IBaseVideoMixer_SetClockPeriod(This,bValue) (This)->lpVtbl->SetClockPeriod(This,bValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBaseVideoMixer_QueryInterface(IBaseVideoMixer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBaseVideoMixer_AddRef(IBaseVideoMixer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBaseVideoMixer_Release(IBaseVideoMixer* This) { + return This->lpVtbl->Release(This); +} +/*** IBaseVideoMixer methods ***/ +static FORCEINLINE HRESULT IBaseVideoMixer_SetLeadPin(IBaseVideoMixer* This,int iPin) { + return This->lpVtbl->SetLeadPin(This,iPin); +} +static FORCEINLINE HRESULT IBaseVideoMixer_GetLeadPin(IBaseVideoMixer* This,int *piPin) { + return This->lpVtbl->GetLeadPin(This,piPin); +} +static FORCEINLINE HRESULT IBaseVideoMixer_GetInputPinCount(IBaseVideoMixer* This,int *piPinCount) { + return This->lpVtbl->GetInputPinCount(This,piPinCount); +} +static FORCEINLINE HRESULT IBaseVideoMixer_IsUsingClock(IBaseVideoMixer* This,int *pbValue) { + return This->lpVtbl->IsUsingClock(This,pbValue); +} +static FORCEINLINE HRESULT IBaseVideoMixer_SetUsingClock(IBaseVideoMixer* This,int bValue) { + return This->lpVtbl->SetUsingClock(This,bValue); +} +static FORCEINLINE HRESULT IBaseVideoMixer_GetClockPeriod(IBaseVideoMixer* This,int *pbValue) { + return This->lpVtbl->GetClockPeriod(This,pbValue); +} +static FORCEINLINE HRESULT IBaseVideoMixer_SetClockPeriod(IBaseVideoMixer* This,int bValue) { + return This->lpVtbl->SetClockPeriod(This,bValue); +} +#endif +#endif + +#endif + + +#endif /* __IBaseVideoMixer_INTERFACE_DEFINED__ */ + +#define iPALETTE_COLORS 256 +#define iEGA_COLORS 16 +#define iMASK_COLORS 3 +#define iTRUECOLOR 16 +#define iRED 0 +#define iGREEN 1 +#define iBLUE 2 +#define iPALETTE 8 +#define iMAXBITS 8 +typedef struct tag_TRUECOLORINFO { + DWORD dwBitMasks[3]; + RGBQUAD bmiColors[256]; +} TRUECOLORINFO; +typedef struct tagVIDEOINFOHEADER { + RECT rcSource; + RECT rcTarget; + DWORD dwBitRate; + DWORD dwBitErrorRate; + REFERENCE_TIME AvgTimePerFrame; + BITMAPINFOHEADER bmiHeader; +} VIDEOINFOHEADER; +typedef struct tagVIDEOINFO { + RECT rcSource; + RECT rcTarget; + DWORD dwBitRate; + DWORD dwBitErrorRate; + REFERENCE_TIME AvgTimePerFrame; + BITMAPINFOHEADER bmiHeader; + __C89_NAMELESS union { + RGBQUAD bmiColors[256]; + DWORD dwBitMasks[3]; + TRUECOLORINFO TrueColorInfo; + } __C89_NAMELESSUNIONNAME; +} VIDEOINFO; +typedef struct tagMPEG1VIDEOINFO { + VIDEOINFOHEADER hdr; + DWORD dwStartTimeCode; + DWORD cbSequenceHeader; + BYTE bSequenceHeader[1]; +} MPEG1VIDEOINFO; +#define MAX_SIZE_MPEG1_SEQUENCE_INFO 140 +#define MPEG1_SEQUENCE_INFO(pv) ((const BYTE *)(pv)->bSequenceHeader) +typedef struct tagAnalogVideoInfo { + RECT rcSource; + RECT rcTarget; + DWORD dwActiveWidth; + DWORD dwActiveHeight; + REFERENCE_TIME AvgTimePerFrame; +} ANALOGVIDEOINFO; +typedef enum __WIDL_amvideo_generated_name_00000003 { + AM_PROPERTY_FRAMESTEP_STEP = 0x1, + AM_PROPERTY_FRAMESTEP_CANCEL = 0x2, + AM_PROPERTY_FRAMESTEP_CANSTEP = 0x3, + AM_PROPERTY_FRAMESTEP_CANSTEPMULTIPLE = 0x4 +} AM_PROPERTY_FRAMESTEP; +typedef struct _AM_FRAMESTEP_STEP { + DWORD dwFramesToStep; +} AM_FRAMESTEP_STEP; +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __amvideo_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amvideo.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amvideo.idl new file mode 100644 index 0000000..f3dc45f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/amvideo.idl @@ -0,0 +1,241 @@ +/* + * Copyright (C) 2003 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + +/* trick widl into thinking that it knows the DirectDraw types + * as there is no IDL file for them (yet) */ +cpp_quote("#if 0") +interface IDirectDraw; +typedef void DDSURFACEDESC,DDCAPS; +typedef DWORD RGBQUAD; +typedef LONGLONG REFERENCE_TIME; +typedef struct +{ + DWORD biSize; + LONG biWidth; + LONG biHeight; + WORD biPlanes; + WORD biBitCount; + DWORD biCompression; + DWORD biSizeImage; + LONG biXPelsPerMeter; + LONG biYPelsPerMeter; + DWORD biClrUsed; + DWORD biClrImportant; +} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER; +cpp_quote("#endif") + +cpp_quote("#include ") + +cpp_quote("#define AMDDS_NONE 0x00") +cpp_quote("#define AMDDS_DCIPS 0x01") +cpp_quote("#define AMDDS_PS 0x02") +cpp_quote("#define AMDDS_RGBOVR 0x04") +cpp_quote("#define AMDDS_YUVOVR 0x08") +cpp_quote("#define AMDDS_RGBOFF 0x10") +cpp_quote("#define AMDDS_YUVOFF 0x20") +cpp_quote("#define AMDDS_RGBFLP 0x40") +cpp_quote("#define AMDDS_YUVFLP 0x80") +cpp_quote("#define AMDDS_ALL 0xFF") +cpp_quote("#define AMDDS_DEFAULT AMDDS_ALL") + +cpp_quote("#define AMDDS_YUV (AMDDS_YUVOFF | AMDDS_YUVOVR | AMDDS_YUVFLP)") +cpp_quote("#define AMDDS_RGB (AMDDS_RGBOFF | AMDDS_RGBOVR | AMDDS_RGBFLP)") +cpp_quote("#define AMDSS_PRIMARY (AMDDS_DCIPS | AMDDS_PS)") + +[ + object, + /* uuid(36d39eb0-dd75-11ce-bf0e-00aa0055595a) conflicts with uuids.h */ + pointer_default(unique), + local +] +interface IDirectDrawVideo : IUnknown +{ + HRESULT GetSwitches([out] DWORD * pSwitches); + HRESULT SetSwitches([in] DWORD Switches); + HRESULT GetCaps([out] DDCAPS * pCaps); + HRESULT GetEmulatedCaps([out] DDCAPS *pCaps); + HRESULT GetSurfaceDesc([out] DDSURFACEDESC * pSurfaceDesc); + HRESULT GetFourCCCodes([out] DWORD * pCount, [out] DWORD * pCodes); + HRESULT SetDirectDraw([in] IDirectDraw *ddraw); + HRESULT GetDirectDraw([out] IDirectDraw **ddraw); + HRESULT GetSurfaceType([out] DWORD * pSurfaceType); + HRESULT SetDefault(); + HRESULT UseScanLine([in] long UseScanLine); + HRESULT CanUseScanLine([out] long * UseScanLine); + HRESULT UseOverlayStretch([in] long UseOverlayStretch); + HRESULT CanUseOverlayStretch([out] long * UseOverlayStretch); + HRESULT UseWhenFullScreen([in] long UseWhenFullScreen); + HRESULT WillUseFullScreen([out] long * UseWhenFullScreen); +} + +[ + object, + /* uuid(1bd0ecb0-f8e2-11ce-aac6-0020af0b99a3) conflicts with uuids.h */ + pointer_default(unique), + local +] +interface IQualProp : IUnknown +{ + [propget] HRESULT FramesDroppedInRenderer([out] int * pcFrames); + [propget] HRESULT FramesDrawn([out] int * pcFramesDrawn); + [propget] HRESULT AvgFrameRate([out] int * piAvgFrameRate); + [propget] HRESULT Jitter([out] int * iJitter); + [propget] HRESULT AvgSyncOffset([out] int * piAvg); + [propget] HRESULT DevSyncOffset([out] int * piDev); +} + +[ + object, + /* uuid(dd1d7110-7836-11cf-bf47-00aa0055595a) conflicts with uuids.h */ + pointer_default(unique) +] +interface IFullScreenVideo : IUnknown +{ + HRESULT CountModes([out] long * pModes); + HRESULT GetModeInfo([in] long Mode, [out] long * pWidth, [out] long * pHeight, [out] long * pDepth); + HRESULT GetCurrentMode([out] long * pMode); + HRESULT IsModeAvailable([in] long Mode); + HRESULT IsModeEnabled([in] long Mode); + HRESULT SetEnabled([in] long Mode, [in] long bEnabled); + HRESULT GetClipFactor([out] long * pClipFactor); + HRESULT SetClipFactor([in] long ClipFactor); + HRESULT SetMessageDrain([in] HWND hwnd); + HRESULT GetMessageDrain([out] HWND * hwnd); + HRESULT SetMonitor([in] long Monitor); + HRESULT GetMonitor([out] long * Monitor); + HRESULT HideOnDeactivate([in] long Hide); + HRESULT IsHideOnDeactivate(); + HRESULT SetCaption([in] BSTR strCaption); + HRESULT GetCaption([out] BSTR * pstrCaption); + HRESULT SetDefault(); +} + +[ + object, + /* uuid(53479470-f1dd-11cf-bc42-00aa00ac74f6) conflicts with uuids.h */ + pointer_default(unique), + local +] +interface IFullScreenVideoEx : IFullScreenVideo +{ + HRESULT SetAcceleratorTable([in] HWND hwnd, [in] HACCEL hAccel); + HRESULT GetAcceleratorTable([out] HWND * phwnd, [out] HACCEL * phAccel); + HRESULT KeepPixelAspectRatio([in] long KeepAspect); + /* FIXME: not sure is this next method is an [out] */ + HRESULT IsKeepPixelAspectRatio([out] long * pKeepAspect); +} + +[ + object, + /* uuid(61ded640-e912-11ce-a099-00aa00479a58) conflicts with uuids.h */ + pointer_default(unique), + local +] +interface IBaseVideoMixer : IUnknown +{ + HRESULT SetLeadPin([in] int iPin); + HRESULT GetLeadPin([out] int * piPin); + HRESULT GetInputPinCount([out] int * piPinCount); + HRESULT IsUsingClock([out] int * pbValue); + HRESULT SetUsingClock([in] int bValue); + HRESULT GetClockPeriod([out] int * pbValue); + HRESULT SetClockPeriod([in] int bValue); +} + +#define iPALETTE_COLORS 256 +#define iMASK_COLORS 3 + +cpp_quote("#define iPALETTE_COLORS 256") +cpp_quote("#define iEGA_COLORS 16") +cpp_quote("#define iMASK_COLORS 3") +cpp_quote("#define iTRUECOLOR 16") +cpp_quote("#define iRED 0") +cpp_quote("#define iGREEN 1") +cpp_quote("#define iBLUE 2") +cpp_quote("#define iPALETTE 8") +cpp_quote("#define iMAXBITS 8") + +typedef struct tag_TRUECOLORINFO +{ + DWORD dwBitMasks[iMASK_COLORS]; + RGBQUAD bmiColors[iPALETTE_COLORS]; +} TRUECOLORINFO; + +typedef struct tagVIDEOINFOHEADER +{ + RECT rcSource; + RECT rcTarget; + DWORD dwBitRate; + DWORD dwBitErrorRate; + REFERENCE_TIME AvgTimePerFrame; + + BITMAPINFOHEADER bmiHeader; +} VIDEOINFOHEADER; + +typedef struct tagVIDEOINFO +{ + RECT rcSource; + RECT rcTarget; + DWORD dwBitRate; + DWORD dwBitErrorRate; + REFERENCE_TIME AvgTimePerFrame; + + BITMAPINFOHEADER bmiHeader; + + union + { + RGBQUAD bmiColors[iPALETTE_COLORS]; + DWORD dwBitMasks[iMASK_COLORS]; + TRUECOLORINFO TrueColorInfo; + }; +} VIDEOINFO; + +typedef struct tagMPEG1VIDEOINFO +{ + VIDEOINFOHEADER hdr; + DWORD dwStartTimeCode; + DWORD cbSequenceHeader; + BYTE bSequenceHeader[1]; +} MPEG1VIDEOINFO; + +cpp_quote("#define MAX_SIZE_MPEG1_SEQUENCE_INFO 140") +cpp_quote("#define MPEG1_SEQUENCE_INFO(pv) ((const BYTE *)(pv)->bSequenceHeader)") + +typedef struct tagAnalogVideoInfo +{ + RECT rcSource; + RECT rcTarget; + DWORD dwActiveWidth; + DWORD dwActiveHeight; + REFERENCE_TIME AvgTimePerFrame; +} ANALOGVIDEOINFO; + +typedef enum +{ + AM_PROPERTY_FRAMESTEP_STEP = 0x01, + AM_PROPERTY_FRAMESTEP_CANCEL = 0x02, + AM_PROPERTY_FRAMESTEP_CANSTEP = 0x03, + AM_PROPERTY_FRAMESTEP_CANSTEPMULTIPLE = 0x04 +} AM_PROPERTY_FRAMESTEP; + +typedef struct _AM_FRAMESTEP_STEP +{ + DWORD dwFramesToStep; +} AM_FRAMESTEP_STEP; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/appcompatapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/appcompatapi.h new file mode 100644 index 0000000..90b184e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/appcompatapi.h @@ -0,0 +1,32 @@ +/* + * Copyright 2012 Detlef Riekenberg + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __APPCOMPAT_H +#define __APPCOMPAT_H + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI ApphelpCheckShellObject(REFCLSID, BOOL, ULONGLONG *); + +#ifdef __cplusplus +} +#endif + +#endif /* __APPCOMPAT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/appmgmt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/appmgmt.h new file mode 100644 index 0000000..385f81a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/appmgmt.h @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _APPMGMT_H +#define _APPMGMT_H + +typedef struct _MANAGEDAPPLICATION +{ + LPWSTR pszPackageName; + LPWSTR pszPublisher; + DWORD dwVersionHi; + DWORD dwVersionLo; + DWORD dwRevision; + GUID GpoId; + LPWSTR pszPolicyName; + GUID ProductId; + LANGID Language; + LPWSTR pszOwner; + LPWSTR pszCompany; + LPWSTR pszComments; + LPWSTR pszContact; + LPWSTR pszSupportUrl; + DWORD dwPathType; + BOOL bInstalled; +} MANAGEDAPPLICATION, *PMANAGEDAPPLICATION; + + +#ifdef __cplusplus +extern "C" { +#endif + +DWORD WINAPI CommandLineFromMsiDescriptor(WCHAR*,WCHAR*,DWORD*); +DWORD WINAPI GetManagedApplications(GUID*,DWORD,DWORD,LPDWORD,PMANAGEDAPPLICATION*); + +#ifdef __cplusplus +} +#endif + +#endif /* _APPMGMT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asptlb.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asptlb.h new file mode 100644 index 0000000..86274bc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asptlb.h @@ -0,0 +1,681 @@ +/*** Autogenerated by WIDL 2.18 from asptlb.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __asptlb_h__ +#define __asptlb_h__ + +/* Forward declarations */ + +#ifndef __IRequestDictionary_FWD_DEFINED__ +#define __IRequestDictionary_FWD_DEFINED__ +typedef interface IRequestDictionary IRequestDictionary; +#ifdef __cplusplus +interface IRequestDictionary; +#endif /* __cplusplus */ +#endif + +#ifndef __IResponse_FWD_DEFINED__ +#define __IResponse_FWD_DEFINED__ +typedef interface IResponse IResponse; +#ifdef __cplusplus +interface IResponse; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IRequestDictionary interface + */ +#ifndef __IRequestDictionary_INTERFACE_DEFINED__ +#define __IRequestDictionary_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRequestDictionary, 0xd97a6da0, 0xa864, 0x11cf, 0x83,0xbe, 0x00,0xa0,0xc9,0x0c,0x2b,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d97a6da0-a864-11cf-83be-00a0c90c2bd8") +IRequestDictionary : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + VARIANT Var, + VARIANT *pVariantReturn) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **ppEnumReturn) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + int *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Key( + VARIANT key, + VARIANT *value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRequestDictionary, 0xd97a6da0, 0xa864, 0x11cf, 0x83,0xbe, 0x00,0xa0,0xc9,0x0c,0x2b,0xd8) +#endif +#else +typedef struct IRequestDictionaryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRequestDictionary *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRequestDictionary *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRequestDictionary *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRequestDictionary *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRequestDictionary *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRequestDictionary *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRequestDictionary *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRequestDictionary methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + IRequestDictionary *This, + VARIANT Var, + VARIANT *pVariantReturn); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IRequestDictionary *This, + IUnknown **ppEnumReturn); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IRequestDictionary *This, + int *count); + + HRESULT (STDMETHODCALLTYPE *get_Key)( + IRequestDictionary *This, + VARIANT key, + VARIANT *value); + + END_INTERFACE +} IRequestDictionaryVtbl; + +interface IRequestDictionary { + CONST_VTBL IRequestDictionaryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRequestDictionary_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRequestDictionary_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRequestDictionary_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRequestDictionary_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRequestDictionary_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRequestDictionary_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRequestDictionary_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRequestDictionary methods ***/ +#define IRequestDictionary_get_Item(This,Var,pVariantReturn) (This)->lpVtbl->get_Item(This,Var,pVariantReturn) +#define IRequestDictionary_get__NewEnum(This,ppEnumReturn) (This)->lpVtbl->get__NewEnum(This,ppEnumReturn) +#define IRequestDictionary_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define IRequestDictionary_get_Key(This,key,value) (This)->lpVtbl->get_Key(This,key,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRequestDictionary_QueryInterface(IRequestDictionary* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRequestDictionary_AddRef(IRequestDictionary* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRequestDictionary_Release(IRequestDictionary* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRequestDictionary_GetTypeInfoCount(IRequestDictionary* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRequestDictionary_GetTypeInfo(IRequestDictionary* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRequestDictionary_GetIDsOfNames(IRequestDictionary* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRequestDictionary_Invoke(IRequestDictionary* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRequestDictionary methods ***/ +static FORCEINLINE HRESULT IRequestDictionary_get_Item(IRequestDictionary* This,VARIANT Var,VARIANT *pVariantReturn) { + return This->lpVtbl->get_Item(This,Var,pVariantReturn); +} +static FORCEINLINE HRESULT IRequestDictionary_get__NewEnum(IRequestDictionary* This,IUnknown **ppEnumReturn) { + return This->lpVtbl->get__NewEnum(This,ppEnumReturn); +} +static FORCEINLINE HRESULT IRequestDictionary_get_Count(IRequestDictionary* This,int *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT IRequestDictionary_get_Key(IRequestDictionary* This,VARIANT key,VARIANT *value) { + return This->lpVtbl->get_Key(This,key,value); +} +#endif +#endif + +#endif + + +#endif /* __IRequestDictionary_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResponse interface + */ +#ifndef __IResponse_INTERFACE_DEFINED__ +#define __IResponse_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResponse, 0xd97a6da0, 0xa864, 0x11cf, 0x83,0xbe, 0x00,0xa0,0xc9,0x0c,0x2b,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d97a6da0-a864-11cf-83be-00a0c90c2bd8") +IResponse : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Buffer( + VARIANT_BOOL *is_buffering) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Buffer( + VARIANT_BOOL is_buffering) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ContentType( + BSTR *content_type) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ContentType( + BSTR content_type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Expires( + VARIANT *minutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Expires( + LONG minutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExpiresAbsolute( + VARIANT *expires) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ExpiresAbsolute( + DATE expires) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Cookies( + IRequestDictionary **cookies) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Status( + BSTR *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Status( + BSTR status) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR value, + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddHeader( + BSTR name, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendToLog( + BSTR log_entry) = 0; + + virtual HRESULT STDMETHODCALLTYPE BinaryWrite( + VARIANT input) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE End( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Redirect( + BSTR url) = 0; + + virtual HRESULT STDMETHODCALLTYPE Write( + VARIANT text) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteBlock( + short block_number) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsClientConnected( + VARIANT_BOOL *is_connected) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CharSet( + BSTR *charset) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CharSet( + BSTR charset) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pics( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CacheControl( + BSTR *cache_control) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CacheControl( + BSTR cache_control) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CodePage( + LONG *codepage) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CodePage( + LONG codepage) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LCID( + LONG *lcid) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LCID( + LONG lcid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResponse, 0xd97a6da0, 0xa864, 0x11cf, 0x83,0xbe, 0x00,0xa0,0xc9,0x0c,0x2b,0xd8) +#endif +#else +typedef struct IResponseVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResponse *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResponse *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResponse *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IResponse *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IResponse *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IResponse *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IResponse *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IResponse methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Buffer)( + IResponse *This, + VARIANT_BOOL *is_buffering); + + HRESULT (STDMETHODCALLTYPE *put_Buffer)( + IResponse *This, + VARIANT_BOOL is_buffering); + + HRESULT (STDMETHODCALLTYPE *get_ContentType)( + IResponse *This, + BSTR *content_type); + + HRESULT (STDMETHODCALLTYPE *put_ContentType)( + IResponse *This, + BSTR content_type); + + HRESULT (STDMETHODCALLTYPE *get_Expires)( + IResponse *This, + VARIANT *minutes); + + HRESULT (STDMETHODCALLTYPE *put_Expires)( + IResponse *This, + LONG minutes); + + HRESULT (STDMETHODCALLTYPE *get_ExpiresAbsolute)( + IResponse *This, + VARIANT *expires); + + HRESULT (STDMETHODCALLTYPE *put_ExpiresAbsolute)( + IResponse *This, + DATE expires); + + HRESULT (STDMETHODCALLTYPE *get_Cookies)( + IResponse *This, + IRequestDictionary **cookies); + + HRESULT (STDMETHODCALLTYPE *get_Status)( + IResponse *This, + BSTR *status); + + HRESULT (STDMETHODCALLTYPE *put_Status)( + IResponse *This, + BSTR status); + + HRESULT (STDMETHODCALLTYPE *Add)( + IResponse *This, + BSTR value, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *AddHeader)( + IResponse *This, + BSTR name, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *AppendToLog)( + IResponse *This, + BSTR log_entry); + + HRESULT (STDMETHODCALLTYPE *BinaryWrite)( + IResponse *This, + VARIANT input); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IResponse *This); + + HRESULT (STDMETHODCALLTYPE *End)( + IResponse *This); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IResponse *This); + + HRESULT (STDMETHODCALLTYPE *Redirect)( + IResponse *This, + BSTR url); + + HRESULT (STDMETHODCALLTYPE *Write)( + IResponse *This, + VARIANT text); + + HRESULT (STDMETHODCALLTYPE *WriteBlock)( + IResponse *This, + short block_number); + + HRESULT (STDMETHODCALLTYPE *IsClientConnected)( + IResponse *This, + VARIANT_BOOL *is_connected); + + HRESULT (STDMETHODCALLTYPE *get_CharSet)( + IResponse *This, + BSTR *charset); + + HRESULT (STDMETHODCALLTYPE *put_CharSet)( + IResponse *This, + BSTR charset); + + HRESULT (STDMETHODCALLTYPE *Pics)( + IResponse *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get_CacheControl)( + IResponse *This, + BSTR *cache_control); + + HRESULT (STDMETHODCALLTYPE *put_CacheControl)( + IResponse *This, + BSTR cache_control); + + HRESULT (STDMETHODCALLTYPE *get_CodePage)( + IResponse *This, + LONG *codepage); + + HRESULT (STDMETHODCALLTYPE *put_CodePage)( + IResponse *This, + LONG codepage); + + HRESULT (STDMETHODCALLTYPE *get_LCID)( + IResponse *This, + LONG *lcid); + + HRESULT (STDMETHODCALLTYPE *put_LCID)( + IResponse *This, + LONG lcid); + + END_INTERFACE +} IResponseVtbl; + +interface IResponse { + CONST_VTBL IResponseVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResponse_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResponse_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResponse_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IResponse_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IResponse_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IResponse_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IResponse_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IResponse methods ***/ +#define IResponse_get_Buffer(This,is_buffering) (This)->lpVtbl->get_Buffer(This,is_buffering) +#define IResponse_put_Buffer(This,is_buffering) (This)->lpVtbl->put_Buffer(This,is_buffering) +#define IResponse_get_ContentType(This,content_type) (This)->lpVtbl->get_ContentType(This,content_type) +#define IResponse_put_ContentType(This,content_type) (This)->lpVtbl->put_ContentType(This,content_type) +#define IResponse_get_Expires(This,minutes) (This)->lpVtbl->get_Expires(This,minutes) +#define IResponse_put_Expires(This,minutes) (This)->lpVtbl->put_Expires(This,minutes) +#define IResponse_get_ExpiresAbsolute(This,expires) (This)->lpVtbl->get_ExpiresAbsolute(This,expires) +#define IResponse_put_ExpiresAbsolute(This,expires) (This)->lpVtbl->put_ExpiresAbsolute(This,expires) +#define IResponse_get_Cookies(This,cookies) (This)->lpVtbl->get_Cookies(This,cookies) +#define IResponse_get_Status(This,status) (This)->lpVtbl->get_Status(This,status) +#define IResponse_put_Status(This,status) (This)->lpVtbl->put_Status(This,status) +#define IResponse_Add(This,value,name) (This)->lpVtbl->Add(This,value,name) +#define IResponse_AddHeader(This,name,value) (This)->lpVtbl->AddHeader(This,name,value) +#define IResponse_AppendToLog(This,log_entry) (This)->lpVtbl->AppendToLog(This,log_entry) +#define IResponse_BinaryWrite(This,input) (This)->lpVtbl->BinaryWrite(This,input) +#define IResponse_Clear(This) (This)->lpVtbl->Clear(This) +#define IResponse_End(This) (This)->lpVtbl->End(This) +#define IResponse_Flush(This) (This)->lpVtbl->Flush(This) +#define IResponse_Redirect(This,url) (This)->lpVtbl->Redirect(This,url) +#define IResponse_Write(This,text) (This)->lpVtbl->Write(This,text) +#define IResponse_WriteBlock(This,block_number) (This)->lpVtbl->WriteBlock(This,block_number) +#define IResponse_IsClientConnected(This,is_connected) (This)->lpVtbl->IsClientConnected(This,is_connected) +#define IResponse_get_CharSet(This,charset) (This)->lpVtbl->get_CharSet(This,charset) +#define IResponse_put_CharSet(This,charset) (This)->lpVtbl->put_CharSet(This,charset) +#define IResponse_Pics(This,value) (This)->lpVtbl->Pics(This,value) +#define IResponse_get_CacheControl(This,cache_control) (This)->lpVtbl->get_CacheControl(This,cache_control) +#define IResponse_put_CacheControl(This,cache_control) (This)->lpVtbl->put_CacheControl(This,cache_control) +#define IResponse_get_CodePage(This,codepage) (This)->lpVtbl->get_CodePage(This,codepage) +#define IResponse_put_CodePage(This,codepage) (This)->lpVtbl->put_CodePage(This,codepage) +#define IResponse_get_LCID(This,lcid) (This)->lpVtbl->get_LCID(This,lcid) +#define IResponse_put_LCID(This,lcid) (This)->lpVtbl->put_LCID(This,lcid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResponse_QueryInterface(IResponse* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResponse_AddRef(IResponse* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResponse_Release(IResponse* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IResponse_GetTypeInfoCount(IResponse* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IResponse_GetTypeInfo(IResponse* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IResponse_GetIDsOfNames(IResponse* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IResponse_Invoke(IResponse* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IResponse methods ***/ +static FORCEINLINE HRESULT IResponse_get_Buffer(IResponse* This,VARIANT_BOOL *is_buffering) { + return This->lpVtbl->get_Buffer(This,is_buffering); +} +static FORCEINLINE HRESULT IResponse_put_Buffer(IResponse* This,VARIANT_BOOL is_buffering) { + return This->lpVtbl->put_Buffer(This,is_buffering); +} +static FORCEINLINE HRESULT IResponse_get_ContentType(IResponse* This,BSTR *content_type) { + return This->lpVtbl->get_ContentType(This,content_type); +} +static FORCEINLINE HRESULT IResponse_put_ContentType(IResponse* This,BSTR content_type) { + return This->lpVtbl->put_ContentType(This,content_type); +} +static FORCEINLINE HRESULT IResponse_get_Expires(IResponse* This,VARIANT *minutes) { + return This->lpVtbl->get_Expires(This,minutes); +} +static FORCEINLINE HRESULT IResponse_put_Expires(IResponse* This,LONG minutes) { + return This->lpVtbl->put_Expires(This,minutes); +} +static FORCEINLINE HRESULT IResponse_get_ExpiresAbsolute(IResponse* This,VARIANT *expires) { + return This->lpVtbl->get_ExpiresAbsolute(This,expires); +} +static FORCEINLINE HRESULT IResponse_put_ExpiresAbsolute(IResponse* This,DATE expires) { + return This->lpVtbl->put_ExpiresAbsolute(This,expires); +} +static FORCEINLINE HRESULT IResponse_get_Cookies(IResponse* This,IRequestDictionary **cookies) { + return This->lpVtbl->get_Cookies(This,cookies); +} +static FORCEINLINE HRESULT IResponse_get_Status(IResponse* This,BSTR *status) { + return This->lpVtbl->get_Status(This,status); +} +static FORCEINLINE HRESULT IResponse_put_Status(IResponse* This,BSTR status) { + return This->lpVtbl->put_Status(This,status); +} +static FORCEINLINE HRESULT IResponse_Add(IResponse* This,BSTR value,BSTR name) { + return This->lpVtbl->Add(This,value,name); +} +static FORCEINLINE HRESULT IResponse_AddHeader(IResponse* This,BSTR name,BSTR value) { + return This->lpVtbl->AddHeader(This,name,value); +} +static FORCEINLINE HRESULT IResponse_AppendToLog(IResponse* This,BSTR log_entry) { + return This->lpVtbl->AppendToLog(This,log_entry); +} +static FORCEINLINE HRESULT IResponse_BinaryWrite(IResponse* This,VARIANT input) { + return This->lpVtbl->BinaryWrite(This,input); +} +static FORCEINLINE HRESULT IResponse_Clear(IResponse* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IResponse_End(IResponse* This) { + return This->lpVtbl->End(This); +} +static FORCEINLINE HRESULT IResponse_Flush(IResponse* This) { + return This->lpVtbl->Flush(This); +} +static FORCEINLINE HRESULT IResponse_Redirect(IResponse* This,BSTR url) { + return This->lpVtbl->Redirect(This,url); +} +static FORCEINLINE HRESULT IResponse_Write(IResponse* This,VARIANT text) { + return This->lpVtbl->Write(This,text); +} +static FORCEINLINE HRESULT IResponse_WriteBlock(IResponse* This,short block_number) { + return This->lpVtbl->WriteBlock(This,block_number); +} +static FORCEINLINE HRESULT IResponse_IsClientConnected(IResponse* This,VARIANT_BOOL *is_connected) { + return This->lpVtbl->IsClientConnected(This,is_connected); +} +static FORCEINLINE HRESULT IResponse_get_CharSet(IResponse* This,BSTR *charset) { + return This->lpVtbl->get_CharSet(This,charset); +} +static FORCEINLINE HRESULT IResponse_put_CharSet(IResponse* This,BSTR charset) { + return This->lpVtbl->put_CharSet(This,charset); +} +static FORCEINLINE HRESULT IResponse_Pics(IResponse* This,BSTR value) { + return This->lpVtbl->Pics(This,value); +} +static FORCEINLINE HRESULT IResponse_get_CacheControl(IResponse* This,BSTR *cache_control) { + return This->lpVtbl->get_CacheControl(This,cache_control); +} +static FORCEINLINE HRESULT IResponse_put_CacheControl(IResponse* This,BSTR cache_control) { + return This->lpVtbl->put_CacheControl(This,cache_control); +} +static FORCEINLINE HRESULT IResponse_get_CodePage(IResponse* This,LONG *codepage) { + return This->lpVtbl->get_CodePage(This,codepage); +} +static FORCEINLINE HRESULT IResponse_put_CodePage(IResponse* This,LONG codepage) { + return This->lpVtbl->put_CodePage(This,codepage); +} +static FORCEINLINE HRESULT IResponse_get_LCID(IResponse* This,LONG *lcid) { + return This->lpVtbl->get_LCID(This,lcid); +} +static FORCEINLINE HRESULT IResponse_put_LCID(IResponse* This,LONG lcid) { + return This->lpVtbl->put_LCID(This,lcid); +} +#endif +#endif + +#endif + + +#endif /* __IResponse_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __asptlb_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asptlb.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asptlb.idl new file mode 100644 index 0000000..d010908 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asptlb.idl @@ -0,0 +1,132 @@ +/* + * Copyright (C) 2010 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "objidl.idl"; +import "oaidl.idl"; + +[ + object, + dual, + uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8) +] +interface IRequestDictionary : IDispatch +{ + [propget] + HRESULT Item([in, optional] VARIANT Var, [retval, out] VARIANT *pVariantReturn); + + [restricted, propget] + HRESULT _NewEnum([retval, out] IUnknown **ppEnumReturn); + + [propget] + HRESULT Count([retval, out] int *count); + + [propget] + HRESULT Key([in] VARIANT key, [retval, out] VARIANT *value); +}; + +[ + object, + dual, + uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8) +] +interface IResponse : IDispatch +{ + [propget] + HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering); + + [propput] + HRESULT Buffer([in] VARIANT_BOOL is_buffering); + + [propget] + HRESULT ContentType([retval, out] BSTR *content_type); + + [propput] + HRESULT ContentType([in] BSTR content_type); + + [propget] + HRESULT Expires([retval, out] VARIANT *minutes); + + [propput] + HRESULT Expires([in] LONG minutes); + + [propget] + HRESULT ExpiresAbsolute([retval, out] VARIANT *expires); + + [propput] + HRESULT ExpiresAbsolute([in] DATE expires); + + [propget] + HRESULT Cookies([retval, out] IRequestDictionary **cookies); + + [propget] + HRESULT Status([retval, out] BSTR *status); + + [propput] + HRESULT Status([in] BSTR status); + + [hidden] + HRESULT Add([in] BSTR value, [in] BSTR name); + + HRESULT AddHeader([in] BSTR name, [in] BSTR value); + + HRESULT AppendToLog([in] BSTR log_entry); + + HRESULT BinaryWrite([in] VARIANT input); + + HRESULT Clear(); + + HRESULT End(); + + HRESULT Flush(); + + HRESULT Redirect(BSTR url); + + HRESULT Write([in] VARIANT text); + + [hidden] + HRESULT WriteBlock([in] short block_number); + + HRESULT IsClientConnected([retval, out] VARIANT_BOOL *is_connected); + + [propget] + HRESULT CharSet([retval, out] BSTR *charset); + + [propput] + HRESULT CharSet([in] BSTR charset); + + HRESULT Pics([in] BSTR value); + + [propget] + HRESULT CacheControl([retval, out] BSTR *cache_control); + + [propput] + HRESULT CacheControl([in] BSTR cache_control); + + [propget] + HRESULT CodePage([retval, out] LONG *codepage); + + [propput] + HRESULT CodePage([in] LONG codepage); + + [propget] + HRESULT LCID([retval, out] LONG *lcid); + + [propput] + HRESULT LCID([in] LONG lcid); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asynot.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asynot.idl new file mode 100644 index 0000000..83a45aa --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asynot.idl @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a96-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBAsynchNotify : IUnknown +{ + [local] + HRESULT OnLowResource([in] DB_DWRESERVE dwReserved); + + [call_as(OnLowResource)] + HRESULT RemoteOnLowResource([in] DB_DWRESERVE dwReserved); + + [local] + HRESULT OnProgress([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [in] DBCOUNTITEM ulProgress, + [in] DBCOUNTITEM ulProgressMax, + [in] DBASYNCHPHASE eAsynchPhase, + [in, annotation("__in_opt")] LPOLESTR pwszStatusText); + + [call_as(OnProgress)] + HRESULT RemoteOnProgress([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [in] DBCOUNTITEM ulProgress, + [in] DBCOUNTITEM ulProgressMax, + [in] DBASYNCHPHASE eAsynchPhase, + [in, unique, string] LPOLESTR pwszStatusText); + + [local] + HRESULT OnStop([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [in] HRESULT hrStatus, + [in, annotation("__in_opt")] LPOLESTR pwszStatusText); + + [call_as(OnStop)] + HRESULT RemoteOnStop([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [in] HRESULT hrStatus, + [in, unique, string] LPOLESTR pwszStatusText); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asysta.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asysta.idl new file mode 100644 index 0000000..503ae46 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/asysta.idl @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a95-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBAsynchStatus : IUnknown +{ + [local] + HRESULT Abort([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation); + + [call_as(Abort)] + HRESULT RemoteAbort([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetStatus([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [out, annotation("__out_opt")] DBCOUNTITEM *pulProgress, + [out, annotation("__out_opt")] DBCOUNTITEM *pulProgressMax, + [out, annotation("__out")] DBASYNCHPHASE *peAsynchPhase, + [out, annotation("__deref_opt_inout_opt")] LPOLESTR *ppwszStatusText); + + [call_as(GetStatus)] + HRESULT RemoteGetStatus([in] HCHAPTER hChapter, + [in] DBASYNCHOP eOperation, + [in, out, unique] DBCOUNTITEM *pulProgress, + [in, out, unique] DBCOUNTITEM *pulProgressMax, + [in, out, unique] DBASYNCHPHASE *peAsynchPhase, + [in, out, unique] LPOLESTR *ppwszStatusText, + [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlbase.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlbase.h new file mode 100644 index 0000000..bcd634e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlbase.h @@ -0,0 +1,267 @@ +/* + * Implementation of the Active Template Library (atl.dll) + * + * Copyright 2004 Aric Stewart for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ATLBASE_H__ +#define __WINE_ATLBASE_H__ + +#include +#include + +/* Wine extension: we (ab)use _ATL_VER to handle struct layout differences between ATL versions. */ +#define _ATL_VER_30 0x0300 +#define _ATL_VER_70 0x0700 +#define _ATL_VER_80 0x0800 +#define _ATL_VER_90 0x0900 +#define _ATL_VER_100 0x0a00 +#define _ATL_VER_110 0x0b00 + +#ifndef _ATL_VER +#define _ATL_VER _ATL_VER_100 +#endif + +typedef HRESULT (WINAPI _ATL_CREATORFUNC)(void* pv, REFIID riid, LPVOID* ppv); +typedef HRESULT (WINAPI _ATL_CREATORARGFUNC)(void* pv, REFIID riid, LPVOID* ppv, DWORD dw); +typedef HRESULT (WINAPI _ATL_MODULEFUNC)(DWORD dw); +typedef LPCSTR (WINAPI _ATL_DESCRIPTIONFUNCA)(void); +typedef LPCWSTR (WINAPI _ATL_DESCRIPTIONFUNCW)(void); +typedef const struct _ATL_CATMAP_ENTRY* (_ATL_CATMAPFUNC)(void); +typedef void (WINAPI _ATL_TERMFUNC)(DWORD dw); + +typedef CRITICAL_SECTION CComCriticalSection; + +typedef struct _ATL_OBJMAP_ENTRYA_V1_TAG +{ + const CLSID* pclsid; + HRESULT (WINAPI *pfnUpdateRegistry)(BOOL bRegister); + _ATL_CREATORFUNC* pfnGetClassObject; + _ATL_CREATORFUNC* pfnCreateInstance; + IUnknown* pCF; + DWORD dwRegister; + _ATL_DESCRIPTIONFUNCA* pfnGetObjectDescription; +}_ATL_OBJMAP_ENTRYA_V1; + +typedef struct _ATL_OBJMAP_ENTRYW_V1_TAG +{ + const CLSID* pclsid; + HRESULT (WINAPI *pfnUpdateRegistry)(BOOL bRegister); + _ATL_CREATORFUNC* pfnGetClassObject; + _ATL_CREATORFUNC* pfnCreateInstance; + IUnknown* pCF; + DWORD dwRegister; + _ATL_DESCRIPTIONFUNCW* pfnGetObjectDescription; +} _ATL_OBJMAP_ENTRYW_V1; + +typedef struct _ATL_OBJMAP_ENTRYA_TAG +{ + const CLSID* pclsid; + HRESULT (WINAPI *pfnUpdateRegistry)(BOOL bRegister); + _ATL_CREATORFUNC* pfnGetClassObject; + _ATL_CREATORFUNC* pfnCreateInstance; + IUnknown* pCF; + DWORD dwRegister; + _ATL_DESCRIPTIONFUNCA* pfnGetObjectDescription; + _ATL_CATMAPFUNC* pfnGetCategoryMap; + void (WINAPI *pfnObjectMain)(BOOL bStarting); +}_ATL_OBJMAP_ENTRYA; + +typedef struct _ATL_OBJMAP_ENTRYW_TAG +{ + const CLSID* pclsid; + HRESULT (WINAPI *pfnUpdateRegistry)(BOOL bRegister); + _ATL_CREATORFUNC* pfnGetClassObject; + _ATL_CREATORFUNC* pfnCreateInstance; + IUnknown* pCF; + DWORD dwRegister; + _ATL_DESCRIPTIONFUNCW* pfnGetObjectDescription; + _ATL_CATMAPFUNC* pfnGetCategoryMap; + void (WINAPI *pfnObjectMain)(BOOL bStarting); +} _ATL_OBJMAP_ENTRYW, _ATL_OBJMAP_ENTRY30, _ATL_OBJMAP_ENTRY; + + +typedef struct _ATL_TERMFUNC_ELEM_TAG +{ + _ATL_TERMFUNC* pFunc; + DWORD_PTR dw; + struct _ATL_TERMFUNC_ELEM_TAG* pNext; +} _ATL_TERMFUNC_ELEM; + +typedef struct _AtlCreateWndData_TAG +{ + void* m_pThis; + DWORD m_dwThreadID; + struct _AtlCreateWndData_TAG* m_pNext; +} _AtlCreateWndData; + +typedef struct _ATL_MODULEA_TAG +{ + UINT cbSize; + HINSTANCE m_hInst; + HINSTANCE m_hInstResource; + HINSTANCE m_hInstTypeLib; + _ATL_OBJMAP_ENTRYA* m_pObjMap; + LONG m_nLockCnt; + HANDLE m_hHeap; + union + { + CRITICAL_SECTION m_csTypeInfoHolder; + CRITICAL_SECTION m_csStaticDataInit; + } u; + CRITICAL_SECTION m_csWindowCreate; + CRITICAL_SECTION m_csObjMap; + + DWORD dwAtlBuildVer; + _AtlCreateWndData* m_pCreateWndList; + BOOL m_bDestroyHeap; + GUID* pguidVer; + DWORD m_dwHeaps; + HANDLE* m_phHeaps; + int m_nHeap; + _ATL_TERMFUNC_ELEM* m_pTermFuncs; +} _ATL_MODULEA; + +typedef struct _ATL_MODULEW_TAG +{ + UINT cbSize; + HINSTANCE m_hInst; + HINSTANCE m_hInstResource; + HINSTANCE m_hInstTypeLib; + _ATL_OBJMAP_ENTRYW* m_pObjMap; + LONG m_nLockCnt; + HANDLE m_hHeap; + union + { + CRITICAL_SECTION m_csTypeInfoHolder; + CRITICAL_SECTION m_csStaticDataInit; + } u; + CRITICAL_SECTION m_csWindowCreate; + CRITICAL_SECTION m_csObjMap; + + DWORD dwAtlBuildVer; + _AtlCreateWndData* m_pCreateWndList; + BOOL m_bDestroyHeap; + GUID* pguidVer; + DWORD m_dwHeaps; + HANDLE* m_phHeaps; + int m_nHeap; + _ATL_TERMFUNC_ELEM* m_pTermFuncs; +} _ATL_MODULEW; + +typedef struct +{ + void *m_aT; + int m_nSize; + int m_nAllocSize; +} CSimpleArray; + +typedef struct _ATL_MODULE70 +{ + UINT cbSize; + LONG m_nLockCnt; + _ATL_TERMFUNC_ELEM *m_pTermFuncs; + CComCriticalSection m_csStaticDataInitAndTypeInfo; +} _ATL_MODULE70; + +typedef struct _ATL_WIN_MODULE70 +{ + UINT cbSize; + CComCriticalSection m_csWindowCreate; + _AtlCreateWndData *m_pCreateWndList; + CSimpleArray /* */ m_rgWindowClassAtoms; +} _ATL_WIN_MODULE70; + +typedef struct _ATL_COM_MODULE70 +{ + UINT cbSize; + HINSTANCE m_hInstTypeLib; + _ATL_OBJMAP_ENTRY **m_ppAutoObjMapFirst; + _ATL_OBJMAP_ENTRY **m_ppAutoObjMapLast; + CComCriticalSection m_csObjMap; +} _ATL_COM_MODULE70, _ATL_COM_MODULE; + +#if _ATL_VER >= _ATL_VER_70 +typedef _ATL_MODULE70 _ATL_MODULE; +typedef _ATL_WIN_MODULE70 _ATL_WIN_MODULE; +#else +typedef _ATL_MODULEW _ATL_MODULE; +typedef _ATL_MODULEW _ATL_WIN_MODULE; +#endif + +typedef struct _ATL_INTMAP_ENTRY_TAG +{ + const IID* piid; + DWORD dw; + _ATL_CREATORARGFUNC* pFunc; +} _ATL_INTMAP_ENTRY; + +struct _ATL_REGMAP_ENTRY +{ + LPCOLESTR szKey; + LPCOLESTR szData; +}; + +struct _ATL_CATMAP_ENTRY +{ + int iType; + const CATID *pcatid; +}; + +#define _ATL_CATMAP_ENTRY_END 0 +#define _ATL_CATMAP_ENTRY_IMPLEMENTED 1 +#define _ATL_CATMAP_ENTRY_REQUIRED 2 + +HRESULT WINAPI AtlAdvise(IUnknown *pUnkCP, IUnknown *pUnk, const IID * iid, LPDWORD dpw); +HRESULT WINAPI AtlAxAttachControl(IUnknown*,HWND,IUnknown**); +HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**); +HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*); +HRESULT WINAPI AtlFreeMarshalStream(IStream *pStream); +HRESULT WINAPI AtlInternalQueryInterface(void* pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, void** ppvObject); +HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppStream); +void WINAPI AtlModuleAddCreateWndData(_ATL_MODULEW *pM, _AtlCreateWndData *pData, void* pvObject); +HRESULT WINAPI AtlWinModuleInit(_ATL_WIN_MODULE*); +void WINAPI AtlWinModuleAddCreateWndData(_ATL_WIN_MODULE*,_AtlCreateWndData*,void*); +void* WINAPI AtlWinModuleExtractCreateWndData(_ATL_WIN_MODULE*); +HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULE *pM, _ATL_TERMFUNC *pFunc, DWORD_PTR dw); +void WINAPI AtlCallTermFunc(_ATL_MODULE*); +void* WINAPI AtlModuleExtractCreateWndData(_ATL_MODULEW *pM); +HRESULT WINAPI AtlModuleInit(_ATL_MODULEW* pM, _ATL_OBJMAP_ENTRYW* p, HINSTANCE h); +HRESULT WINAPI AtlModuleLoadTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex, BSTR *pbstrPath, ITypeLib **ppTypeLib); +HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEW* pM, DWORD dwClsContext, DWORD dwFlags); +HRESULT WINAPI AtlModuleRegisterServer(_ATL_MODULEW* pM, BOOL bRegTypeLib, const CLSID* pCLSID); +HRESULT WINAPI AtlModuleRegisterTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex); +HRESULT WINAPI AtlModuleUnregisterServer(_ATL_MODULEW* pM, const CLSID* pCLSID); +HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW *pM, LPCOLESTR lpszRes, BOOL bRegister, struct _ATL_REGMAP_ENTRY *pMapEntries, IRegistrar *pReg ); +HRESULT WINAPI AtlModuleUnregisterServerEx(_ATL_MODULEW* pM, BOOL bUnRegTypeLib, const CLSID* pCLSID); +HRESULT WINAPI AtlModuleTerm(_ATL_MODULEW* pM); +HRESULT WINAPI AtlUnadvise(IUnknown *pUnkCP, const IID * iid, DWORD dw); +HRESULT WINAPI AtlUnmarshalPtr(IStream *pStream, const IID *iid, IUnknown **ppUnk); +HRESULT WINAPI AtlCreateRegistrar(IRegistrar**); +HRESULT WINAPI AtlUpdateRegistryFromResourceD(HINSTANCE,LPCOLESTR,BOOL,struct _ATL_REGMAP_ENTRY*,IRegistrar*); +HRESULT WINAPI AtlLoadTypeLib(HINSTANCE,LPCOLESTR,BSTR*,ITypeLib**); +HRESULT WINAPI AtlRegisterTypeLib(HINSTANCE,LPCOLESTR); +HRESULT WINAPI AtlRegisterClassCategoriesHelper(REFCLSID,const struct _ATL_CATMAP_ENTRY*,BOOL); +HRESULT WINAPI AtlComModuleGetClassObject(_ATL_COM_MODULE*,REFCLSID,REFIID,void**); +HRESULT WINAPI AtlComModuleRegisterClassObjects(_ATL_COM_MODULE*,DWORD,DWORD); +HRESULT WINAPI AtlComModuleUnregisterServer(_ATL_COM_MODULE*,BOOL,const CLSID*); +BOOL WINAPI AtlWaitWithMessageLoop(HANDLE); +HRESULT WINAPI AtlGetObjectSourceInterface(IUnknown*,GUID*,IID*,unsigned short*,unsigned short*); +HRESULT WINAPI AtlSetPerUserRegistration(unsigned char /*bool*/); +HRESULT WINAPI AtlGetPerUserRegistration(unsigned char /*bool*/ *); + +#endif /* __WINE_ATLBASE_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlcom.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlcom.h new file mode 100644 index 0000000..c141fbe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlcom.h @@ -0,0 +1,50 @@ +/* + * Copyright 2014 Qian Hong for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ATLCOM_H__ +#define __WINE_ATLCOM_H__ + +#ifndef __WINE_ATLBASE_H__ +# error You must include atlbase.h to use this header +#endif + +typedef struct ATL_PROPMAP_ENTRY +{ + LPCOLESTR szDesc; +#if _ATL_VER < _ATL_VER_100 + DISPID dispid; + const CLSID *pclsidPropPage; + const IID *piidDispatch; +#else + const CLSID *pclsidPropPage; + const IID *piidDispatch; + void *rgclsidAllowed; + DWORD cclsidAllowed; + DISPID dispid; +#endif + DWORD dwOffsetData; + DWORD dwSizeData; + VARTYPE vt; +} ATL_PROPMAP_ENTRY; + +HRESULT WINAPI AtlIPersistStreamInit_Load(IStream*, ATL_PROPMAP_ENTRY*, void*, IUnknown*); +HRESULT WINAPI AtlIPersistStreamInit_Save(IStream*, BOOL, ATL_PROPMAP_ENTRY*, void*, IUnknown*); +HRESULT WINAPI AtlIPersistPropertyBag_Load(IPropertyBag*, IErrorLog*, ATL_PROPMAP_ENTRY*, void*, IUnknown*); +HRESULT WINAPI AtlIPersistPropertyBag_Save(IPropertyBag*, BOOL, BOOL, ATL_PROPMAP_ENTRY*, void*, IUnknown*); + +#endif /* __WINE_ATLCOM_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atliface.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atliface.h new file mode 100644 index 0000000..2e4f20f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atliface.h @@ -0,0 +1,1483 @@ +/*** Autogenerated by WIDL 2.18 from atliface.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __atliface_h__ +#define __atliface_h__ + +/* Forward declarations */ + +#ifndef __IRegistrarBase_FWD_DEFINED__ +#define __IRegistrarBase_FWD_DEFINED__ +typedef interface IRegistrarBase IRegistrarBase; +#ifdef __cplusplus +interface IRegistrarBase; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegistrar_FWD_DEFINED__ +#define __IRegistrar_FWD_DEFINED__ +typedef interface IRegistrar IRegistrar; +#ifdef __cplusplus +interface IRegistrar; +#endif /* __cplusplus */ +#endif + +#ifndef __IDocHostUIHandlerDispatch_FWD_DEFINED__ +#define __IDocHostUIHandlerDispatch_FWD_DEFINED__ +typedef interface IDocHostUIHandlerDispatch IDocHostUIHandlerDispatch; +#ifdef __cplusplus +interface IDocHostUIHandlerDispatch; +#endif /* __cplusplus */ +#endif + +#ifndef __IAxWinAmbientDispatch_FWD_DEFINED__ +#define __IAxWinAmbientDispatch_FWD_DEFINED__ +typedef interface IAxWinAmbientDispatch IAxWinAmbientDispatch; +#ifdef __cplusplus +interface IAxWinAmbientDispatch; +#endif /* __cplusplus */ +#endif + +#ifndef __IAxWinAmbientDispatchEx_FWD_DEFINED__ +#define __IAxWinAmbientDispatchEx_FWD_DEFINED__ +typedef interface IAxWinAmbientDispatchEx IAxWinAmbientDispatchEx; +#ifdef __cplusplus +interface IAxWinAmbientDispatchEx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef ATL_INITGUID +#include +#endif +/***************************************************************************** + * IRegistrarBase interface + */ +#ifndef __IRegistrarBase_INTERFACE_DEFINED__ +#define __IRegistrarBase_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRegistrarBase, 0xe21f8a85, 0xb05d, 0x4243, 0x81,0x83, 0xc7,0xcb,0x40,0x55,0x88,0xf7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e21f8a85-b05d-4243-8183-c7cb405588f7") +IRegistrarBase : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddReplacement( + LPCOLESTR Key, + LPCOLESTR item) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearReplacements( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRegistrarBase, 0xe21f8a85, 0xb05d, 0x4243, 0x81,0x83, 0xc7,0xcb,0x40,0x55,0x88,0xf7) +#endif +#else +typedef struct IRegistrarBaseVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRegistrarBase *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRegistrarBase *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRegistrarBase *This); + + /*** IRegistrarBase methods ***/ + HRESULT (STDMETHODCALLTYPE *AddReplacement)( + IRegistrarBase *This, + LPCOLESTR Key, + LPCOLESTR item); + + HRESULT (STDMETHODCALLTYPE *ClearReplacements)( + IRegistrarBase *This); + + END_INTERFACE +} IRegistrarBaseVtbl; + +interface IRegistrarBase { + CONST_VTBL IRegistrarBaseVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRegistrarBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRegistrarBase_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRegistrarBase_Release(This) (This)->lpVtbl->Release(This) +/*** IRegistrarBase methods ***/ +#define IRegistrarBase_AddReplacement(This,Key,item) (This)->lpVtbl->AddReplacement(This,Key,item) +#define IRegistrarBase_ClearReplacements(This) (This)->lpVtbl->ClearReplacements(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRegistrarBase_QueryInterface(IRegistrarBase* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRegistrarBase_AddRef(IRegistrarBase* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRegistrarBase_Release(IRegistrarBase* This) { + return This->lpVtbl->Release(This); +} +/*** IRegistrarBase methods ***/ +static FORCEINLINE HRESULT IRegistrarBase_AddReplacement(IRegistrarBase* This,LPCOLESTR Key,LPCOLESTR item) { + return This->lpVtbl->AddReplacement(This,Key,item); +} +static FORCEINLINE HRESULT IRegistrarBase_ClearReplacements(IRegistrarBase* This) { + return This->lpVtbl->ClearReplacements(This); +} +#endif +#endif + +#endif + + +#endif /* __IRegistrarBase_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRegistrar interface + */ +#ifndef __IRegistrar_INTERFACE_DEFINED__ +#define __IRegistrar_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRegistrar, 0x44ec053b, 0x400f, 0x11d0, 0x9d,0xcd, 0x00,0xa0,0xc9,0x03,0x91,0xd3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("44ec053b-400f-11d0-9dcd-00a0c90391d3") +IRegistrar : public IRegistrarBase +{ + virtual HRESULT STDMETHODCALLTYPE ResourceRegisterSz( + LPCOLESTR resFileName, + LPCOLESTR szID, + LPCOLESTR szType) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResourceUnregisterSz( + LPCOLESTR resFileName, + LPCOLESTR szID, + LPCOLESTR szType) = 0; + + virtual HRESULT STDMETHODCALLTYPE FileRegister( + LPCOLESTR fileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE FileUnregister( + LPCOLESTR fileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StringRegister( + LPCOLESTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE StringUnregister( + LPCOLESTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResourceRegister( + LPCOLESTR resFileName, + UINT nID, + LPCOLESTR szType) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResourceUnregister( + LPCOLESTR resFileName, + UINT nID, + LPCOLESTR szType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRegistrar, 0x44ec053b, 0x400f, 0x11d0, 0x9d,0xcd, 0x00,0xa0,0xc9,0x03,0x91,0xd3) +#endif +#else +typedef struct IRegistrarVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRegistrar *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRegistrar *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRegistrar *This); + + /*** IRegistrarBase methods ***/ + HRESULT (STDMETHODCALLTYPE *AddReplacement)( + IRegistrar *This, + LPCOLESTR Key, + LPCOLESTR item); + + HRESULT (STDMETHODCALLTYPE *ClearReplacements)( + IRegistrar *This); + + /*** IRegistrar methods ***/ + HRESULT (STDMETHODCALLTYPE *ResourceRegisterSz)( + IRegistrar *This, + LPCOLESTR resFileName, + LPCOLESTR szID, + LPCOLESTR szType); + + HRESULT (STDMETHODCALLTYPE *ResourceUnregisterSz)( + IRegistrar *This, + LPCOLESTR resFileName, + LPCOLESTR szID, + LPCOLESTR szType); + + HRESULT (STDMETHODCALLTYPE *FileRegister)( + IRegistrar *This, + LPCOLESTR fileName); + + HRESULT (STDMETHODCALLTYPE *FileUnregister)( + IRegistrar *This, + LPCOLESTR fileName); + + HRESULT (STDMETHODCALLTYPE *StringRegister)( + IRegistrar *This, + LPCOLESTR data); + + HRESULT (STDMETHODCALLTYPE *StringUnregister)( + IRegistrar *This, + LPCOLESTR data); + + HRESULT (STDMETHODCALLTYPE *ResourceRegister)( + IRegistrar *This, + LPCOLESTR resFileName, + UINT nID, + LPCOLESTR szType); + + HRESULT (STDMETHODCALLTYPE *ResourceUnregister)( + IRegistrar *This, + LPCOLESTR resFileName, + UINT nID, + LPCOLESTR szType); + + END_INTERFACE +} IRegistrarVtbl; + +interface IRegistrar { + CONST_VTBL IRegistrarVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRegistrar_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRegistrar_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRegistrar_Release(This) (This)->lpVtbl->Release(This) +/*** IRegistrarBase methods ***/ +#define IRegistrar_AddReplacement(This,Key,item) (This)->lpVtbl->AddReplacement(This,Key,item) +#define IRegistrar_ClearReplacements(This) (This)->lpVtbl->ClearReplacements(This) +/*** IRegistrar methods ***/ +#define IRegistrar_ResourceRegisterSz(This,resFileName,szID,szType) (This)->lpVtbl->ResourceRegisterSz(This,resFileName,szID,szType) +#define IRegistrar_ResourceUnregisterSz(This,resFileName,szID,szType) (This)->lpVtbl->ResourceUnregisterSz(This,resFileName,szID,szType) +#define IRegistrar_FileRegister(This,fileName) (This)->lpVtbl->FileRegister(This,fileName) +#define IRegistrar_FileUnregister(This,fileName) (This)->lpVtbl->FileUnregister(This,fileName) +#define IRegistrar_StringRegister(This,data) (This)->lpVtbl->StringRegister(This,data) +#define IRegistrar_StringUnregister(This,data) (This)->lpVtbl->StringUnregister(This,data) +#define IRegistrar_ResourceRegister(This,resFileName,nID,szType) (This)->lpVtbl->ResourceRegister(This,resFileName,nID,szType) +#define IRegistrar_ResourceUnregister(This,resFileName,nID,szType) (This)->lpVtbl->ResourceUnregister(This,resFileName,nID,szType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRegistrar_QueryInterface(IRegistrar* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRegistrar_AddRef(IRegistrar* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRegistrar_Release(IRegistrar* This) { + return This->lpVtbl->Release(This); +} +/*** IRegistrarBase methods ***/ +static FORCEINLINE HRESULT IRegistrar_AddReplacement(IRegistrar* This,LPCOLESTR Key,LPCOLESTR item) { + return This->lpVtbl->AddReplacement(This,Key,item); +} +static FORCEINLINE HRESULT IRegistrar_ClearReplacements(IRegistrar* This) { + return This->lpVtbl->ClearReplacements(This); +} +/*** IRegistrar methods ***/ +static FORCEINLINE HRESULT IRegistrar_ResourceRegisterSz(IRegistrar* This,LPCOLESTR resFileName,LPCOLESTR szID,LPCOLESTR szType) { + return This->lpVtbl->ResourceRegisterSz(This,resFileName,szID,szType); +} +static FORCEINLINE HRESULT IRegistrar_ResourceUnregisterSz(IRegistrar* This,LPCOLESTR resFileName,LPCOLESTR szID,LPCOLESTR szType) { + return This->lpVtbl->ResourceUnregisterSz(This,resFileName,szID,szType); +} +static FORCEINLINE HRESULT IRegistrar_FileRegister(IRegistrar* This,LPCOLESTR fileName) { + return This->lpVtbl->FileRegister(This,fileName); +} +static FORCEINLINE HRESULT IRegistrar_FileUnregister(IRegistrar* This,LPCOLESTR fileName) { + return This->lpVtbl->FileUnregister(This,fileName); +} +static FORCEINLINE HRESULT IRegistrar_StringRegister(IRegistrar* This,LPCOLESTR data) { + return This->lpVtbl->StringRegister(This,data); +} +static FORCEINLINE HRESULT IRegistrar_StringUnregister(IRegistrar* This,LPCOLESTR data) { + return This->lpVtbl->StringUnregister(This,data); +} +static FORCEINLINE HRESULT IRegistrar_ResourceRegister(IRegistrar* This,LPCOLESTR resFileName,UINT nID,LPCOLESTR szType) { + return This->lpVtbl->ResourceRegister(This,resFileName,nID,szType); +} +static FORCEINLINE HRESULT IRegistrar_ResourceUnregister(IRegistrar* This,LPCOLESTR resFileName,UINT nID,LPCOLESTR szType) { + return This->lpVtbl->ResourceUnregister(This,resFileName,nID,szType); +} +#endif +#endif + +#endif + + +#endif /* __IRegistrar_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDocHostUIHandlerDispatch interface + */ +#ifndef __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__ +#define __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDocHostUIHandlerDispatch, 0x425b5af0, 0x65f1, 0x11d1, 0x96,0x11, 0x00,0x00,0xf8,0x1e,0x0d,0x0d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("425b5af0-65f1-11d1-9611-0000f81e0d0d") +IDocHostUIHandlerDispatch : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE ShowContextMenu( + DWORD id, + LONG x, + LONG y, + IUnknown *unkreserved, + IDispatch *dispreserved, + HRESULT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHostInfo( + DWORD *flags, + DWORD *doubleclick) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowUI( + DWORD id, + IUnknown *activeobject, + IUnknown *cmdtarget, + IUnknown *frame, + IUnknown *doc, + HRESULT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE HideUI( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateUI( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + VARIANT_BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate( + VARIANT_BOOL activate) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate( + VARIANT_BOOL activate) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeBorder( + LONG left, + LONG top, + LONG right, + LONG bottom, + IUnknown *window, + VARIANT_BOOL framewindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + HWND hwnd, + UINT msg, + WPARAM wparam, + LPARAM lparam, + BSTR guid_cmd_group, + HRESULT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath( + BSTR *key, + DWORD reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDropTarget( + IUnknown *droptarget, + IUnknown **ret_droptarget) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExternal( + IDispatch **disp) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateUrl( + DWORD reserved, + BSTR url, + BSTR *translated_url) = 0; + + virtual HRESULT STDMETHODCALLTYPE FilterDataObject( + IUnknown *dataobject, + IUnknown **dataobject_ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDocHostUIHandlerDispatch, 0x425b5af0, 0x65f1, 0x11d1, 0x96,0x11, 0x00,0x00,0xf8,0x1e,0x0d,0x0d) +#endif +#else +typedef struct IDocHostUIHandlerDispatchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDocHostUIHandlerDispatch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDocHostUIHandlerDispatch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDocHostUIHandlerDispatch *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDocHostUIHandlerDispatch *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDocHostUIHandlerDispatch *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDocHostUIHandlerDispatch *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDocHostUIHandlerDispatch *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDocHostUIHandlerDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *ShowContextMenu)( + IDocHostUIHandlerDispatch *This, + DWORD id, + LONG x, + LONG y, + IUnknown *unkreserved, + IDispatch *dispreserved, + HRESULT *retval); + + HRESULT (STDMETHODCALLTYPE *GetHostInfo)( + IDocHostUIHandlerDispatch *This, + DWORD *flags, + DWORD *doubleclick); + + HRESULT (STDMETHODCALLTYPE *ShowUI)( + IDocHostUIHandlerDispatch *This, + DWORD id, + IUnknown *activeobject, + IUnknown *cmdtarget, + IUnknown *frame, + IUnknown *doc, + HRESULT *retval); + + HRESULT (STDMETHODCALLTYPE *HideUI)( + IDocHostUIHandlerDispatch *This); + + HRESULT (STDMETHODCALLTYPE *UpdateUI)( + IDocHostUIHandlerDispatch *This); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IDocHostUIHandlerDispatch *This, + VARIANT_BOOL enable); + + HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)( + IDocHostUIHandlerDispatch *This, + VARIANT_BOOL activate); + + HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)( + IDocHostUIHandlerDispatch *This, + VARIANT_BOOL activate); + + HRESULT (STDMETHODCALLTYPE *ResizeBorder)( + IDocHostUIHandlerDispatch *This, + LONG left, + LONG top, + LONG right, + LONG bottom, + IUnknown *window, + VARIANT_BOOL framewindow); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IDocHostUIHandlerDispatch *This, + HWND hwnd, + UINT msg, + WPARAM wparam, + LPARAM lparam, + BSTR guid_cmd_group, + HRESULT *retval); + + HRESULT (STDMETHODCALLTYPE *GetOptionKeyPath)( + IDocHostUIHandlerDispatch *This, + BSTR *key, + DWORD reserved); + + HRESULT (STDMETHODCALLTYPE *GetDropTarget)( + IDocHostUIHandlerDispatch *This, + IUnknown *droptarget, + IUnknown **ret_droptarget); + + HRESULT (STDMETHODCALLTYPE *GetExternal)( + IDocHostUIHandlerDispatch *This, + IDispatch **disp); + + HRESULT (STDMETHODCALLTYPE *TranslateUrl)( + IDocHostUIHandlerDispatch *This, + DWORD reserved, + BSTR url, + BSTR *translated_url); + + HRESULT (STDMETHODCALLTYPE *FilterDataObject)( + IDocHostUIHandlerDispatch *This, + IUnknown *dataobject, + IUnknown **dataobject_ret); + + END_INTERFACE +} IDocHostUIHandlerDispatchVtbl; + +interface IDocHostUIHandlerDispatch { + CONST_VTBL IDocHostUIHandlerDispatchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDocHostUIHandlerDispatch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDocHostUIHandlerDispatch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDocHostUIHandlerDispatch_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDocHostUIHandlerDispatch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDocHostUIHandlerDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDocHostUIHandlerDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDocHostUIHandlerDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDocHostUIHandlerDispatch methods ***/ +#define IDocHostUIHandlerDispatch_ShowContextMenu(This,id,x,y,unkreserved,dispreserved,retval) (This)->lpVtbl->ShowContextMenu(This,id,x,y,unkreserved,dispreserved,retval) +#define IDocHostUIHandlerDispatch_GetHostInfo(This,flags,doubleclick) (This)->lpVtbl->GetHostInfo(This,flags,doubleclick) +#define IDocHostUIHandlerDispatch_ShowUI(This,id,activeobject,cmdtarget,frame,doc,retval) (This)->lpVtbl->ShowUI(This,id,activeobject,cmdtarget,frame,doc,retval) +#define IDocHostUIHandlerDispatch_HideUI(This) (This)->lpVtbl->HideUI(This) +#define IDocHostUIHandlerDispatch_UpdateUI(This) (This)->lpVtbl->UpdateUI(This) +#define IDocHostUIHandlerDispatch_EnableModeless(This,enable) (This)->lpVtbl->EnableModeless(This,enable) +#define IDocHostUIHandlerDispatch_OnDocWindowActivate(This,activate) (This)->lpVtbl->OnDocWindowActivate(This,activate) +#define IDocHostUIHandlerDispatch_OnFrameWindowActivate(This,activate) (This)->lpVtbl->OnFrameWindowActivate(This,activate) +#define IDocHostUIHandlerDispatch_ResizeBorder(This,left,top,right,bottom,window,framewindow) (This)->lpVtbl->ResizeBorder(This,left,top,right,bottom,window,framewindow) +#define IDocHostUIHandlerDispatch_TranslateAccelerator(This,hwnd,msg,wparam,lparam,guid_cmd_group,retval) (This)->lpVtbl->TranslateAccelerator(This,hwnd,msg,wparam,lparam,guid_cmd_group,retval) +#define IDocHostUIHandlerDispatch_GetOptionKeyPath(This,key,reserved) (This)->lpVtbl->GetOptionKeyPath(This,key,reserved) +#define IDocHostUIHandlerDispatch_GetDropTarget(This,droptarget,ret_droptarget) (This)->lpVtbl->GetDropTarget(This,droptarget,ret_droptarget) +#define IDocHostUIHandlerDispatch_GetExternal(This,disp) (This)->lpVtbl->GetExternal(This,disp) +#define IDocHostUIHandlerDispatch_TranslateUrl(This,reserved,url,translated_url) (This)->lpVtbl->TranslateUrl(This,reserved,url,translated_url) +#define IDocHostUIHandlerDispatch_FilterDataObject(This,dataobject,dataobject_ret) (This)->lpVtbl->FilterDataObject(This,dataobject,dataobject_ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_QueryInterface(IDocHostUIHandlerDispatch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDocHostUIHandlerDispatch_AddRef(IDocHostUIHandlerDispatch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDocHostUIHandlerDispatch_Release(IDocHostUIHandlerDispatch* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetTypeInfoCount(IDocHostUIHandlerDispatch* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetTypeInfo(IDocHostUIHandlerDispatch* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetIDsOfNames(IDocHostUIHandlerDispatch* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_Invoke(IDocHostUIHandlerDispatch* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDocHostUIHandlerDispatch methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_ShowContextMenu(IDocHostUIHandlerDispatch* This,DWORD id,LONG x,LONG y,IUnknown *unkreserved,IDispatch *dispreserved,HRESULT *retval) { + return This->lpVtbl->ShowContextMenu(This,id,x,y,unkreserved,dispreserved,retval); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetHostInfo(IDocHostUIHandlerDispatch* This,DWORD *flags,DWORD *doubleclick) { + return This->lpVtbl->GetHostInfo(This,flags,doubleclick); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_ShowUI(IDocHostUIHandlerDispatch* This,DWORD id,IUnknown *activeobject,IUnknown *cmdtarget,IUnknown *frame,IUnknown *doc,HRESULT *retval) { + return This->lpVtbl->ShowUI(This,id,activeobject,cmdtarget,frame,doc,retval); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_HideUI(IDocHostUIHandlerDispatch* This) { + return This->lpVtbl->HideUI(This); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_UpdateUI(IDocHostUIHandlerDispatch* This) { + return This->lpVtbl->UpdateUI(This); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_EnableModeless(IDocHostUIHandlerDispatch* This,VARIANT_BOOL enable) { + return This->lpVtbl->EnableModeless(This,enable); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_OnDocWindowActivate(IDocHostUIHandlerDispatch* This,VARIANT_BOOL activate) { + return This->lpVtbl->OnDocWindowActivate(This,activate); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_OnFrameWindowActivate(IDocHostUIHandlerDispatch* This,VARIANT_BOOL activate) { + return This->lpVtbl->OnFrameWindowActivate(This,activate); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_ResizeBorder(IDocHostUIHandlerDispatch* This,LONG left,LONG top,LONG right,LONG bottom,IUnknown *window,VARIANT_BOOL framewindow) { + return This->lpVtbl->ResizeBorder(This,left,top,right,bottom,window,framewindow); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_TranslateAccelerator(IDocHostUIHandlerDispatch* This,HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam,BSTR guid_cmd_group,HRESULT *retval) { + return This->lpVtbl->TranslateAccelerator(This,hwnd,msg,wparam,lparam,guid_cmd_group,retval); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetOptionKeyPath(IDocHostUIHandlerDispatch* This,BSTR *key,DWORD reserved) { + return This->lpVtbl->GetOptionKeyPath(This,key,reserved); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetDropTarget(IDocHostUIHandlerDispatch* This,IUnknown *droptarget,IUnknown **ret_droptarget) { + return This->lpVtbl->GetDropTarget(This,droptarget,ret_droptarget); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_GetExternal(IDocHostUIHandlerDispatch* This,IDispatch **disp) { + return This->lpVtbl->GetExternal(This,disp); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_TranslateUrl(IDocHostUIHandlerDispatch* This,DWORD reserved,BSTR url,BSTR *translated_url) { + return This->lpVtbl->TranslateUrl(This,reserved,url,translated_url); +} +static FORCEINLINE HRESULT IDocHostUIHandlerDispatch_FilterDataObject(IDocHostUIHandlerDispatch* This,IUnknown *dataobject,IUnknown **dataobject_ret) { + return This->lpVtbl->FilterDataObject(This,dataobject,dataobject_ret); +} +#endif +#endif + +#endif + + +#endif /* __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAxWinAmbientDispatch interface + */ +#ifndef __IAxWinAmbientDispatch_INTERFACE_DEFINED__ +#define __IAxWinAmbientDispatch_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAxWinAmbientDispatch, 0xb6ea2051, 0x048a, 0x11d1, 0x82,0xb9, 0x00,0xc0,0x4f,0xb9,0x94,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b6ea2051-048a-11d1-82b9-00c04fb9942e") +IAxWinAmbientDispatch : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_AllowWindowlessActivation( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowWindowlessActivation( + VARIANT_BOOL *allowed) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_BackColor( + OLE_COLOR color) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BackColor( + OLE_COLOR *color) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ForeColor( + OLE_COLOR color) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ForeColor( + OLE_COLOR *color) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LocaleID( + LCID lcid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocaleID( + LCID *lcid) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_UserMode( + VARIANT_BOOL mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UserMode( + VARIANT_BOOL *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DisplayAsDefault( + VARIANT_BOOL display) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DisplayAsDefault( + VARIANT_BOOL *display) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Font( + IFontDisp *font) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Font( + IFontDisp **font) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MessageReflect( + VARIANT_BOOL reflect) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MessageReflect( + VARIANT_BOOL *reflect) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ShowGrabHandles( + VARIANT_BOOL *show) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ShowHatching( + VARIANT_BOOL *show) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DocHostFlags( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DocHostFlags( + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DocHostDoubleClickFlags( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DocHostDoubleClickFlags( + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowContextMenu( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowContextMenu( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowShowUI( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowShowUI( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_OptionKeyPath( + BSTR path) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OptionKeyPath( + BSTR *path) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAxWinAmbientDispatch, 0xb6ea2051, 0x048a, 0x11d1, 0x82,0xb9, 0x00,0xc0,0x4f,0xb9,0x94,0x2e) +#endif +#else +typedef struct IAxWinAmbientDispatchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAxWinAmbientDispatch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAxWinAmbientDispatch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAxWinAmbientDispatch *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IAxWinAmbientDispatch *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IAxWinAmbientDispatch *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IAxWinAmbientDispatch *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAxWinAmbientDispatch *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAxWinAmbientDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *put_AllowWindowlessActivation)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowWindowlessActivation)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *allowed); + + HRESULT (STDMETHODCALLTYPE *put_BackColor)( + IAxWinAmbientDispatch *This, + OLE_COLOR color); + + HRESULT (STDMETHODCALLTYPE *get_BackColor)( + IAxWinAmbientDispatch *This, + OLE_COLOR *color); + + HRESULT (STDMETHODCALLTYPE *put_ForeColor)( + IAxWinAmbientDispatch *This, + OLE_COLOR color); + + HRESULT (STDMETHODCALLTYPE *get_ForeColor)( + IAxWinAmbientDispatch *This, + OLE_COLOR *color); + + HRESULT (STDMETHODCALLTYPE *put_LocaleID)( + IAxWinAmbientDispatch *This, + LCID lcid); + + HRESULT (STDMETHODCALLTYPE *get_LocaleID)( + IAxWinAmbientDispatch *This, + LCID *lcid); + + HRESULT (STDMETHODCALLTYPE *put_UserMode)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL mode); + + HRESULT (STDMETHODCALLTYPE *get_UserMode)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *mode); + + HRESULT (STDMETHODCALLTYPE *put_DisplayAsDefault)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL display); + + HRESULT (STDMETHODCALLTYPE *get_DisplayAsDefault)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *display); + + HRESULT (STDMETHODCALLTYPE *put_Font)( + IAxWinAmbientDispatch *This, + IFontDisp *font); + + HRESULT (STDMETHODCALLTYPE *get_Font)( + IAxWinAmbientDispatch *This, + IFontDisp **font); + + HRESULT (STDMETHODCALLTYPE *put_MessageReflect)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL reflect); + + HRESULT (STDMETHODCALLTYPE *get_MessageReflect)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *reflect); + + HRESULT (STDMETHODCALLTYPE *get_ShowGrabHandles)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *show); + + HRESULT (STDMETHODCALLTYPE *get_ShowHatching)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *show); + + HRESULT (STDMETHODCALLTYPE *put_DocHostFlags)( + IAxWinAmbientDispatch *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *get_DocHostFlags)( + IAxWinAmbientDispatch *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *put_DocHostDoubleClickFlags)( + IAxWinAmbientDispatch *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *get_DocHostDoubleClickFlags)( + IAxWinAmbientDispatch *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *put_AllowContextMenu)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowContextMenu)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowShowUI)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowShowUI)( + IAxWinAmbientDispatch *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_OptionKeyPath)( + IAxWinAmbientDispatch *This, + BSTR path); + + HRESULT (STDMETHODCALLTYPE *get_OptionKeyPath)( + IAxWinAmbientDispatch *This, + BSTR *path); + + END_INTERFACE +} IAxWinAmbientDispatchVtbl; + +interface IAxWinAmbientDispatch { + CONST_VTBL IAxWinAmbientDispatchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAxWinAmbientDispatch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAxWinAmbientDispatch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAxWinAmbientDispatch_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IAxWinAmbientDispatch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IAxWinAmbientDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IAxWinAmbientDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IAxWinAmbientDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAxWinAmbientDispatch methods ***/ +#define IAxWinAmbientDispatch_put_AllowWindowlessActivation(This,allow) (This)->lpVtbl->put_AllowWindowlessActivation(This,allow) +#define IAxWinAmbientDispatch_get_AllowWindowlessActivation(This,allowed) (This)->lpVtbl->get_AllowWindowlessActivation(This,allowed) +#define IAxWinAmbientDispatch_put_BackColor(This,color) (This)->lpVtbl->put_BackColor(This,color) +#define IAxWinAmbientDispatch_get_BackColor(This,color) (This)->lpVtbl->get_BackColor(This,color) +#define IAxWinAmbientDispatch_put_ForeColor(This,color) (This)->lpVtbl->put_ForeColor(This,color) +#define IAxWinAmbientDispatch_get_ForeColor(This,color) (This)->lpVtbl->get_ForeColor(This,color) +#define IAxWinAmbientDispatch_put_LocaleID(This,lcid) (This)->lpVtbl->put_LocaleID(This,lcid) +#define IAxWinAmbientDispatch_get_LocaleID(This,lcid) (This)->lpVtbl->get_LocaleID(This,lcid) +#define IAxWinAmbientDispatch_put_UserMode(This,mode) (This)->lpVtbl->put_UserMode(This,mode) +#define IAxWinAmbientDispatch_get_UserMode(This,mode) (This)->lpVtbl->get_UserMode(This,mode) +#define IAxWinAmbientDispatch_put_DisplayAsDefault(This,display) (This)->lpVtbl->put_DisplayAsDefault(This,display) +#define IAxWinAmbientDispatch_get_DisplayAsDefault(This,display) (This)->lpVtbl->get_DisplayAsDefault(This,display) +#define IAxWinAmbientDispatch_put_Font(This,font) (This)->lpVtbl->put_Font(This,font) +#define IAxWinAmbientDispatch_get_Font(This,font) (This)->lpVtbl->get_Font(This,font) +#define IAxWinAmbientDispatch_put_MessageReflect(This,reflect) (This)->lpVtbl->put_MessageReflect(This,reflect) +#define IAxWinAmbientDispatch_get_MessageReflect(This,reflect) (This)->lpVtbl->get_MessageReflect(This,reflect) +#define IAxWinAmbientDispatch_get_ShowGrabHandles(This,show) (This)->lpVtbl->get_ShowGrabHandles(This,show) +#define IAxWinAmbientDispatch_get_ShowHatching(This,show) (This)->lpVtbl->get_ShowHatching(This,show) +#define IAxWinAmbientDispatch_put_DocHostFlags(This,flags) (This)->lpVtbl->put_DocHostFlags(This,flags) +#define IAxWinAmbientDispatch_get_DocHostFlags(This,flags) (This)->lpVtbl->get_DocHostFlags(This,flags) +#define IAxWinAmbientDispatch_put_DocHostDoubleClickFlags(This,flags) (This)->lpVtbl->put_DocHostDoubleClickFlags(This,flags) +#define IAxWinAmbientDispatch_get_DocHostDoubleClickFlags(This,flags) (This)->lpVtbl->get_DocHostDoubleClickFlags(This,flags) +#define IAxWinAmbientDispatch_put_AllowContextMenu(This,allow) (This)->lpVtbl->put_AllowContextMenu(This,allow) +#define IAxWinAmbientDispatch_get_AllowContextMenu(This,allow) (This)->lpVtbl->get_AllowContextMenu(This,allow) +#define IAxWinAmbientDispatch_put_AllowShowUI(This,allow) (This)->lpVtbl->put_AllowShowUI(This,allow) +#define IAxWinAmbientDispatch_get_AllowShowUI(This,allow) (This)->lpVtbl->get_AllowShowUI(This,allow) +#define IAxWinAmbientDispatch_put_OptionKeyPath(This,path) (This)->lpVtbl->put_OptionKeyPath(This,path) +#define IAxWinAmbientDispatch_get_OptionKeyPath(This,path) (This)->lpVtbl->get_OptionKeyPath(This,path) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatch_QueryInterface(IAxWinAmbientDispatch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAxWinAmbientDispatch_AddRef(IAxWinAmbientDispatch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAxWinAmbientDispatch_Release(IAxWinAmbientDispatch* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatch_GetTypeInfoCount(IAxWinAmbientDispatch* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_GetTypeInfo(IAxWinAmbientDispatch* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_GetIDsOfNames(IAxWinAmbientDispatch* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_Invoke(IAxWinAmbientDispatch* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAxWinAmbientDispatch methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_AllowWindowlessActivation(IAxWinAmbientDispatch* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowWindowlessActivation(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_AllowWindowlessActivation(IAxWinAmbientDispatch* This,VARIANT_BOOL *allowed) { + return This->lpVtbl->get_AllowWindowlessActivation(This,allowed); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_BackColor(IAxWinAmbientDispatch* This,OLE_COLOR color) { + return This->lpVtbl->put_BackColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_BackColor(IAxWinAmbientDispatch* This,OLE_COLOR *color) { + return This->lpVtbl->get_BackColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_ForeColor(IAxWinAmbientDispatch* This,OLE_COLOR color) { + return This->lpVtbl->put_ForeColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_ForeColor(IAxWinAmbientDispatch* This,OLE_COLOR *color) { + return This->lpVtbl->get_ForeColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_LocaleID(IAxWinAmbientDispatch* This,LCID lcid) { + return This->lpVtbl->put_LocaleID(This,lcid); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_LocaleID(IAxWinAmbientDispatch* This,LCID *lcid) { + return This->lpVtbl->get_LocaleID(This,lcid); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_UserMode(IAxWinAmbientDispatch* This,VARIANT_BOOL mode) { + return This->lpVtbl->put_UserMode(This,mode); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_UserMode(IAxWinAmbientDispatch* This,VARIANT_BOOL *mode) { + return This->lpVtbl->get_UserMode(This,mode); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_DisplayAsDefault(IAxWinAmbientDispatch* This,VARIANT_BOOL display) { + return This->lpVtbl->put_DisplayAsDefault(This,display); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_DisplayAsDefault(IAxWinAmbientDispatch* This,VARIANT_BOOL *display) { + return This->lpVtbl->get_DisplayAsDefault(This,display); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_Font(IAxWinAmbientDispatch* This,IFontDisp *font) { + return This->lpVtbl->put_Font(This,font); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_Font(IAxWinAmbientDispatch* This,IFontDisp **font) { + return This->lpVtbl->get_Font(This,font); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_MessageReflect(IAxWinAmbientDispatch* This,VARIANT_BOOL reflect) { + return This->lpVtbl->put_MessageReflect(This,reflect); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_MessageReflect(IAxWinAmbientDispatch* This,VARIANT_BOOL *reflect) { + return This->lpVtbl->get_MessageReflect(This,reflect); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_ShowGrabHandles(IAxWinAmbientDispatch* This,VARIANT_BOOL *show) { + return This->lpVtbl->get_ShowGrabHandles(This,show); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_ShowHatching(IAxWinAmbientDispatch* This,VARIANT_BOOL *show) { + return This->lpVtbl->get_ShowHatching(This,show); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_DocHostFlags(IAxWinAmbientDispatch* This,DWORD flags) { + return This->lpVtbl->put_DocHostFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_DocHostFlags(IAxWinAmbientDispatch* This,DWORD *flags) { + return This->lpVtbl->get_DocHostFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_DocHostDoubleClickFlags(IAxWinAmbientDispatch* This,DWORD flags) { + return This->lpVtbl->put_DocHostDoubleClickFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_DocHostDoubleClickFlags(IAxWinAmbientDispatch* This,DWORD *flags) { + return This->lpVtbl->get_DocHostDoubleClickFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_AllowContextMenu(IAxWinAmbientDispatch* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowContextMenu(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_AllowContextMenu(IAxWinAmbientDispatch* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowContextMenu(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_AllowShowUI(IAxWinAmbientDispatch* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowShowUI(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_AllowShowUI(IAxWinAmbientDispatch* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowShowUI(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_put_OptionKeyPath(IAxWinAmbientDispatch* This,BSTR path) { + return This->lpVtbl->put_OptionKeyPath(This,path); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatch_get_OptionKeyPath(IAxWinAmbientDispatch* This,BSTR *path) { + return This->lpVtbl->get_OptionKeyPath(This,path); +} +#endif +#endif + +#endif + + +#endif /* __IAxWinAmbientDispatch_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAxWinAmbientDispatchEx interface + */ +#ifndef __IAxWinAmbientDispatchEx_INTERFACE_DEFINED__ +#define __IAxWinAmbientDispatchEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAxWinAmbientDispatchEx, 0xb2d0778b, 0xac99, 0x4c58, 0xa5,0xc8, 0xe7,0x72,0x4e,0x53,0x16,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b2d0778b-ac99-4c58-a5c8-e7724e5316b5") +IAxWinAmbientDispatchEx : public IAxWinAmbientDispatch +{ + virtual HRESULT STDMETHODCALLTYPE SetAmbientDispatch( + IDispatch *disp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAxWinAmbientDispatchEx, 0xb2d0778b, 0xac99, 0x4c58, 0xa5,0xc8, 0xe7,0x72,0x4e,0x53,0x16,0xb5) +#endif +#else +typedef struct IAxWinAmbientDispatchExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAxWinAmbientDispatchEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAxWinAmbientDispatchEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAxWinAmbientDispatchEx *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IAxWinAmbientDispatchEx *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IAxWinAmbientDispatchEx *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IAxWinAmbientDispatchEx *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAxWinAmbientDispatchEx *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAxWinAmbientDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *put_AllowWindowlessActivation)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowWindowlessActivation)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *allowed); + + HRESULT (STDMETHODCALLTYPE *put_BackColor)( + IAxWinAmbientDispatchEx *This, + OLE_COLOR color); + + HRESULT (STDMETHODCALLTYPE *get_BackColor)( + IAxWinAmbientDispatchEx *This, + OLE_COLOR *color); + + HRESULT (STDMETHODCALLTYPE *put_ForeColor)( + IAxWinAmbientDispatchEx *This, + OLE_COLOR color); + + HRESULT (STDMETHODCALLTYPE *get_ForeColor)( + IAxWinAmbientDispatchEx *This, + OLE_COLOR *color); + + HRESULT (STDMETHODCALLTYPE *put_LocaleID)( + IAxWinAmbientDispatchEx *This, + LCID lcid); + + HRESULT (STDMETHODCALLTYPE *get_LocaleID)( + IAxWinAmbientDispatchEx *This, + LCID *lcid); + + HRESULT (STDMETHODCALLTYPE *put_UserMode)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL mode); + + HRESULT (STDMETHODCALLTYPE *get_UserMode)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *mode); + + HRESULT (STDMETHODCALLTYPE *put_DisplayAsDefault)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL display); + + HRESULT (STDMETHODCALLTYPE *get_DisplayAsDefault)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *display); + + HRESULT (STDMETHODCALLTYPE *put_Font)( + IAxWinAmbientDispatchEx *This, + IFontDisp *font); + + HRESULT (STDMETHODCALLTYPE *get_Font)( + IAxWinAmbientDispatchEx *This, + IFontDisp **font); + + HRESULT (STDMETHODCALLTYPE *put_MessageReflect)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL reflect); + + HRESULT (STDMETHODCALLTYPE *get_MessageReflect)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *reflect); + + HRESULT (STDMETHODCALLTYPE *get_ShowGrabHandles)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *show); + + HRESULT (STDMETHODCALLTYPE *get_ShowHatching)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *show); + + HRESULT (STDMETHODCALLTYPE *put_DocHostFlags)( + IAxWinAmbientDispatchEx *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *get_DocHostFlags)( + IAxWinAmbientDispatchEx *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *put_DocHostDoubleClickFlags)( + IAxWinAmbientDispatchEx *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *get_DocHostDoubleClickFlags)( + IAxWinAmbientDispatchEx *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *put_AllowContextMenu)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowContextMenu)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowShowUI)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowShowUI)( + IAxWinAmbientDispatchEx *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_OptionKeyPath)( + IAxWinAmbientDispatchEx *This, + BSTR path); + + HRESULT (STDMETHODCALLTYPE *get_OptionKeyPath)( + IAxWinAmbientDispatchEx *This, + BSTR *path); + + /*** IAxWinAmbientDispatchEx methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAmbientDispatch)( + IAxWinAmbientDispatchEx *This, + IDispatch *disp); + + END_INTERFACE +} IAxWinAmbientDispatchExVtbl; + +interface IAxWinAmbientDispatchEx { + CONST_VTBL IAxWinAmbientDispatchExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAxWinAmbientDispatchEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAxWinAmbientDispatchEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAxWinAmbientDispatchEx_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IAxWinAmbientDispatchEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IAxWinAmbientDispatchEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IAxWinAmbientDispatchEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IAxWinAmbientDispatchEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAxWinAmbientDispatch methods ***/ +#define IAxWinAmbientDispatchEx_put_AllowWindowlessActivation(This,allow) (This)->lpVtbl->put_AllowWindowlessActivation(This,allow) +#define IAxWinAmbientDispatchEx_get_AllowWindowlessActivation(This,allowed) (This)->lpVtbl->get_AllowWindowlessActivation(This,allowed) +#define IAxWinAmbientDispatchEx_put_BackColor(This,color) (This)->lpVtbl->put_BackColor(This,color) +#define IAxWinAmbientDispatchEx_get_BackColor(This,color) (This)->lpVtbl->get_BackColor(This,color) +#define IAxWinAmbientDispatchEx_put_ForeColor(This,color) (This)->lpVtbl->put_ForeColor(This,color) +#define IAxWinAmbientDispatchEx_get_ForeColor(This,color) (This)->lpVtbl->get_ForeColor(This,color) +#define IAxWinAmbientDispatchEx_put_LocaleID(This,lcid) (This)->lpVtbl->put_LocaleID(This,lcid) +#define IAxWinAmbientDispatchEx_get_LocaleID(This,lcid) (This)->lpVtbl->get_LocaleID(This,lcid) +#define IAxWinAmbientDispatchEx_put_UserMode(This,mode) (This)->lpVtbl->put_UserMode(This,mode) +#define IAxWinAmbientDispatchEx_get_UserMode(This,mode) (This)->lpVtbl->get_UserMode(This,mode) +#define IAxWinAmbientDispatchEx_put_DisplayAsDefault(This,display) (This)->lpVtbl->put_DisplayAsDefault(This,display) +#define IAxWinAmbientDispatchEx_get_DisplayAsDefault(This,display) (This)->lpVtbl->get_DisplayAsDefault(This,display) +#define IAxWinAmbientDispatchEx_put_Font(This,font) (This)->lpVtbl->put_Font(This,font) +#define IAxWinAmbientDispatchEx_get_Font(This,font) (This)->lpVtbl->get_Font(This,font) +#define IAxWinAmbientDispatchEx_put_MessageReflect(This,reflect) (This)->lpVtbl->put_MessageReflect(This,reflect) +#define IAxWinAmbientDispatchEx_get_MessageReflect(This,reflect) (This)->lpVtbl->get_MessageReflect(This,reflect) +#define IAxWinAmbientDispatchEx_get_ShowGrabHandles(This,show) (This)->lpVtbl->get_ShowGrabHandles(This,show) +#define IAxWinAmbientDispatchEx_get_ShowHatching(This,show) (This)->lpVtbl->get_ShowHatching(This,show) +#define IAxWinAmbientDispatchEx_put_DocHostFlags(This,flags) (This)->lpVtbl->put_DocHostFlags(This,flags) +#define IAxWinAmbientDispatchEx_get_DocHostFlags(This,flags) (This)->lpVtbl->get_DocHostFlags(This,flags) +#define IAxWinAmbientDispatchEx_put_DocHostDoubleClickFlags(This,flags) (This)->lpVtbl->put_DocHostDoubleClickFlags(This,flags) +#define IAxWinAmbientDispatchEx_get_DocHostDoubleClickFlags(This,flags) (This)->lpVtbl->get_DocHostDoubleClickFlags(This,flags) +#define IAxWinAmbientDispatchEx_put_AllowContextMenu(This,allow) (This)->lpVtbl->put_AllowContextMenu(This,allow) +#define IAxWinAmbientDispatchEx_get_AllowContextMenu(This,allow) (This)->lpVtbl->get_AllowContextMenu(This,allow) +#define IAxWinAmbientDispatchEx_put_AllowShowUI(This,allow) (This)->lpVtbl->put_AllowShowUI(This,allow) +#define IAxWinAmbientDispatchEx_get_AllowShowUI(This,allow) (This)->lpVtbl->get_AllowShowUI(This,allow) +#define IAxWinAmbientDispatchEx_put_OptionKeyPath(This,path) (This)->lpVtbl->put_OptionKeyPath(This,path) +#define IAxWinAmbientDispatchEx_get_OptionKeyPath(This,path) (This)->lpVtbl->get_OptionKeyPath(This,path) +/*** IAxWinAmbientDispatchEx methods ***/ +#define IAxWinAmbientDispatchEx_SetAmbientDispatch(This,disp) (This)->lpVtbl->SetAmbientDispatch(This,disp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_QueryInterface(IAxWinAmbientDispatchEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAxWinAmbientDispatchEx_AddRef(IAxWinAmbientDispatchEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAxWinAmbientDispatchEx_Release(IAxWinAmbientDispatchEx* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_GetTypeInfoCount(IAxWinAmbientDispatchEx* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_GetTypeInfo(IAxWinAmbientDispatchEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_GetIDsOfNames(IAxWinAmbientDispatchEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_Invoke(IAxWinAmbientDispatchEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAxWinAmbientDispatch methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_AllowWindowlessActivation(IAxWinAmbientDispatchEx* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowWindowlessActivation(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_AllowWindowlessActivation(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *allowed) { + return This->lpVtbl->get_AllowWindowlessActivation(This,allowed); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_BackColor(IAxWinAmbientDispatchEx* This,OLE_COLOR color) { + return This->lpVtbl->put_BackColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_BackColor(IAxWinAmbientDispatchEx* This,OLE_COLOR *color) { + return This->lpVtbl->get_BackColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_ForeColor(IAxWinAmbientDispatchEx* This,OLE_COLOR color) { + return This->lpVtbl->put_ForeColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_ForeColor(IAxWinAmbientDispatchEx* This,OLE_COLOR *color) { + return This->lpVtbl->get_ForeColor(This,color); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_LocaleID(IAxWinAmbientDispatchEx* This,LCID lcid) { + return This->lpVtbl->put_LocaleID(This,lcid); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_LocaleID(IAxWinAmbientDispatchEx* This,LCID *lcid) { + return This->lpVtbl->get_LocaleID(This,lcid); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_UserMode(IAxWinAmbientDispatchEx* This,VARIANT_BOOL mode) { + return This->lpVtbl->put_UserMode(This,mode); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_UserMode(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *mode) { + return This->lpVtbl->get_UserMode(This,mode); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_DisplayAsDefault(IAxWinAmbientDispatchEx* This,VARIANT_BOOL display) { + return This->lpVtbl->put_DisplayAsDefault(This,display); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_DisplayAsDefault(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *display) { + return This->lpVtbl->get_DisplayAsDefault(This,display); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_Font(IAxWinAmbientDispatchEx* This,IFontDisp *font) { + return This->lpVtbl->put_Font(This,font); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_Font(IAxWinAmbientDispatchEx* This,IFontDisp **font) { + return This->lpVtbl->get_Font(This,font); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_MessageReflect(IAxWinAmbientDispatchEx* This,VARIANT_BOOL reflect) { + return This->lpVtbl->put_MessageReflect(This,reflect); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_MessageReflect(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *reflect) { + return This->lpVtbl->get_MessageReflect(This,reflect); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_ShowGrabHandles(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *show) { + return This->lpVtbl->get_ShowGrabHandles(This,show); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_ShowHatching(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *show) { + return This->lpVtbl->get_ShowHatching(This,show); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_DocHostFlags(IAxWinAmbientDispatchEx* This,DWORD flags) { + return This->lpVtbl->put_DocHostFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_DocHostFlags(IAxWinAmbientDispatchEx* This,DWORD *flags) { + return This->lpVtbl->get_DocHostFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_DocHostDoubleClickFlags(IAxWinAmbientDispatchEx* This,DWORD flags) { + return This->lpVtbl->put_DocHostDoubleClickFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_DocHostDoubleClickFlags(IAxWinAmbientDispatchEx* This,DWORD *flags) { + return This->lpVtbl->get_DocHostDoubleClickFlags(This,flags); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_AllowContextMenu(IAxWinAmbientDispatchEx* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowContextMenu(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_AllowContextMenu(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowContextMenu(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_AllowShowUI(IAxWinAmbientDispatchEx* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowShowUI(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_AllowShowUI(IAxWinAmbientDispatchEx* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowShowUI(This,allow); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_put_OptionKeyPath(IAxWinAmbientDispatchEx* This,BSTR path) { + return This->lpVtbl->put_OptionKeyPath(This,path); +} +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_get_OptionKeyPath(IAxWinAmbientDispatchEx* This,BSTR *path) { + return This->lpVtbl->get_OptionKeyPath(This,path); +} +/*** IAxWinAmbientDispatchEx methods ***/ +static FORCEINLINE HRESULT IAxWinAmbientDispatchEx_SetAmbientDispatch(IAxWinAmbientDispatchEx* This,IDispatch *disp) { + return This->lpVtbl->SetAmbientDispatch(This,disp); +} +#endif +#endif + +#endif + + +#endif /* __IAxWinAmbientDispatchEx_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3); +HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**); +HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*); +HRESULT WINAPI AtlAxCreateControlLic(LPCOLESTR,HWND,IStream*,IUnknown**,BSTR); +HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*,BSTR); +BOOL WINAPI AtlAxWinInit(void); +HRESULT WINAPI AtlAxGetControl(HWND,IUnknown**); +HRESULT WINAPI AtlAxGetHost(HWND,IUnknown**); +HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); +#define AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog) +INT_PTR WINAPI AtlAxDialogBoxW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); +#define AtlAxDialogBox WINELIB_NAME_AW(AtlAxDialogBox) +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __atliface_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atliface.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atliface.idl new file mode 100644 index 0000000..e7599c7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atliface.idl @@ -0,0 +1,221 @@ +/* + * Copyright 2005 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; + +cpp_quote("#ifdef ATL_INITGUID") +cpp_quote("#include ") +cpp_quote("#endif") + +[ + object, + uuid(e21f8a85-b05d-4243-8183-c7cb405588f7), + pointer_default(unique) +] +interface IRegistrarBase : IUnknown +{ + HRESULT AddReplacement( + [in] LPCOLESTR Key, + [in] LPCOLESTR item); + + HRESULT ClearReplacements(); +} + +[ + object, + uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3), + pointer_default(unique) +] +interface IRegistrar : IRegistrarBase +{ + HRESULT ResourceRegisterSz( + [in] LPCOLESTR resFileName, + [in] LPCOLESTR szID, + [in] LPCOLESTR szType); + + HRESULT ResourceUnregisterSz( + [in] LPCOLESTR resFileName, + [in] LPCOLESTR szID, + [in] LPCOLESTR szType); + + HRESULT FileRegister( + [in] LPCOLESTR fileName); + + HRESULT FileUnregister( + [in] LPCOLESTR fileName); + + HRESULT StringRegister( + [in] LPCOLESTR data); + + HRESULT StringUnregister( + [in] LPCOLESTR data); + + HRESULT ResourceRegister( + [in] LPCOLESTR resFileName, + [in] UINT nID, + [in] LPCOLESTR szType); + + HRESULT ResourceUnregister( + [in] LPCOLESTR resFileName, + [in] UINT nID, + [in] LPCOLESTR szType); +} + +[ + object, + uuid(425b5af0-65f1-11d1-9611-0000f81e0d0d) +] +interface IDocHostUIHandlerDispatch : IDispatch +{ + HRESULT ShowContextMenu([in] DWORD id, + [in] LONG x, + [in] LONG y, + [in] IUnknown *unkreserved, + [in] IDispatch *dispreserved, + [out, retval] HRESULT *retval); + HRESULT GetHostInfo([in, out] DWORD *flags, + [in, out] DWORD *doubleclick); + HRESULT ShowUI([in] DWORD id, + [in] IUnknown *activeobject, + [in] IUnknown *cmdtarget, + [in] IUnknown *frame, + [in] IUnknown *doc, + [out, retval] HRESULT *retval); + HRESULT HideUI(); + HRESULT UpdateUI(); + HRESULT EnableModeless([in] VARIANT_BOOL enable); + HRESULT OnDocWindowActivate([in] VARIANT_BOOL activate); + HRESULT OnFrameWindowActivate([in] VARIANT_BOOL activate); + HRESULT ResizeBorder([in] LONG left, + [in] LONG top, + [in] LONG right, + [in] LONG bottom, + [in] IUnknown *window, + [in] VARIANT_BOOL framewindow); + HRESULT TranslateAccelerator([in] HWND hwnd, + [in] UINT msg, + [in] WPARAM wparam, + [in] LPARAM lparam, + [in] BSTR guid_cmd_group, + [out, retval] HRESULT *retval); + HRESULT GetOptionKeyPath([out] BSTR *key, + [in] DWORD reserved); + HRESULT GetDropTarget([in] IUnknown *droptarget, + [out] IUnknown **ret_droptarget); + HRESULT GetExternal([out] IDispatch **disp); + HRESULT TranslateUrl([in] DWORD reserved, + [in] BSTR url, + [out] BSTR *translated_url); + HRESULT FilterDataObject([in] IUnknown *dataobject, + [out] IUnknown **dataobject_ret); +} + +[ + dual, + object, + oleautomation, + uuid(b6ea2051-048a-11d1-82b9-00c04fb9942e) +] +interface IAxWinAmbientDispatch : IDispatch +{ + [propput] + HRESULT AllowWindowlessActivation([in] VARIANT_BOOL allow); + [propget] + HRESULT AllowWindowlessActivation([out, retval] VARIANT_BOOL *allowed); + [propput, id(-701)] + HRESULT BackColor([in] OLE_COLOR color); + [propget, id(-701)] + HRESULT BackColor([out, retval] OLE_COLOR *color); + [propput, id(-704)] + HRESULT ForeColor([in] OLE_COLOR color); + [propget, id(-704)] + HRESULT ForeColor([out, retval] OLE_COLOR *color); + [propput, id(-705)] + HRESULT LocaleID([in] LCID lcid); + [propget, id(-705)] + HRESULT LocaleID([out, retval] LCID *lcid); + [propput, id(-709)] + HRESULT UserMode([in] VARIANT_BOOL mode); + [propget, id(-709)] + HRESULT UserMode([out, retval] VARIANT_BOOL *mode); + [propput, id(-713)] + HRESULT DisplayAsDefault([in] VARIANT_BOOL display); + [propget, id(-713)] + HRESULT DisplayAsDefault([out, retval] VARIANT_BOOL *display); + [propput, id(-703)] + HRESULT Font([in] IFontDisp *font); + [propget, id(-703)] + HRESULT Font([out, retval] IFontDisp **font); + [propput, id(-706)] + HRESULT MessageReflect([in] VARIANT_BOOL reflect); + [propget, id(-706)] + HRESULT MessageReflect([out, retval] VARIANT_BOOL *reflect); + [propget, id(-711)] + HRESULT ShowGrabHandles([out, retval] VARIANT_BOOL *show); + [propget, id(-712)] + HRESULT ShowHatching([out, retval] VARIANT_BOOL *show); + [propput] + HRESULT DocHostFlags([in] DWORD flags); + [propget] + HRESULT DocHostFlags([out, retval] DWORD *flags); + [propput] + HRESULT DocHostDoubleClickFlags([in] DWORD flags); + [propget] + HRESULT DocHostDoubleClickFlags([out, retval] DWORD *flags); + [propput] + HRESULT AllowContextMenu([in] VARIANT_BOOL allow); + [propget] + HRESULT AllowContextMenu([out, retval] VARIANT_BOOL *allow); + [propput] + HRESULT AllowShowUI([in] VARIANT_BOOL allow); + [propget] + HRESULT AllowShowUI([out, retval] VARIANT_BOOL *allow); + [propput] + HRESULT OptionKeyPath([in] BSTR path); + [propget] + HRESULT OptionKeyPath([out, retval] BSTR *path); +} + +[ + dual, + object, + oleautomation, + uuid(b2d0778b-ac99-4c58-a5c8-e7724e5316b5) +] +interface IAxWinAmbientDispatchEx : IAxWinAmbientDispatch +{ + [id(100)] + HRESULT SetAmbientDispatch([in] IDispatch *disp); +} + +cpp_quote("DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);") + +cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);") +cpp_quote("HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);") +cpp_quote("HRESULT WINAPI AtlAxCreateControlLic(LPCOLESTR,HWND,IStream*,IUnknown**,BSTR);") +cpp_quote("HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*,BSTR);") +cpp_quote("BOOL WINAPI AtlAxWinInit(void);") +cpp_quote("HRESULT WINAPI AtlAxGetControl(HWND,IUnknown**);") +cpp_quote("HRESULT WINAPI AtlAxGetHost(HWND,IUnknown**);") + +cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);") +cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);") +cpp_quote("#define AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog)") +cpp_quote("INT_PTR WINAPI AtlAxDialogBoxW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);") +cpp_quote("INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);") +cpp_quote("#define AtlAxDialogBox WINELIB_NAME_AW(AtlAxDialogBox)") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlwin.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlwin.h new file mode 100644 index 0000000..386177b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/atlwin.h @@ -0,0 +1,53 @@ +/* + * Active Template Library Window Functions + * + * Copyright 2006 Robert Shearman for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ATLWIN_H__ +#define __WINE_ATLWIN_H__ + +typedef struct _ATL_WNDCLASSINFOA_TAG +{ + WNDCLASSEXA m_wc; + LPCSTR m_lpszOrigName; + WNDPROC pWndProc; + LPCSTR m_lpszCursorID; + BOOL m_bSystemCursor; + ATOM m_atom; + CHAR m_szAutoName[14]; +} _ATL_WNDCLASSINFOA; + +typedef struct _ATL_WNDCLASSINFOW_TAG +{ + WNDCLASSEXW m_wc; + LPCWSTR m_lpszOrigName; + WNDPROC pWndProc; + LPCWSTR m_lpszCursorID; + BOOL m_bSystemCursor; + ATOM m_atom; + WCHAR m_szAutoName[14]; +} _ATL_WNDCLASSINFOW; + +ATOM WINAPI AtlModuleRegisterWndClassInfoA(_ATL_MODULEA *pm, _ATL_WNDCLASSINFOA *wci, WNDPROC *pProc); +ATOM WINAPI AtlModuleRegisterWndClassInfoW(_ATL_MODULEW *pm, _ATL_WNDCLASSINFOW *wci, WNDPROC *pProc); + +HDC WINAPI AtlCreateTargetDC(HDC hdc, DVTARGETDEVICE *ptd); +void WINAPI AtlHiMetricToPixel(const SIZEL *lpSizeInHiMetric, LPSIZEL lpSizeInPix); +void WINAPI AtlPixelToHiMetric(const SIZEL *lpSizeInPix, LPSIZEL lpSizeInHiMetric); + +#endif /* __WINE_ATLWIN_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audevcod.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audevcod.h new file mode 100644 index 0000000..116f1a8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audevcod.h @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __AUDEVCOD__ +#define __AUDEVCOD__ + +typedef enum _tagSND_DEVICE_ERROR +{ + SNDDEV_ERROR_Open=1, + SNDDEV_ERROR_Close=2, + SNDDEV_ERROR_GetCaps=3, + SNDDEV_ERROR_PrepareHeader=4, + SNDDEV_ERROR_UnprepareHeader=5, + SNDDEV_ERROR_Reset=6, + SNDDEV_ERROR_Restart=7, + SNDDEV_ERROR_GetPosition=8, + SNDDEV_ERROR_Write=9, + SNDDEV_ERROR_Pause=10, + SNDDEV_ERROR_Stop=11, + SNDDEV_ERROR_Start=12, + SNDDEV_ERROR_AddBuffer=13, + SNDDEV_ERROR_Query=14 +} SNDDEV_ERR; + +#define EC_SND_DEVICE_ERROR_BASE 0x0200 +#define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE+0x00) +#define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE+0x01) + +#endif /* __AUDEVCOD__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audioclient.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audioclient.h new file mode 100644 index 0000000..3d25456 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audioclient.h @@ -0,0 +1,1290 @@ +/*** Autogenerated by WIDL 2.18 from audioclient.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __audioclient_h__ +#define __audioclient_h__ + +/* Forward declarations */ + +#ifndef __IAudioClient_FWD_DEFINED__ +#define __IAudioClient_FWD_DEFINED__ +typedef interface IAudioClient IAudioClient; +#ifdef __cplusplus +interface IAudioClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioRenderClient_FWD_DEFINED__ +#define __IAudioRenderClient_FWD_DEFINED__ +typedef interface IAudioRenderClient IAudioRenderClient; +#ifdef __cplusplus +interface IAudioRenderClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioCaptureClient_FWD_DEFINED__ +#define __IAudioCaptureClient_FWD_DEFINED__ +typedef interface IAudioCaptureClient IAudioCaptureClient; +#ifdef __cplusplus +interface IAudioCaptureClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioClock_FWD_DEFINED__ +#define __IAudioClock_FWD_DEFINED__ +typedef interface IAudioClock IAudioClock; +#ifdef __cplusplus +interface IAudioClock; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioClock2_FWD_DEFINED__ +#define __IAudioClock2_FWD_DEFINED__ +typedef interface IAudioClock2 IAudioClock2; +#ifdef __cplusplus +interface IAudioClock2; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioClockAdjustment_FWD_DEFINED__ +#define __IAudioClockAdjustment_FWD_DEFINED__ +typedef interface IAudioClockAdjustment IAudioClockAdjustment; +#ifdef __cplusplus +interface IAudioClockAdjustment; +#endif /* __cplusplus */ +#endif + +#ifndef __ISimpleAudioVolume_FWD_DEFINED__ +#define __ISimpleAudioVolume_FWD_DEFINED__ +typedef interface ISimpleAudioVolume ISimpleAudioVolume; +#ifdef __cplusplus +interface ISimpleAudioVolume; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioStreamVolume_FWD_DEFINED__ +#define __IAudioStreamVolume_FWD_DEFINED__ +typedef interface IAudioStreamVolume IAudioStreamVolume; +#ifdef __cplusplus +interface IAudioStreamVolume; +#endif /* __cplusplus */ +#endif + +#ifndef __IChannelAudioVolume_FWD_DEFINED__ +#define __IChannelAudioVolume_FWD_DEFINED__ +typedef interface IChannelAudioVolume IChannelAudioVolume; +#ifdef __cplusplus +interface IChannelAudioVolume; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IAudioClient_FWD_DEFINED__ +#define __IAudioClient_FWD_DEFINED__ +typedef interface IAudioClient IAudioClient; +#ifdef __cplusplus +interface IAudioClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioRenderClient_FWD_DEFINED__ +#define __IAudioRenderClient_FWD_DEFINED__ +typedef interface IAudioRenderClient IAudioRenderClient; +#ifdef __cplusplus +interface IAudioRenderClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioCaptureClient_FWD_DEFINED__ +#define __IAudioCaptureClient_FWD_DEFINED__ +typedef interface IAudioCaptureClient IAudioCaptureClient; +#ifdef __cplusplus +interface IAudioCaptureClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioClock_FWD_DEFINED__ +#define __IAudioClock_FWD_DEFINED__ +typedef interface IAudioClock IAudioClock; +#ifdef __cplusplus +interface IAudioClock; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioClock2_FWD_DEFINED__ +#define __IAudioClock2_FWD_DEFINED__ +typedef interface IAudioClock2 IAudioClock2; +#ifdef __cplusplus +interface IAudioClock2; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioClockAdjustment_FWD_DEFINED__ +#define __IAudioClockAdjustment_FWD_DEFINED__ +typedef interface IAudioClockAdjustment IAudioClockAdjustment; +#ifdef __cplusplus +interface IAudioClockAdjustment; +#endif /* __cplusplus */ +#endif + +#ifndef __ISimpleAudioVolume_FWD_DEFINED__ +#define __ISimpleAudioVolume_FWD_DEFINED__ +typedef interface ISimpleAudioVolume ISimpleAudioVolume; +#ifdef __cplusplus +interface ISimpleAudioVolume; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioStreamVolume_FWD_DEFINED__ +#define __IAudioStreamVolume_FWD_DEFINED__ +typedef interface IAudioStreamVolume IAudioStreamVolume; +#ifdef __cplusplus +interface IAudioStreamVolume; +#endif /* __cplusplus */ +#endif + +#ifndef __IChannelAudioVolume_FWD_DEFINED__ +#define __IChannelAudioVolume_FWD_DEFINED__ +typedef interface IChannelAudioVolume IChannelAudioVolume; +#ifdef __cplusplus +interface IChannelAudioVolume; +#endif /* __cplusplus */ +#endif + +#if 0 +typedef struct WAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX; +#else +#include +#endif +#if 0 +typedef LONGLONG REFERENCE_TIME; +#else +#define _IKsControl_ +#include +#include +#endif +enum _AUDCLNT_BUFFERFLAGS { + AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY = 0x1, + AUDCLNT_BUFFERFLAGS_SILENT = 0x2, + AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR = 0x4 +}; +/***************************************************************************** + * IAudioClient interface + */ +#ifndef __IAudioClient_INTERFACE_DEFINED__ +#define __IAudioClient_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioClient, 0x1cb9ad4c, 0xdbfa, 0x4c32, 0xb1,0x78, 0xc2,0xf5,0x68,0xa7,0x03,0xb2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1cb9ad4c-dbfa-4c32-b178-c2f568a703b2") +IAudioClient : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + AUDCLNT_SHAREMODE ShareMode, + DWORD StreamFlags, + REFERENCE_TIME hnsBufferDuration, + REFERENCE_TIME hnsPeriodicity, + const WAVEFORMATEX *pFormat, + LPCGUID AudioSessionGuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferSize( + UINT32 *pNumBufferFrames) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamLatency( + REFERENCE_TIME *phnsLatency) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentPadding( + UINT32 *pNumPaddingFrames) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsFormatSupported( + AUDCLNT_SHAREMODE ShareMode, + const WAVEFORMATEX *pFormat, + WAVEFORMATEX **ppClosestMatch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMixFormat( + WAVEFORMATEX **ppDeviceFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDevicePeriod( + REFERENCE_TIME *phnsDefaultDevicePeriod, + REFERENCE_TIME *phnsMinimumDevicePeriod) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEventHandle( + HANDLE eventHandle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetService( + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioClient, 0x1cb9ad4c, 0xdbfa, 0x4c32, 0xb1,0x78, 0xc2,0xf5,0x68,0xa7,0x03,0xb2) +#endif +#else +typedef struct IAudioClientVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioClient *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioClient *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioClient *This); + + /*** IAudioClient methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IAudioClient *This, + AUDCLNT_SHAREMODE ShareMode, + DWORD StreamFlags, + REFERENCE_TIME hnsBufferDuration, + REFERENCE_TIME hnsPeriodicity, + const WAVEFORMATEX *pFormat, + LPCGUID AudioSessionGuid); + + HRESULT (STDMETHODCALLTYPE *GetBufferSize)( + IAudioClient *This, + UINT32 *pNumBufferFrames); + + HRESULT (STDMETHODCALLTYPE *GetStreamLatency)( + IAudioClient *This, + REFERENCE_TIME *phnsLatency); + + HRESULT (STDMETHODCALLTYPE *GetCurrentPadding)( + IAudioClient *This, + UINT32 *pNumPaddingFrames); + + HRESULT (STDMETHODCALLTYPE *IsFormatSupported)( + IAudioClient *This, + AUDCLNT_SHAREMODE ShareMode, + const WAVEFORMATEX *pFormat, + WAVEFORMATEX **ppClosestMatch); + + HRESULT (STDMETHODCALLTYPE *GetMixFormat)( + IAudioClient *This, + WAVEFORMATEX **ppDeviceFormat); + + HRESULT (STDMETHODCALLTYPE *GetDevicePeriod)( + IAudioClient *This, + REFERENCE_TIME *phnsDefaultDevicePeriod, + REFERENCE_TIME *phnsMinimumDevicePeriod); + + HRESULT (STDMETHODCALLTYPE *Start)( + IAudioClient *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IAudioClient *This); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IAudioClient *This); + + HRESULT (STDMETHODCALLTYPE *SetEventHandle)( + IAudioClient *This, + HANDLE eventHandle); + + HRESULT (STDMETHODCALLTYPE *GetService)( + IAudioClient *This, + REFIID riid, + void **ppv); + + END_INTERFACE +} IAudioClientVtbl; + +interface IAudioClient { + CONST_VTBL IAudioClientVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioClient_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioClient_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioClient methods ***/ +#define IAudioClient_Initialize(This,ShareMode,StreamFlags,hnsBufferDuration,hnsPeriodicity,pFormat,AudioSessionGuid) (This)->lpVtbl->Initialize(This,ShareMode,StreamFlags,hnsBufferDuration,hnsPeriodicity,pFormat,AudioSessionGuid) +#define IAudioClient_GetBufferSize(This,pNumBufferFrames) (This)->lpVtbl->GetBufferSize(This,pNumBufferFrames) +#define IAudioClient_GetStreamLatency(This,phnsLatency) (This)->lpVtbl->GetStreamLatency(This,phnsLatency) +#define IAudioClient_GetCurrentPadding(This,pNumPaddingFrames) (This)->lpVtbl->GetCurrentPadding(This,pNumPaddingFrames) +#define IAudioClient_IsFormatSupported(This,ShareMode,pFormat,ppClosestMatch) (This)->lpVtbl->IsFormatSupported(This,ShareMode,pFormat,ppClosestMatch) +#define IAudioClient_GetMixFormat(This,ppDeviceFormat) (This)->lpVtbl->GetMixFormat(This,ppDeviceFormat) +#define IAudioClient_GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) (This)->lpVtbl->GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) +#define IAudioClient_Start(This) (This)->lpVtbl->Start(This) +#define IAudioClient_Stop(This) (This)->lpVtbl->Stop(This) +#define IAudioClient_Reset(This) (This)->lpVtbl->Reset(This) +#define IAudioClient_SetEventHandle(This,eventHandle) (This)->lpVtbl->SetEventHandle(This,eventHandle) +#define IAudioClient_GetService(This,riid,ppv) (This)->lpVtbl->GetService(This,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioClient_QueryInterface(IAudioClient* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioClient_AddRef(IAudioClient* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioClient_Release(IAudioClient* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioClient methods ***/ +static FORCEINLINE HRESULT IAudioClient_Initialize(IAudioClient* This,AUDCLNT_SHAREMODE ShareMode,DWORD StreamFlags,REFERENCE_TIME hnsBufferDuration,REFERENCE_TIME hnsPeriodicity,const WAVEFORMATEX *pFormat,LPCGUID AudioSessionGuid) { + return This->lpVtbl->Initialize(This,ShareMode,StreamFlags,hnsBufferDuration,hnsPeriodicity,pFormat,AudioSessionGuid); +} +static FORCEINLINE HRESULT IAudioClient_GetBufferSize(IAudioClient* This,UINT32 *pNumBufferFrames) { + return This->lpVtbl->GetBufferSize(This,pNumBufferFrames); +} +static FORCEINLINE HRESULT IAudioClient_GetStreamLatency(IAudioClient* This,REFERENCE_TIME *phnsLatency) { + return This->lpVtbl->GetStreamLatency(This,phnsLatency); +} +static FORCEINLINE HRESULT IAudioClient_GetCurrentPadding(IAudioClient* This,UINT32 *pNumPaddingFrames) { + return This->lpVtbl->GetCurrentPadding(This,pNumPaddingFrames); +} +static FORCEINLINE HRESULT IAudioClient_IsFormatSupported(IAudioClient* This,AUDCLNT_SHAREMODE ShareMode,const WAVEFORMATEX *pFormat,WAVEFORMATEX **ppClosestMatch) { + return This->lpVtbl->IsFormatSupported(This,ShareMode,pFormat,ppClosestMatch); +} +static FORCEINLINE HRESULT IAudioClient_GetMixFormat(IAudioClient* This,WAVEFORMATEX **ppDeviceFormat) { + return This->lpVtbl->GetMixFormat(This,ppDeviceFormat); +} +static FORCEINLINE HRESULT IAudioClient_GetDevicePeriod(IAudioClient* This,REFERENCE_TIME *phnsDefaultDevicePeriod,REFERENCE_TIME *phnsMinimumDevicePeriod) { + return This->lpVtbl->GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod); +} +static FORCEINLINE HRESULT IAudioClient_Start(IAudioClient* This) { + return This->lpVtbl->Start(This); +} +static FORCEINLINE HRESULT IAudioClient_Stop(IAudioClient* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IAudioClient_Reset(IAudioClient* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IAudioClient_SetEventHandle(IAudioClient* This,HANDLE eventHandle) { + return This->lpVtbl->SetEventHandle(This,eventHandle); +} +static FORCEINLINE HRESULT IAudioClient_GetService(IAudioClient* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetService(This,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IAudioClient_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioRenderClient interface + */ +#ifndef __IAudioRenderClient_INTERFACE_DEFINED__ +#define __IAudioRenderClient_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xad,0xdc,0xa7,0xc2,0x60,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f294acfc-3146-4483-a7bf-addca7c260e2") +IAudioRenderClient : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + UINT32 NumFramesRequested, + BYTE **ppData) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseBuffer( + UINT32 NumFramesWritten, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xad,0xdc,0xa7,0xc2,0x60,0xe2) +#endif +#else +typedef struct IAudioRenderClientVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioRenderClient *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioRenderClient *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioRenderClient *This); + + /*** IAudioRenderClient methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IAudioRenderClient *This, + UINT32 NumFramesRequested, + BYTE **ppData); + + HRESULT (STDMETHODCALLTYPE *ReleaseBuffer)( + IAudioRenderClient *This, + UINT32 NumFramesWritten, + DWORD dwFlags); + + END_INTERFACE +} IAudioRenderClientVtbl; + +interface IAudioRenderClient { + CONST_VTBL IAudioRenderClientVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioRenderClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioRenderClient_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioRenderClient_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioRenderClient methods ***/ +#define IAudioRenderClient_GetBuffer(This,NumFramesRequested,ppData) (This)->lpVtbl->GetBuffer(This,NumFramesRequested,ppData) +#define IAudioRenderClient_ReleaseBuffer(This,NumFramesWritten,dwFlags) (This)->lpVtbl->ReleaseBuffer(This,NumFramesWritten,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioRenderClient_QueryInterface(IAudioRenderClient* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioRenderClient_AddRef(IAudioRenderClient* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioRenderClient_Release(IAudioRenderClient* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioRenderClient methods ***/ +static FORCEINLINE HRESULT IAudioRenderClient_GetBuffer(IAudioRenderClient* This,UINT32 NumFramesRequested,BYTE **ppData) { + return This->lpVtbl->GetBuffer(This,NumFramesRequested,ppData); +} +static FORCEINLINE HRESULT IAudioRenderClient_ReleaseBuffer(IAudioRenderClient* This,UINT32 NumFramesWritten,DWORD dwFlags) { + return This->lpVtbl->ReleaseBuffer(This,NumFramesWritten,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IAudioRenderClient_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioCaptureClient interface + */ +#ifndef __IAudioCaptureClient_INTERFACE_DEFINED__ +#define __IAudioCaptureClient_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioCaptureClient, 0xc8adbd64, 0xe71e, 0x48a0, 0xa4,0xde, 0x18,0x5c,0x39,0x5c,0xd3,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c8adbd64-e71e-48a0-a4de-185c395cd317") +IAudioCaptureClient : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + BYTE **ppData, + UINT32 *pNumFramesToRead, + DWORD *pdwFlags, + UINT64 *pu64DevicePosition, + UINT64 *pu64QPCPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseBuffer( + UINT32 NumFramesRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextPacketSize( + UINT32 *pNumFramesInNextPacket) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioCaptureClient, 0xc8adbd64, 0xe71e, 0x48a0, 0xa4,0xde, 0x18,0x5c,0x39,0x5c,0xd3,0x17) +#endif +#else +typedef struct IAudioCaptureClientVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioCaptureClient *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioCaptureClient *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioCaptureClient *This); + + /*** IAudioCaptureClient methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IAudioCaptureClient *This, + BYTE **ppData, + UINT32 *pNumFramesToRead, + DWORD *pdwFlags, + UINT64 *pu64DevicePosition, + UINT64 *pu64QPCPosition); + + HRESULT (STDMETHODCALLTYPE *ReleaseBuffer)( + IAudioCaptureClient *This, + UINT32 NumFramesRead); + + HRESULT (STDMETHODCALLTYPE *GetNextPacketSize)( + IAudioCaptureClient *This, + UINT32 *pNumFramesInNextPacket); + + END_INTERFACE +} IAudioCaptureClientVtbl; + +interface IAudioCaptureClient { + CONST_VTBL IAudioCaptureClientVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioCaptureClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioCaptureClient_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioCaptureClient_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioCaptureClient methods ***/ +#define IAudioCaptureClient_GetBuffer(This,ppData,pNumFramesToRead,pdwFlags,pu64DevicePosition,pu64QPCPosition) (This)->lpVtbl->GetBuffer(This,ppData,pNumFramesToRead,pdwFlags,pu64DevicePosition,pu64QPCPosition) +#define IAudioCaptureClient_ReleaseBuffer(This,NumFramesRead) (This)->lpVtbl->ReleaseBuffer(This,NumFramesRead) +#define IAudioCaptureClient_GetNextPacketSize(This,pNumFramesInNextPacket) (This)->lpVtbl->GetNextPacketSize(This,pNumFramesInNextPacket) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioCaptureClient_QueryInterface(IAudioCaptureClient* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioCaptureClient_AddRef(IAudioCaptureClient* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioCaptureClient_Release(IAudioCaptureClient* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioCaptureClient methods ***/ +static FORCEINLINE HRESULT IAudioCaptureClient_GetBuffer(IAudioCaptureClient* This,BYTE **ppData,UINT32 *pNumFramesToRead,DWORD *pdwFlags,UINT64 *pu64DevicePosition,UINT64 *pu64QPCPosition) { + return This->lpVtbl->GetBuffer(This,ppData,pNumFramesToRead,pdwFlags,pu64DevicePosition,pu64QPCPosition); +} +static FORCEINLINE HRESULT IAudioCaptureClient_ReleaseBuffer(IAudioCaptureClient* This,UINT32 NumFramesRead) { + return This->lpVtbl->ReleaseBuffer(This,NumFramesRead); +} +static FORCEINLINE HRESULT IAudioCaptureClient_GetNextPacketSize(IAudioCaptureClient* This,UINT32 *pNumFramesInNextPacket) { + return This->lpVtbl->GetNextPacketSize(This,pNumFramesInNextPacket); +} +#endif +#endif + +#endif + + +#endif /* __IAudioCaptureClient_INTERFACE_DEFINED__ */ + +#define AUDIOCLOCK_CHARACTERISTIC_FIXED_FREQ 0x00000001 +/***************************************************************************** + * IAudioClock interface + */ +#ifndef __IAudioClock_INTERFACE_DEFINED__ +#define __IAudioClock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioClock, 0xcd63314f, 0x3fba, 0x4a1b, 0x81,0x2c, 0xef,0x96,0x35,0x87,0x28,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cd63314f-3fba-4a1b-812c-ef96358728e7") +IAudioClock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetFrequency( + UINT64 *pu64Frequency) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPosition( + UINT64 *pu64Position, + UINT64 *pu64QPCPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharacteristics( + DWORD *pdwCharacteristics) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioClock, 0xcd63314f, 0x3fba, 0x4a1b, 0x81,0x2c, 0xef,0x96,0x35,0x87,0x28,0xe7) +#endif +#else +typedef struct IAudioClockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioClock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioClock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioClock *This); + + /*** IAudioClock methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFrequency)( + IAudioClock *This, + UINT64 *pu64Frequency); + + HRESULT (STDMETHODCALLTYPE *GetPosition)( + IAudioClock *This, + UINT64 *pu64Position, + UINT64 *pu64QPCPosition); + + HRESULT (STDMETHODCALLTYPE *GetCharacteristics)( + IAudioClock *This, + DWORD *pdwCharacteristics); + + END_INTERFACE +} IAudioClockVtbl; + +interface IAudioClock { + CONST_VTBL IAudioClockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioClock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioClock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioClock_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioClock methods ***/ +#define IAudioClock_GetFrequency(This,pu64Frequency) (This)->lpVtbl->GetFrequency(This,pu64Frequency) +#define IAudioClock_GetPosition(This,pu64Position,pu64QPCPosition) (This)->lpVtbl->GetPosition(This,pu64Position,pu64QPCPosition) +#define IAudioClock_GetCharacteristics(This,pdwCharacteristics) (This)->lpVtbl->GetCharacteristics(This,pdwCharacteristics) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioClock_QueryInterface(IAudioClock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioClock_AddRef(IAudioClock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioClock_Release(IAudioClock* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioClock methods ***/ +static FORCEINLINE HRESULT IAudioClock_GetFrequency(IAudioClock* This,UINT64 *pu64Frequency) { + return This->lpVtbl->GetFrequency(This,pu64Frequency); +} +static FORCEINLINE HRESULT IAudioClock_GetPosition(IAudioClock* This,UINT64 *pu64Position,UINT64 *pu64QPCPosition) { + return This->lpVtbl->GetPosition(This,pu64Position,pu64QPCPosition); +} +static FORCEINLINE HRESULT IAudioClock_GetCharacteristics(IAudioClock* This,DWORD *pdwCharacteristics) { + return This->lpVtbl->GetCharacteristics(This,pdwCharacteristics); +} +#endif +#endif + +#endif + + +#endif /* __IAudioClock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioClock2 interface + */ +#ifndef __IAudioClock2_INTERFACE_DEFINED__ +#define __IAudioClock2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioClock2, 0x6f49ff73, 0x6727, 0x49ac, 0xa0,0x08, 0xd9,0x8c,0xf5,0xe7,0x00,0x48); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6f49ff73-6727-49ac-a008-d98cf5e70048") +IAudioClock2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPosition( + UINT64 *DevicePosition, + UINT64 *QPCPosition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioClock2, 0x6f49ff73, 0x6727, 0x49ac, 0xa0,0x08, 0xd9,0x8c,0xf5,0xe7,0x00,0x48) +#endif +#else +typedef struct IAudioClock2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioClock2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioClock2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioClock2 *This); + + /*** IAudioClock2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPosition)( + IAudioClock2 *This, + UINT64 *DevicePosition, + UINT64 *QPCPosition); + + END_INTERFACE +} IAudioClock2Vtbl; + +interface IAudioClock2 { + CONST_VTBL IAudioClock2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioClock2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioClock2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioClock2_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioClock2 methods ***/ +#define IAudioClock2_GetPosition(This,DevicePosition,QPCPosition) (This)->lpVtbl->GetPosition(This,DevicePosition,QPCPosition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioClock2_QueryInterface(IAudioClock2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioClock2_AddRef(IAudioClock2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioClock2_Release(IAudioClock2* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioClock2 methods ***/ +static FORCEINLINE HRESULT IAudioClock2_GetPosition(IAudioClock2* This,UINT64 *DevicePosition,UINT64 *QPCPosition) { + return This->lpVtbl->GetPosition(This,DevicePosition,QPCPosition); +} +#endif +#endif + +#endif + + +#endif /* __IAudioClock2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioClockAdjustment interface + */ +#ifndef __IAudioClockAdjustment_INTERFACE_DEFINED__ +#define __IAudioClockAdjustment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioClockAdjustment, 0xf6e4c0a0, 0x46d9, 0x4fb9, 0xbe,0x21, 0x57,0xa3,0xef,0x2b,0x62,0x6c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f6e4c0a0-46d9-4fb9-be21-57a3ef2b626c") +IAudioClockAdjustment : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetSampleRate( + float flSampleRate) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioClockAdjustment, 0xf6e4c0a0, 0x46d9, 0x4fb9, 0xbe,0x21, 0x57,0xa3,0xef,0x2b,0x62,0x6c) +#endif +#else +typedef struct IAudioClockAdjustmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioClockAdjustment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioClockAdjustment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioClockAdjustment *This); + + /*** IAudioClockAdjustment methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSampleRate)( + IAudioClockAdjustment *This, + float flSampleRate); + + END_INTERFACE +} IAudioClockAdjustmentVtbl; + +interface IAudioClockAdjustment { + CONST_VTBL IAudioClockAdjustmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioClockAdjustment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioClockAdjustment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioClockAdjustment_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioClockAdjustment methods ***/ +#define IAudioClockAdjustment_SetSampleRate(This,flSampleRate) (This)->lpVtbl->SetSampleRate(This,flSampleRate) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioClockAdjustment_QueryInterface(IAudioClockAdjustment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioClockAdjustment_AddRef(IAudioClockAdjustment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioClockAdjustment_Release(IAudioClockAdjustment* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioClockAdjustment methods ***/ +static FORCEINLINE HRESULT IAudioClockAdjustment_SetSampleRate(IAudioClockAdjustment* This,float flSampleRate) { + return This->lpVtbl->SetSampleRate(This,flSampleRate); +} +#endif +#endif + +#endif + + +#endif /* __IAudioClockAdjustment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISimpleAudioVolume interface + */ +#ifndef __ISimpleAudioVolume_INTERFACE_DEFINED__ +#define __ISimpleAudioVolume_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISimpleAudioVolume, 0x87ce5498, 0x68d6, 0x44e5, 0x92,0x15, 0x6d,0xa4,0x7e,0xf8,0x83,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("87ce5498-68d6-44e5-9215-6da47ef883d8") +ISimpleAudioVolume : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMasterVolume( + float fLevel, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMasterVolume( + float *pfLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMute( + const BOOL bMute, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMute( + BOOL *pbMute) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISimpleAudioVolume, 0x87ce5498, 0x68d6, 0x44e5, 0x92,0x15, 0x6d,0xa4,0x7e,0xf8,0x83,0xd8) +#endif +#else +typedef struct ISimpleAudioVolumeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISimpleAudioVolume *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISimpleAudioVolume *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISimpleAudioVolume *This); + + /*** ISimpleAudioVolume methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMasterVolume)( + ISimpleAudioVolume *This, + float fLevel, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetMasterVolume)( + ISimpleAudioVolume *This, + float *pfLevel); + + HRESULT (STDMETHODCALLTYPE *SetMute)( + ISimpleAudioVolume *This, + const BOOL bMute, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetMute)( + ISimpleAudioVolume *This, + BOOL *pbMute); + + END_INTERFACE +} ISimpleAudioVolumeVtbl; + +interface ISimpleAudioVolume { + CONST_VTBL ISimpleAudioVolumeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISimpleAudioVolume_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISimpleAudioVolume_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISimpleAudioVolume_Release(This) (This)->lpVtbl->Release(This) +/*** ISimpleAudioVolume methods ***/ +#define ISimpleAudioVolume_SetMasterVolume(This,fLevel,EventContext) (This)->lpVtbl->SetMasterVolume(This,fLevel,EventContext) +#define ISimpleAudioVolume_GetMasterVolume(This,pfLevel) (This)->lpVtbl->GetMasterVolume(This,pfLevel) +#define ISimpleAudioVolume_SetMute(This,bMute,EventContext) (This)->lpVtbl->SetMute(This,bMute,EventContext) +#define ISimpleAudioVolume_GetMute(This,pbMute) (This)->lpVtbl->GetMute(This,pbMute) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISimpleAudioVolume_QueryInterface(ISimpleAudioVolume* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISimpleAudioVolume_AddRef(ISimpleAudioVolume* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISimpleAudioVolume_Release(ISimpleAudioVolume* This) { + return This->lpVtbl->Release(This); +} +/*** ISimpleAudioVolume methods ***/ +static FORCEINLINE HRESULT ISimpleAudioVolume_SetMasterVolume(ISimpleAudioVolume* This,float fLevel,LPCGUID EventContext) { + return This->lpVtbl->SetMasterVolume(This,fLevel,EventContext); +} +static FORCEINLINE HRESULT ISimpleAudioVolume_GetMasterVolume(ISimpleAudioVolume* This,float *pfLevel) { + return This->lpVtbl->GetMasterVolume(This,pfLevel); +} +static FORCEINLINE HRESULT ISimpleAudioVolume_SetMute(ISimpleAudioVolume* This,const BOOL bMute,LPCGUID EventContext) { + return This->lpVtbl->SetMute(This,bMute,EventContext); +} +static FORCEINLINE HRESULT ISimpleAudioVolume_GetMute(ISimpleAudioVolume* This,BOOL *pbMute) { + return This->lpVtbl->GetMute(This,pbMute); +} +#endif +#endif + +#endif + + +#endif /* __ISimpleAudioVolume_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioStreamVolume interface + */ +#ifndef __IAudioStreamVolume_INTERFACE_DEFINED__ +#define __IAudioStreamVolume_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioStreamVolume, 0x93014887, 0x242d, 0x4068, 0x8a,0x15, 0xcf,0x5e,0x93,0xb9,0x0f,0xe3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("93014887-242d-4068-8a15-cf5e93b90fe3") +IAudioStreamVolume : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetChannelCount( + UINT32 *pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolume( + UINT32 dwIndex, + const float fLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelVolume( + UINT32 dwIndex, + float *pfLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllVolumes( + UINT32 dwCount, + const float *pfVolumes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllVolumes( + UINT32 dwCount, + float *pfVolumes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioStreamVolume, 0x93014887, 0x242d, 0x4068, 0x8a,0x15, 0xcf,0x5e,0x93,0xb9,0x0f,0xe3) +#endif +#else +typedef struct IAudioStreamVolumeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioStreamVolume *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioStreamVolume *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioStreamVolume *This); + + /*** IAudioStreamVolume methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioStreamVolume *This, + UINT32 *pdwCount); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolume)( + IAudioStreamVolume *This, + UINT32 dwIndex, + const float fLevel); + + HRESULT (STDMETHODCALLTYPE *GetChannelVolume)( + IAudioStreamVolume *This, + UINT32 dwIndex, + float *pfLevel); + + HRESULT (STDMETHODCALLTYPE *SetAllVolumes)( + IAudioStreamVolume *This, + UINT32 dwCount, + const float *pfVolumes); + + HRESULT (STDMETHODCALLTYPE *GetAllVolumes)( + IAudioStreamVolume *This, + UINT32 dwCount, + float *pfVolumes); + + END_INTERFACE +} IAudioStreamVolumeVtbl; + +interface IAudioStreamVolume { + CONST_VTBL IAudioStreamVolumeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioStreamVolume_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioStreamVolume_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioStreamVolume_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioStreamVolume methods ***/ +#define IAudioStreamVolume_GetChannelCount(This,pdwCount) (This)->lpVtbl->GetChannelCount(This,pdwCount) +#define IAudioStreamVolume_SetChannelVolume(This,dwIndex,fLevel) (This)->lpVtbl->SetChannelVolume(This,dwIndex,fLevel) +#define IAudioStreamVolume_GetChannelVolume(This,dwIndex,pfLevel) (This)->lpVtbl->GetChannelVolume(This,dwIndex,pfLevel) +#define IAudioStreamVolume_SetAllVolumes(This,dwCount,pfVolumes) (This)->lpVtbl->SetAllVolumes(This,dwCount,pfVolumes) +#define IAudioStreamVolume_GetAllVolumes(This,dwCount,pfVolumes) (This)->lpVtbl->GetAllVolumes(This,dwCount,pfVolumes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioStreamVolume_QueryInterface(IAudioStreamVolume* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioStreamVolume_AddRef(IAudioStreamVolume* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioStreamVolume_Release(IAudioStreamVolume* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioStreamVolume methods ***/ +static FORCEINLINE HRESULT IAudioStreamVolume_GetChannelCount(IAudioStreamVolume* This,UINT32 *pdwCount) { + return This->lpVtbl->GetChannelCount(This,pdwCount); +} +static FORCEINLINE HRESULT IAudioStreamVolume_SetChannelVolume(IAudioStreamVolume* This,UINT32 dwIndex,const float fLevel) { + return This->lpVtbl->SetChannelVolume(This,dwIndex,fLevel); +} +static FORCEINLINE HRESULT IAudioStreamVolume_GetChannelVolume(IAudioStreamVolume* This,UINT32 dwIndex,float *pfLevel) { + return This->lpVtbl->GetChannelVolume(This,dwIndex,pfLevel); +} +static FORCEINLINE HRESULT IAudioStreamVolume_SetAllVolumes(IAudioStreamVolume* This,UINT32 dwCount,const float *pfVolumes) { + return This->lpVtbl->SetAllVolumes(This,dwCount,pfVolumes); +} +static FORCEINLINE HRESULT IAudioStreamVolume_GetAllVolumes(IAudioStreamVolume* This,UINT32 dwCount,float *pfVolumes) { + return This->lpVtbl->GetAllVolumes(This,dwCount,pfVolumes); +} +#endif +#endif + +#endif + + +#endif /* __IAudioStreamVolume_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IChannelAudioVolume interface + */ +#ifndef __IChannelAudioVolume_INTERFACE_DEFINED__ +#define __IChannelAudioVolume_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IChannelAudioVolume, 0x1c158861, 0xb533, 0x4b30, 0xb1,0xcf, 0xe8,0x53,0xe5,0x1c,0x59,0xb8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1c158861-b533-4b30-b1cf-e853e51c59b8") +IChannelAudioVolume : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetChannelCount( + UINT32 *pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolume( + UINT32 dwIndex, + const float fLevel, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelVolume( + UINT32 dwIndex, + float *pfLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllVolumes( + UINT32 dwCount, + const float *pfVolumes, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllVolumes( + UINT32 dwCount, + float *pfVolumes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IChannelAudioVolume, 0x1c158861, 0xb533, 0x4b30, 0xb1,0xcf, 0xe8,0x53,0xe5,0x1c,0x59,0xb8) +#endif +#else +typedef struct IChannelAudioVolumeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IChannelAudioVolume *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IChannelAudioVolume *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IChannelAudioVolume *This); + + /*** IChannelAudioVolume methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IChannelAudioVolume *This, + UINT32 *pdwCount); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolume)( + IChannelAudioVolume *This, + UINT32 dwIndex, + const float fLevel, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetChannelVolume)( + IChannelAudioVolume *This, + UINT32 dwIndex, + float *pfLevel); + + HRESULT (STDMETHODCALLTYPE *SetAllVolumes)( + IChannelAudioVolume *This, + UINT32 dwCount, + const float *pfVolumes, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetAllVolumes)( + IChannelAudioVolume *This, + UINT32 dwCount, + float *pfVolumes); + + END_INTERFACE +} IChannelAudioVolumeVtbl; + +interface IChannelAudioVolume { + CONST_VTBL IChannelAudioVolumeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IChannelAudioVolume_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IChannelAudioVolume_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IChannelAudioVolume_Release(This) (This)->lpVtbl->Release(This) +/*** IChannelAudioVolume methods ***/ +#define IChannelAudioVolume_GetChannelCount(This,pdwCount) (This)->lpVtbl->GetChannelCount(This,pdwCount) +#define IChannelAudioVolume_SetChannelVolume(This,dwIndex,fLevel,EventContext) (This)->lpVtbl->SetChannelVolume(This,dwIndex,fLevel,EventContext) +#define IChannelAudioVolume_GetChannelVolume(This,dwIndex,pfLevel) (This)->lpVtbl->GetChannelVolume(This,dwIndex,pfLevel) +#define IChannelAudioVolume_SetAllVolumes(This,dwCount,pfVolumes,EventContext) (This)->lpVtbl->SetAllVolumes(This,dwCount,pfVolumes,EventContext) +#define IChannelAudioVolume_GetAllVolumes(This,dwCount,pfVolumes) (This)->lpVtbl->GetAllVolumes(This,dwCount,pfVolumes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IChannelAudioVolume_QueryInterface(IChannelAudioVolume* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IChannelAudioVolume_AddRef(IChannelAudioVolume* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IChannelAudioVolume_Release(IChannelAudioVolume* This) { + return This->lpVtbl->Release(This); +} +/*** IChannelAudioVolume methods ***/ +static FORCEINLINE HRESULT IChannelAudioVolume_GetChannelCount(IChannelAudioVolume* This,UINT32 *pdwCount) { + return This->lpVtbl->GetChannelCount(This,pdwCount); +} +static FORCEINLINE HRESULT IChannelAudioVolume_SetChannelVolume(IChannelAudioVolume* This,UINT32 dwIndex,const float fLevel,LPCGUID EventContext) { + return This->lpVtbl->SetChannelVolume(This,dwIndex,fLevel,EventContext); +} +static FORCEINLINE HRESULT IChannelAudioVolume_GetChannelVolume(IChannelAudioVolume* This,UINT32 dwIndex,float *pfLevel) { + return This->lpVtbl->GetChannelVolume(This,dwIndex,pfLevel); +} +static FORCEINLINE HRESULT IChannelAudioVolume_SetAllVolumes(IChannelAudioVolume* This,UINT32 dwCount,const float *pfVolumes,LPCGUID EventContext) { + return This->lpVtbl->SetAllVolumes(This,dwCount,pfVolumes,EventContext); +} +static FORCEINLINE HRESULT IChannelAudioVolume_GetAllVolumes(IChannelAudioVolume* This,UINT32 dwCount,float *pfVolumes) { + return This->lpVtbl->GetAllVolumes(This,dwCount,pfVolumes); +} +#endif +#endif + +#endif + + +#endif /* __IChannelAudioVolume_INTERFACE_DEFINED__ */ + +#define AUDCLNT_ERR(n) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_AUDCLNT, n) +#define AUDCLNT_SUCCESS(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_AUDCLNT, n) +#define AUDCLNT_E_NOT_INITIALIZED AUDCLNT_ERR(1) +#define AUDCLNT_E_ALREADY_INITIALIZED AUDCLNT_ERR(2) +#define AUDCLNT_E_WRONG_ENDPOINT_TYPE AUDCLNT_ERR(3) +#define AUDCLNT_E_DEVICE_INVALIDATED AUDCLNT_ERR(4) +#define AUDCLNT_E_NOT_STOPPED AUDCLNT_ERR(5) +#define AUDCLNT_E_BUFFER_TOO_LARGE AUDCLNT_ERR(6) +#define AUDCLNT_E_OUT_OF_ORDER AUDCLNT_ERR(7) +#define AUDCLNT_E_UNSUPPORTED_FORMAT AUDCLNT_ERR(8) +#define AUDCLNT_E_INVALID_SIZE AUDCLNT_ERR(9) +#define AUDCLNT_E_DEVICE_IN_USE AUDCLNT_ERR(0x0a) +#define AUDCLNT_E_BUFFER_OPERATION_PENDING AUDCLNT_ERR(0x0b) +#define AUDCLNT_E_THREAD_NOT_REGISTERED AUDCLNT_ERR(0x0c) +#define AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED AUDCLNT_ERR(0x0e) +#define AUDCLNT_E_ENDPOINT_CREATE_FAILED AUDCLNT_ERR(0x0f) +#define AUDCLNT_E_SERVICE_NOT_RUNNING AUDCLNT_ERR(0x10) +#define AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED AUDCLNT_ERR(0x11) +#define AUDCLNT_E_EXCLUSIVE_MODE_ONLY AUDCLNT_ERR(0x12) +#define AUDCLNT_E_BUFDURATION_PERIOD_NOT_EQUAL AUDCLNT_ERR(0x13) +#define AUDCLNT_E_EVENTHANDLE_NOT_SET AUDCLNT_ERR(0x14) +#define AUDCLNT_E_INCORRECT_BUFFER_SIZE AUDCLNT_ERR(0x15) +#define AUDCLNT_E_BUFFER_SIZE_ERROR AUDCLNT_ERR(0x16) +#define AUDCLNT_E_CPUUSAGE_EXCEEDED AUDCLNT_ERR(0x17) +#define AUDCLNT_E_BUFFER_ERROR AUDCLNT_ERR(0x18) +#define AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED AUDCLNT_ERR(0x19) +#define AUDCLNT_E_INVALID_DEVICE_PERIOD AUDCLNT_ERR(0x20) +#define AUDCLNT_E_INVALID_STREAM_FLAG AUDCLNT_ERR(0x021) +#define AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE AUDCLNT_ERR(0x022) +#define AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES AUDCLNT_ERR(0x023) +#define AUDCLNT_E_OFFLOAD_MODE_ONLY AUDCLNT_ERR(0x024) +#define AUDCLNT_E_NONOFFLOAD_MODE_ONLY AUDCLNT_ERR(0x025) +#define AUDCLNT_E_RESOURCES_INVALIDATED AUDCLNT_ERR(0x026) +#define AUDCLNT_S_BUFFER_EMPTY AUDCLNT_SUCCESS(0x1) +#define AUDCLNT_S_THREAD_ALREADY_REGISTERED AUDCLNT_SUCCESS(0x2) +#define AUDCLNT_S_POSITION_STALLED AUDCLNT_SUCCESS(0x3) +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __audioclient_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audioclient.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audioclient.idl new file mode 100644 index 0000000..72b3ae9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audioclient.idl @@ -0,0 +1,326 @@ +/* + * Core Audio audioclient definitions + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +import "wtypes.idl"; +import "unknwn.idl"; +import "audiosessiontypes.h"; + +/* Forward declarations */ +interface IAudioClient; +interface IAudioRenderClient; +interface IAudioCaptureClient; +interface IAudioClock; +interface IAudioClock2; +interface IAudioClockAdjustment; +interface ISimpleAudioVolume; +interface IAudioStreamVolume; +interface IChannelAudioVolume; + +cpp_quote("#if 0") +typedef struct WAVEFORMATEX /*[hidden,restricted]*/ +{ + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX; +cpp_quote("#else") +cpp_quote("#include ") +cpp_quote("#endif") + +cpp_quote("#if 0") +typedef LONGLONG /*[hidden,restricted]*/ REFERENCE_TIME; +cpp_quote("#else") +cpp_quote("#define _IKsControl_") +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#endif") + +enum _AUDCLNT_BUFFERFLAGS +{ + AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY = 0x1, + AUDCLNT_BUFFERFLAGS_SILENT = 0x2, + AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR = 0x4 +}; + +[ + local, + pointer_default(unique), + uuid(1cb9ad4c-dbfa-4c32-b178-c2f568a703b2), + object, +] +interface IAudioClient : IUnknown +{ + HRESULT Initialize( + [in] AUDCLNT_SHAREMODE ShareMode, + [in] DWORD StreamFlags, + [in] REFERENCE_TIME hnsBufferDuration, + [in] REFERENCE_TIME hnsPeriodicity, + [in] const WAVEFORMATEX *pFormat, + [in] LPCGUID AudioSessionGuid + ); + HRESULT GetBufferSize( + [out] UINT32 *pNumBufferFrames + ); + HRESULT GetStreamLatency( + [out] REFERENCE_TIME *phnsLatency + ); + HRESULT GetCurrentPadding( + [out] UINT32 *pNumPaddingFrames + ); + HRESULT IsFormatSupported( + [in] AUDCLNT_SHAREMODE ShareMode, + [in] const WAVEFORMATEX *pFormat, + [out,unique] WAVEFORMATEX **ppClosestMatch + ); + HRESULT GetMixFormat( + [out] WAVEFORMATEX **ppDeviceFormat + ); + HRESULT GetDevicePeriod( + [out] REFERENCE_TIME *phnsDefaultDevicePeriod, + [out] REFERENCE_TIME *phnsMinimumDevicePeriod + ); + HRESULT Start(void); + HRESULT Stop(void); + HRESULT Reset(void); + HRESULT SetEventHandle([in] HANDLE eventHandle); + HRESULT GetService( + [in] REFIID riid, + [iid_is(riid),out] void **ppv + ); +} + +[ + local, + pointer_default(unique), + uuid(f294acfc-3146-4483-a7bf-addca7c260e2), + object, +] +interface IAudioRenderClient : IUnknown +{ + HRESULT GetBuffer( + [in] UINT32 NumFramesRequested, + [out] BYTE **ppData + ); + HRESULT ReleaseBuffer( + [in] UINT32 NumFramesWritten, + [in] DWORD dwFlags + ); +} + +[ + local, + pointer_default(unique), + uuid(c8adbd64-e71e-48a0-a4de-185c395cd317), + object, +] +interface IAudioCaptureClient : IUnknown +{ + HRESULT GetBuffer( + [out] BYTE **ppData, + [out] UINT32 *pNumFramesToRead, + [out] DWORD *pdwFlags, + [unique,out] UINT64 *pu64DevicePosition, + [unique,out] UINT64 *pu64QPCPosition + ); + HRESULT ReleaseBuffer( + [in] UINT32 NumFramesRead + ); + HRESULT GetNextPacketSize( + [out] UINT32 *pNumFramesInNextPacket + ); +} + +cpp_quote("#define AUDIOCLOCK_CHARACTERISTIC_FIXED_FREQ 0x00000001") + +[ + local, + pointer_default(unique), + uuid("cd63314f-3fba-4a1b-812c-ef96358728e7"), + object, +] +interface IAudioClock : IUnknown +{ + HRESULT GetFrequency( + [out] UINT64 *pu64Frequency + ); + HRESULT GetPosition( + [out] UINT64 *pu64Position, + [out,unique] UINT64 *pu64QPCPosition + ); + HRESULT GetCharacteristics( + [out] DWORD *pdwCharacteristics + ); +} + +[ + local, + pointer_default(unique), + uuid("6f49ff73-6727-49ac-a008-d98cf5e70048"), + object, +] +interface IAudioClock2 : IUnknown +{ + HRESULT GetPosition( + [out] UINT64 *DevicePosition, + [out,unique] UINT64 *QPCPosition + ); +} + +[ + local, + pointer_default(unique), + uuid("f6e4c0a0-46d9-4fb9-be21-57a3ef2b626c"), + object, +] +interface IAudioClockAdjustment : IUnknown +{ + HRESULT SetSampleRate( + [in] float flSampleRate + ); +} + +[ + local, + pointer_default(unique), + uuid("87ce5498-68d6-44e5-9215-6da47ef883d8"), + object, +] +interface ISimpleAudioVolume : IUnknown +{ + HRESULT SetMasterVolume( + [in] float fLevel, + [unique,in] LPCGUID EventContext + ); + HRESULT GetMasterVolume( + [out] float *pfLevel + ); + HRESULT SetMute( + [in] const BOOL bMute, + [unique,in] LPCGUID EventContext + ); + HRESULT GetMute( + [out] BOOL *pbMute + ); +} + +[ + local, + pointer_default(unique), + uuid("93014887-242d-4068-8a15-cf5e93b90fe3"), + object, +] +interface IAudioStreamVolume : IUnknown +{ + HRESULT GetChannelCount( + [out] UINT32 *pdwCount + ); + HRESULT SetChannelVolume( + [in] UINT32 dwIndex, + [in] const float fLevel + ); + HRESULT GetChannelVolume( + [in] UINT32 dwIndex, + [out] float *pfLevel + ); + HRESULT SetAllVolumes( + [in] UINT32 dwCount, + [size_is(dwCount),in] const float *pfVolumes + ); + HRESULT GetAllVolumes( + [in] UINT32 dwCount, + [size_is(dwCount),out] float *pfVolumes + ); +} + +[ + local, + pointer_default(unique), + uuid("1c158861-b533-4b30-b1cf-e853e51c59b8"), + object, +] +interface IChannelAudioVolume : IUnknown +{ + HRESULT GetChannelCount( + [out] UINT32 *pdwCount + ); + HRESULT SetChannelVolume( + [in] UINT32 dwIndex, + [in] const float fLevel, + [unique,in] LPCGUID EventContext + ); + HRESULT GetChannelVolume( + [in] UINT32 dwIndex, + [out] float *pfLevel + ); + HRESULT SetAllVolumes( + [in] UINT32 dwCount, + [size_is(dwCount),in] const float *pfVolumes, + [unique,in] LPCGUID EventContext + ); + HRESULT GetAllVolumes( + [in] UINT32 dwCount, + [size_is(dwCount),out] float *pfVolumes + ); +} + +cpp_quote("#define AUDCLNT_ERR(n) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_AUDCLNT, n)") +cpp_quote("#define AUDCLNT_SUCCESS(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_AUDCLNT, n)") +cpp_quote("#define AUDCLNT_E_NOT_INITIALIZED AUDCLNT_ERR(1)") +cpp_quote("#define AUDCLNT_E_ALREADY_INITIALIZED AUDCLNT_ERR(2)") +cpp_quote("#define AUDCLNT_E_WRONG_ENDPOINT_TYPE AUDCLNT_ERR(3)") +cpp_quote("#define AUDCLNT_E_DEVICE_INVALIDATED AUDCLNT_ERR(4)") +cpp_quote("#define AUDCLNT_E_NOT_STOPPED AUDCLNT_ERR(5)") +cpp_quote("#define AUDCLNT_E_BUFFER_TOO_LARGE AUDCLNT_ERR(6)") +cpp_quote("#define AUDCLNT_E_OUT_OF_ORDER AUDCLNT_ERR(7)") +cpp_quote("#define AUDCLNT_E_UNSUPPORTED_FORMAT AUDCLNT_ERR(8)") +cpp_quote("#define AUDCLNT_E_INVALID_SIZE AUDCLNT_ERR(9)") +cpp_quote("#define AUDCLNT_E_DEVICE_IN_USE AUDCLNT_ERR(0x0a)") +cpp_quote("#define AUDCLNT_E_BUFFER_OPERATION_PENDING AUDCLNT_ERR(0x0b)") +cpp_quote("#define AUDCLNT_E_THREAD_NOT_REGISTERED AUDCLNT_ERR(0x0c)") +/* Not defined? cpp_quote("#define AUDCLNT_E_UNKNOWN_XXX1 AUDCLNT_ERR(0x0d)") */ +cpp_quote("#define AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED AUDCLNT_ERR(0x0e)") +cpp_quote("#define AUDCLNT_E_ENDPOINT_CREATE_FAILED AUDCLNT_ERR(0x0f)") +cpp_quote("#define AUDCLNT_E_SERVICE_NOT_RUNNING AUDCLNT_ERR(0x10)") +cpp_quote("#define AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED AUDCLNT_ERR(0x11)") +cpp_quote("#define AUDCLNT_E_EXCLUSIVE_MODE_ONLY AUDCLNT_ERR(0x12)") +cpp_quote("#define AUDCLNT_E_BUFDURATION_PERIOD_NOT_EQUAL AUDCLNT_ERR(0x13)") +cpp_quote("#define AUDCLNT_E_EVENTHANDLE_NOT_SET AUDCLNT_ERR(0x14)") +cpp_quote("#define AUDCLNT_E_INCORRECT_BUFFER_SIZE AUDCLNT_ERR(0x15)") +cpp_quote("#define AUDCLNT_E_BUFFER_SIZE_ERROR AUDCLNT_ERR(0x16)") +cpp_quote("#define AUDCLNT_E_CPUUSAGE_EXCEEDED AUDCLNT_ERR(0x17)") +cpp_quote("#define AUDCLNT_E_BUFFER_ERROR AUDCLNT_ERR(0x18)") +cpp_quote("#define AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED AUDCLNT_ERR(0x19)") +/* Hex fail */ +cpp_quote("#define AUDCLNT_E_INVALID_DEVICE_PERIOD AUDCLNT_ERR(0x20)") +cpp_quote("#define AUDCLNT_E_INVALID_STREAM_FLAG AUDCLNT_ERR(0x021)") +cpp_quote("#define AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE AUDCLNT_ERR(0x022)") +cpp_quote("#define AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES AUDCLNT_ERR(0x023)") +cpp_quote("#define AUDCLNT_E_OFFLOAD_MODE_ONLY AUDCLNT_ERR(0x024)") +cpp_quote("#define AUDCLNT_E_NONOFFLOAD_MODE_ONLY AUDCLNT_ERR(0x025)") +cpp_quote("#define AUDCLNT_E_RESOURCES_INVALIDATED AUDCLNT_ERR(0x026)") + +cpp_quote("#define AUDCLNT_S_BUFFER_EMPTY AUDCLNT_SUCCESS(0x1)") +cpp_quote("#define AUDCLNT_S_THREAD_ALREADY_REGISTERED AUDCLNT_SUCCESS(0x2)") +cpp_quote("#define AUDCLNT_S_POSITION_STALLED AUDCLNT_SUCCESS(0x3)") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiopolicy.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiopolicy.h new file mode 100644 index 0000000..61978b7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiopolicy.h @@ -0,0 +1,1204 @@ +/*** Autogenerated by WIDL 2.18 from audiopolicy.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __audiopolicy_h__ +#define __audiopolicy_h__ + +/* Forward declarations */ + +#ifndef __IAudioSessionEvents_FWD_DEFINED__ +#define __IAudioSessionEvents_FWD_DEFINED__ +typedef interface IAudioSessionEvents IAudioSessionEvents; +#ifdef __cplusplus +interface IAudioSessionEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionControl_FWD_DEFINED__ +#define __IAudioSessionControl_FWD_DEFINED__ +typedef interface IAudioSessionControl IAudioSessionControl; +#ifdef __cplusplus +interface IAudioSessionControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionControl2_FWD_DEFINED__ +#define __IAudioSessionControl2_FWD_DEFINED__ +typedef interface IAudioSessionControl2 IAudioSessionControl2; +#ifdef __cplusplus +interface IAudioSessionControl2; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionManager_FWD_DEFINED__ +#define __IAudioSessionManager_FWD_DEFINED__ +typedef interface IAudioSessionManager IAudioSessionManager; +#ifdef __cplusplus +interface IAudioSessionManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioVolumeDuckNotification_FWD_DEFINED__ +#define __IAudioVolumeDuckNotification_FWD_DEFINED__ +typedef interface IAudioVolumeDuckNotification IAudioVolumeDuckNotification; +#ifdef __cplusplus +interface IAudioVolumeDuckNotification; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionNotification_FWD_DEFINED__ +#define __IAudioSessionNotification_FWD_DEFINED__ +typedef interface IAudioSessionNotification IAudioSessionNotification; +#ifdef __cplusplus +interface IAudioSessionNotification; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionEnumerator_FWD_DEFINED__ +#define __IAudioSessionEnumerator_FWD_DEFINED__ +typedef interface IAudioSessionEnumerator IAudioSessionEnumerator; +#ifdef __cplusplus +interface IAudioSessionEnumerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionManager2_FWD_DEFINED__ +#define __IAudioSessionManager2_FWD_DEFINED__ +typedef interface IAudioSessionManager2 IAudioSessionManager2; +#ifdef __cplusplus +interface IAudioSessionManager2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IAudioSessionEvents_FWD_DEFINED__ +#define __IAudioSessionEvents_FWD_DEFINED__ +typedef interface IAudioSessionEvents IAudioSessionEvents; +#ifdef __cplusplus +interface IAudioSessionEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionControl_FWD_DEFINED__ +#define __IAudioSessionControl_FWD_DEFINED__ +typedef interface IAudioSessionControl IAudioSessionControl; +#ifdef __cplusplus +interface IAudioSessionControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionControl2_FWD_DEFINED__ +#define __IAudioSessionControl2_FWD_DEFINED__ +typedef interface IAudioSessionControl2 IAudioSessionControl2; +#ifdef __cplusplus +interface IAudioSessionControl2; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionManager_FWD_DEFINED__ +#define __IAudioSessionManager_FWD_DEFINED__ +typedef interface IAudioSessionManager IAudioSessionManager; +#ifdef __cplusplus +interface IAudioSessionManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioVolumeDuckNotification_FWD_DEFINED__ +#define __IAudioVolumeDuckNotification_FWD_DEFINED__ +typedef interface IAudioVolumeDuckNotification IAudioVolumeDuckNotification; +#ifdef __cplusplus +interface IAudioVolumeDuckNotification; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionNotification_FWD_DEFINED__ +#define __IAudioSessionNotification_FWD_DEFINED__ +typedef interface IAudioSessionNotification IAudioSessionNotification; +#ifdef __cplusplus +interface IAudioSessionNotification; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionEnumerator_FWD_DEFINED__ +#define __IAudioSessionEnumerator_FWD_DEFINED__ +typedef interface IAudioSessionEnumerator IAudioSessionEnumerator; +#ifdef __cplusplus +interface IAudioSessionEnumerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioSessionManager2_FWD_DEFINED__ +#define __IAudioSessionManager2_FWD_DEFINED__ +typedef interface IAudioSessionManager2 IAudioSessionManager2; +#ifdef __cplusplus +interface IAudioSessionManager2; +#endif /* __cplusplus */ +#endif + +typedef enum AudioSessionDisconnectReason { + DisconnectReasonDeviceRemoval = 0, + DisconnectReasonServerShutdown = 1, + DisconnectReasonFormatChanged = 2, + DisconnectReasonSessionLogoff = 3, + DisconnectReasonSessionDisconnected = 4, + DisconnectReasonExclusiveModeOverride = 5 +} AudioSessionDisconnectReason; +/***************************************************************************** + * IAudioSessionEvents interface + */ +#ifndef __IAudioSessionEvents_INTERFACE_DEFINED__ +#define __IAudioSessionEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionEvents, 0x24918acc, 0x64b3, 0x37c1, 0x8c,0xa9, 0x74,0xa6,0x6e,0x99,0x57,0xa8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("24918acc-64b3-37c1-8ca9-74a66e9957a8") +IAudioSessionEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnDisplayNameChanged( + LPCWSTR NewDisplayName, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnIconPathChanged( + LPCWSTR NewIconPath, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSimpleVolumeChanged( + float NewVolume, + BOOL NewMute, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnChannelVolumeChanged( + DWORD ChannelCount, + float *NewChannelVolumeArray, + DWORD ChangedChannel, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnGroupingParamChanged( + LPCGUID NewGroupingParam, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStateChanged( + AudioSessionState NewState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSessionDisconnected( + AudioSessionDisconnectReason DisconnectReason) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionEvents, 0x24918acc, 0x64b3, 0x37c1, 0x8c,0xa9, 0x74,0xa6,0x6e,0x99,0x57,0xa8) +#endif +#else +typedef struct IAudioSessionEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionEvents *This); + + /*** IAudioSessionEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDisplayNameChanged)( + IAudioSessionEvents *This, + LPCWSTR NewDisplayName, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *OnIconPathChanged)( + IAudioSessionEvents *This, + LPCWSTR NewIconPath, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *OnSimpleVolumeChanged)( + IAudioSessionEvents *This, + float NewVolume, + BOOL NewMute, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *OnChannelVolumeChanged)( + IAudioSessionEvents *This, + DWORD ChannelCount, + float *NewChannelVolumeArray, + DWORD ChangedChannel, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *OnGroupingParamChanged)( + IAudioSessionEvents *This, + LPCGUID NewGroupingParam, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *OnStateChanged)( + IAudioSessionEvents *This, + AudioSessionState NewState); + + HRESULT (STDMETHODCALLTYPE *OnSessionDisconnected)( + IAudioSessionEvents *This, + AudioSessionDisconnectReason DisconnectReason); + + END_INTERFACE +} IAudioSessionEventsVtbl; + +interface IAudioSessionEvents { + CONST_VTBL IAudioSessionEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionEvents methods ***/ +#define IAudioSessionEvents_OnDisplayNameChanged(This,NewDisplayName,EventContext) (This)->lpVtbl->OnDisplayNameChanged(This,NewDisplayName,EventContext) +#define IAudioSessionEvents_OnIconPathChanged(This,NewIconPath,EventContext) (This)->lpVtbl->OnIconPathChanged(This,NewIconPath,EventContext) +#define IAudioSessionEvents_OnSimpleVolumeChanged(This,NewVolume,NewMute,EventContext) (This)->lpVtbl->OnSimpleVolumeChanged(This,NewVolume,NewMute,EventContext) +#define IAudioSessionEvents_OnChannelVolumeChanged(This,ChannelCount,NewChannelVolumeArray,ChangedChannel,EventContext) (This)->lpVtbl->OnChannelVolumeChanged(This,ChannelCount,NewChannelVolumeArray,ChangedChannel,EventContext) +#define IAudioSessionEvents_OnGroupingParamChanged(This,NewGroupingParam,EventContext) (This)->lpVtbl->OnGroupingParamChanged(This,NewGroupingParam,EventContext) +#define IAudioSessionEvents_OnStateChanged(This,NewState) (This)->lpVtbl->OnStateChanged(This,NewState) +#define IAudioSessionEvents_OnSessionDisconnected(This,DisconnectReason) (This)->lpVtbl->OnSessionDisconnected(This,DisconnectReason) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionEvents_QueryInterface(IAudioSessionEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionEvents_AddRef(IAudioSessionEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionEvents_Release(IAudioSessionEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionEvents methods ***/ +static FORCEINLINE HRESULT IAudioSessionEvents_OnDisplayNameChanged(IAudioSessionEvents* This,LPCWSTR NewDisplayName,LPCGUID EventContext) { + return This->lpVtbl->OnDisplayNameChanged(This,NewDisplayName,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionEvents_OnIconPathChanged(IAudioSessionEvents* This,LPCWSTR NewIconPath,LPCGUID EventContext) { + return This->lpVtbl->OnIconPathChanged(This,NewIconPath,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionEvents_OnSimpleVolumeChanged(IAudioSessionEvents* This,float NewVolume,BOOL NewMute,LPCGUID EventContext) { + return This->lpVtbl->OnSimpleVolumeChanged(This,NewVolume,NewMute,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionEvents_OnChannelVolumeChanged(IAudioSessionEvents* This,DWORD ChannelCount,float *NewChannelVolumeArray,DWORD ChangedChannel,LPCGUID EventContext) { + return This->lpVtbl->OnChannelVolumeChanged(This,ChannelCount,NewChannelVolumeArray,ChangedChannel,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionEvents_OnGroupingParamChanged(IAudioSessionEvents* This,LPCGUID NewGroupingParam,LPCGUID EventContext) { + return This->lpVtbl->OnGroupingParamChanged(This,NewGroupingParam,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionEvents_OnStateChanged(IAudioSessionEvents* This,AudioSessionState NewState) { + return This->lpVtbl->OnStateChanged(This,NewState); +} +static FORCEINLINE HRESULT IAudioSessionEvents_OnSessionDisconnected(IAudioSessionEvents* This,AudioSessionDisconnectReason DisconnectReason) { + return This->lpVtbl->OnSessionDisconnected(This,DisconnectReason); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioSessionControl interface + */ +#ifndef __IAudioSessionControl_INTERFACE_DEFINED__ +#define __IAudioSessionControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionControl, 0xf4b1a599, 0x7266, 0x4319, 0xa8,0xca, 0xe7,0x0a,0xcb,0x11,0xe8,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f4b1a599-7266-4319-a8ca-e70acb11e8cd") +IAudioSessionControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetState( + AudioSessionState *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPWSTR *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDisplayName( + LPCWSTR DisplayName, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIconPath( + LPWSTR *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIconPath( + LPCWSTR Value, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupingParam( + GUID *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGroupingParam( + LPCGUID Override, + LPCGUID EventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterAudioSessionNotification( + IAudioSessionEvents *NewNotifications) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterAudioSessionNotification( + IAudioSessionEvents *NewNotifications) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionControl, 0xf4b1a599, 0x7266, 0x4319, 0xa8,0xca, 0xe7,0x0a,0xcb,0x11,0xe8,0xcd) +#endif +#else +typedef struct IAudioSessionControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionControl *This); + + /*** IAudioSessionControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetState)( + IAudioSessionControl *This, + AudioSessionState *pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IAudioSessionControl *This, + LPWSTR *pRetVal); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IAudioSessionControl *This, + LPCWSTR DisplayName, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetIconPath)( + IAudioSessionControl *This, + LPWSTR *pRetVal); + + HRESULT (STDMETHODCALLTYPE *SetIconPath)( + IAudioSessionControl *This, + LPCWSTR Value, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetGroupingParam)( + IAudioSessionControl *This, + GUID *pRetVal); + + HRESULT (STDMETHODCALLTYPE *SetGroupingParam)( + IAudioSessionControl *This, + LPCGUID Override, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *RegisterAudioSessionNotification)( + IAudioSessionControl *This, + IAudioSessionEvents *NewNotifications); + + HRESULT (STDMETHODCALLTYPE *UnregisterAudioSessionNotification)( + IAudioSessionControl *This, + IAudioSessionEvents *NewNotifications); + + END_INTERFACE +} IAudioSessionControlVtbl; + +interface IAudioSessionControl { + CONST_VTBL IAudioSessionControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionControl_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionControl methods ***/ +#define IAudioSessionControl_GetState(This,pRetVal) (This)->lpVtbl->GetState(This,pRetVal) +#define IAudioSessionControl_GetDisplayName(This,pRetVal) (This)->lpVtbl->GetDisplayName(This,pRetVal) +#define IAudioSessionControl_SetDisplayName(This,DisplayName,EventContext) (This)->lpVtbl->SetDisplayName(This,DisplayName,EventContext) +#define IAudioSessionControl_GetIconPath(This,pRetVal) (This)->lpVtbl->GetIconPath(This,pRetVal) +#define IAudioSessionControl_SetIconPath(This,Value,EventContext) (This)->lpVtbl->SetIconPath(This,Value,EventContext) +#define IAudioSessionControl_GetGroupingParam(This,pRetVal) (This)->lpVtbl->GetGroupingParam(This,pRetVal) +#define IAudioSessionControl_SetGroupingParam(This,Override,EventContext) (This)->lpVtbl->SetGroupingParam(This,Override,EventContext) +#define IAudioSessionControl_RegisterAudioSessionNotification(This,NewNotifications) (This)->lpVtbl->RegisterAudioSessionNotification(This,NewNotifications) +#define IAudioSessionControl_UnregisterAudioSessionNotification(This,NewNotifications) (This)->lpVtbl->UnregisterAudioSessionNotification(This,NewNotifications) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionControl_QueryInterface(IAudioSessionControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionControl_AddRef(IAudioSessionControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionControl_Release(IAudioSessionControl* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionControl methods ***/ +static FORCEINLINE HRESULT IAudioSessionControl_GetState(IAudioSessionControl* This,AudioSessionState *pRetVal) { + return This->lpVtbl->GetState(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl_GetDisplayName(IAudioSessionControl* This,LPWSTR *pRetVal) { + return This->lpVtbl->GetDisplayName(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl_SetDisplayName(IAudioSessionControl* This,LPCWSTR DisplayName,LPCGUID EventContext) { + return This->lpVtbl->SetDisplayName(This,DisplayName,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionControl_GetIconPath(IAudioSessionControl* This,LPWSTR *pRetVal) { + return This->lpVtbl->GetIconPath(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl_SetIconPath(IAudioSessionControl* This,LPCWSTR Value,LPCGUID EventContext) { + return This->lpVtbl->SetIconPath(This,Value,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionControl_GetGroupingParam(IAudioSessionControl* This,GUID *pRetVal) { + return This->lpVtbl->GetGroupingParam(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl_SetGroupingParam(IAudioSessionControl* This,LPCGUID Override,LPCGUID EventContext) { + return This->lpVtbl->SetGroupingParam(This,Override,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionControl_RegisterAudioSessionNotification(IAudioSessionControl* This,IAudioSessionEvents *NewNotifications) { + return This->lpVtbl->RegisterAudioSessionNotification(This,NewNotifications); +} +static FORCEINLINE HRESULT IAudioSessionControl_UnregisterAudioSessionNotification(IAudioSessionControl* This,IAudioSessionEvents *NewNotifications) { + return This->lpVtbl->UnregisterAudioSessionNotification(This,NewNotifications); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioSessionControl2 interface + */ +#ifndef __IAudioSessionControl2_INTERFACE_DEFINED__ +#define __IAudioSessionControl2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionControl2, 0xbfb7ff88, 0x7239, 0x4fc9, 0x8f,0xa2, 0x07,0xc9,0x50,0xbe,0x9c,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bfb7ff88-7239-4fc9-8fa2-07c950be9c6d") +IAudioSessionControl2 : public IAudioSessionControl +{ + virtual HRESULT STDMETHODCALLTYPE GetSessionIdentifier( + LPWSTR *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSessionInstanceIdentifier( + LPWSTR *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcessId( + DWORD *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSystemSoundsSession( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDuckingPreferences( + BOOL optOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionControl2, 0xbfb7ff88, 0x7239, 0x4fc9, 0x8f,0xa2, 0x07,0xc9,0x50,0xbe,0x9c,0x6d) +#endif +#else +typedef struct IAudioSessionControl2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionControl2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionControl2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionControl2 *This); + + /*** IAudioSessionControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetState)( + IAudioSessionControl2 *This, + AudioSessionState *pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IAudioSessionControl2 *This, + LPWSTR *pRetVal); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IAudioSessionControl2 *This, + LPCWSTR DisplayName, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetIconPath)( + IAudioSessionControl2 *This, + LPWSTR *pRetVal); + + HRESULT (STDMETHODCALLTYPE *SetIconPath)( + IAudioSessionControl2 *This, + LPCWSTR Value, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *GetGroupingParam)( + IAudioSessionControl2 *This, + GUID *pRetVal); + + HRESULT (STDMETHODCALLTYPE *SetGroupingParam)( + IAudioSessionControl2 *This, + LPCGUID Override, + LPCGUID EventContext); + + HRESULT (STDMETHODCALLTYPE *RegisterAudioSessionNotification)( + IAudioSessionControl2 *This, + IAudioSessionEvents *NewNotifications); + + HRESULT (STDMETHODCALLTYPE *UnregisterAudioSessionNotification)( + IAudioSessionControl2 *This, + IAudioSessionEvents *NewNotifications); + + /*** IAudioSessionControl2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSessionIdentifier)( + IAudioSessionControl2 *This, + LPWSTR *pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetSessionInstanceIdentifier)( + IAudioSessionControl2 *This, + LPWSTR *pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetProcessId)( + IAudioSessionControl2 *This, + DWORD *pRetVal); + + HRESULT (STDMETHODCALLTYPE *IsSystemSoundsSession)( + IAudioSessionControl2 *This); + + HRESULT (STDMETHODCALLTYPE *SetDuckingPreferences)( + IAudioSessionControl2 *This, + BOOL optOut); + + END_INTERFACE +} IAudioSessionControl2Vtbl; + +interface IAudioSessionControl2 { + CONST_VTBL IAudioSessionControl2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionControl2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionControl2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionControl2_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionControl methods ***/ +#define IAudioSessionControl2_GetState(This,pRetVal) (This)->lpVtbl->GetState(This,pRetVal) +#define IAudioSessionControl2_GetDisplayName(This,pRetVal) (This)->lpVtbl->GetDisplayName(This,pRetVal) +#define IAudioSessionControl2_SetDisplayName(This,DisplayName,EventContext) (This)->lpVtbl->SetDisplayName(This,DisplayName,EventContext) +#define IAudioSessionControl2_GetIconPath(This,pRetVal) (This)->lpVtbl->GetIconPath(This,pRetVal) +#define IAudioSessionControl2_SetIconPath(This,Value,EventContext) (This)->lpVtbl->SetIconPath(This,Value,EventContext) +#define IAudioSessionControl2_GetGroupingParam(This,pRetVal) (This)->lpVtbl->GetGroupingParam(This,pRetVal) +#define IAudioSessionControl2_SetGroupingParam(This,Override,EventContext) (This)->lpVtbl->SetGroupingParam(This,Override,EventContext) +#define IAudioSessionControl2_RegisterAudioSessionNotification(This,NewNotifications) (This)->lpVtbl->RegisterAudioSessionNotification(This,NewNotifications) +#define IAudioSessionControl2_UnregisterAudioSessionNotification(This,NewNotifications) (This)->lpVtbl->UnregisterAudioSessionNotification(This,NewNotifications) +/*** IAudioSessionControl2 methods ***/ +#define IAudioSessionControl2_GetSessionIdentifier(This,pRetVal) (This)->lpVtbl->GetSessionIdentifier(This,pRetVal) +#define IAudioSessionControl2_GetSessionInstanceIdentifier(This,pRetVal) (This)->lpVtbl->GetSessionInstanceIdentifier(This,pRetVal) +#define IAudioSessionControl2_GetProcessId(This,pRetVal) (This)->lpVtbl->GetProcessId(This,pRetVal) +#define IAudioSessionControl2_IsSystemSoundsSession(This) (This)->lpVtbl->IsSystemSoundsSession(This) +#define IAudioSessionControl2_SetDuckingPreferences(This,optOut) (This)->lpVtbl->SetDuckingPreferences(This,optOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionControl2_QueryInterface(IAudioSessionControl2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionControl2_AddRef(IAudioSessionControl2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionControl2_Release(IAudioSessionControl2* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionControl methods ***/ +static FORCEINLINE HRESULT IAudioSessionControl2_GetState(IAudioSessionControl2* This,AudioSessionState *pRetVal) { + return This->lpVtbl->GetState(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_GetDisplayName(IAudioSessionControl2* This,LPWSTR *pRetVal) { + return This->lpVtbl->GetDisplayName(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_SetDisplayName(IAudioSessionControl2* This,LPCWSTR DisplayName,LPCGUID EventContext) { + return This->lpVtbl->SetDisplayName(This,DisplayName,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionControl2_GetIconPath(IAudioSessionControl2* This,LPWSTR *pRetVal) { + return This->lpVtbl->GetIconPath(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_SetIconPath(IAudioSessionControl2* This,LPCWSTR Value,LPCGUID EventContext) { + return This->lpVtbl->SetIconPath(This,Value,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionControl2_GetGroupingParam(IAudioSessionControl2* This,GUID *pRetVal) { + return This->lpVtbl->GetGroupingParam(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_SetGroupingParam(IAudioSessionControl2* This,LPCGUID Override,LPCGUID EventContext) { + return This->lpVtbl->SetGroupingParam(This,Override,EventContext); +} +static FORCEINLINE HRESULT IAudioSessionControl2_RegisterAudioSessionNotification(IAudioSessionControl2* This,IAudioSessionEvents *NewNotifications) { + return This->lpVtbl->RegisterAudioSessionNotification(This,NewNotifications); +} +static FORCEINLINE HRESULT IAudioSessionControl2_UnregisterAudioSessionNotification(IAudioSessionControl2* This,IAudioSessionEvents *NewNotifications) { + return This->lpVtbl->UnregisterAudioSessionNotification(This,NewNotifications); +} +/*** IAudioSessionControl2 methods ***/ +static FORCEINLINE HRESULT IAudioSessionControl2_GetSessionIdentifier(IAudioSessionControl2* This,LPWSTR *pRetVal) { + return This->lpVtbl->GetSessionIdentifier(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_GetSessionInstanceIdentifier(IAudioSessionControl2* This,LPWSTR *pRetVal) { + return This->lpVtbl->GetSessionInstanceIdentifier(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_GetProcessId(IAudioSessionControl2* This,DWORD *pRetVal) { + return This->lpVtbl->GetProcessId(This,pRetVal); +} +static FORCEINLINE HRESULT IAudioSessionControl2_IsSystemSoundsSession(IAudioSessionControl2* This) { + return This->lpVtbl->IsSystemSoundsSession(This); +} +static FORCEINLINE HRESULT IAudioSessionControl2_SetDuckingPreferences(IAudioSessionControl2* This,BOOL optOut) { + return This->lpVtbl->SetDuckingPreferences(This,optOut); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionControl2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioSessionManager interface + */ +#ifndef __IAudioSessionManager_INTERFACE_DEFINED__ +#define __IAudioSessionManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionManager, 0xbfa971f1, 0x4d5e, 0x40bb, 0x93,0x5e, 0x96,0x70,0x39,0xbf,0xbe,0xe4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bfa971f1-4d5e-40bb-935e-967039bfbee4") +IAudioSessionManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAudioSessionControl( + LPCGUID AudioSessionGuid, + DWORD StreamFlags, + IAudioSessionControl **SessionControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSimpleAudioVolume( + LPCGUID AudioSessionGuid, + DWORD StreamFlags, + ISimpleAudioVolume **AudioVolume) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionManager, 0xbfa971f1, 0x4d5e, 0x40bb, 0x93,0x5e, 0x96,0x70,0x39,0xbf,0xbe,0xe4) +#endif +#else +typedef struct IAudioSessionManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionManager *This); + + /*** IAudioSessionManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAudioSessionControl)( + IAudioSessionManager *This, + LPCGUID AudioSessionGuid, + DWORD StreamFlags, + IAudioSessionControl **SessionControl); + + HRESULT (STDMETHODCALLTYPE *GetSimpleAudioVolume)( + IAudioSessionManager *This, + LPCGUID AudioSessionGuid, + DWORD StreamFlags, + ISimpleAudioVolume **AudioVolume); + + END_INTERFACE +} IAudioSessionManagerVtbl; + +interface IAudioSessionManager { + CONST_VTBL IAudioSessionManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionManager_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionManager methods ***/ +#define IAudioSessionManager_GetAudioSessionControl(This,AudioSessionGuid,StreamFlags,SessionControl) (This)->lpVtbl->GetAudioSessionControl(This,AudioSessionGuid,StreamFlags,SessionControl) +#define IAudioSessionManager_GetSimpleAudioVolume(This,AudioSessionGuid,StreamFlags,AudioVolume) (This)->lpVtbl->GetSimpleAudioVolume(This,AudioSessionGuid,StreamFlags,AudioVolume) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionManager_QueryInterface(IAudioSessionManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionManager_AddRef(IAudioSessionManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionManager_Release(IAudioSessionManager* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionManager methods ***/ +static FORCEINLINE HRESULT IAudioSessionManager_GetAudioSessionControl(IAudioSessionManager* This,LPCGUID AudioSessionGuid,DWORD StreamFlags,IAudioSessionControl **SessionControl) { + return This->lpVtbl->GetAudioSessionControl(This,AudioSessionGuid,StreamFlags,SessionControl); +} +static FORCEINLINE HRESULT IAudioSessionManager_GetSimpleAudioVolume(IAudioSessionManager* This,LPCGUID AudioSessionGuid,DWORD StreamFlags,ISimpleAudioVolume **AudioVolume) { + return This->lpVtbl->GetSimpleAudioVolume(This,AudioSessionGuid,StreamFlags,AudioVolume); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioVolumeDuckNotification interface + */ +#ifndef __IAudioVolumeDuckNotification_INTERFACE_DEFINED__ +#define __IAudioVolumeDuckNotification_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioVolumeDuckNotification, 0xc3b284d4, 0x6d39, 0x4359, 0xb3,0xcf, 0xb5,0x6d,0xdb,0x3b,0xb3,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c3b284d4-6d39-4359-b3cf-b56ddb3bb39c") +IAudioVolumeDuckNotification : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnVolumeDuckNotification( + LPCWSTR sessionID, + UINT32 countCommunicationSessions) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnVolumeUnduckNotification( + LPCWSTR sessionID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioVolumeDuckNotification, 0xc3b284d4, 0x6d39, 0x4359, 0xb3,0xcf, 0xb5,0x6d,0xdb,0x3b,0xb3,0x9c) +#endif +#else +typedef struct IAudioVolumeDuckNotificationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioVolumeDuckNotification *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioVolumeDuckNotification *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioVolumeDuckNotification *This); + + /*** IAudioVolumeDuckNotification methods ***/ + HRESULT (STDMETHODCALLTYPE *OnVolumeDuckNotification)( + IAudioVolumeDuckNotification *This, + LPCWSTR sessionID, + UINT32 countCommunicationSessions); + + HRESULT (STDMETHODCALLTYPE *OnVolumeUnduckNotification)( + IAudioVolumeDuckNotification *This, + LPCWSTR sessionID); + + END_INTERFACE +} IAudioVolumeDuckNotificationVtbl; + +interface IAudioVolumeDuckNotification { + CONST_VTBL IAudioVolumeDuckNotificationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioVolumeDuckNotification_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioVolumeDuckNotification_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioVolumeDuckNotification_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioVolumeDuckNotification methods ***/ +#define IAudioVolumeDuckNotification_OnVolumeDuckNotification(This,sessionID,countCommunicationSessions) (This)->lpVtbl->OnVolumeDuckNotification(This,sessionID,countCommunicationSessions) +#define IAudioVolumeDuckNotification_OnVolumeUnduckNotification(This,sessionID) (This)->lpVtbl->OnVolumeUnduckNotification(This,sessionID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioVolumeDuckNotification_QueryInterface(IAudioVolumeDuckNotification* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioVolumeDuckNotification_AddRef(IAudioVolumeDuckNotification* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioVolumeDuckNotification_Release(IAudioVolumeDuckNotification* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioVolumeDuckNotification methods ***/ +static FORCEINLINE HRESULT IAudioVolumeDuckNotification_OnVolumeDuckNotification(IAudioVolumeDuckNotification* This,LPCWSTR sessionID,UINT32 countCommunicationSessions) { + return This->lpVtbl->OnVolumeDuckNotification(This,sessionID,countCommunicationSessions); +} +static FORCEINLINE HRESULT IAudioVolumeDuckNotification_OnVolumeUnduckNotification(IAudioVolumeDuckNotification* This,LPCWSTR sessionID) { + return This->lpVtbl->OnVolumeUnduckNotification(This,sessionID); +} +#endif +#endif + +#endif + + +#endif /* __IAudioVolumeDuckNotification_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioSessionNotification interface + */ +#ifndef __IAudioSessionNotification_INTERFACE_DEFINED__ +#define __IAudioSessionNotification_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionNotification, 0x641dd20b, 0x4d41, 0x49cc, 0xab,0xa3, 0x17,0x4b,0x94,0x77,0xbb,0x08); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("641dd20b-4d41-49cc-aba3-174b9477bb08") +IAudioSessionNotification : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnSessionCreated( + IAudioSessionControl *NewSession) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionNotification, 0x641dd20b, 0x4d41, 0x49cc, 0xab,0xa3, 0x17,0x4b,0x94,0x77,0xbb,0x08) +#endif +#else +typedef struct IAudioSessionNotificationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionNotification *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionNotification *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionNotification *This); + + /*** IAudioSessionNotification methods ***/ + HRESULT (STDMETHODCALLTYPE *OnSessionCreated)( + IAudioSessionNotification *This, + IAudioSessionControl *NewSession); + + END_INTERFACE +} IAudioSessionNotificationVtbl; + +interface IAudioSessionNotification { + CONST_VTBL IAudioSessionNotificationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionNotification_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionNotification_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionNotification_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionNotification methods ***/ +#define IAudioSessionNotification_OnSessionCreated(This,NewSession) (This)->lpVtbl->OnSessionCreated(This,NewSession) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionNotification_QueryInterface(IAudioSessionNotification* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionNotification_AddRef(IAudioSessionNotification* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionNotification_Release(IAudioSessionNotification* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionNotification methods ***/ +static FORCEINLINE HRESULT IAudioSessionNotification_OnSessionCreated(IAudioSessionNotification* This,IAudioSessionControl *NewSession) { + return This->lpVtbl->OnSessionCreated(This,NewSession); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionNotification_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioSessionEnumerator interface + */ +#ifndef __IAudioSessionEnumerator_INTERFACE_DEFINED__ +#define __IAudioSessionEnumerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionEnumerator, 0xe2f5bb11, 0x0570, 0x40ca, 0xac,0xdd, 0x3a,0xa0,0x12,0x77,0xde,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e2f5bb11-0570-40ca-acdd-3aa01277dee8") +IAudioSessionEnumerator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + INT *SessionCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSession( + INT SessionCount, + IAudioSessionControl **Session) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionEnumerator, 0xe2f5bb11, 0x0570, 0x40ca, 0xac,0xdd, 0x3a,0xa0,0x12,0x77,0xde,0xe8) +#endif +#else +typedef struct IAudioSessionEnumeratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionEnumerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionEnumerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionEnumerator *This); + + /*** IAudioSessionEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IAudioSessionEnumerator *This, + INT *SessionCount); + + HRESULT (STDMETHODCALLTYPE *GetSession)( + IAudioSessionEnumerator *This, + INT SessionCount, + IAudioSessionControl **Session); + + END_INTERFACE +} IAudioSessionEnumeratorVtbl; + +interface IAudioSessionEnumerator { + CONST_VTBL IAudioSessionEnumeratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionEnumerator_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionEnumerator methods ***/ +#define IAudioSessionEnumerator_GetCount(This,SessionCount) (This)->lpVtbl->GetCount(This,SessionCount) +#define IAudioSessionEnumerator_GetSession(This,SessionCount,Session) (This)->lpVtbl->GetSession(This,SessionCount,Session) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionEnumerator_QueryInterface(IAudioSessionEnumerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionEnumerator_AddRef(IAudioSessionEnumerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionEnumerator_Release(IAudioSessionEnumerator* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionEnumerator methods ***/ +static FORCEINLINE HRESULT IAudioSessionEnumerator_GetCount(IAudioSessionEnumerator* This,INT *SessionCount) { + return This->lpVtbl->GetCount(This,SessionCount); +} +static FORCEINLINE HRESULT IAudioSessionEnumerator_GetSession(IAudioSessionEnumerator* This,INT SessionCount,IAudioSessionControl **Session) { + return This->lpVtbl->GetSession(This,SessionCount,Session); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionEnumerator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioSessionManager2 interface + */ +#ifndef __IAudioSessionManager2_INTERFACE_DEFINED__ +#define __IAudioSessionManager2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioSessionManager2, 0x77aa99a0, 0x1bd6, 0x484f, 0x8b,0xc7, 0x2c,0x65,0x4c,0x9a,0x9b,0x6f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("77aa99a0-1bd6-484f-8bc7-2c654c9a9b6f") +IAudioSessionManager2 : public IAudioSessionManager +{ + virtual HRESULT STDMETHODCALLTYPE GetSessionEnumerator( + IAudioSessionEnumerator **SessionEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterSessionNotification( + IAudioSessionNotification *SessionNotification) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterSessionNotification( + IAudioSessionNotification *SessionNotification) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterDuckNotification( + LPCWSTR sessionID, + IAudioVolumeDuckNotification *duckNotification) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterDuckNotification( + IAudioVolumeDuckNotification *duckNotification) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioSessionManager2, 0x77aa99a0, 0x1bd6, 0x484f, 0x8b,0xc7, 0x2c,0x65,0x4c,0x9a,0x9b,0x6f) +#endif +#else +typedef struct IAudioSessionManager2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioSessionManager2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioSessionManager2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioSessionManager2 *This); + + /*** IAudioSessionManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAudioSessionControl)( + IAudioSessionManager2 *This, + LPCGUID AudioSessionGuid, + DWORD StreamFlags, + IAudioSessionControl **SessionControl); + + HRESULT (STDMETHODCALLTYPE *GetSimpleAudioVolume)( + IAudioSessionManager2 *This, + LPCGUID AudioSessionGuid, + DWORD StreamFlags, + ISimpleAudioVolume **AudioVolume); + + /*** IAudioSessionManager2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSessionEnumerator)( + IAudioSessionManager2 *This, + IAudioSessionEnumerator **SessionEnum); + + HRESULT (STDMETHODCALLTYPE *RegisterSessionNotification)( + IAudioSessionManager2 *This, + IAudioSessionNotification *SessionNotification); + + HRESULT (STDMETHODCALLTYPE *UnregisterSessionNotification)( + IAudioSessionManager2 *This, + IAudioSessionNotification *SessionNotification); + + HRESULT (STDMETHODCALLTYPE *RegisterDuckNotification)( + IAudioSessionManager2 *This, + LPCWSTR sessionID, + IAudioVolumeDuckNotification *duckNotification); + + HRESULT (STDMETHODCALLTYPE *UnregisterDuckNotification)( + IAudioSessionManager2 *This, + IAudioVolumeDuckNotification *duckNotification); + + END_INTERFACE +} IAudioSessionManager2Vtbl; + +interface IAudioSessionManager2 { + CONST_VTBL IAudioSessionManager2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioSessionManager2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioSessionManager2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioSessionManager2_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioSessionManager methods ***/ +#define IAudioSessionManager2_GetAudioSessionControl(This,AudioSessionGuid,StreamFlags,SessionControl) (This)->lpVtbl->GetAudioSessionControl(This,AudioSessionGuid,StreamFlags,SessionControl) +#define IAudioSessionManager2_GetSimpleAudioVolume(This,AudioSessionGuid,StreamFlags,AudioVolume) (This)->lpVtbl->GetSimpleAudioVolume(This,AudioSessionGuid,StreamFlags,AudioVolume) +/*** IAudioSessionManager2 methods ***/ +#define IAudioSessionManager2_GetSessionEnumerator(This,SessionEnum) (This)->lpVtbl->GetSessionEnumerator(This,SessionEnum) +#define IAudioSessionManager2_RegisterSessionNotification(This,SessionNotification) (This)->lpVtbl->RegisterSessionNotification(This,SessionNotification) +#define IAudioSessionManager2_UnregisterSessionNotification(This,SessionNotification) (This)->lpVtbl->UnregisterSessionNotification(This,SessionNotification) +#define IAudioSessionManager2_RegisterDuckNotification(This,sessionID,duckNotification) (This)->lpVtbl->RegisterDuckNotification(This,sessionID,duckNotification) +#define IAudioSessionManager2_UnregisterDuckNotification(This,duckNotification) (This)->lpVtbl->UnregisterDuckNotification(This,duckNotification) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioSessionManager2_QueryInterface(IAudioSessionManager2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioSessionManager2_AddRef(IAudioSessionManager2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioSessionManager2_Release(IAudioSessionManager2* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioSessionManager methods ***/ +static FORCEINLINE HRESULT IAudioSessionManager2_GetAudioSessionControl(IAudioSessionManager2* This,LPCGUID AudioSessionGuid,DWORD StreamFlags,IAudioSessionControl **SessionControl) { + return This->lpVtbl->GetAudioSessionControl(This,AudioSessionGuid,StreamFlags,SessionControl); +} +static FORCEINLINE HRESULT IAudioSessionManager2_GetSimpleAudioVolume(IAudioSessionManager2* This,LPCGUID AudioSessionGuid,DWORD StreamFlags,ISimpleAudioVolume **AudioVolume) { + return This->lpVtbl->GetSimpleAudioVolume(This,AudioSessionGuid,StreamFlags,AudioVolume); +} +/*** IAudioSessionManager2 methods ***/ +static FORCEINLINE HRESULT IAudioSessionManager2_GetSessionEnumerator(IAudioSessionManager2* This,IAudioSessionEnumerator **SessionEnum) { + return This->lpVtbl->GetSessionEnumerator(This,SessionEnum); +} +static FORCEINLINE HRESULT IAudioSessionManager2_RegisterSessionNotification(IAudioSessionManager2* This,IAudioSessionNotification *SessionNotification) { + return This->lpVtbl->RegisterSessionNotification(This,SessionNotification); +} +static FORCEINLINE HRESULT IAudioSessionManager2_UnregisterSessionNotification(IAudioSessionManager2* This,IAudioSessionNotification *SessionNotification) { + return This->lpVtbl->UnregisterSessionNotification(This,SessionNotification); +} +static FORCEINLINE HRESULT IAudioSessionManager2_RegisterDuckNotification(IAudioSessionManager2* This,LPCWSTR sessionID,IAudioVolumeDuckNotification *duckNotification) { + return This->lpVtbl->RegisterDuckNotification(This,sessionID,duckNotification); +} +static FORCEINLINE HRESULT IAudioSessionManager2_UnregisterDuckNotification(IAudioSessionManager2* This,IAudioVolumeDuckNotification *duckNotification) { + return This->lpVtbl->UnregisterDuckNotification(This,duckNotification); +} +#endif +#endif + +#endif + + +#endif /* __IAudioSessionManager2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __audiopolicy_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiopolicy.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiopolicy.idl new file mode 100644 index 0000000..d1832bb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiopolicy.idl @@ -0,0 +1,240 @@ +/* + * Core Audio audio policy definitions + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "propidl.idl"; +import "audiosessiontypes.h"; +import "audioclient.idl"; + +interface IAudioSessionEvents; +interface IAudioSessionControl; +interface IAudioSessionControl2; +interface IAudioSessionManager; +interface IAudioVolumeDuckNotification; +interface IAudioSessionNotification; +interface IAudioSessionEnumerator; +interface IAudioSessionManager2; + +typedef enum AudioSessionDisconnectReason /*[local]*/ +{ + DisconnectReasonDeviceRemoval = 0, + DisconnectReasonServerShutdown, + DisconnectReasonFormatChanged, + DisconnectReasonSessionLogoff, + DisconnectReasonSessionDisconnected, + DisconnectReasonExclusiveModeOverride, +} AudioSessionDisconnectReason; + +[ + local, + uuid(24918acc-64b3-37c1-8ca9-74a66e9957a8), + pointer_default(unique), + object +] +interface IAudioSessionEvents : IUnknown +{ + HRESULT OnDisplayNameChanged( + [string,in] LPCWSTR NewDisplayName, + [in] LPCGUID EventContext + ); + HRESULT OnIconPathChanged( + [string,in] LPCWSTR NewIconPath, + [in] LPCGUID EventContext + ); + HRESULT OnSimpleVolumeChanged( + [in] float NewVolume, + [in] BOOL NewMute, + [in] LPCGUID EventContext + ); + HRESULT OnChannelVolumeChanged( + [in] DWORD ChannelCount, + [size_is(ChannelCount),in] float *NewChannelVolumeArray, + [in] DWORD ChangedChannel, + [in] LPCGUID EventContext + ); + HRESULT OnGroupingParamChanged( + [in] LPCGUID NewGroupingParam, + [in] LPCGUID EventContext + ); + HRESULT OnStateChanged( + [in] AudioSessionState NewState + ); + HRESULT OnSessionDisconnected( + [in] AudioSessionDisconnectReason DisconnectReason + ); +} + +[ + local, + uuid(f4b1a599-7266-4319-a8ca-e70acb11e8cd), + pointer_default(unique), + object +] +interface IAudioSessionControl : IUnknown +{ + HRESULT GetState( + [out] AudioSessionState *pRetVal + ); + HRESULT GetDisplayName( + [string,out] LPWSTR *pRetVal + ); + HRESULT SetDisplayName( + [string,in] LPCWSTR DisplayName, + [unique,in] LPCGUID EventContext + ); + HRESULT GetIconPath( + [string,out] LPWSTR *pRetVal + ); + HRESULT SetIconPath( + [string,in] LPCWSTR Value, + [unique,in] LPCGUID EventContext + ); + HRESULT GetGroupingParam( + [out] GUID *pRetVal + ); + HRESULT SetGroupingParam( + [in] LPCGUID Override, + [unique,in] LPCGUID EventContext + ); + HRESULT RegisterAudioSessionNotification( + [in] IAudioSessionEvents *NewNotifications + ); + HRESULT UnregisterAudioSessionNotification( + [in] IAudioSessionEvents *NewNotifications + ); +} + +[ + local, + uuid(bfb7ff88-7239-4fc9-8fa2-07c950be9c6d), + pointer_default(unique), + object +] +interface IAudioSessionControl2 : IAudioSessionControl +{ + HRESULT GetSessionIdentifier( + [string,out] LPWSTR *pRetVal + ); + HRESULT GetSessionInstanceIdentifier( + [string,out] LPWSTR *pRetVal + ); + HRESULT GetProcessId( + [out] DWORD *pRetVal + ); + HRESULT IsSystemSoundsSession(void); + HRESULT SetDuckingPreferences( + [in] BOOL optOut + ); +}; + +[ + local, + uuid(bfa971f1-4d5e-40bb-935e-967039bfbee4), + pointer_default(unique), + object +] +interface IAudioSessionManager : IUnknown +{ + HRESULT GetAudioSessionControl( + [in] LPCGUID AudioSessionGuid, + [in] DWORD StreamFlags, + [out] IAudioSessionControl **SessionControl + ); + HRESULT GetSimpleAudioVolume( + [in] LPCGUID AudioSessionGuid, + [in] DWORD StreamFlags, + [out] ISimpleAudioVolume **AudioVolume + ); +}; + +[ + local, + uuid(c3b284d4-6d39-4359-b3cf-b56ddb3bb39c), + pointer_default(unique), + object +] +interface IAudioVolumeDuckNotification : IUnknown +{ + HRESULT OnVolumeDuckNotification( + [in] LPCWSTR sessionID, + [in] UINT32 countCommunicationSessions + ); + HRESULT OnVolumeUnduckNotification( + [in] LPCWSTR sessionID + ); +}; + +[ + local, + uuid(641dd20b-4d41-49cc-aba3-174b9477bb08), + pointer_default(unique), + object +] +interface IAudioSessionNotification : IUnknown +{ + HRESULT OnSessionCreated( + [in] IAudioSessionControl *NewSession + ); +}; + +[ + local, + uuid(e2f5bb11-0570-40ca-acdd-3aa01277dee8), + pointer_default(unique), + object +] +interface IAudioSessionEnumerator : IUnknown +{ + HRESULT GetCount( + [out] INT *SessionCount + ); + HRESULT GetSession( + [in] INT SessionCount, + [out] IAudioSessionControl **Session + ); +}; + +[ + local, + uuid(77aa99a0-1bd6-484f-8bc7-2c654c9a9b6f), + pointer_default(unique), + object +] +interface IAudioSessionManager2 : IAudioSessionManager +{ + HRESULT GetSessionEnumerator( + [retval,out] IAudioSessionEnumerator **SessionEnum + ); + HRESULT RegisterSessionNotification( + [in] IAudioSessionNotification *SessionNotification + ); + HRESULT UnregisterSessionNotification( + [in] IAudioSessionNotification *SessionNotification + ); + HRESULT RegisterDuckNotification( + [string,in] LPCWSTR sessionID, + [in] IAudioVolumeDuckNotification *duckNotification + ); + HRESULT UnregisterDuckNotification( + [in] IAudioVolumeDuckNotification *duckNotification + ); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiosessiontypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiosessiontypes.h new file mode 100644 index 0000000..2f78574 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/audiosessiontypes.h @@ -0,0 +1,60 @@ + +/* + * Core Audio audio session types definitions + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef __AUDIOSESSIONTYPES__ +#define __AUDIOSESSIONTYPES__ + +typedef enum _AUDCLNT_SHAREMODE +{ + AUDCLNT_SHAREMODE_SHARED, + AUDCLNT_SHAREMODE_EXCLUSIVE, +} AUDCLNT_SHAREMODE; + +#define AUDCLNT_STREAMFLAGS_CROSSPROCESS 0x00010000 +#define AUDCLNT_STREAMFLAGS_LOOPBACK 0x00020000 +#define AUDCLNT_STREAMFLAGS_EVENTCALLBACK 0x00040000 +#define AUDCLNT_STREAMFLAGS_NOPERSIST 0x00080000 +#define AUDCLNT_STREAMFLAGS_RATEADJUST 0x00100000 +#define AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED 0x10000000 +#define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE 0x20000000 +#define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED 0x40000000 + +typedef enum _AudioSessionState +{ + AudioSessionStateInactive = 0, + AudioSessionStateActive, + AudioSessionStateExpired, +} AudioSessionState; + +typedef enum _AUDIO_STREAM_CATEGORY +{ + AudioCategory_Other = 0, + AudioCategory_ForegroundOnlyMedia, + AudioCategory_BackgroundCapableMedia, + AudioCategory_Communications, + AudioCategory_Alerts, + AudioCategory_SoundEffects, + AudioCategory_GameEffects, + AudioCategory_GameMedia +} AUDIO_STREAM_CATEGORY; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/austream.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/austream.h new file mode 100644 index 0000000..875db4c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/austream.h @@ -0,0 +1,617 @@ +/*** Autogenerated by WIDL 2.18 from austream.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __austream_h__ +#define __austream_h__ + +/* Forward declarations */ + +#ifndef __IAudioMediaStream_FWD_DEFINED__ +#define __IAudioMediaStream_FWD_DEFINED__ +typedef interface IAudioMediaStream IAudioMediaStream; +#ifdef __cplusplus +interface IAudioMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioStreamSample_FWD_DEFINED__ +#define __IAudioStreamSample_FWD_DEFINED__ +typedef interface IAudioStreamSample IAudioStreamSample; +#ifdef __cplusplus +interface IAudioStreamSample; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemoryData_FWD_DEFINED__ +#define __IMemoryData_FWD_DEFINED__ +typedef interface IMemoryData IMemoryData; +#ifdef __cplusplus +interface IMemoryData; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioData_FWD_DEFINED__ +#define __IAudioData_FWD_DEFINED__ +typedef interface IAudioData IAudioData; +#ifdef __cplusplus +interface IAudioData; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef struct tWAVEFORMATEX WAVEFORMATEX; +#endif +#ifndef __IAudioMediaStream_FWD_DEFINED__ +#define __IAudioMediaStream_FWD_DEFINED__ +typedef interface IAudioMediaStream IAudioMediaStream; +#ifdef __cplusplus +interface IAudioMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioStreamSample_FWD_DEFINED__ +#define __IAudioStreamSample_FWD_DEFINED__ +typedef interface IAudioStreamSample IAudioStreamSample; +#ifdef __cplusplus +interface IAudioStreamSample; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemoryData_FWD_DEFINED__ +#define __IMemoryData_FWD_DEFINED__ +typedef interface IMemoryData IMemoryData; +#ifdef __cplusplus +interface IMemoryData; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioData_FWD_DEFINED__ +#define __IAudioData_FWD_DEFINED__ +typedef interface IAudioData IAudioData; +#ifdef __cplusplus +interface IAudioData; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IAudioMediaStream interface + */ +#ifndef __IAudioMediaStream_INTERFACE_DEFINED__ +#define __IAudioMediaStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioMediaStream, 0xf7537560, 0xa3be, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f7537560-a3be-11d0-8212-00c04fc32c45") +IAudioMediaStream : public IMediaStream +{ + virtual HRESULT STDMETHODCALLTYPE GetFormat( + WAVEFORMATEX *pWaveFormatCurrent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFormat( + const WAVEFORMATEX *lpWaveFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSample( + IAudioData *pAudioData, + DWORD dwFlags, + IAudioStreamSample **ppSample) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioMediaStream, 0xf7537560, 0xa3be, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45) +#endif +#else +typedef struct IAudioMediaStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioMediaStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioMediaStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioMediaStream *This); + + /*** IMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)( + IAudioMediaStream *This, + IMultiMediaStream **ppMultiMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IAudioMediaStream *This, + MSPID *pPurposeId, + STREAM_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *SetSameFormat)( + IAudioMediaStream *This, + IMediaStream *pStreamThatHasDesiredFormat, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *AllocateSample)( + IAudioMediaStream *This, + DWORD dwFlags, + IStreamSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *CreateSharedSample)( + IAudioMediaStream *This, + IStreamSample *pExistingSample, + DWORD dwFlags, + IStreamSample **ppNewSample); + + HRESULT (STDMETHODCALLTYPE *SendEndOfStream)( + IAudioMediaStream *This, + DWORD dwFlags); + + /*** IAudioMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFormat)( + IAudioMediaStream *This, + WAVEFORMATEX *pWaveFormatCurrent); + + HRESULT (STDMETHODCALLTYPE *SetFormat)( + IAudioMediaStream *This, + const WAVEFORMATEX *lpWaveFormat); + + HRESULT (STDMETHODCALLTYPE *CreateSample)( + IAudioMediaStream *This, + IAudioData *pAudioData, + DWORD dwFlags, + IAudioStreamSample **ppSample); + + END_INTERFACE +} IAudioMediaStreamVtbl; + +interface IAudioMediaStream { + CONST_VTBL IAudioMediaStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioMediaStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioMediaStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioMediaStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaStream methods ***/ +#define IAudioMediaStream_GetMultiMediaStream(This,ppMultiMediaStream) (This)->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream) +#define IAudioMediaStream_GetInformation(This,pPurposeId,pType) (This)->lpVtbl->GetInformation(This,pPurposeId,pType) +#define IAudioMediaStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) (This)->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) +#define IAudioMediaStream_AllocateSample(This,dwFlags,ppSample) (This)->lpVtbl->AllocateSample(This,dwFlags,ppSample) +#define IAudioMediaStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) (This)->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) +#define IAudioMediaStream_SendEndOfStream(This,dwFlags) (This)->lpVtbl->SendEndOfStream(This,dwFlags) +/*** IAudioMediaStream methods ***/ +#define IAudioMediaStream_GetFormat(This,pWaveFormatCurrent) (This)->lpVtbl->GetFormat(This,pWaveFormatCurrent) +#define IAudioMediaStream_SetFormat(This,lpWaveFormat) (This)->lpVtbl->SetFormat(This,lpWaveFormat) +#define IAudioMediaStream_CreateSample(This,pAudioData,dwFlags,ppSample) (This)->lpVtbl->CreateSample(This,pAudioData,dwFlags,ppSample) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioMediaStream_QueryInterface(IAudioMediaStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioMediaStream_AddRef(IAudioMediaStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioMediaStream_Release(IAudioMediaStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaStream methods ***/ +static FORCEINLINE HRESULT IAudioMediaStream_GetMultiMediaStream(IAudioMediaStream* This,IMultiMediaStream **ppMultiMediaStream) { + return This->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream); +} +static FORCEINLINE HRESULT IAudioMediaStream_GetInformation(IAudioMediaStream* This,MSPID *pPurposeId,STREAM_TYPE *pType) { + return This->lpVtbl->GetInformation(This,pPurposeId,pType); +} +static FORCEINLINE HRESULT IAudioMediaStream_SetSameFormat(IAudioMediaStream* This,IMediaStream *pStreamThatHasDesiredFormat,DWORD dwFlags) { + return This->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags); +} +static FORCEINLINE HRESULT IAudioMediaStream_AllocateSample(IAudioMediaStream* This,DWORD dwFlags,IStreamSample **ppSample) { + return This->lpVtbl->AllocateSample(This,dwFlags,ppSample); +} +static FORCEINLINE HRESULT IAudioMediaStream_CreateSharedSample(IAudioMediaStream* This,IStreamSample *pExistingSample,DWORD dwFlags,IStreamSample **ppNewSample) { + return This->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample); +} +static FORCEINLINE HRESULT IAudioMediaStream_SendEndOfStream(IAudioMediaStream* This,DWORD dwFlags) { + return This->lpVtbl->SendEndOfStream(This,dwFlags); +} +/*** IAudioMediaStream methods ***/ +static FORCEINLINE HRESULT IAudioMediaStream_GetFormat(IAudioMediaStream* This,WAVEFORMATEX *pWaveFormatCurrent) { + return This->lpVtbl->GetFormat(This,pWaveFormatCurrent); +} +static FORCEINLINE HRESULT IAudioMediaStream_SetFormat(IAudioMediaStream* This,const WAVEFORMATEX *lpWaveFormat) { + return This->lpVtbl->SetFormat(This,lpWaveFormat); +} +static FORCEINLINE HRESULT IAudioMediaStream_CreateSample(IAudioMediaStream* This,IAudioData *pAudioData,DWORD dwFlags,IAudioStreamSample **ppSample) { + return This->lpVtbl->CreateSample(This,pAudioData,dwFlags,ppSample); +} +#endif +#endif + +#endif + + +#endif /* __IAudioMediaStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioStreamSample interface + */ +#ifndef __IAudioStreamSample_INTERFACE_DEFINED__ +#define __IAudioStreamSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioStreamSample, 0x345fee00, 0xaba5, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("345fee00-aba5-11d0-8212-00c04fc32c45") +IAudioStreamSample : public IStreamSample +{ + virtual HRESULT STDMETHODCALLTYPE GetAudioData( + IAudioData **ppAudio) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioStreamSample, 0x345fee00, 0xaba5, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45) +#endif +#else +typedef struct IAudioStreamSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioStreamSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioStreamSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioStreamSample *This); + + /*** IStreamSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IAudioStreamSample *This, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetSampleTimes)( + IAudioStreamSample *This, + STREAM_TIME *pStartTime, + STREAM_TIME *pEndTime, + STREAM_TIME *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *SetSampleTimes)( + IAudioStreamSample *This, + const STREAM_TIME *pStartTime, + const STREAM_TIME *pEndTime); + + HRESULT (STDMETHODCALLTYPE *Update)( + IAudioStreamSample *This, + DWORD dwFlags, + HANDLE hEvent, + PAPCFUNC pfnAPC, + DWORD dwAPCData); + + HRESULT (STDMETHODCALLTYPE *CompletionStatus)( + IAudioStreamSample *This, + DWORD dwFlags, + DWORD dwMilliseconds); + + /*** IAudioStreamSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAudioData)( + IAudioStreamSample *This, + IAudioData **ppAudio); + + END_INTERFACE +} IAudioStreamSampleVtbl; + +interface IAudioStreamSample { + CONST_VTBL IAudioStreamSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioStreamSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioStreamSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioStreamSample_Release(This) (This)->lpVtbl->Release(This) +/*** IStreamSample methods ***/ +#define IAudioStreamSample_GetMediaStream(This,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,ppMediaStream) +#define IAudioStreamSample_GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) (This)->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) +#define IAudioStreamSample_SetSampleTimes(This,pStartTime,pEndTime) (This)->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime) +#define IAudioStreamSample_Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) (This)->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) +#define IAudioStreamSample_CompletionStatus(This,dwFlags,dwMilliseconds) (This)->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds) +/*** IAudioStreamSample methods ***/ +#define IAudioStreamSample_GetAudioData(This,ppAudio) (This)->lpVtbl->GetAudioData(This,ppAudio) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioStreamSample_QueryInterface(IAudioStreamSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioStreamSample_AddRef(IAudioStreamSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioStreamSample_Release(IAudioStreamSample* This) { + return This->lpVtbl->Release(This); +} +/*** IStreamSample methods ***/ +static FORCEINLINE HRESULT IAudioStreamSample_GetMediaStream(IAudioStreamSample* This,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,ppMediaStream); +} +static FORCEINLINE HRESULT IAudioStreamSample_GetSampleTimes(IAudioStreamSample* This,STREAM_TIME *pStartTime,STREAM_TIME *pEndTime,STREAM_TIME *pCurrentTime) { + return This->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime); +} +static FORCEINLINE HRESULT IAudioStreamSample_SetSampleTimes(IAudioStreamSample* This,const STREAM_TIME *pStartTime,const STREAM_TIME *pEndTime) { + return This->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime); +} +static FORCEINLINE HRESULT IAudioStreamSample_Update(IAudioStreamSample* This,DWORD dwFlags,HANDLE hEvent,PAPCFUNC pfnAPC,DWORD dwAPCData) { + return This->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData); +} +static FORCEINLINE HRESULT IAudioStreamSample_CompletionStatus(IAudioStreamSample* This,DWORD dwFlags,DWORD dwMilliseconds) { + return This->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds); +} +/*** IAudioStreamSample methods ***/ +static FORCEINLINE HRESULT IAudioStreamSample_GetAudioData(IAudioStreamSample* This,IAudioData **ppAudio) { + return This->lpVtbl->GetAudioData(This,ppAudio); +} +#endif +#endif + +#endif + + +#endif /* __IAudioStreamSample_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMemoryData interface + */ +#ifndef __IMemoryData_INTERFACE_DEFINED__ +#define __IMemoryData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMemoryData, 0x327fc560, 0xaf60, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("327fc560-af60-11d0-8212-00c04fc32c45") +IMemoryData : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetBuffer( + DWORD cbSize, + BYTE *pbData, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfo( + DWORD *pdwLength, + BYTE **ppbData, + DWORD *pcbActualData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetActual( + DWORD cbDataValid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMemoryData, 0x327fc560, 0xaf60, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45) +#endif +#else +typedef struct IMemoryDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMemoryData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMemoryData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMemoryData *This); + + /*** IMemoryData methods ***/ + HRESULT (STDMETHODCALLTYPE *SetBuffer)( + IMemoryData *This, + DWORD cbSize, + BYTE *pbData, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IMemoryData *This, + DWORD *pdwLength, + BYTE **ppbData, + DWORD *pcbActualData); + + HRESULT (STDMETHODCALLTYPE *SetActual)( + IMemoryData *This, + DWORD cbDataValid); + + END_INTERFACE +} IMemoryDataVtbl; + +interface IMemoryData { + CONST_VTBL IMemoryDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMemoryData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMemoryData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMemoryData_Release(This) (This)->lpVtbl->Release(This) +/*** IMemoryData methods ***/ +#define IMemoryData_SetBuffer(This,cbSize,pbData,dwFlags) (This)->lpVtbl->SetBuffer(This,cbSize,pbData,dwFlags) +#define IMemoryData_GetInfo(This,pdwLength,ppbData,pcbActualData) (This)->lpVtbl->GetInfo(This,pdwLength,ppbData,pcbActualData) +#define IMemoryData_SetActual(This,cbDataValid) (This)->lpVtbl->SetActual(This,cbDataValid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMemoryData_QueryInterface(IMemoryData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMemoryData_AddRef(IMemoryData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMemoryData_Release(IMemoryData* This) { + return This->lpVtbl->Release(This); +} +/*** IMemoryData methods ***/ +static FORCEINLINE HRESULT IMemoryData_SetBuffer(IMemoryData* This,DWORD cbSize,BYTE *pbData,DWORD dwFlags) { + return This->lpVtbl->SetBuffer(This,cbSize,pbData,dwFlags); +} +static FORCEINLINE HRESULT IMemoryData_GetInfo(IMemoryData* This,DWORD *pdwLength,BYTE **ppbData,DWORD *pcbActualData) { + return This->lpVtbl->GetInfo(This,pdwLength,ppbData,pcbActualData); +} +static FORCEINLINE HRESULT IMemoryData_SetActual(IMemoryData* This,DWORD cbDataValid) { + return This->lpVtbl->SetActual(This,cbDataValid); +} +#endif +#endif + +#endif + + +#endif /* __IMemoryData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioData interface + */ +#ifndef __IAudioData_INTERFACE_DEFINED__ +#define __IAudioData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioData, 0x54c719c0, 0xaf60, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("54c719c0-af60-11d0-8212-00c04fc32c45") +IAudioData : public IMemoryData +{ + virtual HRESULT STDMETHODCALLTYPE GetFormat( + WAVEFORMATEX *pWaveFormatCurrent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFormat( + const WAVEFORMATEX *lpWaveFormat) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioData, 0x54c719c0, 0xaf60, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45) +#endif +#else +typedef struct IAudioDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioData *This); + + /*** IMemoryData methods ***/ + HRESULT (STDMETHODCALLTYPE *SetBuffer)( + IAudioData *This, + DWORD cbSize, + BYTE *pbData, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IAudioData *This, + DWORD *pdwLength, + BYTE **ppbData, + DWORD *pcbActualData); + + HRESULT (STDMETHODCALLTYPE *SetActual)( + IAudioData *This, + DWORD cbDataValid); + + /*** IAudioData methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFormat)( + IAudioData *This, + WAVEFORMATEX *pWaveFormatCurrent); + + HRESULT (STDMETHODCALLTYPE *SetFormat)( + IAudioData *This, + const WAVEFORMATEX *lpWaveFormat); + + END_INTERFACE +} IAudioDataVtbl; + +interface IAudioData { + CONST_VTBL IAudioDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioData_Release(This) (This)->lpVtbl->Release(This) +/*** IMemoryData methods ***/ +#define IAudioData_SetBuffer(This,cbSize,pbData,dwFlags) (This)->lpVtbl->SetBuffer(This,cbSize,pbData,dwFlags) +#define IAudioData_GetInfo(This,pdwLength,ppbData,pcbActualData) (This)->lpVtbl->GetInfo(This,pdwLength,ppbData,pcbActualData) +#define IAudioData_SetActual(This,cbDataValid) (This)->lpVtbl->SetActual(This,cbDataValid) +/*** IAudioData methods ***/ +#define IAudioData_GetFormat(This,pWaveFormatCurrent) (This)->lpVtbl->GetFormat(This,pWaveFormatCurrent) +#define IAudioData_SetFormat(This,lpWaveFormat) (This)->lpVtbl->SetFormat(This,lpWaveFormat) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioData_QueryInterface(IAudioData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioData_AddRef(IAudioData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioData_Release(IAudioData* This) { + return This->lpVtbl->Release(This); +} +/*** IMemoryData methods ***/ +static FORCEINLINE HRESULT IAudioData_SetBuffer(IAudioData* This,DWORD cbSize,BYTE *pbData,DWORD dwFlags) { + return This->lpVtbl->SetBuffer(This,cbSize,pbData,dwFlags); +} +static FORCEINLINE HRESULT IAudioData_GetInfo(IAudioData* This,DWORD *pdwLength,BYTE **ppbData,DWORD *pcbActualData) { + return This->lpVtbl->GetInfo(This,pdwLength,ppbData,pcbActualData); +} +static FORCEINLINE HRESULT IAudioData_SetActual(IAudioData* This,DWORD cbDataValid) { + return This->lpVtbl->SetActual(This,cbDataValid); +} +/*** IAudioData methods ***/ +static FORCEINLINE HRESULT IAudioData_GetFormat(IAudioData* This,WAVEFORMATEX *pWaveFormatCurrent) { + return This->lpVtbl->GetFormat(This,pWaveFormatCurrent); +} +static FORCEINLINE HRESULT IAudioData_SetFormat(IAudioData* This,const WAVEFORMATEX *lpWaveFormat) { + return This->lpVtbl->SetFormat(This,lpWaveFormat); +} +#endif +#endif + +#endif + + +#endif /* __IAudioData_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __austream_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/austream.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/austream.idl new file mode 100644 index 0000000..bdfd11f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/austream.idl @@ -0,0 +1,108 @@ +/* + * Copyright 2004 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "mmstream.idl"; + +cpp_quote("#if 0") +typedef struct tWAVEFORMATEX WAVEFORMATEX; +cpp_quote ("#endif") + +interface IAudioMediaStream; +interface IAudioStreamSample; +interface IMemoryData; +interface IAudioData; + +[ +object, +local, +uuid(f7537560-a3be-11d0-8212-00c04fc32c45), +pointer_default(unique) +] +interface IAudioMediaStream : IMediaStream +{ + HRESULT GetFormat( + [out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent + ); + + HRESULT SetFormat( + [in] const WAVEFORMATEX *lpWaveFormat); + + HRESULT CreateSample( + [in] IAudioData *pAudioData, + [in] DWORD dwFlags, + [out] IAudioStreamSample **ppSample + ); +} + + +[ +object, +local, +uuid(345fee00-aba5-11d0-8212-00c04fc32c45), +pointer_default(unique) +] +interface IAudioStreamSample : IStreamSample +{ + HRESULT GetAudioData( + [out] IAudioData **ppAudio + ); +} + + +[ +object, +local, +uuid(327fc560-af60-11d0-8212-00c04fc32c45), +pointer_default(unique) +] +interface IMemoryData : IUnknown +{ + HRESULT SetBuffer( + [in] DWORD cbSize, + [in] BYTE *pbData, + [in] DWORD dwFlags + ); + + HRESULT GetInfo( + [out] DWORD *pdwLength, + [out] BYTE **ppbData, + [out] DWORD *pcbActualData + ); + HRESULT SetActual( + [in] DWORD cbDataValid + ); +} + + +[ +object, +local, +uuid(54c719c0-af60-11d0-8212-00c04fc32c45), +pointer_default(unique) +] +interface IAudioData : IMemoryData +{ + HRESULT GetFormat( + [out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent + ); + + HRESULT SetFormat( + [in] const WAVEFORMATEX *lpWaveFormat + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/authz.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/authz.h new file mode 100644 index 0000000..42edc8c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/authz.h @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2016 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __AUTHZ_H__ +#define __AUTHZ_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +DECLARE_HANDLE(AUTHZ_ACCESS_CHECK_RESULTS_HANDLE); +DECLARE_HANDLE(AUTHZ_CLIENT_CONTEXT_HANDLE); +DECLARE_HANDLE(AUTHZ_RESOURCE_MANAGER_HANDLE); +DECLARE_HANDLE(AUTHZ_AUDIT_EVENT_HANDLE); + +typedef AUTHZ_ACCESS_CHECK_RESULTS_HANDLE *PAUTHZ_ACCESS_CHECK_RESULTS_HANDLE; +typedef AUTHZ_CLIENT_CONTEXT_HANDLE *PAUTHZ_CLIENT_CONTEXT_HANDLE; + +typedef BOOL (CALLBACK *PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS) ( + AUTHZ_CLIENT_CONTEXT_HANDLE handle, void *args, + PSID_AND_ATTRIBUTES *sid_attr_array, DWORD *sid_cnt, + PSID_AND_ATTRIBUTES *restricted_sid_attr_array, + DWORD *restricted_sid_cnt); + +typedef BOOL (CALLBACK *PFN_AUTHZ_DYNAMIC_ACCESS_CHECK) ( + AUTHZ_CLIENT_CONTEXT_HANDLE handle, PACE_HEADER ace, + void *args, BOOL *ace_applicable); + +typedef VOID (CALLBACK *PFN_AUTHZ_FREE_DYNAMIC_GROUPS) ( + PSID_AND_ATTRIBUTES sid_attr_array); + +typedef struct _AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET +{ + WCHAR *szObjectTypeName; + DWORD dwOffset; +} AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET, *PAUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET; + +typedef struct _AUTHZ_ACCESS_REQUEST +{ + ACCESS_MASK DesiredAccess; + PSID PrincipalSelfSid; + POBJECT_TYPE_LIST ObjectTypeList; + DWORD ObjectTypeListLength; + void *OptionalArguments; +} AUTHZ_ACCESS_REQUEST, *PAUTHZ_ACCESS_REQUEST; + + +#define AUTHZ_GENERATE_SUCCESS_AUDIT 0x1 +#define AUTHZ_GENERATE_FAILURE_AUDIT 0x2 + +typedef struct _AUTHZ_ACCESS_REPLY +{ + DWORD ResultListLength; + ACCESS_MASK *GrantedAccessMask; + DWORD *SaclEvaluationResults; + DWORD *Error; +} AUTHZ_ACCESS_REPLY, *PAUTHZ_ACCESS_REPLY; + +typedef struct _AUTHZ_SOURCE_SCHEMA_REGISTRATION +{ + DWORD dwFlags; + WCHAR *szEventSourceName; + WCHAR *szEventMessageFile; + WCHAR *szEventSourceXmlSchemaFile; + WCHAR *szEventAccessStringsFile; + WCHAR *szExecutableImagePath; + + union + { + void *pReserved; + GUID *pProviderGuid; + } DUMMYUNIONNAME; + + DWORD dwObjectTypeNameCount; + AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET ObjectTypeNames[ANYSIZE_ARRAY]; +} AUTHZ_SOURCE_SCHEMA_REGISTRATION, *PAUTHZ_SOURCE_SCHEMA_REGISTRATION; + +BOOL WINAPI AuthzInitializeResourceManager(DWORD flags, PFN_AUTHZ_DYNAMIC_ACCESS_CHECK access_checker, + PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS compute_dyn_groups, PFN_AUTHZ_FREE_DYNAMIC_GROUPS free_dyn_groups, + const WCHAR *managername, AUTHZ_RESOURCE_MANAGER_HANDLE *handle ); + +BOOL WINAPI AuthzInstallSecurityEventSource(DWORD flags, AUTHZ_SOURCE_SCHEMA_REGISTRATION *registration); + +BOOL WINAPI AuthzAccessCheck(DWORD flags, AUTHZ_CLIENT_CONTEXT_HANDLE client_context, + AUTHZ_ACCESS_REQUEST *request, AUTHZ_AUDIT_EVENT_HANDLE audit_event, + PSECURITY_DESCRIPTOR security, PSECURITY_DESCRIPTOR *optional_security, + DWORD optional_security_count, AUTHZ_ACCESS_REPLY *reply, + AUTHZ_ACCESS_CHECK_RESULTS_HANDLE *access_check_result); + +BOOL WINAPI AuthzFreeContext(AUTHZ_CLIENT_CONTEXT_HANDLE client_context); + +BOOL WINAPI AuthzInitializeContextFromSid(DWORD flags, PSID sid, + AUTHZ_RESOURCE_MANAGER_HANDLE resource_manager, LARGE_INTEGER *expire_time, + LUID id, void *dynamic_group, AUTHZ_CLIENT_CONTEXT_HANDLE *client_context); + +BOOL WINAPI AuthzInitializeContextFromToken(DWORD flags, HANDLE token_handle, + AUTHZ_RESOURCE_MANAGER_HANDLE resource_manager, LARGE_INTEGER *expire_time, + LUID id, void *dynamic_group, AUTHZ_CLIENT_CONTEXT_HANDLE *client_context); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aviriff.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aviriff.h new file mode 100644 index 0000000..9fea63a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/aviriff.h @@ -0,0 +1,329 @@ +/* + * Copyright (C) 2003 Robert Shearman + * Copyright (C) 2008 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef AVIRIFF_H +#define AVIRIFF_H + +/* All definitions here are packed structures of on-disk formats */ +#include + +typedef struct _riffchunk +{ + FOURCC fcc; + DWORD cb; +} RIFFCHUNK, * LPRIFFCHUNK; + +typedef struct _rifflist +{ + FOURCC fcc; + DWORD cb; + FOURCC fccListType; +} RIFFLIST, * LPRIFFLIST; + +#define FCC( ch0, ch1, ch2, ch3 ) \ + ( (DWORD)(BYTE)(ch0) | ( (DWORD)(BYTE)(ch1) << 8 ) | \ + ( (DWORD)(BYTE)(ch2) << 16 ) | ( (DWORD)(BYTE)(ch3) << 24 ) ) + +#define RIFFROUND(cb) ((cb) + ((cb)&1)) +#define RIFFNEXT(pChunk) (LPRIFFCHUNK)((LPBYTE)(pChunk)+sizeof(RIFFCHUNK)+RIFFROUND(((LPRIFFCHUNK)pChunk)->cb)) + +/* flags for dwFlags member of AVIMAINHEADER */ +#define AVIF_HASINDEX 0x00000010 +#define AVIF_MUSTUSEINDEX 0x00000020 +#define AVIF_ISINTERLEAVED 0x00000100 +#define AVIF_TRUSTCKTYPE 0x00000800 +#define AVIF_WASCAPTUREFILE 0x00010000 +#define AVIF_COPYRIGHTED 0x00020000 + +#define ckidMAINAVIHEADER FCC('a','v','i','h') +typedef struct _avimainheader +{ + FOURCC fcc; + DWORD cb; + DWORD dwMicroSecPerFrame; + DWORD dwMaxBytesPerSec; + DWORD dwPaddingGranularity; + DWORD dwFlags; + DWORD dwTotalFrames; + DWORD dwInitialFrames; + DWORD dwStreams; + DWORD dwSuggestedBufferSize; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwReserved[4]; +} AVIMAINHEADER; + +#define ckidODML FCC('o','d','m','l') +#define ckidAVIEXTHEADER FCC('d','m','l','h') +typedef struct _aviextheader +{ + FOURCC fcc; + DWORD cb; + DWORD dwGrandFrames; + DWORD dwFuture[61]; +} AVIEXTHEADER; + +#define ckidSTREAMLIST FCC('s','t','r','l') + +/* flags for dwFlags member of AVISTREAMHEADER */ +#define AVISF_DISABLED 0x00000001 +#define AVISF_VIDEO_PALCHANGES 0x00010000 + +#ifndef ckidSTREAMHEADER +#define ckidSTREAMHEADER FCC('s','t','r','h') +#endif + +#ifndef streamtypeVIDEO +#define streamtypeVIDEO FCC('v','i','d','s') +#define streamtypeAUDIO FCC('a','u','d','s') +#define streamtypeMIDI FCC('m','i','d','s') +#define streamtypeTEXT FCC('t','x','t','s') +#endif + +typedef struct _avistreamheader +{ + FOURCC fcc; + DWORD cb; + FOURCC fccType; + FOURCC fccHandler; + DWORD dwFlags; + WORD wPriority; + WORD wLanguage; + DWORD dwInitialFrames; + DWORD dwScale; + DWORD dwRate; + DWORD dwStart; + DWORD dwLength; + DWORD dwSuggestedBufferSize; + DWORD dwQuality; + DWORD dwSampleSize; + struct + { + short int left; + short int top; + short int right; + short int bottom; + } rcFrame; +} AVISTREAMHEADER; + +#ifndef ckidSTREAMFORMAT +#define ckidSTREAMFORMAT FCC('s','t','r','f') +#endif +#define ckidAVIOLDINDEX FCC('i','d','x','1') + +/* flags for dwFlags member of _avioldindex_entry */ +#define AVIIF_LIST 0x00000001 +#define AVIIF_KEYFRAME 0x00000010 +#define AVIIF_NO_TIME 0x00000100 +#define AVIIF_COMPRESSOR 0x0FFF0000 + +typedef struct _avioldindex +{ + FOURCC fcc; + DWORD cb; + struct _avioldindex_entry + { + DWORD dwChunkId; + DWORD dwFlags; + DWORD dwOffset; + DWORD dwSize; + } aIndex[ANYSIZE_ARRAY]; +} AVIOLDINDEX; + +typedef union _timecode +{ + struct + { + WORD wFrameRate; + WORD wFrameFract; + LONG cFrames; + } DUMMYSTRUCTNAME; + DWORDLONG qw; +} TIMECODE; + +#define TIMECODE_RATE_30DROP 0 + +/* flags for dwSMPTEflags member of TIMECODEDATA */ +#define TIMECODE_SMPTE_BINARY_GROUP 0x07 +#define TIMECODE_SMPTE_COLOR_FRAME 0x08 + +typedef struct _timecodedata +{ + TIMECODE time; + DWORD dwSMPTEflags; + DWORD dwUser; +} TIMECODEDATA; + +#define AVI_INDEX_OF_INDEXES 0x00 +#define AVI_INDEX_OF_CHUNKS 0x01 +#define AVI_INDEX_OF_TIMED_CHUNKS 0x02 +#define AVI_INDEX_OF_SUB_2FIELD 0x03 +#define AVI_INDEX_IS_DATA 0x80 + +#define AVI_INDEX_SUB_DEFAULT 0x00 +#define AVI_INDEX_SUB_2FIELD 0x01 + +typedef struct _avimetaindex +{ + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORD dwReserved[3]; + DWORD adwIndex[ANYSIZE_ARRAY]; +} AVIMETAINDEX; + +#define ckidAVISUPERINDEX FCC('i','n','d','x') +typedef struct _avisuperindex { + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORD dwReserved[3]; + struct _avisuperindex_entry { + DWORDLONG qwOffset; + DWORD dwSize; + DWORD dwDuration; + } aIndex[ANYSIZE_ARRAY]; +} AVISUPERINDEX; + +#define AVISTDINDEX_DELTAFRAME (0x80000000) +#define AVISTDINDEX_SIZEMASK (~0x80000000) + +typedef struct _avistdindex_entry { + DWORD dwOffset; + DWORD dwSize; +} AVISTDINDEX_ENTRY; + +typedef struct _avistdindex { + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORDLONG qwBaseOffset; + DWORD dwReserved_3; + AVISTDINDEX_ENTRY aIndex[ANYSIZE_ARRAY]; +} AVISTDINDEX; + +typedef struct _avitimedindex_entry { + DWORD dwOffset; + DWORD dwSize; + DWORD dwDuration; +} AVITIMEDINDEX_ENTRY; + +typedef struct _avitimedindex { + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORDLONG qwBaseOffset; + DWORD dwReserved_3; + AVITIMEDINDEX_ENTRY aIndex[ANYSIZE_ARRAY]; + /* DWORD adwTrailingFill[ANYSIZE_ARRAY]; */ +} AVITIMEDINDEX; + +typedef struct _avitimecodeindex { + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORD dwReserved[3]; + TIMECODEDATA aIndex[ANYSIZE_ARRAY]; +} AVITIMECODEINDEX; + +typedef struct _avitcdlindex_entryA { + DWORD dwTick; + TIMECODE time; + DWORD dwSMPTEflags; + DWORD dwUser; + CHAR szReelId[12]; +} AVITCDLINDEX_ENTRYA; + +typedef struct _avitcdlindex_entryW { + DWORD dwTick; + TIMECODE time; + DWORD dwSMPTEflags; + DWORD dwUser; + WCHAR szReelId[12]; +} AVITCDLINDEX_ENTRYW; + +typedef struct _avitcdlindexA { + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORD dwReserved[3]; + AVITCDLINDEX_ENTRYA aIndex[ANYSIZE_ARRAY]; + /* DWORD adwTrailingFill[ANYSIZE_ARRAY]; */ +} AVITCDLINDEXA; + +typedef struct _avitcdlindexW { + FOURCC fcc; + UINT cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORD dwReserved[3]; + AVITCDLINDEX_ENTRYW aIndex[ANYSIZE_ARRAY]; + /* DWORD adwTrailingFill[ANYSIZE_ARRAY]; */ +} AVITCDLINDEXW; + +#define AVITCDLINDEX_ENTRY WINELIB_NAME_AW(AVITCDLINDEX_ENTRY) +#define AVITCDLINDEX WINELIB_NAME_AW(AVITCDLINDEX) + +typedef struct _avifieldindex_chunk { + FOURCC fcc; + DWORD cb; + WORD wLongsPerEntry; + BYTE bIndexSubType; + BYTE bIndexType; + DWORD nEntriesInUse; + DWORD dwChunkId; + DWORDLONG qwBaseOffset; + DWORD dwReserved3; + struct _avifieldindex_entry { + DWORD dwOffset; + DWORD dwSize; + DWORD dwOffsetField2; + } aIndex[ANYSIZE_ARRAY]; +} AVIFIELDINDEX, * PAVIFIELDINDEX; + +#include + +#endif /* AVIRIFF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/avrt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/avrt.h new file mode 100644 index 0000000..2d0ab09 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/avrt.h @@ -0,0 +1,74 @@ +/* + * avrt definitions + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef _AVRT_ +#define _AVRT_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _AVRT_PRIORITY +{ + AVRT_PRIORITY_LOW = -1, + AVRT_PRIORITY_NORMAL, + AVRT_PRIORITY_HIGH, + AVRT_PRIORITY_CRITICAL +} AVRT_PRIORITY, *PAVRT_PRIORITY; + +/* Windows compiler is more lax */ +#define THREAD_ORDER_GROUP_INFINITE_TIMEOUT ((void*)((LONG_PTR)-1)) + +HANDLE WINAPI AvSetMmThreadCharacteristicsA(LPCSTR TaskName, LPDWORD TaskIndex); +HANDLE WINAPI AvSetMmThreadCharacteristicsW(LPCWSTR TaskName, LPDWORD TaskIndex); +#define AvSetMmThreadCharacteristics WINELIB_NAME_AW(AvSetMmThreadCharacteristics) + +HANDLE WINAPI AvSetMmMaxThreadCharacteristicsA(LPCSTR FirstTask, LPCSTR SecondTask, LPDWORD TaskIndex); +HANDLE WINAPI AvSetMmMaxThreadCharacteristicsW(LPCSTR FirstTask, LPCSTR SecondTask, LPDWORD TaskIndex); +#define AvSetMmMaxThreadCharacteristics WINELIB_NAME_AW(AvSetMmMaxThreadCharacteristics) + +BOOL WINAPI AvRevertMmThreadCharacteristics(HANDLE AvrtHandle); +BOOL WINAPI AvSetMmThreadPriority(HANDLE AvrtHandle, AVRT_PRIORITY Priority); +BOOL WINAPI AvRtCreateThreadOrderingGroup( + PHANDLE Context, PLARGE_INTEGER Period, + GUID *ThreadOrderingGuid, PLARGE_INTEGER Timeout); + +BOOL WINAPI AvRtCreateThreadOrderingGroupExA( + PHANDLE Context, PLARGE_INTEGER Period, + GUID *ThreadOrderingGuid, PLARGE_INTEGER Timeout, + LPCSTR TaskName); +BOOL WINAPI AvRtCreateThreadOrderingGroupExW( + PHANDLE Context, PLARGE_INTEGER Period, + GUID *ThreadOrderingGuid, PLARGE_INTEGER Timeout, + LPCSTR TaskName); +#define AvRtCreateThreadOrderingGroupEx WINELIB_NAME_AW(AvRtCreateThreadOrderingGroupEx) + +BOOL WINAPI AvRtJoinThreadOrderingGroup(PHANDLE Context, GUID *ThreadOrderingGuid, BOOL Before); +BOOL WINAPI AvRtWaitOnThreadOrderingGroup(HANDLE Context); +BOOL WINAPI AvRtLeaveThreadOrderingGroup(HANDLE Context); +BOOL WINAPI AvRtDeleteThreadOrderingGroup(HANDLE Context); +BOOL WINAPI AvQuerySystemResponsiveness(HANDLE AvrtHandle, PULONG SystemResponsivenessValue); + +#ifdef __cplusplus +} +#endif + +#endif /*_AVRT_*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/axcore.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/axcore.idl new file mode 100644 index 0000000..9bd7604 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/axcore.idl @@ -0,0 +1,700 @@ +/* + * Copyright (C) 2002 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +#define CHARS_IN_GUID 39 +cpp_quote("#define CHARS_IN_GUID 39") + +/* GetTimeFormat is defined in winnls.h as + * either the W or A suffixed version */ +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetTimeFormat") +cpp_quote("#endif") + +typedef struct _AMMediaType +{ + GUID majortype; + GUID subtype; + BOOL bFixedSizeSamples; + BOOL bTemporalCompression; + ULONG lSampleSize; + GUID formattype; + IUnknown * pUnk; + ULONG cbFormat; + [size_is(cbFormat)] BYTE * pbFormat; +} AM_MEDIA_TYPE; + +typedef enum _PinDirection +{ + PINDIR_INPUT, + PINDIR_OUTPUT +} PIN_DIRECTION; + +#define MAX_PIN_NAME 128 +#define MAX_FILTER_NAME 128 +cpp_quote("#define MAX_PIN_NAME 128") +cpp_quote("#define MAX_FILTER_NAME 128") + +cpp_quote("#ifndef REFERENCE_TIME_DEFINED") +cpp_quote("#define REFERENCE_TIME_DEFINED") +typedef LONGLONG REFERENCE_TIME; +cpp_quote("#endif") + +cpp_quote("#ifndef REFTIME_DEFINED") +cpp_quote("#define REFTIME_DEFINED") +typedef DOUBLE REFTIME; +cpp_quote("#endif") + +typedef DWORD_PTR HSEMAPHORE; +typedef DWORD_PTR HEVENT; + +typedef struct _AllocatorProperties +{ + long cBuffers; + long cbBuffer; + long cbAlign; + long cbPrefix; +} ALLOCATOR_PROPERTIES; + +interface IAMovieSetup; +interface IEnumFilters; +interface IEnumMediaTypes; +interface IEnumPins; +interface IBaseFilter; +interface IFilterGraph; +interface IMediaFilter; +interface IMediaSample; +interface IMemAllocator; +interface IMemAllocatorCallbackTemp; +interface IMemAllocatorNotifyCallbackTemp; +interface IMemInputPin; +interface IPin; +interface IReferenceClock; + +[ +object, +uuid(56a86891-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IPin : IUnknown +{ + typedef struct _PinInfo + { + IBaseFilter *pFilter; + PIN_DIRECTION dir; + WCHAR achName[MAX_PIN_NAME]; + } PIN_INFO; + + HRESULT Connect( + [in] IPin * pReceivePin, + [in] const AM_MEDIA_TYPE * pmt); + + HRESULT ReceiveConnection( + [in] IPin * pConnector, + [in] const AM_MEDIA_TYPE *pmt); + + HRESULT Disconnect(void); + + HRESULT ConnectedTo( + [out] IPin **pPin); + + HRESULT ConnectionMediaType( + [out] AM_MEDIA_TYPE *pmt); + + HRESULT QueryPinInfo( + [out] PIN_INFO * pInfo); + + HRESULT QueryDirection( + [out] PIN_DIRECTION *pPinDir); + + HRESULT QueryId( + [out] LPWSTR * Id); + + HRESULT QueryAccept( + [in] const AM_MEDIA_TYPE *pmt); + + HRESULT EnumMediaTypes( + [out] IEnumMediaTypes **ppEnum); + + HRESULT QueryInternalConnections( + [out] IPin* *apPin, + [in, out] ULONG *nPin); + + HRESULT EndOfStream(void); + + HRESULT BeginFlush(void); + + HRESULT EndFlush(void); + HRESULT NewSegment( + [in] REFERENCE_TIME tStart, + [in] REFERENCE_TIME tStop, + [in] double dRate); +} + +typedef IPin *PPIN; + +[ +object, +uuid(56a86892-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IEnumPins : IUnknown +{ + + HRESULT Next( + [in] ULONG cPins, + [out, size_is(cPins)] IPin ** ppPins, + [out] ULONG * pcFetched); + + HRESULT Skip( + [in] ULONG cPins); + + HRESULT Reset(void); + + HRESULT Clone( + [out] IEnumPins **ppEnum); +} + +typedef IEnumPins *PENUMPINS; + +[ +object, +uuid(89c31040-846b-11ce-97d3-00aa0055595a), +pointer_default(unique) +] +interface IEnumMediaTypes : IUnknown +{ + HRESULT Next( + [in] ULONG cMediaTypes, + [out, size_is(cMediaTypes)] + AM_MEDIA_TYPE ** ppMediaTypes, + [out] ULONG * pcFetched + ); + + HRESULT Skip( + [in] ULONG cMediaTypes); + + HRESULT Reset(void); + + HRESULT Clone( + [out] IEnumMediaTypes **ppEnum + ); +} + +typedef IEnumMediaTypes *PENUMMEDIATYPES; + +[ +object, +uuid(56a8689f-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IFilterGraph : IUnknown +{ + HRESULT AddFilter( + [in] IBaseFilter * pFilter, + [in, string] LPCWSTR pName); + + HRESULT RemoveFilter( + [in] IBaseFilter * pFilter); + + HRESULT EnumFilters( + [out] IEnumFilters **ppEnum); + + HRESULT FindFilterByName( + [in, string] LPCWSTR pName, + [out] IBaseFilter ** ppFilter); + + HRESULT ConnectDirect( + [in] IPin * ppinOut, + [in] IPin * ppinIn, + [in, unique] const AM_MEDIA_TYPE* pmt); + + HRESULT Reconnect( + [in] IPin * ppin); + + HRESULT Disconnect( + [in] IPin * ppin); + + HRESULT SetDefaultSyncSource(void); +} + +typedef IFilterGraph *PFILTERGRAPH; + +[ +object, +uuid(56a86893-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IEnumFilters : IUnknown +{ + HRESULT Next( + [in] ULONG cFilters, + [out] IBaseFilter ** ppFilter, + [out] ULONG * pcFetched); + + + HRESULT Skip( + [in] ULONG cFilters); + + + HRESULT Reset(void); + + + HRESULT Clone( + [out] IEnumFilters **ppEnum); +} + +typedef IEnumFilters *PENUMFILTERS; + +[ +object, +uuid(56a86899-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IMediaFilter : IPersist +{ + typedef enum _FilterState + { + State_Stopped, + State_Paused, + State_Running + } FILTER_STATE; + + HRESULT Stop(void); + HRESULT Pause(void); + + HRESULT Run(REFERENCE_TIME tStart); + + HRESULT GetState( + [in] DWORD dwMilliSecsTimeout, + [out] FILTER_STATE *State); + + HRESULT SetSyncSource( + [in] IReferenceClock * pClock); + + HRESULT GetSyncSource( + [out] IReferenceClock ** pClock); +} + +typedef IMediaFilter *PMEDIAFILTER; + +[ +object, +uuid(56a86895-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IBaseFilter : IMediaFilter +{ + typedef struct _FilterInfo + { + WCHAR achName[MAX_FILTER_NAME]; + IFilterGraph * pGraph; + } FILTER_INFO; + + HRESULT EnumPins( + [out] IEnumPins ** ppEnum); + + HRESULT FindPin( + [in, string] LPCWSTR Id, + [out] IPin ** ppPin); + + HRESULT QueryFilterInfo( + [out] FILTER_INFO * pInfo); + + HRESULT JoinFilterGraph( + [in] IFilterGraph * pGraph, + [in, string] LPCWSTR pName); + + HRESULT QueryVendorInfo( + [out, string] LPWSTR* pVendorInfo); +} + +typedef IBaseFilter *PFILTER; + +[ +object, +uuid(56a86897-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IReferenceClock : IUnknown +{ + HRESULT GetTime( + [out] REFERENCE_TIME *pTime); + + HRESULT AdviseTime( + [in] REFERENCE_TIME baseTime, + [in] REFERENCE_TIME streamTime, + [in] HEVENT hEvent, + [out] DWORD_PTR * pdwAdviseCookie); + + HRESULT AdvisePeriodic( + [in] REFERENCE_TIME startTime, + [in] REFERENCE_TIME periodTime, + [in] HSEMAPHORE hSemaphore, + [out] DWORD_PTR * pdwAdviseCookie); + + HRESULT Unadvise( + [in] DWORD_PTR dwAdviseCookie); +} + +typedef IReferenceClock *PREFERENCECLOCK; + +/* +[ +object, +uuid(36b73885-c2c8-11cf-8b46-00805f6cef60), +pointer_default(unique) +] +interface IReferenceClock2 : IReferenceClock +{ +} + +typedef IReferenceClock2 *PREFERENCECLOCK2; + +*/ + +[ +local, +object, +uuid(56a8689a-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IMediaSample : IUnknown +{ + HRESULT GetPointer([out] BYTE ** ppBuffer); + + long GetSize(void); + + HRESULT GetTime( + [out] REFERENCE_TIME * pTimeStart, + [out] REFERENCE_TIME * pTimeEnd); + + HRESULT SetTime( + [in] REFERENCE_TIME * pTimeStart, + [in] REFERENCE_TIME * pTimeEnd); + + HRESULT IsSyncPoint(void); + + HRESULT SetSyncPoint(BOOL bIsSyncPoint); + + HRESULT IsPreroll(void); + + HRESULT SetPreroll(BOOL bIsPreroll); + + LONG GetActualDataLength(void); + + HRESULT SetActualDataLength(LONG length); + + HRESULT GetMediaType(AM_MEDIA_TYPE **ppMediaType); + + HRESULT SetMediaType(AM_MEDIA_TYPE *pMediaType); + + HRESULT IsDiscontinuity(void); + + HRESULT SetDiscontinuity(BOOL bDiscontinuity); + + HRESULT GetMediaTime( + [out] LONGLONG * pTimeStart, + [out] LONGLONG * pTimeEnd); + + HRESULT SetMediaTime( + [in] LONGLONG * pTimeStart, + [in] LONGLONG * pTimeEnd); +} + +typedef IMediaSample *PMEDIASAMPLE; + +enum tagAM_SAMPLE_PROPERTY_FLAGS +{ + AM_SAMPLE_SPLICEPOINT = 0x01, + AM_SAMPLE_PREROLL = 0x02, + AM_SAMPLE_DATADISCONTINUITY = 0x04, + AM_SAMPLE_TYPECHANGED = 0x08, + AM_SAMPLE_TIMEVALID = 0x10, + AM_SAMPLE_TIMEDISCONTINUITY = 0x40, + AM_SAMPLE_FLUSH_ON_PAUSE = 0x80, + AM_SAMPLE_STOPVALID = 0x100, + AM_SAMPLE_ENDOFSTREAM = 0x200, + AM_STREAM_MEDIA = 0, + AM_STREAM_CONTROL = 1 +}; + +typedef struct tagAM_SAMPLE2_PROPERTIES +{ + DWORD cbData; + DWORD dwTypeSpecificFlags; + DWORD dwSampleFlags; + LONG lActual; + REFERENCE_TIME tStart; + REFERENCE_TIME tStop; + DWORD dwStreamId; + AM_MEDIA_TYPE *pMediaType; + BYTE *pbBuffer; + LONG cbBuffer; +} AM_SAMPLE2_PROPERTIES; + +[ + local, + object, + uuid(36b73884-c2c8-11cf-8b46-00805f6cef60), + pointer_default(unique) +] +interface IMediaSample2 : IMediaSample +{ + HRESULT GetProperties( + [in] DWORD cbProperties, + [out, size_is(cbProperties)] BYTE * pbProperties + ); + + HRESULT SetProperties( + [in] DWORD cbProperties, + [in, size_is(cbProperties)] const BYTE * pbProperties + ); +} + +typedef IMediaSample2 *PMEDIASAMPLE2; + +#define AM_GBF_PREVFRAMESKIPPED 1 +#define AM_GBF_NOTASYNCPOINT 2 +cpp_quote("#define AM_GBF_PREVFRAMESKIPPED 1") +cpp_quote("#define AM_GBF_NOTASYNCPOINT 2") + +cpp_quote("#define AM_GBF_NOWAIT 4") +cpp_quote("#define AM_GBF_NODDSURFACELOCK 8") + +[ +object, +uuid(56a8689c-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IMemAllocator : IUnknown +{ + HRESULT SetProperties( + [in] ALLOCATOR_PROPERTIES* pRequest, + [out] ALLOCATOR_PROPERTIES* pActual); + + HRESULT GetProperties( + [out] ALLOCATOR_PROPERTIES* pProps); + + HRESULT Commit(void); + + HRESULT Decommit(void); + + HRESULT GetBuffer( + [out] IMediaSample **ppBuffer, + [in] REFERENCE_TIME * pStartTime, + [in] REFERENCE_TIME * pEndTime, + [in] DWORD dwFlags); + + HRESULT ReleaseBuffer( + [in] IMediaSample *pBuffer); +} + +typedef IMemAllocator *PMEMALLOCATOR; + +[ +object, +uuid(379a0cf0-c1de-11d2-abf5-00a0c905f375), +pointer_default(unique) +] +interface IMemAllocatorCallbackTemp : IMemAllocator +{ + HRESULT SetNotify( + [in] IMemAllocatorNotifyCallbackTemp *pNotify); + + HRESULT GetFreeCount( + [out] LONG *plBuffersFree); +} + +[ +object, +uuid(92980b30-c1de-11d2-abf5-00a0c905f375), +pointer_default(unique) +] +interface IMemAllocatorNotifyCallbackTemp : IUnknown +{ + HRESULT NotifyRelease(); +} + +[ +object, +uuid(56a8689d-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IMemInputPin : IUnknown +{ + HRESULT GetAllocator( + [out] IMemAllocator ** ppAllocator); + + HRESULT NotifyAllocator( + [in] IMemAllocator * pAllocator, + [in] BOOL bReadOnly); + + HRESULT GetAllocatorRequirements( [out] ALLOCATOR_PROPERTIES*pProps ); + + HRESULT Receive( + [in] IMediaSample * pSample); + + HRESULT ReceiveMultiple( + [in, size_is(nSamples)] IMediaSample **pSamples, + [in] long nSamples, + [out] long *nSamplesProcessed); + + HRESULT ReceiveCanBlock(); +} + +typedef IMemInputPin *PMEMINPUTPIN; + +[ +object, +uuid(a3d8cec0-7e5a-11cf-bbc5-00805f6cef20), +pointer_default(unique) +] +interface IAMovieSetup : IUnknown +{ + HRESULT Register( ); + HRESULT Unregister( ); +} + +typedef IAMovieSetup *PAMOVIESETUP; + +typedef enum AM_SEEKING_SeekingFlags +{ + AM_SEEKING_NoPositioning = 0x00, + AM_SEEKING_AbsolutePositioning = 0x01, + AM_SEEKING_RelativePositioning = 0x02, + AM_SEEKING_IncrementalPositioning = 0x03, + AM_SEEKING_PositioningBitsMask = 0x03, + AM_SEEKING_SeekToKeyFrame = 0x04, + AM_SEEKING_ReturnTime = 0x08, + AM_SEEKING_Segment = 0x10, + AM_SEEKING_NoFlush = 0x20 +} AM_SEEKING_SEEKING_FLAGS; + +typedef enum AM_SEEKING_SeekingCapabilities +{ + AM_SEEKING_CanSeekAbsolute = 0x001, + AM_SEEKING_CanSeekForwards = 0x002, + AM_SEEKING_CanSeekBackwards = 0x004, + AM_SEEKING_CanGetCurrentPos = 0x008, + AM_SEEKING_CanGetStopPos = 0x010, + AM_SEEKING_CanGetDuration = 0x020, + AM_SEEKING_CanPlayBackwards = 0x040, + AM_SEEKING_CanDoSegments = 0x080, + AM_SEEKING_Source = 0x100 +} AM_SEEKING_SEEKING_CAPABILITIES; + +[ +object, +uuid(36b73880-c2c8-11cf-8b46-00805f6cef60), +pointer_default(unique) +] +interface IMediaSeeking : IUnknown +{ + HRESULT GetCapabilities( [out] DWORD * pCapabilities ); + + HRESULT CheckCapabilities( [in,out] DWORD * pCapabilities ); + + HRESULT IsFormatSupported([in] const GUID * pFormat); + + HRESULT QueryPreferredFormat([out] GUID * pFormat); + + HRESULT GetTimeFormat([out] GUID *pFormat); + + HRESULT IsUsingTimeFormat([in] const GUID * pFormat); + + HRESULT SetTimeFormat([in] const GUID * pFormat); + + HRESULT GetDuration([out] LONGLONG *pDuration); + + HRESULT GetStopPosition([out] LONGLONG *pStop); + + HRESULT GetCurrentPosition([out] LONGLONG *pCurrent); + + HRESULT ConvertTimeFormat([out] LONGLONG * pTarget, [in] const GUID * pTargetFormat, + [in] LONGLONG Source, [in] const GUID * pSourceFormat ); + + HRESULT SetPositions( + [in,out] LONGLONG * pCurrent, + [in] DWORD dwCurrentFlags, + [in,out] LONGLONG * pStop, + [in] DWORD dwStopFlags); + + HRESULT GetPositions( + [out] LONGLONG * pCurrent, + [out] LONGLONG * pStop); + + HRESULT GetAvailable( + [out] LONGLONG * pEarliest, + [out] LONGLONG * pLatest); + + HRESULT SetRate([in] double dRate); + + HRESULT GetRate([out] double * pdRate); + + HRESULT GetPreroll([out] LONGLONG * pllPreroll); +} + +typedef IMediaSeeking *PMEDIASEEKING; + +enum tagAM_MEDIAEVENT_FLAGS +{ + AM_MEDIAEVENT_NONOTIFY = 0x01 +}; + +enum _AMSTREAMSELECTINFOFLAGS +{ + AMSTREAMSELECTINFO_ENABLED = 0x1, + AMSTREAMSELECTINFO_EXCLUSIVE = 0x2 +}; + +enum _AMSTREAMSELECTENABLEFLAGS +{ + AMSTREAMSELECTENABLE_ENABLE = 0x1, + AMSTREAMSELECTENABLE_ENABLEALL = 0x2 +}; + +[ +object, +uuid(c1960960-17f5-11d1-abe1-00a0c905f375), +pointer_default(unique) +] +interface IAMStreamSelect : IUnknown +{ + HRESULT Count( + [out] DWORD *streams); + + HRESULT Info( + [in] long index, + [out] AM_MEDIA_TYPE **media_type, + [out] DWORD *flags, + [out] LCID *lcid, + [out] DWORD *group, + [out] WCHAR **name, + [out] IUnknown **object, + [out] IUnknown **unknown); + + HRESULT Enable( + [in] long index, + [in] DWORD flags); +} + +typedef IAMStreamSelect *PAMSTREAMSELECT; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/axextend.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/axextend.idl new file mode 100644 index 0000000..63eb542 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/axextend.idl @@ -0,0 +1,1284 @@ +/* + * Copyright (C) 2002 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +interface IAMAnalogVideoDecoder; +interface IAMAnalogVideoEncoder; +interface IAMAudioInputMixer; +interface IAMAudioRendererStats; +interface IAMBufferNegotiation; +interface IAMCameraControl; +interface IAMCertifiedOutputProtection; +interface IAMClockSlave; +interface IAMCopyCaptureFileProgress; +interface IAMCrossbar; +interface IAMDevMemoryAllocator; +interface IAMDevMemoryControl; +interface IAMDroppedFrames; +interface IAMExtDevice; +interface IAMExtTransport; +interface IAMGraphStreams; +interface IAMLatency; +interface IAMOpenProgress; +interface IAMOverlayFX; +interface IAMPhysicalPinInfo; +interface IAMPushSource; +interface IAMStreamConfig; +interface IAMTimecodeDisplay; +interface IAMTimecodeGenerator; +interface IAMTimecodeReader; +interface IAMTVTuner; +interface IAMVfwCaptureDialogs; +interface IAMVfwCompressDialogs; +interface IAMVideoCompression; +interface IAMVideoDecimationProperties; +interface IAMVideoProcAmp; +interface IAMGraphBuilderCallback; +interface ICaptureGraphBuilder; +interface ICaptureGraphBuilder2; +interface IConfigAviMux; +interface IConfigInterleaving; +interface IDecimateVideoImage; +interface IDrawVideoImage; +interface IEnumRegFilters; +interface IEnumStreamIdMap; +interface IFileSourceFilter; +interface IFileSinkFilter; +interface IFileSinkFilter2; +interface IFilterMapper; +interface IFilterMapper2; +interface IGraphBuilder; +interface IKsPropertySet; +interface IMediaEventSink; +interface IMpeg2Demultiplexer; +interface IMPEG2StreamIdMap; +interface IOverlay; +interface IOverlayNotify; +interface IOverlayNotify2; +interface IQualityControl; +interface ISeekingPassThru; + +typedef struct +{ + CLSID Clsid; + LPWSTR Name; +} REGFILTER; + +[ +object, +uuid(56a868a4-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IEnumRegFilters : IUnknown +{ + HRESULT Next + ( [in] ULONG cFilters, + [out] REGFILTER ** apRegFilter, + [out] ULONG * pcFetched + ); + + HRESULT Skip( + [in] ULONG cFilters + ); + + HRESULT Reset(void); + + HRESULT Clone( + [out] IEnumRegFilters **ppEnum + ); +} + + +typedef IEnumRegFilters *PENUMREGFILTERS; + +[ +object, +uuid(56a868a3-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IFilterMapper : IUnknown +{ + enum { MERIT_PREFERRED = 0x800000, + MERIT_NORMAL = 0x600000, + MERIT_UNLIKELY = 0x400000, + MERIT_DO_NOT_USE = 0x200000, + MERIT_SW_COMPRESSOR = 0x100000, + MERIT_HW_COMPRESSOR = 0x100050 + }; + + HRESULT RegisterFilter + ( [in] CLSID clsid, + [in] LPCWSTR Name, + [in] DWORD dwMerit + ); + + HRESULT RegisterFilterInstance + ( [in] CLSID clsid, + [in] LPCWSTR Name, + [out] CLSID *MRId + ); + + + HRESULT RegisterPin + ( [in] CLSID Filter, + [in] LPCWSTR Name, + [in] BOOL bRendered, + [in] BOOL bOutput, + [in] BOOL bZero, + [in] BOOL bMany, + [in] CLSID ConnectsToFilter, + [in] LPCWSTR ConnectsToPin + ); + + HRESULT RegisterPinType + ( [in] CLSID clsFilter, + [in] LPCWSTR strName, + [in] CLSID clsMajorType, + [in] CLSID clsSubType + ); + + + HRESULT UnregisterFilter + ( [in] CLSID Filter + ); + + + HRESULT UnregisterFilterInstance + ( [in] CLSID MRId + ); + + + HRESULT UnregisterPin + ( [in] CLSID Filter, + [in] LPCWSTR Name + ); + + HRESULT EnumMatchingFilters + ( [out] IEnumRegFilters **ppEnum, + [in] DWORD dwMerit, + [in] BOOL bInputNeeded, + [in] CLSID clsInMaj, + [in] CLSID clsInSub, + [in] BOOL bRender, + [in] BOOL bOutputNeeded, + [in] CLSID clsOutMaj, + [in] CLSID clsOutSub + ); + +} + +typedef struct +{ + const CLSID * clsMajorType; + const CLSID * clsMinorType; +} REGPINTYPES; + +typedef struct +{ + LPWSTR strName; + BOOL bRendered; + BOOL bOutput; + BOOL bZero; + BOOL bMany; + const CLSID * clsConnectsToFilter; + const WCHAR * strConnectsToPin; + UINT nMediaTypes; + const REGPINTYPES * lpMediaType; +} REGFILTERPINS; + +typedef struct +{ + CLSID clsMedium; + DWORD dw1; + DWORD dw2; +} REGPINMEDIUM; + +enum +{ + REG_PINFLAG_B_ZERO = 0x1, + REG_PINFLAG_B_RENDERER = 0x2, + REG_PINFLAG_B_MANY = 0x4, + REG_PINFLAG_B_OUTPUT = 0x8 +}; + + +typedef struct +{ + DWORD dwFlags; + UINT cInstances; + UINT nMediaTypes; + [size_is(nMediaTypes)] const REGPINTYPES * lpMediaType; + UINT nMediums; + [size_is(nMediums)] const REGPINMEDIUM *lpMedium; + const CLSID *clsPinCategory; +} REGFILTERPINS2; + +typedef struct +{ + DWORD dwVersion; + DWORD dwMerit; + [switch_is(dwVersion)] [switch_type(DWORD)] union + { + [case(1)] + struct + { + ULONG cPins; + [size_is(cPins)] const REGFILTERPINS *rgPins; + }; + + [case(2)] + struct + { + ULONG cPins2; + [size_is(cPins2)] const REGFILTERPINS2 *rgPins2; + }; + + [default] + ; + }; + +} REGFILTER2; + + +[ +object, +uuid(b79bb0b0-33c1-11d1-abe1-00a0c905f375), +pointer_default(unique) +] +interface IFilterMapper2 : IUnknown +{ + HRESULT CreateCategory + ( [in] REFCLSID clsidCategory, + [in] DWORD dwCategoryMerit, + [in] LPCWSTR Description + ); + + HRESULT UnregisterFilter + ( [in] const CLSID *pclsidCategory, + [in] LPCOLESTR szInstance, + [in] REFCLSID Filter + ); + + HRESULT RegisterFilter + ( [in] REFCLSID clsidFilter, + [in] LPCWSTR Name, + [in, out] IMoniker **ppMoniker, + [in] const CLSID *pclsidCategory, + [in] LPCOLESTR szInstance, + [in] const REGFILTER2 *prf2 + ); + + HRESULT EnumMatchingFilters + ( [out] IEnumMoniker **ppEnum, + [in] DWORD dwFlags, + [in] BOOL bExactMatch, + [in] DWORD dwMerit, + [in] BOOL bInputNeeded, + [in] DWORD cInputTypes, + [size_is(cInputTypes*2)] const GUID *pInputTypes, + [in] const REGPINMEDIUM *pMedIn, + [in] const CLSID *pPinCategoryIn, + [in] BOOL bRender, + [in] BOOL bOutputNeeded, + [in] DWORD cOutputTypes, + [size_is(cOutputTypes*2)] const GUID *pOutputTypes, + [in] const REGPINMEDIUM *pMedOut, + [in] const CLSID *pPinCategoryOut + ); +} + +[ +object, +uuid(b79bb0b1-33c1-11d1-abe1-00a0c905f375), +pointer_default(unique) +] +interface IFilterMapper3 : IFilterMapper2 +{ + HRESULT GetICreateDevEnum( [out] ICreateDevEnum **ppEnum ); +} + +typedef enum tagQualityMessageType +{ + Famine, + Flood +} QualityMessageType; + +typedef struct tagQuality +{ + QualityMessageType Type; + LONG Proportion; + REFERENCE_TIME Late; + REFERENCE_TIME TimeStamp; +} Quality; + +typedef IQualityControl *PQUALITYCONTROL; + +[ +object, +uuid(56a868a5-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IQualityControl : IUnknown +{ + HRESULT Notify + ( [in] IBaseFilter * pSelf, + [in] Quality q + ); + + HRESULT SetSink + ( [in] IQualityControl * piqc + ); +} + +enum +{ + CK_NOCOLORKEY = 0x0, + CK_INDEX = 0x1, + CK_RGB = 0x2 +}; + +typedef struct tagCOLORKEY +{ + DWORD KeyType; + DWORD PaletteIndex; + COLORREF LowColorValue; + COLORREF HighColorValue; +} COLORKEY; + +enum +{ + ADVISE_NONE = 0x0, + ADVISE_CLIPPING = 0x1, + ADVISE_PALETTE = 0x2, + ADVISE_COLORKEY = 0x4, + ADVISE_POSITION = 0x8, + ADVISE_DISPLAY_CHANGE = 0x10 +}; + +const DWORD ADVISE_ALL = ADVISE_CLIPPING | + ADVISE_PALETTE | + ADVISE_COLORKEY | + ADVISE_POSITION; + +const DWORD ADVISE_ALL2 = ADVISE_ALL | + ADVISE_DISPLAY_CHANGE; + +cpp_quote("#ifndef _WINGDI_") + +/* already defined in wingdi.h, but needed for WIDL */ + +typedef struct _RGNDATAHEADER +{ + DWORD dwSize; + DWORD iType; + DWORD nCount; + DWORD nRgnSize; + RECT rcBound; +} RGNDATAHEADER; + +typedef struct _RGNDATA +{ + RGNDATAHEADER rdh; + char Buffer[1]; +} RGNDATA; + +cpp_quote("#endif /* _WINGDI_ */") + +[ +object, +local, +uuid(56a868a0-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IOverlayNotify : IUnknown +{ + HRESULT OnPaletteChange( + [in] DWORD dwColors, + [in] const PALETTEENTRY *pPalette); + + HRESULT OnClipChange( + [in] const RECT *pSourceRect, + [in] const RECT *pDestinationRect, + [in] const RGNDATA *pRgnData); + + HRESULT OnColorKeyChange([in] const COLORKEY *pColorKey); + + HRESULT OnPositionChange([in] const RECT *pSourceRect, + [in] const RECT *pDestinationRect); +} + +typedef IOverlayNotify *POVERLAYNOTIFY; + +cpp_quote("#if 0") +typedef HANDLE HMONITOR; +cpp_quote("#endif /* 0 */") + +[ +object, +local, +uuid(680EFA10-D535-11D1-87C8-00A0C9223196), +pointer_default(unique) +] +interface IOverlayNotify2 : IOverlayNotify +{ + HRESULT OnDisplayChange( + HMONITOR hMonitor); +} + +typedef IOverlayNotify2 *POVERLAYNOTIFY2; + +[ +object, +local, +uuid(56a868a1-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IOverlay : IUnknown +{ + HRESULT GetPalette( + [out] DWORD *pdwColors, + [out] PALETTEENTRY **ppPalette); + + HRESULT SetPalette( + [in] DWORD dwColors, + [in] PALETTEENTRY *pPalette); + + HRESULT GetDefaultColorKey([out] COLORKEY *pColorKey); + + HRESULT GetColorKey([out] COLORKEY *pColorKey); + + HRESULT SetColorKey([in,out] COLORKEY *pColorKey); + + HRESULT GetWindowHandle([out] HWND *pHwnd); + + HRESULT GetClipList([out] RECT *pSourceRect, + [out] RECT *pDestinationRect, + [out] RGNDATA **ppRgnData); + + HRESULT GetVideoPosition([out] RECT *pSourceRect, + [out] RECT *pDestinationRect); + + HRESULT Advise( + [in] IOverlayNotify *pOverlayNotify, + [in] DWORD dwInterests); + + HRESULT Unadvise(); +} + +typedef IOverlay *POVERLAY; + +[ +object, +uuid(56a868a2-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IMediaEventSink : IUnknown +{ + HRESULT Notify( + [in] LONG EventCode, + [in] LONG_PTR EventParam1, + [in] LONG_PTR EventParam2 + ); +} + +typedef IMediaEventSink *PMEDIAEVENTSINK; + +[ +object, +uuid(56a868a6-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IFileSourceFilter : IUnknown +{ + HRESULT Load( + [in] LPCOLESTR pszFileName, + [in, unique] const AM_MEDIA_TYPE *pmt + ); + + HRESULT GetCurFile( + [out] LPOLESTR *ppszFileName, + [out] AM_MEDIA_TYPE *pmt + ); +} + +typedef IFileSourceFilter *PFILTERFILESOURCE; + +[ +object, +uuid(a2104830-7c70-11cf-8bce-00aa00a3f1a6), +pointer_default(unique) +] +interface IFileSinkFilter : IUnknown +{ + HRESULT SetFileName( + [in] LPCOLESTR pszFileName, + [in, unique] const AM_MEDIA_TYPE *pmt + ); + + HRESULT GetCurFile( + [out] LPOLESTR *ppszFileName, + [out] AM_MEDIA_TYPE *pmt + ); +} + +typedef IFileSinkFilter *PFILTERFILESINK; + +[ + object, + uuid(00855B90-CE1B-11d0-BD4F-00A0C911CE86), + pointer_default(unique) +] +interface IFileSinkFilter2 : IFileSinkFilter +{ + HRESULT SetMode( + [in] DWORD dwFlags + ); + + HRESULT GetMode( + [out] DWORD *pdwFlags + ); +} + +typedef IFileSinkFilter2 *PFILESINKFILTER2; + +typedef enum +{ + AM_FILE_OVERWRITE = 0x00000001, +} AM_FILESINK_FLAGS; + +[ +object, +uuid(56a868a9-0ad4-11ce-b03a-0020af0ba770), +pointer_default(unique) +] +interface IGraphBuilder : IFilterGraph +{ + HRESULT Connect + ( [in] IPin * ppinOut, + [in] IPin * ppinIn + ); + + HRESULT Render + ( [in] IPin * ppinOut + ); + + HRESULT RenderFile + ( [in] LPCWSTR lpcwstrFile, + [in, unique] LPCWSTR lpcwstrPlayList + ); + + HRESULT AddSourceFilter + ( [in] LPCWSTR lpcwstrFileName, + [in, unique] LPCWSTR lpcwstrFilterName, + [out] IBaseFilter* *ppFilter + ); + + HRESULT SetLogFile + ( [in] DWORD_PTR hFile + ); + + HRESULT Abort(); + + HRESULT ShouldOperationContinue(); +} + + +[ + object, + uuid(bf87b6e0-8c27-11d0-b3f0-00aa003761c5), + pointer_default(unique) +] +interface ICaptureGraphBuilder : IUnknown { + + HRESULT SetFiltergraph( + [in] IGraphBuilder *pfg); + + HRESULT GetFiltergraph( + [out] IGraphBuilder **ppfg); + + HRESULT SetOutputFileName( + [in] const GUID *pType, + [in] LPCOLESTR lpstrFile, + [out] IBaseFilter **ppf, + [out] IFileSinkFilter **ppSink); + + [local] HRESULT FindInterface( + [in, unique] const GUID *pCategory, + [in] IBaseFilter *pf, + [in] REFIID riid, + [out] void **ppint); + + [call_as(FindInterface)] HRESULT RemoteFindInterface( + [in, unique] const GUID *pCategory, + [in] IBaseFilter *pf, + [in] REFIID riid, + [out] IUnknown **ppint); + + HRESULT RenderStream( + [in] const GUID *pCategory, + [in] IUnknown *pSource, + [in] IBaseFilter *pfCompressor, + [in] IBaseFilter *pfRenderer); + + HRESULT ControlStream( + [in] const GUID *pCategory, + [in] IBaseFilter *pFilter, + [in] REFERENCE_TIME *pstart, + [in] REFERENCE_TIME *pstop, + [in] WORD wStartCookie, + [in] WORD wStopCookie); + + HRESULT AllocCapFile( + [in] LPCOLESTR lpstr, + [in] DWORDLONG dwlSize); + + HRESULT CopyCaptureFile( + [in] LPOLESTR lpwstrOld, + [in] LPOLESTR lpwstrNew, + [in] int fAllowEscAbort, + [in] IAMCopyCaptureFileProgress *pCallback); +} + +[ +object, +uuid(670d1d20-a068-11d0-b3f0-00aa003761c5), +pointer_default(unique) +] +interface IAMCopyCaptureFileProgress : IUnknown +{ + HRESULT Progress( + [in] int iProgress); +} + +[ + object, + uuid(93E5A4E0-2D50-11d2-ABFA-00A0C9C6E38D), + pointer_default(unique) +] +interface ICaptureGraphBuilder2 : IUnknown +{ + HRESULT SetFiltergraph( + [in] IGraphBuilder *pfg); + + HRESULT GetFiltergraph( + [out] IGraphBuilder **ppfg); + + HRESULT SetOutputFileName( + [in] const GUID *pType, + [in] LPCOLESTR lpstrFile, + [out] IBaseFilter **ppf, + [out] IFileSinkFilter **ppSink); + + [local] HRESULT FindInterface( + [in] const GUID *pCategory, + [in] const GUID *pType, + [in] IBaseFilter *pf, + [in] REFIID riid, + [out] void **ppint); + + [call_as(FindInterface)] HRESULT RemoteFindInterface( + [in] const GUID *pCategory, + [in] const GUID *pType, + [in] IBaseFilter *pf, + [in] REFIID riid, + [out] IUnknown **ppint); + + HRESULT RenderStream( + [in] const GUID *pCategory, + [in] const GUID *pType, + [in] IUnknown *pSource, + [in] IBaseFilter *pfCompressor, + [in] IBaseFilter *pfRenderer); + + HRESULT ControlStream( + [in] const GUID *pCategory, + [in] const GUID *pType, + [in] IBaseFilter *pFilter, + [in] REFERENCE_TIME *pstart, + [in] REFERENCE_TIME *pstop, + [in] WORD wStartCookie, + [in] WORD wStopCookie); + + HRESULT AllocCapFile( + [in] LPCOLESTR lpstr, + [in] DWORDLONG dwlSize); + + HRESULT CopyCaptureFile( + [in] LPOLESTR lpwstrOld, + [in] LPOLESTR lpwstrNew, + [in] int fAllowEscAbort, + [in] IAMCopyCaptureFileProgress *pCallback); + + HRESULT FindPin( + [in] IUnknown *pSource, + [in] PIN_DIRECTION pindir, + [in] const GUID *pCategory, + [in] const GUID *pType, + [in] BOOL fUnconnected, + [in] int num, + [out] IPin **ppPin); +} + +[ + local, + object, + uuid(5acd6aa0-f482-11ce-8b67-00aa00a3f1a6), + pointer_default(unique) +] +interface IConfigAviMux : IUnknown +{ + HRESULT SetMasterStream( + [in] LONG iStream); + + HRESULT GetMasterStream( + [out] LONG *pStream); + + HRESULT SetOutputCompatibilityIndex( + [in] BOOL fOldIndex); + + HRESULT GetOutputCompatibilityIndex( + [out] BOOL *pfOldIndex); +} + +[ + local, + object, + uuid(bee3d220-157b-11d0-bd23-00a0c911ce86), + pointer_default(unique) +] +interface IConfigInterleaving : IUnknown +{ + typedef enum InterleavingMode { + INTERLEAVE_NONE, + INTERLEAVE_CAPTURE, + INTERLEAVE_FULL, + INTERLEAVE_NONE_BUFFERED + } InterleavingMode; + + HRESULT put_Mode( + [in] InterleavingMode mode); + + HRESULT get_Mode( + [out] InterleavingMode *pMode); + + HRESULT put_Interleaving( + [in] const REFERENCE_TIME *prtInterleave, + [in] const REFERENCE_TIME *prtPreroll); + + HRESULT get_Interleaving( + [out] REFERENCE_TIME *prtInterleave, + [out] REFERENCE_TIME *prtPreroll); +} + +[ + local, + object, + uuid(9fd52741-176d-4b36-8f51-ca8f933223be), + pointer_default(unique) +] +interface IAMClockSlave : IUnknown +{ + HRESULT SetErrorTolerance( + [in] DWORD dwTolerance); + + HRESULT GetErrorTolerance( + [out] DWORD *pdwTolerance); +} + +typedef struct _AMCOPPSignature { + BYTE Signature[256]; +} AMCOPPSignature; + +typedef struct _AMCOPPCommand { + GUID macKDI; + GUID guidCommandID; + DWORD dwSequence; + DWORD bSizeData; + BYTE CommandData[4056]; +} AMCOPPCommand, *LPAMCOPPCommand; + +typedef struct _AMCOPPStatusInput { + GUID rApp; + GUID guidStatusRequestID; + DWORD dwSequence; + DWORD cbSizeData; + BYTE StatusData[4056]; +} AMCOPPStatusInput, *LPAMCOPPStatusInput; + +typedef struct _AMCOPPStatusOutput { + GUID macKDI; + DWORD cbSizeData; + BYTE COPPStatus[4076]; +} AMCOPPStatusOutput, *LPAMCOPPStatusOutput; + +[ + local, + object, + uuid(6feded3e-0ff1-4901-a2f1-43f7012c8515), + pointer_default(unique) +] +interface IAMCertifiedOutputProtection : IUnknown +{ + HRESULT KeyExchange ( + [out] GUID* pRandom, + [out] BYTE** VarLenCertGH, + [out] DWORD* pdwLengthCertGH); + + HRESULT SessionSequenceStart( + [in] AMCOPPSignature* pSig); + + HRESULT ProtectionCommand( + [in] const AMCOPPCommand* cmd); + + HRESULT ProtectionStatus( + [in] const AMCOPPStatusInput* pStatusInput, + [out] AMCOPPStatusOutput* pStatusOutput); +}; + +enum _AM_RENSDEREXFLAGS +{ + AM_RENDEREX_RENDERTOEXISTINGRENDERERS = 0x01 +}; + +[ + object, + uuid(36b73882-c2c8-11cf-8b46-00805f6cef60), + pointer_default(unique) +] +interface IFilterGraph2: IGraphBuilder +{ + HRESULT AddSourceFilterForMoniker( + [in] IMoniker *pMoniker, + [in] IBindCtx *pCtx, + [in, unique] LPCWSTR lpcwstrFilterName, + [out] IBaseFilter **ppFilter + ); + + HRESULT ReconnectEx + ( [in] IPin * ppin, + [in, unique] const AM_MEDIA_TYPE *pmt + ); + + HRESULT RenderEx( [in] IPin *pPinOut, + [in] DWORD dwFlags, + [in, out] DWORD *pvContext + ); +} + +[ + object, + local, + uuid(56a868bf-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) +] +interface IStreamBuilder : IUnknown +{ + HRESULT Render + ( [in] IPin * ppinOut, + [in] IGraphBuilder * pGraph + ); + + HRESULT Backout + ( [in] IPin * ppinOut, + [in] IGraphBuilder * pGraph + ); +} + + +/***************************************************************************** + * IAMStreamConfig interface + */ +[ + object, + uuid(c6e13340-30ac-11d0-a18c-00a0c9118956), + pointer_default(unique) +] +interface IAMStreamConfig : IUnknown +{ + typedef struct _VIDEO_STREAM_CONFIG_CAPS { + GUID guid; + ULONG VideoStandard; + SIZE InputSize; + SIZE MinCroppingSize; + SIZE MaxCroppingSize; + int CropGranularityX; + int CropGranularityY; + int CropAlignX; + int CropAlignY; + SIZE MinOutputSize; + SIZE MaxOutputSize; + int OutputGranularityX; + int OutputGranularityY; + int StretchTapsX; + int StretchTapsY; + int ShrinkTapsX; + int ShrinkTapsY; + LONGLONG MinFrameInterval; + LONGLONG MaxFrameInterval; + LONG MinBitsPerSecond; + LONG MaxBitsPerSecond; + } VIDEO_STREAM_CONFIG_CAPS; + + typedef struct _AUDIO_STREAM_CONFIG_CAPS { + GUID guid; + ULONG MinimumChannels; + ULONG MaximumChannels; + ULONG ChannelsGranularity; + ULONG MinimumBitsPerSample; + ULONG MaximumBitsPerSample; + ULONG BitsPerSampleGranularity; + ULONG MinimumSampleFrequency; + ULONG MaximumSampleFrequency; + ULONG SampleFrequencyGranularity; + } AUDIO_STREAM_CONFIG_CAPS; + + HRESULT SetFormat( [in] AM_MEDIA_TYPE *pmt); + HRESULT GetFormat( [in] AM_MEDIA_TYPE **pmt); + HRESULT GetNumberOfCapabilities( [out] int *piCount, [out] int *piSize); + HRESULT GetStreamCaps( [in] int iIndex, [out] AM_MEDIA_TYPE **pmt, + [out] BYTE *pSCC); +} + + +typedef enum tagVideoProcAmpProperty +{ + VideoProcAmp_Brightness, + VideoProcAmp_Contrast, + VideoProcAmp_Hue, + VideoProcAmp_Saturation, + VideoProcAmp_Sharpness, + VideoProcAmp_Gamma, + VideoProcAmp_ColorEnable, + VideoProcAmp_WhiteBalance, + VideoProcAmp_BacklightCompensation, + VideoProcAmp_Gain +} VideoProcAmpProperty; + +typedef enum tagVideoProcAmpFlags +{ + VideoProcAmp_Flags_Auto = 0x0001, + VideoProcAmp_Flags_Manual = 0x0002, +} VideoProcAmpFlags; + +/***************************************************************************** + * IAMVideoProcAmp interface + */ +[ + object, + uuid(c6e13360-30ac-11d0-a18c-00a0c9118956), + pointer_default(unique) +] +interface IAMVideoProcAmp : IUnknown +{ + HRESULT GetRange( [in] LONG Property, [out] LONG *pMin, [out] LONG *pMax, + [out] LONG *pSteppingDelta, [out] LONG *pDefault, + [out] LONG *pCapsFlags); + HRESULT Set( [in] LONG Property, [in] LONG lValue, [in] LONG Flags); + HRESULT Get( [in] LONG Property, [out] LONG *lValue, [out] LONG *Flags); +} + + +[ + object, + uuid(56a868aa-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) +] +interface IAsyncReader : IUnknown +{ + HRESULT RequestAllocator( + [in] IMemAllocator* pPreferred, + [in] ALLOCATOR_PROPERTIES* pProps, + [out] IMemAllocator ** ppActual); + + HRESULT Request( + [in] IMediaSample* pSample, + [in] DWORD_PTR dwUser); + + HRESULT WaitForNext( + [in] DWORD dwTimeout, + [out] IMediaSample** ppSample, + [out] DWORD_PTR * pdwUser); + + HRESULT SyncReadAligned( + [in] IMediaSample* pSample); + + HRESULT SyncRead( + [in] LONGLONG llPosition, + [in] LONG lLength, + [out, size_is(lLength)] + BYTE* pBuffer); + + HRESULT Length( + [out] LONGLONG* pTotal, + [out] LONGLONG* pAvailable); + + HRESULT BeginFlush(void); + + HRESULT EndFlush(void); +} + + +[ + object, + uuid(56a868ab-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) +] +interface IGraphVersion : IUnknown +{ + HRESULT QueryVersion(LONG* pVersion); +} + +[ + object, + uuid(56a868ad-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) +] +interface IResourceConsumer : IUnknown +{ + HRESULT AcquireResource( + [in] LONG idResource); + + HRESULT ReleaseResource( + [in] LONG idResource); +} + + +[ + object, + uuid(56a868ac-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) +] +interface IResourceManager : IUnknown +{ + HRESULT Register( + [in] LPCWSTR pName, + [in] LONG cResource, + [out] LONG* plToken + ); + + HRESULT RegisterGroup( + [in] LPCWSTR pName, + [in] LONG cResource, + [in, size_is(cResource)] + LONG* palTokens, + [out] LONG* plToken + ); + + HRESULT RequestResource( + [in] LONG idResource, + [in] IUnknown* pFocusObject, + [in] IResourceConsumer* pConsumer + ); + + HRESULT NotifyAcquire( + [in] LONG idResource, + [in] IResourceConsumer* pConsumer, + [in] HRESULT hr); + + HRESULT NotifyRelease( + [in] LONG idResource, + [in] IResourceConsumer* pConsumer, + [in] BOOL bStillWant); + + HRESULT CancelRequest( + [in] LONG idResource, + [in] IResourceConsumer* pConsumer); + + HRESULT SetFocus( + [in] IUnknown* pFocusObject); + + HRESULT ReleaseFocus( + [in] IUnknown* pFocusObject); + +} + +typedef enum AM_STREAM_INFO_FLAGS +{ + AM_STREAM_INFO_START_DEFINED = 0x01, + AM_STREAM_INFO_STOP_DEFINED = 0x02, + AM_STREAM_INFO_DISCARDING = 0x04, + AM_STREAM_INFO_STOP_SEND_EXTRA = 0x10 +} AM_STREAM_INFO_FLAGS; + +typedef struct AM_STREAM_INFO +{ + REFERENCE_TIME tStart; + REFERENCE_TIME tStop; + DWORD dwStartCookie; + DWORD dwStopCookie; + DWORD dwFlags; +} AM_STREAM_INFO; + +[ + local, + object, + uuid(36b73881-c2c8-11cf-8b46-00805f6cef60), + pointer_default(unique) +] +interface IAMStreamControl : IUnknown +{ + HRESULT StartAt( + [in] const REFERENCE_TIME *ptStart, + [in] DWORD dwCookie); + + HRESULT StopAt( + [in] const REFERENCE_TIME *ptStop, + [in] BOOL bSendExtra, + [in] DWORD dwCookie); + + HRESULT GetInfo( + [out] AM_STREAM_INFO *pInfo); +} + +cpp_quote("#ifndef _IKsPropertySet_") +cpp_quote("#define _IKsPropertySet_") +cpp_quote("#define KSPROPERTY_SUPPORT_GET 1") +cpp_quote("#define KSPROPERTY_SUPPORT_SET 2") + +[ + object, + uuid(31efac30-515c-11d0-a9aa-00aa0061be93), + pointer_default(unique), + local +] +interface IKsPropertySet : IUnknown +{ + HRESULT Set( [in] REFGUID guidPropSet, + [in] DWORD dwPropID, + [in, size_is(cbInstanceData)] LPVOID pInstanceData, + [in] DWORD cbInstanceData, + [in, size_is(cbPropData)] LPVOID pPropData, + [in] DWORD cbPropData ); + + HRESULT Get( [in] REFGUID guidPropSet, + [in] DWORD dwPropID, + [in, size_is(cbInstanceData)] LPVOID pInstanceData, + [in] DWORD cbInstanceData, + [out, size_is(cbPropData)] LPVOID pPropData, + [in] DWORD cbPropData, + [out] DWORD *pcbReturned ); + + HRESULT QuerySupported( [in] REFGUID guidPropSet, + [in] DWORD dwPropID, + [out] DWORD *pTypeSupport); +} +cpp_quote("#endif /* _IKsPropertySet_ */") + +[ + local, + object, + uuid(6025a880-c0d5-11d0-bd4e-00a0c911ce86), + pointer_default(unique) +] +interface IMediaPropertyBag : IPropertyBag +{ + typedef IMediaPropertyBag *LPMEDIAPROPERTYBAG; + + HRESULT EnumProperty( + [in] ULONG iProperty, + [in, out] VARIANT *pvarPropertyName, + [in, out] VARIANT *pvarPropertyValue); +} + + +[ + local, + object, + uuid(5738e040-b67f-11d0-bd4d-00a0c911ce86), + pointer_default(unique) +] +interface IPersistMediaPropertyBag : IPersist +{ + HRESULT InitNew(void); + + HRESULT Load( + [in] IMediaPropertyBag *pPropBag, + [in] IErrorLog *pErrorLog); + + HRESULT Save( + [in] IMediaPropertyBag *pPropBag, + [in] BOOL fClearDirty, + [in] BOOL fSaveAllProperties); + + typedef IPersistMediaPropertyBag *LPPERSISTMEDIAPROPERTYBAG; +} + +[ + object, + uuid(36b73883-c2c8-11cf-8b46-00805f6cef60), + pointer_default(unique) +] +interface ISeekingPassThru : IUnknown +{ + HRESULT Init( [in] BOOL bSupportRendering, [in] IPin *pPin); +} + +enum _AM_FILTER_MISC_FLAGS +{ + AM_FILTER_MISC_FLAGS_IS_RENDERER = 0x1, + AM_FILTER_MISC_FLAGS_IS_SOURCE = 0x2 +}; + +[ + local, + object, + uuid(2dd74950-a890-11d1-abe8-00a0c905f375), + pointer_default(unique) +] +interface IAMFilterMiscFlags : IUnknown +{ + ULONG GetMiscFlags(); +}; + +[ + local, + object, + uuid(4995f511-9ddb-4f12-bd3b-f04611807b79), + pointer_default(unique) +] +interface IAMGraphBuilderCallback : IUnknown +{ + HRESULT SelectedFilter( + [in] IMoniker *pMon); + + HRESULT CreatedFilter( + [in] IBaseFilter *pFil); +}; + +[ + local, + object, + uuid(d8d715a0-6e5e-11d0-b3f0-00aa003761c5), + pointer_default(unique) +] +interface IAMVfwCaptureDialogs : IUnknown +{ + HRESULT HasDialog( + [in] int dialog); + HRESULT ShowDialog( + [in] int dialog, + [in] HWND hwnd); + HRESULT SendDriverMessage( + [in] int dialog, + [in] int msg, + [in] long data1, + [in] long data2); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/basetsd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/basetsd.h new file mode 100644 index 0000000..96ea3f0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/basetsd.h @@ -0,0 +1,320 @@ +/* + * Compilers that uses ILP32, LP64 or P64 type models + * for both Win32 and Win64 are supported by this file. + * + * Copyright (C) 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_BASETSD_H +#define __WINE_BASETSD_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/* + * Win32 was easy to implement under Unix since most 32-bit Unices use the same + * type model (ILP32) as Win32, where int, long and pointer are 32-bit. + * + * Win64, however, can cause some problems. Most 64-bit Unices use the LP64 type + * model where int is 32-bit and long and pointer are 64-bit. Win64 on the other + * hand uses the LLP64 type model where int and long are 32 bit and pointer is + * 64-bit. + */ + +#if (defined(__x86_64__) || defined(__powerpc64__) || defined(__aarch64__)) && !defined(_WIN64) +#define _WIN64 +#endif + +/* Type model independent typedefs */ +/* The __intXX types are native types defined by the MS C compiler. + * Apps that make use of them before they get defined here, can + * simply add to the command line: + * -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" + */ +#if !defined(_MSC_VER) && !defined(__WIDL__) +# ifndef __int8 +# define __int8 char +# endif +# ifndef __int16 +# define __int16 short +# endif +# ifndef __int32 +# define __int32 int +# endif +# ifndef __int64 +# if defined(_WIN64) && !defined(__MINGW64__) +# define __int64 long +# else +# define __int64 long long +# endif +# endif +#endif /* !defined(_MSC_VER) */ + +/* FIXME: DECLSPEC_ALIGN should be declared only in winnt.h, but we need it here too */ +#ifndef DECLSPEC_ALIGN +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) +# define DECLSPEC_ALIGN(x) __declspec(align(x)) +# elif defined(__GNUC__) +# define DECLSPEC_ALIGN(x) __attribute__((aligned(x))) +# else +# define DECLSPEC_ALIGN(x) +# endif +#endif + +typedef signed char INT8, *PINT8; +typedef signed short INT16, *PINT16; +typedef signed int INT32, *PINT32; +typedef unsigned char UINT8, *PUINT8; +typedef unsigned short UINT16, *PUINT16; +typedef unsigned int UINT32, *PUINT32; +typedef signed int LONG32, *PLONG32; +typedef unsigned int ULONG32, *PULONG32; +typedef unsigned int DWORD32, *PDWORD32; + +#ifdef _MSC_VER +typedef signed __int64 INT64, *PINT64; +typedef unsigned __int64 UINT64, *PUINT64; +typedef signed __int64 LONG64, *PLONG64; +typedef unsigned __int64 ULONG64, *PULONG64; +typedef unsigned __int64 DWORD64, *PDWORD64; +#else +typedef signed __int64 DECLSPEC_ALIGN(8) INT64, *PINT64; +typedef unsigned __int64 DECLSPEC_ALIGN(8) UINT64, *PUINT64; +typedef signed __int64 DECLSPEC_ALIGN(8) LONG64, *PLONG64; +typedef unsigned __int64 DECLSPEC_ALIGN(8) ULONG64, *PULONG64; +typedef unsigned __int64 DECLSPEC_ALIGN(8) DWORD64, *PDWORD64; +#endif + +/* Basic pointer-sized integer types */ + +#if defined(__midl) || defined(__WIDL__) + +typedef /* [public] */ signed __int3264 INT_PTR, *PINT_PTR; +typedef /* [public] */ signed __int3264 LONG_PTR, *PLONG_PTR; +typedef /* [public] */ unsigned __int3264 UINT_PTR, *PUINT_PTR; +typedef /* [public] */ unsigned __int3264 ULONG_PTR, *PULONG_PTR; +typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; + +#elif defined(_WIN64) + +#define __int3264 __int64 + +typedef signed __int64 INT_PTR, *PINT_PTR; +typedef signed __int64 LONG_PTR, *PLONG_PTR; +typedef unsigned __int64 UINT_PTR, *PUINT_PTR; +typedef unsigned __int64 ULONG_PTR, *PULONG_PTR; +typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; + +#else + +#define __int3264 __int32 + +typedef long INT_PTR, *PINT_PTR; +typedef unsigned long UINT_PTR, *PUINT_PTR; +typedef long LONG_PTR, *PLONG_PTR; +typedef unsigned long ULONG_PTR, *PULONG_PTR; +typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; + +#endif + +/* Win32 or Win64 dependent typedef/defines. */ + +#ifdef _WIN64 + +#define MAXINT_PTR 0x7fffffffffffffff +#define MININT_PTR 0x8000000000000000 +#define MAXUINT_PTR 0xffffffffffffffff + +typedef __int64 SHANDLE_PTR; +typedef unsigned __int64 HANDLE_PTR; +typedef int HALF_PTR, *PHALF_PTR; +typedef unsigned int UHALF_PTR, *PUHALF_PTR; + +#define MAXHALF_PTR 0x7fffffff +#define MINHALF_PTR 0x80000000 +#define MAXUHALF_PTR 0xffffffff + +#if !defined(__midl) && !defined(__WIDL__) + +static inline ULONG32 HandleToULong(const void *h) +{ + return (ULONG32)(ULONG_PTR)h; +} + +static inline LONG32 HandleToLong(const void *h) +{ + return (LONG32)(LONG_PTR)h; +} + +static inline void *ULongToHandle(ULONG32 ul) +{ + return (void *)(ULONG_PTR)ul; +} + +static inline void *LongToHandle(LONG32 l) +{ + return (void *)(LONG_PTR)l; +} + +static inline ULONG32 PtrToUlong(const void *p) +{ + return (ULONG32)(ULONG_PTR)p; +} + +static inline LONG32 PtrToLong(const void *p) +{ + return (LONG32)(LONG_PTR)p; +} + +static inline UINT32 PtrToUint(const void *p) +{ + return (UINT32)(UINT_PTR)p; +} + +static inline INT32 PtrToInt(const void *p) +{ + return (INT32)(INT_PTR)p; +} + +static inline UINT16 PtrToUshort(const void *p) +{ + return (UINT16)(ULONG_PTR)p; +} + +static inline INT16 PtrToShort(const void *p) +{ + return (INT16)(LONG_PTR)p; +} + +static inline void *IntToPtr(INT32 i) +{ + return (void *)(INT_PTR)i; +} + +static inline void *UIntToPtr(UINT32 ui) +{ + return (void *)(UINT_PTR)ui; +} + +static inline void *LongToPtr(LONG32 l) +{ + return (void *)(LONG_PTR)l; +} + +static inline void *ULongToPtr(ULONG32 ul) +{ + return (void *)(ULONG_PTR)ul; +} + +#endif /* !__midl && !__WIDL__ */ + +#else /* FIXME: defined(_WIN32) */ + +#define MAXINT_PTR 0x7fffffff +#define MININT_PTR 0x80000000 +#define MAXUINT_PTR 0xffffffff + +typedef long SHANDLE_PTR; +typedef unsigned long HANDLE_PTR; +typedef signed short HALF_PTR, *PHALF_PTR; +typedef unsigned short UHALF_PTR, *PUHALF_PTR; + +#define MAXUHALF_PTR 0xffff +#define MAXHALF_PTR 0x7fff +#define MINHALF_PTR 0x8000 + +#define HandleToULong(h) ((ULONG)(ULONG_PTR)(h)) +#define HandleToLong(h) ((LONG)(LONG_PTR)(h)) +#define ULongToHandle(ul) ((HANDLE)(ULONG_PTR)(ul)) +#define LongToHandle(l) ((HANDLE)(LONG_PTR)(l)) +#define PtrToUlong(p) ((ULONG)(ULONG_PTR)(p)) +#define PtrToLong(p) ((LONG)(LONG_PTR)(p)) +#define PtrToUint(p) ((UINT)(UINT_PTR)(p)) +#define PtrToInt(p) ((INT)(INT_PTR)(p)) +#define PtrToUshort(p) ((USHORT)(ULONG_PTR)(p)) +#define PtrToShort(p) ((SHORT)(LONG_PTR)(p)) +#define IntToPtr(i) ((void *)(INT_PTR)((INT)i)) +#define UIntToPtr(ui) ((void *)(UINT_PTR)((UINT)ui)) +#define LongToPtr(l) ((void *)(LONG_PTR)((LONG)l)) +#define ULongToPtr(ul) ((void *)(ULONG_PTR)((ULONG)ul)) + +#endif /* defined(_WIN64) || defined(_WIN32) */ + +#define HandleToUlong(h) HandleToULong(h) +#define UlongToHandle(ul) ULongToHandle(ul) +#define UintToPtr(ui) UIntToPtr(ui) +#define UlongToPtr(ul) ULongToPtr(ul) + +typedef LONG_PTR SSIZE_T, *PSSIZE_T; +typedef ULONG_PTR SIZE_T, *PSIZE_T; + +typedef ULONG_PTR KAFFINITY, *PKAFFINITY; + +/* Some Wine-specific definitions */ + +/* Architecture dependent settings. */ +/* These are hardcoded to avoid dependencies on config.h in Winelib apps. */ +#if defined(__i386__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# define ALLOW_UNALIGNED_ACCESS +#elif defined(__x86_64__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# define ALLOW_UNALIGNED_ACCESS +#elif defined(__powerpc__) +# define WORDS_BIGENDIAN +# define BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__ALPHA__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__ARMEB__) +# define WORDS_BIGENDIAN +# define BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__ARMEL__) || defined(__arm__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__AARCH64EB__) +# define WORDS_BIGENDIAN +# define BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__AARCH64EL__) || defined(__aarch64__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__MIPSEB__) +# define WORDS_BIGENDIAN +# define BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__MIPSEL__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif !defined(RC_INVOKED) && !defined(__WIDL__) && !defined(__midl) +# error Unknown CPU architecture! +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* !defined(__WINE_BASETSD_H) */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/basetyps.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/basetyps.h new file mode 100644 index 0000000..d55005f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/basetyps.h @@ -0,0 +1,83 @@ +/* + * Copyright (C) 1998 Anders Norlander + * Copyright (C) 2005 Steven Edwards + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _BASETYPS_H_ +#define _BASETYPS_H_ + +#ifdef __cplusplus +# define EXTERN_C extern "C" +#else +# define EXTERN_C extern +#endif + +#define STDMETHODCALLTYPE __stdcall +#define STDMETHODVCALLTYPE __cdecl +#define STDAPICALLTYPE __stdcall +#define STDAPIVCALLTYPE __cdecl +#define STDAPI EXTERN_C HRESULT STDAPICALLTYPE +#define STDAPI_(t) EXTERN_C t STDAPICALLTYPE +#define STDMETHODIMP HRESULT STDMETHODCALLTYPE +#define STDMETHODIMP_(t) t STDMETHODCALLTYPE +#define STDAPIV EXTERN_C HRESULT STDAPIVCALLTYPE +#define STDAPIV_(t) EXTERN_C t STDAPIVCALLTYPE +#define STDMETHODIMPV HRESULT STDMETHODVCALLTYPE +#define STDMETHODIMPV_(t) t STDMETHODVCALLTYPE + +#if defined(__cplusplus) && !defined(CINTERFACE) +# define interface struct +# define STDMETHOD(m) virtual HRESULT STDMETHODCALLTYPE m +# define STDMETHOD_(t,m) virtual t STDMETHODCALLTYPE m +# define PURE =0 +# define THIS_ +# define THIS void +# define DECLARE_INTERFACE(i) interface i +# define DECLARE_INTERFACE_(i,b) interface i : public b +#else +# define STDMETHOD(m) HRESULT (STDMETHODCALLTYPE *m) +# define STDMETHOD_(t,m) t (STDMETHODCALLTYPE *m) +# define PURE +# define THIS_ INTERFACE *, +# define THIS INTERFACE * +# ifdef CONST_VTABLE +# define DECLARE_INTERFACE(i) \ + typedef interface i { const struct i##Vtbl *lpVtbl; } i; \ + typedef struct i##Vtbl i##Vtbl; \ + struct i##Vtbl +# else +# define DECLARE_INTERFACE(i) \ + typedef interface i { struct i##Vtbl *lpVtbl; } i; \ + typedef struct i##Vtbl i##Vtbl; \ + struct i##Vtbl +# endif +# define DECLARE_INTERFACE_(i,b) DECLARE_INTERFACE(i) +#endif + +#include + +#ifndef _ERROR_STATUS_T_DEFINED +typedef unsigned long error_status_t; +#define _ERROR_STATUS_T_DEFINED +#endif + +#ifndef _WCHAR_T_DEFINED +typedef unsigned short wchar_t; +#define _WCHAR_T_DEFINED +#endif + +#endif /* _BASETYPS_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bcrypt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bcrypt.h new file mode 100644 index 0000000..c71b1e8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bcrypt.h @@ -0,0 +1,125 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_BCRYPT_H +#define __WINE_BCRYPT_H + +#ifndef WINAPI +#define WINAPI __stdcall +#endif + +#ifndef IN +#define IN +#endif + +#ifndef OUT +#define OUT +#endif + +#ifndef OPTIONAL +#define OPTIONAL +#endif + +#ifndef WINE_NTSTATUS_DECLARED +#define WINE_NTSTATUS_DECLARED +typedef LONG NTSTATUS; +#endif + +#define BCRYPT_ALGORITHM_NAME (const WCHAR []){'A','l','g','o','r','i','t','h','m','N','a','m','e',0} +#define BCRYPT_AUTH_TAG_LENGTH (const WCHAR []){'A','u','t','h','T','a','g','L','e','n','g','t','h',0} +#define BCRYPT_BLOCK_LENGTH (const WCHAR []){'B','l','o','c','k','L','e','n','g','t','h',0} +#define BCRYPT_BLOCK_SIZE_LIST (const WCHAR []){'B','l','o','c','k','S','i','z','e','L','i','s','t',0} +#define BCRYPT_CHAINING_MODE (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e',0} +#define BCRYPT_EFFECTIVE_KEY_LENGTH (const WCHAR []){'E','f','f','e','c','t','i','v','e','K','e','y','L','e','n','g','t','h',0} +#define BCRYPT_HASH_BLOCK_LENGTH (const WCHAR []){'H','a','s','h','B','l','o','c','k','L','e','n','g','t','h',0} +#define BCRYPT_HASH_LENGTH (const WCHAR []){'H','a','s','h','D','i','g','e','s','t','L','e','n','g','t','h',0} +#define BCRYPT_HASH_OID_LIST (const WCHAR []){'H','a','s','h','O','I','D','L','i','s','t',0} +#define BCRYPT_KEY_LENGTH (const WCHAR []){'K','e','y','L','e','n','g','t','h',0} +#define BCRYPT_KEY_LENGTHS (const WCHAR []){'K','e','y','L','e','n','g','t','h','s',0} +#define BCRYPT_KEY_OBJECT_LENGTH (const WCHAR []){'K','e','y','O','b','j','e','c','t','L','e','n','g','t','h',0} +#define BCRYPT_KEY_STRENGTH (const WCHAR []){'K','e','y','S','t','r','e','n','g','t','h',0} +#define BCRYPT_OBJECT_LENGTH (const WCHAR []){'O','b','j','e','c','t','L','e','n','g','t','h',0} +#define BCRYPT_PADDING_SCHEMES (const WCHAR []){'P','a','d','d','i','n','g','S','c','h','e','m','e','s',0} +#define BCRYPT_PROVIDER_HANDLE (const WCHAR []){'P','r','o','v','i','d','e','r','H','a','n','d','l','e',0} +#define BCRYPT_SIGNATURE_LENGTH (const WCHAR []){'S','i','g','n','a','t','u','r','e','L','e','n','g','t','h',0} + +#define MS_PRIMITIVE_PROVIDER (const WCHAR [])\ + {'M','i','c','r','o','s','o','f','t',' ','P','r','i','m','i','t','i','v','e',' ','P','r','o','v','i','d','e','r',0} +#define MS_PLATFORM_CRYPTO_PROVIDER (const WCHAR [])\ + {'M','i','c','r','o','s','o','f','t',' ','P','l','a','t','f','o','r','m',' ','C','r','y','p','t','o',' ','P','r','o','v','i','d','e','r',0} + +#define BCRYPT_AES_ALGORITHM (const WCHAR []){'A','E','S',0} +#define BCRYPT_MD5_ALGORITHM (const WCHAR []){'M','D','5',0} +#define BCRYPT_RNG_ALGORITHM (const WCHAR []){'R','N','G',0} +#define BCRYPT_SHA1_ALGORITHM (const WCHAR []){'S','H','A','1',0} +#define BCRYPT_SHA256_ALGORITHM (const WCHAR []){'S','H','A','2','5','6',0} +#define BCRYPT_SHA384_ALGORITHM (const WCHAR []){'S','H','A','3','8','4',0} +#define BCRYPT_SHA512_ALGORITHM (const WCHAR []){'S','H','A','5','1','2',0} + +#define BCRYPT_CHAIN_MODE_NA (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','N','/','A',0} +#define BCRYPT_CHAIN_MODE_CBC (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','C','B','C',0} +#define BCRYPT_CHAIN_MODE_ECB (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','E','C','B',0} + +typedef struct _BCRYPT_ALGORITHM_IDENTIFIER +{ + LPWSTR pszName; + ULONG dwClass; + ULONG dwFlags; +} BCRYPT_ALGORITHM_IDENTIFIER; + +typedef struct __BCRYPT_KEY_LENGTHS_STRUCT +{ + ULONG dwMinLength; + ULONG dwMaxLength; + ULONG dwIncrement; +} BCRYPT_KEY_LENGTHS_STRUCT; + +typedef PVOID BCRYPT_ALG_HANDLE; +typedef PVOID BCRYPT_KEY_HANDLE; +typedef PVOID BCRYPT_HANDLE; +typedef PVOID BCRYPT_HASH_HANDLE; + +/* Flags for BCryptGenRandom */ +#define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001 +#define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002 + +/* Flags for BCryptOpenAlgorithmProvider */ +#define BCRYPT_ALG_HANDLE_HMAC_FLAG 0x00000008 + +/* Flags for BCryptEncrypt/BCryptDecrypt */ +#define BCRYPT_BLOCK_PADDING 0x00000001 + +NTSTATUS WINAPI BCryptCloseAlgorithmProvider(BCRYPT_ALG_HANDLE, ULONG); +NTSTATUS WINAPI BCryptCreateHash(BCRYPT_ALG_HANDLE, BCRYPT_HASH_HANDLE *, PUCHAR, ULONG, PUCHAR, ULONG, ULONG); +NTSTATUS WINAPI BCryptDecrypt(BCRYPT_KEY_HANDLE, PUCHAR, ULONG, VOID *, PUCHAR, ULONG, PUCHAR, ULONG, ULONG *, ULONG); +NTSTATUS WINAPI BCryptDestroyHash(BCRYPT_HASH_HANDLE); +NTSTATUS WINAPI BCryptDestroyKey(BCRYPT_KEY_HANDLE); +NTSTATUS WINAPI BCryptEncrypt(BCRYPT_KEY_HANDLE, PUCHAR, ULONG, VOID *, PUCHAR, ULONG, PUCHAR, ULONG, ULONG *, ULONG); +NTSTATUS WINAPI BCryptEnumAlgorithms(ULONG, ULONG *, BCRYPT_ALGORITHM_IDENTIFIER **, ULONG); +NTSTATUS WINAPI BCryptFinishHash(BCRYPT_HASH_HANDLE, PUCHAR, ULONG, ULONG); +NTSTATUS WINAPI BCryptGenerateSymmetricKey(BCRYPT_ALG_HANDLE, BCRYPT_KEY_HANDLE *, PUCHAR, ULONG, PUCHAR, ULONG, ULONG); +NTSTATUS WINAPI BCryptGenRandom(BCRYPT_ALG_HANDLE, PUCHAR, ULONG, ULONG); +NTSTATUS WINAPI BCryptGetFipsAlgorithmMode(BOOLEAN *); +NTSTATUS WINAPI BCryptGetProperty(BCRYPT_HANDLE, LPCWSTR, PUCHAR, ULONG, ULONG *, ULONG); +NTSTATUS WINAPI BCryptHash(BCRYPT_ALG_HANDLE, PUCHAR, ULONG, PUCHAR, ULONG, PUCHAR, ULONG); +NTSTATUS WINAPI BCryptHashData(BCRYPT_HASH_HANDLE, PUCHAR, ULONG, ULONG); +NTSTATUS WINAPI BCryptOpenAlgorithmProvider(BCRYPT_ALG_HANDLE *, LPCWSTR, LPCWSTR, ULONG); +NTSTATUS WINAPI BCryptSetProperty(BCRYPT_HANDLE, LPCWSTR, PUCHAR, ULONG, ULONG); +NTSTATUS WINAPI BCryptDuplicateHash(BCRYPT_HASH_HANDLE, BCRYPT_HASH_HANDLE *, UCHAR *, ULONG, ULONG); + +#endif /* __WINE_BCRYPT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface.h new file mode 100644 index 0000000..f9bbb17 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface.h @@ -0,0 +1,6511 @@ +/*** Autogenerated by WIDL 2.18 from bdaiface.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __bdaiface_h__ +#define __bdaiface_h__ + +/* Forward declarations */ + +#ifndef __IBDA_NetworkProvider_FWD_DEFINED__ +#define __IBDA_NetworkProvider_FWD_DEFINED__ +typedef interface IBDA_NetworkProvider IBDA_NetworkProvider; +#ifdef __cplusplus +interface IBDA_NetworkProvider; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_EthernetFilter_FWD_DEFINED__ +#define __IBDA_EthernetFilter_FWD_DEFINED__ +typedef interface IBDA_EthernetFilter IBDA_EthernetFilter; +#ifdef __cplusplus +interface IBDA_EthernetFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_IPV4Filter_FWD_DEFINED__ +#define __IBDA_IPV4Filter_FWD_DEFINED__ +typedef interface IBDA_IPV4Filter IBDA_IPV4Filter; +#ifdef __cplusplus +interface IBDA_IPV4Filter; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_IPV6Filter_FWD_DEFINED__ +#define __IBDA_IPV6Filter_FWD_DEFINED__ +typedef interface IBDA_IPV6Filter IBDA_IPV6Filter; +#ifdef __cplusplus +interface IBDA_IPV6Filter; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DeviceControl_FWD_DEFINED__ +#define __IBDA_DeviceControl_FWD_DEFINED__ +typedef interface IBDA_DeviceControl IBDA_DeviceControl; +#ifdef __cplusplus +interface IBDA_DeviceControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_PinControl_FWD_DEFINED__ +#define __IBDA_PinControl_FWD_DEFINED__ +typedef interface IBDA_PinControl IBDA_PinControl; +#ifdef __cplusplus +interface IBDA_PinControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_SignalProperties_FWD_DEFINED__ +#define __IBDA_SignalProperties_FWD_DEFINED__ +typedef interface IBDA_SignalProperties IBDA_SignalProperties; +#ifdef __cplusplus +interface IBDA_SignalProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_SignalStatistics_FWD_DEFINED__ +#define __IBDA_SignalStatistics_FWD_DEFINED__ +typedef interface IBDA_SignalStatistics IBDA_SignalStatistics; +#ifdef __cplusplus +interface IBDA_SignalStatistics; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_Topology_FWD_DEFINED__ +#define __IBDA_Topology_FWD_DEFINED__ +typedef interface IBDA_Topology IBDA_Topology; +#ifdef __cplusplus +interface IBDA_Topology; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_VoidTransform_FWD_DEFINED__ +#define __IBDA_VoidTransform_FWD_DEFINED__ +typedef interface IBDA_VoidTransform IBDA_VoidTransform; +#ifdef __cplusplus +interface IBDA_VoidTransform; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_NullTransform_FWD_DEFINED__ +#define __IBDA_NullTransform_FWD_DEFINED__ +typedef interface IBDA_NullTransform IBDA_NullTransform; +#ifdef __cplusplus +interface IBDA_NullTransform; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_FrequencyFilter_FWD_DEFINED__ +#define __IBDA_FrequencyFilter_FWD_DEFINED__ +typedef interface IBDA_FrequencyFilter IBDA_FrequencyFilter; +#ifdef __cplusplus +interface IBDA_FrequencyFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_LNBInfo_FWD_DEFINED__ +#define __IBDA_LNBInfo_FWD_DEFINED__ +typedef interface IBDA_LNBInfo IBDA_LNBInfo; +#ifdef __cplusplus +interface IBDA_LNBInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DiseqCommand_FWD_DEFINED__ +#define __IBDA_DiseqCommand_FWD_DEFINED__ +typedef interface IBDA_DiseqCommand IBDA_DiseqCommand; +#ifdef __cplusplus +interface IBDA_DiseqCommand; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_AutoDemodulate_FWD_DEFINED__ +#define __IBDA_AutoDemodulate_FWD_DEFINED__ +typedef interface IBDA_AutoDemodulate IBDA_AutoDemodulate; +#ifdef __cplusplus +interface IBDA_AutoDemodulate; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_AutoDemodulateEx_FWD_DEFINED__ +#define __IBDA_AutoDemodulateEx_FWD_DEFINED__ +typedef interface IBDA_AutoDemodulateEx IBDA_AutoDemodulateEx; +#ifdef __cplusplus +interface IBDA_AutoDemodulateEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DigitalDemodulator_FWD_DEFINED__ +#define __IBDA_DigitalDemodulator_FWD_DEFINED__ +typedef interface IBDA_DigitalDemodulator IBDA_DigitalDemodulator; +#ifdef __cplusplus +interface IBDA_DigitalDemodulator; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DigitalDemodulator2_FWD_DEFINED__ +#define __IBDA_DigitalDemodulator2_FWD_DEFINED__ +typedef interface IBDA_DigitalDemodulator2 IBDA_DigitalDemodulator2; +#ifdef __cplusplus +interface IBDA_DigitalDemodulator2; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DigitalDemodulator3_FWD_DEFINED__ +#define __IBDA_DigitalDemodulator3_FWD_DEFINED__ +typedef interface IBDA_DigitalDemodulator3 IBDA_DigitalDemodulator3; +#ifdef __cplusplus +interface IBDA_DigitalDemodulator3; +#endif /* __cplusplus */ +#endif + +#ifndef __ICCSubStreamFiltering_FWD_DEFINED__ +#define __ICCSubStreamFiltering_FWD_DEFINED__ +typedef interface ICCSubStreamFiltering ICCSubStreamFiltering; +#ifdef __cplusplus +interface ICCSubStreamFiltering; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_IPSinkControl_FWD_DEFINED__ +#define __IBDA_IPSinkControl_FWD_DEFINED__ +typedef interface IBDA_IPSinkControl IBDA_IPSinkControl; +#ifdef __cplusplus +interface IBDA_IPSinkControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_IPSinkInfo_FWD_DEFINED__ +#define __IBDA_IPSinkInfo_FWD_DEFINED__ +typedef interface IBDA_IPSinkInfo IBDA_IPSinkInfo; +#ifdef __cplusplus +interface IBDA_IPSinkInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumPIDMap_FWD_DEFINED__ +#define __IEnumPIDMap_FWD_DEFINED__ +typedef interface IEnumPIDMap IEnumPIDMap; +#ifdef __cplusplus +interface IEnumPIDMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IMPEG2PIDMap_FWD_DEFINED__ +#define __IMPEG2PIDMap_FWD_DEFINED__ +typedef interface IMPEG2PIDMap IMPEG2PIDMap; +#ifdef __cplusplus +interface IMPEG2PIDMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IFrequencyMap_FWD_DEFINED__ +#define __IFrequencyMap_FWD_DEFINED__ +typedef interface IFrequencyMap IFrequencyMap; +#ifdef __cplusplus +interface IFrequencyMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_EasMessage_FWD_DEFINED__ +#define __IBDA_EasMessage_FWD_DEFINED__ +typedef interface IBDA_EasMessage IBDA_EasMessage; +#ifdef __cplusplus +interface IBDA_EasMessage; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_TransportStreamInfo_FWD_DEFINED__ +#define __IBDA_TransportStreamInfo_FWD_DEFINED__ +typedef interface IBDA_TransportStreamInfo IBDA_TransportStreamInfo; +#ifdef __cplusplus +interface IBDA_TransportStreamInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_ConditionalAccess_FWD_DEFINED__ +#define __IBDA_ConditionalAccess_FWD_DEFINED__ +typedef interface IBDA_ConditionalAccess IBDA_ConditionalAccess; +#ifdef __cplusplus +interface IBDA_ConditionalAccess; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DiagnosticProperties_FWD_DEFINED__ +#define __IBDA_DiagnosticProperties_FWD_DEFINED__ +typedef interface IBDA_DiagnosticProperties IBDA_DiagnosticProperties; +#ifdef __cplusplus +interface IBDA_DiagnosticProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DRM_FWD_DEFINED__ +#define __IBDA_DRM_FWD_DEFINED__ +typedef interface IBDA_DRM IBDA_DRM; +#ifdef __cplusplus +interface IBDA_DRM; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_NameValueService_FWD_DEFINED__ +#define __IBDA_NameValueService_FWD_DEFINED__ +typedef interface IBDA_NameValueService IBDA_NameValueService; +#ifdef __cplusplus +interface IBDA_NameValueService; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_ConditionalAccessEx_FWD_DEFINED__ +#define __IBDA_ConditionalAccessEx_FWD_DEFINED__ +typedef interface IBDA_ConditionalAccessEx IBDA_ConditionalAccessEx; +#ifdef __cplusplus +interface IBDA_ConditionalAccessEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_ISDBConditionalAccess_FWD_DEFINED__ +#define __IBDA_ISDBConditionalAccess_FWD_DEFINED__ +typedef interface IBDA_ISDBConditionalAccess IBDA_ISDBConditionalAccess; +#ifdef __cplusplus +interface IBDA_ISDBConditionalAccess; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_EventingService_FWD_DEFINED__ +#define __IBDA_EventingService_FWD_DEFINED__ +typedef interface IBDA_EventingService IBDA_EventingService; +#ifdef __cplusplus +interface IBDA_EventingService; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_AUX_FWD_DEFINED__ +#define __IBDA_AUX_FWD_DEFINED__ +typedef interface IBDA_AUX IBDA_AUX; +#ifdef __cplusplus +interface IBDA_AUX; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_Encoder_FWD_DEFINED__ +#define __IBDA_Encoder_FWD_DEFINED__ +typedef interface IBDA_Encoder IBDA_Encoder; +#ifdef __cplusplus +interface IBDA_Encoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_FDC_FWD_DEFINED__ +#define __IBDA_FDC_FWD_DEFINED__ +typedef interface IBDA_FDC IBDA_FDC; +#ifdef __cplusplus +interface IBDA_FDC; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_GuideDataDeliveryService_FWD_DEFINED__ +#define __IBDA_GuideDataDeliveryService_FWD_DEFINED__ +typedef interface IBDA_GuideDataDeliveryService IBDA_GuideDataDeliveryService; +#ifdef __cplusplus +interface IBDA_GuideDataDeliveryService; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DRMService_FWD_DEFINED__ +#define __IBDA_DRMService_FWD_DEFINED__ +typedef interface IBDA_DRMService IBDA_DRMService; +#ifdef __cplusplus +interface IBDA_DRMService; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_WMDRMSession_FWD_DEFINED__ +#define __IBDA_WMDRMSession_FWD_DEFINED__ +typedef interface IBDA_WMDRMSession IBDA_WMDRMSession; +#ifdef __cplusplus +interface IBDA_WMDRMSession; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_WMDRMTuner_FWD_DEFINED__ +#define __IBDA_WMDRMTuner_FWD_DEFINED__ +typedef interface IBDA_WMDRMTuner IBDA_WMDRMTuner; +#ifdef __cplusplus +interface IBDA_WMDRMTuner; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DRIDRMService_FWD_DEFINED__ +#define __IBDA_DRIDRMService_FWD_DEFINED__ +typedef interface IBDA_DRIDRMService IBDA_DRIDRMService; +#ifdef __cplusplus +interface IBDA_DRIDRMService; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_DRIWMDRMSession_FWD_DEFINED__ +#define __IBDA_DRIWMDRMSession_FWD_DEFINED__ +typedef interface IBDA_DRIWMDRMSession IBDA_DRIWMDRMSession; +#ifdef __cplusplus +interface IBDA_DRIWMDRMSession; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_MUX_FWD_DEFINED__ +#define __IBDA_MUX_FWD_DEFINED__ +typedef interface IBDA_MUX IBDA_MUX; +#ifdef __cplusplus +interface IBDA_MUX; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_TransportStreamSelector_FWD_DEFINED__ +#define __IBDA_TransportStreamSelector_FWD_DEFINED__ +typedef interface IBDA_TransportStreamSelector IBDA_TransportStreamSelector; +#ifdef __cplusplus +interface IBDA_TransportStreamSelector; +#endif /* __cplusplus */ +#endif + +#ifndef __IBDA_UserActivityService_FWD_DEFINED__ +#define __IBDA_UserActivityService_FWD_DEFINED__ +typedef interface IBDA_UserActivityService IBDA_UserActivityService; +#ifdef __cplusplus +interface IBDA_UserActivityService; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum EntitlementType { + Entitled = 0, + NotEntitled = 1, + TechnicalFailure = 2 +} EntitlementType; +typedef enum BDA_DrmPairingError { + BDA_DrmPairing_Succeeded = 0, + BDA_DrmPairing_HardwareFailure = 1, + BDA_DrmPairing_NeedRevocationData = 2, + BDA_DrmPairing_NeedIndiv = 3, + BDA_DrmPairing_Other = 4, + BDA_DrmPairing_DrmInitFailed = 5, + BDA_DrmPairing_DrmNotPaired = 6, + BDA_DrmPairing_DrmRePairSoon = 7, + BDA_DrmPairing_Aborted = 8, + BDA_DrmPairing_NeedSDKUpdate = 9 +} BDA_DrmPairingError; +typedef enum UICloseReasonType { + NotReady = 0, + UserClosed = 1, + SystemClosed = 2, + DeviceClosed = 3, + ErrorClosed = 4 +} UICloseReasonType; +typedef enum LocationCodeSchemeType { + SCTE_18 = 0 +} LocationCodeSchemeType; +typedef struct SmartCardApplication { + ApplicationTypeType ApplicationType; + USHORT ApplicationVersion; + BSTR pbstrApplicationName; + BSTR pbstrApplicationURL; +} SmartCardApplication; +typedef struct EALocationCodeType { + LocationCodeSchemeType LocationCodeScheme; + BYTE state_code; + BYTE county_subdivision; + WORD county_code; +} EALocationCodeType; +typedef enum SmartCardStatusType { + CardInserted = 0, + CardRemoved = 1, + CardError = 2, + CardDataChanged = 3, + CardFirmwareUpgrade = 4 +} SmartCardStatusType; +typedef enum SmartCardAssociationType { + NotAssociated = 0, + Associated = 1, + AssociationUnknown = 2 +} SmartCardAssociationType; +/***************************************************************************** + * IBDA_NetworkProvider interface + */ +#ifndef __IBDA_NetworkProvider_INTERFACE_DEFINED__ +#define __IBDA_NetworkProvider_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_NetworkProvider, 0xfd501041, 0x8ebe, 0x11ce, 0x81,0x83, 0x00,0xaa,0x00,0x57,0x7d,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd501041-8ebe-11ce-8183-00aa00577da2") +IBDA_NetworkProvider : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PutSignalSource( + ULONG ulSignalSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSignalSource( + ULONG *pulSignalSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkType( + GUID *pguidNetworkType) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutTuningSpace( + REFGUID guidTuningSpace) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTuningSpace( + GUID *pguidTuingSpace) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterDeviceFilter( + IUnknown *pUnkFilterControl, + ULONG *ppvRegisitrationContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnRegisterDeviceFilter( + ULONG pvRegistrationContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_NetworkProvider, 0xfd501041, 0x8ebe, 0x11ce, 0x81,0x83, 0x00,0xaa,0x00,0x57,0x7d,0xa2) +#endif +#else +typedef struct IBDA_NetworkProviderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_NetworkProvider *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_NetworkProvider *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_NetworkProvider *This); + + /*** IBDA_NetworkProvider methods ***/ + HRESULT (STDMETHODCALLTYPE *PutSignalSource)( + IBDA_NetworkProvider *This, + ULONG ulSignalSource); + + HRESULT (STDMETHODCALLTYPE *GetSignalSource)( + IBDA_NetworkProvider *This, + ULONG *pulSignalSource); + + HRESULT (STDMETHODCALLTYPE *GetNetworkType)( + IBDA_NetworkProvider *This, + GUID *pguidNetworkType); + + HRESULT (STDMETHODCALLTYPE *PutTuningSpace)( + IBDA_NetworkProvider *This, + REFGUID guidTuningSpace); + + HRESULT (STDMETHODCALLTYPE *GetTuningSpace)( + IBDA_NetworkProvider *This, + GUID *pguidTuingSpace); + + HRESULT (STDMETHODCALLTYPE *RegisterDeviceFilter)( + IBDA_NetworkProvider *This, + IUnknown *pUnkFilterControl, + ULONG *ppvRegisitrationContext); + + HRESULT (STDMETHODCALLTYPE *UnRegisterDeviceFilter)( + IBDA_NetworkProvider *This, + ULONG pvRegistrationContext); + + END_INTERFACE +} IBDA_NetworkProviderVtbl; + +interface IBDA_NetworkProvider { + CONST_VTBL IBDA_NetworkProviderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_NetworkProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_NetworkProvider_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_NetworkProvider_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_NetworkProvider methods ***/ +#define IBDA_NetworkProvider_PutSignalSource(This,ulSignalSource) (This)->lpVtbl->PutSignalSource(This,ulSignalSource) +#define IBDA_NetworkProvider_GetSignalSource(This,pulSignalSource) (This)->lpVtbl->GetSignalSource(This,pulSignalSource) +#define IBDA_NetworkProvider_GetNetworkType(This,pguidNetworkType) (This)->lpVtbl->GetNetworkType(This,pguidNetworkType) +#define IBDA_NetworkProvider_PutTuningSpace(This,guidTuningSpace) (This)->lpVtbl->PutTuningSpace(This,guidTuningSpace) +#define IBDA_NetworkProvider_GetTuningSpace(This,pguidTuingSpace) (This)->lpVtbl->GetTuningSpace(This,pguidTuingSpace) +#define IBDA_NetworkProvider_RegisterDeviceFilter(This,pUnkFilterControl,ppvRegisitrationContext) (This)->lpVtbl->RegisterDeviceFilter(This,pUnkFilterControl,ppvRegisitrationContext) +#define IBDA_NetworkProvider_UnRegisterDeviceFilter(This,pvRegistrationContext) (This)->lpVtbl->UnRegisterDeviceFilter(This,pvRegistrationContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_NetworkProvider_QueryInterface(IBDA_NetworkProvider* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_NetworkProvider_AddRef(IBDA_NetworkProvider* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_NetworkProvider_Release(IBDA_NetworkProvider* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_NetworkProvider methods ***/ +static FORCEINLINE HRESULT IBDA_NetworkProvider_PutSignalSource(IBDA_NetworkProvider* This,ULONG ulSignalSource) { + return This->lpVtbl->PutSignalSource(This,ulSignalSource); +} +static FORCEINLINE HRESULT IBDA_NetworkProvider_GetSignalSource(IBDA_NetworkProvider* This,ULONG *pulSignalSource) { + return This->lpVtbl->GetSignalSource(This,pulSignalSource); +} +static FORCEINLINE HRESULT IBDA_NetworkProvider_GetNetworkType(IBDA_NetworkProvider* This,GUID *pguidNetworkType) { + return This->lpVtbl->GetNetworkType(This,pguidNetworkType); +} +static FORCEINLINE HRESULT IBDA_NetworkProvider_PutTuningSpace(IBDA_NetworkProvider* This,REFGUID guidTuningSpace) { + return This->lpVtbl->PutTuningSpace(This,guidTuningSpace); +} +static FORCEINLINE HRESULT IBDA_NetworkProvider_GetTuningSpace(IBDA_NetworkProvider* This,GUID *pguidTuingSpace) { + return This->lpVtbl->GetTuningSpace(This,pguidTuingSpace); +} +static FORCEINLINE HRESULT IBDA_NetworkProvider_RegisterDeviceFilter(IBDA_NetworkProvider* This,IUnknown *pUnkFilterControl,ULONG *ppvRegisitrationContext) { + return This->lpVtbl->RegisterDeviceFilter(This,pUnkFilterControl,ppvRegisitrationContext); +} +static FORCEINLINE HRESULT IBDA_NetworkProvider_UnRegisterDeviceFilter(IBDA_NetworkProvider* This,ULONG pvRegistrationContext) { + return This->lpVtbl->UnRegisterDeviceFilter(This,pvRegistrationContext); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_NetworkProvider_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_EthernetFilter interface + */ +#ifndef __IBDA_EthernetFilter_INTERFACE_DEFINED__ +#define __IBDA_EthernetFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_EthernetFilter, 0x71985f43, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71985f43-1ca1-11d3-9cc8-00c04f7971e0") +IBDA_EthernetFilter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMulticastListSize( + ULONG *pulcbAddresses) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMulticastList( + ULONG ulcbAddresses, + BYTE pAddressList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMulticastList( + ULONG *pulcbAddresses, + BYTE pAddressList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMulticastMode( + ULONG ulModeMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMulticastMode( + ULONG *pulModeMask) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_EthernetFilter, 0x71985f43, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_EthernetFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_EthernetFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_EthernetFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_EthernetFilter *This); + + /*** IBDA_EthernetFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMulticastListSize)( + IBDA_EthernetFilter *This, + ULONG *pulcbAddresses); + + HRESULT (STDMETHODCALLTYPE *PutMulticastList)( + IBDA_EthernetFilter *This, + ULONG ulcbAddresses, + BYTE pAddressList[]); + + HRESULT (STDMETHODCALLTYPE *GetMulticastList)( + IBDA_EthernetFilter *This, + ULONG *pulcbAddresses, + BYTE pAddressList[]); + + HRESULT (STDMETHODCALLTYPE *PutMulticastMode)( + IBDA_EthernetFilter *This, + ULONG ulModeMask); + + HRESULT (STDMETHODCALLTYPE *GetMulticastMode)( + IBDA_EthernetFilter *This, + ULONG *pulModeMask); + + END_INTERFACE +} IBDA_EthernetFilterVtbl; + +interface IBDA_EthernetFilter { + CONST_VTBL IBDA_EthernetFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_EthernetFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_EthernetFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_EthernetFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_EthernetFilter methods ***/ +#define IBDA_EthernetFilter_GetMulticastListSize(This,pulcbAddresses) (This)->lpVtbl->GetMulticastListSize(This,pulcbAddresses) +#define IBDA_EthernetFilter_PutMulticastList(This,ulcbAddresses,pAddressList) (This)->lpVtbl->PutMulticastList(This,ulcbAddresses,pAddressList) +#define IBDA_EthernetFilter_GetMulticastList(This,pulcbAddresses,pAddressList) (This)->lpVtbl->GetMulticastList(This,pulcbAddresses,pAddressList) +#define IBDA_EthernetFilter_PutMulticastMode(This,ulModeMask) (This)->lpVtbl->PutMulticastMode(This,ulModeMask) +#define IBDA_EthernetFilter_GetMulticastMode(This,pulModeMask) (This)->lpVtbl->GetMulticastMode(This,pulModeMask) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_EthernetFilter_QueryInterface(IBDA_EthernetFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_EthernetFilter_AddRef(IBDA_EthernetFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_EthernetFilter_Release(IBDA_EthernetFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_EthernetFilter methods ***/ +static FORCEINLINE HRESULT IBDA_EthernetFilter_GetMulticastListSize(IBDA_EthernetFilter* This,ULONG *pulcbAddresses) { + return This->lpVtbl->GetMulticastListSize(This,pulcbAddresses); +} +static FORCEINLINE HRESULT IBDA_EthernetFilter_PutMulticastList(IBDA_EthernetFilter* This,ULONG ulcbAddresses,BYTE pAddressList[]) { + return This->lpVtbl->PutMulticastList(This,ulcbAddresses,pAddressList); +} +static FORCEINLINE HRESULT IBDA_EthernetFilter_GetMulticastList(IBDA_EthernetFilter* This,ULONG *pulcbAddresses,BYTE pAddressList[]) { + return This->lpVtbl->GetMulticastList(This,pulcbAddresses,pAddressList); +} +static FORCEINLINE HRESULT IBDA_EthernetFilter_PutMulticastMode(IBDA_EthernetFilter* This,ULONG ulModeMask) { + return This->lpVtbl->PutMulticastMode(This,ulModeMask); +} +static FORCEINLINE HRESULT IBDA_EthernetFilter_GetMulticastMode(IBDA_EthernetFilter* This,ULONG *pulModeMask) { + return This->lpVtbl->GetMulticastMode(This,pulModeMask); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_EthernetFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_IPV4Filter interface + */ +#ifndef __IBDA_IPV4Filter_INTERFACE_DEFINED__ +#define __IBDA_IPV4Filter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_IPV4Filter, 0x71985f44, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71985f44-1ca1-11d3-9cc8-00c04f7971e0") +IBDA_IPV4Filter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMulticastListSize( + ULONG *pulcbAddresses) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMulticastList( + ULONG ulcbAddresses, + BYTE pAddressList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMulticastList( + ULONG *pulcbAddresses, + BYTE pAddressList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMulticastMode( + ULONG ulModeMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMulticastMode( + ULONG *pulModeMask) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_IPV4Filter, 0x71985f44, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_IPV4FilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_IPV4Filter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_IPV4Filter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_IPV4Filter *This); + + /*** IBDA_IPV4Filter methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMulticastListSize)( + IBDA_IPV4Filter *This, + ULONG *pulcbAddresses); + + HRESULT (STDMETHODCALLTYPE *PutMulticastList)( + IBDA_IPV4Filter *This, + ULONG ulcbAddresses, + BYTE pAddressList[]); + + HRESULT (STDMETHODCALLTYPE *GetMulticastList)( + IBDA_IPV4Filter *This, + ULONG *pulcbAddresses, + BYTE pAddressList[]); + + HRESULT (STDMETHODCALLTYPE *PutMulticastMode)( + IBDA_IPV4Filter *This, + ULONG ulModeMask); + + HRESULT (STDMETHODCALLTYPE *GetMulticastMode)( + IBDA_IPV4Filter *This, + ULONG *pulModeMask); + + END_INTERFACE +} IBDA_IPV4FilterVtbl; + +interface IBDA_IPV4Filter { + CONST_VTBL IBDA_IPV4FilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_IPV4Filter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_IPV4Filter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_IPV4Filter_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_IPV4Filter methods ***/ +#define IBDA_IPV4Filter_GetMulticastListSize(This,pulcbAddresses) (This)->lpVtbl->GetMulticastListSize(This,pulcbAddresses) +#define IBDA_IPV4Filter_PutMulticastList(This,ulcbAddresses,pAddressList) (This)->lpVtbl->PutMulticastList(This,ulcbAddresses,pAddressList) +#define IBDA_IPV4Filter_GetMulticastList(This,pulcbAddresses,pAddressList) (This)->lpVtbl->GetMulticastList(This,pulcbAddresses,pAddressList) +#define IBDA_IPV4Filter_PutMulticastMode(This,ulModeMask) (This)->lpVtbl->PutMulticastMode(This,ulModeMask) +#define IBDA_IPV4Filter_GetMulticastMode(This,pulModeMask) (This)->lpVtbl->GetMulticastMode(This,pulModeMask) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_IPV4Filter_QueryInterface(IBDA_IPV4Filter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_IPV4Filter_AddRef(IBDA_IPV4Filter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_IPV4Filter_Release(IBDA_IPV4Filter* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_IPV4Filter methods ***/ +static FORCEINLINE HRESULT IBDA_IPV4Filter_GetMulticastListSize(IBDA_IPV4Filter* This,ULONG *pulcbAddresses) { + return This->lpVtbl->GetMulticastListSize(This,pulcbAddresses); +} +static FORCEINLINE HRESULT IBDA_IPV4Filter_PutMulticastList(IBDA_IPV4Filter* This,ULONG ulcbAddresses,BYTE pAddressList[]) { + return This->lpVtbl->PutMulticastList(This,ulcbAddresses,pAddressList); +} +static FORCEINLINE HRESULT IBDA_IPV4Filter_GetMulticastList(IBDA_IPV4Filter* This,ULONG *pulcbAddresses,BYTE pAddressList[]) { + return This->lpVtbl->GetMulticastList(This,pulcbAddresses,pAddressList); +} +static FORCEINLINE HRESULT IBDA_IPV4Filter_PutMulticastMode(IBDA_IPV4Filter* This,ULONG ulModeMask) { + return This->lpVtbl->PutMulticastMode(This,ulModeMask); +} +static FORCEINLINE HRESULT IBDA_IPV4Filter_GetMulticastMode(IBDA_IPV4Filter* This,ULONG *pulModeMask) { + return This->lpVtbl->GetMulticastMode(This,pulModeMask); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_IPV4Filter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_IPV6Filter interface + */ +#ifndef __IBDA_IPV6Filter_INTERFACE_DEFINED__ +#define __IBDA_IPV6Filter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_IPV6Filter, 0xe1785a74, 0x2a23, 0x4fb3, 0x92,0x45, 0xa8,0xf8,0x80,0x17,0xef,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e1785a74-2a23-4fb3-9245-a8f88017ef33") +IBDA_IPV6Filter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMulticastListSize( + ULONG *pulcbAddresses) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMulticastList( + ULONG ulcbAddresses, + BYTE pAddressList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMulticastList( + ULONG *pulcbAddresses, + BYTE pAddressList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMulticastMode( + ULONG ulModeMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMulticastMode( + ULONG *pulModeMask) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_IPV6Filter, 0xe1785a74, 0x2a23, 0x4fb3, 0x92,0x45, 0xa8,0xf8,0x80,0x17,0xef,0x33) +#endif +#else +typedef struct IBDA_IPV6FilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_IPV6Filter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_IPV6Filter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_IPV6Filter *This); + + /*** IBDA_IPV6Filter methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMulticastListSize)( + IBDA_IPV6Filter *This, + ULONG *pulcbAddresses); + + HRESULT (STDMETHODCALLTYPE *PutMulticastList)( + IBDA_IPV6Filter *This, + ULONG ulcbAddresses, + BYTE pAddressList[]); + + HRESULT (STDMETHODCALLTYPE *GetMulticastList)( + IBDA_IPV6Filter *This, + ULONG *pulcbAddresses, + BYTE pAddressList[]); + + HRESULT (STDMETHODCALLTYPE *PutMulticastMode)( + IBDA_IPV6Filter *This, + ULONG ulModeMask); + + HRESULT (STDMETHODCALLTYPE *GetMulticastMode)( + IBDA_IPV6Filter *This, + ULONG *pulModeMask); + + END_INTERFACE +} IBDA_IPV6FilterVtbl; + +interface IBDA_IPV6Filter { + CONST_VTBL IBDA_IPV6FilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_IPV6Filter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_IPV6Filter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_IPV6Filter_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_IPV6Filter methods ***/ +#define IBDA_IPV6Filter_GetMulticastListSize(This,pulcbAddresses) (This)->lpVtbl->GetMulticastListSize(This,pulcbAddresses) +#define IBDA_IPV6Filter_PutMulticastList(This,ulcbAddresses,pAddressList) (This)->lpVtbl->PutMulticastList(This,ulcbAddresses,pAddressList) +#define IBDA_IPV6Filter_GetMulticastList(This,pulcbAddresses,pAddressList) (This)->lpVtbl->GetMulticastList(This,pulcbAddresses,pAddressList) +#define IBDA_IPV6Filter_PutMulticastMode(This,ulModeMask) (This)->lpVtbl->PutMulticastMode(This,ulModeMask) +#define IBDA_IPV6Filter_GetMulticastMode(This,pulModeMask) (This)->lpVtbl->GetMulticastMode(This,pulModeMask) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_IPV6Filter_QueryInterface(IBDA_IPV6Filter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_IPV6Filter_AddRef(IBDA_IPV6Filter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_IPV6Filter_Release(IBDA_IPV6Filter* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_IPV6Filter methods ***/ +static FORCEINLINE HRESULT IBDA_IPV6Filter_GetMulticastListSize(IBDA_IPV6Filter* This,ULONG *pulcbAddresses) { + return This->lpVtbl->GetMulticastListSize(This,pulcbAddresses); +} +static FORCEINLINE HRESULT IBDA_IPV6Filter_PutMulticastList(IBDA_IPV6Filter* This,ULONG ulcbAddresses,BYTE pAddressList[]) { + return This->lpVtbl->PutMulticastList(This,ulcbAddresses,pAddressList); +} +static FORCEINLINE HRESULT IBDA_IPV6Filter_GetMulticastList(IBDA_IPV6Filter* This,ULONG *pulcbAddresses,BYTE pAddressList[]) { + return This->lpVtbl->GetMulticastList(This,pulcbAddresses,pAddressList); +} +static FORCEINLINE HRESULT IBDA_IPV6Filter_PutMulticastMode(IBDA_IPV6Filter* This,ULONG ulModeMask) { + return This->lpVtbl->PutMulticastMode(This,ulModeMask); +} +static FORCEINLINE HRESULT IBDA_IPV6Filter_GetMulticastMode(IBDA_IPV6Filter* This,ULONG *pulModeMask) { + return This->lpVtbl->GetMulticastMode(This,pulModeMask); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_IPV6Filter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DeviceControl interface + */ +#ifndef __IBDA_DeviceControl_INTERFACE_DEFINED__ +#define __IBDA_DeviceControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DeviceControl, 0xfd0a5af3, 0xb41d, 0x11d2, 0x9c,0x95, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd0a5af3-b41d-11d2-9c95-00c04f7971e0") +IBDA_DeviceControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartChanges( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckChanges( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitChanges( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChangeState( + ULONG *pState) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DeviceControl, 0xfd0a5af3, 0xb41d, 0x11d2, 0x9c,0x95, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_DeviceControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DeviceControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DeviceControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DeviceControl *This); + + /*** IBDA_DeviceControl methods ***/ + HRESULT (STDMETHODCALLTYPE *StartChanges)( + IBDA_DeviceControl *This); + + HRESULT (STDMETHODCALLTYPE *CheckChanges)( + IBDA_DeviceControl *This); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + IBDA_DeviceControl *This); + + HRESULT (STDMETHODCALLTYPE *GetChangeState)( + IBDA_DeviceControl *This, + ULONG *pState); + + END_INTERFACE +} IBDA_DeviceControlVtbl; + +interface IBDA_DeviceControl { + CONST_VTBL IBDA_DeviceControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DeviceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DeviceControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DeviceControl_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DeviceControl methods ***/ +#define IBDA_DeviceControl_StartChanges(This) (This)->lpVtbl->StartChanges(This) +#define IBDA_DeviceControl_CheckChanges(This) (This)->lpVtbl->CheckChanges(This) +#define IBDA_DeviceControl_CommitChanges(This) (This)->lpVtbl->CommitChanges(This) +#define IBDA_DeviceControl_GetChangeState(This,pState) (This)->lpVtbl->GetChangeState(This,pState) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DeviceControl_QueryInterface(IBDA_DeviceControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DeviceControl_AddRef(IBDA_DeviceControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DeviceControl_Release(IBDA_DeviceControl* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DeviceControl methods ***/ +static FORCEINLINE HRESULT IBDA_DeviceControl_StartChanges(IBDA_DeviceControl* This) { + return This->lpVtbl->StartChanges(This); +} +static FORCEINLINE HRESULT IBDA_DeviceControl_CheckChanges(IBDA_DeviceControl* This) { + return This->lpVtbl->CheckChanges(This); +} +static FORCEINLINE HRESULT IBDA_DeviceControl_CommitChanges(IBDA_DeviceControl* This) { + return This->lpVtbl->CommitChanges(This); +} +static FORCEINLINE HRESULT IBDA_DeviceControl_GetChangeState(IBDA_DeviceControl* This,ULONG *pState) { + return This->lpVtbl->GetChangeState(This,pState); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DeviceControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_PinControl interface + */ +#ifndef __IBDA_PinControl_INTERFACE_DEFINED__ +#define __IBDA_PinControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_PinControl, 0x0ded49d5, 0xa8b7, 0x4d5d, 0x97,0xa1, 0x12,0xb0,0xc1,0x95,0x87,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0ded49d5-a8b7-4d5d-97a1-12b0c195874d") +IBDA_PinControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPinID( + ULONG *pulPinID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPinType( + ULONG *pulPinType) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegistrationContext( + ULONG *pulRegistrationCtx) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_PinControl, 0x0ded49d5, 0xa8b7, 0x4d5d, 0x97,0xa1, 0x12,0xb0,0xc1,0x95,0x87,0x4d) +#endif +#else +typedef struct IBDA_PinControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_PinControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_PinControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_PinControl *This); + + /*** IBDA_PinControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPinID)( + IBDA_PinControl *This, + ULONG *pulPinID); + + HRESULT (STDMETHODCALLTYPE *GetPinType)( + IBDA_PinControl *This, + ULONG *pulPinType); + + HRESULT (STDMETHODCALLTYPE *RegistrationContext)( + IBDA_PinControl *This, + ULONG *pulRegistrationCtx); + + END_INTERFACE +} IBDA_PinControlVtbl; + +interface IBDA_PinControl { + CONST_VTBL IBDA_PinControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_PinControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_PinControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_PinControl_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_PinControl methods ***/ +#define IBDA_PinControl_GetPinID(This,pulPinID) (This)->lpVtbl->GetPinID(This,pulPinID) +#define IBDA_PinControl_GetPinType(This,pulPinType) (This)->lpVtbl->GetPinType(This,pulPinType) +#define IBDA_PinControl_RegistrationContext(This,pulRegistrationCtx) (This)->lpVtbl->RegistrationContext(This,pulRegistrationCtx) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_PinControl_QueryInterface(IBDA_PinControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_PinControl_AddRef(IBDA_PinControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_PinControl_Release(IBDA_PinControl* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_PinControl methods ***/ +static FORCEINLINE HRESULT IBDA_PinControl_GetPinID(IBDA_PinControl* This,ULONG *pulPinID) { + return This->lpVtbl->GetPinID(This,pulPinID); +} +static FORCEINLINE HRESULT IBDA_PinControl_GetPinType(IBDA_PinControl* This,ULONG *pulPinType) { + return This->lpVtbl->GetPinType(This,pulPinType); +} +static FORCEINLINE HRESULT IBDA_PinControl_RegistrationContext(IBDA_PinControl* This,ULONG *pulRegistrationCtx) { + return This->lpVtbl->RegistrationContext(This,pulRegistrationCtx); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_PinControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_SignalProperties interface + */ +#ifndef __IBDA_SignalProperties_INTERFACE_DEFINED__ +#define __IBDA_SignalProperties_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_SignalProperties, 0xd2f1644b, 0xb409, 0x11d2, 0xbc,0x69, 0x00,0xa0,0xc9,0xee,0x9e,0x16); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d2f1644b-b409-11d2-bc69-00a0c9ee9e16") +IBDA_SignalProperties : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PutNetworkType( + REFGUID guidNetworkType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkType( + GUID *pguidNetworkType) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutSignalSource( + ULONG ulSignalSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSignalSource( + ULONG *pulSignalSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutTuningSpace( + REFGUID guidTuningSpace) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTuningSpace( + GUID *pguidTuingSpace) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_SignalProperties, 0xd2f1644b, 0xb409, 0x11d2, 0xbc,0x69, 0x00,0xa0,0xc9,0xee,0x9e,0x16) +#endif +#else +typedef struct IBDA_SignalPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_SignalProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_SignalProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_SignalProperties *This); + + /*** IBDA_SignalProperties methods ***/ + HRESULT (STDMETHODCALLTYPE *PutNetworkType)( + IBDA_SignalProperties *This, + REFGUID guidNetworkType); + + HRESULT (STDMETHODCALLTYPE *GetNetworkType)( + IBDA_SignalProperties *This, + GUID *pguidNetworkType); + + HRESULT (STDMETHODCALLTYPE *PutSignalSource)( + IBDA_SignalProperties *This, + ULONG ulSignalSource); + + HRESULT (STDMETHODCALLTYPE *GetSignalSource)( + IBDA_SignalProperties *This, + ULONG *pulSignalSource); + + HRESULT (STDMETHODCALLTYPE *PutTuningSpace)( + IBDA_SignalProperties *This, + REFGUID guidTuningSpace); + + HRESULT (STDMETHODCALLTYPE *GetTuningSpace)( + IBDA_SignalProperties *This, + GUID *pguidTuingSpace); + + END_INTERFACE +} IBDA_SignalPropertiesVtbl; + +interface IBDA_SignalProperties { + CONST_VTBL IBDA_SignalPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_SignalProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_SignalProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_SignalProperties_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_SignalProperties methods ***/ +#define IBDA_SignalProperties_PutNetworkType(This,guidNetworkType) (This)->lpVtbl->PutNetworkType(This,guidNetworkType) +#define IBDA_SignalProperties_GetNetworkType(This,pguidNetworkType) (This)->lpVtbl->GetNetworkType(This,pguidNetworkType) +#define IBDA_SignalProperties_PutSignalSource(This,ulSignalSource) (This)->lpVtbl->PutSignalSource(This,ulSignalSource) +#define IBDA_SignalProperties_GetSignalSource(This,pulSignalSource) (This)->lpVtbl->GetSignalSource(This,pulSignalSource) +#define IBDA_SignalProperties_PutTuningSpace(This,guidTuningSpace) (This)->lpVtbl->PutTuningSpace(This,guidTuningSpace) +#define IBDA_SignalProperties_GetTuningSpace(This,pguidTuingSpace) (This)->lpVtbl->GetTuningSpace(This,pguidTuingSpace) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_SignalProperties_QueryInterface(IBDA_SignalProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_SignalProperties_AddRef(IBDA_SignalProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_SignalProperties_Release(IBDA_SignalProperties* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_SignalProperties methods ***/ +static FORCEINLINE HRESULT IBDA_SignalProperties_PutNetworkType(IBDA_SignalProperties* This,REFGUID guidNetworkType) { + return This->lpVtbl->PutNetworkType(This,guidNetworkType); +} +static FORCEINLINE HRESULT IBDA_SignalProperties_GetNetworkType(IBDA_SignalProperties* This,GUID *pguidNetworkType) { + return This->lpVtbl->GetNetworkType(This,pguidNetworkType); +} +static FORCEINLINE HRESULT IBDA_SignalProperties_PutSignalSource(IBDA_SignalProperties* This,ULONG ulSignalSource) { + return This->lpVtbl->PutSignalSource(This,ulSignalSource); +} +static FORCEINLINE HRESULT IBDA_SignalProperties_GetSignalSource(IBDA_SignalProperties* This,ULONG *pulSignalSource) { + return This->lpVtbl->GetSignalSource(This,pulSignalSource); +} +static FORCEINLINE HRESULT IBDA_SignalProperties_PutTuningSpace(IBDA_SignalProperties* This,REFGUID guidTuningSpace) { + return This->lpVtbl->PutTuningSpace(This,guidTuningSpace); +} +static FORCEINLINE HRESULT IBDA_SignalProperties_GetTuningSpace(IBDA_SignalProperties* This,GUID *pguidTuingSpace) { + return This->lpVtbl->GetTuningSpace(This,pguidTuingSpace); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_SignalProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_SignalStatistics interface + */ +#ifndef __IBDA_SignalStatistics_INTERFACE_DEFINED__ +#define __IBDA_SignalStatistics_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_SignalStatistics, 0x1347d106, 0xcf3a, 0x428a, 0xa5,0xcb, 0xac,0x0d,0x9a,0x2a,0x43,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1347d106-cf3a-428a-a5cb-ac0d9a2a4338") +IBDA_SignalStatistics : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_SignalStrength( + LONG lDbStrength) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SignalStrength( + LONG *plDbStrength) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SignalQuality( + LONG lPercentQuality) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SignalQuality( + LONG *plPercentQuality) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SignalPresent( + BOOLEAN fPresent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SignalPresent( + BOOLEAN *pfPresent) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SignalLocked( + BOOLEAN fLocked) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SignalLocked( + BOOLEAN *pfLocked) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SampleTime( + LONG lmsSampleTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SampleTime( + LONG *plmsSampleTime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_SignalStatistics, 0x1347d106, 0xcf3a, 0x428a, 0xa5,0xcb, 0xac,0x0d,0x9a,0x2a,0x43,0x38) +#endif +#else +typedef struct IBDA_SignalStatisticsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_SignalStatistics *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_SignalStatistics *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_SignalStatistics *This); + + /*** IBDA_SignalStatistics methods ***/ + HRESULT (STDMETHODCALLTYPE *put_SignalStrength)( + IBDA_SignalStatistics *This, + LONG lDbStrength); + + HRESULT (STDMETHODCALLTYPE *get_SignalStrength)( + IBDA_SignalStatistics *This, + LONG *plDbStrength); + + HRESULT (STDMETHODCALLTYPE *put_SignalQuality)( + IBDA_SignalStatistics *This, + LONG lPercentQuality); + + HRESULT (STDMETHODCALLTYPE *get_SignalQuality)( + IBDA_SignalStatistics *This, + LONG *plPercentQuality); + + HRESULT (STDMETHODCALLTYPE *put_SignalPresent)( + IBDA_SignalStatistics *This, + BOOLEAN fPresent); + + HRESULT (STDMETHODCALLTYPE *get_SignalPresent)( + IBDA_SignalStatistics *This, + BOOLEAN *pfPresent); + + HRESULT (STDMETHODCALLTYPE *put_SignalLocked)( + IBDA_SignalStatistics *This, + BOOLEAN fLocked); + + HRESULT (STDMETHODCALLTYPE *get_SignalLocked)( + IBDA_SignalStatistics *This, + BOOLEAN *pfLocked); + + HRESULT (STDMETHODCALLTYPE *put_SampleTime)( + IBDA_SignalStatistics *This, + LONG lmsSampleTime); + + HRESULT (STDMETHODCALLTYPE *get_SampleTime)( + IBDA_SignalStatistics *This, + LONG *plmsSampleTime); + + END_INTERFACE +} IBDA_SignalStatisticsVtbl; + +interface IBDA_SignalStatistics { + CONST_VTBL IBDA_SignalStatisticsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_SignalStatistics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_SignalStatistics_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_SignalStatistics_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_SignalStatistics methods ***/ +#define IBDA_SignalStatistics_put_SignalStrength(This,lDbStrength) (This)->lpVtbl->put_SignalStrength(This,lDbStrength) +#define IBDA_SignalStatistics_get_SignalStrength(This,plDbStrength) (This)->lpVtbl->get_SignalStrength(This,plDbStrength) +#define IBDA_SignalStatistics_put_SignalQuality(This,lPercentQuality) (This)->lpVtbl->put_SignalQuality(This,lPercentQuality) +#define IBDA_SignalStatistics_get_SignalQuality(This,plPercentQuality) (This)->lpVtbl->get_SignalQuality(This,plPercentQuality) +#define IBDA_SignalStatistics_put_SignalPresent(This,fPresent) (This)->lpVtbl->put_SignalPresent(This,fPresent) +#define IBDA_SignalStatistics_get_SignalPresent(This,pfPresent) (This)->lpVtbl->get_SignalPresent(This,pfPresent) +#define IBDA_SignalStatistics_put_SignalLocked(This,fLocked) (This)->lpVtbl->put_SignalLocked(This,fLocked) +#define IBDA_SignalStatistics_get_SignalLocked(This,pfLocked) (This)->lpVtbl->get_SignalLocked(This,pfLocked) +#define IBDA_SignalStatistics_put_SampleTime(This,lmsSampleTime) (This)->lpVtbl->put_SampleTime(This,lmsSampleTime) +#define IBDA_SignalStatistics_get_SampleTime(This,plmsSampleTime) (This)->lpVtbl->get_SampleTime(This,plmsSampleTime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_SignalStatistics_QueryInterface(IBDA_SignalStatistics* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_SignalStatistics_AddRef(IBDA_SignalStatistics* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_SignalStatistics_Release(IBDA_SignalStatistics* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_SignalStatistics methods ***/ +static FORCEINLINE HRESULT IBDA_SignalStatistics_put_SignalStrength(IBDA_SignalStatistics* This,LONG lDbStrength) { + return This->lpVtbl->put_SignalStrength(This,lDbStrength); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_get_SignalStrength(IBDA_SignalStatistics* This,LONG *plDbStrength) { + return This->lpVtbl->get_SignalStrength(This,plDbStrength); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_put_SignalQuality(IBDA_SignalStatistics* This,LONG lPercentQuality) { + return This->lpVtbl->put_SignalQuality(This,lPercentQuality); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_get_SignalQuality(IBDA_SignalStatistics* This,LONG *plPercentQuality) { + return This->lpVtbl->get_SignalQuality(This,plPercentQuality); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_put_SignalPresent(IBDA_SignalStatistics* This,BOOLEAN fPresent) { + return This->lpVtbl->put_SignalPresent(This,fPresent); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_get_SignalPresent(IBDA_SignalStatistics* This,BOOLEAN *pfPresent) { + return This->lpVtbl->get_SignalPresent(This,pfPresent); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_put_SignalLocked(IBDA_SignalStatistics* This,BOOLEAN fLocked) { + return This->lpVtbl->put_SignalLocked(This,fLocked); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_get_SignalLocked(IBDA_SignalStatistics* This,BOOLEAN *pfLocked) { + return This->lpVtbl->get_SignalLocked(This,pfLocked); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_put_SampleTime(IBDA_SignalStatistics* This,LONG lmsSampleTime) { + return This->lpVtbl->put_SampleTime(This,lmsSampleTime); +} +static FORCEINLINE HRESULT IBDA_SignalStatistics_get_SampleTime(IBDA_SignalStatistics* This,LONG *plmsSampleTime) { + return This->lpVtbl->get_SampleTime(This,plmsSampleTime); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_SignalStatistics_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_Topology interface + */ +#ifndef __IBDA_Topology_INTERFACE_DEFINED__ +#define __IBDA_Topology_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_Topology, 0x79b56888, 0x7fea, 0x4690, 0xb4,0x5d, 0x38,0xfd,0x3c,0x78,0x49,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79b56888-7fea-4690-b45d-38fd3c7849be") +IBDA_Topology : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNodeTypes( + ULONG *pulcNodeTypes, + ULONG ulcNodeTypesMax, + ULONG rgulNodeTypes[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeDescriptors( + ULONG *ulcNodeDescriptors, + ULONG ulcNodeDescriptorsMax, + BDANODE_DESCRIPTOR rgNodeDescriptors[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeInterfaces( + ULONG ulNodeType, + ULONG *pulcInterfaces, + ULONG ulcInterfacesMax, + GUID rgguidInterfaces[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPinTypes( + ULONG *pulcPinTypes, + ULONG ulcPinTypesMax, + ULONG rgulPinTypes[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTemplateConnections( + ULONG *pulcConnections, + ULONG ulcConnectionsMax, + BDA_TEMPLATE_CONNECTION rgConnections[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePin( + ULONG ulPinType, + ULONG *pulPinId) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeletePin( + ULONG ulPinId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaType( + ULONG ulPinId, + AM_MEDIA_TYPE *pMediaType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMedium( + ULONG ulPinId, + REGPINMEDIUM *pMedium) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTopology( + ULONG ulInputPinId, + ULONG ulOutputPinId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlNode( + ULONG ulInputPinId, + ULONG ulOutputPinId, + ULONG ulNodeType, + IUnknown **ppControlNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_Topology, 0x79b56888, 0x7fea, 0x4690, 0xb4,0x5d, 0x38,0xfd,0x3c,0x78,0x49,0xbe) +#endif +#else +typedef struct IBDA_TopologyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_Topology *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_Topology *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_Topology *This); + + /*** IBDA_Topology methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNodeTypes)( + IBDA_Topology *This, + ULONG *pulcNodeTypes, + ULONG ulcNodeTypesMax, + ULONG rgulNodeTypes[]); + + HRESULT (STDMETHODCALLTYPE *GetNodeDescriptors)( + IBDA_Topology *This, + ULONG *ulcNodeDescriptors, + ULONG ulcNodeDescriptorsMax, + BDANODE_DESCRIPTOR rgNodeDescriptors[]); + + HRESULT (STDMETHODCALLTYPE *GetNodeInterfaces)( + IBDA_Topology *This, + ULONG ulNodeType, + ULONG *pulcInterfaces, + ULONG ulcInterfacesMax, + GUID rgguidInterfaces[]); + + HRESULT (STDMETHODCALLTYPE *GetPinTypes)( + IBDA_Topology *This, + ULONG *pulcPinTypes, + ULONG ulcPinTypesMax, + ULONG rgulPinTypes[]); + + HRESULT (STDMETHODCALLTYPE *GetTemplateConnections)( + IBDA_Topology *This, + ULONG *pulcConnections, + ULONG ulcConnectionsMax, + BDA_TEMPLATE_CONNECTION rgConnections[]); + + HRESULT (STDMETHODCALLTYPE *CreatePin)( + IBDA_Topology *This, + ULONG ulPinType, + ULONG *pulPinId); + + HRESULT (STDMETHODCALLTYPE *DeletePin)( + IBDA_Topology *This, + ULONG ulPinId); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IBDA_Topology *This, + ULONG ulPinId, + AM_MEDIA_TYPE *pMediaType); + + HRESULT (STDMETHODCALLTYPE *SetMedium)( + IBDA_Topology *This, + ULONG ulPinId, + REGPINMEDIUM *pMedium); + + HRESULT (STDMETHODCALLTYPE *CreateTopology)( + IBDA_Topology *This, + ULONG ulInputPinId, + ULONG ulOutputPinId); + + HRESULT (STDMETHODCALLTYPE *GetControlNode)( + IBDA_Topology *This, + ULONG ulInputPinId, + ULONG ulOutputPinId, + ULONG ulNodeType, + IUnknown **ppControlNode); + + END_INTERFACE +} IBDA_TopologyVtbl; + +interface IBDA_Topology { + CONST_VTBL IBDA_TopologyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_Topology_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_Topology_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_Topology_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_Topology methods ***/ +#define IBDA_Topology_GetNodeTypes(This,pulcNodeTypes,ulcNodeTypesMax,rgulNodeTypes) (This)->lpVtbl->GetNodeTypes(This,pulcNodeTypes,ulcNodeTypesMax,rgulNodeTypes) +#define IBDA_Topology_GetNodeDescriptors(This,ulcNodeDescriptors,ulcNodeDescriptorsMax,rgNodeDescriptors) (This)->lpVtbl->GetNodeDescriptors(This,ulcNodeDescriptors,ulcNodeDescriptorsMax,rgNodeDescriptors) +#define IBDA_Topology_GetNodeInterfaces(This,ulNodeType,pulcInterfaces,ulcInterfacesMax,rgguidInterfaces) (This)->lpVtbl->GetNodeInterfaces(This,ulNodeType,pulcInterfaces,ulcInterfacesMax,rgguidInterfaces) +#define IBDA_Topology_GetPinTypes(This,pulcPinTypes,ulcPinTypesMax,rgulPinTypes) (This)->lpVtbl->GetPinTypes(This,pulcPinTypes,ulcPinTypesMax,rgulPinTypes) +#define IBDA_Topology_GetTemplateConnections(This,pulcConnections,ulcConnectionsMax,rgConnections) (This)->lpVtbl->GetTemplateConnections(This,pulcConnections,ulcConnectionsMax,rgConnections) +#define IBDA_Topology_CreatePin(This,ulPinType,pulPinId) (This)->lpVtbl->CreatePin(This,ulPinType,pulPinId) +#define IBDA_Topology_DeletePin(This,ulPinId) (This)->lpVtbl->DeletePin(This,ulPinId) +#define IBDA_Topology_SetMediaType(This,ulPinId,pMediaType) (This)->lpVtbl->SetMediaType(This,ulPinId,pMediaType) +#define IBDA_Topology_SetMedium(This,ulPinId,pMedium) (This)->lpVtbl->SetMedium(This,ulPinId,pMedium) +#define IBDA_Topology_CreateTopology(This,ulInputPinId,ulOutputPinId) (This)->lpVtbl->CreateTopology(This,ulInputPinId,ulOutputPinId) +#define IBDA_Topology_GetControlNode(This,ulInputPinId,ulOutputPinId,ulNodeType,ppControlNode) (This)->lpVtbl->GetControlNode(This,ulInputPinId,ulOutputPinId,ulNodeType,ppControlNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_Topology_QueryInterface(IBDA_Topology* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_Topology_AddRef(IBDA_Topology* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_Topology_Release(IBDA_Topology* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_Topology methods ***/ +static FORCEINLINE HRESULT IBDA_Topology_GetNodeTypes(IBDA_Topology* This,ULONG *pulcNodeTypes,ULONG ulcNodeTypesMax,ULONG rgulNodeTypes[]) { + return This->lpVtbl->GetNodeTypes(This,pulcNodeTypes,ulcNodeTypesMax,rgulNodeTypes); +} +static FORCEINLINE HRESULT IBDA_Topology_GetNodeDescriptors(IBDA_Topology* This,ULONG *ulcNodeDescriptors,ULONG ulcNodeDescriptorsMax,BDANODE_DESCRIPTOR rgNodeDescriptors[]) { + return This->lpVtbl->GetNodeDescriptors(This,ulcNodeDescriptors,ulcNodeDescriptorsMax,rgNodeDescriptors); +} +static FORCEINLINE HRESULT IBDA_Topology_GetNodeInterfaces(IBDA_Topology* This,ULONG ulNodeType,ULONG *pulcInterfaces,ULONG ulcInterfacesMax,GUID rgguidInterfaces[]) { + return This->lpVtbl->GetNodeInterfaces(This,ulNodeType,pulcInterfaces,ulcInterfacesMax,rgguidInterfaces); +} +static FORCEINLINE HRESULT IBDA_Topology_GetPinTypes(IBDA_Topology* This,ULONG *pulcPinTypes,ULONG ulcPinTypesMax,ULONG rgulPinTypes[]) { + return This->lpVtbl->GetPinTypes(This,pulcPinTypes,ulcPinTypesMax,rgulPinTypes); +} +static FORCEINLINE HRESULT IBDA_Topology_GetTemplateConnections(IBDA_Topology* This,ULONG *pulcConnections,ULONG ulcConnectionsMax,BDA_TEMPLATE_CONNECTION rgConnections[]) { + return This->lpVtbl->GetTemplateConnections(This,pulcConnections,ulcConnectionsMax,rgConnections); +} +static FORCEINLINE HRESULT IBDA_Topology_CreatePin(IBDA_Topology* This,ULONG ulPinType,ULONG *pulPinId) { + return This->lpVtbl->CreatePin(This,ulPinType,pulPinId); +} +static FORCEINLINE HRESULT IBDA_Topology_DeletePin(IBDA_Topology* This,ULONG ulPinId) { + return This->lpVtbl->DeletePin(This,ulPinId); +} +static FORCEINLINE HRESULT IBDA_Topology_SetMediaType(IBDA_Topology* This,ULONG ulPinId,AM_MEDIA_TYPE *pMediaType) { + return This->lpVtbl->SetMediaType(This,ulPinId,pMediaType); +} +static FORCEINLINE HRESULT IBDA_Topology_SetMedium(IBDA_Topology* This,ULONG ulPinId,REGPINMEDIUM *pMedium) { + return This->lpVtbl->SetMedium(This,ulPinId,pMedium); +} +static FORCEINLINE HRESULT IBDA_Topology_CreateTopology(IBDA_Topology* This,ULONG ulInputPinId,ULONG ulOutputPinId) { + return This->lpVtbl->CreateTopology(This,ulInputPinId,ulOutputPinId); +} +static FORCEINLINE HRESULT IBDA_Topology_GetControlNode(IBDA_Topology* This,ULONG ulInputPinId,ULONG ulOutputPinId,ULONG ulNodeType,IUnknown **ppControlNode) { + return This->lpVtbl->GetControlNode(This,ulInputPinId,ulOutputPinId,ulNodeType,ppControlNode); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_Topology_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_VoidTransform interface + */ +#ifndef __IBDA_VoidTransform_INTERFACE_DEFINED__ +#define __IBDA_VoidTransform_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_VoidTransform, 0x71985f46, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71985f46-1ca1-11d3-9cc8-00c04f7971e0") +IBDA_VoidTransform : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_VoidTransform, 0x71985f46, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_VoidTransformVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_VoidTransform *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_VoidTransform *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_VoidTransform *This); + + /*** IBDA_VoidTransform methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IBDA_VoidTransform *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IBDA_VoidTransform *This); + + END_INTERFACE +} IBDA_VoidTransformVtbl; + +interface IBDA_VoidTransform { + CONST_VTBL IBDA_VoidTransformVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_VoidTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_VoidTransform_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_VoidTransform_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_VoidTransform methods ***/ +#define IBDA_VoidTransform_Start(This) (This)->lpVtbl->Start(This) +#define IBDA_VoidTransform_Stop(This) (This)->lpVtbl->Stop(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_VoidTransform_QueryInterface(IBDA_VoidTransform* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_VoidTransform_AddRef(IBDA_VoidTransform* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_VoidTransform_Release(IBDA_VoidTransform* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_VoidTransform methods ***/ +static FORCEINLINE HRESULT IBDA_VoidTransform_Start(IBDA_VoidTransform* This) { + return This->lpVtbl->Start(This); +} +static FORCEINLINE HRESULT IBDA_VoidTransform_Stop(IBDA_VoidTransform* This) { + return This->lpVtbl->Stop(This); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_VoidTransform_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_NullTransform interface + */ +#ifndef __IBDA_NullTransform_INTERFACE_DEFINED__ +#define __IBDA_NullTransform_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_NullTransform, 0xddf15b0d, 0xbd25, 0x11d2, 0x9c,0xa0, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ddf15b0d-bd25-11d2-9ca0-00c04f7971e0") +IBDA_NullTransform : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_NullTransform, 0xddf15b0d, 0xbd25, 0x11d2, 0x9c,0xa0, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_NullTransformVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_NullTransform *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_NullTransform *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_NullTransform *This); + + /*** IBDA_NullTransform methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IBDA_NullTransform *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IBDA_NullTransform *This); + + END_INTERFACE +} IBDA_NullTransformVtbl; + +interface IBDA_NullTransform { + CONST_VTBL IBDA_NullTransformVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_NullTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_NullTransform_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_NullTransform_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_NullTransform methods ***/ +#define IBDA_NullTransform_Start(This) (This)->lpVtbl->Start(This) +#define IBDA_NullTransform_Stop(This) (This)->lpVtbl->Stop(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_NullTransform_QueryInterface(IBDA_NullTransform* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_NullTransform_AddRef(IBDA_NullTransform* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_NullTransform_Release(IBDA_NullTransform* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_NullTransform methods ***/ +static FORCEINLINE HRESULT IBDA_NullTransform_Start(IBDA_NullTransform* This) { + return This->lpVtbl->Start(This); +} +static FORCEINLINE HRESULT IBDA_NullTransform_Stop(IBDA_NullTransform* This) { + return This->lpVtbl->Stop(This); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_NullTransform_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_FrequencyFilter interface + */ +#ifndef __IBDA_FrequencyFilter_INTERFACE_DEFINED__ +#define __IBDA_FrequencyFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_FrequencyFilter, 0x71985f47, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71985f47-1ca1-11d3-9cc8-00c04f7971e0") +IBDA_FrequencyFilter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_Autotune( + ULONG ulTransponder) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Autotune( + ULONG *pulTransponder) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Frequency( + ULONG ulFrequency) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Frequency( + ULONG *pulFrequency) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Polarity( + Polarisation Polarity) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Polarity( + Polarisation *pPolarity) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Range( + ULONG ulRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Range( + ULONG *pulRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Bandwidth( + ULONG ulBandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Bandwidth( + ULONG *pulBandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FrequencyMultiplier( + ULONG ulMultiplier) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FrequencyMultiplier( + ULONG *pulMultiplier) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_FrequencyFilter, 0x71985f47, 0x1ca1, 0x11d3, 0x9c,0xc8, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_FrequencyFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_FrequencyFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_FrequencyFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_FrequencyFilter *This); + + /*** IBDA_FrequencyFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *put_Autotune)( + IBDA_FrequencyFilter *This, + ULONG ulTransponder); + + HRESULT (STDMETHODCALLTYPE *get_Autotune)( + IBDA_FrequencyFilter *This, + ULONG *pulTransponder); + + HRESULT (STDMETHODCALLTYPE *put_Frequency)( + IBDA_FrequencyFilter *This, + ULONG ulFrequency); + + HRESULT (STDMETHODCALLTYPE *get_Frequency)( + IBDA_FrequencyFilter *This, + ULONG *pulFrequency); + + HRESULT (STDMETHODCALLTYPE *put_Polarity)( + IBDA_FrequencyFilter *This, + Polarisation Polarity); + + HRESULT (STDMETHODCALLTYPE *get_Polarity)( + IBDA_FrequencyFilter *This, + Polarisation *pPolarity); + + HRESULT (STDMETHODCALLTYPE *put_Range)( + IBDA_FrequencyFilter *This, + ULONG ulRange); + + HRESULT (STDMETHODCALLTYPE *get_Range)( + IBDA_FrequencyFilter *This, + ULONG *pulRange); + + HRESULT (STDMETHODCALLTYPE *put_Bandwidth)( + IBDA_FrequencyFilter *This, + ULONG ulBandwidth); + + HRESULT (STDMETHODCALLTYPE *get_Bandwidth)( + IBDA_FrequencyFilter *This, + ULONG *pulBandwidth); + + HRESULT (STDMETHODCALLTYPE *put_FrequencyMultiplier)( + IBDA_FrequencyFilter *This, + ULONG ulMultiplier); + + HRESULT (STDMETHODCALLTYPE *get_FrequencyMultiplier)( + IBDA_FrequencyFilter *This, + ULONG *pulMultiplier); + + END_INTERFACE +} IBDA_FrequencyFilterVtbl; + +interface IBDA_FrequencyFilter { + CONST_VTBL IBDA_FrequencyFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_FrequencyFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_FrequencyFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_FrequencyFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_FrequencyFilter methods ***/ +#define IBDA_FrequencyFilter_put_Autotune(This,ulTransponder) (This)->lpVtbl->put_Autotune(This,ulTransponder) +#define IBDA_FrequencyFilter_get_Autotune(This,pulTransponder) (This)->lpVtbl->get_Autotune(This,pulTransponder) +#define IBDA_FrequencyFilter_put_Frequency(This,ulFrequency) (This)->lpVtbl->put_Frequency(This,ulFrequency) +#define IBDA_FrequencyFilter_get_Frequency(This,pulFrequency) (This)->lpVtbl->get_Frequency(This,pulFrequency) +#define IBDA_FrequencyFilter_put_Polarity(This,Polarity) (This)->lpVtbl->put_Polarity(This,Polarity) +#define IBDA_FrequencyFilter_get_Polarity(This,pPolarity) (This)->lpVtbl->get_Polarity(This,pPolarity) +#define IBDA_FrequencyFilter_put_Range(This,ulRange) (This)->lpVtbl->put_Range(This,ulRange) +#define IBDA_FrequencyFilter_get_Range(This,pulRange) (This)->lpVtbl->get_Range(This,pulRange) +#define IBDA_FrequencyFilter_put_Bandwidth(This,ulBandwidth) (This)->lpVtbl->put_Bandwidth(This,ulBandwidth) +#define IBDA_FrequencyFilter_get_Bandwidth(This,pulBandwidth) (This)->lpVtbl->get_Bandwidth(This,pulBandwidth) +#define IBDA_FrequencyFilter_put_FrequencyMultiplier(This,ulMultiplier) (This)->lpVtbl->put_FrequencyMultiplier(This,ulMultiplier) +#define IBDA_FrequencyFilter_get_FrequencyMultiplier(This,pulMultiplier) (This)->lpVtbl->get_FrequencyMultiplier(This,pulMultiplier) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_FrequencyFilter_QueryInterface(IBDA_FrequencyFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_FrequencyFilter_AddRef(IBDA_FrequencyFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_FrequencyFilter_Release(IBDA_FrequencyFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_FrequencyFilter methods ***/ +static FORCEINLINE HRESULT IBDA_FrequencyFilter_put_Autotune(IBDA_FrequencyFilter* This,ULONG ulTransponder) { + return This->lpVtbl->put_Autotune(This,ulTransponder); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_get_Autotune(IBDA_FrequencyFilter* This,ULONG *pulTransponder) { + return This->lpVtbl->get_Autotune(This,pulTransponder); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_put_Frequency(IBDA_FrequencyFilter* This,ULONG ulFrequency) { + return This->lpVtbl->put_Frequency(This,ulFrequency); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_get_Frequency(IBDA_FrequencyFilter* This,ULONG *pulFrequency) { + return This->lpVtbl->get_Frequency(This,pulFrequency); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_put_Polarity(IBDA_FrequencyFilter* This,Polarisation Polarity) { + return This->lpVtbl->put_Polarity(This,Polarity); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_get_Polarity(IBDA_FrequencyFilter* This,Polarisation *pPolarity) { + return This->lpVtbl->get_Polarity(This,pPolarity); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_put_Range(IBDA_FrequencyFilter* This,ULONG ulRange) { + return This->lpVtbl->put_Range(This,ulRange); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_get_Range(IBDA_FrequencyFilter* This,ULONG *pulRange) { + return This->lpVtbl->get_Range(This,pulRange); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_put_Bandwidth(IBDA_FrequencyFilter* This,ULONG ulBandwidth) { + return This->lpVtbl->put_Bandwidth(This,ulBandwidth); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_get_Bandwidth(IBDA_FrequencyFilter* This,ULONG *pulBandwidth) { + return This->lpVtbl->get_Bandwidth(This,pulBandwidth); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_put_FrequencyMultiplier(IBDA_FrequencyFilter* This,ULONG ulMultiplier) { + return This->lpVtbl->put_FrequencyMultiplier(This,ulMultiplier); +} +static FORCEINLINE HRESULT IBDA_FrequencyFilter_get_FrequencyMultiplier(IBDA_FrequencyFilter* This,ULONG *pulMultiplier) { + return This->lpVtbl->get_FrequencyMultiplier(This,pulMultiplier); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_FrequencyFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_LNBInfo interface + */ +#ifndef __IBDA_LNBInfo_INTERFACE_DEFINED__ +#define __IBDA_LNBInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_LNBInfo, 0x992cf102, 0x49f9, 0x4719, 0xa6,0x64, 0xc4,0xf2,0x3e,0x24,0x08,0xf4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("992cf102-49f9-4719-a664-c4f23e2408f4") +IBDA_LNBInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_LocalOscilatorFrequencyLowBand( + ULONG ulLOFLow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocalOscilatorFrequencyLowBand( + ULONG *pulLOFLow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LocalOscilatorFrequencyHighBand( + ULONG ulLOFHigh) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocalOscilatorFrequencyHighBand( + ULONG *pulLOFHigh) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_HighLowSwitchFrequency( + ULONG ulSwitchFrequency) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HighLowSwitchFrequency( + ULONG *pulSwitchFrequency) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_LNBInfo, 0x992cf102, 0x49f9, 0x4719, 0xa6,0x64, 0xc4,0xf2,0x3e,0x24,0x08,0xf4) +#endif +#else +typedef struct IBDA_LNBInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_LNBInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_LNBInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_LNBInfo *This); + + /*** IBDA_LNBInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *put_LocalOscilatorFrequencyLowBand)( + IBDA_LNBInfo *This, + ULONG ulLOFLow); + + HRESULT (STDMETHODCALLTYPE *get_LocalOscilatorFrequencyLowBand)( + IBDA_LNBInfo *This, + ULONG *pulLOFLow); + + HRESULT (STDMETHODCALLTYPE *put_LocalOscilatorFrequencyHighBand)( + IBDA_LNBInfo *This, + ULONG ulLOFHigh); + + HRESULT (STDMETHODCALLTYPE *get_LocalOscilatorFrequencyHighBand)( + IBDA_LNBInfo *This, + ULONG *pulLOFHigh); + + HRESULT (STDMETHODCALLTYPE *put_HighLowSwitchFrequency)( + IBDA_LNBInfo *This, + ULONG ulSwitchFrequency); + + HRESULT (STDMETHODCALLTYPE *get_HighLowSwitchFrequency)( + IBDA_LNBInfo *This, + ULONG *pulSwitchFrequency); + + END_INTERFACE +} IBDA_LNBInfoVtbl; + +interface IBDA_LNBInfo { + CONST_VTBL IBDA_LNBInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_LNBInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_LNBInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_LNBInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_LNBInfo methods ***/ +#define IBDA_LNBInfo_put_LocalOscilatorFrequencyLowBand(This,ulLOFLow) (This)->lpVtbl->put_LocalOscilatorFrequencyLowBand(This,ulLOFLow) +#define IBDA_LNBInfo_get_LocalOscilatorFrequencyLowBand(This,pulLOFLow) (This)->lpVtbl->get_LocalOscilatorFrequencyLowBand(This,pulLOFLow) +#define IBDA_LNBInfo_put_LocalOscilatorFrequencyHighBand(This,ulLOFHigh) (This)->lpVtbl->put_LocalOscilatorFrequencyHighBand(This,ulLOFHigh) +#define IBDA_LNBInfo_get_LocalOscilatorFrequencyHighBand(This,pulLOFHigh) (This)->lpVtbl->get_LocalOscilatorFrequencyHighBand(This,pulLOFHigh) +#define IBDA_LNBInfo_put_HighLowSwitchFrequency(This,ulSwitchFrequency) (This)->lpVtbl->put_HighLowSwitchFrequency(This,ulSwitchFrequency) +#define IBDA_LNBInfo_get_HighLowSwitchFrequency(This,pulSwitchFrequency) (This)->lpVtbl->get_HighLowSwitchFrequency(This,pulSwitchFrequency) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_LNBInfo_QueryInterface(IBDA_LNBInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_LNBInfo_AddRef(IBDA_LNBInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_LNBInfo_Release(IBDA_LNBInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_LNBInfo methods ***/ +static FORCEINLINE HRESULT IBDA_LNBInfo_put_LocalOscilatorFrequencyLowBand(IBDA_LNBInfo* This,ULONG ulLOFLow) { + return This->lpVtbl->put_LocalOscilatorFrequencyLowBand(This,ulLOFLow); +} +static FORCEINLINE HRESULT IBDA_LNBInfo_get_LocalOscilatorFrequencyLowBand(IBDA_LNBInfo* This,ULONG *pulLOFLow) { + return This->lpVtbl->get_LocalOscilatorFrequencyLowBand(This,pulLOFLow); +} +static FORCEINLINE HRESULT IBDA_LNBInfo_put_LocalOscilatorFrequencyHighBand(IBDA_LNBInfo* This,ULONG ulLOFHigh) { + return This->lpVtbl->put_LocalOscilatorFrequencyHighBand(This,ulLOFHigh); +} +static FORCEINLINE HRESULT IBDA_LNBInfo_get_LocalOscilatorFrequencyHighBand(IBDA_LNBInfo* This,ULONG *pulLOFHigh) { + return This->lpVtbl->get_LocalOscilatorFrequencyHighBand(This,pulLOFHigh); +} +static FORCEINLINE HRESULT IBDA_LNBInfo_put_HighLowSwitchFrequency(IBDA_LNBInfo* This,ULONG ulSwitchFrequency) { + return This->lpVtbl->put_HighLowSwitchFrequency(This,ulSwitchFrequency); +} +static FORCEINLINE HRESULT IBDA_LNBInfo_get_HighLowSwitchFrequency(IBDA_LNBInfo* This,ULONG *pulSwitchFrequency) { + return This->lpVtbl->get_HighLowSwitchFrequency(This,pulSwitchFrequency); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_LNBInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DiseqCommand interface + */ +#ifndef __IBDA_DiseqCommand_INTERFACE_DEFINED__ +#define __IBDA_DiseqCommand_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DiseqCommand, 0xf84e2ab0, 0x3c6b, 0x45e3, 0xa0,0xfc, 0x86,0x69,0xd4,0xb8,0x1f,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f84e2ab0-3c6b-45e3-a0fc-8669d4b81f11") +IBDA_DiseqCommand : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_EnableDiseqCommands( + BOOLEAN bEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DiseqLNBSource( + ULONG ulLNBSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DiseqUseToneBurst( + BOOLEAN bUseToneBurst) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DiseqRepeats( + ULONG ulRepeats) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DiseqSendCommand( + ULONG ulRequestId, + ULONG ulcbCommandLen, + BYTE *pbCommand) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DiseqResponse( + ULONG ulRequestId, + ULONG *pulcbResponseLen, + BYTE pbResponse[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DiseqCommand, 0xf84e2ab0, 0x3c6b, 0x45e3, 0xa0,0xfc, 0x86,0x69,0xd4,0xb8,0x1f,0x11) +#endif +#else +typedef struct IBDA_DiseqCommandVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DiseqCommand *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DiseqCommand *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DiseqCommand *This); + + /*** IBDA_DiseqCommand methods ***/ + HRESULT (STDMETHODCALLTYPE *put_EnableDiseqCommands)( + IBDA_DiseqCommand *This, + BOOLEAN bEnable); + + HRESULT (STDMETHODCALLTYPE *put_DiseqLNBSource)( + IBDA_DiseqCommand *This, + ULONG ulLNBSource); + + HRESULT (STDMETHODCALLTYPE *put_DiseqUseToneBurst)( + IBDA_DiseqCommand *This, + BOOLEAN bUseToneBurst); + + HRESULT (STDMETHODCALLTYPE *put_DiseqRepeats)( + IBDA_DiseqCommand *This, + ULONG ulRepeats); + + HRESULT (STDMETHODCALLTYPE *put_DiseqSendCommand)( + IBDA_DiseqCommand *This, + ULONG ulRequestId, + ULONG ulcbCommandLen, + BYTE *pbCommand); + + HRESULT (STDMETHODCALLTYPE *get_DiseqResponse)( + IBDA_DiseqCommand *This, + ULONG ulRequestId, + ULONG *pulcbResponseLen, + BYTE pbResponse[]); + + END_INTERFACE +} IBDA_DiseqCommandVtbl; + +interface IBDA_DiseqCommand { + CONST_VTBL IBDA_DiseqCommandVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DiseqCommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DiseqCommand_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DiseqCommand_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DiseqCommand methods ***/ +#define IBDA_DiseqCommand_put_EnableDiseqCommands(This,bEnable) (This)->lpVtbl->put_EnableDiseqCommands(This,bEnable) +#define IBDA_DiseqCommand_put_DiseqLNBSource(This,ulLNBSource) (This)->lpVtbl->put_DiseqLNBSource(This,ulLNBSource) +#define IBDA_DiseqCommand_put_DiseqUseToneBurst(This,bUseToneBurst) (This)->lpVtbl->put_DiseqUseToneBurst(This,bUseToneBurst) +#define IBDA_DiseqCommand_put_DiseqRepeats(This,ulRepeats) (This)->lpVtbl->put_DiseqRepeats(This,ulRepeats) +#define IBDA_DiseqCommand_put_DiseqSendCommand(This,ulRequestId,ulcbCommandLen,pbCommand) (This)->lpVtbl->put_DiseqSendCommand(This,ulRequestId,ulcbCommandLen,pbCommand) +#define IBDA_DiseqCommand_get_DiseqResponse(This,ulRequestId,pulcbResponseLen,pbResponse) (This)->lpVtbl->get_DiseqResponse(This,ulRequestId,pulcbResponseLen,pbResponse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DiseqCommand_QueryInterface(IBDA_DiseqCommand* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DiseqCommand_AddRef(IBDA_DiseqCommand* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DiseqCommand_Release(IBDA_DiseqCommand* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DiseqCommand methods ***/ +static FORCEINLINE HRESULT IBDA_DiseqCommand_put_EnableDiseqCommands(IBDA_DiseqCommand* This,BOOLEAN bEnable) { + return This->lpVtbl->put_EnableDiseqCommands(This,bEnable); +} +static FORCEINLINE HRESULT IBDA_DiseqCommand_put_DiseqLNBSource(IBDA_DiseqCommand* This,ULONG ulLNBSource) { + return This->lpVtbl->put_DiseqLNBSource(This,ulLNBSource); +} +static FORCEINLINE HRESULT IBDA_DiseqCommand_put_DiseqUseToneBurst(IBDA_DiseqCommand* This,BOOLEAN bUseToneBurst) { + return This->lpVtbl->put_DiseqUseToneBurst(This,bUseToneBurst); +} +static FORCEINLINE HRESULT IBDA_DiseqCommand_put_DiseqRepeats(IBDA_DiseqCommand* This,ULONG ulRepeats) { + return This->lpVtbl->put_DiseqRepeats(This,ulRepeats); +} +static FORCEINLINE HRESULT IBDA_DiseqCommand_put_DiseqSendCommand(IBDA_DiseqCommand* This,ULONG ulRequestId,ULONG ulcbCommandLen,BYTE *pbCommand) { + return This->lpVtbl->put_DiseqSendCommand(This,ulRequestId,ulcbCommandLen,pbCommand); +} +static FORCEINLINE HRESULT IBDA_DiseqCommand_get_DiseqResponse(IBDA_DiseqCommand* This,ULONG ulRequestId,ULONG *pulcbResponseLen,BYTE pbResponse[]) { + return This->lpVtbl->get_DiseqResponse(This,ulRequestId,pulcbResponseLen,pbResponse); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DiseqCommand_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_AutoDemodulate interface + */ +#ifndef __IBDA_AutoDemodulate_INTERFACE_DEFINED__ +#define __IBDA_AutoDemodulate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_AutoDemodulate, 0xddf15b12, 0xbd25, 0x11d2, 0x9c,0xa0, 0x00,0xc0,0x4f,0x79,0x71,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ddf15b12-bd25-11d2-9ca0-00c04f7971e0") +IBDA_AutoDemodulate : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_AutoDemodulate( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_AutoDemodulate, 0xddf15b12, 0xbd25, 0x11d2, 0x9c,0xa0, 0x00,0xc0,0x4f,0x79,0x71,0xe0) +#endif +#else +typedef struct IBDA_AutoDemodulateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_AutoDemodulate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_AutoDemodulate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_AutoDemodulate *This); + + /*** IBDA_AutoDemodulate methods ***/ + HRESULT (STDMETHODCALLTYPE *put_AutoDemodulate)( + IBDA_AutoDemodulate *This); + + END_INTERFACE +} IBDA_AutoDemodulateVtbl; + +interface IBDA_AutoDemodulate { + CONST_VTBL IBDA_AutoDemodulateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_AutoDemodulate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_AutoDemodulate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_AutoDemodulate_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_AutoDemodulate methods ***/ +#define IBDA_AutoDemodulate_put_AutoDemodulate(This) (This)->lpVtbl->put_AutoDemodulate(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_AutoDemodulate_QueryInterface(IBDA_AutoDemodulate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_AutoDemodulate_AddRef(IBDA_AutoDemodulate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_AutoDemodulate_Release(IBDA_AutoDemodulate* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_AutoDemodulate methods ***/ +static FORCEINLINE HRESULT IBDA_AutoDemodulate_put_AutoDemodulate(IBDA_AutoDemodulate* This) { + return This->lpVtbl->put_AutoDemodulate(This); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_AutoDemodulate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_AutoDemodulateEx interface + */ +#ifndef __IBDA_AutoDemodulateEx_INTERFACE_DEFINED__ +#define __IBDA_AutoDemodulateEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_AutoDemodulateEx, 0x34518d13, 0x1182, 0x48e6, 0xb2,0x8f, 0xb2,0x49,0x87,0x78,0x73,0x26); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("34518d13-1182-48e6-b28f-b24987787326") +IBDA_AutoDemodulateEx : public IBDA_AutoDemodulate +{ + virtual HRESULT STDMETHODCALLTYPE get_SupportedDeviceNodeTypes( + ULONG ulcDeviceNodeTypesMax, + ULONG *pulcDeviceNodeTypes, + GUID *pguidDeviceNodeTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SupportedVideoFormats( + ULONG *pulAMTunerModeType, + ULONG *pulAnalogVideoStandard) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AuxInputCount( + ULONG *pulCompositeCount, + ULONG *pulSvideoCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_AutoDemodulateEx, 0x34518d13, 0x1182, 0x48e6, 0xb2,0x8f, 0xb2,0x49,0x87,0x78,0x73,0x26) +#endif +#else +typedef struct IBDA_AutoDemodulateExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_AutoDemodulateEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_AutoDemodulateEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_AutoDemodulateEx *This); + + /*** IBDA_AutoDemodulate methods ***/ + HRESULT (STDMETHODCALLTYPE *put_AutoDemodulate)( + IBDA_AutoDemodulateEx *This); + + /*** IBDA_AutoDemodulateEx methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SupportedDeviceNodeTypes)( + IBDA_AutoDemodulateEx *This, + ULONG ulcDeviceNodeTypesMax, + ULONG *pulcDeviceNodeTypes, + GUID *pguidDeviceNodeTypes); + + HRESULT (STDMETHODCALLTYPE *get_SupportedVideoFormats)( + IBDA_AutoDemodulateEx *This, + ULONG *pulAMTunerModeType, + ULONG *pulAnalogVideoStandard); + + HRESULT (STDMETHODCALLTYPE *get_AuxInputCount)( + IBDA_AutoDemodulateEx *This, + ULONG *pulCompositeCount, + ULONG *pulSvideoCount); + + END_INTERFACE +} IBDA_AutoDemodulateExVtbl; + +interface IBDA_AutoDemodulateEx { + CONST_VTBL IBDA_AutoDemodulateExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_AutoDemodulateEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_AutoDemodulateEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_AutoDemodulateEx_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_AutoDemodulate methods ***/ +#define IBDA_AutoDemodulateEx_put_AutoDemodulate(This) (This)->lpVtbl->put_AutoDemodulate(This) +/*** IBDA_AutoDemodulateEx methods ***/ +#define IBDA_AutoDemodulateEx_get_SupportedDeviceNodeTypes(This,ulcDeviceNodeTypesMax,pulcDeviceNodeTypes,pguidDeviceNodeTypes) (This)->lpVtbl->get_SupportedDeviceNodeTypes(This,ulcDeviceNodeTypesMax,pulcDeviceNodeTypes,pguidDeviceNodeTypes) +#define IBDA_AutoDemodulateEx_get_SupportedVideoFormats(This,pulAMTunerModeType,pulAnalogVideoStandard) (This)->lpVtbl->get_SupportedVideoFormats(This,pulAMTunerModeType,pulAnalogVideoStandard) +#define IBDA_AutoDemodulateEx_get_AuxInputCount(This,pulCompositeCount,pulSvideoCount) (This)->lpVtbl->get_AuxInputCount(This,pulCompositeCount,pulSvideoCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_AutoDemodulateEx_QueryInterface(IBDA_AutoDemodulateEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_AutoDemodulateEx_AddRef(IBDA_AutoDemodulateEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_AutoDemodulateEx_Release(IBDA_AutoDemodulateEx* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_AutoDemodulate methods ***/ +static FORCEINLINE HRESULT IBDA_AutoDemodulateEx_put_AutoDemodulate(IBDA_AutoDemodulateEx* This) { + return This->lpVtbl->put_AutoDemodulate(This); +} +/*** IBDA_AutoDemodulateEx methods ***/ +static FORCEINLINE HRESULT IBDA_AutoDemodulateEx_get_SupportedDeviceNodeTypes(IBDA_AutoDemodulateEx* This,ULONG ulcDeviceNodeTypesMax,ULONG *pulcDeviceNodeTypes,GUID *pguidDeviceNodeTypes) { + return This->lpVtbl->get_SupportedDeviceNodeTypes(This,ulcDeviceNodeTypesMax,pulcDeviceNodeTypes,pguidDeviceNodeTypes); +} +static FORCEINLINE HRESULT IBDA_AutoDemodulateEx_get_SupportedVideoFormats(IBDA_AutoDemodulateEx* This,ULONG *pulAMTunerModeType,ULONG *pulAnalogVideoStandard) { + return This->lpVtbl->get_SupportedVideoFormats(This,pulAMTunerModeType,pulAnalogVideoStandard); +} +static FORCEINLINE HRESULT IBDA_AutoDemodulateEx_get_AuxInputCount(IBDA_AutoDemodulateEx* This,ULONG *pulCompositeCount,ULONG *pulSvideoCount) { + return This->lpVtbl->get_AuxInputCount(This,pulCompositeCount,pulSvideoCount); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_AutoDemodulateEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DigitalDemodulator interface + */ +#ifndef __IBDA_DigitalDemodulator_INTERFACE_DEFINED__ +#define __IBDA_DigitalDemodulator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DigitalDemodulator, 0xef30f379, 0x985b, 0x4d10, 0xb6,0x40, 0xa7,0x9d,0x5e,0x04,0xe1,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ef30f379-985b-4d10-b640-a79d5e04e1e0") +IBDA_DigitalDemodulator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_ModulationType( + ModulationType *pModulationType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ModulationType( + ModulationType *pModulationType) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_InnerFECMethod( + FECMethod *pFECMethod) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InnerFECMethod( + FECMethod *pFECMethod) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_InnerFECRate( + BinaryConvolutionCodeRate *pFECRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InnerFECRate( + BinaryConvolutionCodeRate *pFECRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_OuterFECMethod( + FECMethod *pFECMethod) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OuterFECMethod( + FECMethod *pFECMethod) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_OuterFECRate( + BinaryConvolutionCodeRate *pFECRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OuterFECRate( + BinaryConvolutionCodeRate *pFECRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SymbolRate( + ULONG *pSymbolRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SymbolRate( + ULONG *pSymbolRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SpectralInversion( + SpectralInversion *pSpectralInversion) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SpectralInversion( + SpectralInversion *pSpectralInversion) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DigitalDemodulator, 0xef30f379, 0x985b, 0x4d10, 0xb6,0x40, 0xa7,0x9d,0x5e,0x04,0xe1,0xe0) +#endif +#else +typedef struct IBDA_DigitalDemodulatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DigitalDemodulator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DigitalDemodulator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DigitalDemodulator *This); + + /*** IBDA_DigitalDemodulator methods ***/ + HRESULT (STDMETHODCALLTYPE *put_ModulationType)( + IBDA_DigitalDemodulator *This, + ModulationType *pModulationType); + + HRESULT (STDMETHODCALLTYPE *get_ModulationType)( + IBDA_DigitalDemodulator *This, + ModulationType *pModulationType); + + HRESULT (STDMETHODCALLTYPE *put_InnerFECMethod)( + IBDA_DigitalDemodulator *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *get_InnerFECMethod)( + IBDA_DigitalDemodulator *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *put_InnerFECRate)( + IBDA_DigitalDemodulator *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *get_InnerFECRate)( + IBDA_DigitalDemodulator *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *put_OuterFECMethod)( + IBDA_DigitalDemodulator *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *get_OuterFECMethod)( + IBDA_DigitalDemodulator *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *put_OuterFECRate)( + IBDA_DigitalDemodulator *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *get_OuterFECRate)( + IBDA_DigitalDemodulator *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *put_SymbolRate)( + IBDA_DigitalDemodulator *This, + ULONG *pSymbolRate); + + HRESULT (STDMETHODCALLTYPE *get_SymbolRate)( + IBDA_DigitalDemodulator *This, + ULONG *pSymbolRate); + + HRESULT (STDMETHODCALLTYPE *put_SpectralInversion)( + IBDA_DigitalDemodulator *This, + SpectralInversion *pSpectralInversion); + + HRESULT (STDMETHODCALLTYPE *get_SpectralInversion)( + IBDA_DigitalDemodulator *This, + SpectralInversion *pSpectralInversion); + + END_INTERFACE +} IBDA_DigitalDemodulatorVtbl; + +interface IBDA_DigitalDemodulator { + CONST_VTBL IBDA_DigitalDemodulatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DigitalDemodulator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DigitalDemodulator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DigitalDemodulator_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DigitalDemodulator methods ***/ +#define IBDA_DigitalDemodulator_put_ModulationType(This,pModulationType) (This)->lpVtbl->put_ModulationType(This,pModulationType) +#define IBDA_DigitalDemodulator_get_ModulationType(This,pModulationType) (This)->lpVtbl->get_ModulationType(This,pModulationType) +#define IBDA_DigitalDemodulator_put_InnerFECMethod(This,pFECMethod) (This)->lpVtbl->put_InnerFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator_get_InnerFECMethod(This,pFECMethod) (This)->lpVtbl->get_InnerFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator_put_InnerFECRate(This,pFECRate) (This)->lpVtbl->put_InnerFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator_get_InnerFECRate(This,pFECRate) (This)->lpVtbl->get_InnerFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator_put_OuterFECMethod(This,pFECMethod) (This)->lpVtbl->put_OuterFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator_get_OuterFECMethod(This,pFECMethod) (This)->lpVtbl->get_OuterFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator_put_OuterFECRate(This,pFECRate) (This)->lpVtbl->put_OuterFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator_get_OuterFECRate(This,pFECRate) (This)->lpVtbl->get_OuterFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator_put_SymbolRate(This,pSymbolRate) (This)->lpVtbl->put_SymbolRate(This,pSymbolRate) +#define IBDA_DigitalDemodulator_get_SymbolRate(This,pSymbolRate) (This)->lpVtbl->get_SymbolRate(This,pSymbolRate) +#define IBDA_DigitalDemodulator_put_SpectralInversion(This,pSpectralInversion) (This)->lpVtbl->put_SpectralInversion(This,pSpectralInversion) +#define IBDA_DigitalDemodulator_get_SpectralInversion(This,pSpectralInversion) (This)->lpVtbl->get_SpectralInversion(This,pSpectralInversion) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_QueryInterface(IBDA_DigitalDemodulator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DigitalDemodulator_AddRef(IBDA_DigitalDemodulator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DigitalDemodulator_Release(IBDA_DigitalDemodulator* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DigitalDemodulator methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_ModulationType(IBDA_DigitalDemodulator* This,ModulationType *pModulationType) { + return This->lpVtbl->put_ModulationType(This,pModulationType); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_ModulationType(IBDA_DigitalDemodulator* This,ModulationType *pModulationType) { + return This->lpVtbl->get_ModulationType(This,pModulationType); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_InnerFECMethod(IBDA_DigitalDemodulator* This,FECMethod *pFECMethod) { + return This->lpVtbl->put_InnerFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_InnerFECMethod(IBDA_DigitalDemodulator* This,FECMethod *pFECMethod) { + return This->lpVtbl->get_InnerFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_InnerFECRate(IBDA_DigitalDemodulator* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->put_InnerFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_InnerFECRate(IBDA_DigitalDemodulator* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->get_InnerFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_OuterFECMethod(IBDA_DigitalDemodulator* This,FECMethod *pFECMethod) { + return This->lpVtbl->put_OuterFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_OuterFECMethod(IBDA_DigitalDemodulator* This,FECMethod *pFECMethod) { + return This->lpVtbl->get_OuterFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_OuterFECRate(IBDA_DigitalDemodulator* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->put_OuterFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_OuterFECRate(IBDA_DigitalDemodulator* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->get_OuterFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_SymbolRate(IBDA_DigitalDemodulator* This,ULONG *pSymbolRate) { + return This->lpVtbl->put_SymbolRate(This,pSymbolRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_SymbolRate(IBDA_DigitalDemodulator* This,ULONG *pSymbolRate) { + return This->lpVtbl->get_SymbolRate(This,pSymbolRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_put_SpectralInversion(IBDA_DigitalDemodulator* This,SpectralInversion *pSpectralInversion) { + return This->lpVtbl->put_SpectralInversion(This,pSpectralInversion); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator_get_SpectralInversion(IBDA_DigitalDemodulator* This,SpectralInversion *pSpectralInversion) { + return This->lpVtbl->get_SpectralInversion(This,pSpectralInversion); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DigitalDemodulator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DigitalDemodulator2 interface + */ +#ifndef __IBDA_DigitalDemodulator2_INTERFACE_DEFINED__ +#define __IBDA_DigitalDemodulator2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DigitalDemodulator2, 0x525ed3ee, 0x5cf3, 0x4e1e, 0x9a,0x06, 0x53,0x68,0xa8,0x4f,0x9a,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("525ed3ee-5cf3-4e1e-9a06-5368a84f9a6e") +IBDA_DigitalDemodulator2 : public IBDA_DigitalDemodulator +{ + virtual HRESULT STDMETHODCALLTYPE put_GuardInterval( + GuardInterval *pGuardInterval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GuardInterval( + GuardInterval *pGuardInterval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TransmissionMode( + TransmissionMode *pTransmissionMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TransmissionMode( + TransmissionMode *pTransmissionMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RollOff( + RollOff *pRollOff) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RollOff( + RollOff *pRollOff) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Pilot( + Pilot *pPilot) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Pilot( + Pilot *pPilot) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DigitalDemodulator2, 0x525ed3ee, 0x5cf3, 0x4e1e, 0x9a,0x06, 0x53,0x68,0xa8,0x4f,0x9a,0x6e) +#endif +#else +typedef struct IBDA_DigitalDemodulator2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DigitalDemodulator2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DigitalDemodulator2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DigitalDemodulator2 *This); + + /*** IBDA_DigitalDemodulator methods ***/ + HRESULT (STDMETHODCALLTYPE *put_ModulationType)( + IBDA_DigitalDemodulator2 *This, + ModulationType *pModulationType); + + HRESULT (STDMETHODCALLTYPE *get_ModulationType)( + IBDA_DigitalDemodulator2 *This, + ModulationType *pModulationType); + + HRESULT (STDMETHODCALLTYPE *put_InnerFECMethod)( + IBDA_DigitalDemodulator2 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *get_InnerFECMethod)( + IBDA_DigitalDemodulator2 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *put_InnerFECRate)( + IBDA_DigitalDemodulator2 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *get_InnerFECRate)( + IBDA_DigitalDemodulator2 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *put_OuterFECMethod)( + IBDA_DigitalDemodulator2 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *get_OuterFECMethod)( + IBDA_DigitalDemodulator2 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *put_OuterFECRate)( + IBDA_DigitalDemodulator2 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *get_OuterFECRate)( + IBDA_DigitalDemodulator2 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *put_SymbolRate)( + IBDA_DigitalDemodulator2 *This, + ULONG *pSymbolRate); + + HRESULT (STDMETHODCALLTYPE *get_SymbolRate)( + IBDA_DigitalDemodulator2 *This, + ULONG *pSymbolRate); + + HRESULT (STDMETHODCALLTYPE *put_SpectralInversion)( + IBDA_DigitalDemodulator2 *This, + SpectralInversion *pSpectralInversion); + + HRESULT (STDMETHODCALLTYPE *get_SpectralInversion)( + IBDA_DigitalDemodulator2 *This, + SpectralInversion *pSpectralInversion); + + /*** IBDA_DigitalDemodulator2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_GuardInterval)( + IBDA_DigitalDemodulator2 *This, + GuardInterval *pGuardInterval); + + HRESULT (STDMETHODCALLTYPE *get_GuardInterval)( + IBDA_DigitalDemodulator2 *This, + GuardInterval *pGuardInterval); + + HRESULT (STDMETHODCALLTYPE *put_TransmissionMode)( + IBDA_DigitalDemodulator2 *This, + TransmissionMode *pTransmissionMode); + + HRESULT (STDMETHODCALLTYPE *get_TransmissionMode)( + IBDA_DigitalDemodulator2 *This, + TransmissionMode *pTransmissionMode); + + HRESULT (STDMETHODCALLTYPE *put_RollOff)( + IBDA_DigitalDemodulator2 *This, + RollOff *pRollOff); + + HRESULT (STDMETHODCALLTYPE *get_RollOff)( + IBDA_DigitalDemodulator2 *This, + RollOff *pRollOff); + + HRESULT (STDMETHODCALLTYPE *put_Pilot)( + IBDA_DigitalDemodulator2 *This, + Pilot *pPilot); + + HRESULT (STDMETHODCALLTYPE *get_Pilot)( + IBDA_DigitalDemodulator2 *This, + Pilot *pPilot); + + END_INTERFACE +} IBDA_DigitalDemodulator2Vtbl; + +interface IBDA_DigitalDemodulator2 { + CONST_VTBL IBDA_DigitalDemodulator2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DigitalDemodulator2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DigitalDemodulator2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DigitalDemodulator2_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DigitalDemodulator methods ***/ +#define IBDA_DigitalDemodulator2_put_ModulationType(This,pModulationType) (This)->lpVtbl->put_ModulationType(This,pModulationType) +#define IBDA_DigitalDemodulator2_get_ModulationType(This,pModulationType) (This)->lpVtbl->get_ModulationType(This,pModulationType) +#define IBDA_DigitalDemodulator2_put_InnerFECMethod(This,pFECMethod) (This)->lpVtbl->put_InnerFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator2_get_InnerFECMethod(This,pFECMethod) (This)->lpVtbl->get_InnerFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator2_put_InnerFECRate(This,pFECRate) (This)->lpVtbl->put_InnerFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator2_get_InnerFECRate(This,pFECRate) (This)->lpVtbl->get_InnerFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator2_put_OuterFECMethod(This,pFECMethod) (This)->lpVtbl->put_OuterFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator2_get_OuterFECMethod(This,pFECMethod) (This)->lpVtbl->get_OuterFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator2_put_OuterFECRate(This,pFECRate) (This)->lpVtbl->put_OuterFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator2_get_OuterFECRate(This,pFECRate) (This)->lpVtbl->get_OuterFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator2_put_SymbolRate(This,pSymbolRate) (This)->lpVtbl->put_SymbolRate(This,pSymbolRate) +#define IBDA_DigitalDemodulator2_get_SymbolRate(This,pSymbolRate) (This)->lpVtbl->get_SymbolRate(This,pSymbolRate) +#define IBDA_DigitalDemodulator2_put_SpectralInversion(This,pSpectralInversion) (This)->lpVtbl->put_SpectralInversion(This,pSpectralInversion) +#define IBDA_DigitalDemodulator2_get_SpectralInversion(This,pSpectralInversion) (This)->lpVtbl->get_SpectralInversion(This,pSpectralInversion) +/*** IBDA_DigitalDemodulator2 methods ***/ +#define IBDA_DigitalDemodulator2_put_GuardInterval(This,pGuardInterval) (This)->lpVtbl->put_GuardInterval(This,pGuardInterval) +#define IBDA_DigitalDemodulator2_get_GuardInterval(This,pGuardInterval) (This)->lpVtbl->get_GuardInterval(This,pGuardInterval) +#define IBDA_DigitalDemodulator2_put_TransmissionMode(This,pTransmissionMode) (This)->lpVtbl->put_TransmissionMode(This,pTransmissionMode) +#define IBDA_DigitalDemodulator2_get_TransmissionMode(This,pTransmissionMode) (This)->lpVtbl->get_TransmissionMode(This,pTransmissionMode) +#define IBDA_DigitalDemodulator2_put_RollOff(This,pRollOff) (This)->lpVtbl->put_RollOff(This,pRollOff) +#define IBDA_DigitalDemodulator2_get_RollOff(This,pRollOff) (This)->lpVtbl->get_RollOff(This,pRollOff) +#define IBDA_DigitalDemodulator2_put_Pilot(This,pPilot) (This)->lpVtbl->put_Pilot(This,pPilot) +#define IBDA_DigitalDemodulator2_get_Pilot(This,pPilot) (This)->lpVtbl->get_Pilot(This,pPilot) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_QueryInterface(IBDA_DigitalDemodulator2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DigitalDemodulator2_AddRef(IBDA_DigitalDemodulator2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DigitalDemodulator2_Release(IBDA_DigitalDemodulator2* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DigitalDemodulator methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_ModulationType(IBDA_DigitalDemodulator2* This,ModulationType *pModulationType) { + return This->lpVtbl->put_ModulationType(This,pModulationType); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_ModulationType(IBDA_DigitalDemodulator2* This,ModulationType *pModulationType) { + return This->lpVtbl->get_ModulationType(This,pModulationType); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_InnerFECMethod(IBDA_DigitalDemodulator2* This,FECMethod *pFECMethod) { + return This->lpVtbl->put_InnerFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_InnerFECMethod(IBDA_DigitalDemodulator2* This,FECMethod *pFECMethod) { + return This->lpVtbl->get_InnerFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_InnerFECRate(IBDA_DigitalDemodulator2* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->put_InnerFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_InnerFECRate(IBDA_DigitalDemodulator2* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->get_InnerFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_OuterFECMethod(IBDA_DigitalDemodulator2* This,FECMethod *pFECMethod) { + return This->lpVtbl->put_OuterFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_OuterFECMethod(IBDA_DigitalDemodulator2* This,FECMethod *pFECMethod) { + return This->lpVtbl->get_OuterFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_OuterFECRate(IBDA_DigitalDemodulator2* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->put_OuterFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_OuterFECRate(IBDA_DigitalDemodulator2* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->get_OuterFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_SymbolRate(IBDA_DigitalDemodulator2* This,ULONG *pSymbolRate) { + return This->lpVtbl->put_SymbolRate(This,pSymbolRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_SymbolRate(IBDA_DigitalDemodulator2* This,ULONG *pSymbolRate) { + return This->lpVtbl->get_SymbolRate(This,pSymbolRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_SpectralInversion(IBDA_DigitalDemodulator2* This,SpectralInversion *pSpectralInversion) { + return This->lpVtbl->put_SpectralInversion(This,pSpectralInversion); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_SpectralInversion(IBDA_DigitalDemodulator2* This,SpectralInversion *pSpectralInversion) { + return This->lpVtbl->get_SpectralInversion(This,pSpectralInversion); +} +/*** IBDA_DigitalDemodulator2 methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_GuardInterval(IBDA_DigitalDemodulator2* This,GuardInterval *pGuardInterval) { + return This->lpVtbl->put_GuardInterval(This,pGuardInterval); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_GuardInterval(IBDA_DigitalDemodulator2* This,GuardInterval *pGuardInterval) { + return This->lpVtbl->get_GuardInterval(This,pGuardInterval); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_TransmissionMode(IBDA_DigitalDemodulator2* This,TransmissionMode *pTransmissionMode) { + return This->lpVtbl->put_TransmissionMode(This,pTransmissionMode); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_TransmissionMode(IBDA_DigitalDemodulator2* This,TransmissionMode *pTransmissionMode) { + return This->lpVtbl->get_TransmissionMode(This,pTransmissionMode); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_RollOff(IBDA_DigitalDemodulator2* This,RollOff *pRollOff) { + return This->lpVtbl->put_RollOff(This,pRollOff); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_RollOff(IBDA_DigitalDemodulator2* This,RollOff *pRollOff) { + return This->lpVtbl->get_RollOff(This,pRollOff); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_put_Pilot(IBDA_DigitalDemodulator2* This,Pilot *pPilot) { + return This->lpVtbl->put_Pilot(This,pPilot); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator2_get_Pilot(IBDA_DigitalDemodulator2* This,Pilot *pPilot) { + return This->lpVtbl->get_Pilot(This,pPilot); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DigitalDemodulator2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DigitalDemodulator3 interface + */ +#ifndef __IBDA_DigitalDemodulator3_INTERFACE_DEFINED__ +#define __IBDA_DigitalDemodulator3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DigitalDemodulator3, 0x13f19604, 0x7d32, 0x4359, 0x93,0xa2, 0xa0,0x52,0x05,0xd9,0x0a,0xc9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("13f19604-7d32-4359-93a2-a05205d90ac9") +IBDA_DigitalDemodulator3 : public IBDA_DigitalDemodulator2 +{ + virtual HRESULT STDMETHODCALLTYPE put_SignalTimeouts( + BDA_SIGNAL_TIMEOUTS *pSignalTimeouts) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SignalTimeouts( + BDA_SIGNAL_TIMEOUTS *pSignalTimeouts) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PLPNumber( + ULONG *pPLPNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PLPNumber( + ULONG *pPLPNumber) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DigitalDemodulator3, 0x13f19604, 0x7d32, 0x4359, 0x93,0xa2, 0xa0,0x52,0x05,0xd9,0x0a,0xc9) +#endif +#else +typedef struct IBDA_DigitalDemodulator3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DigitalDemodulator3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DigitalDemodulator3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DigitalDemodulator3 *This); + + /*** IBDA_DigitalDemodulator methods ***/ + HRESULT (STDMETHODCALLTYPE *put_ModulationType)( + IBDA_DigitalDemodulator3 *This, + ModulationType *pModulationType); + + HRESULT (STDMETHODCALLTYPE *get_ModulationType)( + IBDA_DigitalDemodulator3 *This, + ModulationType *pModulationType); + + HRESULT (STDMETHODCALLTYPE *put_InnerFECMethod)( + IBDA_DigitalDemodulator3 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *get_InnerFECMethod)( + IBDA_DigitalDemodulator3 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *put_InnerFECRate)( + IBDA_DigitalDemodulator3 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *get_InnerFECRate)( + IBDA_DigitalDemodulator3 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *put_OuterFECMethod)( + IBDA_DigitalDemodulator3 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *get_OuterFECMethod)( + IBDA_DigitalDemodulator3 *This, + FECMethod *pFECMethod); + + HRESULT (STDMETHODCALLTYPE *put_OuterFECRate)( + IBDA_DigitalDemodulator3 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *get_OuterFECRate)( + IBDA_DigitalDemodulator3 *This, + BinaryConvolutionCodeRate *pFECRate); + + HRESULT (STDMETHODCALLTYPE *put_SymbolRate)( + IBDA_DigitalDemodulator3 *This, + ULONG *pSymbolRate); + + HRESULT (STDMETHODCALLTYPE *get_SymbolRate)( + IBDA_DigitalDemodulator3 *This, + ULONG *pSymbolRate); + + HRESULT (STDMETHODCALLTYPE *put_SpectralInversion)( + IBDA_DigitalDemodulator3 *This, + SpectralInversion *pSpectralInversion); + + HRESULT (STDMETHODCALLTYPE *get_SpectralInversion)( + IBDA_DigitalDemodulator3 *This, + SpectralInversion *pSpectralInversion); + + /*** IBDA_DigitalDemodulator2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_GuardInterval)( + IBDA_DigitalDemodulator3 *This, + GuardInterval *pGuardInterval); + + HRESULT (STDMETHODCALLTYPE *get_GuardInterval)( + IBDA_DigitalDemodulator3 *This, + GuardInterval *pGuardInterval); + + HRESULT (STDMETHODCALLTYPE *put_TransmissionMode)( + IBDA_DigitalDemodulator3 *This, + TransmissionMode *pTransmissionMode); + + HRESULT (STDMETHODCALLTYPE *get_TransmissionMode)( + IBDA_DigitalDemodulator3 *This, + TransmissionMode *pTransmissionMode); + + HRESULT (STDMETHODCALLTYPE *put_RollOff)( + IBDA_DigitalDemodulator3 *This, + RollOff *pRollOff); + + HRESULT (STDMETHODCALLTYPE *get_RollOff)( + IBDA_DigitalDemodulator3 *This, + RollOff *pRollOff); + + HRESULT (STDMETHODCALLTYPE *put_Pilot)( + IBDA_DigitalDemodulator3 *This, + Pilot *pPilot); + + HRESULT (STDMETHODCALLTYPE *get_Pilot)( + IBDA_DigitalDemodulator3 *This, + Pilot *pPilot); + + /*** IBDA_DigitalDemodulator3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_SignalTimeouts)( + IBDA_DigitalDemodulator3 *This, + BDA_SIGNAL_TIMEOUTS *pSignalTimeouts); + + HRESULT (STDMETHODCALLTYPE *get_SignalTimeouts)( + IBDA_DigitalDemodulator3 *This, + BDA_SIGNAL_TIMEOUTS *pSignalTimeouts); + + HRESULT (STDMETHODCALLTYPE *put_PLPNumber)( + IBDA_DigitalDemodulator3 *This, + ULONG *pPLPNumber); + + HRESULT (STDMETHODCALLTYPE *get_PLPNumber)( + IBDA_DigitalDemodulator3 *This, + ULONG *pPLPNumber); + + END_INTERFACE +} IBDA_DigitalDemodulator3Vtbl; + +interface IBDA_DigitalDemodulator3 { + CONST_VTBL IBDA_DigitalDemodulator3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DigitalDemodulator3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DigitalDemodulator3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DigitalDemodulator3_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DigitalDemodulator methods ***/ +#define IBDA_DigitalDemodulator3_put_ModulationType(This,pModulationType) (This)->lpVtbl->put_ModulationType(This,pModulationType) +#define IBDA_DigitalDemodulator3_get_ModulationType(This,pModulationType) (This)->lpVtbl->get_ModulationType(This,pModulationType) +#define IBDA_DigitalDemodulator3_put_InnerFECMethod(This,pFECMethod) (This)->lpVtbl->put_InnerFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator3_get_InnerFECMethod(This,pFECMethod) (This)->lpVtbl->get_InnerFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator3_put_InnerFECRate(This,pFECRate) (This)->lpVtbl->put_InnerFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator3_get_InnerFECRate(This,pFECRate) (This)->lpVtbl->get_InnerFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator3_put_OuterFECMethod(This,pFECMethod) (This)->lpVtbl->put_OuterFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator3_get_OuterFECMethod(This,pFECMethod) (This)->lpVtbl->get_OuterFECMethod(This,pFECMethod) +#define IBDA_DigitalDemodulator3_put_OuterFECRate(This,pFECRate) (This)->lpVtbl->put_OuterFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator3_get_OuterFECRate(This,pFECRate) (This)->lpVtbl->get_OuterFECRate(This,pFECRate) +#define IBDA_DigitalDemodulator3_put_SymbolRate(This,pSymbolRate) (This)->lpVtbl->put_SymbolRate(This,pSymbolRate) +#define IBDA_DigitalDemodulator3_get_SymbolRate(This,pSymbolRate) (This)->lpVtbl->get_SymbolRate(This,pSymbolRate) +#define IBDA_DigitalDemodulator3_put_SpectralInversion(This,pSpectralInversion) (This)->lpVtbl->put_SpectralInversion(This,pSpectralInversion) +#define IBDA_DigitalDemodulator3_get_SpectralInversion(This,pSpectralInversion) (This)->lpVtbl->get_SpectralInversion(This,pSpectralInversion) +/*** IBDA_DigitalDemodulator2 methods ***/ +#define IBDA_DigitalDemodulator3_put_GuardInterval(This,pGuardInterval) (This)->lpVtbl->put_GuardInterval(This,pGuardInterval) +#define IBDA_DigitalDemodulator3_get_GuardInterval(This,pGuardInterval) (This)->lpVtbl->get_GuardInterval(This,pGuardInterval) +#define IBDA_DigitalDemodulator3_put_TransmissionMode(This,pTransmissionMode) (This)->lpVtbl->put_TransmissionMode(This,pTransmissionMode) +#define IBDA_DigitalDemodulator3_get_TransmissionMode(This,pTransmissionMode) (This)->lpVtbl->get_TransmissionMode(This,pTransmissionMode) +#define IBDA_DigitalDemodulator3_put_RollOff(This,pRollOff) (This)->lpVtbl->put_RollOff(This,pRollOff) +#define IBDA_DigitalDemodulator3_get_RollOff(This,pRollOff) (This)->lpVtbl->get_RollOff(This,pRollOff) +#define IBDA_DigitalDemodulator3_put_Pilot(This,pPilot) (This)->lpVtbl->put_Pilot(This,pPilot) +#define IBDA_DigitalDemodulator3_get_Pilot(This,pPilot) (This)->lpVtbl->get_Pilot(This,pPilot) +/*** IBDA_DigitalDemodulator3 methods ***/ +#define IBDA_DigitalDemodulator3_put_SignalTimeouts(This,pSignalTimeouts) (This)->lpVtbl->put_SignalTimeouts(This,pSignalTimeouts) +#define IBDA_DigitalDemodulator3_get_SignalTimeouts(This,pSignalTimeouts) (This)->lpVtbl->get_SignalTimeouts(This,pSignalTimeouts) +#define IBDA_DigitalDemodulator3_put_PLPNumber(This,pPLPNumber) (This)->lpVtbl->put_PLPNumber(This,pPLPNumber) +#define IBDA_DigitalDemodulator3_get_PLPNumber(This,pPLPNumber) (This)->lpVtbl->get_PLPNumber(This,pPLPNumber) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_QueryInterface(IBDA_DigitalDemodulator3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DigitalDemodulator3_AddRef(IBDA_DigitalDemodulator3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DigitalDemodulator3_Release(IBDA_DigitalDemodulator3* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DigitalDemodulator methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_ModulationType(IBDA_DigitalDemodulator3* This,ModulationType *pModulationType) { + return This->lpVtbl->put_ModulationType(This,pModulationType); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_ModulationType(IBDA_DigitalDemodulator3* This,ModulationType *pModulationType) { + return This->lpVtbl->get_ModulationType(This,pModulationType); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_InnerFECMethod(IBDA_DigitalDemodulator3* This,FECMethod *pFECMethod) { + return This->lpVtbl->put_InnerFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_InnerFECMethod(IBDA_DigitalDemodulator3* This,FECMethod *pFECMethod) { + return This->lpVtbl->get_InnerFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_InnerFECRate(IBDA_DigitalDemodulator3* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->put_InnerFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_InnerFECRate(IBDA_DigitalDemodulator3* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->get_InnerFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_OuterFECMethod(IBDA_DigitalDemodulator3* This,FECMethod *pFECMethod) { + return This->lpVtbl->put_OuterFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_OuterFECMethod(IBDA_DigitalDemodulator3* This,FECMethod *pFECMethod) { + return This->lpVtbl->get_OuterFECMethod(This,pFECMethod); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_OuterFECRate(IBDA_DigitalDemodulator3* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->put_OuterFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_OuterFECRate(IBDA_DigitalDemodulator3* This,BinaryConvolutionCodeRate *pFECRate) { + return This->lpVtbl->get_OuterFECRate(This,pFECRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_SymbolRate(IBDA_DigitalDemodulator3* This,ULONG *pSymbolRate) { + return This->lpVtbl->put_SymbolRate(This,pSymbolRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_SymbolRate(IBDA_DigitalDemodulator3* This,ULONG *pSymbolRate) { + return This->lpVtbl->get_SymbolRate(This,pSymbolRate); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_SpectralInversion(IBDA_DigitalDemodulator3* This,SpectralInversion *pSpectralInversion) { + return This->lpVtbl->put_SpectralInversion(This,pSpectralInversion); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_SpectralInversion(IBDA_DigitalDemodulator3* This,SpectralInversion *pSpectralInversion) { + return This->lpVtbl->get_SpectralInversion(This,pSpectralInversion); +} +/*** IBDA_DigitalDemodulator2 methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_GuardInterval(IBDA_DigitalDemodulator3* This,GuardInterval *pGuardInterval) { + return This->lpVtbl->put_GuardInterval(This,pGuardInterval); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_GuardInterval(IBDA_DigitalDemodulator3* This,GuardInterval *pGuardInterval) { + return This->lpVtbl->get_GuardInterval(This,pGuardInterval); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_TransmissionMode(IBDA_DigitalDemodulator3* This,TransmissionMode *pTransmissionMode) { + return This->lpVtbl->put_TransmissionMode(This,pTransmissionMode); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_TransmissionMode(IBDA_DigitalDemodulator3* This,TransmissionMode *pTransmissionMode) { + return This->lpVtbl->get_TransmissionMode(This,pTransmissionMode); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_RollOff(IBDA_DigitalDemodulator3* This,RollOff *pRollOff) { + return This->lpVtbl->put_RollOff(This,pRollOff); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_RollOff(IBDA_DigitalDemodulator3* This,RollOff *pRollOff) { + return This->lpVtbl->get_RollOff(This,pRollOff); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_Pilot(IBDA_DigitalDemodulator3* This,Pilot *pPilot) { + return This->lpVtbl->put_Pilot(This,pPilot); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_Pilot(IBDA_DigitalDemodulator3* This,Pilot *pPilot) { + return This->lpVtbl->get_Pilot(This,pPilot); +} +/*** IBDA_DigitalDemodulator3 methods ***/ +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_SignalTimeouts(IBDA_DigitalDemodulator3* This,BDA_SIGNAL_TIMEOUTS *pSignalTimeouts) { + return This->lpVtbl->put_SignalTimeouts(This,pSignalTimeouts); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_SignalTimeouts(IBDA_DigitalDemodulator3* This,BDA_SIGNAL_TIMEOUTS *pSignalTimeouts) { + return This->lpVtbl->get_SignalTimeouts(This,pSignalTimeouts); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_put_PLPNumber(IBDA_DigitalDemodulator3* This,ULONG *pPLPNumber) { + return This->lpVtbl->put_PLPNumber(This,pPLPNumber); +} +static FORCEINLINE HRESULT IBDA_DigitalDemodulator3_get_PLPNumber(IBDA_DigitalDemodulator3* This,ULONG *pPLPNumber) { + return This->lpVtbl->get_PLPNumber(This,pPLPNumber); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DigitalDemodulator3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICCSubStreamFiltering interface + */ +#ifndef __ICCSubStreamFiltering_INTERFACE_DEFINED__ +#define __ICCSubStreamFiltering_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICCSubStreamFiltering, 0x4b2bd7ea, 0x8347, 0x467b, 0x8d,0xbf, 0x62,0xf7,0x84,0x92,0x9c,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4b2bd7ea-8347-467b-8dbf-62f784929cc3") +ICCSubStreamFiltering : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_SubstreamTypes( + LONG *pTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SubstreamTypes( + LONG Types) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICCSubStreamFiltering, 0x4b2bd7ea, 0x8347, 0x467b, 0x8d,0xbf, 0x62,0xf7,0x84,0x92,0x9c,0xc3) +#endif +#else +typedef struct ICCSubStreamFilteringVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICCSubStreamFiltering *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICCSubStreamFiltering *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICCSubStreamFiltering *This); + + /*** ICCSubStreamFiltering methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SubstreamTypes)( + ICCSubStreamFiltering *This, + LONG *pTypes); + + HRESULT (STDMETHODCALLTYPE *put_SubstreamTypes)( + ICCSubStreamFiltering *This, + LONG Types); + + END_INTERFACE +} ICCSubStreamFilteringVtbl; + +interface ICCSubStreamFiltering { + CONST_VTBL ICCSubStreamFilteringVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICCSubStreamFiltering_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICCSubStreamFiltering_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICCSubStreamFiltering_Release(This) (This)->lpVtbl->Release(This) +/*** ICCSubStreamFiltering methods ***/ +#define ICCSubStreamFiltering_get_SubstreamTypes(This,pTypes) (This)->lpVtbl->get_SubstreamTypes(This,pTypes) +#define ICCSubStreamFiltering_put_SubstreamTypes(This,Types) (This)->lpVtbl->put_SubstreamTypes(This,Types) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICCSubStreamFiltering_QueryInterface(ICCSubStreamFiltering* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICCSubStreamFiltering_AddRef(ICCSubStreamFiltering* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICCSubStreamFiltering_Release(ICCSubStreamFiltering* This) { + return This->lpVtbl->Release(This); +} +/*** ICCSubStreamFiltering methods ***/ +static FORCEINLINE HRESULT ICCSubStreamFiltering_get_SubstreamTypes(ICCSubStreamFiltering* This,LONG *pTypes) { + return This->lpVtbl->get_SubstreamTypes(This,pTypes); +} +static FORCEINLINE HRESULT ICCSubStreamFiltering_put_SubstreamTypes(ICCSubStreamFiltering* This,LONG Types) { + return This->lpVtbl->put_SubstreamTypes(This,Types); +} +#endif +#endif + +#endif + + +#endif /* __ICCSubStreamFiltering_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_IPSinkControl interface + */ +#ifndef __IBDA_IPSinkControl_INTERFACE_DEFINED__ +#define __IBDA_IPSinkControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_IPSinkControl, 0x3f4dc8e2, 0x4050, 0x11d3, 0x8f,0x4b, 0x00,0xc0,0x4f,0x79,0x71,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3f4dc8e2-4050-11d3-8f4b-00c04f7971e2") +IBDA_IPSinkControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMulticastList( + ULONG *pulcbSize, + BYTE **pbBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdapterIPAddress( + ULONG *pulcbSize, + BYTE **pbBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_IPSinkControl, 0x3f4dc8e2, 0x4050, 0x11d3, 0x8f,0x4b, 0x00,0xc0,0x4f,0x79,0x71,0xe2) +#endif +#else +typedef struct IBDA_IPSinkControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_IPSinkControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_IPSinkControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_IPSinkControl *This); + + /*** IBDA_IPSinkControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMulticastList)( + IBDA_IPSinkControl *This, + ULONG *pulcbSize, + BYTE **pbBuffer); + + HRESULT (STDMETHODCALLTYPE *GetAdapterIPAddress)( + IBDA_IPSinkControl *This, + ULONG *pulcbSize, + BYTE **pbBuffer); + + END_INTERFACE +} IBDA_IPSinkControlVtbl; + +interface IBDA_IPSinkControl { + CONST_VTBL IBDA_IPSinkControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_IPSinkControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_IPSinkControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_IPSinkControl_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_IPSinkControl methods ***/ +#define IBDA_IPSinkControl_GetMulticastList(This,pulcbSize,pbBuffer) (This)->lpVtbl->GetMulticastList(This,pulcbSize,pbBuffer) +#define IBDA_IPSinkControl_GetAdapterIPAddress(This,pulcbSize,pbBuffer) (This)->lpVtbl->GetAdapterIPAddress(This,pulcbSize,pbBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_IPSinkControl_QueryInterface(IBDA_IPSinkControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_IPSinkControl_AddRef(IBDA_IPSinkControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_IPSinkControl_Release(IBDA_IPSinkControl* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_IPSinkControl methods ***/ +static FORCEINLINE HRESULT IBDA_IPSinkControl_GetMulticastList(IBDA_IPSinkControl* This,ULONG *pulcbSize,BYTE **pbBuffer) { + return This->lpVtbl->GetMulticastList(This,pulcbSize,pbBuffer); +} +static FORCEINLINE HRESULT IBDA_IPSinkControl_GetAdapterIPAddress(IBDA_IPSinkControl* This,ULONG *pulcbSize,BYTE **pbBuffer) { + return This->lpVtbl->GetAdapterIPAddress(This,pulcbSize,pbBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_IPSinkControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_IPSinkInfo interface + */ +#ifndef __IBDA_IPSinkInfo_INTERFACE_DEFINED__ +#define __IBDA_IPSinkInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_IPSinkInfo, 0xa750108f, 0x492e, 0x4d51, 0x95,0xf7, 0x64,0x9b,0x23,0xff,0x7a,0xd7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a750108f-492e-4d51-95f7-649b23ff7ad7") +IBDA_IPSinkInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_MulticastList( + ULONG *pulcbAddresses, + BYTE **ppbAddressList) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AdapterIPAddress( + BSTR *pbstrBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AdapterDescription( + BSTR *pbstrBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_IPSinkInfo, 0xa750108f, 0x492e, 0x4d51, 0x95,0xf7, 0x64,0x9b,0x23,0xff,0x7a,0xd7) +#endif +#else +typedef struct IBDA_IPSinkInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_IPSinkInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_IPSinkInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_IPSinkInfo *This); + + /*** IBDA_IPSinkInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *get_MulticastList)( + IBDA_IPSinkInfo *This, + ULONG *pulcbAddresses, + BYTE **ppbAddressList); + + HRESULT (STDMETHODCALLTYPE *get_AdapterIPAddress)( + IBDA_IPSinkInfo *This, + BSTR *pbstrBuffer); + + HRESULT (STDMETHODCALLTYPE *get_AdapterDescription)( + IBDA_IPSinkInfo *This, + BSTR *pbstrBuffer); + + END_INTERFACE +} IBDA_IPSinkInfoVtbl; + +interface IBDA_IPSinkInfo { + CONST_VTBL IBDA_IPSinkInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_IPSinkInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_IPSinkInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_IPSinkInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_IPSinkInfo methods ***/ +#define IBDA_IPSinkInfo_get_MulticastList(This,pulcbAddresses,ppbAddressList) (This)->lpVtbl->get_MulticastList(This,pulcbAddresses,ppbAddressList) +#define IBDA_IPSinkInfo_get_AdapterIPAddress(This,pbstrBuffer) (This)->lpVtbl->get_AdapterIPAddress(This,pbstrBuffer) +#define IBDA_IPSinkInfo_get_AdapterDescription(This,pbstrBuffer) (This)->lpVtbl->get_AdapterDescription(This,pbstrBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_IPSinkInfo_QueryInterface(IBDA_IPSinkInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_IPSinkInfo_AddRef(IBDA_IPSinkInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_IPSinkInfo_Release(IBDA_IPSinkInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_IPSinkInfo methods ***/ +static FORCEINLINE HRESULT IBDA_IPSinkInfo_get_MulticastList(IBDA_IPSinkInfo* This,ULONG *pulcbAddresses,BYTE **ppbAddressList) { + return This->lpVtbl->get_MulticastList(This,pulcbAddresses,ppbAddressList); +} +static FORCEINLINE HRESULT IBDA_IPSinkInfo_get_AdapterIPAddress(IBDA_IPSinkInfo* This,BSTR *pbstrBuffer) { + return This->lpVtbl->get_AdapterIPAddress(This,pbstrBuffer); +} +static FORCEINLINE HRESULT IBDA_IPSinkInfo_get_AdapterDescription(IBDA_IPSinkInfo* This,BSTR *pbstrBuffer) { + return This->lpVtbl->get_AdapterDescription(This,pbstrBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_IPSinkInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumPIDMap interface + */ +#ifndef __IEnumPIDMap_INTERFACE_DEFINED__ +#define __IEnumPIDMap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumPIDMap, 0xafb6c2a2, 0x2c41, 0x11d3, 0x8a,0x60, 0x00,0x00,0xf8,0x1e,0x0e,0x4a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("afb6c2a2-2c41-11d3-8a60-0000f81e0e4a") +IEnumPIDMap : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cRequest, + PID_MAP *pPIDMap, + ULONG *pcReceived) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cRecords) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumPIDMap **ppIEnumPIDMap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumPIDMap, 0xafb6c2a2, 0x2c41, 0x11d3, 0x8a,0x60, 0x00,0x00,0xf8,0x1e,0x0e,0x4a) +#endif +#else +typedef struct IEnumPIDMapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumPIDMap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumPIDMap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumPIDMap *This); + + /*** IEnumPIDMap methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumPIDMap *This, + ULONG cRequest, + PID_MAP *pPIDMap, + ULONG *pcReceived); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumPIDMap *This, + ULONG cRecords); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumPIDMap *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumPIDMap *This, + IEnumPIDMap **ppIEnumPIDMap); + + END_INTERFACE +} IEnumPIDMapVtbl; + +interface IEnumPIDMap { + CONST_VTBL IEnumPIDMapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumPIDMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumPIDMap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumPIDMap_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumPIDMap methods ***/ +#define IEnumPIDMap_Next(This,cRequest,pPIDMap,pcReceived) (This)->lpVtbl->Next(This,cRequest,pPIDMap,pcReceived) +#define IEnumPIDMap_Skip(This,cRecords) (This)->lpVtbl->Skip(This,cRecords) +#define IEnumPIDMap_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumPIDMap_Clone(This,ppIEnumPIDMap) (This)->lpVtbl->Clone(This,ppIEnumPIDMap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumPIDMap_QueryInterface(IEnumPIDMap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumPIDMap_AddRef(IEnumPIDMap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumPIDMap_Release(IEnumPIDMap* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumPIDMap methods ***/ +static FORCEINLINE HRESULT IEnumPIDMap_Next(IEnumPIDMap* This,ULONG cRequest,PID_MAP *pPIDMap,ULONG *pcReceived) { + return This->lpVtbl->Next(This,cRequest,pPIDMap,pcReceived); +} +static FORCEINLINE HRESULT IEnumPIDMap_Skip(IEnumPIDMap* This,ULONG cRecords) { + return This->lpVtbl->Skip(This,cRecords); +} +static FORCEINLINE HRESULT IEnumPIDMap_Reset(IEnumPIDMap* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumPIDMap_Clone(IEnumPIDMap* This,IEnumPIDMap **ppIEnumPIDMap) { + return This->lpVtbl->Clone(This,ppIEnumPIDMap); +} +#endif +#endif + +#endif + + +#endif /* __IEnumPIDMap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMPEG2PIDMap interface + */ +#ifndef __IMPEG2PIDMap_INTERFACE_DEFINED__ +#define __IMPEG2PIDMap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMPEG2PIDMap, 0xafb6c2a1, 0x2c41, 0x11d3, 0x8a,0x60, 0x00,0x00,0xf8,0x1e,0x0e,0x4a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("afb6c2a1-2c41-11d3-8a60-0000f81e0e4a") +IMPEG2PIDMap : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE MapPID( + ULONG culPID, + ULONG *pulPID, + MEDIA_SAMPLE_CONTENT MediaSampleContent) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnmapPID( + ULONG culPID, + ULONG *pulPID) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumPIDMap( + IEnumPIDMap **pIEnumPIDMap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMPEG2PIDMap, 0xafb6c2a1, 0x2c41, 0x11d3, 0x8a,0x60, 0x00,0x00,0xf8,0x1e,0x0e,0x4a) +#endif +#else +typedef struct IMPEG2PIDMapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMPEG2PIDMap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMPEG2PIDMap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMPEG2PIDMap *This); + + /*** IMPEG2PIDMap methods ***/ + HRESULT (STDMETHODCALLTYPE *MapPID)( + IMPEG2PIDMap *This, + ULONG culPID, + ULONG *pulPID, + MEDIA_SAMPLE_CONTENT MediaSampleContent); + + HRESULT (STDMETHODCALLTYPE *UnmapPID)( + IMPEG2PIDMap *This, + ULONG culPID, + ULONG *pulPID); + + HRESULT (STDMETHODCALLTYPE *EnumPIDMap)( + IMPEG2PIDMap *This, + IEnumPIDMap **pIEnumPIDMap); + + END_INTERFACE +} IMPEG2PIDMapVtbl; + +interface IMPEG2PIDMap { + CONST_VTBL IMPEG2PIDMapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMPEG2PIDMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMPEG2PIDMap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMPEG2PIDMap_Release(This) (This)->lpVtbl->Release(This) +/*** IMPEG2PIDMap methods ***/ +#define IMPEG2PIDMap_MapPID(This,culPID,pulPID,MediaSampleContent) (This)->lpVtbl->MapPID(This,culPID,pulPID,MediaSampleContent) +#define IMPEG2PIDMap_UnmapPID(This,culPID,pulPID) (This)->lpVtbl->UnmapPID(This,culPID,pulPID) +#define IMPEG2PIDMap_EnumPIDMap(This,pIEnumPIDMap) (This)->lpVtbl->EnumPIDMap(This,pIEnumPIDMap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMPEG2PIDMap_QueryInterface(IMPEG2PIDMap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMPEG2PIDMap_AddRef(IMPEG2PIDMap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMPEG2PIDMap_Release(IMPEG2PIDMap* This) { + return This->lpVtbl->Release(This); +} +/*** IMPEG2PIDMap methods ***/ +static FORCEINLINE HRESULT IMPEG2PIDMap_MapPID(IMPEG2PIDMap* This,ULONG culPID,ULONG *pulPID,MEDIA_SAMPLE_CONTENT MediaSampleContent) { + return This->lpVtbl->MapPID(This,culPID,pulPID,MediaSampleContent); +} +static FORCEINLINE HRESULT IMPEG2PIDMap_UnmapPID(IMPEG2PIDMap* This,ULONG culPID,ULONG *pulPID) { + return This->lpVtbl->UnmapPID(This,culPID,pulPID); +} +static FORCEINLINE HRESULT IMPEG2PIDMap_EnumPIDMap(IMPEG2PIDMap* This,IEnumPIDMap **pIEnumPIDMap) { + return This->lpVtbl->EnumPIDMap(This,pIEnumPIDMap); +} +#endif +#endif + +#endif + + +#endif /* __IMPEG2PIDMap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFrequencyMap interface + */ +#ifndef __IFrequencyMap_INTERFACE_DEFINED__ +#define __IFrequencyMap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFrequencyMap, 0x06fb45c1, 0x693c, 0x4ea7, 0xb7,0x9f, 0x7a,0x6a,0x54,0xd8,0xde,0xf2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("06fb45c1-693c-4ea7-b79f-7a6a54d8def2") +IFrequencyMap : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_FrequencyMapping( + ULONG *ulCount, + ULONG **ppulList) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FrequencyMapping( + ULONG ulCount, + ULONG pList[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CountryCode( + ULONG *pulCountryCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CountryCode( + ULONG ulCountryCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DefaultFrequencyMapping( + ULONG ulCountryCode, + ULONG *pulCount, + ULONG **ppulList) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CountryCodeList( + ULONG *pulCount, + ULONG **ppulList) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFrequencyMap, 0x06fb45c1, 0x693c, 0x4ea7, 0xb7,0x9f, 0x7a,0x6a,0x54,0xd8,0xde,0xf2) +#endif +#else +typedef struct IFrequencyMapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFrequencyMap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFrequencyMap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFrequencyMap *This); + + /*** IFrequencyMap methods ***/ + HRESULT (STDMETHODCALLTYPE *get_FrequencyMapping)( + IFrequencyMap *This, + ULONG *ulCount, + ULONG **ppulList); + + HRESULT (STDMETHODCALLTYPE *put_FrequencyMapping)( + IFrequencyMap *This, + ULONG ulCount, + ULONG pList[]); + + HRESULT (STDMETHODCALLTYPE *get_CountryCode)( + IFrequencyMap *This, + ULONG *pulCountryCode); + + HRESULT (STDMETHODCALLTYPE *put_CountryCode)( + IFrequencyMap *This, + ULONG ulCountryCode); + + HRESULT (STDMETHODCALLTYPE *get_DefaultFrequencyMapping)( + IFrequencyMap *This, + ULONG ulCountryCode, + ULONG *pulCount, + ULONG **ppulList); + + HRESULT (STDMETHODCALLTYPE *get_CountryCodeList)( + IFrequencyMap *This, + ULONG *pulCount, + ULONG **ppulList); + + END_INTERFACE +} IFrequencyMapVtbl; + +interface IFrequencyMap { + CONST_VTBL IFrequencyMapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFrequencyMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFrequencyMap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFrequencyMap_Release(This) (This)->lpVtbl->Release(This) +/*** IFrequencyMap methods ***/ +#define IFrequencyMap_get_FrequencyMapping(This,ulCount,ppulList) (This)->lpVtbl->get_FrequencyMapping(This,ulCount,ppulList) +#define IFrequencyMap_put_FrequencyMapping(This,ulCount,pList) (This)->lpVtbl->put_FrequencyMapping(This,ulCount,pList) +#define IFrequencyMap_get_CountryCode(This,pulCountryCode) (This)->lpVtbl->get_CountryCode(This,pulCountryCode) +#define IFrequencyMap_put_CountryCode(This,ulCountryCode) (This)->lpVtbl->put_CountryCode(This,ulCountryCode) +#define IFrequencyMap_get_DefaultFrequencyMapping(This,ulCountryCode,pulCount,ppulList) (This)->lpVtbl->get_DefaultFrequencyMapping(This,ulCountryCode,pulCount,ppulList) +#define IFrequencyMap_get_CountryCodeList(This,pulCount,ppulList) (This)->lpVtbl->get_CountryCodeList(This,pulCount,ppulList) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFrequencyMap_QueryInterface(IFrequencyMap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFrequencyMap_AddRef(IFrequencyMap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFrequencyMap_Release(IFrequencyMap* This) { + return This->lpVtbl->Release(This); +} +/*** IFrequencyMap methods ***/ +static FORCEINLINE HRESULT IFrequencyMap_get_FrequencyMapping(IFrequencyMap* This,ULONG *ulCount,ULONG **ppulList) { + return This->lpVtbl->get_FrequencyMapping(This,ulCount,ppulList); +} +static FORCEINLINE HRESULT IFrequencyMap_put_FrequencyMapping(IFrequencyMap* This,ULONG ulCount,ULONG pList[]) { + return This->lpVtbl->put_FrequencyMapping(This,ulCount,pList); +} +static FORCEINLINE HRESULT IFrequencyMap_get_CountryCode(IFrequencyMap* This,ULONG *pulCountryCode) { + return This->lpVtbl->get_CountryCode(This,pulCountryCode); +} +static FORCEINLINE HRESULT IFrequencyMap_put_CountryCode(IFrequencyMap* This,ULONG ulCountryCode) { + return This->lpVtbl->put_CountryCode(This,ulCountryCode); +} +static FORCEINLINE HRESULT IFrequencyMap_get_DefaultFrequencyMapping(IFrequencyMap* This,ULONG ulCountryCode,ULONG *pulCount,ULONG **ppulList) { + return This->lpVtbl->get_DefaultFrequencyMapping(This,ulCountryCode,pulCount,ppulList); +} +static FORCEINLINE HRESULT IFrequencyMap_get_CountryCodeList(IFrequencyMap* This,ULONG *pulCount,ULONG **ppulList) { + return This->lpVtbl->get_CountryCodeList(This,pulCount,ppulList); +} +#endif +#endif + +#endif + + +#endif /* __IFrequencyMap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_EasMessage interface + */ +#ifndef __IBDA_EasMessage_INTERFACE_DEFINED__ +#define __IBDA_EasMessage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_EasMessage, 0xd806973d, 0x3ebe, 0x46de, 0x8f,0xbb, 0x63,0x58,0xfe,0x78,0x42,0x08); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d806973d-3ebe-46de-8fbb-6358fe784208") +IBDA_EasMessage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_EasMessage( + ULONG ulEventID, + IUnknown **ppEASObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_EasMessage, 0xd806973d, 0x3ebe, 0x46de, 0x8f,0xbb, 0x63,0x58,0xfe,0x78,0x42,0x08) +#endif +#else +typedef struct IBDA_EasMessageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_EasMessage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_EasMessage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_EasMessage *This); + + /*** IBDA_EasMessage methods ***/ + HRESULT (STDMETHODCALLTYPE *get_EasMessage)( + IBDA_EasMessage *This, + ULONG ulEventID, + IUnknown **ppEASObject); + + END_INTERFACE +} IBDA_EasMessageVtbl; + +interface IBDA_EasMessage { + CONST_VTBL IBDA_EasMessageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_EasMessage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_EasMessage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_EasMessage_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_EasMessage methods ***/ +#define IBDA_EasMessage_get_EasMessage(This,ulEventID,ppEASObject) (This)->lpVtbl->get_EasMessage(This,ulEventID,ppEASObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_EasMessage_QueryInterface(IBDA_EasMessage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_EasMessage_AddRef(IBDA_EasMessage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_EasMessage_Release(IBDA_EasMessage* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_EasMessage methods ***/ +static FORCEINLINE HRESULT IBDA_EasMessage_get_EasMessage(IBDA_EasMessage* This,ULONG ulEventID,IUnknown **ppEASObject) { + return This->lpVtbl->get_EasMessage(This,ulEventID,ppEASObject); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_EasMessage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_TransportStreamInfo interface + */ +#ifndef __IBDA_TransportStreamInfo_INTERFACE_DEFINED__ +#define __IBDA_TransportStreamInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_TransportStreamInfo, 0x8e882535, 0x5f86, 0x47ab, 0x86,0xcf, 0xc2,0x81,0xa7,0x2a,0x05,0x49); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8e882535-5f86-47ab-86cf-c281a72a0549") +IBDA_TransportStreamInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_PatTableTickCount( + ULONG *pPatTickCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_TransportStreamInfo, 0x8e882535, 0x5f86, 0x47ab, 0x86,0xcf, 0xc2,0x81,0xa7,0x2a,0x05,0x49) +#endif +#else +typedef struct IBDA_TransportStreamInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_TransportStreamInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_TransportStreamInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_TransportStreamInfo *This); + + /*** IBDA_TransportStreamInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *get_PatTableTickCount)( + IBDA_TransportStreamInfo *This, + ULONG *pPatTickCount); + + END_INTERFACE +} IBDA_TransportStreamInfoVtbl; + +interface IBDA_TransportStreamInfo { + CONST_VTBL IBDA_TransportStreamInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_TransportStreamInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_TransportStreamInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_TransportStreamInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_TransportStreamInfo methods ***/ +#define IBDA_TransportStreamInfo_get_PatTableTickCount(This,pPatTickCount) (This)->lpVtbl->get_PatTableTickCount(This,pPatTickCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_TransportStreamInfo_QueryInterface(IBDA_TransportStreamInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_TransportStreamInfo_AddRef(IBDA_TransportStreamInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_TransportStreamInfo_Release(IBDA_TransportStreamInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_TransportStreamInfo methods ***/ +static FORCEINLINE HRESULT IBDA_TransportStreamInfo_get_PatTableTickCount(IBDA_TransportStreamInfo* This,ULONG *pPatTickCount) { + return This->lpVtbl->get_PatTableTickCount(This,pPatTickCount); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_TransportStreamInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_ConditionalAccess interface + */ +#ifndef __IBDA_ConditionalAccess_INTERFACE_DEFINED__ +#define __IBDA_ConditionalAccess_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_ConditionalAccess, 0xcd51f1e0, 0x7be9, 0x4123, 0x84,0x82, 0xa2,0xa7,0x96,0xc0,0xa6,0xb0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cd51f1e0-7be9-4123-8482-a2a796c0a6b0") +IBDA_ConditionalAccess : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_SmartCardStatus( + SmartCardStatusType *pCardStatus, + SmartCardAssociationType *pCardAssociation, + BSTR *pbstrCardError, + VARIANT_BOOL *pfOOBLocked) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SmartCardInfo( + BSTR *pbstrCardName, + BSTR *pbstrCardManufacturer, + VARIANT_BOOL *pfDaylightSavings, + BYTE *pbyRatingRegion, + LONG *plTimeZoneOffsetMinutes, + BSTR *pbstrLanguage, + EALocationCodeType *pEALocationCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SmartCardApplications( + ULONG *pulcApplications, + ULONG ulcApplicationsMax, + SmartCardApplication rgApplications[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Entitlement( + USHORT usVirtualChannel, + EntitlementType *pEntitlement) = 0; + + virtual HRESULT STDMETHODCALLTYPE TuneByChannel( + USHORT usVirtualChannel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProgram( + USHORT usProgramNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddProgram( + USHORT usProgramNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveProgram( + USHORT usProgramNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetModuleUI( + BYTE byDialogNumber, + BSTR *pbstrURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE InformUIClosed( + BYTE byDialogNumber, + UICloseReasonType CloseReason) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_ConditionalAccess, 0xcd51f1e0, 0x7be9, 0x4123, 0x84,0x82, 0xa2,0xa7,0x96,0xc0,0xa6,0xb0) +#endif +#else +typedef struct IBDA_ConditionalAccessVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_ConditionalAccess *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_ConditionalAccess *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_ConditionalAccess *This); + + /*** IBDA_ConditionalAccess methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SmartCardStatus)( + IBDA_ConditionalAccess *This, + SmartCardStatusType *pCardStatus, + SmartCardAssociationType *pCardAssociation, + BSTR *pbstrCardError, + VARIANT_BOOL *pfOOBLocked); + + HRESULT (STDMETHODCALLTYPE *get_SmartCardInfo)( + IBDA_ConditionalAccess *This, + BSTR *pbstrCardName, + BSTR *pbstrCardManufacturer, + VARIANT_BOOL *pfDaylightSavings, + BYTE *pbyRatingRegion, + LONG *plTimeZoneOffsetMinutes, + BSTR *pbstrLanguage, + EALocationCodeType *pEALocationCode); + + HRESULT (STDMETHODCALLTYPE *get_SmartCardApplications)( + IBDA_ConditionalAccess *This, + ULONG *pulcApplications, + ULONG ulcApplicationsMax, + SmartCardApplication rgApplications[]); + + HRESULT (STDMETHODCALLTYPE *get_Entitlement)( + IBDA_ConditionalAccess *This, + USHORT usVirtualChannel, + EntitlementType *pEntitlement); + + HRESULT (STDMETHODCALLTYPE *TuneByChannel)( + IBDA_ConditionalAccess *This, + USHORT usVirtualChannel); + + HRESULT (STDMETHODCALLTYPE *SetProgram)( + IBDA_ConditionalAccess *This, + USHORT usProgramNumber); + + HRESULT (STDMETHODCALLTYPE *AddProgram)( + IBDA_ConditionalAccess *This, + USHORT usProgramNumber); + + HRESULT (STDMETHODCALLTYPE *RemoveProgram)( + IBDA_ConditionalAccess *This, + USHORT usProgramNumber); + + HRESULT (STDMETHODCALLTYPE *GetModuleUI)( + IBDA_ConditionalAccess *This, + BYTE byDialogNumber, + BSTR *pbstrURL); + + HRESULT (STDMETHODCALLTYPE *InformUIClosed)( + IBDA_ConditionalAccess *This, + BYTE byDialogNumber, + UICloseReasonType CloseReason); + + END_INTERFACE +} IBDA_ConditionalAccessVtbl; + +interface IBDA_ConditionalAccess { + CONST_VTBL IBDA_ConditionalAccessVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_ConditionalAccess_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_ConditionalAccess_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_ConditionalAccess_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_ConditionalAccess methods ***/ +#define IBDA_ConditionalAccess_get_SmartCardStatus(This,pCardStatus,pCardAssociation,pbstrCardError,pfOOBLocked) (This)->lpVtbl->get_SmartCardStatus(This,pCardStatus,pCardAssociation,pbstrCardError,pfOOBLocked) +#define IBDA_ConditionalAccess_get_SmartCardInfo(This,pbstrCardName,pbstrCardManufacturer,pfDaylightSavings,pbyRatingRegion,plTimeZoneOffsetMinutes,pbstrLanguage,pEALocationCode) (This)->lpVtbl->get_SmartCardInfo(This,pbstrCardName,pbstrCardManufacturer,pfDaylightSavings,pbyRatingRegion,plTimeZoneOffsetMinutes,pbstrLanguage,pEALocationCode) +#define IBDA_ConditionalAccess_get_SmartCardApplications(This,pulcApplications,ulcApplicationsMax,rgApplications) (This)->lpVtbl->get_SmartCardApplications(This,pulcApplications,ulcApplicationsMax,rgApplications) +#define IBDA_ConditionalAccess_get_Entitlement(This,usVirtualChannel,pEntitlement) (This)->lpVtbl->get_Entitlement(This,usVirtualChannel,pEntitlement) +#define IBDA_ConditionalAccess_TuneByChannel(This,usVirtualChannel) (This)->lpVtbl->TuneByChannel(This,usVirtualChannel) +#define IBDA_ConditionalAccess_SetProgram(This,usProgramNumber) (This)->lpVtbl->SetProgram(This,usProgramNumber) +#define IBDA_ConditionalAccess_AddProgram(This,usProgramNumber) (This)->lpVtbl->AddProgram(This,usProgramNumber) +#define IBDA_ConditionalAccess_RemoveProgram(This,usProgramNumber) (This)->lpVtbl->RemoveProgram(This,usProgramNumber) +#define IBDA_ConditionalAccess_GetModuleUI(This,byDialogNumber,pbstrURL) (This)->lpVtbl->GetModuleUI(This,byDialogNumber,pbstrURL) +#define IBDA_ConditionalAccess_InformUIClosed(This,byDialogNumber,CloseReason) (This)->lpVtbl->InformUIClosed(This,byDialogNumber,CloseReason) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_ConditionalAccess_QueryInterface(IBDA_ConditionalAccess* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_ConditionalAccess_AddRef(IBDA_ConditionalAccess* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_ConditionalAccess_Release(IBDA_ConditionalAccess* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_ConditionalAccess methods ***/ +static FORCEINLINE HRESULT IBDA_ConditionalAccess_get_SmartCardStatus(IBDA_ConditionalAccess* This,SmartCardStatusType *pCardStatus,SmartCardAssociationType *pCardAssociation,BSTR *pbstrCardError,VARIANT_BOOL *pfOOBLocked) { + return This->lpVtbl->get_SmartCardStatus(This,pCardStatus,pCardAssociation,pbstrCardError,pfOOBLocked); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_get_SmartCardInfo(IBDA_ConditionalAccess* This,BSTR *pbstrCardName,BSTR *pbstrCardManufacturer,VARIANT_BOOL *pfDaylightSavings,BYTE *pbyRatingRegion,LONG *plTimeZoneOffsetMinutes,BSTR *pbstrLanguage,EALocationCodeType *pEALocationCode) { + return This->lpVtbl->get_SmartCardInfo(This,pbstrCardName,pbstrCardManufacturer,pfDaylightSavings,pbyRatingRegion,plTimeZoneOffsetMinutes,pbstrLanguage,pEALocationCode); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_get_SmartCardApplications(IBDA_ConditionalAccess* This,ULONG *pulcApplications,ULONG ulcApplicationsMax,SmartCardApplication rgApplications[]) { + return This->lpVtbl->get_SmartCardApplications(This,pulcApplications,ulcApplicationsMax,rgApplications); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_get_Entitlement(IBDA_ConditionalAccess* This,USHORT usVirtualChannel,EntitlementType *pEntitlement) { + return This->lpVtbl->get_Entitlement(This,usVirtualChannel,pEntitlement); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_TuneByChannel(IBDA_ConditionalAccess* This,USHORT usVirtualChannel) { + return This->lpVtbl->TuneByChannel(This,usVirtualChannel); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_SetProgram(IBDA_ConditionalAccess* This,USHORT usProgramNumber) { + return This->lpVtbl->SetProgram(This,usProgramNumber); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_AddProgram(IBDA_ConditionalAccess* This,USHORT usProgramNumber) { + return This->lpVtbl->AddProgram(This,usProgramNumber); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_RemoveProgram(IBDA_ConditionalAccess* This,USHORT usProgramNumber) { + return This->lpVtbl->RemoveProgram(This,usProgramNumber); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_GetModuleUI(IBDA_ConditionalAccess* This,BYTE byDialogNumber,BSTR *pbstrURL) { + return This->lpVtbl->GetModuleUI(This,byDialogNumber,pbstrURL); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccess_InformUIClosed(IBDA_ConditionalAccess* This,BYTE byDialogNumber,UICloseReasonType CloseReason) { + return This->lpVtbl->InformUIClosed(This,byDialogNumber,CloseReason); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_ConditionalAccess_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DiagnosticProperties interface + */ +#ifndef __IBDA_DiagnosticProperties_INTERFACE_DEFINED__ +#define __IBDA_DiagnosticProperties_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DiagnosticProperties, 0x20e80cb5, 0xc543, 0x4c1b, 0x8e,0xb3, 0x49,0xe7,0x19,0xee,0xe7,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("20e80cb5-c543-4c1b-8eb3-49e719eee7d4") +IBDA_DiagnosticProperties : public IPropertyBag +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DiagnosticProperties, 0x20e80cb5, 0xc543, 0x4c1b, 0x8e,0xb3, 0x49,0xe7,0x19,0xee,0xe7,0xd4) +#endif +#else +typedef struct IBDA_DiagnosticPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DiagnosticProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DiagnosticProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DiagnosticProperties *This); + + /*** IPropertyBag methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IBDA_DiagnosticProperties *This, + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog); + + HRESULT (STDMETHODCALLTYPE *Write)( + IBDA_DiagnosticProperties *This, + LPCOLESTR pszPropName, + VARIANT *pVar); + + END_INTERFACE +} IBDA_DiagnosticPropertiesVtbl; + +interface IBDA_DiagnosticProperties { + CONST_VTBL IBDA_DiagnosticPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DiagnosticProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DiagnosticProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DiagnosticProperties_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyBag methods ***/ +#define IBDA_DiagnosticProperties_Read(This,pszPropName,pVar,pErrorLog) (This)->lpVtbl->Read(This,pszPropName,pVar,pErrorLog) +#define IBDA_DiagnosticProperties_Write(This,pszPropName,pVar) (This)->lpVtbl->Write(This,pszPropName,pVar) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DiagnosticProperties_QueryInterface(IBDA_DiagnosticProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DiagnosticProperties_AddRef(IBDA_DiagnosticProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DiagnosticProperties_Release(IBDA_DiagnosticProperties* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyBag methods ***/ +static FORCEINLINE HRESULT IBDA_DiagnosticProperties_Read(IBDA_DiagnosticProperties* This,LPCOLESTR pszPropName,VARIANT *pVar,IErrorLog *pErrorLog) { + return This->lpVtbl->Read(This,pszPropName,pVar,pErrorLog); +} +static FORCEINLINE HRESULT IBDA_DiagnosticProperties_Write(IBDA_DiagnosticProperties* This,LPCOLESTR pszPropName,VARIANT *pVar) { + return This->lpVtbl->Write(This,pszPropName,pVar); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DiagnosticProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DRM interface + */ +#ifndef __IBDA_DRM_INTERFACE_DEFINED__ +#define __IBDA_DRM_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DRM, 0xf98d88b0, 0x1992, 0x4cd6, 0xa6,0xd9, 0xb9,0xaf,0xab,0x99,0x33,0x0d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f98d88b0-1992-4cd6-a6d9-b9afab99330d") +IBDA_DRM : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDRMPairingStatus( + DWORD *pdwStatus, + HRESULT *phError) = 0; + + virtual HRESULT STDMETHODCALLTYPE PerformDRMPairing( + BOOL fSync) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DRM, 0xf98d88b0, 0x1992, 0x4cd6, 0xa6,0xd9, 0xb9,0xaf,0xab,0x99,0x33,0x0d) +#endif +#else +typedef struct IBDA_DRMVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DRM *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DRM *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DRM *This); + + /*** IBDA_DRM methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDRMPairingStatus)( + IBDA_DRM *This, + DWORD *pdwStatus, + HRESULT *phError); + + HRESULT (STDMETHODCALLTYPE *PerformDRMPairing)( + IBDA_DRM *This, + BOOL fSync); + + END_INTERFACE +} IBDA_DRMVtbl; + +interface IBDA_DRM { + CONST_VTBL IBDA_DRMVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DRM_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DRM_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DRM_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DRM methods ***/ +#define IBDA_DRM_GetDRMPairingStatus(This,pdwStatus,phError) (This)->lpVtbl->GetDRMPairingStatus(This,pdwStatus,phError) +#define IBDA_DRM_PerformDRMPairing(This,fSync) (This)->lpVtbl->PerformDRMPairing(This,fSync) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DRM_QueryInterface(IBDA_DRM* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DRM_AddRef(IBDA_DRM* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DRM_Release(IBDA_DRM* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DRM methods ***/ +static FORCEINLINE HRESULT IBDA_DRM_GetDRMPairingStatus(IBDA_DRM* This,DWORD *pdwStatus,HRESULT *phError) { + return This->lpVtbl->GetDRMPairingStatus(This,pdwStatus,phError); +} +static FORCEINLINE HRESULT IBDA_DRM_PerformDRMPairing(IBDA_DRM* This,BOOL fSync) { + return This->lpVtbl->PerformDRMPairing(This,fSync); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DRM_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_NameValueService interface + */ +#ifndef __IBDA_NameValueService_INTERFACE_DEFINED__ +#define __IBDA_NameValueService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_NameValueService, 0x7f0b3150, 0x7b81, 0x4ad4, 0x98,0xe3, 0x7e,0x90,0x97,0x09,0x43,0x01); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7f0b3150-7b81-4ad4-98e3-7e9097094301") +IBDA_NameValueService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetValueNameByIndex( + ULONG ulIndex, + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + BSTR bstrName, + BSTR bstrLanguage, + BSTR *pbstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValue( + ULONG ulDialogRequest, + BSTR bstrLanguage, + BSTR bstrName, + BSTR bstrValue, + ULONG ulReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_NameValueService, 0x7f0b3150, 0x7b81, 0x4ad4, 0x98,0xe3, 0x7e,0x90,0x97,0x09,0x43,0x01) +#endif +#else +typedef struct IBDA_NameValueServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_NameValueService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_NameValueService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_NameValueService *This); + + /*** IBDA_NameValueService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetValueNameByIndex)( + IBDA_NameValueService *This, + ULONG ulIndex, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IBDA_NameValueService *This, + BSTR bstrName, + BSTR bstrLanguage, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *SetValue)( + IBDA_NameValueService *This, + ULONG ulDialogRequest, + BSTR bstrLanguage, + BSTR bstrName, + BSTR bstrValue, + ULONG ulReserved); + + END_INTERFACE +} IBDA_NameValueServiceVtbl; + +interface IBDA_NameValueService { + CONST_VTBL IBDA_NameValueServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_NameValueService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_NameValueService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_NameValueService_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_NameValueService methods ***/ +#define IBDA_NameValueService_GetValueNameByIndex(This,ulIndex,pbstrName) (This)->lpVtbl->GetValueNameByIndex(This,ulIndex,pbstrName) +#define IBDA_NameValueService_GetValue(This,bstrName,bstrLanguage,pbstrValue) (This)->lpVtbl->GetValue(This,bstrName,bstrLanguage,pbstrValue) +#define IBDA_NameValueService_SetValue(This,ulDialogRequest,bstrLanguage,bstrName,bstrValue,ulReserved) (This)->lpVtbl->SetValue(This,ulDialogRequest,bstrLanguage,bstrName,bstrValue,ulReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_NameValueService_QueryInterface(IBDA_NameValueService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_NameValueService_AddRef(IBDA_NameValueService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_NameValueService_Release(IBDA_NameValueService* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_NameValueService methods ***/ +static FORCEINLINE HRESULT IBDA_NameValueService_GetValueNameByIndex(IBDA_NameValueService* This,ULONG ulIndex,BSTR *pbstrName) { + return This->lpVtbl->GetValueNameByIndex(This,ulIndex,pbstrName); +} +static FORCEINLINE HRESULT IBDA_NameValueService_GetValue(IBDA_NameValueService* This,BSTR bstrName,BSTR bstrLanguage,BSTR *pbstrValue) { + return This->lpVtbl->GetValue(This,bstrName,bstrLanguage,pbstrValue); +} +static FORCEINLINE HRESULT IBDA_NameValueService_SetValue(IBDA_NameValueService* This,ULONG ulDialogRequest,BSTR bstrLanguage,BSTR bstrName,BSTR bstrValue,ULONG ulReserved) { + return This->lpVtbl->SetValue(This,ulDialogRequest,bstrLanguage,bstrName,bstrValue,ulReserved); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_NameValueService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_ConditionalAccessEx interface + */ +#ifndef __IBDA_ConditionalAccessEx_INTERFACE_DEFINED__ +#define __IBDA_ConditionalAccessEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_ConditionalAccessEx, 0x497c3418, 0x23cb, 0x44ba, 0xbb,0x62, 0x76,0x9f,0x50,0x6f,0xce,0xa7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("497c3418-23cb-44ba-bb62-769f506fcea7") +IBDA_ConditionalAccessEx : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CheckEntitlementToken( + ULONG ulDialogRequest, + BSTR bstrLanguage, + BDA_CONDITIONALACCESS_REQUESTTYPE RequestType, + ULONG ulcbEntitlementTokenLen, + BYTE *pbEntitlementToken, + ULONG *pulDescrambleStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCaptureToken( + ULONG ulcbCaptureTokenLen, + BYTE *pbCaptureToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenBroadcastMmi( + ULONG ulDialogRequest, + BSTR bstrLanguage, + ULONG EventId) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseMmiDialog( + ULONG ulDialogRequest, + BSTR bstrLanguage, + ULONG ulDialogNumber, + BDA_CONDITIONALACCESS_MMICLOSEREASON ReasonCode, + ULONG *pulSessionResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDialogRequestNumber( + ULONG *pulDialogRequestNumber) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_ConditionalAccessEx, 0x497c3418, 0x23cb, 0x44ba, 0xbb,0x62, 0x76,0x9f,0x50,0x6f,0xce,0xa7) +#endif +#else +typedef struct IBDA_ConditionalAccessExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_ConditionalAccessEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_ConditionalAccessEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_ConditionalAccessEx *This); + + /*** IBDA_ConditionalAccessEx methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckEntitlementToken)( + IBDA_ConditionalAccessEx *This, + ULONG ulDialogRequest, + BSTR bstrLanguage, + BDA_CONDITIONALACCESS_REQUESTTYPE RequestType, + ULONG ulcbEntitlementTokenLen, + BYTE *pbEntitlementToken, + ULONG *pulDescrambleStatus); + + HRESULT (STDMETHODCALLTYPE *SetCaptureToken)( + IBDA_ConditionalAccessEx *This, + ULONG ulcbCaptureTokenLen, + BYTE *pbCaptureToken); + + HRESULT (STDMETHODCALLTYPE *OpenBroadcastMmi)( + IBDA_ConditionalAccessEx *This, + ULONG ulDialogRequest, + BSTR bstrLanguage, + ULONG EventId); + + HRESULT (STDMETHODCALLTYPE *CloseMmiDialog)( + IBDA_ConditionalAccessEx *This, + ULONG ulDialogRequest, + BSTR bstrLanguage, + ULONG ulDialogNumber, + BDA_CONDITIONALACCESS_MMICLOSEREASON ReasonCode, + ULONG *pulSessionResult); + + HRESULT (STDMETHODCALLTYPE *CreateDialogRequestNumber)( + IBDA_ConditionalAccessEx *This, + ULONG *pulDialogRequestNumber); + + END_INTERFACE +} IBDA_ConditionalAccessExVtbl; + +interface IBDA_ConditionalAccessEx { + CONST_VTBL IBDA_ConditionalAccessExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_ConditionalAccessEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_ConditionalAccessEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_ConditionalAccessEx_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_ConditionalAccessEx methods ***/ +#define IBDA_ConditionalAccessEx_CheckEntitlementToken(This,ulDialogRequest,bstrLanguage,RequestType,ulcbEntitlementTokenLen,pbEntitlementToken,pulDescrambleStatus) (This)->lpVtbl->CheckEntitlementToken(This,ulDialogRequest,bstrLanguage,RequestType,ulcbEntitlementTokenLen,pbEntitlementToken,pulDescrambleStatus) +#define IBDA_ConditionalAccessEx_SetCaptureToken(This,ulcbCaptureTokenLen,pbCaptureToken) (This)->lpVtbl->SetCaptureToken(This,ulcbCaptureTokenLen,pbCaptureToken) +#define IBDA_ConditionalAccessEx_OpenBroadcastMmi(This,ulDialogRequest,bstrLanguage,EventId) (This)->lpVtbl->OpenBroadcastMmi(This,ulDialogRequest,bstrLanguage,EventId) +#define IBDA_ConditionalAccessEx_CloseMmiDialog(This,ulDialogRequest,bstrLanguage,ulDialogNumber,ReasonCode,pulSessionResult) (This)->lpVtbl->CloseMmiDialog(This,ulDialogRequest,bstrLanguage,ulDialogNumber,ReasonCode,pulSessionResult) +#define IBDA_ConditionalAccessEx_CreateDialogRequestNumber(This,pulDialogRequestNumber) (This)->lpVtbl->CreateDialogRequestNumber(This,pulDialogRequestNumber) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_ConditionalAccessEx_QueryInterface(IBDA_ConditionalAccessEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_ConditionalAccessEx_AddRef(IBDA_ConditionalAccessEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_ConditionalAccessEx_Release(IBDA_ConditionalAccessEx* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_ConditionalAccessEx methods ***/ +static FORCEINLINE HRESULT IBDA_ConditionalAccessEx_CheckEntitlementToken(IBDA_ConditionalAccessEx* This,ULONG ulDialogRequest,BSTR bstrLanguage,BDA_CONDITIONALACCESS_REQUESTTYPE RequestType,ULONG ulcbEntitlementTokenLen,BYTE *pbEntitlementToken,ULONG *pulDescrambleStatus) { + return This->lpVtbl->CheckEntitlementToken(This,ulDialogRequest,bstrLanguage,RequestType,ulcbEntitlementTokenLen,pbEntitlementToken,pulDescrambleStatus); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccessEx_SetCaptureToken(IBDA_ConditionalAccessEx* This,ULONG ulcbCaptureTokenLen,BYTE *pbCaptureToken) { + return This->lpVtbl->SetCaptureToken(This,ulcbCaptureTokenLen,pbCaptureToken); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccessEx_OpenBroadcastMmi(IBDA_ConditionalAccessEx* This,ULONG ulDialogRequest,BSTR bstrLanguage,ULONG EventId) { + return This->lpVtbl->OpenBroadcastMmi(This,ulDialogRequest,bstrLanguage,EventId); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccessEx_CloseMmiDialog(IBDA_ConditionalAccessEx* This,ULONG ulDialogRequest,BSTR bstrLanguage,ULONG ulDialogNumber,BDA_CONDITIONALACCESS_MMICLOSEREASON ReasonCode,ULONG *pulSessionResult) { + return This->lpVtbl->CloseMmiDialog(This,ulDialogRequest,bstrLanguage,ulDialogNumber,ReasonCode,pulSessionResult); +} +static FORCEINLINE HRESULT IBDA_ConditionalAccessEx_CreateDialogRequestNumber(IBDA_ConditionalAccessEx* This,ULONG *pulDialogRequestNumber) { + return This->lpVtbl->CreateDialogRequestNumber(This,pulDialogRequestNumber); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_ConditionalAccessEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_ISDBConditionalAccess interface + */ +#ifndef __IBDA_ISDBConditionalAccess_INTERFACE_DEFINED__ +#define __IBDA_ISDBConditionalAccess_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_ISDBConditionalAccess, 0x5e68c627, 0x16c2, 0x4e6c, 0xb1,0xe2, 0xd0,0x01,0x70,0xcd,0xaa,0x0f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5e68c627-16c2-4e6c-b1e2-d00170cdaa0f") +IBDA_ISDBConditionalAccess : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetIsdbCasRequest( + ULONG ulRequestId, + ULONG ulcbRequestBufferLen, + BYTE *pbRequestBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_ISDBConditionalAccess, 0x5e68c627, 0x16c2, 0x4e6c, 0xb1,0xe2, 0xd0,0x01,0x70,0xcd,0xaa,0x0f) +#endif +#else +typedef struct IBDA_ISDBConditionalAccessVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_ISDBConditionalAccess *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_ISDBConditionalAccess *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_ISDBConditionalAccess *This); + + /*** IBDA_ISDBConditionalAccess methods ***/ + HRESULT (STDMETHODCALLTYPE *SetIsdbCasRequest)( + IBDA_ISDBConditionalAccess *This, + ULONG ulRequestId, + ULONG ulcbRequestBufferLen, + BYTE *pbRequestBuffer); + + END_INTERFACE +} IBDA_ISDBConditionalAccessVtbl; + +interface IBDA_ISDBConditionalAccess { + CONST_VTBL IBDA_ISDBConditionalAccessVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_ISDBConditionalAccess_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_ISDBConditionalAccess_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_ISDBConditionalAccess_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_ISDBConditionalAccess methods ***/ +#define IBDA_ISDBConditionalAccess_SetIsdbCasRequest(This,ulRequestId,ulcbRequestBufferLen,pbRequestBuffer) (This)->lpVtbl->SetIsdbCasRequest(This,ulRequestId,ulcbRequestBufferLen,pbRequestBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_ISDBConditionalAccess_QueryInterface(IBDA_ISDBConditionalAccess* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_ISDBConditionalAccess_AddRef(IBDA_ISDBConditionalAccess* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_ISDBConditionalAccess_Release(IBDA_ISDBConditionalAccess* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_ISDBConditionalAccess methods ***/ +static FORCEINLINE HRESULT IBDA_ISDBConditionalAccess_SetIsdbCasRequest(IBDA_ISDBConditionalAccess* This,ULONG ulRequestId,ULONG ulcbRequestBufferLen,BYTE *pbRequestBuffer) { + return This->lpVtbl->SetIsdbCasRequest(This,ulRequestId,ulcbRequestBufferLen,pbRequestBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_ISDBConditionalAccess_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_EventingService interface + */ +#ifndef __IBDA_EventingService_INTERFACE_DEFINED__ +#define __IBDA_EventingService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_EventingService, 0x207c413f, 0x00dc, 0x4c61, 0xba,0xd6, 0x6f,0xee,0x1f,0xf0,0x70,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("207c413f-00dc-4c61-bad6-6fee1ff07064") +IBDA_EventingService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CompleteEvent( + ULONG ulEventID, + ULONG ulEventResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_EventingService, 0x207c413f, 0x00dc, 0x4c61, 0xba,0xd6, 0x6f,0xee,0x1f,0xf0,0x70,0x64) +#endif +#else +typedef struct IBDA_EventingServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_EventingService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_EventingService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_EventingService *This); + + /*** IBDA_EventingService methods ***/ + HRESULT (STDMETHODCALLTYPE *CompleteEvent)( + IBDA_EventingService *This, + ULONG ulEventID, + ULONG ulEventResult); + + END_INTERFACE +} IBDA_EventingServiceVtbl; + +interface IBDA_EventingService { + CONST_VTBL IBDA_EventingServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_EventingService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_EventingService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_EventingService_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_EventingService methods ***/ +#define IBDA_EventingService_CompleteEvent(This,ulEventID,ulEventResult) (This)->lpVtbl->CompleteEvent(This,ulEventID,ulEventResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_EventingService_QueryInterface(IBDA_EventingService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_EventingService_AddRef(IBDA_EventingService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_EventingService_Release(IBDA_EventingService* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_EventingService methods ***/ +static FORCEINLINE HRESULT IBDA_EventingService_CompleteEvent(IBDA_EventingService* This,ULONG ulEventID,ULONG ulEventResult) { + return This->lpVtbl->CompleteEvent(This,ulEventID,ulEventResult); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_EventingService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_AUX interface + */ +#ifndef __IBDA_AUX_INTERFACE_DEFINED__ +#define __IBDA_AUX_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_AUX, 0x7def4c09, 0x6e66, 0x4567, 0xa8,0x19, 0xf0,0xe1,0x7f,0x4a,0x81,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7def4c09-6e66-4567-a819-f0e17f4a81ab") +IBDA_AUX : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryCapabilities( + DWORD *pdwNumAuxInputsBSTR) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCapability( + DWORD dwIndex, + DWORD *dwInputID, + GUID *pConnectorType, + DWORD *ConnTypeNum, + DWORD *NumVideoStds, + ULONGLONG *AnalogStds) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_AUX, 0x7def4c09, 0x6e66, 0x4567, 0xa8,0x19, 0xf0,0xe1,0x7f,0x4a,0x81,0xab) +#endif +#else +typedef struct IBDA_AUXVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_AUX *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_AUX *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_AUX *This); + + /*** IBDA_AUX methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryCapabilities)( + IBDA_AUX *This, + DWORD *pdwNumAuxInputsBSTR); + + HRESULT (STDMETHODCALLTYPE *EnumCapability)( + IBDA_AUX *This, + DWORD dwIndex, + DWORD *dwInputID, + GUID *pConnectorType, + DWORD *ConnTypeNum, + DWORD *NumVideoStds, + ULONGLONG *AnalogStds); + + END_INTERFACE +} IBDA_AUXVtbl; + +interface IBDA_AUX { + CONST_VTBL IBDA_AUXVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_AUX_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_AUX_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_AUX_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_AUX methods ***/ +#define IBDA_AUX_QueryCapabilities(This,pdwNumAuxInputsBSTR) (This)->lpVtbl->QueryCapabilities(This,pdwNumAuxInputsBSTR) +#define IBDA_AUX_EnumCapability(This,dwIndex,dwInputID,pConnectorType,ConnTypeNum,NumVideoStds,AnalogStds) (This)->lpVtbl->EnumCapability(This,dwIndex,dwInputID,pConnectorType,ConnTypeNum,NumVideoStds,AnalogStds) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_AUX_QueryInterface(IBDA_AUX* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_AUX_AddRef(IBDA_AUX* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_AUX_Release(IBDA_AUX* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_AUX methods ***/ +static FORCEINLINE HRESULT IBDA_AUX_QueryCapabilities(IBDA_AUX* This,DWORD *pdwNumAuxInputsBSTR) { + return This->lpVtbl->QueryCapabilities(This,pdwNumAuxInputsBSTR); +} +static FORCEINLINE HRESULT IBDA_AUX_EnumCapability(IBDA_AUX* This,DWORD dwIndex,DWORD *dwInputID,GUID *pConnectorType,DWORD *ConnTypeNum,DWORD *NumVideoStds,ULONGLONG *AnalogStds) { + return This->lpVtbl->EnumCapability(This,dwIndex,dwInputID,pConnectorType,ConnTypeNum,NumVideoStds,AnalogStds); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_AUX_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_Encoder interface + */ +#ifndef __IBDA_Encoder_INTERFACE_DEFINED__ +#define __IBDA_Encoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_Encoder, 0x3a8bad59, 0x59fe, 0x4559, 0xa0,0xba, 0x39,0x6c,0xfa,0xa9,0x8a,0xe3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3a8bad59-59fe-4559-a0ba-396cfaa98ae3") +IBDA_Encoder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryCapabilities( + DWORD *NumAudioFmts, + DWORD *NumVideoFmts) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumAudioCapability( + DWORD FmtIndex, + DWORD *MethodID, + DWORD *AlgorithmType, + DWORD *SamplingRate, + DWORD *BitDepth, + DWORD *NumChannels) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumVideoCapability( + DWORD FmtIndex, + DWORD *MethodID, + DWORD *AlgorithmType, + DWORD *VerticalSize, + DWORD *HorizontalSize, + DWORD *AspectRatio, + DWORD *FrameRateCode, + DWORD *ProgressiveSequence) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetParameters( + DWORD AudioBitrateMode, + DWORD AudioBitrate, + DWORD AudioMethodID, + DWORD AudioProgram, + DWORD VideoBitrateMode, + DWORD VideoBitrate, + DWORD VideoMethodID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + DWORD *AudioBitrateMax, + DWORD *AudioBitrateMin, + DWORD *AudioBitrateMode, + DWORD *AudioBitrateStepping, + DWORD *AudioBitrate, + DWORD *AudioMethodID, + DWORD *AvailableAudioPrograms, + DWORD *AudioProgram, + DWORD *VideoBitrateMax, + DWORD *VideoBitrateMin, + DWORD *VideoBitrateMode, + DWORD *VideoBitrate, + DWORD *VideoBitrateStepping, + DWORD *VideoMethodID, + DWORD *SignalSourceID, + ULONGLONG *SignalFormat, + BOOL *SignalLock, + LONG *SignalLevel, + DWORD *SignalToNoiseRatio) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_Encoder, 0x3a8bad59, 0x59fe, 0x4559, 0xa0,0xba, 0x39,0x6c,0xfa,0xa9,0x8a,0xe3) +#endif +#else +typedef struct IBDA_EncoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_Encoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_Encoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_Encoder *This); + + /*** IBDA_Encoder methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryCapabilities)( + IBDA_Encoder *This, + DWORD *NumAudioFmts, + DWORD *NumVideoFmts); + + HRESULT (STDMETHODCALLTYPE *EnumAudioCapability)( + IBDA_Encoder *This, + DWORD FmtIndex, + DWORD *MethodID, + DWORD *AlgorithmType, + DWORD *SamplingRate, + DWORD *BitDepth, + DWORD *NumChannels); + + HRESULT (STDMETHODCALLTYPE *EnumVideoCapability)( + IBDA_Encoder *This, + DWORD FmtIndex, + DWORD *MethodID, + DWORD *AlgorithmType, + DWORD *VerticalSize, + DWORD *HorizontalSize, + DWORD *AspectRatio, + DWORD *FrameRateCode, + DWORD *ProgressiveSequence); + + HRESULT (STDMETHODCALLTYPE *SetParameters)( + IBDA_Encoder *This, + DWORD AudioBitrateMode, + DWORD AudioBitrate, + DWORD AudioMethodID, + DWORD AudioProgram, + DWORD VideoBitrateMode, + DWORD VideoBitrate, + DWORD VideoMethodID); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IBDA_Encoder *This, + DWORD *AudioBitrateMax, + DWORD *AudioBitrateMin, + DWORD *AudioBitrateMode, + DWORD *AudioBitrateStepping, + DWORD *AudioBitrate, + DWORD *AudioMethodID, + DWORD *AvailableAudioPrograms, + DWORD *AudioProgram, + DWORD *VideoBitrateMax, + DWORD *VideoBitrateMin, + DWORD *VideoBitrateMode, + DWORD *VideoBitrate, + DWORD *VideoBitrateStepping, + DWORD *VideoMethodID, + DWORD *SignalSourceID, + ULONGLONG *SignalFormat, + BOOL *SignalLock, + LONG *SignalLevel, + DWORD *SignalToNoiseRatio); + + END_INTERFACE +} IBDA_EncoderVtbl; + +interface IBDA_Encoder { + CONST_VTBL IBDA_EncoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_Encoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_Encoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_Encoder_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_Encoder methods ***/ +#define IBDA_Encoder_QueryCapabilities(This,NumAudioFmts,NumVideoFmts) (This)->lpVtbl->QueryCapabilities(This,NumAudioFmts,NumVideoFmts) +#define IBDA_Encoder_EnumAudioCapability(This,FmtIndex,MethodID,AlgorithmType,SamplingRate,BitDepth,NumChannels) (This)->lpVtbl->EnumAudioCapability(This,FmtIndex,MethodID,AlgorithmType,SamplingRate,BitDepth,NumChannels) +#define IBDA_Encoder_EnumVideoCapability(This,FmtIndex,MethodID,AlgorithmType,VerticalSize,HorizontalSize,AspectRatio,FrameRateCode,ProgressiveSequence) (This)->lpVtbl->EnumVideoCapability(This,FmtIndex,MethodID,AlgorithmType,VerticalSize,HorizontalSize,AspectRatio,FrameRateCode,ProgressiveSequence) +#define IBDA_Encoder_SetParameters(This,AudioBitrateMode,AudioBitrate,AudioMethodID,AudioProgram,VideoBitrateMode,VideoBitrate,VideoMethodID) (This)->lpVtbl->SetParameters(This,AudioBitrateMode,AudioBitrate,AudioMethodID,AudioProgram,VideoBitrateMode,VideoBitrate,VideoMethodID) +#define IBDA_Encoder_GetState(This,AudioBitrateMax,AudioBitrateMin,AudioBitrateMode,AudioBitrateStepping,AudioBitrate,AudioMethodID,AvailableAudioPrograms,AudioProgram,VideoBitrateMax,VideoBitrateMin,VideoBitrateMode,VideoBitrate,VideoBitrateStepping,VideoMethodID,SignalSourceID,SignalFormat,SignalLock,SignalLevel,SignalToNoiseRatio) (This)->lpVtbl->GetState(This,AudioBitrateMax,AudioBitrateMin,AudioBitrateMode,AudioBitrateStepping,AudioBitrate,AudioMethodID,AvailableAudioPrograms,AudioProgram,VideoBitrateMax,VideoBitrateMin,VideoBitrateMode,VideoBitrate,VideoBitrateStepping,VideoMethodID,SignalSourceID,SignalFormat,SignalLock,SignalLevel,SignalToNoiseRatio) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_Encoder_QueryInterface(IBDA_Encoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_Encoder_AddRef(IBDA_Encoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_Encoder_Release(IBDA_Encoder* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_Encoder methods ***/ +static FORCEINLINE HRESULT IBDA_Encoder_QueryCapabilities(IBDA_Encoder* This,DWORD *NumAudioFmts,DWORD *NumVideoFmts) { + return This->lpVtbl->QueryCapabilities(This,NumAudioFmts,NumVideoFmts); +} +static FORCEINLINE HRESULT IBDA_Encoder_EnumAudioCapability(IBDA_Encoder* This,DWORD FmtIndex,DWORD *MethodID,DWORD *AlgorithmType,DWORD *SamplingRate,DWORD *BitDepth,DWORD *NumChannels) { + return This->lpVtbl->EnumAudioCapability(This,FmtIndex,MethodID,AlgorithmType,SamplingRate,BitDepth,NumChannels); +} +static FORCEINLINE HRESULT IBDA_Encoder_EnumVideoCapability(IBDA_Encoder* This,DWORD FmtIndex,DWORD *MethodID,DWORD *AlgorithmType,DWORD *VerticalSize,DWORD *HorizontalSize,DWORD *AspectRatio,DWORD *FrameRateCode,DWORD *ProgressiveSequence) { + return This->lpVtbl->EnumVideoCapability(This,FmtIndex,MethodID,AlgorithmType,VerticalSize,HorizontalSize,AspectRatio,FrameRateCode,ProgressiveSequence); +} +static FORCEINLINE HRESULT IBDA_Encoder_SetParameters(IBDA_Encoder* This,DWORD AudioBitrateMode,DWORD AudioBitrate,DWORD AudioMethodID,DWORD AudioProgram,DWORD VideoBitrateMode,DWORD VideoBitrate,DWORD VideoMethodID) { + return This->lpVtbl->SetParameters(This,AudioBitrateMode,AudioBitrate,AudioMethodID,AudioProgram,VideoBitrateMode,VideoBitrate,VideoMethodID); +} +static FORCEINLINE HRESULT IBDA_Encoder_GetState(IBDA_Encoder* This,DWORD *AudioBitrateMax,DWORD *AudioBitrateMin,DWORD *AudioBitrateMode,DWORD *AudioBitrateStepping,DWORD *AudioBitrate,DWORD *AudioMethodID,DWORD *AvailableAudioPrograms,DWORD *AudioProgram,DWORD *VideoBitrateMax,DWORD *VideoBitrateMin,DWORD *VideoBitrateMode,DWORD *VideoBitrate,DWORD *VideoBitrateStepping,DWORD *VideoMethodID,DWORD *SignalSourceID,ULONGLONG *SignalFormat,BOOL *SignalLock,LONG *SignalLevel,DWORD *SignalToNoiseRatio) { + return This->lpVtbl->GetState(This,AudioBitrateMax,AudioBitrateMin,AudioBitrateMode,AudioBitrateStepping,AudioBitrate,AudioMethodID,AvailableAudioPrograms,AudioProgram,VideoBitrateMax,VideoBitrateMin,VideoBitrateMode,VideoBitrate,VideoBitrateStepping,VideoMethodID,SignalSourceID,SignalFormat,SignalLock,SignalLevel,SignalToNoiseRatio); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_Encoder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_FDC interface + */ +#ifndef __IBDA_FDC_INTERFACE_DEFINED__ +#define __IBDA_FDC_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_FDC, 0x138adc7e, 0x58ae, 0x437f, 0xb0,0xb4, 0xc9,0xfe,0x19,0xd5,0xb4,0xac); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("138adc7e-58ae-437f-b0b4-c9fe19d5b4ac") +IBDA_FDC : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStatus( + DWORD *CurrentBitrate, + BOOL *CarrierLock, + DWORD *CurrentFrequency, + BOOL *CurrentSpectrumInversion, + BSTR *CurrentPIDList, + BSTR *CurrentTIDList, + BOOL *Overflow) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestTables( + BSTR TableIDs) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddPid( + BSTR PidsToAdd, + DWORD *RemainingFilterEntries) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemovePid( + BSTR PidsToRemove) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTid( + BSTR TidsToAdd, + BSTR *CurrentTidList) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveTid( + BSTR TidsToRemove) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTableSection( + DWORD *Pid, + DWORD MaxBufferSize, + DWORD *ActualSize, + BYTE *SecBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_FDC, 0x138adc7e, 0x58ae, 0x437f, 0xb0,0xb4, 0xc9,0xfe,0x19,0xd5,0xb4,0xac) +#endif +#else +typedef struct IBDA_FDCVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_FDC *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_FDC *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_FDC *This); + + /*** IBDA_FDC methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IBDA_FDC *This, + DWORD *CurrentBitrate, + BOOL *CarrierLock, + DWORD *CurrentFrequency, + BOOL *CurrentSpectrumInversion, + BSTR *CurrentPIDList, + BSTR *CurrentTIDList, + BOOL *Overflow); + + HRESULT (STDMETHODCALLTYPE *RequestTables)( + IBDA_FDC *This, + BSTR TableIDs); + + HRESULT (STDMETHODCALLTYPE *AddPid)( + IBDA_FDC *This, + BSTR PidsToAdd, + DWORD *RemainingFilterEntries); + + HRESULT (STDMETHODCALLTYPE *RemovePid)( + IBDA_FDC *This, + BSTR PidsToRemove); + + HRESULT (STDMETHODCALLTYPE *AddTid)( + IBDA_FDC *This, + BSTR TidsToAdd, + BSTR *CurrentTidList); + + HRESULT (STDMETHODCALLTYPE *RemoveTid)( + IBDA_FDC *This, + BSTR TidsToRemove); + + HRESULT (STDMETHODCALLTYPE *GetTableSection)( + IBDA_FDC *This, + DWORD *Pid, + DWORD MaxBufferSize, + DWORD *ActualSize, + BYTE *SecBuffer); + + END_INTERFACE +} IBDA_FDCVtbl; + +interface IBDA_FDC { + CONST_VTBL IBDA_FDCVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_FDC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_FDC_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_FDC_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_FDC methods ***/ +#define IBDA_FDC_GetStatus(This,CurrentBitrate,CarrierLock,CurrentFrequency,CurrentSpectrumInversion,CurrentPIDList,CurrentTIDList,Overflow) (This)->lpVtbl->GetStatus(This,CurrentBitrate,CarrierLock,CurrentFrequency,CurrentSpectrumInversion,CurrentPIDList,CurrentTIDList,Overflow) +#define IBDA_FDC_RequestTables(This,TableIDs) (This)->lpVtbl->RequestTables(This,TableIDs) +#define IBDA_FDC_AddPid(This,PidsToAdd,RemainingFilterEntries) (This)->lpVtbl->AddPid(This,PidsToAdd,RemainingFilterEntries) +#define IBDA_FDC_RemovePid(This,PidsToRemove) (This)->lpVtbl->RemovePid(This,PidsToRemove) +#define IBDA_FDC_AddTid(This,TidsToAdd,CurrentTidList) (This)->lpVtbl->AddTid(This,TidsToAdd,CurrentTidList) +#define IBDA_FDC_RemoveTid(This,TidsToRemove) (This)->lpVtbl->RemoveTid(This,TidsToRemove) +#define IBDA_FDC_GetTableSection(This,Pid,MaxBufferSize,ActualSize,SecBuffer) (This)->lpVtbl->GetTableSection(This,Pid,MaxBufferSize,ActualSize,SecBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_FDC_QueryInterface(IBDA_FDC* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_FDC_AddRef(IBDA_FDC* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_FDC_Release(IBDA_FDC* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_FDC methods ***/ +static FORCEINLINE HRESULT IBDA_FDC_GetStatus(IBDA_FDC* This,DWORD *CurrentBitrate,BOOL *CarrierLock,DWORD *CurrentFrequency,BOOL *CurrentSpectrumInversion,BSTR *CurrentPIDList,BSTR *CurrentTIDList,BOOL *Overflow) { + return This->lpVtbl->GetStatus(This,CurrentBitrate,CarrierLock,CurrentFrequency,CurrentSpectrumInversion,CurrentPIDList,CurrentTIDList,Overflow); +} +static FORCEINLINE HRESULT IBDA_FDC_RequestTables(IBDA_FDC* This,BSTR TableIDs) { + return This->lpVtbl->RequestTables(This,TableIDs); +} +static FORCEINLINE HRESULT IBDA_FDC_AddPid(IBDA_FDC* This,BSTR PidsToAdd,DWORD *RemainingFilterEntries) { + return This->lpVtbl->AddPid(This,PidsToAdd,RemainingFilterEntries); +} +static FORCEINLINE HRESULT IBDA_FDC_RemovePid(IBDA_FDC* This,BSTR PidsToRemove) { + return This->lpVtbl->RemovePid(This,PidsToRemove); +} +static FORCEINLINE HRESULT IBDA_FDC_AddTid(IBDA_FDC* This,BSTR TidsToAdd,BSTR *CurrentTidList) { + return This->lpVtbl->AddTid(This,TidsToAdd,CurrentTidList); +} +static FORCEINLINE HRESULT IBDA_FDC_RemoveTid(IBDA_FDC* This,BSTR TidsToRemove) { + return This->lpVtbl->RemoveTid(This,TidsToRemove); +} +static FORCEINLINE HRESULT IBDA_FDC_GetTableSection(IBDA_FDC* This,DWORD *Pid,DWORD MaxBufferSize,DWORD *ActualSize,BYTE *SecBuffer) { + return This->lpVtbl->GetTableSection(This,Pid,MaxBufferSize,ActualSize,SecBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_FDC_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_GuideDataDeliveryService interface + */ +#ifndef __IBDA_GuideDataDeliveryService_INTERFACE_DEFINED__ +#define __IBDA_GuideDataDeliveryService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_GuideDataDeliveryService, 0xc0afcb73, 0x23e7, 0x4bc6, 0xba,0xfa, 0xfd,0xc1,0x67,0xb4,0x71,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0afcb73-23e7-4bc6-bafa-fdc167b4719f") +IBDA_GuideDataDeliveryService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetGuideDataType( + GUID *pguidDataType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGuideData( + ULONG *pulcbBufferLen, + BYTE *pbBuffer, + ULONG *pulGuideDataPercentageProgress) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestGuideDataUpdate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTuneXmlFromServiceIdx( + ULONG64 ul64ServiceIdx, + BSTR *pbstrTuneXml) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetServices( + ULONG *pulcbBufferLen, + BYTE *pbBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetServiceInfoFromTuneXml( + BSTR bstrTuneXml, + BSTR *pbstrServiceDescription) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_GuideDataDeliveryService, 0xc0afcb73, 0x23e7, 0x4bc6, 0xba,0xfa, 0xfd,0xc1,0x67,0xb4,0x71,0x9f) +#endif +#else +typedef struct IBDA_GuideDataDeliveryServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_GuideDataDeliveryService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_GuideDataDeliveryService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_GuideDataDeliveryService *This); + + /*** IBDA_GuideDataDeliveryService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGuideDataType)( + IBDA_GuideDataDeliveryService *This, + GUID *pguidDataType); + + HRESULT (STDMETHODCALLTYPE *GetGuideData)( + IBDA_GuideDataDeliveryService *This, + ULONG *pulcbBufferLen, + BYTE *pbBuffer, + ULONG *pulGuideDataPercentageProgress); + + HRESULT (STDMETHODCALLTYPE *RequestGuideDataUpdate)( + IBDA_GuideDataDeliveryService *This); + + HRESULT (STDMETHODCALLTYPE *GetTuneXmlFromServiceIdx)( + IBDA_GuideDataDeliveryService *This, + ULONG64 ul64ServiceIdx, + BSTR *pbstrTuneXml); + + HRESULT (STDMETHODCALLTYPE *GetServices)( + IBDA_GuideDataDeliveryService *This, + ULONG *pulcbBufferLen, + BYTE *pbBuffer); + + HRESULT (STDMETHODCALLTYPE *GetServiceInfoFromTuneXml)( + IBDA_GuideDataDeliveryService *This, + BSTR bstrTuneXml, + BSTR *pbstrServiceDescription); + + END_INTERFACE +} IBDA_GuideDataDeliveryServiceVtbl; + +interface IBDA_GuideDataDeliveryService { + CONST_VTBL IBDA_GuideDataDeliveryServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_GuideDataDeliveryService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_GuideDataDeliveryService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_GuideDataDeliveryService_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_GuideDataDeliveryService methods ***/ +#define IBDA_GuideDataDeliveryService_GetGuideDataType(This,pguidDataType) (This)->lpVtbl->GetGuideDataType(This,pguidDataType) +#define IBDA_GuideDataDeliveryService_GetGuideData(This,pulcbBufferLen,pbBuffer,pulGuideDataPercentageProgress) (This)->lpVtbl->GetGuideData(This,pulcbBufferLen,pbBuffer,pulGuideDataPercentageProgress) +#define IBDA_GuideDataDeliveryService_RequestGuideDataUpdate(This) (This)->lpVtbl->RequestGuideDataUpdate(This) +#define IBDA_GuideDataDeliveryService_GetTuneXmlFromServiceIdx(This,ul64ServiceIdx,pbstrTuneXml) (This)->lpVtbl->GetTuneXmlFromServiceIdx(This,ul64ServiceIdx,pbstrTuneXml) +#define IBDA_GuideDataDeliveryService_GetServices(This,pulcbBufferLen,pbBuffer) (This)->lpVtbl->GetServices(This,pulcbBufferLen,pbBuffer) +#define IBDA_GuideDataDeliveryService_GetServiceInfoFromTuneXml(This,bstrTuneXml,pbstrServiceDescription) (This)->lpVtbl->GetServiceInfoFromTuneXml(This,bstrTuneXml,pbstrServiceDescription) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_QueryInterface(IBDA_GuideDataDeliveryService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_GuideDataDeliveryService_AddRef(IBDA_GuideDataDeliveryService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_GuideDataDeliveryService_Release(IBDA_GuideDataDeliveryService* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_GuideDataDeliveryService methods ***/ +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_GetGuideDataType(IBDA_GuideDataDeliveryService* This,GUID *pguidDataType) { + return This->lpVtbl->GetGuideDataType(This,pguidDataType); +} +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_GetGuideData(IBDA_GuideDataDeliveryService* This,ULONG *pulcbBufferLen,BYTE *pbBuffer,ULONG *pulGuideDataPercentageProgress) { + return This->lpVtbl->GetGuideData(This,pulcbBufferLen,pbBuffer,pulGuideDataPercentageProgress); +} +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_RequestGuideDataUpdate(IBDA_GuideDataDeliveryService* This) { + return This->lpVtbl->RequestGuideDataUpdate(This); +} +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_GetTuneXmlFromServiceIdx(IBDA_GuideDataDeliveryService* This,ULONG64 ul64ServiceIdx,BSTR *pbstrTuneXml) { + return This->lpVtbl->GetTuneXmlFromServiceIdx(This,ul64ServiceIdx,pbstrTuneXml); +} +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_GetServices(IBDA_GuideDataDeliveryService* This,ULONG *pulcbBufferLen,BYTE *pbBuffer) { + return This->lpVtbl->GetServices(This,pulcbBufferLen,pbBuffer); +} +static FORCEINLINE HRESULT IBDA_GuideDataDeliveryService_GetServiceInfoFromTuneXml(IBDA_GuideDataDeliveryService* This,BSTR bstrTuneXml,BSTR *pbstrServiceDescription) { + return This->lpVtbl->GetServiceInfoFromTuneXml(This,bstrTuneXml,pbstrServiceDescription); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_GuideDataDeliveryService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DRMService interface + */ +#ifndef __IBDA_DRMService_INTERFACE_DEFINED__ +#define __IBDA_DRMService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DRMService, 0xbff6b5bb, 0xb0ae, 0x484c, 0x9d,0xca, 0x73,0x52,0x8f,0xb0,0xb4,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bff6b5bb-b0ae-484c-9dca-73528fb0b46e") +IBDA_DRMService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetDRM( + GUID *puuidNewDrm) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDRMStatus( + BSTR *pbstrDrmUuidList, + GUID *DrmUuid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DRMService, 0xbff6b5bb, 0xb0ae, 0x484c, 0x9d,0xca, 0x73,0x52,0x8f,0xb0,0xb4,0x6e) +#endif +#else +typedef struct IBDA_DRMServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DRMService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DRMService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DRMService *This); + + /*** IBDA_DRMService methods ***/ + HRESULT (STDMETHODCALLTYPE *SetDRM)( + IBDA_DRMService *This, + GUID *puuidNewDrm); + + HRESULT (STDMETHODCALLTYPE *GetDRMStatus)( + IBDA_DRMService *This, + BSTR *pbstrDrmUuidList, + GUID *DrmUuid); + + END_INTERFACE +} IBDA_DRMServiceVtbl; + +interface IBDA_DRMService { + CONST_VTBL IBDA_DRMServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DRMService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DRMService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DRMService_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DRMService methods ***/ +#define IBDA_DRMService_SetDRM(This,puuidNewDrm) (This)->lpVtbl->SetDRM(This,puuidNewDrm) +#define IBDA_DRMService_GetDRMStatus(This,pbstrDrmUuidList,DrmUuid) (This)->lpVtbl->GetDRMStatus(This,pbstrDrmUuidList,DrmUuid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DRMService_QueryInterface(IBDA_DRMService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DRMService_AddRef(IBDA_DRMService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DRMService_Release(IBDA_DRMService* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DRMService methods ***/ +static FORCEINLINE HRESULT IBDA_DRMService_SetDRM(IBDA_DRMService* This,GUID *puuidNewDrm) { + return This->lpVtbl->SetDRM(This,puuidNewDrm); +} +static FORCEINLINE HRESULT IBDA_DRMService_GetDRMStatus(IBDA_DRMService* This,BSTR *pbstrDrmUuidList,GUID *DrmUuid) { + return This->lpVtbl->GetDRMStatus(This,pbstrDrmUuidList,DrmUuid); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DRMService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_WMDRMSession interface + */ +#ifndef __IBDA_WMDRMSession_INTERFACE_DEFINED__ +#define __IBDA_WMDRMSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_WMDRMSession, 0x4be6fa3d, 0x07cd, 0x4139, 0x8b,0x80, 0x8c,0x18,0xba,0x3a,0xec,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4be6fa3d-07cd-4139-8b80-8c18ba3aec88") +IBDA_WMDRMSession : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStatus( + ULONG *MaxCaptureToken, + ULONG *MaxStreamingPid, + ULONG *MaxLicense, + ULONG *MinSecurityLevel, + ULONG *RevInfoSequenceNumber, + ULONGLONG *RevInfoIssuedTime, + ULONG *RevInfoTTL, + ULONG *RevListVersion, + ULONG *ulState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRevInfo( + ULONG ulRevInfoLen, + BYTE *pbRevInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCrl( + ULONG ulCrlLen, + BYTE *pbCrlLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE TransactMessage( + ULONG ulcbRequest, + BYTE *pbRequest, + ULONG *pulcbResponse, + BYTE *pbResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLicense( + GUID *uuidKey, + ULONG *pulPackageLen, + BYTE *pbPackage) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReissueLicense( + GUID *uuidKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenewLicense( + ULONG ulInXmrLicenseLen, + BYTE *pbInXmrLicense, + ULONG ulEntitlementTokenLen, + BYTE *pbEntitlementToken, + ULONG *pulDescrambleStatus, + ULONG *pulOutXmrLicenseLen, + BYTE *pbOutXmrLicense) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKeyInfo( + ULONG *pulKeyInfoLen, + BYTE *pbKeyInfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_WMDRMSession, 0x4be6fa3d, 0x07cd, 0x4139, 0x8b,0x80, 0x8c,0x18,0xba,0x3a,0xec,0x88) +#endif +#else +typedef struct IBDA_WMDRMSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_WMDRMSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_WMDRMSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_WMDRMSession *This); + + /*** IBDA_WMDRMSession methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IBDA_WMDRMSession *This, + ULONG *MaxCaptureToken, + ULONG *MaxStreamingPid, + ULONG *MaxLicense, + ULONG *MinSecurityLevel, + ULONG *RevInfoSequenceNumber, + ULONGLONG *RevInfoIssuedTime, + ULONG *RevInfoTTL, + ULONG *RevListVersion, + ULONG *ulState); + + HRESULT (STDMETHODCALLTYPE *SetRevInfo)( + IBDA_WMDRMSession *This, + ULONG ulRevInfoLen, + BYTE *pbRevInfo); + + HRESULT (STDMETHODCALLTYPE *SetCrl)( + IBDA_WMDRMSession *This, + ULONG ulCrlLen, + BYTE *pbCrlLen); + + HRESULT (STDMETHODCALLTYPE *TransactMessage)( + IBDA_WMDRMSession *This, + ULONG ulcbRequest, + BYTE *pbRequest, + ULONG *pulcbResponse, + BYTE *pbResponse); + + HRESULT (STDMETHODCALLTYPE *GetLicense)( + IBDA_WMDRMSession *This, + GUID *uuidKey, + ULONG *pulPackageLen, + BYTE *pbPackage); + + HRESULT (STDMETHODCALLTYPE *ReissueLicense)( + IBDA_WMDRMSession *This, + GUID *uuidKey); + + HRESULT (STDMETHODCALLTYPE *RenewLicense)( + IBDA_WMDRMSession *This, + ULONG ulInXmrLicenseLen, + BYTE *pbInXmrLicense, + ULONG ulEntitlementTokenLen, + BYTE *pbEntitlementToken, + ULONG *pulDescrambleStatus, + ULONG *pulOutXmrLicenseLen, + BYTE *pbOutXmrLicense); + + HRESULT (STDMETHODCALLTYPE *GetKeyInfo)( + IBDA_WMDRMSession *This, + ULONG *pulKeyInfoLen, + BYTE *pbKeyInfo); + + END_INTERFACE +} IBDA_WMDRMSessionVtbl; + +interface IBDA_WMDRMSession { + CONST_VTBL IBDA_WMDRMSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_WMDRMSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_WMDRMSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_WMDRMSession_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_WMDRMSession methods ***/ +#define IBDA_WMDRMSession_GetStatus(This,MaxCaptureToken,MaxStreamingPid,MaxLicense,MinSecurityLevel,RevInfoSequenceNumber,RevInfoIssuedTime,RevInfoTTL,RevListVersion,ulState) (This)->lpVtbl->GetStatus(This,MaxCaptureToken,MaxStreamingPid,MaxLicense,MinSecurityLevel,RevInfoSequenceNumber,RevInfoIssuedTime,RevInfoTTL,RevListVersion,ulState) +#define IBDA_WMDRMSession_SetRevInfo(This,ulRevInfoLen,pbRevInfo) (This)->lpVtbl->SetRevInfo(This,ulRevInfoLen,pbRevInfo) +#define IBDA_WMDRMSession_SetCrl(This,ulCrlLen,pbCrlLen) (This)->lpVtbl->SetCrl(This,ulCrlLen,pbCrlLen) +#define IBDA_WMDRMSession_TransactMessage(This,ulcbRequest,pbRequest,pulcbResponse,pbResponse) (This)->lpVtbl->TransactMessage(This,ulcbRequest,pbRequest,pulcbResponse,pbResponse) +#define IBDA_WMDRMSession_GetLicense(This,uuidKey,pulPackageLen,pbPackage) (This)->lpVtbl->GetLicense(This,uuidKey,pulPackageLen,pbPackage) +#define IBDA_WMDRMSession_ReissueLicense(This,uuidKey) (This)->lpVtbl->ReissueLicense(This,uuidKey) +#define IBDA_WMDRMSession_RenewLicense(This,ulInXmrLicenseLen,pbInXmrLicense,ulEntitlementTokenLen,pbEntitlementToken,pulDescrambleStatus,pulOutXmrLicenseLen,pbOutXmrLicense) (This)->lpVtbl->RenewLicense(This,ulInXmrLicenseLen,pbInXmrLicense,ulEntitlementTokenLen,pbEntitlementToken,pulDescrambleStatus,pulOutXmrLicenseLen,pbOutXmrLicense) +#define IBDA_WMDRMSession_GetKeyInfo(This,pulKeyInfoLen,pbKeyInfo) (This)->lpVtbl->GetKeyInfo(This,pulKeyInfoLen,pbKeyInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_WMDRMSession_QueryInterface(IBDA_WMDRMSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_WMDRMSession_AddRef(IBDA_WMDRMSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_WMDRMSession_Release(IBDA_WMDRMSession* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_WMDRMSession methods ***/ +static FORCEINLINE HRESULT IBDA_WMDRMSession_GetStatus(IBDA_WMDRMSession* This,ULONG *MaxCaptureToken,ULONG *MaxStreamingPid,ULONG *MaxLicense,ULONG *MinSecurityLevel,ULONG *RevInfoSequenceNumber,ULONGLONG *RevInfoIssuedTime,ULONG *RevInfoTTL,ULONG *RevListVersion,ULONG *ulState) { + return This->lpVtbl->GetStatus(This,MaxCaptureToken,MaxStreamingPid,MaxLicense,MinSecurityLevel,RevInfoSequenceNumber,RevInfoIssuedTime,RevInfoTTL,RevListVersion,ulState); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_SetRevInfo(IBDA_WMDRMSession* This,ULONG ulRevInfoLen,BYTE *pbRevInfo) { + return This->lpVtbl->SetRevInfo(This,ulRevInfoLen,pbRevInfo); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_SetCrl(IBDA_WMDRMSession* This,ULONG ulCrlLen,BYTE *pbCrlLen) { + return This->lpVtbl->SetCrl(This,ulCrlLen,pbCrlLen); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_TransactMessage(IBDA_WMDRMSession* This,ULONG ulcbRequest,BYTE *pbRequest,ULONG *pulcbResponse,BYTE *pbResponse) { + return This->lpVtbl->TransactMessage(This,ulcbRequest,pbRequest,pulcbResponse,pbResponse); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_GetLicense(IBDA_WMDRMSession* This,GUID *uuidKey,ULONG *pulPackageLen,BYTE *pbPackage) { + return This->lpVtbl->GetLicense(This,uuidKey,pulPackageLen,pbPackage); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_ReissueLicense(IBDA_WMDRMSession* This,GUID *uuidKey) { + return This->lpVtbl->ReissueLicense(This,uuidKey); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_RenewLicense(IBDA_WMDRMSession* This,ULONG ulInXmrLicenseLen,BYTE *pbInXmrLicense,ULONG ulEntitlementTokenLen,BYTE *pbEntitlementToken,ULONG *pulDescrambleStatus,ULONG *pulOutXmrLicenseLen,BYTE *pbOutXmrLicense) { + return This->lpVtbl->RenewLicense(This,ulInXmrLicenseLen,pbInXmrLicense,ulEntitlementTokenLen,pbEntitlementToken,pulDescrambleStatus,pulOutXmrLicenseLen,pbOutXmrLicense); +} +static FORCEINLINE HRESULT IBDA_WMDRMSession_GetKeyInfo(IBDA_WMDRMSession* This,ULONG *pulKeyInfoLen,BYTE *pbKeyInfo) { + return This->lpVtbl->GetKeyInfo(This,pulKeyInfoLen,pbKeyInfo); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_WMDRMSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_WMDRMTuner interface + */ +#ifndef __IBDA_WMDRMTuner_INTERFACE_DEFINED__ +#define __IBDA_WMDRMTuner_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_WMDRMTuner, 0x86d979cf, 0xa8a7, 0x4f94, 0xb5,0xfb, 0x14,0xc0,0xac,0xa6,0x8f,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("86d979cf-a8a7-4f94-b5fb-14c0aca68fe6") +IBDA_WMDRMTuner : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PurchaseEntitlement( + ULONG ulDialogRequest, + BSTR bstrLanguage, + ULONG ulPurchaseTokenLen, + BYTE *pbPurchaseToken, + ULONG *pulDescrambleStatus, + ULONG *pulCaptureTokenLen, + BYTE *pbCaptureToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelCaptureToken( + ULONG ulCaptureTokenLen, + BYTE *pbCaptureToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPidProtection( + ULONG ulPid, + GUID *uuidKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPidProtection( + ULONG pulPid, + GUID *uuidKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSyncValue( + ULONG ulSyncValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStartCodeProfile( + ULONG *pulStartCodeProfileLen, + BYTE *pbStartCodeProfile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_WMDRMTuner, 0x86d979cf, 0xa8a7, 0x4f94, 0xb5,0xfb, 0x14,0xc0,0xac,0xa6,0x8f,0xe6) +#endif +#else +typedef struct IBDA_WMDRMTunerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_WMDRMTuner *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_WMDRMTuner *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_WMDRMTuner *This); + + /*** IBDA_WMDRMTuner methods ***/ + HRESULT (STDMETHODCALLTYPE *PurchaseEntitlement)( + IBDA_WMDRMTuner *This, + ULONG ulDialogRequest, + BSTR bstrLanguage, + ULONG ulPurchaseTokenLen, + BYTE *pbPurchaseToken, + ULONG *pulDescrambleStatus, + ULONG *pulCaptureTokenLen, + BYTE *pbCaptureToken); + + HRESULT (STDMETHODCALLTYPE *CancelCaptureToken)( + IBDA_WMDRMTuner *This, + ULONG ulCaptureTokenLen, + BYTE *pbCaptureToken); + + HRESULT (STDMETHODCALLTYPE *SetPidProtection)( + IBDA_WMDRMTuner *This, + ULONG ulPid, + GUID *uuidKey); + + HRESULT (STDMETHODCALLTYPE *GetPidProtection)( + IBDA_WMDRMTuner *This, + ULONG pulPid, + GUID *uuidKey); + + HRESULT (STDMETHODCALLTYPE *SetSyncValue)( + IBDA_WMDRMTuner *This, + ULONG ulSyncValue); + + HRESULT (STDMETHODCALLTYPE *GetStartCodeProfile)( + IBDA_WMDRMTuner *This, + ULONG *pulStartCodeProfileLen, + BYTE *pbStartCodeProfile); + + END_INTERFACE +} IBDA_WMDRMTunerVtbl; + +interface IBDA_WMDRMTuner { + CONST_VTBL IBDA_WMDRMTunerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_WMDRMTuner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_WMDRMTuner_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_WMDRMTuner_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_WMDRMTuner methods ***/ +#define IBDA_WMDRMTuner_PurchaseEntitlement(This,ulDialogRequest,bstrLanguage,ulPurchaseTokenLen,pbPurchaseToken,pulDescrambleStatus,pulCaptureTokenLen,pbCaptureToken) (This)->lpVtbl->PurchaseEntitlement(This,ulDialogRequest,bstrLanguage,ulPurchaseTokenLen,pbPurchaseToken,pulDescrambleStatus,pulCaptureTokenLen,pbCaptureToken) +#define IBDA_WMDRMTuner_CancelCaptureToken(This,ulCaptureTokenLen,pbCaptureToken) (This)->lpVtbl->CancelCaptureToken(This,ulCaptureTokenLen,pbCaptureToken) +#define IBDA_WMDRMTuner_SetPidProtection(This,ulPid,uuidKey) (This)->lpVtbl->SetPidProtection(This,ulPid,uuidKey) +#define IBDA_WMDRMTuner_GetPidProtection(This,pulPid,uuidKey) (This)->lpVtbl->GetPidProtection(This,pulPid,uuidKey) +#define IBDA_WMDRMTuner_SetSyncValue(This,ulSyncValue) (This)->lpVtbl->SetSyncValue(This,ulSyncValue) +#define IBDA_WMDRMTuner_GetStartCodeProfile(This,pulStartCodeProfileLen,pbStartCodeProfile) (This)->lpVtbl->GetStartCodeProfile(This,pulStartCodeProfileLen,pbStartCodeProfile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_WMDRMTuner_QueryInterface(IBDA_WMDRMTuner* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_WMDRMTuner_AddRef(IBDA_WMDRMTuner* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_WMDRMTuner_Release(IBDA_WMDRMTuner* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_WMDRMTuner methods ***/ +static FORCEINLINE HRESULT IBDA_WMDRMTuner_PurchaseEntitlement(IBDA_WMDRMTuner* This,ULONG ulDialogRequest,BSTR bstrLanguage,ULONG ulPurchaseTokenLen,BYTE *pbPurchaseToken,ULONG *pulDescrambleStatus,ULONG *pulCaptureTokenLen,BYTE *pbCaptureToken) { + return This->lpVtbl->PurchaseEntitlement(This,ulDialogRequest,bstrLanguage,ulPurchaseTokenLen,pbPurchaseToken,pulDescrambleStatus,pulCaptureTokenLen,pbCaptureToken); +} +static FORCEINLINE HRESULT IBDA_WMDRMTuner_CancelCaptureToken(IBDA_WMDRMTuner* This,ULONG ulCaptureTokenLen,BYTE *pbCaptureToken) { + return This->lpVtbl->CancelCaptureToken(This,ulCaptureTokenLen,pbCaptureToken); +} +static FORCEINLINE HRESULT IBDA_WMDRMTuner_SetPidProtection(IBDA_WMDRMTuner* This,ULONG ulPid,GUID *uuidKey) { + return This->lpVtbl->SetPidProtection(This,ulPid,uuidKey); +} +static FORCEINLINE HRESULT IBDA_WMDRMTuner_GetPidProtection(IBDA_WMDRMTuner* This,ULONG pulPid,GUID *uuidKey) { + return This->lpVtbl->GetPidProtection(This,pulPid,uuidKey); +} +static FORCEINLINE HRESULT IBDA_WMDRMTuner_SetSyncValue(IBDA_WMDRMTuner* This,ULONG ulSyncValue) { + return This->lpVtbl->SetSyncValue(This,ulSyncValue); +} +static FORCEINLINE HRESULT IBDA_WMDRMTuner_GetStartCodeProfile(IBDA_WMDRMTuner* This,ULONG *pulStartCodeProfileLen,BYTE *pbStartCodeProfile) { + return This->lpVtbl->GetStartCodeProfile(This,pulStartCodeProfileLen,pbStartCodeProfile); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_WMDRMTuner_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DRIDRMService interface + */ +#ifndef __IBDA_DRIDRMService_INTERFACE_DEFINED__ +#define __IBDA_DRIDRMService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DRIDRMService, 0x1f9bc2a5, 0x44a3, 0x4c52, 0xaa,0xb1, 0x0b,0xbc,0xe5,0xa1,0x38,0x1d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f9bc2a5-44a3-4c52-aab1-0bbce5a1381d") +IBDA_DRIDRMService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetDRM( + BSTR bstrNewDrm) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDRMStatus( + BSTR *pbstrDrmUuidList, + GUID *DrmUuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPairingStatus( + BDA_DrmPairingError *penumPairingStatus) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DRIDRMService, 0x1f9bc2a5, 0x44a3, 0x4c52, 0xaa,0xb1, 0x0b,0xbc,0xe5,0xa1,0x38,0x1d) +#endif +#else +typedef struct IBDA_DRIDRMServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DRIDRMService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DRIDRMService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DRIDRMService *This); + + /*** IBDA_DRIDRMService methods ***/ + HRESULT (STDMETHODCALLTYPE *SetDRM)( + IBDA_DRIDRMService *This, + BSTR bstrNewDrm); + + HRESULT (STDMETHODCALLTYPE *GetDRMStatus)( + IBDA_DRIDRMService *This, + BSTR *pbstrDrmUuidList, + GUID *DrmUuid); + + HRESULT (STDMETHODCALLTYPE *GetPairingStatus)( + IBDA_DRIDRMService *This, + BDA_DrmPairingError *penumPairingStatus); + + END_INTERFACE +} IBDA_DRIDRMServiceVtbl; + +interface IBDA_DRIDRMService { + CONST_VTBL IBDA_DRIDRMServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DRIDRMService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DRIDRMService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DRIDRMService_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DRIDRMService methods ***/ +#define IBDA_DRIDRMService_SetDRM(This,bstrNewDrm) (This)->lpVtbl->SetDRM(This,bstrNewDrm) +#define IBDA_DRIDRMService_GetDRMStatus(This,pbstrDrmUuidList,DrmUuid) (This)->lpVtbl->GetDRMStatus(This,pbstrDrmUuidList,DrmUuid) +#define IBDA_DRIDRMService_GetPairingStatus(This,penumPairingStatus) (This)->lpVtbl->GetPairingStatus(This,penumPairingStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DRIDRMService_QueryInterface(IBDA_DRIDRMService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DRIDRMService_AddRef(IBDA_DRIDRMService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DRIDRMService_Release(IBDA_DRIDRMService* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DRIDRMService methods ***/ +static FORCEINLINE HRESULT IBDA_DRIDRMService_SetDRM(IBDA_DRIDRMService* This,BSTR bstrNewDrm) { + return This->lpVtbl->SetDRM(This,bstrNewDrm); +} +static FORCEINLINE HRESULT IBDA_DRIDRMService_GetDRMStatus(IBDA_DRIDRMService* This,BSTR *pbstrDrmUuidList,GUID *DrmUuid) { + return This->lpVtbl->GetDRMStatus(This,pbstrDrmUuidList,DrmUuid); +} +static FORCEINLINE HRESULT IBDA_DRIDRMService_GetPairingStatus(IBDA_DRIDRMService* This,BDA_DrmPairingError *penumPairingStatus) { + return This->lpVtbl->GetPairingStatus(This,penumPairingStatus); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DRIDRMService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_DRIWMDRMSession interface + */ +#ifndef __IBDA_DRIWMDRMSession_INTERFACE_DEFINED__ +#define __IBDA_DRIWMDRMSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_DRIWMDRMSession, 0x05c690f8, 0x56db, 0x4bb2, 0xb0,0x53, 0x79,0xc1,0x20,0x98,0xbb,0x26); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("05c690f8-56db-4bb2-b053-79c12098bb26") +IBDA_DRIWMDRMSession : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AcknowledgeLicense( + HRESULT hrLicenseAck) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessLicenseChallenge( + DWORD dwcbLicenseMessage, + BYTE *pbLicenseMessage, + DWORD *pdwcbLicenseResponse, + BYTE **ppbLicenseResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessRegistrationChallenge( + DWORD dwcbRegistrationMessage, + BYTE *pbRegistrationMessage, + DWORD *pdwcbRegistrationResponse, + BYTE **ppbRegistrationResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRevInfo( + DWORD dwRevInfoLen, + BYTE *pbRevInfo, + DWORD *pdwResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCrl( + DWORD dwCrlLen, + BYTE *pbCrlLen, + DWORD *pdwResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHMSAssociationData( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastCardeaError( + DWORD *pdwError) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_DRIWMDRMSession, 0x05c690f8, 0x56db, 0x4bb2, 0xb0,0x53, 0x79,0xc1,0x20,0x98,0xbb,0x26) +#endif +#else +typedef struct IBDA_DRIWMDRMSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_DRIWMDRMSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_DRIWMDRMSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_DRIWMDRMSession *This); + + /*** IBDA_DRIWMDRMSession methods ***/ + HRESULT (STDMETHODCALLTYPE *AcknowledgeLicense)( + IBDA_DRIWMDRMSession *This, + HRESULT hrLicenseAck); + + HRESULT (STDMETHODCALLTYPE *ProcessLicenseChallenge)( + IBDA_DRIWMDRMSession *This, + DWORD dwcbLicenseMessage, + BYTE *pbLicenseMessage, + DWORD *pdwcbLicenseResponse, + BYTE **ppbLicenseResponse); + + HRESULT (STDMETHODCALLTYPE *ProcessRegistrationChallenge)( + IBDA_DRIWMDRMSession *This, + DWORD dwcbRegistrationMessage, + BYTE *pbRegistrationMessage, + DWORD *pdwcbRegistrationResponse, + BYTE **ppbRegistrationResponse); + + HRESULT (STDMETHODCALLTYPE *SetRevInfo)( + IBDA_DRIWMDRMSession *This, + DWORD dwRevInfoLen, + BYTE *pbRevInfo, + DWORD *pdwResponse); + + HRESULT (STDMETHODCALLTYPE *SetCrl)( + IBDA_DRIWMDRMSession *This, + DWORD dwCrlLen, + BYTE *pbCrlLen, + DWORD *pdwResponse); + + HRESULT (STDMETHODCALLTYPE *GetHMSAssociationData)( + IBDA_DRIWMDRMSession *This); + + HRESULT (STDMETHODCALLTYPE *GetLastCardeaError)( + IBDA_DRIWMDRMSession *This, + DWORD *pdwError); + + END_INTERFACE +} IBDA_DRIWMDRMSessionVtbl; + +interface IBDA_DRIWMDRMSession { + CONST_VTBL IBDA_DRIWMDRMSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_DRIWMDRMSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_DRIWMDRMSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_DRIWMDRMSession_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_DRIWMDRMSession methods ***/ +#define IBDA_DRIWMDRMSession_AcknowledgeLicense(This,hrLicenseAck) (This)->lpVtbl->AcknowledgeLicense(This,hrLicenseAck) +#define IBDA_DRIWMDRMSession_ProcessLicenseChallenge(This,dwcbLicenseMessage,pbLicenseMessage,pdwcbLicenseResponse,ppbLicenseResponse) (This)->lpVtbl->ProcessLicenseChallenge(This,dwcbLicenseMessage,pbLicenseMessage,pdwcbLicenseResponse,ppbLicenseResponse) +#define IBDA_DRIWMDRMSession_ProcessRegistrationChallenge(This,dwcbRegistrationMessage,pbRegistrationMessage,pdwcbRegistrationResponse,ppbRegistrationResponse) (This)->lpVtbl->ProcessRegistrationChallenge(This,dwcbRegistrationMessage,pbRegistrationMessage,pdwcbRegistrationResponse,ppbRegistrationResponse) +#define IBDA_DRIWMDRMSession_SetRevInfo(This,dwRevInfoLen,pbRevInfo,pdwResponse) (This)->lpVtbl->SetRevInfo(This,dwRevInfoLen,pbRevInfo,pdwResponse) +#define IBDA_DRIWMDRMSession_SetCrl(This,dwCrlLen,pbCrlLen,pdwResponse) (This)->lpVtbl->SetCrl(This,dwCrlLen,pbCrlLen,pdwResponse) +#define IBDA_DRIWMDRMSession_GetHMSAssociationData(This) (This)->lpVtbl->GetHMSAssociationData(This) +#define IBDA_DRIWMDRMSession_GetLastCardeaError(This,pdwError) (This)->lpVtbl->GetLastCardeaError(This,pdwError) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_QueryInterface(IBDA_DRIWMDRMSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_DRIWMDRMSession_AddRef(IBDA_DRIWMDRMSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_DRIWMDRMSession_Release(IBDA_DRIWMDRMSession* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_DRIWMDRMSession methods ***/ +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_AcknowledgeLicense(IBDA_DRIWMDRMSession* This,HRESULT hrLicenseAck) { + return This->lpVtbl->AcknowledgeLicense(This,hrLicenseAck); +} +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_ProcessLicenseChallenge(IBDA_DRIWMDRMSession* This,DWORD dwcbLicenseMessage,BYTE *pbLicenseMessage,DWORD *pdwcbLicenseResponse,BYTE **ppbLicenseResponse) { + return This->lpVtbl->ProcessLicenseChallenge(This,dwcbLicenseMessage,pbLicenseMessage,pdwcbLicenseResponse,ppbLicenseResponse); +} +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_ProcessRegistrationChallenge(IBDA_DRIWMDRMSession* This,DWORD dwcbRegistrationMessage,BYTE *pbRegistrationMessage,DWORD *pdwcbRegistrationResponse,BYTE **ppbRegistrationResponse) { + return This->lpVtbl->ProcessRegistrationChallenge(This,dwcbRegistrationMessage,pbRegistrationMessage,pdwcbRegistrationResponse,ppbRegistrationResponse); +} +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_SetRevInfo(IBDA_DRIWMDRMSession* This,DWORD dwRevInfoLen,BYTE *pbRevInfo,DWORD *pdwResponse) { + return This->lpVtbl->SetRevInfo(This,dwRevInfoLen,pbRevInfo,pdwResponse); +} +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_SetCrl(IBDA_DRIWMDRMSession* This,DWORD dwCrlLen,BYTE *pbCrlLen,DWORD *pdwResponse) { + return This->lpVtbl->SetCrl(This,dwCrlLen,pbCrlLen,pdwResponse); +} +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_GetHMSAssociationData(IBDA_DRIWMDRMSession* This) { + return This->lpVtbl->GetHMSAssociationData(This); +} +static FORCEINLINE HRESULT IBDA_DRIWMDRMSession_GetLastCardeaError(IBDA_DRIWMDRMSession* This,DWORD *pdwError) { + return This->lpVtbl->GetLastCardeaError(This,pdwError); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_DRIWMDRMSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_MUX interface + */ +#ifndef __IBDA_MUX_INTERFACE_DEFINED__ +#define __IBDA_MUX_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_MUX, 0x942aafec, 0x4c05, 0x4c74, 0xb8,0xeb, 0x87,0x06,0xc2,0xa4,0x94,0x3f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("942aafec-4c05-4c74-b8eb-8706c2a4943f") +IBDA_MUX : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetPidList( + ULONG ulPidListCount, + BDA_MUX_PIDLISTITEM *pbPidListBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPidList( + ULONG *pulPidListCount, + BDA_MUX_PIDLISTITEM *pbPidListBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_MUX, 0x942aafec, 0x4c05, 0x4c74, 0xb8,0xeb, 0x87,0x06,0xc2,0xa4,0x94,0x3f) +#endif +#else +typedef struct IBDA_MUXVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_MUX *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_MUX *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_MUX *This); + + /*** IBDA_MUX methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPidList)( + IBDA_MUX *This, + ULONG ulPidListCount, + BDA_MUX_PIDLISTITEM *pbPidListBuffer); + + HRESULT (STDMETHODCALLTYPE *GetPidList)( + IBDA_MUX *This, + ULONG *pulPidListCount, + BDA_MUX_PIDLISTITEM *pbPidListBuffer); + + END_INTERFACE +} IBDA_MUXVtbl; + +interface IBDA_MUX { + CONST_VTBL IBDA_MUXVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_MUX_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_MUX_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_MUX_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_MUX methods ***/ +#define IBDA_MUX_SetPidList(This,ulPidListCount,pbPidListBuffer) (This)->lpVtbl->SetPidList(This,ulPidListCount,pbPidListBuffer) +#define IBDA_MUX_GetPidList(This,pulPidListCount,pbPidListBuffer) (This)->lpVtbl->GetPidList(This,pulPidListCount,pbPidListBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_MUX_QueryInterface(IBDA_MUX* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_MUX_AddRef(IBDA_MUX* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_MUX_Release(IBDA_MUX* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_MUX methods ***/ +static FORCEINLINE HRESULT IBDA_MUX_SetPidList(IBDA_MUX* This,ULONG ulPidListCount,BDA_MUX_PIDLISTITEM *pbPidListBuffer) { + return This->lpVtbl->SetPidList(This,ulPidListCount,pbPidListBuffer); +} +static FORCEINLINE HRESULT IBDA_MUX_GetPidList(IBDA_MUX* This,ULONG *pulPidListCount,BDA_MUX_PIDLISTITEM *pbPidListBuffer) { + return This->lpVtbl->GetPidList(This,pulPidListCount,pbPidListBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_MUX_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_TransportStreamSelector interface + */ +#ifndef __IBDA_TransportStreamSelector_INTERFACE_DEFINED__ +#define __IBDA_TransportStreamSelector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_TransportStreamSelector, 0x1dcfafe9, 0xb45e, 0x41b3, 0xbb,0x2a, 0x56,0x1e,0xb1,0x29,0xae,0x98); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1dcfafe9-b45e-41b3-bb2a-561eb129ae98") +IBDA_TransportStreamSelector : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetTSID( + USHORT usTSID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTSInformation( + ULONG *pulTSInformationBufferLen, + BYTE *pbTSInformationBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_TransportStreamSelector, 0x1dcfafe9, 0xb45e, 0x41b3, 0xbb,0x2a, 0x56,0x1e,0xb1,0x29,0xae,0x98) +#endif +#else +typedef struct IBDA_TransportStreamSelectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_TransportStreamSelector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_TransportStreamSelector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_TransportStreamSelector *This); + + /*** IBDA_TransportStreamSelector methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTSID)( + IBDA_TransportStreamSelector *This, + USHORT usTSID); + + HRESULT (STDMETHODCALLTYPE *GetTSInformation)( + IBDA_TransportStreamSelector *This, + ULONG *pulTSInformationBufferLen, + BYTE *pbTSInformationBuffer); + + END_INTERFACE +} IBDA_TransportStreamSelectorVtbl; + +interface IBDA_TransportStreamSelector { + CONST_VTBL IBDA_TransportStreamSelectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_TransportStreamSelector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_TransportStreamSelector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_TransportStreamSelector_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_TransportStreamSelector methods ***/ +#define IBDA_TransportStreamSelector_SetTSID(This,usTSID) (This)->lpVtbl->SetTSID(This,usTSID) +#define IBDA_TransportStreamSelector_GetTSInformation(This,pulTSInformationBufferLen,pbTSInformationBuffer) (This)->lpVtbl->GetTSInformation(This,pulTSInformationBufferLen,pbTSInformationBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_TransportStreamSelector_QueryInterface(IBDA_TransportStreamSelector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_TransportStreamSelector_AddRef(IBDA_TransportStreamSelector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_TransportStreamSelector_Release(IBDA_TransportStreamSelector* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_TransportStreamSelector methods ***/ +static FORCEINLINE HRESULT IBDA_TransportStreamSelector_SetTSID(IBDA_TransportStreamSelector* This,USHORT usTSID) { + return This->lpVtbl->SetTSID(This,usTSID); +} +static FORCEINLINE HRESULT IBDA_TransportStreamSelector_GetTSInformation(IBDA_TransportStreamSelector* This,ULONG *pulTSInformationBufferLen,BYTE *pbTSInformationBuffer) { + return This->lpVtbl->GetTSInformation(This,pulTSInformationBufferLen,pbTSInformationBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_TransportStreamSelector_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBDA_UserActivityService interface + */ +#ifndef __IBDA_UserActivityService_INTERFACE_DEFINED__ +#define __IBDA_UserActivityService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBDA_UserActivityService, 0x53b14189, 0xe478, 0x4b7a, 0xa1,0xff, 0x50,0x6d,0xb4,0xb9,0x9d,0xfe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("53b14189-e478-4b7a-a1ff-506db4b99dfe") +IBDA_UserActivityService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetCurrentTunerUseReason( + DWORD dwUseReason) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserActivityInterval( + DWORD *pdwActivityInterval) = 0; + + virtual HRESULT STDMETHODCALLTYPE UserActivityDetected( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBDA_UserActivityService, 0x53b14189, 0xe478, 0x4b7a, 0xa1,0xff, 0x50,0x6d,0xb4,0xb9,0x9d,0xfe) +#endif +#else +typedef struct IBDA_UserActivityServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBDA_UserActivityService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBDA_UserActivityService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBDA_UserActivityService *This); + + /*** IBDA_UserActivityService methods ***/ + HRESULT (STDMETHODCALLTYPE *SetCurrentTunerUseReason)( + IBDA_UserActivityService *This, + DWORD dwUseReason); + + HRESULT (STDMETHODCALLTYPE *GetUserActivityInterval)( + IBDA_UserActivityService *This, + DWORD *pdwActivityInterval); + + HRESULT (STDMETHODCALLTYPE *UserActivityDetected)( + IBDA_UserActivityService *This); + + END_INTERFACE +} IBDA_UserActivityServiceVtbl; + +interface IBDA_UserActivityService { + CONST_VTBL IBDA_UserActivityServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBDA_UserActivityService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBDA_UserActivityService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBDA_UserActivityService_Release(This) (This)->lpVtbl->Release(This) +/*** IBDA_UserActivityService methods ***/ +#define IBDA_UserActivityService_SetCurrentTunerUseReason(This,dwUseReason) (This)->lpVtbl->SetCurrentTunerUseReason(This,dwUseReason) +#define IBDA_UserActivityService_GetUserActivityInterval(This,pdwActivityInterval) (This)->lpVtbl->GetUserActivityInterval(This,pdwActivityInterval) +#define IBDA_UserActivityService_UserActivityDetected(This) (This)->lpVtbl->UserActivityDetected(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBDA_UserActivityService_QueryInterface(IBDA_UserActivityService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBDA_UserActivityService_AddRef(IBDA_UserActivityService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBDA_UserActivityService_Release(IBDA_UserActivityService* This) { + return This->lpVtbl->Release(This); +} +/*** IBDA_UserActivityService methods ***/ +static FORCEINLINE HRESULT IBDA_UserActivityService_SetCurrentTunerUseReason(IBDA_UserActivityService* This,DWORD dwUseReason) { + return This->lpVtbl->SetCurrentTunerUseReason(This,dwUseReason); +} +static FORCEINLINE HRESULT IBDA_UserActivityService_GetUserActivityInterval(IBDA_UserActivityService* This,DWORD *pdwActivityInterval) { + return This->lpVtbl->GetUserActivityInterval(This,pdwActivityInterval); +} +static FORCEINLINE HRESULT IBDA_UserActivityService_UserActivityDetected(IBDA_UserActivityService* This) { + return This->lpVtbl->UserActivityDetected(This); +} +#endif +#endif + +#endif + + +#endif /* __IBDA_UserActivityService_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __bdaiface_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface.idl new file mode 100644 index 0000000..39592eb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface.idl @@ -0,0 +1,778 @@ +/* + * Copyright 2013 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +import "strmif.idl"; +import "bdatypes.h"; +#endif + +#include "bdaiface_enums.h" + + +[ + object, + uuid(fd501041-8ebe-11ce-8183-00aa00577da2), + pointer_default(unique) +] +interface IBDA_NetworkProvider : IUnknown +{ + HRESULT PutSignalSource([in] ULONG ulSignalSource); + HRESULT GetSignalSource([in, out] ULONG *pulSignalSource); + HRESULT GetNetworkType([in, out] GUID *pguidNetworkType); + HRESULT PutTuningSpace([in] REFGUID guidTuningSpace); + HRESULT GetTuningSpace([in, out] GUID *pguidTuingSpace); + HRESULT RegisterDeviceFilter([in] IUnknown *pUnkFilterControl, [in, out] ULONG *ppvRegisitrationContext); + HRESULT UnRegisterDeviceFilter([in] ULONG pvRegistrationContext); +} + +[ + object, + uuid(71985F43-1CA1-11d3-9CC8-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_EthernetFilter : IUnknown +{ + HRESULT GetMulticastListSize([in, out] ULONG *pulcbAddresses); + HRESULT PutMulticastList([in] ULONG ulcbAddresses, [in, size_is(ulcbAddresses)] BYTE pAddressList []); + HRESULT GetMulticastList([in, out] ULONG *pulcbAddresses, [in, out, size_is(*pulcbAddresses)] BYTE pAddressList[]); + HRESULT PutMulticastMode([in] ULONG ulModeMask); + HRESULT GetMulticastMode([out] ULONG *pulModeMask); +} + +[ + object, + uuid(71985F44-1CA1-11d3-9CC8-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_IPV4Filter : IUnknown +{ + HRESULT GetMulticastListSize([in, out] ULONG *pulcbAddresses); + HRESULT PutMulticastList([in] ULONG ulcbAddresses, [in, size_is(ulcbAddresses)] BYTE pAddressList[]); + HRESULT GetMulticastList([in, out] ULONG *pulcbAddresses,[out, size_is(*pulcbAddresses)] BYTE pAddressList[]); + HRESULT PutMulticastMode([in] ULONG ulModeMask); + HRESULT GetMulticastMode([out] ULONG* pulModeMask); +} + +[ + object, + uuid(E1785A74-2A23-4fb3-9245-A8F88017EF33), + pointer_default(unique) +] +interface IBDA_IPV6Filter : IUnknown +{ + HRESULT GetMulticastListSize([in, out] ULONG *pulcbAddresses); + HRESULT PutMulticastList([in] ULONG ulcbAddresses, [in, size_is(ulcbAddresses)] BYTE pAddressList[]); + HRESULT GetMulticastList([in, out] ULONG *pulcbAddresses,[out, size_is(*pulcbAddresses)] BYTE pAddressList[]); + HRESULT PutMulticastMode([in] ULONG ulModeMask); + HRESULT GetMulticastMode([out] ULONG* pulModeMask); +} + +[ + object, + uuid(FD0A5AF3-B41D-11d2-9C95-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_DeviceControl : IUnknown +{ + HRESULT StartChanges(void); + HRESULT CheckChanges(void); + HRESULT CommitChanges(void); + HRESULT GetChangeState([in, out] ULONG *pState); +} + +[ + object, + uuid(0DED49D5-A8B7-4d5d-97A1-12B0C195874D), + pointer_default(unique) +] +interface IBDA_PinControl : IUnknown +{ + HRESULT GetPinID([in, out] ULONG *pulPinID); + HRESULT GetPinType([in, out] ULONG *pulPinType); + HRESULT RegistrationContext([in, out] ULONG *pulRegistrationCtx); +} + +[ + object, + uuid(D2F1644B-B409-11d2-BC69-00A0C9EE9E16), + pointer_default(unique) +] +interface IBDA_SignalProperties : IUnknown +{ + HRESULT PutNetworkType([in] REFGUID guidNetworkType); + HRESULT GetNetworkType([in, out] GUID *pguidNetworkType); + HRESULT PutSignalSource([in] ULONG ulSignalSource); + HRESULT GetSignalSource([in, out] ULONG *pulSignalSource); + HRESULT PutTuningSpace([in] REFGUID guidTuningSpace); + HRESULT GetTuningSpace([in, out] GUID *pguidTuingSpace); +} + +[ + object, + uuid(1347D106-CF3A-428a-A5CB-AC0D9A2A4338), + pointer_default(unique) +] +interface IBDA_SignalStatistics : IUnknown +{ + HRESULT put_SignalStrength ([in] LONG lDbStrength); + HRESULT get_SignalStrength ([in, out] LONG *plDbStrength); + HRESULT put_SignalQuality ([in] LONG lPercentQuality); + HRESULT get_SignalQuality ([in, out] LONG *plPercentQuality); + HRESULT put_SignalPresent ([in] BOOLEAN fPresent); + HRESULT get_SignalPresent ([in, out] BOOLEAN *pfPresent); + HRESULT put_SignalLocked ([in] BOOLEAN fLocked); + HRESULT get_SignalLocked ([in, out] BOOLEAN *pfLocked); + HRESULT put_SampleTime ([in] LONG lmsSampleTime); + HRESULT get_SampleTime ([in, out] LONG *plmsSampleTime); +} + +[ + object, + uuid(79B56888-7FEA-4690-B45D-38FD3C7849BE), + pointer_default(unique) +] +interface IBDA_Topology : IUnknown +{ + HRESULT GetNodeTypes([in, out] ULONG *pulcNodeTypes, + [in] ULONG ulcNodeTypesMax, + [in, out, size_is (ulcNodeTypesMax)] ULONG rgulNodeTypes[]); + HRESULT GetNodeDescriptors([in, out] ULONG *ulcNodeDescriptors, + [in] ULONG ulcNodeDescriptorsMax, + [in, out, size_is(ulcNodeDescriptorsMax)] BDANODE_DESCRIPTOR rgNodeDescriptors[]); + HRESULT GetNodeInterfaces([in] ULONG ulNodeType, + [in, out] ULONG *pulcInterfaces, + [in] ULONG ulcInterfacesMax, + [in, out, size_is (ulcInterfacesMax)] GUID rgguidInterfaces[]); + HRESULT GetPinTypes([in, out] ULONG *pulcPinTypes, + [in] ULONG ulcPinTypesMax, + [in, out, size_is (ulcPinTypesMax)] ULONG rgulPinTypes[]); + HRESULT GetTemplateConnections([in, out] ULONG *pulcConnections, + [in] ULONG ulcConnectionsMax, + [in, out, size_is (ulcConnectionsMax)] BDA_TEMPLATE_CONNECTION rgConnections[]); + HRESULT CreatePin([in] ULONG ulPinType, [in, out] ULONG *pulPinId); + HRESULT DeletePin([in] ULONG ulPinId); + HRESULT SetMediaType([in] ULONG ulPinId, [in] AM_MEDIA_TYPE *pMediaType); + HRESULT SetMedium([in] ULONG ulPinId, [in] REGPINMEDIUM *pMedium); + HRESULT CreateTopology([in] ULONG ulInputPinId, [in] ULONG ulOutputPinId); + HRESULT GetControlNode([in] ULONG ulInputPinId, + [in] ULONG ulOutputPinId, + [in] ULONG ulNodeType, + [in, out] IUnknown **ppControlNode); +} + +[ + object, + uuid(71985F46-1CA1-11d3-9CC8-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_VoidTransform : IUnknown +{ + HRESULT Start(void); + HRESULT Stop(void); +} + +[ + object, + uuid(DDF15B0D-BD25-11d2-9CA0-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_NullTransform : IUnknown +{ + HRESULT Start(void); + HRESULT Stop(void); +} + +[ + object, + uuid(71985F47-1CA1-11d3-9CC8-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_FrequencyFilter : IUnknown +{ + HRESULT put_Autotune([in] ULONG ulTransponder); + HRESULT get_Autotune([in, out] ULONG *pulTransponder); + HRESULT put_Frequency([in] ULONG ulFrequency); + HRESULT get_Frequency([in, out] ULONG *pulFrequency); + HRESULT put_Polarity([in] Polarisation Polarity); + HRESULT get_Polarity([in, out] Polarisation *pPolarity); + HRESULT put_Range([in] ULONG ulRange); + HRESULT get_Range([in, out] ULONG *pulRange); + HRESULT put_Bandwidth([in] ULONG ulBandwidth); + HRESULT get_Bandwidth([in, out] ULONG *pulBandwidth); + HRESULT put_FrequencyMultiplier([in] ULONG ulMultiplier); + HRESULT get_FrequencyMultiplier([in, out] ULONG *pulMultiplier); +} + +[ + object, + uuid(992CF102-49F9-4719-A664-C4F23E2408F4), + pointer_default(unique) +] +interface IBDA_LNBInfo : IUnknown +{ + HRESULT put_LocalOscilatorFrequencyLowBand([in] ULONG ulLOFLow); + HRESULT get_LocalOscilatorFrequencyLowBand([in, out] ULONG *pulLOFLow); + HRESULT put_LocalOscilatorFrequencyHighBand([in] ULONG ulLOFHigh); + HRESULT get_LocalOscilatorFrequencyHighBand([in, out] ULONG *pulLOFHigh); + HRESULT put_HighLowSwitchFrequency([in] ULONG ulSwitchFrequency); + HRESULT get_HighLowSwitchFrequency([in, out] ULONG *pulSwitchFrequency); +} + +[ + object, + uuid(F84E2AB0-3C6B-45e3-A0FC-8669D4B81F11), + pointer_default(unique) +] +interface IBDA_DiseqCommand : IUnknown +{ + HRESULT put_EnableDiseqCommands([in] BOOLEAN bEnable); + HRESULT put_DiseqLNBSource([in] ULONG ulLNBSource); + HRESULT put_DiseqUseToneBurst([in] BOOLEAN bUseToneBurst); + HRESULT put_DiseqRepeats([in] ULONG ulRepeats); + HRESULT put_DiseqSendCommand([in] ULONG ulRequestId, + [in] ULONG ulcbCommandLen, + [in, size_is(ulcbCommandLen)] BYTE *pbCommand); + HRESULT get_DiseqResponse([in] ULONG ulRequestId, + [in, out] ULONG *pulcbResponseLen, + [in, out, size_is(*pulcbResponseLen)] BYTE pbResponse[]); +} + +[ + object, + uuid(DDF15B12-BD25-11d2-9CA0-00C04F7971E0), + pointer_default(unique) +] +interface IBDA_AutoDemodulate : IUnknown +{ + HRESULT put_AutoDemodulate(void); +} + +[ + object, + uuid(34518D13-1182-48e6-B28F-B24987787326), + pointer_default(unique) +] +interface IBDA_AutoDemodulateEx : IBDA_AutoDemodulate +{ + HRESULT get_SupportedDeviceNodeTypes([in] ULONG ulcDeviceNodeTypesMax, + [out] ULONG *pulcDeviceNodeTypes, + [in, out] GUID *pguidDeviceNodeTypes); + HRESULT get_SupportedVideoFormats([out] ULONG *pulAMTunerModeType, + [out] ULONG *pulAnalogVideoStandard); + HRESULT get_AuxInputCount([in, out] ULONG *pulCompositeCount, + [in, out] ULONG *pulSvideoCount); +} + +[ + object, + uuid(EF30F379-985B-4d10-B640-A79D5E04E1E0), + pointer_default(unique) +] +interface IBDA_DigitalDemodulator : IUnknown +{ + HRESULT put_ModulationType([in] ModulationType *pModulationType); + HRESULT get_ModulationType([in, out] ModulationType *pModulationType); + HRESULT put_InnerFECMethod([in] FECMethod *pFECMethod); + HRESULT get_InnerFECMethod([in, out] FECMethod *pFECMethod); + HRESULT put_InnerFECRate([in] BinaryConvolutionCodeRate *pFECRate); + HRESULT get_InnerFECRate([in, out] BinaryConvolutionCodeRate *pFECRate); + HRESULT put_OuterFECMethod([in] FECMethod *pFECMethod); + HRESULT get_OuterFECMethod([in, out] FECMethod *pFECMethod); + HRESULT put_OuterFECRate([in] BinaryConvolutionCodeRate *pFECRate); + HRESULT get_OuterFECRate([in, out] BinaryConvolutionCodeRate *pFECRate); + HRESULT put_SymbolRate([in] ULONG *pSymbolRate); + HRESULT get_SymbolRate([in, out] ULONG *pSymbolRate); + HRESULT put_SpectralInversion([in] SpectralInversion *pSpectralInversion); + HRESULT get_SpectralInversion([in, out] SpectralInversion *pSpectralInversion); +} + +[ + object, + uuid(525ED3EE-5CF3-4e1e-9A06-5368A84F9A6E), + pointer_default(unique) +] +interface IBDA_DigitalDemodulator2 : IBDA_DigitalDemodulator +{ + HRESULT put_GuardInterval([in] GuardInterval *pGuardInterval); + HRESULT get_GuardInterval([in, out] GuardInterval *pGuardInterval); + HRESULT put_TransmissionMode([in] TransmissionMode *pTransmissionMode); + HRESULT get_TransmissionMode([in, out] TransmissionMode *pTransmissionMode); + HRESULT put_RollOff([in] RollOff *pRollOff); + HRESULT get_RollOff([in, out] RollOff *pRollOff); + HRESULT put_Pilot([in] Pilot *pPilot); + HRESULT get_Pilot([in, out] Pilot *pPilot); +} + +[ + object, + uuid(13F19604-7D32-4359-93A2-A05205D90AC9), + pointer_default(unique) +] +interface IBDA_DigitalDemodulator3 : IBDA_DigitalDemodulator2 +{ + HRESULT put_SignalTimeouts([in] BDA_SIGNAL_TIMEOUTS *pSignalTimeouts); + HRESULT get_SignalTimeouts([in, out] BDA_SIGNAL_TIMEOUTS *pSignalTimeouts); + HRESULT put_PLPNumber([in] ULONG *pPLPNumber); + HRESULT get_PLPNumber([in, out] ULONG *pPLPNumber); +} + +[ + object, + uuid(4B2BD7EA-8347-467b-8DBF-62F784929CC3), + helpstring("ICCSubStreamFiltering Interface"), + pointer_default(unique) +] +interface ICCSubStreamFiltering : IUnknown +{ + [propget, helpstring("property SubstreamTypes")] HRESULT SubstreamTypes([out, retval] long *pTypes); + [propput, helpstring("property SubstreamTypes")] HRESULT SubstreamTypes([in] long Types); +} + +[ + object, + uuid(3F4DC8E2-4050-11d3-8F4B-00C04F7971E2), + pointer_default(unique), + helpstring("Not supported - Use IBDA_IPSinkInfo instead") +] +interface IBDA_IPSinkControl : IUnknown +{ + HRESULT GetMulticastList([in, out] unsigned long *pulcbSize, [in, out] BYTE **pbBuffer); + HRESULT GetAdapterIPAddress ([in,out] unsigned long *pulcbSize, [in,out] BYTE **pbBuffer); +} + +[ + object, + uuid(A750108F-492E-4d51-95F7-649B23FF7AD7), + pointer_default(unique) +] +interface IBDA_IPSinkInfo : IUnknown +{ + HRESULT get_MulticastList([in, out] ULONG *pulcbAddresses, + [out, size_is(*pulcbAddresses)] BYTE **ppbAddressList); + HRESULT get_AdapterIPAddress([out] BSTR *pbstrBuffer); + HRESULT get_AdapterDescription([out] BSTR *pbstrBuffer); +} + +[ + object, + uuid (afb6c2a2-2c41-11d3-8a60-0000f81e0e4a), + pointer_default(unique) +] +interface IEnumPIDMap : IUnknown +{ + HRESULT Next([in] ULONG cRequest, + [in, out, size_is (cRequest)] PID_MAP *pPIDMap, + [out] ULONG *pcReceived); + HRESULT Skip([in] ULONG cRecords); + HRESULT Reset(void); + HRESULT Clone([out] IEnumPIDMap **ppIEnumPIDMap); +} + +[ + object, + uuid (afb6c2a1-2c41-11d3-8a60-0000f81e0e4a), + pointer_default(unique) +] +interface IMPEG2PIDMap : IUnknown +{ + HRESULT MapPID([in] ULONG culPID, + [in] ULONG *pulPID, + [in] MEDIA_SAMPLE_CONTENT MediaSampleContent); + HRESULT UnmapPID([in] ULONG culPID, [in] ULONG *pulPID); + HRESULT EnumPIDMap([out] IEnumPIDMap **pIEnumPIDMap); +} + +[ + object, + uuid(06FB45C1-693C-4ea7-B79F-7A6A54D8DEF2), + helpstring("IFrequencyMap Interface"), + pointer_default(unique), + hidden, restricted +] +interface IFrequencyMap : IUnknown +{ + HRESULT get_FrequencyMapping([out] ULONG *ulCount, [out, size_is(1, *ulCount)] ULONG **ppulList); + HRESULT put_FrequencyMapping([in] ULONG ulCount, [in, size_is(ulCount)] ULONG pList[]); + HRESULT get_CountryCode([out] ULONG *pulCountryCode); + HRESULT put_CountryCode([in] ULONG ulCountryCode); + HRESULT get_DefaultFrequencyMapping([in] ULONG ulCountryCode, + [out] ULONG *pulCount, + [out, size_is(1, *pulCount)] ULONG **ppulList); + HRESULT get_CountryCodeList([out] ULONG* pulCount, [out, size_is(1, *pulCount)] ULONG **ppulList); +} + +[ + object, + uuid(D806973D-3EBE-46de-8FBB-6358FE784208), + helpstring("IBDA_EasMessage Interface"), + pointer_default(unique), + hidden, restricted +] +interface IBDA_EasMessage : IUnknown +{ + HRESULT get_EasMessage([in] ULONG ulEventID, [in, out] IUnknown **ppEASObject); +} + +[ + object, + uuid(8E882535-5F86-47AB-86CF-C281A72A0549), + helpstring("IBDA_TransportStreamInfo Interface"), + pointer_default(unique), + hidden, restricted +] +interface IBDA_TransportStreamInfo : IUnknown +{ + HRESULT get_PatTableTickCount([out] ULONG *pPatTickCount); +} + +[ + object, + uuid(CD51F1E0-7BE9-4123-8482-A2A796C0A6B0), + helpstring("IBDA_ConditionalAccess Interface"), + pointer_default(unique) +] + +interface IBDA_ConditionalAccess : IUnknown +{ + HRESULT get_SmartCardStatus([out] SmartCardStatusType *pCardStatus, + [out] SmartCardAssociationType *pCardAssociation, + [out] BSTR *pbstrCardError, + [out] VARIANT_BOOL *pfOOBLocked); + HRESULT get_SmartCardInfo([out] BSTR *pbstrCardName, + [out] BSTR *pbstrCardManufacturer, + [out] VARIANT_BOOL *pfDaylightSavings, + [out] BYTE *pbyRatingRegion, + [out] LONG *plTimeZoneOffsetMinutes, + [out] BSTR *pbstrLanguage, + [out] EALocationCodeType *pEALocationCode); + HRESULT get_SmartCardApplications([in, out] ULONG *pulcApplications, + [in] ULONG ulcApplicationsMax, + [in, out, size_is(ulcApplicationsMax)] SmartCardApplication rgApplications[]); + HRESULT get_Entitlement([in] USHORT usVirtualChannel, [out] EntitlementType *pEntitlement); + HRESULT TuneByChannel([in] USHORT usVirtualChannel); + HRESULT SetProgram([in] USHORT usProgramNumber); + HRESULT AddProgram([in] USHORT usProgramNumber); + HRESULT RemoveProgram([in] USHORT usProgramNumber); + HRESULT GetModuleUI([in] BYTE byDialogNumber, [out] BSTR *pbstrURL); + HRESULT InformUIClosed([in] BYTE byDialogNumber, [in] UICloseReasonType CloseReason); +} + +[ + object, + uuid(20e80cb5-c543-4c1b-8eb3-49e719eee7d4), + helpstring("IBDA_DiagnosticProperties Interface"), + pointer_default(unique), +] +interface IBDA_DiagnosticProperties : IPropertyBag +{ +} + +[ + object, + uuid(F98D88B0-1992-4cd6-A6D9-B9AFAB99330D), + helpstring("IBDA_DRM Interface"), + pointer_default(unique), +] +interface IBDA_DRM : IUnknown +{ + HRESULT GetDRMPairingStatus([out] DWORD *pdwStatus, [out] HRESULT *phError); + HRESULT PerformDRMPairing(BOOL fSync); +} + +[ + object, + uuid(7F0B3150-7B81-4ad4-98E3-7E9097094301), + helpstring("IBDA_NameValueService Interface"), + pointer_default(unique) +] +interface IBDA_NameValueService : IUnknown +{ + HRESULT GetValueNameByIndex([in] ULONG ulIndex, [out] BSTR *pbstrName); + HRESULT GetValue([in] BSTR bstrName, [in] BSTR bstrLanguage, [out] BSTR *pbstrValue); + HRESULT SetValue([in] ULONG ulDialogRequest, [in] BSTR bstrLanguage, + [in] BSTR bstrName, [in] BSTR bstrValue, [in] ULONG ulReserved); +} + +[ + object, + uuid(497C3418-23CB-44ba-BB62-769F506FCEA7), + helpstring("IBDA_ConditionalAccessEx Interface"), + pointer_default(unique) +] +interface IBDA_ConditionalAccessEx : IUnknown +{ + HRESULT CheckEntitlementToken([in] ULONG ulDialogRequest, [in] BSTR bstrLanguage, + [in] BDA_CONDITIONALACCESS_REQUESTTYPE RequestType, + [in] ULONG ulcbEntitlementTokenLen, + [in, size_is(ulcbEntitlementTokenLen)] BYTE *pbEntitlementToken, + [out] ULONG *pulDescrambleStatus); + HRESULT SetCaptureToken([in] ULONG ulcbCaptureTokenLen, + [in, size_is(ulcbCaptureTokenLen)] BYTE *pbCaptureToken); + HRESULT OpenBroadcastMmi([in] ULONG ulDialogRequest, [in] BSTR bstrLanguage, [in] ULONG EventId); + HRESULT CloseMmiDialog([in] ULONG ulDialogRequest, [in] BSTR bstrLanguage, + [in] ULONG ulDialogNumber, [in] BDA_CONDITIONALACCESS_MMICLOSEREASON ReasonCode, + [out] ULONG *pulSessionResult); + HRESULT CreateDialogRequestNumber([out] ULONG *pulDialogRequestNumber); +} + +[ + object, + uuid(5E68C627-16C2-4e6c-B1E2-D00170CDAA0F), + helpstring("IBDA_ISDBConditionalAccess Interface"), + pointer_default(unique) +] +interface IBDA_ISDBConditionalAccess : IUnknown +{ + HRESULT SetIsdbCasRequest([in] ULONG ulRequestId, [in] ULONG ulcbRequestBufferLen, + [in, size_is(ulcbRequestBufferLen)] BYTE *pbRequestBuffer); +} + +[ + object, + uuid(207C413F-00DC-4c61-BAD6-6FEE1FF07064), + helpstring("IBDA_EventingService Interface"), + pointer_default(unique) +] +interface IBDA_EventingService : IUnknown +{ + HRESULT CompleteEvent([in] ULONG ulEventID, [in] ULONG ulEventResult); +} + +[ + object, + uuid(7DEf4C09-6E66-4567-A819-F0E17F4A81AB), + helpstring("IBDA_AUX Interface"), + pointer_default(unique) +] +interface IBDA_AUX : IUnknown +{ + HRESULT QueryCapabilities([out] DWORD *pdwNumAuxInputsBSTR); + HRESULT EnumCapability([in] DWORD dwIndex, [out] DWORD *dwInputID, [out] GUID *pConnectorType, + [out] DWORD *ConnTypeNum, [out] DWORD *NumVideoStds, + [out] ULONGLONG *AnalogStds); +} + +[ + object, + uuid(3a8bad59-59fe-4559-a0ba-396cfaa98ae3), + helpstring("IBDA_ Encoder Interface"), + pointer_default(unique) +] +interface IBDA_Encoder : IUnknown +{ + HRESULT QueryCapabilities([out] DWORD *NumAudioFmts, [out] DWORD *NumVideoFmts); + HRESULT EnumAudioCapability([in] DWORD FmtIndex, [out] DWORD *MethodID, + [out] DWORD *AlgorithmType, [out] DWORD *SamplingRate, + [out] DWORD *BitDepth, [out] DWORD *NumChannels); + HRESULT EnumVideoCapability([in] DWORD FmtIndex, [out] DWORD *MethodID, + [out] DWORD *AlgorithmType, [out] DWORD *VerticalSize, + [out] DWORD *HorizontalSize, [out] DWORD *AspectRatio, + [out] DWORD *FrameRateCode, [out] DWORD *ProgressiveSequence); + HRESULT SetParameters([in] DWORD AudioBitrateMode, [in] DWORD AudioBitrate, + [in] DWORD AudioMethodID, [in] DWORD AudioProgram, + [in] DWORD VideoBitrateMode, [in] DWORD VideoBitrate, + [in] DWORD VideoMethodID); + HRESULT GetState([out] DWORD *AudioBitrateMax, [out] DWORD *AudioBitrateMin, + [out] DWORD *AudioBitrateMode, [out] DWORD *AudioBitrateStepping, + [out] DWORD *AudioBitrate, [out] DWORD *AudioMethodID, + [out] DWORD *AvailableAudioPrograms, [out] DWORD *AudioProgram, + [out] DWORD *VideoBitrateMax, [out] DWORD *VideoBitrateMin, + [out] DWORD *VideoBitrateMode, [out] DWORD *VideoBitrate, + [out] DWORD *VideoBitrateStepping, [out] DWORD *VideoMethodID, + [out] DWORD *SignalSourceID, [out] ULONGLONG *SignalFormat, + [out] BOOL *SignalLock, [out] LONG *SignalLevel, + [out] DWORD *SignalToNoiseRatio); +} + +[ + object, + uuid(138adc7e-58ae-437f-b0b4-c9fe19d5b4ac), + helpstring("IBDA_ FDC Interface"), + pointer_default(unique) +] +interface IBDA_FDC : IUnknown +{ + HRESULT GetStatus([out] DWORD *CurrentBitrate, [out] BOOL *CarrierLock, + [out] DWORD *CurrentFrequency, [out] BOOL *CurrentSpectrumInversion, + [out] BSTR *CurrentPIDList, [out] BSTR *CurrentTIDList, [out] BOOL *Overflow); + HRESULT RequestTables([in] BSTR TableIDs); + HRESULT AddPid([in] BSTR PidsToAdd, [out] DWORD *RemainingFilterEntries); + HRESULT RemovePid([in] BSTR PidsToRemove); + HRESULT AddTid([in] BSTR TidsToAdd, [out] BSTR *CurrentTidList); + HRESULT RemoveTid([in] BSTR TidsToRemove); + HRESULT GetTableSection([out] DWORD *Pid, [in] DWORD MaxBufferSize, + [out] DWORD *ActualSize, [out] BYTE *SecBuffer); +} + +[ + object, + uuid(C0AFCB73-23E7-4bc6-BAFA-FDC167B4719F), + helpstring("IBDA_ GuideDataDeliveryService Interface"), + pointer_default(unique) +] +interface IBDA_GuideDataDeliveryService: IUnknown +{ + HRESULT GetGuideDataType([out] GUID *pguidDataType); + HRESULT GetGuideData([in, out] ULONG *pulcbBufferLen, [out] BYTE *pbBuffer, + [out] ULONG *pulGuideDataPercentageProgress); + HRESULT RequestGuideDataUpdate(void); + HRESULT GetTuneXmlFromServiceIdx([in] ULONG64 ul64ServiceIdx, [out] BSTR *pbstrTuneXml); + HRESULT GetServices([in, out] ULONG *pulcbBufferLen, [out] BYTE *pbBuffer); + HRESULT GetServiceInfoFromTuneXml([in] BSTR bstrTuneXml, [out] BSTR *pbstrServiceDescription); +} + +[ + object, + uuid(BFF6B5BB-B0AE-484c-9DCA-73528FB0B46E), + helpstring("IBDA_DRMService Interface"), + pointer_default(unique) +] +interface IBDA_DRMService: IUnknown +{ + HRESULT SetDRM([in] GUID *puuidNewDrm); + HRESULT GetDRMStatus([out] BSTR *pbstrDrmUuidList, [out] GUID *DrmUuid); +} + +[ + object, + uuid(4BE6FA3D-07CD-4139-8B80-8C18BA3AEC88), + helpstring("IBDA_WMDRMSession Interface"), + pointer_default(unique) +] +interface IBDA_WMDRMSession: IUnknown +{ + HRESULT GetStatus([out] ULONG *MaxCaptureToken, [out] ULONG *MaxStreamingPid, + [out] ULONG *MaxLicense, [out] ULONG *MinSecurityLevel, + [out] ULONG *RevInfoSequenceNumber, [out] ULONGLONG *RevInfoIssuedTime, + [out] ULONG *RevInfoTTL, [out] ULONG *RevListVersion, [out] ULONG *ulState); + HRESULT SetRevInfo([in] ULONG ulRevInfoLen, [in, size_is(ulRevInfoLen)] BYTE* pbRevInfo); + HRESULT SetCrl([in] ULONG ulCrlLen, [in, size_is(ulCrlLen)] BYTE *pbCrlLen); + HRESULT TransactMessage([in] ULONG ulcbRequest, [in, size_is(ulcbRequest)] BYTE *pbRequest, + [in, out] ULONG *pulcbResponse, [in, out] BYTE *pbResponse); + HRESULT GetLicense([in] GUID *uuidKey, [in, out] ULONG *pulPackageLen, [in, out] BYTE *pbPackage); + HRESULT ReissueLicense([in] GUID *uuidKey); + HRESULT RenewLicense([in] ULONG ulInXmrLicenseLen, + [in, size_is(ulInXmrLicenseLen)] BYTE *pbInXmrLicense, + [in] ULONG ulEntitlementTokenLen, + [in, size_is(ulEntitlementTokenLen)] BYTE *pbEntitlementToken, + [out] ULONG *pulDescrambleStatus, [in, out] ULONG *pulOutXmrLicenseLen, + [in, out] BYTE *pbOutXmrLicense); + HRESULT GetKeyInfo([in, out] ULONG *pulKeyInfoLen, [in, out] BYTE *pbKeyInfo); +} + +[ + object, + uuid(86D979CF-A8A7-4f94-B5FB-14C0ACA68FE6), + helpstring("IBDA_WMDRMTuner Interface"), + pointer_default(unique) +] +interface IBDA_WMDRMTuner: IUnknown +{ + HRESULT PurchaseEntitlement([in] ULONG ulDialogRequest, [in] BSTR bstrLanguage, + [in] ULONG ulPurchaseTokenLen, + [in, size_is(ulPurchaseTokenLen)] BYTE *pbPurchaseToken, + [out] ULONG *pulDescrambleStatus, + [in, out] ULONG *pulCaptureTokenLen, + [in, out] BYTE *pbCaptureToken); + HRESULT CancelCaptureToken([in] ULONG ulCaptureTokenLen, + [in, size_is(ulCaptureTokenLen)] BYTE *pbCaptureToken); + HRESULT SetPidProtection([in] ULONG ulPid, [in] GUID *uuidKey); + HRESULT GetPidProtection([in] ULONG pulPid, [out] GUID *uuidKey); + HRESULT SetSyncValue([in] ULONG ulSyncValue); + HRESULT GetStartCodeProfile([in, out] ULONG *pulStartCodeProfileLen, + [in, out] BYTE *pbStartCodeProfile); +} + +[ + object, + uuid(1F9BC2A5-44A3-4c52-AAB1-0BBCE5A1381D), + helpstring("IBDA_DRIDRMService Interface"), + pointer_default(unique) +] +interface IBDA_DRIDRMService: IUnknown +{ + HRESULT SetDRM([in] BSTR bstrNewDrm); + HRESULT GetDRMStatus([out] BSTR *pbstrDrmUuidList, [out] GUID *DrmUuid); + HRESULT GetPairingStatus([in, out] BDA_DrmPairingError *penumPairingStatus); +} + +[ + object, + uuid(05C690F8-56DB-4bb2-B053-79C12098BB26), + helpstring("IBDA_DRIWMDRMSession Interface"), + pointer_default(unique) +] +interface IBDA_DRIWMDRMSession: IUnknown +{ + HRESULT AcknowledgeLicense([in] HRESULT hrLicenseAck); + HRESULT ProcessLicenseChallenge([in] DWORD dwcbLicenseMessage, + [in, size_is(dwcbLicenseMessage)] BYTE *pbLicenseMessage, + [in, out] DWORD *pdwcbLicenseResponse, + [in, out, size_is(* pdwcbLicenseResponse)] BYTE **ppbLicenseResponse); + HRESULT ProcessRegistrationChallenge([in] DWORD dwcbRegistrationMessage, + [in, size_is(dwcbRegistrationMessage)] BYTE *pbRegistrationMessage, + [in, out] DWORD *pdwcbRegistrationResponse, + [in, out] BYTE **ppbRegistrationResponse); + HRESULT SetRevInfo([in] DWORD dwRevInfoLen, [in, size_is(dwRevInfoLen)] BYTE *pbRevInfo, + [in, out] DWORD *pdwResponse); + HRESULT SetCrl([in] DWORD dwCrlLen, [in, size_is(dwCrlLen)] BYTE *pbCrlLen, + [in, out] DWORD *pdwResponse); + HRESULT GetHMSAssociationData(void); + HRESULT GetLastCardeaError([in, out] DWORD *pdwError); +} + +[ + object, + uuid(942AAFEC-4C05-4c74-B8EB-8706C2A4943F), + helpstring("IBDA_MUX Interface"), + pointer_default(unique) +] +interface IBDA_MUX: IUnknown +{ + HRESULT SetPidList([in] ULONG ulPidListCount, + [in, size_is(ulPidListCount)] BDA_MUX_PIDLISTITEM *pbPidListBuffer); + HRESULT GetPidList([in, out] ULONG *pulPidListCount, + [in, out] BDA_MUX_PIDLISTITEM *pbPidListBuffer); +} + +[ + object, + uuid(1DCFAFE9-B45E-41b3-BB2A-561EB129AE98), + helpstring("IBDA_TransportStreamSelector Interface"), + pointer_default(unique) +] +interface IBDA_TransportStreamSelector : IUnknown +{ + HRESULT SetTSID([in] USHORT usTSID); + HRESULT GetTSInformation([in, out] ULONG *pulTSInformationBufferLen, + [out, size_is(*pulTSInformationBufferLen)] BYTE *pbTSInformationBuffer); +} + +[ + object, + uuid(53B14189-E478-4b7a-A1FF-506DB4B99DFE), + helpstring("IBDA_UserActivityService Interface"), + pointer_default(unique) +] +interface IBDA_UserActivityService: IUnknown +{ + HRESULT SetCurrentTunerUseReason([in] DWORD dwUseReason); + HRESULT GetUserActivityInterval([out] DWORD *pdwActivityInterval); + HRESULT UserActivityDetected(void); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface_enums.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface_enums.h new file mode 100644 index 0000000..451224c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdaiface_enums.h @@ -0,0 +1,89 @@ +/* + * Copyright 2013 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef BDAIFACE_ENUMS_H +#define BDAIFACE_ENUMS_H + +typedef enum EntitlementType +{ + Entitled, + NotEntitled, + TechnicalFailure +} EntitlementType; + +typedef enum BDA_DrmPairingError +{ + BDA_DrmPairing_Succeeded, + BDA_DrmPairing_HardwareFailure, + BDA_DrmPairing_NeedRevocationData, + BDA_DrmPairing_NeedIndiv, + BDA_DrmPairing_Other, + BDA_DrmPairing_DrmInitFailed, + BDA_DrmPairing_DrmNotPaired, + BDA_DrmPairing_DrmRePairSoon, + BDA_DrmPairing_Aborted, + BDA_DrmPairing_NeedSDKUpdate +} BDA_DrmPairingError; + +typedef enum UICloseReasonType +{ + NotReady, + UserClosed, + SystemClosed, + DeviceClosed, + ErrorClosed +} UICloseReasonType; + +typedef enum LocationCodeSchemeType +{ + SCTE_18 +} LocationCodeSchemeType; + +typedef struct SmartCardApplication +{ + ApplicationTypeType ApplicationType; + USHORT ApplicationVersion; + BSTR pbstrApplicationName; + BSTR pbstrApplicationURL; +} SmartCardApplication; + +typedef struct EALocationCodeType +{ + LocationCodeSchemeType LocationCodeScheme; + BYTE state_code; + BYTE county_subdivision; + WORD county_code; +} EALocationCodeType; + +typedef enum SmartCardStatusType +{ + CardInserted, + CardRemoved, + CardError, + CardDataChanged, + CardFirmwareUpgrade +} SmartCardStatusType; + +typedef enum SmartCardAssociationType +{ + NotAssociated, + Associated, + AssociationUnknown +} SmartCardAssociationType; + +#endif /* BDAIFACE_ENUMS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdatypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdatypes.h new file mode 100644 index 0000000..fe594ac --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bdatypes.h @@ -0,0 +1,264 @@ +/* + * Copyright 2013 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _BDATYPES_ +#define _BDATYPES_ + +typedef struct _BDANODE_DESCRIPTOR +{ + ULONG ulBdaNodeType; + GUID guidFunction; + GUID guidName; +} BDANODE_DESCRIPTOR, *PBDANODE_DESCRIPTOR; + +typedef struct _BDA_SIGNAL_TIMEOUTS +{ + ULONG ulCarrierTimeoutMs; + ULONG ulScanningTimeoutMs; + ULONG ulTuningTimeoutMs; +} BDA_SIGNAL_TIMEOUTS, *PBDA_SIGNAL_TIMEOUTS; + +typedef struct _BDA_TEMPLATE_CONNECTION +{ + ULONG FromNodeType; + ULONG FromNodePinType; + ULONG ToNodeType; + ULONG ToNodePinType; +} BDA_TEMPLATE_CONNECTION, *PBDA_TEMPLATE_CONNECTION; + +typedef enum MEDIA_SAMPLE_CONTENT +{ + MEDIA_TRANSPORT_PACKET, + MEDIA_ELEMENTARY_STREAM, + MEDIA_MPEG2_PSI, + MEDIA_TRANSPORT_PAYLOAD +} MEDIA_SAMPLE_CONTENT; + +typedef struct +{ + ULONG ulPID; + MEDIA_SAMPLE_CONTENT MediaSampleContent; +} PID_MAP; + +typedef enum MUX_PID_TYPE +{ + PID_OTHER = -1, + PID_ELEMENTARY_STREAM, + PID_MPEG2_SECTION_PSI_SI, +} MUX_PID_TYPE; + +#include +typedef struct _BDA_MUX_PIDLISTITEM +{ + USHORT usPIDNumber; + USHORT usProgramNumber; + MUX_PID_TYPE ePIDType; +} BDA_MUX_PIDLISTITEM, *PBDA_MUX_PIDLISTITEM; +#include + +typedef enum BDA_CONDITIONALACCESS_REQUESTTYPE +{ + CONDITIONALACCESS_ACCESS_UNSPECIFIED, + CONDITIONALACCESS_ACCESS_NOT_POSSIBLE, + CONDITIONALACCESS_ACCESS_POSSIBLE, + CONDITIONALACCESS_ACCESS_POSSIBLE_NO_STREAMING_DISRUPTION +} BDA_CONDITIONALACCESS_REQUESTTYPE; + +typedef enum BDA_CONDITIONALACCESS_MMICLOSEREASON +{ + CONDITIONALACCESS_UNSPECIFIED, + CONDITIONALACCESS_CLOSED_ITSELF, + CONDITIONALACCESS_TUNER_REQUESTED_CLOSE, + CONDITIONALACCESS_DIALOG_TIMEOUT, + CONDITIONALACCESS_DIALOG_FOCUS_CHANGE, + CONDITIONALACCESS_DIALOG_USER_DISMISSED, + CONDITIONALACCESS_DIALOG_USER_NOT_AVAILABLE +} BDA_CONDITIONALACCESS_MMICLOSEREASON; + +typedef enum BDA_CONDITIONALACCESS_SESSION_RESULT +{ + CONDITIONALACCESS_SUCCESSFULL, + CONDITIONALACCESS_ENDED_NOCHANGE, + CONDITIONALACCESS_ABORTED +} BDA_CONDITIONALACCESS_SESSION_RESULT; + +typedef enum BDA_DISCOVERY_STATE +{ + BDA_DISCOVERY_UNSPECIFIED, + BDA_DISCOVERY_REQUIRED, + BDA_DISCOVERY_COMPLETE +} BDA_DISCOVERY_STATE; + +typedef enum ApplicationTypeType +{ + SCTE28_ConditionalAccess, + SCTE28_POD_Host_Binding_Information, + SCTE28_IPService, + SCTE28_NetworkInterface_SCTE55_2, + SCTE28_NetworkInterface_SCTE55_1, + SCTE28_CopyProtection, + SCTE28_Diagnostic, + SCTE28_Undesignated, + SCTE28_Reserved, +} ApplicationTypeType; + +typedef enum GuardInterval +{ + BDA_GUARD_NOT_SET = -1, + BDA_GUARD_NOT_DEFINED, + BDA_GUARD_1_32, + BDA_GUARD_1_16, + BDA_GUARD_1_8, + BDA_GUARD_1_4, + BDA_GUARD_1_128, + BDA_GUARD_19_128, + BDA_GUARD_19_256, + BDA_GUARD_MAX, +} GuardInterval; + +typedef enum TransmissionMode +{ + BDA_XMIT_MODE_NOT_SET = -1, + BDA_XMIT_MODE_NOT_DEFINED, + BDA_XMIT_MODE_2K, + BDA_XMIT_MODE_8K, + BDA_XMIT_MODE_4K, + BDA_XMIT_MODE_2K_INTERLEAVED, + BDA_XMIT_MODE_4K_INTERLEAVED, + BDA_XMIT_MODE_1K, + BDA_XMIT_MODE_16K, + BDA_XMIT_MODE_32K, + BDA_XMIT_MODE_MAX, +} TransmissionMode; + +typedef enum SpectralInversion +{ + BDA_SPECTRAL_INVERSION_NOT_SET = -1, + BDA_SPECTRAL_INVERSION_NOT_DEFINED, + BDA_SPECTRAL_INVERSION_AUTOMATIC, + BDA_SPECTRAL_INVERSION_NORMAL, + BDA_SPECTRAL_INVERSION_INVERTED, + BDA_SPECTRAL_INVERSION_MAX +} SpectralInversion; + +typedef enum BinaryConvolutionCodeRate +{ + BDA_BCC_RATE_NOT_SET = -1, + BDA_BCC_RATE_NOT_DEFINED, + BDA_BCC_RATE_1_2, + BDA_BCC_RATE_2_3, + BDA_BCC_RATE_3_4, + BDA_BCC_RATE_3_5, + BDA_BCC_RATE_4_5, + BDA_BCC_RATE_5_6, + BDA_BCC_RATE_5_11, + BDA_BCC_RATE_7_8, + BDA_BCC_RATE_1_4, + BDA_BCC_RATE_1_3, + BDA_BCC_RATE_2_5, + BDA_BCC_RATE_6_7, + BDA_BCC_RATE_8_9, + BDA_BCC_RATE_9_10, + BDA_BCC_RATE_MAX, +} BinaryConvolutionCodeRate; + +typedef enum Polarisation +{ + BDA_POLARISATION_NOT_SET = -1, + BDA_POLARISATION_NOT_DEFINED, + BDA_POLARISATION_LINEAR_H, + BDA_POLARISATION_LINEAR_V, + BDA_POLARISATION_CIRCULAR_L, + BDA_POLARISATION_CIRCULAR_R, + BDA_POLARISATION_MAX, +} Polarisation; + +typedef enum FECMethod +{ + BDA_FEC_METHOD_NOT_SET = -1, + BDA_FEC_METHOD_NOT_DEFINED, + BDA_FEC_VITERBI, + BDA_FEC_RS_204_188, + BDA_FEC_LDPC, + BDA_FEC_BCH, + BDA_FEC_RS_147_130, + BDA_FEC_MAX, +} FECMethod; + +typedef enum ModulationType +{ + BDA_MOD_NOT_SET = -1, + BDA_MOD_NOT_DEFINED, + BDA_MOD_16QAM, + BDA_MOD_32QAM, + BDA_MOD_64QAM, + BDA_MOD_80QAM, + BDA_MOD_96QAM, + BDA_MOD_112QAM, + BDA_MOD_128QAM, + BDA_MOD_160QAM, + BDA_MOD_192QAM, + BDA_MOD_224QAM, + BDA_MOD_256QAM, + BDA_MOD_320QAM, + BDA_MOD_384QAM, + BDA_MOD_448QAM, + BDA_MOD_512QAM, + BDA_MOD_640QAM, + BDA_MOD_768QAM, + BDA_MOD_896QAM, + BDA_MOD_1024QAM, + BDA_MOD_QPSK, + BDA_MOD_BPSK, + BDA_MOD_OQPSK, + BDA_MOD_8VSB, + BDA_MOD_16VSB, + BDA_MOD_ANALOG_AMPLITUDE, + BDA_MOD_ANALOG_FREQUENCY, + BDA_MOD_8PSK, + BDA_MOD_RF, + BDA_MOD_16APSK, + BDA_MOD_32APSK, + BDA_MOD_NBC_QPSK, + BDA_MOD_NBC_8PSK, + BDA_MOD_DIRECTV, + BDA_MOD_ISDB_T_TMCC, + BDA_MOD_ISDB_S_TMCC, + BDA_MOD_MAX, +} ModulationType; + +typedef enum RollOff +{ + BDA_ROLL_OFF_NOT_SET = -1, + BDA_ROLL_OFF_NOT_DEFINED, + BDA_ROLL_OFF_20, + BDA_ROLL_OFF_25, + BDA_ROLL_OFF_35, + BDA_ROLL_OFF_MAX, +} RollOff; + +typedef enum Pilot +{ + BDA_PILOT_NOT_SET = -1, + BDA_PILOT_NOT_DEFINED, + BDA_PILOT_OFF, + BDA_PILOT_ON, + BDA_PILOT_MAX, +} Pilot; + +#endif /* _BDATYPES_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/binres.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/binres.idl new file mode 100644 index 0000000..4923f31 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/binres.idl @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733ab1-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IBindResource : IUnknown +{ + [local] + HRESULT Bind([in] IUnknown *pUnkOuter, + [in] LPCOLESTR pwszURL, + [in] DBBINDURLFLAG dwBindURLFlags, + [in] REFGUID rguid, + [in] REFIID riid, + [in] IAuthenticate *pAuthenticate, + [in, out, unique] DBIMPLICITSESSION *pImplSession, + [in, out, unique] DBBINDURLSTATUS *pdwBindStatus, + [out, iid_is(riid)] IUnknown **ppUnk); + + [call_as(Bind)] + HRESULT RemoteBind([in] IUnknown *pUnkOuter, + [in] LPCOLESTR pwszURL, + [in] DBBINDURLFLAG dwBindURLFlags, + [in] REFGUID rguid, + [in] REFIID riid, + [in] IAuthenticate *pAuthenticate, + [in] IUnknown *pSessionUnkOuter, + [in, unique] IID *piid, + [in, out, unique, iid_is(piid)] IUnknown **ppSession, + [in, out, unique] DBBINDURLSTATUS *pdwBindStatus, + [out, iid_is(riid)] IUnknown **ppUnk); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits.h new file mode 100644 index 0000000..0501b05 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits.h @@ -0,0 +1,1323 @@ +/*** Autogenerated by WIDL 2.18 from bits.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __bits_h__ +#define __bits_h__ + +/* Forward declarations */ + +#ifndef __IBackgroundCopyFile_FWD_DEFINED__ +#define __IBackgroundCopyFile_FWD_DEFINED__ +typedef interface IBackgroundCopyFile IBackgroundCopyFile; +#ifdef __cplusplus +interface IBackgroundCopyFile; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumBackgroundCopyFiles_FWD_DEFINED__ +#define __IEnumBackgroundCopyFiles_FWD_DEFINED__ +typedef interface IEnumBackgroundCopyFiles IEnumBackgroundCopyFiles; +#ifdef __cplusplus +interface IEnumBackgroundCopyFiles; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyError_FWD_DEFINED__ +#define __IBackgroundCopyError_FWD_DEFINED__ +typedef interface IBackgroundCopyError IBackgroundCopyError; +#ifdef __cplusplus +interface IBackgroundCopyError; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyJob_FWD_DEFINED__ +#define __IBackgroundCopyJob_FWD_DEFINED__ +typedef interface IBackgroundCopyJob IBackgroundCopyJob; +#ifdef __cplusplus +interface IBackgroundCopyJob; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumBackgroundCopyJobs_FWD_DEFINED__ +#define __IEnumBackgroundCopyJobs_FWD_DEFINED__ +typedef interface IEnumBackgroundCopyJobs IEnumBackgroundCopyJobs; +#ifdef __cplusplus +interface IEnumBackgroundCopyJobs; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyCallback_FWD_DEFINED__ +#define __IBackgroundCopyCallback_FWD_DEFINED__ +typedef interface IBackgroundCopyCallback IBackgroundCopyCallback; +#ifdef __cplusplus +interface IBackgroundCopyCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyManager_FWD_DEFINED__ +#define __IBackgroundCopyManager_FWD_DEFINED__ +typedef interface IBackgroundCopyManager IBackgroundCopyManager; +#ifdef __cplusplus +interface IBackgroundCopyManager; +#endif /* __cplusplus */ +#endif + +#ifndef __BackgroundCopyManager_FWD_DEFINED__ +#define __BackgroundCopyManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class BackgroundCopyManager BackgroundCopyManager; +#else +typedef struct BackgroundCopyManager BackgroundCopyManager; +#endif /* defined __cplusplus */ +#endif /* defined __BackgroundCopyManager_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include "bitsmsg.h" +#define BG_SIZE_UNKNOWN (UINT64)(-1) +#define BG_NOTIFY_JOB_TRANSFERRED 0x0001 +#define BG_NOTIFY_JOB_ERROR 0x0002 +#define BG_NOTIFY_DISABLE 0x0004 +#define BG_NOTIFY_JOB_MODIFICATION 0x0008 +#define BG_NOTIFY_FILE_TRANSFERRED 0x0010 +#ifdef WINE_NO_UNICODE_MACROS +#undef EnumJobs +#undef GetJob +#endif +/***************************************************************************** + * IBackgroundCopyFile interface + */ +#ifndef __IBackgroundCopyFile_INTERFACE_DEFINED__ +#define __IBackgroundCopyFile_INTERFACE_DEFINED__ + +typedef struct _BG_FILE_PROGRESS { + UINT64 BytesTotal; + UINT64 BytesTransferred; + BOOL Completed; +} BG_FILE_PROGRESS; +DEFINE_GUID(IID_IBackgroundCopyFile, 0x01b7bd23, 0xfb88, 0x4a77, 0x84,0x90, 0x58,0x91,0xd3,0xe4,0x65,0x3a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("01b7bd23-fb88-4a77-8490-5891d3e4653a") +IBackgroundCopyFile : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRemoteName( + LPWSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalName( + LPWSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProgress( + BG_FILE_PROGRESS *pVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyFile, 0x01b7bd23, 0xfb88, 0x4a77, 0x84,0x90, 0x58,0x91,0xd3,0xe4,0x65,0x3a) +#endif +#else +typedef struct IBackgroundCopyFileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyFile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyFile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyFile *This); + + /*** IBackgroundCopyFile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRemoteName)( + IBackgroundCopyFile *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *GetLocalName)( + IBackgroundCopyFile *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IBackgroundCopyFile *This, + BG_FILE_PROGRESS *pVal); + + END_INTERFACE +} IBackgroundCopyFileVtbl; + +interface IBackgroundCopyFile { + CONST_VTBL IBackgroundCopyFileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyFile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyFile_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyFile methods ***/ +#define IBackgroundCopyFile_GetRemoteName(This,pVal) (This)->lpVtbl->GetRemoteName(This,pVal) +#define IBackgroundCopyFile_GetLocalName(This,pVal) (This)->lpVtbl->GetLocalName(This,pVal) +#define IBackgroundCopyFile_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyFile_QueryInterface(IBackgroundCopyFile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyFile_AddRef(IBackgroundCopyFile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyFile_Release(IBackgroundCopyFile* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyFile methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyFile_GetRemoteName(IBackgroundCopyFile* This,LPWSTR *pVal) { + return This->lpVtbl->GetRemoteName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyFile_GetLocalName(IBackgroundCopyFile* This,LPWSTR *pVal) { + return This->lpVtbl->GetLocalName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyFile_GetProgress(IBackgroundCopyFile* This,BG_FILE_PROGRESS *pVal) { + return This->lpVtbl->GetProgress(This,pVal); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyFile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumBackgroundCopyFiles interface + */ +#ifndef __IEnumBackgroundCopyFiles_INTERFACE_DEFINED__ +#define __IEnumBackgroundCopyFiles_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumBackgroundCopyFiles, 0xca51e165, 0xc365, 0x424c, 0x8d,0x41, 0x24,0xaa,0xa4,0xff,0x3c,0x40); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ca51e165-c365-424c-8d41-24aaa4ff3c40") +IEnumBackgroundCopyFiles : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IBackgroundCopyFile **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumBackgroundCopyFiles **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *puCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumBackgroundCopyFiles, 0xca51e165, 0xc365, 0x424c, 0x8d,0x41, 0x24,0xaa,0xa4,0xff,0x3c,0x40) +#endif +#else +typedef struct IEnumBackgroundCopyFilesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumBackgroundCopyFiles *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumBackgroundCopyFiles *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumBackgroundCopyFiles *This); + + /*** IEnumBackgroundCopyFiles methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumBackgroundCopyFiles *This, + ULONG celt, + IBackgroundCopyFile **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumBackgroundCopyFiles *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumBackgroundCopyFiles *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumBackgroundCopyFiles *This, + IEnumBackgroundCopyFiles **ppenum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IEnumBackgroundCopyFiles *This, + ULONG *puCount); + + END_INTERFACE +} IEnumBackgroundCopyFilesVtbl; + +interface IEnumBackgroundCopyFiles { + CONST_VTBL IEnumBackgroundCopyFilesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumBackgroundCopyFiles_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumBackgroundCopyFiles_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumBackgroundCopyFiles_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumBackgroundCopyFiles methods ***/ +#define IEnumBackgroundCopyFiles_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumBackgroundCopyFiles_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumBackgroundCopyFiles_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumBackgroundCopyFiles_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#define IEnumBackgroundCopyFiles_GetCount(This,puCount) (This)->lpVtbl->GetCount(This,puCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumBackgroundCopyFiles_QueryInterface(IEnumBackgroundCopyFiles* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumBackgroundCopyFiles_AddRef(IEnumBackgroundCopyFiles* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumBackgroundCopyFiles_Release(IEnumBackgroundCopyFiles* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumBackgroundCopyFiles methods ***/ +static FORCEINLINE HRESULT IEnumBackgroundCopyFiles_Next(IEnumBackgroundCopyFiles* This,ULONG celt,IBackgroundCopyFile **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyFiles_Skip(IEnumBackgroundCopyFiles* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyFiles_Reset(IEnumBackgroundCopyFiles* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyFiles_Clone(IEnumBackgroundCopyFiles* This,IEnumBackgroundCopyFiles **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyFiles_GetCount(IEnumBackgroundCopyFiles* This,ULONG *puCount) { + return This->lpVtbl->GetCount(This,puCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumBackgroundCopyFiles_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBackgroundCopyError interface + */ +#ifndef __IBackgroundCopyError_INTERFACE_DEFINED__ +#define __IBackgroundCopyError_INTERFACE_DEFINED__ + +typedef enum __WIDL_bits_generated_name_00000002 { + BG_ERROR_CONTEXT_NONE = 0, + BG_ERROR_CONTEXT_UNKNOWN = 1, + BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER = 2, + BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION = 3, + BG_ERROR_CONTEXT_LOCAL_FILE = 4, + BG_ERROR_CONTEXT_REMOTE_FILE = 5, + BG_ERROR_CONTEXT_GENERAL_TRANSPORT = 6, + BG_ERROR_CONTEXT_REMOTE_APPLICATION = 7 +} BG_ERROR_CONTEXT; +DEFINE_GUID(IID_IBackgroundCopyError, 0x19c613a0, 0xfcb8, 0x4f28, 0x81,0xae, 0x89,0x7c,0x3d,0x07,0x8f,0x81); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("19c613a0-fcb8-4f28-81ae-897c3d078f81") +IBackgroundCopyError : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetError( + BG_ERROR_CONTEXT *pContext, + HRESULT *pCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFile( + IBackgroundCopyFile **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorDescription( + DWORD LanguageId, + LPWSTR *pErrorDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorContextDescription( + DWORD LanguageId, + LPWSTR *pContextDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProtocol( + LPWSTR *pProtocol) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyError, 0x19c613a0, 0xfcb8, 0x4f28, 0x81,0xae, 0x89,0x7c,0x3d,0x07,0x8f,0x81) +#endif +#else +typedef struct IBackgroundCopyErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyError *This); + + /*** IBackgroundCopyError methods ***/ + HRESULT (STDMETHODCALLTYPE *GetError)( + IBackgroundCopyError *This, + BG_ERROR_CONTEXT *pContext, + HRESULT *pCode); + + HRESULT (STDMETHODCALLTYPE *GetFile)( + IBackgroundCopyError *This, + IBackgroundCopyFile **pVal); + + HRESULT (STDMETHODCALLTYPE *GetErrorDescription)( + IBackgroundCopyError *This, + DWORD LanguageId, + LPWSTR *pErrorDescription); + + HRESULT (STDMETHODCALLTYPE *GetErrorContextDescription)( + IBackgroundCopyError *This, + DWORD LanguageId, + LPWSTR *pContextDescription); + + HRESULT (STDMETHODCALLTYPE *GetProtocol)( + IBackgroundCopyError *This, + LPWSTR *pProtocol); + + END_INTERFACE +} IBackgroundCopyErrorVtbl; + +interface IBackgroundCopyError { + CONST_VTBL IBackgroundCopyErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyError_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyError methods ***/ +#define IBackgroundCopyError_GetError(This,pContext,pCode) (This)->lpVtbl->GetError(This,pContext,pCode) +#define IBackgroundCopyError_GetFile(This,pVal) (This)->lpVtbl->GetFile(This,pVal) +#define IBackgroundCopyError_GetErrorDescription(This,LanguageId,pErrorDescription) (This)->lpVtbl->GetErrorDescription(This,LanguageId,pErrorDescription) +#define IBackgroundCopyError_GetErrorContextDescription(This,LanguageId,pContextDescription) (This)->lpVtbl->GetErrorContextDescription(This,LanguageId,pContextDescription) +#define IBackgroundCopyError_GetProtocol(This,pProtocol) (This)->lpVtbl->GetProtocol(This,pProtocol) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyError_QueryInterface(IBackgroundCopyError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyError_AddRef(IBackgroundCopyError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyError_Release(IBackgroundCopyError* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyError methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyError_GetError(IBackgroundCopyError* This,BG_ERROR_CONTEXT *pContext,HRESULT *pCode) { + return This->lpVtbl->GetError(This,pContext,pCode); +} +static FORCEINLINE HRESULT IBackgroundCopyError_GetFile(IBackgroundCopyError* This,IBackgroundCopyFile **pVal) { + return This->lpVtbl->GetFile(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyError_GetErrorDescription(IBackgroundCopyError* This,DWORD LanguageId,LPWSTR *pErrorDescription) { + return This->lpVtbl->GetErrorDescription(This,LanguageId,pErrorDescription); +} +static FORCEINLINE HRESULT IBackgroundCopyError_GetErrorContextDescription(IBackgroundCopyError* This,DWORD LanguageId,LPWSTR *pContextDescription) { + return This->lpVtbl->GetErrorContextDescription(This,LanguageId,pContextDescription); +} +static FORCEINLINE HRESULT IBackgroundCopyError_GetProtocol(IBackgroundCopyError* This,LPWSTR *pProtocol) { + return This->lpVtbl->GetProtocol(This,pProtocol); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBackgroundCopyJob interface + */ +#ifndef __IBackgroundCopyJob_INTERFACE_DEFINED__ +#define __IBackgroundCopyJob_INTERFACE_DEFINED__ + +typedef struct _BG_FILE_INFO { + LPWSTR RemoteName; + LPWSTR LocalName; +} BG_FILE_INFO; +typedef struct _BG_JOB_PROGRESS { + UINT64 BytesTotal; + UINT64 BytesTransferred; + ULONG FilesTotal; + ULONG FilesTransferred; +} BG_JOB_PROGRESS; +typedef struct _BG_JOB_TIMES { + FILETIME CreationTime; + FILETIME ModificationTime; + FILETIME TransferCompletionTime; +} BG_JOB_TIMES; +typedef enum __WIDL_bits_generated_name_00000003 { + BG_JOB_PRIORITY_FOREGROUND = 0, + BG_JOB_PRIORITY_HIGH = 1, + BG_JOB_PRIORITY_NORMAL = 2, + BG_JOB_PRIORITY_LOW = 3 +} BG_JOB_PRIORITY; +typedef enum __WIDL_bits_generated_name_00000004 { + BG_JOB_STATE_QUEUED = 0, + BG_JOB_STATE_CONNECTING = 1, + BG_JOB_STATE_TRANSFERRING = 2, + BG_JOB_STATE_SUSPENDED = 3, + BG_JOB_STATE_ERROR = 4, + BG_JOB_STATE_TRANSIENT_ERROR = 5, + BG_JOB_STATE_TRANSFERRED = 6, + BG_JOB_STATE_ACKNOWLEDGED = 7, + BG_JOB_STATE_CANCELLED = 8 +} BG_JOB_STATE; +typedef enum __WIDL_bits_generated_name_00000005 { + BG_JOB_TYPE_DOWNLOAD = 0, + BG_JOB_TYPE_UPLOAD = 1, + BG_JOB_TYPE_UPLOAD_REPLY = 2 +} BG_JOB_TYPE; +typedef enum __WIDL_bits_generated_name_00000006 { + BG_JOB_PROXY_USAGE_PRECONFIG = 0, + BG_JOB_PROXY_USAGE_NO_PROXY = 1, + BG_JOB_PROXY_USAGE_OVERRIDE = 2, + BG_JOB_PROXY_USAGE_AUTODETECT = 3 +} BG_JOB_PROXY_USAGE; +DEFINE_GUID(IID_IBackgroundCopyJob, 0x37668d37, 0x507e, 0x4160, 0x93,0x16, 0x26,0x30,0x6d,0x15,0x0b,0x12); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("37668d37-507e-4160-9316-26306d150b12") +IBackgroundCopyJob : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddFileSet( + ULONG cFileCount, + BG_FILE_INFO *pFileSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFile( + LPCWSTR RemoteUrl, + LPCWSTR LocalName) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumFiles( + IEnumBackgroundCopyFiles **pEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Complete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetId( + GUID *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetType( + BG_JOB_TYPE *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProgress( + BG_JOB_PROGRESS *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimes( + BG_JOB_TIMES *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + BG_JOB_STATE *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetError( + IBackgroundCopyError **ppError) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOwner( + LPWSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDisplayName( + LPCWSTR Val) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPWSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + LPCWSTR Val) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + LPWSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPriority( + BG_JOB_PRIORITY Val) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPriority( + BG_JOB_PRIORITY *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNotifyFlags( + ULONG Val) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNotifyFlags( + ULONG *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNotifyInterface( + IUnknown *Val) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNotifyInterface( + IUnknown **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMinimumRetryDelay( + ULONG Seconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMinimumRetryDelay( + ULONG *Seconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNoProgressTimeout( + ULONG Seconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNoProgressTimeout( + ULONG *Seconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorCount( + ULONG *Errors) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProxySettings( + BG_JOB_PROXY_USAGE ProxyUsage, + const WCHAR *ProxyList, + const WCHAR *ProxyBypassList) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProxySettings( + BG_JOB_PROXY_USAGE *pProxyUsage, + LPWSTR *pProxyList, + LPWSTR *pProxyBypassList) = 0; + + virtual HRESULT STDMETHODCALLTYPE TakeOwnership( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyJob, 0x37668d37, 0x507e, 0x4160, 0x93,0x16, 0x26,0x30,0x6d,0x15,0x0b,0x12) +#endif +#else +typedef struct IBackgroundCopyJobVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyJob *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyJob *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyJob *This); + + /*** IBackgroundCopyJob methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFileSet)( + IBackgroundCopyJob *This, + ULONG cFileCount, + BG_FILE_INFO *pFileSet); + + HRESULT (STDMETHODCALLTYPE *AddFile)( + IBackgroundCopyJob *This, + LPCWSTR RemoteUrl, + LPCWSTR LocalName); + + HRESULT (STDMETHODCALLTYPE *EnumFiles)( + IBackgroundCopyJob *This, + IEnumBackgroundCopyFiles **pEnum); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IBackgroundCopyJob *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IBackgroundCopyJob *This); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IBackgroundCopyJob *This); + + HRESULT (STDMETHODCALLTYPE *Complete)( + IBackgroundCopyJob *This); + + HRESULT (STDMETHODCALLTYPE *GetId)( + IBackgroundCopyJob *This, + GUID *pVal); + + HRESULT (STDMETHODCALLTYPE *GetType)( + IBackgroundCopyJob *This, + BG_JOB_TYPE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IBackgroundCopyJob *This, + BG_JOB_PROGRESS *pVal); + + HRESULT (STDMETHODCALLTYPE *GetTimes)( + IBackgroundCopyJob *This, + BG_JOB_TIMES *pVal); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IBackgroundCopyJob *This, + BG_JOB_STATE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetError)( + IBackgroundCopyJob *This, + IBackgroundCopyError **ppError); + + HRESULT (STDMETHODCALLTYPE *GetOwner)( + IBackgroundCopyJob *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IBackgroundCopyJob *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IBackgroundCopyJob *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IBackgroundCopyJob *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IBackgroundCopyJob *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetPriority)( + IBackgroundCopyJob *This, + BG_JOB_PRIORITY Val); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBackgroundCopyJob *This, + BG_JOB_PRIORITY *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)( + IBackgroundCopyJob *This, + ULONG Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)( + IBackgroundCopyJob *This, + ULONG *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)( + IBackgroundCopyJob *This, + IUnknown *Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)( + IBackgroundCopyJob *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)( + IBackgroundCopyJob *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)( + IBackgroundCopyJob *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)( + IBackgroundCopyJob *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)( + IBackgroundCopyJob *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *GetErrorCount)( + IBackgroundCopyJob *This, + ULONG *Errors); + + HRESULT (STDMETHODCALLTYPE *SetProxySettings)( + IBackgroundCopyJob *This, + BG_JOB_PROXY_USAGE ProxyUsage, + const WCHAR *ProxyList, + const WCHAR *ProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *GetProxySettings)( + IBackgroundCopyJob *This, + BG_JOB_PROXY_USAGE *pProxyUsage, + LPWSTR *pProxyList, + LPWSTR *pProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IBackgroundCopyJob *This); + + END_INTERFACE +} IBackgroundCopyJobVtbl; + +interface IBackgroundCopyJob { + CONST_VTBL IBackgroundCopyJobVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyJob_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyJob_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyJob methods ***/ +#define IBackgroundCopyJob_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet) +#define IBackgroundCopyJob_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName) +#define IBackgroundCopyJob_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum) +#define IBackgroundCopyJob_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IBackgroundCopyJob_Resume(This) (This)->lpVtbl->Resume(This) +#define IBackgroundCopyJob_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IBackgroundCopyJob_Complete(This) (This)->lpVtbl->Complete(This) +#define IBackgroundCopyJob_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal) +#define IBackgroundCopyJob_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal) +#define IBackgroundCopyJob_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) +#define IBackgroundCopyJob_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal) +#define IBackgroundCopyJob_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal) +#define IBackgroundCopyJob_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError) +#define IBackgroundCopyJob_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal) +#define IBackgroundCopyJob_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val) +#define IBackgroundCopyJob_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal) +#define IBackgroundCopyJob_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val) +#define IBackgroundCopyJob_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal) +#define IBackgroundCopyJob_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val) +#define IBackgroundCopyJob_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal) +#define IBackgroundCopyJob_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val) +#define IBackgroundCopyJob_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal) +#define IBackgroundCopyJob_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val) +#define IBackgroundCopyJob_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal) +#define IBackgroundCopyJob_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors) +#define IBackgroundCopyJob_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) +#define IBackgroundCopyJob_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) +#define IBackgroundCopyJob_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob_QueryInterface(IBackgroundCopyJob* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyJob_AddRef(IBackgroundCopyJob* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyJob_Release(IBackgroundCopyJob* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyJob methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob_AddFileSet(IBackgroundCopyJob* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) { + return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_AddFile(IBackgroundCopyJob* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) { + return This->lpVtbl->AddFile(This,RemoteUrl,LocalName); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_EnumFiles(IBackgroundCopyJob* This,IEnumBackgroundCopyFiles **pEnum) { + return This->lpVtbl->EnumFiles(This,pEnum); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_Suspend(IBackgroundCopyJob* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_Resume(IBackgroundCopyJob* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_Cancel(IBackgroundCopyJob* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_Complete(IBackgroundCopyJob* This) { + return This->lpVtbl->Complete(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetId(IBackgroundCopyJob* This,GUID *pVal) { + return This->lpVtbl->GetId(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetType(IBackgroundCopyJob* This,BG_JOB_TYPE *pVal) { + return This->lpVtbl->GetType(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetProgress(IBackgroundCopyJob* This,BG_JOB_PROGRESS *pVal) { + return This->lpVtbl->GetProgress(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetTimes(IBackgroundCopyJob* This,BG_JOB_TIMES *pVal) { + return This->lpVtbl->GetTimes(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetState(IBackgroundCopyJob* This,BG_JOB_STATE *pVal) { + return This->lpVtbl->GetState(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetError(IBackgroundCopyJob* This,IBackgroundCopyError **ppError) { + return This->lpVtbl->GetError(This,ppError); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetOwner(IBackgroundCopyJob* This,LPWSTR *pVal) { + return This->lpVtbl->GetOwner(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetDisplayName(IBackgroundCopyJob* This,LPCWSTR Val) { + return This->lpVtbl->SetDisplayName(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetDisplayName(IBackgroundCopyJob* This,LPWSTR *pVal) { + return This->lpVtbl->GetDisplayName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetDescription(IBackgroundCopyJob* This,LPCWSTR Val) { + return This->lpVtbl->SetDescription(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetDescription(IBackgroundCopyJob* This,LPWSTR *pVal) { + return This->lpVtbl->GetDescription(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetPriority(IBackgroundCopyJob* This,BG_JOB_PRIORITY Val) { + return This->lpVtbl->SetPriority(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetPriority(IBackgroundCopyJob* This,BG_JOB_PRIORITY *pVal) { + return This->lpVtbl->GetPriority(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetNotifyFlags(IBackgroundCopyJob* This,ULONG Val) { + return This->lpVtbl->SetNotifyFlags(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetNotifyFlags(IBackgroundCopyJob* This,ULONG *pVal) { + return This->lpVtbl->GetNotifyFlags(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetNotifyInterface(IBackgroundCopyJob* This,IUnknown *Val) { + return This->lpVtbl->SetNotifyInterface(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetNotifyInterface(IBackgroundCopyJob* This,IUnknown **pVal) { + return This->lpVtbl->GetNotifyInterface(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetMinimumRetryDelay(IBackgroundCopyJob* This,ULONG Seconds) { + return This->lpVtbl->SetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetMinimumRetryDelay(IBackgroundCopyJob* This,ULONG *Seconds) { + return This->lpVtbl->GetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetNoProgressTimeout(IBackgroundCopyJob* This,ULONG Seconds) { + return This->lpVtbl->SetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetNoProgressTimeout(IBackgroundCopyJob* This,ULONG *Seconds) { + return This->lpVtbl->GetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetErrorCount(IBackgroundCopyJob* This,ULONG *Errors) { + return This->lpVtbl->GetErrorCount(This,Errors); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_SetProxySettings(IBackgroundCopyJob* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) { + return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_GetProxySettings(IBackgroundCopyJob* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) { + return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob_TakeOwnership(IBackgroundCopyJob* This) { + return This->lpVtbl->TakeOwnership(This); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyJob_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumBackgroundCopyJobs interface + */ +#ifndef __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__ +#define __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumBackgroundCopyJobs, 0x1af4f612, 0x3b71, 0x466f, 0x8f,0x58, 0x7b,0x6f,0x73,0xac,0x57,0xad); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1af4f612-3b71-466f-8f58-7b6f73ac57ad") +IEnumBackgroundCopyJobs : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IBackgroundCopyJob **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumBackgroundCopyJobs **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *puCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumBackgroundCopyJobs, 0x1af4f612, 0x3b71, 0x466f, 0x8f,0x58, 0x7b,0x6f,0x73,0xac,0x57,0xad) +#endif +#else +typedef struct IEnumBackgroundCopyJobsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumBackgroundCopyJobs *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumBackgroundCopyJobs *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumBackgroundCopyJobs *This); + + /*** IEnumBackgroundCopyJobs methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumBackgroundCopyJobs *This, + ULONG celt, + IBackgroundCopyJob **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumBackgroundCopyJobs *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumBackgroundCopyJobs *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumBackgroundCopyJobs *This, + IEnumBackgroundCopyJobs **ppenum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IEnumBackgroundCopyJobs *This, + ULONG *puCount); + + END_INTERFACE +} IEnumBackgroundCopyJobsVtbl; + +interface IEnumBackgroundCopyJobs { + CONST_VTBL IEnumBackgroundCopyJobsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumBackgroundCopyJobs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumBackgroundCopyJobs_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumBackgroundCopyJobs_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumBackgroundCopyJobs methods ***/ +#define IEnumBackgroundCopyJobs_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumBackgroundCopyJobs_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumBackgroundCopyJobs_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumBackgroundCopyJobs_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#define IEnumBackgroundCopyJobs_GetCount(This,puCount) (This)->lpVtbl->GetCount(This,puCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumBackgroundCopyJobs_QueryInterface(IEnumBackgroundCopyJobs* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumBackgroundCopyJobs_AddRef(IEnumBackgroundCopyJobs* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumBackgroundCopyJobs_Release(IEnumBackgroundCopyJobs* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumBackgroundCopyJobs methods ***/ +static FORCEINLINE HRESULT IEnumBackgroundCopyJobs_Next(IEnumBackgroundCopyJobs* This,ULONG celt,IBackgroundCopyJob **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyJobs_Skip(IEnumBackgroundCopyJobs* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyJobs_Reset(IEnumBackgroundCopyJobs* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyJobs_Clone(IEnumBackgroundCopyJobs* This,IEnumBackgroundCopyJobs **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +static FORCEINLINE HRESULT IEnumBackgroundCopyJobs_GetCount(IEnumBackgroundCopyJobs* This,ULONG *puCount) { + return This->lpVtbl->GetCount(This,puCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBackgroundCopyCallback interface + */ +#ifndef __IBackgroundCopyCallback_INTERFACE_DEFINED__ +#define __IBackgroundCopyCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBackgroundCopyCallback, 0x97ea99c7, 0x0186, 0x4ad4, 0x8d,0xf9, 0xc5,0xb4,0xe0,0xed,0x6b,0x22); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("97ea99c7-0186-4ad4-8df9-c5b4e0ed6b22") +IBackgroundCopyCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE JobTransferred( + IBackgroundCopyJob *pJob) = 0; + + virtual HRESULT STDMETHODCALLTYPE JobError( + IBackgroundCopyJob *pJob, + IBackgroundCopyError *pError) = 0; + + virtual HRESULT STDMETHODCALLTYPE JobModification( + IBackgroundCopyJob *pJob, + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyCallback, 0x97ea99c7, 0x0186, 0x4ad4, 0x8d,0xf9, 0xc5,0xb4,0xe0,0xed,0x6b,0x22) +#endif +#else +typedef struct IBackgroundCopyCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyCallback *This); + + /*** IBackgroundCopyCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *JobTransferred)( + IBackgroundCopyCallback *This, + IBackgroundCopyJob *pJob); + + HRESULT (STDMETHODCALLTYPE *JobError)( + IBackgroundCopyCallback *This, + IBackgroundCopyJob *pJob, + IBackgroundCopyError *pError); + + HRESULT (STDMETHODCALLTYPE *JobModification)( + IBackgroundCopyCallback *This, + IBackgroundCopyJob *pJob, + DWORD dwReserved); + + END_INTERFACE +} IBackgroundCopyCallbackVtbl; + +interface IBackgroundCopyCallback { + CONST_VTBL IBackgroundCopyCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyCallback methods ***/ +#define IBackgroundCopyCallback_JobTransferred(This,pJob) (This)->lpVtbl->JobTransferred(This,pJob) +#define IBackgroundCopyCallback_JobError(This,pJob,pError) (This)->lpVtbl->JobError(This,pJob,pError) +#define IBackgroundCopyCallback_JobModification(This,pJob,dwReserved) (This)->lpVtbl->JobModification(This,pJob,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyCallback_QueryInterface(IBackgroundCopyCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyCallback_AddRef(IBackgroundCopyCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyCallback_Release(IBackgroundCopyCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyCallback methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyCallback_JobTransferred(IBackgroundCopyCallback* This,IBackgroundCopyJob *pJob) { + return This->lpVtbl->JobTransferred(This,pJob); +} +static FORCEINLINE HRESULT IBackgroundCopyCallback_JobError(IBackgroundCopyCallback* This,IBackgroundCopyJob *pJob,IBackgroundCopyError *pError) { + return This->lpVtbl->JobError(This,pJob,pError); +} +static FORCEINLINE HRESULT IBackgroundCopyCallback_JobModification(IBackgroundCopyCallback* This,IBackgroundCopyJob *pJob,DWORD dwReserved) { + return This->lpVtbl->JobModification(This,pJob,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBackgroundCopyManager interface + */ +#ifndef __IBackgroundCopyManager_INTERFACE_DEFINED__ +#define __IBackgroundCopyManager_INTERFACE_DEFINED__ + +#define BG_JOB_ENUM_ALL_USERS 0x0001 +DEFINE_GUID(IID_IBackgroundCopyManager, 0x5ce34c0d, 0x0dc9, 0x4c1f, 0x89,0x7c, 0xda,0xa1,0xb7,0x8c,0xee,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5ce34c0d-0dc9-4c1f-897c-daa1b78cee7c") +IBackgroundCopyManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateJob( + LPCWSTR DisplayName, + BG_JOB_TYPE Type, + GUID *pJobId, + IBackgroundCopyJob **ppJob) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetJob( + REFGUID jobID, + IBackgroundCopyJob **ppJob) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumJobs( + DWORD dwFlags, + IEnumBackgroundCopyJobs **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorDescription( + HRESULT hResult, + DWORD LanguageId, + LPWSTR *pErrorDescription) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyManager, 0x5ce34c0d, 0x0dc9, 0x4c1f, 0x89,0x7c, 0xda,0xa1,0xb7,0x8c,0xee,0x7c) +#endif +#else +typedef struct IBackgroundCopyManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyManager *This); + + /*** IBackgroundCopyManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateJob)( + IBackgroundCopyManager *This, + LPCWSTR DisplayName, + BG_JOB_TYPE Type, + GUID *pJobId, + IBackgroundCopyJob **ppJob); + + HRESULT (STDMETHODCALLTYPE *GetJob)( + IBackgroundCopyManager *This, + REFGUID jobID, + IBackgroundCopyJob **ppJob); + + HRESULT (STDMETHODCALLTYPE *EnumJobs)( + IBackgroundCopyManager *This, + DWORD dwFlags, + IEnumBackgroundCopyJobs **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetErrorDescription)( + IBackgroundCopyManager *This, + HRESULT hResult, + DWORD LanguageId, + LPWSTR *pErrorDescription); + + END_INTERFACE +} IBackgroundCopyManagerVtbl; + +interface IBackgroundCopyManager { + CONST_VTBL IBackgroundCopyManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyManager_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyManager methods ***/ +#define IBackgroundCopyManager_CreateJob(This,DisplayName,Type,pJobId,ppJob) (This)->lpVtbl->CreateJob(This,DisplayName,Type,pJobId,ppJob) +#define IBackgroundCopyManager_GetJob(This,jobID,ppJob) (This)->lpVtbl->GetJob(This,jobID,ppJob) +#define IBackgroundCopyManager_EnumJobs(This,dwFlags,ppEnum) (This)->lpVtbl->EnumJobs(This,dwFlags,ppEnum) +#define IBackgroundCopyManager_GetErrorDescription(This,hResult,LanguageId,pErrorDescription) (This)->lpVtbl->GetErrorDescription(This,hResult,LanguageId,pErrorDescription) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyManager_QueryInterface(IBackgroundCopyManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyManager_AddRef(IBackgroundCopyManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyManager_Release(IBackgroundCopyManager* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyManager methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyManager_CreateJob(IBackgroundCopyManager* This,LPCWSTR DisplayName,BG_JOB_TYPE Type,GUID *pJobId,IBackgroundCopyJob **ppJob) { + return This->lpVtbl->CreateJob(This,DisplayName,Type,pJobId,ppJob); +} +static FORCEINLINE HRESULT IBackgroundCopyManager_GetJob(IBackgroundCopyManager* This,REFGUID jobID,IBackgroundCopyJob **ppJob) { + return This->lpVtbl->GetJob(This,jobID,ppJob); +} +static FORCEINLINE HRESULT IBackgroundCopyManager_EnumJobs(IBackgroundCopyManager* This,DWORD dwFlags,IEnumBackgroundCopyJobs **ppEnum) { + return This->lpVtbl->EnumJobs(This,dwFlags,ppEnum); +} +static FORCEINLINE HRESULT IBackgroundCopyManager_GetErrorDescription(IBackgroundCopyManager* This,HRESULT hResult,DWORD LanguageId,LPWSTR *pErrorDescription) { + return This->lpVtbl->GetErrorDescription(This,hResult,LanguageId,pErrorDescription); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyManager_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_BackgroundCopyManager, 0x1deeb74f, 0x7915, 0x4560, 0xb5,0x58, 0x91,0x8c,0x83,0xf1,0x76,0xa6); + +/***************************************************************************** + * BackgroundCopyManager coclass + */ + +DEFINE_GUID(CLSID_BackgroundCopyManager, 0x4991d34b, 0x80a1, 0x4291, 0x83,0xb6, 0x33,0x28,0x36,0x6b,0x90,0x97); + +#ifdef __cplusplus +class DECLSPEC_UUID("4991d34b-80a1-4291-83b6-3328366b9097") BackgroundCopyManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(BackgroundCopyManager, 0x4991d34b, 0x80a1, 0x4291, 0x83,0xb6, 0x33,0x28,0x36,0x6b,0x90,0x97) +#endif +#endif + +#ifndef __IBackgroundCopyCallback_FWD_DEFINED__ +#define __IBackgroundCopyCallback_FWD_DEFINED__ +typedef interface IBackgroundCopyCallback IBackgroundCopyCallback; +#ifdef __cplusplus +interface IBackgroundCopyCallback; +#endif /* __cplusplus */ +#endif + +#include "bits1_5.h" +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __bits_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits.idl new file mode 100644 index 0000000..0e3362c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits.idl @@ -0,0 +1,418 @@ +/* + * Background Intelligent Transfer Service (BITS) interface + * + * Copyright 2007 Google (Roy Shea) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +#endif + +cpp_quote("#include \"bitsmsg.h\"") +cpp_quote("#define BG_SIZE_UNKNOWN (UINT64)(-1)") +cpp_quote("#define BG_NOTIFY_JOB_TRANSFERRED 0x0001") +cpp_quote("#define BG_NOTIFY_JOB_ERROR 0x0002") +cpp_quote("#define BG_NOTIFY_DISABLE 0x0004") +cpp_quote("#define BG_NOTIFY_JOB_MODIFICATION 0x0008") +cpp_quote("#define BG_NOTIFY_FILE_TRANSFERRED 0x0010") + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef EnumJobs") +cpp_quote("#undef GetJob") +cpp_quote("#endif") + +#define BG_ENUM_SIZEIS(maxcount) maxcount +#define BG_ENUM_LENGTHIS(maxcount,lengthptr) lengthptr ? *lengthptr : maxcount + +[ + uuid(01b7bd23-fb88-4a77-8490-5891d3e4653a), + odl +] +interface IBackgroundCopyFile : IUnknown +{ + typedef struct _BG_FILE_PROGRESS { + UINT64 BytesTotal; + UINT64 BytesTransferred; + BOOL Completed; + } BG_FILE_PROGRESS; + + HRESULT GetRemoteName( + [out] LPWSTR *pVal + ); + + HRESULT GetLocalName( + [out] LPWSTR *pVal + ); + + HRESULT GetProgress( + [out] BG_FILE_PROGRESS *pVal + ); +} + + +[ + uuid(ca51e165-c365-424c-8d41-24aaa4ff3c40), + odl +] +interface IEnumBackgroundCopyFiles: IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out,size_is(BG_ENUM_SIZEIS(celt)),length_is(BG_ENUM_LENGTHIS(celt,pceltFetched))] IBackgroundCopyFile **rgelt, + [in,out,unique] ULONG *pceltFetched + ); + + HRESULT Skip( + [in] ULONG celt + ); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumBackgroundCopyFiles **ppenum + ); + + HRESULT GetCount( + [out] ULONG *puCount + ); +} + + +[ + uuid(19c613a0-fcb8-4f28-81ae-897c3d078f81), + odl +] +interface IBackgroundCopyError : IUnknown +{ + typedef enum { + BG_ERROR_CONTEXT_NONE = 0, + BG_ERROR_CONTEXT_UNKNOWN = 1, + BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER = 2, + BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION =3, + BG_ERROR_CONTEXT_LOCAL_FILE = 4, + BG_ERROR_CONTEXT_REMOTE_FILE = 5, + BG_ERROR_CONTEXT_GENERAL_TRANSPORT = 6, + BG_ERROR_CONTEXT_REMOTE_APPLICATION =7, + } BG_ERROR_CONTEXT; + + HRESULT GetError( + [out,ref] BG_ERROR_CONTEXT *pContext, + [out,ref] HRESULT *pCode + ); + + HRESULT GetFile( + [out] IBackgroundCopyFile **pVal + ); + + HRESULT GetErrorDescription( + [in] DWORD LanguageId, + [out,ref] LPWSTR *pErrorDescription + ); + + HRESULT GetErrorContextDescription( + [in] DWORD LanguageId, + [out,ref] LPWSTR *pContextDescription + ); + + HRESULT GetProtocol( + [out,ref] LPWSTR *pProtocol + ); +} + + + +[ + uuid(37668d37-507e-4160-9316-26306d150b12), + odl +] +interface IBackgroundCopyJob : IUnknown +{ + typedef struct _BG_FILE_INFO { + LPWSTR RemoteName; + LPWSTR LocalName; + } BG_FILE_INFO; + + typedef struct _BG_JOB_PROGRESS { + UINT64 BytesTotal; + UINT64 BytesTransferred; + ULONG FilesTotal; + ULONG FilesTransferred; + } BG_JOB_PROGRESS; + + typedef struct _BG_JOB_TIMES { + FILETIME CreationTime; + FILETIME ModificationTime; + FILETIME TransferCompletionTime; + } BG_JOB_TIMES; + + typedef enum { + BG_JOB_PRIORITY_FOREGROUND = 0, + BG_JOB_PRIORITY_HIGH = 1, + BG_JOB_PRIORITY_NORMAL = 2, + BG_JOB_PRIORITY_LOW = 3 + } BG_JOB_PRIORITY; + + typedef enum { + BG_JOB_STATE_QUEUED = 0, + BG_JOB_STATE_CONNECTING = 1, + BG_JOB_STATE_TRANSFERRING = 2, + BG_JOB_STATE_SUSPENDED = 3, + BG_JOB_STATE_ERROR = 4, + BG_JOB_STATE_TRANSIENT_ERROR = 5, + BG_JOB_STATE_TRANSFERRED = 6, + BG_JOB_STATE_ACKNOWLEDGED = 7, + BG_JOB_STATE_CANCELLED = 8 + } BG_JOB_STATE; + + typedef enum { + BG_JOB_TYPE_DOWNLOAD = 0, + BG_JOB_TYPE_UPLOAD = 1, + BG_JOB_TYPE_UPLOAD_REPLY = 2 + } BG_JOB_TYPE; + + typedef enum { + BG_JOB_PROXY_USAGE_PRECONFIG, + BG_JOB_PROXY_USAGE_NO_PROXY, + BG_JOB_PROXY_USAGE_OVERRIDE, + BG_JOB_PROXY_USAGE_AUTODETECT + } BG_JOB_PROXY_USAGE; + + + HRESULT AddFileSet( + [in] ULONG cFileCount, + [in,size_is(cFileCount)] BG_FILE_INFO *pFileSet + ); + + HRESULT AddFile( + [in] LPCWSTR RemoteUrl, + [in] LPCWSTR LocalName + ); + + HRESULT EnumFiles( + [out] IEnumBackgroundCopyFiles **pEnum + ); + + HRESULT Suspend(); + + HRESULT Resume(); + + HRESULT Cancel(); + + HRESULT Complete(); + + HRESULT GetId( + [out] GUID *pVal + ); + + HRESULT GetType( + [out] BG_JOB_TYPE *pVal + ); + + HRESULT GetProgress( + [out] BG_JOB_PROGRESS *pVal + ); + + HRESULT GetTimes( + [out] BG_JOB_TIMES *pVal + ); + + HRESULT GetState( + [out] BG_JOB_STATE *pVal + ); + + HRESULT GetError( + [out] IBackgroundCopyError **ppError + ); + + HRESULT GetOwner( + [out] LPWSTR *pVal + ); + + HRESULT SetDisplayName( + [in] LPCWSTR Val + ); + + HRESULT GetDisplayName( + [out] LPWSTR *pVal + ); + + HRESULT SetDescription( + [in] LPCWSTR Val + ); + + HRESULT GetDescription( + [out] LPWSTR *pVal + ); + + HRESULT SetPriority( + [in] BG_JOB_PRIORITY Val + ); + + HRESULT GetPriority( + [out] BG_JOB_PRIORITY *pVal + ); + + HRESULT SetNotifyFlags( + [in] ULONG Val + ); + + HRESULT GetNotifyFlags( + [out] ULONG *pVal + ); + + HRESULT SetNotifyInterface( + [in] IUnknown *Val + ); + + HRESULT GetNotifyInterface( + [out] IUnknown ** pVal + ); + + HRESULT SetMinimumRetryDelay( + [in] ULONG Seconds + ); + + HRESULT GetMinimumRetryDelay( + [out] ULONG *Seconds + ); + + HRESULT SetNoProgressTimeout( + [in] ULONG Seconds + ); + + HRESULT GetNoProgressTimeout( + [out] ULONG *Seconds + ); + + HRESULT GetErrorCount( + [out] ULONG *Errors + ); + + HRESULT SetProxySettings( + [in] BG_JOB_PROXY_USAGE ProxyUsage, + [in,string,unique] const WCHAR *ProxyList, + [in,string,unique] const WCHAR *ProxyBypassList + ); + + HRESULT GetProxySettings( + [out] BG_JOB_PROXY_USAGE *pProxyUsage, + [out] LPWSTR *pProxyList, + [out] LPWSTR *pProxyBypassList + ); + + HRESULT TakeOwnership(); +} + +[ + uuid(1af4f612-3b71-466f-8f58-7b6f73ac57ad), + odl +] +interface IEnumBackgroundCopyJobs : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out,size_is(BG_ENUM_SIZEIS(celt)),length_is(BG_ENUM_LENGTHIS(celt,pceltFetched))] IBackgroundCopyJob **rgelt, + [in,out,unique] ULONG *pceltFetched + ); + + HRESULT Skip( + [in] ULONG celt + ); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumBackgroundCopyJobs **ppenum + ); + + HRESULT GetCount( + [out] ULONG *puCount + ); +} + + +[ + uuid(97ea99c7-0186-4ad4-8df9-c5b4e0ed6b22), + odl +] +interface IBackgroundCopyCallback : IUnknown +{ + HRESULT JobTransferred( + [in] IBackgroundCopyJob *pJob + ); + + HRESULT JobError( + [in] IBackgroundCopyJob *pJob, + [in] IBackgroundCopyError *pError + ); + + HRESULT JobModification( + [in] IBackgroundCopyJob *pJob, + [in] DWORD dwReserved + ); +} + +[ + uuid(5ce34c0d-0dc9-4c1f-897c-daa1b78cee7c), + odl +] +interface IBackgroundCopyManager : IUnknown +{ + cpp_quote("#define BG_JOB_ENUM_ALL_USERS 0x0001") + + HRESULT CreateJob( + [in] LPCWSTR DisplayName, + [in] BG_JOB_TYPE Type, + [out] GUID *pJobId, + [out] IBackgroundCopyJob **ppJob + ); + + HRESULT GetJob( + [in] REFGUID jobID, + [out] IBackgroundCopyJob **ppJob + ); + + HRESULT EnumJobs( + [in] DWORD dwFlags, + [out] IEnumBackgroundCopyJobs **ppEnum + ); + HRESULT GetErrorDescription( + [in] HRESULT hResult, + [in] DWORD LanguageId, + [out] LPWSTR *pErrorDescription); +} + + +[ + uuid(1deeb74f-7915-4560-b558-918c83f176a6), + version(1.0) +] +library BackgroundCopyManager +{ + [ + uuid(4991d34b-80a1-4291-83b6-3328366b9097), + ] + coclass BackgroundCopyManager + { + [default] interface IBackgroundCopyManager; + }; + + interface IBackgroundCopyCallback; +} + +cpp_quote("#include \"bits1_5.h\"") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits1_5.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits1_5.h new file mode 100644 index 0000000..b98685c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits1_5.h @@ -0,0 +1,497 @@ +/*** Autogenerated by WIDL 2.18 from bits1_5.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __bits1_5_h__ +#define __bits1_5_h__ + +/* Forward declarations */ + +#ifndef __IBackgroundCopyJob2_FWD_DEFINED__ +#define __IBackgroundCopyJob2_FWD_DEFINED__ +typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2; +#ifdef __cplusplus +interface IBackgroundCopyJob2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IBackgroundCopyJob2 interface + */ +#ifndef __IBackgroundCopyJob2_INTERFACE_DEFINED__ +#define __IBackgroundCopyJob2_INTERFACE_DEFINED__ + +typedef struct _BG_JOB_REPLY_PROGRESS { + UINT64 BytesTotal; + UINT64 BytesTransferred; +} BG_JOB_REPLY_PROGRESS; +typedef enum __WIDL_bits1_5_generated_name_00000007 { + BG_AUTH_TARGET_SERVER = 1, + BG_AUTH_TARGET_PROXY = 2 +} BG_AUTH_TARGET; +typedef enum __WIDL_bits1_5_generated_name_00000008 { + BG_AUTH_SCHEME_BASIC = 1, + BG_AUTH_SCHEME_DIGEST = 2, + BG_AUTH_SCHEME_NTLM = 3, + BG_AUTH_SCHEME_NEGOTIATE = 4, + BG_AUTH_SCHEME_PASSPORT = 5 +} BG_AUTH_SCHEME; +typedef struct __WIDL_bits1_5_generated_name_00000009 { + LPWSTR UserName; + LPWSTR Password; +} BG_BASIC_CREDENTIALS; +typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS; +typedef union __WIDL_bits1_5_generated_name_0000000A { + BG_BASIC_CREDENTIALS Basic; +} BG_AUTH_CREDENTIALS_UNION; +typedef struct __WIDL_bits1_5_generated_name_0000000B { + BG_AUTH_TARGET Target; + BG_AUTH_SCHEME Scheme; + BG_AUTH_CREDENTIALS_UNION Credentials; +} BG_AUTH_CREDENTIALS; +typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS; +DEFINE_GUID(IID_IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("54b50739-686f-45eb-9dff-d6a9a0faa9af") +IBackgroundCopyJob2 : public IBackgroundCopyJob +{ + virtual HRESULT STDMETHODCALLTYPE SetNotifyCmdLine( + LPCWSTR prog, + LPCWSTR params) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNotifyCmdLine( + LPWSTR *prog, + LPWSTR *params) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReplyProgress( + BG_JOB_REPLY_PROGRESS *progress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReplyData( + byte **pBuffer, + UINT64 *pLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetReplyFileName( + LPCWSTR filename) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReplyFileName( + LPWSTR *pFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCredentials( + BG_AUTH_CREDENTIALS *cred) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveCredentials( + BG_AUTH_TARGET target, + BG_AUTH_SCHEME scheme) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf) +#endif +#else +typedef struct IBackgroundCopyJob2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyJob2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyJob2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyJob2 *This); + + /*** IBackgroundCopyJob methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFileSet)( + IBackgroundCopyJob2 *This, + ULONG cFileCount, + BG_FILE_INFO *pFileSet); + + HRESULT (STDMETHODCALLTYPE *AddFile)( + IBackgroundCopyJob2 *This, + LPCWSTR RemoteUrl, + LPCWSTR LocalName); + + HRESULT (STDMETHODCALLTYPE *EnumFiles)( + IBackgroundCopyJob2 *This, + IEnumBackgroundCopyFiles **pEnum); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IBackgroundCopyJob2 *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IBackgroundCopyJob2 *This); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IBackgroundCopyJob2 *This); + + HRESULT (STDMETHODCALLTYPE *Complete)( + IBackgroundCopyJob2 *This); + + HRESULT (STDMETHODCALLTYPE *GetId)( + IBackgroundCopyJob2 *This, + GUID *pVal); + + HRESULT (STDMETHODCALLTYPE *GetType)( + IBackgroundCopyJob2 *This, + BG_JOB_TYPE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IBackgroundCopyJob2 *This, + BG_JOB_PROGRESS *pVal); + + HRESULT (STDMETHODCALLTYPE *GetTimes)( + IBackgroundCopyJob2 *This, + BG_JOB_TIMES *pVal); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IBackgroundCopyJob2 *This, + BG_JOB_STATE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetError)( + IBackgroundCopyJob2 *This, + IBackgroundCopyError **ppError); + + HRESULT (STDMETHODCALLTYPE *GetOwner)( + IBackgroundCopyJob2 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IBackgroundCopyJob2 *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IBackgroundCopyJob2 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IBackgroundCopyJob2 *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IBackgroundCopyJob2 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetPriority)( + IBackgroundCopyJob2 *This, + BG_JOB_PRIORITY Val); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBackgroundCopyJob2 *This, + BG_JOB_PRIORITY *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)( + IBackgroundCopyJob2 *This, + ULONG Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)( + IBackgroundCopyJob2 *This, + ULONG *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)( + IBackgroundCopyJob2 *This, + IUnknown *Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)( + IBackgroundCopyJob2 *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)( + IBackgroundCopyJob2 *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)( + IBackgroundCopyJob2 *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)( + IBackgroundCopyJob2 *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)( + IBackgroundCopyJob2 *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *GetErrorCount)( + IBackgroundCopyJob2 *This, + ULONG *Errors); + + HRESULT (STDMETHODCALLTYPE *SetProxySettings)( + IBackgroundCopyJob2 *This, + BG_JOB_PROXY_USAGE ProxyUsage, + const WCHAR *ProxyList, + const WCHAR *ProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *GetProxySettings)( + IBackgroundCopyJob2 *This, + BG_JOB_PROXY_USAGE *pProxyUsage, + LPWSTR *pProxyList, + LPWSTR *pProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IBackgroundCopyJob2 *This); + + /*** IBackgroundCopyJob2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)( + IBackgroundCopyJob2 *This, + LPCWSTR prog, + LPCWSTR params); + + HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)( + IBackgroundCopyJob2 *This, + LPWSTR *prog, + LPWSTR *params); + + HRESULT (STDMETHODCALLTYPE *GetReplyProgress)( + IBackgroundCopyJob2 *This, + BG_JOB_REPLY_PROGRESS *progress); + + HRESULT (STDMETHODCALLTYPE *GetReplyData)( + IBackgroundCopyJob2 *This, + byte **pBuffer, + UINT64 *pLength); + + HRESULT (STDMETHODCALLTYPE *SetReplyFileName)( + IBackgroundCopyJob2 *This, + LPCWSTR filename); + + HRESULT (STDMETHODCALLTYPE *GetReplyFileName)( + IBackgroundCopyJob2 *This, + LPWSTR *pFilename); + + HRESULT (STDMETHODCALLTYPE *SetCredentials)( + IBackgroundCopyJob2 *This, + BG_AUTH_CREDENTIALS *cred); + + HRESULT (STDMETHODCALLTYPE *RemoveCredentials)( + IBackgroundCopyJob2 *This, + BG_AUTH_TARGET target, + BG_AUTH_SCHEME scheme); + + END_INTERFACE +} IBackgroundCopyJob2Vtbl; + +interface IBackgroundCopyJob2 { + CONST_VTBL IBackgroundCopyJob2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyJob2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyJob2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyJob2_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyJob methods ***/ +#define IBackgroundCopyJob2_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet) +#define IBackgroundCopyJob2_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName) +#define IBackgroundCopyJob2_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum) +#define IBackgroundCopyJob2_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IBackgroundCopyJob2_Resume(This) (This)->lpVtbl->Resume(This) +#define IBackgroundCopyJob2_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IBackgroundCopyJob2_Complete(This) (This)->lpVtbl->Complete(This) +#define IBackgroundCopyJob2_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal) +#define IBackgroundCopyJob2_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal) +#define IBackgroundCopyJob2_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) +#define IBackgroundCopyJob2_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal) +#define IBackgroundCopyJob2_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal) +#define IBackgroundCopyJob2_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError) +#define IBackgroundCopyJob2_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal) +#define IBackgroundCopyJob2_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val) +#define IBackgroundCopyJob2_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal) +#define IBackgroundCopyJob2_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val) +#define IBackgroundCopyJob2_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal) +#define IBackgroundCopyJob2_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val) +#define IBackgroundCopyJob2_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal) +#define IBackgroundCopyJob2_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val) +#define IBackgroundCopyJob2_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal) +#define IBackgroundCopyJob2_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val) +#define IBackgroundCopyJob2_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal) +#define IBackgroundCopyJob2_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob2_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob2_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob2_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob2_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors) +#define IBackgroundCopyJob2_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) +#define IBackgroundCopyJob2_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) +#define IBackgroundCopyJob2_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This) +/*** IBackgroundCopyJob2 methods ***/ +#define IBackgroundCopyJob2_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params) +#define IBackgroundCopyJob2_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params) +#define IBackgroundCopyJob2_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress) +#define IBackgroundCopyJob2_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength) +#define IBackgroundCopyJob2_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename) +#define IBackgroundCopyJob2_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename) +#define IBackgroundCopyJob2_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred) +#define IBackgroundCopyJob2_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob2_QueryInterface(IBackgroundCopyJob2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyJob2_AddRef(IBackgroundCopyJob2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyJob2_Release(IBackgroundCopyJob2* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyJob methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob2_AddFileSet(IBackgroundCopyJob2* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) { + return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_AddFile(IBackgroundCopyJob2* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) { + return This->lpVtbl->AddFile(This,RemoteUrl,LocalName); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_EnumFiles(IBackgroundCopyJob2* This,IEnumBackgroundCopyFiles **pEnum) { + return This->lpVtbl->EnumFiles(This,pEnum); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_Suspend(IBackgroundCopyJob2* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_Resume(IBackgroundCopyJob2* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_Cancel(IBackgroundCopyJob2* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_Complete(IBackgroundCopyJob2* This) { + return This->lpVtbl->Complete(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetId(IBackgroundCopyJob2* This,GUID *pVal) { + return This->lpVtbl->GetId(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetType(IBackgroundCopyJob2* This,BG_JOB_TYPE *pVal) { + return This->lpVtbl->GetType(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetProgress(IBackgroundCopyJob2* This,BG_JOB_PROGRESS *pVal) { + return This->lpVtbl->GetProgress(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetTimes(IBackgroundCopyJob2* This,BG_JOB_TIMES *pVal) { + return This->lpVtbl->GetTimes(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetState(IBackgroundCopyJob2* This,BG_JOB_STATE *pVal) { + return This->lpVtbl->GetState(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetError(IBackgroundCopyJob2* This,IBackgroundCopyError **ppError) { + return This->lpVtbl->GetError(This,ppError); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetOwner(IBackgroundCopyJob2* This,LPWSTR *pVal) { + return This->lpVtbl->GetOwner(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetDisplayName(IBackgroundCopyJob2* This,LPCWSTR Val) { + return This->lpVtbl->SetDisplayName(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetDisplayName(IBackgroundCopyJob2* This,LPWSTR *pVal) { + return This->lpVtbl->GetDisplayName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetDescription(IBackgroundCopyJob2* This,LPCWSTR Val) { + return This->lpVtbl->SetDescription(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetDescription(IBackgroundCopyJob2* This,LPWSTR *pVal) { + return This->lpVtbl->GetDescription(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY Val) { + return This->lpVtbl->SetPriority(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY *pVal) { + return This->lpVtbl->GetPriority(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyFlags(IBackgroundCopyJob2* This,ULONG Val) { + return This->lpVtbl->SetNotifyFlags(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyFlags(IBackgroundCopyJob2* This,ULONG *pVal) { + return This->lpVtbl->GetNotifyFlags(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyInterface(IBackgroundCopyJob2* This,IUnknown *Val) { + return This->lpVtbl->SetNotifyInterface(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyInterface(IBackgroundCopyJob2* This,IUnknown **pVal) { + return This->lpVtbl->GetNotifyInterface(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG Seconds) { + return This->lpVtbl->SetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG *Seconds) { + return This->lpVtbl->GetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG Seconds) { + return This->lpVtbl->SetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG *Seconds) { + return This->lpVtbl->GetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetErrorCount(IBackgroundCopyJob2* This,ULONG *Errors) { + return This->lpVtbl->GetErrorCount(This,Errors); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) { + return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) { + return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_TakeOwnership(IBackgroundCopyJob2* This) { + return This->lpVtbl->TakeOwnership(This); +} +/*** IBackgroundCopyJob2 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyCmdLine(IBackgroundCopyJob2* This,LPCWSTR prog,LPCWSTR params) { + return This->lpVtbl->SetNotifyCmdLine(This,prog,params); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyCmdLine(IBackgroundCopyJob2* This,LPWSTR *prog,LPWSTR *params) { + return This->lpVtbl->GetNotifyCmdLine(This,prog,params); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyProgress(IBackgroundCopyJob2* This,BG_JOB_REPLY_PROGRESS *progress) { + return This->lpVtbl->GetReplyProgress(This,progress); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyData(IBackgroundCopyJob2* This,byte **pBuffer,UINT64 *pLength) { + return This->lpVtbl->GetReplyData(This,pBuffer,pLength); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetReplyFileName(IBackgroundCopyJob2* This,LPCWSTR filename) { + return This->lpVtbl->SetReplyFileName(This,filename); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyFileName(IBackgroundCopyJob2* This,LPWSTR *pFilename) { + return This->lpVtbl->GetReplyFileName(This,pFilename); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_SetCredentials(IBackgroundCopyJob2* This,BG_AUTH_CREDENTIALS *cred) { + return This->lpVtbl->SetCredentials(This,cred); +} +static FORCEINLINE HRESULT IBackgroundCopyJob2_RemoveCredentials(IBackgroundCopyJob2* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) { + return This->lpVtbl->RemoveCredentials(This,target,scheme); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyJob2_INTERFACE_DEFINED__ */ + +#include "bits2_0.h" +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __bits1_5_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits1_5.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits1_5.idl new file mode 100644 index 0000000..5937ce0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits1_5.idl @@ -0,0 +1,90 @@ +/* + * Background Intelligent Transfer Service (BITS) 1.5 interface + * + * Copyright 2008 Google (Dan Hipschman) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef DO_NO_IMPORTS +import "bits.idl"; +#endif + +[ + uuid(54b50739-686f-45eb-9dff-d6a9a0faa9af), + odl +] +interface IBackgroundCopyJob2 : IBackgroundCopyJob +{ + HRESULT SetNotifyCmdLine([unique] LPCWSTR prog, [unique] LPCWSTR params); + HRESULT GetNotifyCmdLine([out] LPWSTR *prog, [out] LPWSTR *params); + + typedef struct _BG_JOB_REPLY_PROGRESS + { + UINT64 BytesTotal; + UINT64 BytesTransferred; + } BG_JOB_REPLY_PROGRESS; + + HRESULT GetReplyProgress([in, out] BG_JOB_REPLY_PROGRESS *progress); + HRESULT GetReplyData([out, size_is( , (unsigned long) *pLength)] byte **pBuffer, + [in, out, unique] UINT64 *pLength); + HRESULT SetReplyFileName([unique] LPCWSTR filename); + HRESULT GetReplyFileName([out] LPWSTR *pFilename); + + typedef enum + { + BG_AUTH_TARGET_SERVER = 1, + BG_AUTH_TARGET_PROXY + } BG_AUTH_TARGET; + + typedef enum + { + BG_AUTH_SCHEME_BASIC = 1, + BG_AUTH_SCHEME_DIGEST, + BG_AUTH_SCHEME_NTLM, + BG_AUTH_SCHEME_NEGOTIATE, + BG_AUTH_SCHEME_PASSPORT + } BG_AUTH_SCHEME; + + typedef struct + { + LPWSTR UserName; + LPWSTR Password; + } BG_BASIC_CREDENTIALS; + typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS; + + typedef [switch_type(BG_AUTH_SCHEME)] union + { + [case(BG_AUTH_SCHEME_BASIC, BG_AUTH_SCHEME_DIGEST, BG_AUTH_SCHEME_NTLM, + BG_AUTH_SCHEME_NEGOTIATE, BG_AUTH_SCHEME_PASSPORT)] + BG_BASIC_CREDENTIALS Basic; + [default] + ; + } BG_AUTH_CREDENTIALS_UNION; + + typedef struct + { + BG_AUTH_TARGET Target; + BG_AUTH_SCHEME Scheme; + [switch_is(Scheme)] BG_AUTH_CREDENTIALS_UNION Credentials; + } BG_AUTH_CREDENTIALS; + typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS; + + HRESULT SetCredentials(BG_AUTH_CREDENTIALS *cred); + HRESULT RemoveCredentials(BG_AUTH_TARGET target, BG_AUTH_SCHEME scheme); +} + +cpp_quote("#include \"bits2_0.h\"") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_0.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_0.h new file mode 100644 index 0000000..aff5804 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_0.h @@ -0,0 +1,683 @@ +/*** Autogenerated by WIDL 2.18 from bits2_0.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __bits2_0_h__ +#define __bits2_0_h__ + +/* Forward declarations */ + +#ifndef __IBackgroundCopyJob3_FWD_DEFINED__ +#define __IBackgroundCopyJob3_FWD_DEFINED__ +typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3; +#ifdef __cplusplus +interface IBackgroundCopyJob3; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyFile2_FWD_DEFINED__ +#define __IBackgroundCopyFile2_FWD_DEFINED__ +typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2; +#ifdef __cplusplus +interface IBackgroundCopyFile2; +#endif /* __cplusplus */ +#endif + +#ifndef __BackgroundCopyManager2_0_FWD_DEFINED__ +#define __BackgroundCopyManager2_0_FWD_DEFINED__ +#ifdef __cplusplus +typedef class BackgroundCopyManager2_0 BackgroundCopyManager2_0; +#else +typedef struct BackgroundCopyManager2_0 BackgroundCopyManager2_0; +#endif /* defined __cplusplus */ +#endif /* defined __BackgroundCopyManager2_0_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define BG_COPY_FILE_OWNER 1 +#define BG_COPY_FILE_GROUP 2 +#define BG_COPY_FILE_DACL 4 +#define BG_COPY_FILE_SACL 8 +#define BG_COPY_FILE_ALL 15 +#define BG_LENGTH_TO_EOF (UINT64)(-1) +#ifndef _BG_FILE_RANGE_DEFINED +#define _BG_FILE_RANGE_DEFINED +typedef struct _BG_FILE_RANGE { + UINT64 InitialOffset; + UINT64 Length; +} BG_FILE_RANGE; +#endif +/***************************************************************************** + * IBackgroundCopyJob3 interface + */ +#ifndef __IBackgroundCopyJob3_INTERFACE_DEFINED__ +#define __IBackgroundCopyJob3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBackgroundCopyJob3, 0x443c8934, 0x90ff, 0x48ed, 0xbc,0xde, 0x26,0xf5,0xc7,0x45,0x00,0x42); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("443c8934-90ff-48ed-bcde-26f5c7450042") +IBackgroundCopyJob3 : public IBackgroundCopyJob2 +{ + virtual HRESULT STDMETHODCALLTYPE ReplaceRemotePrefix( + LPCWSTR OldPrefix, + LPCWSTR NewPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFileWithRanges( + LPCWSTR RemoteUrl, + LPCWSTR LocalName, + DWORD RangeCount, + BG_FILE_RANGE Ranges[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFileACLFlags( + DWORD Flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileACLFlags( + DWORD *Flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyJob3, 0x443c8934, 0x90ff, 0x48ed, 0xbc,0xde, 0x26,0xf5,0xc7,0x45,0x00,0x42) +#endif +#else +typedef struct IBackgroundCopyJob3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyJob3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyJob3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyJob3 *This); + + /*** IBackgroundCopyJob methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFileSet)( + IBackgroundCopyJob3 *This, + ULONG cFileCount, + BG_FILE_INFO *pFileSet); + + HRESULT (STDMETHODCALLTYPE *AddFile)( + IBackgroundCopyJob3 *This, + LPCWSTR RemoteUrl, + LPCWSTR LocalName); + + HRESULT (STDMETHODCALLTYPE *EnumFiles)( + IBackgroundCopyJob3 *This, + IEnumBackgroundCopyFiles **pEnum); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IBackgroundCopyJob3 *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IBackgroundCopyJob3 *This); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IBackgroundCopyJob3 *This); + + HRESULT (STDMETHODCALLTYPE *Complete)( + IBackgroundCopyJob3 *This); + + HRESULT (STDMETHODCALLTYPE *GetId)( + IBackgroundCopyJob3 *This, + GUID *pVal); + + HRESULT (STDMETHODCALLTYPE *GetType)( + IBackgroundCopyJob3 *This, + BG_JOB_TYPE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IBackgroundCopyJob3 *This, + BG_JOB_PROGRESS *pVal); + + HRESULT (STDMETHODCALLTYPE *GetTimes)( + IBackgroundCopyJob3 *This, + BG_JOB_TIMES *pVal); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IBackgroundCopyJob3 *This, + BG_JOB_STATE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetError)( + IBackgroundCopyJob3 *This, + IBackgroundCopyError **ppError); + + HRESULT (STDMETHODCALLTYPE *GetOwner)( + IBackgroundCopyJob3 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IBackgroundCopyJob3 *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IBackgroundCopyJob3 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IBackgroundCopyJob3 *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IBackgroundCopyJob3 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetPriority)( + IBackgroundCopyJob3 *This, + BG_JOB_PRIORITY Val); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBackgroundCopyJob3 *This, + BG_JOB_PRIORITY *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)( + IBackgroundCopyJob3 *This, + ULONG Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)( + IBackgroundCopyJob3 *This, + ULONG *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)( + IBackgroundCopyJob3 *This, + IUnknown *Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)( + IBackgroundCopyJob3 *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)( + IBackgroundCopyJob3 *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)( + IBackgroundCopyJob3 *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)( + IBackgroundCopyJob3 *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)( + IBackgroundCopyJob3 *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *GetErrorCount)( + IBackgroundCopyJob3 *This, + ULONG *Errors); + + HRESULT (STDMETHODCALLTYPE *SetProxySettings)( + IBackgroundCopyJob3 *This, + BG_JOB_PROXY_USAGE ProxyUsage, + const WCHAR *ProxyList, + const WCHAR *ProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *GetProxySettings)( + IBackgroundCopyJob3 *This, + BG_JOB_PROXY_USAGE *pProxyUsage, + LPWSTR *pProxyList, + LPWSTR *pProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IBackgroundCopyJob3 *This); + + /*** IBackgroundCopyJob2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)( + IBackgroundCopyJob3 *This, + LPCWSTR prog, + LPCWSTR params); + + HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)( + IBackgroundCopyJob3 *This, + LPWSTR *prog, + LPWSTR *params); + + HRESULT (STDMETHODCALLTYPE *GetReplyProgress)( + IBackgroundCopyJob3 *This, + BG_JOB_REPLY_PROGRESS *progress); + + HRESULT (STDMETHODCALLTYPE *GetReplyData)( + IBackgroundCopyJob3 *This, + byte **pBuffer, + UINT64 *pLength); + + HRESULT (STDMETHODCALLTYPE *SetReplyFileName)( + IBackgroundCopyJob3 *This, + LPCWSTR filename); + + HRESULT (STDMETHODCALLTYPE *GetReplyFileName)( + IBackgroundCopyJob3 *This, + LPWSTR *pFilename); + + HRESULT (STDMETHODCALLTYPE *SetCredentials)( + IBackgroundCopyJob3 *This, + BG_AUTH_CREDENTIALS *cred); + + HRESULT (STDMETHODCALLTYPE *RemoveCredentials)( + IBackgroundCopyJob3 *This, + BG_AUTH_TARGET target, + BG_AUTH_SCHEME scheme); + + /*** IBackgroundCopyJob3 methods ***/ + HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)( + IBackgroundCopyJob3 *This, + LPCWSTR OldPrefix, + LPCWSTR NewPrefix); + + HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)( + IBackgroundCopyJob3 *This, + LPCWSTR RemoteUrl, + LPCWSTR LocalName, + DWORD RangeCount, + BG_FILE_RANGE Ranges[]); + + HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)( + IBackgroundCopyJob3 *This, + DWORD Flags); + + HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)( + IBackgroundCopyJob3 *This, + DWORD *Flags); + + END_INTERFACE +} IBackgroundCopyJob3Vtbl; + +interface IBackgroundCopyJob3 { + CONST_VTBL IBackgroundCopyJob3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyJob3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyJob3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyJob3_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyJob methods ***/ +#define IBackgroundCopyJob3_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet) +#define IBackgroundCopyJob3_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName) +#define IBackgroundCopyJob3_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum) +#define IBackgroundCopyJob3_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IBackgroundCopyJob3_Resume(This) (This)->lpVtbl->Resume(This) +#define IBackgroundCopyJob3_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IBackgroundCopyJob3_Complete(This) (This)->lpVtbl->Complete(This) +#define IBackgroundCopyJob3_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal) +#define IBackgroundCopyJob3_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal) +#define IBackgroundCopyJob3_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) +#define IBackgroundCopyJob3_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal) +#define IBackgroundCopyJob3_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal) +#define IBackgroundCopyJob3_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError) +#define IBackgroundCopyJob3_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal) +#define IBackgroundCopyJob3_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val) +#define IBackgroundCopyJob3_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal) +#define IBackgroundCopyJob3_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val) +#define IBackgroundCopyJob3_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal) +#define IBackgroundCopyJob3_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val) +#define IBackgroundCopyJob3_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal) +#define IBackgroundCopyJob3_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val) +#define IBackgroundCopyJob3_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal) +#define IBackgroundCopyJob3_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val) +#define IBackgroundCopyJob3_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal) +#define IBackgroundCopyJob3_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob3_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob3_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob3_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob3_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors) +#define IBackgroundCopyJob3_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) +#define IBackgroundCopyJob3_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) +#define IBackgroundCopyJob3_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This) +/*** IBackgroundCopyJob2 methods ***/ +#define IBackgroundCopyJob3_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params) +#define IBackgroundCopyJob3_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params) +#define IBackgroundCopyJob3_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress) +#define IBackgroundCopyJob3_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength) +#define IBackgroundCopyJob3_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename) +#define IBackgroundCopyJob3_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename) +#define IBackgroundCopyJob3_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred) +#define IBackgroundCopyJob3_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme) +/*** IBackgroundCopyJob3 methods ***/ +#define IBackgroundCopyJob3_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix) +#define IBackgroundCopyJob3_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) +#define IBackgroundCopyJob3_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags) +#define IBackgroundCopyJob3_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob3_QueryInterface(IBackgroundCopyJob3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyJob3_AddRef(IBackgroundCopyJob3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyJob3_Release(IBackgroundCopyJob3* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyJob methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob3_AddFileSet(IBackgroundCopyJob3* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) { + return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_AddFile(IBackgroundCopyJob3* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) { + return This->lpVtbl->AddFile(This,RemoteUrl,LocalName); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_EnumFiles(IBackgroundCopyJob3* This,IEnumBackgroundCopyFiles **pEnum) { + return This->lpVtbl->EnumFiles(This,pEnum); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_Suspend(IBackgroundCopyJob3* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_Resume(IBackgroundCopyJob3* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_Cancel(IBackgroundCopyJob3* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_Complete(IBackgroundCopyJob3* This) { + return This->lpVtbl->Complete(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetId(IBackgroundCopyJob3* This,GUID *pVal) { + return This->lpVtbl->GetId(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetType(IBackgroundCopyJob3* This,BG_JOB_TYPE *pVal) { + return This->lpVtbl->GetType(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetProgress(IBackgroundCopyJob3* This,BG_JOB_PROGRESS *pVal) { + return This->lpVtbl->GetProgress(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetTimes(IBackgroundCopyJob3* This,BG_JOB_TIMES *pVal) { + return This->lpVtbl->GetTimes(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetState(IBackgroundCopyJob3* This,BG_JOB_STATE *pVal) { + return This->lpVtbl->GetState(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetError(IBackgroundCopyJob3* This,IBackgroundCopyError **ppError) { + return This->lpVtbl->GetError(This,ppError); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetOwner(IBackgroundCopyJob3* This,LPWSTR *pVal) { + return This->lpVtbl->GetOwner(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetDisplayName(IBackgroundCopyJob3* This,LPCWSTR Val) { + return This->lpVtbl->SetDisplayName(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetDisplayName(IBackgroundCopyJob3* This,LPWSTR *pVal) { + return This->lpVtbl->GetDisplayName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetDescription(IBackgroundCopyJob3* This,LPCWSTR Val) { + return This->lpVtbl->SetDescription(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetDescription(IBackgroundCopyJob3* This,LPWSTR *pVal) { + return This->lpVtbl->GetDescription(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetPriority(IBackgroundCopyJob3* This,BG_JOB_PRIORITY Val) { + return This->lpVtbl->SetPriority(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetPriority(IBackgroundCopyJob3* This,BG_JOB_PRIORITY *pVal) { + return This->lpVtbl->GetPriority(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNotifyFlags(IBackgroundCopyJob3* This,ULONG Val) { + return This->lpVtbl->SetNotifyFlags(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNotifyFlags(IBackgroundCopyJob3* This,ULONG *pVal) { + return This->lpVtbl->GetNotifyFlags(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNotifyInterface(IBackgroundCopyJob3* This,IUnknown *Val) { + return This->lpVtbl->SetNotifyInterface(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNotifyInterface(IBackgroundCopyJob3* This,IUnknown **pVal) { + return This->lpVtbl->GetNotifyInterface(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetMinimumRetryDelay(IBackgroundCopyJob3* This,ULONG Seconds) { + return This->lpVtbl->SetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetMinimumRetryDelay(IBackgroundCopyJob3* This,ULONG *Seconds) { + return This->lpVtbl->GetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNoProgressTimeout(IBackgroundCopyJob3* This,ULONG Seconds) { + return This->lpVtbl->SetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNoProgressTimeout(IBackgroundCopyJob3* This,ULONG *Seconds) { + return This->lpVtbl->GetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetErrorCount(IBackgroundCopyJob3* This,ULONG *Errors) { + return This->lpVtbl->GetErrorCount(This,Errors); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetProxySettings(IBackgroundCopyJob3* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) { + return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetProxySettings(IBackgroundCopyJob3* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) { + return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_TakeOwnership(IBackgroundCopyJob3* This) { + return This->lpVtbl->TakeOwnership(This); +} +/*** IBackgroundCopyJob2 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNotifyCmdLine(IBackgroundCopyJob3* This,LPCWSTR prog,LPCWSTR params) { + return This->lpVtbl->SetNotifyCmdLine(This,prog,params); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNotifyCmdLine(IBackgroundCopyJob3* This,LPWSTR *prog,LPWSTR *params) { + return This->lpVtbl->GetNotifyCmdLine(This,prog,params); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetReplyProgress(IBackgroundCopyJob3* This,BG_JOB_REPLY_PROGRESS *progress) { + return This->lpVtbl->GetReplyProgress(This,progress); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetReplyData(IBackgroundCopyJob3* This,byte **pBuffer,UINT64 *pLength) { + return This->lpVtbl->GetReplyData(This,pBuffer,pLength); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetReplyFileName(IBackgroundCopyJob3* This,LPCWSTR filename) { + return This->lpVtbl->SetReplyFileName(This,filename); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetReplyFileName(IBackgroundCopyJob3* This,LPWSTR *pFilename) { + return This->lpVtbl->GetReplyFileName(This,pFilename); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetCredentials(IBackgroundCopyJob3* This,BG_AUTH_CREDENTIALS *cred) { + return This->lpVtbl->SetCredentials(This,cred); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_RemoveCredentials(IBackgroundCopyJob3* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) { + return This->lpVtbl->RemoveCredentials(This,target,scheme); +} +/*** IBackgroundCopyJob3 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob3_ReplaceRemotePrefix(IBackgroundCopyJob3* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) { + return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_AddFileWithRanges(IBackgroundCopyJob3* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) { + return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_SetFileACLFlags(IBackgroundCopyJob3* This,DWORD Flags) { + return This->lpVtbl->SetFileACLFlags(This,Flags); +} +static FORCEINLINE HRESULT IBackgroundCopyJob3_GetFileACLFlags(IBackgroundCopyJob3* This,DWORD *Flags) { + return This->lpVtbl->GetFileACLFlags(This,Flags); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyJob3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBackgroundCopyFile2 interface + */ +#ifndef __IBackgroundCopyFile2_INTERFACE_DEFINED__ +#define __IBackgroundCopyFile2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBackgroundCopyFile2, 0x83e81b93, 0x0873, 0x474d, 0x8a,0x8c, 0xf2,0x01,0x8b,0x1a,0x93,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("83e81b93-0873-474d-8a8c-f2018b1a939c") +IBackgroundCopyFile2 : public IBackgroundCopyFile +{ + virtual HRESULT STDMETHODCALLTYPE GetFileRanges( + DWORD *RangeCount, + BG_FILE_RANGE **Ranges) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRemoteName( + LPCWSTR Val) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyFile2, 0x83e81b93, 0x0873, 0x474d, 0x8a,0x8c, 0xf2,0x01,0x8b,0x1a,0x93,0x9c) +#endif +#else +typedef struct IBackgroundCopyFile2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyFile2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyFile2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyFile2 *This); + + /*** IBackgroundCopyFile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRemoteName)( + IBackgroundCopyFile2 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *GetLocalName)( + IBackgroundCopyFile2 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IBackgroundCopyFile2 *This, + BG_FILE_PROGRESS *pVal); + + /*** IBackgroundCopyFile2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFileRanges)( + IBackgroundCopyFile2 *This, + DWORD *RangeCount, + BG_FILE_RANGE **Ranges); + + HRESULT (STDMETHODCALLTYPE *SetRemoteName)( + IBackgroundCopyFile2 *This, + LPCWSTR Val); + + END_INTERFACE +} IBackgroundCopyFile2Vtbl; + +interface IBackgroundCopyFile2 { + CONST_VTBL IBackgroundCopyFile2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyFile2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyFile2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyFile2_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyFile methods ***/ +#define IBackgroundCopyFile2_GetRemoteName(This,pVal) (This)->lpVtbl->GetRemoteName(This,pVal) +#define IBackgroundCopyFile2_GetLocalName(This,pVal) (This)->lpVtbl->GetLocalName(This,pVal) +#define IBackgroundCopyFile2_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) +/*** IBackgroundCopyFile2 methods ***/ +#define IBackgroundCopyFile2_GetFileRanges(This,RangeCount,Ranges) (This)->lpVtbl->GetFileRanges(This,RangeCount,Ranges) +#define IBackgroundCopyFile2_SetRemoteName(This,Val) (This)->lpVtbl->SetRemoteName(This,Val) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyFile2_QueryInterface(IBackgroundCopyFile2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyFile2_AddRef(IBackgroundCopyFile2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyFile2_Release(IBackgroundCopyFile2* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyFile methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyFile2_GetRemoteName(IBackgroundCopyFile2* This,LPWSTR *pVal) { + return This->lpVtbl->GetRemoteName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyFile2_GetLocalName(IBackgroundCopyFile2* This,LPWSTR *pVal) { + return This->lpVtbl->GetLocalName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyFile2_GetProgress(IBackgroundCopyFile2* This,BG_FILE_PROGRESS *pVal) { + return This->lpVtbl->GetProgress(This,pVal); +} +/*** IBackgroundCopyFile2 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyFile2_GetFileRanges(IBackgroundCopyFile2* This,DWORD *RangeCount,BG_FILE_RANGE **Ranges) { + return This->lpVtbl->GetFileRanges(This,RangeCount,Ranges); +} +static FORCEINLINE HRESULT IBackgroundCopyFile2_SetRemoteName(IBackgroundCopyFile2* This,LPCWSTR Val) { + return This->lpVtbl->SetRemoteName(This,Val); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyFile2_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_BackgroundCopyManager2_0, 0x2289a9af, 0xdc96, 0x486e, 0xb2,0x68, 0x89,0xc9,0xe3,0x39,0x7c,0x3d); + +/***************************************************************************** + * BackgroundCopyManager2_0 coclass + */ + +DEFINE_GUID(CLSID_BackgroundCopyManager2_0, 0x6d18ad12, 0xbde3, 0x4393, 0xb3,0x11, 0x09,0x9c,0x34,0x6e,0x6d,0xf9); + +#ifdef __cplusplus +class DECLSPEC_UUID("6d18ad12-bde3-4393-b311-099c346e6df9") BackgroundCopyManager2_0; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(BackgroundCopyManager2_0, 0x6d18ad12, 0xbde3, 0x4393, 0xb3,0x11, 0x09,0x9c,0x34,0x6e,0x6d,0xf9) +#endif +#endif + +#ifndef __IBackgroundCopyCallback_FWD_DEFINED__ +#define __IBackgroundCopyCallback_FWD_DEFINED__ +typedef interface IBackgroundCopyCallback IBackgroundCopyCallback; +#ifdef __cplusplus +interface IBackgroundCopyCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyJob3_FWD_DEFINED__ +#define __IBackgroundCopyJob3_FWD_DEFINED__ +typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3; +#ifdef __cplusplus +interface IBackgroundCopyJob3; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyFile2_FWD_DEFINED__ +#define __IBackgroundCopyFile2_FWD_DEFINED__ +typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2; +#ifdef __cplusplus +interface IBackgroundCopyFile2; +#endif /* __cplusplus */ +#endif + +#include "bits2_5.h" +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __bits2_0_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_0.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_0.idl new file mode 100644 index 0000000..1d17c38 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_0.idl @@ -0,0 +1,100 @@ +/* + * Background Intelligent Transfer Service (BITS) 2.0 interface + * + * Copyright 2015 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef DO_NO_IMPORTS +import "bits.idl"; +import "bits1_5.idl"; +#endif + +cpp_quote("#define BG_COPY_FILE_OWNER 1") +cpp_quote("#define BG_COPY_FILE_GROUP 2") +cpp_quote("#define BG_COPY_FILE_DACL 4") +cpp_quote("#define BG_COPY_FILE_SACL 8") +cpp_quote("#define BG_COPY_FILE_ALL 15") + +cpp_quote("#define BG_LENGTH_TO_EOF (UINT64)(-1)") + +cpp_quote("#ifndef _BG_FILE_RANGE_DEFINED") +cpp_quote("#define _BG_FILE_RANGE_DEFINED") +typedef struct _BG_FILE_RANGE +{ + UINT64 InitialOffset; + UINT64 Length; +} BG_FILE_RANGE; +cpp_quote("#endif") + +[ + uuid(443c8934-90ff-48ed-bcde-26f5c7450042), + odl +] +interface IBackgroundCopyJob3 : IBackgroundCopyJob2 +{ + HRESULT ReplaceRemotePrefix( + [in] LPCWSTR OldPrefix, + [in] LPCWSTR NewPrefix); + + HRESULT AddFileWithRanges( + [in] LPCWSTR RemoteUrl, + [in] LPCWSTR LocalName, + [in] DWORD RangeCount, + [in, size_is(RangeCount)] BG_FILE_RANGE Ranges[]); + + HRESULT SetFileACLFlags( + [in] DWORD Flags); + + HRESULT GetFileACLFlags( + [out, ref] DWORD *Flags); +} + +[ + uuid(83e81b93-0873-474d-8a8c-f2018b1a939c), + odl +] +interface IBackgroundCopyFile2 : IBackgroundCopyFile +{ + HRESULT GetFileRanges( + [in, out, unique] DWORD *RangeCount, + [out, size_is(, *RangeCount)] BG_FILE_RANGE **Ranges); + + HRESULT SetRemoteName( + LPCWSTR Val); +} + +[ + uuid(2289a9af-dc96-486e-b268-89c9e3397c3d), + version(1.0) +] +library BackgroundCopyManager2_0 +{ + [ + uuid(6d18ad12-bde3-4393-b311-099c346e6df9) + ] + coclass BackgroundCopyManager2_0 + { + [default] interface IBackgroundCopyManager; + }; + + interface IBackgroundCopyCallback; + interface IBackgroundCopyJob3; + interface IBackgroundCopyFile2; +} + +cpp_quote("#include \"bits2_5.h\"") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_5.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_5.h new file mode 100644 index 0000000..5dc3d6a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_5.h @@ -0,0 +1,266 @@ +/*** Autogenerated by WIDL 2.18 from bits2_5.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __bits2_5_h__ +#define __bits2_5_h__ + +/* Forward declarations */ + +#ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ +#define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ +typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions; +#ifdef __cplusplus +interface IBackgroundCopyJobHttpOptions; +#endif /* __cplusplus */ +#endif + +#ifndef __BackgroundCopyManager2_5_FWD_DEFINED__ +#define __BackgroundCopyManager2_5_FWD_DEFINED__ +#ifdef __cplusplus +typedef class BackgroundCopyManager2_5 BackgroundCopyManager2_5; +#else +typedef struct BackgroundCopyManager2_5 BackgroundCopyManager2_5; +#endif /* defined __cplusplus */ +#endif /* defined __BackgroundCopyManager2_5_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IBackgroundCopyJobHttpOptions interface + */ +#ifndef __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ +#define __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ + +typedef enum __WIDL_bits2_5_generated_name_0000000C { + BG_CERT_STORE_LOCATION_CURRENT_USER = 0, + BG_CERT_STORE_LOCATION_LOCAL_MACHINE = 1, + BG_CERT_STORE_LOCATION_CURRENT_SERVICE = 2, + BG_CERT_STORE_LOCATION_SERVICES = 3, + BG_CERT_STORE_LOCATION_USERS = 4, + BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY = 5, + BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY = 6, + BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE = 7 +} BG_CERT_STORE_LOCATION; +DEFINE_GUID(IID_IBackgroundCopyJobHttpOptions, 0xf1bd1079, 0x9f01, 0x4bdc, 0x80,0x36, 0xf0,0x9b,0x70,0x09,0x50,0x66); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f1bd1079-9f01-4bdc-8036-f09b70095066") +IBackgroundCopyJobHttpOptions : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByID( + BG_CERT_STORE_LOCATION StoreLocation, + LPCWSTR StoreName, + BYTE *pCertHashBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByName( + BG_CERT_STORE_LOCATION StoreLocation, + LPCWSTR StoreName, + LPCWSTR SubjectName) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveClientCertificate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClientCertificate( + BG_CERT_STORE_LOCATION *pStoreLocation, + LPWSTR *pStoreName, + BYTE **ppCertHashBlob, + LPWSTR *pSubjectName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCustomHeaders( + LPCWSTR RequestHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCustomHeaders( + LPWSTR *pRequestHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSecurityFlags( + ULONG Flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecurityFlags( + ULONG *pFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyJobHttpOptions, 0xf1bd1079, 0x9f01, 0x4bdc, 0x80,0x36, 0xf0,0x9b,0x70,0x09,0x50,0x66) +#endif +#else +typedef struct IBackgroundCopyJobHttpOptionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyJobHttpOptions *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyJobHttpOptions *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyJobHttpOptions *This); + + /*** IBackgroundCopyJobHttpOptions methods ***/ + HRESULT (STDMETHODCALLTYPE *SetClientCertificateByID)( + IBackgroundCopyJobHttpOptions *This, + BG_CERT_STORE_LOCATION StoreLocation, + LPCWSTR StoreName, + BYTE *pCertHashBlob); + + HRESULT (STDMETHODCALLTYPE *SetClientCertificateByName)( + IBackgroundCopyJobHttpOptions *This, + BG_CERT_STORE_LOCATION StoreLocation, + LPCWSTR StoreName, + LPCWSTR SubjectName); + + HRESULT (STDMETHODCALLTYPE *RemoveClientCertificate)( + IBackgroundCopyJobHttpOptions *This); + + HRESULT (STDMETHODCALLTYPE *GetClientCertificate)( + IBackgroundCopyJobHttpOptions *This, + BG_CERT_STORE_LOCATION *pStoreLocation, + LPWSTR *pStoreName, + BYTE **ppCertHashBlob, + LPWSTR *pSubjectName); + + HRESULT (STDMETHODCALLTYPE *SetCustomHeaders)( + IBackgroundCopyJobHttpOptions *This, + LPCWSTR RequestHeaders); + + HRESULT (STDMETHODCALLTYPE *GetCustomHeaders)( + IBackgroundCopyJobHttpOptions *This, + LPWSTR *pRequestHeaders); + + HRESULT (STDMETHODCALLTYPE *SetSecurityFlags)( + IBackgroundCopyJobHttpOptions *This, + ULONG Flags); + + HRESULT (STDMETHODCALLTYPE *GetSecurityFlags)( + IBackgroundCopyJobHttpOptions *This, + ULONG *pFlags); + + END_INTERFACE +} IBackgroundCopyJobHttpOptionsVtbl; + +interface IBackgroundCopyJobHttpOptions { + CONST_VTBL IBackgroundCopyJobHttpOptionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyJobHttpOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyJobHttpOptions_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyJobHttpOptions_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyJobHttpOptions methods ***/ +#define IBackgroundCopyJobHttpOptions_SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob) (This)->lpVtbl->SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob) +#define IBackgroundCopyJobHttpOptions_SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName) (This)->lpVtbl->SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName) +#define IBackgroundCopyJobHttpOptions_RemoveClientCertificate(This) (This)->lpVtbl->RemoveClientCertificate(This) +#define IBackgroundCopyJobHttpOptions_GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName) (This)->lpVtbl->GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName) +#define IBackgroundCopyJobHttpOptions_SetCustomHeaders(This,RequestHeaders) (This)->lpVtbl->SetCustomHeaders(This,RequestHeaders) +#define IBackgroundCopyJobHttpOptions_GetCustomHeaders(This,pRequestHeaders) (This)->lpVtbl->GetCustomHeaders(This,pRequestHeaders) +#define IBackgroundCopyJobHttpOptions_SetSecurityFlags(This,Flags) (This)->lpVtbl->SetSecurityFlags(This,Flags) +#define IBackgroundCopyJobHttpOptions_GetSecurityFlags(This,pFlags) (This)->lpVtbl->GetSecurityFlags(This,pFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_QueryInterface(IBackgroundCopyJobHttpOptions* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyJobHttpOptions_AddRef(IBackgroundCopyJobHttpOptions* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyJobHttpOptions_Release(IBackgroundCopyJobHttpOptions* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyJobHttpOptions methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetClientCertificateByID(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION StoreLocation,LPCWSTR StoreName,BYTE *pCertHashBlob) { + return This->lpVtbl->SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetClientCertificateByName(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION StoreLocation,LPCWSTR StoreName,LPCWSTR SubjectName) { + return This->lpVtbl->SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_RemoveClientCertificate(IBackgroundCopyJobHttpOptions* This) { + return This->lpVtbl->RemoveClientCertificate(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_GetClientCertificate(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION *pStoreLocation,LPWSTR *pStoreName,BYTE **ppCertHashBlob,LPWSTR *pSubjectName) { + return This->lpVtbl->GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetCustomHeaders(IBackgroundCopyJobHttpOptions* This,LPCWSTR RequestHeaders) { + return This->lpVtbl->SetCustomHeaders(This,RequestHeaders); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_GetCustomHeaders(IBackgroundCopyJobHttpOptions* This,LPWSTR *pRequestHeaders) { + return This->lpVtbl->GetCustomHeaders(This,pRequestHeaders); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetSecurityFlags(IBackgroundCopyJobHttpOptions* This,ULONG Flags) { + return This->lpVtbl->SetSecurityFlags(This,Flags); +} +static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_GetSecurityFlags(IBackgroundCopyJobHttpOptions* This,ULONG *pFlags) { + return This->lpVtbl->GetSecurityFlags(This,pFlags); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_BackgroundCopyManager2_5, 0x4974177c, 0x3bb6, 0x4c37, 0x9f,0xf0, 0x6b,0x74,0x26,0xf0,0xab,0xa9); + +/***************************************************************************** + * BackgroundCopyManager2_5 coclass + */ + +DEFINE_GUID(CLSID_BackgroundCopyManager2_5, 0x03ca98d6, 0xff5d, 0x49b8, 0xab,0xc6, 0x03,0xdd,0x84,0x12,0x70,0x20); + +#ifdef __cplusplus +class DECLSPEC_UUID("03ca98d6-ff5d-49b8-abc6-03dd84127020") BackgroundCopyManager2_5; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(BackgroundCopyManager2_5, 0x03ca98d6, 0xff5d, 0x49b8, 0xab,0xc6, 0x03,0xdd,0x84,0x12,0x70,0x20) +#endif +#endif + +#ifndef __IBackgroundCopyCallback_FWD_DEFINED__ +#define __IBackgroundCopyCallback_FWD_DEFINED__ +typedef interface IBackgroundCopyCallback IBackgroundCopyCallback; +#ifdef __cplusplus +interface IBackgroundCopyCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ +#define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ +typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions; +#ifdef __cplusplus +interface IBackgroundCopyJobHttpOptions; +#endif /* __cplusplus */ +#endif + +#include "bits3_0.h" +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __bits2_5_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_5.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_5.idl new file mode 100644 index 0000000..c58dc8a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits2_5.idl @@ -0,0 +1,102 @@ +/* + * Background Intelligent Transfer Service (BITS) 2.5 interface + * + * Copyright 2015 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef DO_NO_IMPORTS +import "bits.idl"; +import "bits1_5.idl"; +import "bits2_0.idl"; +#endif + +[ + uuid(f1bd1079-9f01-4bdc-8036-f09b70095066), + odl +] +interface IBackgroundCopyJobHttpOptions : IUnknown +{ + typedef enum + { + BG_CERT_STORE_LOCATION_CURRENT_USER, + BG_CERT_STORE_LOCATION_LOCAL_MACHINE, + BG_CERT_STORE_LOCATION_CURRENT_SERVICE, + BG_CERT_STORE_LOCATION_SERVICES, + BG_CERT_STORE_LOCATION_USERS, + BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY, + BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY, + BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE + } BG_CERT_STORE_LOCATION; + + HRESULT SetClientCertificateByID( + [in] BG_CERT_STORE_LOCATION StoreLocation, + [in] LPCWSTR StoreName, + [in, size_is(20), ref] BYTE *pCertHashBlob + ); + + HRESULT SetClientCertificateByName( + [in] BG_CERT_STORE_LOCATION StoreLocation, + [in] LPCWSTR StoreName, + [in] LPCWSTR SubjectName + ); + + HRESULT RemoveClientCertificate(); + + HRESULT GetClientCertificate( + [out, ref] BG_CERT_STORE_LOCATION *pStoreLocation, + [out, ref] LPWSTR *pStoreName, + [out, size_is(, 20), ref] BYTE **ppCertHashBlob, + [out, ref] LPWSTR *pSubjectName + ); + + HRESULT SetCustomHeaders( + [in, unique] LPCWSTR RequestHeaders + ); + + HRESULT GetCustomHeaders( + [out] LPWSTR *pRequestHeaders + ); + + HRESULT SetSecurityFlags( + [in] ULONG Flags + ); + + HRESULT GetSecurityFlags( + [out, ref] ULONG *pFlags + ); +} + +[ + uuid(4974177c-3bb6-4c37-9ff0-6b7426f0aba9), + version(1.0) +] +library BackgroundCopyManager2_5 +{ + [ + uuid(03ca98d6-ff5d-49b8-abc6-03dd84127020) + ] + coclass BackgroundCopyManager2_5 + { + [default] interface IBackgroundCopyManager; + }; + + interface IBackgroundCopyCallback; + interface IBackgroundCopyJobHttpOptions; +} + +cpp_quote("#include \"bits3_0.h\"") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits3_0.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits3_0.h new file mode 100644 index 0000000..2fdc88c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits3_0.h @@ -0,0 +1,700 @@ +/*** Autogenerated by WIDL 2.18 from bits3_0.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __bits3_0_h__ +#define __bits3_0_h__ + +/* Forward declarations */ + +#ifndef __IBackgroundCopyCallback2_FWD_DEFINED__ +#define __IBackgroundCopyCallback2_FWD_DEFINED__ +typedef interface IBackgroundCopyCallback2 IBackgroundCopyCallback2; +#ifdef __cplusplus +interface IBackgroundCopyCallback2; +#endif /* __cplusplus */ +#endif + +#ifndef __IBackgroundCopyJob4_FWD_DEFINED__ +#define __IBackgroundCopyJob4_FWD_DEFINED__ +typedef interface IBackgroundCopyJob4 IBackgroundCopyJob4; +#ifdef __cplusplus +interface IBackgroundCopyJob4; +#endif /* __cplusplus */ +#endif + +#ifndef __BackgroundCopyManager3_0_FWD_DEFINED__ +#define __BackgroundCopyManager3_0_FWD_DEFINED__ +#ifdef __cplusplus +typedef class BackgroundCopyManager3_0 BackgroundCopyManager3_0; +#else +typedef struct BackgroundCopyManager3_0 BackgroundCopyManager3_0; +#endif /* defined __cplusplus */ +#endif /* defined __BackgroundCopyManager3_0_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IBackgroundCopyCallback2 interface + */ +#ifndef __IBackgroundCopyCallback2_INTERFACE_DEFINED__ +#define __IBackgroundCopyCallback2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBackgroundCopyCallback2, 0x659cdeac, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("659cdeac-489e-11d9-a9cd-000d56965251") +IBackgroundCopyCallback2 : public IBackgroundCopyCallback +{ + virtual HRESULT STDMETHODCALLTYPE FileTransferred( + IBackgroundCopyJob *job, + IBackgroundCopyFile *file) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyCallback2, 0x659cdeac, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51) +#endif +#else +typedef struct IBackgroundCopyCallback2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyCallback2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyCallback2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyCallback2 *This); + + /*** IBackgroundCopyCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *JobTransferred)( + IBackgroundCopyCallback2 *This, + IBackgroundCopyJob *pJob); + + HRESULT (STDMETHODCALLTYPE *JobError)( + IBackgroundCopyCallback2 *This, + IBackgroundCopyJob *pJob, + IBackgroundCopyError *pError); + + HRESULT (STDMETHODCALLTYPE *JobModification)( + IBackgroundCopyCallback2 *This, + IBackgroundCopyJob *pJob, + DWORD dwReserved); + + /*** IBackgroundCopyCallback2 methods ***/ + HRESULT (STDMETHODCALLTYPE *FileTransferred)( + IBackgroundCopyCallback2 *This, + IBackgroundCopyJob *job, + IBackgroundCopyFile *file); + + END_INTERFACE +} IBackgroundCopyCallback2Vtbl; + +interface IBackgroundCopyCallback2 { + CONST_VTBL IBackgroundCopyCallback2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyCallback2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyCallback2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyCallback2_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyCallback methods ***/ +#define IBackgroundCopyCallback2_JobTransferred(This,pJob) (This)->lpVtbl->JobTransferred(This,pJob) +#define IBackgroundCopyCallback2_JobError(This,pJob,pError) (This)->lpVtbl->JobError(This,pJob,pError) +#define IBackgroundCopyCallback2_JobModification(This,pJob,dwReserved) (This)->lpVtbl->JobModification(This,pJob,dwReserved) +/*** IBackgroundCopyCallback2 methods ***/ +#define IBackgroundCopyCallback2_FileTransferred(This,job,file) (This)->lpVtbl->FileTransferred(This,job,file) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyCallback2_QueryInterface(IBackgroundCopyCallback2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyCallback2_AddRef(IBackgroundCopyCallback2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyCallback2_Release(IBackgroundCopyCallback2* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyCallback methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyCallback2_JobTransferred(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob) { + return This->lpVtbl->JobTransferred(This,pJob); +} +static FORCEINLINE HRESULT IBackgroundCopyCallback2_JobError(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob,IBackgroundCopyError *pError) { + return This->lpVtbl->JobError(This,pJob,pError); +} +static FORCEINLINE HRESULT IBackgroundCopyCallback2_JobModification(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob,DWORD dwReserved) { + return This->lpVtbl->JobModification(This,pJob,dwReserved); +} +/*** IBackgroundCopyCallback2 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyCallback2_FileTransferred(IBackgroundCopyCallback2* This,IBackgroundCopyJob *job,IBackgroundCopyFile *file) { + return This->lpVtbl->FileTransferred(This,job,file); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyCallback2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBackgroundCopyJob4 interface + */ +#ifndef __IBackgroundCopyJob4_INTERFACE_DEFINED__ +#define __IBackgroundCopyJob4_INTERFACE_DEFINED__ + +#define BG_JOB_ENABLE_PEERCACHING_CLIENT 0x0001 +#define BG_JOB_ENABLE_PEERCACHING_SERVER 0x0002 +#define BG_JOB_DISABLE_BRANCH_CACHE 0x0004 +DEFINE_GUID(IID_IBackgroundCopyJob4, 0x659cdeae, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("659cdeae-489e-11d9-a9cd-000d56965251") +IBackgroundCopyJob4 : public IBackgroundCopyJob3 +{ + virtual HRESULT STDMETHODCALLTYPE SetPeerCachingFlags( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPeerCachingFlags( + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOwnerIntegrityLevel( + ULONG *level) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOwnerElevationState( + BOOL *elevated) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMaximumDownloadTime( + ULONG timeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaximumDownloadTime( + ULONG *timeout) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBackgroundCopyJob4, 0x659cdeae, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51) +#endif +#else +typedef struct IBackgroundCopyJob4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBackgroundCopyJob4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBackgroundCopyJob4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBackgroundCopyJob4 *This); + + /*** IBackgroundCopyJob methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFileSet)( + IBackgroundCopyJob4 *This, + ULONG cFileCount, + BG_FILE_INFO *pFileSet); + + HRESULT (STDMETHODCALLTYPE *AddFile)( + IBackgroundCopyJob4 *This, + LPCWSTR RemoteUrl, + LPCWSTR LocalName); + + HRESULT (STDMETHODCALLTYPE *EnumFiles)( + IBackgroundCopyJob4 *This, + IEnumBackgroundCopyFiles **pEnum); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IBackgroundCopyJob4 *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IBackgroundCopyJob4 *This); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IBackgroundCopyJob4 *This); + + HRESULT (STDMETHODCALLTYPE *Complete)( + IBackgroundCopyJob4 *This); + + HRESULT (STDMETHODCALLTYPE *GetId)( + IBackgroundCopyJob4 *This, + GUID *pVal); + + HRESULT (STDMETHODCALLTYPE *GetType)( + IBackgroundCopyJob4 *This, + BG_JOB_TYPE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IBackgroundCopyJob4 *This, + BG_JOB_PROGRESS *pVal); + + HRESULT (STDMETHODCALLTYPE *GetTimes)( + IBackgroundCopyJob4 *This, + BG_JOB_TIMES *pVal); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IBackgroundCopyJob4 *This, + BG_JOB_STATE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetError)( + IBackgroundCopyJob4 *This, + IBackgroundCopyError **ppError); + + HRESULT (STDMETHODCALLTYPE *GetOwner)( + IBackgroundCopyJob4 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IBackgroundCopyJob4 *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IBackgroundCopyJob4 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IBackgroundCopyJob4 *This, + LPCWSTR Val); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IBackgroundCopyJob4 *This, + LPWSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *SetPriority)( + IBackgroundCopyJob4 *This, + BG_JOB_PRIORITY Val); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBackgroundCopyJob4 *This, + BG_JOB_PRIORITY *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)( + IBackgroundCopyJob4 *This, + ULONG Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)( + IBackgroundCopyJob4 *This, + ULONG *pVal); + + HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)( + IBackgroundCopyJob4 *This, + IUnknown *Val); + + HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)( + IBackgroundCopyJob4 *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)( + IBackgroundCopyJob4 *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)( + IBackgroundCopyJob4 *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)( + IBackgroundCopyJob4 *This, + ULONG Seconds); + + HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)( + IBackgroundCopyJob4 *This, + ULONG *Seconds); + + HRESULT (STDMETHODCALLTYPE *GetErrorCount)( + IBackgroundCopyJob4 *This, + ULONG *Errors); + + HRESULT (STDMETHODCALLTYPE *SetProxySettings)( + IBackgroundCopyJob4 *This, + BG_JOB_PROXY_USAGE ProxyUsage, + const WCHAR *ProxyList, + const WCHAR *ProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *GetProxySettings)( + IBackgroundCopyJob4 *This, + BG_JOB_PROXY_USAGE *pProxyUsage, + LPWSTR *pProxyList, + LPWSTR *pProxyBypassList); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IBackgroundCopyJob4 *This); + + /*** IBackgroundCopyJob2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)( + IBackgroundCopyJob4 *This, + LPCWSTR prog, + LPCWSTR params); + + HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)( + IBackgroundCopyJob4 *This, + LPWSTR *prog, + LPWSTR *params); + + HRESULT (STDMETHODCALLTYPE *GetReplyProgress)( + IBackgroundCopyJob4 *This, + BG_JOB_REPLY_PROGRESS *progress); + + HRESULT (STDMETHODCALLTYPE *GetReplyData)( + IBackgroundCopyJob4 *This, + byte **pBuffer, + UINT64 *pLength); + + HRESULT (STDMETHODCALLTYPE *SetReplyFileName)( + IBackgroundCopyJob4 *This, + LPCWSTR filename); + + HRESULT (STDMETHODCALLTYPE *GetReplyFileName)( + IBackgroundCopyJob4 *This, + LPWSTR *pFilename); + + HRESULT (STDMETHODCALLTYPE *SetCredentials)( + IBackgroundCopyJob4 *This, + BG_AUTH_CREDENTIALS *cred); + + HRESULT (STDMETHODCALLTYPE *RemoveCredentials)( + IBackgroundCopyJob4 *This, + BG_AUTH_TARGET target, + BG_AUTH_SCHEME scheme); + + /*** IBackgroundCopyJob3 methods ***/ + HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)( + IBackgroundCopyJob4 *This, + LPCWSTR OldPrefix, + LPCWSTR NewPrefix); + + HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)( + IBackgroundCopyJob4 *This, + LPCWSTR RemoteUrl, + LPCWSTR LocalName, + DWORD RangeCount, + BG_FILE_RANGE Ranges[]); + + HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)( + IBackgroundCopyJob4 *This, + DWORD Flags); + + HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)( + IBackgroundCopyJob4 *This, + DWORD *Flags); + + /*** IBackgroundCopyJob4 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPeerCachingFlags)( + IBackgroundCopyJob4 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *GetPeerCachingFlags)( + IBackgroundCopyJob4 *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *GetOwnerIntegrityLevel)( + IBackgroundCopyJob4 *This, + ULONG *level); + + HRESULT (STDMETHODCALLTYPE *GetOwnerElevationState)( + IBackgroundCopyJob4 *This, + BOOL *elevated); + + HRESULT (STDMETHODCALLTYPE *SetMaximumDownloadTime)( + IBackgroundCopyJob4 *This, + ULONG timeout); + + HRESULT (STDMETHODCALLTYPE *GetMaximumDownloadTime)( + IBackgroundCopyJob4 *This, + ULONG *timeout); + + END_INTERFACE +} IBackgroundCopyJob4Vtbl; + +interface IBackgroundCopyJob4 { + CONST_VTBL IBackgroundCopyJob4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBackgroundCopyJob4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBackgroundCopyJob4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBackgroundCopyJob4_Release(This) (This)->lpVtbl->Release(This) +/*** IBackgroundCopyJob methods ***/ +#define IBackgroundCopyJob4_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet) +#define IBackgroundCopyJob4_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName) +#define IBackgroundCopyJob4_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum) +#define IBackgroundCopyJob4_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IBackgroundCopyJob4_Resume(This) (This)->lpVtbl->Resume(This) +#define IBackgroundCopyJob4_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IBackgroundCopyJob4_Complete(This) (This)->lpVtbl->Complete(This) +#define IBackgroundCopyJob4_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal) +#define IBackgroundCopyJob4_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal) +#define IBackgroundCopyJob4_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) +#define IBackgroundCopyJob4_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal) +#define IBackgroundCopyJob4_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal) +#define IBackgroundCopyJob4_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError) +#define IBackgroundCopyJob4_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal) +#define IBackgroundCopyJob4_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val) +#define IBackgroundCopyJob4_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal) +#define IBackgroundCopyJob4_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val) +#define IBackgroundCopyJob4_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal) +#define IBackgroundCopyJob4_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val) +#define IBackgroundCopyJob4_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal) +#define IBackgroundCopyJob4_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val) +#define IBackgroundCopyJob4_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal) +#define IBackgroundCopyJob4_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val) +#define IBackgroundCopyJob4_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal) +#define IBackgroundCopyJob4_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob4_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds) +#define IBackgroundCopyJob4_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob4_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds) +#define IBackgroundCopyJob4_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors) +#define IBackgroundCopyJob4_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) +#define IBackgroundCopyJob4_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) +#define IBackgroundCopyJob4_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This) +/*** IBackgroundCopyJob2 methods ***/ +#define IBackgroundCopyJob4_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params) +#define IBackgroundCopyJob4_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params) +#define IBackgroundCopyJob4_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress) +#define IBackgroundCopyJob4_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength) +#define IBackgroundCopyJob4_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename) +#define IBackgroundCopyJob4_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename) +#define IBackgroundCopyJob4_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred) +#define IBackgroundCopyJob4_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme) +/*** IBackgroundCopyJob3 methods ***/ +#define IBackgroundCopyJob4_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix) +#define IBackgroundCopyJob4_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) +#define IBackgroundCopyJob4_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags) +#define IBackgroundCopyJob4_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags) +/*** IBackgroundCopyJob4 methods ***/ +#define IBackgroundCopyJob4_SetPeerCachingFlags(This,flags) (This)->lpVtbl->SetPeerCachingFlags(This,flags) +#define IBackgroundCopyJob4_GetPeerCachingFlags(This,flags) (This)->lpVtbl->GetPeerCachingFlags(This,flags) +#define IBackgroundCopyJob4_GetOwnerIntegrityLevel(This,level) (This)->lpVtbl->GetOwnerIntegrityLevel(This,level) +#define IBackgroundCopyJob4_GetOwnerElevationState(This,elevated) (This)->lpVtbl->GetOwnerElevationState(This,elevated) +#define IBackgroundCopyJob4_SetMaximumDownloadTime(This,timeout) (This)->lpVtbl->SetMaximumDownloadTime(This,timeout) +#define IBackgroundCopyJob4_GetMaximumDownloadTime(This,timeout) (This)->lpVtbl->GetMaximumDownloadTime(This,timeout) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob4_QueryInterface(IBackgroundCopyJob4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBackgroundCopyJob4_AddRef(IBackgroundCopyJob4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBackgroundCopyJob4_Release(IBackgroundCopyJob4* This) { + return This->lpVtbl->Release(This); +} +/*** IBackgroundCopyJob methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob4_AddFileSet(IBackgroundCopyJob4* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) { + return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_AddFile(IBackgroundCopyJob4* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) { + return This->lpVtbl->AddFile(This,RemoteUrl,LocalName); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_EnumFiles(IBackgroundCopyJob4* This,IEnumBackgroundCopyFiles **pEnum) { + return This->lpVtbl->EnumFiles(This,pEnum); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_Suspend(IBackgroundCopyJob4* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_Resume(IBackgroundCopyJob4* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_Cancel(IBackgroundCopyJob4* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_Complete(IBackgroundCopyJob4* This) { + return This->lpVtbl->Complete(This); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetId(IBackgroundCopyJob4* This,GUID *pVal) { + return This->lpVtbl->GetId(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetType(IBackgroundCopyJob4* This,BG_JOB_TYPE *pVal) { + return This->lpVtbl->GetType(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetProgress(IBackgroundCopyJob4* This,BG_JOB_PROGRESS *pVal) { + return This->lpVtbl->GetProgress(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetTimes(IBackgroundCopyJob4* This,BG_JOB_TIMES *pVal) { + return This->lpVtbl->GetTimes(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetState(IBackgroundCopyJob4* This,BG_JOB_STATE *pVal) { + return This->lpVtbl->GetState(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetError(IBackgroundCopyJob4* This,IBackgroundCopyError **ppError) { + return This->lpVtbl->GetError(This,ppError); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetOwner(IBackgroundCopyJob4* This,LPWSTR *pVal) { + return This->lpVtbl->GetOwner(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetDisplayName(IBackgroundCopyJob4* This,LPCWSTR Val) { + return This->lpVtbl->SetDisplayName(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetDisplayName(IBackgroundCopyJob4* This,LPWSTR *pVal) { + return This->lpVtbl->GetDisplayName(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetDescription(IBackgroundCopyJob4* This,LPCWSTR Val) { + return This->lpVtbl->SetDescription(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetDescription(IBackgroundCopyJob4* This,LPWSTR *pVal) { + return This->lpVtbl->GetDescription(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetPriority(IBackgroundCopyJob4* This,BG_JOB_PRIORITY Val) { + return This->lpVtbl->SetPriority(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetPriority(IBackgroundCopyJob4* This,BG_JOB_PRIORITY *pVal) { + return This->lpVtbl->GetPriority(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNotifyFlags(IBackgroundCopyJob4* This,ULONG Val) { + return This->lpVtbl->SetNotifyFlags(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNotifyFlags(IBackgroundCopyJob4* This,ULONG *pVal) { + return This->lpVtbl->GetNotifyFlags(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNotifyInterface(IBackgroundCopyJob4* This,IUnknown *Val) { + return This->lpVtbl->SetNotifyInterface(This,Val); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNotifyInterface(IBackgroundCopyJob4* This,IUnknown **pVal) { + return This->lpVtbl->GetNotifyInterface(This,pVal); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetMinimumRetryDelay(IBackgroundCopyJob4* This,ULONG Seconds) { + return This->lpVtbl->SetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetMinimumRetryDelay(IBackgroundCopyJob4* This,ULONG *Seconds) { + return This->lpVtbl->GetMinimumRetryDelay(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNoProgressTimeout(IBackgroundCopyJob4* This,ULONG Seconds) { + return This->lpVtbl->SetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNoProgressTimeout(IBackgroundCopyJob4* This,ULONG *Seconds) { + return This->lpVtbl->GetNoProgressTimeout(This,Seconds); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetErrorCount(IBackgroundCopyJob4* This,ULONG *Errors) { + return This->lpVtbl->GetErrorCount(This,Errors); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetProxySettings(IBackgroundCopyJob4* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) { + return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetProxySettings(IBackgroundCopyJob4* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) { + return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_TakeOwnership(IBackgroundCopyJob4* This) { + return This->lpVtbl->TakeOwnership(This); +} +/*** IBackgroundCopyJob2 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNotifyCmdLine(IBackgroundCopyJob4* This,LPCWSTR prog,LPCWSTR params) { + return This->lpVtbl->SetNotifyCmdLine(This,prog,params); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNotifyCmdLine(IBackgroundCopyJob4* This,LPWSTR *prog,LPWSTR *params) { + return This->lpVtbl->GetNotifyCmdLine(This,prog,params); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetReplyProgress(IBackgroundCopyJob4* This,BG_JOB_REPLY_PROGRESS *progress) { + return This->lpVtbl->GetReplyProgress(This,progress); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetReplyData(IBackgroundCopyJob4* This,byte **pBuffer,UINT64 *pLength) { + return This->lpVtbl->GetReplyData(This,pBuffer,pLength); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetReplyFileName(IBackgroundCopyJob4* This,LPCWSTR filename) { + return This->lpVtbl->SetReplyFileName(This,filename); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetReplyFileName(IBackgroundCopyJob4* This,LPWSTR *pFilename) { + return This->lpVtbl->GetReplyFileName(This,pFilename); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetCredentials(IBackgroundCopyJob4* This,BG_AUTH_CREDENTIALS *cred) { + return This->lpVtbl->SetCredentials(This,cred); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_RemoveCredentials(IBackgroundCopyJob4* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) { + return This->lpVtbl->RemoveCredentials(This,target,scheme); +} +/*** IBackgroundCopyJob3 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob4_ReplaceRemotePrefix(IBackgroundCopyJob4* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) { + return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_AddFileWithRanges(IBackgroundCopyJob4* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) { + return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetFileACLFlags(IBackgroundCopyJob4* This,DWORD Flags) { + return This->lpVtbl->SetFileACLFlags(This,Flags); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetFileACLFlags(IBackgroundCopyJob4* This,DWORD *Flags) { + return This->lpVtbl->GetFileACLFlags(This,Flags); +} +/*** IBackgroundCopyJob4 methods ***/ +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetPeerCachingFlags(IBackgroundCopyJob4* This,DWORD flags) { + return This->lpVtbl->SetPeerCachingFlags(This,flags); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetPeerCachingFlags(IBackgroundCopyJob4* This,DWORD *flags) { + return This->lpVtbl->GetPeerCachingFlags(This,flags); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetOwnerIntegrityLevel(IBackgroundCopyJob4* This,ULONG *level) { + return This->lpVtbl->GetOwnerIntegrityLevel(This,level); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetOwnerElevationState(IBackgroundCopyJob4* This,BOOL *elevated) { + return This->lpVtbl->GetOwnerElevationState(This,elevated); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_SetMaximumDownloadTime(IBackgroundCopyJob4* This,ULONG timeout) { + return This->lpVtbl->SetMaximumDownloadTime(This,timeout); +} +static FORCEINLINE HRESULT IBackgroundCopyJob4_GetMaximumDownloadTime(IBackgroundCopyJob4* This,ULONG *timeout) { + return This->lpVtbl->GetMaximumDownloadTime(This,timeout); +} +#endif +#endif + +#endif + + +#endif /* __IBackgroundCopyJob4_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_BackgroundCopyManager3_0, 0x659cdea6, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); + +/***************************************************************************** + * BackgroundCopyManager3_0 coclass + */ + +DEFINE_GUID(CLSID_BackgroundCopyManager3_0, 0x659cdea7, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); + +#ifdef __cplusplus +class DECLSPEC_UUID("659cdea7-489e-11d9-a9cd-000d56965251") BackgroundCopyManager3_0; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(BackgroundCopyManager3_0, 0x659cdea7, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51) +#endif +#endif + +#ifndef __IBackgroundCopyJob4_FWD_DEFINED__ +#define __IBackgroundCopyJob4_FWD_DEFINED__ +typedef interface IBackgroundCopyJob4 IBackgroundCopyJob4; +#ifdef __cplusplus +interface IBackgroundCopyJob4; +#endif /* __cplusplus */ +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __bits3_0_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits3_0.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits3_0.idl new file mode 100644 index 0000000..cb6c309 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bits3_0.idl @@ -0,0 +1,71 @@ +/* + * Background Intelligent Transfer Service (BITS) 3.0 interface + * + * Copyright 2013 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef DO_NO_IMPORTS +import "bits.idl"; +import "bits2_0.idl"; +#endif + +[ + uuid(659cdeac-489e-11d9-a9cd-000d56965251), + odl +] +interface IBackgroundCopyCallback2 : IBackgroundCopyCallback +{ + HRESULT FileTransferred([in] IBackgroundCopyJob *job, + [in] IBackgroundCopyFile *file); +} + +[ + uuid(659cdeae-489e-11d9-a9cd-000d56965251), + odl +] +interface IBackgroundCopyJob4 : IBackgroundCopyJob3 +{ +cpp_quote("#define BG_JOB_ENABLE_PEERCACHING_CLIENT 0x0001") +cpp_quote("#define BG_JOB_ENABLE_PEERCACHING_SERVER 0x0002") +cpp_quote("#define BG_JOB_DISABLE_BRANCH_CACHE 0x0004") + + HRESULT SetPeerCachingFlags(DWORD flags); + HRESULT GetPeerCachingFlags([out, ref] DWORD *flags); + HRESULT GetOwnerIntegrityLevel([out, ref] ULONG *level); + HRESULT GetOwnerElevationState([out, ref] BOOL *elevated); + HRESULT SetMaximumDownloadTime(ULONG timeout); + HRESULT GetMaximumDownloadTime([out,ref] ULONG *timeout); +}; + +[ + uuid(659cdea6-489e-11d9-a9cd-000d56965251), + lcid(0x0000), + version(1.0) +] +library BackgroundCopyManager3_0 +{ + [ + uuid(659cdea7-489e-11d9-a9cd-000d56965251) + ] + coclass BackgroundCopyManager3_0 + { + [default] interface IBackgroundCopyManager; + }; + + interface IBackgroundCopyJob4; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bitsmsg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bitsmsg.h new file mode 100644 index 0000000..3c8b70b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bitsmsg.h @@ -0,0 +1,81 @@ +/* + * Standard return values that may be generated by BITS + * + * Copyright 2007 Google (Roy Shea) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_BITMSG_H__ +#define __WINE_BITMSG_H__ + +#define BG_S_PARTIAL_COMPLETE 0x00200017 +#define BG_S_UNABLE_TO_DELETE_FILES 0x0020001A +#define BG_S_OVERRIDDEN_BY_POLICY 0x00200055 + +#define BG_E_HTTP_ERROR_400 0x80190190 +#define BG_E_HTTP_ERROR_401 0x80190191 +#define BG_E_HTTP_ERROR_404 0x80190194 +#define BG_E_HTTP_ERROR_407 0x80190197 +#define BG_E_HTTP_ERROR_414 0x8019019E +#define BG_E_HTTP_ERROR_501 0x801901F5 +#define BG_E_HTTP_ERROR_503 0x801901F7 +#define BG_E_HTTP_ERROR_504 0x801901F8 +#define BG_E_HTTP_ERROR_505 0x801901F9 + +#define BG_E_NOT_FOUND 0x80200001 +#define BG_E_INVALID_STATE 0x80200002 +#define BG_E_EMPTY 0x80200003 +#define BG_E_FILE_NOT_AVAILABLE 0x80200004 +#define BG_E_PROTOCOL_NOT_AVAILABLE 0x80200005 +#define BG_E_DESTINATION_LOCKED 0x8020000D +#define BG_E_VOLUME_CHANGED 0x8020000E +#define BG_E_ERROR_INFORMATION_UNAVAILABLE 0x8020000F +#define BG_E_NETWORK_DISCONNECTED 0x80200010 +#define BG_E_MISSING_FILE_SIZE 0x80200011 +#define BG_E_INSUFFICIENT_HTTP_SUPPORT 0x80200012 +#define BG_E_INSUFFICIENT_RANGE_SUPPORT 0x80200013 +#define BG_E_REMOTE_NOT_SUPPORTED 0x80200014 +#define BG_E_NEW_OWNER_DIFF_MAPPING 0x80200015 +#define BG_E_NEW_OWNER_NO_FILE_ACCESS 0x80200016 +#define BG_E_PROXY_LIST_TOO_LARGE 0x80200018 +#define BG_E_PROXY_BYPASS_LIST_TOO_LARGE 0x80200019 +#define BG_E_TOO_MANY_FILES 0x8020001C +#define BG_E_LOCAL_FILE_CHANGED 0x8020001D +#define BG_E_TOO_LARGE 0x80200020 +#define BG_E_STRING_TOO_LONG 0x80200021 +#define BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH 0x80200022 +#define BG_E_SERVER_EXECUTE_ENABLED 0x80200023 +#define BG_E_USERNAME_TOO_LARGE 0x80200025 +#define BG_E_PASSWORD_TOO_LARGE 0x80200026 +#define BG_E_INVALID_AUTH_TARGET 0x80200027 +#define BG_E_INVALID_AUTH_SCHEME 0x80200028 +#define BG_E_INVALID_RANGE 0x8020002B +#define BG_E_OVERLAPPING_RANGES 0x8020002C +#define BG_E_BLOCKED_BY_POLICY 0x8020003E +#define BG_E_INVALID_PROXY_INFO 0x8020003F +#define BG_E_INVALID_CREDENTIALS 0x80200040 +#define BG_E_RECORD_DELETED 0x80200042 +#define BG_E_UPNP_ERROR 0x80200045 +#define BG_E_PEERCACHING_DISABLED 0x80200047 +#define BG_E_BUSYCACHERECORD 0x80200048 +#define BG_E_TOO_MANY_JOBS_PER_USER 0x80200049 +#define BG_E_TOO_MANY_JOBS_PER_MACHINE 0x80200050 +#define BG_E_TOO_MANY_FILES_IN_JOB 0x80200051 +#define BG_E_TOO_MANY_RANGES_IN_FILE 0x80200052 +#define BG_E_VALIDATION_FAILED 0x80200053 +#define BG_E_MAXDOWNLOAD_TIMEOUT 0x80200054 + +#endif /* #ifndef __WINE_BITMSG_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bluetoothapis.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bluetoothapis.h new file mode 100644 index 0000000..fd90b73 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bluetoothapis.h @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2016 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __BLUETOOTHAPIS_H +#define __BLUETOOTHAPIS_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef ULONGLONG BTH_ADDR; + +typedef struct _BLUETOOTH_ADDRESS { + union { + BTH_ADDR ullLong; + BYTE rgBytes[6]; + } DUMMYUNIONNAME; +} BLUETOOTH_ADDRESS_STRUCT; + +#define BLUETOOTH_ADDRESS BLUETOOTH_ADDRESS_STRUCT +#define BLUETOOTH_NULL_ADDRESS ((ULONGLONG) 0x0) + +#define BLUETOOTH_MAX_NAME_SIZE (248) +#define BLUETOOTH_MAX_PASSKEY_SIZE (16) +#define BLUETOOTH_MAX_PASSKEY_BUFFER_SIZE (BLUETOOTH_MAX_PASSKEY_SIZE + 1) + +#define BLUETOOTH_SERVICE_DISABLE 0x00 +#define BLUETOOTH_SERVICE_ENABLE 0x01 +#define BLUETOOTH_SERVICE_MASK (BLUETOOTH_ENABLE_SERVICE | BLUETOOTH_DISABLE_SERVICE) + +typedef struct _BLUETOOTH_FIND_RADIO_PARAMS { + DWORD dwSize; +} BLUETOOTH_FIND_RADIO_PARAMS; + +typedef struct _BLUETOOTH_RADIO_INFO { + DWORD dwSize; + BLUETOOTH_ADDRESS address; + WCHAR szName[BLUETOOTH_MAX_NAME_SIZE]; + ULONG ulClassofDevice; + USHORT lmpSubversion; + USHORT manufacturer; +} BLUETOOTH_RADIO_INFO, *PBLUETOOTH_RADIO_INFO; + +typedef struct _BLUETOOTH_DEVICE_INFO { + DWORD dwSize; + BLUETOOTH_ADDRESS Address; + ULONG ulClassofDevice; + BOOL fConnected; + BOOL fRemembered; + BOOL fAuthenticated; + SYSTEMTIME stLastSeen; + SYSTEMTIME stLastUsed; + WCHAR szName[BLUETOOTH_MAX_NAME_SIZE]; +} BLUETOOTH_DEVICE_INFO, BLUETOOTH_DEVICE_INFO_STRUCT, *PBLUETOOTH_DEVICE_INFO; + +typedef struct _BLUETOOTH_DEVICE_SEARCH_PARAMS { + DWORD dwSize; + BOOL fReturnAuthenticated; + BOOL fReturnRemembered; + BOOL fReturnUnknown; + BOOL fReturnConnected; + BOOL fIssueInquiry; + UCHAR cTimeoutMultiplier; + HANDLE hRadio; +} BLUETOOTH_DEVICE_SEARCH_PARAMS; + +typedef HANDLE HBLUETOOTH_AUTHENTICATION_REGISTRATION; +typedef HANDLE HBLUETOOTH_CONTAINER_ELEMENT; +typedef HANDLE HBLUETOOTH_DEVICE_FIND; +typedef HANDLE HBLUETOOTH_RADIO_FIND; + +typedef struct _BLUETOOTH_COD_PAIRS { + ULONG ulCODMask; + const WCHAR *pcszDescription; +} BLUETOOTH_COD_PAIRS; + +typedef BOOL (WINAPI *PFN_DEVICE_CALLBACK)(void *pvParam, const BLUETOOTH_DEVICE_INFO *pDevice); + +typedef struct _BLUETOOTH_SELECT_DEVICE_PARAMS { + DWORD dwSize; + ULONG cNumOfClasses; + BLUETOOTH_COD_PAIRS *prgClassOfDevices; + WCHAR *pszInfo; + HWND hwndParent; + BOOL fForceAuthentication; + BOOL fShowAuthenticated; + BOOL fShowRemembered; + BOOL fShowUnknown; + BOOL fAddNewDeviceWizard; + BOOL fSkipServicesPage; + PFN_DEVICE_CALLBACK pfnDeviceCallback; + void *pvParam; + DWORD cNumDevices; + PBLUETOOTH_DEVICE_INFO pDevices; +} BLUETOOTH_SELECT_DEVICE_PARAMS; + +typedef BOOL (WINAPI *PFN_AUTHENTICATION_CALLBACK)(void *, PBLUETOOTH_DEVICE_INFO); + +typedef struct _SDP_ELEMENT_DATA { + SDP_TYPE type; + SDP_SPECIFICTYPE specificType; + union { + SDP_LARGE_INTEGER_16 int128; + LONGLONG int64; + LONG int32; + SHORT int16; + CHAR int8; + + SDP_ULARGE_INTEGER_16 uint128; + ULONGLONG uint64; + ULONG uint32; + USHORT uint16; + UCHAR uint8; + + UCHAR booleanVal; + + GUID uuid128; + ULONG uuid32; + USHORT uuid16; + + struct { + BYTE *value; + ULONG length; + } string; + + struct { + BYTE *value; + ULONG length; + } url; + + struct { + BYTE *value; + ULONG length; + } sequence; + + struct { + BYTE *value; + ULONG length; + } alternative; + } data; +} SDP_ELEMENT_DATA, *PSDP_ELEMENT_DATA; + +typedef struct _SDP_STRING_TYPE_DATA { + USHORT encoding; + USHORT mibeNum; + USHORT attributeId; +} SDP_STRING_TYPE_DATA, *PSDP_STRING_TYPE_DATA; + +typedef BOOL (CALLBACK *PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK)( + ULONG uAttribId, + BYTE *pValueStream, + ULONG cbStreamSize, + void *pvParam); + +DWORD WINAPI BluetoothAuthenticateDevice(HWND, HANDLE, BLUETOOTH_DEVICE_INFO *, WCHAR *, ULONG); +DWORD WINAPI BluetoothAuthenticateMultipleDevices(HWND, HANDLE, DWORD, BLUETOOTH_DEVICE_INFO *); +BOOL WINAPI BluetoothDisplayDeviceProperties(HWND, BLUETOOTH_DEVICE_INFO *); +BOOL WINAPI BluetoothEnableDiscovery(HANDLE, BOOL); +BOOL WINAPI BluetoothEnableIncomingConnections(HANDLE, BOOL); +DWORD WINAPI BluetoothEnumerateInstalledServices(HANDLE, BLUETOOTH_DEVICE_INFO *, DWORD *, GUID *); +BOOL WINAPI BluetoothFindDeviceClose(HBLUETOOTH_DEVICE_FIND); +HBLUETOOTH_DEVICE_FIND WINAPI BluetoothFindFirstDevice(BLUETOOTH_DEVICE_SEARCH_PARAMS *, BLUETOOTH_DEVICE_INFO *); +HBLUETOOTH_RADIO_FIND WINAPI BluetoothFindFirstRadio(BLUETOOTH_FIND_RADIO_PARAMS *, HANDLE *); +BOOL WINAPI BluetoothFindNextDevice(HBLUETOOTH_DEVICE_FIND, BLUETOOTH_DEVICE_INFO *); +BOOL WINAPI BluetoothFindNextRadio(HBLUETOOTH_RADIO_FIND, HANDLE *); +BOOL WINAPI BluetoothFindRadioClose(HBLUETOOTH_RADIO_FIND); +DWORD WINAPI BluetoothGetDeviceInfo(HANDLE, BLUETOOTH_DEVICE_INFO *); +DWORD WINAPI BluetoothGetRadioInfo(HANDLE, PBLUETOOTH_RADIO_INFO); +BOOL WINAPI BluetoothIsConnectable(HANDLE); +BOOL WINAPI BluetoothIsDiscoverable(HANDLE); +DWORD WINAPI BluetoothRegisterForAuthentication(BLUETOOTH_DEVICE_INFO *, HBLUETOOTH_AUTHENTICATION_REGISTRATION *, PFN_AUTHENTICATION_CALLBACK, void *); +DWORD WINAPI BluetoothRemoveDevice(BLUETOOTH_ADDRESS *); +#define BluetoothEnumAttributes BluetoothSdpEnumAttributes +BOOL WINAPI BluetoothSdpEnumAttributes(BYTE *, ULONG, PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK, void *); +DWORD WINAPI BluetoothSdpGetAttributeValue(BYTE *, ULONG, USHORT, PSDP_ELEMENT_DATA); +DWORD WINAPI BluetoothSdpGetContainerElementData(BYTE *, ULONG, HBLUETOOTH_CONTAINER_ELEMENT *, PSDP_ELEMENT_DATA); +DWORD WINAPI BluetoothSdpGetElementData(BYTE *, ULONG, PSDP_ELEMENT_DATA); +DWORD WINAPI BluetoothSdpGetString(BYTE *, ULONG, PSDP_STRING_TYPE_DATA, USHORT, WCHAR *, ULONG *); +BOOL WINAPI BluetoothSelectDevices(BLUETOOTH_SELECT_DEVICE_PARAMS *); +BOOL WINAPI BluetoothSelectDevicesFree(BLUETOOTH_SELECT_DEVICE_PARAMS *); +DWORD WINAPI BluetoothSendAuthenticationResponse(HANDLE, BLUETOOTH_DEVICE_INFO *, WCHAR *); +DWORD WINAPI BluetoothSetServiceState(HANDLE, BLUETOOTH_DEVICE_INFO *, GUID *, DWORD); +BOOL WINAPI BluetoothUnregisterAuthentication(HBLUETOOTH_AUTHENTICATION_REGISTRATION); +DWORD WINAPI BluetoothUpdateDeviceRecord(BLUETOOTH_DEVICE_INFO *); + +#ifdef __cplusplus +} +#endif + +#endif /* __BLUETOOTHAPIS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bthsdpdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bthsdpdef.h new file mode 100644 index 0000000..4647850 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/bthsdpdef.h @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2016 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __BTHSDPDEF_H__ +#define __BTHSDPDEF_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct SDP_LARGE_INTEGER_16 { + ULONGLONG LowPart; + LONGLONG HighPart; +} SDP_LARGE_INTEGER_16, *PSDP_LARGE_INTEGER_16, *LPSDP_LARGE_INTEGER_16; + +typedef struct SDP_ULARGE_INTEGER_16 { + ULONGLONG LowPart; + ULONGLONG HighPart; +} SDP_ULARGE_INTEGER_16, *PSDP_ULARGE_INTEGER_16, *LPSDP_ULARGE_INTEGER_16; + +typedef enum NodeContainerType { + NodeContainerTypeSequence, + NodeContainerTypeAlternative +} NodeContainerType; + +typedef USHORT SDP_ERROR, *PSDP_ERROR; + +typedef enum SDP_TYPE { + SDP_TYPE_NIL = 0x00, + SDP_TYPE_UINT = 0x01, + SDP_TYPE_INT = 0x02, + SDP_TYPE_UUID = 0x03, + SDP_TYPE_STRING = 0x04, + SDP_TYPE_BOOLEAN = 0x05, + SDP_TYPE_SEQUENCE = 0x06, + SDP_TYPE_ALTERNATIVE = 0x07, + SDP_TYPE_URL = 0x08, + SDP_TYPE_CONTAINER = 0x20 +} SDP_TYPE; + +typedef enum SDP_SPECIFICTYPE { + SDP_ST_NONE = 0x0000, + SDP_ST_UINT8 = 0x0010, + SDP_ST_UINT16 = 0x0110, + SDP_ST_UINT32 = 0x0210, + SDP_ST_UINT64 = 0x0310, + SDP_ST_UINT128 = 0x0410, + SDP_ST_INT8 = 0x0020, + SDP_ST_INT16 = 0x0120, + SDP_ST_INT32 = 0x0220, + SDP_ST_INT64 = 0x0320, + SDP_ST_INT128 = 0x0420, + SDP_ST_UUID16 = 0x0130, + SDP_ST_UUID32 = 0x0220, + SDP_ST_UUID128 = 0x0430 +} SDP_SPECIFICTYPE; + +typedef struct _SdpAttributeRange { + USHORT minAttribute; + USHORT maxAttribute; +} SdpAttributeRange; + +typedef union SdpQueryUuidUnion { + GUID uuid128; + ULONG uuid32; + USHORT uuid16; +} SdpQueryUuidUnion; + +typedef struct _SdpQueryUuid { + SdpQueryUuidUnion u; + USHORT uuidType; +} SdpQueryUuid; + +#ifdef __cplusplus +} +#endif + +#endif /* __BTHSDPDEF_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cderr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cderr.h new file mode 100644 index 0000000..ea5ef05 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cderr.h @@ -0,0 +1,71 @@ +/* + * Copyright (C) 1999 Bertho Stultiens + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_CDERR_H +#define __WINE_CDERR_H + +/* General error codes */ +#define CDERR_DIALOGFAILURE 0xFFFF +#define CDERR_GENERALCODES 0x0000 +#define CDERR_STRUCTSIZE 0x0001 +#define CDERR_INITIALIZATION 0x0002 +#define CDERR_NOTEMPLATE 0x0003 +#define CDERR_NOHINSTANCE 0x0004 +#define CDERR_LOADSTRFAILURE 0x0005 +#define CDERR_FINDRESFAILURE 0x0006 +#define CDERR_LOADRESFAILURE 0x0007 +#define CDERR_LOCKRESFAILURE 0x0008 +#define CDERR_MEMALLOCFAILURE 0x0009 +#define CDERR_MEMLOCKFAILURE 0x000A +#define CDERR_NOHOOK 0x000B +#define CDERR_REGISTERMSGFAIL 0x000C + +/* Printer dialog error codes */ +#define PDERR_PRINTERCODES 0x1000 +#define PDERR_SETUPFAILURE 0x1001 +#define PDERR_PARSEFAILURE 0x1002 +#define PDERR_RETDEFFAILURE 0x1003 +#define PDERR_LOADDRVFAILURE 0x1004 +#define PDERR_GETDEVMODEFAIL 0x1005 +#define PDERR_INITFAILURE 0x1006 +#define PDERR_NODEVICES 0x1007 +#define PDERR_NODEFAULTPRN 0x1008 +#define PDERR_DNDMMISMATCH 0x1009 +#define PDERR_CREATEICFAILURE 0x100A +#define PDERR_PRINTERNOTFOUND 0x100B +#define PDERR_DEFAULTDIFFERENT 0x100C + +/* Chose font error codes */ +#define CFERR_CHOOSEFONTCODES 0x2000 +#define CFERR_NOFONTS 0x2001 +#define CFERR_MAXLESSTHANMIN 0x2002 + +/* File{Open,Save} error codes */ +#define FNERR_FILENAMECODES 0x3000 +#define FNERR_SUBCLASSFAILURE 0x3001 +#define FNERR_INVALIDFILENAME 0x3002 +#define FNERR_BUFFERTOOSMALL 0x3003 + +/* Find/Replace error codes */ +#define FRERR_FINDREPLACECODES 0x4000 +#define FRERR_BUFFERLENGTHZERO 0x4001 + +/* Choose color error codes */ +#define CCERR_CHOOSECOLORCODES 0x5000 + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cfgmgr32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cfgmgr32.h new file mode 100644 index 0000000..b8def60 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cfgmgr32.h @@ -0,0 +1,222 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _CFGMGR32_H_ +#define _CFGMGR32_H_ + +/* FIXME: #include */ + +#ifndef GUID_DEFINED +# include +#endif + +#include + +/* cfgmgr32 doesn't use the normal convention, it adds an underscore before A/W */ +#ifdef WINE_NO_UNICODE_MACROS +# define DECL_WINELIB_CFGMGR32_TYPE_AW(type) /* nothing */ +#else +# define DECL_WINELIB_CFGMGR32_TYPE_AW(type) typedef WINELIB_NAME_AW(type##_) type; +#endif + +#define CMAPI +typedef DWORD CONFIGRET; + +#define CR_SUCCESS 0x00 +#define CR_DEFAULT 0x01 +#define CR_OUT_OF_MEMORY 0x02 +#define CR_INVALID_POINTER 0x03 +#define CR_INVALID_FLAG 0x04 +#define CR_INVALID_DEVNODE 0x05 +#define CR_INVALID_DEVINST CR_INVALID_DEVNODE +#define CR_INVALID_RES_DES 0x06 +#define CR_INVALID_LOG_CONF 0x07 +#define CR_INVALID_ARBITRATOR 0x08 +#define CR_INVALID_NODELIST 0x09 +#define CR_DEVNODE_HAS_REQS 0x0a +#define CR_DEVINST_HAS_REQS CR_DEVNODE_HAS_REQS +#define CR_INVALID_RESOURCEID 0x0b +#define CR_DLVXD_NOT_FOUND 0x0c +#define CR_NO_SUCH_DEVNODE 0x0d +#define CR_NO_SUCH_DEVINST CR_NO_SUCH_DEVNODE +#define CR_NO_MORE_LOG_CONF 0x0e +#define CR_NO_MORE_RES_DES 0x0f +#define CR_ALREADY_SUCH_DEVNODE 0x10 +#define CR_ALREADY_SUCH_DEVINST CR_ALREADY_SUCH_DEVNODE +#define CR_INVALID_RANGE_LIST 0x11 +#define CR_INVALID_RANGE 0x12 +#define CR_FAILURE 0x13 +#define CR_NO_SUCH_LOGICAL_DEV 0x14 +#define CR_CREATE_BLOCKED 0x15 +#define CR_NOT_SYSTEM_VM 0x16 +#define CR_REMOVE_VETOED 0x17 +#define CR_APM_VETOED 0x18 +#define CR_INVALID_LOAD_TYPE 0x19 +#define CR_BUFFER_SMALL 0x1a +#define CR_NO_ARBITRATOR 0x1b +#define CR_NO_REGISTRY_HANDLE 0x1c +#define CR_REGISTRY_ERROR 0x1d +#define CR_INVALID_DEVICE_ID 0x1e +#define CR_INVALID_DATA 0x1f +#define CR_INVALID_API 0x20 +#define CR_DEVLOADER_NOT_READY 0x21 +#define CR_NEED_RESTART 0x22 +#define CR_NO_MORE_HW_PROFILES 0x23 +#define CR_DEVICE_NOT_THERE 0x24 +#define CR_NO_SUCH_VALUE 0x25 +#define CR_WRONG_TYPE 0x26 +#define CR_INVALID_PRIORITY 0x27 +#define CR_NOT_DISABLEABLE 0x28 +#define CR_FREE_RESOURCES 0x29 +#define CR_QUERY_VETOED 0x2a +#define CR_CANT_SHARE_IRQ 0x2b +#define CR_NO_DEPENDENT 0x2c +#define CR_SAME_RESOURCES 0x2d +#define CR_NO_SUCH_REGISTRY_KEY 0x2e +#define CR_INVALID_MACHINENAME 0x2f +#define CR_REMOTE_COMM_FAILURE 0x30 +#define CR_MACHINE_UNAVAILABLE 0x31 +#define CR_NO_CM_SERVICES 0x32 +#define CR_ACCESS_DENIED 0x33 +#define CR_CALL_NOT_IMPLEMENTED 0x34 +#define CR_INVALID_PROPERTY 0x35 +#define CR_DEVICE_INTERFACE_ACTIVE 0x36 +#define CR_NO_SUCH_DEVICE_INTERFACE 0x37 +#define CR_INVALID_REFERENCE_STRING 0x38 +#define CR_INVALID_CONFLICT_LIST 0x39 +#define CR_INVALID_INDEX 0x3a +#define CR_INVALID_STRUCTURE_SIZE 0x3b +#define NUM_CR_RESULTS 0x3c + +#define MAX_DEVICE_ID_LEN 200 +#define MAX_DEVNODE_ID_LEN MAX_DEVICE_ID_LEN + +#define MAX_CLASS_NAME_LEN 32 +#define MAX_GUID_STRING_LEN 39 +#define MAX_PROFILE_LEN 80 + +#define CM_DRP_DEVICEDESC 0x01 +#define CM_DRP_HARDWAREID 0x02 +#define CM_DRP_COMPATIBLEIDS 0x03 +#define CM_DRP_UNUSED0 0x04 +#define CM_DRP_SERVICE 0x05 +#define CM_DRP_UNUSED1 0x06 +#define CM_DRP_UNUSED2 0x07 +#define CM_DRP_CLASS 0x08 +#define CM_DRP_CLASSGUID 0x09 +#define CM_DRP_DRIVER 0x0A +#define CM_DRP_CONFIGFLAGS 0x0B +#define CM_DRP_MFG 0x0C +#define CM_DRP_FRIENDLYNAME 0x0D +#define CM_DRP_LOCATION_INFORMATION 0x0E +#define CM_DRP_PHYSICAL_DEVICE_OBJECT_NAME 0x0F +#define CM_DRP_CAPABILITIES 0x10 +#define CM_DRP_UI_NUMBER 0x11 +#define CM_DRP_UPPERFILTERS 0x12 +#define CM_DRP_LOWERFILTERS 0x13 +#define CM_DRP_BUSTYPEGUID 0x14 +#define CM_DRP_LEGACYBUSTYPE 0x15 +#define CM_DRP_BUSNUMBER 0x16 +#define CM_DRP_ENUMERATOR_NAME 0x17 +#define CM_DRP_SECURITY 0x18 +#define CM_DRP_SECURITY_SDS 0x19 +#define CM_DRP_DEVTYPE 0x1A +#define CM_DRP_EXCLUSIVE 0x1B +#define CM_DRP_CHARACTERISTICS 0x1C +#define CM_DRP_ADDRESS 0x1D +#define CM_DRP_UI_NUMBER_DESC_FORMAT 0x1E +#define CM_DRP_DEVICE_POWER_DATA 0x1F +#define CM_DRP_REMOVAL_POLICY 0x20 +#define CM_DRP_REMOVAL_POLICY_HW_DEFAULT 0x21 +#define CM_DRP_REMOVAL_POLICY_OVERRIDE 0x22 +#define CM_DRP_INSTALL_STATE 0x23 +#define CM_DRP_LOCATION_PATHS 0x24 +#define CM_DRP_BASE_CONTAINERID 0x25 +#define CM_DRP_MIN 0x01 +#define CM_DRP_MAX 0x25 + +#define CM_CRP_UPPERFILTERS CM_DRP_UPPERFILTERS +#define CM_CRP_LOWERFILTERS CM_DRP_LOWERFILTERS +#define CM_CRP_SECURITY CM_DRP_SECURITY +#define CM_CRP_SECURITY_SDS CM_DRP_SECURITY_SDS +#define CM_CRP_DEVTYPE CM_DRP_DEVTYPE +#define CM_CRP_EXCLUSIVE CM_DRP_EXCLUSIVE +#define CM_CRP_CHARACTERISTICS CM_DRP_CHARACTERISTICS +#define CM_CRP_MIN CM_DRP_MIN +#define CM_CRP_MAX CM_DRP_MAX + +#define RegDisposition_OpenAlways 0x00 +#define RegDisposition_OpenExisting 0x01 + +#define CM_REGISTRY_HARDWARE 0x0000 +#define CM_REGISTRY_SOFTWARE 0x0001 +#define CM_REGISTRY_USER 0x0100 +#define CM_REGISTRY_CONFIG 0x0200 + +typedef DWORD DEVINST, *PDEVINST; +typedef DWORD DEVNODE, *PDEVNODE; +typedef HANDLE HMACHINE, *PHMACHINE; +typedef CHAR *DEVNODEID_A, *DEVINSTID_A; +typedef WCHAR *DEVNODEID_W, *DEVINSTID_W; +typedef ULONG REGDISPOSITION; + +DECL_WINELIB_CFGMGR32_TYPE_AW(DEVNODEID) +DECL_WINELIB_CFGMGR32_TYPE_AW(DEVINSTID) + +#ifdef __cplusplus +extern "C" { +#endif + +CMAPI CONFIGRET WINAPI CM_Connect_MachineA(PCSTR,PHMACHINE); +CMAPI CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR,PHMACHINE); +#define CM_Connect_Machine WINELIB_NAME_AW(CM_Connect_Machine) +CMAPI CONFIGRET WINAPI CM_Create_DevNodeA(PDEVINST,DEVINSTID_A,DEVINST,ULONG); +CMAPI CONFIGRET WINAPI CM_Create_DevNodeW(PDEVINST,DEVINSTID_W,DEVINST,ULONG); +#define CM_Create_DevNode WINELIB_NAME_AW(CM_Create_DevNode) +CMAPI CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE); +CMAPI CONFIGRET WINAPI CM_Get_Child(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags); +CMAPI CONFIGRET WINAPI CM_Get_Child_Ex(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine); +CMAPI CONFIGRET WINAPI CM_Get_Device_IDA(DEVINST,PSTR,ULONG,ULONG); +CMAPI CONFIGRET WINAPI CM_Get_Device_IDW(DEVINST,PWSTR,ULONG,ULONG); +#define CM_Get_Device_ID WINELIB_NAME_AW(CM_Get_Device_ID) +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ExA(DEVINST,PSTR,ULONG,ULONG,HMACHINE); +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ExW(DEVINST,PWSTR,ULONG,ULONG,HMACHINE); +#define CM_Get_Device_ID_Ex WINELIB_NAME_AW(CM_Get_Device_ID_Ex) +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListA(PCSTR,PCHAR,ULONG,ULONG); +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListW(PCWSTR,PWCHAR,ULONG,ULONG); +#define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List) +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExA(PCSTR,PCHAR,ULONG,ULONG,HMACHINE); +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExW(PCWSTR,PWCHAR,ULONG,ULONG,HMACHINE); +#define CM_Get_Device_ID_List_Ex WINELIB_NAME_AW(CM_Get_Device_ID_List_Ex) +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size(PULONG,DEVINST,ULONG); +CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size_Ex(PULONG,DEVINST,ULONG,HMACHINE); +CMAPI CONFIGRET WINAPI CM_Get_Sibling_Ex(PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags, HMACHINE hMachine); +CMAPI WORD WINAPI CM_Get_Version(void); +CMAPI CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST,DEVINSTID_A,ULONG); +CMAPI CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST,DEVINSTID_W,ULONG); +#define CM_Locate_DevNode WINELIB_NAME_AW(CM_Locate_DevNode) +CMAPI CONFIGRET WINAPI CM_Open_DevNode_Key(DEVINST dnDevInst, REGSAM access, ULONG ulHardwareProfile, + REGDISPOSITION disposition, PHKEY phkDevice, ULONG ulFlags); + +#ifdef __cplusplus +} +#endif + +#undef DECL_WINELIB_CFGMGR32_TYPE_AW + +#endif /* _CFGMGR32_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cguid.h new file mode 100644 index 0000000..bacf64c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cguid.h @@ -0,0 +1,110 @@ +/* + * Copyright (C) 2000 Peter Hunnisett + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __CGUID_H__ +#define __CGUID_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +extern const IID GUID_NULL; +extern const IID IID_IRpcChannel; +extern const IID IID_IRpcStub; +extern const IID IID_IStubManager; +extern const IID IID_IRpcProxy; +extern const IID IID_IProxyManager; +extern const IID IID_IPSFactory; +extern const IID IID_IInternalMoniker; +extern const IID IID_IDfReserved1; +extern const IID IID_IDfReserved2; +extern const IID IID_IDfReserved3; +extern const CLSID CLSID_StdMarshal; +extern const CLSID CLSID_AggStdMarshal; +extern const CLSID CLSID_StdAsyncActManager; +extern const IID IID_IStub; +extern const IID IID_IProxy; +extern const IID IID_IEnumGeneric; +extern const IID IID_IEnumHolder; +extern const IID IID_IEnumCallback; +extern const IID IID_IOleManager; +extern const IID IID_IOlePresObj; +extern const IID IID_IDebug; +extern const IID IID_IDebugStream; +extern const CLSID CLSID_PSGenObject; +extern const CLSID CLSID_PSClientSite; +extern const CLSID CLSID_PSClassObject; +extern const CLSID CLSID_PSInPlaceActive; +extern const CLSID CLSID_PSInPlaceFrame; +extern const CLSID CLSID_PSDragDrop; +extern const CLSID CLSID_PSBindCtx; +extern const CLSID CLSID_PSEnumerators; +extern const CLSID CLSID_StaticMetafile; +extern const CLSID CLSID_StaticDib; +extern const CLSID CID_CDfsVolume; +extern const CLSID CLSID_DCOMAccessControl; +extern const CLSID CLSID_StdGlobalInterfaceTable; +extern const CLSID CLSID_ComBinding; +extern const CLSID CLSID_StdEvent; +extern const CLSID CLSID_ManualResetEvent; +extern const CLSID CLSID_SynchronizeContainer; +extern const CLSID CLSID_CCDFormKrnl; +extern const CLSID CLSID_CCDPropertyPage; +extern const CLSID CLSID_CCDFormDialog; +extern const CLSID CLSID_CCDCommandButton; +extern const CLSID CLSID_CCDComboBox; +extern const CLSID CLSID_CCDTextBox; +extern const CLSID CLSID_CCDCheckBox; +extern const CLSID CLSID_CCDLabel; +extern const CLSID CLSID_CCDOptionButton; +extern const CLSID CLSID_CCDListBox; +extern const CLSID CLSID_CCDScrollBar; +extern const CLSID CLSID_CCDGroupBox; +extern const CLSID CLSID_CCDGeneralPropertyPage; +extern const CLSID CLSID_CCDGenericPropertyPage; +extern const CLSID CLSID_CCDFontPropertyPage; +extern const CLSID CLSID_CCDColorPropertyPage; +extern const CLSID CLSID_CCDLabelPropertyPage; +extern const CLSID CLSID_CCDCheckBoxPropertyPage; +extern const CLSID CLSID_CCDTextBoxPropertyPage; +extern const CLSID CLSID_CCDOptionButtonPropertyPage; +extern const CLSID CLSID_CCDListBoxPropertyPage; +extern const CLSID CLSID_CCDCommandButtonPropertyPage; +extern const CLSID CLSID_CCDComboBoxPropertyPage; +extern const CLSID CLSID_CCDScrollBarPropertyPage; +extern const CLSID CLSID_CCDGroupBoxPropertyPage; +extern const CLSID CLSID_CCDXObjectPropertyPage; +extern const CLSID CLSID_CStdPropertyFrame; +extern const CLSID CLSID_CFormPropertyPage; +extern const CLSID CLSID_CGridPropertyPage; +extern const CLSID CLSID_CWSJArticlePage; +extern const CLSID CLSID_CSystemPage; +extern const CLSID CLSID_IdentityUnmarshal; +extern const CLSID CLSID_InProcFreeMarshaler; +extern const CLSID CLSID_Picture_Metafile; +extern const CLSID CLSID_Picture_EnhMetafile; +extern const CLSID CLSID_Picture_Dib; +extern const CLSID CLSID_GlobalOptions; +extern const GUID GUID_TRISTATE; + + +#ifdef __cplusplus +} +#endif + +#endif /* __CGUID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/chprst.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/chprst.idl new file mode 100644 index 0000000..37ec957 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/chprst.idl @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2013 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a93-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IChapteredRowset : IUnknown +{ + [local] + HRESULT AddRefChapter([in] HCHAPTER chapter, + [out] DBREFCOUNT *refcount); + + [call_as(AddRefChapter)] + HRESULT RemoteAddRefChapter([in] HCHAPTER chapter, + [out] DBREFCOUNT *refcount, + [out] IErrorInfo **errorinfo); + + [local] + HRESULT ReleaseChapter([in] HCHAPTER chapter, + [out] DBREFCOUNT *refcount); + + [call_as(ReleaseChapter)] + HRESULT RemoteReleaseChapter([in] HCHAPTER chapter, + [out] DBREFCOUNT *refcount, + [out] IErrorInfo **errorinfo); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cierror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cierror.h new file mode 100644 index 0000000..049985b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cierror.h @@ -0,0 +1,44 @@ +/* + * Copyright 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_CIERROR_H__ +#define __WINE_CIERROR_H__ + +#define CI_E_ALREADY_INITIALIZED 0x8004180a +#define CI_E_NOT_INITIALIZED 0x8004180b +#define CI_E_BUFFERTOOSMALL 0x8004180c +#define CI_E_PROPERTY_NOT_CACHED 0x8004180d +#define CI_E_INVALID_STATE 0x8004180f +#define CI_E_FILTERING_DISABLED 0x80041810 +#define CI_E_DISK_FULL 0x80041811 +#define CI_E_SHUTDOWN 0x80041812 +#define CI_E_WORKID_NOTVALID 0x80041813 +#define CI_E_NOT_FOUND 0x80041815 +#define CI_E_USE_DEFAULT_PID 0x80041816 +#define CI_E_DUPLICATE_NOTIFICATION 0x80041817 +#define CI_E_UPDATES_DISABLED 0x80041818 +#define CI_E_INVALID_FLAGS_COMBINATION 0x80041819 +#define CI_E_OUTOFSEQ_INCREMENT_DATA 0x8004181a +#define CI_E_SHARING_VIOLATION 0x8004181b +#define CI_E_LOGON_FAILURE 0x8004181c +#define CI_E_NO_CATALOG 0x8004181d +#define CI_E_STRANGE_PAGEORSECTOR_SIZE 0x8004181e +#define CI_E_TIMEOUT 0x8004181f +#define CI_E_NOT_RUNNING 0x80041820 + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/clusapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/clusapi.h new file mode 100644 index 0000000..4ab07cc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/clusapi.h @@ -0,0 +1,57 @@ +/* + * Copyright 2006 James Hawkins + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_CLUSAPI_H +#define __WINE_CLUSAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _HCLUSTER *HCLUSTER; +typedef struct _HCLUSENUM *HCLUSENUM; + + +typedef struct _CLUSTERVERSIONINFO +{ + DWORD dwVersionInfoSize; + WORD MajorVersion; + WORD MinorVersion; + WORD BuildNumber; + WCHAR szVendorId[64]; + WCHAR szCSDVersion[64]; + DWORD dwClusterHighestVersion; + DWORD dwClusterLowestVersion; + DWORD dwFlags; + DWORD dwReserved; +} CLUSTERVERSIONINFO, *LPCLUSTERVERSIONINFO; + +BOOL WINAPI CloseCluster(HCLUSTER hCluster); +DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName, + LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo); +DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState); +HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName); +HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType); +DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName); +DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_CLUSAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmdbas.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmdbas.idl new file mode 100644 index 0000000..5ac9bb4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmdbas.idl @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a63-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ICommand : IUnknown +{ + [local] + HRESULT Cancel(); + + [call_as(Cancel)] + HRESULT RemoteCancel([out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT Execute([in, annotation("__in_opt")] IUnknown *pUnkOuter, + [in] REFIID riid, + [in, out, annotation("__inout_opt")] DBPARAMS *pParams, + [out, annotation("__out_opt")] DBROWCOUNT *pcRowsAffected, + [out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppRowset); + + [call_as(Execute)] + HRESULT RemoteExecute([in] IUnknown *pUnkOuter, + [in] REFIID riid, + [in] HACCESSOR hAccessor, + [in] DB_UPARAMS cParamSets, + [in, unique] GUID *pGuid, + [in] ULONG ulGuidOffset, + [in, unique] RMTPACK *pInputParams, + [in, out, unique] RMTPACK *pOutputParams, + [in] DBCOUNTITEM cBindings, + [in, unique, size_is((ULONG)cBindings)] DBBINDING *rgBindings, + [in, out, unique, size_is((ULONG)cBindings)] DBSTATUS *rgStatus, + [in, out, unique] DBROWCOUNT *pcRowsAffected, + [in, out, unique, iid_is(riid)] IUnknown **ppRowset); + + [local] + HRESULT GetDBSession([in] REFIID riid, + [out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSession); + + [call_as(GetDBSession)] + HRESULT RemoteGetDBSession([in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppSession, + [out] IErrorInfo **ppErrorInfoRem); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmdtxt.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmdtxt.idl new file mode 100644 index 0000000..1d68d7a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmdtxt.idl @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a27-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ICommandText : ICommand +{ + [local] + HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect, + [out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand); + + [call_as(GetCommandText)] + HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect, + [out] LPOLESTR *ppwszCommand, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT SetCommandText([in] REFGUID rguidDialect, + [in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand); + + [call_as(SetCommandText)] + HRESULT RemoteSetCommandText([in] REFGUID rguidDialect, + [in, unique] LPCOLESTR pwszCommand, + [out] IErrorInfo **ppErrorInfoRem); + +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmnquery.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmnquery.h new file mode 100644 index 0000000..7aa90c7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmnquery.h @@ -0,0 +1,364 @@ +/*** Autogenerated by WIDL 2.18 from cmnquery.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __cmnquery_h__ +#define __cmnquery_h__ + +/* Forward declarations */ + +#ifndef __IPersistQuery_FWD_DEFINED__ +#define __IPersistQuery_FWD_DEFINED__ +typedef interface IPersistQuery IPersistQuery; +#ifdef __cplusplus +interface IPersistQuery; +#endif /* __cplusplus */ +#endif + +#ifndef __ICommonQuery_FWD_DEFINED__ +#define __ICommonQuery_FWD_DEFINED__ +typedef interface ICommonQuery ICommonQuery; +#ifdef __cplusplus +interface ICommonQuery; +#endif /* __cplusplus */ +#endif + +#ifndef __CommonQuery_FWD_DEFINED__ +#define __CommonQuery_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CommonQuery CommonQuery; +#else +typedef struct CommonQuery CommonQuery; +#endif /* defined __cplusplus */ +#endif /* defined __CommonQuery_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IPersistQuery interface + */ +#ifndef __IPersistQuery_INTERFACE_DEFINED__ +#define __IPersistQuery_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPersistQuery, 0x1a3114b8, 0xa62e, 0x11d0, 0xa6,0xc5, 0x00,0xa0,0xc9,0x06,0xaf,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1a3114b8-a62e-11d0-a6c5-00a0c906af45") +IPersistQuery : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE WriteString( + LPCWSTR section, + LPCWSTR name, + LPCWSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadString( + LPCWSTR section, + LPCWSTR name, + LPWSTR buffer, + INT buflen) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteInt( + LPCWSTR section, + LPCWSTR name, + INT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadInt( + LPCWSTR section, + LPCWSTR name, + INT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteStruct( + LPCWSTR section, + LPCWSTR name, + LPVOID value, + DWORD size) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadStruct( + LPCWSTR section, + LPCWSTR name, + LPVOID buffer, + DWORD buflen) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistQuery, 0x1a3114b8, 0xa62e, 0x11d0, 0xa6,0xc5, 0x00,0xa0,0xc9,0x06,0xaf,0x45) +#endif +#else +typedef struct IPersistQueryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistQuery *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistQuery *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistQuery *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistQuery *This, + CLSID *pClassID); + + /*** IPersistQuery methods ***/ + HRESULT (STDMETHODCALLTYPE *WriteString)( + IPersistQuery *This, + LPCWSTR section, + LPCWSTR name, + LPCWSTR value); + + HRESULT (STDMETHODCALLTYPE *ReadString)( + IPersistQuery *This, + LPCWSTR section, + LPCWSTR name, + LPWSTR buffer, + INT buflen); + + HRESULT (STDMETHODCALLTYPE *WriteInt)( + IPersistQuery *This, + LPCWSTR section, + LPCWSTR name, + INT value); + + HRESULT (STDMETHODCALLTYPE *ReadInt)( + IPersistQuery *This, + LPCWSTR section, + LPCWSTR name, + INT *value); + + HRESULT (STDMETHODCALLTYPE *WriteStruct)( + IPersistQuery *This, + LPCWSTR section, + LPCWSTR name, + LPVOID value, + DWORD size); + + HRESULT (STDMETHODCALLTYPE *ReadStruct)( + IPersistQuery *This, + LPCWSTR section, + LPCWSTR name, + LPVOID buffer, + DWORD buflen); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IPersistQuery *This); + + END_INTERFACE +} IPersistQueryVtbl; + +interface IPersistQuery { + CONST_VTBL IPersistQueryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistQuery_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistQuery_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistQuery_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistQuery_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistQuery methods ***/ +#define IPersistQuery_WriteString(This,section,name,value) (This)->lpVtbl->WriteString(This,section,name,value) +#define IPersistQuery_ReadString(This,section,name,buffer,buflen) (This)->lpVtbl->ReadString(This,section,name,buffer,buflen) +#define IPersistQuery_WriteInt(This,section,name,value) (This)->lpVtbl->WriteInt(This,section,name,value) +#define IPersistQuery_ReadInt(This,section,name,value) (This)->lpVtbl->ReadInt(This,section,name,value) +#define IPersistQuery_WriteStruct(This,section,name,value,size) (This)->lpVtbl->WriteStruct(This,section,name,value,size) +#define IPersistQuery_ReadStruct(This,section,name,buffer,buflen) (This)->lpVtbl->ReadStruct(This,section,name,buffer,buflen) +#define IPersistQuery_Clear(This) (This)->lpVtbl->Clear(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistQuery_QueryInterface(IPersistQuery* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistQuery_AddRef(IPersistQuery* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistQuery_Release(IPersistQuery* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistQuery_GetClassID(IPersistQuery* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistQuery methods ***/ +static FORCEINLINE HRESULT IPersistQuery_WriteString(IPersistQuery* This,LPCWSTR section,LPCWSTR name,LPCWSTR value) { + return This->lpVtbl->WriteString(This,section,name,value); +} +static FORCEINLINE HRESULT IPersistQuery_ReadString(IPersistQuery* This,LPCWSTR section,LPCWSTR name,LPWSTR buffer,INT buflen) { + return This->lpVtbl->ReadString(This,section,name,buffer,buflen); +} +static FORCEINLINE HRESULT IPersistQuery_WriteInt(IPersistQuery* This,LPCWSTR section,LPCWSTR name,INT value) { + return This->lpVtbl->WriteInt(This,section,name,value); +} +static FORCEINLINE HRESULT IPersistQuery_ReadInt(IPersistQuery* This,LPCWSTR section,LPCWSTR name,INT *value) { + return This->lpVtbl->ReadInt(This,section,name,value); +} +static FORCEINLINE HRESULT IPersistQuery_WriteStruct(IPersistQuery* This,LPCWSTR section,LPCWSTR name,LPVOID value,DWORD size) { + return This->lpVtbl->WriteStruct(This,section,name,value,size); +} +static FORCEINLINE HRESULT IPersistQuery_ReadStruct(IPersistQuery* This,LPCWSTR section,LPCWSTR name,LPVOID buffer,DWORD buflen) { + return This->lpVtbl->ReadStruct(This,section,name,buffer,buflen); +} +static FORCEINLINE HRESULT IPersistQuery_Clear(IPersistQuery* This) { + return This->lpVtbl->Clear(This); +} +#endif +#endif + +#endif + + +#endif /* __IPersistQuery_INTERFACE_DEFINED__ */ + +#define OQWF_OKCANCEL 0x00000001 +#define OQWF_DEFAULTFORM 0x00000002 +#define OQWF_SINGLESELECT 0x00000004 +#define OQWF_LOADQUERY 0x00000008 +#define OQWF_REMOVESCOPES 0x00000010 +#define OQWF_REMOVEFORMS 0x00000020 +#define OQWF_ISSUEONOPEN 0x00000040 +#define OQWF_SHOWOPTIONAL 0x00000080 +#define OQWF_SAVEQUERYONOK 0x00000200 +#define OQWF_HIDEMENUS 0x00000400 +#define OQWF_HIDESEARCHUI 0x00000800 +#define OQWF_PARAMISPROPERTYBAG 0x80000000 +typedef struct __WIDL_cmnquery_generated_name_00000002 { + DWORD cbStruct; + DWORD dwFlags; + CLSID clsidHandler; + LPVOID pHandlerParameters; + CLSID clsidDefaultForm; + IPersistQuery *pPersistQuery; + __C89_NAMELESS union { + void *pFormParameters; + IPropertyBag *ppbFormParameters; + } __C89_NAMELESSUNIONNAME; +} OPENQUERYWINDOW; +typedef struct __WIDL_cmnquery_generated_name_00000002 *LPOPENQUERYWINDOW; +/***************************************************************************** + * ICommonQuery interface + */ +#ifndef __ICommonQuery_INTERFACE_DEFINED__ +#define __ICommonQuery_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICommonQuery, 0xab50dec0, 0x6f1d, 0x11d0, 0xa1,0xc4, 0x00,0xaa,0x00,0xc1,0x6e,0x65); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ab50dec0-6f1d-11d0-a1c4-00aa00c16e65") +ICommonQuery : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OpenQueryWindow( + HWND parent, + LPOPENQUERYWINDOW query_window, + IDataObject **data_object) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICommonQuery, 0xab50dec0, 0x6f1d, 0x11d0, 0xa1,0xc4, 0x00,0xaa,0x00,0xc1,0x6e,0x65) +#endif +#else +typedef struct ICommonQueryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICommonQuery *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICommonQuery *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICommonQuery *This); + + /*** ICommonQuery methods ***/ + HRESULT (STDMETHODCALLTYPE *OpenQueryWindow)( + ICommonQuery *This, + HWND parent, + LPOPENQUERYWINDOW query_window, + IDataObject **data_object); + + END_INTERFACE +} ICommonQueryVtbl; + +interface ICommonQuery { + CONST_VTBL ICommonQueryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICommonQuery_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICommonQuery_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICommonQuery_Release(This) (This)->lpVtbl->Release(This) +/*** ICommonQuery methods ***/ +#define ICommonQuery_OpenQueryWindow(This,parent,query_window,data_object) (This)->lpVtbl->OpenQueryWindow(This,parent,query_window,data_object) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICommonQuery_QueryInterface(ICommonQuery* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICommonQuery_AddRef(ICommonQuery* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICommonQuery_Release(ICommonQuery* This) { + return This->lpVtbl->Release(This); +} +/*** ICommonQuery methods ***/ +static FORCEINLINE HRESULT ICommonQuery_OpenQueryWindow(ICommonQuery* This,HWND parent,LPOPENQUERYWINDOW query_window,IDataObject **data_object) { + return This->lpVtbl->OpenQueryWindow(This,parent,query_window,data_object); +} +#endif +#endif + +#endif + + +#endif /* __ICommonQuery_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CommonQuery coclass + */ + +DEFINE_GUID(CLSID_CommonQuery, 0x83bc5ec0, 0x6f2a, 0x11d0, 0xa1,0xc4, 0x00,0xaa,0x00,0xc1,0x6e,0x65); + +#ifdef __cplusplus +class DECLSPEC_UUID("83bc5ec0-6f2a-11d0-a1c4-00aa00c16e65") CommonQuery; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CommonQuery, 0x83bc5ec0, 0x6f2a, 0x11d0, 0xa1,0xc4, 0x00,0xaa,0x00,0xc1,0x6e,0x65) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __cmnquery_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmnquery.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmnquery.idl new file mode 100644 index 0000000..2b89f84 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cmnquery.idl @@ -0,0 +1,89 @@ +/* + * Copyright 2017 Zebediah Figura for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + object, + uuid(1a3114b8-a62e-11d0-a6c5-00a0c906af45), + local +] +interface IPersistQuery : IPersist +{ + HRESULT WriteString([in] LPCWSTR section, [in] LPCWSTR name, [in] LPCWSTR value); + + HRESULT ReadString([in] LPCWSTR section, [in] LPCWSTR name, [out, size_is(buflen)] LPWSTR buffer, [in] INT buflen); + + HRESULT WriteInt([in] LPCWSTR section, [in] LPCWSTR name, [in] INT value); + + HRESULT ReadInt([in] LPCWSTR section, [in] LPCWSTR name, [out] INT *value); + + HRESULT WriteStruct([in] LPCWSTR section, [in] LPCWSTR name, [in] LPVOID value, [in] DWORD size); + + HRESULT ReadStruct([in] LPCWSTR section, [in] LPCWSTR name, [out, size_is(buflen)] LPVOID buffer, [in] DWORD buflen); + + HRESULT Clear(); +} + +cpp_quote("#define OQWF_OKCANCEL 0x00000001") +cpp_quote("#define OQWF_DEFAULTFORM 0x00000002") +cpp_quote("#define OQWF_SINGLESELECT 0x00000004") +cpp_quote("#define OQWF_LOADQUERY 0x00000008") +cpp_quote("#define OQWF_REMOVESCOPES 0x00000010") +cpp_quote("#define OQWF_REMOVEFORMS 0x00000020") +cpp_quote("#define OQWF_ISSUEONOPEN 0x00000040") +cpp_quote("#define OQWF_SHOWOPTIONAL 0x00000080") +cpp_quote("#define OQWF_SAVEQUERYONOK 0x00000200") +cpp_quote("#define OQWF_HIDEMENUS 0x00000400") +cpp_quote("#define OQWF_HIDESEARCHUI 0x00000800") +cpp_quote("#define OQWF_PARAMISPROPERTYBAG 0x80000000") + +typedef struct { + DWORD cbStruct; + DWORD dwFlags; + CLSID clsidHandler; + LPVOID pHandlerParameters; + CLSID clsidDefaultForm; + IPersistQuery *pPersistQuery; + union { + void *pFormParameters; + IPropertyBag *ppbFormParameters; + }; +} OPENQUERYWINDOW, *LPOPENQUERYWINDOW; + +[ + object, + uuid(ab50dec0-6f1d-11d0-a1c4-00aa00c16e65), + local +] +interface ICommonQuery : IUnknown +{ + HRESULT OpenQueryWindow([in] HWND parent, [in] LPOPENQUERYWINDOW query_window, [out] IDataObject **data_object); +} + +[ + threading(apartment), + uuid(83bc5ec0-6f2a-11d0-a1c4-00aa00c16e65) +] +coclass CommonQuery { interface ICommonQuery; } diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/colinf.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/colinf.idl new file mode 100644 index 0000000..0517153 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/colinf.idl @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2016 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a11-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IColumnsInfo : IUnknown +{ + [local] + HRESULT GetColumnInfo( + [in, out] DBORDINAL *columns, + [out, size_is(,(ULONG)*columns)] DBCOLUMNINFO **colinfo, + [out] OLECHAR **stringsbuffer); + + [call_as(GetColumnInfo)] + HRESULT RemoteGetColumnInfo([in, out] DBORDINAL *columns, + [out, size_is(,(ULONG)*columns)] DBCOLUMNINFO **colinfo, + [out, size_is(,(ULONG)*columns)] DBBYTEOFFSET **name_offsets, + [out, size_is(,(ULONG)*columns)] DBBYTEOFFSET **columnid_offsets, + [in, out] DBLENGTH *string_len, + [in, out, unique, size_is(,(ULONG)*string_len)] OLECHAR **stringsbuffer, + [out] IErrorInfo **errorinfo); + + [local] + HRESULT MapColumnIDs( + [in] DBORDINAL column_ids, + [in, size_is((ULONG)column_ids)] const DBID *dbids, + [out, size_is((ULONG)column_ids)] DBORDINAL *columns); + + [call_as(MapColumnIDs)] + HRESULT RemoteMapColumnIDs( + [in] DBORDINAL column_ids, + [in, size_is((ULONG)column_ids)] const DBID *dbids, + [out, size_is((ULONG)column_ids)] DBORDINAL *columns, + [out] IErrorInfo **errorinfo); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comcat.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comcat.h new file mode 100644 index 0000000..97712a5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comcat.h @@ -0,0 +1,695 @@ +/*** Autogenerated by WIDL 2.18 from comcat.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __comcat_h__ +#define __comcat_h__ + +/* Forward declarations */ + +#ifndef __IEnumGUID_FWD_DEFINED__ +#define __IEnumGUID_FWD_DEFINED__ +typedef interface IEnumGUID IEnumGUID; +#ifdef __cplusplus +interface IEnumGUID; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumCATEGORYINFO_FWD_DEFINED__ +#define __IEnumCATEGORYINFO_FWD_DEFINED__ +typedef interface IEnumCATEGORYINFO IEnumCATEGORYINFO; +#ifdef __cplusplus +interface IEnumCATEGORYINFO; +#endif /* __cplusplus */ +#endif + +#ifndef __ICatInformation_FWD_DEFINED__ +#define __ICatInformation_FWD_DEFINED__ +typedef interface ICatInformation ICatInformation; +#ifdef __cplusplus +interface ICatInformation; +#endif /* __cplusplus */ +#endif + +#ifndef __ICatRegister_FWD_DEFINED__ +#define __ICatRegister_FWD_DEFINED__ +typedef interface ICatRegister ICatRegister; +#ifdef __cplusplus +interface ICatRegister; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef GUID CATID; +typedef REFGUID REFCATID; +#define CATID_NULL GUID_NULL +#define IsEqualCATID(rcatid1, rcatid2) IsEqualGUID(rcatid1, rcatid2) +#define IEnumCATID IEnumGUID +#define IID_IEnumCATID IID_IEnumGUID +#define LPENUMCATID LPENUMGUID +#define IEnumCLSID IEnumGUID +#define IID_IEnumCLSID IID_IEnumGUID +#define LPENUMCLSID LPENUMGUID +/***************************************************************************** + * IEnumGUID interface + */ +#ifndef __IEnumGUID_INTERFACE_DEFINED__ +#define __IEnumGUID_INTERFACE_DEFINED__ + +typedef IEnumGUID *LPENUMGUID; +DEFINE_GUID(IID_IEnumGUID, 0x0002e000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002e000-0000-0000-c000-000000000046") +IEnumGUID : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + GUID *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumGUID **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumGUID, 0x0002e000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumGUIDVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumGUID *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumGUID *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumGUID *This); + + /*** IEnumGUID methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumGUID *This, + ULONG celt, + GUID *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumGUID *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumGUID *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumGUID *This, + IEnumGUID **ppenum); + + END_INTERFACE +} IEnumGUIDVtbl; + +interface IEnumGUID { + CONST_VTBL IEnumGUIDVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumGUID_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumGUID_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumGUID_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumGUID methods ***/ +#define IEnumGUID_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumGUID_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumGUID_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumGUID_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumGUID_QueryInterface(IEnumGUID* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumGUID_AddRef(IEnumGUID* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumGUID_Release(IEnumGUID* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumGUID methods ***/ +static FORCEINLINE HRESULT IEnumGUID_Next(IEnumGUID* This,ULONG celt,GUID *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumGUID_Skip(IEnumGUID* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumGUID_Reset(IEnumGUID* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumGUID_Clone(IEnumGUID* This,IEnumGUID **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumGUID_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumCATEGORYINFO interface + */ +#ifndef __IEnumCATEGORYINFO_INTERFACE_DEFINED__ +#define __IEnumCATEGORYINFO_INTERFACE_DEFINED__ + +typedef IEnumCATEGORYINFO *LPENUMCATEGORYINFO; +typedef struct tagCATEGORYINFO { + CATID catid; + LCID lcid; + OLECHAR szDescription[128]; +} CATEGORYINFO; +typedef struct tagCATEGORYINFO *LPCATEGORYINFO; +DEFINE_GUID(IID_IEnumCATEGORYINFO, 0x0002e011, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002e011-0000-0000-c000-000000000046") +IEnumCATEGORYINFO : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + CATEGORYINFO *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumCATEGORYINFO **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumCATEGORYINFO, 0x0002e011, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumCATEGORYINFOVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumCATEGORYINFO *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumCATEGORYINFO *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumCATEGORYINFO *This); + + /*** IEnumCATEGORYINFO methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumCATEGORYINFO *This, + ULONG celt, + CATEGORYINFO *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumCATEGORYINFO *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumCATEGORYINFO *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumCATEGORYINFO *This, + IEnumCATEGORYINFO **ppenum); + + END_INTERFACE +} IEnumCATEGORYINFOVtbl; + +interface IEnumCATEGORYINFO { + CONST_VTBL IEnumCATEGORYINFOVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumCATEGORYINFO_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumCATEGORYINFO_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumCATEGORYINFO_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumCATEGORYINFO methods ***/ +#define IEnumCATEGORYINFO_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumCATEGORYINFO_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumCATEGORYINFO_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumCATEGORYINFO_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumCATEGORYINFO_QueryInterface(IEnumCATEGORYINFO* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumCATEGORYINFO_AddRef(IEnumCATEGORYINFO* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumCATEGORYINFO_Release(IEnumCATEGORYINFO* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumCATEGORYINFO methods ***/ +static FORCEINLINE HRESULT IEnumCATEGORYINFO_Next(IEnumCATEGORYINFO* This,ULONG celt,CATEGORYINFO *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumCATEGORYINFO_Skip(IEnumCATEGORYINFO* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumCATEGORYINFO_Reset(IEnumCATEGORYINFO* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumCATEGORYINFO_Clone(IEnumCATEGORYINFO* This,IEnumCATEGORYINFO **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumCATEGORYINFO_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICatInformation interface + */ +#ifndef __ICatInformation_INTERFACE_DEFINED__ +#define __ICatInformation_INTERFACE_DEFINED__ + +typedef ICatInformation *LPCATINFORMATION; +DEFINE_GUID(IID_ICatInformation, 0x0002e013, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002e013-0000-0000-c000-000000000046") +ICatInformation : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumCategories( + LCID lcid, + IEnumCATEGORYINFO **ppenumCategoryInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCategoryDesc( + REFCATID rcatid, + LCID lcid, + LPWSTR *pszDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumClassesOfCategories( + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[], + IEnumGUID **ppenumClsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsClassOfCategories( + REFCLSID rclsid, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumImplCategoriesOfClass( + REFCLSID rclsid, + IEnumGUID **ppenumCatid) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumReqCategoriesOfClass( + REFCLSID rclsid, + IEnumGUID **ppenumCatid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICatInformation, 0x0002e013, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICatInformationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICatInformation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICatInformation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICatInformation *This); + + /*** ICatInformation methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumCategories)( + ICatInformation *This, + LCID lcid, + IEnumCATEGORYINFO **ppenumCategoryInfo); + + HRESULT (STDMETHODCALLTYPE *GetCategoryDesc)( + ICatInformation *This, + REFCATID rcatid, + LCID lcid, + LPWSTR *pszDesc); + + HRESULT (STDMETHODCALLTYPE *EnumClassesOfCategories)( + ICatInformation *This, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[], + IEnumGUID **ppenumClsid); + + HRESULT (STDMETHODCALLTYPE *IsClassOfCategories)( + ICatInformation *This, + REFCLSID rclsid, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[]); + + HRESULT (STDMETHODCALLTYPE *EnumImplCategoriesOfClass)( + ICatInformation *This, + REFCLSID rclsid, + IEnumGUID **ppenumCatid); + + HRESULT (STDMETHODCALLTYPE *EnumReqCategoriesOfClass)( + ICatInformation *This, + REFCLSID rclsid, + IEnumGUID **ppenumCatid); + + END_INTERFACE +} ICatInformationVtbl; + +interface ICatInformation { + CONST_VTBL ICatInformationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICatInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICatInformation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICatInformation_Release(This) (This)->lpVtbl->Release(This) +/*** ICatInformation methods ***/ +#define ICatInformation_EnumCategories(This,lcid,ppenumCategoryInfo) (This)->lpVtbl->EnumCategories(This,lcid,ppenumCategoryInfo) +#define ICatInformation_GetCategoryDesc(This,rcatid,lcid,pszDesc) (This)->lpVtbl->GetCategoryDesc(This,rcatid,lcid,pszDesc) +#define ICatInformation_EnumClassesOfCategories(This,cImplemented,rgcatidImpl,cRequired,rgcatidReq,ppenumClsid) (This)->lpVtbl->EnumClassesOfCategories(This,cImplemented,rgcatidImpl,cRequired,rgcatidReq,ppenumClsid) +#define ICatInformation_IsClassOfCategories(This,rclsid,cImplemented,rgcatidImpl,cRequired,rgcatidReq) (This)->lpVtbl->IsClassOfCategories(This,rclsid,cImplemented,rgcatidImpl,cRequired,rgcatidReq) +#define ICatInformation_EnumImplCategoriesOfClass(This,rclsid,ppenumCatid) (This)->lpVtbl->EnumImplCategoriesOfClass(This,rclsid,ppenumCatid) +#define ICatInformation_EnumReqCategoriesOfClass(This,rclsid,ppenumCatid) (This)->lpVtbl->EnumReqCategoriesOfClass(This,rclsid,ppenumCatid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICatInformation_QueryInterface(ICatInformation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICatInformation_AddRef(ICatInformation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICatInformation_Release(ICatInformation* This) { + return This->lpVtbl->Release(This); +} +/*** ICatInformation methods ***/ +static FORCEINLINE HRESULT ICatInformation_EnumCategories(ICatInformation* This,LCID lcid,IEnumCATEGORYINFO **ppenumCategoryInfo) { + return This->lpVtbl->EnumCategories(This,lcid,ppenumCategoryInfo); +} +static FORCEINLINE HRESULT ICatInformation_GetCategoryDesc(ICatInformation* This,REFCATID rcatid,LCID lcid,LPWSTR *pszDesc) { + return This->lpVtbl->GetCategoryDesc(This,rcatid,lcid,pszDesc); +} +static FORCEINLINE HRESULT ICatInformation_EnumClassesOfCategories(ICatInformation* This,ULONG cImplemented,CATID rgcatidImpl[],ULONG cRequired,CATID rgcatidReq[],IEnumGUID **ppenumClsid) { + return This->lpVtbl->EnumClassesOfCategories(This,cImplemented,rgcatidImpl,cRequired,rgcatidReq,ppenumClsid); +} +static FORCEINLINE HRESULT ICatInformation_IsClassOfCategories(ICatInformation* This,REFCLSID rclsid,ULONG cImplemented,CATID rgcatidImpl[],ULONG cRequired,CATID rgcatidReq[]) { + return This->lpVtbl->IsClassOfCategories(This,rclsid,cImplemented,rgcatidImpl,cRequired,rgcatidReq); +} +static FORCEINLINE HRESULT ICatInformation_EnumImplCategoriesOfClass(ICatInformation* This,REFCLSID rclsid,IEnumGUID **ppenumCatid) { + return This->lpVtbl->EnumImplCategoriesOfClass(This,rclsid,ppenumCatid); +} +static FORCEINLINE HRESULT ICatInformation_EnumReqCategoriesOfClass(ICatInformation* This,REFCLSID rclsid,IEnumGUID **ppenumCatid) { + return This->lpVtbl->EnumReqCategoriesOfClass(This,rclsid,ppenumCatid); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ICatInformation_RemoteEnumClassesOfCategories_Proxy( + ICatInformation* This, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[], + IEnumGUID **ppenumClsid); +void __RPC_STUB ICatInformation_RemoteEnumClassesOfCategories_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ICatInformation_RemoteIsClassOfCategories_Proxy( + ICatInformation* This, + REFCLSID rclsid, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[]); +void __RPC_STUB ICatInformation_RemoteIsClassOfCategories_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ICatInformation_EnumClassesOfCategories_Proxy( + ICatInformation* This, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[], + IEnumGUID **ppenumClsid); +HRESULT __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub( + ICatInformation* This, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[], + IEnumGUID **ppenumClsid); +HRESULT CALLBACK ICatInformation_IsClassOfCategories_Proxy( + ICatInformation* This, + REFCLSID rclsid, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[]); +HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub( + ICatInformation* This, + REFCLSID rclsid, + ULONG cImplemented, + CATID rgcatidImpl[], + ULONG cRequired, + CATID rgcatidReq[]); + +#endif /* __ICatInformation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICatRegister interface + */ +#ifndef __ICatRegister_INTERFACE_DEFINED__ +#define __ICatRegister_INTERFACE_DEFINED__ + +typedef ICatRegister *LPCATREGISTER; +DEFINE_GUID(IID_ICatRegister, 0x0002e012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002e012-0000-0000-c000-000000000046") +ICatRegister : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterCategories( + ULONG cCategories, + CATEGORYINFO rgCategoryInfo[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnRegisterCategories( + ULONG cCategories, + CATID rgcatid[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterClassImplCategories( + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnRegisterClassImplCategories( + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterClassReqCategories( + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnRegisterClassReqCategories( + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICatRegister, 0x0002e012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICatRegisterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICatRegister *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICatRegister *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICatRegister *This); + + /*** ICatRegister methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterCategories)( + ICatRegister *This, + ULONG cCategories, + CATEGORYINFO rgCategoryInfo[]); + + HRESULT (STDMETHODCALLTYPE *UnRegisterCategories)( + ICatRegister *This, + ULONG cCategories, + CATID rgcatid[]); + + HRESULT (STDMETHODCALLTYPE *RegisterClassImplCategories)( + ICatRegister *This, + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]); + + HRESULT (STDMETHODCALLTYPE *UnRegisterClassImplCategories)( + ICatRegister *This, + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]); + + HRESULT (STDMETHODCALLTYPE *RegisterClassReqCategories)( + ICatRegister *This, + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]); + + HRESULT (STDMETHODCALLTYPE *UnRegisterClassReqCategories)( + ICatRegister *This, + REFCLSID rclsid, + ULONG cCategories, + CATID rgcatid[]); + + END_INTERFACE +} ICatRegisterVtbl; + +interface ICatRegister { + CONST_VTBL ICatRegisterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICatRegister_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICatRegister_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICatRegister_Release(This) (This)->lpVtbl->Release(This) +/*** ICatRegister methods ***/ +#define ICatRegister_RegisterCategories(This,cCategories,rgCategoryInfo) (This)->lpVtbl->RegisterCategories(This,cCategories,rgCategoryInfo) +#define ICatRegister_UnRegisterCategories(This,cCategories,rgcatid) (This)->lpVtbl->UnRegisterCategories(This,cCategories,rgcatid) +#define ICatRegister_RegisterClassImplCategories(This,rclsid,cCategories,rgcatid) (This)->lpVtbl->RegisterClassImplCategories(This,rclsid,cCategories,rgcatid) +#define ICatRegister_UnRegisterClassImplCategories(This,rclsid,cCategories,rgcatid) (This)->lpVtbl->UnRegisterClassImplCategories(This,rclsid,cCategories,rgcatid) +#define ICatRegister_RegisterClassReqCategories(This,rclsid,cCategories,rgcatid) (This)->lpVtbl->RegisterClassReqCategories(This,rclsid,cCategories,rgcatid) +#define ICatRegister_UnRegisterClassReqCategories(This,rclsid,cCategories,rgcatid) (This)->lpVtbl->UnRegisterClassReqCategories(This,rclsid,cCategories,rgcatid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICatRegister_QueryInterface(ICatRegister* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICatRegister_AddRef(ICatRegister* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICatRegister_Release(ICatRegister* This) { + return This->lpVtbl->Release(This); +} +/*** ICatRegister methods ***/ +static FORCEINLINE HRESULT ICatRegister_RegisterCategories(ICatRegister* This,ULONG cCategories,CATEGORYINFO rgCategoryInfo[]) { + return This->lpVtbl->RegisterCategories(This,cCategories,rgCategoryInfo); +} +static FORCEINLINE HRESULT ICatRegister_UnRegisterCategories(ICatRegister* This,ULONG cCategories,CATID rgcatid[]) { + return This->lpVtbl->UnRegisterCategories(This,cCategories,rgcatid); +} +static FORCEINLINE HRESULT ICatRegister_RegisterClassImplCategories(ICatRegister* This,REFCLSID rclsid,ULONG cCategories,CATID rgcatid[]) { + return This->lpVtbl->RegisterClassImplCategories(This,rclsid,cCategories,rgcatid); +} +static FORCEINLINE HRESULT ICatRegister_UnRegisterClassImplCategories(ICatRegister* This,REFCLSID rclsid,ULONG cCategories,CATID rgcatid[]) { + return This->lpVtbl->UnRegisterClassImplCategories(This,rclsid,cCategories,rgcatid); +} +static FORCEINLINE HRESULT ICatRegister_RegisterClassReqCategories(ICatRegister* This,REFCLSID rclsid,ULONG cCategories,CATID rgcatid[]) { + return This->lpVtbl->RegisterClassReqCategories(This,rclsid,cCategories,rgcatid); +} +static FORCEINLINE HRESULT ICatRegister_UnRegisterClassReqCategories(ICatRegister* This,REFCLSID rclsid,ULONG cCategories,CATID rgcatid[]) { + return This->lpVtbl->UnRegisterClassReqCategories(This,rclsid,cCategories,rgcatid); +} +#endif +#endif + +#endif + + +#endif /* __ICatRegister_INTERFACE_DEFINED__ */ + +DEFINE_GUID( CATID_Insertable, 0x40fc6ed3, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_Control, 0x40fc6ed4, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_Programmable, 0x40fc6ed5, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_IsShortcut, 0x40fc6ed6, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_NeverShowExt, 0x40fc6ed7, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_DocObject, 0x40fc6ed8, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_Printable, 0x40fc6ed9, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02); +DEFINE_GUID( CATID_RequiresDataPathHost, 0x0de86a50, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToMoniker, 0x0de86a51, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToStorage, 0x0de86a52, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToStreamInit, 0x0de86a53, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToStream, 0x0de86a54, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToMemory, 0x0de86a55, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToFile, 0x0de86a56, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_PersistsToPropertyBag, 0x0de86a57, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_InternetAware, 0x0de86a58, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52); +DEFINE_GUID( CATID_DesignTimeUIActivatableControl, 0xf2bb56d1, 0xdb07, 0x11d1, 0xaa, 0x6b, 0x00, 0x60, 0x97, 0xdb, 0x95, 0x39); +DEFINE_GUID(CLSID_StdComponentCategoriesMgr, 0x0002e005, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __comcat_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comcat.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comcat.idl new file mode 100644 index 0000000..010db7d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comcat.idl @@ -0,0 +1,232 @@ +/* + * Copyright 2002 John K. Hohm + * Copyright 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +#endif + +/***************************************************************************** + * Types + */ +typedef GUID CATID; +typedef REFGUID REFCATID; +cpp_quote("#define CATID_NULL GUID_NULL") +cpp_quote("#define IsEqualCATID(rcatid1, rcatid2) IsEqualGUID(rcatid1, rcatid2)") + +/***************************************************************************** + * Aliases for EnumGUID + */ +#define IEnumCATID IEnumGUID +cpp_quote("#define IEnumCATID IEnumGUID") +cpp_quote("#define IID_IEnumCATID IID_IEnumGUID") +cpp_quote("#define LPENUMCATID LPENUMGUID") +#define IEnumCLSID IEnumGUID +cpp_quote("#define IEnumCLSID IEnumGUID") +cpp_quote("#define IID_IEnumCLSID IID_IEnumGUID") +cpp_quote("#define LPENUMCLSID LPENUMGUID") + + +/***************************************************************************** + * IEnumGUID + */ +[ + object, + uuid(0002e000-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IEnumGUID : IUnknown +{ + typedef [unique] IEnumGUID *LPENUMGUID; + + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] GUID *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumGUID **ppenum); +} + + +/***************************************************************************** + * IEnumCATEGORYINFO + */ +[ + object, + uuid(0002e011-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IEnumCATEGORYINFO : IUnknown +{ + typedef [unique] IEnumCATEGORYINFO *LPENUMCATEGORYINFO; + + typedef struct tagCATEGORYINFO + { + CATID catid; /* category identifier for component */ + LCID lcid; /* locale identifier */ + OLECHAR szDescription[128]; /* description of the category */ + } CATEGORYINFO, *LPCATEGORYINFO; + + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] CATEGORYINFO* rgelt, + [out] ULONG* pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumCATEGORYINFO** ppenum); +} + + +/***************************************************************************** + * ICatInformation + */ +[ + object, + uuid(0002e013-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface ICatInformation : IUnknown +{ + typedef [unique] ICatInformation* LPCATINFORMATION; + + HRESULT EnumCategories( + [in] LCID lcid, + [out] IEnumCATEGORYINFO** ppenumCategoryInfo); + + HRESULT GetCategoryDesc( + [in] REFCATID rcatid, + [in] LCID lcid, + [out] LPWSTR* pszDesc); + + [local] + HRESULT EnumClassesOfCategories( + [in] ULONG cImplemented, + [in,size_is(cImplemented)] CATID rgcatidImpl[], + [in] ULONG cRequired, + [in,size_is(cRequired)] CATID rgcatidReq[], + [out] IEnumCLSID** ppenumClsid); + + [call_as(EnumClassesOfCategories)] + HRESULT RemoteEnumClassesOfCategories( + [in] ULONG cImplemented, + [in,unique,size_is(cImplemented)] CATID rgcatidImpl[], + [in] ULONG cRequired, + [in,unique,size_is(cRequired)] CATID rgcatidReq[], + [out] IEnumCLSID** ppenumClsid); + + [local] + HRESULT IsClassOfCategories( + [in] REFCLSID rclsid, + [in] ULONG cImplemented, + [in,size_is(cImplemented)] CATID rgcatidImpl[], + [in] ULONG cRequired, + [in,size_is(cRequired)] CATID rgcatidReq[]); + + [call_as(IsClassOfCategories)] + HRESULT RemoteIsClassOfCategories( + [in] REFCLSID rclsid, + [in] ULONG cImplemented, + [in,unique,size_is(cImplemented)] CATID rgcatidImpl[], + [in] ULONG cRequired, + [in,unique,size_is(cRequired)] CATID rgcatidReq[] ); + + HRESULT EnumImplCategoriesOfClass( + [in] REFCLSID rclsid, + [out] IEnumCATID** ppenumCatid); + + HRESULT EnumReqCategoriesOfClass( + [in] REFCLSID rclsid, + [out] IEnumCATID** ppenumCatid); +} + + +/***************************************************************************** + * ICatRegister + */ +[ + object, + uuid(0002e012-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface ICatRegister : IUnknown +{ + typedef [unique] ICatRegister* LPCATREGISTER; + + HRESULT RegisterCategories( + [in] ULONG cCategories, + [in, size_is(cCategories)] CATEGORYINFO rgCategoryInfo[]); + + HRESULT UnRegisterCategories( + [in] ULONG cCategories, + [in, size_is(cCategories)] CATID rgcatid[]); + + HRESULT RegisterClassImplCategories( + [in] REFCLSID rclsid, + [in] ULONG cCategories, + [in, size_is(cCategories)] CATID rgcatid[]); + + HRESULT UnRegisterClassImplCategories( + [in] REFCLSID rclsid, + [in] ULONG cCategories, + [in, size_is(cCategories)] CATID rgcatid[]); + + HRESULT RegisterClassReqCategories( + [in] REFCLSID rclsid, + [in] ULONG cCategories, + [in, size_is(cCategories)] CATID rgcatid[]); + + HRESULT UnRegisterClassReqCategories( + [in] REFCLSID rclsid, + [in] ULONG cCategories, + [in, size_is(cCategories)] CATID rgcatid[]); +} + + +/***************************************************************************** + * Category IDs + */ +cpp_quote("DEFINE_GUID( CATID_Insertable, 0x40fc6ed3, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_Control, 0x40fc6ed4, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_Programmable, 0x40fc6ed5, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_IsShortcut, 0x40fc6ed6, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_NeverShowExt, 0x40fc6ed7, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_DocObject, 0x40fc6ed8, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_Printable, 0x40fc6ed9, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);") +cpp_quote("DEFINE_GUID( CATID_RequiresDataPathHost, 0x0de86a50, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToMoniker, 0x0de86a51, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToStorage, 0x0de86a52, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToStreamInit, 0x0de86a53, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToStream, 0x0de86a54, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToMemory, 0x0de86a55, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToFile, 0x0de86a56, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_PersistsToPropertyBag, 0x0de86a57, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_InternetAware, 0x0de86a58, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);") +cpp_quote("DEFINE_GUID( CATID_DesignTimeUIActivatableControl, 0xf2bb56d1, 0xdb07, 0x11d1, 0xaa, 0x6b, 0x00, 0x60, 0x97, 0xdb, 0x95, 0x39);") +/* The Component Category Manager */ +cpp_quote("DEFINE_GUID(CLSID_StdComponentCategoriesMgr, 0x0002e005, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commctrl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commctrl.h new file mode 100644 index 0000000..587caae --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commctrl.h @@ -0,0 +1,5343 @@ +/* + * Common controls definitions + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_COMMCTRL_H +#define __WINE_COMMCTRL_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI ShowHideMenuCtl (HWND, UINT_PTR, LPINT); +VOID WINAPI GetEffectiveClientRect (HWND, LPRECT, const INT*); +VOID WINAPI InitCommonControls (VOID); + +typedef struct tagINITCOMMONCONTROLSEX { + DWORD dwSize; + DWORD dwICC; +} INITCOMMONCONTROLSEX, *LPINITCOMMONCONTROLSEX; + +BOOL WINAPI InitCommonControlsEx (const INITCOMMONCONTROLSEX*); + +LANGID WINAPI GetMUILanguage (VOID); +VOID WINAPI InitMUILanguage (LANGID uiLang); + +enum _LI_METRIC +{ + LIM_SMALL, + LIM_LARGE +}; + +HRESULT WINAPI LoadIconWithScaleDown(HINSTANCE, const WCHAR *, int, int, HICON *); +HRESULT WINAPI LoadIconMetric(HINSTANCE, const WCHAR *, int, HICON *); + +#define COMCTL32_VERSION 5 /* dll version */ + +#ifndef _WIN32_IE +#define _WIN32_IE 0x0400 +#endif + +#define ICC_LISTVIEW_CLASSES 0x00000001 /* listview, header */ +#define ICC_TREEVIEW_CLASSES 0x00000002 /* treeview, tooltips */ +#define ICC_BAR_CLASSES 0x00000004 /* toolbar, statusbar, trackbar, tooltips */ +#define ICC_TAB_CLASSES 0x00000008 /* tab, tooltips */ +#define ICC_UPDOWN_CLASS 0x00000010 /* updown */ +#define ICC_PROGRESS_CLASS 0x00000020 /* progress */ +#define ICC_HOTKEY_CLASS 0x00000040 /* hotkey */ +#define ICC_ANIMATE_CLASS 0x00000080 /* animate */ +#define ICC_WIN95_CLASSES 0x000000FF +#define ICC_DATE_CLASSES 0x00000100 /* month picker, date picker, time picker, updown */ +#define ICC_USEREX_CLASSES 0x00000200 /* comboex */ +#define ICC_COOL_CLASSES 0x00000400 /* rebar (coolbar) */ +#define ICC_INTERNET_CLASSES 0x00000800 /* IP address, ... */ +#define ICC_PAGESCROLLER_CLASS 0x00001000 /* page scroller */ +#define ICC_NATIVEFNTCTL_CLASS 0x00002000 /* native font control ???*/ +#define ICC_STANDARD_CLASSES 0x00004000 +#define ICC_LINK_CLASS 0x00008000 + + +/* common control shared messages */ +#define CCM_FIRST 0x2000 + +#define CCM_SETBKCOLOR (CCM_FIRST+0x1) /* lParam = bkColor */ +#define CCM_SETCOLORSCHEME (CCM_FIRST+0x2) /* lParam = COLORSCHEME struct ptr */ +#define CCM_GETCOLORSCHEME (CCM_FIRST+0x3) /* lParam = COLORSCHEME struct ptr */ +#define CCM_GETDROPTARGET (CCM_FIRST+0x4) +#define CCM_SETUNICODEFORMAT (CCM_FIRST+0x5) +#define CCM_GETUNICODEFORMAT (CCM_FIRST+0x6) +#define CCM_SETVERSION (CCM_FIRST+0x7) +#define CCM_GETVERSION (CCM_FIRST+0x8) +#define CCM_SETNOTIFYWINDOW (CCM_FIRST+0x9) /* wParam = hwndParent */ +#define CCM_SETWINDOWTHEME (CCM_FIRST+0xb) +#define CCM_DPISCALE (CCM_FIRST+0xc) + + +/* common notification codes (WM_NOTIFY)*/ +#define NM_FIRST (0U- 0U) +#define NM_LAST (0U- 99U) +#define NM_OUTOFMEMORY (NM_FIRST-1) +#define NM_CLICK (NM_FIRST-2) +#define NM_DBLCLK (NM_FIRST-3) +#define NM_RETURN (NM_FIRST-4) +#define NM_RCLICK (NM_FIRST-5) +#define NM_RDBLCLK (NM_FIRST-6) +#define NM_SETFOCUS (NM_FIRST-7) +#define NM_KILLFOCUS (NM_FIRST-8) +#define NM_CUSTOMDRAW (NM_FIRST-12) +#define NM_HOVER (NM_FIRST-13) +#define NM_NCHITTEST (NM_FIRST-14) +#define NM_KEYDOWN (NM_FIRST-15) +#define NM_RELEASEDCAPTURE (NM_FIRST-16) +#define NM_SETCURSOR (NM_FIRST-17) +#define NM_CHAR (NM_FIRST-18) +#define NM_TOOLTIPSCREATED (NM_FIRST-19) +#define NM_LDOWN (NM_FIRST-20) +#define NM_RDOWN (NM_FIRST-21) +#define NM_THEMECHANGED (NM_FIRST-22) +#define NM_FONTCHANGED (NM_FIRST-23) +#define NM_CUSTOMTEXT (NM_FIRST-24) +#define NM_TVSTATEIMAGECHANGING (NM_FIRST-24) + +#define HANDLE_WM_NOTIFY(hwnd, wParam, lParam, fn) \ + (fn)((hwnd), (int)(wParam), (NMHDR*)(lParam)) +#define FORWARD_WM_NOTIFY(hwnd, idFrom, pnmhdr, fn) \ + (LRESULT)(fn)((hwnd), WM_NOTIFY, (WPARAM)(int)(idFrom), (LPARAM)(NMHDR*)(pnmhdr)) + + +/* callback constants */ +#define LPSTR_TEXTCALLBACKA ((LPSTR)-1) +#define LPSTR_TEXTCALLBACKW ((LPWSTR)-1) +#define LPSTR_TEXTCALLBACK WINELIB_NAME_AW(LPSTR_TEXTCALLBACK) + +#define I_IMAGECALLBACK (-1) +#define I_IMAGENONE (-2) +#define I_INDENTCALLBACK (-1) +#define I_CHILDRENCALLBACK (-1) +#define I_GROUPIDCALLBACK (-1) +#define I_GROUPIDNONE (-2) +#define I_COLUMNSCALLBACK ((UINT)-1) + +/* owner drawn types */ +#define ODT_HEADER 100 +#define ODT_TAB 101 +#define ODT_LISTVIEW 102 + +/* common notification structures */ +typedef struct tagNMTOOLTIPSCREATED +{ + NMHDR hdr; + HWND hwndToolTips; +} NMTOOLTIPSCREATED, *LPNMTOOLTIPSCREATED; + +typedef struct tagNMMOUSE +{ + NMHDR hdr; + DWORD_PTR dwItemSpec; + DWORD_PTR dwItemData; + POINT pt; + DWORD dwHitInfo; /* info where on item or control the mouse is */ +} NMMOUSE, *LPNMMOUSE; + +typedef struct tagNMOBJECTNOTIFY +{ + NMHDR hdr; + int iItem; +#ifdef __IID_DEFINED__ + const IID *piid; +#else + const void *piid; +#endif + void *pObject; + HRESULT hResult; + DWORD dwFlags; +} NMOBJECTNOTIFY, *LPNMOBJECTNOTIFY; + +typedef struct tagNMKEY +{ + NMHDR hdr; + UINT nVKey; + UINT uFlags; +} NMKEY, *LPNMKEY; + +typedef struct tagNMCHAR +{ + NMHDR hdr; + UINT ch; + DWORD dwItemPrev; /* Item previously selected */ + DWORD dwItemNext; /* Item to be selected */ +} NMCHAR, *LPNMCHAR; + +#ifndef CCSIZEOF_STRUCT +#define CCSIZEOF_STRUCT(name, member) \ + (((INT)((LPBYTE)(&((name*)0)->member)-((LPBYTE)((name*)0))))+ \ + sizeof(((name*)0)->member)) +#endif + + +#ifndef SNDMSG +#ifdef __cplusplus +#define SNDMSG ::SendMessage +#else /* __cplusplus */ +#define SNDMSG SendMessage +#endif /* __cplusplus */ +#endif /* SNDMSG */ + + +#ifdef __cplusplus +#define SNDMSGA ::SendMessageA +#define SNDMSGW ::SendMessageW +#else +#define SNDMSGA SendMessageA +#define SNDMSGW SendMessageW +#endif + +/* Custom Draw messages */ + +#define CDRF_DODEFAULT 0x0 +#define CDRF_NEWFONT 0x00000002 +#define CDRF_SKIPDEFAULT 0x00000004 +#define CDRF_NOTIFYPOSTPAINT 0x00000010 +#define CDRF_NOTIFYITEMDRAW 0x00000020 +#define CDRF_NOTIFYSUBITEMDRAW 0x00000020 +#define CDRF_NOTIFYPOSTERASE 0x00000040 +#define CDRF_NOTIFYITEMERASE 0x00000080 /* obsolete ??? */ + + +/* drawstage flags */ + +#define CDDS_PREPAINT 1 +#define CDDS_POSTPAINT 2 +#define CDDS_PREERASE 3 +#define CDDS_POSTERASE 4 + +#define CDDS_ITEM 0x00010000 +#define CDDS_ITEMPREPAINT (CDDS_ITEM | CDDS_PREPAINT) +#define CDDS_ITEMPOSTPAINT (CDDS_ITEM | CDDS_POSTPAINT) +#define CDDS_ITEMPREERASE (CDDS_ITEM | CDDS_PREERASE) +#define CDDS_ITEMPOSTERASE (CDDS_ITEM | CDDS_POSTERASE) +#define CDDS_SUBITEM 0x00020000 + +/* itemState flags */ + +#define CDIS_SELECTED 0x0001 +#define CDIS_GRAYED 0x0002 +#define CDIS_DISABLED 0x0004 +#define CDIS_CHECKED 0x0008 +#define CDIS_FOCUS 0x0010 +#define CDIS_DEFAULT 0x0020 +#define CDIS_HOT 0x0040 +#define CDIS_MARKED 0x0080 +#define CDIS_INDETERMINATE 0x0100 +#define CDIS_SHOWKEYBOARDCUES 0x0200 +#define CDIS_NEARHOT 0x0400 +#define CDIS_OTHERSIDEHOT 0x0800 +#define CDIS_DROPHILITED 0x1000 + + +typedef struct tagNMCUSTOMDRAWINFO +{ + NMHDR hdr; + DWORD dwDrawStage; + HDC hdc; + RECT rc; + DWORD_PTR dwItemSpec; + UINT uItemState; + LPARAM lItemlParam; +} NMCUSTOMDRAW, *LPNMCUSTOMDRAW; + +typedef struct tagNMTTCUSTOMDRAW +{ + NMCUSTOMDRAW nmcd; + UINT uDrawFlags; +} NMTTCUSTOMDRAW, *LPNMTTCUSTOMDRAW; + + + + +/* StatusWindow */ + +#define STATUSCLASSNAMEA "msctls_statusbar32" +#if defined(__GNUC__) +# define STATUSCLASSNAMEW (const WCHAR []){ 'm','s','c','t','l','s','_', \ + 's','t','a','t','u','s','b','a','r','3','2',0 } +#elif defined(_MSC_VER) +# define STATUSCLASSNAMEW L"msctls_statusbar32" +#else +static const WCHAR STATUSCLASSNAMEW[] = { 'm','s','c','t','l','s','_', + 's','t','a','t','u','s','b','a','r','3','2',0 }; +#endif +#define STATUSCLASSNAME WINELIB_NAME_AW(STATUSCLASSNAME) + +#define SBT_NOBORDERS 0x0100 +#define SBT_POPOUT 0x0200 +#define SBT_RTLREADING 0x0400 /* not supported */ +#define SBT_OWNERDRAW 0x1000 + +#define SB_SIMPLEID 0x00ff + +#define SB_SETTEXTA (WM_USER+1) +#define SB_SETTEXTW (WM_USER+11) +#define SB_SETTEXT WINELIB_NAME_AW(SB_SETTEXT) +#define SB_GETTEXTA (WM_USER+2) +#define SB_GETTEXTW (WM_USER+13) +#define SB_GETTEXT WINELIB_NAME_AW(SB_GETTEXT) +#define SB_GETTEXTLENGTHA (WM_USER+3) +#define SB_GETTEXTLENGTHW (WM_USER+12) +#define SB_GETTEXTLENGTH WINELIB_NAME_AW(SB_GETTEXTLENGTH) +#define SB_SETPARTS (WM_USER+4) +#define SB_SETBORDERS (WM_USER+5) +#define SB_GETPARTS (WM_USER+6) +#define SB_GETBORDERS (WM_USER+7) +#define SB_SETMINHEIGHT (WM_USER+8) +#define SB_SIMPLE (WM_USER+9) +#define SB_GETRECT (WM_USER+10) +#define SB_ISSIMPLE (WM_USER+14) +#define SB_SETICON (WM_USER+15) +#define SB_SETTIPTEXTA (WM_USER+16) +#define SB_SETTIPTEXTW (WM_USER+17) +#define SB_SETTIPTEXT WINELIB_NAME_AW(SB_SETTIPTEXT) +#define SB_GETTIPTEXTA (WM_USER+18) +#define SB_GETTIPTEXTW (WM_USER+19) +#define SB_GETTIPTEXT WINELIB_NAME_AW(SB_GETTIPTEXT) +#define SB_GETICON (WM_USER+20) +#define SB_SETBKCOLOR CCM_SETBKCOLOR /* lParam = bkColor */ +#define SB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define SB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT + +#define SBN_FIRST (0U-880U) +#define SBN_LAST (0U-899U) +#define SBN_SIMPLEMODECHANGE (SBN_FIRST-0) + +HWND WINAPI CreateStatusWindowA (LONG, LPCSTR, HWND, UINT); +HWND WINAPI CreateStatusWindowW (LONG, LPCWSTR, HWND, UINT); +#define CreateStatusWindow WINELIB_NAME_AW(CreateStatusWindow) +VOID WINAPI DrawStatusTextA (HDC, LPCRECT, LPCSTR, UINT); +VOID WINAPI DrawStatusTextW (HDC, LPCRECT, LPCWSTR, UINT); +#define DrawStatusText WINELIB_NAME_AW(DrawStatusText) +VOID WINAPI MenuHelp (UINT, WPARAM, LPARAM, HMENU, + HINSTANCE, HWND, UINT*); + +typedef struct tagCOLORSCHEME +{ + DWORD dwSize; + COLORREF clrBtnHighlight; /* highlight color */ + COLORREF clrBtnShadow; /* shadow color */ +} COLORSCHEME, *LPCOLORSCHEME; + +/************************************************************************** + * Drag List control + */ + +typedef struct tagDRAGLISTINFO +{ + UINT uNotification; + HWND hWnd; + POINT ptCursor; +} DRAGLISTINFO, *LPDRAGLISTINFO; + +#define DL_BEGINDRAG (WM_USER+133) +#define DL_DRAGGING (WM_USER+134) +#define DL_DROPPED (WM_USER+135) +#define DL_CANCELDRAG (WM_USER+136) + +#define DL_CURSORSET 0 +#define DL_STOPCURSOR 1 +#define DL_COPYCURSOR 2 +#define DL_MOVECURSOR 3 + +#define DRAGLISTMSGSTRINGA "commctrl_DragListMsg" +#if defined(__GNUC__) +# define DRAGLISTMSGSTRINGW (const WCHAR []){ 'c','o','m','m','c','t','r','l', \ + '_','D','r','a','g','L','i','s','t','M','s','g',0 } +#elif defined(_MSC_VER) +# define DRAGLISTMSGSTRINGW L"commctrl_DragListMsg" +#else +static const WCHAR DRAGLISTMSGSTRINGW[] = { 'c','o','m','m','c','t','r','l', + '_','D','r','a','g','L','i','s','t','M','s','g',0 }; +#endif +#define DRAGLISTMSGSTRING WINELIB_NAME_AW(DRAGLISTMSGSTRING) + +BOOL WINAPI MakeDragList (HWND); +VOID WINAPI DrawInsert (HWND, HWND, INT); +INT WINAPI LBItemFromPt (HWND, POINT, BOOL); + + +/* UpDown */ + +#define UPDOWN_CLASSA "msctls_updown32" +#if defined(__GNUC__) +# define UPDOWN_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \ + 'u','p','d','o','w','n','3','2',0 } +#elif defined(_MSC_VER) +# define UPDOWN_CLASSW L"msctls_updown32" +#else +static const WCHAR UPDOWN_CLASSW[] = { 'm','s','c','t','l','s','_', + 'u','p','d','o','w','n','3','2',0 }; +#endif +#define UPDOWN_CLASS WINELIB_NAME_AW(UPDOWN_CLASS) + +typedef struct _UDACCEL +{ + UINT nSec; + UINT nInc; +} UDACCEL, *LPUDACCEL; + +#define UD_MAXVAL 0x7fff +#define UD_MINVAL 0x8001 + + +#define UDN_FIRST (0U-721) +#define UDN_LAST (0U-740) +#define UDN_DELTAPOS (UDN_FIRST-1) + +#define UDM_SETRANGE (WM_USER+101) +#define UDM_GETRANGE (WM_USER+102) +#define UDM_SETPOS (WM_USER+103) +#define UDM_GETPOS (WM_USER+104) +#define UDM_SETBUDDY (WM_USER+105) +#define UDM_GETBUDDY (WM_USER+106) +#define UDM_SETACCEL (WM_USER+107) +#define UDM_GETACCEL (WM_USER+108) +#define UDM_SETBASE (WM_USER+109) +#define UDM_GETBASE (WM_USER+110) +#define UDM_SETRANGE32 (WM_USER+111) +#define UDM_GETRANGE32 (WM_USER+112) +#define UDM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define UDM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define UDM_SETPOS32 (WM_USER+113) +#define UDM_GETPOS32 (WM_USER+114) + + +#define NMUPDOWN NM_UPDOWN +#define LPNMUPDOWN LPNM_UPDOWN + +typedef struct tagNM_UPDOWN +{ + NMHDR hdr; + int iPos; + int iDelta; +} NM_UPDOWN, *LPNM_UPDOWN; + +HWND WINAPI CreateUpDownControl (DWORD, INT, INT, INT, INT, + HWND, INT, HINSTANCE, HWND, + INT, INT, INT); + +/* Progress Bar */ + +#define PROGRESS_CLASSA "msctls_progress32" +#if defined(__GNUC__) +# define PROGRESS_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \ + 'p','r','o','g','r','e','s','s','3','2',0 } +#elif defined(_MSC_VER) +# define PROGRESS_CLASSW L"msctls_progress32" +#else +static const WCHAR PROGRESS_CLASSW[] = { 'm','s','c','t','l','s','_', + 'p','r','o','g','r','e','s','s','3','2',0 }; +#endif +#define PROGRESS_CLASS WINELIB_NAME_AW(PROGRESS_CLASS) + +#define PBM_SETRANGE (WM_USER+1) +#define PBM_SETPOS (WM_USER+2) +#define PBM_DELTAPOS (WM_USER+3) +#define PBM_SETSTEP (WM_USER+4) +#define PBM_STEPIT (WM_USER+5) +#define PBM_SETRANGE32 (WM_USER+6) +#define PBM_GETRANGE (WM_USER+7) +#define PBM_GETPOS (WM_USER+8) +#define PBM_SETBARCOLOR (WM_USER+9) +#define PBM_SETMARQUEE (WM_USER+10) +#define PBM_GETSTEP (WM_USER+13) +#define PBM_GETBKCOLOR (WM_USER+14) +#define PBM_GETBARCOLOR (WM_USER+15) +#define PBM_SETSTATE (WM_USER+16) +#define PBM_GETSTATE (WM_USER+17) +#define PBM_SETBKCOLOR CCM_SETBKCOLOR + + +#define PBST_NORMAL 1 +#define PBST_ERROR 2 +#define PBST_PAUSED 3 + +typedef struct +{ + INT iLow; + INT iHigh; +} PBRANGE, *PPBRANGE; + + +/* ImageList */ + +struct _IMAGELIST; +typedef struct _IMAGELIST *HIMAGELIST; + +#define CLR_NONE 0xFFFFFFFF +#define CLR_DEFAULT 0xFF000000 +#define CLR_HILIGHT CLR_DEFAULT + +#define ILC_MASK 0x00000001 +#define ILC_COLOR 0x00000000 +#define ILC_COLORDDB 0x000000fe +#define ILC_COLOR4 0x00000004 +#define ILC_COLOR8 0x00000008 +#define ILC_COLOR16 0x00000010 +#define ILC_COLOR24 0x00000018 +#define ILC_COLOR32 0x00000020 +#define ILC_PALETTE 0x00000800 /* no longer supported by M$ */ +#define ILC_MIRROR 0x00002000 +#define ILC_PERITEMMIRROR 0x00008000 +#define ILC_ORIGINALSIZE 0x00010000 +#define ILC_HIGHQUALITYSCALE 0x00020000 + +#define ILD_NORMAL 0x0000 +#define ILD_TRANSPARENT 0x0001 +#define ILD_BLEND25 0x0002 +#define ILD_BLEND50 0x0004 +#define ILD_MASK 0x0010 +#define ILD_IMAGE 0x0020 +#define ILD_ROP 0x0040 +#define ILD_OVERLAYMASK 0x0F00 +#define ILD_PRESERVEALPHA 0x1000 +#define ILD_SCALE 0x2000 +#define ILD_DPISCALE 0x4000 +#define ILD_ASYNC 0x8000 + +#define ILD_SELECTED ILD_BLEND50 +#define ILD_FOCUS ILD_BLEND25 +#define ILD_BLEND ILD_BLEND50 + +#define INDEXTOOVERLAYMASK(i) ((i)<<8) +#define INDEXTOSTATEIMAGEMASK(i) ((i)<<12) + +#define ILCF_MOVE (0x00000000) +#define ILCF_SWAP (0x00000001) + +#define ILGT_NORMAL 0x0000 +#define ILGT_ASYNC 0x0001 + +#define ILS_NORMAL 0x0000 +#define ILS_GLOW 0x0001 +#define ILS_SHADOW 0x0002 +#define ILS_SATURATE 0x0004 +#define ILS_ALPHA 0x0008 + +typedef struct _IMAGEINFO +{ + HBITMAP hbmImage; + HBITMAP hbmMask; + INT Unused1; + INT Unused2; + RECT rcImage; +} IMAGEINFO, *LPIMAGEINFO; + + +typedef struct _IMAGELISTDRAWPARAMS +{ + DWORD cbSize; + HIMAGELIST himl; + INT i; + HDC hdcDst; + INT x; + INT y; + INT cx; + INT cy; + INT xBitmap; /* x offset from the upperleft of bitmap */ + INT yBitmap; /* y offset from the upperleft of bitmap */ + COLORREF rgbBk; + COLORREF rgbFg; + UINT fStyle; + DWORD dwRop; + DWORD fState; + DWORD Frame; + COLORREF crEffect; +} IMAGELISTDRAWPARAMS, *LPIMAGELISTDRAWPARAMS; + +#define IMAGELISTDRAWPARAMS_V3_SIZE CCSIZEOF_STRUCT(IMAGELISTDRAWPARAMS, dwRop) + +HRESULT WINAPI HIMAGELIST_QueryInterface(HIMAGELIST,REFIID,void **); +INT WINAPI ImageList_Add(HIMAGELIST,HBITMAP,HBITMAP); +INT WINAPI ImageList_AddMasked(HIMAGELIST,HBITMAP,COLORREF); +BOOL WINAPI ImageList_BeginDrag(HIMAGELIST,INT,INT,INT); +BOOL WINAPI ImageList_Copy(HIMAGELIST,INT,HIMAGELIST,INT,UINT); +HIMAGELIST WINAPI ImageList_Create(INT,INT,UINT,INT,INT); +BOOL WINAPI ImageList_Destroy(HIMAGELIST); +BOOL WINAPI ImageList_DragEnter(HWND,INT,INT); +BOOL WINAPI ImageList_DragLeave(HWND); +BOOL WINAPI ImageList_DragMove(INT,INT); +BOOL WINAPI ImageList_DragShowNolock (BOOL); +BOOL WINAPI ImageList_Draw(HIMAGELIST,INT,HDC,INT,INT,UINT); +BOOL WINAPI ImageList_DrawEx(HIMAGELIST,INT,HDC,INT,INT,INT, + INT,COLORREF,COLORREF,UINT); +BOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*); +HIMAGELIST WINAPI ImageList_Duplicate(HIMAGELIST); +VOID WINAPI ImageList_EndDrag(VOID); +COLORREF WINAPI ImageList_GetBkColor(HIMAGELIST); +HIMAGELIST WINAPI ImageList_GetDragImage(POINT*,POINT*); +HICON WINAPI ImageList_GetIcon(HIMAGELIST,INT,UINT); +BOOL WINAPI ImageList_GetIconSize(HIMAGELIST,INT*,INT*); +INT WINAPI ImageList_GetImageCount(HIMAGELIST); +BOOL WINAPI ImageList_GetImageInfo(HIMAGELIST,INT,IMAGEINFO*); +BOOL WINAPI ImageList_GetImageRect(HIMAGELIST,INT,LPRECT); +HIMAGELIST WINAPI ImageList_LoadImageA(HINSTANCE,LPCSTR,INT,INT, + COLORREF,UINT,UINT); +HIMAGELIST WINAPI ImageList_LoadImageW(HINSTANCE,LPCWSTR,INT,INT, + COLORREF,UINT,UINT); +#define ImageList_LoadImage WINELIB_NAME_AW(ImageList_LoadImage) +HIMAGELIST WINAPI ImageList_Merge(HIMAGELIST,INT,HIMAGELIST,INT,INT,INT); +BOOL WINAPI ImageList_Remove(HIMAGELIST,INT); +BOOL WINAPI ImageList_Replace(HIMAGELIST,INT,HBITMAP,HBITMAP); +INT WINAPI ImageList_ReplaceIcon(HIMAGELIST,INT,HICON); +COLORREF WINAPI ImageList_SetBkColor(HIMAGELIST,COLORREF); +BOOL WINAPI ImageList_SetDragCursorImage(HIMAGELIST,INT,INT,INT); + +BOOL WINAPI ImageList_SetIconSize(HIMAGELIST,INT,INT); +BOOL WINAPI ImageList_SetImageCount(HIMAGELIST,UINT); +BOOL WINAPI ImageList_SetOverlayImage(HIMAGELIST,INT,INT); + +#ifdef __IStream_INTERFACE_DEFINED__ +HIMAGELIST WINAPI ImageList_Read(LPSTREAM); +BOOL WINAPI ImageList_Write(HIMAGELIST, LPSTREAM); +#endif + +#define ImageList_AddIcon(himl,hicon) ImageList_ReplaceIcon(himl,-1,hicon) +#define ImageList_ExtractIcon(hi,himl,i) ImageList_GetIcon(himl,i,0) +#define ImageList_LoadBitmap(hi,lpbmp,cx,cGrow,crMask) \ + ImageList_LoadImage(hi,lpbmp,cx,cGrow,crMask,IMAGE_BITMAP,0) +#define ImageList_RemoveAll(himl) ImageList_Remove(himl,-1) + + +#ifndef WM_MOUSEHOVER +#define WM_MOUSEHOVER 0x02A1 +#define WM_MOUSELEAVE 0x02A3 +#endif + +#ifndef TME_HOVER + +#define TME_HOVER 0x00000001 +#define TME_LEAVE 0x00000002 +#define TME_NONCLIENT 0x00000010 +#define TME_QUERY 0x40000000 +#define TME_CANCEL 0x80000000 + + +#define HOVER_DEFAULT 0xFFFFFFFF + +typedef struct tagTRACKMOUSEEVENT { + DWORD cbSize; + DWORD dwFlags; + HWND hwndTrack; + DWORD dwHoverTime; +} TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT; + +#endif + +BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT lpEventTrack); + +/* Flat Scrollbar control */ + +#define FLATSB_CLASSA "flatsb_class32" +#if defined(__GNUC__) +# define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \ + 'c','l','a','s','s','3','2',0 } +#elif defined(_MSC_VER) +# define FLATSB_CLASSW L"flatsb_class32" +#else +static const WCHAR FLATSB_CLASSW[] = { 'f','l','a','t','s','b','_', + 'c','l','a','s','s','3','2',0 }; +#endif +#define FLATSB_CLASS WINELIB_NAME_AW(FLATSB_CLASS) + +#define WSB_PROP_CYVSCROLL __MSABI_LONG(0x00000001) +#define WSB_PROP_CXHSCROLL __MSABI_LONG(0x00000002) +#define WSB_PROP_CYHSCROLL __MSABI_LONG(0x00000004) +#define WSB_PROP_CXVSCROLL __MSABI_LONG(0x00000008) +#define WSB_PROP_CXHTHUMB __MSABI_LONG(0x00000010) +#define WSB_PROP_CYVTHUMB __MSABI_LONG(0x00000020) +#define WSB_PROP_VBKGCOLOR __MSABI_LONG(0x00000040) +#define WSB_PROP_HBKGCOLOR __MSABI_LONG(0x00000080) +#define WSB_PROP_VSTYLE __MSABI_LONG(0x00000100) +#define WSB_PROP_HSTYLE __MSABI_LONG(0x00000200) +#define WSB_PROP_WINSTYLE __MSABI_LONG(0x00000400) +#define WSB_PROP_PALETTE __MSABI_LONG(0x00000800) +#define WSB_PROP_MASK __MSABI_LONG(0x00000FFF) + +#define FSB_REGULAR_MODE 0 +#define FSB_ENCARTA_MODE 1 +#define FSB_FLAT_MODE 2 + + +BOOL WINAPI FlatSB_EnableScrollBar(HWND, INT, UINT); +BOOL WINAPI FlatSB_ShowScrollBar(HWND, INT, BOOL); +BOOL WINAPI FlatSB_GetScrollRange(HWND, INT, LPINT, LPINT); +BOOL WINAPI FlatSB_GetScrollInfo(HWND, INT, LPSCROLLINFO); +INT WINAPI FlatSB_GetScrollPos(HWND, INT); +BOOL WINAPI FlatSB_GetScrollProp(HWND, INT, LPINT); +INT WINAPI FlatSB_SetScrollPos(HWND, INT, INT, BOOL); +INT WINAPI FlatSB_SetScrollInfo(HWND, INT, LPSCROLLINFO, BOOL); +INT WINAPI FlatSB_SetScrollRange(HWND, INT, INT, INT, BOOL); +BOOL WINAPI FlatSB_SetScrollProp(HWND, UINT, INT, BOOL); +BOOL WINAPI InitializeFlatSB(HWND); +HRESULT WINAPI UninitializeFlatSB(HWND); + +/* Subclassing stuff */ +typedef LRESULT (CALLBACK *SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD_PTR); +BOOL WINAPI SetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR); +BOOL WINAPI GetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR*); +BOOL WINAPI RemoveWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR); +LRESULT WINAPI DefSubclassProc(HWND, UINT, WPARAM, LPARAM); + +int WINAPI DrawShadowText(HDC, LPCWSTR, UINT, RECT*, DWORD, COLORREF, COLORREF, int, int); + +/* Header control */ + +#define WC_HEADERA "SysHeader32" +#if defined(__GNUC__) +# define WC_HEADERW (const WCHAR []){ 'S','y','s','H','e','a','d','e','r','3','2',0 } +#elif defined(_MSC_VER) +# define WC_HEADERW L"SysHeader32" +#else +static const WCHAR WC_HEADERW[] = { 'S','y','s','H','e','a','d','e','r','3','2',0 }; +#endif +#define WC_HEADER WINELIB_NAME_AW(WC_HEADER) + + +#define HDI_WIDTH 0x0001 +#define HDI_HEIGHT HDI_WIDTH +#define HDI_TEXT 0x0002 +#define HDI_FORMAT 0x0004 +#define HDI_LPARAM 0x0008 +#define HDI_BITMAP 0x0010 +#define HDI_IMAGE 0x0020 +#define HDI_DI_SETITEM 0x0040 +#define HDI_ORDER 0x0080 +#define HDI_FILTER 0x0100 +#define HDI_STATE 0x0200 + +#define HDIS_FOCUSED 0x00000001 + +#define HDF_LEFT 0x0000 +#define HDF_RIGHT 0x0001 +#define HDF_CENTER 0x0002 +#define HDF_JUSTIFYMASK 0x0003 +#define HDF_RTLREADING 0x0004 +#define HDF_CHECKBOX 0x0040 +#define HDF_CHECKED 0x0080 +#define HDF_FIXEDWIDTH 0x0100 +#define HDF_SORTDOWN 0x0200 +#define HDF_SORTUP 0x0400 +#define HDF_IMAGE 0x0800 +#define HDF_BITMAP_ON_RIGHT 0x1000 +#define HDF_BITMAP 0x2000 +#define HDF_STRING 0x4000 +#define HDF_OWNERDRAW 0x8000 +#define HDF_SPLITBUTTON 0x1000000 + +#define HHT_NOWHERE 0x0001 +#define HHT_ONHEADER 0x0002 +#define HHT_ONDIVIDER 0x0004 +#define HHT_ONDIVOPEN 0x0008 +#define HHT_ONFILTER 0x0010 +#define HHT_ONFILTERBUTTON 0x0020 +#define HHT_ABOVE 0x0100 +#define HHT_BELOW 0x0200 +#define HHT_TORIGHT 0x0400 +#define HHT_TOLEFT 0x0800 +#define HHT_ONITEMSTATEICON 0x1000 +#define HHT_ONDROPDOWN 0x2000 +#define HHT_ONOVERFLOW 0x4000 + +#define HDM_FIRST 0x1200 +#define HDM_GETITEMCOUNT (HDM_FIRST+0) +#define HDM_INSERTITEMA (HDM_FIRST+1) +#define HDM_INSERTITEMW (HDM_FIRST+10) +#define HDM_INSERTITEM WINELIB_NAME_AW(HDM_INSERTITEM) +#define HDM_DELETEITEM (HDM_FIRST+2) +#define HDM_GETITEMA (HDM_FIRST+3) +#define HDM_GETITEMW (HDM_FIRST+11) +#define HDM_GETITEM WINELIB_NAME_AW(HDM_GETITEM) +#define HDM_SETITEMA (HDM_FIRST+4) +#define HDM_SETITEMW (HDM_FIRST+12) +#define HDM_SETITEM WINELIB_NAME_AW(HDM_SETITEM) +#define HDM_LAYOUT (HDM_FIRST+5) +#define HDM_HITTEST (HDM_FIRST+6) +#define HDM_GETITEMRECT (HDM_FIRST+7) +#define HDM_SETIMAGELIST (HDM_FIRST+8) +#define HDM_GETIMAGELIST (HDM_FIRST+9) + +#define HDM_ORDERTOINDEX (HDM_FIRST+15) +#define HDM_CREATEDRAGIMAGE (HDM_FIRST+16) +#define HDM_GETORDERARRAY (HDM_FIRST+17) +#define HDM_SETORDERARRAY (HDM_FIRST+18) +#define HDM_SETHOTDIVIDER (HDM_FIRST+19) +#define HDM_SETBITMAPMARGIN (HDM_FIRST+20) +#define HDM_GETBITMAPMARGIN (HDM_FIRST+21) +#define HDM_SETFILTERCHANGETIMEOUT (HDM_FIRST+22) +#define HDM_EDITFILTER (HDM_FIRST+23) +#define HDM_CLEARFILTER (HDM_FIRST+24) +#define HDM_GETITEMDROPDOWNRECT (HDM_FIRST+25) +#define HDM_GETOVERFLOWRECT (HDM_FIRST+26) +#define HDM_GETFOCUSEDITEM (HDM_FIRST+27) +#define HDM_SETFOCUSEDITEM (HDM_FIRST+28) +#define HDM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define HDM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT + +#define HDN_FIRST (0U-300U) +#define HDN_LAST (0U-399U) +#define HDN_ITEMCHANGINGA (HDN_FIRST-0) +#define HDN_ITEMCHANGINGW (HDN_FIRST-20) +#define HDN_ITEMCHANGING WINELIB_NAME_AW(HDN_ITEMCHANGING) +#define HDN_ITEMCHANGEDA (HDN_FIRST-1) +#define HDN_ITEMCHANGEDW (HDN_FIRST-21) +#define HDN_ITEMCHANGED WINELIB_NAME_AW(HDN_ITEMCHANGED) +#define HDN_ITEMCLICKA (HDN_FIRST-2) +#define HDN_ITEMCLICKW (HDN_FIRST-22) +#define HDN_ITEMCLICK WINELIB_NAME_AW(HDN_ITEMCLICK) +#define HDN_ITEMDBLCLICKA (HDN_FIRST-3) +#define HDN_ITEMDBLCLICKW (HDN_FIRST-23) +#define HDN_ITEMDBLCLICK WINELIB_NAME_AW(HDN_ITEMDBLCLICK) +#define HDN_DIVIDERDBLCLICKA (HDN_FIRST-5) +#define HDN_DIVIDERDBLCLICKW (HDN_FIRST-25) +#define HDN_DIVIDERDBLCLICK WINELIB_NAME_AW(HDN_DIVIDERDBLCLICK) +#define HDN_BEGINTRACKA (HDN_FIRST-6) +#define HDN_BEGINTRACKW (HDN_FIRST-26) +#define HDN_BEGINTRACK WINELIB_NAME_AW(HDN_BEGINTRACK) +#define HDN_ENDTRACKA (HDN_FIRST-7) +#define HDN_ENDTRACKW (HDN_FIRST-27) +#define HDN_ENDTRACK WINELIB_NAME_AW(HDN_ENDTRACK) +#define HDN_TRACKA (HDN_FIRST-8) +#define HDN_TRACKW (HDN_FIRST-28) +#define HDN_TRACK WINELIB_NAME_AW(HDN_TRACK) +#define HDN_GETDISPINFOA (HDN_FIRST-9) +#define HDN_GETDISPINFOW (HDN_FIRST-29) +#define HDN_GETDISPINFO WINELIB_NAME_AW(HDN_GETDISPINFO) +#define HDN_BEGINDRAG (HDN_FIRST-10) +#define HDN_ENDDRAG (HDN_FIRST-11) +#define HDN_FILTERCHANGE (HDN_FIRST-12) +#define HDN_FILTERBTNCLICK (HDN_FIRST-13) +#define HDN_BEGINFILTEREDIT (HDN_FIRST-14) +#define HDN_ENDFILTEREDIT (HDN_FIRST-15) +#define HDN_ITEMSTATEICONCLICK (HDN_FIRST-16) +#define HDN_ITEMKEYDOWN (HDN_FIRST-17) +#define HDN_DROPDOWN (HDN_FIRST-18) +#define HDN_OVERFLOWCLICK (HDN_FIRST-19) + +typedef struct _HD_LAYOUT +{ + RECT *prc; + WINDOWPOS *pwpos; +} HDLAYOUT, *LPHDLAYOUT; + +#define HD_LAYOUT HDLAYOUT + +typedef struct _HD_ITEMA +{ + UINT mask; + INT cxy; + LPSTR pszText; + HBITMAP hbm; + INT cchTextMax; + INT fmt; + LPARAM lParam; + /* (_WIN32_IE >= 0x0300) */ + INT iImage; + INT iOrder; + /* (_WIN32_IE >= 0x0500) */ + UINT type; + LPVOID pvFilter; + /* (_WIN32_WINNT >= 0x0600) */ + UINT state; +} HDITEMA, *LPHDITEMA; + +typedef struct _HD_ITEMW +{ + UINT mask; + INT cxy; + LPWSTR pszText; + HBITMAP hbm; + INT cchTextMax; + INT fmt; + LPARAM lParam; + /* (_WIN32_IE >= 0x0300) */ + INT iImage; + INT iOrder; + /* (_WIN32_IE >= 0x0500) */ + UINT type; + LPVOID pvFilter; + /* (_WIN32_WINNT >= 0x0600) */ + UINT state; +} HDITEMW, *LPHDITEMW; + +#define HDITEM WINELIB_NAME_AW(HDITEM) +#define LPHDITEM WINELIB_NAME_AW(LPHDITEM) +#define HD_ITEM HDITEM + +#define HDITEM_V1_SIZEA CCSIZEOF_STRUCT(HDITEMA, lParam) +#define HDITEM_V1_SIZEW CCSIZEOF_STRUCT(HDITEMW, lParam) +#define HDITEM_V1_SIZE WINELIB_NAME_AW(HDITEM_V1_SIZE) + +#define HDFT_ISSTRING 0x0000 +#define HDFT_ISNUMBER 0x0001 +#define HDFT_HASNOVALUE 0x8000 + +typedef struct _HD_TEXTFILTERA +{ + LPSTR pszText; + INT cchTextMax; +} HD_TEXTFILTERA, *LPHD_TEXTFILTERA; + +typedef struct _HD_TEXTFILTERW +{ + LPWSTR pszText; + INT cchTextMax; +} HD_TEXTFILTERW, *LPHD_TEXTFILTERW; + +#define HD_TEXTFILTER WINELIB_NAME_AW(HD_TEXTFILTER) +#define HDTEXTFILTER WINELIB_NAME_AW(HD_TEXTFILTER) +#define LPHD_TEXTFILTER WINELIB_NAME_AW(LPHD_TEXTFILTER) +#define LPHDTEXTFILTER WINELIB_NAME_AW(LPHD_TEXTFILTER) + +typedef struct _HD_HITTESTINFO +{ + POINT pt; + UINT flags; + INT iItem; +} HDHITTESTINFO, *LPHDHITTESTINFO; + +#define HD_HITTESTINFO HDHITTESTINFO + +typedef struct tagNMHEADERA +{ + NMHDR hdr; + INT iItem; + INT iButton; + HDITEMA *pitem; +} NMHEADERA, *LPNMHEADERA; + +typedef struct tagNMHEADERW +{ + NMHDR hdr; + INT iItem; + INT iButton; + HDITEMW *pitem; +} NMHEADERW, *LPNMHEADERW; + +#define NMHEADER WINELIB_NAME_AW(NMHEADER) +#define LPNMHEADER WINELIB_NAME_AW(LPNMHEADER) +#define HD_NOTIFY NMHEADER + +typedef struct tagNMHDDISPINFOA +{ + NMHDR hdr; + INT iItem; + UINT mask; + LPSTR pszText; + INT cchTextMax; + INT iImage; + LPARAM lParam; +} NMHDDISPINFOA, *LPNMHDDISPINFOA; + +typedef struct tagNMHDDISPINFOW +{ + NMHDR hdr; + INT iItem; + UINT mask; + LPWSTR pszText; + INT cchTextMax; + INT iImage; + LPARAM lParam; +} NMHDDISPINFOW, *LPNMHDDISPINFOW; + +#define NMHDDISPINFO WINELIB_NAME_AW(NMHDDISPINFO) +#define LPNMHDDISPINFO WINELIB_NAME_AW(LPNMHDDISPINFO) + +typedef struct tagNMHDFILTERBTNCLICK +{ + NMHDR hdr; + INT iItem; + RECT rc; +} NMHDFILTERBTNCLICK, *LPNMHDFILTERBTNCLICK; + +#define Header_GetItemCount(hwndHD) \ + (INT)SNDMSG((hwndHD), HDM_GETITEMCOUNT, 0, 0) +#define Header_InsertItemA(hwndHD,i,phdi) \ + (INT)SNDMSGA((hwndHD),HDM_INSERTITEMA,(WPARAM)(INT)(i),(LPARAM)(const HDITEMA*)(phdi)) +#define Header_InsertItemW(hwndHD,i,phdi) \ + (INT)SNDMSGW((hwndHD),HDM_INSERTITEMW,(WPARAM)(INT)(i),(LPARAM)(const HDITEMW*)(phdi)) +#define Header_InsertItem WINELIB_NAME_AW(Header_InsertItem) +#define Header_DeleteItem(hwndHD,i) \ + (BOOL)SNDMSG((hwndHD), HDM_DELETEITEM, (WPARAM)(INT)(i), 0) +#define Header_GetItemA(hwndHD,i,phdi) \ + (BOOL)SNDMSGA((hwndHD),HDM_GETITEMA,(WPARAM)(INT)(i),(LPARAM)(HDITEMA*)(phdi)) +#define Header_GetItemW(hwndHD,i,phdi) \ + (BOOL)SNDMSGW((hwndHD),HDM_GETITEMW,(WPARAM)(INT)(i),(LPARAM)(HDITEMW*)(phdi)) +#define Header_GetItem WINELIB_NAME_AW(Header_GetItem) +#define Header_SetItemA(hwndHD,i,phdi) \ + (BOOL)SNDMSGA((hwndHD),HDM_SETITEMA,(WPARAM)(INT)(i),(LPARAM)(const HDITEMA*)(phdi)) +#define Header_SetItemW(hwndHD,i,phdi) \ + (BOOL)SNDMSGW((hwndHD),HDM_SETITEMW,(WPARAM)(INT)(i),(LPARAM)(const HDITEMW*)(phdi)) +#define Header_SetItem WINELIB_NAME_AW(Header_SetItem) +#define Header_Layout(hwndHD,playout) \ + (BOOL)SNDMSG((hwndHD),HDM_LAYOUT,0,(LPARAM)(LPHDLAYOUT)(playout)) +#define Header_GetItemRect(hwnd,iItem,lprc) \ + (BOOL)SNDMSG((hwnd),HDM_GETITEMRECT,(WPARAM)iItem,(LPARAM)lprc) +#define Header_SetImageList(hwnd,himl) \ + (HIMAGELIST)SNDMSG((hwnd),HDM_SETIMAGELIST,0,(LPARAM)himl) +#define Header_GetImageList(hwnd) \ + (HIMAGELIST)SNDMSG((hwnd),HDM_GETIMAGELIST,0,0) +#define Header_OrderToIndex(hwnd,i) \ + (INT)SNDMSG((hwnd),HDM_ORDERTOINDEX,(WPARAM)i,0) +#define Header_CreateDragImage(hwnd,i) \ + (HIMAGELIST)SNDMSG((hwnd),HDM_CREATEDRAGIMAGE,(WPARAM)i,0) +#define Header_GetOrderArray(hwnd,iCount,lpi) \ + (BOOL)SNDMSG((hwnd),HDM_GETORDERARRAY,(WPARAM)iCount,(LPARAM)lpi) +#define Header_SetOrderArray(hwnd,iCount,lpi) \ + (BOOL)SNDMSG((hwnd),HDM_SETORDERARRAY,(WPARAM)iCount,(LPARAM)lpi) +#define Header_SetHotDivider(hwnd,fPos,dw) \ + (INT)SNDMSG((hwnd),HDM_SETHOTDIVIDER,(WPARAM)fPos,(LPARAM)dw) +#define Header_SetUnicodeFormat(hwnd,fUnicode) \ + (BOOL)SNDMSG((hwnd),HDM_SETUNICODEFORMAT,(WPARAM)(fUnicode),0) +#define Header_GetUnicodeFormat(hwnd) \ + (BOOL)SNDMSG((hwnd),HDM_GETUNICODEFORMAT,0,0) + +/* Win32 5.1 Button Theme */ +#define WC_BUTTONA "Button" +#if defined(__GNUC__) +# define WC_BUTTONW (const WCHAR []){ 'B','u','t','t','o','n',0 } +#elif defined(_MSC_VER) +# define WC_BUTTONW L"Button" +#else +static const WCHAR WC_BUTTONW[] = { 'B','u','t','t','o','n',0 }; +#endif +#define WC_BUTTON WINELIB_NAME_AW(WC_BUTTON) + +#define BCN_FIRST (0U-1250U) +#define BCN_LAST (0U-1350U) + +#define BCN_HOTITEMCHANGE (BCN_FIRST + 0x0001) + +typedef struct tagNMBCHOTITEM +{ + NMHDR hdr; + DWORD dwFlags; +} NMBCHOTITEM, *LPNMBCHOTITEM; + +#define BST_HOT 0x0200 + +/* Button control styles for _WIN32_WINNT >= 0x600 */ +#define BS_SPLITBUTTON 0x0000000C +#define BS_DEFSPLITBUTTON 0x0000000D +#define BS_COMMANDLINK 0x0000000E +#define BS_DEFCOMMANDLINK 0x0000000F + +/* Toolbar */ + +#define TOOLBARCLASSNAMEA "ToolbarWindow32" +#if defined(__GNUC__) +# define TOOLBARCLASSNAMEW (const WCHAR []){ 'T','o','o','l','b','a','r', \ + 'W','i','n','d','o','w','3','2',0 } +#elif defined(_MSC_VER) +# define TOOLBARCLASSNAMEW L"ToolbarWindow32" +#else +static const WCHAR TOOLBARCLASSNAMEW[] = { 'T','o','o','l','b','a','r', + 'W','i','n','d','o','w','3','2',0 }; +#endif +#define TOOLBARCLASSNAME WINELIB_NAME_AW(TOOLBARCLASSNAME) + +#define CMB_MASKED 0x02 + +#define TBSTATE_CHECKED 0x01 +#define TBSTATE_PRESSED 0x02 +#define TBSTATE_ENABLED 0x04 +#define TBSTATE_HIDDEN 0x08 +#define TBSTATE_INDETERMINATE 0x10 +#define TBSTATE_WRAP 0x20 +#define TBSTATE_ELLIPSES 0x40 +#define TBSTATE_MARKED 0x80 + + +/* as of _WIN32_IE >= 0x0500 the following symbols are obsolete, + * "everyone" should use the BTNS_... stuff below + */ +#define TBSTYLE_BUTTON 0x00 +#define TBSTYLE_SEP 0x01 +#define TBSTYLE_CHECK 0x02 +#define TBSTYLE_GROUP 0x04 +#define TBSTYLE_CHECKGROUP (TBSTYLE_GROUP | TBSTYLE_CHECK) +#define TBSTYLE_DROPDOWN 0x08 +#define TBSTYLE_AUTOSIZE 0x10 +#define TBSTYLE_NOPREFIX 0x20 +#define BTNS_BUTTON TBSTYLE_BUTTON +#define BTNS_SEP TBSTYLE_SEP +#define BTNS_CHECK TBSTYLE_CHECK +#define BTNS_GROUP TBSTYLE_GROUP +#define BTNS_CHECKGROUP TBSTYLE_CHECKGROUP +#define BTNS_DROPDOWN TBSTYLE_DROPDOWN +#define BTNS_AUTOSIZE TBSTYLE_AUTOSIZE +#define BTNS_NOPREFIX TBSTYLE_NOPREFIX +#define BTNS_SHOWTEXT 0x40 /* ignored unless TBSTYLE_EX_MIXEDB set */ +#define BTNS_WHOLEDROPDOWN 0x80 /* draw dropdown arrow, but without split arrow section */ + +#define TBSTYLE_TOOLTIPS 0x0100 +#define TBSTYLE_WRAPABLE 0x0200 +#define TBSTYLE_ALTDRAG 0x0400 +#define TBSTYLE_FLAT 0x0800 +#define TBSTYLE_LIST 0x1000 +#define TBSTYLE_CUSTOMERASE 0x2000 +#define TBSTYLE_REGISTERDROP 0x4000 +#define TBSTYLE_TRANSPARENT 0x8000 +#define TBSTYLE_EX_DRAWDDARROWS 0x00000001 +#define TBSTYLE_EX_MULTICOLUMN 0x00000002 +#define TBSTYLE_EX_VERTICAL 0x00000004 +#define TBSTYLE_EX_MIXEDBUTTONS 0x00000008 +#define TBSTYLE_EX_HIDECLIPPEDBUTTONS 0x00000010 /* don't show partially obscured buttons */ +#define TBSTYLE_EX_DOUBLEBUFFER 0x00000080 /* Double Buffer the toolbar */ + +#define TBIF_IMAGE 0x00000001 +#define TBIF_TEXT 0x00000002 +#define TBIF_STATE 0x00000004 +#define TBIF_STYLE 0x00000008 +#define TBIF_LPARAM 0x00000010 +#define TBIF_COMMAND 0x00000020 +#define TBIF_SIZE 0x00000040 +#define TBIF_BYINDEX 0x80000000 + +#define TBBF_LARGE 0x0001 + +#define TB_ENABLEBUTTON (WM_USER+1) +#define TB_CHECKBUTTON (WM_USER+2) +#define TB_PRESSBUTTON (WM_USER+3) +#define TB_HIDEBUTTON (WM_USER+4) +#define TB_INDETERMINATE (WM_USER+5) +#define TB_MARKBUTTON (WM_USER+6) +#define TB_ISBUTTONENABLED (WM_USER+9) +#define TB_ISBUTTONCHECKED (WM_USER+10) +#define TB_ISBUTTONPRESSED (WM_USER+11) +#define TB_ISBUTTONHIDDEN (WM_USER+12) +#define TB_ISBUTTONINDETERMINATE (WM_USER+13) +#define TB_ISBUTTONHIGHLIGHTED (WM_USER+14) +#define TB_SETSTATE (WM_USER+17) +#define TB_GETSTATE (WM_USER+18) +#define TB_ADDBITMAP (WM_USER+19) +#define TB_ADDBUTTONSA (WM_USER+20) +#define TB_ADDBUTTONSW (WM_USER+68) +#define TB_ADDBUTTONS WINELIB_NAME_AW(TB_ADDBUTTONS) +#define TB_HITTEST (WM_USER+69) +#define TB_INSERTBUTTONA (WM_USER+21) +#define TB_INSERTBUTTONW (WM_USER+67) +#define TB_INSERTBUTTON WINELIB_NAME_AW(TB_INSERTBUTTON) +#define TB_DELETEBUTTON (WM_USER+22) +#define TB_GETBUTTON (WM_USER+23) +#define TB_BUTTONCOUNT (WM_USER+24) +#define TB_COMMANDTOINDEX (WM_USER+25) +#define TB_SAVERESTOREA (WM_USER+26) +#define TB_SAVERESTOREW (WM_USER+76) +#define TB_SAVERESTORE WINELIB_NAME_AW(TB_SAVERESTORE) +#define TB_CUSTOMIZE (WM_USER+27) +#define TB_ADDSTRINGA (WM_USER+28) +#define TB_ADDSTRINGW (WM_USER+77) +#define TB_ADDSTRING WINELIB_NAME_AW(TB_ADDSTRING) +#define TB_GETITEMRECT (WM_USER+29) +#define TB_BUTTONSTRUCTSIZE (WM_USER+30) +#define TB_SETBUTTONSIZE (WM_USER+31) +#define TB_SETBITMAPSIZE (WM_USER+32) +#define TB_AUTOSIZE (WM_USER+33) +#define TB_GETTOOLTIPS (WM_USER+35) +#define TB_SETTOOLTIPS (WM_USER+36) +#define TB_SETPARENT (WM_USER+37) +#define TB_SETROWS (WM_USER+39) +#define TB_GETROWS (WM_USER+40) +#define TB_GETBITMAPFLAGS (WM_USER+41) +#define TB_SETCMDID (WM_USER+42) +#define TB_CHANGEBITMAP (WM_USER+43) +#define TB_GETBITMAP (WM_USER+44) +#define TB_GETBUTTONTEXTA (WM_USER+45) +#define TB_GETBUTTONTEXTW (WM_USER+75) +#define TB_GETBUTTONTEXT WINELIB_NAME_AW(TB_GETBUTTONTEXT) +#define TB_REPLACEBITMAP (WM_USER+46) +#define TB_SETINDENT (WM_USER+47) +#define TB_SETIMAGELIST (WM_USER+48) +#define TB_GETIMAGELIST (WM_USER+49) +#define TB_LOADIMAGES (WM_USER+50) +#define TB_GETRECT (WM_USER+51) /* wParam is the Cmd instead of index */ +#define TB_SETHOTIMAGELIST (WM_USER+52) +#define TB_GETHOTIMAGELIST (WM_USER+53) +#define TB_SETDISABLEDIMAGELIST (WM_USER+54) +#define TB_GETDISABLEDIMAGELIST (WM_USER+55) +#define TB_SETSTYLE (WM_USER+56) +#define TB_GETSTYLE (WM_USER+57) +#define TB_GETBUTTONSIZE (WM_USER+58) +#define TB_SETBUTTONWIDTH (WM_USER+59) +#define TB_SETMAXTEXTROWS (WM_USER+60) +#define TB_GETTEXTROWS (WM_USER+61) +#define TB_GETOBJECT (WM_USER+62) +#define TB_GETBUTTONINFOW (WM_USER+63) +#define TB_GETBUTTONINFOA (WM_USER+65) +#define TB_GETBUTTONINFO WINELIB_NAME_AW(TB_GETBUTTONINFO) +#define TB_SETBUTTONINFOW (WM_USER+64) +#define TB_SETBUTTONINFOA (WM_USER+66) +#define TB_SETBUTTONINFO WINELIB_NAME_AW(TB_SETBUTTONINFO) +#define TB_SETDRAWTEXTFLAGS (WM_USER+70) +#define TB_GETHOTITEM (WM_USER+71) +#define TB_SETHOTITEM (WM_USER+72) +#define TB_SETANCHORHIGHLIGHT (WM_USER+73) +#define TB_GETANCHORHIGHLIGHT (WM_USER+74) +#define TB_MAPACCELERATORA (WM_USER+78) +#define TB_MAPACCELERATORW (WM_USER+90) +#define TB_MAPACCELERATOR WINELIB_NAME_AW(TB_MAPACCELERATOR) +#define TB_GETINSERTMARK (WM_USER+79) +#define TB_SETINSERTMARK (WM_USER+80) +#define TB_INSERTMARKHITTEST (WM_USER+81) +#define TB_MOVEBUTTON (WM_USER+82) +#define TB_GETMAXSIZE (WM_USER+83) +#define TB_SETEXTENDEDSTYLE (WM_USER+84) +#define TB_GETEXTENDEDSTYLE (WM_USER+85) +#define TB_GETPADDING (WM_USER+86) +#define TB_SETPADDING (WM_USER+87) +#define TB_SETINSERTMARKCOLOR (WM_USER+88) +#define TB_GETINSERTMARKCOLOR (WM_USER+89) +#define TB_SETCOLORSCHEME CCM_SETCOLORSCHEME +#define TB_GETCOLORSCHEME CCM_GETCOLORSCHEME +#define TB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define TB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define TB_GETSTRINGW (WM_USER+91) +#define TB_GETSTRINGA (WM_USER+92) +#define TB_GETSTRING WINELIB_NAME_AW(TB_GETSTRING) +#define TB_SETBOUNDINGSIZE (WM_USER+93) +#define TB_SETHOTITEM2 (WM_USER+94) +#define TB_HASACCELERATOR (WM_USER+95) +#define TB_SETLISTGAP (WM_USER+96) +#define TB_GETIMAGELISTCOUNT (WM_USER+98) +#define TB_GETIDEALSIZE (WM_USER+99) + +/* undocumented messages in Toolbar */ +#ifdef __WINESRC__ +#define TB_UNKWN464 (WM_USER+100) +#endif + +#define TB_GETMETRICS (WM_USER+101) +#define TB_SETMETRICS (WM_USER+102) +#define TB_GETITEMDROPDOWNRECT (WM_USER+103) +#define TB_SETPRESSEDIMAGELIST (WM_USER+104) +#define TB_GETPRESSEDIMAGELIST (WM_USER+105) +#define TB_SETWINDOWTHEME CCM_SETWINDOWTHEME + +#define TBN_FIRST (0U-700U) +#define TBN_LAST (0U-720U) +#define TBN_GETBUTTONINFOA (TBN_FIRST-0) +#define TBN_GETBUTTONINFOW (TBN_FIRST-20) +#define TBN_GETBUTTONINFO WINELIB_NAME_AW(TBN_GETBUTTONINFO) +#define TBN_BEGINDRAG (TBN_FIRST-1) +#define TBN_ENDDRAG (TBN_FIRST-2) +#define TBN_BEGINADJUST (TBN_FIRST-3) +#define TBN_ENDADJUST (TBN_FIRST-4) +#define TBN_RESET (TBN_FIRST-5) +#define TBN_QUERYINSERT (TBN_FIRST-6) +#define TBN_QUERYDELETE (TBN_FIRST-7) +#define TBN_TOOLBARCHANGE (TBN_FIRST-8) +#define TBN_CUSTHELP (TBN_FIRST-9) +#define TBN_DROPDOWN (TBN_FIRST-10) +#define TBN_GETOBJECT (TBN_FIRST-12) +#define TBN_HOTITEMCHANGE (TBN_FIRST-13) +#define TBN_DRAGOUT (TBN_FIRST-14) +#define TBN_DELETINGBUTTON (TBN_FIRST-15) +#define TBN_GETDISPINFOA (TBN_FIRST-16) +#define TBN_GETDISPINFOW (TBN_FIRST-17) +#define TBN_GETDISPINFO WINELIB_NAME_AW(TBN_GETDISPINFO) +#define TBN_GETINFOTIPA (TBN_FIRST-18) +#define TBN_GETINFOTIPW (TBN_FIRST-19) +#define TBN_GETINFOTIP WINELIB_NAME_AW(TBN_GETINFOTIP) +#define TBN_RESTORE (TBN_FIRST-21) +#define TBN_SAVE (TBN_FIRST-22) +#define TBN_INITCUSTOMIZE (TBN_FIRST-23) +#define TBN_WRAPHOTITEM (TBN_FIRST-24) +#define TBN_DUPACCELERATOR (TBN_FIRST-25) +#define TBN_WRAPACCELERATOR (TBN_FIRST-26) +#define TBN_DRAGOVER (TBN_FIRST-27) +#define TBN_MAPACCELERATOR (TBN_FIRST-28) +#define TBNRF_HIDEHELP 0x00000001 + + +/* Return values from TBN_DROPDOWN */ +#define TBDDRET_DEFAULT 0 +#define TBDDRET_NODEFAULT 1 +#define TBDDRET_TREATPRESSED 2 + +typedef struct _NMTBCUSTOMDRAW +{ + NMCUSTOMDRAW nmcd; + HBRUSH hbrMonoDither; + HBRUSH hbrLines; + HPEN hpenLines; + COLORREF clrText; + COLORREF clrMark; + COLORREF clrTextHighlight; + COLORREF clrBtnFace; + COLORREF clrBtnHighlight; + COLORREF clrHighlightHotTrack; + RECT rcText; + int nStringBkMode; + int nHLStringBkMode; + int iListGap; +} NMTBCUSTOMDRAW, *LPNMTBCUSTOMDRAW; + +/* return flags for Toolbar NM_CUSTOMDRAW notifications */ +#define TBCDRF_NOEDGES 0x00010000 /* Don't draw button edges */ +#define TBCDRF_HILITEHOTTRACK 0x00020000 /* Use color of the button bkgnd */ + /* when hottracked */ +#define TBCDRF_NOOFFSET 0x00040000 /* No offset button if pressed */ +#define TBCDRF_NOMARK 0x00080000 /* Don't draw default highlight */ + /* for TBSTATE_MARKED */ +#define TBCDRF_NOETCHEDEFFECT 0x00100000 /* No etched effect for */ + /* disabled items */ +#define TBCDRF_BLENDICON 0x00200000 /* ILD_BLEND50 on the icon image */ +#define TBCDRF_NOBACKGROUND 0x00400000 /* ILD_BLEND50 on the icon image */ +#define TBCDRF_USECDCOLORS 0x00800000 + + +/* This is just for old CreateToolbar. */ +/* Don't use it in new programs. */ +typedef struct _OLDTBBUTTON { + INT iBitmap; + INT idCommand; + BYTE fsState; + BYTE fsStyle; + BYTE bReserved[2]; + DWORD dwData; +} OLDTBBUTTON, *POLDTBBUTTON, *LPOLDTBBUTTON; +typedef const OLDTBBUTTON *LPCOLDTBBUTTON; + + +typedef struct _TBBUTTON { + INT iBitmap; + INT idCommand; + BYTE fsState; + BYTE fsStyle; +#ifdef _WIN64 + BYTE bReserved[6]; +#else + BYTE bReserved[2]; +#endif + DWORD_PTR dwData; + INT_PTR iString; +} TBBUTTON, *PTBBUTTON, *LPTBBUTTON; +typedef const TBBUTTON *LPCTBBUTTON; + + +typedef struct _COLORMAP { + COLORREF from; + COLORREF to; +} COLORMAP, *LPCOLORMAP; + + +typedef struct tagTBADDBITMAP { + HINSTANCE hInst; + UINT_PTR nID; +} TBADDBITMAP, *LPTBADDBITMAP; + +#define HINST_COMMCTRL ((HINSTANCE)-1) +#define IDB_STD_SMALL_COLOR 0 +#define IDB_STD_LARGE_COLOR 1 +#define IDB_VIEW_SMALL_COLOR 4 +#define IDB_VIEW_LARGE_COLOR 5 +#define IDB_HIST_SMALL_COLOR 8 +#define IDB_HIST_LARGE_COLOR 9 +#define IDB_HIST_NORMAL 12 +#define IDB_HIST_HOT 13 +#define IDB_HIST_DISABLED 14 +#define IDB_HIST_PRESSED 15 + +#define STD_CUT 0 +#define STD_COPY 1 +#define STD_PASTE 2 +#define STD_UNDO 3 +#define STD_REDOW 4 +#define STD_DELETE 5 +#define STD_FILENEW 6 +#define STD_FILEOPEN 7 +#define STD_FILESAVE 8 +#define STD_PRINTPRE 9 +#define STD_PROPERTIES 10 +#define STD_HELP 11 +#define STD_FIND 12 +#define STD_REPLACE 13 +#define STD_PRINT 14 + +#define VIEW_LARGEICONS 0 +#define VIEW_SMALLICONS 1 +#define VIEW_LIST 2 +#define VIEW_DETAILS 3 +#define VIEW_SORTNAME 4 +#define VIEW_SORTSIZE 5 +#define VIEW_SORTDATE 6 +#define VIEW_SORTTYPE 7 +#define VIEW_PARENTFOLDER 8 +#define VIEW_NETCONNECT 9 +#define VIEW_NETDISCONNECT 10 +#define VIEW_NEWFOLDER 11 +#define VIEW_VIEWMENU 12 + +#define HIST_BACK 0 +#define HIST_FORWARD 1 +#define HIST_FAVORITES 2 +#define HIST_ADDTOFAVORITES 3 +#define HIST_VIEWTREE 4 + +typedef struct tagTBSAVEPARAMSA { + HKEY hkr; + LPCSTR pszSubKey; + LPCSTR pszValueName; +} TBSAVEPARAMSA, *LPTBSAVEPARAMSA; + +typedef struct tagTBSAVEPARAMSW { + HKEY hkr; + LPCWSTR pszSubKey; + LPCWSTR pszValueName; +} TBSAVEPARAMSW, *LPTBSAVEPARAMSW; + +#define TBSAVEPARAMS WINELIB_NAME_AW(TBSAVEPARAMS) +#define LPTBSAVEPARAMS WINELIB_NAME_AW(LPTBSAVEPARAMS) + +typedef struct +{ + UINT cbSize; + DWORD dwMask; + INT idCommand; + INT iImage; + BYTE fsState; + BYTE fsStyle; + WORD cx; + DWORD_PTR lParam; + LPSTR pszText; + INT cchText; +} TBBUTTONINFOA, *LPTBBUTTONINFOA; + +typedef struct +{ + UINT cbSize; + DWORD dwMask; + INT idCommand; + INT iImage; + BYTE fsState; + BYTE fsStyle; + WORD cx; + DWORD_PTR lParam; + LPWSTR pszText; + INT cchText; +} TBBUTTONINFOW, *LPTBBUTTONINFOW; + +#define TBBUTTONINFO WINELIB_NAME_AW(TBBUTTONINFO) +#define LPTBBUTTONINFO WINELIB_NAME_AW(LPTBBUTTONINFO) + +typedef struct tagNMTBHOTITEM +{ + NMHDR hdr; + int idOld; + int idNew; + DWORD dwFlags; +} NMTBHOTITEM, *LPNMTBHOTITEM; + +typedef struct tagNMTBGETINFOTIPA +{ + NMHDR hdr; + LPSTR pszText; + INT cchTextMax; + INT iItem; + LPARAM lParam; +} NMTBGETINFOTIPA, *LPNMTBGETINFOTIPA; + +typedef struct tagNMTBGETINFOTIPW +{ + NMHDR hdr; + LPWSTR pszText; + INT cchTextMax; + INT iItem; + LPARAM lParam; +} NMTBGETINFOTIPW, *LPNMTBGETINFOTIPW; + +#define NMTBGETINFOTIP WINELIB_NAME_AW(NMTBGETINFOTIP) +#define LPNMTBGETINFOTIP WINELIB_NAME_AW(LPNMTBGETINFOTIP) + +typedef struct +{ + NMHDR hdr; + DWORD dwMask; + int idCommand; + DWORD_PTR lParam; + int iImage; + LPSTR pszText; + int cchText; +} NMTBDISPINFOA, *LPNMTBDISPINFOA; + +typedef struct +{ + NMHDR hdr; + DWORD dwMask; + int idCommand; + DWORD_PTR lParam; + int iImage; + LPWSTR pszText; + int cchText; +} NMTBDISPINFOW, *LPNMTBDISPINFOW; + +#define NMTBDISPINFO WINELIB_NAME_AW(NMTBDISPINFO) +#define LPNMTBDISPINFO WINELIB_NAME_AW(LPNMTBDISPINFO) + +/* contents of dwMask in the NMTBDISPINFO structure */ +#define TBNF_IMAGE 0x00000001 +#define TBNF_TEXT 0x00000002 +#define TBNF_DI_SETITEM 0x10000000 + + +typedef struct tagNMTOOLBARA +{ + NMHDR hdr; + INT iItem; + TBBUTTON tbButton; + INT cchText; + LPSTR pszText; + RECT rcButton; /* Version 5.80 */ +} NMTOOLBARA, *LPNMTOOLBARA, TBNOTIFYA, *LPTBNOTIFYA; + +typedef struct tagNMTOOLBARW +{ + NMHDR hdr; + INT iItem; + TBBUTTON tbButton; + INT cchText; + LPWSTR pszText; + RECT rcButton; /* Version 5.80 */ +} NMTOOLBARW, *LPNMTOOLBARW, TBNOTIFYW, *LPTBNOTIFYW; + +#define NMTOOLBAR WINELIB_NAME_AW(NMTOOLBAR) +#define LPNMTOOLBAR WINELIB_NAME_AW(LPNMTOOLBAR) +#define TBNOTIFY WINELIB_NAME_AW(TBNOTIFY) +#define LPTBNOTIFY WINELIB_NAME_AW(LPTBNOTIFY) + +typedef struct +{ + HINSTANCE hInstOld; + UINT_PTR nIDOld; + HINSTANCE hInstNew; + UINT_PTR nIDNew; + INT nButtons; +} TBREPLACEBITMAP, *LPTBREPLACEBITMAP; + +#define HICF_OTHER 0x00000000 +#define HICF_MOUSE 0x00000001 /* Triggered by mouse */ +#define HICF_ARROWKEYS 0x00000002 /* Triggered by arrow keys */ +#define HICF_ACCELERATOR 0x00000004 /* Triggered by accelerator */ +#define HICF_DUPACCEL 0x00000008 /* This accelerator is not unique */ +#define HICF_ENTERING 0x00000010 /* idOld is invalid */ +#define HICF_LEAVING 0x00000020 /* idNew is invalid */ +#define HICF_RESELECT 0x00000040 /* hot item reselected */ +#define HICF_LMOUSE 0x00000080 /* left mouse button selected */ +#define HICF_TOGGLEDROPDOWN 0x00000100 /* Toggle button's dropdown state */ + +typedef struct +{ + int iButton; + DWORD dwFlags; +} TBINSERTMARK, *LPTBINSERTMARK; +#define TBIMHT_AFTER 0x00000001 /* TRUE = insert After iButton, otherwise before */ +#define TBIMHT_BACKGROUND 0x00000002 /* TRUE if and only if missed buttons completely */ + +typedef struct tagNMTBSAVE +{ + NMHDR hdr; + DWORD* pData; + DWORD* pCurrent; + UINT cbData; + int iItem; + int cButtons; + TBBUTTON tbButton; +} NMTBSAVE, *LPNMTBSAVE; + +typedef struct tagNMTBRESTORE +{ + NMHDR hdr; + DWORD* pData; + DWORD* pCurrent; + UINT cbData; + int iItem; + int cButtons; + int cbBytesPerRecord; + TBBUTTON tbButton; +} NMTBRESTORE, *LPNMTBRESTORE; + +#define TBMF_PAD 0x00000001 +#define TBMF_BARPAD 0x00000002 +#define TBMF_BUTTONSPACING 0x00000004 + +typedef struct +{ + UINT cbSize; + DWORD dwMask; + INT cxPad; + INT cyPad; + INT cxBarPad; + INT cyBarPad; + INT cxButtonSpacing; + INT cyButtonSpacing; +} TBMETRICS, *LPTBMETRICS; + +/* these are undocumented and the names are guesses */ +typedef struct +{ + NMHDR hdr; + HWND hwndDialog; +} NMTBINITCUSTOMIZE; + +typedef struct +{ + NMHDR hdr; + INT idNew; + INT iDirection; /* left is -1, right is 1 */ + DWORD dwReason; /* HICF_* */ +} NMTBWRAPHOTITEM; + + +HWND WINAPI +CreateToolbar(HWND, DWORD, UINT, INT, HINSTANCE, + UINT, LPCTBBUTTON, INT); + +HWND WINAPI +CreateToolbarEx(HWND, DWORD, UINT, INT, + HINSTANCE, UINT_PTR, LPCTBBUTTON, + INT, INT, INT, INT, INT, UINT); + +HBITMAP WINAPI +CreateMappedBitmap (HINSTANCE, INT_PTR, UINT, LPCOLORMAP, INT); + + +/* Tool tips */ + +#define TOOLTIPS_CLASSA "tooltips_class32" +#if defined(__GNUC__) +# define TOOLTIPS_CLASSW (const WCHAR []){ 't','o','o','l','t','i','p','s','_', \ + 'c','l','a','s','s','3','2',0 } +#elif defined(_MSC_VER) +# define TOOLTIPS_CLASSW L"tooltips_class32" +#else +static const WCHAR TOOLTIPS_CLASSW[] = { 't','o','o','l','t','i','p','s','_', + 'c','l','a','s','s','3','2',0 }; +#endif +#define TOOLTIPS_CLASS WINELIB_NAME_AW(TOOLTIPS_CLASS) + +#define INFOTIPSIZE 1024 + + +#define TTF_IDISHWND 0x0001 +#define TTF_CENTERTIP 0x0002 +#define TTF_RTLREADING 0x0004 +#define TTF_SUBCLASS 0x0010 +#define TTF_TRACK 0x0020 +#define TTF_ABSOLUTE 0x0080 +#define TTF_TRANSPARENT 0x0100 +#define TTF_DI_SETITEM 0x8000 /* valid only on the TTN_NEEDTEXT callback */ + + +#define TTDT_AUTOMATIC 0 +#define TTDT_RESHOW 1 +#define TTDT_AUTOPOP 2 +#define TTDT_INITIAL 3 + + +#define TTI_NONE 0 +#define TTI_INFO 1 +#define TTI_WARNING 2 +#define TTI_ERROR 3 +#define TTI_INFO_LARGE 4 +#define TTI_WARNING_LARGE 5 +#define TTI_ERROR_LARGE 6 + + +#define TTM_ACTIVATE (WM_USER+1) +#define TTM_SETDELAYTIME (WM_USER+3) +#define TTM_ADDTOOLA (WM_USER+4) +#define TTM_ADDTOOLW (WM_USER+50) +#define TTM_ADDTOOL WINELIB_NAME_AW(TTM_ADDTOOL) +#define TTM_DELTOOLA (WM_USER+5) +#define TTM_DELTOOLW (WM_USER+51) +#define TTM_DELTOOL WINELIB_NAME_AW(TTM_DELTOOL) +#define TTM_NEWTOOLRECTA (WM_USER+6) +#define TTM_NEWTOOLRECTW (WM_USER+52) +#define TTM_NEWTOOLRECT WINELIB_NAME_AW(TTM_NEWTOOLRECT) +#define TTM_RELAYEVENT (WM_USER+7) +#define TTM_GETTOOLINFOA (WM_USER+8) +#define TTM_GETTOOLINFOW (WM_USER+53) +#define TTM_GETTOOLINFO WINELIB_NAME_AW(TTM_GETTOOLINFO) +#define TTM_SETTOOLINFOA (WM_USER+9) +#define TTM_SETTOOLINFOW (WM_USER+54) +#define TTM_SETTOOLINFO WINELIB_NAME_AW(TTM_SETTOOLINFO) +#define TTM_HITTESTA (WM_USER+10) +#define TTM_HITTESTW (WM_USER+55) +#define TTM_HITTEST WINELIB_NAME_AW(TTM_HITTEST) +#define TTM_GETTEXTA (WM_USER+11) +#define TTM_GETTEXTW (WM_USER+56) +#define TTM_GETTEXT WINELIB_NAME_AW(TTM_GETTEXT) +#define TTM_UPDATETIPTEXTA (WM_USER+12) +#define TTM_UPDATETIPTEXTW (WM_USER+57) +#define TTM_UPDATETIPTEXT WINELIB_NAME_AW(TTM_UPDATETIPTEXT) +#define TTM_GETTOOLCOUNT (WM_USER+13) +#define TTM_ENUMTOOLSA (WM_USER+14) +#define TTM_ENUMTOOLSW (WM_USER+58) +#define TTM_ENUMTOOLS WINELIB_NAME_AW(TTM_ENUMTOOLS) +#define TTM_GETCURRENTTOOLA (WM_USER+15) +#define TTM_GETCURRENTTOOLW (WM_USER+59) +#define TTM_GETCURRENTTOOL WINELIB_NAME_AW(TTM_GETCURRENTTOOL) +#define TTM_WINDOWFROMPOINT (WM_USER+16) +#define TTM_TRACKACTIVATE (WM_USER+17) +#define TTM_TRACKPOSITION (WM_USER+18) +#define TTM_SETTIPBKCOLOR (WM_USER+19) +#define TTM_SETTIPTEXTCOLOR (WM_USER+20) +#define TTM_GETDELAYTIME (WM_USER+21) +#define TTM_GETTIPBKCOLOR (WM_USER+22) +#define TTM_GETTIPTEXTCOLOR (WM_USER+23) +#define TTM_SETMAXTIPWIDTH (WM_USER+24) +#define TTM_GETMAXTIPWIDTH (WM_USER+25) +#define TTM_SETMARGIN (WM_USER+26) +#define TTM_GETMARGIN (WM_USER+27) +#define TTM_POP (WM_USER+28) +#define TTM_UPDATE (WM_USER+29) +#define TTM_GETBUBBLESIZE (WM_USER+30) +#define TTM_ADJUSTRECT (WM_USER+31) +#define TTM_SETTITLEA (WM_USER+32) +#define TTM_SETTITLEW (WM_USER+33) +#define TTM_SETTITLE WINELIB_NAME_AW(TTM_SETTITLE) +#define TTM_POPUP (WM_USER+34) +#define TTM_GETTITLE (WM_USER+35) +#define TTM_SETWINDOWTHEME CCM_SETWINDOWTHEME + + +#define TTN_FIRST (0U-520U) +#define TTN_LAST (0U-549U) +#define TTN_GETDISPINFOA (TTN_FIRST-0) +#define TTN_GETDISPINFOW (TTN_FIRST-10) +#define TTN_GETDISPINFO WINELIB_NAME_AW(TTN_GETDISPINFO) +#define TTN_SHOW (TTN_FIRST-1) +#define TTN_POP (TTN_FIRST-2) + +#define TTN_NEEDTEXT TTN_GETDISPINFO +#define TTN_NEEDTEXTA TTN_GETDISPINFOA +#define TTN_NEEDTEXTW TTN_GETDISPINFOW + +typedef struct tagTOOLINFOA { + UINT cbSize; + UINT uFlags; + HWND hwnd; + UINT_PTR uId; + RECT rect; + HINSTANCE hinst; + LPSTR lpszText; + LPARAM lParam; + void *lpReserved; +} TTTOOLINFOA, *LPTOOLINFOA, *PTOOLINFOA, *LPTTTOOLINFOA; + +typedef struct tagTOOLINFOW { + UINT cbSize; + UINT uFlags; + HWND hwnd; + UINT_PTR uId; + RECT rect; + HINSTANCE hinst; + LPWSTR lpszText; + LPARAM lParam; + void *lpReserved; +} TTTOOLINFOW, *LPTOOLINFOW, *PTOOLINFOW, *LPTTTOOLINFOW; + +#define TTTOOLINFO WINELIB_NAME_AW(TTTOOLINFO) +#define TOOLINFO WINELIB_NAME_AW(TTTOOLINFO) +#define PTOOLINFO WINELIB_NAME_AW(PTOOLINFO) +#define LPTTTOOLINFO WINELIB_NAME_AW(LPTTTOOLINFO) +#define LPTOOLINFO WINELIB_NAME_AW(LPTOOLINFO) + +#define TTTOOLINFOA_V1_SIZE CCSIZEOF_STRUCT(TTTOOLINFOA, lpszText) +#define TTTOOLINFOW_V1_SIZE CCSIZEOF_STRUCT(TTTOOLINFOW, lpszText) +#define TTTOOLINFO_V1_SIZE CCSIZEOF_STRUCT(WINELIB_NAME_AW(TTTOOLINFO), lpszText) +#define TTTOOLINFOA_V2_SIZE CCSIZEOF_STRUCT(TTTOOLINFOA, lParam) +#define TTTOOLINFOW_V2_SIZE CCSIZEOF_STRUCT(TTTOOLINFOW, lParam) +#define TTTOOLINFOA_V3_SIZE CCSIZEOF_STRUCT(TTTOOLINFOA, lpReserved) +#define TTTOOLINFOW_V3_SIZE CCSIZEOF_STRUCT(TTTOOLINFOW, lpReserved) + +typedef struct _TT_HITTESTINFOA +{ + HWND hwnd; + POINT pt; + TTTOOLINFOA ti; +} TTHITTESTINFOA, *LPTTHITTESTINFOA; +#define LPHITTESTINFOA LPTTHITTESTINFOA + +typedef struct _TT_HITTESTINFOW +{ + HWND hwnd; + POINT pt; + TTTOOLINFOW ti; +} TTHITTESTINFOW, *LPTTHITTESTINFOW; +#define LPHITTESTINFOW LPTTHITTESTINFOW + +#define TTHITTESTINFO WINELIB_NAME_AW(TTHITTESTINFO) +#define LPTTHITTESTINFO WINELIB_NAME_AW(LPTTHITTESTINFO) +#define LPHITTESTINFO WINELIB_NAME_AW(LPHITTESTINFO) + +typedef struct tagNMTTDISPINFOA +{ + NMHDR hdr; + LPSTR lpszText; + CHAR szText[80]; + HINSTANCE hinst; + UINT uFlags; + LPARAM lParam; +} NMTTDISPINFOA, *LPNMTTDISPINFOA; + +typedef struct tagNMTTDISPINFOW +{ + NMHDR hdr; + LPWSTR lpszText; + WCHAR szText[80]; + HINSTANCE hinst; + UINT uFlags; + LPARAM lParam; +} NMTTDISPINFOW, *LPNMTTDISPINFOW; + +#define NMTTDISPINFO WINELIB_NAME_AW(NMTTDISPINFO) +#define LPNMTTDISPINFO WINELIB_NAME_AW(LPNMTTDISPINFO) + +#define NMTTDISPINFO_V1_SIZEA CCSIZEOF_STRUCT(NMTTDISPINFOA, uFlags) +#define NMTTDISPINFO_V1_SIZEW CCSIZEOF_STRUCT(NMTTDISPINFOW, uFlags) +#define NMTTDISPINFO_V1_SIZE WINELIB_NAME_AW(NMTTDISPINFO_V1_SIZE) + +typedef struct _TTGETTITLE +{ + DWORD dwSize; + UINT uTitleBitmap; + UINT cch; + WCHAR* pszTitle; +} TTGETTITLE, *PTTGETTITLE; + +#define TOOLTIPTEXTW NMTTDISPINFOW +#define TOOLTIPTEXTA NMTTDISPINFOA +#define TOOLTIPTEXT NMTTDISPINFO +#define LPTOOLTIPTEXTW LPNMTTDISPINFOW +#define LPTOOLTIPTEXTA LPNMTTDISPINFOA +#define LPTOOLTIPTEXT LPNMTTDISPINFO + + +/* Rebar control */ + +#define REBARCLASSNAMEA "ReBarWindow32" +#if defined(__GNUC__) +# define REBARCLASSNAMEW (const WCHAR []){ 'R','e','B','a','r', \ + 'W','i','n','d','o','w','3','2',0 } +#elif defined(_MSC_VER) +# define REBARCLASSNAMEW L"ReBarWindow32" +#else +static const WCHAR REBARCLASSNAMEW[] = { 'R','e','B','a','r', + 'W','i','n','d','o','w','3','2',0 }; +#endif +#define REBARCLASSNAME WINELIB_NAME_AW(REBARCLASSNAME) + + +#define RBIM_IMAGELIST 0x00000001 + +#define RBBIM_STYLE 0x00000001 +#define RBBIM_COLORS 0x00000002 +#define RBBIM_TEXT 0x00000004 +#define RBBIM_IMAGE 0x00000008 +#define RBBIM_CHILD 0x00000010 +#define RBBIM_CHILDSIZE 0x00000020 +#define RBBIM_SIZE 0x00000040 +#define RBBIM_BACKGROUND 0x00000080 +#define RBBIM_ID 0x00000100 +#define RBBIM_IDEALSIZE 0x00000200 +#define RBBIM_LPARAM 0x00000400 +#define RBBIM_HEADERSIZE 0x00000800 +#define RBBIM_CHEVRONLOCATION 0x00001000 +#define RBBIM_CHEVRONSTATE 0x00002000 + +#define RBBS_BREAK 0x00000001 +#define RBBS_FIXEDSIZE 0x00000002 +#define RBBS_CHILDEDGE 0x00000004 +#define RBBS_HIDDEN 0x00000008 +#define RBBS_NOVERT 0x00000010 +#define RBBS_FIXEDBMP 0x00000020 +#define RBBS_VARIABLEHEIGHT 0x00000040 +#define RBBS_GRIPPERALWAYS 0x00000080 +#define RBBS_NOGRIPPER 0x00000100 +#define RBBS_USECHEVRON 0x00000200 +#define RBBS_HIDETITLE 0x00000400 +#define RBBS_TOPALIGN 0x00000800 + +#define RBNM_ID 0x00000001 +#define RBNM_STYLE 0x00000002 +#define RBNM_LPARAM 0x00000004 + +#define RBHT_NOWHERE 0x0001 +#define RBHT_CAPTION 0x0002 +#define RBHT_CLIENT 0x0003 +#define RBHT_GRABBER 0x0004 +#define RBHT_CHEVRON 0x0008 +#define RBHT_SPLITTER 0x0010 + +#define RB_INSERTBANDA (WM_USER+1) +#define RB_INSERTBANDW (WM_USER+10) +#define RB_INSERTBAND WINELIB_NAME_AW(RB_INSERTBAND) +#define RB_DELETEBAND (WM_USER+2) +#define RB_GETBARINFO (WM_USER+3) +#define RB_SETBARINFO (WM_USER+4) +#define RB_SETBANDINFOA (WM_USER+6) +#define RB_SETBANDINFOW (WM_USER+11) +#define RB_SETBANDINFO WINELIB_NAME_AW(RB_SETBANDINFO) +#define RB_SETPARENT (WM_USER+7) +#define RB_HITTEST (WM_USER+8) +#define RB_GETRECT (WM_USER+9) +#define RB_GETBANDCOUNT (WM_USER+12) +#define RB_GETROWCOUNT (WM_USER+13) +#define RB_GETROWHEIGHT (WM_USER+14) +#define RB_IDTOINDEX (WM_USER+16) +#define RB_GETTOOLTIPS (WM_USER+17) +#define RB_SETTOOLTIPS (WM_USER+18) +#define RB_SETBKCOLOR (WM_USER+19) +#define RB_GETBKCOLOR (WM_USER+20) +#define RB_SETTEXTCOLOR (WM_USER+21) +#define RB_GETTEXTCOLOR (WM_USER+22) +#define RB_SIZETORECT (WM_USER+23) +#define RB_BEGINDRAG (WM_USER+24) +#define RB_ENDDRAG (WM_USER+25) +#define RB_DRAGMOVE (WM_USER+26) +#define RB_GETBARHEIGHT (WM_USER+27) +#define RB_GETBANDINFOW (WM_USER+28) +#define RB_GETBANDINFOA (WM_USER+29) +#define RB_GETBANDINFO WINELIB_NAME_AW(RB_GETBANDINFO) +#define RB_MINIMIZEBAND (WM_USER+30) +#define RB_MAXIMIZEBAND (WM_USER+31) +#define RB_GETBANDBORDERS (WM_USER+34) +#define RB_SHOWBAND (WM_USER+35) +#define RB_SETPALETTE (WM_USER+37) +#define RB_GETPALETTE (WM_USER+38) +#define RB_MOVEBAND (WM_USER+39) +#define RB_GETBANDMARGINS (WM_USER+40) +#define RB_SETEXTENDEDSTYLE (WM_USER+41) +#define RB_GETEXTENDEDSTYLE (WM_USER+42) +#define RB_PUSHCHEVRON (WM_USER+43) +#define RB_SETBANDWIDTH (WM_USER+44) + +#define RB_GETDROPTARGET CCM_GETDROPTARGET +#define RB_SETCOLORSCHEME CCM_SETCOLORSCHEME +#define RB_GETCOLORSCHEME CCM_GETCOLORSCHEME +#define RB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define RB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define RB_SETWINDOWTHEME CCM_SETWINDOWTHEME + +#define RBN_FIRST (0U-831U) +#define RBN_LAST (0U-859U) +#define RBN_HEIGHTCHANGE (RBN_FIRST-0) +#define RBN_GETOBJECT (RBN_FIRST-1) +#define RBN_LAYOUTCHANGED (RBN_FIRST-2) +#define RBN_AUTOSIZE (RBN_FIRST-3) +#define RBN_BEGINDRAG (RBN_FIRST-4) +#define RBN_ENDDRAG (RBN_FIRST-5) +#define RBN_DELETINGBAND (RBN_FIRST-6) +#define RBN_DELETEDBAND (RBN_FIRST-7) +#define RBN_CHILDSIZE (RBN_FIRST-8) +#define RBN_CHEVRONPUSHED (RBN_FIRST-10) +#define RBN_SPLITTERDRAG (RBN_FIRST-11) +#define RBN_MINMAX (RBN_FIRST-21) +#define RBN_AUTOBREAK (RBN_FIRST-22) + +typedef struct tagREBARINFO +{ + UINT cbSize; + UINT fMask; + HIMAGELIST himl; +} REBARINFO, *LPREBARINFO; + +typedef struct tagREBARBANDINFOA +{ + UINT cbSize; + UINT fMask; + UINT fStyle; + COLORREF clrFore; + COLORREF clrBack; + LPSTR lpText; + UINT cch; + INT iImage; + HWND hwndChild; + UINT cxMinChild; + UINT cyMinChild; + UINT cx; + HBITMAP hbmBack; + UINT wID; + UINT cyChild; + UINT cyMaxChild; + UINT cyIntegral; + UINT cxIdeal; + LPARAM lParam; + UINT cxHeader; + /* _WIN32_WINNT >= 0x0600 */ + RECT rcChevronLocation; + UINT uChevronState; +} REBARBANDINFOA, *LPREBARBANDINFOA; + +typedef REBARBANDINFOA const *LPCREBARBANDINFOA; + +typedef struct tagREBARBANDINFOW +{ + UINT cbSize; + UINT fMask; + UINT fStyle; + COLORREF clrFore; + COLORREF clrBack; + LPWSTR lpText; + UINT cch; + INT iImage; + HWND hwndChild; + UINT cxMinChild; + UINT cyMinChild; + UINT cx; + HBITMAP hbmBack; + UINT wID; + UINT cyChild; + UINT cyMaxChild; + UINT cyIntegral; + UINT cxIdeal; + LPARAM lParam; + UINT cxHeader; + /* _WIN32_WINNT >= 0x0600 */ + RECT rcChevronLocation; + UINT uChevronState; +} REBARBANDINFOW, *LPREBARBANDINFOW; + +typedef REBARBANDINFOW const *LPCREBARBANDINFOW; + +#define REBARBANDINFO WINELIB_NAME_AW(REBARBANDINFO) +#define LPREBARBANDINFO WINELIB_NAME_AW(LPREBARBANDINFO) +#define LPCREBARBANDINFO WINELIB_NAME_AW(LPCREBARBANDINFO) + +#define REBARBANDINFOA_V3_SIZE CCSIZEOF_STRUCT(REBARBANDINFOA, wID) +#define REBARBANDINFOW_V3_SIZE CCSIZEOF_STRUCT(REBARBANDINFOW, wID) +#define REBARBANDINFO_V3_SIZE CCSIZEOF_STRUCT(WINELIB_NAME_AW(REBARBANDINFO), wID) +#define REBARBANDINFOA_V6_SIZE CCSIZEOF_STRUCT(REBARBANDINFOA, cxHeader) +#define REBARBANDINFOW_V6_SIZE CCSIZEOF_STRUCT(REBARBANDINFOW, cxHeader) +#define REBARBANDINFO_V6_SIZE CCSIZEOF_STRUCT(WINELIB_NAME_AW(REBARBANDINFO), cxHeader) + +typedef struct tagNMREBARCHILDSIZE +{ + NMHDR hdr; + UINT uBand; + UINT wID; + RECT rcChild; + RECT rcBand; +} NMREBARCHILDSIZE, *LPNMREBARCHILDSIZE; + +typedef struct tagNMREBAR +{ + NMHDR hdr; + DWORD dwMask; + UINT uBand; + UINT fStyle; + UINT wID; + LPARAM lParam; +} NMREBAR, *LPNMREBAR; + +typedef struct tagNMRBAUTOSIZE +{ + NMHDR hdr; + BOOL fChanged; + RECT rcTarget; + RECT rcActual; +} NMRBAUTOSIZE, *LPNMRBAUTOSIZE; + +typedef struct tagNMREBARCHEVRON +{ + NMHDR hdr; + UINT uBand; + UINT wID; + LPARAM lParam; + RECT rc; + LPARAM lParamNM; +} NMREBARCHEVRON, *LPNMREBARCHEVRON; + +typedef struct _RB_HITTESTINFO +{ + POINT pt; + UINT flags; + INT iBand; +} RBHITTESTINFO, *LPRBHITTESTINFO; + +#define RBAB_AUTOSIZE 0x0001 +#define RBAB_ADDBAND 0x0002 + +typedef struct tagNMREBARAUTOBREAK +{ + NMHDR hdr; + UINT uBand; + UINT wID; + LPARAM lParam; + UINT uMsg; + UINT fStyleCurrent; + BOOL fAutoBreak; +} NMREBARAUTOBREAK, *LPNMREBARAUTOBREAK; + + +/* Trackbar control */ + +#define TRACKBAR_CLASSA "msctls_trackbar32" +#if defined(__GNUC__) +# define TRACKBAR_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \ + 't','r','a','c','k','b','a','r','3','2',0 } +#elif defined(_MSC_VER) +# define TRACKBAR_CLASSW L"msctls_trackbar32" +#else +static const WCHAR TRACKBAR_CLASSW[] = { 'm','s','c','t','l','s','_', + 't','r','a','c','k','b','a','r','3','2',0 }; +#endif +#define TRACKBAR_CLASS WINELIB_NAME_AW(TRACKBAR_CLASS) + + +#define TBTS_TOP 0 +#define TBTS_LEFT 1 +#define TBTS_BOTTOM 2 +#define TBTS_RIGHT 3 + +#define TB_LINEUP 0 +#define TB_LINEDOWN 1 +#define TB_PAGEUP 2 +#define TB_PAGEDOWN 3 +#define TB_THUMBPOSITION 4 +#define TB_THUMBTRACK 5 +#define TB_TOP 6 +#define TB_BOTTOM 7 +#define TB_ENDTRACK 8 + +#define TBCD_TICS 0x0001 +#define TBCD_THUMB 0x0002 +#define TBCD_CHANNEL 0x0003 + +#define TBM_GETPOS (WM_USER) +#define TBM_GETRANGEMIN (WM_USER+1) +#define TBM_GETRANGEMAX (WM_USER+2) +#define TBM_GETTIC (WM_USER+3) +#define TBM_SETTIC (WM_USER+4) +#define TBM_SETPOS (WM_USER+5) +#define TBM_SETRANGE (WM_USER+6) +#define TBM_SETRANGEMIN (WM_USER+7) +#define TBM_SETRANGEMAX (WM_USER+8) +#define TBM_CLEARTICS (WM_USER+9) +#define TBM_SETSEL (WM_USER+10) +#define TBM_SETSELSTART (WM_USER+11) +#define TBM_SETSELEND (WM_USER+12) +#define TBM_GETPTICS (WM_USER+14) +#define TBM_GETTICPOS (WM_USER+15) +#define TBM_GETNUMTICS (WM_USER+16) +#define TBM_GETSELSTART (WM_USER+17) +#define TBM_GETSELEND (WM_USER+18) +#define TBM_CLEARSEL (WM_USER+19) +#define TBM_SETTICFREQ (WM_USER+20) +#define TBM_SETPAGESIZE (WM_USER+21) +#define TBM_GETPAGESIZE (WM_USER+22) +#define TBM_SETLINESIZE (WM_USER+23) +#define TBM_GETLINESIZE (WM_USER+24) +#define TBM_GETTHUMBRECT (WM_USER+25) +#define TBM_GETCHANNELRECT (WM_USER+26) +#define TBM_SETTHUMBLENGTH (WM_USER+27) +#define TBM_GETTHUMBLENGTH (WM_USER+28) +#define TBM_SETTOOLTIPS (WM_USER+29) +#define TBM_GETTOOLTIPS (WM_USER+30) +#define TBM_SETTIPSIDE (WM_USER+31) +#define TBM_SETBUDDY (WM_USER+32) +#define TBM_GETBUDDY (WM_USER+33) +#define TBM_SETPOSNOTIFY (WM_USER+34) +#define TBM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define TBM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT + +#define TRBN_FIRST (0u-1501u) +#define TRBN_LAST (0u-1519u) +#define TRBN_THUMBPOSCHANGING (TRBN_FIRST-1) + +/* Pager control */ + +#define WC_PAGESCROLLERA "SysPager" +#if defined(__GNUC__) +# define WC_PAGESCROLLERW (const WCHAR []){ 'S','y','s','P','a','g','e','r',0 } +#elif defined(_MSC_VER) +# define WC_PAGESCROLLERW L"SysPager" +#else +static const WCHAR WC_PAGESCROLLERW[] = { 'S','y','s','P','a','g','e','r',0 }; +#endif +#define WC_PAGESCROLLER WINELIB_NAME_AW(WC_PAGESCROLLER) + + +#define PGF_INVISIBLE 0 +#define PGF_NORMAL 1 +#define PGF_GRAYED 2 +#define PGF_DEPRESSED 4 +#define PGF_HOT 8 + +#define PGB_TOPORLEFT 0 +#define PGB_BOTTOMORRIGHT 1 + +/* only used with PGN_SCROLL */ +#define PGF_SCROLLUP 1 +#define PGF_SCROLLDOWN 2 +#define PGF_SCROLLLEFT 4 +#define PGF_SCROLLRIGHT 8 + +#define PGK_SHIFT 1 +#define PGK_CONTROL 2 +#define PGK_MENU 4 + +/* only used with PGN_CALCSIZE */ +#define PGF_CALCWIDTH 1 +#define PGF_CALCHEIGHT 2 + +#define PGM_FIRST 0x1400 +#define PGM_SETCHILD (PGM_FIRST+1) +#define PGM_RECALCSIZE (PGM_FIRST+2) +#define PGM_FORWARDMOUSE (PGM_FIRST+3) +#define PGM_SETBKCOLOR (PGM_FIRST+4) +#define PGM_GETBKCOLOR (PGM_FIRST+5) +#define PGM_SETBORDER (PGM_FIRST+6) +#define PGM_GETBORDER (PGM_FIRST+7) +#define PGM_SETPOS (PGM_FIRST+8) +#define PGM_GETPOS (PGM_FIRST+9) +#define PGM_SETBUTTONSIZE (PGM_FIRST+10) +#define PGM_GETBUTTONSIZE (PGM_FIRST+11) +#define PGM_GETBUTTONSTATE (PGM_FIRST+12) +#define PGM_GETDROPTARGET CCM_GETDROPTARGET + +#define PGN_FIRST (0U-900U) +#define PGN_LAST (0U-950U) +#define PGN_SCROLL (PGN_FIRST-1) +#define PGN_CALCSIZE (PGN_FIRST-2) + +#include + +typedef struct +{ + NMHDR hdr; + WORD fwKeys; + RECT rcParent; + INT iDir; + INT iXpos; + INT iYpos; + INT iScroll; +} NMPGSCROLL, *LPNMPGSCROLL; + +#include + +typedef struct +{ + NMHDR hdr; + DWORD dwFlag; + INT iWidth; + INT iHeight; +} NMPGCALCSIZE, *LPNMPGCALCSIZE; + + +/* Treeview control */ + +#define WC_TREEVIEWA "SysTreeView32" +#if defined(__GNUC__) +# define WC_TREEVIEWW (const WCHAR []){ 'S','y','s', \ + 'T','r','e','e','V','i','e','w','3','2',0 } +#elif defined(_MSC_VER) +# define WC_TREEVIEWW L"SysTreeView32" +#else +static const WCHAR WC_TREEVIEWW[] = { 'S','y','s', + 'T','r','e','e','V','i','e','w','3','2',0 }; +#endif +#define WC_TREEVIEW WINELIB_NAME_AW(WC_TREEVIEW) + +#define TVSIL_NORMAL 0 +#define TVSIL_STATE 2 + +#define TVSBF_XBORDER 1 +#define TVSBF_YBORDER 2 + +#define TV_FIRST 0x1100 +#define TVM_INSERTITEMA (TV_FIRST+0) +#define TVM_INSERTITEMW (TV_FIRST+50) +#define TVM_INSERTITEM WINELIB_NAME_AW(TVM_INSERTITEM) +#define TVM_DELETEITEM (TV_FIRST+1) +#define TVM_EXPAND (TV_FIRST+2) +#define TVM_GETITEMRECT (TV_FIRST+4) +#define TVM_GETCOUNT (TV_FIRST+5) +#define TVM_GETINDENT (TV_FIRST+6) +#define TVM_SETINDENT (TV_FIRST+7) +#define TVM_GETIMAGELIST (TV_FIRST+8) +#define TVM_SETIMAGELIST (TV_FIRST+9) +#define TVM_GETNEXTITEM (TV_FIRST+10) +#define TVM_SELECTITEM (TV_FIRST+11) +#define TVM_GETITEMA (TV_FIRST+12) +#define TVM_GETITEMW (TV_FIRST+62) +#define TVM_GETITEM WINELIB_NAME_AW(TVM_GETITEM) +#define TVM_SETITEMA (TV_FIRST+13) +#define TVM_SETITEMW (TV_FIRST+63) +#define TVM_SETITEM WINELIB_NAME_AW(TVM_SETITEM) +#define TVM_EDITLABELA (TV_FIRST+14) +#define TVM_EDITLABELW (TV_FIRST+65) +#define TVM_EDITLABEL WINELIB_NAME_AW(TVM_EDITLABEL) +#define TVM_GETEDITCONTROL (TV_FIRST+15) +#define TVM_GETVISIBLECOUNT (TV_FIRST+16) +#define TVM_HITTEST (TV_FIRST+17) +#define TVM_CREATEDRAGIMAGE (TV_FIRST+18) +#define TVM_SORTCHILDREN (TV_FIRST+19) +#define TVM_ENSUREVISIBLE (TV_FIRST+20) +#define TVM_SORTCHILDRENCB (TV_FIRST+21) +#define TVM_ENDEDITLABELNOW (TV_FIRST+22) +#define TVM_GETISEARCHSTRINGA (TV_FIRST+23) +#define TVM_GETISEARCHSTRINGW (TV_FIRST+64) +#define TVM_GETISEARCHSTRING WINELIB_NAME_AW(TVM_GETISEARCHSTRING) +#define TVM_SETTOOLTIPS (TV_FIRST+24) +#define TVM_GETTOOLTIPS (TV_FIRST+25) +#define TVM_SETINSERTMARK (TV_FIRST+26) +#define TVM_SETITEMHEIGHT (TV_FIRST+27) +#define TVM_GETITEMHEIGHT (TV_FIRST+28) +#define TVM_SETBKCOLOR (TV_FIRST+29) +#define TVM_SETTEXTCOLOR (TV_FIRST+30) +#define TVM_GETBKCOLOR (TV_FIRST+31) +#define TVM_GETTEXTCOLOR (TV_FIRST+32) +#define TVM_SETSCROLLTIME (TV_FIRST+33) +#define TVM_GETSCROLLTIME (TV_FIRST+34) +#define TVM_SETBORDER (TV_FIRST+35) +#define TVM_UNKNOWN36 (TV_FIRST+36) +#define TVM_SETINSERTMARKCOLOR (TV_FIRST+37) +#define TVM_GETINSERTMARKCOLOR (TV_FIRST+38) +#define TVM_GETITEMSTATE (TV_FIRST+39) +#define TVM_SETLINECOLOR (TV_FIRST+40) +#define TVM_GETLINECOLOR (TV_FIRST+41) +#define TVM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define TVM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define TVM_MAPACCIDTOHTREEITEM (TV_FIRST + 42) +#define TVM_MAPHTREEITEMTOACCID (TV_FIRST + 43) +#define TVM_SETEXTENDEDSTYLE (TV_FIRST + 44) +#define TVM_GETEXTENDEDSTYLE (TV_FIRST + 45) +#define TVM_SETAUTOSCROLLINFO (TV_FIRST + 59) +#define TVM_GETSELECTEDCOUNT (TV_FIRST + 70) +#define TVM_SHOWINFOTIP (TV_FIRST + 71) +#define TVM_GETITEMPARTRECT (TV_FIRST + 72) + + +#define TVN_FIRST (0U-400U) +#define TVN_LAST (0U-499U) + +#define TVN_SELCHANGINGA (TVN_FIRST-1) +#define TVN_SELCHANGINGW (TVN_FIRST-50) +#define TVN_SELCHANGING WINELIB_NAME_AW(TVN_SELCHANGING) + +#define TVN_SELCHANGEDA (TVN_FIRST-2) +#define TVN_SELCHANGEDW (TVN_FIRST-51) +#define TVN_SELCHANGED WINELIB_NAME_AW(TVN_SELCHANGED) + +#define TVN_GETDISPINFOA (TVN_FIRST-3) +#define TVN_GETDISPINFOW (TVN_FIRST-52) +#define TVN_GETDISPINFO WINELIB_NAME_AW(TVN_GETDISPINFO) + +#define TVN_SETDISPINFOA (TVN_FIRST-4) +#define TVN_SETDISPINFOW (TVN_FIRST-53) +#define TVN_SETDISPINFO WINELIB_NAME_AW(TVN_SETDISPINFO) + +#define TVN_ITEMEXPANDINGA (TVN_FIRST-5) +#define TVN_ITEMEXPANDINGW (TVN_FIRST-54) +#define TVN_ITEMEXPANDING WINELIB_NAME_AW(TVN_ITEMEXPANDING) + +#define TVN_ITEMEXPANDEDA (TVN_FIRST-6) +#define TVN_ITEMEXPANDEDW (TVN_FIRST-55) +#define TVN_ITEMEXPANDED WINELIB_NAME_AW(TVN_ITEMEXPANDED) + +#define TVN_BEGINDRAGA (TVN_FIRST-7) +#define TVN_BEGINDRAGW (TVN_FIRST-56) +#define TVN_BEGINDRAG WINELIB_NAME_AW(TVN_BEGINDRAG) + +#define TVN_BEGINRDRAGA (TVN_FIRST-8) +#define TVN_BEGINRDRAGW (TVN_FIRST-57) +#define TVN_BEGINRDRAG WINELIB_NAME_AW(TVN_BEGINRDRAG) + +#define TVN_DELETEITEMA (TVN_FIRST-9) +#define TVN_DELETEITEMW (TVN_FIRST-58) +#define TVN_DELETEITEM WINELIB_NAME_AW(TVN_DELETEITEM) + +#define TVN_BEGINLABELEDITA (TVN_FIRST-10) +#define TVN_BEGINLABELEDITW (TVN_FIRST-59) +#define TVN_BEGINLABELEDIT WINELIB_NAME_AW(TVN_BEGINLABELEDIT) + +#define TVN_ENDLABELEDITA (TVN_FIRST-11) +#define TVN_ENDLABELEDITW (TVN_FIRST-60) +#define TVN_ENDLABELEDIT WINELIB_NAME_AW(TVN_ENDLABELEDIT) + +#define TVN_KEYDOWN (TVN_FIRST-12) + +#define TVN_GETINFOTIPA (TVN_FIRST-13) +#define TVN_GETINFOTIPW (TVN_FIRST-14) +#define TVN_GETINFOTIP WINELIB_NAME_AW(TVN_GETINFOTIP) + +#define TVN_SINGLEEXPAND (TVN_FIRST-15) + +#define TVN_ITEMCHANGINGA (TVN_FIRST-16) +#define TVN_ITEMCHANGINGW (TVN_FIRST-17) +#define TVN_ITEMCHANGEDA (TVN_FIRST-18) +#define TVN_ITEMCHANGEDW (TVN_FIRST-19) +#define TVN_ASYNCDRAW (TVN_FIRST-20) + +#define TVIF_TEXT 0x0001 +#define TVIF_IMAGE 0x0002 +#define TVIF_PARAM 0x0004 +#define TVIF_STATE 0x0008 +#define TVIF_HANDLE 0x0010 +#define TVIF_SELECTEDIMAGE 0x0020 +#define TVIF_CHILDREN 0x0040 +#define TVIF_INTEGRAL 0x0080 +#define TVIF_STATEEX 0x0100 +#define TVIF_EXPANDEDIMAGE 0x0200 +#define TVIF_DI_SETITEM 0x1000 + +#define TVI_ROOT ((HTREEITEM)-65536) +#define TVI_FIRST ((HTREEITEM)-65535) +#define TVI_LAST ((HTREEITEM)-65534) +#define TVI_SORT ((HTREEITEM)-65533) + +#define TVIS_FOCUSED 0x0001 +#define TVIS_SELECTED 0x0002 +#define TVIS_CUT 0x0004 +#define TVIS_DROPHILITED 0x0008 +#define TVIS_BOLD 0x0010 +#define TVIS_EXPANDED 0x0020 +#define TVIS_EXPANDEDONCE 0x0040 +#define TVIS_EXPANDPARTIAL 0x0080 +#define TVIS_OVERLAYMASK 0x0f00 +#define TVIS_STATEIMAGEMASK 0xf000 +#define TVIS_USERMASK 0xf000 + +#define TVIS_EX_FLAT 0x0001 +#define TVIS_EX_DISABLED 0x0002 +/* TVIS_EX_HWND is listed on MSDN but apparently not in any header. */ +#define TVIS_EX_ALL 0x0002 + +#define TVHT_NOWHERE 0x0001 +#define TVHT_ONITEMICON 0x0002 +#define TVHT_ONITEMLABEL 0x0004 +#define TVHT_ONITEMINDENT 0x0008 +#define TVHT_ONITEMBUTTON 0x0010 +#define TVHT_ONITEMRIGHT 0x0020 +#define TVHT_ONITEMSTATEICON 0x0040 +#define TVHT_ONITEM (TVHT_ONITEMICON | TVHT_ONITEMLABEL | TVHT_ONITEMSTATEICON) +#define TVHT_ABOVE 0x0100 +#define TVHT_BELOW 0x0200 +#define TVHT_TORIGHT 0x0400 +#define TVHT_TOLEFT 0x0800 + +#define TVS_SHAREDIMAGELISTS 0x0000 +#define TVS_PRIVATEIMAGELISTS 0x0400 + +#define TVS_EX_NOSINGLECOLLAPSE 0x0001 +#define TVS_EX_MULTISELECT 0x0002 +#define TVS_EX_DOUBLEBUFFER 0x0004 +#define TVS_EX_NOINDENTSTATE 0x0008 +#define TVS_EX_RICHTOOLTIP 0x0010 +#define TVS_EX_AUTOHSCROLL 0x0020 +#define TVS_EX_FADEINOUTEXPANDOS 0x0040 +#define TVS_EX_PARTIALCHECKBOXES 0x0080 +#define TVS_EX_EXCLUSIONCHECKBOXES 0x0100 +#define TVS_EX_DIMMEDCHECKBOXES 0x0200 +#define TVS_EX_DRAWIMAGEASYNC 0x0400 + +#define TVE_COLLAPSE 0x0001 +#define TVE_EXPAND 0x0002 +#define TVE_TOGGLE 0x0003 +#define TVE_EXPANDPARTIAL 0x4000 +#define TVE_COLLAPSERESET 0x8000 + +#define TVGN_ROOT 0 +#define TVGN_NEXT 1 +#define TVGN_PREVIOUS 2 +#define TVGN_PARENT 3 +#define TVGN_CHILD 4 +#define TVGN_FIRSTVISIBLE 5 +#define TVGN_NEXTVISIBLE 6 +#define TVGN_PREVIOUSVISIBLE 7 +#define TVGN_DROPHILITE 8 +#define TVGN_CARET 9 +#define TVGN_LASTVISIBLE 10 +#define TVGN_NEXTSELECTED 11 +#define TVSI_NOSINGLEEXPAND 0x8000 + +#define TVC_UNKNOWN 0x00 +#define TVC_BYMOUSE 0x01 +#define TVC_BYKEYBOARD 0x02 + + +typedef struct _TREEITEM *HTREEITEM; + +typedef struct { + UINT mask; + HTREEITEM hItem; + UINT state; + UINT stateMask; + LPSTR pszText; + INT cchTextMax; + INT iImage; + INT iSelectedImage; + INT cChildren; + LPARAM lParam; +} TVITEMA, *LPTVITEMA; + +typedef struct { + UINT mask; + HTREEITEM hItem; + UINT state; + UINT stateMask; + LPWSTR pszText; + INT cchTextMax; + INT iImage; + INT iSelectedImage; + INT cChildren; + LPARAM lParam; +} TVITEMW, *LPTVITEMW; + +#define TV_ITEMA TVITEMA +#define TV_ITEMW TVITEMW +#define LPTV_ITEMA LPTVITEMA +#define LPTV_ITEMW LPTVITEMW + +#define TVITEM WINELIB_NAME_AW(TVITEM) +#define LPTVITEM WINELIB_NAME_AW(LPTVITEM) +#define TV_ITEM WINELIB_NAME_AW(TV_ITEM) +#define LPTV_ITEM WINELIB_NAME_AW(LPTV_ITEM) + +typedef struct { + UINT mask; + HTREEITEM hItem; + UINT state; + UINT stateMask; + LPSTR pszText; + INT cchTextMax; + INT iImage; + INT iSelectedImage; + INT cChildren; + LPARAM lParam; + INT iIntegral; + UINT uStateEx; /* _WIN32_IE >= 0x600 */ + HWND hwnd; /* _WIN32_IE >= 0x600 */ + INT iExpandedImage; /* _WIN32_IE >= 0x600 */ + INT iReserved; +} TVITEMEXA, *LPTVITEMEXA; + +typedef struct { + UINT mask; + HTREEITEM hItem; + UINT state; + UINT stateMask; + LPWSTR pszText; + INT cchTextMax; + INT iImage; + INT iSelectedImage; + INT cChildren; + LPARAM lParam; + INT iIntegral; + UINT uStateEx; /* _WIN32_IE >= 0x600 */ + HWND hwnd; /* _WIN32_IE >= 0x600 */ + INT iExpandedImage; /* _WIN32_IE >= 0x600 */ + INT iReserved; +} TVITEMEXW, *LPTVITEMEXW; + +#define TVITEMEX WINELIB_NAME_AW(TVITEMEX) +#define LPTVITEMEX WINELIB_NAME_AW(LPTVITEMEX) + +typedef struct tagTVINSERTSTRUCTA { + HTREEITEM hParent; + HTREEITEM hInsertAfter; + union { + TVITEMEXA itemex; + TVITEMA item; + } DUMMYUNIONNAME; +} TVINSERTSTRUCTA, *LPTVINSERTSTRUCTA; + +typedef struct tagTVINSERTSTRUCTW { + HTREEITEM hParent; + HTREEITEM hInsertAfter; + union { + TVITEMEXW itemex; + TVITEMW item; + } DUMMYUNIONNAME; +} TVINSERTSTRUCTW, *LPTVINSERTSTRUCTW; + +#define TVINSERTSTRUCT WINELIB_NAME_AW(TVINSERTSTRUCT) +#define LPTVINSERTSTRUCT WINELIB_NAME_AW(LPTVINSERTSTRUCT) + +#define TVINSERTSTRUCT_V1_SIZEA CCSIZEOF_STRUCT(TVINSERTSTRUCTA, item) +#define TVINSERTSTRUCT_V1_SIZEW CCSIZEOF_STRUCT(TVINSERTSTRUCTW, item) +#define TVINSERTSTRUCT_V1_SIZE WINELIB_NAME_AW(TVINSERTSTRUCT_V1_SIZE) + +#define TV_INSERTSTRUCT TVINSERTSTRUCT +#define TV_INSERTSTRUCTA TVINSERTSTRUCTA +#define TV_INSERTSTRUCTW TVINSERTSTRUCTW +#define LPTV_INSERTSTRUCT LPTVINSERTSTRUCT +#define LPTV_INSERTSTRUCTA LPTVINSERTSTRUCTA +#define LPTV_INSERTSTRUCTW LPTVINSERTSTRUCTW + + + +typedef struct tagNMTREEVIEWA { + NMHDR hdr; + UINT action; + TVITEMA itemOld; + TVITEMA itemNew; + POINT ptDrag; +} NMTREEVIEWA, *LPNMTREEVIEWA; + +typedef struct tagNMTREEVIEWW { + NMHDR hdr; + UINT action; + TVITEMW itemOld; + TVITEMW itemNew; + POINT ptDrag; +} NMTREEVIEWW, *LPNMTREEVIEWW; + +#define NMTREEVIEW WINELIB_NAME_AW(NMTREEVIEW) +#define NM_TREEVIEW WINELIB_NAME_AW(NMTREEVIEW) +#define NM_TREEVIEWA NMTREEVIEWA +#define NM_TREEVIEWW NMTREEVIEWW +#define LPNMTREEVIEW WINELIB_NAME_AW(LPNMTREEVIEW) + +#define LPNM_TREEVIEW LPNMTREEVIEW +#define LPNM_TREEVIEWA LPNMTREEVIEWA +#define LPNM_TREEVIEWW LPNMTREEVIEWW + +typedef struct tagTVDISPINFOA { + NMHDR hdr; + TVITEMA item; +} NMTVDISPINFOA, *LPNMTVDISPINFOA; + +typedef struct tagTVDISPINFOW { + NMHDR hdr; + TVITEMW item; +} NMTVDISPINFOW, *LPNMTVDISPINFOW; + +typedef struct tagTVDISPINFOEXA { + NMHDR hdr; + TVITEMEXA item; +} NMTVDISPINFOEXA, *LPNMTVDISPINFOEXA; + +typedef struct tagTVDISPINFOEXW { + NMHDR hdr; + TVITEMEXW item; +} NMTVDISPINFOEXW, *LPNMTVDISPINFOEXW; + +#define NMTVDISPINFO WINELIB_NAME_AW(NMTVDISPINFO) +#define LPNMTVDISPINFO WINELIB_NAME_AW(LPNMTVDISPINFO) +#define NMTVDISPINFOEX WINELIB_NAME_AW(NMTVDISPINFOEX) +#define LPNMTVDISPINFOEX WINELIB_NAME_AW(LPNMTVDISPINFOEX) +#define TV_DISPINFOA NMTVDISPINFOA +#define TV_DISPINFOW NMTVDISPINFOW +#define TV_DISPINFO NMTVDISPINFO + +typedef INT (CALLBACK *PFNTVCOMPARE)(LPARAM, LPARAM, LPARAM); + +typedef struct tagTVSORTCB +{ + HTREEITEM hParent; + PFNTVCOMPARE lpfnCompare; + LPARAM lParam; +} TVSORTCB, *LPTVSORTCB; + +#define TV_SORTCB TVSORTCB +#define LPTV_SORTCB LPTVSORTCB + +typedef struct tagTVHITTESTINFO { + POINT pt; + UINT flags; + HTREEITEM hItem; +} TVHITTESTINFO, *LPTVHITTESTINFO; + +#define TV_HITTESTINFO TVHITTESTINFO + + +/* Custom Draw Treeview */ + +#define NMTVCUSTOMDRAW_V3_SIZE CCSIZEOF_STRUCT(NMTVCUSTOMDRAW, clrTextBk) + +#define TVCDRF_NOIMAGES 0x00010000 + +typedef struct tagNMTVCUSTOMDRAW +{ + NMCUSTOMDRAW nmcd; + COLORREF clrText; + COLORREF clrTextBk; + INT iLevel; /* IE>0x0400 */ +} NMTVCUSTOMDRAW, *LPNMTVCUSTOMDRAW; + +/* Treeview tooltips */ + +typedef struct tagNMTVGETINFOTIPA +{ + NMHDR hdr; + LPSTR pszText; + INT cchTextMax; + HTREEITEM hItem; + LPARAM lParam; +} NMTVGETINFOTIPA, *LPNMTVGETINFOTIPA; + +typedef struct tagNMTVGETINFOTIPW +{ + NMHDR hdr; + LPWSTR pszText; + INT cchTextMax; + HTREEITEM hItem; + LPARAM lParam; +} NMTVGETINFOTIPW, *LPNMTVGETINFOTIPW; + +#define NMTVGETINFOTIP WINELIB_NAME_AW(NMTVGETINFOTIP) +#define LPNMTVGETINFOTIP WINELIB_NAME_AW(LPNMTVGETINFOTIP) + +typedef enum _TVITEMPART +{ + TVGIPR_BUTTON = 1 +} TVITEMPART; + +typedef struct tagTVGETITEMPARTRECTINFO +{ + HTREEITEM hti; + RECT *prc; + TVITEMPART partID; +} TVGETITEMPARTRECTINFO; + +typedef struct tagTVITEMCHANGE +{ + NMHDR hdr; + UINT uChanged; + HTREEITEM hItem; + UINT uStateNew; + UINT uStateOld; + LPARAM lParam; +} NVTVITEMCHANGE; + +typedef struct tagNMTVASYNCDRAW +{ + NMHDR hdr; + IMAGELISTDRAWPARAMS *pimldp; + HRESULT hr; + HTREEITEM hItem; + LPARAM lParam; + DWORD dwRetFlags; + int iRetImageIndex; +} NMTVASYNCDRAW; + +#include +typedef struct tagTVKEYDOWN +{ + NMHDR hdr; + WORD wVKey; + UINT flags; +} NMTVKEYDOWN, *LPNMTVKEYDOWN; +#include + +#define TV_KEYDOWN NMTVKEYDOWN + +#define TreeView_InsertItemA(hwnd, phdi) \ + (HTREEITEM)SNDMSGA((hwnd), TVM_INSERTITEMA, 0, \ + (LPARAM)(LPTVINSERTSTRUCTA)(phdi)) +#define TreeView_InsertItemW(hwnd,phdi) \ + (HTREEITEM)SNDMSGW((hwnd), TVM_INSERTITEMW, 0, \ + (LPARAM)(LPTVINSERTSTRUCTW)(phdi)) +#define TreeView_InsertItem WINELIB_NAME_AW(TreeView_InsertItem) + +#define TreeView_DeleteItem(hwnd, hItem) \ + (BOOL)SNDMSG((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hItem)) +#define TreeView_DeleteAllItems(hwnd) \ + (BOOL)SNDMSG((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT) +#define TreeView_Expand(hwnd, hitem, code) \ + (BOOL)SNDMSG((hwnd), TVM_EXPAND, (WPARAM)code, \ + (LPARAM)(HTREEITEM)(hitem)) + +#define TreeView_GetItemRect(hwnd, hitem, prc, code) \ + (*(HTREEITEM *)prc = (hitem), (BOOL)SNDMSG((hwnd), \ + TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc))) + +#define TreeView_GetCount(hwnd) \ + (UINT)SNDMSG((hwnd), TVM_GETCOUNT, 0, 0) +#define TreeView_GetIndent(hwnd) \ + (UINT)SNDMSG((hwnd), TVM_GETINDENT, 0, 0) +#define TreeView_SetIndent(hwnd, indent) \ + (BOOL)SNDMSG((hwnd), TVM_SETINDENT, (WPARAM)indent, 0) + +#define TreeView_GetImageList(hwnd, iImage) \ + (HIMAGELIST)SNDMSG((hwnd), TVM_GETIMAGELIST, iImage, 0) + +#define TreeView_SetImageList(hwnd, himl, iImage) \ + (HIMAGELIST)SNDMSG((hwnd), TVM_SETIMAGELIST, iImage, \ + (LPARAM)(HIMAGELIST)(himl)) + +#define TreeView_GetNextItem(hwnd, hitem, code) \ + (HTREEITEM)SNDMSG((hwnd), TVM_GETNEXTITEM, (WPARAM)code,\ +(LPARAM)(HTREEITEM) (hitem)) + +#define TreeView_GetChild(hwnd, hitem) \ + TreeView_GetNextItem(hwnd, hitem , TVGN_CHILD) +#define TreeView_GetNextSibling(hwnd, hitem) \ + TreeView_GetNextItem(hwnd, hitem , TVGN_NEXT) +#define TreeView_GetPrevSibling(hwnd, hitem) \ + TreeView_GetNextItem(hwnd, hitem , TVGN_PREVIOUS) +#define TreeView_GetParent(hwnd, hitem) \ + TreeView_GetNextItem(hwnd, hitem , TVGN_PARENT) +#define TreeView_GetFirstVisible(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE) +#define TreeView_GetLastVisible(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_LASTVISIBLE) +#define TreeView_GetNextVisible(hwnd, hitem) \ + TreeView_GetNextItem(hwnd, hitem , TVGN_NEXTVISIBLE) +#define TreeView_GetPrevVisible(hwnd, hitem) \ + TreeView_GetNextItem(hwnd, hitem , TVGN_PREVIOUSVISIBLE) +#define TreeView_GetSelection(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_CARET) +#define TreeView_GetDropHilight(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE) +#define TreeView_GetRoot(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT) +#define TreeView_GetLastVisible(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_LASTVISIBLE) +#define TreeView_GetNextSelected(hwnd) \ + TreeView_GetNextItem(hwnd, NULL, TVGN_NEXTSELECTED) + + +#define TreeView_Select(hwnd, hitem, code) \ + (BOOL)SNDMSG((hwnd), TVM_SELECTITEM, (WPARAM)(code), \ +(LPARAM)(HTREEITEM)(hitem)) + + +#define TreeView_SelectItem(hwnd, hitem) \ + TreeView_Select(hwnd, hitem, TVGN_CARET) +#define TreeView_SelectDropTarget(hwnd, hitem) \ + TreeView_Select(hwnd, hitem, TVGN_DROPHILITE) +#define TreeView_SelectSetFirstVisible(hwnd, hitem) \ + TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE) + + +#define TreeView_GetItemA(hwnd, pitem) \ + (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem)) +#define TreeView_GetItemW(hwnd, pitem) \ + (BOOL)SNDMSGW((hwnd), TVM_GETITEMW, 0, (LPARAM) (TVITEMW *)(pitem)) +#define TreeView_GetItem WINELIB_NAME_AW(TreeView_GetItem) + +#define TreeView_SetItemA(hwnd, pitem) \ + (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem)) +#define TreeView_SetItemW(hwnd, pitem) \ + (BOOL)SNDMSGW((hwnd), TVM_SETITEMW, 0, (LPARAM)(const TVITEMW *)(pitem)) +#define TreeView_SetItem WINELIB_NAME_AW(TreeView_SetItem) + +#define TreeView_EditLabel(hwnd, hitem) \ + (HWND)SNDMSG((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem)) + +#define TreeView_GetEditControl(hwnd) \ + (HWND)SNDMSG((hwnd), TVM_GETEDITCONTROL, 0, 0) + +#define TreeView_GetVisibleCount(hwnd) \ + (UINT)SNDMSG((hwnd), TVM_GETVISIBLECOUNT, 0, 0) + +#define TreeView_HitTest(hwnd, lpht) \ + (HTREEITEM)SNDMSG((hwnd), TVM_HITTEST, 0,\ +(LPARAM)(LPTVHITTESTINFO)(lpht)) + +#define TreeView_CreateDragImage(hwnd, hitem) \ + (HIMAGELIST)SNDMSG((hwnd), TVM_CREATEDRAGIMAGE, 0,\ +(LPARAM)(HTREEITEM)(hitem)) + +#define TreeView_SortChildren(hwnd, hitem, recurse) \ + (BOOL)SNDMSG((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse,\ +(LPARAM)(HTREEITEM)(hitem)) + +#define TreeView_EnsureVisible(hwnd, hitem) \ + (BOOL)SNDMSG((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(UINT)(hitem)) + +#define TreeView_SortChildrenCB(hwnd, psort, recurse) \ + (BOOL)SNDMSG((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, \ + (LPARAM)(LPTV_SORTCB)(psort)) + +#define TreeView_EndEditLabelNow(hwnd, fCancel) \ + (BOOL)SNDMSG((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0) + +#define TreeView_GetISearchString(hwnd, lpsz) \ + (BOOL)SNDMSG((hwnd), TVM_GETISEARCHSTRING, 0, \ + (LPARAM)(LPTSTR)lpsz) + +#define TreeView_SetToolTips(hwnd, hwndTT) \ + (HWND)SNDMSG((hwnd), TVM_SETTOOLTIPS, (WPARAM)(hwndTT), 0) + +#define TreeView_GetToolTips(hwnd) \ + (HWND)SNDMSG((hwnd), TVM_GETTOOLTIPS, 0, 0) + +#define TreeView_SetItemHeight(hwnd, iHeight) \ + (INT)SNDMSG((hwnd), TVM_SETITEMHEIGHT, (WPARAM)iHeight, 0) + +#define TreeView_GetItemHeight(hwnd) \ + (INT)SNDMSG((hwnd), TVM_GETITEMHEIGHT, 0, 0) + +#define TreeView_SetBkColor(hwnd, clr) \ + (COLORREF)SNDMSG((hwnd), TVM_SETBKCOLOR, 0, (LPARAM)clr) + +#define TreeView_SetTextColor(hwnd, clr) \ + (COLORREF)SNDMSG((hwnd), TVM_SETTEXTCOLOR, 0, (LPARAM)clr) + +#define TreeView_GetBkColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), TVM_GETBKCOLOR, 0, 0) + +#define TreeView_GetTextColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), TVM_GETTEXTCOLOR, 0, 0) + +#define TreeView_SetScrollTime(hwnd, uTime) \ + (UINT)SNDMSG((hwnd), TVM_SETSCROLLTIME, uTime, 0) + +#define TreeView_GetScrollTime(hwnd) \ + (UINT)SNDMSG((hwnd), TVM_GETSCROLLTIME, 0, 0) + +#define TreeView_SetInsertMark(hwnd, hItem, fAfter) \ + (BOOL)SNDMSG((hwnd), TVM_SETINSERTMARK, (WPARAM)(fAfter), \ + (LPARAM) (hItem)) + +#define TreeView_SetInsertMarkColor(hwnd, clr) \ + (COLORREF)SNDMSG((hwnd), TVM_SETINSERTMARKCOLOR, 0, (LPARAM)clr) + +#define TreeView_GetInsertMarkColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), TVM_GETINSERTMARKCOLOR, 0, 0) + +#define TreeView_SetItemState(hwndTV, hti, data, _mask) \ +{ TVITEM _TVi; \ + _TVi.mask = TVIF_STATE; \ + _TVi.hItem = hti; \ + _TVi.stateMask = _mask; \ + _TVi.state = data; \ + SNDMSG((hwndTV), TVM_SETITEM, 0, (LPARAM)&_TVi); \ +} + +#define TreeView_GetItemState(hwndTV, hti, mask) \ + (UINT)SNDMSG((hwndTV), TVM_GETITEMSTATE, (WPARAM)(hti), (LPARAM)(mask)) +#define TreeView_GetCheckState(hwndTV, hti) \ + ((((UINT)(SNDMSG((hwndTV), TVM_GETITEMSTATE, (WPARAM)(hti), \ + TVIS_STATEIMAGEMASK))) >> 12) -1) + +#define TreeView_SetLineColor(hwnd, clr) \ + (COLORREF)SNDMSG((hwnd), TVM_SETLINECOLOR, 0, (LPARAM)(clr)) + +#define TreeView_GetLineColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), TVM_GETLINECOLOR, 0, 0) + +#define TreeView_MapAccIDToHTREEITEM(hwnd, id) \ + (HTREEITEM)SNDMSG((hwnd), TVM_MAPACCIDTOHTREEITEM, id, 0) + +#define TreeView_MapHTREEITEMToAccID(hwnd, htreeitem) \ + (UINT)SNDMSG((hwnd), TVM_MAPHTREEITEMTOACCID, (WPARAM)htreeitem, 0) + +#define TreeView_SetUnicodeFormat(hwnd, fUnicode) \ + (BOOL)SNDMSG((hwnd), TVM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0) +#define TreeView_GetUnicodeFormat(hwnd) \ + (BOOL)SNDMSG((hwnd), TVM_GETUNICODEFORMAT, 0, 0) + +/* Listview control */ + +#define WC_LISTVIEWA "SysListView32" +#if defined(__GNUC__) +# define WC_LISTVIEWW (const WCHAR []){ 'S','y','s', \ + 'L','i','s','t','V','i','e','w','3','2',0 } +#elif defined(_MSC_VER) +# define WC_LISTVIEWW L"SysListView32" +#else +static const WCHAR WC_LISTVIEWW[] = { 'S','y','s', + 'L','i','s','t','V','i','e','w','3','2',0 }; +#endif +#define WC_LISTVIEW WINELIB_NAME_AW(WC_LISTVIEW) + +#define LVSCW_AUTOSIZE -1 +#define LVSCW_AUTOSIZE_USEHEADER -2 + + +#define LVS_EX_GRIDLINES 0x0001 +#define LVS_EX_SUBITEMIMAGES 0x0002 +#define LVS_EX_CHECKBOXES 0x0004 +#define LVS_EX_TRACKSELECT 0x0008 +#define LVS_EX_HEADERDRAGDROP 0x0010 +#define LVS_EX_FULLROWSELECT 0x0020 +#define LVS_EX_ONECLICKACTIVATE 0x0040 +#define LVS_EX_TWOCLICKACTIVATE 0x0080 +#define LVS_EX_FLATSB 0x0100 +#define LVS_EX_REGIONAL 0x0200 +#define LVS_EX_INFOTIP 0x0400 +#define LVS_EX_UNDERLINEHOT 0x0800 +#define LVS_EX_UNDERLINECOLD 0x1000 +#define LVS_EX_MULTIWORKAREAS 0x2000 +#define LVS_EX_LABELTIP 0x4000 +#define LVS_EX_BORDERSELECT 0x8000 +#define LVS_EX_DOUBLEBUFFER 0x00010000 +#define LVS_EX_HIDELABELS 0x00020000 +#define LVS_EX_SINGLEROW 0x00040000 +#define LVS_EX_SNAPTOGRID 0x00080000 +#define LVS_EX_SIMPLESELECT 0x00100000 +#define LVS_EX_JUSTIFYCOLUMNS 0x00200000 +#define LVS_EX_TRANSPARENTBKGND 0x00400000 +#define LVS_EX_TRANSPARENTSHADOWTEXT 0x00800000 +#define LVS_EX_AUTOAUTOARRANGE 0x01000000 +#define LVS_EX_HEADERINALLVIEWS 0x02000000 +#define LVS_EX_AUTOCHECKSELECT 0x08000000 +#define LVS_EX_AUTOSIZECOLUMNS 0x10000000 +#define LVS_EX_COLUMNSNAPPOINTS 0x40000000 +#define LVS_EX_COLUMNOVERFLOW 0x80000000 + +#define LVCF_FMT 0x0001 +#define LVCF_WIDTH 0x0002 +#define LVCF_TEXT 0x0004 +#define LVCF_SUBITEM 0x0008 +#define LVCF_IMAGE 0x0010 +#define LVCF_ORDER 0x0020 +#define LVCF_MINWIDTH 0x0040 +#define LVCF_DEFAULTWIDTH 0x0080 +#define LVCF_IDEALWIDTH 0x0100 + +#define LVCFMT_LEFT 0x0000 +#define LVCFMT_RIGHT 0x0001 +#define LVCFMT_CENTER 0x0002 +#define LVCFMT_JUSTIFYMASK 0x0003 +#define LVCFMT_FIXED_WIDTH 0x0100 +#define LVCFMT_IMAGE 0x0800 +#define LVCFMT_BITMAP_ON_RIGHT 0x1000 +#define LVCFMT_COL_HAS_IMAGES 0x8000 +#define LVCFMT_NO_DPI_SCALE 0x00040000 +#define LVCFMT_FIXED_RATIO 0x00080000 +#define LVCFMT_LINE_BREAK 0x00100000 +#define LVCFMT_FILL 0x00200000 +#define LVCFMT_WRAP 0x00400000 +#define LVCFMT_NO_TITLE 0x00800000 +#define LVCFMT_SPLIT_BUTTON 0x01000000 +#define LVCFMT_TILE_PLACEMENTMASK (LVCFMT_LINE_BREAK | LVCFMT_FILL) + +#define LVSIL_NORMAL 0 +#define LVSIL_SMALL 1 +#define LVSIL_STATE 2 +#define LVSIL_GROUPHEADER 3 + +/* following 2 flags only for LVS_OWNERDATA listviews */ +/* and only in report or list mode */ +#define LVSICF_NOINVALIDATEALL 0x0001 +#define LVSICF_NOSCROLL 0x0002 + + +#define LVFI_PARAM 0x0001 +#define LVFI_STRING 0x0002 +#define LVFI_SUBSTRING 0x0004 +#define LVFI_PARTIAL 0x0008 +#define LVFI_WRAP 0x0020 +#define LVFI_NEARESTXY 0x0040 + +#define LVIF_TEXT 0x0001 +#define LVIF_IMAGE 0x0002 +#define LVIF_PARAM 0x0004 +#define LVIF_STATE 0x0008 +#define LVIF_INDENT 0x0010 +#define LVIF_GROUPID 0x0100 +#define LVIF_COLUMNS 0x0200 +#define LVIF_NORECOMPUTE 0x0800 +#define LVIF_DI_SETITEM 0x1000 +#define LVIF_COLFMT 0x00010000 + +#define LVIR_BOUNDS 0x0000 +#define LVIR_ICON 0x0001 +#define LVIR_LABEL 0x0002 +#define LVIR_SELECTBOUNDS 0x0003 + +#define LVIS_FOCUSED 0x0001 +#define LVIS_SELECTED 0x0002 +#define LVIS_CUT 0x0004 +#define LVIS_DROPHILITED 0x0008 +#define LVIS_ACTIVATING 0x0020 + +#define LVIS_OVERLAYMASK 0x0F00 +#define LVIS_STATEIMAGEMASK 0xF000 + +#define LVNI_ALL 0x0000 +#define LVNI_FOCUSED 0x0001 +#define LVNI_SELECTED 0x0002 +#define LVNI_CUT 0x0004 +#define LVNI_DROPHILITED 0x0008 + +#define LVNI_ABOVE 0x0100 +#define LVNI_BELOW 0x0200 +#define LVNI_TOLEFT 0x0400 +#define LVNI_TORIGHT 0x0800 + +#define LVHT_NOWHERE 0x0001 +#define LVHT_ONITEMICON 0x0002 +#define LVHT_ONITEMLABEL 0x0004 +#define LVHT_ONITEMSTATEICON 0x0008 +#define LVHT_ONITEM (LVHT_ONITEMICON|LVHT_ONITEMLABEL|LVHT_ONITEMSTATEICON) + +#define LVHT_ABOVE 0x0008 +#define LVHT_BELOW 0x0010 +#define LVHT_TORIGHT 0x0020 +#define LVHT_TOLEFT 0x0040 + +#define LV_VIEW_ICON 0x0000 +#define LV_VIEW_DETAILS 0x0001 +#define LV_VIEW_SMALLICON 0x0002 +#define LV_VIEW_LIST 0x0003 +#define LV_VIEW_TILE 0x0004 +#define LV_VIEW_MAX 0x0004 + +#define LVGF_NONE 0x00000000 +#define LVGF_HEADER 0x00000001 +#define LVGF_FOOTER 0x00000002 +#define LVGF_STATE 0x00000004 +#define LVGF_ALIGN 0x00000008 +#define LVGF_GROUPID 0x00000010 +#define LVGF_SUBTITLE 0x00000100 +#define LVGF_TASK 0x00000200 +#define LVGF_DESCRIPTIONTOP 0x00000400 +#define LVGF_DESCRIPTIONBOTTOM 0x00000800 +#define LVGF_TITLEIMAGE 0x00001000 +#define LVGF_EXTENDEDIMAGE 0x00002000 +#define LVGF_ITEMS 0x00004000 +#define LVGF_SUBSET 0x00008000 +#define LVGF_SUBSETITEMS 0x00010000 + +#define LVGS_NORMAL 0x00000000 +#define LVGS_COLLAPSED 0x00000001 +#define LVGS_HIDDEN 0x00000002 + +#define LVGA_HEADER_LEFT 0x00000001 +#define LVGA_HEADER_CENTER 0x00000002 +#define LVGA_HEADER_RIGHT 0x00000004 +#define LVGA_FOOTER_LEFT 0x00000008 +#define LVGA_FOOTER_CENTER 0x00000010 +#define LVGA_FOOTER_RIGHT 0x00000020 + +#define LVGMF_NONE 0x00000000 +#define LVGMF_BORDERSIZE 0x00000001 +#define LVGMF_BORDERCOLOR 0x00000002 +#define LVGMF_TEXTCOLOR 0x00000004 + +#define LVTVIF_AUTOSIZE 0x00000000 +#define LVTVIF_FIXEDWIDTH 0x00000001 +#define LVTVIF_FIXEDHEIGHT 0x00000002 +#define LVTVIF_FIXEDSIZE 0x00000003 +#define LVTVIF_EXTENDED 0x00000004 + +#define LVTVIM_TILESIZE 0x00000001 +#define LVTVIM_COLUMNS 0x00000002 +#define LVTVIM_LABELMARGIN 0x00000004 + +#define LVIM_AFTER 0x00000001 + +#define LVM_FIRST 0x1000 +#define LVM_GETBKCOLOR (LVM_FIRST+0) +#define LVM_SETBKCOLOR (LVM_FIRST+1) +#define LVM_GETIMAGELIST (LVM_FIRST+2) +#define LVM_SETIMAGELIST (LVM_FIRST+3) +#define LVM_GETITEMCOUNT (LVM_FIRST+4) +#define LVM_GETITEMA (LVM_FIRST+5) +#define LVM_GETITEMW (LVM_FIRST+75) +#define LVM_GETITEM WINELIB_NAME_AW(LVM_GETITEM) +#define LVM_SETITEMA (LVM_FIRST+6) +#define LVM_SETITEMW (LVM_FIRST+76) +#define LVM_SETITEM WINELIB_NAME_AW(LVM_SETITEM) +#define LVM_INSERTITEMA (LVM_FIRST+7) +#define LVM_INSERTITEMW (LVM_FIRST+77) +#define LVM_INSERTITEM WINELIB_NAME_AW(LVM_INSERTITEM) +#define LVM_DELETEITEM (LVM_FIRST+8) +#define LVM_DELETEALLITEMS (LVM_FIRST+9) +#define LVM_GETCALLBACKMASK (LVM_FIRST+10) +#define LVM_SETCALLBACKMASK (LVM_FIRST+11) +#define LVM_GETNEXTITEM (LVM_FIRST+12) +#define LVM_FINDITEMA (LVM_FIRST+13) +#define LVM_FINDITEMW (LVM_FIRST+83) +#define LVM_FINDITEM WINELIB_NAME_AW(LVM_FINDITEM) +#define LVM_GETITEMRECT (LVM_FIRST+14) +#define LVM_SETITEMPOSITION (LVM_FIRST+15) +#define LVM_GETITEMPOSITION (LVM_FIRST+16) +#define LVM_GETSTRINGWIDTHA (LVM_FIRST+17) +#define LVM_GETSTRINGWIDTHW (LVM_FIRST+87) +#define LVM_GETSTRINGWIDTH WINELIB_NAME_AW(LVM_GETSTRINGWIDTH) +#define LVM_HITTEST (LVM_FIRST+18) +#define LVM_ENSUREVISIBLE (LVM_FIRST+19) +#define LVM_SCROLL (LVM_FIRST+20) +#define LVM_REDRAWITEMS (LVM_FIRST+21) +#define LVM_ARRANGE (LVM_FIRST+22) +#define LVM_EDITLABELA (LVM_FIRST+23) +#define LVM_EDITLABELW (LVM_FIRST+118) +#define LVM_EDITLABEL WINELIB_NAME_AW(LVM_EDITLABEL) +#define LVM_GETEDITCONTROL (LVM_FIRST+24) +#define LVM_GETCOLUMNA (LVM_FIRST+25) +#define LVM_GETCOLUMNW (LVM_FIRST+95) +#define LVM_GETCOLUMN WINELIB_NAME_AW(LVM_GETCOLUMN) +#define LVM_SETCOLUMNA (LVM_FIRST+26) +#define LVM_SETCOLUMNW (LVM_FIRST+96) +#define LVM_SETCOLUMN WINELIB_NAME_AW(LVM_SETCOLUMN) +#define LVM_INSERTCOLUMNA (LVM_FIRST+27) +#define LVM_INSERTCOLUMNW (LVM_FIRST+97) +#define LVM_INSERTCOLUMN WINELIB_NAME_AW(LVM_INSERTCOLUMN) +#define LVM_DELETECOLUMN (LVM_FIRST+28) +#define LVM_GETCOLUMNWIDTH (LVM_FIRST+29) +#define LVM_SETCOLUMNWIDTH (LVM_FIRST+30) +#define LVM_GETHEADER (LVM_FIRST+31) + +#define LVM_CREATEDRAGIMAGE (LVM_FIRST+33) +#define LVM_GETVIEWRECT (LVM_FIRST+34) +#define LVM_GETTEXTCOLOR (LVM_FIRST+35) +#define LVM_SETTEXTCOLOR (LVM_FIRST+36) +#define LVM_GETTEXTBKCOLOR (LVM_FIRST+37) +#define LVM_SETTEXTBKCOLOR (LVM_FIRST+38) +#define LVM_GETTOPINDEX (LVM_FIRST+39) +#define LVM_GETCOUNTPERPAGE (LVM_FIRST+40) +#define LVM_GETORIGIN (LVM_FIRST+41) +#define LVM_UPDATE (LVM_FIRST+42) +#define LVM_SETITEMSTATE (LVM_FIRST+43) +#define LVM_GETITEMSTATE (LVM_FIRST+44) +#define LVM_GETITEMTEXTA (LVM_FIRST+45) +#define LVM_GETITEMTEXTW (LVM_FIRST+115) +#define LVM_GETITEMTEXT WINELIB_NAME_AW(LVM_GETITEMTEXT) +#define LVM_SETITEMTEXTA (LVM_FIRST+46) +#define LVM_SETITEMTEXTW (LVM_FIRST+116) +#define LVM_SETITEMTEXT WINELIB_NAME_AW(LVM_SETITEMTEXT) +#define LVM_SETITEMCOUNT (LVM_FIRST+47) +#define LVM_SORTITEMS (LVM_FIRST+48) +#define LVM_SORTITEMSEX (LVM_FIRST+81) +#define LVM_SETITEMPOSITION32 (LVM_FIRST+49) +#define LVM_GETSELECTEDCOUNT (LVM_FIRST+50) +#define LVM_GETITEMSPACING (LVM_FIRST+51) +#define LVM_GETISEARCHSTRINGA (LVM_FIRST+52) +#define LVM_GETISEARCHSTRINGW (LVM_FIRST+117) +#define LVM_GETISEARCHSTRING WINELIB_NAME_AW(LVM_GETISEARCHSTRING) +#define LVM_SETICONSPACING (LVM_FIRST+53) +#define LVM_SETEXTENDEDLISTVIEWSTYLE (LVM_FIRST+54) +#define LVM_GETEXTENDEDLISTVIEWSTYLE (LVM_FIRST+55) +#define LVM_GETSUBITEMRECT (LVM_FIRST+56) +#define LVM_SUBITEMHITTEST (LVM_FIRST+57) +#define LVM_SETCOLUMNORDERARRAY (LVM_FIRST+58) +#define LVM_GETCOLUMNORDERARRAY (LVM_FIRST+59) +#define LVM_SETHOTITEM (LVM_FIRST+60) +#define LVM_GETHOTITEM (LVM_FIRST+61) +#define LVM_SETHOTCURSOR (LVM_FIRST+62) +#define LVM_GETHOTCURSOR (LVM_FIRST+63) +#define LVM_APPROXIMATEVIEWRECT (LVM_FIRST+64) +#define LVM_SETWORKAREAS (LVM_FIRST+65) +#define LVM_GETSELECTIONMARK (LVM_FIRST+66) +#define LVM_SETSELECTIONMARK (LVM_FIRST+67) +#define LVM_SETBKIMAGEA (LVM_FIRST+68) +#define LVM_SETBKIMAGEW (LVM_FIRST+138) +#define LVM_SETBKIMAGE WINELIB_NAME_AW(LVM_SETBKIMAGE) +#define LVM_GETBKIMAGEA (LVM_FIRST+69) +#define LVM_GETBKIMAGEW (LVM_FIRST+139) +#define LVM_GETBKIMAGE WINELIB_NAME_AW(LVM_GETBKIMAGE) +#define LVM_GETWORKAREAS (LVM_FIRST+70) +#define LVM_SETHOVERTIME (LVM_FIRST+71) +#define LVM_GETHOVERTIME (LVM_FIRST+72) +#define LVM_GETNUMBEROFWORKAREAS (LVM_FIRST+73) +#define LVM_SETTOOLTIPS (LVM_FIRST+74) +#define LVM_GETTOOLTIPS (LVM_FIRST+78) +#define LVM_GETUNICODEFORMAT (CCM_GETUNICODEFORMAT) +#define LVM_SETUNICODEFORMAT (CCM_SETUNICODEFORMAT) +#define LVM_SETSELECTEDCOLUMN (LVM_FIRST + 140) +#define LVM_SETTILEWIDTH (LVM_FIRST + 141) +#define LVM_SETVIEW (LVM_FIRST + 142) +#define LVM_GETVIEW (LVM_FIRST + 143) +#define LVM_INSERTGROUP (LVM_FIRST + 145) +#define LVM_SETGROUPINFO (LVM_FIRST + 147) +#define LVM_GETGROUPINFO (LVM_FIRST + 149) +#define LVM_REMOVEGROUP (LVM_FIRST + 150) +#define LVM_MOVEGROUP (LVM_FIRST + 151) +#define LVM_MOVEITEMTOGROUP (LVM_FIRST + 154) +#define LVM_SETGROUPMETRICS (LVM_FIRST + 155) +#define LVM_GETGROUPMETRICS (LVM_FIRST + 156) +#define LVM_ENABLEGROUPVIEW (LVM_FIRST + 157) +#define LVM_SORTGROUPS (LVM_FIRST + 158) +#define LVM_INSERTGROUPSORTED (LVM_FIRST + 159) +#define LVM_REMOVEALLGROUPS (LVM_FIRST + 160) +#define LVM_HASGROUP (LVM_FIRST + 161) +#define LVM_SETTILEVIEWINFO (LVM_FIRST + 162) +#define LVM_GETTILEVIEWINFO (LVM_FIRST + 163) +#define LVM_SETTILEINFO (LVM_FIRST + 164) +#define LVM_GETTILEINFO (LVM_FIRST + 165) +#define LVM_SETINSERTMARK (LVM_FIRST + 166) +#define LVM_GETINSERTMARK (LVM_FIRST + 167) +#define LVM_INSERTMARKHITTEST (LVM_FIRST + 168) +#define LVM_GETINSERTMARKRECT (LVM_FIRST + 169) +#define LVM_SETINSERTMARKCOLOR (LVM_FIRST + 170) +#define LVM_GETINSERTMARKCOLOR (LVM_FIRST + 171) +#define LVM_SETINFOTIP (LVM_FIRST + 173) +#define LVM_GETSELECTEDCOLUMN (LVM_FIRST + 174) +#define LVM_ISGROUPVIEWENABLED (LVM_FIRST + 175) +#define LVM_GETOUTLINECOLOR (LVM_FIRST + 176) +#define LVM_SETOUTLINECOLOR (LVM_FIRST + 177) +#define LVM_CANCELEDITLABEL (LVM_FIRST + 179) +#define LVM_MAPINDEXTOID (LVM_FIRST + 180) +#define LVM_MAPIDTOINDEX (LVM_FIRST + 181) +#define LVM_ISITEMVISIBLE (LVM_FIRST + 182) +#define LVM_GETEMPTYTEXT (LVM_FIRST + 204) +#define LVM_GETFOOTERRECT (LVM_FIRST + 205) +#define LVM_GETFOOTERINFO (LVM_FIRST + 206) +#define LVM_GETFOOTERITEMRECT (LVM_FIRST + 207) +#define LVM_GETFOOTERITEM (LVM_FIRST + 208) +#define LVM_GETITEMINDEXRECT (LVM_FIRST + 209) +#define LVM_SETITEMINDEXSTATE (LVM_FIRST + 210) +#define LVM_GETNEXTITEMINDEX (LVM_FIRST + 211) + +#define LVN_FIRST (0U-100U) +#define LVN_LAST (0U-199U) +#define LVN_ITEMCHANGING (LVN_FIRST-0) +#define LVN_ITEMCHANGED (LVN_FIRST-1) +#define LVN_INSERTITEM (LVN_FIRST-2) +#define LVN_DELETEITEM (LVN_FIRST-3) +#define LVN_DELETEALLITEMS (LVN_FIRST-4) +#define LVN_BEGINLABELEDITA (LVN_FIRST-5) +#define LVN_BEGINLABELEDITW (LVN_FIRST-75) +#define LVN_BEGINLABELEDIT WINELIB_NAME_AW(LVN_BEGINLABELEDIT) +#define LVN_ENDLABELEDITA (LVN_FIRST-6) +#define LVN_ENDLABELEDITW (LVN_FIRST-76) +#define LVN_ENDLABELEDIT WINELIB_NAME_AW(LVN_ENDLABELEDIT) +#define LVN_COLUMNCLICK (LVN_FIRST-8) +#define LVN_BEGINDRAG (LVN_FIRST-9) +#define LVN_BEGINRDRAG (LVN_FIRST-11) +#define LVN_ODCACHEHINT (LVN_FIRST-13) +#define LVN_ITEMACTIVATE (LVN_FIRST-14) +#define LVN_ODSTATECHANGED (LVN_FIRST-15) +#define LVN_HOTTRACK (LVN_FIRST-21) +#define LVN_ODFINDITEMA (LVN_FIRST-52) +#define LVN_ODFINDITEMW (LVN_FIRST-79) +#define LVN_ODFINDITEM WINELIB_NAME_AW(LVN_ODFINDITEM) +#define LVN_GETDISPINFOA (LVN_FIRST-50) +#define LVN_GETDISPINFOW (LVN_FIRST-77) +#define LVN_GETDISPINFO WINELIB_NAME_AW(LVN_GETDISPINFO) +#define LVN_SETDISPINFOA (LVN_FIRST-51) +#define LVN_SETDISPINFOW (LVN_FIRST-78) +#define LVN_SETDISPINFO WINELIB_NAME_AW(LVN_SETDISPINFO) +#define LVN_KEYDOWN (LVN_FIRST-55) +#define LVN_MARQUEEBEGIN (LVN_FIRST-56) +#define LVN_GETINFOTIPA (LVN_FIRST-57) +#define LVN_GETINFOTIPW (LVN_FIRST-58) +#define LVN_GETINFOTIP WINELIB_NAME_AW(LVN_GETINFOTIP) +#define LVN_INCREMENTALSEARCHA (LVN_FIRST-62) +#define LVN_INCREMENTALSEARCHW (LVN_FIRST-63) +#define LVN_COLUMNDROPDOWN (LVN_FIRST-64) +#define LVN_COLUMNOVERFLOWCLICK (LVN_FIRST-66) +#define LVN_INCREMENTALSEARCH WINELIB_NAME_AW(LVN_INCREMENTALSEARCH) +#define LVN_BEGINSCROLL (LVN_FIRST-80) +#define LVN_ENDSCROLL (LVN_FIRST-81) +#define LVN_LINKCLICK (LVN_FIRST-84) +#define LVN_ASYNCDRAWN (LVN_FIRST-86) +#define LVN_GETEMPTYMARKUP (LVN_FIRST-87) + +/* LVN_INCREMENTALSEARCH return codes */ +#define LVNSCH_DEFAULT -1 +#define LVNSCH_ERROR -2 +#define LVNSCH_IGNORE -3 + +#define LVA_DEFAULT 0x0000 +#define LVA_ALIGNLEFT 0x0001 +#define LVA_ALIGNTOP 0x0002 +#define LVA_SNAPTOGRID 0x0005 + +typedef struct tagLVITEMA +{ + UINT mask; + INT iItem; + INT iSubItem; + UINT state; + UINT stateMask; + LPSTR pszText; + INT cchTextMax; + INT iImage; + LPARAM lParam; + /* (_WIN32_IE >= 0x0300) */ + INT iIndent; + /* (_WIN32_IE >= 0x0560) */ + INT iGroupId; + UINT cColumns; + PUINT puColumns; + /* (_WIN32_WINNT >= 0x0600) */ + PINT piColFmt; + INT iGroup; +} LVITEMA, *LPLVITEMA; + +typedef struct tagLVITEMW +{ + UINT mask; + INT iItem; + INT iSubItem; + UINT state; + UINT stateMask; + LPWSTR pszText; + INT cchTextMax; + INT iImage; + LPARAM lParam; + /* (_WIN32_IE >= 0x0300) */ + INT iIndent; + /* (_WIN32_IE >= 0x0560) */ + INT iGroupId; + UINT cColumns; + PUINT puColumns; + /* (_WIN32_WINNT >= 0x0600) */ + PINT piColFmt; + INT iGroup; +} LVITEMW, *LPLVITEMW; + +#define LVITEM WINELIB_NAME_AW(LVITEM) +#define LPLVITEM WINELIB_NAME_AW(LPLVITEM) + +#define LVITEM_V1_SIZEA CCSIZEOF_STRUCT(LVITEMA, lParam) +#define LVITEM_V1_SIZEW CCSIZEOF_STRUCT(LVITEMW, lParam) +#define LVITEM_V1_SIZE WINELIB_NAME_AW(LVITEM_V1_SIZE) + +#define LVITEMA_V5_SIZE CCSIZEOF_STRUCT(LVITEMA, puColumns) +#define LVITEMW_V5_SIZE CCSIZEOF_STRUCT(LVITEMW, puColumns) +#define LVITEM_V5_SIZE WINELIB_NAME_AW(LVITEM_V5_SIZE) + +#define LV_ITEM LVITEM +#define LV_ITEMA LVITEMA +#define LV_ITEMW LVITEMW + +typedef struct LVSETINFOTIP +{ + UINT cbSize; + DWORD dwFlags; + LPWSTR pszText; + int iItem; + int iSubItem; +} LVSETINFOTIP, *PLVSETINFOTIP; + +/* ListView background image structs and constants + For _WIN32_IE version 0x400 and later. */ + +typedef struct tagLVBKIMAGEA +{ + ULONG ulFlags; + HBITMAP hbm; + LPSTR pszImage; + UINT cchImageMax; + int xOffsetPercent; + int yOffsetPercent; +} LVBKIMAGEA, *LPLVBKIMAGEA; + +typedef struct tagLVBKIMAGEW +{ + ULONG ulFlags; + HBITMAP hbm; + LPWSTR pszImage; + UINT cchImageMax; + int xOffsetPercent; + int yOffsetPercent; +} LVBKIMAGEW, *LPLVBKIMAGEW; + +#define LVBKIMAGE WINELIB_NAME_AW(LVBKIMAGE) +#define LPLVBKIMAGE WINELIB_NAME_AW(LPLVBKIMAGE) + +#define LVBKIF_SOURCE_NONE 0x00000000 +#define LVBKIF_SOURCE_HBITMAP 0x00000001 +#define LVBKIF_SOURCE_URL 0x00000002 +#define LVBKIF_SOURCE_MASK 0x00000003 +#define LVBKIF_STYLE_NORMAL 0x00000000 +#define LVBKIF_STYLE_TILE 0x00000010 +#define LVBKIF_STYLE_MASK 0x00000010 +#define LVBKIF_FLAG_TILEOFFSET 0x00000100 +#define LVBKIF_TYPE_WATERMARK 0x10000000 +#define LVBKIF_FLAG_ALPHABLEND 0x20000000 + +#define ListView_SetBkImage(hwnd, plvbki) \ + (BOOL)SNDMSG((hwnd), LVM_SETBKIMAGE, 0, (LPARAM)plvbki) + +#define ListView_GetBkImage(hwnd, plvbki) \ + (BOOL)SNDMSG((hwnd), LVM_GETBKIMAGE, 0, (LPARAM)plvbki) + +typedef struct tagLVCOLUMNA +{ + UINT mask; + INT fmt; + INT cx; + LPSTR pszText; + INT cchTextMax; + INT iSubItem; + /* (_WIN32_IE >= 0x0300) */ + INT iImage; + INT iOrder; + /* (_WIN32_WINNT >= 0x0600) */ + INT cxMin; + INT cxDefault; + INT cxIdeal; +} LVCOLUMNA, *LPLVCOLUMNA; + +typedef struct tagLVCOLUMNW +{ + UINT mask; + INT fmt; + INT cx; + LPWSTR pszText; + INT cchTextMax; + INT iSubItem; + /* (_WIN32_IE >= 0x0300) */ + INT iImage; + INT iOrder; + /* (_WIN32_WINNT >= 0x0600) */ + INT cxMin; + INT cxDefault; + INT cxIdeal; +} LVCOLUMNW, *LPLVCOLUMNW; + +#define LVCOLUMN WINELIB_NAME_AW(LVCOLUMN) +#define LPLVCOLUMN WINELIB_NAME_AW(LPLVCOLUMN) + +#define LVCOLUMN_V1_SIZEA CCSIZEOF_STRUCT(LVCOLUMNA, iSubItem) +#define LVCOLUMN_V1_SIZEW CCSIZEOF_STRUCT(LVCOLUMNW, iSubItem) +#define LVCOLUMN_V1_SIZE WINELIB_NAME_AW(LVCOLUMN_V1_SIZE) + +#define LV_COLUMN LVCOLUMN + + +typedef struct tagNMLISTVIEW +{ + NMHDR hdr; + INT iItem; + INT iSubItem; + UINT uNewState; + UINT uOldState; + UINT uChanged; + POINT ptAction; + LPARAM lParam; +} NMLISTVIEW, *LPNMLISTVIEW; + +#define NM_LISTVIEW NMLISTVIEW +#define LPNM_LISTVIEW LPNMLISTVIEW + +typedef struct tagNMITEMACTIVATE +{ + NMHDR hdr; + int iItem; + int iSubItem; + UINT uNewState; + UINT uOldState; + UINT uChanged; + POINT ptAction; + LPARAM lParam; + UINT uKeyFlags; +} NMITEMACTIVATE, *LPNMITEMACTIVATE; + +#define LVKF_ALT 0x0001 +#define LVKF_CONTROL 0x0002 +#define LVKF_SHIFT 0x0004 + +typedef struct tagLVDISPINFO +{ + NMHDR hdr; + LVITEMA item; +} NMLVDISPINFOA, *LPNMLVDISPINFOA; + +typedef struct tagLVDISPINFOW +{ + NMHDR hdr; + LVITEMW item; +} NMLVDISPINFOW, *LPNMLVDISPINFOW; + +#define NMLVDISPINFO WINELIB_NAME_AW(NMLVDISPINFO) +#define LPNMLVDISPINFO WINELIB_NAME_AW(LPNMLVDISPINFO) + +#define LV_DISPINFO NMLVDISPINFO +#define LV_DISPINFOA NMLVDISPINFOA +#define LV_DISPINFOW NMLVDISPINFOW + +#include +typedef struct tagLVKEYDOWN +{ + NMHDR hdr; + WORD wVKey; + UINT flags; +} NMLVKEYDOWN, *LPNMLVKEYDOWN; +#include + +#define LV_KEYDOWN NMLVKEYDOWN + +typedef struct tagNMLVGETINFOTIPA +{ + NMHDR hdr; + DWORD dwFlags; + LPSTR pszText; + int cchTextMax; + int iItem; + int iSubItem; + LPARAM lParam; +} NMLVGETINFOTIPA, *LPNMLVGETINFOTIPA; + +typedef struct tagNMLVGETINFOTIPW +{ + NMHDR hdr; + DWORD dwFlags; + LPWSTR pszText; + int cchTextMax; + int iItem; + int iSubItem; + LPARAM lParam; +} NMLVGETINFOTIPW, *LPNMLVGETINFOTIPW; + +#define NMLVGETINFOTIP WINELIB_NAME_AW(NMLVGETINFOTIP) +#define LPNMLVGETINFOTIP WINELIB_NAME_AW(LPNMLVGETINFOTIP) + +typedef struct tagLVHITTESTINFO +{ + POINT pt; + UINT flags; + INT iItem; + INT iSubItem; + /* (_WIN32_WINNT >= 0x0600) */ + INT iGroup; +} LVHITTESTINFO, *LPLVHITTESTINFO; + +#define LV_HITTESTINFO LVHITTESTINFO +#define _LV_HITTESTINFO tagLVHITTESTINFO +#define LVHITTESTINFO_V1_SIZE CCSIZEOF_STRUCT(LVHITTESTINFO,iItem) + +typedef struct tagLVFINDINFOA +{ + UINT flags; + LPCSTR psz; + LPARAM lParam; + POINT pt; + UINT vkDirection; +} LVFINDINFOA, *LPLVFINDINFOA; + +typedef struct tagLVFINDINFOW +{ + UINT flags; + LPCWSTR psz; + LPARAM lParam; + POINT pt; + UINT vkDirection; +} LVFINDINFOW, *LPLVFINDINFOW; + +#define LVFINDINFO WINELIB_NAME_AW(LVFINDINFO) +#define LPLVFINDINFO WINELIB_NAME_AW(LPLVFINDINFO) + +#define LV_FINDINFO LVFINDINFO +#define LV_FINDINFOA LVFINDINFOA +#define LV_FINDINFOW LVFINDINFOW + +/* Groups relates structures */ + +typedef struct LVGROUP +{ + UINT cbSize; + UINT mask; + LPWSTR pszHeader; + INT cchHeader; + LPWSTR pszFooter; + INT cchFooter; + INT iGroupId; + UINT stateMask; + UINT state; + UINT uAlign; + /* (_WIN32_WINNT >= 0x0600) */ + LPWSTR pszSubtitle; + UINT cchSubtitle; + LPWSTR pszTask; + UINT cchTask; + LPWSTR pszDescriptionTop; + UINT cchDescriptionTop; + LPWSTR pszDescriptionBottom; + UINT cchDescriptionBottom; + INT iTitleImage; + INT iExtendedImage; + INT iFirstItem; + UINT cItems; + LPWSTR pszSubsetTitle; + UINT cchSubsetTitle; +} LVGROUP, *PLVGROUP; + +#define LVGROUP_V5_SIZE CCSIZEOF_STRUCT(LVGROUP, uAlign) + +typedef struct LVGROUPMETRICS +{ + UINT cbSize; + UINT mask; + UINT Left; + UINT Top; + UINT Right; + UINT Bottom; + COLORREF crLeft; + COLORREF crTop; + COLORREF crRight; + COLORREF crBottom; + COLORREF crRightHeader; + COLORREF crFooter; +} LVGROUPMETRICS, *PLVGROUPMETRICS; + +typedef INT (*PFNLVGROUPCOMPARE)(INT, INT, VOID*); + +typedef struct LVINSERTGROUPSORTED +{ + PFNLVGROUPCOMPARE pfnGroupCompare; + LPVOID *pvData; + LVGROUP lvGroup; +} LVINSERTGROUPSORTED, *PLVINSERTGROUPSORTED; + +/* Tile related structures */ + +typedef struct LVTILEINFO +{ + UINT cbSize; + int iItem; + UINT cColumns; + PUINT puColumns; + /* (_WIN32_WINNT >= 0x0600) */ + int* piColFmt; +} LVTILEINFO, *PLVTILEINFO; + +typedef struct LVTILEVIEWINFO +{ + UINT cbSize; + DWORD dwMask; + DWORD dwFlags; + SIZE sizeTile; + int cLines; + RECT rcLabelMargin; +} LVTILEVIEWINFO, *PLVTILEVIEWINFO; + +typedef struct LVINSERTMARK +{ + UINT cbSize; + DWORD dwFlags; + int iItem; + DWORD dwReserved; +} LVINSERTMARK, *PLVINSERTMARK; + +typedef struct tagTCHITTESTINFO +{ + POINT pt; + UINT flags; +} TCHITTESTINFO, *LPTCHITTESTINFO; + +#define TC_HITTESTINFO TCHITTESTINFO + +typedef INT (CALLBACK *PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM); + +#define NMLVCUSTOMDRAW_V3_SIZE CCSIZEOF_STRUCT(NMLCUSTOMDRW, clrTextBk) + +typedef struct tagNMLVCUSTOMDRAW +{ + NMCUSTOMDRAW nmcd; + COLORREF clrText; + COLORREF clrTextBk; + int iSubItem; /* (_WIN32_IE >= 0x0400) */ + DWORD dwItemType; /* (_WIN32_IE >= 0x560) */ + COLORREF clrFace; /* (_WIN32_IE >= 0x560) */ + int iIconEffect; /* (_WIN32_IE >= 0x560) */ + int iIconPhase; /* (_WIN32_IE >= 0x560) */ + int iPartId; /* (_WIN32_IE >= 0x560) */ + int iStateId; /* (_WIN32_IE >= 0x560) */ + RECT rcText; /* (_WIN32_IE >= 0x560) */ + UINT uAlign; /* (_WIN32_IE >= 0x560) */ +} NMLVCUSTOMDRAW, *LPNMLVCUSTOMDRAW; + +typedef struct tagNMLVCACHEHINT +{ + NMHDR hdr; + INT iFrom; + INT iTo; +} NMLVCACHEHINT, *LPNMLVCACHEHINT; + +#define LPNM_CACHEHINT LPNMLVCACHEHINT +#define PNM_CACHEHINT LPNMLVCACHEHINT +#define NM_CACHEHINT NMLVCACHEHINT + +typedef struct tagNMLVFINDITEMA +{ + NMHDR hdr; + int iStart; + LVFINDINFOA lvfi; +} NMLVFINDITEMA, *LPNMLVFINDITEMA; + +typedef struct tagNMLVFINDITEMW +{ + NMHDR hdr; + int iStart; + LVFINDINFOW lvfi; +} NMLVFINDITEMW, *LPNMLVFINDITEMW; + +#define NMLVFINDITEM WINELIB_NAME_AW(NMLVFINDITEM) +#define LPNMLVFINDITEM WINELIB_NAME_AW(LPNMLVFINDITEM) +#define NM_FINDITEM NMLVFINDITEM +#define LPNM_FINDITEM LPNMLVFINDITEM +#define PNM_FINDITEM LPNMLVFINDITEM + +typedef struct tagNMLVODSTATECHANGE +{ + NMHDR hdr; + int iFrom; + int iTo; + UINT uNewState; + UINT uOldState; +} NMLVODSTATECHANGE, *LPNMLVODSTATECHANGE; + +#define PNM_ODSTATECHANGE LPNMLVODSTATECHANGE +#define LPNM_ODSTATECHANGE LPNMLVODSTATECHANGE +#define NM_ODSTATECHANGE NMLVODSTATECHANGE + +typedef struct NMLVSCROLL +{ + NMHDR hdr; + int dx; + int dy; +} NMLVSCROLL, *LPNMLVSCROLL; + +#define ListView_SetItemCount(hwnd,count) \ + (BOOL)SNDMSG((hwnd),LVM_SETITEMCOUNT,(WPARAM)(INT)(count),0) +#define ListView_SetTextBkColor(hwnd,clrBk) \ + (BOOL)SNDMSG((hwnd),LVM_SETTEXTBKCOLOR,0,(LPARAM)(COLORREF)(clrBk)) +#define ListView_SetTextColor(hwnd,clrBk) \ + (BOOL)SNDMSG((hwnd),LVM_SETTEXTCOLOR,0,(LPARAM)(COLORREF)(clrBk)) +#define ListView_DeleteColumn(hwnd,col)\ + (LRESULT)SNDMSG((hwnd),LVM_DELETECOLUMN,0,(LPARAM)(INT)(col)) +#define ListView_GetColumnA(hwnd,x,col)\ + (LRESULT)SNDMSGA((hwnd),LVM_GETCOLUMNA,(WPARAM)(INT)(x),(LPARAM)(LPLVCOLUMNA)(col)) +#define ListView_GetColumnW(hwnd,x,col)\ + (LRESULT)SNDMSGW((hwnd),LVM_GETCOLUMNW,(WPARAM)(INT)(x),(LPARAM)(LPLVCOLUMNW)(col)) +#define ListView_GetColumn WINELIB_NAME_AW(ListView_GetColumn) +#define ListView_SetColumnA(hwnd,x,col)\ + (LRESULT)SNDMSGA((hwnd),LVM_SETCOLUMNA,(WPARAM)(INT)(x),(LPARAM)(LPLVCOLUMNA)(col)) +#define ListView_SetColumnW(hwnd,x,col)\ + (LRESULT)SNDMSGW((hwnd),LVM_SETCOLUMNW,(WPARAM)(INT)(x),(LPARAM)(LPLVCOLUMNW)(col)) +#define ListView_SetColumn WINELIB_NAME_AW(ListView_SetColumn) +#define ListView_GetColumnWidth(hwnd,x)\ + (INT)SNDMSG((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(INT)(x), 0) +#define ListView_SetColumnWidth(hwnd,x,width)\ + (BOOL)SNDMSG((hwnd),LVM_SETCOLUMNWIDTH,(WPARAM)(INT)(x),(LPARAM)(MAKELPARAM(width,0))) + + +#define ListView_GetNextItem(hwnd,nItem,flags) \ + (INT)SNDMSG((hwnd),LVM_GETNEXTITEM,(WPARAM)(INT)(nItem),(LPARAM)(MAKELPARAM(flags,0))) +#define ListView_FindItemA(hwnd,nItem,plvfi) \ + (INT)SNDMSGA((hwnd),LVM_FINDITEMA,(WPARAM)(INT)(nItem),(LPARAM)(LVFINDINFOA*)(plvfi)) +#define ListView_FindItemW(hwnd,nItem,plvfi) \ + (INT)SNDMSGW((hwnd),LVM_FINDITEMW,(WPARAM)(INT)(nItem),(LPARAM)(LVFINDINFOW*)(plvfi)) +#define ListView_FindItem WINELIB_NAME_AW(ListView_FindItem) + +#define ListView_Arrange(hwnd,code) \ + (INT)SNDMSG((hwnd), LVM_ARRANGE, (WPARAM)(INT)(code), 0) +#define ListView_GetItemPosition(hwnd,i,ppt) \ + (INT)SNDMSG((hwnd),LVM_GETITEMPOSITION,(WPARAM)(INT)(i),(LPARAM)(LPPOINT)(ppt)) +#define ListView_GetItemRect(hwnd,i,prc,code) \ + (BOOL)SNDMSG((hwnd), LVM_GETITEMRECT, (WPARAM)(int)(i), \ + ((prc) ? (((RECT*)(prc))->left = (code),(LPARAM)(RECT \ + *)(prc)) : (LPARAM)(RECT*)NULL)) +#define ListView_SetItemA(hwnd,pitem) \ + (INT)SNDMSGA((hwnd),LVM_SETITEMA,0,(LPARAM)(const LVITEMA *)(pitem)) +#define ListView_SetItemW(hwnd,pitem) \ + (INT)SNDMSGW((hwnd),LVM_SETITEMW,0,(LPARAM)(const LVITEMW *)(pitem)) +#define ListView_SetItem WINELIB_NAME_AW(ListView_SetItem) +#define ListView_SetItemState(hwnd,i,data,dataMask) \ +{ LVITEM _LVi; _LVi.state = data; _LVi.stateMask = dataMask;\ + SNDMSG(hwnd, LVM_SETITEMSTATE, (WPARAM)(UINT)i, (LPARAM) (LPLVITEM)&_LVi);} +#define ListView_GetItemState(hwnd,i,mask) \ + (UINT)SNDMSG((hwnd),LVM_GETITEMSTATE,(WPARAM)(UINT)(i),(LPARAM)(UINT)(mask)) +#define ListView_SetCheckState(hwndLV, i, bCheck) \ + { LVITEM _LVi; _LVi.state = INDEXTOSTATEIMAGEMASK((bCheck)?2:1); _LVi.stateMask = LVIS_STATEIMAGEMASK; \ + SNDMSG(hwndLV, LVM_SETITEMSTATE, (WPARAM)(UINT)(i), (LPARAM)(LPLVITEM)&_LVi);} +#define ListView_GetCheckState(hwndLV, i) \ + (((UINT)SNDMSG((hwndLV), LVM_GETITEMSTATE, (i), LVIS_STATEIMAGEMASK) >> 12) - 1) +#define ListView_GetCountPerPage(hwnd) \ + (BOOL)SNDMSG((hwnd), LVM_GETCOUNTPERPAGE, 0, 0) +#define ListView_GetImageList(hwnd,iImageList) \ + (HIMAGELIST)SNDMSG((hwnd), LVM_GETIMAGELIST, (WPARAM)(INT)(iImageList), 0) +#define ListView_GetStringWidthA(hwnd,pstr) \ + (INT)SNDMSGA((hwnd),LVM_GETSTRINGWIDTHA,0,(LPARAM)(LPCSTR)(pstr)) +#define ListView_GetStringWidthW(hwnd,pstr) \ + (INT)SNDMSGW((hwnd),LVM_GETSTRINGWIDTHW,0,(LPARAM)(LPCWSTR)(pstr)) +#define ListView_GetStringWidth WINELIB_NAME_AW(ListView_GetStringWidth) +#define ListView_GetTopIndex(hwnd) \ + (BOOL)SNDMSG((hwnd), LVM_GETTOPINDEX, 0, 0) +#define ListView_Scroll(hwnd,dx,dy) \ + (BOOL)SNDMSG((hwnd),LVM_SCROLL,(WPARAM)(INT)(dx),(LPARAM)(INT)(dy)) +#define ListView_EnsureVisible(hwnd,i,fPartialOk) \ + (BOOL)SNDMSG((hwnd),LVM_ENSUREVISIBLE,(WPARAM)(INT)i,(LPARAM)(BOOL)fPartialOk) +#define ListView_SetBkColor(hwnd,clrBk) \ + (BOOL)SNDMSG((hwnd),LVM_SETBKCOLOR,0,(LPARAM)(COLORREF)(clrBk)) +#define ListView_SetImageList(hwnd,himl,iImageList) \ + (HIMAGELIST)SNDMSG((hwnd),LVM_SETIMAGELIST,(WPARAM)(iImageList),(LPARAM)(HIMAGELIST)(himl)) +#define ListView_GetItemCount(hwnd) \ + (INT)SNDMSG((hwnd), LVM_GETITEMCOUNT, 0, 0) +#define ListView_RedrawItems(hwnd,first,last) \ + (BOOL)SNDMSG((hwnd),LVM_REDRAWITEMS,(WPARAM)(INT)(first),(LPARAM)(INT)(last)) +#define ListView_GetEditControl(hwnd) \ + (HWND)SNDMSG((hwnd), LVM_GETEDITCONTROL, 0, 0) +#define ListView_GetTextColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), LVM_GETTEXTCOLOR, 0, 0) +#define ListView_GetTextBkColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), LVM_GETTEXTBKCOLOR, 0, 0) +#define ListView_GetBkColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), LVM_GETBKCOLOR, 0, 0) +#define ListView_GetItemA(hwnd,pitem) \ + (BOOL)SNDMSGA((hwnd),LVM_GETITEMA,0,(LPARAM)(LVITEMA *)(pitem)) +#define ListView_GetItemW(hwnd,pitem) \ + (BOOL)SNDMSGW((hwnd),LVM_GETITEMW,0,(LPARAM)(LVITEMW *)(pitem)) +#define ListView_GetItem WINELIB_NAME_AW(ListView_GetItem) +#define ListView_GetOrigin(hwnd,ppt) \ + (BOOL)SNDMSG((hwnd),LVM_GETORIGIN,0,(LPARAM)(POINT *)(ppt)) + +#define ListView_HitTest(hwnd,pinfo) \ + (INT)SNDMSG((hwnd),LVM_HITTEST,0,(LPARAM)(LPLVHITTESTINFO)(pinfo)) + +#define ListView_InsertItemA(hwnd,pitem) \ + (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem)) +#define ListView_InsertItemW(hwnd,pitem) \ + (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem)) +#define ListView_InsertItem WINELIB_NAME_AW(ListView_InsertItem) + +#define ListView_DeleteAllItems(hwnd) \ + (BOOL)SNDMSG((hwnd), LVM_DELETEALLITEMS, 0, 0) + +#define ListView_InsertColumnA(hwnd,iCol,pcol) \ + (INT)SNDMSGA((hwnd),LVM_INSERTCOLUMNA,(WPARAM)(INT)(iCol),(LPARAM)(const LVCOLUMNA *)(pcol)) +#define ListView_InsertColumnW(hwnd,iCol,pcol) \ + (INT)SNDMSGW((hwnd),LVM_INSERTCOLUMNW,(WPARAM)(INT)(iCol),(LPARAM)(const LVCOLUMNW *)(pcol)) +#define ListView_InsertColumn WINELIB_NAME_AW(ListView_InsertColumn) + +#define ListView_SortItems(hwndLV,_pfnCompare,_lPrm) \ + (BOOL)SNDMSG((hwndLV),LVM_SORTITEMS,(WPARAM)(LPARAM)_lPrm,(LPARAM)(PFNLVCOMPARE)_pfnCompare) +#define ListView_SortItemsEx(hwndLV, _pfnCompare, _lPrm) \ + (BOOL)SNDMSG((hwndLV), LVM_SORTITEMSEX, (WPARAM)(LPARAM)(_lPrm), (LPARAM)(PFNLVCOMPARE)(_pfnCompare)) + +#define ListView_SetItemPosition(hwndLV, i, x, y) \ + (BOOL)SNDMSG((hwndLV),LVM_SETITEMPOSITION,(WPARAM)(INT)(i),MAKELPARAM((x),(y))) +#define ListView_GetSelectedCount(hwndLV) \ + (UINT)SNDMSG((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0) + +#define ListView_EditLabelA(hwndLV, i) \ + (HWND)SNDMSG((hwndLV), LVM_EDITLABELA, (WPARAM)(int)(i), 0) +#define ListView_EditLabelW(hwndLV, i) \ + (HWND)SNDMSG((hwndLV), LVM_EDITLABELW, (WPARAM)(int)(i), 0) +#define ListView_EditLabel WINELIB_NAME_AW(ListView_EditLabel) + +#define ListView_GetItemTextA(hwndLV, i, _iSubItem, _pszText, _cchTextMax) \ +{ \ + LVITEMA _LVi;\ + _LVi.iSubItem = _iSubItem;\ + _LVi.cchTextMax = _cchTextMax;\ + _LVi.pszText = _pszText;\ + SNDMSGA(hwndLV, LVM_GETITEMTEXTA, (WPARAM)(i), (LPARAM)&_LVi);\ +} +#define ListView_GetItemTextW(hwndLV, i, _iSubItem, _pszText, _cchTextMax) \ +{ \ + LVITEMW _LVi;\ + _LVi.iSubItem = _iSubItem;\ + _LVi.cchTextMax = _cchTextMax;\ + _LVi.pszText = _pszText;\ + SNDMSGW(hwndLV, LVM_GETITEMTEXTW, (WPARAM)(i), (LPARAM)&_LVi);\ +} +#define ListView_GetItemText WINELIB_NAME_AW(ListView_GetItemText) +#define ListView_SetItemPosition32(hwnd,n,x1,y1) \ +{ POINT ptNewPos; ptNewPos.x = (x1); ptNewPos.y = (y1); SNDMSG((hwnd), LVM_SETITEMPOSITION32, (WPARAM)(int)(n), (LPARAM)&ptNewPos); } +#define ListView_SetItemTextA(hwndLV, i, _iSubItem, _pszText) \ +{ LVITEMA _LVi; _LVi.iSubItem = _iSubItem; _LVi.pszText = _pszText;\ + SNDMSGA(hwndLV, LVM_SETITEMTEXTA, (WPARAM)i, (LPARAM) (LVITEMA*)&_LVi);} +#define ListView_SetItemTextW(hwndLV, i, _iSubItem, _pszText) \ +{ LVITEMW _LVi; _LVi.iSubItem = _iSubItem; _LVi.pszText = _pszText;\ + SNDMSGW(hwndLV, LVM_SETITEMTEXTW, (WPARAM)i, (LPARAM) (LVITEMW*)& _LVi);} +#define ListView_SetItemText WINELIB_NAME_AW(ListView_SetItemText) + +#define ListView_DeleteItem(hwndLV, i) \ + (BOOL)SNDMSG(hwndLV, LVM_DELETEITEM, (WPARAM)(int)(i), 0) +#define ListView_Update(hwndLV, i) \ + (BOOL)SNDMSG((hwndLV), LVM_UPDATE, (WPARAM)(i), 0) +#define ListView_GetColumnOrderArray(hwndLV, iCount, pi) \ + (BOOL)SNDMSG((hwndLV), LVM_GETCOLUMNORDERARRAY, (WPARAM)iCount, (LPARAM)(LPINT)pi) +#define ListView_GetExtendedListViewStyle(hwndLV) \ + (DWORD)SNDMSG((hwndLV), LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0) +#define ListView_GetHotCursor(hwndLV) \ + (HCURSOR)SNDMSG((hwndLV), LVM_GETHOTCURSOR, 0, 0) +#define ListView_GetHotItem(hwndLV) \ + (int)SNDMSG((hwndLV), LVM_GETHOTITEM, 0, 0) +#define ListView_GetItemSpacing(hwndLV, fSmall) \ + (DWORD)SNDMSG((hwndLV), LVM_GETITEMSPACING, (WPARAM)fSmall, 0) +#define ListView_GetSubItemRect(hwndLV, iItem, iSubItem, code, prc) \ + (BOOL)SNDMSG((hwndLV), LVM_GETSUBITEMRECT, (WPARAM)(int)(iItem), \ + ((prc) ? ((((LPRECT)(prc))->top = iSubItem), (((LPRECT)(prc))->left = code), (LPARAM)(prc)) : 0)) +#define ListView_GetToolTips(hwndLV) \ + (HWND)SNDMSG((hwndLV), LVM_GETTOOLTIPS, 0, 0) +#define ListView_SetColumnOrderArray(hwndLV, iCount, pi) \ + (BOOL)SNDMSG((hwndLV), LVM_SETCOLUMNORDERARRAY, (WPARAM)iCount, (LPARAM)(LPINT)pi) +#define ListView_SetExtendedListViewStyle(hwndLV, dw) \ + (DWORD)SNDMSG((hwndLV), LVM_SETEXTENDEDLISTVIEWSTYLE, 0, (LPARAM)dw) +#define ListView_SetExtendedListViewStyleEx(hwndLV, dwMask, dw) \ + (DWORD)SNDMSG((hwndLV), LVM_SETEXTENDEDLISTVIEWSTYLE, (WPARAM)dwMask, (LPARAM)dw) +#define ListView_SetHotCursor(hwndLV, hcur) \ + (HCURSOR)SNDMSG((hwndLV), LVM_SETHOTCURSOR, 0, (LPARAM)hcur) +#define ListView_SetHotItem(hwndLV, i) \ + (int)SNDMSG((hwndLV), LVM_SETHOTITEM, (WPARAM)i, 0) +#define ListView_SetIconSpacing(hwndLV, cx, cy) \ + (DWORD)SNDMSG((hwndLV), LVM_SETICONSPACING, 0, MAKELONG(cx,cy)) +#define ListView_SetToolTips(hwndLV, hwndNewHwnd) \ + (HWND)SNDMSG((hwndLV), LVM_SETTOOLTIPS, (WPARAM)hwndNewHwnd, 0) +#define ListView_SubItemHitTest(hwndLV, plvhti) \ + (int)SNDMSG((hwndLV), LVM_SUBITEMHITTEST, 0, (LPARAM)(LPLVHITTESTINFO)(plvhti)) +#define ListView_GetSelectionMark(hwndLV) \ + (int)SNDMSG((hwndLV), LVM_GETSELECTIONMARK, 0, 0) +#define ListView_SetSelectionMark(hwndLV, iItem) \ + (int)SNDMSG((hwndLV), LVM_SETSELECTIONMARK, 0, (LPARAM)(iItem)) +#define ListView_GetViewRect(hwndLV, prc) \ + (BOOL)SNDMSG((hwndLV),LVM_GETVIEWRECT,0,(LPARAM)(LPRECT)(prc)) +#define ListView_GetHeader(hwndLV) \ + (HWND)SNDMSG((hwndLV), LVM_GETHEADER, 0, 0) +#define ListView_SetSelectedColumn(hwnd, iCol) \ + SNDMSG((hwnd), LVM_SETSELECTEDCOLUMN, (WPARAM)iCol, 0) +#define ListView_SetTileWidth(hwnd, cpWidth) \ + SNDMSG((hwnd), LVM_SETTILEWIDTH, (WPARAM)cpWidth, 0) +#define ListView_SetView(hwnd, iView) \ + (DWORD)SNDMSG((hwnd), LVM_SETVIEW, (WPARAM)(DWORD)iView, 0) +#define ListView_GetView(hwnd) \ + (DWORD)SNDMSG((hwnd), LVM_GETVIEW, 0, 0) +#define ListView_InsertGroup(hwnd, index, pgrp) \ + SNDMSG((hwnd), LVM_INSERTGROUP, (WPARAM)index, (LPARAM)pgrp) +#define ListView_SetGroupHeaderImageList(hwnd, himl) \ + SNDMSG((hwnd), LVM_SETIMAGELIST, (WPARAM)LVSIL_GROUPHEADER, (LPARAM)himl) +#define ListView_GetGroupHeaderImageList(hwnd) \ + SNDMSG((hwnd), LVM_GETIMAGELIST, (WPARAM)LVSIL_GROUPHEADER, 0) +#define ListView_SetGroupInfo(hwnd, iGroupId, pgrp) \ + SNDMSG((hwnd), LVM_SETGROUPINFO, (WPARAM)iGroupId, (LPARAM)pgrp) +#define ListView_GetGroupInfo(hwnd, iGroupId, pgrp) \ + SNDMSG((hwnd), LVM_GETGROUPINFO, (WPARAM)iGroupId, (LPARAM)pgrp) +#define ListView_RemoveGroup(hwnd, iGroupId) \ + SNDMSG((hwnd), LVM_REMOVEGROUP, (WPARAM)iGroupId, 0) +#define ListView_MoveGroup(hwnd, iGroupId, toIndex) \ + SNDMSG((hwnd), LVM_MOVEGROUP, (WPARAM)iGroupId, (LPARAM)toIndex) +#define ListView_MoveItemToGroup(hwnd, idItemFrom, idGroupTo) \ + SNDMSG((hwnd), LVM_MOVEITEMTOGROUP, (WPARAM)idItemFrom, (LPARAM)idGroupTo) +#define ListView_SetGroupMetrics(hwnd, pGroupMetrics) \ + SNDMSG((hwnd), LVM_SETGROUPMETRICS, 0, (LPARAM)pGroupMetrics) +#define ListView_GetGroupMetrics(hwnd, pGroupMetrics) \ + SNDMSG((hwnd), LVM_GETGROUPMETRICS, 0, (LPARAM)pGroupMetrics) +#define ListView_EnableGroupView(hwnd, fEnable) \ + SNDMSG((hwnd), LVM_ENABLEGROUPVIEW, (WPARAM)fEnable, 0) +#define ListView_SortGroups(hwnd, _pfnGroupCompate, _plv) \ + SNDMSG((hwnd), LVM_SORTGROUPS, (WPARAM)_pfnGroupCompate, (LPARAM)_plv) +#define ListView_InsertGroupSorted(hwnd, structInsert) \ + SNDMSG((hwnd), LVM_INSERTGROUPSORTED, (WPARAM)structInsert, 0) +#define ListView_RemoveAllGroups(hwnd) \ + SNDMSG((hwnd), LVM_REMOVEALLGROUPS, 0, 0) +#define ListView_HasGroup(hwnd, dwGroupId) \ + SNDMSG((hwnd), LVM_HASGROUP, dwGroupId, 0) +#define ListView_SetTileViewInfo(hwnd, ptvi) \ + SNDMSG((hwnd), LVM_SETTILEVIEWINFO, 0, (LPARAM)ptvi) +#define ListView_GetTileViewInfo(hwnd, ptvi) \ + SNDMSG((hwnd), LVM_GETTILEVIEWINFO, 0, (LPARAM)ptvi) +#define ListView_SetTileInfo(hwnd, pti) \ + SNDMSG((hwnd), LVM_SETTILEINFO, 0, (LPARAM)pti) +#define ListView_GetTileInfo(hwnd, pti) \ + SNDMSG((hwnd), LVM_GETTILEINFO, 0, (LPARAM)pti) +#define ListView_SetInsertMark(hwnd, lvim) \ + (BOOL)SNDMSG((hwnd), LVM_SETINSERTMARK, (WPARAM) 0, (LPARAM) (lvim)) +#define ListView_GetInsertMark(hwnd, lvim) \ + (BOOL)SNDMSG((hwnd), LVM_GETINSERTMARK, (WPARAM) 0, (LPARAM) (lvim)) +#define ListView_InsertMarkHitTest(hwnd, point, lvim) \ + (int)SNDMSG((hwnd), LVM_INSERTMARKHITTEST, (WPARAM)(LPPOINT)(point), (LPARAM)(LPLVINSERTMARK)(lvim)) +#define ListView_GetInsertMarkRect(hwnd, rc) \ + (int)SNDMSG((hwnd), LVM_GETINSERTMARKRECT, (WPARAM)0, (LPARAM)(LPRECT)(rc)) +#define ListView_SetInsertMarkColor(hwnd, color) \ + (COLORREF)SNDMSG((hwnd), LVM_SETINSERTMARKCOLOR, (WPARAM)0, (LPARAM)(COLORREF)(color)) +#define ListView_GetInsertMarkColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), LVM_GETINSERTMARKCOLOR, (WPARAM)0, (LPARAM)0) +#define ListView_SetInfoTip(hwndLV, plvInfoTip)\ + (BOOL)SNDMSG((hwndLV), LVM_SETINFOTIP, (WPARAM)0, (LPARAM)plvInfoTip) +#define ListView_GetSelectedColumn(hwnd) \ + (UINT)SNDMSG((hwnd), LVM_GETSELECTEDCOLUMN, 0, 0) +#define ListView_IsGroupViewEnabled(hwnd) \ + (BOOL)SNDMSG((hwnd), LVM_ISGROUPVIEWENABLED, 0, 0) +#define ListView_GetOutlineColor(hwnd) \ + (COLORREF)SNDMSG((hwnd), LVM_GETOUTLINECOLOR, 0, 0) +#define ListView_SetOutlineColor(hwnd, color) \ + (COLORREF)SNDMSG((hwnd), LVM_SETOUTLINECOLOR, (WPARAM)0, (LPARAM)(COLORREF)(color)) +#define ListView_CancelEditLabel(hwnd) \ + (VOID)SNDMSG((hwnd), LVM_CANCELEDITLABEL, (WPARAM)0, (LPARAM)0) +#define ListView_MapIndexToID(hwnd, index) \ + (UINT)SNDMSG((hwnd), LVM_MAPINDEXTOID, (WPARAM)index, (LPARAM)0) +#define ListView_MapIDToIndex(hwnd, id) \ + (UINT)SNDMSG((hwnd), LVM_MAPIDTOINDEX, (WPARAM)id, (LPARAM)0) +#define ListView_SetUnicodeFormat(hwnd, fUnicode) \ + (BOOL)SNDMSG((hwnd), LVM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0) +#define ListView_GetUnicodeFormat(hwnd) \ + (BOOL)SNDMSG((hwnd), LVM_GETUNICODEFORMAT, 0, 0) + +/* Tab Control */ + +#define WC_TABCONTROLA "SysTabControl32" +#if defined(__GNUC__) +# define WC_TABCONTROLW (const WCHAR []){ 'S','y','s', \ + 'T','a','b','C','o','n','t','r','o','l','3','2',0 } +#elif defined(_MSC_VER) +# define WC_TABCONTROLW L"SysTabControl32" +#else +static const WCHAR WC_TABCONTROLW[] = { 'S','y','s', + 'T','a','b','C','o','n','t','r','o','l','3','2',0 }; +#endif +#define WC_TABCONTROL WINELIB_NAME_AW(WC_TABCONTROL) + +/* tab control styles */ +#define TCS_EX_FLATSEPARATORS 0x00000001 /* to be used with */ +#define TCS_EX_REGISTERDROP 0x00000002 /* TCM_SETEXTENDEDSTYLE */ + + +#define TCM_FIRST 0x1300 + +#define TCM_GETIMAGELIST (TCM_FIRST + 2) +#define TCM_SETIMAGELIST (TCM_FIRST + 3) +#define TCM_GETITEMCOUNT (TCM_FIRST + 4) +#define TCM_GETITEM WINELIB_NAME_AW(TCM_GETITEM) +#define TCM_GETITEMA (TCM_FIRST + 5) +#define TCM_GETITEMW (TCM_FIRST + 60) +#define TCM_SETITEMA (TCM_FIRST + 6) +#define TCM_SETITEMW (TCM_FIRST + 61) +#define TCM_SETITEM WINELIB_NAME_AW(TCM_SETITEM) +#define TCM_INSERTITEMA (TCM_FIRST + 7) +#define TCM_INSERTITEMW (TCM_FIRST + 62) +#define TCM_INSERTITEM WINELIB_NAME_AW(TCM_INSERTITEM) +#define TCM_DELETEITEM (TCM_FIRST + 8) +#define TCM_DELETEALLITEMS (TCM_FIRST + 9) +#define TCM_GETITEMRECT (TCM_FIRST + 10) +#define TCM_GETCURSEL (TCM_FIRST + 11) +#define TCM_SETCURSEL (TCM_FIRST + 12) +#define TCM_HITTEST (TCM_FIRST + 13) +#define TCM_SETITEMEXTRA (TCM_FIRST + 14) +#define TCM_ADJUSTRECT (TCM_FIRST + 40) +#define TCM_SETITEMSIZE (TCM_FIRST + 41) +#define TCM_REMOVEIMAGE (TCM_FIRST + 42) +#define TCM_SETPADDING (TCM_FIRST + 43) +#define TCM_GETROWCOUNT (TCM_FIRST + 44) +#define TCM_GETTOOLTIPS (TCM_FIRST + 45) +#define TCM_SETTOOLTIPS (TCM_FIRST + 46) +#define TCM_GETCURFOCUS (TCM_FIRST + 47) +#define TCM_SETCURFOCUS (TCM_FIRST + 48) +#define TCM_SETMINTABWIDTH (TCM_FIRST + 49) +#define TCM_DESELECTALL (TCM_FIRST + 50) +#define TCM_HIGHLIGHTITEM (TCM_FIRST + 51) +#define TCM_SETEXTENDEDSTYLE (TCM_FIRST + 52) +#define TCM_GETEXTENDEDSTYLE (TCM_FIRST + 53) +#define TCM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define TCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT + + +#define TCIF_TEXT 0x0001 +#define TCIF_IMAGE 0x0002 +#define TCIF_RTLREADING 0x0004 +#define TCIF_PARAM 0x0008 +#define TCIF_STATE 0x0010 + +#define TCIS_BUTTONPRESSED 0x0001 +#define TCIS_HIGHLIGHTED 0x0002 + +/* TabCtrl Macros */ +#define TabCtrl_GetImageList(hwnd) \ + (HIMAGELIST)SNDMSG((hwnd), TCM_GETIMAGELIST, 0, 0) +#define TabCtrl_SetImageList(hwnd, himl) \ + (HIMAGELIST)SNDMSG((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl)) +#define TabCtrl_GetItemCount(hwnd) \ + (int)SNDMSG((hwnd), TCM_GETITEMCOUNT, 0, 0) +#define TabCtrl_GetItemA(hwnd, iItem, pitem) \ + (BOOL)SNDMSGA((hwnd), TCM_GETITEMA, (WPARAM)(int)iItem, (LPARAM)(TCITEMA *)(pitem)) +#define TabCtrl_GetItemW(hwnd, iItem, pitem) \ + (BOOL)SNDMSGW((hwnd), TCM_GETITEMW, (WPARAM)(int)iItem, (LPARAM)(TCITEMW *)(pitem)) +#define TabCtrl_GetItem WINELIB_NAME_AW(TabCtrl_GetItem) +#define TabCtrl_SetItemA(hwnd, iItem, pitem) \ + (BOOL)SNDMSGA((hwnd), TCM_SETITEMA, (WPARAM)(int)iItem, (LPARAM)(TCITEMA *)(pitem)) +#define TabCtrl_SetItemW(hwnd, iItem, pitem) \ + (BOOL)SNDMSGW((hwnd), TCM_SETITEMW, (WPARAM)(int)iItem, (LPARAM)(TCITEMW *)(pitem)) +#define TabCtrl_SetItem WINELIB_NAME_AW(TabCtrl_SetItem) +#define TabCtrl_InsertItemA(hwnd, iItem, pitem) \ + (int)SNDMSGA((hwnd), TCM_INSERTITEMA, (WPARAM)(int)iItem, (LPARAM)(const TCITEMA *)(pitem)) +#define TabCtrl_InsertItemW(hwnd, iItem, pitem) \ + (int)SNDMSGW((hwnd), TCM_INSERTITEMW, (WPARAM)(int)iItem, (LPARAM)(const TCITEMW *)(pitem)) +#define TabCtrl_InsertItem WINELIB_NAME_AW(TabCtrl_InsertItem) +#define TabCtrl_DeleteItem(hwnd, i) \ + (BOOL)SNDMSG((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0) +#define TabCtrl_DeleteAllItems(hwnd) \ + (BOOL)SNDMSG((hwnd), TCM_DELETEALLITEMS, 0, 0) +#define TabCtrl_GetItemRect(hwnd, i, prc) \ + (BOOL)SNDMSG((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc)) +#define TabCtrl_GetCurSel(hwnd) \ + (int)SNDMSG((hwnd), TCM_GETCURSEL, 0, 0) +#define TabCtrl_SetCurSel(hwnd, i) \ + (int)SNDMSG((hwnd), TCM_SETCURSEL, (WPARAM)i, 0) +#define TabCtrl_HitTest(hwndTC, pinfo) \ + (int)SNDMSG((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo)) +#define TabCtrl_SetItemExtra(hwndTC, cb) \ + (BOOL)SNDMSG((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0) +#define TabCtrl_AdjustRect(hwnd, bLarger, prc) \ + (int)SNDMSG(hwnd, TCM_ADJUSTRECT, (WPARAM)(BOOL)bLarger, (LPARAM)(RECT *)prc) +#define TabCtrl_SetItemSize(hwnd, x, y) \ + (DWORD)SNDMSG((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y)) +#define TabCtrl_RemoveImage(hwnd, i) \ + (void)SNDMSG((hwnd), TCM_REMOVEIMAGE, i, 0) +#define TabCtrl_SetPadding(hwnd, cx, cy) \ + (void)SNDMSG((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy)) +#define TabCtrl_GetRowCount(hwnd) \ + (int)SNDMSG((hwnd), TCM_GETROWCOUNT, 0, 0) +#define TabCtrl_GetToolTips(hwnd) \ + (HWND)SNDMSG((hwnd), TCM_GETTOOLTIPS, 0, 0) +#define TabCtrl_SetToolTips(hwnd, hwndTT) \ + (void)SNDMSG((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0) +#define TabCtrl_GetCurFocus(hwnd) \ + (int)SNDMSG((hwnd), TCM_GETCURFOCUS, 0, 0) +#define TabCtrl_SetCurFocus(hwnd, i) \ + SNDMSG((hwnd),TCM_SETCURFOCUS, i, 0) +#define TabCtrl_SetMinTabWidth(hwnd, x) \ + (int)SNDMSG((hwnd), TCM_SETMINTABWIDTH, 0, x) +#define TabCtrl_DeselectAll(hwnd, fExcludeFocus)\ + (void)SNDMSG((hwnd), TCM_DESELECTALL, fExcludeFocus, 0) +#define TabCtrl_GetUnicodeFormat(hwnd) \ + (BOOL)SNDMSG((hwnd), TCM_GETUNICODEFORMAT, 0, 0) +#define TabCtrl_SetUnicodeFormat(hwnd, fUnicode) \ + (BOOL)SNDMSG((hwnd), TCM_SETUNICODEFORMAT, (WPARAM)fUnicode, 0) +#define TabCtrl_GetExtendedStyle(hwnd) \ + (BOOL)SNDMSG((hwnd), TCM_GETEXTENDEDSTYLE, 0, 0) +#define TabCtrl_SetExtendedStyle(hwnd, dwExStyle) \ + (BOOL)SNDMSG((hwnd), TCM_GETEXTENDEDSTYLE, 0, (LPARAM)dwExStyle) +#define TabCtrl_HighlightItem(hwnd, i, fHighlight) \ + (BOOL)SNDMSG((hwnd), TCM_HIGHLIGHTITEM, (WPARAM)i, (LPARAM)MAKELONG(fHighlight, 0)) + +/* constants for TCHITTESTINFO */ + +#define TCHT_NOWHERE 0x01 +#define TCHT_ONITEMICON 0x02 +#define TCHT_ONITEMLABEL 0x04 +#define TCHT_ONITEM (TCHT_ONITEMICON | TCHT_ONITEMLABEL) + +typedef struct tagTCITEMHEADERA +{ + UINT mask; + UINT lpReserved1; + UINT lpReserved2; + LPSTR pszText; + int cchTextMax; + int iImage; +} TCITEMHEADERA, *LPTCITEMHEADERA; + +typedef struct tagTCITEMHEADERW +{ + UINT mask; + UINT lpReserved1; + UINT lpReserved2; + LPWSTR pszText; + int cchTextMax; + int iImage; +} TCITEMHEADERW, *LPTCITEMHEADERW; + +#define TCITEMHEADER WINELIB_NAME_AW(TCITEMHEADER) +#define LPTCITEMHEADER WINELIB_NAME_AW(LPTCITEMHEADER) +#define TC_ITEMHEADER WINELIB_NAME_AW(TCITEMHEADER) +#define LPTC_ITEMHEADER WINELIB_NAME_AW(LPTCITEMHEADER) + +typedef struct tagTCITEMA +{ + UINT mask; + UINT dwState; + UINT dwStateMask; + LPSTR pszText; + INT cchTextMax; + INT iImage; + LPARAM lParam; +} TCITEMA, *LPTCITEMA; + +typedef struct tagTCITEMW +{ + UINT mask; + DWORD dwState; + DWORD dwStateMask; + LPWSTR pszText; + INT cchTextMax; + INT iImage; + LPARAM lParam; +} TCITEMW, *LPTCITEMW; + +#define TCITEM WINELIB_NAME_AW(TCITEM) +#define LPTCITEM WINELIB_NAME_AW(LPTCITEM) +#define TC_ITEM WINELIB_NAME_AW(TCITEM) +#define LPTC_ITEM WINELIB_NAME_AW(LPTCITEM) + +#define TCN_FIRST (0U-550U) +#define TCN_LAST (0U-580U) +#define TCN_KEYDOWN (TCN_FIRST - 0) +#define TCN_SELCHANGE (TCN_FIRST - 1) +#define TCN_SELCHANGING (TCN_FIRST - 2) +#define TCN_GETOBJECT (TCN_FIRST - 3) +#define TCN_FOCUSCHANGE (TCN_FIRST - 4) + +#include +typedef struct tagTCKEYDOWN +{ + NMHDR hdr; + WORD wVKey; + UINT flags; +} NMTCKEYDOWN; +#include + +#define TC_KEYDOWN NMTCKEYDOWN + +/* ComboBoxEx control */ + +#define WC_COMBOBOXEXA "ComboBoxEx32" +#if defined(__GNUC__) +# define WC_COMBOBOXEXW (const WCHAR []){ 'C','o','m','b','o', \ + 'B','o','x','E','x','3','2',0 } +#elif defined(_MSC_VER) +# define WC_COMBOBOXEXW L"ComboBoxEx32" +#else +static const WCHAR WC_COMBOBOXEXW[] = { 'C','o','m','b','o', + 'B','o','x','E','x','3','2',0 }; +#endif +#define WC_COMBOBOXEX WINELIB_NAME_AW(WC_COMBOBOXEX) + +#define CBEIF_TEXT 0x00000001 +#define CBEIF_IMAGE 0x00000002 +#define CBEIF_SELECTEDIMAGE 0x00000004 +#define CBEIF_OVERLAY 0x00000008 +#define CBEIF_INDENT 0x00000010 +#define CBEIF_LPARAM 0x00000020 +#define CBEIF_DI_SETITEM 0x10000000 + +#define CBEM_INSERTITEMA (WM_USER+1) +#define CBEM_INSERTITEMW (WM_USER+11) +#define CBEM_INSERTITEM WINELIB_NAME_AW(CBEM_INSERTITEM) +#define CBEM_SETIMAGELIST (WM_USER+2) +#define CBEM_GETIMAGELIST (WM_USER+3) +#define CBEM_GETITEMA (WM_USER+4) +#define CBEM_GETITEMW (WM_USER+13) +#define CBEM_GETITEM WINELIB_NAME_AW(CBEM_GETITEM) +#define CBEM_SETITEMA (WM_USER+5) +#define CBEM_SETITEMW (WM_USER+12) +#define CBEM_SETITEM WINELIB_NAME_AW(CBEM_SETITEM) +#define CBEM_DELETEITEM CB_DELETESTRING +#define CBEM_GETCOMBOCONTROL (WM_USER+6) +#define CBEM_GETEDITCONTROL (WM_USER+7) +#define CBEM_SETEXSTYLE (WM_USER+8) +#define CBEM_GETEXSTYLE (WM_USER+9) +#define CBEM_GETEXTENDEDSTYLE (WM_USER+9) +#define CBEM_SETEXTENDEDSTYLE (WM_USER+14) +#define CBEM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +#define CBEM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define CBEM_HASEDITCHANGED (WM_USER+10) +#define CBEM_SETWINDOWTHEME CCM_SETWINDOWTHEME + +#define CBEIF_TEXT 0x00000001 +#define CBEIF_IMAGE 0x00000002 +#define CBEIF_SELECTEDIMAGE 0x00000004 +#define CBEIF_OVERLAY 0x00000008 +#define CBEIF_INDENT 0x00000010 +#define CBEIF_LPARAM 0x00000020 +#define CBEIF_DI_SETITEM 0x10000000 + +#define CBEN_FIRST (0U-800U) +#define CBEN_LAST (0U-830U) + +#define CBEN_GETDISPINFOA (CBEN_FIRST - 0) +#define CBEN_GETDISPINFOW (CBEN_FIRST - 7) +#define CBEN_GETDISPINFO WINELIB_NAME_AW(CBEN_GETDISPINFO) +#define CBEN_INSERTITEM (CBEN_FIRST - 1) +#define CBEN_DELETEITEM (CBEN_FIRST - 2) +#define CBEN_BEGINEDIT (CBEN_FIRST - 4) +#define CBEN_ENDEDITA (CBEN_FIRST - 5) +#define CBEN_ENDEDITW (CBEN_FIRST - 6) +#define CBEN_ENDEDIT WINELIB_NAME_AW(CBEN_ENDEDIT) +#define CBEN_DRAGBEGINA (CBEN_FIRST - 8) +#define CBEN_DRAGBEGINW (CBEN_FIRST - 9) +#define CBEN_DRAGBEGIN WINELIB_NAME_AW(CBEN_DRAGBEGIN) + +#define CBES_EX_NOEDITIMAGE 0x00000001 +#define CBES_EX_NOEDITIMAGEINDENT 0x00000002 +#define CBES_EX_PATHWORDBREAKPROC 0x00000004 +#define CBES_EX_NOSIZELIMIT 0x00000008 +#define CBES_EX_CASESENSITIVE 0x00000010 + + +typedef struct tagCOMBOBOXEXITEMA +{ + UINT mask; + INT_PTR iItem; + LPSTR pszText; + int cchTextMax; + int iImage; + int iSelectedImage; + int iOverlay; + int iIndent; + LPARAM lParam; +} COMBOBOXEXITEMA, *PCOMBOBOXEXITEMA; +typedef COMBOBOXEXITEMA const *PCCOMBOEXITEMA; /* Yes, there's a BOX missing */ + +typedef struct tagCOMBOBOXEXITEMW +{ + UINT mask; + INT_PTR iItem; + LPWSTR pszText; + int cchTextMax; + int iImage; + int iSelectedImage; + int iOverlay; + int iIndent; + LPARAM lParam; +} COMBOBOXEXITEMW, *PCOMBOBOXEXITEMW; +typedef COMBOBOXEXITEMW const *PCCOMBOEXITEMW; /* Yes, there's a BOX missing */ + +#define COMBOBOXEXITEM WINELIB_NAME_AW(COMBOBOXEXITEM) +#define PCOMBOBOXEXITEM WINELIB_NAME_AW(PCOMBOBOXEXITEM) +#define PCCOMBOBOXEXITEM WINELIB_NAME_AW(PCCOMBOEXITEM) /* Yes, there's a BOX missing */ + +#define CBENF_KILLFOCUS 1 +#define CBENF_RETURN 2 +#define CBENF_ESCAPE 3 +#define CBENF_DROPDOWN 4 + +#define CBEMAXSTRLEN 260 + +typedef struct tagNMCBEENDEDITW +{ + NMHDR hdr; + BOOL fChanged; + int iNewSelection; + WCHAR szText[CBEMAXSTRLEN]; + int iWhy; +} NMCBEENDEDITW, *LPNMCBEENDEDITW, *PNMCBEENDEDITW; + +typedef struct tagNMCBEENDEDITA +{ + NMHDR hdr; + BOOL fChanged; + int iNewSelection; + char szText[CBEMAXSTRLEN]; + int iWhy; +} NMCBEENDEDITA, *LPNMCBEENDEDITA, *PNMCBEENDEDITA; + +#define NMCBEENDEDIT WINELIB_NAME_AW(NMCBEENDEDIT) +#define LPNMCBEENDEDIT WINELIB_NAME_AW(LPNMCBEENDEDIT) +#define PNMCBEENDEDIT WINELIB_NAME_AW(PNMCBEENDEDIT) + +typedef struct +{ + NMHDR hdr; + COMBOBOXEXITEMA ceItem; +} NMCOMBOBOXEXA, *PNMCOMBOBOXEXA; + +typedef struct +{ + NMHDR hdr; + COMBOBOXEXITEMW ceItem; +} NMCOMBOBOXEXW, *PNMCOMBOBOXEXW; + +#define NMCOMBOBOXEX WINELIB_NAME_AW(NMCOMBOBOXEX) +#define PNMCOMBOBOXEX WINELIB_NAME_AW(PNMCOMBOBOXEX) + +typedef struct +{ + NMHDR hdr; + int iItemid; + char szText[CBEMAXSTRLEN]; +} NMCBEDRAGBEGINA, *PNMCBEDRAGBEGINA, *LPNMCBEDRAGBEGINA; + +typedef struct +{ + NMHDR hdr; + int iItemid; + WCHAR szText[CBEMAXSTRLEN]; +} NMCBEDRAGBEGINW, *PNMCBEDRAGBEGINW, *LPNMCBEDRAGBEGINW; + +#define NMCBEDRAGBEGIN WINELIB_NAME_AW(NMCBEDRAGBEGIN) +#define PNMCBEDRAGBEGIN WINELIB_NAME_AW(PNMCBEDRAGBEGIN) +#define LPNMCBEDRAGBEGIN WINELIB_NAME_AW(LPNMCBEDRAGBEGIN) + + +/* Hotkey control */ + +#define HOTKEY_CLASSA "msctls_hotkey32" +#if defined(__GNUC__) +# define HOTKEY_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \ + 'h','o','t','k','e','y','3','2',0 } +#elif defined(_MSC_VER) +# define HOTKEY_CLASSW L"msctls_hotkey32" +#else +static const WCHAR HOTKEY_CLASSW[] = { 'm','s','c','t','l','s','_', + 'h','o','t','k','e','y','3','2',0 }; +#endif +#define HOTKEY_CLASS WINELIB_NAME_AW(HOTKEY_CLASS) + +#define HOTKEYF_SHIFT 0x01 +#define HOTKEYF_CONTROL 0x02 +#define HOTKEYF_ALT 0x04 +#define HOTKEYF_EXT 0x08 + +#define HKCOMB_NONE 0x0001 +#define HKCOMB_S 0x0002 +#define HKCOMB_C 0x0004 +#define HKCOMB_A 0x0008 +#define HKCOMB_SC 0x0010 +#define HKCOMB_SA 0x0020 +#define HKCOMB_CA 0x0040 +#define HKCOMB_SCA 0x0080 + +#define HKM_SETHOTKEY (WM_USER+1) +#define HKM_GETHOTKEY (WM_USER+2) +#define HKM_SETRULES (WM_USER+3) + + +/* animate control */ + +#define ANIMATE_CLASSA "SysAnimate32" +#if defined(__GNUC__) +# define ANIMATE_CLASSW (const WCHAR []){ 'S','y','s', \ + 'A','n','i','m','a','t','e','3','2',0 } +#elif defined(_MSC_VER) +# define ANIMATE_CLASSW L"SysAnimate32" +#else +static const WCHAR ANIMATE_CLASSW[] = { 'S','y','s', + 'A','n','i','m','a','t','e','3','2',0 }; +#endif +#define ANIMATE_CLASS WINELIB_NAME_AW(ANIMATE_CLASS) + + +#define ACM_OPENA (WM_USER+100) +#define ACM_OPENW (WM_USER+103) +#define ACM_OPEN WINELIB_NAME_AW(ACM_OPEN) +#define ACM_PLAY (WM_USER+101) +#define ACM_STOP (WM_USER+102) + +#define ACN_START 1 +#define ACN_STOP 2 + +#define Animate_CreateA(hwndP,id,dwStyle,hInstance) \ + CreateWindowA(ANIMATE_CLASSA,NULL,dwStyle,0,0,0,0,hwndP,(HMENU)(id),hInstance,NULL) +#define Animate_CreateW(hwndP,id,dwStyle,hInstance) \ + CreateWindowW(ANIMATE_CLASSW,NULL,dwStyle,0,0,0,0,hwndP,(HMENU)(id),hInstance,NULL) +#define Animate_Create WINELIB_NAME_AW(Animate_Create) +#define Animate_OpenA(hwnd,szName) \ + (BOOL)SNDMSGA(hwnd,ACM_OPENA,0,(LPARAM)(LPSTR)(szName)) +#define Animate_OpenW(hwnd,szName) \ + (BOOL)SNDMSGW(hwnd,ACM_OPENW,0,(LPARAM)(LPWSTR)(szName)) +#define Animate_Open WINELIB_NAME_AW(Animate_Open) +#define Animate_OpenExA(hwnd,hInst,szName) \ + (BOOL)SNDMSGA(hwnd,ACM_OPENA,(WPARAM)hInst,(LPARAM)(LPSTR)(szName)) +#define Animate_OpenExW(hwnd,hInst,szName) \ + (BOOL)SNDMSGW(hwnd,ACM_OPENW,(WPARAM)hInst,(LPARAM)(LPWSTR)(szName)) +#define Animate_OpenEx WINELIB_NAME_AW(Animate_OpenEx) +#define Animate_Play(hwnd,from,to,rep) \ + (BOOL)SNDMSG(hwnd,ACM_PLAY,(WPARAM)(UINT)(rep),(LPARAM)MAKELONG(from,to)) +#define Animate_Stop(hwnd) \ + (BOOL)SNDMSG(hwnd,ACM_STOP,0,0) +#define Animate_Close(hwnd) \ + (BOOL)SNDMSG(hwnd,ACM_OPENA,0,0) +#define Animate_Seek(hwnd,frame) \ + (BOOL)SNDMSG(hwnd,ACM_PLAY,1,(LPARAM)MAKELONG(frame,frame)) + + +/************************************************************************** + * IP Address control + */ + +#define WC_IPADDRESSA "SysIPAddress32" +#if defined(__GNUC__) +# define WC_IPADDRESSW (const WCHAR []){ 'S','y','s', \ + 'I','P','A','d','d','r','e','s','s','3','2',0 } +#elif defined(_MSC_VER) +# define WC_IPADDRESSW L"SysIPAddress32" +#else +static const WCHAR WC_IPADDRESSW[] = { 'S','y','s', + 'I','P','A','d','d','r','e','s','s','3','2',0 }; +#endif +#define WC_IPADDRESS WINELIB_NAME_AW(WC_IPADDRESS) + +#define IPM_CLEARADDRESS (WM_USER+100) +#define IPM_SETADDRESS (WM_USER+101) +#define IPM_GETADDRESS (WM_USER+102) +#define IPM_SETRANGE (WM_USER+103) +#define IPM_SETFOCUS (WM_USER+104) +#define IPM_ISBLANK (WM_USER+105) + +#define IPN_FIRST (0U-860U) +#define IPN_LAST (0U-879U) +#define IPN_FIELDCHANGED (IPN_FIRST-0) + +typedef struct tagNMIPADDRESS +{ + NMHDR hdr; + INT iField; + INT iValue; +} NMIPADDRESS, *LPNMIPADDRESS; + +#define MAKEIPRANGE(low,high) \ + ((LPARAM)(WORD)(((BYTE)(high)<<8)+(BYTE)(low))) +#define MAKEIPADDRESS(b1,b2,b3,b4) \ + ((LPARAM)(((DWORD)(b1)<<24)+((DWORD)(b2)<<16)+((DWORD)(b3)<<8)+((DWORD)(b4)))) + +#define FIRST_IPADDRESS(x) (((x)>>24)&0xff) +#define SECOND_IPADDRESS(x) (((x)>>16)&0xff) +#define THIRD_IPADDRESS(x) (((x)>>8)&0xff) +#define FOURTH_IPADDRESS(x) ((x)&0xff) + + +/************************************************************************** + * Native Font control + */ + +#define WC_NATIVEFONTCTLA "NativeFontCtl" +#if defined(__GNUC__) +# define WC_NATIVEFONTCTLW (const WCHAR []){ 'N','a','t','i','v','e', \ + 'F','o','n','t','C','t','l',0 } +#elif defined(_MSC_VER) +# define WC_NATIVEFONTCTLW L"NativeFontCtl" +#else +static const WCHAR WC_NATIVEFONTCTLW[] = { 'N','a','t','i','v','e', + 'F','o','n','t','C','t','l',0 }; +#endif +#define WC_NATIVEFONTCTL WINELIB_NAME_AW(WC_NATIVEFONTCTL) + + +/************************************************************************** + * Month calendar control + * + */ + +#define MONTHCAL_CLASSA "SysMonthCal32" +#if defined(__GNUC__) +# define MONTHCAL_CLASSW (const WCHAR []){ 'S','y','s', \ + 'M','o','n','t','h','C','a','l','3','2',0 } +#elif defined(_MSC_VER) +# define MONTHCAL_CLASSW L"SysMonthCal32" +#else +static const WCHAR MONTHCAL_CLASSW[] = { 'S','y','s', + 'M','o','n','t','h','C','a','l','3','2',0 }; +#endif +#define MONTHCAL_CLASS WINELIB_NAME_AW(MONTHCAL_CLASS) + +#define MCM_FIRST 0x1000 +#define MCN_FIRST (0U-750U) +#define MCN_LAST (0U-759U) + + +#define MCM_GETCURSEL (MCM_FIRST + 1) +#define MCM_SETCURSEL (MCM_FIRST + 2) +#define MCM_GETMAXSELCOUNT (MCM_FIRST + 3) +#define MCM_SETMAXSELCOUNT (MCM_FIRST + 4) +#define MCM_GETSELRANGE (MCM_FIRST + 5) +#define MCM_SETSELRANGE (MCM_FIRST + 6) +#define MCM_GETMONTHRANGE (MCM_FIRST + 7) +#define MCM_SETDAYSTATE (MCM_FIRST + 8) +#define MCM_GETMINREQRECT (MCM_FIRST + 9) +#define MCM_SETCOLOR (MCM_FIRST + 10) +#define MCM_GETCOLOR (MCM_FIRST + 11) +#define MCM_SETTODAY (MCM_FIRST + 12) +#define MCM_GETTODAY (MCM_FIRST + 13) +#define MCM_HITTEST (MCM_FIRST + 14) +#define MCM_SETFIRSTDAYOFWEEK (MCM_FIRST + 15) +#define MCM_GETFIRSTDAYOFWEEK (MCM_FIRST + 16) +#define MCM_GETRANGE (MCM_FIRST + 17) +#define MCM_SETRANGE (MCM_FIRST + 18) +#define MCM_GETMONTHDELTA (MCM_FIRST + 19) +#define MCM_SETMONTHDELTA (MCM_FIRST + 20) +#define MCM_GETMAXTODAYWIDTH (MCM_FIRST + 21) +#define MCM_GETCURRENTVIEW (MCM_FIRST + 22) +#define MCM_GETCALENDARCOUNT (MCM_FIRST + 23) +#define MCM_GETCALENDARGRIDINFO (MCM_FIRST + 24) +#define MCM_GETCALID (MCM_FIRST + 27) +#define MCM_SETCALID (MCM_FIRST + 28) +#define MCM_SIZERECTTOMIN (MCM_FIRST + 29) +#define MCM_SETCALENDARBORDER (MCM_FIRST + 30) +#define MCM_GETCALENDARBORDER (MCM_FIRST + 31) +#define MCM_SETCURRENTVIEW (MCM_FIRST + 32) +#define MCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +#define MCM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT + + +/* Notifications */ + +#define MCN_SELCHANGE (MCN_FIRST + 1) +#define MCN_GETDAYSTATE (MCN_FIRST + 3) +#define MCN_SELECT (MCN_FIRST + 4) + +#define MCSC_BACKGROUND 0 +#define MCSC_TEXT 1 +#define MCSC_TITLEBK 2 +#define MCSC_TITLETEXT 3 +#define MCSC_MONTHBK 4 +#define MCSC_TRAILINGTEXT 5 + + +#define MCHT_TITLE 0x00010000 +#define MCHT_CALENDAR 0x00020000 +#define MCHT_TODAYLINK 0x00030000 +#define MCHT_CALENDARCONTROL 0x00100000 + +#define MCHT_NEXT 0x01000000 +#define MCHT_PREV 0x02000000 +#define MCHT_NOWHERE 0x00000000 +#define MCHT_TITLEBK (MCHT_TITLE) +#define MCHT_TITLEMONTH (MCHT_TITLE | 0x0001) +#define MCHT_TITLEYEAR (MCHT_TITLE | 0x0002) +#define MCHT_TITLEBTNNEXT (MCHT_TITLE | MCHT_NEXT | 0x0003) +#define MCHT_TITLEBTNPREV (MCHT_TITLE | MCHT_PREV | 0x0003) + +#define MCHT_CALENDARBK (MCHT_CALENDAR) +#define MCHT_CALENDARDATE (MCHT_CALENDAR | 0x0001) +#define MCHT_CALENDARDATENEXT (MCHT_CALENDARDATE | MCHT_NEXT) +#define MCHT_CALENDARDATEPREV (MCHT_CALENDARDATE | MCHT_PREV) +#define MCHT_CALENDARDAY (MCHT_CALENDAR | 0x0002) +#define MCHT_CALENDARWEEKNUM (MCHT_CALENDAR | 0x0003) +#define MCHT_CALENDARDATEMIN (MCHT_CALENDAR | 0x0004) +#define MCHT_CALENDARDATEMAX (MCHT_CALENDAR | 0x0005) + + +#define GMR_VISIBLE 0 +#define GMR_DAYSTATE 1 + + +/* Month calendar's structures */ + + +typedef struct { + UINT cbSize; + POINT pt; + UINT uHit; + SYSTEMTIME st; + /* Vista */ + RECT rc; + INT iOffset; + INT iRow; + INT iCol; +} MCHITTESTINFO, *PMCHITTESTINFO; + +#define MCHITTESTINFO_V1_SIZE CCSIZEOF_STRUCT(MCHITTESTINFO, st) + +typedef struct tagNMSELCHANGE +{ + NMHDR nmhdr; + SYSTEMTIME stSelStart; + SYSTEMTIME stSelEnd; +} NMSELCHANGE, *LPNMSELCHANGE; + +typedef NMSELCHANGE NMSELECT, *LPNMSELECT; +typedef DWORD MONTHDAYSTATE, *LPMONTHDAYSTATE; + +typedef struct tagNMDAYSTATE +{ + NMHDR nmhdr; + SYSTEMTIME stStart; + int cDayState; + LPMONTHDAYSTATE prgDayState; +} NMDAYSTATE, *LPNMDAYSTATE; + + +/* macros */ + +#define MonthCal_GetCurSel(hmc, pst) \ + (BOOL)SNDMSG(hmc, MCM_GETCURSEL, 0, (LPARAM)(pst)) +#define MonthCal_SetCurSel(hmc, pst) \ + (BOOL)SNDMSG(hmc, MCM_SETCURSEL, 0, (LPARAM)(pst)) +#define MonthCal_GetMaxSelCount(hmc) \ + (DWORD)SNDMSG(hmc, MCM_GETMAXSELCOUNT, 0, 0) +#define MonthCal_SetMaxSelCount(hmc, n) \ + (BOOL)SNDMSG(hmc, MCM_SETMAXSELCOUNT, (WPARAM)(n), 0) +#define MonthCal_GetSelRange(hmc, rgst) \ + SNDMSG(hmc, MCM_GETSELRANGE, 0, (LPARAM) (rgst)) +#define MonthCal_SetSelRange(hmc, rgst) \ + SNDMSG(hmc, MCM_SETSELRANGE, 0, (LPARAM) (rgst)) +#define MonthCal_GetMonthRange(hmc, gmr, rgst) \ + (DWORD)SNDMSG(hmc, MCM_GETMONTHRANGE, (WPARAM)(gmr), (LPARAM)(rgst)) +#define MonthCal_SetDayState(hmc, cbds, rgds) \ + SNDMSG(hmc, MCM_SETDAYSTATE, (WPARAM)(cbds), (LPARAM)(rgds)) +#define MonthCal_GetMinReqRect(hmc, prc) \ + SNDMSG(hmc, MCM_GETMINREQRECT, 0, (LPARAM)(prc)) +#define MonthCal_SetColor(hmc, iColor, clr)\ + SNDMSG(hmc, MCM_SETCOLOR, iColor, clr) +#define MonthCal_GetColor(hmc, iColor) \ + SNDMSG(hmc, MCM_SETCOLOR, iColor, 0) +#define MonthCal_GetToday(hmc, pst)\ + (BOOL)SNDMSG(hmc, MCM_GETTODAY, 0, (LPARAM)pst) +#define MonthCal_SetToday(hmc, pst)\ + SNDMSG(hmc, MCM_SETTODAY, 0, (LPARAM)pst) +#define MonthCal_HitTest(hmc, pinfo) \ + SNDMSG(hmc, MCM_HITTEST, 0, (LPARAM)(PMCHITTESTINFO)pinfo) +#define MonthCal_SetFirstDayOfWeek(hmc, iDay) \ + SNDMSG(hmc, MCM_SETFIRSTDAYOFWEEK, 0, iDay) +#define MonthCal_GetFirstDayOfWeek(hmc) \ + (DWORD)SNDMSG(hmc, MCM_GETFIRSTDAYOFWEEK, 0, 0) +#define MonthCal_GetRange(hmc, rgst) \ + (DWORD)SNDMSG(hmc, MCM_GETRANGE, 0, (LPARAM)(rgst)) +#define MonthCal_SetRange(hmc, gd, rgst) \ + (BOOL)SNDMSG(hmc, MCM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst)) +#define MonthCal_GetMonthDelta(hmc) \ + (int)SNDMSG(hmc, MCM_GETMONTHDELTA, 0, 0) +#define MonthCal_SetMonthDelta(hmc, n) \ + (int)SNDMSG(hmc, MCM_SETMONTHDELTA, n, 0) +#define MonthCal_GetMaxTodayWidth(hmc) \ + (DWORD)SNDMSG(hmc, MCM_GETMAXTODAYWIDTH, 0, 0) +#define MonthCal_SetUnicodeFormat(hwnd, fUnicode) \ + (BOOL)SNDMSG((hwnd), MCM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0) +#define MonthCal_GetUnicodeFormat(hwnd) \ + (BOOL)SNDMSG((hwnd), MCM_GETUNICODEFORMAT, 0, 0) + + +/************************************************************************** + * Date and time picker control + */ + +#define DATETIMEPICK_CLASSA "SysDateTimePick32" +#if defined(__GNUC__) +# define DATETIMEPICK_CLASSW (const WCHAR []){ 'S','y','s', \ + 'D','a','t','e','T','i','m','e','P','i','c','k','3','2',0 } +#elif defined(_MSC_VER) +# define DATETIMEPICK_CLASSW L"SysDateTimePick32" +#else +static const WCHAR DATETIMEPICK_CLASSW[] = { 'S','y','s', + 'D','a','t','e','T','i','m','e','P','i','c','k','3','2',0 }; +#endif +#define DATETIMEPICK_CLASS WINELIB_NAME_AW(DATETIMEPICK_CLASS) + +#define DTM_FIRST 0x1000 +#define DTN_FIRST (0U-760U) +#define DTN_LAST (0U-799U) + + +#define DTM_GETSYSTEMTIME (DTM_FIRST+1) +#define DTM_SETSYSTEMTIME (DTM_FIRST+2) +#define DTM_GETRANGE (DTM_FIRST+3) +#define DTM_SETRANGE (DTM_FIRST+4) +#define DTM_SETFORMATA (DTM_FIRST+5) +#define DTM_SETFORMATW (DTM_FIRST + 50) +#define DTM_SETFORMAT WINELIB_NAME_AW(DTM_SETFORMAT) +#define DTM_SETMCCOLOR (DTM_FIRST+6) +#define DTM_GETMCCOLOR (DTM_FIRST+7) +#define DTM_GETMONTHCAL (DTM_FIRST+8) +#define DTM_SETMCFONT (DTM_FIRST+9) +#define DTM_GETMCFONT (DTM_FIRST+10) +#define DTM_SETMCSTYLE (DTM_FIRST+11) +#define DTM_GETMCSTYLE (DTM_FIRST+12) +#define DTM_CLOSEMONTHCAL (DTM_FIRST+13) +#define DTM_GETDATETIMEPICKERINFO (DTM_FIRST+14) +#define DTM_GETIDEALSIZE (DTM_FIRST+15) + +/* Datetime Notifications */ + +#define DTN_DATETIMECHANGE (DTN_FIRST + 1) +#define DTN_USERSTRINGA (DTN_FIRST + 2) +#define DTN_WMKEYDOWNA (DTN_FIRST + 3) +#define DTN_FORMATA (DTN_FIRST + 4) +#define DTN_FORMATQUERYA (DTN_FIRST + 5) +#define DTN_DROPDOWN (DTN_FIRST + 6) +#define DTN_CLOSEUP (DTN_FIRST + 7) +#define DTN_USERSTRINGW (DTN_FIRST + 15) +#define DTN_WMKEYDOWNW (DTN_FIRST + 16) +#define DTN_FORMATW (DTN_FIRST + 17) +#define DTN_FORMATQUERYW (DTN_FIRST + 18) + +#define DTN_USERSTRING WINELIB_NAME_AW(DTN_USERSTRING) +#define DTN_WMKEYDOWN WINELIB_NAME_AW(DTN_WMKEYDOWN) +#define DTN_FORMAT WINELIB_NAME_AW(DTN_FORMAT) +#define DTN_FORMATQUERY WINELIB_NAME_AW(DTN_FORMATQUERY) + + +typedef struct tagNMDATETIMECHANGE +{ + NMHDR nmhdr; + DWORD dwFlags; + SYSTEMTIME st; +} NMDATETIMECHANGE, *LPNMDATETIMECHANGE; + +typedef struct tagNMDATETIMESTRINGA +{ + NMHDR nmhdr; + LPCSTR pszUserString; + SYSTEMTIME st; + DWORD dwFlags; +} NMDATETIMESTRINGA, *LPNMDATETIMESTRINGA; + +typedef struct tagNMDATETIMESTRINGW +{ + NMHDR nmhdr; + LPCWSTR pszUserString; + SYSTEMTIME st; + DWORD dwFlags; +} NMDATETIMESTRINGW, *LPNMDATETIMESTRINGW; + +DECL_WINELIB_TYPE_AW(NMDATETIMESTRING) +DECL_WINELIB_TYPE_AW(LPNMDATETIMESTRING) + +typedef struct tagNMDATETIMEWMKEYDOWNA +{ + NMHDR nmhdr; + int nVirtKey; + LPCSTR pszFormat; + SYSTEMTIME st; +} NMDATETIMEWMKEYDOWNA, *LPNMDATETIMEWMKEYDOWNA; + +typedef struct tagNMDATETIMEWMKEYDOWNW +{ + NMHDR nmhdr; + int nVirtKey; + LPCWSTR pszFormat; + SYSTEMTIME st; +} NMDATETIMEWMKEYDOWNW, *LPNMDATETIMEWMKEYDOWNW; + +DECL_WINELIB_TYPE_AW(NMDATETIMEWMKEYDOWN) +DECL_WINELIB_TYPE_AW(LPNMDATETIMEWMKEYDOWN) + +typedef struct tagNMDATETIMEFORMATA +{ + NMHDR nmhdr; + LPCSTR pszFormat; + SYSTEMTIME st; + LPCSTR pszDisplay; + CHAR szDisplay[64]; +} NMDATETIMEFORMATA, *LPNMDATETIMEFORMATA; + + +typedef struct tagNMDATETIMEFORMATW +{ + NMHDR nmhdr; + LPCWSTR pszFormat; + SYSTEMTIME st; + LPCWSTR pszDisplay; + WCHAR szDisplay[64]; +} NMDATETIMEFORMATW, *LPNMDATETIMEFORMATW; + +DECL_WINELIB_TYPE_AW(NMDATETIMEFORMAT) +DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMAT) + +typedef struct tagNMDATETIMEFORMATQUERYA +{ + NMHDR nmhdr; + LPCSTR pszFormat; + SIZE szMax; +} NMDATETIMEFORMATQUERYA, *LPNMDATETIMEFORMATQUERYA; + +typedef struct tagNMDATETIMEFORMATQUERYW +{ + NMHDR nmhdr; + LPCWSTR pszFormat; + SIZE szMax; +} NMDATETIMEFORMATQUERYW, *LPNMDATETIMEFORMATQUERYW; + +DECL_WINELIB_TYPE_AW(NMDATETIMEFORMATQUERY) +DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMATQUERY) + + + +#define GDT_ERROR -1 +#define GDT_VALID 0 +#define GDT_NONE 1 + +#define GDTR_MIN 0x0001 +#define GDTR_MAX 0x0002 + + +#define DateTime_GetSystemtime(hdp, pst) \ + (DWORD)SNDMSG (hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst)) +#define DateTime_SetSystemtime(hdp, gd, pst) \ + (BOOL)SNDMSG (hdp, DTM_SETSYSTEMTIME, (LPARAM)(gd), (LPARAM)(pst)) +#define DateTime_GetRange(hdp, rgst) \ + (DWORD)SNDMSG (hdp, DTM_GETRANGE, 0, (LPARAM)(rgst)) +#define DateTime_SetRange(hdp, gd, rgst) \ + (BOOL)SNDMSG (hdp, DTM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst)) +#define DateTime_SetFormatA(hdp, sz) \ + (BOOL)SNDMSGA (hdp, DTM_SETFORMATA, 0, (LPARAM)(sz)) +#define DateTime_SetFormatW(hdp, sz) \ + (BOOL)SNDMSGW (hdp, DTM_SETFORMATW, 0, (LPARAM)(sz)) +#define DateTime_SetFormat WINELIB_NAME_AW(DateTime_SetFormat) +#define DateTime_GetMonthCalColor(hdp, iColor) \ + SNDMSG (hdp, DTM_GETMCCOLOR, iColor, 0) +#define DateTime_SetMonthCalColor(hdp, iColor, clr) \ + SNDMSG (hdp, DTM_SETMCCOLOR, iColor, clr) +#define DateTime_GetMonthCal(hdp) \ + (HWND) SNDMSG (hdp, DTM_GETMONTHCAL, 0, 0) +#define DateTime_SetMonthCalFont(hdp, hfont, fRedraw) \ + SNDMSG (hdp, DTM_SETMCFONT, (WPARAM)hfont, (LPARAM)fRedraw) +#define DateTime_GetMonthCalFont(hdp) \ + SNDMSG (hdp, DTM_GETMCFONT, 0, 0) + +#define DA_LAST (0x7fffffff) +#define DPA_APPEND (0x7fffffff) +#define DPA_ERR (-1) + +#define DSA_APPEND (0x7fffffff) +#define DSA_ERR (-1) + +struct _DSA; +typedef struct _DSA *HDSA; + +typedef INT (CALLBACK *PFNDSAENUMCALLBACK)(LPVOID, LPVOID); + +HDSA WINAPI DSA_Create(INT, INT); +BOOL WINAPI DSA_Destroy(HDSA); +void WINAPI DSA_DestroyCallback(HDSA, PFNDSAENUMCALLBACK, LPVOID); +LPVOID WINAPI DSA_GetItemPtr(HDSA, INT); +INT WINAPI DSA_InsertItem(HDSA, INT, LPVOID); + +#define DPAS_SORTED 0x0001 +#define DPAS_INSERTBEFORE 0x0002 +#define DPAS_INSERTAFTER 0x0004 + + +struct _DPA; +typedef struct _DPA *HDPA; + +#define DPA_GetPtrCount(hdpa) (*(INT*)(hdpa)) + +typedef INT (CALLBACK *PFNDPAENUMCALLBACK)(LPVOID, LPVOID); +typedef INT (CALLBACK *PFNDPACOMPARE)(LPVOID, LPVOID, LPARAM); +typedef PVOID (CALLBACK *PFNDPAMERGE)(UINT,PVOID,PVOID,LPARAM); + +/* merge callback codes */ +#define DPAMM_MERGE 1 +#define DPAMM_DELETE 2 +#define DPAMM_INSERT 3 + +/* merge options */ +#define DPAM_SORTED 0x00000001 +#define DPAM_NORMAL 0x00000002 +#define DPAM_UNION 0x00000004 +#define DPAM_INTERSECT 0x00000008 + +HDPA WINAPI DPA_Create(INT); +BOOL WINAPI DPA_Destroy(HDPA); +LPVOID WINAPI DPA_DeletePtr(HDPA, INT); +BOOL WINAPI DPA_DeleteAllPtrs(HDPA); +BOOL WINAPI DPA_SetPtr(HDPA, INT, LPVOID); +LPVOID WINAPI DPA_GetPtr(HDPA, INT); +INT WINAPI DPA_GetPtrIndex(HDPA, LPCVOID); +ULONGLONG WINAPI DPA_GetSize(HDPA); +BOOL WINAPI DPA_Grow(HDPA, INT); +INT WINAPI DPA_InsertPtr(HDPA, INT, LPVOID); +BOOL WINAPI DPA_Sort(HDPA, PFNDPACOMPARE, LPARAM); +void WINAPI DPA_EnumCallback(HDPA, PFNDPAENUMCALLBACK, LPVOID); +void WINAPI DPA_DestroyCallback(HDPA, PFNDPAENUMCALLBACK, LPVOID); +INT WINAPI DPA_Search(HDPA, LPVOID, INT, PFNDPACOMPARE, LPARAM, UINT); +BOOL WINAPI DPA_Merge(HDPA, HDPA, DWORD, PFNDPACOMPARE, PFNDPAMERGE, LPARAM); + +/* save/load from stream */ +typedef struct _DPASTREAMINFO +{ + INT iPos; /* item index */ + LPVOID pvItem; +} DPASTREAMINFO; + +struct IStream; +typedef HRESULT (CALLBACK *PFNDPASTREAM)(DPASTREAMINFO*, struct IStream*, LPVOID); + +HRESULT WINAPI DPA_LoadStream(HDPA*, PFNDPASTREAM, struct IStream*, LPVOID); +HRESULT WINAPI DPA_SaveStream(HDPA, PFNDPASTREAM, struct IStream*, LPVOID); + +BOOL WINAPI Str_SetPtrW (LPWSTR *, LPCWSTR); + +/************************************************************************** + * SysLink control + */ + +#if defined(__GNUC__) +# define WC_LINK (const WCHAR []){ 'S','y','s','L','i','n','k',0 } +#elif defined(_MSC_VER) +# define WC_LINK L"SysLink" +#else +static const WCHAR WC_LINK[] = { 'S','y','s','L','i','n','k',0 }; +#endif + +/* SysLink styles */ +#define LWS_TRANSPARENT 0x0001 +#define LWS_IGNORERETURN 0x0002 +#define LWS_NOPREFIX 0x0004 +#define LWS_USEVISUALSTYLE 0x0008 +#define LWS_USECUSTOMTEXT 0x0010 +#define LWS_RIGHT 0x0020 + +/* SysLink messages */ +#define LM_HITTEST (WM_USER + 768) +#define LM_GETIDEALHEIGHT (WM_USER + 769) +#define LM_GETIDEALSIZE (LM_GETIDEALHEIGHT) +#define LM_SETITEM (WM_USER + 770) +#define LM_GETITEM (WM_USER + 771) + +/* SysLink links flags */ + +#define LIF_ITEMINDEX 1 +#define LIF_STATE 2 +#define LIF_ITEMID 4 +#define LIF_URL 8 + +/* SysLink links states */ + +#define LIS_FOCUSED 0x0001 +#define LIS_ENABLED 0x0002 +#define LIS_VISITED 0x0004 +#define LIS_HOTTRACK 0x0008 +#define LIS_DEFAULTCOLORS 0x0010 + +/* SysLink misc. */ + +#define INVALID_LINK_INDEX (-1) +#define MAX_LINKID_TEXT 48 +#define L_MAX_URL_LENGTH 2084 + +/* SysLink structures */ + +typedef struct tagLITEM +{ + UINT mask; + int iLink; + UINT state; + UINT stateMask; + WCHAR szID[MAX_LINKID_TEXT]; + WCHAR szUrl[L_MAX_URL_LENGTH]; +} LITEM, *PLITEM; + +typedef struct tagLHITTESTINFO +{ + POINT pt; + LITEM item; +} LHITTESTINFO, *PLHITTESTINFO; + +typedef struct tagNMLINK +{ + NMHDR hdr; + LITEM item; +} NMLINK, *PNMLINK; + +typedef struct tagNMLVLINK +{ + NMHDR hdr; + LITEM link; + int iItem; + int iSubItem; +} NMLVLINK, *PNMLVLINK; + +/************************************************************************** + * Static control + */ + +#define WC_STATICA "Static" +#if defined(__GNUC__) +# define WC_STATICW (const WCHAR []){ 'S','t','a','t','i','c',0 } +#elif defined(_MSC_VER) +# define WC_STATICW L"Static" +#else +static const WCHAR WC_STATICW[] = { 'S','t','a','t','i','c',0 }; +#endif +#define WC_STATIC WINELIB_NAME_AW(WC_STATIC) + +/************************************************************************** + * Combobox control + */ + +#define WC_COMBOBOXA "ComboBox" +#if defined(__GNUC__) +# define WC_COMBOBOXW (const WCHAR []){ 'C','o','m','b','o','B','o','x',0 } +#elif defined(_MSC_VER) +# define WC_COMBOBOXW L"ComboBox" +#else +static const WCHAR WC_COMBOBOXW[] = { 'C','o','m','b','o','B','o','x',0 }; +#endif +#define WC_COMBOBOX WINELIB_NAME_AW(WC_COMBOBOX) + +/************************************************************************** + * Edit control + */ + +#define WC_EDITA "Edit" +#if defined(__GNUC__) +# define WC_EDITW (const WCHAR []){ 'E','d','i','t',0 } +#elif defined(_MSC_VER) +# define WC_EDITW L"Edit" +#else +static const WCHAR WC_EDITW[] = { 'E','d','i','t',0 }; +#endif +#define WC_EDIT WINELIB_NAME_AW(WC_EDIT) + +/************************************************************************** + * Listbox control + */ + +#define WC_LISTBOXA "ListBox" +#if defined(__GNUC__) +# define WC_LISTBOXW (const WCHAR []){ 'L','i','s','t','B','o','x',0 } +#elif defined(_MSC_VER) +# define WC_LISTBOXW L"ListBox" +#else +static const WCHAR WC_LISTBOXW[] = { 'L','i','s','t','B','o','x',0 }; +#endif +#define WC_LISTBOX WINELIB_NAME_AW(WC_LISTBOX) + +/************************************************************************** + * Scrollbar control + */ + +#define WC_SCROLLBARA "ScrollBar" +#if defined(__GNUC__) +# define WC_SCROLLBARW (const WCHAR []){ 'S','c','r','o','l','l','B','a','r',0 } +#elif defined(_MSC_VER) +# define WC_SCROLLBARW L"ScrollBar" +#else +static const WCHAR WC_SCROLLBARW[] = { 'S','c','r','o','l','l','B','a','r',0 }; +#endif +#define WC_SCROLLBAR WINELIB_NAME_AW(WC_SCROLLBAR) + +/************************************************************************** + * Task dialog + */ + +#ifndef NOTASKDIALOG + +#include + +enum _TASKDIALOG_FLAGS +{ + TDF_ENABLE_HYPERLINKS = 0x0001, + TDF_USE_HICON_MAIN = 0x0002, + TDF_USE_HICON_FOOTER = 0x0004, + TDF_ALLOW_DIALOG_CANCELLATION = 0x0008, + TDF_USE_COMMAND_LINKS = 0x0010, + TDF_USE_COMMAND_LINKS_NO_ICON = 0x0020, + TDF_EXPAND_FOOTER_AREA = 0x0040, + TDF_EXPANDED_BY_DEFAULT = 0x0080, + TDF_VERIFICATION_FLAG_CHECKED = 0x0100, + TDF_SHOW_PROGRESS_BAR = 0x0200, + TDF_SHOW_MARQUEE_PROGRESS_BAR = 0x0400, + TDF_CALLBACK_TIMER = 0x0800, + TDF_POSITION_RELATIVE_TO_WINDOW = 0x1000, + TDF_RTL_LAYOUT = 0x2000, + TDF_NO_DEFAULT_RADIO_BUTTON = 0x4000, + TDF_CAN_BE_MINIMIZED = 0x8000, + TDF_NO_SET_FOREGROUND = 0x10000, + TDF_SIZE_TO_CONTENT = 0x01000000 +}; +typedef int TASKDIALOG_FLAGS; + +typedef enum _TASKDIALOG_MESSAGES +{ + TDM_NAVIGATE_PAGE = WM_USER + 101, + TDM_CLICK_BUTTON = WM_USER + 102, + TDM_SET_MARQUEE_PROGRESS_BAR = WM_USER + 103, + TDM_SET_PROGRESS_BAR_STATE = WM_USER + 104, + TDM_SET_PROGRESS_BAR_RANGE = WM_USER + 105, + TDM_SET_PROGRESS_BAR_POS = WM_USER + 106, + TDM_SET_PROGRESS_BAR_MARQUEE = WM_USER + 107, + TDM_SET_ELEMENT_TEXT = WM_USER + 108, + TDM_CLICK_RADIO_BUTTON = WM_USER + 110, + TDM_ENABLE_BUTTON = WM_USER + 111, + TDM_ENABLE_RADIO_BUTTON = WM_USER + 112, + TDM_CLICK_VERIFICATION = WM_USER + 113, + TDM_UPDATE_ELEMENT_TEXT = WM_USER + 114, + TDM_SET_BUTTON_ELEVATION_REQUIRED_STATE = WM_USER + 115, + TDM_UPDATE_ICON = WM_USER + 116, +} TASKDIALOG_MESSAGES; + +typedef enum _TASKDIALOG_NOTIFICATIONS +{ + TDN_CREATED, + TDN_NAVIGATED, + TDN_BUTTON_CLICKED, + TDN_HYPERLINK_CLICKED, + TDN_TIMER, + TDN_DESTROYED, + TDN_RADIO_BUTTON_CLICKED, + TDN_DIALOG_CONSTRUCTED, + TDN_VERIFICATION_CLICKED, + TDN_HELP, + TDN_EXPANDO_BUTTON_CLICKED, +} TASKDIALOG_NOTIFICATIONS; + +typedef enum _TASKDIALOG_ELEMENTS +{ + TDE_CONTENT, + TDE_EXPANDED_INFORMATION, + TDE_FOOTER, + TDE_MAIN_INSTRUCTION, +} TASKDIALOG_ELEMENTS; + +typedef enum _TASKDIALOG_ICON_ELEMENTS +{ + TDIE_ICON_MAIN, + TDIE_ICON_FOOTER, +} TASKDIALOG_ICON_ELEMENTS; + +#define TD_WARNING_ICON MAKEINTRESOURCEW(-1) +#define TD_ERROR_ICON MAKEINTRESOURCEW(-2) +#define TD_INFORMATION_ICON MAKEINTRESOURCEW(-3) +#define TD_SHIELD_ICON MAKEINTRESOURCEW(-4) + +enum _TASKDIALOG_COMMON_BUTTON_FLAGS +{ + TDCBF_OK_BUTTON = 0x0001, + TDCBF_YES_BUTTON = 0x0002, + TDCBF_NO_BUTTON = 0x0004, + TDCBF_CANCEL_BUTTON = 0x0008, + TDCBF_RETRY_BUTTON = 0x0010, + TDCBF_CLOSE_BUTTON = 0x0020 +}; +typedef int TASKDIALOG_COMMON_BUTTON_FLAGS; + +typedef struct _TASKDIALOG_BUTTON +{ + int nButtonID; + PCWSTR pszButtonText; +} TASKDIALOG_BUTTON; + +typedef HRESULT (CALLBACK *PFTASKDIALOGCALLBACK)(HWND, UINT, WPARAM, LPARAM, LONG_PTR); + +typedef struct _TASKDIALOGCONFIG +{ + UINT cbSize; + HWND hwndParent; + HINSTANCE hInstance; + TASKDIALOG_FLAGS dwFlags; + TASKDIALOG_COMMON_BUTTON_FLAGS dwCommonButtons; + PCWSTR pszWindowTitle; + union + { + HICON hMainIcon; + PCWSTR pszMainIcon; + } DUMMYUNIONNAME; + PCWSTR pszMainInstruction; + PCWSTR pszContent; + UINT cButtons; + const TASKDIALOG_BUTTON *pButtons; + int nDefaultButton; + UINT cRadioButtons; + const TASKDIALOG_BUTTON *pRadioButtons; + int nDefaultRadioButton; + PCWSTR pszVerificationText; + PCWSTR pszExpandedInformation; + PCWSTR pszExpandedControlText; + PCWSTR pszCollapsedControlText; + union + { + HICON hFooterIcon; + PCWSTR pszFooterIcon; + } DUMMYUNIONNAME2; + PCWSTR pszFooter; + PFTASKDIALOGCALLBACK pfCallback; + LONG_PTR lpCallbackData; + UINT cxWidth; +} TASKDIALOGCONFIG; + +HRESULT WINAPI TaskDialog(HWND owner, HINSTANCE hinst, const WCHAR *title, const WCHAR *main_instruction, + const WCHAR *content, TASKDIALOG_COMMON_BUTTON_FLAGS common_buttons, const WCHAR *icon, int *button); +HRESULT WINAPI TaskDialogIndirect(const TASKDIALOGCONFIG *, int *, int *, BOOL *); + +#include + +#endif /* NOTASKDIALOG */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_COMMCTRL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commctrl.rh b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commctrl.rh new file mode 100644 index 0000000..7cd3deb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commctrl.rh @@ -0,0 +1,216 @@ +/* + * Copyright (C) 2008 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */ +#ifndef __MSABI_LONG +# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__) +# define __MSABI_LONG(x) x ## l +# else +# define __MSABI_LONG(x) x +# endif +#endif + +/* Header Control */ +#define HDS_HORZ 0x0000 +#define HDS_BUTTONS 0x0002 +#define HDS_HOTTRACK 0x0004 +#define HDS_HIDDEN 0x0008 +#define HDS_DRAGDROP 0x0040 +#define HDS_FULLDRAG 0x0080 +#define HDS_FILTERBAR 0x0100 +#define HDS_FLAT 0x0200 +#define HDS_CHECKBOXES 0x0400 +#define HDS_NOSIZING 0x0800 +#define HDS_OVERFLOW 0x1000 + +/* Rebar Control */ +#define RBS_TOOLTIPS 0x0100 +#define RBS_VARHEIGHT 0x0200 +#define RBS_BANDBORDERS 0x0400 +#define RBS_FIXEDORDER 0x0800 +#define RBS_REGISTERDROP 0x1000 +#define RBS_AUTOSIZE 0x2000 +#define RBS_VERTICALGRIPPER 0x4000 +#define RBS_DBLCLKTOGGLE 0x8000 + +/* Tool tips */ +#define TTS_ALWAYSTIP 0x01 +#define TTS_NOPREFIX 0x02 +#define TTS_NOANIMATE 0x10 +#define TTS_NOFADE 0x20 +#define TTS_BALLOON 0x40 +#define TTS_CLOSE 0x80 +#define TTS_USEVISUALSTYLE 0x100 + +/* Statusbar Control */ +#define SBARS_SIZEGRIP 0x0100 +#define SBARS_TOOLTIPS 0x0800 +#define SBT_TOOLTIPS 0x0800 + +/* Toolbar Control */ +#define TBS_AUTOTICKS 0x0001 +#define TBS_VERT 0x0002 +#define TBS_HORZ 0x0000 +#define TBS_TOP 0x0004 +#define TBS_BOTTOM 0x0000 +#define TBS_LEFT 0x0004 +#define TBS_RIGHT 0x0000 +#define TBS_BOTH 0x0008 +#define TBS_NOTICKS 0x0010 +#define TBS_ENABLESELRANGE 0x0020 +#define TBS_FIXEDLENGTH 0x0040 +#define TBS_NOTHUMB 0x0080 +#define TBS_TOOLTIPS 0x0100 +#define TBS_REVERSED 0x0200 +#define TBS_DOWNISLEFT 0x0400 +#define TBS_NOTIFYBEFOREREMOVE 0x0800 +#define TBS_TRANSPARENTBKGND 0x1000 + +/* UpDown Control */ +#define UDS_WRAP 0x0001 +#define UDS_SETBUDDYINT 0x0002 +#define UDS_ALIGNRIGHT 0x0004 +#define UDS_ALIGNLEFT 0x0008 +#define UDS_AUTOBUDDY 0x0010 +#define UDS_ARROWKEYS 0x0020 +#define UDS_HORZ 0x0040 +#define UDS_NOTHOUSANDS 0x0080 +#define UDS_HOTTRACK 0x0100 + +/* Progressbar Control */ +#define PBS_SMOOTH 0x01 +#define PBS_VERTICAL 0x04 +#define PBS_MARQUEE 0x08 +#define PBS_SMOOTHREVERSE 0x10 + +/* Common Control Styles */ +#define CCS_TOP __MSABI_LONG(0x00000001) +#define CCS_NOMOVEY __MSABI_LONG(0x00000002) +#define CCS_BOTTOM __MSABI_LONG(0x00000003) +#define CCS_NORESIZE __MSABI_LONG(0x00000004) +#define CCS_NOPARENTALIGN __MSABI_LONG(0x00000008) +#define CCS_ADJUSTABLE __MSABI_LONG(0x00000020) +#define CCS_NODIVIDER __MSABI_LONG(0x00000040) +#define CCS_VERT __MSABI_LONG(0x00000080) +#define CCS_LEFT (CCS_VERT | CCS_TOP) +#define CCS_RIGHT (CCS_VERT | CCS_BOTTOM) +#define CCS_NOMOVEX (CCS_VERT | CCS_NOMOVEY) + +/* Listview Control */ +#define LVS_ICON 0x0000 +#define LVS_REPORT 0x0001 +#define LVS_SMALLICON 0x0002 +#define LVS_LIST 0x0003 +#define LVS_TYPEMASK 0x0003 +#define LVS_SINGLESEL 0x0004 +#define LVS_SHOWSELALWAYS 0x0008 +#define LVS_SORTASCENDING 0x0010 +#define LVS_SORTDESCENDING 0x0020 +#define LVS_SHAREIMAGELISTS 0x0040 +#define LVS_NOLABELWRAP 0x0080 +#define LVS_AUTOARRANGE 0x0100 +#define LVS_EDITLABELS 0x0200 +#define LVS_OWNERDATA 0x1000 +#define LVS_NOSCROLL 0x2000 +#define LVS_TYPESTYLEMASK 0xfc00 +#define LVS_ALIGNTOP 0x0000 +#define LVS_ALIGNLEFT 0x0800 +#define LVS_ALIGNMASK 0x0c00 +#define LVS_OWNERDRAWFIXED 0x0400 +#define LVS_NOCOLUMNHEADER 0x4000 +#define LVS_NOSORTHEADER 0x8000 + +/* Treeview Control */ +#define TVS_HASBUTTONS 0x0001 +#define TVS_HASLINES 0x0002 +#define TVS_LINESATROOT 0x0004 +#define TVS_EDITLABELS 0x0008 +#define TVS_DISABLEDRAGDROP 0x0010 +#define TVS_SHOWSELALWAYS 0x0020 +#define TVS_RTLREADING 0x0040 +#define TVS_NOTOOLTIPS 0x0080 +#define TVS_CHECKBOXES 0x0100 +#define TVS_TRACKSELECT 0x0200 +#define TVS_SINGLEEXPAND 0x0400 +#define TVS_INFOTIP 0x0800 +#define TVS_FULLROWSELECT 0x1000 +#define TVS_NOSCROLL 0x2000 +#define TVS_NONEVENHEIGHT 0x4000 +#define TVS_NOHSCROLL 0x8000 + +/* Tab Control */ +#define TCS_SCROLLOPPOSITE 0x0001 /* assumes multiline tab */ +#define TCS_BOTTOM 0x0002 +#define TCS_RIGHT 0x0002 +#define TCS_MULTISELECT 0x0004 /* allow multi-select in button mode */ +#define TCS_FLATBUTTONS 0x0008 +#define TCS_FORCEICONLEFT 0x0010 +#define TCS_FORCELABELLEFT 0x0020 +#define TCS_HOTTRACK 0x0040 +#define TCS_VERTICAL 0x0080 +#define TCS_TABS 0x0000 +#define TCS_BUTTONS 0x0100 +#define TCS_SINGLELINE 0x0000 +#define TCS_MULTILINE 0x0200 +#define TCS_RIGHTJUSTIFY 0x0000 +#define TCS_FIXEDWIDTH 0x0400 +#define TCS_RAGGEDRIGHT 0x0800 +#define TCS_FOCUSONBUTTONDOWN 0x1000 +#define TCS_OWNERDRAWFIXED 0x2000 +#define TCS_TOOLTIPS 0x4000 +#define TCS_FOCUSNEVER 0x8000 + +/* Animate Control */ +#define ACS_CENTER 0x0001 +#define ACS_TRANSPARENT 0x0002 +#define ACS_AUTOPLAY 0x0004 +#define ACS_TIMER 0x0008 /* no threads, just timers */ + +/* Month Calendar Control */ +#define MCS_DAYSTATE 0x0001 +#define MCS_MULTISELECT 0x0002 +#define MCS_WEEKNUMBERS 0x0004 +#define MCS_NOTODAY 0x0010 +#define MCS_NOTODAYCIRCLE 0x0008 +#define MCS_NOTRAILINGDATES 0x0040 +#define MCS_SHORTDAYSOFWEEK 0x0080 +#define MCS_NOSELCHANGEONNAV 0x0100 + +/* Datetime Control */ +#define DTS_SHORTDATEFORMAT 0x0000 +#define DTS_UPDOWN 0x0001 +#define DTS_SHOWNONE 0x0002 +#define DTS_LONGDATEFORMAT 0x0004 +#define DTS_TIMEFORMAT 0x0009 +#define DTS_SHORTDATECENTURYFORMAT 0x000c +#define DTS_APPCANPARSE 0x0010 +#define DTS_RIGHTALIGN 0x0020 + +/* Pager Control */ +#define PGS_VERT 0x00000000 +#define PGS_HORZ 0x00000001 +#define PGS_AUTOSCROLL 0x00000002 +#define PGS_DRAGNDROP 0x00000004 + +/* Native Font Control */ +#define NFS_EDIT 0x0001 +#define NFS_STATIC 0x0002 +#define NFS_LISTCOMBO 0x0004 +#define NFS_BUTTON 0x0008 +#define NFS_ALL 0x0010 +#define NFS_USEFONTASSOC 0x0020 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commdlg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commdlg.h new file mode 100644 index 0000000..c059b19 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commdlg.h @@ -0,0 +1,842 @@ +/* + * COMMDLG - Common Wine Dialog ... :-) + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_COMMDLG_H +#define __WINE_COMMDLG_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#ifndef _WIN64 +#include +#endif + +#ifndef SNDMSG +#ifdef __cplusplus +#define SNDMSG ::SendMessage +#else /* __cplusplus */ +#define SNDMSG SendMessage +#endif /* __cplusplus */ +#endif /* SNDMSG */ + +#define OFN_READONLY 0x00000001 +#define OFN_OVERWRITEPROMPT 0x00000002 +#define OFN_HIDEREADONLY 0x00000004 +#define OFN_NOCHANGEDIR 0x00000008 +#define OFN_SHOWHELP 0x00000010 +#define OFN_ENABLEHOOK 0x00000020 +#define OFN_ENABLETEMPLATE 0x00000040 +#define OFN_ENABLETEMPLATEHANDLE 0x00000080 +#define OFN_NOVALIDATE 0x00000100 +#define OFN_ALLOWMULTISELECT 0x00000200 +#define OFN_EXTENSIONDIFFERENT 0x00000400 +#define OFN_PATHMUSTEXIST 0x00000800 +#define OFN_FILEMUSTEXIST 0x00001000 +#define OFN_CREATEPROMPT 0x00002000 +#define OFN_SHAREAWARE 0x00004000 +#define OFN_NOREADONLYRETURN 0x00008000 +#define OFN_NOTESTFILECREATE 0x00010000 +#define OFN_NONETWORKBUTTON 0x00020000 +#define OFN_NOLONGNAMES 0x00040000 +#define OFN_EXPLORER 0x00080000 +#define OFN_NODEREFERENCELINKS 0x00100000 +#define OFN_LONGNAMES 0x00200000 +#define OFN_ENABLEINCLUDENOTIFY 0x00400000 +#define OFN_ENABLESIZING 0x00800000 +#define OFN_DONTADDTORECENT 0x02000000 +#define OFN_FORCESHOWHIDDEN 0x10000000 + +#define OFN_SHAREFALLTHROUGH 2 +#define OFN_SHARENOWARN 1 +#define OFN_SHAREWARN 0 + +#define SAVE_DIALOG 1 +#define OPEN_DIALOG 2 + +typedef UINT_PTR (CALLBACK *LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM); + +typedef struct tagOFNA { + DWORD lStructSize; + HWND hwndOwner; + HINSTANCE hInstance; + LPCSTR lpstrFilter; + LPSTR lpstrCustomFilter; + DWORD nMaxCustFilter; + DWORD nFilterIndex; + LPSTR lpstrFile; + DWORD nMaxFile; + LPSTR lpstrFileTitle; + DWORD nMaxFileTitle; + LPCSTR lpstrInitialDir; + LPCSTR lpstrTitle; + DWORD Flags; + WORD nFileOffset; + WORD nFileExtension; + LPCSTR lpstrDefExt; + LPARAM lCustData; + LPOFNHOOKPROC lpfnHook; + LPCSTR lpTemplateName; + void *pvReserved; + DWORD dwReserved; + DWORD FlagsEx; +} OPENFILENAMEA,*LPOPENFILENAMEA; + +typedef struct tagOFNW { + DWORD lStructSize; + HWND hwndOwner; + HINSTANCE hInstance; + LPCWSTR lpstrFilter; + LPWSTR lpstrCustomFilter; + DWORD nMaxCustFilter; + DWORD nFilterIndex; + LPWSTR lpstrFile; + DWORD nMaxFile; + LPWSTR lpstrFileTitle; + DWORD nMaxFileTitle; + LPCWSTR lpstrInitialDir; + LPCWSTR lpstrTitle; + DWORD Flags; + WORD nFileOffset; + WORD nFileExtension; + LPCWSTR lpstrDefExt; + LPARAM lCustData; + LPOFNHOOKPROC lpfnHook; + LPCWSTR lpTemplateName; + void *pvReserved; + DWORD dwReserved; + DWORD FlagsEx; +} OPENFILENAMEW,*LPOPENFILENAMEW; + +DECL_WINELIB_TYPE_AW(OPENFILENAME) +DECL_WINELIB_TYPE_AW(LPOPENFILENAME) + +#ifndef CDSIZEOF_STRUCT +#define CDSIZEOF_STRUCT(type,field) ((INT_PTR)&(((type *)0)->field) + sizeof(((type*)0)->field)) +#endif + +#define OPENFILENAME_SIZE_VERSION_400A CDSIZEOF_STRUCT(OPENFILENAMEA,lpTemplateName) +#define OPENFILENAME_SIZE_VERSION_400W CDSIZEOF_STRUCT(OPENFILENAMEW,lpTemplateName) +#define OPENFILENAME_SIZE_VERSION_400 WINELIB_NAME_AW(OPENFILENAME_SIZE_VERSION_400) + + +typedef struct +{ + NMHDR hdr; + LPOPENFILENAMEA lpOFN; + LPSTR pszFile; +} OFNOTIFYA, *LPOFNOTIFYA; + +typedef struct +{ + NMHDR hdr; + LPOPENFILENAMEW lpOFN; + LPWSTR pszFile; +} OFNOTIFYW, *LPOFNOTIFYW; + +DECL_WINELIB_TYPE_AW(OFNOTIFY) +DECL_WINELIB_TYPE_AW(LPOFNOTIFY) + +typedef struct _OFNOTIFYEXA +{ + NMHDR hdr; + LPOPENFILENAMEA lpOFN; + LPVOID psf; + LPVOID pidl; +} OFNOTIFYEXA, *LPOFNOTIFYEXA; + +typedef struct _OFNOTIFYEXW +{ + NMHDR hdr; + LPOPENFILENAMEW lpOFN; + LPVOID psf; + LPVOID pidl; +} OFNOTIFYEXW, *LPOFNOTIFYEXW; + +DECL_WINELIB_TYPE_AW(OFNOTIFYEX) +DECL_WINELIB_TYPE_AW(LPOFNOTIFYEX) + +typedef UINT_PTR (CALLBACK *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM); + +typedef struct { + DWORD lStructSize; + HWND hwndOwner; + HWND hInstance; /* Should be an HINSTANCE but MS made a typo */ + COLORREF rgbResult; + COLORREF *lpCustColors; + DWORD Flags; + LPARAM lCustData; + LPCCHOOKPROC lpfnHook; + LPCSTR lpTemplateName; +} CHOOSECOLORA; +typedef CHOOSECOLORA *LPCHOOSECOLORA; + +typedef struct { + DWORD lStructSize; + HWND hwndOwner; + HWND hInstance; /* Should be an HINSTANCE but MS made a typo */ + COLORREF rgbResult; + COLORREF *lpCustColors; + DWORD Flags; + LPARAM lCustData; + LPCCHOOKPROC lpfnHook; + LPCWSTR lpTemplateName; +} CHOOSECOLORW; +typedef CHOOSECOLORW *LPCHOOSECOLORW; + +DECL_WINELIB_TYPE_AW(CHOOSECOLOR) +DECL_WINELIB_TYPE_AW(LPCHOOSECOLOR) + + +#define CC_RGBINIT 0x00000001 +#define CC_FULLOPEN 0x00000002 +#define CC_PREVENTFULLOPEN 0x00000004 +#define CC_SHOWHELP 0x00000008 +#define CC_ENABLEHOOK 0x00000010 +#define CC_ENABLETEMPLATE 0x00000020 +#define CC_ENABLETEMPLATEHANDLE 0x00000040 +#define CC_SOLIDCOLOR 0x00000080 +#define CC_ANYCOLOR 0x00000100 + +typedef UINT_PTR (CALLBACK *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM); + +typedef struct { + DWORD lStructSize; + HWND hwndOwner; + HINSTANCE hInstance; + DWORD Flags; + LPSTR lpstrFindWhat; + LPSTR lpstrReplaceWith; + WORD wFindWhatLen; + WORD wReplaceWithLen; + LPARAM lCustData; + LPFRHOOKPROC lpfnHook; + LPCSTR lpTemplateName; +} FINDREPLACEA, *LPFINDREPLACEA; + +typedef struct { + DWORD lStructSize; + HWND hwndOwner; + HINSTANCE hInstance; + DWORD Flags; + LPWSTR lpstrFindWhat; + LPWSTR lpstrReplaceWith; + WORD wFindWhatLen; + WORD wReplaceWithLen; + LPARAM lCustData; + LPFRHOOKPROC lpfnHook; + LPCWSTR lpTemplateName; +} FINDREPLACEW, *LPFINDREPLACEW; + +DECL_WINELIB_TYPE_AW(FINDREPLACE) +DECL_WINELIB_TYPE_AW(LPFINDREPLACE) + +#define FR_DOWN 0x00000001 +#define FR_WHOLEWORD 0x00000002 +#define FR_MATCHCASE 0x00000004 +#define FR_FINDNEXT 0x00000008 +#define FR_REPLACE 0x00000010 +#define FR_REPLACEALL 0x00000020 +#define FR_DIALOGTERM 0x00000040 +#define FR_SHOWHELP 0x00000080 +#define FR_ENABLEHOOK 0x00000100 +#define FR_ENABLETEMPLATE 0x00000200 +#define FR_NOUPDOWN 0x00000400 +#define FR_NOMATCHCASE 0x00000800 +#define FR_NOWHOLEWORD 0x00001000 +#define FR_ENABLETEMPLATEHANDLE 0x00002000 +#define FR_HIDEUPDOWN 0x00004000 +#define FR_HIDEMATCHCASE 0x00008000 +#define FR_HIDEWHOLEWORD 0x00010000 +#define FR_MATCHDIAC 0x20000000 +#define FR_MATCHKASHIDA 0x40000000 +#define FR_MATCHALEFHAMZA 0x80000000 + +typedef UINT_PTR (CALLBACK *LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM); + +typedef struct tagCHOOSEFONTA +{ + UINT lStructSize; + HWND hwndOwner; + HDC hDC; + LPLOGFONTA lpLogFont; + INT iPointSize; + DWORD Flags; + COLORREF rgbColors; + LPARAM lCustData; + LPCFHOOKPROC lpfnHook; + LPCSTR lpTemplateName; + HINSTANCE hInstance; + LPSTR lpszStyle; + WORD nFontType; + WORD ___MISSING_ALIGNMENT__; + INT nSizeMin; + INT nSizeMax; +} CHOOSEFONTA, *LPCHOOSEFONTA; + +typedef struct tagCHOOSEFONTW +{ + UINT lStructSize; + HWND hwndOwner; + HDC hDC; + LPLOGFONTW lpLogFont; + INT iPointSize; + DWORD Flags; + COLORREF rgbColors; + LPARAM lCustData; + LPCFHOOKPROC lpfnHook; + LPCWSTR lpTemplateName; + HINSTANCE hInstance; + LPWSTR lpszStyle; + WORD nFontType; + WORD ___MISSING_ALIGNMENT__; + INT nSizeMin; + INT nSizeMax; +} CHOOSEFONTW, *LPCHOOSEFONTW; + +DECL_WINELIB_TYPE_AW(CHOOSEFONT) +DECL_WINELIB_TYPE_AW(LPCHOOSEFONT) + +#define CF_SCREENFONTS 0x00000001 +#define CF_PRINTERFONTS 0x00000002 +#define CF_BOTH (CF_SCREENFONTS | CF_PRINTERFONTS) +#define CF_SHOWHELP __MSABI_LONG(0x00000004) +#define CF_ENABLEHOOK __MSABI_LONG(0x00000008) +#define CF_ENABLETEMPLATE __MSABI_LONG(0x00000010) +#define CF_ENABLETEMPLATEHANDLE __MSABI_LONG(0x00000020) +#define CF_INITTOLOGFONTSTRUCT __MSABI_LONG(0x00000040) +#define CF_USESTYLE __MSABI_LONG(0x00000080) +#define CF_EFFECTS __MSABI_LONG(0x00000100) +#define CF_APPLY __MSABI_LONG(0x00000200) +#define CF_ANSIONLY __MSABI_LONG(0x00000400) +#define CF_SCRIPTSONLY CF_ANSIONLY +#define CF_NOVECTORFONTS __MSABI_LONG(0x00000800) +#define CF_NOOEMFONTS CF_NOVECTORFONTS +#define CF_NOSIMULATIONS __MSABI_LONG(0x00001000) +#define CF_LIMITSIZE __MSABI_LONG(0x00002000) +#define CF_FIXEDPITCHONLY __MSABI_LONG(0x00004000) +#define CF_WYSIWYG __MSABI_LONG(0x00008000) /* use with CF_SCREENFONTS & CF_PRINTERFONTS */ +#define CF_FORCEFONTEXIST __MSABI_LONG(0x00010000) +#define CF_SCALABLEONLY __MSABI_LONG(0x00020000) +#define CF_TTONLY __MSABI_LONG(0x00040000) +#define CF_NOFACESEL __MSABI_LONG(0x00080000) +#define CF_NOSTYLESEL __MSABI_LONG(0x00100000) +#define CF_NOSIZESEL __MSABI_LONG(0x00200000) +#define CF_SELECTSCRIPT __MSABI_LONG(0x00400000) +#define CF_NOSCRIPTSEL __MSABI_LONG(0x00800000) +#define CF_NOVERTFONTS __MSABI_LONG(0x01000000) + +#define SIMULATED_FONTTYPE 0x8000 +#define PRINTER_FONTTYPE 0x4000 +#define SCREEN_FONTTYPE 0x2000 +#define BOLD_FONTTYPE 0x0100 +#define ITALIC_FONTTYPE 0x0200 +#define REGULAR_FONTTYPE 0x0400 + +#define WM_CHOOSEFONT_GETLOGFONT (WM_USER + 1) +#define WM_CHOOSEFONT_SETLOGFONT (WM_USER + 101) +#define WM_CHOOSEFONT_SETFLAGS (WM_USER + 102) + +#define LBSELCHSTRINGA "commdlg_LBSelChangedNotify" +#if defined(__GNUC__) +# define LBSELCHSTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'L','B','S','e','l','C','h','a','n','g','e','d','N','o','t','i','f','y',0 } +#elif defined(_MSC_VER) +# define LBSELCHSTRINGW L"commdlg_LBSelChangedNotify" +#else +static const WCHAR LBSELCHSTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'L','B','S','e','l','C','h','a','n','g','e','d','N','o','t','i','f','y',0 }; +#endif +#define LBSELCHSTRING WINELIB_NAME_AW(LBSELCHSTRING) + +#define SHAREVISTRINGA "commdlg_ShareViolation" +#if defined(__GNUC__) +# define SHAREVISTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'S','h','a','r','e','V','i','o','l','a','t','i','o','n',0 } +#elif defined(_MSC_VER) +# define SHAREVISTRINGW L"commdlg_ShareViolation" +#else +static const WCHAR SHAREVISTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'S','h','a','r','e','V','i','o','l','a','t','i','o','n',0 }; +#endif +#define SHAREVISTRING WINELIB_NAME_AW(SHAREVISTRING) + +#define FILEOKSTRINGA "commdlg_FileNameOK" +#if defined(__GNUC__) +# define FILEOKSTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'F','i','l','e','N','a','m','e','O','K',0 } +#elif defined(_MSC_VER) +# define FILEOKSTRINGW L"commdlg_FileNameOK" +#else +static const WCHAR FILEOKSTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'F','i','l','e','N','a','m','e','O','K',0 }; +#endif +#define FILEOKSTRING WINELIB_NAME_AW(FILEOKSTRING) + +#define COLOROKSTRINGA "commdlg_ColorOK" +#if defined(__GNUC__) +# define COLOROKSTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'C','o','l','o','r','O','K',0 } +#elif defined(_MSC_VER) +# define COLOROKSTRINGW L"commdlg_ColorOK" +#else +static const WCHAR COLOROKSTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'C','o','l','o','r','O','K',0 }; +#endif +#define COLOROKSTRING WINELIB_NAME_AW(COLOROKSTRING) + +#define SETRGBSTRINGA "commdlg_SetRGBColor" +#if defined(__GNUC__) +# define SETRGBSTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'S','e','t','R','G','B','C','o','l','o','r',0 } +#elif defined(_MSC_VER) +# define SETRGBSTRINGW L"commdlg_SetRGBColor" +#else +static const WCHAR SETRGBSTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'S','e','t','R','G','B','C','o','l','o','r',0 }; +#endif +#define SETRGBSTRING WINELIB_NAME_AW(SETRGBSTRING) + +#define FINDMSGSTRINGA "commdlg_FindReplace" +#if defined(__GNUC__) +# define FINDMSGSTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'F','i','n','d','R','e','p','l','a','c','e',0 } +#elif defined(_MSC_VER) +# define FINDMSGSTRINGW L"commdlg_FindReplace" +#else +static const WCHAR FINDMSGSTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'F','i','n','d','R','e','p','l','a','c','e',0 }; +#endif +#define FINDMSGSTRING WINELIB_NAME_AW(FINDMSGSTRING) + +#define HELPMSGSTRINGA "commdlg_help" +#if defined(__GNUC__) +# define HELPMSGSTRINGW (const WCHAR []){ 'c','o','m','m','d','l','g','_', \ + 'H','e','l','p',0 } +#elif defined(_MSC_VER) +# define HELPMSGSTRINGW L"commdlg_help" +#else +static const WCHAR HELPMSGSTRINGW[] = { 'c','o','m','m','d','l','g','_', + 'H','e','l','p',0 }; +#endif +#define HELPMSGSTRING WINELIB_NAME_AW(HELPMSGSTRING) + +#define CD_LBSELNOITEMS -1 +#define CD_LBSELCHANGE 0 +#define CD_LBSELSUB 1 +#define CD_LBSELADD 2 + +#define CDN_FIRST (0U-601U) +#define CDN_LAST (0U-699U) + +#define CDN_INITDONE (CDN_FIRST - 0x0000) +#define CDN_SELCHANGE (CDN_FIRST - 0x0001) +#define CDN_FOLDERCHANGE (CDN_FIRST - 0x0002) +#define CDN_SHAREVIOLATION (CDN_FIRST - 0x0003) +#define CDN_HELP (CDN_FIRST - 0x0004) +#define CDN_FILEOK (CDN_FIRST - 0x0005) +#define CDN_TYPECHANGE (CDN_FIRST - 0x0006) +#define CDN_INCLUDEITEM (CDN_FIRST - 0x0007) + +#define CDM_FIRST (WM_USER + 100) +#define CDM_LAST (WM_USER + 200) + +#define CDM_GETSPEC (CDM_FIRST + 0x0000) +#define CDM_GETFILEPATH (CDM_FIRST + 0x0001) +#define CDM_GETFOLDERPATH (CDM_FIRST + 0x0002) +#define CDM_GETFOLDERIDLIST (CDM_FIRST + 0x0003) +#define CDM_SETCONTROLTEXT (CDM_FIRST + 0x0004) +#define CDM_HIDECONTROL (CDM_FIRST + 0x0005) +#define CDM_SETDEFEXT (CDM_FIRST + 0x0006) + + +/* Messages to query information from the open or save dialogs */ + +#define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) +#define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) +#define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec) + +#define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) +#define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) +#define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath) + +#define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) +#define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) +#define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath) + +#define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl) + +#define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \ + (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text) + +#define CommDlg_OpenSave_HideControl(_hdlg, _id) \ + (void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0) + +#define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \ + (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext) + +#define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) +#define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) +#define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec) + +#define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) +#define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) +#define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath) + +#define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) +#define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) +#define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath) + +#define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \ + (int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl) + +#define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \ + (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text) + +#define CommDlg_OpenSave_HideControl(_hdlg, _id) \ + (void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0) + +#define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \ + (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext) + + +typedef UINT_PTR (CALLBACK *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM); +typedef UINT_PTR (CALLBACK *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM); + +typedef struct tagPDA +{ + DWORD lStructSize; + HWND hwndOwner; + HGLOBAL hDevMode; + HGLOBAL hDevNames; + HDC hDC; + DWORD Flags; + WORD nFromPage; + WORD nToPage; + WORD nMinPage; + WORD nMaxPage; + WORD nCopies; + HINSTANCE hInstance; + LPARAM lCustData; + LPPRINTHOOKPROC lpfnPrintHook; + LPSETUPHOOKPROC lpfnSetupHook; + LPCSTR lpPrintTemplateName; + LPCSTR lpSetupTemplateName; + HGLOBAL hPrintTemplate; + HGLOBAL hSetupTemplate; +} PRINTDLGA, *LPPRINTDLGA; + +typedef struct tagPDW +{ + DWORD lStructSize; + HWND hwndOwner; + HGLOBAL hDevMode; + HGLOBAL hDevNames; + HDC hDC; + DWORD Flags; + WORD nFromPage; + WORD nToPage; + WORD nMinPage; + WORD nMaxPage; + WORD nCopies; + HINSTANCE hInstance; + LPARAM lCustData; + LPPRINTHOOKPROC lpfnPrintHook; + LPSETUPHOOKPROC lpfnSetupHook; + LPCWSTR lpPrintTemplateName; + LPCWSTR lpSetupTemplateName; + HGLOBAL hPrintTemplate; + HGLOBAL hSetupTemplate; +} PRINTDLGW, *LPPRINTDLGW; + +DECL_WINELIB_TYPE_AW(PRINTDLG) +DECL_WINELIB_TYPE_AW(LPPRINTDLG) + +#define PD_ALLPAGES 0x00000000 +#define PD_SELECTION 0x00000001 +#define PD_PAGENUMS 0x00000002 +#define PD_NOSELECTION 0x00000004 +#define PD_NOPAGENUMS 0x00000008 +#define PD_COLLATE 0x00000010 +#define PD_PRINTTOFILE 0x00000020 +#define PD_PRINTSETUP 0x00000040 +#define PD_NOWARNING 0x00000080 +#define PD_RETURNDC 0x00000100 +#define PD_RETURNIC 0x00000200 +#define PD_RETURNDEFAULT 0x00000400 +#define PD_SHOWHELP 0x00000800 +#define PD_ENABLEPRINTHOOK 0x00001000 +#define PD_ENABLESETUPHOOK 0x00002000 +#define PD_ENABLEPRINTTEMPLATE 0x00004000 +#define PD_ENABLESETUPTEMPLATE 0x00008000 +#define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000 +#define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000 +#define PD_USEDEVMODECOPIES 0x00040000 +#define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000 +#define PD_DISABLEPRINTTOFILE 0x00080000 +#define PD_HIDEPRINTTOFILE 0x00100000 +#define PD_NONETWORKBUTTON 0x00200000 +#define PD_CURRENTPAGE 0x00400000 +#define PD_NOCURRENTPAGE 0x00800000 +#define PD_EXCLUSIONFLAGS 0x01000000 +#define PD_USELARGETEMPLATE 0x10000000 + + +#define PD_EXCL_COPIESANDCOLLATE (DM_COPIES | DM_COLLATE) + +#define START_PAGE_GENERAL 0xffffffff + +#define PD_RESULT_CANCEL 0 +#define PD_RESULT_PRINT 1 +#define PD_RESULT_APPLY 2 + +typedef struct +{ + WORD wDriverOffset; + WORD wDeviceOffset; + WORD wOutputOffset; + WORD wDefault; +} DEVNAMES; +typedef DEVNAMES * LPDEVNAMES; + +#define DN_DEFAULTPRN 0x0001 + +/* PageSetupDlg stuff ... */ +#define WM_PSD_PAGESETUPDLG (WM_USER ) +#define WM_PSD_FULLPAGERECT (WM_USER+1) +#define WM_PSD_MINMARGINRECT (WM_USER+2) +#define WM_PSD_MARGINRECT (WM_USER+3) +#define WM_PSD_GREEKTEXTRECT (WM_USER+4) +#define WM_PSD_ENVSTAMPRECT (WM_USER+5) +#define WM_PSD_YAFULLPAGERECT (WM_USER+6) + +typedef UINT (CALLBACK *LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM ); +typedef UINT (CALLBACK *LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM ); + +typedef struct tagPSDA +{ + DWORD lStructSize; + HWND hwndOwner; + HGLOBAL hDevMode; + HGLOBAL hDevNames; + DWORD Flags; + POINT ptPaperSize; + RECT rtMinMargin; + RECT rtMargin; + HINSTANCE hInstance; + LPARAM lCustData; + LPPAGESETUPHOOK lpfnPageSetupHook; + LPPAGEPAINTHOOK lpfnPagePaintHook; + LPCSTR lpPageSetupTemplateName; + HGLOBAL hPageSetupTemplate; +} PAGESETUPDLGA,*LPPAGESETUPDLGA; + +typedef struct tagPSDW +{ + DWORD lStructSize; + HWND hwndOwner; + HGLOBAL hDevMode; + HGLOBAL hDevNames; + DWORD Flags; + POINT ptPaperSize; + RECT rtMinMargin; + RECT rtMargin; + HINSTANCE hInstance; + LPARAM lCustData; + LPPAGESETUPHOOK lpfnPageSetupHook; + LPPAGEPAINTHOOK lpfnPagePaintHook; + LPCWSTR lpPageSetupTemplateName; + HGLOBAL hPageSetupTemplate; +} PAGESETUPDLGW,*LPPAGESETUPDLGW; +DECL_WINELIB_TYPE_AW(PAGESETUPDLG) +DECL_WINELIB_TYPE_AW(LPPAGESETUPDLG) + +#define PSD_DEFAULTMINMARGINS 0x00000000 +#define PSD_INWININIINTLMEASURE 0x00000000 + +#define PSD_MINMARGINS 0x00000001 +#define PSD_MARGINS 0x00000002 +#define PSD_INTHOUSANDTHSOFINCHES 0x00000004 +#define PSD_INHUNDREDTHSOFMILLIMETERS 0x00000008 +#define PSD_DISABLEMARGINS 0x00000010 +#define PSD_DISABLEPRINTER 0x00000020 +#define PSD_NOWARNING 0x00000080 +#define PSD_DISABLEORIENTATION 0x00000100 +#define PSD_RETURNDEFAULT 0x00000400 +#define PSD_DISABLEPAPER 0x00000200 +#define PSD_SHOWHELP 0x00000800 +#define PSD_ENABLEPAGESETUPHOOK 0x00002000 +#define PSD_ENABLEPAGESETUPTEMPLATE 0x00008000 +#define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x00020000 +#define PSD_ENABLEPAGEPAINTHOOK 0x00040000 +#define PSD_DISABLEPAGEPAINTING 0x00080000 +#define PSD_NONETWORKBUTTON 0x00200000 + +typedef struct tagPRINTPAGERANGE +{ + DWORD nFromPage; + DWORD nToPage; +} PRINTPAGERANGE, *LPPRINTPAGERANGE; + +typedef struct tagPDEXA +{ + DWORD lStructSize; + HWND hwndOwner; + HGLOBAL hDevMode; + HGLOBAL hDevNames; + HDC hDC; + DWORD Flags; + DWORD Flags2; + DWORD ExclusionFlags; + DWORD nPageRanges; + DWORD nMaxPageRanges; + LPPRINTPAGERANGE lpPageRanges; + DWORD nMinPage; + DWORD nMaxPage; + DWORD nCopies; + HINSTANCE hInstance; + LPCSTR lpPrintTemplateName; + void* /*LPUNKNOWN*/ lpCallback; + DWORD nPropertyPages; + HPROPSHEETPAGE* lphPropertyPages; + DWORD nStartPage; + DWORD dwResultAction; +} PRINTDLGEXA, *LPPRINTDLGEXA; + +typedef struct tagPDEXW +{ + DWORD lStructSize; + HWND hwndOwner; + HGLOBAL hDevMode; + HGLOBAL hDevNames; + HDC hDC; + DWORD Flags; + DWORD Flags2; + DWORD ExclusionFlags; + DWORD nPageRanges; + DWORD nMaxPageRanges; + LPPRINTPAGERANGE lpPageRanges; + DWORD nMinPage; + DWORD nMaxPage; + DWORD nCopies; + HINSTANCE hInstance; + LPCWSTR lpPrintTemplateName; + void* /*LPUNKNOWN*/ lpCallback; + DWORD nPropertyPages; + HPROPSHEETPAGE* lphPropertyPages; + DWORD nStartPage; + DWORD dwResultAction; +} PRINTDLGEXW, *LPPRINTDLGEXW; + +DECL_WINELIB_TYPE_AW(PRINTDLGEX) +DECL_WINELIB_TYPE_AW(LPPRINTDLGEX) + +#ifdef STDMETHOD + +DEFINE_GUID(IID_IPrintDialogCallback, 0x5852a2c3,0x6530,0x11d1,0xb6,0xa3,0x00,0x00,0xf8,0x75,0x7b,0xf9); +#define INTERFACE IPrintDialogCallback +DECLARE_INTERFACE_(IPrintDialogCallback,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID,void **) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IPrintDialogCallback methods ***/ + STDMETHOD(InitDone)(THIS) PURE; + STDMETHOD(SelectionChange)(THIS) PURE; + STDMETHOD(HandleMessage)(THIS_ HWND,UINT,WPARAM,LPARAM,LRESULT *) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_IPrintDialogServices, 0x509aaeda,0x5639,0x11d1,0xb6,0xa1,0x00,0x00,0xf8,0x75,0x7b,0xf9); +#define INTERFACE IPrintDialogServices +DECLARE_INTERFACE_(IPrintDialogServices,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID,void **) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IPrintDialogServices methods ***/ + STDMETHOD(GetCurrentDevMode)(THIS_ LPDEVMODEW,UINT *) PURE; + STDMETHOD(GetCurrentPrinterName)(THIS_ LPWSTR,UINT *) PURE; + STDMETHOD(GetCurrentPortName)(THIS_ LPWSTR,UINT *) PURE; +}; +#undef INTERFACE + +#endif /* STDMETHOD */ + +BOOL WINAPI ChooseColorA(LPCHOOSECOLORA lpChCol); +BOOL WINAPI ChooseColorW(LPCHOOSECOLORW lpChCol); +#define ChooseColor WINELIB_NAME_AW(ChooseColor) +DWORD WINAPI CommDlgExtendedError(void); +HWND WINAPI FindTextA(LPFINDREPLACEA lpFind); +HWND WINAPI FindTextW(LPFINDREPLACEW lpFind); +#define FindText WINELIB_NAME_AW(FindText) +short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf); +short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf); +#define GetFileTitle WINELIB_NAME_AW(GetFileTitle) +BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn); +BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn); +#define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName) +BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA ofn); +BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW ofn); +#define GetSaveFileName WINELIB_NAME_AW(GetSaveFileName) +BOOL WINAPI PageSetupDlgA( LPPAGESETUPDLGA ); +BOOL WINAPI PageSetupDlgW( LPPAGESETUPDLGW ); +#define PageSetupDlg WINELIB_NAME_AW(PageSetupDlg) +BOOL WINAPI PrintDlgA( LPPRINTDLGA printdlg); +BOOL WINAPI PrintDlgW( LPPRINTDLGW printdlg); +#define PrintDlg WINELIB_NAME_AW(PrintDlg) +HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA); +HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW); +#define PrintDlgEx WINELIB_NAME_AW(PrintDlgEx) +HWND WINAPI ReplaceTextA( LPFINDREPLACEA lpFind); +HWND WINAPI ReplaceTextW( LPFINDREPLACEW lpFind); +#define ReplaceText WINELIB_NAME_AW(ReplaceText) +BOOL WINAPI ChooseFontA(LPCHOOSEFONTA); +BOOL WINAPI ChooseFontW(LPCHOOSEFONTW); +#define ChooseFont WINELIB_NAME_AW(ChooseFont) + +void COMDLG32_SetCommDlgExtendedError(DWORD err); + + +#ifndef _WIN64 +#include +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_COMMDLG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commoncontrols.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commoncontrols.h new file mode 100644 index 0000000..4f5d36e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commoncontrols.h @@ -0,0 +1,1097 @@ +/*** Autogenerated by WIDL 2.18 from commoncontrols.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __commoncontrols_h__ +#define __commoncontrols_h__ + +/* Forward declarations */ + +#ifndef __IImageList_FWD_DEFINED__ +#define __IImageList_FWD_DEFINED__ +typedef interface IImageList IImageList; +#ifdef __cplusplus +interface IImageList; +#endif /* __cplusplus */ +#endif + +#ifndef __IImageList2_FWD_DEFINED__ +#define __IImageList2_FWD_DEFINED__ +typedef interface IImageList2 IImageList2; +#ifdef __cplusplus +interface IImageList2; +#endif /* __cplusplus */ +#endif + +#ifndef __ImageList_FWD_DEFINED__ +#define __ImageList_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ImageList ImageList; +#else +typedef struct ImageList ImageList; +#endif /* defined __cplusplus */ +#endif /* defined __ImageList_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef DWORD RGBQUAD; +typedef IUnknown *HIMAGELIST; +typedef struct __WIDL_commoncontrols_generated_name_00000011 { + HBITMAP hbmImage; + HBITMAP hbmMask; + int Unused1; + int Unused2; + RECT rcImage; +} IMAGEINFO; +typedef IMAGEINFO *LPIMAGEINFO; +typedef struct __WIDL_commoncontrols_generated_name_00000012 { + DWORD cbSize; + HIMAGELIST himl; + int i; + HDC hdcDst; + int x; + int y; + int cx; + int cy; + int xBitmap; + int yBitmap; + COLORREF rgbBk; + COLORREF rgbFg; + UINT fStyle; + DWORD dwRop; + DWORD fState; + DWORD Frame; + COLORREF crEffect; +} IMAGELISTDRAWPARAMS; +typedef IMAGELISTDRAWPARAMS *LPIMAGELISTDRAWPARAMS; +#endif +HRESULT WINAPI ImageList_CoCreateInstance(REFCLSID,const IUnknown *, REFIID,void **); +#define ILIF_ALPHA (1) + +/***************************************************************************** + * IImageList interface + */ +#ifndef __IImageList_INTERFACE_DEFINED__ +#define __IImageList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImageList, 0x46eb5926, 0x582e, 0x4017, 0x9f,0xdf, 0xe8,0x99,0x8d,0xaa,0x09,0x50); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("46eb5926-582e-4017-9fdf-e8998daa0950") +IImageList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Add( + HBITMAP hbmImage, + HBITMAP hbmMask, + int *pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReplaceIcon( + int i, + HICON hicon, + int *pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOverlayImage( + int iImage, + int iOverlay) = 0; + + virtual HRESULT STDMETHODCALLTYPE Replace( + int i, + HBITMAP hbmImage, + HBITMAP hbmMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMasked( + HBITMAP hbmImage, + COLORREF crMask, + int *pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE Draw( + IMAGELISTDRAWPARAMS *pimldp) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + int i) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIcon( + int i, + UINT flags, + HICON *picon) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImageInfo( + int i, + IMAGEINFO *pImageInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE Copy( + int iDst, + IUnknown *punkSrc, + int iSrc, + UINT uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Merge( + int i1, + IUnknown *punk2, + int i2, + int dx, + int dy, + REFIID riid, + PVOID *ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + REFIID riid, + PVOID *ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImageRect( + int i, + RECT *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIconSize( + int *cx, + int *cy) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIconSize( + int cx, + int cy) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImageCount( + int *pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetImageCount( + UINT uNewCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBkColor( + COLORREF clrBk, + COLORREF *pclr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBkColor( + COLORREF *pclr) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginDrag( + int iTrack, + int dxHotspot, + int dyHotspot) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndDrag( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragEnter( + HWND hwndLock, + int x, + int y) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragLeave( + HWND hwndLock) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragMove( + int x, + int y) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDragCursorImage( + IUnknown *punk, + int iDrag, + int dxHotspot, + int dyHotspot) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragShowNolock( + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDragImage( + POINT *ppt, + POINT *pptHotspot, + REFIID riid, + PVOID *ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemFlags( + int i, + DWORD *dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOverlayImage( + int iOverlay, + int *piIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImageList, 0x46eb5926, 0x582e, 0x4017, 0x9f,0xdf, 0xe8,0x99,0x8d,0xaa,0x09,0x50) +#endif +#else +typedef struct IImageListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImageList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImageList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImageList *This); + + /*** IImageList methods ***/ + HRESULT (STDMETHODCALLTYPE *Add)( + IImageList *This, + HBITMAP hbmImage, + HBITMAP hbmMask, + int *pi); + + HRESULT (STDMETHODCALLTYPE *ReplaceIcon)( + IImageList *This, + int i, + HICON hicon, + int *pi); + + HRESULT (STDMETHODCALLTYPE *SetOverlayImage)( + IImageList *This, + int iImage, + int iOverlay); + + HRESULT (STDMETHODCALLTYPE *Replace)( + IImageList *This, + int i, + HBITMAP hbmImage, + HBITMAP hbmMask); + + HRESULT (STDMETHODCALLTYPE *AddMasked)( + IImageList *This, + HBITMAP hbmImage, + COLORREF crMask, + int *pi); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IImageList *This, + IMAGELISTDRAWPARAMS *pimldp); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IImageList *This, + int i); + + HRESULT (STDMETHODCALLTYPE *GetIcon)( + IImageList *This, + int i, + UINT flags, + HICON *picon); + + HRESULT (STDMETHODCALLTYPE *GetImageInfo)( + IImageList *This, + int i, + IMAGEINFO *pImageInfo); + + HRESULT (STDMETHODCALLTYPE *Copy)( + IImageList *This, + int iDst, + IUnknown *punkSrc, + int iSrc, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *Merge)( + IImageList *This, + int i1, + IUnknown *punk2, + int i2, + int dx, + int dy, + REFIID riid, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IImageList *This, + REFIID riid, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *GetImageRect)( + IImageList *This, + int i, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *GetIconSize)( + IImageList *This, + int *cx, + int *cy); + + HRESULT (STDMETHODCALLTYPE *SetIconSize)( + IImageList *This, + int cx, + int cy); + + HRESULT (STDMETHODCALLTYPE *GetImageCount)( + IImageList *This, + int *pi); + + HRESULT (STDMETHODCALLTYPE *SetImageCount)( + IImageList *This, + UINT uNewCount); + + HRESULT (STDMETHODCALLTYPE *SetBkColor)( + IImageList *This, + COLORREF clrBk, + COLORREF *pclr); + + HRESULT (STDMETHODCALLTYPE *GetBkColor)( + IImageList *This, + COLORREF *pclr); + + HRESULT (STDMETHODCALLTYPE *BeginDrag)( + IImageList *This, + int iTrack, + int dxHotspot, + int dyHotspot); + + HRESULT (STDMETHODCALLTYPE *EndDrag)( + IImageList *This); + + HRESULT (STDMETHODCALLTYPE *DragEnter)( + IImageList *This, + HWND hwndLock, + int x, + int y); + + HRESULT (STDMETHODCALLTYPE *DragLeave)( + IImageList *This, + HWND hwndLock); + + HRESULT (STDMETHODCALLTYPE *DragMove)( + IImageList *This, + int x, + int y); + + HRESULT (STDMETHODCALLTYPE *SetDragCursorImage)( + IImageList *This, + IUnknown *punk, + int iDrag, + int dxHotspot, + int dyHotspot); + + HRESULT (STDMETHODCALLTYPE *DragShowNolock)( + IImageList *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *GetDragImage)( + IImageList *This, + POINT *ppt, + POINT *pptHotspot, + REFIID riid, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *GetItemFlags)( + IImageList *This, + int i, + DWORD *dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetOverlayImage)( + IImageList *This, + int iOverlay, + int *piIndex); + + END_INTERFACE +} IImageListVtbl; + +interface IImageList { + CONST_VTBL IImageListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImageList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImageList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImageList_Release(This) (This)->lpVtbl->Release(This) +/*** IImageList methods ***/ +#define IImageList_Add(This,hbmImage,hbmMask,pi) (This)->lpVtbl->Add(This,hbmImage,hbmMask,pi) +#define IImageList_ReplaceIcon(This,i,hicon,pi) (This)->lpVtbl->ReplaceIcon(This,i,hicon,pi) +#define IImageList_SetOverlayImage(This,iImage,iOverlay) (This)->lpVtbl->SetOverlayImage(This,iImage,iOverlay) +#define IImageList_Replace(This,i,hbmImage,hbmMask) (This)->lpVtbl->Replace(This,i,hbmImage,hbmMask) +#define IImageList_AddMasked(This,hbmImage,crMask,pi) (This)->lpVtbl->AddMasked(This,hbmImage,crMask,pi) +#define IImageList_Draw(This,pimldp) (This)->lpVtbl->Draw(This,pimldp) +#define IImageList_Remove(This,i) (This)->lpVtbl->Remove(This,i) +#define IImageList_GetIcon(This,i,flags,picon) (This)->lpVtbl->GetIcon(This,i,flags,picon) +#define IImageList_GetImageInfo(This,i,pImageInfo) (This)->lpVtbl->GetImageInfo(This,i,pImageInfo) +#define IImageList_Copy(This,iDst,punkSrc,iSrc,uFlags) (This)->lpVtbl->Copy(This,iDst,punkSrc,iSrc,uFlags) +#define IImageList_Merge(This,i1,punk2,i2,dx,dy,riid,ppv) (This)->lpVtbl->Merge(This,i1,punk2,i2,dx,dy,riid,ppv) +#define IImageList_Clone(This,riid,ppv) (This)->lpVtbl->Clone(This,riid,ppv) +#define IImageList_GetImageRect(This,i,prc) (This)->lpVtbl->GetImageRect(This,i,prc) +#define IImageList_GetIconSize(This,cx,cy) (This)->lpVtbl->GetIconSize(This,cx,cy) +#define IImageList_SetIconSize(This,cx,cy) (This)->lpVtbl->SetIconSize(This,cx,cy) +#define IImageList_GetImageCount(This,pi) (This)->lpVtbl->GetImageCount(This,pi) +#define IImageList_SetImageCount(This,uNewCount) (This)->lpVtbl->SetImageCount(This,uNewCount) +#define IImageList_SetBkColor(This,clrBk,pclr) (This)->lpVtbl->SetBkColor(This,clrBk,pclr) +#define IImageList_GetBkColor(This,pclr) (This)->lpVtbl->GetBkColor(This,pclr) +#define IImageList_BeginDrag(This,iTrack,dxHotspot,dyHotspot) (This)->lpVtbl->BeginDrag(This,iTrack,dxHotspot,dyHotspot) +#define IImageList_EndDrag(This) (This)->lpVtbl->EndDrag(This) +#define IImageList_DragEnter(This,hwndLock,x,y) (This)->lpVtbl->DragEnter(This,hwndLock,x,y) +#define IImageList_DragLeave(This,hwndLock) (This)->lpVtbl->DragLeave(This,hwndLock) +#define IImageList_DragMove(This,x,y) (This)->lpVtbl->DragMove(This,x,y) +#define IImageList_SetDragCursorImage(This,punk,iDrag,dxHotspot,dyHotspot) (This)->lpVtbl->SetDragCursorImage(This,punk,iDrag,dxHotspot,dyHotspot) +#define IImageList_DragShowNolock(This,fShow) (This)->lpVtbl->DragShowNolock(This,fShow) +#define IImageList_GetDragImage(This,ppt,pptHotspot,riid,ppv) (This)->lpVtbl->GetDragImage(This,ppt,pptHotspot,riid,ppv) +#define IImageList_GetItemFlags(This,i,dwFlags) (This)->lpVtbl->GetItemFlags(This,i,dwFlags) +#define IImageList_GetOverlayImage(This,iOverlay,piIndex) (This)->lpVtbl->GetOverlayImage(This,iOverlay,piIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImageList_QueryInterface(IImageList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImageList_AddRef(IImageList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImageList_Release(IImageList* This) { + return This->lpVtbl->Release(This); +} +/*** IImageList methods ***/ +static FORCEINLINE HRESULT IImageList_Add(IImageList* This,HBITMAP hbmImage,HBITMAP hbmMask,int *pi) { + return This->lpVtbl->Add(This,hbmImage,hbmMask,pi); +} +static FORCEINLINE HRESULT IImageList_ReplaceIcon(IImageList* This,int i,HICON hicon,int *pi) { + return This->lpVtbl->ReplaceIcon(This,i,hicon,pi); +} +static FORCEINLINE HRESULT IImageList_SetOverlayImage(IImageList* This,int iImage,int iOverlay) { + return This->lpVtbl->SetOverlayImage(This,iImage,iOverlay); +} +static FORCEINLINE HRESULT IImageList_Replace(IImageList* This,int i,HBITMAP hbmImage,HBITMAP hbmMask) { + return This->lpVtbl->Replace(This,i,hbmImage,hbmMask); +} +static FORCEINLINE HRESULT IImageList_AddMasked(IImageList* This,HBITMAP hbmImage,COLORREF crMask,int *pi) { + return This->lpVtbl->AddMasked(This,hbmImage,crMask,pi); +} +static FORCEINLINE HRESULT IImageList_Draw(IImageList* This,IMAGELISTDRAWPARAMS *pimldp) { + return This->lpVtbl->Draw(This,pimldp); +} +static FORCEINLINE HRESULT IImageList_Remove(IImageList* This,int i) { + return This->lpVtbl->Remove(This,i); +} +static FORCEINLINE HRESULT IImageList_GetIcon(IImageList* This,int i,UINT flags,HICON *picon) { + return This->lpVtbl->GetIcon(This,i,flags,picon); +} +static FORCEINLINE HRESULT IImageList_GetImageInfo(IImageList* This,int i,IMAGEINFO *pImageInfo) { + return This->lpVtbl->GetImageInfo(This,i,pImageInfo); +} +static FORCEINLINE HRESULT IImageList_Copy(IImageList* This,int iDst,IUnknown *punkSrc,int iSrc,UINT uFlags) { + return This->lpVtbl->Copy(This,iDst,punkSrc,iSrc,uFlags); +} +static FORCEINLINE HRESULT IImageList_Merge(IImageList* This,int i1,IUnknown *punk2,int i2,int dx,int dy,REFIID riid,PVOID *ppv) { + return This->lpVtbl->Merge(This,i1,punk2,i2,dx,dy,riid,ppv); +} +static FORCEINLINE HRESULT IImageList_Clone(IImageList* This,REFIID riid,PVOID *ppv) { + return This->lpVtbl->Clone(This,riid,ppv); +} +static FORCEINLINE HRESULT IImageList_GetImageRect(IImageList* This,int i,RECT *prc) { + return This->lpVtbl->GetImageRect(This,i,prc); +} +static FORCEINLINE HRESULT IImageList_GetIconSize(IImageList* This,int *cx,int *cy) { + return This->lpVtbl->GetIconSize(This,cx,cy); +} +static FORCEINLINE HRESULT IImageList_SetIconSize(IImageList* This,int cx,int cy) { + return This->lpVtbl->SetIconSize(This,cx,cy); +} +static FORCEINLINE HRESULT IImageList_GetImageCount(IImageList* This,int *pi) { + return This->lpVtbl->GetImageCount(This,pi); +} +static FORCEINLINE HRESULT IImageList_SetImageCount(IImageList* This,UINT uNewCount) { + return This->lpVtbl->SetImageCount(This,uNewCount); +} +static FORCEINLINE HRESULT IImageList_SetBkColor(IImageList* This,COLORREF clrBk,COLORREF *pclr) { + return This->lpVtbl->SetBkColor(This,clrBk,pclr); +} +static FORCEINLINE HRESULT IImageList_GetBkColor(IImageList* This,COLORREF *pclr) { + return This->lpVtbl->GetBkColor(This,pclr); +} +static FORCEINLINE HRESULT IImageList_BeginDrag(IImageList* This,int iTrack,int dxHotspot,int dyHotspot) { + return This->lpVtbl->BeginDrag(This,iTrack,dxHotspot,dyHotspot); +} +static FORCEINLINE HRESULT IImageList_EndDrag(IImageList* This) { + return This->lpVtbl->EndDrag(This); +} +static FORCEINLINE HRESULT IImageList_DragEnter(IImageList* This,HWND hwndLock,int x,int y) { + return This->lpVtbl->DragEnter(This,hwndLock,x,y); +} +static FORCEINLINE HRESULT IImageList_DragLeave(IImageList* This,HWND hwndLock) { + return This->lpVtbl->DragLeave(This,hwndLock); +} +static FORCEINLINE HRESULT IImageList_DragMove(IImageList* This,int x,int y) { + return This->lpVtbl->DragMove(This,x,y); +} +static FORCEINLINE HRESULT IImageList_SetDragCursorImage(IImageList* This,IUnknown *punk,int iDrag,int dxHotspot,int dyHotspot) { + return This->lpVtbl->SetDragCursorImage(This,punk,iDrag,dxHotspot,dyHotspot); +} +static FORCEINLINE HRESULT IImageList_DragShowNolock(IImageList* This,BOOL fShow) { + return This->lpVtbl->DragShowNolock(This,fShow); +} +static FORCEINLINE HRESULT IImageList_GetDragImage(IImageList* This,POINT *ppt,POINT *pptHotspot,REFIID riid,PVOID *ppv) { + return This->lpVtbl->GetDragImage(This,ppt,pptHotspot,riid,ppv); +} +static FORCEINLINE HRESULT IImageList_GetItemFlags(IImageList* This,int i,DWORD *dwFlags) { + return This->lpVtbl->GetItemFlags(This,i,dwFlags); +} +static FORCEINLINE HRESULT IImageList_GetOverlayImage(IImageList* This,int iOverlay,int *piIndex) { + return This->lpVtbl->GetOverlayImage(This,iOverlay,piIndex); +} +#endif +#endif + +#endif + + +#endif /* __IImageList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImageList2 interface + */ +#ifndef __IImageList2_INTERFACE_DEFINED__ +#define __IImageList2_INTERFACE_DEFINED__ + +typedef struct tagIMAGELISTSTATS { + DWORD cbSize; + INT cAlloc; + INT cUsed; + INT cStandby; +} IMAGELISTSTATS; +DEFINE_GUID(IID_IImageList2, 0x192b9d83, 0x50fc, 0x457b, 0x90,0xa0, 0x2b,0x82,0xa8,0xb5,0xda,0xe1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("192b9d83-50fc-457b-90a0-2b82a8b5dae1") +IImageList2 : public IImageList +{ + virtual HRESULT STDMETHODCALLTYPE Resize( + INT x_size, + INT y_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOriginalSize( + INT image, + DWORD flags, + INT *cx, + INT *cy) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOriginalSize( + INT image, + INT cx, + INT cy) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCallback( + IUnknown *callback) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCallback( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE ForceImagePresent( + INT image, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DiscardImages( + INT first_image, + INT last_image, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreloadImages( + IMAGELISTDRAWPARAMS *params) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatistics( + IMAGELISTSTATS *stats) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + INT cx, + INT cy, + UINT flags, + INT initial, + INT grow) = 0; + + virtual HRESULT STDMETHODCALLTYPE Replace2( + INT i, + HBITMAP image, + HBITMAP mask, + IUnknown *unk, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReplaceFromImageList( + INT i, + IImageList *imagelist, + INT src, + IUnknown *unk, + DWORD flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImageList2, 0x192b9d83, 0x50fc, 0x457b, 0x90,0xa0, 0x2b,0x82,0xa8,0xb5,0xda,0xe1) +#endif +#else +typedef struct IImageList2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImageList2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImageList2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImageList2 *This); + + /*** IImageList methods ***/ + HRESULT (STDMETHODCALLTYPE *Add)( + IImageList2 *This, + HBITMAP hbmImage, + HBITMAP hbmMask, + int *pi); + + HRESULT (STDMETHODCALLTYPE *ReplaceIcon)( + IImageList2 *This, + int i, + HICON hicon, + int *pi); + + HRESULT (STDMETHODCALLTYPE *SetOverlayImage)( + IImageList2 *This, + int iImage, + int iOverlay); + + HRESULT (STDMETHODCALLTYPE *Replace)( + IImageList2 *This, + int i, + HBITMAP hbmImage, + HBITMAP hbmMask); + + HRESULT (STDMETHODCALLTYPE *AddMasked)( + IImageList2 *This, + HBITMAP hbmImage, + COLORREF crMask, + int *pi); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IImageList2 *This, + IMAGELISTDRAWPARAMS *pimldp); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IImageList2 *This, + int i); + + HRESULT (STDMETHODCALLTYPE *GetIcon)( + IImageList2 *This, + int i, + UINT flags, + HICON *picon); + + HRESULT (STDMETHODCALLTYPE *GetImageInfo)( + IImageList2 *This, + int i, + IMAGEINFO *pImageInfo); + + HRESULT (STDMETHODCALLTYPE *Copy)( + IImageList2 *This, + int iDst, + IUnknown *punkSrc, + int iSrc, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *Merge)( + IImageList2 *This, + int i1, + IUnknown *punk2, + int i2, + int dx, + int dy, + REFIID riid, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IImageList2 *This, + REFIID riid, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *GetImageRect)( + IImageList2 *This, + int i, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *GetIconSize)( + IImageList2 *This, + int *cx, + int *cy); + + HRESULT (STDMETHODCALLTYPE *SetIconSize)( + IImageList2 *This, + int cx, + int cy); + + HRESULT (STDMETHODCALLTYPE *GetImageCount)( + IImageList2 *This, + int *pi); + + HRESULT (STDMETHODCALLTYPE *SetImageCount)( + IImageList2 *This, + UINT uNewCount); + + HRESULT (STDMETHODCALLTYPE *SetBkColor)( + IImageList2 *This, + COLORREF clrBk, + COLORREF *pclr); + + HRESULT (STDMETHODCALLTYPE *GetBkColor)( + IImageList2 *This, + COLORREF *pclr); + + HRESULT (STDMETHODCALLTYPE *BeginDrag)( + IImageList2 *This, + int iTrack, + int dxHotspot, + int dyHotspot); + + HRESULT (STDMETHODCALLTYPE *EndDrag)( + IImageList2 *This); + + HRESULT (STDMETHODCALLTYPE *DragEnter)( + IImageList2 *This, + HWND hwndLock, + int x, + int y); + + HRESULT (STDMETHODCALLTYPE *DragLeave)( + IImageList2 *This, + HWND hwndLock); + + HRESULT (STDMETHODCALLTYPE *DragMove)( + IImageList2 *This, + int x, + int y); + + HRESULT (STDMETHODCALLTYPE *SetDragCursorImage)( + IImageList2 *This, + IUnknown *punk, + int iDrag, + int dxHotspot, + int dyHotspot); + + HRESULT (STDMETHODCALLTYPE *DragShowNolock)( + IImageList2 *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *GetDragImage)( + IImageList2 *This, + POINT *ppt, + POINT *pptHotspot, + REFIID riid, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *GetItemFlags)( + IImageList2 *This, + int i, + DWORD *dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetOverlayImage)( + IImageList2 *This, + int iOverlay, + int *piIndex); + + /*** IImageList2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Resize)( + IImageList2 *This, + INT x_size, + INT y_size); + + HRESULT (STDMETHODCALLTYPE *GetOriginalSize)( + IImageList2 *This, + INT image, + DWORD flags, + INT *cx, + INT *cy); + + HRESULT (STDMETHODCALLTYPE *SetOriginalSize)( + IImageList2 *This, + INT image, + INT cx, + INT cy); + + HRESULT (STDMETHODCALLTYPE *SetCallback)( + IImageList2 *This, + IUnknown *callback); + + HRESULT (STDMETHODCALLTYPE *GetCallback)( + IImageList2 *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *ForceImagePresent)( + IImageList2 *This, + INT image, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *DiscardImages)( + IImageList2 *This, + INT first_image, + INT last_image, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *PreloadImages)( + IImageList2 *This, + IMAGELISTDRAWPARAMS *params); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IImageList2 *This, + IMAGELISTSTATS *stats); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IImageList2 *This, + INT cx, + INT cy, + UINT flags, + INT initial, + INT grow); + + HRESULT (STDMETHODCALLTYPE *Replace2)( + IImageList2 *This, + INT i, + HBITMAP image, + HBITMAP mask, + IUnknown *unk, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *ReplaceFromImageList)( + IImageList2 *This, + INT i, + IImageList *imagelist, + INT src, + IUnknown *unk, + DWORD flags); + + END_INTERFACE +} IImageList2Vtbl; + +interface IImageList2 { + CONST_VTBL IImageList2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImageList2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImageList2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImageList2_Release(This) (This)->lpVtbl->Release(This) +/*** IImageList methods ***/ +#define IImageList2_Add(This,hbmImage,hbmMask,pi) (This)->lpVtbl->Add(This,hbmImage,hbmMask,pi) +#define IImageList2_ReplaceIcon(This,i,hicon,pi) (This)->lpVtbl->ReplaceIcon(This,i,hicon,pi) +#define IImageList2_SetOverlayImage(This,iImage,iOverlay) (This)->lpVtbl->SetOverlayImage(This,iImage,iOverlay) +#define IImageList2_Replace(This,i,hbmImage,hbmMask) (This)->lpVtbl->Replace(This,i,hbmImage,hbmMask) +#define IImageList2_AddMasked(This,hbmImage,crMask,pi) (This)->lpVtbl->AddMasked(This,hbmImage,crMask,pi) +#define IImageList2_Draw(This,pimldp) (This)->lpVtbl->Draw(This,pimldp) +#define IImageList2_Remove(This,i) (This)->lpVtbl->Remove(This,i) +#define IImageList2_GetIcon(This,i,flags,picon) (This)->lpVtbl->GetIcon(This,i,flags,picon) +#define IImageList2_GetImageInfo(This,i,pImageInfo) (This)->lpVtbl->GetImageInfo(This,i,pImageInfo) +#define IImageList2_Copy(This,iDst,punkSrc,iSrc,uFlags) (This)->lpVtbl->Copy(This,iDst,punkSrc,iSrc,uFlags) +#define IImageList2_Merge(This,i1,punk2,i2,dx,dy,riid,ppv) (This)->lpVtbl->Merge(This,i1,punk2,i2,dx,dy,riid,ppv) +#define IImageList2_Clone(This,riid,ppv) (This)->lpVtbl->Clone(This,riid,ppv) +#define IImageList2_GetImageRect(This,i,prc) (This)->lpVtbl->GetImageRect(This,i,prc) +#define IImageList2_GetIconSize(This,cx,cy) (This)->lpVtbl->GetIconSize(This,cx,cy) +#define IImageList2_SetIconSize(This,cx,cy) (This)->lpVtbl->SetIconSize(This,cx,cy) +#define IImageList2_GetImageCount(This,pi) (This)->lpVtbl->GetImageCount(This,pi) +#define IImageList2_SetImageCount(This,uNewCount) (This)->lpVtbl->SetImageCount(This,uNewCount) +#define IImageList2_SetBkColor(This,clrBk,pclr) (This)->lpVtbl->SetBkColor(This,clrBk,pclr) +#define IImageList2_GetBkColor(This,pclr) (This)->lpVtbl->GetBkColor(This,pclr) +#define IImageList2_BeginDrag(This,iTrack,dxHotspot,dyHotspot) (This)->lpVtbl->BeginDrag(This,iTrack,dxHotspot,dyHotspot) +#define IImageList2_EndDrag(This) (This)->lpVtbl->EndDrag(This) +#define IImageList2_DragEnter(This,hwndLock,x,y) (This)->lpVtbl->DragEnter(This,hwndLock,x,y) +#define IImageList2_DragLeave(This,hwndLock) (This)->lpVtbl->DragLeave(This,hwndLock) +#define IImageList2_DragMove(This,x,y) (This)->lpVtbl->DragMove(This,x,y) +#define IImageList2_SetDragCursorImage(This,punk,iDrag,dxHotspot,dyHotspot) (This)->lpVtbl->SetDragCursorImage(This,punk,iDrag,dxHotspot,dyHotspot) +#define IImageList2_DragShowNolock(This,fShow) (This)->lpVtbl->DragShowNolock(This,fShow) +#define IImageList2_GetDragImage(This,ppt,pptHotspot,riid,ppv) (This)->lpVtbl->GetDragImage(This,ppt,pptHotspot,riid,ppv) +#define IImageList2_GetItemFlags(This,i,dwFlags) (This)->lpVtbl->GetItemFlags(This,i,dwFlags) +#define IImageList2_GetOverlayImage(This,iOverlay,piIndex) (This)->lpVtbl->GetOverlayImage(This,iOverlay,piIndex) +/*** IImageList2 methods ***/ +#define IImageList2_Resize(This,x_size,y_size) (This)->lpVtbl->Resize(This,x_size,y_size) +#define IImageList2_GetOriginalSize(This,image,flags,cx,cy) (This)->lpVtbl->GetOriginalSize(This,image,flags,cx,cy) +#define IImageList2_SetOriginalSize(This,image,cx,cy) (This)->lpVtbl->SetOriginalSize(This,image,cx,cy) +#define IImageList2_SetCallback(This,callback) (This)->lpVtbl->SetCallback(This,callback) +#define IImageList2_GetCallback(This,riid,ppv) (This)->lpVtbl->GetCallback(This,riid,ppv) +#define IImageList2_ForceImagePresent(This,image,flags) (This)->lpVtbl->ForceImagePresent(This,image,flags) +#define IImageList2_DiscardImages(This,first_image,last_image,flags) (This)->lpVtbl->DiscardImages(This,first_image,last_image,flags) +#define IImageList2_PreloadImages(This,params) (This)->lpVtbl->PreloadImages(This,params) +#define IImageList2_GetStatistics(This,stats) (This)->lpVtbl->GetStatistics(This,stats) +#define IImageList2_Initialize(This,cx,cy,flags,initial,grow) (This)->lpVtbl->Initialize(This,cx,cy,flags,initial,grow) +#define IImageList2_Replace2(This,i,image,mask,unk,flags) (This)->lpVtbl->Replace2(This,i,image,mask,unk,flags) +#define IImageList2_ReplaceFromImageList(This,i,imagelist,src,unk,flags) (This)->lpVtbl->ReplaceFromImageList(This,i,imagelist,src,unk,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImageList2_QueryInterface(IImageList2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImageList2_AddRef(IImageList2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImageList2_Release(IImageList2* This) { + return This->lpVtbl->Release(This); +} +/*** IImageList methods ***/ +static FORCEINLINE HRESULT IImageList2_Add(IImageList2* This,HBITMAP hbmImage,HBITMAP hbmMask,int *pi) { + return This->lpVtbl->Add(This,hbmImage,hbmMask,pi); +} +static FORCEINLINE HRESULT IImageList2_ReplaceIcon(IImageList2* This,int i,HICON hicon,int *pi) { + return This->lpVtbl->ReplaceIcon(This,i,hicon,pi); +} +static FORCEINLINE HRESULT IImageList2_SetOverlayImage(IImageList2* This,int iImage,int iOverlay) { + return This->lpVtbl->SetOverlayImage(This,iImage,iOverlay); +} +static FORCEINLINE HRESULT IImageList2_Replace(IImageList2* This,int i,HBITMAP hbmImage,HBITMAP hbmMask) { + return This->lpVtbl->Replace(This,i,hbmImage,hbmMask); +} +static FORCEINLINE HRESULT IImageList2_AddMasked(IImageList2* This,HBITMAP hbmImage,COLORREF crMask,int *pi) { + return This->lpVtbl->AddMasked(This,hbmImage,crMask,pi); +} +static FORCEINLINE HRESULT IImageList2_Draw(IImageList2* This,IMAGELISTDRAWPARAMS *pimldp) { + return This->lpVtbl->Draw(This,pimldp); +} +static FORCEINLINE HRESULT IImageList2_Remove(IImageList2* This,int i) { + return This->lpVtbl->Remove(This,i); +} +static FORCEINLINE HRESULT IImageList2_GetIcon(IImageList2* This,int i,UINT flags,HICON *picon) { + return This->lpVtbl->GetIcon(This,i,flags,picon); +} +static FORCEINLINE HRESULT IImageList2_GetImageInfo(IImageList2* This,int i,IMAGEINFO *pImageInfo) { + return This->lpVtbl->GetImageInfo(This,i,pImageInfo); +} +static FORCEINLINE HRESULT IImageList2_Copy(IImageList2* This,int iDst,IUnknown *punkSrc,int iSrc,UINT uFlags) { + return This->lpVtbl->Copy(This,iDst,punkSrc,iSrc,uFlags); +} +static FORCEINLINE HRESULT IImageList2_Merge(IImageList2* This,int i1,IUnknown *punk2,int i2,int dx,int dy,REFIID riid,PVOID *ppv) { + return This->lpVtbl->Merge(This,i1,punk2,i2,dx,dy,riid,ppv); +} +static FORCEINLINE HRESULT IImageList2_Clone(IImageList2* This,REFIID riid,PVOID *ppv) { + return This->lpVtbl->Clone(This,riid,ppv); +} +static FORCEINLINE HRESULT IImageList2_GetImageRect(IImageList2* This,int i,RECT *prc) { + return This->lpVtbl->GetImageRect(This,i,prc); +} +static FORCEINLINE HRESULT IImageList2_GetIconSize(IImageList2* This,int *cx,int *cy) { + return This->lpVtbl->GetIconSize(This,cx,cy); +} +static FORCEINLINE HRESULT IImageList2_SetIconSize(IImageList2* This,int cx,int cy) { + return This->lpVtbl->SetIconSize(This,cx,cy); +} +static FORCEINLINE HRESULT IImageList2_GetImageCount(IImageList2* This,int *pi) { + return This->lpVtbl->GetImageCount(This,pi); +} +static FORCEINLINE HRESULT IImageList2_SetImageCount(IImageList2* This,UINT uNewCount) { + return This->lpVtbl->SetImageCount(This,uNewCount); +} +static FORCEINLINE HRESULT IImageList2_SetBkColor(IImageList2* This,COLORREF clrBk,COLORREF *pclr) { + return This->lpVtbl->SetBkColor(This,clrBk,pclr); +} +static FORCEINLINE HRESULT IImageList2_GetBkColor(IImageList2* This,COLORREF *pclr) { + return This->lpVtbl->GetBkColor(This,pclr); +} +static FORCEINLINE HRESULT IImageList2_BeginDrag(IImageList2* This,int iTrack,int dxHotspot,int dyHotspot) { + return This->lpVtbl->BeginDrag(This,iTrack,dxHotspot,dyHotspot); +} +static FORCEINLINE HRESULT IImageList2_EndDrag(IImageList2* This) { + return This->lpVtbl->EndDrag(This); +} +static FORCEINLINE HRESULT IImageList2_DragEnter(IImageList2* This,HWND hwndLock,int x,int y) { + return This->lpVtbl->DragEnter(This,hwndLock,x,y); +} +static FORCEINLINE HRESULT IImageList2_DragLeave(IImageList2* This,HWND hwndLock) { + return This->lpVtbl->DragLeave(This,hwndLock); +} +static FORCEINLINE HRESULT IImageList2_DragMove(IImageList2* This,int x,int y) { + return This->lpVtbl->DragMove(This,x,y); +} +static FORCEINLINE HRESULT IImageList2_SetDragCursorImage(IImageList2* This,IUnknown *punk,int iDrag,int dxHotspot,int dyHotspot) { + return This->lpVtbl->SetDragCursorImage(This,punk,iDrag,dxHotspot,dyHotspot); +} +static FORCEINLINE HRESULT IImageList2_DragShowNolock(IImageList2* This,BOOL fShow) { + return This->lpVtbl->DragShowNolock(This,fShow); +} +static FORCEINLINE HRESULT IImageList2_GetDragImage(IImageList2* This,POINT *ppt,POINT *pptHotspot,REFIID riid,PVOID *ppv) { + return This->lpVtbl->GetDragImage(This,ppt,pptHotspot,riid,ppv); +} +static FORCEINLINE HRESULT IImageList2_GetItemFlags(IImageList2* This,int i,DWORD *dwFlags) { + return This->lpVtbl->GetItemFlags(This,i,dwFlags); +} +static FORCEINLINE HRESULT IImageList2_GetOverlayImage(IImageList2* This,int iOverlay,int *piIndex) { + return This->lpVtbl->GetOverlayImage(This,iOverlay,piIndex); +} +/*** IImageList2 methods ***/ +static FORCEINLINE HRESULT IImageList2_Resize(IImageList2* This,INT x_size,INT y_size) { + return This->lpVtbl->Resize(This,x_size,y_size); +} +static FORCEINLINE HRESULT IImageList2_GetOriginalSize(IImageList2* This,INT image,DWORD flags,INT *cx,INT *cy) { + return This->lpVtbl->GetOriginalSize(This,image,flags,cx,cy); +} +static FORCEINLINE HRESULT IImageList2_SetOriginalSize(IImageList2* This,INT image,INT cx,INT cy) { + return This->lpVtbl->SetOriginalSize(This,image,cx,cy); +} +static FORCEINLINE HRESULT IImageList2_SetCallback(IImageList2* This,IUnknown *callback) { + return This->lpVtbl->SetCallback(This,callback); +} +static FORCEINLINE HRESULT IImageList2_GetCallback(IImageList2* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetCallback(This,riid,ppv); +} +static FORCEINLINE HRESULT IImageList2_ForceImagePresent(IImageList2* This,INT image,DWORD flags) { + return This->lpVtbl->ForceImagePresent(This,image,flags); +} +static FORCEINLINE HRESULT IImageList2_DiscardImages(IImageList2* This,INT first_image,INT last_image,DWORD flags) { + return This->lpVtbl->DiscardImages(This,first_image,last_image,flags); +} +static FORCEINLINE HRESULT IImageList2_PreloadImages(IImageList2* This,IMAGELISTDRAWPARAMS *params) { + return This->lpVtbl->PreloadImages(This,params); +} +static FORCEINLINE HRESULT IImageList2_GetStatistics(IImageList2* This,IMAGELISTSTATS *stats) { + return This->lpVtbl->GetStatistics(This,stats); +} +static FORCEINLINE HRESULT IImageList2_Initialize(IImageList2* This,INT cx,INT cy,UINT flags,INT initial,INT grow) { + return This->lpVtbl->Initialize(This,cx,cy,flags,initial,grow); +} +static FORCEINLINE HRESULT IImageList2_Replace2(IImageList2* This,INT i,HBITMAP image,HBITMAP mask,IUnknown *unk,DWORD flags) { + return This->lpVtbl->Replace2(This,i,image,mask,unk,flags); +} +static FORCEINLINE HRESULT IImageList2_ReplaceFromImageList(IImageList2* This,INT i,IImageList *imagelist,INT src,IUnknown *unk,DWORD flags) { + return This->lpVtbl->ReplaceFromImageList(This,i,imagelist,src,unk,flags); +} +#endif +#endif + +#endif + + +#endif /* __IImageList2_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_CommonControlObjects, 0xbcada15b, 0xb428, 0x420c, 0x8d,0x28, 0x02,0x35,0x90,0x92,0x4c,0x9f); + +/***************************************************************************** + * ImageList coclass + */ + +DEFINE_GUID(CLSID_ImageList, 0x7c476ba2, 0x02b1, 0x48f4, 0x80,0x48, 0xb2,0x46,0x19,0xdd,0xc0,0x58); + +#ifdef __cplusplus +class DECLSPEC_UUID("7c476ba2-02b1-48f4-8048-b24619ddc058") ImageList; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ImageList, 0x7c476ba2, 0x02b1, 0x48f4, 0x80,0x48, 0xb2,0x46,0x19,0xdd,0xc0,0x58) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __commoncontrols_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commoncontrols.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commoncontrols.idl new file mode 100644 index 0000000..8cfcb56 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/commoncontrols.idl @@ -0,0 +1,241 @@ +/* + * Common controls v6 interface definitions + * + * Copyright 2009 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +/* Definitions required for widl, but already defined in commctrl.h for C */ +cpp_quote("#if 0") +typedef DWORD RGBQUAD; +typedef IUnknown* HIMAGELIST; + +typedef struct +{ + HBITMAP hbmImage; + HBITMAP hbmMask; + int Unused1; + int Unused2; + RECT rcImage; +} IMAGEINFO; + +typedef IMAGEINFO* LPIMAGEINFO; + +typedef struct +{ + DWORD cbSize; + HIMAGELIST himl; + int i; + HDC hdcDst; + int x; + int y; + int cx; + int cy; + int xBitmap; + int yBitmap; + COLORREF rgbBk; + COLORREF rgbFg; + UINT fStyle; + DWORD dwRop; + DWORD fState; + DWORD Frame; + COLORREF crEffect; +} IMAGELISTDRAWPARAMS; + +typedef IMAGELISTDRAWPARAMS* LPIMAGELISTDRAWPARAMS; +cpp_quote("#endif") + +cpp_quote("HRESULT WINAPI ImageList_CoCreateInstance(REFCLSID,const IUnknown *, REFIID,void **);") + +const UINT ILIF_ALPHA = 1; + +[ + uuid(46eb5926-582e-4017-9fdf-e8998daa0950), + local +] +interface IImageList : IUnknown +{ + HRESULT Add( + [in] HBITMAP hbmImage, + [in] HBITMAP hbmMask, + [out] int* pi); + + HRESULT ReplaceIcon( + [in] int i, + [in] HICON hicon, + [out] int* pi); + + HRESULT SetOverlayImage( + [in] int iImage, + [in] int iOverlay); + + HRESULT Replace( + [in] int i, + [in] HBITMAP hbmImage, + [in] HBITMAP hbmMask); + + HRESULT AddMasked( + [in] HBITMAP hbmImage, + [in] COLORREF crMask, + [out] int* pi); + + HRESULT Draw( + [in] IMAGELISTDRAWPARAMS* pimldp); + + HRESULT Remove( + [in] int i); + + HRESULT GetIcon( + [in] int i, + [in] UINT flags, + [out] HICON* picon); + + HRESULT GetImageInfo( + [in] int i, + [out] IMAGEINFO* pImageInfo); + + HRESULT Copy( + [in] int iDst, + [in] IUnknown* punkSrc, + [in] int iSrc, + [in] UINT uFlags); + + HRESULT Merge( + [in] int i1, + [in] IUnknown* punk2, + [in] int i2, + [in] int dx, + [in] int dy, + [out] REFIID riid, + [out] PVOID* ppv); + + HRESULT Clone( + [in] REFIID riid, + [out] PVOID* ppv); + + HRESULT GetImageRect( + [in] int i, + [out] RECT* prc); + + HRESULT GetIconSize( + [out] int* cx, + [out] int* cy); + + HRESULT SetIconSize( + [in] int cx, + [in] int cy); + + HRESULT GetImageCount( + [out] int* pi); + + HRESULT SetImageCount( + [in] UINT uNewCount); + + HRESULT SetBkColor( + [in] COLORREF clrBk, + [out] COLORREF* pclr); + + HRESULT GetBkColor( + [out] COLORREF* pclr); + + HRESULT BeginDrag( + [in] int iTrack, + [in] int dxHotspot, + [in] int dyHotspot); + + HRESULT EndDrag(); + + HRESULT DragEnter( + [in] HWND hwndLock, + [in] int x, + [in] int y); + + HRESULT DragLeave( + [in] HWND hwndLock); + + HRESULT DragMove( + [in] int x, + [in] int y); + + HRESULT SetDragCursorImage( + [in] IUnknown* punk, + [in] int iDrag, + [in] int dxHotspot, + [in] int dyHotspot); + + HRESULT DragShowNolock( + [in] BOOL fShow); + + HRESULT GetDragImage( + [out] POINT * ppt, + [out] POINT * pptHotspot, + [out] REFIID riid, + [out] PVOID* ppv); + + HRESULT GetItemFlags( + [in] int i, + [out] DWORD *dwFlags); + + HRESULT GetOverlayImage( + [in] int iOverlay, + [out] int* piIndex); +} + +[ + uuid(192b9d83-50fc-457b-90a0-2b82a8b5dae1), + local +] +interface IImageList2 : IImageList +{ + typedef struct tagIMAGELISTSTATS + { + DWORD cbSize; + INT cAlloc; + INT cUsed; + INT cStandby; + } IMAGELISTSTATS; + + HRESULT Resize(INT x_size, INT y_size); + HRESULT GetOriginalSize([in] INT image, [in] DWORD flags, [out] INT *cx, [out] INT *cy); + HRESULT SetOriginalSize([in] INT image, [in] INT cx, [in] INT cy); + HRESULT SetCallback([in, unique] IUnknown *callback); + HRESULT GetCallback([in] REFIID riid, [out, iid_is(riid)] void** ppv); + HRESULT ForceImagePresent([in] INT image, DWORD flags); + HRESULT DiscardImages([in] INT first_image, [in] INT last_image, [in] DWORD flags); + HRESULT PreloadImages([in] IMAGELISTDRAWPARAMS *params); + HRESULT GetStatistics([in, out] IMAGELISTSTATS *stats); + HRESULT Initialize([in] INT cx, [in] INT cy, [in] UINT flags, [in] INT initial, [in] INT grow); + HRESULT Replace2([in] INT i, [in] HBITMAP image, [in, unique] HBITMAP mask, [in, unique] IUnknown *unk, [in] DWORD flags); + HRESULT ReplaceFromImageList([in] INT i, [in] IImageList *imagelist, [in] INT src, [in, unique] IUnknown *unk, [in] DWORD flags); +} + +[ + uuid(bcada15B-b428-420c-8d28-023590924c9f) +] +library CommonControlObjects +{ + [ + uuid(7c476ba2-02b1-48f4-8048-b24619ddc058) + ] + coclass ImageList + { + interface IImageList; + interface IImageList2; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/compobj.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/compobj.h new file mode 100644 index 0000000..f644f1a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/compobj.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2000 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_COMPOBJ_H +#define __WINE_COMPOBJ_H + +/* compobj.h is just a synonym for objbase.h */ +#include + +#endif /* __WINE_COMPOBJ_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comsvcs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comsvcs.h new file mode 100644 index 0000000..de93608 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comsvcs.h @@ -0,0 +1,492 @@ +/*** Autogenerated by WIDL 2.18 from comsvcs.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __comsvcs_h__ +#define __comsvcs_h__ + +/* Forward declarations */ + +#ifndef __IHolder_FWD_DEFINED__ +#define __IHolder_FWD_DEFINED__ +typedef interface IHolder IHolder; +#ifdef __cplusplus +interface IHolder; +#endif /* __cplusplus */ +#endif + +#ifndef __IDispenserDriver_FWD_DEFINED__ +#define __IDispenserDriver_FWD_DEFINED__ +typedef interface IDispenserDriver IDispenserDriver; +#ifdef __cplusplus +interface IDispenserDriver; +#endif /* __cplusplus */ +#endif + +#ifndef __IDispenserManager_FWD_DEFINED__ +#define __IDispenserManager_FWD_DEFINED__ +typedef interface IDispenserManager IDispenserManager; +#ifdef __cplusplus +interface IDispenserManager; +#endif /* __cplusplus */ +#endif + +#ifndef __DispenserManager_FWD_DEFINED__ +#define __DispenserManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DispenserManager DispenserManager; +#else +typedef struct DispenserManager DispenserManager; +#endif /* defined __cplusplus */ +#endif /* defined __DispenserManager_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef DWORD_PTR INSTID; +typedef DWORD_PTR RESID; +typedef DWORD RESOURCERATING; +typedef DWORD_PTR RESTYPID; +typedef LPOLESTR SRESID; +typedef LONG TIMEINSECS; +typedef DWORD_PTR TRANSID; + +DEFINE_GUID(LIBID_COMSVCSLib, 0x2a005c00, 0xa5de, 0x11cf, 0x9e,0x66, 0x00,0xaa,0x00,0xa3,0xf4,0x64); + +/***************************************************************************** + * IHolder interface + */ +#ifndef __IHolder_INTERFACE_DEFINED__ +#define __IHolder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHolder, 0xbf6a1850, 0x2b45, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bf6a1850-2b45-11cf-be10-00aa00a2fa25") +IHolder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AllocResource( + const RESTYPID typeid, + RESID *resid) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeResource( + const RESID _resid) = 0; + + virtual HRESULT STDMETHODCALLTYPE TrackResource( + const RESID resid) = 0; + + virtual HRESULT STDMETHODCALLTYPE TrackResourceS( + const SRESID resid) = 0; + + virtual HRESULT STDMETHODCALLTYPE UntrackResource( + const RESID resid, + const BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE UntrackResourceS( + const SRESID resid, + const BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestDestroyResource( + const RESID resid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHolder, 0xbf6a1850, 0x2b45, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25) +#endif +#else +typedef struct IHolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHolder *This); + + /*** IHolder methods ***/ + HRESULT (STDMETHODCALLTYPE *AllocResource)( + IHolder *This, + const RESTYPID typeid, + RESID *resid); + + HRESULT (STDMETHODCALLTYPE *FreeResource)( + IHolder *This, + const RESID _resid); + + HRESULT (STDMETHODCALLTYPE *TrackResource)( + IHolder *This, + const RESID resid); + + HRESULT (STDMETHODCALLTYPE *TrackResourceS)( + IHolder *This, + const SRESID resid); + + HRESULT (STDMETHODCALLTYPE *UntrackResource)( + IHolder *This, + const RESID resid, + const BOOL value); + + HRESULT (STDMETHODCALLTYPE *UntrackResourceS)( + IHolder *This, + const SRESID resid, + const BOOL value); + + HRESULT (STDMETHODCALLTYPE *Close)( + IHolder *This); + + HRESULT (STDMETHODCALLTYPE *RequestDestroyResource)( + IHolder *This, + const RESID resid); + + END_INTERFACE +} IHolderVtbl; + +interface IHolder { + CONST_VTBL IHolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHolder_Release(This) (This)->lpVtbl->Release(This) +/*** IHolder methods ***/ +#define IHolder_AllocResource(This,typeid,resid) (This)->lpVtbl->AllocResource(This,typeid,resid) +#define IHolder_FreeResource(This,_resid) (This)->lpVtbl->FreeResource(This,_resid) +#define IHolder_TrackResource(This,resid) (This)->lpVtbl->TrackResource(This,resid) +#define IHolder_TrackResourceS(This,resid) (This)->lpVtbl->TrackResourceS(This,resid) +#define IHolder_UntrackResource(This,resid,value) (This)->lpVtbl->UntrackResource(This,resid,value) +#define IHolder_UntrackResourceS(This,resid,value) (This)->lpVtbl->UntrackResourceS(This,resid,value) +#define IHolder_Close(This) (This)->lpVtbl->Close(This) +#define IHolder_RequestDestroyResource(This,resid) (This)->lpVtbl->RequestDestroyResource(This,resid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHolder_QueryInterface(IHolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHolder_AddRef(IHolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHolder_Release(IHolder* This) { + return This->lpVtbl->Release(This); +} +/*** IHolder methods ***/ +static FORCEINLINE HRESULT IHolder_AllocResource(IHolder* This,const RESTYPID typeid,RESID *resid) { + return This->lpVtbl->AllocResource(This,typeid,resid); +} +static FORCEINLINE HRESULT IHolder_FreeResource(IHolder* This,const RESID _resid) { + return This->lpVtbl->FreeResource(This,_resid); +} +static FORCEINLINE HRESULT IHolder_TrackResource(IHolder* This,const RESID resid) { + return This->lpVtbl->TrackResource(This,resid); +} +static FORCEINLINE HRESULT IHolder_TrackResourceS(IHolder* This,const SRESID resid) { + return This->lpVtbl->TrackResourceS(This,resid); +} +static FORCEINLINE HRESULT IHolder_UntrackResource(IHolder* This,const RESID resid,const BOOL value) { + return This->lpVtbl->UntrackResource(This,resid,value); +} +static FORCEINLINE HRESULT IHolder_UntrackResourceS(IHolder* This,const SRESID resid,const BOOL value) { + return This->lpVtbl->UntrackResourceS(This,resid,value); +} +static FORCEINLINE HRESULT IHolder_Close(IHolder* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IHolder_RequestDestroyResource(IHolder* This,const RESID resid) { + return This->lpVtbl->RequestDestroyResource(This,resid); +} +#endif +#endif + +#endif + + +#endif /* __IHolder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDispenserDriver interface + */ +#ifndef __IDispenserDriver_INTERFACE_DEFINED__ +#define __IDispenserDriver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDispenserDriver, 0x208b3651, 0x2b48, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("208b3651-2b48-11cf-be10-00aa00a2fa25") +IDispenserDriver : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateResource( + const RESTYPID restypid, + RESID *resid, + TIMEINSECS *destroy) = 0; + + virtual HRESULT STDMETHODCALLTYPE RateResource( + const RESTYPID restypid, + const RESID resid, + const BOOL requires, + RESOURCERATING *rating) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnlistResource( + const RESID resid, + const TRANSID transid) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetResource( + const RESID resid) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyResource( + const RESID resid) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyResourceS( + const SRESID resid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDispenserDriver, 0x208b3651, 0x2b48, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25) +#endif +#else +typedef struct IDispenserDriverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDispenserDriver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDispenserDriver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDispenserDriver *This); + + /*** IDispenserDriver methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateResource)( + IDispenserDriver *This, + const RESTYPID restypid, + RESID *resid, + TIMEINSECS *destroy); + + HRESULT (STDMETHODCALLTYPE *RateResource)( + IDispenserDriver *This, + const RESTYPID restypid, + const RESID resid, + const BOOL requires, + RESOURCERATING *rating); + + HRESULT (STDMETHODCALLTYPE *EnlistResource)( + IDispenserDriver *This, + const RESID resid, + const TRANSID transid); + + HRESULT (STDMETHODCALLTYPE *ResetResource)( + IDispenserDriver *This, + const RESID resid); + + HRESULT (STDMETHODCALLTYPE *DestroyResource)( + IDispenserDriver *This, + const RESID resid); + + HRESULT (STDMETHODCALLTYPE *DestroyResourceS)( + IDispenserDriver *This, + const SRESID resid); + + END_INTERFACE +} IDispenserDriverVtbl; + +interface IDispenserDriver { + CONST_VTBL IDispenserDriverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDispenserDriver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDispenserDriver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDispenserDriver_Release(This) (This)->lpVtbl->Release(This) +/*** IDispenserDriver methods ***/ +#define IDispenserDriver_CreateResource(This,restypid,resid,destroy) (This)->lpVtbl->CreateResource(This,restypid,resid,destroy) +#define IDispenserDriver_RateResource(This,restypid,resid,requires,rating) (This)->lpVtbl->RateResource(This,restypid,resid,requires,rating) +#define IDispenserDriver_EnlistResource(This,resid,transid) (This)->lpVtbl->EnlistResource(This,resid,transid) +#define IDispenserDriver_ResetResource(This,resid) (This)->lpVtbl->ResetResource(This,resid) +#define IDispenserDriver_DestroyResource(This,resid) (This)->lpVtbl->DestroyResource(This,resid) +#define IDispenserDriver_DestroyResourceS(This,resid) (This)->lpVtbl->DestroyResourceS(This,resid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDispenserDriver_QueryInterface(IDispenserDriver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDispenserDriver_AddRef(IDispenserDriver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDispenserDriver_Release(IDispenserDriver* This) { + return This->lpVtbl->Release(This); +} +/*** IDispenserDriver methods ***/ +static FORCEINLINE HRESULT IDispenserDriver_CreateResource(IDispenserDriver* This,const RESTYPID restypid,RESID *resid,TIMEINSECS *destroy) { + return This->lpVtbl->CreateResource(This,restypid,resid,destroy); +} +static FORCEINLINE HRESULT IDispenserDriver_RateResource(IDispenserDriver* This,const RESTYPID restypid,const RESID resid,const BOOL requires,RESOURCERATING *rating) { + return This->lpVtbl->RateResource(This,restypid,resid,requires,rating); +} +static FORCEINLINE HRESULT IDispenserDriver_EnlistResource(IDispenserDriver* This,const RESID resid,const TRANSID transid) { + return This->lpVtbl->EnlistResource(This,resid,transid); +} +static FORCEINLINE HRESULT IDispenserDriver_ResetResource(IDispenserDriver* This,const RESID resid) { + return This->lpVtbl->ResetResource(This,resid); +} +static FORCEINLINE HRESULT IDispenserDriver_DestroyResource(IDispenserDriver* This,const RESID resid) { + return This->lpVtbl->DestroyResource(This,resid); +} +static FORCEINLINE HRESULT IDispenserDriver_DestroyResourceS(IDispenserDriver* This,const SRESID resid) { + return This->lpVtbl->DestroyResourceS(This,resid); +} +#endif +#endif + +#endif + + +#endif /* __IDispenserDriver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDispenserManager interface + */ +#ifndef __IDispenserManager_INTERFACE_DEFINED__ +#define __IDispenserManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDispenserManager, 0x5cb31e10, 0x2b5f, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5cb31e10-2b5f-11cf-be10-00aa00a2fa25") +IDispenserManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterDispenser( + IDispenserDriver *driver, + LPCOLESTR name, + IHolder **dispenser) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContext( + INSTID *id, + TRANSID *transid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDispenserManager, 0x5cb31e10, 0x2b5f, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25) +#endif +#else +typedef struct IDispenserManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDispenserManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDispenserManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDispenserManager *This); + + /*** IDispenserManager methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterDispenser)( + IDispenserManager *This, + IDispenserDriver *driver, + LPCOLESTR name, + IHolder **dispenser); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + IDispenserManager *This, + INSTID *id, + TRANSID *transid); + + END_INTERFACE +} IDispenserManagerVtbl; + +interface IDispenserManager { + CONST_VTBL IDispenserManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDispenserManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDispenserManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDispenserManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispenserManager methods ***/ +#define IDispenserManager_RegisterDispenser(This,driver,name,dispenser) (This)->lpVtbl->RegisterDispenser(This,driver,name,dispenser) +#define IDispenserManager_GetContext(This,id,transid) (This)->lpVtbl->GetContext(This,id,transid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDispenserManager_QueryInterface(IDispenserManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDispenserManager_AddRef(IDispenserManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDispenserManager_Release(IDispenserManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispenserManager methods ***/ +static FORCEINLINE HRESULT IDispenserManager_RegisterDispenser(IDispenserManager* This,IDispenserDriver *driver,LPCOLESTR name,IHolder **dispenser) { + return This->lpVtbl->RegisterDispenser(This,driver,name,dispenser); +} +static FORCEINLINE HRESULT IDispenserManager_GetContext(IDispenserManager* This,INSTID *id,TRANSID *transid) { + return This->lpVtbl->GetContext(This,id,transid); +} +#endif +#endif + +#endif + + +#endif /* __IDispenserManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispenserManager coclass + */ + +DEFINE_GUID(CLSID_DispenserManager, 0xecabb0c0, 0x7f19, 0x11d2, 0x97,0x8e, 0x00,0x00,0xf8,0x75,0x7e,0x2a); + +#ifdef __cplusplus +class DECLSPEC_UUID("ecabb0c0-7f19-11d2-978e-0000f8757e2a") DispenserManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispenserManager, 0xecabb0c0, 0x7f19, 0x11d2, 0x97,0x8e, 0x00,0x00,0xf8,0x75,0x7e,0x2a) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __comsvcs_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comsvcs.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comsvcs.idl new file mode 100644 index 0000000..2c510f8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/comsvcs.idl @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +import "unknwn.idl"; +import "objidl.idl"; +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#endif + +typedef DWORD_PTR INSTID; +typedef DWORD_PTR RESID; +typedef DWORD RESOURCERATING; +typedef DWORD_PTR RESTYPID; +typedef LPOLESTR SRESID; +typedef long TIMEINSECS; +typedef DWORD_PTR TRANSID; + +[ + uuid(2a005c00-a5de-11cf-9e66-00aa00a3f464), + version(1.0) +] +library COMSVCSLib +{ + [ + object, + hidden, + local, + uuid(bf6a1850-2b45-11cf-be10-00aa00a2fa25), + pointer_default(unique) + ] + interface IHolder : IUnknown + { + HRESULT AllocResource([in] const RESTYPID typeid, [out] RESID *resid); + HRESULT FreeResource([in] const RESID _resid); + HRESULT TrackResource([in] const RESID resid); + HRESULT TrackResourceS([in] const SRESID resid); + HRESULT UntrackResource([in] const RESID resid, [in] const BOOL value); + HRESULT UntrackResourceS([in] const SRESID resid, [in] const BOOL value); + HRESULT Close(void); + HRESULT RequestDestroyResource([in] const RESID resid); + }; + + [ + object, + hidden, + local, + uuid(208b3651-2b48-11cf-be10-00aa00a2fa25), + pointer_default(unique) + ] + interface IDispenserDriver : IUnknown + { + HRESULT CreateResource([in] const RESTYPID restypid, [out] RESID *resid, [out] TIMEINSECS *destroy); + HRESULT RateResource([in] const RESTYPID restypid, [in] const RESID resid, + [in] const BOOL requires, [out] RESOURCERATING *rating); + HRESULT EnlistResource([in] const RESID resid, [in] const TRANSID transid); + HRESULT ResetResource([in] const RESID resid); + HRESULT DestroyResource([in] const RESID resid); + HRESULT DestroyResourceS([in] const SRESID resid); + }; + + [ + object, + hidden, + local, + uuid(5cb31e10-2b5f-11cf-be10-00aa00a2fa25), + pointer_default(unique) + ] + interface IDispenserManager : IUnknown + { + HRESULT RegisterDispenser([in] IDispenserDriver *driver, [in] LPCOLESTR name, [out] IHolder **dispenser); + HRESULT GetContext([out] INSTID *id, [out] TRANSID *transid); + }; + + [ + uuid(ecabb0c0-7f19-11d2-978e-0000f8757e2a), + hidden, + threading(both) + ] + coclass DispenserManager + { + [default] interface IDispenserManager; + }; +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/control.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/control.h new file mode 100644 index 0000000..7dac6e6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/control.h @@ -0,0 +1,2587 @@ +/*** Autogenerated by WIDL 2.18 from control.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __control_h__ +#define __control_h__ + +/* Forward declarations */ + +#ifndef __IMediaControl_FWD_DEFINED__ +#define __IMediaControl_FWD_DEFINED__ +typedef interface IMediaControl IMediaControl; +#ifdef __cplusplus +interface IMediaControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IBasicAudio_FWD_DEFINED__ +#define __IBasicAudio_FWD_DEFINED__ +typedef interface IBasicAudio IBasicAudio; +#ifdef __cplusplus +interface IBasicAudio; +#endif /* __cplusplus */ +#endif + +#ifndef __IVideoWindow_FWD_DEFINED__ +#define __IVideoWindow_FWD_DEFINED__ +typedef interface IVideoWindow IVideoWindow; +#ifdef __cplusplus +interface IVideoWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IBasicVideo_FWD_DEFINED__ +#define __IBasicVideo_FWD_DEFINED__ +typedef interface IBasicVideo IBasicVideo; +#ifdef __cplusplus +interface IBasicVideo; +#endif /* __cplusplus */ +#endif + +#ifndef __IBasicVideo2_FWD_DEFINED__ +#define __IBasicVideo2_FWD_DEFINED__ +typedef interface IBasicVideo2 IBasicVideo2; +#ifdef __cplusplus +interface IBasicVideo2; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaEvent_FWD_DEFINED__ +#define __IMediaEvent_FWD_DEFINED__ +typedef interface IMediaEvent IMediaEvent; +#ifdef __cplusplus +interface IMediaEvent; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaEventEx_FWD_DEFINED__ +#define __IMediaEventEx_FWD_DEFINED__ +typedef interface IMediaEventEx IMediaEventEx; +#ifdef __cplusplus +interface IMediaEventEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaPosition_FWD_DEFINED__ +#define __IMediaPosition_FWD_DEFINED__ +typedef interface IMediaPosition IMediaPosition; +#ifdef __cplusplus +interface IMediaPosition; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_QuartzTypeLib, 0x56a868b0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); + +typedef LONG OAFilterState; +typedef LONG_PTR OAHWND; +typedef LONG_PTR OAEVENT; +#ifndef REFTIME_DEFINED +#define REFTIME_DEFINED +typedef DOUBLE REFTIME; +#endif +/***************************************************************************** + * IMediaControl interface + */ +#ifndef __IMediaControl_INTERFACE_DEFINED__ +#define __IMediaControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaControl, 0x56a868b1, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868b1-0ad4-11ce-b03a-0020af0ba770") +IMediaControl : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Run( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + LONG msTimeout, + OAFilterState *pfs) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenderFile( + BSTR strFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSourceFilter( + BSTR strFilename, + IDispatch **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FilterCollection( + IDispatch **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RegFilterCollection( + IDispatch **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopWhenReady( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaControl, 0x56a868b1, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaControl *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMediaControl *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMediaControl *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMediaControl *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMediaControl *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMediaControl methods ***/ + HRESULT (STDMETHODCALLTYPE *Run)( + IMediaControl *This); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IMediaControl *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IMediaControl *This); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IMediaControl *This, + LONG msTimeout, + OAFilterState *pfs); + + HRESULT (STDMETHODCALLTYPE *RenderFile)( + IMediaControl *This, + BSTR strFilename); + + HRESULT (STDMETHODCALLTYPE *AddSourceFilter)( + IMediaControl *This, + BSTR strFilename, + IDispatch **ppUnk); + + HRESULT (STDMETHODCALLTYPE *get_FilterCollection)( + IMediaControl *This, + IDispatch **ppUnk); + + HRESULT (STDMETHODCALLTYPE *get_RegFilterCollection)( + IMediaControl *This, + IDispatch **ppUnk); + + HRESULT (STDMETHODCALLTYPE *StopWhenReady)( + IMediaControl *This); + + END_INTERFACE +} IMediaControlVtbl; + +interface IMediaControl { + CONST_VTBL IMediaControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMediaControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMediaControl methods ***/ +#define IMediaControl_Run(This) (This)->lpVtbl->Run(This) +#define IMediaControl_Pause(This) (This)->lpVtbl->Pause(This) +#define IMediaControl_Stop(This) (This)->lpVtbl->Stop(This) +#define IMediaControl_GetState(This,msTimeout,pfs) (This)->lpVtbl->GetState(This,msTimeout,pfs) +#define IMediaControl_RenderFile(This,strFilename) (This)->lpVtbl->RenderFile(This,strFilename) +#define IMediaControl_AddSourceFilter(This,strFilename,ppUnk) (This)->lpVtbl->AddSourceFilter(This,strFilename,ppUnk) +#define IMediaControl_get_FilterCollection(This,ppUnk) (This)->lpVtbl->get_FilterCollection(This,ppUnk) +#define IMediaControl_get_RegFilterCollection(This,ppUnk) (This)->lpVtbl->get_RegFilterCollection(This,ppUnk) +#define IMediaControl_StopWhenReady(This) (This)->lpVtbl->StopWhenReady(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaControl_QueryInterface(IMediaControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaControl_AddRef(IMediaControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaControl_Release(IMediaControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMediaControl_GetTypeInfoCount(IMediaControl* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMediaControl_GetTypeInfo(IMediaControl* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMediaControl_GetIDsOfNames(IMediaControl* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMediaControl_Invoke(IMediaControl* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMediaControl methods ***/ +static FORCEINLINE HRESULT IMediaControl_Run(IMediaControl* This) { + return This->lpVtbl->Run(This); +} +static FORCEINLINE HRESULT IMediaControl_Pause(IMediaControl* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IMediaControl_Stop(IMediaControl* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IMediaControl_GetState(IMediaControl* This,LONG msTimeout,OAFilterState *pfs) { + return This->lpVtbl->GetState(This,msTimeout,pfs); +} +static FORCEINLINE HRESULT IMediaControl_RenderFile(IMediaControl* This,BSTR strFilename) { + return This->lpVtbl->RenderFile(This,strFilename); +} +static FORCEINLINE HRESULT IMediaControl_AddSourceFilter(IMediaControl* This,BSTR strFilename,IDispatch **ppUnk) { + return This->lpVtbl->AddSourceFilter(This,strFilename,ppUnk); +} +static FORCEINLINE HRESULT IMediaControl_get_FilterCollection(IMediaControl* This,IDispatch **ppUnk) { + return This->lpVtbl->get_FilterCollection(This,ppUnk); +} +static FORCEINLINE HRESULT IMediaControl_get_RegFilterCollection(IMediaControl* This,IDispatch **ppUnk) { + return This->lpVtbl->get_RegFilterCollection(This,ppUnk); +} +static FORCEINLINE HRESULT IMediaControl_StopWhenReady(IMediaControl* This) { + return This->lpVtbl->StopWhenReady(This); +} +#endif +#endif + +#endif + + +#endif /* __IMediaControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBasicAudio interface + */ +#ifndef __IBasicAudio_INTERFACE_DEFINED__ +#define __IBasicAudio_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBasicAudio, 0x56a868b3, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868b3-0ad4-11ce-b03a-0020af0ba770") +IBasicAudio : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_Volume( + LONG lVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Volume( + LONG *plVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Balance( + LONG lBalance) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Balance( + LONG *plBalance) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBasicAudio, 0x56a868b3, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IBasicAudioVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBasicAudio *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBasicAudio *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBasicAudio *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IBasicAudio *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IBasicAudio *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IBasicAudio *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IBasicAudio *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IBasicAudio methods ***/ + HRESULT (STDMETHODCALLTYPE *put_Volume)( + IBasicAudio *This, + LONG lVolume); + + HRESULT (STDMETHODCALLTYPE *get_Volume)( + IBasicAudio *This, + LONG *plVolume); + + HRESULT (STDMETHODCALLTYPE *put_Balance)( + IBasicAudio *This, + LONG lBalance); + + HRESULT (STDMETHODCALLTYPE *get_Balance)( + IBasicAudio *This, + LONG *plBalance); + + END_INTERFACE +} IBasicAudioVtbl; + +interface IBasicAudio { + CONST_VTBL IBasicAudioVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBasicAudio_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBasicAudio_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBasicAudio_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IBasicAudio_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IBasicAudio_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IBasicAudio_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IBasicAudio_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IBasicAudio methods ***/ +#define IBasicAudio_put_Volume(This,lVolume) (This)->lpVtbl->put_Volume(This,lVolume) +#define IBasicAudio_get_Volume(This,plVolume) (This)->lpVtbl->get_Volume(This,plVolume) +#define IBasicAudio_put_Balance(This,lBalance) (This)->lpVtbl->put_Balance(This,lBalance) +#define IBasicAudio_get_Balance(This,plBalance) (This)->lpVtbl->get_Balance(This,plBalance) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBasicAudio_QueryInterface(IBasicAudio* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBasicAudio_AddRef(IBasicAudio* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBasicAudio_Release(IBasicAudio* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IBasicAudio_GetTypeInfoCount(IBasicAudio* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IBasicAudio_GetTypeInfo(IBasicAudio* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IBasicAudio_GetIDsOfNames(IBasicAudio* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IBasicAudio_Invoke(IBasicAudio* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IBasicAudio methods ***/ +static FORCEINLINE HRESULT IBasicAudio_put_Volume(IBasicAudio* This,LONG lVolume) { + return This->lpVtbl->put_Volume(This,lVolume); +} +static FORCEINLINE HRESULT IBasicAudio_get_Volume(IBasicAudio* This,LONG *plVolume) { + return This->lpVtbl->get_Volume(This,plVolume); +} +static FORCEINLINE HRESULT IBasicAudio_put_Balance(IBasicAudio* This,LONG lBalance) { + return This->lpVtbl->put_Balance(This,lBalance); +} +static FORCEINLINE HRESULT IBasicAudio_get_Balance(IBasicAudio* This,LONG *plBalance) { + return This->lpVtbl->get_Balance(This,plBalance); +} +#endif +#endif + +#endif + + +#endif /* __IBasicAudio_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVideoWindow interface + */ +#ifndef __IVideoWindow_INTERFACE_DEFINED__ +#define __IVideoWindow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVideoWindow, 0x56a868b4, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868b4-0ad4-11ce-b03a-0020af0ba770") +IVideoWindow : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_Caption( + BSTR strCaption) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Caption( + BSTR *strCaption) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WindowStyle( + LONG WindowStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WindowStyle( + LONG *WindowStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WindowStyleEx( + LONG WindowStyleEx) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WindowStyleEx( + LONG *WindowStyleEx) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AutoShow( + LONG AutoShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AutoShow( + LONG *AutoShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WindowState( + LONG WindowState) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WindowState( + LONG *WindowState) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_BackgroundPalette( + LONG BackgroundPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BackgroundPalette( + LONG *pBackgroundPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Visible( + LONG Visible) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Visible( + LONG *pVisible) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Left( + LONG Left) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Left( + LONG *pLeft) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Width( + LONG Width) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Width( + LONG *pWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Top( + LONG Top) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Top( + LONG *pTop) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Height( + LONG Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Height( + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Owner( + OAHWND Owner) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Owner( + OAHWND *Owner) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MessageDrain( + OAHWND Drain) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MessageDrain( + OAHWND *Drain) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BorderColor( + LONG *Color) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_BorderColor( + LONG Color) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FullScreenMode( + LONG *FullScreenMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FullScreenMode( + LONG FullScreenMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWindowForeground( + LONG Focus) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyOwnerMessage( + OAHWND hwnd, + LONG uMsg, + LONG_PTR wParam, + LONG_PTR lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWindowPosition( + LONG Left, + LONG Top, + LONG Width, + LONG Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWindowPosition( + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMinIdealImageSize( + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxIdealImageSize( + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRestorePosition( + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE HideCursor( + LONG HideCursor) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsCursorHidden( + LONG *CursorHidden) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVideoWindow, 0x56a868b4, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IVideoWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVideoWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVideoWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVideoWindow *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVideoWindow *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVideoWindow *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVideoWindow *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVideoWindow *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVideoWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *put_Caption)( + IVideoWindow *This, + BSTR strCaption); + + HRESULT (STDMETHODCALLTYPE *get_Caption)( + IVideoWindow *This, + BSTR *strCaption); + + HRESULT (STDMETHODCALLTYPE *put_WindowStyle)( + IVideoWindow *This, + LONG WindowStyle); + + HRESULT (STDMETHODCALLTYPE *get_WindowStyle)( + IVideoWindow *This, + LONG *WindowStyle); + + HRESULT (STDMETHODCALLTYPE *put_WindowStyleEx)( + IVideoWindow *This, + LONG WindowStyleEx); + + HRESULT (STDMETHODCALLTYPE *get_WindowStyleEx)( + IVideoWindow *This, + LONG *WindowStyleEx); + + HRESULT (STDMETHODCALLTYPE *put_AutoShow)( + IVideoWindow *This, + LONG AutoShow); + + HRESULT (STDMETHODCALLTYPE *get_AutoShow)( + IVideoWindow *This, + LONG *AutoShow); + + HRESULT (STDMETHODCALLTYPE *put_WindowState)( + IVideoWindow *This, + LONG WindowState); + + HRESULT (STDMETHODCALLTYPE *get_WindowState)( + IVideoWindow *This, + LONG *WindowState); + + HRESULT (STDMETHODCALLTYPE *put_BackgroundPalette)( + IVideoWindow *This, + LONG BackgroundPalette); + + HRESULT (STDMETHODCALLTYPE *get_BackgroundPalette)( + IVideoWindow *This, + LONG *pBackgroundPalette); + + HRESULT (STDMETHODCALLTYPE *put_Visible)( + IVideoWindow *This, + LONG Visible); + + HRESULT (STDMETHODCALLTYPE *get_Visible)( + IVideoWindow *This, + LONG *pVisible); + + HRESULT (STDMETHODCALLTYPE *put_Left)( + IVideoWindow *This, + LONG Left); + + HRESULT (STDMETHODCALLTYPE *get_Left)( + IVideoWindow *This, + LONG *pLeft); + + HRESULT (STDMETHODCALLTYPE *put_Width)( + IVideoWindow *This, + LONG Width); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IVideoWindow *This, + LONG *pWidth); + + HRESULT (STDMETHODCALLTYPE *put_Top)( + IVideoWindow *This, + LONG Top); + + HRESULT (STDMETHODCALLTYPE *get_Top)( + IVideoWindow *This, + LONG *pTop); + + HRESULT (STDMETHODCALLTYPE *put_Height)( + IVideoWindow *This, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IVideoWindow *This, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *put_Owner)( + IVideoWindow *This, + OAHWND Owner); + + HRESULT (STDMETHODCALLTYPE *get_Owner)( + IVideoWindow *This, + OAHWND *Owner); + + HRESULT (STDMETHODCALLTYPE *put_MessageDrain)( + IVideoWindow *This, + OAHWND Drain); + + HRESULT (STDMETHODCALLTYPE *get_MessageDrain)( + IVideoWindow *This, + OAHWND *Drain); + + HRESULT (STDMETHODCALLTYPE *get_BorderColor)( + IVideoWindow *This, + LONG *Color); + + HRESULT (STDMETHODCALLTYPE *put_BorderColor)( + IVideoWindow *This, + LONG Color); + + HRESULT (STDMETHODCALLTYPE *get_FullScreenMode)( + IVideoWindow *This, + LONG *FullScreenMode); + + HRESULT (STDMETHODCALLTYPE *put_FullScreenMode)( + IVideoWindow *This, + LONG FullScreenMode); + + HRESULT (STDMETHODCALLTYPE *SetWindowForeground)( + IVideoWindow *This, + LONG Focus); + + HRESULT (STDMETHODCALLTYPE *NotifyOwnerMessage)( + IVideoWindow *This, + OAHWND hwnd, + LONG uMsg, + LONG_PTR wParam, + LONG_PTR lParam); + + HRESULT (STDMETHODCALLTYPE *SetWindowPosition)( + IVideoWindow *This, + LONG Left, + LONG Top, + LONG Width, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *GetWindowPosition)( + IVideoWindow *This, + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *GetMinIdealImageSize)( + IVideoWindow *This, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *GetMaxIdealImageSize)( + IVideoWindow *This, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *GetRestorePosition)( + IVideoWindow *This, + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *HideCursor)( + IVideoWindow *This, + LONG HideCursor); + + HRESULT (STDMETHODCALLTYPE *IsCursorHidden)( + IVideoWindow *This, + LONG *CursorHidden); + + END_INTERFACE +} IVideoWindowVtbl; + +interface IVideoWindow { + CONST_VTBL IVideoWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVideoWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVideoWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVideoWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVideoWindow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVideoWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVideoWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVideoWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVideoWindow methods ***/ +#define IVideoWindow_put_Caption(This,strCaption) (This)->lpVtbl->put_Caption(This,strCaption) +#define IVideoWindow_get_Caption(This,strCaption) (This)->lpVtbl->get_Caption(This,strCaption) +#define IVideoWindow_put_WindowStyle(This,WindowStyle) (This)->lpVtbl->put_WindowStyle(This,WindowStyle) +#define IVideoWindow_get_WindowStyle(This,WindowStyle) (This)->lpVtbl->get_WindowStyle(This,WindowStyle) +#define IVideoWindow_put_WindowStyleEx(This,WindowStyleEx) (This)->lpVtbl->put_WindowStyleEx(This,WindowStyleEx) +#define IVideoWindow_get_WindowStyleEx(This,WindowStyleEx) (This)->lpVtbl->get_WindowStyleEx(This,WindowStyleEx) +#define IVideoWindow_put_AutoShow(This,AutoShow) (This)->lpVtbl->put_AutoShow(This,AutoShow) +#define IVideoWindow_get_AutoShow(This,AutoShow) (This)->lpVtbl->get_AutoShow(This,AutoShow) +#define IVideoWindow_put_WindowState(This,WindowState) (This)->lpVtbl->put_WindowState(This,WindowState) +#define IVideoWindow_get_WindowState(This,WindowState) (This)->lpVtbl->get_WindowState(This,WindowState) +#define IVideoWindow_put_BackgroundPalette(This,BackgroundPalette) (This)->lpVtbl->put_BackgroundPalette(This,BackgroundPalette) +#define IVideoWindow_get_BackgroundPalette(This,pBackgroundPalette) (This)->lpVtbl->get_BackgroundPalette(This,pBackgroundPalette) +#define IVideoWindow_put_Visible(This,Visible) (This)->lpVtbl->put_Visible(This,Visible) +#define IVideoWindow_get_Visible(This,pVisible) (This)->lpVtbl->get_Visible(This,pVisible) +#define IVideoWindow_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left) +#define IVideoWindow_get_Left(This,pLeft) (This)->lpVtbl->get_Left(This,pLeft) +#define IVideoWindow_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width) +#define IVideoWindow_get_Width(This,pWidth) (This)->lpVtbl->get_Width(This,pWidth) +#define IVideoWindow_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top) +#define IVideoWindow_get_Top(This,pTop) (This)->lpVtbl->get_Top(This,pTop) +#define IVideoWindow_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height) +#define IVideoWindow_get_Height(This,pHeight) (This)->lpVtbl->get_Height(This,pHeight) +#define IVideoWindow_put_Owner(This,Owner) (This)->lpVtbl->put_Owner(This,Owner) +#define IVideoWindow_get_Owner(This,Owner) (This)->lpVtbl->get_Owner(This,Owner) +#define IVideoWindow_put_MessageDrain(This,Drain) (This)->lpVtbl->put_MessageDrain(This,Drain) +#define IVideoWindow_get_MessageDrain(This,Drain) (This)->lpVtbl->get_MessageDrain(This,Drain) +#define IVideoWindow_get_BorderColor(This,Color) (This)->lpVtbl->get_BorderColor(This,Color) +#define IVideoWindow_put_BorderColor(This,Color) (This)->lpVtbl->put_BorderColor(This,Color) +#define IVideoWindow_get_FullScreenMode(This,FullScreenMode) (This)->lpVtbl->get_FullScreenMode(This,FullScreenMode) +#define IVideoWindow_put_FullScreenMode(This,FullScreenMode) (This)->lpVtbl->put_FullScreenMode(This,FullScreenMode) +#define IVideoWindow_SetWindowForeground(This,Focus) (This)->lpVtbl->SetWindowForeground(This,Focus) +#define IVideoWindow_NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam) (This)->lpVtbl->NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam) +#define IVideoWindow_SetWindowPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetWindowPosition(This,Left,Top,Width,Height) +#define IVideoWindow_GetWindowPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetWindowPosition(This,pLeft,pTop,pWidth,pHeight) +#define IVideoWindow_GetMinIdealImageSize(This,pWidth,pHeight) (This)->lpVtbl->GetMinIdealImageSize(This,pWidth,pHeight) +#define IVideoWindow_GetMaxIdealImageSize(This,pWidth,pHeight) (This)->lpVtbl->GetMaxIdealImageSize(This,pWidth,pHeight) +#define IVideoWindow_GetRestorePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetRestorePosition(This,pLeft,pTop,pWidth,pHeight) +#define IVideoWindow_HideCursor(This,HideCursor) (This)->lpVtbl->HideCursor(This,HideCursor) +#define IVideoWindow_IsCursorHidden(This,CursorHidden) (This)->lpVtbl->IsCursorHidden(This,CursorHidden) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVideoWindow_QueryInterface(IVideoWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVideoWindow_AddRef(IVideoWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVideoWindow_Release(IVideoWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVideoWindow_GetTypeInfoCount(IVideoWindow* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVideoWindow_GetTypeInfo(IVideoWindow* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVideoWindow_GetIDsOfNames(IVideoWindow* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVideoWindow_Invoke(IVideoWindow* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVideoWindow methods ***/ +static FORCEINLINE HRESULT IVideoWindow_put_Caption(IVideoWindow* This,BSTR strCaption) { + return This->lpVtbl->put_Caption(This,strCaption); +} +static FORCEINLINE HRESULT IVideoWindow_get_Caption(IVideoWindow* This,BSTR *strCaption) { + return This->lpVtbl->get_Caption(This,strCaption); +} +static FORCEINLINE HRESULT IVideoWindow_put_WindowStyle(IVideoWindow* This,LONG WindowStyle) { + return This->lpVtbl->put_WindowStyle(This,WindowStyle); +} +static FORCEINLINE HRESULT IVideoWindow_get_WindowStyle(IVideoWindow* This,LONG *WindowStyle) { + return This->lpVtbl->get_WindowStyle(This,WindowStyle); +} +static FORCEINLINE HRESULT IVideoWindow_put_WindowStyleEx(IVideoWindow* This,LONG WindowStyleEx) { + return This->lpVtbl->put_WindowStyleEx(This,WindowStyleEx); +} +static FORCEINLINE HRESULT IVideoWindow_get_WindowStyleEx(IVideoWindow* This,LONG *WindowStyleEx) { + return This->lpVtbl->get_WindowStyleEx(This,WindowStyleEx); +} +static FORCEINLINE HRESULT IVideoWindow_put_AutoShow(IVideoWindow* This,LONG AutoShow) { + return This->lpVtbl->put_AutoShow(This,AutoShow); +} +static FORCEINLINE HRESULT IVideoWindow_get_AutoShow(IVideoWindow* This,LONG *AutoShow) { + return This->lpVtbl->get_AutoShow(This,AutoShow); +} +static FORCEINLINE HRESULT IVideoWindow_put_WindowState(IVideoWindow* This,LONG WindowState) { + return This->lpVtbl->put_WindowState(This,WindowState); +} +static FORCEINLINE HRESULT IVideoWindow_get_WindowState(IVideoWindow* This,LONG *WindowState) { + return This->lpVtbl->get_WindowState(This,WindowState); +} +static FORCEINLINE HRESULT IVideoWindow_put_BackgroundPalette(IVideoWindow* This,LONG BackgroundPalette) { + return This->lpVtbl->put_BackgroundPalette(This,BackgroundPalette); +} +static FORCEINLINE HRESULT IVideoWindow_get_BackgroundPalette(IVideoWindow* This,LONG *pBackgroundPalette) { + return This->lpVtbl->get_BackgroundPalette(This,pBackgroundPalette); +} +static FORCEINLINE HRESULT IVideoWindow_put_Visible(IVideoWindow* This,LONG Visible) { + return This->lpVtbl->put_Visible(This,Visible); +} +static FORCEINLINE HRESULT IVideoWindow_get_Visible(IVideoWindow* This,LONG *pVisible) { + return This->lpVtbl->get_Visible(This,pVisible); +} +static FORCEINLINE HRESULT IVideoWindow_put_Left(IVideoWindow* This,LONG Left) { + return This->lpVtbl->put_Left(This,Left); +} +static FORCEINLINE HRESULT IVideoWindow_get_Left(IVideoWindow* This,LONG *pLeft) { + return This->lpVtbl->get_Left(This,pLeft); +} +static FORCEINLINE HRESULT IVideoWindow_put_Width(IVideoWindow* This,LONG Width) { + return This->lpVtbl->put_Width(This,Width); +} +static FORCEINLINE HRESULT IVideoWindow_get_Width(IVideoWindow* This,LONG *pWidth) { + return This->lpVtbl->get_Width(This,pWidth); +} +static FORCEINLINE HRESULT IVideoWindow_put_Top(IVideoWindow* This,LONG Top) { + return This->lpVtbl->put_Top(This,Top); +} +static FORCEINLINE HRESULT IVideoWindow_get_Top(IVideoWindow* This,LONG *pTop) { + return This->lpVtbl->get_Top(This,pTop); +} +static FORCEINLINE HRESULT IVideoWindow_put_Height(IVideoWindow* This,LONG Height) { + return This->lpVtbl->put_Height(This,Height); +} +static FORCEINLINE HRESULT IVideoWindow_get_Height(IVideoWindow* This,LONG *pHeight) { + return This->lpVtbl->get_Height(This,pHeight); +} +static FORCEINLINE HRESULT IVideoWindow_put_Owner(IVideoWindow* This,OAHWND Owner) { + return This->lpVtbl->put_Owner(This,Owner); +} +static FORCEINLINE HRESULT IVideoWindow_get_Owner(IVideoWindow* This,OAHWND *Owner) { + return This->lpVtbl->get_Owner(This,Owner); +} +static FORCEINLINE HRESULT IVideoWindow_put_MessageDrain(IVideoWindow* This,OAHWND Drain) { + return This->lpVtbl->put_MessageDrain(This,Drain); +} +static FORCEINLINE HRESULT IVideoWindow_get_MessageDrain(IVideoWindow* This,OAHWND *Drain) { + return This->lpVtbl->get_MessageDrain(This,Drain); +} +static FORCEINLINE HRESULT IVideoWindow_get_BorderColor(IVideoWindow* This,LONG *Color) { + return This->lpVtbl->get_BorderColor(This,Color); +} +static FORCEINLINE HRESULT IVideoWindow_put_BorderColor(IVideoWindow* This,LONG Color) { + return This->lpVtbl->put_BorderColor(This,Color); +} +static FORCEINLINE HRESULT IVideoWindow_get_FullScreenMode(IVideoWindow* This,LONG *FullScreenMode) { + return This->lpVtbl->get_FullScreenMode(This,FullScreenMode); +} +static FORCEINLINE HRESULT IVideoWindow_put_FullScreenMode(IVideoWindow* This,LONG FullScreenMode) { + return This->lpVtbl->put_FullScreenMode(This,FullScreenMode); +} +static FORCEINLINE HRESULT IVideoWindow_SetWindowForeground(IVideoWindow* This,LONG Focus) { + return This->lpVtbl->SetWindowForeground(This,Focus); +} +static FORCEINLINE HRESULT IVideoWindow_NotifyOwnerMessage(IVideoWindow* This,OAHWND hwnd,LONG uMsg,LONG_PTR wParam,LONG_PTR lParam) { + return This->lpVtbl->NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT IVideoWindow_SetWindowPosition(IVideoWindow* This,LONG Left,LONG Top,LONG Width,LONG Height) { + return This->lpVtbl->SetWindowPosition(This,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IVideoWindow_GetWindowPosition(IVideoWindow* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetWindowPosition(This,pLeft,pTop,pWidth,pHeight); +} +static FORCEINLINE HRESULT IVideoWindow_GetMinIdealImageSize(IVideoWindow* This,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetMinIdealImageSize(This,pWidth,pHeight); +} +static FORCEINLINE HRESULT IVideoWindow_GetMaxIdealImageSize(IVideoWindow* This,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetMaxIdealImageSize(This,pWidth,pHeight); +} +static FORCEINLINE HRESULT IVideoWindow_GetRestorePosition(IVideoWindow* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetRestorePosition(This,pLeft,pTop,pWidth,pHeight); +} +static FORCEINLINE HRESULT IVideoWindow_HideCursor(IVideoWindow* This,LONG HideCursor) { + return This->lpVtbl->HideCursor(This,HideCursor); +} +static FORCEINLINE HRESULT IVideoWindow_IsCursorHidden(IVideoWindow* This,LONG *CursorHidden) { + return This->lpVtbl->IsCursorHidden(This,CursorHidden); +} +#endif +#endif + +#endif + + +#endif /* __IVideoWindow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBasicVideo interface + */ +#ifndef __IBasicVideo_INTERFACE_DEFINED__ +#define __IBasicVideo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBasicVideo, 0x56a868b5, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868b5-0ad4-11ce-b03a-0020af0ba770") +IBasicVideo : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AvgTimePerFrame( + REFTIME *pAvgTimePerFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BitRate( + LONG *pBitRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BitErrorRate( + LONG *pBitErrorRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_VideoWidth( + LONG *pVideoWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_VideoHeight( + LONG *pVideoHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SourceLeft( + LONG SourceLeft) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SourceLeft( + LONG *pSourceLeft) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SourceWidth( + LONG SourceWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SourceWidth( + LONG *pSourceWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SourceTop( + LONG SourceTop) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SourceTop( + LONG *pSourceTop) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SourceHeight( + LONG SourceHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SourceHeight( + LONG *pSourceHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DestinationLeft( + LONG DestinationLeft) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DestinationLeft( + LONG *pDestinationLeft) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DestinationWidth( + LONG DestinationWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DestinationWidth( + LONG *pDestinationWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DestinationTop( + LONG DestinationTop) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DestinationTop( + LONG *pDestinationTop) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DestinationHeight( + LONG DestinationHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DestinationHeight( + LONG *pDestinationHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSourcePosition( + LONG Left, + LONG Top, + LONG Width, + LONG Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourcePosition( + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultSourcePosition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDestinationPosition( + LONG Left, + LONG Top, + LONG Width, + LONG Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDestinationPosition( + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultDestinationPosition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoSize( + LONG *pWidth, + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoPaletteEntries( + LONG StartIndex, + LONG Entries, + LONG *pRetrieved, + LONG *pPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentImage( + LONG *pBufferSize, + LONG *pDIBImage) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUsingDefaultSource( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUsingDefaultDestination( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBasicVideo, 0x56a868b5, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IBasicVideoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBasicVideo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBasicVideo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBasicVideo *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IBasicVideo *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IBasicVideo *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IBasicVideo *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IBasicVideo *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IBasicVideo methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AvgTimePerFrame)( + IBasicVideo *This, + REFTIME *pAvgTimePerFrame); + + HRESULT (STDMETHODCALLTYPE *get_BitRate)( + IBasicVideo *This, + LONG *pBitRate); + + HRESULT (STDMETHODCALLTYPE *get_BitErrorRate)( + IBasicVideo *This, + LONG *pBitErrorRate); + + HRESULT (STDMETHODCALLTYPE *get_VideoWidth)( + IBasicVideo *This, + LONG *pVideoWidth); + + HRESULT (STDMETHODCALLTYPE *get_VideoHeight)( + IBasicVideo *This, + LONG *pVideoHeight); + + HRESULT (STDMETHODCALLTYPE *put_SourceLeft)( + IBasicVideo *This, + LONG SourceLeft); + + HRESULT (STDMETHODCALLTYPE *get_SourceLeft)( + IBasicVideo *This, + LONG *pSourceLeft); + + HRESULT (STDMETHODCALLTYPE *put_SourceWidth)( + IBasicVideo *This, + LONG SourceWidth); + + HRESULT (STDMETHODCALLTYPE *get_SourceWidth)( + IBasicVideo *This, + LONG *pSourceWidth); + + HRESULT (STDMETHODCALLTYPE *put_SourceTop)( + IBasicVideo *This, + LONG SourceTop); + + HRESULT (STDMETHODCALLTYPE *get_SourceTop)( + IBasicVideo *This, + LONG *pSourceTop); + + HRESULT (STDMETHODCALLTYPE *put_SourceHeight)( + IBasicVideo *This, + LONG SourceHeight); + + HRESULT (STDMETHODCALLTYPE *get_SourceHeight)( + IBasicVideo *This, + LONG *pSourceHeight); + + HRESULT (STDMETHODCALLTYPE *put_DestinationLeft)( + IBasicVideo *This, + LONG DestinationLeft); + + HRESULT (STDMETHODCALLTYPE *get_DestinationLeft)( + IBasicVideo *This, + LONG *pDestinationLeft); + + HRESULT (STDMETHODCALLTYPE *put_DestinationWidth)( + IBasicVideo *This, + LONG DestinationWidth); + + HRESULT (STDMETHODCALLTYPE *get_DestinationWidth)( + IBasicVideo *This, + LONG *pDestinationWidth); + + HRESULT (STDMETHODCALLTYPE *put_DestinationTop)( + IBasicVideo *This, + LONG DestinationTop); + + HRESULT (STDMETHODCALLTYPE *get_DestinationTop)( + IBasicVideo *This, + LONG *pDestinationTop); + + HRESULT (STDMETHODCALLTYPE *put_DestinationHeight)( + IBasicVideo *This, + LONG DestinationHeight); + + HRESULT (STDMETHODCALLTYPE *get_DestinationHeight)( + IBasicVideo *This, + LONG *pDestinationHeight); + + HRESULT (STDMETHODCALLTYPE *SetSourcePosition)( + IBasicVideo *This, + LONG Left, + LONG Top, + LONG Width, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *GetSourcePosition)( + IBasicVideo *This, + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSourcePosition)( + IBasicVideo *This); + + HRESULT (STDMETHODCALLTYPE *SetDestinationPosition)( + IBasicVideo *This, + LONG Left, + LONG Top, + LONG Width, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *GetDestinationPosition)( + IBasicVideo *This, + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *SetDefaultDestinationPosition)( + IBasicVideo *This); + + HRESULT (STDMETHODCALLTYPE *GetVideoSize)( + IBasicVideo *This, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *GetVideoPaletteEntries)( + IBasicVideo *This, + LONG StartIndex, + LONG Entries, + LONG *pRetrieved, + LONG *pPalette); + + HRESULT (STDMETHODCALLTYPE *GetCurrentImage)( + IBasicVideo *This, + LONG *pBufferSize, + LONG *pDIBImage); + + HRESULT (STDMETHODCALLTYPE *IsUsingDefaultSource)( + IBasicVideo *This); + + HRESULT (STDMETHODCALLTYPE *IsUsingDefaultDestination)( + IBasicVideo *This); + + END_INTERFACE +} IBasicVideoVtbl; + +interface IBasicVideo { + CONST_VTBL IBasicVideoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBasicVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBasicVideo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBasicVideo_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IBasicVideo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IBasicVideo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IBasicVideo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IBasicVideo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IBasicVideo methods ***/ +#define IBasicVideo_get_AvgTimePerFrame(This,pAvgTimePerFrame) (This)->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame) +#define IBasicVideo_get_BitRate(This,pBitRate) (This)->lpVtbl->get_BitRate(This,pBitRate) +#define IBasicVideo_get_BitErrorRate(This,pBitErrorRate) (This)->lpVtbl->get_BitErrorRate(This,pBitErrorRate) +#define IBasicVideo_get_VideoWidth(This,pVideoWidth) (This)->lpVtbl->get_VideoWidth(This,pVideoWidth) +#define IBasicVideo_get_VideoHeight(This,pVideoHeight) (This)->lpVtbl->get_VideoHeight(This,pVideoHeight) +#define IBasicVideo_put_SourceLeft(This,SourceLeft) (This)->lpVtbl->put_SourceLeft(This,SourceLeft) +#define IBasicVideo_get_SourceLeft(This,pSourceLeft) (This)->lpVtbl->get_SourceLeft(This,pSourceLeft) +#define IBasicVideo_put_SourceWidth(This,SourceWidth) (This)->lpVtbl->put_SourceWidth(This,SourceWidth) +#define IBasicVideo_get_SourceWidth(This,pSourceWidth) (This)->lpVtbl->get_SourceWidth(This,pSourceWidth) +#define IBasicVideo_put_SourceTop(This,SourceTop) (This)->lpVtbl->put_SourceTop(This,SourceTop) +#define IBasicVideo_get_SourceTop(This,pSourceTop) (This)->lpVtbl->get_SourceTop(This,pSourceTop) +#define IBasicVideo_put_SourceHeight(This,SourceHeight) (This)->lpVtbl->put_SourceHeight(This,SourceHeight) +#define IBasicVideo_get_SourceHeight(This,pSourceHeight) (This)->lpVtbl->get_SourceHeight(This,pSourceHeight) +#define IBasicVideo_put_DestinationLeft(This,DestinationLeft) (This)->lpVtbl->put_DestinationLeft(This,DestinationLeft) +#define IBasicVideo_get_DestinationLeft(This,pDestinationLeft) (This)->lpVtbl->get_DestinationLeft(This,pDestinationLeft) +#define IBasicVideo_put_DestinationWidth(This,DestinationWidth) (This)->lpVtbl->put_DestinationWidth(This,DestinationWidth) +#define IBasicVideo_get_DestinationWidth(This,pDestinationWidth) (This)->lpVtbl->get_DestinationWidth(This,pDestinationWidth) +#define IBasicVideo_put_DestinationTop(This,DestinationTop) (This)->lpVtbl->put_DestinationTop(This,DestinationTop) +#define IBasicVideo_get_DestinationTop(This,pDestinationTop) (This)->lpVtbl->get_DestinationTop(This,pDestinationTop) +#define IBasicVideo_put_DestinationHeight(This,DestinationHeight) (This)->lpVtbl->put_DestinationHeight(This,DestinationHeight) +#define IBasicVideo_get_DestinationHeight(This,pDestinationHeight) (This)->lpVtbl->get_DestinationHeight(This,pDestinationHeight) +#define IBasicVideo_SetSourcePosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height) +#define IBasicVideo_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) +#define IBasicVideo_SetDefaultSourcePosition(This) (This)->lpVtbl->SetDefaultSourcePosition(This) +#define IBasicVideo_SetDestinationPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height) +#define IBasicVideo_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) +#define IBasicVideo_SetDefaultDestinationPosition(This) (This)->lpVtbl->SetDefaultDestinationPosition(This) +#define IBasicVideo_GetVideoSize(This,pWidth,pHeight) (This)->lpVtbl->GetVideoSize(This,pWidth,pHeight) +#define IBasicVideo_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) (This)->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) +#define IBasicVideo_GetCurrentImage(This,pBufferSize,pDIBImage) (This)->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage) +#define IBasicVideo_IsUsingDefaultSource(This) (This)->lpVtbl->IsUsingDefaultSource(This) +#define IBasicVideo_IsUsingDefaultDestination(This) (This)->lpVtbl->IsUsingDefaultDestination(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBasicVideo_QueryInterface(IBasicVideo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBasicVideo_AddRef(IBasicVideo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBasicVideo_Release(IBasicVideo* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IBasicVideo_GetTypeInfoCount(IBasicVideo* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IBasicVideo_GetTypeInfo(IBasicVideo* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IBasicVideo_GetIDsOfNames(IBasicVideo* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IBasicVideo_Invoke(IBasicVideo* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IBasicVideo methods ***/ +static FORCEINLINE HRESULT IBasicVideo_get_AvgTimePerFrame(IBasicVideo* This,REFTIME *pAvgTimePerFrame) { + return This->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame); +} +static FORCEINLINE HRESULT IBasicVideo_get_BitRate(IBasicVideo* This,LONG *pBitRate) { + return This->lpVtbl->get_BitRate(This,pBitRate); +} +static FORCEINLINE HRESULT IBasicVideo_get_BitErrorRate(IBasicVideo* This,LONG *pBitErrorRate) { + return This->lpVtbl->get_BitErrorRate(This,pBitErrorRate); +} +static FORCEINLINE HRESULT IBasicVideo_get_VideoWidth(IBasicVideo* This,LONG *pVideoWidth) { + return This->lpVtbl->get_VideoWidth(This,pVideoWidth); +} +static FORCEINLINE HRESULT IBasicVideo_get_VideoHeight(IBasicVideo* This,LONG *pVideoHeight) { + return This->lpVtbl->get_VideoHeight(This,pVideoHeight); +} +static FORCEINLINE HRESULT IBasicVideo_put_SourceLeft(IBasicVideo* This,LONG SourceLeft) { + return This->lpVtbl->put_SourceLeft(This,SourceLeft); +} +static FORCEINLINE HRESULT IBasicVideo_get_SourceLeft(IBasicVideo* This,LONG *pSourceLeft) { + return This->lpVtbl->get_SourceLeft(This,pSourceLeft); +} +static FORCEINLINE HRESULT IBasicVideo_put_SourceWidth(IBasicVideo* This,LONG SourceWidth) { + return This->lpVtbl->put_SourceWidth(This,SourceWidth); +} +static FORCEINLINE HRESULT IBasicVideo_get_SourceWidth(IBasicVideo* This,LONG *pSourceWidth) { + return This->lpVtbl->get_SourceWidth(This,pSourceWidth); +} +static FORCEINLINE HRESULT IBasicVideo_put_SourceTop(IBasicVideo* This,LONG SourceTop) { + return This->lpVtbl->put_SourceTop(This,SourceTop); +} +static FORCEINLINE HRESULT IBasicVideo_get_SourceTop(IBasicVideo* This,LONG *pSourceTop) { + return This->lpVtbl->get_SourceTop(This,pSourceTop); +} +static FORCEINLINE HRESULT IBasicVideo_put_SourceHeight(IBasicVideo* This,LONG SourceHeight) { + return This->lpVtbl->put_SourceHeight(This,SourceHeight); +} +static FORCEINLINE HRESULT IBasicVideo_get_SourceHeight(IBasicVideo* This,LONG *pSourceHeight) { + return This->lpVtbl->get_SourceHeight(This,pSourceHeight); +} +static FORCEINLINE HRESULT IBasicVideo_put_DestinationLeft(IBasicVideo* This,LONG DestinationLeft) { + return This->lpVtbl->put_DestinationLeft(This,DestinationLeft); +} +static FORCEINLINE HRESULT IBasicVideo_get_DestinationLeft(IBasicVideo* This,LONG *pDestinationLeft) { + return This->lpVtbl->get_DestinationLeft(This,pDestinationLeft); +} +static FORCEINLINE HRESULT IBasicVideo_put_DestinationWidth(IBasicVideo* This,LONG DestinationWidth) { + return This->lpVtbl->put_DestinationWidth(This,DestinationWidth); +} +static FORCEINLINE HRESULT IBasicVideo_get_DestinationWidth(IBasicVideo* This,LONG *pDestinationWidth) { + return This->lpVtbl->get_DestinationWidth(This,pDestinationWidth); +} +static FORCEINLINE HRESULT IBasicVideo_put_DestinationTop(IBasicVideo* This,LONG DestinationTop) { + return This->lpVtbl->put_DestinationTop(This,DestinationTop); +} +static FORCEINLINE HRESULT IBasicVideo_get_DestinationTop(IBasicVideo* This,LONG *pDestinationTop) { + return This->lpVtbl->get_DestinationTop(This,pDestinationTop); +} +static FORCEINLINE HRESULT IBasicVideo_put_DestinationHeight(IBasicVideo* This,LONG DestinationHeight) { + return This->lpVtbl->put_DestinationHeight(This,DestinationHeight); +} +static FORCEINLINE HRESULT IBasicVideo_get_DestinationHeight(IBasicVideo* This,LONG *pDestinationHeight) { + return This->lpVtbl->get_DestinationHeight(This,pDestinationHeight); +} +static FORCEINLINE HRESULT IBasicVideo_SetSourcePosition(IBasicVideo* This,LONG Left,LONG Top,LONG Width,LONG Height) { + return This->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IBasicVideo_GetSourcePosition(IBasicVideo* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight); +} +static FORCEINLINE HRESULT IBasicVideo_SetDefaultSourcePosition(IBasicVideo* This) { + return This->lpVtbl->SetDefaultSourcePosition(This); +} +static FORCEINLINE HRESULT IBasicVideo_SetDestinationPosition(IBasicVideo* This,LONG Left,LONG Top,LONG Width,LONG Height) { + return This->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IBasicVideo_GetDestinationPosition(IBasicVideo* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight); +} +static FORCEINLINE HRESULT IBasicVideo_SetDefaultDestinationPosition(IBasicVideo* This) { + return This->lpVtbl->SetDefaultDestinationPosition(This); +} +static FORCEINLINE HRESULT IBasicVideo_GetVideoSize(IBasicVideo* This,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetVideoSize(This,pWidth,pHeight); +} +static FORCEINLINE HRESULT IBasicVideo_GetVideoPaletteEntries(IBasicVideo* This,LONG StartIndex,LONG Entries,LONG *pRetrieved,LONG *pPalette) { + return This->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette); +} +static FORCEINLINE HRESULT IBasicVideo_GetCurrentImage(IBasicVideo* This,LONG *pBufferSize,LONG *pDIBImage) { + return This->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage); +} +static FORCEINLINE HRESULT IBasicVideo_IsUsingDefaultSource(IBasicVideo* This) { + return This->lpVtbl->IsUsingDefaultSource(This); +} +static FORCEINLINE HRESULT IBasicVideo_IsUsingDefaultDestination(IBasicVideo* This) { + return This->lpVtbl->IsUsingDefaultDestination(This); +} +#endif +#endif + +#endif + + +#endif /* __IBasicVideo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBasicVideo2 interface + */ +#ifndef __IBasicVideo2_INTERFACE_DEFINED__ +#define __IBasicVideo2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBasicVideo2, 0x329bb360, 0xf6ea, 0x11d1, 0x90,0x38, 0x00,0xa0,0xc9,0x69,0x72,0x98); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("329bb360-f6ea-11d1-9038-00a0c9697298") +IBasicVideo2 : public IBasicVideo +{ + virtual HRESULT STDMETHODCALLTYPE GetPreferredAspectRatio( + LONG *plAspectX, + LONG *plAspectY) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBasicVideo2, 0x329bb360, 0xf6ea, 0x11d1, 0x90,0x38, 0x00,0xa0,0xc9,0x69,0x72,0x98) +#endif +#else +typedef struct IBasicVideo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBasicVideo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBasicVideo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBasicVideo2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IBasicVideo2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IBasicVideo2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IBasicVideo2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IBasicVideo2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IBasicVideo methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AvgTimePerFrame)( + IBasicVideo2 *This, + REFTIME *pAvgTimePerFrame); + + HRESULT (STDMETHODCALLTYPE *get_BitRate)( + IBasicVideo2 *This, + LONG *pBitRate); + + HRESULT (STDMETHODCALLTYPE *get_BitErrorRate)( + IBasicVideo2 *This, + LONG *pBitErrorRate); + + HRESULT (STDMETHODCALLTYPE *get_VideoWidth)( + IBasicVideo2 *This, + LONG *pVideoWidth); + + HRESULT (STDMETHODCALLTYPE *get_VideoHeight)( + IBasicVideo2 *This, + LONG *pVideoHeight); + + HRESULT (STDMETHODCALLTYPE *put_SourceLeft)( + IBasicVideo2 *This, + LONG SourceLeft); + + HRESULT (STDMETHODCALLTYPE *get_SourceLeft)( + IBasicVideo2 *This, + LONG *pSourceLeft); + + HRESULT (STDMETHODCALLTYPE *put_SourceWidth)( + IBasicVideo2 *This, + LONG SourceWidth); + + HRESULT (STDMETHODCALLTYPE *get_SourceWidth)( + IBasicVideo2 *This, + LONG *pSourceWidth); + + HRESULT (STDMETHODCALLTYPE *put_SourceTop)( + IBasicVideo2 *This, + LONG SourceTop); + + HRESULT (STDMETHODCALLTYPE *get_SourceTop)( + IBasicVideo2 *This, + LONG *pSourceTop); + + HRESULT (STDMETHODCALLTYPE *put_SourceHeight)( + IBasicVideo2 *This, + LONG SourceHeight); + + HRESULT (STDMETHODCALLTYPE *get_SourceHeight)( + IBasicVideo2 *This, + LONG *pSourceHeight); + + HRESULT (STDMETHODCALLTYPE *put_DestinationLeft)( + IBasicVideo2 *This, + LONG DestinationLeft); + + HRESULT (STDMETHODCALLTYPE *get_DestinationLeft)( + IBasicVideo2 *This, + LONG *pDestinationLeft); + + HRESULT (STDMETHODCALLTYPE *put_DestinationWidth)( + IBasicVideo2 *This, + LONG DestinationWidth); + + HRESULT (STDMETHODCALLTYPE *get_DestinationWidth)( + IBasicVideo2 *This, + LONG *pDestinationWidth); + + HRESULT (STDMETHODCALLTYPE *put_DestinationTop)( + IBasicVideo2 *This, + LONG DestinationTop); + + HRESULT (STDMETHODCALLTYPE *get_DestinationTop)( + IBasicVideo2 *This, + LONG *pDestinationTop); + + HRESULT (STDMETHODCALLTYPE *put_DestinationHeight)( + IBasicVideo2 *This, + LONG DestinationHeight); + + HRESULT (STDMETHODCALLTYPE *get_DestinationHeight)( + IBasicVideo2 *This, + LONG *pDestinationHeight); + + HRESULT (STDMETHODCALLTYPE *SetSourcePosition)( + IBasicVideo2 *This, + LONG Left, + LONG Top, + LONG Width, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *GetSourcePosition)( + IBasicVideo2 *This, + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSourcePosition)( + IBasicVideo2 *This); + + HRESULT (STDMETHODCALLTYPE *SetDestinationPosition)( + IBasicVideo2 *This, + LONG Left, + LONG Top, + LONG Width, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *GetDestinationPosition)( + IBasicVideo2 *This, + LONG *pLeft, + LONG *pTop, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *SetDefaultDestinationPosition)( + IBasicVideo2 *This); + + HRESULT (STDMETHODCALLTYPE *GetVideoSize)( + IBasicVideo2 *This, + LONG *pWidth, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *GetVideoPaletteEntries)( + IBasicVideo2 *This, + LONG StartIndex, + LONG Entries, + LONG *pRetrieved, + LONG *pPalette); + + HRESULT (STDMETHODCALLTYPE *GetCurrentImage)( + IBasicVideo2 *This, + LONG *pBufferSize, + LONG *pDIBImage); + + HRESULT (STDMETHODCALLTYPE *IsUsingDefaultSource)( + IBasicVideo2 *This); + + HRESULT (STDMETHODCALLTYPE *IsUsingDefaultDestination)( + IBasicVideo2 *This); + + /*** IBasicVideo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPreferredAspectRatio)( + IBasicVideo2 *This, + LONG *plAspectX, + LONG *plAspectY); + + END_INTERFACE +} IBasicVideo2Vtbl; + +interface IBasicVideo2 { + CONST_VTBL IBasicVideo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBasicVideo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBasicVideo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBasicVideo2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IBasicVideo2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IBasicVideo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IBasicVideo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IBasicVideo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IBasicVideo methods ***/ +#define IBasicVideo2_get_AvgTimePerFrame(This,pAvgTimePerFrame) (This)->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame) +#define IBasicVideo2_get_BitRate(This,pBitRate) (This)->lpVtbl->get_BitRate(This,pBitRate) +#define IBasicVideo2_get_BitErrorRate(This,pBitErrorRate) (This)->lpVtbl->get_BitErrorRate(This,pBitErrorRate) +#define IBasicVideo2_get_VideoWidth(This,pVideoWidth) (This)->lpVtbl->get_VideoWidth(This,pVideoWidth) +#define IBasicVideo2_get_VideoHeight(This,pVideoHeight) (This)->lpVtbl->get_VideoHeight(This,pVideoHeight) +#define IBasicVideo2_put_SourceLeft(This,SourceLeft) (This)->lpVtbl->put_SourceLeft(This,SourceLeft) +#define IBasicVideo2_get_SourceLeft(This,pSourceLeft) (This)->lpVtbl->get_SourceLeft(This,pSourceLeft) +#define IBasicVideo2_put_SourceWidth(This,SourceWidth) (This)->lpVtbl->put_SourceWidth(This,SourceWidth) +#define IBasicVideo2_get_SourceWidth(This,pSourceWidth) (This)->lpVtbl->get_SourceWidth(This,pSourceWidth) +#define IBasicVideo2_put_SourceTop(This,SourceTop) (This)->lpVtbl->put_SourceTop(This,SourceTop) +#define IBasicVideo2_get_SourceTop(This,pSourceTop) (This)->lpVtbl->get_SourceTop(This,pSourceTop) +#define IBasicVideo2_put_SourceHeight(This,SourceHeight) (This)->lpVtbl->put_SourceHeight(This,SourceHeight) +#define IBasicVideo2_get_SourceHeight(This,pSourceHeight) (This)->lpVtbl->get_SourceHeight(This,pSourceHeight) +#define IBasicVideo2_put_DestinationLeft(This,DestinationLeft) (This)->lpVtbl->put_DestinationLeft(This,DestinationLeft) +#define IBasicVideo2_get_DestinationLeft(This,pDestinationLeft) (This)->lpVtbl->get_DestinationLeft(This,pDestinationLeft) +#define IBasicVideo2_put_DestinationWidth(This,DestinationWidth) (This)->lpVtbl->put_DestinationWidth(This,DestinationWidth) +#define IBasicVideo2_get_DestinationWidth(This,pDestinationWidth) (This)->lpVtbl->get_DestinationWidth(This,pDestinationWidth) +#define IBasicVideo2_put_DestinationTop(This,DestinationTop) (This)->lpVtbl->put_DestinationTop(This,DestinationTop) +#define IBasicVideo2_get_DestinationTop(This,pDestinationTop) (This)->lpVtbl->get_DestinationTop(This,pDestinationTop) +#define IBasicVideo2_put_DestinationHeight(This,DestinationHeight) (This)->lpVtbl->put_DestinationHeight(This,DestinationHeight) +#define IBasicVideo2_get_DestinationHeight(This,pDestinationHeight) (This)->lpVtbl->get_DestinationHeight(This,pDestinationHeight) +#define IBasicVideo2_SetSourcePosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height) +#define IBasicVideo2_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) +#define IBasicVideo2_SetDefaultSourcePosition(This) (This)->lpVtbl->SetDefaultSourcePosition(This) +#define IBasicVideo2_SetDestinationPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height) +#define IBasicVideo2_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) +#define IBasicVideo2_SetDefaultDestinationPosition(This) (This)->lpVtbl->SetDefaultDestinationPosition(This) +#define IBasicVideo2_GetVideoSize(This,pWidth,pHeight) (This)->lpVtbl->GetVideoSize(This,pWidth,pHeight) +#define IBasicVideo2_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) (This)->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) +#define IBasicVideo2_GetCurrentImage(This,pBufferSize,pDIBImage) (This)->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage) +#define IBasicVideo2_IsUsingDefaultSource(This) (This)->lpVtbl->IsUsingDefaultSource(This) +#define IBasicVideo2_IsUsingDefaultDestination(This) (This)->lpVtbl->IsUsingDefaultDestination(This) +/*** IBasicVideo2 methods ***/ +#define IBasicVideo2_GetPreferredAspectRatio(This,plAspectX,plAspectY) (This)->lpVtbl->GetPreferredAspectRatio(This,plAspectX,plAspectY) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBasicVideo2_QueryInterface(IBasicVideo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBasicVideo2_AddRef(IBasicVideo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBasicVideo2_Release(IBasicVideo2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IBasicVideo2_GetTypeInfoCount(IBasicVideo2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IBasicVideo2_GetTypeInfo(IBasicVideo2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IBasicVideo2_GetIDsOfNames(IBasicVideo2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IBasicVideo2_Invoke(IBasicVideo2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IBasicVideo methods ***/ +static FORCEINLINE HRESULT IBasicVideo2_get_AvgTimePerFrame(IBasicVideo2* This,REFTIME *pAvgTimePerFrame) { + return This->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame); +} +static FORCEINLINE HRESULT IBasicVideo2_get_BitRate(IBasicVideo2* This,LONG *pBitRate) { + return This->lpVtbl->get_BitRate(This,pBitRate); +} +static FORCEINLINE HRESULT IBasicVideo2_get_BitErrorRate(IBasicVideo2* This,LONG *pBitErrorRate) { + return This->lpVtbl->get_BitErrorRate(This,pBitErrorRate); +} +static FORCEINLINE HRESULT IBasicVideo2_get_VideoWidth(IBasicVideo2* This,LONG *pVideoWidth) { + return This->lpVtbl->get_VideoWidth(This,pVideoWidth); +} +static FORCEINLINE HRESULT IBasicVideo2_get_VideoHeight(IBasicVideo2* This,LONG *pVideoHeight) { + return This->lpVtbl->get_VideoHeight(This,pVideoHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_put_SourceLeft(IBasicVideo2* This,LONG SourceLeft) { + return This->lpVtbl->put_SourceLeft(This,SourceLeft); +} +static FORCEINLINE HRESULT IBasicVideo2_get_SourceLeft(IBasicVideo2* This,LONG *pSourceLeft) { + return This->lpVtbl->get_SourceLeft(This,pSourceLeft); +} +static FORCEINLINE HRESULT IBasicVideo2_put_SourceWidth(IBasicVideo2* This,LONG SourceWidth) { + return This->lpVtbl->put_SourceWidth(This,SourceWidth); +} +static FORCEINLINE HRESULT IBasicVideo2_get_SourceWidth(IBasicVideo2* This,LONG *pSourceWidth) { + return This->lpVtbl->get_SourceWidth(This,pSourceWidth); +} +static FORCEINLINE HRESULT IBasicVideo2_put_SourceTop(IBasicVideo2* This,LONG SourceTop) { + return This->lpVtbl->put_SourceTop(This,SourceTop); +} +static FORCEINLINE HRESULT IBasicVideo2_get_SourceTop(IBasicVideo2* This,LONG *pSourceTop) { + return This->lpVtbl->get_SourceTop(This,pSourceTop); +} +static FORCEINLINE HRESULT IBasicVideo2_put_SourceHeight(IBasicVideo2* This,LONG SourceHeight) { + return This->lpVtbl->put_SourceHeight(This,SourceHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_get_SourceHeight(IBasicVideo2* This,LONG *pSourceHeight) { + return This->lpVtbl->get_SourceHeight(This,pSourceHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_put_DestinationLeft(IBasicVideo2* This,LONG DestinationLeft) { + return This->lpVtbl->put_DestinationLeft(This,DestinationLeft); +} +static FORCEINLINE HRESULT IBasicVideo2_get_DestinationLeft(IBasicVideo2* This,LONG *pDestinationLeft) { + return This->lpVtbl->get_DestinationLeft(This,pDestinationLeft); +} +static FORCEINLINE HRESULT IBasicVideo2_put_DestinationWidth(IBasicVideo2* This,LONG DestinationWidth) { + return This->lpVtbl->put_DestinationWidth(This,DestinationWidth); +} +static FORCEINLINE HRESULT IBasicVideo2_get_DestinationWidth(IBasicVideo2* This,LONG *pDestinationWidth) { + return This->lpVtbl->get_DestinationWidth(This,pDestinationWidth); +} +static FORCEINLINE HRESULT IBasicVideo2_put_DestinationTop(IBasicVideo2* This,LONG DestinationTop) { + return This->lpVtbl->put_DestinationTop(This,DestinationTop); +} +static FORCEINLINE HRESULT IBasicVideo2_get_DestinationTop(IBasicVideo2* This,LONG *pDestinationTop) { + return This->lpVtbl->get_DestinationTop(This,pDestinationTop); +} +static FORCEINLINE HRESULT IBasicVideo2_put_DestinationHeight(IBasicVideo2* This,LONG DestinationHeight) { + return This->lpVtbl->put_DestinationHeight(This,DestinationHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_get_DestinationHeight(IBasicVideo2* This,LONG *pDestinationHeight) { + return This->lpVtbl->get_DestinationHeight(This,pDestinationHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_SetSourcePosition(IBasicVideo2* This,LONG Left,LONG Top,LONG Width,LONG Height) { + return This->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IBasicVideo2_GetSourcePosition(IBasicVideo2* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_SetDefaultSourcePosition(IBasicVideo2* This) { + return This->lpVtbl->SetDefaultSourcePosition(This); +} +static FORCEINLINE HRESULT IBasicVideo2_SetDestinationPosition(IBasicVideo2* This,LONG Left,LONG Top,LONG Width,LONG Height) { + return This->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IBasicVideo2_GetDestinationPosition(IBasicVideo2* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_SetDefaultDestinationPosition(IBasicVideo2* This) { + return This->lpVtbl->SetDefaultDestinationPosition(This); +} +static FORCEINLINE HRESULT IBasicVideo2_GetVideoSize(IBasicVideo2* This,LONG *pWidth,LONG *pHeight) { + return This->lpVtbl->GetVideoSize(This,pWidth,pHeight); +} +static FORCEINLINE HRESULT IBasicVideo2_GetVideoPaletteEntries(IBasicVideo2* This,LONG StartIndex,LONG Entries,LONG *pRetrieved,LONG *pPalette) { + return This->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette); +} +static FORCEINLINE HRESULT IBasicVideo2_GetCurrentImage(IBasicVideo2* This,LONG *pBufferSize,LONG *pDIBImage) { + return This->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage); +} +static FORCEINLINE HRESULT IBasicVideo2_IsUsingDefaultSource(IBasicVideo2* This) { + return This->lpVtbl->IsUsingDefaultSource(This); +} +static FORCEINLINE HRESULT IBasicVideo2_IsUsingDefaultDestination(IBasicVideo2* This) { + return This->lpVtbl->IsUsingDefaultDestination(This); +} +/*** IBasicVideo2 methods ***/ +static FORCEINLINE HRESULT IBasicVideo2_GetPreferredAspectRatio(IBasicVideo2* This,LONG *plAspectX,LONG *plAspectY) { + return This->lpVtbl->GetPreferredAspectRatio(This,plAspectX,plAspectY); +} +#endif +#endif + +#endif + + +#endif /* __IBasicVideo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaEvent interface + */ +#ifndef __IMediaEvent_INTERFACE_DEFINED__ +#define __IMediaEvent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaEvent, 0x56a868b6, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868b6-0ad4-11ce-b03a-0020af0ba770") +IMediaEvent : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetEventHandle( + OAEVENT *hEvent) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEvent( + LONG *lEventCode, + LONG_PTR *lParam1, + LONG_PTR *lParam2, + LONG msTimeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForCompletion( + LONG msTimeout, + LONG *pEvCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelDefaultHandling( + LONG lEvCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestoreDefaultHandling( + LONG lEvCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeEventParams( + LONG lEvCode, + LONG_PTR lParam1, + LONG_PTR lParam2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaEvent, 0x56a868b6, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaEventVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaEvent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaEvent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaEvent *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMediaEvent *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMediaEvent *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMediaEvent *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMediaEvent *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMediaEvent methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEventHandle)( + IMediaEvent *This, + OAEVENT *hEvent); + + HRESULT (STDMETHODCALLTYPE *GetEvent)( + IMediaEvent *This, + LONG *lEventCode, + LONG_PTR *lParam1, + LONG_PTR *lParam2, + LONG msTimeout); + + HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( + IMediaEvent *This, + LONG msTimeout, + LONG *pEvCode); + + HRESULT (STDMETHODCALLTYPE *CancelDefaultHandling)( + IMediaEvent *This, + LONG lEvCode); + + HRESULT (STDMETHODCALLTYPE *RestoreDefaultHandling)( + IMediaEvent *This, + LONG lEvCode); + + HRESULT (STDMETHODCALLTYPE *FreeEventParams)( + IMediaEvent *This, + LONG lEvCode, + LONG_PTR lParam1, + LONG_PTR lParam2); + + END_INTERFACE +} IMediaEventVtbl; + +interface IMediaEvent { + CONST_VTBL IMediaEventVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaEvent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaEvent_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMediaEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMediaEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMediaEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMediaEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMediaEvent methods ***/ +#define IMediaEvent_GetEventHandle(This,hEvent) (This)->lpVtbl->GetEventHandle(This,hEvent) +#define IMediaEvent_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) (This)->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) +#define IMediaEvent_WaitForCompletion(This,msTimeout,pEvCode) (This)->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode) +#define IMediaEvent_CancelDefaultHandling(This,lEvCode) (This)->lpVtbl->CancelDefaultHandling(This,lEvCode) +#define IMediaEvent_RestoreDefaultHandling(This,lEvCode) (This)->lpVtbl->RestoreDefaultHandling(This,lEvCode) +#define IMediaEvent_FreeEventParams(This,lEvCode,lParam1,lParam2) (This)->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaEvent_QueryInterface(IMediaEvent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaEvent_AddRef(IMediaEvent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaEvent_Release(IMediaEvent* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMediaEvent_GetTypeInfoCount(IMediaEvent* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMediaEvent_GetTypeInfo(IMediaEvent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMediaEvent_GetIDsOfNames(IMediaEvent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMediaEvent_Invoke(IMediaEvent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMediaEvent methods ***/ +static FORCEINLINE HRESULT IMediaEvent_GetEventHandle(IMediaEvent* This,OAEVENT *hEvent) { + return This->lpVtbl->GetEventHandle(This,hEvent); +} +static FORCEINLINE HRESULT IMediaEvent_GetEvent(IMediaEvent* This,LONG *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,LONG msTimeout) { + return This->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout); +} +static FORCEINLINE HRESULT IMediaEvent_WaitForCompletion(IMediaEvent* This,LONG msTimeout,LONG *pEvCode) { + return This->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode); +} +static FORCEINLINE HRESULT IMediaEvent_CancelDefaultHandling(IMediaEvent* This,LONG lEvCode) { + return This->lpVtbl->CancelDefaultHandling(This,lEvCode); +} +static FORCEINLINE HRESULT IMediaEvent_RestoreDefaultHandling(IMediaEvent* This,LONG lEvCode) { + return This->lpVtbl->RestoreDefaultHandling(This,lEvCode); +} +static FORCEINLINE HRESULT IMediaEvent_FreeEventParams(IMediaEvent* This,LONG lEvCode,LONG_PTR lParam1,LONG_PTR lParam2) { + return This->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2); +} +#endif +#endif + +#endif + + +#endif /* __IMediaEvent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaEventEx interface + */ +#ifndef __IMediaEventEx_INTERFACE_DEFINED__ +#define __IMediaEventEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaEventEx, 0x56a868c0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868c0-0ad4-11ce-b03a-0020af0ba770") +IMediaEventEx : public IMediaEvent +{ + virtual HRESULT STDMETHODCALLTYPE SetNotifyWindow( + OAHWND hwnd, + LONG lMsg, + LONG_PTR lInstanceData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNotifyFlags( + LONG lNoNotifyFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNotifyFlags( + LONG *lplNoNotifyFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaEventEx, 0x56a868c0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaEventExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaEventEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaEventEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaEventEx *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMediaEventEx *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMediaEventEx *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMediaEventEx *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMediaEventEx *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMediaEvent methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEventHandle)( + IMediaEventEx *This, + OAEVENT *hEvent); + + HRESULT (STDMETHODCALLTYPE *GetEvent)( + IMediaEventEx *This, + LONG *lEventCode, + LONG_PTR *lParam1, + LONG_PTR *lParam2, + LONG msTimeout); + + HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( + IMediaEventEx *This, + LONG msTimeout, + LONG *pEvCode); + + HRESULT (STDMETHODCALLTYPE *CancelDefaultHandling)( + IMediaEventEx *This, + LONG lEvCode); + + HRESULT (STDMETHODCALLTYPE *RestoreDefaultHandling)( + IMediaEventEx *This, + LONG lEvCode); + + HRESULT (STDMETHODCALLTYPE *FreeEventParams)( + IMediaEventEx *This, + LONG lEvCode, + LONG_PTR lParam1, + LONG_PTR lParam2); + + /*** IMediaEventEx methods ***/ + HRESULT (STDMETHODCALLTYPE *SetNotifyWindow)( + IMediaEventEx *This, + OAHWND hwnd, + LONG lMsg, + LONG_PTR lInstanceData); + + HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)( + IMediaEventEx *This, + LONG lNoNotifyFlags); + + HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)( + IMediaEventEx *This, + LONG *lplNoNotifyFlags); + + END_INTERFACE +} IMediaEventExVtbl; + +interface IMediaEventEx { + CONST_VTBL IMediaEventExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaEventEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaEventEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaEventEx_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMediaEventEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMediaEventEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMediaEventEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMediaEventEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMediaEvent methods ***/ +#define IMediaEventEx_GetEventHandle(This,hEvent) (This)->lpVtbl->GetEventHandle(This,hEvent) +#define IMediaEventEx_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) (This)->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) +#define IMediaEventEx_WaitForCompletion(This,msTimeout,pEvCode) (This)->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode) +#define IMediaEventEx_CancelDefaultHandling(This,lEvCode) (This)->lpVtbl->CancelDefaultHandling(This,lEvCode) +#define IMediaEventEx_RestoreDefaultHandling(This,lEvCode) (This)->lpVtbl->RestoreDefaultHandling(This,lEvCode) +#define IMediaEventEx_FreeEventParams(This,lEvCode,lParam1,lParam2) (This)->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2) +/*** IMediaEventEx methods ***/ +#define IMediaEventEx_SetNotifyWindow(This,hwnd,lMsg,lInstanceData) (This)->lpVtbl->SetNotifyWindow(This,hwnd,lMsg,lInstanceData) +#define IMediaEventEx_SetNotifyFlags(This,lNoNotifyFlags) (This)->lpVtbl->SetNotifyFlags(This,lNoNotifyFlags) +#define IMediaEventEx_GetNotifyFlags(This,lplNoNotifyFlags) (This)->lpVtbl->GetNotifyFlags(This,lplNoNotifyFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaEventEx_QueryInterface(IMediaEventEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaEventEx_AddRef(IMediaEventEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaEventEx_Release(IMediaEventEx* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMediaEventEx_GetTypeInfoCount(IMediaEventEx* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMediaEventEx_GetTypeInfo(IMediaEventEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMediaEventEx_GetIDsOfNames(IMediaEventEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMediaEventEx_Invoke(IMediaEventEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMediaEvent methods ***/ +static FORCEINLINE HRESULT IMediaEventEx_GetEventHandle(IMediaEventEx* This,OAEVENT *hEvent) { + return This->lpVtbl->GetEventHandle(This,hEvent); +} +static FORCEINLINE HRESULT IMediaEventEx_GetEvent(IMediaEventEx* This,LONG *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,LONG msTimeout) { + return This->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout); +} +static FORCEINLINE HRESULT IMediaEventEx_WaitForCompletion(IMediaEventEx* This,LONG msTimeout,LONG *pEvCode) { + return This->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode); +} +static FORCEINLINE HRESULT IMediaEventEx_CancelDefaultHandling(IMediaEventEx* This,LONG lEvCode) { + return This->lpVtbl->CancelDefaultHandling(This,lEvCode); +} +static FORCEINLINE HRESULT IMediaEventEx_RestoreDefaultHandling(IMediaEventEx* This,LONG lEvCode) { + return This->lpVtbl->RestoreDefaultHandling(This,lEvCode); +} +static FORCEINLINE HRESULT IMediaEventEx_FreeEventParams(IMediaEventEx* This,LONG lEvCode,LONG_PTR lParam1,LONG_PTR lParam2) { + return This->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2); +} +/*** IMediaEventEx methods ***/ +static FORCEINLINE HRESULT IMediaEventEx_SetNotifyWindow(IMediaEventEx* This,OAHWND hwnd,LONG lMsg,LONG_PTR lInstanceData) { + return This->lpVtbl->SetNotifyWindow(This,hwnd,lMsg,lInstanceData); +} +static FORCEINLINE HRESULT IMediaEventEx_SetNotifyFlags(IMediaEventEx* This,LONG lNoNotifyFlags) { + return This->lpVtbl->SetNotifyFlags(This,lNoNotifyFlags); +} +static FORCEINLINE HRESULT IMediaEventEx_GetNotifyFlags(IMediaEventEx* This,LONG *lplNoNotifyFlags) { + return This->lpVtbl->GetNotifyFlags(This,lplNoNotifyFlags); +} +#endif +#endif + +#endif + + +#endif /* __IMediaEventEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaPosition interface + */ +#ifndef __IMediaPosition_INTERFACE_DEFINED__ +#define __IMediaPosition_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaPosition, 0x56a868b2, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868b2-0ad4-11ce-b03a-0020af0ba770") +IMediaPosition : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Duration( + REFTIME *plength) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CurrentPosition( + REFTIME llTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentPosition( + REFTIME *pllTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StopTime( + REFTIME *pllTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StopTime( + REFTIME llTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PrerollTime( + REFTIME *pllTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PrerollTime( + REFTIME llTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Rate( + double dRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Rate( + double *pdRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanSeekForward( + LONG *pCanSeekForward) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanSeekBackward( + LONG *pCanSeekBackward) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaPosition, 0x56a868b2, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaPositionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaPosition *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaPosition *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaPosition *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMediaPosition *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMediaPosition *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMediaPosition *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMediaPosition *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMediaPosition methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Duration)( + IMediaPosition *This, + REFTIME *plength); + + HRESULT (STDMETHODCALLTYPE *put_CurrentPosition)( + IMediaPosition *This, + REFTIME llTime); + + HRESULT (STDMETHODCALLTYPE *get_CurrentPosition)( + IMediaPosition *This, + REFTIME *pllTime); + + HRESULT (STDMETHODCALLTYPE *get_StopTime)( + IMediaPosition *This, + REFTIME *pllTime); + + HRESULT (STDMETHODCALLTYPE *put_StopTime)( + IMediaPosition *This, + REFTIME llTime); + + HRESULT (STDMETHODCALLTYPE *get_PrerollTime)( + IMediaPosition *This, + REFTIME *pllTime); + + HRESULT (STDMETHODCALLTYPE *put_PrerollTime)( + IMediaPosition *This, + REFTIME llTime); + + HRESULT (STDMETHODCALLTYPE *put_Rate)( + IMediaPosition *This, + double dRate); + + HRESULT (STDMETHODCALLTYPE *get_Rate)( + IMediaPosition *This, + double *pdRate); + + HRESULT (STDMETHODCALLTYPE *CanSeekForward)( + IMediaPosition *This, + LONG *pCanSeekForward); + + HRESULT (STDMETHODCALLTYPE *CanSeekBackward)( + IMediaPosition *This, + LONG *pCanSeekBackward); + + END_INTERFACE +} IMediaPositionVtbl; + +interface IMediaPosition { + CONST_VTBL IMediaPositionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaPosition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaPosition_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaPosition_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMediaPosition_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMediaPosition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMediaPosition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMediaPosition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMediaPosition methods ***/ +#define IMediaPosition_get_Duration(This,plength) (This)->lpVtbl->get_Duration(This,plength) +#define IMediaPosition_put_CurrentPosition(This,llTime) (This)->lpVtbl->put_CurrentPosition(This,llTime) +#define IMediaPosition_get_CurrentPosition(This,pllTime) (This)->lpVtbl->get_CurrentPosition(This,pllTime) +#define IMediaPosition_get_StopTime(This,pllTime) (This)->lpVtbl->get_StopTime(This,pllTime) +#define IMediaPosition_put_StopTime(This,llTime) (This)->lpVtbl->put_StopTime(This,llTime) +#define IMediaPosition_get_PrerollTime(This,pllTime) (This)->lpVtbl->get_PrerollTime(This,pllTime) +#define IMediaPosition_put_PrerollTime(This,llTime) (This)->lpVtbl->put_PrerollTime(This,llTime) +#define IMediaPosition_put_Rate(This,dRate) (This)->lpVtbl->put_Rate(This,dRate) +#define IMediaPosition_get_Rate(This,pdRate) (This)->lpVtbl->get_Rate(This,pdRate) +#define IMediaPosition_CanSeekForward(This,pCanSeekForward) (This)->lpVtbl->CanSeekForward(This,pCanSeekForward) +#define IMediaPosition_CanSeekBackward(This,pCanSeekBackward) (This)->lpVtbl->CanSeekBackward(This,pCanSeekBackward) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaPosition_QueryInterface(IMediaPosition* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaPosition_AddRef(IMediaPosition* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaPosition_Release(IMediaPosition* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMediaPosition_GetTypeInfoCount(IMediaPosition* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMediaPosition_GetTypeInfo(IMediaPosition* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMediaPosition_GetIDsOfNames(IMediaPosition* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMediaPosition_Invoke(IMediaPosition* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMediaPosition methods ***/ +static FORCEINLINE HRESULT IMediaPosition_get_Duration(IMediaPosition* This,REFTIME *plength) { + return This->lpVtbl->get_Duration(This,plength); +} +static FORCEINLINE HRESULT IMediaPosition_put_CurrentPosition(IMediaPosition* This,REFTIME llTime) { + return This->lpVtbl->put_CurrentPosition(This,llTime); +} +static FORCEINLINE HRESULT IMediaPosition_get_CurrentPosition(IMediaPosition* This,REFTIME *pllTime) { + return This->lpVtbl->get_CurrentPosition(This,pllTime); +} +static FORCEINLINE HRESULT IMediaPosition_get_StopTime(IMediaPosition* This,REFTIME *pllTime) { + return This->lpVtbl->get_StopTime(This,pllTime); +} +static FORCEINLINE HRESULT IMediaPosition_put_StopTime(IMediaPosition* This,REFTIME llTime) { + return This->lpVtbl->put_StopTime(This,llTime); +} +static FORCEINLINE HRESULT IMediaPosition_get_PrerollTime(IMediaPosition* This,REFTIME *pllTime) { + return This->lpVtbl->get_PrerollTime(This,pllTime); +} +static FORCEINLINE HRESULT IMediaPosition_put_PrerollTime(IMediaPosition* This,REFTIME llTime) { + return This->lpVtbl->put_PrerollTime(This,llTime); +} +static FORCEINLINE HRESULT IMediaPosition_put_Rate(IMediaPosition* This,double dRate) { + return This->lpVtbl->put_Rate(This,dRate); +} +static FORCEINLINE HRESULT IMediaPosition_get_Rate(IMediaPosition* This,double *pdRate) { + return This->lpVtbl->get_Rate(This,pdRate); +} +static FORCEINLINE HRESULT IMediaPosition_CanSeekForward(IMediaPosition* This,LONG *pCanSeekForward) { + return This->lpVtbl->CanSeekForward(This,pCanSeekForward); +} +static FORCEINLINE HRESULT IMediaPosition_CanSeekBackward(IMediaPosition* This,LONG *pCanSeekBackward) { + return This->lpVtbl->CanSeekBackward(This,pCanSeekBackward); +} +#endif +#endif + +#endif + + +#endif /* __IMediaPosition_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __control_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/control.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/control.idl new file mode 100644 index 0000000..529d435 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/control.idl @@ -0,0 +1,248 @@ +/* + * Copyright (C) 2002 Lionel Ulmer + * Copyright (C) 2004 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +[ + version(1.0), + uuid(56a868b0-0ad4-11ce-b03a-0020af0ba770) +] +library QuartzTypeLib +{ + importlib("stdole2.tlb"); + + typedef LONG OAFilterState; + typedef LONG_PTR OAHWND; + typedef LONG_PTR OAEVENT; + + cpp_quote("#ifndef REFTIME_DEFINED") + cpp_quote("#define REFTIME_DEFINED") + typedef DOUBLE REFTIME; + cpp_quote("#endif") + + /*************************************************************************** + * IMediaControl interface + */ + [ + object, + uuid(56a868b1-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IMediaControl : IDispatch + { + HRESULT Run(); + HRESULT Pause(); + HRESULT Stop(); + HRESULT GetState( [in] LONG msTimeout, [out] OAFilterState *pfs ); + HRESULT RenderFile( [in] BSTR strFilename ); + HRESULT AddSourceFilter( [in] BSTR strFilename, [out] IDispatch **ppUnk ); + [propget] HRESULT FilterCollection( [out] IDispatch **ppUnk ); + [propget] HRESULT RegFilterCollection( [out] IDispatch **ppUnk ); + HRESULT StopWhenReady(); + } + + + /*************************************************************************** + * IBasicAudio interface + */ + [ + object, + uuid(56a868b3-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IBasicAudio : IDispatch + { + [propput] HRESULT Volume( [in] LONG lVolume ); + [propget] HRESULT Volume( [out, retval] LONG *plVolume ); + [propput] HRESULT Balance( [in] LONG lBalance ); + [propget] HRESULT Balance( [out, retval] LONG *plBalance ); + } + + + /*************************************************************************** + * IVideoWindow interface + */ + [ + object, + uuid(56a868b4-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IVideoWindow : IDispatch + { + [propput] HRESULT Caption( [in] BSTR strCaption ); + [propget] HRESULT Caption( [out, retval] BSTR *strCaption ); + [propput] HRESULT WindowStyle( [in] LONG WindowStyle ); + [propget] HRESULT WindowStyle( [out, retval] LONG *WindowStyle ); + [propput] HRESULT WindowStyleEx( [in] LONG WindowStyleEx ); + [propget] HRESULT WindowStyleEx( [out, retval] LONG *WindowStyleEx ); + [propput] HRESULT AutoShow( [in] LONG AutoShow ); + [propget] HRESULT AutoShow( [out, retval] LONG *AutoShow ); + [propput] HRESULT WindowState( [in] LONG WindowState ); + [propget] HRESULT WindowState( [out, retval] LONG *WindowState ); + [propput] HRESULT BackgroundPalette( [in] LONG BackgroundPalette ); + [propget] HRESULT BackgroundPalette( [out, retval] LONG *pBackgroundPalette ); + [propput] HRESULT Visible( [in] LONG Visible ); + [propget] HRESULT Visible( [out, retval] LONG *pVisible ); + [propput] HRESULT Left( [in] LONG Left ); + [propget] HRESULT Left( [out, retval] LONG *pLeft ); + [propput] HRESULT Width( [in] LONG Width ); + [propget] HRESULT Width( [out, retval] LONG *pWidth ); + [propput] HRESULT Top( [in] LONG Top ); + [propget] HRESULT Top( [out, retval] LONG *pTop ); + [propput] HRESULT Height( [in] LONG Height ); + [propget] HRESULT Height( [out, retval] LONG *pHeight ); + [propput] HRESULT Owner( [in] OAHWND Owner ); + [propget] HRESULT Owner( [out, retval] OAHWND *Owner ); + [propput] HRESULT MessageDrain( [in] OAHWND Drain ); + [propget] HRESULT MessageDrain( [out, retval] OAHWND *Drain ); + [propget] HRESULT BorderColor( [out, retval] LONG *Color ); + [propput] HRESULT BorderColor( [in] LONG Color ); + [propget] HRESULT FullScreenMode( [out, retval] LONG *FullScreenMode ); + [propput] HRESULT FullScreenMode( [in] LONG FullScreenMode ); + HRESULT SetWindowForeground( [in] LONG Focus ); + HRESULT NotifyOwnerMessage( [in] OAHWND hwnd, [in] LONG uMsg, [in] LONG_PTR wParam, [in] LONG_PTR lParam ); + HRESULT SetWindowPosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height ); + HRESULT GetWindowPosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT GetMinIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT GetMaxIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT GetRestorePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT HideCursor( [in] LONG HideCursor ); + HRESULT IsCursorHidden( [out] LONG *CursorHidden ); + } + + + /*************************************************************************** + * IBasicVideo interface + */ + [ + object, + uuid(56a868b5-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IBasicVideo : IDispatch + { + [propget] HRESULT AvgTimePerFrame( [out, retval] REFTIME *pAvgTimePerFrame ); + [propget] HRESULT BitRate( [out, retval] LONG *pBitRate ); + [propget] HRESULT BitErrorRate( [out, retval] LONG *pBitErrorRate ); + [propget] HRESULT VideoWidth( [out, retval] LONG *pVideoWidth ); + [propget] HRESULT VideoHeight( [out, retval] LONG *pVideoHeight ); + [propput] HRESULT SourceLeft( [in] LONG SourceLeft ); + [propget] HRESULT SourceLeft( [out, retval] LONG *pSourceLeft ); + [propput] HRESULT SourceWidth( [in] LONG SourceWidth ); + [propget] HRESULT SourceWidth( [out, retval] LONG *pSourceWidth ); + [propput] HRESULT SourceTop( [in] LONG SourceTop ); + [propget] HRESULT SourceTop( [out, retval] LONG *pSourceTop ); + [propput] HRESULT SourceHeight( [in] LONG SourceHeight ); + [propget] HRESULT SourceHeight( [out, retval] LONG *pSourceHeight ); + [propput] HRESULT DestinationLeft( [in] LONG DestinationLeft ); + [propget] HRESULT DestinationLeft( [out, retval] LONG *pDestinationLeft ); + [propput] HRESULT DestinationWidth( [in] LONG DestinationWidth ); + [propget] HRESULT DestinationWidth( [out, retval] LONG *pDestinationWidth ); + [propput] HRESULT DestinationTop( [in] LONG DestinationTop ); + [propget] HRESULT DestinationTop( [out, retval] LONG *pDestinationTop ); + [propput] HRESULT DestinationHeight( [in] LONG DestinationHeight ); + [propget] HRESULT DestinationHeight( [out, retval] LONG *pDestinationHeight ); + HRESULT SetSourcePosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height ); + HRESULT GetSourcePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT SetDefaultSourcePosition(); + HRESULT SetDestinationPosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height ); + HRESULT GetDestinationPosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT SetDefaultDestinationPosition(); + HRESULT GetVideoSize( [out] LONG *pWidth, [out] LONG *pHeight ); + HRESULT GetVideoPaletteEntries( [in] LONG StartIndex, + [in] LONG Entries, + [out] LONG *pRetrieved, + [out, size_is(Entries), length_is(*pRetrieved)] LONG *pPalette ); + HRESULT GetCurrentImage( [in, out] LONG *pBufferSize, + [out, size_is(*pBufferSize), length_is(*pBufferSize)] LONG *pDIBImage ); + HRESULT IsUsingDefaultSource(); + HRESULT IsUsingDefaultDestination(); + } + + [ + uuid(329bb360-f6ea-11d1-9038-00a0c9697298), + helpstring("IBasicVideo2"), + odl + ] + + interface IBasicVideo2 : IBasicVideo + { + HRESULT GetPreferredAspectRatio([out] LONG *plAspectX, [out] LONG *plAspectY); + } + + + /*************************************************************************** + * IMediaEvent interface + */ + [ + object, + uuid(56a868b6-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IMediaEvent : IDispatch + { + HRESULT GetEventHandle( [out] OAEVENT *hEvent ); + HRESULT GetEvent( [out] LONG *lEventCode, [out] LONG_PTR *lParam1, [out] LONG_PTR *lParam2, [in] LONG msTimeout ); + HRESULT WaitForCompletion( [in] LONG msTimeout, [out] LONG *pEvCode ); + HRESULT CancelDefaultHandling( [in] LONG lEvCode ); + HRESULT RestoreDefaultHandling( [in] LONG lEvCode ); + HRESULT FreeEventParams( [in] LONG lEvCode, [in] LONG_PTR lParam1, [in] LONG_PTR lParam2 ); + } + + + /*************************************************************************** + * IMediaEventEx interface + */ + [ + object, + uuid(56a868c0-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IMediaEventEx : IMediaEvent + { + HRESULT SetNotifyWindow( [in] OAHWND hwnd, [in] LONG lMsg, [in] LONG_PTR lInstanceData ); + HRESULT SetNotifyFlags( [in] LONG lNoNotifyFlags ); + HRESULT GetNotifyFlags( [out] LONG *lplNoNotifyFlags ); + } + + + /*************************************************************************** + * IMediaPosition interface + */ + [ + object, + uuid(56a868b2-0ad4-11ce-b03a-0020af0ba770), + pointer_default(unique) + ] + interface IMediaPosition : IDispatch + { + HRESULT get_Duration( [out] REFTIME *plength ); + HRESULT put_CurrentPosition( [in] REFTIME llTime ); + HRESULT get_CurrentPosition( [out] REFTIME *pllTime ); + HRESULT get_StopTime( [out] REFTIME *pllTime ); + HRESULT put_StopTime( [in] REFTIME llTime ); + HRESULT get_PrerollTime( [out] REFTIME *pllTime ); + HRESULT put_PrerollTime( [in] REFTIME llTime ); + HRESULT put_Rate( [in] double dRate ); + HRESULT get_Rate( [out] double *pdRate ); + HRESULT CanSeekForward( [out] LONG *pCanSeekForward ); + HRESULT CanSeekBackward( [out] LONG *pCanSeekBackward ); + } + +} /* library QuartzTypeLib */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cor.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cor.h new file mode 100644 index 0000000..be2152a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cor.h @@ -0,0 +1,393 @@ +/*** Autogenerated by WIDL 2.18 from cor.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __cor_h__ +#define __cor_h__ + +/* Forward declarations */ + +#ifndef __IMetaDataDispenser_FWD_DEFINED__ +#define __IMetaDataDispenser_FWD_DEFINED__ +typedef interface IMetaDataDispenser IMetaDataDispenser; +#ifdef __cplusplus +interface IMetaDataDispenser; +#endif /* __cplusplus */ +#endif + +#ifndef __IMetaDataDispenserEx_FWD_DEFINED__ +#define __IMetaDataDispenserEx_FWD_DEFINED__ +typedef interface IMetaDataDispenserEx IMetaDataDispenserEx; +#ifdef __cplusplus +interface IMetaDataDispenserEx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include +DEFINE_GUID(CLSID_CorMetaDataDispenser, 0xe5cb7a31,0x7512,0x11d2,0x89,0xce,0x00,0x80,0xc7,0x92,0xe5,0xd8); +DEFINE_GUID(CLSID_CorMetaDataDispenserRuntime, 0x1ec2de53,0x75cc,0x11d2,0x97,0x75,0x00,0xa0,0xc9,0xb4,0xd5,0x0c); +/***************************************************************************** + * IMetaDataDispenser interface + */ +#ifndef __IMetaDataDispenser_INTERFACE_DEFINED__ +#define __IMetaDataDispenser_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMetaDataDispenser, 0x809c652e, 0x7396, 0x11d2, 0x97,0x71, 0x00,0xa0,0xc9,0xb4,0xd5,0x0c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("809c652e-7396-11d2-9771-00a0c9b4d50c") +IMetaDataDispenser : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DefineScope( + REFCLSID rclsid, + DWORD dwCreateFlags, + REFIID riid, + IUnknown **ppIUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenScope( + LPCWSTR szScope, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenScopeOnMemory( + const void *pData, + ULONG cbData, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMetaDataDispenser, 0x809c652e, 0x7396, 0x11d2, 0x97,0x71, 0x00,0xa0,0xc9,0xb4,0xd5,0x0c) +#endif +#else +typedef struct IMetaDataDispenserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMetaDataDispenser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMetaDataDispenser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMetaDataDispenser *This); + + /*** IMetaDataDispenser methods ***/ + HRESULT (STDMETHODCALLTYPE *DefineScope)( + IMetaDataDispenser *This, + REFCLSID rclsid, + DWORD dwCreateFlags, + REFIID riid, + IUnknown **ppIUnk); + + HRESULT (STDMETHODCALLTYPE *OpenScope)( + IMetaDataDispenser *This, + LPCWSTR szScope, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk); + + HRESULT (STDMETHODCALLTYPE *OpenScopeOnMemory)( + IMetaDataDispenser *This, + const void *pData, + ULONG cbData, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk); + + END_INTERFACE +} IMetaDataDispenserVtbl; + +interface IMetaDataDispenser { + CONST_VTBL IMetaDataDispenserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMetaDataDispenser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMetaDataDispenser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMetaDataDispenser_Release(This) (This)->lpVtbl->Release(This) +/*** IMetaDataDispenser methods ***/ +#define IMetaDataDispenser_DefineScope(This,rclsid,dwCreateFlags,riid,ppIUnk) (This)->lpVtbl->DefineScope(This,rclsid,dwCreateFlags,riid,ppIUnk) +#define IMetaDataDispenser_OpenScope(This,szScope,dwOpenFlags,riid,ppIUnk) (This)->lpVtbl->OpenScope(This,szScope,dwOpenFlags,riid,ppIUnk) +#define IMetaDataDispenser_OpenScopeOnMemory(This,pData,cbData,dwOpenFlags,riid,ppIUnk) (This)->lpVtbl->OpenScopeOnMemory(This,pData,cbData,dwOpenFlags,riid,ppIUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMetaDataDispenser_QueryInterface(IMetaDataDispenser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMetaDataDispenser_AddRef(IMetaDataDispenser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMetaDataDispenser_Release(IMetaDataDispenser* This) { + return This->lpVtbl->Release(This); +} +/*** IMetaDataDispenser methods ***/ +static FORCEINLINE HRESULT IMetaDataDispenser_DefineScope(IMetaDataDispenser* This,REFCLSID rclsid,DWORD dwCreateFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->DefineScope(This,rclsid,dwCreateFlags,riid,ppIUnk); +} +static FORCEINLINE HRESULT IMetaDataDispenser_OpenScope(IMetaDataDispenser* This,LPCWSTR szScope,DWORD dwOpenFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->OpenScope(This,szScope,dwOpenFlags,riid,ppIUnk); +} +static FORCEINLINE HRESULT IMetaDataDispenser_OpenScopeOnMemory(IMetaDataDispenser* This,const void *pData,ULONG cbData,DWORD dwOpenFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->OpenScopeOnMemory(This,pData,cbData,dwOpenFlags,riid,ppIUnk); +} +#endif +#endif + +#endif + + +#endif /* __IMetaDataDispenser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMetaDataDispenserEx interface + */ +#ifndef __IMetaDataDispenserEx_INTERFACE_DEFINED__ +#define __IMetaDataDispenserEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMetaDataDispenserEx, 0x31bcfce2, 0xdafb, 0x11d2, 0x9f,0x81, 0x00,0xc0,0x4f,0x79,0xa0,0xa3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("31bcfce2-dafb-11d2-9f81-00c04f79a0a3") +IMetaDataDispenserEx : public IMetaDataDispenser +{ + virtual HRESULT STDMETHODCALLTYPE SetOption( + REFGUID optionid, + const VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOption( + REFGUID optionid, + VARIANT *pvalue) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenScopeOnITypeInfo( + ITypeInfo *pITI, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCORSystemDirectory( + LPWSTR szBuffer, + DWORD cchBuffer, + DWORD *pchBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindAssembly( + LPCWSTR szAppBase, + LPCWSTR szPrivateBin, + LPCWSTR szGlobalBin, + LPCWSTR szAssemblyName, + LPWSTR szName, + ULONG cchName, + ULONG *pcName) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindAssemblyModule( + LPCWSTR szAppBase, + LPCWSTR szPrivateBin, + LPCWSTR szGlobalBin, + LPCWSTR szAssemblyName, + LPCWSTR szModuleName, + LPWSTR szName, + ULONG cchName, + ULONG *pcName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMetaDataDispenserEx, 0x31bcfce2, 0xdafb, 0x11d2, 0x9f,0x81, 0x00,0xc0,0x4f,0x79,0xa0,0xa3) +#endif +#else +typedef struct IMetaDataDispenserExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMetaDataDispenserEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMetaDataDispenserEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMetaDataDispenserEx *This); + + /*** IMetaDataDispenser methods ***/ + HRESULT (STDMETHODCALLTYPE *DefineScope)( + IMetaDataDispenserEx *This, + REFCLSID rclsid, + DWORD dwCreateFlags, + REFIID riid, + IUnknown **ppIUnk); + + HRESULT (STDMETHODCALLTYPE *OpenScope)( + IMetaDataDispenserEx *This, + LPCWSTR szScope, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk); + + HRESULT (STDMETHODCALLTYPE *OpenScopeOnMemory)( + IMetaDataDispenserEx *This, + const void *pData, + ULONG cbData, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk); + + /*** IMetaDataDispenserEx methods ***/ + HRESULT (STDMETHODCALLTYPE *SetOption)( + IMetaDataDispenserEx *This, + REFGUID optionid, + const VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *GetOption)( + IMetaDataDispenserEx *This, + REFGUID optionid, + VARIANT *pvalue); + + HRESULT (STDMETHODCALLTYPE *OpenScopeOnITypeInfo)( + IMetaDataDispenserEx *This, + ITypeInfo *pITI, + DWORD dwOpenFlags, + REFIID riid, + IUnknown **ppIUnk); + + HRESULT (STDMETHODCALLTYPE *GetCORSystemDirectory)( + IMetaDataDispenserEx *This, + LPWSTR szBuffer, + DWORD cchBuffer, + DWORD *pchBuffer); + + HRESULT (STDMETHODCALLTYPE *FindAssembly)( + IMetaDataDispenserEx *This, + LPCWSTR szAppBase, + LPCWSTR szPrivateBin, + LPCWSTR szGlobalBin, + LPCWSTR szAssemblyName, + LPWSTR szName, + ULONG cchName, + ULONG *pcName); + + HRESULT (STDMETHODCALLTYPE *FindAssemblyModule)( + IMetaDataDispenserEx *This, + LPCWSTR szAppBase, + LPCWSTR szPrivateBin, + LPCWSTR szGlobalBin, + LPCWSTR szAssemblyName, + LPCWSTR szModuleName, + LPWSTR szName, + ULONG cchName, + ULONG *pcName); + + END_INTERFACE +} IMetaDataDispenserExVtbl; + +interface IMetaDataDispenserEx { + CONST_VTBL IMetaDataDispenserExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMetaDataDispenserEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMetaDataDispenserEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMetaDataDispenserEx_Release(This) (This)->lpVtbl->Release(This) +/*** IMetaDataDispenser methods ***/ +#define IMetaDataDispenserEx_DefineScope(This,rclsid,dwCreateFlags,riid,ppIUnk) (This)->lpVtbl->DefineScope(This,rclsid,dwCreateFlags,riid,ppIUnk) +#define IMetaDataDispenserEx_OpenScope(This,szScope,dwOpenFlags,riid,ppIUnk) (This)->lpVtbl->OpenScope(This,szScope,dwOpenFlags,riid,ppIUnk) +#define IMetaDataDispenserEx_OpenScopeOnMemory(This,pData,cbData,dwOpenFlags,riid,ppIUnk) (This)->lpVtbl->OpenScopeOnMemory(This,pData,cbData,dwOpenFlags,riid,ppIUnk) +/*** IMetaDataDispenserEx methods ***/ +#define IMetaDataDispenserEx_SetOption(This,optionid,value) (This)->lpVtbl->SetOption(This,optionid,value) +#define IMetaDataDispenserEx_GetOption(This,optionid,pvalue) (This)->lpVtbl->GetOption(This,optionid,pvalue) +#define IMetaDataDispenserEx_OpenScopeOnITypeInfo(This,pITI,dwOpenFlags,riid,ppIUnk) (This)->lpVtbl->OpenScopeOnITypeInfo(This,pITI,dwOpenFlags,riid,ppIUnk) +#define IMetaDataDispenserEx_GetCORSystemDirectory(This,szBuffer,cchBuffer,pchBuffer) (This)->lpVtbl->GetCORSystemDirectory(This,szBuffer,cchBuffer,pchBuffer) +#define IMetaDataDispenserEx_FindAssembly(This,szAppBase,szPrivateBin,szGlobalBin,szAssemblyName,szName,cchName,pcName) (This)->lpVtbl->FindAssembly(This,szAppBase,szPrivateBin,szGlobalBin,szAssemblyName,szName,cchName,pcName) +#define IMetaDataDispenserEx_FindAssemblyModule(This,szAppBase,szPrivateBin,szGlobalBin,szAssemblyName,szModuleName,szName,cchName,pcName) (This)->lpVtbl->FindAssemblyModule(This,szAppBase,szPrivateBin,szGlobalBin,szAssemblyName,szModuleName,szName,cchName,pcName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMetaDataDispenserEx_QueryInterface(IMetaDataDispenserEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMetaDataDispenserEx_AddRef(IMetaDataDispenserEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMetaDataDispenserEx_Release(IMetaDataDispenserEx* This) { + return This->lpVtbl->Release(This); +} +/*** IMetaDataDispenser methods ***/ +static FORCEINLINE HRESULT IMetaDataDispenserEx_DefineScope(IMetaDataDispenserEx* This,REFCLSID rclsid,DWORD dwCreateFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->DefineScope(This,rclsid,dwCreateFlags,riid,ppIUnk); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_OpenScope(IMetaDataDispenserEx* This,LPCWSTR szScope,DWORD dwOpenFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->OpenScope(This,szScope,dwOpenFlags,riid,ppIUnk); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_OpenScopeOnMemory(IMetaDataDispenserEx* This,const void *pData,ULONG cbData,DWORD dwOpenFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->OpenScopeOnMemory(This,pData,cbData,dwOpenFlags,riid,ppIUnk); +} +/*** IMetaDataDispenserEx methods ***/ +static FORCEINLINE HRESULT IMetaDataDispenserEx_SetOption(IMetaDataDispenserEx* This,REFGUID optionid,const VARIANT *value) { + return This->lpVtbl->SetOption(This,optionid,value); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_GetOption(IMetaDataDispenserEx* This,REFGUID optionid,VARIANT *pvalue) { + return This->lpVtbl->GetOption(This,optionid,pvalue); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_OpenScopeOnITypeInfo(IMetaDataDispenserEx* This,ITypeInfo *pITI,DWORD dwOpenFlags,REFIID riid,IUnknown **ppIUnk) { + return This->lpVtbl->OpenScopeOnITypeInfo(This,pITI,dwOpenFlags,riid,ppIUnk); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_GetCORSystemDirectory(IMetaDataDispenserEx* This,LPWSTR szBuffer,DWORD cchBuffer,DWORD *pchBuffer) { + return This->lpVtbl->GetCORSystemDirectory(This,szBuffer,cchBuffer,pchBuffer); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_FindAssembly(IMetaDataDispenserEx* This,LPCWSTR szAppBase,LPCWSTR szPrivateBin,LPCWSTR szGlobalBin,LPCWSTR szAssemblyName,LPWSTR szName,ULONG cchName,ULONG *pcName) { + return This->lpVtbl->FindAssembly(This,szAppBase,szPrivateBin,szGlobalBin,szAssemblyName,szName,cchName,pcName); +} +static FORCEINLINE HRESULT IMetaDataDispenserEx_FindAssemblyModule(IMetaDataDispenserEx* This,LPCWSTR szAppBase,LPCWSTR szPrivateBin,LPCWSTR szGlobalBin,LPCWSTR szAssemblyName,LPCWSTR szModuleName,LPWSTR szName,ULONG cchName,ULONG *pcName) { + return This->lpVtbl->FindAssemblyModule(This,szAppBase,szPrivateBin,szGlobalBin,szAssemblyName,szModuleName,szName,cchName,pcName); +} +#endif +#endif + +#endif + + +#endif /* __IMetaDataDispenserEx_INTERFACE_DEFINED__ */ + +BOOL WINAPI _CorDllMain(HINSTANCE,DWORD,LPVOID); +__int32 WINAPI _CorExeMain(void); +__int32 WINAPI _CorExeMain2(PBYTE,DWORD,LPWSTR,LPWSTR,LPWSTR); +VOID WINAPI _CorImageUnloading(PVOID); +HRESULT WINAPI _CorValidateImage(PVOID*,LPCWSTR); +HRESULT WINAPI CoInitializeCor(DWORD); +void WINAPI CoUninitializeCor(void); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __cor_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cor.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cor.idl new file mode 100644 index 0000000..7c731d6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cor.idl @@ -0,0 +1,108 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "propidl.idl"; + +cpp_quote("#include ") +/* FIXME: #include "specstrings.h" */ +cpp_quote("#include ") +cpp_quote("#include ") + +cpp_quote("DEFINE_GUID(CLSID_CorMetaDataDispenser, 0xe5cb7a31,0x7512,0x11d2,0x89,0xce,0x00,0x80,0xc7,0x92,0xe5,0xd8);") +cpp_quote("DEFINE_GUID(CLSID_CorMetaDataDispenserRuntime, 0x1ec2de53,0x75cc,0x11d2,0x97,0x75,0x00,0xa0,0xc9,0xb4,0xd5,0x0c);") + +[ + object, + local, + uuid(809c652e-7396-11d2-9771-00a0c9b4d50c) +] +interface IMetaDataDispenser : IUnknown +{ + HRESULT DefineScope( + [in] REFCLSID rclsid, + [in] DWORD dwCreateFlags, + [in] REFIID riid, + [out] IUnknown **ppIUnk); + + HRESULT OpenScope( + [in] LPCWSTR szScope, + [in] DWORD dwOpenFlags, + [in] REFIID riid, + [out] IUnknown **ppIUnk); + + HRESULT OpenScopeOnMemory( + [in] const void *pData, + [in] ULONG cbData, + [in] DWORD dwOpenFlags, + [in] REFIID riid, + [out] IUnknown **ppIUnk); +} + +[ + object, + local, + uuid(31bcfce2-dafb-11d2-9f81-00c04f79a0a3) +] +interface IMetaDataDispenserEx : IMetaDataDispenser +{ + HRESULT SetOption( + [in] REFGUID optionid, + [in] const VARIANT *value); + + HRESULT GetOption( + [in] REFGUID optionid, + [out] VARIANT *pvalue); + + HRESULT OpenScopeOnITypeInfo( + [in] ITypeInfo *pITI, + [in] DWORD dwOpenFlags, + [in] REFIID riid, + [out] IUnknown **ppIUnk); + + HRESULT GetCORSystemDirectory( + [out, size_is(cchBuffer)] LPWSTR szBuffer, + [in] DWORD cchBuffer, + [out] DWORD *pchBuffer); + + HRESULT FindAssembly( + [in] LPCWSTR szAppBase, + [in] LPCWSTR szPrivateBin, + [in] LPCWSTR szGlobalBin, + [in] LPCWSTR szAssemblyName, + [out, size_is(cchName)] LPWSTR szName, + [in] ULONG cchName, + [out] ULONG *pcName); + + HRESULT FindAssemblyModule( + [in] LPCWSTR szAppBase, + [in] LPCWSTR szPrivateBin, + [in] LPCWSTR szGlobalBin, + [in] LPCWSTR szAssemblyName, + [in] LPCWSTR szModuleName, + [out, size_is(cchName)] LPWSTR szName, + [in] ULONG cchName, + [out] ULONG *pcName); +} + +cpp_quote("BOOL WINAPI _CorDllMain(HINSTANCE,DWORD,LPVOID);") +cpp_quote("__int32 WINAPI _CorExeMain(void);") +cpp_quote("__int32 WINAPI _CorExeMain2(PBYTE,DWORD,LPWSTR,LPWSTR,LPWSTR);") +cpp_quote("VOID WINAPI _CorImageUnloading(PVOID);") +cpp_quote("HRESULT WINAPI _CorValidateImage(PVOID*,LPCWSTR);") +cpp_quote("HRESULT WINAPI CoInitializeCor(DWORD);") +cpp_quote("void WINAPI CoUninitializeCor(void);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cordebug.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cordebug.h new file mode 100644 index 0000000..66dfd86 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cordebug.h @@ -0,0 +1,7116 @@ +/*** Autogenerated by WIDL 2.18 from cordebug.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __cordebug_h__ +#define __cordebug_h__ + +/* Forward declarations */ + +#ifndef __ICorDebugValue_FWD_DEFINED__ +#define __ICorDebugValue_FWD_DEFINED__ +typedef interface ICorDebugValue ICorDebugValue; +#ifdef __cplusplus +interface ICorDebugValue; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugThread_FWD_DEFINED__ +#define __ICorDebugThread_FWD_DEFINED__ +typedef interface ICorDebugThread ICorDebugThread; +#ifdef __cplusplus +interface ICorDebugThread; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugController_FWD_DEFINED__ +#define __ICorDebugController_FWD_DEFINED__ +typedef interface ICorDebugController ICorDebugController; +#ifdef __cplusplus +interface ICorDebugController; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugProcess_FWD_DEFINED__ +#define __ICorDebugProcess_FWD_DEFINED__ +typedef interface ICorDebugProcess ICorDebugProcess; +#ifdef __cplusplus +interface ICorDebugProcess; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAppDomain_FWD_DEFINED__ +#define __ICorDebugAppDomain_FWD_DEFINED__ +typedef interface ICorDebugAppDomain ICorDebugAppDomain; +#ifdef __cplusplus +interface ICorDebugAppDomain; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugManagedCallback_FWD_DEFINED__ +#define __ICorDebugManagedCallback_FWD_DEFINED__ +typedef interface ICorDebugManagedCallback ICorDebugManagedCallback; +#ifdef __cplusplus +interface ICorDebugManagedCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugManagedCallback2_FWD_DEFINED__ +#define __ICorDebugManagedCallback2_FWD_DEFINED__ +typedef interface ICorDebugManagedCallback2 ICorDebugManagedCallback2; +#ifdef __cplusplus +interface ICorDebugManagedCallback2; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebug_FWD_DEFINED__ +#define __ICorDebug_FWD_DEFINED__ +typedef interface ICorDebug ICorDebug; +#ifdef __cplusplus +interface ICorDebug; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugBreakpoint_FWD_DEFINED__ +#define __ICorDebugBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugBreakpoint ICorDebugBreakpoint; +#ifdef __cplusplus +interface ICorDebugBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFunctionBreakpoint_FWD_DEFINED__ +#define __ICorDebugFunctionBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugFunctionBreakpoint ICorDebugFunctionBreakpoint; +#ifdef __cplusplus +interface ICorDebugFunctionBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugModuleBreakpoint_FWD_DEFINED__ +#define __ICorDebugModuleBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugModuleBreakpoint ICorDebugModuleBreakpoint; +#ifdef __cplusplus +interface ICorDebugModuleBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugValueBreakpoint_FWD_DEFINED__ +#define __ICorDebugValueBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugValueBreakpoint ICorDebugValueBreakpoint; +#ifdef __cplusplus +interface ICorDebugValueBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugStepper_FWD_DEFINED__ +#define __ICorDebugStepper_FWD_DEFINED__ +typedef interface ICorDebugStepper ICorDebugStepper; +#ifdef __cplusplus +interface ICorDebugStepper; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEnum_FWD_DEFINED__ +#define __ICorDebugEnum_FWD_DEFINED__ +typedef interface ICorDebugEnum ICorDebugEnum; +#ifdef __cplusplus +interface ICorDebugEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAppDomainEnum_FWD_DEFINED__ +#define __ICorDebugAppDomainEnum_FWD_DEFINED__ +typedef interface ICorDebugAppDomainEnum ICorDebugAppDomainEnum; +#ifdef __cplusplus +interface ICorDebugAppDomainEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAssemblyEnum_FWD_DEFINED__ +#define __ICorDebugAssemblyEnum_FWD_DEFINED__ +typedef interface ICorDebugAssemblyEnum ICorDebugAssemblyEnum; +#ifdef __cplusplus +interface ICorDebugAssemblyEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugBreakpointEnum_FWD_DEFINED__ +#define __ICorDebugBreakpointEnum_FWD_DEFINED__ +typedef interface ICorDebugBreakpointEnum ICorDebugBreakpointEnum; +#ifdef __cplusplus +interface ICorDebugBreakpointEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugChainEnum_FWD_DEFINED__ +#define __ICorDebugChainEnum_FWD_DEFINED__ +typedef interface ICorDebugChainEnum ICorDebugChainEnum; +#ifdef __cplusplus +interface ICorDebugChainEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugErrorInfoEnum_FWD_DEFINED__ +#define __ICorDebugErrorInfoEnum_FWD_DEFINED__ +typedef interface ICorDebugErrorInfoEnum ICorDebugErrorInfoEnum; +#ifdef __cplusplus +interface ICorDebugErrorInfoEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFrameEnum_FWD_DEFINED__ +#define __ICorDebugFrameEnum_FWD_DEFINED__ +typedef interface ICorDebugFrameEnum ICorDebugFrameEnum; +#ifdef __cplusplus +interface ICorDebugFrameEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugModuleEnum_FWD_DEFINED__ +#define __ICorDebugModuleEnum_FWD_DEFINED__ +typedef interface ICorDebugModuleEnum ICorDebugModuleEnum; +#ifdef __cplusplus +interface ICorDebugModuleEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugObjectEnum_FWD_DEFINED__ +#define __ICorDebugObjectEnum_FWD_DEFINED__ +typedef interface ICorDebugObjectEnum ICorDebugObjectEnum; +#ifdef __cplusplus +interface ICorDebugObjectEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugProcessEnum_FWD_DEFINED__ +#define __ICorDebugProcessEnum_FWD_DEFINED__ +typedef interface ICorDebugProcessEnum ICorDebugProcessEnum; +#ifdef __cplusplus +interface ICorDebugProcessEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugStepperEnum_FWD_DEFINED__ +#define __ICorDebugStepperEnum_FWD_DEFINED__ +typedef interface ICorDebugStepperEnum ICorDebugStepperEnum; +#ifdef __cplusplus +interface ICorDebugStepperEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugThreadEnum_FWD_DEFINED__ +#define __ICorDebugThreadEnum_FWD_DEFINED__ +typedef interface ICorDebugThreadEnum ICorDebugThreadEnum; +#ifdef __cplusplus +interface ICorDebugThreadEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugChain_FWD_DEFINED__ +#define __ICorDebugChain_FWD_DEFINED__ +typedef interface ICorDebugChain ICorDebugChain; +#ifdef __cplusplus +interface ICorDebugChain; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFrame_FWD_DEFINED__ +#define __ICorDebugFrame_FWD_DEFINED__ +typedef interface ICorDebugFrame ICorDebugFrame; +#ifdef __cplusplus +interface ICorDebugFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugRegisterSet_FWD_DEFINED__ +#define __ICorDebugRegisterSet_FWD_DEFINED__ +typedef interface ICorDebugRegisterSet ICorDebugRegisterSet; +#ifdef __cplusplus +interface ICorDebugRegisterSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEval_FWD_DEFINED__ +#define __ICorDebugEval_FWD_DEFINED__ +typedef interface ICorDebugEval ICorDebugEval; +#ifdef __cplusplus +interface ICorDebugEval; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEditAndContinueSnapshot_FWD_DEFINED__ +#define __ICorDebugEditAndContinueSnapshot_FWD_DEFINED__ +typedef interface ICorDebugEditAndContinueSnapshot ICorDebugEditAndContinueSnapshot; +#ifdef __cplusplus +interface ICorDebugEditAndContinueSnapshot; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugModule_FWD_DEFINED__ +#define __ICorDebugModule_FWD_DEFINED__ +typedef interface ICorDebugModule ICorDebugModule; +#ifdef __cplusplus +interface ICorDebugModule; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugClass_FWD_DEFINED__ +#define __ICorDebugClass_FWD_DEFINED__ +typedef interface ICorDebugClass ICorDebugClass; +#ifdef __cplusplus +interface ICorDebugClass; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAssembly_FWD_DEFINED__ +#define __ICorDebugAssembly_FWD_DEFINED__ +typedef interface ICorDebugAssembly ICorDebugAssembly; +#ifdef __cplusplus +interface ICorDebugAssembly; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFunction_FWD_DEFINED__ +#define __ICorDebugFunction_FWD_DEFINED__ +typedef interface ICorDebugFunction ICorDebugFunction; +#ifdef __cplusplus +interface ICorDebugFunction; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugUnmanagedCallback_FWD_DEFINED__ +#define __ICorDebugUnmanagedCallback_FWD_DEFINED__ +typedef interface ICorDebugUnmanagedCallback ICorDebugUnmanagedCallback; +#ifdef __cplusplus +interface ICorDebugUnmanagedCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEditAndContinueErrorInfo_FWD_DEFINED__ +#define __ICorDebugEditAndContinueErrorInfo_FWD_DEFINED__ +typedef interface ICorDebugEditAndContinueErrorInfo ICorDebugEditAndContinueErrorInfo; +#ifdef __cplusplus +interface ICorDebugEditAndContinueErrorInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugObjectValue_FWD_DEFINED__ +#define __ICorDebugObjectValue_FWD_DEFINED__ +typedef interface ICorDebugObjectValue ICorDebugObjectValue; +#ifdef __cplusplus +interface ICorDebugObjectValue; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugContext_FWD_DEFINED__ +#define __ICorDebugContext_FWD_DEFINED__ +typedef interface ICorDebugContext ICorDebugContext; +#ifdef __cplusplus +interface ICorDebugContext; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugCode_FWD_DEFINED__ +#define __ICorDebugCode_FWD_DEFINED__ +typedef interface ICorDebugCode ICorDebugCode; +#ifdef __cplusplus +interface ICorDebugCode; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugMDA_FWD_DEFINED__ +#define __ICorDebugMDA_FWD_DEFINED__ +typedef interface ICorDebugMDA ICorDebugMDA; +#ifdef __cplusplus +interface ICorDebugMDA; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef CreateProcess +#endif +#ifndef __ICorDebugAppDomain_FWD_DEFINED__ +#define __ICorDebugAppDomain_FWD_DEFINED__ +typedef interface ICorDebugAppDomain ICorDebugAppDomain; +#ifdef __cplusplus +interface ICorDebugAppDomain; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAppDomainEnum_FWD_DEFINED__ +#define __ICorDebugAppDomainEnum_FWD_DEFINED__ +typedef interface ICorDebugAppDomainEnum ICorDebugAppDomainEnum; +#ifdef __cplusplus +interface ICorDebugAppDomainEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAssembly_FWD_DEFINED__ +#define __ICorDebugAssembly_FWD_DEFINED__ +typedef interface ICorDebugAssembly ICorDebugAssembly; +#ifdef __cplusplus +interface ICorDebugAssembly; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugAssemblyEnum_FWD_DEFINED__ +#define __ICorDebugAssemblyEnum_FWD_DEFINED__ +typedef interface ICorDebugAssemblyEnum ICorDebugAssemblyEnum; +#ifdef __cplusplus +interface ICorDebugAssemblyEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugBreakpoint_FWD_DEFINED__ +#define __ICorDebugBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugBreakpoint ICorDebugBreakpoint; +#ifdef __cplusplus +interface ICorDebugBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugBreakpointEnum_FWD_DEFINED__ +#define __ICorDebugBreakpointEnum_FWD_DEFINED__ +typedef interface ICorDebugBreakpointEnum ICorDebugBreakpointEnum; +#ifdef __cplusplus +interface ICorDebugBreakpointEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugChain_FWD_DEFINED__ +#define __ICorDebugChain_FWD_DEFINED__ +typedef interface ICorDebugChain ICorDebugChain; +#ifdef __cplusplus +interface ICorDebugChain; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugChainEnum_FWD_DEFINED__ +#define __ICorDebugChainEnum_FWD_DEFINED__ +typedef interface ICorDebugChainEnum ICorDebugChainEnum; +#ifdef __cplusplus +interface ICorDebugChainEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugClass_FWD_DEFINED__ +#define __ICorDebugClass_FWD_DEFINED__ +typedef interface ICorDebugClass ICorDebugClass; +#ifdef __cplusplus +interface ICorDebugClass; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugCode_FWD_DEFINED__ +#define __ICorDebugCode_FWD_DEFINED__ +typedef interface ICorDebugCode ICorDebugCode; +#ifdef __cplusplus +interface ICorDebugCode; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugContext_FWD_DEFINED__ +#define __ICorDebugContext_FWD_DEFINED__ +typedef interface ICorDebugContext ICorDebugContext; +#ifdef __cplusplus +interface ICorDebugContext; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEditAndContinueSnapshot_FWD_DEFINED__ +#define __ICorDebugEditAndContinueSnapshot_FWD_DEFINED__ +typedef interface ICorDebugEditAndContinueSnapshot ICorDebugEditAndContinueSnapshot; +#ifdef __cplusplus +interface ICorDebugEditAndContinueSnapshot; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEditAndContinueErrorInfo_FWD_DEFINED__ +#define __ICorDebugEditAndContinueErrorInfo_FWD_DEFINED__ +typedef interface ICorDebugEditAndContinueErrorInfo ICorDebugEditAndContinueErrorInfo; +#ifdef __cplusplus +interface ICorDebugEditAndContinueErrorInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEnum_FWD_DEFINED__ +#define __ICorDebugEnum_FWD_DEFINED__ +typedef interface ICorDebugEnum ICorDebugEnum; +#ifdef __cplusplus +interface ICorDebugEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugErrorInfoEnum_FWD_DEFINED__ +#define __ICorDebugErrorInfoEnum_FWD_DEFINED__ +typedef interface ICorDebugErrorInfoEnum ICorDebugErrorInfoEnum; +#ifdef __cplusplus +interface ICorDebugErrorInfoEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugEval_FWD_DEFINED__ +#define __ICorDebugEval_FWD_DEFINED__ +typedef interface ICorDebugEval ICorDebugEval; +#ifdef __cplusplus +interface ICorDebugEval; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFrame_FWD_DEFINED__ +#define __ICorDebugFrame_FWD_DEFINED__ +typedef interface ICorDebugFrame ICorDebugFrame; +#ifdef __cplusplus +interface ICorDebugFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFrameEnum_FWD_DEFINED__ +#define __ICorDebugFrameEnum_FWD_DEFINED__ +typedef interface ICorDebugFrameEnum ICorDebugFrameEnum; +#ifdef __cplusplus +interface ICorDebugFrameEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFunction_FWD_DEFINED__ +#define __ICorDebugFunction_FWD_DEFINED__ +typedef interface ICorDebugFunction ICorDebugFunction; +#ifdef __cplusplus +interface ICorDebugFunction; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugFunctionBreakpoint_FWD_DEFINED__ +#define __ICorDebugFunctionBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugFunctionBreakpoint ICorDebugFunctionBreakpoint; +#ifdef __cplusplus +interface ICorDebugFunctionBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugManagedCallback_FWD_DEFINED__ +#define __ICorDebugManagedCallback_FWD_DEFINED__ +typedef interface ICorDebugManagedCallback ICorDebugManagedCallback; +#ifdef __cplusplus +interface ICorDebugManagedCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugManagedCallback2_FWD_DEFINED__ +#define __ICorDebugManagedCallback2_FWD_DEFINED__ +typedef interface ICorDebugManagedCallback2 ICorDebugManagedCallback2; +#ifdef __cplusplus +interface ICorDebugManagedCallback2; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugMDA_FWD_DEFINED__ +#define __ICorDebugMDA_FWD_DEFINED__ +typedef interface ICorDebugMDA ICorDebugMDA; +#ifdef __cplusplus +interface ICorDebugMDA; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugModule_FWD_DEFINED__ +#define __ICorDebugModule_FWD_DEFINED__ +typedef interface ICorDebugModule ICorDebugModule; +#ifdef __cplusplus +interface ICorDebugModule; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugModuleBreakpoint_FWD_DEFINED__ +#define __ICorDebugModuleBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugModuleBreakpoint ICorDebugModuleBreakpoint; +#ifdef __cplusplus +interface ICorDebugModuleBreakpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugModuleEnum_FWD_DEFINED__ +#define __ICorDebugModuleEnum_FWD_DEFINED__ +typedef interface ICorDebugModuleEnum ICorDebugModuleEnum; +#ifdef __cplusplus +interface ICorDebugModuleEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugObjectEnum_FWD_DEFINED__ +#define __ICorDebugObjectEnum_FWD_DEFINED__ +typedef interface ICorDebugObjectEnum ICorDebugObjectEnum; +#ifdef __cplusplus +interface ICorDebugObjectEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugObjectValue_FWD_DEFINED__ +#define __ICorDebugObjectValue_FWD_DEFINED__ +typedef interface ICorDebugObjectValue ICorDebugObjectValue; +#ifdef __cplusplus +interface ICorDebugObjectValue; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugProcess_FWD_DEFINED__ +#define __ICorDebugProcess_FWD_DEFINED__ +typedef interface ICorDebugProcess ICorDebugProcess; +#ifdef __cplusplus +interface ICorDebugProcess; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugProcessEnum_FWD_DEFINED__ +#define __ICorDebugProcessEnum_FWD_DEFINED__ +typedef interface ICorDebugProcessEnum ICorDebugProcessEnum; +#ifdef __cplusplus +interface ICorDebugProcessEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugRegisterSet_FWD_DEFINED__ +#define __ICorDebugRegisterSet_FWD_DEFINED__ +typedef interface ICorDebugRegisterSet ICorDebugRegisterSet; +#ifdef __cplusplus +interface ICorDebugRegisterSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugStepper_FWD_DEFINED__ +#define __ICorDebugStepper_FWD_DEFINED__ +typedef interface ICorDebugStepper ICorDebugStepper; +#ifdef __cplusplus +interface ICorDebugStepper; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugStepperEnum_FWD_DEFINED__ +#define __ICorDebugStepperEnum_FWD_DEFINED__ +typedef interface ICorDebugStepperEnum ICorDebugStepperEnum; +#ifdef __cplusplus +interface ICorDebugStepperEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugThreadEnum_FWD_DEFINED__ +#define __ICorDebugThreadEnum_FWD_DEFINED__ +typedef interface ICorDebugThreadEnum ICorDebugThreadEnum; +#ifdef __cplusplus +interface ICorDebugThreadEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugUnmanagedCallback_FWD_DEFINED__ +#define __ICorDebugUnmanagedCallback_FWD_DEFINED__ +typedef interface ICorDebugUnmanagedCallback ICorDebugUnmanagedCallback; +#ifdef __cplusplus +interface ICorDebugUnmanagedCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugValue_FWD_DEFINED__ +#define __ICorDebugValue_FWD_DEFINED__ +typedef interface ICorDebugValue ICorDebugValue; +#ifdef __cplusplus +interface ICorDebugValue; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorDebugValueBreakpoint_FWD_DEFINED__ +#define __ICorDebugValueBreakpoint_FWD_DEFINED__ +typedef interface ICorDebugValueBreakpoint ICorDebugValueBreakpoint; +#ifdef __cplusplus +interface ICorDebugValueBreakpoint; +#endif /* __cplusplus */ +#endif + +typedef void *HPROCESS; +typedef void *HTHREAD; +#if 0 +typedef UINT32 mdToken; +typedef mdToken mdModule; +typedef SIZE_T mdScope; +typedef mdToken mdTypeDef; +typedef mdToken mdSourceFile; +typedef mdToken mdMemberRef; +typedef mdToken mdMethodDef; +typedef mdToken mdFieldDef; +typedef mdToken mdSignature; +typedef ULONG CorElementType; +typedef SIZE_T PCCOR_SIGNATURE; +typedef SIZE_T LPDEBUG_EVENT; +typedef SIZE_T LPSTARTUPINFOW; +typedef SIZE_T LPPROCESS_INFORMATION; +#endif +typedef ULONG64 CORDB_ADDRESS; +typedef ULONG64 CORDB_REGISTER; +typedef UINT64 TASKID; +typedef DWORD CONNID; +#ifndef _COR_IL_MAP +#define _COR_IL_MAP +typedef struct _COR_IL_MAP { + ULONG32 oldOffset; + ULONG32 newOffset; + BOOL fAccurate; +} COR_IL_MAP; +#endif /* _COR_IL_MAP */ +#ifndef _COR_DEBUG_IL_TO_NATIVE_MAP_ +#define _COR_DEBUG_IL_TO_NATIVE_MAP_ +typedef enum CorDebugIlToNativeMappingTypes { + NO_MAPPING = -1, + PROLOG = -2, + EPILOG = -3 +} CorDebugIlToNativeMappingTypes; +typedef struct COR_DEBUG_IL_TO_NATIVE_MAP { + ULONG32 ilOffset; + ULONG32 nativeStartOffset; + ULONG32 nativeEndOffset; +} COR_DEBUG_IL_TO_NATIVE_MAP; +#endif /* _COR_DEBUG_IL_TO_NATIVE_MAP_ */ +typedef enum CorDebugThreadState { + THREAD_RUN = 0, + THREAD_SUSPEND = 1 +} CorDebugThreadState; +typedef enum CorDebugCreateProcessFlags { + DEBUG_NO_SPECIAL_OPTIONS = 0x0 +} CorDebugCreateProcessFlags; +/***************************************************************************** + * ICorDebugValue interface + */ +#ifndef __ICorDebugValue_INTERFACE_DEFINED__ +#define __ICorDebugValue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugValue, 0xcc7bcaf7, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaf7-8a68-11d2-983c-0000f808342d") +ICorDebugValue : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + CorElementType *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + ULONG32 *pSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAddress( + CORDB_ADDRESS *pAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBreakpoint( + ICorDebugValueBreakpoint **ppBreakpoint) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugValue, 0xcc7bcaf7, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugValueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugValue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugValue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugValue *This); + + /*** ICorDebugValue methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ICorDebugValue *This, + CorElementType *pType); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + ICorDebugValue *This, + ULONG32 *pSize); + + HRESULT (STDMETHODCALLTYPE *GetAddress)( + ICorDebugValue *This, + CORDB_ADDRESS *pAddress); + + HRESULT (STDMETHODCALLTYPE *CreateBreakpoint)( + ICorDebugValue *This, + ICorDebugValueBreakpoint **ppBreakpoint); + + END_INTERFACE +} ICorDebugValueVtbl; + +interface ICorDebugValue { + CONST_VTBL ICorDebugValueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugValue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugValue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugValue_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugValue methods ***/ +#define ICorDebugValue_GetType(This,pType) (This)->lpVtbl->GetType(This,pType) +#define ICorDebugValue_GetSize(This,pSize) (This)->lpVtbl->GetSize(This,pSize) +#define ICorDebugValue_GetAddress(This,pAddress) (This)->lpVtbl->GetAddress(This,pAddress) +#define ICorDebugValue_CreateBreakpoint(This,ppBreakpoint) (This)->lpVtbl->CreateBreakpoint(This,ppBreakpoint) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugValue_QueryInterface(ICorDebugValue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugValue_AddRef(ICorDebugValue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugValue_Release(ICorDebugValue* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugValue methods ***/ +static FORCEINLINE HRESULT ICorDebugValue_GetType(ICorDebugValue* This,CorElementType *pType) { + return This->lpVtbl->GetType(This,pType); +} +static FORCEINLINE HRESULT ICorDebugValue_GetSize(ICorDebugValue* This,ULONG32 *pSize) { + return This->lpVtbl->GetSize(This,pSize); +} +static FORCEINLINE HRESULT ICorDebugValue_GetAddress(ICorDebugValue* This,CORDB_ADDRESS *pAddress) { + return This->lpVtbl->GetAddress(This,pAddress); +} +static FORCEINLINE HRESULT ICorDebugValue_CreateBreakpoint(ICorDebugValue* This,ICorDebugValueBreakpoint **ppBreakpoint) { + return This->lpVtbl->CreateBreakpoint(This,ppBreakpoint); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugValue_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugThread interface + */ +#ifndef __ICorDebugThread_INTERFACE_DEFINED__ +#define __ICorDebugThread_INTERFACE_DEFINED__ + +typedef enum CorDebugUserState { + USER_STOP_REQUESTED = 0x1, + USER_SUSPEND_REQUESTED = 0x2, + USER_BACKGROUND = 0x4, + USER_UNSTARTED = 0x8, + USER_STOPPED = 0x10, + USER_WAIT_SLEEP_JOIN = 0x20, + USER_SUSPENDED = 0x40, + USER_UNSAFE_POINT = 0x80 +} CorDebugUserState; +DEFINE_GUID(IID_ICorDebugThread, 0x938c6d66, 0x7fb6, 0x4f69, 0xb3,0x89, 0x42,0x5b,0x89,0x87,0x32,0x9b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("938c6d66-7fb6-4f69-b389-425b8987329b") +ICorDebugThread : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProcess( + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetID( + DWORD *pdwThreadId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHandle( + HTHREAD *phThreadHandle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAppDomain( + ICorDebugAppDomain **ppAppDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDebugState( + CorDebugThreadState state) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDebugState( + CorDebugThreadState *pState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserState( + CorDebugUserState *pState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentException( + ICorDebugValue **ppExceptionObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearCurrentException( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStepper( + ICorDebugStepper **ppStepper) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateChains( + ICorDebugChainEnum **ppChains) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveChain( + ICorDebugChain **ppChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveFrame( + ICorDebugFrame **ppFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisterSet( + ICorDebugRegisterSet **ppRegisters) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateEval( + ICorDebugEval **ppEval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + ICorDebugValue **ppObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugThread, 0x938c6d66, 0x7fb6, 0x4f69, 0xb3,0x89, 0x42,0x5b,0x89,0x87,0x32,0x9b) +#endif +#else +typedef struct ICorDebugThreadVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugThread *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugThread *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugThread *This); + + /*** ICorDebugThread methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProcess)( + ICorDebugThread *This, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *GetID)( + ICorDebugThread *This, + DWORD *pdwThreadId); + + HRESULT (STDMETHODCALLTYPE *GetHandle)( + ICorDebugThread *This, + HTHREAD *phThreadHandle); + + HRESULT (STDMETHODCALLTYPE *GetAppDomain)( + ICorDebugThread *This, + ICorDebugAppDomain **ppAppDomain); + + HRESULT (STDMETHODCALLTYPE *SetDebugState)( + ICorDebugThread *This, + CorDebugThreadState state); + + HRESULT (STDMETHODCALLTYPE *GetDebugState)( + ICorDebugThread *This, + CorDebugThreadState *pState); + + HRESULT (STDMETHODCALLTYPE *GetUserState)( + ICorDebugThread *This, + CorDebugUserState *pState); + + HRESULT (STDMETHODCALLTYPE *GetCurrentException)( + ICorDebugThread *This, + ICorDebugValue **ppExceptionObject); + + HRESULT (STDMETHODCALLTYPE *ClearCurrentException)( + ICorDebugThread *This); + + HRESULT (STDMETHODCALLTYPE *CreateStepper)( + ICorDebugThread *This, + ICorDebugStepper **ppStepper); + + HRESULT (STDMETHODCALLTYPE *EnumerateChains)( + ICorDebugThread *This, + ICorDebugChainEnum **ppChains); + + HRESULT (STDMETHODCALLTYPE *GetActiveChain)( + ICorDebugThread *This, + ICorDebugChain **ppChain); + + HRESULT (STDMETHODCALLTYPE *GetActiveFrame)( + ICorDebugThread *This, + ICorDebugFrame **ppFrame); + + HRESULT (STDMETHODCALLTYPE *GetRegisterSet)( + ICorDebugThread *This, + ICorDebugRegisterSet **ppRegisters); + + HRESULT (STDMETHODCALLTYPE *CreateEval)( + ICorDebugThread *This, + ICorDebugEval **ppEval); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + ICorDebugThread *This, + ICorDebugValue **ppObject); + + END_INTERFACE +} ICorDebugThreadVtbl; + +interface ICorDebugThread { + CONST_VTBL ICorDebugThreadVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugThread_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugThread_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugThread_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugThread methods ***/ +#define ICorDebugThread_GetProcess(This,ppProcess) (This)->lpVtbl->GetProcess(This,ppProcess) +#define ICorDebugThread_GetID(This,pdwThreadId) (This)->lpVtbl->GetID(This,pdwThreadId) +#define ICorDebugThread_GetHandle(This,phThreadHandle) (This)->lpVtbl->GetHandle(This,phThreadHandle) +#define ICorDebugThread_GetAppDomain(This,ppAppDomain) (This)->lpVtbl->GetAppDomain(This,ppAppDomain) +#define ICorDebugThread_SetDebugState(This,state) (This)->lpVtbl->SetDebugState(This,state) +#define ICorDebugThread_GetDebugState(This,pState) (This)->lpVtbl->GetDebugState(This,pState) +#define ICorDebugThread_GetUserState(This,pState) (This)->lpVtbl->GetUserState(This,pState) +#define ICorDebugThread_GetCurrentException(This,ppExceptionObject) (This)->lpVtbl->GetCurrentException(This,ppExceptionObject) +#define ICorDebugThread_ClearCurrentException(This) (This)->lpVtbl->ClearCurrentException(This) +#define ICorDebugThread_CreateStepper(This,ppStepper) (This)->lpVtbl->CreateStepper(This,ppStepper) +#define ICorDebugThread_EnumerateChains(This,ppChains) (This)->lpVtbl->EnumerateChains(This,ppChains) +#define ICorDebugThread_GetActiveChain(This,ppChain) (This)->lpVtbl->GetActiveChain(This,ppChain) +#define ICorDebugThread_GetActiveFrame(This,ppFrame) (This)->lpVtbl->GetActiveFrame(This,ppFrame) +#define ICorDebugThread_GetRegisterSet(This,ppRegisters) (This)->lpVtbl->GetRegisterSet(This,ppRegisters) +#define ICorDebugThread_CreateEval(This,ppEval) (This)->lpVtbl->CreateEval(This,ppEval) +#define ICorDebugThread_GetObject(This,ppObject) (This)->lpVtbl->GetObject(This,ppObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugThread_QueryInterface(ICorDebugThread* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugThread_AddRef(ICorDebugThread* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugThread_Release(ICorDebugThread* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugThread methods ***/ +static FORCEINLINE HRESULT ICorDebugThread_GetProcess(ICorDebugThread* This,ICorDebugProcess **ppProcess) { + return This->lpVtbl->GetProcess(This,ppProcess); +} +static FORCEINLINE HRESULT ICorDebugThread_GetID(ICorDebugThread* This,DWORD *pdwThreadId) { + return This->lpVtbl->GetID(This,pdwThreadId); +} +static FORCEINLINE HRESULT ICorDebugThread_GetHandle(ICorDebugThread* This,HTHREAD *phThreadHandle) { + return This->lpVtbl->GetHandle(This,phThreadHandle); +} +static FORCEINLINE HRESULT ICorDebugThread_GetAppDomain(ICorDebugThread* This,ICorDebugAppDomain **ppAppDomain) { + return This->lpVtbl->GetAppDomain(This,ppAppDomain); +} +static FORCEINLINE HRESULT ICorDebugThread_SetDebugState(ICorDebugThread* This,CorDebugThreadState state) { + return This->lpVtbl->SetDebugState(This,state); +} +static FORCEINLINE HRESULT ICorDebugThread_GetDebugState(ICorDebugThread* This,CorDebugThreadState *pState) { + return This->lpVtbl->GetDebugState(This,pState); +} +static FORCEINLINE HRESULT ICorDebugThread_GetUserState(ICorDebugThread* This,CorDebugUserState *pState) { + return This->lpVtbl->GetUserState(This,pState); +} +static FORCEINLINE HRESULT ICorDebugThread_GetCurrentException(ICorDebugThread* This,ICorDebugValue **ppExceptionObject) { + return This->lpVtbl->GetCurrentException(This,ppExceptionObject); +} +static FORCEINLINE HRESULT ICorDebugThread_ClearCurrentException(ICorDebugThread* This) { + return This->lpVtbl->ClearCurrentException(This); +} +static FORCEINLINE HRESULT ICorDebugThread_CreateStepper(ICorDebugThread* This,ICorDebugStepper **ppStepper) { + return This->lpVtbl->CreateStepper(This,ppStepper); +} +static FORCEINLINE HRESULT ICorDebugThread_EnumerateChains(ICorDebugThread* This,ICorDebugChainEnum **ppChains) { + return This->lpVtbl->EnumerateChains(This,ppChains); +} +static FORCEINLINE HRESULT ICorDebugThread_GetActiveChain(ICorDebugThread* This,ICorDebugChain **ppChain) { + return This->lpVtbl->GetActiveChain(This,ppChain); +} +static FORCEINLINE HRESULT ICorDebugThread_GetActiveFrame(ICorDebugThread* This,ICorDebugFrame **ppFrame) { + return This->lpVtbl->GetActiveFrame(This,ppFrame); +} +static FORCEINLINE HRESULT ICorDebugThread_GetRegisterSet(ICorDebugThread* This,ICorDebugRegisterSet **ppRegisters) { + return This->lpVtbl->GetRegisterSet(This,ppRegisters); +} +static FORCEINLINE HRESULT ICorDebugThread_CreateEval(ICorDebugThread* This,ICorDebugEval **ppEval) { + return This->lpVtbl->CreateEval(This,ppEval); +} +static FORCEINLINE HRESULT ICorDebugThread_GetObject(ICorDebugThread* This,ICorDebugValue **ppObject) { + return This->lpVtbl->GetObject(This,ppObject); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugThread_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugController interface + */ +#ifndef __ICorDebugController_INTERFACE_DEFINED__ +#define __ICorDebugController_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugController, 0x3d6f5f62, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d6f5f62-7538-11d3-8d5b-00104b35e7ef") +ICorDebugController : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Stop( + DWORD dwTimeoutIgnored) = 0; + + virtual HRESULT STDMETHODCALLTYPE Continue( + BOOL fIsOutOfBand) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRunning( + BOOL *pbRunning) = 0; + + virtual HRESULT STDMETHODCALLTYPE HasQueuedCallbacks( + ICorDebugThread *pThread, + BOOL *pbQueued) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateThreads( + ICorDebugThreadEnum **ppThreads) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllThreadsDebugState( + CorDebugThreadState state, + ICorDebugThread *pExceptThisThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE Detach( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Terminate( + UINT exitCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanCommitChanges( + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitChanges( + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugController, 0x3d6f5f62, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef) +#endif +#else +typedef struct ICorDebugControllerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugController *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugController *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugController *This); + + /*** ICorDebugController methods ***/ + HRESULT (STDMETHODCALLTYPE *Stop)( + ICorDebugController *This, + DWORD dwTimeoutIgnored); + + HRESULT (STDMETHODCALLTYPE *Continue)( + ICorDebugController *This, + BOOL fIsOutOfBand); + + HRESULT (STDMETHODCALLTYPE *IsRunning)( + ICorDebugController *This, + BOOL *pbRunning); + + HRESULT (STDMETHODCALLTYPE *HasQueuedCallbacks)( + ICorDebugController *This, + ICorDebugThread *pThread, + BOOL *pbQueued); + + HRESULT (STDMETHODCALLTYPE *EnumerateThreads)( + ICorDebugController *This, + ICorDebugThreadEnum **ppThreads); + + HRESULT (STDMETHODCALLTYPE *SetAllThreadsDebugState)( + ICorDebugController *This, + CorDebugThreadState state, + ICorDebugThread *pExceptThisThread); + + HRESULT (STDMETHODCALLTYPE *Detach)( + ICorDebugController *This); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + ICorDebugController *This, + UINT exitCode); + + HRESULT (STDMETHODCALLTYPE *CanCommitChanges)( + ICorDebugController *This, + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + ICorDebugController *This, + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError); + + END_INTERFACE +} ICorDebugControllerVtbl; + +interface ICorDebugController { + CONST_VTBL ICorDebugControllerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugController_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugController_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugController methods ***/ +#define ICorDebugController_Stop(This,dwTimeoutIgnored) (This)->lpVtbl->Stop(This,dwTimeoutIgnored) +#define ICorDebugController_Continue(This,fIsOutOfBand) (This)->lpVtbl->Continue(This,fIsOutOfBand) +#define ICorDebugController_IsRunning(This,pbRunning) (This)->lpVtbl->IsRunning(This,pbRunning) +#define ICorDebugController_HasQueuedCallbacks(This,pThread,pbQueued) (This)->lpVtbl->HasQueuedCallbacks(This,pThread,pbQueued) +#define ICorDebugController_EnumerateThreads(This,ppThreads) (This)->lpVtbl->EnumerateThreads(This,ppThreads) +#define ICorDebugController_SetAllThreadsDebugState(This,state,pExceptThisThread) (This)->lpVtbl->SetAllThreadsDebugState(This,state,pExceptThisThread) +#define ICorDebugController_Detach(This) (This)->lpVtbl->Detach(This) +#define ICorDebugController_Terminate(This,exitCode) (This)->lpVtbl->Terminate(This,exitCode) +#define ICorDebugController_CanCommitChanges(This,cSnapshots,pSnapshots,pError) (This)->lpVtbl->CanCommitChanges(This,cSnapshots,pSnapshots,pError) +#define ICorDebugController_CommitChanges(This,cSnapshots,pSnapshots,pError) (This)->lpVtbl->CommitChanges(This,cSnapshots,pSnapshots,pError) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugController_QueryInterface(ICorDebugController* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugController_AddRef(ICorDebugController* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugController_Release(ICorDebugController* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugController methods ***/ +static FORCEINLINE HRESULT ICorDebugController_Stop(ICorDebugController* This,DWORD dwTimeoutIgnored) { + return This->lpVtbl->Stop(This,dwTimeoutIgnored); +} +static FORCEINLINE HRESULT ICorDebugController_Continue(ICorDebugController* This,BOOL fIsOutOfBand) { + return This->lpVtbl->Continue(This,fIsOutOfBand); +} +static FORCEINLINE HRESULT ICorDebugController_IsRunning(ICorDebugController* This,BOOL *pbRunning) { + return This->lpVtbl->IsRunning(This,pbRunning); +} +static FORCEINLINE HRESULT ICorDebugController_HasQueuedCallbacks(ICorDebugController* This,ICorDebugThread *pThread,BOOL *pbQueued) { + return This->lpVtbl->HasQueuedCallbacks(This,pThread,pbQueued); +} +static FORCEINLINE HRESULT ICorDebugController_EnumerateThreads(ICorDebugController* This,ICorDebugThreadEnum **ppThreads) { + return This->lpVtbl->EnumerateThreads(This,ppThreads); +} +static FORCEINLINE HRESULT ICorDebugController_SetAllThreadsDebugState(ICorDebugController* This,CorDebugThreadState state,ICorDebugThread *pExceptThisThread) { + return This->lpVtbl->SetAllThreadsDebugState(This,state,pExceptThisThread); +} +static FORCEINLINE HRESULT ICorDebugController_Detach(ICorDebugController* This) { + return This->lpVtbl->Detach(This); +} +static FORCEINLINE HRESULT ICorDebugController_Terminate(ICorDebugController* This,UINT exitCode) { + return This->lpVtbl->Terminate(This,exitCode); +} +static FORCEINLINE HRESULT ICorDebugController_CanCommitChanges(ICorDebugController* This,ULONG cSnapshots,ICorDebugEditAndContinueSnapshot * pSnapshots[],ICorDebugErrorInfoEnum **pError) { + return This->lpVtbl->CanCommitChanges(This,cSnapshots,pSnapshots,pError); +} +static FORCEINLINE HRESULT ICorDebugController_CommitChanges(ICorDebugController* This,ULONG cSnapshots,ICorDebugEditAndContinueSnapshot * pSnapshots[],ICorDebugErrorInfoEnum **pError) { + return This->lpVtbl->CommitChanges(This,cSnapshots,pSnapshots,pError); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugController_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugProcess interface + */ +#ifndef __ICorDebugProcess_INTERFACE_DEFINED__ +#define __ICorDebugProcess_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugProcess, 0x3d6f5f64, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d6f5f64-7538-11d3-8d5b-00104b35e7ef") +ICorDebugProcess : public ICorDebugController +{ + virtual HRESULT STDMETHODCALLTYPE GetID( + DWORD *pdwProcessId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHandle( + HPROCESS *phProcessHandle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThread( + DWORD dwThreadId, + ICorDebugThread **ppThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateObjects( + ICorDebugObjectEnum **ppObjects) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsTransitionStub( + CORDB_ADDRESS address, + BOOL *pbTransitionStub) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsOSSuspended( + DWORD threadID, + BOOL *pbSuspended) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThreadContext( + DWORD threadID, + ULONG32 contextSize, + BYTE context[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThreadContext( + DWORD threadID, + ULONG32 contextSize, + BYTE context[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadMemory( + CORDB_ADDRESS address, + DWORD size, + BYTE buffer[], + SIZE_T *read) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteMemory( + CORDB_ADDRESS address, + DWORD size, + BYTE buffer[], + SIZE_T *written) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearCurrentException( + DWORD threadID) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableLogMessages( + BOOL fOnOff) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyLogSwitch( + WCHAR *pLogSwitchName, + LONG lLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateAppDomains( + ICorDebugAppDomainEnum **ppAppDomains) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + ICorDebugValue **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE ThreadForFiberCookie( + DWORD fiberCookie, + ICorDebugThread **ppThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHelperThreadID( + DWORD *pThreadID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugProcess, 0x3d6f5f64, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef) +#endif +#else +typedef struct ICorDebugProcessVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugProcess *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugProcess *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugProcess *This); + + /*** ICorDebugController methods ***/ + HRESULT (STDMETHODCALLTYPE *Stop)( + ICorDebugProcess *This, + DWORD dwTimeoutIgnored); + + HRESULT (STDMETHODCALLTYPE *Continue)( + ICorDebugProcess *This, + BOOL fIsOutOfBand); + + HRESULT (STDMETHODCALLTYPE *IsRunning)( + ICorDebugProcess *This, + BOOL *pbRunning); + + HRESULT (STDMETHODCALLTYPE *HasQueuedCallbacks)( + ICorDebugProcess *This, + ICorDebugThread *pThread, + BOOL *pbQueued); + + HRESULT (STDMETHODCALLTYPE *EnumerateThreads)( + ICorDebugProcess *This, + ICorDebugThreadEnum **ppThreads); + + HRESULT (STDMETHODCALLTYPE *SetAllThreadsDebugState)( + ICorDebugProcess *This, + CorDebugThreadState state, + ICorDebugThread *pExceptThisThread); + + HRESULT (STDMETHODCALLTYPE *Detach)( + ICorDebugProcess *This); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + ICorDebugProcess *This, + UINT exitCode); + + HRESULT (STDMETHODCALLTYPE *CanCommitChanges)( + ICorDebugProcess *This, + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + ICorDebugProcess *This, + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError); + + /*** ICorDebugProcess methods ***/ + HRESULT (STDMETHODCALLTYPE *GetID)( + ICorDebugProcess *This, + DWORD *pdwProcessId); + + HRESULT (STDMETHODCALLTYPE *GetHandle)( + ICorDebugProcess *This, + HPROCESS *phProcessHandle); + + HRESULT (STDMETHODCALLTYPE *GetThread)( + ICorDebugProcess *This, + DWORD dwThreadId, + ICorDebugThread **ppThread); + + HRESULT (STDMETHODCALLTYPE *EnumerateObjects)( + ICorDebugProcess *This, + ICorDebugObjectEnum **ppObjects); + + HRESULT (STDMETHODCALLTYPE *IsTransitionStub)( + ICorDebugProcess *This, + CORDB_ADDRESS address, + BOOL *pbTransitionStub); + + HRESULT (STDMETHODCALLTYPE *IsOSSuspended)( + ICorDebugProcess *This, + DWORD threadID, + BOOL *pbSuspended); + + HRESULT (STDMETHODCALLTYPE *GetThreadContext)( + ICorDebugProcess *This, + DWORD threadID, + ULONG32 contextSize, + BYTE context[]); + + HRESULT (STDMETHODCALLTYPE *SetThreadContext)( + ICorDebugProcess *This, + DWORD threadID, + ULONG32 contextSize, + BYTE context[]); + + HRESULT (STDMETHODCALLTYPE *ReadMemory)( + ICorDebugProcess *This, + CORDB_ADDRESS address, + DWORD size, + BYTE buffer[], + SIZE_T *read); + + HRESULT (STDMETHODCALLTYPE *WriteMemory)( + ICorDebugProcess *This, + CORDB_ADDRESS address, + DWORD size, + BYTE buffer[], + SIZE_T *written); + + HRESULT (STDMETHODCALLTYPE *ClearCurrentException)( + ICorDebugProcess *This, + DWORD threadID); + + HRESULT (STDMETHODCALLTYPE *EnableLogMessages)( + ICorDebugProcess *This, + BOOL fOnOff); + + HRESULT (STDMETHODCALLTYPE *ModifyLogSwitch)( + ICorDebugProcess *This, + WCHAR *pLogSwitchName, + LONG lLevel); + + HRESULT (STDMETHODCALLTYPE *EnumerateAppDomains)( + ICorDebugProcess *This, + ICorDebugAppDomainEnum **ppAppDomains); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + ICorDebugProcess *This, + ICorDebugValue **ppObject); + + HRESULT (STDMETHODCALLTYPE *ThreadForFiberCookie)( + ICorDebugProcess *This, + DWORD fiberCookie, + ICorDebugThread **ppThread); + + HRESULT (STDMETHODCALLTYPE *GetHelperThreadID)( + ICorDebugProcess *This, + DWORD *pThreadID); + + END_INTERFACE +} ICorDebugProcessVtbl; + +interface ICorDebugProcess { + CONST_VTBL ICorDebugProcessVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugProcess_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugProcess_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugProcess_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugController methods ***/ +#define ICorDebugProcess_Stop(This,dwTimeoutIgnored) (This)->lpVtbl->Stop(This,dwTimeoutIgnored) +#define ICorDebugProcess_Continue(This,fIsOutOfBand) (This)->lpVtbl->Continue(This,fIsOutOfBand) +#define ICorDebugProcess_IsRunning(This,pbRunning) (This)->lpVtbl->IsRunning(This,pbRunning) +#define ICorDebugProcess_HasQueuedCallbacks(This,pThread,pbQueued) (This)->lpVtbl->HasQueuedCallbacks(This,pThread,pbQueued) +#define ICorDebugProcess_EnumerateThreads(This,ppThreads) (This)->lpVtbl->EnumerateThreads(This,ppThreads) +#define ICorDebugProcess_SetAllThreadsDebugState(This,state,pExceptThisThread) (This)->lpVtbl->SetAllThreadsDebugState(This,state,pExceptThisThread) +#define ICorDebugProcess_Detach(This) (This)->lpVtbl->Detach(This) +#define ICorDebugProcess_Terminate(This,exitCode) (This)->lpVtbl->Terminate(This,exitCode) +#define ICorDebugProcess_CanCommitChanges(This,cSnapshots,pSnapshots,pError) (This)->lpVtbl->CanCommitChanges(This,cSnapshots,pSnapshots,pError) +#define ICorDebugProcess_CommitChanges(This,cSnapshots,pSnapshots,pError) (This)->lpVtbl->CommitChanges(This,cSnapshots,pSnapshots,pError) +/*** ICorDebugProcess methods ***/ +#define ICorDebugProcess_GetID(This,pdwProcessId) (This)->lpVtbl->GetID(This,pdwProcessId) +#define ICorDebugProcess_GetHandle(This,phProcessHandle) (This)->lpVtbl->GetHandle(This,phProcessHandle) +#define ICorDebugProcess_GetThread(This,dwThreadId,ppThread) (This)->lpVtbl->GetThread(This,dwThreadId,ppThread) +#define ICorDebugProcess_EnumerateObjects(This,ppObjects) (This)->lpVtbl->EnumerateObjects(This,ppObjects) +#define ICorDebugProcess_IsTransitionStub(This,address,pbTransitionStub) (This)->lpVtbl->IsTransitionStub(This,address,pbTransitionStub) +#define ICorDebugProcess_IsOSSuspended(This,threadID,pbSuspended) (This)->lpVtbl->IsOSSuspended(This,threadID,pbSuspended) +#define ICorDebugProcess_GetThreadContext(This,threadID,contextSize,context) (This)->lpVtbl->GetThreadContext(This,threadID,contextSize,context) +#define ICorDebugProcess_SetThreadContext(This,threadID,contextSize,context) (This)->lpVtbl->SetThreadContext(This,threadID,contextSize,context) +#define ICorDebugProcess_ReadMemory(This,address,size,buffer,read) (This)->lpVtbl->ReadMemory(This,address,size,buffer,read) +#define ICorDebugProcess_WriteMemory(This,address,size,buffer,written) (This)->lpVtbl->WriteMemory(This,address,size,buffer,written) +#define ICorDebugProcess_ClearCurrentException(This,threadID) (This)->lpVtbl->ClearCurrentException(This,threadID) +#define ICorDebugProcess_EnableLogMessages(This,fOnOff) (This)->lpVtbl->EnableLogMessages(This,fOnOff) +#define ICorDebugProcess_ModifyLogSwitch(This,pLogSwitchName,lLevel) (This)->lpVtbl->ModifyLogSwitch(This,pLogSwitchName,lLevel) +#define ICorDebugProcess_EnumerateAppDomains(This,ppAppDomains) (This)->lpVtbl->EnumerateAppDomains(This,ppAppDomains) +#define ICorDebugProcess_GetObject(This,ppObject) (This)->lpVtbl->GetObject(This,ppObject) +#define ICorDebugProcess_ThreadForFiberCookie(This,fiberCookie,ppThread) (This)->lpVtbl->ThreadForFiberCookie(This,fiberCookie,ppThread) +#define ICorDebugProcess_GetHelperThreadID(This,pThreadID) (This)->lpVtbl->GetHelperThreadID(This,pThreadID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugProcess_QueryInterface(ICorDebugProcess* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugProcess_AddRef(ICorDebugProcess* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugProcess_Release(ICorDebugProcess* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugController methods ***/ +static FORCEINLINE HRESULT ICorDebugProcess_Stop(ICorDebugProcess* This,DWORD dwTimeoutIgnored) { + return This->lpVtbl->Stop(This,dwTimeoutIgnored); +} +static FORCEINLINE HRESULT ICorDebugProcess_Continue(ICorDebugProcess* This,BOOL fIsOutOfBand) { + return This->lpVtbl->Continue(This,fIsOutOfBand); +} +static FORCEINLINE HRESULT ICorDebugProcess_IsRunning(ICorDebugProcess* This,BOOL *pbRunning) { + return This->lpVtbl->IsRunning(This,pbRunning); +} +static FORCEINLINE HRESULT ICorDebugProcess_HasQueuedCallbacks(ICorDebugProcess* This,ICorDebugThread *pThread,BOOL *pbQueued) { + return This->lpVtbl->HasQueuedCallbacks(This,pThread,pbQueued); +} +static FORCEINLINE HRESULT ICorDebugProcess_EnumerateThreads(ICorDebugProcess* This,ICorDebugThreadEnum **ppThreads) { + return This->lpVtbl->EnumerateThreads(This,ppThreads); +} +static FORCEINLINE HRESULT ICorDebugProcess_SetAllThreadsDebugState(ICorDebugProcess* This,CorDebugThreadState state,ICorDebugThread *pExceptThisThread) { + return This->lpVtbl->SetAllThreadsDebugState(This,state,pExceptThisThread); +} +static FORCEINLINE HRESULT ICorDebugProcess_Detach(ICorDebugProcess* This) { + return This->lpVtbl->Detach(This); +} +static FORCEINLINE HRESULT ICorDebugProcess_Terminate(ICorDebugProcess* This,UINT exitCode) { + return This->lpVtbl->Terminate(This,exitCode); +} +static FORCEINLINE HRESULT ICorDebugProcess_CanCommitChanges(ICorDebugProcess* This,ULONG cSnapshots,ICorDebugEditAndContinueSnapshot * pSnapshots[],ICorDebugErrorInfoEnum **pError) { + return This->lpVtbl->CanCommitChanges(This,cSnapshots,pSnapshots,pError); +} +static FORCEINLINE HRESULT ICorDebugProcess_CommitChanges(ICorDebugProcess* This,ULONG cSnapshots,ICorDebugEditAndContinueSnapshot * pSnapshots[],ICorDebugErrorInfoEnum **pError) { + return This->lpVtbl->CommitChanges(This,cSnapshots,pSnapshots,pError); +} +/*** ICorDebugProcess methods ***/ +static FORCEINLINE HRESULT ICorDebugProcess_GetID(ICorDebugProcess* This,DWORD *pdwProcessId) { + return This->lpVtbl->GetID(This,pdwProcessId); +} +static FORCEINLINE HRESULT ICorDebugProcess_GetHandle(ICorDebugProcess* This,HPROCESS *phProcessHandle) { + return This->lpVtbl->GetHandle(This,phProcessHandle); +} +static FORCEINLINE HRESULT ICorDebugProcess_GetThread(ICorDebugProcess* This,DWORD dwThreadId,ICorDebugThread **ppThread) { + return This->lpVtbl->GetThread(This,dwThreadId,ppThread); +} +static FORCEINLINE HRESULT ICorDebugProcess_EnumerateObjects(ICorDebugProcess* This,ICorDebugObjectEnum **ppObjects) { + return This->lpVtbl->EnumerateObjects(This,ppObjects); +} +static FORCEINLINE HRESULT ICorDebugProcess_IsTransitionStub(ICorDebugProcess* This,CORDB_ADDRESS address,BOOL *pbTransitionStub) { + return This->lpVtbl->IsTransitionStub(This,address,pbTransitionStub); +} +static FORCEINLINE HRESULT ICorDebugProcess_IsOSSuspended(ICorDebugProcess* This,DWORD threadID,BOOL *pbSuspended) { + return This->lpVtbl->IsOSSuspended(This,threadID,pbSuspended); +} +static FORCEINLINE HRESULT ICorDebugProcess_GetThreadContext(ICorDebugProcess* This,DWORD threadID,ULONG32 contextSize,BYTE context[]) { + return This->lpVtbl->GetThreadContext(This,threadID,contextSize,context); +} +static FORCEINLINE HRESULT ICorDebugProcess_SetThreadContext(ICorDebugProcess* This,DWORD threadID,ULONG32 contextSize,BYTE context[]) { + return This->lpVtbl->SetThreadContext(This,threadID,contextSize,context); +} +static FORCEINLINE HRESULT ICorDebugProcess_ReadMemory(ICorDebugProcess* This,CORDB_ADDRESS address,DWORD size,BYTE buffer[],SIZE_T *read) { + return This->lpVtbl->ReadMemory(This,address,size,buffer,read); +} +static FORCEINLINE HRESULT ICorDebugProcess_WriteMemory(ICorDebugProcess* This,CORDB_ADDRESS address,DWORD size,BYTE buffer[],SIZE_T *written) { + return This->lpVtbl->WriteMemory(This,address,size,buffer,written); +} +static FORCEINLINE HRESULT ICorDebugProcess_ClearCurrentException(ICorDebugProcess* This,DWORD threadID) { + return This->lpVtbl->ClearCurrentException(This,threadID); +} +static FORCEINLINE HRESULT ICorDebugProcess_EnableLogMessages(ICorDebugProcess* This,BOOL fOnOff) { + return This->lpVtbl->EnableLogMessages(This,fOnOff); +} +static FORCEINLINE HRESULT ICorDebugProcess_ModifyLogSwitch(ICorDebugProcess* This,WCHAR *pLogSwitchName,LONG lLevel) { + return This->lpVtbl->ModifyLogSwitch(This,pLogSwitchName,lLevel); +} +static FORCEINLINE HRESULT ICorDebugProcess_EnumerateAppDomains(ICorDebugProcess* This,ICorDebugAppDomainEnum **ppAppDomains) { + return This->lpVtbl->EnumerateAppDomains(This,ppAppDomains); +} +static FORCEINLINE HRESULT ICorDebugProcess_GetObject(ICorDebugProcess* This,ICorDebugValue **ppObject) { + return This->lpVtbl->GetObject(This,ppObject); +} +static FORCEINLINE HRESULT ICorDebugProcess_ThreadForFiberCookie(ICorDebugProcess* This,DWORD fiberCookie,ICorDebugThread **ppThread) { + return This->lpVtbl->ThreadForFiberCookie(This,fiberCookie,ppThread); +} +static FORCEINLINE HRESULT ICorDebugProcess_GetHelperThreadID(ICorDebugProcess* This,DWORD *pThreadID) { + return This->lpVtbl->GetHelperThreadID(This,pThreadID); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugProcess_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugAppDomain interface + */ +#ifndef __ICorDebugAppDomain_INTERFACE_DEFINED__ +#define __ICorDebugAppDomain_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugAppDomain, 0x3d6f5f63, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d6f5f63-7538-11d3-8d5b-00104b35e7ef") +ICorDebugAppDomain : public ICorDebugController +{ + virtual HRESULT STDMETHODCALLTYPE GetProcess( + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateAssemblies( + ICorDebugAssemblyEnum **ppAssemblies) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetModuleFromMetaDataInterface( + IUnknown *pIMetaData, + ICorDebugModule **ppModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateBreakpoints( + ICorDebugBreakpointEnum **ppBreakpoints) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateSteppers( + ICorDebugStepperEnum **ppSteppers) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsAttached( + BOOL *pbAttached) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + ICorDebugValue **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE Attach( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetID( + ULONG32 *pId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugAppDomain, 0x3d6f5f63, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef) +#endif +#else +typedef struct ICorDebugAppDomainVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugAppDomain *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugAppDomain *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugAppDomain *This); + + /*** ICorDebugController methods ***/ + HRESULT (STDMETHODCALLTYPE *Stop)( + ICorDebugAppDomain *This, + DWORD dwTimeoutIgnored); + + HRESULT (STDMETHODCALLTYPE *Continue)( + ICorDebugAppDomain *This, + BOOL fIsOutOfBand); + + HRESULT (STDMETHODCALLTYPE *IsRunning)( + ICorDebugAppDomain *This, + BOOL *pbRunning); + + HRESULT (STDMETHODCALLTYPE *HasQueuedCallbacks)( + ICorDebugAppDomain *This, + ICorDebugThread *pThread, + BOOL *pbQueued); + + HRESULT (STDMETHODCALLTYPE *EnumerateThreads)( + ICorDebugAppDomain *This, + ICorDebugThreadEnum **ppThreads); + + HRESULT (STDMETHODCALLTYPE *SetAllThreadsDebugState)( + ICorDebugAppDomain *This, + CorDebugThreadState state, + ICorDebugThread *pExceptThisThread); + + HRESULT (STDMETHODCALLTYPE *Detach)( + ICorDebugAppDomain *This); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + ICorDebugAppDomain *This, + UINT exitCode); + + HRESULT (STDMETHODCALLTYPE *CanCommitChanges)( + ICorDebugAppDomain *This, + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + ICorDebugAppDomain *This, + ULONG cSnapshots, + ICorDebugEditAndContinueSnapshot * pSnapshots[], + ICorDebugErrorInfoEnum **pError); + + /*** ICorDebugAppDomain methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProcess)( + ICorDebugAppDomain *This, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *EnumerateAssemblies)( + ICorDebugAppDomain *This, + ICorDebugAssemblyEnum **ppAssemblies); + + HRESULT (STDMETHODCALLTYPE *GetModuleFromMetaDataInterface)( + ICorDebugAppDomain *This, + IUnknown *pIMetaData, + ICorDebugModule **ppModule); + + HRESULT (STDMETHODCALLTYPE *EnumerateBreakpoints)( + ICorDebugAppDomain *This, + ICorDebugBreakpointEnum **ppBreakpoints); + + HRESULT (STDMETHODCALLTYPE *EnumerateSteppers)( + ICorDebugAppDomain *This, + ICorDebugStepperEnum **ppSteppers); + + HRESULT (STDMETHODCALLTYPE *IsAttached)( + ICorDebugAppDomain *This, + BOOL *pbAttached); + + HRESULT (STDMETHODCALLTYPE *GetName)( + ICorDebugAppDomain *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + ICorDebugAppDomain *This, + ICorDebugValue **ppObject); + + HRESULT (STDMETHODCALLTYPE *Attach)( + ICorDebugAppDomain *This); + + HRESULT (STDMETHODCALLTYPE *GetID)( + ICorDebugAppDomain *This, + ULONG32 *pId); + + END_INTERFACE +} ICorDebugAppDomainVtbl; + +interface ICorDebugAppDomain { + CONST_VTBL ICorDebugAppDomainVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugAppDomain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugAppDomain_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugAppDomain_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugController methods ***/ +#define ICorDebugAppDomain_Stop(This,dwTimeoutIgnored) (This)->lpVtbl->Stop(This,dwTimeoutIgnored) +#define ICorDebugAppDomain_Continue(This,fIsOutOfBand) (This)->lpVtbl->Continue(This,fIsOutOfBand) +#define ICorDebugAppDomain_IsRunning(This,pbRunning) (This)->lpVtbl->IsRunning(This,pbRunning) +#define ICorDebugAppDomain_HasQueuedCallbacks(This,pThread,pbQueued) (This)->lpVtbl->HasQueuedCallbacks(This,pThread,pbQueued) +#define ICorDebugAppDomain_EnumerateThreads(This,ppThreads) (This)->lpVtbl->EnumerateThreads(This,ppThreads) +#define ICorDebugAppDomain_SetAllThreadsDebugState(This,state,pExceptThisThread) (This)->lpVtbl->SetAllThreadsDebugState(This,state,pExceptThisThread) +#define ICorDebugAppDomain_Detach(This) (This)->lpVtbl->Detach(This) +#define ICorDebugAppDomain_Terminate(This,exitCode) (This)->lpVtbl->Terminate(This,exitCode) +#define ICorDebugAppDomain_CanCommitChanges(This,cSnapshots,pSnapshots,pError) (This)->lpVtbl->CanCommitChanges(This,cSnapshots,pSnapshots,pError) +#define ICorDebugAppDomain_CommitChanges(This,cSnapshots,pSnapshots,pError) (This)->lpVtbl->CommitChanges(This,cSnapshots,pSnapshots,pError) +/*** ICorDebugAppDomain methods ***/ +#define ICorDebugAppDomain_GetProcess(This,ppProcess) (This)->lpVtbl->GetProcess(This,ppProcess) +#define ICorDebugAppDomain_EnumerateAssemblies(This,ppAssemblies) (This)->lpVtbl->EnumerateAssemblies(This,ppAssemblies) +#define ICorDebugAppDomain_GetModuleFromMetaDataInterface(This,pIMetaData,ppModule) (This)->lpVtbl->GetModuleFromMetaDataInterface(This,pIMetaData,ppModule) +#define ICorDebugAppDomain_EnumerateBreakpoints(This,ppBreakpoints) (This)->lpVtbl->EnumerateBreakpoints(This,ppBreakpoints) +#define ICorDebugAppDomain_EnumerateSteppers(This,ppSteppers) (This)->lpVtbl->EnumerateSteppers(This,ppSteppers) +#define ICorDebugAppDomain_IsAttached(This,pbAttached) (This)->lpVtbl->IsAttached(This,pbAttached) +#define ICorDebugAppDomain_GetName(This,cchName,pcchName,szName) (This)->lpVtbl->GetName(This,cchName,pcchName,szName) +#define ICorDebugAppDomain_GetObject(This,ppObject) (This)->lpVtbl->GetObject(This,ppObject) +#define ICorDebugAppDomain_Attach(This) (This)->lpVtbl->Attach(This) +#define ICorDebugAppDomain_GetID(This,pId) (This)->lpVtbl->GetID(This,pId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugAppDomain_QueryInterface(ICorDebugAppDomain* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugAppDomain_AddRef(ICorDebugAppDomain* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugAppDomain_Release(ICorDebugAppDomain* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugController methods ***/ +static FORCEINLINE HRESULT ICorDebugAppDomain_Stop(ICorDebugAppDomain* This,DWORD dwTimeoutIgnored) { + return This->lpVtbl->Stop(This,dwTimeoutIgnored); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_Continue(ICorDebugAppDomain* This,BOOL fIsOutOfBand) { + return This->lpVtbl->Continue(This,fIsOutOfBand); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_IsRunning(ICorDebugAppDomain* This,BOOL *pbRunning) { + return This->lpVtbl->IsRunning(This,pbRunning); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_HasQueuedCallbacks(ICorDebugAppDomain* This,ICorDebugThread *pThread,BOOL *pbQueued) { + return This->lpVtbl->HasQueuedCallbacks(This,pThread,pbQueued); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_EnumerateThreads(ICorDebugAppDomain* This,ICorDebugThreadEnum **ppThreads) { + return This->lpVtbl->EnumerateThreads(This,ppThreads); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_SetAllThreadsDebugState(ICorDebugAppDomain* This,CorDebugThreadState state,ICorDebugThread *pExceptThisThread) { + return This->lpVtbl->SetAllThreadsDebugState(This,state,pExceptThisThread); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_Detach(ICorDebugAppDomain* This) { + return This->lpVtbl->Detach(This); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_Terminate(ICorDebugAppDomain* This,UINT exitCode) { + return This->lpVtbl->Terminate(This,exitCode); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_CanCommitChanges(ICorDebugAppDomain* This,ULONG cSnapshots,ICorDebugEditAndContinueSnapshot * pSnapshots[],ICorDebugErrorInfoEnum **pError) { + return This->lpVtbl->CanCommitChanges(This,cSnapshots,pSnapshots,pError); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_CommitChanges(ICorDebugAppDomain* This,ULONG cSnapshots,ICorDebugEditAndContinueSnapshot * pSnapshots[],ICorDebugErrorInfoEnum **pError) { + return This->lpVtbl->CommitChanges(This,cSnapshots,pSnapshots,pError); +} +/*** ICorDebugAppDomain methods ***/ +static FORCEINLINE HRESULT ICorDebugAppDomain_GetProcess(ICorDebugAppDomain* This,ICorDebugProcess **ppProcess) { + return This->lpVtbl->GetProcess(This,ppProcess); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_EnumerateAssemblies(ICorDebugAppDomain* This,ICorDebugAssemblyEnum **ppAssemblies) { + return This->lpVtbl->EnumerateAssemblies(This,ppAssemblies); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_GetModuleFromMetaDataInterface(ICorDebugAppDomain* This,IUnknown *pIMetaData,ICorDebugModule **ppModule) { + return This->lpVtbl->GetModuleFromMetaDataInterface(This,pIMetaData,ppModule); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_EnumerateBreakpoints(ICorDebugAppDomain* This,ICorDebugBreakpointEnum **ppBreakpoints) { + return This->lpVtbl->EnumerateBreakpoints(This,ppBreakpoints); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_EnumerateSteppers(ICorDebugAppDomain* This,ICorDebugStepperEnum **ppSteppers) { + return This->lpVtbl->EnumerateSteppers(This,ppSteppers); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_IsAttached(ICorDebugAppDomain* This,BOOL *pbAttached) { + return This->lpVtbl->IsAttached(This,pbAttached); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_GetName(ICorDebugAppDomain* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetName(This,cchName,pcchName,szName); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_GetObject(ICorDebugAppDomain* This,ICorDebugValue **ppObject) { + return This->lpVtbl->GetObject(This,ppObject); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_Attach(ICorDebugAppDomain* This) { + return This->lpVtbl->Attach(This); +} +static FORCEINLINE HRESULT ICorDebugAppDomain_GetID(ICorDebugAppDomain* This,ULONG32 *pId) { + return This->lpVtbl->GetID(This,pId); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugAppDomain_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugManagedCallback interface + */ +#ifndef __ICorDebugManagedCallback_INTERFACE_DEFINED__ +#define __ICorDebugManagedCallback_INTERFACE_DEFINED__ + +typedef enum CorDebugStepReason { + STEP_NORMAL = 0, + STEP_RETURN = 1, + STEP_CALL = 2, + STEP_EXCEPTION_FILTER = 3, + STEP_EXCEPTION_HANDLER = 4, + STEP_INTERCEPT = 5, + STEP_EXIT = 6 +} CorDebugStepReason; +typedef enum LoggingLevelEnum { + LTraceLevel0 = 0, + LTraceLevel1 = 1, + LTraceLevel2 = 2, + LTraceLevel3 = 3, + LTraceLevel4 = 4, + LStatusLevel0 = 20, + LStatusLevel1 = 21, + LStatusLevel2 = 22, + LStatusLevel3 = 23, + LStatusLevel4 = 24, + LWarningLevel = 40, + LErrorLevel = 50, + LPanicLevel = 100 +} LoggingLevelEnum; +typedef enum LogSwitchCallReason { + SWITCH_CREATE = 0, + SWITCH_MODIFY = 1, + SWITCH_DELETE = 2 +} LogSwitchCallReason; +DEFINE_GUID(IID_ICorDebugManagedCallback, 0x3d6f5f60, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d6f5f60-7538-11d3-8d5b-00104b35e7ef") +ICorDebugManagedCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Breakpoint( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugBreakpoint *pBreakpoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE StepComplete( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugStepper *pStepper, + CorDebugStepReason reason) = 0; + + virtual HRESULT STDMETHODCALLTYPE Break( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *thread) = 0; + + virtual HRESULT STDMETHODCALLTYPE Exception( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + BOOL unhandled) = 0; + + virtual HRESULT STDMETHODCALLTYPE EvalComplete( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugEval *pEval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EvalException( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugEval *pEval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateProcess( + ICorDebugProcess *pProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitProcess( + ICorDebugProcess *pProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateThread( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *thread) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitThread( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *thread) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadModule( + ICorDebugAppDomain *pAppDomain, + ICorDebugModule *pModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnloadModule( + ICorDebugAppDomain *pAppDomain, + ICorDebugModule *pModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadClass( + ICorDebugAppDomain *pAppDomain, + ICorDebugClass *c) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnloadClass( + ICorDebugAppDomain *pAppDomain, + ICorDebugClass *c) = 0; + + virtual HRESULT STDMETHODCALLTYPE DebuggerError( + ICorDebugProcess *pProcess, + HRESULT errorHR, + DWORD errorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE LogMessage( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + LONG lLevel, + WCHAR *pLogSwitchName, + WCHAR *pMessage) = 0; + + virtual HRESULT STDMETHODCALLTYPE LogSwitch( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + LONG lLevel, + ULONG ulReason, + WCHAR *pLogSwitchName, + WCHAR *pParentName) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAppDomain( + ICorDebugProcess *pProcess, + ICorDebugAppDomain *pAppDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitAppDomain( + ICorDebugProcess *pProcess, + ICorDebugAppDomain *pAppDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadAssembly( + ICorDebugAppDomain *pAppDomain, + ICorDebugAssembly *pAssembly) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnloadAssembly( + ICorDebugAppDomain *pAppDomain, + ICorDebugAssembly *pAssembly) = 0; + + virtual HRESULT STDMETHODCALLTYPE ControlCTrap( + ICorDebugProcess *pProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE NameChange( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateModuleSymbols( + ICorDebugAppDomain *pAppDomain, + ICorDebugModule *pModule, + IStream *pSymbolStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE EditAndContinueRemap( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFunction *pFunction, + BOOL fAccurate) = 0; + + virtual HRESULT STDMETHODCALLTYPE BreakpointSetError( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugBreakpoint *pBreakpoint, + DWORD dwError) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugManagedCallback, 0x3d6f5f60, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef) +#endif +#else +typedef struct ICorDebugManagedCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugManagedCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugManagedCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugManagedCallback *This); + + /*** ICorDebugManagedCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *Breakpoint)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugBreakpoint *pBreakpoint); + + HRESULT (STDMETHODCALLTYPE *StepComplete)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugStepper *pStepper, + CorDebugStepReason reason); + + HRESULT (STDMETHODCALLTYPE *Break)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *thread); + + HRESULT (STDMETHODCALLTYPE *Exception)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + BOOL unhandled); + + HRESULT (STDMETHODCALLTYPE *EvalComplete)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugEval *pEval); + + HRESULT (STDMETHODCALLTYPE *EvalException)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugEval *pEval); + + HRESULT (STDMETHODCALLTYPE *CreateProcess)( + ICorDebugManagedCallback *This, + ICorDebugProcess *pProcess); + + HRESULT (STDMETHODCALLTYPE *ExitProcess)( + ICorDebugManagedCallback *This, + ICorDebugProcess *pProcess); + + HRESULT (STDMETHODCALLTYPE *CreateThread)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *thread); + + HRESULT (STDMETHODCALLTYPE *ExitThread)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *thread); + + HRESULT (STDMETHODCALLTYPE *LoadModule)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugModule *pModule); + + HRESULT (STDMETHODCALLTYPE *UnloadModule)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugModule *pModule); + + HRESULT (STDMETHODCALLTYPE *LoadClass)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugClass *c); + + HRESULT (STDMETHODCALLTYPE *UnloadClass)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugClass *c); + + HRESULT (STDMETHODCALLTYPE *DebuggerError)( + ICorDebugManagedCallback *This, + ICorDebugProcess *pProcess, + HRESULT errorHR, + DWORD errorCode); + + HRESULT (STDMETHODCALLTYPE *LogMessage)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + LONG lLevel, + WCHAR *pLogSwitchName, + WCHAR *pMessage); + + HRESULT (STDMETHODCALLTYPE *LogSwitch)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + LONG lLevel, + ULONG ulReason, + WCHAR *pLogSwitchName, + WCHAR *pParentName); + + HRESULT (STDMETHODCALLTYPE *CreateAppDomain)( + ICorDebugManagedCallback *This, + ICorDebugProcess *pProcess, + ICorDebugAppDomain *pAppDomain); + + HRESULT (STDMETHODCALLTYPE *ExitAppDomain)( + ICorDebugManagedCallback *This, + ICorDebugProcess *pProcess, + ICorDebugAppDomain *pAppDomain); + + HRESULT (STDMETHODCALLTYPE *LoadAssembly)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugAssembly *pAssembly); + + HRESULT (STDMETHODCALLTYPE *UnloadAssembly)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugAssembly *pAssembly); + + HRESULT (STDMETHODCALLTYPE *ControlCTrap)( + ICorDebugManagedCallback *This, + ICorDebugProcess *pProcess); + + HRESULT (STDMETHODCALLTYPE *NameChange)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread); + + HRESULT (STDMETHODCALLTYPE *UpdateModuleSymbols)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugModule *pModule, + IStream *pSymbolStream); + + HRESULT (STDMETHODCALLTYPE *EditAndContinueRemap)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFunction *pFunction, + BOOL fAccurate); + + HRESULT (STDMETHODCALLTYPE *BreakpointSetError)( + ICorDebugManagedCallback *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugBreakpoint *pBreakpoint, + DWORD dwError); + + END_INTERFACE +} ICorDebugManagedCallbackVtbl; + +interface ICorDebugManagedCallback { + CONST_VTBL ICorDebugManagedCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugManagedCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugManagedCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugManagedCallback_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugManagedCallback methods ***/ +#define ICorDebugManagedCallback_Breakpoint(This,pAppDomain,pThread,pBreakpoint) (This)->lpVtbl->Breakpoint(This,pAppDomain,pThread,pBreakpoint) +#define ICorDebugManagedCallback_StepComplete(This,pAppDomain,pThread,pStepper,reason) (This)->lpVtbl->StepComplete(This,pAppDomain,pThread,pStepper,reason) +#define ICorDebugManagedCallback_Break(This,pAppDomain,thread) (This)->lpVtbl->Break(This,pAppDomain,thread) +#define ICorDebugManagedCallback_Exception(This,pAppDomain,pThread,unhandled) (This)->lpVtbl->Exception(This,pAppDomain,pThread,unhandled) +#define ICorDebugManagedCallback_EvalComplete(This,pAppDomain,pThread,pEval) (This)->lpVtbl->EvalComplete(This,pAppDomain,pThread,pEval) +#define ICorDebugManagedCallback_EvalException(This,pAppDomain,pThread,pEval) (This)->lpVtbl->EvalException(This,pAppDomain,pThread,pEval) +#define ICorDebugManagedCallback_CreateProcess(This,pProcess) (This)->lpVtbl->CreateProcess(This,pProcess) +#define ICorDebugManagedCallback_ExitProcess(This,pProcess) (This)->lpVtbl->ExitProcess(This,pProcess) +#define ICorDebugManagedCallback_CreateThread(This,pAppDomain,thread) (This)->lpVtbl->CreateThread(This,pAppDomain,thread) +#define ICorDebugManagedCallback_ExitThread(This,pAppDomain,thread) (This)->lpVtbl->ExitThread(This,pAppDomain,thread) +#define ICorDebugManagedCallback_LoadModule(This,pAppDomain,pModule) (This)->lpVtbl->LoadModule(This,pAppDomain,pModule) +#define ICorDebugManagedCallback_UnloadModule(This,pAppDomain,pModule) (This)->lpVtbl->UnloadModule(This,pAppDomain,pModule) +#define ICorDebugManagedCallback_LoadClass(This,pAppDomain,c) (This)->lpVtbl->LoadClass(This,pAppDomain,c) +#define ICorDebugManagedCallback_UnloadClass(This,pAppDomain,c) (This)->lpVtbl->UnloadClass(This,pAppDomain,c) +#define ICorDebugManagedCallback_DebuggerError(This,pProcess,errorHR,errorCode) (This)->lpVtbl->DebuggerError(This,pProcess,errorHR,errorCode) +#define ICorDebugManagedCallback_LogMessage(This,pAppDomain,pThread,lLevel,pLogSwitchName,pMessage) (This)->lpVtbl->LogMessage(This,pAppDomain,pThread,lLevel,pLogSwitchName,pMessage) +#define ICorDebugManagedCallback_LogSwitch(This,pAppDomain,pThread,lLevel,ulReason,pLogSwitchName,pParentName) (This)->lpVtbl->LogSwitch(This,pAppDomain,pThread,lLevel,ulReason,pLogSwitchName,pParentName) +#define ICorDebugManagedCallback_CreateAppDomain(This,pProcess,pAppDomain) (This)->lpVtbl->CreateAppDomain(This,pProcess,pAppDomain) +#define ICorDebugManagedCallback_ExitAppDomain(This,pProcess,pAppDomain) (This)->lpVtbl->ExitAppDomain(This,pProcess,pAppDomain) +#define ICorDebugManagedCallback_LoadAssembly(This,pAppDomain,pAssembly) (This)->lpVtbl->LoadAssembly(This,pAppDomain,pAssembly) +#define ICorDebugManagedCallback_UnloadAssembly(This,pAppDomain,pAssembly) (This)->lpVtbl->UnloadAssembly(This,pAppDomain,pAssembly) +#define ICorDebugManagedCallback_ControlCTrap(This,pProcess) (This)->lpVtbl->ControlCTrap(This,pProcess) +#define ICorDebugManagedCallback_NameChange(This,pAppDomain,pThread) (This)->lpVtbl->NameChange(This,pAppDomain,pThread) +#define ICorDebugManagedCallback_UpdateModuleSymbols(This,pAppDomain,pModule,pSymbolStream) (This)->lpVtbl->UpdateModuleSymbols(This,pAppDomain,pModule,pSymbolStream) +#define ICorDebugManagedCallback_EditAndContinueRemap(This,pAppDomain,pThread,pFunction,fAccurate) (This)->lpVtbl->EditAndContinueRemap(This,pAppDomain,pThread,pFunction,fAccurate) +#define ICorDebugManagedCallback_BreakpointSetError(This,pAppDomain,pThread,pBreakpoint,dwError) (This)->lpVtbl->BreakpointSetError(This,pAppDomain,pThread,pBreakpoint,dwError) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugManagedCallback_QueryInterface(ICorDebugManagedCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugManagedCallback_AddRef(ICorDebugManagedCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugManagedCallback_Release(ICorDebugManagedCallback* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugManagedCallback methods ***/ +static FORCEINLINE HRESULT ICorDebugManagedCallback_Breakpoint(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugBreakpoint *pBreakpoint) { + return This->lpVtbl->Breakpoint(This,pAppDomain,pThread,pBreakpoint); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_StepComplete(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugStepper *pStepper,CorDebugStepReason reason) { + return This->lpVtbl->StepComplete(This,pAppDomain,pThread,pStepper,reason); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_Break(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *thread) { + return This->lpVtbl->Break(This,pAppDomain,thread); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_Exception(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,BOOL unhandled) { + return This->lpVtbl->Exception(This,pAppDomain,pThread,unhandled); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_EvalComplete(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugEval *pEval) { + return This->lpVtbl->EvalComplete(This,pAppDomain,pThread,pEval); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_EvalException(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugEval *pEval) { + return This->lpVtbl->EvalException(This,pAppDomain,pThread,pEval); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_CreateProcess(ICorDebugManagedCallback* This,ICorDebugProcess *pProcess) { + return This->lpVtbl->CreateProcess(This,pProcess); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_ExitProcess(ICorDebugManagedCallback* This,ICorDebugProcess *pProcess) { + return This->lpVtbl->ExitProcess(This,pProcess); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_CreateThread(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *thread) { + return This->lpVtbl->CreateThread(This,pAppDomain,thread); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_ExitThread(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *thread) { + return This->lpVtbl->ExitThread(This,pAppDomain,thread); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_LoadModule(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugModule *pModule) { + return This->lpVtbl->LoadModule(This,pAppDomain,pModule); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_UnloadModule(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugModule *pModule) { + return This->lpVtbl->UnloadModule(This,pAppDomain,pModule); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_LoadClass(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugClass *c) { + return This->lpVtbl->LoadClass(This,pAppDomain,c); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_UnloadClass(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugClass *c) { + return This->lpVtbl->UnloadClass(This,pAppDomain,c); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_DebuggerError(ICorDebugManagedCallback* This,ICorDebugProcess *pProcess,HRESULT errorHR,DWORD errorCode) { + return This->lpVtbl->DebuggerError(This,pProcess,errorHR,errorCode); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_LogMessage(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,LONG lLevel,WCHAR *pLogSwitchName,WCHAR *pMessage) { + return This->lpVtbl->LogMessage(This,pAppDomain,pThread,lLevel,pLogSwitchName,pMessage); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_LogSwitch(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,LONG lLevel,ULONG ulReason,WCHAR *pLogSwitchName,WCHAR *pParentName) { + return This->lpVtbl->LogSwitch(This,pAppDomain,pThread,lLevel,ulReason,pLogSwitchName,pParentName); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_CreateAppDomain(ICorDebugManagedCallback* This,ICorDebugProcess *pProcess,ICorDebugAppDomain *pAppDomain) { + return This->lpVtbl->CreateAppDomain(This,pProcess,pAppDomain); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_ExitAppDomain(ICorDebugManagedCallback* This,ICorDebugProcess *pProcess,ICorDebugAppDomain *pAppDomain) { + return This->lpVtbl->ExitAppDomain(This,pProcess,pAppDomain); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_LoadAssembly(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugAssembly *pAssembly) { + return This->lpVtbl->LoadAssembly(This,pAppDomain,pAssembly); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_UnloadAssembly(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugAssembly *pAssembly) { + return This->lpVtbl->UnloadAssembly(This,pAppDomain,pAssembly); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_ControlCTrap(ICorDebugManagedCallback* This,ICorDebugProcess *pProcess) { + return This->lpVtbl->ControlCTrap(This,pProcess); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_NameChange(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread) { + return This->lpVtbl->NameChange(This,pAppDomain,pThread); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_UpdateModuleSymbols(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugModule *pModule,IStream *pSymbolStream) { + return This->lpVtbl->UpdateModuleSymbols(This,pAppDomain,pModule,pSymbolStream); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_EditAndContinueRemap(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugFunction *pFunction,BOOL fAccurate) { + return This->lpVtbl->EditAndContinueRemap(This,pAppDomain,pThread,pFunction,fAccurate); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback_BreakpointSetError(ICorDebugManagedCallback* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugBreakpoint *pBreakpoint,DWORD dwError) { + return This->lpVtbl->BreakpointSetError(This,pAppDomain,pThread,pBreakpoint,dwError); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugManagedCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugManagedCallback2 interface + */ +#ifndef __ICorDebugManagedCallback2_INTERFACE_DEFINED__ +#define __ICorDebugManagedCallback2_INTERFACE_DEFINED__ + +typedef enum CorDebugExceptionCallbackType { + DEBUG_EXCEPTION_FIRST_CHANCE = 1, + DEBUG_EXCEPTION_USER_FIRST_CHANCE = 2, + DEBUG_EXCEPTION_CATCH_HANDLER_FOUND = 3, + DEBUG_EXCEPTION_UNHANDLED = 4 +} CorDebugExceptionCallbackType; +typedef enum CorDebugExceptionFlags { + DEBUG_EXCEPTION_CAN_BE_INTERCEPTED = 0x1 +} CorDebugExceptionFlags; +typedef enum CorDebugExceptionUnwindCallbackType { + DEBUG_EXCEPTION_UNWIND_BEGIN = 1, + DEBUG_EXCEPTION_INTERCEPTED = 2 +} CorDebugExceptionUnwindCallbackType; +DEFINE_GUID(IID_ICorDebugManagedCallback2, 0x250e5eea, 0xdb5c, 0x4c76, 0xb6,0xf3, 0x8c,0x46,0xf1,0x2e,0x32,0x03); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("250e5eea-db5c-4c76-b6f3-8c46f12e3203") +ICorDebugManagedCallback2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FunctionRemapOpportunity( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFunction *pOldFunction, + ICorDebugFunction *pNewFunction, + ULONG32 oldILOffset) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateConnection( + ICorDebugProcess *pProcess, + CONNID dwConnectionId, + WCHAR *pConnName) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangeConnection( + ICorDebugProcess *pProcess, + CONNID dwConnectionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyConnection( + ICorDebugProcess *pProcess, + CONNID dwConnectionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE Exception( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFrame *pFrame, + ULONG32 nOffset, + CorDebugExceptionCallbackType dwEventType, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExceptionUnwind( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + CorDebugExceptionUnwindCallbackType dwEventType, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE FunctionRemapComplete( + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFunction *pFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE MDANotification( + ICorDebugController *pController, + ICorDebugThread *pThread, + ICorDebugMDA *pMDA) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugManagedCallback2, 0x250e5eea, 0xdb5c, 0x4c76, 0xb6,0xf3, 0x8c,0x46,0xf1,0x2e,0x32,0x03) +#endif +#else +typedef struct ICorDebugManagedCallback2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugManagedCallback2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugManagedCallback2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugManagedCallback2 *This); + + /*** ICorDebugManagedCallback2 methods ***/ + HRESULT (STDMETHODCALLTYPE *FunctionRemapOpportunity)( + ICorDebugManagedCallback2 *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFunction *pOldFunction, + ICorDebugFunction *pNewFunction, + ULONG32 oldILOffset); + + HRESULT (STDMETHODCALLTYPE *CreateConnection)( + ICorDebugManagedCallback2 *This, + ICorDebugProcess *pProcess, + CONNID dwConnectionId, + WCHAR *pConnName); + + HRESULT (STDMETHODCALLTYPE *ChangeConnection)( + ICorDebugManagedCallback2 *This, + ICorDebugProcess *pProcess, + CONNID dwConnectionId); + + HRESULT (STDMETHODCALLTYPE *DestroyConnection)( + ICorDebugManagedCallback2 *This, + ICorDebugProcess *pProcess, + CONNID dwConnectionId); + + HRESULT (STDMETHODCALLTYPE *Exception)( + ICorDebugManagedCallback2 *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFrame *pFrame, + ULONG32 nOffset, + CorDebugExceptionCallbackType dwEventType, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ExceptionUnwind)( + ICorDebugManagedCallback2 *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + CorDebugExceptionUnwindCallbackType dwEventType, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *FunctionRemapComplete)( + ICorDebugManagedCallback2 *This, + ICorDebugAppDomain *pAppDomain, + ICorDebugThread *pThread, + ICorDebugFunction *pFunction); + + HRESULT (STDMETHODCALLTYPE *MDANotification)( + ICorDebugManagedCallback2 *This, + ICorDebugController *pController, + ICorDebugThread *pThread, + ICorDebugMDA *pMDA); + + END_INTERFACE +} ICorDebugManagedCallback2Vtbl; + +interface ICorDebugManagedCallback2 { + CONST_VTBL ICorDebugManagedCallback2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugManagedCallback2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugManagedCallback2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugManagedCallback2_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugManagedCallback2 methods ***/ +#define ICorDebugManagedCallback2_FunctionRemapOpportunity(This,pAppDomain,pThread,pOldFunction,pNewFunction,oldILOffset) (This)->lpVtbl->FunctionRemapOpportunity(This,pAppDomain,pThread,pOldFunction,pNewFunction,oldILOffset) +#define ICorDebugManagedCallback2_CreateConnection(This,pProcess,dwConnectionId,pConnName) (This)->lpVtbl->CreateConnection(This,pProcess,dwConnectionId,pConnName) +#define ICorDebugManagedCallback2_ChangeConnection(This,pProcess,dwConnectionId) (This)->lpVtbl->ChangeConnection(This,pProcess,dwConnectionId) +#define ICorDebugManagedCallback2_DestroyConnection(This,pProcess,dwConnectionId) (This)->lpVtbl->DestroyConnection(This,pProcess,dwConnectionId) +#define ICorDebugManagedCallback2_Exception(This,pAppDomain,pThread,pFrame,nOffset,dwEventType,dwFlags) (This)->lpVtbl->Exception(This,pAppDomain,pThread,pFrame,nOffset,dwEventType,dwFlags) +#define ICorDebugManagedCallback2_ExceptionUnwind(This,pAppDomain,pThread,dwEventType,dwFlags) (This)->lpVtbl->ExceptionUnwind(This,pAppDomain,pThread,dwEventType,dwFlags) +#define ICorDebugManagedCallback2_FunctionRemapComplete(This,pAppDomain,pThread,pFunction) (This)->lpVtbl->FunctionRemapComplete(This,pAppDomain,pThread,pFunction) +#define ICorDebugManagedCallback2_MDANotification(This,pController,pThread,pMDA) (This)->lpVtbl->MDANotification(This,pController,pThread,pMDA) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugManagedCallback2_QueryInterface(ICorDebugManagedCallback2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugManagedCallback2_AddRef(ICorDebugManagedCallback2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugManagedCallback2_Release(ICorDebugManagedCallback2* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugManagedCallback2 methods ***/ +static FORCEINLINE HRESULT ICorDebugManagedCallback2_FunctionRemapOpportunity(ICorDebugManagedCallback2* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugFunction *pOldFunction,ICorDebugFunction *pNewFunction,ULONG32 oldILOffset) { + return This->lpVtbl->FunctionRemapOpportunity(This,pAppDomain,pThread,pOldFunction,pNewFunction,oldILOffset); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_CreateConnection(ICorDebugManagedCallback2* This,ICorDebugProcess *pProcess,CONNID dwConnectionId,WCHAR *pConnName) { + return This->lpVtbl->CreateConnection(This,pProcess,dwConnectionId,pConnName); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_ChangeConnection(ICorDebugManagedCallback2* This,ICorDebugProcess *pProcess,CONNID dwConnectionId) { + return This->lpVtbl->ChangeConnection(This,pProcess,dwConnectionId); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_DestroyConnection(ICorDebugManagedCallback2* This,ICorDebugProcess *pProcess,CONNID dwConnectionId) { + return This->lpVtbl->DestroyConnection(This,pProcess,dwConnectionId); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_Exception(ICorDebugManagedCallback2* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugFrame *pFrame,ULONG32 nOffset,CorDebugExceptionCallbackType dwEventType,DWORD dwFlags) { + return This->lpVtbl->Exception(This,pAppDomain,pThread,pFrame,nOffset,dwEventType,dwFlags); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_ExceptionUnwind(ICorDebugManagedCallback2* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,CorDebugExceptionUnwindCallbackType dwEventType,DWORD dwFlags) { + return This->lpVtbl->ExceptionUnwind(This,pAppDomain,pThread,dwEventType,dwFlags); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_FunctionRemapComplete(ICorDebugManagedCallback2* This,ICorDebugAppDomain *pAppDomain,ICorDebugThread *pThread,ICorDebugFunction *pFunction) { + return This->lpVtbl->FunctionRemapComplete(This,pAppDomain,pThread,pFunction); +} +static FORCEINLINE HRESULT ICorDebugManagedCallback2_MDANotification(ICorDebugManagedCallback2* This,ICorDebugController *pController,ICorDebugThread *pThread,ICorDebugMDA *pMDA) { + return This->lpVtbl->MDANotification(This,pController,pThread,pMDA); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugManagedCallback2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebug interface + */ +#ifndef __ICorDebug_INTERFACE_DEFINED__ +#define __ICorDebug_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebug, 0x3d6f5f61, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d6f5f61-7538-11d3-8d5b-00104b35e7ef") +ICorDebug : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Terminate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetManagedHandler( + ICorDebugManagedCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUnmanagedHandler( + ICorDebugUnmanagedCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateProcess( + LPCWSTR lpApplicationName, + LPWSTR lpCommandLine, + LPSECURITY_ATTRIBUTES lpProcessAttributes, + LPSECURITY_ATTRIBUTES lpThreadAttributes, + BOOL bInheritHandles, + DWORD dwCreationFlags, + PVOID lpEnvironment, + LPCWSTR lpCurrentDirectory, + LPSTARTUPINFOW lpStartupInfo, + LPPROCESS_INFORMATION lpProcessInformation, + CorDebugCreateProcessFlags debuggingFlags, + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE DebugActiveProcess( + DWORD id, + BOOL win32Attach, + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateProcesses( + ICorDebugProcessEnum **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcess( + DWORD dwProcessId, + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanLaunchOrAttach( + DWORD dwProcessId, + BOOL win32DebuggingEnabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebug, 0x3d6f5f61, 0x7538, 0x11d3, 0x8d,0x5b, 0x00,0x10,0x4b,0x35,0xe7,0xef) +#endif +#else +typedef struct ICorDebugVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebug *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebug *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebug *This); + + /*** ICorDebug methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + ICorDebug *This); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + ICorDebug *This); + + HRESULT (STDMETHODCALLTYPE *SetManagedHandler)( + ICorDebug *This, + ICorDebugManagedCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *SetUnmanagedHandler)( + ICorDebug *This, + ICorDebugUnmanagedCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *CreateProcess)( + ICorDebug *This, + LPCWSTR lpApplicationName, + LPWSTR lpCommandLine, + LPSECURITY_ATTRIBUTES lpProcessAttributes, + LPSECURITY_ATTRIBUTES lpThreadAttributes, + BOOL bInheritHandles, + DWORD dwCreationFlags, + PVOID lpEnvironment, + LPCWSTR lpCurrentDirectory, + LPSTARTUPINFOW lpStartupInfo, + LPPROCESS_INFORMATION lpProcessInformation, + CorDebugCreateProcessFlags debuggingFlags, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *DebugActiveProcess)( + ICorDebug *This, + DWORD id, + BOOL win32Attach, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *EnumerateProcesses)( + ICorDebug *This, + ICorDebugProcessEnum **ppProcess); + + HRESULT (STDMETHODCALLTYPE *GetProcess)( + ICorDebug *This, + DWORD dwProcessId, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *CanLaunchOrAttach)( + ICorDebug *This, + DWORD dwProcessId, + BOOL win32DebuggingEnabled); + + END_INTERFACE +} ICorDebugVtbl; + +interface ICorDebug { + CONST_VTBL ICorDebugVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebug_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebug_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebug_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebug methods ***/ +#define ICorDebug_Initialize(This) (This)->lpVtbl->Initialize(This) +#define ICorDebug_Terminate(This) (This)->lpVtbl->Terminate(This) +#define ICorDebug_SetManagedHandler(This,pCallback) (This)->lpVtbl->SetManagedHandler(This,pCallback) +#define ICorDebug_SetUnmanagedHandler(This,pCallback) (This)->lpVtbl->SetUnmanagedHandler(This,pCallback) +#define ICorDebug_CreateProcess(This,lpApplicationName,lpCommandLine,lpProcessAttributes,lpThreadAttributes,bInheritHandles,dwCreationFlags,lpEnvironment,lpCurrentDirectory,lpStartupInfo,lpProcessInformation,debuggingFlags,ppProcess) (This)->lpVtbl->CreateProcess(This,lpApplicationName,lpCommandLine,lpProcessAttributes,lpThreadAttributes,bInheritHandles,dwCreationFlags,lpEnvironment,lpCurrentDirectory,lpStartupInfo,lpProcessInformation,debuggingFlags,ppProcess) +#define ICorDebug_DebugActiveProcess(This,id,win32Attach,ppProcess) (This)->lpVtbl->DebugActiveProcess(This,id,win32Attach,ppProcess) +#define ICorDebug_EnumerateProcesses(This,ppProcess) (This)->lpVtbl->EnumerateProcesses(This,ppProcess) +#define ICorDebug_GetProcess(This,dwProcessId,ppProcess) (This)->lpVtbl->GetProcess(This,dwProcessId,ppProcess) +#define ICorDebug_CanLaunchOrAttach(This,dwProcessId,win32DebuggingEnabled) (This)->lpVtbl->CanLaunchOrAttach(This,dwProcessId,win32DebuggingEnabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebug_QueryInterface(ICorDebug* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebug_AddRef(ICorDebug* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebug_Release(ICorDebug* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebug methods ***/ +static FORCEINLINE HRESULT ICorDebug_Initialize(ICorDebug* This) { + return This->lpVtbl->Initialize(This); +} +static FORCEINLINE HRESULT ICorDebug_Terminate(ICorDebug* This) { + return This->lpVtbl->Terminate(This); +} +static FORCEINLINE HRESULT ICorDebug_SetManagedHandler(ICorDebug* This,ICorDebugManagedCallback *pCallback) { + return This->lpVtbl->SetManagedHandler(This,pCallback); +} +static FORCEINLINE HRESULT ICorDebug_SetUnmanagedHandler(ICorDebug* This,ICorDebugUnmanagedCallback *pCallback) { + return This->lpVtbl->SetUnmanagedHandler(This,pCallback); +} +static FORCEINLINE HRESULT ICorDebug_CreateProcess(ICorDebug* This,LPCWSTR lpApplicationName,LPWSTR lpCommandLine,LPSECURITY_ATTRIBUTES lpProcessAttributes,LPSECURITY_ATTRIBUTES lpThreadAttributes,BOOL bInheritHandles,DWORD dwCreationFlags,PVOID lpEnvironment,LPCWSTR lpCurrentDirectory,LPSTARTUPINFOW lpStartupInfo,LPPROCESS_INFORMATION lpProcessInformation,CorDebugCreateProcessFlags debuggingFlags,ICorDebugProcess **ppProcess) { + return This->lpVtbl->CreateProcess(This,lpApplicationName,lpCommandLine,lpProcessAttributes,lpThreadAttributes,bInheritHandles,dwCreationFlags,lpEnvironment,lpCurrentDirectory,lpStartupInfo,lpProcessInformation,debuggingFlags,ppProcess); +} +static FORCEINLINE HRESULT ICorDebug_DebugActiveProcess(ICorDebug* This,DWORD id,BOOL win32Attach,ICorDebugProcess **ppProcess) { + return This->lpVtbl->DebugActiveProcess(This,id,win32Attach,ppProcess); +} +static FORCEINLINE HRESULT ICorDebug_EnumerateProcesses(ICorDebug* This,ICorDebugProcessEnum **ppProcess) { + return This->lpVtbl->EnumerateProcesses(This,ppProcess); +} +static FORCEINLINE HRESULT ICorDebug_GetProcess(ICorDebug* This,DWORD dwProcessId,ICorDebugProcess **ppProcess) { + return This->lpVtbl->GetProcess(This,dwProcessId,ppProcess); +} +static FORCEINLINE HRESULT ICorDebug_CanLaunchOrAttach(ICorDebug* This,DWORD dwProcessId,BOOL win32DebuggingEnabled) { + return This->lpVtbl->CanLaunchOrAttach(This,dwProcessId,win32DebuggingEnabled); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebug_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugBreakpoint interface + */ +#ifndef __ICorDebugBreakpoint_INTERFACE_DEFINED__ +#define __ICorDebugBreakpoint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugBreakpoint, 0xcc7bcae8, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcae8-8a68-11d2-983c-0000f808342d") +ICorDebugBreakpoint : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Activate( + BOOL bActive) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsActive( + BOOL *pbActive) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugBreakpoint, 0xcc7bcae8, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugBreakpointVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugBreakpoint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugBreakpoint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugBreakpoint *This); + + /*** ICorDebugBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ICorDebugBreakpoint *This, + BOOL bActive); + + HRESULT (STDMETHODCALLTYPE *IsActive)( + ICorDebugBreakpoint *This, + BOOL *pbActive); + + END_INTERFACE +} ICorDebugBreakpointVtbl; + +interface ICorDebugBreakpoint { + CONST_VTBL ICorDebugBreakpointVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugBreakpoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugBreakpoint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugBreakpoint_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugBreakpoint methods ***/ +#define ICorDebugBreakpoint_Activate(This,bActive) (This)->lpVtbl->Activate(This,bActive) +#define ICorDebugBreakpoint_IsActive(This,pbActive) (This)->lpVtbl->IsActive(This,pbActive) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugBreakpoint_QueryInterface(ICorDebugBreakpoint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugBreakpoint_AddRef(ICorDebugBreakpoint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugBreakpoint_Release(ICorDebugBreakpoint* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugBreakpoint_Activate(ICorDebugBreakpoint* This,BOOL bActive) { + return This->lpVtbl->Activate(This,bActive); +} +static FORCEINLINE HRESULT ICorDebugBreakpoint_IsActive(ICorDebugBreakpoint* This,BOOL *pbActive) { + return This->lpVtbl->IsActive(This,pbActive); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugBreakpoint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugFunctionBreakpoint interface + */ +#ifndef __ICorDebugFunctionBreakpoint_INTERFACE_DEFINED__ +#define __ICorDebugFunctionBreakpoint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugFunctionBreakpoint, 0xcc7bcae9, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcae9-8a68-11d2-983c-0000f808342d") +ICorDebugFunctionBreakpoint : public ICorDebugBreakpoint +{ + virtual HRESULT STDMETHODCALLTYPE GetFunction( + ICorDebugFunction **ppFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOffset( + ULONG32 *pnOffset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugFunctionBreakpoint, 0xcc7bcae9, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugFunctionBreakpointVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugFunctionBreakpoint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugFunctionBreakpoint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugFunctionBreakpoint *This); + + /*** ICorDebugBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ICorDebugFunctionBreakpoint *This, + BOOL bActive); + + HRESULT (STDMETHODCALLTYPE *IsActive)( + ICorDebugFunctionBreakpoint *This, + BOOL *pbActive); + + /*** ICorDebugFunctionBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFunction)( + ICorDebugFunctionBreakpoint *This, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetOffset)( + ICorDebugFunctionBreakpoint *This, + ULONG32 *pnOffset); + + END_INTERFACE +} ICorDebugFunctionBreakpointVtbl; + +interface ICorDebugFunctionBreakpoint { + CONST_VTBL ICorDebugFunctionBreakpointVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugFunctionBreakpoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugFunctionBreakpoint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugFunctionBreakpoint_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugBreakpoint methods ***/ +#define ICorDebugFunctionBreakpoint_Activate(This,bActive) (This)->lpVtbl->Activate(This,bActive) +#define ICorDebugFunctionBreakpoint_IsActive(This,pbActive) (This)->lpVtbl->IsActive(This,pbActive) +/*** ICorDebugFunctionBreakpoint methods ***/ +#define ICorDebugFunctionBreakpoint_GetFunction(This,ppFunction) (This)->lpVtbl->GetFunction(This,ppFunction) +#define ICorDebugFunctionBreakpoint_GetOffset(This,pnOffset) (This)->lpVtbl->GetOffset(This,pnOffset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugFunctionBreakpoint_QueryInterface(ICorDebugFunctionBreakpoint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugFunctionBreakpoint_AddRef(ICorDebugFunctionBreakpoint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugFunctionBreakpoint_Release(ICorDebugFunctionBreakpoint* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugFunctionBreakpoint_Activate(ICorDebugFunctionBreakpoint* This,BOOL bActive) { + return This->lpVtbl->Activate(This,bActive); +} +static FORCEINLINE HRESULT ICorDebugFunctionBreakpoint_IsActive(ICorDebugFunctionBreakpoint* This,BOOL *pbActive) { + return This->lpVtbl->IsActive(This,pbActive); +} +/*** ICorDebugFunctionBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugFunctionBreakpoint_GetFunction(ICorDebugFunctionBreakpoint* This,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetFunction(This,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugFunctionBreakpoint_GetOffset(ICorDebugFunctionBreakpoint* This,ULONG32 *pnOffset) { + return This->lpVtbl->GetOffset(This,pnOffset); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugFunctionBreakpoint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugModuleBreakpoint interface + */ +#ifndef __ICorDebugModuleBreakpoint_INTERFACE_DEFINED__ +#define __ICorDebugModuleBreakpoint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugModuleBreakpoint, 0xcc7bcaea, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaea-8a68-11d2-983c-0000f808342d") +ICorDebugModuleBreakpoint : public ICorDebugBreakpoint +{ + virtual HRESULT STDMETHODCALLTYPE GetModule( + ICorDebugModule **ppModule) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugModuleBreakpoint, 0xcc7bcaea, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugModuleBreakpointVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugModuleBreakpoint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugModuleBreakpoint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugModuleBreakpoint *This); + + /*** ICorDebugBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ICorDebugModuleBreakpoint *This, + BOOL bActive); + + HRESULT (STDMETHODCALLTYPE *IsActive)( + ICorDebugModuleBreakpoint *This, + BOOL *pbActive); + + /*** ICorDebugModuleBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *GetModule)( + ICorDebugModuleBreakpoint *This, + ICorDebugModule **ppModule); + + END_INTERFACE +} ICorDebugModuleBreakpointVtbl; + +interface ICorDebugModuleBreakpoint { + CONST_VTBL ICorDebugModuleBreakpointVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugModuleBreakpoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugModuleBreakpoint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugModuleBreakpoint_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugBreakpoint methods ***/ +#define ICorDebugModuleBreakpoint_Activate(This,bActive) (This)->lpVtbl->Activate(This,bActive) +#define ICorDebugModuleBreakpoint_IsActive(This,pbActive) (This)->lpVtbl->IsActive(This,pbActive) +/*** ICorDebugModuleBreakpoint methods ***/ +#define ICorDebugModuleBreakpoint_GetModule(This,ppModule) (This)->lpVtbl->GetModule(This,ppModule) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugModuleBreakpoint_QueryInterface(ICorDebugModuleBreakpoint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugModuleBreakpoint_AddRef(ICorDebugModuleBreakpoint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugModuleBreakpoint_Release(ICorDebugModuleBreakpoint* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugModuleBreakpoint_Activate(ICorDebugModuleBreakpoint* This,BOOL bActive) { + return This->lpVtbl->Activate(This,bActive); +} +static FORCEINLINE HRESULT ICorDebugModuleBreakpoint_IsActive(ICorDebugModuleBreakpoint* This,BOOL *pbActive) { + return This->lpVtbl->IsActive(This,pbActive); +} +/*** ICorDebugModuleBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugModuleBreakpoint_GetModule(ICorDebugModuleBreakpoint* This,ICorDebugModule **ppModule) { + return This->lpVtbl->GetModule(This,ppModule); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugModuleBreakpoint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugValueBreakpoint interface + */ +#ifndef __ICorDebugValueBreakpoint_INTERFACE_DEFINED__ +#define __ICorDebugValueBreakpoint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugValueBreakpoint, 0xcc7bcaeb, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaeb-8a68-11d2-983c-0000f808342d") +ICorDebugValueBreakpoint : public ICorDebugBreakpoint +{ + virtual HRESULT STDMETHODCALLTYPE GetValue( + ICorDebugValue **ppValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugValueBreakpoint, 0xcc7bcaeb, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugValueBreakpointVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugValueBreakpoint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugValueBreakpoint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugValueBreakpoint *This); + + /*** ICorDebugBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ICorDebugValueBreakpoint *This, + BOOL bActive); + + HRESULT (STDMETHODCALLTYPE *IsActive)( + ICorDebugValueBreakpoint *This, + BOOL *pbActive); + + /*** ICorDebugValueBreakpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *GetValue)( + ICorDebugValueBreakpoint *This, + ICorDebugValue **ppValue); + + END_INTERFACE +} ICorDebugValueBreakpointVtbl; + +interface ICorDebugValueBreakpoint { + CONST_VTBL ICorDebugValueBreakpointVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugValueBreakpoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugValueBreakpoint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugValueBreakpoint_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugBreakpoint methods ***/ +#define ICorDebugValueBreakpoint_Activate(This,bActive) (This)->lpVtbl->Activate(This,bActive) +#define ICorDebugValueBreakpoint_IsActive(This,pbActive) (This)->lpVtbl->IsActive(This,pbActive) +/*** ICorDebugValueBreakpoint methods ***/ +#define ICorDebugValueBreakpoint_GetValue(This,ppValue) (This)->lpVtbl->GetValue(This,ppValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugValueBreakpoint_QueryInterface(ICorDebugValueBreakpoint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugValueBreakpoint_AddRef(ICorDebugValueBreakpoint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugValueBreakpoint_Release(ICorDebugValueBreakpoint* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugValueBreakpoint_Activate(ICorDebugValueBreakpoint* This,BOOL bActive) { + return This->lpVtbl->Activate(This,bActive); +} +static FORCEINLINE HRESULT ICorDebugValueBreakpoint_IsActive(ICorDebugValueBreakpoint* This,BOOL *pbActive) { + return This->lpVtbl->IsActive(This,pbActive); +} +/*** ICorDebugValueBreakpoint methods ***/ +static FORCEINLINE HRESULT ICorDebugValueBreakpoint_GetValue(ICorDebugValueBreakpoint* This,ICorDebugValue **ppValue) { + return This->lpVtbl->GetValue(This,ppValue); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugValueBreakpoint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugStepper interface + */ +#ifndef __ICorDebugStepper_INTERFACE_DEFINED__ +#define __ICorDebugStepper_INTERFACE_DEFINED__ + +typedef enum CorDebugIntercept { + INTERCEPT_NONE = 0x0, + INTERCEPT_CLASS_INIT = 0x1, + INTERCEPT_EXCEPTION_FILTER = 0x2, + INTERCEPT_SECURITY = 0x4, + INTERCEPT_CONTEXT_POLICY = 0x8, + INTERCEPT_INTERCEPTION = 0x10, + INTERCEPT_ALL = 0xffff +} CorDebugIntercept; +typedef enum CorDebugUnmappedStop { + STOP_NONE = 0x0, + STOP_PROLOG = 0x1, + STOP_EPILOG = 0x2, + STOP_NO_MAPPING_INFO = 0x4, + STOP_OTHER_UNMAPPED = 0x8, + STOP_UNMANAGED = 0x10, + STOP_ALL = 0xffff +} CorDebugUnmappedStop; +typedef struct COR_DEBUG_STEP_RANGE { + ULONG32 startOffset; + ULONG32 endOffset; +} COR_DEBUG_STEP_RANGE; +DEFINE_GUID(IID_ICorDebugStepper, 0xcc7bcaec, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaec-8a68-11d2-983c-0000f808342d") +ICorDebugStepper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsActive( + BOOL *pbActive) = 0; + + virtual HRESULT STDMETHODCALLTYPE Deactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInterceptMask( + CorDebugIntercept mask) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUnmappedStopMask( + CorDebugUnmappedStop mask) = 0; + + virtual HRESULT STDMETHODCALLTYPE Step( + BOOL bStepIn) = 0; + + virtual HRESULT STDMETHODCALLTYPE StepRange( + BOOL bStepIn, + COR_DEBUG_STEP_RANGE ranges[], + ULONG32 cRangeCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE StepOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRangeIL( + BOOL bIL) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugStepper, 0xcc7bcaec, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugStepperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugStepper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugStepper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugStepper *This); + + /*** ICorDebugStepper methods ***/ + HRESULT (STDMETHODCALLTYPE *IsActive)( + ICorDebugStepper *This, + BOOL *pbActive); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + ICorDebugStepper *This); + + HRESULT (STDMETHODCALLTYPE *SetInterceptMask)( + ICorDebugStepper *This, + CorDebugIntercept mask); + + HRESULT (STDMETHODCALLTYPE *SetUnmappedStopMask)( + ICorDebugStepper *This, + CorDebugUnmappedStop mask); + + HRESULT (STDMETHODCALLTYPE *Step)( + ICorDebugStepper *This, + BOOL bStepIn); + + HRESULT (STDMETHODCALLTYPE *StepRange)( + ICorDebugStepper *This, + BOOL bStepIn, + COR_DEBUG_STEP_RANGE ranges[], + ULONG32 cRangeCount); + + HRESULT (STDMETHODCALLTYPE *StepOut)( + ICorDebugStepper *This); + + HRESULT (STDMETHODCALLTYPE *SetRangeIL)( + ICorDebugStepper *This, + BOOL bIL); + + END_INTERFACE +} ICorDebugStepperVtbl; + +interface ICorDebugStepper { + CONST_VTBL ICorDebugStepperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugStepper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugStepper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugStepper_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugStepper methods ***/ +#define ICorDebugStepper_IsActive(This,pbActive) (This)->lpVtbl->IsActive(This,pbActive) +#define ICorDebugStepper_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#define ICorDebugStepper_SetInterceptMask(This,mask) (This)->lpVtbl->SetInterceptMask(This,mask) +#define ICorDebugStepper_SetUnmappedStopMask(This,mask) (This)->lpVtbl->SetUnmappedStopMask(This,mask) +#define ICorDebugStepper_Step(This,bStepIn) (This)->lpVtbl->Step(This,bStepIn) +#define ICorDebugStepper_StepRange(This,bStepIn,ranges,cRangeCount) (This)->lpVtbl->StepRange(This,bStepIn,ranges,cRangeCount) +#define ICorDebugStepper_StepOut(This) (This)->lpVtbl->StepOut(This) +#define ICorDebugStepper_SetRangeIL(This,bIL) (This)->lpVtbl->SetRangeIL(This,bIL) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugStepper_QueryInterface(ICorDebugStepper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugStepper_AddRef(ICorDebugStepper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugStepper_Release(ICorDebugStepper* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugStepper methods ***/ +static FORCEINLINE HRESULT ICorDebugStepper_IsActive(ICorDebugStepper* This,BOOL *pbActive) { + return This->lpVtbl->IsActive(This,pbActive); +} +static FORCEINLINE HRESULT ICorDebugStepper_Deactivate(ICorDebugStepper* This) { + return This->lpVtbl->Deactivate(This); +} +static FORCEINLINE HRESULT ICorDebugStepper_SetInterceptMask(ICorDebugStepper* This,CorDebugIntercept mask) { + return This->lpVtbl->SetInterceptMask(This,mask); +} +static FORCEINLINE HRESULT ICorDebugStepper_SetUnmappedStopMask(ICorDebugStepper* This,CorDebugUnmappedStop mask) { + return This->lpVtbl->SetUnmappedStopMask(This,mask); +} +static FORCEINLINE HRESULT ICorDebugStepper_Step(ICorDebugStepper* This,BOOL bStepIn) { + return This->lpVtbl->Step(This,bStepIn); +} +static FORCEINLINE HRESULT ICorDebugStepper_StepRange(ICorDebugStepper* This,BOOL bStepIn,COR_DEBUG_STEP_RANGE ranges[],ULONG32 cRangeCount) { + return This->lpVtbl->StepRange(This,bStepIn,ranges,cRangeCount); +} +static FORCEINLINE HRESULT ICorDebugStepper_StepOut(ICorDebugStepper* This) { + return This->lpVtbl->StepOut(This); +} +static FORCEINLINE HRESULT ICorDebugStepper_SetRangeIL(ICorDebugStepper* This,BOOL bIL) { + return This->lpVtbl->SetRangeIL(This,bIL); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugStepper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugEnum interface + */ +#ifndef __ICorDebugEnum_INTERFACE_DEFINED__ +#define __ICorDebugEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugEnum, 0xcc7bcb01, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb01-8a68-11d2-983c-0000f808342d") +ICorDebugEnum : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + ICorDebugEnum **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *pcelt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugEnum, 0xcc7bcb01, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugEnum *This, + ULONG *pcelt); + + END_INTERFACE +} ICorDebugEnumVtbl; + +interface ICorDebugEnum { + CONST_VTBL ICorDebugEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugEnum_QueryInterface(ICorDebugEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugEnum_AddRef(ICorDebugEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugEnum_Release(ICorDebugEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugEnum_Skip(ICorDebugEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugEnum_Reset(ICorDebugEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugEnum_Clone(ICorDebugEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugEnum_GetCount(ICorDebugEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugAppDomainEnum interface + */ +#ifndef __ICorDebugAppDomainEnum_INTERFACE_DEFINED__ +#define __ICorDebugAppDomainEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugAppDomainEnum, 0x63ca1b24, 0x4359, 0x4883, 0xbd,0x57, 0x13,0xf8,0x15,0xf5,0x87,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("63ca1b24-4359-4883-bd57-13f815f58744") +ICorDebugAppDomainEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugAppDomain * values[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugAppDomainEnum, 0x63ca1b24, 0x4359, 0x4883, 0xbd,0x57, 0x13,0xf8,0x15,0xf5,0x87,0x44) +#endif +#else +typedef struct ICorDebugAppDomainEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugAppDomainEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugAppDomainEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugAppDomainEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugAppDomainEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugAppDomainEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugAppDomainEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugAppDomainEnum *This, + ULONG *pcelt); + + /*** ICorDebugAppDomainEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugAppDomainEnum *This, + ULONG celt, + ICorDebugAppDomain * values[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugAppDomainEnumVtbl; + +interface ICorDebugAppDomainEnum { + CONST_VTBL ICorDebugAppDomainEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugAppDomainEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugAppDomainEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugAppDomainEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugAppDomainEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugAppDomainEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugAppDomainEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugAppDomainEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugAppDomainEnum methods ***/ +#define ICorDebugAppDomainEnum_Next(This,celt,values,pceltFetched) (This)->lpVtbl->Next(This,celt,values,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugAppDomainEnum_QueryInterface(ICorDebugAppDomainEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugAppDomainEnum_AddRef(ICorDebugAppDomainEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugAppDomainEnum_Release(ICorDebugAppDomainEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugAppDomainEnum_Skip(ICorDebugAppDomainEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugAppDomainEnum_Reset(ICorDebugAppDomainEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugAppDomainEnum_Clone(ICorDebugAppDomainEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugAppDomainEnum_GetCount(ICorDebugAppDomainEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugAppDomainEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugAppDomainEnum_Next(ICorDebugAppDomainEnum* This,ULONG celt,ICorDebugAppDomain * values[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,values,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugAppDomainEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugAssemblyEnum interface + */ +#ifndef __ICorDebugAssemblyEnum_INTERFACE_DEFINED__ +#define __ICorDebugAssemblyEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugAssemblyEnum, 0x4a2a1ec9, 0x85ec, 0x4bfb, 0x9f,0x15, 0xa8,0x9f,0xdf,0xe0,0xfe,0x83); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4a2a1ec9-85ec-4bfb-9f15-a89fdfe0fe83") +ICorDebugAssemblyEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugAssembly * values[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugAssemblyEnum, 0x4a2a1ec9, 0x85ec, 0x4bfb, 0x9f,0x15, 0xa8,0x9f,0xdf,0xe0,0xfe,0x83) +#endif +#else +typedef struct ICorDebugAssemblyEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugAssemblyEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugAssemblyEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugAssemblyEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugAssemblyEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugAssemblyEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugAssemblyEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugAssemblyEnum *This, + ULONG *pcelt); + + /*** ICorDebugAssemblyEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugAssemblyEnum *This, + ULONG celt, + ICorDebugAssembly * values[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugAssemblyEnumVtbl; + +interface ICorDebugAssemblyEnum { + CONST_VTBL ICorDebugAssemblyEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugAssemblyEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugAssemblyEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugAssemblyEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugAssemblyEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugAssemblyEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugAssemblyEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugAssemblyEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugAssemblyEnum methods ***/ +#define ICorDebugAssemblyEnum_Next(This,celt,values,pceltFetched) (This)->lpVtbl->Next(This,celt,values,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugAssemblyEnum_QueryInterface(ICorDebugAssemblyEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugAssemblyEnum_AddRef(ICorDebugAssemblyEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugAssemblyEnum_Release(ICorDebugAssemblyEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugAssemblyEnum_Skip(ICorDebugAssemblyEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugAssemblyEnum_Reset(ICorDebugAssemblyEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugAssemblyEnum_Clone(ICorDebugAssemblyEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugAssemblyEnum_GetCount(ICorDebugAssemblyEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugAssemblyEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugAssemblyEnum_Next(ICorDebugAssemblyEnum* This,ULONG celt,ICorDebugAssembly * values[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,values,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugAssemblyEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugBreakpointEnum interface + */ +#ifndef __ICorDebugBreakpointEnum_INTERFACE_DEFINED__ +#define __ICorDebugBreakpointEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugBreakpointEnum, 0xcc7bcb03, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb03-8a68-11d2-983c-0000f808342d") +ICorDebugBreakpointEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugBreakpoint * breakpoints[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugBreakpointEnum, 0xcc7bcb03, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugBreakpointEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugBreakpointEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugBreakpointEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugBreakpointEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugBreakpointEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugBreakpointEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugBreakpointEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugBreakpointEnum *This, + ULONG *pcelt); + + /*** ICorDebugBreakpointEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugBreakpointEnum *This, + ULONG celt, + ICorDebugBreakpoint * breakpoints[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugBreakpointEnumVtbl; + +interface ICorDebugBreakpointEnum { + CONST_VTBL ICorDebugBreakpointEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugBreakpointEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugBreakpointEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugBreakpointEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugBreakpointEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugBreakpointEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugBreakpointEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugBreakpointEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugBreakpointEnum methods ***/ +#define ICorDebugBreakpointEnum_Next(This,celt,breakpoints,pceltFetched) (This)->lpVtbl->Next(This,celt,breakpoints,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugBreakpointEnum_QueryInterface(ICorDebugBreakpointEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugBreakpointEnum_AddRef(ICorDebugBreakpointEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugBreakpointEnum_Release(ICorDebugBreakpointEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugBreakpointEnum_Skip(ICorDebugBreakpointEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugBreakpointEnum_Reset(ICorDebugBreakpointEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugBreakpointEnum_Clone(ICorDebugBreakpointEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugBreakpointEnum_GetCount(ICorDebugBreakpointEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugBreakpointEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugBreakpointEnum_Next(ICorDebugBreakpointEnum* This,ULONG celt,ICorDebugBreakpoint * breakpoints[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,breakpoints,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugBreakpointEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugChainEnum interface + */ +#ifndef __ICorDebugChainEnum_INTERFACE_DEFINED__ +#define __ICorDebugChainEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugChainEnum, 0xcc7bcb08, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb08-8a68-11d2-983c-0000f808342d") +ICorDebugChainEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugChain * chains[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugChainEnum, 0xcc7bcb08, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugChainEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugChainEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugChainEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugChainEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugChainEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugChainEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugChainEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugChainEnum *This, + ULONG *pcelt); + + /*** ICorDebugChainEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugChainEnum *This, + ULONG celt, + ICorDebugChain * chains[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugChainEnumVtbl; + +interface ICorDebugChainEnum { + CONST_VTBL ICorDebugChainEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugChainEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugChainEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugChainEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugChainEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugChainEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugChainEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugChainEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugChainEnum methods ***/ +#define ICorDebugChainEnum_Next(This,celt,chains,pceltFetched) (This)->lpVtbl->Next(This,celt,chains,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugChainEnum_QueryInterface(ICorDebugChainEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugChainEnum_AddRef(ICorDebugChainEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugChainEnum_Release(ICorDebugChainEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugChainEnum_Skip(ICorDebugChainEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugChainEnum_Reset(ICorDebugChainEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugChainEnum_Clone(ICorDebugChainEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugChainEnum_GetCount(ICorDebugChainEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugChainEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugChainEnum_Next(ICorDebugChainEnum* This,ULONG celt,ICorDebugChain * chains[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,chains,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugChainEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugErrorInfoEnum interface + */ +#ifndef __ICorDebugErrorInfoEnum_INTERFACE_DEFINED__ +#define __ICorDebugErrorInfoEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugErrorInfoEnum, 0xf0e18809, 0x72b5, 0x11d2, 0x97,0x6f, 0x00,0xa0,0xc9,0xb4,0xd5,0x0c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f0e18809-72b5-11d2-976f-00a0c9b4d50c") +ICorDebugErrorInfoEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugEditAndContinueErrorInfo * errors[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugErrorInfoEnum, 0xf0e18809, 0x72b5, 0x11d2, 0x97,0x6f, 0x00,0xa0,0xc9,0xb4,0xd5,0x0c) +#endif +#else +typedef struct ICorDebugErrorInfoEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugErrorInfoEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugErrorInfoEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugErrorInfoEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugErrorInfoEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugErrorInfoEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugErrorInfoEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugErrorInfoEnum *This, + ULONG *pcelt); + + /*** ICorDebugErrorInfoEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugErrorInfoEnum *This, + ULONG celt, + ICorDebugEditAndContinueErrorInfo * errors[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugErrorInfoEnumVtbl; + +interface ICorDebugErrorInfoEnum { + CONST_VTBL ICorDebugErrorInfoEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugErrorInfoEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugErrorInfoEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugErrorInfoEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugErrorInfoEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugErrorInfoEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugErrorInfoEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugErrorInfoEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugErrorInfoEnum methods ***/ +#define ICorDebugErrorInfoEnum_Next(This,celt,errors,pceltFetched) (This)->lpVtbl->Next(This,celt,errors,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugErrorInfoEnum_QueryInterface(ICorDebugErrorInfoEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugErrorInfoEnum_AddRef(ICorDebugErrorInfoEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugErrorInfoEnum_Release(ICorDebugErrorInfoEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugErrorInfoEnum_Skip(ICorDebugErrorInfoEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugErrorInfoEnum_Reset(ICorDebugErrorInfoEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugErrorInfoEnum_Clone(ICorDebugErrorInfoEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugErrorInfoEnum_GetCount(ICorDebugErrorInfoEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugErrorInfoEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugErrorInfoEnum_Next(ICorDebugErrorInfoEnum* This,ULONG celt,ICorDebugEditAndContinueErrorInfo * errors[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,errors,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugErrorInfoEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugFrameEnum interface + */ +#ifndef __ICorDebugFrameEnum_INTERFACE_DEFINED__ +#define __ICorDebugFrameEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugFrameEnum, 0xcc7bcb07, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb07-8a68-11d2-983c-0000f808342d") +ICorDebugFrameEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugFrame * frames[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugFrameEnum, 0xcc7bcb07, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugFrameEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugFrameEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugFrameEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugFrameEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugFrameEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugFrameEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugFrameEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugFrameEnum *This, + ULONG *pcelt); + + /*** ICorDebugFrameEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugFrameEnum *This, + ULONG celt, + ICorDebugFrame * frames[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugFrameEnumVtbl; + +interface ICorDebugFrameEnum { + CONST_VTBL ICorDebugFrameEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugFrameEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugFrameEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugFrameEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugFrameEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugFrameEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugFrameEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugFrameEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugFrameEnum methods ***/ +#define ICorDebugFrameEnum_Next(This,celt,frames,pceltFetched) (This)->lpVtbl->Next(This,celt,frames,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugFrameEnum_QueryInterface(ICorDebugFrameEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugFrameEnum_AddRef(ICorDebugFrameEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugFrameEnum_Release(ICorDebugFrameEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugFrameEnum_Skip(ICorDebugFrameEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugFrameEnum_Reset(ICorDebugFrameEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugFrameEnum_Clone(ICorDebugFrameEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugFrameEnum_GetCount(ICorDebugFrameEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugFrameEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugFrameEnum_Next(ICorDebugFrameEnum* This,ULONG celt,ICorDebugFrame * frames[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,frames,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugFrameEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugModuleEnum interface + */ +#ifndef __ICorDebugModuleEnum_INTERFACE_DEFINED__ +#define __ICorDebugModuleEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugModuleEnum, 0xcc7bcb09, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb09-8a68-11d2-983c-0000f808342d") +ICorDebugModuleEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugModule * modules[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugModuleEnum, 0xcc7bcb09, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugModuleEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugModuleEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugModuleEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugModuleEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugModuleEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugModuleEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugModuleEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugModuleEnum *This, + ULONG *pcelt); + + /*** ICorDebugModuleEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugModuleEnum *This, + ULONG celt, + ICorDebugModule * modules[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugModuleEnumVtbl; + +interface ICorDebugModuleEnum { + CONST_VTBL ICorDebugModuleEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugModuleEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugModuleEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugModuleEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugModuleEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugModuleEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugModuleEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugModuleEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugModuleEnum methods ***/ +#define ICorDebugModuleEnum_Next(This,celt,modules,pceltFetched) (This)->lpVtbl->Next(This,celt,modules,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugModuleEnum_QueryInterface(ICorDebugModuleEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugModuleEnum_AddRef(ICorDebugModuleEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugModuleEnum_Release(ICorDebugModuleEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugModuleEnum_Skip(ICorDebugModuleEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugModuleEnum_Reset(ICorDebugModuleEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugModuleEnum_Clone(ICorDebugModuleEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugModuleEnum_GetCount(ICorDebugModuleEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugModuleEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugModuleEnum_Next(ICorDebugModuleEnum* This,ULONG celt,ICorDebugModule * modules[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,modules,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugModuleEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugObjectEnum interface + */ +#ifndef __ICorDebugObjectEnum_INTERFACE_DEFINED__ +#define __ICorDebugObjectEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugObjectEnum, 0xcc7bcb02, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb02-8a68-11d2-983c-0000f808342d") +ICorDebugObjectEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + CORDB_ADDRESS objects[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugObjectEnum, 0xcc7bcb02, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugObjectEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugObjectEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugObjectEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugObjectEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugObjectEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugObjectEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugObjectEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugObjectEnum *This, + ULONG *pcelt); + + /*** ICorDebugObjectEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugObjectEnum *This, + ULONG celt, + CORDB_ADDRESS objects[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugObjectEnumVtbl; + +interface ICorDebugObjectEnum { + CONST_VTBL ICorDebugObjectEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugObjectEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugObjectEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugObjectEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugObjectEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugObjectEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugObjectEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugObjectEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugObjectEnum methods ***/ +#define ICorDebugObjectEnum_Next(This,celt,objects,pceltFetched) (This)->lpVtbl->Next(This,celt,objects,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugObjectEnum_QueryInterface(ICorDebugObjectEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugObjectEnum_AddRef(ICorDebugObjectEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugObjectEnum_Release(ICorDebugObjectEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugObjectEnum_Skip(ICorDebugObjectEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugObjectEnum_Reset(ICorDebugObjectEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugObjectEnum_Clone(ICorDebugObjectEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugObjectEnum_GetCount(ICorDebugObjectEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugObjectEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugObjectEnum_Next(ICorDebugObjectEnum* This,ULONG celt,CORDB_ADDRESS objects[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,objects,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugObjectEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugProcessEnum interface + */ +#ifndef __ICorDebugProcessEnum_INTERFACE_DEFINED__ +#define __ICorDebugProcessEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugProcessEnum, 0xcc7bcb05, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb05-8a68-11d2-983c-0000f808342d") +ICorDebugProcessEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugProcess * processes[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugProcessEnum, 0xcc7bcb05, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugProcessEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugProcessEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugProcessEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugProcessEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugProcessEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugProcessEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugProcessEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugProcessEnum *This, + ULONG *pcelt); + + /*** ICorDebugProcessEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugProcessEnum *This, + ULONG celt, + ICorDebugProcess * processes[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugProcessEnumVtbl; + +interface ICorDebugProcessEnum { + CONST_VTBL ICorDebugProcessEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugProcessEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugProcessEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugProcessEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugProcessEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugProcessEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugProcessEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugProcessEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugProcessEnum methods ***/ +#define ICorDebugProcessEnum_Next(This,celt,processes,pceltFetched) (This)->lpVtbl->Next(This,celt,processes,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugProcessEnum_QueryInterface(ICorDebugProcessEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugProcessEnum_AddRef(ICorDebugProcessEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugProcessEnum_Release(ICorDebugProcessEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugProcessEnum_Skip(ICorDebugProcessEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugProcessEnum_Reset(ICorDebugProcessEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugProcessEnum_Clone(ICorDebugProcessEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugProcessEnum_GetCount(ICorDebugProcessEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugProcessEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugProcessEnum_Next(ICorDebugProcessEnum* This,ULONG celt,ICorDebugProcess * processes[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,processes,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugProcessEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugStepperEnum interface + */ +#ifndef __ICorDebugStepperEnum_INTERFACE_DEFINED__ +#define __ICorDebugStepperEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugStepperEnum, 0xcc7bcb04, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb04-8a68-11d2-983c-0000f808342d") +ICorDebugStepperEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugStepper * steppers[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugStepperEnum, 0xcc7bcb04, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugStepperEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugStepperEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugStepperEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugStepperEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugStepperEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugStepperEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugStepperEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugStepperEnum *This, + ULONG *pcelt); + + /*** ICorDebugStepperEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugStepperEnum *This, + ULONG celt, + ICorDebugStepper * steppers[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugStepperEnumVtbl; + +interface ICorDebugStepperEnum { + CONST_VTBL ICorDebugStepperEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugStepperEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugStepperEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugStepperEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugStepperEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugStepperEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugStepperEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugStepperEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugStepperEnum methods ***/ +#define ICorDebugStepperEnum_Next(This,celt,steppers,pceltFetched) (This)->lpVtbl->Next(This,celt,steppers,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugStepperEnum_QueryInterface(ICorDebugStepperEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugStepperEnum_AddRef(ICorDebugStepperEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugStepperEnum_Release(ICorDebugStepperEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugStepperEnum_Skip(ICorDebugStepperEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugStepperEnum_Reset(ICorDebugStepperEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugStepperEnum_Clone(ICorDebugStepperEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugStepperEnum_GetCount(ICorDebugStepperEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugStepperEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugStepperEnum_Next(ICorDebugStepperEnum* This,ULONG celt,ICorDebugStepper * steppers[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,steppers,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugStepperEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugThreadEnum interface + */ +#ifndef __ICorDebugThreadEnum_INTERFACE_DEFINED__ +#define __ICorDebugThreadEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugThreadEnum, 0xcc7bcb06, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb06-8a68-11d2-983c-0000f808342d") +ICorDebugThreadEnum : public ICorDebugEnum +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ICorDebugThread * threads[], + ULONG *pceltFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugThreadEnum, 0xcc7bcb06, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugThreadEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugThreadEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugThreadEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugThreadEnum *This); + + /*** ICorDebugEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Skip)( + ICorDebugThreadEnum *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ICorDebugThreadEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ICorDebugThreadEnum *This, + ICorDebugEnum **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ICorDebugThreadEnum *This, + ULONG *pcelt); + + /*** ICorDebugThreadEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ICorDebugThreadEnum *This, + ULONG celt, + ICorDebugThread * threads[], + ULONG *pceltFetched); + + END_INTERFACE +} ICorDebugThreadEnumVtbl; + +interface ICorDebugThreadEnum { + CONST_VTBL ICorDebugThreadEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugThreadEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugThreadEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugThreadEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEnum methods ***/ +#define ICorDebugThreadEnum_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ICorDebugThreadEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define ICorDebugThreadEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ICorDebugThreadEnum_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) +/*** ICorDebugThreadEnum methods ***/ +#define ICorDebugThreadEnum_Next(This,celt,threads,pceltFetched) (This)->lpVtbl->Next(This,celt,threads,pceltFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugThreadEnum_QueryInterface(ICorDebugThreadEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugThreadEnum_AddRef(ICorDebugThreadEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugThreadEnum_Release(ICorDebugThreadEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugThreadEnum_Skip(ICorDebugThreadEnum* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ICorDebugThreadEnum_Reset(ICorDebugThreadEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ICorDebugThreadEnum_Clone(ICorDebugThreadEnum* This,ICorDebugEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ICorDebugThreadEnum_GetCount(ICorDebugThreadEnum* This,ULONG *pcelt) { + return This->lpVtbl->GetCount(This,pcelt); +} +/*** ICorDebugThreadEnum methods ***/ +static FORCEINLINE HRESULT ICorDebugThreadEnum_Next(ICorDebugThreadEnum* This,ULONG celt,ICorDebugThread * threads[],ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,threads,pceltFetched); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugThreadEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugChain interface + */ +#ifndef __ICorDebugChain_INTERFACE_DEFINED__ +#define __ICorDebugChain_INTERFACE_DEFINED__ + +typedef enum CorDebugChainReason { + CHAIN_NONE = 0x0, + CHAIN_CLASS_INIT = 0x1, + CHAIN_EXCEPTION_FILTER = 0x2, + CHAIN_SECURITY = 0x4, + CHAIN_CONTEXT_POLICY = 0x8, + CHAIN_INTERCEPTION = 0x10, + CHAIN_PROCESS_START = 0x20, + CHAIN_THREAD_START = 0x40, + CHAIN_ENTER_MANAGED = 0x80, + CHAIN_ENTER_UNMANAGED = 0x100, + CHAIN_DEBUGGER_EVAL = 0x200, + CHAIN_CONTEXT_SWITCH = 0x400, + CHAIN_FUNC_EVAL = 0x800 +} CorDebugChainReason; +DEFINE_GUID(IID_ICorDebugChain, 0xcc7bcaee, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaee-8a68-11d2-983c-0000f808342d") +ICorDebugChain : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetThread( + ICorDebugThread **ppThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStackRange( + CORDB_ADDRESS *pStart, + CORDB_ADDRESS *pEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContext( + ICorDebugContext **ppContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCaller( + ICorDebugChain **ppChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCallee( + ICorDebugChain **ppChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrevious( + ICorDebugChain **ppChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNext( + ICorDebugChain **ppChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsManaged( + BOOL *pManaged) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateFrames( + ICorDebugFrameEnum **ppFrames) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveFrame( + ICorDebugFrame **ppFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisterSet( + ICorDebugRegisterSet **ppRegisters) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReason( + CorDebugChainReason *pReason) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugChain, 0xcc7bcaee, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugChainVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugChain *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugChain *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugChain *This); + + /*** ICorDebugChain methods ***/ + HRESULT (STDMETHODCALLTYPE *GetThread)( + ICorDebugChain *This, + ICorDebugThread **ppThread); + + HRESULT (STDMETHODCALLTYPE *GetStackRange)( + ICorDebugChain *This, + CORDB_ADDRESS *pStart, + CORDB_ADDRESS *pEnd); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ICorDebugChain *This, + ICorDebugContext **ppContext); + + HRESULT (STDMETHODCALLTYPE *GetCaller)( + ICorDebugChain *This, + ICorDebugChain **ppChain); + + HRESULT (STDMETHODCALLTYPE *GetCallee)( + ICorDebugChain *This, + ICorDebugChain **ppChain); + + HRESULT (STDMETHODCALLTYPE *GetPrevious)( + ICorDebugChain *This, + ICorDebugChain **ppChain); + + HRESULT (STDMETHODCALLTYPE *GetNext)( + ICorDebugChain *This, + ICorDebugChain **ppChain); + + HRESULT (STDMETHODCALLTYPE *IsManaged)( + ICorDebugChain *This, + BOOL *pManaged); + + HRESULT (STDMETHODCALLTYPE *EnumerateFrames)( + ICorDebugChain *This, + ICorDebugFrameEnum **ppFrames); + + HRESULT (STDMETHODCALLTYPE *GetActiveFrame)( + ICorDebugChain *This, + ICorDebugFrame **ppFrame); + + HRESULT (STDMETHODCALLTYPE *GetRegisterSet)( + ICorDebugChain *This, + ICorDebugRegisterSet **ppRegisters); + + HRESULT (STDMETHODCALLTYPE *GetReason)( + ICorDebugChain *This, + CorDebugChainReason *pReason); + + END_INTERFACE +} ICorDebugChainVtbl; + +interface ICorDebugChain { + CONST_VTBL ICorDebugChainVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugChain_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugChain_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugChain methods ***/ +#define ICorDebugChain_GetThread(This,ppThread) (This)->lpVtbl->GetThread(This,ppThread) +#define ICorDebugChain_GetStackRange(This,pStart,pEnd) (This)->lpVtbl->GetStackRange(This,pStart,pEnd) +#define ICorDebugChain_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +#define ICorDebugChain_GetCaller(This,ppChain) (This)->lpVtbl->GetCaller(This,ppChain) +#define ICorDebugChain_GetCallee(This,ppChain) (This)->lpVtbl->GetCallee(This,ppChain) +#define ICorDebugChain_GetPrevious(This,ppChain) (This)->lpVtbl->GetPrevious(This,ppChain) +#define ICorDebugChain_GetNext(This,ppChain) (This)->lpVtbl->GetNext(This,ppChain) +#define ICorDebugChain_IsManaged(This,pManaged) (This)->lpVtbl->IsManaged(This,pManaged) +#define ICorDebugChain_EnumerateFrames(This,ppFrames) (This)->lpVtbl->EnumerateFrames(This,ppFrames) +#define ICorDebugChain_GetActiveFrame(This,ppFrame) (This)->lpVtbl->GetActiveFrame(This,ppFrame) +#define ICorDebugChain_GetRegisterSet(This,ppRegisters) (This)->lpVtbl->GetRegisterSet(This,ppRegisters) +#define ICorDebugChain_GetReason(This,pReason) (This)->lpVtbl->GetReason(This,pReason) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugChain_QueryInterface(ICorDebugChain* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugChain_AddRef(ICorDebugChain* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugChain_Release(ICorDebugChain* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugChain methods ***/ +static FORCEINLINE HRESULT ICorDebugChain_GetThread(ICorDebugChain* This,ICorDebugThread **ppThread) { + return This->lpVtbl->GetThread(This,ppThread); +} +static FORCEINLINE HRESULT ICorDebugChain_GetStackRange(ICorDebugChain* This,CORDB_ADDRESS *pStart,CORDB_ADDRESS *pEnd) { + return This->lpVtbl->GetStackRange(This,pStart,pEnd); +} +static FORCEINLINE HRESULT ICorDebugChain_GetContext(ICorDebugChain* This,ICorDebugContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +static FORCEINLINE HRESULT ICorDebugChain_GetCaller(ICorDebugChain* This,ICorDebugChain **ppChain) { + return This->lpVtbl->GetCaller(This,ppChain); +} +static FORCEINLINE HRESULT ICorDebugChain_GetCallee(ICorDebugChain* This,ICorDebugChain **ppChain) { + return This->lpVtbl->GetCallee(This,ppChain); +} +static FORCEINLINE HRESULT ICorDebugChain_GetPrevious(ICorDebugChain* This,ICorDebugChain **ppChain) { + return This->lpVtbl->GetPrevious(This,ppChain); +} +static FORCEINLINE HRESULT ICorDebugChain_GetNext(ICorDebugChain* This,ICorDebugChain **ppChain) { + return This->lpVtbl->GetNext(This,ppChain); +} +static FORCEINLINE HRESULT ICorDebugChain_IsManaged(ICorDebugChain* This,BOOL *pManaged) { + return This->lpVtbl->IsManaged(This,pManaged); +} +static FORCEINLINE HRESULT ICorDebugChain_EnumerateFrames(ICorDebugChain* This,ICorDebugFrameEnum **ppFrames) { + return This->lpVtbl->EnumerateFrames(This,ppFrames); +} +static FORCEINLINE HRESULT ICorDebugChain_GetActiveFrame(ICorDebugChain* This,ICorDebugFrame **ppFrame) { + return This->lpVtbl->GetActiveFrame(This,ppFrame); +} +static FORCEINLINE HRESULT ICorDebugChain_GetRegisterSet(ICorDebugChain* This,ICorDebugRegisterSet **ppRegisters) { + return This->lpVtbl->GetRegisterSet(This,ppRegisters); +} +static FORCEINLINE HRESULT ICorDebugChain_GetReason(ICorDebugChain* This,CorDebugChainReason *pReason) { + return This->lpVtbl->GetReason(This,pReason); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugChain_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugFrame interface + */ +#ifndef __ICorDebugFrame_INTERFACE_DEFINED__ +#define __ICorDebugFrame_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugFrame, 0xcc7bcaef, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaef-8a68-11d2-983c-0000f808342d") +ICorDebugFrame : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetChain( + ICorDebugChain **ppChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCode( + ICorDebugCode **ppCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunction( + ICorDebugFunction **ppFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunctionToken( + mdMethodDef *pToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStackRange( + CORDB_ADDRESS *pStart, + CORDB_ADDRESS *pEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCaller( + ICorDebugFrame **ppFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCallee( + ICorDebugFrame **ppFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStepper( + ICorDebugStepper **ppStepper) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugFrame, 0xcc7bcaef, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugFrameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugFrame *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugFrame *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugFrame *This); + + /*** ICorDebugFrame methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChain)( + ICorDebugFrame *This, + ICorDebugChain **ppChain); + + HRESULT (STDMETHODCALLTYPE *GetCode)( + ICorDebugFrame *This, + ICorDebugCode **ppCode); + + HRESULT (STDMETHODCALLTYPE *GetFunction)( + ICorDebugFrame *This, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetFunctionToken)( + ICorDebugFrame *This, + mdMethodDef *pToken); + + HRESULT (STDMETHODCALLTYPE *GetStackRange)( + ICorDebugFrame *This, + CORDB_ADDRESS *pStart, + CORDB_ADDRESS *pEnd); + + HRESULT (STDMETHODCALLTYPE *GetCaller)( + ICorDebugFrame *This, + ICorDebugFrame **ppFrame); + + HRESULT (STDMETHODCALLTYPE *GetCallee)( + ICorDebugFrame *This, + ICorDebugFrame **ppFrame); + + HRESULT (STDMETHODCALLTYPE *CreateStepper)( + ICorDebugFrame *This, + ICorDebugStepper **ppStepper); + + END_INTERFACE +} ICorDebugFrameVtbl; + +interface ICorDebugFrame { + CONST_VTBL ICorDebugFrameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugFrame_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugFrame_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugFrame methods ***/ +#define ICorDebugFrame_GetChain(This,ppChain) (This)->lpVtbl->GetChain(This,ppChain) +#define ICorDebugFrame_GetCode(This,ppCode) (This)->lpVtbl->GetCode(This,ppCode) +#define ICorDebugFrame_GetFunction(This,ppFunction) (This)->lpVtbl->GetFunction(This,ppFunction) +#define ICorDebugFrame_GetFunctionToken(This,pToken) (This)->lpVtbl->GetFunctionToken(This,pToken) +#define ICorDebugFrame_GetStackRange(This,pStart,pEnd) (This)->lpVtbl->GetStackRange(This,pStart,pEnd) +#define ICorDebugFrame_GetCaller(This,ppFrame) (This)->lpVtbl->GetCaller(This,ppFrame) +#define ICorDebugFrame_GetCallee(This,ppFrame) (This)->lpVtbl->GetCallee(This,ppFrame) +#define ICorDebugFrame_CreateStepper(This,ppStepper) (This)->lpVtbl->CreateStepper(This,ppStepper) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugFrame_QueryInterface(ICorDebugFrame* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugFrame_AddRef(ICorDebugFrame* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugFrame_Release(ICorDebugFrame* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugFrame methods ***/ +static FORCEINLINE HRESULT ICorDebugFrame_GetChain(ICorDebugFrame* This,ICorDebugChain **ppChain) { + return This->lpVtbl->GetChain(This,ppChain); +} +static FORCEINLINE HRESULT ICorDebugFrame_GetCode(ICorDebugFrame* This,ICorDebugCode **ppCode) { + return This->lpVtbl->GetCode(This,ppCode); +} +static FORCEINLINE HRESULT ICorDebugFrame_GetFunction(ICorDebugFrame* This,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetFunction(This,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugFrame_GetFunctionToken(ICorDebugFrame* This,mdMethodDef *pToken) { + return This->lpVtbl->GetFunctionToken(This,pToken); +} +static FORCEINLINE HRESULT ICorDebugFrame_GetStackRange(ICorDebugFrame* This,CORDB_ADDRESS *pStart,CORDB_ADDRESS *pEnd) { + return This->lpVtbl->GetStackRange(This,pStart,pEnd); +} +static FORCEINLINE HRESULT ICorDebugFrame_GetCaller(ICorDebugFrame* This,ICorDebugFrame **ppFrame) { + return This->lpVtbl->GetCaller(This,ppFrame); +} +static FORCEINLINE HRESULT ICorDebugFrame_GetCallee(ICorDebugFrame* This,ICorDebugFrame **ppFrame) { + return This->lpVtbl->GetCallee(This,ppFrame); +} +static FORCEINLINE HRESULT ICorDebugFrame_CreateStepper(ICorDebugFrame* This,ICorDebugStepper **ppStepper) { + return This->lpVtbl->CreateStepper(This,ppStepper); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugFrame_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugRegisterSet interface + */ +#ifndef __ICorDebugRegisterSet_INTERFACE_DEFINED__ +#define __ICorDebugRegisterSet_INTERFACE_DEFINED__ + +typedef enum CorDebugRegister { + REGISTER_INSTRUCTION_POINTER = 0, + REGISTER_STACK_POINTER = 1, + REGISTER_FRAME_POINTER = 2, + REGISTER_X86_EIP = 0, + REGISTER_X86_ESP = 1, + REGISTER_X86_EBP = 2, + REGISTER_X86_EAX = 3, + REGISTER_X86_ECX = 4, + REGISTER_X86_EDX = 5, + REGISTER_X86_EBX = 6, + REGISTER_X86_ESI = 7, + REGISTER_X86_EDI = 8, + REGISTER_X86_FPSTACK_0 = 9, + REGISTER_X86_FPSTACK_1 = 10, + REGISTER_X86_FPSTACK_2 = 11, + REGISTER_X86_FPSTACK_3 = 12, + REGISTER_X86_FPSTACK_4 = 13, + REGISTER_X86_FPSTACK_5 = 14, + REGISTER_X86_FPSTACK_6 = 15, + REGISTER_X86_FPSTACK_7 = 16, + REGISTER_AMD64_RIP = 0, + REGISTER_AMD64_RSP = 1, + REGISTER_AMD64_RBP = 2, + REGISTER_AMD64_RAX = 3, + REGISTER_AMD64_RCX = 4, + REGISTER_AMD64_RDX = 5, + REGISTER_AMD64_RBX = 6, + REGISTER_AMD64_RSI = 7, + REGISTER_AMD64_RDI = 8, + REGISTER_AMD64_R8 = 9, + REGISTER_AMD64_R9 = 10, + REGISTER_AMD64_R10 = 11, + REGISTER_AMD64_R11 = 12, + REGISTER_AMD64_R12 = 13, + REGISTER_AMD64_R13 = 14, + REGISTER_AMD64_R14 = 15, + REGISTER_AMD64_R15 = 16, + REGISTER_AMD64_XMM0 = 17, + REGISTER_AMD64_XMM1 = 18, + REGISTER_AMD64_XMM2 = 19, + REGISTER_AMD64_XMM3 = 20, + REGISTER_AMD64_XMM4 = 21, + REGISTER_AMD64_XMM5 = 22, + REGISTER_AMD64_XMM6 = 23, + REGISTER_AMD64_XMM7 = 24, + REGISTER_AMD64_XMM8 = 25, + REGISTER_AMD64_XMM9 = 26, + REGISTER_AMD64_XMM10 = 27, + REGISTER_AMD64_XMM11 = 28, + REGISTER_AMD64_XMM12 = 29, + REGISTER_AMD64_XMM13 = 30, + REGISTER_AMD64_XMM14 = 31, + REGISTER_AMD64_XMM15 = 32, + REGISTER_IA64_BSP = REGISTER_FRAME_POINTER, + REGISTER_IA64_R0 = REGISTER_IA64_BSP + 1, + REGISTER_IA64_F0 = REGISTER_IA64_R0 + 128 +} CorDebugRegister; +DEFINE_GUID(IID_ICorDebugRegisterSet, 0xcc7bcb0b, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb0b-8a68-11d2-983c-0000f808342d") +ICorDebugRegisterSet : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRegistersAvailable( + ULONG64 *pAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisters( + ULONG64 mask, + ULONG32 regCount, + CORDB_REGISTER regBuffer[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRegisters( + ULONG64 mask, + ULONG32 regCount, + CORDB_REGISTER regBuffer[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThreadContext( + ULONG32 contextSize, + BYTE context[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThreadContext( + ULONG32 contextSize, + BYTE context[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugRegisterSet, 0xcc7bcb0b, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugRegisterSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugRegisterSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugRegisterSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugRegisterSet *This); + + /*** ICorDebugRegisterSet methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRegistersAvailable)( + ICorDebugRegisterSet *This, + ULONG64 *pAvailable); + + HRESULT (STDMETHODCALLTYPE *GetRegisters)( + ICorDebugRegisterSet *This, + ULONG64 mask, + ULONG32 regCount, + CORDB_REGISTER regBuffer[]); + + HRESULT (STDMETHODCALLTYPE *SetRegisters)( + ICorDebugRegisterSet *This, + ULONG64 mask, + ULONG32 regCount, + CORDB_REGISTER regBuffer[]); + + HRESULT (STDMETHODCALLTYPE *GetThreadContext)( + ICorDebugRegisterSet *This, + ULONG32 contextSize, + BYTE context[]); + + HRESULT (STDMETHODCALLTYPE *SetThreadContext)( + ICorDebugRegisterSet *This, + ULONG32 contextSize, + BYTE context[]); + + END_INTERFACE +} ICorDebugRegisterSetVtbl; + +interface ICorDebugRegisterSet { + CONST_VTBL ICorDebugRegisterSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugRegisterSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugRegisterSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugRegisterSet_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugRegisterSet methods ***/ +#define ICorDebugRegisterSet_GetRegistersAvailable(This,pAvailable) (This)->lpVtbl->GetRegistersAvailable(This,pAvailable) +#define ICorDebugRegisterSet_GetRegisters(This,mask,regCount,regBuffer) (This)->lpVtbl->GetRegisters(This,mask,regCount,regBuffer) +#define ICorDebugRegisterSet_SetRegisters(This,mask,regCount,regBuffer) (This)->lpVtbl->SetRegisters(This,mask,regCount,regBuffer) +#define ICorDebugRegisterSet_GetThreadContext(This,contextSize,context) (This)->lpVtbl->GetThreadContext(This,contextSize,context) +#define ICorDebugRegisterSet_SetThreadContext(This,contextSize,context) (This)->lpVtbl->SetThreadContext(This,contextSize,context) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugRegisterSet_QueryInterface(ICorDebugRegisterSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugRegisterSet_AddRef(ICorDebugRegisterSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugRegisterSet_Release(ICorDebugRegisterSet* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugRegisterSet methods ***/ +static FORCEINLINE HRESULT ICorDebugRegisterSet_GetRegistersAvailable(ICorDebugRegisterSet* This,ULONG64 *pAvailable) { + return This->lpVtbl->GetRegistersAvailable(This,pAvailable); +} +static FORCEINLINE HRESULT ICorDebugRegisterSet_GetRegisters(ICorDebugRegisterSet* This,ULONG64 mask,ULONG32 regCount,CORDB_REGISTER regBuffer[]) { + return This->lpVtbl->GetRegisters(This,mask,regCount,regBuffer); +} +static FORCEINLINE HRESULT ICorDebugRegisterSet_SetRegisters(ICorDebugRegisterSet* This,ULONG64 mask,ULONG32 regCount,CORDB_REGISTER regBuffer[]) { + return This->lpVtbl->SetRegisters(This,mask,regCount,regBuffer); +} +static FORCEINLINE HRESULT ICorDebugRegisterSet_GetThreadContext(ICorDebugRegisterSet* This,ULONG32 contextSize,BYTE context[]) { + return This->lpVtbl->GetThreadContext(This,contextSize,context); +} +static FORCEINLINE HRESULT ICorDebugRegisterSet_SetThreadContext(ICorDebugRegisterSet* This,ULONG32 contextSize,BYTE context[]) { + return This->lpVtbl->SetThreadContext(This,contextSize,context); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugRegisterSet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugEval interface + */ +#ifndef __ICorDebugEval_INTERFACE_DEFINED__ +#define __ICorDebugEval_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugEval, 0xcc7bcaf6, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaf6-8a68-11d2-983c-0000f808342d") +ICorDebugEval : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CallFunction( + ICorDebugFunction *pFunction, + ULONG32 nArgs, + ICorDebugValue * ppArgs[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewObject( + ICorDebugFunction *pConstructor, + ULONG32 nArgs, + ICorDebugValue * ppArgs[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewObjectNoConstructor( + ICorDebugClass *pClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewString( + LPCWSTR string) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewArray( + CorElementType elementType, + ICorDebugClass *pElementClass, + ULONG32 rank, + ULONG32 dims[], + ULONG32 lowBounds[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsActive( + BOOL *pbActive) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetResult( + ICorDebugValue **ppResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThread( + ICorDebugThread **ppThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateValue( + CorElementType elementType, + ICorDebugClass *pElementClass, + ICorDebugValue **ppValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugEval, 0xcc7bcaf6, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugEvalVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugEval *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugEval *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugEval *This); + + /*** ICorDebugEval methods ***/ + HRESULT (STDMETHODCALLTYPE *CallFunction)( + ICorDebugEval *This, + ICorDebugFunction *pFunction, + ULONG32 nArgs, + ICorDebugValue * ppArgs[]); + + HRESULT (STDMETHODCALLTYPE *NewObject)( + ICorDebugEval *This, + ICorDebugFunction *pConstructor, + ULONG32 nArgs, + ICorDebugValue * ppArgs[]); + + HRESULT (STDMETHODCALLTYPE *NewObjectNoConstructor)( + ICorDebugEval *This, + ICorDebugClass *pClass); + + HRESULT (STDMETHODCALLTYPE *NewString)( + ICorDebugEval *This, + LPCWSTR string); + + HRESULT (STDMETHODCALLTYPE *NewArray)( + ICorDebugEval *This, + CorElementType elementType, + ICorDebugClass *pElementClass, + ULONG32 rank, + ULONG32 dims[], + ULONG32 lowBounds[]); + + HRESULT (STDMETHODCALLTYPE *IsActive)( + ICorDebugEval *This, + BOOL *pbActive); + + HRESULT (STDMETHODCALLTYPE *Abort)( + ICorDebugEval *This); + + HRESULT (STDMETHODCALLTYPE *GetResult)( + ICorDebugEval *This, + ICorDebugValue **ppResult); + + HRESULT (STDMETHODCALLTYPE *GetThread)( + ICorDebugEval *This, + ICorDebugThread **ppThread); + + HRESULT (STDMETHODCALLTYPE *CreateValue)( + ICorDebugEval *This, + CorElementType elementType, + ICorDebugClass *pElementClass, + ICorDebugValue **ppValue); + + END_INTERFACE +} ICorDebugEvalVtbl; + +interface ICorDebugEval { + CONST_VTBL ICorDebugEvalVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugEval_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugEval_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugEval_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEval methods ***/ +#define ICorDebugEval_CallFunction(This,pFunction,nArgs,ppArgs) (This)->lpVtbl->CallFunction(This,pFunction,nArgs,ppArgs) +#define ICorDebugEval_NewObject(This,pConstructor,nArgs,ppArgs) (This)->lpVtbl->NewObject(This,pConstructor,nArgs,ppArgs) +#define ICorDebugEval_NewObjectNoConstructor(This,pClass) (This)->lpVtbl->NewObjectNoConstructor(This,pClass) +#define ICorDebugEval_NewString(This,string) (This)->lpVtbl->NewString(This,string) +#define ICorDebugEval_NewArray(This,elementType,pElementClass,rank,dims,lowBounds) (This)->lpVtbl->NewArray(This,elementType,pElementClass,rank,dims,lowBounds) +#define ICorDebugEval_IsActive(This,pbActive) (This)->lpVtbl->IsActive(This,pbActive) +#define ICorDebugEval_Abort(This) (This)->lpVtbl->Abort(This) +#define ICorDebugEval_GetResult(This,ppResult) (This)->lpVtbl->GetResult(This,ppResult) +#define ICorDebugEval_GetThread(This,ppThread) (This)->lpVtbl->GetThread(This,ppThread) +#define ICorDebugEval_CreateValue(This,elementType,pElementClass,ppValue) (This)->lpVtbl->CreateValue(This,elementType,pElementClass,ppValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugEval_QueryInterface(ICorDebugEval* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugEval_AddRef(ICorDebugEval* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugEval_Release(ICorDebugEval* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEval methods ***/ +static FORCEINLINE HRESULT ICorDebugEval_CallFunction(ICorDebugEval* This,ICorDebugFunction *pFunction,ULONG32 nArgs,ICorDebugValue * ppArgs[]) { + return This->lpVtbl->CallFunction(This,pFunction,nArgs,ppArgs); +} +static FORCEINLINE HRESULT ICorDebugEval_NewObject(ICorDebugEval* This,ICorDebugFunction *pConstructor,ULONG32 nArgs,ICorDebugValue * ppArgs[]) { + return This->lpVtbl->NewObject(This,pConstructor,nArgs,ppArgs); +} +static FORCEINLINE HRESULT ICorDebugEval_NewObjectNoConstructor(ICorDebugEval* This,ICorDebugClass *pClass) { + return This->lpVtbl->NewObjectNoConstructor(This,pClass); +} +static FORCEINLINE HRESULT ICorDebugEval_NewString(ICorDebugEval* This,LPCWSTR string) { + return This->lpVtbl->NewString(This,string); +} +static FORCEINLINE HRESULT ICorDebugEval_NewArray(ICorDebugEval* This,CorElementType elementType,ICorDebugClass *pElementClass,ULONG32 rank,ULONG32 dims[],ULONG32 lowBounds[]) { + return This->lpVtbl->NewArray(This,elementType,pElementClass,rank,dims,lowBounds); +} +static FORCEINLINE HRESULT ICorDebugEval_IsActive(ICorDebugEval* This,BOOL *pbActive) { + return This->lpVtbl->IsActive(This,pbActive); +} +static FORCEINLINE HRESULT ICorDebugEval_Abort(ICorDebugEval* This) { + return This->lpVtbl->Abort(This); +} +static FORCEINLINE HRESULT ICorDebugEval_GetResult(ICorDebugEval* This,ICorDebugValue **ppResult) { + return This->lpVtbl->GetResult(This,ppResult); +} +static FORCEINLINE HRESULT ICorDebugEval_GetThread(ICorDebugEval* This,ICorDebugThread **ppThread) { + return This->lpVtbl->GetThread(This,ppThread); +} +static FORCEINLINE HRESULT ICorDebugEval_CreateValue(ICorDebugEval* This,CorElementType elementType,ICorDebugClass *pElementClass,ICorDebugValue **ppValue) { + return This->lpVtbl->CreateValue(This,elementType,pElementClass,ppValue); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugEval_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugEditAndContinueSnapshot interface + */ +#ifndef __ICorDebugEditAndContinueSnapshot_INTERFACE_DEFINED__ +#define __ICorDebugEditAndContinueSnapshot_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugEditAndContinueSnapshot, 0x6dc3fa01, 0xd7cb, 0x11d2, 0x8a,0x95, 0x00,0x80,0xc7,0x92,0xe5,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6dc3fa01-d7cb-11d2-8a95-0080c792e5d8") +ICorDebugEditAndContinueSnapshot : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CopyMetaData( + IStream *pIStream, + GUID *pMvid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMvid( + GUID *pMvid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRoDataRVA( + ULONG32 *pRoDataRVA) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRwDataRVA( + ULONG32 *pRwDataRVA) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPEBytes( + IStream *pIStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetILMap( + mdToken mdFunction, + ULONG cMapSize, + COR_IL_MAP map[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPESymbolBytes( + IStream *pIStream) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugEditAndContinueSnapshot, 0x6dc3fa01, 0xd7cb, 0x11d2, 0x8a,0x95, 0x00,0x80,0xc7,0x92,0xe5,0xd8) +#endif +#else +typedef struct ICorDebugEditAndContinueSnapshotVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugEditAndContinueSnapshot *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugEditAndContinueSnapshot *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugEditAndContinueSnapshot *This); + + /*** ICorDebugEditAndContinueSnapshot methods ***/ + HRESULT (STDMETHODCALLTYPE *CopyMetaData)( + ICorDebugEditAndContinueSnapshot *This, + IStream *pIStream, + GUID *pMvid); + + HRESULT (STDMETHODCALLTYPE *GetMvid)( + ICorDebugEditAndContinueSnapshot *This, + GUID *pMvid); + + HRESULT (STDMETHODCALLTYPE *GetRoDataRVA)( + ICorDebugEditAndContinueSnapshot *This, + ULONG32 *pRoDataRVA); + + HRESULT (STDMETHODCALLTYPE *GetRwDataRVA)( + ICorDebugEditAndContinueSnapshot *This, + ULONG32 *pRwDataRVA); + + HRESULT (STDMETHODCALLTYPE *SetPEBytes)( + ICorDebugEditAndContinueSnapshot *This, + IStream *pIStream); + + HRESULT (STDMETHODCALLTYPE *SetILMap)( + ICorDebugEditAndContinueSnapshot *This, + mdToken mdFunction, + ULONG cMapSize, + COR_IL_MAP map[]); + + HRESULT (STDMETHODCALLTYPE *SetPESymbolBytes)( + ICorDebugEditAndContinueSnapshot *This, + IStream *pIStream); + + END_INTERFACE +} ICorDebugEditAndContinueSnapshotVtbl; + +interface ICorDebugEditAndContinueSnapshot { + CONST_VTBL ICorDebugEditAndContinueSnapshotVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugEditAndContinueSnapshot_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugEditAndContinueSnapshot_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugEditAndContinueSnapshot_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEditAndContinueSnapshot methods ***/ +#define ICorDebugEditAndContinueSnapshot_CopyMetaData(This,pIStream,pMvid) (This)->lpVtbl->CopyMetaData(This,pIStream,pMvid) +#define ICorDebugEditAndContinueSnapshot_GetMvid(This,pMvid) (This)->lpVtbl->GetMvid(This,pMvid) +#define ICorDebugEditAndContinueSnapshot_GetRoDataRVA(This,pRoDataRVA) (This)->lpVtbl->GetRoDataRVA(This,pRoDataRVA) +#define ICorDebugEditAndContinueSnapshot_GetRwDataRVA(This,pRwDataRVA) (This)->lpVtbl->GetRwDataRVA(This,pRwDataRVA) +#define ICorDebugEditAndContinueSnapshot_SetPEBytes(This,pIStream) (This)->lpVtbl->SetPEBytes(This,pIStream) +#define ICorDebugEditAndContinueSnapshot_SetILMap(This,mdFunction,cMapSize,map) (This)->lpVtbl->SetILMap(This,mdFunction,cMapSize,map) +#define ICorDebugEditAndContinueSnapshot_SetPESymbolBytes(This,pIStream) (This)->lpVtbl->SetPESymbolBytes(This,pIStream) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_QueryInterface(ICorDebugEditAndContinueSnapshot* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugEditAndContinueSnapshot_AddRef(ICorDebugEditAndContinueSnapshot* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugEditAndContinueSnapshot_Release(ICorDebugEditAndContinueSnapshot* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEditAndContinueSnapshot methods ***/ +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_CopyMetaData(ICorDebugEditAndContinueSnapshot* This,IStream *pIStream,GUID *pMvid) { + return This->lpVtbl->CopyMetaData(This,pIStream,pMvid); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_GetMvid(ICorDebugEditAndContinueSnapshot* This,GUID *pMvid) { + return This->lpVtbl->GetMvid(This,pMvid); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_GetRoDataRVA(ICorDebugEditAndContinueSnapshot* This,ULONG32 *pRoDataRVA) { + return This->lpVtbl->GetRoDataRVA(This,pRoDataRVA); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_GetRwDataRVA(ICorDebugEditAndContinueSnapshot* This,ULONG32 *pRwDataRVA) { + return This->lpVtbl->GetRwDataRVA(This,pRwDataRVA); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_SetPEBytes(ICorDebugEditAndContinueSnapshot* This,IStream *pIStream) { + return This->lpVtbl->SetPEBytes(This,pIStream); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_SetILMap(ICorDebugEditAndContinueSnapshot* This,mdToken mdFunction,ULONG cMapSize,COR_IL_MAP map[]) { + return This->lpVtbl->SetILMap(This,mdFunction,cMapSize,map); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueSnapshot_SetPESymbolBytes(ICorDebugEditAndContinueSnapshot* This,IStream *pIStream) { + return This->lpVtbl->SetPESymbolBytes(This,pIStream); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugEditAndContinueSnapshot_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugModule interface + */ +#ifndef __ICorDebugModule_INTERFACE_DEFINED__ +#define __ICorDebugModule_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugModule, 0xdba2d8c1, 0xe5c5, 0x4069, 0x8c,0x13, 0x10,0xa7,0xc6,0xab,0xf4,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dba2d8c1-e5c5-4069-8c13-10a7c6abf43d") +ICorDebugModule : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProcess( + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBaseAddress( + CORDB_ADDRESS *pAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAssembly( + ICorDebugAssembly **ppAssembly) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableJITDebugging( + BOOL bTrackJITInfo, + BOOL bAllowJitOpts) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableClassLoadCallbacks( + BOOL bClassLoadCallbacks) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunctionFromToken( + mdMethodDef methodDef, + ICorDebugFunction **ppFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunctionFromRVA( + CORDB_ADDRESS rva, + ICorDebugFunction **ppFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClassFromToken( + mdTypeDef typeDef, + ICorDebugClass **ppClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBreakpoint( + ICorDebugModuleBreakpoint **ppBreakpoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEditAndContinueSnapshot( + ICorDebugEditAndContinueSnapshot **ppEditAndContinueSnapshot) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetaDataInterface( + REFIID riid, + IUnknown **ppObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetToken( + mdModule *pToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDynamic( + BOOL *pDynamic) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlobalVariableValue( + mdFieldDef fieldDef, + ICorDebugValue **ppValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + ULONG32 *pcBytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsInMemory( + BOOL *pInMemory) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugModule, 0xdba2d8c1, 0xe5c5, 0x4069, 0x8c,0x13, 0x10,0xa7,0xc6,0xab,0xf4,0x3d) +#endif +#else +typedef struct ICorDebugModuleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugModule *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugModule *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugModule *This); + + /*** ICorDebugModule methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProcess)( + ICorDebugModule *This, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *GetBaseAddress)( + ICorDebugModule *This, + CORDB_ADDRESS *pAddress); + + HRESULT (STDMETHODCALLTYPE *GetAssembly)( + ICorDebugModule *This, + ICorDebugAssembly **ppAssembly); + + HRESULT (STDMETHODCALLTYPE *GetName)( + ICorDebugModule *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + HRESULT (STDMETHODCALLTYPE *EnableJITDebugging)( + ICorDebugModule *This, + BOOL bTrackJITInfo, + BOOL bAllowJitOpts); + + HRESULT (STDMETHODCALLTYPE *EnableClassLoadCallbacks)( + ICorDebugModule *This, + BOOL bClassLoadCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetFunctionFromToken)( + ICorDebugModule *This, + mdMethodDef methodDef, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetFunctionFromRVA)( + ICorDebugModule *This, + CORDB_ADDRESS rva, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetClassFromToken)( + ICorDebugModule *This, + mdTypeDef typeDef, + ICorDebugClass **ppClass); + + HRESULT (STDMETHODCALLTYPE *CreateBreakpoint)( + ICorDebugModule *This, + ICorDebugModuleBreakpoint **ppBreakpoint); + + HRESULT (STDMETHODCALLTYPE *GetEditAndContinueSnapshot)( + ICorDebugModule *This, + ICorDebugEditAndContinueSnapshot **ppEditAndContinueSnapshot); + + HRESULT (STDMETHODCALLTYPE *GetMetaDataInterface)( + ICorDebugModule *This, + REFIID riid, + IUnknown **ppObj); + + HRESULT (STDMETHODCALLTYPE *GetToken)( + ICorDebugModule *This, + mdModule *pToken); + + HRESULT (STDMETHODCALLTYPE *IsDynamic)( + ICorDebugModule *This, + BOOL *pDynamic); + + HRESULT (STDMETHODCALLTYPE *GetGlobalVariableValue)( + ICorDebugModule *This, + mdFieldDef fieldDef, + ICorDebugValue **ppValue); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + ICorDebugModule *This, + ULONG32 *pcBytes); + + HRESULT (STDMETHODCALLTYPE *IsInMemory)( + ICorDebugModule *This, + BOOL *pInMemory); + + END_INTERFACE +} ICorDebugModuleVtbl; + +interface ICorDebugModule { + CONST_VTBL ICorDebugModuleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugModule_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugModule_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugModule_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugModule methods ***/ +#define ICorDebugModule_GetProcess(This,ppProcess) (This)->lpVtbl->GetProcess(This,ppProcess) +#define ICorDebugModule_GetBaseAddress(This,pAddress) (This)->lpVtbl->GetBaseAddress(This,pAddress) +#define ICorDebugModule_GetAssembly(This,ppAssembly) (This)->lpVtbl->GetAssembly(This,ppAssembly) +#define ICorDebugModule_GetName(This,cchName,pcchName,szName) (This)->lpVtbl->GetName(This,cchName,pcchName,szName) +#define ICorDebugModule_EnableJITDebugging(This,bTrackJITInfo,bAllowJitOpts) (This)->lpVtbl->EnableJITDebugging(This,bTrackJITInfo,bAllowJitOpts) +#define ICorDebugModule_EnableClassLoadCallbacks(This,bClassLoadCallbacks) (This)->lpVtbl->EnableClassLoadCallbacks(This,bClassLoadCallbacks) +#define ICorDebugModule_GetFunctionFromToken(This,methodDef,ppFunction) (This)->lpVtbl->GetFunctionFromToken(This,methodDef,ppFunction) +#define ICorDebugModule_GetFunctionFromRVA(This,rva,ppFunction) (This)->lpVtbl->GetFunctionFromRVA(This,rva,ppFunction) +#define ICorDebugModule_GetClassFromToken(This,typeDef,ppClass) (This)->lpVtbl->GetClassFromToken(This,typeDef,ppClass) +#define ICorDebugModule_CreateBreakpoint(This,ppBreakpoint) (This)->lpVtbl->CreateBreakpoint(This,ppBreakpoint) +#define ICorDebugModule_GetEditAndContinueSnapshot(This,ppEditAndContinueSnapshot) (This)->lpVtbl->GetEditAndContinueSnapshot(This,ppEditAndContinueSnapshot) +#define ICorDebugModule_GetMetaDataInterface(This,riid,ppObj) (This)->lpVtbl->GetMetaDataInterface(This,riid,ppObj) +#define ICorDebugModule_GetToken(This,pToken) (This)->lpVtbl->GetToken(This,pToken) +#define ICorDebugModule_IsDynamic(This,pDynamic) (This)->lpVtbl->IsDynamic(This,pDynamic) +#define ICorDebugModule_GetGlobalVariableValue(This,fieldDef,ppValue) (This)->lpVtbl->GetGlobalVariableValue(This,fieldDef,ppValue) +#define ICorDebugModule_GetSize(This,pcBytes) (This)->lpVtbl->GetSize(This,pcBytes) +#define ICorDebugModule_IsInMemory(This,pInMemory) (This)->lpVtbl->IsInMemory(This,pInMemory) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugModule_QueryInterface(ICorDebugModule* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugModule_AddRef(ICorDebugModule* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugModule_Release(ICorDebugModule* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugModule methods ***/ +static FORCEINLINE HRESULT ICorDebugModule_GetProcess(ICorDebugModule* This,ICorDebugProcess **ppProcess) { + return This->lpVtbl->GetProcess(This,ppProcess); +} +static FORCEINLINE HRESULT ICorDebugModule_GetBaseAddress(ICorDebugModule* This,CORDB_ADDRESS *pAddress) { + return This->lpVtbl->GetBaseAddress(This,pAddress); +} +static FORCEINLINE HRESULT ICorDebugModule_GetAssembly(ICorDebugModule* This,ICorDebugAssembly **ppAssembly) { + return This->lpVtbl->GetAssembly(This,ppAssembly); +} +static FORCEINLINE HRESULT ICorDebugModule_GetName(ICorDebugModule* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetName(This,cchName,pcchName,szName); +} +static FORCEINLINE HRESULT ICorDebugModule_EnableJITDebugging(ICorDebugModule* This,BOOL bTrackJITInfo,BOOL bAllowJitOpts) { + return This->lpVtbl->EnableJITDebugging(This,bTrackJITInfo,bAllowJitOpts); +} +static FORCEINLINE HRESULT ICorDebugModule_EnableClassLoadCallbacks(ICorDebugModule* This,BOOL bClassLoadCallbacks) { + return This->lpVtbl->EnableClassLoadCallbacks(This,bClassLoadCallbacks); +} +static FORCEINLINE HRESULT ICorDebugModule_GetFunctionFromToken(ICorDebugModule* This,mdMethodDef methodDef,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetFunctionFromToken(This,methodDef,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugModule_GetFunctionFromRVA(ICorDebugModule* This,CORDB_ADDRESS rva,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetFunctionFromRVA(This,rva,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugModule_GetClassFromToken(ICorDebugModule* This,mdTypeDef typeDef,ICorDebugClass **ppClass) { + return This->lpVtbl->GetClassFromToken(This,typeDef,ppClass); +} +static FORCEINLINE HRESULT ICorDebugModule_CreateBreakpoint(ICorDebugModule* This,ICorDebugModuleBreakpoint **ppBreakpoint) { + return This->lpVtbl->CreateBreakpoint(This,ppBreakpoint); +} +static FORCEINLINE HRESULT ICorDebugModule_GetEditAndContinueSnapshot(ICorDebugModule* This,ICorDebugEditAndContinueSnapshot **ppEditAndContinueSnapshot) { + return This->lpVtbl->GetEditAndContinueSnapshot(This,ppEditAndContinueSnapshot); +} +static FORCEINLINE HRESULT ICorDebugModule_GetMetaDataInterface(ICorDebugModule* This,REFIID riid,IUnknown **ppObj) { + return This->lpVtbl->GetMetaDataInterface(This,riid,ppObj); +} +static FORCEINLINE HRESULT ICorDebugModule_GetToken(ICorDebugModule* This,mdModule *pToken) { + return This->lpVtbl->GetToken(This,pToken); +} +static FORCEINLINE HRESULT ICorDebugModule_IsDynamic(ICorDebugModule* This,BOOL *pDynamic) { + return This->lpVtbl->IsDynamic(This,pDynamic); +} +static FORCEINLINE HRESULT ICorDebugModule_GetGlobalVariableValue(ICorDebugModule* This,mdFieldDef fieldDef,ICorDebugValue **ppValue) { + return This->lpVtbl->GetGlobalVariableValue(This,fieldDef,ppValue); +} +static FORCEINLINE HRESULT ICorDebugModule_GetSize(ICorDebugModule* This,ULONG32 *pcBytes) { + return This->lpVtbl->GetSize(This,pcBytes); +} +static FORCEINLINE HRESULT ICorDebugModule_IsInMemory(ICorDebugModule* This,BOOL *pInMemory) { + return This->lpVtbl->IsInMemory(This,pInMemory); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugModule_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugClass interface + */ +#ifndef __ICorDebugClass_INTERFACE_DEFINED__ +#define __ICorDebugClass_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugClass, 0xcc7bcaf5, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaf5-8a68-11d2-983c-0000f808342d") +ICorDebugClass : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetModule( + ICorDebugModule **pModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetToken( + mdTypeDef *pTypeDef) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStaticFieldValue( + mdFieldDef fieldDef, + ICorDebugFrame *pFrame, + ICorDebugValue **ppValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugClass, 0xcc7bcaf5, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugClassVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugClass *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugClass *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugClass *This); + + /*** ICorDebugClass methods ***/ + HRESULT (STDMETHODCALLTYPE *GetModule)( + ICorDebugClass *This, + ICorDebugModule **pModule); + + HRESULT (STDMETHODCALLTYPE *GetToken)( + ICorDebugClass *This, + mdTypeDef *pTypeDef); + + HRESULT (STDMETHODCALLTYPE *GetStaticFieldValue)( + ICorDebugClass *This, + mdFieldDef fieldDef, + ICorDebugFrame *pFrame, + ICorDebugValue **ppValue); + + END_INTERFACE +} ICorDebugClassVtbl; + +interface ICorDebugClass { + CONST_VTBL ICorDebugClassVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugClass_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugClass_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugClass_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugClass methods ***/ +#define ICorDebugClass_GetModule(This,pModule) (This)->lpVtbl->GetModule(This,pModule) +#define ICorDebugClass_GetToken(This,pTypeDef) (This)->lpVtbl->GetToken(This,pTypeDef) +#define ICorDebugClass_GetStaticFieldValue(This,fieldDef,pFrame,ppValue) (This)->lpVtbl->GetStaticFieldValue(This,fieldDef,pFrame,ppValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugClass_QueryInterface(ICorDebugClass* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugClass_AddRef(ICorDebugClass* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugClass_Release(ICorDebugClass* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugClass methods ***/ +static FORCEINLINE HRESULT ICorDebugClass_GetModule(ICorDebugClass* This,ICorDebugModule **pModule) { + return This->lpVtbl->GetModule(This,pModule); +} +static FORCEINLINE HRESULT ICorDebugClass_GetToken(ICorDebugClass* This,mdTypeDef *pTypeDef) { + return This->lpVtbl->GetToken(This,pTypeDef); +} +static FORCEINLINE HRESULT ICorDebugClass_GetStaticFieldValue(ICorDebugClass* This,mdFieldDef fieldDef,ICorDebugFrame *pFrame,ICorDebugValue **ppValue) { + return This->lpVtbl->GetStaticFieldValue(This,fieldDef,pFrame,ppValue); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugClass_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugAssembly interface + */ +#ifndef __ICorDebugAssembly_INTERFACE_DEFINED__ +#define __ICorDebugAssembly_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugAssembly, 0xdf59507c, 0xd47a, 0x459e, 0xbc,0xe2, 0x64,0x27,0xea,0xc8,0xfd,0x06); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("df59507c-d47a-459e-bce2-6427eac8fd06") +ICorDebugAssembly : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProcess( + ICorDebugProcess **ppProcess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAppDomain( + ICorDebugAppDomain **ppAppDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateModules( + ICorDebugModuleEnum **ppModules) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodeBase( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugAssembly, 0xdf59507c, 0xd47a, 0x459e, 0xbc,0xe2, 0x64,0x27,0xea,0xc8,0xfd,0x06) +#endif +#else +typedef struct ICorDebugAssemblyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugAssembly *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugAssembly *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugAssembly *This); + + /*** ICorDebugAssembly methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProcess)( + ICorDebugAssembly *This, + ICorDebugProcess **ppProcess); + + HRESULT (STDMETHODCALLTYPE *GetAppDomain)( + ICorDebugAssembly *This, + ICorDebugAppDomain **ppAppDomain); + + HRESULT (STDMETHODCALLTYPE *EnumerateModules)( + ICorDebugAssembly *This, + ICorDebugModuleEnum **ppModules); + + HRESULT (STDMETHODCALLTYPE *GetCodeBase)( + ICorDebugAssembly *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + HRESULT (STDMETHODCALLTYPE *GetName)( + ICorDebugAssembly *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + END_INTERFACE +} ICorDebugAssemblyVtbl; + +interface ICorDebugAssembly { + CONST_VTBL ICorDebugAssemblyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugAssembly_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugAssembly_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugAssembly_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugAssembly methods ***/ +#define ICorDebugAssembly_GetProcess(This,ppProcess) (This)->lpVtbl->GetProcess(This,ppProcess) +#define ICorDebugAssembly_GetAppDomain(This,ppAppDomain) (This)->lpVtbl->GetAppDomain(This,ppAppDomain) +#define ICorDebugAssembly_EnumerateModules(This,ppModules) (This)->lpVtbl->EnumerateModules(This,ppModules) +#define ICorDebugAssembly_GetCodeBase(This,cchName,pcchName,szName) (This)->lpVtbl->GetCodeBase(This,cchName,pcchName,szName) +#define ICorDebugAssembly_GetName(This,cchName,pcchName,szName) (This)->lpVtbl->GetName(This,cchName,pcchName,szName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugAssembly_QueryInterface(ICorDebugAssembly* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugAssembly_AddRef(ICorDebugAssembly* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugAssembly_Release(ICorDebugAssembly* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugAssembly methods ***/ +static FORCEINLINE HRESULT ICorDebugAssembly_GetProcess(ICorDebugAssembly* This,ICorDebugProcess **ppProcess) { + return This->lpVtbl->GetProcess(This,ppProcess); +} +static FORCEINLINE HRESULT ICorDebugAssembly_GetAppDomain(ICorDebugAssembly* This,ICorDebugAppDomain **ppAppDomain) { + return This->lpVtbl->GetAppDomain(This,ppAppDomain); +} +static FORCEINLINE HRESULT ICorDebugAssembly_EnumerateModules(ICorDebugAssembly* This,ICorDebugModuleEnum **ppModules) { + return This->lpVtbl->EnumerateModules(This,ppModules); +} +static FORCEINLINE HRESULT ICorDebugAssembly_GetCodeBase(ICorDebugAssembly* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetCodeBase(This,cchName,pcchName,szName); +} +static FORCEINLINE HRESULT ICorDebugAssembly_GetName(ICorDebugAssembly* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetName(This,cchName,pcchName,szName); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugAssembly_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugFunction interface + */ +#ifndef __ICorDebugFunction_INTERFACE_DEFINED__ +#define __ICorDebugFunction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugFunction, 0xcc7bcaf3, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaf3-8a68-11d2-983c-0000f808342d") +ICorDebugFunction : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetModule( + ICorDebugModule **ppModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClass( + ICorDebugClass **ppClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetToken( + mdMethodDef *pMethodDef) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetILCode( + ICorDebugCode **ppCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNativeCode( + ICorDebugCode **ppCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBreakpoint( + ICorDebugFunctionBreakpoint **ppBreakpoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalVarSigToken( + mdSignature *pmdSig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentVersionNumber( + ULONG32 *pnCurrentVersion) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugFunction, 0xcc7bcaf3, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugFunctionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugFunction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugFunction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugFunction *This); + + /*** ICorDebugFunction methods ***/ + HRESULT (STDMETHODCALLTYPE *GetModule)( + ICorDebugFunction *This, + ICorDebugModule **ppModule); + + HRESULT (STDMETHODCALLTYPE *GetClass)( + ICorDebugFunction *This, + ICorDebugClass **ppClass); + + HRESULT (STDMETHODCALLTYPE *GetToken)( + ICorDebugFunction *This, + mdMethodDef *pMethodDef); + + HRESULT (STDMETHODCALLTYPE *GetILCode)( + ICorDebugFunction *This, + ICorDebugCode **ppCode); + + HRESULT (STDMETHODCALLTYPE *GetNativeCode)( + ICorDebugFunction *This, + ICorDebugCode **ppCode); + + HRESULT (STDMETHODCALLTYPE *CreateBreakpoint)( + ICorDebugFunction *This, + ICorDebugFunctionBreakpoint **ppBreakpoint); + + HRESULT (STDMETHODCALLTYPE *GetLocalVarSigToken)( + ICorDebugFunction *This, + mdSignature *pmdSig); + + HRESULT (STDMETHODCALLTYPE *GetCurrentVersionNumber)( + ICorDebugFunction *This, + ULONG32 *pnCurrentVersion); + + END_INTERFACE +} ICorDebugFunctionVtbl; + +interface ICorDebugFunction { + CONST_VTBL ICorDebugFunctionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugFunction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugFunction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugFunction_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugFunction methods ***/ +#define ICorDebugFunction_GetModule(This,ppModule) (This)->lpVtbl->GetModule(This,ppModule) +#define ICorDebugFunction_GetClass(This,ppClass) (This)->lpVtbl->GetClass(This,ppClass) +#define ICorDebugFunction_GetToken(This,pMethodDef) (This)->lpVtbl->GetToken(This,pMethodDef) +#define ICorDebugFunction_GetILCode(This,ppCode) (This)->lpVtbl->GetILCode(This,ppCode) +#define ICorDebugFunction_GetNativeCode(This,ppCode) (This)->lpVtbl->GetNativeCode(This,ppCode) +#define ICorDebugFunction_CreateBreakpoint(This,ppBreakpoint) (This)->lpVtbl->CreateBreakpoint(This,ppBreakpoint) +#define ICorDebugFunction_GetLocalVarSigToken(This,pmdSig) (This)->lpVtbl->GetLocalVarSigToken(This,pmdSig) +#define ICorDebugFunction_GetCurrentVersionNumber(This,pnCurrentVersion) (This)->lpVtbl->GetCurrentVersionNumber(This,pnCurrentVersion) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugFunction_QueryInterface(ICorDebugFunction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugFunction_AddRef(ICorDebugFunction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugFunction_Release(ICorDebugFunction* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugFunction methods ***/ +static FORCEINLINE HRESULT ICorDebugFunction_GetModule(ICorDebugFunction* This,ICorDebugModule **ppModule) { + return This->lpVtbl->GetModule(This,ppModule); +} +static FORCEINLINE HRESULT ICorDebugFunction_GetClass(ICorDebugFunction* This,ICorDebugClass **ppClass) { + return This->lpVtbl->GetClass(This,ppClass); +} +static FORCEINLINE HRESULT ICorDebugFunction_GetToken(ICorDebugFunction* This,mdMethodDef *pMethodDef) { + return This->lpVtbl->GetToken(This,pMethodDef); +} +static FORCEINLINE HRESULT ICorDebugFunction_GetILCode(ICorDebugFunction* This,ICorDebugCode **ppCode) { + return This->lpVtbl->GetILCode(This,ppCode); +} +static FORCEINLINE HRESULT ICorDebugFunction_GetNativeCode(ICorDebugFunction* This,ICorDebugCode **ppCode) { + return This->lpVtbl->GetNativeCode(This,ppCode); +} +static FORCEINLINE HRESULT ICorDebugFunction_CreateBreakpoint(ICorDebugFunction* This,ICorDebugFunctionBreakpoint **ppBreakpoint) { + return This->lpVtbl->CreateBreakpoint(This,ppBreakpoint); +} +static FORCEINLINE HRESULT ICorDebugFunction_GetLocalVarSigToken(ICorDebugFunction* This,mdSignature *pmdSig) { + return This->lpVtbl->GetLocalVarSigToken(This,pmdSig); +} +static FORCEINLINE HRESULT ICorDebugFunction_GetCurrentVersionNumber(ICorDebugFunction* This,ULONG32 *pnCurrentVersion) { + return This->lpVtbl->GetCurrentVersionNumber(This,pnCurrentVersion); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugFunction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugUnmanagedCallback interface + */ +#ifndef __ICorDebugUnmanagedCallback_INTERFACE_DEFINED__ +#define __ICorDebugUnmanagedCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugUnmanagedCallback, 0x5263e909, 0x8cb5, 0x11d3, 0xbd,0x2f, 0x00,0x00,0xf8,0x08,0x49,0xbd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5263e909-8cb5-11d3-bd2f-0000f80849bd") +ICorDebugUnmanagedCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DebugEvent( + LPDEBUG_EVENT pDebugEvent, + BOOL fOutOfBand) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugUnmanagedCallback, 0x5263e909, 0x8cb5, 0x11d3, 0xbd,0x2f, 0x00,0x00,0xf8,0x08,0x49,0xbd) +#endif +#else +typedef struct ICorDebugUnmanagedCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugUnmanagedCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugUnmanagedCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugUnmanagedCallback *This); + + /*** ICorDebugUnmanagedCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *DebugEvent)( + ICorDebugUnmanagedCallback *This, + LPDEBUG_EVENT pDebugEvent, + BOOL fOutOfBand); + + END_INTERFACE +} ICorDebugUnmanagedCallbackVtbl; + +interface ICorDebugUnmanagedCallback { + CONST_VTBL ICorDebugUnmanagedCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugUnmanagedCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugUnmanagedCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugUnmanagedCallback_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugUnmanagedCallback methods ***/ +#define ICorDebugUnmanagedCallback_DebugEvent(This,pDebugEvent,fOutOfBand) (This)->lpVtbl->DebugEvent(This,pDebugEvent,fOutOfBand) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugUnmanagedCallback_QueryInterface(ICorDebugUnmanagedCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugUnmanagedCallback_AddRef(ICorDebugUnmanagedCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugUnmanagedCallback_Release(ICorDebugUnmanagedCallback* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugUnmanagedCallback methods ***/ +static FORCEINLINE HRESULT ICorDebugUnmanagedCallback_DebugEvent(ICorDebugUnmanagedCallback* This,LPDEBUG_EVENT pDebugEvent,BOOL fOutOfBand) { + return This->lpVtbl->DebugEvent(This,pDebugEvent,fOutOfBand); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugUnmanagedCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugEditAndContinueErrorInfo interface + */ +#ifndef __ICorDebugEditAndContinueErrorInfo_INTERFACE_DEFINED__ +#define __ICorDebugEditAndContinueErrorInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugEditAndContinueErrorInfo, 0x8d600d41, 0xf4f6, 0x4cb3, 0xb7,0xec, 0x7b,0xd1,0x64,0x94,0x40,0x36); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8d600d41-f4f6-4cb3-b7ec-7bd164944036") +ICorDebugEditAndContinueErrorInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetModule( + ICorDebugModule **ppModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetToken( + mdToken *pToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorCode( + HRESULT *pHr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetString( + ULONG32 cchString, + ULONG32 *pcchString, + WCHAR szString[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugEditAndContinueErrorInfo, 0x8d600d41, 0xf4f6, 0x4cb3, 0xb7,0xec, 0x7b,0xd1,0x64,0x94,0x40,0x36) +#endif +#else +typedef struct ICorDebugEditAndContinueErrorInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugEditAndContinueErrorInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugEditAndContinueErrorInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugEditAndContinueErrorInfo *This); + + /*** ICorDebugEditAndContinueErrorInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetModule)( + ICorDebugEditAndContinueErrorInfo *This, + ICorDebugModule **ppModule); + + HRESULT (STDMETHODCALLTYPE *GetToken)( + ICorDebugEditAndContinueErrorInfo *This, + mdToken *pToken); + + HRESULT (STDMETHODCALLTYPE *GetErrorCode)( + ICorDebugEditAndContinueErrorInfo *This, + HRESULT *pHr); + + HRESULT (STDMETHODCALLTYPE *GetString)( + ICorDebugEditAndContinueErrorInfo *This, + ULONG32 cchString, + ULONG32 *pcchString, + WCHAR szString[]); + + END_INTERFACE +} ICorDebugEditAndContinueErrorInfoVtbl; + +interface ICorDebugEditAndContinueErrorInfo { + CONST_VTBL ICorDebugEditAndContinueErrorInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugEditAndContinueErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugEditAndContinueErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugEditAndContinueErrorInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugEditAndContinueErrorInfo methods ***/ +#define ICorDebugEditAndContinueErrorInfo_GetModule(This,ppModule) (This)->lpVtbl->GetModule(This,ppModule) +#define ICorDebugEditAndContinueErrorInfo_GetToken(This,pToken) (This)->lpVtbl->GetToken(This,pToken) +#define ICorDebugEditAndContinueErrorInfo_GetErrorCode(This,pHr) (This)->lpVtbl->GetErrorCode(This,pHr) +#define ICorDebugEditAndContinueErrorInfo_GetString(This,cchString,pcchString,szString) (This)->lpVtbl->GetString(This,cchString,pcchString,szString) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugEditAndContinueErrorInfo_QueryInterface(ICorDebugEditAndContinueErrorInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugEditAndContinueErrorInfo_AddRef(ICorDebugEditAndContinueErrorInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugEditAndContinueErrorInfo_Release(ICorDebugEditAndContinueErrorInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugEditAndContinueErrorInfo methods ***/ +static FORCEINLINE HRESULT ICorDebugEditAndContinueErrorInfo_GetModule(ICorDebugEditAndContinueErrorInfo* This,ICorDebugModule **ppModule) { + return This->lpVtbl->GetModule(This,ppModule); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueErrorInfo_GetToken(ICorDebugEditAndContinueErrorInfo* This,mdToken *pToken) { + return This->lpVtbl->GetToken(This,pToken); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueErrorInfo_GetErrorCode(ICorDebugEditAndContinueErrorInfo* This,HRESULT *pHr) { + return This->lpVtbl->GetErrorCode(This,pHr); +} +static FORCEINLINE HRESULT ICorDebugEditAndContinueErrorInfo_GetString(ICorDebugEditAndContinueErrorInfo* This,ULONG32 cchString,ULONG32 *pcchString,WCHAR szString[]) { + return This->lpVtbl->GetString(This,cchString,pcchString,szString); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugEditAndContinueErrorInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugObjectValue interface + */ +#ifndef __ICorDebugObjectValue_INTERFACE_DEFINED__ +#define __ICorDebugObjectValue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugObjectValue, 0x18ad3d6e, 0xb7d2, 0x11d2, 0xbd,0x04, 0x00,0x00,0xf8,0x08,0x49,0xbd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("18ad3d6e-b7d2-11d2-bd04-0000f80849bd") +ICorDebugObjectValue : public ICorDebugValue +{ + virtual HRESULT STDMETHODCALLTYPE GetClass( + ICorDebugClass **ppClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFieldValue( + ICorDebugClass *pClass, + mdFieldDef fieldDef, + ICorDebugValue **ppValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVirtualMethod( + mdMemberRef memberRef, + ICorDebugFunction **ppFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContext( + ICorDebugContext **ppContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsValueClass( + BOOL *pbIsValueClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetManagedCopy( + IUnknown **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFromManagedCopy( + IUnknown *pObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugObjectValue, 0x18ad3d6e, 0xb7d2, 0x11d2, 0xbd,0x04, 0x00,0x00,0xf8,0x08,0x49,0xbd) +#endif +#else +typedef struct ICorDebugObjectValueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugObjectValue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugObjectValue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugObjectValue *This); + + /*** ICorDebugValue methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ICorDebugObjectValue *This, + CorElementType *pType); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + ICorDebugObjectValue *This, + ULONG32 *pSize); + + HRESULT (STDMETHODCALLTYPE *GetAddress)( + ICorDebugObjectValue *This, + CORDB_ADDRESS *pAddress); + + HRESULT (STDMETHODCALLTYPE *CreateBreakpoint)( + ICorDebugObjectValue *This, + ICorDebugValueBreakpoint **ppBreakpoint); + + /*** ICorDebugObjectValue methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClass)( + ICorDebugObjectValue *This, + ICorDebugClass **ppClass); + + HRESULT (STDMETHODCALLTYPE *GetFieldValue)( + ICorDebugObjectValue *This, + ICorDebugClass *pClass, + mdFieldDef fieldDef, + ICorDebugValue **ppValue); + + HRESULT (STDMETHODCALLTYPE *GetVirtualMethod)( + ICorDebugObjectValue *This, + mdMemberRef memberRef, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ICorDebugObjectValue *This, + ICorDebugContext **ppContext); + + HRESULT (STDMETHODCALLTYPE *IsValueClass)( + ICorDebugObjectValue *This, + BOOL *pbIsValueClass); + + HRESULT (STDMETHODCALLTYPE *GetManagedCopy)( + ICorDebugObjectValue *This, + IUnknown **ppObject); + + HRESULT (STDMETHODCALLTYPE *SetFromManagedCopy)( + ICorDebugObjectValue *This, + IUnknown *pObject); + + END_INTERFACE +} ICorDebugObjectValueVtbl; + +interface ICorDebugObjectValue { + CONST_VTBL ICorDebugObjectValueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugObjectValue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugObjectValue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugObjectValue_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugValue methods ***/ +#define ICorDebugObjectValue_GetType(This,pType) (This)->lpVtbl->GetType(This,pType) +#define ICorDebugObjectValue_GetSize(This,pSize) (This)->lpVtbl->GetSize(This,pSize) +#define ICorDebugObjectValue_GetAddress(This,pAddress) (This)->lpVtbl->GetAddress(This,pAddress) +#define ICorDebugObjectValue_CreateBreakpoint(This,ppBreakpoint) (This)->lpVtbl->CreateBreakpoint(This,ppBreakpoint) +/*** ICorDebugObjectValue methods ***/ +#define ICorDebugObjectValue_GetClass(This,ppClass) (This)->lpVtbl->GetClass(This,ppClass) +#define ICorDebugObjectValue_GetFieldValue(This,pClass,fieldDef,ppValue) (This)->lpVtbl->GetFieldValue(This,pClass,fieldDef,ppValue) +#define ICorDebugObjectValue_GetVirtualMethod(This,memberRef,ppFunction) (This)->lpVtbl->GetVirtualMethod(This,memberRef,ppFunction) +#define ICorDebugObjectValue_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +#define ICorDebugObjectValue_IsValueClass(This,pbIsValueClass) (This)->lpVtbl->IsValueClass(This,pbIsValueClass) +#define ICorDebugObjectValue_GetManagedCopy(This,ppObject) (This)->lpVtbl->GetManagedCopy(This,ppObject) +#define ICorDebugObjectValue_SetFromManagedCopy(This,pObject) (This)->lpVtbl->SetFromManagedCopy(This,pObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugObjectValue_QueryInterface(ICorDebugObjectValue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugObjectValue_AddRef(ICorDebugObjectValue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugObjectValue_Release(ICorDebugObjectValue* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugValue methods ***/ +static FORCEINLINE HRESULT ICorDebugObjectValue_GetType(ICorDebugObjectValue* This,CorElementType *pType) { + return This->lpVtbl->GetType(This,pType); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_GetSize(ICorDebugObjectValue* This,ULONG32 *pSize) { + return This->lpVtbl->GetSize(This,pSize); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_GetAddress(ICorDebugObjectValue* This,CORDB_ADDRESS *pAddress) { + return This->lpVtbl->GetAddress(This,pAddress); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_CreateBreakpoint(ICorDebugObjectValue* This,ICorDebugValueBreakpoint **ppBreakpoint) { + return This->lpVtbl->CreateBreakpoint(This,ppBreakpoint); +} +/*** ICorDebugObjectValue methods ***/ +static FORCEINLINE HRESULT ICorDebugObjectValue_GetClass(ICorDebugObjectValue* This,ICorDebugClass **ppClass) { + return This->lpVtbl->GetClass(This,ppClass); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_GetFieldValue(ICorDebugObjectValue* This,ICorDebugClass *pClass,mdFieldDef fieldDef,ICorDebugValue **ppValue) { + return This->lpVtbl->GetFieldValue(This,pClass,fieldDef,ppValue); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_GetVirtualMethod(ICorDebugObjectValue* This,mdMemberRef memberRef,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetVirtualMethod(This,memberRef,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_GetContext(ICorDebugObjectValue* This,ICorDebugContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_IsValueClass(ICorDebugObjectValue* This,BOOL *pbIsValueClass) { + return This->lpVtbl->IsValueClass(This,pbIsValueClass); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_GetManagedCopy(ICorDebugObjectValue* This,IUnknown **ppObject) { + return This->lpVtbl->GetManagedCopy(This,ppObject); +} +static FORCEINLINE HRESULT ICorDebugObjectValue_SetFromManagedCopy(ICorDebugObjectValue* This,IUnknown *pObject) { + return This->lpVtbl->SetFromManagedCopy(This,pObject); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugObjectValue_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugContext interface + */ +#ifndef __ICorDebugContext_INTERFACE_DEFINED__ +#define __ICorDebugContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugContext, 0xcc7bcb00, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcb00-8a68-11d2-983c-0000f808342d") +ICorDebugContext : public ICorDebugObjectValue +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugContext, 0xcc7bcb00, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugContext *This); + + /*** ICorDebugValue methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ICorDebugContext *This, + CorElementType *pType); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + ICorDebugContext *This, + ULONG32 *pSize); + + HRESULT (STDMETHODCALLTYPE *GetAddress)( + ICorDebugContext *This, + CORDB_ADDRESS *pAddress); + + HRESULT (STDMETHODCALLTYPE *CreateBreakpoint)( + ICorDebugContext *This, + ICorDebugValueBreakpoint **ppBreakpoint); + + /*** ICorDebugObjectValue methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClass)( + ICorDebugContext *This, + ICorDebugClass **ppClass); + + HRESULT (STDMETHODCALLTYPE *GetFieldValue)( + ICorDebugContext *This, + ICorDebugClass *pClass, + mdFieldDef fieldDef, + ICorDebugValue **ppValue); + + HRESULT (STDMETHODCALLTYPE *GetVirtualMethod)( + ICorDebugContext *This, + mdMemberRef memberRef, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ICorDebugContext *This, + ICorDebugContext **ppContext); + + HRESULT (STDMETHODCALLTYPE *IsValueClass)( + ICorDebugContext *This, + BOOL *pbIsValueClass); + + HRESULT (STDMETHODCALLTYPE *GetManagedCopy)( + ICorDebugContext *This, + IUnknown **ppObject); + + HRESULT (STDMETHODCALLTYPE *SetFromManagedCopy)( + ICorDebugContext *This, + IUnknown *pObject); + + END_INTERFACE +} ICorDebugContextVtbl; + +interface ICorDebugContext { + CONST_VTBL ICorDebugContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugContext_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugValue methods ***/ +#define ICorDebugContext_GetType(This,pType) (This)->lpVtbl->GetType(This,pType) +#define ICorDebugContext_GetSize(This,pSize) (This)->lpVtbl->GetSize(This,pSize) +#define ICorDebugContext_GetAddress(This,pAddress) (This)->lpVtbl->GetAddress(This,pAddress) +#define ICorDebugContext_CreateBreakpoint(This,ppBreakpoint) (This)->lpVtbl->CreateBreakpoint(This,ppBreakpoint) +/*** ICorDebugObjectValue methods ***/ +#define ICorDebugContext_GetClass(This,ppClass) (This)->lpVtbl->GetClass(This,ppClass) +#define ICorDebugContext_GetFieldValue(This,pClass,fieldDef,ppValue) (This)->lpVtbl->GetFieldValue(This,pClass,fieldDef,ppValue) +#define ICorDebugContext_GetVirtualMethod(This,memberRef,ppFunction) (This)->lpVtbl->GetVirtualMethod(This,memberRef,ppFunction) +#define ICorDebugContext_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +#define ICorDebugContext_IsValueClass(This,pbIsValueClass) (This)->lpVtbl->IsValueClass(This,pbIsValueClass) +#define ICorDebugContext_GetManagedCopy(This,ppObject) (This)->lpVtbl->GetManagedCopy(This,ppObject) +#define ICorDebugContext_SetFromManagedCopy(This,pObject) (This)->lpVtbl->SetFromManagedCopy(This,pObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugContext_QueryInterface(ICorDebugContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugContext_AddRef(ICorDebugContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugContext_Release(ICorDebugContext* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugValue methods ***/ +static FORCEINLINE HRESULT ICorDebugContext_GetType(ICorDebugContext* This,CorElementType *pType) { + return This->lpVtbl->GetType(This,pType); +} +static FORCEINLINE HRESULT ICorDebugContext_GetSize(ICorDebugContext* This,ULONG32 *pSize) { + return This->lpVtbl->GetSize(This,pSize); +} +static FORCEINLINE HRESULT ICorDebugContext_GetAddress(ICorDebugContext* This,CORDB_ADDRESS *pAddress) { + return This->lpVtbl->GetAddress(This,pAddress); +} +static FORCEINLINE HRESULT ICorDebugContext_CreateBreakpoint(ICorDebugContext* This,ICorDebugValueBreakpoint **ppBreakpoint) { + return This->lpVtbl->CreateBreakpoint(This,ppBreakpoint); +} +/*** ICorDebugObjectValue methods ***/ +static FORCEINLINE HRESULT ICorDebugContext_GetClass(ICorDebugContext* This,ICorDebugClass **ppClass) { + return This->lpVtbl->GetClass(This,ppClass); +} +static FORCEINLINE HRESULT ICorDebugContext_GetFieldValue(ICorDebugContext* This,ICorDebugClass *pClass,mdFieldDef fieldDef,ICorDebugValue **ppValue) { + return This->lpVtbl->GetFieldValue(This,pClass,fieldDef,ppValue); +} +static FORCEINLINE HRESULT ICorDebugContext_GetVirtualMethod(ICorDebugContext* This,mdMemberRef memberRef,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetVirtualMethod(This,memberRef,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugContext_GetContext(ICorDebugContext* This,ICorDebugContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +static FORCEINLINE HRESULT ICorDebugContext_IsValueClass(ICorDebugContext* This,BOOL *pbIsValueClass) { + return This->lpVtbl->IsValueClass(This,pbIsValueClass); +} +static FORCEINLINE HRESULT ICorDebugContext_GetManagedCopy(ICorDebugContext* This,IUnknown **ppObject) { + return This->lpVtbl->GetManagedCopy(This,ppObject); +} +static FORCEINLINE HRESULT ICorDebugContext_SetFromManagedCopy(ICorDebugContext* This,IUnknown *pObject) { + return This->lpVtbl->SetFromManagedCopy(This,pObject); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugCode interface + */ +#ifndef __ICorDebugCode_INTERFACE_DEFINED__ +#define __ICorDebugCode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorDebugCode, 0xcc7bcaf4, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc7bcaf4-8a68-11d2-983c-0000f808342d") +ICorDebugCode : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsIL( + BOOL *pbIL) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunction( + ICorDebugFunction **ppFunction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAddress( + CORDB_ADDRESS *pStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + ULONG32 *pcBytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBreakpoint( + ULONG32 offset, + ICorDebugFunctionBreakpoint **ppBreakpoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCode( + ULONG32 startOffset, + ULONG32 endOffset, + ULONG32 cBufferAlloc, + BYTE buffer[], + ULONG32 *pcBufferSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVersionNumber( + ULONG32 *nVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetILToNativeMapping( + ULONG32 cMap, + ULONG32 *pcMap, + COR_DEBUG_IL_TO_NATIVE_MAP map[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnCRemapSequencePoints( + ULONG32 cMap, + ULONG32 *pcMap, + ULONG32 offsets[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugCode, 0xcc7bcaf4, 0x8a68, 0x11d2, 0x98,0x3c, 0x00,0x00,0xf8,0x08,0x34,0x2d) +#endif +#else +typedef struct ICorDebugCodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugCode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugCode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugCode *This); + + /*** ICorDebugCode methods ***/ + HRESULT (STDMETHODCALLTYPE *IsIL)( + ICorDebugCode *This, + BOOL *pbIL); + + HRESULT (STDMETHODCALLTYPE *GetFunction)( + ICorDebugCode *This, + ICorDebugFunction **ppFunction); + + HRESULT (STDMETHODCALLTYPE *GetAddress)( + ICorDebugCode *This, + CORDB_ADDRESS *pStart); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + ICorDebugCode *This, + ULONG32 *pcBytes); + + HRESULT (STDMETHODCALLTYPE *CreateBreakpoint)( + ICorDebugCode *This, + ULONG32 offset, + ICorDebugFunctionBreakpoint **ppBreakpoint); + + HRESULT (STDMETHODCALLTYPE *GetCode)( + ICorDebugCode *This, + ULONG32 startOffset, + ULONG32 endOffset, + ULONG32 cBufferAlloc, + BYTE buffer[], + ULONG32 *pcBufferSize); + + HRESULT (STDMETHODCALLTYPE *GetVersionNumber)( + ICorDebugCode *This, + ULONG32 *nVersion); + + HRESULT (STDMETHODCALLTYPE *GetILToNativeMapping)( + ICorDebugCode *This, + ULONG32 cMap, + ULONG32 *pcMap, + COR_DEBUG_IL_TO_NATIVE_MAP map[]); + + HRESULT (STDMETHODCALLTYPE *GetEnCRemapSequencePoints)( + ICorDebugCode *This, + ULONG32 cMap, + ULONG32 *pcMap, + ULONG32 offsets[]); + + END_INTERFACE +} ICorDebugCodeVtbl; + +interface ICorDebugCode { + CONST_VTBL ICorDebugCodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugCode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugCode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugCode_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugCode methods ***/ +#define ICorDebugCode_IsIL(This,pbIL) (This)->lpVtbl->IsIL(This,pbIL) +#define ICorDebugCode_GetFunction(This,ppFunction) (This)->lpVtbl->GetFunction(This,ppFunction) +#define ICorDebugCode_GetAddress(This,pStart) (This)->lpVtbl->GetAddress(This,pStart) +#define ICorDebugCode_GetSize(This,pcBytes) (This)->lpVtbl->GetSize(This,pcBytes) +#define ICorDebugCode_CreateBreakpoint(This,offset,ppBreakpoint) (This)->lpVtbl->CreateBreakpoint(This,offset,ppBreakpoint) +#define ICorDebugCode_GetCode(This,startOffset,endOffset,cBufferAlloc,buffer,pcBufferSize) (This)->lpVtbl->GetCode(This,startOffset,endOffset,cBufferAlloc,buffer,pcBufferSize) +#define ICorDebugCode_GetVersionNumber(This,nVersion) (This)->lpVtbl->GetVersionNumber(This,nVersion) +#define ICorDebugCode_GetILToNativeMapping(This,cMap,pcMap,map) (This)->lpVtbl->GetILToNativeMapping(This,cMap,pcMap,map) +#define ICorDebugCode_GetEnCRemapSequencePoints(This,cMap,pcMap,offsets) (This)->lpVtbl->GetEnCRemapSequencePoints(This,cMap,pcMap,offsets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugCode_QueryInterface(ICorDebugCode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugCode_AddRef(ICorDebugCode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugCode_Release(ICorDebugCode* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugCode methods ***/ +static FORCEINLINE HRESULT ICorDebugCode_IsIL(ICorDebugCode* This,BOOL *pbIL) { + return This->lpVtbl->IsIL(This,pbIL); +} +static FORCEINLINE HRESULT ICorDebugCode_GetFunction(ICorDebugCode* This,ICorDebugFunction **ppFunction) { + return This->lpVtbl->GetFunction(This,ppFunction); +} +static FORCEINLINE HRESULT ICorDebugCode_GetAddress(ICorDebugCode* This,CORDB_ADDRESS *pStart) { + return This->lpVtbl->GetAddress(This,pStart); +} +static FORCEINLINE HRESULT ICorDebugCode_GetSize(ICorDebugCode* This,ULONG32 *pcBytes) { + return This->lpVtbl->GetSize(This,pcBytes); +} +static FORCEINLINE HRESULT ICorDebugCode_CreateBreakpoint(ICorDebugCode* This,ULONG32 offset,ICorDebugFunctionBreakpoint **ppBreakpoint) { + return This->lpVtbl->CreateBreakpoint(This,offset,ppBreakpoint); +} +static FORCEINLINE HRESULT ICorDebugCode_GetCode(ICorDebugCode* This,ULONG32 startOffset,ULONG32 endOffset,ULONG32 cBufferAlloc,BYTE buffer[],ULONG32 *pcBufferSize) { + return This->lpVtbl->GetCode(This,startOffset,endOffset,cBufferAlloc,buffer,pcBufferSize); +} +static FORCEINLINE HRESULT ICorDebugCode_GetVersionNumber(ICorDebugCode* This,ULONG32 *nVersion) { + return This->lpVtbl->GetVersionNumber(This,nVersion); +} +static FORCEINLINE HRESULT ICorDebugCode_GetILToNativeMapping(ICorDebugCode* This,ULONG32 cMap,ULONG32 *pcMap,COR_DEBUG_IL_TO_NATIVE_MAP map[]) { + return This->lpVtbl->GetILToNativeMapping(This,cMap,pcMap,map); +} +static FORCEINLINE HRESULT ICorDebugCode_GetEnCRemapSequencePoints(ICorDebugCode* This,ULONG32 cMap,ULONG32 *pcMap,ULONG32 offsets[]) { + return This->lpVtbl->GetEnCRemapSequencePoints(This,cMap,pcMap,offsets); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugCode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorDebugMDA interface + */ +#ifndef __ICorDebugMDA_INTERFACE_DEFINED__ +#define __ICorDebugMDA_INTERFACE_DEFINED__ + +typedef enum CorDebugMDAFlags { + MDA_FLAG_SLIP = 0x2 +} CorDebugMDAFlags; +DEFINE_GUID(IID_ICorDebugMDA, 0xcc726f2f, 0x1db7, 0x459b, 0xb0,0xec, 0x05,0xf0,0x1d,0x84,0x1b,0x42); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc726f2f-1db7-459b-b0ec-05f01d841b42") +ICorDebugMDA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetXML( + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlags( + CorDebugMDAFlags *pFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOSThreadId( + DWORD *pOsTid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorDebugMDA, 0xcc726f2f, 0x1db7, 0x459b, 0xb0,0xec, 0x05,0xf0,0x1d,0x84,0x1b,0x42) +#endif +#else +typedef struct ICorDebugMDAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorDebugMDA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorDebugMDA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorDebugMDA *This); + + /*** ICorDebugMDA methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + ICorDebugMDA *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + ICorDebugMDA *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + HRESULT (STDMETHODCALLTYPE *GetXML)( + ICorDebugMDA *This, + ULONG32 cchName, + ULONG32 *pcchName, + WCHAR szName[]); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + ICorDebugMDA *This, + CorDebugMDAFlags *pFlags); + + HRESULT (STDMETHODCALLTYPE *GetOSThreadId)( + ICorDebugMDA *This, + DWORD *pOsTid); + + END_INTERFACE +} ICorDebugMDAVtbl; + +interface ICorDebugMDA { + CONST_VTBL ICorDebugMDAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorDebugMDA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorDebugMDA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorDebugMDA_Release(This) (This)->lpVtbl->Release(This) +/*** ICorDebugMDA methods ***/ +#define ICorDebugMDA_GetName(This,cchName,pcchName,szName) (This)->lpVtbl->GetName(This,cchName,pcchName,szName) +#define ICorDebugMDA_GetDescription(This,cchName,pcchName,szName) (This)->lpVtbl->GetDescription(This,cchName,pcchName,szName) +#define ICorDebugMDA_GetXML(This,cchName,pcchName,szName) (This)->lpVtbl->GetXML(This,cchName,pcchName,szName) +#define ICorDebugMDA_GetFlags(This,pFlags) (This)->lpVtbl->GetFlags(This,pFlags) +#define ICorDebugMDA_GetOSThreadId(This,pOsTid) (This)->lpVtbl->GetOSThreadId(This,pOsTid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorDebugMDA_QueryInterface(ICorDebugMDA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorDebugMDA_AddRef(ICorDebugMDA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorDebugMDA_Release(ICorDebugMDA* This) { + return This->lpVtbl->Release(This); +} +/*** ICorDebugMDA methods ***/ +static FORCEINLINE HRESULT ICorDebugMDA_GetName(ICorDebugMDA* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetName(This,cchName,pcchName,szName); +} +static FORCEINLINE HRESULT ICorDebugMDA_GetDescription(ICorDebugMDA* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetDescription(This,cchName,pcchName,szName); +} +static FORCEINLINE HRESULT ICorDebugMDA_GetXML(ICorDebugMDA* This,ULONG32 cchName,ULONG32 *pcchName,WCHAR szName[]) { + return This->lpVtbl->GetXML(This,cchName,pcchName,szName); +} +static FORCEINLINE HRESULT ICorDebugMDA_GetFlags(ICorDebugMDA* This,CorDebugMDAFlags *pFlags) { + return This->lpVtbl->GetFlags(This,pFlags); +} +static FORCEINLINE HRESULT ICorDebugMDA_GetOSThreadId(ICorDebugMDA* This,DWORD *pOsTid) { + return This->lpVtbl->GetOSThreadId(This,pOsTid); +} +#endif +#endif + +#endif + + +#endif /* __ICorDebugMDA_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __cordebug_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cordebug.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cordebug.idl new file mode 100644 index 0000000..0488fd9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cordebug.idl @@ -0,0 +1,1041 @@ +/* + * Copyright (C) 2011 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "objidl.idl"; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef CreateProcess") +cpp_quote("#endif") + +interface ICorDebugAppDomain; +interface ICorDebugAppDomainEnum; +interface ICorDebugAssembly; +interface ICorDebugAssemblyEnum; +interface ICorDebugBreakpoint; +interface ICorDebugBreakpointEnum; +interface ICorDebugChain; +interface ICorDebugChainEnum; +interface ICorDebugClass; +interface ICorDebugCode; +interface ICorDebugContext; +interface ICorDebugEditAndContinueSnapshot; +interface ICorDebugEditAndContinueErrorInfo; +interface ICorDebugEnum; +interface ICorDebugErrorInfoEnum; +interface ICorDebugEval; +interface ICorDebugFrame; +interface ICorDebugFrameEnum; +interface ICorDebugFunction; +interface ICorDebugFunctionBreakpoint; +interface ICorDebugManagedCallback; +interface ICorDebugManagedCallback2; +interface ICorDebugMDA; +interface ICorDebugModule; +interface ICorDebugModuleBreakpoint; +interface ICorDebugModuleEnum; +interface ICorDebugObjectEnum; +interface ICorDebugObjectValue; +interface ICorDebugProcess; +interface ICorDebugProcessEnum; +interface ICorDebugRegisterSet; +interface ICorDebugStepper; +interface ICorDebugStepperEnum; +interface ICorDebugThreadEnum; +interface ICorDebugUnmanagedCallback; +interface ICorDebugValue; +interface ICorDebugValueBreakpoint; + + +typedef [wire_marshal(unsigned long)] void *HPROCESS; +typedef [wire_marshal(unsigned long)] void *HTHREAD; + +/* These are defined in corhrd.idl but used here. */ +cpp_quote("#if 0") + +typedef UINT32 mdToken; +typedef mdToken mdModule; +typedef SIZE_T mdScope; +typedef mdToken mdTypeDef; +typedef mdToken mdSourceFile; +typedef mdToken mdMemberRef; +typedef mdToken mdMethodDef; +typedef mdToken mdFieldDef; +typedef mdToken mdSignature; +typedef ULONG CorElementType; +typedef SIZE_T PCCOR_SIGNATURE; + +typedef SIZE_T LPDEBUG_EVENT; + +typedef SIZE_T LPSTARTUPINFOW; +typedef SIZE_T LPPROCESS_INFORMATION; + +cpp_quote("#endif") + +typedef ULONG64 CORDB_ADDRESS; +typedef ULONG64 CORDB_REGISTER; + +typedef UINT64 TASKID; +typedef DWORD CONNID; + + +cpp_quote("#ifndef _COR_IL_MAP") +cpp_quote("#define _COR_IL_MAP") + +typedef struct _COR_IL_MAP +{ + ULONG32 oldOffset; + ULONG32 newOffset; + BOOL fAccurate; +} COR_IL_MAP; + +cpp_quote("#endif /* _COR_IL_MAP */") + +cpp_quote("#ifndef _COR_DEBUG_IL_TO_NATIVE_MAP_") +cpp_quote("#define _COR_DEBUG_IL_TO_NATIVE_MAP_") + +typedef enum CorDebugIlToNativeMappingTypes +{ + NO_MAPPING = -1, + PROLOG = -2, + EPILOG = -3 +} CorDebugIlToNativeMappingTypes; + +typedef struct COR_DEBUG_IL_TO_NATIVE_MAP +{ + ULONG32 ilOffset; + ULONG32 nativeStartOffset; + ULONG32 nativeEndOffset; +} COR_DEBUG_IL_TO_NATIVE_MAP; + +cpp_quote("#endif /* _COR_DEBUG_IL_TO_NATIVE_MAP_ */") + + +typedef enum CorDebugThreadState +{ + THREAD_RUN, + THREAD_SUSPEND +} CorDebugThreadState; + +typedef enum CorDebugCreateProcessFlags +{ + DEBUG_NO_SPECIAL_OPTIONS = 0x0000 +} CorDebugCreateProcessFlags; + +[ + object, + local, + uuid(CC7BCAF7-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugValue : IUnknown +{ + HRESULT GetType([out] CorElementType *pType); + HRESULT GetSize([out] ULONG32 *pSize); + HRESULT GetAddress([out] CORDB_ADDRESS *pAddress); + HRESULT CreateBreakpoint([out] ICorDebugValueBreakpoint **ppBreakpoint); +}; + +[ + object, + local, + uuid(938c6d66-7fb6-4f69-b389-425b8987329b), + pointer_default(unique) +] +interface ICorDebugThread : IUnknown +{ + HRESULT GetProcess([out] ICorDebugProcess **ppProcess); + HRESULT GetID([out] DWORD *pdwThreadId); + HRESULT GetHandle([out] HTHREAD *phThreadHandle); + HRESULT GetAppDomain([out] ICorDebugAppDomain **ppAppDomain); + HRESULT SetDebugState([in] CorDebugThreadState state); + HRESULT GetDebugState([out] CorDebugThreadState *pState); + + typedef enum CorDebugUserState + { + USER_STOP_REQUESTED = 0x01, + USER_SUSPEND_REQUESTED = 0x02, + USER_BACKGROUND = 0x04, + USER_UNSTARTED = 0x08, + USER_STOPPED = 0x10, + USER_WAIT_SLEEP_JOIN = 0x20, + USER_SUSPENDED = 0x40, + + USER_UNSAFE_POINT = 0x80, + } CorDebugUserState; + + HRESULT GetUserState([out] CorDebugUserState *pState); + HRESULT GetCurrentException([out] ICorDebugValue **ppExceptionObject); + HRESULT ClearCurrentException(); + HRESULT CreateStepper([out] ICorDebugStepper **ppStepper); + HRESULT EnumerateChains([out] ICorDebugChainEnum **ppChains); + HRESULT GetActiveChain([out] ICorDebugChain **ppChain); + HRESULT GetActiveFrame([out] ICorDebugFrame **ppFrame); + HRESULT GetRegisterSet([out] ICorDebugRegisterSet **ppRegisters); + HRESULT CreateEval([out] ICorDebugEval **ppEval); + HRESULT GetObject([out] ICorDebugValue **ppObject); +}; + +[ + object, + local, + uuid(3d6f5f62-7538-11d3-8d5b-00104b35e7ef), + pointer_default(unique) +] + +interface ICorDebugController : IUnknown +{ + HRESULT Stop([in] DWORD dwTimeoutIgnored); + HRESULT Continue([in] BOOL fIsOutOfBand); + HRESULT IsRunning([out] BOOL *pbRunning); + HRESULT HasQueuedCallbacks([in] ICorDebugThread *pThread, + [out] BOOL *pbQueued); + HRESULT EnumerateThreads([out] ICorDebugThreadEnum **ppThreads); + HRESULT SetAllThreadsDebugState([in] CorDebugThreadState state, + [in] ICorDebugThread *pExceptThisThread); + HRESULT Detach(); + HRESULT Terminate([in] UINT exitCode); + HRESULT CanCommitChanges([in] ULONG cSnapshots, + [in] ICorDebugEditAndContinueSnapshot *pSnapshots[], + [out] ICorDebugErrorInfoEnum **pError); + HRESULT CommitChanges([in] ULONG cSnapshots, + [in] ICorDebugEditAndContinueSnapshot *pSnapshots[], + [out] ICorDebugErrorInfoEnum **pError); +}; + +[ + object, + local, + uuid(3d6f5f64-7538-11d3-8d5b-00104b35e7ef), + pointer_default(unique) +] +interface ICorDebugProcess : ICorDebugController +{ + HRESULT GetID([out] DWORD *pdwProcessId); + HRESULT GetHandle([out] HPROCESS *phProcessHandle); + HRESULT GetThread([in] DWORD dwThreadId, [out] ICorDebugThread **ppThread); + HRESULT EnumerateObjects([out] ICorDebugObjectEnum **ppObjects); + HRESULT IsTransitionStub([in] CORDB_ADDRESS address, [out] BOOL *pbTransitionStub); + HRESULT IsOSSuspended([in] DWORD threadID, [out] BOOL *pbSuspended); + HRESULT GetThreadContext([in] DWORD threadID, [in] ULONG32 contextSize, + [in, out] BYTE context[]); + HRESULT SetThreadContext([in] DWORD threadID, [in] ULONG32 contextSize, [in] BYTE context[]); + HRESULT ReadMemory([in] CORDB_ADDRESS address, [in] DWORD size, [out] BYTE buffer[], [out] SIZE_T *read); + HRESULT WriteMemory([in] CORDB_ADDRESS address, [in] DWORD size, [in] BYTE buffer[], [out] SIZE_T *written); + HRESULT ClearCurrentException([in] DWORD threadID); + HRESULT EnableLogMessages([in]BOOL fOnOff); + HRESULT ModifyLogSwitch([in] WCHAR *pLogSwitchName, + [in]LONG lLevel); + HRESULT EnumerateAppDomains([out] ICorDebugAppDomainEnum **ppAppDomains); + HRESULT GetObject([out] ICorDebugValue **ppObject); + HRESULT ThreadForFiberCookie([in] DWORD fiberCookie, [out] ICorDebugThread **ppThread); + HRESULT GetHelperThreadID([out] DWORD *pThreadID); +}; + +[ + object, + local, + uuid(3d6f5f63-7538-11d3-8d5b-00104b35e7ef), + pointer_default(unique) +] +interface ICorDebugAppDomain : ICorDebugController +{ + HRESULT GetProcess([out] ICorDebugProcess **ppProcess); + HRESULT EnumerateAssemblies([out] ICorDebugAssemblyEnum **ppAssemblies); + HRESULT GetModuleFromMetaDataInterface([in] IUnknown *pIMetaData, + [out] ICorDebugModule **ppModule); + HRESULT EnumerateBreakpoints([out] ICorDebugBreakpointEnum **ppBreakpoints); + HRESULT EnumerateSteppers([out] ICorDebugStepperEnum **ppSteppers); + HRESULT IsAttached([out] BOOL *pbAttached); + HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]); + HRESULT GetObject([out] ICorDebugValue **ppObject); + HRESULT Attach(); + HRESULT GetID([out] ULONG32 *pId); +}; + +[ + object, + local, + uuid(3d6f5f60-7538-11d3-8d5b-00104b35e7ef), + pointer_default(unique) +] +interface ICorDebugManagedCallback : IUnknown +{ + HRESULT Breakpoint([in] ICorDebugAppDomain *pAppDomain, + [in] ICorDebugThread *pThread, + [in] ICorDebugBreakpoint *pBreakpoint); + + typedef enum CorDebugStepReason + { + STEP_NORMAL, + STEP_RETURN, + STEP_CALL, + STEP_EXCEPTION_FILTER, + STEP_EXCEPTION_HANDLER, + STEP_INTERCEPT, + STEP_EXIT + } CorDebugStepReason; + + HRESULT StepComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] ICorDebugStepper *pStepper, [in] CorDebugStepReason reason); + HRESULT Break([in] ICorDebugAppDomain *pAppDomain, + [in] ICorDebugThread *thread); + HRESULT Exception([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] BOOL unhandled); + HRESULT EvalComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] ICorDebugEval *pEval); + HRESULT EvalException([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] ICorDebugEval *pEval); + HRESULT CreateProcess([in] ICorDebugProcess *pProcess); + HRESULT ExitProcess([in] ICorDebugProcess *pProcess); + HRESULT CreateThread([in] ICorDebugAppDomain *pAppDomain,[in] ICorDebugThread *thread); + HRESULT ExitThread([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *thread); + HRESULT LoadModule([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule); + HRESULT UnloadModule([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule); + HRESULT LoadClass([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugClass *c); + HRESULT UnloadClass([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugClass *c); + HRESULT DebuggerError([in] ICorDebugProcess *pProcess, [in] HRESULT errorHR, + [in] DWORD errorCode); + + typedef enum LoggingLevelEnum + { + LTraceLevel0 = 0, + LTraceLevel1, + LTraceLevel2, + LTraceLevel3, + LTraceLevel4, + LStatusLevel0 = 20, + LStatusLevel1, + LStatusLevel2, + LStatusLevel3, + LStatusLevel4, + LWarningLevel = 40, + LErrorLevel = 50, + LPanicLevel = 100 + } LoggingLevelEnum; + + typedef enum LogSwitchCallReason + { + SWITCH_CREATE, + SWITCH_MODIFY, + SWITCH_DELETE + } LogSwitchCallReason; + + HRESULT LogMessage([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] LONG lLevel, [in] WCHAR *pLogSwitchName, [in] WCHAR *pMessage); + HRESULT LogSwitch([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] LONG lLevel, [in] ULONG ulReason, [in] WCHAR *pLogSwitchName, + [in] WCHAR *pParentName); + HRESULT CreateAppDomain([in] ICorDebugProcess *pProcess, [in] ICorDebugAppDomain *pAppDomain); + HRESULT ExitAppDomain([in] ICorDebugProcess *pProcess, [in] ICorDebugAppDomain *pAppDomain); + HRESULT LoadAssembly([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugAssembly *pAssembly); + HRESULT UnloadAssembly([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugAssembly *pAssembly); + HRESULT ControlCTrap([in] ICorDebugProcess *pProcess); + HRESULT NameChange([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread); + HRESULT UpdateModuleSymbols([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule, + [in] IStream *pSymbolStream); + HRESULT EditAndContinueRemap([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] ICorDebugFunction *pFunction, [in] BOOL fAccurate); + + HRESULT BreakpointSetError([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] ICorDebugBreakpoint *pBreakpoint, [in] DWORD dwError); +}; + +[ + object, + local, + uuid(250E5EEA-DB5C-4C76-B6F3-8C46F12E3203), + pointer_default(unique) +] +interface ICorDebugManagedCallback2 : IUnknown +{ + HRESULT FunctionRemapOpportunity([in] ICorDebugAppDomain *pAppDomain, + [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pOldFunction, + [in] ICorDebugFunction *pNewFunction, [in] ULONG32 oldILOffset); + + HRESULT CreateConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId, + [in] WCHAR *pConnName); + + HRESULT ChangeConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId ); + + HRESULT DestroyConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId ); + + + typedef enum CorDebugExceptionCallbackType + { + DEBUG_EXCEPTION_FIRST_CHANCE = 1, + DEBUG_EXCEPTION_USER_FIRST_CHANCE = 2, + DEBUG_EXCEPTION_CATCH_HANDLER_FOUND = 3, + DEBUG_EXCEPTION_UNHANDLED = 4 + } CorDebugExceptionCallbackType; + + typedef enum CorDebugExceptionFlags + { + DEBUG_EXCEPTION_CAN_BE_INTERCEPTED = 0x0001 + } CorDebugExceptionFlags; + + HRESULT Exception( [in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] ICorDebugFrame *pFrame, [in] ULONG32 nOffset, + [in] CorDebugExceptionCallbackType dwEventType, [in] DWORD dwFlags ); + + typedef enum CorDebugExceptionUnwindCallbackType + { + DEBUG_EXCEPTION_UNWIND_BEGIN = 1, + DEBUG_EXCEPTION_INTERCEPTED = 2 + } CorDebugExceptionUnwindCallbackType; + + HRESULT ExceptionUnwind( [in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, + [in] CorDebugExceptionUnwindCallbackType dwEventType, + [in] DWORD dwFlags ); + + HRESULT FunctionRemapComplete([in] ICorDebugAppDomain *pAppDomain, + [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pFunction); + + HRESULT MDANotification([in] ICorDebugController * pController, + [in] ICorDebugThread *pThread, [in] ICorDebugMDA * pMDA + ); + +}; +[ + object, + local, + uuid(3d6f5f61-7538-11d3-8d5b-00104b35e7ef), + pointer_default(unique) +] +interface ICorDebug : IUnknown +{ + HRESULT Initialize(); + HRESULT Terminate(); + HRESULT SetManagedHandler([in] ICorDebugManagedCallback *pCallback); + HRESULT SetUnmanagedHandler([in] ICorDebugUnmanagedCallback *pCallback); + HRESULT CreateProcess([in] LPCWSTR lpApplicationName, [in] LPWSTR lpCommandLine, + [in] LPSECURITY_ATTRIBUTES lpProcessAttributes, + [in] LPSECURITY_ATTRIBUTES lpThreadAttributes, + [in] BOOL bInheritHandles, [in] DWORD dwCreationFlags, + [in] PVOID lpEnvironment, [in] LPCWSTR lpCurrentDirectory, + [in] LPSTARTUPINFOW lpStartupInfo, + [in] LPPROCESS_INFORMATION lpProcessInformation, + [in] CorDebugCreateProcessFlags debuggingFlags, + [out] ICorDebugProcess **ppProcess); + + HRESULT DebugActiveProcess([in] DWORD id, [in] BOOL win32Attach, + [out] ICorDebugProcess **ppProcess); + HRESULT EnumerateProcesses([out] ICorDebugProcessEnum **ppProcess); + HRESULT GetProcess([in] DWORD dwProcessId, [out] ICorDebugProcess **ppProcess); + HRESULT CanLaunchOrAttach([in] DWORD dwProcessId, [in] BOOL win32DebuggingEnabled); +}; + + +[ + object, + local, + uuid(CC7BCAE8-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugBreakpoint : IUnknown +{ + HRESULT Activate([in] BOOL bActive); + HRESULT IsActive([out] BOOL *pbActive); +}; + +[ + object, + local, + uuid(CC7BCAE9-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugFunctionBreakpoint : ICorDebugBreakpoint +{ + HRESULT GetFunction([out] ICorDebugFunction **ppFunction); + HRESULT GetOffset([out] ULONG32 *pnOffset); +}; + +[ + object, + local, + uuid(CC7BCAEA-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugModuleBreakpoint : ICorDebugBreakpoint +{ + HRESULT GetModule([out] ICorDebugModule **ppModule); +}; + +[ + object, + local, + uuid(CC7BCAEB-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugValueBreakpoint : ICorDebugBreakpoint +{ + HRESULT GetValue([out] ICorDebugValue **ppValue); +}; + +[ + object, + local, + uuid(CC7BCAEC-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugStepper : IUnknown +{ + HRESULT IsActive([out] BOOL *pbActive); + HRESULT Deactivate(); + + typedef enum CorDebugIntercept + { + INTERCEPT_NONE = 0x0 , + INTERCEPT_CLASS_INIT = 0x01, + INTERCEPT_EXCEPTION_FILTER = 0x02, + INTERCEPT_SECURITY = 0x04, + INTERCEPT_CONTEXT_POLICY = 0x08, + INTERCEPT_INTERCEPTION = 0x10, + INTERCEPT_ALL = 0xffff + } CorDebugIntercept; + + HRESULT SetInterceptMask([in] CorDebugIntercept mask); + + typedef enum CorDebugUnmappedStop + { + STOP_NONE = 0x0, + STOP_PROLOG = 0x01, + STOP_EPILOG = 0x02, + STOP_NO_MAPPING_INFO = 0x04, + STOP_OTHER_UNMAPPED = 0x08, + STOP_UNMANAGED = 0x10, + + STOP_ALL = 0xffff, + + } CorDebugUnmappedStop; + + HRESULT SetUnmappedStopMask([in] CorDebugUnmappedStop mask); + HRESULT Step([in] BOOL bStepIn); + + typedef struct COR_DEBUG_STEP_RANGE + { + ULONG32 startOffset, endOffset; + } COR_DEBUG_STEP_RANGE; + + HRESULT StepRange([in] BOOL bStepIn, [in] COR_DEBUG_STEP_RANGE ranges[], [in] ULONG32 cRangeCount); + HRESULT StepOut(); + HRESULT SetRangeIL([in] BOOL bIL); +}; + +[ + object, + local, + uuid(CC7BCB01-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugEnum : IUnknown +{ + HRESULT Skip([in] ULONG celt); + HRESULT Reset(); + HRESULT Clone([out] ICorDebugEnum **ppEnum); + HRESULT GetCount([out] ULONG *pcelt); +}; + +[ + object, + local, + uuid(63ca1b24-4359-4883-bd57-13f815f58744), + pointer_default(unique) +] + +interface ICorDebugAppDomainEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugAppDomain *values[], [out] ULONG *pceltFetched); + +}; + +[ + object, + local, + uuid(4a2a1ec9-85ec-4bfb-9f15-a89fdfe0fe83), + pointer_default(unique) +] +interface ICorDebugAssemblyEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugAssembly *values[], [out] ULONG *pceltFetched); + +}; + +[ + object, + local, + uuid(CC7BCB03-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugBreakpointEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugBreakpoint *breakpoints[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB08-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugChainEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugChain *chains[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(F0E18809-72B5-11d2-976F-00A0C9B4D50C), + pointer_default(unique) +] +interface ICorDebugErrorInfoEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugEditAndContinueErrorInfo *errors[], + [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB07-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugFrameEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugFrame *frames[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB09-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugModuleEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugModule *modules[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB02-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugObjectEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] CORDB_ADDRESS objects[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB05-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugProcessEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugProcess *processes[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB04-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugStepperEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugStepper *steppers[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCB06-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugThreadEnum : ICorDebugEnum +{ + HRESULT Next([in] ULONG celt, [out] ICorDebugThread *threads[], [out] ULONG *pceltFetched); +}; + +[ + object, + local, + uuid(CC7BCAEE-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugChain : IUnknown +{ + HRESULT GetThread([out] ICorDebugThread **ppThread); + HRESULT GetStackRange([out] CORDB_ADDRESS *pStart, [out] CORDB_ADDRESS *pEnd); + HRESULT GetContext([out] ICorDebugContext **ppContext); + HRESULT GetCaller([out] ICorDebugChain **ppChain); + HRESULT GetCallee([out] ICorDebugChain **ppChain); + HRESULT GetPrevious([out] ICorDebugChain **ppChain); + HRESULT GetNext([out] ICorDebugChain **ppChain); + HRESULT IsManaged([out] BOOL *pManaged); + HRESULT EnumerateFrames([out] ICorDebugFrameEnum **ppFrames); + HRESULT GetActiveFrame([out] ICorDebugFrame **ppFrame); + HRESULT GetRegisterSet([out] ICorDebugRegisterSet **ppRegisters); + typedef enum CorDebugChainReason + { + CHAIN_NONE = 0x000, + CHAIN_CLASS_INIT = 0x001, + CHAIN_EXCEPTION_FILTER = 0x002, + CHAIN_SECURITY = 0x004, + CHAIN_CONTEXT_POLICY = 0x008, + CHAIN_INTERCEPTION = 0x010, + CHAIN_PROCESS_START = 0x020, + CHAIN_THREAD_START = 0x040, + CHAIN_ENTER_MANAGED = 0x080, + CHAIN_ENTER_UNMANAGED = 0x100, + CHAIN_DEBUGGER_EVAL = 0x200, + CHAIN_CONTEXT_SWITCH = 0x400, + CHAIN_FUNC_EVAL = 0x800, + } CorDebugChainReason; + + HRESULT GetReason([out] CorDebugChainReason *pReason); +}; + +[ + object, + local, + uuid(CC7BCAEF-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugFrame : IUnknown +{ + HRESULT GetChain([out] ICorDebugChain **ppChain); + HRESULT GetCode([out] ICorDebugCode **ppCode); + HRESULT GetFunction([out] ICorDebugFunction **ppFunction); + HRESULT GetFunctionToken([out] mdMethodDef *pToken); + HRESULT GetStackRange([out] CORDB_ADDRESS *pStart, [out] CORDB_ADDRESS *pEnd); + HRESULT GetCaller([out] ICorDebugFrame **ppFrame); + HRESULT GetCallee([out] ICorDebugFrame **ppFrame); + HRESULT CreateStepper([out] ICorDebugStepper **ppStepper); +}; + + +[ + object, + local, + uuid(CC7BCB0B-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugRegisterSet : IUnknown +{ + typedef enum CorDebugRegister + { + REGISTER_INSTRUCTION_POINTER = 0, + REGISTER_STACK_POINTER, + REGISTER_FRAME_POINTER, + + REGISTER_X86_EIP = 0, + REGISTER_X86_ESP, + REGISTER_X86_EBP, + + REGISTER_X86_EAX, + REGISTER_X86_ECX, + REGISTER_X86_EDX, + REGISTER_X86_EBX, + + REGISTER_X86_ESI, + REGISTER_X86_EDI, + + REGISTER_X86_FPSTACK_0, + REGISTER_X86_FPSTACK_1, + REGISTER_X86_FPSTACK_2, + REGISTER_X86_FPSTACK_3, + REGISTER_X86_FPSTACK_4, + REGISTER_X86_FPSTACK_5, + REGISTER_X86_FPSTACK_6, + REGISTER_X86_FPSTACK_7, + + REGISTER_AMD64_RIP = 0, + REGISTER_AMD64_RSP, + REGISTER_AMD64_RBP, + + REGISTER_AMD64_RAX, + REGISTER_AMD64_RCX, + REGISTER_AMD64_RDX, + REGISTER_AMD64_RBX, + + REGISTER_AMD64_RSI, + REGISTER_AMD64_RDI, + + REGISTER_AMD64_R8, + REGISTER_AMD64_R9, + REGISTER_AMD64_R10, + REGISTER_AMD64_R11, + REGISTER_AMD64_R12, + REGISTER_AMD64_R13, + REGISTER_AMD64_R14, + REGISTER_AMD64_R15, + + REGISTER_AMD64_XMM0, + REGISTER_AMD64_XMM1, + REGISTER_AMD64_XMM2, + REGISTER_AMD64_XMM3, + REGISTER_AMD64_XMM4, + REGISTER_AMD64_XMM5, + REGISTER_AMD64_XMM6, + REGISTER_AMD64_XMM7, + REGISTER_AMD64_XMM8, + REGISTER_AMD64_XMM9, + REGISTER_AMD64_XMM10, + REGISTER_AMD64_XMM11, + REGISTER_AMD64_XMM12, + REGISTER_AMD64_XMM13, + REGISTER_AMD64_XMM14, + REGISTER_AMD64_XMM15, + + REGISTER_IA64_BSP = REGISTER_FRAME_POINTER, + + REGISTER_IA64_R0 = REGISTER_IA64_BSP + 1, + REGISTER_IA64_F0 = REGISTER_IA64_R0 + 128, + + } CorDebugRegister; + + HRESULT GetRegistersAvailable([out] ULONG64 *pAvailable); + + HRESULT GetRegisters([in] ULONG64 mask, [in] ULONG32 regCount, + [out] CORDB_REGISTER regBuffer[]); + HRESULT SetRegisters([in] ULONG64 mask, [in] ULONG32 regCount, + [in] CORDB_REGISTER regBuffer[]); + HRESULT GetThreadContext([in] ULONG32 contextSize, [in, out] BYTE context[]); + HRESULT SetThreadContext([in] ULONG32 contextSize, [in] BYTE context[]); +} + +[ + object, + local, + uuid(CC7BCAF6-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugEval : IUnknown +{ + HRESULT CallFunction([in] ICorDebugFunction *pFunction, [in] ULONG32 nArgs, + [in] ICorDebugValue *ppArgs[]); + HRESULT NewObject([in] ICorDebugFunction *pConstructor, [in] ULONG32 nArgs, + [in] ICorDebugValue *ppArgs[]); + HRESULT NewObjectNoConstructor([in] ICorDebugClass *pClass); + HRESULT NewString([in] LPCWSTR string); + HRESULT NewArray([in] CorElementType elementType, [in] ICorDebugClass *pElementClass, + [in] ULONG32 rank, [in] ULONG32 dims[], [in] ULONG32 lowBounds[]); + HRESULT IsActive([out] BOOL *pbActive); + HRESULT Abort(); + HRESULT GetResult([out] ICorDebugValue **ppResult); + HRESULT GetThread([out] ICorDebugThread **ppThread); + HRESULT CreateValue([in] CorElementType elementType, [in] ICorDebugClass *pElementClass, + [out] ICorDebugValue **ppValue); +}; + +[ + object, + local, + uuid(6DC3FA01-D7CB-11d2-8A95-0080C792E5D8), + pointer_default(unique) +] +interface ICorDebugEditAndContinueSnapshot : IUnknown +{ + HRESULT CopyMetaData([in] IStream *pIStream, [out] GUID *pMvid); + HRESULT GetMvid([out] GUID *pMvid); + HRESULT GetRoDataRVA([out] ULONG32 *pRoDataRVA); + HRESULT GetRwDataRVA([out] ULONG32 *pRwDataRVA); + HRESULT SetPEBytes([in] IStream *pIStream); + HRESULT SetILMap([in] mdToken mdFunction, [in] ULONG cMapSize, [in] COR_IL_MAP map[]); + HRESULT SetPESymbolBytes([in] IStream *pIStream); +}; + +[ + object, + local, + uuid(dba2d8c1-e5c5-4069-8c13-10a7c6abf43d), + pointer_default(unique) +] +interface ICorDebugModule : IUnknown +{ + HRESULT GetProcess([out] ICorDebugProcess **ppProcess); + HRESULT GetBaseAddress([out] CORDB_ADDRESS *pAddress); + HRESULT GetAssembly([out] ICorDebugAssembly **ppAssembly); + HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]); + HRESULT EnableJITDebugging([in] BOOL bTrackJITInfo, [in] BOOL bAllowJitOpts); + HRESULT EnableClassLoadCallbacks([in] BOOL bClassLoadCallbacks); + HRESULT GetFunctionFromToken([in] mdMethodDef methodDef, [out] ICorDebugFunction **ppFunction); + HRESULT GetFunctionFromRVA([in] CORDB_ADDRESS rva, [out] ICorDebugFunction **ppFunction); + HRESULT GetClassFromToken([in] mdTypeDef typeDef, [out] ICorDebugClass **ppClass); + HRESULT CreateBreakpoint([out] ICorDebugModuleBreakpoint **ppBreakpoint); + HRESULT GetEditAndContinueSnapshot([out] ICorDebugEditAndContinueSnapshot **ppEditAndContinueSnapshot); + HRESULT GetMetaDataInterface([in] REFIID riid, [out] IUnknown **ppObj); + HRESULT GetToken([out] mdModule *pToken); + HRESULT IsDynamic([out] BOOL *pDynamic); + HRESULT GetGlobalVariableValue([in] mdFieldDef fieldDef, [out] ICorDebugValue **ppValue); + HRESULT GetSize([out] ULONG32 *pcBytes); + HRESULT IsInMemory([out] BOOL *pInMemory); +}; + +[ + object, + local, + uuid(CC7BCAF5-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugClass : IUnknown +{ + HRESULT GetModule([out] ICorDebugModule **pModule); + HRESULT GetToken([out] mdTypeDef *pTypeDef); + HRESULT GetStaticFieldValue([in] mdFieldDef fieldDef, [in] ICorDebugFrame *pFrame, + [out] ICorDebugValue **ppValue); +}; + +[ + object, + local, + uuid(df59507c-d47a-459e-bce2-6427eac8fd06), + pointer_default(unique) +] +interface ICorDebugAssembly : IUnknown +{ + HRESULT GetProcess([out] ICorDebugProcess **ppProcess); + HRESULT GetAppDomain([out] ICorDebugAppDomain **ppAppDomain); + HRESULT EnumerateModules([out] ICorDebugModuleEnum **ppModules); + HRESULT GetCodeBase([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]); + HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]); +}; + + +[ + object, + local, + uuid(CC7BCAF3-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugFunction : IUnknown +{ + HRESULT GetModule([out] ICorDebugModule **ppModule); + HRESULT GetClass([out] ICorDebugClass **ppClass); + HRESULT GetToken([out] mdMethodDef *pMethodDef); + HRESULT GetILCode([out] ICorDebugCode **ppCode); + HRESULT GetNativeCode([out] ICorDebugCode **ppCode); + HRESULT CreateBreakpoint([out] ICorDebugFunctionBreakpoint **ppBreakpoint); + HRESULT GetLocalVarSigToken([out] mdSignature *pmdSig); + HRESULT GetCurrentVersionNumber([out] ULONG32 *pnCurrentVersion); +}; + +[ + object, + local, + uuid(5263E909-8CB5-11d3-BD2F-0000F80849BD), + pointer_default(unique) +] +interface ICorDebugUnmanagedCallback : IUnknown +{ + HRESULT DebugEvent([in] LPDEBUG_EVENT pDebugEvent, [in] BOOL fOutOfBand); +}; + +[ + object, + local, + uuid(8D600D41-F4F6-4cb3-B7EC-7BD164944036), + pointer_default(unique) +] +interface ICorDebugEditAndContinueErrorInfo : IUnknown +{ + HRESULT GetModule([out] ICorDebugModule **ppModule); + HRESULT GetToken([out]mdToken *pToken); + HRESULT GetErrorCode([out]HRESULT *pHr); + HRESULT GetString([in] ULONG32 cchString, [out] ULONG32 *pcchString, + [out] WCHAR szString[]); +} + +[ + object, + local, + uuid(18AD3D6E-B7D2-11d2-BD04-0000F80849BD), + pointer_default(unique) +] +interface ICorDebugObjectValue : ICorDebugValue +{ + HRESULT GetClass([out] ICorDebugClass **ppClass); + HRESULT GetFieldValue([in] ICorDebugClass *pClass, [in] mdFieldDef fieldDef, + [out] ICorDebugValue **ppValue); + HRESULT GetVirtualMethod([in] mdMemberRef memberRef, [out] ICorDebugFunction **ppFunction); + HRESULT GetContext([out] ICorDebugContext **ppContext); + HRESULT IsValueClass([out] BOOL *pbIsValueClass); + HRESULT GetManagedCopy([out] IUnknown **ppObject); + HRESULT SetFromManagedCopy([in] IUnknown *pObject); +}; + +[ + object, + local, + uuid(CC7BCB00-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugContext : ICorDebugObjectValue +{ +}; + +[ + object, + local, + uuid(CC7BCAF4-8A68-11d2-983C-0000F808342D), + pointer_default(unique) +] +interface ICorDebugCode : IUnknown +{ + HRESULT IsIL([out] BOOL *pbIL); + HRESULT GetFunction([out] ICorDebugFunction **ppFunction); + HRESULT GetAddress([out] CORDB_ADDRESS *pStart); + HRESULT GetSize([out] ULONG32 *pcBytes); + HRESULT CreateBreakpoint([in] ULONG32 offset, [out] ICorDebugFunctionBreakpoint **ppBreakpoint); + HRESULT GetCode([in] ULONG32 startOffset, [in] ULONG32 endOffset, + [in] ULONG32 cBufferAlloc, [out] BYTE buffer[], [out] ULONG32 *pcBufferSize); + HRESULT GetVersionNumber([out] ULONG32 *nVersion); + HRESULT GetILToNativeMapping([in] ULONG32 cMap, [out] ULONG32 *pcMap, + [out] COR_DEBUG_IL_TO_NATIVE_MAP map[]); + HRESULT GetEnCRemapSequencePoints([in] ULONG32 cMap,[out] ULONG32 *pcMap, + [out] ULONG32 offsets[]); +}; + +[ + object, + local, + uuid(CC726F2F-1DB7-459b-B0EC-05F01D841B42), + pointer_default(unique) +] +interface ICorDebugMDA : IUnknown +{ + HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 * pcchName, [out] WCHAR szName[]); + + HRESULT GetDescription([in] ULONG32 cchName, [out] ULONG32 * pcchName, [out] WCHAR szName[]); + + HRESULT GetXML([in] ULONG32 cchName, [out] ULONG32 * pcchName, [out] WCHAR szName[]); + + typedef enum CorDebugMDAFlags + { + MDA_FLAG_SLIP = 0x2 + } CorDebugMDAFlags; + + HRESULT GetFlags([in] CorDebugMDAFlags * pFlags); + + HRESULT GetOSThreadId([out] DWORD * pOsTid); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/corerror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/corerror.h new file mode 100644 index 0000000..bc6e3e9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/corerror.h @@ -0,0 +1,1269 @@ +/* + * Copyright 2008 James Hawkins + * Copyright 2014 Kai Tietz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_CORERROR_H +#define __WINE_CORERROR_H + +#include + +#ifndef FACILITY_URT +#define FACILITY_URT 0x13 +#endif + +#ifndef EMAKEHR +#define SMAKEHR(val) MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_URT, val) +#define EMAKEHR(val) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_URT, val) +#endif + +#define COR_E_ARGUMENT E_INVALIDARG +#define COR_E_INVALIDCAST E_NOINTERFACE +#define COR_E_NULLREFERENCE E_POINTER +#define COR_E_OUTOFMEMORY E_OUTOFMEMORY +#define COR_E_UNAUTHORIZEDACCESS E_ACCESSDENIED + +#define COR_E_ARITHMETIC HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW) +#define COR_E_STACKOVERFLOW HRESULT_FROM_WIN32(ERROR_STACK_OVERFLOW) +#define COR_E_ENDOFSTREAM HRESULT_FROM_WIN32(ERROR_HANDLE_EOF) +#define COR_E_FILENOTFOUND HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) +#define COR_E_BAD_PATHNAME HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME) +#define COR_E_DIRECTORYNOTFOUND HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) +#define COR_E_PATHTOOLONG HRESULT_FROM_WIN32(ERROR_FILENAME_EXCED_RANGE) + +#define COR_E_AMBIGUOUSMATCH _HRESULT_TYPEDEF_(0x8000211D) +#define COR_E_TARGETPARAMCOUNT _HRESULT_TYPEDEF_(0x8002000E) +#define COR_E_DIVIDEBYZERO _HRESULT_TYPEDEF_(0x80020012) +#define COR_E_BADIMAGEFORMAT _HRESULT_TYPEDEF_(0x8007000B) + +#define COR_E_ASSEMBLYEXPECTED EMAKEHR(0x1018) +#define COR_E_TYPEUNLOADED EMAKEHR(0x1013) +#define COR_E_APPDOMAINUNLOADED EMAKEHR(0x1014) +#define COR_E_CANNOTUNLOADAPPDOMAIN EMAKEHR(0x1015) +#define COR_E_FIXUPSINEXE EMAKEHR(0x1019) +#define COR_E_NO_LOADLIBRARY_ALLOWED EMAKEHR(0x101a) +#define COR_E_NEWER_RUNTIME EMAKEHR(0x101b) +#define COR_E_CANNOT_SET_POLICY EMAKEHR(0x101c) +#define COR_E_CANNOT_SPECIFY_EVIDENCE EMAKEHR(0x101d) +#define COR_E_MULTIMODULEASSEMBLIESDIALLOWED EMAKEHR(0x101e) +#define COR_E_MODULE_HASH_CHECK_FAILED EMAKEHR(0x1039) +#define COR_E_ASSEMBLY_NOT_EXPECTED EMAKEHR(0x1057) +#define COR_E_EXCEPTION EMAKEHR(0x1500) +#define COR_E_SYSTEM EMAKEHR(0x1501) +#define COR_E_ARGUMENTOUTOFRANGE EMAKEHR(0x1502) +#define COR_E_ARRAYTYPEMISMATCH EMAKEHR(0x1503) +#define COR_E_CONTEXTMARSHAL EMAKEHR(0x1504) +#define COR_E_TIMEOUT EMAKEHR(0x1505) +#define COR_E_EXECUTIONENGINE EMAKEHR(0x1506) +#define COR_E_FIELDACCESS EMAKEHR(0x1507) +#define COR_E_INDEXOUTOFRANGE EMAKEHR(0x1508) +#define COR_E_INVALIDOPERATION EMAKEHR(0x1509) +#define COR_E_SECURITY EMAKEHR(0x150A) +#define COR_E_REMOTING EMAKEHR(0x150B) +#define COR_E_SERIALIZATION EMAKEHR(0x150C) +#define COR_E_VERIFICATION EMAKEHR(0x150D) +#define COR_E_SERVER EMAKEHR(0x150E) +#define COR_E_SERVICEDCOMPONENT EMAKEHR(0x150F) +#define COR_E_METHODACCESS EMAKEHR(0x1510) +#define COR_E_MISSINGFIELD EMAKEHR(0x1511) +#define COR_E_MISSINGMEMBER EMAKEHR(0x1512) +#define COR_E_MISSINGMETHOD EMAKEHR(0x1513) +#define COR_E_MULTICASTNOTSUPPORTED EMAKEHR(0x1514) +#define COR_E_NOTSUPPORTED EMAKEHR(0x1515) +#define COR_E_OVERFLOW EMAKEHR(0x1516) +#define COR_E_RANK EMAKEHR(0x1517) +#define COR_E_SYNCHRONIZATIONLOCK EMAKEHR(0x1518) +#define COR_E_THREADINTERRUPTED EMAKEHR(0x1519) +#define COR_E_MEMBERACCESS EMAKEHR(0x151A) +#define COR_E_THREADSTATE EMAKEHR(0x1520) +#define COR_E_THREADSTOP EMAKEHR(0x1521) +#define COR_E_TYPELOAD EMAKEHR(0x1522) +#define COR_E_ENTRYPOINTNOTFOUND EMAKEHR(0x1523) +#define COR_E_DLLNOTFOUND EMAKEHR(0x1524) +#define COR_E_THREADSTART EMAKEHR(0x1525) +#define COR_E_INVALIDCOMOBJECT EMAKEHR(0x1527) +#define COR_E_NOTFINITENUMBER EMAKEHR(0x1528) +#define COR_E_DUPLICATEWAITOBJECT EMAKEHR(0x1529) +#define COR_E_SEMAPHOREFULL EMAKEHR(0x152B) +#define COR_E_WAITHANDLECANNOTBEOPENED EMAKEHR(0x152C) +#define COR_E_ABANDONEDMUTEX EMAKEHR(0x152D) +#define COR_E_THREADABORTED EMAKEHR(0x1530) +#define COR_E_INVALIDOLEVARIANTTYPE EMAKEHR(0x1531) +#define COR_E_MISSINGMANIFESTRESOURCE EMAKEHR(0x1532) +#define COR_E_SAFEARRAYTYPEMISMATCH EMAKEHR(0x1533) +#define COR_E_TYPEINITIALIZATION EMAKEHR(0x1534) +#define COR_E_MARSHALDIRECTIVE EMAKEHR(0x1535) +#define COR_E_MISSINGSATELLITEASSEMBLY EMAKEHR(0x1536) +#define COR_E_FORMAT EMAKEHR(0x1537) +#define COR_E_SAFEARRAYRANKMISMATCH EMAKEHR(0x1538) +#define COR_E_PLATFORMNOTSUPPORTED EMAKEHR(0x1539) +#define COR_E_INVALIDPROGRAM EMAKEHR(0x153A) +#define COR_E_OPERATIONCANCELED EMAKEHR(0x153B) +#define COR_E_INSUFFICIENTMEMORY EMAKEHR(0x153D) +#define COR_E_RUNTIMEWRAPPED EMAKEHR(0x153E) +#define COR_E_DEVICESNOTSUPPORTED EMAKEHR(0x1540) +#define COR_E_DATAMISALIGNED EMAKEHR(0x1541) +#define COR_E_CODECONTRACTFAILED EMAKEHR(0x1542) +#define COR_E_TYPEACCESS EMAKEHR(0x1543) +#define COR_E_ACCESSING_CCW EMAKEHR(0x1544) +#define COR_E_LOADING_REFERENCE_ASSEMBLY EMAKEHR(0x1058) +#define COR_E_KEYNOTFOUND EMAKEHR(0x1577) +#define COR_E_INSUFFICIENTEXECUTIONSTACK EMAKEHR(0x1578) +#define COR_E_APPLICATION EMAKEHR(0x1600) +#define COR_E_INVALIDFILTERCRITERIA EMAKEHR(0x1601) +#define COR_E_REFLECTIONTYPELOAD EMAKEHR(0x1602) +#define COR_E_TARGET EMAKEHR(0x1603) +#define COR_E_TARGETINVOCATION EMAKEHR(0x1604) +#define COR_E_CUSTOMATTRIBUTEFORMAT EMAKEHR(0x1605) +#define COR_E_IO EMAKEHR(0x1620) +#define COR_E_FILELOAD EMAKEHR(0x1621) +#define COR_E_OBJECTDISPOSED EMAKEHR(0x1622) +#define COR_E_FAILFAST EMAKEHR(0x1623) +#define COR_E_HOSTPROTECTION EMAKEHR(0x1640) +#define COR_E_ILLEGAL_REENTRANCY EMAKEHR(0x1641) + +#define COR_E_SqlException EMAKEHR(0x1904) +#define COR_E_Data EMAKEHR(0x1920) +#define COR_E_DataDeletedRowInaccessible EMAKEHR(0x1921) +#define COR_E_DataDuplicateName EMAKEHR(0x1922) +#define COR_E_DataInRowChangingEvent EMAKEHR(0x1923) +#define COR_E_DataInvalidConstraint EMAKEHR(0x1924) +#define COR_E_DataMissingPrimaryKey EMAKEHR(0x1925) +#define COR_E_DataNoNullAllowed EMAKEHR(0x1926) +#define COR_E_DataReadOnly EMAKEHR(0x1927) +#define COR_E_DataRowNotInTable EMAKEHR(0x1928) +#define COR_E_DataVersionNotFound EMAKEHR(0x1929) +#define COR_E_DataConstraint EMAKEHR(0x192a) +#define COR_E_StrongTyping EMAKEHR(0x192b) +#define COR_E_SqlType EMAKEHR(0x1930) +#define COR_E_SqlNullValue EMAKEHR(0x1931) +#define COR_E_SqlTruncate EMAKEHR(0x1932) +#define COR_E_AdapterMapping EMAKEHR(0x1933) +#define COR_E_DataAdapter EMAKEHR(0x1934) +#define COR_E_DBConcurrency EMAKEHR(0x1935) +#define COR_E_OperationAborted EMAKEHR(0x1936) +#define COR_E_InvalidUdt EMAKEHR(0x1937) +#define COR_E_OdbcException EMAKEHR(0x1937) +#define COR_E_OracleException EMAKEHR(0x1938) +#define COR_E_Xml EMAKEHR(0x1940) +#define COR_E_XmlSchema EMAKEHR(0x1941) +#define COR_E_XmlXslt EMAKEHR(0x1942) +#define COR_E_XmlXPath EMAKEHR(0x1943) +#define COR_E_XmlQuery EMAKEHR(0x1944) + +#define FUSION_E_REF_DEF_MISMATCH EMAKEHR(0x1040) +#define FUSION_E_INVALID_PRIVATE_ASM_LOCATION EMAKEHR(0x1041) +#define FUSION_E_ASM_MODULE_MISSING EMAKEHR(0x1042) +#define FUSION_E_UNEXPECTED_MODULE_FOUND EMAKEHR(0x1043) +#define FUSION_E_PRIVATE_ASM_DISALLOWED EMAKEHR(0x1044) +#define FUSION_E_SIGNATURE_CHECK_FAILED EMAKEHR(0x1045) +#define FUSION_E_DATABASE_ERROR EMAKEHR(0x1046) +#define FUSION_E_INVALID_NAME EMAKEHR(0x1047) +#define FUSION_E_CODE_DOWNLOAD_DISABLED EMAKEHR(0x1048) +#define FUSION_E_UNINSTALL_DISALLOWED EMAKEHR(0x1049) +#define FUSION_E_HOST_GAC_ASM_MISMATCH EMAKEHR(0x1050) +#define FUSION_E_LOADFROM_BLOCKED EMAKEHR(0x1051) +#define FUSION_E_CACHEFILE_FAILED EMAKEHR(0x1052) +#define FUSION_E_APP_DOMAIN_LOCKED EMAKEHR(0x1053) +#define FUSION_E_CONFIGURATION_ERROR EMAKEHR(0x1054) +#define FUSION_E_MANIFEST_PARSE_ERROR EMAKEHR(0x1055) +#define FUSION_E_INVALID_ASSEMBLY_REFERENCE EMAKEHR(0x1056) + +#define CLDB_E_FILE_BADREAD EMAKEHR(0x1100) +#define CLDB_E_FILE_BADWRITE EMAKEHR(0x1101) +#define CLDB_E_FILE_READONLY EMAKEHR(0x1103) +#define CLDB_E_NAME_ERROR EMAKEHR(0x1105) +#define CLDB_E_TRUNCATION EMAKEHR(0x1106) +#define CLDB_E_FILE_OLDVER EMAKEHR(0x1107) +#define CLDB_E_RELOCATED EMAKEHR(0x1108) +#define CLDB_E_SMDUPLICATE EMAKEHR(0x110a) +#define CLDB_E_NO_DATA EMAKEHR(0x110b) +#define CLDB_E_READONLY EMAKEHR(0x110c) +#define CLDB_E_INCOMPATIBLE EMAKEHR(0x110d) +#define CLDB_E_FILE_CORRUPT EMAKEHR(0x110e) +#define CLDB_E_SCHEMA_VERNOTFOUND EMAKEHR(0x110f) +#define CLDB_E_BADUPDATEMODE EMAKEHR(0x1110) +#define CLDB_E_INDEX_NONULLKEYS EMAKEHR(0x1121) +#define CLDB_E_INDEX_DUPLICATE EMAKEHR(0x1122) +#define CLDB_E_INDEX_BADTYPE EMAKEHR(0x1123) +#define CLDB_E_INDEX_NOTFOUND EMAKEHR(0x1124) +#define CLDB_E_RECORD_NOTFOUND EMAKEHR(0x1130) +#define CLDB_E_RECORD_OVERFLOW EMAKEHR(0x1131) +#define CLDB_E_RECORD_DUPLICATE EMAKEHR(0x1132) +#define CLDB_E_RECORD_PKREQUIRED EMAKEHR(0x1133) +#define CLDB_E_RECORD_DELETED EMAKEHR(0x1134) +#define CLDB_E_RECORD_OUTOFORDER EMAKEHR(0x1135) +#define CLDB_E_COLUMN_OVERFLOW EMAKEHR(0x1140) +#define CLDB_E_COLUMN_READONLY EMAKEHR(0x1141) +#define CLDB_E_COLUMN_SPECIALCOL EMAKEHR(0x1142) +#define CLDB_E_COLUMN_PKNONULLS EMAKEHR(0x1143) +#define CLDB_E_TABLE_CANTDROP EMAKEHR(0x1150) +#define CLDB_E_OBJECT_NOTFOUND EMAKEHR(0x1151) +#define CLDB_E_OBJECT_COLNOTFOUND EMAKEHR(0x1152) +#define CLDB_E_VECTOR_BADINDEX EMAKEHR(0x1153) +#define CLDB_E_TOO_BIG EMAKEHR(0x1154) +#define CLDB_E_INTERNALERROR EMAKEHR(0x1fff) + +#define CLDB_S_TRUNCATION SMAKEHR(0x1106) +#define CLDB_S_NULL SMAKEHR(0x1109) +#define CLDB_S_INDEX_TABLESCANREQUIRED SMAKEHR(0x1125) + +#define CLR_E_APP_CONFIG_NOT_ALLOWED_IN_APPX_PROCESS EMAKEHR(0x104a) +#define CLR_E_SHIM_RUNTIME EMAKEHR(0x1700) +#define CLR_E_SHIM_RUNTIMELOAD EMAKEHR(0x1700) +#define CLR_E_SHIM_RUNTIMEEXPORT EMAKEHR(0x1701) +#define CLR_E_SHIM_INSTALLROOT EMAKEHR(0x1702) +#define CLR_E_SHIM_INSTALLCOMP EMAKEHR(0x1703) +#define CLR_E_SHIM_LEGACYRUNTIMEALREADYBOUND EMAKEHR(0x1704) +#define CLR_E_SHIM_SHUTDOWNINPROGRESS EMAKEHR(0x1705) +#define CLR_E_BIND_ASSEMBLY_VERSION_TOO_LOW EMAKEHR(0x2000) +#define CLR_E_BIND_ASSEMBLY_PUBLIC_KEY_MISMATCH EMAKEHR(0x2001) +#define CLR_E_BIND_IMAGE_UNAVAILABLE EMAKEHR(0x2002) +#define CLR_E_BIND_UNRECOGNIZED_IDENTITY_FORMAT EMAKEHR(0x2003) +#define CLR_E_BIND_ASSEMBLY_NOT_FOUND EMAKEHR(0x2004) +#define CLR_E_BIND_TYPE_NOT_FOUND EMAKEHR(0x2005) + +#define CLR_OPTSVC_E_CONTROLLER_INTERRUPT EMAKEHR(0x1e00) + +#define META_S_PARAM_MISMATCH SMAKEHR(0x1189) +#define META_S_DUPLICATE SMAKEHR(0x1197) + +#define TLBX_E_INVALID_TYPEINFO EMAKEHR(0x1160) +#define TLBX_E_INVALID_TYPEINFO_UNNAMED EMAKEHR(0x1161) +#define TLBX_E_CTX_NESTED EMAKEHR(0x1162) +#define TLBX_E_ERROR_MESSAGE EMAKEHR(0x1163) +#define TLBX_E_CANT_SAVE EMAKEHR(0x1164) +#define TLBX_E_CANTLOADLIBRARY EMAKEHR(0x1166) +#define TLBX_E_BAD_VT_TYPE EMAKEHR(0x1167) +#define TLBX_E_NO_MSCOREE_TLB EMAKEHR(0x1168) +#define TLBX_E_BAD_MSCOREE_TLB EMAKEHR(0x1169) +#define TLBX_E_TLB_EXCEPTION EMAKEHR(0x116a) +#define TLBX_E_MULTIPLE_LCIDS EMAKEHR(0x116b) +#define TLBX_E_AMBIGUOUS_RETURN EMAKEHR(0x116d) +#define TLBX_E_DUPLICATE_TYPE_NAME EMAKEHR(0x116e) +#define TLBX_E_ASANY EMAKEHR(0x1175) +#define TLBX_E_INVALIDLCIDPARAM EMAKEHR(0x1176) +#define TLBX_E_LCIDONDISPONLYITF EMAKEHR(0x1177) +#define TLBX_E_NONPUBLIC_FIELD EMAKEHR(0x1178) +#define TLBX_E_BAD_NAMES EMAKEHR(0x117b) +#define TLBX_E_GENERICINST_SIGNATURE EMAKEHR(0x117d) +#define TLBX_E_GENERICPAR_SIGNATURE EMAKEHR(0x117e) +#define TLBX_E_NO_SAFEHANDLE_ARRAYS EMAKEHR(0x1186) +#define TLBX_E_NO_CRITICALHANDLE_ARRAYS EMAKEHR(0x118c) +#define TLBX_E_CANT_LOAD_MODULE EMAKEHR(0x11a0) +#define TLBX_E_CANT_LOAD_CLASS EMAKEHR(0x11a1) +#define TLBX_E_NULL_MODULE EMAKEHR(0x11a2) +#define TLBX_E_NO_CLSID_KEY EMAKEHR(0x11a3) +#define TLBX_E_CIRCULAR_EXPORT EMAKEHR(0x11a4) +#define TLBX_E_CIRCULAR_IMPORT EMAKEHR(0x11a5) +#define TLBX_E_BAD_NATIVETYPE EMAKEHR(0x11a6) +#define TLBX_E_BAD_VTABLE EMAKEHR(0x11a7) +#define TLBX_E_CRM_NON_STATIC EMAKEHR(0x11a8) +#define TLBX_E_CRM_INVALID_SIG EMAKEHR(0x11a9) +#define TLBX_E_CLASS_LOAD_EXCEPTION EMAKEHR(0x11aa) +#define TLBX_E_UNKNOWN_SIGNATURE EMAKEHR(0x11ab) +#define TLBX_E_REFERENCED_TYPELIB EMAKEHR(0x11ac) +#define TLBX_E_INVALID_NAMESPACE EMAKEHR(0x11ad) +#define TLBX_E_LAYOUT_ERROR EMAKEHR(0x11ae) +#define TLBX_E_NOTIUNKNOWN EMAKEHR(0x11af) +#define TLBX_E_NONVISIBLEVALUECLASS EMAKEHR(0x11b0) +#define TLBX_E_LPTSTR_NOT_ALLOWED EMAKEHR(0x11b1) +#define TLBX_E_AUTO_CS_NOT_ALLOWED EMAKEHR(0x11b2) +#define TLBX_E_ENUM_VALUE_INVALID EMAKEHR(0x11b5) +#define TLBX_E_DUPLICATE_IID EMAKEHR(0x11b6) +#define TLBX_E_NO_NESTED_ARRAYS EMAKEHR(0x11b7) +#define TLBX_E_PARAM_ERROR_NAMED EMAKEHR(0x11b8) +#define TLBX_E_PARAM_ERROR_UNNAMED EMAKEHR(0x11b9) +#define TLBX_E_AGNOST_SIGNATURE EMAKEHR(0x11ba) +#define TLBX_E_CONVERT_FAIL EMAKEHR(0x11bb) +#define TLBX_E_BAD_SIGNATURE EMAKEHR(0x11bd) +#define TLBX_E_ARRAY_NEEDS_NT_FIXED EMAKEHR(0x11be) +#define TLBX_E_CLASS_NEEDS_NT_INTF EMAKEHR(0x11bf) +#define TLBX_E_TYPED_REF EMAKEHR(0x11da) +#define TLBX_E_BITNESS_MISMATCH EMAKEHR(0x11e1) +#define TLBX_E_EVENT_WITH_NEWENUM EMAKEHR(0x11e2) +#define TLBX_E_PROPGET_WITHOUT_RETURN EMAKEHR(0x11e3) +#define TLBX_E_CIRCULAR_EXPORT2 EMAKEHR(0x1b52) + +#define TLBX_I_TYPEINFO_IMPORTED SMAKEHR(0x116c) +#define TLBX_I_PIA_REGISTERED_FOR_TLB SMAKEHR(0x116d) +#define TLBX_I_AGNOSTIC_ASSEMBLY SMAKEHR(0x116e) +#define TLBX_I_USEIUNKNOWN SMAKEHR(0x116f) +#define TLBX_I_UNCONVERTABLE_ARGS SMAKEHR(0x1170) +#define TLBX_I_UNCONVERTABLE_FIELD SMAKEHR(0x1171) +#define TLBX_I_NONSEQUENTIALSTRUCT EMAKEHR(0x1172) +#define TLBX_I_RESOLVEREFFAILED EMAKEHR(0x1174) +#define TLBX_I_TYPE_EXPORTED SMAKEHR(0x1179) +#define TLBX_I_DUPLICATE_DISPID SMAKEHR(0x117a) +#define TLBX_I_REF_TYPE_AS_STRUCT SMAKEHR(0x117c) +#define TLBX_I_GENERIC_TYPE SMAKEHR(0x117f) +#define TLBX_I_GENERIC_BASE_TYPE SMAKEHR(0x11e0) + +#define TLBX_S_REFERENCED_TYPELIB SMAKEHR(0x11ac) +#define TLBX_S_NOSTDINTERFACE SMAKEHR(0x11b3) +#define TLBX_S_DUPLICATE_DISPID SMAKEHR(0x11b4) + +#define TLBX_W_LIBNOTREGISTERED EMAKEHR(0x1165) +#define TLBX_W_WARNING_MESSAGE SMAKEHR(0x1173) +#define TLBX_W_ASSEMBLY_HAS_EMBEDDED_TLB SMAKEHR(0x1174) +#define TLBX_W_CROSS_COMPILE_NO_REFS SMAKEHR(0x1175) +#define TLBX_W_PURE_CROSS_COMPILE SMAKEHR(0x1176) +#define TLBX_W_NON_INTEGRAL_CA_TYPE SMAKEHR(0x1184) +#define TLBX_W_IENUM_CA_ON_IUNK SMAKEHR(0x1185) +#define TLBX_W_DUAL_NOT_DISPATCH EMAKEHR(0x11bc) +#define TLBX_W_NO_PROPS_IN_EVENTS EMAKEHR(0x11d3) +#define TLBX_W_ENUM_VALUE_TOOBIG SMAKEHR(0x11d5) +#define TLBX_W_EXPORTING_AUTO_LAYOUT SMAKEHR(0x11d9) +#define TLBX_W_DEFAULT_INTF_NOT_VISIBLE SMAKEHR(0x11db) +#define TLBX_W_BAD_SAFEARRAYFIELD_NO_ELEMENTVT SMAKEHR(0x11de) +#define TLBX_W_LAYOUTCLASS_AS_INTERFACE SMAKEHR(0x11df) + +#define VLDTR_E_RID_OUTOFRANGE EMAKEHR(0x1203) +#define VLDTR_E_CDTKN_OUTOFRANGE EMAKEHR(0x1204) +#define VLDTR_E_CDRID_OUTOFRANGE EMAKEHR(0x1205) +#define VLDTR_E_STRING_INVALID EMAKEHR(0x1206) +#define VLDTR_E_GUID_INVALID EMAKEHR(0x1207) +#define VLDTR_E_BLOB_INVALID EMAKEHR(0x1208) +#define VLDTR_E_MOD_MULTI EMAKEHR(0x1209) +#define VLDTR_E_MOD_NULLMVID EMAKEHR(0x120a) +#define VLDTR_E_TR_NAMENULL EMAKEHR(0x120b) +#define VLDTR_E_TR_DUP EMAKEHR(0x120c) +#define VLDTR_E_TD_NAMENULL EMAKEHR(0x120d) +#define VLDTR_E_TD_DUPNAME EMAKEHR(0x120e) +#define VLDTR_E_TD_DUPGUID EMAKEHR(0x120f) +#define VLDTR_E_TD_NOTIFACEOBJEXTNULL EMAKEHR(0x1210) +#define VLDTR_E_TD_OBJEXTENDSNONNULL EMAKEHR(0x1211) +#define VLDTR_E_TD_EXTENDSSEALED EMAKEHR(0x1212) +#define VLDTR_E_TD_DLTNORTSPCL EMAKEHR(0x1213) +#define VLDTR_E_TD_RTSPCLNOTDLT EMAKEHR(0x1214) +#define VLDTR_E_MI_DECLPRIV EMAKEHR(0x1215) +#define VLDTR_E_AS_BADNAME EMAKEHR(0x1216) +#define VLDTR_E_FILE_SYSNAME EMAKEHR(0x1217) +#define VLDTR_E_MI_BODYSTATIC EMAKEHR(0x1218) +#define VLDTR_E_TD_IFACENOTABS EMAKEHR(0x1219) +#define VLDTR_E_TD_IFACEPARNOTNIL EMAKEHR(0x121a) +#define VLDTR_E_TD_IFACEGUIDNULL EMAKEHR(0x121b) +#define VLDTR_E_MI_DECLFINAL EMAKEHR(0x121c) +#define VLDTR_E_TD_VTNOTSEAL EMAKEHR(0x121d) +#define VLDTR_E_PD_BADFLAGS EMAKEHR(0x121e) +#define VLDTR_E_IFACE_DUP EMAKEHR(0x121f) +#define VLDTR_E_MR_NAMENULL EMAKEHR(0x1220) +#define VLDTR_E_MR_VTBLNAME EMAKEHR(0x1221) +#define VLDTR_E_MR_DELNAME EMAKEHR(0x1222) +#define VLDTR_E_MR_PARNIL EMAKEHR(0x1223) +#define VLDTR_E_MR_BADCALLINGCONV EMAKEHR(0x1224) +#define VLDTR_E_MR_NOTVARARG EMAKEHR(0x1225) +#define VLDTR_E_MR_NAMEDIFF EMAKEHR(0x1226) +#define VLDTR_E_MR_SIGDIFF EMAKEHR(0x1227) +#define VLDTR_E_MR_DUP EMAKEHR(0x1228) +#define VLDTR_E_CL_TDAUTO EMAKEHR(0x1229) +#define VLDTR_E_CL_BADPCKSZ EMAKEHR(0x122a) +#define VLDTR_E_CL_DUP EMAKEHR(0x122b) +#define VLDTR_E_FL_BADOFFSET EMAKEHR(0x122c) +#define VLDTR_E_FL_TDNIL EMAKEHR(0x122d) +#define VLDTR_E_FL_NOCL EMAKEHR(0x122e) +#define VLDTR_E_FL_TDNOTEXPLCT EMAKEHR(0x122f) +#define VLDTR_E_FL_FLDSTATIC EMAKEHR(0x1230) +#define VLDTR_E_FL_DUP EMAKEHR(0x1231) +#define VLDTR_E_MODREF_NAMENULL EMAKEHR(0x1232) +#define VLDTR_E_MODREF_DUP EMAKEHR(0x1233) +#define VLDTR_E_TR_BADSCOPE EMAKEHR(0x1234) +#define VLDTR_E_TD_NESTEDNOENCL EMAKEHR(0x1235) +#define VLDTR_E_TD_EXTTRRES EMAKEHR(0x1236) +#define VLDTR_E_SIGNULL EMAKEHR(0x1237) +#define VLDTR_E_SIGNODATA EMAKEHR(0x1238) +#define VLDTR_E_MD_BADCALLINGCONV EMAKEHR(0x1239) +#define VLDTR_E_MD_THISSTATIC EMAKEHR(0x123a) +#define VLDTR_E_MD_NOTTHISNOTSTATIC EMAKEHR(0x123b) +#define VLDTR_E_MD_NOARGCNT EMAKEHR(0x123c) +#define VLDTR_E_SIG_MISSELTYPE EMAKEHR(0x123d) +#define VLDTR_E_SIG_MISSTKN EMAKEHR(0x123e) +#define VLDTR_E_SIG_TKNBAD EMAKEHR(0x123f) +#define VLDTR_E_SIG_MISSFPTR EMAKEHR(0x1240) +#define VLDTR_E_SIG_MISSFPTRARGCNT EMAKEHR(0x1241) +#define VLDTR_E_SIG_MISSRANK EMAKEHR(0x1242) +#define VLDTR_E_SIG_MISSNSIZE EMAKEHR(0x1243) +#define VLDTR_E_SIG_MISSSIZE EMAKEHR(0x1244) +#define VLDTR_E_SIG_MISSNLBND EMAKEHR(0x1245) +#define VLDTR_E_SIG_MISSLBND EMAKEHR(0x1246) +#define VLDTR_E_SIG_BADELTYPE EMAKEHR(0x1247) +#define VLDTR_E_SIG_MISSVASIZE EMAKEHR(0x1248) +#define VLDTR_E_FD_BADCALLINGCONV EMAKEHR(0x1249) +#define VLDTR_E_MD_NAMENULL EMAKEHR(0x124a) +#define VLDTR_E_MD_PARNIL EMAKEHR(0x124b) +#define VLDTR_E_MD_DUP EMAKEHR(0x124c) +#define VLDTR_E_FD_NAMENULL EMAKEHR(0x124d) +#define VLDTR_E_FD_PARNIL EMAKEHR(0x124e) +#define VLDTR_E_FD_DUP EMAKEHR(0x124f) +#define VLDTR_E_AS_MULTI EMAKEHR(0x1250) +#define VLDTR_E_AS_NAMENULL EMAKEHR(0x1251) +#define VLDTR_E_SIG_TOKTYPEMISMATCH EMAKEHR(0x1252) +#define VLDTR_E_CL_TDINTF EMAKEHR(0x1253) +#define VLDTR_E_ASOS_OSPLTFRMIDINVAL EMAKEHR(0x1254) +#define VLDTR_E_AR_NAMENULL EMAKEHR(0x1255) +#define VLDTR_E_TD_ENCLNOTNESTED EMAKEHR(0x1256) +#define VLDTR_E_AROS_OSPLTFRMIDINVAL EMAKEHR(0x1257) +#define VLDTR_E_FILE_NAMENULL EMAKEHR(0x1258) +#define VLDTR_E_CT_NAMENULL EMAKEHR(0x1259) +#define VLDTR_E_TD_EXTENDSCHILD EMAKEHR(0x125a) +#define VLDTR_E_MAR_NAMENULL EMAKEHR(0x125b) +#define VLDTR_E_FILE_DUP EMAKEHR(0x125c) +#define VLDTR_E_FILE_NAMEFULLQLFD EMAKEHR(0x125d) +#define VLDTR_E_CT_DUP EMAKEHR(0x125e) +#define VLDTR_E_MAR_DUP EMAKEHR(0x125f) +#define VLDTR_E_MAR_NOTPUBPRIV EMAKEHR(0x1260) +#define VLDTR_E_TD_ENUMNOVALUE EMAKEHR(0x1261) +#define VLDTR_E_TD_ENUMVALSTATIC EMAKEHR(0x1262) +#define VLDTR_E_TD_ENUMVALNOTSN EMAKEHR(0x1263) +#define VLDTR_E_TD_ENUMFLDNOTST EMAKEHR(0x1264) +#define VLDTR_E_TD_ENUMFLDNOTLIT EMAKEHR(0x1265) +#define VLDTR_E_TD_ENUMNOLITFLDS EMAKEHR(0x1266) +#define VLDTR_E_TD_ENUMFLDSIGMISMATCH EMAKEHR(0x1267) +#define VLDTR_E_TD_ENUMVALNOT1ST EMAKEHR(0x1268) +#define VLDTR_E_FD_NOTVALUERTSN EMAKEHR(0x1269) +#define VLDTR_E_FD_VALUEPARNOTENUM EMAKEHR(0x126a) +#define VLDTR_E_FD_INSTINIFACE EMAKEHR(0x126b) +#define VLDTR_E_FD_NOTPUBINIFACE EMAKEHR(0x126c) +#define VLDTR_E_FMD_GLOBALNOTPUBPRIVSC EMAKEHR(0x126d) +#define VLDTR_E_FMD_GLOBALNOTSTATIC EMAKEHR(0x126e) +#define VLDTR_E_FD_GLOBALNORVA EMAKEHR(0x126f) +#define VLDTR_E_MD_CTORZERORVA EMAKEHR(0x1270) +#define VLDTR_E_FD_MARKEDNOMARSHAL EMAKEHR(0x1271) +#define VLDTR_E_FD_MARSHALNOTMARKED EMAKEHR(0x1272) +#define VLDTR_E_FD_MARKEDNODEFLT EMAKEHR(0x1273) +#define VLDTR_E_FD_DEFLTNOTMARKED EMAKEHR(0x1274) +#define VLDTR_E_FMD_MARKEDNOSECUR EMAKEHR(0x1275) +#define VLDTR_E_FMD_SECURNOTMARKED EMAKEHR(0x1276) +#define VLDTR_E_FMD_PINVOKENOTSTATIC EMAKEHR(0x1277) +#define VLDTR_E_FMD_MARKEDNOPINVOKE EMAKEHR(0x1278) +#define VLDTR_E_FMD_PINVOKENOTMARKED EMAKEHR(0x1279) +#define VLDTR_E_FMD_BADIMPLMAP EMAKEHR(0x127a) +#define VLDTR_E_IMAP_BADMODREF EMAKEHR(0x127b) +#define VLDTR_E_IMAP_BADMEMBER EMAKEHR(0x127c) +#define VLDTR_E_IMAP_BADIMPORTNAME EMAKEHR(0x127d) +#define VLDTR_E_IMAP_BADCALLCONV EMAKEHR(0x127e) +#define VLDTR_E_FMD_BADACCESSFLAG EMAKEHR(0x127f) +#define VLDTR_E_FD_INITONLYANDLITERAL EMAKEHR(0x1280) +#define VLDTR_E_FD_LITERALNOTSTATIC EMAKEHR(0x1281) +#define VLDTR_E_FMD_RTSNNOTSN EMAKEHR(0x1282) +#define VLDTR_E_MD_ABSTPARNOTABST EMAKEHR(0x1283) +#define VLDTR_E_MD_NOTSTATABSTININTF EMAKEHR(0x1284) +#define VLDTR_E_MD_NOTPUBININTF EMAKEHR(0x1285) +#define VLDTR_E_MD_CTORININTF EMAKEHR(0x1286) +#define VLDTR_E_MD_GLOBALCTORCCTOR EMAKEHR(0x1287) +#define VLDTR_E_MD_CTORSTATIC EMAKEHR(0x1288) +#define VLDTR_E_MD_CTORNOTSNRTSN EMAKEHR(0x1289) +#define VLDTR_E_MD_CTORVIRT EMAKEHR(0x128a) +#define VLDTR_E_MD_CTORABST EMAKEHR(0x128b) +#define VLDTR_E_MD_CCTORNOTSTATIC EMAKEHR(0x128c) +#define VLDTR_E_MD_ZERORVA EMAKEHR(0x128d) +#define VLDTR_E_MD_FINNOTVIRT EMAKEHR(0x128e) +#define VLDTR_E_MD_STATANDFINORVIRT EMAKEHR(0x128f) +#define VLDTR_E_MD_ABSTANDFINAL EMAKEHR(0x1290) +#define VLDTR_E_MD_ABSTANDIMPL EMAKEHR(0x1291) +#define VLDTR_E_MD_ABSTANDPINVOKE EMAKEHR(0x1292) +#define VLDTR_E_MD_ABSTNOTVIRT EMAKEHR(0x1293) +#define VLDTR_E_MD_NOTABSTNOTIMPL EMAKEHR(0x1294) +#define VLDTR_E_MD_NOTABSTBADFLAGSRVA EMAKEHR(0x1295) +#define VLDTR_E_MD_PRIVSCOPENORVA EMAKEHR(0x1296) +#define VLDTR_E_MD_GLOBALABSTORVIRT EMAKEHR(0x1297) +#define VLDTR_E_SIG_LONGFORM EMAKEHR(0x1298) +#define VLDTR_E_MD_MULTIPLESEMANTICS EMAKEHR(0x1299) +#define VLDTR_E_MD_INVALIDSEMANTICS EMAKEHR(0x129a) +#define VLDTR_E_MD_SEMANTICSNOTEXIST EMAKEHR(0x129b) +#define VLDTR_E_MI_DECLNOTVIRT EMAKEHR(0x129c) +#define VLDTR_E_FMD_GLOBALITEM EMAKEHR(0x129d) +#define VLDTR_E_MD_MULTSEMANTICFLAGS EMAKEHR(0x129e) +#define VLDTR_E_MD_NOSEMANTICFLAGS EMAKEHR(0x129f) +#define VLDTR_E_FD_FLDINIFACE EMAKEHR(0x12a0) +#define VLDTR_E_AS_HASHALGID EMAKEHR(0x12a1) +#define VLDTR_E_AS_PROCID EMAKEHR(0x12a2) +#define VLDTR_E_AR_PROCID EMAKEHR(0x12a3) +#define VLDTR_E_CN_PARENTRANGE EMAKEHR(0x12a4) +#define VLDTR_E_AS_BADFLAGS EMAKEHR(0x12a5) +#define VLDTR_E_TR_HASTYPEDEF EMAKEHR(0x12a6) +#define VLDTR_E_IFACE_BADIMPL EMAKEHR(0x12a7) +#define VLDTR_E_IFACE_BADIFACE EMAKEHR(0x12a8) +#define VLDTR_E_TD_SECURNOTMARKED EMAKEHR(0x12a9) +#define VLDTR_E_TD_MARKEDNOSECUR EMAKEHR(0x12aa) +#define VLDTR_E_MD_CCTORHASARGS EMAKEHR(0x12ab) +#define VLDTR_E_CT_BADIMPL EMAKEHR(0x12ac) +#define VLDTR_E_MI_ALIENBODY EMAKEHR(0x12ad) +#define VLDTR_E_MD_CCTORCALLCONV EMAKEHR(0x12ae) +#define VLDTR_E_MI_BADCLASS EMAKEHR(0x12af) +#define VLDTR_E_MI_CLASSISINTF EMAKEHR(0x12b0) +#define VLDTR_E_MI_BADDECL EMAKEHR(0x12b1) +#define VLDTR_E_MI_BADBODY EMAKEHR(0x12b2) +#define VLDTR_E_MI_DUP EMAKEHR(0x12b3) +#define VLDTR_E_FD_BADPARENT EMAKEHR(0x12b4) +#define VLDTR_E_MD_PARAMOUTOFSEQ EMAKEHR(0x12b5) +#define VLDTR_E_MD_PARASEQTOOBIG EMAKEHR(0x12b6) +#define VLDTR_E_MD_PARMMARKEDNOMARSHAL EMAKEHR(0x12b7) +#define VLDTR_E_MD_PARMMARSHALNOTMARKED EMAKEHR(0x12b8) +#define VLDTR_E_MD_PARMMARKEDNODEFLT EMAKEHR(0x12ba) +#define VLDTR_E_MD_PARMDEFLTNOTMARKED EMAKEHR(0x12bb) +#define VLDTR_E_PR_BADSCOPE EMAKEHR(0x12bc) +#define VLDTR_E_PR_NONAME EMAKEHR(0x12bd) +#define VLDTR_E_PR_NOSIG EMAKEHR(0x12be) +#define VLDTR_E_PR_DUP EMAKEHR(0x12bf) +#define VLDTR_E_PR_BADCALLINGCONV EMAKEHR(0x12c0) +#define VLDTR_E_PR_MARKEDNODEFLT EMAKEHR(0x12c1) +#define VLDTR_E_PR_DEFLTNOTMARKED EMAKEHR(0x12c2) +#define VLDTR_E_PR_BADSEMANTICS EMAKEHR(0x12c3) +#define VLDTR_E_PR_BADMETHOD EMAKEHR(0x12c4) +#define VLDTR_E_PR_ALIENMETHOD EMAKEHR(0x12c5) +#define VLDTR_E_CN_BLOBNOTNULL EMAKEHR(0x12c6) +#define VLDTR_E_CN_BLOBNULL EMAKEHR(0x12c7) +#define VLDTR_E_EV_BADSCOPE EMAKEHR(0x12c8) +#define VLDTR_E_EV_NONAME EMAKEHR(0x12ca) +#define VLDTR_E_EV_DUP EMAKEHR(0x12cb) +#define VLDTR_E_EV_BADEVTYPE EMAKEHR(0x12cc) +#define VLDTR_E_EV_EVTYPENOTCLASS EMAKEHR(0x12cd) +#define VLDTR_E_EV_BADSEMANTICS EMAKEHR(0x12ce) +#define VLDTR_E_EV_BADMETHOD EMAKEHR(0x12cf) +#define VLDTR_E_EV_ALIENMETHOD EMAKEHR(0x12d0) +#define VLDTR_E_EV_NOADDON EMAKEHR(0x12d1) +#define VLDTR_E_EV_NOREMOVEON EMAKEHR(0x12d2) +#define VLDTR_E_CT_DUPTDNAME EMAKEHR(0x12d3) +#define VLDTR_E_MAR_BADOFFSET EMAKEHR(0x12d4) +#define VLDTR_E_DS_BADOWNER EMAKEHR(0x12d5) +#define VLDTR_E_DS_BADFLAGS EMAKEHR(0x12d6) +#define VLDTR_E_DS_NOBLOB EMAKEHR(0x12d7) +#define VLDTR_E_MAR_BADIMPL EMAKEHR(0x12d8) +#define VLDTR_E_MR_VARARGCALLINGCONV EMAKEHR(0x12da) +#define VLDTR_E_MD_CTORNOTVOID EMAKEHR(0x12db) +#define VLDTR_E_EV_FIRENOTVOID EMAKEHR(0x12dc) +#define VLDTR_E_AS_BADLOCALE EMAKEHR(0x12dd) +#define VLDTR_E_CN_PARENTTYPE EMAKEHR(0x12de) +#define VLDTR_E_SIG_SENTINMETHODDEF EMAKEHR(0x12df) +#define VLDTR_E_SIG_SENTMUSTVARARG EMAKEHR(0x12e0) +#define VLDTR_E_SIG_MULTSENTINELS EMAKEHR(0x12e1) +#define VLDTR_E_SIG_LASTSENTINEL EMAKEHR(0x12e2) +#define VLDTR_E_SIG_MISSARG EMAKEHR(0x12e3) +#define VLDTR_E_SIG_BYREFINFIELD EMAKEHR(0x12e4) +#define VLDTR_E_MD_SYNCMETHODINVTYPE EMAKEHR(0x12e5) +#define VLDTR_E_TD_NAMETOOLONG EMAKEHR(0x12e6) +#define VLDTR_E_AS_PROCDUP EMAKEHR(0x12e7) +#define VLDTR_E_ASOS_DUP EMAKEHR(0x12e8) +#define VLDTR_E_MAR_BADFLAGS EMAKEHR(0x12e9) +#define VLDTR_E_CT_NOTYPEDEFID EMAKEHR(0x12ea) +#define VLDTR_E_FILE_BADFLAGS EMAKEHR(0x12eb) +#define VLDTR_E_FILE_NULLHASH EMAKEHR(0x12ec) +#define VLDTR_E_MOD_NONAME EMAKEHR(0x12ed) +#define VLDTR_E_MOD_NAMEFULLQLFD EMAKEHR(0x12ee) +#define VLDTR_E_TD_RTSPCLNOTSPCL EMAKEHR(0x12ef) +#define VLDTR_E_TD_EXTENDSIFACE EMAKEHR(0x12f0) +#define VLDTR_E_MD_CTORPINVOKE EMAKEHR(0x12f1) +#define VLDTR_E_TD_SYSENUMNOTCLASS EMAKEHR(0x12f2) +#define VLDTR_E_TD_SYSENUMNOTEXTVTYPE EMAKEHR(0x12f3) +#define VLDTR_E_MI_SIGMISMATCH EMAKEHR(0x12f4) +#define VLDTR_E_TD_ENUMHASMETHODS EMAKEHR(0x12f5) +#define VLDTR_E_TD_ENUMIMPLIFACE EMAKEHR(0x12f6) +#define VLDTR_E_TD_ENUMHASPROP EMAKEHR(0x12f7) +#define VLDTR_E_TD_ENUMHASEVENT EMAKEHR(0x12f8) +#define VLDTR_E_TD_BADMETHODLST EMAKEHR(0x12f9) +#define VLDTR_E_TD_BADFIELDLST EMAKEHR(0x12fa) +#define VLDTR_E_CN_BADTYPE EMAKEHR(0x12fb) +#define VLDTR_E_TD_ENUMNOINSTFLD EMAKEHR(0x12fc) +#define VLDTR_E_TD_ENUMMULINSTFLD EMAKEHR(0x12fd) +#define VLDTR_E_INTERRUPTED EMAKEHR(0x12fe) +#define VLDTR_E_NOTINIT EMAKEHR(0x12ff) +#define VLDTR_E_IFACE_NOTIFACE EMAKEHR(0x1b00) +#define VLDTR_E_FD_RVAHASNORVA EMAKEHR(0x1b01) +#define VLDTR_E_FD_RVAHASZERORVA EMAKEHR(0x1b02) +#define VLDTR_E_MD_RVAANDIMPLMAP EMAKEHR(0x1b03) +#define VLDTR_E_TD_EXTRAFLAGS EMAKEHR(0x1b04) +#define VLDTR_E_TD_EXTENDSITSELF EMAKEHR(0x1b05) +#define VLDTR_E_TD_SYSVTNOTEXTOBJ EMAKEHR(0x1b06) +#define VLDTR_E_TD_EXTTYPESPEC EMAKEHR(0x1b07) +#define VLDTR_E_TD_VTNOSIZE EMAKEHR(0x1b09) +#define VLDTR_E_TD_IFACESEALED EMAKEHR(0x1b0a) +#define VLDTR_E_NC_BADNESTED EMAKEHR(0x1b0b) +#define VLDTR_E_NC_BADENCLOSER EMAKEHR(0x1b0c) +#define VLDTR_E_NC_DUP EMAKEHR(0x1b0d) +#define VLDTR_E_NC_DUPENCLOSER EMAKEHR(0x1b0e) +#define VLDTR_E_FRVA_ZERORVA EMAKEHR(0x1b0f) +#define VLDTR_E_FRVA_BADFIELD EMAKEHR(0x1b10) +#define VLDTR_E_FRVA_DUPRVA EMAKEHR(0x1b11) +#define VLDTR_E_FRVA_DUPFIELD EMAKEHR(0x1b12) +#define VLDTR_E_EP_BADTOKEN EMAKEHR(0x1b13) +#define VLDTR_E_EP_INSTANCE EMAKEHR(0x1b14) +#define VLDTR_E_TD_ENUMFLDBADTYPE EMAKEHR(0x1b15) +#define VLDTR_E_MD_BADRVA EMAKEHR(0x1b16) +#define VLDTR_E_FD_LITERALNODEFAULT EMAKEHR(0x1b17) +#define VLDTR_E_IFACE_METHNOTIMPL EMAKEHR(0x1b18) +#define VLDTR_E_CA_BADPARENT EMAKEHR(0x1b19) +#define VLDTR_E_CA_BADTYPE EMAKEHR(0x1b1a) +#define VLDTR_E_CA_NOTCTOR EMAKEHR(0x1b1b) +#define VLDTR_E_CA_BADSIG EMAKEHR(0x1b1c) +#define VLDTR_E_CA_NOSIG EMAKEHR(0x1b1d) +#define VLDTR_E_CA_BADPROLOG EMAKEHR(0x1b1e) +#define VLDTR_E_MD_BADLOCALSIGTOK EMAKEHR(0x1b1f) +#define VLDTR_E_MD_BADHEADER EMAKEHR(0x1b20) +#define VLDTR_E_EP_TOOMANYARGS EMAKEHR(0x1b21) +#define VLDTR_E_EP_BADRET EMAKEHR(0x1b22) +#define VLDTR_E_EP_BADARG EMAKEHR(0x1b23) +#define VLDTR_E_SIG_BADVOID EMAKEHR(0x1b24) +#define VLDTR_E_IFACE_METHMULTIMPL EMAKEHR(0x1b25) +#define VLDTR_E_GP_NAMENULL EMAKEHR(0x1b26) +#define VLDTR_E_GP_OWNERNIL EMAKEHR(0x1b27) +#define VLDTR_E_GP_DUPNAME EMAKEHR(0x1b28) +#define VLDTR_E_GP_DUPNUMBER EMAKEHR(0x1b29) +#define VLDTR_E_GP_NONSEQ_BY_OWNER EMAKEHR(0x1b2a) +#define VLDTR_E_GP_NONSEQ_BY_NUMBER EMAKEHR(0x1b2b) +#define VLDTR_E_GP_UNEXPECTED_OWNER_FOR_VARIANT_VAR EMAKEHR(0x1b2c) +#define VLDTR_E_GP_ILLEGAL_VARIANT_MVAR EMAKEHR(0x1b2d) +#define VLDTR_E_GP_ILLEGAL_VARIANCE_FLAGS EMAKEHR(0x1b2e) +#define VLDTR_E_GP_REFANDVALUETYPE EMAKEHR(0x1b2f) +#define VLDTR_E_GPC_OWNERNIL EMAKEHR(0x1b30) +#define VLDTR_E_GPC_DUP EMAKEHR(0x1b31) +#define VLDTR_E_GPC_NONCONTIGUOUS EMAKEHR(0x1b32) +#define VLDTR_E_MS_METHODNIL EMAKEHR(0x1b33) +#define VLDTR_E_MS_DUP EMAKEHR(0x1b34) +#define VLDTR_E_MS_BADCALLINGCONV EMAKEHR(0x1b35) +#define VLDTR_E_MS_MISSARITY EMAKEHR(0x1b36) +#define VLDTR_E_MS_MISSARG EMAKEHR(0x1b37) +#define VLDTR_E_MS_ARITYMISMATCH EMAKEHR(0x1b38) +#define VLDTR_E_MS_METHODNOTGENERIC EMAKEHR(0x1b39) +#define VLDTR_E_SIG_MISSARITY EMAKEHR(0x1b3a) +#define VLDTR_E_SIG_ARITYMISMATCH EMAKEHR(0x1b3b) +#define VLDTR_E_MD_GENERIC_CCTOR EMAKEHR(0x1b3c) +#define VLDTR_E_MD_GENERIC_CTOR EMAKEHR(0x1b3d) +#define VLDTR_E_MD_GENERIC_IMPORT EMAKEHR(0x1b3e) +#define VLDTR_E_MD_GENERIC_BADCALLCONV EMAKEHR(0x1b3f) +#define VLDTR_E_EP_GENERIC_METHOD EMAKEHR(0x1b40) +#define VLDTR_E_MD_MISSARITY EMAKEHR(0x1b41) +#define VLDTR_E_MD_ARITYZERO EMAKEHR(0x1b42) +#define VLDTR_E_SIG_ARITYZERO EMAKEHR(0x1b43) +#define VLDTR_E_MS_ARITYZERO EMAKEHR(0x1b44) +#define VLDTR_E_MD_GPMISMATCH EMAKEHR(0x1b45) +#define VLDTR_E_EP_GENERIC_TYPE EMAKEHR(0x1b46) +#define VLDTR_E_MI_DECLNOTGENERIC EMAKEHR(0x1b47) +#define VLDTR_E_MI_IMPLNOTGENERIC EMAKEHR(0x1b48) +#define VLDTR_E_MI_ARITYMISMATCH EMAKEHR(0x1b49) +#define VLDTR_E_TD_EXTBADTYPESPEC EMAKEHR(0x1b4a) +#define VLDTR_E_SIG_BYREFINST EMAKEHR(0x1b4b) +#define VLDTR_E_MS_BYREFINST EMAKEHR(0x1b4c) +#define VLDTR_E_TS_EMPTY EMAKEHR(0x1b4d) +#define VLDTR_E_TS_HASSENTINALS EMAKEHR(0x1b4e) +#define VLDTR_E_TD_GENERICHASEXPLAYOUT EMAKEHR(0x1b4f) +#define VLDTR_E_SIG_BADTOKTYPE EMAKEHR(0x1b50) +#define VLDTR_E_IFACE_METHNOTIMPLTHISMOD EMAKEHR(0x1b51) + +#define VLDTR_S_WRN SMAKEHR(0x1200) +#define VLDTR_S_ERR SMAKEHR(0x1201) +#define VLDTR_S_WRNERR SMAKEHR(0x1202) + +#define CORDBG_E_UNRECOVERABLE_ERROR EMAKEHR(0x1300) +#define CORDBG_E_PROCESS_TERMINATED EMAKEHR(0x1301) +#define CORDBG_E_PROCESS_NOT_SYNCHRONIZED EMAKEHR(0x1302) +#define CORDBG_E_CLASS_NOT_LOADED EMAKEHR(0x1303) +#define CORDBG_E_IL_VAR_NOT_AVAILABLE EMAKEHR(0x1304) +#define CORDBG_E_BAD_REFERENCE_VALUE EMAKEHR(0x1305) +#define CORDBG_E_FIELD_NOT_AVAILABLE EMAKEHR(0x1306) +#define CORDBG_E_NON_NATIVE_FRAME EMAKEHR(0x1307) +#define CORDBG_E_NONCONTINUABLE_EXCEPTION EMAKEHR(0x1308) +#define CORDBG_E_CODE_NOT_AVAILABLE EMAKEHR(0x1309) +#define CORDBG_E_FUNCTION_NOT_IL EMAKEHR(0x130a) +#define CORDBG_E_CANT_SET_IP_INTO_FINALLY EMAKEHR(0x130e) +#define CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY EMAKEHR(0x130f) +#define CORDBG_E_CANT_SET_IP_INTO_CATCH EMAKEHR(0x1310) +#define CORDBG_E_SET_IP_NOT_ALLOWED_ON_NONLEAF_FRAME EMAKEHR(0x1311) +#define CORDBG_E_SET_IP_IMPOSSIBLE EMAKEHR(0x1312) +#define CORDBG_E_FUNC_EVAL_BAD_START_POINT EMAKEHR(0x1313) +#define CORDBG_E_INVALID_OBJECT EMAKEHR(0x1314) +#define CORDBG_E_FUNC_EVAL_NOT_COMPLETE EMAKEHR(0x1315) +#define CORDBG_E_INPROC_NOT_IMPL EMAKEHR(0x1318) +#define CORDBG_E_STATIC_VAR_NOT_AVAILABLE EMAKEHR(0x131a) +#define CORDBG_E_OBJECT_IS_NOT_COPYABLE_VALUE_CLASS EMAKEHR(0x131b) +#define CORDBG_E_CANT_SETIP_INTO_OR_OUT_OF_FILTER EMAKEHR(0x131c) +#define CORDBG_E_CANT_CHANGE_JIT_SETTING_FOR_ZAP_MODULE EMAKEHR(0x131d) +#define CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY_ON_WIN64 EMAKEHR(0x131e) +#define CORDBG_E_CANT_SET_IP_OUT_OF_CATCH_ON_WIN64 EMAKEHR(0x131f) +#define CORDBG_E_REMOTE_CONNECTION_CONN_RESET EMAKEHR(0x1320) +#define CORDBG_E_REMOTE_CONNECTION_KEEP_ALIVE EMAKEHR(0x1321) +#define CORDBG_E_REMOTE_CONNECTION_FATAL_ERROR EMAKEHR(0x1322) +#define CORDBG_E_CANT_SET_TO_JMC EMAKEHR(0x1323) +#define CORDBG_E_NO_CONTEXT_FOR_INTERNAL_FRAME EMAKEHR(0x1325) +#define CORDBG_E_NOT_CHILD_FRAME EMAKEHR(0x1326) +#define CORDBG_E_NON_MATCHING_CONTEXT EMAKEHR(0x1327) +#define CORDBG_E_PAST_END_OF_STACK EMAKEHR(0x1328) +#define CORDBG_E_FUNC_EVAL_CANNOT_UPDATE_REGISTER_IN_NONLEAF_FRAME EMAKEHR(0x1329) +#define CORDBG_E_BAD_THREAD_STATE EMAKEHR(0x132d) +#define CORDBG_E_DEBUGGER_ALREADY_ATTACHED EMAKEHR(0x132e) +#define CORDBG_E_SUPERFLOUS_CONTINUE EMAKEHR(0x132f) +#define CORDBG_E_SET_VALUE_NOT_ALLOWED_ON_NONLEAF_FRAME EMAKEHR(0x1330) +#define CORDBG_E_ENC_EH_MAX_NESTING_LEVEL_CANT_INCREASE EMAKEHR(0x1331) +#define CORDBG_E_ENC_MODULE_NOT_ENC_ENABLED EMAKEHR(0x1332) +#define CORDBG_E_SET_IP_NOT_ALLOWED_ON_EXCEPTION EMAKEHR(0x1333) +#define CORDBG_E_VARIABLE_IS_ACTUALLY_LITERAL EMAKEHR(0x1334) +#define CORDBG_E_PROCESS_DETACHED EMAKEHR(0x1335) +#define CORDBG_E_ENC_METHOD_SIG_CHANGED EMAKEHR(0x1336) +#define CORDBG_E_ENC_METHOD_NO_LOCAL_SIG EMAKEHR(0x1337) +#define CORDBG_E_ENC_CANT_ADD_FIELD_TO_VALUE_OR_LAYOUT_CLASS EMAKEHR(0x1338) +#define CORDBG_E_ENC_CANT_CHANGE_FIELD EMAKEHR(0x1339) +#define CORDBG_E_ENC_CANT_ADD_NON_PRIVATE_MEMBER EMAKEHR(0x133a) +#define CORDBG_E_FIELD_NOT_STATIC EMAKEHR(0x133b) +#define CORDBG_E_FIELD_NOT_INSTANCE EMAKEHR(0x133c) +#define CORDBG_E_ENC_ZAPPED_WITHOUT_ENC EMAKEHR(0x133d) +#define CORDBG_E_ENC_BAD_METHOD_INFO EMAKEHR(0x133e) +#define CORDBG_E_ENC_JIT_CANT_UPDATE EMAKEHR(0x133f) +#define CORDBG_E_ENC_MISSING_CLASS EMAKEHR(0x1340) +#define CORDBG_E_ENC_INTERNAL_ERROR EMAKEHR(0x1341) +#define CORDBG_E_ENC_HANGING_FIELD EMAKEHR(0x1342) +#define CORDBG_E_MODULE_NOT_LOADED EMAKEHR(0x1343) +#define CORDBG_E_ENC_CANT_CHANGE_SUPERCLASS EMAKEHR(0x1344) +#define CORDBG_E_UNABLE_TO_SET_BREAKPOINT EMAKEHR(0x1345) +#define CORDBG_E_DEBUGGING_NOT_POSSIBLE EMAKEHR(0x1346) +#define CORDBG_E_KERNEL_DEBUGGER_ENABLED EMAKEHR(0x1347) +#define CORDBG_E_KERNEL_DEBUGGER_PRESENT EMAKEHR(0x1348) +#define CORDBG_E_HELPER_THREAD_DEAD EMAKEHR(0x1349) +#define CORDBG_E_INTERFACE_INHERITANCE_CANT_CHANGE EMAKEHR(0x134a) +#define CORDBG_E_INCOMPATIBLE_PROTOCOL EMAKEHR(0x134b) +#define CORDBG_E_TOO_MANY_PROCESSES EMAKEHR(0x134c) +#define CORDBG_E_INTEROP_NOT_SUPPORTED EMAKEHR(0x134d) +#define CORDBG_E_NO_REMAP_BREAKPIONT EMAKEHR(0x134e) +#define CORDBG_E_OBJECT_NEUTERED EMAKEHR(0x134f) +#define CORDBG_E_THREAD_NOT_SCHEDULED EMAKEHR(0x1c00) +#define CORDBG_E_HANDLE_HAS_BEEN_DISPOSED EMAKEHR(0x1c01) +#define CORDBG_E_NONINTERCEPTABLE_EXCEPTION EMAKEHR(0x1c02) +#define CORDBG_E_CANT_UNWIND_ABOVE_CALLBACK EMAKEHR(0x1c03) +#define CORDBG_E_INTERCEPT_FRAME_ALREADY_SET EMAKEHR(0x1c04) +#define CORDBG_E_NO_NATIVE_PATCH_AT_ADDR EMAKEHR(0x1c05) +#define CORDBG_E_MUST_BE_INTEROP_DEBUGGING EMAKEHR(0x1c06) +#define CORDBG_E_NATIVE_PATCH_ALREADY_AT_ADDR EMAKEHR(0x1c07) +#define CORDBG_E_TIMEOUT EMAKEHR(0x1c08) +#define CORDBG_E_CANT_CALL_ON_THIS_THREAD EMAKEHR(0x1c09) +#define CORDBG_E_ENC_INFOLESS_METHOD EMAKEHR(0x1c0a) +#define CORDBG_E_ENC_NESTED_HANLDERS EMAKEHR(0x1c0b) +#define CORDBG_E_ENC_IN_FUNCLET EMAKEHR(0x1c0c) +#define CORDBG_E_ENC_LOCALLOC EMAKEHR(0x1c0d) +#define CORDBG_E_ENC_EDIT_NOT_SUPPORTED EMAKEHR(0x1c0e) +#define CORDBG_E_FEABORT_DELAYED_UNTIL_THREAD_RESUMED EMAKEHR(0x1c0f) +#define CORDBG_E_NOTREADY EMAKEHR(0x1c10) +#define CORDBG_E_CANNOT_RESOLVE_ASSEMBLY EMAKEHR(0x1c11) +#define CORDBG_E_MUST_BE_IN_LOAD_MODULE EMAKEHR(0x1c12) +#define CORDBG_E_CANNOT_BE_ON_ATTACH EMAKEHR(0x1c13) +#define CORDBG_E_NGEN_NOT_SUPPORTED EMAKEHR(0x1c14) +#define CORDBG_E_ILLEGAL_SHUTDOWN_ORDER EMAKEHR(0x1c15) +#define CORDBG_E_CANNOT_DEBUG_FIBER_PROCESS EMAKEHR(0x1c16) +#define CORDBG_E_MUST_BE_IN_CREATE_PROCESS EMAKEHR(0x1c17) +#define CORDBG_E_DETACH_FAILED_OUTSTANDING_EVALS EMAKEHR(0x1c18) +#define CORDBG_E_DETACH_FAILED_OUTSTANDING_STEPPERS EMAKEHR(0x1c19) +#define CORDBG_E_CANT_INTEROP_STEP_OUT EMAKEHR(0x1c20) +#define CORDBG_E_DETACH_FAILED_OUTSTANDING_BREAKPOINTS EMAKEHR(0x1c21) +#define CORDBG_E_ILLEGAL_IN_STACK_OVERFLOW EMAKEHR(0x1c22) +#define CORDBG_E_ILLEGAL_AT_GC_UNSAFE_POINT EMAKEHR(0x1c23) +#define CORDBG_E_ILLEGAL_IN_PROLOG EMAKEHR(0x1c24) +#define CORDBG_E_ILLEGAL_IN_NATIVE_CODE EMAKEHR(0x1c25) +#define CORDBG_E_ILLEGAL_IN_OPTIMIZED_CODE EMAKEHR(0x1c26) +#define CORDBG_E_MINIDUMP_UNSUPPORTED EMAKEHR(0x1c27) +#define CORDBG_E_APPDOMAIN_MISMATCH EMAKEHR(0x1c28) +#define CORDBG_E_CONTEXT_UNVAILABLE EMAKEHR(0x1c29) +#define CORDBG_E_UNCOMPATIBLE_PLATFORMS EMAKEHR(0x1c30) +#define CORDBG_E_DEBUGGING_DISABLED EMAKEHR(0x1c31) +#define CORDBG_E_DETACH_FAILED_ON_ENC EMAKEHR(0x1c32) +#define CORDBG_E_CURRENT_EXCEPTION_IS_OUTSIDE_CURRENT_EXECUTION_SCOPE EMAKEHR(0x1c33) +#define CORDBG_E_HELPER_MAY_DEADLOCK EMAKEHR(0x1c34) +#define CORDBG_E_MISSING_METADATA EMAKEHR(0x1c35) +#define CORDBG_E_TARGET_INCONSISTENT EMAKEHR(0x1c36) +#define CORDBG_E_DETACH_FAILED_OUTSTANDING_TARGET_RESOURCES EMAKEHR(0x1c37) +#define CORDBG_E_TARGET_READONLY EMAKEHR(0x1c38) +#define CORDBG_E_MISMATCHED_CORWKS_AND_DACWKS_DLLS EMAKEHR(0x1c39) +#define CORDBG_E_MODULE_LOADED_FROM_DISK EMAKEHR(0x1c3a) +#define CORDBG_E_SYMBOLS_NOT_AVAILABLE EMAKEHR(0x1c3b) +#define CORDBG_E_DEBUG_COMPONENT_MISSING EMAKEHR(0x1c3c) +#define CORDBG_E_REMOTE_MISMATCHED_CERTS EMAKEHR(0x1c3d) +#define CORDBG_E_REMOTE_NETWORK_FAILURE EMAKEHR(0x1c3e) +#define CORDBG_E_REMOTE_NO_LISTENER EMAKEHR(0x1c3f) +#define CORDBG_E_REMOTE_UNKNOWN_TARGET EMAKEHR(0x1c40) +#define CORDBG_E_REMOTE_INVALID_CONFIG EMAKEHR(0x1c41) +#define CORDBG_E_REMOTE_MISMATCHED_PROTOCOLS EMAKEHR(0x1c42) +#define CORDBG_E_LIBRARY_PROVIDER_ERROR EMAKEHR(0x1c43) +#define CORDBG_E_NOT_CLR EMAKEHR(0x1c44) +#define CORDBG_E_MISSING_DATA_TARGET_INTERFACE EMAKEHR(0x1c45) +#define CORDBG_E_UNSUPPORTED_DEBUGGING_MODEL EMAKEHR(0x1c46) +#define CORDBG_E_UNSUPPORTED_FORWARD_COMPAT EMAKEHR(0x1c47) +#define CORDBG_E_UNSUPPORTED_VERSION_STRUCT EMAKEHR(0x1c48) +#define CORDBG_E_READVIRTUAL_FAILURE EMAKEHR(0x1c49) +#define CORDBG_E_VALUE_POINTS_TO_FUNCTION EMAKEHR(0x1c4a) +#define CORDBG_E_CORRUPT_OBJECT EMAKEHR(0x1c4b) +#define CORDBG_E_GC_STRUCTURES_INVALID EMAKEHR(0x1c4c) + +#define CORDBG_S_BAD_START_SEQUENCE_POINT SMAKEHR(0x130b) +#define CORDBG_S_BAD_END_SEQUENCE_POINT SMAKEHR(0x130c) +#define CORDBG_S_INSUFFICIENT_INFO_FOR_SET_IP SMAKEHR(0x130d) +#define CORDBG_S_FUNC_EVAL_HAS_NO_RESULT SMAKEHR(0x1316) +#define CORDBG_S_VALUE_POINTS_TO_VOID SMAKEHR(0x1317) +#define CORDBG_S_FUNC_EVAL_ABORTED SMAKEHR(0x1319) +#define CORDBG_S_AT_END_OF_STACK SMAKEHR(0x1324) +#define CORDBG_S_NOT_ALL_BITS_SET SMAKEHR(0x1c13) + +#define CORPROF_E_FUNCTION_NOT_COMPILED EMAKEHR(0x1350) +#define CORPROF_E_DATAINCOMPLETE EMAKEHR(0x1351) +#define CORPROF_E_NOT_REJITABLE_METHODS EMAKEHR(0x1352) +#define CORPROF_E_CANNOT_UPDATE_METHOD EMAKEHR(0x1353) +#define CORPROF_E_FUNCTION_NOT_IL EMAKEHR(0x1354) +#define CORPROF_E_NOT_MANAGED_THREAD EMAKEHR(0x1355) +#define CORPROF_E_CALL_ONLY_FROM_INIT EMAKEHR(0x1356) +#define CORPROF_E_INPROC_NOT_ENABLED EMAKEHR(0x1357) +#define CORPROF_E_JITMAPS_NOT_ENABLED EMAKEHR(0x1358) +#define CORPROF_E_INPROC_ALREADY_BEGUN EMAKEHR(0x1359) +#define CORPROF_E_INPROC_NOT_AVAILABLE EMAKEHR(0x135a) +#define CORPROF_E_NOT_YET_AVAILABLE EMAKEHR(0x135b) +#define CORPROF_E_TYPE_IS_PARAMETERIZED EMAKEHR(0x135c) +#define CORPROF_E_FUNCTION_IS_PARAMETERIZED EMAKEHR(0x135d) +#define CORPROF_E_STACKSNAPSHOT_INVALID_TGT_THREAD EMAKEHR(0x135e) +#define CORPROF_E_STACKSNAPSHOT_UNMANAGED_CTX EMAKEHR(0x135f) +#define CORPROF_E_STACKSNAPSHOT_UNSAFE EMAKEHR(0x1360) +#define CORPROF_E_STACKSNAPSHOT_ABORTED EMAKEHR(0x1361) +#define CORPROF_E_LITERALS_HAVE_NO_ADDRESS EMAKEHR(0x1362) +#define CORPROF_E_UNSUPPORTED_CALL_SEQUENCE EMAKEHR(0x1363) +#define CORPROF_E_ASYNCHRONOUS_UNSAFE EMAKEHR(0x1364) +#define CORPROF_E_CLASSID_IS_ARRAY EMAKEHR(0x1365) +#define CORPROF_E_CLASSID_IS_COMPOSITE EMAKEHR(0x1366) +#define CORPROF_E_PROFILER_DETACHING EMAKEHR(0x1367) +#define CORPROF_E_PROFILER_NOT_ATTACHABLE EMAKEHR(0x1368) +#define CORPROF_E_UNRECOGNIZED_PIPE_MSG_FORMAT EMAKEHR(0x1369) +#define CORPROF_E_PROFILER_ALREADY_ACTIVE EMAKEHR(0x136a) +#define CORPROF_E_PROFILEE_INCOMPATIBLE_WITH_TRIGGER EMAKEHR(0x136b) +#define CORPROF_E_IPC_FAILED EMAKEHR(0x136c) +#define CORPROF_E_PROFILEE_PROCESS_NOT_FOUND EMAKEHR(0x136d) +#define CORPROF_E_CALLBACK3_REQUIRED EMAKEHR(0x136e) +#define CORPROF_E_UNSUPPORTED_FOR_ATTACHING_PROFILER EMAKEHR(0x136f) +#define CORPROF_E_IRREVERSIBLE_INSTRUMENTATION_PRESENT EMAKEHR(0x1370) +#define CORPROF_E_RUNTIME_UNINITIALIZED EMAKEHR(0x1371) +#define CORPROF_E_IMMUTABLE_FLAGS_SET EMAKEHR(0x1372) +#define CORPROF_E_PROFILER_NOT_YET_INITIALIZED EMAKEHR(0x1373) +#define CORPROF_E_INCONSISTENT_WITH_FLAGS EMAKEHR(0x1374) +#define CORPROF_E_PROFILER_CANCEL_ACTIVATION EMAKEHR(0x1375) +#define CORPROF_E_CONCURRENT_GC_NOT_PROFILABLE EMAKEHR(0x1376) +#define CORPROF_E_INCONSISTENT_FLAGS_WITH_HOST_PROTECTION_SETTING EMAKEHR(0x1377) +#define CORPROF_E_DEBUGGING_DISABLED EMAKEHR(0x1378) +#define CORPROF_E_TIMEOUT_WAITING_FOR_CONCURRENT_GC EMAKEHR(0x1379) +#define CORPROF_E_MODULE_IS_DYNAMIC EMAKEHR(0x137a) +#define CORPROF_E_CALLBACK4_REQUIRED EMAKEHR(0x137b) +#define CORPROF_E_REJIT_NOT_ENABLED EMAKEHR(0x137c) +#define CORPROF_E_ACTIVE_REJIT_REQUEST_NOT_FOUND EMAKEHR(0x137d) +#define CORPROF_E_FUNCTION_IS_COLLECTIBLE EMAKEHR(0x137e) +#define CORPROF_E_REJIT_REQUIRES_DISABLE_NGEN EMAKEHR(0x137f) + +#define CORSEC_E_DECODE_SET EMAKEHR(0x1410) +#define CORSEC_E_ENCODE_SET EMAKEHR(0x1411) +#define CORSEC_E_UNSUPPORTED_FORMAT EMAKEHR(0x1412) +#define CORSEC_E_CRYPTOAPI_CALL_FAILED EMAKEHR(0x1413) +#define CORSEC_E_NO_SUITABLE_CSP EMAKEHR(0x1414) +#define CORSEC_E_INVALID_ATTR EMAKEHR(0x1415) +#define CORSEC_E_POLICY_EXCEPTION EMAKEHR(0x1416) +#define CORSEC_E_MIN_GRANT_FAIL EMAKEHR(0x1417) +#define CORSEC_E_NO_EXEC_PERM EMAKEHR(0x1418) +#define CORSEC_E_XMLSYNTAX EMAKEHR(0x1419) +#define CORSEC_E_INVALID_STRONGNAME EMAKEHR(0x141a) +#define CORSEC_E_MISSING_STRONGNAME EMAKEHR(0x141b) +#define CORSEC_E_CONTAINER_NOT_FOUND EMAKEHR(0x141c) +#define CORSEC_E_INVALID_IMAGE_FORMAT EMAKEHR(0x141d) +#define CORSEC_E_INVALID_PUBLICKEY EMAKEHR(0x141e) +#define CORSEC_E_SIGNATURE_MISMATCH EMAKEHR(0x1420) +#define CORSEC_E_INVALID_SIGNATUREKEY EMAKEHR(0x1422) +#define CORSEC_E_INVALID_COUNTERSIGNATURE EMAKEHR(0x1423) +#define CORSEC_E_CRYPTO EMAKEHR(0x1430) +#define CORSEC_E_CRYPTO_UNEX_OPER EMAKEHR(0x1431) + +#define CORSECATTR_E_BAD_ATTRIBUTE EMAKEHR(0x143a) +#define CORSECATTR_E_MISSING_CONSTRUCTOR EMAKEHR(0x143b) +#define CORSECATTR_E_FAILED_TO_CREATE_PERM EMAKEHR(0x143c) +#define CORSECATTR_E_BAD_ACTION_ASM EMAKEHR(0x143d) +#define CORSECATTR_E_BAD_ACTION_OTHER EMAKEHR(0x143e) +#define CORSECATTR_E_BAD_PARENT EMAKEHR(0x143f) +#define CORSECATTR_E_TRUNCATED EMAKEHR(0x1440) +#define CORSECATTR_E_BAD_VERSION EMAKEHR(0x1441) +#define CORSECATTR_E_BAD_ACTION EMAKEHR(0x1442) +#define CORSECATTR_E_NO_SELF_REF EMAKEHR(0x1443) +#define CORSECATTR_E_BAD_NONCAS EMAKEHR(0x1444) +#define CORSECATTR_E_ASSEMBLY_LOAD_FAILED EMAKEHR(0x1445) +#define CORSECATTR_E_ASSEMBLY_LOAD_FAILED_EX EMAKEHR(0x1446) +#define CORSECATTR_E_TYPE_LOAD_FAILED EMAKEHR(0x1447) +#define CORSECATTR_E_TYPE_LOAD_FAILED_EX EMAKEHR(0x1448) +#define CORSECATTR_E_ABSTRACT EMAKEHR(0x1449) +#define CORSECATTR_E_UNSUPPORTED_TYPE EMAKEHR(0x144a) +#define CORSECATTR_E_UNSUPPORTED_ENUM_TYPE EMAKEHR(0x144b) +#define CORSECATTR_E_NO_FIELD EMAKEHR(0x144c) +#define CORSECATTR_E_NO_PROPERTY EMAKEHR(0x144d) +#define CORSECATTR_E_EXCEPTION EMAKEHR(0x144e) +#define CORSECATTR_E_EXCEPTION_HR EMAKEHR(0x144f) + +#define CEE_E_ENTRYPOINT EMAKEHR(0x1000) +#define CEE_E_CVTRES_NOT_FOUND EMAKEHR(0x1001) + +#define HOST_E_DEADLOCK EMAKEHR(0x1020) +#define HOST_E_INTERRUPTED EMAKEHR(0x1021) +#define HOST_E_INVALIDOPERATION EMAKEHR(0x1022) +#define HOST_E_CLRNOTAVAILABLE EMAKEHR(0x1023) +#define HOST_E_TIMEOUT EMAKEHR(0x1024) +#define HOST_E_NOT_OWNER EMAKEHR(0x1025) +#define HOST_E_ABANDONED EMAKEHR(0x1026) +#define HOST_E_EXITPROCESS_THREADABORT EMAKEHR(0x1027) +#define HOST_E_EXITPROCESS_ADUNLOAD EMAKEHR(0x1028) +#define HOST_E_EXITPROCESS_TIMEOUT EMAKEHR(0x1029) +#define HOST_E_EXITPROCESS_OUTOFMEMORY EMAKEHR(0x102a) +#define HOST_E_EXITPROCESS_STACKOVERFLOW EMAKEHR(0x102b) + +#define ISS_E_ISOSTORE_START EMAKEHR(0x1450) +#define ISS_E_ISOSTORE EMAKEHR(0x1450) +#define ISS_E_OPEN_STORE_FILE EMAKEHR(0x1460) +#define ISS_E_OPEN_FILE_MAPPING EMAKEHR(0x1461) +#define ISS_E_MAP_VIEW_OF_FILE EMAKEHR(0x1462) +#define ISS_E_GET_FILE_SIZE EMAKEHR(0x1463) +#define ISS_E_CREATE_MUTEX EMAKEHR(0x1464) +#define ISS_E_LOCK_FAILED EMAKEHR(0x1465) +#define ISS_E_FILE_WRITE EMAKEHR(0x1466) +#define ISS_E_SET_FILE_POINTER EMAKEHR(0x1467) +#define ISS_E_CREATE_DIR EMAKEHR(0x1468) +#define ISS_E_STORE_NOT_OPEN EMAKEHR(0x1469) +#define ISS_E_CORRUPTED_STORE_FILE EMAKEHR(0x1480) +#define ISS_E_STORE_VERSION EMAKEHR(0x1481) +#define ISS_E_FILE_NOT_MAPPED EMAKEHR(0x1482) +#define ISS_E_BLOCK_SIZE_TOO_SMALL EMAKEHR(0x1483) +#define ISS_E_ALLOC_TOO_LARGE EMAKEHR(0x1484) +#define ISS_E_USAGE_WILL_EXCEED_QUOTA EMAKEHR(0x1485) +#define ISS_E_TABLE_ROW_NOT_FOUND EMAKEHR(0x1486) +#define ISS_E_DEPRECATE EMAKEHR(0x14a0) +#define ISS_E_CALLER EMAKEHR(0x14a1) +#define ISS_E_PATH_LENGTH EMAKEHR(0x14a2) +#define ISS_E_MACHINE EMAKEHR(0x14a3) +#define ISS_E_MACHINE_DACL EMAKEHR(0x14a4) +#define ISS_E_ISOSTORE_END EMAKEHR(0x14ff) + +#define META_E_DUPLICATE EMAKEHR(0x1180) +#define META_E_GUID_REQUIRED EMAKEHR(0x1181) +#define META_E_TYPEDEF_MISMATCH EMAKEHR(0x1182) +#define META_E_MERGE_COLLISION EMAKEHR(0x1183) +#define META_E_METHD_NOT_FOUND EMAKEHR(0x1187) +#define META_E_FIELD_NOT_FOUND EMAKEHR(0x1188) +#define META_E_PARAM_MISMATCH EMAKEHR(0x1189) +#define META_E_BADMETADATA EMAKEHR(0x118a) +#define META_E_INTFCEIMPL_NOT_FOUND EMAKEHR(0x118b) +#define META_E_CLASS_LAYOUT_INCONSISTENT EMAKEHR(0x118d) +#define META_E_FIELD_MARSHAL_NOT_FOUND EMAKEHR(0x118e) +#define META_E_METHODSEM_NOT_FOUND EMAKEHR(0x118f) +#define META_E_EVENT_NOT_FOUND EMAKEHR(0x1190) +#define META_E_PROP_NOT_FOUND EMAKEHR(0x1191) +#define META_E_BAD_SIGNATURE EMAKEHR(0x1192) +#define META_E_BAD_INPUT_PARAMETER EMAKEHR(0x1193) +#define META_E_METHDIMPL_INCONSISTENT EMAKEHR(0x1194) +#define META_E_MD_INCONSISTENCY EMAKEHR(0x1195) +#define META_E_CANNOTRESOLVETYPEREF EMAKEHR(0x1196) +#define META_E_STRINGSPACE_FULL EMAKEHR(0x1198) +#define META_E_UNEXPECTED_REMAP EMAKEHR(0x1199) +#define META_E_HAS_UNMARKALL EMAKEHR(0x119a) +#define META_E_MUST_CALL_UNMARKALL EMAKEHR(0x119b) +#define META_E_GENERICPARAM_INCONSISTENT EMAKEHR(0x119c) +#define META_E_EVENT_COUNTS EMAKEHR(0x119d) +#define META_E_PROPERTY_COUNTS EMAKEHR(0x119e) +#define META_E_TYPEDEF_MISSING EMAKEHR(0x119f) +#define META_E_INVALID_TOKEN_TYPE EMAKEHR(0x115f) +#define META_E_CA_INVALID_TARGET EMAKEHR(0x11c0) +#define META_E_CA_INVALID_VALUE EMAKEHR(0x11c1) +#define META_E_CA_INVALID_BLOB EMAKEHR(0x11c2) +#define META_E_CA_REPEATED_ARG EMAKEHR(0x11c3) +#define META_E_CA_UNKNOWN_ARGUMENT EMAKEHR(0x11c4) +#define META_E_CA_VARIANT_NYI EMAKEHR(0x11c5) +#define META_E_CA_ARRAY_NYI EMAKEHR(0x11c6) +#define META_E_CA_UNEXPECTED_TYPE EMAKEHR(0x11c7) +#define META_E_CA_INVALID_ARGTYPE EMAKEHR(0x11c8) +#define META_E_CA_INVALID_ARG_FOR_TYPE EMAKEHR(0x11c9) +#define META_E_CA_INVALID_UUID EMAKEHR(0x11ca) +#define META_E_CA_INVALID_MARSHALAS_FIELDS EMAKEHR(0x11cb) +#define META_E_CA_NT_FIELDONLY EMAKEHR(0x11cc) +#define META_E_CA_NEGATIVE_PARAMINDEX EMAKEHR(0x11cd) +#define META_E_CA_NEGATIVE_MULTIPLIER EMAKEHR(0x11ce) +#define META_E_CA_NEGATIVE_CONSTSIZE EMAKEHR(0x11cf) +#define META_E_CA_FIXEDSTR_SIZE_REQUIRED EMAKEHR(0x11d0) +#define META_E_CA_CUSTMARSH_TYPE_REQUIRED EMAKEHR(0x11d1) +#define META_E_CA_FILENAME_REQUIRED EMAKEHR(0x11d2) +#define META_E_NOT_IN_ENC_MODE EMAKEHR(0x11d4) +#define META_E_METHOD_COUNTS EMAKEHR(0x11d6) +#define META_E_FIELD_COUNTS EMAKEHR(0x11d7) +#define META_E_PARAM_COUNTS EMAKEHR(0x11d8) +#define META_E_MISMATCHED_VISIBLITY EMAKEHR(0x11e4) +#define META_E_CA_BAD_FRIENDS_ARGS EMAKEHR(0x11e5) +#define META_E_CA_FRIENDS_SN_REQUIRED EMAKEHR(0x11e6) + +#define MSEE_E_LOADLIBFAILED EMAKEHR(0x1010) +#define MSEE_E_GETPROCFAILED EMAKEHR(0x1011) +#define MSEE_E_MULTCOPIESLOADED EMAKEHR(0x1012) +#define MSEE_E_ASSEMBLYLOADINPROGRESS EMAKEHR(0x1016) +#define MSEE_E_CANNOTCREATEAPPDOMAIN EMAKEHR(0x1017) + +#define NGEN_FAILED_GET_DEPENDENCIES EMAKEHR(0x1f00) +#define NGEN_FAILED_NATIVE_IMAGE_DELETE EMAKEHR(0x1f01) +#define NGEN_E_TOO_MANY_INTERFACES EMAKEHR(0x1f02) +#define NGEN_E_OLDER_RUNTIME EMAKEHR(0x1f03) +#define NGEN_E_WORKER_UNEXPECTED_EXIT EMAKEHR(0x1f04) +#define NGEN_E_WORKER_UNEXPECTED_SYNC EMAKEHR(0x1f05) +#define NGEN_E_SYS_ASM_NI_MISSING EMAKEHR(0x1f06) +#define NGEN_E_EXE_MACHINE_TYPE_MISMATCH EMAKEHR(0x1f07) +#define NGEN_E_ASSEMBLY_EXCLUSION_FILE_PARSE_ERROR EMAKEHR(0x1f08) +#define NGEN_E_HARDBOUND_DEPENDENCY_MISSING EMAKEHR(0x1f09) +#define NGEN_E_NOT_RUNNING_IN_EXPECTED_PACKAGE EMAKEHR(0x1f0a) + +#define PEFMT_E_NO_CONTENTS EMAKEHR(0x1d00) +#define PEFMT_E_NO_NTHEADERS EMAKEHR(0x1d01) +#define PEFMT_E_64BIT EMAKEHR(0x1d02) +#define PEFMT_E_NO_CORHEADER EMAKEHR(0x1d03) +#define PEFMT_E_NOT_ILONLY EMAKEHR(0x1d04) +#define PEFMT_E_IMPORT_DLLS EMAKEHR(0x1d05) +#define PEFMT_E_EXE_NOENTRYPOINT EMAKEHR(0x1d06) +#define PEFMT_E_BASE_RELOCS EMAKEHR(0x1d07) +#define PEFMT_E_ENTRYPOINT EMAKEHR(0x1d08) +#define PEFMT_E_ZERO_SIZEOFCODE EMAKEHR(0x1d09) +#define PEFMT_E_BAD_CORHEADER EMAKEHR(0x1d0a) +#define PEFMT_E_32BIT EMAKEHR(0x1d0b) + +#define SECURITY_E_XML_TO_ASN_ENCODING EMAKEHR(0x1400) +#define SECURITY_E_INCOMPATIBLE_SHARE EMAKEHR(0x1401) +#define SECURITY_E_UNVERIFIABLE EMAKEHR(0x1402) +#define SECURITY_E_INCOMPATIBLE_EVIDENCE EMAKEHR(0x1403) + +#define SN_E_PUBLICKEY_MISMATCH EMAKEHR(0x1421) +#define SN_CRYPTOAPI_CALL_FAILED EMAKEHR(0x1413) +#define SN_NO_SUITABLE_CSP EMAKEHR(0x1414) + +#define VER_E_HRESULT EMAKEHR(0x1801) +#define VER_E_OFFSET EMAKEHR(0x1802) +#define VER_E_OPCODE EMAKEHR(0x1803) +#define VER_E_OPERAND EMAKEHR(0x1804) +#define VER_E_TOKEN EMAKEHR(0x1805) +#define VER_E_EXCEPT EMAKEHR(0x1806) +#define VER_E_STACK_SLOT EMAKEHR(0x1807) +#define VER_E_LOC EMAKEHR(0x1808) +#define VER_E_ARG EMAKEHR(0x1809) +#define VER_E_FOUND EMAKEHR(0x180a) +#define VER_E_EXPECTED EMAKEHR(0x180b) +#define VER_E_LOC_BYNAME EMAKEHR(0x180c) +#define VER_E_UNKNOWN_OPCODE EMAKEHR(0x1810) +#define VER_E_SIG_CALLCONV EMAKEHR(0x1811) +#define VER_E_SIG_ELEMTYPE EMAKEHR(0x1812) +#define VER_E_RET_SIG EMAKEHR(0x1814) +#define VER_E_FIELD_SIG EMAKEHR(0x1815) +#define VER_E_OPEN_DLGT_PROT_ACC EMAKEHR(0x1816) +#define VER_E_INTERNAL EMAKEHR(0x1818) +#define VER_E_STACK_TOO_LARGE EMAKEHR(0x1819) +#define VER_E_ARRAY_NAME_LONG EMAKEHR(0x181a) +#define VER_E_FALLTHRU EMAKEHR(0x1820) +#define VER_E_TRY_GTEQ_END EMAKEHR(0x1821) +#define VER_E_TRYEND_GT_CS EMAKEHR(0x1822) +#define VER_E_HND_GTEQ_END EMAKEHR(0x1823) +#define VER_E_HNDEND_GT_CS EMAKEHR(0x1824) +#define VER_E_FLT_GTEQ_CS EMAKEHR(0x1825) +#define VER_E_TRY_START EMAKEHR(0x1826) +#define VER_E_HND_START EMAKEHR(0x1827) +#define VER_E_FLT_START EMAKEHR(0x1828) +#define VER_E_TRY_OVERLAP EMAKEHR(0x1829) +#define VER_E_TRY_EQ_HND_FIL EMAKEHR(0x182a) +#define VER_E_TRY_SHARE_FIN_FAL EMAKEHR(0x182b) +#define VER_E_HND_OVERLAP EMAKEHR(0x182c) +#define VER_E_HND_EQ EMAKEHR(0x182d) +#define VER_E_FIL_OVERLAP EMAKEHR(0x182e) +#define VER_E_FIL_EQ EMAKEHR(0x182f) +#define VER_E_FIL_CONT_TRY EMAKEHR(0x1830) +#define VER_E_FIL_CONT_HND EMAKEHR(0x1831) +#define VER_E_FIL_CONT_FIL EMAKEHR(0x1832) +#define VER_E_FIL_GTEQ_CS EMAKEHR(0x1833) +#define VER_E_FIL_START EMAKEHR(0x1834) +#define VER_E_FALLTHRU_EXCEP EMAKEHR(0x1835) +#define VER_E_FALLTHRU_INTO_HND EMAKEHR(0x1836) +#define VER_E_FALLTHRU_INTO_FIL EMAKEHR(0x1837) +#define VER_E_LEAVE EMAKEHR(0x1838) +#define VER_E_RETHROW EMAKEHR(0x1839) +#define VER_E_ENDFINALLY EMAKEHR(0x183a) +#define VER_E_ENDFILTER EMAKEHR(0x183b) +#define VER_E_ENDFILTER_MISSING EMAKEHR(0x183c) +#define VER_E_BR_INTO_TRY EMAKEHR(0x183d) +#define VER_E_BR_INTO_HND EMAKEHR(0x183e) +#define VER_E_BR_INTO_FIL EMAKEHR(0x183f) +#define VER_E_BR_OUTOF_TRY EMAKEHR(0x1840) +#define VER_E_BR_OUTOF_HND EMAKEHR(0x1841) +#define VER_E_BR_OUTOF_FIL EMAKEHR(0x1842) +#define VER_E_BR_OUTOF_FIN EMAKEHR(0x1843) +#define VER_E_RET_FROM_TRY EMAKEHR(0x1844) +#define VER_E_RET_FROM_HND EMAKEHR(0x1845) +#define VER_E_RET_FROM_FIL EMAKEHR(0x1846) +#define VER_E_BAD_JMP_TARGET EMAKEHR(0x1847) +#define VER_E_PATH_LOC EMAKEHR(0x1848) +#define VER_E_PATH_THIS EMAKEHR(0x1849) +#define VER_E_PATH_STACK EMAKEHR(0x184a) +#define VER_E_PATH_STACK_DEPTH EMAKEHR(0x184b) +#define VER_E_THIS EMAKEHR(0x184c) +#define VER_E_THIS_UNINIT_EXCEP EMAKEHR(0x184d) +#define VER_E_THIS_UNINIT_STORE EMAKEHR(0x184e) +#define VER_E_THIS_UNINIT_RET EMAKEHR(0x184f) +#define VER_E_THIS_UNINIT_V_RET EMAKEHR(0x1850) +#define VER_E_THIS_UNINIT_BR EMAKEHR(0x1851) +#define VER_E_LDFTN_CTOR EMAKEHR(0x1852) +#define VER_E_STACK_NOT_EQ EMAKEHR(0x1853) +#define VER_E_STACK_UNEXPECTED EMAKEHR(0x1854) +#define VER_E_STACK_EXCEPTION EMAKEHR(0x1855) +#define VER_E_STACK_OVERFLOW EMAKEHR(0x1856) +#define VER_E_STACK_UNDERFLOW EMAKEHR(0x1857) +#define VER_E_STACK_EMPTY EMAKEHR(0x1858) +#define VER_E_STACK_UNINIT EMAKEHR(0x1859) +#define VER_E_STACK_I_I4_I8 EMAKEHR(0x185a) +#define VER_E_STACK_R_R4_R8 EMAKEHR(0x185b) +#define VER_E_STACK_NO_R_I8 EMAKEHR(0x185c) +#define VER_E_STACK_NUMERIC EMAKEHR(0x185d) +#define VER_E_STACK_OBJREF EMAKEHR(0x185e) +#define VER_E_STACK_P_OBJREF EMAKEHR(0x185f) +#define VER_E_STACK_BYREF EMAKEHR(0x1860) +#define VER_E_STACK_METHOD EMAKEHR(0x1861) +#define VER_E_STACK_ARRAY_SD EMAKEHR(0x1862) +#define VER_E_STACK_VALCLASS EMAKEHR(0x1863) +#define VER_E_STACK_P_VALCLASS EMAKEHR(0x1864) +#define VER_E_STACK_NO_VALCLASS EMAKEHR(0x1865) +#define VER_E_LOC_DEAD EMAKEHR(0x1866) +#define VER_E_LOC_NUM EMAKEHR(0x1867) +#define VER_E_ARG_NUM EMAKEHR(0x1868) +#define VER_E_TOKEN_RESOLVE EMAKEHR(0x1869) +#define VER_E_TOKEN_TYPE EMAKEHR(0x186a) +#define VER_E_TOKEN_TYPE_MEMBER EMAKEHR(0x186b) +#define VER_E_TOKEN_TYPE_FIELD EMAKEHR(0x186c) +#define VER_E_TOKEN_TYPE_SIG EMAKEHR(0x186d) +#define VER_E_UNVERIFIABLE EMAKEHR(0x186e) +#define VER_E_LDSTR_OPERAND EMAKEHR(0x186f) +#define VER_E_RET_PTR_TO_STACK EMAKEHR(0x1870) +#define VER_E_RET_VOID EMAKEHR(0x1871) +#define VER_E_RET_MISSING EMAKEHR(0x1872) +#define VER_E_RET_EMPTY EMAKEHR(0x1873) +#define VER_E_RET_UNINIT EMAKEHR(0x1874) +#define VER_E_ARRAY_ACCESS EMAKEHR(0x1875) +#define VER_E_ARRAY_V_STORE EMAKEHR(0x1876) +#define VER_E_ARRAY_SD EMAKEHR(0x1877) +#define VER_E_ARRAY_SD_PTR EMAKEHR(0x1878) +#define VER_E_ARRAY_FIELD EMAKEHR(0x1879) +#define VER_E_ARGLIST EMAKEHR(0x187a) +#define VER_E_VALCLASS EMAKEHR(0x187b) +#define VER_E_METHOD_ACCESS EMAKEHR(0x187c) +#define VER_E_FIELD_ACCESS EMAKEHR(0x187d) +#define VER_E_DEAD EMAKEHR(0x187e) +#define VER_E_FIELD_STATIC EMAKEHR(0x187f) +#define VER_E_FIELD_NO_STATIC EMAKEHR(0x1880) +#define VER_E_ADDR EMAKEHR(0x1881) +#define VER_E_ADDR_BYREF EMAKEHR(0x1882) +#define VER_E_ADDR_LITERAL EMAKEHR(0x1883) +#define VER_E_INITONLY EMAKEHR(0x1884) +#define VER_E_THROW EMAKEHR(0x1885) +#define VER_E_CALLVIRT_VALCLASS EMAKEHR(0x1886) +#define VER_E_CALL_SIG EMAKEHR(0x1887) +#define VER_E_CALL_STATIC EMAKEHR(0x1888) +#define VER_E_CTOR EMAKEHR(0x1889) +#define VER_E_CTOR_VIRT EMAKEHR(0x188a) +#define VER_E_CTOR_OR_SUPER EMAKEHR(0x188b) +#define VER_E_CTOR_MUL_INIT EMAKEHR(0x188c) +#define VER_E_SIG EMAKEHR(0x188d) +#define VER_E_SIG_ARRAY EMAKEHR(0x188e) +#define VER_E_SIG_ARRAY_PTR EMAKEHR(0x188f) +#define VER_E_SIG_ARRAY_BYREF EMAKEHR(0x1890) +#define VER_E_SIG_ELEM_PTR EMAKEHR(0x1891) +#define VER_E_SIG_VARARG EMAKEHR(0x1892) +#define VER_E_SIG_VOID EMAKEHR(0x1893) +#define VER_E_SIG_BYREF_BYREF EMAKEHR(0x1894) +#define VER_E_CODE_SIZE_ZERO EMAKEHR(0x1896) +#define VER_E_BAD_VARARG EMAKEHR(0x1897) +#define VER_E_TAIL_CALL EMAKEHR(0x1898) +#define VER_E_TAIL_BYREF EMAKEHR(0x1899) +#define VER_E_TAIL_RET EMAKEHR(0x189a) +#define VER_E_TAIL_RET_VOID EMAKEHR(0x189b) +#define VER_E_TAIL_RET_TYPE EMAKEHR(0x189c) +#define VER_E_TAIL_STACK_EMPTY EMAKEHR(0x189d) +#define VER_E_METHOD_END EMAKEHR(0x189e) +#define VER_E_BAD_BRANCH EMAKEHR(0x189f) +#define VER_E_FIN_OVERLAP EMAKEHR(0x18a0) +#define VER_E_LEXICAL_NESTING EMAKEHR(0x18a1) +#define VER_E_VOLATILE EMAKEHR(0x18a2) +#define VER_E_UNALIGNED EMAKEHR(0x18a3) +#define VER_E_INNERMOST_FIRST EMAKEHR(0x18a4) +#define VER_E_CALLI_VIRTUAL EMAKEHR(0x18a5) +#define VER_E_CALL_ABSTRACT EMAKEHR(0x18a6) +#define VER_E_STACK_UNEXP_ARRAY EMAKEHR(0x18a7) +#define VER_E_NOT_IN_GC_HEAP EMAKEHR(0x18a8) +#define VER_E_TRY_N_EMPTY_STACK EMAKEHR(0x18a9) +#define VER_E_DLGT_CTOR EMAKEHR(0x18aa) +#define VER_E_DLGT_BB EMAKEHR(0x18ab) +#define VER_E_DLGT_PATTERN EMAKEHR(0x18ac) +#define VER_E_DLGT_LDFTN EMAKEHR(0x18ad) +#define VER_E_FTN_ABSTRACT EMAKEHR(0x18ae) +#define VER_E_SIG_C_VC EMAKEHR(0x18af) +#define VER_E_SIG_VC_C EMAKEHR(0x18b0) +#define VER_E_BOX_PTR_TO_STACK EMAKEHR(0x18b1) +#define VER_E_SIG_BYREF_TB_AH EMAKEHR(0x18b2) +#define VER_E_SIG_ARRAY_TB_AH EMAKEHR(0x18b3) +#define VER_E_ENDFILTER_STACK EMAKEHR(0x18b4) +#define VER_E_DLGT_SIG_I EMAKEHR(0x18b5) +#define VER_E_DLGT_SIG_O EMAKEHR(0x18b6) +#define VER_E_RA_PTR_TO_STACK EMAKEHR(0x18b7) +#define VER_E_CATCH_VALUE_TYPE EMAKEHR(0x18b8) +#define VER_E_CATCH_BYREF EMAKEHR(0x18b9) +#define VER_E_FIL_PRECEED_HND EMAKEHR(0x18ba) +#define VER_E_LDVIRTFTN_STATIC EMAKEHR(0x18bb) +#define VER_E_CALLVIRT_STATIC EMAKEHR(0x18bc) +#define VER_E_INITLOCALS EMAKEHR(0x18bd) +#define VER_E_BR_TO_EXCEPTION EMAKEHR(0x18be) +#define VER_E_CALL_CTOR EMAKEHR(0x18bf) +#define VER_E_VALCLASS_OBJREF_VAR EMAKEHR(0x18c0) +#define VER_E_STACK_P_VALCLASS_OBJREF_VAR EMAKEHR(0x18c1) +#define VER_E_SIG_VAR_PARAM EMAKEHR(0x18c2) +#define VER_E_SIG_MVAR_PARAM EMAKEHR(0x18c3) +#define VER_E_SIG_VAR_ARG EMAKEHR(0x18c4) +#define VER_E_SIG_MVAR_ARG EMAKEHR(0x18c5) +#define VER_E_SIG_GENERICINST EMAKEHR(0x18c6) +#define VER_E_SIG_METHOD_INST EMAKEHR(0x18c7) +#define VER_E_SIG_METHOD_PARENT_INST EMAKEHR(0x18c8) +#define VER_E_SIG_FIELD_PARENT_INST EMAKEHR(0x18c9) +#define VER_E_CALLCONV_NOT_GENERICINST EMAKEHR(0x18ca) +#define VER_E_TOKEN_BAD_METHOD_SPEC EMAKEHR(0x18cb) +#define VER_E_BAD_READONLY_PREFIX EMAKEHR(0x18cc) +#define VER_E_BAD_CONSTRAINED_PREFIX EMAKEHR(0x18cd) +#define VER_E_CIRCULAR_VAR_CONSTRAINTS EMAKEHR(0x18ce) +#define VER_E_CIRCULAR_MVAR_CONSTRAINTS EMAKEHR(0x18cf) +#define VER_E_UNSATISFIED_METHOD_INST EMAKEHR(0x18d0) +#define VER_E_UNSATISFIED_METHOD_PARENT_INST EMAKEHR(0x18d1) +#define VER_E_UNSATISFIED_FIELD_PARENT_INST EMAKEHR(0x18d2) +#define VER_E_UNSATISFIED_BOX_OPERAND EMAKEHR(0x18d3) +#define VER_E_CONSTRAINED_CALL_WITH_NON_BYREF_THIS EMAKEHR(0x18d4) +#define VER_E_CONSTRAINED_OF_NON_VARIABLE_TYPE EMAKEHR(0x18d5) +#define VER_E_READONLY_UNEXPECTED_CALLEE EMAKEHR(0x18d6) +#define VER_E_READONLY_ILLEGAL_WRITE EMAKEHR(0x18d7) +#define VER_E_READONLY_IN_MKREFANY EMAKEHR(0x18d8) +#define VER_E_UNALIGNED_ALIGNMENT EMAKEHR(0x18d9) +#define VER_E_TAILCALL_INSIDE_EH EMAKEHR(0x18da) +#define VER_E_BACKWARD_BRANCH EMAKEHR(0x18db) +#define VER_E_CALL_TO_VTYPE_BASE EMAKEHR(0x18dc) +#define VER_E_NEWOBJ_OF_ABSTRACT_CLASS EMAKEHR(0x18dd) +#define VER_E_UNMANAGED_POINTER EMAKEHR(0x18de) +#define VER_E_LDFTN_NON_FINAL_VIRTUAL EMAKEHR(0x18df) +#define VER_E_FIELD_OVERLAP EMAKEHR(0x18e0) +#define VER_E_THIS_MISMATCH EMAKEHR(0x18e1) +#define VER_E_STACK_I_I4 EMAKEHR(0x18e2) +#define VER_E_BAD_PE EMAKEHR(0x18f0) +#define VER_E_BAD_MD EMAKEHR(0x18f1) +#define VER_E_BAD_APPDOMAIN EMAKEHR(0x18f2) +#define VER_E_TYPELOAD EMAKEHR(0x18f3) +#define VER_E_PE_LOAD EMAKEHR(0x18f4) +#define VER_E_WRITE_RVA_STATIC EMAKEHR(0x18f5) +#define VER_E_INITIALIZE_ARRAY_MISSING_TOKEN EMAKEHR(0x18f6) + +#endif /* __WINE_CORERROR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/corhdr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/corhdr.h new file mode 100644 index 0000000..5ca84fe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/corhdr.h @@ -0,0 +1,130 @@ +/* + * Copyright 2008 James Hawkins + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_CORHDR_H +#define __WINE_CORHDR_H + +typedef enum CorTokenType +{ + mdtModule = 0x00000000, + mdtTypeRef = 0x01000000, + mdtTypeDef = 0x02000000, + mdtFieldDef = 0x04000000, + mdtMethodDef = 0x06000000, + mdtParamDef = 0x08000000, + mdtInterfaceImpl = 0x09000000, + mdtMemberRef = 0x0a000000, + mdtCustomAttribute = 0x0c000000, + mdtPermission = 0x0e000000, + mdtSignature = 0x11000000, + mdtEvent = 0x14000000, + mdtProperty = 0x17000000, + mdtModuleRef = 0x1a000000, + mdtTypeSpec = 0x1b000000, + mdtAssembly = 0x20000000, + mdtAssemblyRef = 0x23000000, + mdtFile = 0x26000000, + mdtExportedType = 0x27000000, + mdtManifestResource = 0x28000000, + mdtGenericParam = 0x2a000000, + mdtMethodSpec = 0x2b000000, + mdtGenericParamConstraint = 0x2c000000, + mdtString = 0x70000000, + mdtName = 0x71000000, + mdtBaseType = 0x72000000, +} CorTokenType; + +typedef enum CorElementType +{ + ELEMENT_TYPE_END = 0x00, + ELEMENT_TYPE_VOID = 0x01, + ELEMENT_TYPE_BOOLEAN = 0x02, + ELEMENT_TYPE_CHAR = 0x03, + ELEMENT_TYPE_I1 = 0x04, + ELEMENT_TYPE_U1 = 0x05, + ELEMENT_TYPE_I2 = 0x06, + ELEMENT_TYPE_U2 = 0x07, + ELEMENT_TYPE_I4 = 0x08, + ELEMENT_TYPE_U4 = 0x09, + ELEMENT_TYPE_I8 = 0x0a, + ELEMENT_TYPE_U8 = 0x0b, + ELEMENT_TYPE_R4 = 0x0c, + ELEMENT_TYPE_R8 = 0x0d, + ELEMENT_TYPE_STRING = 0x0e, + ELEMENT_TYPE_PTR = 0x0f, + ELEMENT_TYPE_BYREF = 0x10, + ELEMENT_TYPE_VALUETYPE = 0x11, + ELEMENT_TYPE_CLASS = 0x12, + ELEMENT_TYPE_VAR = 0x13, + ELEMENT_TYPE_ARRAY = 0x14, + ELEMENT_TYPE_GENERICINST = 0x15, + ELEMENT_TYPE_TYPEDBYREF = 0x16, + ELEMENT_TYPE_I = 0x18, + ELEMENT_TYPE_U = 0x19, + ELEMENT_TYPE_FNPTR = 0x1b, + ELEMENT_TYPE_OBJECT = 0x1c, + ELEMENT_TYPE_SZARRAY = 0x1d, + ELEMENT_TYPE_MVAR = 0x1e, + ELEMENT_TYPE_CMOD_REQD = 0x1f, + ELEMENT_TYPE_CMOD_OPT = 0x20, + ELEMENT_TYPE_INTERNAL = 0x21, + ELEMENT_TYPE_MAX = 0x22, + ELEMENT_TYPE_MODIFIER = 0x40, + ELEMENT_TYPE_SENTINEL = 0x01 | ELEMENT_TYPE_MODIFIER, + ELEMENT_TYPE_PINNED = 0x05 | ELEMENT_TYPE_MODIFIER, + ELEMENT_TYPE_R4_HFA = 0x06 | ELEMENT_TYPE_MODIFIER, + ELEMENT_TYPE_R8_HFA = 0x07 | ELEMENT_TYPE_MODIFIER, + +} CorElementType; + +#define RidToToken(rid,tktype) ((rid) |= (tktype)) +#define TokenFromRid(rid,tktype) ((rid) | (tktype)) +#define RidFromToken(tk) ((RID)((tk) & 0x00ffffff)) +#define TypeFromToken(tk) ((ULONG32)((tk) & 0xff000000)) +#define IsNilToken(tk) ((RidFromToken(tk)) == 0) + +typedef LPVOID mdScope; +typedef ULONG32 mdToken; + +typedef mdToken mdModule; +typedef mdToken mdTypeRef; +typedef mdToken mdTypeDef; +typedef mdToken mdFieldDef; +typedef mdToken mdMethodDef; +typedef mdToken mdParamDef; +typedef mdToken mdInterfaceImpl; +typedef mdToken mdMemberRef; +typedef mdToken mdCustomAttribute; +typedef mdToken mdPermission; +typedef mdToken mdSignature; +typedef mdToken mdEvent; +typedef mdToken mdProperty; +typedef mdToken mdModuleRef; +typedef mdToken mdAssembly; +typedef mdToken mdAssemblyRef; +typedef mdToken mdFile; +typedef mdToken mdExportedType; +typedef mdToken mdManifestResource; +typedef mdToken mdTypeSpec; +typedef mdToken mdGenericParam; +typedef mdToken mdMethodSpec; +typedef mdToken mdGenericParamConstraint; +typedef mdToken mdString; +typedef mdToken mdCPToken; + +#endif /* __WINE_CORHDR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cpl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cpl.h new file mode 100644 index 0000000..adabeba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cpl.h @@ -0,0 +1,89 @@ +/* + * Control panel definitions + * + * Copyright (C) 2001 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_CPL +#define _INC_CPL + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define WM_CPL_LAUNCH (WM_USER+1000) +#define WM_CPL_LAUNCHED (WM_USER+1001) + +typedef LONG (APIENTRY *APPLET_PROC)(HWND hwndCpl, UINT msg, LPARAM lParam1, LPARAM lParam2); + +typedef struct tagCPLINFO { + int idIcon; + int idName; + int idInfo; + LONG_PTR lData; +} CPLINFO, *LPCPLINFO; + +typedef struct tagNEWCPLINFOA +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwHelpContext; + LONG_PTR lData; + HICON hIcon; + CHAR szName[32]; + CHAR szInfo[64]; + CHAR szHelpFile[128]; +} NEWCPLINFOA, *LPNEWCPLINFOA; + +typedef struct tagNEWCPLINFOW +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwHelpContext; + LONG_PTR lData; + HICON hIcon; + WCHAR szName[32]; + WCHAR szInfo[64]; + WCHAR szHelpFile[128]; +} NEWCPLINFOW, *LPNEWCPLINFOW; + +DECL_WINELIB_TYPE_AW(NEWCPLINFO) +DECL_WINELIB_TYPE_AW(LPNEWCPLINFO) + +#define CPL_DYNAMIC_RES 0 +#define CPL_INIT 1 +#define CPL_GETCOUNT 2 +#define CPL_INQUIRE 3 +#define CPL_SELECT 4 +#define CPL_DBLCLK 5 +#define CPL_STOP 6 +#define CPL_EXIT 7 +#define CPL_NEWINQUIRE 8 +#define CPL_STARTWPARMSA 9 +#define CPL_STARTWPARMSW 10 +#define CPL_STARTWPARMS WINELIB_NAME_AW(CPL_STARTWPARMS) +#define CPL_SETUP 200 + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* _INC_CPL */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/crtrow.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/crtrow.idl new file mode 100644 index 0000000..8c602f6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/crtrow.idl @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733ab2-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ICreateRow : IUnknown +{ + [local] + HRESULT CreateRow([in, unique] IUnknown *pUnkOuter, + [in] LPCOLESTR pwszURL, + [in] DBBINDURLFLAG dwBindURLFlags, + [in] REFGUID rguid, + [in] REFIID riid, + [in, unique] IAuthenticate *pAuthenticate, + [in, out, unique] DBIMPLICITSESSION *pImplSession, + [in, out, unique] DBBINDURLSTATUS *pdwBindStatus, + [out, annotation("__deref_opt_out_opt")] LPOLESTR *ppwszNewURL, + [out, iid_is(riid)] IUnknown **ppUnk); + + [call_as(CreateRow)] + HRESULT RemoteCreateRow([in] IUnknown *pUnkOuter, + [in] LPCOLESTR pwszURL, + [in] DBBINDURLFLAG dwBindURLFlags, + [in] REFGUID rguid, + [in] REFIID riid, + [in] IAuthenticate *pAuthenticate, + [in] IUnknown *pSessionUnkOuter, + [in, unique] IID *piid, + [in, out, unique, iid_is(piid)] IUnknown **ppSession, + [in, out, unique] DBBINDURLSTATUS *pdwBindStatus, + [in, out, unique] LPOLESTR *ppwszNewURL, + [out, iid_is(riid)] IUnknown **ppUnk); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cryptdlg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cryptdlg.h new file mode 100644 index 0000000..47bd984 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cryptdlg.h @@ -0,0 +1,313 @@ +/* + * Copyright (C) 2008 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __CRYPTDLG_H__ +#define __CRYPTDLG_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define CRYPTDLG_FLAGS_MASK 0xff000000 +#define CRYPTDLG_REVOCATION_DEFAULT 0x00000000 +#define CRYPTDLG_REVOCATION_ONLINE 0x80000000 +#define CRYPTDLG_REVOCATION_CACHE 0x40000000 +#define CRYPTDLG_REVOCATION_NONE 0x20000000 + +#define CRYPTDLG_POLICY_MASK 0x0000ffff +#define POLICY_IGNORE_NON_CRITICAL_BC 0x00000001 + +#define CRYPTDLG_ACTION_MASK 0xffff0000 +#define ACTION_REVOCATION_DEFAULT_ONLINE 0x00010000 +#define ACTION_REVOCATION_DEFAULT_CACHE 0x00020000 + +typedef BOOL (WINAPI *PFNCMFILTERPROC)(PCCERT_CONTEXT, DWORD, DWORD, DWORD); + +#define CERT_DISPWELL_SELECT 1 +#define CERT_DISPWELL_TRUST_CA_CERT 2 +#define CERT_DISPWELL_TRUST_LEAF_CERT 3 +#define CERT_DISPWELL_TRUST_ADD_CA_CERT 4 +#define CERT_DISPWELL_TRUST_ADD_LEAF_CERT 5 +#define CERT_DISPWELL_DISTRUST_CA_CERT 6 +#define CERT_DISPWELL_DISTRUST_LEAF_CERT 7 +#define CERT_DISPWELL_DISTRUST_ADD_CA_CERT 8 +#define CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT 9 + +typedef UINT (WINAPI *PFNCMHOOKPROC)(HWND, UINT, WPARAM, LPARAM); + +#define CSS_SELECTCERT_MASK 0x00ffffff +#define CSS_HIDE_PROPERTIES 0x00000001 +#define CSS_ENABLEHOOK 0x00000002 +#define CSS_ALLOWMULTISELECT 0x00000004 +#define CSS_SHOW_HELP 0x00000010 +#define CSS_ENABLETEMPLATE 0x00000020 +#define CSS_ENABLETEMPLATEHANDLE 0x00000040 + +#define SELCERT_OK IDOK +#define SELCERT_CANCEL IDCANCEL +#define SELCERT_PROPERTIES 100 +#define SELCERT_FINEPRINT 101 +#define SELCERT_CERTLIST 102 +#define SELCERT_HELP IDHELP +#define SELCERT_ISSUED_TO 103 +#define SELCERT_VALIDITY 104 +#define SELCERT_ALGORITHM 105 +#define SELCERT_SERIAL_NUM 106 +#define SELCERT_THUMBPRINT 107 + +typedef struct tagCSSA +{ + DWORD dwSize; + HWND hwndParent; + HINSTANCE hInstance; + LPCSTR pTemplateName; + DWORD dwFlags; + LPCSTR szTitle; + DWORD cCertStore; + HCERTSTORE *arrayCertStore; + LPCSTR szPurposeOid; + DWORD cCertContext; + PCCERT_CONTEXT *arrayCertContext; + DWORD lCustData; + PFNCMHOOKPROC pfnHook; + PFNCMFILTERPROC pfnFilter; + LPCSTR szHelpFileName; + DWORD dwHelpId; + HCRYPTPROV hprov; +} CERT_SELECT_STRUCT_A, *PCERT_SELECT_STRUCT_A; + +typedef struct tagCSSW +{ + DWORD dwSize; + HWND hwndParent; + HINSTANCE hInstance; + LPCWSTR pTemplateName; + DWORD dwFlags; + LPCWSTR szTitle; + DWORD cCertStore; + HCERTSTORE *arrayCertStore; + LPCSTR szPurposeOid; + DWORD cCertContext; + PCCERT_CONTEXT *arrayCertContext; + DWORD lCustData; + PFNCMHOOKPROC pfnHook; + PFNCMFILTERPROC pfnFilter; + LPCWSTR szHelpFileName; + DWORD dwHelpId; + HCRYPTPROV hprov; +} CERT_SELECT_STRUCT_W, *PCERT_SELECT_STRUCT_W; + +#define CERT_SELECT_STRUCT WINELIB_NAME_AW(CERT_SELECT_STRUCT_) + +BOOL WINAPI CertSelectCertificateA(PCERT_SELECT_STRUCT_A pCertSelectInfo); +BOOL WINAPI CertSelectCertificateW(PCERT_SELECT_STRUCT_W pCertSelectInfo); +#define CertSelectCertificate WINELIB_NAME_AW(CertSelectCertificate) + +#define CM_VIEWFLAGS_MASK 0x00ffffff +#define CM_ENABLEHOOK 0x00000001 +#define CM_SHOW_HELP 0x00000002 +#define CM_SHOW_HELPICON 0x00000004 +#define CM_ENABLETEMPLATE 0x00000008 +#define CM_HIDE_ADVANCEPAGE 0x00000010 +#define CM_HIDE_TRUSTPAGE 0x00000020 +#define CM_NO_NAMECHANGE 0x00000040 +#define CM_NO_EDITTRUST 0x00000080 +#define CM_HIDE_DETAILPAGE 0x00000100 +#define CM_ADD_CERT_STORES 0x00000200 +#define CERTVIEW_CRYPTUI_LPARAM 0x00800000 + +typedef struct tagCERT_VIEWPROPERTIES_STRUCT_A +{ + DWORD dwSize; + HWND hwndParent; + HINSTANCE hInstance; + DWORD dwFlags; + LPCSTR szTitle; + PCCERT_CONTEXT pCertContext; + LPSTR *arrayPurposes; + DWORD cArrayPurposes; + DWORD cRootStores; + HCERTSTORE *rghstoreRoots; + DWORD cStores; + HCERTSTORE *rghstoreCAs; + DWORD cTrustStores; + HCERTSTORE *rghstoreTrust; + HCRYPTPROV hprov; + DWORD lCustData; + DWORD dwPad; + LPCSTR szHelpFileName; + DWORD dwHelpId; + DWORD nStartPage; + DWORD cArrayPropSheetPages; + /* FIXME: PSDK declares arrayPropSheetPages as a PROPSHEETPAGE *, which we + * don't allow in our own headers. It's probably wrong, but we're not + * compatible. + */ + PROPSHEETPAGEA *arrayPropSheetPages; +} CERT_VIEWPROPERTIES_STRUCT_A, *PCERT_VIEWPROPERTIES_STRUCT_A; + +typedef struct tagCERT_VIEWPROPERTIES_STRUCT_W +{ + DWORD dwSize; + HWND hwndParent; + HINSTANCE hInstance; + DWORD dwFlags; + LPCWSTR szTitle; + PCCERT_CONTEXT pCertContext; + LPSTR *arrayPurposes; + DWORD cArrayPurposes; + DWORD cRootStores; + HCERTSTORE *rghstoreRoots; + DWORD cStores; + HCERTSTORE *rghstoreCAs; + DWORD cTrustStores; + HCERTSTORE *rghstoreTrust; + HCRYPTPROV hprov; + DWORD lCustData; + DWORD dwPad; + LPCWSTR szHelpFileName; + DWORD dwHelpId; + DWORD nStartPage; + DWORD cArrayPropSheetPages; + /* FIXME: PSDK declares arrayPropSheetPages as a PROPSHEETPAGE *, which we + * don't allow in our own headers. It's probably wrong, but we're not + * compatible. + */ + PROPSHEETPAGEW *arrayPropSheetPages; +} CERT_VIEWPROPERTIES_STRUCT_W, *PCERT_VIEWPROPERTIES_STRUCT_W; + +#define CERT_VIEWPROPERTIES_STRUCT WINELIB_NAME_AW(CERT_VIEWPROPERTIES_STRUCT_) +#define PCERT_VIEWPROPERTIES_STRUCT \ + WINELIB_NAME_AW(PCERT_VIEWPROPERTIES_STRUCT_) + +BOOL WINAPI CertViewPropertiesA(PCERT_VIEWPROPERTIES_STRUCT_A pCertViewInfo); +BOOL WINAPI CertViewPropertiesW(PCERT_VIEWPROPERTIES_STRUCT_W pCertViewInfo); +#define CertViewProperties WINELIB_NAME_AW(CertViewProperties) + +#define CERT_FILTER_OP_EXISTS 1 +#define CERT_FILTER_OP_NOT_EXISTS 2 +#define CERT_FILTER_OP_EQUALITY 3 + +typedef struct tagCMOID +{ + LPCSTR szExtensionOID; + DWORD dwTestOperation; + LPBYTE pbTestData; + DWORD cbTestData; +} CERT_FILTER_EXTENSION_MATCH; + +#define CERT_FILTER_INCLUDE_V1_CERTS 0x0001 +#define CERT_FILTER_VALID_TIME_RANGE 0x0002 +#define CERT_FILTER_VALID_SIGNATURE 0x0004 +#define CERT_FILTER_LEAF_CERTS_ONLY 0x0008 +#define CERT_FILTER_ISSUER_CERTS_ONLY 0x0010 +#define CERT_FILTER_KEY_EXISTS 0x0020 + +typedef struct tagCMFLTR +{ + DWORD dwSize; + DWORD cExtensionChecks; + CERT_FILTER_EXTENSION_MATCH *arrayExtensionChecks; + DWORD dwCheckingFlags; +} CERT_FILTER_DATA; + +DWORD WINAPI GetFriendlyNameOfCertA(PCCERT_CONTEXT pccert, LPSTR pchBuffer, + DWORD cchBuffer); +DWORD WINAPI GetFriendlyNameOfCertW(PCCERT_CONTEXT pccert, LPWSTR pchBuffer, + DWORD cchBuffer); +#define GetFriendlyNameOfCert WINELIB_NAME_AW(GetFriendlyNameOfCert) + +#define CERT_CERTIFICATE_ACTION_VERIFY \ + { 0x7801ebd0, 0xcf4b, 0x11d0, { 0x85,0x1f,0x00,0x60,0x97,0x93,0x87,0xea }} +#define szCERT_CERTIFICATE_ACTION_VERIFY \ + "{7801ebd0-cf4b-11d0-851f-0060979387ea}" + +typedef HRESULT (WINAPI *PFNTRUSTHELPER)(PCCERT_CONTEXT, DWORD, BOOL, LPBYTE); + +#define CERT_VALIDITY_MASK_VALIDITY 0x0000ffff +#define CERT_VALIDITY_BEFORE_START 0x00000001 +#define CERT_VALIDITY_AFTER_END 0x00000002 +#define CERT_VALIDITY_SIGNATURE_FAILS 0x00000004 +#define CERT_VALIDITY_CERTIFICATE_REVOKED 0x00000008 +#define CERT_VALIDITY_KEY_USAGE_EXT_FAILURE 0x00000010 +#define CERT_VALIDITY_EXTENDED_USAGE_FAILURE 0x00000020 +#define CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE 0x00000040 +#define CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION 0x00000080 +#define CERT_VALIDITY_ISSUER_INVALID 0x00000100 +#define CERT_VALIDITY_OTHER_EXTENSION_FAILURE 0x00000200 +#define CERT_VALIDITY_PERIOD_NESTING_FAILURE 0x00000400 +#define CERT_VALIDITY_OTHER_ERROR 0x00000800 + +#define CERT_VALIDITY_MASK_TRUST 0xffff0000 +#define CERT_VALIDITY_EXPLICITLY_DISTRUSTED 0x01000000 +#define CERT_VALIDITY_ISSUER_DISTRUST 0x02000000 +#define CERT_VALIDITY_NO_ISSUER_CERT_FOUND 0x10000000 +#define CERT_VALIDITY_NO_CRL_FOUND 0x20000000 +#define CERT_VALIDITY_CRL_OUT_OF_DATE 0x40000000 +#define CERT_VALIDITY_NO_TRUST_DATA 0x80000000 + +#define CERT_TRUST_MASK 0x00ffffff +#define CERT_TRUST_DO_FULL_SEARCH 0x00000001 +#define CERT_TRUST_PERMIT_MISSING_CRLS 0x00000002 +#define CERT_TRUST_DO_FULL_TRUST 0x00000005 +#define CERT_TRUST_ADD_CERT_STORES CM_ADD_CERT_STORES + +typedef struct _CERT_VERIFY_CERTIFICATE_TRUST +{ + DWORD cbSize; + PCCERT_CONTEXT pccert; + DWORD dwFlags; + DWORD dwIgnoreErr; + DWORD *pdwErrors; + LPSTR pszUsageOid; + HCRYPTPROV hprov; + DWORD cRootStores; + HCERTSTORE *rghstoreRoots; + DWORD cStores; + HCERTSTORE *rghstoreCAs; + DWORD cTrustStores; + HCERTSTORE *rghstoreTrust; + DWORD lCustData; + PFNTRUSTHELPER pfnTrustHelper; + DWORD *pcchain; + PCCERT_CONTEXT **prgChain; + DWORD **prgdwErrors; + DATA_BLOB **prgpbTrustInfo; +} CERT_VERIFY_CERTIFICATE_TRUST, *PCERT_VERIFY_CERTIFICATE_TRUST; + +#define CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED 1 +#define CTL_MODIFY_REQUEST_REMOVE 2 +#define CTL_MODIFY_REQUEST_ADD_TRUSTED 3 + +typedef struct _CTL_MODIFY_REQUEST +{ + PCCERT_CONTEXT pccert; + DWORD dwOperation; + DWORD dwError; +} CTL_MODIFY_REQUEST, *PCTL_MODIFY_REQUEST; + +HRESULT WINAPI CertModifyCertificatesToTrust(int cCertStore, + PCTL_MODIFY_REQUEST rgCerts, LPCSTR szPurpose, HWND hwnd, + HCERTSTORE hcertstoreTrust); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cryptuiapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cryptuiapi.h new file mode 100644 index 0000000..7201cbc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cryptuiapi.h @@ -0,0 +1,437 @@ +/* + * Copyright (C) 2008 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __CRYPTUIAPI_H__ +#define __CRYPTUIAPI_H__ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +BOOL WINAPI CryptUIDlgViewContext(DWORD dwContextType, LPVOID pvContext, + HWND hwnd, LPCWSTR pwszTitle, DWORD dwFlags, LPVOID pvReserved); + +/* Values for dwDontUseColumn */ +#define CRYPTUI_SELECT_ISSUEDTO_COLUMN 0x00000001 +#define CRYPTUI_SELECT_ISSUEDBY_COLUMN 0x00000002 +#define CRYPTUI_SELECT_INTENDEDUSE_COLUMN 0x00000004 +#define CRYPTUI_SELECT_FRIENDLYNAME_COLUMN 0x00000008 +#define CRYPTUI_SELECT_LOCATION_COLUMN 0x00000010 +#define CRYPTUI_SELECT_EXPIRATION_COLUMN 0x00000020 + +PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateFromStore( + HCERTSTORE hCertStore, HWND hwnd, LPCWSTR pwszTitle, LPCWSTR pwszDisplayString, + DWORD dwDontUseColumn, DWORD dwFlags, LPVOID pvReserved); + +/* Values for CRYPTUI_CERT_MGR_STRUCT's dwFlags */ +#define CRYPTUI_CERT_MGR_PUBLISHER_TAB 0x00000004 +#define CRYPTUI_CERT_MGR_TAB_MASK 0x0000000f +#define CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG 0x00008000 + +typedef struct _CRYPTUI_CERT_MGR_STRUCT +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCWSTR pwszTitle; + LPCSTR pszInitUsageOID; +} CRYPTUI_CERT_MGR_STRUCT, *PCRYPTUI_CERT_MGR_STRUCT; +typedef const struct _CRYPTUI_CERT_MGR_STRUCT *PCCRYPTUI_CERT_MGR_STRUCT; + +BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr); + +typedef BOOL (WINAPI *PFNCFILTERPROC)(PCCERT_CONTEXT pCertContext, + BOOL *pfInitialSelectedCert, void *pvCallbackData); + +typedef struct tagCRYPTUI_INITDIALOG_STRUCT +{ + LPARAM lParam; + PCCERT_CONTEXT pCertContext; +} CRYPTUI_INITDIALOG_STRUCT, *PCRYPTUI_INITDIALOG_STRUCT; + +/* Values for CRYPTUI_VIEWCERTIFICATE_STRUCT's dwFlags */ +#define CRYPTUI_HIDE_HIERARCHYPAGE 0x00000001 +#define CRYPTUI_HIDE_DETAILPAGE 0x00000002 +#define CRYPTUI_DISABLE_EDITPROPERTIES 0x00000004 +#define CRYPTUI_ENABLE_EDITPROPERTIES 0x00000008 +#define CRYPTUI_DISABLE_ADDTOSTORE 0x00000010 +#define CRYPTUI_ENABLE_ADDTOSTORE 0x00000020 +#define CRYPTUI_ACCEPT_DECLINE_STYLE 0x00000040 +#define CRYPTUI_IGNORE_UNTRUSTED_ROOT 0x00000080 +#define CRYPTUI_DONT_OPEN_STORES 0x00000100 +#define CRYPTUI_ONLY_OPEN_ROOT_STORE 0x00000200 +#define CRYPTUI_WARN_UNTRUSTED_ROOT 0x00000400 +#define CRYPTUI_ENABLE_REVOCATION_CHECKING 0x00000800 +#define CRYPTUI_WARN_REMOTE_TRUST 0x00001000 +#define CRYPTUI_DISABLE_EXPORT 0x00002000 +#define CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT 0x00004000 +#define CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN 0x00008000 +#define CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT CRYPTUI_ENABLE_REVOCATION_CHECKING +#define CRYPTUI_DISABLE_HTMLLINK 0x00010000 +#define CRYPTUI_DISABLE_ISSUERSTATEMENT 0x00020000 + +typedef struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTA +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCSTR szTitle; + PCCERT_CONTEXT pCertContext; + LPCSTR *rgszPurposes; + DWORD cPurposes; + union { + CRYPT_PROVIDER_DATA const *pCryptProviderData; + HANDLE hWVTStateData; + } DUMMYUNIONNAME; + BOOL fpCryptProviderDataTrustedUsage; + DWORD idxSigner; + DWORD idxCert; + BOOL fCounterSigner; + DWORD idxCounterSigner; + DWORD cStores; + HCERTSTORE *rghStores; + DWORD cPropSheetPages; + LPCPROPSHEETPAGEA rgPropSheetPages; + DWORD nStartPage; +} CRYPTUI_VIEWCERTIFICATE_STRUCTA, *PCRYPTUI_VIEWCERTIFICATE_STRUCTA; +typedef const CRYPTUI_VIEWCERTIFICATE_STRUCTA *PCCRYPTUI_VIEWCERTIFICATE_STRUCTA; + +typedef struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTW +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCWSTR szTitle; + PCCERT_CONTEXT pCertContext; + LPCSTR *rgszPurposes; + DWORD cPurposes; + union { + CRYPT_PROVIDER_DATA const *pCryptProviderData; + HANDLE hWVTStateData; + } DUMMYUNIONNAME; + BOOL fpCryptProviderDataTrustedUsage; + DWORD idxSigner; + DWORD idxCert; + BOOL fCounterSigner; + DWORD idxCounterSigner; + DWORD cStores; + HCERTSTORE *rghStores; + DWORD cPropSheetPages; + LPCPROPSHEETPAGEW rgPropSheetPages; + DWORD nStartPage; +} CRYPTUI_VIEWCERTIFICATE_STRUCTW, *PCRYPTUI_VIEWCERTIFICATE_STRUCTW; +typedef const CRYPTUI_VIEWCERTIFICATE_STRUCTW *PCCRYPTUI_VIEWCERTIFICATE_STRUCTW; + +#define CRYPTUI_VIEWCERTIFICATE_STRUCT WINELIB_NAME_AW(CRYPTUI_VIEWCERTIFICATE_STRUCT) +#define PCCRYPTUI_VIEWCERTIFICATE_STRUCT WINELIB_NAME_AW(PCCRYPTUI_VIEWCERTIFICATE_STRUCT) + +BOOL WINAPI CryptUIDlgViewCertificateA( + PCCRYPTUI_VIEWCERTIFICATE_STRUCTA pCertViewInfo, BOOL *pfPropertiesChanged); +BOOL WINAPI CryptUIDlgViewCertificateW( + PCCRYPTUI_VIEWCERTIFICATE_STRUCTW pCertViewInfo, BOOL *pfPropertiesChanged); +#define CryptUIDlgViewCertificate WINELIB_NAME_AW(CryptUIDlgViewCertificate) + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO +{ + DWORD dwSize; + GUID *pGuidSubject; + DWORD cbBlob; + BYTE *pbBlob; + LPCWSTR pwszDisplayName; +} CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO * + PCCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO; + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO +{ + DWORD dwSize; + DWORD cCertStore; + HCERTSTORE *rghCertStore; + PFNCFILTERPROC pFilterCallback; + void *pvCallbackData; +} CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO * + PCCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO; + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO +{ + DWORD dwSize; + LPWSTR pwszPvkFileName; + LPWSTR pwszProvName; + DWORD dwProvType; +} CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO, + *PCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO * + PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO; + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO +{ + DWORD dwSize; + LPWSTR pwszSigningCertFileName; + DWORD dwPvkChoice; + union { + PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO pPvkFileInfo; + PCRYPT_KEY_PROV_INFO pPvkProvInfo; + } DUMMYUNIONNAME; +} CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO, + *PCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO * + PCCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO; + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO +{ + DWORD dwSize; + DWORD dwAttrFlags; + LPCWSTR pwszDescription; + LPCWSTR pwszMoreInfoLocation; + LPCSTR pszHashAlg; + LPCWSTR pwszSigningCertDisplayString; + HCERTSTORE hAdditionalCertStore; + PCRYPT_ATTRIBUTES psAuthenticated; + PCRYPT_ATTRIBUTES psUnauthenticated; +} CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO, + *PCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO * + PCCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO; + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_INFO +{ + DWORD dwSize; + DWORD dwSubjectChoice; + union { + LPCWSTR pwszFileName; + PCCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO pSignBlobInfo; + } DUMMYUNIONNAME1; + DWORD dwSigningCertChoice; + union { + PCCERT_CONTEXT pSigningCertContext; + PCCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO pSigningCertStore; + PCCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO pSigningCertPvkInfo; + } DUMMYUNIONNAME2; + LPCWSTR pwszTimestampURL; + DWORD dwAdditionalCertChoice; + PCCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO pSignExtInfo; +} CRYPTUI_WIZ_DIGITAL_SIGN_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_INFO; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_INFO *PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO; + +typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT +{ + DWORD dwSize; + DWORD cbBlob; + BYTE *pbBlob; +} CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT, *PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT; +typedef const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT *PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT; + +/* Values for CryptUIWizDigitalSign's dwFlags */ +#define CRYPTUI_WIZ_NO_UI 0x00000001 +#define CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES 0x00000002 +#define CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES 0x00000004 + +BOOL WINAPI CryptUIWizDigitalSign(DWORD dwFlags, HWND hwndParent, + LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO pDigitalSignInfo, + PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT *ppSignContext); + +BOOL WINAPI CryptUIWizFreeDigitalSignContext( + PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT pSignContext); + +/* Values for CRYPTUI_WIZ_EXPORT_INFO's dwSubjectChoice */ +#define CRYPTUI_WIZ_EXPORT_CERT_CONTEXT 1 +#define CRYPTUI_WIZ_EXPORT_CTL_CONTEXT 2 +#define CRYPTUI_WIZ_EXPORT_CRL_CONTEXT 3 +#define CRYPTUI_WIZ_EXPORT_CERT_STORE 4 +#define CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY 5 +#define CRYPTUI_WIZ_EXPORT_FORMAT_CRL 6 +#define CRYPTUI_WIZ_EXPORT_FORMAT_CTL 7 + +typedef struct _CRYPTUI_WIZ_EXPORT_INFO +{ + DWORD dwSize; + LPCWSTR pwszExportFileName; + DWORD dwSubjectChoice; + union { + PCCERT_CONTEXT pCertContext; + PCCTL_CONTEXT pCTLContext; + PCCRL_CONTEXT pCRLContext; + HCERTSTORE hCertStore; + } DUMMYUNIONNAME; + DWORD cStores; + HCERTSTORE *rghStores; +} CRYPTUI_WIZ_EXPORT_INFO, *PCRYPTUI_WIZ_EXPORT_INFO; +typedef const CRYPTUI_WIZ_EXPORT_INFO *PCCRYPTUI_WIZ_EXPORT_INFO; + +/* Values for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO's dwExportFormat */ +#define CRYPTUI_WIZ_EXPORT_FORMAT_DER 1 +#define CRYPTUI_WIZ_EXPORT_FORMAT_PFX 2 +#define CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7 3 +#define CRYPTUI_WIZ_EXPORT_FORMAT_BASE64 4 +#define CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE 5 + +typedef struct _CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO +{ + DWORD dwSize; + DWORD dwExportFormat; + BOOL fExportChain; + BOOL fExportPrivateKeys; + LPCWSTR pwszPassword; + BOOL fStrongEncryption; +} CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO, *PCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO; +typedef const CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO * + PCCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO; + +BOOL WINAPI CryptUIWizExport(DWORD dwFlags, HWND hwndParent, + LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_EXPORT_INFO pExportInfo, void *pvoid); + +/* Values for CRYPTUI_WIZ_IMPORT_SRC_INFO's dwSubjectChoice */ +#define CRYPTUI_WIZ_IMPORT_SUBJECT_FILE 1 +#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT 2 +#define CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT 3 +#define CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT 4 +#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE 5 + +typedef struct _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO +{ + DWORD dwSize; + DWORD dwSubjectChoice; + union { + LPCWSTR pwszFileName; + PCCERT_CONTEXT pCertContext; + PCCTL_CONTEXT pCTLContext; + PCCRL_CONTEXT pCRLContext; + HCERTSTORE hCertStore; + } DUMMYUNIONNAME; + DWORD dwFlags; + LPCWSTR pwszPassword; +} CRYPTUI_WIZ_IMPORT_SRC_INFO, *PCRYPTUI_WIZ_IMPORT_SRC_INFO; +typedef const CRYPTUI_WIZ_IMPORT_SRC_INFO *PCCRYPTUI_WIZ_IMPORT_SRC_INFO; + +/* Values for CryptUIWizImport's dwFlags */ +#define CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE 0x00010000 +#define CRYPTUI_WIZ_IMPORT_ALLOW_CERT 0x00020000 +#define CRYPTUI_WIZ_IMPORT_ALLOW_CRL 0x00040000 +#define CRYPTUI_WIZ_IMPORT_ALLOW_CTL 0x00080000 +#define CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE 0x00100000 +#define CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER 0x00200000 +#define CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE 0x00400000 + +BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, + LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_IMPORT_SRC_INFO pImportSrc, + HCERTSTORE hDestCertStore); + +/* Definitions missing from PSDK's cryptuiapi.h, but documented on MSDN. */ +typedef BOOL (WINAPI *PFNCCERTDISPLAYPROC)(PCCERT_CONTEXT pCertContext, + HWND hWndSelCertDlg, void *pvCallbackData); + +/* Values for CRYPTUI_SELECTCERTIFICATE_STRUCT's dwFlags */ +#define CRYPTUI_SELECTCERT_MULTISELECT 0x00000001 + +typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTA +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCSTR szTitle; + DWORD dwDontUseColumn; + LPCSTR szDisplayString; + PFNCFILTERPROC pFilterCallback; + PFNCCERTDISPLAYPROC pDisplayCallback; + void *pvCallbackData; + DWORD cDisplayStores; + HCERTSTORE *rghDisplayStores; + DWORD cStores; + HCERTSTORE *rghStores; + DWORD cPropSheetPages; + LPCPROPSHEETPAGEA rgPropSheetPages; + HCERTSTORE hSelectedCertStore; +} CRYPTUI_SELECTCERTIFICATE_STRUCTA, *PCRYPTUI_SELECTCERTIFICATE_STRUCTA; +typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTA * + PCCRYPTUI_SELECTCERTIFICATE_STRUCTA; + +typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTW +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCWSTR szTitle; + DWORD dwDontUseColumn; + LPCWSTR szDisplayString; + PFNCFILTERPROC pFilterCallback; + PFNCCERTDISPLAYPROC pDisplayCallback; + void *pvCallbackData; + DWORD cDisplayStores; + HCERTSTORE *rghDisplayStores; + DWORD cStores; + HCERTSTORE *rghStores; + DWORD cPropSheetPages; + LPCPROPSHEETPAGEW rgPropSheetPages; + HCERTSTORE hSelectedCertStore; +} CRYPTUI_SELECTCERTIFICATE_STRUCTW, *PCRYPTUI_SELECTCERTIFICATE_STRUCTW; +typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTW * + PCCRYPTUI_SELECTCERTIFICATE_STRUCTW; + +PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateA( + PCCRYPTUI_SELECTCERTIFICATE_STRUCTA pcsc); +PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateW( + PCCRYPTUI_SELECTCERTIFICATE_STRUCTW pcsc); + +typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTA +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCSTR szTitle; + CMSG_SIGNER_INFO *pSignerInfo; + HCRYPTMSG hMsg; + LPCSTR pszOID; + DWORD_PTR dwReserved; + DWORD cStores; + HCERTSTORE *rghStores; + DWORD cPropSheetPages; + LPCPROPSHEETPAGEA rgPropSheetPages; +} CRYPTUI_VIEWSIGNERINFO_STRUCTA, *PCRYPTUI_VIEWSIGNERINFO_STRUCTA; + +typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTW +{ + DWORD dwSize; + HWND hwndParent; + DWORD dwFlags; + LPCWSTR szTitle; + CMSG_SIGNER_INFO *pSignerInfo; + HCRYPTMSG hMsg; + LPCSTR pszOID; + DWORD_PTR dwReserved; + DWORD cStores; + HCERTSTORE *rghStores; + DWORD cPropSheetPages; + LPCPROPSHEETPAGEW rgPropSheetPages; +} CRYPTUI_VIEWSIGNERINFO_STRUCTW, *PCRYPTUI_VIEWSIGNERINFO_STRUCTW; + +BOOL WINAPI CryptUIDlgViewSignerInfoA(CRYPTUI_VIEWSIGNERINFO_STRUCTA *pcvsi); +BOOL WINAPI CryptUIDlgViewSignerInfoW(CRYPTUI_VIEWSIGNERINFO_STRUCTW *pcvsi); + +#include + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctfutb.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctfutb.h new file mode 100644 index 0000000..680632b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctfutb.h @@ -0,0 +1,987 @@ +/*** Autogenerated by WIDL 2.18 from ctfutb.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __ctfutb_h__ +#define __ctfutb_h__ + +/* Forward declarations */ + +#ifndef __ITfLangBarItem_FWD_DEFINED__ +#define __ITfLangBarItem_FWD_DEFINED__ +typedef interface ITfLangBarItem ITfLangBarItem; +#ifdef __cplusplus +interface ITfLangBarItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfLangBarItems_FWD_DEFINED__ +#define __IEnumTfLangBarItems_FWD_DEFINED__ +typedef interface IEnumTfLangBarItems IEnumTfLangBarItems; +#ifdef __cplusplus +interface IEnumTfLangBarItems; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfLangBarItemSink_FWD_DEFINED__ +#define __ITfLangBarItemSink_FWD_DEFINED__ +typedef interface ITfLangBarItemSink ITfLangBarItemSink; +#ifdef __cplusplus +interface ITfLangBarItemSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfLangBarItemMgr_FWD_DEFINED__ +#define __ITfLangBarItemMgr_FWD_DEFINED__ +typedef interface ITfLangBarItemMgr ITfLangBarItemMgr; +#ifdef __cplusplus +interface ITfLangBarItemMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfLangBarMgr_FWD_DEFINED__ +#define __ITfLangBarMgr_FWD_DEFINED__ +typedef interface ITfLangBarMgr ITfLangBarMgr; +#ifdef __cplusplus +interface ITfLangBarMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfLangBarEventSink_FWD_DEFINED__ +#define __ITfLangBarEventSink_FWD_DEFINED__ +typedef interface ITfLangBarEventSink ITfLangBarEventSink; +#ifdef __cplusplus +interface ITfLangBarEventSink; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __ITfLangBarEventSink_FWD_DEFINED__ +#define __ITfLangBarEventSink_FWD_DEFINED__ +typedef interface ITfLangBarEventSink ITfLangBarEventSink; +#ifdef __cplusplus +interface ITfLangBarEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfLangBarItemMgr_FWD_DEFINED__ +#define __ITfLangBarItemMgr_FWD_DEFINED__ +typedef interface ITfLangBarItemMgr ITfLangBarItemMgr; +#ifdef __cplusplus +interface ITfLangBarItemMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfInputProcessorProfiles_FWD_DEFINED__ +#define __ITfInputProcessorProfiles_FWD_DEFINED__ +typedef interface ITfInputProcessorProfiles ITfInputProcessorProfiles; +#ifdef __cplusplus +interface ITfInputProcessorProfiles; +#endif /* __cplusplus */ +#endif + +#define TF_LBI_DESC_MAXLEN (32) + +typedef struct TF_LANGBARITEMINFO { + CLSID clsidService; + GUID guidItem; + DWORD dwStyle; + ULONG ulSort; + WCHAR szDescription[32]; +} TF_LANGBARITEMINFO; +/***************************************************************************** + * ITfLangBarItem interface + */ +#ifndef __ITfLangBarItem_INTERFACE_DEFINED__ +#define __ITfLangBarItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfLangBarItem, 0x73540d69, 0xedeb, 0x4ee9, 0x96,0xc9, 0x23,0xaa,0x30,0xb2,0x59,0x16); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("73540d69-edeb-4ee9-96c9-23aa30b25916") +ITfLangBarItem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetInfo( + TF_LANGBARITEMINFO *pInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Show( + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTooltipString( + BSTR *pbstrToolTip) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfLangBarItem, 0x73540d69, 0xedeb, 0x4ee9, 0x96,0xc9, 0x23,0xaa,0x30,0xb2,0x59,0x16) +#endif +#else +typedef struct ITfLangBarItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfLangBarItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfLangBarItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfLangBarItem *This); + + /*** ITfLangBarItem methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInfo)( + ITfLangBarItem *This, + TF_LANGBARITEMINFO *pInfo); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + ITfLangBarItem *This, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *Show)( + ITfLangBarItem *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *GetTooltipString)( + ITfLangBarItem *This, + BSTR *pbstrToolTip); + + END_INTERFACE +} ITfLangBarItemVtbl; + +interface ITfLangBarItem { + CONST_VTBL ITfLangBarItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfLangBarItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfLangBarItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfLangBarItem_Release(This) (This)->lpVtbl->Release(This) +/*** ITfLangBarItem methods ***/ +#define ITfLangBarItem_GetInfo(This,pInfo) (This)->lpVtbl->GetInfo(This,pInfo) +#define ITfLangBarItem_GetStatus(This,pdwStatus) (This)->lpVtbl->GetStatus(This,pdwStatus) +#define ITfLangBarItem_Show(This,fShow) (This)->lpVtbl->Show(This,fShow) +#define ITfLangBarItem_GetTooltipString(This,pbstrToolTip) (This)->lpVtbl->GetTooltipString(This,pbstrToolTip) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfLangBarItem_QueryInterface(ITfLangBarItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfLangBarItem_AddRef(ITfLangBarItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfLangBarItem_Release(ITfLangBarItem* This) { + return This->lpVtbl->Release(This); +} +/*** ITfLangBarItem methods ***/ +static FORCEINLINE HRESULT ITfLangBarItem_GetInfo(ITfLangBarItem* This,TF_LANGBARITEMINFO *pInfo) { + return This->lpVtbl->GetInfo(This,pInfo); +} +static FORCEINLINE HRESULT ITfLangBarItem_GetStatus(ITfLangBarItem* This,DWORD *pdwStatus) { + return This->lpVtbl->GetStatus(This,pdwStatus); +} +static FORCEINLINE HRESULT ITfLangBarItem_Show(ITfLangBarItem* This,BOOL fShow) { + return This->lpVtbl->Show(This,fShow); +} +static FORCEINLINE HRESULT ITfLangBarItem_GetTooltipString(ITfLangBarItem* This,BSTR *pbstrToolTip) { + return This->lpVtbl->GetTooltipString(This,pbstrToolTip); +} +#endif +#endif + +#endif + + +#endif /* __ITfLangBarItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfLangBarItems interface + */ +#ifndef __IEnumTfLangBarItems_INTERFACE_DEFINED__ +#define __IEnumTfLangBarItems_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfLangBarItems, 0x583f34d0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("583f34d0-de25-11d2-afdd-00105a2799b5") +IEnumTfLangBarItems : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfLangBarItems **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + ITfLangBarItem **ppItem, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfLangBarItems, 0x583f34d0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct IEnumTfLangBarItemsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfLangBarItems *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfLangBarItems *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfLangBarItems *This); + + /*** IEnumTfLangBarItems methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfLangBarItems *This, + IEnumTfLangBarItems **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfLangBarItems *This, + ULONG ulCount, + ITfLangBarItem **ppItem, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfLangBarItems *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfLangBarItems *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfLangBarItemsVtbl; + +interface IEnumTfLangBarItems { + CONST_VTBL IEnumTfLangBarItemsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfLangBarItems_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfLangBarItems_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfLangBarItems_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfLangBarItems methods ***/ +#define IEnumTfLangBarItems_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfLangBarItems_Next(This,ulCount,ppItem,pcFetched) (This)->lpVtbl->Next(This,ulCount,ppItem,pcFetched) +#define IEnumTfLangBarItems_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfLangBarItems_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfLangBarItems_QueryInterface(IEnumTfLangBarItems* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfLangBarItems_AddRef(IEnumTfLangBarItems* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfLangBarItems_Release(IEnumTfLangBarItems* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfLangBarItems methods ***/ +static FORCEINLINE HRESULT IEnumTfLangBarItems_Clone(IEnumTfLangBarItems* This,IEnumTfLangBarItems **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfLangBarItems_Next(IEnumTfLangBarItems* This,ULONG ulCount,ITfLangBarItem **ppItem,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,ppItem,pcFetched); +} +static FORCEINLINE HRESULT IEnumTfLangBarItems_Reset(IEnumTfLangBarItems* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfLangBarItems_Skip(IEnumTfLangBarItems* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfLangBarItems_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfLangBarItemSink interface + */ +#ifndef __ITfLangBarItemSink_INTERFACE_DEFINED__ +#define __ITfLangBarItemSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfLangBarItemSink, 0x57dbe1a0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("57dbe1a0-de25-11d2-afdd-00105a2799b5") +ITfLangBarItemSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnUpdate( + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfLangBarItemSink, 0x57dbe1a0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfLangBarItemSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfLangBarItemSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfLangBarItemSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfLangBarItemSink *This); + + /*** ITfLangBarItemSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnUpdate)( + ITfLangBarItemSink *This, + DWORD dwFlags); + + END_INTERFACE +} ITfLangBarItemSinkVtbl; + +interface ITfLangBarItemSink { + CONST_VTBL ITfLangBarItemSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfLangBarItemSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfLangBarItemSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfLangBarItemSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfLangBarItemSink methods ***/ +#define ITfLangBarItemSink_OnUpdate(This,dwFlags) (This)->lpVtbl->OnUpdate(This,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfLangBarItemSink_QueryInterface(ITfLangBarItemSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfLangBarItemSink_AddRef(ITfLangBarItemSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfLangBarItemSink_Release(ITfLangBarItemSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfLangBarItemSink methods ***/ +static FORCEINLINE HRESULT ITfLangBarItemSink_OnUpdate(ITfLangBarItemSink* This,DWORD dwFlags) { + return This->lpVtbl->OnUpdate(This,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __ITfLangBarItemSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfLangBarItemMgr interface + */ +#ifndef __ITfLangBarItemMgr_INTERFACE_DEFINED__ +#define __ITfLangBarItemMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfLangBarItemMgr, 0xba468c55, 0x9956, 0x4fb1, 0xa5,0x9d, 0x52,0xa7,0xdd,0x7c,0xc6,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ba468c55-9956-4fb1-a59d-52a7dd7cc6aa") +ITfLangBarItemMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumItems( + IEnumTfLangBarItems **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItem( + REFGUID rguid, + ITfLangBarItem **ppItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddItem( + ITfLangBarItem *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveItem( + ITfLangBarItem *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdviseItemSink( + ITfLangBarItemSink *punk, + DWORD *pdwCookie, + REFGUID rguidItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseItemSink( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect( + DWORD dwThreadId, + REFGUID rguid, + RECT *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemsStatus( + ULONG ulCount, + const GUID *prgguid, + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemNum( + ULONG *pulCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItems( + ULONG ulCount, + ITfLangBarItem **ppItem, + TF_LANGBARITEMINFO *pInfo, + DWORD *pdwStatus, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdviseItemsSink( + ULONG ulCount, + ITfLangBarItemSink **ppunk, + const GUID *pguidItem, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseItemsSink( + ULONG ulCount, + DWORD *pdwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfLangBarItemMgr, 0xba468c55, 0x9956, 0x4fb1, 0xa5,0x9d, 0x52,0xa7,0xdd,0x7c,0xc6,0xaa) +#endif +#else +typedef struct ITfLangBarItemMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfLangBarItemMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfLangBarItemMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfLangBarItemMgr *This); + + /*** ITfLangBarItemMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumItems)( + ITfLangBarItemMgr *This, + IEnumTfLangBarItems **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetItem)( + ITfLangBarItemMgr *This, + REFGUID rguid, + ITfLangBarItem **ppItem); + + HRESULT (STDMETHODCALLTYPE *AddItem)( + ITfLangBarItemMgr *This, + ITfLangBarItem *punk); + + HRESULT (STDMETHODCALLTYPE *RemoveItem)( + ITfLangBarItemMgr *This, + ITfLangBarItem *punk); + + HRESULT (STDMETHODCALLTYPE *AdviseItemSink)( + ITfLangBarItemMgr *This, + ITfLangBarItemSink *punk, + DWORD *pdwCookie, + REFGUID rguidItem); + + HRESULT (STDMETHODCALLTYPE *UnadviseItemSink)( + ITfLangBarItemMgr *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *GetItemFloatingRect)( + ITfLangBarItemMgr *This, + DWORD dwThreadId, + REFGUID rguid, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *GetItemsStatus)( + ITfLangBarItemMgr *This, + ULONG ulCount, + const GUID *prgguid, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *GetItemNum)( + ITfLangBarItemMgr *This, + ULONG *pulCount); + + HRESULT (STDMETHODCALLTYPE *GetItems)( + ITfLangBarItemMgr *This, + ULONG ulCount, + ITfLangBarItem **ppItem, + TF_LANGBARITEMINFO *pInfo, + DWORD *pdwStatus, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *AdviseItemsSink)( + ITfLangBarItemMgr *This, + ULONG ulCount, + ITfLangBarItemSink **ppunk, + const GUID *pguidItem, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *UnadviseItemsSink)( + ITfLangBarItemMgr *This, + ULONG ulCount, + DWORD *pdwCookie); + + END_INTERFACE +} ITfLangBarItemMgrVtbl; + +interface ITfLangBarItemMgr { + CONST_VTBL ITfLangBarItemMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfLangBarItemMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfLangBarItemMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfLangBarItemMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfLangBarItemMgr methods ***/ +#define ITfLangBarItemMgr_EnumItems(This,ppEnum) (This)->lpVtbl->EnumItems(This,ppEnum) +#define ITfLangBarItemMgr_GetItem(This,rguid,ppItem) (This)->lpVtbl->GetItem(This,rguid,ppItem) +#define ITfLangBarItemMgr_AddItem(This,punk) (This)->lpVtbl->AddItem(This,punk) +#define ITfLangBarItemMgr_RemoveItem(This,punk) (This)->lpVtbl->RemoveItem(This,punk) +#define ITfLangBarItemMgr_AdviseItemSink(This,punk,pdwCookie,rguidItem) (This)->lpVtbl->AdviseItemSink(This,punk,pdwCookie,rguidItem) +#define ITfLangBarItemMgr_UnadviseItemSink(This,dwCookie) (This)->lpVtbl->UnadviseItemSink(This,dwCookie) +#define ITfLangBarItemMgr_GetItemFloatingRect(This,dwThreadId,rguid,prc) (This)->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc) +#define ITfLangBarItemMgr_GetItemsStatus(This,ulCount,prgguid,pdwStatus) (This)->lpVtbl->GetItemsStatus(This,ulCount,prgguid,pdwStatus) +#define ITfLangBarItemMgr_GetItemNum(This,pulCount) (This)->lpVtbl->GetItemNum(This,pulCount) +#define ITfLangBarItemMgr_GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched) (This)->lpVtbl->GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched) +#define ITfLangBarItemMgr_AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie) (This)->lpVtbl->AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie) +#define ITfLangBarItemMgr_UnadviseItemsSink(This,ulCount,pdwCookie) (This)->lpVtbl->UnadviseItemsSink(This,ulCount,pdwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfLangBarItemMgr_QueryInterface(ITfLangBarItemMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfLangBarItemMgr_AddRef(ITfLangBarItemMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfLangBarItemMgr_Release(ITfLangBarItemMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfLangBarItemMgr methods ***/ +static FORCEINLINE HRESULT ITfLangBarItemMgr_EnumItems(ITfLangBarItemMgr* This,IEnumTfLangBarItems **ppEnum) { + return This->lpVtbl->EnumItems(This,ppEnum); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItem(ITfLangBarItemMgr* This,REFGUID rguid,ITfLangBarItem **ppItem) { + return This->lpVtbl->GetItem(This,rguid,ppItem); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_AddItem(ITfLangBarItemMgr* This,ITfLangBarItem *punk) { + return This->lpVtbl->AddItem(This,punk); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_RemoveItem(ITfLangBarItemMgr* This,ITfLangBarItem *punk) { + return This->lpVtbl->RemoveItem(This,punk); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_AdviseItemSink(ITfLangBarItemMgr* This,ITfLangBarItemSink *punk,DWORD *pdwCookie,REFGUID rguidItem) { + return This->lpVtbl->AdviseItemSink(This,punk,pdwCookie,rguidItem); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_UnadviseItemSink(ITfLangBarItemMgr* This,DWORD dwCookie) { + return This->lpVtbl->UnadviseItemSink(This,dwCookie); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItemFloatingRect(ITfLangBarItemMgr* This,DWORD dwThreadId,REFGUID rguid,RECT *prc) { + return This->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItemsStatus(ITfLangBarItemMgr* This,ULONG ulCount,const GUID *prgguid,DWORD *pdwStatus) { + return This->lpVtbl->GetItemsStatus(This,ulCount,prgguid,pdwStatus); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItemNum(ITfLangBarItemMgr* This,ULONG *pulCount) { + return This->lpVtbl->GetItemNum(This,pulCount); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItems(ITfLangBarItemMgr* This,ULONG ulCount,ITfLangBarItem **ppItem,TF_LANGBARITEMINFO *pInfo,DWORD *pdwStatus,ULONG *pcFetched) { + return This->lpVtbl->GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_AdviseItemsSink(ITfLangBarItemMgr* This,ULONG ulCount,ITfLangBarItemSink **ppunk,const GUID *pguidItem,DWORD *pdwCookie) { + return This->lpVtbl->AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie); +} +static FORCEINLINE HRESULT ITfLangBarItemMgr_UnadviseItemsSink(ITfLangBarItemMgr* This,ULONG ulCount,DWORD *pdwCookie) { + return This->lpVtbl->UnadviseItemsSink(This,ulCount,pdwCookie); +} +#endif +#endif + +#endif + + +#endif /* __ITfLangBarItemMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfLangBarMgr interface + */ +#ifndef __ITfLangBarMgr_INTERFACE_DEFINED__ +#define __ITfLangBarMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfLangBarMgr, 0x87955690, 0xe627, 0x11d2, 0x8d,0xdb, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("87955690-e627-11d2-8ddb-00105a2799b5") +ITfLangBarMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseEventSink( + ITfLangBarEventSink *pSink, + HWND hwnd, + DWORD dwflags, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnAdviseEventSink( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThreadMarshalInterface( + DWORD dwThreadId, + DWORD dwType, + REFIID riid, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThreadLangBarItemMgr( + DWORD dwThreadId, + ITfLangBarItemMgr **pplbie, + DWORD *pdwThreadid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputProcessorProfiles( + DWORD dwThreadId, + ITfInputProcessorProfiles **ppaip, + DWORD *pdwThreadid) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestoreLastFocus( + DWORD *dwThreadId, + BOOL fPrev) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetModalInput( + ITfLangBarEventSink *pSink, + DWORD dwThreadId, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowFloating( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetShowFloatingStatus( + DWORD *pdwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfLangBarMgr, 0x87955690, 0xe627, 0x11d2, 0x8d,0xdb, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfLangBarMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfLangBarMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfLangBarMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfLangBarMgr *This); + + /*** ITfLangBarMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseEventSink)( + ITfLangBarMgr *This, + ITfLangBarEventSink *pSink, + HWND hwnd, + DWORD dwflags, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *UnAdviseEventSink)( + ITfLangBarMgr *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *GetThreadMarshalInterface)( + ITfLangBarMgr *This, + DWORD dwThreadId, + DWORD dwType, + REFIID riid, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *GetThreadLangBarItemMgr)( + ITfLangBarMgr *This, + DWORD dwThreadId, + ITfLangBarItemMgr **pplbie, + DWORD *pdwThreadid); + + HRESULT (STDMETHODCALLTYPE *GetInputProcessorProfiles)( + ITfLangBarMgr *This, + DWORD dwThreadId, + ITfInputProcessorProfiles **ppaip, + DWORD *pdwThreadid); + + HRESULT (STDMETHODCALLTYPE *RestoreLastFocus)( + ITfLangBarMgr *This, + DWORD *dwThreadId, + BOOL fPrev); + + HRESULT (STDMETHODCALLTYPE *SetModalInput)( + ITfLangBarMgr *This, + ITfLangBarEventSink *pSink, + DWORD dwThreadId, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ShowFloating)( + ITfLangBarMgr *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetShowFloatingStatus)( + ITfLangBarMgr *This, + DWORD *pdwFlags); + + END_INTERFACE +} ITfLangBarMgrVtbl; + +interface ITfLangBarMgr { + CONST_VTBL ITfLangBarMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfLangBarMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfLangBarMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfLangBarMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfLangBarMgr methods ***/ +#define ITfLangBarMgr_AdviseEventSink(This,pSink,hwnd,dwflags,pdwCookie) (This)->lpVtbl->AdviseEventSink(This,pSink,hwnd,dwflags,pdwCookie) +#define ITfLangBarMgr_UnAdviseEventSink(This,dwCookie) (This)->lpVtbl->UnAdviseEventSink(This,dwCookie) +#define ITfLangBarMgr_GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk) (This)->lpVtbl->GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk) +#define ITfLangBarMgr_GetThreadLangBarItemMgr(This,dwThreadId,pplbie,pdwThreadid) (This)->lpVtbl->GetThreadLangBarItemMgr(This,dwThreadId,pplbie,pdwThreadid) +#define ITfLangBarMgr_GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid) (This)->lpVtbl->GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid) +#define ITfLangBarMgr_RestoreLastFocus(This,dwThreadId,fPrev) (This)->lpVtbl->RestoreLastFocus(This,dwThreadId,fPrev) +#define ITfLangBarMgr_SetModalInput(This,pSink,dwThreadId,dwFlags) (This)->lpVtbl->SetModalInput(This,pSink,dwThreadId,dwFlags) +#define ITfLangBarMgr_ShowFloating(This,dwFlags) (This)->lpVtbl->ShowFloating(This,dwFlags) +#define ITfLangBarMgr_GetShowFloatingStatus(This,pdwFlags) (This)->lpVtbl->GetShowFloatingStatus(This,pdwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfLangBarMgr_QueryInterface(ITfLangBarMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfLangBarMgr_AddRef(ITfLangBarMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfLangBarMgr_Release(ITfLangBarMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfLangBarMgr methods ***/ +static FORCEINLINE HRESULT ITfLangBarMgr_AdviseEventSink(ITfLangBarMgr* This,ITfLangBarEventSink *pSink,HWND hwnd,DWORD dwflags,DWORD *pdwCookie) { + return This->lpVtbl->AdviseEventSink(This,pSink,hwnd,dwflags,pdwCookie); +} +static FORCEINLINE HRESULT ITfLangBarMgr_UnAdviseEventSink(ITfLangBarMgr* This,DWORD dwCookie) { + return This->lpVtbl->UnAdviseEventSink(This,dwCookie); +} +static FORCEINLINE HRESULT ITfLangBarMgr_GetThreadMarshalInterface(ITfLangBarMgr* This,DWORD dwThreadId,DWORD dwType,REFIID riid,IUnknown **ppunk) { + return This->lpVtbl->GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk); +} +static FORCEINLINE HRESULT ITfLangBarMgr_GetThreadLangBarItemMgr(ITfLangBarMgr* This,DWORD dwThreadId,ITfLangBarItemMgr **pplbie,DWORD *pdwThreadid) { + return This->lpVtbl->GetThreadLangBarItemMgr(This,dwThreadId,pplbie,pdwThreadid); +} +static FORCEINLINE HRESULT ITfLangBarMgr_GetInputProcessorProfiles(ITfLangBarMgr* This,DWORD dwThreadId,ITfInputProcessorProfiles **ppaip,DWORD *pdwThreadid) { + return This->lpVtbl->GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid); +} +static FORCEINLINE HRESULT ITfLangBarMgr_RestoreLastFocus(ITfLangBarMgr* This,DWORD *dwThreadId,BOOL fPrev) { + return This->lpVtbl->RestoreLastFocus(This,dwThreadId,fPrev); +} +static FORCEINLINE HRESULT ITfLangBarMgr_SetModalInput(ITfLangBarMgr* This,ITfLangBarEventSink *pSink,DWORD dwThreadId,DWORD dwFlags) { + return This->lpVtbl->SetModalInput(This,pSink,dwThreadId,dwFlags); +} +static FORCEINLINE HRESULT ITfLangBarMgr_ShowFloating(ITfLangBarMgr* This,DWORD dwFlags) { + return This->lpVtbl->ShowFloating(This,dwFlags); +} +static FORCEINLINE HRESULT ITfLangBarMgr_GetShowFloatingStatus(ITfLangBarMgr* This,DWORD *pdwFlags) { + return This->lpVtbl->GetShowFloatingStatus(This,pdwFlags); +} +#endif +#endif + +#endif + + +#endif /* __ITfLangBarMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfLangBarEventSink interface + */ +#ifndef __ITfLangBarEventSink_INTERFACE_DEFINED__ +#define __ITfLangBarEventSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfLangBarEventSink, 0x18a4e900, 0xe0ae, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("18a4e900-e0ae-11d2-afdd-00105a2799b5") +ITfLangBarEventSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnSetFocus( + DWORD dwThreadId) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnThreadTerminate( + DWORD dwThreadId) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnThreadItemChange( + DWORD dwThreadId) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnModalInput( + DWORD dwThreadId, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowFloating( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect( + DWORD dwThreadId, + REFGUID rguid, + RECT *prc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfLangBarEventSink, 0x18a4e900, 0xe0ae, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfLangBarEventSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfLangBarEventSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfLangBarEventSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfLangBarEventSink *This); + + /*** ITfLangBarEventSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnSetFocus)( + ITfLangBarEventSink *This, + DWORD dwThreadId); + + HRESULT (STDMETHODCALLTYPE *OnThreadTerminate)( + ITfLangBarEventSink *This, + DWORD dwThreadId); + + HRESULT (STDMETHODCALLTYPE *OnThreadItemChange)( + ITfLangBarEventSink *This, + DWORD dwThreadId); + + HRESULT (STDMETHODCALLTYPE *OnModalInput)( + ITfLangBarEventSink *This, + DWORD dwThreadId, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *ShowFloating)( + ITfLangBarEventSink *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetItemFloatingRect)( + ITfLangBarEventSink *This, + DWORD dwThreadId, + REFGUID rguid, + RECT *prc); + + END_INTERFACE +} ITfLangBarEventSinkVtbl; + +interface ITfLangBarEventSink { + CONST_VTBL ITfLangBarEventSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfLangBarEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfLangBarEventSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfLangBarEventSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfLangBarEventSink methods ***/ +#define ITfLangBarEventSink_OnSetFocus(This,dwThreadId) (This)->lpVtbl->OnSetFocus(This,dwThreadId) +#define ITfLangBarEventSink_OnThreadTerminate(This,dwThreadId) (This)->lpVtbl->OnThreadTerminate(This,dwThreadId) +#define ITfLangBarEventSink_OnThreadItemChange(This,dwThreadId) (This)->lpVtbl->OnThreadItemChange(This,dwThreadId) +#define ITfLangBarEventSink_OnModalInput(This,dwThreadId,uMsg,wParam,lParam) (This)->lpVtbl->OnModalInput(This,dwThreadId,uMsg,wParam,lParam) +#define ITfLangBarEventSink_ShowFloating(This,dwFlags) (This)->lpVtbl->ShowFloating(This,dwFlags) +#define ITfLangBarEventSink_GetItemFloatingRect(This,dwThreadId,rguid,prc) (This)->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfLangBarEventSink_QueryInterface(ITfLangBarEventSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfLangBarEventSink_AddRef(ITfLangBarEventSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfLangBarEventSink_Release(ITfLangBarEventSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfLangBarEventSink methods ***/ +static FORCEINLINE HRESULT ITfLangBarEventSink_OnSetFocus(ITfLangBarEventSink* This,DWORD dwThreadId) { + return This->lpVtbl->OnSetFocus(This,dwThreadId); +} +static FORCEINLINE HRESULT ITfLangBarEventSink_OnThreadTerminate(ITfLangBarEventSink* This,DWORD dwThreadId) { + return This->lpVtbl->OnThreadTerminate(This,dwThreadId); +} +static FORCEINLINE HRESULT ITfLangBarEventSink_OnThreadItemChange(ITfLangBarEventSink* This,DWORD dwThreadId) { + return This->lpVtbl->OnThreadItemChange(This,dwThreadId); +} +static FORCEINLINE HRESULT ITfLangBarEventSink_OnModalInput(ITfLangBarEventSink* This,DWORD dwThreadId,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->OnModalInput(This,dwThreadId,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT ITfLangBarEventSink_ShowFloating(ITfLangBarEventSink* This,DWORD dwFlags) { + return This->lpVtbl->ShowFloating(This,dwFlags); +} +static FORCEINLINE HRESULT ITfLangBarEventSink_GetItemFloatingRect(ITfLangBarEventSink* This,DWORD dwThreadId,REFGUID rguid,RECT *prc) { + return This->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc); +} +#endif +#endif + +#endif + + +#endif /* __ITfLangBarEventSink_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __ctfutb_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctfutb.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctfutb.idl new file mode 100644 index 0000000..1a4125b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctfutb.idl @@ -0,0 +1,226 @@ +/* + * Copyright 2010 Justin Chevrier + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "oaidl.idl"; +#endif + +interface ITfLangBarEventSink; +interface ITfLangBarItemMgr; +interface ITfInputProcessorProfiles; + +const ULONG TF_LBI_DESC_MAXLEN = 32; + +typedef [uuid(12a1d29f-a065-440c-9746-eb2002c8bd19)] struct TF_LANGBARITEMINFO +{ + CLSID clsidService; + GUID guidItem; + DWORD dwStyle; + ULONG ulSort; + WCHAR szDescription[TF_LBI_DESC_MAXLEN]; +} TF_LANGBARITEMINFO; + +[ + object, + uuid(73540d69-edeb-4ee9-96c9-23aa30b25916), + pointer_default(unique), +] +interface ITfLangBarItem : IUnknown +{ + HRESULT GetInfo( + [out] TF_LANGBARITEMINFO *pInfo); + + HRESULT GetStatus( + [out] DWORD *pdwStatus); + + HRESULT Show( + [in] BOOL fShow); + + HRESULT GetTooltipString( + [out] BSTR *pbstrToolTip); +} + +[ + object, + uuid(583f34d0-de25-11d2-afdd-00105a2799b5), + pointer_default(unique), +] +interface IEnumTfLangBarItems : IUnknown +{ + HRESULT Clone( + [out] IEnumTfLangBarItems **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount)] ITfLangBarItem **ppItem, + [in, out, unique] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + uuid(57dbe1a0-de25-11d2-afdd-00105a2799b5), + pointer_default(unique), +] +interface ITfLangBarItemSink : IUnknown +{ + HRESULT OnUpdate( + [in] DWORD dwFlags); +} + +[ + object, + uuid(ba468c55-9956-4fb1-a59d-52a7dd7cc6aa), + pointer_default(unique), +] +interface ITfLangBarItemMgr : IUnknown +{ + HRESULT EnumItems( + [out] IEnumTfLangBarItems **ppEnum); + + HRESULT GetItem( + [in] REFGUID rguid, + [out] ITfLangBarItem **ppItem); + + HRESULT AddItem( + [in] ITfLangBarItem *punk); + + HRESULT RemoveItem( + [in] ITfLangBarItem *punk); + + HRESULT AdviseItemSink( + [in] ITfLangBarItemSink *punk, + [out] DWORD *pdwCookie, + [in] REFGUID rguidItem); + + HRESULT UnadviseItemSink( + [in] DWORD dwCookie); + + HRESULT GetItemFloatingRect( + [in] DWORD dwThreadId, + [in] REFGUID rguid, + [out] RECT *prc); + + HRESULT GetItemsStatus( + [in] ULONG ulCount, + [in, size_is(ulCount)] const GUID *prgguid, + [out, size_is(ulCount)] DWORD *pdwStatus); + + HRESULT GetItemNum( + [out] ULONG *pulCount); + + HRESULT GetItems( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] ITfLangBarItem **ppItem, + [out, size_is(ulCount), length_is(*pcFetched)] TF_LANGBARITEMINFO *pInfo, + [out, size_is(ulCount), length_is(*pcFetched)] DWORD *pdwStatus, + [in, out, unique] ULONG *pcFetched); + + HRESULT AdviseItemsSink( + [in] ULONG ulCount, + [in, size_is(ulCount)] ITfLangBarItemSink **ppunk, + [in, size_is(ulCount)] const GUID *pguidItem, + [out, size_is(ulCount)] DWORD *pdwCookie); + + HRESULT UnadviseItemsSink( + [in] ULONG ulCount, + [in, size_is(ulCount)] DWORD *pdwCookie); +} + +[ + object, + uuid(87955690-e627-11d2-8ddb-00105a2799b5), + pointer_default(unique) +] +interface ITfLangBarMgr: IUnknown +{ + HRESULT AdviseEventSink( + [in] ITfLangBarEventSink *pSink, + [in] HWND hwnd, + [in] DWORD dwflags, + [in] DWORD *pdwCookie); + + HRESULT UnAdviseEventSink( + [in] DWORD dwCookie); + + HRESULT GetThreadMarshalInterface( + [in] DWORD dwThreadId, + [in] DWORD dwType, + [in] REFIID riid, + [out] IUnknown **ppunk); + + HRESULT GetThreadLangBarItemMgr( + [in] DWORD dwThreadId, + [out] ITfLangBarItemMgr **pplbie, + [out] DWORD *pdwThreadid); + + HRESULT GetInputProcessorProfiles( + [in] DWORD dwThreadId, + [out] ITfInputProcessorProfiles **ppaip, + [out] DWORD *pdwThreadid); + + HRESULT RestoreLastFocus( + [out] DWORD *dwThreadId, + [in] BOOL fPrev); + + HRESULT SetModalInput( + [in] ITfLangBarEventSink *pSink, + [in] DWORD dwThreadId, + [in] DWORD dwFlags); + + HRESULT ShowFloating( + [in] DWORD dwFlags); + + HRESULT GetShowFloatingStatus( + [out] DWORD *pdwFlags); +} + +[ + object, + uuid(18a4e900-e0ae-11d2-afdd-00105a2799b5), + pointer_default(unique) +] +interface ITfLangBarEventSink: IUnknown +{ + HRESULT OnSetFocus( + [in] DWORD dwThreadId); + + HRESULT OnThreadTerminate( + [in] DWORD dwThreadId); + + HRESULT OnThreadItemChange( + [in] DWORD dwThreadId); + + HRESULT OnModalInput( + [in] DWORD dwThreadId, + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT ShowFloating( + [in] DWORD dwFlags); + + HRESULT GetItemFloatingRect( + [in] DWORD dwThreadId, + [in] REFGUID rguid, + [out] RECT *prc); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctxtcall.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctxtcall.h new file mode 100644 index 0000000..8e182c1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctxtcall.h @@ -0,0 +1,138 @@ +/*** Autogenerated by WIDL 2.18 from ctxtcall.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __ctxtcall_h__ +#define __ctxtcall_h__ + +/* Forward declarations */ + +#ifndef __IContextCallback_FWD_DEFINED__ +#define __IContextCallback_FWD_DEFINED__ +typedef interface IContextCallback IContextCallback; +#ifdef __cplusplus +interface IContextCallback; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct tagComCallData { + DWORD dwDispid; + DWORD dwReserved; + void *pUserDefined; +} ComCallData; +/***************************************************************************** + * IContextCallback interface + */ +#ifndef __IContextCallback_INTERFACE_DEFINED__ +#define __IContextCallback_INTERFACE_DEFINED__ + +typedef HRESULT (__stdcall *PFNCONTEXTCALL)(ComCallData *pParam); +DEFINE_GUID(IID_IContextCallback, 0x000001da, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000001da-0000-0000-c000-000000000046") +IContextCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ContextCallback( + HRESULT (__stdcall * pCallback)(ComCallData *pParam), + ComCallData *pParam, + REFIID riid, + int iMethod, + IUnknown *pUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContextCallback, 0x000001da, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IContextCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContextCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContextCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContextCallback *This); + + /*** IContextCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *ContextCallback)( + IContextCallback *This, + HRESULT (__stdcall * pCallback)(ComCallData *pParam), + ComCallData *pParam, + REFIID riid, + int iMethod, + IUnknown *pUnk); + + END_INTERFACE +} IContextCallbackVtbl; + +interface IContextCallback { + CONST_VTBL IContextCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContextCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContextCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContextCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IContextCallback methods ***/ +#define IContextCallback_ContextCallback(This,pCallback,pParam,riid,iMethod,pUnk) (This)->lpVtbl->ContextCallback(This,pCallback,pParam,riid,iMethod,pUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContextCallback_QueryInterface(IContextCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContextCallback_AddRef(IContextCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContextCallback_Release(IContextCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IContextCallback methods ***/ +static FORCEINLINE HRESULT IContextCallback_ContextCallback(IContextCallback* This,HRESULT (__stdcall * pCallback)(ComCallData *pParam),ComCallData *pParam,REFIID riid,int iMethod,IUnknown *pUnk) { + return This->lpVtbl->ContextCallback(This,pCallback,pParam,riid,iMethod,pUnk); +} +#endif +#endif + +#endif + + +#endif /* __IContextCallback_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __ctxtcall_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctxtcall.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctxtcall.idl new file mode 100644 index 0000000..f07dc1b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ctxtcall.idl @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2008 Louis Lenders + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; +import "objidl.idl"; +import "unknwn.idl"; + +typedef struct tagComCallData +{ + DWORD dwDispid; + DWORD dwReserved; + void *pUserDefined; +} ComCallData; + +/*************************************************************************** + * IContextCallback + */ +[ + local, + object, + uuid(000001da-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IContextCallback : IUnknown +{ + typedef HRESULT (__stdcall *PFNCONTEXTCALL)(ComCallData *pParam); + + HRESULT ContextCallback( + [in] PFNCONTEXTCALL pCallback, + [in] ComCallData *pParam, + [in] REFIID riid, + [in] int iMethod, + [in] IUnknown *pUnk); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/custcntl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/custcntl.h new file mode 100644 index 0000000..c91ead6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/custcntl.h @@ -0,0 +1,128 @@ +/* + * Copyright (C) 2002 Gyorgy 'Nog' Jeney + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_CUSTCNTL +#define _INC_CUSTCNTL + +#ifdef __cplusplus +extern "C" { +#endif + +/* Size defs */ +#define CCHCCCLASS 32 +#define CCHCCDESC 32 +#define CCHCCTEXT 256 + +/* Custom Control Style Structure */ +typedef struct tagCCSYLEA { + DWORD flStyle; + DWORD flExtStyle; + char szText[CCHCCTEXT]; + LANGID lgid; + WORD wReserved1; +} CCSTYLEA, *LPCCSTYLEA; + +typedef struct tagCCSYLEW { + DWORD flStyle; + DWORD flExtStyle; + WCHAR szText[CCHCCTEXT]; + LANGID lgid; + WORD wReserved1; +} CCSTYLEW, *LPCCSTYLEW; + +#define CCSTYLE WINELIB_NAME_AW(CCSTYLE) +#define LPCCSTYLE WINELIB_NAME_AW(LPCCSTYLE) + +typedef BOOL (CALLBACK *LPFNCCSTYLEA)(HWND, LPCCSTYLEA); +typedef BOOL (CALLBACK *LPFNCCSTYLEW)(HWND, LPCCSTYLEW); + +#define LPFNCCSTYLE WINELIB_NAME_AW(LPFNCCSTYLE) + +typedef int (CALLBACK *LPFNCCSIZETOTEXTA)(DWORD, DWORD, HFONT, LPSTR); +typedef int (CALLBACK *LPFNCCSIZETOTEXTW)(DWORD, DWORD, HFONT, LPWSTR); + +#define LPFNCCSIZETOTEXT WINELIB_NAME_AW(LPFNCCSIZETOTEXT) + +/* Custom Control style flags structure */ +typedef struct tagCCSTYLEFLAGA { + DWORD flStyle; + DWORD flStyleMask; + LPSTR pszStyle; +} CCSTYLEFLAGA, *LPCCSTYLEFLAGA; + +typedef struct tagCCSTYLEFLAGW { + DWORD flStyle; + DWORD flStyleMask; + LPWSTR pszStyle; +} CCSTYLEFLAGW, *LPCCSTYLEFLAGW; + +#define CCSTYLEFLAG WINELIB_NAME_AW(CCSTYLEFLAG) + +/* Custom Control Flags */ +#define CCF_NOTEXT 0x00000001 + +/* CustomControl info structure */ +typedef struct tagCCINFOA { + char szClass[CCHCCCLASS]; + DWORD flOptions; + char szDesc[CCHCCDESC]; + UINT cxDefault; + UINT cyDefault; + DWORD flStyleDefault; + DWORD flExtStyleDefault; + DWORD flCtrlTypeMask; + char szTextDefault[CCHCCTEXT]; + int cStyleFlags; + LPCCSTYLEFLAGA aStyleFlags; + LPFNCCSTYLEA lpfnStyle; + LPFNCCSIZETOTEXTA lpfnSizeToText; + DWORD dwReserved1; + DWORD dwReserved2; +} CCINFOA, *LPCCINFOA; + +typedef struct tagCCINFOW { + WCHAR szClass[CCHCCCLASS]; + DWORD flOptions; + WCHAR szDesc[CCHCCDESC]; + UINT cxDefault; + UINT cyDefault; + DWORD flStyleDefault; + DWORD flExtStyleDefault; + DWORD flCtrlTypeMask; + int cStyleFlags; + LPCCSTYLEFLAGW aStyleFlags; + WCHAR szTextDefault[CCHCCTEXT]; + LPFNCCSTYLEW lpfnStyle; + LPFNCCSIZETOTEXTW lpfnSizeToText; + DWORD dwReserved1; + DWORD dwReserved2; +} CCINFOW, *LPCCINFOW; + +DECL_WINELIB_TYPE_AW(CCINFO) +DECL_WINELIB_TYPE_AW(LPCCINFO) + +typedef UINT (CALLBACK *LPFNCCINFOA)(LPCCINFOA); +typedef UINT (CALLBACK *LPFNCCINFOW)(LPCCINFOW); + +DECL_WINELIB_TYPE_AW(LPFNCCINFO) + +#ifdef __cplusplus +} +#endif + +#endif /* _INC_CUSTCNTL */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cvconst.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cvconst.h new file mode 100644 index 0000000..80b8e44 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/cvconst.h @@ -0,0 +1,724 @@ +/* + * File cvconst.h - MS debug information + * + * Copyright (C) 2004, Eric Pouech + * Copyright (C) 2012, André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* information in this file is highly derived from MSDN DIA information pages */ + +/* symbols & types enumeration */ +enum SymTagEnum +{ + SymTagNull, + SymTagExe, + SymTagCompiland, + SymTagCompilandDetails, + SymTagCompilandEnv, + SymTagFunction, + SymTagBlock, + SymTagData, + SymTagAnnotation, + SymTagLabel, + SymTagPublicSymbol, + SymTagUDT, + SymTagEnum, + SymTagFunctionType, + SymTagPointerType, + SymTagArrayType, + SymTagBaseType, + SymTagTypedef, + SymTagBaseClass, + SymTagFriend, + SymTagFunctionArgType, + SymTagFuncDebugStart, + SymTagFuncDebugEnd, + SymTagUsingNamespace, + SymTagVTableShape, + SymTagVTable, + SymTagCustom, + SymTagThunk, + SymTagCustomType, + SymTagManagedType, + SymTagDimension, + SymTagMax +}; + +enum BasicType +{ + btNoType = 0, + btVoid = 1, + btChar = 2, + btWChar = 3, + btInt = 6, + btUInt = 7, + btFloat = 8, + btBCD = 9, + btBool = 10, + btLong = 13, + btULong = 14, + btCurrency = 25, + btDate = 26, + btVariant = 27, + btComplex = 28, + btBit = 29, + btBSTR = 30, + btHresult = 31, + btChar16 = 32, + btChar32 = 33 +}; + +/* kind of UDT */ +enum UdtKind +{ + UdtStruct, + UdtClass, + UdtUnion +}; + +/* where a SymTagData is */ +enum LocationType +{ + LocIsNull, + LocIsStatic, + LocIsTLS, + LocIsRegRel, + LocIsThisRel, + LocIsEnregistered, + LocIsBitField, + LocIsSlot, + LocIsIlRel, + LocInMetaData, + LocIsConstant +}; + +/* kind of SymTagData */ +enum DataKind +{ + DataIsUnknown, + DataIsLocal, + DataIsStaticLocal, + DataIsParam, + DataIsObjectPtr, + DataIsFileStatic, + DataIsGlobal, + DataIsMember, + DataIsStaticMember, + DataIsConstant +}; + +/* values for registers (on different CPUs) */ +enum CV_HREG_e +{ + /* those values are common to all supported CPUs (and CPU independent) */ + CV_ALLREG_ERR = 30000, + CV_ALLREG_TEB = 30001, + CV_ALLREG_TIMER = 30002, + CV_ALLREG_EFAD1 = 30003, + CV_ALLREG_EFAD2 = 30004, + CV_ALLREG_EFAD3 = 30005, + CV_ALLREG_VFRAME = 30006, + CV_ALLREG_HANDLE = 30007, + CV_ALLREG_PARAMS = 30008, + CV_ALLREG_LOCALS = 30009, + CV_ALLREG_TID = 30010, + CV_ALLREG_ENV = 30011, + CV_ALLREG_CMDLN = 30012, + + /* Intel x86 CPU */ + CV_REG_NONE = 0, + CV_REG_AL = 1, + CV_REG_CL = 2, + CV_REG_DL = 3, + CV_REG_BL = 4, + CV_REG_AH = 5, + CV_REG_CH = 6, + CV_REG_DH = 7, + CV_REG_BH = 8, + CV_REG_AX = 9, + CV_REG_CX = 10, + CV_REG_DX = 11, + CV_REG_BX = 12, + CV_REG_SP = 13, + CV_REG_BP = 14, + CV_REG_SI = 15, + CV_REG_DI = 16, + CV_REG_EAX = 17, + CV_REG_ECX = 18, + CV_REG_EDX = 19, + CV_REG_EBX = 20, + CV_REG_ESP = 21, + CV_REG_EBP = 22, + CV_REG_ESI = 23, + CV_REG_EDI = 24, + CV_REG_ES = 25, + CV_REG_CS = 26, + CV_REG_SS = 27, + CV_REG_DS = 28, + CV_REG_FS = 29, + CV_REG_GS = 30, + CV_REG_IP = 31, + CV_REG_FLAGS = 32, + CV_REG_EIP = 33, + CV_REG_EFLAGS = 34, + + /* */ + CV_REG_TEMP = 40, + CV_REG_TEMPH = 41, + CV_REG_QUOTE = 42, + CV_REG_PCDR3 = 43, /* this includes PCDR4 to PCDR7 */ + CV_REG_CR0 = 80, /* this includes CR1 to CR4 */ + CV_REG_DR0 = 90, /* this includes DR1 to DR7 */ + /* */ + + CV_REG_GDTR = 110, + CV_REG_GDTL = 111, + CV_REG_IDTR = 112, + CV_REG_IDTL = 113, + CV_REG_LDTR = 114, + CV_REG_TR = 115, + + CV_REG_PSEUDO1 = 116, /* this includes Pseudo02 to Pseudo09 */ + CV_REG_ST0 = 128, /* this includes ST1 to ST7 */ + CV_REG_CTRL = 136, + CV_REG_STAT = 137, + CV_REG_TAG = 138, + CV_REG_FPIP = 139, + CV_REG_FPCS = 140, + CV_REG_FPDO = 141, + CV_REG_FPDS = 142, + CV_REG_ISEM = 143, + CV_REG_FPEIP = 144, + CV_REG_FPEDO = 145, + CV_REG_MM0 = 146, /* this includes MM1 to MM7 */ + CV_REG_XMM0 = 154, /* this includes XMM1 to XMM7 */ + CV_REG_XMM00 = 162, + CV_REG_XMM0L = 194, /* this includes XMM1L to XMM7L */ + CV_REG_XMM0H = 202, /* this includes XMM1H to XMM7H */ + CV_REG_MXCSR = 211, + CV_REG_EDXEAX = 212, + CV_REG_EMM0L = 220, + CV_REG_EMM0H = 228, + CV_REG_MM00 = 236, + CV_REG_MM01 = 237, + CV_REG_MM10 = 238, + CV_REG_MM11 = 239, + CV_REG_MM20 = 240, + CV_REG_MM21 = 241, + CV_REG_MM30 = 242, + CV_REG_MM31 = 243, + CV_REG_MM40 = 244, + CV_REG_MM41 = 245, + CV_REG_MM50 = 246, + CV_REG_MM51 = 247, + CV_REG_MM60 = 248, + CV_REG_MM61 = 249, + CV_REG_MM70 = 250, + CV_REG_MM71 = 251, + + CV_REG_YMM0 = 252, /* this includes YMM1 to YMM7 */ + CV_REG_YMM0H = 260, /* this includes YMM1H to YMM7H */ + CV_REG_YMM0I0 = 268, /* this includes YMM0I1 to YMM0I3 */ + CV_REG_YMM1I0 = 272, /* this includes YMM1I1 to YMM1I3 */ + CV_REG_YMM2I0 = 276, /* this includes YMM2I1 to YMM2I3 */ + CV_REG_YMM3I0 = 280, /* this includes YMM3I1 to YMM3I3 */ + CV_REG_YMM4I0 = 284, /* this includes YMM4I1 to YMM4I3 */ + CV_REG_YMM5I0 = 288, /* this includes YMM5I1 to YMM5I3 */ + CV_REG_YMM6I0 = 292, /* this includes YMM6I1 to YMM6I3 */ + CV_REG_YMM7I0 = 296, /* this includes YMM7I1 to YMM7I3 */ + CV_REG_YMM0F0 = 300, /* this includes YMM0F1 to YMM0F7 */ + CV_REG_YMM1F0 = 308, /* this includes YMM1F1 to YMM1F7 */ + CV_REG_YMM2F0 = 316, /* this includes YMM2F1 to YMM2F7 */ + CV_REG_YMM3F0 = 324, /* this includes YMM3F1 to YMM3F7 */ + CV_REG_YMM4F0 = 332, /* this includes YMM4F1 to YMM4F7 */ + CV_REG_YMM5F0 = 340, /* this includes YMM5F1 to YMM5F7 */ + CV_REG_YMM6F0 = 348, /* this includes YMM6F1 to YMM6F7 */ + CV_REG_YMM7F0 = 356, /* this includes YMM7F1 to YMM7F7 */ + CV_REG_YMM0D0 = 364, /* this includes YMM0D1 to YMM0D3 */ + CV_REG_YMM1D0 = 368, /* this includes YMM1D1 to YMM1D3 */ + CV_REG_YMM2D0 = 372, /* this includes YMM2D1 to YMM2D3 */ + CV_REG_YMM3D0 = 376, /* this includes YMM3D1 to YMM3D3 */ + CV_REG_YMM4D0 = 380, /* this includes YMM4D1 to YMM4D3 */ + CV_REG_YMM5D0 = 384, /* this includes YMM5D1 to YMM5D3 */ + CV_REG_YMM6D0 = 388, /* this includes YMM6D1 to YMM6D3 */ + CV_REG_YMM7D0 = 392, /* this includes YMM7D1 to YMM7D3 */ + + /* Motorola 68K CPU */ + CV_R68_D0 = 0, /* this includes D1 to D7 too */ + CV_R68_A0 = 8, /* this includes A1 to A7 too */ + CV_R68_CCR = 16, + CV_R68_SR = 17, + CV_R68_USP = 18, + CV_R68_MSP = 19, + CV_R68_SFC = 20, + CV_R68_DFC = 21, + CV_R68_CACR = 22, + CV_R68_VBR = 23, + CV_R68_CAAR = 24, + CV_R68_ISP = 25, + CV_R68_PC = 26, + CV_R68_FPCR = 28, + CV_R68_FPSR = 29, + CV_R68_FPIAR = 30, + CV_R68_FP0 = 32, /* this includes FP1 to FP7 */ + CV_R68_MMUSR030 = 41, + CV_R68_MMUSR = 42, + CV_R68_URP = 43, + CV_R68_DTT0 = 44, + CV_R68_DTT1 = 45, + CV_R68_ITT0 = 46, + CV_R68_ITT1 = 47, + CV_R68_PSR = 51, + CV_R68_PCSR = 52, + CV_R68_VAL = 53, + CV_R68_CRP = 54, + CV_R68_SRP = 55, + CV_R68_DRP = 56, + CV_R68_TC = 57, + CV_R68_AC = 58, + CV_R68_SCC = 59, + CV_R68_CAL = 60, + CV_R68_TT0 = 61, + CV_R68_TT1 = 62, + CV_R68_BAD0 = 64, /* this includes BAD1 to BAD7 */ + CV_R68_BAC0 = 72, /* this includes BAC1 to BAC7 */ + + /* MIPS 4000 CPU */ + CV_M4_NOREG = CV_REG_NONE, + CV_M4_IntZERO = 10, + CV_M4_IntAT = 11, + CV_M4_IntV0 = 12, + CV_M4_IntV1 = 13, + CV_M4_IntA0 = 14, /* this includes IntA1 to IntA3 */ + CV_M4_IntT0 = 18, /* this includes IntT1 to IntT7 */ + CV_M4_IntS0 = 26, /* this includes IntS1 to IntS7 */ + CV_M4_IntT8 = 34, + CV_M4_IntT9 = 35, + CV_M4_IntKT0 = 36, + CV_M4_IntKT1 = 37, + CV_M4_IntGP = 38, + CV_M4_IntSP = 39, + CV_M4_IntS8 = 40, + CV_M4_IntRA = 41, + CV_M4_IntLO = 42, + CV_M4_IntHI = 43, + CV_M4_Fir = 50, + CV_M4_Psr = 51, + CV_M4_FltF0 = 60, /* this includes FltF1 to Flt31 */ + CV_M4_FltFsr = 92, + + /* Alpha AXP CPU */ + CV_ALPHA_NOREG = CV_REG_NONE, + CV_ALPHA_FltF0 = 10, /* this includes FltF1 to FltF31 */ + CV_ALPHA_IntV0 = 42, + CV_ALPHA_IntT0 = 43, /* this includes T1 to T7 */ + CV_ALPHA_IntS0 = 51, /* this includes S1 to S5 */ + CV_ALPHA_IntFP = 57, + CV_ALPHA_IntA0 = 58, /* this includes A1 to A5 */ + CV_ALPHA_IntT8 = 64, + CV_ALPHA_IntT9 = 65, + CV_ALPHA_IntT10 = 66, + CV_ALPHA_IntT11 = 67, + CV_ALPHA_IntRA = 68, + CV_ALPHA_IntT12 = 69, + CV_ALPHA_IntAT = 70, + CV_ALPHA_IntGP = 71, + CV_ALPHA_IntSP = 72, + CV_ALPHA_IntZERO = 73, + CV_ALPHA_Fpcr = 74, + CV_ALPHA_Fir = 75, + CV_ALPHA_Psr = 76, + CV_ALPHA_FltFsr = 77, + CV_ALPHA_SoftFpcr = 78, + + /* Motorola & IBM PowerPC CPU */ + CV_PPC_GPR0 = 1, /* this includes GPR1 to GPR31 */ + CV_PPC_CR = 33, + CV_PPC_CR0 = 34, /* this includes CR1 to CR7 */ + CV_PPC_FPR0 = 42, /* this includes FPR1 to FPR31 */ + + CV_PPC_FPSCR = 74, + CV_PPC_MSR = 75, + CV_PPC_SR0 = 76, /* this includes SR1 to SR15 */ + CV_PPC_PC = 99, + CV_PPC_MQ = 100, + CV_PPC_XER = 101, + CV_PPC_RTCU = 104, + CV_PPC_RTCL = 105, + CV_PPC_LR = 108, + CV_PPC_CTR = 109, + CV_PPC_COMPARE = 110, + CV_PPC_COUNT = 111, + CV_PPC_DSISR = 118, + CV_PPC_DAR = 119, + CV_PPC_DEC = 122, + CV_PPC_SDR1 = 125, + CV_PPC_SRR0 = 126, + CV_PPC_SRR1 = 127, + CV_PPC_SPRG0 = 372, /* this includes SPRG1 to SPRG3 */ + CV_PPC_ASR = 280, + CV_PPC_EAR = 382, + CV_PPC_PVR = 287, + CV_PPC_BAT0U = 628, + CV_PPC_BAT0L = 629, + CV_PPC_BAT1U = 630, + CV_PPC_BAT1L = 631, + CV_PPC_BAT2U = 632, + CV_PPC_BAT2L = 633, + CV_PPC_BAT3U = 634, + CV_PPC_BAT3L = 635, + CV_PPC_DBAT0U = 636, + CV_PPC_DBAT0L = 637, + CV_PPC_DBAT1U = 638, + CV_PPC_DBAT1L = 639, + CV_PPC_DBAT2U = 640, + CV_PPC_DBAT2L = 641, + CV_PPC_DBAT3U = 642, + CV_PPC_DBAT3L = 643, + CV_PPC_PMR0 = 1044, /* this includes PMR1 to PMR15 */ + CV_PPC_DMISS = 1076, + CV_PPC_DCMP = 1077, + CV_PPC_HASH1 = 1078, + CV_PPC_HASH2 = 1079, + CV_PPC_IMISS = 1080, + CV_PPC_ICMP = 1081, + CV_PPC_RPA = 1082, + CV_PPC_HID0 = 1108, /* this includes HID1 to HID15 */ + + /* Java */ + CV_JAVA_PC = 1, + + /* Hitachi SH3 CPU */ + CV_SH3_NOREG = CV_REG_NONE, + CV_SH3_IntR0 = 10, /* this include R1 to R13 */ + CV_SH3_IntFp = 24, + CV_SH3_IntSp = 25, + CV_SH3_Gbr = 38, + CV_SH3_Pr = 39, + CV_SH3_Mach = 40, + CV_SH3_Macl = 41, + CV_SH3_Pc = 50, + CV_SH3_Sr = 51, + CV_SH3_BarA = 60, + CV_SH3_BasrA = 61, + CV_SH3_BamrA = 62, + CV_SH3_BbrA = 63, + CV_SH3_BarB = 64, + CV_SH3_BasrB = 65, + CV_SH3_BamrB = 66, + CV_SH3_BbrB = 67, + CV_SH3_BdrB = 68, + CV_SH3_BdmrB = 69, + CV_SH3_Brcr = 70, + CV_SH_Fpscr = 75, + CV_SH_Fpul = 76, + CV_SH_FpR0 = 80, /* this includes FpR1 to FpR15 */ + CV_SH_XFpR0 = 96, /* this includes XFpR1 to XXFpR15 */ + + /* ARM CPU */ + CV_ARM_NOREG = CV_REG_NONE, + CV_ARM_R0 = 10, /* this includes R1 to R12 */ + CV_ARM_SP = 23, + CV_ARM_LR = 24, + CV_ARM_PC = 25, + CV_ARM_CPSR = 26, + CV_ARM_ACC0 = 27, + CV_ARM_FPSCR = 40, + CV_ARM_FPEXC = 41, + CV_ARM_FS0 = 50, /* this includes FS1 to FS31 */ + CV_ARM_FPEXTRA0 = 90, /* this includes FPEXTRA1 to FPEXTRA7 */ + CV_ARM_WR0 = 128, /* this includes WR1 to WR15 */ + CV_ARM_WCID = 144, + CV_ARM_WCON = 145, + CV_ARM_WCSSF = 146, + CV_ARM_WCASF = 147, + CV_ARM_WC4 = 148, + CV_ARM_WC5 = 149, + CV_ARM_WC6 = 150, + CV_ARM_WC7 = 151, + CV_ARM_WCGR0 = 152, /* this includes WCGR1 to WCGR3 */ + CV_ARM_WC12 = 156, + CV_ARM_WC13 = 157, + CV_ARM_WC14 = 158, + CV_ARM_WC15 = 159, + CV_ARM_FS32 = 200, /* this includes FS33 to FS63 */ + CV_ARM_ND0 = 300, /* this includes ND1 to ND31 */ + CV_ARM_NQ0 = 400, /* this includes NQ1 to NQ15 */ + + /* ARM64 CPU */ + CV_ARM64_NOREG = CV_REG_NONE, + CV_ARM64_W0 = 10, /* this includes W0 to W30 */ + CV_ARM64_WZR = 41, + CV_ARM64_PC = 42, /* Wine extension */ + CV_ARM64_PSTATE = 43, /* Wine extension */ + CV_ARM64_X0 = 50, /* this includes X0 to X28 */ + CV_ARM64_IP0 = 66, /* Same as X16 */ + CV_ARM64_IP1 = 67, /* Same as X17 */ + CV_ARM64_FP = 79, + CV_ARM64_LR = 80, + CV_ARM64_SP = 81, + CV_ARM64_ZR = 82, + CV_ARM64_NZCV = 90, + CV_ARM64_S0 = 100, /* this includes S0 to S31 */ + CV_ARM64_D0 = 140, /* this includes D0 to D31 */ + CV_ARM64_Q0 = 180, /* this includes Q0 to Q31 */ + CV_ARM64_FPSR = 220, + + /* Intel IA64 CPU */ + CV_IA64_NOREG = CV_REG_NONE, + CV_IA64_Br0 = 512, /* this includes Br1 to Br7 */ + CV_IA64_P0 = 704, /* this includes P1 to P63 */ + CV_IA64_Preds = 768, + CV_IA64_IntH0 = 832, /* this includes H1 to H15 */ + CV_IA64_Ip = 1016, + CV_IA64_Umask = 1017, + CV_IA64_Cfm = 1018, + CV_IA64_Psr = 1019, + CV_IA64_Nats = 1020, + CV_IA64_Nats2 = 1021, + CV_IA64_Nats3 = 1022, + CV_IA64_IntR0 = 1024, /* this includes R1 to R127 */ + CV_IA64_FltF0 = 2048, /* this includes FltF1 to FltF127 */ + /* some IA64 registers missing */ + + /* TriCore CPU */ + CV_TRI_NOREG = CV_REG_NONE, + CV_TRI_D0 = 10, /* includes D1 to D15 */ + CV_TRI_A0 = 26, /* includes A1 to A15 */ + CV_TRI_E0 = 42, + CV_TRI_E2 = 43, + CV_TRI_E4 = 44, + CV_TRI_E6 = 45, + CV_TRI_E8 = 46, + CV_TRI_E10 = 47, + CV_TRI_E12 = 48, + CV_TRI_E14 = 49, + CV_TRI_EA0 = 50, + CV_TRI_EA2 = 51, + CV_TRI_EA4 = 52, + CV_TRI_EA6 = 53, + CV_TRI_EA8 = 54, + CV_TRI_EA10 = 55, + CV_TRI_EA12 = 56, + CV_TRI_EA14 = 57, + CV_TRI_PSW = 58, + CV_TRI_PCXI = 59, + CV_TRI_PC = 60, + CV_TRI_FCX = 61, + CV_TRI_LCX = 62, + CV_TRI_ISP = 63, + CV_TRI_ICR = 64, + CV_TRI_BIV = 65, + CV_TRI_BTV = 66, + CV_TRI_SYSCON = 67, + CV_TRI_DPRx_0 = 68, /* includes DPRx_1 to DPRx_3 */ + CV_TRI_CPRx_0 = 68, /* includes CPRx_1 to CPRx_3 */ + CV_TRI_DPMx_0 = 68, /* includes DPMx_1 to DPMx_3 */ + CV_TRI_CPMx_0 = 68, /* includes CPMx_1 to CPMx_3 */ + CV_TRI_DBGSSR = 72, + CV_TRI_EXEVT = 73, + CV_TRI_SWEVT = 74, + CV_TRI_CREVT = 75, + CV_TRI_TRnEVT = 76, + CV_TRI_MMUCON = 77, + CV_TRI_ASI = 78, + CV_TRI_TVA = 79, + CV_TRI_TPA = 80, + CV_TRI_TPX = 81, + CV_TRI_TFA = 82, + + /* AM33 (and the likes) CPU */ + CV_AM33_NOREG = CV_REG_NONE, + CV_AM33_E0 = 10, /* this includes E1 to E7 */ + CV_AM33_A0 = 20, /* this includes A1 to A3 */ + CV_AM33_D0 = 30, /* this includes D1 to D3 */ + CV_AM33_FS0 = 40, /* this includes FS1 to FS31 */ + CV_AM33_SP = 80, + CV_AM33_PC = 81, + CV_AM33_MDR = 82, + CV_AM33_MDRQ = 83, + CV_AM33_MCRH = 84, + CV_AM33_MCRL = 85, + CV_AM33_MCVF = 86, + CV_AM33_EPSW = 87, + CV_AM33_FPCR = 88, + CV_AM33_LIR = 89, + CV_AM33_LAR = 90, + + /* Mitsubishi M32R CPU */ + CV_M32R_NOREG = CV_REG_NONE, + CV_M32R_R0 = 10, /* this includes R1 to R11 */ + CV_M32R_R12 = 22, + CV_M32R_R13 = 23, + CV_M32R_R14 = 24, + CV_M32R_R15 = 25, + CV_M32R_PSW = 26, + CV_M32R_CBR = 27, + CV_M32R_SPI = 28, + CV_M32R_SPU = 29, + CV_M32R_SPO = 30, + CV_M32R_BPC = 31, + CV_M32R_ACHI = 32, + CV_M32R_ACLO = 33, + CV_M32R_PC = 34, + + /* AMD/Intel x86_64 CPU */ + CV_AMD64_NONE = CV_REG_NONE, + CV_AMD64_AL = CV_REG_AL, + CV_AMD64_CL = CV_REG_CL, + CV_AMD64_DL = CV_REG_DL, + CV_AMD64_BL = CV_REG_BL, + CV_AMD64_AH = CV_REG_AH, + CV_AMD64_CH = CV_REG_CH, + CV_AMD64_DH = CV_REG_DH, + CV_AMD64_BH = CV_REG_BH, + CV_AMD64_AX = CV_REG_AX, + CV_AMD64_CX = CV_REG_CX, + CV_AMD64_DX = CV_REG_DX, + CV_AMD64_BX = CV_REG_BX, + CV_AMD64_SP = CV_REG_SP, + CV_AMD64_BP = CV_REG_BP, + CV_AMD64_SI = CV_REG_SI, + CV_AMD64_DI = CV_REG_DI, + CV_AMD64_EAX = CV_REG_EAX, + CV_AMD64_ECX = CV_REG_ECX, + CV_AMD64_EDX = CV_REG_EDX, + CV_AMD64_EBX = CV_REG_EBX, + CV_AMD64_ESP = CV_REG_ESP, + CV_AMD64_EBP = CV_REG_EBP, + CV_AMD64_ESI = CV_REG_ESI, + CV_AMD64_EDI = CV_REG_EDI, + CV_AMD64_ES = CV_REG_ES, + CV_AMD64_CS = CV_REG_CS, + CV_AMD64_SS = CV_REG_SS, + CV_AMD64_DS = CV_REG_DS, + CV_AMD64_FS = CV_REG_FS, + CV_AMD64_GS = CV_REG_GS, + CV_AMD64_FLAGS = CV_REG_FLAGS, + CV_AMD64_RIP = CV_REG_EIP, + CV_AMD64_EFLAGS = CV_REG_EFLAGS, + + /* */ + CV_AMD64_TEMP = CV_REG_TEMP, + CV_AMD64_TEMPH = CV_REG_TEMPH, + CV_AMD64_QUOTE = CV_REG_QUOTE, + CV_AMD64_PCDR3 = CV_REG_PCDR3, /* this includes PCDR4 to PCDR7 */ + CV_AMD64_CR0 = CV_REG_CR0, /* this includes CR1 to CR4 */ + CV_AMD64_DR0 = CV_REG_DR0, /* this includes DR1 to DR7 */ + /* */ + + CV_AMD64_GDTR = CV_REG_GDTR, + CV_AMD64_GDTL = CV_REG_GDTL, + CV_AMD64_IDTR = CV_REG_IDTR, + CV_AMD64_IDTL = CV_REG_IDTL, + CV_AMD64_LDTR = CV_REG_LDTR, + CV_AMD64_TR = CV_REG_TR, + + CV_AMD64_PSEUDO1 = CV_REG_PSEUDO1, /* this includes Pseudo02 to Pseudo09 */ + CV_AMD64_ST0 = CV_REG_ST0, /* this includes ST1 to ST7 */ + CV_AMD64_CTRL = CV_REG_CTRL, + CV_AMD64_STAT = CV_REG_STAT, + CV_AMD64_TAG = CV_REG_TAG, + CV_AMD64_FPIP = CV_REG_FPIP, + CV_AMD64_FPCS = CV_REG_FPCS, + CV_AMD64_FPDO = CV_REG_FPDO, + CV_AMD64_FPDS = CV_REG_FPDS, + CV_AMD64_ISEM = CV_REG_ISEM, + CV_AMD64_FPEIP = CV_REG_FPEIP, + CV_AMD64_FPEDO = CV_REG_FPEDO, + CV_AMD64_MM0 = CV_REG_MM0, /* this includes MM1 to MM7 */ + CV_AMD64_XMM0 = CV_REG_XMM0, /* this includes XMM1 to XMM7 */ + CV_AMD64_XMM00 = CV_REG_XMM00, + CV_AMD64_XMM0L = CV_REG_XMM0L, /* this includes XMM1L to XMM7L */ + CV_AMD64_XMM0H = CV_REG_XMM0H, /* this includes XMM1H to XMM7H */ + CV_AMD64_MXCSR = CV_REG_MXCSR, + CV_AMD64_EDXEAX = CV_REG_EDXEAX, + CV_AMD64_EMM0L = CV_REG_EMM0L, + CV_AMD64_EMM0H = CV_REG_EMM0H, + CV_AMD64_MM00 = CV_REG_MM00, + CV_AMD64_MM01 = CV_REG_MM01, + CV_AMD64_MM10 = CV_REG_MM10, + CV_AMD64_MM11 = CV_REG_MM11, + CV_AMD64_MM20 = CV_REG_MM20, + CV_AMD64_MM21 = CV_REG_MM21, + CV_AMD64_MM30 = CV_REG_MM30, + CV_AMD64_MM31 = CV_REG_MM31, + CV_AMD64_MM40 = CV_REG_MM40, + CV_AMD64_MM41 = CV_REG_MM41, + CV_AMD64_MM50 = CV_REG_MM50, + CV_AMD64_MM51 = CV_REG_MM51, + CV_AMD64_MM60 = CV_REG_MM60, + CV_AMD64_MM61 = CV_REG_MM61, + CV_AMD64_MM70 = CV_REG_MM70, + CV_AMD64_MM71 = CV_REG_MM71, + + CV_AMD64_XMM8 = 252, /* this includes XMM9 to XMM15 */ + + CV_AMD64_RAX = 328, + CV_AMD64_RBX = 329, + CV_AMD64_RCX = 330, + CV_AMD64_RDX = 331, + CV_AMD64_RSI = 332, + CV_AMD64_RDI = 333, + CV_AMD64_RBP = 334, + CV_AMD64_RSP = 335, + + CV_AMD64_R8 = 336, + CV_AMD64_R9 = 337, + CV_AMD64_R10 = 338, + CV_AMD64_R11 = 339, + CV_AMD64_R12 = 340, + CV_AMD64_R13 = 341, + CV_AMD64_R14 = 342, + CV_AMD64_R15 = 343, +}; + +typedef enum +{ + THUNK_ORDINAL_NOTYPE, + THUNK_ORDINAL_ADJUSTOR, + THUNK_ORDINAL_VCALL, + THUNK_ORDINAL_PCODE, + THUNK_ORDINAL_LOAD +} THUNK_ORDINAL; + +typedef enum CV_call_e +{ + CV_CALL_NEAR_C, + CV_CALL_FAR_C, + CV_CALL_NEAR_PASCAL, + CV_CALL_FAR_PASCAL, + CV_CALL_NEAR_FAST, + CV_CALL_FAR_FAST, + CV_CALL_SKIPPED, + CV_CALL_NEAR_STD, + CV_CALL_FAR_STD, + CV_CALL_NEAR_SYS, + CV_CALL_FAR_SYS, + CV_CALL_THISCALL, + CV_CALL_MIPSCALL, + CV_CALL_GENERIC, + CV_CALL_ALPHACALL, + CV_CALL_PPCCALL, + CV_CALL_SHCALL, + CV_CALL_ARMCALL, + CV_CALL_AM33CALL, + CV_CALL_TRICALL, + CV_CALL_SH5CALL, + CV_CALL_M32RCALL, + CV_CALL_RESERVED, +} CV_call_e; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2d1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2d1.h new file mode 100644 index 0000000..d7e7b65 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2d1.h @@ -0,0 +1,7652 @@ +/*** Autogenerated by WIDL 2.18 from d2d1.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d2d1_h__ +#define __d2d1_h__ + +/* Forward declarations */ + +#ifndef __ID2D1Resource_FWD_DEFINED__ +#define __ID2D1Resource_FWD_DEFINED__ +typedef interface ID2D1Resource ID2D1Resource; +#ifdef __cplusplus +interface ID2D1Resource; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1StrokeStyle_FWD_DEFINED__ +#define __ID2D1StrokeStyle_FWD_DEFINED__ +typedef interface ID2D1StrokeStyle ID2D1StrokeStyle; +#ifdef __cplusplus +interface ID2D1StrokeStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1SimplifiedGeometrySink_FWD_DEFINED__ +#define __ID2D1SimplifiedGeometrySink_FWD_DEFINED__ +typedef interface ID2D1SimplifiedGeometrySink ID2D1SimplifiedGeometrySink; +#ifdef __cplusplus +interface ID2D1SimplifiedGeometrySink; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1TessellationSink_FWD_DEFINED__ +#define __ID2D1TessellationSink_FWD_DEFINED__ +typedef interface ID2D1TessellationSink ID2D1TessellationSink; +#ifdef __cplusplus +interface ID2D1TessellationSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Geometry_FWD_DEFINED__ +#define __ID2D1Geometry_FWD_DEFINED__ +typedef interface ID2D1Geometry ID2D1Geometry; +#ifdef __cplusplus +interface ID2D1Geometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1RectangleGeometry_FWD_DEFINED__ +#define __ID2D1RectangleGeometry_FWD_DEFINED__ +typedef interface ID2D1RectangleGeometry ID2D1RectangleGeometry; +#ifdef __cplusplus +interface ID2D1RectangleGeometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1RoundedRectangleGeometry_FWD_DEFINED__ +#define __ID2D1RoundedRectangleGeometry_FWD_DEFINED__ +typedef interface ID2D1RoundedRectangleGeometry ID2D1RoundedRectangleGeometry; +#ifdef __cplusplus +interface ID2D1RoundedRectangleGeometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1EllipseGeometry_FWD_DEFINED__ +#define __ID2D1EllipseGeometry_FWD_DEFINED__ +typedef interface ID2D1EllipseGeometry ID2D1EllipseGeometry; +#ifdef __cplusplus +interface ID2D1EllipseGeometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1GeometryGroup_FWD_DEFINED__ +#define __ID2D1GeometryGroup_FWD_DEFINED__ +typedef interface ID2D1GeometryGroup ID2D1GeometryGroup; +#ifdef __cplusplus +interface ID2D1GeometryGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1TransformedGeometry_FWD_DEFINED__ +#define __ID2D1TransformedGeometry_FWD_DEFINED__ +typedef interface ID2D1TransformedGeometry ID2D1TransformedGeometry; +#ifdef __cplusplus +interface ID2D1TransformedGeometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1GeometrySink_FWD_DEFINED__ +#define __ID2D1GeometrySink_FWD_DEFINED__ +typedef interface ID2D1GeometrySink ID2D1GeometrySink; +#ifdef __cplusplus +interface ID2D1GeometrySink; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1PathGeometry_FWD_DEFINED__ +#define __ID2D1PathGeometry_FWD_DEFINED__ +typedef interface ID2D1PathGeometry ID2D1PathGeometry; +#ifdef __cplusplus +interface ID2D1PathGeometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1DrawingStateBlock_FWD_DEFINED__ +#define __ID2D1DrawingStateBlock_FWD_DEFINED__ +typedef interface ID2D1DrawingStateBlock ID2D1DrawingStateBlock; +#ifdef __cplusplus +interface ID2D1DrawingStateBlock; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Image_FWD_DEFINED__ +#define __ID2D1Image_FWD_DEFINED__ +typedef interface ID2D1Image ID2D1Image; +#ifdef __cplusplus +interface ID2D1Image; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Bitmap_FWD_DEFINED__ +#define __ID2D1Bitmap_FWD_DEFINED__ +typedef interface ID2D1Bitmap ID2D1Bitmap; +#ifdef __cplusplus +interface ID2D1Bitmap; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Brush_FWD_DEFINED__ +#define __ID2D1Brush_FWD_DEFINED__ +typedef interface ID2D1Brush ID2D1Brush; +#ifdef __cplusplus +interface ID2D1Brush; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1BitmapBrush_FWD_DEFINED__ +#define __ID2D1BitmapBrush_FWD_DEFINED__ +typedef interface ID2D1BitmapBrush ID2D1BitmapBrush; +#ifdef __cplusplus +interface ID2D1BitmapBrush; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1SolidColorBrush_FWD_DEFINED__ +#define __ID2D1SolidColorBrush_FWD_DEFINED__ +typedef interface ID2D1SolidColorBrush ID2D1SolidColorBrush; +#ifdef __cplusplus +interface ID2D1SolidColorBrush; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1GradientStopCollection_FWD_DEFINED__ +#define __ID2D1GradientStopCollection_FWD_DEFINED__ +typedef interface ID2D1GradientStopCollection ID2D1GradientStopCollection; +#ifdef __cplusplus +interface ID2D1GradientStopCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1LinearGradientBrush_FWD_DEFINED__ +#define __ID2D1LinearGradientBrush_FWD_DEFINED__ +typedef interface ID2D1LinearGradientBrush ID2D1LinearGradientBrush; +#ifdef __cplusplus +interface ID2D1LinearGradientBrush; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1RadialGradientBrush_FWD_DEFINED__ +#define __ID2D1RadialGradientBrush_FWD_DEFINED__ +typedef interface ID2D1RadialGradientBrush ID2D1RadialGradientBrush; +#ifdef __cplusplus +interface ID2D1RadialGradientBrush; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Layer_FWD_DEFINED__ +#define __ID2D1Layer_FWD_DEFINED__ +typedef interface ID2D1Layer ID2D1Layer; +#ifdef __cplusplus +interface ID2D1Layer; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Mesh_FWD_DEFINED__ +#define __ID2D1Mesh_FWD_DEFINED__ +typedef interface ID2D1Mesh ID2D1Mesh; +#ifdef __cplusplus +interface ID2D1Mesh; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1RenderTarget_FWD_DEFINED__ +#define __ID2D1RenderTarget_FWD_DEFINED__ +typedef interface ID2D1RenderTarget ID2D1RenderTarget; +#ifdef __cplusplus +interface ID2D1RenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1BitmapRenderTarget_FWD_DEFINED__ +#define __ID2D1BitmapRenderTarget_FWD_DEFINED__ +typedef interface ID2D1BitmapRenderTarget ID2D1BitmapRenderTarget; +#ifdef __cplusplus +interface ID2D1BitmapRenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1HwndRenderTarget_FWD_DEFINED__ +#define __ID2D1HwndRenderTarget_FWD_DEFINED__ +typedef interface ID2D1HwndRenderTarget ID2D1HwndRenderTarget; +#ifdef __cplusplus +interface ID2D1HwndRenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1DCRenderTarget_FWD_DEFINED__ +#define __ID2D1DCRenderTarget_FWD_DEFINED__ +typedef interface ID2D1DCRenderTarget ID2D1DCRenderTarget; +#ifdef __cplusplus +interface ID2D1DCRenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1GdiInteropRenderTarget_FWD_DEFINED__ +#define __ID2D1GdiInteropRenderTarget_FWD_DEFINED__ +typedef interface ID2D1GdiInteropRenderTarget ID2D1GdiInteropRenderTarget; +#ifdef __cplusplus +interface ID2D1GdiInteropRenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Factory_FWD_DEFINED__ +#define __ID2D1Factory_FWD_DEFINED__ +typedef interface ID2D1Factory ID2D1Factory; +#ifdef __cplusplus +interface ID2D1Factory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef DrawText +#endif +#ifndef __ID2D1Factory_FWD_DEFINED__ +#define __ID2D1Factory_FWD_DEFINED__ +typedef interface ID2D1Factory ID2D1Factory; +#ifdef __cplusplus +interface ID2D1Factory; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1RenderTarget_FWD_DEFINED__ +#define __ID2D1RenderTarget_FWD_DEFINED__ +typedef interface ID2D1RenderTarget ID2D1RenderTarget; +#ifdef __cplusplus +interface ID2D1RenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1BitmapRenderTarget_FWD_DEFINED__ +#define __ID2D1BitmapRenderTarget_FWD_DEFINED__ +typedef interface ID2D1BitmapRenderTarget ID2D1BitmapRenderTarget; +#ifdef __cplusplus +interface ID2D1BitmapRenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Geometry_FWD_DEFINED__ +#define __ID2D1Geometry_FWD_DEFINED__ +typedef interface ID2D1Geometry ID2D1Geometry; +#ifdef __cplusplus +interface ID2D1Geometry; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Brush_FWD_DEFINED__ +#define __ID2D1Brush_FWD_DEFINED__ +typedef interface ID2D1Brush ID2D1Brush; +#ifdef __cplusplus +interface ID2D1Brush; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRenderingParams_FWD_DEFINED__ +#define __IDWriteRenderingParams_FWD_DEFINED__ +typedef interface IDWriteRenderingParams IDWriteRenderingParams; +#ifdef __cplusplus +interface IDWriteRenderingParams; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextFormat_FWD_DEFINED__ +#define __IDWriteTextFormat_FWD_DEFINED__ +typedef interface IDWriteTextFormat IDWriteTextFormat; +#ifdef __cplusplus +interface IDWriteTextFormat; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextLayout_FWD_DEFINED__ +#define __IDWriteTextLayout_FWD_DEFINED__ +typedef interface IDWriteTextLayout IDWriteTextLayout; +#ifdef __cplusplus +interface IDWriteTextLayout; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapSource_FWD_DEFINED__ +#define __IWICBitmapSource_FWD_DEFINED__ +typedef interface IWICBitmapSource IWICBitmapSource; +#ifdef __cplusplus +interface IWICBitmapSource; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmap_FWD_DEFINED__ +#define __IWICBitmap_FWD_DEFINED__ +typedef interface IWICBitmap IWICBitmap; +#ifdef __cplusplus +interface IWICBitmap; +#endif /* __cplusplus */ +#endif + +#ifndef __dwrite_h__ +typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN; +#endif /* __dwrite_h__ */ +typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F; +typedef D2D_RECT_F D2D1_RECT_F; +typedef D2D_SIZE_F D2D1_SIZE_F; +typedef UINT64 D2D1_TAG; +typedef D2D_POINT_2U D2D1_POINT_2U; +typedef D2D_RECT_U D2D1_RECT_U; +typedef D2D_COLOR_F D2D1_COLOR_F; +#define D2D1_DEFAULT_FLATTENING_TOLERANCE (0.25f) +enum { + D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR = 0, + D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR = 1, + D2D1_INTERPOLATION_MODE_DEFINITION_CUBIC = 2, + D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR = 3, + D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC = 4, + D2D1_INTERPOLATION_MODE_DEFINITION_HIGH_QUALITY_CUBIC = 5, + D2D1_INTERPOLATION_MODE_DEFINITION_FANT = 6, + D2D1_INTERPOLATION_MODE_DEFINITION_MIPMAP_LINEAR = 7 +}; +typedef enum D2D1_DEBUG_LEVEL { + D2D1_DEBUG_LEVEL_NONE = 0, + D2D1_DEBUG_LEVEL_ERROR = 1, + D2D1_DEBUG_LEVEL_WARNING = 2, + D2D1_DEBUG_LEVEL_INFORMATION = 3, + D2D1_DEBUG_LEVEL_FORCE_DWORD = 0xffffffff +} D2D1_DEBUG_LEVEL; +typedef enum D2D1_FACTORY_TYPE { + D2D1_FACTORY_TYPE_SINGLE_THREADED = 0, + D2D1_FACTORY_TYPE_MULTI_THREADED = 1, + D2D1_FACTORY_TYPE_FORCE_DWORD = 0xfffffff +} D2D1_FACTORY_TYPE; +typedef enum D2D1_FILL_MODE { + D2D1_FILL_MODE_ALTERNATE = 0, + D2D1_FILL_MODE_WINDING = 1, + D2D1_FILL_MODE_FORCE_DWORD = 0xffffffff +} D2D1_FILL_MODE; +typedef enum D2D1_PATH_SEGMENT { + D2D1_PATH_SEGMENT_NONE = 0, + D2D1_PATH_SEGMENT_FORCE_UNSTROKED = 1, + D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN = 2, + D2D1_PATH_SEGMENT_FORCE_DWORD = 0xffffffff +} D2D1_PATH_SEGMENT; +typedef enum D2D1_FIGURE_BEGIN { + D2D1_FIGURE_BEGIN_FILLED = 0, + D2D1_FIGURE_BEGIN_HOLLOW = 1, + D2D1_FIGURE_BEGIN_FORCE_DWORD = 0xffffffff +} D2D1_FIGURE_BEGIN; +typedef enum D2D1_FIGURE_END { + D2D1_FIGURE_END_OPEN = 0, + D2D1_FIGURE_END_CLOSED = 1, + D2D1_FIGURE_END_FORCE_DWORD = 0xffffffff +} D2D1_FIGURE_END; +typedef enum D2D1_CAP_STYLE { + D2D1_CAP_STYLE_FLAT = 0, + D2D1_CAP_STYLE_SQUARE = 1, + D2D1_CAP_STYLE_ROUND = 2, + D2D1_CAP_STYLE_TRIANGLE = 3, + D2D1_CAP_STYLE_FORCE_DWORD = 0xffffffff +} D2D1_CAP_STYLE; +typedef enum D2D1_LINE_JOIN { + D2D1_LINE_JOIN_MITER = 0, + D2D1_LINE_JOIN_BEVEL = 1, + D2D1_LINE_JOIN_ROUND = 2, + D2D1_LINE_JOIN_MITER_OR_BEVEL = 3, + D2D1_LINE_JOIN_FORCE_DWORD = 0xffffffff +} D2D1_LINE_JOIN; +typedef enum D2D1_DASH_STYLE { + D2D1_DASH_STYLE_SOLID = 0, + D2D1_DASH_STYLE_DASH = 1, + D2D1_DASH_STYLE_DOT = 2, + D2D1_DASH_STYLE_DASH_DOT = 3, + D2D1_DASH_STYLE_DASH_DOT_DOT = 4, + D2D1_DASH_STYLE_CUSTOM = 5, + D2D1_DASH_STYLE_FORCE_DWORD = 0xffffffff +} D2D1_DASH_STYLE; +typedef enum D2D1_GEOMETRY_RELATION { + D2D1_GEOMETRY_RELATION_UNKNOWN = 0, + D2D1_GEOMETRY_RELATION_DISJOINT = 1, + D2D1_GEOMETRY_RELATION_IS_CONTAINED = 2, + D2D1_GEOMETRY_RELATION_CONTAINS = 3, + D2D1_GEOMETRY_RELATION_OVERLAP = 4, + D2D1_GEOMETRY_RELATION_FORCE_DWORD = 0xffffffff +} D2D1_GEOMETRY_RELATION; +typedef enum D2D1_GEOMETRY_SIMPLIFICATION_OPTION { + D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES = 0, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES = 1, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION_FORCE_DWORD = 0xffffffff +} D2D1_GEOMETRY_SIMPLIFICATION_OPTION; +typedef enum D2D1_COMBINE_MODE { + D2D1_COMBINE_MODE_UNION = 0, + D2D1_COMBINE_MODE_INTERSECT = 1, + D2D1_COMBINE_MODE_XOR = 2, + D2D1_COMBINE_MODE_EXCLUDE = 3, + D2D1_COMBINE_MODE_FORCE_DWORD = 0xffffffff +} D2D1_COMBINE_MODE; +typedef enum D2D1_SWEEP_DIRECTION { + D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE = 0, + D2D1_SWEEP_DIRECTION_CLOCKWISE = 1, + D2D1_SWEEP_DIRECTION_FORCE_DWORD = 0xffffffff +} D2D1_SWEEP_DIRECTION; +typedef enum D2D1_ARC_SIZE { + D2D1_ARC_SIZE_SMALL = 0, + D2D1_ARC_SIZE_LARGE = 1, + D2D1_ARC_SIZE_FORCE_DWORD = 0xffffffff +} D2D1_ARC_SIZE; +typedef enum D2D1_ANTIALIAS_MODE { + D2D1_ANTIALIAS_MODE_PER_PRIMITIVE = 0, + D2D1_ANTIALIAS_MODE_ALIASED = 1, + D2D1_ANTIALIAS_MODE_FORCE_DWORD = 0xffffffff +} D2D1_ANTIALIAS_MODE; +typedef enum D2D1_TEXT_ANTIALIAS_MODE { + D2D1_TEXT_ANTIALIAS_MODE_DEFAULT = 0, + D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE = 1, + D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE = 2, + D2D1_TEXT_ANTIALIAS_MODE_ALIASED = 3, + D2D1_TEXT_ANTIALIAS_MODE_FORCE_DWORD = 0xffffffff +} D2D1_TEXT_ANTIALIAS_MODE; +typedef enum D2D1_EXTEND_MODE { + D2D1_EXTEND_MODE_CLAMP = 0, + D2D1_EXTEND_MODE_WRAP = 1, + D2D1_EXTEND_MODE_MIRROR = 2, + D2D1_EXTEND_MODE_FORCE_DWORD = 0xffffffff +} D2D1_EXTEND_MODE; +typedef enum D2D1_BITMAP_INTERPOLATION_MODE { + D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR = D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR, + D2D1_BITMAP_INTERPOLATION_MODE_LINEAR = D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR, + D2D1_BITMAP_INTERPOLATION_MODE_FORCE_DWORD = 0xffffffff +} D2D1_BITMAP_INTERPOLATION_MODE; +typedef enum D2D1_GAMMA { + D2D1_GAMMA_2_2 = 0, + D2D1_GAMMA_1_0 = 1, + D2D1_GAMMA_FORCE_DWORD = 0xffffffff +} D2D1_GAMMA; +typedef enum D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS { + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE = 0x0, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE = 0x1, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_FORCE_DWORD = 0xffffffff +} D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS; +typedef enum D2D1_OPACITY_MASK_CONTENT { + D2D1_OPACITY_MASK_CONTENT_GRAPHICS = 0, + D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL = 1, + D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE = 2, + D2D1_OPACITY_MASK_CONTENT_FORCE_DWORD = 0xffffffff +} D2D1_OPACITY_MASK_CONTENT; +typedef enum D2D1_DRAW_TEXT_OPTIONS { + D2D1_DRAW_TEXT_OPTIONS_NO_SNAP = 0x1, + D2D1_DRAW_TEXT_OPTIONS_CLIP = 0x2, + D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT = 0x4, + D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING = 0x8, + D2D1_DRAW_TEXT_OPTIONS_NONE = 0x0, + D2D1_DRAW_TEXT_OPTIONS_FORCE_DWORD = 0xffffffff +} D2D1_DRAW_TEXT_OPTIONS; +typedef enum D2D1_LAYER_OPTIONS { + D2D1_LAYER_OPTIONS_NONE = 0x0, + D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE = 0x1, + D2D1_LAYER_OPTIONS_FORCE_DWORD = 0xffffffff +} D2D1_LAYER_OPTIONS; +typedef enum D2D1_RENDER_TARGET_TYPE { + D2D1_RENDER_TARGET_TYPE_DEFAULT = 0, + D2D1_RENDER_TARGET_TYPE_SOFTWARE = 1, + D2D1_RENDER_TARGET_TYPE_HARDWARE = 2, + D2D1_RENDER_TARGET_TYPE_FORCE_DWORD = 0xffffffff +} D2D1_RENDER_TARGET_TYPE; +typedef enum D2D1_RENDER_TARGET_USAGE { + D2D1_RENDER_TARGET_USAGE_NONE = 0x0, + D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING = 0x1, + D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE = 0x2, + D2D1_RENDER_TARGET_USAGE_FORCE_DWORD = 0xffffffff +} D2D1_RENDER_TARGET_USAGE; +typedef enum D2D1_FEATURE_LEVEL { + D2D1_FEATURE_LEVEL_DEFAULT = 0, + D2D1_FEATURE_LEVEL_9 = D3D_FEATURE_LEVEL_9_1, + D2D1_FEATURE_LEVEL_10 = D3D_FEATURE_LEVEL_10_0, + D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff +} D2D1_FEATURE_LEVEL; +typedef enum D2D1_WINDOW_STATE { + D2D1_WINDOW_STATE_NONE = 0x0, + D2D1_WINDOW_STATE_OCCLUDED = 0x1, + D2D1_WINDOW_STATE_FORCE_DWORD = 0xffffffff +} D2D1_WINDOW_STATE; +typedef enum D2D1_DC_INITIALIZE_MODE { + D2D1_DC_INITIALIZE_MODE_COPY = 0, + D2D1_DC_INITIALIZE_MODE_CLEAR = 1, + D2D1_DC_INITIALIZE_MODE_FORCE_DWORD = 0xffffffff +} D2D1_DC_INITIALIZE_MODE; +typedef enum D2D1_PRESENT_OPTIONS { + D2D1_PRESENT_OPTIONS_NONE = 0x0, + D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS = 0x1, + D2D1_PRESENT_OPTIONS_IMMEDIATELY = 0x2, + D2D1_PRESENT_OPTIONS_FORCE_DWORD = 0xffffffff +} D2D1_PRESENT_OPTIONS; +typedef struct D2D1_BEZIER_SEGMENT { + D2D1_POINT_2F point1; + D2D1_POINT_2F point2; + D2D1_POINT_2F point3; +} D2D1_BEZIER_SEGMENT; +typedef struct D2D1_FACTORY_OPTIONS { + D2D1_DEBUG_LEVEL debugLevel; +} D2D1_FACTORY_OPTIONS; +typedef struct D2D1_TRIANGLE { + D2D1_POINT_2F point1; + D2D1_POINT_2F point2; + D2D1_POINT_2F point3; +} D2D1_TRIANGLE; +typedef struct D2D1_ROUNDED_RECT { + D2D1_RECT_F rect; + float radiusX; + float radiusY; +} D2D1_ROUNDED_RECT; +typedef struct D2D1_ELLIPSE { + D2D1_POINT_2F point; + float radiusX; + float radiusY; +} D2D1_ELLIPSE; +typedef struct D2D1_QUADRATIC_BEZIER_SEGMENT { + D2D1_POINT_2F point1; + D2D1_POINT_2F point2; +} D2D1_QUADRATIC_BEZIER_SEGMENT; +typedef struct D2D1_ARC_SEGMENT { + D2D1_POINT_2F point; + D2D1_SIZE_F size; + float rotationAngle; + D2D1_SWEEP_DIRECTION sweepDirection; + D2D1_ARC_SIZE arcSize; +} D2D1_ARC_SEGMENT; +typedef struct D2D1_DRAWING_STATE_DESCRIPTION { + D2D1_ANTIALIAS_MODE antialiasMode; + D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode; + D2D1_TAG tag1; + D2D1_TAG tag2; + D2D1_MATRIX_3X2_F transform; +} D2D1_DRAWING_STATE_DESCRIPTION; +typedef struct D2D1_GRADIENT_STOP { + float position; + D2D1_COLOR_F color; +} D2D1_GRADIENT_STOP; +typedef struct D2D1_BITMAP_PROPERTIES { + D2D1_PIXEL_FORMAT pixelFormat; + float dpiX; + float dpiY; +} D2D1_BITMAP_PROPERTIES; +typedef struct D2D1_BITMAP_BRUSH_PROPERTIES { + D2D1_EXTEND_MODE extendModeX; + D2D1_EXTEND_MODE extendModeY; + D2D1_BITMAP_INTERPOLATION_MODE interpolationMode; +} D2D1_BITMAP_BRUSH_PROPERTIES; +typedef struct D2D1_BRUSH_PROPERTIES { + float opacity; + D2D1_MATRIX_3X2_F transform; +} D2D1_BRUSH_PROPERTIES; +typedef struct D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES { + D2D1_POINT_2F startPoint; + D2D1_POINT_2F endPoint; +} D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES; +typedef struct D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES { + D2D1_POINT_2F center; + D2D1_POINT_2F gradientOriginOffset; + float radiusX; + float radiusY; +} D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES; +typedef struct D2D1_LAYER_PARAMETERS { + D2D1_RECT_F contentBounds; + ID2D1Geometry *geometricMask; + D2D1_ANTIALIAS_MODE maskAntialiasMode; + D2D1_MATRIX_3X2_F maskTransform; + float opacity; + ID2D1Brush *opacityBrush; + D2D1_LAYER_OPTIONS layerOptions; +} D2D1_LAYER_PARAMETERS; +typedef struct D2D1_RENDER_TARGET_PROPERTIES { + D2D1_RENDER_TARGET_TYPE type; + D2D1_PIXEL_FORMAT pixelFormat; + float dpiX; + float dpiY; + D2D1_RENDER_TARGET_USAGE usage; + D2D1_FEATURE_LEVEL minLevel; +} D2D1_RENDER_TARGET_PROPERTIES; +typedef struct D2D1_STROKE_STYLE_PROPERTIES { + D2D1_CAP_STYLE startCap; + D2D1_CAP_STYLE endCap; + D2D1_CAP_STYLE dashCap; + D2D1_LINE_JOIN lineJoin; + float miterLimit; + D2D1_DASH_STYLE dashStyle; + float dashOffset; +} D2D1_STROKE_STYLE_PROPERTIES; +typedef struct D2D1_HWND_RENDER_TARGET_PROPERTIES { + HWND hwnd; + D2D1_SIZE_U pixelSize; + D2D1_PRESENT_OPTIONS presentOptions; +} D2D1_HWND_RENDER_TARGET_PROPERTIES; +/***************************************************************************** + * ID2D1Resource interface + */ +#ifndef __ID2D1Resource_INTERFACE_DEFINED__ +#define __ID2D1Resource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Resource, 0x2cd90691, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd90691-12e2-11dc-9fed-001143a055f9") +ID2D1Resource : public IUnknown +{ + virtual void STDMETHODCALLTYPE GetFactory( + ID2D1Factory **factory) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Resource, 0x2cd90691, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1ResourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Resource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Resource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Resource *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Resource *This, + ID2D1Factory **factory); + + END_INTERFACE +} ID2D1ResourceVtbl; + +interface ID2D1Resource { + CONST_VTBL ID2D1ResourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Resource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Resource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Resource_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Resource_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Resource_QueryInterface(ID2D1Resource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Resource_AddRef(ID2D1Resource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Resource_Release(ID2D1Resource* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Resource_GetFactory(ID2D1Resource* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Resource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1StrokeStyle interface + */ +#ifndef __ID2D1StrokeStyle_INTERFACE_DEFINED__ +#define __ID2D1StrokeStyle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1StrokeStyle, 0x2cd9069d, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd9069d-12e2-11dc-9fed-001143a055f9") +ID2D1StrokeStyle : public ID2D1Resource +{ + virtual D2D1_CAP_STYLE STDMETHODCALLTYPE GetStartCap( + ) = 0; + + virtual D2D1_CAP_STYLE STDMETHODCALLTYPE GetEndCap( + ) = 0; + + virtual D2D1_CAP_STYLE STDMETHODCALLTYPE GetDashCap( + ) = 0; + + virtual float STDMETHODCALLTYPE GetMiterLimit( + ) = 0; + + virtual D2D1_LINE_JOIN STDMETHODCALLTYPE GetLineJoin( + ) = 0; + + virtual float STDMETHODCALLTYPE GetDashOffset( + ) = 0; + + virtual D2D1_DASH_STYLE STDMETHODCALLTYPE GetDashStyle( + ) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetDashesCount( + ) = 0; + + virtual void STDMETHODCALLTYPE GetDashes( + float *dashes, + UINT32 count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1StrokeStyle, 0x2cd9069d, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1StrokeStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1StrokeStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1StrokeStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1StrokeStyle *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1StrokeStyle *This, + ID2D1Factory **factory); + + /*** ID2D1StrokeStyle methods ***/ + D2D1_CAP_STYLE (STDMETHODCALLTYPE *GetStartCap)( + ID2D1StrokeStyle *This); + + D2D1_CAP_STYLE (STDMETHODCALLTYPE *GetEndCap)( + ID2D1StrokeStyle *This); + + D2D1_CAP_STYLE (STDMETHODCALLTYPE *GetDashCap)( + ID2D1StrokeStyle *This); + + float (STDMETHODCALLTYPE *GetMiterLimit)( + ID2D1StrokeStyle *This); + + D2D1_LINE_JOIN (STDMETHODCALLTYPE *GetLineJoin)( + ID2D1StrokeStyle *This); + + float (STDMETHODCALLTYPE *GetDashOffset)( + ID2D1StrokeStyle *This); + + D2D1_DASH_STYLE (STDMETHODCALLTYPE *GetDashStyle)( + ID2D1StrokeStyle *This); + + UINT32 (STDMETHODCALLTYPE *GetDashesCount)( + ID2D1StrokeStyle *This); + + void (STDMETHODCALLTYPE *GetDashes)( + ID2D1StrokeStyle *This, + float *dashes, + UINT32 count); + + END_INTERFACE +} ID2D1StrokeStyleVtbl; + +interface ID2D1StrokeStyle { + CONST_VTBL ID2D1StrokeStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1StrokeStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1StrokeStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1StrokeStyle_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1StrokeStyle_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1StrokeStyle methods ***/ +#define ID2D1StrokeStyle_GetStartCap(This) (This)->lpVtbl->GetStartCap(This) +#define ID2D1StrokeStyle_GetEndCap(This) (This)->lpVtbl->GetEndCap(This) +#define ID2D1StrokeStyle_GetDashCap(This) (This)->lpVtbl->GetDashCap(This) +#define ID2D1StrokeStyle_GetMiterLimit(This) (This)->lpVtbl->GetMiterLimit(This) +#define ID2D1StrokeStyle_GetLineJoin(This) (This)->lpVtbl->GetLineJoin(This) +#define ID2D1StrokeStyle_GetDashOffset(This) (This)->lpVtbl->GetDashOffset(This) +#define ID2D1StrokeStyle_GetDashStyle(This) (This)->lpVtbl->GetDashStyle(This) +#define ID2D1StrokeStyle_GetDashesCount(This) (This)->lpVtbl->GetDashesCount(This) +#define ID2D1StrokeStyle_GetDashes(This,dashes,count) (This)->lpVtbl->GetDashes(This,dashes,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1StrokeStyle_QueryInterface(ID2D1StrokeStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1StrokeStyle_AddRef(ID2D1StrokeStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1StrokeStyle_Release(ID2D1StrokeStyle* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1StrokeStyle_GetFactory(ID2D1StrokeStyle* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1StrokeStyle methods ***/ +static FORCEINLINE D2D1_CAP_STYLE ID2D1StrokeStyle_GetStartCap(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetStartCap(This); +} +static FORCEINLINE D2D1_CAP_STYLE ID2D1StrokeStyle_GetEndCap(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetEndCap(This); +} +static FORCEINLINE D2D1_CAP_STYLE ID2D1StrokeStyle_GetDashCap(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetDashCap(This); +} +static FORCEINLINE float ID2D1StrokeStyle_GetMiterLimit(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetMiterLimit(This); +} +static FORCEINLINE D2D1_LINE_JOIN ID2D1StrokeStyle_GetLineJoin(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetLineJoin(This); +} +static FORCEINLINE float ID2D1StrokeStyle_GetDashOffset(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetDashOffset(This); +} +static FORCEINLINE D2D1_DASH_STYLE ID2D1StrokeStyle_GetDashStyle(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetDashStyle(This); +} +static FORCEINLINE UINT32 ID2D1StrokeStyle_GetDashesCount(ID2D1StrokeStyle* This) { + return This->lpVtbl->GetDashesCount(This); +} +static FORCEINLINE void ID2D1StrokeStyle_GetDashes(ID2D1StrokeStyle* This,float *dashes,UINT32 count) { + This->lpVtbl->GetDashes(This,dashes,count); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1StrokeStyle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1SimplifiedGeometrySink interface + */ +#ifndef __ID2D1SimplifiedGeometrySink_INTERFACE_DEFINED__ +#define __ID2D1SimplifiedGeometrySink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1SimplifiedGeometrySink, 0x2cd9069e, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd9069e-12e2-11dc-9fed-001143a055f9") +ID2D1SimplifiedGeometrySink : public IUnknown +{ + virtual void STDMETHODCALLTYPE SetFillMode( + D2D1_FILL_MODE mode) = 0; + + virtual void STDMETHODCALLTYPE SetSegmentFlags( + D2D1_PATH_SEGMENT vertexFlags) = 0; + + virtual void STDMETHODCALLTYPE BeginFigure( + D2D1_POINT_2F startPoint, + D2D1_FIGURE_BEGIN figureBegin) = 0; + + virtual void STDMETHODCALLTYPE AddLines( + const D2D1_POINT_2F *points, + UINT32 count) = 0; + + virtual void STDMETHODCALLTYPE AddBeziers( + const D2D1_BEZIER_SEGMENT *beziers, + UINT32 count) = 0; + + virtual void STDMETHODCALLTYPE EndFigure( + D2D1_FIGURE_END figureEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1SimplifiedGeometrySink, 0x2cd9069e, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1SimplifiedGeometrySinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1SimplifiedGeometrySink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1SimplifiedGeometrySink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1SimplifiedGeometrySink *This); + + /*** ID2D1SimplifiedGeometrySink methods ***/ + void (STDMETHODCALLTYPE *SetFillMode)( + ID2D1SimplifiedGeometrySink *This, + D2D1_FILL_MODE mode); + + void (STDMETHODCALLTYPE *SetSegmentFlags)( + ID2D1SimplifiedGeometrySink *This, + D2D1_PATH_SEGMENT vertexFlags); + + void (STDMETHODCALLTYPE *BeginFigure)( + ID2D1SimplifiedGeometrySink *This, + D2D1_POINT_2F startPoint, + D2D1_FIGURE_BEGIN figureBegin); + + void (STDMETHODCALLTYPE *AddLines)( + ID2D1SimplifiedGeometrySink *This, + const D2D1_POINT_2F *points, + UINT32 count); + + void (STDMETHODCALLTYPE *AddBeziers)( + ID2D1SimplifiedGeometrySink *This, + const D2D1_BEZIER_SEGMENT *beziers, + UINT32 count); + + void (STDMETHODCALLTYPE *EndFigure)( + ID2D1SimplifiedGeometrySink *This, + D2D1_FIGURE_END figureEnd); + + HRESULT (STDMETHODCALLTYPE *Close)( + ID2D1SimplifiedGeometrySink *This); + + END_INTERFACE +} ID2D1SimplifiedGeometrySinkVtbl; + +interface ID2D1SimplifiedGeometrySink { + CONST_VTBL ID2D1SimplifiedGeometrySinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1SimplifiedGeometrySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1SimplifiedGeometrySink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1SimplifiedGeometrySink_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1SimplifiedGeometrySink methods ***/ +#define ID2D1SimplifiedGeometrySink_SetFillMode(This,mode) (This)->lpVtbl->SetFillMode(This,mode) +#define ID2D1SimplifiedGeometrySink_SetSegmentFlags(This,vertexFlags) (This)->lpVtbl->SetSegmentFlags(This,vertexFlags) +#define ID2D1SimplifiedGeometrySink_BeginFigure(This,startPoint,figureBegin) (This)->lpVtbl->BeginFigure(This,startPoint,figureBegin) +#define ID2D1SimplifiedGeometrySink_AddLines(This,points,count) (This)->lpVtbl->AddLines(This,points,count) +#define ID2D1SimplifiedGeometrySink_AddBeziers(This,beziers,count) (This)->lpVtbl->AddBeziers(This,beziers,count) +#define ID2D1SimplifiedGeometrySink_EndFigure(This,figureEnd) (This)->lpVtbl->EndFigure(This,figureEnd) +#define ID2D1SimplifiedGeometrySink_Close(This) (This)->lpVtbl->Close(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1SimplifiedGeometrySink_QueryInterface(ID2D1SimplifiedGeometrySink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1SimplifiedGeometrySink_AddRef(ID2D1SimplifiedGeometrySink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1SimplifiedGeometrySink_Release(ID2D1SimplifiedGeometrySink* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1SimplifiedGeometrySink methods ***/ +static FORCEINLINE void ID2D1SimplifiedGeometrySink_SetFillMode(ID2D1SimplifiedGeometrySink* This,D2D1_FILL_MODE mode) { + This->lpVtbl->SetFillMode(This,mode); +} +static FORCEINLINE void ID2D1SimplifiedGeometrySink_SetSegmentFlags(ID2D1SimplifiedGeometrySink* This,D2D1_PATH_SEGMENT vertexFlags) { + This->lpVtbl->SetSegmentFlags(This,vertexFlags); +} +static FORCEINLINE void ID2D1SimplifiedGeometrySink_BeginFigure(ID2D1SimplifiedGeometrySink* This,D2D1_POINT_2F startPoint,D2D1_FIGURE_BEGIN figureBegin) { + This->lpVtbl->BeginFigure(This,startPoint,figureBegin); +} +static FORCEINLINE void ID2D1SimplifiedGeometrySink_AddLines(ID2D1SimplifiedGeometrySink* This,const D2D1_POINT_2F *points,UINT32 count) { + This->lpVtbl->AddLines(This,points,count); +} +static FORCEINLINE void ID2D1SimplifiedGeometrySink_AddBeziers(ID2D1SimplifiedGeometrySink* This,const D2D1_BEZIER_SEGMENT *beziers,UINT32 count) { + This->lpVtbl->AddBeziers(This,beziers,count); +} +static FORCEINLINE void ID2D1SimplifiedGeometrySink_EndFigure(ID2D1SimplifiedGeometrySink* This,D2D1_FIGURE_END figureEnd) { + This->lpVtbl->EndFigure(This,figureEnd); +} +static FORCEINLINE HRESULT ID2D1SimplifiedGeometrySink_Close(ID2D1SimplifiedGeometrySink* This) { + return This->lpVtbl->Close(This); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1SimplifiedGeometrySink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1TessellationSink interface + */ +#ifndef __ID2D1TessellationSink_INTERFACE_DEFINED__ +#define __ID2D1TessellationSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1TessellationSink, 0x2cd906c1, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906c1-12e2-11dc-9fed-001143a055f9") +ID2D1TessellationSink : public IUnknown +{ + virtual void STDMETHODCALLTYPE AddTriangles( + const D2D1_TRIANGLE *triangles, + UINT32 count) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1TessellationSink, 0x2cd906c1, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1TessellationSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1TessellationSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1TessellationSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1TessellationSink *This); + + /*** ID2D1TessellationSink methods ***/ + void (STDMETHODCALLTYPE *AddTriangles)( + ID2D1TessellationSink *This, + const D2D1_TRIANGLE *triangles, + UINT32 count); + + HRESULT (STDMETHODCALLTYPE *Close)( + ID2D1TessellationSink *This); + + END_INTERFACE +} ID2D1TessellationSinkVtbl; + +interface ID2D1TessellationSink { + CONST_VTBL ID2D1TessellationSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1TessellationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1TessellationSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1TessellationSink_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1TessellationSink methods ***/ +#define ID2D1TessellationSink_AddTriangles(This,triangles,count) (This)->lpVtbl->AddTriangles(This,triangles,count) +#define ID2D1TessellationSink_Close(This) (This)->lpVtbl->Close(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1TessellationSink_QueryInterface(ID2D1TessellationSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1TessellationSink_AddRef(ID2D1TessellationSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1TessellationSink_Release(ID2D1TessellationSink* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1TessellationSink methods ***/ +static FORCEINLINE void ID2D1TessellationSink_AddTriangles(ID2D1TessellationSink* This,const D2D1_TRIANGLE *triangles,UINT32 count) { + This->lpVtbl->AddTriangles(This,triangles,count); +} +static FORCEINLINE HRESULT ID2D1TessellationSink_Close(ID2D1TessellationSink* This) { + return This->lpVtbl->Close(This); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1TessellationSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Geometry interface + */ +#ifndef __ID2D1Geometry_INTERFACE_DEFINED__ +#define __ID2D1Geometry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Geometry, 0x2cd906a1, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a1-12e2-11dc-9fed-001143a055f9") +ID2D1Geometry : public ID2D1Resource +{ + virtual HRESULT STDMETHODCALLTYPE GetBounds( + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWidenedBounds( + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds) = 0; + + virtual HRESULT STDMETHODCALLTYPE StrokeContainsPoint( + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains) = 0; + + virtual HRESULT STDMETHODCALLTYPE FillContainsPoint( + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareWithGeometry( + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation) = 0; + + virtual HRESULT STDMETHODCALLTYPE Simplify( + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE Tessellate( + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE CombineWithGeometry( + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE Outline( + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComputeArea( + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComputeLength( + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComputePointAtLength( + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent) = 0; + + virtual HRESULT STDMETHODCALLTYPE Widen( + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Geometry, 0x2cd906a1, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1GeometryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Geometry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Geometry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Geometry *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Geometry *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1Geometry *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1Geometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1Geometry *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1Geometry *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1Geometry *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1Geometry *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1Geometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1Geometry *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1Geometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1Geometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1Geometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1Geometry *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1Geometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + END_INTERFACE +} ID2D1GeometryVtbl; + +interface ID2D1Geometry { + CONST_VTBL ID2D1GeometryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Geometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Geometry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Geometry_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Geometry_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1Geometry_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1Geometry_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1Geometry_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1Geometry_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1Geometry_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1Geometry_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1Geometry_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1Geometry_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1Geometry_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1Geometry_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1Geometry_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1Geometry_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1Geometry_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Geometry_QueryInterface(ID2D1Geometry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Geometry_AddRef(ID2D1Geometry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Geometry_Release(ID2D1Geometry* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Geometry_GetFactory(ID2D1Geometry* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1Geometry_GetBounds(ID2D1Geometry* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1Geometry_GetWidenedBounds(ID2D1Geometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1Geometry_StrokeContainsPoint(ID2D1Geometry* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1Geometry_FillContainsPoint(ID2D1Geometry* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1Geometry_CompareWithGeometry(ID2D1Geometry* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1Geometry_Simplify(ID2D1Geometry* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1Geometry_Tessellate(ID2D1Geometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1Geometry_CombineWithGeometry(ID2D1Geometry* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1Geometry_Outline(ID2D1Geometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1Geometry_ComputeArea(ID2D1Geometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1Geometry_ComputeLength(ID2D1Geometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1Geometry_ComputePointAtLength(ID2D1Geometry* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1Geometry_Widen(ID2D1Geometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Geometry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1RectangleGeometry interface + */ +#ifndef __ID2D1RectangleGeometry_INTERFACE_DEFINED__ +#define __ID2D1RectangleGeometry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1RectangleGeometry, 0x2cd906a2, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a2-12e2-11dc-9fed-001143a055f9") +ID2D1RectangleGeometry : public ID2D1Geometry +{ + virtual void STDMETHODCALLTYPE GetRect( + D2D1_RECT_F *rect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1RectangleGeometry, 0x2cd906a2, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1RectangleGeometryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1RectangleGeometry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1RectangleGeometry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1RectangleGeometry *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1RectangleGeometry *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1RectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1RectangleGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1RectangleGeometry *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1RectangleGeometry *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1RectangleGeometry *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1RectangleGeometry *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1RectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1RectangleGeometry *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1RectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1RectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1RectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1RectangleGeometry *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1RectangleGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + /*** ID2D1RectangleGeometry methods ***/ + void (STDMETHODCALLTYPE *GetRect)( + ID2D1RectangleGeometry *This, + D2D1_RECT_F *rect); + + END_INTERFACE +} ID2D1RectangleGeometryVtbl; + +interface ID2D1RectangleGeometry { + CONST_VTBL ID2D1RectangleGeometryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1RectangleGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1RectangleGeometry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1RectangleGeometry_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1RectangleGeometry_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1RectangleGeometry_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1RectangleGeometry_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1RectangleGeometry_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1RectangleGeometry_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1RectangleGeometry_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1RectangleGeometry_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1RectangleGeometry_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1RectangleGeometry_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1RectangleGeometry_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1RectangleGeometry_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1RectangleGeometry_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1RectangleGeometry_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1RectangleGeometry_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +/*** ID2D1RectangleGeometry methods ***/ +#define ID2D1RectangleGeometry_GetRect(This,rect) (This)->lpVtbl->GetRect(This,rect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1RectangleGeometry_QueryInterface(ID2D1RectangleGeometry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1RectangleGeometry_AddRef(ID2D1RectangleGeometry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1RectangleGeometry_Release(ID2D1RectangleGeometry* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1RectangleGeometry_GetFactory(ID2D1RectangleGeometry* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1RectangleGeometry_GetBounds(ID2D1RectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_GetWidenedBounds(ID2D1RectangleGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_StrokeContainsPoint(ID2D1RectangleGeometry* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_FillContainsPoint(ID2D1RectangleGeometry* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_CompareWithGeometry(ID2D1RectangleGeometry* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_Simplify(ID2D1RectangleGeometry* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_Tessellate(ID2D1RectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_CombineWithGeometry(ID2D1RectangleGeometry* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_Outline(ID2D1RectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_ComputeArea(ID2D1RectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_ComputeLength(ID2D1RectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_ComputePointAtLength(ID2D1RectangleGeometry* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1RectangleGeometry_Widen(ID2D1RectangleGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +/*** ID2D1RectangleGeometry methods ***/ +static FORCEINLINE void ID2D1RectangleGeometry_GetRect(ID2D1RectangleGeometry* This,D2D1_RECT_F *rect) { + This->lpVtbl->GetRect(This,rect); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1RectangleGeometry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1RoundedRectangleGeometry interface + */ +#ifndef __ID2D1RoundedRectangleGeometry_INTERFACE_DEFINED__ +#define __ID2D1RoundedRectangleGeometry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1RoundedRectangleGeometry, 0x2cd906a3, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a3-12e2-11dc-9fed-001143a055f9") +ID2D1RoundedRectangleGeometry : public ID2D1Geometry +{ + virtual void STDMETHODCALLTYPE GetRoundedRect( + D2D1_ROUNDED_RECT *rect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1RoundedRectangleGeometry, 0x2cd906a3, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1RoundedRectangleGeometryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1RoundedRectangleGeometry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1RoundedRectangleGeometry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1RoundedRectangleGeometry *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1RoundedRectangleGeometry *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1RoundedRectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1RoundedRectangleGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1RoundedRectangleGeometry *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1RoundedRectangleGeometry *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1RoundedRectangleGeometry *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1RoundedRectangleGeometry *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1RoundedRectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1RoundedRectangleGeometry *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1RoundedRectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1RoundedRectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1RoundedRectangleGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1RoundedRectangleGeometry *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1RoundedRectangleGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + /*** ID2D1RoundedRectangleGeometry methods ***/ + void (STDMETHODCALLTYPE *GetRoundedRect)( + ID2D1RoundedRectangleGeometry *This, + D2D1_ROUNDED_RECT *rect); + + END_INTERFACE +} ID2D1RoundedRectangleGeometryVtbl; + +interface ID2D1RoundedRectangleGeometry { + CONST_VTBL ID2D1RoundedRectangleGeometryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1RoundedRectangleGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1RoundedRectangleGeometry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1RoundedRectangleGeometry_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1RoundedRectangleGeometry_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1RoundedRectangleGeometry_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1RoundedRectangleGeometry_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1RoundedRectangleGeometry_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1RoundedRectangleGeometry_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1RoundedRectangleGeometry_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1RoundedRectangleGeometry_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1RoundedRectangleGeometry_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1RoundedRectangleGeometry_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1RoundedRectangleGeometry_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1RoundedRectangleGeometry_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1RoundedRectangleGeometry_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1RoundedRectangleGeometry_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1RoundedRectangleGeometry_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +/*** ID2D1RoundedRectangleGeometry methods ***/ +#define ID2D1RoundedRectangleGeometry_GetRoundedRect(This,rect) (This)->lpVtbl->GetRoundedRect(This,rect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_QueryInterface(ID2D1RoundedRectangleGeometry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1RoundedRectangleGeometry_AddRef(ID2D1RoundedRectangleGeometry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1RoundedRectangleGeometry_Release(ID2D1RoundedRectangleGeometry* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1RoundedRectangleGeometry_GetFactory(ID2D1RoundedRectangleGeometry* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_GetBounds(ID2D1RoundedRectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_GetWidenedBounds(ID2D1RoundedRectangleGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_StrokeContainsPoint(ID2D1RoundedRectangleGeometry* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_FillContainsPoint(ID2D1RoundedRectangleGeometry* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_CompareWithGeometry(ID2D1RoundedRectangleGeometry* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_Simplify(ID2D1RoundedRectangleGeometry* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_Tessellate(ID2D1RoundedRectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_CombineWithGeometry(ID2D1RoundedRectangleGeometry* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_Outline(ID2D1RoundedRectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_ComputeArea(ID2D1RoundedRectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_ComputeLength(ID2D1RoundedRectangleGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_ComputePointAtLength(ID2D1RoundedRectangleGeometry* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1RoundedRectangleGeometry_Widen(ID2D1RoundedRectangleGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +/*** ID2D1RoundedRectangleGeometry methods ***/ +static FORCEINLINE void ID2D1RoundedRectangleGeometry_GetRoundedRect(ID2D1RoundedRectangleGeometry* This,D2D1_ROUNDED_RECT *rect) { + This->lpVtbl->GetRoundedRect(This,rect); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1RoundedRectangleGeometry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1EllipseGeometry interface + */ +#ifndef __ID2D1EllipseGeometry_INTERFACE_DEFINED__ +#define __ID2D1EllipseGeometry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1EllipseGeometry, 0x2cd906a4, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a4-12e2-11dc-9fed-001143a055f9") +ID2D1EllipseGeometry : public ID2D1Geometry +{ + virtual void STDMETHODCALLTYPE GetEllipse( + D2D1_ELLIPSE *ellipse) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1EllipseGeometry, 0x2cd906a4, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1EllipseGeometryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1EllipseGeometry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1EllipseGeometry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1EllipseGeometry *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1EllipseGeometry *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1EllipseGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1EllipseGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1EllipseGeometry *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1EllipseGeometry *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1EllipseGeometry *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1EllipseGeometry *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1EllipseGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1EllipseGeometry *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1EllipseGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1EllipseGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1EllipseGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1EllipseGeometry *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1EllipseGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + /*** ID2D1EllipseGeometry methods ***/ + void (STDMETHODCALLTYPE *GetEllipse)( + ID2D1EllipseGeometry *This, + D2D1_ELLIPSE *ellipse); + + END_INTERFACE +} ID2D1EllipseGeometryVtbl; + +interface ID2D1EllipseGeometry { + CONST_VTBL ID2D1EllipseGeometryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1EllipseGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1EllipseGeometry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1EllipseGeometry_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1EllipseGeometry_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1EllipseGeometry_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1EllipseGeometry_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1EllipseGeometry_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1EllipseGeometry_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1EllipseGeometry_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1EllipseGeometry_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1EllipseGeometry_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1EllipseGeometry_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1EllipseGeometry_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1EllipseGeometry_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1EllipseGeometry_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1EllipseGeometry_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1EllipseGeometry_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +/*** ID2D1EllipseGeometry methods ***/ +#define ID2D1EllipseGeometry_GetEllipse(This,ellipse) (This)->lpVtbl->GetEllipse(This,ellipse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1EllipseGeometry_QueryInterface(ID2D1EllipseGeometry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1EllipseGeometry_AddRef(ID2D1EllipseGeometry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1EllipseGeometry_Release(ID2D1EllipseGeometry* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1EllipseGeometry_GetFactory(ID2D1EllipseGeometry* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1EllipseGeometry_GetBounds(ID2D1EllipseGeometry* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_GetWidenedBounds(ID2D1EllipseGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_StrokeContainsPoint(ID2D1EllipseGeometry* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_FillContainsPoint(ID2D1EllipseGeometry* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_CompareWithGeometry(ID2D1EllipseGeometry* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_Simplify(ID2D1EllipseGeometry* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_Tessellate(ID2D1EllipseGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_CombineWithGeometry(ID2D1EllipseGeometry* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_Outline(ID2D1EllipseGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_ComputeArea(ID2D1EllipseGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_ComputeLength(ID2D1EllipseGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_ComputePointAtLength(ID2D1EllipseGeometry* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1EllipseGeometry_Widen(ID2D1EllipseGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +/*** ID2D1EllipseGeometry methods ***/ +static FORCEINLINE void ID2D1EllipseGeometry_GetEllipse(ID2D1EllipseGeometry* This,D2D1_ELLIPSE *ellipse) { + This->lpVtbl->GetEllipse(This,ellipse); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1EllipseGeometry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1GeometryGroup interface + */ +#ifndef __ID2D1GeometryGroup_INTERFACE_DEFINED__ +#define __ID2D1GeometryGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1GeometryGroup, 0x2cd906a6, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a6-12e2-11dc-9fed-001143a055f9") +ID2D1GeometryGroup : public ID2D1Geometry +{ + virtual D2D1_FILL_MODE STDMETHODCALLTYPE GetFillMode( + ) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetSourceGeometryCount( + ) = 0; + + virtual void STDMETHODCALLTYPE GetSourceGeometries( + ID2D1Geometry **geometry, + UINT32 geometry_count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1GeometryGroup, 0x2cd906a6, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1GeometryGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1GeometryGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1GeometryGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1GeometryGroup *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1GeometryGroup *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1GeometryGroup *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1GeometryGroup *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1GeometryGroup *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1GeometryGroup *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1GeometryGroup *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1GeometryGroup *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1GeometryGroup *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1GeometryGroup *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1GeometryGroup *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1GeometryGroup *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1GeometryGroup *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1GeometryGroup *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1GeometryGroup *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + /*** ID2D1GeometryGroup methods ***/ + D2D1_FILL_MODE (STDMETHODCALLTYPE *GetFillMode)( + ID2D1GeometryGroup *This); + + UINT32 (STDMETHODCALLTYPE *GetSourceGeometryCount)( + ID2D1GeometryGroup *This); + + void (STDMETHODCALLTYPE *GetSourceGeometries)( + ID2D1GeometryGroup *This, + ID2D1Geometry **geometry, + UINT32 geometry_count); + + END_INTERFACE +} ID2D1GeometryGroupVtbl; + +interface ID2D1GeometryGroup { + CONST_VTBL ID2D1GeometryGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1GeometryGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1GeometryGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1GeometryGroup_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1GeometryGroup_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1GeometryGroup_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1GeometryGroup_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1GeometryGroup_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1GeometryGroup_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1GeometryGroup_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1GeometryGroup_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1GeometryGroup_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1GeometryGroup_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1GeometryGroup_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1GeometryGroup_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1GeometryGroup_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1GeometryGroup_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1GeometryGroup_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +/*** ID2D1GeometryGroup methods ***/ +#define ID2D1GeometryGroup_GetFillMode(This) (This)->lpVtbl->GetFillMode(This) +#define ID2D1GeometryGroup_GetSourceGeometryCount(This) (This)->lpVtbl->GetSourceGeometryCount(This) +#define ID2D1GeometryGroup_GetSourceGeometries(This,geometry,geometry_count) (This)->lpVtbl->GetSourceGeometries(This,geometry,geometry_count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1GeometryGroup_QueryInterface(ID2D1GeometryGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1GeometryGroup_AddRef(ID2D1GeometryGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1GeometryGroup_Release(ID2D1GeometryGroup* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1GeometryGroup_GetFactory(ID2D1GeometryGroup* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1GeometryGroup_GetBounds(ID2D1GeometryGroup* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_GetWidenedBounds(ID2D1GeometryGroup* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_StrokeContainsPoint(ID2D1GeometryGroup* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_FillContainsPoint(ID2D1GeometryGroup* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_CompareWithGeometry(ID2D1GeometryGroup* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_Simplify(ID2D1GeometryGroup* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_Tessellate(ID2D1GeometryGroup* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_CombineWithGeometry(ID2D1GeometryGroup* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_Outline(ID2D1GeometryGroup* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_ComputeArea(ID2D1GeometryGroup* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_ComputeLength(ID2D1GeometryGroup* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_ComputePointAtLength(ID2D1GeometryGroup* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1GeometryGroup_Widen(ID2D1GeometryGroup* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +/*** ID2D1GeometryGroup methods ***/ +static FORCEINLINE D2D1_FILL_MODE ID2D1GeometryGroup_GetFillMode(ID2D1GeometryGroup* This) { + return This->lpVtbl->GetFillMode(This); +} +static FORCEINLINE UINT32 ID2D1GeometryGroup_GetSourceGeometryCount(ID2D1GeometryGroup* This) { + return This->lpVtbl->GetSourceGeometryCount(This); +} +static FORCEINLINE void ID2D1GeometryGroup_GetSourceGeometries(ID2D1GeometryGroup* This,ID2D1Geometry **geometry,UINT32 geometry_count) { + This->lpVtbl->GetSourceGeometries(This,geometry,geometry_count); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1GeometryGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1TransformedGeometry interface + */ +#ifndef __ID2D1TransformedGeometry_INTERFACE_DEFINED__ +#define __ID2D1TransformedGeometry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1TransformedGeometry, 0x2cd906bb, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906bb-12e2-11dc-9fed-001143a055f9") +ID2D1TransformedGeometry : public ID2D1Geometry +{ + virtual void STDMETHODCALLTYPE GetSourceGeometry( + ID2D1Geometry **geometry) = 0; + + virtual void STDMETHODCALLTYPE GetTransform( + D2D1_MATRIX_3X2_F *transform) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1TransformedGeometry, 0x2cd906bb, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1TransformedGeometryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1TransformedGeometry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1TransformedGeometry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1TransformedGeometry *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1TransformedGeometry *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1TransformedGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1TransformedGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1TransformedGeometry *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1TransformedGeometry *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1TransformedGeometry *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1TransformedGeometry *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1TransformedGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1TransformedGeometry *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1TransformedGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1TransformedGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1TransformedGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1TransformedGeometry *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1TransformedGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + /*** ID2D1TransformedGeometry methods ***/ + void (STDMETHODCALLTYPE *GetSourceGeometry)( + ID2D1TransformedGeometry *This, + ID2D1Geometry **geometry); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1TransformedGeometry *This, + D2D1_MATRIX_3X2_F *transform); + + END_INTERFACE +} ID2D1TransformedGeometryVtbl; + +interface ID2D1TransformedGeometry { + CONST_VTBL ID2D1TransformedGeometryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1TransformedGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1TransformedGeometry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1TransformedGeometry_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1TransformedGeometry_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1TransformedGeometry_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1TransformedGeometry_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1TransformedGeometry_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1TransformedGeometry_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1TransformedGeometry_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1TransformedGeometry_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1TransformedGeometry_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1TransformedGeometry_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1TransformedGeometry_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1TransformedGeometry_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1TransformedGeometry_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1TransformedGeometry_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1TransformedGeometry_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +/*** ID2D1TransformedGeometry methods ***/ +#define ID2D1TransformedGeometry_GetSourceGeometry(This,geometry) (This)->lpVtbl->GetSourceGeometry(This,geometry) +#define ID2D1TransformedGeometry_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1TransformedGeometry_QueryInterface(ID2D1TransformedGeometry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1TransformedGeometry_AddRef(ID2D1TransformedGeometry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1TransformedGeometry_Release(ID2D1TransformedGeometry* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1TransformedGeometry_GetFactory(ID2D1TransformedGeometry* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1TransformedGeometry_GetBounds(ID2D1TransformedGeometry* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_GetWidenedBounds(ID2D1TransformedGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_StrokeContainsPoint(ID2D1TransformedGeometry* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_FillContainsPoint(ID2D1TransformedGeometry* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_CompareWithGeometry(ID2D1TransformedGeometry* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_Simplify(ID2D1TransformedGeometry* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_Tessellate(ID2D1TransformedGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_CombineWithGeometry(ID2D1TransformedGeometry* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_Outline(ID2D1TransformedGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_ComputeArea(ID2D1TransformedGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_ComputeLength(ID2D1TransformedGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_ComputePointAtLength(ID2D1TransformedGeometry* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1TransformedGeometry_Widen(ID2D1TransformedGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +/*** ID2D1TransformedGeometry methods ***/ +static FORCEINLINE void ID2D1TransformedGeometry_GetSourceGeometry(ID2D1TransformedGeometry* This,ID2D1Geometry **geometry) { + This->lpVtbl->GetSourceGeometry(This,geometry); +} +static FORCEINLINE void ID2D1TransformedGeometry_GetTransform(ID2D1TransformedGeometry* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1TransformedGeometry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1GeometrySink interface + */ +#ifndef __ID2D1GeometrySink_INTERFACE_DEFINED__ +#define __ID2D1GeometrySink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1GeometrySink, 0x2cd9069f, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd9069f-12e2-11dc-9fed-001143a055f9") +ID2D1GeometrySink : public ID2D1SimplifiedGeometrySink +{ + virtual void STDMETHODCALLTYPE AddLine( + D2D1_POINT_2F point) = 0; + + virtual void STDMETHODCALLTYPE AddBezier( + const D2D1_BEZIER_SEGMENT *bezier) = 0; + + virtual void STDMETHODCALLTYPE AddQuadraticBezier( + const D2D1_QUADRATIC_BEZIER_SEGMENT *bezier) = 0; + + virtual void STDMETHODCALLTYPE AddQuadraticBeziers( + const D2D1_QUADRATIC_BEZIER_SEGMENT *beziers, + UINT32 bezier_count) = 0; + + virtual void STDMETHODCALLTYPE AddArc( + const D2D1_ARC_SEGMENT *arc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1GeometrySink, 0x2cd9069f, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1GeometrySinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1GeometrySink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1GeometrySink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1GeometrySink *This); + + /*** ID2D1SimplifiedGeometrySink methods ***/ + void (STDMETHODCALLTYPE *SetFillMode)( + ID2D1GeometrySink *This, + D2D1_FILL_MODE mode); + + void (STDMETHODCALLTYPE *SetSegmentFlags)( + ID2D1GeometrySink *This, + D2D1_PATH_SEGMENT vertexFlags); + + void (STDMETHODCALLTYPE *BeginFigure)( + ID2D1GeometrySink *This, + D2D1_POINT_2F startPoint, + D2D1_FIGURE_BEGIN figureBegin); + + void (STDMETHODCALLTYPE *AddLines)( + ID2D1GeometrySink *This, + const D2D1_POINT_2F *points, + UINT32 count); + + void (STDMETHODCALLTYPE *AddBeziers)( + ID2D1GeometrySink *This, + const D2D1_BEZIER_SEGMENT *beziers, + UINT32 count); + + void (STDMETHODCALLTYPE *EndFigure)( + ID2D1GeometrySink *This, + D2D1_FIGURE_END figureEnd); + + HRESULT (STDMETHODCALLTYPE *Close)( + ID2D1GeometrySink *This); + + /*** ID2D1GeometrySink methods ***/ + void (STDMETHODCALLTYPE *AddLine)( + ID2D1GeometrySink *This, + D2D1_POINT_2F point); + + void (STDMETHODCALLTYPE *AddBezier)( + ID2D1GeometrySink *This, + const D2D1_BEZIER_SEGMENT *bezier); + + void (STDMETHODCALLTYPE *AddQuadraticBezier)( + ID2D1GeometrySink *This, + const D2D1_QUADRATIC_BEZIER_SEGMENT *bezier); + + void (STDMETHODCALLTYPE *AddQuadraticBeziers)( + ID2D1GeometrySink *This, + const D2D1_QUADRATIC_BEZIER_SEGMENT *beziers, + UINT32 bezier_count); + + void (STDMETHODCALLTYPE *AddArc)( + ID2D1GeometrySink *This, + const D2D1_ARC_SEGMENT *arc); + + END_INTERFACE +} ID2D1GeometrySinkVtbl; + +interface ID2D1GeometrySink { + CONST_VTBL ID2D1GeometrySinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1GeometrySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1GeometrySink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1GeometrySink_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1SimplifiedGeometrySink methods ***/ +#define ID2D1GeometrySink_SetFillMode(This,mode) (This)->lpVtbl->SetFillMode(This,mode) +#define ID2D1GeometrySink_SetSegmentFlags(This,vertexFlags) (This)->lpVtbl->SetSegmentFlags(This,vertexFlags) +#define ID2D1GeometrySink_BeginFigure(This,startPoint,figureBegin) (This)->lpVtbl->BeginFigure(This,startPoint,figureBegin) +#define ID2D1GeometrySink_AddLines(This,points,count) (This)->lpVtbl->AddLines(This,points,count) +#define ID2D1GeometrySink_AddBeziers(This,beziers,count) (This)->lpVtbl->AddBeziers(This,beziers,count) +#define ID2D1GeometrySink_EndFigure(This,figureEnd) (This)->lpVtbl->EndFigure(This,figureEnd) +#define ID2D1GeometrySink_Close(This) (This)->lpVtbl->Close(This) +/*** ID2D1GeometrySink methods ***/ +#define ID2D1GeometrySink_AddLine(This,point) (This)->lpVtbl->AddLine(This,point) +#define ID2D1GeometrySink_AddBezier(This,bezier) (This)->lpVtbl->AddBezier(This,bezier) +#define ID2D1GeometrySink_AddQuadraticBezier(This,bezier) (This)->lpVtbl->AddQuadraticBezier(This,bezier) +#define ID2D1GeometrySink_AddQuadraticBeziers(This,beziers,bezier_count) (This)->lpVtbl->AddQuadraticBeziers(This,beziers,bezier_count) +#define ID2D1GeometrySink_AddArc(This,arc) (This)->lpVtbl->AddArc(This,arc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1GeometrySink_QueryInterface(ID2D1GeometrySink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1GeometrySink_AddRef(ID2D1GeometrySink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1GeometrySink_Release(ID2D1GeometrySink* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1SimplifiedGeometrySink methods ***/ +static FORCEINLINE void ID2D1GeometrySink_SetFillMode(ID2D1GeometrySink* This,D2D1_FILL_MODE mode) { + This->lpVtbl->SetFillMode(This,mode); +} +static FORCEINLINE void ID2D1GeometrySink_SetSegmentFlags(ID2D1GeometrySink* This,D2D1_PATH_SEGMENT vertexFlags) { + This->lpVtbl->SetSegmentFlags(This,vertexFlags); +} +static FORCEINLINE void ID2D1GeometrySink_BeginFigure(ID2D1GeometrySink* This,D2D1_POINT_2F startPoint,D2D1_FIGURE_BEGIN figureBegin) { + This->lpVtbl->BeginFigure(This,startPoint,figureBegin); +} +static FORCEINLINE void ID2D1GeometrySink_AddLines(ID2D1GeometrySink* This,const D2D1_POINT_2F *points,UINT32 count) { + This->lpVtbl->AddLines(This,points,count); +} +static FORCEINLINE void ID2D1GeometrySink_AddBeziers(ID2D1GeometrySink* This,const D2D1_BEZIER_SEGMENT *beziers,UINT32 count) { + This->lpVtbl->AddBeziers(This,beziers,count); +} +static FORCEINLINE void ID2D1GeometrySink_EndFigure(ID2D1GeometrySink* This,D2D1_FIGURE_END figureEnd) { + This->lpVtbl->EndFigure(This,figureEnd); +} +static FORCEINLINE HRESULT ID2D1GeometrySink_Close(ID2D1GeometrySink* This) { + return This->lpVtbl->Close(This); +} +/*** ID2D1GeometrySink methods ***/ +static FORCEINLINE void ID2D1GeometrySink_AddLine(ID2D1GeometrySink* This,D2D1_POINT_2F point) { + This->lpVtbl->AddLine(This,point); +} +static FORCEINLINE void ID2D1GeometrySink_AddBezier(ID2D1GeometrySink* This,const D2D1_BEZIER_SEGMENT *bezier) { + This->lpVtbl->AddBezier(This,bezier); +} +static FORCEINLINE void ID2D1GeometrySink_AddQuadraticBezier(ID2D1GeometrySink* This,const D2D1_QUADRATIC_BEZIER_SEGMENT *bezier) { + This->lpVtbl->AddQuadraticBezier(This,bezier); +} +static FORCEINLINE void ID2D1GeometrySink_AddQuadraticBeziers(ID2D1GeometrySink* This,const D2D1_QUADRATIC_BEZIER_SEGMENT *beziers,UINT32 bezier_count) { + This->lpVtbl->AddQuadraticBeziers(This,beziers,bezier_count); +} +static FORCEINLINE void ID2D1GeometrySink_AddArc(ID2D1GeometrySink* This,const D2D1_ARC_SEGMENT *arc) { + This->lpVtbl->AddArc(This,arc); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1GeometrySink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1PathGeometry interface + */ +#ifndef __ID2D1PathGeometry_INTERFACE_DEFINED__ +#define __ID2D1PathGeometry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1PathGeometry, 0x2cd906a5, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a5-12e2-11dc-9fed-001143a055f9") +ID2D1PathGeometry : public ID2D1Geometry +{ + virtual HRESULT STDMETHODCALLTYPE Open( + ID2D1GeometrySink **sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stream( + ID2D1GeometrySink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSegmentCount( + UINT32 *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFigureCount( + UINT32 *count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1PathGeometry, 0x2cd906a5, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1PathGeometryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1PathGeometry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1PathGeometry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1PathGeometry *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1PathGeometry *This, + ID2D1Factory **factory); + + /*** ID2D1Geometry methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBounds)( + ID2D1PathGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *GetWidenedBounds)( + ID2D1PathGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_RECT_F *bounds); + + HRESULT (STDMETHODCALLTYPE *StrokeContainsPoint)( + ID2D1PathGeometry *This, + D2D1_POINT_2F point, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *FillContainsPoint)( + ID2D1PathGeometry *This, + D2D1_POINT_2F point, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + BOOL *contains); + + HRESULT (STDMETHODCALLTYPE *CompareWithGeometry)( + ID2D1PathGeometry *This, + ID2D1Geometry *geometry, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_GEOMETRY_RELATION *relation); + + HRESULT (STDMETHODCALLTYPE *Simplify)( + ID2D1PathGeometry *This, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Tessellate)( + ID2D1PathGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1TessellationSink *sink); + + HRESULT (STDMETHODCALLTYPE *CombineWithGeometry)( + ID2D1PathGeometry *This, + ID2D1Geometry *geometry, + D2D1_COMBINE_MODE combine_mode, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *Outline)( + ID2D1PathGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *ComputeArea)( + ID2D1PathGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *area); + + HRESULT (STDMETHODCALLTYPE *ComputeLength)( + ID2D1PathGeometry *This, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + float *length); + + HRESULT (STDMETHODCALLTYPE *ComputePointAtLength)( + ID2D1PathGeometry *This, + float length, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + D2D1_POINT_2F *point, + D2D1_POINT_2F *tangent); + + HRESULT (STDMETHODCALLTYPE *Widen)( + ID2D1PathGeometry *This, + float stroke_width, + ID2D1StrokeStyle *stroke_style, + const D2D1_MATRIX_3X2_F *transform, + float tolerance, + ID2D1SimplifiedGeometrySink *sink); + + /*** ID2D1PathGeometry methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + ID2D1PathGeometry *This, + ID2D1GeometrySink **sink); + + HRESULT (STDMETHODCALLTYPE *Stream)( + ID2D1PathGeometry *This, + ID2D1GeometrySink *sink); + + HRESULT (STDMETHODCALLTYPE *GetSegmentCount)( + ID2D1PathGeometry *This, + UINT32 *count); + + HRESULT (STDMETHODCALLTYPE *GetFigureCount)( + ID2D1PathGeometry *This, + UINT32 *count); + + END_INTERFACE +} ID2D1PathGeometryVtbl; + +interface ID2D1PathGeometry { + CONST_VTBL ID2D1PathGeometryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1PathGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1PathGeometry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1PathGeometry_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1PathGeometry_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Geometry methods ***/ +#define ID2D1PathGeometry_GetBounds(This,transform,bounds) (This)->lpVtbl->GetBounds(This,transform,bounds) +#define ID2D1PathGeometry_GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) (This)->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds) +#define ID2D1PathGeometry_StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) (This)->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains) +#define ID2D1PathGeometry_FillContainsPoint(This,point,transform,tolerance,contains) (This)->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains) +#define ID2D1PathGeometry_CompareWithGeometry(This,geometry,transform,tolerance,relation) (This)->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation) +#define ID2D1PathGeometry_Simplify(This,option,transform,tolerance,sink) (This)->lpVtbl->Simplify(This,option,transform,tolerance,sink) +#define ID2D1PathGeometry_Tessellate(This,transform,tolerance,sink) (This)->lpVtbl->Tessellate(This,transform,tolerance,sink) +#define ID2D1PathGeometry_CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) (This)->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink) +#define ID2D1PathGeometry_Outline(This,transform,tolerance,sink) (This)->lpVtbl->Outline(This,transform,tolerance,sink) +#define ID2D1PathGeometry_ComputeArea(This,transform,tolerance,area) (This)->lpVtbl->ComputeArea(This,transform,tolerance,area) +#define ID2D1PathGeometry_ComputeLength(This,transform,tolerance,length) (This)->lpVtbl->ComputeLength(This,transform,tolerance,length) +#define ID2D1PathGeometry_ComputePointAtLength(This,length,transform,tolerance,point,tangent) (This)->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent) +#define ID2D1PathGeometry_Widen(This,stroke_width,stroke_style,transform,tolerance,sink) (This)->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink) +/*** ID2D1PathGeometry methods ***/ +#define ID2D1PathGeometry_Open(This,sink) (This)->lpVtbl->Open(This,sink) +#define ID2D1PathGeometry_Stream(This,sink) (This)->lpVtbl->Stream(This,sink) +#define ID2D1PathGeometry_GetSegmentCount(This,count) (This)->lpVtbl->GetSegmentCount(This,count) +#define ID2D1PathGeometry_GetFigureCount(This,count) (This)->lpVtbl->GetFigureCount(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1PathGeometry_QueryInterface(ID2D1PathGeometry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1PathGeometry_AddRef(ID2D1PathGeometry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1PathGeometry_Release(ID2D1PathGeometry* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1PathGeometry_GetFactory(ID2D1PathGeometry* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Geometry methods ***/ +static FORCEINLINE HRESULT ID2D1PathGeometry_GetBounds(ID2D1PathGeometry* This,const D2D1_MATRIX_3X2_F *transform,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetBounds(This,transform,bounds); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_GetWidenedBounds(ID2D1PathGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_RECT_F *bounds) { + return This->lpVtbl->GetWidenedBounds(This,stroke_width,stroke_style,transform,tolerance,bounds); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_StrokeContainsPoint(ID2D1PathGeometry* This,D2D1_POINT_2F point,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->StrokeContainsPoint(This,point,stroke_width,stroke_style,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_FillContainsPoint(ID2D1PathGeometry* This,D2D1_POINT_2F point,const D2D1_MATRIX_3X2_F *transform,float tolerance,BOOL *contains) { + return This->lpVtbl->FillContainsPoint(This,point,transform,tolerance,contains); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_CompareWithGeometry(ID2D1PathGeometry* This,ID2D1Geometry *geometry,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_GEOMETRY_RELATION *relation) { + return This->lpVtbl->CompareWithGeometry(This,geometry,transform,tolerance,relation); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_Simplify(ID2D1PathGeometry* This,D2D1_GEOMETRY_SIMPLIFICATION_OPTION option,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Simplify(This,option,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_Tessellate(ID2D1PathGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1TessellationSink *sink) { + return This->lpVtbl->Tessellate(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_CombineWithGeometry(ID2D1PathGeometry* This,ID2D1Geometry *geometry,D2D1_COMBINE_MODE combine_mode,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->CombineWithGeometry(This,geometry,combine_mode,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_Outline(ID2D1PathGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Outline(This,transform,tolerance,sink); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_ComputeArea(ID2D1PathGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *area) { + return This->lpVtbl->ComputeArea(This,transform,tolerance,area); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_ComputeLength(ID2D1PathGeometry* This,const D2D1_MATRIX_3X2_F *transform,float tolerance,float *length) { + return This->lpVtbl->ComputeLength(This,transform,tolerance,length); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_ComputePointAtLength(ID2D1PathGeometry* This,float length,const D2D1_MATRIX_3X2_F *transform,float tolerance,D2D1_POINT_2F *point,D2D1_POINT_2F *tangent) { + return This->lpVtbl->ComputePointAtLength(This,length,transform,tolerance,point,tangent); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_Widen(ID2D1PathGeometry* This,float stroke_width,ID2D1StrokeStyle *stroke_style,const D2D1_MATRIX_3X2_F *transform,float tolerance,ID2D1SimplifiedGeometrySink *sink) { + return This->lpVtbl->Widen(This,stroke_width,stroke_style,transform,tolerance,sink); +} +/*** ID2D1PathGeometry methods ***/ +static FORCEINLINE HRESULT ID2D1PathGeometry_Open(ID2D1PathGeometry* This,ID2D1GeometrySink **sink) { + return This->lpVtbl->Open(This,sink); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_Stream(ID2D1PathGeometry* This,ID2D1GeometrySink *sink) { + return This->lpVtbl->Stream(This,sink); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_GetSegmentCount(ID2D1PathGeometry* This,UINT32 *count) { + return This->lpVtbl->GetSegmentCount(This,count); +} +static FORCEINLINE HRESULT ID2D1PathGeometry_GetFigureCount(ID2D1PathGeometry* This,UINT32 *count) { + return This->lpVtbl->GetFigureCount(This,count); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1PathGeometry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1DrawingStateBlock interface + */ +#ifndef __ID2D1DrawingStateBlock_INTERFACE_DEFINED__ +#define __ID2D1DrawingStateBlock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1DrawingStateBlock, 0x28506e39, 0xebf6, 0x46a1, 0xbb,0x47, 0xfd,0x85,0x56,0x5a,0xb9,0x57); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("28506e39-ebf6-46a1-bb47-fd85565ab957") +ID2D1DrawingStateBlock : public ID2D1Resource +{ + virtual void STDMETHODCALLTYPE GetDescription( + D2D1_DRAWING_STATE_DESCRIPTION *desc) = 0; + + virtual void STDMETHODCALLTYPE SetDescription( + const D2D1_DRAWING_STATE_DESCRIPTION *desc) = 0; + + virtual void STDMETHODCALLTYPE SetTextRenderingParams( + IDWriteRenderingParams *text_rendering_params) = 0; + + virtual void STDMETHODCALLTYPE GetTextRenderingParams( + IDWriteRenderingParams **text_rendering_params) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1DrawingStateBlock, 0x28506e39, 0xebf6, 0x46a1, 0xbb,0x47, 0xfd,0x85,0x56,0x5a,0xb9,0x57) +#endif +#else +typedef struct ID2D1DrawingStateBlockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1DrawingStateBlock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1DrawingStateBlock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1DrawingStateBlock *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1DrawingStateBlock *This, + ID2D1Factory **factory); + + /*** ID2D1DrawingStateBlock methods ***/ + void (STDMETHODCALLTYPE *GetDescription)( + ID2D1DrawingStateBlock *This, + D2D1_DRAWING_STATE_DESCRIPTION *desc); + + void (STDMETHODCALLTYPE *SetDescription)( + ID2D1DrawingStateBlock *This, + const D2D1_DRAWING_STATE_DESCRIPTION *desc); + + void (STDMETHODCALLTYPE *SetTextRenderingParams)( + ID2D1DrawingStateBlock *This, + IDWriteRenderingParams *text_rendering_params); + + void (STDMETHODCALLTYPE *GetTextRenderingParams)( + ID2D1DrawingStateBlock *This, + IDWriteRenderingParams **text_rendering_params); + + END_INTERFACE +} ID2D1DrawingStateBlockVtbl; + +interface ID2D1DrawingStateBlock { + CONST_VTBL ID2D1DrawingStateBlockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1DrawingStateBlock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1DrawingStateBlock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1DrawingStateBlock_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1DrawingStateBlock_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1DrawingStateBlock methods ***/ +#define ID2D1DrawingStateBlock_GetDescription(This,desc) (This)->lpVtbl->GetDescription(This,desc) +#define ID2D1DrawingStateBlock_SetDescription(This,desc) (This)->lpVtbl->SetDescription(This,desc) +#define ID2D1DrawingStateBlock_SetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->SetTextRenderingParams(This,text_rendering_params) +#define ID2D1DrawingStateBlock_GetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->GetTextRenderingParams(This,text_rendering_params) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1DrawingStateBlock_QueryInterface(ID2D1DrawingStateBlock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1DrawingStateBlock_AddRef(ID2D1DrawingStateBlock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1DrawingStateBlock_Release(ID2D1DrawingStateBlock* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1DrawingStateBlock_GetFactory(ID2D1DrawingStateBlock* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1DrawingStateBlock methods ***/ +static FORCEINLINE void ID2D1DrawingStateBlock_GetDescription(ID2D1DrawingStateBlock* This,D2D1_DRAWING_STATE_DESCRIPTION *desc) { + This->lpVtbl->GetDescription(This,desc); +} +static FORCEINLINE void ID2D1DrawingStateBlock_SetDescription(ID2D1DrawingStateBlock* This,const D2D1_DRAWING_STATE_DESCRIPTION *desc) { + This->lpVtbl->SetDescription(This,desc); +} +static FORCEINLINE void ID2D1DrawingStateBlock_SetTextRenderingParams(ID2D1DrawingStateBlock* This,IDWriteRenderingParams *text_rendering_params) { + This->lpVtbl->SetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1DrawingStateBlock_GetTextRenderingParams(ID2D1DrawingStateBlock* This,IDWriteRenderingParams **text_rendering_params) { + This->lpVtbl->GetTextRenderingParams(This,text_rendering_params); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1DrawingStateBlock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Image interface + */ +#ifndef __ID2D1Image_INTERFACE_DEFINED__ +#define __ID2D1Image_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Image, 0x65019f75, 0x8da2, 0x497c, 0xb3,0x2c, 0xdf,0xa3,0x4e,0x48,0xed,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("65019f75-8da2-497c-b32c-dfa34e48ede6") +ID2D1Image : public ID2D1Resource +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Image, 0x65019f75, 0x8da2, 0x497c, 0xb3,0x2c, 0xdf,0xa3,0x4e,0x48,0xed,0xe6) +#endif +#else +typedef struct ID2D1ImageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Image *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Image *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Image *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Image *This, + ID2D1Factory **factory); + + END_INTERFACE +} ID2D1ImageVtbl; + +interface ID2D1Image { + CONST_VTBL ID2D1ImageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Image_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Image_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Image_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Image_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Image_QueryInterface(ID2D1Image* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Image_AddRef(ID2D1Image* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Image_Release(ID2D1Image* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Image_GetFactory(ID2D1Image* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Image_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Bitmap interface + */ +#ifndef __ID2D1Bitmap_INTERFACE_DEFINED__ +#define __ID2D1Bitmap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Bitmap, 0xa2296057, 0xea42, 0x4099, 0x98,0x3b, 0x53,0x9f,0xb6,0x50,0x54,0x26); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a2296057-ea42-4099-983b-539fb6505426") +ID2D1Bitmap : public ID2D1Image +{ +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_SIZE_F* STDMETHODCALLTYPE GetSize( + D2D1_SIZE_F *__ret) = 0; + D2D1_SIZE_F STDMETHODCALLTYPE GetSize( + ) + { + D2D1_SIZE_F __ret; + return *GetSize(&__ret); + } +#else + virtual D2D1_SIZE_F STDMETHODCALLTYPE GetSize( + ) = 0; +#endif + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_SIZE_U* STDMETHODCALLTYPE GetPixelSize( + D2D1_SIZE_U *__ret) = 0; + D2D1_SIZE_U STDMETHODCALLTYPE GetPixelSize( + ) + { + D2D1_SIZE_U __ret; + return *GetPixelSize(&__ret); + } +#else + virtual D2D1_SIZE_U STDMETHODCALLTYPE GetPixelSize( + ) = 0; +#endif + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_PIXEL_FORMAT* STDMETHODCALLTYPE GetPixelFormat( + D2D1_PIXEL_FORMAT *__ret) = 0; + D2D1_PIXEL_FORMAT STDMETHODCALLTYPE GetPixelFormat( + ) + { + D2D1_PIXEL_FORMAT __ret; + return *GetPixelFormat(&__ret); + } +#else + virtual D2D1_PIXEL_FORMAT STDMETHODCALLTYPE GetPixelFormat( + ) = 0; +#endif + + virtual void STDMETHODCALLTYPE GetDpi( + float *dpi_x, + float *dpi_y) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyFromBitmap( + const D2D1_POINT_2U *dst_point, + ID2D1Bitmap *bitmap, + const D2D1_RECT_U *src_rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyFromRenderTarget( + const D2D1_POINT_2U *dst_point, + ID2D1RenderTarget *render_target, + const D2D1_RECT_U *src_rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyFromMemory( + const D2D1_RECT_U *dst_rect, + const void *src_data, + UINT32 pitch) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Bitmap, 0xa2296057, 0xea42, 0x4099, 0x98,0x3b, 0x53,0x9f,0xb6,0x50,0x54,0x26) +#endif +#else +typedef struct ID2D1BitmapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Bitmap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Bitmap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Bitmap *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Bitmap *This, + ID2D1Factory **factory); + + /*** ID2D1Bitmap methods ***/ + D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( + ID2D1Bitmap *This, + D2D1_SIZE_F *__ret); + + D2D1_SIZE_U * (STDMETHODCALLTYPE *GetPixelSize)( + ID2D1Bitmap *This, + D2D1_SIZE_U *__ret); + + D2D1_PIXEL_FORMAT * (STDMETHODCALLTYPE *GetPixelFormat)( + ID2D1Bitmap *This, + D2D1_PIXEL_FORMAT *__ret); + + void (STDMETHODCALLTYPE *GetDpi)( + ID2D1Bitmap *This, + float *dpi_x, + float *dpi_y); + + HRESULT (STDMETHODCALLTYPE *CopyFromBitmap)( + ID2D1Bitmap *This, + const D2D1_POINT_2U *dst_point, + ID2D1Bitmap *bitmap, + const D2D1_RECT_U *src_rect); + + HRESULT (STDMETHODCALLTYPE *CopyFromRenderTarget)( + ID2D1Bitmap *This, + const D2D1_POINT_2U *dst_point, + ID2D1RenderTarget *render_target, + const D2D1_RECT_U *src_rect); + + HRESULT (STDMETHODCALLTYPE *CopyFromMemory)( + ID2D1Bitmap *This, + const D2D1_RECT_U *dst_rect, + const void *src_data, + UINT32 pitch); + + END_INTERFACE +} ID2D1BitmapVtbl; + +interface ID2D1Bitmap { + CONST_VTBL ID2D1BitmapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Bitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Bitmap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Bitmap_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Bitmap_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Bitmap methods ***/ +#define ID2D1Bitmap_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y) +#define ID2D1Bitmap_CopyFromBitmap(This,dst_point,bitmap,src_rect) (This)->lpVtbl->CopyFromBitmap(This,dst_point,bitmap,src_rect) +#define ID2D1Bitmap_CopyFromRenderTarget(This,dst_point,render_target,src_rect) (This)->lpVtbl->CopyFromRenderTarget(This,dst_point,render_target,src_rect) +#define ID2D1Bitmap_CopyFromMemory(This,dst_rect,src_data,pitch) (This)->lpVtbl->CopyFromMemory(This,dst_rect,src_data,pitch) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Bitmap_QueryInterface(ID2D1Bitmap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Bitmap_AddRef(ID2D1Bitmap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Bitmap_Release(ID2D1Bitmap* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Bitmap_GetFactory(ID2D1Bitmap* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Bitmap methods ***/ +static FORCEINLINE D2D1_SIZE_F ID2D1Bitmap_GetSize(ID2D1Bitmap* This) { + D2D1_SIZE_F __ret; + return *This->lpVtbl->GetSize(This,&__ret); +} +static FORCEINLINE D2D1_SIZE_U ID2D1Bitmap_GetPixelSize(ID2D1Bitmap* This) { + D2D1_SIZE_U __ret; + return *This->lpVtbl->GetPixelSize(This,&__ret); +} +static FORCEINLINE D2D1_PIXEL_FORMAT ID2D1Bitmap_GetPixelFormat(ID2D1Bitmap* This) { + D2D1_PIXEL_FORMAT __ret; + return *This->lpVtbl->GetPixelFormat(This,&__ret); +} +static FORCEINLINE void ID2D1Bitmap_GetDpi(ID2D1Bitmap* This,float *dpi_x,float *dpi_y) { + This->lpVtbl->GetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE HRESULT ID2D1Bitmap_CopyFromBitmap(ID2D1Bitmap* This,const D2D1_POINT_2U *dst_point,ID2D1Bitmap *bitmap,const D2D1_RECT_U *src_rect) { + return This->lpVtbl->CopyFromBitmap(This,dst_point,bitmap,src_rect); +} +static FORCEINLINE HRESULT ID2D1Bitmap_CopyFromRenderTarget(ID2D1Bitmap* This,const D2D1_POINT_2U *dst_point,ID2D1RenderTarget *render_target,const D2D1_RECT_U *src_rect) { + return This->lpVtbl->CopyFromRenderTarget(This,dst_point,render_target,src_rect); +} +static FORCEINLINE HRESULT ID2D1Bitmap_CopyFromMemory(ID2D1Bitmap* This,const D2D1_RECT_U *dst_rect,const void *src_data,UINT32 pitch) { + return This->lpVtbl->CopyFromMemory(This,dst_rect,src_data,pitch); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Bitmap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Brush interface + */ +#ifndef __ID2D1Brush_INTERFACE_DEFINED__ +#define __ID2D1Brush_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Brush, 0x2cd906a8, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a8-12e2-11dc-9fed-001143a055f9") +ID2D1Brush : public ID2D1Resource +{ + virtual void STDMETHODCALLTYPE SetOpacity( + float opacity) = 0; + + virtual void STDMETHODCALLTYPE SetTransform( + const D2D1_MATRIX_3X2_F *transform) = 0; + + virtual float STDMETHODCALLTYPE GetOpacity( + ) = 0; + + virtual void STDMETHODCALLTYPE GetTransform( + D2D1_MATRIX_3X2_F *transform) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Brush, 0x2cd906a8, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1BrushVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Brush *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Brush *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Brush *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Brush *This, + ID2D1Factory **factory); + + /*** ID2D1Brush methods ***/ + void (STDMETHODCALLTYPE *SetOpacity)( + ID2D1Brush *This, + float opacity); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1Brush *This, + const D2D1_MATRIX_3X2_F *transform); + + float (STDMETHODCALLTYPE *GetOpacity)( + ID2D1Brush *This); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1Brush *This, + D2D1_MATRIX_3X2_F *transform); + + END_INTERFACE +} ID2D1BrushVtbl; + +interface ID2D1Brush { + CONST_VTBL ID2D1BrushVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Brush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Brush_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Brush_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Brush_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Brush methods ***/ +#define ID2D1Brush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity) +#define ID2D1Brush_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1Brush_GetOpacity(This) (This)->lpVtbl->GetOpacity(This) +#define ID2D1Brush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Brush_QueryInterface(ID2D1Brush* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Brush_AddRef(ID2D1Brush* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Brush_Release(ID2D1Brush* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Brush_GetFactory(ID2D1Brush* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Brush methods ***/ +static FORCEINLINE void ID2D1Brush_SetOpacity(ID2D1Brush* This,float opacity) { + This->lpVtbl->SetOpacity(This,opacity); +} +static FORCEINLINE void ID2D1Brush_SetTransform(ID2D1Brush* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE float ID2D1Brush_GetOpacity(ID2D1Brush* This) { + return This->lpVtbl->GetOpacity(This); +} +static FORCEINLINE void ID2D1Brush_GetTransform(ID2D1Brush* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Brush_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1BitmapBrush interface + */ +#ifndef __ID2D1BitmapBrush_INTERFACE_DEFINED__ +#define __ID2D1BitmapBrush_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1BitmapBrush, 0x2cd906aa, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906aa-12e2-11dc-9fed-001143a055f9") +ID2D1BitmapBrush : public ID2D1Brush +{ + virtual void STDMETHODCALLTYPE SetExtendModeX( + D2D1_EXTEND_MODE mode) = 0; + + virtual void STDMETHODCALLTYPE SetExtendModeY( + D2D1_EXTEND_MODE mode) = 0; + + virtual void STDMETHODCALLTYPE SetInterpolationMode( + D2D1_BITMAP_INTERPOLATION_MODE mode) = 0; + + virtual void STDMETHODCALLTYPE SetBitmap( + ID2D1Bitmap *bitmap) = 0; + + virtual D2D1_EXTEND_MODE STDMETHODCALLTYPE GetExtendModeX( + ) = 0; + + virtual D2D1_EXTEND_MODE STDMETHODCALLTYPE GetExtendModeY( + ) = 0; + + virtual D2D1_BITMAP_INTERPOLATION_MODE STDMETHODCALLTYPE GetInterpolationMode( + ) = 0; + + virtual void STDMETHODCALLTYPE GetBitmap( + ID2D1Bitmap **bitmap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1BitmapBrush, 0x2cd906aa, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1BitmapBrushVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1BitmapBrush *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1BitmapBrush *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1BitmapBrush *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1BitmapBrush *This, + ID2D1Factory **factory); + + /*** ID2D1Brush methods ***/ + void (STDMETHODCALLTYPE *SetOpacity)( + ID2D1BitmapBrush *This, + float opacity); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1BitmapBrush *This, + const D2D1_MATRIX_3X2_F *transform); + + float (STDMETHODCALLTYPE *GetOpacity)( + ID2D1BitmapBrush *This); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1BitmapBrush *This, + D2D1_MATRIX_3X2_F *transform); + + /*** ID2D1BitmapBrush methods ***/ + void (STDMETHODCALLTYPE *SetExtendModeX)( + ID2D1BitmapBrush *This, + D2D1_EXTEND_MODE mode); + + void (STDMETHODCALLTYPE *SetExtendModeY)( + ID2D1BitmapBrush *This, + D2D1_EXTEND_MODE mode); + + void (STDMETHODCALLTYPE *SetInterpolationMode)( + ID2D1BitmapBrush *This, + D2D1_BITMAP_INTERPOLATION_MODE mode); + + void (STDMETHODCALLTYPE *SetBitmap)( + ID2D1BitmapBrush *This, + ID2D1Bitmap *bitmap); + + D2D1_EXTEND_MODE (STDMETHODCALLTYPE *GetExtendModeX)( + ID2D1BitmapBrush *This); + + D2D1_EXTEND_MODE (STDMETHODCALLTYPE *GetExtendModeY)( + ID2D1BitmapBrush *This); + + D2D1_BITMAP_INTERPOLATION_MODE (STDMETHODCALLTYPE *GetInterpolationMode)( + ID2D1BitmapBrush *This); + + void (STDMETHODCALLTYPE *GetBitmap)( + ID2D1BitmapBrush *This, + ID2D1Bitmap **bitmap); + + END_INTERFACE +} ID2D1BitmapBrushVtbl; + +interface ID2D1BitmapBrush { + CONST_VTBL ID2D1BitmapBrushVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1BitmapBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1BitmapBrush_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1BitmapBrush_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1BitmapBrush_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Brush methods ***/ +#define ID2D1BitmapBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity) +#define ID2D1BitmapBrush_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1BitmapBrush_GetOpacity(This) (This)->lpVtbl->GetOpacity(This) +#define ID2D1BitmapBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +/*** ID2D1BitmapBrush methods ***/ +#define ID2D1BitmapBrush_SetExtendModeX(This,mode) (This)->lpVtbl->SetExtendModeX(This,mode) +#define ID2D1BitmapBrush_SetExtendModeY(This,mode) (This)->lpVtbl->SetExtendModeY(This,mode) +#define ID2D1BitmapBrush_SetInterpolationMode(This,mode) (This)->lpVtbl->SetInterpolationMode(This,mode) +#define ID2D1BitmapBrush_SetBitmap(This,bitmap) (This)->lpVtbl->SetBitmap(This,bitmap) +#define ID2D1BitmapBrush_GetExtendModeX(This) (This)->lpVtbl->GetExtendModeX(This) +#define ID2D1BitmapBrush_GetExtendModeY(This) (This)->lpVtbl->GetExtendModeY(This) +#define ID2D1BitmapBrush_GetInterpolationMode(This) (This)->lpVtbl->GetInterpolationMode(This) +#define ID2D1BitmapBrush_GetBitmap(This,bitmap) (This)->lpVtbl->GetBitmap(This,bitmap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1BitmapBrush_QueryInterface(ID2D1BitmapBrush* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1BitmapBrush_AddRef(ID2D1BitmapBrush* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1BitmapBrush_Release(ID2D1BitmapBrush* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1BitmapBrush_GetFactory(ID2D1BitmapBrush* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Brush methods ***/ +static FORCEINLINE void ID2D1BitmapBrush_SetOpacity(ID2D1BitmapBrush* This,float opacity) { + This->lpVtbl->SetOpacity(This,opacity); +} +static FORCEINLINE void ID2D1BitmapBrush_SetTransform(ID2D1BitmapBrush* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE float ID2D1BitmapBrush_GetOpacity(ID2D1BitmapBrush* This) { + return This->lpVtbl->GetOpacity(This); +} +static FORCEINLINE void ID2D1BitmapBrush_GetTransform(ID2D1BitmapBrush* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +/*** ID2D1BitmapBrush methods ***/ +static FORCEINLINE void ID2D1BitmapBrush_SetExtendModeX(ID2D1BitmapBrush* This,D2D1_EXTEND_MODE mode) { + This->lpVtbl->SetExtendModeX(This,mode); +} +static FORCEINLINE void ID2D1BitmapBrush_SetExtendModeY(ID2D1BitmapBrush* This,D2D1_EXTEND_MODE mode) { + This->lpVtbl->SetExtendModeY(This,mode); +} +static FORCEINLINE void ID2D1BitmapBrush_SetInterpolationMode(ID2D1BitmapBrush* This,D2D1_BITMAP_INTERPOLATION_MODE mode) { + This->lpVtbl->SetInterpolationMode(This,mode); +} +static FORCEINLINE void ID2D1BitmapBrush_SetBitmap(ID2D1BitmapBrush* This,ID2D1Bitmap *bitmap) { + This->lpVtbl->SetBitmap(This,bitmap); +} +static FORCEINLINE D2D1_EXTEND_MODE ID2D1BitmapBrush_GetExtendModeX(ID2D1BitmapBrush* This) { + return This->lpVtbl->GetExtendModeX(This); +} +static FORCEINLINE D2D1_EXTEND_MODE ID2D1BitmapBrush_GetExtendModeY(ID2D1BitmapBrush* This) { + return This->lpVtbl->GetExtendModeY(This); +} +static FORCEINLINE D2D1_BITMAP_INTERPOLATION_MODE ID2D1BitmapBrush_GetInterpolationMode(ID2D1BitmapBrush* This) { + return This->lpVtbl->GetInterpolationMode(This); +} +static FORCEINLINE void ID2D1BitmapBrush_GetBitmap(ID2D1BitmapBrush* This,ID2D1Bitmap **bitmap) { + This->lpVtbl->GetBitmap(This,bitmap); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1BitmapBrush_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1SolidColorBrush interface + */ +#ifndef __ID2D1SolidColorBrush_INTERFACE_DEFINED__ +#define __ID2D1SolidColorBrush_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1SolidColorBrush, 0x2cd906a9, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a9-12e2-11dc-9fed-001143a055f9") +ID2D1SolidColorBrush : public ID2D1Brush +{ + virtual void STDMETHODCALLTYPE SetColor( + const D2D1_COLOR_F *color) = 0; + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_COLOR_F* STDMETHODCALLTYPE GetColor( + D2D1_COLOR_F *__ret) = 0; + D2D1_COLOR_F STDMETHODCALLTYPE GetColor( + ) + { + D2D1_COLOR_F __ret; + return *GetColor(&__ret); + } +#else + virtual D2D1_COLOR_F STDMETHODCALLTYPE GetColor( + ) = 0; +#endif + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1SolidColorBrush, 0x2cd906a9, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1SolidColorBrushVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1SolidColorBrush *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1SolidColorBrush *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1SolidColorBrush *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1SolidColorBrush *This, + ID2D1Factory **factory); + + /*** ID2D1Brush methods ***/ + void (STDMETHODCALLTYPE *SetOpacity)( + ID2D1SolidColorBrush *This, + float opacity); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1SolidColorBrush *This, + const D2D1_MATRIX_3X2_F *transform); + + float (STDMETHODCALLTYPE *GetOpacity)( + ID2D1SolidColorBrush *This); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1SolidColorBrush *This, + D2D1_MATRIX_3X2_F *transform); + + /*** ID2D1SolidColorBrush methods ***/ + void (STDMETHODCALLTYPE *SetColor)( + ID2D1SolidColorBrush *This, + const D2D1_COLOR_F *color); + + D2D1_COLOR_F * (STDMETHODCALLTYPE *GetColor)( + ID2D1SolidColorBrush *This, + D2D1_COLOR_F *__ret); + + END_INTERFACE +} ID2D1SolidColorBrushVtbl; + +interface ID2D1SolidColorBrush { + CONST_VTBL ID2D1SolidColorBrushVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1SolidColorBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1SolidColorBrush_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1SolidColorBrush_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1SolidColorBrush_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Brush methods ***/ +#define ID2D1SolidColorBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity) +#define ID2D1SolidColorBrush_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1SolidColorBrush_GetOpacity(This) (This)->lpVtbl->GetOpacity(This) +#define ID2D1SolidColorBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +/*** ID2D1SolidColorBrush methods ***/ +#define ID2D1SolidColorBrush_SetColor(This,color) (This)->lpVtbl->SetColor(This,color) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1SolidColorBrush_QueryInterface(ID2D1SolidColorBrush* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1SolidColorBrush_AddRef(ID2D1SolidColorBrush* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1SolidColorBrush_Release(ID2D1SolidColorBrush* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1SolidColorBrush_GetFactory(ID2D1SolidColorBrush* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Brush methods ***/ +static FORCEINLINE void ID2D1SolidColorBrush_SetOpacity(ID2D1SolidColorBrush* This,float opacity) { + This->lpVtbl->SetOpacity(This,opacity); +} +static FORCEINLINE void ID2D1SolidColorBrush_SetTransform(ID2D1SolidColorBrush* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE float ID2D1SolidColorBrush_GetOpacity(ID2D1SolidColorBrush* This) { + return This->lpVtbl->GetOpacity(This); +} +static FORCEINLINE void ID2D1SolidColorBrush_GetTransform(ID2D1SolidColorBrush* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +/*** ID2D1SolidColorBrush methods ***/ +static FORCEINLINE void ID2D1SolidColorBrush_SetColor(ID2D1SolidColorBrush* This,const D2D1_COLOR_F *color) { + This->lpVtbl->SetColor(This,color); +} +static FORCEINLINE D2D1_COLOR_F ID2D1SolidColorBrush_GetColor(ID2D1SolidColorBrush* This) { + D2D1_COLOR_F __ret; + return *This->lpVtbl->GetColor(This,&__ret); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1SolidColorBrush_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1GradientStopCollection interface + */ +#ifndef __ID2D1GradientStopCollection_INTERFACE_DEFINED__ +#define __ID2D1GradientStopCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1GradientStopCollection, 0x2cd906a7, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906a7-12e2-11dc-9fed-001143a055f9") +ID2D1GradientStopCollection : public ID2D1Resource +{ + virtual UINT32 STDMETHODCALLTYPE GetGradientStopCount( + ) = 0; + + virtual void STDMETHODCALLTYPE GetGradientStops( + D2D1_GRADIENT_STOP *stops, + UINT32 stop_count) = 0; + + virtual D2D1_GAMMA STDMETHODCALLTYPE GetColorInterpolationGamma( + ) = 0; + + virtual D2D1_EXTEND_MODE STDMETHODCALLTYPE GetExtendMode( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1GradientStopCollection, 0x2cd906a7, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1GradientStopCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1GradientStopCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1GradientStopCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1GradientStopCollection *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1GradientStopCollection *This, + ID2D1Factory **factory); + + /*** ID2D1GradientStopCollection methods ***/ + UINT32 (STDMETHODCALLTYPE *GetGradientStopCount)( + ID2D1GradientStopCollection *This); + + void (STDMETHODCALLTYPE *GetGradientStops)( + ID2D1GradientStopCollection *This, + D2D1_GRADIENT_STOP *stops, + UINT32 stop_count); + + D2D1_GAMMA (STDMETHODCALLTYPE *GetColorInterpolationGamma)( + ID2D1GradientStopCollection *This); + + D2D1_EXTEND_MODE (STDMETHODCALLTYPE *GetExtendMode)( + ID2D1GradientStopCollection *This); + + END_INTERFACE +} ID2D1GradientStopCollectionVtbl; + +interface ID2D1GradientStopCollection { + CONST_VTBL ID2D1GradientStopCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1GradientStopCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1GradientStopCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1GradientStopCollection_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1GradientStopCollection_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1GradientStopCollection methods ***/ +#define ID2D1GradientStopCollection_GetGradientStopCount(This) (This)->lpVtbl->GetGradientStopCount(This) +#define ID2D1GradientStopCollection_GetGradientStops(This,stops,stop_count) (This)->lpVtbl->GetGradientStops(This,stops,stop_count) +#define ID2D1GradientStopCollection_GetColorInterpolationGamma(This) (This)->lpVtbl->GetColorInterpolationGamma(This) +#define ID2D1GradientStopCollection_GetExtendMode(This) (This)->lpVtbl->GetExtendMode(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1GradientStopCollection_QueryInterface(ID2D1GradientStopCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1GradientStopCollection_AddRef(ID2D1GradientStopCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1GradientStopCollection_Release(ID2D1GradientStopCollection* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1GradientStopCollection_GetFactory(ID2D1GradientStopCollection* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1GradientStopCollection methods ***/ +static FORCEINLINE UINT32 ID2D1GradientStopCollection_GetGradientStopCount(ID2D1GradientStopCollection* This) { + return This->lpVtbl->GetGradientStopCount(This); +} +static FORCEINLINE void ID2D1GradientStopCollection_GetGradientStops(ID2D1GradientStopCollection* This,D2D1_GRADIENT_STOP *stops,UINT32 stop_count) { + This->lpVtbl->GetGradientStops(This,stops,stop_count); +} +static FORCEINLINE D2D1_GAMMA ID2D1GradientStopCollection_GetColorInterpolationGamma(ID2D1GradientStopCollection* This) { + return This->lpVtbl->GetColorInterpolationGamma(This); +} +static FORCEINLINE D2D1_EXTEND_MODE ID2D1GradientStopCollection_GetExtendMode(ID2D1GradientStopCollection* This) { + return This->lpVtbl->GetExtendMode(This); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1GradientStopCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1LinearGradientBrush interface + */ +#ifndef __ID2D1LinearGradientBrush_INTERFACE_DEFINED__ +#define __ID2D1LinearGradientBrush_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1LinearGradientBrush, 0x2cd906ab, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906ab-12e2-11dc-9fed-001143a055f9") +ID2D1LinearGradientBrush : public ID2D1Brush +{ + virtual void STDMETHODCALLTYPE SetStartPoint( + D2D1_POINT_2F start_point) = 0; + + virtual void STDMETHODCALLTYPE SetEndPoint( + D2D1_POINT_2F end_point) = 0; + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_POINT_2F* STDMETHODCALLTYPE GetStartPoint( + D2D1_POINT_2F *__ret) = 0; + D2D1_POINT_2F STDMETHODCALLTYPE GetStartPoint( + ) + { + D2D1_POINT_2F __ret; + return *GetStartPoint(&__ret); + } +#else + virtual D2D1_POINT_2F STDMETHODCALLTYPE GetStartPoint( + ) = 0; +#endif + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_POINT_2F* STDMETHODCALLTYPE GetEndPoint( + D2D1_POINT_2F *__ret) = 0; + D2D1_POINT_2F STDMETHODCALLTYPE GetEndPoint( + ) + { + D2D1_POINT_2F __ret; + return *GetEndPoint(&__ret); + } +#else + virtual D2D1_POINT_2F STDMETHODCALLTYPE GetEndPoint( + ) = 0; +#endif + + virtual void STDMETHODCALLTYPE GetGradientStopCollection( + ID2D1GradientStopCollection **gradient) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1LinearGradientBrush, 0x2cd906ab, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1LinearGradientBrushVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1LinearGradientBrush *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1LinearGradientBrush *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1LinearGradientBrush *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1LinearGradientBrush *This, + ID2D1Factory **factory); + + /*** ID2D1Brush methods ***/ + void (STDMETHODCALLTYPE *SetOpacity)( + ID2D1LinearGradientBrush *This, + float opacity); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1LinearGradientBrush *This, + const D2D1_MATRIX_3X2_F *transform); + + float (STDMETHODCALLTYPE *GetOpacity)( + ID2D1LinearGradientBrush *This); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1LinearGradientBrush *This, + D2D1_MATRIX_3X2_F *transform); + + /*** ID2D1LinearGradientBrush methods ***/ + void (STDMETHODCALLTYPE *SetStartPoint)( + ID2D1LinearGradientBrush *This, + D2D1_POINT_2F start_point); + + void (STDMETHODCALLTYPE *SetEndPoint)( + ID2D1LinearGradientBrush *This, + D2D1_POINT_2F end_point); + + D2D1_POINT_2F * (STDMETHODCALLTYPE *GetStartPoint)( + ID2D1LinearGradientBrush *This, + D2D1_POINT_2F *__ret); + + D2D1_POINT_2F * (STDMETHODCALLTYPE *GetEndPoint)( + ID2D1LinearGradientBrush *This, + D2D1_POINT_2F *__ret); + + void (STDMETHODCALLTYPE *GetGradientStopCollection)( + ID2D1LinearGradientBrush *This, + ID2D1GradientStopCollection **gradient); + + END_INTERFACE +} ID2D1LinearGradientBrushVtbl; + +interface ID2D1LinearGradientBrush { + CONST_VTBL ID2D1LinearGradientBrushVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1LinearGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1LinearGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1LinearGradientBrush_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1LinearGradientBrush_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Brush methods ***/ +#define ID2D1LinearGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity) +#define ID2D1LinearGradientBrush_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1LinearGradientBrush_GetOpacity(This) (This)->lpVtbl->GetOpacity(This) +#define ID2D1LinearGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +/*** ID2D1LinearGradientBrush methods ***/ +#define ID2D1LinearGradientBrush_SetStartPoint(This,start_point) (This)->lpVtbl->SetStartPoint(This,start_point) +#define ID2D1LinearGradientBrush_SetEndPoint(This,end_point) (This)->lpVtbl->SetEndPoint(This,end_point) +#define ID2D1LinearGradientBrush_GetGradientStopCollection(This,gradient) (This)->lpVtbl->GetGradientStopCollection(This,gradient) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1LinearGradientBrush_QueryInterface(ID2D1LinearGradientBrush* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1LinearGradientBrush_AddRef(ID2D1LinearGradientBrush* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1LinearGradientBrush_Release(ID2D1LinearGradientBrush* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1LinearGradientBrush_GetFactory(ID2D1LinearGradientBrush* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Brush methods ***/ +static FORCEINLINE void ID2D1LinearGradientBrush_SetOpacity(ID2D1LinearGradientBrush* This,float opacity) { + This->lpVtbl->SetOpacity(This,opacity); +} +static FORCEINLINE void ID2D1LinearGradientBrush_SetTransform(ID2D1LinearGradientBrush* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE float ID2D1LinearGradientBrush_GetOpacity(ID2D1LinearGradientBrush* This) { + return This->lpVtbl->GetOpacity(This); +} +static FORCEINLINE void ID2D1LinearGradientBrush_GetTransform(ID2D1LinearGradientBrush* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +/*** ID2D1LinearGradientBrush methods ***/ +static FORCEINLINE void ID2D1LinearGradientBrush_SetStartPoint(ID2D1LinearGradientBrush* This,D2D1_POINT_2F start_point) { + This->lpVtbl->SetStartPoint(This,start_point); +} +static FORCEINLINE void ID2D1LinearGradientBrush_SetEndPoint(ID2D1LinearGradientBrush* This,D2D1_POINT_2F end_point) { + This->lpVtbl->SetEndPoint(This,end_point); +} +static FORCEINLINE D2D1_POINT_2F ID2D1LinearGradientBrush_GetStartPoint(ID2D1LinearGradientBrush* This) { + D2D1_POINT_2F __ret; + return *This->lpVtbl->GetStartPoint(This,&__ret); +} +static FORCEINLINE D2D1_POINT_2F ID2D1LinearGradientBrush_GetEndPoint(ID2D1LinearGradientBrush* This) { + D2D1_POINT_2F __ret; + return *This->lpVtbl->GetEndPoint(This,&__ret); +} +static FORCEINLINE void ID2D1LinearGradientBrush_GetGradientStopCollection(ID2D1LinearGradientBrush* This,ID2D1GradientStopCollection **gradient) { + This->lpVtbl->GetGradientStopCollection(This,gradient); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1LinearGradientBrush_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1RadialGradientBrush interface + */ +#ifndef __ID2D1RadialGradientBrush_INTERFACE_DEFINED__ +#define __ID2D1RadialGradientBrush_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1RadialGradientBrush, 0x2cd906ac, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906ac-12e2-11dc-9fed-001143a055f9") +ID2D1RadialGradientBrush : public ID2D1Brush +{ + virtual void STDMETHODCALLTYPE SetCenter( + D2D1_POINT_2F center) = 0; + + virtual void STDMETHODCALLTYPE SetGradientOriginOffset( + D2D1_POINT_2F offset) = 0; + + virtual void STDMETHODCALLTYPE SetRadiusX( + float radius) = 0; + + virtual void STDMETHODCALLTYPE SetRadiusY( + float radius) = 0; + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_POINT_2F* STDMETHODCALLTYPE GetCenter( + D2D1_POINT_2F *__ret) = 0; + D2D1_POINT_2F STDMETHODCALLTYPE GetCenter( + ) + { + D2D1_POINT_2F __ret; + return *GetCenter(&__ret); + } +#else + virtual D2D1_POINT_2F STDMETHODCALLTYPE GetCenter( + ) = 0; +#endif + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_POINT_2F* STDMETHODCALLTYPE GetGradientOriginOffset( + D2D1_POINT_2F *__ret) = 0; + D2D1_POINT_2F STDMETHODCALLTYPE GetGradientOriginOffset( + ) + { + D2D1_POINT_2F __ret; + return *GetGradientOriginOffset(&__ret); + } +#else + virtual D2D1_POINT_2F STDMETHODCALLTYPE GetGradientOriginOffset( + ) = 0; +#endif + + virtual float STDMETHODCALLTYPE GetRadiusX( + ) = 0; + + virtual float STDMETHODCALLTYPE GetRadiusY( + ) = 0; + + virtual void STDMETHODCALLTYPE GetGradientStopCollection( + ID2D1GradientStopCollection **gradient) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1RadialGradientBrush, 0x2cd906ac, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1RadialGradientBrushVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1RadialGradientBrush *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1RadialGradientBrush *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1RadialGradientBrush *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1RadialGradientBrush *This, + ID2D1Factory **factory); + + /*** ID2D1Brush methods ***/ + void (STDMETHODCALLTYPE *SetOpacity)( + ID2D1RadialGradientBrush *This, + float opacity); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1RadialGradientBrush *This, + const D2D1_MATRIX_3X2_F *transform); + + float (STDMETHODCALLTYPE *GetOpacity)( + ID2D1RadialGradientBrush *This); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1RadialGradientBrush *This, + D2D1_MATRIX_3X2_F *transform); + + /*** ID2D1RadialGradientBrush methods ***/ + void (STDMETHODCALLTYPE *SetCenter)( + ID2D1RadialGradientBrush *This, + D2D1_POINT_2F center); + + void (STDMETHODCALLTYPE *SetGradientOriginOffset)( + ID2D1RadialGradientBrush *This, + D2D1_POINT_2F offset); + + void (STDMETHODCALLTYPE *SetRadiusX)( + ID2D1RadialGradientBrush *This, + float radius); + + void (STDMETHODCALLTYPE *SetRadiusY)( + ID2D1RadialGradientBrush *This, + float radius); + + D2D1_POINT_2F * (STDMETHODCALLTYPE *GetCenter)( + ID2D1RadialGradientBrush *This, + D2D1_POINT_2F *__ret); + + D2D1_POINT_2F * (STDMETHODCALLTYPE *GetGradientOriginOffset)( + ID2D1RadialGradientBrush *This, + D2D1_POINT_2F *__ret); + + float (STDMETHODCALLTYPE *GetRadiusX)( + ID2D1RadialGradientBrush *This); + + float (STDMETHODCALLTYPE *GetRadiusY)( + ID2D1RadialGradientBrush *This); + + void (STDMETHODCALLTYPE *GetGradientStopCollection)( + ID2D1RadialGradientBrush *This, + ID2D1GradientStopCollection **gradient); + + END_INTERFACE +} ID2D1RadialGradientBrushVtbl; + +interface ID2D1RadialGradientBrush { + CONST_VTBL ID2D1RadialGradientBrushVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1RadialGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1RadialGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1RadialGradientBrush_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1RadialGradientBrush_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Brush methods ***/ +#define ID2D1RadialGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity) +#define ID2D1RadialGradientBrush_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1RadialGradientBrush_GetOpacity(This) (This)->lpVtbl->GetOpacity(This) +#define ID2D1RadialGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +/*** ID2D1RadialGradientBrush methods ***/ +#define ID2D1RadialGradientBrush_SetCenter(This,center) (This)->lpVtbl->SetCenter(This,center) +#define ID2D1RadialGradientBrush_SetGradientOriginOffset(This,offset) (This)->lpVtbl->SetGradientOriginOffset(This,offset) +#define ID2D1RadialGradientBrush_SetRadiusX(This,radius) (This)->lpVtbl->SetRadiusX(This,radius) +#define ID2D1RadialGradientBrush_SetRadiusY(This,radius) (This)->lpVtbl->SetRadiusY(This,radius) +#define ID2D1RadialGradientBrush_GetRadiusX(This) (This)->lpVtbl->GetRadiusX(This) +#define ID2D1RadialGradientBrush_GetRadiusY(This) (This)->lpVtbl->GetRadiusY(This) +#define ID2D1RadialGradientBrush_GetGradientStopCollection(This,gradient) (This)->lpVtbl->GetGradientStopCollection(This,gradient) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1RadialGradientBrush_QueryInterface(ID2D1RadialGradientBrush* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1RadialGradientBrush_AddRef(ID2D1RadialGradientBrush* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1RadialGradientBrush_Release(ID2D1RadialGradientBrush* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1RadialGradientBrush_GetFactory(ID2D1RadialGradientBrush* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Brush methods ***/ +static FORCEINLINE void ID2D1RadialGradientBrush_SetOpacity(ID2D1RadialGradientBrush* This,float opacity) { + This->lpVtbl->SetOpacity(This,opacity); +} +static FORCEINLINE void ID2D1RadialGradientBrush_SetTransform(ID2D1RadialGradientBrush* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE float ID2D1RadialGradientBrush_GetOpacity(ID2D1RadialGradientBrush* This) { + return This->lpVtbl->GetOpacity(This); +} +static FORCEINLINE void ID2D1RadialGradientBrush_GetTransform(ID2D1RadialGradientBrush* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +/*** ID2D1RadialGradientBrush methods ***/ +static FORCEINLINE void ID2D1RadialGradientBrush_SetCenter(ID2D1RadialGradientBrush* This,D2D1_POINT_2F center) { + This->lpVtbl->SetCenter(This,center); +} +static FORCEINLINE void ID2D1RadialGradientBrush_SetGradientOriginOffset(ID2D1RadialGradientBrush* This,D2D1_POINT_2F offset) { + This->lpVtbl->SetGradientOriginOffset(This,offset); +} +static FORCEINLINE void ID2D1RadialGradientBrush_SetRadiusX(ID2D1RadialGradientBrush* This,float radius) { + This->lpVtbl->SetRadiusX(This,radius); +} +static FORCEINLINE void ID2D1RadialGradientBrush_SetRadiusY(ID2D1RadialGradientBrush* This,float radius) { + This->lpVtbl->SetRadiusY(This,radius); +} +static FORCEINLINE D2D1_POINT_2F ID2D1RadialGradientBrush_GetCenter(ID2D1RadialGradientBrush* This) { + D2D1_POINT_2F __ret; + return *This->lpVtbl->GetCenter(This,&__ret); +} +static FORCEINLINE D2D1_POINT_2F ID2D1RadialGradientBrush_GetGradientOriginOffset(ID2D1RadialGradientBrush* This) { + D2D1_POINT_2F __ret; + return *This->lpVtbl->GetGradientOriginOffset(This,&__ret); +} +static FORCEINLINE float ID2D1RadialGradientBrush_GetRadiusX(ID2D1RadialGradientBrush* This) { + return This->lpVtbl->GetRadiusX(This); +} +static FORCEINLINE float ID2D1RadialGradientBrush_GetRadiusY(ID2D1RadialGradientBrush* This) { + return This->lpVtbl->GetRadiusY(This); +} +static FORCEINLINE void ID2D1RadialGradientBrush_GetGradientStopCollection(ID2D1RadialGradientBrush* This,ID2D1GradientStopCollection **gradient) { + This->lpVtbl->GetGradientStopCollection(This,gradient); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1RadialGradientBrush_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Layer interface + */ +#ifndef __ID2D1Layer_INTERFACE_DEFINED__ +#define __ID2D1Layer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Layer, 0x2cd9069b, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd9069b-12e2-11dc-9fed-001143a055f9") +ID2D1Layer : public ID2D1Resource +{ +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_SIZE_F* STDMETHODCALLTYPE GetSize( + D2D1_SIZE_F *__ret) = 0; + D2D1_SIZE_F STDMETHODCALLTYPE GetSize( + ) + { + D2D1_SIZE_F __ret; + return *GetSize(&__ret); + } +#else + virtual D2D1_SIZE_F STDMETHODCALLTYPE GetSize( + ) = 0; +#endif + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Layer, 0x2cd9069b, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1LayerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Layer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Layer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Layer *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Layer *This, + ID2D1Factory **factory); + + /*** ID2D1Layer methods ***/ + D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( + ID2D1Layer *This, + D2D1_SIZE_F *__ret); + + END_INTERFACE +} ID2D1LayerVtbl; + +interface ID2D1Layer { + CONST_VTBL ID2D1LayerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Layer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Layer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Layer_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Layer_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Layer methods ***/ +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Layer_QueryInterface(ID2D1Layer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Layer_AddRef(ID2D1Layer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Layer_Release(ID2D1Layer* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Layer_GetFactory(ID2D1Layer* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Layer methods ***/ +static FORCEINLINE D2D1_SIZE_F ID2D1Layer_GetSize(ID2D1Layer* This) { + D2D1_SIZE_F __ret; + return *This->lpVtbl->GetSize(This,&__ret); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Layer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Mesh interface + */ +#ifndef __ID2D1Mesh_INTERFACE_DEFINED__ +#define __ID2D1Mesh_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Mesh, 0x2cd906c2, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd906c2-12e2-11dc-9fed-001143a055f9") +ID2D1Mesh : public ID2D1Resource +{ + virtual HRESULT STDMETHODCALLTYPE Open( + ID2D1TessellationSink **sink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Mesh, 0x2cd906c2, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1MeshVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Mesh *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Mesh *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Mesh *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1Mesh *This, + ID2D1Factory **factory); + + /*** ID2D1Mesh methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + ID2D1Mesh *This, + ID2D1TessellationSink **sink); + + END_INTERFACE +} ID2D1MeshVtbl; + +interface ID2D1Mesh { + CONST_VTBL ID2D1MeshVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Mesh_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Mesh_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Mesh_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1Mesh_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1Mesh methods ***/ +#define ID2D1Mesh_Open(This,sink) (This)->lpVtbl->Open(This,sink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Mesh_QueryInterface(ID2D1Mesh* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Mesh_AddRef(ID2D1Mesh* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Mesh_Release(ID2D1Mesh* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1Mesh_GetFactory(ID2D1Mesh* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1Mesh methods ***/ +static FORCEINLINE HRESULT ID2D1Mesh_Open(ID2D1Mesh* This,ID2D1TessellationSink **sink) { + return This->lpVtbl->Open(This,sink); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Mesh_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1RenderTarget interface + */ +#ifndef __ID2D1RenderTarget_INTERFACE_DEFINED__ +#define __ID2D1RenderTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1RenderTarget, 0x2cd90694, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd90694-12e2-11dc-9fed-001143a055f9") +ID2D1RenderTarget : public ID2D1Resource +{ + virtual HRESULT STDMETHODCALLTYPE CreateBitmap( + D2D1_SIZE_U size, + const void *src_data, + UINT32 pitch, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFromWicBitmap( + IWICBitmapSource *bitmap_source, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSharedBitmap( + REFIID iid, + void *data, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapBrush( + ID2D1Bitmap *bitmap, + const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1BitmapBrush **brush) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSolidColorBrush( + const D2D1_COLOR_F *color, + const D2D1_BRUSH_PROPERTIES *desc, + ID2D1SolidColorBrush **brush) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGradientStopCollection( + const D2D1_GRADIENT_STOP *stops, + UINT32 stop_count, + D2D1_GAMMA gamma, + D2D1_EXTEND_MODE extend_mode, + ID2D1GradientStopCollection **gradient) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateLinearGradientBrush( + const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1LinearGradientBrush **brush) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRadialGradientBrush( + const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1RadialGradientBrush **brush) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCompatibleRenderTarget( + const D2D1_SIZE_F *size, + const D2D1_SIZE_U *pixel_size, + const D2D1_PIXEL_FORMAT *format, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, + ID2D1BitmapRenderTarget **render_target) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateLayer( + const D2D1_SIZE_F *size, + ID2D1Layer **layer) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMesh( + ID2D1Mesh **mesh) = 0; + + virtual void STDMETHODCALLTYPE DrawLine( + D2D1_POINT_2F p0, + D2D1_POINT_2F p1, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style) = 0; + + virtual void STDMETHODCALLTYPE DrawRectangle( + const D2D1_RECT_F *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style) = 0; + + virtual void STDMETHODCALLTYPE FillRectangle( + const D2D1_RECT_F *rect, + ID2D1Brush *brush) = 0; + + virtual void STDMETHODCALLTYPE DrawRoundedRectangle( + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style) = 0; + + virtual void STDMETHODCALLTYPE FillRoundedRectangle( + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush) = 0; + + virtual void STDMETHODCALLTYPE DrawEllipse( + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style) = 0; + + virtual void STDMETHODCALLTYPE FillEllipse( + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush) = 0; + + virtual void STDMETHODCALLTYPE DrawGeometry( + ID2D1Geometry *geometry, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style) = 0; + + virtual void STDMETHODCALLTYPE FillGeometry( + ID2D1Geometry *geometry, + ID2D1Brush *brush, + ID2D1Brush *opacity_brush) = 0; + + virtual void STDMETHODCALLTYPE FillMesh( + ID2D1Mesh *mesh, + ID2D1Brush *brush) = 0; + + virtual void STDMETHODCALLTYPE FillOpacityMask( + ID2D1Bitmap *mask, + ID2D1Brush *brush, + D2D1_OPACITY_MASK_CONTENT content, + const D2D1_RECT_F *dst_rect, + const D2D1_RECT_F *src_rect) = 0; + + virtual void STDMETHODCALLTYPE DrawBitmap( + ID2D1Bitmap *bitmap, + const D2D1_RECT_F *dst_rect, + float opacity, + D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode, + const D2D1_RECT_F *src_rect) = 0; + + virtual void STDMETHODCALLTYPE DrawText( + const WCHAR *string, + UINT32 string_len, + IDWriteTextFormat *text_format, + const D2D1_RECT_F *layout_rect, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options, + DWRITE_MEASURING_MODE measuring_mode) = 0; + + virtual void STDMETHODCALLTYPE DrawTextLayout( + D2D1_POINT_2F origin, + IDWriteTextLayout *layout, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options) = 0; + + virtual void STDMETHODCALLTYPE DrawGlyphRun( + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *glyph_run, + ID2D1Brush *brush, + DWRITE_MEASURING_MODE measuring_mode) = 0; + + virtual void STDMETHODCALLTYPE SetTransform( + const D2D1_MATRIX_3X2_F *transform) = 0; + + virtual void STDMETHODCALLTYPE GetTransform( + D2D1_MATRIX_3X2_F *transform) = 0; + + virtual void STDMETHODCALLTYPE SetAntialiasMode( + D2D1_ANTIALIAS_MODE antialias_mode) = 0; + + virtual D2D1_ANTIALIAS_MODE STDMETHODCALLTYPE GetAntialiasMode( + ) = 0; + + virtual void STDMETHODCALLTYPE SetTextAntialiasMode( + D2D1_TEXT_ANTIALIAS_MODE antialias_mode) = 0; + + virtual D2D1_TEXT_ANTIALIAS_MODE STDMETHODCALLTYPE GetTextAntialiasMode( + ) = 0; + + virtual void STDMETHODCALLTYPE SetTextRenderingParams( + IDWriteRenderingParams *text_rendering_params) = 0; + + virtual void STDMETHODCALLTYPE GetTextRenderingParams( + IDWriteRenderingParams **text_rendering_params) = 0; + + virtual void STDMETHODCALLTYPE SetTags( + D2D1_TAG tag1, + D2D1_TAG tag2) = 0; + + virtual void STDMETHODCALLTYPE GetTags( + D2D1_TAG *tag1, + D2D1_TAG *tag2) = 0; + + virtual void STDMETHODCALLTYPE PushLayer( + const D2D1_LAYER_PARAMETERS *layer_parameters, + ID2D1Layer *layer) = 0; + + virtual void STDMETHODCALLTYPE PopLayer( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + D2D1_TAG *tag1, + D2D1_TAG *tag2) = 0; + + virtual void STDMETHODCALLTYPE SaveDrawingState( + ID2D1DrawingStateBlock *state_block) = 0; + + virtual void STDMETHODCALLTYPE RestoreDrawingState( + ID2D1DrawingStateBlock *state_block) = 0; + + virtual void STDMETHODCALLTYPE PushAxisAlignedClip( + const D2D1_RECT_F *clip_rect, + D2D1_ANTIALIAS_MODE antialias_mode) = 0; + + virtual void STDMETHODCALLTYPE PopAxisAlignedClip( + ) = 0; + + virtual void STDMETHODCALLTYPE Clear( + const D2D1_COLOR_F *color) = 0; + + virtual void STDMETHODCALLTYPE BeginDraw( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndDraw( + D2D1_TAG *tag1, + D2D1_TAG *tag2) = 0; + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_PIXEL_FORMAT* STDMETHODCALLTYPE GetPixelFormat( + D2D1_PIXEL_FORMAT *__ret) = 0; + D2D1_PIXEL_FORMAT STDMETHODCALLTYPE GetPixelFormat( + ) + { + D2D1_PIXEL_FORMAT __ret; + return *GetPixelFormat(&__ret); + } +#else + virtual D2D1_PIXEL_FORMAT STDMETHODCALLTYPE GetPixelFormat( + ) = 0; +#endif + + virtual void STDMETHODCALLTYPE SetDpi( + float dpi_x, + float dpi_y) = 0; + + virtual void STDMETHODCALLTYPE GetDpi( + float *dpi_x, + float *dpi_y) = 0; + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_SIZE_F* STDMETHODCALLTYPE GetSize( + D2D1_SIZE_F *__ret) = 0; + D2D1_SIZE_F STDMETHODCALLTYPE GetSize( + ) + { + D2D1_SIZE_F __ret; + return *GetSize(&__ret); + } +#else + virtual D2D1_SIZE_F STDMETHODCALLTYPE GetSize( + ) = 0; +#endif + +#ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS + virtual D2D1_SIZE_U* STDMETHODCALLTYPE GetPixelSize( + D2D1_SIZE_U *__ret) = 0; + D2D1_SIZE_U STDMETHODCALLTYPE GetPixelSize( + ) + { + D2D1_SIZE_U __ret; + return *GetPixelSize(&__ret); + } +#else + virtual D2D1_SIZE_U STDMETHODCALLTYPE GetPixelSize( + ) = 0; +#endif + + virtual UINT32 STDMETHODCALLTYPE GetMaximumBitmapSize( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE IsSupported( + const D2D1_RENDER_TARGET_PROPERTIES *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1RenderTarget, 0x2cd90694, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1RenderTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1RenderTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1RenderTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1RenderTarget *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1RenderTarget *This, + ID2D1Factory **factory); + + /*** ID2D1RenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + ID2D1RenderTarget *This, + D2D1_SIZE_U size, + const void *src_data, + UINT32 pitch, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromWicBitmap)( + ID2D1RenderTarget *This, + IWICBitmapSource *bitmap_source, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateSharedBitmap)( + ID2D1RenderTarget *This, + REFIID iid, + void *data, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapBrush)( + ID2D1RenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1BitmapBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)( + ID2D1RenderTarget *This, + const D2D1_COLOR_F *color, + const D2D1_BRUSH_PROPERTIES *desc, + ID2D1SolidColorBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateGradientStopCollection)( + ID2D1RenderTarget *This, + const D2D1_GRADIENT_STOP *stops, + UINT32 stop_count, + D2D1_GAMMA gamma, + D2D1_EXTEND_MODE extend_mode, + ID2D1GradientStopCollection **gradient); + + HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)( + ID2D1RenderTarget *This, + const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1LinearGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)( + ID2D1RenderTarget *This, + const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1RadialGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateCompatibleRenderTarget)( + ID2D1RenderTarget *This, + const D2D1_SIZE_F *size, + const D2D1_SIZE_U *pixel_size, + const D2D1_PIXEL_FORMAT *format, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, + ID2D1BitmapRenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateLayer)( + ID2D1RenderTarget *This, + const D2D1_SIZE_F *size, + ID2D1Layer **layer); + + HRESULT (STDMETHODCALLTYPE *CreateMesh)( + ID2D1RenderTarget *This, + ID2D1Mesh **mesh); + + void (STDMETHODCALLTYPE *DrawLine)( + ID2D1RenderTarget *This, + D2D1_POINT_2F p0, + D2D1_POINT_2F p1, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *DrawRectangle)( + ID2D1RenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRectangle)( + ID2D1RenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawRoundedRectangle)( + ID2D1RenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRoundedRectangle)( + ID2D1RenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawEllipse)( + ID2D1RenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillEllipse)( + ID2D1RenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawGeometry)( + ID2D1RenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillGeometry)( + ID2D1RenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + ID2D1Brush *opacity_brush); + + void (STDMETHODCALLTYPE *FillMesh)( + ID2D1RenderTarget *This, + ID2D1Mesh *mesh, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *FillOpacityMask)( + ID2D1RenderTarget *This, + ID2D1Bitmap *mask, + ID2D1Brush *brush, + D2D1_OPACITY_MASK_CONTENT content, + const D2D1_RECT_F *dst_rect, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawBitmap)( + ID2D1RenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_RECT_F *dst_rect, + float opacity, + D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawText)( + ID2D1RenderTarget *This, + const WCHAR *string, + UINT32 string_len, + IDWriteTextFormat *text_format, + const D2D1_RECT_F *layout_rect, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *DrawTextLayout)( + ID2D1RenderTarget *This, + D2D1_POINT_2F origin, + IDWriteTextLayout *layout, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options); + + void (STDMETHODCALLTYPE *DrawGlyphRun)( + ID2D1RenderTarget *This, + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *glyph_run, + ID2D1Brush *brush, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1RenderTarget *This, + const D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1RenderTarget *This, + D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *SetAntialiasMode)( + ID2D1RenderTarget *This, + D2D1_ANTIALIAS_MODE antialias_mode); + + D2D1_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetAntialiasMode)( + ID2D1RenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextAntialiasMode)( + ID2D1RenderTarget *This, + D2D1_TEXT_ANTIALIAS_MODE antialias_mode); + + D2D1_TEXT_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetTextAntialiasMode)( + ID2D1RenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextRenderingParams)( + ID2D1RenderTarget *This, + IDWriteRenderingParams *text_rendering_params); + + void (STDMETHODCALLTYPE *GetTextRenderingParams)( + ID2D1RenderTarget *This, + IDWriteRenderingParams **text_rendering_params); + + void (STDMETHODCALLTYPE *SetTags)( + ID2D1RenderTarget *This, + D2D1_TAG tag1, + D2D1_TAG tag2); + + void (STDMETHODCALLTYPE *GetTags)( + ID2D1RenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *PushLayer)( + ID2D1RenderTarget *This, + const D2D1_LAYER_PARAMETERS *layer_parameters, + ID2D1Layer *layer); + + void (STDMETHODCALLTYPE *PopLayer)( + ID2D1RenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *Flush)( + ID2D1RenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *SaveDrawingState)( + ID2D1RenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *RestoreDrawingState)( + ID2D1RenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *PushAxisAlignedClip)( + ID2D1RenderTarget *This, + const D2D1_RECT_F *clip_rect, + D2D1_ANTIALIAS_MODE antialias_mode); + + void (STDMETHODCALLTYPE *PopAxisAlignedClip)( + ID2D1RenderTarget *This); + + void (STDMETHODCALLTYPE *Clear)( + ID2D1RenderTarget *This, + const D2D1_COLOR_F *color); + + void (STDMETHODCALLTYPE *BeginDraw)( + ID2D1RenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *EndDraw)( + ID2D1RenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + D2D1_PIXEL_FORMAT * (STDMETHODCALLTYPE *GetPixelFormat)( + ID2D1RenderTarget *This, + D2D1_PIXEL_FORMAT *__ret); + + void (STDMETHODCALLTYPE *SetDpi)( + ID2D1RenderTarget *This, + float dpi_x, + float dpi_y); + + void (STDMETHODCALLTYPE *GetDpi)( + ID2D1RenderTarget *This, + float *dpi_x, + float *dpi_y); + + D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( + ID2D1RenderTarget *This, + D2D1_SIZE_F *__ret); + + D2D1_SIZE_U * (STDMETHODCALLTYPE *GetPixelSize)( + ID2D1RenderTarget *This, + D2D1_SIZE_U *__ret); + + UINT32 (STDMETHODCALLTYPE *GetMaximumBitmapSize)( + ID2D1RenderTarget *This); + + BOOL (STDMETHODCALLTYPE *IsSupported)( + ID2D1RenderTarget *This, + const D2D1_RENDER_TARGET_PROPERTIES *desc); + + END_INTERFACE +} ID2D1RenderTargetVtbl; + +interface ID2D1RenderTarget { + CONST_VTBL ID2D1RenderTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1RenderTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1RenderTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1RenderTarget_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1RenderTarget_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1RenderTarget methods ***/ +#define ID2D1RenderTarget_CreateBitmap(This,size,src_data,pitch,desc,bitmap) (This)->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap) +#define ID2D1RenderTarget_CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) (This)->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) +#define ID2D1RenderTarget_CreateSharedBitmap(This,iid,data,desc,bitmap) (This)->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap) +#define ID2D1RenderTarget_CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) (This)->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) +#define ID2D1RenderTarget_CreateSolidColorBrush(This,color,desc,brush) (This)->lpVtbl->CreateSolidColorBrush(This,color,desc,brush) +#define ID2D1RenderTarget_CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) (This)->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) +#define ID2D1RenderTarget_CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1RenderTarget_CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1RenderTarget_CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) (This)->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) +#define ID2D1RenderTarget_CreateLayer(This,size,layer) (This)->lpVtbl->CreateLayer(This,size,layer) +#define ID2D1RenderTarget_CreateMesh(This,mesh) (This)->lpVtbl->CreateMesh(This,mesh) +#define ID2D1RenderTarget_DrawLine(This,p0,p1,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style) +#define ID2D1RenderTarget_DrawRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1RenderTarget_FillRectangle(This,rect,brush) (This)->lpVtbl->FillRectangle(This,rect,brush) +#define ID2D1RenderTarget_DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1RenderTarget_FillRoundedRectangle(This,rect,brush) (This)->lpVtbl->FillRoundedRectangle(This,rect,brush) +#define ID2D1RenderTarget_DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) +#define ID2D1RenderTarget_FillEllipse(This,ellipse,brush) (This)->lpVtbl->FillEllipse(This,ellipse,brush) +#define ID2D1RenderTarget_DrawGeometry(This,geometry,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style) +#define ID2D1RenderTarget_FillGeometry(This,geometry,brush,opacity_brush) (This)->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush) +#define ID2D1RenderTarget_FillMesh(This,mesh,brush) (This)->lpVtbl->FillMesh(This,mesh,brush) +#define ID2D1RenderTarget_FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) (This)->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) +#define ID2D1RenderTarget_DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) (This)->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) +#define ID2D1RenderTarget_DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) (This)->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) +#define ID2D1RenderTarget_DrawTextLayout(This,origin,layout,brush,options) (This)->lpVtbl->DrawTextLayout(This,origin,layout,brush,options) +#define ID2D1RenderTarget_DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) (This)->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) +#define ID2D1RenderTarget_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1RenderTarget_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +#define ID2D1RenderTarget_SetAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetAntialiasMode(This,antialias_mode) +#define ID2D1RenderTarget_GetAntialiasMode(This) (This)->lpVtbl->GetAntialiasMode(This) +#define ID2D1RenderTarget_SetTextAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetTextAntialiasMode(This,antialias_mode) +#define ID2D1RenderTarget_GetTextAntialiasMode(This) (This)->lpVtbl->GetTextAntialiasMode(This) +#define ID2D1RenderTarget_SetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->SetTextRenderingParams(This,text_rendering_params) +#define ID2D1RenderTarget_GetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->GetTextRenderingParams(This,text_rendering_params) +#define ID2D1RenderTarget_SetTags(This,tag1,tag2) (This)->lpVtbl->SetTags(This,tag1,tag2) +#define ID2D1RenderTarget_GetTags(This,tag1,tag2) (This)->lpVtbl->GetTags(This,tag1,tag2) +#define ID2D1RenderTarget_PushLayer(This,layer_parameters,layer) (This)->lpVtbl->PushLayer(This,layer_parameters,layer) +#define ID2D1RenderTarget_PopLayer(This) (This)->lpVtbl->PopLayer(This) +#define ID2D1RenderTarget_Flush(This,tag1,tag2) (This)->lpVtbl->Flush(This,tag1,tag2) +#define ID2D1RenderTarget_SaveDrawingState(This,state_block) (This)->lpVtbl->SaveDrawingState(This,state_block) +#define ID2D1RenderTarget_RestoreDrawingState(This,state_block) (This)->lpVtbl->RestoreDrawingState(This,state_block) +#define ID2D1RenderTarget_PushAxisAlignedClip(This,clip_rect,antialias_mode) (This)->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode) +#define ID2D1RenderTarget_PopAxisAlignedClip(This) (This)->lpVtbl->PopAxisAlignedClip(This) +#define ID2D1RenderTarget_Clear(This,color) (This)->lpVtbl->Clear(This,color) +#define ID2D1RenderTarget_BeginDraw(This) (This)->lpVtbl->BeginDraw(This) +#define ID2D1RenderTarget_EndDraw(This,tag1,tag2) (This)->lpVtbl->EndDraw(This,tag1,tag2) +#define ID2D1RenderTarget_SetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->SetDpi(This,dpi_x,dpi_y) +#define ID2D1RenderTarget_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y) +#define ID2D1RenderTarget_GetMaximumBitmapSize(This) (This)->lpVtbl->GetMaximumBitmapSize(This) +#define ID2D1RenderTarget_IsSupported(This,desc) (This)->lpVtbl->IsSupported(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1RenderTarget_QueryInterface(ID2D1RenderTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1RenderTarget_AddRef(ID2D1RenderTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1RenderTarget_Release(ID2D1RenderTarget* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1RenderTarget_GetFactory(ID2D1RenderTarget* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1RenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateBitmap(ID2D1RenderTarget* This,D2D1_SIZE_U size,const void *src_data,UINT32 pitch,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateBitmapFromWicBitmap(ID2D1RenderTarget* This,IWICBitmapSource *bitmap_source,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateSharedBitmap(ID2D1RenderTarget* This,REFIID iid,void *data,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateBitmapBrush(ID2D1RenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1BitmapBrush **brush) { + return This->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateSolidColorBrush(ID2D1RenderTarget* This,const D2D1_COLOR_F *color,const D2D1_BRUSH_PROPERTIES *desc,ID2D1SolidColorBrush **brush) { + return This->lpVtbl->CreateSolidColorBrush(This,color,desc,brush); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateGradientStopCollection(ID2D1RenderTarget* This,const D2D1_GRADIENT_STOP *stops,UINT32 stop_count,D2D1_GAMMA gamma,D2D1_EXTEND_MODE extend_mode,ID2D1GradientStopCollection **gradient) { + return This->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateLinearGradientBrush(ID2D1RenderTarget* This,const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1LinearGradientBrush **brush) { + return This->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateRadialGradientBrush(ID2D1RenderTarget* This,const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1RadialGradientBrush **brush) { + return This->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateCompatibleRenderTarget(ID2D1RenderTarget* This,const D2D1_SIZE_F *size,const D2D1_SIZE_U *pixel_size,const D2D1_PIXEL_FORMAT *format,D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,ID2D1BitmapRenderTarget **render_target) { + return This->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateLayer(ID2D1RenderTarget* This,const D2D1_SIZE_F *size,ID2D1Layer **layer) { + return This->lpVtbl->CreateLayer(This,size,layer); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_CreateMesh(ID2D1RenderTarget* This,ID2D1Mesh **mesh) { + return This->lpVtbl->CreateMesh(This,mesh); +} +static FORCEINLINE void ID2D1RenderTarget_DrawLine(ID2D1RenderTarget* This,D2D1_POINT_2F p0,D2D1_POINT_2F p1,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1RenderTarget_DrawRectangle(ID2D1RenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1RenderTarget_FillRectangle(ID2D1RenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1RenderTarget_DrawRoundedRectangle(ID2D1RenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1RenderTarget_FillRoundedRectangle(ID2D1RenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRoundedRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1RenderTarget_DrawEllipse(ID2D1RenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1RenderTarget_FillEllipse(ID2D1RenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush) { + This->lpVtbl->FillEllipse(This,ellipse,brush); +} +static FORCEINLINE void ID2D1RenderTarget_DrawGeometry(ID2D1RenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1RenderTarget_FillGeometry(ID2D1RenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,ID2D1Brush *opacity_brush) { + This->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush); +} +static FORCEINLINE void ID2D1RenderTarget_FillMesh(ID2D1RenderTarget* This,ID2D1Mesh *mesh,ID2D1Brush *brush) { + This->lpVtbl->FillMesh(This,mesh,brush); +} +static FORCEINLINE void ID2D1RenderTarget_FillOpacityMask(ID2D1RenderTarget* This,ID2D1Bitmap *mask,ID2D1Brush *brush,D2D1_OPACITY_MASK_CONTENT content,const D2D1_RECT_F *dst_rect,const D2D1_RECT_F *src_rect) { + This->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect); +} +static FORCEINLINE void ID2D1RenderTarget_DrawBitmap(ID2D1RenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_RECT_F *dst_rect,float opacity,D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode,const D2D1_RECT_F *src_rect) { + This->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect); +} +static FORCEINLINE void ID2D1RenderTarget_DrawText(ID2D1RenderTarget* This,const WCHAR *string,UINT32 string_len,IDWriteTextFormat *text_format,const D2D1_RECT_F *layout_rect,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode); +} +static FORCEINLINE void ID2D1RenderTarget_DrawTextLayout(ID2D1RenderTarget* This,D2D1_POINT_2F origin,IDWriteTextLayout *layout,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options) { + This->lpVtbl->DrawTextLayout(This,origin,layout,brush,options); +} +static FORCEINLINE void ID2D1RenderTarget_DrawGlyphRun(ID2D1RenderTarget* This,D2D1_POINT_2F baseline_origin,const DWRITE_GLYPH_RUN *glyph_run,ID2D1Brush *brush,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode); +} +static FORCEINLINE void ID2D1RenderTarget_SetTransform(ID2D1RenderTarget* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE void ID2D1RenderTarget_GetTransform(ID2D1RenderTarget* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +static FORCEINLINE void ID2D1RenderTarget_SetAntialiasMode(ID2D1RenderTarget* This,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_ANTIALIAS_MODE ID2D1RenderTarget_GetAntialiasMode(ID2D1RenderTarget* This) { + return This->lpVtbl->GetAntialiasMode(This); +} +static FORCEINLINE void ID2D1RenderTarget_SetTextAntialiasMode(ID2D1RenderTarget* This,D2D1_TEXT_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetTextAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_TEXT_ANTIALIAS_MODE ID2D1RenderTarget_GetTextAntialiasMode(ID2D1RenderTarget* This) { + return This->lpVtbl->GetTextAntialiasMode(This); +} +static FORCEINLINE void ID2D1RenderTarget_SetTextRenderingParams(ID2D1RenderTarget* This,IDWriteRenderingParams *text_rendering_params) { + This->lpVtbl->SetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1RenderTarget_GetTextRenderingParams(ID2D1RenderTarget* This,IDWriteRenderingParams **text_rendering_params) { + This->lpVtbl->GetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1RenderTarget_SetTags(ID2D1RenderTarget* This,D2D1_TAG tag1,D2D1_TAG tag2) { + This->lpVtbl->SetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1RenderTarget_GetTags(ID2D1RenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + This->lpVtbl->GetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1RenderTarget_PushLayer(ID2D1RenderTarget* This,const D2D1_LAYER_PARAMETERS *layer_parameters,ID2D1Layer *layer) { + This->lpVtbl->PushLayer(This,layer_parameters,layer); +} +static FORCEINLINE void ID2D1RenderTarget_PopLayer(ID2D1RenderTarget* This) { + This->lpVtbl->PopLayer(This); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_Flush(ID2D1RenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->Flush(This,tag1,tag2); +} +static FORCEINLINE void ID2D1RenderTarget_SaveDrawingState(ID2D1RenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->SaveDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1RenderTarget_RestoreDrawingState(ID2D1RenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->RestoreDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1RenderTarget_PushAxisAlignedClip(ID2D1RenderTarget* This,const D2D1_RECT_F *clip_rect,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode); +} +static FORCEINLINE void ID2D1RenderTarget_PopAxisAlignedClip(ID2D1RenderTarget* This) { + This->lpVtbl->PopAxisAlignedClip(This); +} +static FORCEINLINE void ID2D1RenderTarget_Clear(ID2D1RenderTarget* This,const D2D1_COLOR_F *color) { + This->lpVtbl->Clear(This,color); +} +static FORCEINLINE void ID2D1RenderTarget_BeginDraw(ID2D1RenderTarget* This) { + This->lpVtbl->BeginDraw(This); +} +static FORCEINLINE HRESULT ID2D1RenderTarget_EndDraw(ID2D1RenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->EndDraw(This,tag1,tag2); +} +static FORCEINLINE D2D1_PIXEL_FORMAT ID2D1RenderTarget_GetPixelFormat(ID2D1RenderTarget* This) { + D2D1_PIXEL_FORMAT __ret; + return *This->lpVtbl->GetPixelFormat(This,&__ret); +} +static FORCEINLINE void ID2D1RenderTarget_SetDpi(ID2D1RenderTarget* This,float dpi_x,float dpi_y) { + This->lpVtbl->SetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE void ID2D1RenderTarget_GetDpi(ID2D1RenderTarget* This,float *dpi_x,float *dpi_y) { + This->lpVtbl->GetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE D2D1_SIZE_F ID2D1RenderTarget_GetSize(ID2D1RenderTarget* This) { + D2D1_SIZE_F __ret; + return *This->lpVtbl->GetSize(This,&__ret); +} +static FORCEINLINE D2D1_SIZE_U ID2D1RenderTarget_GetPixelSize(ID2D1RenderTarget* This) { + D2D1_SIZE_U __ret; + return *This->lpVtbl->GetPixelSize(This,&__ret); +} +static FORCEINLINE UINT32 ID2D1RenderTarget_GetMaximumBitmapSize(ID2D1RenderTarget* This) { + return This->lpVtbl->GetMaximumBitmapSize(This); +} +static FORCEINLINE BOOL ID2D1RenderTarget_IsSupported(ID2D1RenderTarget* This,const D2D1_RENDER_TARGET_PROPERTIES *desc) { + return This->lpVtbl->IsSupported(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1RenderTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1BitmapRenderTarget interface + */ +#ifndef __ID2D1BitmapRenderTarget_INTERFACE_DEFINED__ +#define __ID2D1BitmapRenderTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1BitmapRenderTarget, 0x2cd90695, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd90695-12e2-11dc-9fed-001143a055f9") +ID2D1BitmapRenderTarget : public ID2D1RenderTarget +{ + virtual HRESULT STDMETHODCALLTYPE GetBitmap( + ID2D1Bitmap **bitmap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1BitmapRenderTarget, 0x2cd90695, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1BitmapRenderTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1BitmapRenderTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1BitmapRenderTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1BitmapRenderTarget *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1BitmapRenderTarget *This, + ID2D1Factory **factory); + + /*** ID2D1RenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + ID2D1BitmapRenderTarget *This, + D2D1_SIZE_U size, + const void *src_data, + UINT32 pitch, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromWicBitmap)( + ID2D1BitmapRenderTarget *This, + IWICBitmapSource *bitmap_source, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateSharedBitmap)( + ID2D1BitmapRenderTarget *This, + REFIID iid, + void *data, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapBrush)( + ID2D1BitmapRenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1BitmapBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)( + ID2D1BitmapRenderTarget *This, + const D2D1_COLOR_F *color, + const D2D1_BRUSH_PROPERTIES *desc, + ID2D1SolidColorBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateGradientStopCollection)( + ID2D1BitmapRenderTarget *This, + const D2D1_GRADIENT_STOP *stops, + UINT32 stop_count, + D2D1_GAMMA gamma, + D2D1_EXTEND_MODE extend_mode, + ID2D1GradientStopCollection **gradient); + + HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)( + ID2D1BitmapRenderTarget *This, + const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1LinearGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)( + ID2D1BitmapRenderTarget *This, + const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1RadialGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateCompatibleRenderTarget)( + ID2D1BitmapRenderTarget *This, + const D2D1_SIZE_F *size, + const D2D1_SIZE_U *pixel_size, + const D2D1_PIXEL_FORMAT *format, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, + ID2D1BitmapRenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateLayer)( + ID2D1BitmapRenderTarget *This, + const D2D1_SIZE_F *size, + ID2D1Layer **layer); + + HRESULT (STDMETHODCALLTYPE *CreateMesh)( + ID2D1BitmapRenderTarget *This, + ID2D1Mesh **mesh); + + void (STDMETHODCALLTYPE *DrawLine)( + ID2D1BitmapRenderTarget *This, + D2D1_POINT_2F p0, + D2D1_POINT_2F p1, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *DrawRectangle)( + ID2D1BitmapRenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRectangle)( + ID2D1BitmapRenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawRoundedRectangle)( + ID2D1BitmapRenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRoundedRectangle)( + ID2D1BitmapRenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawEllipse)( + ID2D1BitmapRenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillEllipse)( + ID2D1BitmapRenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawGeometry)( + ID2D1BitmapRenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillGeometry)( + ID2D1BitmapRenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + ID2D1Brush *opacity_brush); + + void (STDMETHODCALLTYPE *FillMesh)( + ID2D1BitmapRenderTarget *This, + ID2D1Mesh *mesh, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *FillOpacityMask)( + ID2D1BitmapRenderTarget *This, + ID2D1Bitmap *mask, + ID2D1Brush *brush, + D2D1_OPACITY_MASK_CONTENT content, + const D2D1_RECT_F *dst_rect, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawBitmap)( + ID2D1BitmapRenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_RECT_F *dst_rect, + float opacity, + D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawText)( + ID2D1BitmapRenderTarget *This, + const WCHAR *string, + UINT32 string_len, + IDWriteTextFormat *text_format, + const D2D1_RECT_F *layout_rect, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *DrawTextLayout)( + ID2D1BitmapRenderTarget *This, + D2D1_POINT_2F origin, + IDWriteTextLayout *layout, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options); + + void (STDMETHODCALLTYPE *DrawGlyphRun)( + ID2D1BitmapRenderTarget *This, + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *glyph_run, + ID2D1Brush *brush, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1BitmapRenderTarget *This, + const D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1BitmapRenderTarget *This, + D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *SetAntialiasMode)( + ID2D1BitmapRenderTarget *This, + D2D1_ANTIALIAS_MODE antialias_mode); + + D2D1_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetAntialiasMode)( + ID2D1BitmapRenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextAntialiasMode)( + ID2D1BitmapRenderTarget *This, + D2D1_TEXT_ANTIALIAS_MODE antialias_mode); + + D2D1_TEXT_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetTextAntialiasMode)( + ID2D1BitmapRenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextRenderingParams)( + ID2D1BitmapRenderTarget *This, + IDWriteRenderingParams *text_rendering_params); + + void (STDMETHODCALLTYPE *GetTextRenderingParams)( + ID2D1BitmapRenderTarget *This, + IDWriteRenderingParams **text_rendering_params); + + void (STDMETHODCALLTYPE *SetTags)( + ID2D1BitmapRenderTarget *This, + D2D1_TAG tag1, + D2D1_TAG tag2); + + void (STDMETHODCALLTYPE *GetTags)( + ID2D1BitmapRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *PushLayer)( + ID2D1BitmapRenderTarget *This, + const D2D1_LAYER_PARAMETERS *layer_parameters, + ID2D1Layer *layer); + + void (STDMETHODCALLTYPE *PopLayer)( + ID2D1BitmapRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *Flush)( + ID2D1BitmapRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *SaveDrawingState)( + ID2D1BitmapRenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *RestoreDrawingState)( + ID2D1BitmapRenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *PushAxisAlignedClip)( + ID2D1BitmapRenderTarget *This, + const D2D1_RECT_F *clip_rect, + D2D1_ANTIALIAS_MODE antialias_mode); + + void (STDMETHODCALLTYPE *PopAxisAlignedClip)( + ID2D1BitmapRenderTarget *This); + + void (STDMETHODCALLTYPE *Clear)( + ID2D1BitmapRenderTarget *This, + const D2D1_COLOR_F *color); + + void (STDMETHODCALLTYPE *BeginDraw)( + ID2D1BitmapRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *EndDraw)( + ID2D1BitmapRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + D2D1_PIXEL_FORMAT * (STDMETHODCALLTYPE *GetPixelFormat)( + ID2D1BitmapRenderTarget *This, + D2D1_PIXEL_FORMAT *__ret); + + void (STDMETHODCALLTYPE *SetDpi)( + ID2D1BitmapRenderTarget *This, + float dpi_x, + float dpi_y); + + void (STDMETHODCALLTYPE *GetDpi)( + ID2D1BitmapRenderTarget *This, + float *dpi_x, + float *dpi_y); + + D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( + ID2D1BitmapRenderTarget *This, + D2D1_SIZE_F *__ret); + + D2D1_SIZE_U * (STDMETHODCALLTYPE *GetPixelSize)( + ID2D1BitmapRenderTarget *This, + D2D1_SIZE_U *__ret); + + UINT32 (STDMETHODCALLTYPE *GetMaximumBitmapSize)( + ID2D1BitmapRenderTarget *This); + + BOOL (STDMETHODCALLTYPE *IsSupported)( + ID2D1BitmapRenderTarget *This, + const D2D1_RENDER_TARGET_PROPERTIES *desc); + + /*** ID2D1BitmapRenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBitmap)( + ID2D1BitmapRenderTarget *This, + ID2D1Bitmap **bitmap); + + END_INTERFACE +} ID2D1BitmapRenderTargetVtbl; + +interface ID2D1BitmapRenderTarget { + CONST_VTBL ID2D1BitmapRenderTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1BitmapRenderTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1BitmapRenderTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1BitmapRenderTarget_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1BitmapRenderTarget_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1RenderTarget methods ***/ +#define ID2D1BitmapRenderTarget_CreateBitmap(This,size,src_data,pitch,desc,bitmap) (This)->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap) +#define ID2D1BitmapRenderTarget_CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) (This)->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) +#define ID2D1BitmapRenderTarget_CreateSharedBitmap(This,iid,data,desc,bitmap) (This)->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap) +#define ID2D1BitmapRenderTarget_CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) (This)->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) +#define ID2D1BitmapRenderTarget_CreateSolidColorBrush(This,color,desc,brush) (This)->lpVtbl->CreateSolidColorBrush(This,color,desc,brush) +#define ID2D1BitmapRenderTarget_CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) (This)->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) +#define ID2D1BitmapRenderTarget_CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1BitmapRenderTarget_CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1BitmapRenderTarget_CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) (This)->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) +#define ID2D1BitmapRenderTarget_CreateLayer(This,size,layer) (This)->lpVtbl->CreateLayer(This,size,layer) +#define ID2D1BitmapRenderTarget_CreateMesh(This,mesh) (This)->lpVtbl->CreateMesh(This,mesh) +#define ID2D1BitmapRenderTarget_DrawLine(This,p0,p1,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style) +#define ID2D1BitmapRenderTarget_DrawRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1BitmapRenderTarget_FillRectangle(This,rect,brush) (This)->lpVtbl->FillRectangle(This,rect,brush) +#define ID2D1BitmapRenderTarget_DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1BitmapRenderTarget_FillRoundedRectangle(This,rect,brush) (This)->lpVtbl->FillRoundedRectangle(This,rect,brush) +#define ID2D1BitmapRenderTarget_DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) +#define ID2D1BitmapRenderTarget_FillEllipse(This,ellipse,brush) (This)->lpVtbl->FillEllipse(This,ellipse,brush) +#define ID2D1BitmapRenderTarget_DrawGeometry(This,geometry,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style) +#define ID2D1BitmapRenderTarget_FillGeometry(This,geometry,brush,opacity_brush) (This)->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush) +#define ID2D1BitmapRenderTarget_FillMesh(This,mesh,brush) (This)->lpVtbl->FillMesh(This,mesh,brush) +#define ID2D1BitmapRenderTarget_FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) (This)->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) +#define ID2D1BitmapRenderTarget_DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) (This)->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) +#define ID2D1BitmapRenderTarget_DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) (This)->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) +#define ID2D1BitmapRenderTarget_DrawTextLayout(This,origin,layout,brush,options) (This)->lpVtbl->DrawTextLayout(This,origin,layout,brush,options) +#define ID2D1BitmapRenderTarget_DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) (This)->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) +#define ID2D1BitmapRenderTarget_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1BitmapRenderTarget_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +#define ID2D1BitmapRenderTarget_SetAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetAntialiasMode(This,antialias_mode) +#define ID2D1BitmapRenderTarget_GetAntialiasMode(This) (This)->lpVtbl->GetAntialiasMode(This) +#define ID2D1BitmapRenderTarget_SetTextAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetTextAntialiasMode(This,antialias_mode) +#define ID2D1BitmapRenderTarget_GetTextAntialiasMode(This) (This)->lpVtbl->GetTextAntialiasMode(This) +#define ID2D1BitmapRenderTarget_SetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->SetTextRenderingParams(This,text_rendering_params) +#define ID2D1BitmapRenderTarget_GetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->GetTextRenderingParams(This,text_rendering_params) +#define ID2D1BitmapRenderTarget_SetTags(This,tag1,tag2) (This)->lpVtbl->SetTags(This,tag1,tag2) +#define ID2D1BitmapRenderTarget_GetTags(This,tag1,tag2) (This)->lpVtbl->GetTags(This,tag1,tag2) +#define ID2D1BitmapRenderTarget_PushLayer(This,layer_parameters,layer) (This)->lpVtbl->PushLayer(This,layer_parameters,layer) +#define ID2D1BitmapRenderTarget_PopLayer(This) (This)->lpVtbl->PopLayer(This) +#define ID2D1BitmapRenderTarget_Flush(This,tag1,tag2) (This)->lpVtbl->Flush(This,tag1,tag2) +#define ID2D1BitmapRenderTarget_SaveDrawingState(This,state_block) (This)->lpVtbl->SaveDrawingState(This,state_block) +#define ID2D1BitmapRenderTarget_RestoreDrawingState(This,state_block) (This)->lpVtbl->RestoreDrawingState(This,state_block) +#define ID2D1BitmapRenderTarget_PushAxisAlignedClip(This,clip_rect,antialias_mode) (This)->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode) +#define ID2D1BitmapRenderTarget_PopAxisAlignedClip(This) (This)->lpVtbl->PopAxisAlignedClip(This) +#define ID2D1BitmapRenderTarget_Clear(This,color) (This)->lpVtbl->Clear(This,color) +#define ID2D1BitmapRenderTarget_BeginDraw(This) (This)->lpVtbl->BeginDraw(This) +#define ID2D1BitmapRenderTarget_EndDraw(This,tag1,tag2) (This)->lpVtbl->EndDraw(This,tag1,tag2) +#define ID2D1BitmapRenderTarget_SetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->SetDpi(This,dpi_x,dpi_y) +#define ID2D1BitmapRenderTarget_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y) +#define ID2D1BitmapRenderTarget_GetMaximumBitmapSize(This) (This)->lpVtbl->GetMaximumBitmapSize(This) +#define ID2D1BitmapRenderTarget_IsSupported(This,desc) (This)->lpVtbl->IsSupported(This,desc) +/*** ID2D1BitmapRenderTarget methods ***/ +#define ID2D1BitmapRenderTarget_GetBitmap(This,bitmap) (This)->lpVtbl->GetBitmap(This,bitmap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_QueryInterface(ID2D1BitmapRenderTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1BitmapRenderTarget_AddRef(ID2D1BitmapRenderTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1BitmapRenderTarget_Release(ID2D1BitmapRenderTarget* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1BitmapRenderTarget_GetFactory(ID2D1BitmapRenderTarget* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1RenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateBitmap(ID2D1BitmapRenderTarget* This,D2D1_SIZE_U size,const void *src_data,UINT32 pitch,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateBitmapFromWicBitmap(ID2D1BitmapRenderTarget* This,IWICBitmapSource *bitmap_source,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateSharedBitmap(ID2D1BitmapRenderTarget* This,REFIID iid,void *data,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateBitmapBrush(ID2D1BitmapRenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1BitmapBrush **brush) { + return This->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateSolidColorBrush(ID2D1BitmapRenderTarget* This,const D2D1_COLOR_F *color,const D2D1_BRUSH_PROPERTIES *desc,ID2D1SolidColorBrush **brush) { + return This->lpVtbl->CreateSolidColorBrush(This,color,desc,brush); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateGradientStopCollection(ID2D1BitmapRenderTarget* This,const D2D1_GRADIENT_STOP *stops,UINT32 stop_count,D2D1_GAMMA gamma,D2D1_EXTEND_MODE extend_mode,ID2D1GradientStopCollection **gradient) { + return This->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateLinearGradientBrush(ID2D1BitmapRenderTarget* This,const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1LinearGradientBrush **brush) { + return This->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateRadialGradientBrush(ID2D1BitmapRenderTarget* This,const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1RadialGradientBrush **brush) { + return This->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget* This,const D2D1_SIZE_F *size,const D2D1_SIZE_U *pixel_size,const D2D1_PIXEL_FORMAT *format,D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,ID2D1BitmapRenderTarget **render_target) { + return This->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateLayer(ID2D1BitmapRenderTarget* This,const D2D1_SIZE_F *size,ID2D1Layer **layer) { + return This->lpVtbl->CreateLayer(This,size,layer); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_CreateMesh(ID2D1BitmapRenderTarget* This,ID2D1Mesh **mesh) { + return This->lpVtbl->CreateMesh(This,mesh); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawLine(ID2D1BitmapRenderTarget* This,D2D1_POINT_2F p0,D2D1_POINT_2F p1,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawRectangle(ID2D1BitmapRenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_FillRectangle(ID2D1BitmapRenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawRoundedRectangle(ID2D1BitmapRenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_FillRoundedRectangle(ID2D1BitmapRenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRoundedRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawEllipse(ID2D1BitmapRenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_FillEllipse(ID2D1BitmapRenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush) { + This->lpVtbl->FillEllipse(This,ellipse,brush); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawGeometry(ID2D1BitmapRenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_FillGeometry(ID2D1BitmapRenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,ID2D1Brush *opacity_brush) { + This->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_FillMesh(ID2D1BitmapRenderTarget* This,ID2D1Mesh *mesh,ID2D1Brush *brush) { + This->lpVtbl->FillMesh(This,mesh,brush); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_FillOpacityMask(ID2D1BitmapRenderTarget* This,ID2D1Bitmap *mask,ID2D1Brush *brush,D2D1_OPACITY_MASK_CONTENT content,const D2D1_RECT_F *dst_rect,const D2D1_RECT_F *src_rect) { + This->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawBitmap(ID2D1BitmapRenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_RECT_F *dst_rect,float opacity,D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode,const D2D1_RECT_F *src_rect) { + This->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawText(ID2D1BitmapRenderTarget* This,const WCHAR *string,UINT32 string_len,IDWriteTextFormat *text_format,const D2D1_RECT_F *layout_rect,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawTextLayout(ID2D1BitmapRenderTarget* This,D2D1_POINT_2F origin,IDWriteTextLayout *layout,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options) { + This->lpVtbl->DrawTextLayout(This,origin,layout,brush,options); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_DrawGlyphRun(ID2D1BitmapRenderTarget* This,D2D1_POINT_2F baseline_origin,const DWRITE_GLYPH_RUN *glyph_run,ID2D1Brush *brush,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SetTransform(ID2D1BitmapRenderTarget* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_GetTransform(ID2D1BitmapRenderTarget* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SetAntialiasMode(ID2D1BitmapRenderTarget* This,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_ANTIALIAS_MODE ID2D1BitmapRenderTarget_GetAntialiasMode(ID2D1BitmapRenderTarget* This) { + return This->lpVtbl->GetAntialiasMode(This); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SetTextAntialiasMode(ID2D1BitmapRenderTarget* This,D2D1_TEXT_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetTextAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_TEXT_ANTIALIAS_MODE ID2D1BitmapRenderTarget_GetTextAntialiasMode(ID2D1BitmapRenderTarget* This) { + return This->lpVtbl->GetTextAntialiasMode(This); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SetTextRenderingParams(ID2D1BitmapRenderTarget* This,IDWriteRenderingParams *text_rendering_params) { + This->lpVtbl->SetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_GetTextRenderingParams(ID2D1BitmapRenderTarget* This,IDWriteRenderingParams **text_rendering_params) { + This->lpVtbl->GetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SetTags(ID2D1BitmapRenderTarget* This,D2D1_TAG tag1,D2D1_TAG tag2) { + This->lpVtbl->SetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_GetTags(ID2D1BitmapRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + This->lpVtbl->GetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_PushLayer(ID2D1BitmapRenderTarget* This,const D2D1_LAYER_PARAMETERS *layer_parameters,ID2D1Layer *layer) { + This->lpVtbl->PushLayer(This,layer_parameters,layer); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_PopLayer(ID2D1BitmapRenderTarget* This) { + This->lpVtbl->PopLayer(This); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_Flush(ID2D1BitmapRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->Flush(This,tag1,tag2); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SaveDrawingState(ID2D1BitmapRenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->SaveDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_RestoreDrawingState(ID2D1BitmapRenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->RestoreDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_PushAxisAlignedClip(ID2D1BitmapRenderTarget* This,const D2D1_RECT_F *clip_rect,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_PopAxisAlignedClip(ID2D1BitmapRenderTarget* This) { + This->lpVtbl->PopAxisAlignedClip(This); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_Clear(ID2D1BitmapRenderTarget* This,const D2D1_COLOR_F *color) { + This->lpVtbl->Clear(This,color); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_BeginDraw(ID2D1BitmapRenderTarget* This) { + This->lpVtbl->BeginDraw(This); +} +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_EndDraw(ID2D1BitmapRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->EndDraw(This,tag1,tag2); +} +static FORCEINLINE D2D1_PIXEL_FORMAT ID2D1BitmapRenderTarget_GetPixelFormat(ID2D1BitmapRenderTarget* This) { + D2D1_PIXEL_FORMAT __ret; + return *This->lpVtbl->GetPixelFormat(This,&__ret); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_SetDpi(ID2D1BitmapRenderTarget* This,float dpi_x,float dpi_y) { + This->lpVtbl->SetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE void ID2D1BitmapRenderTarget_GetDpi(ID2D1BitmapRenderTarget* This,float *dpi_x,float *dpi_y) { + This->lpVtbl->GetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE D2D1_SIZE_F ID2D1BitmapRenderTarget_GetSize(ID2D1BitmapRenderTarget* This) { + D2D1_SIZE_F __ret; + return *This->lpVtbl->GetSize(This,&__ret); +} +static FORCEINLINE D2D1_SIZE_U ID2D1BitmapRenderTarget_GetPixelSize(ID2D1BitmapRenderTarget* This) { + D2D1_SIZE_U __ret; + return *This->lpVtbl->GetPixelSize(This,&__ret); +} +static FORCEINLINE UINT32 ID2D1BitmapRenderTarget_GetMaximumBitmapSize(ID2D1BitmapRenderTarget* This) { + return This->lpVtbl->GetMaximumBitmapSize(This); +} +static FORCEINLINE BOOL ID2D1BitmapRenderTarget_IsSupported(ID2D1BitmapRenderTarget* This,const D2D1_RENDER_TARGET_PROPERTIES *desc) { + return This->lpVtbl->IsSupported(This,desc); +} +/*** ID2D1BitmapRenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1BitmapRenderTarget_GetBitmap(ID2D1BitmapRenderTarget* This,ID2D1Bitmap **bitmap) { + return This->lpVtbl->GetBitmap(This,bitmap); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1BitmapRenderTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1HwndRenderTarget interface + */ +#ifndef __ID2D1HwndRenderTarget_INTERFACE_DEFINED__ +#define __ID2D1HwndRenderTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1HwndRenderTarget, 0x2cd90698, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd90698-12e2-11dc-9fed-001143a055f9") +ID2D1HwndRenderTarget : public ID2D1RenderTarget +{ + virtual D2D1_WINDOW_STATE STDMETHODCALLTYPE CheckWindowState( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resize( + const D2D1_SIZE_U *size) = 0; + + virtual HWND STDMETHODCALLTYPE GetHwnd( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1HwndRenderTarget, 0x2cd90698, 0x12e2, 0x11dc, 0x9f,0xed, 0x00,0x11,0x43,0xa0,0x55,0xf9) +#endif +#else +typedef struct ID2D1HwndRenderTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1HwndRenderTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1HwndRenderTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1HwndRenderTarget *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1HwndRenderTarget *This, + ID2D1Factory **factory); + + /*** ID2D1RenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + ID2D1HwndRenderTarget *This, + D2D1_SIZE_U size, + const void *src_data, + UINT32 pitch, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromWicBitmap)( + ID2D1HwndRenderTarget *This, + IWICBitmapSource *bitmap_source, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateSharedBitmap)( + ID2D1HwndRenderTarget *This, + REFIID iid, + void *data, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapBrush)( + ID2D1HwndRenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1BitmapBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)( + ID2D1HwndRenderTarget *This, + const D2D1_COLOR_F *color, + const D2D1_BRUSH_PROPERTIES *desc, + ID2D1SolidColorBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateGradientStopCollection)( + ID2D1HwndRenderTarget *This, + const D2D1_GRADIENT_STOP *stops, + UINT32 stop_count, + D2D1_GAMMA gamma, + D2D1_EXTEND_MODE extend_mode, + ID2D1GradientStopCollection **gradient); + + HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)( + ID2D1HwndRenderTarget *This, + const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1LinearGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)( + ID2D1HwndRenderTarget *This, + const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1RadialGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateCompatibleRenderTarget)( + ID2D1HwndRenderTarget *This, + const D2D1_SIZE_F *size, + const D2D1_SIZE_U *pixel_size, + const D2D1_PIXEL_FORMAT *format, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, + ID2D1BitmapRenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateLayer)( + ID2D1HwndRenderTarget *This, + const D2D1_SIZE_F *size, + ID2D1Layer **layer); + + HRESULT (STDMETHODCALLTYPE *CreateMesh)( + ID2D1HwndRenderTarget *This, + ID2D1Mesh **mesh); + + void (STDMETHODCALLTYPE *DrawLine)( + ID2D1HwndRenderTarget *This, + D2D1_POINT_2F p0, + D2D1_POINT_2F p1, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *DrawRectangle)( + ID2D1HwndRenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRectangle)( + ID2D1HwndRenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawRoundedRectangle)( + ID2D1HwndRenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRoundedRectangle)( + ID2D1HwndRenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawEllipse)( + ID2D1HwndRenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillEllipse)( + ID2D1HwndRenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawGeometry)( + ID2D1HwndRenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillGeometry)( + ID2D1HwndRenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + ID2D1Brush *opacity_brush); + + void (STDMETHODCALLTYPE *FillMesh)( + ID2D1HwndRenderTarget *This, + ID2D1Mesh *mesh, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *FillOpacityMask)( + ID2D1HwndRenderTarget *This, + ID2D1Bitmap *mask, + ID2D1Brush *brush, + D2D1_OPACITY_MASK_CONTENT content, + const D2D1_RECT_F *dst_rect, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawBitmap)( + ID2D1HwndRenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_RECT_F *dst_rect, + float opacity, + D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawText)( + ID2D1HwndRenderTarget *This, + const WCHAR *string, + UINT32 string_len, + IDWriteTextFormat *text_format, + const D2D1_RECT_F *layout_rect, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *DrawTextLayout)( + ID2D1HwndRenderTarget *This, + D2D1_POINT_2F origin, + IDWriteTextLayout *layout, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options); + + void (STDMETHODCALLTYPE *DrawGlyphRun)( + ID2D1HwndRenderTarget *This, + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *glyph_run, + ID2D1Brush *brush, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1HwndRenderTarget *This, + const D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1HwndRenderTarget *This, + D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *SetAntialiasMode)( + ID2D1HwndRenderTarget *This, + D2D1_ANTIALIAS_MODE antialias_mode); + + D2D1_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetAntialiasMode)( + ID2D1HwndRenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextAntialiasMode)( + ID2D1HwndRenderTarget *This, + D2D1_TEXT_ANTIALIAS_MODE antialias_mode); + + D2D1_TEXT_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetTextAntialiasMode)( + ID2D1HwndRenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextRenderingParams)( + ID2D1HwndRenderTarget *This, + IDWriteRenderingParams *text_rendering_params); + + void (STDMETHODCALLTYPE *GetTextRenderingParams)( + ID2D1HwndRenderTarget *This, + IDWriteRenderingParams **text_rendering_params); + + void (STDMETHODCALLTYPE *SetTags)( + ID2D1HwndRenderTarget *This, + D2D1_TAG tag1, + D2D1_TAG tag2); + + void (STDMETHODCALLTYPE *GetTags)( + ID2D1HwndRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *PushLayer)( + ID2D1HwndRenderTarget *This, + const D2D1_LAYER_PARAMETERS *layer_parameters, + ID2D1Layer *layer); + + void (STDMETHODCALLTYPE *PopLayer)( + ID2D1HwndRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *Flush)( + ID2D1HwndRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *SaveDrawingState)( + ID2D1HwndRenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *RestoreDrawingState)( + ID2D1HwndRenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *PushAxisAlignedClip)( + ID2D1HwndRenderTarget *This, + const D2D1_RECT_F *clip_rect, + D2D1_ANTIALIAS_MODE antialias_mode); + + void (STDMETHODCALLTYPE *PopAxisAlignedClip)( + ID2D1HwndRenderTarget *This); + + void (STDMETHODCALLTYPE *Clear)( + ID2D1HwndRenderTarget *This, + const D2D1_COLOR_F *color); + + void (STDMETHODCALLTYPE *BeginDraw)( + ID2D1HwndRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *EndDraw)( + ID2D1HwndRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + D2D1_PIXEL_FORMAT * (STDMETHODCALLTYPE *GetPixelFormat)( + ID2D1HwndRenderTarget *This, + D2D1_PIXEL_FORMAT *__ret); + + void (STDMETHODCALLTYPE *SetDpi)( + ID2D1HwndRenderTarget *This, + float dpi_x, + float dpi_y); + + void (STDMETHODCALLTYPE *GetDpi)( + ID2D1HwndRenderTarget *This, + float *dpi_x, + float *dpi_y); + + D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( + ID2D1HwndRenderTarget *This, + D2D1_SIZE_F *__ret); + + D2D1_SIZE_U * (STDMETHODCALLTYPE *GetPixelSize)( + ID2D1HwndRenderTarget *This, + D2D1_SIZE_U *__ret); + + UINT32 (STDMETHODCALLTYPE *GetMaximumBitmapSize)( + ID2D1HwndRenderTarget *This); + + BOOL (STDMETHODCALLTYPE *IsSupported)( + ID2D1HwndRenderTarget *This, + const D2D1_RENDER_TARGET_PROPERTIES *desc); + + /*** ID2D1HwndRenderTarget methods ***/ + D2D1_WINDOW_STATE (STDMETHODCALLTYPE *CheckWindowState)( + ID2D1HwndRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *Resize)( + ID2D1HwndRenderTarget *This, + const D2D1_SIZE_U *size); + + HWND (STDMETHODCALLTYPE *GetHwnd)( + ID2D1HwndRenderTarget *This); + + END_INTERFACE +} ID2D1HwndRenderTargetVtbl; + +interface ID2D1HwndRenderTarget { + CONST_VTBL ID2D1HwndRenderTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1HwndRenderTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1HwndRenderTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1HwndRenderTarget_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1HwndRenderTarget_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1RenderTarget methods ***/ +#define ID2D1HwndRenderTarget_CreateBitmap(This,size,src_data,pitch,desc,bitmap) (This)->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap) +#define ID2D1HwndRenderTarget_CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) (This)->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) +#define ID2D1HwndRenderTarget_CreateSharedBitmap(This,iid,data,desc,bitmap) (This)->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap) +#define ID2D1HwndRenderTarget_CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) (This)->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) +#define ID2D1HwndRenderTarget_CreateSolidColorBrush(This,color,desc,brush) (This)->lpVtbl->CreateSolidColorBrush(This,color,desc,brush) +#define ID2D1HwndRenderTarget_CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) (This)->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) +#define ID2D1HwndRenderTarget_CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1HwndRenderTarget_CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1HwndRenderTarget_CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) (This)->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) +#define ID2D1HwndRenderTarget_CreateLayer(This,size,layer) (This)->lpVtbl->CreateLayer(This,size,layer) +#define ID2D1HwndRenderTarget_CreateMesh(This,mesh) (This)->lpVtbl->CreateMesh(This,mesh) +#define ID2D1HwndRenderTarget_DrawLine(This,p0,p1,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style) +#define ID2D1HwndRenderTarget_DrawRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1HwndRenderTarget_FillRectangle(This,rect,brush) (This)->lpVtbl->FillRectangle(This,rect,brush) +#define ID2D1HwndRenderTarget_DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1HwndRenderTarget_FillRoundedRectangle(This,rect,brush) (This)->lpVtbl->FillRoundedRectangle(This,rect,brush) +#define ID2D1HwndRenderTarget_DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) +#define ID2D1HwndRenderTarget_FillEllipse(This,ellipse,brush) (This)->lpVtbl->FillEllipse(This,ellipse,brush) +#define ID2D1HwndRenderTarget_DrawGeometry(This,geometry,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style) +#define ID2D1HwndRenderTarget_FillGeometry(This,geometry,brush,opacity_brush) (This)->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush) +#define ID2D1HwndRenderTarget_FillMesh(This,mesh,brush) (This)->lpVtbl->FillMesh(This,mesh,brush) +#define ID2D1HwndRenderTarget_FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) (This)->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) +#define ID2D1HwndRenderTarget_DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) (This)->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) +#define ID2D1HwndRenderTarget_DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) (This)->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) +#define ID2D1HwndRenderTarget_DrawTextLayout(This,origin,layout,brush,options) (This)->lpVtbl->DrawTextLayout(This,origin,layout,brush,options) +#define ID2D1HwndRenderTarget_DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) (This)->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) +#define ID2D1HwndRenderTarget_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1HwndRenderTarget_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +#define ID2D1HwndRenderTarget_SetAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetAntialiasMode(This,antialias_mode) +#define ID2D1HwndRenderTarget_GetAntialiasMode(This) (This)->lpVtbl->GetAntialiasMode(This) +#define ID2D1HwndRenderTarget_SetTextAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetTextAntialiasMode(This,antialias_mode) +#define ID2D1HwndRenderTarget_GetTextAntialiasMode(This) (This)->lpVtbl->GetTextAntialiasMode(This) +#define ID2D1HwndRenderTarget_SetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->SetTextRenderingParams(This,text_rendering_params) +#define ID2D1HwndRenderTarget_GetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->GetTextRenderingParams(This,text_rendering_params) +#define ID2D1HwndRenderTarget_SetTags(This,tag1,tag2) (This)->lpVtbl->SetTags(This,tag1,tag2) +#define ID2D1HwndRenderTarget_GetTags(This,tag1,tag2) (This)->lpVtbl->GetTags(This,tag1,tag2) +#define ID2D1HwndRenderTarget_PushLayer(This,layer_parameters,layer) (This)->lpVtbl->PushLayer(This,layer_parameters,layer) +#define ID2D1HwndRenderTarget_PopLayer(This) (This)->lpVtbl->PopLayer(This) +#define ID2D1HwndRenderTarget_Flush(This,tag1,tag2) (This)->lpVtbl->Flush(This,tag1,tag2) +#define ID2D1HwndRenderTarget_SaveDrawingState(This,state_block) (This)->lpVtbl->SaveDrawingState(This,state_block) +#define ID2D1HwndRenderTarget_RestoreDrawingState(This,state_block) (This)->lpVtbl->RestoreDrawingState(This,state_block) +#define ID2D1HwndRenderTarget_PushAxisAlignedClip(This,clip_rect,antialias_mode) (This)->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode) +#define ID2D1HwndRenderTarget_PopAxisAlignedClip(This) (This)->lpVtbl->PopAxisAlignedClip(This) +#define ID2D1HwndRenderTarget_Clear(This,color) (This)->lpVtbl->Clear(This,color) +#define ID2D1HwndRenderTarget_BeginDraw(This) (This)->lpVtbl->BeginDraw(This) +#define ID2D1HwndRenderTarget_EndDraw(This,tag1,tag2) (This)->lpVtbl->EndDraw(This,tag1,tag2) +#define ID2D1HwndRenderTarget_SetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->SetDpi(This,dpi_x,dpi_y) +#define ID2D1HwndRenderTarget_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y) +#define ID2D1HwndRenderTarget_GetMaximumBitmapSize(This) (This)->lpVtbl->GetMaximumBitmapSize(This) +#define ID2D1HwndRenderTarget_IsSupported(This,desc) (This)->lpVtbl->IsSupported(This,desc) +/*** ID2D1HwndRenderTarget methods ***/ +#define ID2D1HwndRenderTarget_CheckWindowState(This) (This)->lpVtbl->CheckWindowState(This) +#define ID2D1HwndRenderTarget_Resize(This,size) (This)->lpVtbl->Resize(This,size) +#define ID2D1HwndRenderTarget_GetHwnd(This) (This)->lpVtbl->GetHwnd(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_QueryInterface(ID2D1HwndRenderTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1HwndRenderTarget_AddRef(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1HwndRenderTarget_Release(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1HwndRenderTarget_GetFactory(ID2D1HwndRenderTarget* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1RenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateBitmap(ID2D1HwndRenderTarget* This,D2D1_SIZE_U size,const void *src_data,UINT32 pitch,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateBitmapFromWicBitmap(ID2D1HwndRenderTarget* This,IWICBitmapSource *bitmap_source,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateSharedBitmap(ID2D1HwndRenderTarget* This,REFIID iid,void *data,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateBitmapBrush(ID2D1HwndRenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1BitmapBrush **brush) { + return This->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateSolidColorBrush(ID2D1HwndRenderTarget* This,const D2D1_COLOR_F *color,const D2D1_BRUSH_PROPERTIES *desc,ID2D1SolidColorBrush **brush) { + return This->lpVtbl->CreateSolidColorBrush(This,color,desc,brush); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateGradientStopCollection(ID2D1HwndRenderTarget* This,const D2D1_GRADIENT_STOP *stops,UINT32 stop_count,D2D1_GAMMA gamma,D2D1_EXTEND_MODE extend_mode,ID2D1GradientStopCollection **gradient) { + return This->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateLinearGradientBrush(ID2D1HwndRenderTarget* This,const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1LinearGradientBrush **brush) { + return This->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateRadialGradientBrush(ID2D1HwndRenderTarget* This,const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1RadialGradientBrush **brush) { + return This->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateCompatibleRenderTarget(ID2D1HwndRenderTarget* This,const D2D1_SIZE_F *size,const D2D1_SIZE_U *pixel_size,const D2D1_PIXEL_FORMAT *format,D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,ID2D1BitmapRenderTarget **render_target) { + return This->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateLayer(ID2D1HwndRenderTarget* This,const D2D1_SIZE_F *size,ID2D1Layer **layer) { + return This->lpVtbl->CreateLayer(This,size,layer); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_CreateMesh(ID2D1HwndRenderTarget* This,ID2D1Mesh **mesh) { + return This->lpVtbl->CreateMesh(This,mesh); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawLine(ID2D1HwndRenderTarget* This,D2D1_POINT_2F p0,D2D1_POINT_2F p1,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawRectangle(ID2D1HwndRenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1HwndRenderTarget_FillRectangle(ID2D1HwndRenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawRoundedRectangle(ID2D1HwndRenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1HwndRenderTarget_FillRoundedRectangle(ID2D1HwndRenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRoundedRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawEllipse(ID2D1HwndRenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1HwndRenderTarget_FillEllipse(ID2D1HwndRenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush) { + This->lpVtbl->FillEllipse(This,ellipse,brush); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawGeometry(ID2D1HwndRenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1HwndRenderTarget_FillGeometry(ID2D1HwndRenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,ID2D1Brush *opacity_brush) { + This->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush); +} +static FORCEINLINE void ID2D1HwndRenderTarget_FillMesh(ID2D1HwndRenderTarget* This,ID2D1Mesh *mesh,ID2D1Brush *brush) { + This->lpVtbl->FillMesh(This,mesh,brush); +} +static FORCEINLINE void ID2D1HwndRenderTarget_FillOpacityMask(ID2D1HwndRenderTarget* This,ID2D1Bitmap *mask,ID2D1Brush *brush,D2D1_OPACITY_MASK_CONTENT content,const D2D1_RECT_F *dst_rect,const D2D1_RECT_F *src_rect) { + This->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawBitmap(ID2D1HwndRenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_RECT_F *dst_rect,float opacity,D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode,const D2D1_RECT_F *src_rect) { + This->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawText(ID2D1HwndRenderTarget* This,const WCHAR *string,UINT32 string_len,IDWriteTextFormat *text_format,const D2D1_RECT_F *layout_rect,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawTextLayout(ID2D1HwndRenderTarget* This,D2D1_POINT_2F origin,IDWriteTextLayout *layout,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options) { + This->lpVtbl->DrawTextLayout(This,origin,layout,brush,options); +} +static FORCEINLINE void ID2D1HwndRenderTarget_DrawGlyphRun(ID2D1HwndRenderTarget* This,D2D1_POINT_2F baseline_origin,const DWRITE_GLYPH_RUN *glyph_run,ID2D1Brush *brush,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SetTransform(ID2D1HwndRenderTarget* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE void ID2D1HwndRenderTarget_GetTransform(ID2D1HwndRenderTarget* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SetAntialiasMode(ID2D1HwndRenderTarget* This,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_ANTIALIAS_MODE ID2D1HwndRenderTarget_GetAntialiasMode(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->GetAntialiasMode(This); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SetTextAntialiasMode(ID2D1HwndRenderTarget* This,D2D1_TEXT_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetTextAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_TEXT_ANTIALIAS_MODE ID2D1HwndRenderTarget_GetTextAntialiasMode(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->GetTextAntialiasMode(This); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SetTextRenderingParams(ID2D1HwndRenderTarget* This,IDWriteRenderingParams *text_rendering_params) { + This->lpVtbl->SetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1HwndRenderTarget_GetTextRenderingParams(ID2D1HwndRenderTarget* This,IDWriteRenderingParams **text_rendering_params) { + This->lpVtbl->GetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SetTags(ID2D1HwndRenderTarget* This,D2D1_TAG tag1,D2D1_TAG tag2) { + This->lpVtbl->SetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1HwndRenderTarget_GetTags(ID2D1HwndRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + This->lpVtbl->GetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1HwndRenderTarget_PushLayer(ID2D1HwndRenderTarget* This,const D2D1_LAYER_PARAMETERS *layer_parameters,ID2D1Layer *layer) { + This->lpVtbl->PushLayer(This,layer_parameters,layer); +} +static FORCEINLINE void ID2D1HwndRenderTarget_PopLayer(ID2D1HwndRenderTarget* This) { + This->lpVtbl->PopLayer(This); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_Flush(ID2D1HwndRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->Flush(This,tag1,tag2); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SaveDrawingState(ID2D1HwndRenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->SaveDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1HwndRenderTarget_RestoreDrawingState(ID2D1HwndRenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->RestoreDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1HwndRenderTarget_PushAxisAlignedClip(ID2D1HwndRenderTarget* This,const D2D1_RECT_F *clip_rect,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode); +} +static FORCEINLINE void ID2D1HwndRenderTarget_PopAxisAlignedClip(ID2D1HwndRenderTarget* This) { + This->lpVtbl->PopAxisAlignedClip(This); +} +static FORCEINLINE void ID2D1HwndRenderTarget_Clear(ID2D1HwndRenderTarget* This,const D2D1_COLOR_F *color) { + This->lpVtbl->Clear(This,color); +} +static FORCEINLINE void ID2D1HwndRenderTarget_BeginDraw(ID2D1HwndRenderTarget* This) { + This->lpVtbl->BeginDraw(This); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_EndDraw(ID2D1HwndRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->EndDraw(This,tag1,tag2); +} +static FORCEINLINE D2D1_PIXEL_FORMAT ID2D1HwndRenderTarget_GetPixelFormat(ID2D1HwndRenderTarget* This) { + D2D1_PIXEL_FORMAT __ret; + return *This->lpVtbl->GetPixelFormat(This,&__ret); +} +static FORCEINLINE void ID2D1HwndRenderTarget_SetDpi(ID2D1HwndRenderTarget* This,float dpi_x,float dpi_y) { + This->lpVtbl->SetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE void ID2D1HwndRenderTarget_GetDpi(ID2D1HwndRenderTarget* This,float *dpi_x,float *dpi_y) { + This->lpVtbl->GetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE D2D1_SIZE_F ID2D1HwndRenderTarget_GetSize(ID2D1HwndRenderTarget* This) { + D2D1_SIZE_F __ret; + return *This->lpVtbl->GetSize(This,&__ret); +} +static FORCEINLINE D2D1_SIZE_U ID2D1HwndRenderTarget_GetPixelSize(ID2D1HwndRenderTarget* This) { + D2D1_SIZE_U __ret; + return *This->lpVtbl->GetPixelSize(This,&__ret); +} +static FORCEINLINE UINT32 ID2D1HwndRenderTarget_GetMaximumBitmapSize(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->GetMaximumBitmapSize(This); +} +static FORCEINLINE BOOL ID2D1HwndRenderTarget_IsSupported(ID2D1HwndRenderTarget* This,const D2D1_RENDER_TARGET_PROPERTIES *desc) { + return This->lpVtbl->IsSupported(This,desc); +} +/*** ID2D1HwndRenderTarget methods ***/ +static FORCEINLINE D2D1_WINDOW_STATE ID2D1HwndRenderTarget_CheckWindowState(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->CheckWindowState(This); +} +static FORCEINLINE HRESULT ID2D1HwndRenderTarget_Resize(ID2D1HwndRenderTarget* This,const D2D1_SIZE_U *size) { + return This->lpVtbl->Resize(This,size); +} +static FORCEINLINE HWND ID2D1HwndRenderTarget_GetHwnd(ID2D1HwndRenderTarget* This) { + return This->lpVtbl->GetHwnd(This); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1HwndRenderTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1DCRenderTarget interface + */ +#ifndef __ID2D1DCRenderTarget_INTERFACE_DEFINED__ +#define __ID2D1DCRenderTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1DCRenderTarget, 0x1c51bc64, 0xde61, 0x46fd, 0x98,0x99, 0x63,0xa5,0xd8,0xf0,0x39,0x50); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1c51bc64-de61-46fd-9899-63a5d8f03950") +ID2D1DCRenderTarget : public ID2D1RenderTarget +{ + virtual HRESULT STDMETHODCALLTYPE BindDC( + const HDC dc, + const RECT *rect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1DCRenderTarget, 0x1c51bc64, 0xde61, 0x46fd, 0x98,0x99, 0x63,0xa5,0xd8,0xf0,0x39,0x50) +#endif +#else +typedef struct ID2D1DCRenderTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1DCRenderTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1DCRenderTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1DCRenderTarget *This); + + /*** ID2D1Resource methods ***/ + void (STDMETHODCALLTYPE *GetFactory)( + ID2D1DCRenderTarget *This, + ID2D1Factory **factory); + + /*** ID2D1RenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + ID2D1DCRenderTarget *This, + D2D1_SIZE_U size, + const void *src_data, + UINT32 pitch, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromWicBitmap)( + ID2D1DCRenderTarget *This, + IWICBitmapSource *bitmap_source, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateSharedBitmap)( + ID2D1DCRenderTarget *This, + REFIID iid, + void *data, + const D2D1_BITMAP_PROPERTIES *desc, + ID2D1Bitmap **bitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapBrush)( + ID2D1DCRenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1BitmapBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)( + ID2D1DCRenderTarget *This, + const D2D1_COLOR_F *color, + const D2D1_BRUSH_PROPERTIES *desc, + ID2D1SolidColorBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateGradientStopCollection)( + ID2D1DCRenderTarget *This, + const D2D1_GRADIENT_STOP *stops, + UINT32 stop_count, + D2D1_GAMMA gamma, + D2D1_EXTEND_MODE extend_mode, + ID2D1GradientStopCollection **gradient); + + HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)( + ID2D1DCRenderTarget *This, + const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1LinearGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)( + ID2D1DCRenderTarget *This, + const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + const D2D1_BRUSH_PROPERTIES *brush_desc, + ID2D1GradientStopCollection *gradient, + ID2D1RadialGradientBrush **brush); + + HRESULT (STDMETHODCALLTYPE *CreateCompatibleRenderTarget)( + ID2D1DCRenderTarget *This, + const D2D1_SIZE_F *size, + const D2D1_SIZE_U *pixel_size, + const D2D1_PIXEL_FORMAT *format, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, + ID2D1BitmapRenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateLayer)( + ID2D1DCRenderTarget *This, + const D2D1_SIZE_F *size, + ID2D1Layer **layer); + + HRESULT (STDMETHODCALLTYPE *CreateMesh)( + ID2D1DCRenderTarget *This, + ID2D1Mesh **mesh); + + void (STDMETHODCALLTYPE *DrawLine)( + ID2D1DCRenderTarget *This, + D2D1_POINT_2F p0, + D2D1_POINT_2F p1, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *DrawRectangle)( + ID2D1DCRenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRectangle)( + ID2D1DCRenderTarget *This, + const D2D1_RECT_F *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawRoundedRectangle)( + ID2D1DCRenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillRoundedRectangle)( + ID2D1DCRenderTarget *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawEllipse)( + ID2D1DCRenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillEllipse)( + ID2D1DCRenderTarget *This, + const D2D1_ELLIPSE *ellipse, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *DrawGeometry)( + ID2D1DCRenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + float stroke_width, + ID2D1StrokeStyle *stroke_style); + + void (STDMETHODCALLTYPE *FillGeometry)( + ID2D1DCRenderTarget *This, + ID2D1Geometry *geometry, + ID2D1Brush *brush, + ID2D1Brush *opacity_brush); + + void (STDMETHODCALLTYPE *FillMesh)( + ID2D1DCRenderTarget *This, + ID2D1Mesh *mesh, + ID2D1Brush *brush); + + void (STDMETHODCALLTYPE *FillOpacityMask)( + ID2D1DCRenderTarget *This, + ID2D1Bitmap *mask, + ID2D1Brush *brush, + D2D1_OPACITY_MASK_CONTENT content, + const D2D1_RECT_F *dst_rect, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawBitmap)( + ID2D1DCRenderTarget *This, + ID2D1Bitmap *bitmap, + const D2D1_RECT_F *dst_rect, + float opacity, + D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode, + const D2D1_RECT_F *src_rect); + + void (STDMETHODCALLTYPE *DrawText)( + ID2D1DCRenderTarget *This, + const WCHAR *string, + UINT32 string_len, + IDWriteTextFormat *text_format, + const D2D1_RECT_F *layout_rect, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *DrawTextLayout)( + ID2D1DCRenderTarget *This, + D2D1_POINT_2F origin, + IDWriteTextLayout *layout, + ID2D1Brush *brush, + D2D1_DRAW_TEXT_OPTIONS options); + + void (STDMETHODCALLTYPE *DrawGlyphRun)( + ID2D1DCRenderTarget *This, + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *glyph_run, + ID2D1Brush *brush, + DWRITE_MEASURING_MODE measuring_mode); + + void (STDMETHODCALLTYPE *SetTransform)( + ID2D1DCRenderTarget *This, + const D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *GetTransform)( + ID2D1DCRenderTarget *This, + D2D1_MATRIX_3X2_F *transform); + + void (STDMETHODCALLTYPE *SetAntialiasMode)( + ID2D1DCRenderTarget *This, + D2D1_ANTIALIAS_MODE antialias_mode); + + D2D1_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetAntialiasMode)( + ID2D1DCRenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextAntialiasMode)( + ID2D1DCRenderTarget *This, + D2D1_TEXT_ANTIALIAS_MODE antialias_mode); + + D2D1_TEXT_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetTextAntialiasMode)( + ID2D1DCRenderTarget *This); + + void (STDMETHODCALLTYPE *SetTextRenderingParams)( + ID2D1DCRenderTarget *This, + IDWriteRenderingParams *text_rendering_params); + + void (STDMETHODCALLTYPE *GetTextRenderingParams)( + ID2D1DCRenderTarget *This, + IDWriteRenderingParams **text_rendering_params); + + void (STDMETHODCALLTYPE *SetTags)( + ID2D1DCRenderTarget *This, + D2D1_TAG tag1, + D2D1_TAG tag2); + + void (STDMETHODCALLTYPE *GetTags)( + ID2D1DCRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *PushLayer)( + ID2D1DCRenderTarget *This, + const D2D1_LAYER_PARAMETERS *layer_parameters, + ID2D1Layer *layer); + + void (STDMETHODCALLTYPE *PopLayer)( + ID2D1DCRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *Flush)( + ID2D1DCRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + void (STDMETHODCALLTYPE *SaveDrawingState)( + ID2D1DCRenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *RestoreDrawingState)( + ID2D1DCRenderTarget *This, + ID2D1DrawingStateBlock *state_block); + + void (STDMETHODCALLTYPE *PushAxisAlignedClip)( + ID2D1DCRenderTarget *This, + const D2D1_RECT_F *clip_rect, + D2D1_ANTIALIAS_MODE antialias_mode); + + void (STDMETHODCALLTYPE *PopAxisAlignedClip)( + ID2D1DCRenderTarget *This); + + void (STDMETHODCALLTYPE *Clear)( + ID2D1DCRenderTarget *This, + const D2D1_COLOR_F *color); + + void (STDMETHODCALLTYPE *BeginDraw)( + ID2D1DCRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *EndDraw)( + ID2D1DCRenderTarget *This, + D2D1_TAG *tag1, + D2D1_TAG *tag2); + + D2D1_PIXEL_FORMAT * (STDMETHODCALLTYPE *GetPixelFormat)( + ID2D1DCRenderTarget *This, + D2D1_PIXEL_FORMAT *__ret); + + void (STDMETHODCALLTYPE *SetDpi)( + ID2D1DCRenderTarget *This, + float dpi_x, + float dpi_y); + + void (STDMETHODCALLTYPE *GetDpi)( + ID2D1DCRenderTarget *This, + float *dpi_x, + float *dpi_y); + + D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( + ID2D1DCRenderTarget *This, + D2D1_SIZE_F *__ret); + + D2D1_SIZE_U * (STDMETHODCALLTYPE *GetPixelSize)( + ID2D1DCRenderTarget *This, + D2D1_SIZE_U *__ret); + + UINT32 (STDMETHODCALLTYPE *GetMaximumBitmapSize)( + ID2D1DCRenderTarget *This); + + BOOL (STDMETHODCALLTYPE *IsSupported)( + ID2D1DCRenderTarget *This, + const D2D1_RENDER_TARGET_PROPERTIES *desc); + + /*** ID2D1DCRenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *BindDC)( + ID2D1DCRenderTarget *This, + const HDC dc, + const RECT *rect); + + END_INTERFACE +} ID2D1DCRenderTargetVtbl; + +interface ID2D1DCRenderTarget { + CONST_VTBL ID2D1DCRenderTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1DCRenderTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1DCRenderTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1DCRenderTarget_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Resource methods ***/ +#define ID2D1DCRenderTarget_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory) +/*** ID2D1RenderTarget methods ***/ +#define ID2D1DCRenderTarget_CreateBitmap(This,size,src_data,pitch,desc,bitmap) (This)->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap) +#define ID2D1DCRenderTarget_CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) (This)->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) +#define ID2D1DCRenderTarget_CreateSharedBitmap(This,iid,data,desc,bitmap) (This)->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap) +#define ID2D1DCRenderTarget_CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) (This)->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush) +#define ID2D1DCRenderTarget_CreateSolidColorBrush(This,color,desc,brush) (This)->lpVtbl->CreateSolidColorBrush(This,color,desc,brush) +#define ID2D1DCRenderTarget_CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) (This)->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient) +#define ID2D1DCRenderTarget_CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1DCRenderTarget_CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) +#define ID2D1DCRenderTarget_CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) (This)->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) +#define ID2D1DCRenderTarget_CreateLayer(This,size,layer) (This)->lpVtbl->CreateLayer(This,size,layer) +#define ID2D1DCRenderTarget_CreateMesh(This,mesh) (This)->lpVtbl->CreateMesh(This,mesh) +#define ID2D1DCRenderTarget_DrawLine(This,p0,p1,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style) +#define ID2D1DCRenderTarget_DrawRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1DCRenderTarget_FillRectangle(This,rect,brush) (This)->lpVtbl->FillRectangle(This,rect,brush) +#define ID2D1DCRenderTarget_DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) +#define ID2D1DCRenderTarget_FillRoundedRectangle(This,rect,brush) (This)->lpVtbl->FillRoundedRectangle(This,rect,brush) +#define ID2D1DCRenderTarget_DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) +#define ID2D1DCRenderTarget_FillEllipse(This,ellipse,brush) (This)->lpVtbl->FillEllipse(This,ellipse,brush) +#define ID2D1DCRenderTarget_DrawGeometry(This,geometry,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style) +#define ID2D1DCRenderTarget_FillGeometry(This,geometry,brush,opacity_brush) (This)->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush) +#define ID2D1DCRenderTarget_FillMesh(This,mesh,brush) (This)->lpVtbl->FillMesh(This,mesh,brush) +#define ID2D1DCRenderTarget_FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) (This)->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect) +#define ID2D1DCRenderTarget_DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) (This)->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect) +#define ID2D1DCRenderTarget_DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) (This)->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) +#define ID2D1DCRenderTarget_DrawTextLayout(This,origin,layout,brush,options) (This)->lpVtbl->DrawTextLayout(This,origin,layout,brush,options) +#define ID2D1DCRenderTarget_DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) (This)->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode) +#define ID2D1DCRenderTarget_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform) +#define ID2D1DCRenderTarget_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform) +#define ID2D1DCRenderTarget_SetAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetAntialiasMode(This,antialias_mode) +#define ID2D1DCRenderTarget_GetAntialiasMode(This) (This)->lpVtbl->GetAntialiasMode(This) +#define ID2D1DCRenderTarget_SetTextAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetTextAntialiasMode(This,antialias_mode) +#define ID2D1DCRenderTarget_GetTextAntialiasMode(This) (This)->lpVtbl->GetTextAntialiasMode(This) +#define ID2D1DCRenderTarget_SetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->SetTextRenderingParams(This,text_rendering_params) +#define ID2D1DCRenderTarget_GetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->GetTextRenderingParams(This,text_rendering_params) +#define ID2D1DCRenderTarget_SetTags(This,tag1,tag2) (This)->lpVtbl->SetTags(This,tag1,tag2) +#define ID2D1DCRenderTarget_GetTags(This,tag1,tag2) (This)->lpVtbl->GetTags(This,tag1,tag2) +#define ID2D1DCRenderTarget_PushLayer(This,layer_parameters,layer) (This)->lpVtbl->PushLayer(This,layer_parameters,layer) +#define ID2D1DCRenderTarget_PopLayer(This) (This)->lpVtbl->PopLayer(This) +#define ID2D1DCRenderTarget_Flush(This,tag1,tag2) (This)->lpVtbl->Flush(This,tag1,tag2) +#define ID2D1DCRenderTarget_SaveDrawingState(This,state_block) (This)->lpVtbl->SaveDrawingState(This,state_block) +#define ID2D1DCRenderTarget_RestoreDrawingState(This,state_block) (This)->lpVtbl->RestoreDrawingState(This,state_block) +#define ID2D1DCRenderTarget_PushAxisAlignedClip(This,clip_rect,antialias_mode) (This)->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode) +#define ID2D1DCRenderTarget_PopAxisAlignedClip(This) (This)->lpVtbl->PopAxisAlignedClip(This) +#define ID2D1DCRenderTarget_Clear(This,color) (This)->lpVtbl->Clear(This,color) +#define ID2D1DCRenderTarget_BeginDraw(This) (This)->lpVtbl->BeginDraw(This) +#define ID2D1DCRenderTarget_EndDraw(This,tag1,tag2) (This)->lpVtbl->EndDraw(This,tag1,tag2) +#define ID2D1DCRenderTarget_SetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->SetDpi(This,dpi_x,dpi_y) +#define ID2D1DCRenderTarget_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y) +#define ID2D1DCRenderTarget_GetMaximumBitmapSize(This) (This)->lpVtbl->GetMaximumBitmapSize(This) +#define ID2D1DCRenderTarget_IsSupported(This,desc) (This)->lpVtbl->IsSupported(This,desc) +/*** ID2D1DCRenderTarget methods ***/ +#define ID2D1DCRenderTarget_BindDC(This,dc,rect) (This)->lpVtbl->BindDC(This,dc,rect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1DCRenderTarget_QueryInterface(ID2D1DCRenderTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1DCRenderTarget_AddRef(ID2D1DCRenderTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1DCRenderTarget_Release(ID2D1DCRenderTarget* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Resource methods ***/ +static FORCEINLINE void ID2D1DCRenderTarget_GetFactory(ID2D1DCRenderTarget* This,ID2D1Factory **factory) { + This->lpVtbl->GetFactory(This,factory); +} +/*** ID2D1RenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateBitmap(ID2D1DCRenderTarget* This,D2D1_SIZE_U size,const void *src_data,UINT32 pitch,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmap(This,size,src_data,pitch,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateBitmapFromWicBitmap(ID2D1DCRenderTarget* This,IWICBitmapSource *bitmap_source,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateSharedBitmap(ID2D1DCRenderTarget* This,REFIID iid,void *data,const D2D1_BITMAP_PROPERTIES *desc,ID2D1Bitmap **bitmap) { + return This->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateBitmapBrush(ID2D1DCRenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1BitmapBrush **brush) { + return This->lpVtbl->CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,brush); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateSolidColorBrush(ID2D1DCRenderTarget* This,const D2D1_COLOR_F *color,const D2D1_BRUSH_PROPERTIES *desc,ID2D1SolidColorBrush **brush) { + return This->lpVtbl->CreateSolidColorBrush(This,color,desc,brush); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateGradientStopCollection(ID2D1DCRenderTarget* This,const D2D1_GRADIENT_STOP *stops,UINT32 stop_count,D2D1_GAMMA gamma,D2D1_EXTEND_MODE extend_mode,ID2D1GradientStopCollection **gradient) { + return This->lpVtbl->CreateGradientStopCollection(This,stops,stop_count,gamma,extend_mode,gradient); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateLinearGradientBrush(ID2D1DCRenderTarget* This,const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1LinearGradientBrush **brush) { + return This->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateRadialGradientBrush(ID2D1DCRenderTarget* This,const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc,const D2D1_BRUSH_PROPERTIES *brush_desc,ID2D1GradientStopCollection *gradient,ID2D1RadialGradientBrush **brush) { + return This->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateCompatibleRenderTarget(ID2D1DCRenderTarget* This,const D2D1_SIZE_F *size,const D2D1_SIZE_U *pixel_size,const D2D1_PIXEL_FORMAT *format,D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,ID2D1BitmapRenderTarget **render_target) { + return This->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateLayer(ID2D1DCRenderTarget* This,const D2D1_SIZE_F *size,ID2D1Layer **layer) { + return This->lpVtbl->CreateLayer(This,size,layer); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_CreateMesh(ID2D1DCRenderTarget* This,ID2D1Mesh **mesh) { + return This->lpVtbl->CreateMesh(This,mesh); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawLine(ID2D1DCRenderTarget* This,D2D1_POINT_2F p0,D2D1_POINT_2F p1,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawRectangle(ID2D1DCRenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1DCRenderTarget_FillRectangle(ID2D1DCRenderTarget* This,const D2D1_RECT_F *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawRoundedRectangle(ID2D1DCRenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1DCRenderTarget_FillRoundedRectangle(ID2D1DCRenderTarget* This,const D2D1_ROUNDED_RECT *rect,ID2D1Brush *brush) { + This->lpVtbl->FillRoundedRectangle(This,rect,brush); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawEllipse(ID2D1DCRenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1DCRenderTarget_FillEllipse(ID2D1DCRenderTarget* This,const D2D1_ELLIPSE *ellipse,ID2D1Brush *brush) { + This->lpVtbl->FillEllipse(This,ellipse,brush); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawGeometry(ID2D1DCRenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,float stroke_width,ID2D1StrokeStyle *stroke_style) { + This->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style); +} +static FORCEINLINE void ID2D1DCRenderTarget_FillGeometry(ID2D1DCRenderTarget* This,ID2D1Geometry *geometry,ID2D1Brush *brush,ID2D1Brush *opacity_brush) { + This->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush); +} +static FORCEINLINE void ID2D1DCRenderTarget_FillMesh(ID2D1DCRenderTarget* This,ID2D1Mesh *mesh,ID2D1Brush *brush) { + This->lpVtbl->FillMesh(This,mesh,brush); +} +static FORCEINLINE void ID2D1DCRenderTarget_FillOpacityMask(ID2D1DCRenderTarget* This,ID2D1Bitmap *mask,ID2D1Brush *brush,D2D1_OPACITY_MASK_CONTENT content,const D2D1_RECT_F *dst_rect,const D2D1_RECT_F *src_rect) { + This->lpVtbl->FillOpacityMask(This,mask,brush,content,dst_rect,src_rect); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawBitmap(ID2D1DCRenderTarget* This,ID2D1Bitmap *bitmap,const D2D1_RECT_F *dst_rect,float opacity,D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode,const D2D1_RECT_F *src_rect) { + This->lpVtbl->DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawText(ID2D1DCRenderTarget* This,const WCHAR *string,UINT32 string_len,IDWriteTextFormat *text_format,const D2D1_RECT_F *layout_rect,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawTextLayout(ID2D1DCRenderTarget* This,D2D1_POINT_2F origin,IDWriteTextLayout *layout,ID2D1Brush *brush,D2D1_DRAW_TEXT_OPTIONS options) { + This->lpVtbl->DrawTextLayout(This,origin,layout,brush,options); +} +static FORCEINLINE void ID2D1DCRenderTarget_DrawGlyphRun(ID2D1DCRenderTarget* This,D2D1_POINT_2F baseline_origin,const DWRITE_GLYPH_RUN *glyph_run,ID2D1Brush *brush,DWRITE_MEASURING_MODE measuring_mode) { + This->lpVtbl->DrawGlyphRun(This,baseline_origin,glyph_run,brush,measuring_mode); +} +static FORCEINLINE void ID2D1DCRenderTarget_SetTransform(ID2D1DCRenderTarget* This,const D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->SetTransform(This,transform); +} +static FORCEINLINE void ID2D1DCRenderTarget_GetTransform(ID2D1DCRenderTarget* This,D2D1_MATRIX_3X2_F *transform) { + This->lpVtbl->GetTransform(This,transform); +} +static FORCEINLINE void ID2D1DCRenderTarget_SetAntialiasMode(ID2D1DCRenderTarget* This,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_ANTIALIAS_MODE ID2D1DCRenderTarget_GetAntialiasMode(ID2D1DCRenderTarget* This) { + return This->lpVtbl->GetAntialiasMode(This); +} +static FORCEINLINE void ID2D1DCRenderTarget_SetTextAntialiasMode(ID2D1DCRenderTarget* This,D2D1_TEXT_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->SetTextAntialiasMode(This,antialias_mode); +} +static FORCEINLINE D2D1_TEXT_ANTIALIAS_MODE ID2D1DCRenderTarget_GetTextAntialiasMode(ID2D1DCRenderTarget* This) { + return This->lpVtbl->GetTextAntialiasMode(This); +} +static FORCEINLINE void ID2D1DCRenderTarget_SetTextRenderingParams(ID2D1DCRenderTarget* This,IDWriteRenderingParams *text_rendering_params) { + This->lpVtbl->SetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1DCRenderTarget_GetTextRenderingParams(ID2D1DCRenderTarget* This,IDWriteRenderingParams **text_rendering_params) { + This->lpVtbl->GetTextRenderingParams(This,text_rendering_params); +} +static FORCEINLINE void ID2D1DCRenderTarget_SetTags(ID2D1DCRenderTarget* This,D2D1_TAG tag1,D2D1_TAG tag2) { + This->lpVtbl->SetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1DCRenderTarget_GetTags(ID2D1DCRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + This->lpVtbl->GetTags(This,tag1,tag2); +} +static FORCEINLINE void ID2D1DCRenderTarget_PushLayer(ID2D1DCRenderTarget* This,const D2D1_LAYER_PARAMETERS *layer_parameters,ID2D1Layer *layer) { + This->lpVtbl->PushLayer(This,layer_parameters,layer); +} +static FORCEINLINE void ID2D1DCRenderTarget_PopLayer(ID2D1DCRenderTarget* This) { + This->lpVtbl->PopLayer(This); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_Flush(ID2D1DCRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->Flush(This,tag1,tag2); +} +static FORCEINLINE void ID2D1DCRenderTarget_SaveDrawingState(ID2D1DCRenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->SaveDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1DCRenderTarget_RestoreDrawingState(ID2D1DCRenderTarget* This,ID2D1DrawingStateBlock *state_block) { + This->lpVtbl->RestoreDrawingState(This,state_block); +} +static FORCEINLINE void ID2D1DCRenderTarget_PushAxisAlignedClip(ID2D1DCRenderTarget* This,const D2D1_RECT_F *clip_rect,D2D1_ANTIALIAS_MODE antialias_mode) { + This->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode); +} +static FORCEINLINE void ID2D1DCRenderTarget_PopAxisAlignedClip(ID2D1DCRenderTarget* This) { + This->lpVtbl->PopAxisAlignedClip(This); +} +static FORCEINLINE void ID2D1DCRenderTarget_Clear(ID2D1DCRenderTarget* This,const D2D1_COLOR_F *color) { + This->lpVtbl->Clear(This,color); +} +static FORCEINLINE void ID2D1DCRenderTarget_BeginDraw(ID2D1DCRenderTarget* This) { + This->lpVtbl->BeginDraw(This); +} +static FORCEINLINE HRESULT ID2D1DCRenderTarget_EndDraw(ID2D1DCRenderTarget* This,D2D1_TAG *tag1,D2D1_TAG *tag2) { + return This->lpVtbl->EndDraw(This,tag1,tag2); +} +static FORCEINLINE D2D1_PIXEL_FORMAT ID2D1DCRenderTarget_GetPixelFormat(ID2D1DCRenderTarget* This) { + D2D1_PIXEL_FORMAT __ret; + return *This->lpVtbl->GetPixelFormat(This,&__ret); +} +static FORCEINLINE void ID2D1DCRenderTarget_SetDpi(ID2D1DCRenderTarget* This,float dpi_x,float dpi_y) { + This->lpVtbl->SetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE void ID2D1DCRenderTarget_GetDpi(ID2D1DCRenderTarget* This,float *dpi_x,float *dpi_y) { + This->lpVtbl->GetDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE D2D1_SIZE_F ID2D1DCRenderTarget_GetSize(ID2D1DCRenderTarget* This) { + D2D1_SIZE_F __ret; + return *This->lpVtbl->GetSize(This,&__ret); +} +static FORCEINLINE D2D1_SIZE_U ID2D1DCRenderTarget_GetPixelSize(ID2D1DCRenderTarget* This) { + D2D1_SIZE_U __ret; + return *This->lpVtbl->GetPixelSize(This,&__ret); +} +static FORCEINLINE UINT32 ID2D1DCRenderTarget_GetMaximumBitmapSize(ID2D1DCRenderTarget* This) { + return This->lpVtbl->GetMaximumBitmapSize(This); +} +static FORCEINLINE BOOL ID2D1DCRenderTarget_IsSupported(ID2D1DCRenderTarget* This,const D2D1_RENDER_TARGET_PROPERTIES *desc) { + return This->lpVtbl->IsSupported(This,desc); +} +/*** ID2D1DCRenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1DCRenderTarget_BindDC(ID2D1DCRenderTarget* This,const HDC dc,const RECT *rect) { + return This->lpVtbl->BindDC(This,dc,rect); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1DCRenderTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1GdiInteropRenderTarget interface + */ +#ifndef __ID2D1GdiInteropRenderTarget_INTERFACE_DEFINED__ +#define __ID2D1GdiInteropRenderTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1GdiInteropRenderTarget, 0xe0db51c3, 0x6f77, 0x4bae, 0xb3,0xd5, 0xe4,0x75,0x09,0xb3,0x58,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e0db51c3-6f77-4bae-b3d5-e47509b35838") +ID2D1GdiInteropRenderTarget : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDC( + D2D1_DC_INITIALIZE_MODE mode, + HDC *dc) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseDC( + const RECT *update) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1GdiInteropRenderTarget, 0xe0db51c3, 0x6f77, 0x4bae, 0xb3,0xd5, 0xe4,0x75,0x09,0xb3,0x58,0x38) +#endif +#else +typedef struct ID2D1GdiInteropRenderTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1GdiInteropRenderTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1GdiInteropRenderTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1GdiInteropRenderTarget *This); + + /*** ID2D1GdiInteropRenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDC)( + ID2D1GdiInteropRenderTarget *This, + D2D1_DC_INITIALIZE_MODE mode, + HDC *dc); + + HRESULT (STDMETHODCALLTYPE *ReleaseDC)( + ID2D1GdiInteropRenderTarget *This, + const RECT *update); + + END_INTERFACE +} ID2D1GdiInteropRenderTargetVtbl; + +interface ID2D1GdiInteropRenderTarget { + CONST_VTBL ID2D1GdiInteropRenderTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1GdiInteropRenderTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1GdiInteropRenderTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1GdiInteropRenderTarget_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1GdiInteropRenderTarget methods ***/ +#define ID2D1GdiInteropRenderTarget_GetDC(This,mode,dc) (This)->lpVtbl->GetDC(This,mode,dc) +#define ID2D1GdiInteropRenderTarget_ReleaseDC(This,update) (This)->lpVtbl->ReleaseDC(This,update) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1GdiInteropRenderTarget_QueryInterface(ID2D1GdiInteropRenderTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1GdiInteropRenderTarget_AddRef(ID2D1GdiInteropRenderTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1GdiInteropRenderTarget_Release(ID2D1GdiInteropRenderTarget* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1GdiInteropRenderTarget methods ***/ +static FORCEINLINE HRESULT ID2D1GdiInteropRenderTarget_GetDC(ID2D1GdiInteropRenderTarget* This,D2D1_DC_INITIALIZE_MODE mode,HDC *dc) { + return This->lpVtbl->GetDC(This,mode,dc); +} +static FORCEINLINE HRESULT ID2D1GdiInteropRenderTarget_ReleaseDC(ID2D1GdiInteropRenderTarget* This,const RECT *update) { + return This->lpVtbl->ReleaseDC(This,update); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1GdiInteropRenderTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID2D1Factory interface + */ +#ifndef __ID2D1Factory_INTERFACE_DEFINED__ +#define __ID2D1Factory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID2D1Factory, 0x06152247, 0x6f50, 0x465a, 0x92,0x45, 0x11,0x8b,0xfd,0x3b,0x60,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("06152247-6f50-465a-9245-118bfd3b6007") +ID2D1Factory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ReloadSystemMetrics( + ) = 0; + + virtual void STDMETHODCALLTYPE GetDesktopDpi( + float *dpi_x, + float *dpi_y) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRectangleGeometry( + const D2D1_RECT_F *rect, + ID2D1RectangleGeometry **geometry) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRoundedRectangleGeometry( + const D2D1_ROUNDED_RECT *rect, + ID2D1RoundedRectangleGeometry **geometry) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateEllipseGeometry( + const D2D1_ELLIPSE *ellipse, + ID2D1EllipseGeometry **geometry) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGeometryGroup( + D2D1_FILL_MODE fill_mode, + ID2D1Geometry **geometries, + UINT32 geometry_count, + ID2D1GeometryGroup **group) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTransformedGeometry( + ID2D1Geometry *src_geometry, + const D2D1_MATRIX_3X2_F *transform, + ID2D1TransformedGeometry **transformed_geometry) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePathGeometry( + ID2D1PathGeometry **geometry) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStrokeStyle( + const D2D1_STROKE_STYLE_PROPERTIES *desc, + const float *dashes, + UINT32 dash_count, + ID2D1StrokeStyle **stroke_style) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDrawingStateBlock( + const D2D1_DRAWING_STATE_DESCRIPTION *desc, + IDWriteRenderingParams *text_rendering_params, + ID2D1DrawingStateBlock **state_block) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateWicBitmapRenderTarget( + IWICBitmap *target, + const D2D1_RENDER_TARGET_PROPERTIES *desc, + ID2D1RenderTarget **render_target) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateHwndRenderTarget( + const D2D1_RENDER_TARGET_PROPERTIES *desc, + const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwnd_rt_desc, + ID2D1HwndRenderTarget **render_target) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDxgiSurfaceRenderTarget( + IDXGISurface *surface, + const D2D1_RENDER_TARGET_PROPERTIES *desc, + ID2D1RenderTarget **render_target) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDCRenderTarget( + const D2D1_RENDER_TARGET_PROPERTIES *desc, + ID2D1DCRenderTarget **render_target) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID2D1Factory, 0x06152247, 0x6f50, 0x465a, 0x92,0x45, 0x11,0x8b,0xfd,0x3b,0x60,0x07) +#endif +#else +typedef struct ID2D1FactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID2D1Factory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID2D1Factory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID2D1Factory *This); + + /*** ID2D1Factory methods ***/ + HRESULT (STDMETHODCALLTYPE *ReloadSystemMetrics)( + ID2D1Factory *This); + + void (STDMETHODCALLTYPE *GetDesktopDpi)( + ID2D1Factory *This, + float *dpi_x, + float *dpi_y); + + HRESULT (STDMETHODCALLTYPE *CreateRectangleGeometry)( + ID2D1Factory *This, + const D2D1_RECT_F *rect, + ID2D1RectangleGeometry **geometry); + + HRESULT (STDMETHODCALLTYPE *CreateRoundedRectangleGeometry)( + ID2D1Factory *This, + const D2D1_ROUNDED_RECT *rect, + ID2D1RoundedRectangleGeometry **geometry); + + HRESULT (STDMETHODCALLTYPE *CreateEllipseGeometry)( + ID2D1Factory *This, + const D2D1_ELLIPSE *ellipse, + ID2D1EllipseGeometry **geometry); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryGroup)( + ID2D1Factory *This, + D2D1_FILL_MODE fill_mode, + ID2D1Geometry **geometries, + UINT32 geometry_count, + ID2D1GeometryGroup **group); + + HRESULT (STDMETHODCALLTYPE *CreateTransformedGeometry)( + ID2D1Factory *This, + ID2D1Geometry *src_geometry, + const D2D1_MATRIX_3X2_F *transform, + ID2D1TransformedGeometry **transformed_geometry); + + HRESULT (STDMETHODCALLTYPE *CreatePathGeometry)( + ID2D1Factory *This, + ID2D1PathGeometry **geometry); + + HRESULT (STDMETHODCALLTYPE *CreateStrokeStyle)( + ID2D1Factory *This, + const D2D1_STROKE_STYLE_PROPERTIES *desc, + const float *dashes, + UINT32 dash_count, + ID2D1StrokeStyle **stroke_style); + + HRESULT (STDMETHODCALLTYPE *CreateDrawingStateBlock)( + ID2D1Factory *This, + const D2D1_DRAWING_STATE_DESCRIPTION *desc, + IDWriteRenderingParams *text_rendering_params, + ID2D1DrawingStateBlock **state_block); + + HRESULT (STDMETHODCALLTYPE *CreateWicBitmapRenderTarget)( + ID2D1Factory *This, + IWICBitmap *target, + const D2D1_RENDER_TARGET_PROPERTIES *desc, + ID2D1RenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateHwndRenderTarget)( + ID2D1Factory *This, + const D2D1_RENDER_TARGET_PROPERTIES *desc, + const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwnd_rt_desc, + ID2D1HwndRenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateDxgiSurfaceRenderTarget)( + ID2D1Factory *This, + IDXGISurface *surface, + const D2D1_RENDER_TARGET_PROPERTIES *desc, + ID2D1RenderTarget **render_target); + + HRESULT (STDMETHODCALLTYPE *CreateDCRenderTarget)( + ID2D1Factory *This, + const D2D1_RENDER_TARGET_PROPERTIES *desc, + ID2D1DCRenderTarget **render_target); + + END_INTERFACE +} ID2D1FactoryVtbl; + +interface ID2D1Factory { + CONST_VTBL ID2D1FactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID2D1Factory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID2D1Factory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID2D1Factory_Release(This) (This)->lpVtbl->Release(This) +/*** ID2D1Factory methods ***/ +#define ID2D1Factory_ReloadSystemMetrics(This) (This)->lpVtbl->ReloadSystemMetrics(This) +#define ID2D1Factory_GetDesktopDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDesktopDpi(This,dpi_x,dpi_y) +#define ID2D1Factory_CreateRectangleGeometry(This,rect,geometry) (This)->lpVtbl->CreateRectangleGeometry(This,rect,geometry) +#define ID2D1Factory_CreateRoundedRectangleGeometry(This,rect,geometry) (This)->lpVtbl->CreateRoundedRectangleGeometry(This,rect,geometry) +#define ID2D1Factory_CreateEllipseGeometry(This,ellipse,geometry) (This)->lpVtbl->CreateEllipseGeometry(This,ellipse,geometry) +#define ID2D1Factory_CreateGeometryGroup(This,fill_mode,geometries,geometry_count,group) (This)->lpVtbl->CreateGeometryGroup(This,fill_mode,geometries,geometry_count,group) +#define ID2D1Factory_CreateTransformedGeometry(This,src_geometry,transform,transformed_geometry) (This)->lpVtbl->CreateTransformedGeometry(This,src_geometry,transform,transformed_geometry) +#define ID2D1Factory_CreatePathGeometry(This,geometry) (This)->lpVtbl->CreatePathGeometry(This,geometry) +#define ID2D1Factory_CreateStrokeStyle(This,desc,dashes,dash_count,stroke_style) (This)->lpVtbl->CreateStrokeStyle(This,desc,dashes,dash_count,stroke_style) +#define ID2D1Factory_CreateDrawingStateBlock(This,desc,text_rendering_params,state_block) (This)->lpVtbl->CreateDrawingStateBlock(This,desc,text_rendering_params,state_block) +#define ID2D1Factory_CreateWicBitmapRenderTarget(This,target,desc,render_target) (This)->lpVtbl->CreateWicBitmapRenderTarget(This,target,desc,render_target) +#define ID2D1Factory_CreateHwndRenderTarget(This,desc,hwnd_rt_desc,render_target) (This)->lpVtbl->CreateHwndRenderTarget(This,desc,hwnd_rt_desc,render_target) +#define ID2D1Factory_CreateDxgiSurfaceRenderTarget(This,surface,desc,render_target) (This)->lpVtbl->CreateDxgiSurfaceRenderTarget(This,surface,desc,render_target) +#define ID2D1Factory_CreateDCRenderTarget(This,desc,render_target) (This)->lpVtbl->CreateDCRenderTarget(This,desc,render_target) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID2D1Factory_QueryInterface(ID2D1Factory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID2D1Factory_AddRef(ID2D1Factory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID2D1Factory_Release(ID2D1Factory* This) { + return This->lpVtbl->Release(This); +} +/*** ID2D1Factory methods ***/ +static FORCEINLINE HRESULT ID2D1Factory_ReloadSystemMetrics(ID2D1Factory* This) { + return This->lpVtbl->ReloadSystemMetrics(This); +} +static FORCEINLINE void ID2D1Factory_GetDesktopDpi(ID2D1Factory* This,float *dpi_x,float *dpi_y) { + This->lpVtbl->GetDesktopDpi(This,dpi_x,dpi_y); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateRectangleGeometry(ID2D1Factory* This,const D2D1_RECT_F *rect,ID2D1RectangleGeometry **geometry) { + return This->lpVtbl->CreateRectangleGeometry(This,rect,geometry); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateRoundedRectangleGeometry(ID2D1Factory* This,const D2D1_ROUNDED_RECT *rect,ID2D1RoundedRectangleGeometry **geometry) { + return This->lpVtbl->CreateRoundedRectangleGeometry(This,rect,geometry); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateEllipseGeometry(ID2D1Factory* This,const D2D1_ELLIPSE *ellipse,ID2D1EllipseGeometry **geometry) { + return This->lpVtbl->CreateEllipseGeometry(This,ellipse,geometry); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateGeometryGroup(ID2D1Factory* This,D2D1_FILL_MODE fill_mode,ID2D1Geometry **geometries,UINT32 geometry_count,ID2D1GeometryGroup **group) { + return This->lpVtbl->CreateGeometryGroup(This,fill_mode,geometries,geometry_count,group); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateTransformedGeometry(ID2D1Factory* This,ID2D1Geometry *src_geometry,const D2D1_MATRIX_3X2_F *transform,ID2D1TransformedGeometry **transformed_geometry) { + return This->lpVtbl->CreateTransformedGeometry(This,src_geometry,transform,transformed_geometry); +} +static FORCEINLINE HRESULT ID2D1Factory_CreatePathGeometry(ID2D1Factory* This,ID2D1PathGeometry **geometry) { + return This->lpVtbl->CreatePathGeometry(This,geometry); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateStrokeStyle(ID2D1Factory* This,const D2D1_STROKE_STYLE_PROPERTIES *desc,const float *dashes,UINT32 dash_count,ID2D1StrokeStyle **stroke_style) { + return This->lpVtbl->CreateStrokeStyle(This,desc,dashes,dash_count,stroke_style); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateDrawingStateBlock(ID2D1Factory* This,const D2D1_DRAWING_STATE_DESCRIPTION *desc,IDWriteRenderingParams *text_rendering_params,ID2D1DrawingStateBlock **state_block) { + return This->lpVtbl->CreateDrawingStateBlock(This,desc,text_rendering_params,state_block); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateWicBitmapRenderTarget(ID2D1Factory* This,IWICBitmap *target,const D2D1_RENDER_TARGET_PROPERTIES *desc,ID2D1RenderTarget **render_target) { + return This->lpVtbl->CreateWicBitmapRenderTarget(This,target,desc,render_target); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateHwndRenderTarget(ID2D1Factory* This,const D2D1_RENDER_TARGET_PROPERTIES *desc,const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwnd_rt_desc,ID2D1HwndRenderTarget **render_target) { + return This->lpVtbl->CreateHwndRenderTarget(This,desc,hwnd_rt_desc,render_target); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateDxgiSurfaceRenderTarget(ID2D1Factory* This,IDXGISurface *surface,const D2D1_RENDER_TARGET_PROPERTIES *desc,ID2D1RenderTarget **render_target) { + return This->lpVtbl->CreateDxgiSurfaceRenderTarget(This,surface,desc,render_target); +} +static FORCEINLINE HRESULT ID2D1Factory_CreateDCRenderTarget(ID2D1Factory* This,const D2D1_RENDER_TARGET_PROPERTIES *desc,ID2D1DCRenderTarget **render_target) { + return This->lpVtbl->CreateDCRenderTarget(This,desc,render_target); +} +#endif +#endif + +#endif + + +#endif /* __ID2D1Factory_INTERFACE_DEFINED__ */ + +HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type,REFIID iid,const D2D1_FACTORY_OPTIONS *factory_options,void **factory); + +void __stdcall D2D1MakeRotateMatrix(float angle,D2D1_POINT_2F center,D2D1_MATRIX_3X2_F *matrix); + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d2d1_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2d1.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2d1.idl new file mode 100644 index 0000000..fbfb40d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2d1.idl @@ -0,0 +1,1257 @@ +/* + * Copyright 2013 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "dcommon.idl"; +import "d2dbasetypes.h"; +import "d3d10_1.idl"; +import "d2derr.h"; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef DrawText") +cpp_quote("#endif") + +interface ID2D1Factory; +interface ID2D1RenderTarget; +interface ID2D1BitmapRenderTarget; +interface ID2D1Geometry; +interface ID2D1Brush; +interface IDWriteRenderingParams; +interface IDWriteTextFormat; +interface IDWriteTextLayout; +interface IWICBitmapSource; +interface IWICBitmap; + +cpp_quote("#ifndef __dwrite_h__") +/* already defined in dwrite.h but needed for WIDL */ +typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN; +cpp_quote("#endif /* __dwrite_h__ */") + +typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F; +typedef D2D_RECT_F D2D1_RECT_F; +typedef D2D_SIZE_F D2D1_SIZE_F; +typedef UINT64 D2D1_TAG; +typedef D2D_POINT_2U D2D1_POINT_2U; +typedef D2D_RECT_U D2D1_RECT_U; +typedef D2D_COLOR_F D2D1_COLOR_F; + +cpp_quote("#define D2D1_DEFAULT_FLATTENING_TOLERANCE (0.25f)") + +enum +{ + D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR = 0, + D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR = 1, + D2D1_INTERPOLATION_MODE_DEFINITION_CUBIC = 2, + D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR = 3, + D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC = 4, + D2D1_INTERPOLATION_MODE_DEFINITION_HIGH_QUALITY_CUBIC = 5, + D2D1_INTERPOLATION_MODE_DEFINITION_FANT = 6, + D2D1_INTERPOLATION_MODE_DEFINITION_MIPMAP_LINEAR = 7, +}; + +typedef enum D2D1_DEBUG_LEVEL +{ + D2D1_DEBUG_LEVEL_NONE = 0, + D2D1_DEBUG_LEVEL_ERROR = 1, + D2D1_DEBUG_LEVEL_WARNING = 2, + D2D1_DEBUG_LEVEL_INFORMATION = 3, + D2D1_DEBUG_LEVEL_FORCE_DWORD = 0xffffffff, +} D2D1_DEBUG_LEVEL; + +typedef enum D2D1_FACTORY_TYPE +{ + D2D1_FACTORY_TYPE_SINGLE_THREADED = 0, + D2D1_FACTORY_TYPE_MULTI_THREADED = 1, + D2D1_FACTORY_TYPE_FORCE_DWORD = 0xfffffff, +} D2D1_FACTORY_TYPE; + +typedef enum D2D1_FILL_MODE +{ + D2D1_FILL_MODE_ALTERNATE = 0, + D2D1_FILL_MODE_WINDING = 1, + D2D1_FILL_MODE_FORCE_DWORD = 0xffffffff +} D2D1_FILL_MODE; + +typedef enum D2D1_PATH_SEGMENT +{ + D2D1_PATH_SEGMENT_NONE = 0, + D2D1_PATH_SEGMENT_FORCE_UNSTROKED = 1, + D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN = 2, + D2D1_PATH_SEGMENT_FORCE_DWORD = 0xffffffff +} D2D1_PATH_SEGMENT; + +typedef enum D2D1_FIGURE_BEGIN +{ + D2D1_FIGURE_BEGIN_FILLED = 0, + D2D1_FIGURE_BEGIN_HOLLOW = 1, + D2D1_FIGURE_BEGIN_FORCE_DWORD = 0xffffffff +} D2D1_FIGURE_BEGIN; + +typedef enum D2D1_FIGURE_END +{ + D2D1_FIGURE_END_OPEN = 0, + D2D1_FIGURE_END_CLOSED = 1, + D2D1_FIGURE_END_FORCE_DWORD = 0xffffffff +} D2D1_FIGURE_END; + +typedef enum D2D1_CAP_STYLE +{ + D2D1_CAP_STYLE_FLAT = 0, + D2D1_CAP_STYLE_SQUARE = 1, + D2D1_CAP_STYLE_ROUND = 2, + D2D1_CAP_STYLE_TRIANGLE = 3, + D2D1_CAP_STYLE_FORCE_DWORD = 0xffffffff, +} D2D1_CAP_STYLE; + +typedef enum D2D1_LINE_JOIN +{ + D2D1_LINE_JOIN_MITER = 0, + D2D1_LINE_JOIN_BEVEL = 1, + D2D1_LINE_JOIN_ROUND = 2, + D2D1_LINE_JOIN_MITER_OR_BEVEL = 3, + D2D1_LINE_JOIN_FORCE_DWORD = 0xffffffff, +} D2D1_LINE_JOIN; + +typedef enum D2D1_DASH_STYLE +{ + D2D1_DASH_STYLE_SOLID = 0, + D2D1_DASH_STYLE_DASH = 1, + D2D1_DASH_STYLE_DOT = 2, + D2D1_DASH_STYLE_DASH_DOT = 3, + D2D1_DASH_STYLE_DASH_DOT_DOT = 4, + D2D1_DASH_STYLE_CUSTOM = 5, + D2D1_DASH_STYLE_FORCE_DWORD = 0xffffffff, +} D2D1_DASH_STYLE; + +typedef enum D2D1_GEOMETRY_RELATION +{ + D2D1_GEOMETRY_RELATION_UNKNOWN = 0, + D2D1_GEOMETRY_RELATION_DISJOINT = 1, + D2D1_GEOMETRY_RELATION_IS_CONTAINED = 2, + D2D1_GEOMETRY_RELATION_CONTAINS = 3, + D2D1_GEOMETRY_RELATION_OVERLAP = 4, + D2D1_GEOMETRY_RELATION_FORCE_DWORD = 0xffffffff, +} D2D1_GEOMETRY_RELATION; + +typedef enum D2D1_GEOMETRY_SIMPLIFICATION_OPTION +{ + D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES = 0, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES = 1, + D2D1_GEOMETRY_SIMPLIFICATION_OPTION_FORCE_DWORD = 0xffffffff, +} D2D1_GEOMETRY_SIMPLIFICATION_OPTION; + +typedef enum D2D1_COMBINE_MODE +{ + D2D1_COMBINE_MODE_UNION = 0, + D2D1_COMBINE_MODE_INTERSECT = 1, + D2D1_COMBINE_MODE_XOR = 2, + D2D1_COMBINE_MODE_EXCLUDE = 3, + D2D1_COMBINE_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_COMBINE_MODE; + +typedef enum D2D1_SWEEP_DIRECTION +{ + D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE = 0, + D2D1_SWEEP_DIRECTION_CLOCKWISE = 1, + D2D1_SWEEP_DIRECTION_FORCE_DWORD = 0xffffffff, +} D2D1_SWEEP_DIRECTION; + +typedef enum D2D1_ARC_SIZE +{ + D2D1_ARC_SIZE_SMALL = 0, + D2D1_ARC_SIZE_LARGE = 1, + D2D1_ARC_SIZE_FORCE_DWORD = 0xffffffff, +} D2D1_ARC_SIZE; + +typedef enum D2D1_ANTIALIAS_MODE +{ + D2D1_ANTIALIAS_MODE_PER_PRIMITIVE = 0, + D2D1_ANTIALIAS_MODE_ALIASED = 1, + D2D1_ANTIALIAS_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_ANTIALIAS_MODE; + +typedef enum D2D1_TEXT_ANTIALIAS_MODE +{ + D2D1_TEXT_ANTIALIAS_MODE_DEFAULT = 0, + D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE = 1, + D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE = 2, + D2D1_TEXT_ANTIALIAS_MODE_ALIASED = 3, + D2D1_TEXT_ANTIALIAS_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_TEXT_ANTIALIAS_MODE; + +typedef enum D2D1_EXTEND_MODE +{ + D2D1_EXTEND_MODE_CLAMP = 0, + D2D1_EXTEND_MODE_WRAP = 1, + D2D1_EXTEND_MODE_MIRROR = 2, + D2D1_EXTEND_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_EXTEND_MODE; + +typedef enum D2D1_BITMAP_INTERPOLATION_MODE +{ + D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR = D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR, + D2D1_BITMAP_INTERPOLATION_MODE_LINEAR = D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR, + D2D1_BITMAP_INTERPOLATION_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_BITMAP_INTERPOLATION_MODE; + +typedef enum D2D1_GAMMA +{ + D2D1_GAMMA_2_2 = 0, + D2D1_GAMMA_1_0 = 1, + D2D1_GAMMA_FORCE_DWORD = 0xffffffff, +} D2D1_GAMMA; + +typedef enum D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS +{ + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE = 0x00000000, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE = 0x00000001, + D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_FORCE_DWORD = 0xffffffff, +} D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS; + +typedef enum D2D1_OPACITY_MASK_CONTENT +{ + D2D1_OPACITY_MASK_CONTENT_GRAPHICS = 0, + D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL = 1, + D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE = 2, + D2D1_OPACITY_MASK_CONTENT_FORCE_DWORD = 0xffffffff, +} D2D1_OPACITY_MASK_CONTENT; + +typedef enum D2D1_DRAW_TEXT_OPTIONS +{ + D2D1_DRAW_TEXT_OPTIONS_NO_SNAP = 0x00000001, + D2D1_DRAW_TEXT_OPTIONS_CLIP = 0x00000002, + D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT = 0x00000004, + D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING = 0x00000008, + D2D1_DRAW_TEXT_OPTIONS_NONE = 0x00000000, + D2D1_DRAW_TEXT_OPTIONS_FORCE_DWORD = 0xffffffff, +} D2D1_DRAW_TEXT_OPTIONS; + +typedef enum D2D1_LAYER_OPTIONS +{ + D2D1_LAYER_OPTIONS_NONE = 0x00000000, + D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE = 0x00000001, + D2D1_LAYER_OPTIONS_FORCE_DWORD = 0xffffffff, +} D2D1_LAYER_OPTIONS; + +typedef enum D2D1_RENDER_TARGET_TYPE +{ + D2D1_RENDER_TARGET_TYPE_DEFAULT = 0, + D2D1_RENDER_TARGET_TYPE_SOFTWARE = 1, + D2D1_RENDER_TARGET_TYPE_HARDWARE = 2, + D2D1_RENDER_TARGET_TYPE_FORCE_DWORD = 0xffffffff, +} D2D1_RENDER_TARGET_TYPE; + +typedef enum D2D1_RENDER_TARGET_USAGE +{ + D2D1_RENDER_TARGET_USAGE_NONE = 0x00000000, + D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING = 0x00000001, + D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE = 0x00000002, + D2D1_RENDER_TARGET_USAGE_FORCE_DWORD = 0xffffffff, +} D2D1_RENDER_TARGET_USAGE; + +typedef enum D2D1_FEATURE_LEVEL +{ + D2D1_FEATURE_LEVEL_DEFAULT = 0, + D2D1_FEATURE_LEVEL_9 = D3D_FEATURE_LEVEL_9_1, + D2D1_FEATURE_LEVEL_10 = D3D_FEATURE_LEVEL_10_0, + D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff, +} D2D1_FEATURE_LEVEL; + +typedef enum D2D1_WINDOW_STATE +{ + D2D1_WINDOW_STATE_NONE = 0x0000000, + D2D1_WINDOW_STATE_OCCLUDED = 0x0000001, + D2D1_WINDOW_STATE_FORCE_DWORD = 0xffffffff, +} D2D1_WINDOW_STATE; + +typedef enum D2D1_DC_INITIALIZE_MODE +{ + D2D1_DC_INITIALIZE_MODE_COPY = 0, + D2D1_DC_INITIALIZE_MODE_CLEAR = 1, + D2D1_DC_INITIALIZE_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_DC_INITIALIZE_MODE; + +typedef enum D2D1_PRESENT_OPTIONS +{ + D2D1_PRESENT_OPTIONS_NONE = 0x00000000, + D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS = 0x00000001, + D2D1_PRESENT_OPTIONS_IMMEDIATELY = 0x00000002, + D2D1_PRESENT_OPTIONS_FORCE_DWORD = 0xffffffff, +} D2D1_PRESENT_OPTIONS; + +typedef struct D2D1_BEZIER_SEGMENT +{ + D2D1_POINT_2F point1; + D2D1_POINT_2F point2; + D2D1_POINT_2F point3; +} D2D1_BEZIER_SEGMENT; + +typedef struct D2D1_FACTORY_OPTIONS +{ + D2D1_DEBUG_LEVEL debugLevel; +} D2D1_FACTORY_OPTIONS; + +typedef struct D2D1_TRIANGLE +{ + D2D1_POINT_2F point1; + D2D1_POINT_2F point2; + D2D1_POINT_2F point3; +} D2D1_TRIANGLE; + +typedef struct D2D1_ROUNDED_RECT +{ + D2D1_RECT_F rect; + float radiusX; + float radiusY; +} D2D1_ROUNDED_RECT; + +typedef struct D2D1_ELLIPSE +{ + D2D1_POINT_2F point; + float radiusX; + float radiusY; +} D2D1_ELLIPSE; + +typedef struct D2D1_QUADRATIC_BEZIER_SEGMENT +{ + D2D1_POINT_2F point1; + D2D1_POINT_2F point2; +} D2D1_QUADRATIC_BEZIER_SEGMENT; + +typedef struct D2D1_ARC_SEGMENT +{ + D2D1_POINT_2F point; + D2D1_SIZE_F size; + float rotationAngle; + D2D1_SWEEP_DIRECTION sweepDirection; + D2D1_ARC_SIZE arcSize; +} D2D1_ARC_SEGMENT; + +typedef struct D2D1_DRAWING_STATE_DESCRIPTION +{ + D2D1_ANTIALIAS_MODE antialiasMode; + D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode; + D2D1_TAG tag1; + D2D1_TAG tag2; + D2D1_MATRIX_3X2_F transform; +} D2D1_DRAWING_STATE_DESCRIPTION; + +typedef struct D2D1_GRADIENT_STOP +{ + float position; + D2D1_COLOR_F color; +} D2D1_GRADIENT_STOP; + +typedef struct D2D1_BITMAP_PROPERTIES +{ + D2D1_PIXEL_FORMAT pixelFormat; + float dpiX; + float dpiY; +} D2D1_BITMAP_PROPERTIES; + +typedef struct D2D1_BITMAP_BRUSH_PROPERTIES +{ + D2D1_EXTEND_MODE extendModeX; + D2D1_EXTEND_MODE extendModeY; + D2D1_BITMAP_INTERPOLATION_MODE interpolationMode; +} D2D1_BITMAP_BRUSH_PROPERTIES; + +typedef struct D2D1_BRUSH_PROPERTIES +{ + float opacity; + D2D1_MATRIX_3X2_F transform; +} D2D1_BRUSH_PROPERTIES; + +typedef struct D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES +{ + D2D1_POINT_2F startPoint; + D2D1_POINT_2F endPoint; +} D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES; + +typedef struct D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES +{ + D2D1_POINT_2F center; + D2D1_POINT_2F gradientOriginOffset; + float radiusX; + float radiusY; +} D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES; + +typedef struct D2D1_LAYER_PARAMETERS +{ + D2D1_RECT_F contentBounds; + ID2D1Geometry *geometricMask; + D2D1_ANTIALIAS_MODE maskAntialiasMode; + D2D1_MATRIX_3X2_F maskTransform; + float opacity; + ID2D1Brush *opacityBrush; + D2D1_LAYER_OPTIONS layerOptions; +} D2D1_LAYER_PARAMETERS; + +typedef struct D2D1_RENDER_TARGET_PROPERTIES +{ + D2D1_RENDER_TARGET_TYPE type; + D2D1_PIXEL_FORMAT pixelFormat; + float dpiX; + float dpiY; + D2D1_RENDER_TARGET_USAGE usage; + D2D1_FEATURE_LEVEL minLevel; +} D2D1_RENDER_TARGET_PROPERTIES; + +typedef struct D2D1_STROKE_STYLE_PROPERTIES +{ + D2D1_CAP_STYLE startCap; + D2D1_CAP_STYLE endCap; + D2D1_CAP_STYLE dashCap; + D2D1_LINE_JOIN lineJoin; + float miterLimit; + D2D1_DASH_STYLE dashStyle; + float dashOffset; +} D2D1_STROKE_STYLE_PROPERTIES; + +typedef struct D2D1_HWND_RENDER_TARGET_PROPERTIES +{ + HWND hwnd; + D2D1_SIZE_U pixelSize; + D2D1_PRESENT_OPTIONS presentOptions; +} D2D1_HWND_RENDER_TARGET_PROPERTIES; + +[ + local, + object, + uuid(2cd90691-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1Resource : IUnknown +{ + void GetFactory( + [out] ID2D1Factory **factory + ); +} + +[ + local, + object, + uuid(2cd9069d-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1StrokeStyle : ID2D1Resource +{ + D2D1_CAP_STYLE GetStartCap(); + D2D1_CAP_STYLE GetEndCap(); + D2D1_CAP_STYLE GetDashCap(); + float GetMiterLimit(); + D2D1_LINE_JOIN GetLineJoin(); + float GetDashOffset(); + D2D1_DASH_STYLE GetDashStyle(); + UINT32 GetDashesCount(); + void GetDashes( + [out, size_is(count)] float *dashes, + [in] UINT32 count + ); +} + +[ + local, + object, + uuid(2cd9069e-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1SimplifiedGeometrySink : IUnknown +{ + void SetFillMode(D2D1_FILL_MODE mode); + void SetSegmentFlags(D2D1_PATH_SEGMENT vertexFlags); + void BeginFigure(D2D1_POINT_2F startPoint, D2D1_FIGURE_BEGIN figureBegin); + void AddLines(const D2D1_POINT_2F *points, UINT32 count); + void AddBeziers(const D2D1_BEZIER_SEGMENT *beziers, UINT32 count); + void EndFigure(D2D1_FIGURE_END figureEnd); + HRESULT Close(); +} + +[ + local, + object, + uuid(2cd906c1-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1TessellationSink : IUnknown +{ + void AddTriangles( + [in, size_is(count)] const D2D1_TRIANGLE *triangles, + [in] UINT32 count + ); + HRESULT Close(); +} + +[ + local, + object, + uuid(2cd906a1-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1Geometry : ID2D1Resource +{ + HRESULT GetBounds( + [in] const D2D1_MATRIX_3X2_F *transform, + [out] D2D1_RECT_F *bounds + ); + HRESULT GetWidenedBounds( + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] D2D1_RECT_F *bounds + ); + HRESULT StrokeContainsPoint( + [in] D2D1_POINT_2F point, + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] BOOL *contains + ); + HRESULT FillContainsPoint( + [in] D2D1_POINT_2F point, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] BOOL *contains + ); + HRESULT CompareWithGeometry( + [in] ID2D1Geometry *geometry, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] D2D1_GEOMETRY_RELATION *relation + ); + HRESULT Simplify( + [in] D2D1_GEOMETRY_SIMPLIFICATION_OPTION option, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [in] ID2D1SimplifiedGeometrySink *sink + ); + HRESULT Tessellate( + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [in] ID2D1TessellationSink *sink + ); + HRESULT CombineWithGeometry( + [in] ID2D1Geometry *geometry, + [in] D2D1_COMBINE_MODE combine_mode, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [in] ID2D1SimplifiedGeometrySink *sink + ); + HRESULT Outline( + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [in] ID2D1SimplifiedGeometrySink *sink + ); + HRESULT ComputeArea( + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] float *area + ); + HRESULT ComputeLength( + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] float *length + ); + HRESULT ComputePointAtLength( + [in] float length, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [out] D2D1_POINT_2F *point, + [out] D2D1_POINT_2F *tangent + ); + HRESULT Widen( + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style, + [in] const D2D1_MATRIX_3X2_F *transform, + [in] float tolerance, + [in] ID2D1SimplifiedGeometrySink *sink + ); +} + +[ + local, + object, + uuid(2cd906a2-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1RectangleGeometry : ID2D1Geometry +{ + void GetRect( + [out] D2D1_RECT_F *rect + ); +} + +[ + local, + object, + uuid(2cd906a3-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1RoundedRectangleGeometry : ID2D1Geometry +{ + void GetRoundedRect( + [out] D2D1_ROUNDED_RECT *rect + ); +} + +[ + local, + object, + uuid(2cd906a4-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1EllipseGeometry : ID2D1Geometry +{ + void GetEllipse( + [out] D2D1_ELLIPSE *ellipse + ); +} + +[ + local, + object, + uuid(2cd906a6-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1GeometryGroup : ID2D1Geometry +{ + D2D1_FILL_MODE GetFillMode(); + UINT32 GetSourceGeometryCount(); + void GetSourceGeometries( + [out, size_is(geometry_count)] ID2D1Geometry **geometry, + [in] UINT32 geometry_count + ); +} + +[ + local, + object, + uuid(2cd906bb-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1TransformedGeometry : ID2D1Geometry +{ + void GetSourceGeometry( + [out] ID2D1Geometry **geometry + ); + void GetTransform( + [out] D2D1_MATRIX_3X2_F *transform + ); +} + +[ + local, + object, + uuid(2cd9069f-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1GeometrySink : ID2D1SimplifiedGeometrySink +{ + void AddLine( + [in] D2D1_POINT_2F point + ); + void AddBezier( + [in] const D2D1_BEZIER_SEGMENT *bezier + ); + void AddQuadraticBezier( + [in] const D2D1_QUADRATIC_BEZIER_SEGMENT *bezier + ); + void AddQuadraticBeziers( + [in, size_is(bezier_count)] const D2D1_QUADRATIC_BEZIER_SEGMENT *beziers, + [in] UINT32 bezier_count + ); + void AddArc( + [in] const D2D1_ARC_SEGMENT *arc + ); +} + +[ + local, + object, + uuid(2cd906a5-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1PathGeometry : ID2D1Geometry +{ + HRESULT Open( + [out] ID2D1GeometrySink **sink + ); + HRESULT Stream( + [in] ID2D1GeometrySink *sink + ); + HRESULT GetSegmentCount( + [out] UINT32 *count + ); + HRESULT GetFigureCount( + [out] UINT32 *count + ); +} + +[ + local, + object, + uuid(28506e39-ebf6-46a1-bb47-fd85565ab957) +] +interface ID2D1DrawingStateBlock : ID2D1Resource +{ + void GetDescription( + [out] D2D1_DRAWING_STATE_DESCRIPTION *desc + ); + void SetDescription( + [in] const D2D1_DRAWING_STATE_DESCRIPTION *desc + ); + void SetTextRenderingParams( + [in] IDWriteRenderingParams *text_rendering_params + ); + void GetTextRenderingParams( + [out] IDWriteRenderingParams **text_rendering_params + ); +} + +[ + local, + object, + uuid(65019f75-8da2-497c-b32c-dfa34e48ede6) +] +interface ID2D1Image : ID2D1Resource +{ +} + +[ + local, + object, + uuid(a2296057-ea42-4099-983b-539fb6505426) +] +interface ID2D1Bitmap : ID2D1Image +{ + D2D1_SIZE_F GetSize(); + D2D1_SIZE_U GetPixelSize(); + D2D1_PIXEL_FORMAT GetPixelFormat(); + void GetDpi( + [out] float *dpi_x, + [out] float *dpi_y + ); + HRESULT CopyFromBitmap( + [in] const D2D1_POINT_2U *dst_point, + [in] ID2D1Bitmap *bitmap, + [in] const D2D1_RECT_U *src_rect + ); + HRESULT CopyFromRenderTarget( + [in] const D2D1_POINT_2U *dst_point, + [in] ID2D1RenderTarget *render_target, + [in] const D2D1_RECT_U *src_rect + ); + HRESULT CopyFromMemory( + [in] const D2D1_RECT_U *dst_rect, + [in] const void *src_data, + [in] UINT32 pitch + ); +} + +[ + local, + object, + uuid(2cd906a8-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1Brush : ID2D1Resource +{ + void SetOpacity( + [in] float opacity + ); + void SetTransform( + [in] const D2D1_MATRIX_3X2_F *transform + ); + float GetOpacity(); + void GetTransform( + [out] D2D1_MATRIX_3X2_F *transform + ); +} + +[ + local, + object, + uuid(2cd906aa-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1BitmapBrush : ID2D1Brush +{ + void SetExtendModeX( + [in] D2D1_EXTEND_MODE mode + ); + void SetExtendModeY( + [in] D2D1_EXTEND_MODE mode + ); + void SetInterpolationMode( + [in] D2D1_BITMAP_INTERPOLATION_MODE mode + ); + void SetBitmap( + [in] ID2D1Bitmap *bitmap + ); + D2D1_EXTEND_MODE GetExtendModeX(); + D2D1_EXTEND_MODE GetExtendModeY(); + D2D1_BITMAP_INTERPOLATION_MODE GetInterpolationMode(); + void GetBitmap( + [out] ID2D1Bitmap **bitmap + ); +} + +[ + local, + object, + uuid(2cd906a9-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1SolidColorBrush : ID2D1Brush +{ + void SetColor( + [in] const D2D1_COLOR_F *color + ); + D2D1_COLOR_F GetColor(); +} + +[ + local, + object, + uuid(2cd906a7-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1GradientStopCollection : ID2D1Resource +{ + UINT32 GetGradientStopCount(); + void GetGradientStops( + [out] D2D1_GRADIENT_STOP *stops, + [in] UINT32 stop_count + ); + D2D1_GAMMA GetColorInterpolationGamma(); + D2D1_EXTEND_MODE GetExtendMode(); +} + +[ + local, + object, + uuid(2cd906ab-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1LinearGradientBrush : ID2D1Brush +{ + void SetStartPoint( + [in] D2D1_POINT_2F start_point + ); + void SetEndPoint( + [in] D2D1_POINT_2F end_point + ); + D2D1_POINT_2F GetStartPoint(); + D2D1_POINT_2F GetEndPoint(); + void GetGradientStopCollection( + [out] ID2D1GradientStopCollection **gradient + ); +} + +[ + local, + object, + uuid(2cd906ac-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1RadialGradientBrush : ID2D1Brush +{ + void SetCenter( + [in] D2D1_POINT_2F center + ); + void SetGradientOriginOffset( + [in] D2D1_POINT_2F offset + ); + void SetRadiusX( + [in] float radius + ); + void SetRadiusY( + [in] float radius + ); + D2D1_POINT_2F GetCenter(); + D2D1_POINT_2F GetGradientOriginOffset(); + float GetRadiusX(); + float GetRadiusY(); + void GetGradientStopCollection( + [out] ID2D1GradientStopCollection **gradient + ); +} + +[ + local, + object, + uuid(2cd9069b-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1Layer : ID2D1Resource +{ + D2D1_SIZE_F GetSize(); +} + +[ + local, + object, + uuid(2cd906c2-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1Mesh : ID2D1Resource +{ + HRESULT Open( + [out] ID2D1TessellationSink **sink + ); +} + +[ + local, + object, + uuid(2cd90694-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1RenderTarget : ID2D1Resource +{ + HRESULT CreateBitmap( + [in] D2D1_SIZE_U size, + [in] const void *src_data, + [in] UINT32 pitch, + [in] const D2D1_BITMAP_PROPERTIES *desc, + [out] ID2D1Bitmap **bitmap + ); + HRESULT CreateBitmapFromWicBitmap( + [in] IWICBitmapSource *bitmap_source, + [in] const D2D1_BITMAP_PROPERTIES *desc, + [out] ID2D1Bitmap **bitmap + ); + HRESULT CreateSharedBitmap( + [in] REFIID iid, + [in, out] void *data, + [in] const D2D1_BITMAP_PROPERTIES *desc, + [out] ID2D1Bitmap **bitmap + ); + HRESULT CreateBitmapBrush( + [in] ID2D1Bitmap *bitmap, + [in] const D2D1_BITMAP_BRUSH_PROPERTIES *bitmap_brush_desc, + [in] const D2D1_BRUSH_PROPERTIES *brush_desc, + [out] ID2D1BitmapBrush **brush + ); + HRESULT CreateSolidColorBrush( + [in] const D2D1_COLOR_F *color, + [in] const D2D1_BRUSH_PROPERTIES *desc, + [out] ID2D1SolidColorBrush **brush + ); + HRESULT CreateGradientStopCollection( + [in, size_is(stop_count)] const D2D1_GRADIENT_STOP *stops, + [in] UINT32 stop_count, + [in] D2D1_GAMMA gamma, + [in] D2D1_EXTEND_MODE extend_mode, + [out] ID2D1GradientStopCollection **gradient + ); + HRESULT CreateLinearGradientBrush( + [in] const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + [in] const D2D1_BRUSH_PROPERTIES *brush_desc, + [in] ID2D1GradientStopCollection *gradient, + [out] ID2D1LinearGradientBrush **brush + ); + HRESULT CreateRadialGradientBrush( + [in] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *gradient_brush_desc, + [in] const D2D1_BRUSH_PROPERTIES *brush_desc, + [in] ID2D1GradientStopCollection *gradient, + [out] ID2D1RadialGradientBrush **brush + ); + HRESULT CreateCompatibleRenderTarget( + [in] const D2D1_SIZE_F *size, + [in] const D2D1_SIZE_U *pixel_size, + [in] const D2D1_PIXEL_FORMAT *format, + [in] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, + [out] ID2D1BitmapRenderTarget **render_target + ); + HRESULT CreateLayer( + [in] const D2D1_SIZE_F *size, + [out] ID2D1Layer **layer + ); + HRESULT CreateMesh( + [out] ID2D1Mesh **mesh + ); + void DrawLine( + [in] D2D1_POINT_2F p0, + [in] D2D1_POINT_2F p1, + [in] ID2D1Brush *brush, + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style + ); + void DrawRectangle( + [in] const D2D1_RECT_F *rect, + [in] ID2D1Brush *brush, + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style + ); + void FillRectangle( + [in] const D2D1_RECT_F *rect, + [in] ID2D1Brush *brush + ); + void DrawRoundedRectangle( + [in] const D2D1_ROUNDED_RECT *rect, + [in] ID2D1Brush *brush, + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style + ); + void FillRoundedRectangle( + [in] const D2D1_ROUNDED_RECT *rect, + [in] ID2D1Brush *brush + ); + void DrawEllipse( + [in] const D2D1_ELLIPSE *ellipse, + [in] ID2D1Brush *brush, + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style + ); + void FillEllipse( + [in] const D2D1_ELLIPSE *ellipse, + [in] ID2D1Brush *brush + ); + void DrawGeometry( + [in] ID2D1Geometry *geometry, + [in] ID2D1Brush *brush, + [in] float stroke_width, + [in] ID2D1StrokeStyle *stroke_style + ); + void FillGeometry( + [in] ID2D1Geometry *geometry, + [in] ID2D1Brush *brush, + [in] ID2D1Brush *opacity_brush + ); + void FillMesh( + [in] ID2D1Mesh *mesh, + [in] ID2D1Brush *brush + ); + void FillOpacityMask( + [in] ID2D1Bitmap *mask, + [in] ID2D1Brush *brush, + [in] D2D1_OPACITY_MASK_CONTENT content, + [in] const D2D1_RECT_F *dst_rect, + [in] const D2D1_RECT_F *src_rect + ); + void DrawBitmap( + [in] ID2D1Bitmap *bitmap, + [in] const D2D1_RECT_F *dst_rect, + [in] float opacity, + [in] D2D1_BITMAP_INTERPOLATION_MODE interpolation_mode, + [in] const D2D1_RECT_F *src_rect + ); + void DrawText( + [in, size_is(string_len)] const WCHAR *string, + [in] UINT32 string_len, + [in] IDWriteTextFormat *text_format, + [in] const D2D1_RECT_F *layout_rect, + [in] ID2D1Brush *brush, + [in] D2D1_DRAW_TEXT_OPTIONS options, + [in] DWRITE_MEASURING_MODE measuring_mode + ); + void DrawTextLayout( + [in] D2D1_POINT_2F origin, + [in] IDWriteTextLayout *layout, + [in] ID2D1Brush *brush, + [in] D2D1_DRAW_TEXT_OPTIONS options + ); + void DrawGlyphRun( + [in] D2D1_POINT_2F baseline_origin, + [in] const DWRITE_GLYPH_RUN *glyph_run, + [in] ID2D1Brush *brush, + [in] DWRITE_MEASURING_MODE measuring_mode + ); + void SetTransform( + [in] const D2D1_MATRIX_3X2_F *transform + ); + void GetTransform( + [out] D2D1_MATRIX_3X2_F *transform + ); + void SetAntialiasMode( + [in] D2D1_ANTIALIAS_MODE antialias_mode + ); + D2D1_ANTIALIAS_MODE GetAntialiasMode(); + void SetTextAntialiasMode( + [in] D2D1_TEXT_ANTIALIAS_MODE antialias_mode + ); + D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode(); + void SetTextRenderingParams( + [in] IDWriteRenderingParams *text_rendering_params + ); + void GetTextRenderingParams( + [out] IDWriteRenderingParams **text_rendering_params + ); + void SetTags( + [in] D2D1_TAG tag1, + [in] D2D1_TAG tag2 + ); + void GetTags( + [out] D2D1_TAG *tag1, + [out] D2D1_TAG *tag2 + ); + void PushLayer( + [in] const D2D1_LAYER_PARAMETERS *layer_parameters, + [in] ID2D1Layer *layer + ); + void PopLayer(); + HRESULT Flush( + [out] D2D1_TAG *tag1, + [out] D2D1_TAG *tag2 + ); + void SaveDrawingState( + [in, out] ID2D1DrawingStateBlock *state_block + ); + void RestoreDrawingState( + [in] ID2D1DrawingStateBlock *state_block + ); + void PushAxisAlignedClip( + [in] const D2D1_RECT_F *clip_rect, + [in] D2D1_ANTIALIAS_MODE antialias_mode + ); + void PopAxisAlignedClip(); + void Clear( + [in] const D2D1_COLOR_F *color + ); + void BeginDraw(); + HRESULT EndDraw( + [out] D2D1_TAG *tag1, + [out] D2D1_TAG *tag2 + ); + D2D1_PIXEL_FORMAT GetPixelFormat(); + void SetDpi( + [in] float dpi_x, + [in] float dpi_y + ); + void GetDpi( + [out] float *dpi_x, + [out] float *dpi_y + ); + D2D1_SIZE_F GetSize(); + D2D1_SIZE_U GetPixelSize(); + UINT32 GetMaximumBitmapSize(); + BOOL IsSupported( + [in] const D2D1_RENDER_TARGET_PROPERTIES *desc + ); +} + +[ + local, + object, + uuid(2cd90695-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1BitmapRenderTarget : ID2D1RenderTarget +{ + HRESULT GetBitmap( + [out] ID2D1Bitmap **bitmap + ); +} + +[ + local, + object, + uuid(2cd90698-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1HwndRenderTarget : ID2D1RenderTarget +{ + D2D1_WINDOW_STATE CheckWindowState(); + HRESULT Resize( + [in] const D2D1_SIZE_U *size + ); + HWND GetHwnd(); +} + +[ + local, + object, + uuid(1c51bc64-de61-46fd-9899-63a5d8f03950) +] +interface ID2D1DCRenderTarget : ID2D1RenderTarget +{ + HRESULT BindDC( + [in] const HDC dc, + [in] const RECT *rect + ); +} + +[ + local, + object, + uuid(e0db51c3-6f77-4bae-b3d5-e47509b35838) +] +interface ID2D1GdiInteropRenderTarget : IUnknown +{ + HRESULT GetDC( + [in] D2D1_DC_INITIALIZE_MODE mode, + [out] HDC *dc + ); + HRESULT ReleaseDC( + [in] const RECT *update + ); +} + +[ + local, + object, + uuid(06152247-6f50-465a-9245-118bfd3b6007) +] +interface ID2D1Factory : IUnknown +{ + HRESULT ReloadSystemMetrics(); + void GetDesktopDpi( + [out] float *dpi_x, + [out] float *dpi_y + ); + HRESULT CreateRectangleGeometry( + [in] const D2D1_RECT_F *rect, + [out] ID2D1RectangleGeometry **geometry + ); + HRESULT CreateRoundedRectangleGeometry( + [in] const D2D1_ROUNDED_RECT *rect, + [out] ID2D1RoundedRectangleGeometry **geometry + ); + HRESULT CreateEllipseGeometry( + [in] const D2D1_ELLIPSE *ellipse, + [out] ID2D1EllipseGeometry **geometry + ); + HRESULT CreateGeometryGroup( + [in] D2D1_FILL_MODE fill_mode, + [in, size_is(geometry_count)] ID2D1Geometry **geometries, + [in] UINT32 geometry_count, + [out] ID2D1GeometryGroup **group + ); + HRESULT CreateTransformedGeometry( + [in] ID2D1Geometry *src_geometry, + [in] const D2D1_MATRIX_3X2_F *transform, + [out] ID2D1TransformedGeometry **transformed_geometry + ); + HRESULT CreatePathGeometry( + [out] ID2D1PathGeometry **geometry + ); + HRESULT CreateStrokeStyle( + [in] const D2D1_STROKE_STYLE_PROPERTIES *desc, + [in, size_is(dash_count)] const float *dashes, + [in] UINT32 dash_count, + [out] ID2D1StrokeStyle **stroke_style + ); + HRESULT CreateDrawingStateBlock( + [in] const D2D1_DRAWING_STATE_DESCRIPTION *desc, + [in] IDWriteRenderingParams *text_rendering_params, + [out] ID2D1DrawingStateBlock **state_block + ); + HRESULT CreateWicBitmapRenderTarget( + [in] IWICBitmap *target, + [in] const D2D1_RENDER_TARGET_PROPERTIES *desc, + [out] ID2D1RenderTarget **render_target + ); + HRESULT CreateHwndRenderTarget( + [in] const D2D1_RENDER_TARGET_PROPERTIES *desc, + [in] const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwnd_rt_desc, + [out] ID2D1HwndRenderTarget **render_target + ); + HRESULT CreateDxgiSurfaceRenderTarget( + [in] IDXGISurface *surface, + [in] const D2D1_RENDER_TARGET_PROPERTIES *desc, + [out] ID2D1RenderTarget **render_target + ); + HRESULT CreateDCRenderTarget( + [in] const D2D1_RENDER_TARGET_PROPERTIES *desc, + [out] ID2D1DCRenderTarget **render_target + ); +} + +[local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid, + const D2D1_FACTORY_OPTIONS *factory_options, void **factory); +[local] void __stdcall D2D1MakeRotateMatrix(float angle, D2D1_POINT_2F center, D2D1_MATRIX_3X2_F *matrix); diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2dbasetypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2dbasetypes.h new file mode 100644 index 0000000..b231081 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2dbasetypes.h @@ -0,0 +1,68 @@ +/* + * Copyright 2013 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef D3DCOLORVALUE_DEFINED +typedef struct D3DCOLORVALUE +{ + float r; + float g; + float b; + float a; +} D3DCOLORVALUE; +#define D3DCOLORVALUE_DEFINED +#endif + +typedef D3DCOLORVALUE D2D_COLOR_F; + +typedef struct D2D_MATRIX_3X2_F +{ + float _11; + float _12; + float _21; + float _22; + float _31; + float _32; +} D2D_MATRIX_3X2_F; + +typedef struct D2D_RECT_F +{ + float left; + float top; + float right; + float bottom; +} D2D_RECT_F; + +typedef struct D2D_SIZE_F +{ + float width; + float height; +} D2D_SIZE_F; + +typedef struct D2D_POINT_2U +{ + UINT32 x; + UINT32 y; +} D2D_POINT_2U; + +typedef struct D2D_RECT_U +{ + UINT32 left; + UINT32 top; + UINT32 right; + UINT32 bottom; +} D2D_RECT_U; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2derr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2derr.h new file mode 100644 index 0000000..b31d0af --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d2derr.h @@ -0,0 +1,26 @@ +/* + * Copyright 2014 Henri Verbeet for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D2DERR_H +#define __WINE_D2DERR_H + +#define D2DERR_FILE_NOT_FOUND HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) +#define D2DERR_INSUFFICIENT_BUFFER HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) +#define D2DERR_UNSUPPORTED_PIXEL_FORMAT WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT + +#endif /* __WINE_D2DERR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d.h new file mode 100644 index 0000000..f118deb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d.h @@ -0,0 +1,1568 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3D_H +#define __WINE_D3D_H + +#include + +#define COM_NO_WINDOWS_H +#include +#include /* must precede d3dcaps.h */ +#include + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(IID_IDirect3D, 0x3BBA0080,0x2421,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56); +DEFINE_GUID(IID_IDirect3D2, 0x6aae1ec1,0x662a,0x11d0,0x88,0x9d,0x00,0xaa,0x00,0xbb,0xb7,0x6a); +DEFINE_GUID(IID_IDirect3D3, 0xbb223240,0xe72b,0x11d0,0xa9,0xb4,0x00,0xaa,0x00,0xc0,0x99,0x3e); +DEFINE_GUID(IID_IDirect3D7, 0xf5049e77,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8); + +DEFINE_GUID(IID_IDirect3DRampDevice, 0xF2086B20,0x259F,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56); +DEFINE_GUID(IID_IDirect3DRGBDevice, 0xA4665C60,0x2673,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56); +DEFINE_GUID(IID_IDirect3DHALDevice, 0x84E63dE0,0x46AA,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E); +DEFINE_GUID(IID_IDirect3DMMXDevice, 0x881949a1,0xd6f3,0x11d0,0x89,0xab,0x00,0xa0,0xc9,0x05,0x41,0x29); +DEFINE_GUID(IID_IDirect3DRefDevice, 0x50936643,0x13e9,0x11d1,0x89,0xaa,0x00,0xa0,0xc9,0x05,0x41,0x29); +DEFINE_GUID(IID_IDirect3DTnLHalDevice, 0xf5049e78,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8); +DEFINE_GUID(IID_IDirect3DNullDevice, 0x8767df22,0xbacc,0x11d1,0x89,0x69,0x00,0xa0,0xc9,0x06,0x29,0xa8); + +DEFINE_GUID(IID_IDirect3DDevice, 0x64108800,0x957d,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29); +DEFINE_GUID(IID_IDirect3DDevice2, 0x93281501,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29); +DEFINE_GUID(IID_IDirect3DDevice3, 0xb0ab3b60,0x33d7,0x11d1,0xa9,0x81,0x00,0xc0,0x4f,0xd7,0xb1,0x74); +DEFINE_GUID(IID_IDirect3DDevice7, 0xf5049e79,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8); + +DEFINE_GUID(IID_IDirect3DTexture, 0x2CDCD9E0,0x25A0,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56); +DEFINE_GUID(IID_IDirect3DTexture2, 0x93281502,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29); + +DEFINE_GUID(IID_IDirect3DLight, 0x4417C142,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E); + +DEFINE_GUID(IID_IDirect3DMaterial, 0x4417C144,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E); +DEFINE_GUID(IID_IDirect3DMaterial2, 0x93281503,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29); +DEFINE_GUID(IID_IDirect3DMaterial3, 0xca9c46f4,0xd3c5,0x11d1,0xb7,0x5a,0x00,0x60,0x08,0x52,0xb3,0x12); + +DEFINE_GUID(IID_IDirect3DExecuteBuffer, 0x4417C145,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E); + +DEFINE_GUID(IID_IDirect3DViewport, 0x4417C146,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E); +DEFINE_GUID(IID_IDirect3DViewport2, 0x93281500,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29); +DEFINE_GUID(IID_IDirect3DViewport3, 0xb0ab3b61,0x33d7,0x11d1,0xa9,0x81,0x00,0xc0,0x4f,0xd7,0xb1,0x74); + +DEFINE_GUID(IID_IDirect3DVertexBuffer, 0x7a503555,0x4a83,0x11d1,0xa5,0xdb,0x00,0xa0,0xc9,0x03,0x67,0xf8); +DEFINE_GUID(IID_IDirect3DVertexBuffer7, 0xf5049e7d,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8); + + +typedef struct IDirect3D *LPDIRECT3D; +typedef struct IDirect3D2 *LPDIRECT3D2; +typedef struct IDirect3D3 *LPDIRECT3D3; +typedef struct IDirect3D7 *LPDIRECT3D7; + +typedef struct IDirect3DLight *LPDIRECT3DLIGHT; + +typedef struct IDirect3DDevice *LPDIRECT3DDEVICE; +typedef struct IDirect3DDevice2 *LPDIRECT3DDEVICE2; +typedef struct IDirect3DDevice3 *LPDIRECT3DDEVICE3; +typedef struct IDirect3DDevice7 *LPDIRECT3DDEVICE7; + +typedef struct IDirect3DViewport *LPDIRECT3DVIEWPORT; +typedef struct IDirect3DViewport2 *LPDIRECT3DVIEWPORT2; +typedef struct IDirect3DViewport3 *LPDIRECT3DVIEWPORT3; + +typedef struct IDirect3DMaterial *LPDIRECT3DMATERIAL; +typedef struct IDirect3DMaterial2 *LPDIRECT3DMATERIAL2; +typedef struct IDirect3DMaterial3 *LPDIRECT3DMATERIAL3; + +typedef struct IDirect3DTexture *LPDIRECT3DTEXTURE; +typedef struct IDirect3DTexture2 *LPDIRECT3DTEXTURE2; + +typedef struct IDirect3DExecuteBuffer *LPDIRECT3DEXECUTEBUFFER; + +typedef struct IDirect3DVertexBuffer *LPDIRECT3DVERTEXBUFFER; +typedef struct IDirect3DVertexBuffer7 *LPDIRECT3DVERTEXBUFFER7; + +/* ******************************************************************** + Error Codes + ******************************************************************** */ +#define D3D_OK DD_OK +#define D3DERR_BADMAJORVERSION MAKE_DDHRESULT(700) +#define D3DERR_BADMINORVERSION MAKE_DDHRESULT(701) +#define D3DERR_INVALID_DEVICE MAKE_DDHRESULT(705) +#define D3DERR_INITFAILED MAKE_DDHRESULT(706) +#define D3DERR_DEVICEAGGREGATED MAKE_DDHRESULT(707) +#define D3DERR_EXECUTE_CREATE_FAILED MAKE_DDHRESULT(710) +#define D3DERR_EXECUTE_DESTROY_FAILED MAKE_DDHRESULT(711) +#define D3DERR_EXECUTE_LOCK_FAILED MAKE_DDHRESULT(712) +#define D3DERR_EXECUTE_UNLOCK_FAILED MAKE_DDHRESULT(713) +#define D3DERR_EXECUTE_LOCKED MAKE_DDHRESULT(714) +#define D3DERR_EXECUTE_NOT_LOCKED MAKE_DDHRESULT(715) +#define D3DERR_EXECUTE_FAILED MAKE_DDHRESULT(716) +#define D3DERR_EXECUTE_CLIPPED_FAILED MAKE_DDHRESULT(717) +#define D3DERR_TEXTURE_NO_SUPPORT MAKE_DDHRESULT(720) +#define D3DERR_TEXTURE_CREATE_FAILED MAKE_DDHRESULT(721) +#define D3DERR_TEXTURE_DESTROY_FAILED MAKE_DDHRESULT(722) +#define D3DERR_TEXTURE_LOCK_FAILED MAKE_DDHRESULT(723) +#define D3DERR_TEXTURE_UNLOCK_FAILED MAKE_DDHRESULT(724) +#define D3DERR_TEXTURE_LOAD_FAILED MAKE_DDHRESULT(725) +#define D3DERR_TEXTURE_SWAP_FAILED MAKE_DDHRESULT(726) +#define D3DERR_TEXTURE_LOCKED MAKE_DDHRESULT(727) +#define D3DERR_TEXTURE_NOT_LOCKED MAKE_DDHRESULT(728) +#define D3DERR_TEXTURE_GETSURF_FAILED MAKE_DDHRESULT(729) +#define D3DERR_MATRIX_CREATE_FAILED MAKE_DDHRESULT(730) +#define D3DERR_MATRIX_DESTROY_FAILED MAKE_DDHRESULT(731) +#define D3DERR_MATRIX_SETDATA_FAILED MAKE_DDHRESULT(732) +#define D3DERR_MATRIX_GETDATA_FAILED MAKE_DDHRESULT(733) +#define D3DERR_SETVIEWPORTDATA_FAILED MAKE_DDHRESULT(734) +#define D3DERR_INVALIDCURRENTVIEWPORT MAKE_DDHRESULT(735) +#define D3DERR_INVALIDPRIMITIVETYPE MAKE_DDHRESULT(736) +#define D3DERR_INVALIDVERTEXTYPE MAKE_DDHRESULT(737) +#define D3DERR_TEXTURE_BADSIZE MAKE_DDHRESULT(738) +#define D3DERR_INVALIDRAMPTEXTURE MAKE_DDHRESULT(739) +#define D3DERR_MATERIAL_CREATE_FAILED MAKE_DDHRESULT(740) +#define D3DERR_MATERIAL_DESTROY_FAILED MAKE_DDHRESULT(741) +#define D3DERR_MATERIAL_SETDATA_FAILED MAKE_DDHRESULT(742) +#define D3DERR_MATERIAL_GETDATA_FAILED MAKE_DDHRESULT(743) +#define D3DERR_INVALIDPALETTE MAKE_DDHRESULT(744) +#define D3DERR_ZBUFF_NEEDS_SYSTEMMEMORY MAKE_DDHRESULT(745) +#define D3DERR_ZBUFF_NEEDS_VIDEOMEMORY MAKE_DDHRESULT(746) +#define D3DERR_SURFACENOTINVIDMEM MAKE_DDHRESULT(747) +#define D3DERR_LIGHT_SET_FAILED MAKE_DDHRESULT(750) +#define D3DERR_LIGHTHASVIEWPORT MAKE_DDHRESULT(751) +#define D3DERR_LIGHTNOTINTHISVIEWPORT MAKE_DDHRESULT(752) +#define D3DERR_SCENE_IN_SCENE MAKE_DDHRESULT(760) +#define D3DERR_SCENE_NOT_IN_SCENE MAKE_DDHRESULT(761) +#define D3DERR_SCENE_BEGIN_FAILED MAKE_DDHRESULT(762) +#define D3DERR_SCENE_END_FAILED MAKE_DDHRESULT(763) +#define D3DERR_INBEGIN MAKE_DDHRESULT(770) +#define D3DERR_NOTINBEGIN MAKE_DDHRESULT(771) +#define D3DERR_NOVIEWPORTS MAKE_DDHRESULT(772) +#define D3DERR_VIEWPORTDATANOTSET MAKE_DDHRESULT(773) +#define D3DERR_VIEWPORTHASNODEVICE MAKE_DDHRESULT(774) +#define D3DERR_NOCURRENTVIEWPORT MAKE_DDHRESULT(775) +#define D3DERR_INVALIDVERTEXFORMAT MAKE_DDHRESULT(2048) +#define D3DERR_COLORKEYATTACHED MAKE_DDHRESULT(2050) +#define D3DERR_VERTEXBUFFEROPTIMIZED MAKE_DDHRESULT(2060) +#define D3DERR_VBUF_CREATE_FAILED MAKE_DDHRESULT(2061) +#define D3DERR_VERTEXBUFFERLOCKED MAKE_DDHRESULT(2062) +#define D3DERR_VERTEXBUFFERUNLOCKFAILED MAKE_DDHRESULT(2063) +#define D3DERR_ZBUFFER_NOTPRESENT MAKE_DDHRESULT(2070) +#define D3DERR_STENCILBUFFER_NOTPRESENT MAKE_DDHRESULT(2071) + +#define D3DERR_WRONGTEXTUREFORMAT MAKE_DDHRESULT(2072) +#define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_DDHRESULT(2073) +#define D3DERR_UNSUPPORTEDCOLORARG MAKE_DDHRESULT(2074) +#define D3DERR_UNSUPPORTEDALPHAOPERATION MAKE_DDHRESULT(2075) +#define D3DERR_UNSUPPORTEDALPHAARG MAKE_DDHRESULT(2076) +#define D3DERR_TOOMANYOPERATIONS MAKE_DDHRESULT(2077) +#define D3DERR_CONFLICTINGTEXTUREFILTER MAKE_DDHRESULT(2078) +#define D3DERR_UNSUPPORTEDFACTORVALUE MAKE_DDHRESULT(2079) +#define D3DERR_CONFLICTINGRENDERSTATE MAKE_DDHRESULT(2081) +#define D3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_DDHRESULT(2082) +#define D3DERR_TOOMANYPRIMITIVES MAKE_DDHRESULT(2083) +#define D3DERR_INVALIDMATRIX MAKE_DDHRESULT(2084) +#define D3DERR_TOOMANYVERTICES MAKE_DDHRESULT(2085) +#define D3DERR_CONFLICTINGTEXTUREPALETTE MAKE_DDHRESULT(2086) + +#define D3DERR_INVALIDSTATEBLOCK MAKE_DDHRESULT(2100) +#define D3DERR_INBEGINSTATEBLOCK MAKE_DDHRESULT(2101) +#define D3DERR_NOTINBEGINSTATEBLOCK MAKE_DDHRESULT(2102) + +/* ******************************************************************** + Enums + ******************************************************************** */ +#define D3DNEXT_NEXT __MSABI_LONG(0x01) +#define D3DNEXT_HEAD __MSABI_LONG(0x02) +#define D3DNEXT_TAIL __MSABI_LONG(0x04) + +#define D3DDP_WAIT __MSABI_LONG(0x00000001) +#define D3DDP_OUTOFORDER __MSABI_LONG(0x00000002) +#define D3DDP_DONOTCLIP __MSABI_LONG(0x00000004) +#define D3DDP_DONOTUPDATEEXTENTS __MSABI_LONG(0x00000008) +#define D3DDP_DONOTLIGHT __MSABI_LONG(0x00000010) + +/* ******************************************************************** + Types and structures + ******************************************************************** */ +typedef DWORD D3DVIEWPORTHANDLE, *LPD3DVIEWPORTHANDLE; + + +/***************************************************************************** + * IDirect3D interface + */ +#undef INTERFACE +#define INTERFACE IDirect3D +DECLARE_INTERFACE_(IDirect3D,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3D methods ***/ + STDMETHOD(Initialize)(THIS_ REFIID riid) PURE; + STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK cb, void *ctx) PURE; + STDMETHOD(CreateLight)(THIS_ struct IDirect3DLight **light, IUnknown *outer) PURE; + STDMETHOD(CreateMaterial)(THIS_ struct IDirect3DMaterial **material, IUnknown *outer) PURE; + STDMETHOD(CreateViewport)(THIS_ struct IDirect3DViewport **viewport, IUnknown *outer) PURE; + STDMETHOD(FindDevice)(THIS_ D3DFINDDEVICESEARCH *search, D3DFINDDEVICERESULT *result) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3D_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3D methods ***/ +#define IDirect3D_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirect3D_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b) +#define IDirect3D_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b) +#define IDirect3D_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) +#define IDirect3D_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b) +#define IDirect3D_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3D_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D_AddRef(p) (p)->AddRef() +#define IDirect3D_Release(p) (p)->Release() +/*** IDirect3D methods ***/ +#define IDirect3D_Initialize(p,a) (p)->Initialize(a) +#define IDirect3D_EnumDevices(p,a,b) (p)->EnumDevices(a,b) +#define IDirect3D_CreateLight(p,a,b) (p)->CreateLight(a,b) +#define IDirect3D_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b) +#define IDirect3D_CreateViewport(p,a,b) (p)->CreateViewport(a,b) +#define IDirect3D_FindDevice(p,a,b) (p)->FindDevice(a,b) +#endif + + +/***************************************************************************** + * IDirect3D2 interface + */ +#define INTERFACE IDirect3D2 +DECLARE_INTERFACE_(IDirect3D2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3D2 methods ***/ + STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK cb, void *ctx) PURE; + STDMETHOD(CreateLight)(THIS_ struct IDirect3DLight **light, IUnknown *outer) PURE; + STDMETHOD(CreateMaterial)(THIS_ struct IDirect3DMaterial2 **material, IUnknown *outer) PURE; + STDMETHOD(CreateViewport)(THIS_ struct IDirect3DViewport2 **viewport, IUnknown *outer) PURE; + STDMETHOD(FindDevice)(THIS_ D3DFINDDEVICESEARCH *search, D3DFINDDEVICERESULT *result) PURE; + STDMETHOD(CreateDevice)(THIS_ REFCLSID rclsid, IDirectDrawSurface *surface, + struct IDirect3DDevice2 **device) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3D2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3D2 methods ***/ +#define IDirect3D2_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b) +#define IDirect3D2_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b) +#define IDirect3D2_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) +#define IDirect3D2_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b) +#define IDirect3D2_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b) +#define IDirect3D2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3D2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D2_AddRef(p) (p)->AddRef() +#define IDirect3D2_Release(p) (p)->Release() +/*** IDirect3D2 methods ***/ +#define IDirect3D2_EnumDevices(p,a,b) (p)->EnumDevices(a,b) +#define IDirect3D2_CreateLight(p,a,b) (p)->CreateLight(a,b) +#define IDirect3D2_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b) +#define IDirect3D2_CreateViewport(p,a,b) (p)->CreateViewport(a,b) +#define IDirect3D2_FindDevice(p,a,b) (p)->FindDevice(a,b) +#define IDirect3D2_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#endif + + +/***************************************************************************** + * IDirect3D3 interface + */ +#define INTERFACE IDirect3D3 +DECLARE_INTERFACE_(IDirect3D3,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3D3 methods ***/ + STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK cb, void *ctx) PURE; + STDMETHOD(CreateLight)(THIS_ struct IDirect3DLight **light, IUnknown *outer) PURE; + STDMETHOD(CreateMaterial)(THIS_ struct IDirect3DMaterial3 **material, IUnknown *outer) PURE; + STDMETHOD(CreateViewport)(THIS_ struct IDirect3DViewport3 **viewport, IUnknown *outer) PURE; + STDMETHOD(FindDevice)(THIS_ D3DFINDDEVICESEARCH *search, D3DFINDDEVICERESULT *result) PURE; + STDMETHOD(CreateDevice)(THIS_ REFCLSID rclsid, IDirectDrawSurface4 *surface, + struct IDirect3DDevice3 **device, IUnknown *outer) PURE; + STDMETHOD(CreateVertexBuffer)(THIS_ D3DVERTEXBUFFERDESC *desc, struct IDirect3DVertexBuffer **buffer, + DWORD flags, IUnknown *outer) PURE; + STDMETHOD(EnumZBufferFormats)(THIS_ REFCLSID device_iid, LPD3DENUMPIXELFORMATSCALLBACK cb, void *ctx) PURE; + STDMETHOD(EvictManagedTextures)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3D3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3D3 methods ***/ +#define IDirect3D3_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b) +#define IDirect3D3_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b) +#define IDirect3D3_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) +#define IDirect3D3_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b) +#define IDirect3D3_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b) +#define IDirect3D3_CreateDevice(p,a,b,c,d) (p)->lpVtbl->CreateDevice(p,a,b,c,d) +#define IDirect3D3_CreateVertexBuffer(p,a,b,c,d) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d) +#define IDirect3D3_EnumZBufferFormats(p,a,b,c) (p)->lpVtbl->EnumZBufferFormats(p,a,b,c) +#define IDirect3D3_EvictManagedTextures(p) (p)->lpVtbl->EvictManagedTextures(p) +#else +/*** IUnknown methods ***/ +#define IDirect3D3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D3_AddRef(p) (p)->AddRef() +#define IDirect3D3_Release(p) (p)->Release() +/*** IDirect3D3 methods ***/ +#define IDirect3D3_EnumDevices(p,a,b) (p)->EnumDevices(a,b) +#define IDirect3D3_CreateLight(p,a,b) (p)->CreateLight(a,b) +#define IDirect3D3_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b) +#define IDirect3D3_CreateViewport(p,a,b) (p)->CreateViewport(a,b) +#define IDirect3D3_FindDevice(p,a,b) (p)->FindDevice(a,b) +#define IDirect3D3_CreateDevice(p,a,b,c,d) (p)->CreateDevice(a,b,c,d) +#define IDirect3D3_CreateVertexBuffer(p,a,b,c,d) (p)->CreateVertexBuffer(a,b,c,d) +#define IDirect3D3_EnumZBufferFormats(p,a,b,c) (p)->EnumZBufferFormats(a,b,c) +#define IDirect3D3_EvictManagedTextures(p) (p)->EvictManagedTextures() +#endif + +/***************************************************************************** + * IDirect3D7 interface + */ +#define INTERFACE IDirect3D7 +DECLARE_INTERFACE_(IDirect3D7,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3D7 methods ***/ + STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK7 cb, void *ctx) PURE; + STDMETHOD(CreateDevice)(THIS_ REFCLSID rclsid, IDirectDrawSurface7 *surface, + struct IDirect3DDevice7 **device) PURE; + STDMETHOD(CreateVertexBuffer)(THIS_ D3DVERTEXBUFFERDESC *desc, + struct IDirect3DVertexBuffer7 **buffer, DWORD flags) PURE; + STDMETHOD(EnumZBufferFormats)(THIS_ REFCLSID device_iid, LPD3DENUMPIXELFORMATSCALLBACK cb, void *ctx) PURE; + STDMETHOD(EvictManagedTextures)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3D7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3D3 methods ***/ +#define IDirect3D7_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b) +#define IDirect3D7_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirect3D7_CreateVertexBuffer(p,a,b,c) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c) +#define IDirect3D7_EnumZBufferFormats(p,a,b,c) (p)->lpVtbl->EnumZBufferFormats(p,a,b,c) +#define IDirect3D7_EvictManagedTextures(p) (p)->lpVtbl->EvictManagedTextures(p) +#else +/*** IUnknown methods ***/ +#define IDirect3D7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D7_AddRef(p) (p)->AddRef() +#define IDirect3D7_Release(p) (p)->Release() +/*** IDirect3D3 methods ***/ +#define IDirect3D7_EnumDevices(p,a,b) (p)->EnumDevices(a,b) +#define IDirect3D7_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirect3D7_CreateVertexBuffer(p,a,b,c) (p)->CreateVertexBuffer(a,b,c) +#define IDirect3D7_EnumZBufferFormats(p,a,b,c) (p)->EnumZBufferFormats(a,b,c) +#define IDirect3D7_EvictManagedTextures(p) (p)->EvictManagedTextures() +#endif + + +/***************************************************************************** + * IDirect3DLight interface + */ +#define INTERFACE IDirect3DLight +DECLARE_INTERFACE_(IDirect3DLight,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DLight methods ***/ + STDMETHOD(Initialize)(THIS_ IDirect3D *d3d) PURE; + STDMETHOD(SetLight)(THIS_ D3DLIGHT *data) PURE; + STDMETHOD(GetLight)(THIS_ D3DLIGHT *data) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DLight_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DLight_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DLight_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DLight methods ***/ +#define IDirect3DLight_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirect3DLight_SetLight(p,a) (p)->lpVtbl->SetLight(p,a) +#define IDirect3DLight_GetLight(p,a) (p)->lpVtbl->GetLight(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DLight_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DLight_AddRef(p) (p)->AddRef() +#define IDirect3DLight_Release(p) (p)->Release() +/*** IDirect3DLight methods ***/ +#define IDirect3DLight_Initialize(p,a) (p)->Initialize(a) +#define IDirect3DLight_SetLight(p,a) (p)->SetLight(a) +#define IDirect3DLight_GetLight(p,a) (p)->GetLight(a) +#endif + + +/***************************************************************************** + * IDirect3DMaterial interface + */ +#define INTERFACE IDirect3DMaterial +DECLARE_INTERFACE_(IDirect3DMaterial,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DMaterial methods ***/ + STDMETHOD(Initialize)(THIS_ IDirect3D *d3d) PURE; + STDMETHOD(SetMaterial)(THIS_ D3DMATERIAL *data) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL *data) PURE; + STDMETHOD(GetHandle)(THIS_ struct IDirect3DDevice *device, D3DMATERIALHANDLE *handle) PURE; + STDMETHOD(Reserve)(THIS) PURE; + STDMETHOD(Unreserve)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DMaterial_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DMaterial_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DMaterial_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DMaterial methods ***/ +#define IDirect3DMaterial_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirect3DMaterial_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DMaterial_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DMaterial_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b) +#define IDirect3DMaterial_Reserve(p) (p)->lpVtbl->Reserve(p) +#define IDirect3DMaterial_Unreserve(p) (p)->lpVtbl->Unreserve(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DMaterial_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DMaterial_AddRef(p) (p)->AddRef() +#define IDirect3DMaterial_Release(p) (p)->Release() +/*** IDirect3DMaterial methods ***/ +#define IDirect3DMaterial_Initialize(p,a) (p)->Initialize(a) +#define IDirect3DMaterial_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DMaterial_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DMaterial_GetHandle(p,a,b) (p)->GetHandle(a,b) +#define IDirect3DMaterial_Reserve(p) (p)->Reserve() +#define IDirect3DMaterial_Unreserve(p) (p)->Unreserve() +#endif + + +/***************************************************************************** + * IDirect3DMaterial2 interface + */ +#define INTERFACE IDirect3DMaterial2 +DECLARE_INTERFACE_(IDirect3DMaterial2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DMaterial2 methods ***/ + STDMETHOD(SetMaterial)(THIS_ D3DMATERIAL *data) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL *data) PURE; + STDMETHOD(GetHandle)(THIS_ struct IDirect3DDevice2 *device, D3DMATERIALHANDLE *handle) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DMaterial2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DMaterial2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DMaterial2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DMaterial2 methods ***/ +#define IDirect3DMaterial2_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DMaterial2_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DMaterial2_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DMaterial2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DMaterial2_AddRef(p) (p)->AddRef() +#define IDirect3DMaterial2_Release(p) (p)->Release() +/*** IDirect3DMaterial2 methods ***/ +#define IDirect3DMaterial2_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DMaterial2_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DMaterial2_GetHandle(p,a,b) (p)->GetHandle(a,b) +#endif + + +/***************************************************************************** + * IDirect3DMaterial3 interface + */ +#define INTERFACE IDirect3DMaterial3 +DECLARE_INTERFACE_(IDirect3DMaterial3,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DMaterial3 methods ***/ + STDMETHOD(SetMaterial)(THIS_ D3DMATERIAL *data) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL *data) PURE; + STDMETHOD(GetHandle)(THIS_ struct IDirect3DDevice3 *device, D3DMATERIALHANDLE *handle) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DMaterial3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DMaterial3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DMaterial3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DMaterial3 methods ***/ +#define IDirect3DMaterial3_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DMaterial3_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DMaterial3_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DMaterial3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DMaterial3_AddRef(p) (p)->AddRef() +#define IDirect3DMaterial3_Release(p) (p)->Release() +/*** IDirect3DMaterial3 methods ***/ +#define IDirect3DMaterial3_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DMaterial3_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DMaterial3_GetHandle(p,a,b) (p)->GetHandle(a,b) +#endif + + +/***************************************************************************** + * IDirect3DTexture interface + */ +#define INTERFACE IDirect3DTexture +DECLARE_INTERFACE_(IDirect3DTexture,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DTexture methods ***/ + STDMETHOD(Initialize)(THIS_ struct IDirect3DDevice *device, IDirectDrawSurface *surface) PURE; + STDMETHOD(GetHandle)(THIS_ struct IDirect3DDevice *device, D3DTEXTUREHANDLE *handle) PURE; + STDMETHOD(PaletteChanged)(THIS_ DWORD dwStart, DWORD dwCount) PURE; + STDMETHOD(Load)(THIS_ IDirect3DTexture *texture) PURE; + STDMETHOD(Unload)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DTexture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DTexture_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DTexture_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DTexture methods ***/ +#define IDirect3DTexture_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirect3DTexture_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b) +#define IDirect3DTexture_PaletteChanged(p,a,b) (p)->lpVtbl->PaletteChanged(p,a,b) +#define IDirect3DTexture_Load(p,a) (p)->lpVtbl->Load(p,a) +#define IDirect3DTexture_Unload(p) (p)->lpVtbl->Unload(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DTexture_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DTexture_AddRef(p) (p)->AddRef() +#define IDirect3DTexture_Release(p) (p)->Release() +/*** IDirect3DTexture methods ***/ +#define IDirect3DTexture_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirect3DTexture_GetHandle(p,a,b) (p)->GetHandle(a,b) +#define IDirect3DTexture_PaletteChanged(p,a,b) (p)->PaletteChanged(a,b) +#define IDirect3DTexture_Load(p,a) (p)->Load(a) +#define IDirect3DTexture_Unload(p) (p)->Unload() +#endif + + +/***************************************************************************** + * IDirect3DTexture2 interface + */ +#define INTERFACE IDirect3DTexture2 +DECLARE_INTERFACE_(IDirect3DTexture2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DTexture2 methods ***/ + STDMETHOD(GetHandle)(THIS_ struct IDirect3DDevice2 *device, D3DTEXTUREHANDLE *handle) PURE; + STDMETHOD(PaletteChanged)(THIS_ DWORD dwStart, DWORD dwCount) PURE; + STDMETHOD(Load)(THIS_ IDirect3DTexture2 *texture) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DTexture2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DTexture2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DTexture2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DTexture2 methods ***/ +#define IDirect3DTexture2_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b) +#define IDirect3DTexture2_PaletteChanged(p,a,b) (p)->lpVtbl->PaletteChanged(p,a,b) +#define IDirect3DTexture2_Load(p,a) (p)->lpVtbl->Load(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DTexture2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DTexture2_AddRef(p) (p)->AddRef() +#define IDirect3DTexture2_Release(p) (p)->Release() +/*** IDirect3DTexture2 methods ***/ +#define IDirect3DTexture2_GetHandle(p,a,b) (p)->GetHandle(a,b) +#define IDirect3DTexture2_PaletteChanged(p,a,b) (p)->PaletteChanged(a,b) +#define IDirect3DTexture2_Load(p,a) (p)->Load(a) +#endif + + +/***************************************************************************** + * IDirect3DViewport interface + */ +#define INTERFACE IDirect3DViewport +DECLARE_INTERFACE_(IDirect3DViewport,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DViewport methods ***/ + STDMETHOD(Initialize)(THIS_ IDirect3D *d3d) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT *data) PURE; + STDMETHOD(SetViewport)(THIS_ D3DVIEWPORT *data) PURE; + STDMETHOD(TransformVertices)(THIS_ DWORD vertex_count, D3DTRANSFORMDATA *data, DWORD flags, DWORD *offscreen) PURE; + STDMETHOD(LightElements)(THIS_ DWORD element_count, D3DLIGHTDATA *data) PURE; + STDMETHOD(SetBackground)(THIS_ D3DMATERIALHANDLE hMat) PURE; + STDMETHOD(GetBackground)(THIS_ D3DMATERIALHANDLE *material, BOOL *valid) PURE; + STDMETHOD(SetBackgroundDepth)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(GetBackgroundDepth)(THIS_ IDirectDrawSurface **surface, BOOL *valid) PURE; + STDMETHOD(Clear)(THIS_ DWORD count, D3DRECT *rects, DWORD flags) PURE; + STDMETHOD(AddLight)(THIS_ IDirect3DLight *light) PURE; + STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE; + STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DViewport_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DViewport_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DViewport_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DViewport methods ***/ +#define IDirect3DViewport_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirect3DViewport_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DViewport_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DViewport_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d) +#define IDirect3DViewport_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b) +#define IDirect3DViewport_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a) +#define IDirect3DViewport_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b) +#define IDirect3DViewport_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a) +#define IDirect3DViewport_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b) +#define IDirect3DViewport_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c) +#define IDirect3DViewport_AddLight(p,a) (p)->lpVtbl->AddLight(p,a) +#define IDirect3DViewport_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a) +#define IDirect3DViewport_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DViewport_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DViewport_AddRef(p) (p)->AddRef() +#define IDirect3DViewport_Release(p) (p)->Release() +/*** IDirect3DViewport methods ***/ +#define IDirect3DViewport_Initialize(p,a) (p)->Initialize(a) +#define IDirect3DViewport_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DViewport_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DViewport_TransformVertices(p,a,b,c,d) (p)->TransformVertices(a,b,c,d) +#define IDirect3DViewport_LightElements(p,a,b) (p)->LightElements(a,b) +#define IDirect3DViewport_SetBackground(p,a) (p)->SetBackground(a) +#define IDirect3DViewport_GetBackground(p,a,b) (p)->GetBackground(a,b) +#define IDirect3DViewport_SetBackgroundDepth(p,a) (p)->SetBackgroundDepth(a) +#define IDirect3DViewport_GetBackgroundDepth(p,a,b) (p)->GetBackgroundDepth(a,b) +#define IDirect3DViewport_Clear(p,a,b,c) (p)->Clear(a,b,c) +#define IDirect3DViewport_AddLight(p,a) (p)->AddLight(a) +#define IDirect3DViewport_DeleteLight(p,a) (p)->DeleteLight(a) +#define IDirect3DViewport_NextLight(p,a,b,c) (p)->NextLight(a,b,c) +#endif + + +/***************************************************************************** + * IDirect3DViewport2 interface + */ +#define INTERFACE IDirect3DViewport2 +DECLARE_INTERFACE_(IDirect3DViewport2,IDirect3DViewport) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DViewport methods ***/ + STDMETHOD(Initialize)(THIS_ IDirect3D *d3d) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT *data) PURE; + STDMETHOD(SetViewport)(THIS_ D3DVIEWPORT *data) PURE; + STDMETHOD(TransformVertices)(THIS_ DWORD vertex_count, D3DTRANSFORMDATA *data, DWORD flags, DWORD *offscreen) PURE; + STDMETHOD(LightElements)(THIS_ DWORD element_count, D3DLIGHTDATA *data) PURE; + STDMETHOD(SetBackground)(THIS_ D3DMATERIALHANDLE hMat) PURE; + STDMETHOD(GetBackground)(THIS_ D3DMATERIALHANDLE *material, BOOL *valid) PURE; + STDMETHOD(SetBackgroundDepth)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(GetBackgroundDepth)(THIS_ IDirectDrawSurface **surface, BOOL *valid) PURE; + STDMETHOD(Clear)(THIS_ DWORD count, D3DRECT *rects, DWORD flags) PURE; + STDMETHOD(AddLight)(THIS_ IDirect3DLight *light) PURE; + STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE; + STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE; + /*** IDirect3DViewport2 methods ***/ + STDMETHOD(GetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; + STDMETHOD(SetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DViewport2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DViewport2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DViewport2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3Viewport methods ***/ +#define IDirect3DViewport2_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirect3DViewport2_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DViewport2_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DViewport2_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d) +#define IDirect3DViewport2_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b) +#define IDirect3DViewport2_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a) +#define IDirect3DViewport2_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b) +#define IDirect3DViewport2_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a) +#define IDirect3DViewport2_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b) +#define IDirect3DViewport2_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c) +#define IDirect3DViewport2_AddLight(p,a) (p)->lpVtbl->AddLight(p,a) +#define IDirect3DViewport2_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a) +#define IDirect3DViewport2_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c) +/*** IDirect3DViewport2 methods ***/ +#define IDirect3DViewport2_GetViewport2(p,a) (p)->lpVtbl->GetViewport2(p,a) +#define IDirect3DViewport2_SetViewport2(p,a) (p)->lpVtbl->SetViewport2(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DViewport2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DViewport2_AddRef(p) (p)->AddRef() +#define IDirect3DViewport2_Release(p) (p)->Release() +/*** IDirect3Viewport methods ***/ +#define IDirect3DViewport2_Initialize(p,a) (p)->Initialize(a) +#define IDirect3DViewport2_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DViewport2_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DViewport2_TransformVertices(p,a,b,c,d) (p)->TransformVertices(a,b,c,d) +#define IDirect3DViewport2_LightElements(p,a,b) (p)->LightElements(a,b) +#define IDirect3DViewport2_SetBackground(p,a) (p)->SetBackground(a) +#define IDirect3DViewport2_GetBackground(p,a,b) (p)->GetBackground(a,b) +#define IDirect3DViewport2_SetBackgroundDepth(p,a) (p)->SetBackgroundDepth(a) +#define IDirect3DViewport2_GetBackgroundDepth(p,a,b) (p)->GetBackgroundDepth(a,b) +#define IDirect3DViewport2_Clear(p,a,b,c) (p)->Clear(a,b,c) +#define IDirect3DViewport2_AddLight(p,a) (p)->AddLight(a) +#define IDirect3DViewport2_DeleteLight(p,a) (p)->DeleteLight(a) +#define IDirect3DViewport2_NextLight(p,a,b,c) (p)->NextLight(a,b,c) +/*** IDirect3DViewport2 methods ***/ +#define IDirect3DViewport2_GetViewport2(p,a) (p)->GetViewport2(a) +#define IDirect3DViewport2_SetViewport2(p,a) (p)->SetViewport2(a) +#endif + +/***************************************************************************** + * IDirect3DViewport3 interface + */ +#define INTERFACE IDirect3DViewport3 +DECLARE_INTERFACE_(IDirect3DViewport3,IDirect3DViewport2) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DViewport methods ***/ + STDMETHOD(Initialize)(THIS_ IDirect3D *d3d) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT *data) PURE; + STDMETHOD(SetViewport)(THIS_ D3DVIEWPORT *data) PURE; + STDMETHOD(TransformVertices)(THIS_ DWORD vertex_count, D3DTRANSFORMDATA *data, DWORD flags, DWORD *offscreen) PURE; + STDMETHOD(LightElements)(THIS_ DWORD element_count, D3DLIGHTDATA *data) PURE; + STDMETHOD(SetBackground)(THIS_ D3DMATERIALHANDLE hMat) PURE; + STDMETHOD(GetBackground)(THIS_ D3DMATERIALHANDLE *material, BOOL *valid) PURE; + STDMETHOD(SetBackgroundDepth)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(GetBackgroundDepth)(THIS_ IDirectDrawSurface **surface, BOOL *valid) PURE; + STDMETHOD(Clear)(THIS_ DWORD count, D3DRECT *rects, DWORD flags) PURE; + STDMETHOD(AddLight)(THIS_ IDirect3DLight *light) PURE; + STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE; + STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE; + /*** IDirect3DViewport2 methods ***/ + STDMETHOD(GetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; + STDMETHOD(SetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; + /*** IDirect3DViewport3 methods ***/ + STDMETHOD(SetBackgroundDepth2)(THIS_ IDirectDrawSurface4 *surface) PURE; + STDMETHOD(GetBackgroundDepth2)(THIS_ IDirectDrawSurface4 **surface, BOOL *valid) PURE; + STDMETHOD(Clear2)(THIS_ DWORD count, D3DRECT *rects, DWORD flags, DWORD color, D3DVALUE z, DWORD stencil) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DViewport3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DViewport3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DViewport3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3Viewport methods ***/ +#define IDirect3DViewport3_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirect3DViewport3_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DViewport3_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DViewport3_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d) +#define IDirect3DViewport3_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b) +#define IDirect3DViewport3_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a) +#define IDirect3DViewport3_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b) +#define IDirect3DViewport3_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a) +#define IDirect3DViewport3_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b) +#define IDirect3DViewport3_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c) +#define IDirect3DViewport3_AddLight(p,a) (p)->lpVtbl->AddLight(p,a) +#define IDirect3DViewport3_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a) +#define IDirect3DViewport3_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c) +/*** IDirect3DViewport2 methods ***/ +#define IDirect3DViewport3_GetViewport2(p,a) (p)->lpVtbl->GetViewport2(p,a) +#define IDirect3DViewport3_SetViewport2(p,a) (p)->lpVtbl->SetViewport2(p,a) +/*** IDirect3DViewport3 methods ***/ +#define IDirect3DViewport3_SetBackgroundDepth2(p,a) (p)->lpVtbl->SetBackgroundDepth2(p,a) +#define IDirect3DViewport3_GetBackgroundDepth2(p,a,b) (p)->lpVtbl->GetBackgroundDepth2(p,a,b) +#define IDirect3DViewport3_Clear2(p,a,b,c,d,e,f) (p)->lpVtbl->Clear2(p,a,b,c,d,e,f) +#else +/*** IUnknown methods ***/ +#define IDirect3DViewport3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DViewport3_AddRef(p) (p)->AddRef() +#define IDirect3DViewport3_Release(p) (p)->Release() +/*** IDirect3Viewport methods ***/ +#define IDirect3DViewport3_Initialize(p,a) (p)->Initialize(a) +#define IDirect3DViewport3_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DViewport3_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DViewport3_TransformVertices(p,a,b,c,d) (p)->TransformVertices(a,b,c,d) +#define IDirect3DViewport3_LightElements(p,a,b) (p)->LightElements(a,b) +#define IDirect3DViewport3_SetBackground(p,a) (p)->SetBackground(a) +#define IDirect3DViewport3_GetBackground(p,a,b) (p)->GetBackground(a,b) +#define IDirect3DViewport3_SetBackgroundDepth(p,a) (p)->SetBackgroundDepth(a) +#define IDirect3DViewport3_GetBackgroundDepth(p,a,b) (p)->GetBackgroundDepth(a,b) +#define IDirect3DViewport3_Clear(p,a,b,c) (p)->Clear(a,b,c) +#define IDirect3DViewport3_AddLight(p,a) (p)->AddLight(a) +#define IDirect3DViewport3_DeleteLight(p,a) (p)->DeleteLight(a) +#define IDirect3DViewport3_NextLight(p,a,b,c) (p)->NextLight(a,b,c) +/*** IDirect3DViewport2 methods ***/ +#define IDirect3DViewport3_GetViewport2(p,a) (p)->GetViewport2(a) +#define IDirect3DViewport3_SetViewport2(p,a) (p)->SetViewport2(a) +/*** IDirect3DViewport3 methods ***/ +#define IDirect3DViewport3_SetBackgroundDepth2(p,a) (p)->SetBackgroundDepth2(a) +#define IDirect3DViewport3_GetBackgroundDepth2(p,a,b) (p)->GetBackgroundDepth2(a,b) +#define IDirect3DViewport3_Clear2(p,a,b,c,d,e,f) (p)->Clear2(a,b,c,d,e,f) +#endif + + + +/***************************************************************************** + * IDirect3DExecuteBuffer interface + */ +#define INTERFACE IDirect3DExecuteBuffer +DECLARE_INTERFACE_(IDirect3DExecuteBuffer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DExecuteBuffer methods ***/ + STDMETHOD(Initialize)(THIS_ struct IDirect3DDevice *device, D3DEXECUTEBUFFERDESC *desc) PURE; + STDMETHOD(Lock)(THIS_ D3DEXECUTEBUFFERDESC *desc) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(SetExecuteData)(THIS_ D3DEXECUTEDATA *data) PURE; + STDMETHOD(GetExecuteData)(THIS_ D3DEXECUTEDATA *data) PURE; + STDMETHOD(Validate)(THIS_ DWORD *offset, LPD3DVALIDATECALLBACK cb, void *ctx, DWORD reserved) PURE; + STDMETHOD(Optimize)(THIS_ DWORD dwDummy) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DExecuteBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DExecuteBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DExecuteBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DExecuteBuffer methods ***/ +#define IDirect3DExecuteBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirect3DExecuteBuffer_Lock(p,a) (p)->lpVtbl->Lock(p,a) +#define IDirect3DExecuteBuffer_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DExecuteBuffer_SetExecuteData(p,a) (p)->lpVtbl->SetExecuteData(p,a) +#define IDirect3DExecuteBuffer_GetExecuteData(p,a) (p)->lpVtbl->GetExecuteData(p,a) +#define IDirect3DExecuteBuffer_Validate(p,a,b,c,d) (p)->lpVtbl->Validate(p,a,b,c,d) +#define IDirect3DExecuteBuffer_Optimize(p,a) (p)->lpVtbl->Optimize(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DExecuteBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DExecuteBuffer_AddRef(p) (p)->AddRef() +#define IDirect3DExecuteBuffer_Release(p) (p)->Release() +/*** IDirect3DExecuteBuffer methods ***/ +#define IDirect3DExecuteBuffer_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirect3DExecuteBuffer_Lock(p,a) (p)->Lock(a) +#define IDirect3DExecuteBuffer_Unlock(p) (p)->Unlock() +#define IDirect3DExecuteBuffer_SetExecuteData(p,a) (p)->SetExecuteData(a) +#define IDirect3DExecuteBuffer_GetExecuteData(p,a) (p)->GetExecuteData(a) +#define IDirect3DExecuteBuffer_Validate(p,a,b,c,d) (p)->Validate(a,b,c,d) +#define IDirect3DExecuteBuffer_Optimize(p,a) (p)->Optimize(a) +#endif + + +/***************************************************************************** + * IDirect3DDevice interface + */ +#define INTERFACE IDirect3DDevice +DECLARE_INTERFACE_(IDirect3DDevice,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DDevice methods ***/ + STDMETHOD(Initialize)(THIS_ IDirect3D *d3d, GUID *guid, D3DDEVICEDESC *desc) PURE; + STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc) PURE; + STDMETHOD(SwapTextureHandles)(THIS_ IDirect3DTexture *tex1, IDirect3DTexture *tex2) PURE; + STDMETHOD(CreateExecuteBuffer)(THIS_ D3DEXECUTEBUFFERDESC *desc, + IDirect3DExecuteBuffer **buffer, IUnknown *outer) PURE; + STDMETHOD(GetStats)(THIS_ D3DSTATS *stats) PURE; + STDMETHOD(Execute)(THIS_ IDirect3DExecuteBuffer *buffer, IDirect3DViewport *viewport, + DWORD flags) PURE; + STDMETHOD(AddViewport)(THIS_ IDirect3DViewport *viewport) PURE; + STDMETHOD(DeleteViewport)(THIS_ IDirect3DViewport *viewport) PURE; + STDMETHOD(NextViewport)(THIS_ IDirect3DViewport *ref, + IDirect3DViewport **viewport, DWORD flags) PURE; + STDMETHOD(Pick)(THIS_ IDirect3DExecuteBuffer *buffer, IDirect3DViewport *viewport, + DWORD flags, D3DRECT *rect) PURE; + STDMETHOD(GetPickRecords)(THIS_ DWORD *count, D3DPICKRECORD *records) PURE; + STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMTEXTUREFORMATSCALLBACK cb, void *ctx) PURE; + STDMETHOD(CreateMatrix)(THIS_ D3DMATRIXHANDLE *matrix) PURE; + STDMETHOD(SetMatrix)(THIS_ D3DMATRIXHANDLE handle, D3DMATRIX *matrix) PURE; + STDMETHOD(GetMatrix)(THIS_ D3DMATRIXHANDLE handle, D3DMATRIX *matrix) PURE; + STDMETHOD(DeleteMatrix)(THIS_ D3DMATRIXHANDLE D3DMatHandle) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D **d3d) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DDevice_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DDevice methods ***/ +#define IDirect3DDevice_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirect3DDevice_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirect3DDevice_SwapTextureHandles(p,a,b) (p)->lpVtbl->SwapTextureHandles(p,a,b) +#define IDirect3DDevice_CreateExecuteBuffer(p,a,b,c) (p)->lpVtbl->CreateExecuteBuffer(p,a,b,c) +#define IDirect3DDevice_GetStats(p,a) (p)->lpVtbl->GetStats(p,a) +#define IDirect3DDevice_Execute(p,a,b,c) (p)->lpVtbl->Execute(p,a,b,c) +#define IDirect3DDevice_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a) +#define IDirect3DDevice_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a) +#define IDirect3DDevice_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c) +#define IDirect3DDevice_Pick(p,a,b,c,d) (p)->lpVtbl->Pick(p,a,b,c,d) +#define IDirect3DDevice_GetPickRecords(p,a,b) (p)->lpVtbl->GetPickRecords(p,a,b) +#define IDirect3DDevice_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b) +#define IDirect3DDevice_CreateMatrix(p,a) (p)->lpVtbl->CreateMatrix(p,a) +#define IDirect3DDevice_SetMatrix(p,a,b) (p)->lpVtbl->SetMatrix(p,a,b) +#define IDirect3DDevice_GetMatrix(p,a,b) (p)->lpVtbl->GetMatrix(p,a,b) +#define IDirect3DDevice_DeleteMatrix(p,a) (p)->lpVtbl->DeleteMatrix(p,a) +#define IDirect3DDevice_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DDevice_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice_AddRef(p) (p)->AddRef() +#define IDirect3DDevice_Release(p) (p)->Release() +/*** IDirect3DDevice methods ***/ +#define IDirect3DDevice_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirect3DDevice_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirect3DDevice_SwapTextureHandles(p,a,b) (p)->SwapTextureHandles(a,b) +#define IDirect3DDevice_CreateExecuteBuffer(p,a,b,c) (p)->CreateExecuteBuffer(a,b,c) +#define IDirect3DDevice_GetStats(p,a) (p)->GetStats(a) +#define IDirect3DDevice_Execute(p,a,b,c) (p)->Execute(a,b,c) +#define IDirect3DDevice_AddViewport(p,a) (p)->AddViewport(a) +#define IDirect3DDevice_DeleteViewport(p,a) (p)->DeleteViewport(a) +#define IDirect3DDevice_NextViewport(p,a,b,c) (p)->NextViewport(a,b,c) +#define IDirect3DDevice_Pick(p,a,b,c,d) (p)->Pick(a,b,c,d) +#define IDirect3DDevice_GetPickRecords(p,a,b) (p)->GetPickRecords(a,b) +#define IDirect3DDevice_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b) +#define IDirect3DDevice_CreateMatrix(p,a) (p)->CreateMatrix(a) +#define IDirect3DDevice_SetMatrix(p,a,b) (p)->SetMatrix(a,b) +#define IDirect3DDevice_GetMatrix(p,a,b) (p)->GetMatrix(a,b) +#define IDirect3DDevice_DeleteMatrix(p,a) (p)->DeleteMatrix(a) +#define IDirect3DDevice_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice_EndScene(p) (p)->EndScene() +#define IDirect3DDevice_GetDirect3D(p,a) (p)->GetDirect3D(a) +#endif + + +/***************************************************************************** + * IDirect3DDevice2 interface + */ +#define INTERFACE IDirect3DDevice2 +DECLARE_INTERFACE_(IDirect3DDevice2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DDevice2 methods ***/ + STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc) PURE; + STDMETHOD(SwapTextureHandles)(THIS_ IDirect3DTexture2 *tex1, IDirect3DTexture2 *tex2) PURE; + STDMETHOD(GetStats)(THIS_ D3DSTATS *stats) PURE; + STDMETHOD(AddViewport)(THIS_ IDirect3DViewport2 *viewport) PURE; + STDMETHOD(DeleteViewport)(THIS_ IDirect3DViewport2 *viewport) PURE; + STDMETHOD(NextViewport)(THIS_ IDirect3DViewport2 *ref, + IDirect3DViewport2 **viewport, DWORD flags) PURE; + STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMTEXTUREFORMATSCALLBACK cb, void *ctx) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D2 **d3d) PURE; + /*** DrawPrimitive API ***/ + STDMETHOD(SetCurrentViewport)(THIS_ IDirect3DViewport2 *viewport) PURE; + STDMETHOD(GetCurrentViewport)(THIS_ IDirect3DViewport2 **viewport) PURE; + STDMETHOD(SetRenderTarget)(THIS_ IDirectDrawSurface *surface, DWORD flags) PURE; + STDMETHOD(GetRenderTarget)(THIS_ IDirectDrawSurface **surface) PURE; + STDMETHOD(Begin)(THIS_ D3DPRIMITIVETYPE d3dpt,D3DVERTEXTYPE dwVertexTypeDesc,DWORD dwFlags) PURE; + STDMETHOD(BeginIndexed)(THIS_ D3DPRIMITIVETYPE primitive_type, D3DVERTEXTYPE vertex_type, + void *vertices, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(Vertex)(THIS_ void *vertex) PURE; + STDMETHOD(Index)(THIS_ WORD wVertexIndex) PURE; + STDMETHOD(End)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, LPDWORD lpdwRenderState) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, DWORD dwRenderState) PURE; + STDMETHOD(GetLightState)(THIS_ D3DLIGHTSTATETYPE dwLightStateType, LPDWORD lpdwLightState) PURE; + STDMETHOD(SetLightState)(THIS_ D3DLIGHTSTATETYPE dwLightStateType, DWORD dwLightState) PURE; + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, D3DVERTEXTYPE vertex_type, + void *vertices, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, D3DVERTEXTYPE vertex_type, + void *vertices, DWORD vertex_count, WORD *indices, DWORD index_count, DWORD flags) PURE; + STDMETHOD(SetClipStatus)(THIS_ D3DCLIPSTATUS *clip_status) PURE; + STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS *clip_status) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DDevice2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DDevice2 methods ***/ +#define IDirect3DDevice2_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirect3DDevice2_SwapTextureHandles(p,a,b) (p)->lpVtbl->SwapTextureHandles(p,a,b) +#define IDirect3DDevice2_GetStats(p,a) (p)->lpVtbl->GetStats(p,a) +#define IDirect3DDevice2_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a) +#define IDirect3DDevice2_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a) +#define IDirect3DDevice2_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c) +#define IDirect3DDevice2_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b) +#define IDirect3DDevice2_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice2_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice2_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#define IDirect3DDevice2_SetCurrentViewport(p,a) (p)->lpVtbl->SetCurrentViewport(p,a) +#define IDirect3DDevice2_GetCurrentViewport(p,a) (p)->lpVtbl->GetCurrentViewport(p,a) +#define IDirect3DDevice2_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) +#define IDirect3DDevice2_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a) +#define IDirect3DDevice2_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c) +#define IDirect3DDevice2_BeginIndexed(p,a,b,c,d,e) (p)->lpVtbl->BeginIndexed(p,a,b,c,d,e) +#define IDirect3DDevice2_Vertex(p,a) (p)->lpVtbl->Vertex(p,a) +#define IDirect3DDevice2_Index(p,a) (p)->lpVtbl->Index(p,a) +#define IDirect3DDevice2_End(p,a) (p)->lpVtbl->End(p,a) +#define IDirect3DDevice2_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) +#define IDirect3DDevice2_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) +#define IDirect3DDevice2_GetLightState(p,a,b) (p)->lpVtbl->GetLightState(p,a,b) +#define IDirect3DDevice2_SetLightState(p,a,b) (p)->lpVtbl->SetLightState(p,a,b) +#define IDirect3DDevice2_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) +#define IDirect3DDevice2_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DDevice2_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) +#define IDirect3DDevice2_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e) +#define IDirect3DDevice2_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g) +#define IDirect3DDevice2_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) +#define IDirect3DDevice2_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DDevice2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice2_AddRef(p) (p)->AddRef() +#define IDirect3DDevice2_Release(p) (p)->Release() +/*** IDirect3DDevice2 methods ***/ +#define IDirect3DDevice2_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirect3DDevice2_SwapTextureHandles(p,a,b) (p)->SwapTextureHandles(a,b) +#define IDirect3DDevice2_GetStats(p,a) (p)->GetStats(a) +#define IDirect3DDevice2_AddViewport(p,a) (p)->AddViewport(a) +#define IDirect3DDevice2_DeleteViewport(p,a) (p)->DeleteViewport(a) +#define IDirect3DDevice2_NextViewport(p,a,b,c) (p)->NextViewport(a,b,c) +#define IDirect3DDevice2_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b) +#define IDirect3DDevice2_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice2_EndScene(p) (p)->EndScene() +#define IDirect3DDevice2_GetDirect3D(p,a) (p)->GetDirect3D(a) +#define IDirect3DDevice2_SetCurrentViewport(p,a) (p)->SetCurrentViewport(a) +#define IDirect3DDevice2_GetCurrentViewport(p,a) (p)->GetCurrentViewport(a) +#define IDirect3DDevice2_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) +#define IDirect3DDevice2_GetRenderTarget(p,a) (p)->GetRenderTarget(a) +#define IDirect3DDevice2_Begin(p,a,b,c) (p)->Begin(a,b,c) +#define IDirect3DDevice2_BeginIndexed(p,a,b,c,d,e) (p)->BeginIndexed(a,b,c,d,e) +#define IDirect3DDevice2_Vertex(p,a) (p)->Vertex(a) +#define IDirect3DDevice2_Index(p,a) (p)->Index(a) +#define IDirect3DDevice2_End(p,a) (p)->End(a) +#define IDirect3DDevice2_GetRenderState(p,a,b) (p)->GetRenderState(a,b) +#define IDirect3DDevice2_SetRenderState(p,a,b) (p)->SetRenderState(a,b) +#define IDirect3DDevice2_GetLightState(p,a,b) (p)->GetLightState(a,b) +#define IDirect3DDevice2_SetLightState(p,a,b) (p)->SetLightState(a,b) +#define IDirect3DDevice2_SetTransform(p,a,b) (p)->SetTransform(a,b) +#define IDirect3DDevice2_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DDevice2_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) +#define IDirect3DDevice2_DrawPrimitive(p,a,b,c,d,e) (p)->DrawPrimitive(a,b,c,d,e) +#define IDirect3DDevice2_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitive(a,b,c,d,e,f,g) +#define IDirect3DDevice2_SetClipStatus(p,a) (p)->SetClipStatus(a) +#define IDirect3DDevice2_GetClipStatus(p,a) (p)->GetClipStatus(a) +#endif + +/***************************************************************************** + * IDirect3DDevice3 interface + */ +#define INTERFACE IDirect3DDevice3 +DECLARE_INTERFACE_(IDirect3DDevice3,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DDevice3 methods ***/ + STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc) PURE; + STDMETHOD(GetStats)(THIS_ D3DSTATS *stats) PURE; + STDMETHOD(AddViewport)(THIS_ IDirect3DViewport3 *viewport) PURE; + STDMETHOD(DeleteViewport)(THIS_ IDirect3DViewport3 *viewport) PURE; + STDMETHOD(NextViewport)(THIS_ IDirect3DViewport3 *ref, + IDirect3DViewport3 **viewport, DWORD flags) PURE; + STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMPIXELFORMATSCALLBACK cb, void *ctx) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D3 **d3d) PURE; + /*** DrawPrimitive API ***/ + STDMETHOD(SetCurrentViewport)(THIS_ IDirect3DViewport3 *viewport) PURE; + STDMETHOD(GetCurrentViewport)(THIS_ IDirect3DViewport3 **viewport) PURE; + STDMETHOD(SetRenderTarget)(THIS_ IDirectDrawSurface4 *surface, DWORD flags) PURE; + STDMETHOD(GetRenderTarget)(THIS_ IDirectDrawSurface4 **surface) PURE; + STDMETHOD(Begin)(THIS_ D3DPRIMITIVETYPE d3dptPrimitiveType,DWORD dwVertexTypeDesc, DWORD dwFlags) PURE; + STDMETHOD(BeginIndexed)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + void *vertices, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(Vertex)(THIS_ void *vertex) PURE; + STDMETHOD(Index)(THIS_ WORD wVertexIndex) PURE; + STDMETHOD(End)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, LPDWORD lpdwRenderState) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, DWORD dwRenderState) PURE; + STDMETHOD(GetLightState)(THIS_ D3DLIGHTSTATETYPE dwLightStateType, LPDWORD lpdwLightState) PURE; + STDMETHOD(SetLightState)(THIS_ D3DLIGHTSTATETYPE dwLightStateType, DWORD dwLightState) PURE; + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD vertex_type, + void *vertices, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + void *vertices, DWORD vertex_count, WORD *indices, DWORD index_count, DWORD flags) PURE; + STDMETHOD(SetClipStatus)(THIS_ D3DCLIPSTATUS *clip_status) PURE; + STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS *clip_status) PURE; + STDMETHOD(DrawPrimitiveStrided)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + D3DDRAWPRIMITIVESTRIDEDDATA *strided_data, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitiveStrided)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + D3DDRAWPRIMITIVESTRIDEDDATA *strided_data, DWORD vertex_count, WORD *indices, DWORD index_count, + DWORD flags) PURE; + STDMETHOD(DrawPrimitiveVB)(THIS_ D3DPRIMITIVETYPE primitive_type, struct IDirect3DVertexBuffer *vb, + DWORD start_vertex, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitiveVB)(THIS_ D3DPRIMITIVETYPE primitive_type, struct IDirect3DVertexBuffer *vb, + WORD *indices, DWORD index_count, DWORD flags) PURE; + STDMETHOD(ComputeSphereVisibility)(THIS_ D3DVECTOR *centers, D3DVALUE *radii, DWORD sphere_count, + DWORD flags, DWORD *ret) PURE; + STDMETHOD(GetTexture)(THIS_ DWORD stage, IDirect3DTexture2 **texture) PURE; + STDMETHOD(SetTexture)(THIS_ DWORD stage, IDirect3DTexture2 *texture) PURE; + STDMETHOD(GetTextureStageState)(THIS_ DWORD dwStage,D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,LPDWORD lpdwState) PURE; + STDMETHOD(SetTextureStageState)(THIS_ DWORD dwStage,D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,DWORD dwState) PURE; + STDMETHOD(ValidateDevice)(THIS_ LPDWORD lpdwPasses) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DDevice3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DDevice3 methods ***/ +#define IDirect3DDevice3_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirect3DDevice3_GetStats(p,a) (p)->lpVtbl->GetStats(p,a) +#define IDirect3DDevice3_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a) +#define IDirect3DDevice3_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a) +#define IDirect3DDevice3_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c) +#define IDirect3DDevice3_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b) +#define IDirect3DDevice3_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice3_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice3_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#define IDirect3DDevice3_SetCurrentViewport(p,a) (p)->lpVtbl->SetCurrentViewport(p,a) +#define IDirect3DDevice3_GetCurrentViewport(p,a) (p)->lpVtbl->GetCurrentViewport(p,a) +#define IDirect3DDevice3_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) +#define IDirect3DDevice3_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a) +#define IDirect3DDevice3_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c) +#define IDirect3DDevice3_BeginIndexed(p,a,b,c,d,e) (p)->lpVtbl->BeginIndexed(p,a,b,c,d,e) +#define IDirect3DDevice3_Vertex(p,a) (p)->lpVtbl->Vertex(p,a) +#define IDirect3DDevice3_Index(p,a) (p)->lpVtbl->Index(p,a) +#define IDirect3DDevice3_End(p,a) (p)->lpVtbl->End(p,a) +#define IDirect3DDevice3_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) +#define IDirect3DDevice3_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) +#define IDirect3DDevice3_GetLightState(p,a,b) (p)->lpVtbl->GetLightState(p,a,b) +#define IDirect3DDevice3_SetLightState(p,a,b) (p)->lpVtbl->SetLightState(p,a,b) +#define IDirect3DDevice3_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) +#define IDirect3DDevice3_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DDevice3_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) +#define IDirect3DDevice3_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e) +#define IDirect3DDevice3_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g) +#define IDirect3DDevice3_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) +#define IDirect3DDevice3_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) +#define IDirect3DDevice3_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveStrided(p,a,b,c,d,e) +#define IDirect3DDevice3_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) +#define IDirect3DDevice3_DrawPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveVB(p,a,b,c,d,e) +#define IDirect3DDevice3_DrawIndexedPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawIndexedPrimitiveVB(p,a,b,c,d,e) +#define IDirect3DDevice3_ComputeSphereVisibility(p,a,b,c,d,e) (p)->lpVtbl->ComputeSphereVisibility(p,a,b,c,d,e) +#define IDirect3DDevice3_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b) +#define IDirect3DDevice3_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b) +#define IDirect3DDevice3_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c) +#define IDirect3DDevice3_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c) +#define IDirect3DDevice3_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DDevice3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice3_AddRef(p) (p)->AddRef() +#define IDirect3DDevice3_Release(p) (p)->Release() +/*** IDirect3DDevice3 methods ***/ +#define IDirect3DDevice3_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirect3DDevice3_GetStats(p,a) (p)->GetStats(a) +#define IDirect3DDevice3_AddViewport(p,a) (p)->AddViewport(a) +#define IDirect3DDevice3_DeleteViewport(p,a) (p)->DeleteViewport(a) +#define IDirect3DDevice3_NextViewport(p,a,b,c) (p)->NextViewport(a,b,c) +#define IDirect3DDevice3_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b) +#define IDirect3DDevice3_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice3_EndScene(p) (p)->EndScene() +#define IDirect3DDevice3_GetDirect3D(p,a) (p)->GetDirect3D(a) +#define IDirect3DDevice3_SetCurrentViewport(p,a) (p)->SetCurrentViewport(a) +#define IDirect3DDevice3_GetCurrentViewport(p,a) (p)->GetCurrentViewport(a) +#define IDirect3DDevice3_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) +#define IDirect3DDevice3_GetRenderTarget(p,a) (p)->GetRenderTarget(a) +#define IDirect3DDevice3_Begin(p,a,b,c) (p)->Begin(a,b,c) +#define IDirect3DDevice3_BeginIndexed(p,a,b,c,d,e) (p)->BeginIndexed(a,b,c,d,e) +#define IDirect3DDevice3_Vertex(p,a) (p)->Vertex(a) +#define IDirect3DDevice3_Index(p,a) (p)->Index(a) +#define IDirect3DDevice3_End(p,a) (p)->End(a) +#define IDirect3DDevice3_GetRenderState(p,a,b) (p)->GetRenderState(a,b) +#define IDirect3DDevice3_SetRenderState(p,a,b) (p)->SetRenderState(a,b) +#define IDirect3DDevice3_GetLightState(p,a,b) (p)->GetLightState(a,b) +#define IDirect3DDevice3_SetLightState(p,a,b) (p)->SetLightState(a,b) +#define IDirect3DDevice3_SetTransform(p,a,b) (p)->SetTransform(a,b) +#define IDirect3DDevice3_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DDevice3_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) +#define IDirect3DDevice3_DrawPrimitive(p,a,b,c,d,e) (p)->DrawPrimitive(a,b,c,d,e) +#define IDirect3DDevice3_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitive(a,b,c,d,e,f,g) +#define IDirect3DDevice3_SetClipStatus(p,a) (p)->SetClipStatus(a) +#define IDirect3DDevice3_GetClipStatus(p,a) (p)->GetClipStatus(a) +#define IDirect3DDevice3_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->DrawPrimitiveStrided(a,b,c,d,e) +#define IDirect3DDevice3_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitiveStrided(a,b,c,d,e,f,g) +#define IDirect3DDevice3_DrawPrimitiveVB(p,a,b,c,d,e) (p)->DrawPrimitiveVB(a,b,c,d,e) +#define IDirect3DDevice3_DrawIndexedPrimitiveVB(p,a,b,c,d,e) (p)->DrawIndexedPrimitiveVB(a,b,c,d,e) +#define IDirect3DDevice3_ComputeSphereVisibility(p,a,b,c,d,e) (p)->ComputeSphereVisibility(a,b,c,d,e) +#define IDirect3DDevice3_GetTexture(p,a,b) (p)->GetTexture(a,b) +#define IDirect3DDevice3_SetTexture(p,a,b) (p)->SetTexture(a,b) +#define IDirect3DDevice3_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c) +#define IDirect3DDevice3_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c) +#define IDirect3DDevice3_ValidateDevice(p,a) (p)->ValidateDevice(a) +#endif + +/***************************************************************************** + * IDirect3DDevice7 interface + */ +#define INTERFACE IDirect3DDevice7 +DECLARE_INTERFACE_(IDirect3DDevice7,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DDevice7 methods ***/ + STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC7 *desc) PURE; + STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMPIXELFORMATSCALLBACK cb, void *ctx) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D7 **d3d) PURE; + STDMETHOD(SetRenderTarget)(THIS_ IDirectDrawSurface7 *surface, DWORD flags) PURE; + STDMETHOD(GetRenderTarget)(THIS_ IDirectDrawSurface7 **surface) PURE; + STDMETHOD(Clear)(THIS_ DWORD count, D3DRECT *rects, DWORD flags, D3DCOLOR color, D3DVALUE z, DWORD stencil) PURE; + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(SetViewport)(THIS_ D3DVIEWPORT7 *data) PURE; + STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT7 *data) PURE; + STDMETHOD(SetMaterial)(THIS_ D3DMATERIAL7 *data) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL7 *data) PURE; + STDMETHOD(SetLight)(THIS_ DWORD idx, D3DLIGHT7 *data) PURE; + STDMETHOD(GetLight)(THIS_ DWORD idx, D3DLIGHT7 *data) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, DWORD dwRenderState) PURE; + STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, LPDWORD lpdwRenderState) PURE; + STDMETHOD(BeginStateBlock)(THIS) PURE; + STDMETHOD(EndStateBlock)(THIS_ LPDWORD lpdwBlockHandle) PURE; + STDMETHOD(PreLoad)(THIS_ IDirectDrawSurface7 *surface) PURE; + STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + void *vertices, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + void *vertices, DWORD vertex_count, WORD *indices, DWORD index_count, DWORD flags) PURE; + STDMETHOD(SetClipStatus)(THIS_ D3DCLIPSTATUS *clip_status) PURE; + STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS *clip_status) PURE; + STDMETHOD(DrawPrimitiveStrided)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + D3DDRAWPRIMITIVESTRIDEDDATA *strided_data, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitiveStrided)(THIS_ D3DPRIMITIVETYPE primitive_type, DWORD fvf, + D3DDRAWPRIMITIVESTRIDEDDATA *strided_data, DWORD vertex_count, WORD *indices, DWORD index_count, + DWORD flags) PURE; + STDMETHOD(DrawPrimitiveVB)(THIS_ D3DPRIMITIVETYPE primitive_type, struct IDirect3DVertexBuffer7 *vb, + DWORD start_vertex, DWORD vertex_count, DWORD flags) PURE; + STDMETHOD(DrawIndexedPrimitiveVB)(THIS_ D3DPRIMITIVETYPE primitive_type, struct IDirect3DVertexBuffer7 *vb, + DWORD start_vertex, DWORD vertex_count, WORD *indices, DWORD index_count, DWORD flags) PURE; + STDMETHOD(ComputeSphereVisibility)(THIS_ D3DVECTOR *centers, D3DVALUE *radii, DWORD sphere_count, + DWORD flags, DWORD *ret) PURE; + STDMETHOD(GetTexture)(THIS_ DWORD stage, IDirectDrawSurface7 **surface) PURE; + STDMETHOD(SetTexture)(THIS_ DWORD stage, IDirectDrawSurface7 *surface) PURE; + STDMETHOD(GetTextureStageState)(THIS_ DWORD dwStage,D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,LPDWORD lpdwState) PURE; + STDMETHOD(SetTextureStageState)(THIS_ DWORD dwStage,D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,DWORD dwState) PURE; + STDMETHOD(ValidateDevice)(THIS_ LPDWORD lpdwPasses) PURE; + STDMETHOD(ApplyStateBlock)(THIS_ DWORD dwBlockHandle) PURE; + STDMETHOD(CaptureStateBlock)(THIS_ DWORD dwBlockHandle) PURE; + STDMETHOD(DeleteStateBlock)(THIS_ DWORD dwBlockHandle) PURE; + STDMETHOD(CreateStateBlock)(THIS_ D3DSTATEBLOCKTYPE d3dsbType,LPDWORD lpdwBlockHandle) PURE; + STDMETHOD(Load)(THIS_ IDirectDrawSurface7 *dst_surface, POINT *dst_point, + IDirectDrawSurface7 *src_surface, RECT *src_rect, DWORD flags) PURE; + STDMETHOD(LightEnable)(THIS_ DWORD dwLightIndex,BOOL bEnable) PURE; + STDMETHOD(GetLightEnable)(THIS_ DWORD dwLightIndex,BOOL *pbEnable) PURE; + STDMETHOD(SetClipPlane)(THIS_ DWORD dwIndex,D3DVALUE *pPlaneEquation) PURE; + STDMETHOD(GetClipPlane)(THIS_ DWORD dwIndex,D3DVALUE *pPlaneEquation) PURE; + STDMETHOD(GetInfo)(THIS_ DWORD info_id, void *info, DWORD info_size) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DDevice7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DDevice7 methods ***/ +#define IDirect3DDevice7_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirect3DDevice7_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b) +#define IDirect3DDevice7_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice7_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice7_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#define IDirect3DDevice7_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) +#define IDirect3DDevice7_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a) +#define IDirect3DDevice7_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f) +#define IDirect3DDevice7_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) +#define IDirect3DDevice7_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DDevice7_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DDevice7_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) +#define IDirect3DDevice7_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DDevice7_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DDevice7_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DDevice7_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b) +#define IDirect3DDevice7_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b) +#define IDirect3DDevice7_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) +#define IDirect3DDevice7_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) +#define IDirect3DDevice7_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p) +#define IDirect3DDevice7_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a) +#define IDirect3DDevice7_PreLoad(p,a) (p)->lpVtbl->PreLoad(p,a) +#define IDirect3DDevice7_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e) +#define IDirect3DDevice7_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g) +#define IDirect3DDevice7_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) +#define IDirect3DDevice7_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) +#define IDirect3DDevice7_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveStrided(p,a,b,c,d,e) +#define IDirect3DDevice7_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) +#define IDirect3DDevice7_DrawPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveVB(p,a,b,c,d,e) +#define IDirect3DDevice7_DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) +#define IDirect3DDevice7_ComputeSphereVisibility(p,a,b,c,d,e) (p)->lpVtbl->ComputeSphereVisibility(p,a,b,c,d,e) +#define IDirect3DDevice7_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b) +#define IDirect3DDevice7_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b) +#define IDirect3DDevice7_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c) +#define IDirect3DDevice7_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c) +#define IDirect3DDevice7_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a) +#define IDirect3DDevice7_ApplyStateBlock(p,a) (p)->lpVtbl->ApplyStateBlock(p,a) +#define IDirect3DDevice7_CaptureStateBlock(p,a) (p)->lpVtbl->CaptureStateBlock(p,a) +#define IDirect3DDevice7_DeleteStateBlock(p,a) (p)->lpVtbl->DeleteStateBlock(p,a) +#define IDirect3DDevice7_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b) +#define IDirect3DDevice7_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DDevice7_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b) +#define IDirect3DDevice7_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b) +#define IDirect3DDevice7_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b) +#define IDirect3DDevice7_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b) +#define IDirect3DDevice7_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DDevice7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice7_AddRef(p) (p)->AddRef() +#define IDirect3DDevice7_Release(p) (p)->Release() +/*** IDirect3DDevice7 methods ***/ +#define IDirect3DDevice7_GetCaps(p,a) (p)->GetCaps(a) +#define IDirect3DDevice7_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b) +#define IDirect3DDevice7_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice7_EndScene(p) (p)->EndScene() +#define IDirect3DDevice7_GetDirect3D(p,a) (p)->GetDirect3D(a) +#define IDirect3DDevice7_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) +#define IDirect3DDevice7_GetRenderTarget(p,a) (p)->GetRenderTarget(a) +#define IDirect3DDevice7_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f) +#define IDirect3DDevice7_SetTransform(p,a,b) (p)->SetTransform(a,b) +#define IDirect3DDevice7_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DDevice7_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DDevice7_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) +#define IDirect3DDevice7_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DDevice7_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DDevice7_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DDevice7_SetLight(p,a,b) (p)->SetLight(a,b) +#define IDirect3DDevice7_GetLight(p,a,b) (p)->GetLight(a,b) +#define IDirect3DDevice7_SetRenderState(p,a,b) (p)->SetRenderState(a,b) +#define IDirect3DDevice7_GetRenderState(p,a,b) (p)->GetRenderState(a,b) +#define IDirect3DDevice7_BeginStateBlock(p) (p)->BeginStateBlock() +#define IDirect3DDevice7_EndStateBlock(p,a) (p)->EndStateBlock(a) +#define IDirect3DDevice7_PreLoad(p,a) (p)->PreLoad(a) +#define IDirect3DDevice7_DrawPrimitive(p,a,b,c,d,e) (p)->DrawPrimitive(a,b,c,d,e) +#define IDirect3DDevice7_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitive(a,b,c,d,e,f,g) +#define IDirect3DDevice7_SetClipStatus(p,a) (p)->SetClipStatus(a) +#define IDirect3DDevice7_GetClipStatus(p,a) (p)->GetClipStatus(a) +#define IDirect3DDevice7_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->DrawPrimitiveStrided(a,b,c,d,e) +#define IDirect3DDevice7_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitiveStrided(a,b,c,d,e,f,g) +#define IDirect3DDevice7_DrawPrimitiveVB(p,a,b,c,d,e) (p)->DrawPrimitiveVB(a,b,c,d,e) +#define IDirect3DDevice7_DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitiveVB(a,b,c,d,e,f,g) +#define IDirect3DDevice7_ComputeSphereVisibility(p,a,b,c,d,e) (p)->ComputeSphereVisibility(a,b,c,d,e) +#define IDirect3DDevice7_GetTexture(p,a,b) (p)->GetTexture(a,b) +#define IDirect3DDevice7_SetTexture(p,a,b) (p)->SetTexture(a,b) +#define IDirect3DDevice7_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c) +#define IDirect3DDevice7_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c) +#define IDirect3DDevice7_ValidateDevice(p,a) (p)->ValidateDevice(a) +#define IDirect3DDevice7_ApplyStateBlock(p,a) (p)->ApplyStateBlock(a) +#define IDirect3DDevice7_CaptureStateBlock(p,a) (p)->CaptureStateBlock(a) +#define IDirect3DDevice7_DeleteStateBlock(p,a) (p)->DeleteStateBlock(a) +#define IDirect3DDevice7_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b) +#define IDirect3DDevice7_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DDevice7_LightEnable(p,a,b) (p)->LightEnable(a,b) +#define IDirect3DDevice7_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b) +#define IDirect3DDevice7_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b) +#define IDirect3DDevice7_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b) +#define IDirect3DDevice7_GetInfo(p,a,b,c) (p)->GetInfo(a,b,c) +#endif + + + +/***************************************************************************** + * IDirect3DVertexBuffer interface + */ +#define INTERFACE IDirect3DVertexBuffer +DECLARE_INTERFACE_(IDirect3DVertexBuffer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DVertexBuffer methods ***/ + STDMETHOD(Lock)(THIS_ DWORD flags, void **data, DWORD *data_size) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(ProcessVertices)(THIS_ DWORD vertex_op, DWORD dst_idx, DWORD count, + IDirect3DVertexBuffer *src_buffer, DWORD src_idx, + IDirect3DDevice3 *device, DWORD flags) PURE; + STDMETHOD(GetVertexBufferDesc)(THIS_ D3DVERTEXBUFFERDESC *desc) PURE; + STDMETHOD(Optimize)(THIS_ IDirect3DDevice3 *device, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVertexBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVertexBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVertexBuffer methods ***/ +#define IDirect3DVertexBuffer_Lock(p,a,b,c) (p)->lpVtbl->Lock(p,a,b,c) +#define IDirect3DVertexBuffer_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DVertexBuffer_ProcessVertices(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f,g) +#define IDirect3DVertexBuffer_GetVertexBufferDesc(p,a) (p)->lpVtbl->GetVertexBufferDesc(p,a) +#define IDirect3DVertexBuffer_Optimize(p,a,b) (p)->lpVtbl->Optimize(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVertexBuffer_AddRef(p) (p)->AddRef() +#define IDirect3DVertexBuffer_Release(p) (p)->Release() +/*** IDirect3DVertexBuffer methods ***/ +#define IDirect3DVertexBuffer_Lock(p,a,b,c) (p)->Lock(a,b,c) +#define IDirect3DVertexBuffer_Unlock(p) (p)->Unlock() +#define IDirect3DVertexBuffer_ProcessVertices(p,a,b,c,d,e,f,g) (p)->ProcessVertices(a,b,c,d,e,f,g) +#define IDirect3DVertexBuffer_GetVertexBufferDesc(p,a) (p)->GetVertexBufferDesc(a) +#define IDirect3DVertexBuffer_Optimize(p,a,b) (p)->Optimize(a,b) +#endif + +/***************************************************************************** + * IDirect3DVertexBuffer7 interface + */ +#define INTERFACE IDirect3DVertexBuffer7 +DECLARE_INTERFACE_(IDirect3DVertexBuffer7,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DVertexBuffer7 methods ***/ + STDMETHOD(Lock)(THIS_ DWORD flags, void **data, DWORD *data_size) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(ProcessVertices)(THIS_ DWORD vertex_op, DWORD dst_idx, DWORD count, + IDirect3DVertexBuffer7 *src_buffer, DWORD src_idx, + IDirect3DDevice7 *device, DWORD flags) PURE; + STDMETHOD(GetVertexBufferDesc)(THIS_ D3DVERTEXBUFFERDESC *desc) PURE; + STDMETHOD(Optimize)(THIS_ IDirect3DDevice7 *device, DWORD flags) PURE; + STDMETHOD(ProcessVerticesStrided)(THIS_ DWORD vertex_op, DWORD dst_idx, DWORD count, + D3DDRAWPRIMITIVESTRIDEDDATA *data, DWORD fvf, IDirect3DDevice7 *device, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVertexBuffer7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVertexBuffer7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVertexBuffer7 methods ***/ +#define IDirect3DVertexBuffer7_Lock(p,a,b,c) (p)->lpVtbl->Lock(p,a,b,c) +#define IDirect3DVertexBuffer7_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DVertexBuffer7_ProcessVertices(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f,g) +#define IDirect3DVertexBuffer7_GetVertexBufferDesc(p,a) (p)->lpVtbl->GetVertexBufferDesc(p,a) +#define IDirect3DVertexBuffer7_Optimize(p,a,b) (p)->lpVtbl->Optimize(p,a,b) +#define IDirect3DVertexBuffer7_ProcessVerticesStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVerticesStrided(p,a,b,c,d,e,f,g) +#else +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVertexBuffer7_AddRef(p) (p)->AddRef() +#define IDirect3DVertexBuffer7_Release(p) (p)->Release() +/*** IDirect3DVertexBuffer7 methods ***/ +#define IDirect3DVertexBuffer7_Lock(p,a,b,c) (p)->Lock(a,b,c) +#define IDirect3DVertexBuffer7_Unlock(p) (p)->Unlock() +#define IDirect3DVertexBuffer7_ProcessVertices(p,a,b,c,d,e,f,g) (p)->ProcessVertices(a,b,c,d,e,f,g) +#define IDirect3DVertexBuffer7_GetVertexBufferDesc(p,a) (p)->GetVertexBufferDesc(a) +#define IDirect3DVertexBuffer7_Optimize(p,a,b) (p)->Optimize(a,b) +#define IDirect3DVertexBuffer7_ProcessVerticesStrided(p,a,b,c,d,e,f,g) (p)->ProcessVerticesStrided(a,b,c,d,e,f,g) +#endif + +#endif /* __WINE_D3D_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10.h new file mode 100644 index 0000000..c357c5b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10.h @@ -0,0 +1,5771 @@ +/*** Autogenerated by WIDL 2.18 from d3d10.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d10_h__ +#define __d3d10_h__ + +/* Forward declarations */ + +#ifndef __ID3D10DeviceChild_FWD_DEFINED__ +#define __ID3D10DeviceChild_FWD_DEFINED__ +typedef interface ID3D10DeviceChild ID3D10DeviceChild; +#ifdef __cplusplus +interface ID3D10DeviceChild; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Resource_FWD_DEFINED__ +#define __ID3D10Resource_FWD_DEFINED__ +typedef interface ID3D10Resource ID3D10Resource; +#ifdef __cplusplus +interface ID3D10Resource; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Buffer_FWD_DEFINED__ +#define __ID3D10Buffer_FWD_DEFINED__ +typedef interface ID3D10Buffer ID3D10Buffer; +#ifdef __cplusplus +interface ID3D10Buffer; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Texture1D_FWD_DEFINED__ +#define __ID3D10Texture1D_FWD_DEFINED__ +typedef interface ID3D10Texture1D ID3D10Texture1D; +#ifdef __cplusplus +interface ID3D10Texture1D; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Texture2D_FWD_DEFINED__ +#define __ID3D10Texture2D_FWD_DEFINED__ +typedef interface ID3D10Texture2D ID3D10Texture2D; +#ifdef __cplusplus +interface ID3D10Texture2D; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Texture3D_FWD_DEFINED__ +#define __ID3D10Texture3D_FWD_DEFINED__ +typedef interface ID3D10Texture3D ID3D10Texture3D; +#ifdef __cplusplus +interface ID3D10Texture3D; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10View_FWD_DEFINED__ +#define __ID3D10View_FWD_DEFINED__ +typedef interface ID3D10View ID3D10View; +#ifdef __cplusplus +interface ID3D10View; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10DepthStencilView_FWD_DEFINED__ +#define __ID3D10DepthStencilView_FWD_DEFINED__ +typedef interface ID3D10DepthStencilView ID3D10DepthStencilView; +#ifdef __cplusplus +interface ID3D10DepthStencilView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10RenderTargetView_FWD_DEFINED__ +#define __ID3D10RenderTargetView_FWD_DEFINED__ +typedef interface ID3D10RenderTargetView ID3D10RenderTargetView; +#ifdef __cplusplus +interface ID3D10RenderTargetView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10ShaderResourceView_FWD_DEFINED__ +#define __ID3D10ShaderResourceView_FWD_DEFINED__ +typedef interface ID3D10ShaderResourceView ID3D10ShaderResourceView; +#ifdef __cplusplus +interface ID3D10ShaderResourceView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10BlendState_FWD_DEFINED__ +#define __ID3D10BlendState_FWD_DEFINED__ +typedef interface ID3D10BlendState ID3D10BlendState; +#ifdef __cplusplus +interface ID3D10BlendState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10DepthStencilState_FWD_DEFINED__ +#define __ID3D10DepthStencilState_FWD_DEFINED__ +typedef interface ID3D10DepthStencilState ID3D10DepthStencilState; +#ifdef __cplusplus +interface ID3D10DepthStencilState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10GeometryShader_FWD_DEFINED__ +#define __ID3D10GeometryShader_FWD_DEFINED__ +typedef interface ID3D10GeometryShader ID3D10GeometryShader; +#ifdef __cplusplus +interface ID3D10GeometryShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10InputLayout_FWD_DEFINED__ +#define __ID3D10InputLayout_FWD_DEFINED__ +typedef interface ID3D10InputLayout ID3D10InputLayout; +#ifdef __cplusplus +interface ID3D10InputLayout; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10PixelShader_FWD_DEFINED__ +#define __ID3D10PixelShader_FWD_DEFINED__ +typedef interface ID3D10PixelShader ID3D10PixelShader; +#ifdef __cplusplus +interface ID3D10PixelShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10RasterizerState_FWD_DEFINED__ +#define __ID3D10RasterizerState_FWD_DEFINED__ +typedef interface ID3D10RasterizerState ID3D10RasterizerState; +#ifdef __cplusplus +interface ID3D10RasterizerState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10SamplerState_FWD_DEFINED__ +#define __ID3D10SamplerState_FWD_DEFINED__ +typedef interface ID3D10SamplerState ID3D10SamplerState; +#ifdef __cplusplus +interface ID3D10SamplerState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10VertexShader_FWD_DEFINED__ +#define __ID3D10VertexShader_FWD_DEFINED__ +typedef interface ID3D10VertexShader ID3D10VertexShader; +#ifdef __cplusplus +interface ID3D10VertexShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Asynchronous_FWD_DEFINED__ +#define __ID3D10Asynchronous_FWD_DEFINED__ +typedef interface ID3D10Asynchronous ID3D10Asynchronous; +#ifdef __cplusplus +interface ID3D10Asynchronous; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Counter_FWD_DEFINED__ +#define __ID3D10Counter_FWD_DEFINED__ +typedef interface ID3D10Counter ID3D10Counter; +#ifdef __cplusplus +interface ID3D10Counter; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Query_FWD_DEFINED__ +#define __ID3D10Query_FWD_DEFINED__ +typedef interface ID3D10Query ID3D10Query; +#ifdef __cplusplus +interface ID3D10Query; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Predicate_FWD_DEFINED__ +#define __ID3D10Predicate_FWD_DEFINED__ +typedef interface ID3D10Predicate ID3D10Predicate; +#ifdef __cplusplus +interface ID3D10Predicate; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Device_FWD_DEFINED__ +#define __ID3D10Device_FWD_DEFINED__ +typedef interface ID3D10Device ID3D10Device; +#ifdef __cplusplus +interface ID3D10Device; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Multithread_FWD_DEFINED__ +#define __ID3D10Multithread_FWD_DEFINED__ +typedef interface ID3D10Multithread ID3D10Multithread; +#ifdef __cplusplus +interface ID3D10Multithread; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _D3D10_CONSTANTS +#define _D3D10_CONSTANTS +#define D3D10_DEFAULT_BLEND_FACTOR_ALPHA (1.00000000000000) + +#define D3D10_DEFAULT_BLEND_FACTOR_BLUE (1.00000000000000) + +#define D3D10_DEFAULT_BLEND_FACTOR_GREEN (1.00000000000000) + +#define D3D10_DEFAULT_BLEND_FACTOR_RED (1.00000000000000) + +#define D3D10_DEFAULT_BORDER_COLOR_COMPONENT (0.00000000000000) + +#define D3D10_DEFAULT_SLOPE_SCALED_DEPTH_BIAS (0.00000000000000) + +#define D3D10_DEFAULT_DEPTH_BIAS_CLAMP (0.00000000000000) + +#define D3D10_DEFAULT_MAX_ANISOTROPY (16.0000000000000) + +#define D3D10_DEFAULT_MIP_LOD_BIAS (0.00000000000000) + +#define D3D10_DEFAULT_VIEWPORT_MAX_DEPTH (0.00000000000000) + +#define D3D10_DEFAULT_VIEWPORT_MIN_DEPTH (0.00000000000000) + +#define D3D10_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.600000000000000) + +#define D3D10_FLOAT32_MAX (3.40282346600000e+38) + +#define D3D10_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.600000000000000) + +#define D3D10_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR (2.40000000000000) + +#define D3D10_FLOAT_TO_SRGB_EXPONENT_NUMERATOR (1.00000000000000) + +#define D3D10_FLOAT_TO_SRGB_OFFSET (0.0550000000000000) + +#define D3D10_FLOAT_TO_SRGB_SCALE_1 (12.9200000000000) + +#define D3D10_FLOAT_TO_SRGB_SCALE_2 (1.05500000000000) + +#define D3D10_FLOAT_TO_SRGB_THRESHOLD (0.00313080000000000) + +#define D3D10_FTOI_INSTRUCTION_MAX_INPUT (2147483647.99900) + +#define D3D10_FTOI_INSTRUCTION_MIN_INPUT (-2147483648.99900) + +#define D3D10_FTOU_INSTRUCTION_MAX_INPUT (4294967295.99900) + +#define D3D10_FTOU_INSTRUCTION_MIN_INPUT (0.00000000000000) + +#define D3D10_LINEAR_GAMMA (1.00000000000000) + +#define D3D10_MAX_BORDER_COLOR_COMPONENT (1.00000000000000) + +#define D3D10_MAX_DEPTH (1.00000000000000) + +#define D3D10_MAX_POSITION_VALUE (3.40282346600000e+34) + +#define D3D10_MIN_BORDER_COLOR_COMPONENT (0.00000000000000) + +#define D3D10_MIN_DEPTH (0.00000000000000) + +#define D3D10_MIP_LOD_BIAS_MAX (15.9900000000000) + +#define D3D10_MIP_LOD_BIAS_MIN (-16.0000000000000) + +#define D3D10_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.500000000000000) + +#define D3D10_MULTISAMPLE_ANTIALIAS_LINE_WIDTH (1.40000000000000) + +#define D3D10_SRGB_GAMMA (2.20000000000000) + +#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_1 (12.9200000000000) + +#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_2 (1.05500000000000) + +#define D3D10_SRGB_TO_FLOAT_EXPONENT (2.40000000000000) + +#define D3D10_SRGB_TO_FLOAT_OFFSET (0.0550000000000000) + +#define D3D10_SRGB_TO_FLOAT_THRESHOLD (0.0404500000000000) + +#define D3D10_SRGB_TO_FLOAT_TOLERANCE_IN_ULP (0.500000000000000) + +#define D3D10_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.00000000000000) + +#define D3D_SPEC_VERSION (1.05000500000000) + +#define D3D10_16BIT_INDEX_STRIP_CUT_VALUE (0xffff) + +#define D3D10_32BIT_INDEX_STRIP_CUT_VALUE (0xffffffff) + +#define D3D10_8BIT_INDEX_STRIP_CUT_VALUE (0xff) + +#define D3D10_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT (9) + +#define D3D10_CLIP_OR_CULL_DISTANCE_COUNT (8) + +#define D3D10_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT (2) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT (14) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS (4) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT (32) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT (15) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS (4) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT (15) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST (1) + +#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS (1) + +#define D3D10_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT (64) + +#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS (4) + +#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT (1) + +#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST (1) + +#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS (1) + +#define D3D10_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT (32) + +#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS (1) + +#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT (128) + +#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST (1) + +#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS (1) + +#define D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT (128) + +#define D3D10_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS (1) + +#define D3D10_COMMONSHADER_SAMPLER_REGISTER_COUNT (16) + +#define D3D10_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST (1) + +#define D3D10_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS (1) + +#define D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT (16) + +#define D3D10_COMMONSHADER_SUBROUTINE_NESTING_LIMIT (32) + +#define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENTS (4) + +#define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_COMMONSHADER_TEMP_REGISTER_COUNT (4096) + +#define D3D10_COMMONSHADER_TEMP_REGISTER_READS_PER_INST (3) + +#define D3D10_COMMONSHADER_TEMP_REGISTER_READ_PORTS (3) + +#define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX (10) + +#define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN (-10) + +#define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE (-8) + +#define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE (7) + +#define D3D10_DEFAULT_DEPTH_BIAS (0) + +#define D3D10_DEFAULT_RENDER_TARGET_ARRAY_INDEX (0) + +#define D3D10_DEFAULT_SAMPLE_MASK (0xffffffff) + +#define D3D10_DEFAULT_SCISSOR_ENDX (0) + +#define D3D10_DEFAULT_SCISSOR_ENDY (0) + +#define D3D10_DEFAULT_SCISSOR_STARTX (0) + +#define D3D10_DEFAULT_SCISSOR_STARTY (0) + +#define D3D10_DEFAULT_STENCIL_READ_MASK (0xff) + +#define D3D10_DEFAULT_STENCIL_REFERENCE (0) + +#define D3D10_DEFAULT_STENCIL_WRITE_MASK (0xff) + +#define D3D10_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX (0) + +#define D3D10_DEFAULT_VIEWPORT_HEIGHT (0) + +#define D3D10_DEFAULT_VIEWPORT_TOPLEFTX (0) + +#define D3D10_DEFAULT_VIEWPORT_TOPLEFTY (0) + +#define D3D10_DEFAULT_VIEWPORT_WIDTH (0) + +#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS (1) + +#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COUNT (1) + +#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST (2) + +#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS (1) + +#define D3D10_GS_INPUT_REGISTER_COMPONENTS (4) + +#define D3D10_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_GS_INPUT_REGISTER_COUNT (16) + +#define D3D10_GS_INPUT_REGISTER_READS_PER_INST (2) + +#define D3D10_GS_INPUT_REGISTER_READ_PORTS (1) + +#define D3D10_GS_INPUT_REGISTER_VERTICES (6) + +#define D3D10_GS_OUTPUT_ELEMENTS (32) + +#define D3D10_GS_OUTPUT_REGISTER_COMPONENTS (4) + +#define D3D10_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_GS_OUTPUT_REGISTER_COUNT (32) + +#define D3D10_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES (0) + +#define D3D10_IA_DEFAULT_PRIMITIVE_TOPOLOGY (0) + +#define D3D10_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES (0) + +#define D3D10_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT (1) + +#define D3D10_IA_INSTANCE_ID_BIT_COUNT (32) + +#define D3D10_IA_INTEGER_ARITHMETIC_BIT_COUNT (32) + +#define D3D10_IA_PRIMITIVE_ID_BIT_COUNT (32) + +#define D3D10_IA_VERTEX_ID_BIT_COUNT (32) + +#define D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT (16) + +#define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS (64) + +#define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT (16) + +#define D3D10_INTEGER_DIVIDE_BY_ZERO_QUOTIENT (0xffffffff) + +#define D3D10_INTEGER_DIVIDE_BY_ZERO_REMAINDER (0xffffffff) + +#define D3D10_MAX_MAXANISOTROPY (16) + +#define D3D10_MAX_MULTISAMPLE_SAMPLE_COUNT (32) + +#define D3D10_MAX_TEXTURE_DIMENSION_2_TO_EXP (17) + +#define D3D10_MIN_MAXANISOTROPY (0) + +#define D3D10_MIP_LOD_FRACTIONAL_BIT_COUNT (6) + +#define D3D10_MIP_LOD_RANGE_BIT_COUNT (8) + +#define D3D10_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT (0) + +#define D3D10_PIXEL_ADDRESS_RANGE_BIT_COUNT (13) + +#define D3D10_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT (15) + +#define D3D10_PS_FRONTFACING_DEFAULT_VALUE (0xffffffff) + +#define D3D10_PS_FRONTFACING_FALSE_VALUE (0) + +#define D3D10_PS_FRONTFACING_TRUE_VALUE (0xffffffff) + +#define D3D10_PS_INPUT_REGISTER_COMPONENTS (4) + +#define D3D10_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_PS_INPUT_REGISTER_COUNT (32) + +#define D3D10_PS_INPUT_REGISTER_READS_PER_INST (2) + +#define D3D10_PS_INPUT_REGISTER_READ_PORTS (1) + +#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS (1) + +#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COUNT (1) + +#define D3D10_PS_OUTPUT_REGISTER_COMPONENTS (4) + +#define D3D10_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_PS_OUTPUT_REGISTER_COUNT (8) + +#define D3D10_REQ_BLEND_OBJECT_COUNT_PER_CONTEXT (4096) + +#define D3D10_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP (27) + +#define D3D10_REQ_CONSTANT_BUFFER_ELEMENT_COUNT (4096) + +#define D3D10_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_CONTEXT (4096) + +#define D3D10_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP (32) + +#define D3D10_REQ_DRAW_VERTEX_COUNT_2_TO_EXP (32) + +#define D3D10_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION (8192) + +#define D3D10_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT (1024) + +#define D3D10_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT (4096) + +#define D3D10_REQ_MAXANISOTROPY (16) + +#define D3D10_REQ_MIP_LEVELS (14) + +#define D3D10_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES (2048) + +#define D3D10_REQ_RASTERIZER_OBJECT_COUNT_PER_CONTEXT (4096) + +#define D3D10_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH (8192) + +#define D3D10_REQ_RESOURCE_SIZE_IN_MEGABYTES (128) + +#define D3D10_REQ_RESOURCE_VIEW_COUNT_PER_CONTEXT_2_TO_EXP (20) + +#define D3D10_REQ_SAMPLER_OBJECT_COUNT_PER_CONTEXT (4096) + +#define D3D10_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION (512) + +#define D3D10_REQ_TEXTURE1D_U_DIMENSION (8192) + +#define D3D10_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION (512) + +#define D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION (8192) + +#define D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION (2048) + +#define D3D10_REQ_TEXTURECUBE_DIMENSION (8192) + +#define D3D10_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL (0) + +#define D3D10_SHADER_MAJOR_VERSION (4) + +#define D3D10_SHADER_MINOR_VERSION (0) + +#define D3D10_SHIFT_INSTRUCTION_PAD_VALUE (0) + +#define D3D10_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT (5) + +#define D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT (8) + +#define D3D10_SO_BUFFER_MAX_STRIDE_IN_BYTES (2048) + +#define D3D10_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES (256) + +#define D3D10_SO_BUFFER_SLOT_COUNT (4) + +#define D3D10_SO_DDI_REGISTER_INDEX_DENOTING_GAP (0xffffffff) + +#define D3D10_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER (1) + +#define D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT (64) + +#define D3D10_STANDARD_COMPONENT_BIT_COUNT (32) + +#define D3D10_STANDARD_COMPONENT_BIT_COUNT_DOUBLED (64) + +#define D3D10_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE (4) + +#define D3D10_STANDARD_PIXEL_COMPONENT_COUNT (128) + +#define D3D10_STANDARD_PIXEL_ELEMENT_COUNT (32) + +#define D3D10_STANDARD_VECTOR_SIZE (4) + +#define D3D10_STANDARD_VERTEX_ELEMENT_COUNT (16) + +#define D3D10_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT (64) + +#define D3D10_SUBPIXEL_FRACTIONAL_BIT_COUNT (8) + +#define D3D10_SUBTEXEL_FRACTIONAL_BIT_COUNT (6) + +#define D3D10_TEXEL_ADDRESS_RANGE_BIT_COUNT (18) + +#define D3D10_UNBOUND_MEMORY_ACCESS_RESULT (0) + +#define D3D10_VIEWPORT_AND_SCISSORRECT_MAX_INDEX (15) + +#define D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE (16) + +#define D3D10_VIEWPORT_BOUNDS_MAX (16383) + +#define D3D10_VIEWPORT_BOUNDS_MIN (-16384) + +#define D3D10_VS_INPUT_REGISTER_COMPONENTS (4) + +#define D3D10_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_VS_INPUT_REGISTER_COUNT (16) + +#define D3D10_VS_INPUT_REGISTER_READS_PER_INST (2) + +#define D3D10_VS_INPUT_REGISTER_READ_PORTS (1) + +#define D3D10_VS_OUTPUT_REGISTER_COMPONENTS (4) + +#define D3D10_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_VS_OUTPUT_REGISTER_COUNT (16) + +#define D3D10_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT (10) + +#define D3D10_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP (25) + +#define D3D10_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP (25) + +#define D3D_MAJOR_VERSION (10) + +#define D3D_MINOR_VERSION (0) + +#define D3D_SPEC_DATE_DAY (8) + +#define D3D_SPEC_DATE_MONTH (8) + +#define D3D_SPEC_DATE_YEAR (2006) + +#endif +#define D3D10_APPEND_ALIGNED_ELEMENT (0xffffffff) + +#define _FACD3D10 (0x879) + +#define _FACD3D10DEBUG (_FACD3D10 + 1) + +#define D3D10_FILTER_TYPE_MASK (0x3) + +#define D3D10_SDK_VERSION (29) + +#define MAKE_D3D10_HRESULT(code) MAKE_HRESULT( 1, _FACD3D10, code) +#define MAKE_D3D10_STATUS(code) MAKE_HRESULT( 0, _FACD3D10, code) +#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1) +#define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2) +typedef enum D3D10_BLEND { + D3D10_BLEND_ZERO = 1, + D3D10_BLEND_ONE = 2, + D3D10_BLEND_SRC_COLOR = 3, + D3D10_BLEND_INV_SRC_COLOR = 4, + D3D10_BLEND_SRC_ALPHA = 5, + D3D10_BLEND_INV_SRC_ALPHA = 6, + D3D10_BLEND_DEST_ALPHA = 7, + D3D10_BLEND_INV_DEST_ALPHA = 8, + D3D10_BLEND_DEST_COLOR = 9, + D3D10_BLEND_INV_DEST_COLOR = 10, + D3D10_BLEND_SRC_ALPHA_SAT = 11, + D3D10_BLEND_BLEND_FACTOR = 14, + D3D10_BLEND_INV_BLEND_FACTOR = 15, + D3D10_BLEND_SRC1_COLOR = 16, + D3D10_BLEND_INV_SRC1_COLOR = 17, + D3D10_BLEND_SRC1_ALPHA = 18, + D3D10_BLEND_INV_SRC1_ALPHA = 19 +} D3D10_BLEND; +typedef enum D3D10_BLEND_OP { + D3D10_BLEND_OP_ADD = 1, + D3D10_BLEND_OP_SUBTRACT = 2, + D3D10_BLEND_OP_REV_SUBTRACT = 3, + D3D10_BLEND_OP_MIN = 4, + D3D10_BLEND_OP_MAX = 5 +} D3D10_BLEND_OP; +typedef struct D3D10_BLEND_DESC { + BOOL AlphaToCoverageEnable; + BOOL BlendEnable[8]; + D3D10_BLEND SrcBlend; + D3D10_BLEND DestBlend; + D3D10_BLEND_OP BlendOp; + D3D10_BLEND SrcBlendAlpha; + D3D10_BLEND DestBlendAlpha; + D3D10_BLEND_OP BlendOpAlpha; + UINT8 RenderTargetWriteMask[8]; +} D3D10_BLEND_DESC; +typedef enum D3D10_DEPTH_WRITE_MASK { + D3D10_DEPTH_WRITE_MASK_ZERO = 0, + D3D10_DEPTH_WRITE_MASK_ALL = 1 +} D3D10_DEPTH_WRITE_MASK; +typedef enum D3D10_COMPARISON_FUNC { + D3D10_COMPARISON_NEVER = 1, + D3D10_COMPARISON_LESS = 2, + D3D10_COMPARISON_EQUAL = 3, + D3D10_COMPARISON_LESS_EQUAL = 4, + D3D10_COMPARISON_GREATER = 5, + D3D10_COMPARISON_NOT_EQUAL = 6, + D3D10_COMPARISON_GREATER_EQUAL = 7, + D3D10_COMPARISON_ALWAYS = 8 +} D3D10_COMPARISON_FUNC; +typedef enum D3D10_STENCIL_OP { + D3D10_STENCIL_OP_KEEP = 1, + D3D10_STENCIL_OP_ZERO = 2, + D3D10_STENCIL_OP_REPLACE = 3, + D3D10_STENCIL_OP_INCR_SAT = 4, + D3D10_STENCIL_OP_DECR_SAT = 5, + D3D10_STENCIL_OP_INVERT = 6, + D3D10_STENCIL_OP_INCR = 7, + D3D10_STENCIL_OP_DECR = 8 +} D3D10_STENCIL_OP; +typedef struct D3D10_DEPTH_STENCILOP_DESC { + D3D10_STENCIL_OP StencilFailOp; + D3D10_STENCIL_OP StencilDepthFailOp; + D3D10_STENCIL_OP StencilPassOp; + D3D10_COMPARISON_FUNC StencilFunc; +} D3D10_DEPTH_STENCILOP_DESC; +typedef struct D3D10_DEPTH_STENCIL_DESC { + BOOL DepthEnable; + D3D10_DEPTH_WRITE_MASK DepthWriteMask; + D3D10_COMPARISON_FUNC DepthFunc; + BOOL StencilEnable; + UINT8 StencilReadMask; + UINT8 StencilWriteMask; + D3D10_DEPTH_STENCILOP_DESC FrontFace; + D3D10_DEPTH_STENCILOP_DESC BackFace; +} D3D10_DEPTH_STENCIL_DESC; +typedef enum D3D10_FILL_MODE { + D3D10_FILL_WIREFRAME = 2, + D3D10_FILL_SOLID = 3 +} D3D10_FILL_MODE; +typedef enum D3D10_CULL_MODE { + D3D10_CULL_NONE = 1, + D3D10_CULL_FRONT = 2, + D3D10_CULL_BACK = 3 +} D3D10_CULL_MODE; +typedef struct D3D10_RASTERIZER_DESC { + D3D10_FILL_MODE FillMode; + D3D10_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + INT DepthBias; + FLOAT DepthBiasClamp; + FLOAT SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; +} D3D10_RASTERIZER_DESC; +typedef enum D3D10_FILTER { + D3D10_FILTER_MIN_MAG_MIP_POINT = 0, + D3D10_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1, + D3D10_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4, + D3D10_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5, + D3D10_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10, + D3D10_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11, + D3D10_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14, + D3D10_FILTER_MIN_MAG_MIP_LINEAR = 0x15, + D3D10_FILTER_ANISOTROPIC = 0x55, + D3D10_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80, + D3D10_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81, + D3D10_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84, + D3D10_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85, + D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90, + D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91, + D3D10_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94, + D3D10_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95, + D3D10_FILTER_COMPARISON_ANISOTROPIC = 0xd5, + D3D10_FILTER_TEXT_1BIT = 0x80000000 +} D3D10_FILTER; +typedef enum D3D10_TEXTURE_ADDRESS_MODE { + D3D10_TEXTURE_ADDRESS_WRAP = 1, + D3D10_TEXTURE_ADDRESS_MIRROR = 2, + D3D10_TEXTURE_ADDRESS_CLAMP = 3, + D3D10_TEXTURE_ADDRESS_BORDER = 4, + D3D10_TEXTURE_ADDRESS_MIRROR_ONCE = 5 +} D3D10_TEXTURE_ADDRESS_MODE; +typedef struct D3D10_SAMPLER_DESC { + D3D10_FILTER Filter; + D3D10_TEXTURE_ADDRESS_MODE AddressU; + D3D10_TEXTURE_ADDRESS_MODE AddressV; + D3D10_TEXTURE_ADDRESS_MODE AddressW; + FLOAT MipLODBias; + UINT MaxAnisotropy; + D3D10_COMPARISON_FUNC ComparisonFunc; + FLOAT BorderColor[4]; + FLOAT MinLOD; + FLOAT MaxLOD; +} D3D10_SAMPLER_DESC; +typedef enum D3D10_COUNTER { + D3D10_COUNTER_GPU_IDLE = 0, + D3D10_COUNTER_VERTEX_PROCESSING = 1, + D3D10_COUNTER_GEOMETRY_PROCESSING = 2, + D3D10_COUNTER_PIXEL_PROCESSING = 3, + D3D10_COUNTER_OTHER_GPU_PROCESSING = 4, + D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION = 5, + D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION = 6, + D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION = 7, + D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION = 8, + D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION = 9, + D3D10_COUNTER_VS_MEMORY_LIMITED = 10, + D3D10_COUNTER_VS_COMPUTATION_LIMITED = 11, + D3D10_COUNTER_GS_MEMORY_LIMITED = 12, + D3D10_COUNTER_GS_COMPUTATION_LIMITED = 13, + D3D10_COUNTER_PS_MEMORY_LIMITED = 14, + D3D10_COUNTER_PS_COMPUTATION_LIMITED = 15, + D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE = 16, + D3D10_COUNTER_TEXTURE_CACHE_HIT_RATE = 17, + D3D10_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000 +} D3D10_COUNTER; +typedef struct D3D10_COUNTER_DESC { + D3D10_COUNTER Counter; + UINT MiscFlags; +} D3D10_COUNTER_DESC; +typedef enum D3D10_COUNTER_TYPE { + D3D10_COUNTER_TYPE_FLOAT32 = 0, + D3D10_COUNTER_TYPE_UINT16 = 1, + D3D10_COUNTER_TYPE_UINT32 = 2, + D3D10_COUNTER_TYPE_UINT64 = 3 +} D3D10_COUNTER_TYPE; +typedef struct D3D10_COUNTER_INFO { + D3D10_COUNTER LastDeviceDependentCounter; + UINT NumSimultaneousCounters; + UINT8 NumDetectableParallelUnits; +} D3D10_COUNTER_INFO; +typedef enum D3D10_RESOURCE_DIMENSION { + D3D10_RESOURCE_DIMENSION_UNKNOWN = 0, + D3D10_RESOURCE_DIMENSION_BUFFER = 1, + D3D10_RESOURCE_DIMENSION_TEXTURE1D = 2, + D3D10_RESOURCE_DIMENSION_TEXTURE2D = 3, + D3D10_RESOURCE_DIMENSION_TEXTURE3D = 4 +} D3D10_RESOURCE_DIMENSION; +typedef enum D3D10_USAGE { + D3D10_USAGE_DEFAULT = 0, + D3D10_USAGE_IMMUTABLE = 1, + D3D10_USAGE_DYNAMIC = 2, + D3D10_USAGE_STAGING = 3 +} D3D10_USAGE; +typedef enum D3D10_BIND_FLAG { + D3D10_BIND_VERTEX_BUFFER = 0x1, + D3D10_BIND_INDEX_BUFFER = 0x2, + D3D10_BIND_CONSTANT_BUFFER = 0x4, + D3D10_BIND_SHADER_RESOURCE = 0x8, + D3D10_BIND_STREAM_OUTPUT = 0x10, + D3D10_BIND_RENDER_TARGET = 0x20, + D3D10_BIND_DEPTH_STENCIL = 0x40 +} D3D10_BIND_FLAG; +typedef struct D3D10_BUFFER_DESC { + UINT ByteWidth; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_BUFFER_DESC; +#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus) +struct CD3D10_BUFFER_DESC : public D3D10_BUFFER_DESC { + CD3D10_BUFFER_DESC() {} + explicit CD3D10_BUFFER_DESC(const D3D10_BUFFER_DESC &o) : D3D10_BUFFER_DESC(o) {} + explicit CD3D10_BUFFER_DESC(UINT byteWidth, UINT bindFlags, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT miscFlags = 0 ) { + ByteWidth = byteWidth; + Usage = usage; + BindFlags = bindFlags; + CPUAccessFlags = cpuaccessFlags; + MiscFlags = miscFlags; + } + ~CD3D10_BUFFER_DESC() {} + operator const D3D10_BUFFER_DESC&() const { + return *this; + } +}; +#endif +typedef enum D3D10_MAP { + D3D10_MAP_READ = 1, + D3D10_MAP_WRITE = 2, + D3D10_MAP_READ_WRITE = 3, + D3D10_MAP_WRITE_DISCARD = 4, + D3D10_MAP_WRITE_NO_OVERWRITE = 5 +} D3D10_MAP; +typedef struct D3D10_TEXTURE1D_DESC { + UINT Width; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_TEXTURE1D_DESC; +#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus) +struct CD3D10_TEXTURE1D_DESC : public D3D10_TEXTURE1D_DESC { + CD3D10_TEXTURE1D_DESC() {} + explicit CD3D10_TEXTURE1D_DESC(const D3D10_TEXTURE1D_DESC &o) : D3D10_TEXTURE1D_DESC(o) {} + explicit CD3D10_TEXTURE1D_DESC(DXGI_FORMAT format, UINT width, UINT arraySize = 1, UINT mipLevels = 0, + UINT bindFlags = D3D10_BIND_SHADER_RESOURCE, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0, + UINT miscFlags = 0) { + Width = width; + MipLevels = mipLevels; + ArraySize = arraySize; + Format = format; + Usage = usage; + BindFlags = bindFlags; + CPUAccessFlags = cpuaccessFlags; + MiscFlags = miscFlags; + } + ~CD3D10_TEXTURE1D_DESC() {} + operator const D3D10_TEXTURE1D_DESC&() const { + return *this; + } +}; +#endif +typedef struct D3D10_TEXTURE2D_DESC { + UINT Width; + UINT Height; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_TEXTURE2D_DESC; +#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus) +struct CD3D10_TEXTURE2D_DESC : public D3D10_TEXTURE2D_DESC { + CD3D10_TEXTURE2D_DESC() {} + explicit CD3D10_TEXTURE2D_DESC(const D3D10_TEXTURE2D_DESC &o) : D3D10_TEXTURE2D_DESC(o) {} + explicit CD3D10_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height, + UINT arraySize = 1, + UINT mipLevels = 0, + UINT bindFlags = D3D10_BIND_SHADER_RESOURCE, + D3D10_USAGE usage = D3D10_USAGE_DEFAULT, + UINT cpuaccessFlags = 0, + UINT sampleCount = 1, + UINT sampleQuality = 0, + UINT miscFlags = 0) { + Width = width; + Height = height; + MipLevels = mipLevels; + ArraySize = arraySize; + Format = format; + SampleDesc.Count = sampleCount; + SampleDesc.Quality = sampleQuality; + Usage = usage; + BindFlags = bindFlags; + CPUAccessFlags = cpuaccessFlags; + MiscFlags = miscFlags; + } + ~CD3D10_TEXTURE2D_DESC() {} + operator const D3D10_TEXTURE2D_DESC&() const { + return *this; + } +}; +#endif +typedef struct D3D10_TEXTURE3D_DESC { + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + DXGI_FORMAT Format; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_TEXTURE3D_DESC; +typedef enum D3D10_DSV_DIMENSION { + D3D10_DSV_DIMENSION_UNKNOWN = 0, + D3D10_DSV_DIMENSION_TEXTURE1D = 1, + D3D10_DSV_DIMENSION_TEXTURE1DARRAY = 2, + D3D10_DSV_DIMENSION_TEXTURE2D = 3, + D3D10_DSV_DIMENSION_TEXTURE2DARRAY = 4, + D3D10_DSV_DIMENSION_TEXTURE2DMS = 5, + D3D10_DSV_DIMENSION_TEXTURE2DMSARRAY = 6 +} D3D10_DSV_DIMENSION; +typedef struct D3D10_TEX1D_DSV { + UINT MipSlice; +} D3D10_TEX1D_DSV; +typedef struct D3D10_TEX1D_ARRAY_DSV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX1D_ARRAY_DSV; +typedef struct D3D10_TEX2D_DSV { + UINT MipSlice; +} D3D10_TEX2D_DSV; +typedef struct D3D10_TEX2D_ARRAY_DSV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2D_ARRAY_DSV; +typedef struct D3D10_TEX2DMS_DSV { + UINT UnusedField_NothingToDefine; +} D3D10_TEX2DMS_DSV; +typedef struct D3D10_TEX2DMS_ARRAY_DSV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2DMS_ARRAY_DSV; +typedef struct D3D10_DEPTH_STENCIL_VIEW_DESC { + DXGI_FORMAT Format; + D3D10_DSV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D10_TEX1D_DSV Texture1D; + D3D10_TEX1D_ARRAY_DSV Texture1DArray; + D3D10_TEX2D_DSV Texture2D; + D3D10_TEX2D_ARRAY_DSV Texture2DArray; + D3D10_TEX2DMS_DSV Texture2DMS; + D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray; + } __C89_NAMELESSUNIONNAME; +} D3D10_DEPTH_STENCIL_VIEW_DESC; +typedef enum D3D10_RTV_DIMENSION { + D3D10_RTV_DIMENSION_UNKNOWN = 0, + D3D10_RTV_DIMENSION_BUFFER = 1, + D3D10_RTV_DIMENSION_TEXTURE1D = 2, + D3D10_RTV_DIMENSION_TEXTURE1DARRAY = 3, + D3D10_RTV_DIMENSION_TEXTURE2D = 4, + D3D10_RTV_DIMENSION_TEXTURE2DARRAY = 5, + D3D10_RTV_DIMENSION_TEXTURE2DMS = 6, + D3D10_RTV_DIMENSION_TEXTURE2DMSARRAY = 7, + D3D10_RTV_DIMENSION_TEXTURE3D = 8 +} D3D10_RTV_DIMENSION; +typedef struct D3D10_BUFFER_RTV { + UINT ElementOffset; + UINT ElementWidth; +} D3D10_BUFFER_RTV; +typedef struct D3D10_TEX1D_RTV { + UINT MipSlice; +} D3D10_TEX1D_RTV; +typedef struct D3D10_TEX1D_ARRAY_RTV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX1D_ARRAY_RTV; +typedef struct D3D10_TEX2D_RTV { + UINT MipSlice; +} D3D10_TEX2D_RTV; +typedef struct D3D10_TEX2D_ARRAY_RTV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2D_ARRAY_RTV; +typedef struct D3D10_TEX2DMS_RTV { + UINT UnusedField_NothingToDefine; +} D3D10_TEX2DMS_RTV; +typedef struct D3D10_TEX2DMS_ARRAY_RTV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2DMS_ARRAY_RTV; +typedef struct D3D10_TEX3D_RTV { + UINT MipSlice; + UINT FirstWSlice; + UINT WSize; +} D3D10_TEX3D_RTV; +typedef struct D3D10_RENDER_TARGET_VIEW_DESC { + DXGI_FORMAT Format; + D3D10_RTV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D10_BUFFER_RTV Buffer; + D3D10_TEX1D_RTV Texture1D; + D3D10_TEX1D_ARRAY_RTV Texture1DArray; + D3D10_TEX2D_RTV Texture2D; + D3D10_TEX2D_ARRAY_RTV Texture2DArray; + D3D10_TEX2DMS_RTV Texture2DMS; + D3D10_TEX2DMS_ARRAY_RTV Texture2DMSArray; + D3D10_TEX3D_RTV Texture3D; + } __C89_NAMELESSUNIONNAME; +} D3D10_RENDER_TARGET_VIEW_DESC; +typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION; +typedef struct D3D10_BUFFER_SRV { + UINT ElementOffset; + UINT ElementWidth; +} D3D10_BUFFER_SRV; +typedef struct D3D10_TEX1D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEX1D_SRV; +typedef struct D3D10_TEX1D_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX1D_ARRAY_SRV; +typedef struct D3D10_TEX2D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEX2D_SRV; +typedef struct D3D10_TEX2D_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2D_ARRAY_SRV; +typedef struct D3D10_TEX2DMS_SRV { + UINT UnusedField_NothingToDefine; +} D3D10_TEX2DMS_SRV; +typedef struct D3D10_TEX2DMS_ARRAY_SRV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2DMS_ARRAY_SRV; +typedef struct D3D10_TEX3D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEX3D_SRV; +typedef struct D3D10_TEXCUBE_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEXCUBE_SRV; +typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC { + DXGI_FORMAT Format; + D3D10_SRV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D10_BUFFER_SRV Buffer; + D3D10_TEX1D_SRV Texture1D; + D3D10_TEX1D_ARRAY_SRV Texture1DArray; + D3D10_TEX2D_SRV Texture2D; + D3D10_TEX2D_ARRAY_SRV Texture2DArray; + D3D10_TEX2DMS_SRV Texture2DMS; + D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D10_TEX3D_SRV Texture3D; + D3D10_TEXCUBE_SRV TextureCube; + } __C89_NAMELESSUNIONNAME; +} D3D10_SHADER_RESOURCE_VIEW_DESC; +typedef struct D3D10_BOX { + UINT left; + UINT top; + UINT front; + UINT right; + UINT bottom; + UINT back; +} D3D10_BOX; +typedef struct D3D10_SUBRESOURCE_DATA { + const void *pSysMem; + UINT SysMemPitch; + UINT SysMemSlicePitch; +} D3D10_SUBRESOURCE_DATA; +typedef struct D3D10_SO_DECLARATION_ENTRY { + const char *SemanticName; + UINT SemanticIndex; + BYTE StartComponent; + BYTE ComponentCount; + BYTE OutputSlot; +} D3D10_SO_DECLARATION_ENTRY; +typedef enum D3D10_INPUT_CLASSIFICATION { + D3D10_INPUT_PER_VERTEX_DATA = 0, + D3D10_INPUT_PER_INSTANCE_DATA = 1 +} D3D10_INPUT_CLASSIFICATION; +typedef struct D3D10_INPUT_ELEMENT_DESC { + const char *SemanticName; + UINT SemanticIndex; + DXGI_FORMAT Format; + UINT InputSlot; + UINT AlignedByteOffset; + D3D10_INPUT_CLASSIFICATION InputSlotClass; + UINT InstanceDataStepRate; +} D3D10_INPUT_ELEMENT_DESC; +typedef enum D3D10_QUERY { + D3D10_QUERY_EVENT = 0, + D3D10_QUERY_OCCLUSION = 1, + D3D10_QUERY_TIMESTAMP = 2, + D3D10_QUERY_TIMESTAMP_DISJOINT = 3, + D3D10_QUERY_PIPELINE_STATISTICS = 4, + D3D10_QUERY_OCCLUSION_PREDICATE = 5, + D3D10_QUERY_SO_STATISTICS = 6, + D3D10_QUERY_SO_OVERFLOW_PREDICATE = 7 +} D3D10_QUERY; +typedef struct D3D10_QUERY_DESC { + D3D10_QUERY Query; + UINT MiscFlags; +} D3D10_QUERY_DESC; +typedef D3D_PRIMITIVE_TOPOLOGY D3D10_PRIMITIVE_TOPOLOGY; +typedef D3D_PRIMITIVE D3D10_PRIMITIVE; +typedef RECT D3D10_RECT; +typedef struct D3D10_VIEWPORT { + INT TopLeftX; + INT TopLeftY; + UINT Width; + UINT Height; + FLOAT MinDepth; + FLOAT MaxDepth; +} D3D10_VIEWPORT; +typedef struct D3D10_MAPPED_TEXTURE2D { + void *pData; + UINT RowPitch; +} D3D10_MAPPED_TEXTURE2D; +typedef struct D3D10_MAPPED_TEXTURE3D { + void *pData; + UINT RowPitch; + UINT DepthPitch; +} D3D10_MAPPED_TEXTURE3D; +typedef enum D3D10_CPU_ACCESS_FLAG { + D3D10_CPU_ACCESS_WRITE = 0x10000, + D3D10_CPU_ACCESS_READ = 0x20000 +} D3D10_CPU_ACCESS_FLAG; +typedef enum D3D10_RESOURCE_MISC_FLAG { + D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x1, + D3D10_RESOURCE_MISC_SHARED = 0x2, + D3D10_RESOURCE_MISC_TEXTURECUBE = 0x4, + D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x10, + D3D10_RESOURCE_MISC_GDI_COMPATIBLE = 0x20 +} D3D10_RESOURCE_MISC_FLAG; +typedef enum D3D10_MAP_FLAG { + D3D10_MAP_FLAG_DO_NOT_WAIT = 0x100000 +} D3D10_MAP_FLAG; +typedef enum D3D10_CLEAR_FLAG { + D3D10_CLEAR_DEPTH = 0x1, + D3D10_CLEAR_STENCIL = 0x2 +} D3D10_CLEAR_FLAG; +typedef enum D3D10_COLOR_WRITE_ENABLE { + D3D10_COLOR_WRITE_ENABLE_RED = 0x1, + D3D10_COLOR_WRITE_ENABLE_GREEN = 0x2, + D3D10_COLOR_WRITE_ENABLE_BLUE = 0x4, + D3D10_COLOR_WRITE_ENABLE_ALPHA = 0x8, + D3D10_COLOR_WRITE_ENABLE_ALL = ((D3D10_COLOR_WRITE_ENABLE_RED | D3D10_COLOR_WRITE_ENABLE_GREEN) | D3D10_COLOR_WRITE_ENABLE_BLUE) | D3D10_COLOR_WRITE_ENABLE_ALPHA +} D3D10_COLOR_WRITE_ENABLE; +typedef enum D3D10_FORMAT_SUPPORT { + D3D10_FORMAT_SUPPORT_BUFFER = 0x1, + D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2, + D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4, + D3D10_FORMAT_SUPPORT_SO_BUFFER = 0x8, + D3D10_FORMAT_SUPPORT_TEXTURE1D = 0x10, + D3D10_FORMAT_SUPPORT_TEXTURE2D = 0x20, + D3D10_FORMAT_SUPPORT_TEXTURE3D = 0x40, + D3D10_FORMAT_SUPPORT_TEXTURECUBE = 0x80, + D3D10_FORMAT_SUPPORT_SHADER_LOAD = 0x100, + D3D10_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200, + D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400, + D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800, + D3D10_FORMAT_SUPPORT_MIP = 0x1000, + D3D10_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000, + D3D10_FORMAT_SUPPORT_RENDER_TARGET = 0x4000, + D3D10_FORMAT_SUPPORT_BLENDABLE = 0x8000, + D3D10_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000, + D3D10_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000, + D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000, + D3D10_FORMAT_SUPPORT_DISPLAY = 0x80000, + D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000, + D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000, + D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000, + D3D10_FORMAT_SUPPORT_SHADER_GATHER = 0x800000, + D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000 +} D3D10_FORMAT_SUPPORT; +typedef enum D3D10_TEXTURECUBE_FACE { + D3D10_TEXTURECUBE_FACE_POSITIVE_X = 0, + D3D10_TEXTURECUBE_FACE_NEGATIVE_X = 1, + D3D10_TEXTURECUBE_FACE_POSITIVE_Y = 2, + D3D10_TEXTURECUBE_FACE_NEGATIVE_Y = 3, + D3D10_TEXTURECUBE_FACE_POSITIVE_Z = 4, + D3D10_TEXTURECUBE_FACE_NEGATIVE_Z = 5 +} D3D10_TEXTURECUBE_FACE; +typedef enum D3D10_ASYNC_GETDATA_FLAG { + D3D10_ASYNC_GETDATA_DONOTFLUSH = 0x1 +} D3D10_ASYNC_GETDATA_FLAG; +typedef enum D3D10_FILTER_TYPE { + D3D10_FILTER_TYPE_POINT = 0, + D3D10_FILTER_TYPE_LINEAR = 1 +} D3D10_FILTER_TYPE; +typedef enum D3D10_QUERY_MISC_FLAG { + D3D10_QUERY_MISC_PREDICATEHINT = 0x1 +} D3D10_QUERY_MISC_FLAG; +typedef struct D3D10_QUERY_DATA_TIMESTAMP_DISJOINT { + UINT64 Frequency; + BOOL Disjoint; +} D3D10_QUERY_DATA_TIMESTAMP_DISJOINT; +typedef struct D3D10_QUERY_DATA_PIPELINE_STATISTICS { + UINT64 IAVertices; + UINT64 IAPrimitives; + UINT64 VSInvocations; + UINT64 GSInvocations; + UINT64 GSPrimitives; + UINT64 CInvocations; + UINT64 CPrimitives; + UINT64 PSInvocations; +} D3D10_QUERY_DATA_PIPELINE_STATISTICS; +typedef struct D3D10_QUERY_DATA_SO_STATISTICS { + UINT64 NumPrimitivesWritten; + UINT64 PrimitivesStorageNeeded; +} D3D10_QUERY_DATA_SO_STATISTICS; +typedef enum D3D10_CREATE_DEVICE_FLAG { + D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1, + D3D10_CREATE_DEVICE_DEBUG = 0x2, + D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4, + D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8, + D3D10_CREATE_DEVICE_ALLOW_NULL_FROM_MAP = 0x10, + D3D10_CREATE_DEVICE_BGRA_SUPPORT = 0x20, + D3D10_CREATE_DEVICE_STRICT_VALIDATION = 0x200 +} D3D10_CREATE_DEVICE_FLAG; +#ifndef __ID3D10Device_FWD_DEFINED__ +#define __ID3D10Device_FWD_DEFINED__ +typedef interface ID3D10Device ID3D10Device; +#ifdef __cplusplus +interface ID3D10Device; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * ID3D10DeviceChild interface + */ +#ifndef __ID3D10DeviceChild_INTERFACE_DEFINED__ +#define __ID3D10DeviceChild_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10DeviceChild, 0x9b7e4c00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c00-342c-4106-a19f-4f2704f689f0") +ID3D10DeviceChild : public IUnknown +{ + virtual void STDMETHODCALLTYPE GetDevice( + ID3D10Device **ppDevice) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrivateData( + REFGUID guid, + UINT *pDataSize, + void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + REFGUID guid, + UINT DataSize, + const void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( + REFGUID guid, + const IUnknown *pData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10DeviceChild, 0x9b7e4c00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10DeviceChildVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10DeviceChild *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10DeviceChild *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10DeviceChild *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10DeviceChild *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10DeviceChild *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10DeviceChild *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10DeviceChild *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D10DeviceChildVtbl; + +interface ID3D10DeviceChild { + CONST_VTBL ID3D10DeviceChildVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10DeviceChild_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10DeviceChild_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10DeviceChild_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10DeviceChild_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10DeviceChild_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10DeviceChild_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10DeviceChild_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10DeviceChild_QueryInterface(ID3D10DeviceChild* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10DeviceChild_AddRef(ID3D10DeviceChild* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10DeviceChild_Release(ID3D10DeviceChild* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10DeviceChild_GetDevice(ID3D10DeviceChild* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10DeviceChild_GetPrivateData(ID3D10DeviceChild* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10DeviceChild_SetPrivateData(ID3D10DeviceChild* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10DeviceChild_SetPrivateDataInterface(ID3D10DeviceChild* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10DeviceChild_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Resource interface + */ +#ifndef __ID3D10Resource_INTERFACE_DEFINED__ +#define __ID3D10Resource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Resource, 0x9b7e4c01, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c01-342c-4106-a19f-4f2704f689f0") +ID3D10Resource : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE GetType( + D3D10_RESOURCE_DIMENSION *rType) = 0; + + virtual void STDMETHODCALLTYPE SetEvictionPriority( + UINT EvictionPriority) = 0; + + virtual UINT STDMETHODCALLTYPE GetEvictionPriority( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Resource, 0x9b7e4c01, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10ResourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Resource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Resource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Resource *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Resource *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Resource *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Resource *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Resource *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D10Resource *This, + D3D10_RESOURCE_DIMENSION *rType); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D10Resource *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D10Resource *This); + + END_INTERFACE +} ID3D10ResourceVtbl; + +interface ID3D10Resource { + CONST_VTBL ID3D10ResourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Resource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Resource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Resource_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Resource_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Resource_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Resource_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Resource_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Resource methods ***/ +#define ID3D10Resource_GetType(This,rType) (This)->lpVtbl->GetType(This,rType) +#define ID3D10Resource_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D10Resource_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Resource_QueryInterface(ID3D10Resource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Resource_AddRef(ID3D10Resource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Resource_Release(ID3D10Resource* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Resource_GetDevice(ID3D10Resource* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Resource_GetPrivateData(ID3D10Resource* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Resource_SetPrivateData(ID3D10Resource* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Resource_SetPrivateDataInterface(ID3D10Resource* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Resource methods ***/ +static FORCEINLINE void ID3D10Resource_GetType(ID3D10Resource* This,D3D10_RESOURCE_DIMENSION *rType) { + This->lpVtbl->GetType(This,rType); +} +static FORCEINLINE void ID3D10Resource_SetEvictionPriority(ID3D10Resource* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D10Resource_GetEvictionPriority(ID3D10Resource* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Resource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Buffer interface + */ +#ifndef __ID3D10Buffer_INTERFACE_DEFINED__ +#define __ID3D10Buffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Buffer, 0x9b7e4c02, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c02-342c-4106-a19f-4f2704f689f0") +ID3D10Buffer : public ID3D10Resource +{ + virtual HRESULT STDMETHODCALLTYPE Map( + D3D10_MAP MapType, + UINT MapFlags, + void **ppData) = 0; + + virtual void STDMETHODCALLTYPE Unmap( + ) = 0; + + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_BUFFER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Buffer, 0x9b7e4c02, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10BufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Buffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Buffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Buffer *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Buffer *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Buffer *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Buffer *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Buffer *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D10Buffer *This, + D3D10_RESOURCE_DIMENSION *rType); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D10Buffer *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D10Buffer *This); + + /*** ID3D10Buffer methods ***/ + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D10Buffer *This, + D3D10_MAP MapType, + UINT MapFlags, + void **ppData); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D10Buffer *This); + + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Buffer *This, + D3D10_BUFFER_DESC *pDesc); + + END_INTERFACE +} ID3D10BufferVtbl; + +interface ID3D10Buffer { + CONST_VTBL ID3D10BufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Buffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Buffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Buffer_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Buffer_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Buffer_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Buffer_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Buffer_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Resource methods ***/ +#define ID3D10Buffer_GetType(This,rType) (This)->lpVtbl->GetType(This,rType) +#define ID3D10Buffer_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D10Buffer_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D10Buffer methods ***/ +#define ID3D10Buffer_Map(This,MapType,MapFlags,ppData) (This)->lpVtbl->Map(This,MapType,MapFlags,ppData) +#define ID3D10Buffer_Unmap(This) (This)->lpVtbl->Unmap(This) +#define ID3D10Buffer_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Buffer_QueryInterface(ID3D10Buffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Buffer_AddRef(ID3D10Buffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Buffer_Release(ID3D10Buffer* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Buffer_GetDevice(ID3D10Buffer* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Buffer_GetPrivateData(ID3D10Buffer* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Buffer_SetPrivateData(ID3D10Buffer* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Buffer_SetPrivateDataInterface(ID3D10Buffer* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Resource methods ***/ +static FORCEINLINE void ID3D10Buffer_GetType(ID3D10Buffer* This,D3D10_RESOURCE_DIMENSION *rType) { + This->lpVtbl->GetType(This,rType); +} +static FORCEINLINE void ID3D10Buffer_SetEvictionPriority(ID3D10Buffer* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D10Buffer_GetEvictionPriority(ID3D10Buffer* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D10Buffer methods ***/ +static FORCEINLINE HRESULT ID3D10Buffer_Map(ID3D10Buffer* This,D3D10_MAP MapType,UINT MapFlags,void **ppData) { + return This->lpVtbl->Map(This,MapType,MapFlags,ppData); +} +static FORCEINLINE void ID3D10Buffer_Unmap(ID3D10Buffer* This) { + This->lpVtbl->Unmap(This); +} +static FORCEINLINE void ID3D10Buffer_GetDesc(ID3D10Buffer* This,D3D10_BUFFER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Buffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Texture1D interface + */ +#ifndef __ID3D10Texture1D_INTERFACE_DEFINED__ +#define __ID3D10Texture1D_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Texture1D, 0x9b7e4c03, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c03-342c-4106-a19f-4f2704f689f0") +ID3D10Texture1D : public ID3D10Resource +{ + virtual HRESULT STDMETHODCALLTYPE Map( + UINT Subresource, + D3D10_MAP MapType, + UINT MapFlags, + void **ppData) = 0; + + virtual void STDMETHODCALLTYPE Unmap( + UINT Subresource) = 0; + + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_TEXTURE1D_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Texture1D, 0x9b7e4c03, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10Texture1DVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Texture1D *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Texture1D *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Texture1D *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Texture1D *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Texture1D *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Texture1D *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Texture1D *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D10Texture1D *This, + D3D10_RESOURCE_DIMENSION *rType); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D10Texture1D *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D10Texture1D *This); + + /*** ID3D10Texture1D methods ***/ + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D10Texture1D *This, + UINT Subresource, + D3D10_MAP MapType, + UINT MapFlags, + void **ppData); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D10Texture1D *This, + UINT Subresource); + + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Texture1D *This, + D3D10_TEXTURE1D_DESC *pDesc); + + END_INTERFACE +} ID3D10Texture1DVtbl; + +interface ID3D10Texture1D { + CONST_VTBL ID3D10Texture1DVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Texture1D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Texture1D_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Texture1D_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Texture1D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Texture1D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Texture1D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Texture1D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Resource methods ***/ +#define ID3D10Texture1D_GetType(This,rType) (This)->lpVtbl->GetType(This,rType) +#define ID3D10Texture1D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D10Texture1D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D10Texture1D methods ***/ +#define ID3D10Texture1D_Map(This,Subresource,MapType,MapFlags,ppData) (This)->lpVtbl->Map(This,Subresource,MapType,MapFlags,ppData) +#define ID3D10Texture1D_Unmap(This,Subresource) (This)->lpVtbl->Unmap(This,Subresource) +#define ID3D10Texture1D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Texture1D_QueryInterface(ID3D10Texture1D* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Texture1D_AddRef(ID3D10Texture1D* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Texture1D_Release(ID3D10Texture1D* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Texture1D_GetDevice(ID3D10Texture1D* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Texture1D_GetPrivateData(ID3D10Texture1D* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Texture1D_SetPrivateData(ID3D10Texture1D* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Texture1D_SetPrivateDataInterface(ID3D10Texture1D* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Resource methods ***/ +static FORCEINLINE void ID3D10Texture1D_GetType(ID3D10Texture1D* This,D3D10_RESOURCE_DIMENSION *rType) { + This->lpVtbl->GetType(This,rType); +} +static FORCEINLINE void ID3D10Texture1D_SetEvictionPriority(ID3D10Texture1D* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D10Texture1D_GetEvictionPriority(ID3D10Texture1D* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D10Texture1D methods ***/ +static FORCEINLINE HRESULT ID3D10Texture1D_Map(ID3D10Texture1D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,void **ppData) { + return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,ppData); +} +static FORCEINLINE void ID3D10Texture1D_Unmap(ID3D10Texture1D* This,UINT Subresource) { + This->lpVtbl->Unmap(This,Subresource); +} +static FORCEINLINE void ID3D10Texture1D_GetDesc(ID3D10Texture1D* This,D3D10_TEXTURE1D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Texture1D_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Texture2D interface + */ +#ifndef __ID3D10Texture2D_INTERFACE_DEFINED__ +#define __ID3D10Texture2D_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Texture2D, 0x9b7e4c04, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c04-342c-4106-a19f-4f2704f689f0") +ID3D10Texture2D : public ID3D10Resource +{ + virtual HRESULT STDMETHODCALLTYPE Map( + UINT Subresource, + D3D10_MAP MapType, + UINT MapFlags, + D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0; + + virtual void STDMETHODCALLTYPE Unmap( + UINT Subresource) = 0; + + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_TEXTURE2D_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Texture2D, 0x9b7e4c04, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10Texture2DVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Texture2D *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Texture2D *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Texture2D *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Texture2D *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Texture2D *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Texture2D *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Texture2D *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D10Texture2D *This, + D3D10_RESOURCE_DIMENSION *rType); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D10Texture2D *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D10Texture2D *This); + + /*** ID3D10Texture2D methods ***/ + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D10Texture2D *This, + UINT Subresource, + D3D10_MAP MapType, + UINT MapFlags, + D3D10_MAPPED_TEXTURE2D *pMappedTex2D); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D10Texture2D *This, + UINT Subresource); + + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Texture2D *This, + D3D10_TEXTURE2D_DESC *pDesc); + + END_INTERFACE +} ID3D10Texture2DVtbl; + +interface ID3D10Texture2D { + CONST_VTBL ID3D10Texture2DVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Texture2D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Texture2D_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Texture2D_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Texture2D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Texture2D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Texture2D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Texture2D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Resource methods ***/ +#define ID3D10Texture2D_GetType(This,rType) (This)->lpVtbl->GetType(This,rType) +#define ID3D10Texture2D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D10Texture2D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D10Texture2D methods ***/ +#define ID3D10Texture2D_Map(This,Subresource,MapType,MapFlags,pMappedTex2D) (This)->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex2D) +#define ID3D10Texture2D_Unmap(This,Subresource) (This)->lpVtbl->Unmap(This,Subresource) +#define ID3D10Texture2D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Texture2D_QueryInterface(ID3D10Texture2D* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Texture2D_AddRef(ID3D10Texture2D* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Texture2D_Release(ID3D10Texture2D* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Texture2D_GetDevice(ID3D10Texture2D* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Texture2D_GetPrivateData(ID3D10Texture2D* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Texture2D_SetPrivateData(ID3D10Texture2D* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Texture2D_SetPrivateDataInterface(ID3D10Texture2D* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Resource methods ***/ +static FORCEINLINE void ID3D10Texture2D_GetType(ID3D10Texture2D* This,D3D10_RESOURCE_DIMENSION *rType) { + This->lpVtbl->GetType(This,rType); +} +static FORCEINLINE void ID3D10Texture2D_SetEvictionPriority(ID3D10Texture2D* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D10Texture2D_GetEvictionPriority(ID3D10Texture2D* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D10Texture2D methods ***/ +static FORCEINLINE HRESULT ID3D10Texture2D_Map(ID3D10Texture2D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,D3D10_MAPPED_TEXTURE2D *pMappedTex2D) { + return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex2D); +} +static FORCEINLINE void ID3D10Texture2D_Unmap(ID3D10Texture2D* This,UINT Subresource) { + This->lpVtbl->Unmap(This,Subresource); +} +static FORCEINLINE void ID3D10Texture2D_GetDesc(ID3D10Texture2D* This,D3D10_TEXTURE2D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Texture2D_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Texture3D interface + */ +#ifndef __ID3D10Texture3D_INTERFACE_DEFINED__ +#define __ID3D10Texture3D_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Texture3D, 0x9b7e4c05, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c05-342c-4106-a19f-4f2704f689f0") +ID3D10Texture3D : public ID3D10Resource +{ + virtual HRESULT STDMETHODCALLTYPE Map( + UINT Subresource, + D3D10_MAP MapType, + UINT MapFlags, + D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0; + + virtual void STDMETHODCALLTYPE Unmap( + UINT Subresource) = 0; + + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_TEXTURE3D_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Texture3D, 0x9b7e4c05, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10Texture3DVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Texture3D *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Texture3D *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Texture3D *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Texture3D *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Texture3D *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Texture3D *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Texture3D *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D10Texture3D *This, + D3D10_RESOURCE_DIMENSION *rType); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D10Texture3D *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D10Texture3D *This); + + /*** ID3D10Texture3D methods ***/ + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D10Texture3D *This, + UINT Subresource, + D3D10_MAP MapType, + UINT MapFlags, + D3D10_MAPPED_TEXTURE3D *pMappedTex3D); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D10Texture3D *This, + UINT Subresource); + + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Texture3D *This, + D3D10_TEXTURE3D_DESC *pDesc); + + END_INTERFACE +} ID3D10Texture3DVtbl; + +interface ID3D10Texture3D { + CONST_VTBL ID3D10Texture3DVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Texture3D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Texture3D_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Texture3D_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Texture3D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Texture3D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Texture3D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Texture3D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Resource methods ***/ +#define ID3D10Texture3D_GetType(This,rType) (This)->lpVtbl->GetType(This,rType) +#define ID3D10Texture3D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D10Texture3D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D10Texture3D methods ***/ +#define ID3D10Texture3D_Map(This,Subresource,MapType,MapFlags,pMappedTex3D) (This)->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex3D) +#define ID3D10Texture3D_Unmap(This,Subresource) (This)->lpVtbl->Unmap(This,Subresource) +#define ID3D10Texture3D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Texture3D_QueryInterface(ID3D10Texture3D* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Texture3D_AddRef(ID3D10Texture3D* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Texture3D_Release(ID3D10Texture3D* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Texture3D_GetDevice(ID3D10Texture3D* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Texture3D_GetPrivateData(ID3D10Texture3D* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Texture3D_SetPrivateData(ID3D10Texture3D* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Texture3D_SetPrivateDataInterface(ID3D10Texture3D* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Resource methods ***/ +static FORCEINLINE void ID3D10Texture3D_GetType(ID3D10Texture3D* This,D3D10_RESOURCE_DIMENSION *rType) { + This->lpVtbl->GetType(This,rType); +} +static FORCEINLINE void ID3D10Texture3D_SetEvictionPriority(ID3D10Texture3D* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D10Texture3D_GetEvictionPriority(ID3D10Texture3D* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D10Texture3D methods ***/ +static FORCEINLINE HRESULT ID3D10Texture3D_Map(ID3D10Texture3D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,D3D10_MAPPED_TEXTURE3D *pMappedTex3D) { + return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex3D); +} +static FORCEINLINE void ID3D10Texture3D_Unmap(ID3D10Texture3D* This,UINT Subresource) { + This->lpVtbl->Unmap(This,Subresource); +} +static FORCEINLINE void ID3D10Texture3D_GetDesc(ID3D10Texture3D* This,D3D10_TEXTURE3D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Texture3D_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10View interface + */ +#ifndef __ID3D10View_INTERFACE_DEFINED__ +#define __ID3D10View_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10View, 0xc902b03f, 0x60a7, 0x49ba, 0x99,0x36, 0x2a,0x3a,0xb3,0x7a,0x7e,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c902b03f-60a7-49ba-9936-2a3ab37a7e33") +ID3D10View : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE GetResource( + ID3D10Resource **ppResource) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10View, 0xc902b03f, 0x60a7, 0x49ba, 0x99,0x36, 0x2a,0x3a,0xb3,0x7a,0x7e,0x33) +#endif +#else +typedef struct ID3D10ViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10View *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10View *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10View *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10View *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10View *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10View *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10View *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D10View *This, + ID3D10Resource **ppResource); + + END_INTERFACE +} ID3D10ViewVtbl; + +interface ID3D10View { + CONST_VTBL ID3D10ViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10View_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10View_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10View_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10View_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10View_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10View_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10View_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10View methods ***/ +#define ID3D10View_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10View_QueryInterface(ID3D10View* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10View_AddRef(ID3D10View* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10View_Release(ID3D10View* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10View_GetDevice(ID3D10View* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10View_GetPrivateData(ID3D10View* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10View_SetPrivateData(ID3D10View* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10View_SetPrivateDataInterface(ID3D10View* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10View methods ***/ +static FORCEINLINE void ID3D10View_GetResource(ID3D10View* This,ID3D10Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10View_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10DepthStencilView interface + */ +#ifndef __ID3D10DepthStencilView_INTERFACE_DEFINED__ +#define __ID3D10DepthStencilView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10DepthStencilView, 0x9b7e4c09, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c09-342c-4106-a19f-4f2704f689f0") +ID3D10DepthStencilView : public ID3D10View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10DepthStencilView, 0x9b7e4c09, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10DepthStencilViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10DepthStencilView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10DepthStencilView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10DepthStencilView *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10DepthStencilView *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10DepthStencilView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10DepthStencilView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10DepthStencilView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D10DepthStencilView *This, + ID3D10Resource **ppResource); + + /*** ID3D10DepthStencilView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10DepthStencilView *This, + D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D10DepthStencilViewVtbl; + +interface ID3D10DepthStencilView { + CONST_VTBL ID3D10DepthStencilViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10DepthStencilView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10DepthStencilView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10DepthStencilView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10DepthStencilView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10DepthStencilView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10DepthStencilView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10View methods ***/ +#define ID3D10DepthStencilView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D10DepthStencilView methods ***/ +#define ID3D10DepthStencilView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10DepthStencilView_QueryInterface(ID3D10DepthStencilView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10DepthStencilView_AddRef(ID3D10DepthStencilView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10DepthStencilView_Release(ID3D10DepthStencilView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10DepthStencilView_GetDevice(ID3D10DepthStencilView* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10DepthStencilView_GetPrivateData(ID3D10DepthStencilView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10DepthStencilView_SetPrivateData(ID3D10DepthStencilView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10DepthStencilView_SetPrivateDataInterface(ID3D10DepthStencilView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10View methods ***/ +static FORCEINLINE void ID3D10DepthStencilView_GetResource(ID3D10DepthStencilView* This,ID3D10Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D10DepthStencilView methods ***/ +static FORCEINLINE void ID3D10DepthStencilView_GetDesc(ID3D10DepthStencilView* This,D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10DepthStencilView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10RenderTargetView interface + */ +#ifndef __ID3D10RenderTargetView_INTERFACE_DEFINED__ +#define __ID3D10RenderTargetView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10RenderTargetView, 0x9b7e4c08, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c08-342c-4106-a19f-4f2704f689f0") +ID3D10RenderTargetView : public ID3D10View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10RenderTargetView, 0x9b7e4c08, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10RenderTargetViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10RenderTargetView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10RenderTargetView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10RenderTargetView *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10RenderTargetView *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10RenderTargetView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10RenderTargetView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10RenderTargetView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D10RenderTargetView *This, + ID3D10Resource **ppResource); + + /*** ID3D10RenderTargetView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10RenderTargetView *This, + D3D10_RENDER_TARGET_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D10RenderTargetViewVtbl; + +interface ID3D10RenderTargetView { + CONST_VTBL ID3D10RenderTargetViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10RenderTargetView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10RenderTargetView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10RenderTargetView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10RenderTargetView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10RenderTargetView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10RenderTargetView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10View methods ***/ +#define ID3D10RenderTargetView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D10RenderTargetView methods ***/ +#define ID3D10RenderTargetView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10RenderTargetView_QueryInterface(ID3D10RenderTargetView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10RenderTargetView_AddRef(ID3D10RenderTargetView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10RenderTargetView_Release(ID3D10RenderTargetView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10RenderTargetView_GetDevice(ID3D10RenderTargetView* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10RenderTargetView_GetPrivateData(ID3D10RenderTargetView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10RenderTargetView_SetPrivateData(ID3D10RenderTargetView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10RenderTargetView_SetPrivateDataInterface(ID3D10RenderTargetView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10View methods ***/ +static FORCEINLINE void ID3D10RenderTargetView_GetResource(ID3D10RenderTargetView* This,ID3D10Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D10RenderTargetView methods ***/ +static FORCEINLINE void ID3D10RenderTargetView_GetDesc(ID3D10RenderTargetView* This,D3D10_RENDER_TARGET_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10RenderTargetView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10ShaderResourceView interface + */ +#ifndef __ID3D10ShaderResourceView_INTERFACE_DEFINED__ +#define __ID3D10ShaderResourceView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10ShaderResourceView, 0x9b7e4c07, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c07-342c-4106-a19f-4f2704f689f0") +ID3D10ShaderResourceView : public ID3D10View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10ShaderResourceView, 0x9b7e4c07, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10ShaderResourceViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10ShaderResourceView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10ShaderResourceView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10ShaderResourceView *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10ShaderResourceView *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10ShaderResourceView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10ShaderResourceView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10ShaderResourceView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D10ShaderResourceView *This, + ID3D10Resource **ppResource); + + /*** ID3D10ShaderResourceView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10ShaderResourceView *This, + D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D10ShaderResourceViewVtbl; + +interface ID3D10ShaderResourceView { + CONST_VTBL ID3D10ShaderResourceViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10ShaderResourceView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10ShaderResourceView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10ShaderResourceView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10ShaderResourceView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10ShaderResourceView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10View methods ***/ +#define ID3D10ShaderResourceView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D10ShaderResourceView methods ***/ +#define ID3D10ShaderResourceView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10ShaderResourceView_QueryInterface(ID3D10ShaderResourceView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10ShaderResourceView_AddRef(ID3D10ShaderResourceView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10ShaderResourceView_Release(ID3D10ShaderResourceView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView_GetDevice(ID3D10ShaderResourceView* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10ShaderResourceView_GetPrivateData(ID3D10ShaderResourceView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10ShaderResourceView_SetPrivateData(ID3D10ShaderResourceView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10ShaderResourceView_SetPrivateDataInterface(ID3D10ShaderResourceView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10View methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView_GetResource(ID3D10ShaderResourceView* This,ID3D10Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D10ShaderResourceView methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView_GetDesc(ID3D10ShaderResourceView* This,D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10ShaderResourceView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10BlendState interface + */ +#ifndef __ID3D10BlendState_INTERFACE_DEFINED__ +#define __ID3D10BlendState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10BlendState, 0xedad8d19, 0x8a35, 0x4d6d, 0x85,0x66, 0x2e,0xa2,0x76,0xcd,0xe1,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("edad8d19-8a35-4d6d-8566-2ea276cde161") +ID3D10BlendState : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_BLEND_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10BlendState, 0xedad8d19, 0x8a35, 0x4d6d, 0x85,0x66, 0x2e,0xa2,0x76,0xcd,0xe1,0x61) +#endif +#else +typedef struct ID3D10BlendStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10BlendState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10BlendState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10BlendState *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10BlendState *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10BlendState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10BlendState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10BlendState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10BlendState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10BlendState *This, + D3D10_BLEND_DESC *pDesc); + + END_INTERFACE +} ID3D10BlendStateVtbl; + +interface ID3D10BlendState { + CONST_VTBL ID3D10BlendStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10BlendState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10BlendState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10BlendState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10BlendState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10BlendState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10BlendState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10BlendState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10BlendState methods ***/ +#define ID3D10BlendState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10BlendState_QueryInterface(ID3D10BlendState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10BlendState_AddRef(ID3D10BlendState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10BlendState_Release(ID3D10BlendState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10BlendState_GetDevice(ID3D10BlendState* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10BlendState_GetPrivateData(ID3D10BlendState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10BlendState_SetPrivateData(ID3D10BlendState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10BlendState_SetPrivateDataInterface(ID3D10BlendState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10BlendState methods ***/ +static FORCEINLINE void ID3D10BlendState_GetDesc(ID3D10BlendState* This,D3D10_BLEND_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10BlendState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10DepthStencilState interface + */ +#ifndef __ID3D10DepthStencilState_INTERFACE_DEFINED__ +#define __ID3D10DepthStencilState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10DepthStencilState, 0x2b4b1cc8, 0xa4ad, 0x41f8, 0x83,0x22, 0xca,0x86,0xfc,0x3e,0xc6,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2b4b1cc8-a4ad-41f8-8322-ca86fc3ec675") +ID3D10DepthStencilState : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_DEPTH_STENCIL_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10DepthStencilState, 0x2b4b1cc8, 0xa4ad, 0x41f8, 0x83,0x22, 0xca,0x86,0xfc,0x3e,0xc6,0x75) +#endif +#else +typedef struct ID3D10DepthStencilStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10DepthStencilState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10DepthStencilState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10DepthStencilState *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10DepthStencilState *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10DepthStencilState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10DepthStencilState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10DepthStencilState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10DepthStencilState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10DepthStencilState *This, + D3D10_DEPTH_STENCIL_DESC *pDesc); + + END_INTERFACE +} ID3D10DepthStencilStateVtbl; + +interface ID3D10DepthStencilState { + CONST_VTBL ID3D10DepthStencilStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10DepthStencilState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10DepthStencilState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10DepthStencilState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10DepthStencilState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10DepthStencilState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10DepthStencilState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10DepthStencilState methods ***/ +#define ID3D10DepthStencilState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10DepthStencilState_QueryInterface(ID3D10DepthStencilState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10DepthStencilState_AddRef(ID3D10DepthStencilState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10DepthStencilState_Release(ID3D10DepthStencilState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10DepthStencilState_GetDevice(ID3D10DepthStencilState* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10DepthStencilState_GetPrivateData(ID3D10DepthStencilState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10DepthStencilState_SetPrivateData(ID3D10DepthStencilState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10DepthStencilState_SetPrivateDataInterface(ID3D10DepthStencilState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10DepthStencilState methods ***/ +static FORCEINLINE void ID3D10DepthStencilState_GetDesc(ID3D10DepthStencilState* This,D3D10_DEPTH_STENCIL_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10DepthStencilState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10GeometryShader interface + */ +#ifndef __ID3D10GeometryShader_INTERFACE_DEFINED__ +#define __ID3D10GeometryShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10GeometryShader, 0x6316be88, 0x54cd, 0x4040, 0xab,0x44, 0x20,0x46,0x1b,0xc8,0x1f,0x68); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6316be88-54cd-4040-ab44-20461bc81f68") +ID3D10GeometryShader : public ID3D10DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10GeometryShader, 0x6316be88, 0x54cd, 0x4040, 0xab,0x44, 0x20,0x46,0x1b,0xc8,0x1f,0x68) +#endif +#else +typedef struct ID3D10GeometryShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10GeometryShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10GeometryShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10GeometryShader *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10GeometryShader *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10GeometryShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10GeometryShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10GeometryShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D10GeometryShaderVtbl; + +interface ID3D10GeometryShader { + CONST_VTBL ID3D10GeometryShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10GeometryShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10GeometryShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10GeometryShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10GeometryShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10GeometryShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10GeometryShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10GeometryShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10GeometryShader_QueryInterface(ID3D10GeometryShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10GeometryShader_AddRef(ID3D10GeometryShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10GeometryShader_Release(ID3D10GeometryShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10GeometryShader_GetDevice(ID3D10GeometryShader* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10GeometryShader_GetPrivateData(ID3D10GeometryShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10GeometryShader_SetPrivateData(ID3D10GeometryShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10GeometryShader_SetPrivateDataInterface(ID3D10GeometryShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10GeometryShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10InputLayout interface + */ +#ifndef __ID3D10InputLayout_INTERFACE_DEFINED__ +#define __ID3D10InputLayout_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10InputLayout, 0x9b7e4c0b, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c0b-342c-4106-a19f-4f2704f689f0") +ID3D10InputLayout : public ID3D10DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10InputLayout, 0x9b7e4c0b, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10InputLayoutVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10InputLayout *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10InputLayout *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10InputLayout *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10InputLayout *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10InputLayout *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10InputLayout *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10InputLayout *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D10InputLayoutVtbl; + +interface ID3D10InputLayout { + CONST_VTBL ID3D10InputLayoutVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10InputLayout_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10InputLayout_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10InputLayout_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10InputLayout_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10InputLayout_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10InputLayout_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10InputLayout_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10InputLayout_QueryInterface(ID3D10InputLayout* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10InputLayout_AddRef(ID3D10InputLayout* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10InputLayout_Release(ID3D10InputLayout* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10InputLayout_GetDevice(ID3D10InputLayout* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10InputLayout_GetPrivateData(ID3D10InputLayout* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10InputLayout_SetPrivateData(ID3D10InputLayout* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10InputLayout_SetPrivateDataInterface(ID3D10InputLayout* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10InputLayout_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10PixelShader interface + */ +#ifndef __ID3D10PixelShader_INTERFACE_DEFINED__ +#define __ID3D10PixelShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10PixelShader, 0x4968b601, 0x9d00, 0x4cde, 0x83,0x46, 0x8e,0x7f,0x67,0x58,0x19,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4968b601-9d00-4cde-8346-8e7f675819b6") +ID3D10PixelShader : public ID3D10DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10PixelShader, 0x4968b601, 0x9d00, 0x4cde, 0x83,0x46, 0x8e,0x7f,0x67,0x58,0x19,0xb6) +#endif +#else +typedef struct ID3D10PixelShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10PixelShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10PixelShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10PixelShader *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10PixelShader *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10PixelShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10PixelShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10PixelShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D10PixelShaderVtbl; + +interface ID3D10PixelShader { + CONST_VTBL ID3D10PixelShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10PixelShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10PixelShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10PixelShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10PixelShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10PixelShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10PixelShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10PixelShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10PixelShader_QueryInterface(ID3D10PixelShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10PixelShader_AddRef(ID3D10PixelShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10PixelShader_Release(ID3D10PixelShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10PixelShader_GetDevice(ID3D10PixelShader* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10PixelShader_GetPrivateData(ID3D10PixelShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10PixelShader_SetPrivateData(ID3D10PixelShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10PixelShader_SetPrivateDataInterface(ID3D10PixelShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10PixelShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10RasterizerState interface + */ +#ifndef __ID3D10RasterizerState_INTERFACE_DEFINED__ +#define __ID3D10RasterizerState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10RasterizerState, 0xa2a07292, 0x89af, 0x4345, 0xbe,0x2e, 0xc5,0x3d,0x9f,0xbb,0x6e,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a2a07292-89af-4345-be2e-c53d9fbb6e9f") +ID3D10RasterizerState : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_RASTERIZER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10RasterizerState, 0xa2a07292, 0x89af, 0x4345, 0xbe,0x2e, 0xc5,0x3d,0x9f,0xbb,0x6e,0x9f) +#endif +#else +typedef struct ID3D10RasterizerStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10RasterizerState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10RasterizerState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10RasterizerState *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10RasterizerState *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10RasterizerState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10RasterizerState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10RasterizerState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10RasterizerState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10RasterizerState *This, + D3D10_RASTERIZER_DESC *pDesc); + + END_INTERFACE +} ID3D10RasterizerStateVtbl; + +interface ID3D10RasterizerState { + CONST_VTBL ID3D10RasterizerStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10RasterizerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10RasterizerState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10RasterizerState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10RasterizerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10RasterizerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10RasterizerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10RasterizerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10RasterizerState methods ***/ +#define ID3D10RasterizerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10RasterizerState_QueryInterface(ID3D10RasterizerState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10RasterizerState_AddRef(ID3D10RasterizerState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10RasterizerState_Release(ID3D10RasterizerState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10RasterizerState_GetDevice(ID3D10RasterizerState* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10RasterizerState_GetPrivateData(ID3D10RasterizerState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10RasterizerState_SetPrivateData(ID3D10RasterizerState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10RasterizerState_SetPrivateDataInterface(ID3D10RasterizerState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10RasterizerState methods ***/ +static FORCEINLINE void ID3D10RasterizerState_GetDesc(ID3D10RasterizerState* This,D3D10_RASTERIZER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10RasterizerState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10SamplerState interface + */ +#ifndef __ID3D10SamplerState_INTERFACE_DEFINED__ +#define __ID3D10SamplerState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10SamplerState, 0x9b7e4c0c, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c0c-342c-4106-a19f-4f2704f689f0") +ID3D10SamplerState : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_SAMPLER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10SamplerState, 0x9b7e4c0c, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10SamplerStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10SamplerState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10SamplerState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10SamplerState *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10SamplerState *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10SamplerState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10SamplerState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10SamplerState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10SamplerState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10SamplerState *This, + D3D10_SAMPLER_DESC *pDesc); + + END_INTERFACE +} ID3D10SamplerStateVtbl; + +interface ID3D10SamplerState { + CONST_VTBL ID3D10SamplerStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10SamplerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10SamplerState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10SamplerState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10SamplerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10SamplerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10SamplerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10SamplerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10SamplerState methods ***/ +#define ID3D10SamplerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10SamplerState_QueryInterface(ID3D10SamplerState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10SamplerState_AddRef(ID3D10SamplerState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10SamplerState_Release(ID3D10SamplerState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10SamplerState_GetDevice(ID3D10SamplerState* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10SamplerState_GetPrivateData(ID3D10SamplerState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10SamplerState_SetPrivateData(ID3D10SamplerState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10SamplerState_SetPrivateDataInterface(ID3D10SamplerState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10SamplerState methods ***/ +static FORCEINLINE void ID3D10SamplerState_GetDesc(ID3D10SamplerState* This,D3D10_SAMPLER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10SamplerState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10VertexShader interface + */ +#ifndef __ID3D10VertexShader_INTERFACE_DEFINED__ +#define __ID3D10VertexShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10VertexShader, 0x9b7e4c0a, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c0a-342c-4106-a19f-4f2704f689f0") +ID3D10VertexShader : public ID3D10DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10VertexShader, 0x9b7e4c0a, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10VertexShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10VertexShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10VertexShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10VertexShader *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10VertexShader *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10VertexShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10VertexShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10VertexShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D10VertexShaderVtbl; + +interface ID3D10VertexShader { + CONST_VTBL ID3D10VertexShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10VertexShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10VertexShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10VertexShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10VertexShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10VertexShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10VertexShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10VertexShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10VertexShader_QueryInterface(ID3D10VertexShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10VertexShader_AddRef(ID3D10VertexShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10VertexShader_Release(ID3D10VertexShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10VertexShader_GetDevice(ID3D10VertexShader* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10VertexShader_GetPrivateData(ID3D10VertexShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10VertexShader_SetPrivateData(ID3D10VertexShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10VertexShader_SetPrivateDataInterface(ID3D10VertexShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10VertexShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Asynchronous interface + */ +#ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__ +#define __ID3D10Asynchronous_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Asynchronous, 0x9b7e4c0d, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c0d-342c-4106-a19f-4f2704f689f0") +ID3D10Asynchronous : public ID3D10DeviceChild +{ + virtual void STDMETHODCALLTYPE Begin( + ) = 0; + + virtual void STDMETHODCALLTYPE End( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetData( + void *pData, + UINT DataSize, + UINT GetDataFlags) = 0; + + virtual UINT STDMETHODCALLTYPE GetDataSize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Asynchronous, 0x9b7e4c0d, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10AsynchronousVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Asynchronous *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Asynchronous *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Asynchronous *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Asynchronous *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Asynchronous *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Asynchronous *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Asynchronous *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Asynchronous methods ***/ + void (STDMETHODCALLTYPE *Begin)( + ID3D10Asynchronous *This); + + void (STDMETHODCALLTYPE *End)( + ID3D10Asynchronous *This); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D10Asynchronous *This, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D10Asynchronous *This); + + END_INTERFACE +} ID3D10AsynchronousVtbl; + +interface ID3D10Asynchronous { + CONST_VTBL ID3D10AsynchronousVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Asynchronous_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Asynchronous_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Asynchronous_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Asynchronous_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Asynchronous_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Asynchronous_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Asynchronous_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Asynchronous methods ***/ +#define ID3D10Asynchronous_Begin(This) (This)->lpVtbl->Begin(This) +#define ID3D10Asynchronous_End(This) (This)->lpVtbl->End(This) +#define ID3D10Asynchronous_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags) +#define ID3D10Asynchronous_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Asynchronous_QueryInterface(ID3D10Asynchronous* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Asynchronous_AddRef(ID3D10Asynchronous* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Asynchronous_Release(ID3D10Asynchronous* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Asynchronous_GetDevice(ID3D10Asynchronous* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Asynchronous_GetPrivateData(ID3D10Asynchronous* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Asynchronous_SetPrivateData(ID3D10Asynchronous* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Asynchronous_SetPrivateDataInterface(ID3D10Asynchronous* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Asynchronous methods ***/ +static FORCEINLINE void ID3D10Asynchronous_Begin(ID3D10Asynchronous* This) { + This->lpVtbl->Begin(This); +} +static FORCEINLINE void ID3D10Asynchronous_End(ID3D10Asynchronous* This) { + This->lpVtbl->End(This); +} +static FORCEINLINE HRESULT ID3D10Asynchronous_GetData(ID3D10Asynchronous* This,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags); +} +static FORCEINLINE UINT ID3D10Asynchronous_GetDataSize(ID3D10Asynchronous* This) { + return This->lpVtbl->GetDataSize(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Asynchronous_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Counter interface + */ +#ifndef __ID3D10Counter_INTERFACE_DEFINED__ +#define __ID3D10Counter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Counter, 0x9b7e4c11, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c11-342c-4106-a19f-4f2704f689f0") +ID3D10Counter : public ID3D10Asynchronous +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_COUNTER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Counter, 0x9b7e4c11, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10CounterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Counter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Counter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Counter *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Counter *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Counter *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Counter *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Counter *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Asynchronous methods ***/ + void (STDMETHODCALLTYPE *Begin)( + ID3D10Counter *This); + + void (STDMETHODCALLTYPE *End)( + ID3D10Counter *This); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D10Counter *This, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D10Counter *This); + + /*** ID3D10Counter methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Counter *This, + D3D10_COUNTER_DESC *pDesc); + + END_INTERFACE +} ID3D10CounterVtbl; + +interface ID3D10Counter { + CONST_VTBL ID3D10CounterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Counter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Counter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Counter_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Counter_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Counter_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Counter_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Counter_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Asynchronous methods ***/ +#define ID3D10Counter_Begin(This) (This)->lpVtbl->Begin(This) +#define ID3D10Counter_End(This) (This)->lpVtbl->End(This) +#define ID3D10Counter_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags) +#define ID3D10Counter_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D10Counter methods ***/ +#define ID3D10Counter_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Counter_QueryInterface(ID3D10Counter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Counter_AddRef(ID3D10Counter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Counter_Release(ID3D10Counter* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Counter_GetDevice(ID3D10Counter* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Counter_GetPrivateData(ID3D10Counter* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Counter_SetPrivateData(ID3D10Counter* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Counter_SetPrivateDataInterface(ID3D10Counter* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Asynchronous methods ***/ +static FORCEINLINE void ID3D10Counter_Begin(ID3D10Counter* This) { + This->lpVtbl->Begin(This); +} +static FORCEINLINE void ID3D10Counter_End(ID3D10Counter* This) { + This->lpVtbl->End(This); +} +static FORCEINLINE HRESULT ID3D10Counter_GetData(ID3D10Counter* This,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags); +} +static FORCEINLINE UINT ID3D10Counter_GetDataSize(ID3D10Counter* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D10Counter methods ***/ +static FORCEINLINE void ID3D10Counter_GetDesc(ID3D10Counter* This,D3D10_COUNTER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Counter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Query interface + */ +#ifndef __ID3D10Query_INTERFACE_DEFINED__ +#define __ID3D10Query_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Query, 0x9b7e4c0e, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c0e-342c-4106-a19f-4f2704f689f0") +ID3D10Query : public ID3D10Asynchronous +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D10_QUERY_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Query, 0x9b7e4c0e, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10QueryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Query *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Query *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Query *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Query *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Query *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Query *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Query *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Asynchronous methods ***/ + void (STDMETHODCALLTYPE *Begin)( + ID3D10Query *This); + + void (STDMETHODCALLTYPE *End)( + ID3D10Query *This); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D10Query *This, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D10Query *This); + + /*** ID3D10Query methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Query *This, + D3D10_QUERY_DESC *pDesc); + + END_INTERFACE +} ID3D10QueryVtbl; + +interface ID3D10Query { + CONST_VTBL ID3D10QueryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Query_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Query_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Query_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Query_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Query_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Query_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Query_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Asynchronous methods ***/ +#define ID3D10Query_Begin(This) (This)->lpVtbl->Begin(This) +#define ID3D10Query_End(This) (This)->lpVtbl->End(This) +#define ID3D10Query_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags) +#define ID3D10Query_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D10Query methods ***/ +#define ID3D10Query_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Query_QueryInterface(ID3D10Query* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Query_AddRef(ID3D10Query* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Query_Release(ID3D10Query* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Query_GetDevice(ID3D10Query* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Query_GetPrivateData(ID3D10Query* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Query_SetPrivateData(ID3D10Query* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Query_SetPrivateDataInterface(ID3D10Query* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Asynchronous methods ***/ +static FORCEINLINE void ID3D10Query_Begin(ID3D10Query* This) { + This->lpVtbl->Begin(This); +} +static FORCEINLINE void ID3D10Query_End(ID3D10Query* This) { + This->lpVtbl->End(This); +} +static FORCEINLINE HRESULT ID3D10Query_GetData(ID3D10Query* This,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags); +} +static FORCEINLINE UINT ID3D10Query_GetDataSize(ID3D10Query* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D10Query methods ***/ +static FORCEINLINE void ID3D10Query_GetDesc(ID3D10Query* This,D3D10_QUERY_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Query_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Predicate interface + */ +#ifndef __ID3D10Predicate_INTERFACE_DEFINED__ +#define __ID3D10Predicate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Predicate, 0x9b7e4c10, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c10-342c-4106-a19f-4f2704f689f0") +ID3D10Predicate : public ID3D10Query +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Predicate, 0x9b7e4c10, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10PredicateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Predicate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Predicate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Predicate *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10Predicate *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Predicate *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Predicate *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Predicate *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10Asynchronous methods ***/ + void (STDMETHODCALLTYPE *Begin)( + ID3D10Predicate *This); + + void (STDMETHODCALLTYPE *End)( + ID3D10Predicate *This); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D10Predicate *This, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D10Predicate *This); + + /*** ID3D10Query methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10Predicate *This, + D3D10_QUERY_DESC *pDesc); + + END_INTERFACE +} ID3D10PredicateVtbl; + +interface ID3D10Predicate { + CONST_VTBL ID3D10PredicateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Predicate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Predicate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Predicate_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10Predicate_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10Predicate_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Predicate_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Predicate_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10Asynchronous methods ***/ +#define ID3D10Predicate_Begin(This) (This)->lpVtbl->Begin(This) +#define ID3D10Predicate_End(This) (This)->lpVtbl->End(This) +#define ID3D10Predicate_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags) +#define ID3D10Predicate_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D10Query methods ***/ +#define ID3D10Predicate_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Predicate_QueryInterface(ID3D10Predicate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Predicate_AddRef(ID3D10Predicate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Predicate_Release(ID3D10Predicate* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10Predicate_GetDevice(ID3D10Predicate* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10Predicate_GetPrivateData(ID3D10Predicate* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Predicate_SetPrivateData(ID3D10Predicate* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Predicate_SetPrivateDataInterface(ID3D10Predicate* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10Asynchronous methods ***/ +static FORCEINLINE void ID3D10Predicate_Begin(ID3D10Predicate* This) { + This->lpVtbl->Begin(This); +} +static FORCEINLINE void ID3D10Predicate_End(ID3D10Predicate* This) { + This->lpVtbl->End(This); +} +static FORCEINLINE HRESULT ID3D10Predicate_GetData(ID3D10Predicate* This,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags); +} +static FORCEINLINE UINT ID3D10Predicate_GetDataSize(ID3D10Predicate* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D10Query methods ***/ +static FORCEINLINE void ID3D10Predicate_GetDesc(ID3D10Predicate* This,D3D10_QUERY_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Predicate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Device interface + */ +#ifndef __ID3D10Device_INTERFACE_DEFINED__ +#define __ID3D10Device_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Device, 0x9b7e4c0f, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c0f-342c-4106-a19f-4f2704f689f0") +ID3D10Device : public IUnknown +{ + virtual void STDMETHODCALLTYPE VSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE PSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE PSSetShader( + ID3D10PixelShader *pPixelShader) = 0; + + virtual void STDMETHODCALLTYPE PSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE VSSetShader( + ID3D10VertexShader *pVertexShader) = 0; + + virtual void STDMETHODCALLTYPE DrawIndexed( + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation) = 0; + + virtual void STDMETHODCALLTYPE Draw( + UINT VertexCount, + UINT StartVertexLocation) = 0; + + virtual void STDMETHODCALLTYPE PSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE IASetInputLayout( + ID3D10InputLayout *pInputLayout) = 0; + + virtual void STDMETHODCALLTYPE IASetVertexBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE IASetIndexBuffer( + ID3D10Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset) = 0; + + virtual void STDMETHODCALLTYPE DrawIndexedInstanced( + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation) = 0; + + virtual void STDMETHODCALLTYPE DrawInstanced( + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation) = 0; + + virtual void STDMETHODCALLTYPE GSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE GSSetShader( + ID3D10GeometryShader *pShader) = 0; + + virtual void STDMETHODCALLTYPE IASetPrimitiveTopology( + D3D10_PRIMITIVE_TOPOLOGY Topology) = 0; + + virtual void STDMETHODCALLTYPE VSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE VSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE SetPredication( + ID3D10Predicate *pPredicate, + BOOL PredicateValue) = 0; + + virtual void STDMETHODCALLTYPE GSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE GSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE OMSetRenderTargets( + UINT NumViews, + ID3D10RenderTargetView *const *ppRenderTargetViews, + ID3D10DepthStencilView *pDepthStencilView) = 0; + + virtual void STDMETHODCALLTYPE OMSetBlendState( + ID3D10BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask) = 0; + + virtual void STDMETHODCALLTYPE OMSetDepthStencilState( + ID3D10DepthStencilState *pDepthStencilState, + UINT StencilRef) = 0; + + virtual void STDMETHODCALLTYPE SOSetTargets( + UINT NumBuffers, + ID3D10Buffer *const *ppSOTargets, + const UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE DrawAuto( + ) = 0; + + virtual void STDMETHODCALLTYPE RSSetState( + ID3D10RasterizerState *pRasterizerState) = 0; + + virtual void STDMETHODCALLTYPE RSSetViewports( + UINT NumViewports, + const D3D10_VIEWPORT *pViewports) = 0; + + virtual void STDMETHODCALLTYPE RSSetScissorRects( + UINT NumRects, + const D3D10_RECT *pRects) = 0; + + virtual void STDMETHODCALLTYPE CopySubresourceRegion( + ID3D10Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D10Resource *pSrcResource, + UINT SrcSubresource, + const D3D10_BOX *pSrcBox) = 0; + + virtual void STDMETHODCALLTYPE CopyResource( + ID3D10Resource *pDstResource, + ID3D10Resource *pSrcResource) = 0; + + virtual void STDMETHODCALLTYPE UpdateSubresource( + ID3D10Resource *pDstResource, + UINT DstSubresource, + const D3D10_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch) = 0; + + virtual void STDMETHODCALLTYPE ClearRenderTargetView( + ID3D10RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]) = 0; + + virtual void STDMETHODCALLTYPE ClearDepthStencilView( + ID3D10DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil) = 0; + + virtual void STDMETHODCALLTYPE GenerateMips( + ID3D10ShaderResourceView *pShaderResourceView) = 0; + + virtual void STDMETHODCALLTYPE ResolveSubresource( + ID3D10Resource *pDstResource, + UINT DstSubresource, + ID3D10Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format) = 0; + + virtual void STDMETHODCALLTYPE VSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE PSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE PSGetShader( + ID3D10PixelShader **ppPixelShader) = 0; + + virtual void STDMETHODCALLTYPE PSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE VSGetShader( + ID3D10VertexShader **ppVertexShader) = 0; + + virtual void STDMETHODCALLTYPE PSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE IAGetInputLayout( + ID3D10InputLayout **ppInputLayout) = 0; + + virtual void STDMETHODCALLTYPE IAGetVertexBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE IAGetIndexBuffer( + ID3D10Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset) = 0; + + virtual void STDMETHODCALLTYPE GSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE GSGetShader( + ID3D10GeometryShader **ppGeometryShader) = 0; + + virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology( + D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0; + + virtual void STDMETHODCALLTYPE VSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE VSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE GetPredication( + ID3D10Predicate **ppPredicate, + BOOL *pPredicateValue) = 0; + + virtual void STDMETHODCALLTYPE GSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE GSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE OMGetRenderTargets( + UINT NumViews, + ID3D10RenderTargetView **ppRenderTargetViews, + ID3D10DepthStencilView **ppDepthStencilView) = 0; + + virtual void STDMETHODCALLTYPE OMGetBlendState( + ID3D10BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask) = 0; + + virtual void STDMETHODCALLTYPE OMGetDepthStencilState( + ID3D10DepthStencilState **ppDepthStencilState, + UINT *pStencilRef) = 0; + + virtual void STDMETHODCALLTYPE SOGetTargets( + UINT NumBuffers, + ID3D10Buffer **ppSOTargets, + UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE RSGetState( + ID3D10RasterizerState **ppRasterizerState) = 0; + + virtual void STDMETHODCALLTYPE RSGetViewports( + UINT *NumViewports, + D3D10_VIEWPORT *pViewports) = 0; + + virtual void STDMETHODCALLTYPE RSGetScissorRects( + UINT *NumRects, + D3D10_RECT *pRects) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetExceptionMode( + UINT RaiseFlags) = 0; + + virtual UINT STDMETHODCALLTYPE GetExceptionMode( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrivateData( + REFGUID guid, + UINT *pDataSize, + void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + REFGUID guid, + UINT DataSize, + const void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( + REFGUID guid, + const IUnknown *pData) = 0; + + virtual void STDMETHODCALLTYPE ClearState( + ) = 0; + + virtual void STDMETHODCALLTYPE Flush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBuffer( + const D3D10_BUFFER_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Buffer **ppBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture1D( + const D3D10_TEXTURE1D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture1D **ppTexture1D) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture2D( + const D3D10_TEXTURE2D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture2D **ppTexture2D) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture3D( + const D3D10_TEXTURE3D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture3D **ppTexture3D) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView( + ID3D10Resource *pResource, + const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D10ShaderResourceView **ppSRView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView( + ID3D10Resource *pResource, + const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D10RenderTargetView **ppRTView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView( + ID3D10Resource *pResource, + const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D10DepthStencilView **ppDepthStencilView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInputLayout( + const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D10InputLayout **ppInputLayout) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVertexShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10VertexShader **ppVertexShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10GeometryShader **ppGeometryShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D10_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + UINT OutputStreamStride, + ID3D10GeometryShader **ppGeometryShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10PixelShader **ppPixelShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBlendState( + const D3D10_BLEND_DESC *pBlendStateDesc, + ID3D10BlendState **ppBlendState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState( + const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D10DepthStencilState **ppDepthStencilState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState( + const D3D10_RASTERIZER_DESC *pRasterizerDesc, + ID3D10RasterizerState **ppRasterizerState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSamplerState( + const D3D10_SAMPLER_DESC *pSamplerDesc, + ID3D10SamplerState **ppSamplerState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQuery( + const D3D10_QUERY_DESC *pQueryDesc, + ID3D10Query **ppQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePredicate( + const D3D10_QUERY_DESC *pPredicateDesc, + ID3D10Predicate **ppPredicate) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCounter( + const D3D10_COUNTER_DESC *pCounterDesc, + ID3D10Counter **ppCounter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport( + DXGI_FORMAT Format, + UINT *pFormatSupport) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels( + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels) = 0; + + virtual void STDMETHODCALLTYPE CheckCounterInfo( + D3D10_COUNTER_INFO *pCounterInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckCounter( + const D3D10_COUNTER_DESC *pDesc, + D3D10_COUNTER_TYPE *pType, + UINT *pActiveCounters, + char *name, + UINT *pNameLength, + char *units, + UINT *pUnitsLength, + char *description, + UINT *pDescriptionLength) = 0; + + virtual UINT STDMETHODCALLTYPE GetCreationFlags( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenSharedResource( + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource) = 0; + + virtual void STDMETHODCALLTYPE SetTextFilterSize( + UINT Width, + UINT Height) = 0; + + virtual void STDMETHODCALLTYPE GetTextFilterSize( + UINT *pWidth, + UINT *pHeight) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Device, 0x9b7e4c0f, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10DeviceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Device *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Device *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Device *This); + + /*** ID3D10Device methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D10Device *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D10Device *This, + ID3D10PixelShader *pPixelShader); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D10Device *This, + ID3D10VertexShader *pVertexShader); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D10Device *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D10Device *This, + UINT VertexCount, + UINT StartVertexLocation); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D10Device *This, + ID3D10InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D10Device *This, + ID3D10Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D10Device *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D10Device *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D10Device *This, + ID3D10GeometryShader *pShader); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D10Device *This, + D3D10_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D10Device *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D10Device *This, + ID3D10Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D10Device *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D10Device *This, + UINT NumViews, + ID3D10RenderTargetView *const *ppRenderTargetViews, + ID3D10DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D10Device *This, + ID3D10BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D10Device *This, + ID3D10DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D10Device *This, + UINT NumBuffers, + ID3D10Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D10Device *This); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D10Device *This, + ID3D10RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D10Device *This, + UINT NumViewports, + const D3D10_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D10Device *This, + UINT NumRects, + const D3D10_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D10Device *This, + ID3D10Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D10Resource *pSrcResource, + UINT SrcSubresource, + const D3D10_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D10Device *This, + ID3D10Resource *pDstResource, + ID3D10Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D10Device *This, + ID3D10Resource *pDstResource, + UINT DstSubresource, + const D3D10_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D10Device *This, + ID3D10RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D10Device *This, + ID3D10DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D10Device *This, + ID3D10ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D10Device *This, + ID3D10Resource *pDstResource, + UINT DstSubresource, + ID3D10Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D10Device *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D10Device *This, + ID3D10PixelShader **ppPixelShader); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D10Device *This, + ID3D10VertexShader **ppVertexShader); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D10Device *This, + ID3D10InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D10Device *This, + ID3D10Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D10Device *This, + ID3D10GeometryShader **ppGeometryShader); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D10Device *This, + D3D10_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D10Device *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D10Device *This, + ID3D10Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D10Device *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D10Device *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D10Device *This, + UINT NumViews, + ID3D10RenderTargetView **ppRenderTargetViews, + ID3D10DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D10Device *This, + ID3D10BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D10Device *This, + ID3D10DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D10Device *This, + UINT NumBuffers, + ID3D10Buffer **ppSOTargets, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D10Device *This, + ID3D10RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D10Device *This, + UINT *NumViewports, + D3D10_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D10Device *This, + UINT *NumRects, + D3D10_RECT *pRects); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D10Device *This); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D10Device *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D10Device *This); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Device *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Device *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Device *This, + REFGUID guid, + const IUnknown *pData); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D10Device *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D10Device *This); + + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D10Device *This, + const D3D10_BUFFER_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D10Device *This, + const D3D10_TEXTURE1D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D10Device *This, + const D3D10_TEXTURE2D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D10Device *This, + const D3D10_TEXTURE3D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D10Device *This, + ID3D10Resource *pResource, + const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D10ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D10Device *This, + ID3D10Resource *pResource, + const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D10RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D10Device *This, + ID3D10Resource *pResource, + const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D10DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D10Device *This, + const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D10InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D10Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D10Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D10Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D10_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + UINT OutputStreamStride, + ID3D10GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D10Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D10Device *This, + const D3D10_BLEND_DESC *pBlendStateDesc, + ID3D10BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D10Device *This, + const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D10DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D10Device *This, + const D3D10_RASTERIZER_DESC *pRasterizerDesc, + ID3D10RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D10Device *This, + const D3D10_SAMPLER_DESC *pSamplerDesc, + ID3D10SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D10Device *This, + const D3D10_QUERY_DESC *pQueryDesc, + ID3D10Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D10Device *This, + const D3D10_QUERY_DESC *pPredicateDesc, + ID3D10Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D10Device *This, + const D3D10_COUNTER_DESC *pCounterDesc, + ID3D10Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D10Device *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D10Device *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D10Device *This, + D3D10_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D10Device *This, + const D3D10_COUNTER_DESC *pDesc, + D3D10_COUNTER_TYPE *pType, + UINT *pActiveCounters, + char *name, + UINT *pNameLength, + char *units, + UINT *pUnitsLength, + char *description, + UINT *pDescriptionLength); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D10Device *This); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D10Device *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + void (STDMETHODCALLTYPE *SetTextFilterSize)( + ID3D10Device *This, + UINT Width, + UINT Height); + + void (STDMETHODCALLTYPE *GetTextFilterSize)( + ID3D10Device *This, + UINT *pWidth, + UINT *pHeight); + + END_INTERFACE +} ID3D10DeviceVtbl; + +interface ID3D10Device { + CONST_VTBL ID3D10DeviceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Device_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Device_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Device_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10Device methods ***/ +#define ID3D10Device_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device_PSSetShader(This,pPixelShader) (This)->lpVtbl->PSSetShader(This,pPixelShader) +#define ID3D10Device_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device_VSSetShader(This,pVertexShader) (This)->lpVtbl->VSSetShader(This,pVertexShader) +#define ID3D10Device_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D10Device_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D10Device_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D10Device_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D10Device_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D10Device_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D10Device_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D10Device_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device_GSSetShader(This,pShader) (This)->lpVtbl->GSSetShader(This,pShader) +#define ID3D10Device_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D10Device_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D10Device_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D10Device_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D10Device_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D10Device_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D10Device_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D10Device_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D10Device_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D10Device_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D10Device_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D10Device_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D10Device_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D10Device_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D10Device_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D10Device_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D10Device_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D10Device_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device_PSGetShader(This,ppPixelShader) (This)->lpVtbl->PSGetShader(This,ppPixelShader) +#define ID3D10Device_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device_VSGetShader(This,ppVertexShader) (This)->lpVtbl->VSGetShader(This,ppVertexShader) +#define ID3D10Device_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D10Device_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D10Device_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D10Device_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device_GSGetShader(This,ppGeometryShader) (This)->lpVtbl->GSGetShader(This,ppGeometryShader) +#define ID3D10Device_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D10Device_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D10Device_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D10Device_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D10Device_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D10Device_SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D10Device_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D10Device_RSGetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,NumViewports,pViewports) +#define ID3D10Device_RSGetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,NumRects,pRects) +#define ID3D10Device_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D10Device_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D10Device_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +#define ID3D10Device_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Device_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Device_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D10Device_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D10Device_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D10Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D10Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D10Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D10Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D10Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D10Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D10Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D10Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D10Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) +#define ID3D10Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) +#define ID3D10Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) +#define ID3D10Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) +#define ID3D10Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D10Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D10Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D10Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D10Device_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D10Device_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D10Device_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D10Device_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D10Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D10Device_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D10Device_CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength) +#define ID3D10Device_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D10Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D10Device_SetTextFilterSize(This,Width,Height) (This)->lpVtbl->SetTextFilterSize(This,Width,Height) +#define ID3D10Device_GetTextFilterSize(This,pWidth,pHeight) (This)->lpVtbl->GetTextFilterSize(This,pWidth,pHeight) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Device_QueryInterface(ID3D10Device* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Device_AddRef(ID3D10Device* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Device_Release(ID3D10Device* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10Device methods ***/ +static FORCEINLINE void ID3D10Device_VSSetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device_PSSetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device_PSSetShader(ID3D10Device* This,ID3D10PixelShader *pPixelShader) { + This->lpVtbl->PSSetShader(This,pPixelShader); +} +static FORCEINLINE void ID3D10Device_PSSetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device_VSSetShader(ID3D10Device* This,ID3D10VertexShader *pVertexShader) { + This->lpVtbl->VSSetShader(This,pVertexShader); +} +static FORCEINLINE void ID3D10Device_DrawIndexed(ID3D10Device* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D10Device_Draw(ID3D10Device* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE void ID3D10Device_PSSetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device_IASetInputLayout(ID3D10Device* This,ID3D10InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D10Device_IASetVertexBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D10Device_IASetIndexBuffer(ID3D10Device* This,ID3D10Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D10Device_DrawIndexedInstanced(ID3D10Device* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D10Device_DrawInstanced(ID3D10Device* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D10Device_GSSetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device_GSSetShader(ID3D10Device* This,ID3D10GeometryShader *pShader) { + This->lpVtbl->GSSetShader(This,pShader); +} +static FORCEINLINE void ID3D10Device_IASetPrimitiveTopology(ID3D10Device* This,D3D10_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D10Device_VSSetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device_VSSetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device_SetPredication(ID3D10Device* This,ID3D10Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D10Device_GSSetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device_GSSetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device_OMSetRenderTargets(ID3D10Device* This,UINT NumViews,ID3D10RenderTargetView *const *ppRenderTargetViews,ID3D10DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D10Device_OMSetBlendState(ID3D10Device* This,ID3D10BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D10Device_OMSetDepthStencilState(ID3D10Device* This,ID3D10DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D10Device_SOSetTargets(ID3D10Device* This,UINT NumBuffers,ID3D10Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D10Device_DrawAuto(ID3D10Device* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D10Device_RSSetState(ID3D10Device* This,ID3D10RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D10Device_RSSetViewports(ID3D10Device* This,UINT NumViewports,const D3D10_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D10Device_RSSetScissorRects(ID3D10Device* This,UINT NumRects,const D3D10_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D10Device_CopySubresourceRegion(ID3D10Device* This,ID3D10Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D10Resource *pSrcResource,UINT SrcSubresource,const D3D10_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D10Device_CopyResource(ID3D10Device* This,ID3D10Resource *pDstResource,ID3D10Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D10Device_UpdateSubresource(ID3D10Device* This,ID3D10Resource *pDstResource,UINT DstSubresource,const D3D10_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D10Device_ClearRenderTargetView(ID3D10Device* This,ID3D10RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D10Device_ClearDepthStencilView(ID3D10Device* This,ID3D10DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D10Device_GenerateMips(ID3D10Device* This,ID3D10ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D10Device_ResolveSubresource(ID3D10Device* This,ID3D10Resource *pDstResource,UINT DstSubresource,ID3D10Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D10Device_VSGetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device_PSGetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device_PSGetShader(ID3D10Device* This,ID3D10PixelShader **ppPixelShader) { + This->lpVtbl->PSGetShader(This,ppPixelShader); +} +static FORCEINLINE void ID3D10Device_PSGetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device_VSGetShader(ID3D10Device* This,ID3D10VertexShader **ppVertexShader) { + This->lpVtbl->VSGetShader(This,ppVertexShader); +} +static FORCEINLINE void ID3D10Device_PSGetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device_IAGetInputLayout(ID3D10Device* This,ID3D10InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D10Device_IAGetVertexBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D10Device_IAGetIndexBuffer(ID3D10Device* This,ID3D10Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D10Device_GSGetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device_GSGetShader(ID3D10Device* This,ID3D10GeometryShader **ppGeometryShader) { + This->lpVtbl->GSGetShader(This,ppGeometryShader); +} +static FORCEINLINE void ID3D10Device_IAGetPrimitiveTopology(ID3D10Device* This,D3D10_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D10Device_VSGetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device_VSGetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device_GetPredication(ID3D10Device* This,ID3D10Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D10Device_GSGetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device_GSGetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device_OMGetRenderTargets(ID3D10Device* This,UINT NumViews,ID3D10RenderTargetView **ppRenderTargetViews,ID3D10DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D10Device_OMGetBlendState(ID3D10Device* This,ID3D10BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D10Device_OMGetDepthStencilState(ID3D10Device* This,ID3D10DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D10Device_SOGetTargets(ID3D10Device* This,UINT NumBuffers,ID3D10Buffer **ppSOTargets,UINT *pOffsets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D10Device_RSGetState(ID3D10Device* This,ID3D10RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D10Device_RSGetViewports(ID3D10Device* This,UINT *NumViewports,D3D10_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D10Device_RSGetScissorRects(ID3D10Device* This,UINT *NumRects,D3D10_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE HRESULT ID3D10Device_GetDeviceRemovedReason(ID3D10Device* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE HRESULT ID3D10Device_SetExceptionMode(ID3D10Device* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D10Device_GetExceptionMode(ID3D10Device* This) { + return This->lpVtbl->GetExceptionMode(This); +} +static FORCEINLINE HRESULT ID3D10Device_GetPrivateData(ID3D10Device* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Device_SetPrivateData(ID3D10Device* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Device_SetPrivateDataInterface(ID3D10Device* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE void ID3D10Device_ClearState(ID3D10Device* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D10Device_Flush(ID3D10Device* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE HRESULT ID3D10Device_CreateBuffer(ID3D10Device* This,const D3D10_BUFFER_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D10Device_CreateTexture1D(ID3D10Device* This,const D3D10_TEXTURE1D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D10Device_CreateTexture2D(ID3D10Device* This,const D3D10_TEXTURE2D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D10Device_CreateTexture3D(ID3D10Device* This,const D3D10_TEXTURE3D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D10Device_CreateShaderResourceView(ID3D10Device* This,ID3D10Resource *pResource,const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D10ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D10Device_CreateRenderTargetView(ID3D10Device* This,ID3D10Resource *pResource,const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,ID3D10RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D10Device_CreateDepthStencilView(ID3D10Device* This,ID3D10Resource *pResource,const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D10DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D10Device_CreateInputLayout(ID3D10Device* This,const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D10InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D10Device_CreateVertexShader(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D10Device_CreateGeometryShader(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D10Device_CreateGeometryShaderWithStreamOutput(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,UINT OutputStreamStride,ID3D10GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D10Device_CreatePixelShader(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D10Device_CreateBlendState(ID3D10Device* This,const D3D10_BLEND_DESC *pBlendStateDesc,ID3D10BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D10Device_CreateDepthStencilState(ID3D10Device* This,const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D10DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D10Device_CreateRasterizerState(ID3D10Device* This,const D3D10_RASTERIZER_DESC *pRasterizerDesc,ID3D10RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D10Device_CreateSamplerState(ID3D10Device* This,const D3D10_SAMPLER_DESC *pSamplerDesc,ID3D10SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D10Device_CreateQuery(ID3D10Device* This,const D3D10_QUERY_DESC *pQueryDesc,ID3D10Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D10Device_CreatePredicate(ID3D10Device* This,const D3D10_QUERY_DESC *pPredicateDesc,ID3D10Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D10Device_CreateCounter(ID3D10Device* This,const D3D10_COUNTER_DESC *pCounterDesc,ID3D10Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D10Device_CheckFormatSupport(ID3D10Device* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D10Device_CheckMultisampleQualityLevels(ID3D10Device* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D10Device_CheckCounterInfo(ID3D10Device* This,D3D10_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D10Device_CheckCounter(ID3D10Device* This,const D3D10_COUNTER_DESC *pDesc,D3D10_COUNTER_TYPE *pType,UINT *pActiveCounters,char *name,UINT *pNameLength,char *units,UINT *pUnitsLength,char *description,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength); +} +static FORCEINLINE UINT ID3D10Device_GetCreationFlags(ID3D10Device* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D10Device_OpenSharedResource(ID3D10Device* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE void ID3D10Device_SetTextFilterSize(ID3D10Device* This,UINT Width,UINT Height) { + This->lpVtbl->SetTextFilterSize(This,Width,Height); +} +static FORCEINLINE void ID3D10Device_GetTextFilterSize(ID3D10Device* This,UINT *pWidth,UINT *pHeight) { + This->lpVtbl->GetTextFilterSize(This,pWidth,pHeight); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Device_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Multithread interface + */ +#ifndef __ID3D10Multithread_INTERFACE_DEFINED__ +#define __ID3D10Multithread_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4e00-342c-4106-a19f-4f2704f689f0") +ID3D10Multithread : public IUnknown +{ + virtual void STDMETHODCALLTYPE Enter( + ) = 0; + + virtual void STDMETHODCALLTYPE Leave( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected( + BOOL bMTProtect) = 0; + + virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10MultithreadVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Multithread *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Multithread *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Multithread *This); + + /*** ID3D10Multithread methods ***/ + void (STDMETHODCALLTYPE *Enter)( + ID3D10Multithread *This); + + void (STDMETHODCALLTYPE *Leave)( + ID3D10Multithread *This); + + BOOL (STDMETHODCALLTYPE *SetMultithreadProtected)( + ID3D10Multithread *This, + BOOL bMTProtect); + + BOOL (STDMETHODCALLTYPE *GetMultithreadProtected)( + ID3D10Multithread *This); + + END_INTERFACE +} ID3D10MultithreadVtbl; + +interface ID3D10Multithread { + CONST_VTBL ID3D10MultithreadVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Multithread_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Multithread_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Multithread_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10Multithread methods ***/ +#define ID3D10Multithread_Enter(This) (This)->lpVtbl->Enter(This) +#define ID3D10Multithread_Leave(This) (This)->lpVtbl->Leave(This) +#define ID3D10Multithread_SetMultithreadProtected(This,bMTProtect) (This)->lpVtbl->SetMultithreadProtected(This,bMTProtect) +#define ID3D10Multithread_GetMultithreadProtected(This) (This)->lpVtbl->GetMultithreadProtected(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Multithread_QueryInterface(ID3D10Multithread* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Multithread_AddRef(ID3D10Multithread* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Multithread_Release(ID3D10Multithread* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10Multithread methods ***/ +static FORCEINLINE void ID3D10Multithread_Enter(ID3D10Multithread* This) { + This->lpVtbl->Enter(This); +} +static FORCEINLINE void ID3D10Multithread_Leave(ID3D10Multithread* This) { + This->lpVtbl->Leave(This); +} +static FORCEINLINE BOOL ID3D10Multithread_SetMultithreadProtected(ID3D10Multithread* This,BOOL bMTProtect) { + return This->lpVtbl->SetMultithreadProtected(This,bMTProtect); +} +static FORCEINLINE BOOL ID3D10Multithread_GetMultithreadProtected(ID3D10Multithread* This) { + return This->lpVtbl->GetMultithreadProtected(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Multithread_INTERFACE_DEFINED__ */ + +#ifndef D3D10_IGNORE_SDK_LAYERS +#include "d3d10sdklayers.h" +#endif +#include "d3d10misc.h" +#include "d3d10shader.h" +#include "d3d10effect.h" +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d10_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10.idl new file mode 100644 index 0000000..f125956 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10.idl @@ -0,0 +1,1631 @@ +/* + * Copyright 2007 Andras Kovacs + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi.idl"; +import "d3dcommon.idl"; + +cpp_quote("#ifndef _D3D10_CONSTANTS") +cpp_quote("#define _D3D10_CONSTANTS") +const float D3D10_DEFAULT_BLEND_FACTOR_ALPHA = 1.0; +const float D3D10_DEFAULT_BLEND_FACTOR_BLUE = 1.0; +const float D3D10_DEFAULT_BLEND_FACTOR_GREEN = 1.0; +const float D3D10_DEFAULT_BLEND_FACTOR_RED = 1.0; +const float D3D10_DEFAULT_BORDER_COLOR_COMPONENT = 0.0; +const float D3D10_DEFAULT_SLOPE_SCALED_DEPTH_BIAS = 0.0; +const float D3D10_DEFAULT_DEPTH_BIAS_CLAMP = 0.0; +const float D3D10_DEFAULT_MAX_ANISOTROPY = 16.0; +const float D3D10_DEFAULT_MIP_LOD_BIAS = 0.0; +const float D3D10_DEFAULT_VIEWPORT_MAX_DEPTH = 0.0; +const float D3D10_DEFAULT_VIEWPORT_MIN_DEPTH = 0.0; +const float D3D10_FLOAT16_FUSED_TOLERANCE_IN_ULP = 0.6; +const float D3D10_FLOAT32_MAX = 3.402823466e+38; +const float D3D10_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP = 0.6; +const float D3D10_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR = 2.4; +const float D3D10_FLOAT_TO_SRGB_EXPONENT_NUMERATOR = 1.0; +const float D3D10_FLOAT_TO_SRGB_OFFSET = 0.055; +const float D3D10_FLOAT_TO_SRGB_SCALE_1 = 12.92; +const float D3D10_FLOAT_TO_SRGB_SCALE_2 = 1.055; +const float D3D10_FLOAT_TO_SRGB_THRESHOLD = 0.0031308; +const float D3D10_FTOI_INSTRUCTION_MAX_INPUT = 2147483647.999; +const float D3D10_FTOI_INSTRUCTION_MIN_INPUT = -2147483648.999; +const float D3D10_FTOU_INSTRUCTION_MAX_INPUT = 4294967295.999; +const float D3D10_FTOU_INSTRUCTION_MIN_INPUT = 0.0; +const float D3D10_LINEAR_GAMMA = 1.0; +const float D3D10_MAX_BORDER_COLOR_COMPONENT = 1.0; +const float D3D10_MAX_DEPTH = 1.0; +const float D3D10_MAX_POSITION_VALUE = 3.402823466e+34; +const float D3D10_MIN_BORDER_COLOR_COMPONENT = 0.0; +const float D3D10_MIN_DEPTH = 0.0; +const float D3D10_MIP_LOD_BIAS_MAX = 15.99; +const float D3D10_MIP_LOD_BIAS_MIN = -16.0; +const float D3D10_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0.5; +const float D3D10_MULTISAMPLE_ANTIALIAS_LINE_WIDTH = 1.4; +const float D3D10_SRGB_GAMMA = 2.2; +const float D3D10_SRGB_TO_FLOAT_DENOMINATOR_1 = 12.92; +const float D3D10_SRGB_TO_FLOAT_DENOMINATOR_2 = 1.055; +const float D3D10_SRGB_TO_FLOAT_EXPONENT = 2.4; +const float D3D10_SRGB_TO_FLOAT_OFFSET = 0.055; +const float D3D10_SRGB_TO_FLOAT_THRESHOLD = 0.04045; +const float D3D10_SRGB_TO_FLOAT_TOLERANCE_IN_ULP = 0.5; +const float D3D10_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0.0; +const float D3D_SPEC_VERSION = 1.050005; +const unsigned int D3D10_16BIT_INDEX_STRIP_CUT_VALUE = 0xffff; +const unsigned int D3D10_32BIT_INDEX_STRIP_CUT_VALUE = 0xffffffff; +const unsigned int D3D10_8BIT_INDEX_STRIP_CUT_VALUE = 0xff; +const unsigned int D3D10_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT = 9; +const unsigned int D3D10_CLIP_OR_CULL_DISTANCE_COUNT = 8; +const unsigned int D3D10_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT = 2; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT = 14; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS = 4; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT = 15; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; +const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT = 64; +const unsigned int D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT = 1; +const unsigned int D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; +const unsigned int D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS = 1; +const unsigned int D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT = 128; +const unsigned int D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST = 1; +const unsigned int D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT = 128; +const unsigned int D3D10_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS = 1; +const unsigned int D3D10_COMMONSHADER_SAMPLER_REGISTER_COUNT = 16; +const unsigned int D3D10_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST = 1; +const unsigned int D3D10_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT = 16; +const unsigned int D3D10_COMMONSHADER_SUBROUTINE_NESTING_LIMIT = 32; +const unsigned int D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_COMMONSHADER_TEMP_REGISTER_COUNT = 4096; +const unsigned int D3D10_COMMONSHADER_TEMP_REGISTER_READS_PER_INST = 3; +const unsigned int D3D10_COMMONSHADER_TEMP_REGISTER_READ_PORTS = 3; +const unsigned int D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX = 10; +const int D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; +const int D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; +const unsigned int D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; +const unsigned int D3D10_DEFAULT_DEPTH_BIAS = 0; +const unsigned int D3D10_DEFAULT_RENDER_TARGET_ARRAY_INDEX = 0; +const unsigned int D3D10_DEFAULT_SAMPLE_MASK = 0xffffffff; +const unsigned int D3D10_DEFAULT_SCISSOR_ENDX = 0; +const unsigned int D3D10_DEFAULT_SCISSOR_ENDY = 0; +const unsigned int D3D10_DEFAULT_SCISSOR_STARTX = 0; +const unsigned int D3D10_DEFAULT_SCISSOR_STARTY = 0; +const unsigned int D3D10_DEFAULT_STENCIL_READ_MASK = 0xff; +const unsigned int D3D10_DEFAULT_STENCIL_REFERENCE = 0; +const unsigned int D3D10_DEFAULT_STENCIL_WRITE_MASK = 0xff; +const unsigned int D3D10_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX = 0; +const unsigned int D3D10_DEFAULT_VIEWPORT_HEIGHT = 0; +const unsigned int D3D10_DEFAULT_VIEWPORT_TOPLEFTX = 0; +const unsigned int D3D10_DEFAULT_VIEWPORT_TOPLEFTY = 0; +const unsigned int D3D10_DEFAULT_VIEWPORT_WIDTH = 0; +const unsigned int D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS = 1; +const unsigned int D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_GS_INPUT_PRIM_CONST_REGISTER_COUNT = 1; +const unsigned int D3D10_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST = 2; +const unsigned int D3D10_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_GS_INPUT_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT =32; +const unsigned int D3D10_GS_INPUT_REGISTER_COUNT = 16; +const unsigned int D3D10_GS_INPUT_REGISTER_READS_PER_INST = 2; +const unsigned int D3D10_GS_INPUT_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_GS_INPUT_REGISTER_VERTICES = 6; +const unsigned int D3D10_GS_OUTPUT_ELEMENTS = 32; +const unsigned int D3D10_GS_OUTPUT_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_GS_OUTPUT_REGISTER_COUNT = 32; +const unsigned int D3D10_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES = 0; +const unsigned int D3D10_IA_DEFAULT_PRIMITIVE_TOPOLOGY = 0; +const unsigned int D3D10_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES = 0; +const unsigned int D3D10_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT = 1; +const unsigned int D3D10_IA_INSTANCE_ID_BIT_COUNT = 32; +const unsigned int D3D10_IA_INTEGER_ARITHMETIC_BIT_COUNT = 32; +const unsigned int D3D10_IA_PRIMITIVE_ID_BIT_COUNT = 32; +const unsigned int D3D10_IA_VERTEX_ID_BIT_COUNT = 32; +const unsigned int D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 16; +const unsigned int D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS = 64; +const unsigned int D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT = 16; +const unsigned int D3D10_INTEGER_DIVIDE_BY_ZERO_QUOTIENT = 0xffffffff; +const unsigned int D3D10_INTEGER_DIVIDE_BY_ZERO_REMAINDER = 0xffffffff; +const unsigned int D3D10_MAX_MAXANISOTROPY = 16; +const unsigned int D3D10_MAX_MULTISAMPLE_SAMPLE_COUNT = 32; +const unsigned int D3D10_MAX_TEXTURE_DIMENSION_2_TO_EXP = 17; +const unsigned int D3D10_MIN_MAXANISOTROPY = 0; +const unsigned int D3D10_MIP_LOD_FRACTIONAL_BIT_COUNT = 6; +const unsigned int D3D10_MIP_LOD_RANGE_BIT_COUNT = 8; +const unsigned int D3D10_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT = 0; +const unsigned int D3D10_PIXEL_ADDRESS_RANGE_BIT_COUNT = 13; +const unsigned int D3D10_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; +const unsigned int D3D10_PS_FRONTFACING_DEFAULT_VALUE = 0xffffffff; +const unsigned int D3D10_PS_FRONTFACING_FALSE_VALUE = 0; +const unsigned int D3D10_PS_FRONTFACING_TRUE_VALUE = 0xffffffff; +const unsigned int D3D10_PS_INPUT_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_PS_INPUT_REGISTER_COUNT = 32; +const unsigned int D3D10_PS_INPUT_REGISTER_READS_PER_INST = 2; +const unsigned int D3D10_PS_INPUT_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS = 1; +const unsigned int D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_PS_OUTPUT_DEPTH_REGISTER_COUNT = 1; +const unsigned int D3D10_PS_OUTPUT_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_PS_OUTPUT_REGISTER_COUNT = 8; +const unsigned int D3D10_REQ_BLEND_OBJECT_COUNT_PER_CONTEXT = 4096; +const unsigned int D3D10_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP = 27; +const unsigned int D3D10_REQ_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; +const unsigned int D3D10_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_CONTEXT = 4096; +const unsigned int D3D10_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 32; +const unsigned int D3D10_REQ_DRAW_VERTEX_COUNT_2_TO_EXP = 32; +const unsigned int D3D10_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION = 8192; +const unsigned int D3D10_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT = 1024; +const unsigned int D3D10_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; +const unsigned int D3D10_REQ_MAXANISOTROPY = 16; +const unsigned int D3D10_REQ_MIP_LEVELS = 14; +const unsigned int D3D10_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES = 2048; +const unsigned int D3D10_REQ_RASTERIZER_OBJECT_COUNT_PER_CONTEXT = 4096; +const unsigned int D3D10_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH = 8192; +const unsigned int D3D10_REQ_RESOURCE_SIZE_IN_MEGABYTES = 128; +const unsigned int D3D10_REQ_RESOURCE_VIEW_COUNT_PER_CONTEXT_2_TO_EXP = 20; +const unsigned int D3D10_REQ_SAMPLER_OBJECT_COUNT_PER_CONTEXT = 4096; +const unsigned int D3D10_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION = 512; +const unsigned int D3D10_REQ_TEXTURE1D_U_DIMENSION = 8192; +const unsigned int D3D10_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION = 512; +const unsigned int D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION = 8192; +const unsigned int D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 2048; +const unsigned int D3D10_REQ_TEXTURECUBE_DIMENSION = 8192; +const unsigned int D3D10_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; +const unsigned int D3D10_SHADER_MAJOR_VERSION = 4; +const unsigned int D3D10_SHADER_MINOR_VERSION = 0; +const unsigned int D3D10_SHIFT_INSTRUCTION_PAD_VALUE = 0; +const unsigned int D3D10_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT = 5; +const unsigned int D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT = 8; +const unsigned int D3D10_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; +const unsigned int D3D10_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 256; +const unsigned int D3D10_SO_BUFFER_SLOT_COUNT = 4; +const unsigned int D3D10_SO_DDI_REGISTER_INDEX_DENOTING_GAP = 0xffffffff; +const unsigned int D3D10_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER = 1; +const unsigned int D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT = 64; +const unsigned int D3D10_STANDARD_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_STANDARD_COMPONENT_BIT_COUNT_DOUBLED = 64; +const unsigned int D3D10_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE = 4; +const unsigned int D3D10_STANDARD_PIXEL_COMPONENT_COUNT = 128; +const unsigned int D3D10_STANDARD_PIXEL_ELEMENT_COUNT = 32; +const unsigned int D3D10_STANDARD_VECTOR_SIZE = 4; +const unsigned int D3D10_STANDARD_VERTEX_ELEMENT_COUNT = 16; +const unsigned int D3D10_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT = 64; +const unsigned int D3D10_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; +const unsigned int D3D10_SUBTEXEL_FRACTIONAL_BIT_COUNT = 6; +const unsigned int D3D10_TEXEL_ADDRESS_RANGE_BIT_COUNT = 18; +const unsigned int D3D10_UNBOUND_MEMORY_ACCESS_RESULT = 0; +const unsigned int D3D10_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15; +const unsigned int D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16; +const unsigned int D3D10_VIEWPORT_BOUNDS_MAX = 16383; +const int D3D10_VIEWPORT_BOUNDS_MIN = -16384; +const unsigned int D3D10_VS_INPUT_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_VS_INPUT_REGISTER_COUNT = 16; +const unsigned int D3D10_VS_INPUT_REGISTER_READS_PER_INST = 2; +const unsigned int D3D10_VS_INPUT_REGISTER_READ_PORTS = 1; +const unsigned int D3D10_VS_OUTPUT_REGISTER_COMPONENTS = 4; +const unsigned int D3D10_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const unsigned int D3D10_VS_OUTPUT_REGISTER_COUNT = 16; +const unsigned int D3D10_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT = 10; +const unsigned int D3D10_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 25; +const unsigned int D3D10_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP = 25; +const unsigned int D3D_MAJOR_VERSION = 10; +const unsigned int D3D_MINOR_VERSION = 0; +const unsigned int D3D_SPEC_DATE_DAY = 8; +const unsigned int D3D_SPEC_DATE_MONTH = 8; +const unsigned int D3D_SPEC_DATE_YEAR = 2006; +cpp_quote("#endif") + +const unsigned int D3D10_APPEND_ALIGNED_ELEMENT = 0xffffffff; +const unsigned int _FACD3D10 = 0x879; +const unsigned int _FACD3D10DEBUG = _FACD3D10 + 1; +const unsigned int D3D10_FILTER_TYPE_MASK = 0x3; +const unsigned int D3D10_SDK_VERSION = 29; + +cpp_quote("#define MAKE_D3D10_HRESULT(code) MAKE_HRESULT( 1, _FACD3D10, code)") +cpp_quote("#define MAKE_D3D10_STATUS(code) MAKE_HRESULT( 0, _FACD3D10, code)") +cpp_quote("#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1)") +cpp_quote("#define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2)") + +typedef enum D3D10_BLEND { + D3D10_BLEND_ZERO = 1, + D3D10_BLEND_ONE = 2, + D3D10_BLEND_SRC_COLOR = 3, + D3D10_BLEND_INV_SRC_COLOR = 4, + D3D10_BLEND_SRC_ALPHA = 5, + D3D10_BLEND_INV_SRC_ALPHA = 6, + D3D10_BLEND_DEST_ALPHA = 7, + D3D10_BLEND_INV_DEST_ALPHA = 8, + D3D10_BLEND_DEST_COLOR = 9, + D3D10_BLEND_INV_DEST_COLOR = 10, + D3D10_BLEND_SRC_ALPHA_SAT = 11, + D3D10_BLEND_BLEND_FACTOR = 14, + D3D10_BLEND_INV_BLEND_FACTOR = 15, + D3D10_BLEND_SRC1_COLOR = 16, + D3D10_BLEND_INV_SRC1_COLOR = 17, + D3D10_BLEND_SRC1_ALPHA = 18, + D3D10_BLEND_INV_SRC1_ALPHA = 19 +} D3D10_BLEND; + +typedef enum D3D10_BLEND_OP { + D3D10_BLEND_OP_ADD = 1, + D3D10_BLEND_OP_SUBTRACT, + D3D10_BLEND_OP_REV_SUBTRACT, + D3D10_BLEND_OP_MIN, + D3D10_BLEND_OP_MAX, +} D3D10_BLEND_OP; + +typedef struct D3D10_BLEND_DESC { + BOOL AlphaToCoverageEnable; + BOOL BlendEnable[8]; + D3D10_BLEND SrcBlend; + D3D10_BLEND DestBlend; + D3D10_BLEND_OP BlendOp; + D3D10_BLEND SrcBlendAlpha; + D3D10_BLEND DestBlendAlpha; + D3D10_BLEND_OP BlendOpAlpha; + UINT8 RenderTargetWriteMask[8]; +} D3D10_BLEND_DESC; + +typedef enum D3D10_DEPTH_WRITE_MASK { + D3D10_DEPTH_WRITE_MASK_ZERO, + D3D10_DEPTH_WRITE_MASK_ALL, +} D3D10_DEPTH_WRITE_MASK; + +typedef enum D3D10_COMPARISON_FUNC { + D3D10_COMPARISON_NEVER = 1, + D3D10_COMPARISON_LESS, + D3D10_COMPARISON_EQUAL, + D3D10_COMPARISON_LESS_EQUAL, + D3D10_COMPARISON_GREATER, + D3D10_COMPARISON_NOT_EQUAL, + D3D10_COMPARISON_GREATER_EQUAL, + D3D10_COMPARISON_ALWAYS, +} D3D10_COMPARISON_FUNC; + +typedef enum D3D10_STENCIL_OP { + D3D10_STENCIL_OP_KEEP = 1, + D3D10_STENCIL_OP_ZERO, + D3D10_STENCIL_OP_REPLACE, + D3D10_STENCIL_OP_INCR_SAT, + D3D10_STENCIL_OP_DECR_SAT, + D3D10_STENCIL_OP_INVERT, + D3D10_STENCIL_OP_INCR, + D3D10_STENCIL_OP_DECR, +} D3D10_STENCIL_OP; + +typedef struct D3D10_DEPTH_STENCILOP_DESC { + D3D10_STENCIL_OP StencilFailOp; + D3D10_STENCIL_OP StencilDepthFailOp; + D3D10_STENCIL_OP StencilPassOp; + D3D10_COMPARISON_FUNC StencilFunc; +} D3D10_DEPTH_STENCILOP_DESC; + +typedef struct D3D10_DEPTH_STENCIL_DESC { + BOOL DepthEnable; + D3D10_DEPTH_WRITE_MASK DepthWriteMask; + D3D10_COMPARISON_FUNC DepthFunc; + BOOL StencilEnable; + UINT8 StencilReadMask; + UINT8 StencilWriteMask; + D3D10_DEPTH_STENCILOP_DESC FrontFace; + D3D10_DEPTH_STENCILOP_DESC BackFace; +} D3D10_DEPTH_STENCIL_DESC; + +typedef enum D3D10_FILL_MODE { + D3D10_FILL_WIREFRAME = 2, + D3D10_FILL_SOLID, +} D3D10_FILL_MODE; + +typedef enum D3D10_CULL_MODE { + D3D10_CULL_NONE = 1, + D3D10_CULL_FRONT, + D3D10_CULL_BACK, +} D3D10_CULL_MODE; + +typedef struct D3D10_RASTERIZER_DESC { + D3D10_FILL_MODE FillMode; + D3D10_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + INT DepthBias; + FLOAT DepthBiasClamp; + FLOAT SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; +} D3D10_RASTERIZER_DESC; + +typedef enum D3D10_FILTER { + D3D10_FILTER_MIN_MAG_MIP_POINT = 0, + D3D10_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1, + D3D10_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4, + D3D10_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5, + D3D10_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10, + D3D10_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11, + D3D10_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14, + D3D10_FILTER_MIN_MAG_MIP_LINEAR = 0x15, + D3D10_FILTER_ANISOTROPIC = 0x55, + D3D10_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80, + D3D10_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81, + D3D10_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84, + D3D10_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85, + D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90, + D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91, + D3D10_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94, + D3D10_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95, + D3D10_FILTER_COMPARISON_ANISOTROPIC = 0xd5, + D3D10_FILTER_TEXT_1BIT = 0x80000000 +} D3D10_FILTER; + +typedef enum D3D10_TEXTURE_ADDRESS_MODE { + D3D10_TEXTURE_ADDRESS_WRAP = 1, + D3D10_TEXTURE_ADDRESS_MIRROR, + D3D10_TEXTURE_ADDRESS_CLAMP, + D3D10_TEXTURE_ADDRESS_BORDER, + D3D10_TEXTURE_ADDRESS_MIRROR_ONCE, +} D3D10_TEXTURE_ADDRESS_MODE; + +typedef struct D3D10_SAMPLER_DESC { + D3D10_FILTER Filter; + D3D10_TEXTURE_ADDRESS_MODE AddressU; + D3D10_TEXTURE_ADDRESS_MODE AddressV; + D3D10_TEXTURE_ADDRESS_MODE AddressW; + FLOAT MipLODBias; + UINT MaxAnisotropy; + D3D10_COMPARISON_FUNC ComparisonFunc; + FLOAT BorderColor[4]; + FLOAT MinLOD; + FLOAT MaxLOD; +} D3D10_SAMPLER_DESC; + +typedef enum D3D10_COUNTER { + D3D10_COUNTER_GPU_IDLE, + D3D10_COUNTER_VERTEX_PROCESSING, + D3D10_COUNTER_GEOMETRY_PROCESSING, + D3D10_COUNTER_PIXEL_PROCESSING, + D3D10_COUNTER_OTHER_GPU_PROCESSING, + D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION, + D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION, + D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION, + D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION, + D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION, + D3D10_COUNTER_VS_MEMORY_LIMITED, + D3D10_COUNTER_VS_COMPUTATION_LIMITED, + D3D10_COUNTER_GS_MEMORY_LIMITED, + D3D10_COUNTER_GS_COMPUTATION_LIMITED, + D3D10_COUNTER_PS_MEMORY_LIMITED, + D3D10_COUNTER_PS_COMPUTATION_LIMITED, + D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE, + D3D10_COUNTER_TEXTURE_CACHE_HIT_RATE, + D3D10_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000 +} D3D10_COUNTER; + +typedef struct D3D10_COUNTER_DESC { + D3D10_COUNTER Counter; + UINT MiscFlags; +} D3D10_COUNTER_DESC; + +typedef enum D3D10_COUNTER_TYPE { + D3D10_COUNTER_TYPE_FLOAT32, + D3D10_COUNTER_TYPE_UINT16, + D3D10_COUNTER_TYPE_UINT32, + D3D10_COUNTER_TYPE_UINT64, +} D3D10_COUNTER_TYPE; + +typedef struct D3D10_COUNTER_INFO { + D3D10_COUNTER LastDeviceDependentCounter; + UINT NumSimultaneousCounters; + UINT8 NumDetectableParallelUnits; +} D3D10_COUNTER_INFO; + +typedef enum D3D10_RESOURCE_DIMENSION { + D3D10_RESOURCE_DIMENSION_UNKNOWN, + D3D10_RESOURCE_DIMENSION_BUFFER, + D3D10_RESOURCE_DIMENSION_TEXTURE1D, + D3D10_RESOURCE_DIMENSION_TEXTURE2D, + D3D10_RESOURCE_DIMENSION_TEXTURE3D, +} D3D10_RESOURCE_DIMENSION; + +typedef enum D3D10_USAGE { + D3D10_USAGE_DEFAULT, + D3D10_USAGE_IMMUTABLE, + D3D10_USAGE_DYNAMIC, + D3D10_USAGE_STAGING, +} D3D10_USAGE; + +typedef enum D3D10_BIND_FLAG { + D3D10_BIND_VERTEX_BUFFER = 0x1, + D3D10_BIND_INDEX_BUFFER = 0x2, + D3D10_BIND_CONSTANT_BUFFER = 0x4, + D3D10_BIND_SHADER_RESOURCE = 0x8, + D3D10_BIND_STREAM_OUTPUT = 0x10, + D3D10_BIND_RENDER_TARGET = 0x20, + D3D10_BIND_DEPTH_STENCIL = 0x40 +} D3D10_BIND_FLAG; + +typedef struct D3D10_BUFFER_DESC { + UINT ByteWidth; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_BUFFER_DESC; + +cpp_quote("#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D10_BUFFER_DESC : public D3D10_BUFFER_DESC {") +cpp_quote(" CD3D10_BUFFER_DESC() {}" ) +cpp_quote(" explicit CD3D10_BUFFER_DESC(const D3D10_BUFFER_DESC &o) : D3D10_BUFFER_DESC(o) {}") +cpp_quote(" explicit CD3D10_BUFFER_DESC(UINT byteWidth, UINT bindFlags, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT miscFlags = 0 ) {") +cpp_quote(" ByteWidth = byteWidth;") +cpp_quote(" Usage = usage;") +cpp_quote(" BindFlags = bindFlags;") +cpp_quote(" CPUAccessFlags = cpuaccessFlags;") +cpp_quote(" MiscFlags = miscFlags;") +cpp_quote(" }") +cpp_quote(" ~CD3D10_BUFFER_DESC() {}") +cpp_quote(" operator const D3D10_BUFFER_DESC&() const {") +cpp_quote(" return *this;") +cpp_quote(" }") +cpp_quote("};") +cpp_quote("#endif") + +typedef enum D3D10_MAP { + D3D10_MAP_READ = 1, + D3D10_MAP_WRITE, + D3D10_MAP_READ_WRITE, + D3D10_MAP_WRITE_DISCARD, + D3D10_MAP_WRITE_NO_OVERWRITE, +} D3D10_MAP; + +typedef struct D3D10_TEXTURE1D_DESC { + UINT Width; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_TEXTURE1D_DESC; + +cpp_quote("#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D10_TEXTURE1D_DESC : public D3D10_TEXTURE1D_DESC {") +cpp_quote(" CD3D10_TEXTURE1D_DESC() {}") +cpp_quote(" explicit CD3D10_TEXTURE1D_DESC(const D3D10_TEXTURE1D_DESC &o) : D3D10_TEXTURE1D_DESC(o) {}") +cpp_quote(" explicit CD3D10_TEXTURE1D_DESC(DXGI_FORMAT format, UINT width, UINT arraySize = 1, UINT mipLevels = 0,") +cpp_quote(" UINT bindFlags = D3D10_BIND_SHADER_RESOURCE, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0,") +cpp_quote(" UINT miscFlags = 0) {") +cpp_quote(" Width = width;") +cpp_quote(" MipLevels = mipLevels;") +cpp_quote(" ArraySize = arraySize;") +cpp_quote(" Format = format;") +cpp_quote(" Usage = usage;") +cpp_quote(" BindFlags = bindFlags;") +cpp_quote(" CPUAccessFlags = cpuaccessFlags;") +cpp_quote(" MiscFlags = miscFlags;") +cpp_quote(" }") +cpp_quote(" ~CD3D10_TEXTURE1D_DESC() {}") +cpp_quote(" operator const D3D10_TEXTURE1D_DESC&() const {") +cpp_quote(" return *this;") +cpp_quote(" }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D10_TEXTURE2D_DESC { + UINT Width; + UINT Height; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_TEXTURE2D_DESC; + +cpp_quote("#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D10_TEXTURE2D_DESC : public D3D10_TEXTURE2D_DESC {") +cpp_quote(" CD3D10_TEXTURE2D_DESC() {}" ) +cpp_quote(" explicit CD3D10_TEXTURE2D_DESC(const D3D10_TEXTURE2D_DESC &o) : D3D10_TEXTURE2D_DESC(o) {}") +cpp_quote(" explicit CD3D10_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height,") +cpp_quote(" UINT arraySize = 1,") +cpp_quote(" UINT mipLevels = 0,") +cpp_quote(" UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,") +cpp_quote(" D3D10_USAGE usage = D3D10_USAGE_DEFAULT,") +cpp_quote(" UINT cpuaccessFlags = 0,") +cpp_quote(" UINT sampleCount = 1,") +cpp_quote(" UINT sampleQuality = 0,") +cpp_quote(" UINT miscFlags = 0) {") +cpp_quote(" Width = width;" ) +cpp_quote(" Height = height;" ) +cpp_quote(" MipLevels = mipLevels;" ) +cpp_quote(" ArraySize = arraySize;" ) +cpp_quote(" Format = format;" ) +cpp_quote(" SampleDesc.Count = sampleCount;" ) +cpp_quote(" SampleDesc.Quality = sampleQuality;" ) +cpp_quote(" Usage = usage;" ) +cpp_quote(" BindFlags = bindFlags;" ) +cpp_quote(" CPUAccessFlags = cpuaccessFlags;" ) +cpp_quote(" MiscFlags = miscFlags;" ) +cpp_quote(" }") +cpp_quote(" ~CD3D10_TEXTURE2D_DESC() {}") +cpp_quote(" operator const D3D10_TEXTURE2D_DESC&() const {") +cpp_quote(" return *this;") +cpp_quote(" }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D10_TEXTURE3D_DESC { + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + DXGI_FORMAT Format; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D10_TEXTURE3D_DESC; + +typedef enum D3D10_DSV_DIMENSION +{ + D3D10_DSV_DIMENSION_UNKNOWN, + D3D10_DSV_DIMENSION_TEXTURE1D, + D3D10_DSV_DIMENSION_TEXTURE1DARRAY, + D3D10_DSV_DIMENSION_TEXTURE2D, + D3D10_DSV_DIMENSION_TEXTURE2DARRAY, + D3D10_DSV_DIMENSION_TEXTURE2DMS, + D3D10_DSV_DIMENSION_TEXTURE2DMSARRAY, +} D3D10_DSV_DIMENSION; + +typedef struct D3D10_TEX1D_DSV { + UINT MipSlice; +} D3D10_TEX1D_DSV; + +typedef struct D3D10_TEX1D_ARRAY_DSV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX1D_ARRAY_DSV; + +typedef struct D3D10_TEX2D_DSV { + UINT MipSlice; +} D3D10_TEX2D_DSV; + +typedef struct D3D10_TEX2D_ARRAY_DSV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2D_ARRAY_DSV; + +typedef struct D3D10_TEX2DMS_DSV { + UINT UnusedField_NothingToDefine; +} D3D10_TEX2DMS_DSV; + +typedef struct D3D10_TEX2DMS_ARRAY_DSV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2DMS_ARRAY_DSV; + +typedef struct D3D10_DEPTH_STENCIL_VIEW_DESC { + DXGI_FORMAT Format; + D3D10_DSV_DIMENSION ViewDimension; + union { + D3D10_TEX1D_DSV Texture1D; + D3D10_TEX1D_ARRAY_DSV Texture1DArray; + D3D10_TEX2D_DSV Texture2D; + D3D10_TEX2D_ARRAY_DSV Texture2DArray; + D3D10_TEX2DMS_DSV Texture2DMS; + D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray; + }; +} D3D10_DEPTH_STENCIL_VIEW_DESC; + +typedef enum D3D10_RTV_DIMENSION { + D3D10_RTV_DIMENSION_UNKNOWN, + D3D10_RTV_DIMENSION_BUFFER, + D3D10_RTV_DIMENSION_TEXTURE1D, + D3D10_RTV_DIMENSION_TEXTURE1DARRAY, + D3D10_RTV_DIMENSION_TEXTURE2D, + D3D10_RTV_DIMENSION_TEXTURE2DARRAY, + D3D10_RTV_DIMENSION_TEXTURE2DMS, + D3D10_RTV_DIMENSION_TEXTURE2DMSARRAY, + D3D10_RTV_DIMENSION_TEXTURE3D, +} D3D10_RTV_DIMENSION; + +typedef struct D3D10_BUFFER_RTV { + UINT ElementOffset; + UINT ElementWidth; +} D3D10_BUFFER_RTV; + +typedef struct D3D10_TEX1D_RTV { + UINT MipSlice; +} D3D10_TEX1D_RTV; + +typedef struct D3D10_TEX1D_ARRAY_RTV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX1D_ARRAY_RTV; + +typedef struct D3D10_TEX2D_RTV { + UINT MipSlice; +} D3D10_TEX2D_RTV; + +typedef struct D3D10_TEX2D_ARRAY_RTV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2D_ARRAY_RTV; + +typedef struct D3D10_TEX2DMS_RTV { + UINT UnusedField_NothingToDefine; +} D3D10_TEX2DMS_RTV; + +typedef struct D3D10_TEX2DMS_ARRAY_RTV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2DMS_ARRAY_RTV; + +typedef struct D3D10_TEX3D_RTV { + UINT MipSlice; + UINT FirstWSlice; + UINT WSize; +} D3D10_TEX3D_RTV; + +typedef struct D3D10_RENDER_TARGET_VIEW_DESC { + DXGI_FORMAT Format; + D3D10_RTV_DIMENSION ViewDimension; + union { + D3D10_BUFFER_RTV Buffer; + D3D10_TEX1D_RTV Texture1D; + D3D10_TEX1D_ARRAY_RTV Texture1DArray; + D3D10_TEX2D_RTV Texture2D; + D3D10_TEX2D_ARRAY_RTV Texture2DArray; + D3D10_TEX2DMS_RTV Texture2DMS; + D3D10_TEX2DMS_ARRAY_RTV Texture2DMSArray; + D3D10_TEX3D_RTV Texture3D; + }; +} D3D10_RENDER_TARGET_VIEW_DESC; + +typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION; + +typedef struct D3D10_BUFFER_SRV { + UINT ElementOffset; + UINT ElementWidth; +} D3D10_BUFFER_SRV; + +typedef struct D3D10_TEX1D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEX1D_SRV; + +typedef struct D3D10_TEX1D_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX1D_ARRAY_SRV; + +typedef struct D3D10_TEX2D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEX2D_SRV; + +typedef struct D3D10_TEX2D_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2D_ARRAY_SRV; + +typedef struct D3D10_TEX2DMS_SRV { + UINT UnusedField_NothingToDefine; +} D3D10_TEX2DMS_SRV; + +typedef struct D3D10_TEX2DMS_ARRAY_SRV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D10_TEX2DMS_ARRAY_SRV; + +typedef struct D3D10_TEX3D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEX3D_SRV; + +typedef struct D3D10_TEXCUBE_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D10_TEXCUBE_SRV; + +typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC { + DXGI_FORMAT Format; + D3D10_SRV_DIMENSION ViewDimension; + union { + D3D10_BUFFER_SRV Buffer; + D3D10_TEX1D_SRV Texture1D; + D3D10_TEX1D_ARRAY_SRV Texture1DArray; + D3D10_TEX2D_SRV Texture2D; + D3D10_TEX2D_ARRAY_SRV Texture2DArray; + D3D10_TEX2DMS_SRV Texture2DMS; + D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D10_TEX3D_SRV Texture3D; + D3D10_TEXCUBE_SRV TextureCube; + }; +} D3D10_SHADER_RESOURCE_VIEW_DESC; + +typedef struct D3D10_BOX { + UINT left; + UINT top; + UINT front; + UINT right; + UINT bottom; + UINT back; +} D3D10_BOX; + +typedef struct D3D10_SUBRESOURCE_DATA { + const void *pSysMem; + UINT SysMemPitch; + UINT SysMemSlicePitch; +} D3D10_SUBRESOURCE_DATA; + +typedef struct D3D10_SO_DECLARATION_ENTRY +{ + const char *SemanticName; + UINT SemanticIndex; + BYTE StartComponent; + BYTE ComponentCount; + BYTE OutputSlot; +} D3D10_SO_DECLARATION_ENTRY; + +typedef enum D3D10_INPUT_CLASSIFICATION { + D3D10_INPUT_PER_VERTEX_DATA, + D3D10_INPUT_PER_INSTANCE_DATA, +} D3D10_INPUT_CLASSIFICATION; + +typedef struct D3D10_INPUT_ELEMENT_DESC +{ + const char *SemanticName; + UINT SemanticIndex; + DXGI_FORMAT Format; + UINT InputSlot; + UINT AlignedByteOffset; + D3D10_INPUT_CLASSIFICATION InputSlotClass; + UINT InstanceDataStepRate; +} D3D10_INPUT_ELEMENT_DESC; + +typedef enum D3D10_QUERY { + D3D10_QUERY_EVENT, + D3D10_QUERY_OCCLUSION, + D3D10_QUERY_TIMESTAMP, + D3D10_QUERY_TIMESTAMP_DISJOINT, + D3D10_QUERY_PIPELINE_STATISTICS, + D3D10_QUERY_OCCLUSION_PREDICATE, + D3D10_QUERY_SO_STATISTICS, + D3D10_QUERY_SO_OVERFLOW_PREDICATE, +} D3D10_QUERY; + +typedef struct D3D10_QUERY_DESC { + D3D10_QUERY Query; + UINT MiscFlags; +} D3D10_QUERY_DESC; + +typedef D3D_PRIMITIVE_TOPOLOGY D3D10_PRIMITIVE_TOPOLOGY; + +typedef D3D_PRIMITIVE D3D10_PRIMITIVE; + +typedef RECT D3D10_RECT; + +typedef struct D3D10_VIEWPORT { + INT TopLeftX; + INT TopLeftY; + UINT Width; + UINT Height; + FLOAT MinDepth; + FLOAT MaxDepth; +} D3D10_VIEWPORT; + +typedef struct D3D10_MAPPED_TEXTURE2D { + void *pData; + UINT RowPitch; +} D3D10_MAPPED_TEXTURE2D; + +typedef struct D3D10_MAPPED_TEXTURE3D { + void *pData; + UINT RowPitch; + UINT DepthPitch; +} D3D10_MAPPED_TEXTURE3D; + +typedef enum D3D10_CPU_ACCESS_FLAG { + D3D10_CPU_ACCESS_WRITE = 0x10000, + D3D10_CPU_ACCESS_READ = 0x20000 +} D3D10_CPU_ACCESS_FLAG; + +typedef enum D3D10_RESOURCE_MISC_FLAG { + D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x0001, + D3D10_RESOURCE_MISC_SHARED = 0x0002, + D3D10_RESOURCE_MISC_TEXTURECUBE = 0x0004, + D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x0010, + D3D10_RESOURCE_MISC_GDI_COMPATIBLE = 0x0020 +} D3D10_RESOURCE_MISC_FLAG; + +typedef enum D3D10_MAP_FLAG { + D3D10_MAP_FLAG_DO_NOT_WAIT = 0x100000, +} D3D10_MAP_FLAG; + +typedef enum D3D10_CLEAR_FLAG { + D3D10_CLEAR_DEPTH = 0x1, + D3D10_CLEAR_STENCIL = 0x2 +} D3D10_CLEAR_FLAG; + +typedef enum D3D10_COLOR_WRITE_ENABLE { + D3D10_COLOR_WRITE_ENABLE_RED = 0x1, + D3D10_COLOR_WRITE_ENABLE_GREEN = 0x2, + D3D10_COLOR_WRITE_ENABLE_BLUE = 0x4, + D3D10_COLOR_WRITE_ENABLE_ALPHA = 0x8, + D3D10_COLOR_WRITE_ENABLE_ALL = (D3D10_COLOR_WRITE_ENABLE_RED | D3D10_COLOR_WRITE_ENABLE_GREEN | + D3D10_COLOR_WRITE_ENABLE_BLUE | D3D10_COLOR_WRITE_ENABLE_ALPHA) +} D3D10_COLOR_WRITE_ENABLE; + +typedef enum D3D10_FORMAT_SUPPORT +{ + D3D10_FORMAT_SUPPORT_BUFFER = 0x00000001, + D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x00000002, + D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x00000004, + D3D10_FORMAT_SUPPORT_SO_BUFFER = 0x00000008, + D3D10_FORMAT_SUPPORT_TEXTURE1D = 0x00000010, + D3D10_FORMAT_SUPPORT_TEXTURE2D = 0x00000020, + D3D10_FORMAT_SUPPORT_TEXTURE3D = 0x00000040, + D3D10_FORMAT_SUPPORT_TEXTURECUBE = 0x00000080, + D3D10_FORMAT_SUPPORT_SHADER_LOAD = 0x00000100, + D3D10_FORMAT_SUPPORT_SHADER_SAMPLE = 0x00000200, + D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x00000400, + D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x00000800, + D3D10_FORMAT_SUPPORT_MIP = 0x00001000, + D3D10_FORMAT_SUPPORT_MIP_AUTOGEN = 0x00002000, + D3D10_FORMAT_SUPPORT_RENDER_TARGET = 0x00004000, + D3D10_FORMAT_SUPPORT_BLENDABLE = 0x00008000, + D3D10_FORMAT_SUPPORT_DEPTH_STENCIL = 0x00010000, + D3D10_FORMAT_SUPPORT_CPU_LOCKABLE = 0x00020000, + D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x00040000, + D3D10_FORMAT_SUPPORT_DISPLAY = 0x00080000, + D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x00100000, + D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x00200000, + D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x00400000, + D3D10_FORMAT_SUPPORT_SHADER_GATHER = 0x00800000, + D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x01000000, +} D3D10_FORMAT_SUPPORT; + +typedef enum D3D10_TEXTURECUBE_FACE { + D3D10_TEXTURECUBE_FACE_POSITIVE_X, + D3D10_TEXTURECUBE_FACE_NEGATIVE_X, + D3D10_TEXTURECUBE_FACE_POSITIVE_Y, + D3D10_TEXTURECUBE_FACE_NEGATIVE_Y, + D3D10_TEXTURECUBE_FACE_POSITIVE_Z, + D3D10_TEXTURECUBE_FACE_NEGATIVE_Z, +} D3D10_TEXTURECUBE_FACE; + +typedef enum D3D10_ASYNC_GETDATA_FLAG { + D3D10_ASYNC_GETDATA_DONOTFLUSH = 0x1, +} D3D10_ASYNC_GETDATA_FLAG; + +typedef enum D3D10_FILTER_TYPE { + D3D10_FILTER_TYPE_POINT, + D3D10_FILTER_TYPE_LINEAR +} D3D10_FILTER_TYPE; + +typedef enum D3D10_QUERY_MISC_FLAG { + D3D10_QUERY_MISC_PREDICATEHINT = 0x1 +} D3D10_QUERY_MISC_FLAG; + +typedef struct D3D10_QUERY_DATA_TIMESTAMP_DISJOINT { + UINT64 Frequency; + BOOL Disjoint; +} D3D10_QUERY_DATA_TIMESTAMP_DISJOINT; + +typedef struct D3D10_QUERY_DATA_PIPELINE_STATISTICS { + UINT64 IAVertices; + UINT64 IAPrimitives; + UINT64 VSInvocations; + UINT64 GSInvocations; + UINT64 GSPrimitives; + UINT64 CInvocations; + UINT64 CPrimitives; + UINT64 PSInvocations; +} D3D10_QUERY_DATA_PIPELINE_STATISTICS; + +typedef struct D3D10_QUERY_DATA_SO_STATISTICS { + UINT64 NumPrimitivesWritten; + UINT64 PrimitivesStorageNeeded; +} D3D10_QUERY_DATA_SO_STATISTICS; + +typedef enum D3D10_CREATE_DEVICE_FLAG { + D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1, + D3D10_CREATE_DEVICE_DEBUG = 0x2, + D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4, + D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8, + D3D10_CREATE_DEVICE_ALLOW_NULL_FROM_MAP = 0x10, + D3D10_CREATE_DEVICE_BGRA_SUPPORT = 0x20, + D3D10_CREATE_DEVICE_STRICT_VALIDATION = 0x0200 +} D3D10_CREATE_DEVICE_FLAG; + +/* Core */ + +interface ID3D10Device; + +[ + object, + local, + uuid(9b7e4c00-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10DeviceChild : IUnknown +{ + void GetDevice( + [out] ID3D10Device **ppDevice); + HRESULT GetPrivateData( + [in] REFGUID guid, + [in, out] UINT *pDataSize, + [out] void *pData); + HRESULT SetPrivateData( + [in] REFGUID guid, + [in] UINT DataSize, + [in] const void *pData); + HRESULT SetPrivateDataInterface( + [in] REFGUID guid, + [in] const IUnknown *pData); +} + +/* Resource */ + +[ + object, + local, + uuid(9b7e4c01-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Resource : ID3D10DeviceChild +{ + void GetType( + [out] D3D10_RESOURCE_DIMENSION *rType); + void SetEvictionPriority( + [in] UINT EvictionPriority); + UINT GetEvictionPriority(); +} + +[ + object, + local, + uuid(9b7e4c02-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Buffer : ID3D10Resource +{ + HRESULT Map( + [in] D3D10_MAP MapType, + [in] UINT MapFlags, + [out] void **ppData); + void Unmap(); + void GetDesc( + [out] D3D10_BUFFER_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c03-342c-4106-a19f-4f2704f689F0) +] +interface ID3D10Texture1D : ID3D10Resource +{ + HRESULT Map( + [in] UINT Subresource, + [in] D3D10_MAP MapType, + [in] UINT MapFlags, + [out] void **ppData); + void Unmap( + [in] UINT Subresource); + void GetDesc( + [out] D3D10_TEXTURE1D_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c04-342c-4106-a19f-4f2704f689F0) +] +interface ID3D10Texture2D : ID3D10Resource +{ + HRESULT Map( + [in] UINT Subresource, + [in] D3D10_MAP MapType, + [in] UINT MapFlags, + [out] D3D10_MAPPED_TEXTURE2D *pMappedTex2D); + void Unmap( + [in] UINT Subresource); + void GetDesc( + [out] D3D10_TEXTURE2D_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c05-342c-4106-a19f-4f2704f689F0) +] +interface ID3D10Texture3D : ID3D10Resource +{ + HRESULT Map( + [in] UINT Subresource, + [in] D3D10_MAP MapType, + [in] UINT MapFlags, + [out] D3D10_MAPPED_TEXTURE3D *pMappedTex3D); + void Unmap( + [in] UINT Subresource); + void GetDesc( + [out] D3D10_TEXTURE3D_DESC *pDesc); +} + +[ + object, + local, + uuid(c902b03f-60a7-49ba-9936-2a3ab37a7e33) +] +interface ID3D10View : ID3D10DeviceChild +{ + void GetResource( + [out] ID3D10Resource **ppResource); +} + +[ + object, + local, + uuid(9b7e4c09-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10DepthStencilView : ID3D10View +{ + void GetDesc( + [out] D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc); +} + + +[ + object, + local, + uuid(9b7e4c08-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10RenderTargetView : ID3D10View +{ + void GetDesc( + [out] D3D10_RENDER_TARGET_VIEW_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c07-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10ShaderResourceView : ID3D10View +{ + void GetDesc( + [out] D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc); +} + +/* Resource End */ + +[ + object, + local, + uuid(edad8d19-8a35-4d6d-8566-2ea276cde161) +] +interface ID3D10BlendState : ID3D10DeviceChild +{ + void GetDesc( + [out] D3D10_BLEND_DESC *pDesc); +} + +[ + object, + local, + uuid(2b4b1cc8-a4ad-41f8-8322-ca86fc3ec675) +] +interface ID3D10DepthStencilState : ID3D10DeviceChild +{ + void GetDesc( + [out] D3D10_DEPTH_STENCIL_DESC *pDesc); +} + +[ + object, + local, + uuid(6316be88-54cd-4040-ab44-20461bc81f68) +] +interface ID3D10GeometryShader : ID3D10DeviceChild +{ +} + +[ + object, + local, + uuid(9b7e4c0b-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10InputLayout : ID3D10DeviceChild +{ +} + +[ + object, + local, + uuid(4968b601-9d00-4cde-8346-8e7f675819b6) +] +interface ID3D10PixelShader : ID3D10DeviceChild +{ +} + +[ + object, + local, + uuid(a2a07292-89af-4345-be2e-c53d9fbb6e9f) +] +interface ID3D10RasterizerState : ID3D10DeviceChild +{ + void GetDesc( + [out] D3D10_RASTERIZER_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c0c-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10SamplerState : ID3D10DeviceChild +{ + void GetDesc( + [out] D3D10_SAMPLER_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c0a-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10VertexShader : ID3D10DeviceChild +{ +} + +[ + object, + local, + uuid(9b7e4c0d-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Asynchronous : ID3D10DeviceChild +{ + void Begin(); + void End(); + HRESULT GetData( + [out] void *pData, + [in] UINT DataSize, + [in] UINT GetDataFlags); + UINT GetDataSize(); +} + +[ + object, + local, + uuid(9b7e4c11-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Counter : ID3D10Asynchronous +{ + void GetDesc( + [out] D3D10_COUNTER_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4C0e-342C-4106-a19f-4f2704f689f0) +] +interface ID3D10Query : ID3D10Asynchronous +{ + void GetDesc( + [out] D3D10_QUERY_DESC *pDesc); +} + +[ + object, + local, + uuid(9b7e4c10-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Predicate : ID3D10Query +{ +} + +[ + object, + local, + uuid(9b7e4c0f-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Device : IUnknown +{ + void VSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D10Buffer *const *ppConstantBuffers); + void PSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D10ShaderResourceView *const *ppShaderResourceViews); + void PSSetShader( + [in] ID3D10PixelShader *pPixelShader); + void PSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in]ID3D10SamplerState *const *ppSamplers); + void VSSetShader( + [in] ID3D10VertexShader *pVertexShader); + void DrawIndexed( + [in] UINT IndexCount, + [in] UINT StartIndexLocation, + [in] INT BaseVertexLocation); + void Draw( + [in] UINT VertexCount, + [in] UINT StartVertexLocation); + void PSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D10Buffer *const *ppConstantBuffers); + void IASetInputLayout( + [in] ID3D10InputLayout *pInputLayout); + void IASetVertexBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D10Buffer *const *ppVertexBuffers, + [in] const UINT *pStrides, + [in] const UINT *pOffsets); + void IASetIndexBuffer( + [in] ID3D10Buffer *pIndexBuffer, + [in] DXGI_FORMAT Format, + [in] UINT Offset); + void DrawIndexedInstanced( + [in] UINT IndexCountPerInstance, + [in] UINT InstanceCount, + [in] UINT StartIndexLocation, + [in] INT BaseVertexLocation, + [in] UINT StartInstanceLocation); + void DrawInstanced( + [in] UINT VertexCountPerInstance, + [in] UINT InstanceCount, + [in] UINT StartVertexLocation, + [in] UINT StartInstanceLocation); + void GSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D10Buffer *const *ppConstantBuffers); + void GSSetShader( + [in] ID3D10GeometryShader *pShader); + void IASetPrimitiveTopology( + [in] D3D10_PRIMITIVE_TOPOLOGY Topology); + void VSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D10ShaderResourceView *const *ppShaderResourceViews); + void VSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D10SamplerState *const *ppSamplers); + void SetPredication( + [in] ID3D10Predicate *pPredicate, + [in] BOOL PredicateValue); + void GSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D10ShaderResourceView * const *ppShaderResourceViews); + void GSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D10SamplerState *const *ppSamplers); + void OMSetRenderTargets( + [in] UINT NumViews, + [in] ID3D10RenderTargetView *const *ppRenderTargetViews, + [in] ID3D10DepthStencilView *pDepthStencilView); + void OMSetBlendState( + [in] ID3D10BlendState *pBlendState, + [in] const FLOAT BlendFactor[4], + [in] UINT SampleMask); + void OMSetDepthStencilState( + [in] ID3D10DepthStencilState *pDepthStencilState, + [in] UINT StencilRef); + void SOSetTargets( + [in] UINT NumBuffers, + [in] ID3D10Buffer *const *ppSOTargets, + [in] const UINT *pOffsets); + void DrawAuto(); + void RSSetState( + [in] ID3D10RasterizerState *pRasterizerState); + void RSSetViewports( + [in] UINT NumViewports, + [in] const D3D10_VIEWPORT *pViewports); + void RSSetScissorRects( + [in] UINT NumRects, + [in] const D3D10_RECT *pRects); + void CopySubresourceRegion( + [in] ID3D10Resource *pDstResource, + [in] UINT DstSubresource, + [in] UINT DstX, + [in] UINT DstY, + [in] UINT DstZ, + [in] ID3D10Resource *pSrcResource, + [in] UINT SrcSubresource, + [in] const D3D10_BOX *pSrcBox); + void CopyResource( + [in] ID3D10Resource *pDstResource, + [in] ID3D10Resource *pSrcResource); + void UpdateSubresource( + [in] ID3D10Resource *pDstResource, + [in] UINT DstSubresource, + [in] const D3D10_BOX *pDstBox, + [in] const void *pSrcData, + [in] UINT SrcRowPitch, + [in] UINT SrcDepthPitch); + void ClearRenderTargetView( + [in] ID3D10RenderTargetView *pRenderTargetView, + [in] const FLOAT ColorRGBA[4]); + void ClearDepthStencilView( + [in] ID3D10DepthStencilView *pDepthStencilView, + [in] UINT ClearFlags, + [in] FLOAT Depth, + [in] UINT8 Stencil); + void GenerateMips( + [in] ID3D10ShaderResourceView *pShaderResourceView); + void ResolveSubresource( + [in] ID3D10Resource *pDstResource, + [in] UINT DstSubresource, + [in] ID3D10Resource *pSrcResource, + [in] UINT SrcSubresource, + [in] DXGI_FORMAT Format); + void VSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D10Buffer **ppConstantBuffers); + void PSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D10ShaderResourceView **ppShaderResourceViews); + void PSGetShader( + [out] ID3D10PixelShader **ppPixelShader); + void PSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D10SamplerState **ppSamplers); + void VSGetShader( + [out] ID3D10VertexShader **ppVertexShader); + void PSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D10Buffer **ppConstantBuffers); + void IAGetInputLayout( + [out] ID3D10InputLayout **ppInputLayout); + void IAGetVertexBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D10Buffer **ppVertexBuffers, + [out] UINT *pStrides, + [out] UINT *pOffsets); + void IAGetIndexBuffer( + [out] ID3D10Buffer **pIndexBuffer, + [out] DXGI_FORMAT *Format, + [out] UINT *Offset); + void GSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D10Buffer **ppConstantBuffers); + void GSGetShader( + [out] ID3D10GeometryShader **ppGeometryShader); + void IAGetPrimitiveTopology( + [out] D3D10_PRIMITIVE_TOPOLOGY *pTopology); + void VSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D10ShaderResourceView **ppShaderResourceViews); + void VSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D10SamplerState **ppSamplers); + void GetPredication( + [out] ID3D10Predicate **ppPredicate, + [out] BOOL *pPredicateValue); + void GSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D10ShaderResourceView **ppShaderResourceViews); + void GSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D10SamplerState **ppSamplers); + void OMGetRenderTargets( + [in] UINT NumViews, + [out] ID3D10RenderTargetView **ppRenderTargetViews, + [out] ID3D10DepthStencilView **ppDepthStencilView); + void OMGetBlendState( + [out] ID3D10BlendState **ppBlendState, + [out] FLOAT BlendFactor[4], + [out] UINT *pSampleMask); + void OMGetDepthStencilState( + [out] ID3D10DepthStencilState **ppDepthStencilState, + [out] UINT *pStencilRef); + void SOGetTargets( + [in] UINT NumBuffers, + [out] ID3D10Buffer **ppSOTargets, + [out] UINT *pOffsets); + void RSGetState( + [out] ID3D10RasterizerState **ppRasterizerState); + void RSGetViewports( + [in, out] UINT *NumViewports, + [out] D3D10_VIEWPORT *pViewports); + void RSGetScissorRects( + [in, out] UINT *NumRects, + [out] D3D10_RECT *pRects); + HRESULT GetDeviceRemovedReason(); + HRESULT SetExceptionMode( + [in] UINT RaiseFlags); + UINT GetExceptionMode(); + HRESULT GetPrivateData( + [in] REFGUID guid, + [in, out] UINT *pDataSize, + [out] void *pData); + HRESULT SetPrivateData( + [in] REFGUID guid, + [in] UINT DataSize, + [in] const void *pData); + HRESULT SetPrivateDataInterface( + [in] REFGUID guid, + [in] const IUnknown *pData); + void ClearState(); + void Flush(); + HRESULT CreateBuffer( + [in] const D3D10_BUFFER_DESC *pDesc, + [in] const D3D10_SUBRESOURCE_DATA *pInitialData, + [out] ID3D10Buffer **ppBuffer); + HRESULT CreateTexture1D( + [in] const D3D10_TEXTURE1D_DESC *pDesc, + [in] const D3D10_SUBRESOURCE_DATA *pInitialData, + [out] ID3D10Texture1D **ppTexture1D); + HRESULT CreateTexture2D( + [in] const D3D10_TEXTURE2D_DESC *pDesc, + [in] const D3D10_SUBRESOURCE_DATA *pInitialData, + [out] ID3D10Texture2D **ppTexture2D); + HRESULT CreateTexture3D( + [in] const D3D10_TEXTURE3D_DESC *pDesc, + [in] const D3D10_SUBRESOURCE_DATA *pInitialData, + [out] ID3D10Texture3D **ppTexture3D); + HRESULT CreateShaderResourceView( + [in] ID3D10Resource *pResource, + [in] const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, + [out] ID3D10ShaderResourceView **ppSRView); + HRESULT CreateRenderTargetView( + [in] ID3D10Resource *pResource, + [in] const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, + [out] ID3D10RenderTargetView **ppRTView); + HRESULT CreateDepthStencilView( + [in] ID3D10Resource *pResource, + [in] const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, + [out] ID3D10DepthStencilView **ppDepthStencilView); + HRESULT CreateInputLayout( + [in] const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs, + [in] UINT NumElements, + [in] const void *pShaderBytecodeWithInputSignature, + [in] SIZE_T BytecodeLength, + [out] ID3D10InputLayout **ppInputLayout); + HRESULT CreateVertexShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [out] ID3D10VertexShader **ppVertexShader); + HRESULT CreateGeometryShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [out] ID3D10GeometryShader **ppGeometryShader); + HRESULT CreateGeometryShaderWithStreamOutput( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] const D3D10_SO_DECLARATION_ENTRY *pSODeclaration, + [in] UINT NumEntries, + [in] UINT OutputStreamStride, + [out] ID3D10GeometryShader **ppGeometryShader); + HRESULT CreatePixelShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [out] ID3D10PixelShader **ppPixelShader); + HRESULT CreateBlendState( + [in] const D3D10_BLEND_DESC *pBlendStateDesc, + [out] ID3D10BlendState **ppBlendState); + HRESULT CreateDepthStencilState( + [in] const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, + [out] ID3D10DepthStencilState **ppDepthStencilState); + HRESULT CreateRasterizerState( + [in] const D3D10_RASTERIZER_DESC *pRasterizerDesc, + [out] ID3D10RasterizerState **ppRasterizerState); + HRESULT CreateSamplerState( + [in] const D3D10_SAMPLER_DESC *pSamplerDesc, + [out] ID3D10SamplerState **ppSamplerState); + HRESULT CreateQuery( + [in] const D3D10_QUERY_DESC *pQueryDesc, + [out] ID3D10Query **ppQuery); + HRESULT CreatePredicate( + [in] const D3D10_QUERY_DESC *pPredicateDesc, + [out] ID3D10Predicate **ppPredicate); + HRESULT CreateCounter( + [in] const D3D10_COUNTER_DESC *pCounterDesc, + [out] ID3D10Counter **ppCounter); + HRESULT CheckFormatSupport( + [in] DXGI_FORMAT Format, + [out] UINT *pFormatSupport); + HRESULT CheckMultisampleQualityLevels( + [in] DXGI_FORMAT Format, + [in] UINT SampleCount, + [out] UINT *pNumQualityLevels); + void CheckCounterInfo( + [out] D3D10_COUNTER_INFO *pCounterInfo); + HRESULT CheckCounter( + [in] const D3D10_COUNTER_DESC *pDesc, + [out] D3D10_COUNTER_TYPE *pType, + [out] UINT *pActiveCounters, + [out] char *name, + [in, out] UINT *pNameLength, + [out] char *units, + [in, out] UINT *pUnitsLength, + [out] char *description, + [in, out] UINT *pDescriptionLength); + UINT GetCreationFlags(); + HRESULT OpenSharedResource( + [in] HANDLE hResource, + [in] REFIID ReturnedInterface, + [out] void **ppResource); + void SetTextFilterSize( + [in] UINT Width, + [in] UINT Height); + void GetTextFilterSize( + [out] UINT *pWidth, + [out] UINT *pHeight); +} + +[ + object, + local, + uuid(9b7e4e00-342c-4106-a19f-4f2704f689f0) +] +interface ID3D10Multithread : IUnknown +{ + void Enter(); + void Leave(); + BOOL SetMultithreadProtected( + [in] BOOL bMTProtect); + BOOL GetMultithreadProtected(); +} + +cpp_quote("#ifndef D3D10_IGNORE_SDK_LAYERS") +cpp_quote("#include \"d3d10sdklayers.h\"") +cpp_quote("#endif") +cpp_quote("#include \"d3d10misc.h\"") +cpp_quote("#include \"d3d10shader.h\"") +cpp_quote("#include \"d3d10effect.h\"") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1.h new file mode 100644 index 0000000..203674d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1.h @@ -0,0 +1,1441 @@ +/*** Autogenerated by WIDL 2.18 from d3d10_1.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d10_1_h__ +#define __d3d10_1_h__ + +/* Forward declarations */ + +#ifndef __ID3D10BlendState1_FWD_DEFINED__ +#define __ID3D10BlendState1_FWD_DEFINED__ +typedef interface ID3D10BlendState1 ID3D10BlendState1; +#ifdef __cplusplus +interface ID3D10BlendState1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10ShaderResourceView1_FWD_DEFINED__ +#define __ID3D10ShaderResourceView1_FWD_DEFINED__ +typedef interface ID3D10ShaderResourceView1 ID3D10ShaderResourceView1; +#ifdef __cplusplus +interface ID3D10ShaderResourceView1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D10Device1_FWD_DEFINED__ +#define __ID3D10Device1_FWD_DEFINED__ +typedef interface ID3D10Device1 ID3D10Device1; +#ifdef __cplusplus +interface ID3D10Device1; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _D3D10_1_CONSTANTS +#define _D3D10_1_CONSTANTS +#define D3D10_1_DEFAULT_SAMPLE_MASK (0xffffffff) + +#define D3D10_1_GS_INPUT_REGISTER_COUNT (32) + +#define D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT (32) + +#define D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS (128) + +#define D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT (32) + +#define D3D10_1_PS_OUTPUT_MASK_REGISTER_COMPONENTS (1) + +#define D3D10_1_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D10_1_PS_OUTPUT_MASK_REGISTER_COUNT (1) + +#define D3D10_1_SHADER_MAJOR_VERSION (4) + +#define D3D10_1_SHADER_MINOR_VERSION (1) + +#define D3D10_1_SO_BUFFER_MAX_STRIDE_IN_BYTES (2048) + +#define D3D10_1_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES (256) + +#define D3D10_1_SO_BUFFER_SLOT_COUNT (4) + +#define D3D10_1_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER (1) + +#define D3D10_1_SO_SINGLE_BUFFER_COMPONENT_LIMIT (64) + +#define D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT (32) + +#define D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT (8) + +#define D3D10_1_VS_INPUT_REGISTER_COUNT (32) + +#define D3D10_1_VS_OUTPUT_REGISTER_COUNT (32) + +#endif +#define D3D10_1_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.6) +#define D3D10_1_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.6f) +#include +typedef enum D3D10_FEATURE_LEVEL1 { + D3D10_FEATURE_LEVEL_10_0 = 0xa000, + D3D10_FEATURE_LEVEL_10_1 = 0xa100, + D3D10_FEATURE_LEVEL_9_1 = 0x9100, + D3D10_FEATURE_LEVEL_9_2 = 0x9200, + D3D10_FEATURE_LEVEL_9_3 = 0x9300 +} D3D10_FEATURE_LEVEL1; +typedef struct D3D10_RENDER_TARGET_BLEND_DESC1 { + BOOL BlendEnable; + D3D10_BLEND SrcBlend; + D3D10_BLEND DestBlend; + D3D10_BLEND_OP BlendOp; + D3D10_BLEND SrcBlendAlpha; + D3D10_BLEND DestBlendAlpha; + D3D10_BLEND_OP BlendOpAlpha; + UINT8 RenderTargetWriteMask; +} D3D10_RENDER_TARGET_BLEND_DESC1; +typedef struct D3D10_BLEND_DESC1 { + BOOL AlphaToCoverageEnable; + BOOL IndependentBlendEnable; + D3D10_RENDER_TARGET_BLEND_DESC1 RenderTarget[8]; +} D3D10_BLEND_DESC1; +/***************************************************************************** + * ID3D10BlendState1 interface + */ +#ifndef __ID3D10BlendState1_INTERFACE_DEFINED__ +#define __ID3D10BlendState1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10BlendState1, 0xedad8d99, 0x8a35, 0x4d6d, 0x85,0x66, 0x2e,0xa2,0x76,0xcd,0xe1,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("edad8d99-8a35-4d6d-8566-2ea276cde161") +ID3D10BlendState1 : public ID3D10BlendState +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D10_BLEND_DESC1 *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10BlendState1, 0xedad8d99, 0x8a35, 0x4d6d, 0x85,0x66, 0x2e,0xa2,0x76,0xcd,0xe1,0x61) +#endif +#else +typedef struct ID3D10BlendState1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10BlendState1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10BlendState1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10BlendState1 *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10BlendState1 *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10BlendState1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10BlendState1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10BlendState1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10BlendState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10BlendState1 *This, + D3D10_BLEND_DESC *pDesc); + + /*** ID3D10BlendState1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D10BlendState1 *This, + D3D10_BLEND_DESC1 *pDesc); + + END_INTERFACE +} ID3D10BlendState1Vtbl; + +interface ID3D10BlendState1 { + CONST_VTBL ID3D10BlendState1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10BlendState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10BlendState1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10BlendState1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10BlendState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10BlendState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10BlendState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10BlendState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10BlendState methods ***/ +#define ID3D10BlendState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D10BlendState1 methods ***/ +#define ID3D10BlendState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10BlendState1_QueryInterface(ID3D10BlendState1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10BlendState1_AddRef(ID3D10BlendState1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10BlendState1_Release(ID3D10BlendState1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10BlendState1_GetDevice(ID3D10BlendState1* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10BlendState1_GetPrivateData(ID3D10BlendState1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10BlendState1_SetPrivateData(ID3D10BlendState1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10BlendState1_SetPrivateDataInterface(ID3D10BlendState1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10BlendState methods ***/ +static FORCEINLINE void ID3D10BlendState1_GetDesc(ID3D10BlendState1* This,D3D10_BLEND_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D10BlendState1 methods ***/ +static FORCEINLINE void ID3D10BlendState1_GetDesc1(ID3D10BlendState1* This,D3D10_BLEND_DESC1 *pDesc) { + This->lpVtbl->GetDesc1(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10BlendState1_INTERFACE_DEFINED__ */ + +typedef struct D3D10_TEXCUBE_ARRAY_SRV1 { + UINT MostDetailedMip; + UINT MipLevels; + UINT First2DArrayFace; + UINT NumCubes; +} D3D10_TEXCUBE_ARRAY_SRV1; +typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION1; +typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1 { + DXGI_FORMAT Format; + D3D10_SRV_DIMENSION1 ViewDimension; + __C89_NAMELESS union { + D3D10_BUFFER_SRV Buffer; + D3D10_TEX1D_SRV Texture1D; + D3D10_TEX1D_ARRAY_SRV Texture1DArray; + D3D10_TEX2D_SRV Texture2D; + D3D10_TEX2D_ARRAY_SRV Texture2DArray; + D3D10_TEX2DMS_SRV Texture2DMS; + D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D10_TEX3D_SRV Texture3D; + D3D10_TEXCUBE_SRV TextureCube; + D3D10_TEXCUBE_ARRAY_SRV1 TextureCubeArray; + } __C89_NAMELESSUNIONNAME; +} D3D10_SHADER_RESOURCE_VIEW_DESC1; +/***************************************************************************** + * ID3D10ShaderResourceView1 interface + */ +#ifndef __ID3D10ShaderResourceView1_INTERFACE_DEFINED__ +#define __ID3D10ShaderResourceView1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10ShaderResourceView1, 0x9b7e4c87, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c87-342c-4106-a19f-4f2704f689f0") +ID3D10ShaderResourceView1 : public ID3D10ShaderResourceView +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10ShaderResourceView1, 0x9b7e4c87, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10ShaderResourceView1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10ShaderResourceView1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10ShaderResourceView1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10ShaderResourceView1 *This); + + /*** ID3D10DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D10ShaderResourceView1 *This, + ID3D10Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10ShaderResourceView1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10ShaderResourceView1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10ShaderResourceView1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D10View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D10ShaderResourceView1 *This, + ID3D10Resource **ppResource); + + /*** ID3D10ShaderResourceView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D10ShaderResourceView1 *This, + D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc); + + /*** ID3D10ShaderResourceView1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D10ShaderResourceView1 *This, + D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc); + + END_INTERFACE +} ID3D10ShaderResourceView1Vtbl; + +interface ID3D10ShaderResourceView1 { + CONST_VTBL ID3D10ShaderResourceView1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10ShaderResourceView1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10ShaderResourceView1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10ShaderResourceView1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10DeviceChild methods ***/ +#define ID3D10ShaderResourceView1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D10ShaderResourceView1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10ShaderResourceView1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10ShaderResourceView1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D10View methods ***/ +#define ID3D10ShaderResourceView1_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D10ShaderResourceView methods ***/ +#define ID3D10ShaderResourceView1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D10ShaderResourceView1 methods ***/ +#define ID3D10ShaderResourceView1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10ShaderResourceView1_QueryInterface(ID3D10ShaderResourceView1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10ShaderResourceView1_AddRef(ID3D10ShaderResourceView1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10ShaderResourceView1_Release(ID3D10ShaderResourceView1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10DeviceChild methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView1_GetDevice(ID3D10ShaderResourceView1* This,ID3D10Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D10ShaderResourceView1_GetPrivateData(ID3D10ShaderResourceView1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10ShaderResourceView1_SetPrivateData(ID3D10ShaderResourceView1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10ShaderResourceView1_SetPrivateDataInterface(ID3D10ShaderResourceView1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D10View methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView1_GetResource(ID3D10ShaderResourceView1* This,ID3D10Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D10ShaderResourceView methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView1_GetDesc(ID3D10ShaderResourceView1* This,D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D10ShaderResourceView1 methods ***/ +static FORCEINLINE void ID3D10ShaderResourceView1_GetDesc1(ID3D10ShaderResourceView1* This,D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc) { + This->lpVtbl->GetDesc1(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10ShaderResourceView1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D10Device1 interface + */ +#ifndef __ID3D10Device1_INTERFACE_DEFINED__ +#define __ID3D10Device1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Device1, 0x9b7e4c8f, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4c8f-342c-4106-a19f-4f2704f689f0") +ID3D10Device1 : public ID3D10Device +{ + virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView1( + ID3D10Resource *pResource, + const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, + ID3D10ShaderResourceView1 **ppSRView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBlendState1( + const D3D10_BLEND_DESC1 *pBlendStateDesc, + ID3D10BlendState1 **ppBlendState) = 0; + + virtual D3D10_FEATURE_LEVEL1 STDMETHODCALLTYPE GetFeatureLevel( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Device1, 0x9b7e4c8f, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D10Device1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Device1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Device1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Device1 *This); + + /*** ID3D10Device methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D10Device1 *This, + ID3D10PixelShader *pPixelShader); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D10Device1 *This, + ID3D10VertexShader *pVertexShader); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D10Device1 *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D10Device1 *This, + UINT VertexCount, + UINT StartVertexLocation); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D10Device1 *This, + ID3D10InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D10Device1 *This, + ID3D10Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D10Device1 *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D10Device1 *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D10Device1 *This, + ID3D10GeometryShader *pShader); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D10Device1 *This, + D3D10_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D10Device1 *This, + ID3D10Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D10Device1 *This, + UINT NumViews, + ID3D10RenderTargetView *const *ppRenderTargetViews, + ID3D10DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D10Device1 *This, + ID3D10BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D10Device1 *This, + ID3D10DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D10Device1 *This, + UINT NumBuffers, + ID3D10Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D10Device1 *This); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D10Device1 *This, + ID3D10RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D10Device1 *This, + UINT NumViewports, + const D3D10_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D10Device1 *This, + UINT NumRects, + const D3D10_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D10Device1 *This, + ID3D10Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D10Resource *pSrcResource, + UINT SrcSubresource, + const D3D10_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D10Device1 *This, + ID3D10Resource *pDstResource, + ID3D10Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D10Device1 *This, + ID3D10Resource *pDstResource, + UINT DstSubresource, + const D3D10_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D10Device1 *This, + ID3D10RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D10Device1 *This, + ID3D10DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D10Device1 *This, + ID3D10ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D10Device1 *This, + ID3D10Resource *pDstResource, + UINT DstSubresource, + ID3D10Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D10Device1 *This, + ID3D10PixelShader **ppPixelShader); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D10Device1 *This, + ID3D10VertexShader **ppVertexShader); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D10Device1 *This, + ID3D10InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D10Device1 *This, + ID3D10Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D10Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D10Device1 *This, + ID3D10GeometryShader **ppGeometryShader); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D10Device1 *This, + D3D10_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D10Device1 *This, + ID3D10Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumViews, + ID3D10ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D10Device1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D10SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D10Device1 *This, + UINT NumViews, + ID3D10RenderTargetView **ppRenderTargetViews, + ID3D10DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D10Device1 *This, + ID3D10BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D10Device1 *This, + ID3D10DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D10Device1 *This, + UINT NumBuffers, + ID3D10Buffer **ppSOTargets, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D10Device1 *This, + ID3D10RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D10Device1 *This, + UINT *NumViewports, + D3D10_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D10Device1 *This, + UINT *NumRects, + D3D10_RECT *pRects); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D10Device1 *This); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D10Device1 *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D10Device1 *This); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D10Device1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D10Device1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D10Device1 *This, + REFGUID guid, + const IUnknown *pData); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D10Device1 *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D10Device1 *This); + + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D10Device1 *This, + const D3D10_BUFFER_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D10Device1 *This, + const D3D10_TEXTURE1D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D10Device1 *This, + const D3D10_TEXTURE2D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D10Device1 *This, + const D3D10_TEXTURE3D_DESC *pDesc, + const D3D10_SUBRESOURCE_DATA *pInitialData, + ID3D10Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D10Device1 *This, + ID3D10Resource *pResource, + const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D10ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D10Device1 *This, + ID3D10Resource *pResource, + const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D10RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D10Device1 *This, + ID3D10Resource *pResource, + const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D10DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D10Device1 *This, + const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D10InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D10Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D10Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D10Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D10_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + UINT OutputStreamStride, + ID3D10GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D10Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D10PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D10Device1 *This, + const D3D10_BLEND_DESC *pBlendStateDesc, + ID3D10BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D10Device1 *This, + const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D10DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D10Device1 *This, + const D3D10_RASTERIZER_DESC *pRasterizerDesc, + ID3D10RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D10Device1 *This, + const D3D10_SAMPLER_DESC *pSamplerDesc, + ID3D10SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D10Device1 *This, + const D3D10_QUERY_DESC *pQueryDesc, + ID3D10Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D10Device1 *This, + const D3D10_QUERY_DESC *pPredicateDesc, + ID3D10Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D10Device1 *This, + const D3D10_COUNTER_DESC *pCounterDesc, + ID3D10Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D10Device1 *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D10Device1 *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D10Device1 *This, + D3D10_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D10Device1 *This, + const D3D10_COUNTER_DESC *pDesc, + D3D10_COUNTER_TYPE *pType, + UINT *pActiveCounters, + char *name, + UINT *pNameLength, + char *units, + UINT *pUnitsLength, + char *description, + UINT *pDescriptionLength); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D10Device1 *This); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D10Device1 *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + void (STDMETHODCALLTYPE *SetTextFilterSize)( + ID3D10Device1 *This, + UINT Width, + UINT Height); + + void (STDMETHODCALLTYPE *GetTextFilterSize)( + ID3D10Device1 *This, + UINT *pWidth, + UINT *pHeight); + + /*** ID3D10Device1 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView1)( + ID3D10Device1 *This, + ID3D10Resource *pResource, + const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, + ID3D10ShaderResourceView1 **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( + ID3D10Device1 *This, + const D3D10_BLEND_DESC1 *pBlendStateDesc, + ID3D10BlendState1 **ppBlendState); + + D3D10_FEATURE_LEVEL1 (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D10Device1 *This); + + END_INTERFACE +} ID3D10Device1Vtbl; + +interface ID3D10Device1 { + CONST_VTBL ID3D10Device1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Device1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Device1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Device1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10Device methods ***/ +#define ID3D10Device1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device1_PSSetShader(This,pPixelShader) (This)->lpVtbl->PSSetShader(This,pPixelShader) +#define ID3D10Device1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device1_VSSetShader(This,pVertexShader) (This)->lpVtbl->VSSetShader(This,pVertexShader) +#define ID3D10Device1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D10Device1_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D10Device1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device1_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D10Device1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D10Device1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D10Device1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D10Device1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D10Device1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device1_GSSetShader(This,pShader) (This)->lpVtbl->GSSetShader(This,pShader) +#define ID3D10Device1_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D10Device1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device1_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D10Device1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D10Device1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D10Device1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D10Device1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D10Device1_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D10Device1_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D10Device1_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D10Device1_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D10Device1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D10Device1_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D10Device1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D10Device1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D10Device1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D10Device1_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D10Device1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D10Device1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device1_PSGetShader(This,ppPixelShader) (This)->lpVtbl->PSGetShader(This,ppPixelShader) +#define ID3D10Device1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device1_VSGetShader(This,ppVertexShader) (This)->lpVtbl->VSGetShader(This,ppVertexShader) +#define ID3D10Device1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device1_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D10Device1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D10Device1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D10Device1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D10Device1_GSGetShader(This,ppGeometryShader) (This)->lpVtbl->GSGetShader(This,ppGeometryShader) +#define ID3D10Device1_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D10Device1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device1_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D10Device1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D10Device1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D10Device1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D10Device1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D10Device1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D10Device1_SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D10Device1_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D10Device1_RSGetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,NumViewports,pViewports) +#define ID3D10Device1_RSGetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,NumRects,pRects) +#define ID3D10Device1_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D10Device1_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D10Device1_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +#define ID3D10Device1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D10Device1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D10Device1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D10Device1_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D10Device1_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D10Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D10Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D10Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D10Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D10Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D10Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D10Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D10Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D10Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) +#define ID3D10Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) +#define ID3D10Device1_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) +#define ID3D10Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) +#define ID3D10Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D10Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D10Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D10Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D10Device1_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D10Device1_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D10Device1_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D10Device1_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D10Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D10Device1_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D10Device1_CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength) +#define ID3D10Device1_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D10Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D10Device1_SetTextFilterSize(This,Width,Height) (This)->lpVtbl->SetTextFilterSize(This,Width,Height) +#define ID3D10Device1_GetTextFilterSize(This,pWidth,pHeight) (This)->lpVtbl->GetTextFilterSize(This,pWidth,pHeight) +/*** ID3D10Device1 methods ***/ +#define ID3D10Device1_CreateShaderResourceView1(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView1(This,pResource,pDesc,ppSRView) +#define ID3D10Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) +#define ID3D10Device1_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Device1_QueryInterface(ID3D10Device1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Device1_AddRef(ID3D10Device1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Device1_Release(ID3D10Device1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10Device methods ***/ +static FORCEINLINE void ID3D10Device1_VSSetConstantBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device1_PSSetShaderResources(ID3D10Device1* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device1_PSSetShader(ID3D10Device1* This,ID3D10PixelShader *pPixelShader) { + This->lpVtbl->PSSetShader(This,pPixelShader); +} +static FORCEINLINE void ID3D10Device1_PSSetSamplers(ID3D10Device1* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device1_VSSetShader(ID3D10Device1* This,ID3D10VertexShader *pVertexShader) { + This->lpVtbl->VSSetShader(This,pVertexShader); +} +static FORCEINLINE void ID3D10Device1_DrawIndexed(ID3D10Device1* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D10Device1_Draw(ID3D10Device1* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE void ID3D10Device1_PSSetConstantBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device1_IASetInputLayout(ID3D10Device1* This,ID3D10InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D10Device1_IASetVertexBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D10Device1_IASetIndexBuffer(ID3D10Device1* This,ID3D10Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D10Device1_DrawIndexedInstanced(ID3D10Device1* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D10Device1_DrawInstanced(ID3D10Device1* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D10Device1_GSSetConstantBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device1_GSSetShader(ID3D10Device1* This,ID3D10GeometryShader *pShader) { + This->lpVtbl->GSSetShader(This,pShader); +} +static FORCEINLINE void ID3D10Device1_IASetPrimitiveTopology(ID3D10Device1* This,D3D10_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D10Device1_VSSetShaderResources(ID3D10Device1* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device1_VSSetSamplers(ID3D10Device1* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device1_SetPredication(ID3D10Device1* This,ID3D10Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D10Device1_GSSetShaderResources(ID3D10Device1* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device1_GSSetSamplers(ID3D10Device1* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device1_OMSetRenderTargets(ID3D10Device1* This,UINT NumViews,ID3D10RenderTargetView *const *ppRenderTargetViews,ID3D10DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D10Device1_OMSetBlendState(ID3D10Device1* This,ID3D10BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D10Device1_OMSetDepthStencilState(ID3D10Device1* This,ID3D10DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D10Device1_SOSetTargets(ID3D10Device1* This,UINT NumBuffers,ID3D10Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D10Device1_DrawAuto(ID3D10Device1* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D10Device1_RSSetState(ID3D10Device1* This,ID3D10RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D10Device1_RSSetViewports(ID3D10Device1* This,UINT NumViewports,const D3D10_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D10Device1_RSSetScissorRects(ID3D10Device1* This,UINT NumRects,const D3D10_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D10Device1_CopySubresourceRegion(ID3D10Device1* This,ID3D10Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D10Resource *pSrcResource,UINT SrcSubresource,const D3D10_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D10Device1_CopyResource(ID3D10Device1* This,ID3D10Resource *pDstResource,ID3D10Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D10Device1_UpdateSubresource(ID3D10Device1* This,ID3D10Resource *pDstResource,UINT DstSubresource,const D3D10_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D10Device1_ClearRenderTargetView(ID3D10Device1* This,ID3D10RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D10Device1_ClearDepthStencilView(ID3D10Device1* This,ID3D10DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D10Device1_GenerateMips(ID3D10Device1* This,ID3D10ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D10Device1_ResolveSubresource(ID3D10Device1* This,ID3D10Resource *pDstResource,UINT DstSubresource,ID3D10Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D10Device1_VSGetConstantBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device1_PSGetShaderResources(ID3D10Device1* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device1_PSGetShader(ID3D10Device1* This,ID3D10PixelShader **ppPixelShader) { + This->lpVtbl->PSGetShader(This,ppPixelShader); +} +static FORCEINLINE void ID3D10Device1_PSGetSamplers(ID3D10Device1* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device1_VSGetShader(ID3D10Device1* This,ID3D10VertexShader **ppVertexShader) { + This->lpVtbl->VSGetShader(This,ppVertexShader); +} +static FORCEINLINE void ID3D10Device1_PSGetConstantBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device1_IAGetInputLayout(ID3D10Device1* This,ID3D10InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D10Device1_IAGetVertexBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D10Device1_IAGetIndexBuffer(ID3D10Device1* This,ID3D10Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D10Device1_GSGetConstantBuffers(ID3D10Device1* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D10Device1_GSGetShader(ID3D10Device1* This,ID3D10GeometryShader **ppGeometryShader) { + This->lpVtbl->GSGetShader(This,ppGeometryShader); +} +static FORCEINLINE void ID3D10Device1_IAGetPrimitiveTopology(ID3D10Device1* This,D3D10_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D10Device1_VSGetShaderResources(ID3D10Device1* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device1_VSGetSamplers(ID3D10Device1* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device1_GetPredication(ID3D10Device1* This,ID3D10Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D10Device1_GSGetShaderResources(ID3D10Device1* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D10Device1_GSGetSamplers(ID3D10Device1* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D10Device1_OMGetRenderTargets(ID3D10Device1* This,UINT NumViews,ID3D10RenderTargetView **ppRenderTargetViews,ID3D10DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D10Device1_OMGetBlendState(ID3D10Device1* This,ID3D10BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D10Device1_OMGetDepthStencilState(ID3D10Device1* This,ID3D10DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D10Device1_SOGetTargets(ID3D10Device1* This,UINT NumBuffers,ID3D10Buffer **ppSOTargets,UINT *pOffsets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D10Device1_RSGetState(ID3D10Device1* This,ID3D10RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D10Device1_RSGetViewports(ID3D10Device1* This,UINT *NumViewports,D3D10_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D10Device1_RSGetScissorRects(ID3D10Device1* This,UINT *NumRects,D3D10_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE HRESULT ID3D10Device1_GetDeviceRemovedReason(ID3D10Device1* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE HRESULT ID3D10Device1_SetExceptionMode(ID3D10Device1* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D10Device1_GetExceptionMode(ID3D10Device1* This) { + return This->lpVtbl->GetExceptionMode(This); +} +static FORCEINLINE HRESULT ID3D10Device1_GetPrivateData(ID3D10Device1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Device1_SetPrivateData(ID3D10Device1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D10Device1_SetPrivateDataInterface(ID3D10Device1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE void ID3D10Device1_ClearState(ID3D10Device1* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D10Device1_Flush(ID3D10Device1* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateBuffer(ID3D10Device1* This,const D3D10_BUFFER_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateTexture1D(ID3D10Device1* This,const D3D10_TEXTURE1D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateTexture2D(ID3D10Device1* This,const D3D10_TEXTURE2D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateTexture3D(ID3D10Device1* This,const D3D10_TEXTURE3D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateShaderResourceView(ID3D10Device1* This,ID3D10Resource *pResource,const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D10ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateRenderTargetView(ID3D10Device1* This,ID3D10Resource *pResource,const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,ID3D10RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateDepthStencilView(ID3D10Device1* This,ID3D10Resource *pResource,const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D10DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateInputLayout(ID3D10Device1* This,const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D10InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateVertexShader(ID3D10Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateGeometryShader(ID3D10Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateGeometryShaderWithStreamOutput(ID3D10Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,UINT OutputStreamStride,ID3D10GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D10Device1_CreatePixelShader(ID3D10Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateBlendState(ID3D10Device1* This,const D3D10_BLEND_DESC *pBlendStateDesc,ID3D10BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateDepthStencilState(ID3D10Device1* This,const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D10DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateRasterizerState(ID3D10Device1* This,const D3D10_RASTERIZER_DESC *pRasterizerDesc,ID3D10RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateSamplerState(ID3D10Device1* This,const D3D10_SAMPLER_DESC *pSamplerDesc,ID3D10SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateQuery(ID3D10Device1* This,const D3D10_QUERY_DESC *pQueryDesc,ID3D10Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D10Device1_CreatePredicate(ID3D10Device1* This,const D3D10_QUERY_DESC *pPredicateDesc,ID3D10Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateCounter(ID3D10Device1* This,const D3D10_COUNTER_DESC *pCounterDesc,ID3D10Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D10Device1_CheckFormatSupport(ID3D10Device1* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D10Device1_CheckMultisampleQualityLevels(ID3D10Device1* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D10Device1_CheckCounterInfo(ID3D10Device1* This,D3D10_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D10Device1_CheckCounter(ID3D10Device1* This,const D3D10_COUNTER_DESC *pDesc,D3D10_COUNTER_TYPE *pType,UINT *pActiveCounters,char *name,UINT *pNameLength,char *units,UINT *pUnitsLength,char *description,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength); +} +static FORCEINLINE UINT ID3D10Device1_GetCreationFlags(ID3D10Device1* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D10Device1_OpenSharedResource(ID3D10Device1* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE void ID3D10Device1_SetTextFilterSize(ID3D10Device1* This,UINT Width,UINT Height) { + This->lpVtbl->SetTextFilterSize(This,Width,Height); +} +static FORCEINLINE void ID3D10Device1_GetTextFilterSize(ID3D10Device1* This,UINT *pWidth,UINT *pHeight) { + This->lpVtbl->GetTextFilterSize(This,pWidth,pHeight); +} +/*** ID3D10Device1 methods ***/ +static FORCEINLINE HRESULT ID3D10Device1_CreateShaderResourceView1(ID3D10Device1* This,ID3D10Resource *pResource,const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc,ID3D10ShaderResourceView1 **ppSRView) { + return This->lpVtbl->CreateShaderResourceView1(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D10Device1_CreateBlendState1(ID3D10Device1* This,const D3D10_BLEND_DESC1 *pBlendStateDesc,ID3D10BlendState1 **ppBlendState) { + return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE D3D10_FEATURE_LEVEL1 ID3D10Device1_GetFeatureLevel(ID3D10Device1* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Device1_INTERFACE_DEFINED__ */ + +#define D3D10_1_SDK_VERSION (0x20) + +HRESULT WINAPI D3D10CreateDevice1(IDXGIAdapter*,D3D10_DRIVER_TYPE, + HMODULE,UINT,D3D10_FEATURE_LEVEL1,UINT,ID3D10Device1**); +HRESULT __stdcall D3D10CreateDeviceAndSwapChain1(IDXGIAdapter *adapter,enum D3D10_DRIVER_TYPE driver_type,HMODULE swrast,UINT flags,D3D10_FEATURE_LEVEL1 feature_level,UINT sdk_version,DXGI_SWAP_CHAIN_DESC *swapchain_desc,IDXGISwapChain **swapchain,ID3D10Device1 **device); + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d10_1_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1.idl new file mode 100644 index 0000000..a37ff9e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1.idl @@ -0,0 +1,157 @@ +/* + * Copyright 2010 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +cpp_quote("#ifndef _D3D10_1_CONSTANTS") +cpp_quote("#define _D3D10_1_CONSTANTS") +const UINT D3D10_1_DEFAULT_SAMPLE_MASK = 0xffffffff; +const UINT D3D10_1_GS_INPUT_REGISTER_COUNT = 32; +const UINT D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; +const UINT D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS = 128; +const UINT D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT = 32; +const UINT D3D10_1_PS_OUTPUT_MASK_REGISTER_COMPONENTS = 1; +const UINT D3D10_1_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT = 32; +const UINT D3D10_1_PS_OUTPUT_MASK_REGISTER_COUNT = 1; +const UINT D3D10_1_SHADER_MAJOR_VERSION = 4; +const UINT D3D10_1_SHADER_MINOR_VERSION = 1; +const UINT D3D10_1_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; +const UINT D3D10_1_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 256; +const UINT D3D10_1_SO_BUFFER_SLOT_COUNT = 4; +const UINT D3D10_1_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER = 1; +const UINT D3D10_1_SO_SINGLE_BUFFER_COMPONENT_LIMIT = 64; +const UINT D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT = 32; +const UINT D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; +const UINT D3D10_1_VS_INPUT_REGISTER_COUNT = 32; +const UINT D3D10_1_VS_OUTPUT_REGISTER_COUNT = 32; +cpp_quote("#endif") + +cpp_quote("#define D3D10_1_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.6)") +cpp_quote("#define D3D10_1_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.6f)") + +import "d3d10.idl"; +cpp_quote("#include ") + + +typedef enum D3D10_FEATURE_LEVEL1 +{ + D3D10_FEATURE_LEVEL_10_0 = 0xa000, + D3D10_FEATURE_LEVEL_10_1 = 0xa100, + D3D10_FEATURE_LEVEL_9_1 = 0x9100, + D3D10_FEATURE_LEVEL_9_2 = 0x9200, + D3D10_FEATURE_LEVEL_9_3 = 0x9300 +} D3D10_FEATURE_LEVEL1; + +typedef struct D3D10_RENDER_TARGET_BLEND_DESC1 +{ + BOOL BlendEnable; + D3D10_BLEND SrcBlend; + D3D10_BLEND DestBlend; + D3D10_BLEND_OP BlendOp; + D3D10_BLEND SrcBlendAlpha; + D3D10_BLEND DestBlendAlpha; + D3D10_BLEND_OP BlendOpAlpha; + UINT8 RenderTargetWriteMask; +} D3D10_RENDER_TARGET_BLEND_DESC1; + +typedef struct D3D10_BLEND_DESC1 +{ + BOOL AlphaToCoverageEnable; + BOOL IndependentBlendEnable; + D3D10_RENDER_TARGET_BLEND_DESC1 RenderTarget[D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT]; +} D3D10_BLEND_DESC1; + +[ + uuid(edad8d99-8a35-4d6d-8566-2ea276cde161), + object, + local, + pointer_default(unique) +] +interface ID3D10BlendState1 : ID3D10BlendState +{ + void GetDesc1([out] D3D10_BLEND_DESC1 *pDesc); +} + +typedef struct D3D10_TEXCUBE_ARRAY_SRV1 +{ + UINT MostDetailedMip; + UINT MipLevels; + UINT First2DArrayFace; + UINT NumCubes; +} D3D10_TEXCUBE_ARRAY_SRV1; + +typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION1; + +typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1 +{ + DXGI_FORMAT Format; + D3D10_SRV_DIMENSION1 ViewDimension; + union { + D3D10_BUFFER_SRV Buffer; + D3D10_TEX1D_SRV Texture1D; + D3D10_TEX1D_ARRAY_SRV Texture1DArray; + D3D10_TEX2D_SRV Texture2D; + D3D10_TEX2D_ARRAY_SRV Texture2DArray; + D3D10_TEX2DMS_SRV Texture2DMS; + D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D10_TEX3D_SRV Texture3D; + D3D10_TEXCUBE_SRV TextureCube; + D3D10_TEXCUBE_ARRAY_SRV1 TextureCubeArray; + }; +} D3D10_SHADER_RESOURCE_VIEW_DESC1; + +[ + uuid(9b7e4c87-342c-4106-a19f-4f2704f689f0), + object, + local, + pointer_default(unique) +] +interface ID3D10ShaderResourceView1 : ID3D10ShaderResourceView +{ + void GetDesc1([out] D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc); +} + +[ + uuid(9b7e4c8f-342c-4106-a19f-4f2704f689f0), + object, + local, + pointer_default(unique) +] +interface ID3D10Device1 : ID3D10Device +{ + HRESULT CreateShaderResourceView1( + [in] ID3D10Resource *pResource, + [in, out] const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, + [out] ID3D10ShaderResourceView1 **ppSRView); + + HRESULT CreateBlendState1( + [in] const D3D10_BLEND_DESC1 *pBlendStateDesc, + [out] ID3D10BlendState1 **ppBlendState); + + D3D10_FEATURE_LEVEL1 GetFeatureLevel(); +} + +const UINT D3D10_1_SDK_VERSION = 0x20; + +cpp_quote("HRESULT WINAPI D3D10CreateDevice1(IDXGIAdapter*,D3D10_DRIVER_TYPE,") +cpp_quote(" HMODULE,UINT,D3D10_FEATURE_LEVEL1,UINT,ID3D10Device1**);") + +[local] HRESULT __stdcall D3D10CreateDeviceAndSwapChain1(IDXGIAdapter *adapter, enum D3D10_DRIVER_TYPE driver_type, + HMODULE swrast, UINT flags, D3D10_FEATURE_LEVEL1 feature_level, UINT sdk_version, + DXGI_SWAP_CHAIN_DESC *swapchain_desc, IDXGISwapChain **swapchain, ID3D10Device1 **device); diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1shader.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1shader.h new file mode 100644 index 0000000..06dded7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10_1shader.h @@ -0,0 +1,52 @@ +/* + * Copyright 2010 Rico Schüller + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3D10_1SHADER_H__ +#define __D3D10_1SHADER_H__ + +#include "d3d10shader.h" + +DEFINE_GUID(IID_ID3D10ShaderReflection1, 0xc3457783, 0xa846, 0x47ce, 0x95, 0x20, 0xce, 0xa6, 0xf6, 0x6e, 0x74, 0x47); + +#define INTERFACE ID3D10ShaderReflection1 +DECLARE_INTERFACE_(ID3D10ShaderReflection1, IUnknown) +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* ID3D10ShaderReflection1 methods */ + STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_DESC *desc) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE; + STDMETHOD(GetResourceBindingDesc)(THIS_ UINT index, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE; + STDMETHOD(GetInputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD(GetOutputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE; + STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE; + STDMETHOD(GetMovInstructionCount)(THIS_ UINT *count) PURE; + STDMETHOD(GetMovcInstructionCount)(THIS_ UINT *count) PURE; + STDMETHOD(GetConversionInstructionCount)(THIS_ UINT *count) PURE; + STDMETHOD(GetBitwiseInstructionCount)(THIS_ UINT *count) PURE; + STDMETHOD(GetGSInputPrimitive)(THIS_ D3D10_PRIMITIVE *prim) PURE; + STDMETHOD(IsLevel9Shader)(THIS_ BOOL *level9shader) PURE; + STDMETHOD(IsSampleFrequencyShader)(THIS_ BOOL *samplefrequency) PURE; +}; +#undef INTERFACE + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10effect.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10effect.h new file mode 100644 index 0000000..b4a33da --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10effect.h @@ -0,0 +1,859 @@ +/* + * Copyright 2009 Henri Verbeet for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef __WINE_D3D10EFFECT_H +#define __WINE_D3D10EFFECT_H + +#include "d3d10.h" + +#define D3D10_EFFECT_VARIABLE_POOLED 0x1 +#define D3D10_EFFECT_VARIABLE_ANNOTATION 0x2 +#define D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT 0x4 + +#ifndef D3D10_BYTES_FROM_BITS +#define D3D10_BYTES_FROM_BITS(x) (((x) + 7) >> 3) +#endif + +typedef enum _D3D10_DEVICE_STATE_TYPES +{ + D3D10_DST_SO_BUFFERS = 1, + D3D10_DST_OM_RENDER_TARGETS, + D3D10_DST_DEPTH_STENCIL_STATE, + D3D10_DST_BLEND_STATE, + D3D10_DST_VS, + D3D10_DST_VS_SAMPLERS, + D3D10_DST_VS_SHADER_RESOURCES, + D3D10_DST_VS_CONSTANT_BUFFERS, + D3D10_DST_GS, + D3D10_DST_GS_SAMPLERS, + D3D10_DST_GS_SHADER_RESOURCES, + D3D10_DST_GS_CONSTANT_BUFFERS, + D3D10_DST_PS, + D3D10_DST_PS_SAMPLERS, + D3D10_DST_PS_SHADER_RESOURCES, + D3D10_DST_PS_CONSTANT_BUFFERS, + D3D10_DST_IA_VERTEX_BUFFERS, + D3D10_DST_IA_INDEX_BUFFER, + D3D10_DST_IA_INPUT_LAYOUT, + D3D10_DST_IA_PRIMITIVE_TOPOLOGY, + D3D10_DST_RS_VIEWPORTS, + D3D10_DST_RS_SCISSOR_RECTS, + D3D10_DST_RS_RASTERIZER_STATE, + D3D10_DST_PREDICATION, +} D3D10_DEVICE_STATE_TYPES; + +typedef struct _D3D10_EFFECT_TYPE_DESC +{ + const char *TypeName; + D3D10_SHADER_VARIABLE_CLASS Class; + D3D10_SHADER_VARIABLE_TYPE Type; + UINT Elements; + UINT Members; + UINT Rows; + UINT Columns; + UINT PackedSize; + UINT UnpackedSize; + UINT Stride; +} D3D10_EFFECT_TYPE_DESC; + +typedef struct _D3D10_EFFECT_VARIABLE_DESC +{ + const char *Name; + const char *Semantic; + UINT Flags; + UINT Annotations; + UINT BufferOffset; + UINT ExplicitBindPoint; +} D3D10_EFFECT_VARIABLE_DESC; + +typedef struct _D3D10_TECHNIQUE_DESC +{ + const char *Name; + UINT Passes; + UINT Annotations; +} D3D10_TECHNIQUE_DESC; + +typedef struct _D3D10_STATE_BLOCK_MASK +{ + BYTE VS; + BYTE VSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)]; + BYTE VSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)]; + BYTE VSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)]; + BYTE GS; + BYTE GSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)]; + BYTE GSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)]; + BYTE GSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)]; + BYTE PS; + BYTE PSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)]; + BYTE PSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)]; + BYTE PSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)]; + BYTE IAVertexBuffers[D3D10_BYTES_FROM_BITS(D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT)]; + BYTE IAIndexBuffer; + BYTE IAInputLayout; + BYTE IAPrimitiveTopology; + BYTE OMRenderTargets; + BYTE OMDepthStencilState; + BYTE OMBlendState; + BYTE RSViewports; + BYTE RSScissorRects; + BYTE RSRasterizerState; + BYTE SOBuffers; + BYTE Predication; +} D3D10_STATE_BLOCK_MASK; + +typedef struct _D3D10_EFFECT_DESC +{ + BOOL IsChildEffect; + UINT ConstantBuffers; + UINT SharedConstantBuffers; + UINT GlobalVariables; + UINT SharedGlobalVariables; + UINT Techniques; +} D3D10_EFFECT_DESC; + +typedef struct _D3D10_EFFECT_SHADER_DESC +{ + const BYTE *pInputSignature; + BOOL IsInline; + const BYTE *pBytecode; + UINT BytecodeLength; + const char *SODecl; + UINT NumInputSignatureEntries; + UINT NumOutputSignatureEntries; +} D3D10_EFFECT_SHADER_DESC; + +typedef struct _D3D10_PASS_DESC +{ + const char *Name; + UINT Annotations; + BYTE *pIAInputSignature; + SIZE_T IAInputSignatureSize; + UINT StencilRef; + UINT SampleMask; + FLOAT BlendFactor[4]; +} D3D10_PASS_DESC; + +typedef struct _D3D10_PASS_SHADER_DESC +{ + struct ID3D10EffectShaderVariable *pShaderVariable; + UINT ShaderIndex; +} D3D10_PASS_SHADER_DESC; + +#define D3D10_EFFECT_COMPILE_CHILD_EFFECT 0x0001 +#define D3D10_EFFECT_COMPILE_ALLOW_SLOW_OPS 0x0002 +#define D3D10_EFFECT_SINGLE_THREADED 0x0008 + +DEFINE_GUID(IID_ID3D10EffectType, 0x4e9e1ddc, 0xcd9d, 0x4772, 0xa8, 0x37, 0x00, 0x18, 0x0b, 0x9b, 0x88, 0xfd); + +#define INTERFACE ID3D10EffectType +DECLARE_INTERFACE(ID3D10EffectType) +{ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_TYPE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetMemberTypeByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetMemberTypeByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetMemberTypeBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(const char *, GetMemberName)(THIS_ UINT index) PURE; + STDMETHOD_(const char *, GetMemberSemantic)(THIS_ UINT index) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectVariable, 0xae897105, 0x00e6, 0x45bf, 0xbb, 0x8e, 0x28, 0x1d, 0xd6, 0xdb, 0x8e, 0x1b); + +#define INTERFACE ID3D10EffectVariable +DECLARE_INTERFACE(ID3D10EffectVariable) +{ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectConstantBuffer, 0x56648f4d, 0xcc8b, 0x4444, 0xa5, 0xad, 0xb5, 0xa3, 0xd7, 0x6e, 0x91, 0xb3); + +#define INTERFACE ID3D10EffectConstantBuffer +DECLARE_INTERFACE_(ID3D10EffectConstantBuffer, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectConstantBuffer methods */ + STDMETHOD(SetConstantBuffer)(THIS_ ID3D10Buffer *buffer) PURE; + STDMETHOD(GetConstantBuffer)(THIS_ ID3D10Buffer **buffer) PURE; + STDMETHOD(SetTextureBuffer)(THIS_ ID3D10ShaderResourceView *view) PURE; + STDMETHOD(GetTextureBuffer)(THIS_ ID3D10ShaderResourceView **view) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectScalarVariable, 0x00e48f7b, 0xd2c8, 0x49e8, 0xa8, 0x6c, 0x02, 0x2d, 0xee, 0x53, 0x43, 0x1f); + +#define INTERFACE ID3D10EffectScalarVariable +DECLARE_INTERFACE_(ID3D10EffectScalarVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectScalarVariable methods */ + STDMETHOD(SetFloat)(THIS_ float value) PURE; + STDMETHOD(GetFloat)(THIS_ float *value) PURE; + STDMETHOD(SetFloatArray)(THIS_ float *values, UINT offset, UINT count) PURE; + STDMETHOD(GetFloatArray)(THIS_ float *values, UINT offset, UINT count) PURE; + STDMETHOD(SetInt)(THIS_ int value) PURE; + STDMETHOD(GetInt)(THIS_ int *value) PURE; + STDMETHOD(SetIntArray)(THIS_ int *values, UINT offset, UINT count) PURE; + STDMETHOD(GetIntArray)(THIS_ int *values, UINT offset, UINT count) PURE; + STDMETHOD(SetBool)(THIS_ BOOL value) PURE; + STDMETHOD(GetBool)(THIS_ BOOL *value) PURE; + STDMETHOD(SetBoolArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE; + STDMETHOD(GetBoolArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectVectorVariable, 0x62b98c44, 0x1f82, 0x4c67, 0xbc, 0xd0, 0x72, 0xcf, 0x8f, 0x21, 0x7e, 0x81); + +#define INTERFACE ID3D10EffectVectorVariable +DECLARE_INTERFACE_(ID3D10EffectVectorVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectVectorVariable methods */ + STDMETHOD(SetBoolVector)(THIS_ BOOL *value) PURE; + STDMETHOD(SetIntVector)(THIS_ int *value) PURE; + STDMETHOD(SetFloatVector)(THIS_ float *value) PURE; + STDMETHOD(GetBoolVector)(THIS_ BOOL *value) PURE; + STDMETHOD(GetIntVector)(THIS_ int *value) PURE; + STDMETHOD(GetFloatVector)(THIS_ float *value) PURE; + STDMETHOD(SetBoolVectorArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE; + STDMETHOD(SetIntVectorArray)(THIS_ int *values, UINT offset, UINT count) PURE; + STDMETHOD(SetFloatVectorArray)(THIS_ float *values, UINT offset, UINT count) PURE; + STDMETHOD(GetBoolVectorArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE; + STDMETHOD(GetIntVectorArray)(THIS_ int *values, UINT offset, UINT count) PURE; + STDMETHOD(GetFloatVectorArray)(THIS_ float *values, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectMatrixVariable, 0x50666c24, 0xb82f, 0x4eed, 0xa1, 0x72, 0x5b, 0x6e, 0x7e, 0x85, 0x22, 0xe0); + +#define INTERFACE ID3D10EffectMatrixVariable +DECLARE_INTERFACE_(ID3D10EffectMatrixVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectMatrixVariable methods */ + STDMETHOD(SetMatrix)(THIS_ float *data) PURE; + STDMETHOD(GetMatrix)(THIS_ float *data) PURE; + STDMETHOD(SetMatrixArray)(THIS_ float *data, UINT offset, UINT count) PURE; + STDMETHOD(GetMatrixArray)(THIS_ float *data, UINT offset, UINT count) PURE; + STDMETHOD(SetMatrixTranspose)(THIS_ float *data) PURE; + STDMETHOD(GetMatrixTranspose)(THIS_ float *data) PURE; + STDMETHOD(SetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE; + STDMETHOD(GetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectStringVariable, 0x71417501, 0x8df9, 0x4e0a, 0xa7, 0x8a, 0x25, 0x5f, 0x97, 0x56, 0xba, 0xff); + +#define INTERFACE ID3D10EffectStringVariable +DECLARE_INTERFACE_(ID3D10EffectStringVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectStringVariable methods */ + STDMETHOD(GetString)(THIS_ const char **str) PURE; + STDMETHOD(GetStringArray)(THIS_ const char **strs, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectShaderResourceVariable, + 0xc0a7157b, 0xd872, 0x4b1d, 0x80, 0x73, 0xef, 0xc2, 0xac, 0xd4, 0xb1, 0xfc); + +#define INTERFACE ID3D10EffectShaderResourceVariable +DECLARE_INTERFACE_(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectShaderResourceVariable methods */ + STDMETHOD(SetResource)(THIS_ ID3D10ShaderResourceView *resource) PURE; + STDMETHOD(GetResource)(THIS_ ID3D10ShaderResourceView **resource) PURE; + STDMETHOD(SetResourceArray)(THIS_ ID3D10ShaderResourceView **resources, UINT offset, UINT count) PURE; + STDMETHOD(GetResourceArray)(THIS_ ID3D10ShaderResourceView **resources, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectRenderTargetViewVariable, + 0x28ca0cc3, 0xc2c9, 0x40bb, 0xb5, 0x7f, 0x67, 0xb7, 0x37, 0x12, 0x2b, 0x17); + +#define INTERFACE ID3D10EffectRenderTargetViewVariable +DECLARE_INTERFACE_(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectRenderTargetViewVariable methods */ + STDMETHOD(SetRenderTarget)(THIS_ ID3D10RenderTargetView *view) PURE; + STDMETHOD(GetRenderTarget)(THIS_ ID3D10RenderTargetView **view) PURE; + STDMETHOD(SetRenderTargetArray)(THIS_ ID3D10RenderTargetView **views, UINT offset, UINT count) PURE; + STDMETHOD(GetRenderTargetArray)(THIS_ ID3D10RenderTargetView **views, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectDepthStencilViewVariable, + 0x3e02c918, 0xcc79, 0x4985, 0xb6, 0x22, 0x2d, 0x92, 0xad, 0x70, 0x16, 0x23); + +#define INTERFACE ID3D10EffectDepthStencilViewVariable +DECLARE_INTERFACE_(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectDepthStencilViewVariable methods */ + STDMETHOD(SetDepthStencil)(THIS_ ID3D10DepthStencilView *view) PURE; + STDMETHOD(GetDepthStencil)(THIS_ ID3D10DepthStencilView **view) PURE; + STDMETHOD(SetDepthStencilArray)(THIS_ ID3D10DepthStencilView **views, UINT offset, UINT count) PURE; + STDMETHOD(GetDepthStencilArray)(THIS_ ID3D10DepthStencilView **views, UINT offset, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectShaderVariable, 0x80849279, 0xc799, 0x4797, 0x8c, 0x33, 0x04, 0x07, 0xa0, 0x7d, 0x9e, 0x06); + +#define INTERFACE ID3D10EffectShaderVariable +DECLARE_INTERFACE_(ID3D10EffectShaderVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectShaderVariable methods */ + STDMETHOD(GetShaderDesc)(THIS_ UINT index, D3D10_EFFECT_SHADER_DESC *desc) PURE; + STDMETHOD(GetVertexShader)(THIS_ UINT index, ID3D10VertexShader **shader) PURE; + STDMETHOD(GetGeometryShader)(THIS_ UINT index, ID3D10GeometryShader **shader) PURE; + STDMETHOD(GetPixelShader)(THIS_ UINT index, ID3D10PixelShader **shader) PURE; + STDMETHOD(GetInputSignatureElementDesc)(THIS_ UINT shader_index, UINT element_index, + D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD(GetOutputSignatureElementDesc)(THIS_ UINT shader_index, UINT element_index, + D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectBlendVariable, 0x1fcd2294, 0xdf6d, 0x4eae, 0x86, 0xb3, 0x0e, 0x91, 0x60, 0xcf, 0xb0, 0x7b); + +#define INTERFACE ID3D10EffectBlendVariable +DECLARE_INTERFACE_(ID3D10EffectBlendVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectBlendVariable methods */ + STDMETHOD(GetBlendState)(THIS_ UINT index, ID3D10BlendState **blend_state) PURE; + STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_BLEND_DESC *desc) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectDepthStencilVariable, + 0xaf482368, 0x330a, 0x46a5, 0x9a, 0x5c, 0x01, 0xc7, 0x1a, 0xf2, 0x4c, 0x8d); + +#define INTERFACE ID3D10EffectDepthStencilVariable +DECLARE_INTERFACE_(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectDepthStencilVariable methods */ + STDMETHOD(GetDepthStencilState)(THIS_ UINT index, ID3D10DepthStencilState **depth_stencil_state) PURE; + STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_DEPTH_STENCIL_DESC *desc) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectRasterizerVariable, + 0x21af9f0e, 0x4d94, 0x4ea9, 0x97, 0x85, 0x2c, 0xb7, 0x6b, 0x8c, 0x0b, 0x34); + +#define INTERFACE ID3D10EffectRasterizerVariable +DECLARE_INTERFACE_(ID3D10EffectRasterizerVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectRasterizerVariable methods */ + STDMETHOD(GetRasterizerState)(THIS_ UINT index, ID3D10RasterizerState **rasterizer_state) PURE; + STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_RASTERIZER_DESC *desc) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectSamplerVariable, + 0x6530d5c7, 0x07e9, 0x4271, 0xa4, 0x18, 0xe7, 0xce, 0x4b, 0xd1, 0xe4, 0x80); + +#define INTERFACE ID3D10EffectSamplerVariable +DECLARE_INTERFACE_(ID3D10EffectSamplerVariable, ID3D10EffectVariable) +{ + /* ID3D10EffectVariable methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE; + STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE; + STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE; + /* ID3D10EffectSamplerVariable methods */ + STDMETHOD(GetSampler)(THIS_ UINT index, ID3D10SamplerState **sampler) PURE; + STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_SAMPLER_DESC *desc) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectTechnique, 0xdb122ce8, 0xd1c9, 0x4292, 0xb2, 0x37, 0x24, 0xed, 0x3d, 0xe8, 0xb1, 0x75); + +#define INTERFACE ID3D10EffectTechnique +DECLARE_INTERFACE(ID3D10EffectTechnique) +{ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_TECHNIQUE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectPass *, GetPassByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectPass *, GetPassByName)(THIS_ const char *name) PURE; + STDMETHOD(ComputeStateBlockMask)(THIS_ D3D10_STATE_BLOCK_MASK *mask) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10Effect, 0x51b0ca8b, 0xec0b, 0x4519, 0x87, 0x0d, 0x8e, 0xe1, 0xcb, 0x50, 0x17, 0xc7); + +#define INTERFACE ID3D10Effect +DECLARE_INTERFACE_(ID3D10Effect, IUnknown) +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* ID3D10Effect methods */ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD_(BOOL, IsPool)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ ID3D10Device **device) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetVariableByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetVariableByName)(THIS_ const char *name) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetVariableBySemantic)(THIS_ const char *semantic) PURE; + STDMETHOD_(struct ID3D10EffectTechnique *, GetTechniqueByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectTechnique *, GetTechniqueByName)(THIS_ const char *name) PURE; + STDMETHOD(Optimize)(THIS) PURE; + STDMETHOD_(BOOL, IsOptimized)(THIS) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectPool, 0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc, 0xd2, 0xf8, 0x67, 0x79, 0x33); + +#define INTERFACE ID3D10EffectPool +DECLARE_INTERFACE_(ID3D10EffectPool, IUnknown) +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* ID3D10EffectPool methods */ + STDMETHOD_(struct ID3D10Effect *, AsEffect)(THIS) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10EffectPass, 0x5cfbeb89, 0x1a06, 0x46e0, 0xb2, 0x82, 0xe3, 0xf9, 0xbf, 0xa3, 0x6a, 0x54); + +#define INTERFACE ID3D10EffectPass +DECLARE_INTERFACE(ID3D10EffectPass) +{ + STDMETHOD_(BOOL, IsValid)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3D10_PASS_DESC *desc) PURE; + STDMETHOD(GetVertexShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *desc) PURE; + STDMETHOD(GetGeometryShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *desc) PURE; + STDMETHOD(GetPixelShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *desc) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ const char *name) PURE; + STDMETHOD(Apply)(THIS_ UINT flags) PURE; + STDMETHOD(ComputeStateBlockMask)(THIS_ D3D10_STATE_BLOCK_MASK *mask) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10StateBlock, 0x0803425a, 0x57f5, 0x4dd6, 0x94, 0x65, 0xa8, 0x75, 0x70, 0x83, 0x4a, 0x08); + +#define INTERFACE ID3D10StateBlock +DECLARE_INTERFACE_(ID3D10StateBlock, IUnknown) +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **object) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* ID3D10StateBlock methods */ + STDMETHOD(Capture)(THIS) PURE; + STDMETHOD(Apply)(THIS) PURE; + STDMETHOD(ReleaseAllDeviceObjects)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ ID3D10Device **device) PURE; +}; +#undef INTERFACE + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3D10CompileEffectFromMemory(void *data, SIZE_T data_size, const char *filename, + const D3D10_SHADER_MACRO *defines, ID3D10Include *include, UINT hlsl_flags, UINT fx_flags, + ID3D10Blob **effect, ID3D10Blob **errors); +HRESULT WINAPI D3D10CreateEffectFromMemory(void *data, SIZE_T data_size, UINT flags, + ID3D10Device *device, ID3D10EffectPool *effect_pool, ID3D10Effect **effect); +HRESULT WINAPI D3D10CreateEffectPoolFromMemory(void *data, SIZE_T data_size, UINT fx_flags, + ID3D10Device *device, ID3D10EffectPool **effect_pool); +HRESULT WINAPI D3D10CreateStateBlock(ID3D10Device *device, + D3D10_STATE_BLOCK_MASK *mask, ID3D10StateBlock **stateblock); + +HRESULT WINAPI D3D10StateBlockMaskDifference(D3D10_STATE_BLOCK_MASK *mask_x, + D3D10_STATE_BLOCK_MASK *mask_y, D3D10_STATE_BLOCK_MASK *result); +HRESULT WINAPI D3D10StateBlockMaskDisableAll(D3D10_STATE_BLOCK_MASK *mask); +HRESULT WINAPI D3D10StateBlockMaskDisableCapture(D3D10_STATE_BLOCK_MASK *mask, + D3D10_DEVICE_STATE_TYPES state_type, UINT start_idx, UINT count); +HRESULT WINAPI D3D10StateBlockMaskEnableAll(D3D10_STATE_BLOCK_MASK *mask); +HRESULT WINAPI D3D10StateBlockMaskEnableCapture(D3D10_STATE_BLOCK_MASK *mask, + D3D10_DEVICE_STATE_TYPES state_type, UINT start_idx, UINT count); +BOOL WINAPI D3D10StateBlockMaskGetSetting(D3D10_STATE_BLOCK_MASK *mask, + D3D10_DEVICE_STATE_TYPES state_type, UINT idx); +HRESULT WINAPI D3D10StateBlockMaskIntersect(D3D10_STATE_BLOCK_MASK *mask_x, + D3D10_STATE_BLOCK_MASK *mask_y, D3D10_STATE_BLOCK_MASK *result); +HRESULT WINAPI D3D10StateBlockMaskUnion(D3D10_STATE_BLOCK_MASK *mask_x, + D3D10_STATE_BLOCK_MASK *mask_y, D3D10_STATE_BLOCK_MASK *result); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_D3D10EFFECT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10misc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10misc.h new file mode 100644 index 0000000..f8f5617 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10misc.h @@ -0,0 +1,49 @@ +/* + * Copyright 2008 Henri Verbeet for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3D10MISC_H__ +#define __D3D10MISC_H__ + +#include "d3d10.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum D3D10_DRIVER_TYPE { + D3D10_DRIVER_TYPE_HARDWARE = 0, + D3D10_DRIVER_TYPE_REFERENCE = 1, + D3D10_DRIVER_TYPE_NULL = 2, + D3D10_DRIVER_TYPE_SOFTWARE = 3, + D3D10_DRIVER_TYPE_WARP = 5, +} D3D10_DRIVER_TYPE; + +HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type, + HMODULE swrast, UINT flags, UINT sdk_version, ID3D10Device **device); + +HRESULT WINAPI D3D10CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type, + HMODULE swrast, UINT flags, UINT sdk_version, DXGI_SWAP_CHAIN_DESC *swapchain_desc, + IDXGISwapChain **swapchain, ID3D10Device **device); + +HRESULT WINAPI D3D10CreateBlob(SIZE_T data_size, ID3D10Blob **blob); + +#ifdef __cplusplus +} +#endif + +#endif /* __D3D10MISC_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10sdklayers.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10sdklayers.h new file mode 100644 index 0000000..1909ee8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10sdklayers.h @@ -0,0 +1,1053 @@ +/*** Autogenerated by WIDL 2.18 from d3d10sdklayers.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d10sdklayers_h__ +#define __d3d10sdklayers_h__ + +/* Forward declarations */ + +#ifndef __ID3D10InfoQueue_FWD_DEFINED__ +#define __ID3D10InfoQueue_FWD_DEFINED__ +typedef interface ID3D10InfoQueue ID3D10InfoQueue; +#ifdef __cplusplus +interface ID3D10InfoQueue; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef GetMessage +#endif +typedef enum D3D10_MESSAGE_CATEGORY { + D3D10_MESSAGE_CATEGORY_APPLICATION_DEFINED = 0, + D3D10_MESSAGE_CATEGORY_MISCELLANEOUS = 1, + D3D10_MESSAGE_CATEGORY_INITIALIZATION = 2, + D3D10_MESSAGE_CATEGORY_CLEANUP = 3, + D3D10_MESSAGE_CATEGORY_COMPILATION = 4, + D3D10_MESSAGE_CATEGORY_STATE_CREATION = 5, + D3D10_MESSAGE_CATEGORY_STATE_SETTING = 6, + D3D10_MESSAGE_CATEGORY_STATE_GETTING = 7, + D3D10_MESSAGE_CATEGORY_RESOURCE_MANIPULATION = 8, + D3D10_MESSAGE_CATEGORY_EXECUTION = 9, + D3D10_MESSAGE_CATEGORY_SHADER = 10 +} D3D10_MESSAGE_CATEGORY; +typedef enum D3D10_MESSAGE_SEVERITY { + D3D10_MESSAGE_SEVERITY_CORRUPTION = 0, + D3D10_MESSAGE_SEVERITY_ERROR = 1, + D3D10_MESSAGE_SEVERITY_WARNING = 2, + D3D10_MESSAGE_SEVERITY_INFO = 3, + D3D10_MESSAGE_SEVERITY_MESSAGE = 4 +} D3D10_MESSAGE_SEVERITY; +typedef enum D3D10_MESSAGE_ID { + D3D10_MESSAGE_ID_UNKNOWN = 0, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD = 1, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD = 2, + D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD = 3, + D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD = 4, + D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD = 5, + D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD = 6, + D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD = 7, + D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD = 8, + D3D10_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD = 9, + D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD = 10, + D3D10_MESSAGE_ID_STRING_FROM_APPLICATION = 11, + D3D10_MESSAGE_ID_CORRUPTED_THIS = 12, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER1 = 13, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER2 = 14, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER3 = 15, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER4 = 16, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER5 = 17, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER6 = 18, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER7 = 19, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER8 = 20, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER9 = 21, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER10 = 22, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER11 = 23, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER12 = 24, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER13 = 25, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER14 = 26, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER15 = 27, + D3D10_MESSAGE_ID_CORRUPTED_MULTITHREADING = 28, + D3D10_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY = 29, + D3D10_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT = 30, + D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT = 31, + D3D10_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT = 32, + D3D10_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT = 33, + D3D10_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 34, + D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 35, + D3D10_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT = 36, + D3D10_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT = 37, + D3D10_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 38, + D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 39, + D3D10_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT = 40, + D3D10_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT = 41, + D3D10_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT = 42, + D3D10_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 43, + D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 44, + D3D10_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT = 45, + D3D10_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT = 46, + D3D10_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT = 47, + D3D10_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT = 48, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT = 49, + D3D10_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT = 50, + D3D10_MESSAGE_ID_GETPRIVATEDATA_MOREDATA = 51, + D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA = 52, + D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN = 53, + D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS = 54, + D3D10_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS = 55, + D3D10_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY = 56, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT = 57, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES = 58, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE = 59, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS = 60, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS = 61, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS = 62, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS = 63, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS = 64, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA = 65, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS = 66, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS = 67, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS = 68, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN = 69, + D3D10_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN = 70, + D3D10_MESSAGE_ID_CREATEBUFFER_NULLDESC = 71, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS = 72, + D3D10_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION = 73, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT = 74, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT = 75, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES = 76, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE = 77, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS = 78, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS = 79, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS = 80, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS = 81, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS = 82, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA = 83, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS = 84, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS = 85, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS = 86, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN = 87, + D3D10_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN = 88, + D3D10_MESSAGE_ID_CREATETEXTURE1D_NULLDESC = 89, + D3D10_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION = 90, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT = 91, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT = 92, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES = 93, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE = 94, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS = 95, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS = 96, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS = 97, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS = 98, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS = 99, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA = 100, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS = 101, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS = 102, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS = 103, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN = 104, + D3D10_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN = 105, + D3D10_MESSAGE_ID_CREATETEXTURE2D_NULLDESC = 106, + D3D10_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION = 107, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT = 108, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT = 109, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES = 110, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE = 111, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS = 112, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS = 113, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS = 114, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS = 115, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS = 116, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA = 117, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS = 118, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS = 119, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS = 120, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN = 121, + D3D10_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN = 122, + D3D10_MESSAGE_ID_CREATETEXTURE3D_NULLDESC = 123, + D3D10_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION = 124, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT = 125, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC = 126, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT = 127, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS = 128, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE = 129, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS = 130, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN = 131, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN = 132, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT = 133, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT = 134, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC = 135, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT = 136, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS = 137, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE = 138, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS = 139, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN = 140, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN = 141, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT = 142, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC = 143, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT = 144, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS = 145, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE = 146, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS = 147, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN = 148, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN = 149, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY = 150, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS = 151, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT = 152, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT = 153, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT = 154, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS = 155, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH = 156, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE = 157, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE = 158, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT = 159, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC = 160, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE = 161, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC = 162, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT = 163, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC = 164, + D3D10_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY = 165, + D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE = 166, + D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE = 167, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY = 168, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE = 169, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE = 170, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY = 171, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE = 172, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE = 173, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES = 174, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED = 175, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL = 176, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL = 177, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED = 178, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT = 179, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT = 180, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT = 181, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT = 182, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION = 183, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT = 184, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE = 185, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC = 186, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH = 187, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS = 188, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX = 189, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE = 190, + D3D10_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY = 191, + D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE = 192, + D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE = 193, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE = 194, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE = 195, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP = 196, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS = 197, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS = 198, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC = 199, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK = 200, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC = 201, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP = 202, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP = 203, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP = 204, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC = 205, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP = 206, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP = 207, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP = 208, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC = 209, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS = 210, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC = 211, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND = 212, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND = 213, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP = 214, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA = 215, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA = 216, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA = 217, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK = 218, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS = 219, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC = 220, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER = 221, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU = 222, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV = 223, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW = 224, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS = 225, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY = 226, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC = 227, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD = 228, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD = 229, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS = 230, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC = 231, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY = 232, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS = 233, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG = 234, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC = 235, + D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED = 236, + D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED = 237, + D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER = 238, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE = 239, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY = 240, + D3D10_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER = 241, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID = 242, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE = 243, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED = 244, + D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY = 245, + D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER = 246, + D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 247, + D3D10_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY = 248, + D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY = 249, + D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER = 250, + D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 251, + D3D10_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY = 252, + D3D10_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER = 253, + D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED = 254, + D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY = 255, + D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER = 256, + D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 257, + D3D10_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY = 258, + D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT = 259, + D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR = 260, + D3D10_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH = 261, + D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH = 262, + D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID = 263, + D3D10_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY = 264, + D3D10_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY = 265, + D3D10_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 266, + D3D10_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY = 267, + D3D10_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY = 268, + D3D10_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 269, + D3D10_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY = 270, + D3D10_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY = 271, + D3D10_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY = 272, + D3D10_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 273, + D3D10_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY = 274, + D3D10_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY = 275, + D3D10_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY = 276, + D3D10_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID = 277, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE = 278, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE = 279, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX = 280, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE = 281, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE = 282, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE = 283, + D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE = 284, + D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE = 285, + D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE = 286, + D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE = 287, + D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX = 288, + D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE = 289, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID = 290, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID = 291, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID = 292, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID = 293, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID = 294, + D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE = 295, + D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS = 296, + D3D10_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED = 297, + D3D10_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN = 298, + D3D10_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED = 299, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE = 300, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE = 301, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS = 302, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED = 303, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN = 304, + D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE = 305, + D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED = 306, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE = 307, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE = 308, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS = 309, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED = 310, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN = 311, + D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE = 312, + D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED = 313, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE = 314, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE = 315, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS = 316, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED = 317, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN = 318, + D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE = 319, + D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED = 320, + D3D10_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED = 321, + D3D10_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED = 322, + D3D10_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS = 323, + D3D10_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN = 324, + D3D10_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN = 325, + D3D10_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE = 326, + D3D10_MESSAGE_ID_REF_THREADING_MODE = 327, + D3D10_MESSAGE_ID_REF_UMDRIVER_EXCEPTION = 328, + D3D10_MESSAGE_ID_REF_KMDRIVER_EXCEPTION = 329, + D3D10_MESSAGE_ID_REF_HARDWARE_EXCEPTION = 330, + D3D10_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE = 331, + D3D10_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER = 332, + D3D10_MESSAGE_ID_REF_OUT_OF_MEMORY = 333, + D3D10_MESSAGE_ID_REF_INFO = 334, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW = 335, + D3D10_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW = 336, + D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW = 337, + D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW = 338, + D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW = 339, + D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW = 340, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET = 341, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND = 342, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX = 343, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE = 344, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK = 345, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE = 346, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS = 347, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET = 348, + D3D10_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET = 349, + D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET = 350, + D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL = 351, + D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET = 352, + D3D10_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET = 353, + D3D10_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH = 354, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL = 355, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL = 356, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET = 357, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID = 358, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL = 359, + D3D10_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH = 360, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH = 361, + D3D10_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT = 362, + D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET = 363, + D3D10_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED = 364, + D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY = 365, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED = 366, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED = 367, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED = 368, + D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED = 369, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED = 370, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED = 371, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED = 372, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED = 373, + D3D10_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE = 374, + D3D10_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER = 375, + D3D10_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING = 376, + D3D10_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 = 377, + D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT = 378, + D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT = 379, + D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT = 380, + D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN = 381, + D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN = 382, + D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN = 383, + D3D10_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET = 384, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC = 385, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC = 386, + D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH = 387, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW = 388, + D3D10_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS = 389, + D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH = 390, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH = 391, + D3D10_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY = 392, + D3D10_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY = 393, + D3D10_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN = 394, + D3D10_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN = 395, + D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER = 396, + D3D10_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED = 397, + D3D10_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER = 398, + D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN = 399, + D3D10_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN = 400, + D3D10_MESSAGE_ID_CREATECOUNTER_NULLDESC = 401, + D3D10_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER = 402, + D3D10_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER = 403, + D3D10_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE = 404, + D3D10_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED = 405, + D3D10_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION = 406, + D3D10_MESSAGE_ID_QUERY_BEGIN_DUPLICATE = 407, + D3D10_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS = 408, + D3D10_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION = 409, + D3D10_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS = 410, + D3D10_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN = 411, + D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE = 412, + D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS = 413, + D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL = 414, + D3D10_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH = 415, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED = 416, + D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN = 417, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE = 418, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE = 419, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT = 420, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH = 421, + D3D10_MESSAGE_ID_LIVE_OBJECT_SUMMARY = 422, + D3D10_MESSAGE_ID_LIVE_BUFFER = 423, + D3D10_MESSAGE_ID_LIVE_TEXTURE1D = 424, + D3D10_MESSAGE_ID_LIVE_TEXTURE2D = 425, + D3D10_MESSAGE_ID_LIVE_TEXTURE3D = 426, + D3D10_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW = 427, + D3D10_MESSAGE_ID_LIVE_RENDERTARGETVIEW = 428, + D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW = 429, + D3D10_MESSAGE_ID_LIVE_VERTEXSHADER = 430, + D3D10_MESSAGE_ID_LIVE_GEOMETRYSHADER = 431, + D3D10_MESSAGE_ID_LIVE_PIXELSHADER = 432, + D3D10_MESSAGE_ID_LIVE_INPUTLAYOUT = 433, + D3D10_MESSAGE_ID_LIVE_SAMPLER = 434, + D3D10_MESSAGE_ID_LIVE_BLENDSTATE = 435, + D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE = 436, + D3D10_MESSAGE_ID_LIVE_RASTERIZERSTATE = 437, + D3D10_MESSAGE_ID_LIVE_QUERY = 438, + D3D10_MESSAGE_ID_LIVE_PREDICATE = 439, + D3D10_MESSAGE_ID_LIVE_COUNTER = 440, + D3D10_MESSAGE_ID_LIVE_DEVICE = 441, + D3D10_MESSAGE_ID_LIVE_SWAPCHAIN = 442, + D3D10_MESSAGE_ID_D3D10_MESSAGES_END = 443, + D3D10_MESSAGE_ID_D3D10L9_MESSAGES_START = 0x100000, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED = 0x100001, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED = 0x100002, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT = 0x100003, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY = 0x100004, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE = 0x100005, + D3D10_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED = 0x100006, + D3D10_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS = 0x100007, + D3D10_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS = 0x100008, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS = 0x100009, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND = 0x10000a, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D = 0x10000b, + D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE = 0x10000c, + D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE = 0x10000d, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS = 0x10000e, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS = 0x10000f, + D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX = 0x100010, + D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS = 0x100011, + D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED = 0x100012, + D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS = 0x100013, + D3D10_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY = 0x100014, + D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK = 0x100015, + D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK = 0x100016, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT = 0x100017, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE = 0x100018, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE = 0x100019, + D3D10_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE = 0x10001a, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD = 0x10001b, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL = 0x10001c, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX = 0x10001d, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO = 0x10001e, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES = 0x10001f, + D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET = 0x100020, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER = 0x100021, + D3D10_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE = 0x100022, + D3D10_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE = 0x100023, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE = 0x100024, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS = 0x100025, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT = 0x100026, + D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS = 0x100027, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES = 0x100028, + D3D10_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED = 0x100029, + D3D10_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED = 0x10002a, + D3D10_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED = 0x10002b, + D3D10_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED = 0x10002c, + D3D10_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED = 0x10002d, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND = 0x10002e, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND = 0x10002f, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED = 0x100030, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE = 0x100031, + D3D10_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED = 0x100032, + D3D10_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3 = 0x100033, + D3D10_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED = 0x100034, + D3D10_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO = 0x100035, + D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION = 0x100036, + D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED = 0x100037, + D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR = 0x100038, + D3D10_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA = 0x100039, + D3D10_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP = 0x10003a, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED = 0x10003b, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT = 0x10003c, + D3D10_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES = 0x10003d, + D3D10_MESSAGE_ID_D3D10L9_MESSAGES_END = 0x10003e +} D3D10_MESSAGE_ID; +typedef struct D3D10_MESSAGE { + D3D10_MESSAGE_CATEGORY Category; + D3D10_MESSAGE_SEVERITY Severity; + D3D10_MESSAGE_ID ID; + const char *pDescription; + SIZE_T DescriptionByteLength; +} D3D10_MESSAGE; +typedef struct D3D10_INFO_QUEUE_FILTER_DESC { + UINT NumCategories; + D3D10_MESSAGE_CATEGORY *pCategoryList; + UINT NumSeverities; + D3D10_MESSAGE_SEVERITY *pSeverityList; + UINT NumIDs; + D3D10_MESSAGE_ID *pIDList; +} D3D10_INFO_QUEUE_FILTER_DESC; +typedef struct D3D10_INFO_QUEUE_FILTER { + D3D10_INFO_QUEUE_FILTER_DESC AllowList; + D3D10_INFO_QUEUE_FILTER_DESC DenyList; +} D3D10_INFO_QUEUE_FILTER; +/***************************************************************************** + * ID3D10InfoQueue interface + */ +#ifndef __ID3D10InfoQueue_INTERFACE_DEFINED__ +#define __ID3D10InfoQueue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10InfoQueue, 0x1b940b17, 0x2642, 0x4d1f, 0xab,0x1f, 0xb9,0x9b,0xad,0x0c,0x39,0x5f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1b940b17-2642-4d1f-ab1f-b99bad0c395f") +ID3D10InfoQueue : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMessageCountLimit( + UINT64 limit) = 0; + + virtual void STDMETHODCALLTYPE ClearStoredMessages( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessage( + UINT64 message_idx, + D3D10_MESSAGE *message, + SIZE_T *message_size) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumMessagesAllowedByStorageFilter( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumMessagesDeniedByStorageFilter( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumStoredMessages( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumStoredMessagesAllowedByRetrievalFilter( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumMessagesDiscardedByMessageCountLimit( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetMessageCountLimit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStorageFilterEntries( + D3D10_INFO_QUEUE_FILTER *filter) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStorageFilter( + D3D10_INFO_QUEUE_FILTER *filter, + SIZE_T *filter_size) = 0; + + virtual void STDMETHODCALLTYPE ClearStorageFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushEmptyStorageFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushCopyOfStorageFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushStorageFilter( + D3D10_INFO_QUEUE_FILTER *filter) = 0; + + virtual void STDMETHODCALLTYPE PopStorageFilter( + ) = 0; + + virtual UINT STDMETHODCALLTYPE GetStorageFilterStackSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRetrievalFilterEntries( + D3D10_INFO_QUEUE_FILTER *filter) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRetrievalFilter( + D3D10_INFO_QUEUE_FILTER *filter, + SIZE_T *filterbytelength) = 0; + + virtual void STDMETHODCALLTYPE ClearRetrievalFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushEmptyRetrievalFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushCopyOfRetrievalFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushRetrievalFilter( + D3D10_INFO_QUEUE_FILTER *filter) = 0; + + virtual void STDMETHODCALLTYPE PopRetrievalFilter( + ) = 0; + + virtual UINT STDMETHODCALLTYPE GetRetrievalFilterStackSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMessage( + D3D10_MESSAGE_CATEGORY category, + D3D10_MESSAGE_SEVERITY severity, + D3D10_MESSAGE_ID id, + const char *description) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddApplicationMessage( + D3D10_MESSAGE_SEVERITY severity, + const char *description) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakOnCategory( + D3D10_MESSAGE_CATEGORY category, + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakOnSeverity( + D3D10_MESSAGE_SEVERITY severity, + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakOnID( + D3D10_MESSAGE_ID id, + BOOL enable) = 0; + + virtual BOOL STDMETHODCALLTYPE GetBreakOnCategory( + D3D10_MESSAGE_CATEGORY category) = 0; + + virtual BOOL STDMETHODCALLTYPE GetBreakOnSeverity( + D3D10_MESSAGE_SEVERITY severity) = 0; + + virtual BOOL STDMETHODCALLTYPE GetBreakOnID( + D3D10_MESSAGE_ID id) = 0; + + virtual void STDMETHODCALLTYPE SetMuteDebugOutput( + BOOL mute) = 0; + + virtual BOOL STDMETHODCALLTYPE GetMuteDebugOutput( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10InfoQueue, 0x1b940b17, 0x2642, 0x4d1f, 0xab,0x1f, 0xb9,0x9b,0xad,0x0c,0x39,0x5f) +#endif +#else +typedef struct ID3D10InfoQueueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10InfoQueue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10InfoQueue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10InfoQueue *This); + + /*** ID3D10InfoQueue methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMessageCountLimit)( + ID3D10InfoQueue *This, + UINT64 limit); + + void (STDMETHODCALLTYPE *ClearStoredMessages)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *GetMessage)( + ID3D10InfoQueue *This, + UINT64 message_idx, + D3D10_MESSAGE *message, + SIZE_T *message_size); + + UINT64 (STDMETHODCALLTYPE *GetNumMessagesAllowedByStorageFilter)( + ID3D10InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumMessagesDeniedByStorageFilter)( + ID3D10InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumStoredMessages)( + ID3D10InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumStoredMessagesAllowedByRetrievalFilter)( + ID3D10InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumMessagesDiscardedByMessageCountLimit)( + ID3D10InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetMessageCountLimit)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *AddStorageFilterEntries)( + ID3D10InfoQueue *This, + D3D10_INFO_QUEUE_FILTER *filter); + + HRESULT (STDMETHODCALLTYPE *GetStorageFilter)( + ID3D10InfoQueue *This, + D3D10_INFO_QUEUE_FILTER *filter, + SIZE_T *filter_size); + + void (STDMETHODCALLTYPE *ClearStorageFilter)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushEmptyStorageFilter)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushCopyOfStorageFilter)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushStorageFilter)( + ID3D10InfoQueue *This, + D3D10_INFO_QUEUE_FILTER *filter); + + void (STDMETHODCALLTYPE *PopStorageFilter)( + ID3D10InfoQueue *This); + + UINT (STDMETHODCALLTYPE *GetStorageFilterStackSize)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *AddRetrievalFilterEntries)( + ID3D10InfoQueue *This, + D3D10_INFO_QUEUE_FILTER *filter); + + HRESULT (STDMETHODCALLTYPE *GetRetrievalFilter)( + ID3D10InfoQueue *This, + D3D10_INFO_QUEUE_FILTER *filter, + SIZE_T *filterbytelength); + + void (STDMETHODCALLTYPE *ClearRetrievalFilter)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushEmptyRetrievalFilter)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushCopyOfRetrievalFilter)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushRetrievalFilter)( + ID3D10InfoQueue *This, + D3D10_INFO_QUEUE_FILTER *filter); + + void (STDMETHODCALLTYPE *PopRetrievalFilter)( + ID3D10InfoQueue *This); + + UINT (STDMETHODCALLTYPE *GetRetrievalFilterStackSize)( + ID3D10InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *AddMessage)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_CATEGORY category, + D3D10_MESSAGE_SEVERITY severity, + D3D10_MESSAGE_ID id, + const char *description); + + HRESULT (STDMETHODCALLTYPE *AddApplicationMessage)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_SEVERITY severity, + const char *description); + + HRESULT (STDMETHODCALLTYPE *SetBreakOnCategory)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_CATEGORY category, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *SetBreakOnSeverity)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_SEVERITY severity, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *SetBreakOnID)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_ID id, + BOOL enable); + + BOOL (STDMETHODCALLTYPE *GetBreakOnCategory)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_CATEGORY category); + + BOOL (STDMETHODCALLTYPE *GetBreakOnSeverity)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_SEVERITY severity); + + BOOL (STDMETHODCALLTYPE *GetBreakOnID)( + ID3D10InfoQueue *This, + D3D10_MESSAGE_ID id); + + void (STDMETHODCALLTYPE *SetMuteDebugOutput)( + ID3D10InfoQueue *This, + BOOL mute); + + BOOL (STDMETHODCALLTYPE *GetMuteDebugOutput)( + ID3D10InfoQueue *This); + + END_INTERFACE +} ID3D10InfoQueueVtbl; + +interface ID3D10InfoQueue { + CONST_VTBL ID3D10InfoQueueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10InfoQueue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10InfoQueue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10InfoQueue_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10InfoQueue methods ***/ +#define ID3D10InfoQueue_SetMessageCountLimit(This,limit) (This)->lpVtbl->SetMessageCountLimit(This,limit) +#define ID3D10InfoQueue_ClearStoredMessages(This) (This)->lpVtbl->ClearStoredMessages(This) +#define ID3D10InfoQueue_GetMessage(This,message_idx,message,message_size) (This)->lpVtbl->GetMessage(This,message_idx,message,message_size) +#define ID3D10InfoQueue_GetNumMessagesAllowedByStorageFilter(This) (This)->lpVtbl->GetNumMessagesAllowedByStorageFilter(This) +#define ID3D10InfoQueue_GetNumMessagesDeniedByStorageFilter(This) (This)->lpVtbl->GetNumMessagesDeniedByStorageFilter(This) +#define ID3D10InfoQueue_GetNumStoredMessages(This) (This)->lpVtbl->GetNumStoredMessages(This) +#define ID3D10InfoQueue_GetNumStoredMessagesAllowedByRetrievalFilter(This) (This)->lpVtbl->GetNumStoredMessagesAllowedByRetrievalFilter(This) +#define ID3D10InfoQueue_GetNumMessagesDiscardedByMessageCountLimit(This) (This)->lpVtbl->GetNumMessagesDiscardedByMessageCountLimit(This) +#define ID3D10InfoQueue_GetMessageCountLimit(This) (This)->lpVtbl->GetMessageCountLimit(This) +#define ID3D10InfoQueue_AddStorageFilterEntries(This,filter) (This)->lpVtbl->AddStorageFilterEntries(This,filter) +#define ID3D10InfoQueue_GetStorageFilter(This,filter,filter_size) (This)->lpVtbl->GetStorageFilter(This,filter,filter_size) +#define ID3D10InfoQueue_ClearStorageFilter(This) (This)->lpVtbl->ClearStorageFilter(This) +#define ID3D10InfoQueue_PushEmptyStorageFilter(This) (This)->lpVtbl->PushEmptyStorageFilter(This) +#define ID3D10InfoQueue_PushCopyOfStorageFilter(This) (This)->lpVtbl->PushCopyOfStorageFilter(This) +#define ID3D10InfoQueue_PushStorageFilter(This,filter) (This)->lpVtbl->PushStorageFilter(This,filter) +#define ID3D10InfoQueue_PopStorageFilter(This) (This)->lpVtbl->PopStorageFilter(This) +#define ID3D10InfoQueue_GetStorageFilterStackSize(This) (This)->lpVtbl->GetStorageFilterStackSize(This) +#define ID3D10InfoQueue_AddRetrievalFilterEntries(This,filter) (This)->lpVtbl->AddRetrievalFilterEntries(This,filter) +#define ID3D10InfoQueue_GetRetrievalFilter(This,filter,filterbytelength) (This)->lpVtbl->GetRetrievalFilter(This,filter,filterbytelength) +#define ID3D10InfoQueue_ClearRetrievalFilter(This) (This)->lpVtbl->ClearRetrievalFilter(This) +#define ID3D10InfoQueue_PushEmptyRetrievalFilter(This) (This)->lpVtbl->PushEmptyRetrievalFilter(This) +#define ID3D10InfoQueue_PushCopyOfRetrievalFilter(This) (This)->lpVtbl->PushCopyOfRetrievalFilter(This) +#define ID3D10InfoQueue_PushRetrievalFilter(This,filter) (This)->lpVtbl->PushRetrievalFilter(This,filter) +#define ID3D10InfoQueue_PopRetrievalFilter(This) (This)->lpVtbl->PopRetrievalFilter(This) +#define ID3D10InfoQueue_GetRetrievalFilterStackSize(This) (This)->lpVtbl->GetRetrievalFilterStackSize(This) +#define ID3D10InfoQueue_AddMessage(This,category,severity,id,description) (This)->lpVtbl->AddMessage(This,category,severity,id,description) +#define ID3D10InfoQueue_AddApplicationMessage(This,severity,description) (This)->lpVtbl->AddApplicationMessage(This,severity,description) +#define ID3D10InfoQueue_SetBreakOnCategory(This,category,enable) (This)->lpVtbl->SetBreakOnCategory(This,category,enable) +#define ID3D10InfoQueue_SetBreakOnSeverity(This,severity,enable) (This)->lpVtbl->SetBreakOnSeverity(This,severity,enable) +#define ID3D10InfoQueue_SetBreakOnID(This,id,enable) (This)->lpVtbl->SetBreakOnID(This,id,enable) +#define ID3D10InfoQueue_GetBreakOnCategory(This,category) (This)->lpVtbl->GetBreakOnCategory(This,category) +#define ID3D10InfoQueue_GetBreakOnSeverity(This,severity) (This)->lpVtbl->GetBreakOnSeverity(This,severity) +#define ID3D10InfoQueue_GetBreakOnID(This,id) (This)->lpVtbl->GetBreakOnID(This,id) +#define ID3D10InfoQueue_SetMuteDebugOutput(This,mute) (This)->lpVtbl->SetMuteDebugOutput(This,mute) +#define ID3D10InfoQueue_GetMuteDebugOutput(This) (This)->lpVtbl->GetMuteDebugOutput(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10InfoQueue_QueryInterface(ID3D10InfoQueue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10InfoQueue_AddRef(ID3D10InfoQueue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10InfoQueue_Release(ID3D10InfoQueue* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10InfoQueue methods ***/ +static FORCEINLINE HRESULT ID3D10InfoQueue_SetMessageCountLimit(ID3D10InfoQueue* This,UINT64 limit) { + return This->lpVtbl->SetMessageCountLimit(This,limit); +} +static FORCEINLINE void ID3D10InfoQueue_ClearStoredMessages(ID3D10InfoQueue* This) { + This->lpVtbl->ClearStoredMessages(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_GetMessage(ID3D10InfoQueue* This,UINT64 message_idx,D3D10_MESSAGE *message,SIZE_T *message_size) { + return This->lpVtbl->GetMessage(This,message_idx,message,message_size); +} +static FORCEINLINE UINT64 ID3D10InfoQueue_GetNumMessagesAllowedByStorageFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->GetNumMessagesAllowedByStorageFilter(This); +} +static FORCEINLINE UINT64 ID3D10InfoQueue_GetNumMessagesDeniedByStorageFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->GetNumMessagesDeniedByStorageFilter(This); +} +static FORCEINLINE UINT64 ID3D10InfoQueue_GetNumStoredMessages(ID3D10InfoQueue* This) { + return This->lpVtbl->GetNumStoredMessages(This); +} +static FORCEINLINE UINT64 ID3D10InfoQueue_GetNumStoredMessagesAllowedByRetrievalFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->GetNumStoredMessagesAllowedByRetrievalFilter(This); +} +static FORCEINLINE UINT64 ID3D10InfoQueue_GetNumMessagesDiscardedByMessageCountLimit(ID3D10InfoQueue* This) { + return This->lpVtbl->GetNumMessagesDiscardedByMessageCountLimit(This); +} +static FORCEINLINE UINT64 ID3D10InfoQueue_GetMessageCountLimit(ID3D10InfoQueue* This) { + return This->lpVtbl->GetMessageCountLimit(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_AddStorageFilterEntries(ID3D10InfoQueue* This,D3D10_INFO_QUEUE_FILTER *filter) { + return This->lpVtbl->AddStorageFilterEntries(This,filter); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_GetStorageFilter(ID3D10InfoQueue* This,D3D10_INFO_QUEUE_FILTER *filter,SIZE_T *filter_size) { + return This->lpVtbl->GetStorageFilter(This,filter,filter_size); +} +static FORCEINLINE void ID3D10InfoQueue_ClearStorageFilter(ID3D10InfoQueue* This) { + This->lpVtbl->ClearStorageFilter(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_PushEmptyStorageFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->PushEmptyStorageFilter(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_PushCopyOfStorageFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->PushCopyOfStorageFilter(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_PushStorageFilter(ID3D10InfoQueue* This,D3D10_INFO_QUEUE_FILTER *filter) { + return This->lpVtbl->PushStorageFilter(This,filter); +} +static FORCEINLINE void ID3D10InfoQueue_PopStorageFilter(ID3D10InfoQueue* This) { + This->lpVtbl->PopStorageFilter(This); +} +static FORCEINLINE UINT ID3D10InfoQueue_GetStorageFilterStackSize(ID3D10InfoQueue* This) { + return This->lpVtbl->GetStorageFilterStackSize(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_AddRetrievalFilterEntries(ID3D10InfoQueue* This,D3D10_INFO_QUEUE_FILTER *filter) { + return This->lpVtbl->AddRetrievalFilterEntries(This,filter); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_GetRetrievalFilter(ID3D10InfoQueue* This,D3D10_INFO_QUEUE_FILTER *filter,SIZE_T *filterbytelength) { + return This->lpVtbl->GetRetrievalFilter(This,filter,filterbytelength); +} +static FORCEINLINE void ID3D10InfoQueue_ClearRetrievalFilter(ID3D10InfoQueue* This) { + This->lpVtbl->ClearRetrievalFilter(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_PushEmptyRetrievalFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->PushEmptyRetrievalFilter(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_PushCopyOfRetrievalFilter(ID3D10InfoQueue* This) { + return This->lpVtbl->PushCopyOfRetrievalFilter(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_PushRetrievalFilter(ID3D10InfoQueue* This,D3D10_INFO_QUEUE_FILTER *filter) { + return This->lpVtbl->PushRetrievalFilter(This,filter); +} +static FORCEINLINE void ID3D10InfoQueue_PopRetrievalFilter(ID3D10InfoQueue* This) { + This->lpVtbl->PopRetrievalFilter(This); +} +static FORCEINLINE UINT ID3D10InfoQueue_GetRetrievalFilterStackSize(ID3D10InfoQueue* This) { + return This->lpVtbl->GetRetrievalFilterStackSize(This); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_AddMessage(ID3D10InfoQueue* This,D3D10_MESSAGE_CATEGORY category,D3D10_MESSAGE_SEVERITY severity,D3D10_MESSAGE_ID id,const char *description) { + return This->lpVtbl->AddMessage(This,category,severity,id,description); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_AddApplicationMessage(ID3D10InfoQueue* This,D3D10_MESSAGE_SEVERITY severity,const char *description) { + return This->lpVtbl->AddApplicationMessage(This,severity,description); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_SetBreakOnCategory(ID3D10InfoQueue* This,D3D10_MESSAGE_CATEGORY category,BOOL enable) { + return This->lpVtbl->SetBreakOnCategory(This,category,enable); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_SetBreakOnSeverity(ID3D10InfoQueue* This,D3D10_MESSAGE_SEVERITY severity,BOOL enable) { + return This->lpVtbl->SetBreakOnSeverity(This,severity,enable); +} +static FORCEINLINE HRESULT ID3D10InfoQueue_SetBreakOnID(ID3D10InfoQueue* This,D3D10_MESSAGE_ID id,BOOL enable) { + return This->lpVtbl->SetBreakOnID(This,id,enable); +} +static FORCEINLINE BOOL ID3D10InfoQueue_GetBreakOnCategory(ID3D10InfoQueue* This,D3D10_MESSAGE_CATEGORY category) { + return This->lpVtbl->GetBreakOnCategory(This,category); +} +static FORCEINLINE BOOL ID3D10InfoQueue_GetBreakOnSeverity(ID3D10InfoQueue* This,D3D10_MESSAGE_SEVERITY severity) { + return This->lpVtbl->GetBreakOnSeverity(This,severity); +} +static FORCEINLINE BOOL ID3D10InfoQueue_GetBreakOnID(ID3D10InfoQueue* This,D3D10_MESSAGE_ID id) { + return This->lpVtbl->GetBreakOnID(This,id); +} +static FORCEINLINE void ID3D10InfoQueue_SetMuteDebugOutput(ID3D10InfoQueue* This,BOOL mute) { + This->lpVtbl->SetMuteDebugOutput(This,mute); +} +static FORCEINLINE BOOL ID3D10InfoQueue_GetMuteDebugOutput(ID3D10InfoQueue* This) { + return This->lpVtbl->GetMuteDebugOutput(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10InfoQueue_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d10sdklayers_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10sdklayers.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10sdklayers.idl new file mode 100644 index 0000000..be00876 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10sdklayers.idl @@ -0,0 +1,676 @@ +/* + * Copyright 2016 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi.idl"; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetMessage") +cpp_quote("#endif") + +typedef enum D3D10_MESSAGE_CATEGORY +{ + D3D10_MESSAGE_CATEGORY_APPLICATION_DEFINED, + D3D10_MESSAGE_CATEGORY_MISCELLANEOUS, + D3D10_MESSAGE_CATEGORY_INITIALIZATION, + D3D10_MESSAGE_CATEGORY_CLEANUP, + D3D10_MESSAGE_CATEGORY_COMPILATION, + D3D10_MESSAGE_CATEGORY_STATE_CREATION, + D3D10_MESSAGE_CATEGORY_STATE_SETTING, + D3D10_MESSAGE_CATEGORY_STATE_GETTING, + D3D10_MESSAGE_CATEGORY_RESOURCE_MANIPULATION, + D3D10_MESSAGE_CATEGORY_EXECUTION, + D3D10_MESSAGE_CATEGORY_SHADER, +} D3D10_MESSAGE_CATEGORY; + +typedef enum D3D10_MESSAGE_SEVERITY +{ + D3D10_MESSAGE_SEVERITY_CORRUPTION, + D3D10_MESSAGE_SEVERITY_ERROR, + D3D10_MESSAGE_SEVERITY_WARNING, + D3D10_MESSAGE_SEVERITY_INFO, + D3D10_MESSAGE_SEVERITY_MESSAGE, +} D3D10_MESSAGE_SEVERITY; + +typedef enum D3D10_MESSAGE_ID +{ + D3D10_MESSAGE_ID_UNKNOWN = 0, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD, + D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD, + D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD, + D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD, + D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD, + D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD, + D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD, + D3D10_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD, + D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD, + D3D10_MESSAGE_ID_STRING_FROM_APPLICATION, + D3D10_MESSAGE_ID_CORRUPTED_THIS, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER1, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER2, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER3, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER4, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER5, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER6, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER7, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER8, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER9, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER10, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER11, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER12, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER13, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER14, + D3D10_MESSAGE_ID_CORRUPTED_PARAMETER15, + D3D10_MESSAGE_ID_CORRUPTED_MULTITHREADING, + D3D10_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY, + D3D10_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT, + D3D10_MESSAGE_ID_GETPRIVATEDATA_MOREDATA, + D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA, + D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN, + D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS, + D3D10_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS, + D3D10_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATEBUFFER_NULLDESC, + D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS, + D3D10_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATETEXTURE1D_NULLDESC, + D3D10_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATETEXTURE2D_NULLDESC, + D3D10_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS, + D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATETEXTURE3D_NULLDESC, + D3D10_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC, + D3D10_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY, + D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE, + D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE, + D3D10_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY, + D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE, + D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG, + D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC, + D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED, + D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED, + D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE, + D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED, + D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY, + D3D10_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER, + D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED, + D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT, + D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR, + D3D10_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH, + D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH, + D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID, + D3D10_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY, + D3D10_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE, + D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE, + D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE, + D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE, + D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE, + D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE, + D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX, + D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID, + D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID, + D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE, + D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS, + D3D10_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED, + D3D10_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN, + D3D10_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED, + D3D10_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN, + D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE, + D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED, + D3D10_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN, + D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE, + D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED, + D3D10_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN, + D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE, + D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED, + D3D10_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED, + D3D10_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED, + D3D10_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS, + D3D10_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN, + D3D10_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE, + D3D10_MESSAGE_ID_REF_THREADING_MODE, + D3D10_MESSAGE_ID_REF_UMDRIVER_EXCEPTION, + D3D10_MESSAGE_ID_REF_KMDRIVER_EXCEPTION, + D3D10_MESSAGE_ID_REF_HARDWARE_EXCEPTION, + D3D10_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE, + D3D10_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER, + D3D10_MESSAGE_ID_REF_OUT_OF_MEMORY, + D3D10_MESSAGE_ID_REF_INFO, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW, + D3D10_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW, + D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW, + D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW, + D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW, + D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE, + D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL, + D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL, + D3D10_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH, + D3D10_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT, + D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET, + D3D10_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED, + D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED, + D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED, + D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED, + D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED, + D3D10_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE, + D3D10_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER, + D3D10_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING, + D3D10_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0, + D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT, + D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT, + D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT, + D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN, + D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN, + D3D10_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC, + D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC, + D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW, + D3D10_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS, + D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH, + D3D10_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY, + D3D10_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY, + D3D10_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER, + D3D10_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED, + D3D10_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER, + D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN, + D3D10_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN, + D3D10_MESSAGE_ID_CREATECOUNTER_NULLDESC, + D3D10_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER, + D3D10_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER, + D3D10_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE, + D3D10_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED, + D3D10_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION, + D3D10_MESSAGE_ID_QUERY_BEGIN_DUPLICATE, + D3D10_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS, + D3D10_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION, + D3D10_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS, + D3D10_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN, + D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE, + D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS, + D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL, + D3D10_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED, + D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE, + D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT, + D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH, + D3D10_MESSAGE_ID_LIVE_OBJECT_SUMMARY, + D3D10_MESSAGE_ID_LIVE_BUFFER, + D3D10_MESSAGE_ID_LIVE_TEXTURE1D, + D3D10_MESSAGE_ID_LIVE_TEXTURE2D, + D3D10_MESSAGE_ID_LIVE_TEXTURE3D, + D3D10_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW, + D3D10_MESSAGE_ID_LIVE_RENDERTARGETVIEW, + D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW, + D3D10_MESSAGE_ID_LIVE_VERTEXSHADER, + D3D10_MESSAGE_ID_LIVE_GEOMETRYSHADER, + D3D10_MESSAGE_ID_LIVE_PIXELSHADER, + D3D10_MESSAGE_ID_LIVE_INPUTLAYOUT, + D3D10_MESSAGE_ID_LIVE_SAMPLER, + D3D10_MESSAGE_ID_LIVE_BLENDSTATE, + D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE, + D3D10_MESSAGE_ID_LIVE_RASTERIZERSTATE, + D3D10_MESSAGE_ID_LIVE_QUERY, + D3D10_MESSAGE_ID_LIVE_PREDICATE, + D3D10_MESSAGE_ID_LIVE_COUNTER, + D3D10_MESSAGE_ID_LIVE_DEVICE, + D3D10_MESSAGE_ID_LIVE_SWAPCHAIN, + D3D10_MESSAGE_ID_D3D10_MESSAGES_END, + + D3D10_MESSAGE_ID_D3D10L9_MESSAGES_START = 0x00100000, + D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE, + D3D10_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED, + D3D10_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS, + D3D10_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D, + D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE, + D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS, + D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX, + D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS, + D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED, + D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS, + D3D10_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY, + D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK, + D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK, + D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE, + D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE, + D3D10_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO, + D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES, + D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER, + D3D10_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE, + D3D10_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT, + D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS, + D3D10_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES, + D3D10_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED, + D3D10_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED, + D3D10_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED, + D3D10_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED, + D3D10_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND, + D3D10_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE, + D3D10_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED, + D3D10_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3, + D3D10_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED, + D3D10_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO, + D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION, + D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED, + D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR, + D3D10_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA, + D3D10_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP, + D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED, + D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT, + D3D10_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES, + D3D10_MESSAGE_ID_D3D10L9_MESSAGES_END, +} D3D10_MESSAGE_ID; + +typedef struct D3D10_MESSAGE +{ + D3D10_MESSAGE_CATEGORY Category; + D3D10_MESSAGE_SEVERITY Severity; + D3D10_MESSAGE_ID ID; + const char *pDescription; + SIZE_T DescriptionByteLength; +} D3D10_MESSAGE; + +typedef struct D3D10_INFO_QUEUE_FILTER_DESC +{ + UINT NumCategories; + D3D10_MESSAGE_CATEGORY *pCategoryList; + UINT NumSeverities; + D3D10_MESSAGE_SEVERITY *pSeverityList; + UINT NumIDs; + D3D10_MESSAGE_ID *pIDList; +} D3D10_INFO_QUEUE_FILTER_DESC; + +typedef struct D3D10_INFO_QUEUE_FILTER +{ + D3D10_INFO_QUEUE_FILTER_DESC AllowList; + D3D10_INFO_QUEUE_FILTER_DESC DenyList; +} D3D10_INFO_QUEUE_FILTER; + +[ + local, + object, + uuid(1b940b17-2642-4d1f-ab1f-b99bad0c395f), + pointer_default(unique) +] +interface ID3D10InfoQueue : IUnknown +{ + HRESULT SetMessageCountLimit( + [in] UINT64 limit + ); + void ClearStoredMessages(); + HRESULT GetMessage( + [in] UINT64 message_idx, + [out] D3D10_MESSAGE *message, + [in, out] SIZE_T *message_size + ); + UINT64 GetNumMessagesAllowedByStorageFilter(); + UINT64 GetNumMessagesDeniedByStorageFilter(); + UINT64 GetNumStoredMessages(); + UINT64 GetNumStoredMessagesAllowedByRetrievalFilter(); + UINT64 GetNumMessagesDiscardedByMessageCountLimit(); + UINT64 GetMessageCountLimit(); + HRESULT AddStorageFilterEntries( + [in] D3D10_INFO_QUEUE_FILTER *filter + ); + HRESULT GetStorageFilter( + [out] D3D10_INFO_QUEUE_FILTER *filter, + [in, out] SIZE_T *filter_size + ); + void ClearStorageFilter(); + HRESULT PushEmptyStorageFilter(); + HRESULT PushCopyOfStorageFilter(); + HRESULT PushStorageFilter( + [in] D3D10_INFO_QUEUE_FILTER *filter + ); + void PopStorageFilter(); + UINT GetStorageFilterStackSize(); + HRESULT AddRetrievalFilterEntries( + [in] D3D10_INFO_QUEUE_FILTER *filter + ); + HRESULT GetRetrievalFilter( + [out] D3D10_INFO_QUEUE_FILTER *filter, + [in, out] SIZE_T *filterbytelength + ); + void ClearRetrievalFilter(); + HRESULT PushEmptyRetrievalFilter(); + HRESULT PushCopyOfRetrievalFilter(); + HRESULT PushRetrievalFilter( + [in] D3D10_INFO_QUEUE_FILTER *filter + ); + void PopRetrievalFilter(); + UINT GetRetrievalFilterStackSize(); + HRESULT AddMessage( + [in] D3D10_MESSAGE_CATEGORY category, + [in] D3D10_MESSAGE_SEVERITY severity, + [in] D3D10_MESSAGE_ID id, + [in] const char *description + ); + HRESULT AddApplicationMessage( + [in] D3D10_MESSAGE_SEVERITY severity, + [in] const char *description + ); + HRESULT SetBreakOnCategory( + [in] D3D10_MESSAGE_CATEGORY category, + [in] BOOL enable + ); + HRESULT SetBreakOnSeverity( + [in] D3D10_MESSAGE_SEVERITY severity, + [in] BOOL enable + ); + HRESULT SetBreakOnID( + [in] D3D10_MESSAGE_ID id, + [in] BOOL enable + ); + BOOL GetBreakOnCategory( + [in] D3D10_MESSAGE_CATEGORY category + ); + BOOL GetBreakOnSeverity( + [in] D3D10_MESSAGE_SEVERITY severity + ); + BOOL GetBreakOnID( + [in] D3D10_MESSAGE_ID id + ); + void SetMuteDebugOutput( + [in] BOOL mute + ); + BOOL GetMuteDebugOutput(); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10shader.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10shader.h new file mode 100644 index 0000000..4a2fef9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d10shader.h @@ -0,0 +1,233 @@ +/* + * Copyright 2009 Henri Verbeet for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef __WINE_D3D10SHADER_H +#define __WINE_D3D10SHADER_H + +#include "d3d10.h" + +#define D3D10_SHADER_DEBUG 0x0001 +#define D3D10_SHADER_SKIP_VALIDATION 0x0002 +#define D3D10_SHADER_SKIP_OPTIMIZATION 0x0004 +#define D3D10_SHADER_PACK_MATRIX_ROW_MAJOR 0x0008 +#define D3D10_SHADER_PACK_MATRIX_COLUMN_MAJOR 0x0010 +#define D3D10_SHADER_PARTIAL_PRECISION 0x0020 +#define D3D10_SHADER_FORCE_VS_SOFTWARE_NO_OPT 0x0040 +#define D3D10_SHADER_FORCE_PS_SOFTWARE_NO_OPT 0x0080 +#define D3D10_SHADER_NO_PRESHADER 0x0100 +#define D3D10_SHADER_AVOID_FLOW_CONTROL 0x0200 +#define D3D10_SHADER_PREFER_FLOW_CONTROL 0x0400 +#define D3D10_SHADER_ENABLE_STRICTNESS 0x0800 +#define D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY 0x1000 +#define D3D10_SHADER_IEEE_STRICTNESS 0x2000 +#define D3D10_SHADER_WARNINGS_ARE_ERRORS 0x40000 + +#define D3D10_SHADER_OPTIMIZATION_LEVEL0 0x4000 +#define D3D10_SHADER_OPTIMIZATION_LEVEL1 0x0000 +#define D3D10_SHADER_OPTIMIZATION_LEVEL2 0xC000 +#define D3D10_SHADER_OPTIMIZATION_LEVEL3 0x8000 + +/* These are defined as version-neutral in d3dcommon.h */ +typedef D3D_SHADER_MACRO D3D10_SHADER_MACRO; +typedef D3D_SHADER_MACRO *LPD3D10_SHADER_MACRO; + +typedef D3D_SHADER_VARIABLE_CLASS D3D10_SHADER_VARIABLE_CLASS; +typedef D3D_SHADER_VARIABLE_CLASS *LPD3D10_SHADER_VARIABLE_CLASS; + +typedef D3D_CBUFFER_TYPE D3D10_CBUFFER_TYPE; +typedef D3D_CBUFFER_TYPE *LPD3D10_CBUFFER_TYPE; + +typedef D3D_REGISTER_COMPONENT_TYPE D3D10_REGISTER_COMPONENT_TYPE; + +typedef D3D_RESOURCE_RETURN_TYPE D3D10_RESOURCE_RETURN_TYPE; + +typedef D3D_NAME D3D10_NAME; + +typedef D3D_SHADER_INPUT_TYPE D3D10_SHADER_INPUT_TYPE; +typedef D3D_SHADER_INPUT_TYPE *LPD3D10_SHADER_INPUT_TYPE; + +typedef D3D_SHADER_VARIABLE_TYPE D3D10_SHADER_VARIABLE_TYPE; +typedef D3D_SHADER_VARIABLE_TYPE *LPD3D10_SHADER_VARIABLE_TYPE; + +typedef D3D_INCLUDE_TYPE D3D10_INCLUDE_TYPE; +typedef ID3DInclude ID3D10Include; +typedef ID3DInclude *LPD3D10INCLUDE; +#define IID_ID3D10Include IID_ID3DInclude + +typedef struct _D3D10_SHADER_INPUT_BIND_DESC +{ + const char *Name; + D3D10_SHADER_INPUT_TYPE Type; + UINT BindPoint; + UINT BindCount; + UINT uFlags; + D3D10_RESOURCE_RETURN_TYPE ReturnType; + D3D10_SRV_DIMENSION Dimension; + UINT NumSamples; +} D3D10_SHADER_INPUT_BIND_DESC; + +typedef struct _D3D10_SIGNATURE_PARAMETER_DESC +{ + const char *SemanticName; + UINT SemanticIndex; + UINT Register; + D3D10_NAME SystemValueType; + D3D10_REGISTER_COMPONENT_TYPE ComponentType; + BYTE Mask; + BYTE ReadWriteMask; +} D3D10_SIGNATURE_PARAMETER_DESC; + +typedef struct _D3D10_SHADER_DESC +{ + UINT Version; + const char *Creator; + UINT Flags; + UINT ConstantBuffers; + UINT BoundResources; + UINT InputParameters; + UINT OutputParameters; + UINT InstructionCount; + UINT TempRegisterCount; + UINT TempArrayCount; + UINT DefCount; + UINT DclCount; + UINT TextureNormalInstructions; + UINT TextureLoadInstructions; + UINT TextureCompInstructions; + UINT TextureBiasInstructions; + UINT TextureGradientInstructions; + UINT FloatInstructionCount; + UINT IntInstructionCount; + UINT UintInstructionCount; + UINT StaticFlowControlCount; + UINT DynamicFlowControlCount; + UINT MacroInstructionCount; + UINT ArrayInstructionCount; + UINT CutInstructionCount; + UINT EmitInstructionCount; + D3D10_PRIMITIVE_TOPOLOGY GSOutputTopology; + UINT GSMaxOutputVertexCount; +} D3D10_SHADER_DESC; + +typedef struct _D3D10_SHADER_BUFFER_DESC +{ + const char *Name; + D3D10_CBUFFER_TYPE Type; + UINT Variables; + UINT Size; + UINT uFlags; +} D3D10_SHADER_BUFFER_DESC; + +typedef struct _D3D10_SHADER_VARIABLE_DESC +{ + const char *Name; + UINT StartOffset; + UINT Size; + UINT uFlags; + void *DefaultValue; +} D3D10_SHADER_VARIABLE_DESC; + +typedef struct _D3D10_SHADER_TYPE_DESC +{ + D3D10_SHADER_VARIABLE_CLASS Class; + D3D10_SHADER_VARIABLE_TYPE Type; + UINT Rows; + UINT Columns; + UINT Elements; + UINT Members; + UINT Offset; +} D3D10_SHADER_TYPE_DESC; + +DEFINE_GUID(IID_ID3D10ShaderReflectionType, 0xc530ad7d, 0x9b16, 0x4395, 0xa9, 0x79, 0xba, 0x2e, 0xcf, 0xf8, 0x3a, 0xdd); + +#define INTERFACE ID3D10ShaderReflectionType +DECLARE_INTERFACE(ID3D10ShaderReflectionType) +{ + STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_TYPE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionType *, GetMemberTypeByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionType *, GetMemberTypeByName)(THIS_ const char *name) PURE; + STDMETHOD_(const char *, GetMemberTypeName)(THIS_ UINT index) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10ShaderReflectionVariable, 0x1bf63c95, 0x2650, 0x405d, 0x99, 0xc1, 0x36, 0x36, 0xbd, 0x1d, 0xa0, 0xa1); + +#define INTERFACE ID3D10ShaderReflectionVariable +DECLARE_INTERFACE(ID3D10ShaderReflectionVariable) +{ + STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionType *, GetType)(THIS) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10ShaderReflectionConstantBuffer, 0x66c66a94, 0xdddd, 0x4b62, 0xa6, 0x6a, 0xf0, 0xda, 0x33, 0xc2, 0xb4, 0xd0); + +#define INTERFACE ID3D10ShaderReflectionConstantBuffer +DECLARE_INTERFACE(ID3D10ShaderReflectionConstantBuffer) +{ + STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_BUFFER_DESC *desc) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionVariable *, GetVariableByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D10ShaderReflection, 0xd40e20b6, 0xf8f7, 0x42ad, 0xab, 0x20, 0x4b, 0xaf, 0x8f, 0x15, 0xdf, 0xaa); + +#define INTERFACE ID3D10ShaderReflection +DECLARE_INTERFACE_(ID3D10ShaderReflection, IUnknown) +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* ID3D10ShaderReflection methods */ + STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_DESC *desc) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE; + STDMETHOD(GetResourceBindingDesc)(THIS_ UINT index, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE; + STDMETHOD(GetInputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD(GetOutputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE; +}; +#undef INTERFACE + + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3D10CompileShader(const char *data, SIZE_T data_size, const char *filename, + const D3D10_SHADER_MACRO *defines, ID3D10Include *include, const char *entrypoint, + const char *profile, UINT flags, ID3D10Blob **shader, ID3D10Blob **error_messages); +HRESULT WINAPI D3D10DisassembleShader(const void *data, SIZE_T data_size, + BOOL color_code, const char *comments, ID3D10Blob **disassembly); +const char * WINAPI D3D10GetVertexShaderProfile(ID3D10Device *device); +const char * WINAPI D3D10GetGeometryShaderProfile(ID3D10Device *device); +const char * WINAPI D3D10GetPixelShaderProfile(ID3D10Device *device); + +HRESULT WINAPI D3D10ReflectShader(const void *data, SIZE_T data_size, ID3D10ShaderReflection **reflector); +HRESULT WINAPI D3D10GetInputSignatureBlob(const void *data, SIZE_T data_size, ID3D10Blob **blob); +HRESULT WINAPI D3D10GetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3D10Blob **blob); +HRESULT WINAPI D3D10GetInputAndOutputSignatureBlob(const void *data, SIZE_T data_size, ID3D10Blob **blob); +HRESULT WINAPI D3D10GetShaderDebugInfo(const void *data, SIZE_T data_size, ID3D10Blob **blob); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_D3D10SHADER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11.h new file mode 100644 index 0000000..ab16bd3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11.h @@ -0,0 +1,10857 @@ +/*** Autogenerated by WIDL 2.18 from d3d11.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d11_h__ +#define __d3d11_h__ + +/* Forward declarations */ + +#ifndef __ID3D11DeviceChild_FWD_DEFINED__ +#define __ID3D11DeviceChild_FWD_DEFINED__ +typedef interface ID3D11DeviceChild ID3D11DeviceChild; +#ifdef __cplusplus +interface ID3D11DeviceChild; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Asynchronous_FWD_DEFINED__ +#define __ID3D11Asynchronous_FWD_DEFINED__ +typedef interface ID3D11Asynchronous ID3D11Asynchronous; +#ifdef __cplusplus +interface ID3D11Asynchronous; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Query_FWD_DEFINED__ +#define __ID3D11Query_FWD_DEFINED__ +typedef interface ID3D11Query ID3D11Query; +#ifdef __cplusplus +interface ID3D11Query; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Resource_FWD_DEFINED__ +#define __ID3D11Resource_FWD_DEFINED__ +typedef interface ID3D11Resource ID3D11Resource; +#ifdef __cplusplus +interface ID3D11Resource; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11View_FWD_DEFINED__ +#define __ID3D11View_FWD_DEFINED__ +typedef interface ID3D11View ID3D11View; +#ifdef __cplusplus +interface ID3D11View; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11BlendState_FWD_DEFINED__ +#define __ID3D11BlendState_FWD_DEFINED__ +typedef interface ID3D11BlendState ID3D11BlendState; +#ifdef __cplusplus +interface ID3D11BlendState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Buffer_FWD_DEFINED__ +#define __ID3D11Buffer_FWD_DEFINED__ +typedef interface ID3D11Buffer ID3D11Buffer; +#ifdef __cplusplus +interface ID3D11Buffer; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11ClassInstance_FWD_DEFINED__ +#define __ID3D11ClassInstance_FWD_DEFINED__ +typedef interface ID3D11ClassInstance ID3D11ClassInstance; +#ifdef __cplusplus +interface ID3D11ClassInstance; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11ClassLinkage_FWD_DEFINED__ +#define __ID3D11ClassLinkage_FWD_DEFINED__ +typedef interface ID3D11ClassLinkage ID3D11ClassLinkage; +#ifdef __cplusplus +interface ID3D11ClassLinkage; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11CommandList_FWD_DEFINED__ +#define __ID3D11CommandList_FWD_DEFINED__ +typedef interface ID3D11CommandList ID3D11CommandList; +#ifdef __cplusplus +interface ID3D11CommandList; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11ComputeShader_FWD_DEFINED__ +#define __ID3D11ComputeShader_FWD_DEFINED__ +typedef interface ID3D11ComputeShader ID3D11ComputeShader; +#ifdef __cplusplus +interface ID3D11ComputeShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Counter_FWD_DEFINED__ +#define __ID3D11Counter_FWD_DEFINED__ +typedef interface ID3D11Counter ID3D11Counter; +#ifdef __cplusplus +interface ID3D11Counter; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DepthStencilState_FWD_DEFINED__ +#define __ID3D11DepthStencilState_FWD_DEFINED__ +typedef interface ID3D11DepthStencilState ID3D11DepthStencilState; +#ifdef __cplusplus +interface ID3D11DepthStencilState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DepthStencilView_FWD_DEFINED__ +#define __ID3D11DepthStencilView_FWD_DEFINED__ +typedef interface ID3D11DepthStencilView ID3D11DepthStencilView; +#ifdef __cplusplus +interface ID3D11DepthStencilView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DomainShader_FWD_DEFINED__ +#define __ID3D11DomainShader_FWD_DEFINED__ +typedef interface ID3D11DomainShader ID3D11DomainShader; +#ifdef __cplusplus +interface ID3D11DomainShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11GeometryShader_FWD_DEFINED__ +#define __ID3D11GeometryShader_FWD_DEFINED__ +typedef interface ID3D11GeometryShader ID3D11GeometryShader; +#ifdef __cplusplus +interface ID3D11GeometryShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11HullShader_FWD_DEFINED__ +#define __ID3D11HullShader_FWD_DEFINED__ +typedef interface ID3D11HullShader ID3D11HullShader; +#ifdef __cplusplus +interface ID3D11HullShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11InputLayout_FWD_DEFINED__ +#define __ID3D11InputLayout_FWD_DEFINED__ +typedef interface ID3D11InputLayout ID3D11InputLayout; +#ifdef __cplusplus +interface ID3D11InputLayout; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11PixelShader_FWD_DEFINED__ +#define __ID3D11PixelShader_FWD_DEFINED__ +typedef interface ID3D11PixelShader ID3D11PixelShader; +#ifdef __cplusplus +interface ID3D11PixelShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Predicate_FWD_DEFINED__ +#define __ID3D11Predicate_FWD_DEFINED__ +typedef interface ID3D11Predicate ID3D11Predicate; +#ifdef __cplusplus +interface ID3D11Predicate; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11RasterizerState_FWD_DEFINED__ +#define __ID3D11RasterizerState_FWD_DEFINED__ +typedef interface ID3D11RasterizerState ID3D11RasterizerState; +#ifdef __cplusplus +interface ID3D11RasterizerState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11RenderTargetView_FWD_DEFINED__ +#define __ID3D11RenderTargetView_FWD_DEFINED__ +typedef interface ID3D11RenderTargetView ID3D11RenderTargetView; +#ifdef __cplusplus +interface ID3D11RenderTargetView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11SamplerState_FWD_DEFINED__ +#define __ID3D11SamplerState_FWD_DEFINED__ +typedef interface ID3D11SamplerState ID3D11SamplerState; +#ifdef __cplusplus +interface ID3D11SamplerState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11ShaderResourceView_FWD_DEFINED__ +#define __ID3D11ShaderResourceView_FWD_DEFINED__ +typedef interface ID3D11ShaderResourceView ID3D11ShaderResourceView; +#ifdef __cplusplus +interface ID3D11ShaderResourceView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Texture1D_FWD_DEFINED__ +#define __ID3D11Texture1D_FWD_DEFINED__ +typedef interface ID3D11Texture1D ID3D11Texture1D; +#ifdef __cplusplus +interface ID3D11Texture1D; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Texture2D_FWD_DEFINED__ +#define __ID3D11Texture2D_FWD_DEFINED__ +typedef interface ID3D11Texture2D ID3D11Texture2D; +#ifdef __cplusplus +interface ID3D11Texture2D; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Texture3D_FWD_DEFINED__ +#define __ID3D11Texture3D_FWD_DEFINED__ +typedef interface ID3D11Texture3D ID3D11Texture3D; +#ifdef __cplusplus +interface ID3D11Texture3D; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11UnorderedAccessView_FWD_DEFINED__ +#define __ID3D11UnorderedAccessView_FWD_DEFINED__ +typedef interface ID3D11UnorderedAccessView ID3D11UnorderedAccessView; +#ifdef __cplusplus +interface ID3D11UnorderedAccessView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VertexShader_FWD_DEFINED__ +#define __ID3D11VertexShader_FWD_DEFINED__ +typedef interface ID3D11VertexShader ID3D11VertexShader; +#ifdef __cplusplus +interface ID3D11VertexShader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DeviceContext_FWD_DEFINED__ +#define __ID3D11DeviceContext_FWD_DEFINED__ +typedef interface ID3D11DeviceContext ID3D11DeviceContext; +#ifdef __cplusplus +interface ID3D11DeviceContext; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11AuthenticatedChannel_FWD_DEFINED__ +#define __ID3D11AuthenticatedChannel_FWD_DEFINED__ +typedef interface ID3D11AuthenticatedChannel ID3D11AuthenticatedChannel; +#ifdef __cplusplus +interface ID3D11AuthenticatedChannel; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11CryptoSession_FWD_DEFINED__ +#define __ID3D11CryptoSession_FWD_DEFINED__ +typedef interface ID3D11CryptoSession ID3D11CryptoSession; +#ifdef __cplusplus +interface ID3D11CryptoSession; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoDecoder_FWD_DEFINED__ +#define __ID3D11VideoDecoder_FWD_DEFINED__ +typedef interface ID3D11VideoDecoder ID3D11VideoDecoder; +#ifdef __cplusplus +interface ID3D11VideoDecoder; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoProcessorEnumerator_FWD_DEFINED__ +#define __ID3D11VideoProcessorEnumerator_FWD_DEFINED__ +typedef interface ID3D11VideoProcessorEnumerator ID3D11VideoProcessorEnumerator; +#ifdef __cplusplus +interface ID3D11VideoProcessorEnumerator; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoProcessor_FWD_DEFINED__ +#define __ID3D11VideoProcessor_FWD_DEFINED__ +typedef interface ID3D11VideoProcessor ID3D11VideoProcessor; +#ifdef __cplusplus +interface ID3D11VideoProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoDecoderOutputView_FWD_DEFINED__ +#define __ID3D11VideoDecoderOutputView_FWD_DEFINED__ +typedef interface ID3D11VideoDecoderOutputView ID3D11VideoDecoderOutputView; +#ifdef __cplusplus +interface ID3D11VideoDecoderOutputView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoProcessorInputView_FWD_DEFINED__ +#define __ID3D11VideoProcessorInputView_FWD_DEFINED__ +typedef interface ID3D11VideoProcessorInputView ID3D11VideoProcessorInputView; +#ifdef __cplusplus +interface ID3D11VideoProcessorInputView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoProcessorOutputView_FWD_DEFINED__ +#define __ID3D11VideoProcessorOutputView_FWD_DEFINED__ +typedef interface ID3D11VideoProcessorOutputView ID3D11VideoProcessorOutputView; +#ifdef __cplusplus +interface ID3D11VideoProcessorOutputView; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoDevice_FWD_DEFINED__ +#define __ID3D11VideoDevice_FWD_DEFINED__ +typedef interface ID3D11VideoDevice ID3D11VideoDevice; +#ifdef __cplusplus +interface ID3D11VideoDevice; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoContext_FWD_DEFINED__ +#define __ID3D11VideoContext_FWD_DEFINED__ +typedef interface ID3D11VideoContext ID3D11VideoContext; +#ifdef __cplusplus +interface ID3D11VideoContext; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Device_FWD_DEFINED__ +#define __ID3D11Device_FWD_DEFINED__ +typedef interface ID3D11Device ID3D11Device; +#ifdef __cplusplus +interface ID3D11Device; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef D3D_PRIMITIVE D3D11_PRIMITIVE; +typedef D3D_PRIMITIVE_TOPOLOGY D3D11_PRIMITIVE_TOPOLOGY; +typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION; +typedef RECT D3D11_RECT; +#ifndef __ID3D11Device_FWD_DEFINED__ +#define __ID3D11Device_FWD_DEFINED__ +typedef interface ID3D11Device ID3D11Device; +#ifdef __cplusplus +interface ID3D11Device; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11ClassLinkage_FWD_DEFINED__ +#define __ID3D11ClassLinkage_FWD_DEFINED__ +typedef interface ID3D11ClassLinkage ID3D11ClassLinkage; +#ifdef __cplusplus +interface ID3D11ClassLinkage; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Resource_FWD_DEFINED__ +#define __ID3D11Resource_FWD_DEFINED__ +typedef interface ID3D11Resource ID3D11Resource; +#ifdef __cplusplus +interface ID3D11Resource; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoProcessorInputView_FWD_DEFINED__ +#define __ID3D11VideoProcessorInputView_FWD_DEFINED__ +typedef interface ID3D11VideoProcessorInputView ID3D11VideoProcessorInputView; +#ifdef __cplusplus +interface ID3D11VideoProcessorInputView; +#endif /* __cplusplus */ +#endif + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT (14) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS (4) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT (32) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT (15) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT (16) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS (4) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT (15) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST (1) + +#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS (1) + +#define D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT (64) + +#define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS (4) + +#define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT (1) + +#define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST (1) + +#define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS (1) + +#define D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT (32) + +#define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS (1) + +#define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT (128) + +#define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST (1) + +#define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS (1) + +#define D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT (128) + +#define D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS (1) + +#define D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT (16) + +#define D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST (1) + +#define D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS (1) + +#define D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT (16) + +#define D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT (32) + +#define D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS (4) + +#define D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D11_COMMONSHADER_TEMP_REGISTER_COUNT (4096) + +#define D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST (3) + +#define D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS (3) + +#define D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX (10) + +#define D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN (-10) + +#define D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE (-8) + +#define D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE (7) + +#define D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (256) + +#define D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP (64) + +#define D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (240) + +#define D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP (68) + +#define D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (224) + +#define D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP (72) + +#define D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (208) + +#define D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP (76) + +#define D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (192) + +#define D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP (84) + +#define D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (176) + +#define D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP (92) + +#define D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (160) + +#define D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP (100) + +#define D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (144) + +#define D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP (112) + +#define D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (128) + +#define D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP (128) + +#define D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (112) + +#define D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP (144) + +#define D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (96) + +#define D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP (168) + +#define D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (80) + +#define D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP (204) + +#define D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (64) + +#define D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP (256) + +#define D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (48) + +#define D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP (340) + +#define D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (32) + +#define D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP (512) + +#define D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (16) + +#define D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP (768) + +#define D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION (1) + +#define D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT (256) + +#define D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP (768) + +#define D3D11_CS_4_X_THREAD_GROUP_MAX_X (768) + +#define D3D11_CS_4_X_THREAD_GROUP_MAX_Y (768) + +#define D3D11_CS_4_X_UAV_REGISTER_COUNT (1) + +#define D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION (65535) + +#define D3D11_CS_TGSM_REGISTER_COUNT (8192) + +#define D3D11_CS_TGSM_REGISTER_READS_PER_INST (1) + +#define D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS (1) + +#define D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS (1) + +#define D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP (1024) + +#define D3D11_CS_THREAD_GROUP_MAX_X (1024) + +#define D3D11_CS_THREAD_GROUP_MAX_Y (1024) + +#define D3D11_CS_THREAD_GROUP_MAX_Z (64) + +#define D3D11_CS_THREAD_GROUP_MIN_X (1) + +#define D3D11_CS_THREAD_GROUP_MIN_Y (1) + +#define D3D11_CS_THREAD_GROUP_MIN_Z (1) + +#define D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL (16384) + +#define D3D11_DEFAULT_DEPTH_BIAS (0) + +#define D3D11_DEFAULT_DEPTH_BIAS_CLAMP 0.0f +#define D3D11_DEFAULT_MAX_ANISOTROPY (16) + +#define D3D11_DEFAULT_MIP_LOD_BIAS 0.0f +#define D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX (0) + +#define D3D11_DEFAULT_SAMPLE_MASK (0xffffffff) + +#define D3D11_DEFAULT_SCISSOR_ENDX (0) + +#define D3D11_DEFAULT_SCISSOR_ENDY (0) + +#define D3D11_DEFAULT_SCISSOR_STARTX (0) + +#define D3D11_DEFAULT_SCISSOR_STARTY (0) + +#define D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS 0.0f +#define D3D11_DEFAULT_STENCIL_READ_MASK (0xff) + +#define D3D11_DEFAULT_STENCIL_REFERENCE (0) + +#define D3D11_DEFAULT_STENCIL_WRITE_MASK (0xff) + +#define D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX (0) + +#define D3D11_DEFAULT_VIEWPORT_HEIGHT (0) + +#define D3D11_DEFAULT_VIEWPORT_MAX_DEPTH 0.0f +#define D3D11_DEFAULT_VIEWPORT_MIN_DEPTH 0.0f +#define D3D11_DEFAULT_VIEWPORT_TOPLEFTX (0) + +#define D3D11_DEFAULT_VIEWPORT_TOPLEFTY (0) + +#define D3D11_DEFAULT_VIEWPORT_WIDTH (0) + +#define D3D11_FLOAT32_MAX (3.402823466e+38f) +#define D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT (32) + +#define D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT (8) + +#define D3D11_MAX_MAXANISOTROPY (16) + +#define D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT (32) + +#define D3D11_VIEWPORT_BOUNDS_MAX (32767) + +#define D3D11_VIEWPORT_BOUNDS_MIN (-32768) + +#define D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX (15) + +#define D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE (16) + +#define D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL (0xffffffff) + +#define D3D11_KEEP_UNORDERED_ACCESS_VIEWS (0xffffffff) + +#define D3D11_SHADER_MAJOR_VERSION (5) + +#define D3D11_SHADER_MAX_INSTANCES (65535) + +#define D3D11_SHADER_MAX_INTERFACES (253) + +#define D3D11_SHADER_MAX_INTERFACE_CALL_SITES (4096) + +#define D3D11_SHADER_MAX_TYPES (65535) + +#define D3D11_SHADER_MINOR_VERSION (0) + +#define D3D11_VS_OUTPUT_REGISTER_COUNT (32) + +#define D3D11_OMAC_SIZE (16) + +#define D3D11_PS_CS_UAV_REGISTER_COMPONENTS (1) + +#define D3D11_PS_CS_UAV_REGISTER_COUNT (8) + +#define D3D11_PS_CS_UAV_REGISTER_READS_PER_INST (1) + +#define D3D11_PS_CS_UAV_REGISTER_READ_PORTS (1) + +#define D3D11_PS_FRONTFACING_DEFAULT_VALUE (0xffffffff) + +#define D3D11_PS_FRONTFACING_FALSE_VALUE (0) + +#define D3D11_PS_FRONTFACING_TRUE_VALUE (0xffffffff) + +#define D3D11_PS_INPUT_REGISTER_COMPONENTS (4) + +#define D3D11_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D11_PS_INPUT_REGISTER_COUNT (32) + +#define D3D11_PS_INPUT_REGISTER_READS_PER_INST (2) + +#define D3D11_PS_INPUT_REGISTER_READ_PORTS (1) + +#define D3D11_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.0f) +#define D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS (1) + +#define D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D11_PS_OUTPUT_DEPTH_REGISTER_COUNT (1) + +#define D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENTS (1) + +#define D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D11_PS_OUTPUT_MASK_REGISTER_COUNT (1) + +#define D3D11_PS_OUTPUT_REGISTER_COMPONENTS (4) + +#define D3D11_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32) + +#define D3D11_PS_OUTPUT_REGISTER_COUNT (8) + +#define D3D11_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.5f) +#define D3D11_RAW_UAV_SRV_BYTE_ALIGNMENT (16) + +#define D3D11_REQ_BLEND_OBJECT_COUNT_PER_DEVICE (4096) + +#define D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP (27) + +#define D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT (4096) + +#define D3D11_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE (4096) + +#define D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP (32) + +#define D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP (32) + +#define D3D11_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION (16384) + +#define D3D11_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT (1024) + +#define D3D11_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT (4096) + +#define D3D11_REQ_MAXANISOTROPY (16) + +#define D3D11_REQ_MIP_LEVELS (15) + +#define D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES (2048) + +#define D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE (4096) + +#define D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH (16384) + +#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM (128) + +#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM (0.25f) +#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM (2048) + +#define D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP (20) + +#define D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE (4096) + +#define D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION (2048) + +#define D3D11_REQ_TEXTURE1D_U_DIMENSION (16384) + +#define D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION (2048) + +#define D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION (16384) + +#define D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION (2048) + +#define D3D11_REQ_TEXTURECUBE_DIMENSION (16384) + +#define D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL (0) + +#define D3D11_SHIFT_INSTRUCTION_PAD_VALUE (0) + +#define D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT (5) + +#define D3D11_SO_BUFFER_MAX_STRIDE_IN_BYTES (2048) + +#define D3D11_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES (512) + +#define D3D11_SO_BUFFER_SLOT_COUNT (4) + +#define D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP (0xffffffff) + +#define D3D11_SO_NO_RASTERIZED_STREAM (0xffffffff) + +#define D3D11_SO_OUTPUT_COMPONENT_COUNT (128) + +#define D3D11_SO_STREAM_COUNT (4) + +#define D3D11_SPEC_DATE_DAY (16) + +#define D3D11_SPEC_DATE_MONTH (5) + +#define D3D11_SPEC_DATE_YEAR (2011) + +#define D3D11_SPEC_VERSION (1.07) +#define D3D11_SRGB_GAMMA (2.2f) +#define D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 (12.92f) +#define D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 (1.055f) +#define D3D11_SRGB_TO_FLOAT_EXPONENT (2.4f) +#define D3D11_SRGB_TO_FLOAT_OFFSET (0.055f) +#define D3D11_SRGB_TO_FLOAT_THRESHOLD (0.04045f) +#define D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP (0.5f) +#define D3D11_STANDARD_COMPONENT_BIT_COUNT (32) + +#define D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED (64) + +#define D3D11_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE (4) + +#define D3D11_STANDARD_PIXEL_COMPONENT_COUNT (128) + +#define D3D11_STANDARD_PIXEL_ELEMENT_COUNT (32) + +#define D3D11_STANDARD_VECTOR_SIZE (4) + +#define D3D11_STANDARD_VERTEX_ELEMENT_COUNT (32) + +#define D3D11_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT (64) + +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_DEFAULT {}; +extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT; +#endif +typedef enum D3D11_BLEND { + D3D11_BLEND_ZERO = 1, + D3D11_BLEND_ONE = 2, + D3D11_BLEND_SRC_COLOR = 3, + D3D11_BLEND_INV_SRC_COLOR = 4, + D3D11_BLEND_SRC_ALPHA = 5, + D3D11_BLEND_INV_SRC_ALPHA = 6, + D3D11_BLEND_DEST_ALPHA = 7, + D3D11_BLEND_INV_DEST_ALPHA = 8, + D3D11_BLEND_DEST_COLOR = 9, + D3D11_BLEND_INV_DEST_COLOR = 10, + D3D11_BLEND_SRC_ALPHA_SAT = 11, + D3D11_BLEND_BLEND_FACTOR = 14, + D3D11_BLEND_INV_BLEND_FACTOR = 15, + D3D11_BLEND_SRC1_COLOR = 16, + D3D11_BLEND_INV_SRC1_COLOR = 17, + D3D11_BLEND_SRC1_ALPHA = 18, + D3D11_BLEND_INV_SRC1_ALPHA = 19 +} D3D11_BLEND; +typedef enum D3D11_BLEND_OP { + D3D11_BLEND_OP_ADD = 1, + D3D11_BLEND_OP_SUBTRACT = 2, + D3D11_BLEND_OP_REV_SUBTRACT = 3, + D3D11_BLEND_OP_MIN = 4, + D3D11_BLEND_OP_MAX = 5 +} D3D11_BLEND_OP; +typedef enum D3D11_VIDEO_DECODER_BUFFER_TYPE { + D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS = 0, + D3D11_VIDEO_DECODER_BUFFER_MACROBLOCK_CONTROL = 1, + D3D11_VIDEO_DECODER_BUFFER_RESIDUAL_DIFFERENCE = 2, + D3D11_VIDEO_DECODER_BUFFER_DEBLOCKING_CONTROL = 3, + D3D11_VIDEO_DECODER_BUFFER_INVERSE_QUANTIZATION_MATRIX = 4, + D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL = 5, + D3D11_VIDEO_DECODER_BUFFER_BITSTREAM = 6, + D3D11_VIDEO_DECODER_BUFFER_MOTION_VECTOR = 7, + D3D11_VIDEO_DECODER_BUFFER_FILM_GRAIN = 8 +} D3D11_VIDEO_DECODER_BUFFER_TYPE; +typedef enum D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE { + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE = 0, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND = 1, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION = 2, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM = 3 +} D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE; +typedef enum D3D11_VIDEO_PROCESSOR_OUTPUT_RATE { + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL = 0, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_HALF = 1, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM = 2 +} D3D11_VIDEO_PROCESSOR_OUTPUT_RATE; +typedef enum D3D11_VIDEO_PROCESSOR_STEREO_FORMAT { + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO = 0, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_HORIZONTAL = 1, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_VERTICAL = 2, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE = 3, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET = 4, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_ROW_INTERLEAVED = 5, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_COLUMN_INTERLEAVED = 6, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_CHECKERBOARD = 7 +} D3D11_VIDEO_PROCESSOR_STEREO_FORMAT; +typedef enum D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE { + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_NONE = 0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME0 = 1, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME1 = 2 +} D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE; +typedef enum D3D11_VIDEO_PROCESSOR_ROTATION { + D3D11_VIDEO_PROCESSOR_ROTATION_IDENTITY = 0, + D3D11_VIDEO_PROCESSOR_ROTATION_90 = 1, + D3D11_VIDEO_PROCESSOR_ROTATION_180 = 2, + D3D11_VIDEO_PROCESSOR_ROTATION_270 = 3 +} D3D11_VIDEO_PROCESSOR_ROTATION; +typedef enum D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS { + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND = 0x1, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB = 0x2, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE = 0x4, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION = 0x8, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE = 0x10, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION = 0x20 +} D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS; +typedef enum D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS { + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32 = 0x1, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_22 = 0x2, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2224 = 0x4, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2332 = 0x8, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32322 = 0x10, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_55 = 0x20, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_64 = 0x40, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_87 = 0x80, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223 = 0x100, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER = 0x80000000 +} D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS; +typedef enum D3D11_CONTENT_PROTECTION_CAPS { + D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE = 0x1, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE = 0x2, + D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON = 0x4, + D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION = 0x8, + D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY = 0x10, + D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY = 0x20, + D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK = 0x40, + D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY = 0x80, + D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV = 0x100, + D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY = 0x200, + D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT = 0x400, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECT_UNCOMPRESSED = 0x800, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE = 0x1000, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN = 0x2000, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION = 0x4000 +} D3D11_CONTENT_PROTECTION_CAPS; +typedef enum D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE { + D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_UNDEFINED = 0x0, + D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_16_235 = 0x1, + D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_0_255 = 0x2 +} D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE; +typedef enum D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE { + D3D11_PROCESSIDTYPE_UNKNOWN = 0x0, + D3D11_PROCESSIDTYPE_DWM = 0x1, + D3D11_PROCESSIDTYPE_HANDLE = 0x2 +} D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE; +typedef enum D3D11_BUS_TYPE { + D3D11_BUS_TYPE_OTHER = 0x0, + D3D11_BUS_TYPE_PCI = 0x1, + D3D11_BUS_TYPE_PCIX = 0x2, + D3D11_BUS_TYPE_PCIEXPRESS = 0x3, + D3D11_BUS_TYPE_AGP = 0x4, + D3D11_BUS_IMPL_MODIFIER_INSIDE_OF_CHIPSET = 0x10000, + D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP = 0x20000, + D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET = 0x30000, + D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR = 0x40000, + D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE = 0x50000, + D3D11_BUS_IMPL_MODIFIER_NON_STANDARD = 0x80000000 +} D3D11_BUS_TYPE; +typedef struct D3D11_BOX { + UINT left; + UINT top; + UINT front; + UINT right; + UINT bottom; + UINT back; +} D3D11_BOX; +typedef struct D3D11_BUFFER_RTV { + __C89_NAMELESS union { + UINT FirstElement; + UINT ElementOffset; + } __C89_NAMELESSUNIONNAME1; + __C89_NAMELESS union { + UINT NumElements; + UINT ElementWidth; + } __C89_NAMELESSUNIONNAME2; +} D3D11_BUFFER_RTV; +typedef struct D3D11_BUFFER_SRV { + __C89_NAMELESS union { + UINT FirstElement; + UINT ElementOffset; + } __C89_NAMELESSUNIONNAME1; + __C89_NAMELESS union { + UINT NumElements; + UINT ElementWidth; + } __C89_NAMELESSUNIONNAME2; +} D3D11_BUFFER_SRV; +typedef struct D3D11_BUFFER_UAV { + UINT FirstElement; + UINT NumElements; + UINT Flags; +} D3D11_BUFFER_UAV; +typedef struct D3D11_BUFFEREX_SRV { + UINT FirstElement; + UINT NumElements; + UINT Flags; +} D3D11_BUFFEREX_SRV; +typedef struct D3D11_CLASS_INSTANCE_DESC { + UINT InstanceId; + UINT InstanceIndex; + UINT TypeId; + UINT ConstantBuffer; + UINT BaseConstantBufferOffset; + UINT BaseTexture; + UINT BaseSampler; + BOOL Created; +} D3D11_CLASS_INSTANCE_DESC; +typedef enum D3D11_COMPARISON_FUNC { + D3D11_COMPARISON_NEVER = 1, + D3D11_COMPARISON_LESS = 2, + D3D11_COMPARISON_EQUAL = 3, + D3D11_COMPARISON_LESS_EQUAL = 4, + D3D11_COMPARISON_GREATER = 5, + D3D11_COMPARISON_NOT_EQUAL = 6, + D3D11_COMPARISON_GREATER_EQUAL = 7, + D3D11_COMPARISON_ALWAYS = 8 +} D3D11_COMPARISON_FUNC; +typedef enum D3D11_COUNTER { + D3D11_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000 +} D3D11_COUNTER; +typedef struct D3D11_COUNTER_DESC { + D3D11_COUNTER Counter; + UINT MiscFlags; +} D3D11_COUNTER_DESC; +typedef struct D3D11_COUNTER_INFO { + D3D11_COUNTER LastDeviceDependentCounter; + UINT NumSimultaneousCounters; + UINT8 NumDetectableParallelUnits; +} D3D11_COUNTER_INFO; +typedef enum D3D11_COUNTER_TYPE { + D3D11_COUNTER_TYPE_FLOAT32 = 0, + D3D11_COUNTER_TYPE_UINT16 = 1, + D3D11_COUNTER_TYPE_UINT32 = 2, + D3D11_COUNTER_TYPE_UINT64 = 3 +} D3D11_COUNTER_TYPE; +typedef enum D3D11_CULL_MODE { + D3D11_CULL_NONE = 1, + D3D11_CULL_FRONT = 2, + D3D11_CULL_BACK = 3 +} D3D11_CULL_MODE; +typedef enum D3D11_DEPTH_WRITE_MASK { + D3D11_DEPTH_WRITE_MASK_ZERO = 0, + D3D11_DEPTH_WRITE_MASK_ALL = 1 +} D3D11_DEPTH_WRITE_MASK; +typedef enum D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS { + D3D11_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff, + D3D11_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe +} D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS; +typedef enum D3D11_DEVICE_CONTEXT_TYPE { + D3D11_DEVICE_CONTEXT_IMMEDIATE = 0, + D3D11_DEVICE_CONTEXT_DEFERRED = 1 +} D3D11_DEVICE_CONTEXT_TYPE; +typedef enum D3D11_DSV_DIMENSION { + D3D11_DSV_DIMENSION_UNKNOWN = 0, + D3D11_DSV_DIMENSION_TEXTURE1D = 1, + D3D11_DSV_DIMENSION_TEXTURE1DARRAY = 2, + D3D11_DSV_DIMENSION_TEXTURE2D = 3, + D3D11_DSV_DIMENSION_TEXTURE2DARRAY = 4, + D3D11_DSV_DIMENSION_TEXTURE2DMS = 5, + D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY = 6 +} D3D11_DSV_DIMENSION; +typedef enum D3D11_FEATURE { + D3D11_FEATURE_THREADING = 0, + D3D11_FEATURE_DOUBLES = 1, + D3D11_FEATURE_FORMAT_SUPPORT = 2, + D3D11_FEATURE_FORMAT_SUPPORT2 = 3, + D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS = 4, + D3D11_FEATURE_D3D11_OPTIONS = 5, + D3D11_FEATURE_ARCHITECTURE_INFO = 6, + D3D11_FEATURE_D3D9_OPTIONS = 7, + D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT = 8, + D3D11_FEATURE_D3D9_SHADOW_SUPPORT = 9, + D3D11_FEATURE_D3D11_OPTIONS1 = 10, + D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT = 11, + D3D11_FEATURE_MARKER_SUPPORT = 12, + D3D11_FEATURE_D3D9_OPTIONS1 = 13, + D3D11_FEATURE_D3D11_OPTIONS2 = 14, + D3D11_FEATURE_D3D11_OPTIONS3 = 15, + D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT = 16, + D3D11_FEATURE_D3D11_OPTIONS4 = 17, + D3D11_FEATURE_SHADER_CACHE = 18 +} D3D11_FEATURE; +typedef struct D3D11_FEATURE_DATA_THREADING { + BOOL DriverConcurrentCreates; + BOOL DriverCommandLists; +} D3D11_FEATURE_DATA_THREADING; +typedef struct D3D11_FEATURE_DATA_DOUBLES { + BOOL DoublePrecisionFloatShaderOps; +} D3D11_FEATURE_DATA_DOUBLES; +typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT { + DXGI_FORMAT InFormat; + UINT OutFormatSupport; +} D3D11_FEATURE_DATA_FORMAT_SUPPORT; +typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { + DXGI_FORMAT InFormat; + UINT OutFormatSupport2; +} D3D11_FEATURE_DATA_FORMAT_SUPPORT2; +typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { + BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; +} D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS; +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS { + BOOL OutputMergerLogicOp; + BOOL UAVOnlyRenderingForcedSampleCount; + BOOL DiscardAPIsSeenByDriver; + BOOL FlagsForUpdateAndCopySeenByDriver; + BOOL ClearView; + BOOL CopyWithOverlap; + BOOL ConstantBufferPartialUpdate; + BOOL ConstantBufferOffsetting; + BOOL MapNoOverwriteOnDynamicConstantBuffer; + BOOL MapNoOverwriteOnDynamicBufferSRV; + BOOL MultisampleRTVWithForcedSampleCountOne; + BOOL SAD4ShaderInstructions; + BOOL ExtendedDoublesShaderInstructions; + BOOL ExtendedResourceSharing; +} D3D11_FEATURE_DATA_D3D11_OPTIONS; +typedef struct D3D11_FEATURE_DATA_ARCHITECTURE_INFO { + BOOL TileBasedDeferredRenderer; +} D3D11_FEATURE_DATA_ARCHITECTURE_INFO; +typedef struct D3D11_FEATURE_DATA_D3D9_OPTIONS { + BOOL FullNonPow2TextureSupport; +} D3D11_FEATURE_DATA_D3D9_OPTIONS; +typedef struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { + BOOL SupportsDepthAsTextureWithLessEqualComparisonFilter; +} D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT; +typedef enum D3D11_SHADER_MIN_PRECISION_SUPPORT { + D3D11_SHADER_MIN_PRECISION_10_BIT = 0x1, + D3D11_SHADER_MIN_PRECISION_16_BIT = 0x2 +} D3D11_SHADER_MIN_PRECISION_SUPPORT; +typedef struct D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { + UINT PixelShaderMinPrecision; + UINT AllOtherShaderStagesMinPrecision; +} D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT; +typedef enum D3D11_TILED_RESOURCES_TIER { + D3D11_TILED_RESOURCES_NOT_SUPPORTED = 0x0, + D3D11_TILED_RESOURCES_TIER_1 = 0x1, + D3D11_TILED_RESOURCES_TIER_2 = 0x2, + D3D11_TILED_RESOURCES_TIER_3 = 0x3 +} D3D11_TILED_RESOURCES_TIER; +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS1 { + D3D11_TILED_RESOURCES_TIER TiledResourcesTier; + BOOL MinMaxFiltering; + BOOL ClearViewAlsoSupportsDepthOnlyFormats; + BOOL MapOnDefaultBuffers; +} D3D11_FEATURE_DATA_D3D11_OPTIONS1; +typedef struct D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { + BOOL SimpleInstancingSupported; +} D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT; +typedef struct D3D11_FEATURE_DATA_MARKER_SUPPORT { + BOOL Profile; +} D3D11_FEATURE_DATA_MARKER_SUPPORT; +typedef struct D3D11_FEATURE_DATA_D3D9_OPTIONS1 { + BOOL FullNonPow2TextureSupported; + BOOL DepthAsTextureWithLessEqualComparisonFilterSupported; + BOOL SimpleInstancingSupported; + BOOL TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported; +} D3D11_FEATURE_DATA_D3D9_OPTIONS1; +typedef enum D3D11_CONSERVATIVE_RASTERIZATION_TIER { + D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED = 0x0, + D3D11_CONSERVATIVE_RASTERIZATION_TIER_1 = 0x1, + D3D11_CONSERVATIVE_RASTERIZATION_TIER_2 = 0x2, + D3D11_CONSERVATIVE_RASTERIZATION_TIER_3 = 0x3 +} D3D11_CONSERVATIVE_RASTERIZATION_TIER; +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS2 { + BOOL PSSpecifiedStencilRefSupported; + BOOL TypedUAVLoadAdditionalFormats; + BOOL ROVsSupported; + D3D11_CONSERVATIVE_RASTERIZATION_TIER ConservativeRasterizationTier; + D3D11_TILED_RESOURCES_TIER TiledResourcesTier; + BOOL MapOnDefaultTextures; + BOOL StandardSwizzle; + BOOL UnifiedMemoryArchitecture; +} D3D11_FEATURE_DATA_D3D11_OPTIONS2; +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS3 { + BOOL VPAndRTArrayIndexFromAnyShaderFeedingRasterizer; +} D3D11_FEATURE_DATA_D3D11_OPTIONS3; +typedef struct D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { + UINT MaxGPUVirtualAddressBitsPerResource; + UINT MaxGPUVirtualAddressBitsPerProcess; +} D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT; +typedef enum D3D11_SHADER_CACHE_SUPPORT_FLAGS { + D3D11_SHADER_CACHE_SUPPORT_NONE = 0x0, + D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE = 0x1, + D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE = 0x2 +} D3D11_SHADER_CACHE_SUPPORT_FLAGS; +typedef struct D3D11_FEATURE_DATA_SHADER_CACHE { + UINT SupportFlags; +} D3D11_FEATURE_DATA_SHADER_CACHE; +typedef enum D3D11_FILL_MODE { + D3D11_FILL_WIREFRAME = 2, + D3D11_FILL_SOLID = 3 +} D3D11_FILL_MODE; +typedef enum D3D11_FILTER_TYPE { + D3D11_FILTER_TYPE_POINT = 0, + D3D11_FILTER_TYPE_LINEAR = 1 +} D3D11_FILTER_TYPE; +#define D3D11_MIN_FILTER_SHIFT (4) + +#define D3D11_MAG_FILTER_SHIFT (2) + +#define D3D11_MIP_FILTER_SHIFT (0) + +#define D3D11_FILTER_TYPE_MASK (0x3) + +#define D3D11_COMPARISON_FILTERING_BIT (0x80) + +#define D3D11_ANISOTROPIC_FILTERING_BIT (0x40) + +#define D3D11_ENCODE_BASIC_FILTER(min, mag, mip, bComparison) \ + ((D3D11_FILTER)(((bComparison) ? D3D11_COMPARISON_FILTERING_BIT : 0 ) | \ + (((min)&D3D11_FILTER_TYPE_MASK) << D3D11_MIN_FILTER_SHIFT) | \ + (((mag)&D3D11_FILTER_TYPE_MASK) << D3D11_MAG_FILTER_SHIFT) | \ + (((mip)&D3D11_FILTER_TYPE_MASK) << D3D11_MIP_FILTER_SHIFT))) +#define D3D11_ENCODE_ANISOTROPIC_FILTER(bComparison) \ + ((D3D11_FILTER)(D3D11_ANISOTROPIC_FILTERING_BIT | \ + D3D11_ENCODE_BASIC_FILTER(D3D11_FILTER_TYPE_LINEAR,D3D11_FILTER_TYPE_LINEAR, \ + D3D11_FILTER_TYPE_LINEAR,bComparison))) +#define D3D11_DECODE_MIN_FILTER(d3d11Filter) \ + ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIN_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) +#define D3D11_DECODE_MAG_FILTER(d3d11Filter) \ + ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MAG_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) +#define D3D11_DECODE_MIP_FILTER(d3d11Filter) \ + ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIP_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) +#define D3D11_DECODE_IS_COMPARISON_FILTER(d3d11Filter) ((d3d11Filter) & D3D11_COMPARISON_FILTERING_BIT) +#define D3D11_DECODE_IS_ANISOTROPIC_FILTER(d3d11Filter) \ + (((d3d11Filter) & D3D11_ANISOTROPIC_FILTERING_BIT ) \ + && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTER(d3d11Filter)) \ + && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MAG_FILTER(d3d11Filter)) \ + && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIP_FILTER(d3d11Filter))) +typedef enum D3D11_FILTER { + D3D11_FILTER_MIN_MAG_MIP_POINT = 0x0, + D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1, + D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4, + D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5, + D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10, + D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11, + D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14, + D3D11_FILTER_MIN_MAG_MIP_LINEAR = 0x15, + D3D11_FILTER_ANISOTROPIC = 0x55, + D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80, + D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81, + D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84, + D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85, + D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90, + D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91, + D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94, + D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95, + D3D11_FILTER_COMPARISON_ANISOTROPIC = 0xd5 +} D3D11_FILTER; +typedef enum D3D11_DSV_FLAG { + D3D11_DSV_READ_ONLY_DEPTH = 0x1, + D3D11_DSV_READ_ONLY_STENCIL = 0x2 +} D3D11_DSV_FLAG; +typedef enum D3D11_BUFFEREX_SRV_FLAG { + D3D11_BUFFEREX_SRV_FLAG_RAW = 0x1 +} D3D11_BUFFEREX_SRV_FLAG; +typedef enum D3D11_UAV_FLAG { + D3D11_BUFFER_UAV_FLAG_RAW = 0x1, + D3D11_BUFFER_UAV_FLAG_APPEND = 0x2, + D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4 +} D3D11_UAV_FLAG; +typedef enum D3D11_INPUT_CLASSIFICATION { + D3D11_INPUT_PER_VERTEX_DATA = 0, + D3D11_INPUT_PER_INSTANCE_DATA = 1 +} D3D11_INPUT_CLASSIFICATION; +#define D3D11_APPEND_ALIGNED_ELEMENT (0xffffffff) + +typedef struct D3D11_INPUT_ELEMENT_DESC { + LPCSTR SemanticName; + UINT SemanticIndex; + DXGI_FORMAT Format; + UINT InputSlot; + UINT AlignedByteOffset; + D3D11_INPUT_CLASSIFICATION InputSlotClass; + UINT InstanceDataStepRate; +} D3D11_INPUT_ELEMENT_DESC; +typedef enum D3D11_MAP { + D3D11_MAP_READ = 1, + D3D11_MAP_WRITE = 2, + D3D11_MAP_READ_WRITE = 3, + D3D11_MAP_WRITE_DISCARD = 4, + D3D11_MAP_WRITE_NO_OVERWRITE = 5 +} D3D11_MAP; +typedef enum D3D11_MAP_FLAG { + D3D11_MAP_FLAG_DO_NOT_WAIT = 0x100000 +} D3D11_MAP_FLAG; +typedef struct D3D11_QUERY_DATA_SO_STATISTICS { + UINT64 NumPrimitivesWritten; + UINT64 PrimitivesStorageNeeded; +} D3D11_QUERY_DATA_SO_STATISTICS; +typedef struct D3D11_MAPPED_SUBRESOURCE { + void *pData; + UINT RowPitch; + UINT DepthPitch; +} D3D11_MAPPED_SUBRESOURCE; +typedef enum D3D11_QUERY { + D3D11_QUERY_EVENT = 0, + D3D11_QUERY_OCCLUSION = 1, + D3D11_QUERY_TIMESTAMP = 2, + D3D11_QUERY_TIMESTAMP_DISJOINT = 3, + D3D11_QUERY_PIPELINE_STATISTICS = 4, + D3D11_QUERY_OCCLUSION_PREDICATE = 5, + D3D11_QUERY_SO_STATISTICS = 6, + D3D11_QUERY_SO_OVERFLOW_PREDICATE = 7, + D3D11_QUERY_SO_STATISTICS_STREAM0 = 8, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 = 9, + D3D11_QUERY_SO_STATISTICS_STREAM1 = 10, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 = 11, + D3D11_QUERY_SO_STATISTICS_STREAM2 = 12, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 = 13, + D3D11_QUERY_SO_STATISTICS_STREAM3 = 14, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 = 15 +} D3D11_QUERY; +typedef enum D3D11_QUERY_MISC_FLAG { + D3D11_QUERY_MISC_PREDICATEHINT = 0x1 +} D3D11_QUERY_MISC_FLAG; +typedef enum D3D11_ASYNC_GETDATA_FLAG { + D3D11_ASYNC_GETDATA_DONOTFLUSH = 0x1 +} D3D11_ASYNC_GETDATA_FLAG; +typedef enum D3D11_RESOURCE_MISC_FLAG { + D3D11_RESOURCE_MISC_GENERATE_MIPS = 0x1, + D3D11_RESOURCE_MISC_SHARED = 0x2, + D3D11_RESOURCE_MISC_TEXTURECUBE = 0x4, + D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS = 0x10, + D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS = 0x20, + D3D11_RESOURCE_MISC_BUFFER_STRUCTURED = 0x40, + D3D11_RESOURCE_MISC_RESOURCE_CLAMP = 0x80, + D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x100, + D3D11_RESOURCE_MISC_GDI_COMPATIBLE = 0x200, + D3D11_RESOURCE_MISC_SHARED_NTHANDLE = 0x800, + D3D11_RESOURCE_MISC_RESTRICTED_CONTENT = 0x1000, + D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE = 0x2000, + D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER = 0x4000, + D3D11_RESOURCE_MISC_GUARDED = 0x8000 +} D3D11_RESOURCE_MISC_FLAG; +typedef struct D3D11_QUERY_DESC { + D3D11_QUERY Query; + UINT MiscFlags; +} D3D11_QUERY_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC { + CD3D11_QUERY_DESC() {} + ~CD3D11_QUERY_DESC() {} + explicit CD3D11_QUERY_DESC(const D3D11_QUERY_DESC &other) : D3D11_QUERY_DESC(other) {} + explicit CD3D11_QUERY_DESC(D3D11_QUERY query, UINT misc_flags = 0) { + Query = query; + MiscFlags = misc_flags; + } + operator const D3D11_QUERY_DESC&() const { + return *this; + } +}; +#endif +typedef struct D3D11_RASTERIZER_DESC { + D3D11_FILL_MODE FillMode; + D3D11_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + INT DepthBias; + FLOAT DepthBiasClamp; + FLOAT SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; +} D3D11_RASTERIZER_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC { + CD3D11_RASTERIZER_DESC() {} + explicit CD3D11_RASTERIZER_DESC(const D3D11_RASTERIZER_DESC &o) : D3D11_RASTERIZER_DESC(o) {} + explicit CD3D11_RASTERIZER_DESC(CD3D11_DEFAULT) { + FillMode = D3D11_FILL_SOLID; + CullMode = D3D11_CULL_BACK; + FrontCounterClockwise = FALSE; + DepthBias = D3D11_DEFAULT_DEPTH_BIAS; + DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP; + SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS; + DepthClipEnable = TRUE; + ScissorEnable = FALSE; + MultisampleEnable = FALSE; + AntialiasedLineEnable = FALSE; + } + explicit CD3D11_RASTERIZER_DESC(D3D11_FILL_MODE fillMode, D3D11_CULL_MODE cullMode, + BOOL frontCounterClockwise, INT depthBias, FLOAT depthBiasClamp, FLOAT slopeScaledDepthBias, + BOOL depthClipEnable, BOOL scissorEnable, BOOL multisampleEnable, BOOL antialiasedLineEnable) { + FillMode = fillMode; + CullMode = cullMode; + FrontCounterClockwise = frontCounterClockwise; + DepthBias = depthBias; + DepthBiasClamp = depthBiasClamp; + SlopeScaledDepthBias = slopeScaledDepthBias; + DepthClipEnable = depthClipEnable; + ScissorEnable = scissorEnable; + MultisampleEnable = multisampleEnable; + AntialiasedLineEnable = antialiasedLineEnable; + } + ~CD3D11_RASTERIZER_DESC() {} + operator const D3D11_RASTERIZER_DESC&() const { return *this; } +}; +#endif +typedef enum D3D11_RESOURCE_DIMENSION { + D3D11_RESOURCE_DIMENSION_UNKNOWN = 0, + D3D11_RESOURCE_DIMENSION_BUFFER = 1, + D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2, + D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3, + D3D11_RESOURCE_DIMENSION_TEXTURE3D = 4 +} D3D11_RESOURCE_DIMENSION; +typedef enum D3D11_RTV_DIMENSION { + D3D11_RTV_DIMENSION_UNKNOWN = 0, + D3D11_RTV_DIMENSION_BUFFER = 1, + D3D11_RTV_DIMENSION_TEXTURE1D = 2, + D3D11_RTV_DIMENSION_TEXTURE1DARRAY = 3, + D3D11_RTV_DIMENSION_TEXTURE2D = 4, + D3D11_RTV_DIMENSION_TEXTURE2DARRAY = 5, + D3D11_RTV_DIMENSION_TEXTURE2DMS = 6, + D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY = 7, + D3D11_RTV_DIMENSION_TEXTURE3D = 8 +} D3D11_RTV_DIMENSION; +typedef struct D3D11_SO_DECLARATION_ENTRY { + UINT Stream; + LPCSTR SemanticName; + UINT SemanticIndex; + BYTE StartComponent; + BYTE ComponentCount; + BYTE OutputSlot; +} D3D11_SO_DECLARATION_ENTRY; +typedef enum D3D11_STENCIL_OP { + D3D11_STENCIL_OP_KEEP = 1, + D3D11_STENCIL_OP_ZERO = 2, + D3D11_STENCIL_OP_REPLACE = 3, + D3D11_STENCIL_OP_INCR_SAT = 4, + D3D11_STENCIL_OP_DECR_SAT = 5, + D3D11_STENCIL_OP_INVERT = 6, + D3D11_STENCIL_OP_INCR = 7, + D3D11_STENCIL_OP_DECR = 8 +} D3D11_STENCIL_OP; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +} +inline UINT D3D11CalcSubresource(UINT MipSlice, UINT ArraySlice, UINT MipLevels) { + return MipSlice + ArraySlice * MipLevels; +} +extern "C"{ +#endif +typedef struct D3D11_SUBRESOURCE_DATA { + const void *pSysMem; + UINT SysMemPitch; + UINT SysMemSlicePitch; +} D3D11_SUBRESOURCE_DATA; +typedef struct D3D11_TEX1D_ARRAY_DSV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_DSV; +typedef struct D3D11_TEX1D_ARRAY_RTV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_RTV; +typedef struct D3D11_TEX1D_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_SRV; +typedef struct D3D11_TEX1D_ARRAY_UAV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_UAV; +typedef struct D3D11_TEX1D_DSV { + UINT MipSlice; +} D3D11_TEX1D_DSV; +typedef struct D3D11_TEX1D_RTV { + UINT MipSlice; +} D3D11_TEX1D_RTV; +typedef struct D3D11_TEX1D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEX1D_SRV; +typedef struct D3D11_TEX1D_UAV { + UINT MipSlice; +} D3D11_TEX1D_UAV; +typedef struct D3D11_TEX2D_ARRAY_DSV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_DSV; +typedef struct D3D11_TEX2D_ARRAY_RTV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_RTV; +typedef struct D3D11_TEX2D_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_SRV; +typedef struct D3D11_TEX2D_ARRAY_UAV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_UAV; +typedef struct D3D11_TEX2D_DSV { + UINT MipSlice; +} D3D11_TEX2D_DSV; +typedef struct D3D11_TEX2D_RTV { + UINT MipSlice; +} D3D11_TEX2D_RTV; +typedef struct D3D11_TEX2D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEX2D_SRV; +typedef struct D3D11_TEX2D_UAV { + UINT MipSlice; +} D3D11_TEX2D_UAV; +typedef struct D3D11_TEX2DMS_ARRAY_DSV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2DMS_ARRAY_DSV; +typedef struct D3D11_TEX2DMS_ARRAY_RTV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2DMS_ARRAY_RTV; +typedef struct D3D11_TEX2DMS_ARRAY_SRV { + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2DMS_ARRAY_SRV; +typedef struct D3D11_TEX2DMS_DSV { + UINT UnusedField_NothingToDefine; +} D3D11_TEX2DMS_DSV; +typedef struct D3D11_TEX2DMS_RTV { + UINT UnusedField_NothingToDefine; +} D3D11_TEX2DMS_RTV; +typedef struct D3D11_TEX2DMS_SRV { + UINT UnusedField_NothingToDefine; +} D3D11_TEX2DMS_SRV; +typedef struct D3D11_TEX3D_RTV { + UINT MipSlice; + UINT FirstWSlice; + UINT WSize; +} D3D11_TEX3D_RTV; +typedef struct D3D11_TEX3D_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEX3D_SRV; +typedef struct D3D11_TEX3D_UAV { + UINT MipSlice; + UINT FirstWSlice; + UINT WSize; +} D3D11_TEX3D_UAV; +typedef struct D3D11_TEXCUBE_ARRAY_SRV { + UINT MostDetailedMip; + UINT MipLevels; + UINT First2DArrayFace; + UINT NumCubes; +} D3D11_TEXCUBE_ARRAY_SRV; +typedef struct D3D11_TEXCUBE_SRV { + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEXCUBE_SRV; +typedef enum D3D11_TEXTURE_ADDRESS_MODE { + D3D11_TEXTURE_ADDRESS_WRAP = 1, + D3D11_TEXTURE_ADDRESS_MIRROR = 2, + D3D11_TEXTURE_ADDRESS_CLAMP = 3, + D3D11_TEXTURE_ADDRESS_BORDER = 4, + D3D11_TEXTURE_ADDRESS_MIRROR_ONCE = 5 +} D3D11_TEXTURE_ADDRESS_MODE; +typedef enum D3D11_UAV_DIMENSION { + D3D11_UAV_DIMENSION_UNKNOWN = 0, + D3D11_UAV_DIMENSION_BUFFER = 1, + D3D11_UAV_DIMENSION_TEXTURE1D = 2, + D3D11_UAV_DIMENSION_TEXTURE1DARRAY = 3, + D3D11_UAV_DIMENSION_TEXTURE2D = 4, + D3D11_UAV_DIMENSION_TEXTURE2DARRAY = 5, + D3D11_UAV_DIMENSION_TEXTURE3D = 8 +} D3D11_UAV_DIMENSION; +typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC { + DXGI_FORMAT Format; + D3D11_UAV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_BUFFER_UAV Buffer; + D3D11_TEX1D_UAV Texture1D; + D3D11_TEX1D_ARRAY_UAV Texture1DArray; + D3D11_TEX2D_UAV Texture2D; + D3D11_TEX2D_ARRAY_UAV Texture2DArray; + D3D11_TEX3D_UAV Texture3D; + } __C89_NAMELESSUNIONNAME; +} D3D11_UNORDERED_ACCESS_VIEW_DESC; +typedef enum D3D11_USAGE { + D3D11_USAGE_DEFAULT = 0, + D3D11_USAGE_IMMUTABLE = 1, + D3D11_USAGE_DYNAMIC = 2, + D3D11_USAGE_STAGING = 3 +} D3D11_USAGE; +typedef enum D3D11_BIND_FLAG { + D3D11_BIND_VERTEX_BUFFER = 0x1, + D3D11_BIND_INDEX_BUFFER = 0x2, + D3D11_BIND_CONSTANT_BUFFER = 0x4, + D3D11_BIND_SHADER_RESOURCE = 0x8, + D3D11_BIND_STREAM_OUTPUT = 0x10, + D3D11_BIND_RENDER_TARGET = 0x20, + D3D11_BIND_DEPTH_STENCIL = 0x40, + D3D11_BIND_UNORDERED_ACCESS = 0x80, + D3D11_BIND_DECODER = 0x200, + D3D11_BIND_VIDEO_ENCODER = 0x400 +} D3D11_BIND_FLAG; +typedef enum D3D11_CPU_ACCESS_FLAG { + D3D11_CPU_ACCESS_WRITE = 0x10000, + D3D11_CPU_ACCESS_READ = 0x20000 +} D3D11_CPU_ACCESS_FLAG; +typedef struct D3D11_VIEWPORT { + FLOAT TopLeftX; + FLOAT TopLeftY; + FLOAT Width; + FLOAT Height; + FLOAT MinDepth; + FLOAT MaxDepth; +} D3D11_VIEWPORT; +typedef enum D3D11_COLOR_WRITE_ENABLE { + D3D11_COLOR_WRITE_ENABLE_RED = 1, + D3D11_COLOR_WRITE_ENABLE_GREEN = 2, + D3D11_COLOR_WRITE_ENABLE_BLUE = 4, + D3D11_COLOR_WRITE_ENABLE_ALPHA = 8, + D3D11_COLOR_WRITE_ENABLE_ALL = ((D3D11_COLOR_WRITE_ENABLE_RED | D3D11_COLOR_WRITE_ENABLE_GREEN) | D3D11_COLOR_WRITE_ENABLE_BLUE) | D3D11_COLOR_WRITE_ENABLE_ALPHA +} D3D11_COLOR_WRITE_ENABLE; +typedef enum D3D11_FORMAT_SUPPORT { + D3D11_FORMAT_SUPPORT_BUFFER = 0x1, + D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2, + D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4, + D3D11_FORMAT_SUPPORT_SO_BUFFER = 0x8, + D3D11_FORMAT_SUPPORT_TEXTURE1D = 0x10, + D3D11_FORMAT_SUPPORT_TEXTURE2D = 0x20, + D3D11_FORMAT_SUPPORT_TEXTURE3D = 0x40, + D3D11_FORMAT_SUPPORT_TEXTURECUBE = 0x80, + D3D11_FORMAT_SUPPORT_SHADER_LOAD = 0x100, + D3D11_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200, + D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400, + D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800, + D3D11_FORMAT_SUPPORT_MIP = 0x1000, + D3D11_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000, + D3D11_FORMAT_SUPPORT_RENDER_TARGET = 0x4000, + D3D11_FORMAT_SUPPORT_BLENDABLE = 0x8000, + D3D11_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000, + D3D11_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000, + D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000, + D3D11_FORMAT_SUPPORT_DISPLAY = 0x80000, + D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000, + D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000, + D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000, + D3D11_FORMAT_SUPPORT_SHADER_GATHER = 0x800000, + D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000, + D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW = 0x2000000, + D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON = 0x4000000, + D3D11_FORMAT_SUPPORT_DECODER_OUTPUT = 0x8000000, + D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT = 0x10000000, + D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT = 0x20000000, + D3D11_FORMAT_SUPPORT_VIDEO_ENCODER = 0x40000000 +} D3D11_FORMAT_SUPPORT; +typedef enum D3D11_CLEAR_FLAG { + D3D11_CLEAR_DEPTH = 0x1, + D3D11_CLEAR_STENCIL = 0x2 +} D3D11_CLEAR_FLAG; +typedef struct D3D11_RENDER_TARGET_BLEND_DESC { + BOOL BlendEnable; + D3D11_BLEND SrcBlend; + D3D11_BLEND DestBlend; + D3D11_BLEND_OP BlendOp; + D3D11_BLEND SrcBlendAlpha; + D3D11_BLEND DestBlendAlpha; + D3D11_BLEND_OP BlendOpAlpha; + UINT8 RenderTargetWriteMask; +} D3D11_RENDER_TARGET_BLEND_DESC; +typedef struct D3D11_BLEND_DESC { + BOOL AlphaToCoverageEnable; + BOOL IndependentBlendEnable; + D3D11_RENDER_TARGET_BLEND_DESC RenderTarget[8]; +} D3D11_BLEND_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_BLEND_DESC : public D3D11_BLEND_DESC { + CD3D11_BLEND_DESC() {} + explicit CD3D11_BLEND_DESC(const D3D11_BLEND_DESC &o) : D3D11_BLEND_DESC(o) {} + explicit CD3D11_BLEND_DESC(CD3D11_DEFAULT) { + AlphaToCoverageEnable = FALSE; + IndependentBlendEnable = FALSE; + for(D3D11_RENDER_TARGET_BLEND_DESC *target; target < RenderTarget+D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; target++) { + target->BlendEnable = FALSE; + target->SrcBlend = target->SrcBlendAlpha = D3D11_BLEND_ONE; + target->DestBlend = target->DestBlendAlpha = D3D11_BLEND_ZERO; + target->BlendOp = target->BlendOpAlpha = D3D11_BLEND_OP_ADD; + target->RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL; + } + } + ~CD3D11_BLEND_DESC() {} + operator const D3D11_BLEND_DESC&() const { return *this; } +}; +#endif +typedef struct D3D11_BUFFER_DESC { + UINT ByteWidth; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; + UINT StructureByteStride; +} D3D11_BUFFER_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_BUFFER_DESC : public D3D11_BUFFER_DESC { + CD3D11_BUFFER_DESC() {} + explicit CD3D11_BUFFER_DESC(const D3D11_BUFFER_DESC &o) : D3D11_BUFFER_DESC(o) {} + explicit CD3D11_BUFFER_DESC(UINT byteWidth,UINT bindFlags, + D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0, + UINT miscFlags = 0, UINT structureByteStride = 0 ) { + ByteWidth = byteWidth; + Usage = usage; + BindFlags = bindFlags; + CPUAccessFlags = cpuaccessFlags; + MiscFlags = miscFlags; + StructureByteStride = structureByteStride; + } + ~CD3D11_BUFFER_DESC() {} + operator const D3D11_BUFFER_DESC&() const { return *this; } +}; +#endif +typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC { + DXGI_FORMAT Format; + D3D11_DSV_DIMENSION ViewDimension; + UINT Flags; + __C89_NAMELESS union { + D3D11_TEX1D_DSV Texture1D; + D3D11_TEX1D_ARRAY_DSV Texture1DArray; + D3D11_TEX2D_DSV Texture2D; + D3D11_TEX2D_ARRAY_DSV Texture2DArray; + D3D11_TEX2DMS_DSV Texture2DMS; + D3D11_TEX2DMS_ARRAY_DSV Texture2DMSArray; + } __C89_NAMELESSUNIONNAME; +} D3D11_DEPTH_STENCIL_VIEW_DESC; +typedef struct D3D11_DEPTH_STENCILOP_DESC { + D3D11_STENCIL_OP StencilFailOp; + D3D11_STENCIL_OP StencilDepthFailOp; + D3D11_STENCIL_OP StencilPassOp; + D3D11_COMPARISON_FUNC StencilFunc; +} D3D11_DEPTH_STENCILOP_DESC; +typedef struct D3D11_DEPTH_STENCIL_DESC { + BOOL DepthEnable; + D3D11_DEPTH_WRITE_MASK DepthWriteMask; + D3D11_COMPARISON_FUNC DepthFunc; + BOOL StencilEnable; + UINT8 StencilReadMask; + UINT8 StencilWriteMask; + D3D11_DEPTH_STENCILOP_DESC FrontFace; + D3D11_DEPTH_STENCILOP_DESC BackFace; +} D3D11_DEPTH_STENCIL_DESC; +#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus ) +struct CD3D11_DEPTH_STENCIL_DESC : public D3D11_DEPTH_STENCIL_DESC { + CD3D11_DEPTH_STENCIL_DESC() {} + explicit CD3D11_DEPTH_STENCIL_DESC(const D3D11_DEPTH_STENCIL_DESC &other) : D3D11_DEPTH_STENCIL_DESC(other) {} + explicit CD3D11_DEPTH_STENCIL_DESC(CD3D11_DEFAULT) { + const D3D11_DEPTH_STENCILOP_DESC default_op = + {D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_COMPARISON_ALWAYS}; + DepthEnable = TRUE; + DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ALL; + DepthFunc = D3D11_COMPARISON_LESS; + StencilEnable = FALSE; + StencilReadMask = D3D11_DEFAULT_STENCIL_READ_MASK; + StencilWriteMask = D3D11_DEFAULT_STENCIL_WRITE_MASK; + FrontFace = default_op; + BackFace = default_op; + } + explicit CD3D11_DEPTH_STENCIL_DESC( + BOOL depth_enable, + D3D11_DEPTH_WRITE_MASK depth_write_mask, + D3D11_COMPARISON_FUNC depth_func, + BOOL stencil_enable, + UINT8 stencil_read_mask, + UINT8 stencil_write_mask, + D3D11_STENCIL_OP front_stencil_fail_op, + D3D11_STENCIL_OP front_stencil_depth_fail_op, + D3D11_STENCIL_OP front_stencil_pass_op, + D3D11_COMPARISON_FUNC front_stencil_func, + D3D11_STENCIL_OP back_stencil_fail_op, + D3D11_STENCIL_OP back_stencil_depth_fail_op, + D3D11_STENCIL_OP back_stencil_pass_op, + D3D11_COMPARISON_FUNC back_stencil_func) { + DepthEnable = depth_enable; + DepthWriteMask = depth_write_mask; + DepthFunc = depth_func; + StencilEnable = stencil_enable; + StencilReadMask = stencil_read_mask; + StencilWriteMask = stencil_write_mask; + FrontFace.StencilFailOp = front_stencil_fail_op; + FrontFace.StencilDepthFailOp = front_stencil_depth_fail_op; + FrontFace.StencilPassOp = front_stencil_pass_op; + FrontFace.StencilFunc = front_stencil_func; + BackFace.StencilFailOp = back_stencil_fail_op; + BackFace.StencilDepthFailOp = back_stencil_depth_fail_op; + BackFace.StencilPassOp = back_stencil_pass_op; + BackFace.StencilFunc = back_stencil_func; + } + ~CD3D11_DEPTH_STENCIL_DESC() {} + operator const D3D11_DEPTH_STENCIL_DESC&() const { return *this; } +}; +#endif +typedef struct D3D11_RENDER_TARGET_VIEW_DESC { + DXGI_FORMAT Format; + D3D11_RTV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_BUFFER_RTV Buffer; + D3D11_TEX1D_RTV Texture1D; + D3D11_TEX1D_ARRAY_RTV Texture1DArray; + D3D11_TEX2D_RTV Texture2D; + D3D11_TEX2D_ARRAY_RTV Texture2DArray; + D3D11_TEX2DMS_RTV Texture2DMS; + D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray; + D3D11_TEX3D_RTV Texture3D; + } __C89_NAMELESSUNIONNAME; +} D3D11_RENDER_TARGET_VIEW_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_RENDER_TARGET_VIEW_DESC : public D3D11_RENDER_TARGET_VIEW_DESC { + CD3D11_RENDER_TARGET_VIEW_DESC() {} + explicit CD3D11_RENDER_TARGET_VIEW_DESC(D3D11_RTV_DIMENSION dim, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, + UINT mip_slice = 0, UINT first_slice = 0, UINT array_size = -1) { + Format = format; + ViewDimension = dim; + switch(dim) { + case D3D11_RTV_DIMENSION_BUFFER: + Buffer.FirstElement = mip_slice; + Buffer.NumElements = first_slice; + break; + case D3D11_RTV_DIMENSION_TEXTURE1D: + Texture1D.MipSlice = mip_slice; + break; + case D3D11_RTV_DIMENSION_TEXTURE1DARRAY: + Texture1DArray.MipSlice = mip_slice; + Texture1DArray.FirstArraySlice = first_slice; + Texture1DArray.ArraySize = array_size; + break; + case D3D11_RTV_DIMENSION_TEXTURE2D: + Texture2D.MipSlice = mip_slice; + break; + case D3D11_RTV_DIMENSION_TEXTURE2DARRAY: + Texture2DArray.MipSlice = mip_slice; + Texture2DArray.FirstArraySlice = first_slice; + Texture2DArray.ArraySize = array_size; + break; + case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY: + Texture2DMSArray.FirstArraySlice = first_slice; + Texture2DMSArray.ArraySize = array_size; + break; + case D3D11_RTV_DIMENSION_TEXTURE3D: + Texture3D.MipSlice = mip_slice; + Texture3D.FirstWSlice = first_slice; + Texture3D.WSize = array_size; + break; + default: + break; + } + } + explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Buffer*, DXGI_FORMAT format, UINT first_elem, + UINT elem_cnt) { + Format = format; + ViewDimension = D3D11_RTV_DIMENSION_BUFFER; + Buffer.FirstElement = first_elem; + Buffer.NumElements = elem_cnt; + } + explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture1D *texture, D3D11_RTV_DIMENSION dim, + DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT mip_slice = 0, UINT first_slice = 0, + UINT array_size = -1); + explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture2D *texture, D3D11_RTV_DIMENSION dim, + DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT mip_slice = 0, UINT first_slice = 0, + UINT array_size = -1); + explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture3D *texture, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, + UINT mip_slice = 0, UINT first_w_slice = 0, UINT w_slice = -1 ); + ~CD3D11_RENDER_TARGET_VIEW_DESC() {} + explicit CD3D11_RENDER_TARGET_VIEW_DESC(const D3D11_RENDER_TARGET_VIEW_DESC &other) + : D3D11_RENDER_TARGET_VIEW_DESC(other) {} + operator const D3D11_RENDER_TARGET_VIEW_DESC&() const { + return *this; + } +}; +#endif +typedef struct D3D11_SAMPLER_DESC { + D3D11_FILTER Filter; + D3D11_TEXTURE_ADDRESS_MODE AddressU; + D3D11_TEXTURE_ADDRESS_MODE AddressV; + D3D11_TEXTURE_ADDRESS_MODE AddressW; + FLOAT MipLODBias; + UINT MaxAnisotropy; + D3D11_COMPARISON_FUNC ComparisonFunc; + FLOAT BorderColor[4]; + FLOAT MinLOD; + FLOAT MaxLOD; +} D3D11_SAMPLER_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_SAMPLER_DESC : public D3D11_SAMPLER_DESC { + CD3D11_SAMPLER_DESC() {} + explicit CD3D11_SAMPLER_DESC(const D3D11_SAMPLER_DESC &o) : D3D11_SAMPLER_DESC(o) {} + explicit CD3D11_SAMPLER_DESC(CD3D11_DEFAULT) { + Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; + AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; + AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; + AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; + MipLODBias = 0; + MaxAnisotropy = 1; + ComparisonFunc = D3D11_COMPARISON_NEVER; + BorderColor[0] = BorderColor[1] = BorderColor[2] = BorderColor[3] = 1.0f; + MinLOD = -3.402823466e+38f; + MaxLOD = 3.402823466e+38f; + } + explicit CD3D11_SAMPLER_DESC(D3D11_FILTER filter, D3D11_TEXTURE_ADDRESS_MODE addressU, + D3D11_TEXTURE_ADDRESS_MODE addressV, D3D11_TEXTURE_ADDRESS_MODE addressW, + FLOAT mipLODBias, UINT maxAnisotropy, D3D11_COMPARISON_FUNC comparisonFunc, + const FLOAT *borderColor, FLOAT minLOD, FLOAT maxLOD) { + Filter = filter; + AddressU = addressU; + AddressV = addressV; + AddressW = addressW; + MipLODBias = mipLODBias; + MaxAnisotropy = maxAnisotropy; + ComparisonFunc = comparisonFunc; + if(borderColor) { + BorderColor[0] = borderColor[0]; + BorderColor[1] = borderColor[1]; + BorderColor[2] = borderColor[2]; + BorderColor[3] = borderColor[3]; + }else { + BorderColor[0] = BorderColor[1] = BorderColor[2] = BorderColor[3] = 1.0f; + } + MinLOD = minLOD; + MaxLOD = maxLOD; + } + ~CD3D11_SAMPLER_DESC() {} + operator const D3D11_SAMPLER_DESC&() const { return *this; } +}; +#endif +typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC { + DXGI_FORMAT Format; + D3D11_SRV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_BUFFER_SRV Buffer; + D3D11_TEX1D_SRV Texture1D; + D3D11_TEX1D_ARRAY_SRV Texture1DArray; + D3D11_TEX2D_SRV Texture2D; + D3D11_TEX2D_ARRAY_SRV Texture2DArray; + D3D11_TEX2DMS_SRV Texture2DMS; + D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D11_TEX3D_SRV Texture3D; + D3D11_TEXCUBE_SRV TextureCube; + D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray; + D3D11_BUFFEREX_SRV BufferEx; + } __C89_NAMELESSUNIONNAME; +} D3D11_SHADER_RESOURCE_VIEW_DESC; +#if !defined(D3D11_NO_HELPERS) && defined( __cplusplus ) +struct CD3D11_SHADER_RESOURCE_VIEW_DESC : public D3D11_SHADER_RESOURCE_VIEW_DESC { + CD3D11_SHADER_RESOURCE_VIEW_DESC() {} + explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(D3D11_SRV_DIMENSION dim, + DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT most_detailed_mip = 0, + UINT mip_levels = -1, UINT first_slice = 0, UINT array_size = -1, UINT flags = 0) { + Format = format; + ViewDimension = dim; + switch(ViewDimension) { + case D3D11_SRV_DIMENSION_BUFFER: + Buffer.FirstElement = most_detailed_mip; + Buffer.NumElements = mip_levels; + break; + case D3D11_SRV_DIMENSION_TEXTURE1D: + Texture1D.MostDetailedMip = most_detailed_mip; + Texture1D.MipLevels = mip_levels; + break; + case D3D11_SRV_DIMENSION_TEXTURE1DARRAY: + Texture1DArray.MostDetailedMip = most_detailed_mip; + Texture1DArray.MipLevels = mip_levels; + Texture1DArray.FirstArraySlice = first_slice; + Texture1DArray.ArraySize = array_size; + break; + case D3D11_SRV_DIMENSION_TEXTURE2D: + Texture2D.MostDetailedMip = most_detailed_mip; + Texture2D.MipLevels = mip_levels; + break; + case D3D11_SRV_DIMENSION_TEXTURE2DARRAY: + Texture2DArray.MostDetailedMip = most_detailed_mip; + Texture2DArray.MipLevels = mip_levels; + Texture2DArray.FirstArraySlice = first_slice; + Texture2DArray.ArraySize = array_size; + break; + case D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY: + Texture2DMSArray.FirstArraySlice = first_slice; + Texture2DMSArray.ArraySize = array_size; + break; + case D3D11_SRV_DIMENSION_TEXTURE3D: + Texture3D.MostDetailedMip = most_detailed_mip; + Texture3D.MipLevels = mip_levels; + break; + case D3D11_SRV_DIMENSION_TEXTURECUBE: + TextureCube.MostDetailedMip = most_detailed_mip; + TextureCube.MipLevels = mip_levels; + break; + case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY: + TextureCubeArray.MostDetailedMip = most_detailed_mip; + TextureCubeArray.MipLevels = mip_levels; + TextureCubeArray.First2DArrayFace = first_slice; + TextureCubeArray.NumCubes = array_size; + break; + case D3D11_SRV_DIMENSION_BUFFEREX: + BufferEx.FirstElement = most_detailed_mip; + BufferEx.NumElements = mip_levels; + BufferEx.Flags = flags; + break; + default: + break; + } + } + explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Buffer*, DXGI_FORMAT format, UINT first_elem, + UINT elem_cnt, UINT flags = 0); + explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Texture1D *texture, D3D11_SRV_DIMENSION dim, + DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT most_detailed_mip = 0, UINT mip_levels = -1, + UINT first_slice = 0, UINT array_size = -1 ); + explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Texture2D *texture, D3D11_SRV_DIMENSION dim, + DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT most_detailed_mip = 0, UINT mip_levels = -1, + UINT first_slice = 0, UINT array_size = -1 ); + explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Texture3D *texture, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, + UINT most_detailed_mip = 0, UINT mip_levels = -1 ); + ~CD3D11_SHADER_RESOURCE_VIEW_DESC() {} + explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(const D3D11_SHADER_RESOURCE_VIEW_DESC &other) + : D3D11_SHADER_RESOURCE_VIEW_DESC(other) {} + operator const D3D11_SHADER_RESOURCE_VIEW_DESC&() const { + return *this; + } +}; +#endif +typedef struct D3D11_TEXTURE1D_DESC { + UINT Width; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D11_TEXTURE1D_DESC; +typedef struct D3D11_TEXTURE2D_DESC { + UINT Width; + UINT Height; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D11_TEXTURE2D_DESC; +#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus) +struct CD3D11_TEXTURE2D_DESC : public D3D11_TEXTURE2D_DESC { + CD3D11_TEXTURE2D_DESC() {} + explicit CD3D11_TEXTURE2D_DESC(const D3D11_TEXTURE2D_DESC &o) : D3D11_TEXTURE2D_DESC(o) {} + explicit CD3D11_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height, UINT arraySize = 1, + UINT mipLevels = 0, UINT bindFlags = D3D11_BIND_SHADER_RESOURCE, + D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT sampleCount = 1, + UINT sampleQuality = 0, UINT miscFlags = 0) { + Width = width; + Height = height; + MipLevels = mipLevels; + ArraySize = arraySize; + Format = format; + SampleDesc.Count = sampleCount; + SampleDesc.Quality = sampleQuality; + Usage = usage; + BindFlags = bindFlags; + CPUAccessFlags = cpuaccessFlags; + MiscFlags = miscFlags; + } + ~CD3D11_TEXTURE2D_DESC() {} + operator const D3D11_TEXTURE2D_DESC&() const { return *this; } +}; +#endif +typedef struct D3D11_TEXTURE3D_DESC { + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + DXGI_FORMAT Format; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D11_TEXTURE3D_DESC; +typedef struct D3D11_VIDEO_DECODER_DESC { + GUID Guid; + UINT SampleWidth; + UINT SampleHeight; + DXGI_FORMAT OutputFormat; +} D3D11_VIDEO_DECODER_DESC; +typedef struct D3D11_VIDEO_DECODER_CONFIG { + GUID guidConfigBitstreamEncryption; + GUID guidConfigMBcontrolEncryption; + GUID guidConfigResidDiffEncryption; + UINT ConfigBitstreamRaw; + UINT ConfigMBcontrolRasterOrder; + UINT ConfigResidDiffHost; + UINT ConfigSpatialResid8; + UINT ConfigResid8Subtraction; + UINT ConfigSpatialHost8or9Clipping; + UINT ConfigSpatialResidInterleaved; + UINT ConfigIntraResidUnsigned; + UINT ConfigResidDiffAccelerator; + UINT ConfigHostInverseScan; + UINT ConfigSpecificIDCT; + UINT Config4GroupedCoefs; + USHORT ConfigMinRenderTargetBuffCount; + USHORT ConfigDecoderSpecific; +} D3D11_VIDEO_DECODER_CONFIG; +typedef enum D3D11_VIDEO_FRAME_FORMAT { + D3D11_VIDEO_FRAME_FORMAT_PROGRESSIVE = 0, + D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST = 1, + D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST = 2 +} D3D11_VIDEO_FRAME_FORMAT; +typedef enum D3D11_VIDEO_USAGE { + D3D11_VIDEO_USAGE_PLAYBACK_NORMAL = 0, + D3D11_VIDEO_USAGE_OPTIMAL_SPEED = 1, + D3D11_VIDEO_USAGE_OPTIMAL_QUALITY = 2 +} D3D11_VIDEO_USAGE; +typedef struct D3D11_VIDEO_PROCESSOR_CONTENT_DESC { + D3D11_VIDEO_FRAME_FORMAT InputFrameFormat; + DXGI_RATIONAL InputFrameRate; + UINT InputWidth; + UINT InputHeight; + DXGI_RATIONAL OutputFrameRate; + UINT OutputWidth; + UINT OutputHeight; + D3D11_VIDEO_USAGE Usage; +} D3D11_VIDEO_PROCESSOR_CONTENT_DESC; +typedef struct D3D11_VIDEO_PROCESSOR_CAPS { + UINT DeviceCaps; + UINT FeatureCaps; + UINT FilterCaps; + UINT InputFormatCaps; + UINT AutoStreamCaps; + UINT StereoCaps; + UINT RateConversionCapsCount; + UINT MaxInputStreams; + UINT MaxStreamStates; +} D3D11_VIDEO_PROCESSOR_CAPS; +typedef struct D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { + UINT PastFrames; + UINT FutureFrames; + UINT ProcessorCaps; + UINT ITelecineCaps; + UINT CustomRateCount; +} D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS; +typedef struct D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { + DXGI_RATIONAL CustomRate; + UINT OutputFrames; + BOOL InputInterlaced; + UINT InputFramesOrFields; +} D3D11_VIDEO_PROCESSOR_CUSTOM_RATE; +typedef enum D3D11_VIDEO_PROCESSOR_FILTER { + D3D11_VIDEO_PROCESSOR_FILTER_BRIGHTNESS = 0, + D3D11_VIDEO_PROCESSOR_FILTER_CONTRAST = 1, + D3D11_VIDEO_PROCESSOR_FILTER_HUE = 2, + D3D11_VIDEO_PROCESSOR_FILTER_SATURATION = 3, + D3D11_VIDEO_PROCESSOR_FILTER_NOISE_REDUCTION = 4, + D3D11_VIDEO_PROCESSOR_FILTER_EDGE_ENHANCEMENT = 5, + D3D11_VIDEO_PROCESSOR_FILTER_ANAMORPHIC_SCALING = 6, + D3D11_VIDEO_PROCESSOR_FILTER_STEREO_ADJUSTMENT = 7 +} D3D11_VIDEO_PROCESSOR_FILTER; +typedef struct D3D11_VIDEO_PROCESSOR_FILTER_RANGE { + int Minimum; + int Maximum; + int Default; + float Multiplier; +} D3D11_VIDEO_PROCESSOR_FILTER_RANGE; +typedef enum D3D11_AUTHENTICATED_CHANNEL_TYPE { + D3D11_AUTHENTICATED_CHANNEL_D3D11 = 1, + D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE = 2, + D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE = 3 +} D3D11_AUTHENTICATED_CHANNEL_TYPE; +typedef enum D3D11_VDOV_DIMENSION { + D3D11_VDOV_DIMENSION_UNKNOWN = 0, + D3D11_VDOV_DIMENSION_TEXTURE2D = 1 +} D3D11_VDOV_DIMENSION; +typedef struct D3D11_TEX2D_VDOV { + UINT ArraySlice; +} D3D11_TEX2D_VDOV; +typedef struct D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC { + GUID DecodeProfile; + D3D11_VDOV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_TEX2D_VDOV Texture2D; + } __C89_NAMELESSUNIONNAME; +} D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC; +typedef enum D3D11_VPIV_DIMENSION { + D3D11_VPIV_DIMENSION_UNKNOWN = 0, + D3D11_VPIV_DIMENSION_TEXTURE2D = 1 +} D3D11_VPIV_DIMENSION; +typedef struct D3D11_TEX2D_VPIV { + UINT MipSlice; + UINT ArraySlice; +} D3D11_TEX2D_VPIV; +typedef struct D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { + UINT FourCC; + D3D11_VPIV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_TEX2D_VPIV Texture2D; + } __C89_NAMELESSUNIONNAME; +} D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC; +typedef enum D3D11_VPOV_DIMENSION { + D3D11_VPOV_DIMENSION_UNKNOWN = 0, + D3D11_VPOV_DIMENSION_TEXTURE2D = 1, + D3D11_VPOV_DIMENSION_TEXTURE2DARRAY = 2 +} D3D11_VPOV_DIMENSION; +typedef struct D3D11_TEX2D_VPOV { + UINT MipSlice; +} D3D11_TEX2D_VPOV; +typedef struct D3D11_TEX2D_ARRAY_VPOV { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_VPOV; +typedef struct D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { + D3D11_VPOV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_TEX2D_VPOV Texture2D; + D3D11_TEX2D_ARRAY_VPOV Texture2DArray; + } __C89_NAMELESSUNIONNAME; +} D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC; +typedef struct D3D11_VIDEO_CONTENT_PROTECTION_CAPS { + UINT Caps; + UINT KeyExchangeTypeCount; + UINT BlockAlignmentSize; + ULONGLONG ProtectedMemorySize; +} D3D11_VIDEO_CONTENT_PROTECTION_CAPS; +typedef struct D3D11_ENCRYPTED_BLOCK_INFO { + UINT NumEncryptedBytesAtBeginning; + UINT NumBytesInSkipPattern; + UINT NumBytesInEncryptPattern; +} D3D11_ENCRYPTED_BLOCK_INFO; +typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC { + D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType; + UINT BufferIndex; + UINT DataOffset; + UINT DataSize; + UINT FirstMBaddress; + UINT NumMBsInBuffer; + UINT Width; + UINT Height; + UINT Stride; + UINT ReservedBits; + void *pIV; + UINT IVSize; + BOOL PartialEncryption; + D3D11_ENCRYPTED_BLOCK_INFO EncryptedBlockInfo; +} D3D11_VIDEO_DECODER_BUFFER_DESC; +typedef struct D3D11_VIDEO_DECODER_EXTENSION { + UINT Function; + void *pPrivateInputData; + UINT PrivateInputDataSize; + void *pPrivateOutputData; + UINT PrivateOutputDataSize; + UINT ResourceCount; + ID3D11Resource **ppResourceList; +} D3D11_VIDEO_DECODER_EXTENSION; +typedef struct D3D11_VIDEO_COLOR_YCbCrA { + float Y; + float Cb; + float Cr; + float A; +} D3D11_VIDEO_COLOR_YCbCrA; +typedef struct D3D11_VIDEO_COLOR_RGBA { + float R; + float G; + float B; + float A; +} D3D11_VIDEO_COLOR_RGBA; +typedef struct D3D11_VIDEO_COLOR { + __C89_NAMELESS union { + D3D11_VIDEO_COLOR_YCbCrA YCbCr; + D3D11_VIDEO_COLOR_RGBA RGBA; + } __C89_NAMELESSUNIONNAME; +} D3D11_VIDEO_COLOR; +typedef struct D3D11_VIDEO_PROCESSOR_COLOR_SPACE { + UINT Usage : 1; + UINT RGB_Range : 1; + UINT YCbCr_Matrix : 1; + UINT YCbCr_xvYCC : 1; + UINT Nominal_Range : 2; + UINT Reserved : 26; +} D3D11_VIDEO_PROCESSOR_COLOR_SPACE; +typedef struct D3D11_VIDEO_PROCESSOR_STREAM { + BOOL Enable; + UINT OutputIndex; + UINT InputFrameOrField; + UINT PastFrames; + UINT FutureFrames; + ID3D11VideoProcessorInputView **ppPastSurfaces; + ID3D11VideoProcessorInputView *pInputSurface; + ID3D11VideoProcessorInputView **ppFutureSurfaces; + ID3D11VideoProcessorInputView **ppPastSurfacesRight; + ID3D11VideoProcessorInputView *pInputSurfaceRight; + ID3D11VideoProcessorInputView **ppFutureSurfacesRight; +} D3D11_VIDEO_PROCESSOR_STREAM; +typedef struct D3D11_OMAC { + BYTE Omac[16]; +} D3D11_OMAC; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { + D3D11_OMAC omac; + GUID ConfigureType; + HANDLE hChannel; + UINT SequenceNumber; + HRESULT ReturnCode; +} D3D11_AUTHENTICATED_CONFIGURE_OUTPUT; +typedef struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { + UINT64 Frequency; + BOOL Disjoint; +} D3D11_QUERY_DATA_TIMESTAMP_DISJOINT; +typedef struct D3D11_QUERY_DATA_PIPELINE_STATISTICS { + UINT64 IAVertices; + UINT64 IAPrimitives; + UINT64 VSInvocations; + UINT64 GSInvocations; + UINT64 GSPrimitives; + UINT64 CInvocations; + UINT64 CPrimitives; + UINT64 PSInvocations; + UINT64 HSInvocations; + UINT64 DSInvocations; + UINT64 CSInvocations; +} D3D11_QUERY_DATA_PIPELINE_STATISTICS; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_INPUT { + D3D11_OMAC omac; + GUID ConfigureType; + HANDLE hChannel; + UINT SequenceNumber; +} D3D11_AUTHENTICATED_CONFIGURE_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_INPUT { + GUID QueryType; + HANDLE hChannel; + UINT SequenceNumber; +} D3D11_AUTHENTICATED_QUERY_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT { + D3D11_OMAC omac; + GUID QueryType; + HANDLE hChannel; + UINT SequenceNumber; + HRESULT ReturnCode; +} D3D11_AUTHENTICATED_QUERY_OUTPUT; +typedef union D3D11_AUTHENTICATED_PROTECTION_FLAGS { + struct { + UINT ProtectionEnabled : 1; + UINT OverlayOrFullscreenRequired : 1; + UINT Reserved : 30; + } Flags; + UINT Value; +} D3D11_AUTHENTICATED_PROTECTION_FLAGS; +typedef struct D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + D3D11_AUTHENTICATED_PROTECTION_FLAGS ProtectionFlags; +} D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType; +} D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DeviceHandle; +} D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { + D3D11_AUTHENTICATED_QUERY_INPUT Input; + HANDLE DecoderHandle; +} D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DecoderHandle; + HANDLE CryptoSessionHandle; + HANDLE DeviceHandle; +} D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT RestrictedSharedResourceProcessCount; +} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { + D3D11_AUTHENTICATED_QUERY_INPUT Input; + UINT ProcessIndex; +} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT ProcessIndex; + D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE ProcessIdentifier; + HANDLE ProcessHandle; +} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT UnrestrictedProtectedSharedResourceCount; +} D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { + D3D11_AUTHENTICATED_QUERY_INPUT Input; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; + UINT OutputIDCount; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { + D3D11_AUTHENTICATED_QUERY_INPUT Input; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; + UINT OutputIDIndex; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; + UINT OutputIDIndex; + UINT64 OutputID; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_ACESSIBILITY_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + D3D11_BUS_TYPE BusType; + BOOL AccessibleInContiguousBlocks; + BOOL AccessibleInNonContiguousBlocks; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT EncryptionGuidCount; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { + D3D11_AUTHENTICATED_QUERY_INPUT Input; + UINT EncryptionGuidIndex; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT EncryptionGuidIndex; + GUID EncryptionGuid; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT; +typedef struct D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + GUID EncryptionGuid; +} D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + UINT StartSequenceQuery; + UINT StartSequenceConfigure; +} D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT { + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + D3D11_AUTHENTICATED_PROTECTION_FLAGS Protections; +} D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + HANDLE DecoderHandle; + HANDLE CryptoSessionHandle; + HANDLE DeviceHandle; +} D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE ProcessType; + HANDLE ProcessHandle; + BOOL AllowAccess; +} D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT; +typedef struct D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + GUID EncryptionGuid; +} D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT; +/***************************************************************************** + * ID3D11DeviceChild interface + */ +#ifndef __ID3D11DeviceChild_INTERFACE_DEFINED__ +#define __ID3D11DeviceChild_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DeviceChild, 0x1841e5c8, 0x16b0, 0x489b, 0xbc,0xc8, 0x44,0xcf,0xb0,0xd5,0xde,0xae); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1841e5c8-16b0-489b-bcc8-44cfb0d5deae") +ID3D11DeviceChild : public IUnknown +{ + virtual void STDMETHODCALLTYPE GetDevice( + ID3D11Device **ppDevice) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrivateData( + REFGUID guid, + UINT *pDataSize, + void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + REFGUID guid, + UINT DataSize, + const void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( + REFGUID guid, + const IUnknown *pData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DeviceChild, 0x1841e5c8, 0x16b0, 0x489b, 0xbc,0xc8, 0x44,0xcf,0xb0,0xd5,0xde,0xae) +#endif +#else +typedef struct ID3D11DeviceChildVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DeviceChild *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DeviceChild *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DeviceChild *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DeviceChild *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DeviceChild *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DeviceChild *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DeviceChild *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11DeviceChildVtbl; + +interface ID3D11DeviceChild { + CONST_VTBL ID3D11DeviceChildVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DeviceChild_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DeviceChild_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DeviceChild_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DeviceChild_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DeviceChild_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DeviceChild_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DeviceChild_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceChild_QueryInterface(ID3D11DeviceChild* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DeviceChild_AddRef(ID3D11DeviceChild* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DeviceChild_Release(ID3D11DeviceChild* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DeviceChild_GetDevice(ID3D11DeviceChild* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DeviceChild_GetPrivateData(ID3D11DeviceChild* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceChild_SetPrivateData(ID3D11DeviceChild* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceChild_SetPrivateDataInterface(ID3D11DeviceChild* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DeviceChild_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Asynchronous interface + */ +#ifndef __ID3D11Asynchronous_INTERFACE_DEFINED__ +#define __ID3D11Asynchronous_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Asynchronous, 0x4b35d0cd, 0x1e15, 0x4258, 0x9c,0x98, 0x1b,0x13,0x33,0xf6,0xdd,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4b35d0cd-1e15-4258-9c98-1b1333f6dd3b") +ID3D11Asynchronous : public ID3D11DeviceChild +{ + virtual UINT STDMETHODCALLTYPE GetDataSize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Asynchronous, 0x4b35d0cd, 0x1e15, 0x4258, 0x9c,0x98, 0x1b,0x13,0x33,0xf6,0xdd,0x3b) +#endif +#else +typedef struct ID3D11AsynchronousVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Asynchronous *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Asynchronous *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Asynchronous *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Asynchronous *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Asynchronous *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Asynchronous *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Asynchronous *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Asynchronous methods ***/ + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D11Asynchronous *This); + + END_INTERFACE +} ID3D11AsynchronousVtbl; + +interface ID3D11Asynchronous { + CONST_VTBL ID3D11AsynchronousVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Asynchronous_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Asynchronous_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Asynchronous_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Asynchronous_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Asynchronous_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Asynchronous_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Asynchronous_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Asynchronous methods ***/ +#define ID3D11Asynchronous_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Asynchronous_QueryInterface(ID3D11Asynchronous* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Asynchronous_AddRef(ID3D11Asynchronous* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Asynchronous_Release(ID3D11Asynchronous* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Asynchronous_GetDevice(ID3D11Asynchronous* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Asynchronous_GetPrivateData(ID3D11Asynchronous* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Asynchronous_SetPrivateData(ID3D11Asynchronous* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Asynchronous_SetPrivateDataInterface(ID3D11Asynchronous* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Asynchronous methods ***/ +static FORCEINLINE UINT ID3D11Asynchronous_GetDataSize(ID3D11Asynchronous* This) { + return This->lpVtbl->GetDataSize(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Asynchronous_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Query interface + */ +#ifndef __ID3D11Query_INTERFACE_DEFINED__ +#define __ID3D11Query_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Query, 0xd6c00747, 0x87b7, 0x425e, 0xb8,0x4d, 0x44,0xd1,0x08,0x56,0x0a,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d6c00747-87b7-425e-b84d-44d108560afd") +ID3D11Query : public ID3D11Asynchronous +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_QUERY_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Query, 0xd6c00747, 0x87b7, 0x425e, 0xb8,0x4d, 0x44,0xd1,0x08,0x56,0x0a,0xfd) +#endif +#else +typedef struct ID3D11QueryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Query *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Query *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Query *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Query *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Query *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Query *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Query *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Asynchronous methods ***/ + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D11Query *This); + + /*** ID3D11Query methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Query *This, + D3D11_QUERY_DESC *pDesc); + + END_INTERFACE +} ID3D11QueryVtbl; + +interface ID3D11Query { + CONST_VTBL ID3D11QueryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Query_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Query_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Query_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Query_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Query_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Query_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Query_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Asynchronous methods ***/ +#define ID3D11Query_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D11Query methods ***/ +#define ID3D11Query_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Query_QueryInterface(ID3D11Query* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Query_AddRef(ID3D11Query* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Query_Release(ID3D11Query* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Query_GetDevice(ID3D11Query* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Query_GetPrivateData(ID3D11Query* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Query_SetPrivateData(ID3D11Query* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Query_SetPrivateDataInterface(ID3D11Query* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Asynchronous methods ***/ +static FORCEINLINE UINT ID3D11Query_GetDataSize(ID3D11Query* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D11Query methods ***/ +static FORCEINLINE void ID3D11Query_GetDesc(ID3D11Query* This,D3D11_QUERY_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Query_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Resource interface + */ +#ifndef __ID3D11Resource_INTERFACE_DEFINED__ +#define __ID3D11Resource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Resource, 0xdc8e63f3, 0xd12b, 0x4952, 0xb4,0x7b, 0x5e,0x45,0x02,0x6a,0x86,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc8e63f3-d12b-4952-b47b-5e45026a862d") +ID3D11Resource : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetType( + D3D11_RESOURCE_DIMENSION *pResourceDimension) = 0; + + virtual void STDMETHODCALLTYPE SetEvictionPriority( + UINT EvictionPriority) = 0; + + virtual UINT STDMETHODCALLTYPE GetEvictionPriority( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Resource, 0xdc8e63f3, 0xd12b, 0x4952, 0xb4,0x7b, 0x5e,0x45,0x02,0x6a,0x86,0x2d) +#endif +#else +typedef struct ID3D11ResourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Resource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Resource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Resource *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Resource *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Resource *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Resource *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Resource *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Resource *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Resource *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Resource *This); + + END_INTERFACE +} ID3D11ResourceVtbl; + +interface ID3D11Resource { + CONST_VTBL ID3D11ResourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Resource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Resource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Resource_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Resource_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Resource_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Resource_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Resource_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Resource_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Resource_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Resource_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Resource_QueryInterface(ID3D11Resource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Resource_AddRef(ID3D11Resource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Resource_Release(ID3D11Resource* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Resource_GetDevice(ID3D11Resource* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Resource_GetPrivateData(ID3D11Resource* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Resource_SetPrivateData(ID3D11Resource* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Resource_SetPrivateDataInterface(ID3D11Resource* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Resource_GetType(ID3D11Resource* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Resource_SetEvictionPriority(ID3D11Resource* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Resource_GetEvictionPriority(ID3D11Resource* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Resource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11View interface + */ +#ifndef __ID3D11View_INTERFACE_DEFINED__ +#define __ID3D11View_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11View, 0x839d1216, 0xbb2e, 0x412b, 0xb7,0xf4, 0xa9,0xdb,0xeb,0xe0,0x8e,0xd1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("839d1216-bb2e-412b-b7f4-a9dbebe08ed1") +ID3D11View : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetResource( + ID3D11Resource **ppResource) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11View, 0x839d1216, 0xbb2e, 0x412b, 0xb7,0xf4, 0xa9,0xdb,0xeb,0xe0,0x8e,0xd1) +#endif +#else +typedef struct ID3D11ViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11View *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11View *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11View *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11View *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11View *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11View *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11View *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11View *This, + ID3D11Resource **ppResource); + + END_INTERFACE +} ID3D11ViewVtbl; + +interface ID3D11View { + CONST_VTBL ID3D11ViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11View_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11View_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11View_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11View_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11View_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11View_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11View_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11View_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11View_QueryInterface(ID3D11View* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11View_AddRef(ID3D11View* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11View_Release(ID3D11View* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11View_GetDevice(ID3D11View* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11View_GetPrivateData(ID3D11View* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11View_SetPrivateData(ID3D11View* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11View_SetPrivateDataInterface(ID3D11View* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11View_GetResource(ID3D11View* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11View_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11BlendState interface + */ +#ifndef __ID3D11BlendState_INTERFACE_DEFINED__ +#define __ID3D11BlendState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11BlendState, 0x75b68faa, 0x347d, 0x4159, 0x8f,0x45, 0xa0,0x64,0x0f,0x01,0xcd,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("75b68faa-347d-4159-8f45-a0640f01cd9a") +ID3D11BlendState : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_BLEND_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11BlendState, 0x75b68faa, 0x347d, 0x4159, 0x8f,0x45, 0xa0,0x64,0x0f,0x01,0xcd,0x9a) +#endif +#else +typedef struct ID3D11BlendStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11BlendState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11BlendState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11BlendState *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11BlendState *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11BlendState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11BlendState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11BlendState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11BlendState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11BlendState *This, + D3D11_BLEND_DESC *pDesc); + + END_INTERFACE +} ID3D11BlendStateVtbl; + +interface ID3D11BlendState { + CONST_VTBL ID3D11BlendStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11BlendState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11BlendState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11BlendState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11BlendState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11BlendState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11BlendState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11BlendState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11BlendState methods ***/ +#define ID3D11BlendState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11BlendState_QueryInterface(ID3D11BlendState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11BlendState_AddRef(ID3D11BlendState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11BlendState_Release(ID3D11BlendState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11BlendState_GetDevice(ID3D11BlendState* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11BlendState_GetPrivateData(ID3D11BlendState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11BlendState_SetPrivateData(ID3D11BlendState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11BlendState_SetPrivateDataInterface(ID3D11BlendState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11BlendState methods ***/ +static FORCEINLINE void ID3D11BlendState_GetDesc(ID3D11BlendState* This,D3D11_BLEND_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11BlendState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Buffer interface + */ +#ifndef __ID3D11Buffer_INTERFACE_DEFINED__ +#define __ID3D11Buffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Buffer, 0x48570b85, 0xd1ee, 0x4fcd, 0xa2,0x50, 0xeb,0x35,0x07,0x22,0xb0,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("48570b85-d1ee-4fcd-a250-eb350722b037") +ID3D11Buffer : public ID3D11Resource +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_BUFFER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Buffer, 0x48570b85, 0xd1ee, 0x4fcd, 0xa2,0x50, 0xeb,0x35,0x07,0x22,0xb0,0x37) +#endif +#else +typedef struct ID3D11BufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Buffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Buffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Buffer *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Buffer *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Buffer *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Buffer *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Buffer *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Buffer *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Buffer *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Buffer *This); + + /*** ID3D11Buffer methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Buffer *This, + D3D11_BUFFER_DESC *pDesc); + + END_INTERFACE +} ID3D11BufferVtbl; + +interface ID3D11Buffer { + CONST_VTBL ID3D11BufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Buffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Buffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Buffer_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Buffer_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Buffer_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Buffer_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Buffer_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Buffer_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Buffer_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Buffer_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D11Buffer methods ***/ +#define ID3D11Buffer_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Buffer_QueryInterface(ID3D11Buffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Buffer_AddRef(ID3D11Buffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Buffer_Release(ID3D11Buffer* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Buffer_GetDevice(ID3D11Buffer* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Buffer_GetPrivateData(ID3D11Buffer* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Buffer_SetPrivateData(ID3D11Buffer* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Buffer_SetPrivateDataInterface(ID3D11Buffer* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Buffer_GetType(ID3D11Buffer* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Buffer_SetEvictionPriority(ID3D11Buffer* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Buffer_GetEvictionPriority(ID3D11Buffer* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D11Buffer methods ***/ +static FORCEINLINE void ID3D11Buffer_GetDesc(ID3D11Buffer* This,D3D11_BUFFER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Buffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11ClassInstance interface + */ +#ifndef __ID3D11ClassInstance_INTERFACE_DEFINED__ +#define __ID3D11ClassInstance_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11ClassInstance, 0xa6cd7faa, 0xb0b7, 0x4a2f, 0x94,0x36, 0x86,0x62,0xa6,0x57,0x97,0xcb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6cd7faa-b0b7-4a2f-9436-8662a65797cb") +ID3D11ClassInstance : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetClassLinkage( + ID3D11ClassLinkage **ppLinkage) = 0; + + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_CLASS_INSTANCE_DESC *pDesc) = 0; + + virtual void STDMETHODCALLTYPE GetInstanceName( + LPSTR pInstanceName, + SIZE_T *pBufferLength) = 0; + + virtual void STDMETHODCALLTYPE GetTypeName( + LPSTR pTypeName, + SIZE_T *pBufferLength) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11ClassInstance, 0xa6cd7faa, 0xb0b7, 0x4a2f, 0x94,0x36, 0x86,0x62,0xa6,0x57,0x97,0xcb) +#endif +#else +typedef struct ID3D11ClassInstanceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11ClassInstance *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11ClassInstance *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11ClassInstance *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11ClassInstance *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11ClassInstance *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11ClassInstance *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11ClassInstance *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11ClassInstance methods ***/ + void (STDMETHODCALLTYPE *GetClassLinkage)( + ID3D11ClassInstance *This, + ID3D11ClassLinkage **ppLinkage); + + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11ClassInstance *This, + D3D11_CLASS_INSTANCE_DESC *pDesc); + + void (STDMETHODCALLTYPE *GetInstanceName)( + ID3D11ClassInstance *This, + LPSTR pInstanceName, + SIZE_T *pBufferLength); + + void (STDMETHODCALLTYPE *GetTypeName)( + ID3D11ClassInstance *This, + LPSTR pTypeName, + SIZE_T *pBufferLength); + + END_INTERFACE +} ID3D11ClassInstanceVtbl; + +interface ID3D11ClassInstance { + CONST_VTBL ID3D11ClassInstanceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11ClassInstance_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11ClassInstance_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11ClassInstance_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11ClassInstance_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11ClassInstance_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11ClassInstance_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11ClassInstance_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11ClassInstance methods ***/ +#define ID3D11ClassInstance_GetClassLinkage(This,ppLinkage) (This)->lpVtbl->GetClassLinkage(This,ppLinkage) +#define ID3D11ClassInstance_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#define ID3D11ClassInstance_GetInstanceName(This,pInstanceName,pBufferLength) (This)->lpVtbl->GetInstanceName(This,pInstanceName,pBufferLength) +#define ID3D11ClassInstance_GetTypeName(This,pTypeName,pBufferLength) (This)->lpVtbl->GetTypeName(This,pTypeName,pBufferLength) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11ClassInstance_QueryInterface(ID3D11ClassInstance* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11ClassInstance_AddRef(ID3D11ClassInstance* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11ClassInstance_Release(ID3D11ClassInstance* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11ClassInstance_GetDevice(ID3D11ClassInstance* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11ClassInstance_GetPrivateData(ID3D11ClassInstance* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ClassInstance_SetPrivateData(ID3D11ClassInstance* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ClassInstance_SetPrivateDataInterface(ID3D11ClassInstance* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11ClassInstance methods ***/ +static FORCEINLINE void ID3D11ClassInstance_GetClassLinkage(ID3D11ClassInstance* This,ID3D11ClassLinkage **ppLinkage) { + This->lpVtbl->GetClassLinkage(This,ppLinkage); +} +static FORCEINLINE void ID3D11ClassInstance_GetDesc(ID3D11ClassInstance* This,D3D11_CLASS_INSTANCE_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +static FORCEINLINE void ID3D11ClassInstance_GetInstanceName(ID3D11ClassInstance* This,LPSTR pInstanceName,SIZE_T *pBufferLength) { + This->lpVtbl->GetInstanceName(This,pInstanceName,pBufferLength); +} +static FORCEINLINE void ID3D11ClassInstance_GetTypeName(ID3D11ClassInstance* This,LPSTR pTypeName,SIZE_T *pBufferLength) { + This->lpVtbl->GetTypeName(This,pTypeName,pBufferLength); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11ClassInstance_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11ClassLinkage interface + */ +#ifndef __ID3D11ClassLinkage_INTERFACE_DEFINED__ +#define __ID3D11ClassLinkage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11ClassLinkage, 0xddf57cba, 0x9543, 0x46e4, 0xa1,0x2b, 0xf2,0x07,0xa0,0xfe,0x7f,0xed); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ddf57cba-9543-46e4-a12b-f207a0fe7fed") +ID3D11ClassLinkage : public ID3D11DeviceChild +{ + virtual HRESULT STDMETHODCALLTYPE GetClassInstance( + LPCSTR pClassInstanceName, + UINT InstanceIndex, + ID3D11ClassInstance **ppInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateClassInstance( + LPCSTR pClassTypeName, + UINT ConstantBufferOffset, + UINT ConstantVectorOffset, + UINT TextureOffset, + UINT SamplerOffset, + ID3D11ClassInstance **ppInstance) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11ClassLinkage, 0xddf57cba, 0x9543, 0x46e4, 0xa1,0x2b, 0xf2,0x07,0xa0,0xfe,0x7f,0xed) +#endif +#else +typedef struct ID3D11ClassLinkageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11ClassLinkage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11ClassLinkage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11ClassLinkage *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11ClassLinkage *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11ClassLinkage *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11ClassLinkage *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11ClassLinkage *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11ClassLinkage methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassInstance)( + ID3D11ClassLinkage *This, + LPCSTR pClassInstanceName, + UINT InstanceIndex, + ID3D11ClassInstance **ppInstance); + + HRESULT (STDMETHODCALLTYPE *CreateClassInstance)( + ID3D11ClassLinkage *This, + LPCSTR pClassTypeName, + UINT ConstantBufferOffset, + UINT ConstantVectorOffset, + UINT TextureOffset, + UINT SamplerOffset, + ID3D11ClassInstance **ppInstance); + + END_INTERFACE +} ID3D11ClassLinkageVtbl; + +interface ID3D11ClassLinkage { + CONST_VTBL ID3D11ClassLinkageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11ClassLinkage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11ClassLinkage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11ClassLinkage_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11ClassLinkage_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11ClassLinkage_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11ClassLinkage_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11ClassLinkage_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11ClassLinkage methods ***/ +#define ID3D11ClassLinkage_GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance) (This)->lpVtbl->GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance) +#define ID3D11ClassLinkage_CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance) (This)->lpVtbl->CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11ClassLinkage_QueryInterface(ID3D11ClassLinkage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11ClassLinkage_AddRef(ID3D11ClassLinkage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11ClassLinkage_Release(ID3D11ClassLinkage* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11ClassLinkage_GetDevice(ID3D11ClassLinkage* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11ClassLinkage_GetPrivateData(ID3D11ClassLinkage* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ClassLinkage_SetPrivateData(ID3D11ClassLinkage* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ClassLinkage_SetPrivateDataInterface(ID3D11ClassLinkage* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11ClassLinkage methods ***/ +static FORCEINLINE HRESULT ID3D11ClassLinkage_GetClassInstance(ID3D11ClassLinkage* This,LPCSTR pClassInstanceName,UINT InstanceIndex,ID3D11ClassInstance **ppInstance) { + return This->lpVtbl->GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance); +} +static FORCEINLINE HRESULT ID3D11ClassLinkage_CreateClassInstance(ID3D11ClassLinkage* This,LPCSTR pClassTypeName,UINT ConstantBufferOffset,UINT ConstantVectorOffset,UINT TextureOffset,UINT SamplerOffset,ID3D11ClassInstance **ppInstance) { + return This->lpVtbl->CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11ClassLinkage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11CommandList interface + */ +#ifndef __ID3D11CommandList_INTERFACE_DEFINED__ +#define __ID3D11CommandList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11CommandList, 0xa24bc4d1, 0x769e, 0x43f7, 0x80,0x13, 0x98,0xff,0x56,0x6c,0x18,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a24bc4d1-769e-43f7-8013-98ff566c18e2") +ID3D11CommandList : public ID3D11DeviceChild +{ + virtual UINT STDMETHODCALLTYPE GetContextFlags( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11CommandList, 0xa24bc4d1, 0x769e, 0x43f7, 0x80,0x13, 0x98,0xff,0x56,0x6c,0x18,0xe2) +#endif +#else +typedef struct ID3D11CommandListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11CommandList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11CommandList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11CommandList *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11CommandList *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11CommandList *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11CommandList *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11CommandList *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11CommandList methods ***/ + UINT (STDMETHODCALLTYPE *GetContextFlags)( + ID3D11CommandList *This); + + END_INTERFACE +} ID3D11CommandListVtbl; + +interface ID3D11CommandList { + CONST_VTBL ID3D11CommandListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11CommandList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11CommandList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11CommandList_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11CommandList_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11CommandList_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11CommandList_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11CommandList_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11CommandList methods ***/ +#define ID3D11CommandList_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11CommandList_QueryInterface(ID3D11CommandList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11CommandList_AddRef(ID3D11CommandList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11CommandList_Release(ID3D11CommandList* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11CommandList_GetDevice(ID3D11CommandList* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11CommandList_GetPrivateData(ID3D11CommandList* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11CommandList_SetPrivateData(ID3D11CommandList* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11CommandList_SetPrivateDataInterface(ID3D11CommandList* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11CommandList methods ***/ +static FORCEINLINE UINT ID3D11CommandList_GetContextFlags(ID3D11CommandList* This) { + return This->lpVtbl->GetContextFlags(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11CommandList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11ComputeShader interface + */ +#ifndef __ID3D11ComputeShader_INTERFACE_DEFINED__ +#define __ID3D11ComputeShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11ComputeShader, 0x4f5b196e, 0xc2bd, 0x495e, 0xbd,0x01, 0x1f,0xde,0xd3,0x8e,0x49,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4f5b196e-c2bd-495e-bd01-1fded38e4969") +ID3D11ComputeShader : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11ComputeShader, 0x4f5b196e, 0xc2bd, 0x495e, 0xbd,0x01, 0x1f,0xde,0xd3,0x8e,0x49,0x69) +#endif +#else +typedef struct ID3D11ComputeShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11ComputeShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11ComputeShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11ComputeShader *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11ComputeShader *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11ComputeShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11ComputeShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11ComputeShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11ComputeShaderVtbl; + +interface ID3D11ComputeShader { + CONST_VTBL ID3D11ComputeShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11ComputeShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11ComputeShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11ComputeShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11ComputeShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11ComputeShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11ComputeShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11ComputeShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11ComputeShader_QueryInterface(ID3D11ComputeShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11ComputeShader_AddRef(ID3D11ComputeShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11ComputeShader_Release(ID3D11ComputeShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11ComputeShader_GetDevice(ID3D11ComputeShader* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11ComputeShader_GetPrivateData(ID3D11ComputeShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ComputeShader_SetPrivateData(ID3D11ComputeShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ComputeShader_SetPrivateDataInterface(ID3D11ComputeShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11ComputeShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Counter interface + */ +#ifndef __ID3D11Counter_INTERFACE_DEFINED__ +#define __ID3D11Counter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Counter, 0x6e8c49fb, 0xa371, 0x4770, 0xb4,0x40, 0x29,0x08,0x60,0x22,0xb7,0x41); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6e8c49fb-a371-4770-b440-29086022b741") +ID3D11Counter : public ID3D11Asynchronous +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_COUNTER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Counter, 0x6e8c49fb, 0xa371, 0x4770, 0xb4,0x40, 0x29,0x08,0x60,0x22,0xb7,0x41) +#endif +#else +typedef struct ID3D11CounterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Counter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Counter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Counter *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Counter *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Counter *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Counter *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Counter *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Asynchronous methods ***/ + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D11Counter *This); + + /*** ID3D11Counter methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Counter *This, + D3D11_COUNTER_DESC *pDesc); + + END_INTERFACE +} ID3D11CounterVtbl; + +interface ID3D11Counter { + CONST_VTBL ID3D11CounterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Counter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Counter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Counter_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Counter_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Counter_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Counter_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Counter_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Asynchronous methods ***/ +#define ID3D11Counter_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D11Counter methods ***/ +#define ID3D11Counter_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Counter_QueryInterface(ID3D11Counter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Counter_AddRef(ID3D11Counter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Counter_Release(ID3D11Counter* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Counter_GetDevice(ID3D11Counter* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Counter_GetPrivateData(ID3D11Counter* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Counter_SetPrivateData(ID3D11Counter* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Counter_SetPrivateDataInterface(ID3D11Counter* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Asynchronous methods ***/ +static FORCEINLINE UINT ID3D11Counter_GetDataSize(ID3D11Counter* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D11Counter methods ***/ +static FORCEINLINE void ID3D11Counter_GetDesc(ID3D11Counter* This,D3D11_COUNTER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Counter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DepthStencilState interface + */ +#ifndef __ID3D11DepthStencilState_INTERFACE_DEFINED__ +#define __ID3D11DepthStencilState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DepthStencilState, 0x03823efb, 0x8d8f, 0x4e1c, 0x9a,0xa2, 0xf6,0x4b,0xb2,0xcb,0xfd,0xf1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1") +ID3D11DepthStencilState : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_DEPTH_STENCIL_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DepthStencilState, 0x03823efb, 0x8d8f, 0x4e1c, 0x9a,0xa2, 0xf6,0x4b,0xb2,0xcb,0xfd,0xf1) +#endif +#else +typedef struct ID3D11DepthStencilStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DepthStencilState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DepthStencilState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DepthStencilState *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DepthStencilState *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DepthStencilState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DepthStencilState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DepthStencilState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11DepthStencilState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11DepthStencilState *This, + D3D11_DEPTH_STENCIL_DESC *pDesc); + + END_INTERFACE +} ID3D11DepthStencilStateVtbl; + +interface ID3D11DepthStencilState { + CONST_VTBL ID3D11DepthStencilStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DepthStencilState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DepthStencilState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DepthStencilState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DepthStencilState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DepthStencilState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DepthStencilState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11DepthStencilState methods ***/ +#define ID3D11DepthStencilState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DepthStencilState_QueryInterface(ID3D11DepthStencilState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DepthStencilState_AddRef(ID3D11DepthStencilState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DepthStencilState_Release(ID3D11DepthStencilState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DepthStencilState_GetDevice(ID3D11DepthStencilState* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DepthStencilState_GetPrivateData(ID3D11DepthStencilState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DepthStencilState_SetPrivateData(ID3D11DepthStencilState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DepthStencilState_SetPrivateDataInterface(ID3D11DepthStencilState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11DepthStencilState methods ***/ +static FORCEINLINE void ID3D11DepthStencilState_GetDesc(ID3D11DepthStencilState* This,D3D11_DEPTH_STENCIL_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DepthStencilState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DepthStencilView interface + */ +#ifndef __ID3D11DepthStencilView_INTERFACE_DEFINED__ +#define __ID3D11DepthStencilView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DepthStencilView, 0x9fdac92a, 0x1876, 0x48c3, 0xaf,0xad, 0x25,0xb9,0x4f,0x84,0xa9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9fdac92a-1876-48c3-afad-25b94f84a9b6") +ID3D11DepthStencilView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DepthStencilView, 0x9fdac92a, 0x1876, 0x48c3, 0xaf,0xad, 0x25,0xb9,0x4f,0x84,0xa9,0xb6) +#endif +#else +typedef struct ID3D11DepthStencilViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DepthStencilView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DepthStencilView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DepthStencilView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DepthStencilView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DepthStencilView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DepthStencilView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DepthStencilView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11DepthStencilView *This, + ID3D11Resource **ppResource); + + /*** ID3D11DepthStencilView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11DepthStencilView *This, + D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11DepthStencilViewVtbl; + +interface ID3D11DepthStencilView { + CONST_VTBL ID3D11DepthStencilViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DepthStencilView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DepthStencilView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DepthStencilView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DepthStencilView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DepthStencilView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DepthStencilView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11DepthStencilView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11DepthStencilView methods ***/ +#define ID3D11DepthStencilView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DepthStencilView_QueryInterface(ID3D11DepthStencilView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DepthStencilView_AddRef(ID3D11DepthStencilView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DepthStencilView_Release(ID3D11DepthStencilView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DepthStencilView_GetDevice(ID3D11DepthStencilView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DepthStencilView_GetPrivateData(ID3D11DepthStencilView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DepthStencilView_SetPrivateData(ID3D11DepthStencilView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DepthStencilView_SetPrivateDataInterface(ID3D11DepthStencilView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11DepthStencilView_GetResource(ID3D11DepthStencilView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11DepthStencilView methods ***/ +static FORCEINLINE void ID3D11DepthStencilView_GetDesc(ID3D11DepthStencilView* This,D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DepthStencilView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DomainShader interface + */ +#ifndef __ID3D11DomainShader_INTERFACE_DEFINED__ +#define __ID3D11DomainShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DomainShader, 0xf582c508, 0x0f36, 0x490c, 0x99,0x77, 0x31,0xee,0xce,0x26,0x8c,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f582c508-0f36-490c-9977-31eece268cfa") +ID3D11DomainShader : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DomainShader, 0xf582c508, 0x0f36, 0x490c, 0x99,0x77, 0x31,0xee,0xce,0x26,0x8c,0xfa) +#endif +#else +typedef struct ID3D11DomainShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DomainShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DomainShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DomainShader *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DomainShader *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DomainShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DomainShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DomainShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11DomainShaderVtbl; + +interface ID3D11DomainShader { + CONST_VTBL ID3D11DomainShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DomainShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DomainShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DomainShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DomainShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DomainShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DomainShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DomainShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DomainShader_QueryInterface(ID3D11DomainShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DomainShader_AddRef(ID3D11DomainShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DomainShader_Release(ID3D11DomainShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DomainShader_GetDevice(ID3D11DomainShader* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DomainShader_GetPrivateData(ID3D11DomainShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DomainShader_SetPrivateData(ID3D11DomainShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DomainShader_SetPrivateDataInterface(ID3D11DomainShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DomainShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11GeometryShader interface + */ +#ifndef __ID3D11GeometryShader_INTERFACE_DEFINED__ +#define __ID3D11GeometryShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11GeometryShader, 0x38325b96, 0xeffb, 0x4022, 0xba,0x02, 0x2e,0x79,0x5b,0x70,0x27,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("38325b96-effb-4022-ba02-2e795b70275c") +ID3D11GeometryShader : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11GeometryShader, 0x38325b96, 0xeffb, 0x4022, 0xba,0x02, 0x2e,0x79,0x5b,0x70,0x27,0x5c) +#endif +#else +typedef struct ID3D11GeometryShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11GeometryShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11GeometryShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11GeometryShader *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11GeometryShader *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11GeometryShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11GeometryShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11GeometryShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11GeometryShaderVtbl; + +interface ID3D11GeometryShader { + CONST_VTBL ID3D11GeometryShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11GeometryShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11GeometryShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11GeometryShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11GeometryShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11GeometryShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11GeometryShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11GeometryShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11GeometryShader_QueryInterface(ID3D11GeometryShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11GeometryShader_AddRef(ID3D11GeometryShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11GeometryShader_Release(ID3D11GeometryShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11GeometryShader_GetDevice(ID3D11GeometryShader* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11GeometryShader_GetPrivateData(ID3D11GeometryShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11GeometryShader_SetPrivateData(ID3D11GeometryShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11GeometryShader_SetPrivateDataInterface(ID3D11GeometryShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11GeometryShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11HullShader interface + */ +#ifndef __ID3D11HullShader_INTERFACE_DEFINED__ +#define __ID3D11HullShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11HullShader, 0x8e5c6061, 0x628a, 0x4c8e, 0x82,0x64, 0xbb,0xe4,0x5c,0xb3,0xd5,0xdd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8e5c6061-628a-4c8e-8264-bbe45cb3d5dd") +ID3D11HullShader : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11HullShader, 0x8e5c6061, 0x628a, 0x4c8e, 0x82,0x64, 0xbb,0xe4,0x5c,0xb3,0xd5,0xdd) +#endif +#else +typedef struct ID3D11HullShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11HullShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11HullShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11HullShader *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11HullShader *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11HullShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11HullShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11HullShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11HullShaderVtbl; + +interface ID3D11HullShader { + CONST_VTBL ID3D11HullShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11HullShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11HullShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11HullShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11HullShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11HullShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11HullShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11HullShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11HullShader_QueryInterface(ID3D11HullShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11HullShader_AddRef(ID3D11HullShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11HullShader_Release(ID3D11HullShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11HullShader_GetDevice(ID3D11HullShader* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11HullShader_GetPrivateData(ID3D11HullShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11HullShader_SetPrivateData(ID3D11HullShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11HullShader_SetPrivateDataInterface(ID3D11HullShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11HullShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11InputLayout interface + */ +#ifndef __ID3D11InputLayout_INTERFACE_DEFINED__ +#define __ID3D11InputLayout_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11InputLayout, 0xe4819ddc, 0x4cf0, 0x4025, 0xbd,0x26, 0x5d,0xe8,0x2a,0x3e,0x07,0xb7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e4819ddc-4cf0-4025-bd26-5de82a3e07b7") +ID3D11InputLayout : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11InputLayout, 0xe4819ddc, 0x4cf0, 0x4025, 0xbd,0x26, 0x5d,0xe8,0x2a,0x3e,0x07,0xb7) +#endif +#else +typedef struct ID3D11InputLayoutVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11InputLayout *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11InputLayout *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11InputLayout *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11InputLayout *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11InputLayout *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11InputLayout *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11InputLayout *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11InputLayoutVtbl; + +interface ID3D11InputLayout { + CONST_VTBL ID3D11InputLayoutVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11InputLayout_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11InputLayout_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11InputLayout_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11InputLayout_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11InputLayout_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11InputLayout_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11InputLayout_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11InputLayout_QueryInterface(ID3D11InputLayout* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11InputLayout_AddRef(ID3D11InputLayout* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11InputLayout_Release(ID3D11InputLayout* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11InputLayout_GetDevice(ID3D11InputLayout* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11InputLayout_GetPrivateData(ID3D11InputLayout* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11InputLayout_SetPrivateData(ID3D11InputLayout* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11InputLayout_SetPrivateDataInterface(ID3D11InputLayout* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11InputLayout_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11PixelShader interface + */ +#ifndef __ID3D11PixelShader_INTERFACE_DEFINED__ +#define __ID3D11PixelShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11PixelShader, 0xea82e40d, 0x51dc, 0x4f33, 0x93,0xd4, 0xdb,0x7c,0x91,0x25,0xae,0x8c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ea82e40d-51dc-4f33-93d4-db7c9125ae8c") +ID3D11PixelShader : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11PixelShader, 0xea82e40d, 0x51dc, 0x4f33, 0x93,0xd4, 0xdb,0x7c,0x91,0x25,0xae,0x8c) +#endif +#else +typedef struct ID3D11PixelShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11PixelShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11PixelShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11PixelShader *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11PixelShader *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11PixelShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11PixelShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11PixelShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11PixelShaderVtbl; + +interface ID3D11PixelShader { + CONST_VTBL ID3D11PixelShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11PixelShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11PixelShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11PixelShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11PixelShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11PixelShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11PixelShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11PixelShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11PixelShader_QueryInterface(ID3D11PixelShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11PixelShader_AddRef(ID3D11PixelShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11PixelShader_Release(ID3D11PixelShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11PixelShader_GetDevice(ID3D11PixelShader* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11PixelShader_GetPrivateData(ID3D11PixelShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11PixelShader_SetPrivateData(ID3D11PixelShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11PixelShader_SetPrivateDataInterface(ID3D11PixelShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11PixelShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Predicate interface + */ +#ifndef __ID3D11Predicate_INTERFACE_DEFINED__ +#define __ID3D11Predicate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Predicate, 0x9eb576dd, 0x9f77, 0x4d86, 0x81,0xaa, 0x8b,0xab,0x5f,0xe4,0x90,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9eb576dd-9f77-4d86-81aa-8bab5fe490e2") +ID3D11Predicate : public ID3D11Query +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Predicate, 0x9eb576dd, 0x9f77, 0x4d86, 0x81,0xaa, 0x8b,0xab,0x5f,0xe4,0x90,0xe2) +#endif +#else +typedef struct ID3D11PredicateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Predicate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Predicate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Predicate *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Predicate *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Predicate *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Predicate *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Predicate *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Asynchronous methods ***/ + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D11Predicate *This); + + /*** ID3D11Query methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Predicate *This, + D3D11_QUERY_DESC *pDesc); + + END_INTERFACE +} ID3D11PredicateVtbl; + +interface ID3D11Predicate { + CONST_VTBL ID3D11PredicateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Predicate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Predicate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Predicate_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Predicate_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Predicate_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Predicate_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Predicate_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Asynchronous methods ***/ +#define ID3D11Predicate_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D11Query methods ***/ +#define ID3D11Predicate_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Predicate_QueryInterface(ID3D11Predicate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Predicate_AddRef(ID3D11Predicate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Predicate_Release(ID3D11Predicate* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Predicate_GetDevice(ID3D11Predicate* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Predicate_GetPrivateData(ID3D11Predicate* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Predicate_SetPrivateData(ID3D11Predicate* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Predicate_SetPrivateDataInterface(ID3D11Predicate* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Asynchronous methods ***/ +static FORCEINLINE UINT ID3D11Predicate_GetDataSize(ID3D11Predicate* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D11Query methods ***/ +static FORCEINLINE void ID3D11Predicate_GetDesc(ID3D11Predicate* This,D3D11_QUERY_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Predicate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11RasterizerState interface + */ +#ifndef __ID3D11RasterizerState_INTERFACE_DEFINED__ +#define __ID3D11RasterizerState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11RasterizerState, 0x9bb4ab81, 0xab1a, 0x4d8f, 0xb5,0x06, 0xfc,0x04,0x20,0x0b,0x6e,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7") +ID3D11RasterizerState : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_RASTERIZER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11RasterizerState, 0x9bb4ab81, 0xab1a, 0x4d8f, 0xb5,0x06, 0xfc,0x04,0x20,0x0b,0x6e,0xe7) +#endif +#else +typedef struct ID3D11RasterizerStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11RasterizerState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11RasterizerState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11RasterizerState *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11RasterizerState *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11RasterizerState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11RasterizerState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11RasterizerState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11RasterizerState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11RasterizerState *This, + D3D11_RASTERIZER_DESC *pDesc); + + END_INTERFACE +} ID3D11RasterizerStateVtbl; + +interface ID3D11RasterizerState { + CONST_VTBL ID3D11RasterizerStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11RasterizerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11RasterizerState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11RasterizerState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11RasterizerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11RasterizerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11RasterizerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11RasterizerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11RasterizerState methods ***/ +#define ID3D11RasterizerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11RasterizerState_QueryInterface(ID3D11RasterizerState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11RasterizerState_AddRef(ID3D11RasterizerState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11RasterizerState_Release(ID3D11RasterizerState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11RasterizerState_GetDevice(ID3D11RasterizerState* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11RasterizerState_GetPrivateData(ID3D11RasterizerState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RasterizerState_SetPrivateData(ID3D11RasterizerState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RasterizerState_SetPrivateDataInterface(ID3D11RasterizerState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11RasterizerState methods ***/ +static FORCEINLINE void ID3D11RasterizerState_GetDesc(ID3D11RasterizerState* This,D3D11_RASTERIZER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11RasterizerState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11RenderTargetView interface + */ +#ifndef __ID3D11RenderTargetView_INTERFACE_DEFINED__ +#define __ID3D11RenderTargetView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11RenderTargetView, 0xdfdba067, 0x0b8d, 0x4865, 0x87,0x5b, 0xd7,0xb4,0x51,0x6c,0xc1,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dfdba067-0b8d-4865-875b-d7b4516cc164") +ID3D11RenderTargetView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_RENDER_TARGET_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11RenderTargetView, 0xdfdba067, 0x0b8d, 0x4865, 0x87,0x5b, 0xd7,0xb4,0x51,0x6c,0xc1,0x64) +#endif +#else +typedef struct ID3D11RenderTargetViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11RenderTargetView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11RenderTargetView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11RenderTargetView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11RenderTargetView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11RenderTargetView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11RenderTargetView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11RenderTargetView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11RenderTargetView *This, + ID3D11Resource **ppResource); + + /*** ID3D11RenderTargetView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11RenderTargetView *This, + D3D11_RENDER_TARGET_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11RenderTargetViewVtbl; + +interface ID3D11RenderTargetView { + CONST_VTBL ID3D11RenderTargetViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11RenderTargetView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11RenderTargetView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11RenderTargetView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11RenderTargetView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11RenderTargetView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11RenderTargetView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11RenderTargetView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11RenderTargetView methods ***/ +#define ID3D11RenderTargetView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11RenderTargetView_QueryInterface(ID3D11RenderTargetView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11RenderTargetView_AddRef(ID3D11RenderTargetView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11RenderTargetView_Release(ID3D11RenderTargetView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11RenderTargetView_GetDevice(ID3D11RenderTargetView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11RenderTargetView_GetPrivateData(ID3D11RenderTargetView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RenderTargetView_SetPrivateData(ID3D11RenderTargetView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RenderTargetView_SetPrivateDataInterface(ID3D11RenderTargetView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11RenderTargetView_GetResource(ID3D11RenderTargetView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11RenderTargetView methods ***/ +static FORCEINLINE void ID3D11RenderTargetView_GetDesc(ID3D11RenderTargetView* This,D3D11_RENDER_TARGET_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11RenderTargetView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11SamplerState interface + */ +#ifndef __ID3D11SamplerState_INTERFACE_DEFINED__ +#define __ID3D11SamplerState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11SamplerState, 0xda6fea51, 0x564c, 0x4487, 0x98,0x10, 0xf0,0xd0,0xf9,0xb4,0xe3,0xa5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("da6fea51-564c-4487-9810-f0d0f9b4e3a5") +ID3D11SamplerState : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_SAMPLER_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11SamplerState, 0xda6fea51, 0x564c, 0x4487, 0x98,0x10, 0xf0,0xd0,0xf9,0xb4,0xe3,0xa5) +#endif +#else +typedef struct ID3D11SamplerStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11SamplerState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11SamplerState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11SamplerState *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11SamplerState *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11SamplerState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11SamplerState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11SamplerState *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11SamplerState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11SamplerState *This, + D3D11_SAMPLER_DESC *pDesc); + + END_INTERFACE +} ID3D11SamplerStateVtbl; + +interface ID3D11SamplerState { + CONST_VTBL ID3D11SamplerStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11SamplerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11SamplerState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11SamplerState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11SamplerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11SamplerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11SamplerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11SamplerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11SamplerState methods ***/ +#define ID3D11SamplerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11SamplerState_QueryInterface(ID3D11SamplerState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11SamplerState_AddRef(ID3D11SamplerState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11SamplerState_Release(ID3D11SamplerState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11SamplerState_GetDevice(ID3D11SamplerState* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11SamplerState_GetPrivateData(ID3D11SamplerState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11SamplerState_SetPrivateData(ID3D11SamplerState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11SamplerState_SetPrivateDataInterface(ID3D11SamplerState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11SamplerState methods ***/ +static FORCEINLINE void ID3D11SamplerState_GetDesc(ID3D11SamplerState* This,D3D11_SAMPLER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11SamplerState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11ShaderResourceView interface + */ +#ifndef __ID3D11ShaderResourceView_INTERFACE_DEFINED__ +#define __ID3D11ShaderResourceView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11ShaderResourceView, 0xb0e06fe0, 0x8192, 0x4e1a, 0xb1,0xca, 0x36,0xd7,0x41,0x47,0x10,0xb2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b0e06fe0-8192-4e1a-b1ca-36d7414710b2") +ID3D11ShaderResourceView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11ShaderResourceView, 0xb0e06fe0, 0x8192, 0x4e1a, 0xb1,0xca, 0x36,0xd7,0x41,0x47,0x10,0xb2) +#endif +#else +typedef struct ID3D11ShaderResourceViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11ShaderResourceView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11ShaderResourceView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11ShaderResourceView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11ShaderResourceView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11ShaderResourceView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11ShaderResourceView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11ShaderResourceView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11ShaderResourceView *This, + ID3D11Resource **ppResource); + + /*** ID3D11ShaderResourceView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11ShaderResourceView *This, + D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11ShaderResourceViewVtbl; + +interface ID3D11ShaderResourceView { + CONST_VTBL ID3D11ShaderResourceViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11ShaderResourceView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11ShaderResourceView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11ShaderResourceView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11ShaderResourceView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11ShaderResourceView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11ShaderResourceView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11ShaderResourceView methods ***/ +#define ID3D11ShaderResourceView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11ShaderResourceView_QueryInterface(ID3D11ShaderResourceView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11ShaderResourceView_AddRef(ID3D11ShaderResourceView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11ShaderResourceView_Release(ID3D11ShaderResourceView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView_GetDevice(ID3D11ShaderResourceView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11ShaderResourceView_GetPrivateData(ID3D11ShaderResourceView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ShaderResourceView_SetPrivateData(ID3D11ShaderResourceView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ShaderResourceView_SetPrivateDataInterface(ID3D11ShaderResourceView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView_GetResource(ID3D11ShaderResourceView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11ShaderResourceView methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView_GetDesc(ID3D11ShaderResourceView* This,D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11ShaderResourceView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Texture1D interface + */ +#ifndef __ID3D11Texture1D_INTERFACE_DEFINED__ +#define __ID3D11Texture1D_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Texture1D, 0xf8fb5c27, 0xc6b3, 0x4f75, 0xa4,0xc8, 0x43,0x9a,0xf2,0xef,0x56,0x4c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c") +ID3D11Texture1D : public ID3D11Resource +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_TEXTURE1D_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Texture1D, 0xf8fb5c27, 0xc6b3, 0x4f75, 0xa4,0xc8, 0x43,0x9a,0xf2,0xef,0x56,0x4c) +#endif +#else +typedef struct ID3D11Texture1DVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Texture1D *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Texture1D *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Texture1D *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Texture1D *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Texture1D *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Texture1D *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Texture1D *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Texture1D *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Texture1D *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Texture1D *This); + + /*** ID3D11Texture1D methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Texture1D *This, + D3D11_TEXTURE1D_DESC *pDesc); + + END_INTERFACE +} ID3D11Texture1DVtbl; + +interface ID3D11Texture1D { + CONST_VTBL ID3D11Texture1DVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Texture1D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Texture1D_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Texture1D_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Texture1D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Texture1D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Texture1D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Texture1D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Texture1D_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Texture1D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Texture1D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D11Texture1D methods ***/ +#define ID3D11Texture1D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Texture1D_QueryInterface(ID3D11Texture1D* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Texture1D_AddRef(ID3D11Texture1D* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Texture1D_Release(ID3D11Texture1D* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Texture1D_GetDevice(ID3D11Texture1D* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Texture1D_GetPrivateData(ID3D11Texture1D* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture1D_SetPrivateData(ID3D11Texture1D* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture1D_SetPrivateDataInterface(ID3D11Texture1D* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Texture1D_GetType(ID3D11Texture1D* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Texture1D_SetEvictionPriority(ID3D11Texture1D* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Texture1D_GetEvictionPriority(ID3D11Texture1D* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D11Texture1D methods ***/ +static FORCEINLINE void ID3D11Texture1D_GetDesc(ID3D11Texture1D* This,D3D11_TEXTURE1D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Texture1D_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Texture2D interface + */ +#ifndef __ID3D11Texture2D_INTERFACE_DEFINED__ +#define __ID3D11Texture2D_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Texture2D, 0x6f15aaf2, 0xd208, 0x4e89, 0x9a,0xb4, 0x48,0x95,0x35,0xd3,0x4f,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6f15aaf2-d208-4e89-9ab4-489535d34f9c") +ID3D11Texture2D : public ID3D11Resource +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_TEXTURE2D_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Texture2D, 0x6f15aaf2, 0xd208, 0x4e89, 0x9a,0xb4, 0x48,0x95,0x35,0xd3,0x4f,0x9c) +#endif +#else +typedef struct ID3D11Texture2DVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Texture2D *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Texture2D *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Texture2D *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Texture2D *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Texture2D *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Texture2D *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Texture2D *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Texture2D *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Texture2D *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Texture2D *This); + + /*** ID3D11Texture2D methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Texture2D *This, + D3D11_TEXTURE2D_DESC *pDesc); + + END_INTERFACE +} ID3D11Texture2DVtbl; + +interface ID3D11Texture2D { + CONST_VTBL ID3D11Texture2DVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Texture2D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Texture2D_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Texture2D_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Texture2D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Texture2D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Texture2D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Texture2D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Texture2D_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Texture2D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Texture2D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D11Texture2D methods ***/ +#define ID3D11Texture2D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Texture2D_QueryInterface(ID3D11Texture2D* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Texture2D_AddRef(ID3D11Texture2D* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Texture2D_Release(ID3D11Texture2D* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Texture2D_GetDevice(ID3D11Texture2D* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Texture2D_GetPrivateData(ID3D11Texture2D* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture2D_SetPrivateData(ID3D11Texture2D* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture2D_SetPrivateDataInterface(ID3D11Texture2D* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Texture2D_GetType(ID3D11Texture2D* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Texture2D_SetEvictionPriority(ID3D11Texture2D* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Texture2D_GetEvictionPriority(ID3D11Texture2D* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D11Texture2D methods ***/ +static FORCEINLINE void ID3D11Texture2D_GetDesc(ID3D11Texture2D* This,D3D11_TEXTURE2D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Texture2D_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Texture3D interface + */ +#ifndef __ID3D11Texture3D_INTERFACE_DEFINED__ +#define __ID3D11Texture3D_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Texture3D, 0x037e866e, 0xf56d, 0x4357, 0xa8,0xaf, 0x9d,0xab,0xbe,0x6e,0x25,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("037e866e-f56d-4357-a8af-9dabbe6e250e") +ID3D11Texture3D : public ID3D11Resource +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_TEXTURE3D_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Texture3D, 0x037e866e, 0xf56d, 0x4357, 0xa8,0xaf, 0x9d,0xab,0xbe,0x6e,0x25,0x0e) +#endif +#else +typedef struct ID3D11Texture3DVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Texture3D *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Texture3D *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Texture3D *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Texture3D *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Texture3D *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Texture3D *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Texture3D *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Texture3D *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Texture3D *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Texture3D *This); + + /*** ID3D11Texture3D methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Texture3D *This, + D3D11_TEXTURE3D_DESC *pDesc); + + END_INTERFACE +} ID3D11Texture3DVtbl; + +interface ID3D11Texture3D { + CONST_VTBL ID3D11Texture3DVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Texture3D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Texture3D_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Texture3D_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Texture3D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Texture3D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Texture3D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Texture3D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Texture3D_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Texture3D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Texture3D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D11Texture3D methods ***/ +#define ID3D11Texture3D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Texture3D_QueryInterface(ID3D11Texture3D* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Texture3D_AddRef(ID3D11Texture3D* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Texture3D_Release(ID3D11Texture3D* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Texture3D_GetDevice(ID3D11Texture3D* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Texture3D_GetPrivateData(ID3D11Texture3D* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture3D_SetPrivateData(ID3D11Texture3D* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture3D_SetPrivateDataInterface(ID3D11Texture3D* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Texture3D_GetType(ID3D11Texture3D* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Texture3D_SetEvictionPriority(ID3D11Texture3D* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Texture3D_GetEvictionPriority(ID3D11Texture3D* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D11Texture3D methods ***/ +static FORCEINLINE void ID3D11Texture3D_GetDesc(ID3D11Texture3D* This,D3D11_TEXTURE3D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Texture3D_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11UnorderedAccessView interface + */ +#ifndef __ID3D11UnorderedAccessView_INTERFACE_DEFINED__ +#define __ID3D11UnorderedAccessView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11UnorderedAccessView, 0x28acf509, 0x7f5c, 0x48f6, 0x86,0x11, 0xf3,0x16,0x01,0x0a,0x63,0x80); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("28acf509-7f5c-48f6-8611-f316010a6380") +ID3D11UnorderedAccessView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11UnorderedAccessView, 0x28acf509, 0x7f5c, 0x48f6, 0x86,0x11, 0xf3,0x16,0x01,0x0a,0x63,0x80) +#endif +#else +typedef struct ID3D11UnorderedAccessViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11UnorderedAccessView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11UnorderedAccessView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11UnorderedAccessView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11UnorderedAccessView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11UnorderedAccessView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11UnorderedAccessView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11UnorderedAccessView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11UnorderedAccessView *This, + ID3D11Resource **ppResource); + + /*** ID3D11UnorderedAccessView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11UnorderedAccessView *This, + D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11UnorderedAccessViewVtbl; + +interface ID3D11UnorderedAccessView { + CONST_VTBL ID3D11UnorderedAccessViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11UnorderedAccessView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11UnorderedAccessView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11UnorderedAccessView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11UnorderedAccessView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11UnorderedAccessView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11UnorderedAccessView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11UnorderedAccessView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11UnorderedAccessView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11UnorderedAccessView methods ***/ +#define ID3D11UnorderedAccessView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11UnorderedAccessView_QueryInterface(ID3D11UnorderedAccessView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11UnorderedAccessView_AddRef(ID3D11UnorderedAccessView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11UnorderedAccessView_Release(ID3D11UnorderedAccessView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView_GetDevice(ID3D11UnorderedAccessView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11UnorderedAccessView_GetPrivateData(ID3D11UnorderedAccessView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11UnorderedAccessView_SetPrivateData(ID3D11UnorderedAccessView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11UnorderedAccessView_SetPrivateDataInterface(ID3D11UnorderedAccessView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView_GetResource(ID3D11UnorderedAccessView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11UnorderedAccessView methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView_GetDesc(ID3D11UnorderedAccessView* This,D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11UnorderedAccessView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VertexShader interface + */ +#ifndef __ID3D11VertexShader_INTERFACE_DEFINED__ +#define __ID3D11VertexShader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VertexShader, 0x3b301d64, 0xd678, 0x4289, 0x88,0x97, 0x22,0xf8,0x92,0x8b,0x72,0xf3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3b301d64-d678-4289-8897-22f8928b72f3") +ID3D11VertexShader : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VertexShader, 0x3b301d64, 0xd678, 0x4289, 0x88,0x97, 0x22,0xf8,0x92,0x8b,0x72,0xf3) +#endif +#else +typedef struct ID3D11VertexShaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VertexShader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VertexShader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VertexShader *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VertexShader *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VertexShader *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VertexShader *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VertexShader *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11VertexShaderVtbl; + +interface ID3D11VertexShader { + CONST_VTBL ID3D11VertexShaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VertexShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VertexShader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VertexShader_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VertexShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VertexShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VertexShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VertexShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VertexShader_QueryInterface(ID3D11VertexShader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VertexShader_AddRef(ID3D11VertexShader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VertexShader_Release(ID3D11VertexShader* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VertexShader_GetDevice(ID3D11VertexShader* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VertexShader_GetPrivateData(ID3D11VertexShader* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VertexShader_SetPrivateData(ID3D11VertexShader* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VertexShader_SetPrivateDataInterface(ID3D11VertexShader* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VertexShader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DeviceContext interface + */ +#ifndef __ID3D11DeviceContext_INTERFACE_DEFINED__ +#define __ID3D11DeviceContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DeviceContext, 0xc0bfa96c, 0xe089, 0x44fb, 0x8e,0xaf, 0x26,0xf8,0x79,0x61,0x90,0xda); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0bfa96c-e089-44fb-8eaf-26f8796190da") +ID3D11DeviceContext : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE VSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE PSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE PSSetShader( + ID3D11PixelShader *pPixelShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE PSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE VSSetShader( + ID3D11VertexShader *pVertexShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE DrawIndexed( + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation) = 0; + + virtual void STDMETHODCALLTYPE Draw( + UINT VertexCount, + UINT StartVertexLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE Map( + ID3D11Resource *pResource, + UINT Subresource, + D3D11_MAP MapType, + UINT MapFlags, + D3D11_MAPPED_SUBRESOURCE *pMappedResource) = 0; + + virtual void STDMETHODCALLTYPE Unmap( + ID3D11Resource *pResource, + UINT Subresource) = 0; + + virtual void STDMETHODCALLTYPE PSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE IASetInputLayout( + ID3D11InputLayout *pInputLayout) = 0; + + virtual void STDMETHODCALLTYPE IASetVertexBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE IASetIndexBuffer( + ID3D11Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset) = 0; + + virtual void STDMETHODCALLTYPE DrawIndexedInstanced( + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation) = 0; + + virtual void STDMETHODCALLTYPE DrawInstanced( + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation) = 0; + + virtual void STDMETHODCALLTYPE GSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE GSSetShader( + ID3D11GeometryShader *pShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE IASetPrimitiveTopology( + D3D11_PRIMITIVE_TOPOLOGY Topology) = 0; + + virtual void STDMETHODCALLTYPE VSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE VSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE Begin( + ID3D11Asynchronous *pAsync) = 0; + + virtual void STDMETHODCALLTYPE End( + ID3D11Asynchronous *pAsync) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetData( + ID3D11Asynchronous *pAsync, + void *pData, + UINT DataSize, + UINT GetDataFlags) = 0; + + virtual void STDMETHODCALLTYPE SetPredication( + ID3D11Predicate *pPredicate, + BOOL PredicateValue) = 0; + + virtual void STDMETHODCALLTYPE GSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE GSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE OMSetRenderTargets( + UINT NumViews, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView) = 0; + + virtual void STDMETHODCALLTYPE OMSetRenderTargetsAndUnorderedAccessViews( + UINT NumRTVs, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts) = 0; + + virtual void STDMETHODCALLTYPE OMSetBlendState( + ID3D11BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask) = 0; + + virtual void STDMETHODCALLTYPE OMSetDepthStencilState( + ID3D11DepthStencilState *pDepthStencilState, + UINT StencilRef) = 0; + + virtual void STDMETHODCALLTYPE SOSetTargets( + UINT NumBuffers, + ID3D11Buffer *const *ppSOTargets, + const UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE DrawAuto( + ) = 0; + + virtual void STDMETHODCALLTYPE DrawIndexedInstancedIndirect( + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs) = 0; + + virtual void STDMETHODCALLTYPE DrawInstancedIndirect( + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs) = 0; + + virtual void STDMETHODCALLTYPE Dispatch( + UINT ThreadGroupCountX, + UINT ThreadGroupCountY, + UINT ThreadGroupCountZ) = 0; + + virtual void STDMETHODCALLTYPE DispatchIndirect( + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs) = 0; + + virtual void STDMETHODCALLTYPE RSSetState( + ID3D11RasterizerState *pRasterizerState) = 0; + + virtual void STDMETHODCALLTYPE RSSetViewports( + UINT NumViewports, + const D3D11_VIEWPORT *pViewports) = 0; + + virtual void STDMETHODCALLTYPE RSSetScissorRects( + UINT NumRects, + const D3D11_RECT *pRects) = 0; + + virtual void STDMETHODCALLTYPE CopySubresourceRegion( + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox) = 0; + + virtual void STDMETHODCALLTYPE CopyResource( + ID3D11Resource *pDstResource, + ID3D11Resource *pSrcResource) = 0; + + virtual void STDMETHODCALLTYPE UpdateSubresource( + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch) = 0; + + virtual void STDMETHODCALLTYPE CopyStructureCount( + ID3D11Buffer *pDstBuffer, + UINT DstAlignedByteOffset, + ID3D11UnorderedAccessView *pSrcView) = 0; + + virtual void STDMETHODCALLTYPE ClearRenderTargetView( + ID3D11RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]) = 0; + + virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewUint( + ID3D11UnorderedAccessView *pUnorderedAccessView, + const UINT Values[4]) = 0; + + virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewFloat( + ID3D11UnorderedAccessView *pUnorderedAccessView, + const FLOAT Values[4]) = 0; + + virtual void STDMETHODCALLTYPE ClearDepthStencilView( + ID3D11DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil) = 0; + + virtual void STDMETHODCALLTYPE GenerateMips( + ID3D11ShaderResourceView *pShaderResourceView) = 0; + + virtual void STDMETHODCALLTYPE SetResourceMinLOD( + ID3D11Resource *pResource, + FLOAT MinLOD) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetResourceMinLOD( + ID3D11Resource *pResource) = 0; + + virtual void STDMETHODCALLTYPE ResolveSubresource( + ID3D11Resource *pDstResource, + UINT DstSubresource, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format) = 0; + + virtual void STDMETHODCALLTYPE ExecuteCommandList( + ID3D11CommandList *pCommandList, + BOOL RestoreContextState) = 0; + + virtual void STDMETHODCALLTYPE HSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE HSSetShader( + ID3D11HullShader *pHullShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE HSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE HSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE DSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE DSSetShader( + ID3D11DomainShader *pDomainShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE DSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE DSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE CSSetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE CSSetUnorderedAccessViews( + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts) = 0; + + virtual void STDMETHODCALLTYPE CSSetShader( + ID3D11ComputeShader *pComputeShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE CSSetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE CSSetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE VSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE PSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE PSGetShader( + ID3D11PixelShader **ppPixelShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE PSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE VSGetShader( + ID3D11VertexShader **ppVertexShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE PSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE IAGetInputLayout( + ID3D11InputLayout **ppInputLayout) = 0; + + virtual void STDMETHODCALLTYPE IAGetVertexBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets) = 0; + + virtual void STDMETHODCALLTYPE IAGetIndexBuffer( + ID3D11Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset) = 0; + + virtual void STDMETHODCALLTYPE GSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE GSGetShader( + ID3D11GeometryShader **ppGeometryShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology( + D3D11_PRIMITIVE_TOPOLOGY *pTopology) = 0; + + virtual void STDMETHODCALLTYPE VSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE VSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE GetPredication( + ID3D11Predicate **ppPredicate, + BOOL *pPredicateValue) = 0; + + virtual void STDMETHODCALLTYPE GSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE GSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE OMGetRenderTargets( + UINT NumViews, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView) = 0; + + virtual void STDMETHODCALLTYPE OMGetRenderTargetsAndUnorderedAccessViews( + UINT NumRTVs, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews) = 0; + + virtual void STDMETHODCALLTYPE OMGetBlendState( + ID3D11BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask) = 0; + + virtual void STDMETHODCALLTYPE OMGetDepthStencilState( + ID3D11DepthStencilState **ppDepthStencilState, + UINT *pStencilRef) = 0; + + virtual void STDMETHODCALLTYPE SOGetTargets( + UINT NumBuffers, + ID3D11Buffer **ppSOTargets) = 0; + + virtual void STDMETHODCALLTYPE RSGetState( + ID3D11RasterizerState **ppRasterizerState) = 0; + + virtual void STDMETHODCALLTYPE RSGetViewports( + UINT *pNumViewports, + D3D11_VIEWPORT *pViewports) = 0; + + virtual void STDMETHODCALLTYPE RSGetScissorRects( + UINT *pNumRects, + D3D11_RECT *pRects) = 0; + + virtual void STDMETHODCALLTYPE HSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE HSGetShader( + ID3D11HullShader **ppHullShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE HSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE HSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE DSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE DSGetShader( + ID3D11DomainShader **ppDomainShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE DSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE DSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE CSGetShaderResources( + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews) = 0; + + virtual void STDMETHODCALLTYPE CSGetUnorderedAccessViews( + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews) = 0; + + virtual void STDMETHODCALLTYPE CSGetShader( + ID3D11ComputeShader **ppComputeShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances) = 0; + + virtual void STDMETHODCALLTYPE CSGetSamplers( + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers) = 0; + + virtual void STDMETHODCALLTYPE CSGetConstantBuffers( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers) = 0; + + virtual void STDMETHODCALLTYPE ClearState( + ) = 0; + + virtual void STDMETHODCALLTYPE Flush( + ) = 0; + + virtual D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE GetType( + ) = 0; + + virtual UINT STDMETHODCALLTYPE GetContextFlags( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FinishCommandList( + BOOL RestoreDeferredContextState, + ID3D11CommandList **ppCommandList) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DeviceContext, 0xc0bfa96c, 0xe089, 0x44fb, 0x8e,0xaf, 0x26,0xf8,0x79,0x61,0x90,0xda) +#endif +#else +typedef struct ID3D11DeviceContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DeviceContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DeviceContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DeviceContext *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DeviceContext *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DeviceContext *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DeviceContext *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DeviceContext *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11DeviceContext methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D11DeviceContext *This, + ID3D11PixelShader *pPixelShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D11DeviceContext *This, + ID3D11VertexShader *pVertexShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D11DeviceContext *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D11DeviceContext *This, + UINT VertexCount, + UINT StartVertexLocation); + + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D11DeviceContext *This, + ID3D11Resource *pResource, + UINT Subresource, + D3D11_MAP MapType, + UINT MapFlags, + D3D11_MAPPED_SUBRESOURCE *pMappedResource); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D11DeviceContext *This, + ID3D11Resource *pResource, + UINT Subresource); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D11DeviceContext *This, + ID3D11InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D11DeviceContext *This, + ID3D11Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D11DeviceContext *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D11DeviceContext *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D11DeviceContext *This, + ID3D11GeometryShader *pShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D11DeviceContext *This, + D3D11_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *Begin)( + ID3D11DeviceContext *This, + ID3D11Asynchronous *pAsync); + + void (STDMETHODCALLTYPE *End)( + ID3D11DeviceContext *This, + ID3D11Asynchronous *pAsync); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D11DeviceContext *This, + ID3D11Asynchronous *pAsync, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D11DeviceContext *This, + ID3D11Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D11DeviceContext *This, + UINT NumViews, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext *This, + UINT NumRTVs, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D11DeviceContext *This, + ID3D11BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D11DeviceContext *This, + ID3D11DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D11DeviceContext *This, + UINT NumBuffers, + ID3D11Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D11DeviceContext *This); + + void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)( + ID3D11DeviceContext *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *DrawInstancedIndirect)( + ID3D11DeviceContext *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *Dispatch)( + ID3D11DeviceContext *This, + UINT ThreadGroupCountX, + UINT ThreadGroupCountY, + UINT ThreadGroupCountZ); + + void (STDMETHODCALLTYPE *DispatchIndirect)( + ID3D11DeviceContext *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D11DeviceContext *This, + ID3D11RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D11DeviceContext *This, + UINT NumViewports, + const D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D11DeviceContext *This, + UINT NumRects, + const D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D11DeviceContext *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D11DeviceContext *This, + ID3D11Resource *pDstResource, + ID3D11Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D11DeviceContext *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *CopyStructureCount)( + ID3D11DeviceContext *This, + ID3D11Buffer *pDstBuffer, + UINT DstAlignedByteOffset, + ID3D11UnorderedAccessView *pSrcView); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D11DeviceContext *This, + ID3D11RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)( + ID3D11DeviceContext *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const UINT Values[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)( + ID3D11DeviceContext *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const FLOAT Values[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D11DeviceContext *This, + ID3D11DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D11DeviceContext *This, + ID3D11ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *SetResourceMinLOD)( + ID3D11DeviceContext *This, + ID3D11Resource *pResource, + FLOAT MinLOD); + + FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)( + ID3D11DeviceContext *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D11DeviceContext *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *ExecuteCommandList)( + ID3D11DeviceContext *This, + ID3D11CommandList *pCommandList, + BOOL RestoreContextState); + + void (STDMETHODCALLTYPE *HSSetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSSetShader)( + ID3D11DeviceContext *This, + ID3D11HullShader *pHullShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *HSSetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSSetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSSetShader)( + ID3D11DeviceContext *This, + ID3D11DomainShader *pDomainShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DSSetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSSetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *CSSetShader)( + ID3D11DeviceContext *This, + ID3D11ComputeShader *pComputeShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *CSSetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D11DeviceContext *This, + ID3D11PixelShader **ppPixelShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D11DeviceContext *This, + ID3D11VertexShader **ppVertexShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D11DeviceContext *This, + ID3D11InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D11DeviceContext *This, + ID3D11Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D11DeviceContext *This, + ID3D11GeometryShader **ppGeometryShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D11DeviceContext *This, + D3D11_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D11DeviceContext *This, + ID3D11Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D11DeviceContext *This, + UINT NumViews, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext *This, + UINT NumRTVs, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D11DeviceContext *This, + ID3D11BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D11DeviceContext *This, + ID3D11DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D11DeviceContext *This, + UINT NumBuffers, + ID3D11Buffer **ppSOTargets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D11DeviceContext *This, + ID3D11RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D11DeviceContext *This, + UINT *pNumViewports, + D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D11DeviceContext *This, + UINT *pNumRects, + D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *HSGetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSGetShader)( + ID3D11DeviceContext *This, + ID3D11HullShader **ppHullShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *HSGetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSGetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSGetShader)( + ID3D11DeviceContext *This, + ID3D11DomainShader **ppDomainShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *DSGetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSGetShaderResources)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *CSGetShader)( + ID3D11DeviceContext *This, + ID3D11ComputeShader **ppComputeShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *CSGetSamplers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers)( + ID3D11DeviceContext *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D11DeviceContext *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D11DeviceContext *This); + + D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)( + ID3D11DeviceContext *This); + + UINT (STDMETHODCALLTYPE *GetContextFlags)( + ID3D11DeviceContext *This); + + HRESULT (STDMETHODCALLTYPE *FinishCommandList)( + ID3D11DeviceContext *This, + BOOL RestoreDeferredContextState, + ID3D11CommandList **ppCommandList); + + END_INTERFACE +} ID3D11DeviceContextVtbl; + +interface ID3D11DeviceContext { + CONST_VTBL ID3D11DeviceContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DeviceContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DeviceContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DeviceContext_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DeviceContext_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DeviceContext_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DeviceContext_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DeviceContext_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11DeviceContext methods ***/ +#define ID3D11DeviceContext_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D11DeviceContext_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D11DeviceContext_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) +#define ID3D11DeviceContext_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource) +#define ID3D11DeviceContext_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D11DeviceContext_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D11DeviceContext_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync) +#define ID3D11DeviceContext_End(This,pAsync) (This)->lpVtbl->End(This,pAsync) +#define ID3D11DeviceContext_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags) +#define ID3D11DeviceContext_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D11DeviceContext_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D11DeviceContext_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D11DeviceContext_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D11DeviceContext_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D11DeviceContext_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) +#define ID3D11DeviceContext_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D11DeviceContext_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D11DeviceContext_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D11DeviceContext_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D11DeviceContext_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D11DeviceContext_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D11DeviceContext_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) +#define ID3D11DeviceContext_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D11DeviceContext_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D11DeviceContext_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D11DeviceContext_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD) +#define ID3D11DeviceContext_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource) +#define ID3D11DeviceContext_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D11DeviceContext_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState) +#define ID3D11DeviceContext_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D11DeviceContext_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D11DeviceContext_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D11DeviceContext_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D11DeviceContext_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D11DeviceContext_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets) +#define ID3D11DeviceContext_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D11DeviceContext_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports) +#define ID3D11DeviceContext_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects) +#define ID3D11DeviceContext_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D11DeviceContext_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D11DeviceContext_GetType(This) (This)->lpVtbl->GetType(This) +#define ID3D11DeviceContext_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) +#define ID3D11DeviceContext_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext_QueryInterface(ID3D11DeviceContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DeviceContext_AddRef(ID3D11DeviceContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DeviceContext_Release(ID3D11DeviceContext* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DeviceContext_GetDevice(ID3D11DeviceContext* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DeviceContext_GetPrivateData(ID3D11DeviceContext* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext_SetPrivateData(ID3D11DeviceContext* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext_SetPrivateDataInterface(ID3D11DeviceContext* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11DeviceContext methods ***/ +static FORCEINLINE void ID3D11DeviceContext_VSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_PSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_PSSetShader(ID3D11DeviceContext* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_PSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_VSSetShader(ID3D11DeviceContext* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_DrawIndexed(ID3D11DeviceContext* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D11DeviceContext_Draw(ID3D11DeviceContext* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE HRESULT ID3D11DeviceContext_Map(ID3D11DeviceContext* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) { + return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource); +} +static FORCEINLINE void ID3D11DeviceContext_Unmap(ID3D11DeviceContext* This,ID3D11Resource *pResource,UINT Subresource) { + This->lpVtbl->Unmap(This,pResource,Subresource); +} +static FORCEINLINE void ID3D11DeviceContext_PSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_IASetInputLayout(ID3D11DeviceContext* This,ID3D11InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext_IASetVertexBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext_IASetIndexBuffer(ID3D11DeviceContext* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext_DrawIndexedInstanced(ID3D11DeviceContext* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext_DrawInstanced(ID3D11DeviceContext* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext_GSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_GSSetShader(ID3D11DeviceContext* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_IASetPrimitiveTopology(ID3D11DeviceContext* This,D3D11_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D11DeviceContext_VSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_VSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_Begin(ID3D11DeviceContext* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->Begin(This,pAsync); +} +static FORCEINLINE void ID3D11DeviceContext_End(ID3D11DeviceContext* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->End(This,pAsync); +} +static FORCEINLINE HRESULT ID3D11DeviceContext_GetData(ID3D11DeviceContext* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags); +} +static FORCEINLINE void ID3D11DeviceContext_SetPredication(ID3D11DeviceContext* This,ID3D11Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext_GSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_GSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_OMSetRenderTargets(ID3D11DeviceContext* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext_OMSetBlendState(ID3D11DeviceContext* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D11DeviceContext_OMSetDepthStencilState(ID3D11DeviceContext* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D11DeviceContext_SOSetTargets(ID3D11DeviceContext* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext_DrawAuto(ID3D11DeviceContext* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D11DeviceContext_DrawIndexedInstancedIndirect(ID3D11DeviceContext* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext_DrawInstancedIndirect(ID3D11DeviceContext* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext_Dispatch(ID3D11DeviceContext* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) { + This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ); +} +static FORCEINLINE void ID3D11DeviceContext_DispatchIndirect(ID3D11DeviceContext* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext_RSSetState(ID3D11DeviceContext* This,ID3D11RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext_RSSetViewports(ID3D11DeviceContext* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext_RSSetScissorRects(ID3D11DeviceContext* This,UINT NumRects,const D3D11_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext_CopySubresourceRegion(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D11DeviceContext_CopyResource(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D11DeviceContext_UpdateSubresource(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D11DeviceContext_CopyStructureCount(ID3D11DeviceContext* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) { + This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView); +} +static FORCEINLINE void ID3D11DeviceContext_ClearRenderTargetView(ID3D11DeviceContext* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D11DeviceContext_ClearUnorderedAccessViewUint(ID3D11DeviceContext* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext_ClearUnorderedAccessViewFloat(ID3D11DeviceContext* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext_ClearDepthStencilView(ID3D11DeviceContext* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D11DeviceContext_GenerateMips(ID3D11DeviceContext* This,ID3D11ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D11DeviceContext_SetResourceMinLOD(ID3D11DeviceContext* This,ID3D11Resource *pResource,FLOAT MinLOD) { + This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD); +} +static FORCEINLINE FLOAT ID3D11DeviceContext_GetResourceMinLOD(ID3D11DeviceContext* This,ID3D11Resource *pResource) { + return This->lpVtbl->GetResourceMinLOD(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext_ResolveSubresource(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D11DeviceContext_ExecuteCommandList(ID3D11DeviceContext* This,ID3D11CommandList *pCommandList,BOOL RestoreContextState) { + This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState); +} +static FORCEINLINE void ID3D11DeviceContext_HSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_HSSetShader(ID3D11DeviceContext* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_HSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_HSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_DSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_DSSetShader(ID3D11DeviceContext* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_DSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_DSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_CSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_CSSetUnorderedAccessViews(ID3D11DeviceContext* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext_CSSetShader(ID3D11DeviceContext* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_CSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_CSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_VSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_PSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_PSGetShader(ID3D11DeviceContext* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_PSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_VSGetShader(ID3D11DeviceContext* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_PSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_IAGetInputLayout(ID3D11DeviceContext* This,ID3D11InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext_IAGetVertexBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext_IAGetIndexBuffer(ID3D11DeviceContext* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext_GSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_GSGetShader(ID3D11DeviceContext* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_IAGetPrimitiveTopology(ID3D11DeviceContext* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D11DeviceContext_VSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_VSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_GetPredication(ID3D11DeviceContext* This,ID3D11Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext_GSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_GSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_OMGetRenderTargets(ID3D11DeviceContext* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext_OMGetBlendState(ID3D11DeviceContext* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D11DeviceContext_OMGetDepthStencilState(ID3D11DeviceContext* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D11DeviceContext_SOGetTargets(ID3D11DeviceContext* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets); +} +static FORCEINLINE void ID3D11DeviceContext_RSGetState(ID3D11DeviceContext* This,ID3D11RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext_RSGetViewports(ID3D11DeviceContext* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext_RSGetScissorRects(ID3D11DeviceContext* This,UINT *pNumRects,D3D11_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext_HSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_HSGetShader(ID3D11DeviceContext* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_HSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_HSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_DSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_DSGetShader(ID3D11DeviceContext* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_DSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_DSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_CSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext_CSGetUnorderedAccessViews(ID3D11DeviceContext* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext_CSGetShader(ID3D11DeviceContext* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext_CSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext_CSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext_ClearState(ID3D11DeviceContext* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D11DeviceContext_Flush(ID3D11DeviceContext* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext_GetType(ID3D11DeviceContext* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE UINT ID3D11DeviceContext_GetContextFlags(ID3D11DeviceContext* This) { + return This->lpVtbl->GetContextFlags(This); +} +static FORCEINLINE HRESULT ID3D11DeviceContext_FinishCommandList(ID3D11DeviceContext* This,BOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) { + return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DeviceContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11AuthenticatedChannel interface + */ +#ifndef __ID3D11AuthenticatedChannel_INTERFACE_DEFINED__ +#define __ID3D11AuthenticatedChannel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11AuthenticatedChannel, 0x3015a308, 0xdcbd, 0x47aa, 0xa7,0x47, 0x19,0x24,0x86,0xd1,0x4d,0x4a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3015a308-dcbd-47aa-a747-192486d14d4a") +ID3D11AuthenticatedChannel : public ID3D11DeviceChild +{ + virtual HRESULT STDMETHODCALLTYPE GetCertificateSize( + UINT *pCertificateSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCertificate( + UINT CertificateSize, + BYTE *pCertificate) = 0; + + virtual void STDMETHODCALLTYPE GetChannelHandle( + HANDLE *pChannelHandle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11AuthenticatedChannel, 0x3015a308, 0xdcbd, 0x47aa, 0xa7,0x47, 0x19,0x24,0x86,0xd1,0x4d,0x4a) +#endif +#else +typedef struct ID3D11AuthenticatedChannelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11AuthenticatedChannel *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11AuthenticatedChannel *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11AuthenticatedChannel *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11AuthenticatedChannel *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11AuthenticatedChannel *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11AuthenticatedChannel *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11AuthenticatedChannel *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11AuthenticatedChannel methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCertificateSize)( + ID3D11AuthenticatedChannel *This, + UINT *pCertificateSize); + + HRESULT (STDMETHODCALLTYPE *GetCertificate)( + ID3D11AuthenticatedChannel *This, + UINT CertificateSize, + BYTE *pCertificate); + + void (STDMETHODCALLTYPE *GetChannelHandle)( + ID3D11AuthenticatedChannel *This, + HANDLE *pChannelHandle); + + END_INTERFACE +} ID3D11AuthenticatedChannelVtbl; + +interface ID3D11AuthenticatedChannel { + CONST_VTBL ID3D11AuthenticatedChannelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11AuthenticatedChannel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11AuthenticatedChannel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11AuthenticatedChannel_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11AuthenticatedChannel_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11AuthenticatedChannel_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11AuthenticatedChannel_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11AuthenticatedChannel_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11AuthenticatedChannel methods ***/ +#define ID3D11AuthenticatedChannel_GetCertificateSize(This,pCertificateSize) (This)->lpVtbl->GetCertificateSize(This,pCertificateSize) +#define ID3D11AuthenticatedChannel_GetCertificate(This,CertificateSize,pCertificate) (This)->lpVtbl->GetCertificate(This,CertificateSize,pCertificate) +#define ID3D11AuthenticatedChannel_GetChannelHandle(This,pChannelHandle) (This)->lpVtbl->GetChannelHandle(This,pChannelHandle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11AuthenticatedChannel_QueryInterface(ID3D11AuthenticatedChannel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11AuthenticatedChannel_AddRef(ID3D11AuthenticatedChannel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11AuthenticatedChannel_Release(ID3D11AuthenticatedChannel* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11AuthenticatedChannel_GetDevice(ID3D11AuthenticatedChannel* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11AuthenticatedChannel_GetPrivateData(ID3D11AuthenticatedChannel* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11AuthenticatedChannel_SetPrivateData(ID3D11AuthenticatedChannel* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11AuthenticatedChannel_SetPrivateDataInterface(ID3D11AuthenticatedChannel* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11AuthenticatedChannel methods ***/ +static FORCEINLINE HRESULT ID3D11AuthenticatedChannel_GetCertificateSize(ID3D11AuthenticatedChannel* This,UINT *pCertificateSize) { + return This->lpVtbl->GetCertificateSize(This,pCertificateSize); +} +static FORCEINLINE HRESULT ID3D11AuthenticatedChannel_GetCertificate(ID3D11AuthenticatedChannel* This,UINT CertificateSize,BYTE *pCertificate) { + return This->lpVtbl->GetCertificate(This,CertificateSize,pCertificate); +} +static FORCEINLINE void ID3D11AuthenticatedChannel_GetChannelHandle(ID3D11AuthenticatedChannel* This,HANDLE *pChannelHandle) { + This->lpVtbl->GetChannelHandle(This,pChannelHandle); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11AuthenticatedChannel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11CryptoSession interface + */ +#ifndef __ID3D11CryptoSession_INTERFACE_DEFINED__ +#define __ID3D11CryptoSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11CryptoSession, 0x9b32f9ad, 0xbdcc, 0x40a6, 0xa3,0x9d, 0xd5,0xc8,0x65,0x84,0x57,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b32f9ad-bdcc-40a6-a39d-d5c865845720") +ID3D11CryptoSession : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetCryptoType( + GUID *pCryptoType) = 0; + + virtual void STDMETHODCALLTYPE GetDecoderProfile( + GUID *pDecoderProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCertificateSize( + UINT *pCertificateSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCertificate( + UINT CertificateSize, + BYTE *pCertificate) = 0; + + virtual void STDMETHODCALLTYPE GetCryptoSessionHandle( + HANDLE *pCryptoSessionHandle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11CryptoSession, 0x9b32f9ad, 0xbdcc, 0x40a6, 0xa3,0x9d, 0xd5,0xc8,0x65,0x84,0x57,0x20) +#endif +#else +typedef struct ID3D11CryptoSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11CryptoSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11CryptoSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11CryptoSession *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11CryptoSession *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11CryptoSession *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11CryptoSession *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11CryptoSession *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11CryptoSession methods ***/ + void (STDMETHODCALLTYPE *GetCryptoType)( + ID3D11CryptoSession *This, + GUID *pCryptoType); + + void (STDMETHODCALLTYPE *GetDecoderProfile)( + ID3D11CryptoSession *This, + GUID *pDecoderProfile); + + HRESULT (STDMETHODCALLTYPE *GetCertificateSize)( + ID3D11CryptoSession *This, + UINT *pCertificateSize); + + HRESULT (STDMETHODCALLTYPE *GetCertificate)( + ID3D11CryptoSession *This, + UINT CertificateSize, + BYTE *pCertificate); + + void (STDMETHODCALLTYPE *GetCryptoSessionHandle)( + ID3D11CryptoSession *This, + HANDLE *pCryptoSessionHandle); + + END_INTERFACE +} ID3D11CryptoSessionVtbl; + +interface ID3D11CryptoSession { + CONST_VTBL ID3D11CryptoSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11CryptoSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11CryptoSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11CryptoSession_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11CryptoSession_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11CryptoSession_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11CryptoSession_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11CryptoSession_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11CryptoSession methods ***/ +#define ID3D11CryptoSession_GetCryptoType(This,pCryptoType) (This)->lpVtbl->GetCryptoType(This,pCryptoType) +#define ID3D11CryptoSession_GetDecoderProfile(This,pDecoderProfile) (This)->lpVtbl->GetDecoderProfile(This,pDecoderProfile) +#define ID3D11CryptoSession_GetCertificateSize(This,pCertificateSize) (This)->lpVtbl->GetCertificateSize(This,pCertificateSize) +#define ID3D11CryptoSession_GetCertificate(This,CertificateSize,pCertificate) (This)->lpVtbl->GetCertificate(This,CertificateSize,pCertificate) +#define ID3D11CryptoSession_GetCryptoSessionHandle(This,pCryptoSessionHandle) (This)->lpVtbl->GetCryptoSessionHandle(This,pCryptoSessionHandle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11CryptoSession_QueryInterface(ID3D11CryptoSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11CryptoSession_AddRef(ID3D11CryptoSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11CryptoSession_Release(ID3D11CryptoSession* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11CryptoSession_GetDevice(ID3D11CryptoSession* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11CryptoSession_GetPrivateData(ID3D11CryptoSession* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11CryptoSession_SetPrivateData(ID3D11CryptoSession* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11CryptoSession_SetPrivateDataInterface(ID3D11CryptoSession* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11CryptoSession methods ***/ +static FORCEINLINE void ID3D11CryptoSession_GetCryptoType(ID3D11CryptoSession* This,GUID *pCryptoType) { + This->lpVtbl->GetCryptoType(This,pCryptoType); +} +static FORCEINLINE void ID3D11CryptoSession_GetDecoderProfile(ID3D11CryptoSession* This,GUID *pDecoderProfile) { + This->lpVtbl->GetDecoderProfile(This,pDecoderProfile); +} +static FORCEINLINE HRESULT ID3D11CryptoSession_GetCertificateSize(ID3D11CryptoSession* This,UINT *pCertificateSize) { + return This->lpVtbl->GetCertificateSize(This,pCertificateSize); +} +static FORCEINLINE HRESULT ID3D11CryptoSession_GetCertificate(ID3D11CryptoSession* This,UINT CertificateSize,BYTE *pCertificate) { + return This->lpVtbl->GetCertificate(This,CertificateSize,pCertificate); +} +static FORCEINLINE void ID3D11CryptoSession_GetCryptoSessionHandle(ID3D11CryptoSession* This,HANDLE *pCryptoSessionHandle) { + This->lpVtbl->GetCryptoSessionHandle(This,pCryptoSessionHandle); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11CryptoSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoDecoder interface + */ +#ifndef __ID3D11VideoDecoder_INTERFACE_DEFINED__ +#define __ID3D11VideoDecoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoDecoder, 0x3c9c5b51, 0x995d, 0x48d1, 0x9b,0x8d, 0xfa,0x5c,0xae,0xde,0xd6,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3c9c5b51-995d-48d1-9b8d-fa5caeded65c") +ID3D11VideoDecoder : public ID3D11DeviceChild +{ + virtual HRESULT STDMETHODCALLTYPE GetCreationParameters( + D3D11_VIDEO_DECODER_DESC *pVideoDesc, + D3D11_VIDEO_DECODER_CONFIG *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDriverHandle( + HANDLE *pDriverHandle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoDecoder, 0x3c9c5b51, 0x995d, 0x48d1, 0x9b,0x8d, 0xfa,0x5c,0xae,0xde,0xd6,0x5c) +#endif +#else +typedef struct ID3D11VideoDecoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoDecoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoDecoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoDecoder *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoDecoder *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoDecoder *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoDecoder *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoDecoder *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoDecoder methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCreationParameters)( + ID3D11VideoDecoder *This, + D3D11_VIDEO_DECODER_DESC *pVideoDesc, + D3D11_VIDEO_DECODER_CONFIG *pConfig); + + HRESULT (STDMETHODCALLTYPE *GetDriverHandle)( + ID3D11VideoDecoder *This, + HANDLE *pDriverHandle); + + END_INTERFACE +} ID3D11VideoDecoderVtbl; + +interface ID3D11VideoDecoder { + CONST_VTBL ID3D11VideoDecoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoDecoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoDecoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoDecoder_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoDecoder_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoDecoder_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoDecoder_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoDecoder_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoDecoder methods ***/ +#define ID3D11VideoDecoder_GetCreationParameters(This,pVideoDesc,pConfig) (This)->lpVtbl->GetCreationParameters(This,pVideoDesc,pConfig) +#define ID3D11VideoDecoder_GetDriverHandle(This,pDriverHandle) (This)->lpVtbl->GetDriverHandle(This,pDriverHandle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDecoder_QueryInterface(ID3D11VideoDecoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoDecoder_AddRef(ID3D11VideoDecoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoDecoder_Release(ID3D11VideoDecoder* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoDecoder_GetDevice(ID3D11VideoDecoder* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoDecoder_GetPrivateData(ID3D11VideoDecoder* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoDecoder_SetPrivateData(ID3D11VideoDecoder* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoDecoder_SetPrivateDataInterface(ID3D11VideoDecoder* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoDecoder methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDecoder_GetCreationParameters(ID3D11VideoDecoder* This,D3D11_VIDEO_DECODER_DESC *pVideoDesc,D3D11_VIDEO_DECODER_CONFIG *pConfig) { + return This->lpVtbl->GetCreationParameters(This,pVideoDesc,pConfig); +} +static FORCEINLINE HRESULT ID3D11VideoDecoder_GetDriverHandle(ID3D11VideoDecoder* This,HANDLE *pDriverHandle) { + return This->lpVtbl->GetDriverHandle(This,pDriverHandle); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoDecoder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoProcessorEnumerator interface + */ +#ifndef __ID3D11VideoProcessorEnumerator_INTERFACE_DEFINED__ +#define __ID3D11VideoProcessorEnumerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoProcessorEnumerator, 0x31627037, 0x53ab, 0x4200, 0x90,0x61, 0x05,0xfa,0xa9,0xab,0x45,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("31627037-53ab-4200-9061-05faa9ab45f9") +ID3D11VideoProcessorEnumerator : public ID3D11DeviceChild +{ + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorContentDesc( + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormat( + DXGI_FORMAT Format, + UINT *pFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps( + D3D11_VIDEO_PROCESSOR_CAPS *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorRateConversionCaps( + UINT TypeIndex, + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCustomRate( + UINT TypeIndex, + UINT CustomRateIndex, + D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorFilterRange( + D3D11_VIDEO_PROCESSOR_FILTER Filter, + D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoProcessorEnumerator, 0x31627037, 0x53ab, 0x4200, 0x90,0x61, 0x05,0xfa,0xa9,0xab,0x45,0xf9) +#endif +#else +typedef struct ID3D11VideoProcessorEnumeratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoProcessorEnumerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoProcessorEnumerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoProcessorEnumerator *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoProcessorEnumerator *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoProcessorEnumerator *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoProcessorEnumerator *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoProcessorEnumerator *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoProcessorEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorContentDesc)( + ID3D11VideoProcessorEnumerator *This, + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc); + + HRESULT (STDMETHODCALLTYPE *CheckVideoProcessorFormat)( + ID3D11VideoProcessorEnumerator *This, + DXGI_FORMAT Format, + UINT *pFlags); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)( + ID3D11VideoProcessorEnumerator *This, + D3D11_VIDEO_PROCESSOR_CAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorRateConversionCaps)( + ID3D11VideoProcessorEnumerator *This, + UINT TypeIndex, + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCustomRate)( + ID3D11VideoProcessorEnumerator *This, + UINT TypeIndex, + UINT CustomRateIndex, + D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorFilterRange)( + ID3D11VideoProcessorEnumerator *This, + D3D11_VIDEO_PROCESSOR_FILTER Filter, + D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange); + + END_INTERFACE +} ID3D11VideoProcessorEnumeratorVtbl; + +interface ID3D11VideoProcessorEnumerator { + CONST_VTBL ID3D11VideoProcessorEnumeratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoProcessorEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoProcessorEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoProcessorEnumerator_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoProcessorEnumerator_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoProcessorEnumerator_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoProcessorEnumerator_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoProcessorEnumerator_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoProcessorEnumerator methods ***/ +#define ID3D11VideoProcessorEnumerator_GetVideoProcessorContentDesc(This,pContentDesc) (This)->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc) +#define ID3D11VideoProcessorEnumerator_CheckVideoProcessorFormat(This,Format,pFlags) (This)->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags) +#define ID3D11VideoProcessorEnumerator_GetVideoProcessorCaps(This,pCaps) (This)->lpVtbl->GetVideoProcessorCaps(This,pCaps) +#define ID3D11VideoProcessorEnumerator_GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) (This)->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) +#define ID3D11VideoProcessorEnumerator_GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) (This)->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) +#define ID3D11VideoProcessorEnumerator_GetVideoProcessorFilterRange(This,Filter,pRange) (This)->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_QueryInterface(ID3D11VideoProcessorEnumerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator_AddRef(ID3D11VideoProcessorEnumerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator_Release(ID3D11VideoProcessorEnumerator* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoProcessorEnumerator_GetDevice(ID3D11VideoProcessorEnumerator* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_GetPrivateData(ID3D11VideoProcessorEnumerator* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_SetPrivateData(ID3D11VideoProcessorEnumerator* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_SetPrivateDataInterface(ID3D11VideoProcessorEnumerator* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoProcessorEnumerator methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_GetVideoProcessorContentDesc(ID3D11VideoProcessorEnumerator* This,D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc) { + return This->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_CheckVideoProcessorFormat(ID3D11VideoProcessorEnumerator* This,DXGI_FORMAT Format,UINT *pFlags) { + return This->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_GetVideoProcessorCaps(ID3D11VideoProcessorEnumerator* This,D3D11_VIDEO_PROCESSOR_CAPS *pCaps) { + return This->lpVtbl->GetVideoProcessorCaps(This,pCaps); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_GetVideoProcessorRateConversionCaps(ID3D11VideoProcessorEnumerator* This,UINT TypeIndex,D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) { + return This->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_GetVideoProcessorCustomRate(ID3D11VideoProcessorEnumerator* This,UINT TypeIndex,UINT CustomRateIndex,D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate) { + return This->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator_GetVideoProcessorFilterRange(ID3D11VideoProcessorEnumerator* This,D3D11_VIDEO_PROCESSOR_FILTER Filter,D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange) { + return This->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoProcessorEnumerator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoProcessor interface + */ +#ifndef __ID3D11VideoProcessor_INTERFACE_DEFINED__ +#define __ID3D11VideoProcessor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoProcessor, 0x1d7b0652, 0x185f, 0x41c6, 0x85,0xce, 0x0c,0x5b,0xe3,0xd4,0xae,0x6c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1d7b0652-185f-41c6-85ce-0c5be3d4ae6c") +ID3D11VideoProcessor : public ID3D11DeviceChild +{ + virtual void STDMETHODCALLTYPE GetContentDesc( + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc) = 0; + + virtual void STDMETHODCALLTYPE GetRateConversionCaps( + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoProcessor, 0x1d7b0652, 0x185f, 0x41c6, 0x85,0xce, 0x0c,0x5b,0xe3,0xd4,0xae,0x6c) +#endif +#else +typedef struct ID3D11VideoProcessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoProcessor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoProcessor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoProcessor *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoProcessor *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoProcessor *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoProcessor *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoProcessor *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoProcessor methods ***/ + void (STDMETHODCALLTYPE *GetContentDesc)( + ID3D11VideoProcessor *This, + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc); + + void (STDMETHODCALLTYPE *GetRateConversionCaps)( + ID3D11VideoProcessor *This, + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps); + + END_INTERFACE +} ID3D11VideoProcessorVtbl; + +interface ID3D11VideoProcessor { + CONST_VTBL ID3D11VideoProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoProcessor_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoProcessor_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoProcessor_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoProcessor_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoProcessor_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoProcessor methods ***/ +#define ID3D11VideoProcessor_GetContentDesc(This,pDesc) (This)->lpVtbl->GetContentDesc(This,pDesc) +#define ID3D11VideoProcessor_GetRateConversionCaps(This,pCaps) (This)->lpVtbl->GetRateConversionCaps(This,pCaps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessor_QueryInterface(ID3D11VideoProcessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoProcessor_AddRef(ID3D11VideoProcessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoProcessor_Release(ID3D11VideoProcessor* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoProcessor_GetDevice(ID3D11VideoProcessor* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoProcessor_GetPrivateData(ID3D11VideoProcessor* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessor_SetPrivateData(ID3D11VideoProcessor* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessor_SetPrivateDataInterface(ID3D11VideoProcessor* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoProcessor methods ***/ +static FORCEINLINE void ID3D11VideoProcessor_GetContentDesc(ID3D11VideoProcessor* This,D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc) { + This->lpVtbl->GetContentDesc(This,pDesc); +} +static FORCEINLINE void ID3D11VideoProcessor_GetRateConversionCaps(ID3D11VideoProcessor* This,D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) { + This->lpVtbl->GetRateConversionCaps(This,pCaps); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoDecoderOutputView interface + */ +#ifndef __ID3D11VideoDecoderOutputView_INTERFACE_DEFINED__ +#define __ID3D11VideoDecoderOutputView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoDecoderOutputView, 0xc2931aea, 0x2a85, 0x4f20, 0x86,0x0f, 0xfb,0xa1,0xfd,0x25,0x6e,0x18); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c2931aea-2a85-4f20-860f-fba1fd256e18") +ID3D11VideoDecoderOutputView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoDecoderOutputView, 0xc2931aea, 0x2a85, 0x4f20, 0x86,0x0f, 0xfb,0xa1,0xfd,0x25,0x6e,0x18) +#endif +#else +typedef struct ID3D11VideoDecoderOutputViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoDecoderOutputView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoDecoderOutputView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoDecoderOutputView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoDecoderOutputView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoDecoderOutputView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoDecoderOutputView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoDecoderOutputView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11VideoDecoderOutputView *This, + ID3D11Resource **ppResource); + + /*** ID3D11VideoDecoderOutputView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11VideoDecoderOutputView *This, + D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11VideoDecoderOutputViewVtbl; + +interface ID3D11VideoDecoderOutputView { + CONST_VTBL ID3D11VideoDecoderOutputViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoDecoderOutputView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoDecoderOutputView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoDecoderOutputView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoDecoderOutputView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoDecoderOutputView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoDecoderOutputView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoDecoderOutputView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11VideoDecoderOutputView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11VideoDecoderOutputView methods ***/ +#define ID3D11VideoDecoderOutputView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDecoderOutputView_QueryInterface(ID3D11VideoDecoderOutputView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoDecoderOutputView_AddRef(ID3D11VideoDecoderOutputView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoDecoderOutputView_Release(ID3D11VideoDecoderOutputView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoDecoderOutputView_GetDevice(ID3D11VideoDecoderOutputView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoDecoderOutputView_GetPrivateData(ID3D11VideoDecoderOutputView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoDecoderOutputView_SetPrivateData(ID3D11VideoDecoderOutputView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoDecoderOutputView_SetPrivateDataInterface(ID3D11VideoDecoderOutputView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11VideoDecoderOutputView_GetResource(ID3D11VideoDecoderOutputView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11VideoDecoderOutputView methods ***/ +static FORCEINLINE void ID3D11VideoDecoderOutputView_GetDesc(ID3D11VideoDecoderOutputView* This,D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoDecoderOutputView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoProcessorInputView interface + */ +#ifndef __ID3D11VideoProcessorInputView_INTERFACE_DEFINED__ +#define __ID3D11VideoProcessorInputView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoProcessorInputView, 0x11ec5a5f, 0x51dc, 0x4945, 0xab,0x34, 0x6e,0x8c,0x21,0x30,0x0e,0xa5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("11ec5a5f-51dc-4945-ab34-6e8c21300ea5") +ID3D11VideoProcessorInputView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoProcessorInputView, 0x11ec5a5f, 0x51dc, 0x4945, 0xab,0x34, 0x6e,0x8c,0x21,0x30,0x0e,0xa5) +#endif +#else +typedef struct ID3D11VideoProcessorInputViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoProcessorInputView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoProcessorInputView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoProcessorInputView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoProcessorInputView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoProcessorInputView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoProcessorInputView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoProcessorInputView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11VideoProcessorInputView *This, + ID3D11Resource **ppResource); + + /*** ID3D11VideoProcessorInputView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11VideoProcessorInputView *This, + D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11VideoProcessorInputViewVtbl; + +interface ID3D11VideoProcessorInputView { + CONST_VTBL ID3D11VideoProcessorInputViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoProcessorInputView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoProcessorInputView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoProcessorInputView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoProcessorInputView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoProcessorInputView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoProcessorInputView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoProcessorInputView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11VideoProcessorInputView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11VideoProcessorInputView methods ***/ +#define ID3D11VideoProcessorInputView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorInputView_QueryInterface(ID3D11VideoProcessorInputView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoProcessorInputView_AddRef(ID3D11VideoProcessorInputView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoProcessorInputView_Release(ID3D11VideoProcessorInputView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoProcessorInputView_GetDevice(ID3D11VideoProcessorInputView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorInputView_GetPrivateData(ID3D11VideoProcessorInputView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorInputView_SetPrivateData(ID3D11VideoProcessorInputView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorInputView_SetPrivateDataInterface(ID3D11VideoProcessorInputView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11VideoProcessorInputView_GetResource(ID3D11VideoProcessorInputView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11VideoProcessorInputView methods ***/ +static FORCEINLINE void ID3D11VideoProcessorInputView_GetDesc(ID3D11VideoProcessorInputView* This,D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoProcessorInputView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoProcessorOutputView interface + */ +#ifndef __ID3D11VideoProcessorOutputView_INTERFACE_DEFINED__ +#define __ID3D11VideoProcessorOutputView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoProcessorOutputView, 0xa048285e, 0x25a9, 0x4527, 0xbd,0x93, 0xd6,0x8b,0x68,0xc4,0x42,0x54); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a048285e-25a9-4527-bd93-d68b68c44254") +ID3D11VideoProcessorOutputView : public ID3D11View +{ + virtual void STDMETHODCALLTYPE GetDesc( + D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoProcessorOutputView, 0xa048285e, 0x25a9, 0x4527, 0xbd,0x93, 0xd6,0x8b,0x68,0xc4,0x42,0x54) +#endif +#else +typedef struct ID3D11VideoProcessorOutputViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoProcessorOutputView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoProcessorOutputView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoProcessorOutputView *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoProcessorOutputView *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoProcessorOutputView *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoProcessorOutputView *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoProcessorOutputView *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11VideoProcessorOutputView *This, + ID3D11Resource **ppResource); + + /*** ID3D11VideoProcessorOutputView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11VideoProcessorOutputView *This, + D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc); + + END_INTERFACE +} ID3D11VideoProcessorOutputViewVtbl; + +interface ID3D11VideoProcessorOutputView { + CONST_VTBL ID3D11VideoProcessorOutputViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoProcessorOutputView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoProcessorOutputView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoProcessorOutputView_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoProcessorOutputView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoProcessorOutputView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoProcessorOutputView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoProcessorOutputView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11VideoProcessorOutputView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11VideoProcessorOutputView methods ***/ +#define ID3D11VideoProcessorOutputView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorOutputView_QueryInterface(ID3D11VideoProcessorOutputView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoProcessorOutputView_AddRef(ID3D11VideoProcessorOutputView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoProcessorOutputView_Release(ID3D11VideoProcessorOutputView* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoProcessorOutputView_GetDevice(ID3D11VideoProcessorOutputView* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorOutputView_GetPrivateData(ID3D11VideoProcessorOutputView* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorOutputView_SetPrivateData(ID3D11VideoProcessorOutputView* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorOutputView_SetPrivateDataInterface(ID3D11VideoProcessorOutputView* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11VideoProcessorOutputView_GetResource(ID3D11VideoProcessorOutputView* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11VideoProcessorOutputView methods ***/ +static FORCEINLINE void ID3D11VideoProcessorOutputView_GetDesc(ID3D11VideoProcessorOutputView* This,D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoProcessorOutputView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoDevice interface + */ +#ifndef __ID3D11VideoDevice_INTERFACE_DEFINED__ +#define __ID3D11VideoDevice_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoDevice, 0x10ec4d5b, 0x975a, 0x4689, 0xb9,0xe4, 0xd0,0xaa,0xc3,0x0f,0xe3,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("10ec4d5b-975a-4689-b9e4-d0aac30fe333") +ID3D11VideoDevice : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateVideoDecoder( + const D3D11_VIDEO_DECODER_DESC *pVideoDesc, + const D3D11_VIDEO_DECODER_CONFIG *pConfig, + ID3D11VideoDecoder **ppDecoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessor( + ID3D11VideoProcessorEnumerator *pEnum, + UINT RateConversionIndex, + ID3D11VideoProcessor **ppVideoProcessor) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAuthenticatedChannel( + D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType, + ID3D11AuthenticatedChannel **ppAuthenticatedChannel) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCryptoSession( + const GUID *pCryptoType, + const GUID *pDecoderProfile, + const GUID *pKeyExchangeType, + ID3D11CryptoSession **ppCryptoSession) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoDecoderOutputView( + ID3D11Resource *pResource, + const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoDecoderOutputView **ppVDOVView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessorInputView( + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorInputView **ppVPIView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessorOutputView( + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorOutputView **ppVPOView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessorEnumerator( + const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc, + ID3D11VideoProcessorEnumerator **ppEnum) = 0; + + virtual UINT STDMETHODCALLTYPE GetVideoDecoderProfileCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderProfile( + UINT Index, + GUID *pDecoderProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckVideoDecoderFormat( + const GUID *pDecoderProfile, + DXGI_FORMAT Format, + BOOL *pSupported) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderConfigCount( + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderConfig( + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT Index, + D3D11_VIDEO_DECODER_CONFIG *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContentProtectionCaps( + const GUID *pCryptoType, + const GUID *pDecoderProfile, + D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckCryptoKeyExchange( + const GUID *pCryptoType, + const GUID *pDecoderProfile, + UINT Index, + GUID *pKeyExchangeType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + REFGUID guid, + UINT DataSize, + const void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( + REFGUID guid, + const IUnknown *pData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoDevice, 0x10ec4d5b, 0x975a, 0x4689, 0xb9,0xe4, 0xd0,0xaa,0xc3,0x0f,0xe3,0x33) +#endif +#else +typedef struct ID3D11VideoDeviceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoDevice *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoDevice *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoDevice *This); + + /*** ID3D11VideoDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateVideoDecoder)( + ID3D11VideoDevice *This, + const D3D11_VIDEO_DECODER_DESC *pVideoDesc, + const D3D11_VIDEO_DECODER_CONFIG *pConfig, + ID3D11VideoDecoder **ppDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessor)( + ID3D11VideoDevice *This, + ID3D11VideoProcessorEnumerator *pEnum, + UINT RateConversionIndex, + ID3D11VideoProcessor **ppVideoProcessor); + + HRESULT (STDMETHODCALLTYPE *CreateAuthenticatedChannel)( + ID3D11VideoDevice *This, + D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType, + ID3D11AuthenticatedChannel **ppAuthenticatedChannel); + + HRESULT (STDMETHODCALLTYPE *CreateCryptoSession)( + ID3D11VideoDevice *This, + const GUID *pCryptoType, + const GUID *pDecoderProfile, + const GUID *pKeyExchangeType, + ID3D11CryptoSession **ppCryptoSession); + + HRESULT (STDMETHODCALLTYPE *CreateVideoDecoderOutputView)( + ID3D11VideoDevice *This, + ID3D11Resource *pResource, + const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoDecoderOutputView **ppVDOVView); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorInputView)( + ID3D11VideoDevice *This, + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorInputView **ppVPIView); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorOutputView)( + ID3D11VideoDevice *This, + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorOutputView **ppVPOView); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorEnumerator)( + ID3D11VideoDevice *This, + const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc, + ID3D11VideoProcessorEnumerator **ppEnum); + + UINT (STDMETHODCALLTYPE *GetVideoDecoderProfileCount)( + ID3D11VideoDevice *This); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderProfile)( + ID3D11VideoDevice *This, + UINT Index, + GUID *pDecoderProfile); + + HRESULT (STDMETHODCALLTYPE *CheckVideoDecoderFormat)( + ID3D11VideoDevice *This, + const GUID *pDecoderProfile, + DXGI_FORMAT Format, + BOOL *pSupported); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfigCount)( + ID3D11VideoDevice *This, + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfig)( + ID3D11VideoDevice *This, + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT Index, + D3D11_VIDEO_DECODER_CONFIG *pConfig); + + HRESULT (STDMETHODCALLTYPE *GetContentProtectionCaps)( + ID3D11VideoDevice *This, + const GUID *pCryptoType, + const GUID *pDecoderProfile, + D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *CheckCryptoKeyExchange)( + ID3D11VideoDevice *This, + const GUID *pCryptoType, + const GUID *pDecoderProfile, + UINT Index, + GUID *pKeyExchangeType); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoDevice *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoDevice *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3D11VideoDeviceVtbl; + +interface ID3D11VideoDevice { + CONST_VTBL ID3D11VideoDeviceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoDevice_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoDevice_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11VideoDevice methods ***/ +#define ID3D11VideoDevice_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) (This)->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) +#define ID3D11VideoDevice_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) (This)->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) +#define ID3D11VideoDevice_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) (This)->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) +#define ID3D11VideoDevice_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) (This)->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) +#define ID3D11VideoDevice_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) (This)->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) +#define ID3D11VideoDevice_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) (This)->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) +#define ID3D11VideoDevice_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) (This)->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) +#define ID3D11VideoDevice_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) (This)->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum) +#define ID3D11VideoDevice_GetVideoDecoderProfileCount(This) (This)->lpVtbl->GetVideoDecoderProfileCount(This) +#define ID3D11VideoDevice_GetVideoDecoderProfile(This,Index,pDecoderProfile) (This)->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile) +#define ID3D11VideoDevice_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) (This)->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) +#define ID3D11VideoDevice_GetVideoDecoderConfigCount(This,pDesc,pCount) (This)->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount) +#define ID3D11VideoDevice_GetVideoDecoderConfig(This,pDesc,Index,pConfig) (This)->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig) +#define ID3D11VideoDevice_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) (This)->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) +#define ID3D11VideoDevice_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) (This)->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) +#define ID3D11VideoDevice_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoDevice_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDevice_QueryInterface(ID3D11VideoDevice* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoDevice_AddRef(ID3D11VideoDevice* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoDevice_Release(ID3D11VideoDevice* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11VideoDevice methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateVideoDecoder(ID3D11VideoDevice* This,const D3D11_VIDEO_DECODER_DESC *pVideoDesc,const D3D11_VIDEO_DECODER_CONFIG *pConfig,ID3D11VideoDecoder **ppDecoder) { + return This->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateVideoProcessor(ID3D11VideoDevice* This,ID3D11VideoProcessorEnumerator *pEnum,UINT RateConversionIndex,ID3D11VideoProcessor **ppVideoProcessor) { + return This->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateAuthenticatedChannel(ID3D11VideoDevice* This,D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,ID3D11AuthenticatedChannel **ppAuthenticatedChannel) { + return This->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateCryptoSession(ID3D11VideoDevice* This,const GUID *pCryptoType,const GUID *pDecoderProfile,const GUID *pKeyExchangeType,ID3D11CryptoSession **ppCryptoSession) { + return This->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateVideoDecoderOutputView(ID3D11VideoDevice* This,ID3D11Resource *pResource,const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoDecoderOutputView **ppVDOVView) { + return This->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateVideoProcessorInputView(ID3D11VideoDevice* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorInputView **ppVPIView) { + return This->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateVideoProcessorOutputView(ID3D11VideoDevice* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorOutputView **ppVPOView) { + return This->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CreateVideoProcessorEnumerator(ID3D11VideoDevice* This,const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,ID3D11VideoProcessorEnumerator **ppEnum) { + return This->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum); +} +static FORCEINLINE UINT ID3D11VideoDevice_GetVideoDecoderProfileCount(ID3D11VideoDevice* This) { + return This->lpVtbl->GetVideoDecoderProfileCount(This); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_GetVideoDecoderProfile(ID3D11VideoDevice* This,UINT Index,GUID *pDecoderProfile) { + return This->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CheckVideoDecoderFormat(ID3D11VideoDevice* This,const GUID *pDecoderProfile,DXGI_FORMAT Format,BOOL *pSupported) { + return This->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_GetVideoDecoderConfigCount(ID3D11VideoDevice* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT *pCount) { + return This->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_GetVideoDecoderConfig(ID3D11VideoDevice* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT Index,D3D11_VIDEO_DECODER_CONFIG *pConfig) { + return This->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_GetContentProtectionCaps(ID3D11VideoDevice* This,const GUID *pCryptoType,const GUID *pDecoderProfile,D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps) { + return This->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_CheckCryptoKeyExchange(ID3D11VideoDevice* This,const GUID *pCryptoType,const GUID *pDecoderProfile,UINT Index,GUID *pKeyExchangeType) { + return This->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_SetPrivateData(ID3D11VideoDevice* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoDevice_SetPrivateDataInterface(ID3D11VideoDevice* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoDevice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoContext interface + */ +#ifndef __ID3D11VideoContext_INTERFACE_DEFINED__ +#define __ID3D11VideoContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoContext, 0x61f21c45, 0x3c0e, 0x4a74, 0x9c,0xea, 0x67,0x10,0x0d,0x9a,0xd5,0xe4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("61f21c45-3c0e-4a74-9cea-67100d9ad5e4") +ID3D11VideoContext : public ID3D11DeviceChild +{ + virtual HRESULT STDMETHODCALLTYPE GetDecoderBuffer( + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type, + UINT *buffer_size, + void **buffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseDecoderBuffer( + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecoderBeginFrame( + ID3D11VideoDecoder *decoder, + ID3D11VideoDecoderOutputView *view, + UINT key_size, + const void *key) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecoderEndFrame( + ID3D11VideoDecoder *decoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers( + ID3D11VideoDecoder *decoder, + UINT buffers_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecoderExtension( + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_DECODER_EXTENSION *extension) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputTargetRect( + ID3D11VideoProcessor *processor, + BOOL enable, + const RECT *rect) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputBackgroundColor( + ID3D11VideoProcessor *processor, + BOOL y_cb_cr, + const D3D11_VIDEO_COLOR *color) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputColorSpace( + ID3D11VideoProcessor *processor, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputAlphaFillMode( + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode, + UINT stream_idx) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputConstriction( + ID3D11VideoProcessor *processor, + BOOL enable, + SIZE size) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputStereoMode( + ID3D11VideoProcessor *processor, + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessorSetOutputExtension( + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputTargetRect( + ID3D11VideoProcessor *processor, + BOOL *enabled, + RECT *rect) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputBackgroundColor( + ID3D11VideoProcessor *processor, + BOOL *y_cb_cr, + D3D11_VIDEO_COLOR *color) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputColorSpace( + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputAlphaFillMode( + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode, + UINT *stream_idx) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputConstriction( + ID3D11VideoProcessor *processor, + BOOL *enabled, + SIZE *size) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputStereoMode( + ID3D11VideoProcessor *processor, + BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessorGetOutputExtension( + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamFrameFormat( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT format) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamColorSpace( + ID3D11VideoProcessor *processor, + UINT stream_idx, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamOutputRate( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate, + BOOL repeat, + const DXGI_RATIONAL *custom_rate) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamSourceRect( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamDestRect( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamAlpha( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float alpha) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamPalette( + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + const UINT *entries) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamPixelAspectRatio( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const DXGI_RATIONAL *src_aspect_ratio, + const DXGI_RATIONAL *dst_aspect_ratio) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamLumaKey( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float lower, + float upper) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamStereoFormat( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format, + BOOL left_view_frame0, + BOOL base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode, + int mono_offset) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamAutoProcessingMode( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamFilter( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL enable, + int level) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessorSetStreamExtension( + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamFrameFormat( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT *format) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamColorSpace( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamOutputRate( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate, + BOOL *repeat, + DXGI_RATIONAL *custom_rate) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamSourceRect( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamDestRect( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamAlpha( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *alpha) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamPalette( + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + UINT *entries) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamPixelAspectRatio( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + DXGI_RATIONAL *src_aspect_ratio, + DXGI_RATIONAL *dst_aspect_ratio) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamLumaKey( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *lower, + float *upper) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamStereoFormat( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format, + BOOL *left_view_frame0, + BOOL *base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode, + int *mono_offset) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamAutoProcessingMode( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamFilter( + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL *enabled, + int *level) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessorGetStreamExtension( + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessorBlt( + ID3D11VideoProcessor *processor, + ID3D11VideoProcessorOutputView *view, + UINT frame_idx, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM *streams) = 0; + + virtual HRESULT STDMETHODCALLTYPE NegotiateCryptoSessionKeyExchange( + ID3D11CryptoSession *session, + UINT data_size, + void *data) = 0; + + virtual void STDMETHODCALLTYPE EncryptionBlt( + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + UINT iv_size, + void *iv) = 0; + + virtual void STDMETHODCALLTYPE DecryptionBlt( + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + D3D11_ENCRYPTED_BLOCK_INFO *block_info, + UINT key_size, + const void *key, + UINT iv_size, + void *iv) = 0; + + virtual void STDMETHODCALLTYPE StartSessionKeyRefresh( + ID3D11CryptoSession *session, + UINT random_number_size, + void *random_number) = 0; + + virtual void STDMETHODCALLTYPE FinishSessionKeyRefresh( + ID3D11CryptoSession *session) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEncryptionBltKey( + ID3D11CryptoSession *session, + UINT key_size, + void *key) = 0; + + virtual HRESULT STDMETHODCALLTYPE NegotiateAuthenticatedChannelKeyExchange( + ID3D11AuthenticatedChannel *channel, + UINT data_size, + void *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAuthenticatedChannel( + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + UINT output_size, + void *output) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConfigureAuthenticatedChannel( + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamRotation( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_ROTATION rotation) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamRotation( + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enable, + D3D11_VIDEO_PROCESSOR_ROTATION *rotation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoContext, 0x61f21c45, 0x3c0e, 0x4a74, 0x9c,0xea, 0x67,0x10,0x0d,0x9a,0xd5,0xe4) +#endif +#else +typedef struct ID3D11VideoContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoContext *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoContext *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoContext *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoContext *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoContext *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDecoderBuffer)( + ID3D11VideoContext *This, + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type, + UINT *buffer_size, + void **buffer); + + HRESULT (STDMETHODCALLTYPE *ReleaseDecoderBuffer)( + ID3D11VideoContext *This, + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type); + + HRESULT (STDMETHODCALLTYPE *DecoderBeginFrame)( + ID3D11VideoContext *This, + ID3D11VideoDecoder *decoder, + ID3D11VideoDecoderOutputView *view, + UINT key_size, + const void *key); + + HRESULT (STDMETHODCALLTYPE *DecoderEndFrame)( + ID3D11VideoContext *This, + ID3D11VideoDecoder *decoder); + + HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers)( + ID3D11VideoContext *This, + ID3D11VideoDecoder *decoder, + UINT buffers_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc); + + HRESULT (STDMETHODCALLTYPE *DecoderExtension)( + ID3D11VideoContext *This, + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_DECODER_EXTENSION *extension); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL y_cb_cr, + const D3D11_VIDEO_COLOR *color); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode, + UINT stream_idx); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL enable, + SIZE size); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorSetOutputExtension)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL *y_cb_cr, + D3D11_VIDEO_COLOR *color); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode, + UINT *stream_idx); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL *enabled, + SIZE *size); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetOutputExtension)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT format); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate, + BOOL repeat, + const DXGI_RATIONAL *custom_rate); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float alpha); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamPalette)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + const UINT *entries); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const DXGI_RATIONAL *src_aspect_ratio, + const DXGI_RATIONAL *dst_aspect_ratio); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float lower, + float upper); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format, + BOOL left_view_frame0, + BOOL base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode, + int mono_offset); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamFilter)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL enable, + int level); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorSetStreamExtension)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT *format); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate, + BOOL *repeat, + DXGI_RATIONAL *custom_rate); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *alpha); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamPalette)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + UINT *entries); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + DXGI_RATIONAL *src_aspect_ratio, + DXGI_RATIONAL *dst_aspect_ratio); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *lower, + float *upper); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format, + BOOL *left_view_frame0, + BOOL *base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode, + int *mono_offset); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamFilter)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL *enabled, + int *level); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetStreamExtension)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorBlt)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + ID3D11VideoProcessorOutputView *view, + UINT frame_idx, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM *streams); + + HRESULT (STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange)( + ID3D11VideoContext *This, + ID3D11CryptoSession *session, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *EncryptionBlt)( + ID3D11VideoContext *This, + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + UINT iv_size, + void *iv); + + void (STDMETHODCALLTYPE *DecryptionBlt)( + ID3D11VideoContext *This, + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + D3D11_ENCRYPTED_BLOCK_INFO *block_info, + UINT key_size, + const void *key, + UINT iv_size, + void *iv); + + void (STDMETHODCALLTYPE *StartSessionKeyRefresh)( + ID3D11VideoContext *This, + ID3D11CryptoSession *session, + UINT random_number_size, + void *random_number); + + void (STDMETHODCALLTYPE *FinishSessionKeyRefresh)( + ID3D11VideoContext *This, + ID3D11CryptoSession *session); + + HRESULT (STDMETHODCALLTYPE *GetEncryptionBltKey)( + ID3D11VideoContext *This, + ID3D11CryptoSession *session, + UINT key_size, + void *key); + + HRESULT (STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange)( + ID3D11VideoContext *This, + ID3D11AuthenticatedChannel *channel, + UINT data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *QueryAuthenticatedChannel)( + ID3D11VideoContext *This, + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + UINT output_size, + void *output); + + HRESULT (STDMETHODCALLTYPE *ConfigureAuthenticatedChannel)( + ID3D11VideoContext *This, + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamRotation)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_ROTATION rotation); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamRotation)( + ID3D11VideoContext *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enable, + D3D11_VIDEO_PROCESSOR_ROTATION *rotation); + + END_INTERFACE +} ID3D11VideoContextVtbl; + +interface ID3D11VideoContext { + CONST_VTBL ID3D11VideoContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoContext_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoContext_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoContext_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoContext_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoContext_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoContext methods ***/ +#define ID3D11VideoContext_GetDecoderBuffer(This,decoder,type,buffer_size,buffer) (This)->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer) +#define ID3D11VideoContext_ReleaseDecoderBuffer(This,decoder,type) (This)->lpVtbl->ReleaseDecoderBuffer(This,decoder,type) +#define ID3D11VideoContext_DecoderBeginFrame(This,decoder,view,key_size,key) (This)->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key) +#define ID3D11VideoContext_DecoderEndFrame(This,decoder) (This)->lpVtbl->DecoderEndFrame(This,decoder) +#define ID3D11VideoContext_SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) +#define ID3D11VideoContext_DecoderExtension(This,decoder,extension) (This)->lpVtbl->DecoderExtension(This,decoder,extension) +#define ID3D11VideoContext_VideoProcessorSetOutputTargetRect(This,processor,enable,rect) (This)->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect) +#define ID3D11VideoContext_VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) +#define ID3D11VideoContext_VideoProcessorSetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space) +#define ID3D11VideoContext_VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) +#define ID3D11VideoContext_VideoProcessorSetOutputConstriction(This,processor,enable,size) (This)->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size) +#define ID3D11VideoContext_VideoProcessorSetOutputStereoMode(This,processor,enable) (This)->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable) +#define ID3D11VideoContext_VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) +#define ID3D11VideoContext_VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) (This)->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) +#define ID3D11VideoContext_VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) +#define ID3D11VideoContext_VideoProcessorGetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space) +#define ID3D11VideoContext_VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) +#define ID3D11VideoContext_VideoProcessorGetOutputConstriction(This,processor,enabled,size) (This)->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size) +#define ID3D11VideoContext_VideoProcessorGetOutputStereoMode(This,processor,enabled) (This)->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled) +#define ID3D11VideoContext_VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) +#define ID3D11VideoContext_VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) +#define ID3D11VideoContext_VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) +#define ID3D11VideoContext_VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) +#define ID3D11VideoContext_VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) +#define ID3D11VideoContext_VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) +#define ID3D11VideoContext_VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) (This)->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) +#define ID3D11VideoContext_VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) +#define ID3D11VideoContext_VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) +#define ID3D11VideoContext_VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) (This)->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) +#define ID3D11VideoContext_VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) +#define ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) (This)->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) +#define ID3D11VideoContext_VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) (This)->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) +#define ID3D11VideoContext_VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) +#define ID3D11VideoContext_VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) +#define ID3D11VideoContext_VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) +#define ID3D11VideoContext_VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) +#define ID3D11VideoContext_VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) +#define ID3D11VideoContext_VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) +#define ID3D11VideoContext_VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) (This)->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) +#define ID3D11VideoContext_VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) +#define ID3D11VideoContext_VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) +#define ID3D11VideoContext_VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) (This)->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) +#define ID3D11VideoContext_VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) +#define ID3D11VideoContext_VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) (This)->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) +#define ID3D11VideoContext_VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) (This)->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) +#define ID3D11VideoContext_VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) +#define ID3D11VideoContext_VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) (This)->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) +#define ID3D11VideoContext_NegotiateCryptoSessionKeyExchange(This,session,data_size,data) (This)->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data) +#define ID3D11VideoContext_EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) (This)->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) +#define ID3D11VideoContext_DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) (This)->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) +#define ID3D11VideoContext_StartSessionKeyRefresh(This,session,random_number_size,random_number) (This)->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number) +#define ID3D11VideoContext_FinishSessionKeyRefresh(This,session) (This)->lpVtbl->FinishSessionKeyRefresh(This,session) +#define ID3D11VideoContext_GetEncryptionBltKey(This,session,key_size,key) (This)->lpVtbl->GetEncryptionBltKey(This,session,key_size,key) +#define ID3D11VideoContext_NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) (This)->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) +#define ID3D11VideoContext_QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) (This)->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) +#define ID3D11VideoContext_ConfigureAuthenticatedChannel(This,channel,input_size,input,output) (This)->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output) +#define ID3D11VideoContext_VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) +#define ID3D11VideoContext_VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext_QueryInterface(ID3D11VideoContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoContext_AddRef(ID3D11VideoContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoContext_Release(ID3D11VideoContext* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoContext_GetDevice(ID3D11VideoContext* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoContext_GetPrivateData(ID3D11VideoContext* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoContext_SetPrivateData(ID3D11VideoContext* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoContext_SetPrivateDataInterface(ID3D11VideoContext* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoContext methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext_GetDecoderBuffer(ID3D11VideoContext* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type,UINT *buffer_size,void **buffer) { + return This->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer); +} +static FORCEINLINE HRESULT ID3D11VideoContext_ReleaseDecoderBuffer(ID3D11VideoContext* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type) { + return This->lpVtbl->ReleaseDecoderBuffer(This,decoder,type); +} +static FORCEINLINE HRESULT ID3D11VideoContext_DecoderBeginFrame(ID3D11VideoContext* This,ID3D11VideoDecoder *decoder,ID3D11VideoDecoderOutputView *view,UINT key_size,const void *key) { + return This->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key); +} +static FORCEINLINE HRESULT ID3D11VideoContext_DecoderEndFrame(ID3D11VideoContext* This,ID3D11VideoDecoder *decoder) { + return This->lpVtbl->DecoderEndFrame(This,decoder); +} +static FORCEINLINE HRESULT ID3D11VideoContext_SubmitDecoderBuffers(ID3D11VideoContext* This,ID3D11VideoDecoder *decoder,UINT buffers_count,const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc) { + return This->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc); +} +static FORCEINLINE HRESULT ID3D11VideoContext_DecoderExtension(ID3D11VideoContext* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_DECODER_EXTENSION *extension) { + return This->lpVtbl->DecoderExtension(This,decoder,extension); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetOutputTargetRect(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetOutputBackgroundColor(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL y_cb_cr,const D3D11_VIDEO_COLOR *color) { + This->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetOutputColorSpace(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetOutputAlphaFillMode(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,UINT stream_idx) { + This->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetOutputConstriction(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL enable,SIZE size) { + This->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetOutputStereoMode(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL enable) { + This->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable); +} +static FORCEINLINE HRESULT ID3D11VideoContext_VideoProcessorSetOutputExtension(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetOutputTargetRect(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetOutputBackgroundColor(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL *y_cb_cr,D3D11_VIDEO_COLOR *color) { + This->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetOutputColorSpace(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetOutputAlphaFillMode(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,UINT *stream_idx) { + This->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetOutputConstriction(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL *enabled,SIZE *size) { + This->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetOutputStereoMode(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,BOOL *enabled) { + This->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled); +} +static FORCEINLINE HRESULT ID3D11VideoContext_VideoProcessorGetOutputExtension(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamFrameFormat(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT format) { + This->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamColorSpace(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamOutputRate(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate,BOOL repeat,const DXGI_RATIONAL *custom_rate) { + This->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamSourceRect(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamDestRect(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamAlpha(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,float alpha) { + This->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamPalette(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,const UINT *entries) { + This->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const DXGI_RATIONAL *src_aspect_ratio,const DXGI_RATIONAL *dst_aspect_ratio) { + This->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamLumaKey(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,float lower,float upper) { + This->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamStereoFormat(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format,BOOL left_view_frame0,BOOL base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode,int mono_offset) { + This->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable) { + This->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamFilter(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,BOOL enable,int level) { + This->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level); +} +static FORCEINLINE HRESULT ID3D11VideoContext_VideoProcessorSetStreamExtension(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamFrameFormat(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT *format) { + This->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamColorSpace(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamOutputRate(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,BOOL *repeat,DXGI_RATIONAL *custom_rate) { + This->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamSourceRect(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamDestRect(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamAlpha(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,float *alpha) { + This->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamPalette(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,UINT *entries) { + This->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,DXGI_RATIONAL *src_aspect_ratio,DXGI_RATIONAL *dst_aspect_ratio) { + This->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamLumaKey(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,float *lower,float *upper) { + This->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamStereoFormat(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format,BOOL *left_view_frame0,BOOL *base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode,int *mono_offset) { + This->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled) { + This->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamFilter(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,BOOL *enabled,int *level) { + This->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level); +} +static FORCEINLINE HRESULT ID3D11VideoContext_VideoProcessorGetStreamExtension(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data); +} +static FORCEINLINE HRESULT ID3D11VideoContext_VideoProcessorBlt(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,ID3D11VideoProcessorOutputView *view,UINT frame_idx,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM *streams) { + return This->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams); +} +static FORCEINLINE HRESULT ID3D11VideoContext_NegotiateCryptoSessionKeyExchange(ID3D11VideoContext* This,ID3D11CryptoSession *session,UINT data_size,void *data) { + return This->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext_EncryptionBlt(ID3D11VideoContext* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,UINT iv_size,void *iv) { + This->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv); +} +static FORCEINLINE void ID3D11VideoContext_DecryptionBlt(ID3D11VideoContext* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,D3D11_ENCRYPTED_BLOCK_INFO *block_info,UINT key_size,const void *key,UINT iv_size,void *iv) { + This->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv); +} +static FORCEINLINE void ID3D11VideoContext_StartSessionKeyRefresh(ID3D11VideoContext* This,ID3D11CryptoSession *session,UINT random_number_size,void *random_number) { + This->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number); +} +static FORCEINLINE void ID3D11VideoContext_FinishSessionKeyRefresh(ID3D11VideoContext* This,ID3D11CryptoSession *session) { + This->lpVtbl->FinishSessionKeyRefresh(This,session); +} +static FORCEINLINE HRESULT ID3D11VideoContext_GetEncryptionBltKey(ID3D11VideoContext* This,ID3D11CryptoSession *session,UINT key_size,void *key) { + return This->lpVtbl->GetEncryptionBltKey(This,session,key_size,key); +} +static FORCEINLINE HRESULT ID3D11VideoContext_NegotiateAuthenticatedChannelKeyExchange(ID3D11VideoContext* This,ID3D11AuthenticatedChannel *channel,UINT data_size,void *data) { + return This->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data); +} +static FORCEINLINE HRESULT ID3D11VideoContext_QueryAuthenticatedChannel(ID3D11VideoContext* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,UINT output_size,void *output) { + return This->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output); +} +static FORCEINLINE HRESULT ID3D11VideoContext_ConfigureAuthenticatedChannel(ID3D11VideoContext* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output) { + return This->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorSetStreamRotation(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,D3D11_VIDEO_PROCESSOR_ROTATION rotation) { + This->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation); +} +static FORCEINLINE void ID3D11VideoContext_VideoProcessorGetStreamRotation(ID3D11VideoContext* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enable,D3D11_VIDEO_PROCESSOR_ROTATION *rotation) { + This->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Device interface + */ +#ifndef __ID3D11Device_INTERFACE_DEFINED__ +#define __ID3D11Device_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Device, 0xdb6f6ddb, 0xac77, 0x4e88, 0x82,0x53, 0x81,0x9d,0xf9,0xbb,0xf1,0x40); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("db6f6ddb-ac77-4e88-8253-819df9bbf140") +ID3D11Device : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateBuffer( + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture1D( + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture2D( + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture3D( + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView( + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView( + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView( + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView( + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInputLayout( + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVertexShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateHullShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDomainShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateComputeShader( + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateClassLinkage( + ID3D11ClassLinkage **ppLinkage) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBlendState( + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState( + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState( + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSamplerState( + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQuery( + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePredicate( + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCounter( + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext( + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenSharedResource( + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport( + DXGI_FORMAT Format, + UINT *pFormatSupport) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels( + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels) = 0; + + virtual void STDMETHODCALLTYPE CheckCounterInfo( + D3D11_COUNTER_INFO *pCounterInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckCounter( + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport( + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrivateData( + REFGUID guid, + UINT *pDataSize, + void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + REFGUID guid, + UINT DataSize, + const void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( + REFGUID guid, + const IUnknown *pData) = 0; + + virtual D3D_FEATURE_LEVEL STDMETHODCALLTYPE GetFeatureLevel( + ) = 0; + + virtual UINT STDMETHODCALLTYPE GetCreationFlags( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( + ) = 0; + + virtual void STDMETHODCALLTYPE GetImmediateContext( + ID3D11DeviceContext **ppImmediateContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetExceptionMode( + UINT RaiseFlags) = 0; + + virtual UINT STDMETHODCALLTYPE GetExceptionMode( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Device, 0xdb6f6ddb, 0xac77, 0x4e88, 0x82,0x53, 0x81,0x9d,0xf9,0xbb,0xf1,0x40) +#endif +#else +typedef struct ID3D11DeviceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Device *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Device *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Device *This); + + /*** ID3D11Device methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D11Device *This, + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D11Device *This, + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D11Device *This, + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D11Device *This, + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D11Device *This, + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( + ID3D11Device *This, + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D11Device *This, + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D11Device *This, + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D11Device *This, + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateHullShader)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader); + + HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader); + + HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( + ID3D11Device *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader); + + HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( + ID3D11Device *This, + ID3D11ClassLinkage **ppLinkage); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D11Device *This, + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D11Device *This, + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D11Device *This, + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D11Device *This, + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D11Device *This, + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D11Device *This, + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D11Device *This, + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( + ID3D11Device *This, + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D11Device *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D11Device *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D11Device *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D11Device *This, + D3D11_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D11Device *This, + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength); + + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + ID3D11Device *This, + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Device *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Device *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Device *This, + REFGUID guid, + const IUnknown *pData); + + D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D11Device *This); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D11Device *This); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D11Device *This); + + void (STDMETHODCALLTYPE *GetImmediateContext)( + ID3D11Device *This, + ID3D11DeviceContext **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D11Device *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D11Device *This); + + END_INTERFACE +} ID3D11DeviceVtbl; + +interface ID3D11Device { + CONST_VTBL ID3D11DeviceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Device_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Device_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Device_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Device methods ***/ +#define ID3D11Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D11Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D11Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D11Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D11Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D11Device_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) +#define ID3D11Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D11Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D11Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D11Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) +#define ID3D11Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) +#define ID3D11Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) +#define ID3D11Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) +#define ID3D11Device_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) +#define ID3D11Device_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) +#define ID3D11Device_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) +#define ID3D11Device_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) +#define ID3D11Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D11Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D11Device_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D11Device_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D11Device_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D11Device_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) +#define ID3D11Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D11Device_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D11Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D11Device_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D11Device_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) +#define ID3D11Device_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) +#define ID3D11Device_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Device_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Device_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D11Device_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#define ID3D11Device_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D11Device_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D11Device_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) +#define ID3D11Device_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D11Device_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Device_QueryInterface(ID3D11Device* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Device_AddRef(ID3D11Device* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Device_Release(ID3D11Device* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Device methods ***/ +static FORCEINLINE HRESULT ID3D11Device_CreateBuffer(ID3D11Device* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D11Device_CreateTexture1D(ID3D11Device* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D11Device_CreateTexture2D(ID3D11Device* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D11Device_CreateTexture3D(ID3D11Device* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D11Device_CreateShaderResourceView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D11Device_CreateUnorderedAccessView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { + return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); +} +static FORCEINLINE HRESULT ID3D11Device_CreateRenderTargetView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D11Device_CreateDepthStencilView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D11Device_CreateInputLayout(ID3D11Device* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D11Device_CreateVertexShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreateGeometryShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreateGeometryShaderWithStreamOutput(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreatePixelShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreateHullShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { + return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreateDomainShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { + return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreateComputeShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { + return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); +} +static FORCEINLINE HRESULT ID3D11Device_CreateClassLinkage(ID3D11Device* This,ID3D11ClassLinkage **ppLinkage) { + return This->lpVtbl->CreateClassLinkage(This,ppLinkage); +} +static FORCEINLINE HRESULT ID3D11Device_CreateBlendState(ID3D11Device* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device_CreateDepthStencilState(ID3D11Device* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D11Device_CreateRasterizerState(ID3D11Device* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device_CreateSamplerState(ID3D11Device* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D11Device_CreateQuery(ID3D11Device* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D11Device_CreatePredicate(ID3D11Device* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D11Device_CreateCounter(ID3D11Device* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D11Device_CreateDeferredContext(ID3D11Device* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device_OpenSharedResource(ID3D11Device* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device_CheckFormatSupport(ID3D11Device* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D11Device_CheckMultisampleQualityLevels(ID3D11Device* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D11Device_CheckCounterInfo(ID3D11Device* This,D3D11_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D11Device_CheckCounter(ID3D11Device* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); +} +static FORCEINLINE HRESULT ID3D11Device_CheckFeatureSupport(ID3D11Device* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { + return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); +} +static FORCEINLINE HRESULT ID3D11Device_GetPrivateData(ID3D11Device* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device_SetPrivateData(ID3D11Device* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device_SetPrivateDataInterface(ID3D11Device* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device_GetFeatureLevel(ID3D11Device* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +static FORCEINLINE UINT ID3D11Device_GetCreationFlags(ID3D11Device* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D11Device_GetDeviceRemovedReason(ID3D11Device* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE void ID3D11Device_GetImmediateContext(ID3D11Device* This,ID3D11DeviceContext **ppImmediateContext) { + This->lpVtbl->GetImmediateContext(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device_SetExceptionMode(ID3D11Device* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D11Device_GetExceptionMode(ID3D11Device* This) { + return This->lpVtbl->GetExceptionMode(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Device_INTERFACE_DEFINED__ */ + +typedef enum D3D11_CREATE_DEVICE_FLAG { + D3D11_CREATE_DEVICE_SINGLETHREADED = 0x1, + D3D11_CREATE_DEVICE_DEBUG = 0x2, + D3D11_CREATE_DEVICE_SWITCH_TO_REF = 0x4, + D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8, + D3D11_CREATE_DEVICE_BGRA_SUPPORT = 0x20, + D3D11_CREATE_DEVICE_DEBUGGABLE = 0x40, + D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY = 0x80, + D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT = 0x100, + D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x800 +} D3D11_CREATE_DEVICE_FLAG; +#define D3D11_SDK_VERSION (7) + +#include +#ifndef D3D11_IGNORE_SDK_LAYERS +# include +#endif +#include +#include +#include +#include +#define _FACD3D11 (0x87c) + +#define MAKE_D3D11_HRESULT(code) MAKE_HRESULT(SEVERITY_ERROR, _FACD3D11, code) +typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT, + const D3D_FEATURE_LEVEL*,UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**); +HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,const D3D_FEATURE_LEVEL*, + UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**); +typedef HRESULT (WINAPI *PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT, + const D3D_FEATURE_LEVEL*,UINT,UINT,const DXGI_SWAP_CHAIN_DESC*,IDXGISwapChain**,ID3D11Device**, + D3D_FEATURE_LEVEL*,ID3D11DeviceContext**); +HRESULT __stdcall D3D11CreateDeviceAndSwapChain(IDXGIAdapter *adapter,D3D_DRIVER_TYPE driver_type,HMODULE swrast,UINT flags,const D3D_FEATURE_LEVEL *feature_levels,UINT levels,UINT sdk_version,const DXGI_SWAP_CHAIN_DESC *swapchain_desc,IDXGISwapChain **swapchain,ID3D11Device **device,D3D_FEATURE_LEVEL *obtained_feature_level,ID3D11DeviceContext **immediate_context); + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d11_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11.idl new file mode 100644 index 0000000..ba2cad8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11.idl @@ -0,0 +1,3789 @@ +/* + * Copyright 2010 Rico Schüller + * Copyright 2013 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi.idl"; +import "d3dcommon.idl"; + +typedef D3D_PRIMITIVE D3D11_PRIMITIVE; +typedef D3D_PRIMITIVE_TOPOLOGY D3D11_PRIMITIVE_TOPOLOGY; +typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION; +typedef RECT D3D11_RECT; + +interface ID3D11Device; +interface ID3D11ClassLinkage; +interface ID3D11Resource; +interface ID3D11VideoProcessorInputView; + +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT = 14; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS = 4; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT = 15; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT = 16; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; +const UINT D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; +const UINT D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT = 64; +const UINT D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; +const UINT D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT = 1; +const UINT D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; +const UINT D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; +const UINT D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS = 1; +const UINT D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT = 128; +const UINT D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST = 1; +const UINT D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS = 1; +const UINT D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT = 128; +const UINT D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS = 1; +const UINT D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT = 16; +const UINT D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST = 1; +const UINT D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS = 1; +const UINT D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT = 16; +const UINT D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT = 32; +const UINT D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS = 4; +const UINT D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_COMMONSHADER_TEMP_REGISTER_COUNT = 4096; +const UINT D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST = 3; +const UINT D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS = 3; +const UINT D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX = 10; +const INT D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; +const INT D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; +const UINT D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; + +const UINT D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 256; +const UINT D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP = 64; +const UINT D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 240; +const UINT D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP = 68; +const UINT D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 224; +const UINT D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP = 72; +const UINT D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 208; +const UINT D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP = 76; +const UINT D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 192; +const UINT D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP = 84; +const UINT D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 176; +const UINT D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP = 92; +const UINT D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 160; +const UINT D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP = 100; +const UINT D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 144; +const UINT D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP = 112; +const UINT D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 128; +const UINT D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP = 128; +const UINT D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 112; +const UINT D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP = 144; +const UINT D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 96; +const UINT D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP = 168; +const UINT D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 80; +const UINT D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP = 204; +const UINT D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 64; +const UINT D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP = 256; +const UINT D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 48; +const UINT D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP = 340; +const UINT D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 32; +const UINT D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP = 512; +const UINT D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 16; +const UINT D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP = 768; +const UINT D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION = 1; +const UINT D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT = 256; +const UINT D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP = 768; +const UINT D3D11_CS_4_X_THREAD_GROUP_MAX_X = 768; +const UINT D3D11_CS_4_X_THREAD_GROUP_MAX_Y = 768; +const UINT D3D11_CS_4_X_UAV_REGISTER_COUNT = 1; +const UINT D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION = 65535; +const UINT D3D11_CS_TGSM_REGISTER_COUNT = 8192; +const UINT D3D11_CS_TGSM_REGISTER_READS_PER_INST = 1; +const UINT D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS = 1; +const UINT D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS = 1; +const UINT D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP = 1024; +const UINT D3D11_CS_THREAD_GROUP_MAX_X = 1024; +const UINT D3D11_CS_THREAD_GROUP_MAX_Y = 1024; +const UINT D3D11_CS_THREAD_GROUP_MAX_Z = 64; +const UINT D3D11_CS_THREAD_GROUP_MIN_X = 1; +const UINT D3D11_CS_THREAD_GROUP_MIN_Y = 1; +const UINT D3D11_CS_THREAD_GROUP_MIN_Z = 1; +const UINT D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL = 16384; + +const UINT D3D11_DEFAULT_DEPTH_BIAS = 0; +cpp_quote("#define D3D11_DEFAULT_DEPTH_BIAS_CLAMP 0.0f") +const UINT D3D11_DEFAULT_MAX_ANISOTROPY = 16; +cpp_quote("#define D3D11_DEFAULT_MIP_LOD_BIAS 0.0f") +const UINT D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX = 0; +const UINT D3D11_DEFAULT_SAMPLE_MASK = 0xffffffff; +const UINT D3D11_DEFAULT_SCISSOR_ENDX = 0; +const UINT D3D11_DEFAULT_SCISSOR_ENDY = 0; +const UINT D3D11_DEFAULT_SCISSOR_STARTX = 0; +const UINT D3D11_DEFAULT_SCISSOR_STARTY = 0; +cpp_quote("#define D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS 0.0f") +const UINT D3D11_DEFAULT_STENCIL_READ_MASK = 0xff; +const UINT D3D11_DEFAULT_STENCIL_REFERENCE = 0; +const UINT D3D11_DEFAULT_STENCIL_WRITE_MASK = 0xff; +const UINT D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX = 0; +const UINT D3D11_DEFAULT_VIEWPORT_HEIGHT = 0; +cpp_quote("#define D3D11_DEFAULT_VIEWPORT_MAX_DEPTH 0.0f") +cpp_quote("#define D3D11_DEFAULT_VIEWPORT_MIN_DEPTH 0.0f") +const UINT D3D11_DEFAULT_VIEWPORT_TOPLEFTX = 0; +const UINT D3D11_DEFAULT_VIEWPORT_TOPLEFTY = 0; +const UINT D3D11_DEFAULT_VIEWPORT_WIDTH = 0; + +cpp_quote("#define D3D11_FLOAT32_MAX (3.402823466e+38f)") + +const UINT D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; + +const unsigned int D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT = 8; + +const UINT D3D11_MAX_MAXANISOTROPY = 16; +const UINT D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT = 32; +const UINT D3D11_VIEWPORT_BOUNDS_MAX = 32767; +const INT D3D11_VIEWPORT_BOUNDS_MIN = -32768; +const UINT D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15; +const UINT D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16; + +const UINT D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL = 0xffffffff; +const UINT D3D11_KEEP_UNORDERED_ACCESS_VIEWS = 0xffffffff; + +const UINT D3D11_SHADER_MAJOR_VERSION = 5; +const UINT D3D11_SHADER_MAX_INSTANCES = 65535; +const UINT D3D11_SHADER_MAX_INTERFACES = 253; +const UINT D3D11_SHADER_MAX_INTERFACE_CALL_SITES = 4096; +const UINT D3D11_SHADER_MAX_TYPES = 65535; +const UINT D3D11_SHADER_MINOR_VERSION = 0; +const UINT D3D11_VS_OUTPUT_REGISTER_COUNT = 32; + +const UINT D3D11_OMAC_SIZE = 16; + +const UINT D3D11_PS_CS_UAV_REGISTER_COMPONENTS = 1; +const UINT D3D11_PS_CS_UAV_REGISTER_COUNT = 8; +const UINT D3D11_PS_CS_UAV_REGISTER_READS_PER_INST = 1; +const UINT D3D11_PS_CS_UAV_REGISTER_READ_PORTS = 1; +const UINT D3D11_PS_FRONTFACING_DEFAULT_VALUE = 0xffffffff; +const UINT D3D11_PS_FRONTFACING_FALSE_VALUE = 0; +const UINT D3D11_PS_FRONTFACING_TRUE_VALUE = 0xffffffff; +const UINT D3D11_PS_INPUT_REGISTER_COMPONENTS = 4; +const UINT D3D11_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_PS_INPUT_REGISTER_COUNT = 32; +const UINT D3D11_PS_INPUT_REGISTER_READS_PER_INST = 2; +const UINT D3D11_PS_INPUT_REGISTER_READ_PORTS = 1; +cpp_quote("#define D3D11_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.0f)") +const UINT D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS = 1; +const UINT D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_PS_OUTPUT_DEPTH_REGISTER_COUNT = 1; +const UINT D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENTS = 1; +const UINT D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_PS_OUTPUT_MASK_REGISTER_COUNT = 1; +const UINT D3D11_PS_OUTPUT_REGISTER_COMPONENTS = 4; +const UINT D3D11_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_PS_OUTPUT_REGISTER_COUNT = 8; +cpp_quote("#define D3D11_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.5f)") + +const UINT D3D11_RAW_UAV_SRV_BYTE_ALIGNMENT = 16; + +const UINT D3D11_REQ_BLEND_OBJECT_COUNT_PER_DEVICE = 4096; +const UINT D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP = 27; +const UINT D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; +const UINT D3D11_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE = 4096; +const UINT D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 32; +const UINT D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP = 32; +const UINT D3D11_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION = 16384; +const UINT D3D11_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT = 1024; +const UINT D3D11_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; +const UINT D3D11_REQ_MAXANISOTROPY = 16; +const UINT D3D11_REQ_MIP_LEVELS = 15; +const UINT D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES = 2048; +const UINT D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE = 4096; +const UINT D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH = 16384; +const UINT D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM = 128; +cpp_quote("#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM (0.25f)") +const UINT D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM = 2048; +const UINT D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP = 20; +const UINT D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE = 4096; +const UINT D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION = 2048; +const UINT D3D11_REQ_TEXTURE1D_U_DIMENSION = 16384; +const UINT D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION = 2048; +const UINT D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION = 16384; +const UINT D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 2048; +const UINT D3D11_REQ_TEXTURECUBE_DIMENSION = 16384; + +const UINT D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; + +const UINT D3D11_SHIFT_INSTRUCTION_PAD_VALUE = 0; +const UINT D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT = 5; + +const UINT D3D11_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; +const UINT D3D11_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 512; +const UINT D3D11_SO_BUFFER_SLOT_COUNT = 4; +const UINT D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP = 0xffffffff; +const UINT D3D11_SO_NO_RASTERIZED_STREAM = 0xffffffff; +const UINT D3D11_SO_OUTPUT_COMPONENT_COUNT = 128; +const UINT D3D11_SO_STREAM_COUNT = 4; + +const UINT D3D11_SPEC_DATE_DAY = 16; +const UINT D3D11_SPEC_DATE_MONTH = 05; +const UINT D3D11_SPEC_DATE_YEAR = 2011; + +cpp_quote("#define D3D11_SPEC_VERSION (1.07)") +cpp_quote("#define D3D11_SRGB_GAMMA (2.2f)") +cpp_quote("#define D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 (12.92f)") +cpp_quote("#define D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 (1.055f)") +cpp_quote("#define D3D11_SRGB_TO_FLOAT_EXPONENT (2.4f)") +cpp_quote("#define D3D11_SRGB_TO_FLOAT_OFFSET (0.055f)") +cpp_quote("#define D3D11_SRGB_TO_FLOAT_THRESHOLD (0.04045f)") +cpp_quote("#define D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP (0.5f)") + +const UINT D3D11_STANDARD_COMPONENT_BIT_COUNT = 32; +const UINT D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED = 64; +const UINT D3D11_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE = 4; +const UINT D3D11_STANDARD_PIXEL_COMPONENT_COUNT = 128; +const UINT D3D11_STANDARD_PIXEL_ELEMENT_COUNT = 32; +const UINT D3D11_STANDARD_VECTOR_SIZE = 4; +const UINT D3D11_STANDARD_VERTEX_ELEMENT_COUNT = 32; +const UINT D3D11_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT = 64; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_DEFAULT {};") +cpp_quote("extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT;") +cpp_quote("#endif") + +typedef enum D3D11_BLEND +{ + D3D11_BLEND_ZERO = 1, + D3D11_BLEND_ONE = 2, + D3D11_BLEND_SRC_COLOR = 3, + D3D11_BLEND_INV_SRC_COLOR = 4, + D3D11_BLEND_SRC_ALPHA = 5, + D3D11_BLEND_INV_SRC_ALPHA = 6, + D3D11_BLEND_DEST_ALPHA = 7, + D3D11_BLEND_INV_DEST_ALPHA = 8, + D3D11_BLEND_DEST_COLOR = 9, + D3D11_BLEND_INV_DEST_COLOR = 10, + D3D11_BLEND_SRC_ALPHA_SAT = 11, + D3D11_BLEND_BLEND_FACTOR = 14, + D3D11_BLEND_INV_BLEND_FACTOR = 15, + D3D11_BLEND_SRC1_COLOR = 16, + D3D11_BLEND_INV_SRC1_COLOR = 17, + D3D11_BLEND_SRC1_ALPHA = 18, + D3D11_BLEND_INV_SRC1_ALPHA = 19, +} D3D11_BLEND; + +typedef enum D3D11_BLEND_OP +{ + D3D11_BLEND_OP_ADD = 1, + D3D11_BLEND_OP_SUBTRACT, + D3D11_BLEND_OP_REV_SUBTRACT, + D3D11_BLEND_OP_MIN, + D3D11_BLEND_OP_MAX +} D3D11_BLEND_OP; + +typedef enum D3D11_VIDEO_DECODER_BUFFER_TYPE +{ + D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS = 0, + D3D11_VIDEO_DECODER_BUFFER_MACROBLOCK_CONTROL = 1, + D3D11_VIDEO_DECODER_BUFFER_RESIDUAL_DIFFERENCE = 2, + D3D11_VIDEO_DECODER_BUFFER_DEBLOCKING_CONTROL = 3, + D3D11_VIDEO_DECODER_BUFFER_INVERSE_QUANTIZATION_MATRIX = 4, + D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL = 5, + D3D11_VIDEO_DECODER_BUFFER_BITSTREAM = 6, + D3D11_VIDEO_DECODER_BUFFER_MOTION_VECTOR = 7, + D3D11_VIDEO_DECODER_BUFFER_FILM_GRAIN = 8, +} D3D11_VIDEO_DECODER_BUFFER_TYPE; + +typedef enum D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE +{ + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE = 0, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND = 1, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION = 2, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM = 3, +} D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE; + +typedef enum D3D11_VIDEO_PROCESSOR_OUTPUT_RATE +{ + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL = 0, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_HALF = 1, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM = 2, +} D3D11_VIDEO_PROCESSOR_OUTPUT_RATE; + +typedef enum D3D11_VIDEO_PROCESSOR_STEREO_FORMAT +{ + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO = 0, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_HORIZONTAL = 1, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_VERTICAL = 2, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE = 3, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET = 4, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_ROW_INTERLEAVED = 5, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_COLUMN_INTERLEAVED = 6, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_CHECKERBOARD = 7, +} D3D11_VIDEO_PROCESSOR_STEREO_FORMAT; + +typedef enum D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE +{ + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_NONE = 0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME0 = 1, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME1 = 2, +} D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE; + +typedef enum D3D11_VIDEO_PROCESSOR_ROTATION +{ + D3D11_VIDEO_PROCESSOR_ROTATION_IDENTITY = 0, + D3D11_VIDEO_PROCESSOR_ROTATION_90 = 1, + D3D11_VIDEO_PROCESSOR_ROTATION_180 = 2, + D3D11_VIDEO_PROCESSOR_ROTATION_270 = 3, +} D3D11_VIDEO_PROCESSOR_ROTATION; + +typedef enum D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS +{ + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND = 0x01, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB = 0x02, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE = 0x04, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION = 0x08, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE = 0x10, + D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION = 0x20, +} D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS; + +typedef enum D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS +{ + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32 = 0x00000001, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_22 = 0x00000002, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2224 = 0x00000004, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2332 = 0x00000008, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32322 = 0x00000010, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_55 = 0x00000020, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_64 = 0x00000040, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_87 = 0x00000080, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223 = 0x00000100, + D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER = 0x80000000, +} D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS; + +typedef enum D3D11_CONTENT_PROTECTION_CAPS +{ + D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE = 0x00000001, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE = 0x00000002, + D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON = 0x00000004, + D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION = 0x00000008, + D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY = 0x00000010, + D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY = 0x00000020, + D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK = 0x00000040, + D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY = 0x00000080, + D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV = 0x00000100, + D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY = 0x00000200, + D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT = 0x00000400, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECT_UNCOMPRESSED = 0x00000800, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE = 0x00001000, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN = 0x00002000, + D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION = 0x00004000, +} D3D11_CONTENT_PROTECTION_CAPS; + +typedef enum D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE +{ + D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_UNDEFINED = 0x00000000, + D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_16_235 = 0x00000001, + D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_0_255 = 0x00000002, +} D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE; + +typedef enum D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE +{ + D3D11_PROCESSIDTYPE_UNKNOWN = 0x00000000, + D3D11_PROCESSIDTYPE_DWM = 0x00000001, + D3D11_PROCESSIDTYPE_HANDLE = 0x00000002, +} D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE; + +typedef enum D3D11_BUS_TYPE +{ + D3D11_BUS_TYPE_OTHER = 0x00000000, + D3D11_BUS_TYPE_PCI = 0x00000001, + D3D11_BUS_TYPE_PCIX = 0x00000002, + D3D11_BUS_TYPE_PCIEXPRESS = 0x00000003, + D3D11_BUS_TYPE_AGP = 0x00000004, + D3D11_BUS_IMPL_MODIFIER_INSIDE_OF_CHIPSET = 0x00010000, + D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP = 0x00020000, + D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET = 0x00030000, + D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR = 0x00040000, + D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE = 0x00050000, + D3D11_BUS_IMPL_MODIFIER_NON_STANDARD = 0x80000000, +} D3D11_BUS_TYPE; + +typedef struct D3D11_BOX +{ + UINT left; + UINT top; + UINT front; + UINT right; + UINT bottom; + UINT back; +} D3D11_BOX; + +typedef struct D3D11_BUFFER_RTV +{ + union + { + UINT FirstElement; + UINT ElementOffset; + }; + union + { + UINT NumElements; + UINT ElementWidth; + }; +} D3D11_BUFFER_RTV; + +typedef struct D3D11_BUFFER_SRV +{ + union + { + UINT FirstElement; + UINT ElementOffset; + }; + union + { + UINT NumElements; + UINT ElementWidth; + }; +} D3D11_BUFFER_SRV; + +typedef struct D3D11_BUFFER_UAV +{ + UINT FirstElement; + UINT NumElements; + UINT Flags; +} D3D11_BUFFER_UAV; + +typedef struct D3D11_BUFFEREX_SRV +{ + UINT FirstElement; + UINT NumElements; + UINT Flags; +} D3D11_BUFFEREX_SRV; + +typedef struct D3D11_CLASS_INSTANCE_DESC +{ + UINT InstanceId; + UINT InstanceIndex; + UINT TypeId; + UINT ConstantBuffer; + UINT BaseConstantBufferOffset; + UINT BaseTexture; + UINT BaseSampler; + BOOL Created; +} D3D11_CLASS_INSTANCE_DESC; + +typedef enum D3D11_COMPARISON_FUNC +{ + D3D11_COMPARISON_NEVER = 1, + D3D11_COMPARISON_LESS, + D3D11_COMPARISON_EQUAL, + D3D11_COMPARISON_LESS_EQUAL, + D3D11_COMPARISON_GREATER, + D3D11_COMPARISON_NOT_EQUAL, + D3D11_COMPARISON_GREATER_EQUAL, + D3D11_COMPARISON_ALWAYS +} D3D11_COMPARISON_FUNC; + +typedef enum D3D11_COUNTER +{ + D3D11_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000, +} D3D11_COUNTER; + +typedef struct D3D11_COUNTER_DESC +{ + D3D11_COUNTER Counter; + UINT MiscFlags; +} D3D11_COUNTER_DESC; + +typedef struct D3D11_COUNTER_INFO +{ + D3D11_COUNTER LastDeviceDependentCounter; + UINT NumSimultaneousCounters; + UINT8 NumDetectableParallelUnits; +} D3D11_COUNTER_INFO; + +typedef enum D3D11_COUNTER_TYPE +{ + D3D11_COUNTER_TYPE_FLOAT32, + D3D11_COUNTER_TYPE_UINT16, + D3D11_COUNTER_TYPE_UINT32, + D3D11_COUNTER_TYPE_UINT64, +} D3D11_COUNTER_TYPE; + +typedef enum D3D11_CULL_MODE +{ + D3D11_CULL_NONE = 1, + D3D11_CULL_FRONT, + D3D11_CULL_BACK +} D3D11_CULL_MODE; + +typedef enum D3D11_DEPTH_WRITE_MASK +{ + D3D11_DEPTH_WRITE_MASK_ZERO, + D3D11_DEPTH_WRITE_MASK_ALL, +} D3D11_DEPTH_WRITE_MASK; + +typedef enum D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS +{ + D3D11_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff, + D3D11_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe, +} D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS; + +typedef enum D3D11_DEVICE_CONTEXT_TYPE +{ + D3D11_DEVICE_CONTEXT_IMMEDIATE, + D3D11_DEVICE_CONTEXT_DEFERRED, +} D3D11_DEVICE_CONTEXT_TYPE; + +typedef enum D3D11_DSV_DIMENSION +{ + D3D11_DSV_DIMENSION_UNKNOWN, + D3D11_DSV_DIMENSION_TEXTURE1D, + D3D11_DSV_DIMENSION_TEXTURE1DARRAY, + D3D11_DSV_DIMENSION_TEXTURE2D, + D3D11_DSV_DIMENSION_TEXTURE2DARRAY, + D3D11_DSV_DIMENSION_TEXTURE2DMS, + D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY, +} D3D11_DSV_DIMENSION; + +typedef enum D3D11_FEATURE +{ + D3D11_FEATURE_THREADING, + D3D11_FEATURE_DOUBLES, + D3D11_FEATURE_FORMAT_SUPPORT, + D3D11_FEATURE_FORMAT_SUPPORT2, + D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS, + D3D11_FEATURE_D3D11_OPTIONS, + D3D11_FEATURE_ARCHITECTURE_INFO, + D3D11_FEATURE_D3D9_OPTIONS, + D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT, + D3D11_FEATURE_D3D9_SHADOW_SUPPORT, + D3D11_FEATURE_D3D11_OPTIONS1, + D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT, + D3D11_FEATURE_MARKER_SUPPORT, + D3D11_FEATURE_D3D9_OPTIONS1, + D3D11_FEATURE_D3D11_OPTIONS2, + D3D11_FEATURE_D3D11_OPTIONS3, + D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT, + D3D11_FEATURE_D3D11_OPTIONS4, + D3D11_FEATURE_SHADER_CACHE, +} D3D11_FEATURE; + +typedef struct D3D11_FEATURE_DATA_THREADING +{ + BOOL DriverConcurrentCreates; + BOOL DriverCommandLists; +} D3D11_FEATURE_DATA_THREADING; + +typedef struct D3D11_FEATURE_DATA_DOUBLES +{ + BOOL DoublePrecisionFloatShaderOps; +} D3D11_FEATURE_DATA_DOUBLES; + +typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT +{ + DXGI_FORMAT InFormat; + UINT OutFormatSupport; +} D3D11_FEATURE_DATA_FORMAT_SUPPORT; + +typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 +{ + DXGI_FORMAT InFormat; + UINT OutFormatSupport2; +} D3D11_FEATURE_DATA_FORMAT_SUPPORT2; + +typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS +{ + BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; +} D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS; + +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS +{ + BOOL OutputMergerLogicOp; + BOOL UAVOnlyRenderingForcedSampleCount; + BOOL DiscardAPIsSeenByDriver; + BOOL FlagsForUpdateAndCopySeenByDriver; + BOOL ClearView; + BOOL CopyWithOverlap; + BOOL ConstantBufferPartialUpdate; + BOOL ConstantBufferOffsetting; + BOOL MapNoOverwriteOnDynamicConstantBuffer; + BOOL MapNoOverwriteOnDynamicBufferSRV; + BOOL MultisampleRTVWithForcedSampleCountOne; + BOOL SAD4ShaderInstructions; + BOOL ExtendedDoublesShaderInstructions; + BOOL ExtendedResourceSharing; +} D3D11_FEATURE_DATA_D3D11_OPTIONS; + +typedef struct D3D11_FEATURE_DATA_ARCHITECTURE_INFO +{ + BOOL TileBasedDeferredRenderer; +} D3D11_FEATURE_DATA_ARCHITECTURE_INFO; + +typedef struct D3D11_FEATURE_DATA_D3D9_OPTIONS +{ + BOOL FullNonPow2TextureSupport; +} D3D11_FEATURE_DATA_D3D9_OPTIONS; + +typedef struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT +{ + BOOL SupportsDepthAsTextureWithLessEqualComparisonFilter; +} D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT; + +typedef enum D3D11_SHADER_MIN_PRECISION_SUPPORT +{ + D3D11_SHADER_MIN_PRECISION_10_BIT = 0x1, + D3D11_SHADER_MIN_PRECISION_16_BIT = 0x2, +} D3D11_SHADER_MIN_PRECISION_SUPPORT; + +typedef struct D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT +{ + UINT PixelShaderMinPrecision; + UINT AllOtherShaderStagesMinPrecision; +} D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT; + +typedef enum D3D11_TILED_RESOURCES_TIER +{ + D3D11_TILED_RESOURCES_NOT_SUPPORTED = 0x0, + D3D11_TILED_RESOURCES_TIER_1 = 0x1, + D3D11_TILED_RESOURCES_TIER_2 = 0x2, + D3D11_TILED_RESOURCES_TIER_3 = 0x3, +} D3D11_TILED_RESOURCES_TIER; + +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS1 +{ + D3D11_TILED_RESOURCES_TIER TiledResourcesTier; + BOOL MinMaxFiltering; + BOOL ClearViewAlsoSupportsDepthOnlyFormats; + BOOL MapOnDefaultBuffers; +} D3D11_FEATURE_DATA_D3D11_OPTIONS1; + +typedef struct D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT +{ + BOOL SimpleInstancingSupported; +} D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT; + +typedef struct D3D11_FEATURE_DATA_MARKER_SUPPORT +{ + BOOL Profile; +} D3D11_FEATURE_DATA_MARKER_SUPPORT; + +typedef struct D3D11_FEATURE_DATA_D3D9_OPTIONS1 +{ + BOOL FullNonPow2TextureSupported; + BOOL DepthAsTextureWithLessEqualComparisonFilterSupported; + BOOL SimpleInstancingSupported; + BOOL TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported; +} D3D11_FEATURE_DATA_D3D9_OPTIONS1; + +typedef enum D3D11_CONSERVATIVE_RASTERIZATION_TIER +{ + D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED = 0x0, + D3D11_CONSERVATIVE_RASTERIZATION_TIER_1 = 0x1, + D3D11_CONSERVATIVE_RASTERIZATION_TIER_2 = 0x2, + D3D11_CONSERVATIVE_RASTERIZATION_TIER_3 = 0x3, +} D3D11_CONSERVATIVE_RASTERIZATION_TIER; + +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS2 +{ + BOOL PSSpecifiedStencilRefSupported; + BOOL TypedUAVLoadAdditionalFormats; + BOOL ROVsSupported; + D3D11_CONSERVATIVE_RASTERIZATION_TIER ConservativeRasterizationTier; + D3D11_TILED_RESOURCES_TIER TiledResourcesTier; + BOOL MapOnDefaultTextures; + BOOL StandardSwizzle; + BOOL UnifiedMemoryArchitecture; +} D3D11_FEATURE_DATA_D3D11_OPTIONS2; + +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS3 +{ + BOOL VPAndRTArrayIndexFromAnyShaderFeedingRasterizer; +} D3D11_FEATURE_DATA_D3D11_OPTIONS3; + +typedef struct D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT +{ + UINT MaxGPUVirtualAddressBitsPerResource; + UINT MaxGPUVirtualAddressBitsPerProcess; +} D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT; + +typedef enum D3D11_SHADER_CACHE_SUPPORT_FLAGS +{ + D3D11_SHADER_CACHE_SUPPORT_NONE = 0x0, + D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE = 0x1, + D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE = 0x2, +} D3D11_SHADER_CACHE_SUPPORT_FLAGS; + +typedef struct D3D11_FEATURE_DATA_SHADER_CACHE +{ + UINT SupportFlags; +} D3D11_FEATURE_DATA_SHADER_CACHE; + +typedef enum D3D11_FILL_MODE +{ + D3D11_FILL_WIREFRAME = 2, + D3D11_FILL_SOLID +} D3D11_FILL_MODE; + +typedef enum D3D11_FILTER_TYPE +{ + D3D11_FILTER_TYPE_POINT = 0, + D3D11_FILTER_TYPE_LINEAR = 1 +} D3D11_FILTER_TYPE; + +const UINT D3D11_MIN_FILTER_SHIFT = 4; +const UINT D3D11_MAG_FILTER_SHIFT = 2; +const UINT D3D11_MIP_FILTER_SHIFT = 0; +const UINT D3D11_FILTER_TYPE_MASK = 0x00000003; +const UINT D3D11_COMPARISON_FILTERING_BIT = 0x00000080; +const UINT D3D11_ANISOTROPIC_FILTERING_BIT = 0x00000040; + +cpp_quote("#define D3D11_ENCODE_BASIC_FILTER(min, mag, mip, bComparison) \\") +cpp_quote(" ((D3D11_FILTER)(((bComparison) ? D3D11_COMPARISON_FILTERING_BIT : 0 ) | \\") +cpp_quote(" (((min)&D3D11_FILTER_TYPE_MASK) << D3D11_MIN_FILTER_SHIFT) | \\") +cpp_quote(" (((mag)&D3D11_FILTER_TYPE_MASK) << D3D11_MAG_FILTER_SHIFT) | \\") +cpp_quote(" (((mip)&D3D11_FILTER_TYPE_MASK) << D3D11_MIP_FILTER_SHIFT)))") + +cpp_quote("#define D3D11_ENCODE_ANISOTROPIC_FILTER(bComparison) \\") +cpp_quote(" ((D3D11_FILTER)(D3D11_ANISOTROPIC_FILTERING_BIT | \\" ) +cpp_quote(" D3D11_ENCODE_BASIC_FILTER(D3D11_FILTER_TYPE_LINEAR,D3D11_FILTER_TYPE_LINEAR, \\" ) +cpp_quote(" D3D11_FILTER_TYPE_LINEAR,bComparison)))" ) + +cpp_quote("#define D3D11_DECODE_MIN_FILTER(d3d11Filter) \\") +cpp_quote(" ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIN_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK))") + +cpp_quote("#define D3D11_DECODE_MAG_FILTER(d3d11Filter) \\") +cpp_quote(" ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MAG_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK))") + +cpp_quote("#define D3D11_DECODE_MIP_FILTER(d3d11Filter) \\") +cpp_quote(" ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIP_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK))") + +cpp_quote("#define D3D11_DECODE_IS_COMPARISON_FILTER(d3d11Filter) ((d3d11Filter) & D3D11_COMPARISON_FILTERING_BIT)") + +cpp_quote("#define D3D11_DECODE_IS_ANISOTROPIC_FILTER(d3d11Filter) \\") +cpp_quote(" (((d3d11Filter) & D3D11_ANISOTROPIC_FILTERING_BIT ) \\" ) +cpp_quote(" && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTER(d3d11Filter)) \\" ) +cpp_quote(" && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MAG_FILTER(d3d11Filter)) \\" ) +cpp_quote(" && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIP_FILTER(d3d11Filter)))") + +typedef enum D3D11_FILTER +{ + D3D11_FILTER_MIN_MAG_MIP_POINT = 0x00, + D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x01, + D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x04, + D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x05, + D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10, + D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11, + D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14, + D3D11_FILTER_MIN_MAG_MIP_LINEAR = 0x15, + D3D11_FILTER_ANISOTROPIC = 0x55, + D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80, + D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81, + D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84, + D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85, + D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90, + D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91, + D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94, + D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95, + D3D11_FILTER_COMPARISON_ANISOTROPIC = 0xd5 +} D3D11_FILTER; + +typedef enum D3D11_DSV_FLAG +{ + D3D11_DSV_READ_ONLY_DEPTH = 0x1, + D3D11_DSV_READ_ONLY_STENCIL = 0x2, +} D3D11_DSV_FLAG; + +typedef enum D3D11_BUFFEREX_SRV_FLAG +{ + D3D11_BUFFEREX_SRV_FLAG_RAW = 0x1, +} D3D11_BUFFEREX_SRV_FLAG; + +typedef enum D3D11_UAV_FLAG +{ + D3D11_BUFFER_UAV_FLAG_RAW = 0x1, + D3D11_BUFFER_UAV_FLAG_APPEND = 0x2, + D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4, +} D3D11_UAV_FLAG; + +typedef enum D3D11_INPUT_CLASSIFICATION +{ + D3D11_INPUT_PER_VERTEX_DATA, + D3D11_INPUT_PER_INSTANCE_DATA, +} D3D11_INPUT_CLASSIFICATION; + +const UINT D3D11_APPEND_ALIGNED_ELEMENT = 0xffffffff; + +typedef struct D3D11_INPUT_ELEMENT_DESC +{ + LPCSTR SemanticName; + UINT SemanticIndex; + DXGI_FORMAT Format; + UINT InputSlot; + UINT AlignedByteOffset; + D3D11_INPUT_CLASSIFICATION InputSlotClass; + UINT InstanceDataStepRate; +} D3D11_INPUT_ELEMENT_DESC; + +typedef enum D3D11_MAP +{ + D3D11_MAP_READ = 1, + D3D11_MAP_WRITE, + D3D11_MAP_READ_WRITE, + D3D11_MAP_WRITE_DISCARD, + D3D11_MAP_WRITE_NO_OVERWRITE +} D3D11_MAP; + +typedef enum D3D11_MAP_FLAG +{ + D3D11_MAP_FLAG_DO_NOT_WAIT = 0x00100000 +} D3D11_MAP_FLAG; + +typedef struct D3D11_QUERY_DATA_SO_STATISTICS +{ + UINT64 NumPrimitivesWritten; + UINT64 PrimitivesStorageNeeded; +} D3D11_QUERY_DATA_SO_STATISTICS; + +typedef struct D3D11_MAPPED_SUBRESOURCE +{ + void *pData; + UINT RowPitch; + UINT DepthPitch; +} D3D11_MAPPED_SUBRESOURCE; + +typedef enum D3D11_QUERY +{ + D3D11_QUERY_EVENT, + D3D11_QUERY_OCCLUSION, + D3D11_QUERY_TIMESTAMP, + D3D11_QUERY_TIMESTAMP_DISJOINT, + D3D11_QUERY_PIPELINE_STATISTICS, + D3D11_QUERY_OCCLUSION_PREDICATE, + D3D11_QUERY_SO_STATISTICS, + D3D11_QUERY_SO_OVERFLOW_PREDICATE, + D3D11_QUERY_SO_STATISTICS_STREAM0, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0, + D3D11_QUERY_SO_STATISTICS_STREAM1, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1, + D3D11_QUERY_SO_STATISTICS_STREAM2, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2, + D3D11_QUERY_SO_STATISTICS_STREAM3, + D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3, +} D3D11_QUERY; + +typedef enum D3D11_QUERY_MISC_FLAG +{ + D3D11_QUERY_MISC_PREDICATEHINT = 0x1, +} D3D11_QUERY_MISC_FLAG; + +typedef enum D3D11_ASYNC_GETDATA_FLAG +{ + D3D11_ASYNC_GETDATA_DONOTFLUSH = 0x0001, +} D3D11_ASYNC_GETDATA_FLAG; + +typedef enum D3D11_RESOURCE_MISC_FLAG +{ + D3D11_RESOURCE_MISC_GENERATE_MIPS = 0x00000001L, + D3D11_RESOURCE_MISC_SHARED = 0x00000002L, + D3D11_RESOURCE_MISC_TEXTURECUBE = 0x00000004L, + D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS = 0x00000010L, + D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS = 0x00000020L, + D3D11_RESOURCE_MISC_BUFFER_STRUCTURED = 0x00000040L, + D3D11_RESOURCE_MISC_RESOURCE_CLAMP = 0x00000080L, + D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x00000100L, + D3D11_RESOURCE_MISC_GDI_COMPATIBLE = 0x00000200L, + D3D11_RESOURCE_MISC_SHARED_NTHANDLE = 0x00000800L, + D3D11_RESOURCE_MISC_RESTRICTED_CONTENT = 0x00001000L, + D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE = 0x00002000L, + D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER = 0x00004000L, + D3D11_RESOURCE_MISC_GUARDED = 0x00008000L +} D3D11_RESOURCE_MISC_FLAG; + +typedef struct D3D11_QUERY_DESC +{ + D3D11_QUERY Query; + UINT MiscFlags; +} D3D11_QUERY_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC {") +cpp_quote(" CD3D11_QUERY_DESC() {}") +cpp_quote(" ~CD3D11_QUERY_DESC() {}") +cpp_quote(" explicit CD3D11_QUERY_DESC(const D3D11_QUERY_DESC &other) : D3D11_QUERY_DESC(other) {}") +cpp_quote(" explicit CD3D11_QUERY_DESC(D3D11_QUERY query, UINT misc_flags = 0) {") +cpp_quote(" Query = query;") +cpp_quote(" MiscFlags = misc_flags;") +cpp_quote(" }") +cpp_quote(" operator const D3D11_QUERY_DESC&() const {") +cpp_quote(" return *this;") +cpp_quote(" }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D11_RASTERIZER_DESC +{ + D3D11_FILL_MODE FillMode; + D3D11_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + INT DepthBias; + FLOAT DepthBiasClamp; + FLOAT SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; +} D3D11_RASTERIZER_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC {") +cpp_quote(" CD3D11_RASTERIZER_DESC() {}") +cpp_quote(" explicit CD3D11_RASTERIZER_DESC(const D3D11_RASTERIZER_DESC &o) : D3D11_RASTERIZER_DESC(o) {}") +cpp_quote(" explicit CD3D11_RASTERIZER_DESC(CD3D11_DEFAULT) {") +cpp_quote(" FillMode = D3D11_FILL_SOLID;") +cpp_quote(" CullMode = D3D11_CULL_BACK;") +cpp_quote(" FrontCounterClockwise = FALSE;") +cpp_quote(" DepthBias = D3D11_DEFAULT_DEPTH_BIAS;") +cpp_quote(" DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP;") +cpp_quote(" SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;") +cpp_quote(" DepthClipEnable = TRUE;") +cpp_quote(" ScissorEnable = FALSE;") +cpp_quote(" MultisampleEnable = FALSE;") +cpp_quote(" AntialiasedLineEnable = FALSE;") +cpp_quote(" }") +cpp_quote(" explicit CD3D11_RASTERIZER_DESC(D3D11_FILL_MODE fillMode, D3D11_CULL_MODE cullMode," ) +cpp_quote(" BOOL frontCounterClockwise, INT depthBias, FLOAT depthBiasClamp, FLOAT slopeScaledDepthBias,") +cpp_quote(" BOOL depthClipEnable, BOOL scissorEnable, BOOL multisampleEnable, BOOL antialiasedLineEnable) {") +cpp_quote(" FillMode = fillMode;") +cpp_quote(" CullMode = cullMode;") +cpp_quote(" FrontCounterClockwise = frontCounterClockwise;") +cpp_quote(" DepthBias = depthBias;") +cpp_quote(" DepthBiasClamp = depthBiasClamp;") +cpp_quote(" SlopeScaledDepthBias = slopeScaledDepthBias;") +cpp_quote(" DepthClipEnable = depthClipEnable;") +cpp_quote(" ScissorEnable = scissorEnable;") +cpp_quote(" MultisampleEnable = multisampleEnable;") +cpp_quote(" AntialiasedLineEnable = antialiasedLineEnable;") +cpp_quote(" }") +cpp_quote(" ~CD3D11_RASTERIZER_DESC() {}") +cpp_quote(" operator const D3D11_RASTERIZER_DESC&() const { return *this; }") +cpp_quote("};") +cpp_quote("#endif") + +typedef enum D3D11_RESOURCE_DIMENSION +{ + D3D11_RESOURCE_DIMENSION_UNKNOWN, + D3D11_RESOURCE_DIMENSION_BUFFER, + D3D11_RESOURCE_DIMENSION_TEXTURE1D, + D3D11_RESOURCE_DIMENSION_TEXTURE2D, + D3D11_RESOURCE_DIMENSION_TEXTURE3D, +} D3D11_RESOURCE_DIMENSION; + +typedef enum D3D11_RTV_DIMENSION +{ + D3D11_RTV_DIMENSION_UNKNOWN, + D3D11_RTV_DIMENSION_BUFFER, + D3D11_RTV_DIMENSION_TEXTURE1D, + D3D11_RTV_DIMENSION_TEXTURE1DARRAY, + D3D11_RTV_DIMENSION_TEXTURE2D, + D3D11_RTV_DIMENSION_TEXTURE2DARRAY, + D3D11_RTV_DIMENSION_TEXTURE2DMS, + D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY, + D3D11_RTV_DIMENSION_TEXTURE3D, +} D3D11_RTV_DIMENSION; + +typedef struct D3D11_SO_DECLARATION_ENTRY +{ + UINT Stream; + LPCSTR SemanticName; + UINT SemanticIndex; + BYTE StartComponent; + BYTE ComponentCount; + BYTE OutputSlot; +} D3D11_SO_DECLARATION_ENTRY; + +typedef enum D3D11_STENCIL_OP +{ + D3D11_STENCIL_OP_KEEP = 1, + D3D11_STENCIL_OP_ZERO, + D3D11_STENCIL_OP_REPLACE, + D3D11_STENCIL_OP_INCR_SAT, + D3D11_STENCIL_OP_DECR_SAT, + D3D11_STENCIL_OP_INVERT, + D3D11_STENCIL_OP_INCR, + D3D11_STENCIL_OP_DECR +} D3D11_STENCIL_OP; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("}") +cpp_quote("inline UINT D3D11CalcSubresource(UINT MipSlice, UINT ArraySlice, UINT MipLevels) {") +cpp_quote(" return MipSlice + ArraySlice * MipLevels;") +cpp_quote("}") +cpp_quote("extern \"C\"{") +cpp_quote("#endif") + +typedef struct D3D11_SUBRESOURCE_DATA +{ + const void *pSysMem; + UINT SysMemPitch; + UINT SysMemSlicePitch; +} D3D11_SUBRESOURCE_DATA; + +typedef struct D3D11_TEX1D_ARRAY_DSV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_DSV; + +typedef struct D3D11_TEX1D_ARRAY_RTV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_RTV; + +typedef struct D3D11_TEX1D_ARRAY_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_SRV; + +typedef struct D3D11_TEX1D_ARRAY_UAV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX1D_ARRAY_UAV; + +typedef struct D3D11_TEX1D_DSV +{ + UINT MipSlice; +} D3D11_TEX1D_DSV; + +typedef struct D3D11_TEX1D_RTV +{ + UINT MipSlice; +} D3D11_TEX1D_RTV; + +typedef struct D3D11_TEX1D_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; + } D3D11_TEX1D_SRV; + +typedef struct D3D11_TEX1D_UAV +{ + UINT MipSlice; +} D3D11_TEX1D_UAV; + +typedef struct D3D11_TEX2D_ARRAY_DSV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_DSV; + +typedef struct D3D11_TEX2D_ARRAY_RTV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_RTV; + +typedef struct D3D11_TEX2D_ARRAY_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_SRV; + +typedef struct D3D11_TEX2D_ARRAY_UAV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_UAV; + +typedef struct D3D11_TEX2D_DSV +{ + UINT MipSlice; +} D3D11_TEX2D_DSV; + +typedef struct D3D11_TEX2D_RTV +{ + UINT MipSlice; +} D3D11_TEX2D_RTV; + +typedef struct D3D11_TEX2D_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEX2D_SRV; + +typedef struct D3D11_TEX2D_UAV +{ + UINT MipSlice; +} D3D11_TEX2D_UAV; + +typedef struct D3D11_TEX2DMS_ARRAY_DSV +{ + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2DMS_ARRAY_DSV; + +typedef struct D3D11_TEX2DMS_ARRAY_RTV +{ + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2DMS_ARRAY_RTV; + +typedef struct D3D11_TEX2DMS_ARRAY_SRV +{ + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2DMS_ARRAY_SRV; + +typedef struct D3D11_TEX2DMS_DSV +{ + UINT UnusedField_NothingToDefine; +} D3D11_TEX2DMS_DSV; + +typedef struct D3D11_TEX2DMS_RTV +{ + UINT UnusedField_NothingToDefine; +} D3D11_TEX2DMS_RTV; + +typedef struct D3D11_TEX2DMS_SRV +{ + UINT UnusedField_NothingToDefine; +} D3D11_TEX2DMS_SRV; + +typedef struct D3D11_TEX3D_RTV +{ + UINT MipSlice; + UINT FirstWSlice; + UINT WSize; +} D3D11_TEX3D_RTV; + +typedef struct D3D11_TEX3D_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEX3D_SRV; + +typedef struct D3D11_TEX3D_UAV +{ + UINT MipSlice; + UINT FirstWSlice; + UINT WSize; +} D3D11_TEX3D_UAV; + +typedef struct D3D11_TEXCUBE_ARRAY_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; + UINT First2DArrayFace; + UINT NumCubes; +} D3D11_TEXCUBE_ARRAY_SRV; + +typedef struct D3D11_TEXCUBE_SRV +{ + UINT MostDetailedMip; + UINT MipLevels; +} D3D11_TEXCUBE_SRV; + +typedef enum D3D11_TEXTURE_ADDRESS_MODE +{ + D3D11_TEXTURE_ADDRESS_WRAP = 1, + D3D11_TEXTURE_ADDRESS_MIRROR, + D3D11_TEXTURE_ADDRESS_CLAMP, + D3D11_TEXTURE_ADDRESS_BORDER, + D3D11_TEXTURE_ADDRESS_MIRROR_ONCE +} D3D11_TEXTURE_ADDRESS_MODE; + +typedef enum D3D11_UAV_DIMENSION +{ + D3D11_UAV_DIMENSION_UNKNOWN, + D3D11_UAV_DIMENSION_BUFFER, + D3D11_UAV_DIMENSION_TEXTURE1D, + D3D11_UAV_DIMENSION_TEXTURE1DARRAY, + D3D11_UAV_DIMENSION_TEXTURE2D, + D3D11_UAV_DIMENSION_TEXTURE2DARRAY, + D3D11_UAV_DIMENSION_TEXTURE3D = 8, +} D3D11_UAV_DIMENSION; + +typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC +{ + DXGI_FORMAT Format; + D3D11_UAV_DIMENSION ViewDimension; + + union + { + D3D11_BUFFER_UAV Buffer; + D3D11_TEX1D_UAV Texture1D; + D3D11_TEX1D_ARRAY_UAV Texture1DArray; + D3D11_TEX2D_UAV Texture2D; + D3D11_TEX2D_ARRAY_UAV Texture2DArray; + D3D11_TEX3D_UAV Texture3D; + }; +} D3D11_UNORDERED_ACCESS_VIEW_DESC; + +typedef enum D3D11_USAGE +{ + D3D11_USAGE_DEFAULT, + D3D11_USAGE_IMMUTABLE, + D3D11_USAGE_DYNAMIC, + D3D11_USAGE_STAGING, +} D3D11_USAGE; + +typedef enum D3D11_BIND_FLAG +{ + D3D11_BIND_VERTEX_BUFFER = 0x0001, + D3D11_BIND_INDEX_BUFFER = 0x0002, + D3D11_BIND_CONSTANT_BUFFER = 0x0004, + D3D11_BIND_SHADER_RESOURCE = 0x0008, + D3D11_BIND_STREAM_OUTPUT = 0x0010, + D3D11_BIND_RENDER_TARGET = 0x0020, + D3D11_BIND_DEPTH_STENCIL = 0x0040, + D3D11_BIND_UNORDERED_ACCESS = 0x0080, + D3D11_BIND_DECODER = 0x0200, + D3D11_BIND_VIDEO_ENCODER = 0x0400 +} D3D11_BIND_FLAG; + +typedef enum D3D11_CPU_ACCESS_FLAG +{ + D3D11_CPU_ACCESS_WRITE = 0x00010000, + D3D11_CPU_ACCESS_READ = 0x00020000 +} D3D11_CPU_ACCESS_FLAG; + +typedef struct D3D11_VIEWPORT +{ + FLOAT TopLeftX; + FLOAT TopLeftY; + FLOAT Width; + FLOAT Height; + FLOAT MinDepth; + FLOAT MaxDepth; +} D3D11_VIEWPORT; + +typedef enum D3D11_COLOR_WRITE_ENABLE +{ + D3D11_COLOR_WRITE_ENABLE_RED = 1, + D3D11_COLOR_WRITE_ENABLE_GREEN = 2, + D3D11_COLOR_WRITE_ENABLE_BLUE = 4, + D3D11_COLOR_WRITE_ENABLE_ALPHA = 8, + D3D11_COLOR_WRITE_ENABLE_ALL = + (D3D11_COLOR_WRITE_ENABLE_RED|D3D11_COLOR_WRITE_ENABLE_GREEN|D3D11_COLOR_WRITE_ENABLE_BLUE|D3D11_COLOR_WRITE_ENABLE_ALPHA) +} D3D11_COLOR_WRITE_ENABLE; + +typedef enum D3D11_FORMAT_SUPPORT +{ + D3D11_FORMAT_SUPPORT_BUFFER = 0x00000001, + D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x00000002, + D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x00000004, + D3D11_FORMAT_SUPPORT_SO_BUFFER = 0x00000008, + D3D11_FORMAT_SUPPORT_TEXTURE1D = 0x00000010, + D3D11_FORMAT_SUPPORT_TEXTURE2D = 0x00000020, + D3D11_FORMAT_SUPPORT_TEXTURE3D = 0x00000040, + D3D11_FORMAT_SUPPORT_TEXTURECUBE = 0x00000080, + D3D11_FORMAT_SUPPORT_SHADER_LOAD = 0x00000100, + D3D11_FORMAT_SUPPORT_SHADER_SAMPLE = 0x00000200, + D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x00000400, + D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x00000800, + D3D11_FORMAT_SUPPORT_MIP = 0x00001000, + D3D11_FORMAT_SUPPORT_MIP_AUTOGEN = 0x00002000, + D3D11_FORMAT_SUPPORT_RENDER_TARGET = 0x00004000, + D3D11_FORMAT_SUPPORT_BLENDABLE = 0x00008000, + D3D11_FORMAT_SUPPORT_DEPTH_STENCIL = 0x00010000, + D3D11_FORMAT_SUPPORT_CPU_LOCKABLE = 0x00020000, + D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x00040000, + D3D11_FORMAT_SUPPORT_DISPLAY = 0x00080000, + D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x00100000, + D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x00200000, + D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x00400000, + D3D11_FORMAT_SUPPORT_SHADER_GATHER = 0x00800000, + D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x01000000, + D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW = 0x02000000, + D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON = 0x04000000, + D3D11_FORMAT_SUPPORT_DECODER_OUTPUT = 0x08000000, + D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT = 0x10000000, + D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT = 0x20000000, + D3D11_FORMAT_SUPPORT_VIDEO_ENCODER = 0x40000000, +} D3D11_FORMAT_SUPPORT; + +typedef enum D3D11_CLEAR_FLAG +{ + D3D11_CLEAR_DEPTH = 0x0001L, + D3D11_CLEAR_STENCIL = 0x0002L +} D3D11_CLEAR_FLAG; + +typedef struct D3D11_RENDER_TARGET_BLEND_DESC +{ + BOOL BlendEnable; + D3D11_BLEND SrcBlend; + D3D11_BLEND DestBlend; + D3D11_BLEND_OP BlendOp; + D3D11_BLEND SrcBlendAlpha; + D3D11_BLEND DestBlendAlpha; + D3D11_BLEND_OP BlendOpAlpha; + UINT8 RenderTargetWriteMask; +} D3D11_RENDER_TARGET_BLEND_DESC; + +typedef struct D3D11_BLEND_DESC +{ + BOOL AlphaToCoverageEnable; + BOOL IndependentBlendEnable; + D3D11_RENDER_TARGET_BLEND_DESC RenderTarget[D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT]; +} D3D11_BLEND_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_BLEND_DESC : public D3D11_BLEND_DESC {") +cpp_quote(" CD3D11_BLEND_DESC() {}") +cpp_quote(" explicit CD3D11_BLEND_DESC(const D3D11_BLEND_DESC &o) : D3D11_BLEND_DESC(o) {}") +cpp_quote(" explicit CD3D11_BLEND_DESC(CD3D11_DEFAULT) {") +cpp_quote(" AlphaToCoverageEnable = FALSE;") +cpp_quote(" IndependentBlendEnable = FALSE;") +cpp_quote(" for(D3D11_RENDER_TARGET_BLEND_DESC *target; target < RenderTarget+D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; target++) {") +cpp_quote(" target->BlendEnable = FALSE;") +cpp_quote(" target->SrcBlend = target->SrcBlendAlpha = D3D11_BLEND_ONE;") +cpp_quote(" target->DestBlend = target->DestBlendAlpha = D3D11_BLEND_ZERO;") +cpp_quote(" target->BlendOp = target->BlendOpAlpha = D3D11_BLEND_OP_ADD;") +cpp_quote(" target->RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL;") +cpp_quote(" }") +cpp_quote(" }") +cpp_quote(" ~CD3D11_BLEND_DESC() {}") +cpp_quote(" operator const D3D11_BLEND_DESC&() const { return *this; }") +cpp_quote("};" ) +cpp_quote("#endif" ) + +typedef struct D3D11_BUFFER_DESC +{ + UINT ByteWidth; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; + UINT StructureByteStride; +} D3D11_BUFFER_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_BUFFER_DESC : public D3D11_BUFFER_DESC {") +cpp_quote(" CD3D11_BUFFER_DESC() {}" ) +cpp_quote(" explicit CD3D11_BUFFER_DESC(const D3D11_BUFFER_DESC &o) : D3D11_BUFFER_DESC(o) {}") +cpp_quote(" explicit CD3D11_BUFFER_DESC(UINT byteWidth,UINT bindFlags,") +cpp_quote(" D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0,") +cpp_quote(" UINT miscFlags = 0, UINT structureByteStride = 0 ) {") +cpp_quote(" ByteWidth = byteWidth;") +cpp_quote(" Usage = usage;") +cpp_quote(" BindFlags = bindFlags;") +cpp_quote(" CPUAccessFlags = cpuaccessFlags;") +cpp_quote(" MiscFlags = miscFlags;" ) +cpp_quote(" StructureByteStride = structureByteStride;") +cpp_quote(" }") +cpp_quote(" ~CD3D11_BUFFER_DESC() {}") +cpp_quote(" operator const D3D11_BUFFER_DESC&() const { return *this; }") +cpp_quote("};" ) +cpp_quote("#endif" ) + +typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC +{ + DXGI_FORMAT Format; + D3D11_DSV_DIMENSION ViewDimension; + UINT Flags; + + union + { + D3D11_TEX1D_DSV Texture1D; + D3D11_TEX1D_ARRAY_DSV Texture1DArray; + D3D11_TEX2D_DSV Texture2D; + D3D11_TEX2D_ARRAY_DSV Texture2DArray; + D3D11_TEX2DMS_DSV Texture2DMS; + D3D11_TEX2DMS_ARRAY_DSV Texture2DMSArray; + }; +} D3D11_DEPTH_STENCIL_VIEW_DESC; + +typedef struct D3D11_DEPTH_STENCILOP_DESC +{ + D3D11_STENCIL_OP StencilFailOp; + D3D11_STENCIL_OP StencilDepthFailOp; + D3D11_STENCIL_OP StencilPassOp; + D3D11_COMPARISON_FUNC StencilFunc; +} D3D11_DEPTH_STENCILOP_DESC; + +typedef struct D3D11_DEPTH_STENCIL_DESC +{ + BOOL DepthEnable; + D3D11_DEPTH_WRITE_MASK DepthWriteMask; + D3D11_COMPARISON_FUNC DepthFunc; + BOOL StencilEnable; + UINT8 StencilReadMask; + UINT8 StencilWriteMask; + D3D11_DEPTH_STENCILOP_DESC FrontFace; + D3D11_DEPTH_STENCILOP_DESC BackFace; +} D3D11_DEPTH_STENCIL_DESC; + +cpp_quote("#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )") +cpp_quote("struct CD3D11_DEPTH_STENCIL_DESC : public D3D11_DEPTH_STENCIL_DESC {") +cpp_quote(" CD3D11_DEPTH_STENCIL_DESC() {}") +cpp_quote(" explicit CD3D11_DEPTH_STENCIL_DESC(const D3D11_DEPTH_STENCIL_DESC &other) : D3D11_DEPTH_STENCIL_DESC(other) {}") +cpp_quote(" explicit CD3D11_DEPTH_STENCIL_DESC(CD3D11_DEFAULT) {") +cpp_quote(" const D3D11_DEPTH_STENCILOP_DESC default_op =") +cpp_quote(" {D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_COMPARISON_ALWAYS};") +cpp_quote(" DepthEnable = TRUE;") +cpp_quote(" DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ALL;") +cpp_quote(" DepthFunc = D3D11_COMPARISON_LESS;") +cpp_quote(" StencilEnable = FALSE;") +cpp_quote(" StencilReadMask = D3D11_DEFAULT_STENCIL_READ_MASK;") +cpp_quote(" StencilWriteMask = D3D11_DEFAULT_STENCIL_WRITE_MASK;") +cpp_quote(" FrontFace = default_op;") +cpp_quote(" BackFace = default_op;") +cpp_quote(" }") +cpp_quote(" explicit CD3D11_DEPTH_STENCIL_DESC(") +cpp_quote(" BOOL depth_enable,") +cpp_quote(" D3D11_DEPTH_WRITE_MASK depth_write_mask,") +cpp_quote(" D3D11_COMPARISON_FUNC depth_func,") +cpp_quote(" BOOL stencil_enable,") +cpp_quote(" UINT8 stencil_read_mask,") +cpp_quote(" UINT8 stencil_write_mask,") +cpp_quote(" D3D11_STENCIL_OP front_stencil_fail_op,") +cpp_quote(" D3D11_STENCIL_OP front_stencil_depth_fail_op,") +cpp_quote(" D3D11_STENCIL_OP front_stencil_pass_op,") +cpp_quote(" D3D11_COMPARISON_FUNC front_stencil_func,") +cpp_quote(" D3D11_STENCIL_OP back_stencil_fail_op,") +cpp_quote(" D3D11_STENCIL_OP back_stencil_depth_fail_op,") +cpp_quote(" D3D11_STENCIL_OP back_stencil_pass_op,") +cpp_quote(" D3D11_COMPARISON_FUNC back_stencil_func) {") +cpp_quote(" DepthEnable = depth_enable;") +cpp_quote(" DepthWriteMask = depth_write_mask;") +cpp_quote(" DepthFunc = depth_func;") +cpp_quote(" StencilEnable = stencil_enable;") +cpp_quote(" StencilReadMask = stencil_read_mask;") +cpp_quote(" StencilWriteMask = stencil_write_mask;") +cpp_quote(" FrontFace.StencilFailOp = front_stencil_fail_op;") +cpp_quote(" FrontFace.StencilDepthFailOp = front_stencil_depth_fail_op;") +cpp_quote(" FrontFace.StencilPassOp = front_stencil_pass_op;") +cpp_quote(" FrontFace.StencilFunc = front_stencil_func;") +cpp_quote(" BackFace.StencilFailOp = back_stencil_fail_op;") +cpp_quote(" BackFace.StencilDepthFailOp = back_stencil_depth_fail_op;") +cpp_quote(" BackFace.StencilPassOp = back_stencil_pass_op;") +cpp_quote(" BackFace.StencilFunc = back_stencil_func;") +cpp_quote(" }") +cpp_quote(" ~CD3D11_DEPTH_STENCIL_DESC() {}") +cpp_quote(" operator const D3D11_DEPTH_STENCIL_DESC&() const { return *this; }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D11_RENDER_TARGET_VIEW_DESC +{ + DXGI_FORMAT Format; + D3D11_RTV_DIMENSION ViewDimension; + + union + { + D3D11_BUFFER_RTV Buffer; + D3D11_TEX1D_RTV Texture1D; + D3D11_TEX1D_ARRAY_RTV Texture1DArray; + D3D11_TEX2D_RTV Texture2D; + D3D11_TEX2D_ARRAY_RTV Texture2DArray; + D3D11_TEX2DMS_RTV Texture2DMS; + D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray; + D3D11_TEX3D_RTV Texture3D; + }; +} D3D11_RENDER_TARGET_VIEW_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_RENDER_TARGET_VIEW_DESC : public D3D11_RENDER_TARGET_VIEW_DESC {") +cpp_quote(" CD3D11_RENDER_TARGET_VIEW_DESC() {}") +cpp_quote(" explicit CD3D11_RENDER_TARGET_VIEW_DESC(D3D11_RTV_DIMENSION dim, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,") +cpp_quote(" UINT mip_slice = 0, UINT first_slice = 0, UINT array_size = -1) {") +cpp_quote(" Format = format;") +cpp_quote(" ViewDimension = dim;") +cpp_quote(" switch(dim) {") +cpp_quote(" case D3D11_RTV_DIMENSION_BUFFER:") +cpp_quote(" Buffer.FirstElement = mip_slice;") +cpp_quote(" Buffer.NumElements = first_slice;") +cpp_quote(" break;") +cpp_quote(" case D3D11_RTV_DIMENSION_TEXTURE1D:") +cpp_quote(" Texture1D.MipSlice = mip_slice;") +cpp_quote(" break;") +cpp_quote(" case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:") +cpp_quote(" Texture1DArray.MipSlice = mip_slice;") +cpp_quote(" Texture1DArray.FirstArraySlice = first_slice;") +cpp_quote(" Texture1DArray.ArraySize = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_RTV_DIMENSION_TEXTURE2D:") +cpp_quote(" Texture2D.MipSlice = mip_slice;") +cpp_quote(" break;") +cpp_quote(" case D3D11_RTV_DIMENSION_TEXTURE2DARRAY:") +cpp_quote(" Texture2DArray.MipSlice = mip_slice;") +cpp_quote(" Texture2DArray.FirstArraySlice = first_slice;") +cpp_quote(" Texture2DArray.ArraySize = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:") +cpp_quote(" Texture2DMSArray.FirstArraySlice = first_slice;") +cpp_quote(" Texture2DMSArray.ArraySize = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_RTV_DIMENSION_TEXTURE3D:") +cpp_quote(" Texture3D.MipSlice = mip_slice;") +cpp_quote(" Texture3D.FirstWSlice = first_slice;") +cpp_quote(" Texture3D.WSize = array_size;") +cpp_quote(" break;") +cpp_quote(" default:") +cpp_quote(" break;") +cpp_quote(" }") +cpp_quote(" }") +cpp_quote(" explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Buffer*, DXGI_FORMAT format, UINT first_elem,") +cpp_quote(" UINT elem_cnt) {") +cpp_quote(" Format = format;") +cpp_quote(" ViewDimension = D3D11_RTV_DIMENSION_BUFFER;") +cpp_quote(" Buffer.FirstElement = first_elem;") +cpp_quote(" Buffer.NumElements = elem_cnt;") +cpp_quote(" }") +cpp_quote(" explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture1D *texture, D3D11_RTV_DIMENSION dim,") +cpp_quote(" DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT mip_slice = 0, UINT first_slice = 0,") +cpp_quote(" UINT array_size = -1);") /* FIXME: implement */ +cpp_quote(" explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture2D *texture, D3D11_RTV_DIMENSION dim,") +cpp_quote(" DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT mip_slice = 0, UINT first_slice = 0,") +cpp_quote(" UINT array_size = -1);") /* FIXME: implement */ +cpp_quote(" explicit CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture3D *texture, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,") +cpp_quote(" UINT mip_slice = 0, UINT first_w_slice = 0, UINT w_slice = -1 );") /* FIXME: implement */ +cpp_quote(" ~CD3D11_RENDER_TARGET_VIEW_DESC() {}") +cpp_quote(" explicit CD3D11_RENDER_TARGET_VIEW_DESC(const D3D11_RENDER_TARGET_VIEW_DESC &other)") +cpp_quote(" : D3D11_RENDER_TARGET_VIEW_DESC(other) {}") +cpp_quote(" operator const D3D11_RENDER_TARGET_VIEW_DESC&() const {") +cpp_quote(" return *this;") +cpp_quote(" }") +cpp_quote("};") +cpp_quote("#endif") + + +typedef struct D3D11_SAMPLER_DESC +{ + D3D11_FILTER Filter; + D3D11_TEXTURE_ADDRESS_MODE AddressU; + D3D11_TEXTURE_ADDRESS_MODE AddressV; + D3D11_TEXTURE_ADDRESS_MODE AddressW; + FLOAT MipLODBias; + UINT MaxAnisotropy; + D3D11_COMPARISON_FUNC ComparisonFunc; + FLOAT BorderColor[4]; + FLOAT MinLOD; + FLOAT MaxLOD; +} D3D11_SAMPLER_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_SAMPLER_DESC : public D3D11_SAMPLER_DESC {") +cpp_quote(" CD3D11_SAMPLER_DESC() {}") +cpp_quote(" explicit CD3D11_SAMPLER_DESC(const D3D11_SAMPLER_DESC &o) : D3D11_SAMPLER_DESC(o) {}") +cpp_quote(" explicit CD3D11_SAMPLER_DESC(CD3D11_DEFAULT) {" ) +cpp_quote(" Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR;") +cpp_quote(" AddressU = D3D11_TEXTURE_ADDRESS_CLAMP;") +cpp_quote(" AddressV = D3D11_TEXTURE_ADDRESS_CLAMP;") +cpp_quote(" AddressW = D3D11_TEXTURE_ADDRESS_CLAMP;") +cpp_quote(" MipLODBias = 0;") +cpp_quote(" MaxAnisotropy = 1;") +cpp_quote(" ComparisonFunc = D3D11_COMPARISON_NEVER;") +cpp_quote(" BorderColor[0] = BorderColor[1] = BorderColor[2] = BorderColor[3] = 1.0f;") +cpp_quote(" MinLOD = -3.402823466e+38f;") +cpp_quote(" MaxLOD = 3.402823466e+38f;") +cpp_quote(" }") +cpp_quote(" explicit CD3D11_SAMPLER_DESC(D3D11_FILTER filter, D3D11_TEXTURE_ADDRESS_MODE addressU,") +cpp_quote(" D3D11_TEXTURE_ADDRESS_MODE addressV, D3D11_TEXTURE_ADDRESS_MODE addressW,") +cpp_quote(" FLOAT mipLODBias, UINT maxAnisotropy, D3D11_COMPARISON_FUNC comparisonFunc,") +cpp_quote(" const FLOAT *borderColor, FLOAT minLOD, FLOAT maxLOD) {" ) +cpp_quote(" Filter = filter;") +cpp_quote(" AddressU = addressU;") +cpp_quote(" AddressV = addressV;") +cpp_quote(" AddressW = addressW;") +cpp_quote(" MipLODBias = mipLODBias;") +cpp_quote(" MaxAnisotropy = maxAnisotropy;") +cpp_quote(" ComparisonFunc = comparisonFunc;") +cpp_quote(" if(borderColor) {") +cpp_quote(" BorderColor[0] = borderColor[0];") +cpp_quote(" BorderColor[1] = borderColor[1];") +cpp_quote(" BorderColor[2] = borderColor[2];") +cpp_quote(" BorderColor[3] = borderColor[3];") +cpp_quote(" }else {") +cpp_quote(" BorderColor[0] = BorderColor[1] = BorderColor[2] = BorderColor[3] = 1.0f;") +cpp_quote(" }") +cpp_quote(" MinLOD = minLOD;") +cpp_quote(" MaxLOD = maxLOD;") +cpp_quote(" }") +cpp_quote(" ~CD3D11_SAMPLER_DESC() {}") +cpp_quote(" operator const D3D11_SAMPLER_DESC&() const { return *this; }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC +{ + DXGI_FORMAT Format; + D3D11_SRV_DIMENSION ViewDimension; + + union + { + D3D11_BUFFER_SRV Buffer; + D3D11_TEX1D_SRV Texture1D; + D3D11_TEX1D_ARRAY_SRV Texture1DArray; + D3D11_TEX2D_SRV Texture2D; + D3D11_TEX2D_ARRAY_SRV Texture2DArray; + D3D11_TEX2DMS_SRV Texture2DMS; + D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D11_TEX3D_SRV Texture3D; + D3D11_TEXCUBE_SRV TextureCube; + D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray; + D3D11_BUFFEREX_SRV BufferEx; + }; +} D3D11_SHADER_RESOURCE_VIEW_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined( __cplusplus )") +cpp_quote("struct CD3D11_SHADER_RESOURCE_VIEW_DESC : public D3D11_SHADER_RESOURCE_VIEW_DESC {") +cpp_quote(" CD3D11_SHADER_RESOURCE_VIEW_DESC() {}") +cpp_quote(" explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(D3D11_SRV_DIMENSION dim,") +cpp_quote(" DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT most_detailed_mip = 0,") +cpp_quote(" UINT mip_levels = -1, UINT first_slice = 0, UINT array_size = -1, UINT flags = 0) {") +cpp_quote(" Format = format;") +cpp_quote(" ViewDimension = dim;") +cpp_quote(" switch(ViewDimension) {") +cpp_quote(" case D3D11_SRV_DIMENSION_BUFFER:") +cpp_quote(" Buffer.FirstElement = most_detailed_mip;") +cpp_quote(" Buffer.NumElements = mip_levels;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURE1D:") +cpp_quote(" Texture1D.MostDetailedMip = most_detailed_mip;") +cpp_quote(" Texture1D.MipLevels = mip_levels;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURE1DARRAY:") +cpp_quote(" Texture1DArray.MostDetailedMip = most_detailed_mip;") +cpp_quote(" Texture1DArray.MipLevels = mip_levels;") +cpp_quote(" Texture1DArray.FirstArraySlice = first_slice;") +cpp_quote(" Texture1DArray.ArraySize = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURE2D:") +cpp_quote(" Texture2D.MostDetailedMip = most_detailed_mip;") +cpp_quote(" Texture2D.MipLevels = mip_levels;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURE2DARRAY:") +cpp_quote(" Texture2DArray.MostDetailedMip = most_detailed_mip;") +cpp_quote(" Texture2DArray.MipLevels = mip_levels;") +cpp_quote(" Texture2DArray.FirstArraySlice = first_slice;") +cpp_quote(" Texture2DArray.ArraySize = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY:") +cpp_quote(" Texture2DMSArray.FirstArraySlice = first_slice;") +cpp_quote(" Texture2DMSArray.ArraySize = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURE3D:") +cpp_quote(" Texture3D.MostDetailedMip = most_detailed_mip;") +cpp_quote(" Texture3D.MipLevels = mip_levels;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURECUBE:") +cpp_quote(" TextureCube.MostDetailedMip = most_detailed_mip;") +cpp_quote(" TextureCube.MipLevels = mip_levels;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY:") +cpp_quote(" TextureCubeArray.MostDetailedMip = most_detailed_mip;") +cpp_quote(" TextureCubeArray.MipLevels = mip_levels;") +cpp_quote(" TextureCubeArray.First2DArrayFace = first_slice;") +cpp_quote(" TextureCubeArray.NumCubes = array_size;") +cpp_quote(" break;") +cpp_quote(" case D3D11_SRV_DIMENSION_BUFFEREX:") +cpp_quote(" BufferEx.FirstElement = most_detailed_mip;") +cpp_quote(" BufferEx.NumElements = mip_levels;") +cpp_quote(" BufferEx.Flags = flags;") +cpp_quote(" break;") +cpp_quote(" default:") +cpp_quote(" break;") +cpp_quote(" }") +cpp_quote(" }") +cpp_quote(" explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Buffer*, DXGI_FORMAT format, UINT first_elem,") +cpp_quote(" UINT elem_cnt, UINT flags = 0);") /* FIXME: implement */ +cpp_quote(" explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Texture1D *texture, D3D11_SRV_DIMENSION dim,") +cpp_quote(" DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT most_detailed_mip = 0, UINT mip_levels = -1,") +cpp_quote(" UINT first_slice = 0, UINT array_size = -1 );") /* FIXME: implement */ +cpp_quote(" explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Texture2D *texture, D3D11_SRV_DIMENSION dim,") +cpp_quote(" DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, UINT most_detailed_mip = 0, UINT mip_levels = -1,") +cpp_quote(" UINT first_slice = 0, UINT array_size = -1 );") /* FIXME: implement */ +cpp_quote(" explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(ID3D11Texture3D *texture, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,") +cpp_quote(" UINT most_detailed_mip = 0, UINT mip_levels = -1 );") +cpp_quote(" ~CD3D11_SHADER_RESOURCE_VIEW_DESC() {}") +cpp_quote(" explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(const D3D11_SHADER_RESOURCE_VIEW_DESC &other)") +cpp_quote(" : D3D11_SHADER_RESOURCE_VIEW_DESC(other) {}") +cpp_quote(" operator const D3D11_SHADER_RESOURCE_VIEW_DESC&() const {") +cpp_quote(" return *this;") +cpp_quote(" }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D11_TEXTURE1D_DESC +{ + UINT Width; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D11_TEXTURE1D_DESC; + +typedef struct D3D11_TEXTURE2D_DESC +{ + UINT Width; + UINT Height; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D11_TEXTURE2D_DESC; + +cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("struct CD3D11_TEXTURE2D_DESC : public D3D11_TEXTURE2D_DESC {") +cpp_quote(" CD3D11_TEXTURE2D_DESC() {}") +cpp_quote(" explicit CD3D11_TEXTURE2D_DESC(const D3D11_TEXTURE2D_DESC &o) : D3D11_TEXTURE2D_DESC(o) {}") +cpp_quote(" explicit CD3D11_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height, UINT arraySize = 1,") +cpp_quote(" UINT mipLevels = 0, UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,") +cpp_quote(" D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT sampleCount = 1," ) +cpp_quote(" UINT sampleQuality = 0, UINT miscFlags = 0) {") +cpp_quote(" Width = width;") +cpp_quote(" Height = height;") +cpp_quote(" MipLevels = mipLevels;") +cpp_quote(" ArraySize = arraySize;") +cpp_quote(" Format = format;") +cpp_quote(" SampleDesc.Count = sampleCount;") +cpp_quote(" SampleDesc.Quality = sampleQuality;") +cpp_quote(" Usage = usage;") +cpp_quote(" BindFlags = bindFlags;") +cpp_quote(" CPUAccessFlags = cpuaccessFlags;") +cpp_quote(" MiscFlags = miscFlags;") +cpp_quote(" }" ) +cpp_quote(" ~CD3D11_TEXTURE2D_DESC() {}") +cpp_quote(" operator const D3D11_TEXTURE2D_DESC&() const { return *this; }") +cpp_quote("};") +cpp_quote("#endif") + +typedef struct D3D11_TEXTURE3D_DESC +{ + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + DXGI_FORMAT Format; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; +} D3D11_TEXTURE3D_DESC; + +typedef struct D3D11_VIDEO_DECODER_DESC +{ + GUID Guid; + UINT SampleWidth; + UINT SampleHeight; + DXGI_FORMAT OutputFormat; +} D3D11_VIDEO_DECODER_DESC; + +typedef struct D3D11_VIDEO_DECODER_CONFIG +{ + GUID guidConfigBitstreamEncryption; + GUID guidConfigMBcontrolEncryption; + GUID guidConfigResidDiffEncryption; + UINT ConfigBitstreamRaw; + UINT ConfigMBcontrolRasterOrder; + UINT ConfigResidDiffHost; + UINT ConfigSpatialResid8; + UINT ConfigResid8Subtraction; + UINT ConfigSpatialHost8or9Clipping; + UINT ConfigSpatialResidInterleaved; + UINT ConfigIntraResidUnsigned; + UINT ConfigResidDiffAccelerator; + UINT ConfigHostInverseScan; + UINT ConfigSpecificIDCT; + UINT Config4GroupedCoefs; + USHORT ConfigMinRenderTargetBuffCount; + USHORT ConfigDecoderSpecific; +} D3D11_VIDEO_DECODER_CONFIG; + +typedef enum D3D11_VIDEO_FRAME_FORMAT +{ + D3D11_VIDEO_FRAME_FORMAT_PROGRESSIVE = 0, + D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST = 1, + D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST = 2 +} D3D11_VIDEO_FRAME_FORMAT; + +typedef enum D3D11_VIDEO_USAGE +{ + D3D11_VIDEO_USAGE_PLAYBACK_NORMAL = 0, + D3D11_VIDEO_USAGE_OPTIMAL_SPEED = 1, + D3D11_VIDEO_USAGE_OPTIMAL_QUALITY = 2 +} D3D11_VIDEO_USAGE; + +typedef struct D3D11_VIDEO_PROCESSOR_CONTENT_DESC +{ + D3D11_VIDEO_FRAME_FORMAT InputFrameFormat; + DXGI_RATIONAL InputFrameRate; + UINT InputWidth; + UINT InputHeight; + DXGI_RATIONAL OutputFrameRate; + UINT OutputWidth; + UINT OutputHeight; + D3D11_VIDEO_USAGE Usage; +} D3D11_VIDEO_PROCESSOR_CONTENT_DESC; + +typedef struct D3D11_VIDEO_PROCESSOR_CAPS +{ + UINT DeviceCaps; + UINT FeatureCaps; + UINT FilterCaps; + UINT InputFormatCaps; + UINT AutoStreamCaps; + UINT StereoCaps; + UINT RateConversionCapsCount; + UINT MaxInputStreams; + UINT MaxStreamStates; +} D3D11_VIDEO_PROCESSOR_CAPS; + +typedef struct D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS +{ + UINT PastFrames; + UINT FutureFrames; + UINT ProcessorCaps; + UINT ITelecineCaps; + UINT CustomRateCount; +} D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS; + +typedef struct D3D11_VIDEO_PROCESSOR_CUSTOM_RATE +{ + DXGI_RATIONAL CustomRate; + UINT OutputFrames; + BOOL InputInterlaced; + UINT InputFramesOrFields; +} D3D11_VIDEO_PROCESSOR_CUSTOM_RATE; + +typedef enum D3D11_VIDEO_PROCESSOR_FILTER +{ + D3D11_VIDEO_PROCESSOR_FILTER_BRIGHTNESS = 0, + D3D11_VIDEO_PROCESSOR_FILTER_CONTRAST = 1, + D3D11_VIDEO_PROCESSOR_FILTER_HUE = 2, + D3D11_VIDEO_PROCESSOR_FILTER_SATURATION = 3, + D3D11_VIDEO_PROCESSOR_FILTER_NOISE_REDUCTION = 4, + D3D11_VIDEO_PROCESSOR_FILTER_EDGE_ENHANCEMENT = 5, + D3D11_VIDEO_PROCESSOR_FILTER_ANAMORPHIC_SCALING = 6, + D3D11_VIDEO_PROCESSOR_FILTER_STEREO_ADJUSTMENT = 7 +} D3D11_VIDEO_PROCESSOR_FILTER; + +typedef struct D3D11_VIDEO_PROCESSOR_FILTER_RANGE +{ + int Minimum; + int Maximum; + int Default; + float Multiplier; +} D3D11_VIDEO_PROCESSOR_FILTER_RANGE; + +typedef enum D3D11_AUTHENTICATED_CHANNEL_TYPE +{ + D3D11_AUTHENTICATED_CHANNEL_D3D11 = 1, + D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE = 2, + D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE = 3 +} D3D11_AUTHENTICATED_CHANNEL_TYPE; + +typedef enum D3D11_VDOV_DIMENSION +{ + D3D11_VDOV_DIMENSION_UNKNOWN = 0, + D3D11_VDOV_DIMENSION_TEXTURE2D = 1 +} D3D11_VDOV_DIMENSION; + +typedef struct D3D11_TEX2D_VDOV +{ + UINT ArraySlice; +} D3D11_TEX2D_VDOV; + +typedef struct D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC +{ + GUID DecodeProfile; + D3D11_VDOV_DIMENSION ViewDimension; + union { + D3D11_TEX2D_VDOV Texture2D; + }; +} D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC; + +typedef enum D3D11_VPIV_DIMENSION +{ + D3D11_VPIV_DIMENSION_UNKNOWN = 0, + D3D11_VPIV_DIMENSION_TEXTURE2D = 1 +} D3D11_VPIV_DIMENSION; + +typedef struct D3D11_TEX2D_VPIV +{ + UINT MipSlice; + UINT ArraySlice; +} D3D11_TEX2D_VPIV; + +typedef struct D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC +{ + UINT FourCC; + D3D11_VPIV_DIMENSION ViewDimension; + union { + D3D11_TEX2D_VPIV Texture2D; + }; +} D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC; + +typedef enum D3D11_VPOV_DIMENSION +{ + D3D11_VPOV_DIMENSION_UNKNOWN = 0, + D3D11_VPOV_DIMENSION_TEXTURE2D = 1, + D3D11_VPOV_DIMENSION_TEXTURE2DARRAY = 2 +} D3D11_VPOV_DIMENSION; + +typedef struct D3D11_TEX2D_VPOV +{ + UINT MipSlice; +} D3D11_TEX2D_VPOV; + +typedef struct D3D11_TEX2D_ARRAY_VPOV +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; +} D3D11_TEX2D_ARRAY_VPOV; + +typedef struct D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC +{ + D3D11_VPOV_DIMENSION ViewDimension; + union { + D3D11_TEX2D_VPOV Texture2D; + D3D11_TEX2D_ARRAY_VPOV Texture2DArray; + }; +} D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC; + +typedef struct D3D11_VIDEO_CONTENT_PROTECTION_CAPS +{ + UINT Caps; + UINT KeyExchangeTypeCount; + UINT BlockAlignmentSize; + ULONGLONG ProtectedMemorySize; +} D3D11_VIDEO_CONTENT_PROTECTION_CAPS; + +typedef struct D3D11_ENCRYPTED_BLOCK_INFO +{ + UINT NumEncryptedBytesAtBeginning; + UINT NumBytesInSkipPattern; + UINT NumBytesInEncryptPattern; +} D3D11_ENCRYPTED_BLOCK_INFO; + +typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC +{ + D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType; + UINT BufferIndex; + UINT DataOffset; + UINT DataSize; + UINT FirstMBaddress; + UINT NumMBsInBuffer; + UINT Width; + UINT Height; + UINT Stride; + UINT ReservedBits; + void *pIV; + UINT IVSize; + BOOL PartialEncryption; + D3D11_ENCRYPTED_BLOCK_INFO EncryptedBlockInfo; +} D3D11_VIDEO_DECODER_BUFFER_DESC; + +typedef struct D3D11_VIDEO_DECODER_EXTENSION +{ + UINT Function; + void *pPrivateInputData; + UINT PrivateInputDataSize; + void *pPrivateOutputData; + UINT PrivateOutputDataSize; + UINT ResourceCount; + ID3D11Resource **ppResourceList; +} D3D11_VIDEO_DECODER_EXTENSION; + +typedef struct D3D11_VIDEO_COLOR_YCbCrA +{ + float Y; + float Cb; + float Cr; + float A; +} D3D11_VIDEO_COLOR_YCbCrA; + +typedef struct D3D11_VIDEO_COLOR_RGBA +{ + float R; + float G; + float B; + float A; +} D3D11_VIDEO_COLOR_RGBA; + +typedef struct D3D11_VIDEO_COLOR +{ + union + { + D3D11_VIDEO_COLOR_YCbCrA YCbCr; + D3D11_VIDEO_COLOR_RGBA RGBA; + }; +} D3D11_VIDEO_COLOR; + +typedef struct D3D11_VIDEO_PROCESSOR_COLOR_SPACE +{ + UINT Usage : 1; + UINT RGB_Range : 1; + UINT YCbCr_Matrix : 1; + UINT YCbCr_xvYCC : 1; + UINT Nominal_Range : 2; + UINT Reserved : 26; +} D3D11_VIDEO_PROCESSOR_COLOR_SPACE; + +typedef struct D3D11_VIDEO_PROCESSOR_STREAM +{ + BOOL Enable; + UINT OutputIndex; + UINT InputFrameOrField; + UINT PastFrames; + UINT FutureFrames; + ID3D11VideoProcessorInputView **ppPastSurfaces; + ID3D11VideoProcessorInputView *pInputSurface; + ID3D11VideoProcessorInputView **ppFutureSurfaces; + ID3D11VideoProcessorInputView **ppPastSurfacesRight; + ID3D11VideoProcessorInputView *pInputSurfaceRight; + ID3D11VideoProcessorInputView **ppFutureSurfacesRight; +} D3D11_VIDEO_PROCESSOR_STREAM; + +typedef struct D3D11_OMAC +{ + BYTE Omac[D3D11_OMAC_SIZE]; +} D3D11_OMAC; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_OUTPUT +{ + D3D11_OMAC omac; + GUID ConfigureType; + HANDLE hChannel; + UINT SequenceNumber; + HRESULT ReturnCode; +} D3D11_AUTHENTICATED_CONFIGURE_OUTPUT; + +typedef struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT +{ + UINT64 Frequency; + BOOL Disjoint; +} D3D11_QUERY_DATA_TIMESTAMP_DISJOINT; + +typedef struct D3D11_QUERY_DATA_PIPELINE_STATISTICS +{ + UINT64 IAVertices; + UINT64 IAPrimitives; + UINT64 VSInvocations; + UINT64 GSInvocations; + UINT64 GSPrimitives; + UINT64 CInvocations; + UINT64 CPrimitives; + UINT64 PSInvocations; + UINT64 HSInvocations; + UINT64 DSInvocations; + UINT64 CSInvocations; +} D3D11_QUERY_DATA_PIPELINE_STATISTICS; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_INPUT +{ + D3D11_OMAC omac; + GUID ConfigureType; + HANDLE hChannel; + UINT SequenceNumber; +} D3D11_AUTHENTICATED_CONFIGURE_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_INPUT +{ + GUID QueryType; + HANDLE hChannel; + UINT SequenceNumber; +} D3D11_AUTHENTICATED_QUERY_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT +{ + D3D11_OMAC omac; + GUID QueryType; + HANDLE hChannel; + UINT SequenceNumber; + HRESULT ReturnCode; +} D3D11_AUTHENTICATED_QUERY_OUTPUT; + +typedef union D3D11_AUTHENTICATED_PROTECTION_FLAGS +{ + struct + { + UINT ProtectionEnabled : 1; + UINT OverlayOrFullscreenRequired : 1; + UINT Reserved : 30; + } Flags; + UINT Value; +} D3D11_AUTHENTICATED_PROTECTION_FLAGS; + +typedef struct D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + D3D11_AUTHENTICATED_PROTECTION_FLAGS ProtectionFlags; +} D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType; +} D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DeviceHandle; +} D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT +{ + D3D11_AUTHENTICATED_QUERY_INPUT Input; + HANDLE DecoderHandle; +} D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DecoderHandle; + HANDLE CryptoSessionHandle; + HANDLE DeviceHandle; +} D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT RestrictedSharedResourceProcessCount; +} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT +{ + D3D11_AUTHENTICATED_QUERY_INPUT Input; + UINT ProcessIndex; +} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT ProcessIndex; + D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE ProcessIdentifier; + HANDLE ProcessHandle; +} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT UnrestrictedProtectedSharedResourceCount; +} D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT +{ + D3D11_AUTHENTICATED_QUERY_INPUT Input; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; + UINT OutputIDCount; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT +{ + D3D11_AUTHENTICATED_QUERY_INPUT Input; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; + UINT OutputIDIndex; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + HANDLE DeviceHandle; + HANDLE CryptoSessionHandle; + UINT OutputIDIndex; + UINT64 OutputID; +} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_ACESSIBILITY_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + D3D11_BUS_TYPE BusType; + BOOL AccessibleInContiguousBlocks; + BOOL AccessibleInNonContiguousBlocks; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT EncryptionGuidCount; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT +{ + D3D11_AUTHENTICATED_QUERY_INPUT Input; + UINT EncryptionGuidIndex; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + UINT EncryptionGuidIndex; + GUID EncryptionGuid; +} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT +{ + D3D11_AUTHENTICATED_QUERY_OUTPUT Output; + GUID EncryptionGuid; +} D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT +{ + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + UINT StartSequenceQuery; + UINT StartSequenceConfigure; +} D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT +{ + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + D3D11_AUTHENTICATED_PROTECTION_FLAGS Protections; +} D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT +{ + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + HANDLE DecoderHandle; + HANDLE CryptoSessionHandle; + HANDLE DeviceHandle; +} D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT +{ + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE ProcessType; + HANDLE ProcessHandle; + BOOL AllowAccess; +} D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT; + +typedef struct D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT +{ + D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters; + GUID EncryptionGuid; +} D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT; + +[ + object, + local, + uuid(1841e5c8-16b0-489b-bcc8-44cfb0d5deae) +] +interface ID3D11DeviceChild : IUnknown +{ + void GetDevice( + [out] ID3D11Device **ppDevice); + HRESULT GetPrivateData( + [in] REFGUID guid, + [in, out] UINT *pDataSize, + [out] void *pData); + HRESULT SetPrivateData( + [in] REFGUID guid, + [in] UINT DataSize, + [in] const void *pData); + HRESULT SetPrivateDataInterface( + [in] REFGUID guid, + [in] const IUnknown *pData); +} + +[ + object, + local, + uuid(4b35d0cd-1e15-4258-9c98-1b1333f6dd3b) +] +interface ID3D11Asynchronous : ID3D11DeviceChild +{ + UINT GetDataSize(); +} + +[ + object, + local, + uuid(d6c00747-87b7-425e-b84d-44d108560afd) +] +interface ID3D11Query : ID3D11Asynchronous +{ + void GetDesc( + [out] D3D11_QUERY_DESC *pDesc); +} + +[ + object, + local, + uuid(dc8e63f3-d12b-4952-b47b-5e45026a862d) +] +interface ID3D11Resource : ID3D11DeviceChild +{ + void GetType( + [out] D3D11_RESOURCE_DIMENSION *pResourceDimension); + void SetEvictionPriority( + [in] UINT EvictionPriority); + UINT GetEvictionPriority(); +} + +[ + object, + local, + uuid(839d1216-bb2e-412b-b7f4-a9dbebe08ed1) +] +interface ID3D11View : ID3D11DeviceChild +{ + void GetResource( + [out] ID3D11Resource **ppResource); +} + +[ + object, + local, + uuid(75b68faa-347d-4159-8f45-a0640f01cd9a) +] +interface ID3D11BlendState : ID3D11DeviceChild +{ + void GetDesc( + [out] D3D11_BLEND_DESC *pDesc); +} + +[ + object, + local, + uuid(48570b85-d1ee-4fcd-a250-eb350722b037) +] +interface ID3D11Buffer : ID3D11Resource +{ + void GetDesc( + [out] D3D11_BUFFER_DESC *pDesc); +} + +[ + object, + local, + uuid(a6cd7faa-b0b7-4a2f-9436-8662a65797cb) +] +interface ID3D11ClassInstance : ID3D11DeviceChild +{ + void GetClassLinkage( + [out] ID3D11ClassLinkage **ppLinkage); + void GetDesc( + [out] D3D11_CLASS_INSTANCE_DESC *pDesc); + void GetInstanceName( + [out] LPSTR pInstanceName, + [in, out] SIZE_T *pBufferLength); + void GetTypeName( + [out] LPSTR pTypeName, + [in, out] SIZE_T *pBufferLength); +} + +[ + object, + local, + uuid(ddf57cba-9543-46e4-a12b-f207a0fe7fed) +] +interface ID3D11ClassLinkage : ID3D11DeviceChild +{ + HRESULT GetClassInstance( + [in] LPCSTR pClassInstanceName, + [in] UINT InstanceIndex, + [out] ID3D11ClassInstance **ppInstance); + HRESULT CreateClassInstance( + [in] LPCSTR pClassTypeName, + [in] UINT ConstantBufferOffset, + [in] UINT ConstantVectorOffset, + [in] UINT TextureOffset, + [in] UINT SamplerOffset, + [out] ID3D11ClassInstance **ppInstance); +} + +[ + object, + local, + uuid(a24bc4d1-769e-43f7-8013-98ff566c18e2) +] +interface ID3D11CommandList : ID3D11DeviceChild +{ + UINT GetContextFlags(); +} + +[ + object, + local, + uuid(4f5b196e-c2bd-495e-bd01-1fded38e4969) +] +interface ID3D11ComputeShader : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(6e8c49fb-a371-4770-b440-29086022b741) +] +interface ID3D11Counter : ID3D11Asynchronous +{ + void GetDesc( + [out] D3D11_COUNTER_DESC *pDesc); +} + +[ + object, + local, + uuid(03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1) +] +interface ID3D11DepthStencilState : ID3D11DeviceChild +{ + void GetDesc( + [out] D3D11_DEPTH_STENCIL_DESC *pDesc); +} + +[ + object, + local, + uuid(9fdac92a-1876-48c3-afad-25b94f84a9b6) +] +interface ID3D11DepthStencilView : ID3D11View +{ + void GetDesc( + [out] D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc); +} + +[ + object, + local, + uuid(f582c508-0f36-490c-9977-31eece268cfa) +] +interface ID3D11DomainShader : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(38325b96-effb-4022-ba02-2e795b70275c) +] +interface ID3D11GeometryShader : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(8e5c6061-628a-4c8e-8264-bbe45cb3d5dd) +] +interface ID3D11HullShader : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(e4819ddc-4cf0-4025-bd26-5de82a3e07b7) +] +interface ID3D11InputLayout : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(ea82e40d-51dc-4f33-93d4-db7c9125ae8c) +] +interface ID3D11PixelShader : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(9eb576dd-9f77-4d86-81aa-8bab5fe490e2) +] +interface ID3D11Predicate : ID3D11Query +{ +} + +[ + object, + local, + uuid(9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7) +] +interface ID3D11RasterizerState : ID3D11DeviceChild +{ + void GetDesc( + [out] D3D11_RASTERIZER_DESC *pDesc); +} + +[ + object, + local, + uuid(dfdba067-0b8d-4865-875b-d7b4516cc164) +] +interface ID3D11RenderTargetView : ID3D11View +{ + void GetDesc( + [out] D3D11_RENDER_TARGET_VIEW_DESC *pDesc); +} + +[ + object, + local, + uuid(da6fea51-564c-4487-9810-f0d0f9b4e3a5) +] +interface ID3D11SamplerState : ID3D11DeviceChild +{ + void GetDesc( + [out] D3D11_SAMPLER_DESC *pDesc); +} + +[ + object, + local, + uuid(b0e06fe0-8192-4e1a-b1ca-36d7414710b2) +] +interface ID3D11ShaderResourceView : ID3D11View +{ + void GetDesc( + [out] D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc); +} + +[ + object, + local, + uuid(f8fb5c27-c6b3-4f75-a4c8-439af2ef564c), +] +interface ID3D11Texture1D : ID3D11Resource +{ + void GetDesc( + [out] D3D11_TEXTURE1D_DESC *pDesc); +} + +[ + object, + local, + uuid(6f15aaf2-d208-4e89-9ab4-489535d34f9c) +] +interface ID3D11Texture2D : ID3D11Resource +{ + void GetDesc( + [out] D3D11_TEXTURE2D_DESC *pDesc); +} + +[ + object, + local, + uuid(037e866e-f56d-4357-a8af-9dabbe6e250e) +] +interface ID3D11Texture3D : ID3D11Resource +{ + void GetDesc( + [out] D3D11_TEXTURE3D_DESC *pDesc); +} + +[ + object, + local, + uuid(28acf509-7f5c-48f6-8611-f316010a6380) +] +interface ID3D11UnorderedAccessView : ID3D11View +{ + void GetDesc( + [out] D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc); +} + +[ + object, + local, + uuid(3b301d64-d678-4289-8897-22f8928b72f3) +] +interface ID3D11VertexShader : ID3D11DeviceChild +{ +} + +[ + object, + local, + uuid(c0bfa96c-e089-44fb-8eaf-26f8796190da) +] +interface ID3D11DeviceContext : ID3D11DeviceChild +{ + void VSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppConstantBuffers); + void PSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D11ShaderResourceView *const *ppShaderResourceViews); + void PSSetShader( + [in] ID3D11PixelShader *pPixelShader, + [in] ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + void PSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D11SamplerState *const *ppSamplers); + void VSSetShader( + [in] ID3D11VertexShader *pVertexShader, + [in] ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + void DrawIndexed( + [in] UINT IndexCount, + [in] UINT StartIndexLocation, + [in] INT BaseVertexLocation); + void Draw( + [in] UINT VertexCount, + [in] UINT StartVertexLocation); + HRESULT Map( + [in] ID3D11Resource *pResource, + [in] UINT Subresource, + [in] D3D11_MAP MapType, + [in] UINT MapFlags, + [out] D3D11_MAPPED_SUBRESOURCE *pMappedResource); + void Unmap( + [in] ID3D11Resource *pResource, + [in] UINT Subresource); + void PSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppConstantBuffers); + void IASetInputLayout( + [in] ID3D11InputLayout *pInputLayout); + void IASetVertexBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppVertexBuffers, + [in] const UINT *pStrides, + [in] const UINT *pOffsets); + void IASetIndexBuffer( + [in] ID3D11Buffer *pIndexBuffer, + [in] DXGI_FORMAT Format, + [in] UINT Offset); + void DrawIndexedInstanced( + [in] UINT IndexCountPerInstance, + [in] UINT InstanceCount, + [in] UINT StartIndexLocation, + [in] INT BaseVertexLocation, + [in] UINT StartInstanceLocation); + void DrawInstanced( + [in] UINT VertexCountPerInstance, + [in] UINT InstanceCount, + [in] UINT StartVertexLocation, + [in] UINT StartInstanceLocation); + void GSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppConstantBuffers); + void GSSetShader( + [in] ID3D11GeometryShader *pShader, + [in] ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + void IASetPrimitiveTopology( + [in] D3D11_PRIMITIVE_TOPOLOGY Topology); + void VSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D11ShaderResourceView *const *ppShaderResourceViews); + void VSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D11SamplerState *const *ppSamplers); + void Begin( + [in] ID3D11Asynchronous *pAsync); + void End( + [in] ID3D11Asynchronous *pAsync); + HRESULT GetData( + [in] ID3D11Asynchronous *pAsync, + [in] void *pData, + [in] UINT DataSize, + [in] UINT GetDataFlags); + void SetPredication( + [in] ID3D11Predicate *pPredicate, + [in] BOOL PredicateValue); + void GSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D11ShaderResourceView *const *ppShaderResourceViews); + void GSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D11SamplerState *const *ppSamplers); + void OMSetRenderTargets( + [in] UINT NumViews, + [in] ID3D11RenderTargetView *const *ppRenderTargetViews, + [in] ID3D11DepthStencilView *pDepthStencilView); + void OMSetRenderTargetsAndUnorderedAccessViews( + [in] UINT NumRTVs, + [in] ID3D11RenderTargetView *const *ppRenderTargetViews, + [in] ID3D11DepthStencilView *pDepthStencilView, + [in] UINT UAVStartSlot, + [in] UINT NumUAVs, + [in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + [in] const UINT *pUAVInitialCounts); + void OMSetBlendState( + [in] ID3D11BlendState *pBlendState, + [in] const FLOAT BlendFactor[4], + [in] UINT SampleMask); + void OMSetDepthStencilState( + [in] ID3D11DepthStencilState *pDepthStencilState, + [in] UINT StencilRef); + void SOSetTargets( + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppSOTargets, + [in] const UINT *pOffsets); + void DrawAuto(); + void DrawIndexedInstancedIndirect( + [in] ID3D11Buffer *pBufferForArgs, + [in] UINT AlignedByteOffsetForArgs); + void DrawInstancedIndirect( + [in] ID3D11Buffer *pBufferForArgs, + [in] UINT AlignedByteOffsetForArgs); + void Dispatch( + [in] UINT ThreadGroupCountX, + [in] UINT ThreadGroupCountY, + [in] UINT ThreadGroupCountZ); + void DispatchIndirect( + [in] ID3D11Buffer *pBufferForArgs, + [in] UINT AlignedByteOffsetForArgs); + void RSSetState( + [in] ID3D11RasterizerState *pRasterizerState); + void RSSetViewports( + [in] UINT NumViewports, + [in] const D3D11_VIEWPORT *pViewports); + void RSSetScissorRects( + [in] UINT NumRects, + [in] const D3D11_RECT *pRects); + void CopySubresourceRegion( + [in] ID3D11Resource *pDstResource, + [in] UINT DstSubresource, + [in] UINT DstX, + [in] UINT DstY, + [in] UINT DstZ, + [in] ID3D11Resource *pSrcResource, + [in] UINT SrcSubresource, + [in] const D3D11_BOX *pSrcBox); + void CopyResource( + [in] ID3D11Resource *pDstResource, + [in] ID3D11Resource *pSrcResource); + void UpdateSubresource( + [in] ID3D11Resource *pDstResource, + [in] UINT DstSubresource, + [in] const D3D11_BOX *pDstBox, + [in] const void *pSrcData, + [in] UINT SrcRowPitch, + [in] UINT SrcDepthPitch); + void CopyStructureCount( + [in] ID3D11Buffer *pDstBuffer, + [in] UINT DstAlignedByteOffset, + [in] ID3D11UnorderedAccessView *pSrcView); + void ClearRenderTargetView( + [in] ID3D11RenderTargetView *pRenderTargetView, + [in] const FLOAT ColorRGBA[4]); + void ClearUnorderedAccessViewUint( + [in] ID3D11UnorderedAccessView *pUnorderedAccessView, + [in] const UINT Values[4]); + void ClearUnorderedAccessViewFloat( + [in] ID3D11UnorderedAccessView *pUnorderedAccessView, + [in] const FLOAT Values[4]); + void ClearDepthStencilView( + [in] ID3D11DepthStencilView *pDepthStencilView, + [in] UINT ClearFlags, + [in] FLOAT Depth, + [in] UINT8 Stencil); + void GenerateMips( + [in] ID3D11ShaderResourceView *pShaderResourceView); + void SetResourceMinLOD( + [in] ID3D11Resource *pResource, FLOAT MinLOD); + FLOAT GetResourceMinLOD( + [in] ID3D11Resource *pResource); + void ResolveSubresource( + [in] ID3D11Resource *pDstResource, + [in] UINT DstSubresource, + [in] ID3D11Resource *pSrcResource, + [in] UINT SrcSubresource, + [in] DXGI_FORMAT Format); + void ExecuteCommandList( + [in] ID3D11CommandList *pCommandList, + BOOL RestoreContextState); + void HSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D11ShaderResourceView *const *ppShaderResourceViews); + void HSSetShader( + [in] ID3D11HullShader *pHullShader, + [in] ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + void HSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D11SamplerState *const *ppSamplers); + void HSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppConstantBuffers); + void DSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D11ShaderResourceView *const *ppShaderResourceViews); + void DSSetShader( + [in] ID3D11DomainShader *pDomainShader, + [in] ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + void DSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D11SamplerState *const *ppSamplers); + void DSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppConstantBuffers); + void CSSetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [in] ID3D11ShaderResourceView *const *ppShaderResourceViews); + void CSSetUnorderedAccessViews( + [in] UINT StartSlot, + [in] UINT NumUAVs, + [in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + [in] const UINT *pUAVInitialCounts); + void CSSetShader( + [in] ID3D11ComputeShader *pComputeShader, + [in] ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + void CSSetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [in] ID3D11SamplerState *const *ppSamplers); + void CSSetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [in] ID3D11Buffer *const *ppConstantBuffers); + void VSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppConstantBuffers); + void PSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D11ShaderResourceView **ppShaderResourceViews); + void PSGetShader( + [out] ID3D11PixelShader **ppPixelShader, + [out] ID3D11ClassInstance **ppClassInstances, + [in, out] UINT *pNumClassInstances); + void PSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D11SamplerState **ppSamplers); + void VSGetShader( + [out] ID3D11VertexShader **ppVertexShader, + [out] ID3D11ClassInstance **ppClassInstances, + [in, out] UINT *pNumClassInstances); + void PSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppConstantBuffers); + void IAGetInputLayout( + [out] ID3D11InputLayout **ppInputLayout); + void IAGetVertexBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppVertexBuffers, + [out] UINT *pStrides, + [out] UINT *pOffsets); + void IAGetIndexBuffer( + [out] ID3D11Buffer **pIndexBuffer, + [out] DXGI_FORMAT* Format, + [out] UINT* Offset); + void GSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppConstantBuffers); + void GSGetShader( + [out] ID3D11GeometryShader **ppGeometryShader, + [out] ID3D11ClassInstance **ppClassInstances, + [in, out] UINT *pNumClassInstances); + void IAGetPrimitiveTopology( + [out] D3D11_PRIMITIVE_TOPOLOGY *pTopology); + void VSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D11ShaderResourceView **ppShaderResourceViews); + void VSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D11SamplerState **ppSamplers); + void GetPredication( + [out] ID3D11Predicate **ppPredicate, + [out] BOOL *pPredicateValue); + void GSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D11ShaderResourceView **ppShaderResourceViews); + void GSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D11SamplerState **ppSamplers); + void OMGetRenderTargets( + [in] UINT NumViews, + [out] ID3D11RenderTargetView **ppRenderTargetViews, + [out] ID3D11DepthStencilView **ppDepthStencilView); + void OMGetRenderTargetsAndUnorderedAccessViews( + [in] UINT NumRTVs, + [out] ID3D11RenderTargetView **ppRenderTargetViews, + [out] ID3D11DepthStencilView **ppDepthStencilView, + [in] UINT UAVStartSlot, + [in] UINT NumUAVs, + [out] ID3D11UnorderedAccessView **ppUnorderedAccessViews); + void OMGetBlendState( + [out] ID3D11BlendState **ppBlendState, + [out] FLOAT BlendFactor[4], + [out] UINT *pSampleMask); + void OMGetDepthStencilState( + [out] ID3D11DepthStencilState **ppDepthStencilState, + [out] UINT *pStencilRef); + void SOGetTargets( + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppSOTargets); + void RSGetState( + [out] ID3D11RasterizerState **ppRasterizerState); + void RSGetViewports( + [in, out] UINT *pNumViewports, + [out] D3D11_VIEWPORT *pViewports); + void RSGetScissorRects( + [in, out] UINT *pNumRects, + [out] D3D11_RECT *pRects); + void HSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D11ShaderResourceView **ppShaderResourceViews); + void HSGetShader( + [out] ID3D11HullShader **ppHullShader, + [out] ID3D11ClassInstance **ppClassInstances, + [in, out] UINT *pNumClassInstances); + void HSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D11SamplerState **ppSamplers); + void HSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppConstantBuffers); + void DSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D11ShaderResourceView **ppShaderResourceViews); + void DSGetShader( + [out] ID3D11DomainShader **ppDomainShader, + [out] ID3D11ClassInstance **ppClassInstances, + [in, out] UINT *pNumClassInstances); + void DSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D11SamplerState **ppSamplers); + void DSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppConstantBuffers); + void CSGetShaderResources( + [in] UINT StartSlot, + [in] UINT NumViews, + [out] ID3D11ShaderResourceView **ppShaderResourceViews); + void CSGetUnorderedAccessViews( + [in] UINT StartSlot, + [in] UINT NumUAVs, + [out] ID3D11UnorderedAccessView **ppUnorderedAccessViews); + void CSGetShader( + [out] ID3D11ComputeShader **ppComputeShader, + [out] ID3D11ClassInstance **ppClassInstances, + [in, out] UINT *pNumClassInstances); + void CSGetSamplers( + [in] UINT StartSlot, + [in] UINT NumSamplers, + [out] ID3D11SamplerState **ppSamplers); + void CSGetConstantBuffers( + [in] UINT StartSlot, + [in] UINT NumBuffers, + [out] ID3D11Buffer **ppConstantBuffers); + void ClearState(); + void Flush(); + D3D11_DEVICE_CONTEXT_TYPE GetType(); + UINT GetContextFlags(); + HRESULT FinishCommandList( + BOOL RestoreDeferredContextState, + [out] ID3D11CommandList **ppCommandList); +} + +[ + object, + uuid(3015a308-dcbd-47aa-a747-192486d14d4a), + local, + pointer_default(unique) +] +interface ID3D11AuthenticatedChannel : ID3D11DeviceChild +{ + HRESULT GetCertificateSize( + UINT *pCertificateSize); + HRESULT GetCertificate( + UINT CertificateSize, + BYTE *pCertificate); + void GetChannelHandle( + HANDLE *pChannelHandle); +} + +[ + object, + uuid(9b32f9ad-bdcc-40a6-a39d-d5c865845720), + local, + pointer_default(unique) +] +interface ID3D11CryptoSession : ID3D11DeviceChild +{ + void GetCryptoType( + GUID *pCryptoType); + void GetDecoderProfile( + GUID *pDecoderProfile); + HRESULT GetCertificateSize( + UINT *pCertificateSize); + HRESULT GetCertificate( + UINT CertificateSize, + BYTE *pCertificate); + void GetCryptoSessionHandle( + HANDLE *pCryptoSessionHandle); +} + +[ + object, + uuid(3c9c5b51-995d-48d1-9b8d-fa5caeded65c), + local, + pointer_default(unique) +] +interface ID3D11VideoDecoder : ID3D11DeviceChild +{ + HRESULT GetCreationParameters( + D3D11_VIDEO_DECODER_DESC *pVideoDesc, + D3D11_VIDEO_DECODER_CONFIG *pConfig); + HRESULT GetDriverHandle( + HANDLE *pDriverHandle); +} + +[ + object, + uuid(31627037-53ab-4200-9061-05faa9ab45f9), + local, + pointer_default(unique) +] +interface ID3D11VideoProcessorEnumerator : ID3D11DeviceChild +{ + HRESULT GetVideoProcessorContentDesc( + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc); + HRESULT CheckVideoProcessorFormat( + DXGI_FORMAT Format, + UINT *pFlags); + HRESULT GetVideoProcessorCaps( + D3D11_VIDEO_PROCESSOR_CAPS *pCaps); + HRESULT GetVideoProcessorRateConversionCaps( + UINT TypeIndex, + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps); + HRESULT GetVideoProcessorCustomRate( + UINT TypeIndex, + UINT CustomRateIndex, + D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate); + HRESULT GetVideoProcessorFilterRange( + D3D11_VIDEO_PROCESSOR_FILTER Filter, + D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange); +} + +[ + object, + uuid(1d7b0652-185f-41c6-85ce-0c5be3d4ae6c), + local, + pointer_default(unique) +] +interface ID3D11VideoProcessor : ID3D11DeviceChild +{ + void GetContentDesc( + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc); + void GetRateConversionCaps( + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps); +} + +[ + object, + uuid(c2931aea-2a85-4f20-860f-fba1fd256e18), + local, + pointer_default(unique) +] +interface ID3D11VideoDecoderOutputView : ID3D11View +{ + void GetDesc( + D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc); +} + +[ + object, + uuid(11ec5a5f-51dc-4945-ab34-6e8c21300ea5), + local, + pointer_default(unique) +] +interface ID3D11VideoProcessorInputView : ID3D11View +{ + void GetDesc( + D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc); +} + +[ + object, + uuid(a048285e-25a9-4527-bd93-d68b68c44254), + local, + pointer_default(unique) +] +interface ID3D11VideoProcessorOutputView : ID3D11View +{ + void GetDesc( + D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc); +} + +[ + object, + uuid(10ec4d5b-975a-4689-b9e4-d0aac30fe333), + local, + pointer_default(unique) +] +interface ID3D11VideoDevice : IUnknown +{ + HRESULT CreateVideoDecoder( + const D3D11_VIDEO_DECODER_DESC *pVideoDesc, + const D3D11_VIDEO_DECODER_CONFIG *pConfig, + ID3D11VideoDecoder **ppDecoder); + HRESULT CreateVideoProcessor( + ID3D11VideoProcessorEnumerator *pEnum, + UINT RateConversionIndex, + ID3D11VideoProcessor **ppVideoProcessor); + HRESULT CreateAuthenticatedChannel( + D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType, + ID3D11AuthenticatedChannel **ppAuthenticatedChannel); + HRESULT CreateCryptoSession( + const GUID *pCryptoType, + const GUID *pDecoderProfile, + const GUID *pKeyExchangeType, + ID3D11CryptoSession **ppCryptoSession); + HRESULT CreateVideoDecoderOutputView( + ID3D11Resource *pResource, + const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoDecoderOutputView **ppVDOVView); + HRESULT CreateVideoProcessorInputView( + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorInputView **ppVPIView); + HRESULT CreateVideoProcessorOutputView( + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorOutputView **ppVPOView); + HRESULT CreateVideoProcessorEnumerator( + const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc, + ID3D11VideoProcessorEnumerator **ppEnum); + UINT GetVideoDecoderProfileCount(); + HRESULT GetVideoDecoderProfile( + UINT Index, + GUID *pDecoderProfile); + HRESULT CheckVideoDecoderFormat( + const GUID *pDecoderProfile, + DXGI_FORMAT Format, + BOOL *pSupported); + HRESULT GetVideoDecoderConfigCount( + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT *pCount); + HRESULT GetVideoDecoderConfig( + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT Index, + D3D11_VIDEO_DECODER_CONFIG *pConfig); + HRESULT GetContentProtectionCaps( + const GUID *pCryptoType, + const GUID *pDecoderProfile, + D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps); + HRESULT CheckCryptoKeyExchange( + const GUID *pCryptoType, + const GUID *pDecoderProfile, + UINT Index, + GUID *pKeyExchangeType); + HRESULT SetPrivateData( + REFGUID guid, + UINT DataSize, + const void *pData); + HRESULT SetPrivateDataInterface( + REFGUID guid, + const IUnknown *pData); +} + +[ + object, + uuid(61f21c45-3c0e-4a74-9cea-67100d9ad5e4), + local, + pointer_default(unique) +] +interface ID3D11VideoContext : ID3D11DeviceChild +{ + HRESULT GetDecoderBuffer( + [in] ID3D11VideoDecoder *decoder, + [in] D3D11_VIDEO_DECODER_BUFFER_TYPE type, + [out] UINT *buffer_size, + [out] void **buffer + ); + HRESULT ReleaseDecoderBuffer( + [in] ID3D11VideoDecoder *decoder, + [in] D3D11_VIDEO_DECODER_BUFFER_TYPE type + ); + HRESULT DecoderBeginFrame( + [in] ID3D11VideoDecoder *decoder, + [in] ID3D11VideoDecoderOutputView *view, + [in] UINT key_size, + [in] const void *key + ); + HRESULT DecoderEndFrame( + [in] ID3D11VideoDecoder *decoder + ); + HRESULT SubmitDecoderBuffers( + [in] ID3D11VideoDecoder *decoder, + [in] UINT buffers_count, + [in] const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc + ); + HRESULT DecoderExtension( + [in] ID3D11VideoDecoder *decoder, + [in] const D3D11_VIDEO_DECODER_EXTENSION *extension + ); + void VideoProcessorSetOutputTargetRect( + [in] ID3D11VideoProcessor *processor, + [in] BOOL enable, + [in] const RECT *rect + ); + void VideoProcessorSetOutputBackgroundColor( + [in] ID3D11VideoProcessor *processor, + [in] BOOL y_cb_cr, + [in] const D3D11_VIDEO_COLOR *color + ); + void VideoProcessorSetOutputColorSpace( + [in] ID3D11VideoProcessor *processor, + [in] const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space + ); + void VideoProcessorSetOutputAlphaFillMode( + [in] ID3D11VideoProcessor *processor, + [in] D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode, + [in] UINT stream_idx + ); + void VideoProcessorSetOutputConstriction( + [in] ID3D11VideoProcessor *processor, + [in] BOOL enable, + [in] SIZE size + ); + void VideoProcessorSetOutputStereoMode( + [in] ID3D11VideoProcessor *processor, + [in] BOOL enable + ); + HRESULT VideoProcessorSetOutputExtension( + [in] ID3D11VideoProcessor *processor, + [in] const GUID *guid, + [in] UINT data_size, + [in] void *data + ); + void VideoProcessorGetOutputTargetRect( + [in] ID3D11VideoProcessor *processor, + [out] BOOL *enabled, + [out] RECT *rect + ); + void VideoProcessorGetOutputBackgroundColor( + [in] ID3D11VideoProcessor *processor, + [out] BOOL *y_cb_cr, + [out] D3D11_VIDEO_COLOR *color + ); + void VideoProcessorGetOutputColorSpace( + [in] ID3D11VideoProcessor *processor, + [out] D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space + ); + void VideoProcessorGetOutputAlphaFillMode( + [in] ID3D11VideoProcessor *processor, + [out] D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode, + [out] UINT *stream_idx + ); + void VideoProcessorGetOutputConstriction( + [in] ID3D11VideoProcessor *processor, + [out] BOOL *enabled, + [out] SIZE *size + ); + void VideoProcessorGetOutputStereoMode( + [in] ID3D11VideoProcessor *processor, + [out] BOOL *enabled + ); + HRESULT VideoProcessorGetOutputExtension( + [in] ID3D11VideoProcessor *processor, + [in] const GUID *guid, + [in] UINT data_size, + [out] void *data + ); + void VideoProcessorSetStreamFrameFormat( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] D3D11_VIDEO_FRAME_FORMAT format + ); + void VideoProcessorSetStreamColorSpace( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space + ); + void VideoProcessorSetStreamOutputRate( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate, + [in] BOOL repeat, + [in] const DXGI_RATIONAL *custom_rate + ); + void VideoProcessorSetStreamSourceRect( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] const RECT *rect + ); + void VideoProcessorSetStreamDestRect( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] const RECT *rect + ); + void VideoProcessorSetStreamAlpha( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] float alpha + ); + void VideoProcessorSetStreamPalette( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] UINT entry_count, + [in] const UINT *entries + ); + void VideoProcessorSetStreamPixelAspectRatio( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] const DXGI_RATIONAL *src_aspect_ratio, + [in] const DXGI_RATIONAL *dst_aspect_ratio + ); + void VideoProcessorSetStreamLumaKey( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] float lower, + [in] float upper + ); + void VideoProcessorSetStreamStereoFormat( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format, + [in] BOOL left_view_frame0, + [in] BOOL base_view_frame0, + [in] D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode, + [in] int mono_offset + ); + void VideoProcessorSetStreamAutoProcessingMode( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable + ); + void VideoProcessorSetStreamFilter( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] D3D11_VIDEO_PROCESSOR_FILTER filter, + [in] BOOL enable, + [in] int level + ); + HRESULT VideoProcessorSetStreamExtension( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] const GUID *guid, + [in] UINT data_size, + [in] void *data + ); + void VideoProcessorGetStreamFrameFormat( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] D3D11_VIDEO_FRAME_FORMAT *format + ); + void VideoProcessorGetStreamColorSpace( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space + ); + void VideoProcessorGetStreamOutputRate( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate, + [out] BOOL *repeat, + [out] DXGI_RATIONAL *custom_rate + ); + void VideoProcessorGetStreamSourceRect( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled, + [out] RECT *rect + ); + void VideoProcessorGetStreamDestRect( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled, + [out] RECT *rect + ); + void VideoProcessorGetStreamAlpha( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled, + [out] float *alpha + ); + void VideoProcessorGetStreamPalette( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] UINT entry_count, + [out] UINT *entries + ); + void VideoProcessorGetStreamPixelAspectRatio( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled, + [out] DXGI_RATIONAL *src_aspect_ratio, + [out] DXGI_RATIONAL *dst_aspect_ratio + ); + void VideoProcessorGetStreamLumaKey( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled, + [out] float *lower, + [out] float *upper + ); + void VideoProcessorGetStreamStereoFormat( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled, + [out] D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format, + [out] BOOL *left_view_frame0, + [out] BOOL *base_view_frame0, + [out] D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode, + [out] int *mono_offset + ); + void VideoProcessorGetStreamAutoProcessingMode( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enabled + ); + void VideoProcessorGetStreamFilter( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] D3D11_VIDEO_PROCESSOR_FILTER filter, + [out] BOOL *enabled, + [out] int *level + ); + HRESULT VideoProcessorGetStreamExtension( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] const GUID *guid, + [in] UINT data_size, + [out] void *data + ); + HRESULT VideoProcessorBlt( + [in] ID3D11VideoProcessor *processor, + [in] ID3D11VideoProcessorOutputView *view, + [in] UINT frame_idx, + [in] UINT stream_count, + [in] const D3D11_VIDEO_PROCESSOR_STREAM *streams + ); + HRESULT NegotiateCryptoSessionKeyExchange( + [in] ID3D11CryptoSession *session, + [in] UINT data_size, + [in, out] void *data + ); + void EncryptionBlt( + [in] ID3D11CryptoSession *session, + [in] ID3D11Texture2D *src_surface, + [in] ID3D11Texture2D *dst_surface, + [in] UINT iv_size, + [in, out] void *iv + ); + void DecryptionBlt( + [in] ID3D11CryptoSession *session, + [in] ID3D11Texture2D *src_surface, + [in] ID3D11Texture2D *dst_surface, + [in] D3D11_ENCRYPTED_BLOCK_INFO *block_info, + [in] UINT key_size, + [in] const void *key, + [in] UINT iv_size, + [in, out] void *iv + ); + void StartSessionKeyRefresh( + [in] ID3D11CryptoSession *session, + [in] UINT random_number_size, + [out] void *random_number + ); + void FinishSessionKeyRefresh( + [in] ID3D11CryptoSession *session + ); + HRESULT GetEncryptionBltKey( + [in] ID3D11CryptoSession *session, + [in] UINT key_size, + [out] void *key + ); + HRESULT NegotiateAuthenticatedChannelKeyExchange( + [in] ID3D11AuthenticatedChannel *channel, + [in] UINT data_size, + [in, out] void *data + ); + HRESULT QueryAuthenticatedChannel( + [in] ID3D11AuthenticatedChannel *channel, + [in] UINT input_size, + [in] const void *input, + [in] UINT output_size, + [out] void *output + ); + HRESULT ConfigureAuthenticatedChannel( + [in] ID3D11AuthenticatedChannel *channel, + [in] UINT input_size, + [in] const void *input, + [out] D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output + ); + void VideoProcessorSetStreamRotation( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [in] BOOL enable, + [in] D3D11_VIDEO_PROCESSOR_ROTATION rotation + ); + void VideoProcessorGetStreamRotation( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_idx, + [out] BOOL *enable, + [out] D3D11_VIDEO_PROCESSOR_ROTATION *rotation + ); +} + +[ + object, + local, + uuid(db6f6ddb-ac77-4e88-8253-819df9bbf140) +] +interface ID3D11Device : IUnknown +{ + HRESULT CreateBuffer( + [in] const D3D11_BUFFER_DESC *pDesc, + [in] const D3D11_SUBRESOURCE_DATA *pInitialData, + [out] ID3D11Buffer **ppBuffer); + HRESULT CreateTexture1D( + [in] const D3D11_TEXTURE1D_DESC *pDesc, + [in] const D3D11_SUBRESOURCE_DATA *pInitialData, + [out] ID3D11Texture1D **ppTexture1D); + HRESULT CreateTexture2D( + [in] const D3D11_TEXTURE2D_DESC *pDesc, + [in] const D3D11_SUBRESOURCE_DATA *pInitialData, + [out] ID3D11Texture2D **ppTexture2D); + HRESULT CreateTexture3D( + [in] const D3D11_TEXTURE3D_DESC *pDesc, + [in] const D3D11_SUBRESOURCE_DATA *pInitialData, + [out] ID3D11Texture3D **ppTexture3D); + HRESULT CreateShaderResourceView( + [in] ID3D11Resource *pResource, + [in] const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + [out] ID3D11ShaderResourceView **ppSRView); + HRESULT CreateUnorderedAccessView( + [in] ID3D11Resource *pResource, + [in] const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + [out] ID3D11UnorderedAccessView **ppUAView); + HRESULT CreateRenderTargetView( + [in] ID3D11Resource *pResource, + [in] const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + [out] ID3D11RenderTargetView **ppRTView); + HRESULT CreateDepthStencilView( + [in] ID3D11Resource *pResource, + [in] const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + [out] ID3D11DepthStencilView **ppDepthStencilView); + HRESULT CreateInputLayout( + [in] const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + [in] UINT NumElements, + [in] const void *pShaderBytecodeWithInputSignature, + [in] SIZE_T BytecodeLength, + [out] ID3D11InputLayout **ppInputLayout); + HRESULT CreateVertexShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11VertexShader **ppVertexShader); + HRESULT CreateGeometryShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11GeometryShader **ppGeometryShader); + HRESULT CreateGeometryShaderWithStreamOutput( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + [in] UINT NumEntries, + [in] const UINT *pBufferStrides, + [in] UINT NumStrides, + [in] UINT RasterizedStream, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11GeometryShader **ppGeometryShader); + HRESULT CreatePixelShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11PixelShader **ppPixelShader); + HRESULT CreateHullShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11HullShader **ppHullShader); + HRESULT CreateDomainShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11DomainShader **ppDomainShader); + HRESULT CreateComputeShader( + [in] const void *pShaderBytecode, + [in] SIZE_T BytecodeLength, + [in] ID3D11ClassLinkage *pClassLinkage, + [out] ID3D11ComputeShader **ppComputeShader); + HRESULT CreateClassLinkage( + [out] ID3D11ClassLinkage **ppLinkage); + HRESULT CreateBlendState( + [in] const D3D11_BLEND_DESC *pBlendStateDesc, + [out] ID3D11BlendState **ppBlendState); + HRESULT CreateDepthStencilState( + [in] const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + [out] ID3D11DepthStencilState **ppDepthStencilState); + HRESULT CreateRasterizerState( + [in] const D3D11_RASTERIZER_DESC *pRasterizerDesc, + [out] ID3D11RasterizerState **ppRasterizerState); + HRESULT CreateSamplerState( + [in] const D3D11_SAMPLER_DESC *pSamplerDesc, + [out] ID3D11SamplerState **ppSamplerState); + HRESULT CreateQuery( + [in] const D3D11_QUERY_DESC *pQueryDesc, + [out] ID3D11Query **ppQuery); + HRESULT CreatePredicate( + [in] const D3D11_QUERY_DESC *pPredicateDesc, + [out] ID3D11Predicate **ppPredicate); + HRESULT CreateCounter( + [in] const D3D11_COUNTER_DESC *pCounterDesc, + [out] ID3D11Counter **ppCounter); + HRESULT CreateDeferredContext( + UINT ContextFlags, + [out] ID3D11DeviceContext **ppDeferredContext); + HRESULT OpenSharedResource( + [in] HANDLE hResource, + [in] REFIID ReturnedInterface, + [out] void **ppResource); + HRESULT CheckFormatSupport( + [in] DXGI_FORMAT Format, + [out] UINT *pFormatSupport); + HRESULT CheckMultisampleQualityLevels( + [in] DXGI_FORMAT Format, + [in] UINT SampleCount, + [out] UINT *pNumQualityLevels); + void CheckCounterInfo( + [out] D3D11_COUNTER_INFO *pCounterInfo); + HRESULT CheckCounter( + [in] const D3D11_COUNTER_DESC *pDesc, + [out] D3D11_COUNTER_TYPE *pType, + [out] UINT *pActiveCounters, + [out] LPSTR szName, + [in, out] UINT *pNameLength, + [out] LPSTR szUnits, + [in, out] UINT *pUnitsLength, + [out] LPSTR szDescription, + [in, out] UINT *pDescriptionLength); + HRESULT CheckFeatureSupport( + D3D11_FEATURE Feature, + [out] void *pFeatureSupportData, + UINT FeatureSupportDataSize); + HRESULT GetPrivateData( + [in] REFGUID guid, + [in, out] UINT *pDataSize, + [out] void *pData); + HRESULT SetPrivateData( + [in] REFGUID guid, + [in] UINT DataSize, + [in] const void *pData); + HRESULT SetPrivateDataInterface( + [in] REFGUID guid, + [in] const IUnknown *pData); + D3D_FEATURE_LEVEL GetFeatureLevel(); + UINT GetCreationFlags(); + HRESULT GetDeviceRemovedReason(); + void GetImmediateContext( + [out] ID3D11DeviceContext **ppImmediateContext); + HRESULT SetExceptionMode(UINT RaiseFlags); + UINT GetExceptionMode(); +} + +typedef enum D3D11_CREATE_DEVICE_FLAG { + D3D11_CREATE_DEVICE_SINGLETHREADED = 0x0001, + D3D11_CREATE_DEVICE_DEBUG = 0x0002, + D3D11_CREATE_DEVICE_SWITCH_TO_REF = 0x0004, + D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x0008, + D3D11_CREATE_DEVICE_BGRA_SUPPORT = 0x0020, + D3D11_CREATE_DEVICE_DEBUGGABLE = 0x0040, + D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY = 0x0080, + D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT = 0x0100, + D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x0800 +} D3D11_CREATE_DEVICE_FLAG; + +const UINT D3D11_SDK_VERSION = 7; + +cpp_quote("#include ") +cpp_quote("#ifndef D3D11_IGNORE_SDK_LAYERS") +cpp_quote("# include ") +cpp_quote("#endif") +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#include ") + +const UINT _FACD3D11 = 0x87c; +cpp_quote("#define MAKE_D3D11_HRESULT(code) MAKE_HRESULT(SEVERITY_ERROR, _FACD3D11, code)") + +cpp_quote("typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,") +cpp_quote(" const D3D_FEATURE_LEVEL*,UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);") + +cpp_quote("HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,const D3D_FEATURE_LEVEL*," ) +cpp_quote(" UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);") + +cpp_quote("typedef HRESULT (WINAPI *PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,") +cpp_quote(" const D3D_FEATURE_LEVEL*,UINT,UINT,const DXGI_SWAP_CHAIN_DESC*,IDXGISwapChain**,ID3D11Device**,") +cpp_quote(" D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);") + +[local] HRESULT __stdcall D3D11CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D_DRIVER_TYPE driver_type, + HMODULE swrast, UINT flags, const D3D_FEATURE_LEVEL *feature_levels, UINT levels, UINT sdk_version, + const DXGI_SWAP_CHAIN_DESC *swapchain_desc, IDXGISwapChain **swapchain, ID3D11Device **device, + D3D_FEATURE_LEVEL *obtained_feature_level, ID3D11DeviceContext **immediate_context); diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_1.h new file mode 100644 index 0000000..a3c5f7f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_1.h @@ -0,0 +1,4229 @@ +/*** Autogenerated by WIDL 2.18 from d3d11_1.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d11_1_h__ +#define __d3d11_1_h__ + +/* Forward declarations */ + +#ifndef __ID3D11BlendState1_FWD_DEFINED__ +#define __ID3D11BlendState1_FWD_DEFINED__ +typedef interface ID3D11BlendState1 ID3D11BlendState1; +#ifdef __cplusplus +interface ID3D11BlendState1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DDeviceContextState_FWD_DEFINED__ +#define __ID3DDeviceContextState_FWD_DEFINED__ +typedef interface ID3DDeviceContextState ID3DDeviceContextState; +#ifdef __cplusplus +interface ID3DDeviceContextState; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DeviceContext1_FWD_DEFINED__ +#define __ID3D11DeviceContext1_FWD_DEFINED__ +typedef interface ID3D11DeviceContext1 ID3D11DeviceContext1; +#ifdef __cplusplus +interface ID3D11DeviceContext1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoContext1_FWD_DEFINED__ +#define __ID3D11VideoContext1_FWD_DEFINED__ +typedef interface ID3D11VideoContext1 ID3D11VideoContext1; +#ifdef __cplusplus +interface ID3D11VideoContext1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoDevice1_FWD_DEFINED__ +#define __ID3D11VideoDevice1_FWD_DEFINED__ +typedef interface ID3D11VideoDevice1 ID3D11VideoDevice1; +#ifdef __cplusplus +interface ID3D11VideoDevice1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__ +#define __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__ +typedef interface ID3D11VideoProcessorEnumerator1 ID3D11VideoProcessorEnumerator1; +#ifdef __cplusplus +interface ID3D11VideoProcessorEnumerator1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DUserDefinedAnnotation_FWD_DEFINED__ +#define __ID3DUserDefinedAnnotation_FWD_DEFINED__ +typedef interface ID3DUserDefinedAnnotation ID3DUserDefinedAnnotation; +#ifdef __cplusplus +interface ID3DUserDefinedAnnotation; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11RasterizerState1_FWD_DEFINED__ +#define __ID3D11RasterizerState1_FWD_DEFINED__ +typedef interface ID3D11RasterizerState1 ID3D11RasterizerState1; +#ifdef __cplusplus +interface ID3D11RasterizerState1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Device1_FWD_DEFINED__ +#define __ID3D11Device1_FWD_DEFINED__ +typedef interface ID3D11Device1 ID3D11Device1; +#ifdef __cplusplus +interface ID3D11Device1; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum D3D11_LOGIC_OP { + D3D11_LOGIC_OP_CLEAR = 0, + D3D11_LOGIC_OP_SET = 1, + D3D11_LOGIC_OP_COPY = 2, + D3D11_LOGIC_OP_COPY_INVERTED = 3, + D3D11_LOGIC_OP_NOOP = 4, + D3D11_LOGIC_OP_INVERT = 5, + D3D11_LOGIC_OP_AND = 6, + D3D11_LOGIC_OP_NAND = 7, + D3D11_LOGIC_OP_OR = 8, + D3D11_LOGIC_OP_NOR = 9, + D3D11_LOGIC_OP_XOR = 10, + D3D11_LOGIC_OP_EQUIV = 11, + D3D11_LOGIC_OP_AND_REVERSE = 12, + D3D11_LOGIC_OP_AND_INVERTED = 13, + D3D11_LOGIC_OP_OR_REVERSE = 14, + D3D11_LOGIC_OP_OR_INVERTED = 15 +} D3D11_LOGIC_OP; +typedef enum D3D11_COPY_FLAGS { + D3D11_COPY_NO_OVERWRITE = 0x1, + D3D11_COPY_DISCARD = 0x2 +} D3D11_COPY_FLAGS; +typedef enum D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG { + D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED = 0x1 +} D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG; +typedef enum D3D11_VIDEO_DECODER_CAPS { + D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE = 0x1, + D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME = 0x2, + D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC = 0x4, + D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED = 0x8, + D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED = 0x10 +} D3D11_VIDEO_DECODER_CAPS; +typedef enum D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS { + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION = 0x1, + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE = 0x2, + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION = 0x4, + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT = 0x8 +} D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS; +typedef enum D3D11_CRYPTO_SESSION_STATUS { + D3D11_CRYPTO_SESSION_STATUS_OK = 0x0, + D3D11_CRYPTO_SESSION_STATUS_KEY_LOST = 0x1, + D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST = 0x2 +} D3D11_CRYPTO_SESSION_STATUS; +typedef struct D3D11_RENDER_TARGET_BLEND_DESC1 { + BOOL BlendEnable; + BOOL LogicOpEnable; + D3D11_BLEND SrcBlend; + D3D11_BLEND DestBlend; + D3D11_BLEND_OP BlendOp; + D3D11_BLEND SrcBlendAlpha; + D3D11_BLEND DestBlendAlpha; + D3D11_BLEND_OP BlendOpAlpha; + D3D11_LOGIC_OP LogicOp; + UINT8 RenderTargetWriteMask; +} D3D11_RENDER_TARGET_BLEND_DESC1; +typedef struct D3D11_BLEND_DESC1 { + BOOL AlphaToCoverageEnable; + BOOL IndependentBlendEnable; + D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[8]; +} D3D11_BLEND_DESC1; +typedef struct D3D11_RASTERIZER_DESC1 { + D3D11_FILL_MODE FillMode; + D3D11_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + INT DepthBias; + FLOAT DepthBiasClamp; + FLOAT SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; + UINT ForcedSampleCount; +} D3D11_RASTERIZER_DESC1; +typedef struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { + UINT ClearSize; + UINT EncryptedSize; +} D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK; +typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1 { + D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType; + UINT DataOffset; + UINT DataSize; + void *pIV; + UINT IVSize; + D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock; + UINT SubSampleMappingCount; +} D3D11_VIDEO_DECODER_BUFFER_DESC1; +typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { + ID3D11CryptoSession *pCryptoSession; + UINT BlobSize; + void *pBlob; + GUID *pKeyInfoId; + UINT PrivateDataSize; + void *pPrivateData; +} D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION; +typedef struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { + BOOL Enable; + UINT Width; + UINT Height; + DXGI_FORMAT Format; +} D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT; +typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { + UINT PrivateDataSize; + UINT HWProtectionDataSize; + BYTE pbInput[4]; +} D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA; +typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { + UINT PrivateDataSize; + UINT MaxHWProtectionDataSize; + UINT HWProtectionDataSize; + UINT64 TransportTime; + UINT64 ExecutionTime; + BYTE pbOutput[4]; +} D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA; +typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { + UINT HWProtectionFunctionID; + D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData; + D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData; + HRESULT Status; +} D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA; +typedef struct D3D11_VIDEO_SAMPLE_DESC { + UINT Width; + UINT Height; + DXGI_FORMAT Format; + DXGI_COLOR_SPACE_TYPE ColorSpace; +} D3D11_VIDEO_SAMPLE_DESC; +/***************************************************************************** + * ID3D11BlendState1 interface + */ +#ifndef __ID3D11BlendState1_INTERFACE_DEFINED__ +#define __ID3D11BlendState1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc86fabe-da55-401d-85e7-e3c9de2877e9") +ID3D11BlendState1 : public ID3D11BlendState +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_BLEND_DESC1 *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9) +#endif +#else +typedef struct ID3D11BlendState1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11BlendState1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11BlendState1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11BlendState1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11BlendState1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11BlendState1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11BlendState1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11BlendState1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11BlendState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11BlendState1 *This, + D3D11_BLEND_DESC *pDesc); + + /*** ID3D11BlendState1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11BlendState1 *This, + D3D11_BLEND_DESC1 *pDesc); + + END_INTERFACE +} ID3D11BlendState1Vtbl; + +interface ID3D11BlendState1 { + CONST_VTBL ID3D11BlendState1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11BlendState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11BlendState1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11BlendState1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11BlendState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11BlendState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11BlendState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11BlendState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11BlendState methods ***/ +#define ID3D11BlendState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11BlendState1 methods ***/ +#define ID3D11BlendState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11BlendState1_QueryInterface(ID3D11BlendState1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11BlendState1_AddRef(ID3D11BlendState1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11BlendState1_Release(ID3D11BlendState1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11BlendState1_GetDevice(ID3D11BlendState1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11BlendState1_GetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateDataInterface(ID3D11BlendState1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11BlendState methods ***/ +static FORCEINLINE void ID3D11BlendState1_GetDesc(ID3D11BlendState1* This,D3D11_BLEND_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11BlendState1 methods ***/ +static FORCEINLINE void ID3D11BlendState1_GetDesc1(ID3D11BlendState1* This,D3D11_BLEND_DESC1 *pDesc) { + This->lpVtbl->GetDesc1(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11BlendState1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3DDeviceContextState interface + */ +#ifndef __ID3DDeviceContextState_INTERFACE_DEFINED__ +#define __ID3DDeviceContextState_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5c1e0d8a-7c23-48f9-8c59-a92958ceff11") +ID3DDeviceContextState : public ID3D11DeviceChild +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11) +#endif +#else +typedef struct ID3DDeviceContextStateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3DDeviceContextState *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3DDeviceContextState *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3DDeviceContextState *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3DDeviceContextState *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3DDeviceContextState *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3DDeviceContextState *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3DDeviceContextState *This, + REFGUID guid, + const IUnknown *pData); + + END_INTERFACE +} ID3DDeviceContextStateVtbl; + +interface ID3DDeviceContextState { + CONST_VTBL ID3DDeviceContextStateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3DDeviceContextState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3DDeviceContextState_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3DDeviceContextState_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3DDeviceContextState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3DDeviceContextState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3DDeviceContextState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3DDeviceContextState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3DDeviceContextState_QueryInterface(ID3DDeviceContextState* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3DDeviceContextState_AddRef(ID3DDeviceContextState* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3DDeviceContextState_Release(ID3DDeviceContextState* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3DDeviceContextState_GetDevice(ID3DDeviceContextState* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3DDeviceContextState_GetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateDataInterface(ID3DDeviceContextState* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +#endif +#endif + +#endif + + +#endif /* __ID3DDeviceContextState_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DeviceContext1 interface + */ +#ifndef __ID3D11DeviceContext1_INTERFACE_DEFINED__ +#define __ID3D11DeviceContext1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1") +ID3D11DeviceContext1 : public ID3D11DeviceContext +{ + virtual void STDMETHODCALLTYPE CopySubresourceRegion1( + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox, + UINT CopyFlags) = 0; + + virtual void STDMETHODCALLTYPE UpdateSubresource1( + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch, + UINT CopyFlags) = 0; + + virtual void STDMETHODCALLTYPE DiscardResource( + ID3D11Resource *pResource) = 0; + + virtual void STDMETHODCALLTYPE DiscardView( + ID3D11View *pResourceView) = 0; + + virtual void STDMETHODCALLTYPE VSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE HSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE DSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE GSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE PSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE CSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE VSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE HSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE DSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE GSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE PSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE CSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants) = 0; + + virtual void STDMETHODCALLTYPE SwapDeviceContextState( + ID3DDeviceContextState *pState, + ID3DDeviceContextState **ppPreviousState) = 0; + + virtual void STDMETHODCALLTYPE ClearView( + ID3D11View *pView, + const FLOAT Color[4], + const D3D11_RECT *pRect, + UINT NumRects) = 0; + + virtual void STDMETHODCALLTYPE DiscardView1( + ID3D11View *pResourceView, + const D3D11_RECT *pRects, + UINT NumRects) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1) +#endif +#else +typedef struct ID3D11DeviceContext1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DeviceContext1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DeviceContext1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DeviceContext1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DeviceContext1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DeviceContext1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DeviceContext1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DeviceContext1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11DeviceContext methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D11DeviceContext1 *This, + ID3D11PixelShader *pPixelShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D11DeviceContext1 *This, + ID3D11VertexShader *pVertexShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D11DeviceContext1 *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D11DeviceContext1 *This, + UINT VertexCount, + UINT StartVertexLocation); + + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pResource, + UINT Subresource, + D3D11_MAP MapType, + UINT MapFlags, + D3D11_MAPPED_SUBRESOURCE *pMappedResource); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pResource, + UINT Subresource); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D11DeviceContext1 *This, + ID3D11InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D11DeviceContext1 *This, + ID3D11Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D11DeviceContext1 *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D11DeviceContext1 *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D11DeviceContext1 *This, + ID3D11GeometryShader *pShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D11DeviceContext1 *This, + D3D11_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *Begin)( + ID3D11DeviceContext1 *This, + ID3D11Asynchronous *pAsync); + + void (STDMETHODCALLTYPE *End)( + ID3D11DeviceContext1 *This, + ID3D11Asynchronous *pAsync); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D11DeviceContext1 *This, + ID3D11Asynchronous *pAsync, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D11DeviceContext1 *This, + ID3D11Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D11DeviceContext1 *This, + UINT NumViews, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext1 *This, + UINT NumRTVs, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D11DeviceContext1 *This, + ID3D11BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D11DeviceContext1 *This, + ID3D11DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D11DeviceContext1 *This, + UINT NumBuffers, + ID3D11Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D11DeviceContext1 *This); + + void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)( + ID3D11DeviceContext1 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *DrawInstancedIndirect)( + ID3D11DeviceContext1 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *Dispatch)( + ID3D11DeviceContext1 *This, + UINT ThreadGroupCountX, + UINT ThreadGroupCountY, + UINT ThreadGroupCountZ); + + void (STDMETHODCALLTYPE *DispatchIndirect)( + ID3D11DeviceContext1 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D11DeviceContext1 *This, + ID3D11RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D11DeviceContext1 *This, + UINT NumViewports, + const D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D11DeviceContext1 *This, + UINT NumRects, + const D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pDstResource, + ID3D11Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *CopyStructureCount)( + ID3D11DeviceContext1 *This, + ID3D11Buffer *pDstBuffer, + UINT DstAlignedByteOffset, + ID3D11UnorderedAccessView *pSrcView); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D11DeviceContext1 *This, + ID3D11RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)( + ID3D11DeviceContext1 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const UINT Values[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)( + ID3D11DeviceContext1 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const FLOAT Values[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D11DeviceContext1 *This, + ID3D11DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D11DeviceContext1 *This, + ID3D11ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *SetResourceMinLOD)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pResource, + FLOAT MinLOD); + + FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *ExecuteCommandList)( + ID3D11DeviceContext1 *This, + ID3D11CommandList *pCommandList, + BOOL RestoreContextState); + + void (STDMETHODCALLTYPE *HSSetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSSetShader)( + ID3D11DeviceContext1 *This, + ID3D11HullShader *pHullShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *HSSetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSSetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSSetShader)( + ID3D11DeviceContext1 *This, + ID3D11DomainShader *pDomainShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DSSetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSSetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *CSSetShader)( + ID3D11DeviceContext1 *This, + ID3D11ComputeShader *pComputeShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *CSSetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D11DeviceContext1 *This, + ID3D11PixelShader **ppPixelShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D11DeviceContext1 *This, + ID3D11VertexShader **ppVertexShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D11DeviceContext1 *This, + ID3D11InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D11DeviceContext1 *This, + ID3D11Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D11DeviceContext1 *This, + ID3D11GeometryShader **ppGeometryShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D11DeviceContext1 *This, + D3D11_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D11DeviceContext1 *This, + ID3D11Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D11DeviceContext1 *This, + UINT NumViews, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext1 *This, + UINT NumRTVs, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D11DeviceContext1 *This, + ID3D11BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D11DeviceContext1 *This, + ID3D11DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D11DeviceContext1 *This, + UINT NumBuffers, + ID3D11Buffer **ppSOTargets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D11DeviceContext1 *This, + ID3D11RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D11DeviceContext1 *This, + UINT *pNumViewports, + D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D11DeviceContext1 *This, + UINT *pNumRects, + D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *HSGetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSGetShader)( + ID3D11DeviceContext1 *This, + ID3D11HullShader **ppHullShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *HSGetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSGetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSGetShader)( + ID3D11DeviceContext1 *This, + ID3D11DomainShader **ppDomainShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *DSGetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSGetShaderResources)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *CSGetShader)( + ID3D11DeviceContext1 *This, + ID3D11ComputeShader **ppComputeShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *CSGetSamplers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D11DeviceContext1 *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D11DeviceContext1 *This); + + D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)( + ID3D11DeviceContext1 *This); + + UINT (STDMETHODCALLTYPE *GetContextFlags)( + ID3D11DeviceContext1 *This); + + HRESULT (STDMETHODCALLTYPE *FinishCommandList)( + ID3D11DeviceContext1 *This, + BOOL RestoreDeferredContextState, + ID3D11CommandList **ppCommandList); + + /*** ID3D11DeviceContext1 methods ***/ + void (STDMETHODCALLTYPE *CopySubresourceRegion1)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *UpdateSubresource1)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *DiscardResource)( + ID3D11DeviceContext1 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *DiscardView)( + ID3D11DeviceContext1 *This, + ID3D11View *pResourceView); + + void (STDMETHODCALLTYPE *VSSetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers1)( + ID3D11DeviceContext1 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *SwapDeviceContextState)( + ID3D11DeviceContext1 *This, + ID3DDeviceContextState *pState, + ID3DDeviceContextState **ppPreviousState); + + void (STDMETHODCALLTYPE *ClearView)( + ID3D11DeviceContext1 *This, + ID3D11View *pView, + const FLOAT Color[4], + const D3D11_RECT *pRect, + UINT NumRects); + + void (STDMETHODCALLTYPE *DiscardView1)( + ID3D11DeviceContext1 *This, + ID3D11View *pResourceView, + const D3D11_RECT *pRects, + UINT NumRects); + + END_INTERFACE +} ID3D11DeviceContext1Vtbl; + +interface ID3D11DeviceContext1 { + CONST_VTBL ID3D11DeviceContext1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DeviceContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DeviceContext1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DeviceContext1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DeviceContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DeviceContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DeviceContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DeviceContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11DeviceContext methods ***/ +#define ID3D11DeviceContext1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D11DeviceContext1_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D11DeviceContext1_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) +#define ID3D11DeviceContext1_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource) +#define ID3D11DeviceContext1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D11DeviceContext1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext1_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D11DeviceContext1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync) +#define ID3D11DeviceContext1_End(This,pAsync) (This)->lpVtbl->End(This,pAsync) +#define ID3D11DeviceContext1_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags) +#define ID3D11DeviceContext1_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D11DeviceContext1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D11DeviceContext1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D11DeviceContext1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D11DeviceContext1_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D11DeviceContext1_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext1_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext1_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) +#define ID3D11DeviceContext1_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext1_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D11DeviceContext1_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D11DeviceContext1_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D11DeviceContext1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D11DeviceContext1_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D11DeviceContext1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D11DeviceContext1_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) +#define ID3D11DeviceContext1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D11DeviceContext1_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D11DeviceContext1_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D11DeviceContext1_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD) +#define ID3D11DeviceContext1_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource) +#define ID3D11DeviceContext1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D11DeviceContext1_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState) +#define ID3D11DeviceContext1_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext1_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext1_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext1_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext1_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D11DeviceContext1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext1_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D11DeviceContext1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D11DeviceContext1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D11DeviceContext1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D11DeviceContext1_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets) +#define ID3D11DeviceContext1_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D11DeviceContext1_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports) +#define ID3D11DeviceContext1_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects) +#define ID3D11DeviceContext1_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext1_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext1_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext1_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext1_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext1_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext1_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext1_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D11DeviceContext1_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D11DeviceContext1_GetType(This) (This)->lpVtbl->GetType(This) +#define ID3D11DeviceContext1_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) +#define ID3D11DeviceContext1_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList) +/*** ID3D11DeviceContext1 methods ***/ +#define ID3D11DeviceContext1_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) (This)->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) +#define ID3D11DeviceContext1_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) +#define ID3D11DeviceContext1_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource) +#define ID3D11DeviceContext1_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView) +#define ID3D11DeviceContext1_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext1_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState) +#define ID3D11DeviceContext1_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects) +#define ID3D11DeviceContext1_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext1_QueryInterface(ID3D11DeviceContext1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DeviceContext1_AddRef(ID3D11DeviceContext1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DeviceContext1_Release(ID3D11DeviceContext1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DeviceContext1_GetDevice(ID3D11DeviceContext1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DeviceContext1_GetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateDataInterface(ID3D11DeviceContext1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11DeviceContext methods ***/ +static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_PSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_PSSetShader(ID3D11DeviceContext1* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_PSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_VSSetShader(ID3D11DeviceContext1* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_DrawIndexed(ID3D11DeviceContext1* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D11DeviceContext1_Draw(ID3D11DeviceContext1* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE HRESULT ID3D11DeviceContext1_Map(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) { + return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource); +} +static FORCEINLINE void ID3D11DeviceContext1_Unmap(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource) { + This->lpVtbl->Unmap(This,pResource,Subresource); +} +static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_IASetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext1_IASetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext1_IASetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstanced(ID3D11DeviceContext1* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext1_DrawInstanced(ID3D11DeviceContext1* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_GSSetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_IASetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D11DeviceContext1_VSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_VSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_Begin(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->Begin(This,pAsync); +} +static FORCEINLINE void ID3D11DeviceContext1_End(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->End(This,pAsync); +} +static FORCEINLINE HRESULT ID3D11DeviceContext1_GetData(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags); +} +static FORCEINLINE void ID3D11DeviceContext1_SetPredication(ID3D11DeviceContext1* This,ID3D11Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext1_GSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_GSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext1_OMSetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D11DeviceContext1_OMSetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D11DeviceContext1_SOSetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext1_DrawAuto(ID3D11DeviceContext1* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext1_DrawInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext1_Dispatch(ID3D11DeviceContext1* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) { + This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ); +} +static FORCEINLINE void ID3D11DeviceContext1_DispatchIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext1_RSSetState(ID3D11DeviceContext1* This,ID3D11RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext1_RSSetViewports(ID3D11DeviceContext1* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext1_RSSetScissorRects(ID3D11DeviceContext1* This,UINT NumRects,const D3D11_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext1_CopySubresourceRegion(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D11DeviceContext1_CopyResource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D11DeviceContext1_CopyStructureCount(ID3D11DeviceContext1* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) { + This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView); +} +static FORCEINLINE void ID3D11DeviceContext1_ClearRenderTargetView(ID3D11DeviceContext1* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewUint(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext1_ClearDepthStencilView(ID3D11DeviceContext1* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D11DeviceContext1_GenerateMips(ID3D11DeviceContext1* This,ID3D11ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D11DeviceContext1_SetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource,FLOAT MinLOD) { + This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD); +} +static FORCEINLINE FLOAT ID3D11DeviceContext1_GetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource) { + return This->lpVtbl->GetResourceMinLOD(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext1_ResolveSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D11DeviceContext1_ExecuteCommandList(ID3D11DeviceContext1* This,ID3D11CommandList *pCommandList,BOOL RestoreContextState) { + This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState); +} +static FORCEINLINE void ID3D11DeviceContext1_HSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_HSSetShader(ID3D11DeviceContext1* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_HSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_DSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_DSSetShader(ID3D11DeviceContext1* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_DSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_CSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_CSSetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext1_CSSetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_CSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_PSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_PSGetShader(ID3D11DeviceContext1* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_PSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_VSGetShader(ID3D11DeviceContext1* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_IAGetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext1_IAGetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext1_IAGetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_GSGetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_IAGetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D11DeviceContext1_VSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_VSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_GetPredication(ID3D11DeviceContext1* This,ID3D11Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext1_GSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_GSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext1_OMGetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D11DeviceContext1_OMGetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D11DeviceContext1_SOGetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets); +} +static FORCEINLINE void ID3D11DeviceContext1_RSGetState(ID3D11DeviceContext1* This,ID3D11RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext1_RSGetViewports(ID3D11DeviceContext1* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext1_RSGetScissorRects(ID3D11DeviceContext1* This,UINT *pNumRects,D3D11_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext1_HSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_HSGetShader(ID3D11DeviceContext1* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_HSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_DSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_DSGetShader(ID3D11DeviceContext1* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_DSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_CSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext1_CSGetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext1_CSGetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext1_CSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext1_ClearState(ID3D11DeviceContext1* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D11DeviceContext1_Flush(ID3D11DeviceContext1* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext1_GetType(ID3D11DeviceContext1* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE UINT ID3D11DeviceContext1_GetContextFlags(ID3D11DeviceContext1* This) { + return This->lpVtbl->GetContextFlags(This); +} +static FORCEINLINE HRESULT ID3D11DeviceContext1_FinishCommandList(ID3D11DeviceContext1* This,BOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) { + return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList); +} +/*** ID3D11DeviceContext1 methods ***/ +static FORCEINLINE void ID3D11DeviceContext1_CopySubresourceRegion1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox,UINT CopyFlags) { + This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) { + This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext1_DiscardResource(ID3D11DeviceContext1* This,ID3D11Resource *pResource) { + This->lpVtbl->DiscardResource(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext1_DiscardView(ID3D11DeviceContext1* This,ID3D11View *pResourceView) { + This->lpVtbl->DiscardView(This,pResourceView); +} +static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext1_SwapDeviceContextState(ID3D11DeviceContext1* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) { + This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState); +} +static FORCEINLINE void ID3D11DeviceContext1_ClearView(ID3D11DeviceContext1* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) { + This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects); +} +static FORCEINLINE void ID3D11DeviceContext1_DiscardView1(ID3D11DeviceContext1* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) { + This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DeviceContext1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoContext1 interface + */ +#ifndef __ID3D11VideoContext1_INTERFACE_DEFINED__ +#define __ID3D11VideoContext1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoContext1, 0xa7f026da, 0xa5f8, 0x4487, 0xa5,0x64, 0x15,0xe3,0x43,0x57,0x65,0x1e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a7f026da-a5f8-4487-a564-15e34357651e") +ID3D11VideoContext1 : public ID3D11VideoContext +{ + virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers1( + ID3D11VideoDecoder *decoder, + UINT buffer_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataForNewHardwareKey( + ID3D11CryptoSession *session, + UINT input_size, + const void *input_data, + UINT64 *output_data) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckCryptoSessionStatus( + ID3D11CryptoSession *session, + D3D11_CRYPTO_SESSION_STATUS *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecoderEnableDownsampling( + ID3D11VideoDecoder *decoder, + DXGI_COLOR_SPACE_TYPE colour_space, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + UINT reference_frame_count) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecoderUpdateDownsampling( + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_SAMPLE_DESC *output_desc) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputColorSpace1( + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE colour_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputShaderUsage( + ID3D11VideoProcessor *processor, + BOOL shader_usage) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputColorSpace1( + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE *colour_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputShaderUsage( + ID3D11VideoProcessor *processor, + BOOL *shader_usage) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamColorSpace1( + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE colour_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamMirror( + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL enable, + BOOL flip_horizontal, + BOOL flip_vertical) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamColorSpace1( + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE *colour_space) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamMirror( + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL *enable, + BOOL *flip_horizontal, + BOOL *flip_vertical) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessorGetBehaviorHints( + ID3D11VideoProcessor *processor, + UINT output_width, + UINT output_height, + DXGI_FORMAT output_format, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams, + UINT *behaviour_hints) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoContext1, 0xa7f026da, 0xa5f8, 0x4487, 0xa5,0x64, 0x15,0xe3,0x43,0x57,0x65,0x1e) +#endif +#else +typedef struct ID3D11VideoContext1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoContext1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoContext1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoContext1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoContext1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoContext1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoContext1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoContext1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDecoderBuffer)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type, + UINT *buffer_size, + void **buffer); + + HRESULT (STDMETHODCALLTYPE *ReleaseDecoderBuffer)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type); + + HRESULT (STDMETHODCALLTYPE *DecoderBeginFrame)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + ID3D11VideoDecoderOutputView *view, + UINT key_size, + const void *key); + + HRESULT (STDMETHODCALLTYPE *DecoderEndFrame)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder); + + HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + UINT buffers_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc); + + HRESULT (STDMETHODCALLTYPE *DecoderExtension)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_DECODER_EXTENSION *extension); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL y_cb_cr, + const D3D11_VIDEO_COLOR *color); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode, + UINT stream_idx); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL enable, + SIZE size); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorSetOutputExtension)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL *y_cb_cr, + D3D11_VIDEO_COLOR *color); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode, + UINT *stream_idx); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL *enabled, + SIZE *size); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetOutputExtension)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT format); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate, + BOOL repeat, + const DXGI_RATIONAL *custom_rate); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float alpha); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamPalette)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + const UINT *entries); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const DXGI_RATIONAL *src_aspect_ratio, + const DXGI_RATIONAL *dst_aspect_ratio); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float lower, + float upper); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format, + BOOL left_view_frame0, + BOOL base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode, + int mono_offset); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamFilter)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL enable, + int level); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorSetStreamExtension)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT *format); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate, + BOOL *repeat, + DXGI_RATIONAL *custom_rate); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *alpha); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamPalette)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + UINT *entries); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + DXGI_RATIONAL *src_aspect_ratio, + DXGI_RATIONAL *dst_aspect_ratio); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *lower, + float *upper); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format, + BOOL *left_view_frame0, + BOOL *base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode, + int *mono_offset); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamFilter)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL *enabled, + int *level); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetStreamExtension)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorBlt)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + ID3D11VideoProcessorOutputView *view, + UINT frame_idx, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM *streams); + + HRESULT (STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *EncryptionBlt)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + UINT iv_size, + void *iv); + + void (STDMETHODCALLTYPE *DecryptionBlt)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + D3D11_ENCRYPTED_BLOCK_INFO *block_info, + UINT key_size, + const void *key, + UINT iv_size, + void *iv); + + void (STDMETHODCALLTYPE *StartSessionKeyRefresh)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + UINT random_number_size, + void *random_number); + + void (STDMETHODCALLTYPE *FinishSessionKeyRefresh)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session); + + HRESULT (STDMETHODCALLTYPE *GetEncryptionBltKey)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + UINT key_size, + void *key); + + HRESULT (STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange)( + ID3D11VideoContext1 *This, + ID3D11AuthenticatedChannel *channel, + UINT data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *QueryAuthenticatedChannel)( + ID3D11VideoContext1 *This, + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + UINT output_size, + void *output); + + HRESULT (STDMETHODCALLTYPE *ConfigureAuthenticatedChannel)( + ID3D11VideoContext1 *This, + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamRotation)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_ROTATION rotation); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamRotation)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enable, + D3D11_VIDEO_PROCESSOR_ROTATION *rotation); + + /*** ID3D11VideoContext1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers1)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + UINT buffer_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc); + + HRESULT (STDMETHODCALLTYPE *GetDataForNewHardwareKey)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + UINT input_size, + const void *input_data, + UINT64 *output_data); + + HRESULT (STDMETHODCALLTYPE *CheckCryptoSessionStatus)( + ID3D11VideoContext1 *This, + ID3D11CryptoSession *session, + D3D11_CRYPTO_SESSION_STATUS *status); + + HRESULT (STDMETHODCALLTYPE *DecoderEnableDownsampling)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + DXGI_COLOR_SPACE_TYPE colour_space, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + UINT reference_frame_count); + + HRESULT (STDMETHODCALLTYPE *DecoderUpdateDownsampling)( + ID3D11VideoContext1 *This, + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_SAMPLE_DESC *output_desc); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL shader_usage); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE *colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + BOOL *shader_usage); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamMirror)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL enable, + BOOL flip_horizontal, + BOOL flip_vertical); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE *colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamMirror)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL *enable, + BOOL *flip_horizontal, + BOOL *flip_vertical); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints)( + ID3D11VideoContext1 *This, + ID3D11VideoProcessor *processor, + UINT output_width, + UINT output_height, + DXGI_FORMAT output_format, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams, + UINT *behaviour_hints); + + END_INTERFACE +} ID3D11VideoContext1Vtbl; + +interface ID3D11VideoContext1 { + CONST_VTBL ID3D11VideoContext1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoContext1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoContext1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoContext methods ***/ +#define ID3D11VideoContext1_GetDecoderBuffer(This,decoder,type,buffer_size,buffer) (This)->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer) +#define ID3D11VideoContext1_ReleaseDecoderBuffer(This,decoder,type) (This)->lpVtbl->ReleaseDecoderBuffer(This,decoder,type) +#define ID3D11VideoContext1_DecoderBeginFrame(This,decoder,view,key_size,key) (This)->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key) +#define ID3D11VideoContext1_DecoderEndFrame(This,decoder) (This)->lpVtbl->DecoderEndFrame(This,decoder) +#define ID3D11VideoContext1_SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) +#define ID3D11VideoContext1_DecoderExtension(This,decoder,extension) (This)->lpVtbl->DecoderExtension(This,decoder,extension) +#define ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(This,processor,enable,rect) (This)->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect) +#define ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) +#define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space) +#define ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) +#define ID3D11VideoContext1_VideoProcessorSetOutputConstriction(This,processor,enable,size) (This)->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size) +#define ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(This,processor,enable) (This)->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable) +#define ID3D11VideoContext1_VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) +#define ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) (This)->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) +#define ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) +#define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space) +#define ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) +#define ID3D11VideoContext1_VideoProcessorGetOutputConstriction(This,processor,enabled,size) (This)->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size) +#define ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(This,processor,enabled) (This)->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled) +#define ID3D11VideoContext1_VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) +#define ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) +#define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) +#define ID3D11VideoContext1_VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) +#define ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) +#define ID3D11VideoContext1_VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) +#define ID3D11VideoContext1_VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) (This)->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) +#define ID3D11VideoContext1_VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) +#define ID3D11VideoContext1_VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) +#define ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) (This)->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) +#define ID3D11VideoContext1_VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) +#define ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) (This)->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) +#define ID3D11VideoContext1_VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) (This)->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) +#define ID3D11VideoContext1_VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) +#define ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) +#define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) +#define ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) +#define ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) +#define ID3D11VideoContext1_VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) +#define ID3D11VideoContext1_VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) (This)->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) +#define ID3D11VideoContext1_VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) +#define ID3D11VideoContext1_VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) +#define ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) (This)->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) +#define ID3D11VideoContext1_VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) +#define ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) (This)->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) +#define ID3D11VideoContext1_VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) (This)->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) +#define ID3D11VideoContext1_VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) +#define ID3D11VideoContext1_VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) (This)->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) +#define ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(This,session,data_size,data) (This)->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data) +#define ID3D11VideoContext1_EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) (This)->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) +#define ID3D11VideoContext1_DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) (This)->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) +#define ID3D11VideoContext1_StartSessionKeyRefresh(This,session,random_number_size,random_number) (This)->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number) +#define ID3D11VideoContext1_FinishSessionKeyRefresh(This,session) (This)->lpVtbl->FinishSessionKeyRefresh(This,session) +#define ID3D11VideoContext1_GetEncryptionBltKey(This,session,key_size,key) (This)->lpVtbl->GetEncryptionBltKey(This,session,key_size,key) +#define ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) (This)->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) +#define ID3D11VideoContext1_QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) (This)->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) +#define ID3D11VideoContext1_ConfigureAuthenticatedChannel(This,channel,input_size,input,output) (This)->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output) +#define ID3D11VideoContext1_VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) +#define ID3D11VideoContext1_VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) +/*** ID3D11VideoContext1 methods ***/ +#define ID3D11VideoContext1_SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc) +#define ID3D11VideoContext1_GetDataForNewHardwareKey(This,session,input_size,input_data,output_data) (This)->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data) +#define ID3D11VideoContext1_CheckCryptoSessionStatus(This,session,status) (This)->lpVtbl->CheckCryptoSessionStatus(This,session,status) +#define ID3D11VideoContext1_DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count) (This)->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count) +#define ID3D11VideoContext1_DecoderUpdateDownsampling(This,decoder,output_desc) (This)->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc) +#define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space) +#define ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage) +#define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space) +#define ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage) +#define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space) +#define ID3D11VideoContext1_VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) +#define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space) +#define ID3D11VideoContext1_VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) +#define ID3D11VideoContext1_VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints) (This)->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext1_QueryInterface(ID3D11VideoContext1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoContext1_AddRef(ID3D11VideoContext1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoContext1_Release(ID3D11VideoContext1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoContext1_GetDevice(ID3D11VideoContext1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_GetPrivateData(ID3D11VideoContext1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_SetPrivateData(ID3D11VideoContext1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_SetPrivateDataInterface(ID3D11VideoContext1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoContext methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext1_GetDecoderBuffer(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type,UINT *buffer_size,void **buffer) { + return This->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_ReleaseDecoderBuffer(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type) { + return This->lpVtbl->ReleaseDecoderBuffer(This,decoder,type); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderBeginFrame(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,ID3D11VideoDecoderOutputView *view,UINT key_size,const void *key) { + return This->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderEndFrame(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder) { + return This->lpVtbl->DecoderEndFrame(This,decoder); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_SubmitDecoderBuffers(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,UINT buffers_count,const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc) { + return This->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderExtension(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_DECODER_EXTENSION *extension) { + return This->lpVtbl->DecoderExtension(This,decoder,extension); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL y_cb_cr,const D3D11_VIDEO_COLOR *color) { + This->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,UINT stream_idx) { + This->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputConstriction(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL enable,SIZE size) { + This->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL enable) { + This->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorSetOutputExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL *y_cb_cr,D3D11_VIDEO_COLOR *color) { + This->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,UINT *stream_idx) { + This->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputConstriction(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL *enabled,SIZE *size) { + This->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL *enabled) { + This->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetOutputExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT format) { + This->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamOutputRate(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate,BOOL repeat,const DXGI_RATIONAL *custom_rate) { + This->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamDestRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamAlpha(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,float alpha) { + This->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamPalette(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,const UINT *entries) { + This->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const DXGI_RATIONAL *src_aspect_ratio,const DXGI_RATIONAL *dst_aspect_ratio) { + This->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,float lower,float upper) { + This->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamStereoFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format,BOOL left_view_frame0,BOOL base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode,int mono_offset) { + This->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable) { + This->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamFilter(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,BOOL enable,int level) { + This->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorSetStreamExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT *format) { + This->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,BOOL *repeat,DXGI_RATIONAL *custom_rate) { + This->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamDestRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamAlpha(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,float *alpha) { + This->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamPalette(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,UINT *entries) { + This->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,DXGI_RATIONAL *src_aspect_ratio,DXGI_RATIONAL *dst_aspect_ratio) { + This->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,float *lower,float *upper) { + This->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamStereoFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format,BOOL *left_view_frame0,BOOL *base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode,int *mono_offset) { + This->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled) { + This->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamFilter(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,BOOL *enabled,int *level) { + This->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetStreamExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorBlt(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,ID3D11VideoProcessorOutputView *view,UINT frame_idx,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM *streams) { + return This->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT data_size,void *data) { + return This->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext1_EncryptionBlt(ID3D11VideoContext1* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,UINT iv_size,void *iv) { + This->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv); +} +static FORCEINLINE void ID3D11VideoContext1_DecryptionBlt(ID3D11VideoContext1* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,D3D11_ENCRYPTED_BLOCK_INFO *block_info,UINT key_size,const void *key,UINT iv_size,void *iv) { + This->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv); +} +static FORCEINLINE void ID3D11VideoContext1_StartSessionKeyRefresh(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT random_number_size,void *random_number) { + This->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number); +} +static FORCEINLINE void ID3D11VideoContext1_FinishSessionKeyRefresh(ID3D11VideoContext1* This,ID3D11CryptoSession *session) { + This->lpVtbl->FinishSessionKeyRefresh(This,session); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_GetEncryptionBltKey(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT key_size,void *key) { + return This->lpVtbl->GetEncryptionBltKey(This,session,key_size,key); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT data_size,void *data) { + return This->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_QueryAuthenticatedChannel(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,UINT output_size,void *output) { + return This->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_ConfigureAuthenticatedChannel(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output) { + return This->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamRotation(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,D3D11_VIDEO_PROCESSOR_ROTATION rotation) { + This->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamRotation(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enable,D3D11_VIDEO_PROCESSOR_ROTATION *rotation) { + This->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation); +} +/*** ID3D11VideoContext1 methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext1_SubmitDecoderBuffers1(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,UINT buffer_count,const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) { + return This->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_GetDataForNewHardwareKey(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT input_size,const void *input_data,UINT64 *output_data) { + return This->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_CheckCryptoSessionStatus(ID3D11VideoContext1* This,ID3D11CryptoSession *session,D3D11_CRYPTO_SESSION_STATUS *status) { + return This->lpVtbl->CheckCryptoSessionStatus(This,session,status); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderEnableDownsampling(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,DXGI_COLOR_SPACE_TYPE colour_space,const D3D11_VIDEO_SAMPLE_DESC *output_desc,UINT reference_frame_count) { + return This->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderUpdateDownsampling(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_SAMPLE_DESC *output_desc) { + return This->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE colour_space) { + This->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL shader_usage) { + This->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE *colour_space) { + This->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,BOOL *shader_usage) { + This->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE colour_space) { + This->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamMirror(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,BOOL enable,BOOL flip_horizontal,BOOL flip_vertical) { + This->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE *colour_space) { + This->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space); +} +static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamMirror(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,BOOL *enable,BOOL *flip_horizontal,BOOL *flip_vertical) { + This->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical); +} +static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetBehaviorHints(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT output_width,UINT output_height,DXGI_FORMAT output_format,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams,UINT *behaviour_hints) { + return This->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoContext1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoDevice1 interface + */ +#ifndef __ID3D11VideoDevice1_INTERFACE_DEFINED__ +#define __ID3D11VideoDevice1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoDevice1, 0x29da1d51, 0x1321, 0x4454, 0x80,0x4b, 0xf5,0xfc,0x9f,0x86,0x1f,0x0f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29da1d51-1321-4454-804b-f5fc9f861f0f") +ID3D11VideoDevice1 : public ID3D11VideoDevice +{ + virtual HRESULT STDMETHODCALLTYPE GetCryptoSessionPrivateDataSize( + const GUID *crypto_type, + const GUID *decoder_profile, + const GUID *key_exchange_type, + UINT *input_size, + UINT *output_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderCaps( + const GUID *decoder_profile, + UINT sample_width, + UINT sample_height, + const DXGI_RATIONAL *framerate, + UINT bitrate, + const GUID *crypto_type, + UINT *decoder_caps) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckVideoDecoderDownsampling( + const D3D11_VIDEO_DECODER_DESC *input_desc, + DXGI_COLOR_SPACE_TYPE input_colour_space, + const D3D11_VIDEO_DECODER_CONFIG *input_config, + const DXGI_RATIONAL *framerate, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + BOOL *supported, + BOOL *real_time_hint) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecommendVideoDecoderDownsampleParameters( + const D3D11_VIDEO_DECODER_DESC *input_desc, + DXGI_COLOR_SPACE_TYPE input_colour_space, + const D3D11_VIDEO_DECODER_CONFIG *input_config, + const DXGI_RATIONAL *framerate, + D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoDevice1, 0x29da1d51, 0x1321, 0x4454, 0x80,0x4b, 0xf5,0xfc,0x9f,0x86,0x1f,0x0f) +#endif +#else +typedef struct ID3D11VideoDevice1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoDevice1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoDevice1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoDevice1 *This); + + /*** ID3D11VideoDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateVideoDecoder)( + ID3D11VideoDevice1 *This, + const D3D11_VIDEO_DECODER_DESC *pVideoDesc, + const D3D11_VIDEO_DECODER_CONFIG *pConfig, + ID3D11VideoDecoder **ppDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessor)( + ID3D11VideoDevice1 *This, + ID3D11VideoProcessorEnumerator *pEnum, + UINT RateConversionIndex, + ID3D11VideoProcessor **ppVideoProcessor); + + HRESULT (STDMETHODCALLTYPE *CreateAuthenticatedChannel)( + ID3D11VideoDevice1 *This, + D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType, + ID3D11AuthenticatedChannel **ppAuthenticatedChannel); + + HRESULT (STDMETHODCALLTYPE *CreateCryptoSession)( + ID3D11VideoDevice1 *This, + const GUID *pCryptoType, + const GUID *pDecoderProfile, + const GUID *pKeyExchangeType, + ID3D11CryptoSession **ppCryptoSession); + + HRESULT (STDMETHODCALLTYPE *CreateVideoDecoderOutputView)( + ID3D11VideoDevice1 *This, + ID3D11Resource *pResource, + const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoDecoderOutputView **ppVDOVView); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorInputView)( + ID3D11VideoDevice1 *This, + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorInputView **ppVPIView); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorOutputView)( + ID3D11VideoDevice1 *This, + ID3D11Resource *pResource, + ID3D11VideoProcessorEnumerator *pEnum, + const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc, + ID3D11VideoProcessorOutputView **ppVPOView); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorEnumerator)( + ID3D11VideoDevice1 *This, + const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc, + ID3D11VideoProcessorEnumerator **ppEnum); + + UINT (STDMETHODCALLTYPE *GetVideoDecoderProfileCount)( + ID3D11VideoDevice1 *This); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderProfile)( + ID3D11VideoDevice1 *This, + UINT Index, + GUID *pDecoderProfile); + + HRESULT (STDMETHODCALLTYPE *CheckVideoDecoderFormat)( + ID3D11VideoDevice1 *This, + const GUID *pDecoderProfile, + DXGI_FORMAT Format, + BOOL *pSupported); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfigCount)( + ID3D11VideoDevice1 *This, + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfig)( + ID3D11VideoDevice1 *This, + const D3D11_VIDEO_DECODER_DESC *pDesc, + UINT Index, + D3D11_VIDEO_DECODER_CONFIG *pConfig); + + HRESULT (STDMETHODCALLTYPE *GetContentProtectionCaps)( + ID3D11VideoDevice1 *This, + const GUID *pCryptoType, + const GUID *pDecoderProfile, + D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *CheckCryptoKeyExchange)( + ID3D11VideoDevice1 *This, + const GUID *pCryptoType, + const GUID *pDecoderProfile, + UINT Index, + GUID *pKeyExchangeType); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoDevice1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoDevice1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCryptoSessionPrivateDataSize)( + ID3D11VideoDevice1 *This, + const GUID *crypto_type, + const GUID *decoder_profile, + const GUID *key_exchange_type, + UINT *input_size, + UINT *output_size); + + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderCaps)( + ID3D11VideoDevice1 *This, + const GUID *decoder_profile, + UINT sample_width, + UINT sample_height, + const DXGI_RATIONAL *framerate, + UINT bitrate, + const GUID *crypto_type, + UINT *decoder_caps); + + HRESULT (STDMETHODCALLTYPE *CheckVideoDecoderDownsampling)( + ID3D11VideoDevice1 *This, + const D3D11_VIDEO_DECODER_DESC *input_desc, + DXGI_COLOR_SPACE_TYPE input_colour_space, + const D3D11_VIDEO_DECODER_CONFIG *input_config, + const DXGI_RATIONAL *framerate, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + BOOL *supported, + BOOL *real_time_hint); + + HRESULT (STDMETHODCALLTYPE *RecommendVideoDecoderDownsampleParameters)( + ID3D11VideoDevice1 *This, + const D3D11_VIDEO_DECODER_DESC *input_desc, + DXGI_COLOR_SPACE_TYPE input_colour_space, + const D3D11_VIDEO_DECODER_CONFIG *input_config, + const DXGI_RATIONAL *framerate, + D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc); + + END_INTERFACE +} ID3D11VideoDevice1Vtbl; + +interface ID3D11VideoDevice1 { + CONST_VTBL ID3D11VideoDevice1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoDevice1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoDevice1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoDevice1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11VideoDevice methods ***/ +#define ID3D11VideoDevice1_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) (This)->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) +#define ID3D11VideoDevice1_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) (This)->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) +#define ID3D11VideoDevice1_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) (This)->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) +#define ID3D11VideoDevice1_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) (This)->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) +#define ID3D11VideoDevice1_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) (This)->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) +#define ID3D11VideoDevice1_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) (This)->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) +#define ID3D11VideoDevice1_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) (This)->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) +#define ID3D11VideoDevice1_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) (This)->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum) +#define ID3D11VideoDevice1_GetVideoDecoderProfileCount(This) (This)->lpVtbl->GetVideoDecoderProfileCount(This) +#define ID3D11VideoDevice1_GetVideoDecoderProfile(This,Index,pDecoderProfile) (This)->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile) +#define ID3D11VideoDevice1_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) (This)->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) +#define ID3D11VideoDevice1_GetVideoDecoderConfigCount(This,pDesc,pCount) (This)->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount) +#define ID3D11VideoDevice1_GetVideoDecoderConfig(This,pDesc,Index,pConfig) (This)->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig) +#define ID3D11VideoDevice1_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) (This)->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) +#define ID3D11VideoDevice1_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) (This)->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) +#define ID3D11VideoDevice1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoDevice1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoDevice1 methods ***/ +#define ID3D11VideoDevice1_GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size) (This)->lpVtbl->GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size) +#define ID3D11VideoDevice1_GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps) (This)->lpVtbl->GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps) +#define ID3D11VideoDevice1_CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint) (This)->lpVtbl->CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint) +#define ID3D11VideoDevice1_RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc) (This)->lpVtbl->RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDevice1_QueryInterface(ID3D11VideoDevice1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoDevice1_AddRef(ID3D11VideoDevice1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoDevice1_Release(ID3D11VideoDevice1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11VideoDevice methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoDecoder(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pVideoDesc,const D3D11_VIDEO_DECODER_CONFIG *pConfig,ID3D11VideoDecoder **ppDecoder) { + return This->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessor(ID3D11VideoDevice1* This,ID3D11VideoProcessorEnumerator *pEnum,UINT RateConversionIndex,ID3D11VideoProcessor **ppVideoProcessor) { + return This->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateAuthenticatedChannel(ID3D11VideoDevice1* This,D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,ID3D11AuthenticatedChannel **ppAuthenticatedChannel) { + return This->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateCryptoSession(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,const GUID *pKeyExchangeType,ID3D11CryptoSession **ppCryptoSession) { + return This->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoDecoderOutputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoDecoderOutputView **ppVDOVView) { + return This->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorInputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorInputView **ppVPIView) { + return This->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorOutputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorOutputView **ppVPOView) { + return This->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorEnumerator(ID3D11VideoDevice1* This,const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,ID3D11VideoProcessorEnumerator **ppEnum) { + return This->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum); +} +static FORCEINLINE UINT ID3D11VideoDevice1_GetVideoDecoderProfileCount(ID3D11VideoDevice1* This) { + return This->lpVtbl->GetVideoDecoderProfileCount(This); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderProfile(ID3D11VideoDevice1* This,UINT Index,GUID *pDecoderProfile) { + return This->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckVideoDecoderFormat(ID3D11VideoDevice1* This,const GUID *pDecoderProfile,DXGI_FORMAT Format,BOOL *pSupported) { + return This->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderConfigCount(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT *pCount) { + return This->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderConfig(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT Index,D3D11_VIDEO_DECODER_CONFIG *pConfig) { + return This->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_GetContentProtectionCaps(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps) { + return This->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckCryptoKeyExchange(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,UINT Index,GUID *pKeyExchangeType) { + return This->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_SetPrivateData(ID3D11VideoDevice1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_SetPrivateDataInterface(ID3D11VideoDevice1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoDevice1 methods ***/ +static FORCEINLINE HRESULT ID3D11VideoDevice1_GetCryptoSessionPrivateDataSize(ID3D11VideoDevice1* This,const GUID *crypto_type,const GUID *decoder_profile,const GUID *key_exchange_type,UINT *input_size,UINT *output_size) { + return This->lpVtbl->GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderCaps(ID3D11VideoDevice1* This,const GUID *decoder_profile,UINT sample_width,UINT sample_height,const DXGI_RATIONAL *framerate,UINT bitrate,const GUID *crypto_type,UINT *decoder_caps) { + return This->lpVtbl->GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckVideoDecoderDownsampling(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *input_desc,DXGI_COLOR_SPACE_TYPE input_colour_space,const D3D11_VIDEO_DECODER_CONFIG *input_config,const DXGI_RATIONAL *framerate,const D3D11_VIDEO_SAMPLE_DESC *output_desc,BOOL *supported,BOOL *real_time_hint) { + return This->lpVtbl->CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint); +} +static FORCEINLINE HRESULT ID3D11VideoDevice1_RecommendVideoDecoderDownsampleParameters(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *input_desc,DXGI_COLOR_SPACE_TYPE input_colour_space,const D3D11_VIDEO_DECODER_CONFIG *input_config,const DXGI_RATIONAL *framerate,D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc) { + return This->lpVtbl->RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoDevice1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoProcessorEnumerator1 interface + */ +#ifndef __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__ +#define __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoProcessorEnumerator1, 0x465217f2, 0x5568, 0x43cf, 0xb5,0xb9, 0xf6,0x1d,0x54,0x53,0x1c,0xa1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("465217f2-5568-43cf-b5b9-f61d54531ca1") +ID3D11VideoProcessorEnumerator1 : public ID3D11VideoProcessorEnumerator +{ + virtual HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormatConversion( + DXGI_FORMAT input_format, + DXGI_COLOR_SPACE_TYPE input_colour_space, + DXGI_FORMAT output_format, + DXGI_COLOR_SPACE_TYPE output_colour_space, + BOOL *supported) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoProcessorEnumerator1, 0x465217f2, 0x5568, 0x43cf, 0xb5,0xb9, 0xf6,0x1d,0x54,0x53,0x1c,0xa1) +#endif +#else +typedef struct ID3D11VideoProcessorEnumerator1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoProcessorEnumerator1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoProcessorEnumerator1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoProcessorEnumerator1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoProcessorEnumerator1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoProcessorEnumerator1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoProcessorEnumerator1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoProcessorEnumerator1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoProcessorEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorContentDesc)( + ID3D11VideoProcessorEnumerator1 *This, + D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc); + + HRESULT (STDMETHODCALLTYPE *CheckVideoProcessorFormat)( + ID3D11VideoProcessorEnumerator1 *This, + DXGI_FORMAT Format, + UINT *pFlags); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)( + ID3D11VideoProcessorEnumerator1 *This, + D3D11_VIDEO_PROCESSOR_CAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorRateConversionCaps)( + ID3D11VideoProcessorEnumerator1 *This, + UINT TypeIndex, + D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCustomRate)( + ID3D11VideoProcessorEnumerator1 *This, + UINT TypeIndex, + UINT CustomRateIndex, + D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorFilterRange)( + ID3D11VideoProcessorEnumerator1 *This, + D3D11_VIDEO_PROCESSOR_FILTER Filter, + D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange); + + /*** ID3D11VideoProcessorEnumerator1 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckVideoProcessorFormatConversion)( + ID3D11VideoProcessorEnumerator1 *This, + DXGI_FORMAT input_format, + DXGI_COLOR_SPACE_TYPE input_colour_space, + DXGI_FORMAT output_format, + DXGI_COLOR_SPACE_TYPE output_colour_space, + BOOL *supported); + + END_INTERFACE +} ID3D11VideoProcessorEnumerator1Vtbl; + +interface ID3D11VideoProcessorEnumerator1 { + CONST_VTBL ID3D11VideoProcessorEnumerator1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoProcessorEnumerator1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoProcessorEnumerator1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoProcessorEnumerator1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoProcessorEnumerator1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoProcessorEnumerator1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoProcessorEnumerator1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoProcessorEnumerator methods ***/ +#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(This,pContentDesc) (This)->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc) +#define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(This,Format,pFlags) (This)->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags) +#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(This,pCaps) (This)->lpVtbl->GetVideoProcessorCaps(This,pCaps) +#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) (This)->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) +#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) (This)->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) +#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(This,Filter,pRange) (This)->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange) +/*** ID3D11VideoProcessorEnumerator1 methods ***/ +#define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported) (This)->lpVtbl->CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_QueryInterface(ID3D11VideoProcessorEnumerator1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator1_AddRef(ID3D11VideoProcessorEnumerator1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator1_Release(ID3D11VideoProcessorEnumerator1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoProcessorEnumerator1_GetDevice(ID3D11VideoProcessorEnumerator1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetPrivateData(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_SetPrivateData(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoProcessorEnumerator methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc) { + return This->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(ID3D11VideoProcessorEnumerator1* This,DXGI_FORMAT Format,UINT *pFlags) { + return This->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_CAPS *pCaps) { + return This->lpVtbl->GetVideoProcessorCaps(This,pCaps); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(ID3D11VideoProcessorEnumerator1* This,UINT TypeIndex,D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) { + return This->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(ID3D11VideoProcessorEnumerator1* This,UINT TypeIndex,UINT CustomRateIndex,D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate) { + return This->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate); +} +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_FILTER Filter,D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange) { + return This->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange); +} +/*** ID3D11VideoProcessorEnumerator1 methods ***/ +static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormatConversion(ID3D11VideoProcessorEnumerator1* This,DXGI_FORMAT input_format,DXGI_COLOR_SPACE_TYPE input_colour_space,DXGI_FORMAT output_format,DXGI_COLOR_SPACE_TYPE output_colour_space,BOOL *supported) { + return This->lpVtbl->CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3DUserDefinedAnnotation interface + */ +#ifndef __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ +#define __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab") +ID3DUserDefinedAnnotation : public IUnknown +{ + virtual INT STDMETHODCALLTYPE BeginEvent( + LPCWSTR Name) = 0; + + virtual INT STDMETHODCALLTYPE EndEvent( + ) = 0; + + virtual void STDMETHODCALLTYPE SetMarker( + LPCWSTR Name) = 0; + + virtual BOOL STDMETHODCALLTYPE GetStatus( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab) +#endif +#else +typedef struct ID3DUserDefinedAnnotationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3DUserDefinedAnnotation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3DUserDefinedAnnotation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3DUserDefinedAnnotation *This); + + /*** ID3DUserDefinedAnnotation methods ***/ + INT (STDMETHODCALLTYPE *BeginEvent)( + ID3DUserDefinedAnnotation *This, + LPCWSTR Name); + + INT (STDMETHODCALLTYPE *EndEvent)( + ID3DUserDefinedAnnotation *This); + + void (STDMETHODCALLTYPE *SetMarker)( + ID3DUserDefinedAnnotation *This, + LPCWSTR Name); + + BOOL (STDMETHODCALLTYPE *GetStatus)( + ID3DUserDefinedAnnotation *This); + + END_INTERFACE +} ID3DUserDefinedAnnotationVtbl; + +interface ID3DUserDefinedAnnotation { + CONST_VTBL ID3DUserDefinedAnnotationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3DUserDefinedAnnotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3DUserDefinedAnnotation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3DUserDefinedAnnotation_Release(This) (This)->lpVtbl->Release(This) +/*** ID3DUserDefinedAnnotation methods ***/ +#define ID3DUserDefinedAnnotation_BeginEvent(This,Name) (This)->lpVtbl->BeginEvent(This,Name) +#define ID3DUserDefinedAnnotation_EndEvent(This) (This)->lpVtbl->EndEvent(This) +#define ID3DUserDefinedAnnotation_SetMarker(This,Name) (This)->lpVtbl->SetMarker(This,Name) +#define ID3DUserDefinedAnnotation_GetStatus(This) (This)->lpVtbl->GetStatus(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3DUserDefinedAnnotation_QueryInterface(ID3DUserDefinedAnnotation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3DUserDefinedAnnotation_AddRef(ID3DUserDefinedAnnotation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3DUserDefinedAnnotation_Release(ID3DUserDefinedAnnotation* This) { + return This->lpVtbl->Release(This); +} +/*** ID3DUserDefinedAnnotation methods ***/ +static FORCEINLINE INT ID3DUserDefinedAnnotation_BeginEvent(ID3DUserDefinedAnnotation* This,LPCWSTR Name) { + return This->lpVtbl->BeginEvent(This,Name); +} +static FORCEINLINE INT ID3DUserDefinedAnnotation_EndEvent(ID3DUserDefinedAnnotation* This) { + return This->lpVtbl->EndEvent(This); +} +static FORCEINLINE void ID3DUserDefinedAnnotation_SetMarker(ID3DUserDefinedAnnotation* This,LPCWSTR Name) { + This->lpVtbl->SetMarker(This,Name); +} +static FORCEINLINE BOOL ID3DUserDefinedAnnotation_GetStatus(ID3DUserDefinedAnnotation* This) { + return This->lpVtbl->GetStatus(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11RasterizerState1 interface + */ +#ifndef __ID3D11RasterizerState1_INTERFACE_DEFINED__ +#define __ID3D11RasterizerState1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1217d7a6-5039-418c-b042-9cbe256afd6e") +ID3D11RasterizerState1 : public ID3D11RasterizerState +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_RASTERIZER_DESC1 *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e) +#endif +#else +typedef struct ID3D11RasterizerState1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11RasterizerState1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11RasterizerState1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11RasterizerState1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11RasterizerState1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11RasterizerState1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11RasterizerState1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11RasterizerState1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11RasterizerState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11RasterizerState1 *This, + D3D11_RASTERIZER_DESC *pDesc); + + /*** ID3D11RasterizerState1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11RasterizerState1 *This, + D3D11_RASTERIZER_DESC1 *pDesc); + + END_INTERFACE +} ID3D11RasterizerState1Vtbl; + +interface ID3D11RasterizerState1 { + CONST_VTBL ID3D11RasterizerState1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11RasterizerState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11RasterizerState1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11RasterizerState1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11RasterizerState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11RasterizerState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11RasterizerState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11RasterizerState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11RasterizerState methods ***/ +#define ID3D11RasterizerState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11RasterizerState1 methods ***/ +#define ID3D11RasterizerState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11RasterizerState1_QueryInterface(ID3D11RasterizerState1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11RasterizerState1_AddRef(ID3D11RasterizerState1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11RasterizerState1_Release(ID3D11RasterizerState1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11RasterizerState1_GetDevice(ID3D11RasterizerState1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11RasterizerState1_GetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateDataInterface(ID3D11RasterizerState1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11RasterizerState methods ***/ +static FORCEINLINE void ID3D11RasterizerState1_GetDesc(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11RasterizerState1 methods ***/ +static FORCEINLINE void ID3D11RasterizerState1_GetDesc1(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC1 *pDesc) { + This->lpVtbl->GetDesc1(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11RasterizerState1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Device1 interface + */ +#ifndef __ID3D11Device1_INTERFACE_DEFINED__ +#define __ID3D11Device1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686") +ID3D11Device1 : public ID3D11Device +{ + virtual void STDMETHODCALLTYPE GetImmediateContext1( + ID3D11DeviceContext1 **ppImmediateContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext1( + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBlendState1( + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState1( + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeviceContextState( + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenSharedResource1( + HANDLE hResource, + REFIID returnedInterface, + void **ppResource) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenSharedResourceByName( + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86) +#endif +#else +typedef struct ID3D11Device1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Device1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Device1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Device1 *This); + + /*** ID3D11Device methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D11Device1 *This, + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D11Device1 *This, + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D11Device1 *This, + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D11Device1 *This, + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D11Device1 *This, + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( + ID3D11Device1 *This, + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D11Device1 *This, + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D11Device1 *This, + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D11Device1 *This, + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateHullShader)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader); + + HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader); + + HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( + ID3D11Device1 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader); + + HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( + ID3D11Device1 *This, + ID3D11ClassLinkage **ppLinkage); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D11Device1 *This, + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D11Device1 *This, + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D11Device1 *This, + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D11Device1 *This, + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D11Device1 *This, + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D11Device1 *This, + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D11Device1 *This, + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( + ID3D11Device1 *This, + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D11Device1 *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D11Device1 *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D11Device1 *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D11Device1 *This, + D3D11_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D11Device1 *This, + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength); + + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + ID3D11Device1 *This, + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Device1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Device1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Device1 *This, + REFGUID guid, + const IUnknown *pData); + + D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D11Device1 *This); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D11Device1 *This); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D11Device1 *This); + + void (STDMETHODCALLTYPE *GetImmediateContext)( + ID3D11Device1 *This, + ID3D11DeviceContext **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D11Device1 *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D11Device1 *This); + + /*** ID3D11Device1 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext1)( + ID3D11Device1 *This, + ID3D11DeviceContext1 **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)( + ID3D11Device1 *This, + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( + ID3D11Device1 *This, + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)( + ID3D11Device1 *This, + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)( + ID3D11Device1 *This, + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)( + ID3D11Device1 *This, + HANDLE hResource, + REFIID returnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)( + ID3D11Device1 *This, + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource); + + END_INTERFACE +} ID3D11Device1Vtbl; + +interface ID3D11Device1 { + CONST_VTBL ID3D11Device1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Device1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Device1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Device1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Device methods ***/ +#define ID3D11Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D11Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D11Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D11Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D11Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D11Device1_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) +#define ID3D11Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D11Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D11Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D11Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) +#define ID3D11Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) +#define ID3D11Device1_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) +#define ID3D11Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) +#define ID3D11Device1_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) +#define ID3D11Device1_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) +#define ID3D11Device1_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) +#define ID3D11Device1_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) +#define ID3D11Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D11Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D11Device1_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D11Device1_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D11Device1_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D11Device1_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) +#define ID3D11Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D11Device1_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D11Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D11Device1_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D11Device1_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) +#define ID3D11Device1_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) +#define ID3D11Device1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Device1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Device1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D11Device1_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#define ID3D11Device1_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D11Device1_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D11Device1_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) +#define ID3D11Device1_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D11Device1_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +/*** ID3D11Device1 methods ***/ +#define ID3D11Device1_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext) +#define ID3D11Device1_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext) +#define ID3D11Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device1_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device1_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) +#define ID3D11Device1_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource) +#define ID3D11Device1_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Device1_QueryInterface(ID3D11Device1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Device1_AddRef(ID3D11Device1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Device1_Release(ID3D11Device1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Device methods ***/ +static FORCEINLINE HRESULT ID3D11Device1_CreateBuffer(ID3D11Device1* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateTexture1D(ID3D11Device1* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateTexture2D(ID3D11Device1* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateTexture3D(ID3D11Device1* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateShaderResourceView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateUnorderedAccessView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { + return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateRenderTargetView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateInputLayout(ID3D11Device1* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateVertexShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShaderWithStreamOutput(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreatePixelShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateHullShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { + return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateDomainShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { + return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateComputeShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { + return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateClassLinkage(ID3D11Device1* This,ID3D11ClassLinkage **ppLinkage) { + return This->lpVtbl->CreateClassLinkage(This,ppLinkage); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState(ID3D11Device1* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilState(ID3D11Device1* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState(ID3D11Device1* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateSamplerState(ID3D11Device1* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateQuery(ID3D11Device1* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D11Device1_CreatePredicate(ID3D11Device1* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource(ID3D11Device1* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device1_CheckFormatSupport(ID3D11Device1* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D11Device1_CheckMultisampleQualityLevels(ID3D11Device1* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D11Device1_CheckCounterInfo(ID3D11Device1* This,D3D11_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D11Device1_CheckCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); +} +static FORCEINLINE HRESULT ID3D11Device1_CheckFeatureSupport(ID3D11Device1* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { + return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); +} +static FORCEINLINE HRESULT ID3D11Device1_GetPrivateData(ID3D11Device1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device1_SetPrivateData(ID3D11Device1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device1_SetPrivateDataInterface(ID3D11Device1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device1_GetFeatureLevel(ID3D11Device1* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +static FORCEINLINE UINT ID3D11Device1_GetCreationFlags(ID3D11Device1* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D11Device1_GetDeviceRemovedReason(ID3D11Device1* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE void ID3D11Device1_GetImmediateContext(ID3D11Device1* This,ID3D11DeviceContext **ppImmediateContext) { + This->lpVtbl->GetImmediateContext(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device1_SetExceptionMode(ID3D11Device1* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D11Device1_GetExceptionMode(ID3D11Device1* This) { + return This->lpVtbl->GetExceptionMode(This); +} +/*** ID3D11Device1 methods ***/ +static FORCEINLINE void ID3D11Device1_GetImmediateContext1(ID3D11Device1* This,ID3D11DeviceContext1 **ppImmediateContext) { + This->lpVtbl->GetImmediateContext1(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext1(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState1(ID3D11Device1* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) { + return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState1(ID3D11Device1* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device1_CreateDeviceContextState(ID3D11Device1* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) { + return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState); +} +static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource1(ID3D11Device1* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResourceByName(ID3D11Device1* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Device1_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d11_1_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_1.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_1.idl new file mode 100644 index 0000000..4fd82f0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_1.idl @@ -0,0 +1,547 @@ +/* + * Copyright 2014 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi1_2.idl"; +import "d3dcommon.idl"; +import "d3d11.idl"; + +typedef enum D3D11_LOGIC_OP +{ + D3D11_LOGIC_OP_CLEAR = 0, + D3D11_LOGIC_OP_SET, + D3D11_LOGIC_OP_COPY, + D3D11_LOGIC_OP_COPY_INVERTED, + D3D11_LOGIC_OP_NOOP, + D3D11_LOGIC_OP_INVERT, + D3D11_LOGIC_OP_AND, + D3D11_LOGIC_OP_NAND, + D3D11_LOGIC_OP_OR, + D3D11_LOGIC_OP_NOR, + D3D11_LOGIC_OP_XOR, + D3D11_LOGIC_OP_EQUIV, + D3D11_LOGIC_OP_AND_REVERSE, + D3D11_LOGIC_OP_AND_INVERTED, + D3D11_LOGIC_OP_OR_REVERSE, + D3D11_LOGIC_OP_OR_INVERTED +} D3D11_LOGIC_OP; + +typedef enum D3D11_COPY_FLAGS +{ + D3D11_COPY_NO_OVERWRITE = 0x00000001, + D3D11_COPY_DISCARD = 0x00000002, +} D3D11_COPY_FLAGS; + +typedef enum D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG +{ + D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED = 0x1, +} D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG; + +typedef enum D3D11_VIDEO_DECODER_CAPS +{ + D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE = 0x01, + D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME = 0x02, + D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC = 0x04, + D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED = 0x08, + D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED = 0x10, +} D3D11_VIDEO_DECODER_CAPS; + +typedef enum D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS +{ + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION = 0x01, + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE = 0x02, + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION = 0x04, + D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT = 0x08, +} D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS; + +typedef enum D3D11_CRYPTO_SESSION_STATUS +{ + D3D11_CRYPTO_SESSION_STATUS_OK = 0x0, + D3D11_CRYPTO_SESSION_STATUS_KEY_LOST = 0x1, + D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST = 0x2, +} D3D11_CRYPTO_SESSION_STATUS; + +typedef struct D3D11_RENDER_TARGET_BLEND_DESC1 +{ + BOOL BlendEnable; + BOOL LogicOpEnable; + D3D11_BLEND SrcBlend; + D3D11_BLEND DestBlend; + D3D11_BLEND_OP BlendOp; + D3D11_BLEND SrcBlendAlpha; + D3D11_BLEND DestBlendAlpha; + D3D11_BLEND_OP BlendOpAlpha; + D3D11_LOGIC_OP LogicOp; + UINT8 RenderTargetWriteMask; +} D3D11_RENDER_TARGET_BLEND_DESC1; + +typedef struct D3D11_BLEND_DESC1 +{ + BOOL AlphaToCoverageEnable; + BOOL IndependentBlendEnable; + D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT]; +} D3D11_BLEND_DESC1; + +typedef struct D3D11_RASTERIZER_DESC1 +{ + D3D11_FILL_MODE FillMode; + D3D11_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + INT DepthBias; + FLOAT DepthBiasClamp; + FLOAT SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; + UINT ForcedSampleCount; +} D3D11_RASTERIZER_DESC1; + +typedef struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK +{ + UINT ClearSize; + UINT EncryptedSize; +} D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK; + +typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1 +{ + D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType; + UINT DataOffset; + UINT DataSize; + void *pIV; + UINT IVSize; + D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock; + UINT SubSampleMappingCount; +} D3D11_VIDEO_DECODER_BUFFER_DESC1; + +typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION +{ + ID3D11CryptoSession *pCryptoSession; + UINT BlobSize; + void *pBlob; + GUID *pKeyInfoId; + UINT PrivateDataSize; + void *pPrivateData; +} D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION; + +typedef struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT +{ + BOOL Enable; + UINT Width; + UINT Height; + DXGI_FORMAT Format; +} D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT; + +typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA +{ + UINT PrivateDataSize; + UINT HWProtectionDataSize; + BYTE pbInput[4]; +} D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA; + +typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA +{ + UINT PrivateDataSize; + UINT MaxHWProtectionDataSize; + UINT HWProtectionDataSize; + UINT64 TransportTime; + UINT64 ExecutionTime; + BYTE pbOutput[4]; +} D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA; + +typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA +{ + UINT HWProtectionFunctionID; + D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData; + D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData; + HRESULT Status; +} D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA; + +typedef struct D3D11_VIDEO_SAMPLE_DESC +{ + UINT Width; + UINT Height; + DXGI_FORMAT Format; + DXGI_COLOR_SPACE_TYPE ColorSpace; +} D3D11_VIDEO_SAMPLE_DESC; + +[ + uuid(cc86fabe-da55-401d-85e7-e3c9de2877e9), + object, + local, + pointer_default(unique) +] +interface ID3D11BlendState1 : ID3D11BlendState +{ + void GetDesc1(D3D11_BLEND_DESC1 *pDesc); +} + +[ + uuid(5c1e0d8a-7c23-48f9-8c59-a92958ceff11), + object, + local, + pointer_default(unique) +] +interface ID3DDeviceContextState : ID3D11DeviceChild +{ +} + +[ + uuid(bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1), + object, + local, + pointer_default(unique) +] +interface ID3D11DeviceContext1 : ID3D11DeviceContext +{ + void CopySubresourceRegion1( + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox, + UINT CopyFlags); + + void UpdateSubresource1( + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch, + UINT CopyFlags); + + void DiscardResource(ID3D11Resource *pResource); + + void DiscardView(ID3D11View *pResourceView); + + void VSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void HSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void DSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void GSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void PSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void CSSetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void VSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void HSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void DSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void GSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void PSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void CSGetConstantBuffers1( + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void SwapDeviceContextState( + ID3DDeviceContextState *pState, + ID3DDeviceContextState **ppPreviousState); + + void ClearView( + ID3D11View *pView, + const FLOAT Color[4], + const D3D11_RECT *pRect, + UINT NumRects); + + void DiscardView1( + ID3D11View *pResourceView, + const D3D11_RECT *pRects, + UINT NumRects); +} + +[ + uuid(a7f026da-a5f8-4487-a564-15e34357651e), + object, + local, + pointer_default(unique) +] +interface ID3D11VideoContext1 : ID3D11VideoContext +{ + HRESULT SubmitDecoderBuffers1( + ID3D11VideoDecoder *decoder, + UINT buffer_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc + ); + HRESULT GetDataForNewHardwareKey( + ID3D11CryptoSession *session, + UINT input_size, + const void *input_data, + UINT64 *output_data + ); + HRESULT CheckCryptoSessionStatus( + ID3D11CryptoSession *session, + D3D11_CRYPTO_SESSION_STATUS *status + ); + HRESULT DecoderEnableDownsampling( + ID3D11VideoDecoder *decoder, + DXGI_COLOR_SPACE_TYPE colour_space, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + UINT reference_frame_count + ); + HRESULT DecoderUpdateDownsampling( + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_SAMPLE_DESC *output_desc + ); + void VideoProcessorSetOutputColorSpace1( + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE colour_space + ); + void VideoProcessorSetOutputShaderUsage( + ID3D11VideoProcessor *processor, + BOOL shader_usage + ); + void VideoProcessorGetOutputColorSpace1( + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE *colour_space + ); + void VideoProcessorGetOutputShaderUsage( + ID3D11VideoProcessor *processor, + BOOL *shader_usage + ); + void VideoProcessorSetStreamColorSpace1( + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE colour_space + ); + void VideoProcessorSetStreamMirror( + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL enable, + BOOL flip_horizontal, + BOOL flip_vertical + ); + void VideoProcessorGetStreamColorSpace1( + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE *colour_space + ); + void VideoProcessorGetStreamMirror( + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL *enable, + BOOL *flip_horizontal, + BOOL *flip_vertical + ); + HRESULT VideoProcessorGetBehaviorHints( + ID3D11VideoProcessor *processor, + UINT output_width, + UINT output_height, + DXGI_FORMAT output_format, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams, + UINT *behaviour_hints + ); +} + +[ + uuid(29da1d51-1321-4454-804b-f5fc9f861f0f), + object, + local, + pointer_default(unique) +] +interface ID3D11VideoDevice1 : ID3D11VideoDevice +{ + HRESULT GetCryptoSessionPrivateDataSize( + const GUID *crypto_type, + const GUID *decoder_profile, + const GUID *key_exchange_type, + UINT *input_size, + UINT *output_size + ); + HRESULT GetVideoDecoderCaps( + const GUID *decoder_profile, + UINT sample_width, + UINT sample_height, + const DXGI_RATIONAL *framerate, + UINT bitrate, + const GUID *crypto_type, + UINT *decoder_caps + ); + HRESULT CheckVideoDecoderDownsampling( + const D3D11_VIDEO_DECODER_DESC *input_desc, + DXGI_COLOR_SPACE_TYPE input_colour_space, + const D3D11_VIDEO_DECODER_CONFIG *input_config, + const DXGI_RATIONAL *framerate, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + BOOL *supported, + BOOL *real_time_hint + ); + HRESULT RecommendVideoDecoderDownsampleParameters( + const D3D11_VIDEO_DECODER_DESC *input_desc, + DXGI_COLOR_SPACE_TYPE input_colour_space, + const D3D11_VIDEO_DECODER_CONFIG *input_config, + const DXGI_RATIONAL *framerate, + D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc + ); +} + +[ + uuid(465217f2-5568-43cf-b5b9-f61d54531ca1), + object, + local, + pointer_default(unique) +] +interface ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator +{ + HRESULT CheckVideoProcessorFormatConversion( + DXGI_FORMAT input_format, + DXGI_COLOR_SPACE_TYPE input_colour_space, + DXGI_FORMAT output_format, + DXGI_COLOR_SPACE_TYPE output_colour_space, + BOOL *supported + ); +} + +[ + uuid(b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab), + object, + local, + pointer_default(unique) +] +interface ID3DUserDefinedAnnotation : IUnknown +{ + INT BeginEvent(LPCWSTR Name); + INT EndEvent(); + void SetMarker(LPCWSTR Name); + BOOL GetStatus(); +} + +[ + uuid(1217d7a6-5039-418c-b042-9cbe256afd6e), + object, + local, + pointer_default(unique) +] +interface ID3D11RasterizerState1 : ID3D11RasterizerState +{ + void GetDesc1(D3D11_RASTERIZER_DESC1 *pDesc); +} + +[ + uuid(a04bfb29-08ef-43d6-a49c-a9bdbdcbe686), + object, + local, + pointer_default(unique) +] +interface ID3D11Device1 : ID3D11Device +{ + void GetImmediateContext1( + ID3D11DeviceContext1 **ppImmediateContext); + + HRESULT CreateDeferredContext1( + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext); + + HRESULT CreateBlendState1( + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState); + + HRESULT CreateRasterizerState1( + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState); + + HRESULT CreateDeviceContextState( + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState); + + HRESULT OpenSharedResource1( + HANDLE hResource, + REFIID returnedInterface, + void **ppResource); + + HRESULT OpenSharedResourceByName( + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_2.h new file mode 100644 index 0000000..c61fe4b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_2.h @@ -0,0 +1,2248 @@ +/*** Autogenerated by WIDL 2.18 from d3d11_2.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d11_2_h__ +#define __d3d11_2_h__ + +/* Forward declarations */ + +#ifndef __ID3D11DeviceContext2_FWD_DEFINED__ +#define __ID3D11DeviceContext2_FWD_DEFINED__ +typedef interface ID3D11DeviceContext2 ID3D11DeviceContext2; +#ifdef __cplusplus +interface ID3D11DeviceContext2; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Device2_FWD_DEFINED__ +#define __ID3D11Device2_FWD_DEFINED__ +typedef interface ID3D11Device2 ID3D11Device2; +#ifdef __cplusplus +interface ID3D11Device2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define D3D11_PACKED_TILE (0xffffffff) + +typedef enum D3D11_TILE_MAPPING_FLAG { + D3D11_TILE_MAPPING_NO_OVERWRITE = 0x1 +} D3D11_TILE_MAPPING_FLAG; +typedef enum D3D11_TILE_RANGE_FLAG { + D3D11_TILE_RANGE_NULL = 0x1, + D3D11_TILE_RANGE_SKIP = 0x2, + D3D11_TILE_RANGE_REUSE_SINGLE_TILE = 0x4 +} D3D11_TILE_RANGE_FLAG; +typedef enum D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG { + D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE = 0x1 +} D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG; +typedef enum D3D11_TILE_COPY_FLAG { + D3D11_TILE_COPY_NO_OVERWRITE = 0x1, + D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2, + D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4 +} D3D11_TILE_COPY_FLAG; +typedef struct D3D11_TILED_RESOURCE_COORDINATE { + UINT X; + UINT Y; + UINT Z; + UINT Subresource; +} D3D11_TILED_RESOURCE_COORDINATE; +typedef struct D3D11_TILE_REGION_SIZE { + UINT NumTiles; + BOOL bUseBox; + UINT Width; + UINT16 Height; + UINT16 Depth; +} D3D11_TILE_REGION_SIZE; +typedef struct D3D11_SUBRESOURCE_TILING { + UINT WidthInTiles; + UINT16 HeightInTiles; + UINT16 DepthInTiles; + UINT StartTileIndexInOverallResource; +} D3D11_SUBRESOURCE_TILING; +typedef struct D3D11_TILE_SHAPE { + UINT WidthInTexels; + UINT HeightInTexels; + UINT DepthInTexels; +} D3D11_TILE_SHAPE; +typedef struct D3D11_PACKED_MIP_DESC { + UINT8 NumStandardMips; + UINT8 NumPackedMips; + UINT NumTilesForPackedMips; + UINT StartTileIndexInOverallResource; +} D3D11_PACKED_MIP_DESC; +/***************************************************************************** + * ID3D11DeviceContext2 interface + */ +#ifndef __ID3D11DeviceContext2_INTERFACE_DEFINED__ +#define __ID3D11DeviceContext2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DeviceContext2, 0x420d5b32, 0xb90c, 0x4da4, 0xbe,0xf0, 0x35,0x9f,0x6a,0x24,0xa8,0x3a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("420d5b32-b90c-4da4-bef0-359f6a24a83a") +ID3D11DeviceContext2 : public ID3D11DeviceContext1 +{ + virtual HRESULT STDMETHODCALLTYPE UpdateTileMappings( + ID3D11Resource *resource, + UINT region_count, + const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates, + const D3D11_TILE_REGION_SIZE *region_sizes, + ID3D11Buffer *pool, + UINT range_count, + const UINT *range_flags, + const UINT *pool_start_offsets, + const UINT *range_tile_counts, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyTileMappings( + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + ID3D11Resource *src_resource, + const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate, + const D3D11_TILE_REGION_SIZE *region_size, + UINT flags) = 0; + + virtual void STDMETHODCALLTYPE CopyTiles( + ID3D11Resource *resource, + const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate, + const D3D11_TILE_REGION_SIZE *size, + ID3D11Buffer *buffer, + UINT64 start_offset, + UINT flags) = 0; + + virtual void STDMETHODCALLTYPE UpdateTiles( + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + const D3D11_TILE_REGION_SIZE *dst_region_size, + const void *src_data, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeTilePool( + ID3D11Buffer *pool, + UINT64 size) = 0; + + virtual void STDMETHODCALLTYPE TiledResourceBarrier( + ID3D11DeviceChild *before_barrier, + ID3D11DeviceChild *after_barrier) = 0; + + virtual BOOL STDMETHODCALLTYPE IsAnnotationEnabled( + ) = 0; + + virtual void STDMETHODCALLTYPE SetMarkerInt( + const WCHAR *label, + int data) = 0; + + virtual void STDMETHODCALLTYPE BeginEventInt( + const WCHAR *label, + int data) = 0; + + virtual void STDMETHODCALLTYPE EndEvent( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DeviceContext2, 0x420d5b32, 0xb90c, 0x4da4, 0xbe,0xf0, 0x35,0x9f,0x6a,0x24,0xa8,0x3a) +#endif +#else +typedef struct ID3D11DeviceContext2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DeviceContext2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DeviceContext2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DeviceContext2 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DeviceContext2 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DeviceContext2 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DeviceContext2 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DeviceContext2 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11DeviceContext methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D11DeviceContext2 *This, + ID3D11PixelShader *pPixelShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D11DeviceContext2 *This, + ID3D11VertexShader *pVertexShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D11DeviceContext2 *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D11DeviceContext2 *This, + UINT VertexCount, + UINT StartVertexLocation); + + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pResource, + UINT Subresource, + D3D11_MAP MapType, + UINT MapFlags, + D3D11_MAPPED_SUBRESOURCE *pMappedResource); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pResource, + UINT Subresource); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D11DeviceContext2 *This, + ID3D11InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D11DeviceContext2 *This, + ID3D11Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D11DeviceContext2 *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D11DeviceContext2 *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D11DeviceContext2 *This, + ID3D11GeometryShader *pShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D11DeviceContext2 *This, + D3D11_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *Begin)( + ID3D11DeviceContext2 *This, + ID3D11Asynchronous *pAsync); + + void (STDMETHODCALLTYPE *End)( + ID3D11DeviceContext2 *This, + ID3D11Asynchronous *pAsync); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D11DeviceContext2 *This, + ID3D11Asynchronous *pAsync, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D11DeviceContext2 *This, + ID3D11Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D11DeviceContext2 *This, + UINT NumViews, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext2 *This, + UINT NumRTVs, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D11DeviceContext2 *This, + ID3D11BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D11DeviceContext2 *This, + ID3D11DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D11DeviceContext2 *This, + UINT NumBuffers, + ID3D11Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D11DeviceContext2 *This); + + void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)( + ID3D11DeviceContext2 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *DrawInstancedIndirect)( + ID3D11DeviceContext2 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *Dispatch)( + ID3D11DeviceContext2 *This, + UINT ThreadGroupCountX, + UINT ThreadGroupCountY, + UINT ThreadGroupCountZ); + + void (STDMETHODCALLTYPE *DispatchIndirect)( + ID3D11DeviceContext2 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D11DeviceContext2 *This, + ID3D11RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D11DeviceContext2 *This, + UINT NumViewports, + const D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D11DeviceContext2 *This, + UINT NumRects, + const D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pDstResource, + ID3D11Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *CopyStructureCount)( + ID3D11DeviceContext2 *This, + ID3D11Buffer *pDstBuffer, + UINT DstAlignedByteOffset, + ID3D11UnorderedAccessView *pSrcView); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D11DeviceContext2 *This, + ID3D11RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)( + ID3D11DeviceContext2 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const UINT Values[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)( + ID3D11DeviceContext2 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const FLOAT Values[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D11DeviceContext2 *This, + ID3D11DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D11DeviceContext2 *This, + ID3D11ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *SetResourceMinLOD)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pResource, + FLOAT MinLOD); + + FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *ExecuteCommandList)( + ID3D11DeviceContext2 *This, + ID3D11CommandList *pCommandList, + BOOL RestoreContextState); + + void (STDMETHODCALLTYPE *HSSetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSSetShader)( + ID3D11DeviceContext2 *This, + ID3D11HullShader *pHullShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *HSSetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSSetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSSetShader)( + ID3D11DeviceContext2 *This, + ID3D11DomainShader *pDomainShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DSSetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSSetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *CSSetShader)( + ID3D11DeviceContext2 *This, + ID3D11ComputeShader *pComputeShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *CSSetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D11DeviceContext2 *This, + ID3D11PixelShader **ppPixelShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D11DeviceContext2 *This, + ID3D11VertexShader **ppVertexShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D11DeviceContext2 *This, + ID3D11InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D11DeviceContext2 *This, + ID3D11Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D11DeviceContext2 *This, + ID3D11GeometryShader **ppGeometryShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D11DeviceContext2 *This, + D3D11_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D11DeviceContext2 *This, + ID3D11Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D11DeviceContext2 *This, + UINT NumViews, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext2 *This, + UINT NumRTVs, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D11DeviceContext2 *This, + ID3D11BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D11DeviceContext2 *This, + ID3D11DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D11DeviceContext2 *This, + UINT NumBuffers, + ID3D11Buffer **ppSOTargets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D11DeviceContext2 *This, + ID3D11RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D11DeviceContext2 *This, + UINT *pNumViewports, + D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D11DeviceContext2 *This, + UINT *pNumRects, + D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *HSGetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSGetShader)( + ID3D11DeviceContext2 *This, + ID3D11HullShader **ppHullShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *HSGetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSGetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSGetShader)( + ID3D11DeviceContext2 *This, + ID3D11DomainShader **ppDomainShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *DSGetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSGetShaderResources)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *CSGetShader)( + ID3D11DeviceContext2 *This, + ID3D11ComputeShader **ppComputeShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *CSGetSamplers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D11DeviceContext2 *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D11DeviceContext2 *This); + + D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)( + ID3D11DeviceContext2 *This); + + UINT (STDMETHODCALLTYPE *GetContextFlags)( + ID3D11DeviceContext2 *This); + + HRESULT (STDMETHODCALLTYPE *FinishCommandList)( + ID3D11DeviceContext2 *This, + BOOL RestoreDeferredContextState, + ID3D11CommandList **ppCommandList); + + /*** ID3D11DeviceContext1 methods ***/ + void (STDMETHODCALLTYPE *CopySubresourceRegion1)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *UpdateSubresource1)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *DiscardResource)( + ID3D11DeviceContext2 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *DiscardView)( + ID3D11DeviceContext2 *This, + ID3D11View *pResourceView); + + void (STDMETHODCALLTYPE *VSSetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers1)( + ID3D11DeviceContext2 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *SwapDeviceContextState)( + ID3D11DeviceContext2 *This, + ID3DDeviceContextState *pState, + ID3DDeviceContextState **ppPreviousState); + + void (STDMETHODCALLTYPE *ClearView)( + ID3D11DeviceContext2 *This, + ID3D11View *pView, + const FLOAT Color[4], + const D3D11_RECT *pRect, + UINT NumRects); + + void (STDMETHODCALLTYPE *DiscardView1)( + ID3D11DeviceContext2 *This, + ID3D11View *pResourceView, + const D3D11_RECT *pRects, + UINT NumRects); + + /*** ID3D11DeviceContext2 methods ***/ + HRESULT (STDMETHODCALLTYPE *UpdateTileMappings)( + ID3D11DeviceContext2 *This, + ID3D11Resource *resource, + UINT region_count, + const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates, + const D3D11_TILE_REGION_SIZE *region_sizes, + ID3D11Buffer *pool, + UINT range_count, + const UINT *range_flags, + const UINT *pool_start_offsets, + const UINT *range_tile_counts, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *CopyTileMappings)( + ID3D11DeviceContext2 *This, + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + ID3D11Resource *src_resource, + const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate, + const D3D11_TILE_REGION_SIZE *region_size, + UINT flags); + + void (STDMETHODCALLTYPE *CopyTiles)( + ID3D11DeviceContext2 *This, + ID3D11Resource *resource, + const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate, + const D3D11_TILE_REGION_SIZE *size, + ID3D11Buffer *buffer, + UINT64 start_offset, + UINT flags); + + void (STDMETHODCALLTYPE *UpdateTiles)( + ID3D11DeviceContext2 *This, + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + const D3D11_TILE_REGION_SIZE *dst_region_size, + const void *src_data, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTilePool)( + ID3D11DeviceContext2 *This, + ID3D11Buffer *pool, + UINT64 size); + + void (STDMETHODCALLTYPE *TiledResourceBarrier)( + ID3D11DeviceContext2 *This, + ID3D11DeviceChild *before_barrier, + ID3D11DeviceChild *after_barrier); + + BOOL (STDMETHODCALLTYPE *IsAnnotationEnabled)( + ID3D11DeviceContext2 *This); + + void (STDMETHODCALLTYPE *SetMarkerInt)( + ID3D11DeviceContext2 *This, + const WCHAR *label, + int data); + + void (STDMETHODCALLTYPE *BeginEventInt)( + ID3D11DeviceContext2 *This, + const WCHAR *label, + int data); + + void (STDMETHODCALLTYPE *EndEvent)( + ID3D11DeviceContext2 *This); + + END_INTERFACE +} ID3D11DeviceContext2Vtbl; + +interface ID3D11DeviceContext2 { + CONST_VTBL ID3D11DeviceContext2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DeviceContext2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DeviceContext2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DeviceContext2_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DeviceContext2_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DeviceContext2_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DeviceContext2_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DeviceContext2_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11DeviceContext methods ***/ +#define ID3D11DeviceContext2_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext2_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext2_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D11DeviceContext2_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D11DeviceContext2_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) +#define ID3D11DeviceContext2_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource) +#define ID3D11DeviceContext2_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D11DeviceContext2_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext2_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext2_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext2_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext2_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext2_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D11DeviceContext2_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync) +#define ID3D11DeviceContext2_End(This,pAsync) (This)->lpVtbl->End(This,pAsync) +#define ID3D11DeviceContext2_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags) +#define ID3D11DeviceContext2_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D11DeviceContext2_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D11DeviceContext2_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext2_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D11DeviceContext2_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D11DeviceContext2_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D11DeviceContext2_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D11DeviceContext2_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext2_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext2_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) +#define ID3D11DeviceContext2_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext2_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D11DeviceContext2_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D11DeviceContext2_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D11DeviceContext2_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D11DeviceContext2_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D11DeviceContext2_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D11DeviceContext2_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) +#define ID3D11DeviceContext2_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D11DeviceContext2_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext2_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext2_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D11DeviceContext2_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D11DeviceContext2_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD) +#define ID3D11DeviceContext2_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource) +#define ID3D11DeviceContext2_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D11DeviceContext2_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState) +#define ID3D11DeviceContext2_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext2_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext2_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext2_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext2_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext2_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext2_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D11DeviceContext2_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext2_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext2_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext2_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D11DeviceContext2_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D11DeviceContext2_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D11DeviceContext2_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext2_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D11DeviceContext2_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D11DeviceContext2_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets) +#define ID3D11DeviceContext2_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D11DeviceContext2_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports) +#define ID3D11DeviceContext2_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects) +#define ID3D11DeviceContext2_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext2_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext2_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext2_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext2_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext2_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext2_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext2_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D11DeviceContext2_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D11DeviceContext2_GetType(This) (This)->lpVtbl->GetType(This) +#define ID3D11DeviceContext2_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) +#define ID3D11DeviceContext2_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList) +/*** ID3D11DeviceContext1 methods ***/ +#define ID3D11DeviceContext2_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) (This)->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) +#define ID3D11DeviceContext2_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) +#define ID3D11DeviceContext2_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource) +#define ID3D11DeviceContext2_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView) +#define ID3D11DeviceContext2_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext2_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState) +#define ID3D11DeviceContext2_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects) +#define ID3D11DeviceContext2_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects) +/*** ID3D11DeviceContext2 methods ***/ +#define ID3D11DeviceContext2_UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags) (This)->lpVtbl->UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags) +#define ID3D11DeviceContext2_CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags) (This)->lpVtbl->CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags) +#define ID3D11DeviceContext2_CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags) (This)->lpVtbl->CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags) +#define ID3D11DeviceContext2_UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags) (This)->lpVtbl->UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags) +#define ID3D11DeviceContext2_ResizeTilePool(This,pool,size) (This)->lpVtbl->ResizeTilePool(This,pool,size) +#define ID3D11DeviceContext2_TiledResourceBarrier(This,before_barrier,after_barrier) (This)->lpVtbl->TiledResourceBarrier(This,before_barrier,after_barrier) +#define ID3D11DeviceContext2_IsAnnotationEnabled(This) (This)->lpVtbl->IsAnnotationEnabled(This) +#define ID3D11DeviceContext2_SetMarkerInt(This,label,data) (This)->lpVtbl->SetMarkerInt(This,label,data) +#define ID3D11DeviceContext2_BeginEventInt(This,label,data) (This)->lpVtbl->BeginEventInt(This,label,data) +#define ID3D11DeviceContext2_EndEvent(This) (This)->lpVtbl->EndEvent(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext2_QueryInterface(ID3D11DeviceContext2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DeviceContext2_AddRef(ID3D11DeviceContext2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DeviceContext2_Release(ID3D11DeviceContext2* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DeviceContext2_GetDevice(ID3D11DeviceContext2* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_GetPrivateData(ID3D11DeviceContext2* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_SetPrivateData(ID3D11DeviceContext2* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_SetPrivateDataInterface(ID3D11DeviceContext2* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11DeviceContext methods ***/ +static FORCEINLINE void ID3D11DeviceContext2_VSSetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_PSSetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_PSSetShader(ID3D11DeviceContext2* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_PSSetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_VSSetShader(ID3D11DeviceContext2* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_DrawIndexed(ID3D11DeviceContext2* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D11DeviceContext2_Draw(ID3D11DeviceContext2* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_Map(ID3D11DeviceContext2* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) { + return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource); +} +static FORCEINLINE void ID3D11DeviceContext2_Unmap(ID3D11DeviceContext2* This,ID3D11Resource *pResource,UINT Subresource) { + This->lpVtbl->Unmap(This,pResource,Subresource); +} +static FORCEINLINE void ID3D11DeviceContext2_PSSetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_IASetInputLayout(ID3D11DeviceContext2* This,ID3D11InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext2_IASetVertexBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext2_IASetIndexBuffer(ID3D11DeviceContext2* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext2_DrawIndexedInstanced(ID3D11DeviceContext2* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext2_DrawInstanced(ID3D11DeviceContext2* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext2_GSSetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_GSSetShader(ID3D11DeviceContext2* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_IASetPrimitiveTopology(ID3D11DeviceContext2* This,D3D11_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D11DeviceContext2_VSSetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_VSSetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_Begin(ID3D11DeviceContext2* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->Begin(This,pAsync); +} +static FORCEINLINE void ID3D11DeviceContext2_End(ID3D11DeviceContext2* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->End(This,pAsync); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_GetData(ID3D11DeviceContext2* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags); +} +static FORCEINLINE void ID3D11DeviceContext2_SetPredication(ID3D11DeviceContext2* This,ID3D11Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext2_GSSetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_GSSetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_OMSetRenderTargets(ID3D11DeviceContext2* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext2_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext2* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext2_OMSetBlendState(ID3D11DeviceContext2* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D11DeviceContext2_OMSetDepthStencilState(ID3D11DeviceContext2* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D11DeviceContext2_SOSetTargets(ID3D11DeviceContext2* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext2_DrawAuto(ID3D11DeviceContext2* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D11DeviceContext2_DrawIndexedInstancedIndirect(ID3D11DeviceContext2* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext2_DrawInstancedIndirect(ID3D11DeviceContext2* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext2_Dispatch(ID3D11DeviceContext2* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) { + This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ); +} +static FORCEINLINE void ID3D11DeviceContext2_DispatchIndirect(ID3D11DeviceContext2* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext2_RSSetState(ID3D11DeviceContext2* This,ID3D11RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext2_RSSetViewports(ID3D11DeviceContext2* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext2_RSSetScissorRects(ID3D11DeviceContext2* This,UINT NumRects,const D3D11_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext2_CopySubresourceRegion(ID3D11DeviceContext2* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D11DeviceContext2_CopyResource(ID3D11DeviceContext2* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D11DeviceContext2_UpdateSubresource(ID3D11DeviceContext2* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D11DeviceContext2_CopyStructureCount(ID3D11DeviceContext2* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) { + This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView); +} +static FORCEINLINE void ID3D11DeviceContext2_ClearRenderTargetView(ID3D11DeviceContext2* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D11DeviceContext2_ClearUnorderedAccessViewUint(ID3D11DeviceContext2* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext2_ClearUnorderedAccessViewFloat(ID3D11DeviceContext2* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext2_ClearDepthStencilView(ID3D11DeviceContext2* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D11DeviceContext2_GenerateMips(ID3D11DeviceContext2* This,ID3D11ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D11DeviceContext2_SetResourceMinLOD(ID3D11DeviceContext2* This,ID3D11Resource *pResource,FLOAT MinLOD) { + This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD); +} +static FORCEINLINE FLOAT ID3D11DeviceContext2_GetResourceMinLOD(ID3D11DeviceContext2* This,ID3D11Resource *pResource) { + return This->lpVtbl->GetResourceMinLOD(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext2_ResolveSubresource(ID3D11DeviceContext2* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D11DeviceContext2_ExecuteCommandList(ID3D11DeviceContext2* This,ID3D11CommandList *pCommandList,BOOL RestoreContextState) { + This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState); +} +static FORCEINLINE void ID3D11DeviceContext2_HSSetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_HSSetShader(ID3D11DeviceContext2* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_HSSetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_HSSetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_DSSetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_DSSetShader(ID3D11DeviceContext2* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_DSSetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_DSSetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_CSSetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_CSSetUnorderedAccessViews(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext2_CSSetShader(ID3D11DeviceContext2* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_CSSetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_CSSetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_VSGetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_PSGetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_PSGetShader(ID3D11DeviceContext2* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_PSGetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_VSGetShader(ID3D11DeviceContext2* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_PSGetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_IAGetInputLayout(ID3D11DeviceContext2* This,ID3D11InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext2_IAGetVertexBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext2_IAGetIndexBuffer(ID3D11DeviceContext2* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext2_GSGetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_GSGetShader(ID3D11DeviceContext2* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_IAGetPrimitiveTopology(ID3D11DeviceContext2* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D11DeviceContext2_VSGetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_VSGetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_GetPredication(ID3D11DeviceContext2* This,ID3D11Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext2_GSGetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_GSGetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_OMGetRenderTargets(ID3D11DeviceContext2* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext2_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext2* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext2_OMGetBlendState(ID3D11DeviceContext2* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D11DeviceContext2_OMGetDepthStencilState(ID3D11DeviceContext2* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D11DeviceContext2_SOGetTargets(ID3D11DeviceContext2* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets); +} +static FORCEINLINE void ID3D11DeviceContext2_RSGetState(ID3D11DeviceContext2* This,ID3D11RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext2_RSGetViewports(ID3D11DeviceContext2* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext2_RSGetScissorRects(ID3D11DeviceContext2* This,UINT *pNumRects,D3D11_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext2_HSGetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_HSGetShader(ID3D11DeviceContext2* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_HSGetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_HSGetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_DSGetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_DSGetShader(ID3D11DeviceContext2* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_DSGetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_DSGetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_CSGetShaderResources(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext2_CSGetUnorderedAccessViews(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext2_CSGetShader(ID3D11DeviceContext2* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext2_CSGetSamplers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext2_CSGetConstantBuffers(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext2_ClearState(ID3D11DeviceContext2* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D11DeviceContext2_Flush(ID3D11DeviceContext2* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext2_GetType(ID3D11DeviceContext2* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE UINT ID3D11DeviceContext2_GetContextFlags(ID3D11DeviceContext2* This) { + return This->lpVtbl->GetContextFlags(This); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_FinishCommandList(ID3D11DeviceContext2* This,BOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) { + return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList); +} +/*** ID3D11DeviceContext1 methods ***/ +static FORCEINLINE void ID3D11DeviceContext2_CopySubresourceRegion1(ID3D11DeviceContext2* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox,UINT CopyFlags) { + This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext2_UpdateSubresource1(ID3D11DeviceContext2* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) { + This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext2_DiscardResource(ID3D11DeviceContext2* This,ID3D11Resource *pResource) { + This->lpVtbl->DiscardResource(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext2_DiscardView(ID3D11DeviceContext2* This,ID3D11View *pResourceView) { + This->lpVtbl->DiscardView(This,pResourceView); +} +static FORCEINLINE void ID3D11DeviceContext2_VSSetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_HSSetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_DSSetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_GSSetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_PSSetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_CSSetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_VSGetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_HSGetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_DSGetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_GSGetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_PSGetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_CSGetConstantBuffers1(ID3D11DeviceContext2* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext2_SwapDeviceContextState(ID3D11DeviceContext2* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) { + This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState); +} +static FORCEINLINE void ID3D11DeviceContext2_ClearView(ID3D11DeviceContext2* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) { + This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects); +} +static FORCEINLINE void ID3D11DeviceContext2_DiscardView1(ID3D11DeviceContext2* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) { + This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects); +} +/*** ID3D11DeviceContext2 methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext2_UpdateTileMappings(ID3D11DeviceContext2* This,ID3D11Resource *resource,UINT region_count,const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates,const D3D11_TILE_REGION_SIZE *region_sizes,ID3D11Buffer *pool,UINT range_count,const UINT *range_flags,const UINT *pool_start_offsets,const UINT *range_tile_counts,UINT flags) { + return This->lpVtbl->UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_CopyTileMappings(ID3D11DeviceContext2* This,ID3D11Resource *dst_resource,const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,ID3D11Resource *src_resource,const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate,const D3D11_TILE_REGION_SIZE *region_size,UINT flags) { + return This->lpVtbl->CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags); +} +static FORCEINLINE void ID3D11DeviceContext2_CopyTiles(ID3D11DeviceContext2* This,ID3D11Resource *resource,const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate,const D3D11_TILE_REGION_SIZE *size,ID3D11Buffer *buffer,UINT64 start_offset,UINT flags) { + This->lpVtbl->CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags); +} +static FORCEINLINE void ID3D11DeviceContext2_UpdateTiles(ID3D11DeviceContext2* This,ID3D11Resource *dst_resource,const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,const D3D11_TILE_REGION_SIZE *dst_region_size,const void *src_data,UINT flags) { + This->lpVtbl->UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags); +} +static FORCEINLINE HRESULT ID3D11DeviceContext2_ResizeTilePool(ID3D11DeviceContext2* This,ID3D11Buffer *pool,UINT64 size) { + return This->lpVtbl->ResizeTilePool(This,pool,size); +} +static FORCEINLINE void ID3D11DeviceContext2_TiledResourceBarrier(ID3D11DeviceContext2* This,ID3D11DeviceChild *before_barrier,ID3D11DeviceChild *after_barrier) { + This->lpVtbl->TiledResourceBarrier(This,before_barrier,after_barrier); +} +static FORCEINLINE BOOL ID3D11DeviceContext2_IsAnnotationEnabled(ID3D11DeviceContext2* This) { + return This->lpVtbl->IsAnnotationEnabled(This); +} +static FORCEINLINE void ID3D11DeviceContext2_SetMarkerInt(ID3D11DeviceContext2* This,const WCHAR *label,int data) { + This->lpVtbl->SetMarkerInt(This,label,data); +} +static FORCEINLINE void ID3D11DeviceContext2_BeginEventInt(ID3D11DeviceContext2* This,const WCHAR *label,int data) { + This->lpVtbl->BeginEventInt(This,label,data); +} +static FORCEINLINE void ID3D11DeviceContext2_EndEvent(ID3D11DeviceContext2* This) { + This->lpVtbl->EndEvent(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DeviceContext2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Device2 interface + */ +#ifndef __ID3D11Device2_INTERFACE_DEFINED__ +#define __ID3D11Device2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Device2, 0x9d06dffa, 0xd1e5, 0x4d07, 0x83,0xa8, 0x1b,0xb1,0x23,0xf2,0xf8,0x41); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9d06dffa-d1e5-4d07-83a8-1bb123f2f841") +ID3D11Device2 : public ID3D11Device1 +{ + virtual void STDMETHODCALLTYPE GetImmediateContext2( + ID3D11DeviceContext2 **context) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext2( + UINT flags, + ID3D11DeviceContext2 **context) = 0; + + virtual void STDMETHODCALLTYPE GetResourceTiling( + ID3D11Resource *resource, + UINT *tile_count, + D3D11_PACKED_MIP_DESC *mip_desc, + D3D11_TILE_SHAPE *tile_shape, + UINT *subresource_tiling_count, + UINT first_subresource_tiling, + D3D11_SUBRESOURCE_TILING *subresource_tiling) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels1( + DXGI_FORMAT format, + UINT sample_count, + UINT flags, + UINT *quality_level_count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Device2, 0x9d06dffa, 0xd1e5, 0x4d07, 0x83,0xa8, 0x1b,0xb1,0x23,0xf2,0xf8,0x41) +#endif +#else +typedef struct ID3D11Device2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Device2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Device2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Device2 *This); + + /*** ID3D11Device methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D11Device2 *This, + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D11Device2 *This, + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D11Device2 *This, + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D11Device2 *This, + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D11Device2 *This, + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( + ID3D11Device2 *This, + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D11Device2 *This, + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D11Device2 *This, + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D11Device2 *This, + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateHullShader)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader); + + HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader); + + HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( + ID3D11Device2 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader); + + HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( + ID3D11Device2 *This, + ID3D11ClassLinkage **ppLinkage); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D11Device2 *This, + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D11Device2 *This, + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D11Device2 *This, + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D11Device2 *This, + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D11Device2 *This, + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D11Device2 *This, + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D11Device2 *This, + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( + ID3D11Device2 *This, + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D11Device2 *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D11Device2 *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D11Device2 *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D11Device2 *This, + D3D11_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D11Device2 *This, + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength); + + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + ID3D11Device2 *This, + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Device2 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Device2 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Device2 *This, + REFGUID guid, + const IUnknown *pData); + + D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D11Device2 *This); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D11Device2 *This); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D11Device2 *This); + + void (STDMETHODCALLTYPE *GetImmediateContext)( + ID3D11Device2 *This, + ID3D11DeviceContext **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D11Device2 *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D11Device2 *This); + + /*** ID3D11Device1 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext1)( + ID3D11Device2 *This, + ID3D11DeviceContext1 **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)( + ID3D11Device2 *This, + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( + ID3D11Device2 *This, + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)( + ID3D11Device2 *This, + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)( + ID3D11Device2 *This, + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)( + ID3D11Device2 *This, + HANDLE hResource, + REFIID returnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)( + ID3D11Device2 *This, + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource); + + /*** ID3D11Device2 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext2)( + ID3D11Device2 *This, + ID3D11DeviceContext2 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext2)( + ID3D11Device2 *This, + UINT flags, + ID3D11DeviceContext2 **context); + + void (STDMETHODCALLTYPE *GetResourceTiling)( + ID3D11Device2 *This, + ID3D11Resource *resource, + UINT *tile_count, + D3D11_PACKED_MIP_DESC *mip_desc, + D3D11_TILE_SHAPE *tile_shape, + UINT *subresource_tiling_count, + UINT first_subresource_tiling, + D3D11_SUBRESOURCE_TILING *subresource_tiling); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels1)( + ID3D11Device2 *This, + DXGI_FORMAT format, + UINT sample_count, + UINT flags, + UINT *quality_level_count); + + END_INTERFACE +} ID3D11Device2Vtbl; + +interface ID3D11Device2 { + CONST_VTBL ID3D11Device2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Device2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Device2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Device2_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Device methods ***/ +#define ID3D11Device2_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D11Device2_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D11Device2_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D11Device2_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D11Device2_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D11Device2_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) +#define ID3D11Device2_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D11Device2_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D11Device2_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D11Device2_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) +#define ID3D11Device2_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) +#define ID3D11Device2_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) +#define ID3D11Device2_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) +#define ID3D11Device2_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) +#define ID3D11Device2_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) +#define ID3D11Device2_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) +#define ID3D11Device2_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) +#define ID3D11Device2_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device2_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D11Device2_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device2_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D11Device2_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D11Device2_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D11Device2_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D11Device2_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) +#define ID3D11Device2_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D11Device2_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D11Device2_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D11Device2_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D11Device2_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) +#define ID3D11Device2_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) +#define ID3D11Device2_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Device2_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Device2_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D11Device2_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#define ID3D11Device2_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D11Device2_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D11Device2_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) +#define ID3D11Device2_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D11Device2_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +/*** ID3D11Device1 methods ***/ +#define ID3D11Device2_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext) +#define ID3D11Device2_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext) +#define ID3D11Device2_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device2_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device2_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) +#define ID3D11Device2_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource) +#define ID3D11Device2_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) +/*** ID3D11Device2 methods ***/ +#define ID3D11Device2_GetImmediateContext2(This,context) (This)->lpVtbl->GetImmediateContext2(This,context) +#define ID3D11Device2_CreateDeferredContext2(This,flags,context) (This)->lpVtbl->CreateDeferredContext2(This,flags,context) +#define ID3D11Device2_GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) (This)->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) +#define ID3D11Device2_CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) (This)->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Device2_QueryInterface(ID3D11Device2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Device2_AddRef(ID3D11Device2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Device2_Release(ID3D11Device2* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Device methods ***/ +static FORCEINLINE HRESULT ID3D11Device2_CreateBuffer(ID3D11Device2* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateTexture1D(ID3D11Device2* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateTexture2D(ID3D11Device2* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateTexture3D(ID3D11Device2* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateShaderResourceView(ID3D11Device2* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateUnorderedAccessView(ID3D11Device2* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { + return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateRenderTargetView(ID3D11Device2* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDepthStencilView(ID3D11Device2* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateInputLayout(ID3D11Device2* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateVertexShader(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateGeometryShader(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateGeometryShaderWithStreamOutput(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreatePixelShader(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateHullShader(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { + return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDomainShader(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { + return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateComputeShader(ID3D11Device2* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { + return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateClassLinkage(ID3D11Device2* This,ID3D11ClassLinkage **ppLinkage) { + return This->lpVtbl->CreateClassLinkage(This,ppLinkage); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateBlendState(ID3D11Device2* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDepthStencilState(ID3D11Device2* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateRasterizerState(ID3D11Device2* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateSamplerState(ID3D11Device2* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateQuery(ID3D11Device2* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D11Device2_CreatePredicate(ID3D11Device2* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateCounter(ID3D11Device2* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDeferredContext(ID3D11Device2* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device2_OpenSharedResource(ID3D11Device2* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device2_CheckFormatSupport(ID3D11Device2* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D11Device2_CheckMultisampleQualityLevels(ID3D11Device2* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D11Device2_CheckCounterInfo(ID3D11Device2* This,D3D11_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D11Device2_CheckCounter(ID3D11Device2* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); +} +static FORCEINLINE HRESULT ID3D11Device2_CheckFeatureSupport(ID3D11Device2* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { + return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); +} +static FORCEINLINE HRESULT ID3D11Device2_GetPrivateData(ID3D11Device2* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device2_SetPrivateData(ID3D11Device2* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device2_SetPrivateDataInterface(ID3D11Device2* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device2_GetFeatureLevel(ID3D11Device2* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +static FORCEINLINE UINT ID3D11Device2_GetCreationFlags(ID3D11Device2* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D11Device2_GetDeviceRemovedReason(ID3D11Device2* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE void ID3D11Device2_GetImmediateContext(ID3D11Device2* This,ID3D11DeviceContext **ppImmediateContext) { + This->lpVtbl->GetImmediateContext(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device2_SetExceptionMode(ID3D11Device2* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D11Device2_GetExceptionMode(ID3D11Device2* This) { + return This->lpVtbl->GetExceptionMode(This); +} +/*** ID3D11Device1 methods ***/ +static FORCEINLINE void ID3D11Device2_GetImmediateContext1(ID3D11Device2* This,ID3D11DeviceContext1 **ppImmediateContext) { + This->lpVtbl->GetImmediateContext1(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDeferredContext1(ID3D11Device2* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateBlendState1(ID3D11Device2* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) { + return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateRasterizerState1(ID3D11Device2* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDeviceContextState(ID3D11Device2* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) { + return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState); +} +static FORCEINLINE HRESULT ID3D11Device2_OpenSharedResource1(ID3D11Device2* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device2_OpenSharedResourceByName(ID3D11Device2* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource); +} +/*** ID3D11Device2 methods ***/ +static FORCEINLINE void ID3D11Device2_GetImmediateContext2(ID3D11Device2* This,ID3D11DeviceContext2 **context) { + This->lpVtbl->GetImmediateContext2(This,context); +} +static FORCEINLINE HRESULT ID3D11Device2_CreateDeferredContext2(ID3D11Device2* This,UINT flags,ID3D11DeviceContext2 **context) { + return This->lpVtbl->CreateDeferredContext2(This,flags,context); +} +static FORCEINLINE void ID3D11Device2_GetResourceTiling(ID3D11Device2* This,ID3D11Resource *resource,UINT *tile_count,D3D11_PACKED_MIP_DESC *mip_desc,D3D11_TILE_SHAPE *tile_shape,UINT *subresource_tiling_count,UINT first_subresource_tiling,D3D11_SUBRESOURCE_TILING *subresource_tiling) { + This->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling); +} +static FORCEINLINE HRESULT ID3D11Device2_CheckMultisampleQualityLevels1(ID3D11Device2* This,DXGI_FORMAT format,UINT sample_count,UINT flags,UINT *quality_level_count) { + return This->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Device2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d11_2_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_2.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_2.idl new file mode 100644 index 0000000..bb4db02 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_2.idl @@ -0,0 +1,173 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi1_3.idl"; +import "d3dcommon.idl"; +import "d3d11_1.idl"; + +const UINT D3D11_PACKED_TILE = 0xffffffff; + +typedef enum D3D11_TILE_MAPPING_FLAG +{ + D3D11_TILE_MAPPING_NO_OVERWRITE = 0x1, +} D3D11_TILE_MAPPING_FLAG; + +typedef enum D3D11_TILE_RANGE_FLAG +{ + D3D11_TILE_RANGE_NULL = 0x1, + D3D11_TILE_RANGE_SKIP = 0x2, + D3D11_TILE_RANGE_REUSE_SINGLE_TILE = 0x4, +} D3D11_TILE_RANGE_FLAG; + +typedef enum D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG +{ + D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE = 0x1, +} D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG; + +typedef enum D3D11_TILE_COPY_FLAG +{ + D3D11_TILE_COPY_NO_OVERWRITE = 0x1, + D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2, + D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4, +} D3D11_TILE_COPY_FLAG; + +typedef struct D3D11_TILED_RESOURCE_COORDINATE +{ + UINT X; + UINT Y; + UINT Z; + UINT Subresource; +} D3D11_TILED_RESOURCE_COORDINATE; + +typedef struct D3D11_TILE_REGION_SIZE +{ + UINT NumTiles; + BOOL bUseBox; + UINT Width; + UINT16 Height; + UINT16 Depth; +} D3D11_TILE_REGION_SIZE; + +typedef struct D3D11_SUBRESOURCE_TILING +{ + UINT WidthInTiles; + UINT16 HeightInTiles; + UINT16 DepthInTiles; + UINT StartTileIndexInOverallResource; +} D3D11_SUBRESOURCE_TILING; + +typedef struct D3D11_TILE_SHAPE +{ + UINT WidthInTexels; + UINT HeightInTexels; + UINT DepthInTexels; +} D3D11_TILE_SHAPE; + +typedef struct D3D11_PACKED_MIP_DESC +{ + UINT8 NumStandardMips; + UINT8 NumPackedMips; + UINT NumTilesForPackedMips; + UINT StartTileIndexInOverallResource; +} D3D11_PACKED_MIP_DESC; + +[ + uuid(420d5b32-b90c-4da4-bef0-359f6a24a83a), + object, + local, + pointer_default(unique) +] +interface ID3D11DeviceContext2 : ID3D11DeviceContext1 +{ + HRESULT UpdateTileMappings( + ID3D11Resource *resource, + UINT region_count, + const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates, + const D3D11_TILE_REGION_SIZE *region_sizes, + ID3D11Buffer *pool, + UINT range_count, + const UINT *range_flags, + const UINT *pool_start_offsets, + const UINT *range_tile_counts, + UINT flags + ); + HRESULT CopyTileMappings( + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + ID3D11Resource *src_resource, + const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate, + const D3D11_TILE_REGION_SIZE *region_size, + UINT flags + ); + void CopyTiles( + ID3D11Resource *resource, + const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate, + const D3D11_TILE_REGION_SIZE *size, + ID3D11Buffer *buffer, + UINT64 start_offset, + UINT flags + ); + void UpdateTiles( + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + const D3D11_TILE_REGION_SIZE *dst_region_size, + const void *src_data, + UINT flags + ); + HRESULT ResizeTilePool( + ID3D11Buffer *pool, + UINT64 size + ); + void TiledResourceBarrier( + ID3D11DeviceChild *before_barrier, + ID3D11DeviceChild *after_barrier + ); + BOOL IsAnnotationEnabled(); + void SetMarkerInt(const WCHAR *label, int data); + void BeginEventInt(const WCHAR *label, int data); + void EndEvent(); +} + +[ + uuid(9d06dffa-d1e5-4d07-83a8-1bb123f2f841), + object, + local, + pointer_default(unique) +] +interface ID3D11Device2 : ID3D11Device1 +{ + void GetImmediateContext2(ID3D11DeviceContext2 **context); + HRESULT CreateDeferredContext2(UINT flags, ID3D11DeviceContext2 **context); + void GetResourceTiling( + ID3D11Resource *resource, + UINT *tile_count, + D3D11_PACKED_MIP_DESC *mip_desc, + D3D11_TILE_SHAPE *tile_shape, + UINT *subresource_tiling_count, + UINT first_subresource_tiling, + D3D11_SUBRESOURCE_TILING *subresource_tiling + ); + HRESULT CheckMultisampleQualityLevels1( + DXGI_FORMAT format, + UINT sample_count, + UINT flags, + UINT *quality_level_count + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_3.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_3.h new file mode 100644 index 0000000..71e376e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_3.h @@ -0,0 +1,5236 @@ +/*** Autogenerated by WIDL 2.18 from d3d11_3.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d11_3_h__ +#define __d3d11_3_h__ + +/* Forward declarations */ + +#ifndef __ID3D11Texture2D1_FWD_DEFINED__ +#define __ID3D11Texture2D1_FWD_DEFINED__ +typedef interface ID3D11Texture2D1 ID3D11Texture2D1; +#ifdef __cplusplus +interface ID3D11Texture2D1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Texture3D1_FWD_DEFINED__ +#define __ID3D11Texture3D1_FWD_DEFINED__ +typedef interface ID3D11Texture3D1 ID3D11Texture3D1; +#ifdef __cplusplus +interface ID3D11Texture3D1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11RasterizerState2_FWD_DEFINED__ +#define __ID3D11RasterizerState2_FWD_DEFINED__ +typedef interface ID3D11RasterizerState2 ID3D11RasterizerState2; +#ifdef __cplusplus +interface ID3D11RasterizerState2; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11ShaderResourceView1_FWD_DEFINED__ +#define __ID3D11ShaderResourceView1_FWD_DEFINED__ +typedef interface ID3D11ShaderResourceView1 ID3D11ShaderResourceView1; +#ifdef __cplusplus +interface ID3D11ShaderResourceView1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11RenderTargetView1_FWD_DEFINED__ +#define __ID3D11RenderTargetView1_FWD_DEFINED__ +typedef interface ID3D11RenderTargetView1 ID3D11RenderTargetView1; +#ifdef __cplusplus +interface ID3D11RenderTargetView1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11UnorderedAccessView1_FWD_DEFINED__ +#define __ID3D11UnorderedAccessView1_FWD_DEFINED__ +typedef interface ID3D11UnorderedAccessView1 ID3D11UnorderedAccessView1; +#ifdef __cplusplus +interface ID3D11UnorderedAccessView1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Query1_FWD_DEFINED__ +#define __ID3D11Query1_FWD_DEFINED__ +typedef interface ID3D11Query1 ID3D11Query1; +#ifdef __cplusplus +interface ID3D11Query1; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DeviceContext3_FWD_DEFINED__ +#define __ID3D11DeviceContext3_FWD_DEFINED__ +typedef interface ID3D11DeviceContext3 ID3D11DeviceContext3; +#ifdef __cplusplus +interface ID3D11DeviceContext3; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Fence_FWD_DEFINED__ +#define __ID3D11Fence_FWD_DEFINED__ +typedef interface ID3D11Fence ID3D11Fence; +#ifdef __cplusplus +interface ID3D11Fence; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11DeviceContext4_FWD_DEFINED__ +#define __ID3D11DeviceContext4_FWD_DEFINED__ +typedef interface ID3D11DeviceContext4 ID3D11DeviceContext4; +#ifdef __cplusplus +interface ID3D11DeviceContext4; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Device3_FWD_DEFINED__ +#define __ID3D11Device3_FWD_DEFINED__ +typedef interface ID3D11Device3 ID3D11Device3; +#ifdef __cplusplus +interface ID3D11Device3; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum D3D11_CONTEXT_TYPE { + D3D11_CONTEXT_TYPE_ALL = 0x0, + D3D11_CONTEXT_TYPE_3D = 0x1, + D3D11_CONTEXT_TYPE_COMPUTE = 0x2, + D3D11_CONTEXT_TYPE_COPY = 0x3, + D3D11_CONTEXT_TYPE_VIDEO = 0x4 +} D3D11_CONTEXT_TYPE; +typedef enum D3D11_TEXTURE_LAYOUT { + D3D11_TEXTURE_LAYOUT_UNDEFINED = 0x0, + D3D11_TEXTURE_LAYOUT_ROW_MAJOR = 0x1, + D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE = 0x2 +} D3D11_TEXTURE_LAYOUT; +typedef enum D3D11_CONSERVATIVE_RASTERIZATION_MODE { + D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF = 0x0, + D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON = 0x1 +} D3D11_CONSERVATIVE_RASTERIZATION_MODE; +typedef enum D3D11_FENCE_FLAG { + D3D11_FENCE_FLAG_NONE = 0x1, + D3D11_FENCE_FLAG_SHARED = 0x2, + D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4 +} D3D11_FENCE_FLAG; +typedef struct D3D11_TEXTURE2D_DESC1 { + UINT Width; + UINT Height; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; + D3D11_TEXTURE_LAYOUT TextureLayout; +} D3D11_TEXTURE2D_DESC1; +typedef struct D3D11_TEXTURE3D_DESC1 { + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + DXGI_FORMAT Format; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; + D3D11_TEXTURE_LAYOUT TextureLayout; +} D3D11_TEXTURE3D_DESC1; +typedef struct D3D11_RASTERIZER_DESC2 { + D3D11_FILL_MODE FillMode; + D3D11_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + int DepthBias; + float DepthBiasClamp; + float SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; + UINT ForcedSampleCount; + D3D11_CONSERVATIVE_RASTERIZATION_MODE ConservativeRaster; +} D3D11_RASTERIZER_DESC2; +typedef struct D3D11_TEX2D_SRV1 { + UINT MostDetailedMip; + UINT MipLevels; + UINT PlaneSlice; +} D3D11_TEX2D_SRV1; +typedef struct D3D11_TEX2D_ARRAY_SRV1 { + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; + UINT PlaneSlice; +} D3D11_TEX2D_ARRAY_SRV1; +typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC1 { + DXGI_FORMAT Format; + D3D11_SRV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_BUFFER_SRV Buffer; + D3D11_TEX1D_SRV Texture1D; + D3D11_TEX1D_ARRAY_SRV Texture1DArray; + D3D11_TEX2D_SRV1 Texture2D; + D3D11_TEX2D_ARRAY_SRV1 Texture2DArray; + D3D11_TEX2DMS_SRV Texture2DMS; + D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D11_TEX3D_SRV Texture3D; + D3D11_TEXCUBE_SRV TextureCube; + D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray; + D3D11_BUFFEREX_SRV BufferEx; + } __C89_NAMELESSUNIONNAME; +} D3D11_SHADER_RESOURCE_VIEW_DESC1; +typedef struct D3D11_TEX2D_RTV1 { + UINT MipSlice; + UINT PlaneSlice; +} D3D11_TEX2D_RTV1; +typedef struct D3D11_TEX2D_ARRAY_RTV1 { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; + UINT PlaneSlice; +} D3D11_TEX2D_ARRAY_RTV1; +typedef struct D3D11_RENDER_TARGET_VIEW_DESC1 { + DXGI_FORMAT Format; + D3D11_RTV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_BUFFER_RTV Buffer; + D3D11_TEX1D_RTV Texture1D; + D3D11_TEX1D_ARRAY_RTV Texture1DArray; + D3D11_TEX2D_RTV1 Texture2D; + D3D11_TEX2D_ARRAY_RTV1 Texture2DArray; + D3D11_TEX2DMS_RTV Texture2DMS; + D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray; + D3D11_TEX3D_RTV Texture3D; + } __C89_NAMELESSUNIONNAME; +} D3D11_RENDER_TARGET_VIEW_DESC1; +typedef struct D3D11_TEX2D_UAV1 { + UINT MipSlice; + UINT PlaneSlice; +} D3D11_TEX2D_UAV1; +typedef struct D3D11_TEX2D_ARRAY_UAV1 { + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; + UINT PlaneSlice; +} D3D11_TEX2D_ARRAY_UAV1; +typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC1 { + DXGI_FORMAT Format; + D3D11_UAV_DIMENSION ViewDimension; + __C89_NAMELESS union { + D3D11_BUFFER_UAV Buffer; + D3D11_TEX1D_UAV Texture1D; + D3D11_TEX1D_ARRAY_UAV Texture1DArray; + D3D11_TEX2D_UAV1 Texture2D; + D3D11_TEX2D_ARRAY_UAV1 Texture2DArray; + D3D11_TEX3D_UAV Texture3D; + } __C89_NAMELESSUNIONNAME; +} D3D11_UNORDERED_ACCESS_VIEW_DESC1; +typedef struct D3D11_QUERY_DESC1 { + D3D11_QUERY Query; + UINT MiscFlags; + D3D11_CONTEXT_TYPE ContextType; +} D3D11_QUERY_DESC1; +/***************************************************************************** + * ID3D11Texture2D1 interface + */ +#ifndef __ID3D11Texture2D1_INTERFACE_DEFINED__ +#define __ID3D11Texture2D1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Texture2D1, 0x51218251, 0x1e33, 0x4617, 0x9c,0xcb, 0x4d,0x3a,0x43,0x67,0xe7,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51218251-1e33-4617-9ccb-4d3a4367e7bb") +ID3D11Texture2D1 : public ID3D11Texture2D +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_TEXTURE2D_DESC1 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Texture2D1, 0x51218251, 0x1e33, 0x4617, 0x9c,0xcb, 0x4d,0x3a,0x43,0x67,0xe7,0xbb) +#endif +#else +typedef struct ID3D11Texture2D1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Texture2D1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Texture2D1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Texture2D1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Texture2D1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Texture2D1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Texture2D1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Texture2D1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Texture2D1 *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Texture2D1 *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Texture2D1 *This); + + /*** ID3D11Texture2D methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Texture2D1 *This, + D3D11_TEXTURE2D_DESC *pDesc); + + /*** ID3D11Texture2D1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11Texture2D1 *This, + D3D11_TEXTURE2D_DESC1 *desc); + + END_INTERFACE +} ID3D11Texture2D1Vtbl; + +interface ID3D11Texture2D1 { + CONST_VTBL ID3D11Texture2D1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Texture2D1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Texture2D1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Texture2D1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Texture2D1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Texture2D1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Texture2D1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Texture2D1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Texture2D1_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Texture2D1_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Texture2D1_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D11Texture2D methods ***/ +#define ID3D11Texture2D1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11Texture2D1 methods ***/ +#define ID3D11Texture2D1_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Texture2D1_QueryInterface(ID3D11Texture2D1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Texture2D1_AddRef(ID3D11Texture2D1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Texture2D1_Release(ID3D11Texture2D1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Texture2D1_GetDevice(ID3D11Texture2D1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Texture2D1_GetPrivateData(ID3D11Texture2D1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture2D1_SetPrivateData(ID3D11Texture2D1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture2D1_SetPrivateDataInterface(ID3D11Texture2D1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Texture2D1_GetType(ID3D11Texture2D1* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Texture2D1_SetEvictionPriority(ID3D11Texture2D1* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Texture2D1_GetEvictionPriority(ID3D11Texture2D1* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D11Texture2D methods ***/ +static FORCEINLINE void ID3D11Texture2D1_GetDesc(ID3D11Texture2D1* This,D3D11_TEXTURE2D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11Texture2D1 methods ***/ +static FORCEINLINE void ID3D11Texture2D1_GetDesc1(ID3D11Texture2D1* This,D3D11_TEXTURE2D_DESC1 *desc) { + This->lpVtbl->GetDesc1(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Texture2D1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Texture3D1 interface + */ +#ifndef __ID3D11Texture3D1_INTERFACE_DEFINED__ +#define __ID3D11Texture3D1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Texture3D1, 0x0c711683, 0x2853, 0x4846, 0x9b,0xb0, 0xf3,0xe6,0x06,0x39,0xe4,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c711683-2853-4846-9bb0-f3e60639e46a") +ID3D11Texture3D1 : public ID3D11Texture3D +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_TEXTURE3D_DESC1 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Texture3D1, 0x0c711683, 0x2853, 0x4846, 0x9b,0xb0, 0xf3,0xe6,0x06,0x39,0xe4,0x6a) +#endif +#else +typedef struct ID3D11Texture3D1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Texture3D1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Texture3D1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Texture3D1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Texture3D1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Texture3D1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Texture3D1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Texture3D1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Resource methods ***/ + void (STDMETHODCALLTYPE *GetType)( + ID3D11Texture3D1 *This, + D3D11_RESOURCE_DIMENSION *pResourceDimension); + + void (STDMETHODCALLTYPE *SetEvictionPriority)( + ID3D11Texture3D1 *This, + UINT EvictionPriority); + + UINT (STDMETHODCALLTYPE *GetEvictionPriority)( + ID3D11Texture3D1 *This); + + /*** ID3D11Texture3D methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Texture3D1 *This, + D3D11_TEXTURE3D_DESC *pDesc); + + /*** ID3D11Texture3D1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11Texture3D1 *This, + D3D11_TEXTURE3D_DESC1 *desc); + + END_INTERFACE +} ID3D11Texture3D1Vtbl; + +interface ID3D11Texture3D1 { + CONST_VTBL ID3D11Texture3D1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Texture3D1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Texture3D1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Texture3D1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Texture3D1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Texture3D1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Texture3D1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Texture3D1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Resource methods ***/ +#define ID3D11Texture3D1_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension) +#define ID3D11Texture3D1_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define ID3D11Texture3D1_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This) +/*** ID3D11Texture3D methods ***/ +#define ID3D11Texture3D1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11Texture3D1 methods ***/ +#define ID3D11Texture3D1_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Texture3D1_QueryInterface(ID3D11Texture3D1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Texture3D1_AddRef(ID3D11Texture3D1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Texture3D1_Release(ID3D11Texture3D1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Texture3D1_GetDevice(ID3D11Texture3D1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Texture3D1_GetPrivateData(ID3D11Texture3D1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture3D1_SetPrivateData(ID3D11Texture3D1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Texture3D1_SetPrivateDataInterface(ID3D11Texture3D1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Resource methods ***/ +static FORCEINLINE void ID3D11Texture3D1_GetType(ID3D11Texture3D1* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) { + This->lpVtbl->GetType(This,pResourceDimension); +} +static FORCEINLINE void ID3D11Texture3D1_SetEvictionPriority(ID3D11Texture3D1* This,UINT EvictionPriority) { + This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE UINT ID3D11Texture3D1_GetEvictionPriority(ID3D11Texture3D1* This) { + return This->lpVtbl->GetEvictionPriority(This); +} +/*** ID3D11Texture3D methods ***/ +static FORCEINLINE void ID3D11Texture3D1_GetDesc(ID3D11Texture3D1* This,D3D11_TEXTURE3D_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11Texture3D1 methods ***/ +static FORCEINLINE void ID3D11Texture3D1_GetDesc1(ID3D11Texture3D1* This,D3D11_TEXTURE3D_DESC1 *desc) { + This->lpVtbl->GetDesc1(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Texture3D1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11RasterizerState2 interface + */ +#ifndef __ID3D11RasterizerState2_INTERFACE_DEFINED__ +#define __ID3D11RasterizerState2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11RasterizerState2, 0x6fbd02fb, 0x209f, 0x46c4, 0xb0,0x59, 0x2e,0xd1,0x55,0x86,0xa6,0xac); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6fbd02fb-209f-46c4-b059-2ed15586a6ac") +ID3D11RasterizerState2 : public ID3D11RasterizerState1 +{ + virtual void STDMETHODCALLTYPE GetDesc2( + D3D11_RASTERIZER_DESC2 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11RasterizerState2, 0x6fbd02fb, 0x209f, 0x46c4, 0xb0,0x59, 0x2e,0xd1,0x55,0x86,0xa6,0xac) +#endif +#else +typedef struct ID3D11RasterizerState2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11RasterizerState2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11RasterizerState2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11RasterizerState2 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11RasterizerState2 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11RasterizerState2 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11RasterizerState2 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11RasterizerState2 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11RasterizerState methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11RasterizerState2 *This, + D3D11_RASTERIZER_DESC *pDesc); + + /*** ID3D11RasterizerState1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11RasterizerState2 *This, + D3D11_RASTERIZER_DESC1 *pDesc); + + /*** ID3D11RasterizerState2 methods ***/ + void (STDMETHODCALLTYPE *GetDesc2)( + ID3D11RasterizerState2 *This, + D3D11_RASTERIZER_DESC2 *desc); + + END_INTERFACE +} ID3D11RasterizerState2Vtbl; + +interface ID3D11RasterizerState2 { + CONST_VTBL ID3D11RasterizerState2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11RasterizerState2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11RasterizerState2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11RasterizerState2_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11RasterizerState2_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11RasterizerState2_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11RasterizerState2_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11RasterizerState2_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11RasterizerState methods ***/ +#define ID3D11RasterizerState2_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11RasterizerState1 methods ***/ +#define ID3D11RasterizerState2_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +/*** ID3D11RasterizerState2 methods ***/ +#define ID3D11RasterizerState2_GetDesc2(This,desc) (This)->lpVtbl->GetDesc2(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11RasterizerState2_QueryInterface(ID3D11RasterizerState2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11RasterizerState2_AddRef(ID3D11RasterizerState2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11RasterizerState2_Release(ID3D11RasterizerState2* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11RasterizerState2_GetDevice(ID3D11RasterizerState2* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11RasterizerState2_GetPrivateData(ID3D11RasterizerState2* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RasterizerState2_SetPrivateData(ID3D11RasterizerState2* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RasterizerState2_SetPrivateDataInterface(ID3D11RasterizerState2* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11RasterizerState methods ***/ +static FORCEINLINE void ID3D11RasterizerState2_GetDesc(ID3D11RasterizerState2* This,D3D11_RASTERIZER_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11RasterizerState1 methods ***/ +static FORCEINLINE void ID3D11RasterizerState2_GetDesc1(ID3D11RasterizerState2* This,D3D11_RASTERIZER_DESC1 *pDesc) { + This->lpVtbl->GetDesc1(This,pDesc); +} +/*** ID3D11RasterizerState2 methods ***/ +static FORCEINLINE void ID3D11RasterizerState2_GetDesc2(ID3D11RasterizerState2* This,D3D11_RASTERIZER_DESC2 *desc) { + This->lpVtbl->GetDesc2(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11RasterizerState2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11ShaderResourceView1 interface + */ +#ifndef __ID3D11ShaderResourceView1_INTERFACE_DEFINED__ +#define __ID3D11ShaderResourceView1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11ShaderResourceView1, 0x91308b87, 0x9040, 0x411d, 0x8c,0x67, 0xc3,0x92,0x53,0xce,0x38,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("91308b87-9040-411d-8c67-c39253ce3802") +ID3D11ShaderResourceView1 : public ID3D11ShaderResourceView +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11ShaderResourceView1, 0x91308b87, 0x9040, 0x411d, 0x8c,0x67, 0xc3,0x92,0x53,0xce,0x38,0x02) +#endif +#else +typedef struct ID3D11ShaderResourceView1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11ShaderResourceView1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11ShaderResourceView1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11ShaderResourceView1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11ShaderResourceView1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11ShaderResourceView1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11ShaderResourceView1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11ShaderResourceView1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11ShaderResourceView1 *This, + ID3D11Resource **ppResource); + + /*** ID3D11ShaderResourceView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11ShaderResourceView1 *This, + D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc); + + /*** ID3D11ShaderResourceView1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11ShaderResourceView1 *This, + D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc); + + END_INTERFACE +} ID3D11ShaderResourceView1Vtbl; + +interface ID3D11ShaderResourceView1 { + CONST_VTBL ID3D11ShaderResourceView1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11ShaderResourceView1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11ShaderResourceView1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11ShaderResourceView1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11ShaderResourceView1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11ShaderResourceView1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11ShaderResourceView1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11ShaderResourceView1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11ShaderResourceView1_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11ShaderResourceView methods ***/ +#define ID3D11ShaderResourceView1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11ShaderResourceView1 methods ***/ +#define ID3D11ShaderResourceView1_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11ShaderResourceView1_QueryInterface(ID3D11ShaderResourceView1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11ShaderResourceView1_AddRef(ID3D11ShaderResourceView1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11ShaderResourceView1_Release(ID3D11ShaderResourceView1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView1_GetDevice(ID3D11ShaderResourceView1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11ShaderResourceView1_GetPrivateData(ID3D11ShaderResourceView1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ShaderResourceView1_SetPrivateData(ID3D11ShaderResourceView1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11ShaderResourceView1_SetPrivateDataInterface(ID3D11ShaderResourceView1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView1_GetResource(ID3D11ShaderResourceView1* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11ShaderResourceView methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView1_GetDesc(ID3D11ShaderResourceView1* This,D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11ShaderResourceView1 methods ***/ +static FORCEINLINE void ID3D11ShaderResourceView1_GetDesc1(ID3D11ShaderResourceView1* This,D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc) { + This->lpVtbl->GetDesc1(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11ShaderResourceView1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11RenderTargetView1 interface + */ +#ifndef __ID3D11RenderTargetView1_INTERFACE_DEFINED__ +#define __ID3D11RenderTargetView1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11RenderTargetView1, 0xffbe2e23, 0xf011, 0x418a, 0xac,0x56, 0x5c,0xee,0xd7,0xc5,0xb9,0x4b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ffbe2e23-f011-418a-ac56-5ceed7c5b94b") +ID3D11RenderTargetView1 : public ID3D11RenderTargetView +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_RENDER_TARGET_VIEW_DESC1 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11RenderTargetView1, 0xffbe2e23, 0xf011, 0x418a, 0xac,0x56, 0x5c,0xee,0xd7,0xc5,0xb9,0x4b) +#endif +#else +typedef struct ID3D11RenderTargetView1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11RenderTargetView1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11RenderTargetView1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11RenderTargetView1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11RenderTargetView1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11RenderTargetView1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11RenderTargetView1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11RenderTargetView1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11RenderTargetView1 *This, + ID3D11Resource **ppResource); + + /*** ID3D11RenderTargetView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11RenderTargetView1 *This, + D3D11_RENDER_TARGET_VIEW_DESC *pDesc); + + /*** ID3D11RenderTargetView1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11RenderTargetView1 *This, + D3D11_RENDER_TARGET_VIEW_DESC1 *desc); + + END_INTERFACE +} ID3D11RenderTargetView1Vtbl; + +interface ID3D11RenderTargetView1 { + CONST_VTBL ID3D11RenderTargetView1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11RenderTargetView1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11RenderTargetView1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11RenderTargetView1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11RenderTargetView1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11RenderTargetView1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11RenderTargetView1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11RenderTargetView1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11RenderTargetView1_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11RenderTargetView methods ***/ +#define ID3D11RenderTargetView1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11RenderTargetView1 methods ***/ +#define ID3D11RenderTargetView1_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11RenderTargetView1_QueryInterface(ID3D11RenderTargetView1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11RenderTargetView1_AddRef(ID3D11RenderTargetView1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11RenderTargetView1_Release(ID3D11RenderTargetView1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11RenderTargetView1_GetDevice(ID3D11RenderTargetView1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11RenderTargetView1_GetPrivateData(ID3D11RenderTargetView1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RenderTargetView1_SetPrivateData(ID3D11RenderTargetView1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11RenderTargetView1_SetPrivateDataInterface(ID3D11RenderTargetView1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11RenderTargetView1_GetResource(ID3D11RenderTargetView1* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11RenderTargetView methods ***/ +static FORCEINLINE void ID3D11RenderTargetView1_GetDesc(ID3D11RenderTargetView1* This,D3D11_RENDER_TARGET_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11RenderTargetView1 methods ***/ +static FORCEINLINE void ID3D11RenderTargetView1_GetDesc1(ID3D11RenderTargetView1* This,D3D11_RENDER_TARGET_VIEW_DESC1 *desc) { + This->lpVtbl->GetDesc1(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11RenderTargetView1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11UnorderedAccessView1 interface + */ +#ifndef __ID3D11UnorderedAccessView1_INTERFACE_DEFINED__ +#define __ID3D11UnorderedAccessView1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11UnorderedAccessView1, 0x7b3b6153, 0xa886, 0x4544, 0xab,0x37, 0x65,0x37,0xc8,0x50,0x04,0x03); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7b3b6153-a886-4544-ab37-6537c8500403") +ID3D11UnorderedAccessView1 : public ID3D11UnorderedAccessView +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11UnorderedAccessView1, 0x7b3b6153, 0xa886, 0x4544, 0xab,0x37, 0x65,0x37,0xc8,0x50,0x04,0x03) +#endif +#else +typedef struct ID3D11UnorderedAccessView1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11UnorderedAccessView1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11UnorderedAccessView1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11UnorderedAccessView1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11UnorderedAccessView1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11UnorderedAccessView1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11UnorderedAccessView1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11UnorderedAccessView1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11View methods ***/ + void (STDMETHODCALLTYPE *GetResource)( + ID3D11UnorderedAccessView1 *This, + ID3D11Resource **ppResource); + + /*** ID3D11UnorderedAccessView methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11UnorderedAccessView1 *This, + D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc); + + /*** ID3D11UnorderedAccessView1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11UnorderedAccessView1 *This, + D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc); + + END_INTERFACE +} ID3D11UnorderedAccessView1Vtbl; + +interface ID3D11UnorderedAccessView1 { + CONST_VTBL ID3D11UnorderedAccessView1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11UnorderedAccessView1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11UnorderedAccessView1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11UnorderedAccessView1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11UnorderedAccessView1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11UnorderedAccessView1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11UnorderedAccessView1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11UnorderedAccessView1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11View methods ***/ +#define ID3D11UnorderedAccessView1_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource) +/*** ID3D11UnorderedAccessView methods ***/ +#define ID3D11UnorderedAccessView1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11UnorderedAccessView1 methods ***/ +#define ID3D11UnorderedAccessView1_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11UnorderedAccessView1_QueryInterface(ID3D11UnorderedAccessView1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11UnorderedAccessView1_AddRef(ID3D11UnorderedAccessView1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11UnorderedAccessView1_Release(ID3D11UnorderedAccessView1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView1_GetDevice(ID3D11UnorderedAccessView1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11UnorderedAccessView1_GetPrivateData(ID3D11UnorderedAccessView1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11UnorderedAccessView1_SetPrivateData(ID3D11UnorderedAccessView1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11UnorderedAccessView1_SetPrivateDataInterface(ID3D11UnorderedAccessView1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11View methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView1_GetResource(ID3D11UnorderedAccessView1* This,ID3D11Resource **ppResource) { + This->lpVtbl->GetResource(This,ppResource); +} +/*** ID3D11UnorderedAccessView methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView1_GetDesc(ID3D11UnorderedAccessView1* This,D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11UnorderedAccessView1 methods ***/ +static FORCEINLINE void ID3D11UnorderedAccessView1_GetDesc1(ID3D11UnorderedAccessView1* This,D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc) { + This->lpVtbl->GetDesc1(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11UnorderedAccessView1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Query1 interface + */ +#ifndef __ID3D11Query1_INTERFACE_DEFINED__ +#define __ID3D11Query1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Query1, 0x631b4766, 0x36dc, 0x461d, 0x8d,0xb6, 0xc4,0x7e,0x13,0xe6,0x09,0x16); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("631b4766-36dc-461d-8db6-c47e13e60916") +ID3D11Query1 : public ID3D11Query +{ + virtual void STDMETHODCALLTYPE GetDesc1( + D3D11_QUERY_DESC1 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Query1, 0x631b4766, 0x36dc, 0x461d, 0x8d,0xb6, 0xc4,0x7e,0x13,0xe6,0x09,0x16) +#endif +#else +typedef struct ID3D11Query1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Query1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Query1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Query1 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Query1 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Query1 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Query1 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Query1 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Asynchronous methods ***/ + UINT (STDMETHODCALLTYPE *GetDataSize)( + ID3D11Query1 *This); + + /*** ID3D11Query methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + ID3D11Query1 *This, + D3D11_QUERY_DESC *pDesc); + + /*** ID3D11Query1 methods ***/ + void (STDMETHODCALLTYPE *GetDesc1)( + ID3D11Query1 *This, + D3D11_QUERY_DESC1 *desc); + + END_INTERFACE +} ID3D11Query1Vtbl; + +interface ID3D11Query1 { + CONST_VTBL ID3D11Query1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Query1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Query1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Query1_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Query1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Query1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Query1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Query1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Asynchronous methods ***/ +#define ID3D11Query1_GetDataSize(This) (This)->lpVtbl->GetDataSize(This) +/*** ID3D11Query methods ***/ +#define ID3D11Query1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) +/*** ID3D11Query1 methods ***/ +#define ID3D11Query1_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Query1_QueryInterface(ID3D11Query1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Query1_AddRef(ID3D11Query1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Query1_Release(ID3D11Query1* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Query1_GetDevice(ID3D11Query1* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Query1_GetPrivateData(ID3D11Query1* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Query1_SetPrivateData(ID3D11Query1* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Query1_SetPrivateDataInterface(ID3D11Query1* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Asynchronous methods ***/ +static FORCEINLINE UINT ID3D11Query1_GetDataSize(ID3D11Query1* This) { + return This->lpVtbl->GetDataSize(This); +} +/*** ID3D11Query methods ***/ +static FORCEINLINE void ID3D11Query1_GetDesc(ID3D11Query1* This,D3D11_QUERY_DESC *pDesc) { + This->lpVtbl->GetDesc(This,pDesc); +} +/*** ID3D11Query1 methods ***/ +static FORCEINLINE void ID3D11Query1_GetDesc1(ID3D11Query1* This,D3D11_QUERY_DESC1 *desc) { + This->lpVtbl->GetDesc1(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Query1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DeviceContext3 interface + */ +#ifndef __ID3D11DeviceContext3_INTERFACE_DEFINED__ +#define __ID3D11DeviceContext3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DeviceContext3, 0xb4e3c01d, 0xe79e, 0x4637, 0x91,0xb2, 0x51,0x0e,0x9f,0x4c,0x9b,0x8f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b4e3c01d-e79e-4637-91b2-510e9f4c9b8f") +ID3D11DeviceContext3 : public ID3D11DeviceContext2 +{ + virtual void STDMETHODCALLTYPE Flush1( + D3D11_CONTEXT_TYPE type, + HANDLE event) = 0; + + virtual void STDMETHODCALLTYPE SetHardwareProtectionState( + BOOL enable) = 0; + + virtual void STDMETHODCALLTYPE GetHardwareProtectionState( + BOOL *enable) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DeviceContext3, 0xb4e3c01d, 0xe79e, 0x4637, 0x91,0xb2, 0x51,0x0e,0x9f,0x4c,0x9b,0x8f) +#endif +#else +typedef struct ID3D11DeviceContext3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DeviceContext3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DeviceContext3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DeviceContext3 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DeviceContext3 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DeviceContext3 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DeviceContext3 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DeviceContext3 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11DeviceContext methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D11DeviceContext3 *This, + ID3D11PixelShader *pPixelShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D11DeviceContext3 *This, + ID3D11VertexShader *pVertexShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D11DeviceContext3 *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D11DeviceContext3 *This, + UINT VertexCount, + UINT StartVertexLocation); + + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pResource, + UINT Subresource, + D3D11_MAP MapType, + UINT MapFlags, + D3D11_MAPPED_SUBRESOURCE *pMappedResource); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pResource, + UINT Subresource); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D11DeviceContext3 *This, + ID3D11InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D11DeviceContext3 *This, + ID3D11Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D11DeviceContext3 *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D11DeviceContext3 *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D11DeviceContext3 *This, + ID3D11GeometryShader *pShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D11DeviceContext3 *This, + D3D11_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *Begin)( + ID3D11DeviceContext3 *This, + ID3D11Asynchronous *pAsync); + + void (STDMETHODCALLTYPE *End)( + ID3D11DeviceContext3 *This, + ID3D11Asynchronous *pAsync); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D11DeviceContext3 *This, + ID3D11Asynchronous *pAsync, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D11DeviceContext3 *This, + ID3D11Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D11DeviceContext3 *This, + UINT NumViews, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext3 *This, + UINT NumRTVs, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D11DeviceContext3 *This, + ID3D11BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D11DeviceContext3 *This, + ID3D11DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D11DeviceContext3 *This, + UINT NumBuffers, + ID3D11Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D11DeviceContext3 *This); + + void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)( + ID3D11DeviceContext3 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *DrawInstancedIndirect)( + ID3D11DeviceContext3 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *Dispatch)( + ID3D11DeviceContext3 *This, + UINT ThreadGroupCountX, + UINT ThreadGroupCountY, + UINT ThreadGroupCountZ); + + void (STDMETHODCALLTYPE *DispatchIndirect)( + ID3D11DeviceContext3 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D11DeviceContext3 *This, + ID3D11RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D11DeviceContext3 *This, + UINT NumViewports, + const D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D11DeviceContext3 *This, + UINT NumRects, + const D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pDstResource, + ID3D11Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *CopyStructureCount)( + ID3D11DeviceContext3 *This, + ID3D11Buffer *pDstBuffer, + UINT DstAlignedByteOffset, + ID3D11UnorderedAccessView *pSrcView); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D11DeviceContext3 *This, + ID3D11RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)( + ID3D11DeviceContext3 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const UINT Values[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)( + ID3D11DeviceContext3 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const FLOAT Values[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D11DeviceContext3 *This, + ID3D11DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D11DeviceContext3 *This, + ID3D11ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *SetResourceMinLOD)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pResource, + FLOAT MinLOD); + + FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *ExecuteCommandList)( + ID3D11DeviceContext3 *This, + ID3D11CommandList *pCommandList, + BOOL RestoreContextState); + + void (STDMETHODCALLTYPE *HSSetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSSetShader)( + ID3D11DeviceContext3 *This, + ID3D11HullShader *pHullShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *HSSetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSSetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSSetShader)( + ID3D11DeviceContext3 *This, + ID3D11DomainShader *pDomainShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DSSetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSSetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *CSSetShader)( + ID3D11DeviceContext3 *This, + ID3D11ComputeShader *pComputeShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *CSSetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D11DeviceContext3 *This, + ID3D11PixelShader **ppPixelShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D11DeviceContext3 *This, + ID3D11VertexShader **ppVertexShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D11DeviceContext3 *This, + ID3D11InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D11DeviceContext3 *This, + ID3D11Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D11DeviceContext3 *This, + ID3D11GeometryShader **ppGeometryShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D11DeviceContext3 *This, + D3D11_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D11DeviceContext3 *This, + ID3D11Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D11DeviceContext3 *This, + UINT NumViews, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext3 *This, + UINT NumRTVs, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D11DeviceContext3 *This, + ID3D11BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D11DeviceContext3 *This, + ID3D11DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D11DeviceContext3 *This, + UINT NumBuffers, + ID3D11Buffer **ppSOTargets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D11DeviceContext3 *This, + ID3D11RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D11DeviceContext3 *This, + UINT *pNumViewports, + D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D11DeviceContext3 *This, + UINT *pNumRects, + D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *HSGetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSGetShader)( + ID3D11DeviceContext3 *This, + ID3D11HullShader **ppHullShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *HSGetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSGetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSGetShader)( + ID3D11DeviceContext3 *This, + ID3D11DomainShader **ppDomainShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *DSGetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSGetShaderResources)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *CSGetShader)( + ID3D11DeviceContext3 *This, + ID3D11ComputeShader **ppComputeShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *CSGetSamplers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D11DeviceContext3 *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D11DeviceContext3 *This); + + D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)( + ID3D11DeviceContext3 *This); + + UINT (STDMETHODCALLTYPE *GetContextFlags)( + ID3D11DeviceContext3 *This); + + HRESULT (STDMETHODCALLTYPE *FinishCommandList)( + ID3D11DeviceContext3 *This, + BOOL RestoreDeferredContextState, + ID3D11CommandList **ppCommandList); + + /*** ID3D11DeviceContext1 methods ***/ + void (STDMETHODCALLTYPE *CopySubresourceRegion1)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *UpdateSubresource1)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *DiscardResource)( + ID3D11DeviceContext3 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *DiscardView)( + ID3D11DeviceContext3 *This, + ID3D11View *pResourceView); + + void (STDMETHODCALLTYPE *VSSetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers1)( + ID3D11DeviceContext3 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *SwapDeviceContextState)( + ID3D11DeviceContext3 *This, + ID3DDeviceContextState *pState, + ID3DDeviceContextState **ppPreviousState); + + void (STDMETHODCALLTYPE *ClearView)( + ID3D11DeviceContext3 *This, + ID3D11View *pView, + const FLOAT Color[4], + const D3D11_RECT *pRect, + UINT NumRects); + + void (STDMETHODCALLTYPE *DiscardView1)( + ID3D11DeviceContext3 *This, + ID3D11View *pResourceView, + const D3D11_RECT *pRects, + UINT NumRects); + + /*** ID3D11DeviceContext2 methods ***/ + HRESULT (STDMETHODCALLTYPE *UpdateTileMappings)( + ID3D11DeviceContext3 *This, + ID3D11Resource *resource, + UINT region_count, + const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates, + const D3D11_TILE_REGION_SIZE *region_sizes, + ID3D11Buffer *pool, + UINT range_count, + const UINT *range_flags, + const UINT *pool_start_offsets, + const UINT *range_tile_counts, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *CopyTileMappings)( + ID3D11DeviceContext3 *This, + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + ID3D11Resource *src_resource, + const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate, + const D3D11_TILE_REGION_SIZE *region_size, + UINT flags); + + void (STDMETHODCALLTYPE *CopyTiles)( + ID3D11DeviceContext3 *This, + ID3D11Resource *resource, + const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate, + const D3D11_TILE_REGION_SIZE *size, + ID3D11Buffer *buffer, + UINT64 start_offset, + UINT flags); + + void (STDMETHODCALLTYPE *UpdateTiles)( + ID3D11DeviceContext3 *This, + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + const D3D11_TILE_REGION_SIZE *dst_region_size, + const void *src_data, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTilePool)( + ID3D11DeviceContext3 *This, + ID3D11Buffer *pool, + UINT64 size); + + void (STDMETHODCALLTYPE *TiledResourceBarrier)( + ID3D11DeviceContext3 *This, + ID3D11DeviceChild *before_barrier, + ID3D11DeviceChild *after_barrier); + + BOOL (STDMETHODCALLTYPE *IsAnnotationEnabled)( + ID3D11DeviceContext3 *This); + + void (STDMETHODCALLTYPE *SetMarkerInt)( + ID3D11DeviceContext3 *This, + const WCHAR *label, + int data); + + void (STDMETHODCALLTYPE *BeginEventInt)( + ID3D11DeviceContext3 *This, + const WCHAR *label, + int data); + + void (STDMETHODCALLTYPE *EndEvent)( + ID3D11DeviceContext3 *This); + + /*** ID3D11DeviceContext3 methods ***/ + void (STDMETHODCALLTYPE *Flush1)( + ID3D11DeviceContext3 *This, + D3D11_CONTEXT_TYPE type, + HANDLE event); + + void (STDMETHODCALLTYPE *SetHardwareProtectionState)( + ID3D11DeviceContext3 *This, + BOOL enable); + + void (STDMETHODCALLTYPE *GetHardwareProtectionState)( + ID3D11DeviceContext3 *This, + BOOL *enable); + + END_INTERFACE +} ID3D11DeviceContext3Vtbl; + +interface ID3D11DeviceContext3 { + CONST_VTBL ID3D11DeviceContext3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DeviceContext3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DeviceContext3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DeviceContext3_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DeviceContext3_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DeviceContext3_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DeviceContext3_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DeviceContext3_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11DeviceContext methods ***/ +#define ID3D11DeviceContext3_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext3_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext3_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D11DeviceContext3_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D11DeviceContext3_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) +#define ID3D11DeviceContext3_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource) +#define ID3D11DeviceContext3_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D11DeviceContext3_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext3_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext3_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext3_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext3_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext3_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D11DeviceContext3_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync) +#define ID3D11DeviceContext3_End(This,pAsync) (This)->lpVtbl->End(This,pAsync) +#define ID3D11DeviceContext3_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags) +#define ID3D11DeviceContext3_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D11DeviceContext3_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D11DeviceContext3_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext3_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D11DeviceContext3_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D11DeviceContext3_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D11DeviceContext3_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D11DeviceContext3_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext3_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext3_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) +#define ID3D11DeviceContext3_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext3_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D11DeviceContext3_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D11DeviceContext3_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D11DeviceContext3_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D11DeviceContext3_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D11DeviceContext3_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D11DeviceContext3_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) +#define ID3D11DeviceContext3_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D11DeviceContext3_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext3_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext3_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D11DeviceContext3_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D11DeviceContext3_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD) +#define ID3D11DeviceContext3_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource) +#define ID3D11DeviceContext3_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D11DeviceContext3_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState) +#define ID3D11DeviceContext3_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext3_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext3_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext3_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext3_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext3_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext3_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D11DeviceContext3_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext3_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext3_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext3_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D11DeviceContext3_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D11DeviceContext3_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D11DeviceContext3_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext3_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D11DeviceContext3_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D11DeviceContext3_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets) +#define ID3D11DeviceContext3_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D11DeviceContext3_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports) +#define ID3D11DeviceContext3_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects) +#define ID3D11DeviceContext3_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext3_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext3_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext3_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext3_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext3_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext3_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext3_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D11DeviceContext3_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D11DeviceContext3_GetType(This) (This)->lpVtbl->GetType(This) +#define ID3D11DeviceContext3_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) +#define ID3D11DeviceContext3_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList) +/*** ID3D11DeviceContext1 methods ***/ +#define ID3D11DeviceContext3_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) (This)->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) +#define ID3D11DeviceContext3_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) +#define ID3D11DeviceContext3_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource) +#define ID3D11DeviceContext3_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView) +#define ID3D11DeviceContext3_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext3_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState) +#define ID3D11DeviceContext3_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects) +#define ID3D11DeviceContext3_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects) +/*** ID3D11DeviceContext2 methods ***/ +#define ID3D11DeviceContext3_UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags) (This)->lpVtbl->UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags) +#define ID3D11DeviceContext3_CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags) (This)->lpVtbl->CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags) +#define ID3D11DeviceContext3_CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags) (This)->lpVtbl->CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags) +#define ID3D11DeviceContext3_UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags) (This)->lpVtbl->UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags) +#define ID3D11DeviceContext3_ResizeTilePool(This,pool,size) (This)->lpVtbl->ResizeTilePool(This,pool,size) +#define ID3D11DeviceContext3_TiledResourceBarrier(This,before_barrier,after_barrier) (This)->lpVtbl->TiledResourceBarrier(This,before_barrier,after_barrier) +#define ID3D11DeviceContext3_IsAnnotationEnabled(This) (This)->lpVtbl->IsAnnotationEnabled(This) +#define ID3D11DeviceContext3_SetMarkerInt(This,label,data) (This)->lpVtbl->SetMarkerInt(This,label,data) +#define ID3D11DeviceContext3_BeginEventInt(This,label,data) (This)->lpVtbl->BeginEventInt(This,label,data) +#define ID3D11DeviceContext3_EndEvent(This) (This)->lpVtbl->EndEvent(This) +/*** ID3D11DeviceContext3 methods ***/ +#define ID3D11DeviceContext3_Flush1(This,type,event) (This)->lpVtbl->Flush1(This,type,event) +#define ID3D11DeviceContext3_SetHardwareProtectionState(This,enable) (This)->lpVtbl->SetHardwareProtectionState(This,enable) +#define ID3D11DeviceContext3_GetHardwareProtectionState(This,enable) (This)->lpVtbl->GetHardwareProtectionState(This,enable) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext3_QueryInterface(ID3D11DeviceContext3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DeviceContext3_AddRef(ID3D11DeviceContext3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DeviceContext3_Release(ID3D11DeviceContext3* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DeviceContext3_GetDevice(ID3D11DeviceContext3* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_GetPrivateData(ID3D11DeviceContext3* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_SetPrivateData(ID3D11DeviceContext3* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_SetPrivateDataInterface(ID3D11DeviceContext3* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11DeviceContext methods ***/ +static FORCEINLINE void ID3D11DeviceContext3_VSSetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_PSSetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_PSSetShader(ID3D11DeviceContext3* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_PSSetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_VSSetShader(ID3D11DeviceContext3* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_DrawIndexed(ID3D11DeviceContext3* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D11DeviceContext3_Draw(ID3D11DeviceContext3* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_Map(ID3D11DeviceContext3* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) { + return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource); +} +static FORCEINLINE void ID3D11DeviceContext3_Unmap(ID3D11DeviceContext3* This,ID3D11Resource *pResource,UINT Subresource) { + This->lpVtbl->Unmap(This,pResource,Subresource); +} +static FORCEINLINE void ID3D11DeviceContext3_PSSetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_IASetInputLayout(ID3D11DeviceContext3* This,ID3D11InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext3_IASetVertexBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext3_IASetIndexBuffer(ID3D11DeviceContext3* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext3_DrawIndexedInstanced(ID3D11DeviceContext3* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext3_DrawInstanced(ID3D11DeviceContext3* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext3_GSSetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_GSSetShader(ID3D11DeviceContext3* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_IASetPrimitiveTopology(ID3D11DeviceContext3* This,D3D11_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D11DeviceContext3_VSSetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_VSSetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_Begin(ID3D11DeviceContext3* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->Begin(This,pAsync); +} +static FORCEINLINE void ID3D11DeviceContext3_End(ID3D11DeviceContext3* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->End(This,pAsync); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_GetData(ID3D11DeviceContext3* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags); +} +static FORCEINLINE void ID3D11DeviceContext3_SetPredication(ID3D11DeviceContext3* This,ID3D11Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext3_GSSetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_GSSetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_OMSetRenderTargets(ID3D11DeviceContext3* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext3_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext3* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext3_OMSetBlendState(ID3D11DeviceContext3* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D11DeviceContext3_OMSetDepthStencilState(ID3D11DeviceContext3* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D11DeviceContext3_SOSetTargets(ID3D11DeviceContext3* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext3_DrawAuto(ID3D11DeviceContext3* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D11DeviceContext3_DrawIndexedInstancedIndirect(ID3D11DeviceContext3* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext3_DrawInstancedIndirect(ID3D11DeviceContext3* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext3_Dispatch(ID3D11DeviceContext3* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) { + This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ); +} +static FORCEINLINE void ID3D11DeviceContext3_DispatchIndirect(ID3D11DeviceContext3* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext3_RSSetState(ID3D11DeviceContext3* This,ID3D11RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext3_RSSetViewports(ID3D11DeviceContext3* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext3_RSSetScissorRects(ID3D11DeviceContext3* This,UINT NumRects,const D3D11_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext3_CopySubresourceRegion(ID3D11DeviceContext3* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D11DeviceContext3_CopyResource(ID3D11DeviceContext3* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D11DeviceContext3_UpdateSubresource(ID3D11DeviceContext3* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D11DeviceContext3_CopyStructureCount(ID3D11DeviceContext3* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) { + This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView); +} +static FORCEINLINE void ID3D11DeviceContext3_ClearRenderTargetView(ID3D11DeviceContext3* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D11DeviceContext3_ClearUnorderedAccessViewUint(ID3D11DeviceContext3* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext3_ClearUnorderedAccessViewFloat(ID3D11DeviceContext3* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext3_ClearDepthStencilView(ID3D11DeviceContext3* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D11DeviceContext3_GenerateMips(ID3D11DeviceContext3* This,ID3D11ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D11DeviceContext3_SetResourceMinLOD(ID3D11DeviceContext3* This,ID3D11Resource *pResource,FLOAT MinLOD) { + This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD); +} +static FORCEINLINE FLOAT ID3D11DeviceContext3_GetResourceMinLOD(ID3D11DeviceContext3* This,ID3D11Resource *pResource) { + return This->lpVtbl->GetResourceMinLOD(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext3_ResolveSubresource(ID3D11DeviceContext3* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D11DeviceContext3_ExecuteCommandList(ID3D11DeviceContext3* This,ID3D11CommandList *pCommandList,BOOL RestoreContextState) { + This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState); +} +static FORCEINLINE void ID3D11DeviceContext3_HSSetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_HSSetShader(ID3D11DeviceContext3* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_HSSetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_HSSetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_DSSetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_DSSetShader(ID3D11DeviceContext3* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_DSSetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_DSSetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_CSSetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_CSSetUnorderedAccessViews(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext3_CSSetShader(ID3D11DeviceContext3* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_CSSetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_CSSetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_VSGetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_PSGetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_PSGetShader(ID3D11DeviceContext3* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_PSGetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_VSGetShader(ID3D11DeviceContext3* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_PSGetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_IAGetInputLayout(ID3D11DeviceContext3* This,ID3D11InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext3_IAGetVertexBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext3_IAGetIndexBuffer(ID3D11DeviceContext3* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext3_GSGetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_GSGetShader(ID3D11DeviceContext3* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_IAGetPrimitiveTopology(ID3D11DeviceContext3* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D11DeviceContext3_VSGetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_VSGetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_GetPredication(ID3D11DeviceContext3* This,ID3D11Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext3_GSGetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_GSGetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_OMGetRenderTargets(ID3D11DeviceContext3* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext3_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext3* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext3_OMGetBlendState(ID3D11DeviceContext3* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D11DeviceContext3_OMGetDepthStencilState(ID3D11DeviceContext3* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D11DeviceContext3_SOGetTargets(ID3D11DeviceContext3* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets); +} +static FORCEINLINE void ID3D11DeviceContext3_RSGetState(ID3D11DeviceContext3* This,ID3D11RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext3_RSGetViewports(ID3D11DeviceContext3* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext3_RSGetScissorRects(ID3D11DeviceContext3* This,UINT *pNumRects,D3D11_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext3_HSGetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_HSGetShader(ID3D11DeviceContext3* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_HSGetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_HSGetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_DSGetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_DSGetShader(ID3D11DeviceContext3* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_DSGetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_DSGetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_CSGetShaderResources(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext3_CSGetUnorderedAccessViews(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext3_CSGetShader(ID3D11DeviceContext3* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext3_CSGetSamplers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext3_CSGetConstantBuffers(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext3_ClearState(ID3D11DeviceContext3* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D11DeviceContext3_Flush(ID3D11DeviceContext3* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext3_GetType(ID3D11DeviceContext3* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE UINT ID3D11DeviceContext3_GetContextFlags(ID3D11DeviceContext3* This) { + return This->lpVtbl->GetContextFlags(This); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_FinishCommandList(ID3D11DeviceContext3* This,BOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) { + return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList); +} +/*** ID3D11DeviceContext1 methods ***/ +static FORCEINLINE void ID3D11DeviceContext3_CopySubresourceRegion1(ID3D11DeviceContext3* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox,UINT CopyFlags) { + This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext3_UpdateSubresource1(ID3D11DeviceContext3* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) { + This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext3_DiscardResource(ID3D11DeviceContext3* This,ID3D11Resource *pResource) { + This->lpVtbl->DiscardResource(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext3_DiscardView(ID3D11DeviceContext3* This,ID3D11View *pResourceView) { + This->lpVtbl->DiscardView(This,pResourceView); +} +static FORCEINLINE void ID3D11DeviceContext3_VSSetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_HSSetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_DSSetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_GSSetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_PSSetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_CSSetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_VSGetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_HSGetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_DSGetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_GSGetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_PSGetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_CSGetConstantBuffers1(ID3D11DeviceContext3* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext3_SwapDeviceContextState(ID3D11DeviceContext3* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) { + This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState); +} +static FORCEINLINE void ID3D11DeviceContext3_ClearView(ID3D11DeviceContext3* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) { + This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects); +} +static FORCEINLINE void ID3D11DeviceContext3_DiscardView1(ID3D11DeviceContext3* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) { + This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects); +} +/*** ID3D11DeviceContext2 methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext3_UpdateTileMappings(ID3D11DeviceContext3* This,ID3D11Resource *resource,UINT region_count,const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates,const D3D11_TILE_REGION_SIZE *region_sizes,ID3D11Buffer *pool,UINT range_count,const UINT *range_flags,const UINT *pool_start_offsets,const UINT *range_tile_counts,UINT flags) { + return This->lpVtbl->UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_CopyTileMappings(ID3D11DeviceContext3* This,ID3D11Resource *dst_resource,const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,ID3D11Resource *src_resource,const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate,const D3D11_TILE_REGION_SIZE *region_size,UINT flags) { + return This->lpVtbl->CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags); +} +static FORCEINLINE void ID3D11DeviceContext3_CopyTiles(ID3D11DeviceContext3* This,ID3D11Resource *resource,const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate,const D3D11_TILE_REGION_SIZE *size,ID3D11Buffer *buffer,UINT64 start_offset,UINT flags) { + This->lpVtbl->CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags); +} +static FORCEINLINE void ID3D11DeviceContext3_UpdateTiles(ID3D11DeviceContext3* This,ID3D11Resource *dst_resource,const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,const D3D11_TILE_REGION_SIZE *dst_region_size,const void *src_data,UINT flags) { + This->lpVtbl->UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags); +} +static FORCEINLINE HRESULT ID3D11DeviceContext3_ResizeTilePool(ID3D11DeviceContext3* This,ID3D11Buffer *pool,UINT64 size) { + return This->lpVtbl->ResizeTilePool(This,pool,size); +} +static FORCEINLINE void ID3D11DeviceContext3_TiledResourceBarrier(ID3D11DeviceContext3* This,ID3D11DeviceChild *before_barrier,ID3D11DeviceChild *after_barrier) { + This->lpVtbl->TiledResourceBarrier(This,before_barrier,after_barrier); +} +static FORCEINLINE BOOL ID3D11DeviceContext3_IsAnnotationEnabled(ID3D11DeviceContext3* This) { + return This->lpVtbl->IsAnnotationEnabled(This); +} +static FORCEINLINE void ID3D11DeviceContext3_SetMarkerInt(ID3D11DeviceContext3* This,const WCHAR *label,int data) { + This->lpVtbl->SetMarkerInt(This,label,data); +} +static FORCEINLINE void ID3D11DeviceContext3_BeginEventInt(ID3D11DeviceContext3* This,const WCHAR *label,int data) { + This->lpVtbl->BeginEventInt(This,label,data); +} +static FORCEINLINE void ID3D11DeviceContext3_EndEvent(ID3D11DeviceContext3* This) { + This->lpVtbl->EndEvent(This); +} +/*** ID3D11DeviceContext3 methods ***/ +static FORCEINLINE void ID3D11DeviceContext3_Flush1(ID3D11DeviceContext3* This,D3D11_CONTEXT_TYPE type,HANDLE event) { + This->lpVtbl->Flush1(This,type,event); +} +static FORCEINLINE void ID3D11DeviceContext3_SetHardwareProtectionState(ID3D11DeviceContext3* This,BOOL enable) { + This->lpVtbl->SetHardwareProtectionState(This,enable); +} +static FORCEINLINE void ID3D11DeviceContext3_GetHardwareProtectionState(ID3D11DeviceContext3* This,BOOL *enable) { + This->lpVtbl->GetHardwareProtectionState(This,enable); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DeviceContext3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Fence interface + */ +#ifndef __ID3D11Fence_INTERFACE_DEFINED__ +#define __ID3D11Fence_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Fence, 0xaffde9d1, 0x1df7, 0x4bb7, 0x8a,0x34, 0x0f,0x46,0x25,0x1d,0xab,0x80); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("affde9d1-1df7-4bb7-8a34-0f46251dab80") +ID3D11Fence : public ID3D11DeviceChild +{ + virtual HRESULT STDMETHODCALLTYPE CreateSharedHandle( + const SECURITY_ATTRIBUTES *attributes, + DWORD access, + const WCHAR *name, + HANDLE *handle) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetCompletedValue( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEventOnCompletion( + UINT64 value, + HANDLE event) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Fence, 0xaffde9d1, 0x1df7, 0x4bb7, 0x8a,0x34, 0x0f,0x46,0x25,0x1d,0xab,0x80) +#endif +#else +typedef struct ID3D11FenceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Fence *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Fence *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Fence *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11Fence *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Fence *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Fence *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Fence *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11Fence methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSharedHandle)( + ID3D11Fence *This, + const SECURITY_ATTRIBUTES *attributes, + DWORD access, + const WCHAR *name, + HANDLE *handle); + + UINT64 (STDMETHODCALLTYPE *GetCompletedValue)( + ID3D11Fence *This); + + HRESULT (STDMETHODCALLTYPE *SetEventOnCompletion)( + ID3D11Fence *This, + UINT64 value, + HANDLE event); + + END_INTERFACE +} ID3D11FenceVtbl; + +interface ID3D11Fence { + CONST_VTBL ID3D11FenceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Fence_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Fence_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Fence_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11Fence_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11Fence_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Fence_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Fence_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11Fence methods ***/ +#define ID3D11Fence_CreateSharedHandle(This,attributes,access,name,handle) (This)->lpVtbl->CreateSharedHandle(This,attributes,access,name,handle) +#define ID3D11Fence_GetCompletedValue(This) (This)->lpVtbl->GetCompletedValue(This) +#define ID3D11Fence_SetEventOnCompletion(This,value,event) (This)->lpVtbl->SetEventOnCompletion(This,value,event) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Fence_QueryInterface(ID3D11Fence* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Fence_AddRef(ID3D11Fence* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Fence_Release(ID3D11Fence* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11Fence_GetDevice(ID3D11Fence* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11Fence_GetPrivateData(ID3D11Fence* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Fence_SetPrivateData(ID3D11Fence* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Fence_SetPrivateDataInterface(ID3D11Fence* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11Fence methods ***/ +static FORCEINLINE HRESULT ID3D11Fence_CreateSharedHandle(ID3D11Fence* This,const SECURITY_ATTRIBUTES *attributes,DWORD access,const WCHAR *name,HANDLE *handle) { + return This->lpVtbl->CreateSharedHandle(This,attributes,access,name,handle); +} +static FORCEINLINE UINT64 ID3D11Fence_GetCompletedValue(ID3D11Fence* This) { + return This->lpVtbl->GetCompletedValue(This); +} +static FORCEINLINE HRESULT ID3D11Fence_SetEventOnCompletion(ID3D11Fence* This,UINT64 value,HANDLE event) { + return This->lpVtbl->SetEventOnCompletion(This,value,event); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Fence_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11DeviceContext4 interface + */ +#ifndef __ID3D11DeviceContext4_INTERFACE_DEFINED__ +#define __ID3D11DeviceContext4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11DeviceContext4, 0x917600da, 0xf58c, 0x4c33, 0x98,0xd8, 0x3e,0x15,0xb3,0x90,0xfa,0x24); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("917600da-f58c-4c33-98d8-3e15b390fa24") +ID3D11DeviceContext4 : public ID3D11DeviceContext3 +{ + virtual HRESULT STDMETHODCALLTYPE Signal( + ID3D11Fence *fence, + UINT64 value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Wait( + ID3D11Fence *fence, + UINT64 value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11DeviceContext4, 0x917600da, 0xf58c, 0x4c33, 0x98,0xd8, 0x3e,0x15,0xb3,0x90,0xfa,0x24) +#endif +#else +typedef struct ID3D11DeviceContext4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11DeviceContext4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11DeviceContext4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11DeviceContext4 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11DeviceContext4 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11DeviceContext4 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11DeviceContext4 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11DeviceContext4 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11DeviceContext methods ***/ + void (STDMETHODCALLTYPE *VSSetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSSetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSSetShader)( + ID3D11DeviceContext4 *This, + ID3D11PixelShader *pPixelShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *PSSetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *VSSetShader)( + ID3D11DeviceContext4 *This, + ID3D11VertexShader *pVertexShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DrawIndexed)( + ID3D11DeviceContext4 *This, + UINT IndexCount, + UINT StartIndexLocation, + INT BaseVertexLocation); + + void (STDMETHODCALLTYPE *Draw)( + ID3D11DeviceContext4 *This, + UINT VertexCount, + UINT StartVertexLocation); + + HRESULT (STDMETHODCALLTYPE *Map)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pResource, + UINT Subresource, + D3D11_MAP MapType, + UINT MapFlags, + D3D11_MAPPED_SUBRESOURCE *pMappedResource); + + void (STDMETHODCALLTYPE *Unmap)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pResource, + UINT Subresource); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *IASetInputLayout)( + ID3D11DeviceContext4 *This, + ID3D11InputLayout *pInputLayout); + + void (STDMETHODCALLTYPE *IASetVertexBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppVertexBuffers, + const UINT *pStrides, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *IASetIndexBuffer)( + ID3D11DeviceContext4 *This, + ID3D11Buffer *pIndexBuffer, + DXGI_FORMAT Format, + UINT Offset); + + void (STDMETHODCALLTYPE *DrawIndexedInstanced)( + ID3D11DeviceContext4 *This, + UINT IndexCountPerInstance, + UINT InstanceCount, + UINT StartIndexLocation, + INT BaseVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *DrawInstanced)( + ID3D11DeviceContext4 *This, + UINT VertexCountPerInstance, + UINT InstanceCount, + UINT StartVertexLocation, + UINT StartInstanceLocation); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSSetShader)( + ID3D11DeviceContext4 *This, + ID3D11GeometryShader *pShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( + ID3D11DeviceContext4 *This, + D3D11_PRIMITIVE_TOPOLOGY Topology); + + void (STDMETHODCALLTYPE *VSSetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSSetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *Begin)( + ID3D11DeviceContext4 *This, + ID3D11Asynchronous *pAsync); + + void (STDMETHODCALLTYPE *End)( + ID3D11DeviceContext4 *This, + ID3D11Asynchronous *pAsync); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ID3D11DeviceContext4 *This, + ID3D11Asynchronous *pAsync, + void *pData, + UINT DataSize, + UINT GetDataFlags); + + void (STDMETHODCALLTYPE *SetPredication)( + ID3D11DeviceContext4 *This, + ID3D11Predicate *pPredicate, + BOOL PredicateValue); + + void (STDMETHODCALLTYPE *GSSetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSSetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *OMSetRenderTargets)( + ID3D11DeviceContext4 *This, + UINT NumViews, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView); + + void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext4 *This, + UINT NumRTVs, + ID3D11RenderTargetView *const *ppRenderTargetViews, + ID3D11DepthStencilView *pDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *OMSetBlendState)( + ID3D11DeviceContext4 *This, + ID3D11BlendState *pBlendState, + const FLOAT BlendFactor[4], + UINT SampleMask); + + void (STDMETHODCALLTYPE *OMSetDepthStencilState)( + ID3D11DeviceContext4 *This, + ID3D11DepthStencilState *pDepthStencilState, + UINT StencilRef); + + void (STDMETHODCALLTYPE *SOSetTargets)( + ID3D11DeviceContext4 *This, + UINT NumBuffers, + ID3D11Buffer *const *ppSOTargets, + const UINT *pOffsets); + + void (STDMETHODCALLTYPE *DrawAuto)( + ID3D11DeviceContext4 *This); + + void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)( + ID3D11DeviceContext4 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *DrawInstancedIndirect)( + ID3D11DeviceContext4 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *Dispatch)( + ID3D11DeviceContext4 *This, + UINT ThreadGroupCountX, + UINT ThreadGroupCountY, + UINT ThreadGroupCountZ); + + void (STDMETHODCALLTYPE *DispatchIndirect)( + ID3D11DeviceContext4 *This, + ID3D11Buffer *pBufferForArgs, + UINT AlignedByteOffsetForArgs); + + void (STDMETHODCALLTYPE *RSSetState)( + ID3D11DeviceContext4 *This, + ID3D11RasterizerState *pRasterizerState); + + void (STDMETHODCALLTYPE *RSSetViewports)( + ID3D11DeviceContext4 *This, + UINT NumViewports, + const D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSSetScissorRects)( + ID3D11DeviceContext4 *This, + UINT NumRects, + const D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *CopySubresourceRegion)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox); + + void (STDMETHODCALLTYPE *CopyResource)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pDstResource, + ID3D11Resource *pSrcResource); + + void (STDMETHODCALLTYPE *UpdateSubresource)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch); + + void (STDMETHODCALLTYPE *CopyStructureCount)( + ID3D11DeviceContext4 *This, + ID3D11Buffer *pDstBuffer, + UINT DstAlignedByteOffset, + ID3D11UnorderedAccessView *pSrcView); + + void (STDMETHODCALLTYPE *ClearRenderTargetView)( + ID3D11DeviceContext4 *This, + ID3D11RenderTargetView *pRenderTargetView, + const FLOAT ColorRGBA[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)( + ID3D11DeviceContext4 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const UINT Values[4]); + + void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)( + ID3D11DeviceContext4 *This, + ID3D11UnorderedAccessView *pUnorderedAccessView, + const FLOAT Values[4]); + + void (STDMETHODCALLTYPE *ClearDepthStencilView)( + ID3D11DeviceContext4 *This, + ID3D11DepthStencilView *pDepthStencilView, + UINT ClearFlags, + FLOAT Depth, + UINT8 Stencil); + + void (STDMETHODCALLTYPE *GenerateMips)( + ID3D11DeviceContext4 *This, + ID3D11ShaderResourceView *pShaderResourceView); + + void (STDMETHODCALLTYPE *SetResourceMinLOD)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pResource, + FLOAT MinLOD); + + FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *ResolveSubresource)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + DXGI_FORMAT Format); + + void (STDMETHODCALLTYPE *ExecuteCommandList)( + ID3D11DeviceContext4 *This, + ID3D11CommandList *pCommandList, + BOOL RestoreContextState); + + void (STDMETHODCALLTYPE *HSSetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSSetShader)( + ID3D11DeviceContext4 *This, + ID3D11HullShader *pHullShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *HSSetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSSetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSSetShader)( + ID3D11DeviceContext4 *This, + ID3D11DomainShader *pDomainShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *DSSetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSSetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView *const *ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, + const UINT *pUAVInitialCounts); + + void (STDMETHODCALLTYPE *CSSetShader)( + ID3D11DeviceContext4 *This, + ID3D11ComputeShader *pComputeShader, + ID3D11ClassInstance *const *ppClassInstances, + UINT NumClassInstances); + + void (STDMETHODCALLTYPE *CSSetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState *const *ppSamplers); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *PSGetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *PSGetShader)( + ID3D11DeviceContext4 *This, + ID3D11PixelShader **ppPixelShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *VSGetShader)( + ID3D11DeviceContext4 *This, + ID3D11VertexShader **ppVertexShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *IAGetInputLayout)( + ID3D11DeviceContext4 *This, + ID3D11InputLayout **ppInputLayout); + + void (STDMETHODCALLTYPE *IAGetVertexBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppVertexBuffers, + UINT *pStrides, + UINT *pOffsets); + + void (STDMETHODCALLTYPE *IAGetIndexBuffer)( + ID3D11DeviceContext4 *This, + ID3D11Buffer **pIndexBuffer, + DXGI_FORMAT *Format, + UINT *Offset); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *GSGetShader)( + ID3D11DeviceContext4 *This, + ID3D11GeometryShader **ppGeometryShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( + ID3D11DeviceContext4 *This, + D3D11_PRIMITIVE_TOPOLOGY *pTopology); + + void (STDMETHODCALLTYPE *VSGetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *VSGetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *GetPredication)( + ID3D11DeviceContext4 *This, + ID3D11Predicate **ppPredicate, + BOOL *pPredicateValue); + + void (STDMETHODCALLTYPE *GSGetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *GSGetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *OMGetRenderTargets)( + ID3D11DeviceContext4 *This, + UINT NumViews, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView); + + void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)( + ID3D11DeviceContext4 *This, + UINT NumRTVs, + ID3D11RenderTargetView **ppRenderTargetViews, + ID3D11DepthStencilView **ppDepthStencilView, + UINT UAVStartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *OMGetBlendState)( + ID3D11DeviceContext4 *This, + ID3D11BlendState **ppBlendState, + FLOAT BlendFactor[4], + UINT *pSampleMask); + + void (STDMETHODCALLTYPE *OMGetDepthStencilState)( + ID3D11DeviceContext4 *This, + ID3D11DepthStencilState **ppDepthStencilState, + UINT *pStencilRef); + + void (STDMETHODCALLTYPE *SOGetTargets)( + ID3D11DeviceContext4 *This, + UINT NumBuffers, + ID3D11Buffer **ppSOTargets); + + void (STDMETHODCALLTYPE *RSGetState)( + ID3D11DeviceContext4 *This, + ID3D11RasterizerState **ppRasterizerState); + + void (STDMETHODCALLTYPE *RSGetViewports)( + ID3D11DeviceContext4 *This, + UINT *pNumViewports, + D3D11_VIEWPORT *pViewports); + + void (STDMETHODCALLTYPE *RSGetScissorRects)( + ID3D11DeviceContext4 *This, + UINT *pNumRects, + D3D11_RECT *pRects); + + void (STDMETHODCALLTYPE *HSGetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *HSGetShader)( + ID3D11DeviceContext4 *This, + ID3D11HullShader **ppHullShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *HSGetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *DSGetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *DSGetShader)( + ID3D11DeviceContext4 *This, + ID3D11DomainShader **ppDomainShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *DSGetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *CSGetShaderResources)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumViews, + ID3D11ShaderResourceView **ppShaderResourceViews); + + void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumUAVs, + ID3D11UnorderedAccessView **ppUnorderedAccessViews); + + void (STDMETHODCALLTYPE *CSGetShader)( + ID3D11DeviceContext4 *This, + ID3D11ComputeShader **ppComputeShader, + ID3D11ClassInstance **ppClassInstances, + UINT *pNumClassInstances); + + void (STDMETHODCALLTYPE *CSGetSamplers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumSamplers, + ID3D11SamplerState **ppSamplers); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers); + + void (STDMETHODCALLTYPE *ClearState)( + ID3D11DeviceContext4 *This); + + void (STDMETHODCALLTYPE *Flush)( + ID3D11DeviceContext4 *This); + + D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)( + ID3D11DeviceContext4 *This); + + UINT (STDMETHODCALLTYPE *GetContextFlags)( + ID3D11DeviceContext4 *This); + + HRESULT (STDMETHODCALLTYPE *FinishCommandList)( + ID3D11DeviceContext4 *This, + BOOL RestoreDeferredContextState, + ID3D11CommandList **ppCommandList); + + /*** ID3D11DeviceContext1 methods ***/ + void (STDMETHODCALLTYPE *CopySubresourceRegion1)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + UINT DstX, + UINT DstY, + UINT DstZ, + ID3D11Resource *pSrcResource, + UINT SrcSubresource, + const D3D11_BOX *pSrcBox, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *UpdateSubresource1)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pDstResource, + UINT DstSubresource, + const D3D11_BOX *pDstBox, + const void *pSrcData, + UINT SrcRowPitch, + UINT SrcDepthPitch, + UINT CopyFlags); + + void (STDMETHODCALLTYPE *DiscardResource)( + ID3D11DeviceContext4 *This, + ID3D11Resource *pResource); + + void (STDMETHODCALLTYPE *DiscardView)( + ID3D11DeviceContext4 *This, + ID3D11View *pResourceView); + + void (STDMETHODCALLTYPE *VSSetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSSetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSSetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSSetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSSetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSSetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer *const *ppConstantBuffers, + const UINT *pFirstConstant, + const UINT *pNumConstants); + + void (STDMETHODCALLTYPE *VSGetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *HSGetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *DSGetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *GSGetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *PSGetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *CSGetConstantBuffers1)( + ID3D11DeviceContext4 *This, + UINT StartSlot, + UINT NumBuffers, + ID3D11Buffer **ppConstantBuffers, + UINT *pFirstConstant, + UINT *pNumConstants); + + void (STDMETHODCALLTYPE *SwapDeviceContextState)( + ID3D11DeviceContext4 *This, + ID3DDeviceContextState *pState, + ID3DDeviceContextState **ppPreviousState); + + void (STDMETHODCALLTYPE *ClearView)( + ID3D11DeviceContext4 *This, + ID3D11View *pView, + const FLOAT Color[4], + const D3D11_RECT *pRect, + UINT NumRects); + + void (STDMETHODCALLTYPE *DiscardView1)( + ID3D11DeviceContext4 *This, + ID3D11View *pResourceView, + const D3D11_RECT *pRects, + UINT NumRects); + + /*** ID3D11DeviceContext2 methods ***/ + HRESULT (STDMETHODCALLTYPE *UpdateTileMappings)( + ID3D11DeviceContext4 *This, + ID3D11Resource *resource, + UINT region_count, + const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates, + const D3D11_TILE_REGION_SIZE *region_sizes, + ID3D11Buffer *pool, + UINT range_count, + const UINT *range_flags, + const UINT *pool_start_offsets, + const UINT *range_tile_counts, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *CopyTileMappings)( + ID3D11DeviceContext4 *This, + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + ID3D11Resource *src_resource, + const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate, + const D3D11_TILE_REGION_SIZE *region_size, + UINT flags); + + void (STDMETHODCALLTYPE *CopyTiles)( + ID3D11DeviceContext4 *This, + ID3D11Resource *resource, + const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate, + const D3D11_TILE_REGION_SIZE *size, + ID3D11Buffer *buffer, + UINT64 start_offset, + UINT flags); + + void (STDMETHODCALLTYPE *UpdateTiles)( + ID3D11DeviceContext4 *This, + ID3D11Resource *dst_resource, + const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, + const D3D11_TILE_REGION_SIZE *dst_region_size, + const void *src_data, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTilePool)( + ID3D11DeviceContext4 *This, + ID3D11Buffer *pool, + UINT64 size); + + void (STDMETHODCALLTYPE *TiledResourceBarrier)( + ID3D11DeviceContext4 *This, + ID3D11DeviceChild *before_barrier, + ID3D11DeviceChild *after_barrier); + + BOOL (STDMETHODCALLTYPE *IsAnnotationEnabled)( + ID3D11DeviceContext4 *This); + + void (STDMETHODCALLTYPE *SetMarkerInt)( + ID3D11DeviceContext4 *This, + const WCHAR *label, + int data); + + void (STDMETHODCALLTYPE *BeginEventInt)( + ID3D11DeviceContext4 *This, + const WCHAR *label, + int data); + + void (STDMETHODCALLTYPE *EndEvent)( + ID3D11DeviceContext4 *This); + + /*** ID3D11DeviceContext3 methods ***/ + void (STDMETHODCALLTYPE *Flush1)( + ID3D11DeviceContext4 *This, + D3D11_CONTEXT_TYPE type, + HANDLE event); + + void (STDMETHODCALLTYPE *SetHardwareProtectionState)( + ID3D11DeviceContext4 *This, + BOOL enable); + + void (STDMETHODCALLTYPE *GetHardwareProtectionState)( + ID3D11DeviceContext4 *This, + BOOL *enable); + + /*** ID3D11DeviceContext4 methods ***/ + HRESULT (STDMETHODCALLTYPE *Signal)( + ID3D11DeviceContext4 *This, + ID3D11Fence *fence, + UINT64 value); + + HRESULT (STDMETHODCALLTYPE *Wait)( + ID3D11DeviceContext4 *This, + ID3D11Fence *fence, + UINT64 value); + + END_INTERFACE +} ID3D11DeviceContext4Vtbl; + +interface ID3D11DeviceContext4 { + CONST_VTBL ID3D11DeviceContext4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11DeviceContext4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11DeviceContext4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11DeviceContext4_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11DeviceContext4_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11DeviceContext4_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11DeviceContext4_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11DeviceContext4_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11DeviceContext methods ***/ +#define ID3D11DeviceContext4_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext4_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext4_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) +#define ID3D11DeviceContext4_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) +#define ID3D11DeviceContext4_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) +#define ID3D11DeviceContext4_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource) +#define ID3D11DeviceContext4_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) +#define ID3D11DeviceContext4_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext4_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext4_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext4_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) +#define ID3D11DeviceContext4_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext4_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) +#define ID3D11DeviceContext4_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync) +#define ID3D11DeviceContext4_End(This,pAsync) (This)->lpVtbl->End(This,pAsync) +#define ID3D11DeviceContext4_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags) +#define ID3D11DeviceContext4_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) +#define ID3D11DeviceContext4_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) +#define ID3D11DeviceContext4_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext4_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) +#define ID3D11DeviceContext4_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) +#define ID3D11DeviceContext4_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) +#define ID3D11DeviceContext4_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) +#define ID3D11DeviceContext4_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext4_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext4_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) +#define ID3D11DeviceContext4_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) +#define ID3D11DeviceContext4_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) +#define ID3D11DeviceContext4_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) +#define ID3D11DeviceContext4_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) +#define ID3D11DeviceContext4_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) +#define ID3D11DeviceContext4_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) +#define ID3D11DeviceContext4_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) +#define ID3D11DeviceContext4_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) +#define ID3D11DeviceContext4_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) +#define ID3D11DeviceContext4_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext4_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) +#define ID3D11DeviceContext4_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) +#define ID3D11DeviceContext4_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) +#define ID3D11DeviceContext4_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD) +#define ID3D11DeviceContext4_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource) +#define ID3D11DeviceContext4_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) +#define ID3D11DeviceContext4_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState) +#define ID3D11DeviceContext4_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext4_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext4_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) +#define ID3D11DeviceContext4_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) +#define ID3D11DeviceContext4_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext4_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext4_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) +#define ID3D11DeviceContext4_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) +#define ID3D11DeviceContext4_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) +#define ID3D11DeviceContext4_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext4_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) +#define ID3D11DeviceContext4_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) +#define ID3D11DeviceContext4_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) +#define ID3D11DeviceContext4_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext4_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) +#define ID3D11DeviceContext4_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) +#define ID3D11DeviceContext4_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets) +#define ID3D11DeviceContext4_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) +#define ID3D11DeviceContext4_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports) +#define ID3D11DeviceContext4_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects) +#define ID3D11DeviceContext4_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext4_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext4_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) +#define ID3D11DeviceContext4_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) +#define ID3D11DeviceContext4_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) +#define ID3D11DeviceContext4_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) +#define ID3D11DeviceContext4_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) +#define ID3D11DeviceContext4_ClearState(This) (This)->lpVtbl->ClearState(This) +#define ID3D11DeviceContext4_Flush(This) (This)->lpVtbl->Flush(This) +#define ID3D11DeviceContext4_GetType(This) (This)->lpVtbl->GetType(This) +#define ID3D11DeviceContext4_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) +#define ID3D11DeviceContext4_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList) +/*** ID3D11DeviceContext1 methods ***/ +#define ID3D11DeviceContext4_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) (This)->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) +#define ID3D11DeviceContext4_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) +#define ID3D11DeviceContext4_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource) +#define ID3D11DeviceContext4_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView) +#define ID3D11DeviceContext4_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) +#define ID3D11DeviceContext4_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState) +#define ID3D11DeviceContext4_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects) +#define ID3D11DeviceContext4_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects) +/*** ID3D11DeviceContext2 methods ***/ +#define ID3D11DeviceContext4_UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags) (This)->lpVtbl->UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags) +#define ID3D11DeviceContext4_CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags) (This)->lpVtbl->CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags) +#define ID3D11DeviceContext4_CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags) (This)->lpVtbl->CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags) +#define ID3D11DeviceContext4_UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags) (This)->lpVtbl->UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags) +#define ID3D11DeviceContext4_ResizeTilePool(This,pool,size) (This)->lpVtbl->ResizeTilePool(This,pool,size) +#define ID3D11DeviceContext4_TiledResourceBarrier(This,before_barrier,after_barrier) (This)->lpVtbl->TiledResourceBarrier(This,before_barrier,after_barrier) +#define ID3D11DeviceContext4_IsAnnotationEnabled(This) (This)->lpVtbl->IsAnnotationEnabled(This) +#define ID3D11DeviceContext4_SetMarkerInt(This,label,data) (This)->lpVtbl->SetMarkerInt(This,label,data) +#define ID3D11DeviceContext4_BeginEventInt(This,label,data) (This)->lpVtbl->BeginEventInt(This,label,data) +#define ID3D11DeviceContext4_EndEvent(This) (This)->lpVtbl->EndEvent(This) +/*** ID3D11DeviceContext3 methods ***/ +#define ID3D11DeviceContext4_Flush1(This,type,event) (This)->lpVtbl->Flush1(This,type,event) +#define ID3D11DeviceContext4_SetHardwareProtectionState(This,enable) (This)->lpVtbl->SetHardwareProtectionState(This,enable) +#define ID3D11DeviceContext4_GetHardwareProtectionState(This,enable) (This)->lpVtbl->GetHardwareProtectionState(This,enable) +/*** ID3D11DeviceContext4 methods ***/ +#define ID3D11DeviceContext4_Signal(This,fence,value) (This)->lpVtbl->Signal(This,fence,value) +#define ID3D11DeviceContext4_Wait(This,fence,value) (This)->lpVtbl->Wait(This,fence,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext4_QueryInterface(ID3D11DeviceContext4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11DeviceContext4_AddRef(ID3D11DeviceContext4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11DeviceContext4_Release(ID3D11DeviceContext4* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11DeviceContext4_GetDevice(ID3D11DeviceContext4* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_GetPrivateData(ID3D11DeviceContext4* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_SetPrivateData(ID3D11DeviceContext4* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_SetPrivateDataInterface(ID3D11DeviceContext4* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11DeviceContext methods ***/ +static FORCEINLINE void ID3D11DeviceContext4_VSSetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_PSSetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_PSSetShader(ID3D11DeviceContext4* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_PSSetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_VSSetShader(ID3D11DeviceContext4* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_DrawIndexed(ID3D11DeviceContext4* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { + This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); +} +static FORCEINLINE void ID3D11DeviceContext4_Draw(ID3D11DeviceContext4* This,UINT VertexCount,UINT StartVertexLocation) { + This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_Map(ID3D11DeviceContext4* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) { + return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource); +} +static FORCEINLINE void ID3D11DeviceContext4_Unmap(ID3D11DeviceContext4* This,ID3D11Resource *pResource,UINT Subresource) { + This->lpVtbl->Unmap(This,pResource,Subresource); +} +static FORCEINLINE void ID3D11DeviceContext4_PSSetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_IASetInputLayout(ID3D11DeviceContext4* This,ID3D11InputLayout *pInputLayout) { + This->lpVtbl->IASetInputLayout(This,pInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext4_IASetVertexBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { + This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext4_IASetIndexBuffer(ID3D11DeviceContext4* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { + This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext4_DrawIndexedInstanced(ID3D11DeviceContext4* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext4_DrawInstanced(ID3D11DeviceContext4* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { + This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); +} +static FORCEINLINE void ID3D11DeviceContext4_GSSetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_GSSetShader(ID3D11DeviceContext4* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_IASetPrimitiveTopology(ID3D11DeviceContext4* This,D3D11_PRIMITIVE_TOPOLOGY Topology) { + This->lpVtbl->IASetPrimitiveTopology(This,Topology); +} +static FORCEINLINE void ID3D11DeviceContext4_VSSetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_VSSetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_Begin(ID3D11DeviceContext4* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->Begin(This,pAsync); +} +static FORCEINLINE void ID3D11DeviceContext4_End(ID3D11DeviceContext4* This,ID3D11Asynchronous *pAsync) { + This->lpVtbl->End(This,pAsync); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_GetData(ID3D11DeviceContext4* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) { + return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags); +} +static FORCEINLINE void ID3D11DeviceContext4_SetPredication(ID3D11DeviceContext4* This,ID3D11Predicate *pPredicate,BOOL PredicateValue) { + This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext4_GSSetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_GSSetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_OMSetRenderTargets(ID3D11DeviceContext4* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) { + This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext4_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext4* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext4_OMSetBlendState(ID3D11DeviceContext4* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { + This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); +} +static FORCEINLINE void ID3D11DeviceContext4_OMSetDepthStencilState(ID3D11DeviceContext4* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) { + This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); +} +static FORCEINLINE void ID3D11DeviceContext4_SOSetTargets(ID3D11DeviceContext4* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) { + This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext4_DrawAuto(ID3D11DeviceContext4* This) { + This->lpVtbl->DrawAuto(This); +} +static FORCEINLINE void ID3D11DeviceContext4_DrawIndexedInstancedIndirect(ID3D11DeviceContext4* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext4_DrawInstancedIndirect(ID3D11DeviceContext4* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext4_Dispatch(ID3D11DeviceContext4* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) { + This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ); +} +static FORCEINLINE void ID3D11DeviceContext4_DispatchIndirect(ID3D11DeviceContext4* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { + This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); +} +static FORCEINLINE void ID3D11DeviceContext4_RSSetState(ID3D11DeviceContext4* This,ID3D11RasterizerState *pRasterizerState) { + This->lpVtbl->RSSetState(This,pRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext4_RSSetViewports(ID3D11DeviceContext4* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext4_RSSetScissorRects(ID3D11DeviceContext4* This,UINT NumRects,const D3D11_RECT *pRects) { + This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext4_CopySubresourceRegion(ID3D11DeviceContext4* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) { + This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); +} +static FORCEINLINE void ID3D11DeviceContext4_CopyResource(ID3D11DeviceContext4* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) { + This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); +} +static FORCEINLINE void ID3D11DeviceContext4_UpdateSubresource(ID3D11DeviceContext4* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { + This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); +} +static FORCEINLINE void ID3D11DeviceContext4_CopyStructureCount(ID3D11DeviceContext4* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) { + This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView); +} +static FORCEINLINE void ID3D11DeviceContext4_ClearRenderTargetView(ID3D11DeviceContext4* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { + This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); +} +static FORCEINLINE void ID3D11DeviceContext4_ClearUnorderedAccessViewUint(ID3D11DeviceContext4* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext4_ClearUnorderedAccessViewFloat(ID3D11DeviceContext4* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) { + This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values); +} +static FORCEINLINE void ID3D11DeviceContext4_ClearDepthStencilView(ID3D11DeviceContext4* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { + This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); +} +static FORCEINLINE void ID3D11DeviceContext4_GenerateMips(ID3D11DeviceContext4* This,ID3D11ShaderResourceView *pShaderResourceView) { + This->lpVtbl->GenerateMips(This,pShaderResourceView); +} +static FORCEINLINE void ID3D11DeviceContext4_SetResourceMinLOD(ID3D11DeviceContext4* This,ID3D11Resource *pResource,FLOAT MinLOD) { + This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD); +} +static FORCEINLINE FLOAT ID3D11DeviceContext4_GetResourceMinLOD(ID3D11DeviceContext4* This,ID3D11Resource *pResource) { + return This->lpVtbl->GetResourceMinLOD(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext4_ResolveSubresource(ID3D11DeviceContext4* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { + This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); +} +static FORCEINLINE void ID3D11DeviceContext4_ExecuteCommandList(ID3D11DeviceContext4* This,ID3D11CommandList *pCommandList,BOOL RestoreContextState) { + This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState); +} +static FORCEINLINE void ID3D11DeviceContext4_HSSetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_HSSetShader(ID3D11DeviceContext4* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_HSSetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_HSSetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_DSSetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_DSSetShader(ID3D11DeviceContext4* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_DSSetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_DSSetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_CSSetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { + This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_CSSetUnorderedAccessViews(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { + This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); +} +static FORCEINLINE void ID3D11DeviceContext4_CSSetShader(ID3D11DeviceContext4* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { + This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_CSSetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { + This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_CSSetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { + This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_VSGetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_PSGetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_PSGetShader(ID3D11DeviceContext4* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_PSGetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_VSGetShader(ID3D11DeviceContext4* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_PSGetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_IAGetInputLayout(ID3D11DeviceContext4* This,ID3D11InputLayout **ppInputLayout) { + This->lpVtbl->IAGetInputLayout(This,ppInputLayout); +} +static FORCEINLINE void ID3D11DeviceContext4_IAGetVertexBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { + This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); +} +static FORCEINLINE void ID3D11DeviceContext4_IAGetIndexBuffer(ID3D11DeviceContext4* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { + This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); +} +static FORCEINLINE void ID3D11DeviceContext4_GSGetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_GSGetShader(ID3D11DeviceContext4* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_IAGetPrimitiveTopology(ID3D11DeviceContext4* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) { + This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); +} +static FORCEINLINE void ID3D11DeviceContext4_VSGetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_VSGetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_GetPredication(ID3D11DeviceContext4* This,ID3D11Predicate **ppPredicate,BOOL *pPredicateValue) { + This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); +} +static FORCEINLINE void ID3D11DeviceContext4_GSGetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_GSGetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_OMGetRenderTargets(ID3D11DeviceContext4* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) { + This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); +} +static FORCEINLINE void ID3D11DeviceContext4_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext4* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext4_OMGetBlendState(ID3D11DeviceContext4* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { + This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); +} +static FORCEINLINE void ID3D11DeviceContext4_OMGetDepthStencilState(ID3D11DeviceContext4* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { + This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); +} +static FORCEINLINE void ID3D11DeviceContext4_SOGetTargets(ID3D11DeviceContext4* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) { + This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets); +} +static FORCEINLINE void ID3D11DeviceContext4_RSGetState(ID3D11DeviceContext4* This,ID3D11RasterizerState **ppRasterizerState) { + This->lpVtbl->RSGetState(This,ppRasterizerState); +} +static FORCEINLINE void ID3D11DeviceContext4_RSGetViewports(ID3D11DeviceContext4* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) { + This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports); +} +static FORCEINLINE void ID3D11DeviceContext4_RSGetScissorRects(ID3D11DeviceContext4* This,UINT *pNumRects,D3D11_RECT *pRects) { + This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects); +} +static FORCEINLINE void ID3D11DeviceContext4_HSGetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_HSGetShader(ID3D11DeviceContext4* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_HSGetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_HSGetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_DSGetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_DSGetShader(ID3D11DeviceContext4* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_DSGetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_DSGetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_CSGetShaderResources(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { + This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); +} +static FORCEINLINE void ID3D11DeviceContext4_CSGetUnorderedAccessViews(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { + This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews); +} +static FORCEINLINE void ID3D11DeviceContext4_CSGetShader(ID3D11DeviceContext4* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { + This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances); +} +static FORCEINLINE void ID3D11DeviceContext4_CSGetSamplers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { + This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); +} +static FORCEINLINE void ID3D11DeviceContext4_CSGetConstantBuffers(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { + This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); +} +static FORCEINLINE void ID3D11DeviceContext4_ClearState(ID3D11DeviceContext4* This) { + This->lpVtbl->ClearState(This); +} +static FORCEINLINE void ID3D11DeviceContext4_Flush(ID3D11DeviceContext4* This) { + This->lpVtbl->Flush(This); +} +static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext4_GetType(ID3D11DeviceContext4* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE UINT ID3D11DeviceContext4_GetContextFlags(ID3D11DeviceContext4* This) { + return This->lpVtbl->GetContextFlags(This); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_FinishCommandList(ID3D11DeviceContext4* This,BOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) { + return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList); +} +/*** ID3D11DeviceContext1 methods ***/ +static FORCEINLINE void ID3D11DeviceContext4_CopySubresourceRegion1(ID3D11DeviceContext4* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox,UINT CopyFlags) { + This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext4_UpdateSubresource1(ID3D11DeviceContext4* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) { + This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags); +} +static FORCEINLINE void ID3D11DeviceContext4_DiscardResource(ID3D11DeviceContext4* This,ID3D11Resource *pResource) { + This->lpVtbl->DiscardResource(This,pResource); +} +static FORCEINLINE void ID3D11DeviceContext4_DiscardView(ID3D11DeviceContext4* This,ID3D11View *pResourceView) { + This->lpVtbl->DiscardView(This,pResourceView); +} +static FORCEINLINE void ID3D11DeviceContext4_VSSetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_HSSetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_DSSetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_GSSetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_PSSetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_CSSetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { + This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_VSGetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_HSGetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_DSGetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_GSGetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_PSGetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_CSGetConstantBuffers1(ID3D11DeviceContext4* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { + This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); +} +static FORCEINLINE void ID3D11DeviceContext4_SwapDeviceContextState(ID3D11DeviceContext4* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) { + This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState); +} +static FORCEINLINE void ID3D11DeviceContext4_ClearView(ID3D11DeviceContext4* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) { + This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects); +} +static FORCEINLINE void ID3D11DeviceContext4_DiscardView1(ID3D11DeviceContext4* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) { + This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects); +} +/*** ID3D11DeviceContext2 methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext4_UpdateTileMappings(ID3D11DeviceContext4* This,ID3D11Resource *resource,UINT region_count,const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates,const D3D11_TILE_REGION_SIZE *region_sizes,ID3D11Buffer *pool,UINT range_count,const UINT *range_flags,const UINT *pool_start_offsets,const UINT *range_tile_counts,UINT flags) { + return This->lpVtbl->UpdateTileMappings(This,resource,region_count,region_start_coordinates,region_sizes,pool,range_count,range_flags,pool_start_offsets,range_tile_counts,flags); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_CopyTileMappings(ID3D11DeviceContext4* This,ID3D11Resource *dst_resource,const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,ID3D11Resource *src_resource,const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate,const D3D11_TILE_REGION_SIZE *region_size,UINT flags) { + return This->lpVtbl->CopyTileMappings(This,dst_resource,dst_start_coordinate,src_resource,src_start_coordinate,region_size,flags); +} +static FORCEINLINE void ID3D11DeviceContext4_CopyTiles(ID3D11DeviceContext4* This,ID3D11Resource *resource,const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate,const D3D11_TILE_REGION_SIZE *size,ID3D11Buffer *buffer,UINT64 start_offset,UINT flags) { + This->lpVtbl->CopyTiles(This,resource,start_coordinate,size,buffer,start_offset,flags); +} +static FORCEINLINE void ID3D11DeviceContext4_UpdateTiles(ID3D11DeviceContext4* This,ID3D11Resource *dst_resource,const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,const D3D11_TILE_REGION_SIZE *dst_region_size,const void *src_data,UINT flags) { + This->lpVtbl->UpdateTiles(This,dst_resource,dst_start_coordinate,dst_region_size,src_data,flags); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_ResizeTilePool(ID3D11DeviceContext4* This,ID3D11Buffer *pool,UINT64 size) { + return This->lpVtbl->ResizeTilePool(This,pool,size); +} +static FORCEINLINE void ID3D11DeviceContext4_TiledResourceBarrier(ID3D11DeviceContext4* This,ID3D11DeviceChild *before_barrier,ID3D11DeviceChild *after_barrier) { + This->lpVtbl->TiledResourceBarrier(This,before_barrier,after_barrier); +} +static FORCEINLINE BOOL ID3D11DeviceContext4_IsAnnotationEnabled(ID3D11DeviceContext4* This) { + return This->lpVtbl->IsAnnotationEnabled(This); +} +static FORCEINLINE void ID3D11DeviceContext4_SetMarkerInt(ID3D11DeviceContext4* This,const WCHAR *label,int data) { + This->lpVtbl->SetMarkerInt(This,label,data); +} +static FORCEINLINE void ID3D11DeviceContext4_BeginEventInt(ID3D11DeviceContext4* This,const WCHAR *label,int data) { + This->lpVtbl->BeginEventInt(This,label,data); +} +static FORCEINLINE void ID3D11DeviceContext4_EndEvent(ID3D11DeviceContext4* This) { + This->lpVtbl->EndEvent(This); +} +/*** ID3D11DeviceContext3 methods ***/ +static FORCEINLINE void ID3D11DeviceContext4_Flush1(ID3D11DeviceContext4* This,D3D11_CONTEXT_TYPE type,HANDLE event) { + This->lpVtbl->Flush1(This,type,event); +} +static FORCEINLINE void ID3D11DeviceContext4_SetHardwareProtectionState(ID3D11DeviceContext4* This,BOOL enable) { + This->lpVtbl->SetHardwareProtectionState(This,enable); +} +static FORCEINLINE void ID3D11DeviceContext4_GetHardwareProtectionState(ID3D11DeviceContext4* This,BOOL *enable) { + This->lpVtbl->GetHardwareProtectionState(This,enable); +} +/*** ID3D11DeviceContext4 methods ***/ +static FORCEINLINE HRESULT ID3D11DeviceContext4_Signal(ID3D11DeviceContext4* This,ID3D11Fence *fence,UINT64 value) { + return This->lpVtbl->Signal(This,fence,value); +} +static FORCEINLINE HRESULT ID3D11DeviceContext4_Wait(ID3D11DeviceContext4* This,ID3D11Fence *fence,UINT64 value) { + return This->lpVtbl->Wait(This,fence,value); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11DeviceContext4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Device3 interface + */ +#ifndef __ID3D11Device3_INTERFACE_DEFINED__ +#define __ID3D11Device3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Device3, 0xa05c8c37, 0xd2c6, 0x4732, 0xb3,0xa0, 0x9c,0xe0,0xb0,0xdc,0x9a,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a05c8c37-d2c6-4732-b3a0-9ce0b0dc9ae6") +ID3D11Device3 : public ID3D11Device2 +{ + virtual HRESULT STDMETHODCALLTYPE CreateTexture2D1( + const D3D11_TEXTURE2D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture2D1 **texture) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTexture3D1( + const D3D11_TEXTURE3D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture3D1 **texture) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState2( + const D3D11_RASTERIZER_DESC2 *desc, + ID3D11RasterizerState2 **state) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView1( + ID3D11Resource *resource, + const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc, + ID3D11ShaderResourceView1 **view) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView1( + ID3D11Resource *resource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc, + ID3D11UnorderedAccessView1 **view) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView1( + ID3D11Resource *resource, + const D3D11_RENDER_TARGET_VIEW_DESC1 *desc, + ID3D11RenderTargetView1 **view) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQuery1( + const D3D11_QUERY_DESC1 *desc, + ID3D11Query1 **query) = 0; + + virtual void STDMETHODCALLTYPE GetImmediateContext3( + ID3D11DeviceContext3 **context) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext3( + UINT flags, + ID3D11DeviceContext3 **context) = 0; + + virtual void STDMETHODCALLTYPE WriteToSubresource( + ID3D11Resource *dst_resource, + UINT dst_subresource, + const D3D11_BOX *dst_box, + const void *src_data, + UINT src_row_pitch, + UINT src_depth_pitch) = 0; + + virtual void STDMETHODCALLTYPE ReadFromSubresource( + void *dst_data, + UINT dst_row_pitch, + UINT dst_depth_pitch, + ID3D11Resource *src_resource, + UINT src_subresource, + const D3D11_BOX *src_box) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Device3, 0xa05c8c37, 0xd2c6, 0x4732, 0xb3,0xa0, 0x9c,0xe0,0xb0,0xdc,0x9a,0xe6) +#endif +#else +typedef struct ID3D11Device3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Device3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Device3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Device3 *This); + + /*** ID3D11Device methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D11Device3 *This, + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D11Device3 *This, + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D11Device3 *This, + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D11Device3 *This, + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D11Device3 *This, + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( + ID3D11Device3 *This, + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D11Device3 *This, + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D11Device3 *This, + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D11Device3 *This, + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateHullShader)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader); + + HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader); + + HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( + ID3D11Device3 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader); + + HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( + ID3D11Device3 *This, + ID3D11ClassLinkage **ppLinkage); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D11Device3 *This, + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D11Device3 *This, + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D11Device3 *This, + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D11Device3 *This, + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D11Device3 *This, + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D11Device3 *This, + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D11Device3 *This, + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( + ID3D11Device3 *This, + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D11Device3 *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D11Device3 *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D11Device3 *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D11Device3 *This, + D3D11_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D11Device3 *This, + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength); + + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + ID3D11Device3 *This, + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Device3 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Device3 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Device3 *This, + REFGUID guid, + const IUnknown *pData); + + D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D11Device3 *This); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D11Device3 *This); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D11Device3 *This); + + void (STDMETHODCALLTYPE *GetImmediateContext)( + ID3D11Device3 *This, + ID3D11DeviceContext **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D11Device3 *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D11Device3 *This); + + /*** ID3D11Device1 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext1)( + ID3D11Device3 *This, + ID3D11DeviceContext1 **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)( + ID3D11Device3 *This, + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( + ID3D11Device3 *This, + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)( + ID3D11Device3 *This, + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)( + ID3D11Device3 *This, + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)( + ID3D11Device3 *This, + HANDLE hResource, + REFIID returnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)( + ID3D11Device3 *This, + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource); + + /*** ID3D11Device2 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext2)( + ID3D11Device3 *This, + ID3D11DeviceContext2 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext2)( + ID3D11Device3 *This, + UINT flags, + ID3D11DeviceContext2 **context); + + void (STDMETHODCALLTYPE *GetResourceTiling)( + ID3D11Device3 *This, + ID3D11Resource *resource, + UINT *tile_count, + D3D11_PACKED_MIP_DESC *mip_desc, + D3D11_TILE_SHAPE *tile_shape, + UINT *subresource_tiling_count, + UINT first_subresource_tiling, + D3D11_SUBRESOURCE_TILING *subresource_tiling); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels1)( + ID3D11Device3 *This, + DXGI_FORMAT format, + UINT sample_count, + UINT flags, + UINT *quality_level_count); + + /*** ID3D11Device3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTexture2D1)( + ID3D11Device3 *This, + const D3D11_TEXTURE2D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture2D1 **texture); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D1)( + ID3D11Device3 *This, + const D3D11_TEXTURE3D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture3D1 **texture); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState2)( + ID3D11Device3 *This, + const D3D11_RASTERIZER_DESC2 *desc, + ID3D11RasterizerState2 **state); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView1)( + ID3D11Device3 *This, + ID3D11Resource *resource, + const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc, + ID3D11ShaderResourceView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView1)( + ID3D11Device3 *This, + ID3D11Resource *resource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc, + ID3D11UnorderedAccessView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView1)( + ID3D11Device3 *This, + ID3D11Resource *resource, + const D3D11_RENDER_TARGET_VIEW_DESC1 *desc, + ID3D11RenderTargetView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateQuery1)( + ID3D11Device3 *This, + const D3D11_QUERY_DESC1 *desc, + ID3D11Query1 **query); + + void (STDMETHODCALLTYPE *GetImmediateContext3)( + ID3D11Device3 *This, + ID3D11DeviceContext3 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext3)( + ID3D11Device3 *This, + UINT flags, + ID3D11DeviceContext3 **context); + + void (STDMETHODCALLTYPE *WriteToSubresource)( + ID3D11Device3 *This, + ID3D11Resource *dst_resource, + UINT dst_subresource, + const D3D11_BOX *dst_box, + const void *src_data, + UINT src_row_pitch, + UINT src_depth_pitch); + + void (STDMETHODCALLTYPE *ReadFromSubresource)( + ID3D11Device3 *This, + void *dst_data, + UINT dst_row_pitch, + UINT dst_depth_pitch, + ID3D11Resource *src_resource, + UINT src_subresource, + const D3D11_BOX *src_box); + + END_INTERFACE +} ID3D11Device3Vtbl; + +interface ID3D11Device3 { + CONST_VTBL ID3D11Device3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Device3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Device3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Device3_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Device methods ***/ +#define ID3D11Device3_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D11Device3_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D11Device3_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D11Device3_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D11Device3_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D11Device3_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) +#define ID3D11Device3_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D11Device3_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D11Device3_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D11Device3_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) +#define ID3D11Device3_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) +#define ID3D11Device3_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) +#define ID3D11Device3_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) +#define ID3D11Device3_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) +#define ID3D11Device3_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) +#define ID3D11Device3_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) +#define ID3D11Device3_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) +#define ID3D11Device3_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device3_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D11Device3_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device3_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D11Device3_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D11Device3_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D11Device3_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D11Device3_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) +#define ID3D11Device3_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D11Device3_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D11Device3_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D11Device3_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D11Device3_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) +#define ID3D11Device3_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) +#define ID3D11Device3_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Device3_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Device3_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D11Device3_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#define ID3D11Device3_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D11Device3_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D11Device3_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) +#define ID3D11Device3_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D11Device3_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +/*** ID3D11Device1 methods ***/ +#define ID3D11Device3_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext) +#define ID3D11Device3_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext) +#define ID3D11Device3_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device3_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device3_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) +#define ID3D11Device3_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource) +#define ID3D11Device3_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) +/*** ID3D11Device2 methods ***/ +#define ID3D11Device3_GetImmediateContext2(This,context) (This)->lpVtbl->GetImmediateContext2(This,context) +#define ID3D11Device3_CreateDeferredContext2(This,flags,context) (This)->lpVtbl->CreateDeferredContext2(This,flags,context) +#define ID3D11Device3_GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) (This)->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) +#define ID3D11Device3_CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) (This)->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) +/*** ID3D11Device3 methods ***/ +#define ID3D11Device3_CreateTexture2D1(This,desc,initial_data,texture) (This)->lpVtbl->CreateTexture2D1(This,desc,initial_data,texture) +#define ID3D11Device3_CreateTexture3D1(This,desc,initial_data,texture) (This)->lpVtbl->CreateTexture3D1(This,desc,initial_data,texture) +#define ID3D11Device3_CreateRasterizerState2(This,desc,state) (This)->lpVtbl->CreateRasterizerState2(This,desc,state) +#define ID3D11Device3_CreateShaderResourceView1(This,resource,desc,view) (This)->lpVtbl->CreateShaderResourceView1(This,resource,desc,view) +#define ID3D11Device3_CreateUnorderedAccessView1(This,resource,desc,view) (This)->lpVtbl->CreateUnorderedAccessView1(This,resource,desc,view) +#define ID3D11Device3_CreateRenderTargetView1(This,resource,desc,view) (This)->lpVtbl->CreateRenderTargetView1(This,resource,desc,view) +#define ID3D11Device3_CreateQuery1(This,desc,query) (This)->lpVtbl->CreateQuery1(This,desc,query) +#define ID3D11Device3_GetImmediateContext3(This,context) (This)->lpVtbl->GetImmediateContext3(This,context) +#define ID3D11Device3_CreateDeferredContext3(This,flags,context) (This)->lpVtbl->CreateDeferredContext3(This,flags,context) +#define ID3D11Device3_WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch) (This)->lpVtbl->WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch) +#define ID3D11Device3_ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box) (This)->lpVtbl->ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Device3_QueryInterface(ID3D11Device3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Device3_AddRef(ID3D11Device3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Device3_Release(ID3D11Device3* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Device methods ***/ +static FORCEINLINE HRESULT ID3D11Device3_CreateBuffer(ID3D11Device3* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateTexture1D(ID3D11Device3* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateTexture2D(ID3D11Device3* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateTexture3D(ID3D11Device3* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateShaderResourceView(ID3D11Device3* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateUnorderedAccessView(ID3D11Device3* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { + return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateRenderTargetView(ID3D11Device3* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDepthStencilView(ID3D11Device3* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateInputLayout(ID3D11Device3* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateVertexShader(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateGeometryShader(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateGeometryShaderWithStreamOutput(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreatePixelShader(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateHullShader(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { + return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDomainShader(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { + return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateComputeShader(ID3D11Device3* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { + return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateClassLinkage(ID3D11Device3* This,ID3D11ClassLinkage **ppLinkage) { + return This->lpVtbl->CreateClassLinkage(This,ppLinkage); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateBlendState(ID3D11Device3* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDepthStencilState(ID3D11Device3* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateRasterizerState(ID3D11Device3* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateSamplerState(ID3D11Device3* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateQuery(ID3D11Device3* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D11Device3_CreatePredicate(ID3D11Device3* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateCounter(ID3D11Device3* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDeferredContext(ID3D11Device3* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device3_OpenSharedResource(ID3D11Device3* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device3_CheckFormatSupport(ID3D11Device3* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D11Device3_CheckMultisampleQualityLevels(ID3D11Device3* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D11Device3_CheckCounterInfo(ID3D11Device3* This,D3D11_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D11Device3_CheckCounter(ID3D11Device3* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); +} +static FORCEINLINE HRESULT ID3D11Device3_CheckFeatureSupport(ID3D11Device3* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { + return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); +} +static FORCEINLINE HRESULT ID3D11Device3_GetPrivateData(ID3D11Device3* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device3_SetPrivateData(ID3D11Device3* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device3_SetPrivateDataInterface(ID3D11Device3* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device3_GetFeatureLevel(ID3D11Device3* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +static FORCEINLINE UINT ID3D11Device3_GetCreationFlags(ID3D11Device3* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D11Device3_GetDeviceRemovedReason(ID3D11Device3* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE void ID3D11Device3_GetImmediateContext(ID3D11Device3* This,ID3D11DeviceContext **ppImmediateContext) { + This->lpVtbl->GetImmediateContext(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device3_SetExceptionMode(ID3D11Device3* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D11Device3_GetExceptionMode(ID3D11Device3* This) { + return This->lpVtbl->GetExceptionMode(This); +} +/*** ID3D11Device1 methods ***/ +static FORCEINLINE void ID3D11Device3_GetImmediateContext1(ID3D11Device3* This,ID3D11DeviceContext1 **ppImmediateContext) { + This->lpVtbl->GetImmediateContext1(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDeferredContext1(ID3D11Device3* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateBlendState1(ID3D11Device3* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) { + return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateRasterizerState1(ID3D11Device3* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDeviceContextState(ID3D11Device3* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) { + return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState); +} +static FORCEINLINE HRESULT ID3D11Device3_OpenSharedResource1(ID3D11Device3* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device3_OpenSharedResourceByName(ID3D11Device3* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource); +} +/*** ID3D11Device2 methods ***/ +static FORCEINLINE void ID3D11Device3_GetImmediateContext2(ID3D11Device3* This,ID3D11DeviceContext2 **context) { + This->lpVtbl->GetImmediateContext2(This,context); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDeferredContext2(ID3D11Device3* This,UINT flags,ID3D11DeviceContext2 **context) { + return This->lpVtbl->CreateDeferredContext2(This,flags,context); +} +static FORCEINLINE void ID3D11Device3_GetResourceTiling(ID3D11Device3* This,ID3D11Resource *resource,UINT *tile_count,D3D11_PACKED_MIP_DESC *mip_desc,D3D11_TILE_SHAPE *tile_shape,UINT *subresource_tiling_count,UINT first_subresource_tiling,D3D11_SUBRESOURCE_TILING *subresource_tiling) { + This->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling); +} +static FORCEINLINE HRESULT ID3D11Device3_CheckMultisampleQualityLevels1(ID3D11Device3* This,DXGI_FORMAT format,UINT sample_count,UINT flags,UINT *quality_level_count) { + return This->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count); +} +/*** ID3D11Device3 methods ***/ +static FORCEINLINE HRESULT ID3D11Device3_CreateTexture2D1(ID3D11Device3* This,const D3D11_TEXTURE2D_DESC1 *desc,const D3D11_SUBRESOURCE_DATA *initial_data,ID3D11Texture2D1 **texture) { + return This->lpVtbl->CreateTexture2D1(This,desc,initial_data,texture); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateTexture3D1(ID3D11Device3* This,const D3D11_TEXTURE3D_DESC1 *desc,const D3D11_SUBRESOURCE_DATA *initial_data,ID3D11Texture3D1 **texture) { + return This->lpVtbl->CreateTexture3D1(This,desc,initial_data,texture); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateRasterizerState2(ID3D11Device3* This,const D3D11_RASTERIZER_DESC2 *desc,ID3D11RasterizerState2 **state) { + return This->lpVtbl->CreateRasterizerState2(This,desc,state); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateShaderResourceView1(ID3D11Device3* This,ID3D11Resource *resource,const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc,ID3D11ShaderResourceView1 **view) { + return This->lpVtbl->CreateShaderResourceView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateUnorderedAccessView1(ID3D11Device3* This,ID3D11Resource *resource,const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc,ID3D11UnorderedAccessView1 **view) { + return This->lpVtbl->CreateUnorderedAccessView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateRenderTargetView1(ID3D11Device3* This,ID3D11Resource *resource,const D3D11_RENDER_TARGET_VIEW_DESC1 *desc,ID3D11RenderTargetView1 **view) { + return This->lpVtbl->CreateRenderTargetView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateQuery1(ID3D11Device3* This,const D3D11_QUERY_DESC1 *desc,ID3D11Query1 **query) { + return This->lpVtbl->CreateQuery1(This,desc,query); +} +static FORCEINLINE void ID3D11Device3_GetImmediateContext3(ID3D11Device3* This,ID3D11DeviceContext3 **context) { + This->lpVtbl->GetImmediateContext3(This,context); +} +static FORCEINLINE HRESULT ID3D11Device3_CreateDeferredContext3(ID3D11Device3* This,UINT flags,ID3D11DeviceContext3 **context) { + return This->lpVtbl->CreateDeferredContext3(This,flags,context); +} +static FORCEINLINE void ID3D11Device3_WriteToSubresource(ID3D11Device3* This,ID3D11Resource *dst_resource,UINT dst_subresource,const D3D11_BOX *dst_box,const void *src_data,UINT src_row_pitch,UINT src_depth_pitch) { + This->lpVtbl->WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch); +} +static FORCEINLINE void ID3D11Device3_ReadFromSubresource(ID3D11Device3* This,void *dst_data,UINT dst_row_pitch,UINT dst_depth_pitch,ID3D11Resource *src_resource,UINT src_subresource,const D3D11_BOX *src_box) { + This->lpVtbl->ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Device3_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d11_3_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_3.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_3.idl new file mode 100644 index 0000000..4f9ea79 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_3.idl @@ -0,0 +1,384 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi1_3.idl"; +import "d3dcommon.idl"; +import "d3d11_2.idl"; + +typedef enum D3D11_CONTEXT_TYPE +{ + D3D11_CONTEXT_TYPE_ALL = 0x0, + D3D11_CONTEXT_TYPE_3D = 0x1, + D3D11_CONTEXT_TYPE_COMPUTE = 0x2, + D3D11_CONTEXT_TYPE_COPY = 0x3, + D3D11_CONTEXT_TYPE_VIDEO = 0x4, +} D3D11_CONTEXT_TYPE; + +typedef enum D3D11_TEXTURE_LAYOUT +{ + D3D11_TEXTURE_LAYOUT_UNDEFINED = 0x0, + D3D11_TEXTURE_LAYOUT_ROW_MAJOR = 0x1, + D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE = 0x2, +} D3D11_TEXTURE_LAYOUT; + +typedef enum D3D11_CONSERVATIVE_RASTERIZATION_MODE +{ + D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF = 0x0, + D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON = 0x1, +} D3D11_CONSERVATIVE_RASTERIZATION_MODE; + +typedef enum D3D11_FENCE_FLAG +{ + D3D11_FENCE_FLAG_NONE = 0x1, + D3D11_FENCE_FLAG_SHARED = 0x2, + D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4, +} D3D11_FENCE_FLAG; + +typedef struct D3D11_TEXTURE2D_DESC1 +{ + UINT Width; + UINT Height; + UINT MipLevels; + UINT ArraySize; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; + D3D11_TEXTURE_LAYOUT TextureLayout; +} D3D11_TEXTURE2D_DESC1; + +typedef struct D3D11_TEXTURE3D_DESC1 +{ + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + DXGI_FORMAT Format; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CPUAccessFlags; + UINT MiscFlags; + D3D11_TEXTURE_LAYOUT TextureLayout; +} D3D11_TEXTURE3D_DESC1; + +typedef struct D3D11_RASTERIZER_DESC2 +{ + D3D11_FILL_MODE FillMode; + D3D11_CULL_MODE CullMode; + BOOL FrontCounterClockwise; + int DepthBias; + float DepthBiasClamp; + float SlopeScaledDepthBias; + BOOL DepthClipEnable; + BOOL ScissorEnable; + BOOL MultisampleEnable; + BOOL AntialiasedLineEnable; + UINT ForcedSampleCount; + D3D11_CONSERVATIVE_RASTERIZATION_MODE ConservativeRaster; +} D3D11_RASTERIZER_DESC2; + +typedef struct D3D11_TEX2D_SRV1 +{ + UINT MostDetailedMip; + UINT MipLevels; + UINT PlaneSlice; +} D3D11_TEX2D_SRV1; + +typedef struct D3D11_TEX2D_ARRAY_SRV1 +{ + UINT MostDetailedMip; + UINT MipLevels; + UINT FirstArraySlice; + UINT ArraySize; + UINT PlaneSlice; +} D3D11_TEX2D_ARRAY_SRV1; + +typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC1 +{ + DXGI_FORMAT Format; + D3D11_SRV_DIMENSION ViewDimension; + + union + { + D3D11_BUFFER_SRV Buffer; + D3D11_TEX1D_SRV Texture1D; + D3D11_TEX1D_ARRAY_SRV Texture1DArray; + D3D11_TEX2D_SRV1 Texture2D; + D3D11_TEX2D_ARRAY_SRV1 Texture2DArray; + D3D11_TEX2DMS_SRV Texture2DMS; + D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray; + D3D11_TEX3D_SRV Texture3D; + D3D11_TEXCUBE_SRV TextureCube; + D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray; + D3D11_BUFFEREX_SRV BufferEx; + }; +} D3D11_SHADER_RESOURCE_VIEW_DESC1; + +typedef struct D3D11_TEX2D_RTV1 +{ + UINT MipSlice; + UINT PlaneSlice; +} D3D11_TEX2D_RTV1; + +typedef struct D3D11_TEX2D_ARRAY_RTV1 +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; + UINT PlaneSlice; +} D3D11_TEX2D_ARRAY_RTV1; + +typedef struct D3D11_RENDER_TARGET_VIEW_DESC1 +{ + DXGI_FORMAT Format; + D3D11_RTV_DIMENSION ViewDimension; + + union + { + D3D11_BUFFER_RTV Buffer; + D3D11_TEX1D_RTV Texture1D; + D3D11_TEX1D_ARRAY_RTV Texture1DArray; + D3D11_TEX2D_RTV1 Texture2D; + D3D11_TEX2D_ARRAY_RTV1 Texture2DArray; + D3D11_TEX2DMS_RTV Texture2DMS; + D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray; + D3D11_TEX3D_RTV Texture3D; + }; +} D3D11_RENDER_TARGET_VIEW_DESC1; + +typedef struct D3D11_TEX2D_UAV1 +{ + UINT MipSlice; + UINT PlaneSlice; +} D3D11_TEX2D_UAV1; + +typedef struct D3D11_TEX2D_ARRAY_UAV1 +{ + UINT MipSlice; + UINT FirstArraySlice; + UINT ArraySize; + UINT PlaneSlice; +} D3D11_TEX2D_ARRAY_UAV1; + +typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC1 +{ + DXGI_FORMAT Format; + D3D11_UAV_DIMENSION ViewDimension; + + union + { + D3D11_BUFFER_UAV Buffer; + D3D11_TEX1D_UAV Texture1D; + D3D11_TEX1D_ARRAY_UAV Texture1DArray; + D3D11_TEX2D_UAV1 Texture2D; + D3D11_TEX2D_ARRAY_UAV1 Texture2DArray; + D3D11_TEX3D_UAV Texture3D; + }; +} D3D11_UNORDERED_ACCESS_VIEW_DESC1; + +typedef struct D3D11_QUERY_DESC1 +{ + D3D11_QUERY Query; + UINT MiscFlags; + D3D11_CONTEXT_TYPE ContextType; +} D3D11_QUERY_DESC1; + +[ + uuid(51218251-1e33-4617-9ccb-4d3a4367e7bb), + object, + local, + pointer_default(unique) +] +interface ID3D11Texture2D1 : ID3D11Texture2D +{ + void GetDesc1(D3D11_TEXTURE2D_DESC1 *desc); +} + +[ + uuid(0c711683-2853-4846-9bb0-f3e60639e46a), + object, + local, + pointer_default(unique) +] +interface ID3D11Texture3D1 : ID3D11Texture3D +{ + void GetDesc1(D3D11_TEXTURE3D_DESC1 *desc); +} + +[ + uuid(6fbd02fb-209f-46c4-b059-2ed15586a6ac), + object, + local, + pointer_default(unique) +] +interface ID3D11RasterizerState2 : ID3D11RasterizerState1 +{ + void GetDesc2(D3D11_RASTERIZER_DESC2 *desc); +} + +[ + uuid(91308b87-9040-411d-8c67-c39253ce3802), + object, + local, + pointer_default(unique) +] +interface ID3D11ShaderResourceView1 : ID3D11ShaderResourceView +{ + void GetDesc1(D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc); +} + +[ + uuid(ffbe2e23-f011-418a-ac56-5ceed7c5b94b), + object, + local, + pointer_default(unique) +] +interface ID3D11RenderTargetView1 : ID3D11RenderTargetView +{ + void GetDesc1(D3D11_RENDER_TARGET_VIEW_DESC1 *desc); +} + +[ + uuid(7b3b6153-a886-4544-ab37-6537c8500403), + object, + local, + pointer_default(unique) +] +interface ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView +{ + void GetDesc1(D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc); +} + +[ + uuid(631b4766-36dc-461d-8db6-c47e13e60916), + object, + local, + pointer_default(unique) +] +interface ID3D11Query1 : ID3D11Query +{ + void GetDesc1(D3D11_QUERY_DESC1 *desc); +} + +[ + uuid(b4e3c01d-e79e-4637-91b2-510e9f4c9b8f), + object, + local, + pointer_default(unique) +] +interface ID3D11DeviceContext3 : ID3D11DeviceContext2 +{ + void Flush1(D3D11_CONTEXT_TYPE type, HANDLE event); + void SetHardwareProtectionState(BOOL enable); + void GetHardwareProtectionState(BOOL *enable); +} + +[ + uuid(affde9d1-1df7-4bb7-8a34-0f46251dab80), + object, + local, + pointer_default(unique) +] +interface ID3D11Fence : ID3D11DeviceChild +{ + HRESULT CreateSharedHandle( + const SECURITY_ATTRIBUTES *attributes, + DWORD access, + const WCHAR *name, + HANDLE *handle + ); + UINT64 GetCompletedValue(); + HRESULT SetEventOnCompletion( + UINT64 value, + HANDLE event + ); +} + +[ + uuid(917600da-f58c-4c33-98d8-3e15b390fa24), + object, + local, + pointer_default(unique) +] +interface ID3D11DeviceContext4 : ID3D11DeviceContext3 +{ + HRESULT Signal(ID3D11Fence *fence, UINT64 value); + HRESULT Wait(ID3D11Fence *fence, UINT64 value); +} + +[ + uuid(a05c8c37-d2c6-4732-b3a0-9ce0b0dc9ae6), + object, + local, + pointer_default(unique) +] +interface ID3D11Device3 : ID3D11Device2 +{ + HRESULT CreateTexture2D1( + const D3D11_TEXTURE2D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture2D1 **texture + ); + HRESULT CreateTexture3D1( + const D3D11_TEXTURE3D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture3D1 **texture + ); + HRESULT CreateRasterizerState2( + const D3D11_RASTERIZER_DESC2 *desc, + ID3D11RasterizerState2 **state + ); + HRESULT CreateShaderResourceView1( + ID3D11Resource *resource, + const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc, + ID3D11ShaderResourceView1 **view + ); + HRESULT CreateUnorderedAccessView1( + ID3D11Resource *resource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc, + ID3D11UnorderedAccessView1 **view + ); + HRESULT CreateRenderTargetView1( + ID3D11Resource *resource, + const D3D11_RENDER_TARGET_VIEW_DESC1 *desc, + ID3D11RenderTargetView1 **view + ); + HRESULT CreateQuery1(const D3D11_QUERY_DESC1 *desc, ID3D11Query1 **query); + void GetImmediateContext3(ID3D11DeviceContext3 **context); + HRESULT CreateDeferredContext3(UINT flags, ID3D11DeviceContext3 **context); + void WriteToSubresource( + ID3D11Resource *dst_resource, + UINT dst_subresource, + const D3D11_BOX *dst_box, + const void *src_data, + UINT src_row_pitch, + UINT src_depth_pitch + ); + void ReadFromSubresource( + void *dst_data, + UINT dst_row_pitch, + UINT dst_depth_pitch, + ID3D11Resource *src_resource, + UINT src_subresource, + const D3D11_BOX *src_box + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_4.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_4.h new file mode 100644 index 0000000..a7063e0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_4.h @@ -0,0 +1,2595 @@ +/*** Autogenerated by WIDL 2.18 from d3d11_4.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d11_4_h__ +#define __d3d11_4_h__ + +/* Forward declarations */ + +#ifndef __ID3D11Device4_FWD_DEFINED__ +#define __ID3D11Device4_FWD_DEFINED__ +typedef interface ID3D11Device4 ID3D11Device4; +#ifdef __cplusplus +interface ID3D11Device4; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Device5_FWD_DEFINED__ +#define __ID3D11Device5_FWD_DEFINED__ +typedef interface ID3D11Device5 ID3D11Device5; +#ifdef __cplusplus +interface ID3D11Device5; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11Multithread_FWD_DEFINED__ +#define __ID3D11Multithread_FWD_DEFINED__ +typedef interface ID3D11Multithread ID3D11Multithread; +#ifdef __cplusplus +interface ID3D11Multithread; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11VideoContext2_FWD_DEFINED__ +#define __ID3D11VideoContext2_FWD_DEFINED__ +typedef interface ID3D11VideoContext2 ID3D11VideoContext2; +#ifdef __cplusplus +interface ID3D11VideoContext2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4 { + BOOL ExtendedNV12SharedTextureSupported; +} D3D11_FEATURE_DATA_D3D11_OPTIONS4; +/***************************************************************************** + * ID3D11Device4 interface + */ +#ifndef __ID3D11Device4_INTERFACE_DEFINED__ +#define __ID3D11Device4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Device4, 0x8992ab71, 0x02e6, 0x4b8d, 0xba,0x48, 0xb0,0x56,0xdc,0xda,0x42,0xc4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8992ab71-02e6-4b8d-ba48-b056dcda42c4") +ID3D11Device4 : public ID3D11Device3 +{ + virtual HRESULT STDMETHODCALLTYPE RegisterDeviceRemovedEvent( + HANDLE event, + DWORD *cookie) = 0; + + virtual void STDMETHODCALLTYPE UnregisterDeviceRemoved( + DWORD cookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Device4, 0x8992ab71, 0x02e6, 0x4b8d, 0xba,0x48, 0xb0,0x56,0xdc,0xda,0x42,0xc4) +#endif +#else +typedef struct ID3D11Device4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Device4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Device4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Device4 *This); + + /*** ID3D11Device methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D11Device4 *This, + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D11Device4 *This, + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D11Device4 *This, + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D11Device4 *This, + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D11Device4 *This, + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( + ID3D11Device4 *This, + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D11Device4 *This, + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D11Device4 *This, + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D11Device4 *This, + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateHullShader)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader); + + HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader); + + HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( + ID3D11Device4 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader); + + HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( + ID3D11Device4 *This, + ID3D11ClassLinkage **ppLinkage); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D11Device4 *This, + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D11Device4 *This, + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D11Device4 *This, + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D11Device4 *This, + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D11Device4 *This, + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D11Device4 *This, + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D11Device4 *This, + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( + ID3D11Device4 *This, + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D11Device4 *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D11Device4 *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D11Device4 *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D11Device4 *This, + D3D11_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D11Device4 *This, + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength); + + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + ID3D11Device4 *This, + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Device4 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Device4 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Device4 *This, + REFGUID guid, + const IUnknown *pData); + + D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D11Device4 *This); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D11Device4 *This); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D11Device4 *This); + + void (STDMETHODCALLTYPE *GetImmediateContext)( + ID3D11Device4 *This, + ID3D11DeviceContext **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D11Device4 *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D11Device4 *This); + + /*** ID3D11Device1 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext1)( + ID3D11Device4 *This, + ID3D11DeviceContext1 **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)( + ID3D11Device4 *This, + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( + ID3D11Device4 *This, + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)( + ID3D11Device4 *This, + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)( + ID3D11Device4 *This, + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)( + ID3D11Device4 *This, + HANDLE hResource, + REFIID returnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)( + ID3D11Device4 *This, + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource); + + /*** ID3D11Device2 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext2)( + ID3D11Device4 *This, + ID3D11DeviceContext2 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext2)( + ID3D11Device4 *This, + UINT flags, + ID3D11DeviceContext2 **context); + + void (STDMETHODCALLTYPE *GetResourceTiling)( + ID3D11Device4 *This, + ID3D11Resource *resource, + UINT *tile_count, + D3D11_PACKED_MIP_DESC *mip_desc, + D3D11_TILE_SHAPE *tile_shape, + UINT *subresource_tiling_count, + UINT first_subresource_tiling, + D3D11_SUBRESOURCE_TILING *subresource_tiling); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels1)( + ID3D11Device4 *This, + DXGI_FORMAT format, + UINT sample_count, + UINT flags, + UINT *quality_level_count); + + /*** ID3D11Device3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTexture2D1)( + ID3D11Device4 *This, + const D3D11_TEXTURE2D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture2D1 **texture); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D1)( + ID3D11Device4 *This, + const D3D11_TEXTURE3D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture3D1 **texture); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState2)( + ID3D11Device4 *This, + const D3D11_RASTERIZER_DESC2 *desc, + ID3D11RasterizerState2 **state); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView1)( + ID3D11Device4 *This, + ID3D11Resource *resource, + const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc, + ID3D11ShaderResourceView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView1)( + ID3D11Device4 *This, + ID3D11Resource *resource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc, + ID3D11UnorderedAccessView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView1)( + ID3D11Device4 *This, + ID3D11Resource *resource, + const D3D11_RENDER_TARGET_VIEW_DESC1 *desc, + ID3D11RenderTargetView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateQuery1)( + ID3D11Device4 *This, + const D3D11_QUERY_DESC1 *desc, + ID3D11Query1 **query); + + void (STDMETHODCALLTYPE *GetImmediateContext3)( + ID3D11Device4 *This, + ID3D11DeviceContext3 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext3)( + ID3D11Device4 *This, + UINT flags, + ID3D11DeviceContext3 **context); + + void (STDMETHODCALLTYPE *WriteToSubresource)( + ID3D11Device4 *This, + ID3D11Resource *dst_resource, + UINT dst_subresource, + const D3D11_BOX *dst_box, + const void *src_data, + UINT src_row_pitch, + UINT src_depth_pitch); + + void (STDMETHODCALLTYPE *ReadFromSubresource)( + ID3D11Device4 *This, + void *dst_data, + UINT dst_row_pitch, + UINT dst_depth_pitch, + ID3D11Resource *src_resource, + UINT src_subresource, + const D3D11_BOX *src_box); + + /*** ID3D11Device4 methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterDeviceRemovedEvent)( + ID3D11Device4 *This, + HANDLE event, + DWORD *cookie); + + void (STDMETHODCALLTYPE *UnregisterDeviceRemoved)( + ID3D11Device4 *This, + DWORD cookie); + + END_INTERFACE +} ID3D11Device4Vtbl; + +interface ID3D11Device4 { + CONST_VTBL ID3D11Device4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Device4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Device4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Device4_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Device methods ***/ +#define ID3D11Device4_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D11Device4_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D11Device4_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D11Device4_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D11Device4_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D11Device4_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) +#define ID3D11Device4_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D11Device4_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D11Device4_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D11Device4_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) +#define ID3D11Device4_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) +#define ID3D11Device4_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) +#define ID3D11Device4_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) +#define ID3D11Device4_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) +#define ID3D11Device4_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) +#define ID3D11Device4_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) +#define ID3D11Device4_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) +#define ID3D11Device4_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device4_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D11Device4_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device4_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D11Device4_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D11Device4_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D11Device4_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D11Device4_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) +#define ID3D11Device4_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D11Device4_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D11Device4_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D11Device4_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D11Device4_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) +#define ID3D11Device4_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) +#define ID3D11Device4_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Device4_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Device4_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D11Device4_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#define ID3D11Device4_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D11Device4_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D11Device4_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) +#define ID3D11Device4_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D11Device4_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +/*** ID3D11Device1 methods ***/ +#define ID3D11Device4_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext) +#define ID3D11Device4_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext) +#define ID3D11Device4_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device4_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device4_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) +#define ID3D11Device4_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource) +#define ID3D11Device4_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) +/*** ID3D11Device2 methods ***/ +#define ID3D11Device4_GetImmediateContext2(This,context) (This)->lpVtbl->GetImmediateContext2(This,context) +#define ID3D11Device4_CreateDeferredContext2(This,flags,context) (This)->lpVtbl->CreateDeferredContext2(This,flags,context) +#define ID3D11Device4_GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) (This)->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) +#define ID3D11Device4_CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) (This)->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) +/*** ID3D11Device3 methods ***/ +#define ID3D11Device4_CreateTexture2D1(This,desc,initial_data,texture) (This)->lpVtbl->CreateTexture2D1(This,desc,initial_data,texture) +#define ID3D11Device4_CreateTexture3D1(This,desc,initial_data,texture) (This)->lpVtbl->CreateTexture3D1(This,desc,initial_data,texture) +#define ID3D11Device4_CreateRasterizerState2(This,desc,state) (This)->lpVtbl->CreateRasterizerState2(This,desc,state) +#define ID3D11Device4_CreateShaderResourceView1(This,resource,desc,view) (This)->lpVtbl->CreateShaderResourceView1(This,resource,desc,view) +#define ID3D11Device4_CreateUnorderedAccessView1(This,resource,desc,view) (This)->lpVtbl->CreateUnorderedAccessView1(This,resource,desc,view) +#define ID3D11Device4_CreateRenderTargetView1(This,resource,desc,view) (This)->lpVtbl->CreateRenderTargetView1(This,resource,desc,view) +#define ID3D11Device4_CreateQuery1(This,desc,query) (This)->lpVtbl->CreateQuery1(This,desc,query) +#define ID3D11Device4_GetImmediateContext3(This,context) (This)->lpVtbl->GetImmediateContext3(This,context) +#define ID3D11Device4_CreateDeferredContext3(This,flags,context) (This)->lpVtbl->CreateDeferredContext3(This,flags,context) +#define ID3D11Device4_WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch) (This)->lpVtbl->WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch) +#define ID3D11Device4_ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box) (This)->lpVtbl->ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box) +/*** ID3D11Device4 methods ***/ +#define ID3D11Device4_RegisterDeviceRemovedEvent(This,event,cookie) (This)->lpVtbl->RegisterDeviceRemovedEvent(This,event,cookie) +#define ID3D11Device4_UnregisterDeviceRemoved(This,cookie) (This)->lpVtbl->UnregisterDeviceRemoved(This,cookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Device4_QueryInterface(ID3D11Device4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Device4_AddRef(ID3D11Device4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Device4_Release(ID3D11Device4* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Device methods ***/ +static FORCEINLINE HRESULT ID3D11Device4_CreateBuffer(ID3D11Device4* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateTexture1D(ID3D11Device4* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateTexture2D(ID3D11Device4* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateTexture3D(ID3D11Device4* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateShaderResourceView(ID3D11Device4* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateUnorderedAccessView(ID3D11Device4* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { + return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateRenderTargetView(ID3D11Device4* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDepthStencilView(ID3D11Device4* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateInputLayout(ID3D11Device4* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateVertexShader(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateGeometryShader(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateGeometryShaderWithStreamOutput(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreatePixelShader(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateHullShader(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { + return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDomainShader(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { + return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateComputeShader(ID3D11Device4* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { + return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateClassLinkage(ID3D11Device4* This,ID3D11ClassLinkage **ppLinkage) { + return This->lpVtbl->CreateClassLinkage(This,ppLinkage); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateBlendState(ID3D11Device4* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDepthStencilState(ID3D11Device4* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateRasterizerState(ID3D11Device4* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateSamplerState(ID3D11Device4* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateQuery(ID3D11Device4* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D11Device4_CreatePredicate(ID3D11Device4* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateCounter(ID3D11Device4* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDeferredContext(ID3D11Device4* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device4_OpenSharedResource(ID3D11Device4* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device4_CheckFormatSupport(ID3D11Device4* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D11Device4_CheckMultisampleQualityLevels(ID3D11Device4* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D11Device4_CheckCounterInfo(ID3D11Device4* This,D3D11_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D11Device4_CheckCounter(ID3D11Device4* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); +} +static FORCEINLINE HRESULT ID3D11Device4_CheckFeatureSupport(ID3D11Device4* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { + return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); +} +static FORCEINLINE HRESULT ID3D11Device4_GetPrivateData(ID3D11Device4* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device4_SetPrivateData(ID3D11Device4* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device4_SetPrivateDataInterface(ID3D11Device4* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device4_GetFeatureLevel(ID3D11Device4* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +static FORCEINLINE UINT ID3D11Device4_GetCreationFlags(ID3D11Device4* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D11Device4_GetDeviceRemovedReason(ID3D11Device4* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE void ID3D11Device4_GetImmediateContext(ID3D11Device4* This,ID3D11DeviceContext **ppImmediateContext) { + This->lpVtbl->GetImmediateContext(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device4_SetExceptionMode(ID3D11Device4* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D11Device4_GetExceptionMode(ID3D11Device4* This) { + return This->lpVtbl->GetExceptionMode(This); +} +/*** ID3D11Device1 methods ***/ +static FORCEINLINE void ID3D11Device4_GetImmediateContext1(ID3D11Device4* This,ID3D11DeviceContext1 **ppImmediateContext) { + This->lpVtbl->GetImmediateContext1(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDeferredContext1(ID3D11Device4* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateBlendState1(ID3D11Device4* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) { + return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateRasterizerState1(ID3D11Device4* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDeviceContextState(ID3D11Device4* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) { + return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState); +} +static FORCEINLINE HRESULT ID3D11Device4_OpenSharedResource1(ID3D11Device4* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device4_OpenSharedResourceByName(ID3D11Device4* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource); +} +/*** ID3D11Device2 methods ***/ +static FORCEINLINE void ID3D11Device4_GetImmediateContext2(ID3D11Device4* This,ID3D11DeviceContext2 **context) { + This->lpVtbl->GetImmediateContext2(This,context); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDeferredContext2(ID3D11Device4* This,UINT flags,ID3D11DeviceContext2 **context) { + return This->lpVtbl->CreateDeferredContext2(This,flags,context); +} +static FORCEINLINE void ID3D11Device4_GetResourceTiling(ID3D11Device4* This,ID3D11Resource *resource,UINT *tile_count,D3D11_PACKED_MIP_DESC *mip_desc,D3D11_TILE_SHAPE *tile_shape,UINT *subresource_tiling_count,UINT first_subresource_tiling,D3D11_SUBRESOURCE_TILING *subresource_tiling) { + This->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling); +} +static FORCEINLINE HRESULT ID3D11Device4_CheckMultisampleQualityLevels1(ID3D11Device4* This,DXGI_FORMAT format,UINT sample_count,UINT flags,UINT *quality_level_count) { + return This->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count); +} +/*** ID3D11Device3 methods ***/ +static FORCEINLINE HRESULT ID3D11Device4_CreateTexture2D1(ID3D11Device4* This,const D3D11_TEXTURE2D_DESC1 *desc,const D3D11_SUBRESOURCE_DATA *initial_data,ID3D11Texture2D1 **texture) { + return This->lpVtbl->CreateTexture2D1(This,desc,initial_data,texture); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateTexture3D1(ID3D11Device4* This,const D3D11_TEXTURE3D_DESC1 *desc,const D3D11_SUBRESOURCE_DATA *initial_data,ID3D11Texture3D1 **texture) { + return This->lpVtbl->CreateTexture3D1(This,desc,initial_data,texture); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateRasterizerState2(ID3D11Device4* This,const D3D11_RASTERIZER_DESC2 *desc,ID3D11RasterizerState2 **state) { + return This->lpVtbl->CreateRasterizerState2(This,desc,state); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateShaderResourceView1(ID3D11Device4* This,ID3D11Resource *resource,const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc,ID3D11ShaderResourceView1 **view) { + return This->lpVtbl->CreateShaderResourceView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateUnorderedAccessView1(ID3D11Device4* This,ID3D11Resource *resource,const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc,ID3D11UnorderedAccessView1 **view) { + return This->lpVtbl->CreateUnorderedAccessView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateRenderTargetView1(ID3D11Device4* This,ID3D11Resource *resource,const D3D11_RENDER_TARGET_VIEW_DESC1 *desc,ID3D11RenderTargetView1 **view) { + return This->lpVtbl->CreateRenderTargetView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateQuery1(ID3D11Device4* This,const D3D11_QUERY_DESC1 *desc,ID3D11Query1 **query) { + return This->lpVtbl->CreateQuery1(This,desc,query); +} +static FORCEINLINE void ID3D11Device4_GetImmediateContext3(ID3D11Device4* This,ID3D11DeviceContext3 **context) { + This->lpVtbl->GetImmediateContext3(This,context); +} +static FORCEINLINE HRESULT ID3D11Device4_CreateDeferredContext3(ID3D11Device4* This,UINT flags,ID3D11DeviceContext3 **context) { + return This->lpVtbl->CreateDeferredContext3(This,flags,context); +} +static FORCEINLINE void ID3D11Device4_WriteToSubresource(ID3D11Device4* This,ID3D11Resource *dst_resource,UINT dst_subresource,const D3D11_BOX *dst_box,const void *src_data,UINT src_row_pitch,UINT src_depth_pitch) { + This->lpVtbl->WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch); +} +static FORCEINLINE void ID3D11Device4_ReadFromSubresource(ID3D11Device4* This,void *dst_data,UINT dst_row_pitch,UINT dst_depth_pitch,ID3D11Resource *src_resource,UINT src_subresource,const D3D11_BOX *src_box) { + This->lpVtbl->ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box); +} +/*** ID3D11Device4 methods ***/ +static FORCEINLINE HRESULT ID3D11Device4_RegisterDeviceRemovedEvent(ID3D11Device4* This,HANDLE event,DWORD *cookie) { + return This->lpVtbl->RegisterDeviceRemovedEvent(This,event,cookie); +} +static FORCEINLINE void ID3D11Device4_UnregisterDeviceRemoved(ID3D11Device4* This,DWORD cookie) { + This->lpVtbl->UnregisterDeviceRemoved(This,cookie); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Device4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Device5 interface + */ +#ifndef __ID3D11Device5_INTERFACE_DEFINED__ +#define __ID3D11Device5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Device5, 0x8ffde202, 0xa0e7, 0x45df, 0x9e,0x01, 0xe8,0x37,0x80,0x1b,0x5e,0xa0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8ffde202-a0e7-45df-9e01-e837801b5ea0") +ID3D11Device5 : public ID3D11Device4 +{ + virtual HRESULT STDMETHODCALLTYPE OpenSharedFence( + HANDLE fence, + REFIID iid, + void **fence) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFence( + UINT64 initial_value, + D3D11_FENCE_FLAG flags, + REFIID iid, + void **fence) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Device5, 0x8ffde202, 0xa0e7, 0x45df, 0x9e,0x01, 0xe8,0x37,0x80,0x1b,0x5e,0xa0) +#endif +#else +typedef struct ID3D11Device5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Device5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Device5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Device5 *This); + + /*** ID3D11Device methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBuffer)( + ID3D11Device5 *This, + const D3D11_BUFFER_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Buffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( + ID3D11Device5 *This, + const D3D11_TEXTURE1D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture1D **ppTexture1D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( + ID3D11Device5 *This, + const D3D11_TEXTURE2D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture2D **ppTexture2D); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( + ID3D11Device5 *This, + const D3D11_TEXTURE3D_DESC *pDesc, + const D3D11_SUBRESOURCE_DATA *pInitialData, + ID3D11Texture3D **ppTexture3D); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( + ID3D11Device5 *This, + ID3D11Resource *pResource, + const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, + ID3D11ShaderResourceView **ppSRView); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( + ID3D11Device5 *This, + ID3D11Resource *pResource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, + ID3D11UnorderedAccessView **ppUAView); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( + ID3D11Device5 *This, + ID3D11Resource *pResource, + const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, + ID3D11RenderTargetView **ppRTView); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( + ID3D11Device5 *This, + ID3D11Resource *pResource, + const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, + ID3D11DepthStencilView **ppDepthStencilView); + + HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( + ID3D11Device5 *This, + const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, + UINT NumElements, + const void *pShaderBytecodeWithInputSignature, + SIZE_T BytecodeLength, + ID3D11InputLayout **ppInputLayout); + + HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11VertexShader **ppVertexShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, + UINT NumEntries, + const UINT *pBufferStrides, + UINT NumStrides, + UINT RasterizedStream, + ID3D11ClassLinkage *pClassLinkage, + ID3D11GeometryShader **ppGeometryShader); + + HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11PixelShader **ppPixelShader); + + HRESULT (STDMETHODCALLTYPE *CreateHullShader)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11HullShader **ppHullShader); + + HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11DomainShader **ppDomainShader); + + HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( + ID3D11Device5 *This, + const void *pShaderBytecode, + SIZE_T BytecodeLength, + ID3D11ClassLinkage *pClassLinkage, + ID3D11ComputeShader **ppComputeShader); + + HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( + ID3D11Device5 *This, + ID3D11ClassLinkage **ppLinkage); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState)( + ID3D11Device5 *This, + const D3D11_BLEND_DESC *pBlendStateDesc, + ID3D11BlendState **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( + ID3D11Device5 *This, + const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, + ID3D11DepthStencilState **ppDepthStencilState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( + ID3D11Device5 *This, + const D3D11_RASTERIZER_DESC *pRasterizerDesc, + ID3D11RasterizerState **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( + ID3D11Device5 *This, + const D3D11_SAMPLER_DESC *pSamplerDesc, + ID3D11SamplerState **ppSamplerState); + + HRESULT (STDMETHODCALLTYPE *CreateQuery)( + ID3D11Device5 *This, + const D3D11_QUERY_DESC *pQueryDesc, + ID3D11Query **ppQuery); + + HRESULT (STDMETHODCALLTYPE *CreatePredicate)( + ID3D11Device5 *This, + const D3D11_QUERY_DESC *pPredicateDesc, + ID3D11Predicate **ppPredicate); + + HRESULT (STDMETHODCALLTYPE *CreateCounter)( + ID3D11Device5 *This, + const D3D11_COUNTER_DESC *pCounterDesc, + ID3D11Counter **ppCounter); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( + ID3D11Device5 *This, + UINT ContextFlags, + ID3D11DeviceContext **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( + ID3D11Device5 *This, + HANDLE hResource, + REFIID ReturnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( + ID3D11Device5 *This, + DXGI_FORMAT Format, + UINT *pFormatSupport); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( + ID3D11Device5 *This, + DXGI_FORMAT Format, + UINT SampleCount, + UINT *pNumQualityLevels); + + void (STDMETHODCALLTYPE *CheckCounterInfo)( + ID3D11Device5 *This, + D3D11_COUNTER_INFO *pCounterInfo); + + HRESULT (STDMETHODCALLTYPE *CheckCounter)( + ID3D11Device5 *This, + const D3D11_COUNTER_DESC *pDesc, + D3D11_COUNTER_TYPE *pType, + UINT *pActiveCounters, + LPSTR szName, + UINT *pNameLength, + LPSTR szUnits, + UINT *pUnitsLength, + LPSTR szDescription, + UINT *pDescriptionLength); + + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + ID3D11Device5 *This, + D3D11_FEATURE Feature, + void *pFeatureSupportData, + UINT FeatureSupportDataSize); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11Device5 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11Device5 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11Device5 *This, + REFGUID guid, + const IUnknown *pData); + + D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( + ID3D11Device5 *This); + + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + ID3D11Device5 *This); + + HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( + ID3D11Device5 *This); + + void (STDMETHODCALLTYPE *GetImmediateContext)( + ID3D11Device5 *This, + ID3D11DeviceContext **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( + ID3D11Device5 *This, + UINT RaiseFlags); + + UINT (STDMETHODCALLTYPE *GetExceptionMode)( + ID3D11Device5 *This); + + /*** ID3D11Device1 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext1)( + ID3D11Device5 *This, + ID3D11DeviceContext1 **ppImmediateContext); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)( + ID3D11Device5 *This, + UINT ContextFlags, + ID3D11DeviceContext1 **ppDeferredContext); + + HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( + ID3D11Device5 *This, + const D3D11_BLEND_DESC1 *pBlendStateDesc, + ID3D11BlendState1 **ppBlendState); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)( + ID3D11Device5 *This, + const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, + ID3D11RasterizerState1 **ppRasterizerState); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)( + ID3D11Device5 *This, + UINT Flags, + const D3D_FEATURE_LEVEL *pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + REFIID EmulatedInterface, + D3D_FEATURE_LEVEL *pChosenFeatureLevel, + ID3DDeviceContextState **ppContextState); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)( + ID3D11Device5 *This, + HANDLE hResource, + REFIID returnedInterface, + void **ppResource); + + HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)( + ID3D11Device5 *This, + LPCWSTR lpName, + DWORD dwDesiredAccess, + REFIID returnedInterface, + void **ppResource); + + /*** ID3D11Device2 methods ***/ + void (STDMETHODCALLTYPE *GetImmediateContext2)( + ID3D11Device5 *This, + ID3D11DeviceContext2 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext2)( + ID3D11Device5 *This, + UINT flags, + ID3D11DeviceContext2 **context); + + void (STDMETHODCALLTYPE *GetResourceTiling)( + ID3D11Device5 *This, + ID3D11Resource *resource, + UINT *tile_count, + D3D11_PACKED_MIP_DESC *mip_desc, + D3D11_TILE_SHAPE *tile_shape, + UINT *subresource_tiling_count, + UINT first_subresource_tiling, + D3D11_SUBRESOURCE_TILING *subresource_tiling); + + HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels1)( + ID3D11Device5 *This, + DXGI_FORMAT format, + UINT sample_count, + UINT flags, + UINT *quality_level_count); + + /*** ID3D11Device3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTexture2D1)( + ID3D11Device5 *This, + const D3D11_TEXTURE2D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture2D1 **texture); + + HRESULT (STDMETHODCALLTYPE *CreateTexture3D1)( + ID3D11Device5 *This, + const D3D11_TEXTURE3D_DESC1 *desc, + const D3D11_SUBRESOURCE_DATA *initial_data, + ID3D11Texture3D1 **texture); + + HRESULT (STDMETHODCALLTYPE *CreateRasterizerState2)( + ID3D11Device5 *This, + const D3D11_RASTERIZER_DESC2 *desc, + ID3D11RasterizerState2 **state); + + HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView1)( + ID3D11Device5 *This, + ID3D11Resource *resource, + const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc, + ID3D11ShaderResourceView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView1)( + ID3D11Device5 *This, + ID3D11Resource *resource, + const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc, + ID3D11UnorderedAccessView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView1)( + ID3D11Device5 *This, + ID3D11Resource *resource, + const D3D11_RENDER_TARGET_VIEW_DESC1 *desc, + ID3D11RenderTargetView1 **view); + + HRESULT (STDMETHODCALLTYPE *CreateQuery1)( + ID3D11Device5 *This, + const D3D11_QUERY_DESC1 *desc, + ID3D11Query1 **query); + + void (STDMETHODCALLTYPE *GetImmediateContext3)( + ID3D11Device5 *This, + ID3D11DeviceContext3 **context); + + HRESULT (STDMETHODCALLTYPE *CreateDeferredContext3)( + ID3D11Device5 *This, + UINT flags, + ID3D11DeviceContext3 **context); + + void (STDMETHODCALLTYPE *WriteToSubresource)( + ID3D11Device5 *This, + ID3D11Resource *dst_resource, + UINT dst_subresource, + const D3D11_BOX *dst_box, + const void *src_data, + UINT src_row_pitch, + UINT src_depth_pitch); + + void (STDMETHODCALLTYPE *ReadFromSubresource)( + ID3D11Device5 *This, + void *dst_data, + UINT dst_row_pitch, + UINT dst_depth_pitch, + ID3D11Resource *src_resource, + UINT src_subresource, + const D3D11_BOX *src_box); + + /*** ID3D11Device4 methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterDeviceRemovedEvent)( + ID3D11Device5 *This, + HANDLE event, + DWORD *cookie); + + void (STDMETHODCALLTYPE *UnregisterDeviceRemoved)( + ID3D11Device5 *This, + DWORD cookie); + + /*** ID3D11Device5 methods ***/ + HRESULT (STDMETHODCALLTYPE *OpenSharedFence)( + ID3D11Device5 *This, + HANDLE fence, + REFIID iid, + void **fence); + + HRESULT (STDMETHODCALLTYPE *CreateFence)( + ID3D11Device5 *This, + UINT64 initial_value, + D3D11_FENCE_FLAG flags, + REFIID iid, + void **fence); + + END_INTERFACE +} ID3D11Device5Vtbl; + +interface ID3D11Device5 { + CONST_VTBL ID3D11Device5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Device5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Device5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Device5_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Device methods ***/ +#define ID3D11Device5_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) +#define ID3D11Device5_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) +#define ID3D11Device5_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) +#define ID3D11Device5_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) +#define ID3D11Device5_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) +#define ID3D11Device5_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) +#define ID3D11Device5_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) +#define ID3D11Device5_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) +#define ID3D11Device5_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) +#define ID3D11Device5_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) +#define ID3D11Device5_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) +#define ID3D11Device5_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) +#define ID3D11Device5_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) +#define ID3D11Device5_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) +#define ID3D11Device5_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) +#define ID3D11Device5_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) +#define ID3D11Device5_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) +#define ID3D11Device5_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device5_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) +#define ID3D11Device5_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device5_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) +#define ID3D11Device5_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) +#define ID3D11Device5_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) +#define ID3D11Device5_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) +#define ID3D11Device5_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) +#define ID3D11Device5_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) +#define ID3D11Device5_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) +#define ID3D11Device5_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) +#define ID3D11Device5_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) +#define ID3D11Device5_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) +#define ID3D11Device5_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) +#define ID3D11Device5_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11Device5_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11Device5_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +#define ID3D11Device5_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) +#define ID3D11Device5_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#define ID3D11Device5_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) +#define ID3D11Device5_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) +#define ID3D11Device5_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) +#define ID3D11Device5_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) +/*** ID3D11Device1 methods ***/ +#define ID3D11Device5_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext) +#define ID3D11Device5_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext) +#define ID3D11Device5_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) +#define ID3D11Device5_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) +#define ID3D11Device5_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) +#define ID3D11Device5_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource) +#define ID3D11Device5_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) +/*** ID3D11Device2 methods ***/ +#define ID3D11Device5_GetImmediateContext2(This,context) (This)->lpVtbl->GetImmediateContext2(This,context) +#define ID3D11Device5_CreateDeferredContext2(This,flags,context) (This)->lpVtbl->CreateDeferredContext2(This,flags,context) +#define ID3D11Device5_GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) (This)->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling) +#define ID3D11Device5_CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) (This)->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count) +/*** ID3D11Device3 methods ***/ +#define ID3D11Device5_CreateTexture2D1(This,desc,initial_data,texture) (This)->lpVtbl->CreateTexture2D1(This,desc,initial_data,texture) +#define ID3D11Device5_CreateTexture3D1(This,desc,initial_data,texture) (This)->lpVtbl->CreateTexture3D1(This,desc,initial_data,texture) +#define ID3D11Device5_CreateRasterizerState2(This,desc,state) (This)->lpVtbl->CreateRasterizerState2(This,desc,state) +#define ID3D11Device5_CreateShaderResourceView1(This,resource,desc,view) (This)->lpVtbl->CreateShaderResourceView1(This,resource,desc,view) +#define ID3D11Device5_CreateUnorderedAccessView1(This,resource,desc,view) (This)->lpVtbl->CreateUnorderedAccessView1(This,resource,desc,view) +#define ID3D11Device5_CreateRenderTargetView1(This,resource,desc,view) (This)->lpVtbl->CreateRenderTargetView1(This,resource,desc,view) +#define ID3D11Device5_CreateQuery1(This,desc,query) (This)->lpVtbl->CreateQuery1(This,desc,query) +#define ID3D11Device5_GetImmediateContext3(This,context) (This)->lpVtbl->GetImmediateContext3(This,context) +#define ID3D11Device5_CreateDeferredContext3(This,flags,context) (This)->lpVtbl->CreateDeferredContext3(This,flags,context) +#define ID3D11Device5_WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch) (This)->lpVtbl->WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch) +#define ID3D11Device5_ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box) (This)->lpVtbl->ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box) +/*** ID3D11Device4 methods ***/ +#define ID3D11Device5_RegisterDeviceRemovedEvent(This,event,cookie) (This)->lpVtbl->RegisterDeviceRemovedEvent(This,event,cookie) +#define ID3D11Device5_UnregisterDeviceRemoved(This,cookie) (This)->lpVtbl->UnregisterDeviceRemoved(This,cookie) +/*** ID3D11Device5 methods ***/ +#define ID3D11Device5_OpenSharedFence(This,fence,iid,fence) (This)->lpVtbl->OpenSharedFence(This,fence,iid,fence) +#define ID3D11Device5_CreateFence(This,initial_value,flags,iid,fence) (This)->lpVtbl->CreateFence(This,initial_value,flags,iid,fence) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Device5_QueryInterface(ID3D11Device5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Device5_AddRef(ID3D11Device5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Device5_Release(ID3D11Device5* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Device methods ***/ +static FORCEINLINE HRESULT ID3D11Device5_CreateBuffer(ID3D11Device5* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { + return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateTexture1D(ID3D11Device5* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { + return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateTexture2D(ID3D11Device5* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { + return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateTexture3D(ID3D11Device5* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { + return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateShaderResourceView(ID3D11Device5* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { + return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateUnorderedAccessView(ID3D11Device5* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { + return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateRenderTargetView(ID3D11Device5* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { + return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDepthStencilView(ID3D11Device5* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { + return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateInputLayout(ID3D11Device5* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { + return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateVertexShader(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { + return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateGeometryShader(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateGeometryShaderWithStreamOutput(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { + return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreatePixelShader(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { + return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateHullShader(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { + return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDomainShader(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { + return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateComputeShader(ID3D11Device5* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { + return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateClassLinkage(ID3D11Device5* This,ID3D11ClassLinkage **ppLinkage) { + return This->lpVtbl->CreateClassLinkage(This,ppLinkage); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateBlendState(ID3D11Device5* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { + return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDepthStencilState(ID3D11Device5* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { + return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateRasterizerState(ID3D11Device5* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateSamplerState(ID3D11Device5* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { + return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateQuery(ID3D11Device5* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { + return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); +} +static FORCEINLINE HRESULT ID3D11Device5_CreatePredicate(ID3D11Device5* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { + return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateCounter(ID3D11Device5* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { + return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDeferredContext(ID3D11Device5* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device5_OpenSharedResource(ID3D11Device5* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device5_CheckFormatSupport(ID3D11Device5* This,DXGI_FORMAT Format,UINT *pFormatSupport) { + return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); +} +static FORCEINLINE HRESULT ID3D11Device5_CheckMultisampleQualityLevels(ID3D11Device5* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { + return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); +} +static FORCEINLINE void ID3D11Device5_CheckCounterInfo(ID3D11Device5* This,D3D11_COUNTER_INFO *pCounterInfo) { + This->lpVtbl->CheckCounterInfo(This,pCounterInfo); +} +static FORCEINLINE HRESULT ID3D11Device5_CheckCounter(ID3D11Device5* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { + return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); +} +static FORCEINLINE HRESULT ID3D11Device5_CheckFeatureSupport(ID3D11Device5* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { + return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); +} +static FORCEINLINE HRESULT ID3D11Device5_GetPrivateData(ID3D11Device5* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device5_SetPrivateData(ID3D11Device5* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11Device5_SetPrivateDataInterface(ID3D11Device5* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device5_GetFeatureLevel(ID3D11Device5* This) { + return This->lpVtbl->GetFeatureLevel(This); +} +static FORCEINLINE UINT ID3D11Device5_GetCreationFlags(ID3D11Device5* This) { + return This->lpVtbl->GetCreationFlags(This); +} +static FORCEINLINE HRESULT ID3D11Device5_GetDeviceRemovedReason(ID3D11Device5* This) { + return This->lpVtbl->GetDeviceRemovedReason(This); +} +static FORCEINLINE void ID3D11Device5_GetImmediateContext(ID3D11Device5* This,ID3D11DeviceContext **ppImmediateContext) { + This->lpVtbl->GetImmediateContext(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device5_SetExceptionMode(ID3D11Device5* This,UINT RaiseFlags) { + return This->lpVtbl->SetExceptionMode(This,RaiseFlags); +} +static FORCEINLINE UINT ID3D11Device5_GetExceptionMode(ID3D11Device5* This) { + return This->lpVtbl->GetExceptionMode(This); +} +/*** ID3D11Device1 methods ***/ +static FORCEINLINE void ID3D11Device5_GetImmediateContext1(ID3D11Device5* This,ID3D11DeviceContext1 **ppImmediateContext) { + This->lpVtbl->GetImmediateContext1(This,ppImmediateContext); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDeferredContext1(ID3D11Device5* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) { + return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateBlendState1(ID3D11Device5* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) { + return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateRasterizerState1(ID3D11Device5* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) { + return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDeviceContextState(ID3D11Device5* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) { + return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState); +} +static FORCEINLINE HRESULT ID3D11Device5_OpenSharedResource1(ID3D11Device5* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource); +} +static FORCEINLINE HRESULT ID3D11Device5_OpenSharedResourceByName(ID3D11Device5* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) { + return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource); +} +/*** ID3D11Device2 methods ***/ +static FORCEINLINE void ID3D11Device5_GetImmediateContext2(ID3D11Device5* This,ID3D11DeviceContext2 **context) { + This->lpVtbl->GetImmediateContext2(This,context); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDeferredContext2(ID3D11Device5* This,UINT flags,ID3D11DeviceContext2 **context) { + return This->lpVtbl->CreateDeferredContext2(This,flags,context); +} +static FORCEINLINE void ID3D11Device5_GetResourceTiling(ID3D11Device5* This,ID3D11Resource *resource,UINT *tile_count,D3D11_PACKED_MIP_DESC *mip_desc,D3D11_TILE_SHAPE *tile_shape,UINT *subresource_tiling_count,UINT first_subresource_tiling,D3D11_SUBRESOURCE_TILING *subresource_tiling) { + This->lpVtbl->GetResourceTiling(This,resource,tile_count,mip_desc,tile_shape,subresource_tiling_count,first_subresource_tiling,subresource_tiling); +} +static FORCEINLINE HRESULT ID3D11Device5_CheckMultisampleQualityLevels1(ID3D11Device5* This,DXGI_FORMAT format,UINT sample_count,UINT flags,UINT *quality_level_count) { + return This->lpVtbl->CheckMultisampleQualityLevels1(This,format,sample_count,flags,quality_level_count); +} +/*** ID3D11Device3 methods ***/ +static FORCEINLINE HRESULT ID3D11Device5_CreateTexture2D1(ID3D11Device5* This,const D3D11_TEXTURE2D_DESC1 *desc,const D3D11_SUBRESOURCE_DATA *initial_data,ID3D11Texture2D1 **texture) { + return This->lpVtbl->CreateTexture2D1(This,desc,initial_data,texture); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateTexture3D1(ID3D11Device5* This,const D3D11_TEXTURE3D_DESC1 *desc,const D3D11_SUBRESOURCE_DATA *initial_data,ID3D11Texture3D1 **texture) { + return This->lpVtbl->CreateTexture3D1(This,desc,initial_data,texture); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateRasterizerState2(ID3D11Device5* This,const D3D11_RASTERIZER_DESC2 *desc,ID3D11RasterizerState2 **state) { + return This->lpVtbl->CreateRasterizerState2(This,desc,state); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateShaderResourceView1(ID3D11Device5* This,ID3D11Resource *resource,const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc,ID3D11ShaderResourceView1 **view) { + return This->lpVtbl->CreateShaderResourceView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateUnorderedAccessView1(ID3D11Device5* This,ID3D11Resource *resource,const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc,ID3D11UnorderedAccessView1 **view) { + return This->lpVtbl->CreateUnorderedAccessView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateRenderTargetView1(ID3D11Device5* This,ID3D11Resource *resource,const D3D11_RENDER_TARGET_VIEW_DESC1 *desc,ID3D11RenderTargetView1 **view) { + return This->lpVtbl->CreateRenderTargetView1(This,resource,desc,view); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateQuery1(ID3D11Device5* This,const D3D11_QUERY_DESC1 *desc,ID3D11Query1 **query) { + return This->lpVtbl->CreateQuery1(This,desc,query); +} +static FORCEINLINE void ID3D11Device5_GetImmediateContext3(ID3D11Device5* This,ID3D11DeviceContext3 **context) { + This->lpVtbl->GetImmediateContext3(This,context); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateDeferredContext3(ID3D11Device5* This,UINT flags,ID3D11DeviceContext3 **context) { + return This->lpVtbl->CreateDeferredContext3(This,flags,context); +} +static FORCEINLINE void ID3D11Device5_WriteToSubresource(ID3D11Device5* This,ID3D11Resource *dst_resource,UINT dst_subresource,const D3D11_BOX *dst_box,const void *src_data,UINT src_row_pitch,UINT src_depth_pitch) { + This->lpVtbl->WriteToSubresource(This,dst_resource,dst_subresource,dst_box,src_data,src_row_pitch,src_depth_pitch); +} +static FORCEINLINE void ID3D11Device5_ReadFromSubresource(ID3D11Device5* This,void *dst_data,UINT dst_row_pitch,UINT dst_depth_pitch,ID3D11Resource *src_resource,UINT src_subresource,const D3D11_BOX *src_box) { + This->lpVtbl->ReadFromSubresource(This,dst_data,dst_row_pitch,dst_depth_pitch,src_resource,src_subresource,src_box); +} +/*** ID3D11Device4 methods ***/ +static FORCEINLINE HRESULT ID3D11Device5_RegisterDeviceRemovedEvent(ID3D11Device5* This,HANDLE event,DWORD *cookie) { + return This->lpVtbl->RegisterDeviceRemovedEvent(This,event,cookie); +} +static FORCEINLINE void ID3D11Device5_UnregisterDeviceRemoved(ID3D11Device5* This,DWORD cookie) { + This->lpVtbl->UnregisterDeviceRemoved(This,cookie); +} +/*** ID3D11Device5 methods ***/ +static FORCEINLINE HRESULT ID3D11Device5_OpenSharedFence(ID3D11Device5* This,HANDLE fence,REFIID iid,void **fence) { + return This->lpVtbl->OpenSharedFence(This,fence,iid,fence); +} +static FORCEINLINE HRESULT ID3D11Device5_CreateFence(ID3D11Device5* This,UINT64 initial_value,D3D11_FENCE_FLAG flags,REFIID iid,void **fence) { + return This->lpVtbl->CreateFence(This,initial_value,flags,iid,fence); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Device5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11Multithread interface + */ +#ifndef __ID3D11Multithread_INTERFACE_DEFINED__ +#define __ID3D11Multithread_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e4e00-342c-4106-a19f-4f2704f689f0") +ID3D11Multithread : public IUnknown +{ + virtual void STDMETHODCALLTYPE Enter( + ) = 0; + + virtual void STDMETHODCALLTYPE Leave( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected( + BOOL enable) = 0; + + virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0) +#endif +#else +typedef struct ID3D11MultithreadVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Multithread *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Multithread *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Multithread *This); + + /*** ID3D11Multithread methods ***/ + void (STDMETHODCALLTYPE *Enter)( + ID3D11Multithread *This); + + void (STDMETHODCALLTYPE *Leave)( + ID3D11Multithread *This); + + BOOL (STDMETHODCALLTYPE *SetMultithreadProtected)( + ID3D11Multithread *This, + BOOL enable); + + BOOL (STDMETHODCALLTYPE *GetMultithreadProtected)( + ID3D11Multithread *This); + + END_INTERFACE +} ID3D11MultithreadVtbl; + +interface ID3D11Multithread { + CONST_VTBL ID3D11MultithreadVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Multithread_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Multithread_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Multithread_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Multithread methods ***/ +#define ID3D11Multithread_Enter(This) (This)->lpVtbl->Enter(This) +#define ID3D11Multithread_Leave(This) (This)->lpVtbl->Leave(This) +#define ID3D11Multithread_SetMultithreadProtected(This,enable) (This)->lpVtbl->SetMultithreadProtected(This,enable) +#define ID3D11Multithread_GetMultithreadProtected(This) (This)->lpVtbl->GetMultithreadProtected(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Multithread_QueryInterface(ID3D11Multithread* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Multithread_AddRef(ID3D11Multithread* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Multithread_Release(ID3D11Multithread* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Multithread methods ***/ +static FORCEINLINE void ID3D11Multithread_Enter(ID3D11Multithread* This) { + This->lpVtbl->Enter(This); +} +static FORCEINLINE void ID3D11Multithread_Leave(ID3D11Multithread* This) { + This->lpVtbl->Leave(This); +} +static FORCEINLINE BOOL ID3D11Multithread_SetMultithreadProtected(ID3D11Multithread* This,BOOL enable) { + return This->lpVtbl->SetMultithreadProtected(This,enable); +} +static FORCEINLINE BOOL ID3D11Multithread_GetMultithreadProtected(ID3D11Multithread* This) { + return This->lpVtbl->GetMultithreadProtected(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Multithread_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11VideoContext2 interface + */ +#ifndef __ID3D11VideoContext2_INTERFACE_DEFINED__ +#define __ID3D11VideoContext2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11VideoContext2, 0xc4e7374c, 0x6243, 0x4d1b, 0xae,0x87, 0x52,0xb4,0xf7,0x40,0xe2,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c4e7374c-6243-4d1b-ae87-52b4f740e261") +ID3D11VideoContext2 : public ID3D11VideoContext1 +{ + virtual void STDMETHODCALLTYPE VideoProcessorSetOutputHDRMetaData( + ID3D11VideoProcessor *processor, + DXGI_HDR_METADATA_TYPE type, + UINT size, + const void *meta_data) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetOutputHDRMetaData( + ID3D11VideoProcessor *processor, + DXGI_HDR_METADATA_TYPE *type, + UINT size, + void *meta_data) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorSetStreamHDRMetaData( + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_HDR_METADATA_TYPE type, + UINT size, + const void *meta_data) = 0; + + virtual void STDMETHODCALLTYPE VideoProcessorGetStreamHDRMetaData( + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_HDR_METADATA_TYPE *type, + UINT size, + void *meta_data) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11VideoContext2, 0xc4e7374c, 0x6243, 0x4d1b, 0xae,0x87, 0x52,0xb4,0xf7,0x40,0xe2,0x61) +#endif +#else +typedef struct ID3D11VideoContext2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11VideoContext2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11VideoContext2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11VideoContext2 *This); + + /*** ID3D11DeviceChild methods ***/ + void (STDMETHODCALLTYPE *GetDevice)( + ID3D11VideoContext2 *This, + ID3D11Device **ppDevice); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + ID3D11VideoContext2 *This, + REFGUID guid, + UINT *pDataSize, + void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + ID3D11VideoContext2 *This, + REFGUID guid, + UINT DataSize, + const void *pData); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + ID3D11VideoContext2 *This, + REFGUID guid, + const IUnknown *pData); + + /*** ID3D11VideoContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDecoderBuffer)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type, + UINT *buffer_size, + void **buffer); + + HRESULT (STDMETHODCALLTYPE *ReleaseDecoderBuffer)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + D3D11_VIDEO_DECODER_BUFFER_TYPE type); + + HRESULT (STDMETHODCALLTYPE *DecoderBeginFrame)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + ID3D11VideoDecoderOutputView *view, + UINT key_size, + const void *key); + + HRESULT (STDMETHODCALLTYPE *DecoderEndFrame)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder); + + HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + UINT buffers_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc); + + HRESULT (STDMETHODCALLTYPE *DecoderExtension)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_DECODER_EXTENSION *extension); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL y_cb_cr, + const D3D11_VIDEO_COLOR *color); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode, + UINT stream_idx); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL enable, + SIZE size); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorSetOutputExtension)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL *y_cb_cr, + D3D11_VIDEO_COLOR *color); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode, + UINT *stream_idx); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL *enabled, + SIZE *size); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetOutputExtension)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT format); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate, + BOOL repeat, + const DXGI_RATIONAL *custom_rate); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float alpha); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamPalette)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + const UINT *entries); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + const DXGI_RATIONAL *src_aspect_ratio, + const DXGI_RATIONAL *dst_aspect_ratio); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + float lower, + float upper); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format, + BOOL left_view_frame0, + BOOL base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode, + int mono_offset); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamFilter)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL enable, + int level); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorSetStreamExtension)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_FRAME_FORMAT *format); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate, + BOOL *repeat, + DXGI_RATIONAL *custom_rate); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + RECT *rect); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *alpha); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamPalette)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + UINT entry_count, + UINT *entries); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + DXGI_RATIONAL *src_aspect_ratio, + DXGI_RATIONAL *dst_aspect_ratio); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + float *lower, + float *upper); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled, + D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format, + BOOL *left_view_frame0, + BOOL *base_view_frame0, + D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode, + int *mono_offset); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enabled); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamFilter)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + D3D11_VIDEO_PROCESSOR_FILTER filter, + BOOL *enabled, + int *level); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetStreamExtension)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + const GUID *guid, + UINT data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorBlt)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + ID3D11VideoProcessorOutputView *view, + UINT frame_idx, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM *streams); + + HRESULT (STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + UINT data_size, + void *data); + + void (STDMETHODCALLTYPE *EncryptionBlt)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + UINT iv_size, + void *iv); + + void (STDMETHODCALLTYPE *DecryptionBlt)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + ID3D11Texture2D *src_surface, + ID3D11Texture2D *dst_surface, + D3D11_ENCRYPTED_BLOCK_INFO *block_info, + UINT key_size, + const void *key, + UINT iv_size, + void *iv); + + void (STDMETHODCALLTYPE *StartSessionKeyRefresh)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + UINT random_number_size, + void *random_number); + + void (STDMETHODCALLTYPE *FinishSessionKeyRefresh)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session); + + HRESULT (STDMETHODCALLTYPE *GetEncryptionBltKey)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + UINT key_size, + void *key); + + HRESULT (STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange)( + ID3D11VideoContext2 *This, + ID3D11AuthenticatedChannel *channel, + UINT data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *QueryAuthenticatedChannel)( + ID3D11VideoContext2 *This, + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + UINT output_size, + void *output); + + HRESULT (STDMETHODCALLTYPE *ConfigureAuthenticatedChannel)( + ID3D11VideoContext2 *This, + ID3D11AuthenticatedChannel *channel, + UINT input_size, + const void *input, + D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamRotation)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL enable, + D3D11_VIDEO_PROCESSOR_ROTATION rotation); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamRotation)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_idx, + BOOL *enable, + D3D11_VIDEO_PROCESSOR_ROTATION *rotation); + + /*** ID3D11VideoContext1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers1)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + UINT buffer_count, + const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc); + + HRESULT (STDMETHODCALLTYPE *GetDataForNewHardwareKey)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + UINT input_size, + const void *input_data, + UINT64 *output_data); + + HRESULT (STDMETHODCALLTYPE *CheckCryptoSessionStatus)( + ID3D11VideoContext2 *This, + ID3D11CryptoSession *session, + D3D11_CRYPTO_SESSION_STATUS *status); + + HRESULT (STDMETHODCALLTYPE *DecoderEnableDownsampling)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + DXGI_COLOR_SPACE_TYPE colour_space, + const D3D11_VIDEO_SAMPLE_DESC *output_desc, + UINT reference_frame_count); + + HRESULT (STDMETHODCALLTYPE *DecoderUpdateDownsampling)( + ID3D11VideoContext2 *This, + ID3D11VideoDecoder *decoder, + const D3D11_VIDEO_SAMPLE_DESC *output_desc); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL shader_usage); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + DXGI_COLOR_SPACE_TYPE *colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + BOOL *shader_usage); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamMirror)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL enable, + BOOL flip_horizontal, + BOOL flip_vertical); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_COLOR_SPACE_TYPE *colour_space); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamMirror)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + BOOL *enable, + BOOL *flip_horizontal, + BOOL *flip_vertical); + + HRESULT (STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT output_width, + UINT output_height, + DXGI_FORMAT output_format, + UINT stream_count, + const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams, + UINT *behaviour_hints); + + /*** ID3D11VideoContext2 methods ***/ + void (STDMETHODCALLTYPE *VideoProcessorSetOutputHDRMetaData)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + DXGI_HDR_METADATA_TYPE type, + UINT size, + const void *meta_data); + + void (STDMETHODCALLTYPE *VideoProcessorGetOutputHDRMetaData)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + DXGI_HDR_METADATA_TYPE *type, + UINT size, + void *meta_data); + + void (STDMETHODCALLTYPE *VideoProcessorSetStreamHDRMetaData)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_HDR_METADATA_TYPE type, + UINT size, + const void *meta_data); + + void (STDMETHODCALLTYPE *VideoProcessorGetStreamHDRMetaData)( + ID3D11VideoContext2 *This, + ID3D11VideoProcessor *processor, + UINT stream_index, + DXGI_HDR_METADATA_TYPE *type, + UINT size, + void *meta_data); + + END_INTERFACE +} ID3D11VideoContext2Vtbl; + +interface ID3D11VideoContext2 { + CONST_VTBL ID3D11VideoContext2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11VideoContext2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11VideoContext2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11VideoContext2_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11DeviceChild methods ***/ +#define ID3D11VideoContext2_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) +#define ID3D11VideoContext2_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) +#define ID3D11VideoContext2_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) +#define ID3D11VideoContext2_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) +/*** ID3D11VideoContext methods ***/ +#define ID3D11VideoContext2_GetDecoderBuffer(This,decoder,type,buffer_size,buffer) (This)->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer) +#define ID3D11VideoContext2_ReleaseDecoderBuffer(This,decoder,type) (This)->lpVtbl->ReleaseDecoderBuffer(This,decoder,type) +#define ID3D11VideoContext2_DecoderBeginFrame(This,decoder,view,key_size,key) (This)->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key) +#define ID3D11VideoContext2_DecoderEndFrame(This,decoder) (This)->lpVtbl->DecoderEndFrame(This,decoder) +#define ID3D11VideoContext2_SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) +#define ID3D11VideoContext2_DecoderExtension(This,decoder,extension) (This)->lpVtbl->DecoderExtension(This,decoder,extension) +#define ID3D11VideoContext2_VideoProcessorSetOutputTargetRect(This,processor,enable,rect) (This)->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect) +#define ID3D11VideoContext2_VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) +#define ID3D11VideoContext2_VideoProcessorSetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space) +#define ID3D11VideoContext2_VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) +#define ID3D11VideoContext2_VideoProcessorSetOutputConstriction(This,processor,enable,size) (This)->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size) +#define ID3D11VideoContext2_VideoProcessorSetOutputStereoMode(This,processor,enable) (This)->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable) +#define ID3D11VideoContext2_VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) +#define ID3D11VideoContext2_VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) (This)->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) +#define ID3D11VideoContext2_VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) +#define ID3D11VideoContext2_VideoProcessorGetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space) +#define ID3D11VideoContext2_VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) +#define ID3D11VideoContext2_VideoProcessorGetOutputConstriction(This,processor,enabled,size) (This)->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size) +#define ID3D11VideoContext2_VideoProcessorGetOutputStereoMode(This,processor,enabled) (This)->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled) +#define ID3D11VideoContext2_VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) +#define ID3D11VideoContext2_VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) +#define ID3D11VideoContext2_VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) +#define ID3D11VideoContext2_VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) +#define ID3D11VideoContext2_VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) +#define ID3D11VideoContext2_VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) +#define ID3D11VideoContext2_VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) (This)->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) +#define ID3D11VideoContext2_VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) +#define ID3D11VideoContext2_VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) +#define ID3D11VideoContext2_VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) (This)->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) +#define ID3D11VideoContext2_VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) +#define ID3D11VideoContext2_VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) (This)->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) +#define ID3D11VideoContext2_VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) (This)->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) +#define ID3D11VideoContext2_VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) +#define ID3D11VideoContext2_VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) +#define ID3D11VideoContext2_VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) +#define ID3D11VideoContext2_VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) +#define ID3D11VideoContext2_VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) +#define ID3D11VideoContext2_VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) +#define ID3D11VideoContext2_VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) (This)->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) +#define ID3D11VideoContext2_VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) +#define ID3D11VideoContext2_VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) +#define ID3D11VideoContext2_VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) (This)->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) +#define ID3D11VideoContext2_VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) +#define ID3D11VideoContext2_VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) (This)->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) +#define ID3D11VideoContext2_VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) (This)->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) +#define ID3D11VideoContext2_VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) +#define ID3D11VideoContext2_VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) (This)->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) +#define ID3D11VideoContext2_NegotiateCryptoSessionKeyExchange(This,session,data_size,data) (This)->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data) +#define ID3D11VideoContext2_EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) (This)->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) +#define ID3D11VideoContext2_DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) (This)->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) +#define ID3D11VideoContext2_StartSessionKeyRefresh(This,session,random_number_size,random_number) (This)->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number) +#define ID3D11VideoContext2_FinishSessionKeyRefresh(This,session) (This)->lpVtbl->FinishSessionKeyRefresh(This,session) +#define ID3D11VideoContext2_GetEncryptionBltKey(This,session,key_size,key) (This)->lpVtbl->GetEncryptionBltKey(This,session,key_size,key) +#define ID3D11VideoContext2_NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) (This)->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) +#define ID3D11VideoContext2_QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) (This)->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) +#define ID3D11VideoContext2_ConfigureAuthenticatedChannel(This,channel,input_size,input,output) (This)->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output) +#define ID3D11VideoContext2_VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) +#define ID3D11VideoContext2_VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) +/*** ID3D11VideoContext1 methods ***/ +#define ID3D11VideoContext2_SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc) +#define ID3D11VideoContext2_GetDataForNewHardwareKey(This,session,input_size,input_data,output_data) (This)->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data) +#define ID3D11VideoContext2_CheckCryptoSessionStatus(This,session,status) (This)->lpVtbl->CheckCryptoSessionStatus(This,session,status) +#define ID3D11VideoContext2_DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count) (This)->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count) +#define ID3D11VideoContext2_DecoderUpdateDownsampling(This,decoder,output_desc) (This)->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc) +#define ID3D11VideoContext2_VideoProcessorSetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space) +#define ID3D11VideoContext2_VideoProcessorSetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage) +#define ID3D11VideoContext2_VideoProcessorGetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space) +#define ID3D11VideoContext2_VideoProcessorGetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage) +#define ID3D11VideoContext2_VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space) +#define ID3D11VideoContext2_VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) +#define ID3D11VideoContext2_VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space) +#define ID3D11VideoContext2_VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) +#define ID3D11VideoContext2_VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints) (This)->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints) +/*** ID3D11VideoContext2 methods ***/ +#define ID3D11VideoContext2_VideoProcessorSetOutputHDRMetaData(This,processor,type,size,meta_data) (This)->lpVtbl->VideoProcessorSetOutputHDRMetaData(This,processor,type,size,meta_data) +#define ID3D11VideoContext2_VideoProcessorGetOutputHDRMetaData(This,processor,type,size,meta_data) (This)->lpVtbl->VideoProcessorGetOutputHDRMetaData(This,processor,type,size,meta_data) +#define ID3D11VideoContext2_VideoProcessorSetStreamHDRMetaData(This,processor,stream_index,type,size,meta_data) (This)->lpVtbl->VideoProcessorSetStreamHDRMetaData(This,processor,stream_index,type,size,meta_data) +#define ID3D11VideoContext2_VideoProcessorGetStreamHDRMetaData(This,processor,stream_index,type,size,meta_data) (This)->lpVtbl->VideoProcessorGetStreamHDRMetaData(This,processor,stream_index,type,size,meta_data) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext2_QueryInterface(ID3D11VideoContext2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11VideoContext2_AddRef(ID3D11VideoContext2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11VideoContext2_Release(ID3D11VideoContext2* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11DeviceChild methods ***/ +static FORCEINLINE void ID3D11VideoContext2_GetDevice(ID3D11VideoContext2* This,ID3D11Device **ppDevice) { + This->lpVtbl->GetDevice(This,ppDevice); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_GetPrivateData(ID3D11VideoContext2* This,REFGUID guid,UINT *pDataSize,void *pData) { + return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_SetPrivateData(ID3D11VideoContext2* This,REFGUID guid,UINT DataSize,const void *pData) { + return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_SetPrivateDataInterface(ID3D11VideoContext2* This,REFGUID guid,const IUnknown *pData) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); +} +/*** ID3D11VideoContext methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext2_GetDecoderBuffer(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type,UINT *buffer_size,void **buffer) { + return This->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_ReleaseDecoderBuffer(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type) { + return This->lpVtbl->ReleaseDecoderBuffer(This,decoder,type); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_DecoderBeginFrame(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,ID3D11VideoDecoderOutputView *view,UINT key_size,const void *key) { + return This->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_DecoderEndFrame(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder) { + return This->lpVtbl->DecoderEndFrame(This,decoder); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_SubmitDecoderBuffers(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,UINT buffers_count,const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc) { + return This->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_DecoderExtension(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_DECODER_EXTENSION *extension) { + return This->lpVtbl->DecoderExtension(This,decoder,extension); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputTargetRect(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputBackgroundColor(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL y_cb_cr,const D3D11_VIDEO_COLOR *color) { + This->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputColorSpace(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputAlphaFillMode(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,UINT stream_idx) { + This->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputConstriction(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL enable,SIZE size) { + This->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputStereoMode(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL enable) { + This->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_VideoProcessorSetOutputExtension(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputTargetRect(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputBackgroundColor(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL *y_cb_cr,D3D11_VIDEO_COLOR *color) { + This->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputColorSpace(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputAlphaFillMode(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,UINT *stream_idx) { + This->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputConstriction(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL *enabled,SIZE *size) { + This->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputStereoMode(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL *enabled) { + This->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_VideoProcessorGetOutputExtension(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamFrameFormat(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT format) { + This->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamColorSpace(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamOutputRate(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate,BOOL repeat,const DXGI_RATIONAL *custom_rate) { + This->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamSourceRect(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamDestRect(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const RECT *rect) { + This->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamAlpha(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,float alpha) { + This->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamPalette(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,const UINT *entries) { + This->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,const DXGI_RATIONAL *src_aspect_ratio,const DXGI_RATIONAL *dst_aspect_ratio) { + This->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamLumaKey(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,float lower,float upper) { + This->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamStereoFormat(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format,BOOL left_view_frame0,BOOL base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode,int mono_offset) { + This->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable) { + This->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamFilter(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,BOOL enable,int level) { + This->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_VideoProcessorSetStreamExtension(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamFrameFormat(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT *format) { + This->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamColorSpace(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) { + This->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamOutputRate(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,BOOL *repeat,DXGI_RATIONAL *custom_rate) { + This->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamSourceRect(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamDestRect(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,RECT *rect) { + This->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamAlpha(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,float *alpha) { + This->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamPalette(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,UINT *entries) { + This->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,DXGI_RATIONAL *src_aspect_ratio,DXGI_RATIONAL *dst_aspect_ratio) { + This->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamLumaKey(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,float *lower,float *upper) { + This->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamStereoFormat(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format,BOOL *left_view_frame0,BOOL *base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode,int *mono_offset) { + This->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enabled) { + This->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamFilter(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,BOOL *enabled,int *level) { + This->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_VideoProcessorGetStreamExtension(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) { + return This->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_VideoProcessorBlt(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,ID3D11VideoProcessorOutputView *view,UINT frame_idx,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM *streams) { + return This->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_NegotiateCryptoSessionKeyExchange(ID3D11VideoContext2* This,ID3D11CryptoSession *session,UINT data_size,void *data) { + return This->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data); +} +static FORCEINLINE void ID3D11VideoContext2_EncryptionBlt(ID3D11VideoContext2* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,UINT iv_size,void *iv) { + This->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv); +} +static FORCEINLINE void ID3D11VideoContext2_DecryptionBlt(ID3D11VideoContext2* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,D3D11_ENCRYPTED_BLOCK_INFO *block_info,UINT key_size,const void *key,UINT iv_size,void *iv) { + This->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv); +} +static FORCEINLINE void ID3D11VideoContext2_StartSessionKeyRefresh(ID3D11VideoContext2* This,ID3D11CryptoSession *session,UINT random_number_size,void *random_number) { + This->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number); +} +static FORCEINLINE void ID3D11VideoContext2_FinishSessionKeyRefresh(ID3D11VideoContext2* This,ID3D11CryptoSession *session) { + This->lpVtbl->FinishSessionKeyRefresh(This,session); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_GetEncryptionBltKey(ID3D11VideoContext2* This,ID3D11CryptoSession *session,UINT key_size,void *key) { + return This->lpVtbl->GetEncryptionBltKey(This,session,key_size,key); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_NegotiateAuthenticatedChannelKeyExchange(ID3D11VideoContext2* This,ID3D11AuthenticatedChannel *channel,UINT data_size,void *data) { + return This->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_QueryAuthenticatedChannel(ID3D11VideoContext2* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,UINT output_size,void *output) { + return This->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_ConfigureAuthenticatedChannel(ID3D11VideoContext2* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output) { + return This->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamRotation(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL enable,D3D11_VIDEO_PROCESSOR_ROTATION rotation) { + This->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamRotation(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_idx,BOOL *enable,D3D11_VIDEO_PROCESSOR_ROTATION *rotation) { + This->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation); +} +/*** ID3D11VideoContext1 methods ***/ +static FORCEINLINE HRESULT ID3D11VideoContext2_SubmitDecoderBuffers1(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,UINT buffer_count,const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) { + return This->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_GetDataForNewHardwareKey(ID3D11VideoContext2* This,ID3D11CryptoSession *session,UINT input_size,const void *input_data,UINT64 *output_data) { + return This->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_CheckCryptoSessionStatus(ID3D11VideoContext2* This,ID3D11CryptoSession *session,D3D11_CRYPTO_SESSION_STATUS *status) { + return This->lpVtbl->CheckCryptoSessionStatus(This,session,status); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_DecoderEnableDownsampling(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,DXGI_COLOR_SPACE_TYPE colour_space,const D3D11_VIDEO_SAMPLE_DESC *output_desc,UINT reference_frame_count) { + return This->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_DecoderUpdateDownsampling(ID3D11VideoContext2* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_SAMPLE_DESC *output_desc) { + return This->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputColorSpace1(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE colour_space) { + This->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputShaderUsage(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL shader_usage) { + This->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputColorSpace1(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE *colour_space) { + This->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputShaderUsage(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,BOOL *shader_usage) { + This->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamColorSpace1(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE colour_space) { + This->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamMirror(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_index,BOOL enable,BOOL flip_horizontal,BOOL flip_vertical) { + This->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamColorSpace1(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE *colour_space) { + This->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamMirror(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_index,BOOL *enable,BOOL *flip_horizontal,BOOL *flip_vertical) { + This->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical); +} +static FORCEINLINE HRESULT ID3D11VideoContext2_VideoProcessorGetBehaviorHints(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT output_width,UINT output_height,DXGI_FORMAT output_format,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams,UINT *behaviour_hints) { + return This->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints); +} +/*** ID3D11VideoContext2 methods ***/ +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetOutputHDRMetaData(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,DXGI_HDR_METADATA_TYPE type,UINT size,const void *meta_data) { + This->lpVtbl->VideoProcessorSetOutputHDRMetaData(This,processor,type,size,meta_data); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetOutputHDRMetaData(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,DXGI_HDR_METADATA_TYPE *type,UINT size,void *meta_data) { + This->lpVtbl->VideoProcessorGetOutputHDRMetaData(This,processor,type,size,meta_data); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorSetStreamHDRMetaData(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_HDR_METADATA_TYPE type,UINT size,const void *meta_data) { + This->lpVtbl->VideoProcessorSetStreamHDRMetaData(This,processor,stream_index,type,size,meta_data); +} +static FORCEINLINE void ID3D11VideoContext2_VideoProcessorGetStreamHDRMetaData(ID3D11VideoContext2* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_HDR_METADATA_TYPE *type,UINT size,void *meta_data) { + This->lpVtbl->VideoProcessorGetStreamHDRMetaData(This,processor,stream_index,type,size,meta_data); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11VideoContext2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d11_4_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_4.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_4.idl new file mode 100644 index 0000000..d00ee49 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11_4.idl @@ -0,0 +1,120 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +*/ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi1_5.idl"; +import "d3dcommon.idl"; +import "d3d11_3.idl"; + +typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4 +{ + BOOL ExtendedNV12SharedTextureSupported; +} D3D11_FEATURE_DATA_D3D11_OPTIONS4; + +[ + uuid(8992ab71-02e6-4b8d-ba48-b056dcda42c4), + object, + local, + pointer_default(unique) +] +interface ID3D11Device4 : ID3D11Device3 +{ + HRESULT RegisterDeviceRemovedEvent( + [in] HANDLE event, + [out] DWORD *cookie + ); + void UnregisterDeviceRemoved( + [in] DWORD cookie + ); +} + +[ + uuid(8ffde202-a0e7-45df-9e01-e837801b5ea0), + object, + local, + pointer_default(unique) +] +interface ID3D11Device5 : ID3D11Device4 +{ + HRESULT OpenSharedFence( + [in] HANDLE fence, + [in] REFIID iid, + [out] void **fence + ); + HRESULT CreateFence( + [in] UINT64 initial_value, + [in] D3D11_FENCE_FLAG flags, + [in] REFIID iid, + [out] void **fence + ); +} + +[ + uuid(9b7e4e00-342c-4106-a19f-4f2704f689f0), + object, + local, + pointer_default(unique) +] +interface ID3D11Multithread : IUnknown +{ + void Enter(); + void Leave(); + BOOL SetMultithreadProtected( + [in] BOOL enable + ); + BOOL GetMultithreadProtected(); +} + +[ + uuid(c4e7374c-6243-4d1b-ae87-52b4f740e261), + object, + local, + pointer_default(unique) +] +interface ID3D11VideoContext2 : ID3D11VideoContext1 +{ + void VideoProcessorSetOutputHDRMetaData( + [in] ID3D11VideoProcessor *processor, + [in] DXGI_HDR_METADATA_TYPE type, + [in] UINT size, + [in] const void *meta_data + ); + void VideoProcessorGetOutputHDRMetaData( + [in] ID3D11VideoProcessor *processor, + [out] DXGI_HDR_METADATA_TYPE *type, + [in] UINT size, + [out] void *meta_data + ); + + void VideoProcessorSetStreamHDRMetaData( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_index, + [in] DXGI_HDR_METADATA_TYPE type, + [in] UINT size, + [in] const void *meta_data + ); + + void VideoProcessorGetStreamHDRMetaData( + [in] ID3D11VideoProcessor *processor, + [in] UINT stream_index, + [out] DXGI_HDR_METADATA_TYPE *type, + [in] UINT size, + [out] void *meta_data + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11sdklayers.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11sdklayers.h new file mode 100644 index 0000000..235d4fc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11sdklayers.h @@ -0,0 +1,1858 @@ +/*** Autogenerated by WIDL 2.18 from d3d11sdklayers.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3d11sdklayers_h__ +#define __d3d11sdklayers_h__ + +/* Forward declarations */ + +#ifndef __ID3D11Debug_FWD_DEFINED__ +#define __ID3D11Debug_FWD_DEFINED__ +typedef interface ID3D11Debug ID3D11Debug; +#ifdef __cplusplus +interface ID3D11Debug; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3D11InfoQueue_FWD_DEFINED__ +#define __ID3D11InfoQueue_FWD_DEFINED__ +typedef interface ID3D11InfoQueue ID3D11InfoQueue; +#ifdef __cplusplus +interface ID3D11InfoQueue; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum D3D11_MESSAGE_CATEGORY { + D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED = 0, + D3D11_MESSAGE_CATEGORY_MISCELLANEOUS = 1, + D3D11_MESSAGE_CATEGORY_INITIALIZATION = 2, + D3D11_MESSAGE_CATEGORY_CLEANUP = 3, + D3D11_MESSAGE_CATEGORY_COMPILATION = 4, + D3D11_MESSAGE_CATEGORY_STATE_CREATION = 5, + D3D11_MESSAGE_CATEGORY_STATE_SETTING = 6, + D3D11_MESSAGE_CATEGORY_STATE_GETTING = 7, + D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION = 8, + D3D11_MESSAGE_CATEGORY_EXECUTION = 9, + D3D11_MESSAGE_CATEGORY_SHADER = 10 +} D3D11_MESSAGE_CATEGORY; +typedef enum D3D11_MESSAGE_SEVERITY { + D3D11_MESSAGE_SEVERITY_CORRUPTION = 0, + D3D11_MESSAGE_SEVERITY_ERROR = 1, + D3D11_MESSAGE_SEVERITY_WARNING = 2, + D3D11_MESSAGE_SEVERITY_INFO = 3, + D3D11_MESSAGE_SEVERITY_MESSAGE = 4 +} D3D11_MESSAGE_SEVERITY; +typedef enum D3D11_MESSAGE_ID { + D3D11_MESSAGE_ID_UNKNOWN = 0, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD = 1, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD = 2, + D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD = 3, + D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD = 4, + D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD = 5, + D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD = 6, + D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD = 7, + D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD = 8, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD = 9, + D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD = 10, + D3D11_MESSAGE_ID_STRING_FROM_APPLICATION = 11, + D3D11_MESSAGE_ID_CORRUPTED_THIS = 12, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER1 = 13, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER2 = 14, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER3 = 15, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER4 = 16, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER5 = 17, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER6 = 18, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER7 = 19, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER8 = 20, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER9 = 21, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER10 = 22, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER11 = 23, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER12 = 24, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER13 = 25, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER14 = 26, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER15 = 27, + D3D11_MESSAGE_ID_CORRUPTED_MULTITHREADING = 28, + D3D11_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY = 29, + D3D11_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT = 30, + D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT = 31, + D3D11_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT = 32, + D3D11_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT = 33, + D3D11_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 34, + D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 35, + D3D11_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT = 36, + D3D11_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT = 37, + D3D11_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 38, + D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 39, + D3D11_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT = 40, + D3D11_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT = 41, + D3D11_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT = 42, + D3D11_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 43, + D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 44, + D3D11_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT = 45, + D3D11_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT = 46, + D3D11_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT = 47, + D3D11_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT = 48, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT = 49, + D3D11_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT = 50, + D3D11_MESSAGE_ID_GETPRIVATEDATA_MOREDATA = 51, + D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA = 52, + D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN = 53, + D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS = 54, + D3D11_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS = 55, + D3D11_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY = 56, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT = 57, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES = 58, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE = 59, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS = 60, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS = 61, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS = 62, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS = 63, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS = 64, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA = 65, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS = 66, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS = 67, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS = 68, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN = 69, + D3D11_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN = 70, + D3D11_MESSAGE_ID_CREATEBUFFER_NULLDESC = 71, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS = 72, + D3D11_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION = 73, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT = 74, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT = 75, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES = 76, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE = 77, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS = 78, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS = 79, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS = 80, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS = 81, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS = 82, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA = 83, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS = 84, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS = 85, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS = 86, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN = 87, + D3D11_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN = 88, + D3D11_MESSAGE_ID_CREATETEXTURE1D_NULLDESC = 89, + D3D11_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION = 90, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT = 91, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT = 92, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES = 93, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE = 94, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS = 95, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS = 96, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS = 97, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS = 98, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS = 99, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA = 100, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS = 101, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS = 102, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS = 103, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN = 104, + D3D11_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN = 105, + D3D11_MESSAGE_ID_CREATETEXTURE2D_NULLDESC = 106, + D3D11_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION = 107, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT = 108, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT = 109, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES = 110, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE = 111, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS = 112, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS = 113, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS = 114, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS = 115, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS = 116, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA = 117, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS = 118, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS = 119, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS = 120, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN = 121, + D3D11_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN = 122, + D3D11_MESSAGE_ID_CREATETEXTURE3D_NULLDESC = 123, + D3D11_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION = 124, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT = 125, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC = 126, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT = 127, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS = 128, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE = 129, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS = 130, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN = 131, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN = 132, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT = 133, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT = 134, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC = 135, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT = 136, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS = 137, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE = 138, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS = 139, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN = 140, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN = 141, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT = 142, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC = 143, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT = 144, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS = 145, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE = 146, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS = 147, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN = 148, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN = 149, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY = 150, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS = 151, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT = 152, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT = 153, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT = 154, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS = 155, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH = 156, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE = 157, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE = 158, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT = 159, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC = 160, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE = 161, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC = 162, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT = 163, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC = 164, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY = 165, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE = 166, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE = 167, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY = 168, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE = 169, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE = 170, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY = 171, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE = 172, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE = 173, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES = 174, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED = 175, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL = 176, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL = 177, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED = 178, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT = 179, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT = 180, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT = 181, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT = 182, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION = 183, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT = 184, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE = 185, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC = 186, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH = 187, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS = 188, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX = 189, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE = 190, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY = 191, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE = 192, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE = 193, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE = 194, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE = 195, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP = 196, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS = 197, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS = 198, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC = 199, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK = 200, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC = 201, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP = 202, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP = 203, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP = 204, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC = 205, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP = 206, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP = 207, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP = 208, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC = 209, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS = 210, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC = 211, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND = 212, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND = 213, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP = 214, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA = 215, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA = 216, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA = 217, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK = 218, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS = 219, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC = 220, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER = 221, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU = 222, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV = 223, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW = 224, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS = 225, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY = 226, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC = 227, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD = 228, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD = 229, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS = 230, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC = 231, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY = 232, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS = 233, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG = 234, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC = 235, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED = 236, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED = 237, + D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER = 238, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE = 239, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY = 240, + D3D11_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER = 241, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID = 242, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE = 243, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED = 244, + D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY = 245, + D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER = 246, + D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 247, + D3D11_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY = 248, + D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY = 249, + D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER = 250, + D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 251, + D3D11_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY = 252, + D3D11_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER = 253, + D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED = 254, + D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY = 255, + D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER = 256, + D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 257, + D3D11_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY = 258, + D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT = 259, + D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR = 260, + D3D11_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH = 261, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH = 262, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID = 263, + D3D11_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY = 264, + D3D11_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY = 265, + D3D11_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 266, + D3D11_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY = 267, + D3D11_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY = 268, + D3D11_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 269, + D3D11_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY = 270, + D3D11_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY = 271, + D3D11_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY = 272, + D3D11_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 273, + D3D11_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY = 274, + D3D11_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY = 275, + D3D11_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY = 276, + D3D11_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID = 277, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE = 278, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE = 279, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX = 280, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE = 281, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE = 282, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE = 283, + D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE = 284, + D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE = 285, + D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE = 286, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE = 287, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX = 288, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE = 289, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID = 290, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID = 291, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID = 292, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID = 293, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID = 294, + D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE = 295, + D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS = 296, + D3D11_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED = 297, + D3D11_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN = 298, + D3D11_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED = 299, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE = 300, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE = 301, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS = 302, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED = 303, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN = 304, + D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE = 305, + D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED = 306, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE = 307, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE = 308, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS = 309, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED = 310, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN = 311, + D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE = 312, + D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED = 313, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE = 314, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE = 315, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS = 316, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED = 317, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN = 318, + D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE = 319, + D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED = 320, + D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED = 321, + D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED = 322, + D3D11_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS = 323, + D3D11_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN = 324, + D3D11_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN = 325, + D3D11_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE = 326, + D3D11_MESSAGE_ID_REF_THREADING_MODE = 327, + D3D11_MESSAGE_ID_REF_UMDRIVER_EXCEPTION = 328, + D3D11_MESSAGE_ID_REF_KMDRIVER_EXCEPTION = 329, + D3D11_MESSAGE_ID_REF_HARDWARE_EXCEPTION = 330, + D3D11_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE = 331, + D3D11_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER = 332, + D3D11_MESSAGE_ID_REF_OUT_OF_MEMORY = 333, + D3D11_MESSAGE_ID_REF_INFO = 334, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW = 335, + D3D11_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW = 336, + D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW = 337, + D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW = 338, + D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW = 339, + D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW = 340, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET = 341, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND = 342, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX = 343, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE = 344, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK = 345, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE = 346, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS = 347, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET = 348, + D3D11_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET = 349, + D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET = 350, + D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL = 351, + D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET = 352, + D3D11_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET = 353, + D3D11_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH = 354, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL = 355, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL = 356, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET = 357, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID = 358, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL = 359, + D3D11_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH = 360, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH = 361, + D3D11_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT = 362, + D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET = 363, + D3D11_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED = 364, + D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY = 365, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED = 366, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED = 367, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED = 368, + D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED = 369, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED = 370, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED = 371, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED = 372, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED = 373, + D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE = 374, + D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER = 375, + D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING = 376, + D3D11_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 = 377, + D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT = 378, + D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT = 379, + D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT = 380, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN = 381, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN = 382, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN = 383, + D3D11_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET = 384, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC = 385, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC = 386, + D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH = 387, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW = 388, + D3D11_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS = 389, + D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH = 390, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH = 391, + D3D11_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY = 392, + D3D11_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY = 393, + D3D11_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN = 394, + D3D11_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN = 395, + D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER = 396, + D3D11_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED = 397, + D3D11_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER = 398, + D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN = 399, + D3D11_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN = 400, + D3D11_MESSAGE_ID_CREATECOUNTER_NULLDESC = 401, + D3D11_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER = 402, + D3D11_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER = 403, + D3D11_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE = 404, + D3D11_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED = 405, + D3D11_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION = 406, + D3D11_MESSAGE_ID_QUERY_BEGIN_DUPLICATE = 407, + D3D11_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS = 408, + D3D11_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION = 409, + D3D11_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS = 410, + D3D11_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN = 411, + D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE = 412, + D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS = 413, + D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL = 414, + D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH = 415, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED = 416, + D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN = 417, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE = 418, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE = 419, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT = 420, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH = 421, + D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY = 422, + D3D11_MESSAGE_ID_LIVE_BUFFER = 423, + D3D11_MESSAGE_ID_LIVE_TEXTURE1D = 424, + D3D11_MESSAGE_ID_LIVE_TEXTURE2D = 425, + D3D11_MESSAGE_ID_LIVE_TEXTURE3D = 426, + D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW = 427, + D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW = 428, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW = 429, + D3D11_MESSAGE_ID_LIVE_VERTEXSHADER = 430, + D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER = 431, + D3D11_MESSAGE_ID_LIVE_PIXELSHADER = 432, + D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT = 433, + D3D11_MESSAGE_ID_LIVE_SAMPLER = 434, + D3D11_MESSAGE_ID_LIVE_BLENDSTATE = 435, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE = 436, + D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE = 437, + D3D11_MESSAGE_ID_LIVE_QUERY = 438, + D3D11_MESSAGE_ID_LIVE_PREDICATE = 439, + D3D11_MESSAGE_ID_LIVE_COUNTER = 440, + D3D11_MESSAGE_ID_LIVE_DEVICE = 441, + D3D11_MESSAGE_ID_LIVE_SWAPCHAIN = 442, + D3D11_MESSAGE_ID_D3D10_MESSAGES_END = 443, + D3D11_MESSAGE_ID_D3D10L9_MESSAGES_START = 0x100000, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED = 0x100001, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED = 0x100002, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT = 0x100003, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY = 0x100004, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE = 0x100005, + D3D11_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED = 0x100006, + D3D11_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS = 0x100007, + D3D11_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS = 0x100008, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS = 0x100009, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND = 0x10000a, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D = 0x10000b, + D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE = 0x10000c, + D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE = 0x10000d, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS = 0x10000e, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS = 0x10000f, + D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX = 0x100010, + D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS = 0x100011, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED = 0x100012, + D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS = 0x100013, + D3D11_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY = 0x100014, + D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK = 0x100015, + D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK = 0x100016, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT = 0x100017, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE = 0x100018, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE = 0x100019, + D3D11_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE = 0x10001a, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD = 0x10001b, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL = 0x10001c, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX = 0x10001d, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO = 0x10001e, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES = 0x10001f, + D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET = 0x100020, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER = 0x100021, + D3D11_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE = 0x100022, + D3D11_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE = 0x100023, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE = 0x100024, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS = 0x100025, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT = 0x100026, + D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS = 0x100027, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES = 0x100028, + D3D11_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED = 0x100029, + D3D11_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED = 0x10002a, + D3D11_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED = 0x10002b, + D3D11_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED = 0x10002c, + D3D11_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED = 0x10002d, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND = 0x10002e, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND = 0x10002f, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED = 0x100030, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE = 0x100031, + D3D11_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED = 0x100032, + D3D11_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3 = 0x100033, + D3D11_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED = 0x100034, + D3D11_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO = 0x100035, + D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION = 0x100036, + D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED = 0x100037, + D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR = 0x100038, + D3D11_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA = 0x100039, + D3D11_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP = 0x10003a, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED = 0x10003b, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT = 0x10003c, + D3D11_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES = 0x10003d, + D3D11_MESSAGE_ID_D3D10L9_MESSAGES_END = 0x10003e, + D3D11_MESSAGE_ID_D3D11_MESSAGES_START = 0x200000, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS = 0x200001, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE = 0x200002, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE = 0x200003, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS = 0x200004, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER = 0x200005, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS = 0x200006, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE = 0x200007, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE = 0x200008, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS = 0x200009, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_SINGLETHREADED = 0x20000a, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALIDARG_RETURN = 0x20000b, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN = 0x20000c, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN = 0x20000d, + D3D11_MESSAGE_ID_FINISHDISPLAYLIST_ONIMMEDIATECONTEXT = 0x20000e, + D3D11_MESSAGE_ID_FINISHDISPLAYLIST_OUTOFMEMORY_RETURN = 0x20000f, + D3D11_MESSAGE_ID_FINISHDISPLAYLIST_INVALID_CALL_RETURN = 0x200010, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM = 0x200011, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES = 0x200012, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES = 0x200013, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES = 0x200014, + D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_HAZARD = 0x200015, + D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_HAZARD = 0x200016, + D3D11_MESSAGE_ID_HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 0x200017, + D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 0x200018, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCALL = 0x200019, + D3D11_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY = 0x20001a, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE = 0x20001b, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE = 0x20001c, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE = 0x20001d, + D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY = 0x20001e, + D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFER = 0x20001f, + D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 0x200020, + D3D11_MESSAGE_ID_DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY = 0x200021, + D3D11_MESSAGE_ID_DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY = 0x200022, + D3D11_MESSAGE_ID_DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 0x200023, + D3D11_MESSAGE_ID_DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY = 0x200024, + D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_HAZARD = 0x200025, + D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_HAZARD = 0x200026, + D3D11_MESSAGE_ID_DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 0x200027, + D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 0x200028, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCALL = 0x200029, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY = 0x20002a, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE = 0x20002b, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE = 0x20002c, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE = 0x20002d, + D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY = 0x20002e, + D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFER = 0x20002f, + D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 0x200030, + D3D11_MESSAGE_ID_DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY = 0x200031, + D3D11_MESSAGE_ID_DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY = 0x200032, + D3D11_MESSAGE_ID_DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 0x200033, + D3D11_MESSAGE_ID_DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY = 0x200034, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_XOR_DS_MISMATCH = 0x200035, + D3D11_MESSAGE_ID_DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT = 0x200036, + D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER = 0x200037, + D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED = 0x200038, + D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW = 0x200039, + D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDMAPTYPE = 0x20003a, + D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDSUBRESOURCE = 0x20003b, + D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDFLAGS = 0x20003c, + D3D11_MESSAGE_ID_RESOURCE_MAP_ALREADYMAPPED = 0x20003d, + D3D11_MESSAGE_ID_RESOURCE_MAP_DEVICEREMOVED_RETURN = 0x20003e, + D3D11_MESSAGE_ID_RESOURCE_MAP_OUTOFMEMORY_RETURN = 0x20003f, + D3D11_MESSAGE_ID_RESOURCE_MAP_WITHOUT_INITIAL_DISCARD = 0x200040, + D3D11_MESSAGE_ID_RESOURCE_UNMAP_INVALIDSUBRESOURCE = 0x200041, + D3D11_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED = 0x200042, + D3D11_MESSAGE_ID_DEVICE_DRAW_RASTERIZING_CONTROL_POINTS = 0x200043, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED = 0x200044, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH = 0x200045, + D3D11_MESSAGE_ID_DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH = 0x200046, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH = 0x200047, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH = 0x200048, + D3D11_MESSAGE_ID_CREATE_CONTEXT = 0x200049, + D3D11_MESSAGE_ID_LIVE_CONTEXT = 0x20004a, + D3D11_MESSAGE_ID_DESTROY_CONTEXT = 0x20004b, + D3D11_MESSAGE_ID_CREATE_BUFFER = 0x20004c, + D3D11_MESSAGE_ID_LIVE_BUFFER_WIN7 = 0x20004d, + D3D11_MESSAGE_ID_DESTROY_BUFFER = 0x20004e, + D3D11_MESSAGE_ID_CREATE_TEXTURE1D = 0x20004f, + D3D11_MESSAGE_ID_LIVE_TEXTURE1D_WIN7 = 0x200050, + D3D11_MESSAGE_ID_DESTROY_TEXTURE1D = 0x200051, + D3D11_MESSAGE_ID_CREATE_TEXTURE2D = 0x200052, + D3D11_MESSAGE_ID_LIVE_TEXTURE2D_WIN7 = 0x200053, + D3D11_MESSAGE_ID_DESTROY_TEXTURE2D = 0x200054, + D3D11_MESSAGE_ID_CREATE_TEXTURE3D = 0x200055, + D3D11_MESSAGE_ID_LIVE_TEXTURE3D_WIN7 = 0x200056, + D3D11_MESSAGE_ID_DESTROY_TEXTURE3D = 0x200057, + D3D11_MESSAGE_ID_CREATE_SHADERRESOURCEVIEW = 0x200058, + D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW_WIN7 = 0x200059, + D3D11_MESSAGE_ID_DESTROY_SHADERRESOURCEVIEW = 0x20005a, + D3D11_MESSAGE_ID_CREATE_RENDERTARGETVIEW = 0x20005b, + D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW_WIN7 = 0x20005c, + D3D11_MESSAGE_ID_DESTROY_RENDERTARGETVIEW = 0x20005d, + D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILVIEW = 0x20005e, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW_WIN7 = 0x20005f, + D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILVIEW = 0x200060, + D3D11_MESSAGE_ID_CREATE_VERTEXSHADER = 0x200061, + D3D11_MESSAGE_ID_LIVE_VERTEXSHADER_WIN7 = 0x200062, + D3D11_MESSAGE_ID_DESTROY_VERTEXSHADER = 0x200063, + D3D11_MESSAGE_ID_CREATE_HULLSHADER = 0x200064, + D3D11_MESSAGE_ID_LIVE_HULLSHADER = 0x200065, + D3D11_MESSAGE_ID_DESTROY_HULLSHADER = 0x200066, + D3D11_MESSAGE_ID_CREATE_DOMAINSHADER = 0x200067, + D3D11_MESSAGE_ID_LIVE_DOMAINSHADER = 0x200068, + D3D11_MESSAGE_ID_DESTROY_DOMAINSHADER = 0x200069, + D3D11_MESSAGE_ID_CREATE_GEOMETRYSHADER = 0x20006a, + D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER_WIN7 = 0x20006b, + D3D11_MESSAGE_ID_DESTROY_GEOMETRYSHADER = 0x20006c, + D3D11_MESSAGE_ID_CREATE_PIXELSHADER = 0x20006d, + D3D11_MESSAGE_ID_LIVE_PIXELSHADER_WIN7 = 0x20006e, + D3D11_MESSAGE_ID_DESTROY_PIXELSHADER = 0x20006f, + D3D11_MESSAGE_ID_CREATE_INPUTLAYOUT = 0x200070, + D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT_WIN7 = 0x200071, + D3D11_MESSAGE_ID_DESTROY_INPUTLAYOUT = 0x200072, + D3D11_MESSAGE_ID_CREATE_SAMPLER = 0x200073, + D3D11_MESSAGE_ID_LIVE_SAMPLER_WIN7 = 0x200074, + D3D11_MESSAGE_ID_DESTROY_SAMPLER = 0x200075, + D3D11_MESSAGE_ID_CREATE_BLENDSTATE = 0x200076, + D3D11_MESSAGE_ID_LIVE_BLENDSTATE_WIN7 = 0x200077, + D3D11_MESSAGE_ID_DESTROY_BLENDSTATE = 0x200078, + D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILSTATE = 0x200079, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE_WIN7 = 0x20007a, + D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILSTATE = 0x20007b, + D3D11_MESSAGE_ID_CREATE_RASTERIZERSTATE = 0x20007c, + D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE_WIN7 = 0x20007d, + D3D11_MESSAGE_ID_DESTROY_RASTERIZERSTATE = 0x20007e, + D3D11_MESSAGE_ID_CREATE_QUERY = 0x20007f, + D3D11_MESSAGE_ID_LIVE_QUERY_WIN7 = 0x200080, + D3D11_MESSAGE_ID_DESTROY_QUERY = 0x200081, + D3D11_MESSAGE_ID_CREATE_PREDICATE = 0x200082, + D3D11_MESSAGE_ID_LIVE_PREDICATE_WIN7 = 0x200083, + D3D11_MESSAGE_ID_DESTROY_PREDICATE = 0x200084, + D3D11_MESSAGE_ID_CREATE_COUNTER = 0x200085, + D3D11_MESSAGE_ID_DESTROY_COUNTER = 0x200086, + D3D11_MESSAGE_ID_CREATE_COMMANDLIST = 0x200087, + D3D11_MESSAGE_ID_LIVE_COMMANDLIST = 0x200088, + D3D11_MESSAGE_ID_DESTROY_COMMANDLIST = 0x200089, + D3D11_MESSAGE_ID_CREATE_CLASSINSTANCE = 0x20008a, + D3D11_MESSAGE_ID_LIVE_CLASSINSTANCE = 0x20008b, + D3D11_MESSAGE_ID_DESTROY_CLASSINSTANCE = 0x20008c, + D3D11_MESSAGE_ID_CREATE_CLASSLINKAGE = 0x20008d, + D3D11_MESSAGE_ID_LIVE_CLASSLINKAGE = 0x20008e, + D3D11_MESSAGE_ID_DESTROY_CLASSLINKAGE = 0x20008f, + D3D11_MESSAGE_ID_LIVE_DEVICE_WIN7 = 0x200090, + D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY_WIN7 = 0x200091, + D3D11_MESSAGE_ID_CREATE_COMPUTESHADER = 0x200092, + D3D11_MESSAGE_ID_LIVE_COMPUTESHADER = 0x200093, + D3D11_MESSAGE_ID_DESTROY_COMPUTESHADER = 0x200094, + D3D11_MESSAGE_ID_CREATE_UNORDEREDACCESSVIEW = 0x200095, + D3D11_MESSAGE_ID_LIVE_UNORDEREDACCESSVIEW = 0x200096, + D3D11_MESSAGE_ID_DESTROY_UNORDEREDACCESSVIEW = 0x200097, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACES_FEATURELEVEL = 0x200098, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH = 0x200099, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE = 0x20009a, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_INDEX = 0x20009b, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_TYPE = 0x20009c, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_DATA = 0x20009d, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA = 0x20009e, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS = 0x20009f, + D3D11_MESSAGE_ID_DEVICE_CREATESHADER_CLASSLINKAGE_FULL = 0x2000a0, + D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE = 0x2000a1, + D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE = 0x2000a2, + D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN = 0x2000a3, + D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_HAZARD = 0x2000a4, + D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_HAZARD = 0x2000a5, + D3D11_MESSAGE_ID_CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 0x2000a6, + D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 0x2000a7, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCALL = 0x2000a8, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY = 0x2000a9, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE = 0x2000aa, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERTYPE = 0x2000ab, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE = 0x2000ac, + D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY = 0x2000ad, + D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFER = 0x2000ae, + D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 0x2000af, + D3D11_MESSAGE_ID_DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY = 0x2000b0, + D3D11_MESSAGE_ID_DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY = 0x2000b1, + D3D11_MESSAGE_ID_DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 0x2000b2, + D3D11_MESSAGE_ID_DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY = 0x2000b3, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000b4, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000b5, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000b6, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000b7, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000b8, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000b9, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED = 0x2000ba, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSTRUCTURESTRIDE = 0x2000bb, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFLAGS = 0x2000bc, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE = 0x2000bd, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC = 0x2000be, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT = 0x2000bf, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS = 0x2000c0, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT = 0x2000c1, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD = 0x2000c2, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS = 0x2000c3, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP = 0x2000c4, + D3D11_MESSAGE_ID_CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT = 0x2000c5, + D3D11_MESSAGE_ID_PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT = 0x2000c6, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN = 0x2000c7, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN = 0x2000c8, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS = 0x2000c9, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD = 0x2000ca, + D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_DENORMFLUSH = 0x2000cb, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY = 0x2000cc, + D3D11_MESSAGE_ID_DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY = 0x2000cd, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS = 0x2000ce, + D3D11_MESSAGE_ID_CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS = 0x2000cf, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER = 0x2000d0, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED = 0x2000d1, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW = 0x2000d2, + D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT = 0x2000d3, + D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE = 0x2000d4, + D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD = 0x2000d5, + D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT = 0x2000d6, + D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE = 0x2000d7, + D3D11_MESSAGE_ID_OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT = 0x2000d8, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DEPTH_READONLY = 0x2000d9, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_STENCIL_READONLY = 0x2000da, + D3D11_MESSAGE_ID_CHECKFEATURESUPPORT_FORMAT_DEPRECATED = 0x2000db, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH = 0x2000dc, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET = 0x2000dd, + D3D11_MESSAGE_ID_DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP = 0x2000de, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH = 0x2000df, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED = 0x2000e0, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED = 0x2000e1, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH = 0x2000e2, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH = 0x2000e3, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED = 0x2000e4, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED = 0x2000e5, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED = 0x2000e6, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED = 0x2000e7, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED = 0x2000e8, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED = 0x2000e9, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED = 0x2000ea, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED = 0x2000eb, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED = 0x2000ec, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED = 0x2000ed, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW = 0x2000ee, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO = 0x2000ef, + D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH = 0x2000f0, + D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH = 0x2000f1, + D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED = 0x2000f2, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_UNSUPPORTED = 0x2000f3, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_UNSUPPORTED = 0x2000f4, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDOFFSET = 0x2000f5, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_LARGEOFFSET = 0x2000f6, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE = 0x2000f7, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDSOURCESTATE = 0x2000f8, + D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED = 0x2000f9, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW = 0x2000fa, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET = 0x2000fb, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS = 0x2000fc, + D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT = 0x2000fd, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED = 0x2000fe, + D3D11_MESSAGE_ID_REF_WARNING = 0x2000ff, + D3D11_MESSAGE_ID_DEVICE_DRAW_PIXEL_SHADER_WITHOUT_RTV_OR_DSV = 0x200100, + D3D11_MESSAGE_ID_SHADER_ABORT = 0x200101, + D3D11_MESSAGE_ID_SHADER_MESSAGE = 0x200102, + D3D11_MESSAGE_ID_SHADER_ERROR = 0x200103, + D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDRESOURCE = 0x200104, + D3D11_MESSAGE_ID_HSSETSAMPLERS_UNBINDDELETINGOBJECT = 0x200105, + D3D11_MESSAGE_ID_DSSETSAMPLERS_UNBINDDELETINGOBJECT = 0x200106, + D3D11_MESSAGE_ID_CSSETSAMPLERS_UNBINDDELETINGOBJECT = 0x200107, + D3D11_MESSAGE_ID_HSSETSHADER_UNBINDDELETINGOBJECT = 0x200108, + D3D11_MESSAGE_ID_DSSETSHADER_UNBINDDELETINGOBJECT = 0x200109, + D3D11_MESSAGE_ID_CSSETSHADER_UNBINDDELETINGOBJECT = 0x20010a, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_INVALIDARG_RETURN = 0x20010b, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_OUTOFMEMORY_RETURN = 0x20010c, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_ACCESSDENIED_RETURN = 0x20010d, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NUMUAVS_INVALIDRANGE = 0x20010e, + D3D11_MESSAGE_ID_D3D11_MESSAGES_END = 0x20010f, + D3D11_MESSAGE_ID_D3D11_1_MESSAGES_START = 0x300000, + D3D11_MESSAGE_ID_CREATE_VIDEODECODER = 0x300001, + D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSORENUM = 0x300002, + D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSOR = 0x300003, + D3D11_MESSAGE_ID_CREATE_DECODEROUTPUTVIEW = 0x300004, + D3D11_MESSAGE_ID_CREATE_PROCESSORINPUTVIEW = 0x300005, + D3D11_MESSAGE_ID_CREATE_PROCESSOROUTPUTVIEW = 0x300006, + D3D11_MESSAGE_ID_CREATE_DEVICECONTEXTSTATE = 0x300007, + D3D11_MESSAGE_ID_LIVE_VIDEODECODER = 0x300008, + D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSORENUM = 0x300009, + D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSOR = 0x30000a, + D3D11_MESSAGE_ID_LIVE_DECODEROUTPUTVIEW = 0x30000b, + D3D11_MESSAGE_ID_LIVE_PROCESSORINPUTVIEW = 0x30000c, + D3D11_MESSAGE_ID_LIVE_PROCESSOROUTPUTVIEW = 0x30000d, + D3D11_MESSAGE_ID_LIVE_DEVICECONTEXTSTATE = 0x30000e, + D3D11_MESSAGE_ID_DESTROY_VIDEODECODER = 0x30000f, + D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSORENUM = 0x300010, + D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSOR = 0x300011, + D3D11_MESSAGE_ID_DESTROY_DECODEROUTPUTVIEW = 0x300012, + D3D11_MESSAGE_ID_DESTROY_PROCESSORINPUTVIEW = 0x300013, + D3D11_MESSAGE_ID_DESTROY_PROCESSOROUTPUTVIEW = 0x300014, + D3D11_MESSAGE_ID_DESTROY_DEVICECONTEXTSTATE = 0x300015, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFLAGS = 0x300016, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFEATURELEVEL = 0x300017, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_FEATURELEVELS_NOT_SUPPORTED = 0x300018, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDREFIID = 0x300019, + D3D11_MESSAGE_ID_DEVICE_DISCARDVIEW_INVALIDVIEW = 0x30001a, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION1_INVALIDCOPYFLAGS = 0x30001b, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE1_INVALIDCOPYFLAGS = 0x30001c, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT = 0x30001d, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_OUTOFMEMORY_RETURN = 0x30001e, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_NULLPARAM = 0x30001f, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_INVALIDFORMAT = 0x300020, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_ZEROWIDTHHEIGHT = 0x300021, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERSIZE = 0x300022, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERUSAGE = 0x300023, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILECOUNT_OUTOFMEMORY = 0x300024, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_NULLPARAM = 0x300025, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_INVALIDINDEX = 0x300026, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_OUTOFMEMORY_RETURN = 0x300027, + D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_NULLPARAM = 0x300028, + D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_OUTOFMEMORY_RETURN = 0x300029, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_NULLPARAM = 0x30002a, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_OUTOFMEMORY_RETURN = 0x30002b, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_NULLPARAM = 0x30002c, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_INVALIDINDEX = 0x30002d, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_OUTOFMEMORY_RETURN = 0x30002e, + D3D11_MESSAGE_ID_GETDECODERCREATIONPARAMS_NULLPARAM = 0x30002f, + D3D11_MESSAGE_ID_GETDECODERDRIVERHANDLE_NULLPARAM = 0x300030, + D3D11_MESSAGE_ID_GETDECODERBUFFER_NULLPARAM = 0x300031, + D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDBUFFER = 0x300032, + D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDTYPE = 0x300033, + D3D11_MESSAGE_ID_GETDECODERBUFFER_LOCKED = 0x300034, + D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NULLPARAM = 0x300035, + D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_INVALIDTYPE = 0x300036, + D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NOTLOCKED = 0x300037, + D3D11_MESSAGE_ID_DECODERBEGINFRAME_NULLPARAM = 0x300038, + D3D11_MESSAGE_ID_DECODERBEGINFRAME_HAZARD = 0x300039, + D3D11_MESSAGE_ID_DECODERENDFRAME_NULLPARAM = 0x30003a, + D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_NULLPARAM = 0x30003b, + D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_INVALIDTYPE = 0x30003c, + D3D11_MESSAGE_ID_DECODEREXTENSION_NULLPARAM = 0x30003d, + D3D11_MESSAGE_ID_DECODEREXTENSION_INVALIDRESOURCE = 0x30003e, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_OUTOFMEMORY_RETURN = 0x30003f, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_NULLPARAM = 0x300040, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDFRAMEFORMAT = 0x300041, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDUSAGE = 0x300042, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDINPUTFRAMERATE = 0x300043, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDOUTPUTFRAMERATE = 0x300044, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDWIDTHHEIGHT = 0x300045, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCONTENTDESC_NULLPARAM = 0x300046, + D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMAT_NULLPARAM = 0x300047, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCAPS_NULLPARAM = 0x300048, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_NULLPARAM = 0x300049, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_INVALIDINDEX = 0x30004a, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_NULLPARAM = 0x30004b, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_INVALIDINDEX = 0x30004c, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_NULLPARAM = 0x30004d, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_UNSUPPORTED = 0x30004e, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_OUTOFMEMORY_RETURN = 0x30004f, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_NULLPARAM = 0x300050, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTTARGETRECT_NULLPARAM = 0x300051, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_NULLPARAM = 0x300052, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_INVALIDALPHA = 0x300053, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE_NULLPARAM = 0x300054, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_NULLPARAM = 0x300055, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_UNSUPPORTED = 0x300056, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDSTREAM = 0x300057, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDFILLMODE = 0x300058, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_NULLPARAM = 0x300059, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_NULLPARAM = 0x30005a, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_UNSUPPORTED = 0x30005b, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTEXTENSION_NULLPARAM = 0x30005c, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTTARGETRECT_NULLPARAM = 0x30005d, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTBACKGROUNDCOLOR_NULLPARAM = 0x30005e, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE_NULLPARAM = 0x30005f, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTALPHAFILLMODE_NULLPARAM = 0x300060, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCONSTRICTION_NULLPARAM = 0x300061, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_UNSUPPORTED = 0x300062, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_INVALIDSIZE = 0x300063, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSTEREOMODE_NULLPARAM = 0x300064, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTEXTENSION_NULLPARAM = 0x300065, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_NULLPARAM = 0x300066, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDFORMAT = 0x300067, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDSTREAM = 0x300068, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_NULLPARAM = 0x300069, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_INVALIDSTREAM = 0x30006a, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_NULLPARAM = 0x30006b, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDRATE = 0x30006c, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDFLAG = 0x30006d, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDSTREAM = 0x30006e, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_NULLPARAM = 0x30006f, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDSTREAM = 0x300070, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDRECT = 0x300071, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_NULLPARAM = 0x300072, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDSTREAM = 0x300073, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDRECT = 0x300074, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_NULLPARAM = 0x300075, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDSTREAM = 0x300076, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDALPHA = 0x300077, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_NULLPARAM = 0x300078, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDSTREAM = 0x300079, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDCOUNT = 0x30007a, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDALPHA = 0x30007b, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_NULLPARAM = 0x30007c, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDSTREAM = 0x30007d, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDRATIO = 0x30007e, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_NULLPARAM = 0x30007f, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDSTREAM = 0x300080, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDRANGE = 0x300081, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_UNSUPPORTED = 0x300082, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_NULLPARAM = 0x300083, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDSTREAM = 0x300084, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_UNSUPPORTED = 0x300085, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FLIPUNSUPPORTED = 0x300086, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_MONOOFFSETUNSUPPORTED = 0x300087, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FORMATUNSUPPORTED = 0x300088, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDFORMAT = 0x300089, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_NULLPARAM = 0x30008a, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM = 0x30008b, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_NULLPARAM = 0x30008c, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDSTREAM = 0x30008d, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDFILTER = 0x30008e, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_UNSUPPORTED = 0x30008f, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDLEVEL = 0x300090, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_NULLPARAM = 0x300091, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_INVALIDSTREAM = 0x300092, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_NULLPARAM = 0x300093, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_NULLPARAM = 0x300094, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_NULLPARAM = 0x300095, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_NULLPARAM = 0x300096, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_NULLPARAM = 0x300097, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_NULLPARAM = 0x300098, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_NULLPARAM = 0x300099, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_NULLPARAM = 0x30009a, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_NULLPARAM = 0x30009b, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_NULLPARAM = 0x30009c, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_NULLPARAM = 0x30009d, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_NULLPARAM = 0x30009e, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_NULLPARAM = 0x30009f, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_INVALIDSTREAM = 0x3000a0, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NULLPARAM = 0x3000a1, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSTREAMCOUNT = 0x3000a2, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_TARGETRECT = 0x3000a3, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDOUTPUT = 0x3000a4, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDPASTFRAMES = 0x3000a5, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDFUTUREFRAMES = 0x3000a6, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSOURCERECT = 0x3000a7, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDDESTRECT = 0x3000a8, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDINPUTRESOURCE = 0x3000a9, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAYSIZE = 0x3000aa, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAY = 0x3000ab, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTEXPECTED = 0x3000ac, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTNOTEXPECTED = 0x3000ad, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_STEREONOTENABLED = 0x3000ae, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDRIGHTRESOURCE = 0x3000af, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NOSTEREOSTREAMS = 0x3000b0, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INPUTHAZARD = 0x3000b1, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_OUTPUTHAZARD = 0x3000b2, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_OUTOFMEMORY_RETURN = 0x3000b3, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_NULLPARAM = 0x3000b4, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDTYPE = 0x3000b5, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDBIND = 0x3000b6, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEDFORMAT = 0x3000b7, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP = 0x3000b8, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP = 0x3000b9, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAYSIZE = 0x3000ba, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAY = 0x3000bb, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDDIMENSION = 0x3000bc, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_OUTOFMEMORY_RETURN = 0x3000bd, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_NULLPARAM = 0x3000be, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDTYPE = 0x3000bf, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDBIND = 0x3000c0, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMISC = 0x3000c1, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDUSAGE = 0x3000c2, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFORMAT = 0x3000c3, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFOURCC = 0x3000c4, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMIP = 0x3000c5, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_UNSUPPORTEDMIP = 0x3000c6, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAYSIZE = 0x3000c7, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAY = 0x3000c8, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDDIMENSION = 0x3000c9, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_OUTOFMEMORY_RETURN = 0x3000ca, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_NULLPARAM = 0x3000cb, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDTYPE = 0x3000cc, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDBIND = 0x3000cd, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDFORMAT = 0x3000ce, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMIP = 0x3000cf, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDMIP = 0x3000d0, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDARRAY = 0x3000d1, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDARRAY = 0x3000d2, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDDIMENSION = 0x3000d3, + D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_FORCED_SAMPLE_COUNT = 0x3000d4, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS = 0x3000d5, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDARRAYWITHDECODER = 0x3000d6, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDARRAYWITHDECODER = 0x3000d7, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDARRAYWITHDECODER = 0x3000d8, + D3D11_MESSAGE_ID_DEVICE_LOCKEDOUT_INTERFACE = 0x3000d9, + D3D11_MESSAGE_ID_REF_WARNING_ATOMIC_INCONSISTENT = 0x3000da, + D3D11_MESSAGE_ID_REF_WARNING_READING_UNINITIALIZED_RESOURCE = 0x3000db, + D3D11_MESSAGE_ID_REF_WARNING_RAW_HAZARD = 0x3000dc, + D3D11_MESSAGE_ID_REF_WARNING_WAR_HAZARD = 0x3000dd, + D3D11_MESSAGE_ID_REF_WARNING_WAW_HAZARD = 0x3000de, + D3D11_MESSAGE_ID_CREATECRYPTOSESSION_NULLPARAM = 0x3000df, + D3D11_MESSAGE_ID_CREATECRYPTOSESSION_OUTOFMEMORY_RETURN = 0x3000e0, + D3D11_MESSAGE_ID_GETCRYPTOTYPE_NULLPARAM = 0x3000e1, + D3D11_MESSAGE_ID_GETDECODERPROFILE_NULLPARAM = 0x3000e2, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATESIZE_NULLPARAM = 0x3000e3, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_NULLPARAM = 0x3000e4, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_WRONGSIZE = 0x3000e5, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_WRONGSIZE = 0x3000e6, + D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_NULLPARAM = 0x3000e7, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_UNSUPPORTED = 0x3000e8, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_NULLPARAM = 0x3000e9, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_WRONGDEVICE = 0x3000ea, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_WRONGDEVICE = 0x3000eb, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_FORMAT_MISMATCH = 0x3000ec, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SIZE_MISMATCH = 0x3000ed, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MULTISAMPLED = 0x3000ee, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_NOT_STAGING = 0x3000ef, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MAPPED = 0x3000f0, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_MAPPED = 0x3000f1, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_OFFERED = 0x3000f2, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_OFFERED = 0x3000f3, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_CONTENT_UNDEFINED = 0x3000f4, + D3D11_MESSAGE_ID_DECRYPTIONBLT_UNSUPPORTED = 0x3000f5, + D3D11_MESSAGE_ID_DECRYPTIONBLT_NULLPARAM = 0x3000f6, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_WRONGDEVICE = 0x3000f7, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_WRONGDEVICE = 0x3000f8, + D3D11_MESSAGE_ID_DECRYPTIONBLT_FORMAT_MISMATCH = 0x3000f9, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SIZE_MISMATCH = 0x3000fa, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MULTISAMPLED = 0x3000fb, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_NOT_STAGING = 0x3000fc, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_NOT_RENDER_TARGET = 0x3000fd, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_MAPPED = 0x3000fe, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MAPPED = 0x3000ff, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_OFFERED = 0x300100, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_OFFERED = 0x300101, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_CONTENT_UNDEFINED = 0x300102, + D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_NULLPARAM = 0x300103, + D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_INVALIDSIZE = 0x300104, + D3D11_MESSAGE_ID_FINISHSESSIONKEYREFRESH_NULLPARAM = 0x300105, + D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_NULLPARAM = 0x300106, + D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_INVALIDSIZE = 0x300107, + D3D11_MESSAGE_ID_GETCONTENTPROTECTIONCAPS_NULLPARAM = 0x300108, + D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_NULLPARAM = 0x300109, + D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_INVALIDINDEX = 0x30010a, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_NULLPARAM = 0x30010b, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_UNSUPPORTED = 0x30010c, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_INVALIDTYPE = 0x30010d, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_OUTOFMEMORY_RETURN = 0x30010e, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_INVALIDCHANNEL = 0x30010f, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_NULLPARAM = 0x300110, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_INVALIDCHANNEL = 0x300111, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_NULLPARAM = 0x300112, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_WRONGSIZE = 0x300113, + D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDCHANNEL = 0x300114, + D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_NULLPARAM = 0x300115, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_NULLPARAM = 0x300116, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGCHANNEL = 0x300117, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_UNSUPPORTEDQUERY = 0x300118, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGSIZE = 0x300119, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_INVALIDPROCESSINDEX = 0x30011a, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_NULLPARAM = 0x30011b, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGCHANNEL = 0x30011c, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_UNSUPPORTEDCONFIGURE = 0x30011d, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGSIZE = 0x30011e, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_INVALIDPROCESSIDTYPE = 0x30011f, + D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 0x300120, + D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 0x300121, + D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 0x300122, + D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 0x300123, + D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 0x300124, + D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 0x300125, + D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_INVALIDSIZE = 0x300126, + D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDSIZE = 0x300127, + D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDPRIORITY = 0x300128, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_OUTOFMEMORY = 0x300129, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_NULLPARAM = 0x30012a, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDTYPE = 0x30012b, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDBIND = 0x30012c, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDARRAY = 0x30012d, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_NULLPARAM = 0x30012e, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALIDSTREAM = 0x30012f, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALID = 0x300130, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_UNSUPPORTED = 0x300131, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_NULLPARAM = 0x300132, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDVIEW = 0x300133, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 0x300134, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_SHADEREXTENSIONSNOTSUPPORTED = 0x300135, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 0x300136, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_SHADEREXTENSIONSNOTSUPPORTED = 0x300137, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 0x300138, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_SHADEREXTENSIONSNOTSUPPORTED = 0x300139, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 0x30013a, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_SHADEREXTENSIONSNOTSUPPORTED = 0x30013b, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED = 0x30013c, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_SHADEREXTENSIONSNOTSUPPORTED = 0x30013d, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 0x30013e, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_SHADEREXTENSIONSNOTSUPPORTED = 0x30013f, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 0x300140, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_SHADEREXTENSIONSNOTSUPPORTED = 0x300141, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_MINPRECISION = 0x300142, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_UNSUPPORTED = 0x300143, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_UNSUPPORTED = 0x300144, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED = 0x300145, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED = 0x300146, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED = 0x300147, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED = 0x300148, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED = 0x300149, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED = 0x30014a, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED = 0x30014b, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_INVALIDOFFSET = 0x30014c, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_TOOMANYVIEWS = 0x30014d, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_NOTSUPPORTED = 0x30014e, + D3D11_MESSAGE_ID_SWAPDEVICECONTEXTSTATE_NOTSUPPORTED = 0x30014f, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_PREFERUPDATESUBRESOURCE1 = 0x300150, + D3D11_MESSAGE_ID_GETDC_INACCESSIBLE = 0x300151, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDRECT = 0x300152, + D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLE_MASK_IGNORED_ON_FL9 = 0x300153, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE1_NOT_SUPPORTED = 0x300154, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BY_NAME_NOT_SUPPORTED = 0x300155, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_NOT_SUPPORTED = 0x300156, + D3D11_MESSAGE_ID_OFFERRELEASE_NOT_SUPPORTED = 0x300157, + D3D11_MESSAGE_ID_OFFERRESOURCES_INACCESSIBLE = 0x300158, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMSAA = 0x300159, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMSAA = 0x30015a, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT = 0x30015b, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT = 0x30015c, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_EMPTYDESTBOX = 0x30015d, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_EMPTYSOURCEBOX = 0x30015e, + D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS = 0x30015f, + D3D11_MESSAGE_ID_DEVICE_DRAW_DEPTHSTENCILVIEW_NOT_SET = 0x300160, + D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET = 0x300161, + D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET_DUE_TO_FLIP_PRESENT = 0x300162, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET_DUE_TO_FLIP_PRESENT = 0x300163, + D3D11_MESSAGE_ID_D3D11_1_MESSAGES_END = 0x300164 +} D3D11_MESSAGE_ID; +typedef enum D3D11_RLDO_FLAGS { + D3D11_RLDO_SUMMARY = 1, + D3D11_RLDO_DETAIL = 2 +} D3D11_RLDO_FLAGS; +typedef struct D3D11_MESSAGE { + D3D11_MESSAGE_CATEGORY Category; + D3D11_MESSAGE_SEVERITY Severity; + D3D11_MESSAGE_ID ID; + const char *pDescription; + SIZE_T DescriptionByteLength; +} D3D11_MESSAGE; +typedef struct D3D11_INFO_QUEUE_FILTER_DESC { + UINT NumCategories; + D3D11_MESSAGE_CATEGORY *pCategoryList; + UINT NumSeverities; + D3D11_MESSAGE_SEVERITY *pSeverityList; + UINT NumIDs; + D3D11_MESSAGE_ID *pIDList; +} D3D11_INFO_QUEUE_FILTER_DESC; +typedef struct D3D11_INFO_QUEUE_FILTER { + D3D11_INFO_QUEUE_FILTER_DESC AllowList; + D3D11_INFO_QUEUE_FILTER_DESC DenyList; +} D3D11_INFO_QUEUE_FILTER; +#define D3D11_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT 1024 +/***************************************************************************** + * ID3D11Debug interface + */ +#ifndef __ID3D11Debug_INTERFACE_DEFINED__ +#define __ID3D11Debug_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D11Debug, 0x79cf2233, 0x7536, 0x4948, 0x9d,0x36, 0x1e,0x46,0x92,0xdc,0x57,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79cf2233-7536-4948-9d36-1e4692dc5760") +ID3D11Debug : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFeatureMask( + UINT Mask) = 0; + + virtual UINT STDMETHODCALLTYPE GetFeatureMask( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPresentPerRenderOpDelay( + UINT Milliseconds) = 0; + + virtual UINT STDMETHODCALLTYPE GetPresentPerRenderOpDelay( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSwapChain( + IDXGISwapChain *pSwapChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSwapChain( + IDXGISwapChain **ppSwapChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateContext( + ID3D11DeviceContext *pContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReportLiveDeviceObjects( + D3D11_RLDO_FLAGS Flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateContextForDispatch( + ID3D11DeviceContext *pContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11Debug, 0x79cf2233, 0x7536, 0x4948, 0x9d,0x36, 0x1e,0x46,0x92,0xdc,0x57,0x60) +#endif +#else +typedef struct ID3D11DebugVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11Debug *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11Debug *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11Debug *This); + + /*** ID3D11Debug methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFeatureMask)( + ID3D11Debug *This, + UINT Mask); + + UINT (STDMETHODCALLTYPE *GetFeatureMask)( + ID3D11Debug *This); + + HRESULT (STDMETHODCALLTYPE *SetPresentPerRenderOpDelay)( + ID3D11Debug *This, + UINT Milliseconds); + + UINT (STDMETHODCALLTYPE *GetPresentPerRenderOpDelay)( + ID3D11Debug *This); + + HRESULT (STDMETHODCALLTYPE *SetSwapChain)( + ID3D11Debug *This, + IDXGISwapChain *pSwapChain); + + HRESULT (STDMETHODCALLTYPE *GetSwapChain)( + ID3D11Debug *This, + IDXGISwapChain **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *ValidateContext)( + ID3D11Debug *This, + ID3D11DeviceContext *pContext); + + HRESULT (STDMETHODCALLTYPE *ReportLiveDeviceObjects)( + ID3D11Debug *This, + D3D11_RLDO_FLAGS Flags); + + HRESULT (STDMETHODCALLTYPE *ValidateContextForDispatch)( + ID3D11Debug *This, + ID3D11DeviceContext *pContext); + + END_INTERFACE +} ID3D11DebugVtbl; + +interface ID3D11Debug { + CONST_VTBL ID3D11DebugVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11Debug_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11Debug_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11Debug_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11Debug methods ***/ +#define ID3D11Debug_SetFeatureMask(This,Mask) (This)->lpVtbl->SetFeatureMask(This,Mask) +#define ID3D11Debug_GetFeatureMask(This) (This)->lpVtbl->GetFeatureMask(This) +#define ID3D11Debug_SetPresentPerRenderOpDelay(This,Milliseconds) (This)->lpVtbl->SetPresentPerRenderOpDelay(This,Milliseconds) +#define ID3D11Debug_GetPresentPerRenderOpDelay(This) (This)->lpVtbl->GetPresentPerRenderOpDelay(This) +#define ID3D11Debug_SetSwapChain(This,pSwapChain) (This)->lpVtbl->SetSwapChain(This,pSwapChain) +#define ID3D11Debug_GetSwapChain(This,ppSwapChain) (This)->lpVtbl->GetSwapChain(This,ppSwapChain) +#define ID3D11Debug_ValidateContext(This,pContext) (This)->lpVtbl->ValidateContext(This,pContext) +#define ID3D11Debug_ReportLiveDeviceObjects(This,Flags) (This)->lpVtbl->ReportLiveDeviceObjects(This,Flags) +#define ID3D11Debug_ValidateContextForDispatch(This,pContext) (This)->lpVtbl->ValidateContextForDispatch(This,pContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11Debug_QueryInterface(ID3D11Debug* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11Debug_AddRef(ID3D11Debug* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11Debug_Release(ID3D11Debug* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11Debug methods ***/ +static FORCEINLINE HRESULT ID3D11Debug_SetFeatureMask(ID3D11Debug* This,UINT Mask) { + return This->lpVtbl->SetFeatureMask(This,Mask); +} +static FORCEINLINE UINT ID3D11Debug_GetFeatureMask(ID3D11Debug* This) { + return This->lpVtbl->GetFeatureMask(This); +} +static FORCEINLINE HRESULT ID3D11Debug_SetPresentPerRenderOpDelay(ID3D11Debug* This,UINT Milliseconds) { + return This->lpVtbl->SetPresentPerRenderOpDelay(This,Milliseconds); +} +static FORCEINLINE UINT ID3D11Debug_GetPresentPerRenderOpDelay(ID3D11Debug* This) { + return This->lpVtbl->GetPresentPerRenderOpDelay(This); +} +static FORCEINLINE HRESULT ID3D11Debug_SetSwapChain(ID3D11Debug* This,IDXGISwapChain *pSwapChain) { + return This->lpVtbl->SetSwapChain(This,pSwapChain); +} +static FORCEINLINE HRESULT ID3D11Debug_GetSwapChain(ID3D11Debug* This,IDXGISwapChain **ppSwapChain) { + return This->lpVtbl->GetSwapChain(This,ppSwapChain); +} +static FORCEINLINE HRESULT ID3D11Debug_ValidateContext(ID3D11Debug* This,ID3D11DeviceContext *pContext) { + return This->lpVtbl->ValidateContext(This,pContext); +} +static FORCEINLINE HRESULT ID3D11Debug_ReportLiveDeviceObjects(ID3D11Debug* This,D3D11_RLDO_FLAGS Flags) { + return This->lpVtbl->ReportLiveDeviceObjects(This,Flags); +} +static FORCEINLINE HRESULT ID3D11Debug_ValidateContextForDispatch(ID3D11Debug* This,ID3D11DeviceContext *pContext) { + return This->lpVtbl->ValidateContextForDispatch(This,pContext); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11Debug_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3D11InfoQueue interface + */ +#ifndef __ID3D11InfoQueue_INTERFACE_DEFINED__ +#define __ID3D11InfoQueue_INTERFACE_DEFINED__ + +#ifdef WINE_NO_UNICODE_MACROS +#undef GetMessage +#endif +DEFINE_GUID(IID_ID3D11InfoQueue, 0x6543dbb6, 0x1b48, 0x42f5, 0xab,0x82, 0xe9,0x7e,0xc7,0x43,0x26,0xf6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6543dbb6-1b48-42f5-ab82-e97ec74326f6") +ID3D11InfoQueue : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMessageCountLimit( + UINT64 MessageCountLimit) = 0; + + virtual void STDMETHODCALLTYPE ClearStoredMessages( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessage( + UINT64 MessageIndex, + D3D11_MESSAGE *pMessage, + SIZE_T *pMessageByteLength) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumMessagesAllowedByStorageFilter( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumMessagesDeniedByStorageFilter( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumStoredMessages( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumStoredMessagesAllowedByRetrievalFilter( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetNumMessagesDiscardedByMessageCountLimit( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetMessageCountLimit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStorageFilterEntries( + D3D11_INFO_QUEUE_FILTER *pFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStorageFilter( + D3D11_INFO_QUEUE_FILTER *pFilter, + SIZE_T *pFilterByteLength) = 0; + + virtual void STDMETHODCALLTYPE ClearStorageFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushEmptyStorageFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushCopyOfStorageFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushStorageFilter( + D3D11_INFO_QUEUE_FILTER *pFilter) = 0; + + virtual void STDMETHODCALLTYPE PopStorageFilter( + ) = 0; + + virtual UINT STDMETHODCALLTYPE GetStorageFilterStackSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRetrievalFilterEntries( + D3D11_INFO_QUEUE_FILTER *pFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRetrievalFilter( + D3D11_INFO_QUEUE_FILTER *pFilter, + SIZE_T *pFilterByteLength) = 0; + + virtual void STDMETHODCALLTYPE ClearRetrievalFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushEmptyRetrievalFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushCopyOfRetrievalFilter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushRetrievalFilter( + D3D11_INFO_QUEUE_FILTER *pFilter) = 0; + + virtual void STDMETHODCALLTYPE PopRetrievalFilter( + ) = 0; + + virtual UINT STDMETHODCALLTYPE GetRetrievalFilterStackSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMessage( + D3D11_MESSAGE_CATEGORY Category, + D3D11_MESSAGE_SEVERITY Severity, + D3D11_MESSAGE_ID ID, + LPCSTR pDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddApplicationMessage( + D3D11_MESSAGE_SEVERITY Severity, + LPCSTR pDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakOnCategory( + D3D11_MESSAGE_CATEGORY Category, + BOOL bEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakOnSeverity( + D3D11_MESSAGE_SEVERITY Severity, + BOOL bEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBreakOnID( + D3D11_MESSAGE_ID ID, + BOOL bEnable) = 0; + + virtual BOOL STDMETHODCALLTYPE GetBreakOnCategory( + D3D11_MESSAGE_CATEGORY Category) = 0; + + virtual BOOL STDMETHODCALLTYPE GetBreakOnSeverity( + D3D11_MESSAGE_SEVERITY Severity) = 0; + + virtual BOOL STDMETHODCALLTYPE GetBreakOnID( + D3D11_MESSAGE_ID ID) = 0; + + virtual void STDMETHODCALLTYPE SetMuteDebugOutput( + BOOL bMute) = 0; + + virtual BOOL STDMETHODCALLTYPE GetMuteDebugOutput( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D11InfoQueue, 0x6543dbb6, 0x1b48, 0x42f5, 0xab,0x82, 0xe9,0x7e,0xc7,0x43,0x26,0xf6) +#endif +#else +typedef struct ID3D11InfoQueueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D11InfoQueue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D11InfoQueue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D11InfoQueue *This); + + /*** ID3D11InfoQueue methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMessageCountLimit)( + ID3D11InfoQueue *This, + UINT64 MessageCountLimit); + + void (STDMETHODCALLTYPE *ClearStoredMessages)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *GetMessage)( + ID3D11InfoQueue *This, + UINT64 MessageIndex, + D3D11_MESSAGE *pMessage, + SIZE_T *pMessageByteLength); + + UINT64 (STDMETHODCALLTYPE *GetNumMessagesAllowedByStorageFilter)( + ID3D11InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumMessagesDeniedByStorageFilter)( + ID3D11InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumStoredMessages)( + ID3D11InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumStoredMessagesAllowedByRetrievalFilter)( + ID3D11InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetNumMessagesDiscardedByMessageCountLimit)( + ID3D11InfoQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetMessageCountLimit)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *AddStorageFilterEntries)( + ID3D11InfoQueue *This, + D3D11_INFO_QUEUE_FILTER *pFilter); + + HRESULT (STDMETHODCALLTYPE *GetStorageFilter)( + ID3D11InfoQueue *This, + D3D11_INFO_QUEUE_FILTER *pFilter, + SIZE_T *pFilterByteLength); + + void (STDMETHODCALLTYPE *ClearStorageFilter)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushEmptyStorageFilter)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushCopyOfStorageFilter)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushStorageFilter)( + ID3D11InfoQueue *This, + D3D11_INFO_QUEUE_FILTER *pFilter); + + void (STDMETHODCALLTYPE *PopStorageFilter)( + ID3D11InfoQueue *This); + + UINT (STDMETHODCALLTYPE *GetStorageFilterStackSize)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *AddRetrievalFilterEntries)( + ID3D11InfoQueue *This, + D3D11_INFO_QUEUE_FILTER *pFilter); + + HRESULT (STDMETHODCALLTYPE *GetRetrievalFilter)( + ID3D11InfoQueue *This, + D3D11_INFO_QUEUE_FILTER *pFilter, + SIZE_T *pFilterByteLength); + + void (STDMETHODCALLTYPE *ClearRetrievalFilter)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushEmptyRetrievalFilter)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushCopyOfRetrievalFilter)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *PushRetrievalFilter)( + ID3D11InfoQueue *This, + D3D11_INFO_QUEUE_FILTER *pFilter); + + void (STDMETHODCALLTYPE *PopRetrievalFilter)( + ID3D11InfoQueue *This); + + UINT (STDMETHODCALLTYPE *GetRetrievalFilterStackSize)( + ID3D11InfoQueue *This); + + HRESULT (STDMETHODCALLTYPE *AddMessage)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_CATEGORY Category, + D3D11_MESSAGE_SEVERITY Severity, + D3D11_MESSAGE_ID ID, + LPCSTR pDescription); + + HRESULT (STDMETHODCALLTYPE *AddApplicationMessage)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_SEVERITY Severity, + LPCSTR pDescription); + + HRESULT (STDMETHODCALLTYPE *SetBreakOnCategory)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_CATEGORY Category, + BOOL bEnable); + + HRESULT (STDMETHODCALLTYPE *SetBreakOnSeverity)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_SEVERITY Severity, + BOOL bEnable); + + HRESULT (STDMETHODCALLTYPE *SetBreakOnID)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_ID ID, + BOOL bEnable); + + BOOL (STDMETHODCALLTYPE *GetBreakOnCategory)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_CATEGORY Category); + + BOOL (STDMETHODCALLTYPE *GetBreakOnSeverity)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_SEVERITY Severity); + + BOOL (STDMETHODCALLTYPE *GetBreakOnID)( + ID3D11InfoQueue *This, + D3D11_MESSAGE_ID ID); + + void (STDMETHODCALLTYPE *SetMuteDebugOutput)( + ID3D11InfoQueue *This, + BOOL bMute); + + BOOL (STDMETHODCALLTYPE *GetMuteDebugOutput)( + ID3D11InfoQueue *This); + + END_INTERFACE +} ID3D11InfoQueueVtbl; + +interface ID3D11InfoQueue { + CONST_VTBL ID3D11InfoQueueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D11InfoQueue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D11InfoQueue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D11InfoQueue_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D11InfoQueue methods ***/ +#define ID3D11InfoQueue_SetMessageCountLimit(This,MessageCountLimit) (This)->lpVtbl->SetMessageCountLimit(This,MessageCountLimit) +#define ID3D11InfoQueue_ClearStoredMessages(This) (This)->lpVtbl->ClearStoredMessages(This) +#define ID3D11InfoQueue_GetMessage(This,MessageIndex,pMessage,pMessageByteLength) (This)->lpVtbl->GetMessage(This,MessageIndex,pMessage,pMessageByteLength) +#define ID3D11InfoQueue_GetNumMessagesAllowedByStorageFilter(This) (This)->lpVtbl->GetNumMessagesAllowedByStorageFilter(This) +#define ID3D11InfoQueue_GetNumMessagesDeniedByStorageFilter(This) (This)->lpVtbl->GetNumMessagesDeniedByStorageFilter(This) +#define ID3D11InfoQueue_GetNumStoredMessages(This) (This)->lpVtbl->GetNumStoredMessages(This) +#define ID3D11InfoQueue_GetNumStoredMessagesAllowedByRetrievalFilter(This) (This)->lpVtbl->GetNumStoredMessagesAllowedByRetrievalFilter(This) +#define ID3D11InfoQueue_GetNumMessagesDiscardedByMessageCountLimit(This) (This)->lpVtbl->GetNumMessagesDiscardedByMessageCountLimit(This) +#define ID3D11InfoQueue_GetMessageCountLimit(This) (This)->lpVtbl->GetMessageCountLimit(This) +#define ID3D11InfoQueue_AddStorageFilterEntries(This,pFilter) (This)->lpVtbl->AddStorageFilterEntries(This,pFilter) +#define ID3D11InfoQueue_GetStorageFilter(This,pFilter,pFilterByteLength) (This)->lpVtbl->GetStorageFilter(This,pFilter,pFilterByteLength) +#define ID3D11InfoQueue_ClearStorageFilter(This) (This)->lpVtbl->ClearStorageFilter(This) +#define ID3D11InfoQueue_PushEmptyStorageFilter(This) (This)->lpVtbl->PushEmptyStorageFilter(This) +#define ID3D11InfoQueue_PushCopyOfStorageFilter(This) (This)->lpVtbl->PushCopyOfStorageFilter(This) +#define ID3D11InfoQueue_PushStorageFilter(This,pFilter) (This)->lpVtbl->PushStorageFilter(This,pFilter) +#define ID3D11InfoQueue_PopStorageFilter(This) (This)->lpVtbl->PopStorageFilter(This) +#define ID3D11InfoQueue_GetStorageFilterStackSize(This) (This)->lpVtbl->GetStorageFilterStackSize(This) +#define ID3D11InfoQueue_AddRetrievalFilterEntries(This,pFilter) (This)->lpVtbl->AddRetrievalFilterEntries(This,pFilter) +#define ID3D11InfoQueue_GetRetrievalFilter(This,pFilter,pFilterByteLength) (This)->lpVtbl->GetRetrievalFilter(This,pFilter,pFilterByteLength) +#define ID3D11InfoQueue_ClearRetrievalFilter(This) (This)->lpVtbl->ClearRetrievalFilter(This) +#define ID3D11InfoQueue_PushEmptyRetrievalFilter(This) (This)->lpVtbl->PushEmptyRetrievalFilter(This) +#define ID3D11InfoQueue_PushCopyOfRetrievalFilter(This) (This)->lpVtbl->PushCopyOfRetrievalFilter(This) +#define ID3D11InfoQueue_PushRetrievalFilter(This,pFilter) (This)->lpVtbl->PushRetrievalFilter(This,pFilter) +#define ID3D11InfoQueue_PopRetrievalFilter(This) (This)->lpVtbl->PopRetrievalFilter(This) +#define ID3D11InfoQueue_GetRetrievalFilterStackSize(This) (This)->lpVtbl->GetRetrievalFilterStackSize(This) +#define ID3D11InfoQueue_AddMessage(This,Category,Severity,ID,pDescription) (This)->lpVtbl->AddMessage(This,Category,Severity,ID,pDescription) +#define ID3D11InfoQueue_AddApplicationMessage(This,Severity,pDescription) (This)->lpVtbl->AddApplicationMessage(This,Severity,pDescription) +#define ID3D11InfoQueue_SetBreakOnCategory(This,Category,bEnable) (This)->lpVtbl->SetBreakOnCategory(This,Category,bEnable) +#define ID3D11InfoQueue_SetBreakOnSeverity(This,Severity,bEnable) (This)->lpVtbl->SetBreakOnSeverity(This,Severity,bEnable) +#define ID3D11InfoQueue_SetBreakOnID(This,ID,bEnable) (This)->lpVtbl->SetBreakOnID(This,ID,bEnable) +#define ID3D11InfoQueue_GetBreakOnCategory(This,Category) (This)->lpVtbl->GetBreakOnCategory(This,Category) +#define ID3D11InfoQueue_GetBreakOnSeverity(This,Severity) (This)->lpVtbl->GetBreakOnSeverity(This,Severity) +#define ID3D11InfoQueue_GetBreakOnID(This,ID) (This)->lpVtbl->GetBreakOnID(This,ID) +#define ID3D11InfoQueue_SetMuteDebugOutput(This,bMute) (This)->lpVtbl->SetMuteDebugOutput(This,bMute) +#define ID3D11InfoQueue_GetMuteDebugOutput(This) (This)->lpVtbl->GetMuteDebugOutput(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D11InfoQueue_QueryInterface(ID3D11InfoQueue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D11InfoQueue_AddRef(ID3D11InfoQueue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D11InfoQueue_Release(ID3D11InfoQueue* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D11InfoQueue methods ***/ +static FORCEINLINE HRESULT ID3D11InfoQueue_SetMessageCountLimit(ID3D11InfoQueue* This,UINT64 MessageCountLimit) { + return This->lpVtbl->SetMessageCountLimit(This,MessageCountLimit); +} +static FORCEINLINE void ID3D11InfoQueue_ClearStoredMessages(ID3D11InfoQueue* This) { + This->lpVtbl->ClearStoredMessages(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_GetMessage(ID3D11InfoQueue* This,UINT64 MessageIndex,D3D11_MESSAGE *pMessage,SIZE_T *pMessageByteLength) { + return This->lpVtbl->GetMessage(This,MessageIndex,pMessage,pMessageByteLength); +} +static FORCEINLINE UINT64 ID3D11InfoQueue_GetNumMessagesAllowedByStorageFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->GetNumMessagesAllowedByStorageFilter(This); +} +static FORCEINLINE UINT64 ID3D11InfoQueue_GetNumMessagesDeniedByStorageFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->GetNumMessagesDeniedByStorageFilter(This); +} +static FORCEINLINE UINT64 ID3D11InfoQueue_GetNumStoredMessages(ID3D11InfoQueue* This) { + return This->lpVtbl->GetNumStoredMessages(This); +} +static FORCEINLINE UINT64 ID3D11InfoQueue_GetNumStoredMessagesAllowedByRetrievalFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->GetNumStoredMessagesAllowedByRetrievalFilter(This); +} +static FORCEINLINE UINT64 ID3D11InfoQueue_GetNumMessagesDiscardedByMessageCountLimit(ID3D11InfoQueue* This) { + return This->lpVtbl->GetNumMessagesDiscardedByMessageCountLimit(This); +} +static FORCEINLINE UINT64 ID3D11InfoQueue_GetMessageCountLimit(ID3D11InfoQueue* This) { + return This->lpVtbl->GetMessageCountLimit(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_AddStorageFilterEntries(ID3D11InfoQueue* This,D3D11_INFO_QUEUE_FILTER *pFilter) { + return This->lpVtbl->AddStorageFilterEntries(This,pFilter); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_GetStorageFilter(ID3D11InfoQueue* This,D3D11_INFO_QUEUE_FILTER *pFilter,SIZE_T *pFilterByteLength) { + return This->lpVtbl->GetStorageFilter(This,pFilter,pFilterByteLength); +} +static FORCEINLINE void ID3D11InfoQueue_ClearStorageFilter(ID3D11InfoQueue* This) { + This->lpVtbl->ClearStorageFilter(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_PushEmptyStorageFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->PushEmptyStorageFilter(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_PushCopyOfStorageFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->PushCopyOfStorageFilter(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_PushStorageFilter(ID3D11InfoQueue* This,D3D11_INFO_QUEUE_FILTER *pFilter) { + return This->lpVtbl->PushStorageFilter(This,pFilter); +} +static FORCEINLINE void ID3D11InfoQueue_PopStorageFilter(ID3D11InfoQueue* This) { + This->lpVtbl->PopStorageFilter(This); +} +static FORCEINLINE UINT ID3D11InfoQueue_GetStorageFilterStackSize(ID3D11InfoQueue* This) { + return This->lpVtbl->GetStorageFilterStackSize(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_AddRetrievalFilterEntries(ID3D11InfoQueue* This,D3D11_INFO_QUEUE_FILTER *pFilter) { + return This->lpVtbl->AddRetrievalFilterEntries(This,pFilter); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_GetRetrievalFilter(ID3D11InfoQueue* This,D3D11_INFO_QUEUE_FILTER *pFilter,SIZE_T *pFilterByteLength) { + return This->lpVtbl->GetRetrievalFilter(This,pFilter,pFilterByteLength); +} +static FORCEINLINE void ID3D11InfoQueue_ClearRetrievalFilter(ID3D11InfoQueue* This) { + This->lpVtbl->ClearRetrievalFilter(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_PushEmptyRetrievalFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->PushEmptyRetrievalFilter(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_PushCopyOfRetrievalFilter(ID3D11InfoQueue* This) { + return This->lpVtbl->PushCopyOfRetrievalFilter(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_PushRetrievalFilter(ID3D11InfoQueue* This,D3D11_INFO_QUEUE_FILTER *pFilter) { + return This->lpVtbl->PushRetrievalFilter(This,pFilter); +} +static FORCEINLINE void ID3D11InfoQueue_PopRetrievalFilter(ID3D11InfoQueue* This) { + This->lpVtbl->PopRetrievalFilter(This); +} +static FORCEINLINE UINT ID3D11InfoQueue_GetRetrievalFilterStackSize(ID3D11InfoQueue* This) { + return This->lpVtbl->GetRetrievalFilterStackSize(This); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_AddMessage(ID3D11InfoQueue* This,D3D11_MESSAGE_CATEGORY Category,D3D11_MESSAGE_SEVERITY Severity,D3D11_MESSAGE_ID ID,LPCSTR pDescription) { + return This->lpVtbl->AddMessage(This,Category,Severity,ID,pDescription); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_AddApplicationMessage(ID3D11InfoQueue* This,D3D11_MESSAGE_SEVERITY Severity,LPCSTR pDescription) { + return This->lpVtbl->AddApplicationMessage(This,Severity,pDescription); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_SetBreakOnCategory(ID3D11InfoQueue* This,D3D11_MESSAGE_CATEGORY Category,BOOL bEnable) { + return This->lpVtbl->SetBreakOnCategory(This,Category,bEnable); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_SetBreakOnSeverity(ID3D11InfoQueue* This,D3D11_MESSAGE_SEVERITY Severity,BOOL bEnable) { + return This->lpVtbl->SetBreakOnSeverity(This,Severity,bEnable); +} +static FORCEINLINE HRESULT ID3D11InfoQueue_SetBreakOnID(ID3D11InfoQueue* This,D3D11_MESSAGE_ID ID,BOOL bEnable) { + return This->lpVtbl->SetBreakOnID(This,ID,bEnable); +} +static FORCEINLINE BOOL ID3D11InfoQueue_GetBreakOnCategory(ID3D11InfoQueue* This,D3D11_MESSAGE_CATEGORY Category) { + return This->lpVtbl->GetBreakOnCategory(This,Category); +} +static FORCEINLINE BOOL ID3D11InfoQueue_GetBreakOnSeverity(ID3D11InfoQueue* This,D3D11_MESSAGE_SEVERITY Severity) { + return This->lpVtbl->GetBreakOnSeverity(This,Severity); +} +static FORCEINLINE BOOL ID3D11InfoQueue_GetBreakOnID(ID3D11InfoQueue* This,D3D11_MESSAGE_ID ID) { + return This->lpVtbl->GetBreakOnID(This,ID); +} +static FORCEINLINE void ID3D11InfoQueue_SetMuteDebugOutput(ID3D11InfoQueue* This,BOOL bMute) { + This->lpVtbl->SetMuteDebugOutput(This,bMute); +} +static FORCEINLINE BOOL ID3D11InfoQueue_GetMuteDebugOutput(ID3D11InfoQueue* This) { + return This->lpVtbl->GetMuteDebugOutput(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D11InfoQueue_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3d11sdklayers_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11sdklayers.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11sdklayers.idl new file mode 100644 index 0000000..638e53c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11sdklayers.idl @@ -0,0 +1,1282 @@ +/* + * Copyright 2013 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "d3d11.idl"; + +typedef enum D3D11_MESSAGE_CATEGORY { + D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED, + D3D11_MESSAGE_CATEGORY_MISCELLANEOUS, + D3D11_MESSAGE_CATEGORY_INITIALIZATION, + D3D11_MESSAGE_CATEGORY_CLEANUP, + D3D11_MESSAGE_CATEGORY_COMPILATION, + D3D11_MESSAGE_CATEGORY_STATE_CREATION, + D3D11_MESSAGE_CATEGORY_STATE_SETTING, + D3D11_MESSAGE_CATEGORY_STATE_GETTING, + D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION, + D3D11_MESSAGE_CATEGORY_EXECUTION, + D3D11_MESSAGE_CATEGORY_SHADER +} D3D11_MESSAGE_CATEGORY; + +typedef enum D3D11_MESSAGE_SEVERITY { + D3D11_MESSAGE_SEVERITY_CORRUPTION, + D3D11_MESSAGE_SEVERITY_ERROR, + D3D11_MESSAGE_SEVERITY_WARNING, + D3D11_MESSAGE_SEVERITY_INFO, + D3D11_MESSAGE_SEVERITY_MESSAGE +} D3D11_MESSAGE_SEVERITY; + +typedef enum D3D11_MESSAGE_ID { + D3D11_MESSAGE_ID_UNKNOWN = 0, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD, + D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD, + D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD, + D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD, + D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD, + D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD, + D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD, + D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD, + D3D11_MESSAGE_ID_STRING_FROM_APPLICATION, + D3D11_MESSAGE_ID_CORRUPTED_THIS, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER1, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER2, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER3, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER4, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER5, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER6, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER7, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER8, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER9, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER10, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER11, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER12, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER13, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER14, + D3D11_MESSAGE_ID_CORRUPTED_PARAMETER15, + D3D11_MESSAGE_ID_CORRUPTED_MULTITHREADING, + D3D11_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY, + D3D11_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_GETPRIVATEDATA_MOREDATA, + D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA, + D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN, + D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS, + D3D11_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS, + D3D11_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEBUFFER_NULLDESC, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS, + D3D11_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATETEXTURE1D_NULLDESC, + D3D11_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATETEXTURE2D_NULLDESC, + D3D11_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS, + D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATETEXTURE3D_NULLDESC, + D3D11_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG, + D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED, + D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE, + D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT, + D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR, + D3D11_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID, + D3D11_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE, + D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE, + D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE, + D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID, + D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID, + D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE, + D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS, + D3D11_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED, + D3D11_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN, + D3D11_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED, + D3D11_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN, + D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED, + D3D11_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN, + D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED, + D3D11_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN, + D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED, + D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED, + D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED, + D3D11_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS, + D3D11_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN, + D3D11_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE, + D3D11_MESSAGE_ID_REF_THREADING_MODE, + D3D11_MESSAGE_ID_REF_UMDRIVER_EXCEPTION, + D3D11_MESSAGE_ID_REF_KMDRIVER_EXCEPTION, + D3D11_MESSAGE_ID_REF_HARDWARE_EXCEPTION, + D3D11_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE, + D3D11_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER, + D3D11_MESSAGE_ID_REF_OUT_OF_MEMORY, + D3D11_MESSAGE_ID_REF_INFO, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL, + D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL, + D3D11_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT, + D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED, + D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE, + D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER, + D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING, + D3D11_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0, + D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT, + D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT, + D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN, + D3D11_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC, + D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW, + D3D11_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH, + D3D11_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY, + D3D11_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY, + D3D11_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER, + D3D11_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED, + D3D11_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER, + D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN, + D3D11_MESSAGE_ID_CREATECOUNTER_NULLDESC, + D3D11_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER, + D3D11_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER, + D3D11_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE, + D3D11_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED, + D3D11_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION, + D3D11_MESSAGE_ID_QUERY_BEGIN_DUPLICATE, + D3D11_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS, + D3D11_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION, + D3D11_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS, + D3D11_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN, + D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE, + D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS, + D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL, + D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE, + D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT, + D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH, + D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY, + D3D11_MESSAGE_ID_LIVE_BUFFER, + D3D11_MESSAGE_ID_LIVE_TEXTURE1D, + D3D11_MESSAGE_ID_LIVE_TEXTURE2D, + D3D11_MESSAGE_ID_LIVE_TEXTURE3D, + D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW, + D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW, + D3D11_MESSAGE_ID_LIVE_VERTEXSHADER, + D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER, + D3D11_MESSAGE_ID_LIVE_PIXELSHADER, + D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT, + D3D11_MESSAGE_ID_LIVE_SAMPLER, + D3D11_MESSAGE_ID_LIVE_BLENDSTATE, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE, + D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE, + D3D11_MESSAGE_ID_LIVE_QUERY, + D3D11_MESSAGE_ID_LIVE_PREDICATE, + D3D11_MESSAGE_ID_LIVE_COUNTER, + D3D11_MESSAGE_ID_LIVE_DEVICE, + D3D11_MESSAGE_ID_LIVE_SWAPCHAIN, + D3D11_MESSAGE_ID_D3D10_MESSAGES_END, + + D3D11_MESSAGE_ID_D3D10L9_MESSAGES_START = 0x00100000, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE, + D3D11_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED, + D3D11_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS, + D3D11_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D, + D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE, + D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS, + D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX, + D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS, + D3D11_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY, + D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK, + D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK, + D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE, + D3D11_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES, + D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER, + D3D11_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE, + D3D11_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT, + D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS, + D3D11_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES, + D3D11_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED, + D3D11_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED, + D3D11_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED, + D3D11_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED, + D3D11_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE, + D3D11_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED, + D3D11_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3, + D3D11_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED, + D3D11_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO, + D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION, + D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED, + D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR, + D3D11_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA, + D3D11_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP, + D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED, + D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT, + D3D11_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES, + D3D11_MESSAGE_ID_D3D10L9_MESSAGES_END, + + D3D11_MESSAGE_ID_D3D11_MESSAGES_START = 0x00200000, + D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS, + D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_SINGLETHREADED, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN, + D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_FINISHDISPLAYLIST_ONIMMEDIATECONTEXT, + D3D11_MESSAGE_ID_FINISHDISPLAYLIST_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_FINISHDISPLAYLIST_INVALID_CALL_RETURN, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES, + D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES, + D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_HAZARD, + D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_HAZARD, + D3D11_MESSAGE_ID_HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCALL, + D3D11_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_HAZARD, + D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_HAZARD, + D3D11_MESSAGE_ID_DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCALL, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_XOR_DS_MISMATCH, + D3D11_MESSAGE_ID_DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT, + D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER, + D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW, + D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDMAPTYPE, + D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDFLAGS, + D3D11_MESSAGE_ID_RESOURCE_MAP_ALREADYMAPPED, + D3D11_MESSAGE_ID_RESOURCE_MAP_DEVICEREMOVED_RETURN, + D3D11_MESSAGE_ID_RESOURCE_MAP_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_RESOURCE_MAP_WITHOUT_INITIAL_DISCARD, + D3D11_MESSAGE_ID_RESOURCE_UNMAP_INVALIDSUBRESOURCE, + D3D11_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED, + D3D11_MESSAGE_ID_DEVICE_DRAW_RASTERIZING_CONTROL_POINTS, + D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH, + D3D11_MESSAGE_ID_CREATE_CONTEXT, + D3D11_MESSAGE_ID_LIVE_CONTEXT, + D3D11_MESSAGE_ID_DESTROY_CONTEXT, + D3D11_MESSAGE_ID_CREATE_BUFFER, + D3D11_MESSAGE_ID_LIVE_BUFFER_WIN7, + D3D11_MESSAGE_ID_DESTROY_BUFFER, + D3D11_MESSAGE_ID_CREATE_TEXTURE1D, + D3D11_MESSAGE_ID_LIVE_TEXTURE1D_WIN7, + D3D11_MESSAGE_ID_DESTROY_TEXTURE1D, + D3D11_MESSAGE_ID_CREATE_TEXTURE2D, + D3D11_MESSAGE_ID_LIVE_TEXTURE2D_WIN7, + D3D11_MESSAGE_ID_DESTROY_TEXTURE2D, + D3D11_MESSAGE_ID_CREATE_TEXTURE3D, + D3D11_MESSAGE_ID_LIVE_TEXTURE3D_WIN7, + D3D11_MESSAGE_ID_DESTROY_TEXTURE3D, + D3D11_MESSAGE_ID_CREATE_SHADERRESOURCEVIEW, + D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW_WIN7, + D3D11_MESSAGE_ID_DESTROY_SHADERRESOURCEVIEW, + D3D11_MESSAGE_ID_CREATE_RENDERTARGETVIEW, + D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW_WIN7, + D3D11_MESSAGE_ID_DESTROY_RENDERTARGETVIEW, + D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILVIEW, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW_WIN7, + D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILVIEW, + D3D11_MESSAGE_ID_CREATE_VERTEXSHADER, + D3D11_MESSAGE_ID_LIVE_VERTEXSHADER_WIN7, + D3D11_MESSAGE_ID_DESTROY_VERTEXSHADER, + D3D11_MESSAGE_ID_CREATE_HULLSHADER, + D3D11_MESSAGE_ID_LIVE_HULLSHADER, + D3D11_MESSAGE_ID_DESTROY_HULLSHADER, + D3D11_MESSAGE_ID_CREATE_DOMAINSHADER, + D3D11_MESSAGE_ID_LIVE_DOMAINSHADER, + D3D11_MESSAGE_ID_DESTROY_DOMAINSHADER, + D3D11_MESSAGE_ID_CREATE_GEOMETRYSHADER, + D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER_WIN7, + D3D11_MESSAGE_ID_DESTROY_GEOMETRYSHADER, + D3D11_MESSAGE_ID_CREATE_PIXELSHADER, + D3D11_MESSAGE_ID_LIVE_PIXELSHADER_WIN7, + D3D11_MESSAGE_ID_DESTROY_PIXELSHADER, + D3D11_MESSAGE_ID_CREATE_INPUTLAYOUT, + D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT_WIN7, + D3D11_MESSAGE_ID_DESTROY_INPUTLAYOUT, + D3D11_MESSAGE_ID_CREATE_SAMPLER, + D3D11_MESSAGE_ID_LIVE_SAMPLER_WIN7, + D3D11_MESSAGE_ID_DESTROY_SAMPLER, + D3D11_MESSAGE_ID_CREATE_BLENDSTATE, + D3D11_MESSAGE_ID_LIVE_BLENDSTATE_WIN7, + D3D11_MESSAGE_ID_DESTROY_BLENDSTATE, + D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILSTATE, + D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE_WIN7, + D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILSTATE, + D3D11_MESSAGE_ID_CREATE_RASTERIZERSTATE, + D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE_WIN7, + D3D11_MESSAGE_ID_DESTROY_RASTERIZERSTATE, + D3D11_MESSAGE_ID_CREATE_QUERY, + D3D11_MESSAGE_ID_LIVE_QUERY_WIN7, + D3D11_MESSAGE_ID_DESTROY_QUERY, + D3D11_MESSAGE_ID_CREATE_PREDICATE, + D3D11_MESSAGE_ID_LIVE_PREDICATE_WIN7, + D3D11_MESSAGE_ID_DESTROY_PREDICATE, + D3D11_MESSAGE_ID_CREATE_COUNTER, + D3D11_MESSAGE_ID_DESTROY_COUNTER, + D3D11_MESSAGE_ID_CREATE_COMMANDLIST, + D3D11_MESSAGE_ID_LIVE_COMMANDLIST, + D3D11_MESSAGE_ID_DESTROY_COMMANDLIST, + D3D11_MESSAGE_ID_CREATE_CLASSINSTANCE, + D3D11_MESSAGE_ID_LIVE_CLASSINSTANCE, + D3D11_MESSAGE_ID_DESTROY_CLASSINSTANCE, + D3D11_MESSAGE_ID_CREATE_CLASSLINKAGE, + D3D11_MESSAGE_ID_LIVE_CLASSLINKAGE, + D3D11_MESSAGE_ID_DESTROY_CLASSLINKAGE, + D3D11_MESSAGE_ID_LIVE_DEVICE_WIN7, + D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY_WIN7, + D3D11_MESSAGE_ID_CREATE_COMPUTESHADER, + D3D11_MESSAGE_ID_LIVE_COMPUTESHADER, + D3D11_MESSAGE_ID_DESTROY_COMPUTESHADER, + D3D11_MESSAGE_ID_CREATE_UNORDEREDACCESSVIEW, + D3D11_MESSAGE_ID_LIVE_UNORDEREDACCESSVIEW, + D3D11_MESSAGE_ID_DESTROY_UNORDEREDACCESSVIEW, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACES_FEATURELEVEL, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_INDEX, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_TYPE, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_DATA, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA, + D3D11_MESSAGE_ID_DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS, + D3D11_MESSAGE_ID_DEVICE_CREATESHADER_CLASSLINKAGE_FULL, + D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE, + D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE, + D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_HAZARD, + D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_HAZARD, + D3D11_MESSAGE_ID_CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCALL, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERTYPE, + D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE, + D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFER, + D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED, + D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSTRUCTURESTRIDE, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFLAGS, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP, + D3D11_MESSAGE_ID_CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD, + D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_DENORMFLUSH, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY, + D3D11_MESSAGE_ID_DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS, + D3D11_MESSAGE_ID_CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT, + D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE, + D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD, + D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT, + D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE, + D3D11_MESSAGE_ID_OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DEPTH_READONLY, + D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_STENCIL_READONLY, + D3D11_MESSAGE_ID_CHECKFEATURESUPPORT_FORMAT_DEPRECATED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO, + D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH, + D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DISPATCH_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_UNSUPPORTED, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDOFFSET, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_LARGEOFFSET, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE, + D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDSOURCESTATE, + D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET, + D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS, + D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED, + D3D11_MESSAGE_ID_REF_WARNING, + D3D11_MESSAGE_ID_DEVICE_DRAW_PIXEL_SHADER_WITHOUT_RTV_OR_DSV, + D3D11_MESSAGE_ID_SHADER_ABORT, + D3D11_MESSAGE_ID_SHADER_MESSAGE, + D3D11_MESSAGE_ID_SHADER_ERROR, + D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDRESOURCE, + D3D11_MESSAGE_ID_HSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_DSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CSSETSAMPLERS_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_HSSETSHADER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_DSSETSHADER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_CSSETSHADER_UNBINDDELETINGOBJECT, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_INVALIDARG_RETURN, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_ACCESSDENIED_RETURN, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NUMUAVS_INVALIDRANGE, + D3D11_MESSAGE_ID_D3D11_MESSAGES_END, + + D3D11_MESSAGE_ID_D3D11_1_MESSAGES_START = 0x00300000, + D3D11_MESSAGE_ID_CREATE_VIDEODECODER, + D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSORENUM, + D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSOR, + D3D11_MESSAGE_ID_CREATE_DECODEROUTPUTVIEW, + D3D11_MESSAGE_ID_CREATE_PROCESSORINPUTVIEW, + D3D11_MESSAGE_ID_CREATE_PROCESSOROUTPUTVIEW, + D3D11_MESSAGE_ID_CREATE_DEVICECONTEXTSTATE, + D3D11_MESSAGE_ID_LIVE_VIDEODECODER, + D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSORENUM, + D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSOR, + D3D11_MESSAGE_ID_LIVE_DECODEROUTPUTVIEW, + D3D11_MESSAGE_ID_LIVE_PROCESSORINPUTVIEW, + D3D11_MESSAGE_ID_LIVE_PROCESSOROUTPUTVIEW, + D3D11_MESSAGE_ID_LIVE_DEVICECONTEXTSTATE, + D3D11_MESSAGE_ID_DESTROY_VIDEODECODER, + D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSORENUM, + D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSOR, + D3D11_MESSAGE_ID_DESTROY_DECODEROUTPUTVIEW, + D3D11_MESSAGE_ID_DESTROY_PROCESSORINPUTVIEW, + D3D11_MESSAGE_ID_DESTROY_PROCESSOROUTPUTVIEW, + D3D11_MESSAGE_ID_DESTROY_DEVICECONTEXTSTATE, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFLAGS, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFEATURELEVEL, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_FEATURELEVELS_NOT_SUPPORTED, + D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDREFIID, + D3D11_MESSAGE_ID_DEVICE_DISCARDVIEW_INVALIDVIEW, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION1_INVALIDCOPYFLAGS, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE1_INVALIDCOPYFLAGS, + D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_NULLPARAM, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_ZEROWIDTHHEIGHT, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERSIZE, + D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERUSAGE, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILECOUNT_OUTOFMEMORY, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_INVALIDINDEX, + D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_NULLPARAM, + D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_INVALIDINDEX, + D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_GETDECODERCREATIONPARAMS_NULLPARAM, + D3D11_MESSAGE_ID_GETDECODERDRIVERHANDLE_NULLPARAM, + D3D11_MESSAGE_ID_GETDECODERBUFFER_NULLPARAM, + D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDBUFFER, + D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDTYPE, + D3D11_MESSAGE_ID_GETDECODERBUFFER_LOCKED, + D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NULLPARAM, + D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_INVALIDTYPE, + D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NOTLOCKED, + D3D11_MESSAGE_ID_DECODERBEGINFRAME_NULLPARAM, + D3D11_MESSAGE_ID_DECODERBEGINFRAME_HAZARD, + D3D11_MESSAGE_ID_DECODERENDFRAME_NULLPARAM, + D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_NULLPARAM, + D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_INVALIDTYPE, + D3D11_MESSAGE_ID_DECODEREXTENSION_NULLPARAM, + D3D11_MESSAGE_ID_DECODEREXTENSION_INVALIDRESOURCE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_NULLPARAM, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDFRAMEFORMAT, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDUSAGE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDINPUTFRAMERATE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDOUTPUTFRAMERATE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDWIDTHHEIGHT, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCONTENTDESC_NULLPARAM, + D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMAT_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCAPS_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_INVALIDINDEX, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_INVALIDINDEX, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_NULLPARAM, + D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_UNSUPPORTED, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTTARGETRECT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_INVALIDALPHA, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDFILLMODE, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTEXTENSION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTTARGETRECT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTBACKGROUNDCOLOR_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTALPHAFILLMODE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCONSTRICTION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_INVALIDSIZE, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSTEREOMODE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTEXTENSION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDFORMAT, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDRATE, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDFLAG, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDRECT, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDRECT, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDALPHA, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDCOUNT, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDALPHA, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDRATIO, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDRANGE, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FLIPUNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_MONOOFFSETUNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FORMATUNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDFORMAT, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDFILTER, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDLEVEL, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSTREAMCOUNT, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_TARGETRECT, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDOUTPUT, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDPASTFRAMES, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDFUTUREFRAMES, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSOURCERECT, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDDESTRECT, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDINPUTRESOURCE, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAYSIZE, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAY, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTEXPECTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTNOTEXPECTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_STEREONOTENABLED, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDRIGHTRESOURCE, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NOSTEREOSTREAMS, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INPUTHAZARD, + D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_OUTPUTHAZARD, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_NULLPARAM, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDTYPE, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDBIND, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEDFORMAT, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAYSIZE, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAY, + D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDDIMENSION, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_NULLPARAM, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDTYPE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDBIND, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMISC, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDUSAGE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFOURCC, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMIP, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_UNSUPPORTEDMIP, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAYSIZE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAY, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDDIMENSION, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_NULLPARAM, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDTYPE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDBIND, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDFORMAT, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMIP, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDMIP, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDARRAY, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDARRAY, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDDIMENSION, + D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_FORCED_SAMPLE_COUNT, + D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS, + D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDARRAYWITHDECODER, + D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDARRAYWITHDECODER, + D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDARRAYWITHDECODER, + D3D11_MESSAGE_ID_DEVICE_LOCKEDOUT_INTERFACE, + D3D11_MESSAGE_ID_REF_WARNING_ATOMIC_INCONSISTENT, + D3D11_MESSAGE_ID_REF_WARNING_READING_UNINITIALIZED_RESOURCE, + D3D11_MESSAGE_ID_REF_WARNING_RAW_HAZARD, + D3D11_MESSAGE_ID_REF_WARNING_WAR_HAZARD, + D3D11_MESSAGE_ID_REF_WARNING_WAW_HAZARD, + D3D11_MESSAGE_ID_CREATECRYPTOSESSION_NULLPARAM, + D3D11_MESSAGE_ID_CREATECRYPTOSESSION_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_GETCRYPTOTYPE_NULLPARAM, + D3D11_MESSAGE_ID_GETDECODERPROFILE_NULLPARAM, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATESIZE_NULLPARAM, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_NULLPARAM, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_WRONGSIZE, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_WRONGSIZE, + D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_NULLPARAM, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_UNSUPPORTED, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_NULLPARAM, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_WRONGDEVICE, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_WRONGDEVICE, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_FORMAT_MISMATCH, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SIZE_MISMATCH, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MULTISAMPLED, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_NOT_STAGING, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MAPPED, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_MAPPED, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_OFFERED, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_OFFERED, + D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_CONTENT_UNDEFINED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_UNSUPPORTED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_NULLPARAM, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_WRONGDEVICE, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_WRONGDEVICE, + D3D11_MESSAGE_ID_DECRYPTIONBLT_FORMAT_MISMATCH, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SIZE_MISMATCH, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MULTISAMPLED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_NOT_STAGING, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_NOT_RENDER_TARGET, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_MAPPED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MAPPED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_OFFERED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_OFFERED, + D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_CONTENT_UNDEFINED, + D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_NULLPARAM, + D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_INVALIDSIZE, + D3D11_MESSAGE_ID_FINISHSESSIONKEYREFRESH_NULLPARAM, + D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_NULLPARAM, + D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_INVALIDSIZE, + D3D11_MESSAGE_ID_GETCONTENTPROTECTIONCAPS_NULLPARAM, + D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_NULLPARAM, + D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_INVALIDINDEX, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_NULLPARAM, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_UNSUPPORTED, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_INVALIDTYPE, + D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_OUTOFMEMORY_RETURN, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_INVALIDCHANNEL, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_NULLPARAM, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_INVALIDCHANNEL, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_NULLPARAM, + D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_WRONGSIZE, + D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDCHANNEL, + D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_NULLPARAM, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_NULLPARAM, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGCHANNEL, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_UNSUPPORTEDQUERY, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGSIZE, + D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_INVALIDPROCESSINDEX, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_NULLPARAM, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGCHANNEL, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_UNSUPPORTEDCONFIGURE, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGSIZE, + D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_INVALIDPROCESSIDTYPE, + D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT, + D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT, + D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT, + D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT, + D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT, + D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT, + D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_INVALIDSIZE, + D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDSIZE, + D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDPRIORITY, + D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_OUTOFMEMORY, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_NULLPARAM, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDTYPE, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDBIND, + D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDARRAY, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_NULLPARAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALIDSTREAM, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALID, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_NULLPARAM, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDVIEW, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_SHADEREXTENSIONSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_MINPRECISION, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_UNSUPPORTED, + D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_UNSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_INVALIDOFFSET, + D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_TOOMANYVIEWS, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_NOTSUPPORTED, + D3D11_MESSAGE_ID_SWAPDEVICECONTEXTSTATE_NOTSUPPORTED, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_PREFERUPDATESUBRESOURCE1, + D3D11_MESSAGE_ID_GETDC_INACCESSIBLE, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDRECT, + D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLE_MASK_IGNORED_ON_FL9, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE1_NOT_SUPPORTED, + D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BY_NAME_NOT_SUPPORTED, + D3D11_MESSAGE_ID_ENQUEUESETEVENT_NOT_SUPPORTED, + D3D11_MESSAGE_ID_OFFERRELEASE_NOT_SUPPORTED, + D3D11_MESSAGE_ID_OFFERRESOURCES_INACCESSIBLE, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMSAA, + D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMSAA, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT, + D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT, + D3D11_MESSAGE_ID_UPDATESUBRESOURCE_EMPTYDESTBOX, + D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_EMPTYSOURCEBOX, + D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS, + D3D11_MESSAGE_ID_DEVICE_DRAW_DEPTHSTENCILVIEW_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET, + D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET_DUE_TO_FLIP_PRESENT, + D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET_DUE_TO_FLIP_PRESENT, + D3D11_MESSAGE_ID_D3D11_1_MESSAGES_END +} D3D11_MESSAGE_ID; + +typedef enum D3D11_RLDO_FLAGS { + D3D11_RLDO_SUMMARY = 1, + D3D11_RLDO_DETAIL = 2 +} D3D11_RLDO_FLAGS; + +typedef struct D3D11_MESSAGE { + D3D11_MESSAGE_CATEGORY Category; + D3D11_MESSAGE_SEVERITY Severity; + D3D11_MESSAGE_ID ID; + const char *pDescription; + SIZE_T DescriptionByteLength; +} D3D11_MESSAGE; + +typedef struct D3D11_INFO_QUEUE_FILTER_DESC { + UINT NumCategories; + D3D11_MESSAGE_CATEGORY *pCategoryList; + UINT NumSeverities; + D3D11_MESSAGE_SEVERITY *pSeverityList; + UINT NumIDs; + D3D11_MESSAGE_ID *pIDList; +} D3D11_INFO_QUEUE_FILTER_DESC; + +typedef struct D3D11_INFO_QUEUE_FILTER { + D3D11_INFO_QUEUE_FILTER_DESC AllowList; + D3D11_INFO_QUEUE_FILTER_DESC DenyList; +} D3D11_INFO_QUEUE_FILTER; + +cpp_quote("#define D3D11_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT 1024") + +[ + object, + uuid(79cf2233-7536-4948-9d36-1e4692dc5760), + local, + pointer_default(unique) +] +interface ID3D11Debug : IUnknown { + HRESULT SetFeatureMask(UINT Mask); + UINT GetFeatureMask(); + HRESULT SetPresentPerRenderOpDelay(UINT Milliseconds); + UINT GetPresentPerRenderOpDelay(); + HRESULT SetSwapChain(IDXGISwapChain *pSwapChain); + HRESULT GetSwapChain(IDXGISwapChain **ppSwapChain); + HRESULT ValidateContext(ID3D11DeviceContext *pContext); + HRESULT ReportLiveDeviceObjects(D3D11_RLDO_FLAGS Flags); + HRESULT ValidateContextForDispatch(ID3D11DeviceContext *pContext); +} + +[ + object, + uuid(6543dbb6-1b48-42f5-ab82-e97ec74326f6), + local, + pointer_default(unique) +] +interface ID3D11InfoQueue : IUnknown { + HRESULT SetMessageCountLimit(UINT64 MessageCountLimit); + void ClearStoredMessages(); + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetMessage") +cpp_quote("#endif") + HRESULT GetMessage(UINT64 MessageIndex, D3D11_MESSAGE* pMessage, SIZE_T *pMessageByteLength); + + UINT64 GetNumMessagesAllowedByStorageFilter(); + UINT64 GetNumMessagesDeniedByStorageFilter(); + UINT64 GetNumStoredMessages(); + UINT64 GetNumStoredMessagesAllowedByRetrievalFilter(); + UINT64 GetNumMessagesDiscardedByMessageCountLimit(); + UINT64 GetMessageCountLimit(); + HRESULT AddStorageFilterEntries(D3D11_INFO_QUEUE_FILTER *pFilter); + HRESULT GetStorageFilter(D3D11_INFO_QUEUE_FILTER *pFilter, SIZE_T *pFilterByteLength); + void ClearStorageFilter(); + HRESULT PushEmptyStorageFilter(); + HRESULT PushCopyOfStorageFilter(); + HRESULT PushStorageFilter(D3D11_INFO_QUEUE_FILTER *pFilter); + void PopStorageFilter(); + UINT GetStorageFilterStackSize(); + HRESULT AddRetrievalFilterEntries(D3D11_INFO_QUEUE_FILTER *pFilter); + HRESULT GetRetrievalFilter(D3D11_INFO_QUEUE_FILTER *pFilter, SIZE_T *pFilterByteLength); + void ClearRetrievalFilter(); + HRESULT PushEmptyRetrievalFilter(); + HRESULT PushCopyOfRetrievalFilter(); + HRESULT PushRetrievalFilter(D3D11_INFO_QUEUE_FILTER *pFilter); + void PopRetrievalFilter(); + UINT GetRetrievalFilterStackSize(); + HRESULT AddMessage(D3D11_MESSAGE_CATEGORY Category, D3D11_MESSAGE_SEVERITY Severity, + D3D11_MESSAGE_ID ID, LPCSTR pDescription); + HRESULT AddApplicationMessage(D3D11_MESSAGE_SEVERITY Severity, LPCSTR pDescription); + HRESULT SetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category, BOOL bEnable); + HRESULT SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity, BOOL bEnable); + HRESULT SetBreakOnID(D3D11_MESSAGE_ID ID, BOOL bEnable); + BOOL GetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category); + BOOL GetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity); + BOOL GetBreakOnID(D3D11_MESSAGE_ID ID); + void SetMuteDebugOutput(BOOL bMute); + BOOL GetMuteDebugOutput(); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11shader.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11shader.h new file mode 100644 index 0000000..f9c3b95 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d11shader.h @@ -0,0 +1,249 @@ +/* + * Copyright 2010 Matteo Bruni for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3D11SHADER_H__ +#define __D3D11SHADER_H__ + +#include "d3dcommon.h" + +/* These are defined as version-neutral in d3dcommon.h */ +typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE; + +typedef D3D_RESOURCE_RETURN_TYPE D3D11_RESOURCE_RETURN_TYPE; + +typedef D3D_TESSELLATOR_DOMAIN D3D11_TESSELLATOR_DOMAIN; + +typedef D3D_TESSELLATOR_PARTITIONING D3D11_TESSELLATOR_PARTITIONING; + +typedef D3D_TESSELLATOR_OUTPUT_PRIMITIVE D3D11_TESSELLATOR_OUTPUT_PRIMITIVE; + +typedef struct _D3D11_SHADER_DESC +{ + UINT Version; + const char *Creator; + UINT Flags; + UINT ConstantBuffers; + UINT BoundResources; + UINT InputParameters; + UINT OutputParameters; + UINT InstructionCount; + UINT TempRegisterCount; + UINT TempArrayCount; + UINT DefCount; + UINT DclCount; + UINT TextureNormalInstructions; + UINT TextureLoadInstructions; + UINT TextureCompInstructions; + UINT TextureBiasInstructions; + UINT TextureGradientInstructions; + UINT FloatInstructionCount; + UINT IntInstructionCount; + UINT UintInstructionCount; + UINT StaticFlowControlCount; + UINT DynamicFlowControlCount; + UINT MacroInstructionCount; + UINT ArrayInstructionCount; + UINT CutInstructionCount; + UINT EmitInstructionCount; + D3D_PRIMITIVE_TOPOLOGY GSOutputTopology; + UINT GSMaxOutputVertexCount; + D3D_PRIMITIVE InputPrimitive; + UINT PatchConstantParameters; + UINT cGSInstanceCount; + UINT cControlPoints; + D3D_TESSELLATOR_OUTPUT_PRIMITIVE HSOutputPrimitive; + D3D_TESSELLATOR_PARTITIONING HSPartitioning; + D3D_TESSELLATOR_DOMAIN TessellatorDomain; + UINT cBarrierInstructions; + UINT cInterlockedInstructions; + UINT cTextureStoreInstructions; +} D3D11_SHADER_DESC; + +typedef struct _D3D11_SHADER_VARIABLE_DESC +{ + const char *Name; + UINT StartOffset; + UINT Size; + UINT uFlags; + void *DefaultValue; + UINT StartTexture; + UINT TextureSize; + UINT StartSampler; + UINT SamplerSize; +} D3D11_SHADER_VARIABLE_DESC; + +typedef struct _D3D11_SHADER_TYPE_DESC +{ + D3D_SHADER_VARIABLE_CLASS Class; + D3D_SHADER_VARIABLE_TYPE Type; + UINT Rows; + UINT Columns; + UINT Elements; + UINT Members; + UINT Offset; + const char *Name; +} D3D11_SHADER_TYPE_DESC; + +typedef struct _D3D11_SHADER_BUFFER_DESC +{ + const char *Name; + D3D_CBUFFER_TYPE Type; + UINT Variables; + UINT Size; + UINT uFlags; +} D3D11_SHADER_BUFFER_DESC; + +typedef struct _D3D11_SHADER_INPUT_BIND_DESC +{ + const char *Name; + D3D_SHADER_INPUT_TYPE Type; + UINT BindPoint; + UINT BindCount; + UINT uFlags; + D3D_RESOURCE_RETURN_TYPE ReturnType; + D3D_SRV_DIMENSION Dimension; + UINT NumSamples; +} D3D11_SHADER_INPUT_BIND_DESC; + +typedef struct _D3D11_SIGNATURE_PARAMETER_DESC +{ + const char *SemanticName; + UINT SemanticIndex; + UINT Register; + D3D_NAME SystemValueType; + D3D_REGISTER_COMPONENT_TYPE ComponentType; + BYTE Mask; + BYTE ReadWriteMask; + UINT Stream; +} D3D11_SIGNATURE_PARAMETER_DESC; + +DEFINE_GUID(IID_ID3D11ShaderReflectionType, 0x6e6ffa6a, 0x9bae, 0x4613, 0xa5, 0x1e, 0x91, 0x65, 0x2d, 0x50, 0x8c, 0x21); + +#define INTERFACE ID3D11ShaderReflectionType +DECLARE_INTERFACE(ID3D11ShaderReflectionType) +{ + STDMETHOD(GetDesc)(THIS_ D3D11_SHADER_TYPE_DESC *desc) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionType *, GetMemberTypeByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionType *, GetMemberTypeByName)(THIS_ const char *name) PURE; + STDMETHOD_(const char *, GetMemberTypeName)(THIS_ UINT index) PURE; + STDMETHOD(IsEqual)(THIS_ struct ID3D11ShaderReflectionType *type) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionType *, GetSubType)(THIS) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionType *, GetBaseClass)(THIS) PURE; + STDMETHOD_(UINT, GetNumInterfaces)(THIS) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionType *, GetInterfaceByIndex)(THIS_ UINT index) PURE; + STDMETHOD(IsOfType)(THIS_ struct ID3D11ShaderReflectionType *type) PURE; + STDMETHOD(ImplementsInterface)(THIS_ ID3D11ShaderReflectionType *base) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D11ShaderReflectionVariable, 0x51f23923, 0xf3e5, 0x4bd1, 0x91, 0xcb, 0x60, 0x61, 0x77, 0xd8, 0xdb, 0x4c); + +#define INTERFACE ID3D11ShaderReflectionVariable +DECLARE_INTERFACE(ID3D11ShaderReflectionVariable) +{ + STDMETHOD(GetDesc)(THIS_ D3D11_SHADER_VARIABLE_DESC *desc) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionType *, GetType)(THIS) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetBuffer)(THIS) PURE; + STDMETHOD_(UINT, GetInterfaceSlot)(THIS_ UINT index) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D11ShaderReflectionConstantBuffer, 0xeb62d63d, 0x93dd, 0x4318, 0x8a, 0xe8, 0xc6, 0xf8, 0x3a, 0xd3, 0x71, 0xb8); + +#define INTERFACE ID3D11ShaderReflectionConstantBuffer +DECLARE_INTERFACE(ID3D11ShaderReflectionConstantBuffer) +{ + STDMETHOD(GetDesc)(THIS_ D3D11_SHADER_BUFFER_DESC *desc) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D11ShaderReflection, 0x0a233719, 0x3960, 0x4578, 0x9d, 0x7c, 0x20, 0x3b, 0x8b, 0x1d, 0x9c, 0xc1); + +#define INTERFACE ID3D11ShaderReflection +DECLARE_INTERFACE_(ID3D11ShaderReflection, IUnknown) +{ + /* IUnknown methods */ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* ID3D11ShaderReflection methods */ + STDMETHOD(GetDesc)(THIS_ D3D11_SHADER_DESC *desc) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE; + STDMETHOD(GetResourceBindingDesc)(THIS_ UINT index, D3D11_SHADER_INPUT_BIND_DESC *desc) PURE; + STDMETHOD(GetInputParameterDesc)(THIS_ UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD(GetOutputParameterDesc)(THIS_ UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD(GetPatchConstantParameterDesc)(THIS_ UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) PURE; + STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE; + STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D11_SHADER_INPUT_BIND_DESC *desc) PURE; + STDMETHOD_(UINT, GetMovInstructionCount)(THIS) PURE; + STDMETHOD_(UINT, GetMovcInstructionCount)(THIS) PURE; + STDMETHOD_(UINT, GetConversionInstructionCount)(THIS) PURE; + STDMETHOD_(UINT, GetBitwiseInstructionCount)(THIS) PURE; + STDMETHOD_(D3D_PRIMITIVE, GetGSInputPrimitive)(THIS) PURE; + STDMETHOD_(BOOL, IsSampleFrequencyShader)(THIS) PURE; + STDMETHOD_(UINT, GetNumInterfaceSlots)(THIS) PURE; + STDMETHOD(GetMinFeatureLevel)(THIS_ enum D3D_FEATURE_LEVEL *level) PURE; + STDMETHOD_(UINT, GetThreadGroupSize)(THIS_ UINT *sizex, UINT *sizey, UINT *sizez) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D11ModuleInstance, 0x469e07f7, 0x45a, 0x48d5, 0xaa, 0x12, 0x68, 0xa4, 0x78, 0xcd, 0xf7, 0x5d); + +#define INTERFACE ID3D11ModuleInstance +DECLARE_INTERFACE_(ID3D11ModuleInstance, IUnknown) +{ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + + /* ID3D11ModuleInstance methods */ + STDMETHOD(BindConstantBuffer)(THIS_ UINT srcslot, UINT dstslot, UINT dstoffset) PURE; + STDMETHOD(BindConstantBufferByName)(THIS_ const char *name, UINT dstslot, UINT dstoffset) PURE; + + STDMETHOD(BindResource)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE; + STDMETHOD(BindResourceByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE; + + STDMETHOD(BindSampler)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE; + STDMETHOD(BindSamplerByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE; + + STDMETHOD(BindUnorderedAccessView)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE; + STDMETHOD(BindUnorderedAccessViewByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE; + + STDMETHOD(BindResourceAsUnorderedAccessView)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE; + STDMETHOD(BindResourceAsUnorderedAccessViewByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(IID_ID3D11Module, 0xcac701ee, 0x80fc, 0x4122, 0x82, 0x42, 0x10, 0xb3, 0x9c, 0x8c, 0xec, 0x34); + +#define INTERFACE ID3D11Module +DECLARE_INTERFACE_(ID3D11Module, IUnknown) +{ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + + /* ID3D11Module methods */ + STDMETHOD(CreateInstance)(THIS_ const char *instnamespace, ID3D11ModuleInstance **moduleinstance) PURE; +}; +#undef INTERFACE + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8.h new file mode 100644 index 0000000..d56e67f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8.h @@ -0,0 +1,1153 @@ +/* + * Copyright (C) 2002 Jason Edmeades + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3D8_H +#define __WINE_D3D8_H + +#ifndef DIRECT3D_VERSION +#define DIRECT3D_VERSION 0x0800 +#endif + +#include + +#define COM_NO_WINDOWS_H +#include +#include +#include +#include + +/***************************************************************************** + * Behavior Flags for IDirect3D8::CreateDevice + */ +#define D3DCREATE_FPU_PRESERVE __MSABI_LONG(0x00000002) +#define D3DCREATE_MULTITHREADED __MSABI_LONG(0x00000004) +#define D3DCREATE_PUREDEVICE __MSABI_LONG(0x00000010) +#define D3DCREATE_SOFTWARE_VERTEXPROCESSING __MSABI_LONG(0x00000020) +#define D3DCREATE_HARDWARE_VERTEXPROCESSING __MSABI_LONG(0x00000040) +#define D3DCREATE_MIXED_VERTEXPROCESSING __MSABI_LONG(0x00000080) + +/***************************************************************************** + * Flags for SetPrivateData + */ +#define D3DSPD_IUNKNOWN __MSABI_LONG(0x00000001) + +/***************************************************************************** + * #defines and error codes + */ +#define D3D_SDK_VERSION 220 +#define D3DADAPTER_DEFAULT 0 +#define D3DENUM_NO_WHQL_LEVEL 2 + +#define _FACD3D 0x876 +#define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) + +/* + * Direct3D Errors + */ +#define D3D_OK S_OK +#define D3DERR_WRONGTEXTUREFORMAT MAKE_D3DHRESULT(2072) +#define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_D3DHRESULT(2073) +#define D3DERR_UNSUPPORTEDCOLORARG MAKE_D3DHRESULT(2074) +#define D3DERR_UNSUPPORTEDALPHAOPERATION MAKE_D3DHRESULT(2075) +#define D3DERR_UNSUPPORTEDALPHAARG MAKE_D3DHRESULT(2076) +#define D3DERR_TOOMANYOPERATIONS MAKE_D3DHRESULT(2077) +#define D3DERR_CONFLICTINGTEXTUREFILTER MAKE_D3DHRESULT(2078) +#define D3DERR_UNSUPPORTEDFACTORVALUE MAKE_D3DHRESULT(2079) +#define D3DERR_CONFLICTINGRENDERSTATE MAKE_D3DHRESULT(2081) +#define D3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_D3DHRESULT(2082) +#define D3DERR_CONFLICTINGTEXTUREPALETTE MAKE_D3DHRESULT(2086) +#define D3DERR_DRIVERINTERNALERROR MAKE_D3DHRESULT(2087) + +#define D3DERR_NOTFOUND MAKE_D3DHRESULT(2150) +#define D3DERR_MOREDATA MAKE_D3DHRESULT(2151) +#define D3DERR_DEVICELOST MAKE_D3DHRESULT(2152) +#define D3DERR_DEVICENOTRESET MAKE_D3DHRESULT(2153) +#define D3DERR_NOTAVAILABLE MAKE_D3DHRESULT(2154) +#define D3DERR_OUTOFVIDEOMEMORY MAKE_D3DHRESULT(380) +#define D3DERR_INVALIDDEVICE MAKE_D3DHRESULT(2155) +#define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156) +#define D3DERR_DRIVERINVALIDCALL MAKE_D3DHRESULT(2157) + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(IID_IDirect3D8, 0x1DD9E8DA,0x1C77,0x4D40,0xB0,0xCF,0x98,0xFE,0xFD,0xFF,0x95,0x12); +typedef struct IDirect3D8 *LPDIRECT3D8; + +DEFINE_GUID(IID_IDirect3DDevice8, 0x7385E5DF,0x8FE8,0x41D5,0x86,0xB6,0xD7,0xB4,0x85,0x47,0xB6,0xCF); +typedef struct IDirect3DDevice8 *LPDIRECT3DDEVICE8; + +DEFINE_GUID(IID_IDirect3DResource8, 0x1B36BB7B,0x09B7,0x410A,0xB4,0x45,0x7D,0x14,0x30,0xD7,0xB3,0x3F); +typedef struct IDirect3DResource8 *LPDIRECT3DRESOURCE8, *PDIRECT3DRESOURCE8; + +DEFINE_GUID(IID_IDirect3DVertexBuffer8, 0x8AEEEAC7,0x05F9,0x44D4,0xB5,0x91,0x00,0x0B,0x0D,0xF1,0xCB,0x95); +typedef struct IDirect3DVertexBuffer8 *LPDIRECT3DVERTEXBUFFER8, *PDIRECT3DVERTEXBUFFER8; + +DEFINE_GUID(IID_IDirect3DVolume8, 0xBD7349F5,0x14F1,0x42E4,0x9C,0x79,0x97,0x23,0x80,0xDB,0x40,0xC0); +typedef struct IDirect3DVolume8 *LPDIRECT3DVOLUME8, *PDIRECT3DVOLUME8; + +DEFINE_GUID(IID_IDirect3DSwapChain8, 0x928C088B,0x76B9,0x4C6B,0xA5,0x36,0xA5,0x90,0x85,0x38,0x76,0xCD); +typedef struct IDirect3DSwapChain8 *LPDIRECT3DSWAPCHAIN8, *PDIRECT3DSWAPCHAIN8; + +DEFINE_GUID(IID_IDirect3DSurface8, 0xB96EEBCA,0xB326,0x4EA5,0x88,0x2F,0x2F,0xF5,0xBA,0xE0,0x21,0xDD); +typedef struct IDirect3DSurface8 *LPDIRECT3DSURFACE8, *PDIRECT3DSURFACE8; + +DEFINE_GUID(IID_IDirect3DIndexBuffer8, 0x0E689C9A,0x053D,0x44A0,0x9D,0x92,0xDB,0x0E,0x3D,0x75,0x0F,0x86); +typedef struct IDirect3DIndexBuffer8 *LPDIRECT3DINDEXBUFFER8, *PDIRECT3DINDEXBUFFER8; + +DEFINE_GUID(IID_IDirect3DBaseTexture8, 0xB4211CFA,0x51B9,0x4A9F,0xAB,0x78,0xDB,0x99,0xB2,0xBB,0x67,0x8E); +typedef struct IDirect3DBaseTexture8 *LPDIRECT3DBASETEXTURE8, *PDIRECT3DBASETEXTURE8; + +DEFINE_GUID(IID_IDirect3DTexture8, 0xE4CDD575,0x2866,0x4F01,0xB1,0x2E,0x7E,0xEC,0xE1,0xEC,0x93,0x58); +typedef struct IDirect3DTexture8 *LPDIRECT3DTEXTURE8, *PDIRECT3DTEXTURE8; + +DEFINE_GUID(IID_IDirect3DCubeTexture8, 0x3EE5B968,0x2ACA,0x4C34,0x8B,0xB5,0x7E,0x0C,0x3D,0x19,0xB7,0x50); +typedef struct IDirect3DCubeTexture8 *LPDIRECT3DCUBETEXTURE8, *PDIRECT3DCUBETEXTURE8; + +DEFINE_GUID(IID_IDirect3DVolumeTexture8, 0x4B8AAAFA,0x140F,0x42BA,0x91,0x31,0x59,0x7E,0xAF,0xAA,0x2E,0xAD); +typedef struct IDirect3DVolumeTexture8 *LPDIRECT3DVOLUMETEXTURE8, *PDIRECT3DVOLUMETEXTURE8; + +/***************************************************************************** + * IDirect3D8 interface + */ +#undef INTERFACE +#define INTERFACE IDirect3D8 +DECLARE_INTERFACE_(IDirect3D8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3D8 methods ***/ + STDMETHOD(RegisterSoftwareDevice)(THIS_ void * pInitializeFunction) PURE; + STDMETHOD_(UINT,GetAdapterCount )(THIS) PURE; + STDMETHOD(GetAdapterIdentifier)(THIS_ UINT Adapter, DWORD Flags, D3DADAPTER_IDENTIFIER8 * pIdentifier) PURE; + STDMETHOD_(UINT,GetAdapterModeCount)(THIS_ UINT Adapter) PURE; + STDMETHOD(EnumAdapterModes)(THIS_ UINT Adapter, UINT Mode, D3DDISPLAYMODE * pMode) PURE; + STDMETHOD(GetAdapterDisplayMode)(THIS_ UINT Adapter, D3DDISPLAYMODE * pMode) PURE; + STDMETHOD(CheckDeviceType)(THIS_ UINT Adapter, D3DDEVTYPE CheckType, D3DFORMAT DisplayFormat, D3DFORMAT BackBufferFormat, BOOL Windowed) PURE; + STDMETHOD(CheckDeviceFormat)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, DWORD Usage, D3DRESOURCETYPE RType, D3DFORMAT CheckFormat) PURE; + STDMETHOD(CheckDeviceMultiSampleType)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT SurfaceFormat, BOOL Windowed, D3DMULTISAMPLE_TYPE MultiSampleType) PURE; + STDMETHOD(CheckDepthStencilMatch)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, D3DFORMAT RenderTargetFormat, D3DFORMAT DepthStencilFormat) PURE; + STDMETHOD(GetDeviceCaps)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DCAPS8 * pCaps) PURE; + STDMETHOD_(HMONITOR,GetAdapterMonitor)(THIS_ UINT Adapter) PURE; + STDMETHOD(CreateDevice)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType,HWND hFocusWindow, DWORD BehaviorFlags, D3DPRESENT_PARAMETERS * pPresentationParameters, struct IDirect3DDevice8 ** ppReturnedDeviceInterface) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3D8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3D8 methods ***/ +#define IDirect3D8_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a) +#define IDirect3D8_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p) +#define IDirect3D8_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c) +#define IDirect3D8_GetAdapterModeCount(p,a) (p)->lpVtbl->GetAdapterModeCount(p,a) +#define IDirect3D8_EnumAdapterModes(p,a,b,c) (p)->lpVtbl->EnumAdapterModes(p,a,b,c) +#define IDirect3D8_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b) +#define IDirect3D8_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e) +#define IDirect3D8_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceFormat(p,a,b,c,d,e,f) +#define IDirect3D8_CheckDeviceMultiSampleType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceMultiSampleType(p,a,b,c,d,e) +#define IDirect3D8_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->lpVtbl->CheckDepthStencilMatch(p,a,b,c,d,e) +#define IDirect3D8_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c) +#define IDirect3D8_GetAdapterMonitor(p,a) (p)->lpVtbl->GetAdapterMonitor(p,a) +#define IDirect3D8_CreateDevice(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f) +#else +/*** IUnknown methods ***/ +#define IDirect3D8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D8_AddRef(p) (p)->AddRef() +#define IDirect3D8_Release(p) (p)->Release() +/*** IDirect3D8 methods ***/ +#define IDirect3D8_RegisterSoftwareDevice(p,a) (p)->RegisterSoftwareDevice(a) +#define IDirect3D8_GetAdapterCount(p) (p)->GetAdapterCount() +#define IDirect3D8_GetAdapterIdentifier(p,a,b,c) (p)->GetAdapterIdentifier(a,b,c) +#define IDirect3D8_GetAdapterModeCount(p,a) (p)->GetAdapterModeCount(a) +#define IDirect3D8_EnumAdapterModes(p,a,b,c) (p)->EnumAdapterModes(a,b,c) +#define IDirect3D8_GetAdapterDisplayMode(p,a,b) (p)->GetAdapterDisplayMode(a,b) +#define IDirect3D8_CheckDeviceType(p,a,b,c,d,e) (p)->CheckDeviceType(a,b,c,d,e) +#define IDirect3D8_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->CheckDeviceFormat(a,b,c,d,e,f) +#define IDirect3D8_CheckDeviceMultiSampleType(p,a,b,c,d,e) (p)->CheckDeviceMultiSampleType(a,b,c,d,e) +#define IDirect3D8_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->CheckDepthStencilMatch(a,b,c,d,e) +#define IDirect3D8_GetDeviceCaps(p,a,b,c) (p)->GetDeviceCaps(a,b,c) +#define IDirect3D8_GetAdapterMonitor(p,a) (p)->GetAdapterMonitor(a) +#define IDirect3D8_CreateDevice(p,a,b,c,d,e,f) (p)->CreateDevice(a,b,c,d,e,f) +#endif + +/***************************************************************************** + * IDirect3DVolume8 interface + */ +#define INTERFACE IDirect3DVolume8 +DECLARE_INTERFACE_(IDirect3DVolume8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DVolume8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD(GetContainer)(THIS_ REFIID riid, void ** ppContainer) PURE; + STDMETHOD(GetDesc)(THIS_ D3DVOLUME_DESC * pDesc) PURE; + STDMETHOD(LockBox)(THIS_ D3DLOCKED_BOX *locked_box, const D3DBOX *box, DWORD flags) PURE; + STDMETHOD(UnlockBox)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVolume8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVolume8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVolume8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVolume8 methods ***/ +#define IDirect3DVolume8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVolume8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DVolume8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DVolume8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DVolume8_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b) +#define IDirect3DVolume8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define IDirect3DVolume8_LockBox(p,a,b,c) (p)->lpVtbl->LockBox(p,a,b,c) +#define IDirect3DVolume8_UnlockBox(p) (p)->lpVtbl->UnlockBox(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DVolume8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVolume8_AddRef(p) (p)->AddRef() +#define IDirect3DVolume8_Release(p) (p)->Release() +/*** IDirect3DVolume8 methods ***/ +#define IDirect3DVolume8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVolume8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DVolume8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DVolume8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DVolume8_GetContainer(p,a,b) (p)->GetContainer(a,b) +#define IDirect3DVolume8_GetDesc(p,a) (p)->GetDesc(a) +#define IDirect3DVolume8_LockBox(p,a,b,c) (p)->LockBox(a,b,c) +#define IDirect3DVolume8_UnlockBox(p) (p)->UnlockBox() +#endif + +/***************************************************************************** + * IDirect3DSwapChain8 interface + */ +#define INTERFACE IDirect3DSwapChain8 +DECLARE_INTERFACE_(IDirect3DSwapChain8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DSwapChain8 methods ***/ + STDMETHOD(Present)(THIS_ const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, + const RGNDATA *dirty_region) PURE; + STDMETHOD(GetBackBuffer)(THIS_ UINT BackBuffer, D3DBACKBUFFER_TYPE Type, struct IDirect3DSurface8 ** ppBackBuffer) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DSwapChain8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DSwapChain8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DSwapChain8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DSwapChain8 methods ***/ +#define IDirect3DSwapChain8_Present(p,a,b,c,d) (p)->lpVtbl->Present(p,a,b,c,d) +#define IDirect3DSwapChain8_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DSwapChain8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DSwapChain8_AddRef(p) (p)->AddRef() +#define IDirect3DSwapChain8_Release(p) (p)->Release() +/*** IDirect3DSwapChain8 methods ***/ +#define IDirect3DSwapChain8_Present(p,a,b,c,d) (p)->Present(a,b,c,d) +#define IDirect3DSwapChain8_GetBackBuffer(p,a,b,c) (p)->GetBackBuffer(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DSurface8 interface + */ +#define INTERFACE IDirect3DSurface8 +DECLARE_INTERFACE_(IDirect3DSurface8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DSurface8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void * pData,DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD(GetContainer)(THIS_ REFIID riid, void ** ppContainer) PURE; + STDMETHOD(GetDesc)(THIS_ D3DSURFACE_DESC * pDesc) PURE; + STDMETHOD(LockRect)(THIS_ D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags) PURE; + STDMETHOD(UnlockRect)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DSurface8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DSurface8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DSurface8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DSurface8 methods ***/ +#define IDirect3DSurface8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DSurface8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DSurface8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DSurface8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DSurface8_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b) +#define IDirect3DSurface8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define IDirect3DSurface8_LockRect(p,a,b,c) (p)->lpVtbl->LockRect(p,a,b,c) +#define IDirect3DSurface8_UnlockRect(p) (p)->lpVtbl->UnlockRect(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DSurface8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DSurface8_AddRef(p) (p)->AddRef() +#define IDirect3DSurface8_Release(p) (p)->Release() +/*** IDirect3DSurface8 methods ***/ +#define IDirect3DSurface8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DSurface8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DSurface8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DSurface8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DSurface8_GetContainer(p,a,b) (p)->GetContainer(a,b) +#define IDirect3DSurface8_GetDesc(p,a) (p)->GetDesc(a) +#define IDirect3DSurface8_LockRect(p,a,b,c) (p)->LockRect(a,b,c) +#define IDirect3DSurface8_UnlockRect(p) (p)->UnlockRect() +#endif + +/***************************************************************************** + * IDirect3DResource8 interface + */ +#define INTERFACE IDirect3DResource8 +DECLARE_INTERFACE_(IDirect3DResource8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DResource8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DResource8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DResource8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DResource8 methods ***/ +#define IDirect3DResource8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DResource8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DResource8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DResource8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DResource8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DResource8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DResource8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DResource8_GetType(p) (p)->lpVtbl->GetType(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DResource8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DResource8_AddRef(p) (p)->AddRef() +#define IDirect3DResource8_Release(p) (p)->Release() +/*** IDirect3DResource8 methods ***/ +#define IDirect3DResource8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DResource8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DResource8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DResource8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DResource8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DResource8_GetPriority(p) (p)->GetPriority() +#define IDirect3DResource8_PreLoad(p) (p)->PreLoad() +#define IDirect3DResource8_GetType(p) (p)->GetType() +#endif + +/***************************************************************************** + * IDirect3DVertexBuffer8 interface + */ +#define INTERFACE IDirect3DVertexBuffer8 +DECLARE_INTERFACE_(IDirect3DVertexBuffer8,IDirect3DResource8) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; + /*** IDirect3DVertexBuffer8 methods ***/ + STDMETHOD(Lock)(THIS_ UINT OffsetToLock, UINT SizeToLock, BYTE ** ppbData, DWORD Flags) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3DVERTEXBUFFER_DESC * pDesc) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVertexBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVertexBuffer8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVertexBuffer8 methods: IDirect3DResource8 ***/ +#define IDirect3DVertexBuffer8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVertexBuffer8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DVertexBuffer8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DVertexBuffer8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DVertexBuffer8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DVertexBuffer8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DVertexBuffer8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DVertexBuffer8_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DVertexBuffer8 methods ***/ +#define IDirect3DVertexBuffer8_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirect3DVertexBuffer8_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DVertexBuffer8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVertexBuffer8_AddRef(p) (p)->AddRef() +#define IDirect3DVertexBuffer8_Release(p) (p)->Release() +/*** IDirect3DVertexBuffer8 methods: IDirect3DResource8 ***/ +#define IDirect3DVertexBuffer8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVertexBuffer8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DVertexBuffer8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DVertexBuffer8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DVertexBuffer8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DVertexBuffer8_GetPriority(p) (p)->GetPriority() +#define IDirect3DVertexBuffer8_PreLoad(p) (p)->PreLoad() +#define IDirect3DVertexBuffer8_GetType(p) (p)->GetType() +/*** IDirect3DVertexBuffer8 methods ***/ +#define IDirect3DVertexBuffer8_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirect3DVertexBuffer8_Unlock(p) (p)->Unlock() +#define IDirect3DVertexBuffer8_GetDesc(p,a) (p)->GetDesc(a) +#endif + +/***************************************************************************** + * IDirect3DIndexBuffer8 interface + */ +#define INTERFACE IDirect3DIndexBuffer8 +DECLARE_INTERFACE_(IDirect3DIndexBuffer8,IDirect3DResource8) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; + /*** IDirect3DIndexBuffer8 methods ***/ + STDMETHOD(Lock)(THIS_ UINT OffsetToLock, UINT SizeToLock, BYTE ** ppbData, DWORD Flags) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3DINDEXBUFFER_DESC * pDesc) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DIndexBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DIndexBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DIndexBuffer8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DIndexBuffer8 methods: IDirect3DResource8 ***/ +#define IDirect3DIndexBuffer8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DIndexBuffer8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DIndexBuffer8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DIndexBuffer8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DIndexBuffer8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DIndexBuffer8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DIndexBuffer8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DIndexBuffer8_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DIndexBuffer8 methods ***/ +#define IDirect3DIndexBuffer8_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirect3DIndexBuffer8_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DIndexBuffer8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DIndexBuffer8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DIndexBuffer8_AddRef(p) (p)->AddRef() +#define IDirect3DIndexBuffer8_Release(p) (p)->Release() +/*** IDirect3DIndexBuffer8 methods: IDirect3DResource8 ***/ +#define IDirect3DIndexBuffer8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DIndexBuffer8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DIndexBuffer8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DIndexBuffer8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DIndexBuffer8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DIndexBuffer8_GetPriority(p) (p)->GetPriority() +#define IDirect3DIndexBuffer8_PreLoad(p) (p)->PreLoad() +#define IDirect3DIndexBuffer8_GetType(p) (p)->GetType() +/*** IDirect3DIndexBuffer8 methods ***/ +#define IDirect3DIndexBuffer8_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirect3DIndexBuffer8_Unlock(p) (p)->Unlock() +#define IDirect3DIndexBuffer8_GetDesc(p,a) (p)->GetDesc(a) +#endif + +/***************************************************************************** + * IDirect3DBaseTexture8 interface + */ +#define INTERFACE IDirect3DBaseTexture8 +DECLARE_INTERFACE_(IDirect3DBaseTexture8,IDirect3DResource8) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; + /*** IDirect3DBaseTexture8 methods ***/ + STDMETHOD_(DWORD,SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD,GetLOD)(THIS) PURE; + STDMETHOD_(DWORD,GetLevelCount)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DBaseTexture8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DBaseTexture8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DBaseTexture8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DBaseTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DBaseTexture8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DBaseTexture8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DBaseTexture8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DBaseTexture8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DBaseTexture8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DBaseTexture8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DBaseTexture8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DBaseTexture8_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DBaseTexture8 methods ***/ +#define IDirect3DBaseTexture8_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DBaseTexture8_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DBaseTexture8_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DBaseTexture8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DBaseTexture8_AddRef(p) (p)->AddRef() +#define IDirect3DBaseTexture8_Release(p) (p)->Release() +/*** IDirect3DBaseTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DBaseTexture8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DBaseTexture8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DBaseTexture8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DBaseTexture8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DBaseTexture8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DBaseTexture8_GetPriority(p) (p)->GetPriority() +#define IDirect3DBaseTexture8_PreLoad(p) (p)->PreLoad() +#define IDirect3DBaseTexture8_GetType(p) (p)->GetType() +/*** IDirect3DBaseTexture8 methods ***/ +#define IDirect3DBaseTexture8_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DBaseTexture8_GetLOD(p) (p)->GetLOD() +#define IDirect3DBaseTexture8_GetLevelCount(p) (p)->GetLevelCount() +#endif + +/***************************************************************************** + * IDirect3DCubeTexture8 interface + */ +#define INTERFACE IDirect3DCubeTexture8 +DECLARE_INTERFACE_(IDirect3DCubeTexture8,IDirect3DBaseTexture8) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; + /*** IDirect3DBaseTexture8 methods ***/ + STDMETHOD_(DWORD,SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD,GetLOD)(THIS) PURE; + STDMETHOD_(DWORD,GetLevelCount)(THIS) PURE; + /*** IDirect3DCubeTexture8 methods ***/ + STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC * pDesc) PURE; + STDMETHOD(GetCubeMapSurface)(THIS_ D3DCUBEMAP_FACES FaceType,UINT Level,IDirect3DSurface8 ** ppCubeMapSurface) PURE; + STDMETHOD(LockRect)(THIS_ D3DCUBEMAP_FACES face, UINT level, D3DLOCKED_RECT *locked_rect, + const RECT *rect, DWORD flags) PURE; + STDMETHOD(UnlockRect)(THIS_ D3DCUBEMAP_FACES FaceType,UINT Level) PURE; + STDMETHOD(AddDirtyRect)(THIS_ D3DCUBEMAP_FACES face, const RECT *dirty_rect) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DCubeTexture8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DCubeTexture8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DCubeTexture8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DCubeTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DCubeTexture8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DCubeTexture8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DCubeTexture8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DCubeTexture8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DCubeTexture8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DCubeTexture8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DCubeTexture8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DCubeTexture8_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DCubeTexture8 methods: IDirect3DBaseTexture8 ***/ +#define IDirect3DCubeTexture8_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DCubeTexture8_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DCubeTexture8_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +/*** IDirect3DCubeTexture8 methods ***/ +#define IDirect3DCubeTexture8_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) +#define IDirect3DCubeTexture8_GetCubeMapSurface(p,a,b,c) (p)->lpVtbl->GetCubeMapSurface(p,a,b,c) +#define IDirect3DCubeTexture8_LockRect(p,a,b,c,d,e) (p)->lpVtbl->LockRect(p,a,b,c,d,e) +#define IDirect3DCubeTexture8_UnlockRect(p,a,b) (p)->lpVtbl->UnlockRect(p,a,b) +#define IDirect3DCubeTexture8_AddDirtyRect(p,a,b) (p)->lpVtbl->AddDirtyRect(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DCubeTexture8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DCubeTexture8_AddRef(p) (p)->AddRef() +#define IDirect3DCubeTexture8_Release(p) (p)->Release() +/*** IDirect3DCubeTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DCubeTexture8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DCubeTexture8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DCubeTexture8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DCubeTexture8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DCubeTexture8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DCubeTexture8_GetPriority(p) (p)->GetPriority() +#define IDirect3DCubeTexture8_PreLoad(p) (p)->PreLoad() +#define IDirect3DCubeTexture8_GetType(p) (p)->GetType() +/*** IDirect3DCubeTexture8 methods: IDirect3DBaseTexture8 ***/ +#define IDirect3DCubeTexture8_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DCubeTexture8_GetLOD(p) (p)->GetLOD() +#define IDirect3DCubeTexture8_GetLevelCount(p) (p)->GetLevelCount() +/*** IDirect3DCubeTexture8 methods ***/ +#define IDirect3DCubeTexture8_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) +#define IDirect3DCubeTexture8_GetCubeMapSurface(p,a,b,c) (p)->GetCubeMapSurface(a,b,c) +#define IDirect3DCubeTexture8_LockRect(p,a,b,c,d,e) (p)->LockRect(a,b,c,d,e) +#define IDirect3DCubeTexture8_UnlockRect(p,a,b) (p)->UnlockRect(a,b) +#define IDirect3DCubeTexture8_AddDirtyRect(p,a,b) (p)->AddDirtyRect(a,b) +#endif + +/***************************************************************************** + * IDirect3DTexture8 interface + */ +#define INTERFACE IDirect3DTexture8 +DECLARE_INTERFACE_(IDirect3DTexture8,IDirect3DBaseTexture8) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; + /*** IDirect3DBaseTexture8 methods ***/ + STDMETHOD_(DWORD,SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD,GetLOD)(THIS) PURE; + STDMETHOD_(DWORD,GetLevelCount)(THIS) PURE; + /*** IDirect3DTexture8 methods ***/ + STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC * pDesc) PURE; + STDMETHOD(GetSurfaceLevel)(THIS_ UINT Level,IDirect3DSurface8 ** ppSurfaceLevel) PURE; + STDMETHOD(LockRect)(THIS_ UINT level, D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags) PURE; + STDMETHOD(UnlockRect)(THIS_ UINT Level) PURE; + STDMETHOD(AddDirtyRect)(THIS_ const RECT *dirty_rect) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DTexture8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DTexture8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DTexture8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DTexture8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DTexture8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DTexture8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DTexture8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DTexture8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DTexture8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DTexture8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DTexture8_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DTexture8 methods: IDirect3DBaseTexture8 ***/ +#define IDirect3DTexture8_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DTexture8_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DTexture8_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +/*** IDirect3DTexture8 methods ***/ +#define IDirect3DTexture8_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) +#define IDirect3DTexture8_GetSurfaceLevel(p,a,b) (p)->lpVtbl->GetSurfaceLevel(p,a,b) +#define IDirect3DTexture8_LockRect(p,a,b,c,d) (p)->lpVtbl->LockRect(p,a,b,c,d) +#define IDirect3DTexture8_UnlockRect(p,a) (p)->lpVtbl->UnlockRect(p,a) +#define IDirect3DTexture8_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DTexture8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DTexture8_AddRef(p) (p)->AddRef() +#define IDirect3DTexture8_Release(p) (p)->Release() +/*** IDirect3DTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DTexture8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DTexture8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DTexture8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DTexture8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DTexture8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DTexture8_GetPriority(p) (p)->GetPriority() +#define IDirect3DTexture8_PreLoad(p) (p)->PreLoad() +#define IDirect3DTexture8_GetType(p) (p)->GetType() +/*** IDirect3DTexture8 methods: IDirect3DBaseTexture8 ***/ +#define IDirect3DTexture8_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DTexture8_GetLOD(p) (p)->GetLOD() +#define IDirect3DTexture8_GetLevelCount(p) (p)->GetLevelCount() +/*** IDirect3DTexture8 methods ***/ +#define IDirect3DTexture8_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) +#define IDirect3DTexture8_GetSurfaceLevel(p,a,b) (p)->GetSurfaceLevel(a,b) +#define IDirect3DTexture8_LockRect(p,a,b,c,d) (p)->LockRect(a,b,c,d) +#define IDirect3DTexture8_UnlockRect(p,a) (p)->UnlockRect(a) +#define IDirect3DTexture8_AddDirtyRect(p,a) (p)->AddDirtyRect(a) +#endif + +/***************************************************************************** + * IDirect3DVolumeTexture8 interface + */ +#define INTERFACE IDirect3DVolumeTexture8 +DECLARE_INTERFACE_(IDirect3DVolumeTexture8,IDirect3DBaseTexture8) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource8 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice8 ** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void * pData, DWORD * pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD,SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD,GetPriority)(THIS) PURE; + STDMETHOD_(void,PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE,GetType)(THIS) PURE; + /*** IDirect3DBaseTexture8 methods ***/ + STDMETHOD_(DWORD,SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD,GetLOD)(THIS) PURE; + STDMETHOD_(DWORD,GetLevelCount)(THIS) PURE; + /*** IDirect3DVolumeTexture8 methods ***/ + STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DVOLUME_DESC * pDesc) PURE; + STDMETHOD(GetVolumeLevel)(THIS_ UINT Level,IDirect3DVolume8 ** ppVolumeLevel) PURE; + STDMETHOD(LockBox)(THIS_ UINT level, D3DLOCKED_BOX *locked_box, const D3DBOX *box, DWORD flags) PURE; + STDMETHOD(UnlockBox)(THIS_ UINT Level) PURE; + STDMETHOD(AddDirtyBox)(THIS_ const D3DBOX *dirty_box) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVolumeTexture8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVolumeTexture8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVolumeTexture8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVolumeTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DVolumeTexture8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVolumeTexture8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DVolumeTexture8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DVolumeTexture8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DVolumeTexture8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DVolumeTexture8_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DVolumeTexture8_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DVolumeTexture8_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DVolumeTexture8 methods: IDirect3DBaseTexture8 ***/ +#define IDirect3DVolumeTexture8_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DVolumeTexture8_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DVolumeTexture8_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +/*** IDirect3DVolumeTexture8 methods ***/ +#define IDirect3DVolumeTexture8_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) +#define IDirect3DVolumeTexture8_GetVolumeLevel(p,a,b) (p)->lpVtbl->GetVolumeLevel(p,a,b) +#define IDirect3DVolumeTexture8_LockBox(p,a,b,c,d) (p)->lpVtbl->LockBox(p,a,b,c,d) +#define IDirect3DVolumeTexture8_UnlockBox(p,a) (p)->lpVtbl->UnlockBox(p,a) +#define IDirect3DVolumeTexture8_AddDirtyBox(p,a) (p)->lpVtbl->AddDirtyBox(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DVolumeTexture8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVolumeTexture8_AddRef(p) (p)->AddRef() +#define IDirect3DVolumeTexture8_Release(p) (p)->Release() +/*** IDirect3DVolumeTexture8 methods: IDirect3DResource8 ***/ +#define IDirect3DVolumeTexture8_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVolumeTexture8_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DVolumeTexture8_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DVolumeTexture8_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DVolumeTexture8_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DVolumeTexture8_GetPriority(p) (p)->GetPriority() +#define IDirect3DVolumeTexture8_PreLoad(p) (p)->PreLoad() +#define IDirect3DVolumeTexture8_GetType(p) (p)->GetType() +/*** IDirect3DVolumeTexture8 methods: IDirect3DBaseTexture8 ***/ +#define IDirect3DVolumeTexture8_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DVolumeTexture8_GetLOD(p) (p)->GetLOD() +#define IDirect3DVolumeTexture8_GetLevelCount(p) (p)->GetLevelCount() +/*** IDirect3DVolumeTexture8 methods ***/ +#define IDirect3DVolumeTexture8_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) +#define IDirect3DVolumeTexture8_GetVolumeLevel(p,a,b) (p)->GetVolumeLevel(a,b) +#define IDirect3DVolumeTexture8_LockBox(p,a,b,c,d) (p)->LockBox(a,b,c,d) +#define IDirect3DVolumeTexture8_UnlockBox(p,a) (p)->UnlockBox(a) +#define IDirect3DVolumeTexture8_AddDirtyBox(p,a) (p)->AddDirtyBox(a) +#endif + +/***************************************************************************** + * IDirect3DDevice8 interface + */ +#define INTERFACE IDirect3DDevice8 +DECLARE_INTERFACE_(IDirect3DDevice8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DDevice8 methods ***/ + STDMETHOD(TestCooperativeLevel)(THIS) PURE; + STDMETHOD_(UINT,GetAvailableTextureMem)(THIS) PURE; + STDMETHOD(ResourceManagerDiscardBytes)(THIS_ DWORD Bytes) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D8 ** ppD3D8) PURE; + STDMETHOD(GetDeviceCaps)(THIS_ D3DCAPS8 * pCaps) PURE; + STDMETHOD(GetDisplayMode)(THIS_ D3DDISPLAYMODE * pMode) PURE; + STDMETHOD(GetCreationParameters)(THIS_ D3DDEVICE_CREATION_PARAMETERS * pParameters) PURE; + STDMETHOD(SetCursorProperties)(THIS_ UINT XHotSpot, UINT YHotSpot, IDirect3DSurface8 * pCursorBitmap) PURE; + STDMETHOD_(void,SetCursorPosition)(THIS_ UINT XScreenSpace, UINT YScreenSpace,DWORD Flags) PURE; + STDMETHOD_(BOOL,ShowCursor)(THIS_ BOOL bShow) PURE; + STDMETHOD(CreateAdditionalSwapChain)(THIS_ D3DPRESENT_PARAMETERS * pPresentationParameters, IDirect3DSwapChain8 ** pSwapChain) PURE; + STDMETHOD(Reset)(THIS_ D3DPRESENT_PARAMETERS * pPresentationParameters) PURE; + STDMETHOD(Present)(THIS_ const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, + const RGNDATA *dirty_region) PURE; + STDMETHOD(GetBackBuffer)(THIS_ UINT BackBuffer,D3DBACKBUFFER_TYPE Type,IDirect3DSurface8 ** ppBackBuffer) PURE; + STDMETHOD(GetRasterStatus)(THIS_ D3DRASTER_STATUS * pRasterStatus) PURE; + STDMETHOD_(void, SetGammaRamp)(THIS_ DWORD flags, const D3DGAMMARAMP *ramp) PURE; + STDMETHOD_(void,GetGammaRamp)(THIS_ D3DGAMMARAMP * pRamp) PURE; + STDMETHOD(CreateTexture)(THIS_ UINT Width,UINT Height,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DTexture8 ** ppTexture) PURE; + STDMETHOD(CreateVolumeTexture)(THIS_ UINT Width,UINT Height,UINT Depth,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DVolumeTexture8 ** ppVolumeTexture) PURE; + STDMETHOD(CreateCubeTexture)(THIS_ UINT EdgeLength,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DCubeTexture8 ** ppCubeTexture) PURE; + STDMETHOD(CreateVertexBuffer)(THIS_ UINT Length,DWORD Usage,DWORD FVF,D3DPOOL Pool,IDirect3DVertexBuffer8 ** ppVertexBuffer) PURE; + STDMETHOD(CreateIndexBuffer)(THIS_ UINT Length,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DIndexBuffer8 ** ppIndexBuffer) PURE; + STDMETHOD(CreateRenderTarget)(THIS_ UINT Width,UINT Height,D3DFORMAT Format,D3DMULTISAMPLE_TYPE MultiSample,BOOL Lockable,IDirect3DSurface8 ** ppSurface) PURE; + STDMETHOD(CreateDepthStencilSurface)(THIS_ UINT Width,UINT Height,D3DFORMAT Format,D3DMULTISAMPLE_TYPE MultiSample,IDirect3DSurface8 ** ppSurface) PURE; + STDMETHOD(CreateImageSurface)(THIS_ UINT Width,UINT Height,D3DFORMAT Format,IDirect3DSurface8 ** ppSurface) PURE; + STDMETHOD(CopyRects)(THIS_ IDirect3DSurface8 *src_surface, const RECT *src_rects, + UINT rect_count, IDirect3DSurface8 *dst_surface, const POINT *dst_points) PURE; + STDMETHOD(UpdateTexture)(THIS_ IDirect3DBaseTexture8 * pSourceTexture,IDirect3DBaseTexture8 * pDestinationTexture) PURE; + STDMETHOD(GetFrontBuffer)(THIS_ IDirect3DSurface8 * pDestSurface) PURE; + STDMETHOD(SetRenderTarget)(THIS_ IDirect3DSurface8 * pRenderTarget,IDirect3DSurface8 * pNewZStencil) PURE; + STDMETHOD(GetRenderTarget)(THIS_ IDirect3DSurface8 ** ppRenderTarget) PURE; + STDMETHOD(GetDepthStencilSurface)(THIS_ IDirect3DSurface8 ** ppZStencilSurface) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(Clear)(THIS_ DWORD rect_count, const D3DRECT *rects, DWORD flags, D3DCOLOR color, + float z, DWORD stencil) PURE; + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE State,D3DMATRIX * pMatrix) PURE; + STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(SetViewport)(THIS_ const D3DVIEWPORT8 *viewport) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT8 * pViewport) PURE; + STDMETHOD(SetMaterial)(THIS_ const D3DMATERIAL8 *material) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL8 *pMaterial) PURE; + STDMETHOD(SetLight)(THIS_ DWORD index, const D3DLIGHT8 *light) PURE; + STDMETHOD(GetLight)(THIS_ DWORD Index,D3DLIGHT8 * pLight) PURE; + STDMETHOD(LightEnable)(THIS_ DWORD Index,BOOL Enable) PURE; + STDMETHOD(GetLightEnable)(THIS_ DWORD Index,BOOL * pEnable) PURE; + STDMETHOD(SetClipPlane)(THIS_ DWORD index, const float *plane) PURE; + STDMETHOD(GetClipPlane)(THIS_ DWORD Index,float * pPlane) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE State,DWORD Value) PURE; + STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE State,DWORD * pValue) PURE; + STDMETHOD(BeginStateBlock)(THIS) PURE; + STDMETHOD(EndStateBlock)(THIS_ DWORD * pToken) PURE; + STDMETHOD(ApplyStateBlock)(THIS_ DWORD Token) PURE; + STDMETHOD(CaptureStateBlock)(THIS_ DWORD Token) PURE; + STDMETHOD(DeleteStateBlock)(THIS_ DWORD Token) PURE; + STDMETHOD(CreateStateBlock)(THIS_ D3DSTATEBLOCKTYPE Type,DWORD * pToken) PURE; + STDMETHOD(SetClipStatus)(THIS_ const D3DCLIPSTATUS8 *clip_status) PURE; + STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS8 * pClipStatus) PURE; + STDMETHOD(GetTexture)(THIS_ DWORD Stage,IDirect3DBaseTexture8 ** ppTexture) PURE; + STDMETHOD(SetTexture)(THIS_ DWORD Stage,IDirect3DBaseTexture8 * pTexture) PURE; + STDMETHOD(GetTextureStageState)(THIS_ DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD * pValue) PURE; + STDMETHOD(SetTextureStageState)(THIS_ DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD Value) PURE; + STDMETHOD(ValidateDevice)(THIS_ DWORD * pNumPasses) PURE; + STDMETHOD(GetInfo)(THIS_ DWORD DevInfoID,void * pDevInfoStruct,DWORD DevInfoStructSize) PURE; + STDMETHOD(SetPaletteEntries)(THIS_ UINT palette_idx, const PALETTEENTRY *entries) PURE; + STDMETHOD(GetPaletteEntries)(THIS_ UINT PaletteNumber,PALETTEENTRY * pEntries) PURE; + STDMETHOD(SetCurrentTexturePalette)(THIS_ UINT PaletteNumber) PURE; + STDMETHOD(GetCurrentTexturePalette)(THIS_ UINT * PaletteNumber) PURE; + STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE PrimitiveType,UINT StartVertex,UINT PrimitiveCount) PURE; + STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE PrimitiveType,UINT minIndex,UINT NumVertices,UINT startIndex,UINT primCount) PURE; + STDMETHOD(DrawPrimitiveUP)(THIS_ D3DPRIMITIVETYPE primitive_type, UINT primitive_count, + const void *data, UINT stride) PURE; + STDMETHOD(DrawIndexedPrimitiveUP)(THIS_ D3DPRIMITIVETYPE primitive_type, UINT min_vertex_idx, + UINT vertex_count, UINT primitive_count, const void *index_data, D3DFORMAT index_format, + const void *data, UINT stride) PURE; + STDMETHOD(ProcessVertices)(THIS_ UINT SrcStartIndex,UINT DestIndex,UINT VertexCount,IDirect3DVertexBuffer8 * pDestBuffer,DWORD Flags) PURE; + STDMETHOD(CreateVertexShader)(THIS_ const DWORD *declaration, const DWORD *byte_code, + DWORD *shader, DWORD usage) PURE; + STDMETHOD(SetVertexShader)(THIS_ DWORD Handle) PURE; + STDMETHOD(GetVertexShader)(THIS_ DWORD * pHandle) PURE; + STDMETHOD(DeleteVertexShader)(THIS_ DWORD Handle) PURE; + STDMETHOD(SetVertexShaderConstant)(THIS_ DWORD reg_idx, const void *data, DWORD count) PURE; + STDMETHOD(GetVertexShaderConstant)(THIS_ DWORD Register,void * pConstantData,DWORD ConstantCount) PURE; + STDMETHOD(GetVertexShaderDeclaration)(THIS_ DWORD Handle,void * pData,DWORD * pSizeOfData) PURE; + STDMETHOD(GetVertexShaderFunction)(THIS_ DWORD Handle,void * pData,DWORD * pSizeOfData) PURE; + STDMETHOD(SetStreamSource)(THIS_ UINT StreamNumber,IDirect3DVertexBuffer8 * pStreamData,UINT Stride) PURE; + STDMETHOD(GetStreamSource)(THIS_ UINT StreamNumber,IDirect3DVertexBuffer8 ** ppStreamData,UINT * pStride) PURE; + STDMETHOD(SetIndices)(THIS_ IDirect3DIndexBuffer8 * pIndexData,UINT BaseVertexIndex) PURE; + STDMETHOD(GetIndices)(THIS_ IDirect3DIndexBuffer8 ** ppIndexData,UINT * pBaseVertexIndex) PURE; + STDMETHOD(CreatePixelShader)(THIS_ const DWORD *byte_code, DWORD *shader) PURE; + STDMETHOD(SetPixelShader)(THIS_ DWORD Handle) PURE; + STDMETHOD(GetPixelShader)(THIS_ DWORD * pHandle) PURE; + STDMETHOD(DeletePixelShader)(THIS_ DWORD Handle) PURE; + STDMETHOD(SetPixelShaderConstant)(THIS_ DWORD reg_idx, const void *data, DWORD count) PURE; + STDMETHOD(GetPixelShaderConstant)(THIS_ DWORD Register,void * pConstantData,DWORD ConstantCount) PURE; + STDMETHOD(GetPixelShaderFunction)(THIS_ DWORD Handle,void * pData,DWORD * pSizeOfData) PURE; + STDMETHOD(DrawRectPatch)(THIS_ UINT handle, const float *segment_count, + const D3DRECTPATCH_INFO *patch_info) PURE; + STDMETHOD(DrawTriPatch)(THIS_ UINT handle, const float *segment_count, + const D3DTRIPATCH_INFO *patch_info) PURE; + STDMETHOD(DeletePatch)(THIS_ UINT Handle) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DDevice8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DDevice8 methods ***/ +#define IDirect3DDevice8_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p) +#define IDirect3DDevice8_GetAvailableTextureMem(p) (p)->lpVtbl->GetAvailableTextureMem(p) +#define IDirect3DDevice8_ResourceManagerDiscardBytes(p,a) (p)->lpVtbl->ResourceManagerDiscardBytes(p,a) +#define IDirect3DDevice8_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#define IDirect3DDevice8_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a) +#define IDirect3DDevice8_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirect3DDevice8_GetCreationParameters(p,a) (p)->lpVtbl->GetCreationParameters(p,a) +#define IDirect3DDevice8_SetCursorProperties(p,a,b,c) (p)->lpVtbl->SetCursorProperties(p,a,b,c) +#define IDirect3DDevice8_SetCursorPosition(p,a,b,c) (p)->lpVtbl->SetCursorPosition(p,a,b,c) +#define IDirect3DDevice8_ShowCursor(p,a) (p)->lpVtbl->ShowCursor(p,a) +#define IDirect3DDevice8_CreateAdditionalSwapChain(p,a,b) (p)->lpVtbl->CreateAdditionalSwapChain(p,a,b) +#define IDirect3DDevice8_Reset(p,a) (p)->lpVtbl->Reset(p,a) +#define IDirect3DDevice8_Present(p,a,b,c,d) (p)->lpVtbl->Present(p,a,b,c,d) +#define IDirect3DDevice8_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c) +#define IDirect3DDevice8_GetRasterStatus(p,a) (p)->lpVtbl->GetRasterStatus(p,a) +#define IDirect3DDevice8_SetGammaRamp(p,a,b) (p)->lpVtbl->SetGammaRamp(p,a,b) +#define IDirect3DDevice8_GetGammaRamp(p,a) (p)->lpVtbl->GetGammaRamp(p,a) +#define IDirect3DDevice8_CreateTexture(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateTexture(p,a,b,c,d,e,f,g) +#define IDirect3DDevice8_CreateVolumeTexture(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateVolumeTexture(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice8_CreateCubeTexture(p,a,b,c,d,e,f) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f) +#define IDirect3DDevice8_CreateVertexBuffer(p,a,b,c,d,e) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d,e) +#define IDirect3DDevice8_CreateIndexBuffer(p,a,b,c,d,e) (p)->lpVtbl->CreateIndexBuffer(p,a,b,c,d,e) +#define IDirect3DDevice8_CreateRenderTarget(p,a,b,c,d,e,f) (p)->lpVtbl->CreateRenderTarget(p,a,b,c,d,e,f) +#define IDirect3DDevice8_CreateDepthStencilSurface(p,a,b,c,d,e) (p)->lpVtbl->CreateDepthStencilSurface(p,a,b,c,d,e) +#define IDirect3DDevice8_CreateImageSurface(p,a,b,c,d) (p)->lpVtbl->CreateImageSurface(p,a,b,c,d) +#define IDirect3DDevice8_CopyRects(p,a,b,c,d,e) (p)->lpVtbl->CopyRects(p,a,b,c,d,e) +#define IDirect3DDevice8_UpdateTexture(p,a,b) (p)->lpVtbl->UpdateTexture(p,a,b) +#define IDirect3DDevice8_GetFrontBuffer(p,a) (p)->lpVtbl->GetFrontBuffer(p,a) +#define IDirect3DDevice8_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) +#define IDirect3DDevice8_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a) +#define IDirect3DDevice8_GetDepthStencilSurface(p,a) (p)->lpVtbl->GetDepthStencilSurface(p,a) +#define IDirect3DDevice8_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice8_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice8_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f) +#define IDirect3DDevice8_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) +#define IDirect3DDevice8_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DDevice8_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) +#define IDirect3DDevice8_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DDevice8_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DDevice8_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DDevice8_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DDevice8_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b) +#define IDirect3DDevice8_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b) +#define IDirect3DDevice8_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b) +#define IDirect3DDevice8_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b) +#define IDirect3DDevice8_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b) +#define IDirect3DDevice8_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b) +#define IDirect3DDevice8_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) +#define IDirect3DDevice8_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) +#define IDirect3DDevice8_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p) +#define IDirect3DDevice8_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a) +#define IDirect3DDevice8_ApplyStateBlock(p,a) (p)->lpVtbl->ApplyStateBlock(p,a) +#define IDirect3DDevice8_CaptureStateBlock(p,a) (p)->lpVtbl->CaptureStateBlock(p,a) +#define IDirect3DDevice8_DeleteStateBlock(p,a) (p)->lpVtbl->DeleteStateBlock(p,a) +#define IDirect3DDevice8_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b) +#define IDirect3DDevice8_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) +#define IDirect3DDevice8_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) +#define IDirect3DDevice8_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b) +#define IDirect3DDevice8_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b) +#define IDirect3DDevice8_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c) +#define IDirect3DDevice8_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c) +#define IDirect3DDevice8_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a) +#define IDirect3DDevice8_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c) +#define IDirect3DDevice8_SetPaletteEntries(p,a,b) (p)->lpVtbl->SetPaletteEntries(p,a,b) +#define IDirect3DDevice8_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b) +#define IDirect3DDevice8_SetCurrentTexturePalette(p,a) (p)->lpVtbl->SetCurrentTexturePalette(p,a) +#define IDirect3DDevice8_GetCurrentTexturePalette(p,a) (p)->lpVtbl->GetCurrentTexturePalette(p,a) +#define IDirect3DDevice8_DrawPrimitive(p,a,b,c) (p)->lpVtbl->DrawPrimitive(p,a,b,c) +#define IDirect3DDevice8_DrawIndexedPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e) +#define IDirect3DDevice8_DrawPrimitiveUP(p,a,b,c,d) (p)->lpVtbl->DrawPrimitiveUP(p,a,b,c,d) +#define IDirect3DDevice8_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice8_ProcessVertices(p,a,b,c,d,e) (p)->lpVtbl->processVertices(p,a,b,c,d,e) +#define IDirect3DDevice8_CreateVertexShader(p,a,b,c,d) (p)->lpVtbl->CreateVertexShader(p,a,b,c,d) +#define IDirect3DDevice8_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a) +#define IDirect3DDevice8_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a) +#define IDirect3DDevice8_DeleteVertexShader(p,a) (p)->lpVtbl->DeleteVertexShader(p,a) +#define IDirect3DDevice8_SetVertexShaderConstant(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstant(p,a,b,c) +#define IDirect3DDevice8_GetVertexShaderConstant(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstant(p,a,b,c) +#define IDirect3DDevice8_GetVertexShaderDeclaration(p,a,b,c) (p)->lpVtbl->GetVertexShaderDeclaration(p,a,b,c) +#define IDirect3DDevice8_GetVertexShaderFunction(p,a,b,c) (p)->lpVtbl->GetVertexShaderFunction(p,a,b,c) +#define IDirect3DDevice8_SetStreamSource(p,a,b,c) (p)->lpVtbl->SetStreamSource(p,a,b,c) +#define IDirect3DDevice8_GetStreamSource(p,a,b,c) (p)->lpVtbl->GetStreamSource(p,a,b,c) +#define IDirect3DDevice8_SetIndices(p,a,b) (p)->lpVtbl->SetIndices(p,a,b) +#define IDirect3DDevice8_GetIndices(p,a,b) (p)->lpVtbl->GetIndices(p,a,b) +#define IDirect3DDevice8_CreatePixelShader(p,a,b) (p)->lpVtbl->CreatePixelShader(p,a,b) +#define IDirect3DDevice8_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a) +#define IDirect3DDevice8_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a) +#define IDirect3DDevice8_DeletePixelShader(p,a) (p)->lpVtbl->DeletePixelShader(p,a) +#define IDirect3DDevice8_SetPixelShaderConstant(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstant(p,a,b,c) +#define IDirect3DDevice8_GetPixelShaderConstant(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstant(p,a,b,c) +#define IDirect3DDevice8_GetPixelShaderFunction(p,a,b,c) (p)->lpVtbl->GetPixelShaderFunction(p,a,b,c) +#define IDirect3DDevice8_DrawRectPatch(p,a,b,c) (p)->lpVtbl->DrawRectPatch(p,a,b,c) +#define IDirect3DDevice8_DrawTriPatch(p,a,b,c) (p)->lpVtbl->DrawTriPatch(p,a,b,c) +#define IDirect3DDevice8_DeletePatch(p,a) (p)->lpVtbl->DeletePatch(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DDevice8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice8_AddRef(p) (p)->AddRef() +#define IDirect3DDevice8_Release(p) (p)->Release() +/*** IDirect3DDevice8 methods ***/ +#define IDirect3DDevice8_TestCooperativeLevel(p) (p)->TestCooperativeLevel() +#define IDirect3DDevice8_GetAvailableTextureMem(p) (p)->GetAvailableTextureMem() +#define IDirect3DDevice8_ResourceManagerDiscardBytes(p,a) (p)->ResourceManagerDiscardBytes(a) +#define IDirect3DDevice8_GetDirect3D(p,a) (p)->GetDirect3D(a) +#define IDirect3DDevice8_GetDeviceCaps(p,a) (p)->GetDeviceCaps(a) +#define IDirect3DDevice8_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirect3DDevice8_GetCreationParameters(p,a) (p)->GetCreationParameters(a) +#define IDirect3DDevice8_SetCursorProperties(p,a,b,c) (p)->SetCursorProperties(a,b,c) +#define IDirect3DDevice8_SetCursorPosition(p,a,b,c) (p)->SetCursorPosition(a,b,c) +#define IDirect3DDevice8_ShowCursor(p,a) (p)->ShowCursor(a) +#define IDirect3DDevice8_CreateAdditionalSwapChain(p,a,b) (p)->CreateAdditionalSwapChain(a,b) +#define IDirect3DDevice8_Reset(p,a) (p)->Reset(a) +#define IDirect3DDevice8_Present(p,a,b,c,d) (p)->Present(a,b,c,d) +#define IDirect3DDevice8_GetBackBuffer(p,a,b,c) (p)->GetBackBuffer(a,b,c) +#define IDirect3DDevice8_GetRasterStatus(p,a) (p)->GetRasterStatus(a) +#define IDirect3DDevice8_SetGammaRamp(p,a,b) (p)->SetGammaRamp(a,b) +#define IDirect3DDevice8_GetGammaRamp(p,a) (p)->GetGammaRamp(a) +#define IDirect3DDevice8_CreateTexture(p,a,b,c,d,e,f,g) (p)->CreateTexture(a,b,c,d,e,f,g) +#define IDirect3DDevice8_CreateVolumeTexture(p,a,b,c,d,e,f,g,h) (p)->CreateVolumeTexture(a,b,c,d,e,f,g,h) +#define IDirect3DDevice8_CreateCubeTexture(p,a,b,c,d,e,f) (p)->CreateCubeTexture(a,b,c,d,e,f) +#define IDirect3DDevice8_CreateVertexBuffer(p,a,b,c,d,e) (p)->CreateVertexBuffer(a,b,c,d,e) +#define IDirect3DDevice8_CreateIndexBuffer(p,a,b,c,d,e) (p)->CreateIndexBuffer(a,b,c,d,e) +#define IDirect3DDevice8_CreateRenderTarget(p,a,b,c,d,e,f) (p)->CreateRenderTarget(a,b,c,d,e,f) +#define IDirect3DDevice8_CreateDepthStencilSurface(p,a,b,c,d,e) (p)->CreateDepthStencilSurface(a,b,c,d,e) +#define IDirect3DDevice8_CreateImageSurface(p,a,b,c,d) (p)->CreateImageSurface(a,b,c,d) +#define IDirect3DDevice8_CopyRects(p,a,b,c,d,e) (p)->CopyRects(a,b,c,d,e) +#define IDirect3DDevice8_UpdateTexture(p,a,b) (p)->UpdateTexture(a,b) +#define IDirect3DDevice8_GetFrontBuffer(p,a) (p)->GetFrontBuffer(a) +#define IDirect3DDevice8_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) +#define IDirect3DDevice8_GetRenderTarget(p,a) (p)->GetRenderTarget(a) +#define IDirect3DDevice8_GetDepthStencilSurface(p,a) (p)->GetDepthStencilSurface(a) +#define IDirect3DDevice8_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice8_EndScene(p) (p)->EndScene() +#define IDirect3DDevice8_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f) +#define IDirect3DDevice8_SetTransform(p,a,b) (p)->SetTransform(a,b) +#define IDirect3DDevice8_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DDevice8_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) +#define IDirect3DDevice8_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DDevice8_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DDevice8_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DDevice8_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DDevice8_SetLight(p,a,b) (p)->SetLight(a,b) +#define IDirect3DDevice8_GetLight(p,a,b) (p)->GetLight(a,b) +#define IDirect3DDevice8_LightEnable(p,a,b) (p)->LightEnable(a,b) +#define IDirect3DDevice8_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b) +#define IDirect3DDevice8_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b) +#define IDirect3DDevice8_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b) +#define IDirect3DDevice8_SetRenderState(p,a,b) (p)->SetRenderState(a,b) +#define IDirect3DDevice8_GetRenderState(p,a,b) (p)->GetRenderState(a,b) +#define IDirect3DDevice8_BeginStateBlock(p) (p)->BeginStateBlock() +#define IDirect3DDevice8_EndStateBlock(p,a) (p)->EndStateBlock(a) +#define IDirect3DDevice8_ApplyStateBlock(p,a) (p)->ApplyStateBlock(a) +#define IDirect3DDevice8_CaptureStateBlock(p,a) (p)->CaptureStateBlock(a) +#define IDirect3DDevice8_DeleteStateBlock(p,a) (p)->DeleteStateBlock(a) +#define IDirect3DDevice8_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b) +#define IDirect3DDevice8_SetClipStatus(p,a) (p)->SetClipStatus(a) +#define IDirect3DDevice8_GetClipStatus(p,a) (p)->GetClipStatus(a) +#define IDirect3DDevice8_GetTexture(p,a,b) (p)->GetTexture(a,b) +#define IDirect3DDevice8_SetTexture(p,a,b) (p)->SetTexture(a,b) +#define IDirect3DDevice8_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c) +#define IDirect3DDevice8_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c) +#define IDirect3DDevice8_ValidateDevice(p,a) (p)->ValidateDevice(a) +#define IDirect3DDevice8_GetInfo(p,a,b,c) (p)->GetInfo(a,b,c) +#define IDirect3DDevice8_SetPaletteEntries(p,a,b) (p)->SetPaletteEntries(a,b) +#define IDirect3DDevice8_GetPaletteEntries(p,a,b) (p)->GetPaletteEntries(a,b) +#define IDirect3DDevice8_SetCurrentTexturePalette(p,a) (p)->SetCurrentTexturePalette(a) +#define IDirect3DDevice8_GetCurrentTexturePalette(p,a) (p)->GetCurrentTexturePalette(a) +#define IDirect3DDevice8_DrawPrimitive(p,a,b,c) (p)->DrawPrimitive(a,b,c) +#define IDirect3DDevice8_DrawIndexedPrimitive(p,a,b,c,d,e) (p)->DrawIndexedPrimitive(a,b,c,d,e) +#define IDirect3DDevice8_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d) +#define IDirect3DDevice8_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h) +#define IDirect3DDevice8_ProcessVertices(p,a,b,c,d,e) (p)->processVertices(a,b,c,d,e) +#define IDirect3DDevice8_CreateVertexShader(p,a,b,c,d) (p)->CreateVertexShader(a,b,c,d) +#define IDirect3DDevice8_SetVertexShader(p,a) (p)->SetVertexShader(a) +#define IDirect3DDevice8_GetVertexShader(p,a) (p)->GetVertexShader(a) +#define IDirect3DDevice8_DeleteVertexShader(p,a) (p)->DeleteVertexShader(a) +#define IDirect3DDevice8_SetVertexShaderConstant(p,a,b,c) (p)->SetVertexShaderConstant(a,b,c) +#define IDirect3DDevice8_GetVertexShaderConstant(p,a,b,c) (p)->GetVertexShaderConstant(a,b,c) +#define IDirect3DDevice8_GetVertexShaderDeclaration(p,a,b,c) (p)->GetVertexShaderDeclaration(a,b,c) +#define IDirect3DDevice8_GetVertexShaderFunction(p,a,b,c) (p)->GetVertexShaderFunction(a,b,c) +#define IDirect3DDevice8_SetStreamSource(p,a,b,c) (p)->SetStreamSource(a,b,c) +#define IDirect3DDevice8_GetStreamSource(p,a,b,c) (p)->GetStreamSource(a,b,c) +#define IDirect3DDevice8_SetIndices(p,a,b) (p)->SetIndices(a,b) +#define IDirect3DDevice8_GetIndices(p,a,b) (p)->GetIndices(a,b) +#define IDirect3DDevice8_CreatePixelShader(p,a,b) (p)->CreatePixelShader(a,b) +#define IDirect3DDevice8_SetPixelShader(p,a) (p)->SetPixelShader(a) +#define IDirect3DDevice8_GetPixelShader(p,a) (p)->GetPixelShader(a) +#define IDirect3DDevice8_DeletePixelShader(p,a) (p)->DeletePixelShader(a) +#define IDirect3DDevice8_SetPixelShaderConstant(p,a,b,c) (p)->SetPixelShaderConstant(a,b,c) +#define IDirect3DDevice8_GetPixelShaderConstant(p,a,b,c) (p)->GetPixelShaderConstant(a,b,c) +#define IDirect3DDevice8_GetPixelShaderFunction(p,a,b,c) (p)->GetPixelShaderFunction(a,b,c) +#define IDirect3DDevice8_DrawRectPatch(p,a,b,c) (p)->DrawRectPatch(a,b,c) +#define IDirect3DDevice8_DrawTriPatch(p,a,b,c) (p)->DrawTriPatch(a,b,c) +#define IDirect3DDevice8_DeletePatch(p,a) (p)->DeletePatch(a) +#endif + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/* Define the main entrypoint as well */ +IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_D3D8_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8caps.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8caps.h new file mode 100644 index 0000000..d11a46f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8caps.h @@ -0,0 +1,294 @@ +/* + * Copyright (C) 2002 Jason Edmeades + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3D8CAPS_H +#define __WINE_D3D8CAPS_H + +#ifdef __i386__ +#include +#endif + +/* + * Definitions + */ + +#define D3DCAPS_READ_SCANLINE 0x20000 + +#define D3DCURSORCAPS_COLOR 1 +#define D3DCURSORCAPS_LOWRES 2 + +#define D3DDEVCAPS_EXECUTESYSTEMMEMORY 0x0000010 +#define D3DDEVCAPS_EXECUTEVIDEOMEMORY 0x0000020 +#define D3DDEVCAPS_TLVERTEXSYSTEMMEMORY 0x0000040 +#define D3DDEVCAPS_TLVERTEXVIDEOMEMORY 0x0000080 +#define D3DDEVCAPS_TEXTURESYSTEMMEMORY 0x0000100 +#define D3DDEVCAPS_TEXTUREVIDEOMEMORY 0x0000200 +#define D3DDEVCAPS_DRAWPRIMTLVERTEX 0x0000400 +#define D3DDEVCAPS_CANRENDERAFTERFLIP 0x0000800 +#define D3DDEVCAPS_TEXTURENONLOCALVIDMEM 0x0001000 +#define D3DDEVCAPS_DRAWPRIMITIVES2 0x0002000 +#define D3DDEVCAPS_SEPARATETEXTUREMEMORIES 0x0004000 +#define D3DDEVCAPS_DRAWPRIMITIVES2EX 0x0008000 +#define D3DDEVCAPS_HWTRANSFORMANDLIGHT 0x0010000 +#define D3DDEVCAPS_CANBLTSYSTONONLOCAL 0x0020000 +#define D3DDEVCAPS_HWRASTERIZATION 0x0080000 +#define D3DDEVCAPS_PUREDEVICE 0x0100000 +#define D3DDEVCAPS_QUINTICRTPATCHES 0x0200000 +#define D3DDEVCAPS_RTPATCHES 0x0400000 +#define D3DDEVCAPS_RTPATCHHANDLEZERO 0x0800000 +#define D3DDEVCAPS_NPATCHES 0x1000000 + +#define D3DFVFCAPS_TEXCOORDCOUNTMASK 0x00FFFF +#define D3DFVFCAPS_DONOTSTRIPELEMENTS 0x080000 +#define D3DFVFCAPS_PSIZE 0x100000 + +#define D3DLINECAPS_TEXTURE 0x01 +#define D3DLINECAPS_ZTEST 0x02 +#define D3DLINECAPS_BLEND 0x04 +#define D3DLINECAPS_ALPHACMP 0x08 +#define D3DLINECAPS_FOG 0x10 + +#define D3DPBLENDCAPS_ZERO 0x0001 +#define D3DPBLENDCAPS_ONE 0x0002 +#define D3DPBLENDCAPS_SRCCOLOR 0x0004 +#define D3DPBLENDCAPS_INVSRCCOLOR 0x0008 +#define D3DPBLENDCAPS_SRCALPHA 0x0010 +#define D3DPBLENDCAPS_INVSRCALPHA 0x0020 +#define D3DPBLENDCAPS_DESTALPHA 0x0040 +#define D3DPBLENDCAPS_INVDESTALPHA 0x0080 +#define D3DPBLENDCAPS_DESTCOLOR 0x0100 +#define D3DPBLENDCAPS_INVDESTCOLOR 0x0200 +#define D3DPBLENDCAPS_SRCALPHASAT 0x0400 +#define D3DPBLENDCAPS_BOTHSRCALPHA 0x0800 +#define D3DPBLENDCAPS_BOTHINVSRCALPHA 0x1000 + +#define D3DPCMPCAPS_NEVER 0x01 +#define D3DPCMPCAPS_LESS 0x02 +#define D3DPCMPCAPS_EQUAL 0x04 +#define D3DPCMPCAPS_LESSEQUAL 0x08 +#define D3DPCMPCAPS_GREATER 0x10 +#define D3DPCMPCAPS_NOTEQUAL 0x20 +#define D3DPCMPCAPS_GREATEREQUAL 0x40 +#define D3DPCMPCAPS_ALWAYS 0x80 + +#define D3DPMISCCAPS_MASKZ 0x0002 +#define D3DPMISCCAPS_LINEPATTERNREP 0x0004 +#define D3DPMISCCAPS_CULLNONE 0x0010 +#define D3DPMISCCAPS_CULLCW 0x0020 +#define D3DPMISCCAPS_CULLCCW 0x0040 +#define D3DPMISCCAPS_COLORWRITEENABLE 0x0080 +#define D3DPMISCCAPS_CLIPPLANESCALEDPOINTS 0x0100 +#define D3DPMISCCAPS_CLIPTLVERTS 0x0200 +#define D3DPMISCCAPS_TSSARGTEMP 0x0400 +#define D3DPMISCCAPS_BLENDOP 0x0800 + +#define D3DPRASTERCAPS_DITHER 0x00000001 +#define D3DPRASTERCAPS_PAT 0x00000008 +#define D3DPRASTERCAPS_ZTEST 0x00000010 +#define D3DPRASTERCAPS_FOGVERTEX 0x00000080 +#define D3DPRASTERCAPS_FOGTABLE 0x00000100 +#define D3DPRASTERCAPS_ANTIALIASEDGES 0x00001000 +#define D3DPRASTERCAPS_MIPMAPLODBIAS 0x00002000 +#define D3DPRASTERCAPS_ZBIAS 0x00004000 +#define D3DPRASTERCAPS_ZBUFFERLESSHSR 0x00008000 +#define D3DPRASTERCAPS_FOGRANGE 0x00010000 +#define D3DPRASTERCAPS_ANISOTROPY 0x00020000 +#define D3DPRASTERCAPS_WBUFFER 0x00040000 +#define D3DPRASTERCAPS_WFOG 0x00100000 +#define D3DPRASTERCAPS_ZFOG 0x00200000 +#define D3DPRASTERCAPS_COLORPERSPECTIVE 0x00400000 +#define D3DPRASTERCAPS_STRETCHBLTMULTISAMPLE 0x00800000 + +#define D3DPRESENT_INTERVAL_DEFAULT 0x00000000 +#define D3DPRESENT_INTERVAL_ONE 0x00000001 +#define D3DPRESENT_INTERVAL_TWO 0x00000002 +#define D3DPRESENT_INTERVAL_THREE 0x00000004 +#define D3DPRESENT_INTERVAL_FOUR 0x00000008 +#define D3DPRESENT_INTERVAL_IMMEDIATE 0x80000000 + +#define D3DPSHADECAPS_COLORGOURAUDRGB 0x00008 +#define D3DPSHADECAPS_SPECULARGOURAUDRGB 0x00200 +#define D3DPSHADECAPS_ALPHAGOURAUDBLEND 0x04000 +#define D3DPSHADECAPS_FOGGOURAUD 0x80000 + +#define D3DPTADDRESSCAPS_WRAP 0x01 +#define D3DPTADDRESSCAPS_MIRROR 0x02 +#define D3DPTADDRESSCAPS_CLAMP 0x04 +#define D3DPTADDRESSCAPS_BORDER 0x08 +#define D3DPTADDRESSCAPS_INDEPENDENTUV 0x10 +#define D3DPTADDRESSCAPS_MIRRORONCE 0x20 + +#define D3DPTEXTURECAPS_PERSPECTIVE 0x00001 +#define D3DPTEXTURECAPS_POW2 0x00002 +#define D3DPTEXTURECAPS_ALPHA 0x00004 +#define D3DPTEXTURECAPS_SQUAREONLY 0x00020 +#define D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE 0x00040 +#define D3DPTEXTURECAPS_ALPHAPALETTE 0x00080 +#define D3DPTEXTURECAPS_NONPOW2CONDITIONAL 0x00100 +#define D3DPTEXTURECAPS_PROJECTED 0x00400 +#define D3DPTEXTURECAPS_CUBEMAP 0x00800 +#define D3DPTEXTURECAPS_VOLUMEMAP 0x02000 +#define D3DPTEXTURECAPS_MIPMAP 0x04000 +#define D3DPTEXTURECAPS_MIPVOLUMEMAP 0x08000 +#define D3DPTEXTURECAPS_MIPCUBEMAP 0x10000 +#define D3DPTEXTURECAPS_CUBEMAP_POW2 0x20000 +#define D3DPTEXTURECAPS_VOLUMEMAP_POW2 0x40000 + +#define D3DPTFILTERCAPS_MINFPOINT 0x00000100 +#define D3DPTFILTERCAPS_MINFLINEAR 0x00000200 +#define D3DPTFILTERCAPS_MINFANISOTROPIC 0x00000400 +#define D3DPTFILTERCAPS_MIPFPOINT 0x00010000 +#define D3DPTFILTERCAPS_MIPFLINEAR 0x00020000 +#define D3DPTFILTERCAPS_MAGFPOINT 0x01000000 +#define D3DPTFILTERCAPS_MAGFLINEAR 0x02000000 +#define D3DPTFILTERCAPS_MAGFANISOTROPIC 0x04000000 +#define D3DPTFILTERCAPS_MAGFAFLATCUBIC 0x08000000 +#define D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC 0x10000000 + +#define D3DSTENCILCAPS_KEEP 0x01 +#define D3DSTENCILCAPS_ZERO 0x02 +#define D3DSTENCILCAPS_REPLACE 0x04 +#define D3DSTENCILCAPS_INCRSAT 0x08 +#define D3DSTENCILCAPS_DECRSAT 0x10 +#define D3DSTENCILCAPS_INVERT 0x20 +#define D3DSTENCILCAPS_INCR 0x40 +#define D3DSTENCILCAPS_DECR 0x80 + +#define D3DTEXOPCAPS_DISABLE 0x0000001 +#define D3DTEXOPCAPS_SELECTARG1 0x0000002 +#define D3DTEXOPCAPS_SELECTARG2 0x0000004 +#define D3DTEXOPCAPS_MODULATE 0x0000008 +#define D3DTEXOPCAPS_MODULATE2X 0x0000010 +#define D3DTEXOPCAPS_MODULATE4X 0x0000020 +#define D3DTEXOPCAPS_ADD 0x0000040 +#define D3DTEXOPCAPS_ADDSIGNED 0x0000080 +#define D3DTEXOPCAPS_ADDSIGNED2X 0x0000100 +#define D3DTEXOPCAPS_SUBTRACT 0x0000200 +#define D3DTEXOPCAPS_ADDSMOOTH 0x0000400 +#define D3DTEXOPCAPS_BLENDDIFFUSEALPHA 0x0000800 +#define D3DTEXOPCAPS_BLENDTEXTUREALPHA 0x0001000 +#define D3DTEXOPCAPS_BLENDFACTORALPHA 0x0002000 +#define D3DTEXOPCAPS_BLENDTEXTUREALPHAPM 0x0004000 +#define D3DTEXOPCAPS_BLENDCURRENTALPHA 0x0008000 +#define D3DTEXOPCAPS_PREMODULATE 0x0010000 +#define D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR 0x0020000 +#define D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA 0x0040000 +#define D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR 0x0080000 +#define D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA 0x0100000 +#define D3DTEXOPCAPS_BUMPENVMAP 0x0200000 +#define D3DTEXOPCAPS_BUMPENVMAPLUMINANCE 0x0400000 +#define D3DTEXOPCAPS_DOTPRODUCT3 0x0800000 +#define D3DTEXOPCAPS_MULTIPLYADD 0x1000000 +#define D3DTEXOPCAPS_LERP 0x2000000 + +#define D3DVTXPCAPS_TEXGEN 0x01 +#define D3DVTXPCAPS_MATERIALSOURCE7 0x02 +#define D3DVTXPCAPS_DIRECTIONALLIGHTS 0x08 +#define D3DVTXPCAPS_POSITIONALLIGHTS 0x10 +#define D3DVTXPCAPS_LOCALVIEWER 0x20 +#define D3DVTXPCAPS_TWEENING 0x40 + +#define D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD 0x00000020 +#define D3DCAPS3_RESERVED 0x8000001f + +#define D3DCAPS2_CANCALIBRATEGAMMA 0x0100000 +#define D3DCAPS2_CANRENDERWINDOWED 0x0080000 +#define D3DCAPS2_CANMANAGERESOURCE 0x10000000 +#define D3DCAPS2_DYNAMICTEXTURES 0x20000000 +#define D3DCAPS2_FULLSCREENGAMMA 0x0020000 +#define D3DCAPS2_NO2DDURING3DSCENE 0x0000002 +#define D3DCAPS2_RESERVED 0x2000000 + +/* + * The d3dcaps8 structure + */ +typedef struct _D3DCAPS8 { + D3DDEVTYPE DeviceType; + UINT AdapterOrdinal; + + DWORD Caps; + DWORD Caps2; + DWORD Caps3; + DWORD PresentationIntervals; + + DWORD CursorCaps; + + DWORD DevCaps; + + DWORD PrimitiveMiscCaps; + DWORD RasterCaps; + DWORD ZCmpCaps; + DWORD SrcBlendCaps; + DWORD DestBlendCaps; + DWORD AlphaCmpCaps; + DWORD ShadeCaps; + DWORD TextureCaps; + DWORD TextureFilterCaps; + DWORD CubeTextureFilterCaps; + DWORD VolumeTextureFilterCaps; + DWORD TextureAddressCaps; + DWORD VolumeTextureAddressCaps; + + DWORD LineCaps; + + DWORD MaxTextureWidth, MaxTextureHeight; + DWORD MaxVolumeExtent; + + DWORD MaxTextureRepeat; + DWORD MaxTextureAspectRatio; + DWORD MaxAnisotropy; + float MaxVertexW; + + float GuardBandLeft; + float GuardBandTop; + float GuardBandRight; + float GuardBandBottom; + + float ExtentsAdjust; + DWORD StencilCaps; + + DWORD FVFCaps; + DWORD TextureOpCaps; + DWORD MaxTextureBlendStages; + DWORD MaxSimultaneousTextures; + + DWORD VertexProcessingCaps; + DWORD MaxActiveLights; + DWORD MaxUserClipPlanes; + DWORD MaxVertexBlendMatrices; + DWORD MaxVertexBlendMatrixIndex; + + float MaxPointSize; + + DWORD MaxPrimitiveCount; + DWORD MaxVertexIndex; + DWORD MaxStreams; + DWORD MaxStreamStride; + + DWORD VertexShaderVersion; + DWORD MaxVertexShaderConst; + + DWORD PixelShaderVersion; + float MaxPixelShaderValue; +} D3DCAPS8; + +#ifdef __i386__ +#include +#endif + +#endif /* __WINE_D3D8CAPS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8types.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8types.h new file mode 100644 index 0000000..163ee4f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d8types.h @@ -0,0 +1,1220 @@ +/* + * Copyright (C) 2002 Jason Edmeades + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3D8TYPES_H +#define __WINE_D3D8TYPES_H + +#ifdef __i386__ +#include +#endif + +/***************************************************************************** + * Direct 3D v8 #defines + */ + +#define D3DCLEAR_TARGET 1 +#define D3DCLEAR_ZBUFFER 2 +#define D3DCLEAR_STENCIL 4 + +#define D3DCLIPPLANE0 (1 << 0) +#define D3DCLIPPLANE1 (1 << 1) +#define D3DCLIPPLANE2 (1 << 2) +#define D3DCLIPPLANE3 (1 << 3) +#define D3DCLIPPLANE4 (1 << 4) +#define D3DCLIPPLANE5 (1 << 5) + +#define D3DCOLOR_ARGB(a,r,g,b) ((D3DCOLOR)((((a)&0xffu)<<24)|(((r)&0xffu)<<16)|(((g)&0xffu)<<8)|((b)&0xffu))) +#define D3DCOLOR_COLORVALUE(r,g,b,a) D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f)) +#define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,r,g,b) +#define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b) + +#define D3DCS_LEFT 0x001 +#define D3DCS_RIGHT 0x002 +#define D3DCS_TOP 0x004 +#define D3DCS_BOTTOM 0x008 +#define D3DCS_FRONT 0x010 +#define D3DCS_BACK 0x020 +#define D3DCS_PLANE0 0x040 +#define D3DCS_PLANE1 0x080 +#define D3DCS_PLANE2 0x100 +#define D3DCS_PLANE3 0x200 +#define D3DCS_PLANE4 0x400 +#define D3DCS_PLANE5 0x800 +#define D3DCS_ALL 0xFFF + +#define D3DFVF_TEXTUREFORMAT1 3 +#define D3DFVF_TEXTUREFORMAT2 0 +#define D3DFVF_TEXTUREFORMAT3 1 +#define D3DFVF_TEXTUREFORMAT4 2 +#define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16)) +#define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2) +#define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16)) +#define D3DFVF_TEXCOORDSIZE4(CoordIndex) (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16)) + +#define D3DLOCK_READONLY 0x0010 +#define D3DLOCK_NOSYSLOCK 0x0800 +#define D3DLOCK_NOOVERWRITE 0x1000 +#define D3DLOCK_DISCARD 0x2000 +#define D3DLOCK_NO_DIRTY_UPDATE 0x8000 + +#define D3DMAXUSERCLIPPLANES 32 + +#define D3DRENDERSTATE_WRAPBIAS 0x80 + +#define D3DTSS_TCI_PASSTHRU 0x00000 +#define D3DTSS_TCI_CAMERASPACENORMAL 0x10000 +#define D3DTSS_TCI_CAMERASPACEPOSITION 0x20000 +#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x30000 + + +#define D3DTS_WORLD D3DTS_WORLDMATRIX(0) +#define D3DTS_WORLD1 D3DTS_WORLDMATRIX(1) +#define D3DTS_WORLD2 D3DTS_WORLDMATRIX(2) +#define D3DTS_WORLD3 D3DTS_WORLDMATRIX(3) +#define D3DTS_WORLDMATRIX(index) (D3DTRANSFORMSTATETYPE)(index + 256) + +#define D3DUSAGE_RENDERTARGET 0x01 +#define D3DUSAGE_DEPTHSTENCIL 0x02 +#define D3DUSAGE_WRITEONLY 0x08 +#define D3DUSAGE_SOFTWAREPROCESSING 0x10 +#define D3DUSAGE_DONOTCLIP 0x20 +#define D3DUSAGE_POINTS 0x40 +#define D3DUSAGE_RTPATCHES 0x80 +#define D3DUSAGE_NPATCHES 0x100 +#define D3DUSAGE_DYNAMIC 0x200 + +#define D3DWRAP_U 1 +#define D3DWRAP_V 2 +#define D3DWRAP_W 4 +#define D3DWRAPCOORD_0 1 +#define D3DWRAPCOORD_1 2 +#define D3DWRAPCOORD_2 4 +#define D3DWRAPCOORD_3 8 + +#define MAX_DEVICE_IDENTIFIER_STRING 512 + +#define D3DFVF_RESERVED0 0x0001 +#define D3DFVF_POSITION_MASK 0x000E +#define D3DFVF_XYZ 0x0002 +#define D3DFVF_XYZRHW 0x0004 +#define D3DFVF_XYZB1 0x0006 +#define D3DFVF_XYZB2 0x0008 +#define D3DFVF_XYZB3 0x000a +#define D3DFVF_XYZB4 0x000c +#define D3DFVF_XYZB5 0x000e +#define D3DFVF_NORMAL 0x0010 +#define D3DFVF_PSIZE 0x0020 +#define D3DFVF_DIFFUSE 0x0040 +#define D3DFVF_SPECULAR 0x0080 +#define D3DFVF_TEXCOUNT_MASK 0x0f00 +#define D3DFVF_TEXCOUNT_SHIFT 8 +#define D3DFVF_TEX0 0x0000 +#define D3DFVF_TEX1 0x0100 +#define D3DFVF_TEX2 0x0200 +#define D3DFVF_TEX3 0x0300 +#define D3DFVF_TEX4 0x0400 +#define D3DFVF_TEX5 0x0500 +#define D3DFVF_TEX6 0x0600 +#define D3DFVF_TEX7 0x0700 +#define D3DFVF_TEX8 0x0800 +#define D3DFVF_LASTBETA_UBYTE4 0x1000 +#define D3DFVF_RESERVED2 0xE000 + +#define D3DTA_SELECTMASK 0x0000000f +#define D3DTA_DIFFUSE 0x00000000 +#define D3DTA_CURRENT 0x00000001 +#define D3DTA_TEXTURE 0x00000002 +#define D3DTA_TFACTOR 0x00000003 +#define D3DTA_SPECULAR 0x00000004 +#define D3DTA_COMPLEMENT 0x00000010 +#define D3DTA_ALPHAREPLICATE 0x00000020 +#define D3DTA_TEMP 0x00000005 + +#define D3DCOLORWRITEENABLE_RED (__MSABI_LONG(1)<<0) +#define D3DCOLORWRITEENABLE_GREEN (__MSABI_LONG(1)<<1) +#define D3DCOLORWRITEENABLE_BLUE (__MSABI_LONG(1)<<2) +#define D3DCOLORWRITEENABLE_ALPHA (__MSABI_LONG(1)<<3) + + +#ifndef MAKEFOURCC +#define MAKEFOURCC(ch0, ch1, ch2, ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 )) +#endif + +/**************************** + * Vertex Shaders Declaration + */ + +typedef enum _D3DVSD_TOKENTYPE { + D3DVSD_TOKEN_NOP = 0, + D3DVSD_TOKEN_STREAM = 1, + D3DVSD_TOKEN_STREAMDATA = 2, + D3DVSD_TOKEN_TESSELLATOR = 3, + D3DVSD_TOKEN_CONSTMEM = 4, + D3DVSD_TOKEN_EXT = 5, + /* RESERVED = 6 */ + D3DVSD_TOKEN_END = 7, + D3DVSD_FORCE_DWORD = 0x7FFFFFFF +} D3DVSD_TOKENTYPE; + +/** input registers for vertex shaders functions */ +/* +#define D3DVSDE_POSITION 0 +#define D3DVSDE_BLENDWEIGHT 1 +#define D3DVSDE_BLENDINDICES 2 +#define D3DVSDE_NORMAL 3 +#define D3DVSDE_PSIZE 4 +#define D3DVSDE_DIFFUSE 5 +#define D3DVSDE_SPECULAR 6 +#define D3DVSDE_TEXCOORD0 7 +#define D3DVSDE_TEXCOORD1 8 +#define D3DVSDE_TEXCOORD2 9 +#define D3DVSDE_TEXCOORD3 10 +#define D3DVSDE_TEXCOORD4 11 +#define D3DVSDE_TEXCOORD5 12 +#define D3DVSDE_TEXCOORD6 13 +#define D3DVSDE_TEXCOORD7 14 +#define D3DVSDE_POSITION2 15 +#define D3DVSDE_NORMAL2 16 +*/ +/** Address of the vertex register. 0 - 16 */ +typedef enum _D3DVSDE_REGISTER { + D3DVSDE_POSITION = 0, + D3DVSDE_BLENDWEIGHT = 1, + D3DVSDE_BLENDINDICES = 2, + D3DVSDE_NORMAL = 3, + D3DVSDE_PSIZE = 4, + D3DVSDE_DIFFUSE = 5, + D3DVSDE_SPECULAR = 6, + D3DVSDE_TEXCOORD0 = 7, + D3DVSDE_TEXCOORD1 = 8, + D3DVSDE_TEXCOORD2 = 9, + D3DVSDE_TEXCOORD3 = 10, + D3DVSDE_TEXCOORD4 = 11, + D3DVSDE_TEXCOORD5 = 12, + D3DVSDE_TEXCOORD6 = 13, + D3DVSDE_TEXCOORD7 = 14, + D3DVSDE_POSITION2 = 15, + D3DVSDE_NORMAL2 = 16 +} D3DVSDE_REGISTER; + +/** bit-field declaration for VertexRegister Type */ +/* +#define D3DVSDT_FLOAT1 0x00 +#define D3DVSDT_FLOAT2 0x01 +#define D3DVSDT_FLOAT3 0x02 +#define D3DVSDT_FLOAT4 0x03 +#define D3DVSDT_D3DCOLOR 0x04 +#define D3DVSDT_UBYTE4 0x05 +#define D3DVSDT_SHORT2 0x06 +#define D3DVSDT_SHORT4 0x07 +*/ +typedef enum _D3DVSDT_TYPE { + D3DVSDT_FLOAT1 = 0x00, + D3DVSDT_FLOAT2 = 0x01, + D3DVSDT_FLOAT3 = 0x02, + D3DVSDT_FLOAT4 = 0x03, + D3DVSDT_D3DCOLOR = 0x04, + D3DVSDT_UBYTE4 = 0x05, + D3DVSDT_SHORT2 = 0x06, + D3DVSDT_SHORT4 = 0x07 +} D3DVSDT_TYPE; + + +#define D3DVSD_CONSTADDRESSSHIFT 0 +#define D3DVSD_EXTINFOSHIFT 0 +#define D3DVSD_STREAMNUMBERSHIFT 0 +#define D3DVSD_VERTEXREGSHIFT 0 +#define D3DVSD_CONSTRSSHIFT 16 +#define D3DVSD_DATATYPESHIFT 16 +#define D3DVSD_SKIPCOUNTSHIFT 16 +#define D3DVSD_VERTEXREGINSHIFT 20 +#define D3DVSD_EXTCOUNTSHIFT 24 +#define D3DVSD_CONSTCOUNTSHIFT 25 +#define D3DVSD_DATALOADTYPESHIFT 28 +#define D3DVSD_STREAMTESSSHIFT 28 +#define D3DVSD_TOKENTYPESHIFT 29 + +#define D3DVSD_CONSTADDRESSMASK (0x7F << D3DVSD_CONSTADDRESSSHIFT) +#define D3DVSD_EXTINFOMASK (0xFFFFFF << D3DVSD_EXTINFOSHIFT) +#define D3DVSD_STREAMNUMBERMASK (0xF << D3DVSD_STREAMNUMBERSHIFT) +#define D3DVSD_VERTEXREGMASK (0x1F << D3DVSD_VERTEXREGSHIFT) +#define D3DVSD_CONSTRSMASK (0x1FFF << D3DVSD_CONSTRSSHIFT) +#define D3DVSD_DATATYPEMASK (0xF << D3DVSD_DATATYPESHIFT) +#define D3DVSD_SKIPCOUNTMASK (0xF << D3DVSD_SKIPCOUNTSHIFT) +#define D3DVSD_EXTCOUNTMASK (0x1F << D3DVSD_EXTCOUNTSHIFT) +#define D3DVSD_VERTEXREGINMASK (0xF << D3DVSD_VERTEXREGINSHIFT) +#define D3DVSD_CONSTCOUNTMASK (0xF << D3DVSD_CONSTCOUNTSHIFT) +#define D3DVSD_DATALOADTYPEMASK (0x1 << D3DVSD_DATALOADTYPESHIFT) +#define D3DVSD_STREAMTESSMASK (0x1 << D3DVSD_STREAMTESSSHIFT) +#define D3DVSD_TOKENTYPEMASK (0x7u << D3DVSD_TOKENTYPESHIFT) + + +#define D3DVSD_MAKETOKENTYPE(TokenType) \ + (((unsigned)TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK) + +#define D3DVSD_CONST(ConstantAddress, Count) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_CONSTMEM) | ((Count) << D3DVSD_CONSTCOUNTSHIFT) | (ConstantAddress)) + +#define D3DVSD_END() 0xFFFFFFFF + +#define D3DVSD_NOP() 0x00000000 + +#define D3DVSD_REG(VertexRegister, Type) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | ((Type) << D3DVSD_DATATYPESHIFT) | (VertexRegister)) + +#define D3DVSD_SKIP(Count) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | 0x10000000 | ((Count) << D3DVSD_SKIPCOUNTSHIFT)) + +#define D3DVSD_STREAM(StreamNumber) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (StreamNumber)) + +#define D3DVSD_STREAM_TESS() \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (D3DVSD_STREAMTESSMASK)) + +#define D3DVSD_TESSNORMAL(RegisterIn, RegisterOut) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | ((RegisterIn) << D3DVSD_VERTEXREGINSHIFT) | ((0x02) << D3DVSD_DATATYPESHIFT) | (RegisterOut)) + +#define D3DVSD_TESSUV(Register) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | 0x10000000 | ((0x01) << D3DVSD_DATATYPESHIFT) | (Register)) + + +/******************************** + * Pixel/Vertex Shaders Functions + */ + +/** Maximum number of supported texture coordinates sets operation */ +#define D3DDP_MAXTEXCOORD 8 + +/** opcode token mask */ +#define D3DSI_OPCODE_MASK 0x0000FFFF + +/** opcodes types for PS and VS */ +typedef enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE { + D3DSIO_NOP = 0, + D3DSIO_MOV = 1, + D3DSIO_ADD = 2, + D3DSIO_SUB = 3, + D3DSIO_MAD = 4, + D3DSIO_MUL = 5, + D3DSIO_RCP = 6, + D3DSIO_RSQ = 7, + D3DSIO_DP3 = 8, + D3DSIO_DP4 = 9, + D3DSIO_MIN = 10, + D3DSIO_MAX = 11, + D3DSIO_SLT = 12, + D3DSIO_SGE = 13, + D3DSIO_EXP = 14, + D3DSIO_LOG = 15, + D3DSIO_LIT = 16, + D3DSIO_DST = 17, + D3DSIO_LRP = 18, + D3DSIO_FRC = 19, + D3DSIO_M4x4 = 20, + D3DSIO_M4x3 = 21, + D3DSIO_M3x4 = 22, + D3DSIO_M3x3 = 23, + D3DSIO_M3x2 = 24, + + D3DSIO_TEXCOORD = 64, + D3DSIO_TEXKILL = 65, + D3DSIO_TEX = 66, + D3DSIO_TEXBEM = 67, + D3DSIO_TEXBEML = 68, + D3DSIO_TEXREG2AR = 69, + D3DSIO_TEXREG2GB = 70, + D3DSIO_TEXM3x2PAD = 71, + D3DSIO_TEXM3x2TEX = 72, + D3DSIO_TEXM3x3PAD = 73, + D3DSIO_TEXM3x3TEX = 74, + D3DSIO_TEXM3x3DIFF = 75, + D3DSIO_TEXM3x3SPEC = 76, + D3DSIO_TEXM3x3VSPEC = 77, + D3DSIO_EXPP = 78, + D3DSIO_LOGP = 79, + D3DSIO_CND = 80, + D3DSIO_DEF = 81, + D3DSIO_TEXREG2RGB = 82, + D3DSIO_TEXDP3TEX = 83, + D3DSIO_TEXM3x2DEPTH = 84, + D3DSIO_TEXDP3 = 85, + D3DSIO_TEXM3x3 = 86, + D3DSIO_TEXDEPTH = 87, + D3DSIO_CMP = 88, + D3DSIO_BEM = 89, + + D3DSIO_PHASE = 0xFFFD, + D3DSIO_COMMENT = 0xFFFE, + D3DSIO_END = 0XFFFF, + + D3DSIO_FORCE_DWORD = 0X7FFFFFFF /** for 32-bit alignment */ +} D3DSHADER_INSTRUCTION_OPCODE_TYPE; + +/** for parallelism */ +#define D3DSI_COISSUE 0x40000000 + +/** destination parameter modifiers (.xyzw) */ +#define D3DSP_WRITEMASK_0 0x00010000 /* .x r */ +#define D3DSP_WRITEMASK_1 0x00020000 /* .y g */ +#define D3DSP_WRITEMASK_2 0x00040000 /* .z b */ +#define D3DSP_WRITEMASK_3 0x00080000 /* .w a */ +#define D3DSP_WRITEMASK_ALL 0x000F0000 /* all */ + +#define D3DSP_DSTMOD_SHIFT 20 +#define D3DSP_DSTMOD_MASK (0xF << D3DSP_DSTMOD_SHIFT) + +typedef enum _D3DSHADER_PARAM_DSTMOD_TYPE { + D3DSPDM_NONE = 0 << D3DSP_DSTMOD_SHIFT, + D3DSPDM_SATURATE = 1 << D3DSP_DSTMOD_SHIFT, + D3DSPDM_FORCE_DWORD = 0X7FFFFFFF +} D3DSHADER_PARAM_DSTMOD_TYPE; + +/** destination param */ +#define D3DSP_DSTSHIFT_SHIFT 24 +#define D3DSP_DSTSHIFT_MASK (0xF << D3DSP_DSTSHIFT_SHIFT) + +/** destination/source reg type */ +#define D3DSP_REGTYPE_SHIFT 28 +#define D3DSP_REGTYPE_MASK (0x7 << D3DSP_REGTYPE_SHIFT) + +typedef enum _D3DSHADER_PARAM_REGISTER_TYPE { + D3DSPR_TEMP = 0 << D3DSP_REGTYPE_SHIFT, + D3DSPR_INPUT = 1 << D3DSP_REGTYPE_SHIFT, + D3DSPR_CONST = 2 << D3DSP_REGTYPE_SHIFT, + D3DSPR_ADDR = 3 << D3DSP_REGTYPE_SHIFT, + D3DSPR_TEXTURE = 3 << D3DSP_REGTYPE_SHIFT, + D3DSPR_RASTOUT = 4 << D3DSP_REGTYPE_SHIFT, + D3DSPR_ATTROUT = 5 << D3DSP_REGTYPE_SHIFT, + D3DSPR_TEXCRDOUT = 6 << D3DSP_REGTYPE_SHIFT, + D3DSPR_FORCE_DWORD = 0x7FFFFFFF +} D3DSHADER_PARAM_REGISTER_TYPE; + +typedef enum _D3DVS_RASTOUT_OFFSETS { + D3DSRO_POSITION = 0, + D3DSRO_FOG = 1, + D3DSRO_POINT_SIZE = 2, + D3DSRO_FORCE_DWORD = 0x7FFFFFFF +} D3DVS_RASTOUT_OFFSETS; + +#define D3DVS_ADDRESSMODE_SHIFT 13 +#define D3DVS_ADDRESSMODE_MASK (0x1 << D3DVS_ADDRESSMODE_SHIFT) + +typedef enum _D3DVS_ADDRESSMODE_TYPE { + D3DVS_ADDRMODE_ABSOLUTE = 0 << D3DVS_ADDRESSMODE_SHIFT, + D3DVS_ADDRMODE_RELATIVE = 1 << D3DVS_ADDRESSMODE_SHIFT, + D3DVS_ADDRMODE_FORCE_DWORD = 0x7FFFFFFF +} D3DVS_ADDRESSMODE_TYPE; + +#define D3DVS_SWIZZLE_SHIFT 16 +#define D3DVS_SWIZZLE_MASK (0xFF << D3DVS_SWIZZLE_SHIFT) + +#define D3DSP_SWIZZLE_SHIFT 16 +#define D3DSP_SWIZZLE_MASK (0xFF << D3DSP_SWIZZLE_SHIFT) + +#define D3DVS_X_X (0 << D3DVS_SWIZZLE_SHIFT) +#define D3DVS_X_Y (1 << D3DVS_SWIZZLE_SHIFT) +#define D3DVS_X_Z (2 << D3DVS_SWIZZLE_SHIFT) +#define D3DVS_X_W (3 << D3DVS_SWIZZLE_SHIFT) + +#define D3DVS_Y_X (0 << (D3DVS_SWIZZLE_SHIFT + 2)) +#define D3DVS_Y_Y (1 << (D3DVS_SWIZZLE_SHIFT + 2)) +#define D3DVS_Y_Z (2 << (D3DVS_SWIZZLE_SHIFT + 2)) +#define D3DVS_Y_W (3 << (D3DVS_SWIZZLE_SHIFT + 2)) + +#define D3DVS_Z_X (0 << (D3DVS_SWIZZLE_SHIFT + 4)) +#define D3DVS_Z_Y (1 << (D3DVS_SWIZZLE_SHIFT + 4)) +#define D3DVS_Z_Z (2 << (D3DVS_SWIZZLE_SHIFT + 4)) +#define D3DVS_Z_W (3 << (D3DVS_SWIZZLE_SHIFT + 4)) + +#define D3DVS_W_X (0 << (D3DVS_SWIZZLE_SHIFT + 6)) +#define D3DVS_W_Y (1 << (D3DVS_SWIZZLE_SHIFT + 6)) +#define D3DVS_W_Z (2 << (D3DVS_SWIZZLE_SHIFT + 6)) +#define D3DVS_W_W (3 << (D3DVS_SWIZZLE_SHIFT + 6)) + +#define D3DVS_NOSWIZZLE (D3DVS_X_X | D3DVS_Y_Y | D3DVS_Z_Z | D3DVS_W_W) + +#define D3DSP_NOSWIZZLE \ + ((0 << (D3DSP_SWIZZLE_SHIFT + 0)) | (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | (3 << (D3DSP_SWIZZLE_SHIFT + 6))) + +#define D3DSP_SRCMOD_SHIFT 24 +#define D3DSP_SRCMOD_MASK (0xF << D3DSP_SRCMOD_SHIFT) + +typedef enum _D3DSHADER_PARAM_SRCMOD_TYPE { + D3DSPSM_NONE = 0 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_NEG = 1 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_BIAS = 2 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_BIASNEG = 3 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_SIGN = 4 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_SIGNNEG = 5 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_COMP = 6 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_X2 = 7 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_X2NEG = 8 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_DZ = 9 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_DW = 10 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_FORCE_DWORD = 0x7FFFFFFF +} D3DSHADER_PARAM_SRCMOD_TYPE; + +#define D3DPS_VERSION(major, minor) (0xFFFF0000 | ((major) << 8) | (minor)) +#define D3DVS_VERSION(major, minor) (0xFFFE0000 | ((major) << 8) | (minor)) +#define D3DSHADER_VERSION_MAJOR(version) (((version) >> 8) & 0xFF) +#define D3DSHADER_VERSION_MINOR(version) (((version) >> 0) & 0xFF) + +#define D3DSI_COMMENTSIZE_SHIFT 16 +#define D3DSI_COMMENTSIZE_MASK (0x7FFF << D3DSI_COMMENTSIZE_SHIFT) + +#define D3DSHADER_COMMENT(commentSize) \ + ((((commentSize) << D3DSI_COMMENTSIZE_SHIFT) & D3DSI_COMMENTSIZE_MASK) | D3DSIO_COMMENT) + +#define D3DPS_END() 0x0000FFFF +#define D3DVS_END() 0x0000FFFF + + +/***************************************************************************** + * Direct 3D v8 enumerated types + */ +typedef enum _D3DBACKBUFFER_TYPE { + D3DBACKBUFFER_TYPE_MONO = 0, + D3DBACKBUFFER_TYPE_LEFT = 1, + D3DBACKBUFFER_TYPE_RIGHT = 2, + + D3DBACKBUFFER_TYPE_FORCE_DWORD = 0x7fffffff +} D3DBACKBUFFER_TYPE; + +typedef enum _D3DBASISTYPE{ + D3DBASIS_BEZIER = 0, + D3DBASIS_BSPLINE = 1, + D3DBASIS_INTERPOLATE = 2, + + D3DBASIS_FORCE_DWORD = 0x7fffffff +} D3DBASISTYPE; + +typedef enum _D3DBLEND { + D3DBLEND_ZERO = 1, + D3DBLEND_ONE = 2, + D3DBLEND_SRCCOLOR = 3, + D3DBLEND_INVSRCCOLOR = 4, + D3DBLEND_SRCALPHA = 5, + D3DBLEND_INVSRCALPHA = 6, + D3DBLEND_DESTALPHA = 7, + D3DBLEND_INVDESTALPHA = 8, + D3DBLEND_DESTCOLOR = 9, + D3DBLEND_INVDESTCOLOR = 10, + D3DBLEND_SRCALPHASAT = 11, + D3DBLEND_BOTHSRCALPHA = 12, + D3DBLEND_BOTHINVSRCALPHA = 13, + + D3DBLEND_FORCE_DWORD = 0x7fffffff +} D3DBLEND; + +typedef enum _D3DBLENDOP { + D3DBLENDOP_ADD = 1, + D3DBLENDOP_SUBTRACT = 2, + D3DBLENDOP_REVSUBTRACT = 3, + D3DBLENDOP_MIN = 4, + D3DBLENDOP_MAX = 5, + + D3DBLENDOP_FORCE_DWORD = 0x7fffffff +} D3DBLENDOP; + +typedef enum _D3DCMPFUNC { + D3DCMP_NEVER = 1, + D3DCMP_LESS = 2, + D3DCMP_EQUAL = 3, + D3DCMP_LESSEQUAL = 4, + D3DCMP_GREATER = 5, + D3DCMP_NOTEQUAL = 6, + D3DCMP_GREATEREQUAL = 7, + D3DCMP_ALWAYS = 8, + + D3DCMP_FORCE_DWORD = 0x7fffffff +} D3DCMPFUNC; + +typedef enum _D3DCUBEMAP_FACES { + D3DCUBEMAP_FACE_POSITIVE_X = 0, + D3DCUBEMAP_FACE_NEGATIVE_X = 1, + D3DCUBEMAP_FACE_POSITIVE_Y = 2, + D3DCUBEMAP_FACE_NEGATIVE_Y = 3, + D3DCUBEMAP_FACE_POSITIVE_Z = 4, + D3DCUBEMAP_FACE_NEGATIVE_Z = 5, + + D3DCUBEMAP_FACE_FORCE_DWORD = 0xffffffff +} D3DCUBEMAP_FACES; + +typedef enum _D3DCULL { + D3DCULL_NONE = 1, + D3DCULL_CW = 2, + D3DCULL_CCW = 3, + + D3DCULL_FORCE_DWORD = 0x7fffffff +} D3DCULL; + +typedef enum _D3DDEBUGMONITORTOKENS { + D3DDMT_ENABLE = 0, + D3DDMT_DISABLE = 1, + + D3DDMT_FORCE_DWORD = 0x7fffffff +} D3DDEBUGMONITORTOKENS; + +typedef enum _D3DDEVTYPE { + D3DDEVTYPE_HAL = 1, + D3DDEVTYPE_REF = 2, + D3DDEVTYPE_SW = 3, + + D3DDEVTYPE_FORCE_DWORD = 0xffffffff +} D3DDEVTYPE; + +typedef enum _D3DFILLMODE { + D3DFILL_POINT = 1, + D3DFILL_WIREFRAME = 2, + D3DFILL_SOLID = 3, + + D3DFILL_FORCE_DWORD = 0x7fffffff +} D3DFILLMODE; + +typedef enum _D3DFOGMODE { + D3DFOG_NONE = 0, + D3DFOG_EXP = 1, + D3DFOG_EXP2 = 2, + D3DFOG_LINEAR = 3, + + D3DFOG_FORCE_DWORD = 0x7fffffff +} D3DFOGMODE; + +typedef enum _D3DFORMAT { + D3DFMT_UNKNOWN = 0, + + D3DFMT_R8G8B8 = 20, + D3DFMT_A8R8G8B8 = 21, + D3DFMT_X8R8G8B8 = 22, + D3DFMT_R5G6B5 = 23, + D3DFMT_X1R5G5B5 = 24, + D3DFMT_A1R5G5B5 = 25, + D3DFMT_A4R4G4B4 = 26, + D3DFMT_R3G3B2 = 27, + D3DFMT_A8 = 28, + D3DFMT_A8R3G3B2 = 29, + D3DFMT_X4R4G4B4 = 30, + D3DFMT_A2B10G10R10 = 31, + D3DFMT_G16R16 = 34, + + D3DFMT_A8P8 = 40, + D3DFMT_P8 = 41, + + D3DFMT_L8 = 50, + D3DFMT_A8L8 = 51, + D3DFMT_A4L4 = 52, + + D3DFMT_V8U8 = 60, + D3DFMT_L6V5U5 = 61, + D3DFMT_X8L8V8U8 = 62, + D3DFMT_Q8W8V8U8 = 63, + D3DFMT_V16U16 = 64, + D3DFMT_W11V11U10 = 65, + D3DFMT_A2W10V10U10 = 67, + + D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'), + D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'), + D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'), + D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'), + D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'), + D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'), + D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'), + + D3DFMT_D16_LOCKABLE = 70, + D3DFMT_D32 = 71, + D3DFMT_D15S1 = 73, + D3DFMT_D24S8 = 75, + D3DFMT_D16 = 80, + D3DFMT_D24X8 = 77, + D3DFMT_D24X4S4 = 79, + + D3DFMT_VERTEXDATA = 100, + D3DFMT_INDEX16 = 101, + D3DFMT_INDEX32 = 102, + + D3DFMT_FORCE_DWORD = 0xFFFFFFFF +} D3DFORMAT; + +typedef enum _D3DLIGHTTYPE { + D3DLIGHT_POINT = 1, + D3DLIGHT_SPOT = 2, + D3DLIGHT_DIRECTIONAL = 3, + + D3DLIGHT_FORCE_DWORD = 0x7fffffff +} D3DLIGHTTYPE; + +typedef enum _D3DMATERIALCOLORSOURCE { + D3DMCS_MATERIAL = 0, + D3DMCS_COLOR1 = 1, + D3DMCS_COLOR2 = 2, + + D3DMCS_FORCE_DWORD = 0x7fffffff +} D3DMATERIALCOLORSOURCE; + +typedef enum _D3DMULTISAMPLE_TYPE { + D3DMULTISAMPLE_NONE = 0, + D3DMULTISAMPLE_2_SAMPLES = 2, + D3DMULTISAMPLE_3_SAMPLES = 3, + D3DMULTISAMPLE_4_SAMPLES = 4, + D3DMULTISAMPLE_5_SAMPLES = 5, + D3DMULTISAMPLE_6_SAMPLES = 6, + D3DMULTISAMPLE_7_SAMPLES = 7, + D3DMULTISAMPLE_8_SAMPLES = 8, + D3DMULTISAMPLE_9_SAMPLES = 9, + D3DMULTISAMPLE_10_SAMPLES = 10, + D3DMULTISAMPLE_11_SAMPLES = 11, + D3DMULTISAMPLE_12_SAMPLES = 12, + D3DMULTISAMPLE_13_SAMPLES = 13, + D3DMULTISAMPLE_14_SAMPLES = 14, + D3DMULTISAMPLE_15_SAMPLES = 15, + D3DMULTISAMPLE_16_SAMPLES = 16, + + D3DMULTISAMPLE_FORCE_DWORD = 0x7fffffff +} D3DMULTISAMPLE_TYPE; + +typedef enum _D3DORDERTYPE { + D3DORDER_LINEAR = 1, + D3DORDER_QUADRATIC = 2, + D3DORDER_CUBIC = 3, + D3DORDER_QUINTIC = 5, + + D3DORDER_FORCE_DWORD = 0x7fffffff +} D3DORDERTYPE; + +typedef enum _D3DPATCHEDGESTYLE { + D3DPATCHEDGE_DISCRETE = 0, + D3DPATCHEDGE_CONTINUOUS = 1, + + D3DPATCHEDGE_FORCE_DWORD = 0x7fffffff, +} D3DPATCHEDGESTYLE; + +typedef enum _D3DPOOL { + D3DPOOL_DEFAULT = 0, + D3DPOOL_MANAGED = 1, + D3DPOOL_SYSTEMMEM = 2, + D3DPOOL_SCRATCH = 3, + + D3DPOOL_FORCE_DWORD = 0x7fffffff +} D3DPOOL; + +typedef enum _D3DPRIMITIVETYPE { + D3DPT_POINTLIST = 1, + D3DPT_LINELIST = 2, + D3DPT_LINESTRIP = 3, + D3DPT_TRIANGLELIST = 4, + D3DPT_TRIANGLESTRIP = 5, + D3DPT_TRIANGLEFAN = 6, + + D3DPT_FORCE_DWORD = 0x7fffffff +} D3DPRIMITIVETYPE; + +typedef enum _D3DRENDERSTATETYPE { + D3DRS_ZENABLE = 7, + D3DRS_FILLMODE = 8, + D3DRS_SHADEMODE = 9, + D3DRS_LINEPATTERN = 10, + D3DRS_ZWRITEENABLE = 14, + D3DRS_ALPHATESTENABLE = 15, + D3DRS_LASTPIXEL = 16, + D3DRS_SRCBLEND = 19, + D3DRS_DESTBLEND = 20, + D3DRS_CULLMODE = 22, + D3DRS_ZFUNC = 23, + D3DRS_ALPHAREF = 24, + D3DRS_ALPHAFUNC = 25, + D3DRS_DITHERENABLE = 26, + D3DRS_ALPHABLENDENABLE = 27, + D3DRS_FOGENABLE = 28, + D3DRS_SPECULARENABLE = 29, + D3DRS_ZVISIBLE = 30, + D3DRS_FOGCOLOR = 34, + D3DRS_FOGTABLEMODE = 35, + D3DRS_FOGSTART = 36, + D3DRS_FOGEND = 37, + D3DRS_FOGDENSITY = 38, + D3DRS_EDGEANTIALIAS = 40, + D3DRS_ZBIAS = 47, + D3DRS_RANGEFOGENABLE = 48, + D3DRS_STENCILENABLE = 52, + D3DRS_STENCILFAIL = 53, + D3DRS_STENCILZFAIL = 54, + D3DRS_STENCILPASS = 55, + D3DRS_STENCILFUNC = 56, + D3DRS_STENCILREF = 57, + D3DRS_STENCILMASK = 58, + D3DRS_STENCILWRITEMASK = 59, + D3DRS_TEXTUREFACTOR = 60, + D3DRS_WRAP0 = 128, + D3DRS_WRAP1 = 129, + D3DRS_WRAP2 = 130, + D3DRS_WRAP3 = 131, + D3DRS_WRAP4 = 132, + D3DRS_WRAP5 = 133, + D3DRS_WRAP6 = 134, + D3DRS_WRAP7 = 135, + D3DRS_CLIPPING = 136, + D3DRS_LIGHTING = 137, + D3DRS_AMBIENT = 139, + D3DRS_FOGVERTEXMODE = 140, + D3DRS_COLORVERTEX = 141, + D3DRS_LOCALVIEWER = 142, + D3DRS_NORMALIZENORMALS = 143, + D3DRS_DIFFUSEMATERIALSOURCE = 145, + D3DRS_SPECULARMATERIALSOURCE = 146, + D3DRS_AMBIENTMATERIALSOURCE = 147, + D3DRS_EMISSIVEMATERIALSOURCE = 148, + D3DRS_VERTEXBLEND = 151, + D3DRS_CLIPPLANEENABLE = 152, + D3DRS_SOFTWAREVERTEXPROCESSING = 153, + D3DRS_POINTSIZE = 154, + D3DRS_POINTSIZE_MIN = 155, + D3DRS_POINTSPRITEENABLE = 156, + D3DRS_POINTSCALEENABLE = 157, + D3DRS_POINTSCALE_A = 158, + D3DRS_POINTSCALE_B = 159, + D3DRS_POINTSCALE_C = 160, + D3DRS_MULTISAMPLEANTIALIAS = 161, + D3DRS_MULTISAMPLEMASK = 162, + D3DRS_PATCHEDGESTYLE = 163, + D3DRS_PATCHSEGMENTS = 164, + D3DRS_DEBUGMONITORTOKEN = 165, + D3DRS_POINTSIZE_MAX = 166, + D3DRS_INDEXEDVERTEXBLENDENABLE = 167, + D3DRS_COLORWRITEENABLE = 168, + D3DRS_TWEENFACTOR = 170, + D3DRS_BLENDOP = 171, + D3DRS_POSITIONORDER = 172, + D3DRS_NORMALORDER = 173, + + D3DRS_FORCE_DWORD = 0x7fffffff +} D3DRENDERSTATETYPE; + +typedef enum _D3DRESOURCETYPE { + D3DRTYPE_SURFACE = 1, + D3DRTYPE_VOLUME = 2, + D3DRTYPE_TEXTURE = 3, + D3DRTYPE_VOLUMETEXTURE = 4, + D3DRTYPE_CUBETEXTURE = 5, + D3DRTYPE_VERTEXBUFFER = 6, + D3DRTYPE_INDEXBUFFER = 7, + + D3DRTYPE_FORCE_DWORD = 0x7fffffff +} D3DRESOURCETYPE; + +typedef enum _D3DSHADEMODE { + D3DSHADE_FLAT = 1, + D3DSHADE_GOURAUD = 2, + D3DSHADE_PHONG = 3, + + D3DSHADE_FORCE_DWORD = 0x7fffffff +} D3DSHADEMODE; + +typedef enum _D3DSTATEBLOCKTYPE { + D3DSBT_ALL = 1, + D3DSBT_PIXELSTATE = 2, + D3DSBT_VERTEXSTATE = 3, + + D3DSBT_FORCE_DWORD = 0xffffffff +} D3DSTATEBLOCKTYPE; + +typedef enum _D3DSTENCILOP { + D3DSTENCILOP_KEEP = 1, + D3DSTENCILOP_ZERO = 2, + D3DSTENCILOP_REPLACE = 3, + D3DSTENCILOP_INCRSAT = 4, + D3DSTENCILOP_DECRSAT = 5, + D3DSTENCILOP_INVERT = 6, + D3DSTENCILOP_INCR = 7, + D3DSTENCILOP_DECR = 8, + + D3DSTENCILOP_FORCE_DWORD = 0x7fffffff +} D3DSTENCILOP; + +typedef enum _D3DSWAPEFFECT { + D3DSWAPEFFECT_DISCARD = 1, + D3DSWAPEFFECT_FLIP = 2, + D3DSWAPEFFECT_COPY = 3, + D3DSWAPEFFECT_COPY_VSYNC = 4, + + D3DSWAPEFFECT_FORCE_DWORD = 0xFFFFFFFF +} D3DSWAPEFFECT; + +typedef enum _D3DTEXTUREADDRESS { + D3DTADDRESS_WRAP = 1, + D3DTADDRESS_MIRROR = 2, + D3DTADDRESS_CLAMP = 3, + D3DTADDRESS_BORDER = 4, + D3DTADDRESS_MIRRORONCE = 5, + + D3DTADDRESS_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREADDRESS; + +typedef enum _D3DTEXTUREFILTERTYPE { + D3DTEXF_NONE = 0, + D3DTEXF_POINT = 1, + D3DTEXF_LINEAR = 2, + D3DTEXF_ANISOTROPIC = 3, + D3DTEXF_FLATCUBIC = 4, + D3DTEXF_GAUSSIANCUBIC = 5, + + D3DTEXF_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREFILTERTYPE; + +typedef enum _D3DTEXTUREOP { + D3DTOP_DISABLE = 1, + D3DTOP_SELECTARG1 = 2, + D3DTOP_SELECTARG2 = 3, + D3DTOP_MODULATE = 4, + D3DTOP_MODULATE2X = 5, + D3DTOP_MODULATE4X = 6, + D3DTOP_ADD = 7, + D3DTOP_ADDSIGNED = 8, + D3DTOP_ADDSIGNED2X = 9, + D3DTOP_SUBTRACT = 10, + D3DTOP_ADDSMOOTH = 11, + D3DTOP_BLENDDIFFUSEALPHA = 12, + D3DTOP_BLENDTEXTUREALPHA = 13, + D3DTOP_BLENDFACTORALPHA = 14, + D3DTOP_BLENDTEXTUREALPHAPM = 15, + D3DTOP_BLENDCURRENTALPHA = 16, + D3DTOP_PREMODULATE = 17, + D3DTOP_MODULATEALPHA_ADDCOLOR = 18, + D3DTOP_MODULATECOLOR_ADDALPHA = 19, + D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20, + D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21, + D3DTOP_BUMPENVMAP = 22, + D3DTOP_BUMPENVMAPLUMINANCE = 23, + D3DTOP_DOTPRODUCT3 = 24, + D3DTOP_MULTIPLYADD = 25, + D3DTOP_LERP = 26, + + D3DTOP_FORCE_DWORD = 0x7fffffff, +} D3DTEXTUREOP; + +typedef enum _D3DTEXTURESTAGESTATETYPE { + D3DTSS_COLOROP = 1, + D3DTSS_COLORARG1 = 2, + D3DTSS_COLORARG2 = 3, + D3DTSS_ALPHAOP = 4, + D3DTSS_ALPHAARG1 = 5, + D3DTSS_ALPHAARG2 = 6, + D3DTSS_BUMPENVMAT00 = 7, + D3DTSS_BUMPENVMAT01 = 8, + D3DTSS_BUMPENVMAT10 = 9, + D3DTSS_BUMPENVMAT11 = 10, + D3DTSS_TEXCOORDINDEX = 11, + D3DTSS_ADDRESSU = 13, + D3DTSS_ADDRESSV = 14, + D3DTSS_BORDERCOLOR = 15, + D3DTSS_MAGFILTER = 16, + D3DTSS_MINFILTER = 17, + D3DTSS_MIPFILTER = 18, + D3DTSS_MIPMAPLODBIAS = 19, + D3DTSS_MAXMIPLEVEL = 20, + D3DTSS_MAXANISOTROPY = 21, + D3DTSS_BUMPENVLSCALE = 22, + D3DTSS_BUMPENVLOFFSET = 23, + D3DTSS_TEXTURETRANSFORMFLAGS = 24, + D3DTSS_ADDRESSW = 25, + D3DTSS_COLORARG0 = 26, + D3DTSS_ALPHAARG0 = 27, + D3DTSS_RESULTARG = 28, + + D3DTSS_FORCE_DWORD = 0x7fffffff +} D3DTEXTURESTAGESTATETYPE; + +typedef enum _D3DTEXTURETRANSFORMFLAGS { + D3DTTFF_DISABLE = 0, + D3DTTFF_COUNT1 = 1, + D3DTTFF_COUNT2 = 2, + D3DTTFF_COUNT3 = 3, + D3DTTFF_COUNT4 = 4, + D3DTTFF_PROJECTED = 256, + + D3DTTFF_FORCE_DWORD = 0x7fffffff +} D3DTEXTURETRANSFORMFLAGS; + +typedef enum _D3DTRANSFORMSTATETYPE { + D3DTS_VIEW = 2, + D3DTS_PROJECTION = 3, + D3DTS_TEXTURE0 = 16, + D3DTS_TEXTURE1 = 17, + D3DTS_TEXTURE2 = 18, + D3DTS_TEXTURE3 = 19, + D3DTS_TEXTURE4 = 20, + D3DTS_TEXTURE5 = 21, + D3DTS_TEXTURE6 = 22, + D3DTS_TEXTURE7 = 23, + + D3DTS_FORCE_DWORD = 0x7fffffff +} D3DTRANSFORMSTATETYPE; + +typedef enum _D3DVERTEXBLENDFLAGS { + D3DVBF_DISABLE = 0, + D3DVBF_1WEIGHTS = 1, + D3DVBF_2WEIGHTS = 2, + D3DVBF_3WEIGHTS = 3, + D3DVBF_TWEENING = 255, + D3DVBF_0WEIGHTS = 256 +} D3DVERTEXBLENDFLAGS; + +typedef enum _D3DZBUFFERTYPE { + D3DZB_FALSE = 0, + D3DZB_TRUE = 1, + D3DZB_USEW = 2, + + D3DZB_FORCE_DWORD = 0x7fffffff +} D3DZBUFFERTYPE; + + +/***************************************************************************** + * Direct 3D v8 typedefs + */ +typedef DWORD D3DCOLOR; + +/***************************************************************************** + * Direct 3D v8 structures + */ +typedef struct _D3DADAPTER_IDENTIFIER8 { + char Driver[MAX_DEVICE_IDENTIFIER_STRING]; + char Description[MAX_DEVICE_IDENTIFIER_STRING]; + + LARGE_INTEGER DriverVersion; + DWORD VendorId; + DWORD DeviceId; + DWORD SubSysId; + DWORD Revision; + + GUID DeviceIdentifier; + + DWORD WHQLLevel; +} D3DADAPTER_IDENTIFIER8; + +typedef struct _D3DBOX { + UINT Left; + UINT Top; + UINT Right; + UINT Bottom; + UINT Front; + UINT Back; +} D3DBOX; + +typedef struct _D3DCLIPSTATUS8 { + DWORD ClipUnion; + DWORD ClipIntersection; +} D3DCLIPSTATUS8; + +typedef struct _D3DCOLORVALUE { + float r; + float g; + float b; + float a; +} D3DCOLORVALUE; + +typedef struct _D3DDEVICE_CREATION_PARAMETERS { + UINT AdapterOrdinal; + D3DDEVTYPE DeviceType; + HWND hFocusWindow; + DWORD BehaviorFlags; +} D3DDEVICE_CREATION_PARAMETERS; + +typedef struct _D3DDISPLAYMODE { + UINT Width; + UINT Height; + UINT RefreshRate; + D3DFORMAT Format; +} D3DDISPLAYMODE; + +typedef struct _D3DGAMMARAMP { + WORD red [256]; + WORD green[256]; + WORD blue [256]; +} D3DGAMMARAMP; + +typedef struct _D3DINDEXBUFFER_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + UINT Size; +} D3DINDEXBUFFER_DESC; + +#ifndef D3DVECTOR_DEFINED +typedef struct _D3DVECTOR { + float x; + float y; + float z; +} D3DVECTOR; +#define D3DVECTOR_DEFINED +#endif + +typedef struct _D3DLIGHT8 { + D3DLIGHTTYPE Type; + D3DCOLORVALUE Diffuse; + D3DCOLORVALUE Specular; + D3DCOLORVALUE Ambient; + D3DVECTOR Position; + D3DVECTOR Direction; + float Range; + float Falloff; + float Attenuation0; + float Attenuation1; + float Attenuation2; + float Theta; + float Phi; +} D3DLIGHT8; + +typedef struct _D3DLINEPATTERN { + WORD wRepeatFactor; + WORD wLinePattern; +} D3DLINEPATTERN; + +typedef struct _D3DLOCKED_BOX { + INT RowPitch; + INT SlicePitch; + void* pBits; +} D3DLOCKED_BOX; + +typedef struct _D3DLOCKED_RECT { + INT Pitch; + void* pBits; +} D3DLOCKED_RECT; + +typedef struct _D3DMATERIAL8 { + D3DCOLORVALUE Diffuse; + D3DCOLORVALUE Ambient; + D3DCOLORVALUE Specular; + D3DCOLORVALUE Emissive; + float Power; +} D3DMATERIAL8; + +typedef struct _D3DMATRIX { + union { + struct { + float _11, _12, _13, _14; + float _21, _22, _23, _24; + float _31, _32, _33, _34; + float _41, _42, _43, _44; + } DUMMYSTRUCTNAME; + float m[4][4]; + } DUMMYUNIONNAME; +} D3DMATRIX; + +typedef struct _D3DPRESENT_PARAMETERS_ { + UINT BackBufferWidth; + UINT BackBufferHeight; + D3DFORMAT BackBufferFormat; + UINT BackBufferCount; + + D3DMULTISAMPLE_TYPE MultiSampleType; + + D3DSWAPEFFECT SwapEffect; + HWND hDeviceWindow; + BOOL Windowed; + BOOL EnableAutoDepthStencil; + D3DFORMAT AutoDepthStencilFormat; + DWORD Flags; + + UINT FullScreen_RefreshRateInHz; + UINT FullScreen_PresentationInterval; + +} D3DPRESENT_PARAMETERS; + +#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x00000001 + +typedef struct _D3DRANGE { + UINT Offset; + UINT Size; +} D3DRANGE; + +typedef struct _D3DRASTER_STATUS { + BOOL InVBlank; + UINT ScanLine; +} D3DRASTER_STATUS; + +typedef struct _D3DRECT { + LONG x1; + LONG y1; + LONG x2; + LONG y2; +} D3DRECT; + +typedef struct _D3DRECTPATCH_INFO { + UINT StartVertexOffsetWidth; + UINT StartVertexOffsetHeight; + UINT Width; + UINT Height; + UINT Stride; + D3DBASISTYPE Basis; + D3DORDERTYPE Order; +} D3DRECTPATCH_INFO; + +typedef struct _D3DSURFACE_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + UINT Size; + D3DMULTISAMPLE_TYPE MultiSampleType; + UINT Width; + UINT Height; +} D3DSURFACE_DESC; + +typedef struct _D3DTRIPATCH_INFO { + UINT StartVertexOffset; + UINT NumVertices; + D3DBASISTYPE Basis; + D3DORDERTYPE Order; +} D3DTRIPATCH_INFO; + +typedef struct _D3DVERTEXBUFFER_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + UINT Size; + DWORD FVF; +} D3DVERTEXBUFFER_DESC; + +typedef struct _D3DVIEWPORT8 { + DWORD X; + DWORD Y; + DWORD Width; + DWORD Height; + float MinZ; + float MaxZ; +} D3DVIEWPORT8; + +typedef struct _D3DVOLUME_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + UINT Size; + UINT Width; + UINT Height; + UINT Depth; +} D3DVOLUME_DESC; + +#ifdef __i386__ +#include +#endif + +#endif /* __WINE_D3D8TYPES_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9.h new file mode 100644 index 0000000..08f4555 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9.h @@ -0,0 +1,2225 @@ +/* + * Copyright (C) 2002-2003 Jason Edmeades + * Raphael Junqueira + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _D3D9_H_ +#define _D3D9_H_ + +#ifndef DIRECT3D_VERSION +#define DIRECT3D_VERSION 0x0900 +#endif + +#include + +#define COM_NO_WINDOWS_H +#include +#include +#include +#include + +/***************************************************************************** + * Behavior Flags for IDirect3D8::CreateDevice + */ +#define D3DCREATE_FPU_PRESERVE __MSABI_LONG(0x00000002) +#define D3DCREATE_MULTITHREADED __MSABI_LONG(0x00000004) +#define D3DCREATE_PUREDEVICE __MSABI_LONG(0x00000010) +#define D3DCREATE_SOFTWARE_VERTEXPROCESSING __MSABI_LONG(0x00000020) +#define D3DCREATE_HARDWARE_VERTEXPROCESSING __MSABI_LONG(0x00000040) +#define D3DCREATE_MIXED_VERTEXPROCESSING __MSABI_LONG(0x00000080) +#define D3DCREATE_DISABLE_DRIVER_MANAGEMENT __MSABI_LONG(0x00000100) +#define D3DCREATE_ADAPTERGROUP_DEVICE __MSABI_LONG(0x00000200) +#define D3DCREATE_DISABLE_DRIVER_MANAGEMENT_EX __MSABI_LONG(0x00000400) +#define D3DCREATE_NOWINDOWCHANGES __MSABI_LONG(0x00000800) +#define D3DCREATE_DISABLE_PSGP_THREADING __MSABI_LONG(0x00002000) +#define D3DCREATE_ENABLE_PRESENTSTATS __MSABI_LONG(0x00004000) +#define D3DCREATE_DISABLE_PRINTSCREEN __MSABI_LONG(0x00008000) +#define D3DCREATE_SCREENSAVER __MSABI_LONG(0x10000000) + +/***************************************************************************** + * Flags for SetPrivateData + */ +#define D3DSPD_IUNKNOWN __MSABI_LONG(0x00000001) + + +/***************************************************************************** + * #defines and error codes + */ +#define D3D_SDK_VERSION 32 +#define D3DADAPTER_DEFAULT 0 +#define D3DENUM_NO_WHQL_LEVEL __MSABI_LONG(0x00000002) +#define D3DPRESENT_DONOTWAIT __MSABI_LONG(1) +#define D3DPRESENT_LINEAR_CONTENT __MSABI_LONG(2) +#define D3DPRESENT_BACK_BUFFERS_MAX __MSABI_LONG(3) +#define D3DSGR_NO_CALIBRATION __MSABI_LONG(0x00000000) +#define D3DSGR_CALIBRATE __MSABI_LONG(0x00000001) + +#define _FACD3D 0x876 +#define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) +#define MAKE_D3DSTATUS( code ) MAKE_HRESULT( 0, _FACD3D, code ) + +/***************************************************************************** + * Direct3D Errors + */ +#define D3D_OK S_OK +#define D3DERR_WRONGTEXTUREFORMAT MAKE_D3DHRESULT(2072) +#define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_D3DHRESULT(2073) +#define D3DERR_UNSUPPORTEDCOLORARG MAKE_D3DHRESULT(2074) +#define D3DERR_UNSUPPORTEDALPHAOPERATION MAKE_D3DHRESULT(2075) +#define D3DERR_UNSUPPORTEDALPHAARG MAKE_D3DHRESULT(2076) +#define D3DERR_TOOMANYOPERATIONS MAKE_D3DHRESULT(2077) +#define D3DERR_CONFLICTINGTEXTUREFILTER MAKE_D3DHRESULT(2078) +#define D3DERR_UNSUPPORTEDFACTORVALUE MAKE_D3DHRESULT(2079) +#define D3DERR_CONFLICTINGRENDERSTATE MAKE_D3DHRESULT(2081) +#define D3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_D3DHRESULT(2082) +#define D3DERR_CONFLICTINGTEXTUREPALETTE MAKE_D3DHRESULT(2086) +#define D3DERR_DRIVERINTERNALERROR MAKE_D3DHRESULT(2087) +#define D3DERR_NOTFOUND MAKE_D3DHRESULT(2150) +#define D3DERR_MOREDATA MAKE_D3DHRESULT(2151) +#define D3DERR_DEVICELOST MAKE_D3DHRESULT(2152) +#define D3DERR_DEVICENOTRESET MAKE_D3DHRESULT(2153) +#define D3DERR_NOTAVAILABLE MAKE_D3DHRESULT(2154) +#define D3DERR_OUTOFVIDEOMEMORY MAKE_D3DHRESULT(380) +#define D3DERR_INVALIDDEVICE MAKE_D3DHRESULT(2155) +#define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156) +#define D3DERR_DRIVERINVALIDCALL MAKE_D3DHRESULT(2157) +#define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540) +#define D3DOK_NOAUTOGEN MAKE_D3DSTATUS(2159) + +#define D3DERR_DEVICEREMOVED MAKE_D3DHRESULT(2160) +#define D3DERR_DEVICEHUNG MAKE_D3DHRESULT(2164) +#define S_NOT_RESIDENT MAKE_D3DSTATUS(2165) +#define S_RESIDENT_IN_SHARED_MEMORY MAKE_D3DSTATUS(2166) +#define S_PRESENT_MODE_CHANGED MAKE_D3DSTATUS(2167) +#define S_PRESENT_OCCLUDED MAKE_D3DSTATUS(2168) +#define D3DERR_UNSUPPORTEDOVERLAY MAKE_D3DHRESULT(2171) +#define D3DERR_UNSUPPORTEDOVERLAYFORMAT MAKE_D3DHRESULT(2172) +#define D3DERR_CANNOTPROTECTCONTENT MAKE_D3DHRESULT(2173) +#define D3DERR_UNSUPPORTEDCRYPTO MAKE_D3DHRESULT(2174) +#define D3DERR_PRESENT_STATISTICS_DISJOINT MAKE_D3DHRESULT(2180) + + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(IID_IDirect3D9, 0x81BDCBCA, 0x64D4, 0x426D, 0xAE, 0x8D, 0xAD, 0x1, 0x47, 0xF4, 0x27, 0x5C); +typedef struct IDirect3D9 *LPDIRECT3D9, *PDIRECT3D9; + +DEFINE_GUID(IID_IDirect3DDevice9, 0xd0223b96, 0xbf7a, 0x43fd, 0x92, 0xbd, 0xa4, 0x3b, 0xd, 0x82, 0xb9, 0xeb); +typedef struct IDirect3DDevice9 *LPDIRECT3DDEVICE9; + +DEFINE_GUID(IID_IDirect3DResource9, 0x5eec05d, 0x8f7d, 0x4362, 0xb9, 0x99, 0xd1, 0xba, 0xf3, 0x57, 0xc7, 0x4); +typedef struct IDirect3DResource9 *LPDIRECT3DRESOURCE9, *PDIRECT3DRESOURCE9; + +DEFINE_GUID(IID_IDirect3DVertexBuffer9, 0xb64bb1b5, 0xfd70, 0x4df6, 0xbf, 0x91, 0x19, 0xd0, 0xa1, 0x24, 0x55, 0xe3); +typedef struct IDirect3DVertexBuffer9 *LPDIRECT3DVERTEXBUFFER9, *PDIRECT3DVERTEXBUFFER9; + +DEFINE_GUID(IID_IDirect3DVolume9, 0x24f416e6, 0x1f67, 0x4aa7, 0xb8, 0x8e, 0xd3, 0x3f, 0x6f, 0x31, 0x28, 0xa1); +typedef struct IDirect3DVolume9 *LPDIRECT3DVOLUME9, *PDIRECT3DVOLUME9; + +DEFINE_GUID(IID_IDirect3DSwapChain9, 0x794950f2, 0xadfc, 0x458a, 0x90, 0x5e, 0x10, 0xa1, 0xb, 0xb, 0x50, 0x3b); +typedef struct IDirect3DSwapChain9 *LPDIRECT3DSWAPCHAIN9, *PDIRECT3DSWAPCHAIN9; + +DEFINE_GUID(IID_IDirect3DSurface9, 0xcfbaf3a, 0x9ff6, 0x429a, 0x99, 0xb3, 0xa2, 0x79, 0x6a, 0xf8, 0xb8, 0x9b); +typedef struct IDirect3DSurface9 *LPDIRECT3DSURFACE9, *PDIRECT3DSURFACE9; + +DEFINE_GUID(IID_IDirect3DIndexBuffer9, 0x7c9dd65e, 0xd3f7, 0x4529, 0xac, 0xee, 0x78, 0x58, 0x30, 0xac, 0xde, 0x35); +typedef struct IDirect3DIndexBuffer9 *LPDIRECT3DINDEXBUFFER9, *PDIRECT3DINDEXBUFFER9; + +DEFINE_GUID(IID_IDirect3DBaseTexture9, 0x580ca87e, 0x1d3c, 0x4d54, 0x99, 0x1d, 0xb7, 0xd3, 0xe3, 0xc2, 0x98, 0xce); +typedef struct IDirect3DBaseTexture9 *LPDIRECT3DBASETEXTURE9, *PDIRECT3DBASETEXTURE9; + +DEFINE_GUID(IID_IDirect3DTexture9, 0x85c31227, 0x3de5, 0x4f00, 0x9b, 0x3a, 0xf1, 0x1a, 0xc3, 0x8c, 0x18, 0xb5); +typedef struct IDirect3DTexture9 *LPDIRECT3DTEXTURE9, *PDIRECT3DTEXTURE9; + +DEFINE_GUID(IID_IDirect3DCubeTexture9, 0xfff32f81, 0xd953, 0x473a, 0x92, 0x23, 0x93, 0xd6, 0x52, 0xab, 0xa9, 0x3f); +typedef struct IDirect3DCubeTexture9 *LPDIRECT3DCUBETEXTURE9, *PDIRECT3DCUBETEXTURE9; + +DEFINE_GUID(IID_IDirect3DVolumeTexture9, 0x2518526c, 0xe789, 0x4111, 0xa7, 0xb9, 0x47, 0xef, 0x32, 0x8d, 0x13, 0xe6); +typedef struct IDirect3DVolumeTexture9 *LPDIRECT3DVOLUMETEXTURE9, *PDIRECT3DVOLUMETEXTURE9; + +DEFINE_GUID(IID_IDirect3DVertexDeclaration9, 0xdd13c59c, 0x36fa, 0x4098, 0xa8, 0xfb, 0xc7, 0xed, 0x39, 0xdc, 0x85, 0x46); +typedef struct IDirect3DVertexDeclaration9 *LPDIRECT3DVERTEXDECLARATION9; + +DEFINE_GUID(IID_IDirect3DVertexShader9, 0xefc5557e, 0x6265, 0x4613, 0x8a, 0x94, 0x43, 0x85, 0x78, 0x89, 0xeb, 0x36); +typedef struct IDirect3DVertexShader9 *LPDIRECT3DVERTEXSHADER9; + +DEFINE_GUID(IID_IDirect3DPixelShader9, 0x6d3bdbdc, 0x5b02, 0x4415, 0xb8, 0x52, 0xce, 0x5e, 0x8b, 0xcc, 0xb2, 0x89); +typedef struct IDirect3DPixelShader9 *LPDIRECT3DPIXELSHADER9; + +DEFINE_GUID(IID_IDirect3DStateBlock9, 0xb07c4fe5, 0x310d, 0x4ba8, 0xa2, 0x3c, 0x4f, 0xf, 0x20, 0x6f, 0x21, 0x8b); +typedef struct IDirect3DStateBlock9 *LPDIRECT3DSTATEBLOCK9; + +DEFINE_GUID(IID_IDirect3DQuery9, 0xd9771460, 0xa695, 0x4f26, 0xbb, 0xd3, 0x27, 0xb8, 0x40, 0xb5, 0x41, 0xcc); +typedef struct IDirect3DQuery9 *LPDIRECT3DQUERY9, *PDIRECT3DQUERY9; + +/***************************************************************************** + * IDirect3D9 interface + */ +#undef INTERFACE +#define INTERFACE IDirect3D9 +DECLARE_INTERFACE_(IDirect3D9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3D9 methods ***/ + STDMETHOD(RegisterSoftwareDevice)(THIS_ void* pInitializeFunction) PURE; + STDMETHOD_(UINT, GetAdapterCount)(THIS) PURE; + STDMETHOD(GetAdapterIdentifier)(THIS_ UINT Adapter, DWORD Flags, D3DADAPTER_IDENTIFIER9* pIdentifier) PURE; + STDMETHOD_(UINT, GetAdapterModeCount)(THIS_ UINT Adapter, D3DFORMAT Format) PURE; + STDMETHOD(EnumAdapterModes)(THIS_ UINT Adapter, D3DFORMAT Format, UINT Mode, D3DDISPLAYMODE* pMode) PURE; + STDMETHOD(GetAdapterDisplayMode)(THIS_ UINT Adapter, D3DDISPLAYMODE* pMode) PURE; + STDMETHOD(CheckDeviceType)(THIS_ UINT iAdapter, D3DDEVTYPE DevType, D3DFORMAT DisplayFormat, D3DFORMAT BackBufferFormat, BOOL bWindowed) PURE; + STDMETHOD(CheckDeviceFormat)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, DWORD Usage, D3DRESOURCETYPE RType, D3DFORMAT CheckFormat) PURE; + STDMETHOD(CheckDeviceMultiSampleType)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT SurfaceFormat, BOOL Windowed, D3DMULTISAMPLE_TYPE MultiSampleType, DWORD* pQualityLevels) PURE; + STDMETHOD(CheckDepthStencilMatch)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, D3DFORMAT RenderTargetFormat, D3DFORMAT DepthStencilFormat) PURE; + STDMETHOD(CheckDeviceFormatConversion)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DFORMAT SourceFormat, D3DFORMAT TargetFormat) PURE; + STDMETHOD(GetDeviceCaps)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DCAPS9* pCaps) PURE; + STDMETHOD_(HMONITOR, GetAdapterMonitor)(THIS_ UINT Adapter) PURE; + STDMETHOD(CreateDevice)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, HWND hFocusWindow, DWORD BehaviorFlags, D3DPRESENT_PARAMETERS* pPresentationParameters, struct IDirect3DDevice9** ppReturnedDeviceInterface) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3D9, 0x81BDCBCA, 0x64D4, 0x426D, 0xAE, 0x8D, 0xAD, 0x1, 0x47, 0xF4, 0x27, 0x5C); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3D9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3D9 methods ***/ +#define IDirect3D9_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a) +#define IDirect3D9_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p) +#define IDirect3D9_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c) +#define IDirect3D9_GetAdapterModeCount(p,a,b) (p)->lpVtbl->GetAdapterModeCount(p,a,b) +#define IDirect3D9_EnumAdapterModes(p,a,b,c,d) (p)->lpVtbl->EnumAdapterModes(p,a,b,c,d) +#define IDirect3D9_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b) +#define IDirect3D9_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e) +#define IDirect3D9_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceFormat(p,a,b,c,d,e,f) +#define IDirect3D9_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceMultiSampleType(p,a,b,c,d,e,f) +#define IDirect3D9_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->lpVtbl->CheckDepthStencilMatch(p,a,b,c,d,e) +#define IDirect3D9_CheckDeviceFormatConversion(p,a,b,c,d) (p)->lpVtbl->CheckDeviceFormatConversion(p,a,b,c,d) +#define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c) +#define IDirect3D9_GetAdapterMonitor(p,a) (p)->lpVtbl->GetAdapterMonitor(p,a) +#define IDirect3D9_CreateDevice(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f) +#else +/*** IUnknown methods ***/ +#define IDirect3D9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D9_AddRef(p) (p)->AddRef() +#define IDirect3D9_Release(p) (p)->Release() +/*** IDirect3D9 methods ***/ +#define IDirect3D9_RegisterSoftwareDevice(p,a) (p)->RegisterSoftwareDevice(a) +#define IDirect3D9_GetAdapterCount(p) (p)->GetAdapterCount() +#define IDirect3D9_GetAdapterIdentifier(p,a,b,c) (p)->GetAdapterIdentifier(a,b,c) +#define IDirect3D9_GetAdapterModeCount(p,a,b) (p)->GetAdapterModeCount(a,b) +#define IDirect3D9_EnumAdapterModes(p,a,b,c,d) (p)->EnumAdapterModes(a,b,c,d) +#define IDirect3D9_GetAdapterDisplayMode(p,a,b) (p)->GetAdapterDisplayMode(a,b) +#define IDirect3D9_CheckDeviceType(p,a,b,c,d,e) (p)->CheckDeviceType(a,b,c,d,e) +#define IDirect3D9_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->CheckDeviceFormat(a,b,c,d,e,f) +#define IDirect3D9_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->CheckDeviceMultiSampleType(a,b,c,d,e,f) +#define IDirect3D9_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->CheckDepthStencilMatch(a,b,c,d,e) +#define IDirect3D9_CheckDeviceFormatConversion(p,a,b,c,d) (p)->CheckDeviceFormatConversion(a,b,c,d) +#define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->GetDeviceCaps(a,b,c) +#define IDirect3D9_GetAdapterMonitor(p,a) (p)->GetAdapterMonitor(a) +#define IDirect3D9_CreateDevice(p,a,b,c,d,e,f) (p)->CreateDevice(a,b,c,d,e,f) +#endif + +/***************************************************************************** + * IDirect3DVolume9 interface + */ +#define INTERFACE IDirect3DVolume9 +DECLARE_INTERFACE_(IDirect3DVolume9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DVolume9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD(GetContainer)(THIS_ REFIID riid, void** ppContainer) PURE; + STDMETHOD(GetDesc)(THIS_ D3DVOLUME_DESC* pDesc) PURE; + STDMETHOD(LockBox)(THIS_ D3DLOCKED_BOX *locked_box, const D3DBOX *box, DWORD flags) PURE; + STDMETHOD(UnlockBox)(THIS) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DVolume9, 0x24f416e6, 0x1f67, 0x4aa7, 0xb8, 0x8e, 0xd3, 0x3f, 0x6f, 0x31, 0x28, 0xa1); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVolume9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVolume9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVolume9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVolume9 methods ***/ +#define IDirect3DVolume9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVolume9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DVolume9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DVolume9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DVolume9_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b) +#define IDirect3DVolume9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define IDirect3DVolume9_LockBox(p,a,b,c) (p)->lpVtbl->LockBox(p,a,b,c) +#define IDirect3DVolume9_UnlockBox(p) (p)->lpVtbl->UnlockBox(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DVolume9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVolume9_AddRef(p) (p)->AddRef() +#define IDirect3DVolume9_Release(p) (p)->Release() +/*** IDirect3DVolume9 methods ***/ +#define IDirect3DVolume9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVolume9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DVolume9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DVolume9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DVolume9_GetContainer(p,a,b) (p)->GetContainer(a,b) +#define IDirect3DVolume9_GetDesc(p,a) (p)->GetDesc(a) +#define IDirect3DVolume9_LockBox(p,a,b,c) (p)->LockBox(a,b,c) +#define IDirect3DVolume9_UnlockBox(p) (p)->UnlockBox() +#endif + +/***************************************************************************** + * IDirect3DSwapChain9 interface + */ +#define INTERFACE IDirect3DSwapChain9 +DECLARE_INTERFACE_(IDirect3DSwapChain9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DSwapChain9 methods ***/ + STDMETHOD(Present)(THIS_ const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, + const RGNDATA *dirty_region, DWORD flags) PURE; + STDMETHOD(GetFrontBufferData)(THIS_ struct IDirect3DSurface9 *pDestSurface) PURE; + STDMETHOD(GetBackBuffer)(THIS_ UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, struct IDirect3DSurface9 **ppBackBuffer) PURE; + STDMETHOD(GetRasterStatus)(THIS_ D3DRASTER_STATUS *pRasterStatus) PURE; + STDMETHOD(GetDisplayMode)(THIS_ D3DDISPLAYMODE *pMode) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **ppDevice) PURE; + STDMETHOD(GetPresentParameters)(THIS_ D3DPRESENT_PARAMETERS *pPresentationParameters) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DSwapChain9, 0x794950f2, 0xadfc, 0x458a, 0x90, 0x5e, 0x10, 0xa1, 0xb, 0xb, 0x50, 0x3b); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DSwapChain9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DSwapChain9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DSwapChain9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DSwapChain9 methods ***/ +#define IDirect3DSwapChain9_Present(p,a,b,c,d,e) (p)->lpVtbl->Present(p,a,b,c,d,e) +#define IDirect3DSwapChain9_GetFrontBufferData(p,a) (p)->lpVtbl->GetFrontBufferData(p,a) +#define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c) +#define IDirect3DSwapChain9_GetRasterStatus(p,a) (p)->lpVtbl->GetRasterStatus(p,a) +#define IDirect3DSwapChain9_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirect3DSwapChain9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DSwapChain9_GetPresentParameters(p,a) (p)->lpVtbl->GetPresentParameters(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DSwapChain9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DSwapChain9_AddRef(p) (p)->AddRef() +#define IDirect3DSwapChain9_Release(p) (p)->Release() +/*** IDirect3DSwapChain9 methods ***/ +#define IDirect3DSwapChain9_Present(p,a,b,c,d,e) (p)->Present(a,b,c,d,e) +#define IDirect3DSwapChain9_GetFrontBufferData(p,a) (p)->GetFrontBufferData(a) +#define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c) (p)->GetBackBuffer(a,b,c) +#define IDirect3DSwapChain9_GetRasterStatus(p,a) (p)->GetRasterStatus(a) +#define IDirect3DSwapChain9_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirect3DSwapChain9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DSwapChain9_GetPresentParameters(p,a) (p)->GetPresentParameters(a) +#endif + +/***************************************************************************** + * IDirect3DResource9 interface + */ +#define INTERFACE IDirect3DResource9 +DECLARE_INTERFACE_(IDirect3DResource9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DResource9, 0x5eec05d, 0x8f7d, 0x4362, 0xb9, 0x99, 0xd1, 0xba, 0xf3, 0x57, 0xc7, 0x4); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DResource9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DResource9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DResource9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DResource9 methods ***/ +#define IDirect3DResource9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DResource9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DResource9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DResource9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DResource9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DResource9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DResource9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DResource9_GetType(p) (p)->lpVtbl->GetType(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DResource9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DResource9_AddRef(p) (p)->AddRef() +#define IDirect3DResource9_Release(p) (p)->Release() +/*** IDirect3DResource9 methods ***/ +#define IDirect3DResource9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DResource9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DResource9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DResource9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DResource9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DResource9_GetPriority(p) (p)->GetPriority() +#define IDirect3DResource9_PreLoad(p) (p)->PreLoad() +#define IDirect3DResource9_GetType(p) (p)->GetType() +#endif + +/***************************************************************************** + * IDirect3DSurface9 interface + */ +#define INTERFACE IDirect3DSurface9 +DECLARE_INTERFACE_(IDirect3DSurface9,IDirect3DResource9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DSurface9 methods ***/ + STDMETHOD(GetContainer)(THIS_ REFIID riid, void** ppContainer) PURE; + STDMETHOD(GetDesc)(THIS_ D3DSURFACE_DESC* pDesc) PURE; + STDMETHOD(LockRect)(THIS_ D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags) PURE; + STDMETHOD(UnlockRect)(THIS) PURE; + STDMETHOD(GetDC)(THIS_ HDC* phdc) PURE; + STDMETHOD(ReleaseDC)(THIS_ HDC hdc) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DSurface9, 0xcfbaf3a, 0x9ff6, 0x429a, 0x99, 0xb3, 0xa2, 0x79, 0x6a, 0xf8, 0xb8, 0x9b); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DSurface9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DSurface9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DSurface9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DSurface9 methods: IDirect3DResource9 ***/ +#define IDirect3DSurface9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DSurface9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DSurface9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DSurface9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DSurface9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DSurface9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DSurface9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DSurface9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DSurface9 methods ***/ +#define IDirect3DSurface9_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b) +#define IDirect3DSurface9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define IDirect3DSurface9_LockRect(p,a,b,c) (p)->lpVtbl->LockRect(p,a,b,c) +#define IDirect3DSurface9_UnlockRect(p) (p)->lpVtbl->UnlockRect(p) +#define IDirect3DSurface9_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) +#define IDirect3DSurface9_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DSurface9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DSurface9_AddRef(p) (p)->AddRef() +#define IDirect3DSurface9_Release(p) (p)->Release() +/*** IDirect3DSurface9 methods: IDirect3DResource9 ***/ +#define IDirect3DSurface9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DSurface9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DSurface9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DSurface9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DSurface9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DSurface9_GetPriority(p) (p)->GetPriority() +#define IDirect3DSurface9_PreLoad(p) (p)->PreLoad() +#define IDirect3DSurface9_GetType(p) (p)->GetType() +/*** IDirect3DSurface9 methods ***/ +#define IDirect3DSurface9_GetContainer(p,a,b) (p)->GetContainer(a,b) +#define IDirect3DSurface9_GetDesc(p,a) (p)->GetDesc(a) +#define IDirect3DSurface9_LockRect(p,a,b,c) (p)->LockRect(a,b,c) +#define IDirect3DSurface9_UnlockRect(p) (p)->UnlockRect() +#define IDirect3DSurface9_GetDC(p,a) (p)->GetDC(a) +#define IDirect3DSurface9_ReleaseDC(p,a) (p)->ReleaseDC(a) +#endif + +/***************************************************************************** + * IDirect3DVertexBuffer9 interface + */ +#define INTERFACE IDirect3DVertexBuffer9 +DECLARE_INTERFACE_(IDirect3DVertexBuffer9,IDirect3DResource9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DVertexBuffer9 methods ***/ + STDMETHOD(Lock)(THIS_ UINT OffsetToLock, UINT SizeToLock, void** ppbData, DWORD Flags) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3DVERTEXBUFFER_DESC* pDesc) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DVertexBuffer9, 0xb64bb1b5, 0xfd70, 0x4df6, 0xbf, 0x91, 0x19, 0xd0, 0xa1, 0x24, 0x55, 0xe3); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVertexBuffer9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVertexBuffer9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVertexBuffer9 methods: IDirect3DResource9 ***/ +#define IDirect3DVertexBuffer9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVertexBuffer9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DVertexBuffer9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DVertexBuffer9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DVertexBuffer9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DVertexBuffer9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DVertexBuffer9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DVertexBuffer9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DVertexBuffer9 methods ***/ +#define IDirect3DVertexBuffer9_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirect3DVertexBuffer9_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DVertexBuffer9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DVertexBuffer9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVertexBuffer9_AddRef(p) (p)->AddRef() +#define IDirect3DVertexBuffer9_Release(p) (p)->Release() +/*** IDirect3DVertexBuffer9 methods: IDirect3DResource9 ***/ +#define IDirect3DVertexBuffer9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVertexBuffer9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DVertexBuffer9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DVertexBuffer9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DVertexBuffer9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DVertexBuffer9_GetPriority(p) (p)->GetPriority() +#define IDirect3DVertexBuffer9_PreLoad(p) (p)->PreLoad() +#define IDirect3DVertexBuffer9_GetType(p) (p)->GetType() +/*** IDirect3DVertexBuffer9 methods ***/ +#define IDirect3DVertexBuffer9_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirect3DVertexBuffer9_Unlock(p) (p)->Unlock() +#define IDirect3DVertexBuffer9_GetDesc(p,a) (p)->GetDesc(a) +#endif + +/***************************************************************************** + * IDirect3DIndexBuffer9 interface + */ +#define INTERFACE IDirect3DIndexBuffer9 +DECLARE_INTERFACE_(IDirect3DIndexBuffer9,IDirect3DResource9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DIndexBuffer9 methods ***/ + STDMETHOD(Lock)(THIS_ UINT OffsetToLock, UINT SizeToLock, void** ppbData, DWORD Flags) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(GetDesc)(THIS_ D3DINDEXBUFFER_DESC* pDesc) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DIndexBuffer9, 0x7c9dd65e, 0xd3f7, 0x4529, 0xac, 0xee, 0x78, 0x58, 0x30, 0xac, 0xde, 0x35); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DIndexBuffer9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DIndexBuffer9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DIndexBuffer9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DIndexBuffer9 methods: IDirect3DResource9 ***/ +#define IDirect3DIndexBuffer9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DIndexBuffer9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DIndexBuffer9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DIndexBuffer9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DIndexBuffer9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DIndexBuffer9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DIndexBuffer9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DIndexBuffer9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DIndexBuffer9 methods ***/ +#define IDirect3DIndexBuffer9_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirect3DIndexBuffer9_Unlock(p) (p)->lpVtbl->Unlock(p) +#define IDirect3DIndexBuffer9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DIndexBuffer9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DIndexBuffer9_AddRef(p) (p)->AddRef() +#define IDirect3DIndexBuffer9_Release(p) (p)->Release() +/*** IDirect3DIndexBuffer9 methods: IDirect3DResource9 ***/ +#define IDirect3DIndexBuffer9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DIndexBuffer9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DIndexBuffer9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DIndexBuffer9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DIndexBuffer9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DIndexBuffer9_GetPriority(p) (p)->GetPriority() +#define IDirect3DIndexBuffer9_PreLoad(p) (p)->PreLoad() +#define IDirect3DIndexBuffer9_GetType(p) (p)->GetType() +/*** IDirect3DIndexBuffer9 methods ***/ +#define IDirect3DIndexBuffer9_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirect3DIndexBuffer9_Unlock(p) (p)->Unlock() +#define IDirect3DIndexBuffer9_GetDesc(p,a) (p)->GetDesc(a) +#endif + +/***************************************************************************** + * IDirect3DBaseTexture9 interface + */ +#define INTERFACE IDirect3DBaseTexture9 +DECLARE_INTERFACE_(IDirect3DBaseTexture9,IDirect3DResource9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DBaseTexture9 methods ***/ + STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD, GetLOD)(THIS) PURE; + STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE; + STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE; + STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE; + STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DBaseTexture9, 0x580ca87e, 0x1d3c, 0x4d54, 0x99, 0x1d, 0xb7, 0xd3, 0xe3, 0xc2, 0x98, 0xce); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DBaseTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DBaseTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DBaseTexture9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DBaseTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DBaseTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DBaseTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DBaseTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DBaseTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DBaseTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DBaseTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DBaseTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DBaseTexture9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DBaseTexture9 methods ***/ +#define IDirect3DBaseTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DBaseTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DBaseTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +#define IDirect3DBaseTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) +#define IDirect3DBaseTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) +#define IDirect3DBaseTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DBaseTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DBaseTexture9_AddRef(p) (p)->AddRef() +#define IDirect3DBaseTexture9_Release(p) (p)->Release() +/*** IDirect3DBaseTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DBaseTexture9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DBaseTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DBaseTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DBaseTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DBaseTexture9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DBaseTexture9_GetPriority(p) (p)->GetPriority() +#define IDirect3DBaseTexture9_PreLoad(p) (p)->PreLoad() +#define IDirect3DBaseTexture9_GetType(p) (p)->GetType() +/*** IDirect3DBaseTexture9 methods ***/ +#define IDirect3DBaseTexture9_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DBaseTexture9_GetLOD(p) (p)->GetLOD() +#define IDirect3DBaseTexture9_GetLevelCount(p) (p)->GetLevelCount() +#define IDirect3DBaseTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) +#define IDirect3DBaseTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() +#define IDirect3DBaseTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() +#endif + +/***************************************************************************** + * IDirect3DCubeTexture9 interface + */ +#define INTERFACE IDirect3DCubeTexture9 +DECLARE_INTERFACE_(IDirect3DCubeTexture9,IDirect3DBaseTexture9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DBaseTexture9 methods ***/ + STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD, GetLOD)(THIS) PURE; + STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE; + STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE; + STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE; + STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE; + /*** IDirect3DCubeTexture9 methods ***/ + STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC* pDesc) PURE; + STDMETHOD(GetCubeMapSurface)(THIS_ D3DCUBEMAP_FACES FaceType, UINT Level, IDirect3DSurface9** ppCubeMapSurface) PURE; + STDMETHOD(LockRect)(THIS_ D3DCUBEMAP_FACES face, UINT level, + D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags) PURE; + STDMETHOD(UnlockRect)(THIS_ D3DCUBEMAP_FACES FaceType, UINT Level) PURE; + STDMETHOD(AddDirtyRect)(THIS_ D3DCUBEMAP_FACES face, const RECT *dirty_rect) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DCubeTexture9, 0xfff32f81, 0xd953, 0x473a, 0x92, 0x23, 0x93, 0xd6, 0x52, 0xab, 0xa9, 0x3f); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DCubeTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DCubeTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DCubeTexture9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DCubeTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DCubeTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DCubeTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DCubeTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DCubeTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DCubeTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DCubeTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DCubeTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DCubeTexture9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DCubeTexture9 methods: IDirect3DBaseTexture9 ***/ +#define IDirect3DCubeTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DCubeTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DCubeTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +#define IDirect3DCubeTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) +#define IDirect3DCubeTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) +#define IDirect3DCubeTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) +/*** IDirect3DCubeTexture9 methods ***/ +#define IDirect3DCubeTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) +#define IDirect3DCubeTexture9_GetCubeMapSurface(p,a,b,c) (p)->lpVtbl->GetCubeMapSurface(p,a,b,c) +#define IDirect3DCubeTexture9_LockRect(p,a,b,c,d,e) (p)->lpVtbl->LockRect(p,a,b,c,d,e) +#define IDirect3DCubeTexture9_UnlockRect(p,a,b) (p)->lpVtbl->UnlockRect(p,a,b) +#define IDirect3DCubeTexture9_AddDirtyRect(p,a,b) (p)->lpVtbl->AddDirtyRect(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DCubeTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DCubeTexture9_AddRef(p) (p)->AddRef() +#define IDirect3DCubeTexture9_Release(p) (p)->Release() +/*** IDirect3DCubeTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DCubeTexture9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DCubeTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DCubeTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DCubeTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DCubeTexture9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DCubeTexture9_GetPriority(p) (p)->GetPriority() +#define IDirect3DCubeTexture9_PreLoad(p) (p)->PreLoad() +#define IDirect3DCubeTexture9_GetType(p) (p)->GetType() +/*** IDirect3DCubeTexture9 methods: IDirect3DBaseTexture9 ***/ +#define IDirect3DCubeTexture9_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DCubeTexture9_GetLOD(p) (p)->GetLOD() +#define IDirect3DCubeTexture9_GetLevelCount(p) (p)->GetLevelCount() +#define IDirect3DCubeTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) +#define IDirect3DCubeTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() +#define IDirect3DCubeTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() +/*** IDirect3DCubeTexture9 methods ***/ +#define IDirect3DCubeTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) +#define IDirect3DCubeTexture9_GetCubeMapSurface(p,a,b,c) (p)->GetCubeMapSurface(a,b,c) +#define IDirect3DCubeTexture9_LockRect(p,a,b,c,d,e) (p)->LockRect(a,b,c,d,e) +#define IDirect3DCubeTexture9_UnlockRect(p,a,b) (p)->UnlockRect(a,b) +#define IDirect3DCubeTexture9_AddDirtyRect(p,a,b) (p)->AddDirtyRect(a,b) +#endif + +/***************************************************************************** + * IDirect3DTexture9 interface + */ +#define INTERFACE IDirect3DTexture9 +DECLARE_INTERFACE_(IDirect3DTexture9,IDirect3DBaseTexture9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DBaseTexture9 methods ***/ + STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD, GetLOD)(THIS) PURE; + STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE; + STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE; + STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE; + STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE; + /*** IDirect3DTexture9 methods ***/ + STDMETHOD(GetLevelDesc)(THIS_ UINT Level, D3DSURFACE_DESC* pDesc) PURE; + STDMETHOD(GetSurfaceLevel)(THIS_ UINT Level, IDirect3DSurface9** ppSurfaceLevel) PURE; + STDMETHOD(LockRect)(THIS_ UINT level, D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags) PURE; + STDMETHOD(UnlockRect)(THIS_ UINT Level) PURE; + STDMETHOD(AddDirtyRect)(THIS_ const RECT *dirty_rect) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DTexture9, 0x85c31227, 0x3de5, 0x4f00, 0x9b, 0x3a, 0xf1, 0x1a, 0xc3, 0x8c, 0x18, 0xb5); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DTexture9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DTexture9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DTexture9 methods: IDirect3DBaseTexture9 ***/ +#define IDirect3DTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +#define IDirect3DTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) +#define IDirect3DTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) +#define IDirect3DTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) +/*** IDirect3DTexture9 methods ***/ +#define IDirect3DTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) +#define IDirect3DTexture9_GetSurfaceLevel(p,a,b) (p)->lpVtbl->GetSurfaceLevel(p,a,b) +#define IDirect3DTexture9_LockRect(p,a,b,c,d) (p)->lpVtbl->LockRect(p,a,b,c,d) +#define IDirect3DTexture9_UnlockRect(p,a) (p)->lpVtbl->UnlockRect(p,a) +#define IDirect3DTexture9_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DTexture9_AddRef(p) (p)->AddRef() +#define IDirect3DTexture9_Release(p) (p)->Release() +/*** IDirect3DTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DTexture9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DTexture9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DTexture9_GetPriority(p) (p)->GetPriority() +#define IDirect3DTexture9_PreLoad(p) (p)->PreLoad() +#define IDirect3DTexture9_GetType(p) (p)->GetType() +/*** IDirect3DTexture9 methods: IDirect3DBaseTexture9 ***/ +#define IDirect3DTexture9_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DTexture9_GetLOD(p) (p)->GetLOD() +#define IDirect3DTexture9_GetLevelCount(p) (p)->GetLevelCount() +#define IDirect3DTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) +#define IDirect3DTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() +#define IDirect3DTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() +/*** IDirect3DTexture9 methods ***/ +#define IDirect3DTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) +#define IDirect3DTexture9_GetSurfaceLevel(p,a,b) (p)->GetSurfaceLevel(a,b) +#define IDirect3DTexture9_LockRect(p,a,b,c,d) (p)->LockRect(a,b,c,d) +#define IDirect3DTexture9_UnlockRect(p,a) (p)->UnlockRect(a) +#define IDirect3DTexture9_AddDirtyRect(p,a) (p)->AddDirtyRect(a) +#endif + +/***************************************************************************** + * IDirect3DVolumeTexture9 interface + */ +#define INTERFACE IDirect3DVolumeTexture9 +DECLARE_INTERFACE_(IDirect3DVolumeTexture9,IDirect3DBaseTexture9) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DResource9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(SetPrivateData)(THIS_ REFGUID guid, const void *data, DWORD data_size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid, void* pData, DWORD* pSizeOfData) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE; + STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE; + STDMETHOD_(DWORD, GetPriority)(THIS) PURE; + STDMETHOD_(void, PreLoad)(THIS) PURE; + STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE; + /*** IDirect3DBaseTexture9 methods ***/ + STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE; + STDMETHOD_(DWORD, GetLOD)(THIS) PURE; + STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE; + STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE; + STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE; + STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE; + /*** IDirect3DVolumeTexture9 methods ***/ + STDMETHOD(GetLevelDesc)(THIS_ UINT Level, D3DVOLUME_DESC *pDesc) PURE; + STDMETHOD(GetVolumeLevel)(THIS_ UINT Level, IDirect3DVolume9** ppVolumeLevel) PURE; + STDMETHOD(LockBox)(THIS_ UINT level, D3DLOCKED_BOX *locked_box, const D3DBOX *box, DWORD flags) PURE; + STDMETHOD(UnlockBox)(THIS_ UINT Level) PURE; + STDMETHOD(AddDirtyBox)(THIS_ const D3DBOX *dirty_box) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DVolumeTexture9, 0x2518526c, 0xe789, 0x4111, 0xa7, 0xb9, 0x47, 0xef, 0x32, 0x8d, 0x13, 0xe6); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVolumeTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVolumeTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVolumeTexture9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVolumeTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DVolumeTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVolumeTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirect3DVolumeTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirect3DVolumeTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirect3DVolumeTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirect3DVolumeTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) +#define IDirect3DVolumeTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) +#define IDirect3DVolumeTexture9_GetType(p) (p)->lpVtbl->GetType(p) +/*** IDirect3DVolumeTexture9 methods: IDirect3DBaseTexture9 ***/ +#define IDirect3DVolumeTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirect3DVolumeTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) +#define IDirect3DVolumeTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) +#define IDirect3DVolumeTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) +#define IDirect3DVolumeTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) +#define IDirect3DVolumeTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) +/*** IDirect3DVolumeTexture9 methods ***/ +#define IDirect3DVolumeTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) +#define IDirect3DVolumeTexture9_GetVolumeLevel(p,a,b) (p)->lpVtbl->GetVolumeLevel(p,a,b) +#define IDirect3DVolumeTexture9_LockBox(p,a,b,c,d) (p)->lpVtbl->LockBox(p,a,b,c,d) +#define IDirect3DVolumeTexture9_UnlockBox(p,a) (p)->lpVtbl->UnlockBox(p,a) +#define IDirect3DVolumeTexture9_AddDirtyBox(p,a) (p)->lpVtbl->AddDirtyBox(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DVolumeTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVolumeTexture9_AddRef(p) (p)->AddRef() +#define IDirect3DVolumeTexture9_Release(p) (p)->Release() +/*** IDirect3DVolumeTexture9 methods: IDirect3DResource9 ***/ +#define IDirect3DVolumeTexture9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVolumeTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirect3DVolumeTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirect3DVolumeTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirect3DVolumeTexture9_SetPriority(p,a) (p)->SetPriority(a) +#define IDirect3DVolumeTexture9_GetPriority(p) (p)->GetPriority() +#define IDirect3DVolumeTexture9_PreLoad(p) (p)->PreLoad() +#define IDirect3DVolumeTexture9_GetType(p) (p)->GetType() +/*** IDirect3DVolumeTexture9 methods: IDirect3DBaseTexture9 ***/ +#define IDirect3DVolumeTexture9_SetLOD(p,a) (p)->SetLOD(a) +#define IDirect3DVolumeTexture9_GetLOD(p) (p)->GetLOD() +#define IDirect3DVolumeTexture9_GetLevelCount(p) (p)->GetLevelCount() +#define IDirect3DVolumeTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) +#define IDirect3DVolumeTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() +#define IDirect3DVolumeTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() +/*** IDirect3DVolumeTexture9 methods ***/ +#define IDirect3DVolumeTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) +#define IDirect3DVolumeTexture9_GetVolumeLevel(p,a,b) (p)->GetVolumeLevel(a,b) +#define IDirect3DVolumeTexture9_LockBox(p,a,b,c,d) (p)->LockBox(a,b,c,d) +#define IDirect3DVolumeTexture9_UnlockBox(p,a) (p)->UnlockBox(a) +#define IDirect3DVolumeTexture9_AddDirtyBox(p,a) (p)->AddDirtyBox(a) +#endif + +/***************************************************************************** + * IDirect3DVertexDeclaration9 interface + */ +#define INTERFACE IDirect3DVertexDeclaration9 +DECLARE_INTERFACE_(IDirect3DVertexDeclaration9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DVertexDeclaration9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9*, UINT* pNumElements) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DVertexDeclaration9, 0xdd13c59c, 0x36fa, 0x4098, 0xa8, 0xfb, 0xc7, 0xed, 0x39, 0xdc, 0x85, 0x46); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVertexDeclaration9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVertexDeclaration9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVertexDeclaration9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVertexShader9 methods ***/ +#define IDirect3DVertexDeclaration9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVertexDeclaration9_GetDeclaration(p,a,b) (p)->lpVtbl->GetDeclaration(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DVertexDeclaration9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVertexDeclaration9_AddRef(p) (p)->AddRef() +#define IDirect3DVertexDeclaration9_Release(p) (p)->Release() +/*** IDirect3DVertexShader9 methods ***/ +#define IDirect3DVertexDeclaration9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVertexDeclaration9_GetDeclaration(p,a,b) (p)->GetDeclaration(a,b) +#endif + +/***************************************************************************** + * IDirect3DVertexShader9 interface + */ +#define INTERFACE IDirect3DVertexShader9 +DECLARE_INTERFACE_(IDirect3DVertexShader9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DVertexShader9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(GetFunction)(THIS_ void*, UINT* pSizeOfData) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DVertexShader9, 0xefc5557e, 0x6265, 0x4613, 0x8a, 0x94, 0x43, 0x85, 0x78, 0x89, 0xeb, 0x36); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DVertexShader9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DVertexShader9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DVertexShader9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DVertexShader9 methods ***/ +#define IDirect3DVertexShader9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DVertexShader9_GetFunction(p,a,b) (p)->lpVtbl->GetFunction(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DVertexShader9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DVertexShader9_AddRef(p) (p)->AddRef() +#define IDirect3DVertexShader9_Release(p) (p)->Release() +/*** IDirect3DVertexShader9 methods ***/ +#define IDirect3DVertexShader9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DVertexShader9_GetFunction(p,a,b) (p)->GetFunction(a,b) +#endif + +/***************************************************************************** + * IDirect3DPixelShader9 interface + */ +#define INTERFACE IDirect3DPixelShader9 +DECLARE_INTERFACE_(IDirect3DPixelShader9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DPixelShader9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(GetFunction)(THIS_ void*, UINT* pSizeOfData) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DPixelShader9, 0x6d3bdbdc, 0x5b02, 0x4415, 0xb8, 0x52, 0xce, 0x5e, 0x8b, 0xcc, 0xb2, 0x89); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DPixelShader9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DPixelShader9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DPixelShader9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DPixelShader9 methods ***/ +#define IDirect3DPixelShader9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DPixelShader9_GetFunction(p,a,b) (p)->lpVtbl->GetFunction(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DPixelShader9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DPixelShader9_AddRef(p) (p)->AddRef() +#define IDirect3DPixelShader9_Release(p) (p)->Release() +/*** IDirect3DPixelShader9 methods ***/ +#define IDirect3DPixelShader9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DPixelShader9_GetFunction(p,a,b) (p)->GetFunction(a,b) +#endif + +/***************************************************************************** + * IDirect3DStateBlock9 interface + */ +#define INTERFACE IDirect3DStateBlock9 +DECLARE_INTERFACE_(IDirect3DStateBlock9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DStateBlock9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD(Capture)(THIS) PURE; + STDMETHOD(Apply)(THIS) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DStateBlock9, 0xb07c4fe5, 0x310d, 0x4ba8, 0xa2, 0x3c, 0x4f, 0xf, 0x20, 0x6f, 0x21, 0x8b); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DStateBlock9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DStateBlock9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DStateBlock9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DStateBlock9 methods ***/ +#define IDirect3DStateBlock9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DStateBlock9_Capture(p) (p)->lpVtbl->Capture(p) +#define IDirect3DStateBlock9_Apply(p) (p)->lpVtbl->Apply(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DStateBlock9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DStateBlock9_AddRef(p) (p)->AddRef() +#define IDirect3DStateBlock9_Release(p) (p)->Release() +/*** IDirect3DStateBlock9 methods ***/ +#define IDirect3DStateBlock9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DStateBlock9_Capture(p) (p)->Capture() +#define IDirect3DStateBlock9_Apply(p) (p)->Apply() +#endif + +/***************************************************************************** + * IDirect3DQuery9 interface + */ +#define INTERFACE IDirect3DQuery9 +DECLARE_INTERFACE_(IDirect3DQuery9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DQuery9 methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9** ppDevice) PURE; + STDMETHOD_(D3DQUERYTYPE, GetType)(THIS) PURE; + STDMETHOD_(DWORD, GetDataSize)(THIS) PURE; + STDMETHOD(Issue)(THIS_ DWORD dwIssueFlags) PURE; + STDMETHOD(GetData)(THIS_ void* pData, DWORD dwSize, DWORD dwGetDataFlags) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DQuery9, 0xd9771460, 0xa695, 0x4f26, 0xbb, 0xd3, 0x27, 0xb8, 0x40, 0xb5, 0x41, 0xcc); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DQuery9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DQuery9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DQuery9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DQuery9 ***/ +#define IDirect3DQuery9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DQuery9_GetType(p) (p)->lpVtbl->GetType(p) +#define IDirect3DQuery9_GetDataSize(p) (p)->lpVtbl->GetDataSize(p) +#define IDirect3DQuery9_Issue(p,a) (p)->lpVtbl->Issue(p,a) +#define IDirect3DQuery9_GetData(p,a,b,c) (p)->lpVtbl->GetData(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DQuery9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DQuery9_AddRef(p) (p)->AddRef() +#define IDirect3DQuery9_Release(p) (p)->Release() +/*** IDirect3DQuery9 ***/ +#define IDirect3DQuery9_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DQuery9_GetType(p) (p)->GetType() +#define IDirect3DQuery9_GetDataSize(p) (p)->GetDataSize() +#define IDirect3DQuery9_Issue(p,a) (p)->Issue(a) +#define IDirect3DQuery9_GetData(p,a,b,c) (p)->GetData(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DDevice9 interface + */ +#define INTERFACE IDirect3DDevice9 +DECLARE_INTERFACE_(IDirect3DDevice9,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DDevice9 methods ***/ + STDMETHOD(TestCooperativeLevel)(THIS) PURE; + STDMETHOD_(UINT, GetAvailableTextureMem)(THIS) PURE; + STDMETHOD(EvictManagedResources)(THIS) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D9** ppD3D9) PURE; + STDMETHOD(GetDeviceCaps)(THIS_ D3DCAPS9* pCaps) PURE; + STDMETHOD(GetDisplayMode)(THIS_ UINT iSwapChain, D3DDISPLAYMODE* pMode) PURE; + STDMETHOD(GetCreationParameters)(THIS_ D3DDEVICE_CREATION_PARAMETERS *pParameters) PURE; + STDMETHOD(SetCursorProperties)(THIS_ UINT XHotSpot, UINT YHotSpot, IDirect3DSurface9* pCursorBitmap) PURE; + STDMETHOD_(void, SetCursorPosition)(THIS_ int X,int Y, DWORD Flags) PURE; + STDMETHOD_(BOOL, ShowCursor)(THIS_ BOOL bShow) PURE; + STDMETHOD(CreateAdditionalSwapChain)(THIS_ D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DSwapChain9** pSwapChain) PURE; + STDMETHOD(GetSwapChain)(THIS_ UINT iSwapChain, IDirect3DSwapChain9** pSwapChain) PURE; + STDMETHOD_(UINT, GetNumberOfSwapChains)(THIS) PURE; + STDMETHOD(Reset)(THIS_ D3DPRESENT_PARAMETERS* pPresentationParameters) PURE; + STDMETHOD(Present)(THIS_ const RECT *src_rect, const RECT *dst_rect, + HWND dst_window_override, const RGNDATA *dirty_region) PURE; + STDMETHOD(GetBackBuffer)(THIS_ UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9** ppBackBuffer) PURE; + STDMETHOD(GetRasterStatus)(THIS_ UINT iSwapChain, D3DRASTER_STATUS* pRasterStatus) PURE; + STDMETHOD(SetDialogBoxMode)(THIS_ BOOL bEnableDialogs) PURE; + STDMETHOD_(void, SetGammaRamp)(THIS_ UINT swapchain_idx, DWORD flags, const D3DGAMMARAMP *ramp) PURE; + STDMETHOD_(void, GetGammaRamp)(THIS_ UINT iSwapChain, D3DGAMMARAMP* pRamp) PURE; + STDMETHOD(CreateTexture)(THIS_ UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9** ppTexture, HANDLE* pSharedHandle) PURE; + STDMETHOD(CreateVolumeTexture)(THIS_ UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture9** ppVolumeTexture, HANDLE* pSharedHandle) PURE; + STDMETHOD(CreateCubeTexture)(THIS_ UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9** ppCubeTexture, HANDLE* pSharedHandle) PURE; + STDMETHOD(CreateVertexBuffer)(THIS_ UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9** ppVertexBuffer, HANDLE* pSharedHandle) PURE; + STDMETHOD(CreateIndexBuffer)(THIS_ UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9** ppIndexBuffer, HANDLE* pSharedHandle) PURE; + STDMETHOD(CreateRenderTarget)(THIS_ UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle) PURE; + STDMETHOD(CreateDepthStencilSurface)(THIS_ UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle) PURE; + STDMETHOD(UpdateSurface)(THIS_ IDirect3DSurface9 *src_surface, const RECT *src_rect, + IDirect3DSurface9 *dst_surface, const POINT *dst_point) PURE; + STDMETHOD(UpdateTexture)(THIS_ IDirect3DBaseTexture9* pSourceTexture, IDirect3DBaseTexture9* pDestinationTexture) PURE; + STDMETHOD(GetRenderTargetData)(THIS_ IDirect3DSurface9* pRenderTarget, IDirect3DSurface9* pDestSurface) PURE; + STDMETHOD(GetFrontBufferData)(THIS_ UINT iSwapChain, IDirect3DSurface9* pDestSurface) PURE; + STDMETHOD(StretchRect)(THIS_ IDirect3DSurface9 *src_surface, const RECT *src_rect, + IDirect3DSurface9 *dst_surface, const RECT *dst_rect, D3DTEXTUREFILTERTYPE filter) PURE; + STDMETHOD(ColorFill)(THIS_ IDirect3DSurface9 *surface, const RECT *rect, D3DCOLOR color) PURE; + STDMETHOD(CreateOffscreenPlainSurface)(THIS_ UINT Width, UINT Height, D3DFORMAT Format, D3DPOOL Pool, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle) PURE; + STDMETHOD(SetRenderTarget)(THIS_ DWORD RenderTargetIndex, IDirect3DSurface9* pRenderTarget) PURE; + STDMETHOD(GetRenderTarget)(THIS_ DWORD RenderTargetIndex, IDirect3DSurface9** ppRenderTarget) PURE; + STDMETHOD(SetDepthStencilSurface)(THIS_ IDirect3DSurface9* pNewZStencil) PURE; + STDMETHOD(GetDepthStencilSurface)(THIS_ IDirect3DSurface9** ppZStencilSurface) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(Clear)(THIS_ DWORD rect_count, const D3DRECT *rects, DWORD flags, + D3DCOLOR color, float z, DWORD stencil) PURE; + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE State, D3DMATRIX* pMatrix) PURE; + STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(SetViewport)(THIS_ const D3DVIEWPORT9 *viewport) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT9* pViewport) PURE; + STDMETHOD(SetMaterial)(THIS_ const D3DMATERIAL9 *material) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL9* pMaterial) PURE; + STDMETHOD(SetLight)(THIS_ DWORD index, const D3DLIGHT9 *light) PURE; + STDMETHOD(GetLight)(THIS_ DWORD Index, D3DLIGHT9*) PURE; + STDMETHOD(LightEnable)(THIS_ DWORD Index, BOOL Enable) PURE; + STDMETHOD(GetLightEnable)(THIS_ DWORD Index, BOOL* pEnable) PURE; + STDMETHOD(SetClipPlane)(THIS_ DWORD index, const float *plane) PURE; + STDMETHOD(GetClipPlane)(THIS_ DWORD Index, float* pPlane) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE State, DWORD Value) PURE; + STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE State, DWORD* pValue) PURE; + STDMETHOD(CreateStateBlock)(THIS_ D3DSTATEBLOCKTYPE Type, IDirect3DStateBlock9** ppSB) PURE; + STDMETHOD(BeginStateBlock)(THIS) PURE; + STDMETHOD(EndStateBlock)(THIS_ IDirect3DStateBlock9** ppSB) PURE; + STDMETHOD(SetClipStatus)(THIS_ const D3DCLIPSTATUS9 *clip_status) PURE; + STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS9* pClipStatus) PURE; + STDMETHOD(GetTexture)(THIS_ DWORD Stage, IDirect3DBaseTexture9** ppTexture) PURE; + STDMETHOD(SetTexture)(THIS_ DWORD Stage, IDirect3DBaseTexture9* pTexture) PURE; + STDMETHOD(GetTextureStageState)(THIS_ DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD* pValue) PURE; + STDMETHOD(SetTextureStageState)(THIS_ DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value) PURE; + STDMETHOD(GetSamplerState)(THIS_ DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD* pValue) PURE; + STDMETHOD(SetSamplerState)(THIS_ DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value) PURE; + STDMETHOD(ValidateDevice)(THIS_ DWORD* pNumPasses) PURE; + STDMETHOD(SetPaletteEntries)(THIS_ UINT palette_idx, const PALETTEENTRY *entries) PURE; + STDMETHOD(GetPaletteEntries)(THIS_ UINT PaletteNumber,PALETTEENTRY* pEntries) PURE; + STDMETHOD(SetCurrentTexturePalette)(THIS_ UINT PaletteNumber) PURE; + STDMETHOD(GetCurrentTexturePalette)(THIS_ UINT *PaletteNumber) PURE; + STDMETHOD(SetScissorRect)(THIS_ const RECT *rect) PURE; + STDMETHOD(GetScissorRect)(THIS_ RECT* pRect) PURE; + STDMETHOD(SetSoftwareVertexProcessing)(THIS_ BOOL bSoftware) PURE; + STDMETHOD_(BOOL, GetSoftwareVertexProcessing)(THIS) PURE; + STDMETHOD(SetNPatchMode)(THIS_ float nSegments) PURE; + STDMETHOD_(float, GetNPatchMode)(THIS) PURE; + STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount) PURE; + STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount) PURE; + STDMETHOD(DrawPrimitiveUP)(THIS_ D3DPRIMITIVETYPE primitive_type, + UINT primitive_count, const void *data, UINT stride) PURE; + STDMETHOD(DrawIndexedPrimitiveUP)(THIS_ D3DPRIMITIVETYPE primitive_type, UINT min_vertex_idx, UINT vertex_count, + UINT primitive_count, const void *index_data, D3DFORMAT index_format, const void *data, UINT stride) PURE; + STDMETHOD(ProcessVertices)(THIS_ UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9* pDestBuffer, IDirect3DVertexDeclaration9* pVertexDecl, DWORD Flags) PURE; + STDMETHOD(CreateVertexDeclaration)(THIS_ const D3DVERTEXELEMENT9 *elements, + IDirect3DVertexDeclaration9 **declaration) PURE; + STDMETHOD(SetVertexDeclaration)(THIS_ IDirect3DVertexDeclaration9* pDecl) PURE; + STDMETHOD(GetVertexDeclaration)(THIS_ IDirect3DVertexDeclaration9** ppDecl) PURE; + STDMETHOD(SetFVF)(THIS_ DWORD FVF) PURE; + STDMETHOD(GetFVF)(THIS_ DWORD* pFVF) PURE; + STDMETHOD(CreateVertexShader)(THIS_ const DWORD *byte_code, IDirect3DVertexShader9 **shader) PURE; + STDMETHOD(SetVertexShader)(THIS_ IDirect3DVertexShader9* pShader) PURE; + STDMETHOD(GetVertexShader)(THIS_ IDirect3DVertexShader9** ppShader) PURE; + STDMETHOD(SetVertexShaderConstantF)(THIS_ UINT reg_idx, const float *data, UINT count) PURE; + STDMETHOD(GetVertexShaderConstantF)(THIS_ UINT StartRegister, float* pConstantData, UINT Vector4fCount) PURE; + STDMETHOD(SetVertexShaderConstantI)(THIS_ UINT reg_idx, const int *data, UINT count) PURE; + STDMETHOD(GetVertexShaderConstantI)(THIS_ UINT StartRegister, int* pConstantData, UINT Vector4iCount) PURE; + STDMETHOD(SetVertexShaderConstantB)(THIS_ UINT reg_idx, const BOOL *data, UINT count) PURE; + STDMETHOD(GetVertexShaderConstantB)(THIS_ UINT StartRegister, BOOL* pConstantData, UINT BoolCount) PURE; + STDMETHOD(SetStreamSource)(THIS_ UINT StreamNumber, IDirect3DVertexBuffer9* pStreamData, UINT OffsetInBytes, UINT Stride) PURE; + STDMETHOD(GetStreamSource)(THIS_ UINT StreamNumber, IDirect3DVertexBuffer9** ppStreamData, UINT* OffsetInBytes, UINT* pStride) PURE; + STDMETHOD(SetStreamSourceFreq)(THIS_ UINT StreamNumber, UINT Divider) PURE; + STDMETHOD(GetStreamSourceFreq)(THIS_ UINT StreamNumber, UINT* Divider) PURE; + STDMETHOD(SetIndices)(THIS_ IDirect3DIndexBuffer9* pIndexData) PURE; + STDMETHOD(GetIndices)(THIS_ IDirect3DIndexBuffer9** ppIndexData) PURE; + STDMETHOD(CreatePixelShader)(THIS_ const DWORD *byte_code, IDirect3DPixelShader9 **shader) PURE; + STDMETHOD(SetPixelShader)(THIS_ IDirect3DPixelShader9* pShader) PURE; + STDMETHOD(GetPixelShader)(THIS_ IDirect3DPixelShader9** ppShader) PURE; + STDMETHOD(SetPixelShaderConstantF)(THIS_ UINT reg_idx, const float *data, UINT count) PURE; + STDMETHOD(GetPixelShaderConstantF)(THIS_ UINT StartRegister, float* pConstantData, UINT Vector4fCount) PURE; + STDMETHOD(SetPixelShaderConstantI)(THIS_ UINT reg_idx, const int *data, UINT count) PURE; + STDMETHOD(GetPixelShaderConstantI)(THIS_ UINT StartRegister, int* pConstantData, UINT Vector4iCount) PURE; + STDMETHOD(SetPixelShaderConstantB)(THIS_ UINT reg_idx, const BOOL *data, UINT count) PURE; + STDMETHOD(GetPixelShaderConstantB)(THIS_ UINT StartRegister, BOOL* pConstantData, UINT BoolCount) PURE; + STDMETHOD(DrawRectPatch)(THIS_ UINT handle, const float *segment_count, const D3DRECTPATCH_INFO *patch_info) PURE; + STDMETHOD(DrawTriPatch)(THIS_ UINT handle, const float *segment_count, const D3DTRIPATCH_INFO *patch_info) PURE; + STDMETHOD(DeletePatch)(THIS_ UINT Handle) PURE; + STDMETHOD(CreateQuery)(THIS_ D3DQUERYTYPE Type, IDirect3DQuery9** ppQuery) PURE; +}; +#undef INTERFACE + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DDevice9, 0xd0223b96, 0xbf7a, 0x43fd, 0x92, 0xbd, 0xa4, 0x3b, 0xd, 0x82, 0xb9, 0xeb); +#endif + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DDevice9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice9_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice9_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DDevice9 methods ***/ +#define IDirect3DDevice9_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p) +#define IDirect3DDevice9_GetAvailableTextureMem(p) (p)->lpVtbl->GetAvailableTextureMem(p) +#define IDirect3DDevice9_EvictManagedResources(p) (p)->lpVtbl->EvictManagedResources(p) +#define IDirect3DDevice9_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a) +#define IDirect3DDevice9_GetDisplayMode(p,a,b) (p)->lpVtbl->GetDisplayMode(p,a,b) +#define IDirect3DDevice9_GetCreationParameters(p,a) (p)->lpVtbl->GetCreationParameters(p,a) +#define IDirect3DDevice9_SetCursorProperties(p,a,b,c) (p)->lpVtbl->SetCursorProperties(p,a,b,c) +#define IDirect3DDevice9_SetCursorPosition(p,a,b,c) (p)->lpVtbl->SetCursorPosition(p,a,b,c) +#define IDirect3DDevice9_ShowCursor(p,a) (p)->lpVtbl->ShowCursor(p,a) +#define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b) (p)->lpVtbl->CreateAdditionalSwapChain(p,a,b) +#define IDirect3DDevice9_GetSwapChain(p,a,b) (p)->lpVtbl->GetSwapChain(p,a,b) +#define IDirect3DDevice9_GetNumberOfSwapChains(p) (p)->lpVtbl->GetNumberOfSwapChains(p) +#define IDirect3DDevice9_Reset(p,a) (p)->lpVtbl->Reset(p,a) +#define IDirect3DDevice9_Present(p,a,b,c,d) (p)->lpVtbl->Present(p,a,b,c,d) +#define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d) (p)->lpVtbl->GetBackBuffer(p,a,b,c,d) +#define IDirect3DDevice9_GetRasterStatus(p,a,b) (p)->lpVtbl->GetRasterStatus(p,a,b) +#define IDirect3DDevice9_SetDialogBoxMode(p,a) (p)->lpVtbl->SetDialogBoxMode(p,a) +#define IDirect3DDevice9_SetGammaRamp(p,a,b,c) (p)->lpVtbl->SetGammaRamp(p,a,b,c) +#define IDirect3DDevice9_GetGammaRamp(p,a,b) (p)->lpVtbl->GetGammaRamp(p,a,b) +#define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateTexture(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f,g) +#define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d,e,f) +#define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateIndexBuffer(p,a,b,c,d,e,f) +#define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateRenderTarget(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_UpdateSurface(p,a,b,c,d) (p)->lpVtbl->UpdateSurface(p,a,b,c,d) +#define IDirect3DDevice9_UpdateTexture(p,a,b) (p)->lpVtbl->UpdateTexture(p,a,b) +#define IDirect3DDevice9_GetRenderTargetData(p,a,b) (p)->lpVtbl->GetRenderTargetData(p,a,b) +#define IDirect3DDevice9_GetFrontBufferData(p,a,b) (p)->lpVtbl->GetFrontBufferData(p,a,b) +#define IDirect3DDevice9_StretchRect(p,a,b,c,d,e) (p)->lpVtbl->StretchRect(p,a,b,c,d,e) +#define IDirect3DDevice9_ColorFill(p,a,b,c) (p)->lpVtbl->ColorFill(p,a,b,c) +#define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->lpVtbl->CreateOffscreenPlainSurface(p,a,b,c,d,e,f) +#define IDirect3DDevice9_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) +#define IDirect3DDevice9_GetRenderTarget(p,a,b) (p)->lpVtbl->GetRenderTarget(p,a,b) +#define IDirect3DDevice9_SetDepthStencilSurface(p,a) (p)->lpVtbl->SetDepthStencilSurface(p,a) +#define IDirect3DDevice9_GetDepthStencilSurface(p,a) (p)->lpVtbl->GetDepthStencilSurface(p,a) +#define IDirect3DDevice9_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice9_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice9_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f) +#define IDirect3DDevice9_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) +#define IDirect3DDevice9_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DDevice9_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) +#define IDirect3DDevice9_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DDevice9_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DDevice9_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DDevice9_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DDevice9_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b) +#define IDirect3DDevice9_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b) +#define IDirect3DDevice9_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b) +#define IDirect3DDevice9_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b) +#define IDirect3DDevice9_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b) +#define IDirect3DDevice9_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b) +#define IDirect3DDevice9_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) +#define IDirect3DDevice9_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) +#define IDirect3DDevice9_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b) +#define IDirect3DDevice9_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p) +#define IDirect3DDevice9_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a) +#define IDirect3DDevice9_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) +#define IDirect3DDevice9_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) +#define IDirect3DDevice9_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b) +#define IDirect3DDevice9_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b) +#define IDirect3DDevice9_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c) +#define IDirect3DDevice9_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c) +#define IDirect3DDevice9_GetSamplerState(p,a,b,c) (p)->lpVtbl->GetSamplerState(p,a,b,c) +#define IDirect3DDevice9_SetSamplerState(p,a,b,c) (p)->lpVtbl->SetSamplerState(p,a,b,c) +#define IDirect3DDevice9_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a) +#define IDirect3DDevice9_SetPaletteEntries(p,a,b) (p)->lpVtbl->SetPaletteEntries(p,a,b) +#define IDirect3DDevice9_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b) +#define IDirect3DDevice9_SetCurrentTexturePalette(p,a) (p)->lpVtbl->SetCurrentTexturePalette(p,a) +#define IDirect3DDevice9_GetCurrentTexturePalette(p,a) (p)->lpVtbl->GetCurrentTexturePalette(p,a) +#define IDirect3DDevice9_SetScissorRect(p,a) (p)->lpVtbl->SetScissorRect(p,a) +#define IDirect3DDevice9_GetScissorRect(p,a) (p)->lpVtbl->GetScissorRect(p,a) +#define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a) (p)->lpVtbl->SetSoftwareVertexProcessing(p,a) +#define IDirect3DDevice9_GetSoftwareVertexProcessing(p) (p)->lpVtbl->GetSoftwareVertexProcessing(p) +#define IDirect3DDevice9_SetNPatchMode(p,a) (p)->lpVtbl->SetNPatchMode(p,a) +#define IDirect3DDevice9_GetNPatchMode(p) (p)->lpVtbl->GetNPatchMode(p) +#define IDirect3DDevice9_DrawPrimitive(p,a,b,c) (p)->lpVtbl->DrawPrimitive(p,a,b,c) +#define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f) +#define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d) (p)->lpVtbl->DrawPrimitiveUP(p,a,b,c,d) +#define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f) +#define IDirect3DDevice9_CreateVertexDeclaration(p,a,b) (p)->lpVtbl->CreateVertexDeclaration(p,a,b) +#define IDirect3DDevice9_SetVertexDeclaration(p,a) (p)->lpVtbl->SetVertexDeclaration(p,a) +#define IDirect3DDevice9_GetVertexDeclaration(p,a) (p)->lpVtbl->GetVertexDeclaration(p,a) +#define IDirect3DDevice9_SetFVF(p,a) (p)->lpVtbl->SetFVF(p,a) +#define IDirect3DDevice9_GetFVF(p,a) (p)->lpVtbl->GetFVF(p,a) +#define IDirect3DDevice9_CreateVertexShader(p,a,b) (p)->lpVtbl->CreateVertexShader(p,a,b) +#define IDirect3DDevice9_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a) +#define IDirect3DDevice9_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a) +#define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantF(p,a,b,c) +#define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantF(p,a,b,c) +#define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantI(p,a,b,c) +#define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantI(p,a,b,c) +#define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantB(p,a,b,c) +#define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantB(p,a,b,c) +#define IDirect3DDevice9_SetStreamSource(p,a,b,c,d) (p)->lpVtbl->SetStreamSource(p,a,b,c,d) +#define IDirect3DDevice9_GetStreamSource(p,a,b,c,d) (p)->lpVtbl->GetStreamSource(p,a,b,c,d) +#define IDirect3DDevice9_SetStreamSourceFreq(p,a,b) (p)->lpVtbl->SetStreamSourceFreq(p,a,b) +#define IDirect3DDevice9_GetStreamSourceFreq(p,a,b) (p)->lpVtbl->GetStreamSourceFreq(p,a,b) +#define IDirect3DDevice9_SetIndices(p,a) (p)->lpVtbl->SetIndices(p,a) +#define IDirect3DDevice9_GetIndices(p,a) (p)->lpVtbl->GetIndices(p,a) +#define IDirect3DDevice9_CreatePixelShader(p,a,b) (p)->lpVtbl->CreatePixelShader(p,a,b) +#define IDirect3DDevice9_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a) +#define IDirect3DDevice9_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a) +#define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantF(p,a,b,c) +#define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantF(p,a,b,c) +#define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantI(p,a,b,c) +#define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantI(p,a,b,c) +#define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantB(p,a,b,c) +#define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantB(p,a,b,c) +#define IDirect3DDevice9_DrawRectPatch(p,a,b,c) (p)->lpVtbl->DrawRectPatch(p,a,b,c) +#define IDirect3DDevice9_DrawTriPatch(p,a,b,c) (p)->lpVtbl->DrawTriPatch(p,a,b,c) +#define IDirect3DDevice9_DeletePatch(p,a) (p)->lpVtbl->DeletePatch(p,a) +#define IDirect3DDevice9_CreateQuery(p,a,b) (p)->lpVtbl->CreateQuery(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DDevice9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice9_AddRef(p) (p)->AddRef() +#define IDirect3DDevice9_Release(p) (p)->Release() +/*** IDirect3DDevice9 methods ***/ +#define IDirect3DDevice9_TestCooperativeLevel(p) (p)->TestCooperativeLevel() +#define IDirect3DDevice9_GetAvailableTextureMem(p) (p)->GetAvailableTextureMem() +#define IDirect3DDevice9_EvictManagedResources(p) (p)->EvictManagedResources() +#define IDirect3DDevice9_GetDirect3D(p,a) (p)->GetDirect3D(a) +#define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->GetDeviceCaps(a) +#define IDirect3DDevice9_GetDisplayMode(p,a,b) (p)->GetDisplayMode(a,b) +#define IDirect3DDevice9_GetCreationParameters(p,a) (p)->GetCreationParameters(a) +#define IDirect3DDevice9_SetCursorProperties(p,a,b,c) (p)->SetCursorProperties(a,b,c) +#define IDirect3DDevice9_SetCursorPosition(p,a,b,c) (p)->SetCursorPosition(a,b,c) +#define IDirect3DDevice9_ShowCursor(p,a) (p)->ShowCursor(a) +#define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b) (p)->CreateAdditionalSwapChain(a,b) +#define IDirect3DDevice9_GetSwapChain(p,a,b) (p)->GetSwapChain(a,b) +#define IDirect3DDevice9_GetNumberOfSwapChains(p) (p)->GetNumberOfSwapChains() +#define IDirect3DDevice9_Reset(p,a) (p)->Reset(a) +#define IDirect3DDevice9_Present(p,a,b,c,d) (p)->Present(a,b,c,d) +#define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d) (p)->GetBackBuffer(a,b,c,d) +#define IDirect3DDevice9_GetRasterStatus(p,a,b) (p)->GetRasterStatus(a,b) +#define IDirect3DDevice9_SetDialogBoxMode(p,a) (p)->SetDialogBoxMode(a) +#define IDirect3DDevice9_SetGammaRamp(p,a,b,c) (p)->SetGammaRamp(a,b,c) +#define IDirect3DDevice9_GetGammaRamp(p,a,b) (p)->GetGammaRamp(a,b) +#define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->CreateTexture(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->CreateVolumeTexture(a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->CreateCubeTexture(a,b,c,d,e,f,g) +#define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->CreateVertexBuffer(a,b,c,d,e,f) +#define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->CreateIndexBuffer(a,b,c,d,e,f) +#define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->CreateRenderTarget(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->CreateDepthStencilSurface(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_UpdateSurface(p,a,b,c,d) (p)->UpdateSurface(a,b,c,d) +#define IDirect3DDevice9_UpdateTexture(p,a,b) (p)->UpdateTexture(a,b) +#define IDirect3DDevice9_GetRenderTargetData(p,a,b) (p)->GetRenderTargetData(a,b) +#define IDirect3DDevice9_GetFrontBufferData(p,a,b) (p)->GetFrontBufferData(a,b) +#define IDirect3DDevice9_StretchRect(p,a,b,c,d,e) (p)->StretchRect(a,b,c,d,e) +#define IDirect3DDevice9_ColorFill(p,a,b,c) (p)->ColorFill(a,b,c) +#define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->CreateOffscreenPlainSurface(a,b,c,d,e,f) +#define IDirect3DDevice9_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) +#define IDirect3DDevice9_GetRenderTarget(p,a,b) (p)->GetRenderTarget(a,b) +#define IDirect3DDevice9_SetDepthStencilSurface(p,a) (p)->SetDepthStencilSurface(a) +#define IDirect3DDevice9_GetDepthStencilSurface(p,a) (p)->GetDepthStencilSurface(a) +#define IDirect3DDevice9_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice9_EndScene(p) (p)->EndScene() +#define IDirect3DDevice9_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f) +#define IDirect3DDevice9_SetTransform(p,a,b) (p)->SetTransform(a,b) +#define IDirect3DDevice9_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DDevice9_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) +#define IDirect3DDevice9_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DDevice9_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DDevice9_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DDevice9_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DDevice9_SetLight(p,a,b) (p)->SetLight(a,b) +#define IDirect3DDevice9_GetLight(p,a,b) (p)->GetLight(a,b) +#define IDirect3DDevice9_LightEnable(p,a,b) (p)->LightEnable(a,b) +#define IDirect3DDevice9_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b) +#define IDirect3DDevice9_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b) +#define IDirect3DDevice9_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b) +#define IDirect3DDevice9_SetRenderState(p,a,b) (p)->SetRenderState(a,b) +#define IDirect3DDevice9_GetRenderState(p,a,b) (p)->GetRenderState(a,b) +#define IDirect3DDevice9_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b) +#define IDirect3DDevice9_BeginStateBlock(p) (p)->BeginStateBlock() +#define IDirect3DDevice9_EndStateBlock(p,a) (p)->EndStateBlock(a) +#define IDirect3DDevice9_SetClipStatus(p,a) (p)->SetClipStatus(a) +#define IDirect3DDevice9_GetClipStatus(p,a) (p)->GetClipStatus(a) +#define IDirect3DDevice9_GetTexture(p,a,b) (p)->GetTexture(a,b) +#define IDirect3DDevice9_SetTexture(p,a,b) (p)->SetTexture(a,b) +#define IDirect3DDevice9_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c) +#define IDirect3DDevice9_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c) +#define IDirect3DDevice9_GetSamplerState(p,a,b,c) (p)->GetSamplerState(a,b,c) +#define IDirect3DDevice9_SetSamplerState(p,a,b,c) (p)->SetSamplerState(a,b,c) +#define IDirect3DDevice9_ValidateDevice(p,a) (p)->ValidateDevice(a) +#define IDirect3DDevice9_SetPaletteEntries(p,a,b) (p)->SetPaletteEntries(a,b) +#define IDirect3DDevice9_GetPaletteEntries(p,a,b) (p)->GetPaletteEntries(a,b) +#define IDirect3DDevice9_SetCurrentTexturePalette(p,a) (p)->SetCurrentTexturePalette(a) +#define IDirect3DDevice9_GetCurrentTexturePalette(p,a) (p)->GetCurrentTexturePalette(a) +#define IDirect3DDevice9_SetScissorRect(p,a) (p)->SetScissorRect(a) +#define IDirect3DDevice9_GetScissorRect(p,a) (p)->GetScissorRect(a) +#define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a) (p)->SetSoftwareVertexProcessing(a) +#define IDirect3DDevice9_GetSoftwareVertexProcessing(p) (p)->GetSoftwareVertexProcessing() +#define IDirect3DDevice9_SetNPatchMode(p,a) (p)->SetNPatchMode(a) +#define IDirect3DDevice9_GetNPatchMode(p) (p)->GetNPatchMode() +#define IDirect3DDevice9_DrawPrimitive(p,a,b,c) (p)->DrawPrimitive(a,b,c) +#define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->DrawIndexedPrimitive(a,b,c,d,e,f) +#define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d) +#define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f) (p)->ProcessVertices(a,b,c,d,e,f) +#define IDirect3DDevice9_CreateVertexDeclaration(p,a,b) (p)->CreateVertexDeclaration(a,b) +#define IDirect3DDevice9_SetVertexDeclaration(p,a) (p)->SetVertexDeclaration(a) +#define IDirect3DDevice9_GetVertexDeclaration(p,a) (p)->GetVertexDeclaration(a) +#define IDirect3DDevice9_SetFVF(p,a) (p)->SetFVF(a) +#define IDirect3DDevice9_GetFVF(p,a) (p)->GetFVF(a) +#define IDirect3DDevice9_CreateVertexShader(p,a,b) (p)->CreateVertexShader(a,b) +#define IDirect3DDevice9_SetVertexShader(p,a) (p)->SetVertexShader(a) +#define IDirect3DDevice9_GetVertexShader(p,a) (p)->GetVertexShader(a) +#define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c) (p)->SetVertexShaderConstantF(a,b,c) +#define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c) (p)->GetVertexShaderConstantF(a,b,c) +#define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c) (p)->SetVertexShaderConstantI(a,b,c) +#define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c) (p)->GetVertexShaderConstantI(a,b,c) +#define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c) (p)->SetVertexShaderConstantB(a,b,c) +#define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c) (p)->GetVertexShaderConstantB(a,b,c) +#define IDirect3DDevice9_SetStreamSource(p,a,b,c,d) (p)->SetStreamSource(a,b,c,d) +#define IDirect3DDevice9_GetStreamSource(p,a,b,c,d) (p)->GetStreamSource(a,b,c,d) +#define IDirect3DDevice9_SetStreamSourceFreq(p,a,b) (p)->SetStreamSourceFreq(a,b) +#define IDirect3DDevice9_GetStreamSourceFreq(p,a,b) (p)->GetStreamSourceFreq(a,b) +#define IDirect3DDevice9_SetIndices(p,a) (p)->SetIndices(a) +#define IDirect3DDevice9_GetIndices(p,a) (p)->GetIndices(a) +#define IDirect3DDevice9_CreatePixelShader(p,a,b) (p)->CreatePixelShader(a,b) +#define IDirect3DDevice9_SetPixelShader(p,a) (p)->SetPixelShader(a) +#define IDirect3DDevice9_GetPixelShader(p,a) (p)->GetPixelShader(a) +#define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c) (p)->SetPixelShaderConstantF(a,b,c) +#define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c) (p)->GetPixelShaderConstantF(a,b,c) +#define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c) (p)->SetPixelShaderConstantI(a,b,c) +#define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c) (p)->GetPixelShaderConstantI(a,b,c) +#define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c) (p)->SetPixelShaderConstantB(a,b,c) +#define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c) (p)->GetPixelShaderConstantB(a,b,c) +#define IDirect3DDevice9_DrawRectPatch(p,a,b,c) (p)->DrawRectPatch(a,b,c) +#define IDirect3DDevice9_DrawTriPatch(p,a,b,c) (p)->DrawTriPatch(a,b,c) +#define IDirect3DDevice9_DeletePatch(p,a) (p)->DeletePatch(a) +#define IDirect3DDevice9_CreateQuery(p,a,b) (p)->CreateQuery(a,b) +#endif + + +#if !defined(D3D_DISABLE_9EX) + +typedef struct IDirect3D9Ex *LPDIRECT3D9EX, *PDIRECT3D9EX; +typedef struct IDirect3DSwapChain9Ex *LPDIRECT3DSWAPCHAIN9EX, *PDIRECT3DSWAPCHAIN9EX; +typedef struct IDirect3DDevice9Ex *LPDIRECT3DDEVICE9EX, *PDIRECT3DDEVICE9EX; + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3D9Ex, 0x02177241, 0x69fc, 0x400c, 0x8f, 0xf1, 0x93, 0xa4, 0x4d, 0xf6, 0x86, 0x1d); +#endif +DEFINE_GUID(IID_IDirect3D9Ex, 0x02177241, 0x69fc, 0x400c, 0x8f, 0xf1, 0x93, 0xa4, 0x4d, 0xf6, 0x86, 0x1d); + +#define INTERFACE IDirect3D9Ex +DECLARE_INTERFACE_(IDirect3D9Ex, IDirect3D9) +{ + /* IUnknown */ + STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* IDirect3D9 */ + STDMETHOD(RegisterSoftwareDevice)(THIS_ void *init) PURE; + STDMETHOD_(UINT, GetAdapterCount)(THIS) PURE; + STDMETHOD(GetAdapterIdentifier)(THIS_ UINT adapter_idx, DWORD flags, D3DADAPTER_IDENTIFIER9 *identifier) PURE; + STDMETHOD_(UINT, GetAdapterModeCount)(THIS_ UINT adapter_idx, D3DFORMAT format) PURE; + STDMETHOD(EnumAdapterModes)(THIS_ UINT adapter_idx, D3DFORMAT format, UINT mode_idx, D3DDISPLAYMODE *mode) PURE; + STDMETHOD(GetAdapterDisplayMode)(THIS_ UINT adapter_idx, D3DDISPLAYMODE *mode) PURE; + STDMETHOD(CheckDeviceType)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, + D3DFORMAT display_format, D3DFORMAT backbuffer_format, BOOL windowed) PURE; + STDMETHOD(CheckDeviceFormat)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, D3DFORMAT adapter_format, + DWORD usage, D3DRESOURCETYPE resource_type, D3DFORMAT format) PURE; + STDMETHOD(CheckDeviceMultiSampleType)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, D3DFORMAT surface_format, + BOOL windowed, D3DMULTISAMPLE_TYPE multisample_type, DWORD *quality_levels) PURE; + STDMETHOD(CheckDepthStencilMatch)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, + D3DFORMAT adapter_format, D3DFORMAT rt_format, D3DFORMAT ds_format) PURE; + STDMETHOD(CheckDeviceFormatConversion)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, + D3DFORMAT src_format, D3DFORMAT dst_format) PURE; + STDMETHOD(GetDeviceCaps)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, D3DCAPS9 *caps) PURE; + STDMETHOD_(HMONITOR, GetAdapterMonitor)(THIS_ UINT adapter_idx) PURE; + STDMETHOD(CreateDevice)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, HWND focus_window, DWORD flags, + D3DPRESENT_PARAMETERS *parameters, struct IDirect3DDevice9 **device) PURE; + /* IDirect3D9Ex */ + STDMETHOD_(UINT, GetAdapterModeCountEx)(THIS_ UINT adapter_idx, const D3DDISPLAYMODEFILTER *filter) PURE; + STDMETHOD(EnumAdapterModesEx)(THIS_ UINT adapter_idx, const D3DDISPLAYMODEFILTER *filter, + UINT mode_idx, D3DDISPLAYMODEEX *mode) PURE; + STDMETHOD(GetAdapterDisplayModeEx)(THIS_ UINT adapter_idx, D3DDISPLAYMODEEX *mode, D3DDISPLAYROTATION *rotation); + STDMETHOD(CreateDeviceEx)(THIS_ UINT adapter_idx, D3DDEVTYPE device_type, HWND focus_window, DWORD flags, + D3DPRESENT_PARAMETERS *parameters, D3DDISPLAYMODEEX *mode, struct IDirect3DDevice9Ex **device) PURE; + STDMETHOD(GetAdapterLUID)(THIS_ UINT adapter_idx, LUID *luid) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/* IUnknown */ +#define IDirect3D9Ex_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3D9Ex_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3D9Ex_Release(p) (p)->lpVtbl->Release(p) +/* IDirect3D9 */ +#define IDirect3D9Ex_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a) +#define IDirect3D9Ex_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p) +#define IDirect3D9Ex_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c) +#define IDirect3D9Ex_GetAdapterModeCount(p,a,b) (p)->lpVtbl->GetAdapterModeCount(p,a,b) +#define IDirect3D9Ex_EnumAdapterModes(p,a,b,c,d) (p)->lpVtbl->EnumAdapterModes(p,a,b,c,d) +#define IDirect3D9Ex_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b) +#define IDirect3D9Ex_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e) +#define IDirect3D9Ex_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceFormat(p,a,b,c,d,e,f) +#define IDirect3D9Ex_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceMultiSampleType(p,a,b,c,d,e,f) +#define IDirect3D9Ex_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->lpVtbl->CheckDepthStencilMatch(p,a,b,c,d,e) +#define IDirect3D9Ex_CheckDeviceFormatConversion(p,a,b,c,d) (p)->lpVtbl->CheckDeviceFormatConversion(p,a,b,c,d) +#define IDirect3D9Ex_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c) +#define IDirect3D9Ex_GetAdapterMonitor(p,a) (p)->lpVtbl->GetAdapterMonitor(p,a) +#define IDirect3D9Ex_CreateDevice(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f) +/* IDirect3D9Ex */ +#define IDirect3D9Ex_GetAdapterModeCountEx(p,a,b) (p)->lpVtbl->GetAdapterModeCountEx(p,a,b) +#define IDirect3D9Ex_EnumAdapterModesEx(p,a,b,c,d) (p)->lpVtbl->EnumAdapterModesEx(p,a,b,c,d) +#define IDirect3D9Ex_GetAdapterDisplayModeEx(p,a,b,c) (p)->lpVtbl->GetAdapterDisplayModeEx(p,a,b,c) +#define IDirect3D9Ex_CreateDeviceEx(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateDeviceEx(p,a,b,c,d,e,f,g) +#define IDirect3D9Ex_GetAdapterLUID(p,a,b) (p)->lpVtbl->GetAdapterLUID(p,a,b) +#else +/* IUnknown */ +#define IDirect3D9Ex_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3D9Ex_AddRef(p) (p)->AddRef() +#define IDirect3D9Ex_Release(p) (p)->Release() +/* IDirect3D9 */ +#define IDirect3D9Ex_RegisterSoftwareDevice(p,a) (p)->RegisterSoftwareDevice(a) +#define IDirect3D9Ex_GetAdapterCount(p) (p)->GetAdapterCount() +#define IDirect3D9Ex_GetAdapterIdentifier(p,a,b,c) (p)->GetAdapterIdentifier(a,b,c) +#define IDirect3D9Ex_GetAdapterModeCount(p,a,b) (p)->GetAdapterModeCount(a,b) +#define IDirect3D9Ex_EnumAdapterModes(p,a,b,c,d) (p)->EnumAdapterModes(a,b,c,d) +#define IDirect3D9Ex_GetAdapterDisplayMode(p,a,b) (p)->GetAdapterDisplayMode(a,b) +#define IDirect3D9Ex_CheckDeviceType(p,a,b,c,d,e) (p)->CheckDeviceType(a,b,c,d,e) +#define IDirect3D9Ex_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->CheckDeviceFormat(a,b,c,d,e,f) +#define IDirect3D9Ex_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->CheckDeviceMultiSampleType(a,b,c,d,e,f) +#define IDirect3D9Ex_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->CheckDepthStencilMatch(a,b,c,d,e) +#define IDirect3D9Ex_CheckDeviceFormatConversion(p,a,b,c,d) (p)->CheckDeviceFormatConversion(a,b,c,d) +#define IDirect3D9Ex_GetDeviceCaps(p,a,b,c) (p)->GetDeviceCaps(a,b,c) +#define IDirect3D9Ex_GetAdapterMonitor(p,a) (p)->GetAdapterMonitor(a) +#define IDirect3D9Ex_CreateDevice(p,a,b,c,d,e,f) (p)->CreateDevice(a,b,c,d,e,f) +/* IDirect3D9Ex */ +#define IDirect3D9Ex_GetAdapterModeCountEx(p,a,b) (p)->GetAdapterModeCountEx(a,b) +#define IDirect3D9Ex_EnumAdapterModesEx(p,a,b,c,d) (p)->EnumAdapterModesEx(a,b,c,d) +#define IDirect3D9Ex_GetAdapterDisplayModeEx(p,a,b,c) (p)->GetAdapterDisplayModeEx(a,b,c) +#define IDirect3D9Ex_CreateDeviceEx(p,a,b,c,d,e,f,g) (p)->CreateDeviceEx(a,b,c,d,e,f,g) +#define IDirect3D9Ex_GetAdapterLUID(p,a,b) (p)->GetAdapterLUID(a,b) +#endif + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DSwapChain9Ex, 0x91886caf, 0x1c3d, 0x4d2e, 0xa0, 0xab, 0x3e, 0x4c, 0x7d, 0x8d, 0x33, 0x3); +#endif +DEFINE_GUID(IID_IDirect3DSwapChain9Ex, 0x91886caf, 0x1c3d, 0x4d2e, 0xa0, 0xab, 0x3e, 0x4c, 0x7d, 0x8d, 0x33, 0x3); + +#define INTERFACE IDirect3DSwapChain9Ex +DECLARE_INTERFACE_(IDirect3DSwapChain9Ex, IDirect3DSwapChain9) +{ + /* IUnknown */ + STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* IDirect3DSwapChain9 */ + STDMETHOD(Present)(THIS_ const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, + const RGNDATA *dirty_region, DWORD flags) PURE; + STDMETHOD(GetFrontBufferData)(THIS_ struct IDirect3DSurface9 *dst_surface) PURE; + STDMETHOD(GetBackBuffer)(THIS_ UINT backbuffer_idx, D3DBACKBUFFER_TYPE backbuffer_type, + struct IDirect3DSurface9 **backbuffer) PURE; + STDMETHOD(GetRasterStatus)(THIS_ D3DRASTER_STATUS *raster_status) PURE; + STDMETHOD(GetDisplayMode)(THIS_ D3DDISPLAYMODE *mode) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(GetPresentParameters)(THIS_ D3DPRESENT_PARAMETERS *parameters) PURE; + /* IDirect3DSwapChain9Ex */ + STDMETHOD(GetLastPresentCount)(THIS_ UINT *last_present_count) PURE; + STDMETHOD(GetPresentStats)(THIS_ D3DPRESENTSTATS *stats) PURE; + STDMETHOD(GetDisplayModeEx)(THIS_ D3DDISPLAYMODEEX *mode, D3DDISPLAYROTATION *rotation) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/* IUnknown */ +#define IDirect3DSwapChain9Ex_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DSwapChain9Ex_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DSwapChain9Ex_Release(p) (p)->lpVtbl->Release(p) +/* IDirect3DSwapChain9 */ +#define IDirect3DSwapChain9Ex_Present(p,a,b,c,d,e) (p)->lpVtbl->Present(p,a,b,c,d,e) +#define IDirect3DSwapChain9Ex_GetFrontBufferData(p,a) (p)->lpVtbl->GetFrontBufferData(p,a) +#define IDirect3DSwapChain9Ex_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c) +#define IDirect3DSwapChain9Ex_GetRasterStatus(p,a) (p)->lpVtbl->GetRasterStatus(p,a) +#define IDirect3DSwapChain9Ex_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirect3DSwapChain9Ex_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DSwapChain9Ex_GetPresentParameters(p,a) (p)->lpVtbl->GetPresentParameters(p,a) +/* IDirect3DSwapChain9Ex */ +#define IDirect3DSwapChain9Ex_GetLastPresentCount(p,a) (p)->lpVtbl->GetLastPresentCount(p,a) +#define IDirect3DSwapChain9Ex_GetPresentStats(p,a) (p)->lpVtbl->GetPresentStats(p,a) +#define IDirect3DSwapChain9Ex_GetDisplayModeEx(p,a,b) (p)->lpVtbl->GetDisplayModeEx(p,a,b) +#else +/* IUnknown */ +#define IDirect3DSwapChain9Ex_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DSwapChain9Ex_AddRef(p) (p)->AddRef() +#define IDirect3DSwapChain9Ex_Release(p) (p)->Release() +/* IDirect3DSwapChain9 */ +#define IDirect3DSwapChain9Ex_Present(p,a,b,c,d,e) (p)->Present(a,b,c,d,e) +#define IDirect3DSwapChain9Ex_GetFrontBufferData(p,a) (p)->GetFrontBufferData(a) +#define IDirect3DSwapChain9Ex_GetBackBuffer(p,a,b,c) (p)->GetBackBuffer(a,b,c) +#define IDirect3DSwapChain9Ex_GetRasterStatus(p,a) (p)->GetRasterStatus(a) +#define IDirect3DSwapChain9Ex_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirect3DSwapChain9Ex_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DSwapChain9Ex_GetPresentParameters(p,a) (p)->GetPresentParameters(a) +/* IDirect3DSwapChain9Ex */ +#define IDirect3DSwapChain9Ex_GetLastPresentCount(p,a) (p)->GetLastPresentCount(a) +#define IDirect3DSwapChain9Ex_GetPresentStats(p,a) (p)->GetPresentStats(a) +#define IDirect3DSwapChain9Ex_GetDisplayModeEx(p,a,b) (p)->GetDisplayModeEx(a,b) +#endif + +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DDevice9Ex, 0xb18b10ce, 0x2649, 0x405a, 0x87, 0xf, 0x95, 0xf7, 0x77, 0xd4, 0x31, 0x3a); +#endif +DEFINE_GUID(IID_IDirect3DDevice9Ex, 0xb18b10ce, 0x2649, 0x405a, 0x87, 0xf, 0x95, 0xf7, 0x77, 0xd4, 0x31, 0x3a); + +#define INTERFACE IDirect3DDevice9Ex +DECLARE_INTERFACE_(IDirect3DDevice9Ex, IDirect3DDevice9) +{ + /* IUnknown */ + STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /* IDirect3DDevice9 */ + STDMETHOD(TestCooperativeLevel)(THIS) PURE; + STDMETHOD_(UINT, GetAvailableTextureMem)(THIS) PURE; + STDMETHOD(EvictManagedResources)(THIS) PURE; + STDMETHOD(GetDirect3D)(THIS_ IDirect3D9 **d3d9) PURE; + STDMETHOD(GetDeviceCaps)(THIS_ D3DCAPS9 *caps) PURE; + STDMETHOD(GetDisplayMode)(THIS_ UINT swapchain_idx, D3DDISPLAYMODE *mode) PURE; + STDMETHOD(GetCreationParameters)(THIS_ D3DDEVICE_CREATION_PARAMETERS *parameters) PURE; + STDMETHOD(SetCursorProperties)(THIS_ UINT hotspot_x, UINT hotspot_y, IDirect3DSurface9 *bitmap) PURE; + STDMETHOD_(void, SetCursorPosition)(THIS_ int x, int y, DWORD flags) PURE; + STDMETHOD_(BOOL, ShowCursor)(THIS_ BOOL show) PURE; + STDMETHOD(CreateAdditionalSwapChain)(THIS_ D3DPRESENT_PARAMETERS *parameters, + IDirect3DSwapChain9 **swapchain) PURE; + STDMETHOD(GetSwapChain)(THIS_ UINT swapchain_idx, IDirect3DSwapChain9 **swapchain) PURE; + STDMETHOD_(UINT, GetNumberOfSwapChains)(THIS) PURE; + STDMETHOD(Reset)(THIS_ D3DPRESENT_PARAMETERS *parameters) PURE; + STDMETHOD(Present)(THIS_ const RECT *src_rect, const RECT *dst_rect, + HWND dst_window_override, const RGNDATA *dirty_region) PURE; + STDMETHOD(GetBackBuffer)(THIS_ UINT swapchain_idx, UINT backbuffer_idx, + D3DBACKBUFFER_TYPE backbuffer_type, IDirect3DSurface9 **backbuffer) PURE; + STDMETHOD(GetRasterStatus)(THIS_ UINT swapchain_idx, D3DRASTER_STATUS *raster_status) PURE; + STDMETHOD(SetDialogBoxMode)(THIS_ BOOL enable) PURE; + STDMETHOD_(void, SetGammaRamp)(THIS_ UINT swapchain_idx, DWORD flags, const D3DGAMMARAMP *ramp) PURE; + STDMETHOD_(void, GetGammaRamp)(THIS_ UINT swapchain_idx, D3DGAMMARAMP *ramp) PURE; + STDMETHOD(CreateTexture)(THIS_ UINT width, UINT height, UINT levels, DWORD usage, + D3DFORMAT format, D3DPOOL pool, IDirect3DTexture9 **texture, HANDLE *shared_handle) PURE; + STDMETHOD(CreateVolumeTexture)(THIS_ UINT width, UINT height, UINT depth, UINT levels, DWORD usage, + D3DFORMAT format, D3DPOOL pool, IDirect3DVolumeTexture9 **texture, HANDLE *shared_handle) PURE; + STDMETHOD(CreateCubeTexture)(THIS_ UINT edge_length, UINT levels, DWORD usage, + D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture9 **texture, HANDLE *shared_handle) PURE; + STDMETHOD(CreateVertexBuffer)(THIS_ UINT size, DWORD usage, DWORD fvf, D3DPOOL pool, + IDirect3DVertexBuffer9 **buffer, HANDLE *shared_handle) PURE; + STDMETHOD(CreateIndexBuffer)(THIS_ UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool, + IDirect3DIndexBuffer9 **buffer, HANDLE *shared_handle) PURE; + STDMETHOD(CreateRenderTarget)(THIS_ UINT width, UINT height, D3DFORMAT format, + D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality, BOOL lockable, + IDirect3DSurface9 **surface, HANDLE *shared_handle) PURE; + STDMETHOD(CreateDepthStencilSurface)(THIS_ UINT width, UINT height, D3DFORMAT format, + D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality, BOOL discard, + IDirect3DSurface9 **surface, HANDLE *shared_handle) PURE; + STDMETHOD(UpdateSurface)(THIS_ IDirect3DSurface9 *src_surface, const RECT *src_rect, + IDirect3DSurface9 *dst_surface, const POINT *dst_point) PURE; + STDMETHOD(UpdateTexture)(THIS_ IDirect3DBaseTexture9 *src_texture, IDirect3DBaseTexture9 *dst_texture) PURE; + STDMETHOD(GetRenderTargetData)(THIS_ IDirect3DSurface9 *render_target, IDirect3DSurface9 *dst_surface) PURE; + STDMETHOD(GetFrontBufferData)(THIS_ UINT swapchain_idx, IDirect3DSurface9 *dst_surface) PURE; + STDMETHOD(StretchRect)(THIS_ IDirect3DSurface9 *src_surface, const RECT *src_rect, + IDirect3DSurface9 *dst_surface, const RECT *dst_rect, D3DTEXTUREFILTERTYPE filter) PURE; + STDMETHOD(ColorFill)(THIS_ IDirect3DSurface9 *surface, const RECT *rect, D3DCOLOR colour) PURE; + STDMETHOD(CreateOffscreenPlainSurface)(THIS_ UINT width, UINT height, D3DFORMAT format, D3DPOOL pool, + IDirect3DSurface9 **surface, HANDLE *shared_handle) PURE; + STDMETHOD(SetRenderTarget)(THIS_ DWORD idx, IDirect3DSurface9 *surface) PURE; + STDMETHOD(GetRenderTarget)(THIS_ DWORD idx, IDirect3DSurface9 **surface) PURE; + STDMETHOD(SetDepthStencilSurface)(THIS_ IDirect3DSurface9 *depth_stencil) PURE; + STDMETHOD(GetDepthStencilSurface)(THIS_ IDirect3DSurface9 **depth_stencil) PURE; + STDMETHOD(BeginScene)(THIS) PURE; + STDMETHOD(EndScene)(THIS) PURE; + STDMETHOD(Clear)(THIS_ DWORD rect_count, const D3DRECT *rects, DWORD flags, + D3DCOLOR colour, float z, DWORD stencil) PURE; + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE State, D3DMATRIX *matrix) PURE; + STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(SetViewport)(THIS_ const D3DVIEWPORT9 *viewport) PURE; + STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT9 *viewport) PURE; + STDMETHOD(SetMaterial)(THIS_ const D3DMATERIAL9 *material) PURE; + STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL9 *material) PURE; + STDMETHOD(SetLight)(THIS_ DWORD idx, const D3DLIGHT9 *light) PURE; + STDMETHOD(GetLight)(THIS_ DWORD idx, D3DLIGHT9 *light) PURE; + STDMETHOD(LightEnable)(THIS_ DWORD idx, BOOL enable) PURE; + STDMETHOD(GetLightEnable)(THIS_ DWORD idx, BOOL *enable) PURE; + STDMETHOD(SetClipPlane)(THIS_ DWORD idx, const float *plane) PURE; + STDMETHOD(GetClipPlane)(THIS_ DWORD idx, float *plane) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE state, DWORD value) PURE; + STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE state, DWORD *value) PURE; + STDMETHOD(CreateStateBlock)(THIS_ D3DSTATEBLOCKTYPE type, IDirect3DStateBlock9 **stateblock) PURE; + STDMETHOD(BeginStateBlock)(THIS) PURE; + STDMETHOD(EndStateBlock)(THIS_ IDirect3DStateBlock9 **stateblock) PURE; + STDMETHOD(SetClipStatus)(THIS_ const D3DCLIPSTATUS9 *clip_status) PURE; + STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS9 *clip_status) PURE; + STDMETHOD(GetTexture)(THIS_ DWORD stage, IDirect3DBaseTexture9 **texture) PURE; + STDMETHOD(SetTexture)(THIS_ DWORD stage, IDirect3DBaseTexture9 *texture) PURE; + STDMETHOD(GetTextureStageState)(THIS_ DWORD stage, D3DTEXTURESTAGESTATETYPE state, DWORD *value) PURE; + STDMETHOD(SetTextureStageState)(THIS_ DWORD stage, D3DTEXTURESTAGESTATETYPE state, DWORD value) PURE; + STDMETHOD(GetSamplerState)(THIS_ DWORD sampler_idx, D3DSAMPLERSTATETYPE state, DWORD *value) PURE; + STDMETHOD(SetSamplerState)(THIS_ DWORD sampler_idx, D3DSAMPLERSTATETYPE state, DWORD value) PURE; + STDMETHOD(ValidateDevice)(THIS_ DWORD *pass_count) PURE; + STDMETHOD(SetPaletteEntries)(THIS_ UINT palette_idx, const PALETTEENTRY *entries) PURE; + STDMETHOD(GetPaletteEntries)(THIS_ UINT palette_idx, PALETTEENTRY *entries) PURE; + STDMETHOD(SetCurrentTexturePalette)(THIS_ UINT palette_idx) PURE; + STDMETHOD(GetCurrentTexturePalette)(THIS_ UINT *palette_idx) PURE; + STDMETHOD(SetScissorRect)(THIS_ const RECT *rect) PURE; + STDMETHOD(GetScissorRect)(THIS_ RECT *rect) PURE; + STDMETHOD(SetSoftwareVertexProcessing)(THIS_ BOOL software) PURE; + STDMETHOD_(BOOL, GetSoftwareVertexProcessing)(THIS) PURE; + STDMETHOD(SetNPatchMode)(THIS_ float segment_count) PURE; + STDMETHOD_(float, GetNPatchMode)(THIS) PURE; + STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, UINT start_vertex, UINT primitive_count) PURE; + STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE primitive_type, INT base_vertex_idx, UINT min_vertex_idx, + UINT vertex_count, UINT start_idx, UINT primitive_count) PURE; + STDMETHOD(DrawPrimitiveUP)(THIS_ D3DPRIMITIVETYPE primitive_type, + UINT primitive_count, const void *data, UINT stride) PURE; + STDMETHOD(DrawIndexedPrimitiveUP)(THIS_ D3DPRIMITIVETYPE primitive_type, UINT min_vertex_idx, UINT vertex_count, + UINT primitive_count, const void *index_data, D3DFORMAT index_format, const void *data, UINT stride) PURE; + STDMETHOD(ProcessVertices)(THIS_ UINT src_start_idx, UINT dst_idx, UINT vertex_count, + IDirect3DVertexBuffer9 *dst_buffer, IDirect3DVertexDeclaration9 *declaration, DWORD flags) PURE; + STDMETHOD(CreateVertexDeclaration)(THIS_ const D3DVERTEXELEMENT9 *elements, + IDirect3DVertexDeclaration9 **declaration) PURE; + STDMETHOD(SetVertexDeclaration)(THIS_ IDirect3DVertexDeclaration9 *declaration) PURE; + STDMETHOD(GetVertexDeclaration)(THIS_ IDirect3DVertexDeclaration9 **declaration) PURE; + STDMETHOD(SetFVF)(THIS_ DWORD fvf) PURE; + STDMETHOD(GetFVF)(THIS_ DWORD *fvf) PURE; + STDMETHOD(CreateVertexShader)(THIS_ const DWORD *byte_code, IDirect3DVertexShader9 **shader) PURE; + STDMETHOD(SetVertexShader)(THIS_ IDirect3DVertexShader9 *shader) PURE; + STDMETHOD(GetVertexShader)(THIS_ IDirect3DVertexShader9 **shader) PURE; + STDMETHOD(SetVertexShaderConstantF)(THIS_ UINT reg_idx, const float *data, UINT count) PURE; + STDMETHOD(GetVertexShaderConstantF)(THIS_ UINT reg_idx, float *data, UINT count) PURE; + STDMETHOD(SetVertexShaderConstantI)(THIS_ UINT reg_idx, const int *data, UINT count) PURE; + STDMETHOD(GetVertexShaderConstantI)(THIS_ UINT reg_idx, int *data, UINT count) PURE; + STDMETHOD(SetVertexShaderConstantB)(THIS_ UINT reg_idx, const BOOL *data, UINT count) PURE; + STDMETHOD(GetVertexShaderConstantB)(THIS_ UINT reg_idx, BOOL *data, UINT count) PURE; + STDMETHOD(SetStreamSource)(THIS_ UINT stream_idx, IDirect3DVertexBuffer9 *buffer, UINT offset, UINT stride) PURE; + STDMETHOD(GetStreamSource)(THIS_ UINT stream_idx, IDirect3DVertexBuffer9 **buffer, UINT *offset, UINT *stride) PURE; + STDMETHOD(SetStreamSourceFreq)(THIS_ UINT stream_idx, UINT frequency) PURE; + STDMETHOD(GetStreamSourceFreq)(THIS_ UINT stream_idx, UINT *frequency) PURE; + STDMETHOD(SetIndices)(THIS_ IDirect3DIndexBuffer9 *buffer) PURE; + STDMETHOD(GetIndices)(THIS_ IDirect3DIndexBuffer9 **buffer) PURE; + STDMETHOD(CreatePixelShader)(THIS_ const DWORD *byte_code, IDirect3DPixelShader9 **shader) PURE; + STDMETHOD(SetPixelShader)(THIS_ IDirect3DPixelShader9 *shader) PURE; + STDMETHOD(GetPixelShader)(THIS_ IDirect3DPixelShader9 **shader) PURE; + STDMETHOD(SetPixelShaderConstantF)(THIS_ UINT reg_idx, const float *data, UINT count) PURE; + STDMETHOD(GetPixelShaderConstantF)(THIS_ UINT reg_idx, float *data, UINT count) PURE; + STDMETHOD(SetPixelShaderConstantI)(THIS_ UINT reg_idx, const int *data, UINT count) PURE; + STDMETHOD(GetPixelShaderConstantI)(THIS_ UINT reg_idx, int *data, UINT count) PURE; + STDMETHOD(SetPixelShaderConstantB)(THIS_ UINT reg_idx, const BOOL *data, UINT count) PURE; + STDMETHOD(GetPixelShaderConstantB)(THIS_ UINT reg_idx, BOOL *data, UINT count) PURE; + STDMETHOD(DrawRectPatch)(THIS_ UINT handle, const float *segment_count, const D3DRECTPATCH_INFO *patch_info) PURE; + STDMETHOD(DrawTriPatch)(THIS_ UINT handle, const float *segment_count, const D3DTRIPATCH_INFO *patch_info) PURE; + STDMETHOD(DeletePatch)(THIS_ UINT handle) PURE; + STDMETHOD(CreateQuery)(THIS_ D3DQUERYTYPE type, IDirect3DQuery9 **query) PURE; + /* IDirect3DDevice9Ex */ + STDMETHOD(SetConvolutionMonoKernel)(THIS_ UINT width, UINT height, float *rows, float *columns) PURE; + STDMETHOD(ComposeRects)(THIS_ IDirect3DSurface9 *src_surface, IDirect3DSurface9 *dst_surface, + IDirect3DVertexBuffer9 *src_descs, UINT rect_count, IDirect3DVertexBuffer9 *dst_descs, + D3DCOMPOSERECTSOP operation, INT offset_x, INT offset_y) PURE; + STDMETHOD(PresentEx)(THIS_ const RECT *src_rect, const RECT *dst_rect, + HWND dst_window_override, const RGNDATA *dirty_region, DWORD flags) PURE; + STDMETHOD(GetGPUThreadPriority)(THIS_ INT *priority) PURE; + STDMETHOD(SetGPUThreadPriority)(THIS_ INT priority) PURE; + STDMETHOD(WaitForVBlank)(THIS_ UINT swapchain_idx) PURE; + STDMETHOD(CheckResourceResidency)(THIS_ IDirect3DResource9 **resources, UINT32 resource_count) PURE; + STDMETHOD(SetMaximumFrameLatency)(THIS_ UINT max_latency) PURE; + STDMETHOD(GetMaximumFrameLatency)(THIS_ UINT *max_latency) PURE; + STDMETHOD(CheckDeviceState)(THIS_ HWND dst_window) PURE; + STDMETHOD(CreateRenderTargetEx)(THIS_ UINT width, UINT height, D3DFORMAT format, + D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality, BOOL lockable, + IDirect3DSurface9 **surface, HANDLE *shared_handle, DWORD usage) PURE; + STDMETHOD(CreateOffscreenPlainSurfaceEx)(THIS_ UINT width, UINT Height, D3DFORMAT format, + D3DPOOL pool, IDirect3DSurface9 **surface, HANDLE *shared_handle, DWORD usage) PURE; + STDMETHOD(CreateDepthStencilSurfaceEx)(THIS_ UINT width, UINT height, D3DFORMAT format, + D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality, BOOL discard, + IDirect3DSurface9 **surface, HANDLE *shared_handle, DWORD usage) PURE; + STDMETHOD(ResetEx)(THIS_ D3DPRESENT_PARAMETERS *parameters, D3DDISPLAYMODEEX *mode) PURE; + STDMETHOD(GetDisplayModeEx)(THIS_ UINT swapchain_idx, D3DDISPLAYMODEEX *mode, D3DDISPLAYROTATION *rotation) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/* IUnknown */ +#define IDirect3DDevice9Ex_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DDevice9Ex_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DDevice9Ex_Release(p) (p)->lpVtbl->Release(p) +/* IDirect3DDevice9 */ +#define IDirect3DDevice9Ex_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p) +#define IDirect3DDevice9Ex_GetAvailableTextureMem(p) (p)->lpVtbl->GetAvailableTextureMem(p) +#define IDirect3DDevice9Ex_EvictManagedResources(p) (p)->lpVtbl->EvictManagedResources(p) +#define IDirect3DDevice9Ex_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) +#define IDirect3DDevice9Ex_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a) +#define IDirect3DDevice9Ex_GetDisplayMode(p,a,b) (p)->lpVtbl->GetDisplayMode(p,a,b) +#define IDirect3DDevice9Ex_GetCreationParameters(p,a) (p)->lpVtbl->GetCreationParameters(p,a) +#define IDirect3DDevice9Ex_SetCursorProperties(p,a,b,c) (p)->lpVtbl->SetCursorProperties(p,a,b,c) +#define IDirect3DDevice9Ex_SetCursorPosition(p,a,b,c) (p)->lpVtbl->SetCursorPosition(p,a,b,c) +#define IDirect3DDevice9Ex_ShowCursor(p,a) (p)->lpVtbl->ShowCursor(p,a) +#define IDirect3DDevice9Ex_CreateAdditionalSwapChain(p,a,b) (p)->lpVtbl->CreateAdditionalSwapChain(p,a,b) +#define IDirect3DDevice9Ex_GetSwapChain(p,a,b) (p)->lpVtbl->GetSwapChain(p,a,b) +#define IDirect3DDevice9Ex_GetNumberOfSwapChains(p) (p)->lpVtbl->GetNumberOfSwapChains(p) +#define IDirect3DDevice9Ex_Reset(p,a) (p)->lpVtbl->Reset(p,a) +#define IDirect3DDevice9Ex_Present(p,a,b,c,d) (p)->lpVtbl->Present(p,a,b,c,d) +#define IDirect3DDevice9Ex_GetBackBuffer(p,a,b,c,d) (p)->lpVtbl->GetBackBuffer(p,a,b,c,d) +#define IDirect3DDevice9Ex_GetRasterStatus(p,a,b) (p)->lpVtbl->GetRasterStatus(p,a,b) +#define IDirect3DDevice9Ex_SetDialogBoxMode(p,a) (p)->lpVtbl->SetDialogBoxMode(p,a) +#define IDirect3DDevice9Ex_SetGammaRamp(p,a,b,c) (p)->lpVtbl->SetGammaRamp(p,a,b,c) +#define IDirect3DDevice9Ex_GetGammaRamp(p,a,b) (p)->lpVtbl->GetGammaRamp(p,a,b) +#define IDirect3DDevice9Ex_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateTexture(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9Ex_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f,g) +#define IDirect3DDevice9Ex_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d,e,f) +#define IDirect3DDevice9Ex_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateIndexBuffer(p,a,b,c,d,e,f) +#define IDirect3DDevice9Ex_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateRenderTarget(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_UpdateSurface(p,a,b,c,d) (p)->lpVtbl->UpdateSurface(p,a,b,c,d) +#define IDirect3DDevice9Ex_UpdateTexture(p,a,b) (p)->lpVtbl->UpdateTexture(p,a,b) +#define IDirect3DDevice9Ex_GetRenderTargetData(p,a,b) (p)->lpVtbl->GetRenderTargetData(p,a,b) +#define IDirect3DDevice9Ex_GetFrontBufferData(p,a,b) (p)->lpVtbl->GetFrontBufferData(p,a,b) +#define IDirect3DDevice9Ex_StretchRect(p,a,b,c,d,e) (p)->lpVtbl->StretchRect(p,a,b,c,d,e) +#define IDirect3DDevice9Ex_ColorFill(p,a,b,c) (p)->lpVtbl->ColorFill(p,a,b,c) +#define IDirect3DDevice9Ex_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->lpVtbl->CreateOffscreenPlainSurface(p,a,b,c,d,e,f) +#define IDirect3DDevice9Ex_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) +#define IDirect3DDevice9Ex_GetRenderTarget(p,a,b) (p)->lpVtbl->GetRenderTarget(p,a,b) +#define IDirect3DDevice9Ex_SetDepthStencilSurface(p,a) (p)->lpVtbl->SetDepthStencilSurface(p,a) +#define IDirect3DDevice9Ex_GetDepthStencilSurface(p,a) (p)->lpVtbl->GetDepthStencilSurface(p,a) +#define IDirect3DDevice9Ex_BeginScene(p) (p)->lpVtbl->BeginScene(p) +#define IDirect3DDevice9Ex_EndScene(p) (p)->lpVtbl->EndScene(p) +#define IDirect3DDevice9Ex_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f) +#define IDirect3DDevice9Ex_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) +#define IDirect3DDevice9Ex_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DDevice9Ex_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) +#define IDirect3DDevice9Ex_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) +#define IDirect3DDevice9Ex_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) +#define IDirect3DDevice9Ex_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DDevice9Ex_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DDevice9Ex_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b) +#define IDirect3DDevice9Ex_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b) +#define IDirect3DDevice9Ex_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b) +#define IDirect3DDevice9Ex_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b) +#define IDirect3DDevice9Ex_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b) +#define IDirect3DDevice9Ex_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b) +#define IDirect3DDevice9Ex_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) +#define IDirect3DDevice9Ex_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) +#define IDirect3DDevice9Ex_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b) +#define IDirect3DDevice9Ex_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p) +#define IDirect3DDevice9Ex_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a) +#define IDirect3DDevice9Ex_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) +#define IDirect3DDevice9Ex_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) +#define IDirect3DDevice9Ex_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b) +#define IDirect3DDevice9Ex_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b) +#define IDirect3DDevice9Ex_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c) +#define IDirect3DDevice9Ex_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c) +#define IDirect3DDevice9Ex_GetSamplerState(p,a,b,c) (p)->lpVtbl->GetSamplerState(p,a,b,c) +#define IDirect3DDevice9Ex_SetSamplerState(p,a,b,c) (p)->lpVtbl->SetSamplerState(p,a,b,c) +#define IDirect3DDevice9Ex_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a) +#define IDirect3DDevice9Ex_SetPaletteEntries(p,a,b) (p)->lpVtbl->SetPaletteEntries(p,a,b) +#define IDirect3DDevice9Ex_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b) +#define IDirect3DDevice9Ex_SetCurrentTexturePalette(p,a) (p)->lpVtbl->SetCurrentTexturePalette(p,a) +#define IDirect3DDevice9Ex_GetCurrentTexturePalette(p,a) (p)->lpVtbl->GetCurrentTexturePalette(p,a) +#define IDirect3DDevice9Ex_SetScissorRect(p,a) (p)->lpVtbl->SetScissorRect(p,a) +#define IDirect3DDevice9Ex_GetScissorRect(p,a) (p)->lpVtbl->GetScissorRect(p,a) +#define IDirect3DDevice9Ex_SetSoftwareVertexProcessing(p,a) (p)->lpVtbl->SetSoftwareVertexProcessing(p,a) +#define IDirect3DDevice9Ex_GetSoftwareVertexProcessing(p) (p)->lpVtbl->GetSoftwareVertexProcessing(p) +#define IDirect3DDevice9Ex_SetNPatchMode(p,a) (p)->lpVtbl->SetNPatchMode(p,a) +#define IDirect3DDevice9Ex_GetNPatchMode(p) (p)->lpVtbl->GetNPatchMode(p) +#define IDirect3DDevice9Ex_DrawPrimitive(p,a,b,c) (p)->lpVtbl->DrawPrimitive(p,a,b,c) +#define IDirect3DDevice9Ex_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f) +#define IDirect3DDevice9Ex_DrawPrimitiveUP(p,a,b,c,d) (p)->lpVtbl->DrawPrimitiveUP(p,a,b,c,d) +#define IDirect3DDevice9Ex_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_ProcessVertices(p,a,b,c,d,e,f) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f) +#define IDirect3DDevice9Ex_CreateVertexDeclaration(p,a,b) (p)->lpVtbl->CreateVertexDeclaration(p,a,b) +#define IDirect3DDevice9Ex_SetVertexDeclaration(p,a) (p)->lpVtbl->SetVertexDeclaration(p,a) +#define IDirect3DDevice9Ex_GetVertexDeclaration(p,a) (p)->lpVtbl->GetVertexDeclaration(p,a) +#define IDirect3DDevice9Ex_SetFVF(p,a) (p)->lpVtbl->SetFVF(p,a) +#define IDirect3DDevice9Ex_GetFVF(p,a) (p)->lpVtbl->GetFVF(p,a) +#define IDirect3DDevice9Ex_CreateVertexShader(p,a,b) (p)->lpVtbl->CreateVertexShader(p,a,b) +#define IDirect3DDevice9Ex_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a) +#define IDirect3DDevice9Ex_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a) +#define IDirect3DDevice9Ex_SetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantF(p,a,b,c) +#define IDirect3DDevice9Ex_GetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantF(p,a,b,c) +#define IDirect3DDevice9Ex_SetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantI(p,a,b,c) +#define IDirect3DDevice9Ex_GetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantI(p,a,b,c) +#define IDirect3DDevice9Ex_SetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantB(p,a,b,c) +#define IDirect3DDevice9Ex_GetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantB(p,a,b,c) +#define IDirect3DDevice9Ex_SetStreamSource(p,a,b,c,d) (p)->lpVtbl->SetStreamSource(p,a,b,c,d) +#define IDirect3DDevice9Ex_GetStreamSource(p,a,b,c,d) (p)->lpVtbl->GetStreamSource(p,a,b,c,d) +#define IDirect3DDevice9Ex_SetStreamSourceFreq(p,a,b) (p)->lpVtbl->SetStreamSourceFreq(p,a,b) +#define IDirect3DDevice9Ex_GetStreamSourceFreq(p,a,b) (p)->lpVtbl->GetStreamSourceFreq(p,a,b) +#define IDirect3DDevice9Ex_SetIndices(p,a) (p)->lpVtbl->SetIndices(p,a) +#define IDirect3DDevice9Ex_GetIndices(p,a) (p)->lpVtbl->GetIndices(p,a) +#define IDirect3DDevice9Ex_CreatePixelShader(p,a,b) (p)->lpVtbl->CreatePixelShader(p,a,b) +#define IDirect3DDevice9Ex_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a) +#define IDirect3DDevice9Ex_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a) +#define IDirect3DDevice9Ex_SetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantF(p,a,b,c) +#define IDirect3DDevice9Ex_GetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantF(p,a,b,c) +#define IDirect3DDevice9Ex_SetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantI(p,a,b,c) +#define IDirect3DDevice9Ex_GetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantI(p,a,b,c) +#define IDirect3DDevice9Ex_SetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantB(p,a,b,c) +#define IDirect3DDevice9Ex_GetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantB(p,a,b,c) +#define IDirect3DDevice9Ex_DrawRectPatch(p,a,b,c) (p)->lpVtbl->DrawRectPatch(p,a,b,c) +#define IDirect3DDevice9Ex_DrawTriPatch(p,a,b,c) (p)->lpVtbl->DrawTriPatch(p,a,b,c) +#define IDirect3DDevice9Ex_DeletePatch(p,a) (p)->lpVtbl->DeletePatch(p,a) +#define IDirect3DDevice9Ex_CreateQuery(p,a,b) (p)->lpVtbl->CreateQuery(p,a,b) +/* IDirect3DDevice9Ex */ +#define IDirect3DDevice9Ex_SetConvolutionMonoKernel(p,a,b,c,d) (p)->lpVtbl->SetConvolutionMonoKernel(p,a,b,c,d) +#define IDirect3DDevice9Ex_ComposeRects(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->ComposeRects(p,a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_PresentEx(p,a,b,c,d,e) (p)->lpVtbl->PresentEx(p,a,b,c,d,e) +#define IDirect3DDevice9Ex_GetGPUThreadPriority(p,a) (p)->lpVtbl->GetGPUThreadPriority(p,a) +#define IDirect3DDevice9Ex_SetGPUThreadPriority(p,a) (p)->lpVtbl->SetGPUThreadPriority(p,a) +#define IDirect3DDevice9Ex_WaitForVBlank(p,a) (p)->lpVtbl->WaitForVBlank(p,a) +#define IDirect3DDevice9Ex_CheckResourceResidency(p,a,b) (p)->lpVtbl->CheckResourceResidency(p,a,b) +#define IDirect3DDevice9Ex_SetMaximumFrameLatency(p,a) (p)->lpVtbl->SetMaximumFrameLatency(p,a) +#define IDirect3DDevice9Ex_GetMaximumFrameLatency(p,a) (p)->lpVtbl->GetMaximumFrameLatency(p,a) +#define IDirect3DDevice9Ex_CheckDeviceState(p,a) (p)->lpVtbl->CheckDeviceState(p,a) +#define IDirect3DDevice9Ex_CreateRenderTargetEx(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateRenderTargetEx(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9Ex_CreateOffscreenPlainSurfaceEx(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateOffscreenPlainSurfaceEx(p,a,b,c,d,e,f,g) +#define IDirect3DDevice9Ex_CreateDepthStencilSurfaceEx(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateDepthStencilSurfaceEx(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9Ex_ResetEx(p,a,b) (p)->lpVtbl->ResetEx(p,a,b) +#define IDirect3DDevice9Ex_GetDisplayModeEx(p,a,b,c) (p)->lpVtbl->GetDisplayModeEx(p,a,b,c) +#else +/* IUnknown */ +#define IDirect3DDevice9Ex_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DDevice9Ex_AddRef(p) (p)->AddRef() +#define IDirect3DDevice9Ex_Release(p) (p)->Release() +/* IDirect3DDevice9 */ +#define IDirect3DDevice9Ex_TestCooperativeLevel(p) (p)->TestCooperativeLevel() +#define IDirect3DDevice9Ex_GetAvailableTextureMem(p) (p)->GetAvailableTextureMem() +#define IDirect3DDevice9Ex_EvictManagedResources(p) (p)->EvictManagedResources() +#define IDirect3DDevice9Ex_GetDirect3D(p,a) (p)->GetDirect3D(a) +#define IDirect3DDevice9Ex_GetDeviceCaps(p,a) (p)->GetDeviceCaps(a) +#define IDirect3DDevice9Ex_GetDisplayMode(p,a,b) (p)->GetDisplayMode(a,b) +#define IDirect3DDevice9Ex_GetCreationParameters(p,a) (p)->GetCreationParameters(a) +#define IDirect3DDevice9Ex_SetCursorProperties(p,a,b,c) (p)->SetCursorProperties(a,b,c) +#define IDirect3DDevice9Ex_SetCursorPosition(p,a,b,c) (p)->SetCursorPosition(a,b,c) +#define IDirect3DDevice9Ex_ShowCursor(p,a) (p)->ShowCursor(a) +#define IDirect3DDevice9Ex_CreateAdditionalSwapChain(p,a,b) (p)->CreateAdditionalSwapChain(a,b) +#define IDirect3DDevice9Ex_GetSwapChain(p,a,b) (p)->GetSwapChain(a,b) +#define IDirect3DDevice9Ex_GetNumberOfSwapChains(p) (p)->GetNumberOfSwapChains() +#define IDirect3DDevice9Ex_Reset(p,a) (p)->Reset(a) +#define IDirect3DDevice9Ex_Present(p,a,b,c,d) (p)->Present(a,b,c,d) +#define IDirect3DDevice9Ex_GetBackBuffer(p,a,b,c,d) (p)->GetBackBuffer(a,b,c,d) +#define IDirect3DDevice9Ex_GetRasterStatus(p,a,b) (p)->GetRasterStatus(a,b) +#define IDirect3DDevice9Ex_SetDialogBoxMode(p,a) (p)->SetDialogBoxMode(a) +#define IDirect3DDevice9Ex_SetGammaRamp(p,a,b,c) (p)->SetGammaRamp(a,b,c) +#define IDirect3DDevice9Ex_GetGammaRamp(p,a,b) (p)->GetGammaRamp(a,b) +#define IDirect3DDevice9Ex_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->CreateTexture(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->CreateVolumeTexture(a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9Ex_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->CreateCubeTexture(a,b,c,d,e,f,g) +#define IDirect3DDevice9Ex_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->CreateVertexBuffer(a,b,c,d,e,f) +#define IDirect3DDevice9Ex_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->CreateIndexBuffer(a,b,c,d,e,f) +#define IDirect3DDevice9Ex_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->CreateRenderTarget(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->CreateDepthStencilSurface(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_UpdateSurface(p,a,b,c,d) (p)->UpdateSurface(a,b,c,d) +#define IDirect3DDevice9Ex_UpdateTexture(p,a,b) (p)->UpdateTexture(a,b) +#define IDirect3DDevice9Ex_GetRenderTargetData(p,a,b) (p)->GetRenderTargetData(a,b) +#define IDirect3DDevice9Ex_GetFrontBufferData(p,a,b) (p)->GetFrontBufferData(a,b) +#define IDirect3DDevice9Ex_StretchRect(p,a,b,c,d,e) (p)->StretchRect(a,b,c,d,e) +#define IDirect3DDevice9Ex_ColorFill(p,a,b,c) (p)->ColorFill(a,b,c) +#define IDirect3DDevice9Ex_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->CreateOffscreenPlainSurface(a,b,c,d,e,f) +#define IDirect3DDevice9Ex_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) +#define IDirect3DDevice9Ex_GetRenderTarget(p,a,b) (p)->GetRenderTarget(a,b) +#define IDirect3DDevice9Ex_SetDepthStencilSurface(p,a) (p)->SetDepthStencilSurface(a) +#define IDirect3DDevice9Ex_GetDepthStencilSurface(p,a) (p)->GetDepthStencilSurface(a) +#define IDirect3DDevice9Ex_BeginScene(p) (p)->BeginScene() +#define IDirect3DDevice9Ex_EndScene(p) (p)->EndScene() +#define IDirect3DDevice9Ex_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f) +#define IDirect3DDevice9Ex_SetTransform(p,a,b) (p)->SetTransform(a,b) +#define IDirect3DDevice9Ex_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DDevice9Ex_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) +#define IDirect3DDevice9Ex_SetViewport(p,a) (p)->SetViewport(a) +#define IDirect3DDevice9Ex_GetViewport(p,a) (p)->GetViewport(a) +#define IDirect3DDevice9Ex_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DDevice9Ex_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DDevice9Ex_SetLight(p,a,b) (p)->SetLight(a,b) +#define IDirect3DDevice9Ex_GetLight(p,a,b) (p)->GetLight(a,b) +#define IDirect3DDevice9Ex_LightEnable(p,a,b) (p)->LightEnable(a,b) +#define IDirect3DDevice9Ex_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b) +#define IDirect3DDevice9Ex_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b) +#define IDirect3DDevice9Ex_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b) +#define IDirect3DDevice9Ex_SetRenderState(p,a,b) (p)->SetRenderState(a,b) +#define IDirect3DDevice9Ex_GetRenderState(p,a,b) (p)->GetRenderState(a,b) +#define IDirect3DDevice9Ex_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b) +#define IDirect3DDevice9Ex_BeginStateBlock(p) (p)->BeginStateBlock() +#define IDirect3DDevice9Ex_EndStateBlock(p,a) (p)->EndStateBlock(a) +#define IDirect3DDevice9Ex_SetClipStatus(p,a) (p)->SetClipStatus(a) +#define IDirect3DDevice9Ex_GetClipStatus(p,a) (p)->GetClipStatus(a) +#define IDirect3DDevice9Ex_GetTexture(p,a,b) (p)->GetTexture(a,b) +#define IDirect3DDevice9Ex_SetTexture(p,a,b) (p)->SetTexture(a,b) +#define IDirect3DDevice9Ex_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c) +#define IDirect3DDevice9Ex_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c) +#define IDirect3DDevice9Ex_GetSamplerState(p,a,b,c) (p)->GetSamplerState(a,b,c) +#define IDirect3DDevice9Ex_SetSamplerState(p,a,b,c) (p)->SetSamplerState(a,b,c) +#define IDirect3DDevice9Ex_ValidateDevice(p,a) (p)->ValidateDevice(a) +#define IDirect3DDevice9Ex_SetPaletteEntries(p,a,b) (p)->SetPaletteEntries(a,b) +#define IDirect3DDevice9Ex_GetPaletteEntries(p,a,b) (p)->GetPaletteEntries(a,b) +#define IDirect3DDevice9Ex_SetCurrentTexturePalette(p,a) (p)->SetCurrentTexturePalette(a) +#define IDirect3DDevice9Ex_GetCurrentTexturePalette(p,a) (p)->GetCurrentTexturePalette(a) +#define IDirect3DDevice9Ex_SetScissorRect(p,a) (p)->SetScissorRect(a) +#define IDirect3DDevice9Ex_GetScissorRect(p,a) (p)->GetScissorRect(a) +#define IDirect3DDevice9Ex_SetSoftwareVertexProcessing(p,a) (p)->SetSoftwareVertexProcessing(a) +#define IDirect3DDevice9Ex_GetSoftwareVertexProcessing(p) (p)->GetSoftwareVertexProcessing() +#define IDirect3DDevice9Ex_SetNPatchMode(p,a) (p)->SetNPatchMode(a) +#define IDirect3DDevice9Ex_GetNPatchMode(p) (p)->GetNPatchMode() +#define IDirect3DDevice9Ex_DrawPrimitive(p,a,b,c) (p)->DrawPrimitive(a,b,c) +#define IDirect3DDevice9Ex_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->DrawIndexedPrimitive(a,b,c,d,e,f) +#define IDirect3DDevice9Ex_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d) +#define IDirect3DDevice9Ex_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_ProcessVertices(p,a,b,c,d,e,f) (p)->ProcessVertices(a,b,c,d,e,f) +#define IDirect3DDevice9Ex_CreateVertexDeclaration(p,a,b) (p)->CreateVertexDeclaration(a,b) +#define IDirect3DDevice9Ex_SetVertexDeclaration(p,a) (p)->SetVertexDeclaration(a) +#define IDirect3DDevice9Ex_GetVertexDeclaration(p,a) (p)->GetVertexDeclaration(a) +#define IDirect3DDevice9Ex_SetFVF(p,a) (p)->SetFVF(a) +#define IDirect3DDevice9Ex_GetFVF(p,a) (p)->GetFVF(a) +#define IDirect3DDevice9Ex_CreateVertexShader(p,a,b) (p)->CreateVertexShader(a,b) +#define IDirect3DDevice9Ex_SetVertexShader(p,a) (p)->SetVertexShader(a) +#define IDirect3DDevice9Ex_GetVertexShader(p,a) (p)->GetVertexShader(a) +#define IDirect3DDevice9Ex_SetVertexShaderConstantF(p,a,b,c) (p)->SetVertexShaderConstantF(a,b,c) +#define IDirect3DDevice9Ex_GetVertexShaderConstantF(p,a,b,c) (p)->GetVertexShaderConstantF(a,b,c) +#define IDirect3DDevice9Ex_SetVertexShaderConstantI(p,a,b,c) (p)->SetVertexShaderConstantI(a,b,c) +#define IDirect3DDevice9Ex_GetVertexShaderConstantI(p,a,b,c) (p)->GetVertexShaderConstantI(a,b,c) +#define IDirect3DDevice9Ex_SetVertexShaderConstantB(p,a,b,c) (p)->SetVertexShaderConstantB(a,b,c) +#define IDirect3DDevice9Ex_GetVertexShaderConstantB(p,a,b,c) (p)->GetVertexShaderConstantB(a,b,c) +#define IDirect3DDevice9Ex_SetStreamSource(p,a,b,c,d) (p)->SetStreamSource(a,b,c,d) +#define IDirect3DDevice9Ex_GetStreamSource(p,a,b,c,d) (p)->GetStreamSource(a,b,c,d) +#define IDirect3DDevice9Ex_SetStreamSourceFreq(p,a,b) (p)->SetStreamSourceFreq(a,b) +#define IDirect3DDevice9Ex_GetStreamSourceFreq(p,a,b) (p)->GetStreamSourceFreq(a,b) +#define IDirect3DDevice9Ex_SetIndices(p,a) (p)->SetIndices(a) +#define IDirect3DDevice9Ex_GetIndices(p,a) (p)->GetIndices(a) +#define IDirect3DDevice9Ex_CreatePixelShader(p,a,b) (p)->CreatePixelShader(a,b) +#define IDirect3DDevice9Ex_SetPixelShader(p,a) (p)->SetPixelShader(a) +#define IDirect3DDevice9Ex_GetPixelShader(p,a) (p)->GetPixelShader(a) +#define IDirect3DDevice9Ex_SetPixelShaderConstantF(p,a,b,c) (p)->SetPixelShaderConstantF(a,b,c) +#define IDirect3DDevice9Ex_GetPixelShaderConstantF(p,a,b,c) (p)->GetPixelShaderConstantF(a,b,c) +#define IDirect3DDevice9Ex_SetPixelShaderConstantI(p,a,b,c) (p)->SetPixelShaderConstantI(a,b,c) +#define IDirect3DDevice9Ex_GetPixelShaderConstantI(p,a,b,c) (p)->GetPixelShaderConstantI(a,b,c) +#define IDirect3DDevice9Ex_SetPixelShaderConstantB(p,a,b,c) (p)->SetPixelShaderConstantB(a,b,c) +#define IDirect3DDevice9Ex_GetPixelShaderConstantB(p,a,b,c) (p)->GetPixelShaderConstantB(a,b,c) +#define IDirect3DDevice9Ex_DrawRectPatch(p,a,b,c) (p)->DrawRectPatch(a,b,c) +#define IDirect3DDevice9Ex_DrawTriPatch(p,a,b,c) (p)->DrawTriPatch(a,b,c) +#define IDirect3DDevice9Ex_DeletePatch(p,a) (p)->DeletePatch(a) +#define IDirect3DDevice9Ex_CreateQuery(p,a,b) (p)->CreateQuery(a,b) +/* IDirect3DDevice9Ex */ +#define IDirect3DDevice9Ex_SetConvolutionMonoKernel(p,a,b,c,d) (p)->SetConvolutionMonoKernel(a,b,c,d) +#define IDirect3DDevice9Ex_ComposeRects(p,a,b,c,d,e,f,g,h) (p)->ComposeRects(a,b,c,d,e,f,g,h) +#define IDirect3DDevice9Ex_PresentEx(p,a,b,c,d,e) (p)->PresentEx(a,b,c,d,e) +#define IDirect3DDevice9Ex_GetGPUThreadPriority(p,a) (p)->GetGPUThreadPriority(a) +#define IDirect3DDevice9Ex_SetGPUThreadPriority(p,a) (p)->SetGPUThreadPriority(a) +#define IDirect3DDevice9Ex_WaitForVBlank(p,a) (p)->WaitForVBlank(a) +#define IDirect3DDevice9Ex_CheckResourceResidency(p,a,b) (p)->CheckResourceResidency(a,b) +#define IDirect3DDevice9Ex_SetMaximumFrameLatency(p,a) (p)->SetMaximumFrameLatency(a) +#define IDirect3DDevice9Ex_GetMaximumFrameLatency(p,a) (p)->GetMaximumFrameLatency(a) +#define IDirect3DDevice9Ex_CheckDeviceState(p,a) (p)->CheckDeviceState(a) +#define IDirect3DDevice9Ex_CreateRenderTargetEx(p,a,b,c,d,e,f,g,h,i) (p)->CreateRenderTargetEx(a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9Ex_CreateOffscreenPlainSurfaceEx(p,a,b,c,d,e,f,g) (p)->CreateOffscreenPlainSurfaceEx(a,b,c,d,e,f,g) +#define IDirect3DDevice9Ex_CreateDepthStencilSurfaceEx(p,a,b,c,d,e,f,g,h,i) (p)->CreateDepthStencilSurfaceEx(a,b,c,d,e,f,g,h,i) +#define IDirect3DDevice9Ex_ResetEx(p,a,b) (p)->ResetEx(a,b) +#define IDirect3DDevice9Ex_GetDisplayModeEx(p,a,b,c) (p)->GetDisplayModeEx(a,b,c) +#endif + +#endif /* !defined(D3D_DISABLE_9EX) */ + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, const WCHAR *name); +int WINAPI D3DPERF_EndEvent(void); +DWORD WINAPI D3DPERF_GetStatus(void); +BOOL WINAPI D3DPERF_QueryRepeatFrame(void); +void WINAPI D3DPERF_SetMarker(D3DCOLOR color, const WCHAR *name); +void WINAPI D3DPERF_SetOptions(DWORD options); +void WINAPI D3DPERF_SetRegion(D3DCOLOR color, const WCHAR *name); + +IDirect3D9 * WINAPI Direct3DCreate9(UINT sdk_version); +#ifndef D3D_DISABLE_9EX +HRESULT WINAPI Direct3DCreate9Ex(UINT sdk_version, IDirect3D9Ex **d3d9ex); +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + + +#endif /* _D3D9_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9caps.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9caps.h new file mode 100644 index 0000000..424b20c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9caps.h @@ -0,0 +1,406 @@ +/* + * Copyright (C) 2002-2003 Jason Edmeades + * Raphael Junqueira + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3D9CAPS_H +#define __WINE_D3D9CAPS_H + +#ifdef __i386__ +#include +#endif + +/* + * Definitions + */ +#define D3DCAPS_READ_SCANLINE 0x20000 + +#define D3DCURSORCAPS_COLOR 1 +#define D3DCURSORCAPS_LOWRES 2 + + +#define D3DDEVCAPS2_STREAMOFFSET __MSABI_LONG(0x00000001) +#define D3DDEVCAPS2_DMAPNPATCH __MSABI_LONG(0x00000002) +#define D3DDEVCAPS2_ADAPTIVETESSRTPATCH __MSABI_LONG(0x00000004) +#define D3DDEVCAPS2_ADAPTIVETESSNPATCH __MSABI_LONG(0x00000008) +#define D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES __MSABI_LONG(0x00000010) +#define D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH __MSABI_LONG(0x00000020) +#define D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET __MSABI_LONG(0x00000040) + +#define D3DDEVCAPS_EXECUTESYSTEMMEMORY 0x0000010 +#define D3DDEVCAPS_EXECUTEVIDEOMEMORY 0x0000020 +#define D3DDEVCAPS_TLVERTEXSYSTEMMEMORY 0x0000040 +#define D3DDEVCAPS_TLVERTEXVIDEOMEMORY 0x0000080 +#define D3DDEVCAPS_TEXTURESYSTEMMEMORY 0x0000100 +#define D3DDEVCAPS_TEXTUREVIDEOMEMORY 0x0000200 +#define D3DDEVCAPS_DRAWPRIMTLVERTEX 0x0000400 +#define D3DDEVCAPS_CANRENDERAFTERFLIP 0x0000800 +#define D3DDEVCAPS_TEXTURENONLOCALVIDMEM 0x0001000 +#define D3DDEVCAPS_DRAWPRIMITIVES2 0x0002000 +#define D3DDEVCAPS_SEPARATETEXTUREMEMORIES 0x0004000 +#define D3DDEVCAPS_DRAWPRIMITIVES2EX 0x0008000 +#define D3DDEVCAPS_HWTRANSFORMANDLIGHT 0x0010000 +#define D3DDEVCAPS_CANBLTSYSTONONLOCAL 0x0020000 +#define D3DDEVCAPS_HWRASTERIZATION 0x0080000 +#define D3DDEVCAPS_PUREDEVICE 0x0100000 +#define D3DDEVCAPS_QUINTICRTPATCHES 0x0200000 +#define D3DDEVCAPS_RTPATCHES 0x0400000 +#define D3DDEVCAPS_RTPATCHHANDLEZERO 0x0800000 +#define D3DDEVCAPS_NPATCHES 0x1000000 + +#define D3DFVFCAPS_TEXCOORDCOUNTMASK 0x00FFFF +#define D3DFVFCAPS_DONOTSTRIPELEMENTS 0x080000 +#define D3DFVFCAPS_PSIZE 0x100000 + +#define D3DLINECAPS_TEXTURE 0x01 +#define D3DLINECAPS_ZTEST 0x02 +#define D3DLINECAPS_BLEND 0x04 +#define D3DLINECAPS_ALPHACMP 0x08 +#define D3DLINECAPS_FOG 0x10 +#define D3DLINECAPS_ANTIALIAS 0x20 + +#define D3DPBLENDCAPS_ZERO 0x00000001 +#define D3DPBLENDCAPS_ONE 0x00000002 +#define D3DPBLENDCAPS_SRCCOLOR 0x00000004 +#define D3DPBLENDCAPS_INVSRCCOLOR 0x00000008 +#define D3DPBLENDCAPS_SRCALPHA 0x00000010 +#define D3DPBLENDCAPS_INVSRCALPHA 0x00000020 +#define D3DPBLENDCAPS_DESTALPHA 0x00000040 +#define D3DPBLENDCAPS_INVDESTALPHA 0x00000080 +#define D3DPBLENDCAPS_DESTCOLOR 0x00000100 +#define D3DPBLENDCAPS_INVDESTCOLOR 0x00000200 +#define D3DPBLENDCAPS_SRCALPHASAT 0x00000400 +#define D3DPBLENDCAPS_BOTHSRCALPHA 0x00000800 +#define D3DPBLENDCAPS_BOTHINVSRCALPHA 0x00001000 +#define D3DPBLENDCAPS_BLENDFACTOR 0x00002000 + +#define D3DPCMPCAPS_NEVER 0x01 +#define D3DPCMPCAPS_LESS 0x02 +#define D3DPCMPCAPS_EQUAL 0x04 +#define D3DPCMPCAPS_LESSEQUAL 0x08 +#define D3DPCMPCAPS_GREATER 0x10 +#define D3DPCMPCAPS_NOTEQUAL 0x20 +#define D3DPCMPCAPS_GREATEREQUAL 0x40 +#define D3DPCMPCAPS_ALWAYS 0x80 + +#define D3DPMISCCAPS_MASKZ __MSABI_LONG(0x00000002) +#define D3DPMISCCAPS_LINEPATTERNREP __MSABI_LONG(0x00000004) +#define D3DPMISCCAPS_CULLNONE __MSABI_LONG(0x00000010) +#define D3DPMISCCAPS_CULLCW __MSABI_LONG(0x00000020) +#define D3DPMISCCAPS_CULLCCW __MSABI_LONG(0x00000040) +#define D3DPMISCCAPS_COLORWRITEENABLE __MSABI_LONG(0x00000080) +#define D3DPMISCCAPS_CLIPPLANESCALEDPOINTS __MSABI_LONG(0x00000100) +#define D3DPMISCCAPS_CLIPTLVERTS __MSABI_LONG(0x00000200) +#define D3DPMISCCAPS_TSSARGTEMP __MSABI_LONG(0x00000400) +#define D3DPMISCCAPS_BLENDOP __MSABI_LONG(0x00000800) +#define D3DPMISCCAPS_NULLREFERENCE __MSABI_LONG(0x00001000) +#define D3DPMISCCAPS_INDEPENDENTWRITEMASKS __MSABI_LONG(0x00004000) +#define D3DPMISCCAPS_PERSTAGECONSTANT __MSABI_LONG(0x00008000) +#define D3DPMISCCAPS_FOGANDSPECULARALPHA __MSABI_LONG(0x00010000) +#define D3DPMISCCAPS_SEPARATEALPHABLEND __MSABI_LONG(0x00020000) +#define D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS __MSABI_LONG(0x00040000) +#define D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING __MSABI_LONG(0x00080000) +#define D3DPMISCCAPS_FOGVERTEXCLAMPED __MSABI_LONG(0x00100000) + +#ifndef D3D_DISABLE_9EX +#define D3DPMISCCAPS_POSTBLENDSRGBCONVERT __MSABI_LONG(0x00200000) +#endif + +#define D3DPRASTERCAPS_DITHER __MSABI_LONG(0x00000001) +#define D3DPRASTERCAPS_PAT __MSABI_LONG(0x00000008) +#define D3DPRASTERCAPS_ZTEST __MSABI_LONG(0x00000010) +#define D3DPRASTERCAPS_FOGVERTEX __MSABI_LONG(0x00000080) +#define D3DPRASTERCAPS_FOGTABLE __MSABI_LONG(0x00000100) +#define D3DPRASTERCAPS_ANTIALIASEDGES __MSABI_LONG(0x00001000) +#define D3DPRASTERCAPS_MIPMAPLODBIAS __MSABI_LONG(0x00002000) +#define D3DPRASTERCAPS_ZBIAS __MSABI_LONG(0x00004000) +#define D3DPRASTERCAPS_ZBUFFERLESSHSR __MSABI_LONG(0x00008000) +#define D3DPRASTERCAPS_FOGRANGE __MSABI_LONG(0x00010000) +#define D3DPRASTERCAPS_ANISOTROPY __MSABI_LONG(0x00020000) +#define D3DPRASTERCAPS_WBUFFER __MSABI_LONG(0x00040000) +#define D3DPRASTERCAPS_WFOG __MSABI_LONG(0x00100000) +#define D3DPRASTERCAPS_ZFOG __MSABI_LONG(0x00200000) +#define D3DPRASTERCAPS_COLORPERSPECTIVE __MSABI_LONG(0x00400000) +#define D3DPRASTERCAPS_SCISSORTEST __MSABI_LONG(0x01000000) +#define D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS __MSABI_LONG(0x02000000) +#define D3DPRASTERCAPS_DEPTHBIAS __MSABI_LONG(0x04000000) +#define D3DPRASTERCAPS_MULTISAMPLE_TOGGLE __MSABI_LONG(0x08000000) + +#define D3DPRESENT_INTERVAL_DEFAULT 0x00000000 +#define D3DPRESENT_INTERVAL_ONE 0x00000001 +#define D3DPRESENT_INTERVAL_TWO 0x00000002 +#define D3DPRESENT_INTERVAL_THREE 0x00000004 +#define D3DPRESENT_INTERVAL_FOUR 0x00000008 +#define D3DPRESENT_INTERVAL_IMMEDIATE 0x80000000 + +#define D3DPSHADECAPS_COLORGOURAUDRGB 0x00008 +#define D3DPSHADECAPS_SPECULARGOURAUDRGB 0x00200 +#define D3DPSHADECAPS_ALPHAGOURAUDBLEND 0x04000 +#define D3DPSHADECAPS_FOGGOURAUD 0x80000 + +#define D3DPTADDRESSCAPS_WRAP 0x01 +#define D3DPTADDRESSCAPS_MIRROR 0x02 +#define D3DPTADDRESSCAPS_CLAMP 0x04 +#define D3DPTADDRESSCAPS_BORDER 0x08 +#define D3DPTADDRESSCAPS_INDEPENDENTUV 0x10 +#define D3DPTADDRESSCAPS_MIRRORONCE 0x20 + +#define D3DPTEXTURECAPS_PERSPECTIVE __MSABI_LONG(0x00000001) +#define D3DPTEXTURECAPS_POW2 __MSABI_LONG(0x00000002) +#define D3DPTEXTURECAPS_ALPHA __MSABI_LONG(0x00000004) +#define D3DPTEXTURECAPS_SQUAREONLY __MSABI_LONG(0x00000020) +#define D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE __MSABI_LONG(0x00000040) +#define D3DPTEXTURECAPS_ALPHAPALETTE __MSABI_LONG(0x00000080) +#define D3DPTEXTURECAPS_NONPOW2CONDITIONAL __MSABI_LONG(0x00000100) +#define D3DPTEXTURECAPS_PROJECTED __MSABI_LONG(0x00000400) +#define D3DPTEXTURECAPS_CUBEMAP __MSABI_LONG(0x00000800) +#define D3DPTEXTURECAPS_VOLUMEMAP __MSABI_LONG(0x00002000) +#define D3DPTEXTURECAPS_MIPMAP __MSABI_LONG(0x00004000) +#define D3DPTEXTURECAPS_MIPVOLUMEMAP __MSABI_LONG(0x00008000) +#define D3DPTEXTURECAPS_MIPCUBEMAP __MSABI_LONG(0x00010000) +#define D3DPTEXTURECAPS_CUBEMAP_POW2 __MSABI_LONG(0x00020000) +#define D3DPTEXTURECAPS_VOLUMEMAP_POW2 __MSABI_LONG(0x00040000) +#define D3DPTEXTURECAPS_NOPROJECTEDBUMPENV __MSABI_LONG(0x00200000) + +#define D3DPTFILTERCAPS_MINFPOINT 0x00000100 +#define D3DPTFILTERCAPS_MINFLINEAR 0x00000200 +#define D3DPTFILTERCAPS_MINFANISOTROPIC 0x00000400 +#define D3DPTFILTERCAPS_MINFPYRAMIDALQUAD 0x00000800 +#define D3DPTFILTERCAPS_MINFGAUSSIANQUAD 0x00001000 +#define D3DPTFILTERCAPS_MIPFPOINT 0x00010000 +#define D3DPTFILTERCAPS_MIPFLINEAR 0x00020000 +#define D3DPTFILTERCAPS_MAGFPOINT 0x01000000 +#define D3DPTFILTERCAPS_MAGFLINEAR 0x02000000 +#define D3DPTFILTERCAPS_MAGFANISOTROPIC 0x04000000 +#define D3DPTFILTERCAPS_MAGFPYRAMIDALQUAD 0x08000000 +#define D3DPTFILTERCAPS_MAGFGAUSSIANQUAD 0x10000000 + +#define D3DSTENCILCAPS_KEEP 0x01 +#define D3DSTENCILCAPS_ZERO 0x02 +#define D3DSTENCILCAPS_REPLACE 0x04 +#define D3DSTENCILCAPS_INCRSAT 0x08 +#define D3DSTENCILCAPS_DECRSAT 0x10 +#define D3DSTENCILCAPS_INVERT 0x20 +#define D3DSTENCILCAPS_INCR 0x40 +#define D3DSTENCILCAPS_DECR 0x80 +#define D3DSTENCILCAPS_TWOSIDED 0x100 + +#define D3DTEXOPCAPS_DISABLE 0x0000001 +#define D3DTEXOPCAPS_SELECTARG1 0x0000002 +#define D3DTEXOPCAPS_SELECTARG2 0x0000004 +#define D3DTEXOPCAPS_MODULATE 0x0000008 +#define D3DTEXOPCAPS_MODULATE2X 0x0000010 +#define D3DTEXOPCAPS_MODULATE4X 0x0000020 +#define D3DTEXOPCAPS_ADD 0x0000040 +#define D3DTEXOPCAPS_ADDSIGNED 0x0000080 +#define D3DTEXOPCAPS_ADDSIGNED2X 0x0000100 +#define D3DTEXOPCAPS_SUBTRACT 0x0000200 +#define D3DTEXOPCAPS_ADDSMOOTH 0x0000400 +#define D3DTEXOPCAPS_BLENDDIFFUSEALPHA 0x0000800 +#define D3DTEXOPCAPS_BLENDTEXTUREALPHA 0x0001000 +#define D3DTEXOPCAPS_BLENDFACTORALPHA 0x0002000 +#define D3DTEXOPCAPS_BLENDTEXTUREALPHAPM 0x0004000 +#define D3DTEXOPCAPS_BLENDCURRENTALPHA 0x0008000 +#define D3DTEXOPCAPS_PREMODULATE 0x0010000 +#define D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR 0x0020000 +#define D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA 0x0040000 +#define D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR 0x0080000 +#define D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA 0x0100000 +#define D3DTEXOPCAPS_BUMPENVMAP 0x0200000 +#define D3DTEXOPCAPS_BUMPENVMAPLUMINANCE 0x0400000 +#define D3DTEXOPCAPS_DOTPRODUCT3 0x0800000 +#define D3DTEXOPCAPS_MULTIPLYADD 0x1000000 +#define D3DTEXOPCAPS_LERP 0x2000000 + +#define D3DVTXPCAPS_TEXGEN __MSABI_LONG(0x00000001) +#define D3DVTXPCAPS_MATERIALSOURCE7 __MSABI_LONG(0x00000002) +#define D3DVTXPCAPS_DIRECTIONALLIGHTS __MSABI_LONG(0x00000008) +#define D3DVTXPCAPS_POSITIONALLIGHTS __MSABI_LONG(0x00000010) +#define D3DVTXPCAPS_LOCALVIEWER __MSABI_LONG(0x00000020) +#define D3DVTXPCAPS_TWEENING __MSABI_LONG(0x00000040) +#define D3DVTXPCAPS_TEXGEN_SPHEREMAP __MSABI_LONG(0x00000100) +#define D3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER __MSABI_LONG(0x00000200) + +#define D3DDTCAPS_UBYTE4 __MSABI_LONG(0x00000001) +#define D3DDTCAPS_UBYTE4N __MSABI_LONG(0x00000002) +#define D3DDTCAPS_SHORT2N __MSABI_LONG(0x00000004) +#define D3DDTCAPS_SHORT4N __MSABI_LONG(0x00000008) +#define D3DDTCAPS_USHORT2N __MSABI_LONG(0x00000010) +#define D3DDTCAPS_USHORT4N __MSABI_LONG(0x00000020) +#define D3DDTCAPS_UDEC3 __MSABI_LONG(0x00000040) +#define D3DDTCAPS_DEC3N __MSABI_LONG(0x00000080) +#define D3DDTCAPS_FLOAT16_2 __MSABI_LONG(0x00000100) +#define D3DDTCAPS_FLOAT16_4 __MSABI_LONG(0x00000200) + +#define D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD __MSABI_LONG(0x00000020) +#define D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION __MSABI_LONG(0x00000080) +#define D3DCAPS3_COPY_TO_VIDMEM __MSABI_LONG(0x00000100) +#define D3DCAPS3_COPY_TO_SYSTEMMEM __MSABI_LONG(0x00000200) +#define D3DCAPS3_RESERVED __MSABI_LONG(0x8000001F) + +#define D3DCAPS2_NO2DDURING3DSCENE __MSABI_LONG(0x00000002) +#define D3DCAPS2_FULLSCREENGAMMA __MSABI_LONG(0x00020000) +#define D3DCAPS2_CANRENDERWINDOWED __MSABI_LONG(0x00080000) +#define D3DCAPS2_CANCALIBRATEGAMMA __MSABI_LONG(0x00100000) +#define D3DCAPS2_RESERVED __MSABI_LONG(0x02000000) +#define D3DCAPS2_CANMANAGERESOURCE __MSABI_LONG(0x10000000) +#define D3DCAPS2_DYNAMICTEXTURES __MSABI_LONG(0x20000000) +#define D3DCAPS2_CANAUTOGENMIPMAP __MSABI_LONG(0x40000000) + + +#define D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH 24 +#define D3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH 0 +#define D3DVS20_MAX_NUMTEMPS 32 +#define D3DVS20_MIN_NUMTEMPS 12 +#define D3DVS20_MAX_STATICFLOWCONTROLDEPTH 4 +#define D3DVS20_MIN_STATICFLOWCONTROLDEPTH 1 + +#define D3DVS20CAPS_PREDICATION (1 << 0) + +#define D3DPS20CAPS_ARBITRARYSWIZZLE (1 << 0) +#define D3DPS20CAPS_GRADIENTINSTRUCTIONS (1 << 1) +#define D3DPS20CAPS_PREDICATION (1 << 2) +#define D3DPS20CAPS_NODEPENDENTREADLIMIT (1 << 3) +#define D3DPS20CAPS_NOTEXINSTRUCTIONLIMIT (1 << 4) + +#define D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH 24 +#define D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH 0 +#define D3DPS20_MAX_NUMTEMPS 32 +#define D3DPS20_MIN_NUMTEMPS 12 +#define D3DPS20_MAX_STATICFLOWCONTROLDEPTH 4 +#define D3DPS20_MIN_STATICFLOWCONTROLDEPTH 0 +#define D3DPS20_MAX_NUMINSTRUCTIONSLOTS 512 +#define D3DPS20_MIN_NUMINSTRUCTIONSLOTS 96 + +#define D3DMIN30SHADERINSTRUCTIONS 512 +#define D3DMAX30SHADERINSTRUCTIONS 32768 + + +typedef struct _D3DVSHADERCAPS2_0 { + DWORD Caps; + INT DynamicFlowControlDepth; + INT NumTemps; + INT StaticFlowControlDepth; +} D3DVSHADERCAPS2_0; + +typedef struct _D3DPSHADERCAPS2_0 { + DWORD Caps; + INT DynamicFlowControlDepth; + INT NumTemps; + INT StaticFlowControlDepth; + INT NumInstructionSlots; +} D3DPSHADERCAPS2_0; + +/* + * The d3dcaps9 structure + */ +typedef struct _D3DCAPS9 { + D3DDEVTYPE DeviceType; + UINT AdapterOrdinal; + + DWORD Caps; + DWORD Caps2; + DWORD Caps3; + DWORD PresentationIntervals; + + DWORD CursorCaps; + + DWORD DevCaps; + + DWORD PrimitiveMiscCaps; + DWORD RasterCaps; + DWORD ZCmpCaps; + DWORD SrcBlendCaps; + DWORD DestBlendCaps; + DWORD AlphaCmpCaps; + DWORD ShadeCaps; + DWORD TextureCaps; + DWORD TextureFilterCaps; + DWORD CubeTextureFilterCaps; + DWORD VolumeTextureFilterCaps; + DWORD TextureAddressCaps; + DWORD VolumeTextureAddressCaps; + + DWORD LineCaps; + + DWORD MaxTextureWidth, MaxTextureHeight; + DWORD MaxVolumeExtent; + + DWORD MaxTextureRepeat; + DWORD MaxTextureAspectRatio; + DWORD MaxAnisotropy; + float MaxVertexW; + + float GuardBandLeft; + float GuardBandTop; + float GuardBandRight; + float GuardBandBottom; + + float ExtentsAdjust; + DWORD StencilCaps; + + DWORD FVFCaps; + DWORD TextureOpCaps; + DWORD MaxTextureBlendStages; + DWORD MaxSimultaneousTextures; + + DWORD VertexProcessingCaps; + DWORD MaxActiveLights; + DWORD MaxUserClipPlanes; + DWORD MaxVertexBlendMatrices; + DWORD MaxVertexBlendMatrixIndex; + + float MaxPointSize; + + DWORD MaxPrimitiveCount; + DWORD MaxVertexIndex; + DWORD MaxStreams; + DWORD MaxStreamStride; + + DWORD VertexShaderVersion; + DWORD MaxVertexShaderConst; + + DWORD PixelShaderVersion; + float PixelShader1xMaxValue; + + /* DX 9 */ + DWORD DevCaps2; + + float MaxNpatchTessellationLevel; + DWORD Reserved5; + + UINT MasterAdapterOrdinal; + UINT AdapterOrdinalInGroup; + UINT NumberOfAdaptersInGroup; + DWORD DeclTypes; + DWORD NumSimultaneousRTs; + DWORD StretchRectFilterCaps; + D3DVSHADERCAPS2_0 VS20Caps; + D3DPSHADERCAPS2_0 PS20Caps; + DWORD VertexTextureFilterCaps; + DWORD MaxVShaderInstructionsExecuted; + DWORD MaxPShaderInstructionsExecuted; + DWORD MaxVertexShader30InstructionSlots; + DWORD MaxPixelShader30InstructionSlots; + +} D3DCAPS9; + +#ifdef __i386__ +#include +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9types.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9types.h new file mode 100644 index 0000000..ed14e9b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3d9types.h @@ -0,0 +1,1600 @@ +/* + * Copyright (C) 2002-2003 Jason Edmeades + * Copyright (C) 2002-2003 Raphael Junqueira + * Copyright (C) 2005 Oliver Stieber + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3D9TYPES_H +#define __WINE_D3D9TYPES_H + +#ifdef __i386__ +#include +#endif + +/***************************************************************************** + * Direct 3D v9 #defines + */ +#define D3DCLEAR_TARGET __MSABI_LONG(0x00000001) +#define D3DCLEAR_ZBUFFER __MSABI_LONG(0x00000002) +#define D3DCLEAR_STENCIL __MSABI_LONG(0x00000004) + +#define D3DCLIPPLANE0 (1 << 0) +#define D3DCLIPPLANE1 (1 << 1) +#define D3DCLIPPLANE2 (1 << 2) +#define D3DCLIPPLANE3 (1 << 3) +#define D3DCLIPPLANE4 (1 << 4) +#define D3DCLIPPLANE5 (1 << 5) + +#define D3DCOLOR_ARGB(a,r,g,b) ((D3DCOLOR)((((a)&0xffu)<<24)|(((r)&0xffu)<<16)|(((g)&0xffu)<<8)|((b)&0xffu))) +#define D3DCOLOR_COLORVALUE(r,g,b,a) D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f)) +#define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,r,g,b) +#define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b) +#define D3DCOLOR_XYUV(y,u,v) D3DCOLOR_ARGB(0xFF,y,u,v) +#define D3DCOLOR_AYUV(a,y,u,v) D3DCOLOR_ARGB(a,y,u,v) + +#define D3DCS_LEFT __MSABI_LONG(0x001) +#define D3DCS_RIGHT __MSABI_LONG(0x002) +#define D3DCS_TOP __MSABI_LONG(0x004) +#define D3DCS_BOTTOM __MSABI_LONG(0x008) +#define D3DCS_FRONT __MSABI_LONG(0x010) +#define D3DCS_BACK __MSABI_LONG(0x020) +#define D3DCS_PLANE0 __MSABI_LONG(0x040) +#define D3DCS_PLANE1 __MSABI_LONG(0x080) +#define D3DCS_PLANE2 __MSABI_LONG(0x100) +#define D3DCS_PLANE3 __MSABI_LONG(0x200) +#define D3DCS_PLANE4 __MSABI_LONG(0x400) +#define D3DCS_PLANE5 __MSABI_LONG(0x800) +#define D3DCS_ALL __MSABI_LONG(0xFFF) + +#define D3DFVF_TEXTUREFORMAT1 3u +#define D3DFVF_TEXTUREFORMAT2 0u +#define D3DFVF_TEXTUREFORMAT3 1u +#define D3DFVF_TEXTUREFORMAT4 2u +#define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16)) +#define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2) +#define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16)) +#define D3DFVF_TEXCOORDSIZE4(CoordIndex) (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16)) + +#define D3DLOCK_READONLY 0x0010 +#define D3DLOCK_NOSYSLOCK 0x0800 +#define D3DLOCK_NOOVERWRITE 0x1000 +#define D3DLOCK_DISCARD 0x2000 +#define D3DLOCK_DONOTWAIT 0x4000 +#define D3DLOCK_NO_DIRTY_UPDATE 0x8000 + +#define D3DMAXUSERCLIPPLANES 32 +#define D3DCLIPPLANE0 (1 << 0) +#define D3DCLIPPLANE1 (1 << 1) +#define D3DCLIPPLANE2 (1 << 2) +#define D3DCLIPPLANE3 (1 << 3) +#define D3DCLIPPLANE4 (1 << 4) +#define D3DCLIPPLANE5 (1 << 5) + + +#define D3DRENDERSTATE_WRAPBIAS __MSABI_LONG(128U) + +/* MSDN has this in d3d9caps.h, but it should be here */ +#define D3DTSS_TCI_PASSTHRU 0x00000 +#define D3DTSS_TCI_CAMERASPACENORMAL 0x10000 +#define D3DTSS_TCI_CAMERASPACEPOSITION 0x20000 +#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x30000 +#define D3DTSS_TCI_SPHEREMAP 0x40000 + + +#define D3DTS_WORLD D3DTS_WORLDMATRIX(0) +#define D3DTS_WORLD1 D3DTS_WORLDMATRIX(1) +#define D3DTS_WORLD2 D3DTS_WORLDMATRIX(2) +#define D3DTS_WORLD3 D3DTS_WORLDMATRIX(3) +#define D3DTS_WORLDMATRIX(index) (D3DTRANSFORMSTATETYPE)(index + 256) + +#define D3DUSAGE_RENDERTARGET __MSABI_LONG(0x00000001) +#define D3DUSAGE_DEPTHSTENCIL __MSABI_LONG(0x00000002) +#define D3DUSAGE_WRITEONLY __MSABI_LONG(0x00000008) +#define D3DUSAGE_SOFTWAREPROCESSING __MSABI_LONG(0x00000010) +#define D3DUSAGE_DONOTCLIP __MSABI_LONG(0x00000020) +#define D3DUSAGE_POINTS __MSABI_LONG(0x00000040) +#define D3DUSAGE_RTPATCHES __MSABI_LONG(0x00000080) +#define D3DUSAGE_NPATCHES __MSABI_LONG(0x00000100) +#define D3DUSAGE_DYNAMIC __MSABI_LONG(0x00000200) +#define D3DUSAGE_AUTOGENMIPMAP __MSABI_LONG(0x00000400) +#define D3DUSAGE_DMAP __MSABI_LONG(0x00004000) + +/* Parts added with d3d9ex */ +#if !defined(D3D_DISABLE_9EX) +#define D3DUSAGE_RESTRICTED_CONTENT __MSABI_LONG(0x00000800) +#define D3DUSAGE_RESTRICT_SHARED_RESOURCE_DRIVER __MSABI_LONG(0x00001000) +#define D3DUSAGE_RESTRICT_SHARED_RESOURCE __MSABI_LONG(0x00002000) +#define D3DUSAGE_TEXTAPI __MSABI_LONG(0x10000000) +#endif /* D3D_DISABLE_9EX */ + +#define D3DUSAGE_QUERY_FILTER __MSABI_LONG(0x00020000) +#define D3DUSAGE_QUERY_LEGACYBUMPMAP __MSABI_LONG(0x00008000) +#define D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING __MSABI_LONG(0x00080000) +#define D3DUSAGE_QUERY_SRGBREAD __MSABI_LONG(0x00010000) +#define D3DUSAGE_QUERY_SRGBWRITE __MSABI_LONG(0x00040000) +#define D3DUSAGE_QUERY_VERTEXTEXTURE __MSABI_LONG(0x00100000) +#define D3DUSAGE_QUERY_WRAPANDMIP __MSABI_LONG(0x00200000) + +#define D3DWRAP_U 1 +#define D3DWRAP_V 2 +#define D3DWRAP_W 4 +#define D3DWRAPCOORD_0 1 +#define D3DWRAPCOORD_1 2 +#define D3DWRAPCOORD_2 4 +#define D3DWRAPCOORD_3 8 + +#define MAX_DEVICE_IDENTIFIER_STRING 512 + +#define D3DFVF_RESERVED0 0x0001 +#define D3DFVF_POSITION_MASK 0x400E +#define D3DFVF_XYZ 0x0002 +#define D3DFVF_XYZRHW 0x0004 +#define D3DFVF_XYZB1 0x0006 +#define D3DFVF_XYZB2 0x0008 +#define D3DFVF_XYZB3 0x000a +#define D3DFVF_XYZB4 0x000c +#define D3DFVF_XYZB5 0x000e +#define D3DFVF_XYZW 0x4002 +#define D3DFVF_NORMAL 0x0010 +#define D3DFVF_PSIZE 0x0020 +#define D3DFVF_DIFFUSE 0x0040 +#define D3DFVF_SPECULAR 0x0080 +#define D3DFVF_TEXCOUNT_MASK 0x0f00 +#define D3DFVF_TEXCOUNT_SHIFT 8 +#define D3DFVF_TEX0 0x0000 +#define D3DFVF_TEX1 0x0100 +#define D3DFVF_TEX2 0x0200 +#define D3DFVF_TEX3 0x0300 +#define D3DFVF_TEX4 0x0400 +#define D3DFVF_TEX5 0x0500 +#define D3DFVF_TEX6 0x0600 +#define D3DFVF_TEX7 0x0700 +#define D3DFVF_TEX8 0x0800 +#define D3DFVF_LASTBETA_UBYTE4 0x1000 +#define D3DFVF_LASTBETA_D3DCOLOR 0x8000 +#define D3DFVF_RESERVED2 0x6000 + +#define D3DTA_SELECTMASK 0x0000000f +#define D3DTA_DIFFUSE 0x00000000 +#define D3DTA_CURRENT 0x00000001 +#define D3DTA_TEXTURE 0x00000002 +#define D3DTA_TFACTOR 0x00000003 +#define D3DTA_SPECULAR 0x00000004 +#define D3DTA_TEMP 0x00000005 +#define D3DTA_CONSTANT 0x00000006 +#define D3DTA_COMPLEMENT 0x00000010 +#define D3DTA_ALPHAREPLICATE 0x00000020 + +#define D3DCOLORWRITEENABLE_RED (__MSABI_LONG(1)<<0) +#define D3DCOLORWRITEENABLE_GREEN (__MSABI_LONG(1)<<1) +#define D3DCOLORWRITEENABLE_BLUE (__MSABI_LONG(1)<<2) +#define D3DCOLORWRITEENABLE_ALPHA (__MSABI_LONG(1)<<3) + +#define D3DPV_DONOTCOPYDATA (1 << 0) + +#define D3DSTREAMSOURCE_INDEXEDDATA (1u << 30) +#define D3DSTREAMSOURCE_INSTANCEDATA (2u << 30) + +#define D3D_MAX_SIMULTANEOUS_RENDERTARGETS 4 + +#define MAXD3DDECLLENGTH 64 /* +end marker */ +#define MAXD3DDECLMETHOD D3DDECLMETHOD_LOOKUPPRESAMPLED +#define MAXD3DDECLTYPE D3DDECLTYPE_UNUSED +#define MAXD3DDECLUSAGE D3DDECLUSAGE_SAMPLE +#define MAXD3DDECLUSAGEINDEX 15 + +#define D3DDMAPSAMPLER 256 +#define D3DVERTEXTEXTURESAMPLER0 (D3DDMAPSAMPLER+1) +#define D3DVERTEXTEXTURESAMPLER1 (D3DDMAPSAMPLER+2) +#define D3DVERTEXTEXTURESAMPLER2 (D3DDMAPSAMPLER+3) +#define D3DVERTEXTEXTURESAMPLER3 (D3DDMAPSAMPLER+4) + +#ifndef MAKEFOURCC +#define MAKEFOURCC(ch0, ch1, ch2, ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 )) +#endif + +/* Constants used by D3DPRESENT_PARAMETERS. when creating a device or swapchain */ + +#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x00000001 /* Create a lockable backbuffer */ +#define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002 /* Discard Z buffer */ +#define D3DPRESENTFLAG_DEVICECLIP 0x00000004 /* Clip the window blited into the client area 2k + xp only */ +#define D3DPRESENTFLAG_VIDEO 0x00000010 /* backbuffer 'may' contain video data */ +#define D3DPRESENTFLAG_NOAUTOROTATE 0x00000020 /* d3d9ex, ignore display rotation */ +#define D3DPRESENTFLAG_UNPRUNEDMODE 0x00000040 /* d3d9ex, specify invalid display modes */ + +#define D3DPRESENT_RATE_DEFAULT 0x00000000 + +/**************************** + * Vertex Shaders Declaration + */ + +typedef enum _D3DDECLUSAGE { + D3DDECLUSAGE_POSITION = 0, + D3DDECLUSAGE_BLENDWEIGHT = 1, + D3DDECLUSAGE_BLENDINDICES = 2, + D3DDECLUSAGE_NORMAL = 3, + D3DDECLUSAGE_PSIZE = 4, + D3DDECLUSAGE_TEXCOORD = 5, + D3DDECLUSAGE_TANGENT = 6, + D3DDECLUSAGE_BINORMAL = 7, + D3DDECLUSAGE_TESSFACTOR = 8, + D3DDECLUSAGE_POSITIONT = 9, + D3DDECLUSAGE_COLOR = 10, + D3DDECLUSAGE_FOG = 11, + D3DDECLUSAGE_DEPTH = 12, + D3DDECLUSAGE_SAMPLE = 13 +} D3DDECLUSAGE; + +#define D3DMAXDECLUSAGE D3DDECLUSAGE_SAMPLE +#define D3DMAXDECLUSAGEINDEX 15 +#define D3DMAXDECLLENGTH 18 +#define D3DMAXDECLUSAGE_DX8 D3DDECLUSAGE_TEXCOORD + +typedef enum _D3DDECLMETHOD { + D3DDECLMETHOD_DEFAULT = 0, + D3DDECLMETHOD_PARTIALU = 1, + D3DDECLMETHOD_PARTIALV = 2, + D3DDECLMETHOD_CROSSUV = 3, + D3DDECLMETHOD_UV = 4, + D3DDECLMETHOD_LOOKUP = 5, + D3DDECLMETHOD_LOOKUPPRESAMPLED = 6 +} D3DDECLMETHOD; + + +#define D3DMAXDECLMETHOD D3DDECLMETHOD_LOOKUPPRESAMPLED + +typedef enum _D3DDECLTYPE { + D3DDECLTYPE_FLOAT1 = 0, + D3DDECLTYPE_FLOAT2 = 1, + D3DDECLTYPE_FLOAT3 = 2, + D3DDECLTYPE_FLOAT4 = 3, + D3DDECLTYPE_D3DCOLOR = 4, + D3DDECLTYPE_UBYTE4 = 5, + D3DDECLTYPE_SHORT2 = 6, + D3DDECLTYPE_SHORT4 = 7, + /* VS 2.0 */ + D3DDECLTYPE_UBYTE4N = 8, + D3DDECLTYPE_SHORT2N = 9, + D3DDECLTYPE_SHORT4N = 10, + D3DDECLTYPE_USHORT2N = 11, + D3DDECLTYPE_USHORT4N = 12, + D3DDECLTYPE_UDEC3 = 13, + D3DDECLTYPE_DEC3N = 14, + D3DDECLTYPE_FLOAT16_2 = 15, + D3DDECLTYPE_FLOAT16_4 = 16, + D3DDECLTYPE_UNUSED = 17, +} D3DDECLTYPE; + +#define D3DMAXDECLTYPE D3DDECLTYPE_UNUSED + +typedef struct _D3DVERTEXELEMENT9 { + WORD Stream; + WORD Offset; + BYTE Type; + BYTE Method; + BYTE Usage; + BYTE UsageIndex; +} D3DVERTEXELEMENT9, *LPD3DVERTEXELEMENT9; + + +typedef enum _D3DQUERYTYPE { + D3DQUERYTYPE_VCACHE = 4, + D3DQUERYTYPE_RESOURCEMANAGER = 5, + D3DQUERYTYPE_VERTEXSTATS = 6, + D3DQUERYTYPE_EVENT = 8, + D3DQUERYTYPE_OCCLUSION = 9, + D3DQUERYTYPE_TIMESTAMP = 10, + D3DQUERYTYPE_TIMESTAMPDISJOINT = 11, + D3DQUERYTYPE_TIMESTAMPFREQ = 12, + D3DQUERYTYPE_PIPELINETIMINGS = 13, + D3DQUERYTYPE_INTERFACETIMINGS = 14, + D3DQUERYTYPE_VERTEXTIMINGS = 15, + D3DQUERYTYPE_PIXELTIMINGS = 16, + D3DQUERYTYPE_BANDWIDTHTIMINGS = 17, + D3DQUERYTYPE_CACHEUTILIZATION = 18, + D3DQUERYTYPE_MEMORYPRESSURE = 19, +} D3DQUERYTYPE; + +#define D3DISSUE_BEGIN (1 << 1) +#define D3DISSUE_END (1 << 0) +#define D3DGETDATA_FLUSH (1 << 0) + + +#define D3DDECL_END() {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0} +#define D3DDP_MAXTEXCOORD 8 + + +#define D3DVSD_MAKETOKENTYPE(TokenType) \ + ((TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK) + +#define D3DVSD_CONST(ConstantAddress, Count) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_CONSTMEM) | ((Count) << D3DVSD_CONSTCOUNTSHIFT) | (ConstantAddress)) + +#define D3DVSD_END() 0xFFFFFFFF + +#define D3DVSD_NOP() 0x00000000 + +#define D3DVSD_REG(VertexRegister, Type) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | ((Type) << D3DVSD_DATATYPESHIFT) | (VertexRegister)) + +#define D3DVSD_SKIP(Count) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | 0x10000000 | ((Count) << D3DVSD_SKIPCOUNTSHIFT)) + +#define D3DVSD_STREAM(StreamNumber) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (StreamNumber)) + +#define D3DVSD_STREAM_TESS() \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (D3DVSD_STREAMTESSMASK)) + +#define D3DVSD_TESSNORMAL(RegisterIn, RegisterOut) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | ((RegisterIn) << D3DVSD_VERTEXREGINSHIFT) | ((0x02) << D3DVSD_DATATYPESHIFT) | (RegisterOut)) + +#define D3DVSD_TESSUV(Register) \ + (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | 0x10000000 | ((0x01) << D3DVSD_DATATYPESHIFT) | (Register)) + + +/******************************** + * Pixel/Vertex Shaders Functions + */ + +/** Maximum number of supported texture coordinates sets operation */ +#define D3DDP_MAXTEXCOORD 8 + +/** opcode token mask */ +#define D3DSI_OPCODE_MASK 0x0000FFFF +#define D3DSI_INSTLENGTH_MASK 0x0F000000 +#define D3DSI_INSTLENGTH_SHIFT 24 + +/** opcodes types for PS and VS */ +typedef enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE { + D3DSIO_NOP = 0, + D3DSIO_MOV = 1, + D3DSIO_ADD = 2, + D3DSIO_SUB = 3, + D3DSIO_MAD = 4, + D3DSIO_MUL = 5, + D3DSIO_RCP = 6, + D3DSIO_RSQ = 7, + D3DSIO_DP3 = 8, + D3DSIO_DP4 = 9, + D3DSIO_MIN = 10, + D3DSIO_MAX = 11, + D3DSIO_SLT = 12, + D3DSIO_SGE = 13, + D3DSIO_EXP = 14, + D3DSIO_LOG = 15, + D3DSIO_LIT = 16, + D3DSIO_DST = 17, + D3DSIO_LRP = 18, + D3DSIO_FRC = 19, + D3DSIO_M4x4 = 20, + D3DSIO_M4x3 = 21, + D3DSIO_M3x4 = 22, + D3DSIO_M3x3 = 23, + D3DSIO_M3x2 = 24, + D3DSIO_CALL = 25, + D3DSIO_CALLNZ = 26, + D3DSIO_LOOP = 27, + D3DSIO_RET = 28, + D3DSIO_ENDLOOP = 29, + D3DSIO_LABEL = 30, + D3DSIO_DCL = 31, + D3DSIO_POW = 32, + D3DSIO_CRS = 33, + D3DSIO_SGN = 34, + D3DSIO_ABS = 35, + D3DSIO_NRM = 36, + D3DSIO_SINCOS = 37, + D3DSIO_REP = 38, + D3DSIO_ENDREP = 39, + D3DSIO_IF = 40, + D3DSIO_IFC = 41, + D3DSIO_ELSE = 42, + D3DSIO_ENDIF = 43, + D3DSIO_BREAK = 44, + D3DSIO_BREAKC = 45, + D3DSIO_MOVA = 46, + D3DSIO_DEFB = 47, + D3DSIO_DEFI = 48, + + D3DSIO_TEXCOORD = 64, + D3DSIO_TEXKILL = 65, + D3DSIO_TEX = 66, + D3DSIO_TEXBEM = 67, + D3DSIO_TEXBEML = 68, + D3DSIO_TEXREG2AR = 69, + D3DSIO_TEXREG2GB = 70, + D3DSIO_TEXM3x2PAD = 71, + D3DSIO_TEXM3x2TEX = 72, + D3DSIO_TEXM3x3PAD = 73, + D3DSIO_TEXM3x3TEX = 74, + D3DSIO_TEXM3x3DIFF = 75, + D3DSIO_TEXM3x3SPEC = 76, + D3DSIO_TEXM3x3VSPEC = 77, + D3DSIO_EXPP = 78, + D3DSIO_LOGP = 79, + D3DSIO_CND = 80, + D3DSIO_DEF = 81, + D3DSIO_TEXREG2RGB = 82, + D3DSIO_TEXDP3TEX = 83, + D3DSIO_TEXM3x2DEPTH = 84, + D3DSIO_TEXDP3 = 85, + D3DSIO_TEXM3x3 = 86, + D3DSIO_TEXDEPTH = 87, + D3DSIO_CMP = 88, + D3DSIO_BEM = 89, + D3DSIO_DP2ADD = 90, + D3DSIO_DSX = 91, + D3DSIO_DSY = 92, + D3DSIO_TEXLDD = 93, + D3DSIO_SETP = 94, + D3DSIO_TEXLDL = 95, + D3DSIO_BREAKP = 96, + + D3DSIO_PHASE = 0xFFFD, + D3DSIO_COMMENT = 0xFFFE, + D3DSIO_END = 0XFFFF, + + D3DSIO_FORCE_DWORD = 0X7FFFFFFF /** for 32-bit alignment */ +} D3DSHADER_INSTRUCTION_OPCODE_TYPE; + +#define D3DSINCOSCONST1 -1.5500992e-006f, -2.1701389e-005f, 0.0026041667f, 0.00026041668f +#define D3DSINCOSCONST2 -0.020833334f, -0.12500000f, 1.0f, 0.50000000f + +#define D3DSHADER_INSTRUCTION_PREDICATED (1 << 28) + +#define D3DSI_TEXLD_PROJECT 0x00010000 +#define D3DSI_TEXLD_BIAS 0x00020000 + +/** for parallelism */ +#define D3DSI_COISSUE 0x40000000 + +#define D3DSP_DCL_USAGE_SHIFT 0 +#define D3DSP_DCL_USAGE_MASK 0x0000000f + +#define D3DSP_DCL_USAGEINDEX_SHIFT 16 +#define D3DSP_DCL_USAGEINDEX_MASK 0x000f0000 + +#define D3DSP_TEXTURETYPE_SHIFT 27 +#define D3DSP_TEXTURETYPE_MASK 0x78000000 + +typedef enum _D3DSAMPLER_TEXTURE_TYPE { + D3DSTT_UNKNOWN = 0 << D3DSP_TEXTURETYPE_SHIFT, + D3DSTT_1D = 1 << D3DSP_TEXTURETYPE_SHIFT, + D3DSTT_2D = 2 << D3DSP_TEXTURETYPE_SHIFT, + D3DSTT_CUBE = 3 << D3DSP_TEXTURETYPE_SHIFT, + D3DSTT_VOLUME = 4 << D3DSP_TEXTURETYPE_SHIFT, + + D3DSTT_FORCE_DWORD = 0x7FFFFFFF +} D3DSAMPLER_TEXTURE_TYPE; + +#define D3DSP_REGNUM_MASK 0x000007FF + +/** destination parameter modifiers (.xyzw) */ +#define D3DSP_WRITEMASK_0 0x00010000 /* .x r */ +#define D3DSP_WRITEMASK_1 0x00020000 /* .y g */ +#define D3DSP_WRITEMASK_2 0x00040000 /* .z b */ +#define D3DSP_WRITEMASK_3 0x00080000 /* .w a */ +#define D3DSP_WRITEMASK_ALL 0x000F0000 /* all */ + +#define D3DSP_DSTMOD_SHIFT 20 +#define D3DSP_DSTMOD_MASK (0xF << D3DSP_DSTMOD_SHIFT) + +typedef enum _D3DSHADER_PARAM_DSTMOD_TYPE { + D3DSPDM_NONE = 0 << D3DSP_DSTMOD_SHIFT, + D3DSPDM_SATURATE = 1 << D3DSP_DSTMOD_SHIFT, + D3DSPDM_PARTIALPRECISION = 2 << D3DSP_DSTMOD_SHIFT, + D3DSPDM_MSAMPCENTROID = 4 << D3DSP_DSTMOD_SHIFT, + + D3DSPDM_FORCE_DWORD = 0x7FFFFFFF +} D3DSHADER_PARAM_DSTMOD_TYPE; + +/** destination param */ +#define D3DSP_DSTSHIFT_SHIFT 24 +#define D3DSP_DSTSHIFT_MASK (0xF << D3DSP_DSTSHIFT_SHIFT) + +/** destination/source reg type */ +#define D3DSP_REGTYPE_SHIFT 28 +#define D3DSP_REGTYPE_SHIFT2 8 +#define D3DSP_REGTYPE_MASK (0x7 << D3DSP_REGTYPE_SHIFT) +#define D3DSP_REGTYPE_MASK2 0x00001800 + +typedef enum _D3DSHADER_PARAM_REGISTER_TYPE { + D3DSPR_TEMP = 0, + D3DSPR_INPUT = 1, + D3DSPR_CONST = 2, + D3DSPR_ADDR = 3, + D3DSPR_TEXTURE = 3, + D3DSPR_RASTOUT = 4, + D3DSPR_ATTROUT = 5, + D3DSPR_TEXCRDOUT = 6, + D3DSPR_OUTPUT = 6, + D3DSPR_CONSTINT = 7, + D3DSPR_COLOROUT = 8, + D3DSPR_DEPTHOUT = 9, + D3DSPR_SAMPLER = 10, + D3DSPR_CONST2 = 11, + D3DSPR_CONST3 = 12, + D3DSPR_CONST4 = 13, + D3DSPR_CONSTBOOL = 14, + D3DSPR_LOOP = 15, + D3DSPR_TEMPFLOAT16 = 16, + D3DSPR_MISCTYPE = 17, + D3DSPR_LABEL = 18, + D3DSPR_PREDICATE = 19, + + D3DSPR_FORCE_DWORD = 0x7FFFFFFF +} D3DSHADER_PARAM_REGISTER_TYPE; + +typedef enum _D3DSHADER_MISCTYPE_OFFSETS { + D3DSMO_POSITION = 0, + D3DSMO_FACE = 1 +} D3DSHADER_MISCTYPE_OFFSETS; + +typedef enum _D3DVS_RASTOUT_OFFSETS { + D3DSRO_POSITION = 0, + D3DSRO_FOG = 1, + D3DSRO_POINT_SIZE = 2, + + D3DSRO_FORCE_DWORD = 0x7FFFFFFF +} D3DVS_RASTOUT_OFFSETS; + +#define D3DVS_ADDRESSMODE_SHIFT 13 +#define D3DVS_ADDRESSMODE_MASK (0x1 << D3DVS_ADDRESSMODE_SHIFT) + +typedef enum _D3DVS_ADDRESSMODE_TYPE { + D3DVS_ADDRMODE_ABSOLUTE = 0 << D3DVS_ADDRESSMODE_SHIFT, + D3DVS_ADDRMODE_RELATIVE = 1 << D3DVS_ADDRESSMODE_SHIFT, + + D3DVS_ADDRMODE_FORCE_DWORD = 0x7FFFFFFF +} D3DVS_ADDRESSMODE_TYPE; + +#define D3DSHADER_ADDRESSMODE_SHIFT 13 +#define D3DSHADER_ADDRESSMODE_MASK (1 << D3DSHADER_ADDRESSMODE_SHIFT) + +typedef enum _D3DSHADER_ADDRESSMODE_TYPE { + D3DSHADER_ADDRMODE_ABSOLUTE = 0 << D3DSHADER_ADDRESSMODE_SHIFT, + D3DSHADER_ADDRMODE_RELATIVE = 1 << D3DSHADER_ADDRESSMODE_SHIFT, + + D3DSHADER_ADDRMODE_FORCE_DWORD = 0x7FFFFFFF +} D3DSHADER_ADDRESSMODE_TYPE; + + +#define D3DVS_SWIZZLE_SHIFT 16 +#define D3DVS_SWIZZLE_MASK (0xFF << D3DVS_SWIZZLE_SHIFT) + +#define D3DSP_SWIZZLE_SHIFT 16 +#define D3DSP_SWIZZLE_MASK (0xFF << D3DSP_SWIZZLE_SHIFT) + +#define D3DVS_X_X (0 << D3DVS_SWIZZLE_SHIFT) +#define D3DVS_X_Y (1 << D3DVS_SWIZZLE_SHIFT) +#define D3DVS_X_Z (2 << D3DVS_SWIZZLE_SHIFT) +#define D3DVS_X_W (3 << D3DVS_SWIZZLE_SHIFT) + +#define D3DVS_Y_X (0 << (D3DVS_SWIZZLE_SHIFT + 2)) +#define D3DVS_Y_Y (1 << (D3DVS_SWIZZLE_SHIFT + 2)) +#define D3DVS_Y_Z (2 << (D3DVS_SWIZZLE_SHIFT + 2)) +#define D3DVS_Y_W (3 << (D3DVS_SWIZZLE_SHIFT + 2)) + +#define D3DVS_Z_X (0 << (D3DVS_SWIZZLE_SHIFT + 4)) +#define D3DVS_Z_Y (1 << (D3DVS_SWIZZLE_SHIFT + 4)) +#define D3DVS_Z_Z (2 << (D3DVS_SWIZZLE_SHIFT + 4)) +#define D3DVS_Z_W (3 << (D3DVS_SWIZZLE_SHIFT + 4)) + +#define D3DVS_W_X (0 << (D3DVS_SWIZZLE_SHIFT + 6)) +#define D3DVS_W_Y (1 << (D3DVS_SWIZZLE_SHIFT + 6)) +#define D3DVS_W_Z (2 << (D3DVS_SWIZZLE_SHIFT + 6)) +#define D3DVS_W_W (3 << (D3DVS_SWIZZLE_SHIFT + 6)) + +#define D3DVS_NOSWIZZLE (D3DVS_X_X | D3DVS_Y_Y | D3DVS_Z_Z | D3DVS_W_W) + +#define D3DSP_NOSWIZZLE \ + ((0 << (D3DSP_SWIZZLE_SHIFT + 0)) | (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | (3 << (D3DSP_SWIZZLE_SHIFT + 6))) + +#define D3DSP_SRCMOD_SHIFT 24 +#define D3DSP_SRCMOD_MASK (0xF << D3DSP_SRCMOD_SHIFT) + +typedef enum _D3DSHADER_PARAM_SRCMOD_TYPE { + D3DSPSM_NONE = 0 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_NEG = 1 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_BIAS = 2 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_BIASNEG = 3 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_SIGN = 4 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_SIGNNEG = 5 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_COMP = 6 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_X2 = 7 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_X2NEG = 8 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_DZ = 9 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_DW = 10 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_ABS = 11 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_ABSNEG = 12 << D3DSP_SRCMOD_SHIFT, + D3DSPSM_NOT = 13 << D3DSP_SRCMOD_SHIFT, + + D3DSPSM_FORCE_DWORD = 0x7FFFFFFF +} D3DSHADER_PARAM_SRCMOD_TYPE; + +#define D3DPS_VERSION(major, minor) (0xFFFF0000 | ((major) << 8) | (minor)) +#define D3DVS_VERSION(major, minor) (0xFFFE0000 | ((major) << 8) | (minor)) +#define D3DSHADER_VERSION_MAJOR(version) (((version) >> 8) & 0xFF) +#define D3DSHADER_VERSION_MINOR(version) (((version) >> 0) & 0xFF) + +#define D3DSI_COMMENTSIZE_SHIFT 16 +#define D3DSI_COMMENTSIZE_MASK (0x7FFF << D3DSI_COMMENTSIZE_SHIFT) + +#define D3DSHADER_COMMENT(commentSize) \ + ((((commentSize) << D3DSI_COMMENTSIZE_SHIFT) & D3DSI_COMMENTSIZE_MASK) | D3DSIO_COMMENT) + +#define D3DPS_END() 0x0000FFFF +#define D3DVS_END() 0x0000FFFF + + +/***************************************************************************** + * Direct 3D v8 enumerated types + */ +typedef enum _D3DBACKBUFFER_TYPE { + D3DBACKBUFFER_TYPE_MONO = 0, + D3DBACKBUFFER_TYPE_LEFT = 1, + D3DBACKBUFFER_TYPE_RIGHT = 2, + + D3DBACKBUFFER_TYPE_FORCE_DWORD = 0x7fffffff +} D3DBACKBUFFER_TYPE; + +typedef enum _D3DBASISTYPE { + D3DBASIS_BEZIER = 0, + D3DBASIS_BSPLINE = 1, + D3DBASIS_INTERPOLATE = 2, + + D3DBASIS_FORCE_DWORD = 0x7fffffff +} D3DBASISTYPE; + +typedef enum _D3DBLEND { + D3DBLEND_ZERO = 1, + D3DBLEND_ONE = 2, + D3DBLEND_SRCCOLOR = 3, + D3DBLEND_INVSRCCOLOR = 4, + D3DBLEND_SRCALPHA = 5, + D3DBLEND_INVSRCALPHA = 6, + D3DBLEND_DESTALPHA = 7, + D3DBLEND_INVDESTALPHA = 8, + D3DBLEND_DESTCOLOR = 9, + D3DBLEND_INVDESTCOLOR = 10, + D3DBLEND_SRCALPHASAT = 11, + D3DBLEND_BOTHSRCALPHA = 12, + D3DBLEND_BOTHINVSRCALPHA = 13, + D3DBLEND_BLENDFACTOR = 14, + D3DBLEND_INVBLENDFACTOR = 15, + D3DBLEND_FORCE_DWORD = 0x7fffffff +} D3DBLEND; + +typedef enum _D3DBLENDOP { + D3DBLENDOP_ADD = 1, + D3DBLENDOP_SUBTRACT = 2, + D3DBLENDOP_REVSUBTRACT = 3, + D3DBLENDOP_MIN = 4, + D3DBLENDOP_MAX = 5, + + D3DBLENDOP_FORCE_DWORD = 0x7fffffff +} D3DBLENDOP; + +typedef enum _D3DCMPFUNC { + D3DCMP_NEVER = 1, + D3DCMP_LESS = 2, + D3DCMP_EQUAL = 3, + D3DCMP_LESSEQUAL = 4, + D3DCMP_GREATER = 5, + D3DCMP_NOTEQUAL = 6, + D3DCMP_GREATEREQUAL = 7, + D3DCMP_ALWAYS = 8, + + D3DCMP_FORCE_DWORD = 0x7fffffff +} D3DCMPFUNC; + +typedef enum _D3DCUBEMAP_FACES { + D3DCUBEMAP_FACE_POSITIVE_X = 0, + D3DCUBEMAP_FACE_NEGATIVE_X = 1, + D3DCUBEMAP_FACE_POSITIVE_Y = 2, + D3DCUBEMAP_FACE_NEGATIVE_Y = 3, + D3DCUBEMAP_FACE_POSITIVE_Z = 4, + D3DCUBEMAP_FACE_NEGATIVE_Z = 5, + + D3DCUBEMAP_FACE_FORCE_DWORD = 0xffffffff +} D3DCUBEMAP_FACES; + +typedef enum _D3DCULL { + D3DCULL_NONE = 1, + D3DCULL_CW = 2, + D3DCULL_CCW = 3, + + D3DCULL_FORCE_DWORD = 0x7fffffff +} D3DCULL; + +typedef enum _D3DDEBUGMONITORTOKENS { + D3DDMT_ENABLE = 0, + D3DDMT_DISABLE = 1, + + D3DDMT_FORCE_DWORD = 0x7fffffff +} D3DDEBUGMONITORTOKENS; + +typedef enum _D3DDEGREETYPE { + D3DDEGREE_LINEAR = 1, + D3DDEGREE_QUADRATIC = 2, + D3DDEGREE_CUBIC = 3, + D3DDEGREE_QUINTIC = 5, + + D3DDEGREE_FORCE_DWORD = 0x7fffffff +} D3DDEGREETYPE; + +typedef enum _D3DDEVTYPE { + D3DDEVTYPE_HAL = 1, + D3DDEVTYPE_REF = 2, + D3DDEVTYPE_SW = 3, + D3DDEVTYPE_NULLREF = 4, + + D3DDEVTYPE_FORCE_DWORD = 0xffffffff +} D3DDEVTYPE; + +typedef enum _D3DFILLMODE { + D3DFILL_POINT = 1, + D3DFILL_WIREFRAME = 2, + D3DFILL_SOLID = 3, + + D3DFILL_FORCE_DWORD = 0x7fffffff +} D3DFILLMODE; + +typedef enum _D3DFOGMODE { + D3DFOG_NONE = 0, + D3DFOG_EXP = 1, + D3DFOG_EXP2 = 2, + D3DFOG_LINEAR = 3, + + D3DFOG_FORCE_DWORD = 0x7fffffff +} D3DFOGMODE; + +typedef enum _D3DFORMAT { + D3DFMT_UNKNOWN = 0, + + D3DFMT_R8G8B8 = 20, + D3DFMT_A8R8G8B8 = 21, + D3DFMT_X8R8G8B8 = 22, + D3DFMT_R5G6B5 = 23, + D3DFMT_X1R5G5B5 = 24, + D3DFMT_A1R5G5B5 = 25, + D3DFMT_A4R4G4B4 = 26, + D3DFMT_R3G3B2 = 27, + D3DFMT_A8 = 28, + D3DFMT_A8R3G3B2 = 29, + D3DFMT_X4R4G4B4 = 30, + D3DFMT_A2B10G10R10 = 31, + D3DFMT_A8B8G8R8 = 32, + D3DFMT_X8B8G8R8 = 33, + D3DFMT_G16R16 = 34, + D3DFMT_A2R10G10B10 = 35, + D3DFMT_A16B16G16R16 = 36, + + + D3DFMT_A8P8 = 40, + D3DFMT_P8 = 41, + + D3DFMT_L8 = 50, + D3DFMT_A8L8 = 51, + D3DFMT_A4L4 = 52, + + D3DFMT_V8U8 = 60, + D3DFMT_L6V5U5 = 61, + D3DFMT_X8L8V8U8 = 62, + D3DFMT_Q8W8V8U8 = 63, + D3DFMT_V16U16 = 64, + D3DFMT_A2W10V10U10 = 67, + + D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'), + D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'), + D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'), + D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'), + D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'), + D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'), + D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'), + D3DFMT_MULTI2_ARGB8 = MAKEFOURCC('M', 'E', 'T', '1'), + D3DFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'), + D3DFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'), + + D3DFMT_D16_LOCKABLE = 70, + D3DFMT_D32 = 71, + D3DFMT_D15S1 = 73, + D3DFMT_D24S8 = 75, + D3DFMT_D24X8 = 77, + D3DFMT_D24X4S4 = 79, + D3DFMT_D16 = 80, + D3DFMT_L16 = 81, + D3DFMT_D32F_LOCKABLE = 82, + D3DFMT_D24FS8 = 83, + + D3DFMT_VERTEXDATA = 100, + D3DFMT_INDEX16 = 101, + D3DFMT_INDEX32 = 102, + D3DFMT_Q16W16V16U16 = 110, + /* Floating point formats */ + D3DFMT_R16F = 111, + D3DFMT_G16R16F = 112, + D3DFMT_A16B16G16R16F = 113, + + /* IEEE formats */ + D3DFMT_R32F = 114, + D3DFMT_G32R32F = 115, + D3DFMT_A32B32G32R32F = 116, + + D3DFMT_CxV8U8 = 117, + + + D3DFMT_FORCE_DWORD = 0xFFFFFFFF +} D3DFORMAT; + +typedef enum _D3DLIGHTTYPE { + D3DLIGHT_POINT = 1, + D3DLIGHT_SPOT = 2, + D3DLIGHT_DIRECTIONAL = 3, + + D3DLIGHT_FORCE_DWORD = 0x7fffffff +} D3DLIGHTTYPE; + +typedef enum _D3DMATERIALCOLORSOURCE { + D3DMCS_MATERIAL = 0, + D3DMCS_COLOR1 = 1, + D3DMCS_COLOR2 = 2, + + D3DMCS_FORCE_DWORD = 0x7fffffff +} D3DMATERIALCOLORSOURCE; + +typedef enum _D3DMULTISAMPLE_TYPE { + D3DMULTISAMPLE_NONE = 0, + D3DMULTISAMPLE_NONMASKABLE = 1, + D3DMULTISAMPLE_2_SAMPLES = 2, + D3DMULTISAMPLE_3_SAMPLES = 3, + D3DMULTISAMPLE_4_SAMPLES = 4, + D3DMULTISAMPLE_5_SAMPLES = 5, + D3DMULTISAMPLE_6_SAMPLES = 6, + D3DMULTISAMPLE_7_SAMPLES = 7, + D3DMULTISAMPLE_8_SAMPLES = 8, + D3DMULTISAMPLE_9_SAMPLES = 9, + D3DMULTISAMPLE_10_SAMPLES = 10, + D3DMULTISAMPLE_11_SAMPLES = 11, + D3DMULTISAMPLE_12_SAMPLES = 12, + D3DMULTISAMPLE_13_SAMPLES = 13, + D3DMULTISAMPLE_14_SAMPLES = 14, + D3DMULTISAMPLE_15_SAMPLES = 15, + D3DMULTISAMPLE_16_SAMPLES = 16, + + D3DMULTISAMPLE_FORCE_DWORD = 0x7fffffff +} D3DMULTISAMPLE_TYPE; + +#if 0 +typedef enum _D3DORDERTYPE { + D3DORDER_LINEAR = 1, + D3DORDER_QUADRATIC = 2, + D3DORDER_CUBIC = 3, + D3DORDER_QUINTIC = 5, + + D3DORDER_FORCE_DWORD = 0x7fffffff +} D3DORDERTYPE; +#endif +typedef enum _D3DPATCHEDGESTYLE { + D3DPATCHEDGE_DISCRETE = 0, + D3DPATCHEDGE_CONTINUOUS = 1, + + D3DPATCHEDGE_FORCE_DWORD = 0x7fffffff, +} D3DPATCHEDGESTYLE; + +typedef enum _D3DPOOL { + D3DPOOL_DEFAULT = 0, + D3DPOOL_MANAGED = 1, + D3DPOOL_SYSTEMMEM = 2, + D3DPOOL_SCRATCH = 3, + + D3DPOOL_FORCE_DWORD = 0x7fffffff +} D3DPOOL; + +typedef enum _D3DPRIMITIVETYPE { + D3DPT_POINTLIST = 1, + D3DPT_LINELIST = 2, + D3DPT_LINESTRIP = 3, + D3DPT_TRIANGLELIST = 4, + D3DPT_TRIANGLESTRIP = 5, + D3DPT_TRIANGLEFAN = 6, + + D3DPT_FORCE_DWORD = 0x7fffffff +} D3DPRIMITIVETYPE; + +typedef enum _D3DRENDERSTATETYPE { + D3DRS_ZENABLE = 7, + D3DRS_FILLMODE = 8, + D3DRS_SHADEMODE = 9, + D3DRS_ZWRITEENABLE = 14, + D3DRS_ALPHATESTENABLE = 15, + D3DRS_LASTPIXEL = 16, + D3DRS_SRCBLEND = 19, + D3DRS_DESTBLEND = 20, + D3DRS_CULLMODE = 22, + D3DRS_ZFUNC = 23, + D3DRS_ALPHAREF = 24, + D3DRS_ALPHAFUNC = 25, + D3DRS_DITHERENABLE = 26, + D3DRS_ALPHABLENDENABLE = 27, + D3DRS_FOGENABLE = 28, + D3DRS_SPECULARENABLE = 29, + D3DRS_FOGCOLOR = 34, + D3DRS_FOGTABLEMODE = 35, + D3DRS_FOGSTART = 36, + D3DRS_FOGEND = 37, + D3DRS_FOGDENSITY = 38, + D3DRS_RANGEFOGENABLE = 48, + D3DRS_STENCILENABLE = 52, + D3DRS_STENCILFAIL = 53, + D3DRS_STENCILZFAIL = 54, + D3DRS_STENCILPASS = 55, + D3DRS_STENCILFUNC = 56, + D3DRS_STENCILREF = 57, + D3DRS_STENCILMASK = 58, + D3DRS_STENCILWRITEMASK = 59, + D3DRS_TEXTUREFACTOR = 60, + D3DRS_WRAP0 = 128, + D3DRS_WRAP1 = 129, + D3DRS_WRAP2 = 130, + D3DRS_WRAP3 = 131, + D3DRS_WRAP4 = 132, + D3DRS_WRAP5 = 133, + D3DRS_WRAP6 = 134, + D3DRS_WRAP7 = 135, + D3DRS_CLIPPING = 136, + D3DRS_LIGHTING = 137, + D3DRS_AMBIENT = 139, + D3DRS_FOGVERTEXMODE = 140, + D3DRS_COLORVERTEX = 141, + D3DRS_LOCALVIEWER = 142, + D3DRS_NORMALIZENORMALS = 143, + D3DRS_DIFFUSEMATERIALSOURCE = 145, + D3DRS_SPECULARMATERIALSOURCE = 146, + D3DRS_AMBIENTMATERIALSOURCE = 147, + D3DRS_EMISSIVEMATERIALSOURCE = 148, + D3DRS_VERTEXBLEND = 151, + D3DRS_CLIPPLANEENABLE = 152, + D3DRS_POINTSIZE = 154, + D3DRS_POINTSIZE_MIN = 155, + D3DRS_POINTSPRITEENABLE = 156, + D3DRS_POINTSCALEENABLE = 157, + D3DRS_POINTSCALE_A = 158, + D3DRS_POINTSCALE_B = 159, + D3DRS_POINTSCALE_C = 160, + D3DRS_MULTISAMPLEANTIALIAS = 161, + D3DRS_MULTISAMPLEMASK = 162, + D3DRS_PATCHEDGESTYLE = 163, + D3DRS_DEBUGMONITORTOKEN = 165, + D3DRS_POINTSIZE_MAX = 166, + D3DRS_INDEXEDVERTEXBLENDENABLE = 167, + D3DRS_COLORWRITEENABLE = 168, + D3DRS_TWEENFACTOR = 170, + D3DRS_BLENDOP = 171, + D3DRS_POSITIONDEGREE = 172, + D3DRS_NORMALDEGREE = 173, + D3DRS_SCISSORTESTENABLE = 174, + D3DRS_SLOPESCALEDEPTHBIAS = 175, + D3DRS_ANTIALIASEDLINEENABLE = 176, + D3DRS_MINTESSELLATIONLEVEL = 178, + D3DRS_MAXTESSELLATIONLEVEL = 179, + D3DRS_ADAPTIVETESS_X = 180, + D3DRS_ADAPTIVETESS_Y = 181, + D3DRS_ADAPTIVETESS_Z = 182, + D3DRS_ADAPTIVETESS_W = 183, + D3DRS_ENABLEADAPTIVETESSELLATION= 184, + D3DRS_TWOSIDEDSTENCILMODE = 185, + D3DRS_CCW_STENCILFAIL = 186, + D3DRS_CCW_STENCILZFAIL = 187, + D3DRS_CCW_STENCILPASS = 188, + D3DRS_CCW_STENCILFUNC = 189, + D3DRS_COLORWRITEENABLE1 = 190, + D3DRS_COLORWRITEENABLE2 = 191, + D3DRS_COLORWRITEENABLE3 = 192, + D3DRS_BLENDFACTOR = 193, + D3DRS_SRGBWRITEENABLE = 194, + D3DRS_DEPTHBIAS = 195, + D3DRS_WRAP8 = 198, + D3DRS_WRAP9 = 199, + D3DRS_WRAP10 = 200, + D3DRS_WRAP11 = 201, + D3DRS_WRAP12 = 202, + D3DRS_WRAP13 = 203, + D3DRS_WRAP14 = 204, + D3DRS_WRAP15 = 205, + D3DRS_SEPARATEALPHABLENDENABLE = 206, + D3DRS_SRCBLENDALPHA = 207, + D3DRS_DESTBLENDALPHA = 208, + D3DRS_BLENDOPALPHA = 209, + + D3DRS_FORCE_DWORD = 0x7fffffff +} D3DRENDERSTATETYPE; + +typedef enum _D3DRESOURCETYPE { + D3DRTYPE_SURFACE = 1, + D3DRTYPE_VOLUME = 2, + D3DRTYPE_TEXTURE = 3, + D3DRTYPE_VOLUMETEXTURE = 4, + D3DRTYPE_CUBETEXTURE = 5, + D3DRTYPE_VERTEXBUFFER = 6, + D3DRTYPE_INDEXBUFFER = 7, + + D3DRTYPE_FORCE_DWORD = 0x7fffffff +} D3DRESOURCETYPE; + +#define D3DRTYPECOUNT (D3DRTYPE_INDEXBUFFER+1) + +typedef enum _D3DSHADEMODE { + D3DSHADE_FLAT = 1, + D3DSHADE_GOURAUD = 2, + D3DSHADE_PHONG = 3, + + D3DSHADE_FORCE_DWORD = 0x7fffffff +} D3DSHADEMODE; + +typedef enum _D3DSTATEBLOCKTYPE { + D3DSBT_ALL = 1, + D3DSBT_PIXELSTATE = 2, + D3DSBT_VERTEXSTATE = 3, + + D3DSBT_FORCE_DWORD = 0xffffffff +} D3DSTATEBLOCKTYPE; + +typedef enum _D3DSTENCILOP { + D3DSTENCILOP_KEEP = 1, + D3DSTENCILOP_ZERO = 2, + D3DSTENCILOP_REPLACE = 3, + D3DSTENCILOP_INCRSAT = 4, + D3DSTENCILOP_DECRSAT = 5, + D3DSTENCILOP_INVERT = 6, + D3DSTENCILOP_INCR = 7, + D3DSTENCILOP_DECR = 8, + + D3DSTENCILOP_FORCE_DWORD = 0x7fffffff +} D3DSTENCILOP; + +typedef enum _D3DSWAPEFFECT { + D3DSWAPEFFECT_DISCARD = 1, + D3DSWAPEFFECT_FLIP = 2, + D3DSWAPEFFECT_COPY = 3, + D3DSWAPEFFECT_OVERLAY = 4, + D3DSWAPEFFECT_FLIPEX = 5, + D3DSWAPEFFECT_FORCE_DWORD = 0xFFFFFFFF +} D3DSWAPEFFECT; + +typedef enum _D3DTEXTUREADDRESS { + D3DTADDRESS_WRAP = 1, + D3DTADDRESS_MIRROR = 2, + D3DTADDRESS_CLAMP = 3, + D3DTADDRESS_BORDER = 4, + D3DTADDRESS_MIRRORONCE = 5, + + D3DTADDRESS_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREADDRESS; + +typedef enum _D3DTEXTUREFILTERTYPE { + D3DTEXF_NONE = 0, + D3DTEXF_POINT = 1, + D3DTEXF_LINEAR = 2, + D3DTEXF_ANISOTROPIC = 3, + D3DTEXF_FLATCUBIC = 4, + D3DTEXF_GAUSSIANCUBIC = 5, + D3DTEXF_PYRAMIDALQUAD = 6, + D3DTEXF_GAUSSIANQUAD = 7, + D3DTEXF_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREFILTERTYPE; + +typedef enum _D3DTEXTUREOP { + D3DTOP_DISABLE = 1, + D3DTOP_SELECTARG1 = 2, + D3DTOP_SELECTARG2 = 3, + D3DTOP_MODULATE = 4, + D3DTOP_MODULATE2X = 5, + D3DTOP_MODULATE4X = 6, + D3DTOP_ADD = 7, + D3DTOP_ADDSIGNED = 8, + D3DTOP_ADDSIGNED2X = 9, + D3DTOP_SUBTRACT = 10, + D3DTOP_ADDSMOOTH = 11, + D3DTOP_BLENDDIFFUSEALPHA = 12, + D3DTOP_BLENDTEXTUREALPHA = 13, + D3DTOP_BLENDFACTORALPHA = 14, + D3DTOP_BLENDTEXTUREALPHAPM = 15, + D3DTOP_BLENDCURRENTALPHA = 16, + D3DTOP_PREMODULATE = 17, + D3DTOP_MODULATEALPHA_ADDCOLOR = 18, + D3DTOP_MODULATECOLOR_ADDALPHA = 19, + D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20, + D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21, + D3DTOP_BUMPENVMAP = 22, + D3DTOP_BUMPENVMAPLUMINANCE = 23, + D3DTOP_DOTPRODUCT3 = 24, + D3DTOP_MULTIPLYADD = 25, + D3DTOP_LERP = 26, + + D3DTOP_FORCE_DWORD = 0x7fffffff, +} D3DTEXTUREOP; + +typedef enum _D3DTEXTURESTAGESTATETYPE { + D3DTSS_COLOROP = 1, + D3DTSS_COLORARG1 = 2, + D3DTSS_COLORARG2 = 3, + D3DTSS_ALPHAOP = 4, + D3DTSS_ALPHAARG1 = 5, + D3DTSS_ALPHAARG2 = 6, + D3DTSS_BUMPENVMAT00 = 7, + D3DTSS_BUMPENVMAT01 = 8, + D3DTSS_BUMPENVMAT10 = 9, + D3DTSS_BUMPENVMAT11 = 10, + D3DTSS_TEXCOORDINDEX = 11, + D3DTSS_BUMPENVLSCALE = 22, + D3DTSS_BUMPENVLOFFSET = 23, + D3DTSS_TEXTURETRANSFORMFLAGS = 24, + D3DTSS_COLORARG0 = 26, + D3DTSS_ALPHAARG0 = 27, + D3DTSS_RESULTARG = 28, + D3DTSS_CONSTANT = 32, + + D3DTSS_FORCE_DWORD = 0x7fffffff +} D3DTEXTURESTAGESTATETYPE; + +typedef enum _D3DTEXTURETRANSFORMFLAGS { + D3DTTFF_DISABLE = 0, + D3DTTFF_COUNT1 = 1, + D3DTTFF_COUNT2 = 2, + D3DTTFF_COUNT3 = 3, + D3DTTFF_COUNT4 = 4, + D3DTTFF_PROJECTED = 256, + + D3DTTFF_FORCE_DWORD = 0x7fffffff +} D3DTEXTURETRANSFORMFLAGS; + +typedef enum _D3DTRANSFORMSTATETYPE { + D3DTS_VIEW = 2, + D3DTS_PROJECTION = 3, + D3DTS_TEXTURE0 = 16, + D3DTS_TEXTURE1 = 17, + D3DTS_TEXTURE2 = 18, + D3DTS_TEXTURE3 = 19, + D3DTS_TEXTURE4 = 20, + D3DTS_TEXTURE5 = 21, + D3DTS_TEXTURE6 = 22, + D3DTS_TEXTURE7 = 23, + + D3DTS_FORCE_DWORD = 0x7fffffff +} D3DTRANSFORMSTATETYPE; + +typedef enum _D3DVERTEXBLENDFLAGS { + D3DVBF_DISABLE = 0, + D3DVBF_1WEIGHTS = 1, + D3DVBF_2WEIGHTS = 2, + D3DVBF_3WEIGHTS = 3, + D3DVBF_TWEENING = 255, + D3DVBF_0WEIGHTS = 256 +} D3DVERTEXBLENDFLAGS; + +typedef enum _D3DZBUFFERTYPE { + D3DZB_FALSE = 0, + D3DZB_TRUE = 1, + D3DZB_USEW = 2, + + D3DZB_FORCE_DWORD = 0x7fffffff +} D3DZBUFFERTYPE; + +typedef enum _D3DSAMPLERSTATETYPE { + D3DSAMP_ADDRESSU = 1, + D3DSAMP_ADDRESSV = 2, + D3DSAMP_ADDRESSW = 3, + D3DSAMP_BORDERCOLOR = 4, + D3DSAMP_MAGFILTER = 5, + D3DSAMP_MINFILTER = 6, + D3DSAMP_MIPFILTER = 7, + D3DSAMP_MIPMAPLODBIAS = 8, + D3DSAMP_MAXMIPLEVEL = 9, + D3DSAMP_MAXANISOTROPY = 10, + D3DSAMP_SRGBTEXTURE = 11, + D3DSAMP_ELEMENTINDEX = 12, + D3DSAMP_DMAPOFFSET = 13, + + D3DSAMP_FORCE_DWORD = 0x7fffffff, +} D3DSAMPLERSTATETYPE; + + +/***************************************************************************** + * Direct 3D v9 typedefs + */ +#ifndef D3DCOLOR_DEFINED +typedef DWORD D3DCOLOR; +#define D3DCOLOR_DEFINED +#endif + +/***************************************************************************** + * Direct 3D v9 structures + */ +typedef struct _D3DADAPTER_IDENTIFIER9 { + char Driver[MAX_DEVICE_IDENTIFIER_STRING]; + char Description[MAX_DEVICE_IDENTIFIER_STRING]; + char DeviceName[32]; + LARGE_INTEGER DriverVersion; + + DWORD VendorId; + DWORD DeviceId; + DWORD SubSysId; + DWORD Revision; + + GUID DeviceIdentifier; + + DWORD WHQLLevel; +} D3DADAPTER_IDENTIFIER9; + +typedef struct _D3DBOX { + UINT Left; + UINT Top; + UINT Right; + UINT Bottom; + UINT Front; + UINT Back; +} D3DBOX; + +typedef struct _D3DCLIPSTATUS9 { + DWORD ClipUnion; + DWORD ClipIntersection; +} D3DCLIPSTATUS9; + +#ifndef D3DCOLORVALUE_DEFINED +typedef struct _D3DCOLORVALUE { + float r; + float g; + float b; + float a; +} D3DCOLORVALUE; +#define D3DCOLORVALUE_DEFINED +#endif + +typedef struct _D3DDEVICE_CREATION_PARAMETERS { + UINT AdapterOrdinal; + D3DDEVTYPE DeviceType; + HWND hFocusWindow; + DWORD BehaviorFlags; +} D3DDEVICE_CREATION_PARAMETERS; + +typedef struct _D3DDEVINFO_D3D9BANDWIDTHTIMINGS { + float MaxBandwidthUtilized; + float FrontEndUploadMemoryUtilizedPercent; + float VertexRateUtilizedPercent; + float TriangleSetupRateUtilizedPercent; + float FillRateUtilizedPercent; +} D3DDEVINFO_D3D9BANDWIDTHTIMINGS; + +typedef struct _D3DDEVINFO_D3D9CACHEUTILIZATION { + float TextureCacheHitRate; + float PostTransformVertexCacheHitRate; +} D3DDEVINFO_D3D9CACHEUTILIZATION; + +typedef struct _D3DDEVINFO_D3D9INTERFACETIMINGS { + float WaitingForGPUToUseApplicationResourceTimePercent; + float WaitingForGPUToAcceptMoreCommandsTimePercent; + float WaitingForGPUToStayWithinLatencyTimePercent; + float WaitingForGPUExclusiveResourceTimePercent; + float WaitingForGPUOtherTimePercent; +} D3DDEVINFO_D3D9INTERFACETIMINGS; + +typedef struct _D3DDEVINFO_D3D9PIPELINETIMINGS { + float VertexProcessingTimePercent; + float PixelProcessingTimePercent; + float OtherGPUProcessingTimePercent; + float GPUIdleTimePercent; +} D3DDEVINFO_D3D9PIPELINETIMINGS; + +typedef struct _D3DDEVINFO_D3D9STAGETIMINGS { + float MemoryProcessingPercent; + float ComputationProcessingPercent; +} D3DDEVINFO_D3D9STAGETIMINGS; + + +/* Vertex cache optimization hints. */ +typedef struct D3DDEVINFO_VCACHE { + /* Must be a 4 char code FOURCC (e.g. CACH) */ + DWORD Pattern; + /* 0 to get the longest strips, 1 vertex cache */ + DWORD OptMethod; + /* Cache size to use (only valid if OptMethod==1) */ + DWORD CacheSize; + /* internal for deciding when to restart strips, non user modifiable (only valid if OptMethod==1) */ + DWORD MagicNumber; +} D3DDEVINFO_VCACHE; + +typedef struct D3DRESOURCESTATS { + BOOL bThrashing; + DWORD ApproxBytesDownloaded; + DWORD NumEvicts; + DWORD NumVidCreates; + DWORD LastPri; + DWORD NumUsed; + DWORD NumUsedInVidMem; + DWORD WorkingSet; + DWORD WorkingSetBytes; + DWORD TotalManaged; + DWORD TotalBytes; +} D3DRESOURCESTATS; + +typedef struct _D3DDEVINFO_D3DRESOURCEMANAGER { + D3DRESOURCESTATS stats[D3DRTYPECOUNT]; +} D3DDEVINFO_D3DRESOURCEMANAGER; + +typedef struct _D3DDEVINFO_D3DVERTEXSTATS { + DWORD NumRenderedTriangles; + DWORD NumExtraClippingTriangles; +} D3DDEVINFO_D3DVERTEXSTATS; + +typedef struct _D3DDISPLAYMODE { + UINT Width; + UINT Height; + UINT RefreshRate; + D3DFORMAT Format; +} D3DDISPLAYMODE; + +typedef struct _D3DGAMMARAMP { + WORD red [256]; + WORD green[256]; + WORD blue [256]; +} D3DGAMMARAMP; + +typedef struct _D3DINDEXBUFFER_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + UINT Size; +} D3DINDEXBUFFER_DESC; + +#ifndef D3DVECTOR_DEFINED +typedef struct _D3DVECTOR { + float x; + float y; + float z; +} D3DVECTOR; +#define D3DVECTOR_DEFINED +#endif + +typedef struct _D3DLIGHT9 { + D3DLIGHTTYPE Type; + D3DCOLORVALUE Diffuse; + D3DCOLORVALUE Specular; + D3DCOLORVALUE Ambient; + D3DVECTOR Position; + D3DVECTOR Direction; + float Range; + float Falloff; + float Attenuation0; + float Attenuation1; + float Attenuation2; + float Theta; + float Phi; +} D3DLIGHT9; + +typedef struct _D3DLINEPATTERN { + WORD wRepeatFactor; + WORD wLinePattern; +} D3DLINEPATTERN; + +typedef struct _D3DLOCKED_BOX { + INT RowPitch; + INT SlicePitch; + void* pBits; +} D3DLOCKED_BOX; + +typedef struct _D3DLOCKED_RECT { + INT Pitch; + void* pBits; +} D3DLOCKED_RECT; + +typedef struct _D3DMATERIAL9 { + D3DCOLORVALUE Diffuse; + D3DCOLORVALUE Ambient; + D3DCOLORVALUE Specular; + D3DCOLORVALUE Emissive; + float Power; +} D3DMATERIAL9; + +#ifndef D3DMATRIX_DEFINED +typedef struct _D3DMATRIX { + union { + struct { + float _11, _12, _13, _14; + float _21, _22, _23, _24; + float _31, _32, _33, _34; + float _41, _42, _43, _44; + } DUMMYSTRUCTNAME; + float m[4][4]; + } DUMMYUNIONNAME; +} D3DMATRIX; +#define D3DMATRIX_DEFINED +#endif + +typedef struct _D3DPRESENT_PARAMETERS_ { + UINT BackBufferWidth; + UINT BackBufferHeight; + D3DFORMAT BackBufferFormat; + UINT BackBufferCount; + + D3DMULTISAMPLE_TYPE MultiSampleType; + DWORD MultiSampleQuality; + + D3DSWAPEFFECT SwapEffect; + HWND hDeviceWindow; + BOOL Windowed; + BOOL EnableAutoDepthStencil; + D3DFORMAT AutoDepthStencilFormat; + DWORD Flags; + + UINT FullScreen_RefreshRateInHz; + UINT PresentationInterval; + +} D3DPRESENT_PARAMETERS; + +typedef struct _D3DRANGE { + UINT Offset; + UINT Size; +} D3DRANGE; + +typedef struct _D3DRASTER_STATUS { + BOOL InVBlank; + UINT ScanLine; +} D3DRASTER_STATUS; + +#ifndef D3DRECT_DEFINED +typedef struct _D3DRECT { + LONG x1; + LONG y1; + LONG x2; + LONG y2; +} D3DRECT; +#define D3DRECT_DEFINED +#endif + +typedef struct _D3DRECTPATCH_INFO { + UINT StartVertexOffsetWidth; + UINT StartVertexOffsetHeight; + UINT Width; + UINT Height; + UINT Stride; + D3DBASISTYPE Basis; + D3DDEGREETYPE Degree; +} D3DRECTPATCH_INFO; + +typedef struct _D3DSURFACE_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + D3DMULTISAMPLE_TYPE MultiSampleType; + DWORD MultiSampleQuality; + UINT Width; + UINT Height; +} D3DSURFACE_DESC; + +typedef struct _D3DTRIPATCH_INFO { + UINT StartVertexOffset; + UINT NumVertices; + D3DBASISTYPE Basis; + D3DDEGREETYPE Degree; +} D3DTRIPATCH_INFO; + +typedef struct _D3DVERTEXBUFFER_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + UINT Size; + DWORD FVF; +} D3DVERTEXBUFFER_DESC; + +typedef struct _D3DVIEWPORT9 { + DWORD X; + DWORD Y; + DWORD Width; + DWORD Height; + float MinZ; + float MaxZ; +} D3DVIEWPORT9; + +typedef struct _D3DVOLUME_DESC { + D3DFORMAT Format; + D3DRESOURCETYPE Type; + DWORD Usage; + D3DPOOL Pool; + + UINT Width; + UINT Height; + UINT Depth; +} D3DVOLUME_DESC; + +/* Parts added with d3d9ex */ +#if !defined(D3D_DISABLE_9EX) +typedef enum D3DSCANLINEORDERING +{ + D3DSCANLINEORDERING_UNKNOWN, + D3DSCANLINEORDERING_PROGRESSIVE, + D3DSCANLINEORDERING_INTERLACED, +} D3DSCANLINEORDERING; + + +typedef struct D3DDISPLAYMODEFILTER +{ + UINT Size; + D3DFORMAT Format; + D3DSCANLINEORDERING ScanLineOrdering; +} D3DDISPLAYMODEFILTER; + +typedef struct D3DDISPLAYMODEEX +{ + UINT Size; + UINT Width; + UINT Height; + UINT RefreshRate; + D3DFORMAT Format; + D3DSCANLINEORDERING ScanLineOrdering; +} D3DDISPLAYMODEEX; + +typedef enum D3DDISPLAYROTATION +{ + D3DDISPLAYROTATION_IDENTITY = 1, + D3DDISPLAYROTATION_90, + D3DDISPLAYROTATION_180, + D3DDISPLAYROTATION_270 +} D3DDISPLAYROTATION; + +typedef enum _D3DCOMPOSERECTSOP{ + D3DCOMPOSERECTS_COPY = 1, + D3DCOMPOSERECTS_OR, + D3DCOMPOSERECTS_AND, + D3DCOMPOSERECTS_NEG, + D3DCOMPOSERECTS_FORCE_DWORD = 0x7fffffff +} D3DCOMPOSERECTSOP; + +typedef struct _D3DPRESENTSTATS +{ + UINT PresentCount; + UINT PresentRefreshCount; + UINT SyncRefreshCount; + LARGE_INTEGER SyncQPCTime; + LARGE_INTEGER SyncGPUTime; +} D3DPRESENTSTATS; + +#endif /* D3D_DISABLE_9EX */ + +typedef enum _D3DSHADER_COMPARISON +{ + D3DSPC_RESERVED0 = 0, + D3DSPC_GT, + D3DSPC_EQ, + D3DSPC_GE, + D3DSPC_LT, + D3DSPC_NE, + D3DSPC_LE, + D3DSPC_RESERVED1, +} D3DSHADER_COMPARISON; + +#ifdef __i386__ +#include +#endif + +#endif /* __WINE_D3D9TYPES_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcaps.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcaps.h new file mode 100644 index 0000000..4fc76ba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcaps.h @@ -0,0 +1,439 @@ +/* + * Copyright (C) 2000 Peter Hunnisett + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DCAPS_H +#define __WINE_D3DCAPS_H + +#include + +#ifdef __i386__ +#include +#endif + +typedef struct _D3DTRANSFORMCAPS { + DWORD dwSize; + DWORD dwCaps; +} D3DTRANSFORMCAPS, *LPD3DTRANSFORMCAPS; + +#define D3DTRANSFORMCAPS_CLIP __MSABI_LONG(0x00000001) + +typedef struct _D3DLIGHTINGCAPS { + DWORD dwSize; + DWORD dwCaps; + DWORD dwLightingModel; + DWORD dwNumLights; +} D3DLIGHTINGCAPS, *LPD3DLIGHTINGCAPS; + +#define D3DLIGHTINGMODEL_RGB 0x00000001 +#define D3DLIGHTINGMODEL_MONO 0x00000002 + +#define D3DLIGHTCAPS_POINT 0x00000001 +#define D3DLIGHTCAPS_SPOT 0x00000002 +#define D3DLIGHTCAPS_DIRECTIONAL 0x00000004 +#define D3DLIGHTCAPS_PARALLELPOINT 0x00000008 +#define D3DLIGHTCAPS_GLSPOT 0x00000010 + +typedef struct _D3dPrimCaps { + DWORD dwSize; + DWORD dwMiscCaps; + DWORD dwRasterCaps; + DWORD dwZCmpCaps; + DWORD dwSrcBlendCaps; + DWORD dwDestBlendCaps; + DWORD dwAlphaCmpCaps; + DWORD dwShadeCaps; + DWORD dwTextureCaps; + DWORD dwTextureFilterCaps; + DWORD dwTextureBlendCaps; + DWORD dwTextureAddressCaps; + DWORD dwStippleWidth; + DWORD dwStippleHeight; +} D3DPRIMCAPS, *LPD3DPRIMCAPS; + +#define D3DPMISCCAPS_MASKPLANES 0x00000001 +#define D3DPMISCCAPS_MASKZ 0x00000002 +#define D3DPMISCCAPS_LINEPATTERNREP 0x00000004 +#define D3DPMISCCAPS_CONFORMANT 0x00000008 +#define D3DPMISCCAPS_CULLNONE 0x00000010 +#define D3DPMISCCAPS_CULLCW 0x00000020 +#define D3DPMISCCAPS_CULLCCW 0x00000040 + +#define D3DPRASTERCAPS_DITHER 0x00000001 +#define D3DPRASTERCAPS_ROP2 0x00000002 +#define D3DPRASTERCAPS_XOR 0x00000004 +#define D3DPRASTERCAPS_PAT 0x00000008 +#define D3DPRASTERCAPS_ZTEST 0x00000010 +#define D3DPRASTERCAPS_SUBPIXEL 0x00000020 +#define D3DPRASTERCAPS_SUBPIXELX 0x00000040 +#define D3DPRASTERCAPS_FOGVERTEX 0x00000080 +#define D3DPRASTERCAPS_FOGTABLE 0x00000100 +#define D3DPRASTERCAPS_STIPPLE 0x00000200 +#define D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT 0x00000400 +#define D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT 0x00000800 +#define D3DPRASTERCAPS_ANTIALIASEDGES 0x00001000 +#define D3DPRASTERCAPS_MIPMAPLODBIAS 0x00002000 +#define D3DPRASTERCAPS_ZBIAS 0x00004000 +#define D3DPRASTERCAPS_ZBUFFERLESSHSR 0x00008000 +#define D3DPRASTERCAPS_FOGRANGE 0x00010000 +#define D3DPRASTERCAPS_ANISOTROPY 0x00020000 +#define D3DPRASTERCAPS_WBUFFER 0x00040000 +#define D3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT 0x00080000 +#define D3DPRASTERCAPS_WFOG 0x00100000 +#define D3DPRASTERCAPS_ZFOG 0x00200000 + +#define D3DPCMPCAPS_NEVER 0x00000001 +#define D3DPCMPCAPS_LESS 0x00000002 +#define D3DPCMPCAPS_EQUAL 0x00000004 +#define D3DPCMPCAPS_LESSEQUAL 0x00000008 +#define D3DPCMPCAPS_GREATER 0x00000010 +#define D3DPCMPCAPS_NOTEQUAL 0x00000020 +#define D3DPCMPCAPS_GREATEREQUAL 0x00000040 +#define D3DPCMPCAPS_ALWAYS 0x00000080 + +#define D3DPBLENDCAPS_ZERO 0x00000001 +#define D3DPBLENDCAPS_ONE 0x00000002 +#define D3DPBLENDCAPS_SRCCOLOR 0x00000004 +#define D3DPBLENDCAPS_INVSRCCOLOR 0x00000008 +#define D3DPBLENDCAPS_SRCALPHA 0x00000010 +#define D3DPBLENDCAPS_INVSRCALPHA 0x00000020 +#define D3DPBLENDCAPS_DESTALPHA 0x00000040 +#define D3DPBLENDCAPS_INVDESTALPHA 0x00000080 +#define D3DPBLENDCAPS_DESTCOLOR 0x00000100 +#define D3DPBLENDCAPS_INVDESTCOLOR 0x00000200 +#define D3DPBLENDCAPS_SRCALPHASAT 0x00000400 +#define D3DPBLENDCAPS_BOTHSRCALPHA 0x00000800 +#define D3DPBLENDCAPS_BOTHINVSRCALPHA 0x00001000 + +#define D3DPSHADECAPS_COLORFLATMONO 0x00000001 +#define D3DPSHADECAPS_COLORFLATRGB 0x00000002 +#define D3DPSHADECAPS_COLORGOURAUDMONO 0x00000004 +#define D3DPSHADECAPS_COLORGOURAUDRGB 0x00000008 +#define D3DPSHADECAPS_COLORPHONGMONO 0x00000010 +#define D3DPSHADECAPS_COLORPHONGRGB 0x00000020 + +#define D3DPSHADECAPS_SPECULARFLATMONO 0x00000040 +#define D3DPSHADECAPS_SPECULARFLATRGB 0x00000080 +#define D3DPSHADECAPS_SPECULARGOURAUDMONO 0x00000100 +#define D3DPSHADECAPS_SPECULARGOURAUDRGB 0x00000200 +#define D3DPSHADECAPS_SPECULARPHONGMONO 0x00000400 +#define D3DPSHADECAPS_SPECULARPHONGRGB 0x00000800 + +#define D3DPSHADECAPS_ALPHAFLATBLEND 0x00001000 +#define D3DPSHADECAPS_ALPHAFLATSTIPPLED 0x00002000 +#define D3DPSHADECAPS_ALPHAGOURAUDBLEND 0x00004000 +#define D3DPSHADECAPS_ALPHAGOURAUDSTIPPLED 0x00008000 +#define D3DPSHADECAPS_ALPHAPHONGBLEND 0x00010000 +#define D3DPSHADECAPS_ALPHAPHONGSTIPPLED 0x00020000 + +#define D3DPSHADECAPS_FOGFLAT 0x00040000 +#define D3DPSHADECAPS_FOGGOURAUD 0x00080000 +#define D3DPSHADECAPS_FOGPHONG 0x00100000 + +#define D3DPTEXTURECAPS_PERSPECTIVE 0x00000001 +#define D3DPTEXTURECAPS_POW2 0x00000002 +#define D3DPTEXTURECAPS_ALPHA 0x00000004 +#define D3DPTEXTURECAPS_TRANSPARENCY 0x00000008 +#define D3DPTEXTURECAPS_BORDER 0x00000010 +#define D3DPTEXTURECAPS_SQUAREONLY 0x00000020 +#define D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE 0x00000040 +#define D3DPTEXTURECAPS_ALPHAPALETTE 0x00000080 +#define D3DPTEXTURECAPS_NONPOW2CONDITIONAL __MSABI_LONG(0x00000100) +/* yes actually 0x00000200 is unused - or at least unreleased */ +#define D3DPTEXTURECAPS_PROJECTED 0x00000400 +#define D3DPTEXTURECAPS_CUBEMAP 0x00000800 +#define D3DPTEXTURECAPS_COLORKEYBLEND 0x00001000 + +#define D3DPTFILTERCAPS_NEAREST 0x00000001 +#define D3DPTFILTERCAPS_LINEAR 0x00000002 +#define D3DPTFILTERCAPS_MIPNEAREST 0x00000004 +#define D3DPTFILTERCAPS_MIPLINEAR 0x00000008 +#define D3DPTFILTERCAPS_LINEARMIPNEAREST 0x00000010 +#define D3DPTFILTERCAPS_LINEARMIPLINEAR 0x00000020 +/* yes - missing numbers */ +#define D3DPTFILTERCAPS_MINFPOINT 0x00000100 +#define D3DPTFILTERCAPS_MINFLINEAR 0x00000200 +#define D3DPTFILTERCAPS_MINFANISOTROPIC 0x00000400 +/* yes - missing numbers */ +#define D3DPTFILTERCAPS_MIPFPOINT 0x00010000 +#define D3DPTFILTERCAPS_MIPFLINEAR 0x00020000 +/* yes - missing numbers */ +#define D3DPTFILTERCAPS_MAGFPOINT 0x01000000 +#define D3DPTFILTERCAPS_MAGFLINEAR 0x02000000 +#define D3DPTFILTERCAPS_MAGFANISOTROPIC 0x04000000 +#define D3DPTFILTERCAPS_MAGFAFLATCUBIC 0x08000000 +#define D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC 0x10000000 + +#define D3DPTBLENDCAPS_DECAL 0x00000001 +#define D3DPTBLENDCAPS_MODULATE 0x00000002 +#define D3DPTBLENDCAPS_DECALALPHA 0x00000004 +#define D3DPTBLENDCAPS_MODULATEALPHA 0x00000008 +#define D3DPTBLENDCAPS_DECALMASK 0x00000010 +#define D3DPTBLENDCAPS_MODULATEMASK 0x00000020 +#define D3DPTBLENDCAPS_COPY 0x00000040 +#define D3DPTBLENDCAPS_ADD 0x00000080 + +#define D3DPTADDRESSCAPS_WRAP 0x00000001 +#define D3DPTADDRESSCAPS_MIRROR 0x00000002 +#define D3DPTADDRESSCAPS_CLAMP 0x00000004 +#define D3DPTADDRESSCAPS_BORDER 0x00000008 +#define D3DPTADDRESSCAPS_INDEPENDENTUV 0x00000010 + + +typedef struct _D3DDeviceDesc { + DWORD dwSize; + DWORD dwFlags; + D3DCOLORMODEL dcmColorModel; + DWORD dwDevCaps; + D3DTRANSFORMCAPS dtcTransformCaps; + BOOL bClipping; + D3DLIGHTINGCAPS dlcLightingCaps; + D3DPRIMCAPS dpcLineCaps; + D3DPRIMCAPS dpcTriCaps; + DWORD dwDeviceRenderBitDepth; + DWORD dwDeviceZBufferBitDepth; + DWORD dwMaxBufferSize; + DWORD dwMaxVertexCount; + + DWORD dwMinTextureWidth,dwMinTextureHeight; + DWORD dwMaxTextureWidth,dwMaxTextureHeight; + DWORD dwMinStippleWidth,dwMaxStippleWidth; + DWORD dwMinStippleHeight,dwMaxStippleHeight; + + DWORD dwMaxTextureRepeat; + DWORD dwMaxTextureAspectRatio; + DWORD dwMaxAnisotropy; + + D3DVALUE dvGuardBandLeft; + D3DVALUE dvGuardBandTop; + D3DVALUE dvGuardBandRight; + D3DVALUE dvGuardBandBottom; + + D3DVALUE dvExtentsAdjust; + DWORD dwStencilCaps; + + DWORD dwFVFCaps; + DWORD dwTextureOpCaps; + WORD wMaxTextureBlendStages; + WORD wMaxSimultaneousTextures; +} D3DDEVICEDESC,*LPD3DDEVICEDESC; +#define D3DDEVICEDESCSIZE (sizeof(D3DDEVICEDESC)) + +typedef struct _D3DDeviceDesc7 { + DWORD dwDevCaps; + D3DPRIMCAPS dpcLineCaps; + D3DPRIMCAPS dpcTriCaps; + DWORD dwDeviceRenderBitDepth; + DWORD dwDeviceZBufferBitDepth; + + DWORD dwMinTextureWidth, dwMinTextureHeight; + DWORD dwMaxTextureWidth, dwMaxTextureHeight; + + DWORD dwMaxTextureRepeat; + DWORD dwMaxTextureAspectRatio; + DWORD dwMaxAnisotropy; + + D3DVALUE dvGuardBandLeft; + D3DVALUE dvGuardBandTop; + D3DVALUE dvGuardBandRight; + D3DVALUE dvGuardBandBottom; + + D3DVALUE dvExtentsAdjust; + DWORD dwStencilCaps; + DWORD dwFVFCaps; + DWORD dwTextureOpCaps; + WORD wMaxTextureBlendStages; + WORD wMaxSimultaneousTextures; + + DWORD dwMaxActiveLights; + D3DVALUE dvMaxVertexW; + GUID deviceGUID; + + WORD wMaxUserClipPlanes; + WORD wMaxVertexBlendMatrices; + + DWORD dwVertexProcessingCaps; + + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwReserved4; +} D3DDEVICEDESC7, *LPD3DDEVICEDESC7; +#define D3DDEVICEDESC7SIZE (sizeof(D3DDEVICEDESC7)) + +#define D3DDD_COLORMODEL 0x00000001 +#define D3DDD_DEVCAPS 0x00000002 +#define D3DDD_TRANSFORMCAPS 0x00000004 +#define D3DDD_LIGHTINGCAPS 0x00000008 +#define D3DDD_BCLIPPING 0x00000010 +#define D3DDD_LINECAPS 0x00000020 +#define D3DDD_TRICAPS 0x00000040 +#define D3DDD_DEVICERENDERBITDEPTH 0x00000080 +#define D3DDD_DEVICEZBUFFERBITDEPTH 0x00000100 +#define D3DDD_MAXBUFFERSIZE 0x00000200 +#define D3DDD_MAXVERTEXCOUNT 0x00000400 + +#define D3DDEVCAPS_FLOATTLVERTEX 0x00000001 +#define D3DDEVCAPS_SORTINCREASINGZ 0x00000002 +#define D3DDEVCAPS_SORTDECREASINGZ 0X00000004 +#define D3DDEVCAPS_SORTEXACT 0x00000008 +#define D3DDEVCAPS_EXECUTESYSTEMMEMORY 0x00000010 +#define D3DDEVCAPS_EXECUTEVIDEOMEMORY 0x00000020 +#define D3DDEVCAPS_TLVERTEXSYSTEMMEMORY 0x00000040 +#define D3DDEVCAPS_TLVERTEXVIDEOMEMORY 0x00000080 +#define D3DDEVCAPS_TEXTURESYSTEMMEMORY 0x00000100 +#define D3DDEVCAPS_TEXTUREVIDEOMEMORY 0x00000200 +#define D3DDEVCAPS_DRAWPRIMTLVERTEX 0x00000400 +#define D3DDEVCAPS_CANRENDERAFTERFLIP 0x00000800 +#define D3DDEVCAPS_TEXTURENONLOCALVIDMEM 0x00001000 +#define D3DDEVCAPS_DRAWPRIMITIVES2 0x00002000 +#define D3DDEVCAPS_SEPARATETEXTUREMEMORIES 0x00004000 +#define D3DDEVCAPS_DRAWPRIMITIVES2EX 0x00008000 +#define D3DDEVCAPS_HWTRANSFORMANDLIGHT 0x00010000 +#define D3DDEVCAPS_CANBLTSYSTONONLOCAL 0x00020000 +#define D3DDEVCAPS_HWRASTERIZATION 0x00080000 + +#define D3DSTENCILCAPS_KEEP 0x00000001 +#define D3DSTENCILCAPS_ZERO 0x00000002 +#define D3DSTENCILCAPS_REPLACE 0x00000004 +#define D3DSTENCILCAPS_INCRSAT 0x00000008 +#define D3DSTENCILCAPS_DECRSAT 0x00000010 +#define D3DSTENCILCAPS_INVERT 0x00000020 +#define D3DSTENCILCAPS_INCR 0x00000040 +#define D3DSTENCILCAPS_DECR 0x00000080 + +#define D3DTEXOPCAPS_DISABLE 0x00000001 +#define D3DTEXOPCAPS_SELECTARG1 0x00000002 +#define D3DTEXOPCAPS_SELECTARG2 0x00000004 +#define D3DTEXOPCAPS_MODULATE 0x00000008 +#define D3DTEXOPCAPS_MODULATE2X 0x00000010 +#define D3DTEXOPCAPS_MODULATE4X 0x00000020 +#define D3DTEXOPCAPS_ADD 0x00000040 +#define D3DTEXOPCAPS_ADDSIGNED 0x00000080 +#define D3DTEXOPCAPS_ADDSIGNED2X 0x00000100 +#define D3DTEXOPCAPS_SUBTRACT 0x00000200 +#define D3DTEXOPCAPS_ADDSMOOTH 0x00000400 +#define D3DTEXOPCAPS_BLENDDIFFUSEALPHA 0x00000800 +#define D3DTEXOPCAPS_BLENDTEXTUREALPHA 0x00001000 +#define D3DTEXOPCAPS_BLENDFACTORALPHA 0x00002000 +#define D3DTEXOPCAPS_BLENDTEXTUREALPHAPM 0x00004000 +#define D3DTEXOPCAPS_BLENDCURRENTALPHA 0x00008000 +#define D3DTEXOPCAPS_PREMODULATE 0x00010000 +#define D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR 0x00020000 +#define D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA 0x00040000 +#define D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR 0x00080000 +#define D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA 0x00100000 +#define D3DTEXOPCAPS_BUMPENVMAP 0x00200000 +#define D3DTEXOPCAPS_BUMPENVMAPLUMINANCE 0x00400000 +#define D3DTEXOPCAPS_DOTPRODUCT3 0x00800000 + +#define D3DFVFCAPS_TEXCOORDCOUNTMASK 0x0000FFFF +#define D3DFVFCAPS_DONOTSTRIPELEMENTS 0x00080000 + +#define D3DVTXPCAPS_TEXGEN 0x00000001 +#define D3DVTXPCAPS_MATERIALSOURCE7 0x00000002 +#define D3DVTXPCAPS_VERTEXFOG 0x00000004 +#define D3DVTXPCAPS_DIRECTIONALLIGHTS 0x00000008 +#define D3DVTXPCAPS_POSITIONALLIGHTS 0x00000010 +#define D3DVTXPCAPS_LOCALVIEWER 0x00000020 + +typedef HRESULT (CALLBACK *LPD3DENUMDEVICESCALLBACK)(GUID *guid, char *description, char *name, + D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc, void *ctx); +typedef HRESULT (CALLBACK *LPD3DENUMDEVICESCALLBACK7)(char *description, char *name, D3DDEVICEDESC7 *desc, void *ctx); + +#define D3DFDS_COLORMODEL 0x00000001 +#define D3DFDS_GUID 0x00000002 +#define D3DFDS_HARDWARE 0x00000004 +#define D3DFDS_TRIANGLES 0x00000008 +#define D3DFDS_LINES 0x00000010 +#define D3DFDS_MISCCAPS 0x00000020 +#define D3DFDS_RASTERCAPS 0x00000040 +#define D3DFDS_ZCMPCAPS 0x00000080 +#define D3DFDS_ALPHACMPCAPS 0x00000100 +#define D3DFDS_SRCBLENDCAPS 0x00000200 +#define D3DFDS_DSTBLENDCAPS 0x00000400 +#define D3DFDS_SHADECAPS 0x00000800 +#define D3DFDS_TEXTURECAPS 0x00001000 +#define D3DFDS_TEXTUREFILTERCAPS 0x00002000 +#define D3DFDS_TEXTUREBLENDCAPS 0x00004000 +#define D3DFDS_TEXTUREADDRESSCAPS 0x00008000 + +typedef struct _D3DFINDDEVICESEARCH { + DWORD dwSize; + DWORD dwFlags; + BOOL bHardware; + D3DCOLORMODEL dcmColorModel; + GUID guid; + DWORD dwCaps; + D3DPRIMCAPS dpcPrimCaps; +} D3DFINDDEVICESEARCH,*LPD3DFINDDEVICESEARCH; + +typedef struct _D3DFINDDEVICERESULT { + DWORD dwSize; + GUID guid; + D3DDEVICEDESC ddHwDesc; + D3DDEVICEDESC ddSwDesc; +} D3DFINDDEVICERESULT,*LPD3DFINDDEVICERESULT; + +typedef struct _D3DExecuteBufferDesc { + DWORD dwSize; + DWORD dwFlags; + DWORD dwCaps; + DWORD dwBufferSize; + void *lpData; +} D3DEXECUTEBUFFERDESC, *LPD3DEXECUTEBUFFERDESC; + +#define D3DDEB_BUFSIZE 0x00000001 +#define D3DDEB_CAPS 0x00000002 +#define D3DDEB_LPDATA 0x00000004 + +#define D3DDEBCAPS_SYSTEMMEMORY 0x00000001 +#define D3DDEBCAPS_VIDEOMEMORY 0x00000002 +#define D3DDEBCAPS_MEM (D3DDEBCAPS_SYSTEMMEMORY|D3DDEBCAPS_VIDEOMEMORY) /* = 0x3 */ + +typedef struct _D3DDEVINFO_TEXTUREMANAGER { + BOOL bThrashing; + DWORD dwApproxBytesDownloaded; + DWORD dwNumEvicts; + DWORD dwNumVidCreates; + DWORD dwNumTexturesUsed; + DWORD dwNumUsedTexInVid; + DWORD dwWorkingSet; + DWORD dwWorkingSetBytes; + DWORD dwTotalManaged; + DWORD dwTotalBytes; + DWORD dwLastPri; +} D3DDEVINFO_TEXTUREMANAGER, *LPD3DDEVINFO_TEXTUREMANAGER; + +typedef struct _D3DDEVINFO_TEXTURING { + DWORD dwNumLoads; + DWORD dwApproxBytesLoaded; + DWORD dwNumPreLoads; + DWORD dwNumSet; + DWORD dwNumCreates; + DWORD dwNumDestroys; + DWORD dwNumSetPriorities; + DWORD dwNumSetLODs; + DWORD dwNumLocks; + DWORD dwNumGetDCs; +} D3DDEVINFO_TEXTURING, *LPD3DDEVINFO_TEXTURING; + +#ifdef __i386__ +#include +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcommon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcommon.h new file mode 100644 index 0000000..288b1b9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcommon.h @@ -0,0 +1,795 @@ +/*** Autogenerated by WIDL 2.18 from d3dcommon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3dcommon_h__ +#define __d3dcommon_h__ + +/* Forward declarations */ + +#ifndef __ID3D10Blob_FWD_DEFINED__ +#define __ID3D10Blob_FWD_DEFINED__ +typedef interface ID3D10Blob ID3D10Blob; +#ifdef __cplusplus +interface ID3D10Blob; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DInclude_FWD_DEFINED__ +#define __ID3DInclude_FWD_DEFINED__ +typedef interface ID3DInclude ID3DInclude; +#ifdef __cplusplus +interface ID3DInclude; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _D3D_SHADER_MACRO { + const char *Name; + const char *Definition; +} D3D_SHADER_MACRO; +typedef struct _D3D_SHADER_MACRO *LPD3D_SHADER_MACRO; +/***************************************************************************** + * ID3D10Blob interface + */ +#ifndef __ID3D10Blob_INTERFACE_DEFINED__ +#define __ID3D10Blob_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac,0x58, 0x0d,0x98,0x9c,0x3a,0x01,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8ba5fb08-5195-40e2-ac58-0d989c3a0102") +ID3D10Blob : public IUnknown +{ + virtual void * STDMETHODCALLTYPE GetBufferPointer( + ) = 0; + + virtual SIZE_T STDMETHODCALLTYPE GetBufferSize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac,0x58, 0x0d,0x98,0x9c,0x3a,0x01,0x02) +#endif +#else +typedef struct ID3D10BlobVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3D10Blob *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3D10Blob *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3D10Blob *This); + + /*** ID3D10Blob methods ***/ + void * (STDMETHODCALLTYPE *GetBufferPointer)( + ID3D10Blob *This); + + SIZE_T (STDMETHODCALLTYPE *GetBufferSize)( + ID3D10Blob *This); + + END_INTERFACE +} ID3D10BlobVtbl; + +interface ID3D10Blob { + CONST_VTBL ID3D10BlobVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3D10Blob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3D10Blob_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3D10Blob_Release(This) (This)->lpVtbl->Release(This) +/*** ID3D10Blob methods ***/ +#define ID3D10Blob_GetBufferPointer(This) (This)->lpVtbl->GetBufferPointer(This) +#define ID3D10Blob_GetBufferSize(This) (This)->lpVtbl->GetBufferSize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3D10Blob_QueryInterface(ID3D10Blob* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3D10Blob_AddRef(ID3D10Blob* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3D10Blob_Release(ID3D10Blob* This) { + return This->lpVtbl->Release(This); +} +/*** ID3D10Blob methods ***/ +static FORCEINLINE void * ID3D10Blob_GetBufferPointer(ID3D10Blob* This) { + return This->lpVtbl->GetBufferPointer(This); +} +static FORCEINLINE SIZE_T ID3D10Blob_GetBufferSize(ID3D10Blob* This) { + return This->lpVtbl->GetBufferSize(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3D10Blob_INTERFACE_DEFINED__ */ + +typedef ID3D10Blob *LPD3D10BLOB; +typedef ID3D10Blob ID3DBlob; +typedef ID3DBlob *LPD3DBLOB; +#define IID_ID3DBlob IID_ID3D10Blob +typedef enum _D3D_INCLUDE_TYPE { + D3D_INCLUDE_LOCAL = 0, + D3D_INCLUDE_SYSTEM = 1, + D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL, + D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM, + D3D_INCLUDE_FORCE_DWORD = 0x7fffffff +} D3D_INCLUDE_TYPE; +/***************************************************************************** + * ID3DInclude interface + */ +#ifndef __ID3DInclude_INTERFACE_DEFINED__ +#define __ID3DInclude_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface ID3DInclude +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE Open( + D3D_INCLUDE_TYPE include_type, + const char *filename, + const void *parent_data, + const void **data, + UINT *bytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + const void *data) = 0; + + END_INTERFACE + +}; +#else +typedef struct ID3DIncludeVtbl { + BEGIN_INTERFACE + + /*** ID3DInclude methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + ID3DInclude *This, + D3D_INCLUDE_TYPE include_type, + const char *filename, + const void *parent_data, + const void **data, + UINT *bytes); + + HRESULT (STDMETHODCALLTYPE *Close)( + ID3DInclude *This, + const void *data); + + END_INTERFACE +} ID3DIncludeVtbl; + +interface ID3DInclude { + CONST_VTBL ID3DIncludeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** ID3DInclude methods ***/ +#define ID3DInclude_Open(This,include_type,filename,parent_data,data,bytes) (This)->lpVtbl->Open(This,include_type,filename,parent_data,data,bytes) +#define ID3DInclude_Close(This,data) (This)->lpVtbl->Close(This,data) +#else +/*** ID3DInclude methods ***/ +static FORCEINLINE HRESULT ID3DInclude_Open(ID3DInclude* This,D3D_INCLUDE_TYPE include_type,const char *filename,const void *parent_data,const void **data,UINT *bytes) { + return This->lpVtbl->Open(This,include_type,filename,parent_data,data,bytes); +} +static FORCEINLINE HRESULT ID3DInclude_Close(ID3DInclude* This,const void *data) { + return This->lpVtbl->Close(This,data); +} +#endif +#endif + +#endif + + +#endif /* __ID3DInclude_INTERFACE_DEFINED__ */ + +typedef ID3DInclude *LPD3DINCLUDE; +typedef enum D3D_DRIVER_TYPE { + D3D_DRIVER_TYPE_UNKNOWN = 0, + D3D_DRIVER_TYPE_HARDWARE = 1, + D3D_DRIVER_TYPE_REFERENCE = 2, + D3D_DRIVER_TYPE_NULL = 3, + D3D_DRIVER_TYPE_SOFTWARE = 4, + D3D_DRIVER_TYPE_WARP = 5 +} D3D_DRIVER_TYPE; +typedef enum D3D_FEATURE_LEVEL { + D3D_FEATURE_LEVEL_9_1 = 0x9100, + D3D_FEATURE_LEVEL_9_2 = 0x9200, + D3D_FEATURE_LEVEL_9_3 = 0x9300, + D3D_FEATURE_LEVEL_10_0 = 0xa000, + D3D_FEATURE_LEVEL_10_1 = 0xa100, + D3D_FEATURE_LEVEL_11_0 = 0xb000, + D3D_FEATURE_LEVEL_11_1 = 0xb100 +} D3D_FEATURE_LEVEL; +#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048 +#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096 +#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048 +#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096 +#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512 +#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096 +#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256 +#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2 +#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535 +#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575 +#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1 +#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4 +#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128 +#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048 +#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192 +typedef enum _D3D_SHADER_VARIABLE_CLASS { + D3D_SVC_SCALAR = 0, + D3D_SVC_VECTOR = 1, + D3D_SVC_MATRIX_ROWS = 2, + D3D_SVC_MATRIX_COLUMNS = 3, + D3D_SVC_OBJECT = 4, + D3D_SVC_STRUCT = 5, + D3D_SVC_INTERFACE_CLASS = 6, + D3D_SVC_INTERFACE_POINTER = 7, + D3D10_SVC_SCALAR = 0, + D3D10_SVC_VECTOR = 1, + D3D10_SVC_MATRIX_ROWS = 2, + D3D10_SVC_MATRIX_COLUMNS = 3, + D3D10_SVC_OBJECT = 4, + D3D10_SVC_STRUCT = 5, + D3D11_SVC_INTERFACE_CLASS = 6, + D3D11_SVC_INTERFACE_POINTER = 7, + D3D_SVC_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_VARIABLE_CLASS; +typedef enum _D3D_SHADER_VARIABLE_FLAGS { + D3D_SVF_USERPACKED = 0x1, + D3D_SVF_USED = 0x2, + D3D_SVF_INTERFACE_POINTER = 0x4, + D3D_SVF_INTERFACE_PARAMETER = 0x8, + D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED, + D3D10_SVF_USED = D3D_SVF_USED, + D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER, + D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER, + D3D_SVF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_VARIABLE_FLAGS; +typedef enum _D3D_SHADER_VARIABLE_TYPE { + D3D_SVT_VOID = 0, + D3D_SVT_BOOL = 1, + D3D_SVT_INT = 2, + D3D_SVT_FLOAT = 3, + D3D_SVT_STRING = 4, + D3D_SVT_TEXTURE = 5, + D3D_SVT_TEXTURE1D = 6, + D3D_SVT_TEXTURE2D = 7, + D3D_SVT_TEXTURE3D = 8, + D3D_SVT_TEXTURECUBE = 9, + D3D_SVT_SAMPLER = 10, + D3D_SVT_SAMPLER1D = 11, + D3D_SVT_SAMPLER2D = 12, + D3D_SVT_SAMPLER3D = 13, + D3D_SVT_SAMPLERCUBE = 14, + D3D_SVT_PIXELSHADER = 15, + D3D_SVT_VERTEXSHADER = 16, + D3D_SVT_PIXELFRAGMENT = 17, + D3D_SVT_VERTEXFRAGMENT = 18, + D3D_SVT_UINT = 19, + D3D_SVT_UINT8 = 20, + D3D_SVT_GEOMETRYSHADER = 21, + D3D_SVT_RASTERIZER = 22, + D3D_SVT_DEPTHSTENCIL = 23, + D3D_SVT_BLEND = 24, + D3D_SVT_BUFFER = 25, + D3D_SVT_CBUFFER = 26, + D3D_SVT_TBUFFER = 27, + D3D_SVT_TEXTURE1DARRAY = 28, + D3D_SVT_TEXTURE2DARRAY = 29, + D3D_SVT_RENDERTARGETVIEW = 30, + D3D_SVT_DEPTHSTENCILVIEW = 31, + D3D_SVT_TEXTURE2DMS = 32, + D3D_SVT_TEXTURE2DMSARRAY = 33, + D3D_SVT_TEXTURECUBEARRAY = 34, + D3D_SVT_HULLSHADER = 35, + D3D_SVT_DOMAINSHADER = 36, + D3D_SVT_INTERFACE_POINTER = 37, + D3D_SVT_COMPUTESHADER = 38, + D3D_SVT_DOUBLE = 39, + D3D_SVT_RWTEXTURE1D = 40, + D3D_SVT_RWTEXTURE1DARRAY = 41, + D3D_SVT_RWTEXTURE2D = 42, + D3D_SVT_RWTEXTURE2DARRAY = 43, + D3D_SVT_RWTEXTURE3D = 44, + D3D_SVT_RWBUFFER = 45, + D3D_SVT_BYTEADDRESS_BUFFER = 46, + D3D_SVT_RWBYTEADDRESS_BUFFER = 47, + D3D_SVT_STRUCTURED_BUFFER = 48, + D3D_SVT_RWSTRUCTURED_BUFFER = 49, + D3D_SVT_APPEND_STRUCTURED_BUFFER = 50, + D3D_SVT_CONSUME_STRUCTURED_BUFFER = 51, + D3D10_SVT_VOID = 0, + D3D10_SVT_BOOL = 1, + D3D10_SVT_INT = 2, + D3D10_SVT_FLOAT = 3, + D3D10_SVT_STRING = 4, + D3D10_SVT_TEXTURE = 5, + D3D10_SVT_TEXTURE1D = 6, + D3D10_SVT_TEXTURE2D = 7, + D3D10_SVT_TEXTURE3D = 8, + D3D10_SVT_TEXTURECUBE = 9, + D3D10_SVT_SAMPLER = 10, + D3D10_SVT_SAMPLER1D = 11, + D3D10_SVT_SAMPLER2D = 12, + D3D10_SVT_SAMPLER3D = 13, + D3D10_SVT_SAMPLERCUBE = 14, + D3D10_SVT_PIXELSHADER = 15, + D3D10_SVT_VERTEXSHADER = 16, + D3D10_SVT_PIXELFRAGMENT = 17, + D3D10_SVT_VERTEXFRAGMENT = 18, + D3D10_SVT_UINT = 19, + D3D10_SVT_UINT8 = 20, + D3D10_SVT_GEOMETRYSHADER = 21, + D3D10_SVT_RASTERIZER = 22, + D3D10_SVT_DEPTHSTENCIL = 23, + D3D10_SVT_BLEND = 24, + D3D10_SVT_BUFFER = 25, + D3D10_SVT_CBUFFER = 26, + D3D10_SVT_TBUFFER = 27, + D3D10_SVT_TEXTURE1DARRAY = 28, + D3D10_SVT_TEXTURE2DARRAY = 29, + D3D10_SVT_RENDERTARGETVIEW = 30, + D3D10_SVT_DEPTHSTENCILVIEW = 31, + D3D10_SVT_TEXTURE2DMS = 32, + D3D10_SVT_TEXTURE2DMSARRAY = 33, + D3D10_SVT_TEXTURECUBEARRAY = 34, + D3D11_SVT_HULLSHADER = 35, + D3D11_SVT_DOMAINSHADER = 36, + D3D11_SVT_INTERFACE_POINTER = 37, + D3D11_SVT_COMPUTESHADER = 38, + D3D11_SVT_DOUBLE = 39, + D3D11_SVT_RWTEXTURE1D = 40, + D3D11_SVT_RWTEXTURE1DARRAY = 41, + D3D11_SVT_RWTEXTURE2D = 42, + D3D11_SVT_RWTEXTURE2DARRAY = 43, + D3D11_SVT_RWTEXTURE3D = 44, + D3D11_SVT_RWBUFFER = 45, + D3D11_SVT_BYTEADDRESS_BUFFER = 46, + D3D11_SVT_RWBYTEADDRESS_BUFFER = 47, + D3D11_SVT_STRUCTURED_BUFFER = 48, + D3D11_SVT_RWSTRUCTURED_BUFFER = 49, + D3D11_SVT_APPEND_STRUCTURED_BUFFER = 50, + D3D11_SVT_CONSUME_STRUCTURED_BUFFER = 51, + D3D_SVT_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_VARIABLE_TYPE; +typedef enum _D3D_SHADER_INPUT_FLAGS { + D3D_SIF_USERPACKED = 0x1, + D3D_SIF_COMPARISON_SAMPLER = 0x2, + D3D_SIF_TEXTURE_COMPONENT_0 = 0x4, + D3D_SIF_TEXTURE_COMPONENT_1 = 0x8, + D3D_SIF_TEXTURE_COMPONENTS = 0xc, + D3D_SIF_UNUSED = 0x10, + D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED, + D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER, + D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0, + D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1, + D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS, + D3D_SIF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_INPUT_FLAGS; +typedef enum D3D_PRIMITIVE { + D3D_PRIMITIVE_UNDEFINED = 0, + D3D_PRIMITIVE_POINT = 1, + D3D_PRIMITIVE_LINE = 2, + D3D_PRIMITIVE_TRIANGLE = 3, + D3D_PRIMITIVE_LINE_ADJ = 6, + D3D_PRIMITIVE_TRIANGLE_ADJ = 7, + D3D_PRIMITIVE_1_CONTROL_POINT_PATCH = 8, + D3D_PRIMITIVE_2_CONTROL_POINT_PATCH = 9, + D3D_PRIMITIVE_3_CONTROL_POINT_PATCH = 10, + D3D_PRIMITIVE_4_CONTROL_POINT_PATCH = 11, + D3D_PRIMITIVE_5_CONTROL_POINT_PATCH = 12, + D3D_PRIMITIVE_6_CONTROL_POINT_PATCH = 13, + D3D_PRIMITIVE_7_CONTROL_POINT_PATCH = 14, + D3D_PRIMITIVE_8_CONTROL_POINT_PATCH = 15, + D3D_PRIMITIVE_9_CONTROL_POINT_PATCH = 16, + D3D_PRIMITIVE_10_CONTROL_POINT_PATCH = 17, + D3D_PRIMITIVE_11_CONTROL_POINT_PATCH = 18, + D3D_PRIMITIVE_12_CONTROL_POINT_PATCH = 19, + D3D_PRIMITIVE_13_CONTROL_POINT_PATCH = 20, + D3D_PRIMITIVE_14_CONTROL_POINT_PATCH = 21, + D3D_PRIMITIVE_15_CONTROL_POINT_PATCH = 22, + D3D_PRIMITIVE_16_CONTROL_POINT_PATCH = 23, + D3D_PRIMITIVE_17_CONTROL_POINT_PATCH = 24, + D3D_PRIMITIVE_18_CONTROL_POINT_PATCH = 25, + D3D_PRIMITIVE_19_CONTROL_POINT_PATCH = 26, + D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28, + D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 29, + D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 30, + D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 31, + D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 32, + D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 33, + D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 34, + D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 35, + D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 36, + D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 37, + D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 38, + D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 39, + D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 40, + D3D10_PRIMITIVE_UNDEFINED = 0, + D3D10_PRIMITIVE_POINT = 1, + D3D10_PRIMITIVE_LINE = 2, + D3D10_PRIMITIVE_TRIANGLE = 3, + D3D10_PRIMITIVE_LINE_ADJ = 6, + D3D10_PRIMITIVE_TRIANGLE_ADJ = 7, + D3D11_PRIMITIVE_UNDEFINED = 0, + D3D11_PRIMITIVE_POINT = 1, + D3D11_PRIMITIVE_LINE = 2, + D3D11_PRIMITIVE_TRIANGLE = 3, + D3D11_PRIMITIVE_LINE_ADJ = 6, + D3D11_PRIMITIVE_TRIANGLE_ADJ = 7, + D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH = 8, + D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH = 9, + D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH = 10, + D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH = 11, + D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH = 12, + D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH = 13, + D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH = 14, + D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH = 15, + D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH = 16, + D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH = 17, + D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH = 18, + D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH = 19, + D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH = 20, + D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH = 21, + D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH = 22, + D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH = 23, + D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH = 24, + D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH = 25, + D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH = 26, + D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 28, + D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = 29, + D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = 30, + D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = 31, + D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = 32, + D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = 33, + D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = 34, + D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = 35, + D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = 36, + D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = 37, + D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = 38, + D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = 39, + D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = 40 +} D3D_PRIMITIVE; +typedef enum D3D_PRIMITIVE_TOPOLOGY { + D3D_PRIMITIVE_TOPOLOGY_UNDEFINED = 0, + D3D_PRIMITIVE_TOPOLOGY_POINTLIST = 1, + D3D_PRIMITIVE_TOPOLOGY_LINELIST = 2, + D3D_PRIMITIVE_TOPOLOGY_LINESTRIP = 3, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5, + D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, + D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13, + D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33, + D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34, + D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35, + D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36, + D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37, + D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38, + D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39, + D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40, + D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41, + D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42, + D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43, + D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44, + D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45, + D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46, + D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47, + D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48, + D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49, + D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50, + D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51, + D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52, + D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53, + D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54, + D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55, + D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56, + D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57, + D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58, + D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59, + D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60, + D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61, + D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62, + D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63, + D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64, + D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED = 0, + D3D10_PRIMITIVE_TOPOLOGY_POINTLIST = 1, + D3D10_PRIMITIVE_TOPOLOGY_LINELIST = 2, + D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP = 3, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5, + D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, + D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13, + D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = 0, + D3D11_PRIMITIVE_TOPOLOGY_POINTLIST = 1, + D3D11_PRIMITIVE_TOPOLOGY_LINELIST = 2, + D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP = 3, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5, + D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, + D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13, + D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33, + D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34, + D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35, + D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36, + D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37, + D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38, + D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39, + D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40, + D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41, + D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42, + D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43, + D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44, + D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45, + D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46, + D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47, + D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48, + D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49, + D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50, + D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51, + D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52, + D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53, + D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54, + D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55, + D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56, + D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57, + D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58, + D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59, + D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60, + D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61, + D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62, + D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63, + D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64 +} D3D_PRIMITIVE_TOPOLOGY; +typedef enum D3D_TESSELLATOR_DOMAIN { + D3D_TESSELLATOR_DOMAIN_UNDEFINED = 0, + D3D_TESSELLATOR_DOMAIN_ISOLINE = 1, + D3D_TESSELLATOR_DOMAIN_TRI = 2, + D3D_TESSELLATOR_DOMAIN_QUAD = 3, + D3D11_TESSELLATOR_DOMAIN_UNDEFINED = 0, + D3D11_TESSELLATOR_DOMAIN_ISOLINE = 1, + D3D11_TESSELLATOR_DOMAIN_TRI = 2, + D3D11_TESSELLATOR_DOMAIN_QUAD = 3 +} D3D_TESSELLATOR_DOMAIN; +typedef enum D3D_TESSELLATOR_PARTITIONING { + D3D_TESSELLATOR_PARTITIONING_UNDEFINED = 0, + D3D_TESSELLATOR_PARTITIONING_INTEGER = 1, + D3D_TESSELLATOR_PARTITIONING_POW2 = 2, + D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3, + D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4, + D3D11_TESSELLATOR_PARTITIONING_UNDEFINED = 0, + D3D11_TESSELLATOR_PARTITIONING_INTEGER = 1, + D3D11_TESSELLATOR_PARTITIONING_POW2 = 2, + D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3, + D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4 +} D3D_TESSELLATOR_PARTITIONING; +typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE { + D3D_TESSELLATOR_OUTPUT_UNDEFINED = 0, + D3D_TESSELLATOR_OUTPUT_POINT = 1, + D3D_TESSELLATOR_OUTPUT_LINE = 2, + D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3, + D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4, + D3D11_TESSELLATOR_OUTPUT_UNDEFINED = 0, + D3D11_TESSELLATOR_OUTPUT_POINT = 1, + D3D11_TESSELLATOR_OUTPUT_LINE = 2, + D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3, + D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4 +} D3D_TESSELLATOR_OUTPUT_PRIMITIVE; +typedef enum D3D_CBUFFER_TYPE { + D3D_CT_CBUFFER = 0, + D3D_CT_TBUFFER = 1, + D3D_CT_INTERFACE_POINTERS = 2, + D3D_CT_RESOURCE_BIND_INFO = 3, + D3D10_CT_CBUFFER = 0, + D3D10_CT_TBUFFER = 1, + D3D11_CT_CBUFFER = 0, + D3D11_CT_TBUFFER = 1, + D3D11_CT_INTERFACE_POINTERS = 2, + D3D11_CT_RESOURCE_BIND_INFO = 3 +} D3D_CBUFFER_TYPE; +typedef enum D3D_SRV_DIMENSION { + D3D_SRV_DIMENSION_UNKNOWN = 0, + D3D_SRV_DIMENSION_BUFFER = 1, + D3D_SRV_DIMENSION_TEXTURE1D = 2, + D3D_SRV_DIMENSION_TEXTURE1DARRAY = 3, + D3D_SRV_DIMENSION_TEXTURE2D = 4, + D3D_SRV_DIMENSION_TEXTURE2DARRAY = 5, + D3D_SRV_DIMENSION_TEXTURE2DMS = 6, + D3D_SRV_DIMENSION_TEXTURE2DMSARRAY = 7, + D3D_SRV_DIMENSION_TEXTURE3D = 8, + D3D_SRV_DIMENSION_TEXTURECUBE = 9, + D3D_SRV_DIMENSION_TEXTURECUBEARRAY = 10, + D3D_SRV_DIMENSION_BUFFEREX = 11, + D3D10_SRV_DIMENSION_UNKNOWN = 0, + D3D10_SRV_DIMENSION_BUFFER = 1, + D3D10_SRV_DIMENSION_TEXTURE1D = 2, + D3D10_SRV_DIMENSION_TEXTURE1DARRAY = 3, + D3D10_SRV_DIMENSION_TEXTURE2D = 4, + D3D10_SRV_DIMENSION_TEXTURE2DARRAY = 5, + D3D10_SRV_DIMENSION_TEXTURE2DMS = 6, + D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY = 7, + D3D10_SRV_DIMENSION_TEXTURE3D = 8, + D3D10_SRV_DIMENSION_TEXTURECUBE = 9, + D3D10_1_SRV_DIMENSION_UNKNOWN = 0, + D3D10_1_SRV_DIMENSION_BUFFER = 1, + D3D10_1_SRV_DIMENSION_TEXTURE1D = 2, + D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY = 3, + D3D10_1_SRV_DIMENSION_TEXTURE2D = 4, + D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY = 5, + D3D10_1_SRV_DIMENSION_TEXTURE2DMS = 6, + D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY = 7, + D3D10_1_SRV_DIMENSION_TEXTURE3D = 8, + D3D10_1_SRV_DIMENSION_TEXTURECUBE = 9, + D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY = 10, + D3D11_SRV_DIMENSION_UNKNOWN = 0, + D3D11_SRV_DIMENSION_BUFFER = 1, + D3D11_SRV_DIMENSION_TEXTURE1D = 2, + D3D11_SRV_DIMENSION_TEXTURE1DARRAY = 3, + D3D11_SRV_DIMENSION_TEXTURE2D = 4, + D3D11_SRV_DIMENSION_TEXTURE2DARRAY = 5, + D3D11_SRV_DIMENSION_TEXTURE2DMS = 6, + D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY = 7, + D3D11_SRV_DIMENSION_TEXTURE3D = 8, + D3D11_SRV_DIMENSION_TEXTURECUBE = 9, + D3D11_SRV_DIMENSION_TEXTURECUBEARRAY = 10, + D3D11_SRV_DIMENSION_BUFFEREX = 11 +} D3D_SRV_DIMENSION; +typedef enum D3D_REGISTER_COMPONENT_TYPE { + D3D_REGISTER_COMPONENT_UNKNOWN = 0, + D3D_REGISTER_COMPONENT_UINT32 = 1, + D3D_REGISTER_COMPONENT_SINT32 = 2, + D3D_REGISTER_COMPONENT_FLOAT32 = 3, + D3D10_REGISTER_COMPONENT_UNKNOWN = 0, + D3D10_REGISTER_COMPONENT_UINT32 = 1, + D3D10_REGISTER_COMPONENT_SINT32 = 2, + D3D10_REGISTER_COMPONENT_FLOAT32 = 3 +} D3D_REGISTER_COMPONENT_TYPE; +typedef enum D3D_RESOURCE_RETURN_TYPE { + D3D_RETURN_TYPE_UNORM = 1, + D3D_RETURN_TYPE_SNORM = 2, + D3D_RETURN_TYPE_SINT = 3, + D3D_RETURN_TYPE_UINT = 4, + D3D_RETURN_TYPE_FLOAT = 5, + D3D_RETURN_TYPE_MIXED = 6, + D3D_RETURN_TYPE_DOUBLE = 7, + D3D_RETURN_TYPE_CONTINUED = 8, + D3D10_RETURN_TYPE_UNORM = 1, + D3D10_RETURN_TYPE_SNORM = 2, + D3D10_RETURN_TYPE_SINT = 3, + D3D10_RETURN_TYPE_UINT = 4, + D3D10_RETURN_TYPE_FLOAT = 5, + D3D10_RETURN_TYPE_MIXED = 6, + D3D11_RETURN_TYPE_UNORM = 1, + D3D11_RETURN_TYPE_SNORM = 2, + D3D11_RETURN_TYPE_SINT = 3, + D3D11_RETURN_TYPE_UINT = 4, + D3D11_RETURN_TYPE_FLOAT = 5, + D3D11_RETURN_TYPE_MIXED = 6, + D3D11_RETURN_TYPE_DOUBLE = 7, + D3D11_RETURN_TYPE_CONTINUED = 8 +} D3D_RESOURCE_RETURN_TYPE; +typedef enum D3D_NAME { + D3D_NAME_UNDEFINED = 0, + D3D_NAME_POSITION = 1, + D3D_NAME_CLIP_DISTANCE = 2, + D3D_NAME_CULL_DISTANCE = 3, + D3D_NAME_RENDER_TARGET_ARRAY_INDEX = 4, + D3D_NAME_VIEWPORT_ARRAY_INDEX = 5, + D3D_NAME_VERTEX_ID = 6, + D3D_NAME_PRIMITIVE_ID = 7, + D3D_NAME_INSTANCE_ID = 8, + D3D_NAME_IS_FRONT_FACE = 9, + D3D_NAME_SAMPLE_INDEX = 10, + D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11, + D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12, + D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13, + D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14, + D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15, + D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16, + D3D_NAME_TARGET = 64, + D3D_NAME_DEPTH = 65, + D3D_NAME_COVERAGE = 66, + D3D_NAME_DEPTH_GREATER_EQUAL = 67, + D3D_NAME_DEPTH_LESS_EQUAL = 68, + D3D10_NAME_UNDEFINED = 0, + D3D10_NAME_POSITION = 1, + D3D10_NAME_CLIP_DISTANCE = 2, + D3D10_NAME_CULL_DISTANCE = 3, + D3D10_NAME_RENDER_TARGET_ARRAY_INDEX = 4, + D3D10_NAME_VIEWPORT_ARRAY_INDEX = 5, + D3D10_NAME_VERTEX_ID = 6, + D3D10_NAME_PRIMITIVE_ID = 7, + D3D10_NAME_INSTANCE_ID = 8, + D3D10_NAME_IS_FRONT_FACE = 9, + D3D10_NAME_SAMPLE_INDEX = 10, + D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11, + D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12, + D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13, + D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14, + D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15, + D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16, + D3D10_NAME_TARGET = 64, + D3D10_NAME_DEPTH = 65, + D3D10_NAME_COVERAGE = 66, + D3D11_NAME_DEPTH_GREATER_EQUAL = 67, + D3D11_NAME_DEPTH_LESS_EQUAL = 68 +} D3D_NAME; +typedef enum _D3D_SHADER_INPUT_TYPE { + D3D_SIT_CBUFFER = 0, + D3D_SIT_TBUFFER = 1, + D3D_SIT_TEXTURE = 2, + D3D_SIT_SAMPLER = 3, + D3D_SIT_UAV_RWTYPED = 4, + D3D_SIT_STRUCTURED = 5, + D3D_SIT_UAV_RWSTRUCTURED = 6, + D3D_SIT_BYTEADDRESS = 7, + D3D_SIT_UAV_RWBYTEADDRESS = 8, + D3D_SIT_UAV_APPEND_STRUCTURED = 9, + D3D_SIT_UAV_CONSUME_STRUCTURED = 10, + D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = 11, + D3D10_SIT_CBUFFER = 0, + D3D10_SIT_TBUFFER = 1, + D3D10_SIT_TEXTURE = 2, + D3D10_SIT_SAMPLER = 3, + D3D11_SIT_UAV_RWTYPED = 4, + D3D11_SIT_STRUCTURED = 5, + D3D11_SIT_UAV_RWSTRUCTURED = 6, + D3D11_SIT_BYTEADDRESS = 7, + D3D11_SIT_UAV_RWBYTEADDRESS = 8, + D3D11_SIT_UAV_APPEND_STRUCTURED = 9, + D3D11_SIT_UAV_CONSUME_STRUCTURED = 10, + D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = 11 +} D3D_SHADER_INPUT_TYPE; +typedef enum _D3D_SHADER_CBUFFER_FLAGS { + D3D_CBF_USERPACKED = 0x1, + D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED, + D3D_CBF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_CBUFFER_FLAGS; +DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3dcommon_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcommon.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcommon.idl new file mode 100644 index 0000000..c7e3b4d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcommon.idl @@ -0,0 +1,675 @@ +/* + * Copyright 2010 Matteo Bruni for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +typedef struct _D3D_SHADER_MACRO +{ + const char *Name; + const char *Definition; +} D3D_SHADER_MACRO; + +typedef struct _D3D_SHADER_MACRO* LPD3D_SHADER_MACRO; + +[ + object, + local, + uuid(8ba5fb08-5195-40e2-ac58-0d989c3a0102) +] +interface ID3D10Blob : IUnknown +{ + void *GetBufferPointer(); + SIZE_T GetBufferSize(); +} + +typedef ID3D10Blob* LPD3D10BLOB; +typedef ID3D10Blob ID3DBlob; +typedef ID3DBlob* LPD3DBLOB; +cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob") + +typedef enum _D3D_INCLUDE_TYPE +{ + D3D_INCLUDE_LOCAL = 0, + D3D_INCLUDE_SYSTEM, + D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL, + D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM, + D3D_INCLUDE_FORCE_DWORD = 0x7fffffff +} D3D_INCLUDE_TYPE; + +[ + object, + local, +] +interface ID3DInclude +{ + HRESULT Open(D3D_INCLUDE_TYPE include_type, + const char *filename, + const void *parent_data, + const void **data, + UINT *bytes); + HRESULT Close(const void *data); +} + +typedef ID3DInclude* LPD3DINCLUDE; + +typedef enum D3D_DRIVER_TYPE +{ + D3D_DRIVER_TYPE_UNKNOWN, + D3D_DRIVER_TYPE_HARDWARE, + D3D_DRIVER_TYPE_REFERENCE, + D3D_DRIVER_TYPE_NULL, + D3D_DRIVER_TYPE_SOFTWARE, + D3D_DRIVER_TYPE_WARP, +} D3D_DRIVER_TYPE; + +typedef enum D3D_FEATURE_LEVEL +{ + D3D_FEATURE_LEVEL_9_1 = 0x9100, + D3D_FEATURE_LEVEL_9_2 = 0x9200, + D3D_FEATURE_LEVEL_9_3 = 0x9300, + D3D_FEATURE_LEVEL_10_0 = 0xa000, + D3D_FEATURE_LEVEL_10_1 = 0xa100, + D3D_FEATURE_LEVEL_11_0 = 0xb000, + D3D_FEATURE_LEVEL_11_1 = 0xb100 +} D3D_FEATURE_LEVEL; + +cpp_quote("#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048") +cpp_quote("#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096") +cpp_quote("#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048") +cpp_quote("#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096") +cpp_quote("#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512") +cpp_quote("#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096") +cpp_quote("#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256") +cpp_quote("#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2") +cpp_quote("#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535") +cpp_quote("#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575") +cpp_quote("#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1") +cpp_quote("#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4") +cpp_quote("#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128") +cpp_quote("#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048") +cpp_quote("#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192") + +typedef enum _D3D_SHADER_VARIABLE_CLASS +{ + D3D_SVC_SCALAR, + D3D_SVC_VECTOR, + D3D_SVC_MATRIX_ROWS, + D3D_SVC_MATRIX_COLUMNS, + D3D_SVC_OBJECT, + D3D_SVC_STRUCT, + D3D_SVC_INTERFACE_CLASS, + D3D_SVC_INTERFACE_POINTER, + D3D10_SVC_SCALAR = 0, + D3D10_SVC_VECTOR, + D3D10_SVC_MATRIX_ROWS, + D3D10_SVC_MATRIX_COLUMNS, + D3D10_SVC_OBJECT, + D3D10_SVC_STRUCT, + D3D11_SVC_INTERFACE_CLASS, + D3D11_SVC_INTERFACE_POINTER, + D3D_SVC_FORCE_DWORD = 0x7fffffff, +} D3D_SHADER_VARIABLE_CLASS; + +typedef enum _D3D_SHADER_VARIABLE_FLAGS +{ + D3D_SVF_USERPACKED = 0x01, + D3D_SVF_USED = 0x02, + D3D_SVF_INTERFACE_POINTER = 0x04, + D3D_SVF_INTERFACE_PARAMETER = 0x08, + D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED, + D3D10_SVF_USED = D3D_SVF_USED, + D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER, + D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER, + D3D_SVF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_VARIABLE_FLAGS; + +typedef enum _D3D_SHADER_VARIABLE_TYPE +{ + D3D_SVT_VOID, + D3D_SVT_BOOL, + D3D_SVT_INT, + D3D_SVT_FLOAT, + D3D_SVT_STRING, + D3D_SVT_TEXTURE, + D3D_SVT_TEXTURE1D, + D3D_SVT_TEXTURE2D, + D3D_SVT_TEXTURE3D, + D3D_SVT_TEXTURECUBE, + D3D_SVT_SAMPLER, + D3D_SVT_SAMPLER1D, + D3D_SVT_SAMPLER2D, + D3D_SVT_SAMPLER3D, + D3D_SVT_SAMPLERCUBE, + D3D_SVT_PIXELSHADER, + D3D_SVT_VERTEXSHADER, + D3D_SVT_PIXELFRAGMENT, + D3D_SVT_VERTEXFRAGMENT, + D3D_SVT_UINT, + D3D_SVT_UINT8, + D3D_SVT_GEOMETRYSHADER, + D3D_SVT_RASTERIZER, + D3D_SVT_DEPTHSTENCIL, + D3D_SVT_BLEND, + D3D_SVT_BUFFER, + D3D_SVT_CBUFFER, + D3D_SVT_TBUFFER, + D3D_SVT_TEXTURE1DARRAY, + D3D_SVT_TEXTURE2DARRAY, + D3D_SVT_RENDERTARGETVIEW, + D3D_SVT_DEPTHSTENCILVIEW, + D3D_SVT_TEXTURE2DMS, + D3D_SVT_TEXTURE2DMSARRAY, + D3D_SVT_TEXTURECUBEARRAY, + D3D_SVT_HULLSHADER, + D3D_SVT_DOMAINSHADER, + D3D_SVT_INTERFACE_POINTER, + D3D_SVT_COMPUTESHADER, + D3D_SVT_DOUBLE, + D3D_SVT_RWTEXTURE1D, + D3D_SVT_RWTEXTURE1DARRAY, + D3D_SVT_RWTEXTURE2D, + D3D_SVT_RWTEXTURE2DARRAY, + D3D_SVT_RWTEXTURE3D, + D3D_SVT_RWBUFFER, + D3D_SVT_BYTEADDRESS_BUFFER, + D3D_SVT_RWBYTEADDRESS_BUFFER, + D3D_SVT_STRUCTURED_BUFFER, + D3D_SVT_RWSTRUCTURED_BUFFER, + D3D_SVT_APPEND_STRUCTURED_BUFFER, + D3D_SVT_CONSUME_STRUCTURED_BUFFER, + D3D10_SVT_VOID = 0, + D3D10_SVT_BOOL, + D3D10_SVT_INT, + D3D10_SVT_FLOAT, + D3D10_SVT_STRING, + D3D10_SVT_TEXTURE, + D3D10_SVT_TEXTURE1D, + D3D10_SVT_TEXTURE2D, + D3D10_SVT_TEXTURE3D, + D3D10_SVT_TEXTURECUBE, + D3D10_SVT_SAMPLER, + D3D10_SVT_SAMPLER1D, + D3D10_SVT_SAMPLER2D, + D3D10_SVT_SAMPLER3D, + D3D10_SVT_SAMPLERCUBE, + D3D10_SVT_PIXELSHADER, + D3D10_SVT_VERTEXSHADER, + D3D10_SVT_PIXELFRAGMENT, + D3D10_SVT_VERTEXFRAGMENT, + D3D10_SVT_UINT, + D3D10_SVT_UINT8, + D3D10_SVT_GEOMETRYSHADER, + D3D10_SVT_RASTERIZER, + D3D10_SVT_DEPTHSTENCIL, + D3D10_SVT_BLEND, + D3D10_SVT_BUFFER, + D3D10_SVT_CBUFFER, + D3D10_SVT_TBUFFER, + D3D10_SVT_TEXTURE1DARRAY, + D3D10_SVT_TEXTURE2DARRAY, + D3D10_SVT_RENDERTARGETVIEW, + D3D10_SVT_DEPTHSTENCILVIEW, + D3D10_SVT_TEXTURE2DMS, + D3D10_SVT_TEXTURE2DMSARRAY, + D3D10_SVT_TEXTURECUBEARRAY, + D3D11_SVT_HULLSHADER, + D3D11_SVT_DOMAINSHADER, + D3D11_SVT_INTERFACE_POINTER, + D3D11_SVT_COMPUTESHADER, + D3D11_SVT_DOUBLE, + D3D11_SVT_RWTEXTURE1D, + D3D11_SVT_RWTEXTURE1DARRAY, + D3D11_SVT_RWTEXTURE2D, + D3D11_SVT_RWTEXTURE2DARRAY, + D3D11_SVT_RWTEXTURE3D, + D3D11_SVT_RWBUFFER, + D3D11_SVT_BYTEADDRESS_BUFFER, + D3D11_SVT_RWBYTEADDRESS_BUFFER, + D3D11_SVT_STRUCTURED_BUFFER, + D3D11_SVT_RWSTRUCTURED_BUFFER, + D3D11_SVT_APPEND_STRUCTURED_BUFFER, + D3D11_SVT_CONSUME_STRUCTURED_BUFFER, + D3D_SVT_FORCE_DWORD = 0x7fffffff, +} D3D_SHADER_VARIABLE_TYPE; + +typedef enum _D3D_SHADER_INPUT_FLAGS +{ + D3D_SIF_USERPACKED = 0x01, + D3D_SIF_COMPARISON_SAMPLER = 0x02, + D3D_SIF_TEXTURE_COMPONENT_0 = 0x04, + D3D_SIF_TEXTURE_COMPONENT_1 = 0x08, + D3D_SIF_TEXTURE_COMPONENTS = 0x0C, + D3D_SIF_UNUSED = 0x10, + D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED, + D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER, + D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0, + D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1, + D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS, + D3D_SIF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_INPUT_FLAGS; + +typedef enum D3D_PRIMITIVE +{ + D3D_PRIMITIVE_UNDEFINED, + D3D_PRIMITIVE_POINT, + D3D_PRIMITIVE_LINE, + D3D_PRIMITIVE_TRIANGLE, + D3D_PRIMITIVE_LINE_ADJ = 6, + D3D_PRIMITIVE_TRIANGLE_ADJ, + D3D_PRIMITIVE_1_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_2_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_3_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_4_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_5_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_6_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_7_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_8_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_9_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_10_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_11_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_12_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_13_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_14_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_15_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_16_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_17_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_18_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_19_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28, + D3D_PRIMITIVE_21_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_22_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_23_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_24_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_25_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_26_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_27_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_28_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_29_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_30_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_31_CONTROL_POINT_PATCH, + D3D_PRIMITIVE_32_CONTROL_POINT_PATCH, + D3D10_PRIMITIVE_UNDEFINED = 0, + D3D10_PRIMITIVE_POINT, + D3D10_PRIMITIVE_LINE, + D3D10_PRIMITIVE_TRIANGLE, + D3D10_PRIMITIVE_LINE_ADJ = 6, + D3D10_PRIMITIVE_TRIANGLE_ADJ, + D3D11_PRIMITIVE_UNDEFINED = 0, + D3D11_PRIMITIVE_POINT, + D3D11_PRIMITIVE_LINE, + D3D11_PRIMITIVE_TRIANGLE, + D3D11_PRIMITIVE_LINE_ADJ = 6, + D3D11_PRIMITIVE_TRIANGLE_ADJ, + D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 28, + D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH, + D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH, +} D3D_PRIMITIVE; + +typedef enum D3D_PRIMITIVE_TOPOLOGY +{ + D3D_PRIMITIVE_TOPOLOGY_UNDEFINED, + D3D_PRIMITIVE_TOPOLOGY_POINTLIST, + D3D_PRIMITIVE_TOPOLOGY_LINELIST, + D3D_PRIMITIVE_TOPOLOGY_LINESTRIP, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, + D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, + D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ, + D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ, + D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33, + D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST, + D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST, + D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED = 0, + D3D10_PRIMITIVE_TOPOLOGY_POINTLIST, + D3D10_PRIMITIVE_TOPOLOGY_LINELIST, + D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, + D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, + D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ, + D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ, + D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = 0, + D3D11_PRIMITIVE_TOPOLOGY_POINTLIST, + D3D11_PRIMITIVE_TOPOLOGY_LINELIST, + D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, + D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, + D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ, + D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ, + D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33, + D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST, + D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST, +} D3D_PRIMITIVE_TOPOLOGY; + +typedef enum D3D_TESSELLATOR_DOMAIN +{ + D3D_TESSELLATOR_DOMAIN_UNDEFINED, + D3D_TESSELLATOR_DOMAIN_ISOLINE, + D3D_TESSELLATOR_DOMAIN_TRI, + D3D_TESSELLATOR_DOMAIN_QUAD, + D3D11_TESSELLATOR_DOMAIN_UNDEFINED = 0, + D3D11_TESSELLATOR_DOMAIN_ISOLINE, + D3D11_TESSELLATOR_DOMAIN_TRI, + D3D11_TESSELLATOR_DOMAIN_QUAD, +} D3D_TESSELLATOR_DOMAIN; + +typedef enum D3D_TESSELLATOR_PARTITIONING +{ + D3D_TESSELLATOR_PARTITIONING_UNDEFINED, + D3D_TESSELLATOR_PARTITIONING_INTEGER, + D3D_TESSELLATOR_PARTITIONING_POW2, + D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD, + D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN, + D3D11_TESSELLATOR_PARTITIONING_UNDEFINED = 0, + D3D11_TESSELLATOR_PARTITIONING_INTEGER, + D3D11_TESSELLATOR_PARTITIONING_POW2, + D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD, + D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN, +} D3D_TESSELLATOR_PARTITIONING; + +typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE +{ + D3D_TESSELLATOR_OUTPUT_UNDEFINED, + D3D_TESSELLATOR_OUTPUT_POINT, + D3D_TESSELLATOR_OUTPUT_LINE, + D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW, + D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW, + D3D11_TESSELLATOR_OUTPUT_UNDEFINED = 0, + D3D11_TESSELLATOR_OUTPUT_POINT, + D3D11_TESSELLATOR_OUTPUT_LINE, + D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW, + D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW, +} D3D_TESSELLATOR_OUTPUT_PRIMITIVE; + +typedef enum D3D_CBUFFER_TYPE +{ + D3D_CT_CBUFFER, + D3D_CT_TBUFFER, + D3D_CT_INTERFACE_POINTERS, + D3D_CT_RESOURCE_BIND_INFO, + D3D10_CT_CBUFFER = 0, + D3D10_CT_TBUFFER, + D3D11_CT_CBUFFER = 0, + D3D11_CT_TBUFFER, + D3D11_CT_INTERFACE_POINTERS, + D3D11_CT_RESOURCE_BIND_INFO, +} D3D_CBUFFER_TYPE; + +typedef enum D3D_SRV_DIMENSION +{ + D3D_SRV_DIMENSION_UNKNOWN, + D3D_SRV_DIMENSION_BUFFER, + D3D_SRV_DIMENSION_TEXTURE1D, + D3D_SRV_DIMENSION_TEXTURE1DARRAY, + D3D_SRV_DIMENSION_TEXTURE2D, + D3D_SRV_DIMENSION_TEXTURE2DARRAY, + D3D_SRV_DIMENSION_TEXTURE2DMS, + D3D_SRV_DIMENSION_TEXTURE2DMSARRAY, + D3D_SRV_DIMENSION_TEXTURE3D, + D3D_SRV_DIMENSION_TEXTURECUBE, + D3D_SRV_DIMENSION_TEXTURECUBEARRAY, + D3D_SRV_DIMENSION_BUFFEREX, + D3D10_SRV_DIMENSION_UNKNOWN = 0, + D3D10_SRV_DIMENSION_BUFFER, + D3D10_SRV_DIMENSION_TEXTURE1D, + D3D10_SRV_DIMENSION_TEXTURE1DARRAY, + D3D10_SRV_DIMENSION_TEXTURE2D, + D3D10_SRV_DIMENSION_TEXTURE2DARRAY, + D3D10_SRV_DIMENSION_TEXTURE2DMS, + D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY, + D3D10_SRV_DIMENSION_TEXTURE3D, + D3D10_SRV_DIMENSION_TEXTURECUBE, + D3D10_1_SRV_DIMENSION_UNKNOWN = 0, + D3D10_1_SRV_DIMENSION_BUFFER, + D3D10_1_SRV_DIMENSION_TEXTURE1D, + D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY, + D3D10_1_SRV_DIMENSION_TEXTURE2D, + D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY, + D3D10_1_SRV_DIMENSION_TEXTURE2DMS, + D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY, + D3D10_1_SRV_DIMENSION_TEXTURE3D, + D3D10_1_SRV_DIMENSION_TEXTURECUBE, + D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY, + D3D11_SRV_DIMENSION_UNKNOWN = 0, + D3D11_SRV_DIMENSION_BUFFER, + D3D11_SRV_DIMENSION_TEXTURE1D, + D3D11_SRV_DIMENSION_TEXTURE1DARRAY, + D3D11_SRV_DIMENSION_TEXTURE2D, + D3D11_SRV_DIMENSION_TEXTURE2DARRAY, + D3D11_SRV_DIMENSION_TEXTURE2DMS, + D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY, + D3D11_SRV_DIMENSION_TEXTURE3D, + D3D11_SRV_DIMENSION_TEXTURECUBE, + D3D11_SRV_DIMENSION_TEXTURECUBEARRAY, + D3D11_SRV_DIMENSION_BUFFEREX, +} D3D_SRV_DIMENSION; + +typedef enum D3D_REGISTER_COMPONENT_TYPE +{ + D3D_REGISTER_COMPONENT_UNKNOWN, + D3D_REGISTER_COMPONENT_UINT32, + D3D_REGISTER_COMPONENT_SINT32, + D3D_REGISTER_COMPONENT_FLOAT32, + D3D10_REGISTER_COMPONENT_UNKNOWN = 0, + D3D10_REGISTER_COMPONENT_UINT32, + D3D10_REGISTER_COMPONENT_SINT32, + D3D10_REGISTER_COMPONENT_FLOAT32, +} D3D_REGISTER_COMPONENT_TYPE; + +typedef enum D3D_RESOURCE_RETURN_TYPE +{ + D3D_RETURN_TYPE_UNORM = 1, + D3D_RETURN_TYPE_SNORM, + D3D_RETURN_TYPE_SINT, + D3D_RETURN_TYPE_UINT, + D3D_RETURN_TYPE_FLOAT, + D3D_RETURN_TYPE_MIXED, + D3D_RETURN_TYPE_DOUBLE, + D3D_RETURN_TYPE_CONTINUED, + D3D10_RETURN_TYPE_UNORM = 1, + D3D10_RETURN_TYPE_SNORM, + D3D10_RETURN_TYPE_SINT, + D3D10_RETURN_TYPE_UINT, + D3D10_RETURN_TYPE_FLOAT, + D3D10_RETURN_TYPE_MIXED, + D3D11_RETURN_TYPE_UNORM = 1, + D3D11_RETURN_TYPE_SNORM, + D3D11_RETURN_TYPE_SINT, + D3D11_RETURN_TYPE_UINT, + D3D11_RETURN_TYPE_FLOAT, + D3D11_RETURN_TYPE_MIXED, + D3D11_RETURN_TYPE_DOUBLE, + D3D11_RETURN_TYPE_CONTINUED, +} D3D_RESOURCE_RETURN_TYPE; + +typedef enum D3D_NAME +{ + D3D_NAME_UNDEFINED, + D3D_NAME_POSITION, + D3D_NAME_CLIP_DISTANCE, + D3D_NAME_CULL_DISTANCE, + D3D_NAME_RENDER_TARGET_ARRAY_INDEX, + D3D_NAME_VIEWPORT_ARRAY_INDEX, + D3D_NAME_VERTEX_ID, + D3D_NAME_PRIMITIVE_ID, + D3D_NAME_INSTANCE_ID, + D3D_NAME_IS_FRONT_FACE, + D3D_NAME_SAMPLE_INDEX, + D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR, + D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR, + D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR, + D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR, + D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR, + D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR, + D3D_NAME_TARGET = 64, + D3D_NAME_DEPTH, + D3D_NAME_COVERAGE, + D3D_NAME_DEPTH_GREATER_EQUAL, + D3D_NAME_DEPTH_LESS_EQUAL, + D3D10_NAME_UNDEFINED = 0, + D3D10_NAME_POSITION, + D3D10_NAME_CLIP_DISTANCE, + D3D10_NAME_CULL_DISTANCE, + D3D10_NAME_RENDER_TARGET_ARRAY_INDEX, + D3D10_NAME_VIEWPORT_ARRAY_INDEX, + D3D10_NAME_VERTEX_ID, + D3D10_NAME_PRIMITIVE_ID, + D3D10_NAME_INSTANCE_ID, + D3D10_NAME_IS_FRONT_FACE, + D3D10_NAME_SAMPLE_INDEX, + D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR, + D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR, + D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR, + D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR, + D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR, + D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR, + D3D10_NAME_TARGET = 64, + D3D10_NAME_DEPTH, + D3D10_NAME_COVERAGE, + D3D11_NAME_DEPTH_GREATER_EQUAL, + D3D11_NAME_DEPTH_LESS_EQUAL, +} D3D_NAME; + +typedef enum _D3D_SHADER_INPUT_TYPE +{ + D3D_SIT_CBUFFER, + D3D_SIT_TBUFFER, + D3D_SIT_TEXTURE, + D3D_SIT_SAMPLER, + D3D_SIT_UAV_RWTYPED, + D3D_SIT_STRUCTURED, + D3D_SIT_UAV_RWSTRUCTURED, + D3D_SIT_BYTEADDRESS, + D3D_SIT_UAV_RWBYTEADDRESS, + D3D_SIT_UAV_APPEND_STRUCTURED, + D3D_SIT_UAV_CONSUME_STRUCTURED, + D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER, + D3D10_SIT_CBUFFER = 0, + D3D10_SIT_TBUFFER, + D3D10_SIT_TEXTURE, + D3D10_SIT_SAMPLER, + D3D11_SIT_UAV_RWTYPED, + D3D11_SIT_STRUCTURED, + D3D11_SIT_UAV_RWSTRUCTURED, + D3D11_SIT_BYTEADDRESS, + D3D11_SIT_UAV_RWBYTEADDRESS, + D3D11_SIT_UAV_APPEND_STRUCTURED, + D3D11_SIT_UAV_CONSUME_STRUCTURED, + D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER, +} D3D_SHADER_INPUT_TYPE; + +typedef enum _D3D_SHADER_CBUFFER_FLAGS +{ + D3D_CBF_USERPACKED = 0x01, + D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED, + D3D_CBF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_CBUFFER_FLAGS; + +cpp_quote("DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcompiler.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcompiler.h new file mode 100644 index 0000000..5d60792 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dcompiler.h @@ -0,0 +1,129 @@ +/* + * Copyright 2010 Matteo Bruni for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DCOMPILER_H__ +#define __D3DCOMPILER_H__ + +#include "d3d11shader.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(__GNUC__) +#define D3DCOMPILER_DLL_W (const WCHAR[]){'d','3','d','c','o','m','p','i','l','e','r','_','4','3','.','d','l','l',0} +#elif defined(_MSC_VER) +#define D3DCOMPILER_DLL_W L"d3dcompiler_43.dll" +#else +static const WCHAR D3DCOMPILER_DLL_W[] = {'d','3','d','c','o','m','p','i','l','e','r','_','4','3','.','d','l','l',0}; +#endif + +#define D3DCOMPILER_DLL_A "d3dcompiler_43.dll" +#define D3DCOMPILER_DLL WINELIB_NAME_AW(D3DCOMPILER_DLL_) + +#define D3DCOMPILE_DEBUG 0x00000001 +#define D3DCOMPILE_SKIP_VALIDATION 0x00000002 +#define D3DCOMPILE_SKIP_OPTIMIZATION 0x00000004 +#define D3DCOMPILE_PACK_MATRIX_ROW_MAJOR 0x00000008 +#define D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR 0x00000010 +#define D3DCOMPILE_PARTIAL_PRECISION 0x00000020 +#define D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT 0x00000040 +#define D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT 0x00000080 +#define D3DCOMPILE_NO_PRESHADER 0x00000100 +#define D3DCOMPILE_AVOID_FLOW_CONTROL 0x00000200 +#define D3DCOMPILE_PREFER_FLOW_CONTROL 0x00000400 +#define D3DCOMPILE_ENABLE_STRICTNESS 0x00000800 +#define D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY 0x00001000 +#define D3DCOMPILE_IEEE_STRICTNESS 0x00002000 +#define D3DCOMPILE_OPTIMIZATION_LEVEL0 0x00004000 +#define D3DCOMPILE_OPTIMIZATION_LEVEL1 0x00000000 +#define D3DCOMPILE_OPTIMIZATION_LEVEL2 0x0000c000 +#define D3DCOMPILE_OPTIMIZATION_LEVEL3 0x00008000 +#define D3DCOMPILE_RESERVED16 0x00010000 +#define D3DCOMPILE_RESERVED17 0x00020000 +#define D3DCOMPILE_WARNINGS_ARE_ERRORS 0x00040000 +#define D3DCOMPILE_RESOURCES_MAY_ALIAS 0x00080000 + +#define D3D_DISASM_ENABLE_COLOR_CODE 0x00000001 +#define D3D_DISASM_ENABLE_DEFAULT_VALUE_PRINTS 0x00000002 +#define D3D_DISASM_ENABLE_INSTRUCTION_NUMBERING 0x00000004 +#define D3D_DISASM_ENABLE_INSTRUCTION_CYCLE 0x00000008 +#define D3D_DISASM_DISABLE_DEBUG_INFO 0x00000010 + +HRESULT WINAPI D3DCompile(const void *data, SIZE_T data_size, const char *filename, + const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint, + const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages); +typedef HRESULT (WINAPI *pD3DCompile)(const void *data, SIZE_T data_size, const char *filename, + const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint, + const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages); + +typedef enum D3DCOMPILER_STRIP_FLAGS +{ + D3DCOMPILER_STRIP_REFLECTION_DATA = 1, + D3DCOMPILER_STRIP_DEBUG_INFO = 2, + D3DCOMPILER_STRIP_TEST_BLOBS = 4, + D3DCOMPILER_STRIP_FORCE_DWORD = 0x7fffffff +} D3DCOMPILER_STRIP_FLAGS; + +HRESULT WINAPI D3DStripShader(const void *data, SIZE_T data_size, UINT flags, ID3DBlob **blob); + +typedef enum D3D_BLOB_PART +{ + D3D_BLOB_INPUT_SIGNATURE_BLOB, + D3D_BLOB_OUTPUT_SIGNATURE_BLOB, + D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB, + D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB, + D3D_BLOB_ALL_SIGNATURE_BLOB, + D3D_BLOB_DEBUG_INFO, + D3D_BLOB_LEGACY_SHADER, + D3D_BLOB_XNA_PREPASS_SHADER, + D3D_BLOB_XNA_SHADER, + D3D_BLOB_TEST_ALTERNATE_SHADER = 0x8000, + D3D_BLOB_TEST_COMPILE_DETAILS, + D3D_BLOB_TEST_COMPILE_PERF +} D3D_BLOB_PART; + +HRESULT WINAPI D3DDisassemble(const void *data, SIZE_T data_size, + UINT flags, const char *comments, ID3DBlob **disassembly); +typedef HRESULT (WINAPI *pD3DDisassemble)(const void *data, SIZE_T data_size, + UINT flags, const char *comments, ID3DBlob **disassembly); +HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART part, UINT flags, ID3DBlob **blob); +HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob); +HRESULT WINAPI D3DGetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob); +HRESULT WINAPI D3DGetInputAndOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob); +HRESULT WINAPI D3DGetDebugInfo(const void *data, SIZE_T data_size, ID3DBlob **blob); +HRESULT WINAPI D3DReadFileToBlob(const WCHAR *filename, ID3DBlob **contents); +HRESULT WINAPI D3DWriteBlobToFile(ID3DBlob *blob, const WCHAR *filename, BOOL overwrite); +HRESULT WINAPI D3DReflect(const void *data, SIZE_T data_size, REFIID riid, void **reflector); + +HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob); + +HRESULT WINAPI D3DPreprocess(const void *data, SIZE_T size, const char *filename, + const D3D_SHADER_MACRO *defines, ID3DInclude *include, + ID3DBlob **shader, ID3DBlob **error_messages); +typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const char *filename, + const D3D_SHADER_MACRO *defines, ID3DInclude *include, + ID3DBlob **shader, ID3DBlob **error_messages); + +HRESULT WINAPI D3DLoadModule(const void *data, SIZE_T size, ID3D11Module **module); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dhal.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dhal.h new file mode 100644 index 0000000..9d43313 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dhal.h @@ -0,0 +1,520 @@ +/* + * Direct3D driver interface + * (DirectX 7 version) + * + * Copyright (C) 2001 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DHAL_H +#define __WINE_D3DHAL_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/***************************************************************************** + * device info structures + */ +typedef struct _D3DDeviceDesc_V1 { + DWORD dwSize; + DWORD dwFlags; + D3DCOLORMODEL dcmColorModel; + DWORD dwDevCaps; + D3DTRANSFORMCAPS dtcTransformCaps; + BOOL bClipping; + D3DLIGHTINGCAPS dlcLightingCaps; + D3DPRIMCAPS dpcLineCaps; + D3DPRIMCAPS dpcTriCaps; + DWORD dwDeviceRenderBitDepth; + DWORD dwDeviceZBufferBitDepth; + DWORD dwMaxBufferSize; + DWORD dwMaxVertexCount; +} D3DDEVICEDESC_V1,*LPD3DDEVICEDESC_V1; + +typedef struct _D3DHAL_GLOBALDRIVERDATA { + DWORD dwSize; + D3DDEVICEDESC_V1 hwCaps; + DWORD dwNumVertices; + DWORD dwNumClipVertices; + DWORD dwNumTextureFormats; + LPDDSURFACEDESC lpTextureFormats; +} D3DHAL_GLOBALDRIVERDATA,*LPD3DHAL_GLOBALDRIVERDATA; + +typedef struct _D3DHAL_D3DEXTENDEDCAPS { + DWORD dwSize; + /* DirectX 5 */ + DWORD dwMinTextureWidth, dwMaxTextureWidth; + DWORD dwMinTextureHeight, dwMaxTextureHeight; + DWORD dwMinStippleWidth, dwMaxStippleWidth; + DWORD dwMinStippleHeight, dwMaxStippleHeight; + /* DirectX 6 */ + DWORD dwMaxTextureRepeat; + DWORD dwMaxTextureAspectRatio; + DWORD dwMaxAnisotropy; + D3DVALUE dvGuardBandLeft; + D3DVALUE dvGuardBandTop; + D3DVALUE dvGuardBandRight; + D3DVALUE dvGuardBandBottom; + D3DVALUE dvExtentsAdjust; + DWORD dwStencilCaps; + DWORD dwFVFCaps; + DWORD dwTextureOpCaps; + WORD wMaxTextureBlendStages; + WORD wMaxSimultaneousTextures; + /* DirectX 7 */ + DWORD dwMaxActiveLights; + D3DVALUE dvMaxVertexW; + WORD wMaxUserClipPlanes; + WORD wMaxVertexBlendMatrices; + DWORD dwVertexProcessingCaps; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwReserved4; +} D3DHAL_D3DEXTENDEDCAPS,*LPD3DHAL_D3DEXTENDEDCAPS; + +/***************************************************************************** + * d3d->driver callbacks + */ +typedef struct _D3DHAL_CONTEXTCREATEDATA *LPD3DHAL_CONTEXTCREATEDATA; +typedef struct _D3DHAL_CONTEXTDESTROYDATA *LPD3DHAL_CONTEXTDESTROYDATA; +typedef struct _D3DHAL_CONTEXTDESTROYALLDATA *LPD3DHAL_CONTEXTDESTROYALLDATA; +typedef struct _D3DHAL_SCENECAPTUREDATA *LPD3DHAL_SCENECAPTUREDATA; +typedef struct _D3DHAL_RENDERSTATEDATA *LPD3DHAL_RENDERSTATEDATA; +typedef struct _D3DHAL_RENDERPRIMITIVEDATA *LPD3DHAL_RENDERPRIMITIVEDATA; +typedef struct _D3DHAL_TEXTURECREATEDATA *LPD3DHAL_TEXTURECREATEDATA; +typedef struct _D3DHAL_TEXTUREDESTROYDATA *LPD3DHAL_TEXTUREDESTROYDATA; +typedef struct _D3DHAL_TEXTURESWAPDATA *LPD3DHAL_TEXTURESWAPDATA; +typedef struct _D3DHAL_TEXTUREGETSURFDATA *LPD3DHAL_TEXTUREGETSURFDATA; +typedef struct _D3DHAL_GETSTATEDATA *LPD3DHAL_GETSTATEDATA; + +typedef DWORD (PASCAL *LPD3DHAL_CONTEXTCREATECB) (LPD3DHAL_CONTEXTCREATEDATA); +typedef DWORD (PASCAL *LPD3DHAL_CONTEXTDESTROYCB) (LPD3DHAL_CONTEXTDESTROYDATA); +typedef DWORD (PASCAL *LPD3DHAL_CONTEXTDESTROYALLCB)(LPD3DHAL_CONTEXTDESTROYALLDATA); +typedef DWORD (PASCAL *LPD3DHAL_SCENECAPTURECB) (LPD3DHAL_SCENECAPTUREDATA); +typedef DWORD (PASCAL *LPD3DHAL_RENDERSTATECB) (LPD3DHAL_RENDERSTATEDATA); +typedef DWORD (PASCAL *LPD3DHAL_RENDERPRIMITIVECB) (LPD3DHAL_RENDERPRIMITIVEDATA); +typedef DWORD (PASCAL *LPD3DHAL_TEXTURECREATECB) (LPD3DHAL_TEXTURECREATEDATA); +typedef DWORD (PASCAL *LPD3DHAL_TEXTUREDESTROYCB) (LPD3DHAL_TEXTUREDESTROYDATA); +typedef DWORD (PASCAL *LPD3DHAL_TEXTURESWAPCB) (LPD3DHAL_TEXTURESWAPDATA); +typedef DWORD (PASCAL *LPD3DHAL_TEXTUREGETSURFCB) (LPD3DHAL_TEXTUREGETSURFDATA); +typedef DWORD (PASCAL *LPD3DHAL_GETSTATECB) (LPD3DHAL_GETSTATEDATA); + +typedef struct _D3DHAL_CALLBACKS { + DWORD dwSize; + LPD3DHAL_CONTEXTCREATECB ContextCreate; + LPD3DHAL_CONTEXTDESTROYCB ContextDestroy; + LPD3DHAL_CONTEXTDESTROYALLCB ContextDestroyAll; + LPD3DHAL_SCENECAPTURECB SceneCapture; + LPVOID lpReserved10; + LPVOID lpReserved11; + LPD3DHAL_RENDERSTATECB RenderState; + LPD3DHAL_RENDERPRIMITIVECB RenderPrimitive; + DWORD dwReserved; + LPD3DHAL_TEXTURECREATECB TextureCreate; + LPD3DHAL_TEXTUREDESTROYCB TextureDestroy; + LPD3DHAL_TEXTURESWAPCB TextureSwap; + LPD3DHAL_TEXTUREGETSURFCB TextureGetSurf; + /* now why did MS create CALLBACKS2 and CALLBACKS3 structures if + * all these reserved fields were available? we may never know */ + LPVOID lpReserved12; + LPVOID lpReserved13; + LPVOID lpReserved14; + LPVOID lpReserved15; + LPVOID lpReserved16; + LPVOID lpReserved17; + LPVOID lpReserved18; + LPVOID lpReserved19; + LPVOID lpReserved20; + LPVOID lpReserved21; + LPD3DHAL_GETSTATECB GetState; + DWORD dwReserved0; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwReserved4; + DWORD dwReserved5; + DWORD dwReserved6; + DWORD dwReserved7; + DWORD dwReserved8; + DWORD dwReserved9; +} D3DHAL_CALLBACKS,*LPD3DHAL_CALLBACKS; + +typedef struct _D3DHAL_SETRENDERTARGETDATA *LPD3DHAL_SETRENDERTARGETDATA; +typedef struct _D3DHAL_CLEARDATA *LPD3DHAL_CLEARDATA; +typedef struct _D3DHAL_DRAWONEPRIMITIVEDATA *LPD3DHAL_DRAWONEPRIMITIVEDATA; +typedef struct _D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA *LPD3DHAL_DRAWONEINDEXEDPRIMITIVEDATA; +typedef struct _D3DHAL_DRAWPRIMITIVESDATA *LPD3DHAL_DRAWPRIMITIVESDATA; + +typedef DWORD (PASCAL *LPD3DHAL_SETRENDERTARGETCB) (LPD3DHAL_SETRENDERTARGETDATA); +typedef DWORD (PASCAL *LPD3DHAL_CLEARCB) (LPD3DHAL_CLEARDATA); +typedef DWORD (PASCAL *LPD3DHAL_DRAWONEPRIMITIVECB) (LPD3DHAL_DRAWONEPRIMITIVEDATA); +typedef DWORD (PASCAL *LPD3DHAL_DRAWONEINDEXEDPRIMITIVECB)(LPD3DHAL_DRAWONEINDEXEDPRIMITIVEDATA); +typedef DWORD (PASCAL *LPD3DHAL_DRAWPRIMITIVESCB) (LPD3DHAL_DRAWPRIMITIVESDATA); + +typedef struct _D3DHAL_CALLBACKS2 { + DWORD dwSize; + DWORD dwFlags; + LPD3DHAL_SETRENDERTARGETCB SetRenderTarget; + LPD3DHAL_CLEARCB Clear; + LPD3DHAL_DRAWONEPRIMITIVECB DrawOnePrimitive; + LPD3DHAL_DRAWONEINDEXEDPRIMITIVECB DrawOneIndexedPrimitive; + LPD3DHAL_DRAWPRIMITIVESCB DrawPrimitives; +} D3DHAL_CALLBACKS2,*LPD3DHAL_CALLBACKS2; + +typedef struct _D3DHAL_CLEAR2DATA *LPD3DHAL_CLEAR2DATA; +typedef struct _D3DHAL_VALIDATETEXTURESTAGESTATEDATA *LPD3DHAL_VALIDATETEXTURESTAGESTATEDATA; +typedef struct _D3DHAL_DRAWPRIMITIVES2DATA *LPD3DHAL_DRAWPRIMITIVES2DATA; + +typedef DWORD (PASCAL *LPD3DHAL_CLEAR2CB) (LPD3DHAL_CLEAR2DATA); +typedef DWORD (PASCAL *LPD3DHAL_VALIDATETEXTURESTAGESTATECB)(LPD3DHAL_VALIDATETEXTURESTAGESTATEDATA); +typedef DWORD (PASCAL *LPD3DHAL_DRAWPRIMITIVES2CB) (LPD3DHAL_DRAWPRIMITIVES2DATA); + +typedef struct _D3DHAL_CALLBACKS3 { + DWORD dwSize; + DWORD dwFlags; + LPD3DHAL_CLEAR2CB Clear2; + LPVOID lpvReserved; + LPD3DHAL_VALIDATETEXTURESTAGESTATECB ValidateTextureStageState; + LPD3DHAL_DRAWPRIMITIVES2CB DrawPrimitives2; +} D3DHAL_CALLBACKS3,*LPD3DHAL_CALLBACKS3; + +/***************************************************************************** + * parameter structures + */ +typedef struct _D3DHAL_CONTEXTCREATEDATA { + union { + LPDDRAWI_DIRECTDRAW_GBL lpDDGbl; /* pre-DirectX 7 */ + LPDDRAWI_DIRECTDRAW_LCL lpDDLcl; /* DirectX 7 */ + } DUMMYUNIONNAME1; + union { + LPDIRECTDRAWSURFACE lpDDS; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSLcl; /* DirectX 7 */ + } DUMMYUNIONNAME2; + union { + LPDIRECTDRAWSURFACE lpDDSZ; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSZLcl; /* DirectX 7 */ + } DUMMYUNIONNAME3; + union { + DWORD dwPID; + ULONG_PTR dwrstates; + } DUMMYUNIONNAME4; + ULONG_PTR dwhContext; + HRESULT ddrval; +} D3DHAL_CONTEXTCREATEDATA; + +typedef struct _D3DHAL_CONTEXTDESTROYDATA { + ULONG_PTR dwhContext; + HRESULT ddrval; +} D3DHAL_CONTEXTDESTROYDATA; + +typedef struct _D3DHAL_CONTEXTDESTROYALLDATA { + DWORD dwPID; + HRESULT ddrval; +} D3DHAL_CONTEXTDESTROYALLDATA; + +typedef struct _D3DHAL_SCENECAPTUREDATA { + ULONG_PTR dwhContext; + DWORD dwFlag; + HRESULT ddrval; +} D3DHAL_SCENECAPTUREDATA; + +#define D3DHAL_SCENE_CAPTURE_START 0x00000000 +#define D3DHAL_SCENE_CAPTURE_END 0x00000001 + +typedef struct _D3DHAL_SETRENDERTARGETDATA { + ULONG_PTR dwhContext; + union { + LPDIRECTDRAWSURFACE lpDDS; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSLcl; + } DUMMYUNIONNAME1; + union { + LPDIRECTDRAWSURFACE lpDDSZ; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSZLcl; + } DUMMYUNIONNAME2; + HRESULT ddrval; +} D3DHAL_SETRENDERTARGETDATA; + +typedef struct _D3DHAL_DRAWPRIMITIVES2DATA { + ULONG_PTR dwhContext; + DWORD dwFlags; + DWORD dwVertexType; + LPDDRAWI_DDRAWSURFACE_LCL lpDDCommands; + DWORD dwCommandOffset; + DWORD dwCommandLength; + union { + LPDDRAWI_DDRAWSURFACE_LCL lpDDVertex; + LPVOID lpVertices; + } DUMMYUNIONNAME1; + DWORD dwVertexOffset; + DWORD dwVertexLength; + DWORD dwReqVertexBufSize; + DWORD dwReqCommandBufSize; + LPDWORD lpdwRStates; + union { + DWORD dwVertexSize; + HRESULT ddrval; + } DUMMYUNIONNAME2; + DWORD dwErrorOffset; +} D3DHAL_DRAWPRIMITIVES2DATA; + +#define D3DHALDP2_USERMEMVERTICES 0x00000001 +#define D3DHALDP2_EXECUTEBUFFER 0x00000002 +#define D3DHALDP2_SWAPVERTEXBUFFER 0x00000004 +#define D3DHALDP2_SWAPCOMMANDBUFFER 0x00000008 +#define D3DHALDP2_REQVERTEXBUFSIZE 0x00000010 +#define D3DHALDP2_REQCOMMANDBUFSIZE 0x00000020 +#define D3DHALDP2_VIDMEMVERTEXBUF 0x00000040 +#define D3DHALDP2_VIDMEMCOMMANDBUF 0x00000080 + +/***************************************************************************** + * DrawPrimitives2 command structures + */ +typedef struct _D3DHAL_DP2COMMAND { + BYTE bCommand; + BYTE bReserved; + union { + WORD wPrimitiveCount; + WORD wStateCount; + } DUMMYUNIONNAME; +} D3DHAL_DP2COMMAND,*LPD3DHAL_DP2COMMAND; + +typedef enum _D3DHAL_DP2OPERATION { + D3DDP2OP_POINTS = 1, + D3DDP2OP_INDEXEDLINELIST = 2, + D3DDP2OP_INDEXEDTRIANGLELIST = 3, + D3DDP2OP_RENDERSTATE = 8, + D3DDP2OP_LINELIST = 15, + D3DDP2OP_LINESTRIP = 16, + D3DDP2OP_INDEXEDLINESTRIP = 17, + D3DDP2OP_TRIANGLELIST = 18, + D3DDP2OP_TRIANGLESTRIP = 19, + D3DDP2OP_INDEXEDTRIANGLESTRIP = 20, + D3DDP2OP_TRIANGLEFAN = 21, + D3DDP2OP_INDEXEDTRIANGLEFAN = 22, + D3DDP2OP_TRIANGLEFAN_IMM = 23, + D3DDP2OP_LINELIST_IMM = 24, + D3DDP2OP_TEXTURESTAGESTATE = 25, + D3DDP2OP_INDEXEDTRIANGLELIST2 = 26, + D3DDP2OP_INDEXEDLINELIST2 = 27, + D3DDP2OP_VIEWPORTINFO = 28, + D3DDP2OP_WINFO = 29, + /* pre-DirectX 7 interfaces */ + D3DDP2OP_SETPALETTE = 30, + D3DDP2OP_UPDATEPALETTE = 31, + /* DirectX 7 interfaces */ + D3DDP2OP_ZRANGE = 32, + D3DDP2OP_SETMATERIAL = 33, + D3DDP2OP_SETLIGHT = 34, + D3DDP2OP_CREATELIGHT = 35, + D3DDP2OP_SETTRANSFORM = 36, + D3DDP2OP_TEXBLT = 38, + D3DDP2OP_STATESET = 39, + D3DDP2OP_SETPRIORITY = 40, + /* all interfaces */ + D3DDP2OP_SETRENDERTARGET = 41, + D3DDP2OP_CLEAR = 42, + /* DirectX 7 interfaces */ + D3DDP2OP_SETTEXLOD = 43, + D3DPP2OP_SETCLIPPLANE = 44 +} D3DHAL_DP2OPERATION; + +/* point primitives */ + +typedef struct _D3DHAL_POINTS { + WORD wCount; + WORD wVStart; +} D3DHAL_DP2POINTS,*LPD3DHAL_DP2POINTS; + +/* line primitives */ + +typedef struct _D3DHAL_DP2STARTVERTEX { + WORD wVStart; +} D3DHAL_DP2STARTVERTEX,*LPD3DHAL_DP2STARTVERTEX; + +typedef struct _D3DHAL_DP2LINELIST { + WORD wVStart; +} D3DHAL_DP2LINELIST,*LPD3DHAL_DP2LINELIST; + +typedef struct _D3DHAL_DP2INDEXEDLINELIST { + WORD wV1; + WORD wV2; +} D3DHAL_DP2INDEXEDLINELIST,*LPD3DHAL_DP2INDEXEDLINELIST; + +typedef struct _D3DHAL_DP2LINESTRIP { + WORD wVStart; +} D3DHAL_DP2LINESTRIP,*LPD3DHAL_DP2LINESTRIP; + +typedef struct _D3DHAL_DP2INDEXEDLINESTRIP { + WORD wV[2]; +} D3DHAL_DP2INDEXEDLINESTRIP,*LPD3DHAL_DP2INDEXEDLINESTRIP; + +/* triangle primitives */ + +typedef struct _D3DHAL_DP2TRIANGLELIST { + WORD wVStart; +} D3DHAL_DP2TRIANGLELIST,*LPD3DHAL_DP2TRIANGLELIST; + +typedef struct _D3DHAL_DP2INDEXEDTRIANGLELIST { + WORD wV1; + WORD wV2; + WORD wV3; + WORD wFlags; +} D3DHAL_DP2INDEXEDTRIANGLELIST,*LPD3DHAL_DP2INDEXEDTRIANGLELIST; + +typedef struct _D3DHAL_DP2INDEXEDTRIANGLELIST2 { + WORD wV1; + WORD wV2; + WORD wV3; +} D3DHAL_DP2INDEXEDTRIANGLELIST2,*LPD3DHAL_DP2INDEXEDTRIANGLELIST2; + +typedef struct _D3DHAL_DP2TRIANGLESTRIP { + WORD wVStart; +} D3DHAL_DP2TRIANGLESTRIP,*LPD3DHAL_DP2TRIANGLESTRIP; + +typedef struct _D3DHAL_DP2INDEXEDTRIANGLESTRIP { + WORD wV[3]; +} D3DHAL_DP2INDEXEDTRIANGLESTRIP,*LPD3DHAL_DP2INDEXEDTRIANGLESTRIP; + +typedef struct _D3DHAL_DP2TRIANGLEFAN { + WORD wVStart; +} D3DHAL_DP2TRIANGLEFAN,*LPD3DHAL_DP2TRIANGLEFAN; + +typedef struct _D3DHAL_DP2INDEXEDTRIANGLEFAN { + WORD wV[3]; +} D3DHAL_DP2INDEXEDTRIANGLEFAN,*LPD3DHAL_DP2INDEXEDTRIANGLEFAN; + +typedef struct _D3DHAL_DP2TRIANGLEFAN_IMM { + DWORD dwEdgeFlags; +} D3DHAL_DP2TRIANGLEFAN_IMM,*LPD3DHAL_DP2TRIANGLEFAN_IMM; + +/* render states */ +typedef struct _D3DHAL_DP2RENDERSTATE { + D3DRENDERSTATETYPE RenderState; + union { + D3DVALUE dvState; + DWORD dwState; + } DUMMYUNIONNAME; +} D3DHAL_DP2RENDERSTATE,*LPD3DHAL_DP2RENDERSTATE; + +typedef struct _D3DHAL_DP2TEXTURESTAGESTATE { + WORD wStage; + WORD TSState; + DWORD dwValue; +} D3DHAL_DP2TEXTURESTAGESTATE,*LPD3DHAL_DP2TEXTURESTAGESTATE; + +#define D3DTSS_TEXTUREMAP 0 + +typedef struct _D3DHAL_DP2VIEWPORTINFO { + DWORD dwX; + DWORD dwY; + DWORD dwWidth; + DWORD dwHeight; +} D3DHAL_DP2VIEWPORTINFO,*LPD3DHAL_DP2VIEWPORTINFO; + +typedef struct _D3DHAL_DP2WINFO { + D3DVALUE dwWNear; + D3DVALUE dwWFar; +} D3DHAL_DP2WINFO,*LPD3DHAL_DP2WINFO; + +typedef struct _D3DHAL_DP2SETPALETTE { + DWORD dwPaletteHandle; + DWORD dwPaletteFlags; + DWORD dwSurfaceHandle; +} D3DHAL_DP2SETPALETTE,*LPD3DHAL_DP2SETPALETTE; + +typedef struct _D3DHAL_DP2UPDATEPALETTE { + DWORD dwPaletteHandle; + WORD wStartIndex; + WORD wNumEntries; +} D3DHAL_DP2UPDATEPALETTE,*LPD3DHAL_DP2UPDATEPALETTE; + +typedef struct _D3DHAL_DP2ZRANGE { + D3DVALUE dvMinZ; + D3DVALUE dvMaxZ; +} D3DHAL_DP2ZRANGE,*LPD3DHAL_DP2ZRANGE; + +typedef D3DMATERIAL7 D3DHAL_DP2SETMATERIAL,*LPD3DHAL_DP2SETMATERIAL; + +typedef struct _D3DHAL_DP2SETLIGHT { + DWORD dwIndex; + DWORD dwDataType; +} D3DHAL_DP2SETLIGHT,*LPD3DHAL_DP2SETLIGHT; + +#define D3DHAL_SETLIGHT_ENABLE 0 +#define D3DHAL_SETLIGHT_DISABLE 1 +#define D3DHAL_SETLIGHT_DATA 2 + +typedef struct _D3DHAL_DP2CREATELIGHT { + DWORD dwIndex; +} D3DHAL_DP2CREATELIGHT,*LPD3DHAL_DP2CREATELIGHT; + +typedef struct _D3DHAL_DP2SETTRANSFORM { + D3DTRANSFORMSTATETYPE xfrmType; + D3DMATRIX matrix; +} D3DHAL_DP2SETTRANSFORM,*LPD3DHAL_DP2SETTRANSFORM; + +typedef struct _D3DHAL_DP2TEXBLT { + DWORD dwDDDestSurface; + DWORD dwDDSrcSurface; + POINT pDest; + RECTL rSrc; + DWORD dwFlags; +} D3DHAL_DP2TEXBLT,*LPD3DHAL_DP2TEXBLT; + +typedef struct _D3DHAL_DP2STATESET { + DWORD dwOperation; + DWORD dwParam; + D3DSTATEBLOCKTYPE sbType; +} D3DHAL_DP2STATESET,*LPD3DHAL_DP2STATESET; + +#define D3DHAL_STATESETBEGIN 0 +#define D3DHAL_STATESETEND 1 +#define D3DHAL_STATESETDELETE 2 +#define D3DHAL_STATESETEXECUTE 3 +#define D3DHAL_STATESETCAPTURE 4 + +typedef struct _D3DHAL_DP2SETPRIORITY { + DWORD dwDDSurface; + DWORD dwPriority; +} D3DHAL_DP2SETPRIORITY,*LPD3DHAL_DP2SETPRIORITY; + +typedef struct _D3DHAL_DP2SETRENDERTARGET { + DWORD hRenderTarget; + DWORD hZBuffer; +} D3DHAL_DP2SETRENDERTARGET,*LPD3DHAL_DP2SETRENDERTARGET; + +typedef struct _D3DHAL_DP2CLEAR { + DWORD dwFlags; + DWORD dwFillColor; + D3DVALUE dvFillDepth; + DWORD dwFillStencil; + RECT Rects[1]; +} D3DHAL_DP2CLEAR,*LPD3DHAL_DP2CLEAR; + +typedef struct _D3DHAL_DP2SETTEXLOD { + DWORD dwDDSurface; + DWORD dwLOD; +} D3DHAL_DP2SETTEXLOD,*LPD3DHAL_DP2SETTEXLOD; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __WINE_D3DHAL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drm.h new file mode 100644 index 0000000..126695c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drm.h @@ -0,0 +1,524 @@ +/* + * Copyright (C) 2005 Peter Berg Larsen + * Copyright (C) 2010 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DRM_H__ +#define __D3DRM_H__ + +#include + +typedef struct IDirect3DRM *LPDIRECT3DRM, **LPLPDIRECT3DRM; + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Direct3DRM Object CLSID */ +DEFINE_GUID(CLSID_CDirect3DRM, 0x4516ec41, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); + +/* Direct3DRM Interface GUIDs */ +DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRM2, 0x4516ecc8, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRM3, 0x4516ec83, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); + +typedef struct IDirect3DRM2 *LPDIRECT3DRM2, **LPLPDIRECT3DRM2; +typedef struct IDirect3DRM3 *LPDIRECT3DRM3, **LPLPDIRECT3DRM3; + +HRESULT WINAPI Direct3DRMCreate(struct IDirect3DRM **d3drm); + +/***************************************************************************** + * IDirect3DRMObject interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRM +DECLARE_INTERFACE_(IDirect3DRM,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRM methods ***/ + STDMETHOD(CreateObject)(THIS_ REFCLSID clsid, IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(CreateFrame)(THIS_ IDirect3DRMFrame *parent, IDirect3DRMFrame **frame) PURE; + STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE; + STDMETHOD(CreateMeshBuilder)(THIS_ IDirect3DRMMeshBuilder **mesh_builder) PURE; + STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace **face) PURE; + STDMETHOD(CreateAnimation)(THIS_ IDirect3DRMAnimation **animation) PURE; + STDMETHOD(CreateAnimationSet)(THIS_ IDirect3DRMAnimationSet **set) PURE; + STDMETHOD(CreateTexture)(THIS_ D3DRMIMAGE *image, IDirect3DRMTexture **texture) PURE; + STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE type, D3DCOLOR color, IDirect3DRMLight **light) PURE; + STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE type, D3DVALUE r, D3DVALUE g, D3DVALUE b, + IDirect3DRMLight **light) PURE; + STDMETHOD(CreateMaterial)(THIS_ D3DVALUE power, IDirect3DRMMaterial **material) PURE; + STDMETHOD(CreateDevice)(THIS_ DWORD width, DWORD height, IDirect3DRMDevice **device) PURE; + STDMETHOD(CreateDeviceFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw, + IDirectDrawSurface *surface, IDirect3DRMDevice **device) PURE; + STDMETHOD(CreateDeviceFromD3D)(THIS_ IDirect3D *d3d, IDirect3DDevice *d3d_device, + IDirect3DRMDevice **device) PURE; + STDMETHOD(CreateDeviceFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid, + int width, int height, IDirect3DRMDevice **device) PURE; + STDMETHOD(CreateTextureFromSurface)(THIS_ IDirectDrawSurface *surface, + IDirect3DRMTexture **texture) PURE; + STDMETHOD(CreateShadow)(THIS_ IDirect3DRMVisual *visual, IDirect3DRMLight *light, + D3DVALUE px, D3DVALUE py, D3DVALUE pz, D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, + IDirect3DRMVisual **shadow) PURE; + STDMETHOD(CreateViewport)(THIS_ IDirect3DRMDevice *device, IDirect3DRMFrame *camera, + DWORD x, DWORD y, DWORD width, DWORD height, IDirect3DRMViewport **viewport) PURE; + STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame *reference, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz, + D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov, + D3DVALUE su, D3DVALUE sv, IDirect3DRMWrap **wrap) PURE; + STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK cb, void *ctx, IDirect3DRMUserVisual **visual) PURE; + STDMETHOD(LoadTexture)(THIS_ const char *filename, IDirect3DRMTexture **texture) PURE; + STDMETHOD(LoadTextureFromResource)(THIS_ HRSRC resource, IDirect3DRMTexture **texture) PURE; + STDMETHOD(SetSearchPath)(THIS_ const char *path) PURE; + STDMETHOD(AddSearchPath)(THIS_ const char *path) PURE; + STDMETHOD(GetSearchPath)(THIS_ DWORD *size, char *path) PURE; + STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE; + STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE; + STDMETHOD(GetDevices)(THIS_ IDirect3DRMDeviceArray **array) PURE; + STDMETHOD(GetNamedObject)(THIS_ const char *name, IDirect3DRMObject **object) PURE; + STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(Load)(THIS_ void *source, void *object_id, IID **iids, DWORD iid_count, D3DRMLOADOPTIONS flags, + D3DRMLOADCALLBACK load_cb, void *load_ctx, D3DRMLOADTEXTURECALLBACK load_tex_cb, void *load_tex_ctx, + IDirect3DRMFrame *parent_frame) PURE; + STDMETHOD(Tick)(THIS_ D3DVALUE) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRM_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRM_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRM_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRM methods ***/ +#define IDirect3DRM_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,c,d) +#define IDirect3DRM_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b) +#define IDirect3DRM_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +#define IDirect3DRM_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a) +#define IDirect3DRM_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a) +#define IDirect3DRM_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a) +#define IDirect3DRM_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a) +#define IDirect3DRM_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b) +#define IDirect3DRM_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c) +#define IDirect3DRM_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e) +#define IDirect3DRM_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) +#define IDirect3DRM_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirect3DRM_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d) +#define IDirect3DRM_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c) +#define IDirect3DRM_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e) +#define IDirect3DRM_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b) +#define IDirect3DRM_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateShadow(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DRM_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g) +#define IDirect3DRM_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->lpVtbl->CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) +#define IDirect3DRM_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c) +#define IDirect3DRM_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b) +#define IDirect3DRM_LoadTextureFromResource(p,a,b) (p)->lpVtbl->LoadTextureFromResource(p,a,b) +#define IDirect3DRM_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a) +#define IDirect3DRM_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a) +#define IDirect3DRM_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b) +#define IDirect3DRM_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a) +#define IDirect3DRM_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a) +#define IDirect3DRM_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a) +#define IDirect3DRM_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b) +#define IDirect3DRM_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b) +#define IDirect3DRM_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g,h,i,j) +#define IDirect3DRM_Tick(p,a) (p)->lpVtbl->Tick(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRM_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRM_AddRef(p) (p)->AddRef() +#define IDirect3DRM_Release(p) (p)->Release() +/*** IDirect3DRM methods ***/ +#define IDirect3DRM_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,c,d) +#define IDirect3DRM_CreateFrame(p,a,b) (p)->CreateFrame(a,b) +#define IDirect3DRM_CreateMesh(p,a) (p)->CreateMesh(a) +#define IDirect3DRM_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a) +#define IDirect3DRM_CreateFace(p,a) (p)->CreateFace(a) +#define IDirect3DRM_CreateAnimation(p,a) (p)->CreateAnimation(a) +#define IDirect3DRM_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a) +#define IDirect3DRM_CreateTexture(p,a,b) (p)->CreateTexture(a,b) +#define IDirect3DRM_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c) +#define IDirect3DRM_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e) +#define IDirect3DRM_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b) +#define IDirect3DRM_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirect3DRM_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d) +#define IDirect3DRM_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c) +#define IDirect3DRM_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e) +#define IDirect3DRM_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b) +#define IDirect3DRM_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i) +#define IDirect3DRM_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g) +#define IDirect3DRM_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->CreateWrap(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) +#define IDirect3DRM_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c) +#define IDirect3DRM_LoadTexture(p,a,b) (p)->LoadTexture(a,b) +#define IDirect3DRM_LoadTextureFromResource(p,a,b) (p)->LoadTextureFromResource(a,b) +#define IDirect3DRM_SetSearchPath(p,a) (p)->SetSearchPath(a) +#define IDirect3DRM_AddSearchPath(p,a) (p)->AddSearchPath(a) +#define IDirect3DRM_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b) +#define IDirect3DRM_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a) +#define IDirect3DRM_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a) +#define IDirect3DRM_GetDevices(p,a) (p)->GetDevices(a) +#define IDirect3DRM_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b) +#define IDirect3DRM_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b) +#define IDirect3DRM_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->Load(a,b,c,d,e,f,g,h,i,j) +#define IDirect3DRM_Tick(p,a) (p)->Tick(a) +#endif + +/***************************************************************************** + * IDirect3DRM2 interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRM2 +DECLARE_INTERFACE_(IDirect3DRM2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRM2 methods ***/ + STDMETHOD(CreateObject)(THIS_ REFCLSID clsid, IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(CreateFrame)(THIS_ IDirect3DRMFrame *parent, IDirect3DRMFrame2 **frame) PURE; + STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE; + STDMETHOD(CreateMeshBuilder)(THIS_ IDirect3DRMMeshBuilder2 **mesh_builder) PURE; + STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace **face) PURE; + STDMETHOD(CreateAnimation)(THIS_ IDirect3DRMAnimation **animation) PURE; + STDMETHOD(CreateAnimationSet)(THIS_ IDirect3DRMAnimationSet **set) PURE; + STDMETHOD(CreateTexture)(THIS_ D3DRMIMAGE *image, IDirect3DRMTexture2 **texture) PURE; + STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE type, D3DCOLOR color, IDirect3DRMLight **light) PURE; + STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE type, D3DVALUE r, D3DVALUE g, D3DVALUE b, + IDirect3DRMLight **light) PURE; + STDMETHOD(CreateMaterial)(THIS_ D3DVALUE power, IDirect3DRMMaterial **material) PURE; + STDMETHOD(CreateDevice)(THIS_ DWORD width, DWORD height, IDirect3DRMDevice2 **device) PURE; + STDMETHOD(CreateDeviceFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw, + IDirectDrawSurface *surface, IDirect3DRMDevice2 **device) PURE; + STDMETHOD(CreateDeviceFromD3D)(THIS_ IDirect3D2 *d3d, IDirect3DDevice2 *d3d_device, + IDirect3DRMDevice2 **device) PURE; + STDMETHOD(CreateDeviceFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid, + int width, int height, IDirect3DRMDevice2 **device) PURE; + STDMETHOD(CreateTextureFromSurface)(THIS_ IDirectDrawSurface *surface, + IDirect3DRMTexture2 **texture) PURE; + STDMETHOD(CreateShadow)(THIS_ IDirect3DRMVisual *visual, IDirect3DRMLight *light, + D3DVALUE px, D3DVALUE py, D3DVALUE pz, D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, + IDirect3DRMVisual **shadow) PURE; + STDMETHOD(CreateViewport)(THIS_ IDirect3DRMDevice *device, IDirect3DRMFrame *camera, + DWORD x, DWORD y, DWORD width, DWORD height, IDirect3DRMViewport **viewport) PURE; + STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame *reference, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz, + D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov, + D3DVALUE su, D3DVALUE sv, IDirect3DRMWrap **wrap) PURE; + STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK cb, void *ctx, IDirect3DRMUserVisual **visual) PURE; + STDMETHOD(LoadTexture)(THIS_ const char *filename, IDirect3DRMTexture2 **texture) PURE; + STDMETHOD(LoadTextureFromResource)(THIS_ HMODULE module, const char *resource_name, + const char *resource_type, IDirect3DRMTexture2 **texture) PURE; + STDMETHOD(SetSearchPath)(THIS_ const char *path) PURE; + STDMETHOD(AddSearchPath)(THIS_ const char *path) PURE; + STDMETHOD(GetSearchPath)(THIS_ DWORD *size, char *path) PURE; + STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE; + STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE; + STDMETHOD(GetDevices)(THIS_ IDirect3DRMDeviceArray **array) PURE; + STDMETHOD(GetNamedObject)(THIS_ const char *name, IDirect3DRMObject **object) PURE; + STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(Load)(THIS_ void *source, void *object_id, IID **iids, DWORD iid_count, D3DRMLOADOPTIONS flags, + D3DRMLOADCALLBACK load_cb, void *load_ctx, D3DRMLOADTEXTURECALLBACK load_tex_cb, void *load_tex_ctx, + IDirect3DRMFrame *parent_frame) PURE; + STDMETHOD(Tick)(THIS_ D3DVALUE) PURE; + STDMETHOD(CreateProgressiveMesh)(THIS_ IDirect3DRMProgressiveMesh **mesh) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRM2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRM2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRM2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRM2 methods ***/ +#define IDirect3DRM2_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,c,d) +#define IDirect3DRM2_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b) +#define IDirect3DRM2_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +#define IDirect3DRM2_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a) +#define IDirect3DRM2_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a) +#define IDirect3DRM2_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a) +#define IDirect3DRM2_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a) +#define IDirect3DRM2_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b) +#define IDirect3DRM2_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c) +#define IDirect3DRM2_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e) +#define IDirect3DRM2_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) +#define IDirect3DRM2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirect3DRM2_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d) +#define IDirect3DRM2_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c) +#define IDirect3DRM2_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e) +#define IDirect3DRM2_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b) +#define IDirect3DRM2_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateShadow(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DRM2_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g) +#define IDirect3DRM2_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->lpVtbl->CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) +#define IDirect3DRM2_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c) +#define IDirect3DRM2_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b) +#define IDirect3DRM2_LoadTextureFromResource(p,a,b,c,d) (p)->lpVtbl->LoadTextureFromResource(p,a,b,c,d) +#define IDirect3DRM2_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a) +#define IDirect3DRM2_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a) +#define IDirect3DRM2_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b) +#define IDirect3DRM2_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a) +#define IDirect3DRM2_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a) +#define IDirect3DRM2_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a) +#define IDirect3DRM2_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b) +#define IDirect3DRM2_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b) +#define IDirect3DRM2_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g,h,i,j) +#define IDirect3DRM2_Tick(p,a) (p)->lpVtbl->Tick(p,a) +#define IDirect3DRM2_CreateProgressiveMesh(p,a) (p)->lpVtbl->CreateProgressiveMesh(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRM2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRM2_AddRef(p) (p)->AddRef() +#define IDirect3DRM2_Release(p) (p)->Release() +/*** IDirect3DRM2 methods ***/ +#define IDirect3DRM2_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,c,d) +#define IDirect3DRM2_CreateFrame(p,a,b) (p)->CreateFrame(a,b) +#define IDirect3DRM2_CreateMesh(p,a) (p)->CreateMesh(a) +#define IDirect3DRM2_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a) +#define IDirect3DRM2_CreateFace(p,a) (p)->CreateFace(a) +#define IDirect3DRM2_CreateAnimation(p,a) (p)->CreateAnimation(a) +#define IDirect3DRM2_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a) +#define IDirect3DRM2_CreateTexture(p,a,b) (p)->CreateTexture(a,b) +#define IDirect3DRM2_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c) +#define IDirect3DRM2_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e) +#define IDirect3DRM2_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b) +#define IDirect3DRM2_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirect3DRM2_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d) +#define IDirect3DRM2_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c) +#define IDirect3DRM2_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e) +#define IDirect3DRM2_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b) +#define IDirect3DRM2_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i) +#define IDirect3DRM2_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g) +#define IDirect3DRM2_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->CreateWrap(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) +#define IDirect3DRM2_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c) +#define IDirect3DRM2_LoadTexture(p,a,b) (p)->LoadTexture(a,b) +#define IDirect3DRM2_LoadTextureFromResource(p,a,b,c,d) (p)->LoadTextureFromResource(a,b,c,d) +#define IDirect3DRM2_SetSearchPath(p,a) (p)->SetSearchPath(a) +#define IDirect3DRM2_AddSearchPath(p,a) (p)->AddSearchPath(a) +#define IDirect3DRM2_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b) +#define IDirect3DRM2_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a) +#define IDirect3DRM2_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a) +#define IDirect3DRM2_GetDevices(p,a) (p)->GetDevices(a) +#define IDirect3DRM2_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b) +#define IDirect3DRM2_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b) +#define IDirect3DRM2_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->Load(a,b,c,d,e,f,g,h,i,j) +#define IDirect3DRM2_Tick(p,a) (p)->Tick(a) +#define IDirect3DRM2_CreateProgressiveMesh(p,a) (p)->CreateProgressiveMesh(p,a) +#endif + +/***************************************************************************** + * IDirect3DRM3 interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRM3 +DECLARE_INTERFACE_(IDirect3DRM3,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRM2 methods ***/ + STDMETHOD(CreateObject)(THIS_ REFCLSID clsid, IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(CreateFrame)(THIS_ IDirect3DRMFrame3 *parent, IDirect3DRMFrame3 **frame) PURE; + STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE; + STDMETHOD(CreateMeshBuilder)(THIS_ IDirect3DRMMeshBuilder3 **mesh_builder) PURE; + STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace2 **face) PURE; + STDMETHOD(CreateAnimation)(THIS_ IDirect3DRMAnimation2 **animation) PURE; + STDMETHOD(CreateAnimationSet)(THIS_ IDirect3DRMAnimationSet2 **set) PURE; + STDMETHOD(CreateTexture)(THIS_ D3DRMIMAGE *image, IDirect3DRMTexture3 **texture) PURE; + STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE type, D3DCOLOR color, IDirect3DRMLight **light) PURE; + STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE type, D3DVALUE r, D3DVALUE g, D3DVALUE b, + IDirect3DRMLight **light) PURE; + STDMETHOD(CreateMaterial)(THIS_ D3DVALUE, IDirect3DRMMaterial2 **material) PURE; + STDMETHOD(CreateDevice)(THIS_ DWORD width, DWORD height, IDirect3DRMDevice3 **device) PURE; + STDMETHOD(CreateDeviceFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw, + IDirectDrawSurface *surface, DWORD flags, IDirect3DRMDevice3 **device) PURE; + STDMETHOD(CreateDeviceFromD3D)(THIS_ IDirect3D2 *d3d, IDirect3DDevice2 *d3d_device, + IDirect3DRMDevice3 **device) PURE; + STDMETHOD(CreateDeviceFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid, + int width, int height, IDirect3DRMDevice3 **device) PURE; + STDMETHOD(CreateTextureFromSurface)(THIS_ IDirectDrawSurface *surface, + IDirect3DRMTexture3 **texture) PURE; + STDMETHOD(CreateShadow)(THIS_ IUnknown *object, IDirect3DRMLight *light, D3DVALUE px, D3DVALUE py, D3DVALUE pz, + D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, IDirect3DRMShadow2 **shadow) PURE; + STDMETHOD(CreateViewport)(THIS_ IDirect3DRMDevice3 *device, IDirect3DRMFrame3 *camera, + DWORD x, DWORD y, DWORD width, DWORD height, IDirect3DRMViewport2 **viewport) PURE; + STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame3 *reference, + D3DVALUE ox, D3DVALUE oy, D3DVALUE oz, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, + D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov, D3DVALUE su, D3DVALUE sv, + IDirect3DRMWrap **wrap) PURE; + STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK cb, void *ctx, IDirect3DRMUserVisual **visual) PURE; + STDMETHOD(LoadTexture)(THIS_ const char *filename, IDirect3DRMTexture3 **texture) PURE; + STDMETHOD(LoadTextureFromResource)(THIS_ HMODULE module, const char *resource_name, + const char *resource_type, IDirect3DRMTexture3 **texture) PURE; + STDMETHOD(SetSearchPath)(THIS_ const char *path) PURE; + STDMETHOD(AddSearchPath)(THIS_ const char *path) PURE; + STDMETHOD(GetSearchPath)(THIS_ DWORD *size, char *path) PURE; + STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE; + STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE; + STDMETHOD(GetDevices)(THIS_ IDirect3DRMDeviceArray **array) PURE; + STDMETHOD(GetNamedObject)(THIS_ const char *name, IDirect3DRMObject **object) PURE; + STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(Load)(THIS_ void *source, void *object_id, IID **iids, DWORD iid_count, D3DRMLOADOPTIONS flags, + D3DRMLOADCALLBACK load_cb, void *load_ctx, D3DRMLOADTEXTURECALLBACK load_tex_cb, void *load_tex_ctx, + IDirect3DRMFrame3 *parent_frame) PURE; + STDMETHOD(Tick)(THIS_ D3DVALUE) PURE; + STDMETHOD(CreateProgressiveMesh)(THIS_ IDirect3DRMProgressiveMesh **mesh) PURE; + STDMETHOD(RegisterClient)(THIS_ REFGUID guid, DWORD *id) PURE; + STDMETHOD(UnregisterClient)(THIS_ REFGUID rguid) PURE; + STDMETHOD(CreateClippedVisual)(THIS_ IDirect3DRMVisual *visual, IDirect3DRMClippedVisual **clipped_visual) PURE; + STDMETHOD(SetOptions)(THIS_ DWORD) PURE; + STDMETHOD(GetOptions)(THIS_ DWORD *flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRM3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRM3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRM3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRM3 methods ***/ +#define IDirect3DRM3_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,c,d) +#define IDirect3DRM3_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b) +#define IDirect3DRM3_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +#define IDirect3DRM3_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a) +#define IDirect3DRM3_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a) +#define IDirect3DRM3_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a) +#define IDirect3DRM3_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a) +#define IDirect3DRM3_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b) +#define IDirect3DRM3_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c) +#define IDirect3DRM3_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e) +#define IDirect3DRM3_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) +#define IDirect3DRM3_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirect3DRM3_CreateDeviceFromSurface(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d,e) +#define IDirect3DRM3_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c) +#define IDirect3DRM3_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e) +#define IDirect3DRM3_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b) +#define IDirect3DRM3_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateShadow(p,a,b,c,d,e,f,g,h,i) +#define IDirect3DRM3_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g) +#define IDirect3DRM3_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->lpVtbl->CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) +#define IDirect3DRM3_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c) +#define IDirect3DRM3_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b) +#define IDirect3DRM3_LoadTextureFromResource(p,a,b,c,d) (p)->lpVtbl->LoadTextureFromResource(p,a,b,c,d) +#define IDirect3DRM3_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a) +#define IDirect3DRM3_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a) +#define IDirect3DRM3_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b) +#define IDirect3DRM3_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a) +#define IDirect3DRM3_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a) +#define IDirect3DRM3_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a) +#define IDirect3DRM3_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b) +#define IDirect3DRM3_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b) +#define IDirect3DRM3_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g,h,i,j) +#define IDirect3DRM3_Tick(p,a) (p)->lpVtbl->Tick(p,a) +#define IDirect3DRM3_CreateProgressiveMesh(p,a) (p)->lpVtbl->CreateProgressiveMesh(p,a) +#define IDirect3DRM3_RegisterClient(p,a,b) (p)->lpVtbl->RegisterClient(p,a,b) +#define IDirect3DRM3_UnregisterClient(p,a) (p)->lpVtbl->UnregisterClient(p,a) +#define IDirect3DRM3_CreateClippedVisual(p,ab) (p)->lpVtbl->CreateClippedVisual(p,a,b) +#define IDirect3DRM3_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a) +#define IDirect3DRM3_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRM3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRM3_AddRef(p) (p)->AddRef() +#define IDirect3DRM3_Release(p) (p)->Release() +/*** IDirect3DRM3 methods ***/ +#define IDirect3DRM3_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,c,d) +#define IDirect3DRM3_CreateFrame(p,a,b) (p)->CreateFrame(a,b) +#define IDirect3DRM3_CreateMesh(p,a) (p)->CreateMesh(a) +#define IDirect3DRM3_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a) +#define IDirect3DRM3_CreateFace(p,a) (p)->CreateFace(a) +#define IDirect3DRM3_CreateAnimation(p,a) (p)->CreateAnimation(a) +#define IDirect3DRM3_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a) +#define IDirect3DRM3_CreateTexture(p,a,b) (p)->CreateTexture(a,b) +#define IDirect3DRM3_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c) +#define IDirect3DRM3_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e) +#define IDirect3DRM3_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b) +#define IDirect3DRM3_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirect3DRM3_CreateDeviceFromSurface(p,a,b,c,d,e) (p)->CreateDeviceFromSurface(a,b,c,d,e) +#define IDirect3DRM3_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c) +#define IDirect3DRM3_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e) +#define IDirect3DRM3_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b) +#define IDirect3DRM3_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i) +#define IDirect3DRM3_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g) +#define IDirect3DRM3_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->CreateWrap(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) +#define IDirect3DRM3_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c) +#define IDirect3DRM3_LoadTexture(p,a,b) (p)->LoadTexture(a,b) +#define IDirect3DRM3_LoadTextureFromResource(p,a,b,c,d) (p)->LoadTextureFromResource(a,b,c,d) +#define IDirect3DRM3_SetSearchPath(p,a) (p)->SetSearchPath(a) +#define IDirect3DRM3_AddSearchPath(p,a) (p)->AddSearchPath(a) +#define IDirect3DRM3_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b) +#define IDirect3DRM3_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a) +#define IDirect3DRM3_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a) +#define IDirect3DRM3_GetDevices(p,a) (p)->GetDevices(a) +#define IDirect3DRM3_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b) +#define IDirect3DRM3_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b) +#define IDirect3DRM3_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->Load(a,b,c,d,e,f,g,h,i,j) +#define IDirect3DRM3_Tick(p,a) (p)->Tick(a) +#define IDirect3DRM3_CreateProgressiveMesh(p,a) (p)->CreateProgressiveMesh(p,a) +#define IDirect3DRM3_RegisterClient(p,a,b) (p)->RegisterClient(p,a,b) +#define IDirect3DRM3_UnregisterClient(p,a) (p)->UnregisterClient(p,a) +#define IDirect3DRM3_CreateClippedVisual(p,ab) (p)->CreateClippedVisual(p,a,b) +#define IDirect3DRM3_SetOptions(p,a) (p)->SetOptions(p,a) +#define IDirect3DRM3_GetOptions(p,a) (p)->GetOptions(p,a) +#endif + +#define D3DRM_OK DD_OK +#define D3DRMERR_BADOBJECT MAKE_DDHRESULT(781) +#define D3DRMERR_BADTYPE MAKE_DDHRESULT(782) +#define D3DRMERR_BADALLOC MAKE_DDHRESULT(783) +#define D3DRMERR_FACEUSED MAKE_DDHRESULT(784) +#define D3DRMERR_NOTFOUND MAKE_DDHRESULT(785) +#define D3DRMERR_NOTDONEYET MAKE_DDHRESULT(786) +#define D3DRMERR_FILENOTFOUND MAKE_DDHRESULT(787) +#define D3DRMERR_BADFILE MAKE_DDHRESULT(788) +#define D3DRMERR_BADDEVICE MAKE_DDHRESULT(789) +#define D3DRMERR_BADVALUE MAKE_DDHRESULT(790) +#define D3DRMERR_BADMAJORVERSION MAKE_DDHRESULT(791) +#define D3DRMERR_BADMINORVERSION MAKE_DDHRESULT(792) +#define D3DRMERR_UNABLETOEXECUTE MAKE_DDHRESULT(793) +#define D3DRMERR_LIBRARYNOTFOUND MAKE_DDHRESULT(794) +#define D3DRMERR_INVALIDLIBRARY MAKE_DDHRESULT(795) +#define D3DRMERR_PENDING MAKE_DDHRESULT(796) +#define D3DRMERR_NOTENOUGHDATA MAKE_DDHRESULT(797) +#define D3DRMERR_REQUESTTOOLARGE MAKE_DDHRESULT(798) +#define D3DRMERR_REQUESTTOOSMALL MAKE_DDHRESULT(799) +#define D3DRMERR_CONNECTIONLOST MAKE_DDHRESULT(800) +#define D3DRMERR_LOADABORTED MAKE_DDHRESULT(801) +#define D3DRMERR_NOINTERNET MAKE_DDHRESULT(802) +#define D3DRMERR_BADCACHEFILE MAKE_DDHRESULT(803) +#define D3DRMERR_BOXNOTSET MAKE_DDHRESULT(804) +#define D3DRMERR_BADPMDATA MAKE_DDHRESULT(805) +#define D3DRMERR_CLIENTNOTREGISTERED MAKE_DDHRESULT(806) +#define D3DRMERR_NOTCREATEDFROMDDS MAKE_DDHRESULT(807) +#define D3DRMERR_NOSUCHKEY MAKE_DDHRESULT(808) +#define D3DRMERR_INCOMPATABLEKEY MAKE_DDHRESULT(809) +#define D3DRMERR_ELEMENTINUSE MAKE_DDHRESULT(810) +#define D3DRMERR_TEXTUREFORMATNOTFOUND MAKE_DDHRESULT(811) +#define D3DRMERR_NOTAGGREGATED MAKE_DDHRESULT(812) + +#ifdef __cplusplus +} +#endif + +#endif /* __D3DRM_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmdef.h new file mode 100644 index 0000000..aa77c2c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmdef.h @@ -0,0 +1,466 @@ +/* + * Copyright 2007,2010 Vijay Kiran Kamuju + * Copyright 2007 David ADAM + * Copyright 2010 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DRMDEFS_H__ +#define __D3DRMDEFS_H__ + +#include +#include + +#if defined(__cplusplus) +extern "C" { +#endif + +typedef struct _D3DRMVECTOR4D +{ + D3DVALUE x; + D3DVALUE y; + D3DVALUE z; + D3DVALUE w; +} D3DRMVECTOR4D, *LPD3DRMVECTOR4D; + +typedef D3DVALUE D3DRMMATRIX4D[4][4]; + +typedef struct _D3DRMQUATERNION { + D3DVALUE s; + D3DVECTOR v; +} D3DRMQUATERNION, *LPD3DRMQUATERNION; + +typedef struct _D3DRMRAY { + D3DVECTOR dvDir; + D3DVECTOR dvPos; +} D3DRMRAY, *LPD3DRMRAY; + +typedef struct _D3DRMBOX { + D3DVECTOR min; + D3DVECTOR max; +} D3DRMBOX, *LPD3DRMBOX; + +typedef void (*D3DRMWRAPCALLBACK)(D3DVECTOR *vec, int *u, int *v, D3DVECTOR *a, D3DVECTOR *b, void *ctx); + +typedef enum _D3DRMLIGHTTYPE { + D3DRMLIGHT_AMBIENT, + D3DRMLIGHT_POINT, + D3DRMLIGHT_SPOT, + D3DRMLIGHT_DIRECTIONAL, + D3DRMLIGHT_PARALLELPOINT +} D3DRMLIGHTTYPE, *LPD3DRMLIGHTTYPE; + +typedef enum _D3DRMSHADEMODE { + D3DRMSHADE_FLAT = 0, + D3DRMSHADE_GOURAUD = 1, + D3DRMSHADE_PHONG = 2, + D3DRMSHADE_MASK = 7, + D3DRMSHADE_MAX = 8 +} D3DRMSHADEMODE, *LPD3DRMSHADEMODE; + +typedef enum _D3DRMLIGHTMODE { + D3DRMLIGHT_OFF = 0 * D3DRMSHADE_MAX, + D3DRMLIGHT_ON = 1 * D3DRMSHADE_MAX, + D3DRMLIGHT_MASK = 7 * D3DRMSHADE_MAX, + D3DRMLIGHT_MAX = 8 * D3DRMSHADE_MAX +} D3DRMLIGHTMODE, *LPD3DRMLIGHTMODE; + +typedef enum _D3DRMFILLMODE { + D3DRMFILL_POINTS = 0 * D3DRMLIGHT_MAX, + D3DRMFILL_WIREFRAME = 1 * D3DRMLIGHT_MAX, + D3DRMFILL_SOLID = 2 * D3DRMLIGHT_MAX, + D3DRMFILL_MASK = 7 * D3DRMLIGHT_MAX, + D3DRMFILL_MAX = 8 * D3DRMLIGHT_MAX +} D3DRMFILLMODE, *LPD3DRMFILLMODE; + +typedef DWORD D3DRMRENDERQUALITY, *LPD3DRMRENDERQUALITY; + +#define D3DRMRENDER_WIREFRAME (D3DRMSHADE_FLAT+D3DRMLIGHT_OFF+D3DRMFILL_WIREFRAME) +#define D3DRMRENDER_UNLITFLAT (D3DRMSHADE_FLAT+D3DRMLIGHT_OFF+D3DRMFILL_SOLID) +#define D3DRMRENDER_FLAT (D3DRMSHADE_FLAT+D3DRMLIGHT_ON+D3DRMFILL_SOLID) +#define D3DRMRENDER_GOURAUD (D3DRMSHADE_GOURAUD+D3DRMLIGHT_ON+D3DRMFILL_SOLID) +#define D3DRMRENDER_PHONG (D3DRMSHADE_PHONG+D3DRMLIGHT_ON+D3DRMFILL_SOLID) + +#define D3DRMRENDERMODE_BLENDEDTRANSPARENCY 1 +#define D3DRMRENDERMODE_SORTEDTRANSPARENCY 2 +#define D3DRMRENDERMODE_LIGHTINMODELSPACE 8 +#define D3DRMRENDERMODE_VIEWDEPENDENTSPECULAR 16 +#define D3DRMRENDERMODE_DISABLESORTEDALPHAZWRITE 32 + +typedef enum _D3DRMTEXTUREQUALITY { + D3DRMTEXTURE_NEAREST, + D3DRMTEXTURE_LINEAR, + D3DRMTEXTURE_MIPNEAREST, + D3DRMTEXTURE_MIPLINEAR, + D3DRMTEXTURE_LINEARMIPNEAREST, + D3DRMTEXTURE_LINEARMIPLINEAR +} D3DRMTEXTUREQUALITY, *LPD3DRMTEXTUREQUALITY; + +#define D3DRMTEXTURE_FORCERESIDENT 0x00000001 +#define D3DRMTEXTURE_STATIC 0x00000002 +#define D3DRMTEXTURE_DOWNSAMPLEPOINT 0x00000004 +#define D3DRMTEXTURE_DOWNSAMPLEBILINEAR 0x00000008 +#define D3DRMTEXTURE_DOWNSAMPLEREDUCEDEPTH 0x00000010 +#define D3DRMTEXTURE_DOWNSAMPLENONE 0x00000020 +#define D3DRMTEXTURE_CHANGEDPIXELS 0x00000040 +#define D3DRMTEXTURE_CHANGEDPALETTE 0x00000080 +#define D3DRMTEXTURE_INVALIDATEONLY 0x00000100 + +#define D3DRMSHADOW_TRUEALPHA 0x00000001 + +typedef enum _D3DRMCOMBINETYPE { + D3DRMCOMBINE_REPLACE, + D3DRMCOMBINE_BEFORE, + D3DRMCOMBINE_AFTER +} D3DRMCOMBINETYPE, *LPD3DRMCOMBINETYPE; + +typedef D3DCOLORMODEL D3DRMCOLORMODEL, *LPD3DRMCOLORMODEL; + +typedef enum _D3DRMPALETTEFLAGS +{ + D3DRMPALETTE_FREE, + D3DRMPALETTE_READONLY, + D3DRMPALETTE_RESERVED +} D3DRMPALETTEFLAGS, *LPD3DRMPALETTEFLAGS; + +typedef struct _D3DRMPALETTEENTRY { + unsigned char red; + unsigned char green; + unsigned char blue; + unsigned char flags; +} D3DRMPALETTEENTRY, *LPD3DRMPALETTEENTRY; + +typedef struct _D3DRMIMAGE { + int width; + int height; + int aspectx; + int aspecty; + int depth; + int rgb; + int bytes_per_line; + void* buffer1; + void* buffer2; + ULONG red_mask; + ULONG green_mask; + ULONG blue_mask; + ULONG alpha_mask; + int palette_size; + D3DRMPALETTEENTRY* palette; +} D3DRMIMAGE, *LPD3DRMIMAGE; + +typedef enum _D3DRMWRAPTYPE { + D3DRMWRAP_FLAT, + D3DRMWRAP_CYLINDER, + D3DRMWRAP_SPHERE, + D3DRMWRAP_CHROME, + D3DRMWRAP_SHEET, + D3DRMWRAP_BOX +} D3DRMWRAPTYPE, *LPD3DRMWRAPTYPE; + +#define D3DRMWIREFRAME_CULL 1 +#define D3DRMWIREFRAME_HIDDENLINE 2 + +typedef enum _D3DRMPROJECTIONTYPE +{ + D3DRMPROJECT_PERSPECTIVE, + D3DRMPROJECT_ORTHOGRAPHIC, + D3DRMPROJECT_RIGHTHANDPERSPECTIVE, + D3DRMPROJECT_RIGHTHANDORTHOGRAPHIC +} D3DRMPROJECTIONTYPE, *LPD3DRMPROJECTIONTYPE; + +#define D3DRMOPTIONS_LEFTHANDED 0x00000001 +#define D3DRMOPTIONS_RIGHTHANDED 0x00000002 + +typedef enum _D3DRMXOFFORMAT { + D3DRMXOF_BINARY, + D3DRMXOF_COMPRESSED, + D3DRMXOF_TEXT +} D3DRMXOFFORMAT, *LPD3DRMXOFFORMAT; + +typedef DWORD D3DRMSAVEOPTIONS; +#define D3DRMXOFSAVE_NORMALS 1 +#define D3DRMXOFSAVE_TEXTURECOORDINATES 2 +#define D3DRMXOFSAVE_MATERIALS 4 +#define D3DRMXOFSAVE_TEXTURENAMES 8 +#define D3DRMXOFSAVE_ALL 15 +#define D3DRMXOFSAVE_TEMPLATES 16 +#define D3DRMXOFSAVE_TEXTURETOPOLOGY 32 + +typedef enum _D3DRMCOLORSOURCE { + D3DRMCOLOR_FROMFACE, + D3DRMCOLOR_FROMVERTEX +} D3DRMCOLORSOURCE, *LPD3DRMCOLORSOURCE; + +typedef enum _D3DRMFRAMECONSTRAINT { + D3DRMCONSTRAIN_Z, + D3DRMCONSTRAIN_Y, + D3DRMCONSTRAIN_X +} D3DRMFRAMECONSTRAINT, *LPD3DRMFRAMECONSTRAINT; + +typedef enum _D3DRMMATERIALMODE { + D3DRMMATERIAL_FROMMESH, + D3DRMMATERIAL_FROMPARENT, + D3DRMMATERIAL_FROMFRAME +} D3DRMMATERIALMODE, *LPD3DRMMATERIALMODE; + +typedef enum _D3DRMFOGMODE { + D3DRMFOG_LINEAR, + D3DRMFOG_EXPONENTIAL, + D3DRMFOG_EXPONENTIALSQUARED +} D3DRMFOGMODE, *LPD3DRMFOGMODE; + +typedef enum _D3DRMZBUFFERMODE { + D3DRMZBUFFER_FROMPARENT, + D3DRMZBUFFER_ENABLE, + D3DRMZBUFFER_DISABLE +} D3DRMZBUFFERMODE, *LPD3DRMZBUFFERMODE; + +typedef enum _D3DRMSORTMODE { + D3DRMSORT_FROMPARENT, + D3DRMSORT_NONE, + D3DRMSORT_FRONTTOBACK, + D3DRMSORT_BACKTOFRONT +} D3DRMSORTMODE, *LPD3DRMSORTMODE; + +typedef struct _D3DRMMATERIALOVERRIDE { + DWORD dwSize; + DWORD dwFlags; + D3DCOLORVALUE dcDiffuse; + D3DCOLORVALUE dcAmbient; + D3DCOLORVALUE dcEmissive; + D3DCOLORVALUE dcSpecular; + D3DVALUE dvPower; + IUnknown *lpD3DRMTex; +} D3DRMMATERIALOVERRIDE, *LPD3DRMMATERIALOVERRIDE; + +#define D3DRMMATERIALOVERRIDE_DIFFUSE_ALPHAONLY 0x00000001 +#define D3DRMMATERIALOVERRIDE_DIFFUSE_RGBONLY 0x00000002 +#define D3DRMMATERIALOVERRIDE_DIFFUSE 0x00000003 +#define D3DRMMATERIALOVERRIDE_AMBIENT 0x00000004 +#define D3DRMMATERIALOVERRIDE_EMISSIVE 0x00000008 +#define D3DRMMATERIALOVERRIDE_SPECULAR 0x00000010 +#define D3DRMMATERIALOVERRIDE_POWER 0x00000020 +#define D3DRMMATERIALOVERRIDE_TEXTURE 0x00000040 +#define D3DRMMATERIALOVERRIDE_DIFFUSE_ALPHAMULTIPLY 0x00000080 +#define D3DRMMATERIALOVERRIDE_ALL 0x000000FF + +#define D3DRMFPTF_ALPHA 0x00000001 +#define D3DRMFPTF_NOALPHA 0x00000002 +#define D3DRMFPTF_PALETTIZED 0x00000004 +#define D3DRMFPTF_NOTPALETTIZED 0x00000008 + +#define D3DRMSTATECHANGE_UPDATEONLY 0x000000001 +#define D3DRMSTATECHANGE_VOLATILE 0x000000002 +#define D3DRMSTATECHANGE_NONVOLATILE 0x000000004 +#define D3DRMSTATECHANGE_RENDER 0x000000020 +#define D3DRMSTATECHANGE_LIGHT 0x000000040 + +#define D3DRMDEVICE_NOZBUFFER 0x00000001 + +#define D3DRMCALLBACK_PREORDER 0 +#define D3DRMCALLBACK_POSTORDER 1 + +#define D3DRMRAYPICK_ONLYBOUNDINGBOXES 0x01 +#define D3DRMRAYPICK_IGNOREFURTHERPRIMITIVES 0x02 +#define D3DRMRAYPICK_INTERPOLATEUV 0x04 +#define D3DRMRAYPICK_INTERPOLATECOLOR 0x08 +#define D3DRMRAYPICK_INTERPOLATENORMAL 0x10 + +#define D3DRMADDFACES_VERTICESONLY 1 + +#define D3DRMGENERATENORMALS_PRECOMPACT 1 +#define D3DRMGENERATENORMALS_USECREASEANGLE 2 + +#define D3DRMMESHBUILDER_DIRECTPARENT 1 +#define D3DRMMESHBUILDER_ROOTMESH 2 + +#define D3DRMMESHBUILDER_RENDERENABLE 0x00000001 +#define D3DRMMESHBUILDER_PICKENABLE 0x00000002 + +#define D3DRMADDMESHBUILDER_DONTCOPYAPPDATA 1 +#define D3DRMADDMESHBUILDER_FLATTENSUBMESHES 2 +#define D3DRMADDMESHBUILDER_NOSUBMESHES 4 + +#define D3DRMMESHBUILDERAGE_GEOMETRY 0x00000001 +#define D3DRMMESHBUILDERAGE_MATERIALS 0x00000002 +#define D3DRMMESHBUILDERAGE_TEXTURES 0x00000004 + +#define D3DRMFVF_TYPE 0x00000001 +#define D3DRMFVF_NORMAL 0x00000002 +#define D3DRMFVF_COLOR 0x00000004 +#define D3DRMFVF_TEXTURECOORDS 0x00000008 + +#define D3DRMVERTEX_STRIP 0x00000001 +#define D3DRMVERTEX_FAN 0x00000002 +#define D3DRMVERTEX_LIST 0x00000004 + +#define D3DRMCLEAR_TARGET 0x00000001 +#define D3DRMCLEAR_ZBUFFER 0x00000002 +#define D3DRMCLEAR_DIRTYRECTS 0x00000004 +#define D3DRMCLEAR_ALL (D3DRMCLEAR_TARGET | D3DRMCLEAR_ZBUFFER | D3DRMCLEAR_DIRTYRECTS) + +#define D3DRMFOGMETHOD_VERTEX 0x00000001 +#define D3DRMFOGMETHOD_TABLE 0x00000002 +#define D3DRMFOGMETHOD_ANY 0x00000004 + +#define D3DRMFRAME_RENDERENABLE 0x00000001 +#define D3DRMFRAME_PICKENABLE 0x00000002 + +typedef DWORD D3DRMANIMATIONOPTIONS; +#define D3DRMANIMATION_OPEN 0x00000001 +#define D3DRMANIMATION_CLOSED 0x00000002 +#define D3DRMANIMATION_LINEARPOSITION 0x00000004 +#define D3DRMANIMATION_SPLINEPOSITION 0x00000008 +#define D3DRMANIMATION_SCALEANDROTATION 0x00000010 +#define D3DRMANIMATION_POSITION 0x00000020 + +typedef DWORD D3DRMINTERPOLATIONOPTIONS; +#define D3DRMINTERPOLATION_OPEN 0x0001 +#define D3DRMINTERPOLATION_CLOSED 0x0002 +#define D3DRMINTERPOLATION_NEAREST 0x0100 +#define D3DRMINTERPOLATION_LINEAR 0x0004 +#define D3DRMINTERPOLATION_SPLINE 0x0008 +#define D3DRMINTERPOLATION_VERTEXCOLOR 0x0040 +#define D3DRMINTERPOLATION_SLERPNORMALS 0x0080 + +typedef DWORD D3DRMLOADOPTIONS; + +#define D3DRMLOAD_FROMFILE __MSABI_LONG(0x000) +#define D3DRMLOAD_FROMRESOURCE __MSABI_LONG(0x001) +#define D3DRMLOAD_FROMMEMORY __MSABI_LONG(0x002) +#define D3DRMLOAD_FROMSTREAM __MSABI_LONG(0x004) +#define D3DRMLOAD_FROMURL __MSABI_LONG(0x008) + +#define D3DRMLOAD_BYNAME __MSABI_LONG(0x010) +#define D3DRMLOAD_BYPOSITION __MSABI_LONG(0x020) +#define D3DRMLOAD_BYGUID __MSABI_LONG(0x040) +#define D3DRMLOAD_FIRST __MSABI_LONG(0x080) + +#define D3DRMLOAD_INSTANCEBYREFERENCE __MSABI_LONG(0x100) +#define D3DRMLOAD_INSTANCEBYCOPYING __MSABI_LONG(0x200) + +#define D3DRMLOAD_ASYNCHRONOUS __MSABI_LONG(0x400) + +typedef struct _D3DRMLOADRESOURCE +{ + HMODULE hModule; + const char *lpName; + const char *lpType; +} D3DRMLOADRESOURCE, *LPD3DRMLOADRESOURCE; + +typedef struct _D3DRMLOADMEMORY +{ + void *lpMemory; + DWORD dSize; +} D3DRMLOADMEMORY, *LPD3DRMLOADMEMORY; + +#define D3DRMPMESHSTATUS_VALID 0x01 +#define D3DRMPMESHSTATUS_INTERRUPTED 0x02 +#define D3DRMPMESHSTATUS_BASEMESHCOMPLETE 0x04 +#define D3DRMPMESHSTATUS_COMPLETE 0x08 +#define D3DRMPMESHSTATUS_RENDERABLE 0x10 + +#define D3DRMPMESHEVENT_BASEMESH 0x01 +#define D3DRMPMESHEVENT_COMPLETE 0x02 + +typedef struct _D3DRMPMESHLOADSTATUS { + DWORD dwSize; + DWORD dwPMeshSize; + DWORD dwBaseMeshSize; + DWORD dwBytesLoaded; + DWORD dwVerticesLoaded; + DWORD dwFacesLoaded; + HRESULT dwLoadResult; + DWORD dwFlags; +} D3DRMPMESHLOADSTATUS, *LPD3DRMPMESHLOADSTATUS; + +typedef enum _D3DRMUSERVISUALREASON { + D3DRMUSERVISUAL_CANSEE, + D3DRMUSERVISUAL_RENDER +} D3DRMUSERVISUALREASON, *LPD3DRMUSERVISUALREASON; + +typedef struct _D3DRMANIMATIONKEY +{ + DWORD dwSize; + DWORD dwKeyType; + D3DVALUE dvTime; + DWORD dwID; +#if !defined(__cplusplus) || !defined(D3D_OVERLOADS) + union + { + D3DRMQUATERNION dqRotateKey; + D3DVECTOR dvScaleKey; + D3DVECTOR dvPositionKey; + } DUMMYUNIONNAME; +#else + D3DVALUE dvK[4]; +#endif +} D3DRMANIMATIONKEY; +typedef D3DRMANIMATIONKEY *LPD3DRMANIMATIONKEY; + +#define D3DRMANIMATION_ROTATEKEY 0x01 +#define D3DRMANIMATION_SCALEKEY 0x02 +#define D3DRMANIMATION_POSITIONKEY 0x03 + +typedef DWORD D3DRMMAPPING, D3DRMMAPPINGFLAG, *LPD3DRMMAPPING; +static const D3DRMMAPPINGFLAG D3DRMMAP_WRAPU = 1; +static const D3DRMMAPPINGFLAG D3DRMMAP_WRAPV = 2; +static const D3DRMMAPPINGFLAG D3DRMMAP_PERSPCORRECT = 4; + +typedef struct _D3DRMVERTEX { + D3DVECTOR position; + D3DVECTOR normal; + D3DVALUE tu; + D3DVALUE tv; + D3DCOLOR color; +} D3DRMVERTEX, *LPD3DRMVERTEX; + +typedef LONG D3DRMGROUPINDEX; +static const D3DRMGROUPINDEX D3DRMGROUP_ALLGROUPS = -1; + +void WINAPI D3DRMMatrixFromQuaternion(D3DRMMATRIX4D m, D3DRMQUATERNION *q); + +D3DRMQUATERNION * WINAPI D3DRMQuaternionFromRotation(D3DRMQUATERNION *x, D3DVECTOR *axis, D3DVALUE theta); +D3DRMQUATERNION * WINAPI D3DRMQuaternionMultiply(D3DRMQUATERNION *ret, D3DRMQUATERNION *x, D3DRMQUATERNION *y); +D3DRMQUATERNION * WINAPI D3DRMQuaternionSlerp(D3DRMQUATERNION *ret, + D3DRMQUATERNION *x, D3DRMQUATERNION *y, D3DVALUE alpha); + +D3DVECTOR * WINAPI D3DRMVectorAdd(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y); +D3DVECTOR * WINAPI D3DRMVectorCrossProduct(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y); +D3DVALUE WINAPI D3DRMVectorDotProduct(D3DVECTOR *x, D3DVECTOR *y); +D3DVECTOR * WINAPI D3DRMVectorNormalize(D3DVECTOR *x); + +#define D3DRMVectorNormalise D3DRMVectorNormalize + +D3DVALUE WINAPI D3DRMVectorModulus(D3DVECTOR *x); +D3DVECTOR * WINAPI D3DRMVectorRandom(D3DVECTOR *ret); +D3DVECTOR * WINAPI D3DRMVectorRotate(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *axis, D3DVALUE theta); +D3DVECTOR * WINAPI D3DRMVectorReflect(D3DVECTOR *ret, D3DVECTOR *ray, D3DVECTOR *normal); +D3DVECTOR * WINAPI D3DRMVectorScale(D3DVECTOR *ret, D3DVECTOR *x, D3DVALUE scale); +D3DVECTOR * WINAPI D3DRMVectorSubtract(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y); + +D3DCOLOR WINAPI D3DRMCreateColorRGB(D3DVALUE, D3DVALUE, D3DVALUE); +D3DCOLOR WINAPI D3DRMCreateColorRGBA(D3DVALUE, D3DVALUE, D3DVALUE, D3DVALUE); +D3DVALUE WINAPI D3DRMColorGetAlpha(D3DCOLOR); +D3DVALUE WINAPI D3DRMColorGetBlue(D3DCOLOR); +D3DVALUE WINAPI D3DRMColorGetGreen(D3DCOLOR); +D3DVALUE WINAPI D3DRMColorGetRed(D3DCOLOR); + +#if defined(__cplusplus) +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmobj.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmobj.h new file mode 100644 index 0000000..5ff33fe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmobj.h @@ -0,0 +1,4702 @@ +/* + * Copyright (C) 2008 Vijay Kiran Kamuju + * Copyright (C) 2010 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DRMOBJ_H__ +#define __D3DRMOBJ_H__ + +#include +#define VIRTUAL +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Direct3DRM object CLSIDs */ + +DEFINE_GUID(CLSID_CDirect3DRMDevice, 0x4fa3568e, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMViewport, 0x4fa3568f, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMFrame, 0x4fa35690, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMMesh, 0x4fa35691, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMMeshBuilder, 0x4fa35692, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMFace, 0x4fa35693, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMLight, 0x4fa35694, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMTexture, 0x4fa35695, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMWrap, 0x4fa35696, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMMaterial, 0x4fa35697, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMAnimation, 0x4fa35698, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMAnimationSet, 0x4fa35699, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMUserVisual, 0x4fa3569a, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMShadow, 0x4fa3569b, 0x623f, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(CLSID_CDirect3DRMViewportInterpolator, 0xde9eaa1, 0x3b84, 0x11d0, 0x9b, 0x6d, 0x0, 0x0, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMFrameInterpolator, 0xde9eaa2, 0x3b84, 0x11d0, 0x9b, 0x6d, 0x0, 0x0, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMMeshInterpolator, 0xde9eaa3, 0x3b84, 0x11d0, 0x9b, 0x6d, 0x0, 0x0, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMLightInterpolator, 0xde9eaa6, 0x3b84, 0x11d0, 0x9b, 0x6d, 0x0, 0x0, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMMaterialInterpolator, 0xde9eaa7, 0x3b84, 0x11d0, 0x9b, 0x6d, 0x0, 0x0, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMTextureInterpolator, 0xde9eaa8, 0x3b84, 0x11d0, 0x9b, 0x6d, 0x0, 0x0, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMProgressiveMesh, 0x4516ec40, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(CLSID_CDirect3DRMClippedVisual, 0x5434e72d, 0x6d66, 0x11d1, 0xbb, 0xb, 0x0, 0x0, 0xf8, 0x75, 0x86, 0x5a); + +/* Direct3DRM object interface GUIDs */ + +DEFINE_GUID(IID_IDirect3DRMObject, 0xeb16cb00, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMObject2, 0x4516ec7c, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMDevice, 0xe9e19280, 0x6e05, 0x11cf, 0xac, 0x4a, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMDevice2, 0x4516ec78, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMDevice3, 0x549f498b, 0xbfeb, 0x11d1, 0x8e, 0xd8, 0x00, 0xa0, 0xc9, 0x67, 0xa4, 0x82); +DEFINE_GUID(IID_IDirect3DRMViewport, 0xeb16cb02, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMViewport2, 0x4a1b1be6, 0xbfed, 0x11d1, 0x8e, 0xd8, 0x00, 0xa0, 0xc9, 0x67, 0xa4, 0x82); +DEFINE_GUID(IID_IDirect3DRMFrame, 0xeb16cb03, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMFrame2, 0xc3dfbd60, 0x3988, 0x11d0, 0x9e, 0xc2, 0x00, 0x00, 0xc0, 0x29, 0x1a, 0xc3); +DEFINE_GUID(IID_IDirect3DRMFrame3, 0xff6b7f70, 0xa40e, 0x11d1, 0x91, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0x8e, 0x66); +DEFINE_GUID(IID_IDirect3DRMVisual, 0xeb16cb04, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMMesh, 0xa3a80d01, 0x6e12, 0x11cf, 0xac, 0x4a, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMMeshBuilder, 0xa3a80d02, 0x6e12, 0x11cf, 0xac, 0x4a, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMMeshBuilder2, 0x4516ec77, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMMeshBuilder3, 0x4516ec82, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMFace, 0xeb16cb07, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMFace2, 0x4516ec81, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMLight, 0xeb16cb08, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMTexture, 0xeb16cb09, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMTexture2, 0x120f30c0, 0x1629, 0x11d0, 0x94, 0x1c, 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b); +DEFINE_GUID(IID_IDirect3DRMTexture3, 0xff6b7f73, 0xa40e, 0x11d1, 0x91, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0x8e, 0x66); +DEFINE_GUID(IID_IDirect3DRMWrap, 0xeb16cb0a, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMMaterial, 0xeb16cb0b, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMMaterial2, 0xff6b7f75, 0xa40e, 0x11d1, 0x91, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0x8e, 0x66); +DEFINE_GUID(IID_IDirect3DRMAnimation, 0xeb16cb0d, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMAnimation2, 0xff6b7f77, 0xa40e, 0x11d1, 0x91, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0x8e, 0x66); +DEFINE_GUID(IID_IDirect3DRMAnimationSet, 0xeb16cb0e, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMAnimationSet2, 0xff6b7f79, 0xa40e, 0x11d1, 0x91, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0x8e, 0x66); +DEFINE_GUID(IID_IDirect3DRMObjectArray, 0x242f6bc2, 0x3849, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMDeviceArray, 0xeb16cb10, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMViewportArray, 0xeb16cb11, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMFrameArray, 0xeb16cb12, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMVisualArray, 0xeb16cb13, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMLightArray, 0xeb16cb14, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMPickedArray, 0xeb16cb16, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMFaceArray, 0xeb16cb17, 0xd271, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMAnimationArray, 0xd5f1cae0, 0x4bd7, 0x11d1, 0xb9, 0x74, 0x00, 0x60, 0x08, 0x3e, 0x45, 0xf3); +DEFINE_GUID(IID_IDirect3DRMUserVisual, 0x59163de0, 0x6d43, 0x11cf, 0xac, 0x4a, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMShadow, 0xaf359780, 0x6ba3, 0x11cf, 0xac, 0x4a, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); +DEFINE_GUID(IID_IDirect3DRMShadow2, 0x86b44e25, 0x9c82, 0x11d1, 0xbb, 0x0b, 0x00, 0xa0, 0xc9, 0x81, 0xa0, 0xa6); +DEFINE_GUID(IID_IDirect3DRMInterpolator, 0x242f6bc1, 0x3849, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMProgressiveMesh, 0x4516ec79, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMPicked2Array, 0x4516ec7b, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); +DEFINE_GUID(IID_IDirect3DRMClippedVisual, 0x5434e733, 0x6d66, 0x11d1, 0xbb, 0x0b, 0x00, 0x00, 0xf8, 0x75, 0x86, 0x5a); + +/***************************************************************************** + * Predeclare the interfaces + */ + +typedef struct IDirect3DRMObject *LPDIRECT3DRMOBJECT, **LPLPDIRECT3DRMOBJECT; +typedef struct IDirect3DRMObject2 *LPDIRECT3DRMOBJECT2, **LPLPDIRECT3DRMOBJECT2; +typedef struct IDirect3DRMDevice *LPDIRECT3DRMDEVICE, **LPLPDIRECT3DRMDEVICE; +typedef struct IDirect3DRMDevice2 *LPDIRECT3DRMDEVICE2, **LPLPDIRECT3DRMDEVICE2; +typedef struct IDirect3DRMDevice3 *LPDIRECT3DRMDEVICE3, **LPLPDIRECT3DRMDEVICE3; +typedef struct IDirect3DRMViewport *LPDIRECT3DRMVIEWPORT, **LPLPDIRECT3DRMVIEWPORT; +typedef struct IDirect3DRMViewport2 *LPDIRECT3DRMVIEWPORT2, **LPLPDIRECT3DRMVIEWPORT2; +typedef struct IDirect3DRMFrame *LPDIRECT3DRMFRAME, **LPLPDIRECT3DRMFRAME; +typedef struct IDirect3DRMFrame2 *LPDIRECT3DRMFRAME2, **LPLPDIRECT3DRMFRAME2; +typedef struct IDirect3DRMFrame3 *LPDIRECT3DRMFRAME3, **LPLPDIRECT3DRMFRAME3; +typedef struct IDirect3DRMVisual *LPDIRECT3DRMVISUAL, **LPLPDIRECT3DRMVISUAL; +typedef struct IDirect3DRMMesh *LPDIRECT3DRMMESH, **LPLPDIRECT3DRMMESH; +typedef struct IDirect3DRMMeshBuilder *LPDIRECT3DRMMESHBUILDER, **LPLPDIRECT3DRMMESHBUILDER; +typedef struct IDirect3DRMMeshBuilder2 *LPDIRECT3DRMMESHBUILDER2, **LPLPDIRECT3DRMMESHBUILDER2; +typedef struct IDirect3DRMMeshBuilder3 *LPDIRECT3DRMMESHBUILDER3, **LPLPDIRECT3DRMMESHBUILDER3; +typedef struct IDirect3DRMFace *LPDIRECT3DRMFACE, **LPLPDIRECT3DRMFACE; +typedef struct IDirect3DRMFace2 *LPDIRECT3DRMFACE2, **LPLPDIRECT3DRMFACE2; +typedef struct IDirect3DRMLight *LPDIRECT3DRMLIGHT, **LPLPDIRECT3DRMLIGHT; +typedef struct IDirect3DRMTexture *LPDIRECT3DRMTEXTURE, **LPLPDIRECT3DRMTEXTURE; +typedef struct IDirect3DRMTexture2 *LPDIRECT3DRMTEXTURE2, **LPLPDIRECT3DRMTEXTURE2; +typedef struct IDirect3DRMTexture3 *LPDIRECT3DRMTEXTURE3, **LPLPDIRECT3DRMTEXTURE3; +typedef struct IDirect3DRMWrap *LPDIRECT3DRMWRAP, **LPLPDIRECT3DRMWRAP; +typedef struct IDirect3DRMMaterial *LPDIRECT3DRMMATERIAL, **LPLPDIRECT3DRMMATERIAL; +typedef struct IDirect3DRMMaterial2 *LPDIRECT3DRMMATERIAL2, **LPLPDIRECT3DRMMATERIAL2; +typedef struct IDirect3DRMAnimation *LPDIRECT3DRMANIMATION, **LPLPDIRECT3DRMANIMATION; +typedef struct IDirect3DRMAnimation2 *LPDIRECT3DRMANIMATION2, **LPLPDIRECT3DRMANIMATION2; +typedef struct IDirect3DRMAnimationSet *LPDIRECT3DRMANIMATIONSET, **LPLPDIRECT3DRMANIMATIONSET; +typedef struct IDirect3DRMAnimationSet2 *LPDIRECT3DRMANIMATIONSET2, **LPLPDIRECT3DRMANIMATIONSET2; +typedef struct IDirect3DRMUserVisual *LPDIRECT3DRMUSERVISUAL, **LPLPDIRECT3DRMUSERVISUAL; +typedef struct IDirect3DRMShadow *LPDIRECT3DRMSHADOW, **LPLPDIRECT3DRMSHADOW; +typedef struct IDirect3DRMShadow2 *LPDIRECT3DRMSHADOW2, **LPLPDIRECT3DRMSHADOW2; +typedef struct IDirect3DRMArray *LPDIRECT3DRMARRAY, **LPLPDIRECT3DRMARRAY; +typedef struct IDirect3DRMObjectArray *LPDIRECT3DRMOBJECTARRAY, **LPLPDIRECT3DRMOBJECTARRAY; +typedef struct IDirect3DRMDeviceArray *LPDIRECT3DRMDEVICEARRAY, **LPLPDIRECT3DRMDEVICEARRAY; +typedef struct IDirect3DRMFaceArray *LPDIRECT3DRMFACEARRAY, **LPLPDIRECT3DRMFACEARRAY; +typedef struct IDirect3DRMViewportArray *LPDIRECT3DRMVIEWPORTARRAY, **LPLPDIRECT3DRMVIEWPORTARRAY; +typedef struct IDirect3DRMFrameArray *LPDIRECT3DRMFRAMEARRAY, **LPLPDIRECT3DRMFRAMEARRAY; +typedef struct IDirect3DRMAnimationArray *LPDIRECT3DRMANIMATIONARRAY, **LPLPDIRECT3DRMANIMATIONARRAY; +typedef struct IDirect3DRMVisualArray *LPDIRECT3DRMVISUALARRAY, **LPLPDIRECT3DRMVISUALARRAY; +typedef struct IDirect3DRMPickedArray *LPDIRECT3DRMPICKEDARRAY, **LPLPDIRECT3DRMPICKEDARRAY; +typedef struct IDirect3DRMPicked2Array *LPDIRECT3DRMPICKED2ARRAY, **LPLPDIRECT3DRMPICKED2ARRAY; +typedef struct IDirect3DRMLightArray *LPDIRECT3DRMLIGHTARRAY, **LPLPDIRECT3DRMLIGHTARRAY; +typedef struct IDirect3DRMProgressiveMesh *LPDIRECT3DRMPROGRESSIVEMESH, **LPLPDIRECT3DRMPROGRESSIVEMESH; +typedef struct IDirect3DRMClippedVisual *LPDIRECT3DRMCLIPPEDVISUAL, **LPLPDIRECT3DRMCLIPPEDVISUAL; + +/* ******************************************************************** + Types and structures + ******************************************************************** */ + +typedef void (__cdecl *D3DRMOBJECTCALLBACK)(struct IDirect3DRMObject *obj, void *arg); +typedef void (__cdecl *D3DRMFRAMEMOVECALLBACK)(struct IDirect3DRMFrame *frame, void *ctx, D3DVALUE delta); +typedef void (__cdecl *D3DRMFRAME3MOVECALLBACK)(struct IDirect3DRMFrame3 *frame, void *ctx, D3DVALUE delta); +typedef void (__cdecl *D3DRMUPDATECALLBACK)(struct IDirect3DRMDevice *device, void *ctx, int count, D3DRECT *rects); +typedef void (__cdecl *D3DRMDEVICE3UPDATECALLBACK)(struct IDirect3DRMDevice3 *device, void *ctx, + int count, D3DRECT *rects); +typedef int (__cdecl *D3DRMUSERVISUALCALLBACK)(struct IDirect3DRMUserVisual *visual, void *ctx, + D3DRMUSERVISUALREASON reason, struct IDirect3DRMDevice *device, struct IDirect3DRMViewport *viewport); +typedef HRESULT (__cdecl *D3DRMLOADTEXTURECALLBACK)(char *tex_name, void *arg, struct IDirect3DRMTexture **texture); +typedef HRESULT (__cdecl *D3DRMLOADTEXTURE3CALLBACK)(char *tex_name, void *arg, struct IDirect3DRMTexture3 **texture); +typedef void (__cdecl *D3DRMLOADCALLBACK)(struct IDirect3DRMObject *object, REFIID objectguid, void *arg); +typedef HRESULT (__cdecl *D3DRMDOWNSAMPLECALLBACK)(struct IDirect3DRMTexture3 *texture, void *ctx, + IDirectDrawSurface *src_surface, IDirectDrawSurface *dst_surface); +typedef HRESULT (__cdecl *D3DRMVALIDATIONCALLBACK)(struct IDirect3DRMTexture3 *texture, void *ctx, + DWORD flags, DWORD rect_count, RECT *rects); + +typedef struct _D3DRMPICKDESC +{ + ULONG ulFaceIdx; + LONG lGroupIdx; + D3DVECTOR vPosition; +} D3DRMPICKDESC, *LPD3DRMPICKDESC; + +typedef struct _D3DRMPICKDESC2 +{ + ULONG ulFaceIdx; + LONG lGroupIdx; + D3DVECTOR vPosition; + D3DVALUE tu; + D3DVALUE tv; + D3DVECTOR dvNormal; + D3DCOLOR dcColor; +} D3DRMPICKDESC2, *LPD3DRMPICKDESC2; + +/***************************************************************************** + * IDirect3DRMObject interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRMObject +DECLARE_INTERFACE_(IDirect3DRMObject,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMObject_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMObject_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMObject_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMObject_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMObject_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMObject_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMObject_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMObject_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMObject_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMObject_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMObject_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMObject_AddRef(p) (p)->AddRef() +#define IDirect3DRMObject_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMObject_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMObject_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMObject_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMObject_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMObject_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMObject_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMObject_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMObject_GetClassName(p,a,b) (p)->GetClassName(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMObject2 interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRMObject2 +DECLARE_INTERFACE_(IDirect3DRMObject2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject2 methods ***/ + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(GetClientData)(THIS_ DWORD id, void **data) PURE; + STDMETHOD(GetDirect3DRM)(THIS_ struct IDirect3DRM **d3drm) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(SetClientData)(THIS_ DWORD id, void *data, DWORD flags) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetAge)(THIS_ DWORD flags, DWORD *age) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMObject2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMObject2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMObject2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject2 methods ***/ +#define IDirect3DRMObject2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMObject2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMObject2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMObject2_GetClientData(p,a,b) (p)->lpVtbl->SetClientData(p,a,b) +#define IDirect3DRMObject2_GetDirect3DRM(p,a) (p)->lpVtbl->GetDirect3DRM(p,a) +#define IDirect3DRMObject2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMObject2_SetClientData(p,a,b,c) (p)->lpVtbl->SetClientData(p,a,b,c) +#define IDirect3DRMObject2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMObject2_GetAge(p,a,b) (p)->lpVtbl->GetAge(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMObject2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMObject2_AddRef(p) (p)->AddRef() +#define IDirect3DRMObject2_Release(p) (p)->Release() +/*** IDirect3DRMObject2 methods ***/ +#define IDirect3DRMObject2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMObject2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMObject2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMObject2_GetClientData(p,a,b) (p)->SetClientData(a,b) +#define IDirect3DRMObject2_GetDirect3DRM(p,a) (p)->GetDirect3DRM(a) +#define IDirect3DRMObject2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMObject2_SetClientData(p,a,b,c) (p)->SetClientData(a,b,c) +#define IDirect3DRMObject2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMObject2_GetAge(p,a,b) (p)->GetAge(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMVisual interface + */ +#define INTERFACE IDirect3DRMVisual +DECLARE_INTERFACE_(IDirect3DRMVisual,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMVisual_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMVisual_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMVisual_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMVisual_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMVisual_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMVisual_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMVisual_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMVisual_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMVisual_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMVisual_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMVisual_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMVisual_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMVisual_AddRef(p) (p)->AddRef() +#define IDirect3DRMVisual_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMVisual_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMVisual_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMVisual_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMVisual_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMVisual_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMVisual_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMVisual_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMVisual_GetClassName(p,a,b) (p)->GetClassName(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMDevice interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRMDevice +DECLARE_INTERFACE_(IDirect3DRMDevice,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMDevice methods ***/ + STDMETHOD(Init)(THIS_ ULONG width, ULONG height) PURE; + STDMETHOD(InitFromD3D)(THIS_ IDirect3D *d3d, IDirect3DDevice *d3d_device) PURE; + STDMETHOD(InitFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid, int width, int height) PURE; + STDMETHOD(Update)(THIS) PURE; + STDMETHOD(AddUpdateCallback)(THIS_ D3DRMUPDATECALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteUpdateCallback)(THIS_ D3DRMUPDATECALLBACK cb, void *ctx) PURE; + STDMETHOD(SetBufferCount)(THIS_ DWORD) PURE; + STDMETHOD_(DWORD, GetBufferCount)(THIS) PURE; + STDMETHOD(SetDither)(THIS_ BOOL) PURE; + STDMETHOD(SetShades)(THIS_ DWORD) PURE; + STDMETHOD(SetQuality)(THIS_ D3DRMRENDERQUALITY) PURE; + STDMETHOD(SetTextureQuality)(THIS_ D3DRMTEXTUREQUALITY) PURE; + STDMETHOD(GetViewports)(THIS_ struct IDirect3DRMViewportArray **array) PURE; + STDMETHOD_(BOOL, GetDither)(THIS) PURE; + STDMETHOD_(DWORD, GetShades)(THIS) PURE; + STDMETHOD_(DWORD, GetHeight)(THIS) PURE; + STDMETHOD_(DWORD, GetWidth)(THIS) PURE; + STDMETHOD_(DWORD, GetTrianglesDrawn)(THIS) PURE; + STDMETHOD_(DWORD, GetWireframeOptions)(THIS) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetQuality)(THIS) PURE; + STDMETHOD_(D3DCOLORMODEL, GetColorModel)(THIS) PURE; + STDMETHOD_(D3DRMTEXTUREQUALITY, GetTextureQuality)(THIS) PURE; + STDMETHOD(GetDirect3DDevice)(THIS_ IDirect3DDevice **d3d_device) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMDevice_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMDevice_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMDevice_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMDevice_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMDevice_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMDevice_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMDevice_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMDevice_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMDevice_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMDevice_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMDevice_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMDevice methods ***/ +#define IDirect3DRMDevice_Init(p,a,b) (p)->lpVtbl->Init(p,a,b) +#define IDirect3DRMDevice_InitFromD3D(p,a,b) (p)->lpVtbl->InitFromD3D(p,a,b) +#define IDirect3DRMDevice_InitFromClipper(p,a,b,c,d) (p)->lpVtbl->InitFromClipper(p,a,b,c,d) +#define IDirect3DRMDevice_Update(p) (p)->lpVtbl->Update(p) +#define IDirect3DRMDevice_AddUpdateCallback(p,a,b) (p)->lpVtbl->AddUpdateCallback(p,a,b) +#define IDirect3DRMDevice_DeleteUpdateCallback(p,a,b) (p)->lpVtbl->DeleteUpdateCallback(p,a,b) +#define IDirect3DRMDevice_SetBufferCount(p,a) (p)->lpVtbl->SetBufferCount(p,a) +#define IDirect3DRMDevice_GetBufferCount(p) (p)->lpVtbl->GetBufferCount(p) +#define IDirect3DRMDevice_SetDither(p,a) (p)->lpVtbl->SetDither(p,a) +#define IDirect3DRMDevice_SetShades(p,a) (p)->lpVtbl->SetShades(p,a) +#define IDirect3DRMDevice_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMDevice_SetTextureQuality(p,a) (p)->lpVtbl->SetTextureQuality(p,a) +#define IDirect3DRMDevice_GetViewports(p,a) (p)->lpVtbl->GetViewports(p,a) +#define IDirect3DRMDevice_GetDither(p) (p)->lpVtbl->GetDither(p) +#define IDirect3DRMDevice_GetShades(p) (p)->lpVtbl->GetShades(p) +#define IDirect3DRMDevice_GetHeight(p) (p)->lpVtbl->GetHeight(p) +#define IDirect3DRMDevice_GetWidth(p) (p)->lpVtbl->GetWidth(p) +#define IDirect3DRMDevice_GetTrianglesDrawn(p) (p)->lpVtbl->GetTrianglesDrawn(p) +#define IDirect3DRMDevice_GetWireframeOptions(p) (p)->lpVtbl->GetWireframeOptions(p) +#define IDirect3DRMDevice_GetQuality(p) (p)->lpVtbl->GetQuality(p) +#define IDirect3DRMDevice_GetColorModel(p) (p)->lpVtbl->GetColorModel(p) +#define IDirect3DRMDevice_GetTextureQuality(p) (p)->lpVtbl->GetTextureQuality(p) +#define IDirect3DRMDevice_GetDirect3DDevice(p,a) (p)->lpVtbl->GetDirect3DDevice(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMDevice_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMDevice_AddRef(p) (p)->AddRef() +#define IDirect3DRMDevice_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMDevice_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMDevice_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMDevice_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMDevice_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMDevice_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMDevice_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMDevice_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMDevice_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMDevice methods ***/ +#define IDirect3DRMDevice_Init(p,a,b) (p)->Init(a,b) +#define IDirect3DRMDevice_InitFromD3D(p,a,b) (p)->InitFromD3D(a,b) +#define IDirect3DRMDevice_InitFromClipper(p,a,b,c,d) (p)->InitFromClipper(a,b,c,d) +#define IDirect3DRMDevice_Update(p) (p)->Update() +#define IDirect3DRMDevice_AddUpdateCallback(p,a,b) (p)->AddUpdateCallback(a,b) +#define IDirect3DRMDevice_DeleteUpdateCallback(p,a,b) (p)->DeleteUpdateCallback(a,b) +#define IDirect3DRMDevice_SetBufferCount(p,a) (p)->SetBufferCount(a) +#define IDirect3DRMDevice_GetBufferCount(p) (p)->GetBufferCount() +#define IDirect3DRMDevice_SetDither(p,a) (p)->SetDither(a) +#define IDirect3DRMDevice_SetShades(p,a) (p)->SetShades(a) +#define IDirect3DRMDevice_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMDevice_SetTextureQuality(p,a) (p)->SetTextureQuality(a) +#define IDirect3DRMDevice_GetViewports(p,a) (p)->GetViewports(a) +#define IDirect3DRMDevice_GetDither(p) (p)->GetDither() +#define IDirect3DRMDevice_GetShades(p) (p)->GetShades() +#define IDirect3DRMDevice_GetHeight(p) (p)->GetHeight() +#define IDirect3DRMDevice_GetWidth(p) (p)->GetWidth() +#define IDirect3DRMDevice_GetTrianglesDrawn(p) (p)->GetTrianglesDrawn() +#define IDirect3DRMDevice_GetWireframeOptions(p) (p)->GetWireframeOptions() +#define IDirect3DRMDevice_GetQuality(p) (p)->GetQuality() +#define IDirect3DRMDevice_GetColorModel(p) (p)->GetColorModel() +#define IDirect3DRMDevice_GetTextureQuality(p) (p)->GetTextureQuality() +#define IDirect3DRMDevice_GetDirect3DDevice(p,a) (p)->GetDirect3DDevice(a) +#endif + +/***************************************************************************** + * IDirect3DRMDevice2 interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRMDevice2 +DECLARE_INTERFACE_(IDirect3DRMDevice2,IDirect3DRMDevice) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMDevice methods ***/ + STDMETHOD(Init)(THIS_ ULONG width, ULONG height) PURE; + STDMETHOD(InitFromD3D)(THIS_ IDirect3D *d3d, IDirect3DDevice *d3d_device) PURE; + STDMETHOD(InitFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid, int width, int height) PURE; + STDMETHOD(Update)(THIS) PURE; + STDMETHOD(AddUpdateCallback)(THIS_ D3DRMUPDATECALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteUpdateCallback)(THIS_ D3DRMUPDATECALLBACK cb, void *ctx) PURE; + STDMETHOD(SetBufferCount)(THIS_ DWORD) PURE; + STDMETHOD_(DWORD, GetBufferCount)(THIS) PURE; + STDMETHOD(SetDither)(THIS_ BOOL) PURE; + STDMETHOD(SetShades)(THIS_ DWORD) PURE; + STDMETHOD(SetQuality)(THIS_ D3DRMRENDERQUALITY) PURE; + STDMETHOD(SetTextureQuality)(THIS_ D3DRMTEXTUREQUALITY) PURE; + STDMETHOD(GetViewports)(THIS_ struct IDirect3DRMViewportArray **array) PURE; + STDMETHOD_(BOOL, GetDither)(THIS) PURE; + STDMETHOD_(DWORD, GetShades)(THIS) PURE; + STDMETHOD_(DWORD, GetHeight)(THIS) PURE; + STDMETHOD_(DWORD, GetWidth)(THIS) PURE; + STDMETHOD_(DWORD, GetTrianglesDrawn)(THIS) PURE; + STDMETHOD_(DWORD, GetWireframeOptions)(THIS) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetQuality)(THIS) PURE; + STDMETHOD_(D3DCOLORMODEL, GetColorModel)(THIS) PURE; + STDMETHOD_(D3DRMTEXTUREQUALITY, GetTextureQuality)(THIS) PURE; + STDMETHOD(GetDirect3DDevice)(THIS_ IDirect3DDevice **d3d_device) PURE; + /*** IDirect3DRMDevice2 methods ***/ + STDMETHOD(InitFromD3D2)(THIS_ IDirect3D2 *d3d, IDirect3DDevice2 *device) PURE; + STDMETHOD(InitFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw, IDirectDrawSurface *surface) PURE; + STDMETHOD(SetRenderMode)(THIS_ DWORD flags) PURE; + STDMETHOD_(DWORD, GetRenderMode)(THIS) PURE; + STDMETHOD(GetDirect3DDevice2)(THIS_ IDirect3DDevice2 **device) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMDevice2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMDevice2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMDevice2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMDevice2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMDevice2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMDevice2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMDevice2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMDevice2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMDevice2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMDevice2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMDevice2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMDevice methods ***/ +#define IDirect3DRMDevice2_Init(p,a,b) (p)->lpVtbl->Init(p,a,b) +#define IDirect3DRMDevice2_InitFromD3D(p,a,b) (p)->lpVtbl->InitFromD3D(p,a,b) +#define IDirect3DRMDevice2_InitFromClipper(p,a,b,c,d) (p)->lpVtbl->InitFromClipper(p,a,b,c,d) +#define IDirect3DRMDevice2_Update(p) (p)->lpVtbl->Update(p) +#define IDirect3DRMDevice2_AddUpdateCallback(p,a,b) (p)->lpVtbl->AddUpdateCallback(p,a,b) +#define IDirect3DRMDevice2_DeleteUpdateCallback(p,a,b) (p)->lpVtbl->DeleteUpdateCallback(p,a,b) +#define IDirect3DRMDevice2_SetBufferCount(p,a) (p)->lpVtbl->SetBufferCount(p,a) +#define IDirect3DRMDevice2_GetBufferCount(p) (p)->lpVtbl->GetBufferCount(p) +#define IDirect3DRMDevice2_SetDither(p,a) (p)->lpVtbl->SetDither(p,a) +#define IDirect3DRMDevice2_SetShades(p,a) (p)->lpVtbl->SetShades(p,a) +#define IDirect3DRMDevice2_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMDevice2_SetTextureQuality(p,a) (p)->lpVtbl->SetTextureQuality(p,a) +#define IDirect3DRMDevice2_GetViewports(p,a) (p)->lpVtbl->GetViewports(p,a) +#define IDirect3DRMDevice2_GetDither(p) (p)->lpVtbl->GetDither(p) +#define IDirect3DRMDevice2_GetShades(p) (p)->lpVtbl->GetShades(p) +#define IDirect3DRMDevice2_GetHeight(p) (p)->lpVtbl->GetHeight(p) +#define IDirect3DRMDevice2_GetWidth(p) (p)->lpVtbl->GetWidth(p) +#define IDirect3DRMDevice2_GetTrianglesDrawn(p) (p)->lpVtbl->GetTrianglesDrawn(p) +#define IDirect3DRMDevice2_GetWireframeOptions(p) (p)->lpVtbl->GetWireframeOptions(p) +#define IDirect3DRMDevice2_GetQuality(p) (p)->lpVtbl->GetQuality(p) +#define IDirect3DRMDevice2_GetColorModel(p) (p)->lpVtbl->GetColorModel(p) +#define IDirect3DRMDevice2_GetTextureQuality(p) (p)->lpVtbl->GetTextureQuality(p) +#define IDirect3DRMDevice2_GetDirect3DDevice(p,a) (p)->lpVtbl->GetDirect3DDevice(p,a) +/*** IDirect3DRMDevice2 methods ***/ +#define IDirect3DRMDevice2_InitFromD3D2(p,a,b) (p)->lpVtbl->InitFromD3D2(p,a,b) +#define IDirect3DRMDevice2_InitFromSurface(p,a,b,c) (p)->lpVtbl->InitFromSurface(p,a,b,c) +#define IDirect3DRMDevice2_SetRenderMode(p,a) (p)->lpVtbl->SetRenderMode(p,a) +#define IDirect3DRMDevice2_GetRenderMode(p) (p)->lpVtbl->GetRenderMode(p) +#define IDirect3DRMDevice2_GetDirect3DDevice2(p,a) (p)->lpVtbl->GetDirect3DDevice2(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMDevice2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMDevice2_AddRef(p) (p)->AddRef() +#define IDirect3DRMDevice2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMDevice2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMDevice2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMDevice2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMDevice2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMDevice2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMDevice2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMDevice2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMDevice2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMDevice methods ***/ +#define IDirect3DRMDevice2_Init(p,a,b) (p)->Init(a,b) +#define IDirect3DRMDevice2_InitFromD3D(p,a,b) (p)->InitFromD3D(a,b) +#define IDirect3DRMDevice2_InitFromClipper(p,a,b,c,d) (p)->InitFromClipper(a,b,c,d) +#define IDirect3DRMDevice2_Update(p) (p)->Update() +#define IDirect3DRMDevice2_AddUpdateCallback(p,a,b) (p)->AddUpdateCallback(a,b) +#define IDirect3DRMDevice2_DeleteUpdateCallback(p,a,b) (p)->DeleteUpdateCallback(a,b) +#define IDirect3DRMDevice2_SetBufferCount(p,a) (p)->SetBufferCount(a) +#define IDirect3DRMDevice2_GetBufferCount(p) (p)->GetBufferCount() +#define IDirect3DRMDevice2_SetDither(p,a) (p)->SetDither(a) +#define IDirect3DRMDevice2_SetShades(p,a) (p)->SetShades(a) +#define IDirect3DRMDevice2_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMDevice2_SetTextureQuality(p,a) (p)->SetTextureQuality(a) +#define IDirect3DRMDevice2_GetViewports(p,a) (p)->GetViewports(a) +#define IDirect3DRMDevice2_GetDither(p) (p)->GetDither() +#define IDirect3DRMDevice2_GetShades(p) (p)->GetShades() +#define IDirect3DRMDevice2_GetHeight(p) (p)->GetHeight() +#define IDirect3DRMDevice2_GetWidth(p) (p)->GetWidth() +#define IDirect3DRMDevice2_GetTrianglesDrawn(p) (p)->GetTrianglesDrawn() +#define IDirect3DRMDevice2_GetWireframeOptions(p) (p)->GetWireframeOptions() +#define IDirect3DRMDevice2_GetQuality(p) (p)->GetQuality() +#define IDirect3DRMDevice2_GetColorModel(p) (p)->GetColorModel() +#define IDirect3DRMDevice2_GetTextureQuality(p) (p)->GetTextureQuality() +#define IDirect3DRMDevice2_GetDirect3DDevice(p,a) (p)->GetDirect3DDevice(a) +/*** IDirect3DRMDevice2 methods ***/ +#define IDirect3DRMDevice2_InitFromD3D2(p,a,b) (p)->InitFromD3D2(a,b) +#define IDirect3DRMDevice2_InitFromSurface(p,a,b,c) (p)->InitFromSurface(a,b,c) +#define IDirect3DRMDevice2_SetRenderMode(p,a) (p)->SetRenderMode(a) +#define IDirect3DRMDevice2_GetRenderMode(p) (p)->GetRenderMode() +#define IDirect3DRMDevice2_GetDirect3DDevice2(p,a) (p)->GetDirect3DDevice2(a) +#endif + +/***************************************************************************** + * IDirect3DRMDevice3 interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +#define INTERFACE IDirect3DRMDevice3 +DECLARE_INTERFACE_(IDirect3DRMDevice3,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMDevice methods ***/ + STDMETHOD(Init)(THIS_ ULONG width, ULONG height) PURE; + STDMETHOD(InitFromD3D)(THIS_ IDirect3D *d3d, IDirect3DDevice *d3d_device) PURE; + STDMETHOD(InitFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid, int width, int height) PURE; + STDMETHOD(Update)(THIS) PURE; + STDMETHOD(AddUpdateCallback)(THIS_ D3DRMUPDATECALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteUpdateCallback)(THIS_ D3DRMUPDATECALLBACK cb, void *ctx) PURE; + STDMETHOD(SetBufferCount)(THIS_ DWORD) PURE; + STDMETHOD_(DWORD, GetBufferCount)(THIS) PURE; + STDMETHOD(SetDither)(THIS_ BOOL) PURE; + STDMETHOD(SetShades)(THIS_ DWORD) PURE; + STDMETHOD(SetQuality)(THIS_ D3DRMRENDERQUALITY) PURE; + STDMETHOD(SetTextureQuality)(THIS_ D3DRMTEXTUREQUALITY) PURE; + STDMETHOD(GetViewports)(THIS_ struct IDirect3DRMViewportArray **array) PURE; + STDMETHOD_(BOOL, GetDither)(THIS) PURE; + STDMETHOD_(DWORD, GetShades)(THIS) PURE; + STDMETHOD_(DWORD, GetHeight)(THIS) PURE; + STDMETHOD_(DWORD, GetWidth)(THIS) PURE; + STDMETHOD_(DWORD, GetTrianglesDrawn)(THIS) PURE; + STDMETHOD_(DWORD, GetWireframeOptions)(THIS) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetQuality)(THIS) PURE; + STDMETHOD_(D3DCOLORMODEL, GetColorModel)(THIS) PURE; + STDMETHOD_(D3DRMTEXTUREQUALITY, GetTextureQuality)(THIS) PURE; + STDMETHOD(GetDirect3DDevice)(THIS_ IDirect3DDevice **d3d_device) PURE; + /*** IDirect3DRMDevice2 methods ***/ + STDMETHOD(InitFromD3D2)(THIS_ IDirect3D2 *d3d, IDirect3DDevice2 *device) PURE; + STDMETHOD(InitFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw, IDirectDrawSurface *surface) PURE; + STDMETHOD(SetRenderMode)(THIS_ DWORD flags) PURE; + STDMETHOD_(DWORD, GetRenderMode)(THIS) PURE; + STDMETHOD(GetDirect3DDevice2)(THIS_ IDirect3DDevice2 **device) PURE; + /*** IDirect3DRMDevice3 methods ***/ + STDMETHOD(FindPreferredTextureFormat)(THIS_ DWORD BitDepths, DWORD flags, DDPIXELFORMAT *format) PURE; + STDMETHOD(RenderStateChange)(THIS_ D3DRENDERSTATETYPE drsType, DWORD val, DWORD flags) PURE; + STDMETHOD(LightStateChange)(THIS_ D3DLIGHTSTATETYPE drsType, DWORD val, DWORD flags) PURE; + STDMETHOD(GetStateChangeOptions)(THIS_ DWORD state_class, DWORD state_idx, DWORD *flags) PURE; + STDMETHOD(SetStateChangeOptions)(THIS_ DWORD StateClass, DWORD StateNum, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMDevice3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMDevice3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMDevice3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMDevice3_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMDevice3_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMDevice3_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMDevice3_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMDevice3_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMDevice3_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMDevice3_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMDevice3_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMDevice methods ***/ +#define IDirect3DRMDevice3_Init(p,a,b) (p)->lpVtbl->Init(p,a,b) +#define IDirect3DRMDevice3_InitFromD3D(p,a,b) (p)->lpVtbl->InitFromD3D(p,a,b) +#define IDirect3DRMDevice3_InitFromClipper(p,a,b,c,d) (p)->lpVtbl->InitFromClipper(p,a,b,c,d) +#define IDirect3DRMDevice3_Update(p) (p)->lpVtbl->Update(p) +#define IDirect3DRMDevice3_AddUpdateCallback(p,a,b) (p)->lpVtbl->AddUpdateCallback(p,a,b) +#define IDirect3DRMDevice3_DeleteUpdateCallback(p,a,b) (p)->lpVtbl->DeleteUpdateCallback(p,a,b) +#define IDirect3DRMDevice3_SetBufferCount(p,a) (p)->lpVtbl->SetBufferCount(p,a) +#define IDirect3DRMDevice3_GetBufferCount(p) (p)->lpVtbl->GetBufferCount(p) +#define IDirect3DRMDevice3_SetDither(p,a) (p)->lpVtbl->SetDither(p,a) +#define IDirect3DRMDevice3_SetShades(p,a) (p)->lpVtbl->SetShades(p,a) +#define IDirect3DRMDevice3_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMDevice3_SetTextureQuality(p,a) (p)->lpVtbl->SetTextureQuality(p,a) +#define IDirect3DRMDevice3_GetViewports(p,a) (p)->lpVtbl->GetViewports(p,a) +#define IDirect3DRMDevice3_GetDither(p) (p)->lpVtbl->GetDither(p) +#define IDirect3DRMDevice3_GetShades(p) (p)->lpVtbl->GetShades(p) +#define IDirect3DRMDevice3_GetHeight(p) (p)->lpVtbl->GetHeight(p) +#define IDirect3DRMDevice3_GetWidth(p) (p)->lpVtbl->GetWidth(p) +#define IDirect3DRMDevice3_GetTrianglesDrawn(p) (p)->lpVtbl->GetTrianglesDrawn(p) +#define IDirect3DRMDevice3_GetWireframeOptions(p) (p)->lpVtbl->GetWireframeOptions(p) +#define IDirect3DRMDevice3_GetQuality(p) (p)->lpVtbl->GetQuality(p) +#define IDirect3DRMDevice3_GetColorModel(p) (p)->lpVtbl->GetColorModel(p) +#define IDirect3DRMDevice3_GetTextureQuality(p) (p)->lpVtbl->GetTextureQuality(p) +#define IDirect3DRMDevice3_GetDirect3DDevice(p,a) (p)->lpVtbl->GetDirect3DDevice(p,a) +/*** IDirect3DRMDevice2 methods ***/ +#define IDirect3DRMDevice3_InitFromD3D2(p,a,b) (p)->lpVtbl->InitFromD3D2(p,a,b) +#define IDirect3DRMDevice3_InitFromSurface(p,a,b,c) (p)->lpVtbl->InitFromSurface(p,a,b,c) +#define IDirect3DRMDevice3_SetRenderMode(p,a) (p)->lpVtbl->SetRenderMode(p,a) +#define IDirect3DRMDevice3_GetRenderMode(p) (p)->lpVtbl->GetRenderMode(p) +#define IDirect3DRMDevice3_GetDirect3DDevice2(p,a) (p)->lpVtbl->GetDirect3DDevice2(p,a) +/*** IDirect3DRMDevice3 methods ***/ +#define IDirect3DRMDevice3_FindPreferredTextureFormat(p,a,b,c) (p)->lpVtbl->FindPreferredTextureFormat(p,a,b,c) +#define IDirect3DRMDevice3_RenderStateChange(p,a,b,c) (p)->lpVtbl->RenderStateChange(p,a,b,c) +#define IDirect3DRMDevice3_LightStateChange(p,a,b,c) (p)->lpVtbl->LightStateChange(p,a,b,c) +#define IDirect3DRMDevice3_GetStateChangeOptions(p,a,b,c) (p)->lpVtbl->GetStateChangeOptions(p,a,b,c) +#define IDirect3DRMDevice3_SetStateChangeOptions(p,a,b,c) (p)->lpVtbl->SetStateChangeOptions(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMDevice3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMDevice3_AddRef(p) (p)->AddRef() +#define IDirect3DRMDevice3_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMDevice3_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMDevice3_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMDevice3_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMDevice3_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMDevice3_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMDevice3_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMDevice3_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMDevice3_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMDevice methods ***/ +#define IDirect3DRMDevice3_Init(p,a,b) (p)->Init(a,b) +#define IDirect3DRMDevice3_InitFromD3D(p,a,b) (p)->InitFromD3D(a,b) +#define IDirect3DRMDevice3_InitFromClipper(p,a,b,c,d) (p)->InitFromClipper(a,b,c,d) +#define IDirect3DRMDevice3_Update(p) (p)->Update() +#define IDirect3DRMDevice3_AddUpdateCallback(p,a,b) (p)->AddUpdateCallback(a,b) +#define IDirect3DRMDevice3_DeleteUpdateCallback(p,a,b) (p)->DeleteUpdateCallback(a,b) +#define IDirect3DRMDevice3_SetBufferCount(p,a) (p)->SetBufferCount(a) +#define IDirect3DRMDevice3_GetBufferCount(p) (p)->GetBufferCount() +#define IDirect3DRMDevice3_SetDither(p,a) (p)->SetDither(a) +#define IDirect3DRMDevice3_SetShades(p,a) (p)->SetShades(a) +#define IDirect3DRMDevice3_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMDevice3_SetTextureQuality(p,a) (p)->SetTextureQuality(a) +#define IDirect3DRMDevice3_GetViewports(p,a) (p)->GetViewports(a) +#define IDirect3DRMDevice3_GetDither(p) (p)->GetDither() +#define IDirect3DRMDevice3_GetShades(p) (p)->GetShades() +#define IDirect3DRMDevice3_GetHeight(p) (p)->GetHeight() +#define IDirect3DRMDevice3_GetWidth(p) (p)->GetWidth() +#define IDirect3DRMDevice3_GetTrianglesDrawn(p) (p)->GetTrianglesDrawn() +#define IDirect3DRMDevice3_GetWireframeOptions(p) (p)->GetWireframeOptions() +#define IDirect3DRMDevice3_GetQuality(p) (p)->GetQuality() +#define IDirect3DRMDevice3_GetColorModel(p) (p)->GetColorModel() +#define IDirect3DRMDevice3_GetTextureQuality(p) (p)->GetTextureQuality() +#define IDirect3DRMDevice3_GetDirect3DDevice(p,a) (p)->GetDirect3DDevice(a) +/*** IDirect3DRMDevice2 methods ***/ +#define IDirect3DRMDevice3_InitFromD3D2(p,a,b) (p)->InitFromD3D2(a,b) +#define IDirect3DRMDevice3_InitFromSurface(p,a,b,c) (p)->InitFromSurface(a,b,c) +#define IDirect3DRMDevice3_SetRenderMode(p,a) (p)->SetRenderMode(a) +#define IDirect3DRMDevice3_GetRenderMode(p) (p)->GetRenderMode() +#define IDirect3DRMDevice3_GetDirect3DDevice2(p,a) (p)->GetDirect3DDevice2(a) +/*** IDirect3DRMDevice3 methods ***/ +#define IDirect3DRMDevice3_FindPreferredTextureFormat(p,a,b,c) (p)->FindPreferredTextureFormat(a,b,c) +#define IDirect3DRMDevice3_RenderStateChange(p,a,b,c) (p)->RenderStateChange(a,b,c) +#define IDirect3DRMDevice3_LightStateChange(p,a,b,c) (p)->LightStateChange(a,b,c) +#define IDirect3DRMDevice3_GetStateChangeOptions(p,a,b,c) (p)->GetStateChangeOptions(a,b,c) +#define IDirect3DRMDevice3_SetStateChangeOptions(p,a,b,c) (p)->SetStateChangeOptions(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DRMViewport interface + */ +#define INTERFACE IDirect3DRMViewport +DECLARE_INTERFACE_(IDirect3DRMViewport,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMViewport methods ***/ + STDMETHOD(Init) (THIS_ IDirect3DRMDevice *device, struct IDirect3DRMFrame *camera, + DWORD x, DWORD y, DWORD width, DWORD height) PURE; + STDMETHOD(Clear)(THIS) PURE; + STDMETHOD(Render)(THIS_ struct IDirect3DRMFrame *frame) PURE; + STDMETHOD(SetFront)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetBack)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetField)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetUniformScaling)(THIS_ BOOL) PURE; + STDMETHOD(SetCamera)(THIS_ struct IDirect3DRMFrame *camera) PURE; + STDMETHOD(SetProjection)(THIS_ D3DRMPROJECTIONTYPE) PURE; + STDMETHOD(Transform)(THIS_ D3DRMVECTOR4D *d, D3DVECTOR *s) PURE; + STDMETHOD(InverseTransform)(THIS_ D3DVECTOR *d, D3DRMVECTOR4D *s) PURE; + STDMETHOD(Configure)(THIS_ LONG x, LONG y, DWORD width, DWORD height) PURE; + STDMETHOD(ForceUpdate)(THIS_ DWORD x1, DWORD y1, DWORD x2, DWORD y2) PURE; + STDMETHOD(SetPlane)(THIS_ D3DVALUE left, D3DVALUE right, D3DVALUE bottom, D3DVALUE top) PURE; + STDMETHOD(GetCamera)(THIS_ struct IDirect3DRMFrame **camera) PURE; + STDMETHOD(GetDevice)(THIS_ IDirect3DRMDevice **device) PURE; + STDMETHOD(GetPlane)(THIS_ D3DVALUE *left, D3DVALUE *right, D3DVALUE *bottom, D3DVALUE *top) PURE; + STDMETHOD(Pick)(THIS_ LONG x, LONG y, struct IDirect3DRMPickedArray **visuals) PURE; + STDMETHOD_(BOOL, GetUniformScaling)(THIS) PURE; + STDMETHOD_(LONG, GetX)(THIS) PURE; + STDMETHOD_(LONG, GetY)(THIS) PURE; + STDMETHOD_(DWORD, GetWidth)(THIS) PURE; + STDMETHOD_(DWORD, GetHeight)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetField)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetBack)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetFront)(THIS) PURE; + STDMETHOD_(D3DRMPROJECTIONTYPE, GetProjection)(THIS) PURE; + STDMETHOD(GetDirect3DViewport)(THIS_ IDirect3DViewport **viewport) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMViewport_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMViewport_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMViewport_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMViewport_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMViewport_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMViewport_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMViewport_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMViewport_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMViewport_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMViewport_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMViewport_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMViewport methods ***/ +#define IDirect3DRMViewport_Init(p,a,b,c,d,e,f) (p)->lpVtbl->Init(p,a,b,c,d,e,f) +#define IDirect3DRMViewport_Clear(p) (p)->lpVtbl->Clear(p) +#define IDirect3DRMViewport_Render(p,a) (p)->lpVtbl->Render(p,a) +#define IDirect3DRMViewport_SetFront(p,a) (p)->lpVtbl->SetFront(p,a) +#define IDirect3DRMViewport_SetBack(p,a) (p)->lpVtbl->SetBack(p,a) +#define IDirect3DRMViewport_SetField(p,a) (p)->lpVtbl->SetField(p,a) +#define IDirect3DRMViewport_SetUniformScaling(p,a) (p)->lpVtbl->SetUniformScaling(p,a) +#define IDirect3DRMViewport_SetCamera(p,a) (p)->lpVtbl->SetCamera(p,a) +#define IDirect3DRMViewport_SetProjection(p,a) (p)->lpVtbl->SetProjection(p,a) +#define IDirect3DRMViewport_Transform(p,a,b) (p)->lpVtbl->Transform(p,a,b) +#define IDirect3DRMViewport_InverseTransform(p,a,b) (p)->lpVtbl->InverseTransform(p,a,b) +#define IDirect3DRMViewport_Configure(p,a,b,c,d) (p)->lpVtbl->Configure(p,a,b,c,d) +#define IDirect3DRMViewport_ForceUpdate(p,a,b,c,d) (p)->lpVtbl->ForceUpdate(p,a,b,c,d) +#define IDirect3DRMViewport_SetPlane(p,a,b,c,d) (p)->lpVtbl->SetPlane(p,a,b,c,d) +#define IDirect3DRMViewport_GetCamera(p,a) (p)->lpVtbl->GetCamera(p,a) +#define IDirect3DRMViewport_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DRMViewport_GetPlane(p,a,b,c,d) (p)->lpVtbl->GetPlane(p,a,b,c,d) +#define IDirect3DRMViewport_Pick(p,a,b,c) (p)->lpVtbl->Pick(p,a,b,c) +#define IDirect3DRMViewport_GetUniformScaling(p) (p)->lpVtbl->GetUniformScaling(p) +#define IDirect3DRMViewport_GetX(p) (p)->lpVtbl->GetX(p) +#define IDirect3DRMViewport_GetY(p) (p)->lpVtbl->GetY(p) +#define IDirect3DRMViewport_GetWidth(p) (p)->lpVtbl->GetWidth(p) +#define IDirect3DRMViewport_GetHeight(p) (p)->lpVtbl->GetHeight(p) +#define IDirect3DRMViewport_GetField(p) (p)->lpVtbl->GetField(p) +#define IDirect3DRMViewport_GetBack(p) (p)->lpVtbl->GetBack(p) +#define IDirect3DRMViewport_GetFront(p) (p)->lpVtbl->GetFront(p) +#define IDirect3DRMViewport_GetProjection(p) (p)->lpVtbl->GetProjection(p) +#define IDirect3DRMViewport_GetDirect3DViewport(p,a) (p)->lpVtbl->GetDirect3DViewport(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMViewport_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMViewport_AddRef(p) (p)->AddRef() +#define IDirect3DRMViewport_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMViewport_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMViewport_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMViewport_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMViewport_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMViewport_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMViewport_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMViewport_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMViewport_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMViewport methods ***/ +#define IDirect3DRMViewport_Init(p,a,b,c,d,e,f) (p)->Init(a,b,c,d,e,f) +#define IDirect3DRMViewport_Clear(p) (p)->Clear() +#define IDirect3DRMViewport_Render(p,a) (p)->Render(a) +#define IDirect3DRMViewport_SetFront(p,a) (p)->SetFront(a) +#define IDirect3DRMViewport_SetBack(p,a) (p)->SetBack(a) +#define IDirect3DRMViewport_SetField(p,a) (p)->SetField(a) +#define IDirect3DRMViewport_SetUniformScaling(p,a) (p)->SetUniformScaling(a) +#define IDirect3DRMViewport_SetCamera(p,a) (p)->SetCamera(a) +#define IDirect3DRMViewport_SetProjection(p,a) (p)->SetProjection(a) +#define IDirect3DRMViewport_Transform(p,a,b) (p)->Transform(a,b) +#define IDirect3DRMViewport_InverseTransform(p,a,b) (p)->InverseTransform(a,b) +#define IDirect3DRMViewport_Configure(p,a,b,c,d) (p)->Configure(a,b,c,d) +#define IDirect3DRMViewport_ForceUpdate(p,a,b,c,d) (p)->ForceUpdate(a,b,c,d) +#define IDirect3DRMViewport_SetPlane(p,a,b,c,d) (p)->SetPlane(a,b,c,d) +#define IDirect3DRMViewport_GetCamera(p,a) (p)->GetCamera(a) +#define IDirect3DRMViewport_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DRMViewport_GetPlane(p,a,b,c,d) (p)->GetPlane(a,b,c,d) +#define IDirect3DRMViewport_Pick(p,a,b,c) (p)->Pick(a,b,c) +#define IDirect3DRMViewport_GetUniformScaling(p) (p)->GetUniformScaling() +#define IDirect3DRMViewport_GetX(p) (p)->GetX() +#define IDirect3DRMViewport_GetY(p) (p)->GetY() +#define IDirect3DRMViewport_GetWidth(p) (p)->GetWidth() +#define IDirect3DRMViewport_GetHeight(p) (p)->GetHeight() +#define IDirect3DRMViewport_GetField(p) (p)->GetField() +#define IDirect3DRMViewport_GetBack(p) (p)->GetBack() +#define IDirect3DRMViewport_GetFront(p) (p)->GetFront() +#define IDirect3DRMViewport_GetProjection(p) (p)->GetProjection() +#define IDirect3DRMViewport_GetDirect3DViewport(p,a) (p)->GetDirect3DViewport(a) +#endif + +/***************************************************************************** + * IDirect3DRMViewport2 interface + */ +#define INTERFACE IDirect3DRMViewport2 +DECLARE_INTERFACE_(IDirect3DRMViewport2,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMViewport2 methods ***/ + STDMETHOD(Init) (THIS_ IDirect3DRMDevice3 *device, struct IDirect3DRMFrame3 *camera, + DWORD x, DWORD y, DWORD width, DWORD height) PURE; + STDMETHOD(Clear)(THIS_ DWORD flags) PURE; + STDMETHOD(Render)(THIS_ struct IDirect3DRMFrame3 *frame) PURE; + STDMETHOD(SetFront)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetBack)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetField)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetUniformScaling)(THIS_ BOOL) PURE; + STDMETHOD(SetCamera)(THIS_ struct IDirect3DRMFrame3 *camera) PURE; + STDMETHOD(SetProjection)(THIS_ D3DRMPROJECTIONTYPE) PURE; + STDMETHOD(Transform)(THIS_ D3DRMVECTOR4D *d, D3DVECTOR *s) PURE; + STDMETHOD(InverseTransform)(THIS_ D3DVECTOR *d, D3DRMVECTOR4D *s) PURE; + STDMETHOD(Configure)(THIS_ LONG x, LONG y, DWORD width, DWORD height) PURE; + STDMETHOD(ForceUpdate)(THIS_ DWORD x1, DWORD y1, DWORD x2, DWORD y2) PURE; + STDMETHOD(SetPlane)(THIS_ D3DVALUE left, D3DVALUE right, D3DVALUE bottom, D3DVALUE top) PURE; + STDMETHOD(GetCamera)(THIS_ struct IDirect3DRMFrame3 **camera) PURE; + STDMETHOD(GetDevice)(THIS_ IDirect3DRMDevice3 **device) PURE; + STDMETHOD(GetPlane)(THIS_ D3DVALUE *left, D3DVALUE *right, D3DVALUE *bottom, D3DVALUE *top) PURE; + STDMETHOD(Pick)(THIS_ LONG x, LONG y, struct IDirect3DRMPickedArray **visuals) PURE; + STDMETHOD_(BOOL, GetUniformScaling)(THIS) PURE; + STDMETHOD_(LONG, GetX)(THIS) PURE; + STDMETHOD_(LONG, GetY)(THIS) PURE; + STDMETHOD_(DWORD, GetWidth)(THIS) PURE; + STDMETHOD_(DWORD, GetHeight)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetField)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetBack)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetFront)(THIS) PURE; + STDMETHOD_(D3DRMPROJECTIONTYPE, GetProjection)(THIS) PURE; + STDMETHOD(GetDirect3DViewport)(THIS_ IDirect3DViewport **viewport) PURE; + STDMETHOD(TransformVectors)(THIS_ DWORD vector_count, D3DRMVECTOR4D *dst_vectors, + D3DVECTOR *src_vectors) PURE; + STDMETHOD(InverseTransformVectors)(THIS_ DWORD vector_count, D3DVECTOR *dst_vectors, + D3DRMVECTOR4D *src_vectors) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMViewport2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMViewport2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMViewport2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMViewport_2Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMViewport2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMViewport2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMViewport2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMViewport2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMViewport2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMViewport2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMViewport2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMViewport2 methods ***/ +#define IDirect3DRMViewport2_Init(p,a,b,c,d,e,f) (p)->lpVtbl->Init(p,a,b,c,d,e,f) +#define IDirect3DRMViewport2_Clear(p,a) (p)->lpVtbl->Clear(p,a) +#define IDirect3DRMViewport2_Render(p,a) (p)->lpVtbl->Render(p,a) +#define IDirect3DRMViewport2_SetFront(p,a) (p)->lpVtbl->SetFront(p,a) +#define IDirect3DRMViewport2_SetBack(p,a) (p)->lpVtbl->SetBack(p,a) +#define IDirect3DRMViewport2_SetField(p,a) (p)->lpVtbl->SetField(p,a) +#define IDirect3DRMViewport2_SetUniformScaling(p,a) (p)->lpVtbl->SetUniformScaling(p,a) +#define IDirect3DRMViewport2_SetCamera(p,a) (p)->lpVtbl->SetCamera(p,a) +#define IDirect3DRMViewport2_SetProjection(p,a) (p)->lpVtbl->SetProjection(p,a) +#define IDirect3DRMViewport2_Transform(p,a,b) (p)->lpVtbl->Transform(p,a,b) +#define IDirect3DRMViewport2_InverseTransform(p,a,b) (p)->lpVtbl->InverseTransform(p,a,b) +#define IDirect3DRMViewport2_Configure(p,a,b,c,d) (p)->lpVtbl->Configure(p,a,b,c,d) +#define IDirect3DRMViewport2_ForceUpdate(p,a,b,c,d) (p)->lpVtbl->ForceUpdate(p,a,b,c,d) +#define IDirect3DRMViewport2_SetPlane(p,a,b,c,d) (p)->lpVtbl->SetPlane(p,a,b,c,d) +#define IDirect3DRMViewport2_GetCamera(p,a) (p)->lpVtbl->GetCamera(p,a) +#define IDirect3DRMViewport2_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirect3DRMViewport2_GetPlane(p,a,b,c,d) (p)->lpVtbl->GetPlane(p,a,b,c,d) +#define IDirect3DRMViewport2_Pick(p,a,b,c) (p)->lpVtbl->Pick(p,a,b,c) +#define IDirect3DRMViewport2_GetUniformScaling(p) (p)->lpVtbl->GetUniformScaling(p) +#define IDirect3DRMViewport2_GetX(p) (p)->lpVtbl->GetX(p) +#define IDirect3DRMViewport2_GetY(p) (p)->lpVtbl->GetY(p) +#define IDirect3DRMViewport2_GetWidth(p) (p)->lpVtbl->GetWidth(p) +#define IDirect3DRMViewport2_GetHeight(p) (p)->lpVtbl->GetHeight(p) +#define IDirect3DRMViewport2_GetField(p) (p)->lpVtbl->GetField(p) +#define IDirect3DRMViewport2_GetBack(p) (p)->lpVtbl->GetBack(p) +#define IDirect3DRMViewport2_GetFront(p) (p)->lpVtbl->GetFront(p) +#define IDirect3DRMViewport2_GetProjection(p) (p)->lpVtbl->GetProjection(p) +#define IDirect3DRMViewport2_GetDirect3DViewport(p,a) (p)->lpVtbl->GetDirect3DViewport(p,a) +#define IDirect3DRMViewport2_TransformVectors(p,a,b,c) (p)->lpVtbl->TransformVectors(p,a,b,c) +#define IDirect3DRMViewport2_InverseTransformVectors(p,a,b,c) (p)->lpVtbl->InverseTransformVectors(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMViewport2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMViewport2_AddRef(p) (p)->AddRef() +#define IDirect3DRMViewport2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMViewport2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMViewport2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMViewport2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMViewport2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMViewport2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMViewport2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMViewport2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMViewport2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMViewport2 methods ***/ +#define IDirect3DRMViewport2_Init(p,a,b,c,d,e,f) (p)->Init(a,b,c,d,e,f) +#define IDirect3DRMViewport2_Clear(p) (p)->Clear() +#define IDirect3DRMViewport2_Render(p,a) (p)->Render(a) +#define IDirect3DRMViewport2_SetFront(p,a) (p)->SetFront(a) +#define IDirect3DRMViewport2_SetBack(p,a) (p)->SetBack(a) +#define IDirect3DRMViewport2_SetField(p,a) (p)->SetField(a) +#define IDirect3DRMViewport2_SetUniformScaling(p,a) (p)->SetUniformScaling(a) +#define IDirect3DRMViewport2_SetCamera(p,a) (p)->SetCamera(a) +#define IDirect3DRMViewport2_SetProjection(p,a) (p)->SetProjection(a) +#define IDirect3DRMViewport2_Transform(p,a,b) (p)->Transform(a,b) +#define IDirect3DRMViewport2_InverseTransform(p,a,b) (p)->InverseTransform(a,b) +#define IDirect3DRMViewport2_Configure(p,a,b,c,d) (p)->Configure(a,b,c,d) +#define IDirect3DRMViewport2_ForceUpdate(p,a,b,c,d) (p)->ForceUpdate(a,b,c,d) +#define IDirect3DRMViewport2_SetPlane(p,a,b,c,d) (p)->SetPlane(a,b,c,d) +#define IDirect3DRMViewport2_GetCamera(p,a) (p)->GetCamera(a) +#define IDirect3DRMViewport2_GetDevice(p,a) (p)->GetDevice(a) +#define IDirect3DRMViewport2_GetPlane(p,a,b,c,d) (p)->GetPlane(a,b,c,d) +#define IDirect3DRMViewport2_Pick(p,a,b,c) (p)->Pick(a,b,c) +#define IDirect3DRMViewport2_GetUniformScaling(p) (p)->GetUniformScaling() +#define IDirect3DRMViewport2_GetX(p) (p)->GetX() +#define IDirect3DRMViewport2_GetY(p) (p)->GetY() +#define IDirect3DRMViewport2_GetWidth(p) (p)->GetWidth() +#define IDirect3DRMViewport2_GetHeight(p) (p)->GetHeight() +#define IDirect3DRMViewport2_GetField(p) (p)->GetField() +#define IDirect3DRMViewport2_GetBack(p) (p)->GetBack() +#define IDirect3DRMViewport2_GetFront(p) (p)->GetFront() +#define IDirect3DRMViewport2_GetProjection(p) (p)->GetProjection() +#define IDirect3DRMViewport2_GetDirect3DViewport(p,a) (p)->GetDirect3DViewport(a) +#define IDirect3DRMViewport2_TransformVectors(p,a,b,c) (p)->TransformVectors(a,b,c) +#define IDirect3DRMViewport2_InverseTransformVectors(p,a,b,c) (p)->InverseTransformVectors(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DRMFrame interface + */ +#define INTERFACE IDirect3DRMFrame +DECLARE_INTERFACE_(IDirect3DRMFrame,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMFrame methods ***/ + STDMETHOD(AddChild)(THIS_ IDirect3DRMFrame *child) PURE; + STDMETHOD(AddLight)(THIS_ struct IDirect3DRMLight *light) PURE; + STDMETHOD(AddMoveCallback)(THIS_ D3DRMFRAMEMOVECALLBACK cb, void *ctx) PURE; + STDMETHOD(AddTransform)(THIS_ D3DRMCOMBINETYPE, D3DRMMATRIX4D) PURE; + STDMETHOD(AddTranslation)(THIS_ D3DRMCOMBINETYPE, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddScale)(THIS_ D3DRMCOMBINETYPE, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(AddRotation)(THIS_ D3DRMCOMBINETYPE, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta) PURE; + STDMETHOD(AddVisual)(THIS_ IDirect3DRMVisual *visual) PURE; + STDMETHOD(GetChildren)(THIS_ struct IDirect3DRMFrameArray **children) PURE; + STDMETHOD_(D3DCOLOR, GetColor)(THIS) PURE; + STDMETHOD(GetLights)(THIS_ struct IDirect3DRMLightArray **lights) PURE; + STDMETHOD_(D3DRMMATERIALMODE, GetMaterialMode)(THIS) PURE; + STDMETHOD(GetParent)(THIS_ IDirect3DRMFrame **parent) PURE; + STDMETHOD(GetPosition)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *return_position) PURE; + STDMETHOD(GetRotation)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *axis, D3DVALUE *return_theta) PURE; + STDMETHOD(GetScene)(THIS_ IDirect3DRMFrame **scene) PURE; + STDMETHOD_(D3DRMSORTMODE, GetSortMode)(THIS) PURE; + STDMETHOD(GetTexture)(THIS_ struct IDirect3DRMTexture **texture) PURE; + STDMETHOD(GetTransform)(THIS_ D3DRMMATRIX4D return_matrix) PURE; + STDMETHOD(GetVelocity)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *return_velocity, BOOL with_rotation) PURE; + STDMETHOD(GetOrientation)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *dir, D3DVECTOR *up) PURE; + STDMETHOD(GetVisuals)(THIS_ struct IDirect3DRMVisualArray **visuals) PURE; + STDMETHOD(GetTextureTopology)(THIS_ BOOL *wrap_u, BOOL *wrap_v) PURE; + STDMETHOD(InverseTransform)(THIS_ D3DVECTOR *d, D3DVECTOR *s) PURE; + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURECALLBACK cb, void *ctx)PURE; + STDMETHOD(LookAt)(THIS_ IDirect3DRMFrame *target, IDirect3DRMFrame *reference, + D3DRMFRAMECONSTRAINT constraint) PURE; + STDMETHOD(Move)(THIS_ D3DVALUE delta) PURE; + STDMETHOD(DeleteChild)(THIS_ IDirect3DRMFrame *child) PURE; + STDMETHOD(DeleteLight)(THIS_ struct IDirect3DRMLight *light) PURE; + STDMETHOD(DeleteMoveCallback)(THIS_ D3DRMFRAMEMOVECALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteVisual)(THIS_ IDirect3DRMVisual *visual) PURE; + STDMETHOD_(D3DCOLOR, GetSceneBackground)(THIS) PURE; + STDMETHOD(GetSceneBackgroundDepth)(THIS_ IDirectDrawSurface **surface) PURE; + STDMETHOD_(D3DCOLOR, GetSceneFogColor)(THIS) PURE; + STDMETHOD_(BOOL, GetSceneFogEnable)(THIS) PURE; + STDMETHOD_(D3DRMFOGMODE, GetSceneFogMode)(THIS) PURE; + STDMETHOD(GetSceneFogParams)(THIS_ D3DVALUE *return_start, D3DVALUE *return_end, D3DVALUE *return_density) PURE; + STDMETHOD(SetSceneBackground)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetSceneBackgroundRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetSceneBackgroundDepth)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(SetSceneBackgroundImage)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetSceneFogEnable)(THIS_ BOOL) PURE; + STDMETHOD(SetSceneFogColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetSceneFogMode)(THIS_ D3DRMFOGMODE) PURE; + STDMETHOD(SetSceneFogParams)(THIS_ D3DVALUE start, D3DVALUE end, D3DVALUE density) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD_(D3DRMZBUFFERMODE, GetZbufferMode)(THIS) PURE; + STDMETHOD(SetMaterialMode)(THIS_ D3DRMMATERIALMODE) PURE; + STDMETHOD(SetOrientation)(THIS_ IDirect3DRMFrame *reference, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, + D3DVALUE ux, D3DVALUE uy, D3DVALUE uz) PURE; + STDMETHOD(SetPosition)(THIS_ IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetRotation)(THIS_ IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta) PURE; + STDMETHOD(SetSortMode)(THIS_ D3DRMSORTMODE) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(SetVelocity)(THIS_ IDirect3DRMFrame *reference, + D3DVALUE x, D3DVALUE y, D3DVALUE z, BOOL with_rotation) PURE; + STDMETHOD(SetZbufferMode)(THIS_ D3DRMZBUFFERMODE) PURE; + STDMETHOD(Transform)(THIS_ D3DVECTOR *d, D3DVECTOR *s) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFrame_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFrame_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFrame_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFrame_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMFrame_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMFrame_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMFrame_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMFrame_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMFrame_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMFrame_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMFrame_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMFrame methods ***/ +#define IDirect3DRMFrame_AddChild(p,a) (p)->lpVtbl->AddChild(p,a) +#define IDirect3DRMFrame_AddLight(p,a) (p)->lpVtbl->AddLight(p,a) +#define IDirect3DRMFrame_AddMoveCallback(p,a,b) (p)->lpVtbl->AddMoveCallback(p,a,b) +#define IDirect3DRMFrame_AddTransform(p,a,b) (p)->lpVtbl->AddTransform(p,a,b) +#define IDirect3DRMFrame_AddTranslation(p,a,b,c,d) (p)->lpVtbl->AddTranslation(p,a,b,c,d) +#define IDirect3DRMFrame_AddScale(p,a,b,c,d) (p)->lpVtbl->AddScale(p,a,b,c,d) +#define IDirect3DRMFrame_AddRotation(p,a,b,c,d,e) (p)->lpVtbl->AddRotation(p,a,b,c,d,e) +#define IDirect3DRMFrame_AddVisual(p,a) (p)->lpVtbl->AddVisual(p,a) +#define IDirect3DRMFrame_GetChildren(p,a) (p)->lpVtbl->GetChildren(p,a) +#define IDirect3DRMFrame_GetColor(p) (p)->lpVtbl->GetColor(p) +#define IDirect3DRMFrame_GetLights(p,a) (p)->lpVtbl->GetLights(p,a) +#define IDirect3DRMFrame_GetMaterialMode(p) (p)->lpVtbl->GetMaterialMode(p) +#define IDirect3DRMFrame_GetParent(p,a) (p)->lpVtbl->GetParent(p,a) +#define IDirect3DRMFrame_GetPosition(p,a,b) (p)->lpVtbl->GetPosition(p,a,b) +#define IDirect3DRMFrame_GetRotation(p,a,b,c) (p)->lpVtbl->GetRotation(p,a,b,c) +#define IDirect3DRMFrame_GetScene(p,a) (p)->lpVtbl->GetScene(p,a) +#define IDirect3DRMFrame_GetSortMode(p) (p)->lpVtbl->GetSortMode(p) +#define IDirect3DRMFrame_GetTexture(p,a) (p)->lpVtbl->GetTexture(p,a) +#define IDirect3DRMFrame_GetTransform(p,a) (p)->lpVtbl->GetTransform(p,a) +#define IDirect3DRMFrame_GetVelocity(p,a,b,c) (p)->lpVtbl->GetVelocity(p,a,b,c) +#define IDirect3DRMFrame_GetOrientation(p,a,b,c) (p)->lpVtbl->GetOrientation(p,a,b,c) +#define IDirect3DRMFrame_GetVisuals(p,a) (p)->lpVtbl->GetVisuals(p,a) +#define IDirect3DRMFrame_GetTextureTopology(p,a,b) (p)->lpVtbl->GetTextureTopology(p,a,b) +#define IDirect3DRMFrame_InverseTransform(p,a,b) (p)->lpVtbl->InverseTransform(p,a,b) +#define IDirect3DRMFrame_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMFrame_LookAt(p,a,b,c) (p)->lpVtbl->LookAt(p,a,b,c) +#define IDirect3DRMFrame_Move(p,a) (p)->lpVtbl->Move(p,a) +#define IDirect3DRMFrame_DeleteChild(p,a) (p)->lpVtbl->DeleteChild(p,a) +#define IDirect3DRMFrame_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a) +#define IDirect3DRMFrame_DeleteMoveCallback(p,a,b) (p)->lpVtbl->DeleteMoveCallback(p,a,b) +#define IDirect3DRMFrame_DeleteVisual(p,a) (p)->lpVtbl->DeleteVisual(p,a) +#define IDirect3DRMFrame_GetSceneBackground(p) (p)->lpVtbl->GetSceneBackground(p) +#define IDirect3DRMFrame_GetSceneBackgroundDepth(p,a) (p)->lpVtbl->GetSceneBackgroundDepth(p,a) +#define IDirect3DRMFrame_GetSceneFogColor(p) (p)->lpVtbl->GetSceneFogColor(p) +#define IDirect3DRMFrame_GetSceneFogEnable(p) (p)->lpVtbl->GetSceneFogEnable(p) +#define IDirect3DRMFrame_GetSceneFogMode(p) (p)->lpVtbl->GetSceneFogMode(p) +#define IDirect3DRMFrame_GetSceneFogParams(p,a,b,c) (p)->lpVtbl->GetSceneFogParams(p,a,b,c) +#define IDirect3DRMFrame_SetSceneBackground(p,a) (p)->lpVtbl->SetSceneBackground(p,a) +#define IDirect3DRMFrame_SetSceneBackgroundRGB(p,a,b,c) (p)->lpVtbl->SetSceneBackgroundRGB(p,a,b,c) +#define IDirect3DRMFrame_SetSceneBackgroundDepth(p,a) (p)->lpVtbl->SetSceneBackgroundDepth(p,a) +#define IDirect3DRMFrame_SetSceneBackgroundImage(p,a) (p)->lpVtbl->SetSceneBackgroundImage(p,a) +#define IDirect3DRMFrame_SetSceneFogEnable(p,a) (p)->lpVtbl->SetSceneFogEnable(p,a) +#define IDirect3DRMFrame_SetSceneFogColor(p,a) (p)->lpVtbl->SetSceneFogColor(p,a) +#define IDirect3DRMFrame_SetSceneFogMode(p,a) (p)->lpVtbl->SetSceneFogMode(p,a) +#define IDirect3DRMFrame_SetSceneFogParams(p,a,b,c) (p)->lpVtbl->SetSceneFogParams(p,a,b,c) +#define IDirect3DRMFrame_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMFrame_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMFrame_GetZbufferMode(p) (p)->lpVtbl->GetZbufferMode(p) +#define IDirect3DRMFrame_SetMaterialMode(p,a) (p)->lpVtbl->SetMaterialMode(p,a) +#define IDirect3DRMFrame_SetOrientation(p,a,b,c,d,e,f,g) (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g) +#define IDirect3DRMFrame_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d) +#define IDirect3DRMFrame_SetRotation(p,a,b,c,d,e) (p)->lpVtbl->SetRotation(p,a,b,c,d,e) +#define IDirect3DRMFrame_SetSortMode(p,a) (p)->lpVtbl->SetSortMode(p,a) +#define IDirect3DRMFrame_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMFrame_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMFrame_SetVelocity(p,a,b,c,d,e) (p)->lpVtbl->SetVelocity(p,a,b,c,d,e) +#define IDirect3DRMFrame_SetZbufferMode(p,a) (p)->lpVtbl->SetZbufferMode(p,a) +#define IDirect3DRMFrame_Transform(p,a,b) (p)->lpVtbl->Transform(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFrame_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFrame_AddRef(p) (p)->AddRef() +#define IDirect3DRMFrame_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFrame_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMFrame_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMFrame_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMFrame_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMFrame_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMFrame_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMFrame_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMFrame_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMFrame methods ***/ +#define IDirect3DRMFrame_AddChild(p,a) (p)->AddChild(a) +#define IDirect3DRMFrame_AddLight(p,a) (p)->AddLight(a) +#define IDirect3DRMFrame_AddMoveCallback(p,a,b) (p)->AddMoveCallback(a,b) +#define IDirect3DRMFrame_AddTransform(p,a,b) (p)->AddTransform(a,b) +#define IDirect3DRMFrame_AddTranslation(p,a,b,c,d) (p)->AddTranslation(a,b,c,d) +#define IDirect3DRMFrame_AddScale(p,a,b,c,d) (p)->AddScale(a,b,c,d) +#define IDirect3DRMFrame_AddRotation(p,a,b,c,d,e) (p)->AddRotation(a,b,c,d,e) +#define IDirect3DRMFrame_AddVisual(p,a) (p)->AddVisual(a) +#define IDirect3DRMFrame_GetChildren(p,a) (p)->GetChildren(a) +#define IDirect3DRMFrame_GetColor(p) (p)->GetColor() +#define IDirect3DRMFrame_GetLights(p,a) (p)->GetLights(a) +#define IDirect3DRMFrame_GetMaterialMode(p) (p)->GetMaterialMode() +#define IDirect3DRMFrame_GetParent(p,a) (p)->GetParent(a) +#define IDirect3DRMFrame_GetPosition(p,a,b) (p)->GetPosition(a,b) +#define IDirect3DRMFrame_GetRotation(p,a,b,c) (p)->GetRotation(a,b,c) +#define IDirect3DRMFrame_GetScene(p,a) (p)->GetScene(a) +#define IDirect3DRMFrame_GetSortMode(p) (p)->GetSortMode() +#define IDirect3DRMFrame_GetTexture(p,a) (p)->GetTexture(a) +#define IDirect3DRMFrame_GetTransform(p,a) (p)->GetTransform(a) +#define IDirect3DRMFrame_GetVelocity(p,a,b,c) (p)->GetVelocity(a,b,c) +#define IDirect3DRMFrame_GetOrientation(p,a,b,c) (p)->GetOrientation(a,b,c) +#define IDirect3DRMFrame_GetVisuals(p,a) (p)->GetVisuals(a) +#define IDirect3DRMFrame_GetTextureTopology(p,a,b) (p)->GetTextureTopology(a,b) +#define IDirect3DRMFrame_InverseTransform(p,a,b) (p)->InverseTransform(a,b) +#define IDirect3DRMFrame_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMFrame_LookAt(p,a,b,c) (p)->LookAt(a,b,c) +#define IDirect3DRMFrame_Move(p,a) (p)->Move(a) +#define IDirect3DRMFrame_DeleteChild(p,a) (p)->DeleteChild(a) +#define IDirect3DRMFrame_DeleteLight(p,a) (p)->DeleteLight(a) +#define IDirect3DRMFrame_DeleteMoveCallback(p,a,b) (p)->DeleteMoveCallback(a,b) +#define IDirect3DRMFrame_DeleteVisual(p,a) (p)->DeleteVisual(a) +#define IDirect3DRMFrame_GetSceneBackground(p) (p)->GetSceneBackground() +#define IDirect3DRMFrame_GetSceneBackgroundDepth(p,a) (p)->GetSceneBackgroundDepth(a) +#define IDirect3DRMFrame_GetSceneFogColor(p) (p)->GetSceneFogColor() +#define IDirect3DRMFrame_GetSceneFogEnable(p) (p)->GetSceneFogEnable() +#define IDirect3DRMFrame_GetSceneFogMode(p) (p)->GetSceneFogMode() +#define IDirect3DRMFrame_GetSceneFogParams(p,a,b,c) (p)->GetSceneFogParams(a,b,c) +#define IDirect3DRMFrame_SetSceneBackground(p,a) (p)->SetSceneBackground(a) +#define IDirect3DRMFrame_SetSceneBackgroundRGB(p,a,b,c) (p)->SetSceneBackgroundRGB(a,b,c) +#define IDirect3DRMFrame_SetSceneBackgroundDepth(p,a) (p)->SetSceneBackgroundDepth(a) +#define IDirect3DRMFrame_SetSceneBackgroundImage(p,a) (p)->SetSceneBackgroundImage(a) +#define IDirect3DRMFrame_SetSceneFogEnable(p,a) (p)->SetSceneFogEnable(a) +#define IDirect3DRMFrame_SetSceneFogColor(p,a) (p)->SetSceneFogColor(a) +#define IDirect3DRMFrame_SetSceneFogMode(p,a) (p)->SetSceneFogMode(a) +#define IDirect3DRMFrame_SetSceneFogParams(p,a,b,c) (p)->SetSceneFogParams(a,b,c) +#define IDirect3DRMFrame_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMFrame_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMFrame_GetZbufferMode(p) (p)->GetZbufferMode() +#define IDirect3DRMFrame_SetMaterialMode(p,a) (p)->SetMaterialMode(a) +#define IDirect3DRMFrame_SetOrientation(p,a,b,c,d,e,f,g) (p)->SetOrientation(a,b,c,d,e,f,g) +#define IDirect3DRMFrame_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d) +#define IDirect3DRMFrame_SetRotation(p,a,b,c,d,e) (p)->SetRotation(a,b,c,d,e) +#define IDirect3DRMFrame_SetSortMode(p,a) (p)->SetSortMode(a) +#define IDirect3DRMFrame_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMFrame_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMFrame_SetVelocity(p,a,b,c,d,e) (p)->SetVelocity(a,b,c,d,e) +#define IDirect3DRMFrame_SetZbufferMode(p,a) (p)->SetZbufferMode(a) +#define IDirect3DRMFrame_Transform(p,a,b) (p)->Transform(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMFrame2 interface + */ +#define INTERFACE IDirect3DRMFrame2 +DECLARE_INTERFACE_(IDirect3DRMFrame2,IDirect3DRMFrame) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMFrame methods ***/ + STDMETHOD(AddChild)(THIS_ IDirect3DRMFrame *child) PURE; + STDMETHOD(AddLight)(THIS_ struct IDirect3DRMLight *light) PURE; + STDMETHOD(AddMoveCallback)(THIS_ D3DRMFRAMEMOVECALLBACK cb, void *ctx) PURE; + STDMETHOD(AddTransform)(THIS_ D3DRMCOMBINETYPE, D3DRMMATRIX4D) PURE; + STDMETHOD(AddTranslation)(THIS_ D3DRMCOMBINETYPE, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddScale)(THIS_ D3DRMCOMBINETYPE, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(AddRotation)(THIS_ D3DRMCOMBINETYPE, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta) PURE; + STDMETHOD(AddVisual)(THIS_ IDirect3DRMVisual *visual) PURE; + STDMETHOD(GetChildren)(THIS_ struct IDirect3DRMFrameArray **children) PURE; + STDMETHOD_(D3DCOLOR, GetColor)(THIS) PURE; + STDMETHOD(GetLights)(THIS_ struct IDirect3DRMLightArray **lights) PURE; + STDMETHOD_(D3DRMMATERIALMODE, GetMaterialMode)(THIS) PURE; + STDMETHOD(GetParent)(THIS_ IDirect3DRMFrame **parent) PURE; + STDMETHOD(GetPosition)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *return_position) PURE; + STDMETHOD(GetRotation)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *axis, D3DVALUE *return_theta) PURE; + STDMETHOD(GetScene)(THIS_ IDirect3DRMFrame **scene) PURE; + STDMETHOD_(D3DRMSORTMODE, GetSortMode)(THIS) PURE; + STDMETHOD(GetTexture)(THIS_ struct IDirect3DRMTexture **texture) PURE; + STDMETHOD(GetTransform)(THIS_ D3DRMMATRIX4D return_matrix) PURE; + STDMETHOD(GetVelocity)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *return_velocity, BOOL with_rotation) PURE; + STDMETHOD(GetOrientation)(THIS_ IDirect3DRMFrame *reference, D3DVECTOR *dir, D3DVECTOR *up) PURE; + STDMETHOD(GetVisuals)(THIS_ struct IDirect3DRMVisualArray **visuals) PURE; + STDMETHOD(GetTextureTopology)(THIS_ BOOL *wrap_u, BOOL *wrap_v) PURE; + STDMETHOD(InverseTransform)(THIS_ D3DVECTOR *d, D3DVECTOR *s) PURE; + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURECALLBACK cb, void *ctx)PURE; + STDMETHOD(LookAt)(THIS_ IDirect3DRMFrame *target, IDirect3DRMFrame *reference, + D3DRMFRAMECONSTRAINT constraint) PURE; + STDMETHOD(Move)(THIS_ D3DVALUE delta) PURE; + STDMETHOD(DeleteChild)(THIS_ IDirect3DRMFrame *child) PURE; + STDMETHOD(DeleteLight)(THIS_ struct IDirect3DRMLight *light) PURE; + STDMETHOD(DeleteMoveCallback)(THIS_ D3DRMFRAMEMOVECALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteVisual)(THIS_ IDirect3DRMVisual *visual) PURE; + STDMETHOD_(D3DCOLOR, GetSceneBackground)(THIS) PURE; + STDMETHOD(GetSceneBackgroundDepth)(THIS_ IDirectDrawSurface **surface) PURE; + STDMETHOD_(D3DCOLOR, GetSceneFogColor)(THIS) PURE; + STDMETHOD_(BOOL, GetSceneFogEnable)(THIS) PURE; + STDMETHOD_(D3DRMFOGMODE, GetSceneFogMode)(THIS) PURE; + STDMETHOD(GetSceneFogParams)(THIS_ D3DVALUE *return_start, D3DVALUE *return_end, D3DVALUE *return_density) PURE; + STDMETHOD(SetSceneBackground)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetSceneBackgroundRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetSceneBackgroundDepth)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(SetSceneBackgroundImage)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetSceneFogEnable)(THIS_ BOOL) PURE; + STDMETHOD(SetSceneFogColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetSceneFogMode)(THIS_ D3DRMFOGMODE) PURE; + STDMETHOD(SetSceneFogParams)(THIS_ D3DVALUE start, D3DVALUE end, D3DVALUE density) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD_(D3DRMZBUFFERMODE, GetZbufferMode)(THIS) PURE; + STDMETHOD(SetMaterialMode)(THIS_ D3DRMMATERIALMODE) PURE; + STDMETHOD(SetOrientation)(THIS_ IDirect3DRMFrame *reference, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, + D3DVALUE ux, D3DVALUE uy, D3DVALUE uz) PURE; + STDMETHOD(SetPosition)(THIS_ IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetRotation)(THIS_ IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta) PURE; + STDMETHOD(SetSortMode)(THIS_ D3DRMSORTMODE) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(SetVelocity)(THIS_ IDirect3DRMFrame *reference, + D3DVALUE x, D3DVALUE y, D3DVALUE z, BOOL with_rotation) PURE; + STDMETHOD(SetZbufferMode)(THIS_ D3DRMZBUFFERMODE) PURE; + STDMETHOD(Transform)(THIS_ D3DVECTOR *d, D3DVECTOR *s) PURE; + /*** IDirect3DRMFrame2 methods ***/ + STDMETHOD(AddMoveCallback2)(THIS_ D3DRMFRAMEMOVECALLBACK cb, void *ctx, DWORD flags) PURE; + STDMETHOD(GetBox)(THIS_ D3DRMBOX *box) PURE; + STDMETHOD_(BOOL, GetBoxEnable)(THIS) PURE; + STDMETHOD(GetAxes)(THIS_ D3DVECTOR *dir, D3DVECTOR *up); + STDMETHOD(GetMaterial)(THIS_ struct IDirect3DRMMaterial **material) PURE; + STDMETHOD_(BOOL, GetInheritAxes)(THIS); + STDMETHOD(GetHierarchyBox)(THIS_ D3DRMBOX *box) PURE; + STDMETHOD(SetBox)(THIS_ D3DRMBOX *box) PURE; + STDMETHOD(SetBoxEnable)(THIS_ BOOL) PURE; + STDMETHOD(SetAxes)(THIS_ D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz); + STDMETHOD(SetInheritAxes)(THIS_ BOOL inherit_from_parent); + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial *material) PURE; + STDMETHOD(SetQuaternion)(THIS_ IDirect3DRMFrame *reference, D3DRMQUATERNION *q) PURE; + STDMETHOD(RayPick)(THIS_ IDirect3DRMFrame *reference, D3DRMRAY *ray, DWORD flags, + struct IDirect3DRMPicked2Array **return_visuals) PURE; + STDMETHOD(Save)(THIS_ const char *filename, D3DRMXOFFORMAT format, D3DRMSAVEOPTIONS flags); +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFrame2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFrame2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFrame2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFrame2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMFrame2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMFrame2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMFrame2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMFrame2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMFrame2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMFrame2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMFrame2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMFrame methods ***/ +#define IDirect3DRMFrame2_AddChild(p,a) (p)->lpVtbl->AddChild(p,a) +#define IDirect3DRMFrame2_AddLight(p,a) (p)->lpVtbl->AddLight(p,a) +#define IDirect3DRMFrame2_AddMoveCallback(p,a,b) (p)->lpVtbl->AddMoveCallback(p,a,b) +#define IDirect3DRMFrame2_AddTransform(p,a,b) (p)->lpVtbl->AddTransform(p,a,b) +#define IDirect3DRMFrame2_AddTranslation(p,a,b,c,d) (p)->lpVtbl->AddTranslation(p,a,b,c,d) +#define IDirect3DRMFrame2_AddScale(p,a,b,c,d) (p)->lpVtbl->AddScale(p,a,b,c,d) +#define IDirect3DRMFrame2_AddRotation(p,a,b,c,d,e) (p)->lpVtbl->AddRotation(p,a,b,c,d,e) +#define IDirect3DRMFrame2_AddVisual(p,a) (p)->lpVtbl->AddVisual(p,a) +#define IDirect3DRMFrame2_GetChildren(p,a) (p)->lpVtbl->GetChildren(p,a) +#define IDirect3DRMFrame2_GetColor(p) (p)->lpVtbl->GetColor(p) +#define IDirect3DRMFrame2_GetLights(p,a) (p)->lpVtbl->GetLights(p,a) +#define IDirect3DRMFrame2_GetMaterialMode(p) (p)->lpVtbl->GetMaterialMode(p) +#define IDirect3DRMFrame2_GetParent(p,a) (p)->lpVtbl->GetParent(p,a) +#define IDirect3DRMFrame2_GetPosition(p,a,b) (p)->lpVtbl->GetPosition(p,a,b) +#define IDirect3DRMFrame2_GetRotation(p,a,b,c) (p)->lpVtbl->GetRotation(p,a,b,c) +#define IDirect3DRMFrame2_GetScene(p,a) (p)->lpVtbl->GetScene(p,a) +#define IDirect3DRMFrame2_GetSortMode(p) (p)->lpVtbl->GetSortMode(p) +#define IDirect3DRMFrame2_GetTexture(p,a) (p)->lpVtbl->GetTexture(p,a) +#define IDirect3DRMFrame2_GetTransform(p,a) (p)->lpVtbl->GetTransform(p,a) +#define IDirect3DRMFrame2_GetVelocity(p,a,b,c) (p)->lpVtbl->GetVelocity(p,a,b,c) +#define IDirect3DRMFrame2_GetOrientation(p,a,b,c) (p)->lpVtbl->GetOrientation(p,a,b,c) +#define IDirect3DRMFrame2_GetVisuals(p,a) (p)->lpVtbl->GetVisuals(p,a) +#define IDirect3DRMFrame2_GetTextureTopology(p,a,b) (p)->lpVtbl->GetTextureTopology(p,a,b) +#define IDirect3DRMFrame2_InverseTransform(p,a,b) (p)->lpVtbl->InverseTransform(p,a,b) +#define IDirect3DRMFrame2_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMFrame2_LookAt(p,a,b,c) (p)->lpVtbl->LookAt(p,a,b,c) +#define IDirect3DRMFrame2_Move(p,a) (p)->lpVtbl->Move(p,a) +#define IDirect3DRMFrame2_DeleteChild(p,a) (p)->lpVtbl->DeleteChild(p,a) +#define IDirect3DRMFrame2_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a) +#define IDirect3DRMFrame2_DeleteMoveCallback(p,a,b) (p)->lpVtbl->DeleteMoveCallback(p,a,b) +#define IDirect3DRMFrame2_DeleteVisual(p,a) (p)->lpVtbl->DeleteVisual(p,a) +#define IDirect3DRMFrame2_GetSceneBackground(p) (p)->lpVtbl->GetSceneBackground(p) +#define IDirect3DRMFrame2_GetSceneBackgroundDepth(p,a) (p)->lpVtbl->GetSceneBackgroundDepth(p,a) +#define IDirect3DRMFrame2_GetSceneFogColor(p) (p)->lpVtbl->GetSceneFogColor(p) +#define IDirect3DRMFrame2_GetSceneFogEnable(p) (p)->lpVtbl->GetSceneFogEnable(p) +#define IDirect3DRMFrame2_GetSceneFogMode(p) (p)->lpVtbl->GetSceneFogMode(p) +#define IDirect3DRMFrame2_GetSceneFogParams(p,a,b,c) (p)->lpVtbl->GetSceneFogParams(p,a,b,c) +#define IDirect3DRMFrame2_SetSceneBackground(p,a) (p)->lpVtbl->SetSceneBackground(p,a) +#define IDirect3DRMFrame2_SetSceneBackgroundRGB(p,a,b,c) (p)->lpVtbl->SetSceneBackgroundRGB(p,a,b,c) +#define IDirect3DRMFrame2_SetSceneBackgroundDepth(p,a) (p)->lpVtbl->SetSceneBackgroundDepth(p,a) +#define IDirect3DRMFrame2_SetSceneBackgroundImage(p,a) (p)->lpVtbl->SetSceneBackgroundImage(p,a) +#define IDirect3DRMFrame2_SetSceneFogEnable(p,a) (p)->lpVtbl->SetSceneFogEnable(p,a) +#define IDirect3DRMFrame2_SetSceneFogColor(p,a) (p)->lpVtbl->SetSceneFogColor(p,a) +#define IDirect3DRMFrame2_SetSceneFogMode(p,a) (p)->lpVtbl->SetSceneFogMode(p,a) +#define IDirect3DRMFrame2_SetSceneFogParams(p,a,b,c) (p)->lpVtbl->SetSceneFogParams(p,a,b,c) +#define IDirect3DRMFrame2_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMFrame2_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMFrame2_GetZbufferMode(p) (p)->lpVtbl->GetZbufferMode(p) +#define IDirect3DRMFrame2_SetMaterialMode(p,a) (p)->lpVtbl->SetMaterialMode(p,a) +#define IDirect3DRMFrame2_SetOrientation(p,a,b,c,d,e,f,g) (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g) +#define IDirect3DRMFrame2_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d) +#define IDirect3DRMFrame2_SetRotation(p,a,b,c,d,e) (p)->lpVtbl->SetRotation(p,a,b,c,d,e) +#define IDirect3DRMFrame2_SetSortMode(p,a) (p)->lpVtbl->SetSortMode(p,a) +#define IDirect3DRMFrame2_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMFrame2_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMFrame2_SetVelocity(p,a,b,c,d,e) (p)->lpVtbl->SetVelocity(p,a,b,c,d,e) +#define IDirect3DRMFrame2_SetZbufferMode(p,a) (p)->lpVtbl->SetZbufferMode(p,a) +#define IDirect3DRMFrame2_Transform(p,a,b) (p)->lpVtbl->Transform(p,a,b) +/*** IDirect3DRMFrame2 methods ***/ +#define IDirect3DRMFrame2_AddMoveCallback2(p,a,b,c) (p)->lpVtbl->AddMoveCallback2(p,a,b,c) +#define IDirect3DRMFrame2_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMFrame2_GetBoxEnable(p) (p)->lpVtbl->GetBoxEnable(p) +#define IDirect3DRMFrame2_GetAxes(p,a,b) (p)->lpVtbl->GetAxes(p,a,b) +#define IDirect3DRMFrame2_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DRMFrame2_GetInheritAxes(p,a,b) (p)->lpVtbl->GetInheritAxes(p,a,b) +#define IDirect3DRMFrame2_GetHierarchyBox(p,a) (p)->lpVtbl->GetHierarchyBox(p,a) +#define IDirect3DRMFrame2_SetBox(p,a) (p)->lpVtbl->SetBox(p,a) +#define IDirect3DRMFrame2_SetBoxEnable(p,a) (p)->lpVtbl->SetBoxEnable(p,a) +#define IDirect3DRMFrame2_SetAxes(p,a,b,c,d,e,f) (p)->lpVtbl->SetAxes(p,a,b,c,d,e,f) +#define IDirect3DRMFrame2_SetInheritAxes(p,a) (p)->lpVtbl->SetInheritAxes(p,a) +#define IDirect3DRMFrame2_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMFrame2_SetQuaternion(p,a,b) (p)->lpVtbl->SetQuaternion(p,a,b) +#define IDirect3DRMFrame2_RayPick(p,a,b,c,d) (p)->lpVtbl->RayPick(p,a,b,c,d) +#define IDirect3DRMFrame2_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFrame2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFrame2_AddRef(p) (p)->AddRef() +#define IDirect3DRMFrame2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFrame2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMFrame2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMFrame2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMFrame2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMFrame2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMFrame2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMFrame2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMFrame2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMFrame methods ***/ +#define IDirect3DRMFrame2_AddChild(p,a) (p)->AddChild(a) +#define IDirect3DRMFrame2_AddLight(p,a) (p)->AddLight(a) +#define IDirect3DRMFrame2_AddMoveCallback(p,a,b) (p)->AddMoveCallback(a,b) +#define IDirect3DRMFrame2_AddTransform(p,a,b) (p)->AddTransform(a,b) +#define IDirect3DRMFrame2_AddTranslation(p,a,b,c,d) (p)->AddTranslation(a,b,c,d) +#define IDirect3DRMFrame2_AddScale(p,a,b,c,d) (p)->AddScale(a,b,c,d) +#define IDirect3DRMFrame2_AddRotation(p,a,b,c,d,e) (p)->AddRotation(a,b,c,d,e) +#define IDirect3DRMFrame2_AddVisual(p,a) (p)->AddVisual(a) +#define IDirect3DRMFrame2_GetChildren(p,a) (p)->GetChildren(a) +#define IDirect3DRMFrame2_GetColor(p) (p)->GetColor() +#define IDirect3DRMFrame2_GetLights(p,a) (p)->GetLights(a) +#define IDirect3DRMFrame2_GetMaterialMode(p) (p)->GetMaterialMode() +#define IDirect3DRMFrame2_GetParent(p,a) (p)->GetParent(a) +#define IDirect3DRMFrame2_GetPosition(p,a,b) (p)->GetPosition(a,b) +#define IDirect3DRMFrame2_GetRotation(p,a,b,c) (p)->GetRotation(a,b,c) +#define IDirect3DRMFrame2_GetScene(p,a) (p)->GetScene(a) +#define IDirect3DRMFrame2_GetSortMode(p) (p)->GetSortMode() +#define IDirect3DRMFrame2_GetTexture(p,a) (p)->GetTexture(a) +#define IDirect3DRMFrame2_GetTransform(p,a) (p)->GetTransform(a) +#define IDirect3DRMFrame2_GetVelocity(p,a,b,c) (p)->GetVelocity(a,b,c) +#define IDirect3DRMFrame2_GetOrientation(p,a,b,c) (p)->GetOrientation(a,b,c) +#define IDirect3DRMFrame2_GetVisuals(p,a) (p)->GetVisuals(a) +#define IDirect3DRMFrame2_GetTextureTopology(p,a,b) (p)->GetTextureTopology(a,b) +#define IDirect3DRMFrame2_InverseTransform(p,a,b) (p)->InverseTransform(a,b) +#define IDirect3DRMFrame2_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMFrame2_LookAt(p,a,b,c) (p)->LookAt(a,b,c) +#define IDirect3DRMFrame2_Move(p,a) (p)->Move(a) +#define IDirect3DRMFrame2_DeleteChild(p,a) (p)->DeleteChild(a) +#define IDirect3DRMFrame2_DeleteLight(p,a) (p)->DeleteLight(a) +#define IDirect3DRMFrame2_DeleteMoveCallback(p,a,b) (p)->DeleteMoveCallback(a,b) +#define IDirect3DRMFrame2_DeleteVisual(p,a) (p)->DeleteVisual(a) +#define IDirect3DRMFrame2_GetSceneBackground(p) (p)->GetSceneBackground() +#define IDirect3DRMFrame2_GetSceneBackgroundDepth(p,a) (p)->GetSceneBackgroundDepth(a) +#define IDirect3DRMFrame2_GetSceneFogColor(p) (p)->GetSceneFogColor() +#define IDirect3DRMFrame2_GetSceneFogEnable(p) (p)->GetSceneFogEnable() +#define IDirect3DRMFrame2_GetSceneFogMode(p) (p)->GetSceneFogMode() +#define IDirect3DRMFrame2_GetSceneFogParams(p,a,b,c) (p)->GetSceneFogParams(a,b,c) +#define IDirect3DRMFrame2_SetSceneBackground(p,a) (p)->SetSceneBackground(a) +#define IDirect3DRMFrame2_SetSceneBackgroundRGB(p,a,b,c) (p)->SetSceneBackgroundRGB(a,b,c) +#define IDirect3DRMFrame2_SetSceneBackgroundDepth(p,a) (p)->SetSceneBackgroundDepth(a) +#define IDirect3DRMFrame2_SetSceneBackgroundImage(p,a) (p)->SetSceneBackgroundImage(a) +#define IDirect3DRMFrame2_SetSceneFogEnable(p,a) (p)->SetSceneFogEnable(a) +#define IDirect3DRMFrame2_SetSceneFogColor(p,a) (p)->SetSceneFogColor(a) +#define IDirect3DRMFrame2_SetSceneFogMode(p,a) (p)->SetSceneFogMode(a) +#define IDirect3DRMFrame2_SetSceneFogParams(p,a,b,c) (p)->SetSceneFogParams(a,b,c) +#define IDirect3DRMFrame2_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMFrame2_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMFrame2_GetZbufferMode(p) (p)->GetZbufferMode() +#define IDirect3DRMFrame2_SetMaterialMode(p,a) (p)->SetMaterialMode(a) +#define IDirect3DRMFrame2_SetOrientation(p,a,b,c,d,e,f,g) (p)->SetOrientation(a,b,c,d,e,f,g) +#define IDirect3DRMFrame2_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d) +#define IDirect3DRMFrame2_SetRotation(p,a,b,c,d,e) (p)->SetRotation(a,b,c,d,e) +#define IDirect3DRMFrame2_SetSortMode(p,a) (p)->SetSortMode(a) +#define IDirect3DRMFrame2_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMFrame2_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMFrame2_SetVelocity(p,a,b,c,d,e) (p)->SetVelocity(a,b,c,d,e) +#define IDirect3DRMFrame2_SetZbufferMode(p,a) (p)->SetZbufferMode(a) +#define IDirect3DRMFrame2_Transform(p,a,b) (p)->Transform(a,b) +/*** IDirect3DRMFrame2 methods ***/ +#define IDirect3DRMFrame2_AddMoveCallback2(p,a,b,c) (p)->AddMoveCallback2(a,b,c) +#define IDirect3DRMFrame2_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMFrame2_GetBoxEnable(p) (p)->GetBoxEnable() +#define IDirect3DRMFrame2_GetAxes(p,a,b) (p)->GetAxes(a,b) +#define IDirect3DRMFrame2_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DRMFrame2_GetInheritAxes(p,a,b) (p)->GetInheritAxes(a,b) +#define IDirect3DRMFrame2_GetHierarchyBox(p,a) (p)->GetHierarchyBox(a) +#define IDirect3DRMFrame2_SetBox(p,a) (p)->SetBox(a) +#define IDirect3DRMFrame2_SetBoxEnable(p,a) (p)->SetBoxEnable(a) +#define IDirect3DRMFrame2_SetAxes(p,a,b,c,d,e,f) (p)->SetAxes(a,b,c,d,e,f) +#define IDirect3DRMFrame2_SetInheritAxes(p,a) (p)->SetInheritAxes(a) +#define IDirect3DRMFrame2_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMFrame2_SetQuaternion(p,a,b) (p)->SetQuaternion(a,b) +#define IDirect3DRMFrame2_RayPick(p,a,b,c,d) (p)->RayPick(a,b,c,d) +#define IDirect3DRMFrame2_Save(p,a,b,c) (p)->Save(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DRMFrame3 interface + */ +#define INTERFACE IDirect3DRMFrame3 +DECLARE_INTERFACE_(IDirect3DRMFrame3,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMFrame3 methods ***/ + STDMETHOD(AddChild)(THIS_ IDirect3DRMFrame3 *child) PURE; + STDMETHOD(AddLight)(THIS_ struct IDirect3DRMLight *light) PURE; + STDMETHOD(AddMoveCallback)(THIS_ D3DRMFRAME3MOVECALLBACK cb, void *ctx, DWORD flags) PURE; + STDMETHOD(AddTransform)(THIS_ D3DRMCOMBINETYPE, D3DRMMATRIX4D) PURE; + STDMETHOD(AddTranslation)(THIS_ D3DRMCOMBINETYPE, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddScale)(THIS_ D3DRMCOMBINETYPE, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(AddRotation)(THIS_ D3DRMCOMBINETYPE, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta) PURE; + STDMETHOD(AddVisual)(THIS_ IUnknown *visual) PURE; + STDMETHOD(GetChildren)(THIS_ struct IDirect3DRMFrameArray **children) PURE; + STDMETHOD_(D3DCOLOR, GetColor)(THIS) PURE; + STDMETHOD(GetLights)(THIS_ struct IDirect3DRMLightArray **lights) PURE; + STDMETHOD_(D3DRMMATERIALMODE, GetMaterialMode)(THIS) PURE; + STDMETHOD(GetParent)(THIS_ IDirect3DRMFrame3 **parent) PURE; + STDMETHOD(GetPosition)(THIS_ IDirect3DRMFrame3 *reference, D3DVECTOR *return_position) PURE; + STDMETHOD(GetRotation)(THIS_ IDirect3DRMFrame3 *reference, D3DVECTOR *axis, D3DVALUE *return_theta) PURE; + STDMETHOD(GetScene)(THIS_ IDirect3DRMFrame3 **scene) PURE; + STDMETHOD_(D3DRMSORTMODE, GetSortMode)(THIS) PURE; + STDMETHOD(GetTexture)(THIS_ struct IDirect3DRMTexture3 **texture) PURE; + STDMETHOD(GetTransform)(THIS_ IDirect3DRMFrame3 *reference, D3DRMMATRIX4D matrix) PURE; + STDMETHOD(GetVelocity)(THIS_ IDirect3DRMFrame3 *reference, D3DVECTOR *return_velocity, BOOL with_rotation) PURE; + STDMETHOD(GetOrientation)(THIS_ IDirect3DRMFrame3 *reference, D3DVECTOR *dir, D3DVECTOR *up) PURE; + STDMETHOD(GetVisuals)(THIS_ DWORD *count, IUnknown **visuals) PURE; + STDMETHOD(InverseTransform)(THIS_ D3DVECTOR *d, D3DVECTOR *s) PURE; + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURE3CALLBACK cb, void *ctx) PURE; + STDMETHOD(LookAt)(THIS_ IDirect3DRMFrame3 *target, IDirect3DRMFrame3 *reference, + D3DRMFRAMECONSTRAINT constraint) PURE; + STDMETHOD(Move)(THIS_ D3DVALUE delta) PURE; + STDMETHOD(DeleteChild)(THIS_ IDirect3DRMFrame3 *child) PURE; + STDMETHOD(DeleteLight)(THIS_ struct IDirect3DRMLight *light) PURE; + STDMETHOD(DeleteMoveCallback)(THIS_ D3DRMFRAME3MOVECALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteVisual)(THIS_ IUnknown *visual) PURE; + STDMETHOD_(D3DCOLOR, GetSceneBackground)(THIS) PURE; + STDMETHOD(GetSceneBackgroundDepth)(THIS_ IDirectDrawSurface **surface) PURE; + STDMETHOD_(D3DCOLOR, GetSceneFogColor)(THIS) PURE; + STDMETHOD_(BOOL, GetSceneFogEnable)(THIS) PURE; + STDMETHOD_(D3DRMFOGMODE, GetSceneFogMode)(THIS) PURE; + STDMETHOD(GetSceneFogParams)(THIS_ D3DVALUE *return_start, D3DVALUE *return_end, + D3DVALUE *return_density) PURE; + STDMETHOD(SetSceneBackground)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetSceneBackgroundRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetSceneBackgroundDepth)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(SetSceneBackgroundImage)(THIS_ struct IDirect3DRMTexture3 *texture) PURE; + STDMETHOD(SetSceneFogEnable)(THIS_ BOOL) PURE; + STDMETHOD(SetSceneFogColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetSceneFogMode)(THIS_ D3DRMFOGMODE) PURE; + STDMETHOD(SetSceneFogParams)(THIS_ D3DVALUE start, D3DVALUE end, D3DVALUE density) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD_(D3DRMZBUFFERMODE, GetZbufferMode)(THIS) PURE; + STDMETHOD(SetMaterialMode)(THIS_ D3DRMMATERIALMODE) PURE; + STDMETHOD(SetOrientation)(THIS_ IDirect3DRMFrame3 *reference, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, + D3DVALUE ux, D3DVALUE uy, D3DVALUE uz) PURE; + STDMETHOD(SetPosition)(THIS_ IDirect3DRMFrame3 *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetRotation)(THIS_ IDirect3DRMFrame3 *reference, + D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta) PURE; + STDMETHOD(SetSortMode)(THIS_ D3DRMSORTMODE) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture3 *texture) PURE; + STDMETHOD(SetVelocity)(THIS_ IDirect3DRMFrame3 *reference, + D3DVALUE x, D3DVALUE y, D3DVALUE z, BOOL with_rotation) PURE; + STDMETHOD(SetZbufferMode)(THIS_ D3DRMZBUFFERMODE) PURE; + STDMETHOD(Transform)(THIS_ D3DVECTOR *d, D3DVECTOR *s) PURE; + STDMETHOD(GetBox)(THIS_ D3DRMBOX *box) PURE; + STDMETHOD_(BOOL, GetBoxEnable)(THIS) PURE; + STDMETHOD(GetAxes)(THIS_ D3DVECTOR *dir, D3DVECTOR *up); + STDMETHOD(GetMaterial)(THIS_ struct IDirect3DRMMaterial2 **material) PURE; + STDMETHOD_(BOOL, GetInheritAxes)(THIS); + STDMETHOD(GetHierarchyBox)(THIS_ D3DRMBOX *box) PURE; + STDMETHOD(SetBox)(THIS_ D3DRMBOX *box) PURE; + STDMETHOD(SetBoxEnable)(THIS_ BOOL) PURE; + STDMETHOD(SetAxes)(THIS_ D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz); + STDMETHOD(SetInheritAxes)(THIS_ BOOL inherit_from_parent); + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial2 *material) PURE; + STDMETHOD(SetQuaternion)(THIS_ IDirect3DRMFrame3 *reference, D3DRMQUATERNION *q) PURE; + STDMETHOD(RayPick)(THIS_ IDirect3DRMFrame3 *reference, D3DRMRAY *ray, DWORD flags, + struct IDirect3DRMPicked2Array **return_visuals) PURE; + STDMETHOD(Save)(THIS_ const char *filename, D3DRMXOFFORMAT format, D3DRMSAVEOPTIONS flags); + STDMETHOD(TransformVectors)(THIS_ IDirect3DRMFrame3 *reference, DWORD vector_count, + D3DVECTOR *dst_vectors, D3DVECTOR *src_vectors) PURE; + STDMETHOD(InverseTransformVectors)(THIS_ IDirect3DRMFrame3 *reference, DWORD vector_count, + D3DVECTOR *dst_vectors, D3DVECTOR *src_vectors) PURE; + STDMETHOD(SetTraversalOptions)(THIS_ DWORD flags) PURE; + STDMETHOD(GetTraversalOptions)(THIS_ DWORD *flags) PURE; + STDMETHOD(SetSceneFogMethod)(THIS_ DWORD flags) PURE; + STDMETHOD(GetSceneFogMethod)(THIS_ DWORD *fog_mode) PURE; + STDMETHOD(SetMaterialOverride)(THIS_ D3DRMMATERIALOVERRIDE *override) PURE; + STDMETHOD(GetMaterialOverride)(THIS_ D3DRMMATERIALOVERRIDE *override) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFrame3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFrame3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFrame3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFrame3_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMFrame3_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMFrame3_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMFrame3_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMFrame3_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMFrame3_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMFrame3_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMFrame3_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMFrame3 methods ***/ +#define IDirect3DRMFrame3_AddChild(p,a) (p)->lpVtbl->AddChild(p,a) +#define IDirect3DRMFrame3_AddLight(p,a) (p)->lpVtbl->AddLight(p,a) +#define IDirect3DRMFrame3_AddMoveCallback(p,a,b,c) (p)->lpVtbl->AddMoveCallback(p,a,b,c) +#define IDirect3DRMFrame3_AddTransform(p,a,b) (p)->lpVtbl->AddTransform(p,a,b) +#define IDirect3DRMFrame3_AddTranslation(p,a,b,c,d) (p)->lpVtbl->AddTranslation(p,a,b,c,d) +#define IDirect3DRMFrame3_AddScale(p,a,b,c,d) (p)->lpVtbl->AddScale(p,a,b,c,d) +#define IDirect3DRMFrame3_AddRotation(p,a,b,c,d,e) (p)->lpVtbl->AddRotation(p,a,b,c,d,e) +#define IDirect3DRMFrame3_AddVisual(p,a) (p)->lpVtbl->AddVisual(p,a) +#define IDirect3DRMFrame3_GetChildren(p,a) (p)->lpVtbl->GetChildren(p,a) +#define IDirect3DRMFrame3_GetColor(p) (p)->lpVtbl->GetColor(p) +#define IDirect3DRMFrame3_GetLights(p,a) (p)->lpVtbl->GetLights(p,a) +#define IDirect3DRMFrame3_GetMaterialMode(p) (p)->lpVtbl->GetMaterialMode(p) +#define IDirect3DRMFrame3_GetParent(p,a) (p)->lpVtbl->GetParent(p,a) +#define IDirect3DRMFrame3_GetPosition(p,a,b) (p)->lpVtbl->GetPosition(p,a,b) +#define IDirect3DRMFrame3_GetRotation(p,a,b,c) (p)->lpVtbl->GetRotation(p,a,b,c) +#define IDirect3DRMFrame3_GetScene(p,a) (p)->lpVtbl->GetScene(p,a) +#define IDirect3DRMFrame3_GetSortMode(p) (p)->lpVtbl->GetSortMode(p) +#define IDirect3DRMFrame3_GetTexture(p,a) (p)->lpVtbl->GetTexture(p,a) +#define IDirect3DRMFrame3_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) +#define IDirect3DRMFrame3_GetVelocity(p,a,b,c) (p)->lpVtbl->GetVelocity(p,a,b,c) +#define IDirect3DRMFrame3_GetOrientation(p,a,b,c) (p)->lpVtbl->GetOrientation(p,a,b,c) +#define IDirect3DRMFrame3_GetVisuals(p,a,b) (p)->lpVtbl->GetVisuals(p,a,b) +#define IDirect3DRMFrame3_InverseTransform(p,a,b) (p)->lpVtbl->InverseTransform(p,a,b) +#define IDirect3DRMFrame3_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMFrame3_LookAt(p,a,b,c) (p)->lpVtbl->LookAt(p,a,b,c) +#define IDirect3DRMFrame3_Move(p,a) (p)->lpVtbl->Move(p,a) +#define IDirect3DRMFrame3_DeleteChild(p,a) (p)->lpVtbl->DeleteChild(p,a) +#define IDirect3DRMFrame3_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a) +#define IDirect3DRMFrame3_DeleteMoveCallback(p,a,b) (p)->lpVtbl->DeleteMoveCallback(p,a,b) +#define IDirect3DRMFrame3_DeleteVisual(p,a) (p)->lpVtbl->DeleteVisual(p,a) +#define IDirect3DRMFrame3_GetSceneBackground(p) (p)->lpVtbl->GetSceneBackground(p) +#define IDirect3DRMFrame3_GetSceneBackgroundDepth(p,a) (p)->lpVtbl->GetSceneBackgroundDepth(p,a) +#define IDirect3DRMFrame3_GetSceneFogColor(p) (p)->lpVtbl->GetSceneFogColor(p) +#define IDirect3DRMFrame3_GetSceneFogEnable(p) (p)->lpVtbl->GetSceneFogEnable(p) +#define IDirect3DRMFrame3_GetSceneFogMode(p) (p)->lpVtbl->GetSceneFogMode(p) +#define IDirect3DRMFrame3_GetSceneFogParams(p,a,b,c) (p)->lpVtbl->GetSceneFogParams(p,a,b,c) +#define IDirect3DRMFrame3_SetSceneBackground(p,a) (p)->lpVtbl->SetSceneBackground(p,a) +#define IDirect3DRMFrame3_SetSceneBackgroundRGB(p,a,b,c) (p)->lpVtbl->SetSceneBackgroundRGB(p,a,b,c) +#define IDirect3DRMFrame3_SetSceneBackgroundDepth(p,a) (p)->lpVtbl->SetSceneBackgroundDepth(p,a) +#define IDirect3DRMFrame3_SetSceneBackgroundImage(p,a) (p)->lpVtbl->SetSceneBackgroundImage(p,a) +#define IDirect3DRMFrame3_SetSceneFogEnable(p,a) (p)->lpVtbl->SetSceneFogEnable(p,a) +#define IDirect3DRMFrame3_SetSceneFogColor(p,a) (p)->lpVtbl->SetSceneFogColor(p,a) +#define IDirect3DRMFrame3_SetSceneFogMode(p,a) (p)->lpVtbl->SetSceneFogMode(p,a) +#define IDirect3DRMFrame3_SetSceneFogParams(p,a,b,c) (p)->lpVtbl->SetSceneFogParams(p,a,b,c) +#define IDirect3DRMFrame3_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMFrame3_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMFrame3_GetZbufferMode(p) (p)->lpVtbl->GetZbufferMode(p) +#define IDirect3DRMFrame3_SetMaterialMode(p,a) (p)->lpVtbl->SetMaterialMode(p,a) +#define IDirect3DRMFrame3_SetOrientation(p,a,b,c,d,e,f,g) (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g) +#define IDirect3DRMFrame3_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d) +#define IDirect3DRMFrame3_SetRotation(p,a,b,c,d,e) (p)->lpVtbl->SetRotation(p,a,b,c,d,e) +#define IDirect3DRMFrame3_SetSortMode(p,a) (p)->lpVtbl->SetSortMode(p,a) +#define IDirect3DRMFrame3_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMFrame3_SetVelocity(p,a,b,c,d,e) (p)->lpVtbl->SetVelocity(p,a,b,c,d,e) +#define IDirect3DRMFrame3_SetZbufferMode(p,a) (p)->lpVtbl->SetZbufferMode(p,a) +#define IDirect3DRMFrame3_Transform(p,a,b) (p)->lpVtbl->Transform(p,a,b) +#define IDirect3DRMFrame3_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMFrame3_GetBoxEnable(p) (p)->lpVtbl->GetBoxEnable(p) +#define IDirect3DRMFrame3_GetAxes(p,a,b) (p)->lpVtbl->GetAxes(p,a,b) +#define IDirect3DRMFrame3_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) +#define IDirect3DRMFrame3_GetInheritAxes(p) (p)->lpVtbl->GetInheritAxes(p) +#define IDirect3DRMFrame3_GetHierarchyBox(p,a) (p)->lpVtbl->GetHierarchyBox(p,a) +#define IDirect3DRMFrame3_SetBox(p,a) (p)->lpVtbl->SetBox(p,a) +#define IDirect3DRMFrame3_SetBoxEnable(p,a) (p)->lpVtbl->SetBoxEnable(p,a) +#define IDirect3DRMFrame3_SetAxes(p,a,b,c,d,e,f) (p)->lpVtbl->SetAxes(p,a,b,c,d,e,f) +#define IDirect3DRMFrame3_SetInheritAxes(p,a) (p)->lpVtbl->SetInheritAxes(p,a) +#define IDirect3DRMFrame3_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMFrame3_SetQuaternion(p,a,b) (p)->lpVtbl->SetQuaternion(p,a,b) +#define IDirect3DRMFrame3_RayPick(p,a,b,c,d) (p)->lpVtbl->RayPick(p,a,b,c,d) +#define IDirect3DRMFrame3_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c) +#define IDirect3DRMFrame3_TransformVectors(p,a,b,c,d) (p)->lpVtbl->TransformVectors(p,a,b,c,d) +#define IDirect3DRMFrame3_InverseTransformVectors(p,a,b,c,d) (p)->lpVtbl->InverseTransformVectors(p,a,b,c,d) +#define IDirect3DRMFrame3_SetTraversalOptions(p,a) (p)->lpVtbl->SetTraversalOptions(p,a) +#define IDirect3DRMFrame3_GetTraversalOptions(p,a) (p)->lpVtbl->GetTraversalOptions(p,a) +#define IDirect3DRMFrame3_SetSceneFogMethod(p,a) (p)->lpVtbl->SetSceneFogMethod(p,a) +#define IDirect3DRMFrame3_GetSceneFogMethod(p,a) (p)->lpVtbl->GetSceneFogMethod(p,a) +#define IDirect3DRMFrame3_SetMaterialOverride(p,a) (p)->lpVtbl->SetMaterialOverride(p,a) +#define IDirect3DRMFrame3_GetMaterialOverride(p,a) (p)->lpVtbl->GetMaterialOverride(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFrame3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFrame3_AddRef(p) (p)->AddRef() +#define IDirect3DRMFrame3_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFrame3_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMFrame3_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMFrame3_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMFrame3_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMFrame3_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMFrame3_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMFrame3_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMFrame3_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMFrame3 methods ***/ +#define IDirect3DRMFrame3_AddChild(p,a) (p)->AddChild(a) +#define IDirect3DRMFrame3_AddLight(p,a) (p)->AddLight(a) +#define IDirect3DRMFrame3_AddMoveCallback(p,a,b,c) (p)->AddMoveCallback(a,b,c) +#define IDirect3DRMFrame3_AddTransform(p,a,b) (p)->AddTransform(a,b) +#define IDirect3DRMFrame3_AddTranslation(p,a,b,c,d) (p)->AddTranslation(a,b,c,d) +#define IDirect3DRMFrame3_AddScale(p,a,b,c,d) (p)->AddScale(a,b,c,d) +#define IDirect3DRMFrame3_AddRotation(p,a,b,c,d,e) (p)->AddRotation(a,b,c,d,e) +#define IDirect3DRMFrame3_AddVisual(p,a) (p)->AddVisual(a) +#define IDirect3DRMFrame3_GetChildren(p,a) (p)->GetChildren(a) +#define IDirect3DRMFrame3_GetColor(p) (p)->GetColor() +#define IDirect3DRMFrame3_GetLights(p,a) (p)->GetLights(a) +#define IDirect3DRMFrame3_GetMaterialMode(p) (p)->GetMaterialMode() +#define IDirect3DRMFrame3_GetParent(p,a) (p)->GetParent(a) +#define IDirect3DRMFrame3_GetPosition(p,a,b) (p)->GetPosition(a,b) +#define IDirect3DRMFrame3_GetRotation(p,a,b,c) (p)->GetRotation(a,b,c) +#define IDirect3DRMFrame3_GetScene(p,a) (p)->GetScene(a) +#define IDirect3DRMFrame3_GetSortMode(p) (p)->GetSortMode() +#define IDirect3DRMFrame3_GetTexture(p,a) (p)->GetTexture(a) +#define IDirect3DRMFrame3_GetTransform(p,a,b) (p)->GetTransform(a,b) +#define IDirect3DRMFrame3_GetVelocity(p,a,b,c) (p)->GetVelocity(a,b,c) +#define IDirect3DRMFrame3_GetOrientation(p,a,b,c) (p)->GetOrientation(a,b,c) +#define IDirect3DRMFrame3_GetVisuals(p,a,b) (p)->GetVisuals(a,b) +#define IDirect3DRMFrame3_InverseTransform(p,a,b) (p)->InverseTransform(a,b) +#define IDirect3DRMFrame3_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMFrame3_LookAt(p,a,b,c) (p)->LookAt(a,b,c) +#define IDirect3DRMFrame3_Move(p,a) (p)->Move(a) +#define IDirect3DRMFrame3_DeleteChild(p,a) (p)->DeleteChild(a) +#define IDirect3DRMFrame3_DeleteLight(p,a) (p)->DeleteLight(a) +#define IDirect3DRMFrame3_DeleteMoveCallback(p,a,b) (p)->DeleteMoveCallback(a,b) +#define IDirect3DRMFrame3_DeleteVisual(p,a) (p)->DeleteVisual(a) +#define IDirect3DRMFrame3_GetSceneBackground(p) (p)->GetSceneBackground() +#define IDirect3DRMFrame3_GetSceneBackgroundDepth(p,a) (p)->GetSceneBackgroundDepth(a) +#define IDirect3DRMFrame3_GetSceneFogColor(p) (p)->GetSceneFogColor() +#define IDirect3DRMFrame3_GetSceneFogEnable(p) (p)->GetSceneFogEnable() +#define IDirect3DRMFrame3_GetSceneFogMode(p) (p)->GetSceneFogMode() +#define IDirect3DRMFrame3_GetSceneFogParams(p,a,b,c) (p)->GetSceneFogParams(a,b,c) +#define IDirect3DRMFrame3_SetSceneBackground(p,a) (p)->SetSceneBackground(a) +#define IDirect3DRMFrame3_SetSceneBackgroundRGB(p,a,b,c) (p)->SetSceneBackgroundRGB(a,b,c) +#define IDirect3DRMFrame3_SetSceneBackgroundDepth(p,a) (p)->SetSceneBackgroundDepth(a) +#define IDirect3DRMFrame3_SetSceneBackgroundImage(p,a) (p)->SetSceneBackgroundImage(a) +#define IDirect3DRMFrame3_SetSceneFogEnable(p,a) (p)->SetSceneFogEnable(a) +#define IDirect3DRMFrame3_SetSceneFogColor(p,a) (p)->SetSceneFogColor(a) +#define IDirect3DRMFrame3_SetSceneFogMode(p,a) (p)->SetSceneFogMode(a) +#define IDirect3DRMFrame3_SetSceneFogParams(p,a,b,c) (p)->SetSceneFogParams(a,b,c) +#define IDirect3DRMFrame3_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMFrame3_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMFrame3_GetZbufferMode(p) (p)->GetZbufferMode() +#define IDirect3DRMFrame3_SetMaterialMode(p,a) (p)->SetMaterialMode(a) +#define IDirect3DRMFrame3_SetOrientation(p,a,b,c,d,e,f,g) (p)->SetOrientation(a,b,c,d,e,f,g) +#define IDirect3DRMFrame3_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d) +#define IDirect3DRMFrame3_SetRotation(p,a,b,c,d,e) (p)->SetRotation(a,b,c,d,e) +#define IDirect3DRMFrame3_SetSortMode(p,a) (p)->SetSortMode(a) +#define IDirect3DRMFrame3_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMFrame3_SetVelocity(p,a,b,c,d,e) (p)->SetVelocity(a,b,c,d,e) +#define IDirect3DRMFrame3_SetZbufferMode(p,a) (p)->SetZbufferMode(a) +#define IDirect3DRMFrame3_Transform(p,a,b) (p)->Transform(a,b) +#define IDirect3DRMFrame3_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMFrame3_GetBoxEnable(p) (p)->GetBoxEnable() +#define IDirect3DRMFrame3_GetAxes(p,a,b) (p)->GetAxes(a,b) +#define IDirect3DRMFrame3_GetMaterial(p,a) (p)->GetMaterial(a) +#define IDirect3DRMFrame3_GetInheritAxes(p) (p)->GetInheritAxes() +#define IDirect3DRMFrame3_GetHierarchyBox(p,a) (p)->GetHierarchyBox(a) +#define IDirect3DRMFrame3_SetBox(p,a) (p)->SetBox(a) +#define IDirect3DRMFrame3_SetBoxEnable(p,a) (p)->SetBoxEnable(a) +#define IDirect3DRMFrame3_SetAxes(p,a,b,c,d,e,f) (p)->SetAxes(a,b,c,d,e,f) +#define IDirect3DRMFrame3_SetInheritAxes(p,a) (p)->SetInheritAxes(a) +#define IDirect3DRMFrame3_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMFrame3_SetQuaternion(p,a,b) (p)->SetQuaternion(a,b) +#define IDirect3DRMFrame3_RayPick(p,a,b,c,d) (p)->RayPick(a,b,c,d) +#define IDirect3DRMFrame3_Save(p,a,b,c) (p)->Save(a,b,c) +#define IDirect3DRMFrame3_TransformVectors(p,a,b,c,d) (p)->TransformVectors(a,b,c,d) +#define IDirect3DRMFrame3_InverseTransformVectors(p,a,b,c,d) (p)->InverseTransformVectors(a,b,c,d) +#define IDirect3DRMFrame3_SetTraversalOptions(p,a) (p)->SetTraversalOptions(a) +#define IDirect3DRMFrame3_GetTraversalOptions(p,a) (p)->GetTraversalOptions(a) +#define IDirect3DRMFrame3_SetSceneFogMethod(p,a) (p)->SetSceneFogMethod(a) +#define IDirect3DRMFrame3_GetSceneFogMethod(p,a) (p)->GetSceneFogMethod(a) +#define IDirect3DRMFrame3_SetMaterialOverride(p,a) (p)->SetMaterialOverride(a) +#define IDirect3DRMFrame3_GetMaterialOverride(p,a) (p)->GetMaterialOverride(a) +#endif + +/***************************************************************************** + * IDirect3DRMMesh interface + */ +#define INTERFACE IDirect3DRMMesh +DECLARE_INTERFACE_(IDirect3DRMMesh,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMMesh methods ***/ + STDMETHOD(Scale)(THIS_ D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(Translate)(THIS_ D3DVALUE tx, D3DVALUE ty, D3DVALUE tz) PURE; + STDMETHOD(GetBox)(THIS_ D3DRMBOX *) PURE; + STDMETHOD(AddGroup)(THIS_ unsigned vCount, unsigned fCount, unsigned vPerFace, unsigned *fData, + D3DRMGROUPINDEX *returnId) PURE; + STDMETHOD(SetVertices)(THIS_ D3DRMGROUPINDEX id, unsigned index, unsigned count, + D3DRMVERTEX *values) PURE; + STDMETHOD(SetGroupColor)(THIS_ D3DRMGROUPINDEX id, D3DCOLOR value) PURE; + STDMETHOD(SetGroupColorRGB)(THIS_ D3DRMGROUPINDEX id, D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetGroupMapping)(THIS_ D3DRMGROUPINDEX id, D3DRMMAPPING value) PURE; + STDMETHOD(SetGroupQuality)(THIS_ D3DRMGROUPINDEX id, D3DRMRENDERQUALITY value) PURE; + STDMETHOD(SetGroupMaterial)(THIS_ D3DRMGROUPINDEX id, struct IDirect3DRMMaterial *material) PURE; + STDMETHOD(SetGroupTexture)(THIS_ D3DRMGROUPINDEX id, struct IDirect3DRMTexture *texture) PURE; + STDMETHOD_(unsigned, GetGroupCount)(THIS) PURE; + STDMETHOD(GetGroup)(THIS_ D3DRMGROUPINDEX id, unsigned *vCount, unsigned *fCount, unsigned *vPerFace, + DWORD *fDataSize, unsigned *fData) PURE; + STDMETHOD(GetVertices)(THIS_ D3DRMGROUPINDEX id, DWORD index, DWORD count, D3DRMVERTEX *returnPtr) PURE; + STDMETHOD_(D3DCOLOR, GetGroupColor)(THIS_ D3DRMGROUPINDEX id) PURE; + STDMETHOD_(D3DRMMAPPING, GetGroupMapping)(THIS_ D3DRMGROUPINDEX id) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetGroupQuality)(THIS_ D3DRMGROUPINDEX id) PURE; + STDMETHOD(GetGroupMaterial)(THIS_ D3DRMGROUPINDEX id, struct IDirect3DRMMaterial **material) PURE; + STDMETHOD(GetGroupTexture)(THIS_ D3DRMGROUPINDEX id, struct IDirect3DRMTexture **texture) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMMesh_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMMesh_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMMesh_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMesh_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMMesh_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMMesh_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMMesh_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMMesh_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMMesh_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMMesh_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMMesh_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMMesh methods ***/ +#define IDirect3DRMMesh_Scale(p,a,b,c) (p)->lpVtbl->Scale(p,a,b,c) +#define IDirect3DRMMesh_Translate(p,a,b,c) (p)->lpVtbl->Translate(p,a,b,c) +#define IDirect3DRMMesh_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMMesh_AddGroup(p,a,b,c,d,e) (p)->lpVtbl->AddGroup(p,a,b,c,d,e) +#define IDirect3DRMMesh_SetVertices(p,a,b,c,d) (p)->lpVtbl->SetVertices(p,a,b,c,d) +#define IDirect3DRMMesh_SetGroupColor(p,a,b) (p)->lpVtbl->SetGroupColor(p,a,b) +#define IDirect3DRMMesh_SetGroupColorRGB(p,a,b,c,d) (p)->lpVtbl->SetGroupColorRGB(p,a,b,c,d) +#define IDirect3DRMMesh_SetGroupMapping(p,a,b) (p)->lpVtbl->SetGroupMapping(p,a,b) +#define IDirect3DRMMesh_SetGroupQuality(p,a,b) (p)->lpVtbl->SetGroupQuality(p,a,b) +#define IDirect3DRMMesh_SetGroupMaterial(p,a,b) (p)->lpVtbl->SetGroupMaterial(p,a,b) +#define IDirect3DRMMesh_SetGroupTexture(p,a,b) (p)->lpVtbl->SetGroupTexture(p,a,b) +#define IDirect3DRMMesh_GetGroupCount(p) (p)->lpVtbl->GetGroupCount(p) +#define IDirect3DRMMesh_GetGroup(p,a,b,c,d,e,f) (p)->lpVtbl->GetGroup(p,a,b,c,d,e,f) +#define IDirect3DRMMesh_GetVertices(p,a,b,c,d) (p)->lpVtbl->GetVertices(p,a,b,c,d) +#define IDirect3DRMMesh_GetGroupColor(p,a) (p)->lpVtbl->GetGroupColor(p,a) +#define IDirect3DRMMesh_GetGroupMapping(p,a) (p)->lpVtbl->GetGroupMapping(p,a) +#define IDirect3DRMMesh_GetGroupQuality(p,a) (p)->lpVtbl->GetGroupQuality(p,a) +#define IDirect3DRMMesh_GetGroupMaterial(p,a,b) (p)->lpVtbl->GetGroupMaterial(p,a,b) +#define IDirect3DRMMesh_GetGroupTexture(p,a,b) (p)->lpVtbl->GetGroupTexture(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMMesh_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMMesh_AddRef(p) (p)->AddRef() +#define IDirect3DRMMesh_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMesh_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMMesh_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMMesh_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMMesh_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMMesh_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMMesh_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMMesh_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMMesh_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMMesh methods ***/ +#define IDirect3DRMMesh_Scale(p,a,b,c) (p)->Scale(a,b,c) +#define IDirect3DRMMesh_Translate(p,a,b,c) (p)->Translate(a,b,c) +#define IDirect3DRMMesh_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMMesh_AddGroup(p,a,b,c,d,e) (p)->AddGroup(a,b,c,d,e) +#define IDirect3DRMMesh_SetVertices(p,a,b,c,d) (p)->SetVertices(a,b,c,d) +#define IDirect3DRMMesh_SetGroupColor(p,a,b) (p)->SetGroupColor(a,b) +#define IDirect3DRMMesh_SetGroupColorRGB(p,a,b,c,d) (p)->SetGroupColorRGB(a,b,c,d) +#define IDirect3DRMMesh_SetGroupMapping(p,a,b) (p)->SetGroupMapping(a,b) +#define IDirect3DRMMesh_SetGroupQuality(p,a,b) (p)->SetGroupQuality(a,b) +#define IDirect3DRMMesh_SetGroupMaterial(p,a,b) (p)->SetGroupMaterial(a,b) +#define IDirect3DRMMesh_SetGroupTexture(p,a,b) (p)->SetGroupTexture(a,b) +#define IDirect3DRMMesh_GetGroupCount(p) (p)->GetGroupCount() +#define IDirect3DRMMesh_GetGroup(p,a,b,c,d,e,f) (p)->GetGroup(a,b,c,d,e,f) +#define IDirect3DRMMesh_GetVertices(p,a,b,c,d) (p)->GetVertices(a,b,c,d) +#define IDirect3DRMMesh_GetGroupColor(p,a) (p)->GetGroupColor(a) +#define IDirect3DRMMesh_GetGroupMapping(p,a) (p)->GetGroupMapping(a) +#define IDirect3DRMMesh_GetGroupQuality(p,a) (p)->GetGroupQuality(a) +#define IDirect3DRMMesh_GetGroupMaterial(p,a,b) (p)->GetGroupMaterial(a,b) +#define IDirect3DRMMesh_GetGroupTexture(p,a,b) (p)->GetGroupTexture(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMProgressiveMesh interface + */ +#define INTERFACE IDirect3DRMProgressiveMesh +DECLARE_INTERFACE_(IDirect3DRMProgressiveMesh,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMProgressiveMesh methods ***/ + STDMETHOD(Load) (THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURECALLBACK cb, void *ctx) PURE; + STDMETHOD(GetLoadStatus) (THIS_ D3DRMPMESHLOADSTATUS *status) PURE; + STDMETHOD(SetMinRenderDetail) (THIS_ D3DVALUE d3dVal) PURE; + STDMETHOD(Abort) (THIS_ DWORD flags) PURE; + STDMETHOD(GetFaceDetail) (THIS_ DWORD *count) PURE; + STDMETHOD(GetVertexDetail) (THIS_ DWORD *count) PURE; + STDMETHOD(SetFaceDetail) (THIS_ DWORD count) PURE; + STDMETHOD(SetVertexDetail) (THIS_ DWORD count) PURE; + STDMETHOD(GetFaceDetailRange) (THIS_ DWORD *min_detail, DWORD *max_detail) PURE; + STDMETHOD(GetVertexDetailRange) (THIS_ DWORD *min_detail, DWORD *max_detail) PURE; + STDMETHOD(GetDetail) (THIS_ D3DVALUE *pdvVal) PURE; + STDMETHOD(SetDetail) (THIS_ D3DVALUE d3dVal) PURE; + STDMETHOD(RegisterEvents) (THIS_ HANDLE event, DWORD flags, DWORD reserved) PURE; + STDMETHOD(CreateMesh) (THIS_ IDirect3DRMMesh **mesh) PURE; + STDMETHOD(Duplicate) (THIS_ IDirect3DRMProgressiveMesh **mesh) PURE; + STDMETHOD(GetBox) (THIS_ D3DRMBOX *box) PURE; + STDMETHOD(SetQuality) (THIS_ D3DRMRENDERQUALITY quality) PURE; + STDMETHOD(GetQuality) (THIS_ D3DRMRENDERQUALITY *quality) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMProgressiveMesh_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMProgressiveMesh_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMProgressiveMesh_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMProgressiveMesh_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMProgressiveMesh_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMProgressiveMesh_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMProgressiveMesh_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMProgressiveMesh_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMProgressiveMesh_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMProgressiveMesh_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMProgressiveMesh_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMProgressiveMesh methods ***/ +#define IDirect3DRMProgressiveMesh_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMProgressiveMesh_GetLoadStatus(p,a) (p)->lpVtbl->GetLoadStatus(p,a) +#define IDirect3DRMProgressiveMesh_SetMinRenderDetail(p,a) (p)->lpVtbl->SetMinRenderDetail(p,a) +#define IDirect3DRMProgressiveMesh_Abort(p,a) (p)->lpVtbl->Abort(p,a) +#define IDirect3DRMProgressiveMesh_GetFaceDetail(p,a) (p)->lpVtbl->GetFaceDetail(p,a) +#define IDirect3DRMProgressiveMesh_GetVertexDetail(p,a) (p)->lpVtbl->GetVertexDetail(p,a) +#define IDirect3DRMProgressiveMesh_SetFaceDetail(p,a) (p)->lpVtbl->SetFaceDetail(p,a) +#define IDirect3DRMProgressiveMesh_SetVertexDetail(p,a) (p)->lpVtbl->SetVertexDetail(p,a) +#define IDirect3DRMProgressiveMesh_GetFaceDetailRange(p,a,b) (p)->lpVtbl->GetFaceDetailRange(p,a,b) +#define IDirect3DRMProgressiveMesh_GetVertexDetailRange(p,a,b) (p)->lpVtbl->GetVertexDetailRange(p,a,b) +#define IDirect3DRMProgressiveMesh_GetDetail(p,a) (p)->lpVtbl->GetDetail(p,a) +#define IDirect3DRMProgressiveMesh_SetDetail(p,a) (p)->lpVtbl->SetDetail(p,a) +#define IDirect3DRMProgressiveMesh_RegisterEvents(p,a,b,c) (p)->lpVtbl->RegisterEvents(p,a,b,c) +#define IDirect3DRMProgressiveMesh_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +#define IDirect3DRMProgressiveMesh_Duplicate(p,a) (p)->lpVtbl->Duplicate(p,a) +#define IDirect3DRMProgressiveMesh_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMProgressiveMesh_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMProgressiveMesh_GetQuality(p,a) (p)->lpVtbl->GetQuality(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMProgressiveMesh_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMProgressiveMesh_AddRef(p) (p)->AddRef() +#define IDirect3DRMProgressiveMesh_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMProgressiveMesh_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMProgressiveMesh_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMProgressiveMesh_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMProgressiveMesh_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMProgressiveMesh_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMProgressiveMesh_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMProgressiveMesh_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMProgressiveMesh_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMProgressiveMesh methods ***/ +#define IDirect3DRMProgressiveMesh_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMProgressiveMesh_GetLoadStatus(p,a) (p)->GetLoadStatus(a) +#define IDirect3DRMProgressiveMesh_SetMinRenderDetail(p,a) (p)->SetMinRenderDetail(a) +#define IDirect3DRMProgressiveMesh_Abort(p,a) (p)->Abort(a) +#define IDirect3DRMProgressiveMesh_GetFaceDetail(p,a) (p)->GetFaceDetail(a) +#define IDirect3DRMProgressiveMesh_GetVertexDetail(p,a) (p)->GetVertexDetail(a) +#define IDirect3DRMProgressiveMesh_SetFaceDetail(p,a) (p)->SetFaceDetail(a) +#define IDirect3DRMProgressiveMesh_SetVertexDetail(p,a) (p)->SetVertexDetail(a) +#define IDirect3DRMProgressiveMesh_GetFaceDetailRange(p,a,b) (p)->GetFaceDetailRange(a,b) +#define IDirect3DRMProgressiveMesh_GetVertexDetailRange(p,a,b) (p)->GetVertexDetailRange(a,b) +#define IDirect3DRMProgressiveMesh_GetDetail(p,a) (p)->GetDetail(a) +#define IDirect3DRMProgressiveMesh_SetDetail(p,a) (p)->SetDetail(a) +#define IDirect3DRMProgressiveMesh_RegisterEvents(p,a,b,c) (p)->RegisterEvents(a,b,c) +#define IDirect3DRMProgressiveMesh_CreateMesh(p,a) (p)->CreateMesh(a) +#define IDirect3DRMProgressiveMesh_Duplicate(p,a) (p)->Duplicate(a) +#define IDirect3DRMProgressiveMesh_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMProgressiveMesh_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMProgressiveMesh_GetQuality(p,a) (p)->GetQuality(a) +#endif + +/***************************************************************************** + * IDirect3DRMShadow interface + */ +#define INTERFACE IDirect3DRMShadow +DECLARE_INTERFACE_(IDirect3DRMShadow,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMShadow methods ***/ + STDMETHOD(Init)(THIS_ IDirect3DRMVisual *visual, struct IDirect3DRMLight *light, + D3DVALUE px, D3DVALUE py, D3DVALUE pz, D3DVALUE nx, D3DVALUE ny, D3DVALUE nz) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMShadow_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMShadow_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMShadow_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMShadow_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMShadow_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMShadow_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMShadow_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMShadow_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMShadow_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMShadow_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMShadow_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMShadow methods ***/ +#define IDirect3DRMShadow_Init(p,a,b,c,d,e,f,g) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMShadow_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMShadow_AddRef(p) (p)->AddRef() +#define IDirect3DRMShadow_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMShadow_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMShadow_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMShadow_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMShadow_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMShadow_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMShadow_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMShadow_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMShadow_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMShadow methods ***/ +#define IDirect3DRMShadow_Init(p,a,b,c,d,e,f,g) (p)->Load(a,b,c,d,e,f,g) +#endif + +/***************************************************************************** + * IDirect3DRMShadow2 interface + */ +#define INTERFACE IDirect3DRMShadow2 +DECLARE_INTERFACE_(IDirect3DRMShadow2,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMShadow methods ***/ + STDMETHOD(Init)(THIS_ IUnknown *object, struct IDirect3DRMLight *light, + D3DVALUE px, D3DVALUE py, D3DVALUE pz, D3DVALUE nx, D3DVALUE ny, D3DVALUE nz) PURE; + /*** IDirect3DRMShadow2 methods ***/ + STDMETHOD(GetVisual)(THIS_ IDirect3DRMVisual **visual) PURE; + STDMETHOD(SetVisual)(THIS_ IUnknown *visual, DWORD flags) PURE; + STDMETHOD(GetLight)(THIS_ struct IDirect3DRMLight **light) PURE; + STDMETHOD(SetLight)(THIS_ struct IDirect3DRMLight *light, DWORD flags) PURE; + STDMETHOD(GetPlane)(THIS_ D3DVALUE *px, D3DVALUE *py, D3DVALUE *pz, + D3DVALUE *nx, D3DVALUE *ny, D3DVALUE *nz) PURE; + STDMETHOD(SetPlane)(THIS_ D3DVALUE px, D3DVALUE py, D3DVALUE pz, + D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, DWORD) PURE; + STDMETHOD(GetOptions)(THIS_ DWORD *flags) PURE; + STDMETHOD(SetOptions)(THIS_ DWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMShadow2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMShadow2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMShadow2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMShadow2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMShadow2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMShadow2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMShadow2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMShadow2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMShadow2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMShadow2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMShadow2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMShadow methods ***/ +#define IDirect3DRMShadow2_Init(p,a,b,c,d,e,f,g) (p)->lpVtbl->Init(p,a,b,c,d,e,f,g) +/*** IDirect3DRMShadow2 methods ***/ +#define IDirect3DRMShadow2_GetVisual(p,a) (p)->lpVtbl->GetVisual(p,a) +#define IDirect3DRMShadow2_SetVisual(p,a,b) (p)->lpVtbl->SetVisual(p,a,b) +#define IDirect3DRMShadow2_GetLight(p,a) (p)->lpVtbl->GetLight(p,a) +#define IDirect3DRMShadow2_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b) +#define IDirect3DRMShadow2_GetPlane(p,a,b,c,d,e,f) (p)->lpVtbl->GetPlane(p,a,b,c,d,e,f) +#define IDirect3DRMShadow2_SetPlane(p,a,b,c,d,e,f) (p)->lpVtbl->SetPlane(p,a,b,c,d,e,f) +#define IDirect3DRMShadow2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a) +#define IDirect3DRMShadow2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMShadow2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMShadow2_AddRef(p) (p)->AddRef() +#define IDirect3DRMShadow2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMShadow2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMShadow2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMShadow2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMShadow2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMShadow2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMShadow2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMShadow2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMShadow2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMShadow methods ***/ +#define IDirect3DRMShadow2_Init(p,a,b,c,d,e,f,g) (p)->Init(a,b,c,d,e,f,g) +/*** IDirect3DRMShadow2 methods ***/ +#define IDirect3DRMShadow2_GetVisual(p,a) (p)->GetVisual(a) +#define IDirect3DRMShadow2_SetVisual(p,a,b) (p)->SetVisual(a,b) +#define IDirect3DRMShadow2_GetLight(p,a) (p)->GetLight(a) +#define IDirect3DRMShadow2_SetLight(p,a,b) (p)->SetLight(a,b) +#define IDirect3DRMShadow2_GetPlane(p,a,b,c,d,e,f) (p)->GetPlane(a,b,c,d,e,f) +#define IDirect3DRMShadow2_SetPlane(p,a,b,c,d,e,f) (p)->SetPlane(a,b,c,d,e,f) +#define IDirect3DRMShadow2_GetOptions(p,a) (p)->GetOptions(a) +#define IDirect3DRMShadow2_SetOptions(p,a) (p)->SetOptions(a) +#endif + +/***************************************************************************** + * IDirect3DRMFace interface + */ +#define INTERFACE IDirect3DRMFace +DECLARE_INTERFACE_(IDirect3DRMFace,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMFace methods ***/ + STDMETHOD(AddVertex)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddVertexAndNormalIndexed)(THIS_ DWORD vertex, DWORD normal) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE, D3DVALUE, D3DVALUE) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetTextureCoordinates)(THIS_ DWORD vertex, D3DVALUE u, D3DVALUE v) PURE; + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial *material) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(GetVertex)(THIS_ DWORD index, D3DVECTOR *vertex, D3DVECTOR *normal) PURE; + STDMETHOD(GetVertices)(THIS_ DWORD *vertex_count, D3DVECTOR *coords, D3DVECTOR *normals); + STDMETHOD(GetTextureCoordinates)(THIS_ DWORD vertex, D3DVALUE *u, D3DVALUE *v) PURE; + STDMETHOD(GetTextureTopology)(THIS_ BOOL *wrap_u, BOOL *wrap_v) PURE; + STDMETHOD(GetNormal)(THIS_ D3DVECTOR *) PURE; + STDMETHOD(GetTexture)(THIS_ struct IDirect3DRMTexture **texture) PURE; + STDMETHOD(GetMaterial)(THIS_ struct IDirect3DRMMaterial **material) PURE; + STDMETHOD_(int, GetVertexCount)(THIS) PURE; + STDMETHOD_(int, GetVertexIndex)(THIS_ DWORD which) PURE; + STDMETHOD_(int, GetTextureCoordinateIndex)(THIS_ DWORD which) PURE; + STDMETHOD_(D3DCOLOR, GetColor)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFace_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFace_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFace_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFace_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMFace_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMFace_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMFace_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMFace_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMFace_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMFace_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMFace_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMFace methods ***/ +#define IDirect3DRMFace_AddVertex(p,a,b,c) (p)->lpVtbl->AddVertex(p,a,b,c) +#define IDirect3DRMFace_AddVertexAndNormalIndexed(p,a,b) (p)->lpVtbl->AddVertexAndNormalIndexed(p,a,b) +#define IDirect3DRMFace_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMFace_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMFace_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMFace_SetTextureCoordinates(p,a,b,c) (p)->lpVtbl->SetTextureCoordinates(p,a,b,c) +#define IDirect3DRMFace_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMFace_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMFace_GetVertex(p,a,b,c) (p)->lpVtbl->GetVertex(p,a,b,c) +#define IDirect3DRMFace_GetVertices(p,a,b,c) (p)->lpVtbl->GetVertices(p,a,b,c) +#define IDirect3DRMFace_GetTextureCoordinates(p,a,b,c) (p)->lpVtbl->GetTextureCoordinates(p,a,b,c) +#define IDirect3DRMFace_GetTextureTopology(p,a,b) (p)->lpVtbl->GetTextureTopology(p,a,b) +#define IDirect3DRMFace_GetNormal(p,a) (p)->lpVtbl->GetNormal(p,a) +#define IDirect3DRMFace_GetTexture(p,a) (p)->lpVtbl->GetTexture(p,a) +#define IDirect3DRMFace_GetVertexCount(p) (p)->lpVtbl->GetVertexCount(p) +#define IDirect3DRMFace_GetVertexIndex(p,a) (p)->lpVtbl->GetVertexIndex(p,a) +#define IDirect3DRMFace_GetTextureCoordinateIndex(p,a) (p)->lpVtbl->GetTextureCoordinateIndex(p,a) +#define IDirect3DRMFace_GetColor(p) (p)->lpVtbl->GetColor(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFace_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFace_AddRef(p) (p)->AddRef() +#define IDirect3DRMFace_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFace_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMFace_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMFace_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMFace_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMFace_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMFace_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMFace_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMFace_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMFace methods ***/ +#define IDirect3DRMFace_AddVertex(p,a,b,c) (p)->AddVertex(a,b,c) +#define IDirect3DRMFace_AddVertexAndNormalIndexed(p,a,b) (p)->AddVertexAndNormalIndexed(a,b) +#define IDirect3DRMFace_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMFace_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMFace_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMFace_SetTextureCoordinates(p,a,b,c) (p)->SetTextureCoordinates(a,b,c) +#define IDirect3DRMFace_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMFace_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMFace_GetVertex(p,a,b,c) (p)->GetVertex(a,b,c) +#define IDirect3DRMFace_GetVertices(p,a,b,c) (p)->GetVertices(a,b,c) +#define IDirect3DRMFace_GetTextureCoordinates(p,a,b,c) (p)->GetTextureCoordinates(a,b,c) +#define IDirect3DRMFace_GetTextureTopology(p,a,b) (p)->GetTextureTopology(a,b) +#define IDirect3DRMFace_GetNormal(p,a) (p)->GetNormal(a) +#define IDirect3DRMFace_GetTexture(p,a) (p)->GetTexture(a) +#define IDirect3DRMFace_GetVertexCount(p) (p)->GetVertexCount() +#define IDirect3DRMFace_GetVertexIndex(p,a) (p)->GetVertexIndex(a) +#define IDirect3DRMFace_GetTextureCoordinateIndex(p,a) (p)->GetTextureCoordinateIndex(a) +#define IDirect3DRMFace_GetColor(p) (p)->GetColor() +#endif + +/***************************************************************************** + * IDirect3DRMFace2 interface + */ +#define INTERFACE IDirect3DRMFace2 +DECLARE_INTERFACE_(IDirect3DRMFace2,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMFace methods ***/ + STDMETHOD(AddVertex)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddVertexAndNormalIndexed)(THIS_ DWORD vertex, DWORD normal) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE, D3DVALUE, D3DVALUE) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture3 *texture) PURE; + STDMETHOD(SetTextureCoordinates)(THIS_ DWORD vertex, D3DVALUE u, D3DVALUE v) PURE; + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial2 *material) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(GetVertex)(THIS_ DWORD index, D3DVECTOR *vertex, D3DVECTOR *normal) PURE; + STDMETHOD(GetVertices)(THIS_ DWORD *vertex_count, D3DVECTOR *coords, D3DVECTOR *normals); + STDMETHOD(GetTextureCoordinates)(THIS_ DWORD vertex, D3DVALUE *u, D3DVALUE *v) PURE; + STDMETHOD(GetTextureTopology)(THIS_ BOOL *wrap_u, BOOL *wrap_v) PURE; + STDMETHOD(GetNormal)(THIS_ D3DVECTOR *) PURE; + STDMETHOD(GetTexture)(THIS_ struct IDirect3DRMTexture3 **texture) PURE; + STDMETHOD(GetMaterial)(THIS_ struct IDirect3DRMMaterial2 **material) PURE; + STDMETHOD_(int, GetVertexCount)(THIS) PURE; + STDMETHOD_(int, GetVertexIndex)(THIS_ DWORD which) PURE; + STDMETHOD_(int, GetTextureCoordinateIndex)(THIS_ DWORD which) PURE; + STDMETHOD_(D3DCOLOR, GetColor)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFace2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFace2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFace2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFace2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMFace2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMFace2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMFace2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMFace2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMFace2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMFace2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMFace2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMFace methods ***/ +#define IDirect3DRMFace2_AddVertex(p,a,b,c) (p)->lpVtbl->AddVertex(p,a,b,c) +#define IDirect3DRMFace2_AddVertexAndNormalIndexed(p,a,b) (p)->lpVtbl->AddVertexAndNormalIndexed(p,a,b) +#define IDirect3DRMFace2_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMFace2_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMFace2_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMFace2_SetTextureCoordinates(p,a,b,c) (p)->lpVtbl->SetTextureCoordinates(p,a,b,c) +#define IDirect3DRMFace2_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMFace2_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMFace2_GetVertex(p,a,b,c) (p)->lpVtbl->GetVertex(p,a,b,c) +#define IDirect3DRMFace2_GetVertices(p,a,b,c) (p)->lpVtbl->GetVertices(p,a,b,c) +#define IDirect3DRMFace2_GetTextureCoordinates(p,a,b,c) (p)->lpVtbl->GetTextureCoordinates(p,a,b,c) +#define IDirect3DRMFace2_GetTextureTopology(p,a,b) (p)->lpVtbl->GetTextureTopology(p,a,b) +#define IDirect3DRMFace2_GetNormal(p,a) (p)->lpVtbl->GetNormal(p,a) +#define IDirect3DRMFace2_GetTexture(p,a) (p)->lpVtbl->GetTexture(p,a) +#define IDirect3DRMFace2_GetVertexCount(p) (p)->lpVtbl->GetVertexCount(p) +#define IDirect3DRMFace2_GetVertexIndex(p,a) (p)->lpVtbl->GetVertexIndex(p,a) +#define IDirect3DRMFace2_GetTextureCoordinateIndex(p,a) (p)->lpVtbl->GetTextureCoordinateIndex(p,a) +#define IDirect3DRMFace2_GetColor(p) (p)->lpVtbl->GetColor(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFace2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFace2_AddRef(p) (p)->AddRef() +#define IDirect3DRMFace2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMFace2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMFace2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMFace2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMFace2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMFace2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMFace2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMFace2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMFace2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMFace methods ***/ +#define IDirect3DRMFace2_AddVertex(p,a,b,c) (p)->AddVertex(a,b,c) +#define IDirect3DRMFace2_AddVertexAndNormalIndexed(p,a,b) (p)->AddVertexAndNormalIndexed(a,b) +#define IDirect3DRMFace2_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMFace2_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMFace2_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMFace2_SetTextureCoordinates(p,a,b,c) (p)->SetTextureCoordinates(a,b,c) +#define IDirect3DRMFace2_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMFace2_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMFace2_GetVertex(p,a,b,c) (p)->GetVertex(a,b,c) +#define IDirect3DRMFace2_GetVertices(p,a,b,c) (p)->GetVertices(a,b,c) +#define IDirect3DRMFace2_GetTextureCoordinates(p,a,b,c) (p)->GetTextureCoordinates(a,b,c) +#define IDirect3DRMFace2_GetTextureTopology(p,a,b) (p)->GetTextureTopology(a,b) +#define IDirect3DRMFace2_GetNormal(p,a) (p)->GetNormal(a) +#define IDirect3DRMFace2_GetTexture(p,a) (p)->GetTexture(a) +#define IDirect3DRMFace2_GetVertexCount(p) (p)->GetVertexCount() +#define IDirect3DRMFace2_GetVertexIndex(p,a) (p)->GetVertexIndex(a) +#define IDirect3DRMFace2_GetTextureCoordinateIndex(p,a) (p)->GetTextureCoordinateIndex(a) +#define IDirect3DRMFace2_GetColor(p) (p)->GetColor() +#endif + +/***************************************************************************** + * IDirect3DRMMeshBuilder interface + */ +#define INTERFACE IDirect3DRMMeshBuilder +DECLARE_INTERFACE_(IDirect3DRMMeshBuilder,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMMeshBuilder methods ***/ + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURECALLBACK cb, void *ctx) PURE; + STDMETHOD(Save)(THIS_ const char *filename, D3DRMXOFFORMAT, D3DRMSAVEOPTIONS save) PURE; + STDMETHOD(Scale)(THIS_ D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(Translate)(THIS_ D3DVALUE tx, D3DVALUE ty, D3DVALUE tz) PURE; + STDMETHOD(SetColorSource)(THIS_ D3DRMCOLORSOURCE) PURE; + STDMETHOD(GetBox)(THIS_ D3DRMBOX *) PURE; + STDMETHOD(GenerateNormals)(THIS) PURE; + STDMETHOD_(D3DRMCOLORSOURCE, GetColorSource)(THIS) PURE; + STDMETHOD(AddMesh)(THIS_ IDirect3DRMMesh *mesh) PURE; + STDMETHOD(AddMeshBuilder)(THIS_ IDirect3DRMMeshBuilder *mesh_builder) PURE; + STDMETHOD(AddFrame)(THIS_ IDirect3DRMFrame *frame) PURE; + STDMETHOD(AddFace)(THIS_ IDirect3DRMFace *face) PURE; + STDMETHOD(AddFaces)(THIS_ DWORD vertex_count, D3DVECTOR *vertices, DWORD normal_count, + D3DVECTOR *normals, DWORD *face_data, struct IDirect3DRMFaceArray **array) PURE; + STDMETHOD(ReserveSpace)(THIS_ DWORD vertex_Count, DWORD normal_count, DWORD face_count) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial *material) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(SetQuality)(THIS_ D3DRMRENDERQUALITY) PURE; + STDMETHOD(SetPerspective)(THIS_ BOOL) PURE; + STDMETHOD(SetVertex)(THIS_ DWORD index, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetNormal)(THIS_ DWORD index, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetTextureCoordinates)(THIS_ DWORD index, D3DVALUE u, D3DVALUE v) PURE; + STDMETHOD(SetVertexColor)(THIS_ DWORD index, D3DCOLOR) PURE; + STDMETHOD(SetVertexColorRGB)(THIS_ DWORD index, D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(GetFaces)(THIS_ struct IDirect3DRMFaceArray **array) PURE; + STDMETHOD(GetVertices)(THIS_ DWORD *vcount, D3DVECTOR *vertices, DWORD *ncount, D3DVECTOR *normals, + DWORD *face_data_size, DWORD *face_data) PURE; + STDMETHOD(GetTextureCoordinates)(THIS_ DWORD index, D3DVALUE *u, D3DVALUE *v) PURE; + STDMETHOD_(int, AddVertex)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD_(int, AddNormal)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace **face) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetQuality)(THIS) PURE; + STDMETHOD_(BOOL, GetPerspective)(THIS) PURE; + STDMETHOD_(int, GetFaceCount)(THIS) PURE; + STDMETHOD_(int, GetVertexCount)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetVertexColor)(THIS_ DWORD index) PURE; + STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMMeshBuilder_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMMeshBuilder_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMMeshBuilder_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMeshBuilder_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMMeshBuilder_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMMeshBuilder_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMMeshBuilder_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMMeshBuilder_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMMeshBuilder_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMMeshBuilder_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMMeshBuilder_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMMeshBuilder methods ***/ +#define IDirect3DRMMeshBuilder_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMMeshBuilder_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c) +#define IDirect3DRMMeshBuilder_Scale(p,a,b,c) (p)->lpVtbl->Scale(p,a,b,c) +#define IDirect3DRMMeshBuilder_Translate(p,a,b,c) (p)->lpVtbl->Translate(p,a) +#define IDirect3DRMMeshBuilder_SetColorSource(p,a) (p)->lpVtbl->SetColorSource(p,a,b,c) +#define IDirect3DRMMeshBuilder_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMMeshBuilder_GenerateNormals(p) (p)->lpVtbl->GenerateNormals(p) +#define IDirect3DRMMeshBuilder_GetColorSource(p) (p)->lpVtbl->GetColorSource(p) +#define IDirect3DRMMeshBuilder_AddMesh(p,a) (p)->lpVtbl->AddMesh(p,a) +#define IDirect3DRMMeshBuilder_AddMeshBuilder(p,a) (p)->lpVtbl->AddMeshBuilder(p,a) +#define IDirect3DRMMeshBuilder_AddFrame(p,a) (p)->lpVtbl->AddFrame(p,a) +#define IDirect3DRMMeshBuilder_AddFace(p,a) (p)->lpVtbl->AddFace(p,a) +#define IDirect3DRMMeshBuilder_AddFaces(p,a,b,c,d,e,f) (p)->lpVtbl->AddFaces(p,a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder_ReserveSpace(p,a,b,c) (p)->lpVtbl->ReserveSpace(p,a,b,c) +#define IDirect3DRMMeshBuilder_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMMeshBuilder_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMMeshBuilder_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMMeshBuilder_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMMeshBuilder_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMMeshBuilder_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMMeshBuilder_SetPerspective(p,a) (p)->lpVtbl->SetPerspective(p,a) +#define IDirect3DRMMeshBuilder_SetVertex(p,a,b,c,d) (p)->lpVtbl->SetVertex(p,a,b,c,d) +#define IDirect3DRMMeshBuilder_SetNormal(p,a,b,c,d) (p)->lpVtbl->SetNormal(p,a,b,c,d) +#define IDirect3DRMMeshBuilder_SetTextureCoordinates(p,a,b,c) (p)->lpVtbl->SetTextureCoordinates(p,a,b,c) +#define IDirect3DRMMeshBuilder_SetVertexColor(p,a,b) (p)->lpVtbl->SetVertexColor(p,a,b) +#define IDirect3DRMMeshBuilder_SetVertexColorRGB(p,a,b,c,d) (p)->lpVtbl->SetVertexColorRGB(p,a,b,c,d) +#define IDirect3DRMMeshBuilder_GetFaces(p,a) (p)->lpVtbl->GetFaces(p,a) +#define IDirect3DRMMeshBuilder_GetVertices(p,a,b,c,d,e,f) (p)->lpVtbl->GetVertices(p,a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder_GetTextureCoordinates(p,a,b,c) (p)->lpVtbl->GetTextureCoordinates(p,a,b,c) +#define IDirect3DRMMeshBuilder_AddVertex(p,a,b,c) (p)->lpVtbl->AddVertex(p,a,b,c) +#define IDirect3DRMMeshBuilder_AddNormal(p,a,b,c) (p)->lpVtbl->AddNormal(p,a,b,c) +#define IDirect3DRMMeshBuilder_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a) +#define IDirect3DRMMeshBuilder_GetQuality(p) (p)->lpVtbl->GetQuality(p) +#define IDirect3DRMMeshBuilder_GetPerspective(p) (p)->lpVtbl->GetPerspective(p) +#define IDirect3DRMMeshBuilder_GetFaceCount(p) (p)->lpVtbl->GetFaceCount(p) +#define IDirect3DRMMeshBuilder_GetVertexCount(p) (p)->lpVtbl->GetVertexCount(p) +#define IDirect3DRMMeshBuilder_GetVertexColor(p,a) (p)->lpVtbl->GetVertexColor(p,a) +#define IDirect3DRMMeshBuilder_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMMeshBuilder_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMMeshBuilder_AddRef(p) (p)->AddRef() +#define IDirect3DRMMeshBuilder_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMeshBuilder_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMMeshBuilder_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMMeshBuilder_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMMeshBuilder_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMMeshBuilder_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMMeshBuilder_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMMeshBuilder_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMMeshBuilder_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMMeshBuilder methods ***/ +#define IDirect3DRMMeshBuilder_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMMeshBuilder_Save(p,a,b,c) (p)->Save(a,b,c) +#define IDirect3DRMMeshBuilder_Scale(p,a,b,c) (p)->Scale(a,b,c) +#define IDirect3DRMMeshBuilder_Translate(p,a,b,c) (p)->Translate(a) +#define IDirect3DRMMeshBuilder_SetColorSource(p,a) (p)->SetColorSource(a,b,c) +#define IDirect3DRMMeshBuilder_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMMeshBuilder_GenerateNormals(p) (p)->GenerateNormals() +#define IDirect3DRMMeshBuilder_GetColorSource(p) (p)->GetColorSource() +#define IDirect3DRMMeshBuilder_AddMesh(p,a) (p)-->AddMesh(a) +#define IDirect3DRMMeshBuilder_AddMeshBuilder(p,a) (p)->AddMeshBuilder(a) +#define IDirect3DRMMeshBuilder_AddFrame(p,a) (p)->AddFrame(a) +#define IDirect3DRMMeshBuilder_AddFace(p,a) (p)->AddFace(a) +#define IDirect3DRMMeshBuilder_AddFaces(p,a,b,c,d,e,f) (p)->AddFaces(a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder_ReserveSpace(p,a,b,c) (p)->ReserveSpace(a,b,c) +#define IDirect3DRMMeshBuilder_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMMeshBuilder_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMMeshBuilder_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMMeshBuilder_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMMeshBuilder_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMMeshBuilder_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMMeshBuilder_SetPerspective(p,a) (p)->SetPerspective(a) +#define IDirect3DRMMeshBuilder_SetVertex(p,a,b,c,d) (p)->SetVertex(a,b,c,d) +#define IDirect3DRMMeshBuilder_SetNormal(p,a,b,c,d) (p)->SetNormal(a,b,c,d) +#define IDirect3DRMMeshBuilder_SetTextureCoordinates(p,a,b,c) (p)->SetTextureCoordinates(a,b,c) +#define IDirect3DRMMeshBuilder_SetVertexColor(p,a,b) (p)->SetVertexColor(a,b) +#define IDirect3DRMMeshBuilder_SetVertexColorRGB(p,a,b,c,d) (p)->SetVertexColorRGB(a,b,c,d) +#define IDirect3DRMMeshBuilder_GetFaces(p,a) (p)->GetFaces(a) +#define IDirect3DRMMeshBuilder_GetVertices(p,a,b,c,d,e,f) (p)->GetVertices(a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder_GetTextureCoordinates(p,a,b,c) (p)->GetTextureCoordinates(a,b,c) +#define IDirect3DRMMeshBuilder_AddVertex(p,a,b,c) (p)->AddVertex(a,b,c) +#define IDirect3DRMMeshBuilder_AddNormal(p,a,b,c) (p)->AddNormal(a,b,c) +#define IDirect3DRMMeshBuilder_CreateFace(p,a) (p)->CreateFace(a) +#define IDirect3DRMMeshBuilder_GetQuality(p) (p)->GetQuality() +#define IDirect3DRMMeshBuilder_GetPerspective(p) (p)->GetPerspective() +#define IDirect3DRMMeshBuilder_GetFaceCount(p) (p)->GetFaceCount() +#define IDirect3DRMMeshBuilder_GetVertexCount(p) (p)->GetVertexCount() +#define IDirect3DRMMeshBuilder_GetVertexColor(p,a) (p)->GetVertexColor(a) +#define IDirect3DRMMeshBuilder_CreateMesh(p,a) (p)->CreateMesh(a) +#endif + +/***************************************************************************** + * IDirect3DRMMeshBuilder2 interface + */ +#define INTERFACE IDirect3DRMMeshBuilder2 +DECLARE_INTERFACE_(IDirect3DRMMeshBuilder2,IDirect3DRMMeshBuilder) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMMeshBuilder methods ***/ + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURECALLBACK cb, void *ctx) PURE; + STDMETHOD(Save)(THIS_ const char *filename, D3DRMXOFFORMAT, D3DRMSAVEOPTIONS save) PURE; + STDMETHOD(Scale)(THIS_ D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(Translate)(THIS_ D3DVALUE tx, D3DVALUE ty, D3DVALUE tz) PURE; + STDMETHOD(SetColorSource)(THIS_ D3DRMCOLORSOURCE) PURE; + STDMETHOD(GetBox)(THIS_ D3DRMBOX *) PURE; + STDMETHOD(GenerateNormals)(THIS) PURE; + STDMETHOD_(D3DRMCOLORSOURCE, GetColorSource)(THIS) PURE; + STDMETHOD(AddMesh)(THIS_ IDirect3DRMMesh *mesh) PURE; + STDMETHOD(AddMeshBuilder)(THIS_ IDirect3DRMMeshBuilder *mesh_builder) PURE; + STDMETHOD(AddFrame)(THIS_ IDirect3DRMFrame *frame) PURE; + STDMETHOD(AddFace)(THIS_ IDirect3DRMFace *face) PURE; + STDMETHOD(AddFaces)(THIS_ DWORD vertex_count, D3DVECTOR *vertices, DWORD normal_count, + D3DVECTOR *normals, DWORD *face_data, struct IDirect3DRMFaceArray **array) PURE; + STDMETHOD(ReserveSpace)(THIS_ DWORD vertex_Count, DWORD normal_count, DWORD face_count) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture *texture) PURE; + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial *material) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(SetQuality)(THIS_ D3DRMRENDERQUALITY) PURE; + STDMETHOD(SetPerspective)(THIS_ BOOL) PURE; + STDMETHOD(SetVertex)(THIS_ DWORD index, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetNormal)(THIS_ DWORD index, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetTextureCoordinates)(THIS_ DWORD index, D3DVALUE u, D3DVALUE v) PURE; + STDMETHOD(SetVertexColor)(THIS_ DWORD index, D3DCOLOR) PURE; + STDMETHOD(SetVertexColorRGB)(THIS_ DWORD index, D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(GetFaces)(THIS_ struct IDirect3DRMFaceArray **array) PURE; + STDMETHOD(GetVertices)(THIS_ DWORD *vcount, D3DVECTOR *vertices, DWORD *ncount, D3DVECTOR *normals, + DWORD *face_data_size, DWORD *face_data) PURE; + STDMETHOD(GetTextureCoordinates)(THIS_ DWORD index, D3DVALUE *u, D3DVALUE *v) PURE; + STDMETHOD_(int, AddVertex)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD_(int, AddNormal)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace **face) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetQuality)(THIS) PURE; + STDMETHOD_(BOOL, GetPerspective)(THIS) PURE; + STDMETHOD_(int, GetFaceCount)(THIS) PURE; + STDMETHOD_(int, GetVertexCount)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetVertexColor)(THIS_ DWORD index) PURE; + STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE; + /*** IDirect3DRMMeshBuilder2 methods ***/ + STDMETHOD(GenerateNormals2)(THIS_ D3DVALUE crease, DWORD flags) PURE; + STDMETHOD(GetFace)(THIS_ DWORD index, IDirect3DRMFace **face) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMMeshBuilder2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMMeshBuilder2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMMeshBuilder2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMeshBuilder2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMMeshBuilder2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMMeshBuilder2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMMeshBuilder2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMMeshBuilder2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMMeshBuilder2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMMeshBuilder2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMMeshBuilder2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMMeshBuilder methods ***/ +#define IDirect3DRMMeshBuilder2_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMMeshBuilder2_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c) +#define IDirect3DRMMeshBuilder2_Scale(p,a,b,c) (p)->lpVtbl->Scale(p,a,b,c) +#define IDirect3DRMMeshBuilder2_Translate(p,a,b,c) (p)->lpVtbl->Translate(p,a) +#define IDirect3DRMMeshBuilder2_SetColorSource(p,a) (p)->lpVtbl->SetColorSource(p,a,b,c) +#define IDirect3DRMMeshBuilder2_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMMeshBuilder2_GenerateNormals(p) (p)->lpVtbl->GenerateNormals(p) +#define IDirect3DRMMeshBuilder2_GetColorSource(p) (p)->lpVtbl->GetColorSource(p) +#define IDirect3DRMMeshBuilder2_AddMesh(p,a) (p)->lpVtbl->AddMesh(p,a) +#define IDirect3DRMMeshBuilder2_AddMeshBuilder(p,a) (p)->lpVtbl->AddMeshBuilder(p,a) +#define IDirect3DRMMeshBuilder2_AddFrame(p,a) (p)->lpVtbl->AddFrame(p,a) +#define IDirect3DRMMeshBuilder2_AddFace(p,a) (p)->lpVtbl->AddFace(p,a) +#define IDirect3DRMMeshBuilder2_AddFaces(p,a,b,c,d,e,f) (p)->lpVtbl->AddFaces(p,a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder2_ReserveSpace(p,a,b,c) (p)->lpVtbl->ReserveSpace(p,a,b,c) +#define IDirect3DRMMeshBuilder2_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMMeshBuilder2_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMMeshBuilder2_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMMeshBuilder2_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMMeshBuilder2_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMMeshBuilder2_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMMeshBuilder2_SetPerspective(p,a) (p)->lpVtbl->SetPerspective(p,a) +#define IDirect3DRMMeshBuilder2_SetVertex(p,a,b,c,d) (p)->lpVtbl->SetVertex(p,a,b,c,d) +#define IDirect3DRMMeshBuilder2_SetNormal(p,a,b,c,d) (p)->lpVtbl->SetNormal(p,a,b,c,d) +#define IDirect3DRMMeshBuilder2_SetTextureCoordinates(p,a,b,c) (p)->lpVtbl->SetTextureCoordinates(p,a,b,c) +#define IDirect3DRMMeshBuilder2_SetVertexColor(p,a,b) (p)->lpVtbl->SetVertexColor(p,a,b) +#define IDirect3DRMMeshBuilder2_SetVertexColorRGB(p,a,b,c,d) (p)->lpVtbl->SetVertexColorRGB(p,a,b,c,d) +#define IDirect3DRMMeshBuilder2_GetFaces(p,a) (p)->lpVtbl->GetFaces(p,a) +#define IDirect3DRMMeshBuilder2_GetVertices(p,a,b,c,d,e,f) (p)->lpVtbl->GetVertices(p,a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder2_GetTextureCoordinates(p,a,b,c) (p)->lpVtbl->GetTextureCoordinates(p,a,b,c) +#define IDirect3DRMMeshBuilder2_AddVertex(p,a,b,c) (p)->lpVtbl->AddVertex(p,a,b,c) +#define IDirect3DRMMeshBuilder2_AddNormal(p,a,b,c) (p)->lpVtbl->AddNormal(p,a,b,c) +#define IDirect3DRMMeshBuilder2_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a) +#define IDirect3DRMMeshBuilder2_GetQuality(p) (p)->lpVtbl->GetQuality(p) +#define IDirect3DRMMeshBuilder2_GetPerspective(p) (p)->lpVtbl->GetPerspective(p) +#define IDirect3DRMMeshBuilder2_GetFaceCount(p) (p)->lpVtbl->GetFaceCount(p) +#define IDirect3DRMMeshBuilder2_GetVertexCount(p) (p)->lpVtbl->GetVertexCount(p) +#define IDirect3DRMMeshBuilder2_GetVertexColor(p,a) (p)->lpVtbl->GetVertexColor(p,a) +#define IDirect3DRMMeshBuilder2_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +/*** IDirect3DRMMeshBuilder2 methods ***/ +#define IDirect3DRMMeshBuilder2_GenerateNormals2(p,a,b) (p)->lpVtbl->GenerateNormals2(p,a,b) +#define IDirect3DRMMeshBuilder2_GetFace(p,a,b) (p)->lpVtbl->GetFace(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMMeshBuilder2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMMeshBuilder2_AddRef(p) (p)->AddRef() +#define IDirect3DRMMeshBuilder2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMeshBuilder2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMMeshBuilder2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMMeshBuilder2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMMeshBuilder2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMMeshBuilder2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMMeshBuilder2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMMeshBuilder2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMMeshBuilder2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMMeshBuilder methods ***/ +#define IDirect3DRMMeshBuilder2_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMMeshBuilder2_Save(p,a,b,c) (p)->Save(a,b,c) +#define IDirect3DRMMeshBuilder2_Scale(p,a,b,c) (p)->Scale(a,b,c) +#define IDirect3DRMMeshBuilder2_Translate(p,a,b,c) (p)->Translate(a) +#define IDirect3DRMMeshBuilder2_SetColorSource(p,a) (p)->SetColorSource(a,b,c) +#define IDirect3DRMMeshBuilder2_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMMeshBuilder2_GenerateNormals(p) (p)->GenerateNormals() +#define IDirect3DRMMeshBuilder2_GetColorSource(p) (p)->GetColorSource() +#define IDirect3DRMMeshBuilder2_AddMesh(p,a) (p)-->AddMesh(a) +#define IDirect3DRMMeshBuilder2_AddMeshBuilder(p,a) (p)->AddMeshBuilder(a) +#define IDirect3DRMMeshBuilder2_AddFrame(p,a) (p)->AddFrame(a) +#define IDirect3DRMMeshBuilder2_AddFace(p,a) (p)->AddFace(a) +#define IDirect3DRMMeshBuilder2_AddFaces(p,a,b,c,d,e,f) (p)->AddFaces(a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder2_ReserveSpace(p,a,b,c) (p)->ReserveSpace(a,b,c) +#define IDirect3DRMMeshBuilder2_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMMeshBuilder2_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMMeshBuilder2_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMMeshBuilder2_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMMeshBuilder2_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMMeshBuilder2_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMMeshBuilder2_SetPerspective(p,a) (p)->SetPerspective(a) +#define IDirect3DRMMeshBuilder2_SetVertex(p,a,b,c,d) (p)->SetVertex(a,b,c,d) +#define IDirect3DRMMeshBuilder2_SetNormal(p,a,b,c,d) (p)->SetNormal(a,b,c,d) +#define IDirect3DRMMeshBuilder2_SetTextureCoordinates(p,a,b,c) (p)->SetTextureCoordinates(a,b,c) +#define IDirect3DRMMeshBuilder2_SetVertexColor(p,a,b) (p)->SetVertexColor(a,b) +#define IDirect3DRMMeshBuilder2_SetVertexColorRGB(p,a,b,c,d) (p)->SetVertexColorRGB(a,b,c,d) +#define IDirect3DRMMeshBuilder2_GetFaces(p,a) (p)->GetFaces(a) +#define IDirect3DRMMeshBuilder2_GetVertices(p,a,b,c,d,e,f) (p)->GetVertices(a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder2_GetTextureCoordinates(p,a,b,c) (p)->GetTextureCoordinates(a,b,c) +#define IDirect3DRMMeshBuilder2_AddVertex(p,a,b,c) (p)->AddVertex(a,b,c) +#define IDirect3DRMMeshBuilder2_AddNormal(p,a,b,c) (p)->AddNormal(a,b,c) +#define IDirect3DRMMeshBuilder2_CreateFace(p,a) (p)->CreateFace(a) +#define IDirect3DRMMeshBuilder2_GetQuality(p) (p)->GetQuality() +#define IDirect3DRMMeshBuilder2_GetPerspective(p) (p)->GetPerspective() +#define IDirect3DRMMeshBuilder2_GetFaceCount(p) (p)->GetFaceCount() +#define IDirect3DRMMeshBuilder2_GetVertexCount(p) (p)->GetVertexCount() +#define IDirect3DRMMeshBuilder2_GetVertexColor(p,a) (p)->GetVertexColor(a) +#define IDirect3DRMMeshBuilder2_CreateMesh(p,a) (p)->CreateMesh(a) +/*** IDirect3DRMMeshBuilder2 methods ***/ +#define IDirect3DRMMeshBuilder2_GenerateNormals2(p,a,b) (p)->GenerateNormals2(a,b) +#define IDirect3DRMMeshBuilder2_GetFace(p,a,b) (p)->GetFace(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMMeshBuilder3 interface + */ +#define INTERFACE IDirect3DRMMeshBuilder3 +DECLARE_INTERFACE_(IDirect3DRMMeshBuilder3,IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMMeshBuilder3 methods ***/ + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURE3CALLBACK cb, void *ctx) PURE; + STDMETHOD(Save)(THIS_ const char *filename, D3DRMXOFFORMAT, D3DRMSAVEOPTIONS save) PURE; + STDMETHOD(Scale)(THIS_ D3DVALUE sx, D3DVALUE sy, D3DVALUE sz) PURE; + STDMETHOD(Translate)(THIS_ D3DVALUE tx, D3DVALUE ty, D3DVALUE tz) PURE; + STDMETHOD(SetColorSource)(THIS_ D3DRMCOLORSOURCE) PURE; + STDMETHOD(GetBox)(THIS_ D3DRMBOX *) PURE; + STDMETHOD(GenerateNormals)(THIS_ D3DVALUE crease, DWORD flags) PURE; + STDMETHOD_(D3DRMCOLORSOURCE, GetColorSource)(THIS) PURE; + STDMETHOD(AddMesh)(THIS_ IDirect3DRMMesh *mesh) PURE; + STDMETHOD(AddMeshBuilder)(THIS_ IDirect3DRMMeshBuilder3 *mesh_builder, DWORD flags) PURE; + STDMETHOD(AddFrame)(THIS_ IDirect3DRMFrame3 *frame) PURE; + STDMETHOD(AddFace)(THIS_ IDirect3DRMFace2 *face) PURE; + STDMETHOD(AddFaces)(THIS_ DWORD vertex_count, D3DVECTOR *vertices, DWORD normal_count, + D3DVECTOR *normals, DWORD *face_data, struct IDirect3DRMFaceArray **array) PURE; + STDMETHOD(ReserveSpace)(THIS_ DWORD vertex_Count, DWORD normal_count, DWORD face_count) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetTexture)(THIS_ struct IDirect3DRMTexture3 *texture) PURE; + STDMETHOD(SetMaterial)(THIS_ struct IDirect3DRMMaterial2 *material) PURE; + STDMETHOD(SetTextureTopology)(THIS_ BOOL wrap_u, BOOL wrap_v) PURE; + STDMETHOD(SetQuality)(THIS_ D3DRMRENDERQUALITY) PURE; + STDMETHOD(SetPerspective)(THIS_ BOOL) PURE; + STDMETHOD(SetVertex)(THIS_ DWORD index, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetNormal)(THIS_ DWORD index, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(SetTextureCoordinates)(THIS_ DWORD index, D3DVALUE u, D3DVALUE v) PURE; + STDMETHOD(SetVertexColor)(THIS_ DWORD index, D3DCOLOR) PURE; + STDMETHOD(SetVertexColorRGB)(THIS_ DWORD index, D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(GetFaces)(THIS_ struct IDirect3DRMFaceArray **array) PURE; + STDMETHOD(GetGeometry)(THIS_ DWORD *vcount, D3DVECTOR *vertices, DWORD *ncount, D3DVECTOR *normals, + DWORD *face_data_size, DWORD *face_data) PURE; + STDMETHOD(GetTextureCoordinates)(THIS_ DWORD index, D3DVALUE *u, D3DVALUE *v) PURE; + STDMETHOD_(int, AddVertex)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD_(int, AddNormal)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace2 **face) PURE; + STDMETHOD_(D3DRMRENDERQUALITY, GetQuality)(THIS) PURE; + STDMETHOD_(BOOL, GetPerspective)(THIS) PURE; + STDMETHOD_(int, GetFaceCount)(THIS) PURE; + STDMETHOD_(int, GetVertexCount)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetVertexColor)(THIS_ DWORD index) PURE; + STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE; + STDMETHOD(GetFace)(THIS_ DWORD index, IDirect3DRMFace2 **face) PURE; + STDMETHOD(GetVertex)(THIS_ DWORD index, D3DVECTOR *vector) PURE; + STDMETHOD(GetNormal)(THIS_ DWORD index, D3DVECTOR *vector) PURE; + STDMETHOD(DeleteVertices)(THIS_ DWORD IndexFirst, DWORD count) PURE; + STDMETHOD(DeleteNormals)(THIS_ DWORD IndexFirst, DWORD count) PURE; + STDMETHOD(DeleteFace)(THIS_ IDirect3DRMFace2 *face) PURE; + STDMETHOD(Empty)(THIS_ DWORD flags) PURE; + STDMETHOD(Optimize)(THIS_ DWORD flags) PURE; + STDMETHOD(AddFacesIndexed)(THIS_ DWORD flags, DWORD *pvIndices, DWORD *pIndexFirst, DWORD *pCount) PURE; + STDMETHOD(CreateSubMesh)(THIS_ IUnknown **mesh) PURE; + STDMETHOD(GetParentMesh)(THIS_ DWORD flags, IUnknown **parent) PURE; + STDMETHOD(GetSubMeshes)(THIS_ DWORD *count, IUnknown **meshes) PURE; + STDMETHOD(DeleteSubMesh)(THIS_ IUnknown *mesh) PURE; + STDMETHOD(Enable)(THIS_ DWORD) PURE; + STDMETHOD(GetEnable)(THIS_ DWORD *) PURE; + STDMETHOD(AddTriangles)(THIS_ DWORD flags, DWORD format, DWORD vertex_count, void *data) PURE; + STDMETHOD(SetVertices)(THIS_ DWORD start_idx, DWORD count, D3DVECTOR *v) PURE; + STDMETHOD(GetVertices)(THIS_ DWORD start_idx, DWORD *count, D3DVECTOR *v) PURE; + STDMETHOD(SetNormals)(THIS_ DWORD start_idx, DWORD count, D3DVECTOR *v) PURE; + STDMETHOD(GetNormals)(THIS_ DWORD start_idx, DWORD *count, D3DVECTOR *v) PURE; + STDMETHOD_(int, GetNormalCount)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMMeshBuilder3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMMeshBuilder3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMMeshBuilder3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMeshBuilder3_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMMeshBuilder3_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMMeshBuilder3_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMMeshBuilder3_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMMeshBuilder3_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMMeshBuilder3_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMMeshBuilder3_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMMeshBuilder3_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) + +/*** IDirect3DRMMeshBuilder3 methods ***/ +#define IDirect3DRMMeshBuilder3_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e) +#define IDirect3DRMMeshBuilder3_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c) +#define IDirect3DRMMeshBuilder3_Scale(p,a,b,c) (p)->lpVtbl->Scale(p,a,b,c) +#define IDirect3DRMMeshBuilder3_Translate(p,a,b,c) (p)->lpVtbl->Translate(p,a) +#define IDirect3DRMMeshBuilder3_SetColorSource(p,a) (p)->lpVtbl->SetColorSource(p,a,b,c) +#define IDirect3DRMMeshBuilder3_GetBox(p,a) (p)->lpVtbl->GetBox(p,a) +#define IDirect3DRMMeshBuilder3_GenerateNormals(p,a,b) (p)->lpVtbl->GenerateNormals(p,a,b) +#define IDirect3DRMMeshBuilder3_GetColorSource(p) (p)->lpVtbl->GetColorSource(p) +#define IDirect3DRMMeshBuilder3_AddMesh(p,a) (p)->lpVtbl->AddMesh(p,a) +#define IDirect3DRMMeshBuilder3_AddMeshBuilder(p,a) (p)->lpVtbl->AddMeshBuilder(p,a) +#define IDirect3DRMMeshBuilder3_AddFrame(p,a) (p)->lpVtbl->AddFrame(p,a) +#define IDirect3DRMMeshBuilder3_AddFace(p,a) (p)->lpVtbl->AddFace(p,a) +#define IDirect3DRMMeshBuilder3_AddFaces(p,a,b,c,d,e,f) (p)->lpVtbl->AddFaces(p,a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder3_ReserveSpace(p,a,b,c) (p)->lpVtbl->ReserveSpace(p,a,b,c) +#define IDirect3DRMMeshBuilder3_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMMeshBuilder3_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMMeshBuilder3_SetTexture(p,a) (p)->lpVtbl->SetTexture(p,a) +#define IDirect3DRMMeshBuilder3_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) +#define IDirect3DRMMeshBuilder3_SetTextureTopology(p,a,b) (p)->lpVtbl->SetTextureTopology(p,a,b) +#define IDirect3DRMMeshBuilder3_SetQuality(p,a) (p)->lpVtbl->SetQuality(p,a) +#define IDirect3DRMMeshBuilder3_SetPerspective(p,a) (p)->lpVtbl->SetPerspective(p,a) +#define IDirect3DRMMeshBuilder3_SetVertex(p,a,b,c,d) (p)->lpVtbl->SetVertex(p,a,b,c,d) +#define IDirect3DRMMeshBuilder3_SetNormal(p,a,b,c,d) (p)->lpVtbl->SetNormal(p,a,b,c,d) +#define IDirect3DRMMeshBuilder3_SetTextureCoordinates(p,a,b,c) (p)->lpVtbl->SetTextureCoordinates(p,a,b,c) +#define IDirect3DRMMeshBuilder3_SetVertexColor(p,a,b) (p)->lpVtbl->SetVertexColor(p,a,b) +#define IDirect3DRMMeshBuilder3_SetVertexColorRGB(p,a,b,c,d) (p)->lpVtbl->SetVertexColorRGB(p,a,b,c,d) +#define IDirect3DRMMeshBuilder3_GetFaces(p,a) (p)->lpVtbl->GetFaces(p,a) +#define IDirect3DRMMeshBuilder3_GetGeometry(p,a,b,c,d,e,f) (p)->lpVtbl->GetGeometry(p,a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder3_GetTextureCoordinates(p,a,b,c) (p)->lpVtbl->GetTextureCoordinates(p,a,b,c) +#define IDirect3DRMMeshBuilder3_AddVertex(p,a,b,c) (p)->lpVtbl->AddVertex(p,a,b,c) +#define IDirect3DRMMeshBuilder3_AddNormal(p,a,b,c) (p)->lpVtbl->AddNormal(p,a,b,c) + +#define IDirect3DRMMeshBuilder3_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a) +#define IDirect3DRMMeshBuilder3_GetQuality(p) (p)->lpVtbl->GetQuality(p) +#define IDirect3DRMMeshBuilder3_GetPerspective(p) (p)->lpVtbl->GetPerspective(p) + +#define IDirect3DRMMeshBuilder3_GetFaceCount(p) (p)->lpVtbl->GetFaceCount(p) +#define IDirect3DRMMeshBuilder3_GetVertexCount(p) (p)->lpVtbl->GetVertexCount(p) +#define IDirect3DRMMeshBuilder3_GetVertexColor(p,a) (p)->lpVtbl->GetVertexColor(p,a) +#define IDirect3DRMMeshBuilder3_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a) +#define IDirect3DRMMeshBuilder3_GetFace(p,a,b) (p)->lpVtbl->GetFace(p,a,b) +#define IDirect3DRMMeshBuilder3_GetVertex(p,a,b) (p)->lpVtbl->GetVertex(p,a,b) +#define IDirect3DRMMeshBuilder3_GetNormal(p,a,b) (p)->lpVtbl->GetNormal(p,a,b) +#define IDirect3DRMMeshBuilder3_DeleteVertices(p,a,b) (p)->lpVtbl->DeleteVertices(p,a,b) +#define IDirect3DRMMeshBuilder3_DeleteNormals(p,a,b) (p)->lpVtbl->DeleteNormals(p,a,b) +#define IDirect3DRMMeshBuilder3_DeleteFace(p,a) (p)->lpVtbl->DeleteFace(p,a) +#define IDirect3DRMMeshBuilder3_Empty(p,a) (p)->lpVtbl->Empty(p,a) +#define IDirect3DRMMeshBuilder3_Optimize(p,a) (p)->lpVtbl->Optimize(p,a) +#define IDirect3DRMMeshBuilder3_AddFacesIndexed(p,a,b,c,d) (p)->lpVtbl->AddFacesIndexed(p,a,b,c,d) +#define IDirect3DRMMeshBuilder3_CreateSubMesh(p,a) (p)->lpVtbl->CreateSubMesh(p,a) +#define IDirect3DRMMeshBuilder3_GetParentMesh(p,a,b) (p)->lpVtbl->GetParentMesh(p,a,b) +#define IDirect3DRMMeshBuilder3_GetSubMeshes(p,a,b) (p)->lpVtbl->GetSubMeshes(p,a,b) +#define IDirect3DRMMeshBuilder3_DeleteSubMesh(p,a) (p)->lpVtbl->DeleteSubMesh(p,a) +#define IDirect3DRMMeshBuilder3_Enable(p,a) (p)->lpVtbl->Enable(p,a) +#define IDirect3DRMMeshBuilder3_AddTriangles(p,a,b,c,d) (p)->lpVtbl->AddTriangles(p,a,b,c,d) +#define IDirect3DRMMeshBuilder3_SetVertices(p,a,b,c) (p)->lpVtbl->SetVertices(p,a,b,c) +#define IDirect3DRMMeshBuilder3_GetVertices(p,a,b,c) (p)->lpVtbl->GetVertices(p,a,b,c) +#define IDirect3DRMMeshBuilder3_SetNormals(p,a,b,c) (p)->lpVtbl->SetNormals(p,a,b,c) +#define IDirect3DRMMeshBuilder3_GetNormals(p,a,b,c) (p)->lpVtbl->GetNormals(p,a,b,c) +#define IDirect3DRMMeshBuilder3_GetNormalCount(p) (p)->lpVtbl->GetNormalCount(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMMeshBuilder3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMMeshBuilder3_AddRef(p) (p)->AddRef() +#define IDirect3DRMMeshBuilder3_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMeshBuilder3_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMMeshBuilder3_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMMeshBuilder3_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMMeshBuilder3_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMMeshBuilder3_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMMeshBuilder3_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMMeshBuilder3_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMMeshBuilder3_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMMeshBuilder3 methods ***/ +#define IDirect3DRMMeshBuilder3_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e) +#define IDirect3DRMMeshBuilder3_Save(p,a,b,c) (p)->Save(a,b,c) +#define IDirect3DRMMeshBuilder3_Scale(p,a,b,c) (p)->Scale(a,b,c) +#define IDirect3DRMMeshBuilder3_Translate(p,a,b,c) (p)->Translate(a) +#define IDirect3DRMMeshBuilder3_SetColorSource(p,a) (p)->SetColorSource(a,b,c) +#define IDirect3DRMMeshBuilder3_GetBox(p,a) (p)->GetBox(a) +#define IDirect3DRMMeshBuilder3_GenerateNormals(p,a,b) (p)->GenerateNormals(a,b) +#define IDirect3DRMMeshBuilder3_GetColorSource(p) (p)->GetColorSource() +#define IDirect3DRMMeshBuilder3_AddMesh(p,a) (p)-->AddMesh(a) +#define IDirect3DRMMeshBuilder3_AddMeshBuilder(p,a) (p)->AddMeshBuilder(a) +#define IDirect3DRMMeshBuilder3_AddFrame(p,a) (p)->AddFrame(a) +#define IDirect3DRMMeshBuilder3_AddFace(p,a) (p)->AddFace(a) +#define IDirect3DRMMeshBuilder3_AddFaces(p,a,b,c,d,e,f) (p)->AddFaces(a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder3_ReserveSpace(p,a,b,c) (p)->ReserveSpace(a,b,c) +#define IDirect3DRMMeshBuilder3_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMMeshBuilder3_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMMeshBuilder3_SetTexture(p,a) (p)->SetTexture(a) +#define IDirect3DRMMeshBuilder3_SetMaterial(p,a) (p)->SetMaterial(a) +#define IDirect3DRMMeshBuilder3_SetTextureTopology(p,a,b) (p)->SetTextureTopology(a,b) +#define IDirect3DRMMeshBuilder3_SetQuality(p,a) (p)->SetQuality(a) +#define IDirect3DRMMeshBuilder3_SetPerspective(p,a) (p)->SetPerspective(a) +#define IDirect3DRMMeshBuilder3_SetVertex(p,a,b,c,d) (p)->SetVertex(a,b,c,d) +#define IDirect3DRMMeshBuilder3_SetNormal(p,a,b,c,d) (p)->SetNormal(a,b,c,d) +#define IDirect3DRMMeshBuilder3_SetTextureCoordinates(p,a,b,c) (p)->SetTextureCoordinates(a,b,c) +#define IDirect3DRMMeshBuilder3_SetVertexColor(p,a,b) (p)->SetVertexColor(a,b) +#define IDirect3DRMMeshBuilder3_SetVertexColorRGB(p,a,b,c,d) (p)->SetVertexColorRGB(a,b,c,d) +#define IDirect3DRMMeshBuilder3_GetFaces(p,a) (p)->GetFaces(a) +#define IDirect3DRMMeshBuilder3_GetGeometry(p,a,b,c,d,e,f) (p)->GetGeometry(a,b,c,d,e,f) +#define IDirect3DRMMeshBuilder3_GetTextureCoordinates(p,a,b,c) (p)->GetTextureCoordinates(a,b,c) +#define IDirect3DRMMeshBuilder3_AddVertex(p,a,b,c) (p)->AddVertex(a,b,c) +#define IDirect3DRMMeshBuilder3_AddNormal(p,a,b,c) (p)->AddNormal(a,b,c) +#define IDirect3DRMMeshBuilder3_CreateFace(p,a) (p)->CreateFace(a) + +#define IDirect3DRMMeshBuilder3_GetQuality(p) (p)->GetQuality() +#define IDirect3DRMMeshBuilder3_GetPerspective(p) (p)->GetPerspective() +#define IDirect3DRMMeshBuilder3_GetFaceCount(p) (p)->GetFaceCount() +#define IDirect3DRMMeshBuilder3_GetVertexCount(p) (p)->GetVertexCount() +#define IDirect3DRMMeshBuilder3_GetVertexColor(p,a) (p)->GetVertexColor(a) +#define IDirect3DRMMeshBuilder3_CreateMesh(p,a) (p)->CreateMesh(a) +#define IDirect3DRMMeshBuilder3_GetFace(p,a,b) (p)->GetFace(a,b) +#define IDirect3DRMMeshBuilder3_GetVertex(p,a,b) (p)->GetVertex(a,b) +#define IDirect3DRMMeshBuilder3_GetNormal(p,a,b) (p)->GetNormal(a,b) +#define IDirect3DRMMeshBuilder3_DeleteVertices(p,a,b) (p)->DeleteVertices(a,b) +#define IDirect3DRMMeshBuilder3_DeleteNormals(p,a,b) (p)->DeleteNormals(a,b) +#define IDirect3DRMMeshBuilder3_DeleteFace(p,a) (p)->DeleteFace(a) +#define IDirect3DRMMeshBuilder3_Empty(p,a) (p)->Empty(a) +#define IDirect3DRMMeshBuilder3_Optimize(p,a) (p)->Optimize(a) +#define IDirect3DRMMeshBuilder3_AddFacesIndexed(p,a,b,c,d) (p)->AddFacesIndexed(a,b,c,d) +#define IDirect3DRMMeshBuilder3_CreateSubMesh(p,a) (p)->CreateSubMesh(a) +#define IDirect3DRMMeshBuilder3_GetParentMesh(p,a,b) (p)->GetParentMesh(a,b) +#define IDirect3DRMMeshBuilder3_GetSubMeshes(p,a,b) (p)->GetSubMeshes(a,b) +#define IDirect3DRMMeshBuilder3_DeleteSubMesh(p,a) (p)->DeleteSubMesh(a) +#define IDirect3DRMMeshBuilder3_Enable(p,a) (p)->Enable(a) +#define IDirect3DRMMeshBuilder3_AddTriangles(p,a,b,c,d) (p)->AddTriangles(a,b,c,d) +#define IDirect3DRMMeshBuilder3_SetVertices(p,a,b,c) (p)->SetVertices(a,b,c) +#define IDirect3DRMMeshBuilder3_GetVertices(p,a,b,c) (p)->GetVertices(a,b,c) +#define IDirect3DRMMeshBuilder3_SetNormals(p,a,b,c) (p)->SetNormals(a,b,c) +#define IDirect3DRMMeshBuilder3_GetNormals(p,a,b,c) (p)->GetNormals(a,b,c) +#define IDirect3DRMMeshBuilder3_GetNormalCount(p) (p)->GetNormalCount() +#endif + +/***************************************************************************** + * IDirect3DRMLight interface + */ +#define INTERFACE IDirect3DRMLight +DECLARE_INTERFACE_(IDirect3DRMLight,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMLight methods ***/ + STDMETHOD(SetType)(THIS_ D3DRMLIGHTTYPE) PURE; + STDMETHOD(SetColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(SetColorRGB)(THIS_ D3DVALUE red, D3DVALUE green, D3DVALUE blue) PURE; + STDMETHOD(SetRange)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetUmbra)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetPenumbra)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetConstantAttenuation)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetLinearAttenuation)(THIS_ D3DVALUE) PURE; + STDMETHOD(SetQuadraticAttenuation)(THIS_ D3DVALUE) PURE; + STDMETHOD_(D3DVALUE, GetRange)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetUmbra)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetPenumbra)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetConstantAttenuation)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetLinearAttenuation)(THIS) PURE; + STDMETHOD_(D3DVALUE, GetQuadraticAttenuation)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetColor)(THIS) PURE; + STDMETHOD_(D3DRMLIGHTTYPE, GetType)(THIS) PURE; + STDMETHOD(SetEnableFrame)(THIS_ IDirect3DRMFrame *frame) PURE; + STDMETHOD(GetEnableFrame)(THIS_ IDirect3DRMFrame **frame) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMLight_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMLight_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMLight_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMLight_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMLight_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMLight_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMLight_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMLight_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMLight_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMLight_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMLight_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMLight methods ***/ +#define IDirect3DRMLight_SetType(p,a) (p)->lpVtbl->SetType(p,a) +#define IDirect3DRMLight_SetColor(p,a) (p)->lpVtbl->SetColor(p,a) +#define IDirect3DRMLight_SetColorRGB(p,a,b,c) (p)->lpVtbl->SetColorRGB(p,a,b,c) +#define IDirect3DRMLight_SetRange(p,a) (p)->lpVtbl->SetRange(p,a) +#define IDirect3DRMLight_SetUmbra(p,a) (p)->lpVtbl->SetUmbra(p,a) +#define IDirect3DRMLight_SetPenumbra(p,a) (p)->lpVtbl->SetPenumbra(p,a) +#define IDirect3DRMLight_SetConstantAttenuation(p,a) (p)->lpVtbl->SetConstantAttenuation(p,a) +#define IDirect3DRMLight_SetLinearAttenuation(p,a) (p)->lpVtbl->SetLinearAttenuation(p,a) +#define IDirect3DRMLight_SetQuadraticAttenuation(p,a) (p)->lpVtbl->SetQuadraticAttenuation(p,a) +#define IDirect3DRMLight_GetRange(p) (p)->lpVtbl->GetRange(p) +#define IDirect3DRMLight_GetUmbra(p) (p)->lpVtbl->GetUmbra(p) +#define IDirect3DRMLight_GetPenumbra(p) (p)->lpVtbl->GetPenumbra(p) +#define IDirect3DRMLight_GetConstantAttenuation(p) (p)->lpVtbl->GetConstantAttenuation(p) +#define IDirect3DRMLight_GetLinearAttenuation(p) (p)->lpVtbl->GetLinearAttenuation(p) +#define IDirect3DRMLight_GetQuadraticAttenuation(p) (p)->lpVtbl->GetQuadraticAttenuation(p) +#define IDirect3DRMLight_GetColor(p) (p)->lpVtbl->GetColor(p) +#define IDirect3DRMLight_GetType(p) (p)->lpVtbl->GetType(p) +#define IDirect3DRMLight_SetEnableFrame(p,a) (p)->lpVtbl->SetEnableFrame(p,a) +#define IDirect3DRMLight_GetEnableFrame(p,a) (p)->lpVtbl->GetEnableFrame(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMLight_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMLight_AddRef(p) (p)->AddRef() +#define IDirect3DRMLight_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMLight_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMLight_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMLight_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMLight_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMLight_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMLight_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMLight_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMLight_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMLight methods ***/ +#define IDirect3DRMLight_SetType(p,a) (p)->SetType(a) +#define IDirect3DRMLight_SetColor(p,a) (p)->SetColor(a) +#define IDirect3DRMLight_SetColorRGB(p,a,b,c) (p)->SetColorRGB(a,b,c) +#define IDirect3DRMLight_SetRange(p,a) (p)->SetRange(a) +#define IDirect3DRMLight_SetUmbra(p,a) (p)->SetUmbra(a) +#define IDirect3DRMLight_SetPenumbra(p,a) (p)->SetPenumbra(a) +#define IDirect3DRMLight_SetConstantAttenuation(p,a) (p)->SetConstantAttenuation(a) +#define IDirect3DRMLight_SetLinearAttenuation(p,a) (p)->SetLinearAttenuation(a) +#define IDirect3DRMLight_SetQuadraticAttenuation(p,a) (p)->SetQuadraticAttenuation(a) +#define IDirect3DRMLight_GetRange(p) (p)->GetRange() +#define IDirect3DRMLight_GetUmbra(p) (p)->GetUmbra() +#define IDirect3DRMLight_GetPenumbra(p) (p)->GetPenumbra() +#define IDirect3DRMLight_GetConstantAttenuation(p) (p)->GetConstantAttenuation() +#define IDirect3DRMLight_GetLinearAttenuation(p) (p)->GetLinearAttenuation() +#define IDirect3DRMLight_GetQuadraticAttenuation(p) (p)->GetQuadraticAttenuation() +#define IDirect3DRMLight_GetColor(p) (p)->GetColor() +#define IDirect3DRMLight_GetType(p) (p)->GetType() +#define IDirect3DRMLight_SetEnableFrame(p,a) (p)->SetEnableFrame(a) +#define IDirect3DRMLight_GetEnableFrame(p,a) (p)->GetEnableFrame(a) +#endif + +/***************************************************************************** + * IDirect3DRMTexture interface + */ +#define INTERFACE IDirect3DRMTexture +DECLARE_INTERFACE_(IDirect3DRMTexture, IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMTexture methods ***/ + STDMETHOD(InitFromFile)(THIS_ const char *filename) PURE; + STDMETHOD(InitFromSurface)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(InitFromResource)(THIS_ HRSRC) PURE; + STDMETHOD(Changed)(THIS_ BOOL pixels, BOOL palette) PURE; + STDMETHOD(SetColors)(THIS_ DWORD) PURE; + STDMETHOD(SetShades)(THIS_ DWORD) PURE; + STDMETHOD(SetDecalSize)(THIS_ D3DVALUE width, D3DVALUE height) PURE; + STDMETHOD(SetDecalOrigin)(THIS_ LONG x, LONG y) PURE; + STDMETHOD(SetDecalScale)(THIS_ DWORD) PURE; + STDMETHOD(SetDecalTransparency)(THIS_ BOOL) PURE; + STDMETHOD(SetDecalTransparentColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(GetDecalSize)(THIS_ D3DVALUE *width_return, D3DVALUE *height_return) PURE; + STDMETHOD(GetDecalOrigin)(THIS_ LONG *x_return, LONG *y_return) PURE; + STDMETHOD_(D3DRMIMAGE *, GetImage)(THIS) PURE; + STDMETHOD_(DWORD, GetShades)(THIS) PURE; + STDMETHOD_(DWORD, GetColors)(THIS) PURE; + STDMETHOD_(DWORD, GetDecalScale)(THIS) PURE; + STDMETHOD_(BOOL, GetDecalTransparency)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetDecalTransparentColor)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMTexture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMTexture_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMTexture_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMTexture_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMTexture_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMTexture_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMTexture_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMTexture_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMTexture_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMTexture_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMTexture_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMTexture methods ***/ +#define IDirect3DRMTexture_InitFromFile(p,a) (p)->lpVtbl->InitFromFile(p,a) +#define IDirect3DRMTexture_InitFromSurface(p,a) (p)->lpVtbl->InitFromSurface(p,a) +#define IDirect3DRMTexture_InitFromResource(p,a) (p)->lpVtbl->InitFromResource(p,a) +#define IDirect3DRMTexture_Changed(p,a,b) (p)->lpVtbl->Changed(p,a,b) +#define IDirect3DRMTexture_SetColors(p,a) (p)->lpVtbl->SetColors(p,a) +#define IDirect3DRMTexture_SetShades(p,a) (p)->lpVtbl->SetShades(p,a) +#define IDirect3DRMTexture_SetDecalSize(p,a,b) (p)->lpVtbl->SetDecalSize(p,a,b) +#define IDirect3DRMTexture_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) +#define IDirect3DRMTexture_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) +#define IDirect3DRMTexture_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) +#define IDirect3DRMTexture_SetDecalTransparencyColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) +#define IDirect3DRMTexture_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) +#define IDirect3DRMTexture_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) +#define IDirect3DRMTexture_GetImage(p) (p)->lpVtbl->GetImage(p) +#define IDirect3DRMTexture_GetShades(p) (p)->lpVtbl->GetShades(p) +#define IDirect3DRMTexture_GetColors(p) (p)->lpVtbl->GetColors(p) +#define IDirect3DRMTexture_GetDecalScale(p) (p)->lpVtbl->GetDecalScale(p) +#define IDirect3DRMTexture_GetDecalTransparency(p) (p)->lpVtbl->GetDecalTransparency(p) +#define IDirect3DRMTexture_GetDecalTransparencyColor(p) (p)->lpVtbl->GetDecalTransparencyColor(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMTexture_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMTexture_AddRef(p) (p)->AddRef() +#define IDirect3DRMTexture_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMTexture_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMTexture_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMTexture_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMTexture_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMTexture_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMTexture_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMTexture_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMTexture_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMTexture methods ***/ +#define IDirect3DRMTexture_InitFromFile(p,a) (p)->InitFromFile(a) +#define IDirect3DRMTexture_InitFromSurface(p,a) (p)->InitFromSurface(a) +#define IDirect3DRMTexture_InitFromResource(p,a) (p)->InitFromResource(a) +#define IDirect3DRMTexture_Changed(p,a,b) (p)->Changed(a,b) +#define IDirect3DRMTexture_SetColors(p,a) (p)->SetColors(a) +#define IDirect3DRMTexture_SetShades(p,a) (p)->SetShades(a) +#define IDirect3DRMTexture_SetDecalSize(p,a,b) (p)->SetDecalSize(a,b) +#define IDirect3DRMTexture_SetDecalOrigin(p,a,b) (p)->SetDecalOrigin(a,b) +#define IDirect3DRMTexture_SetDecalScale(p,a) (p)->SetDecalScale(a) +#define IDirect3DRMTexture_SetDecalTransparency(p,a) (p)->SetDecalTransparency(a) +#define IDirect3DRMTexture_SetDecalTransparentColor(p,a) (p)->SetDecalTransparentColor(a) +#define IDirect3DRMTexture_GetDecalSize(p,a,b) (p)->GetDecalSize(a,b) +#define IDirect3DRMTexture_GetDecalOrigin(p,a,b) (p)->GetDecalOrigin(a,b) +#define IDirect3DRMTexture_GetImage(p) (p)->GetImage() +#define IDirect3DRMTexture_GetShades(p) (p)->GetShades() +#define IDirect3DRMTexture_GetColors(p) (p)->GetColors() +#define IDirect3DRMTexture_GetDecalScale(p) (p)->GetDecalScale() +#define IDirect3DRMTexture_GetDecalTransparency(p) (p)->GetDecalTransparency() +#define IDirect3DRMTexture_GetDecalTransparentColor(p) (p)->GetDecalTransparentColor() +#endif + +/***************************************************************************** + * IDirect3DRMTexture2 interface + */ +#define INTERFACE IDirect3DRMTexture2 +DECLARE_INTERFACE_(IDirect3DRMTexture2, IDirect3DRMTexture) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMTexture methods ***/ + STDMETHOD(InitFromFile)(THIS_ const char *filename) PURE; + STDMETHOD(InitFromSurface)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(InitFromResource)(THIS_ HRSRC) PURE; + STDMETHOD(Changed)(THIS_ BOOL pixels, BOOL palette) PURE; + STDMETHOD(SetColors)(THIS_ DWORD) PURE; + STDMETHOD(SetShades)(THIS_ DWORD) PURE; + STDMETHOD(SetDecalSize)(THIS_ D3DVALUE width, D3DVALUE height) PURE; + STDMETHOD(SetDecalOrigin)(THIS_ LONG x, LONG y) PURE; + STDMETHOD(SetDecalScale)(THIS_ DWORD) PURE; + STDMETHOD(SetDecalTransparency)(THIS_ BOOL) PURE; + STDMETHOD(SetDecalTransparentColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(GetDecalSize)(THIS_ D3DVALUE *width_return, D3DVALUE *height_return) PURE; + STDMETHOD(GetDecalOrigin)(THIS_ LONG *x_return, LONG *y_return) PURE; + STDMETHOD_(D3DRMIMAGE *, GetImage)(THIS) PURE; + STDMETHOD_(DWORD, GetShades)(THIS) PURE; + STDMETHOD_(DWORD, GetColors)(THIS) PURE; + STDMETHOD_(DWORD, GetDecalScale)(THIS) PURE; + STDMETHOD_(BOOL, GetDecalTransparency)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetDecalTransparentColor)(THIS) PURE; + /*** IDirect3DRMTexture2 methods ***/ + STDMETHOD(InitFromImage)(THIS_ D3DRMIMAGE *image) PURE; + STDMETHOD(InitFromResource2)(THIS_ HMODULE module, const char *name, const char *type) PURE; + STDMETHOD(GenerateMIPMap)(THIS_ DWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMTexture2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMTexture2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMTexture2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMTexture2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMTexture2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMTexture2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMTexture2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMTexture2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMTexture2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMTexture2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMTexture2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMTexture methods ***/ +#define IDirect3DRMTexture2_InitFromFile(p,a) (p)->lpVtbl->InitFromFile(p,a) +#define IDirect3DRMTexture2_InitFromSurface(p,a) (p)->lpVtbl->InitFromSurface(p,a) +#define IDirect3DRMTexture2_InitFromResource(p,a) (p)->lpVtbl->InitFromResource(p,a) +#define IDirect3DRMTexture2_Changed(p,a,b) (p)->lpVtbl->Changed(p,a,b) +#define IDirect3DRMTexture2_SetColors(p,a) (p)->lpVtbl->SetColors(p,a) +#define IDirect3DRMTexture2_SetShades(p,a) (p)->lpVtbl->SetShades(p,a) +#define IDirect3DRMTexture2_SetDecalSize(p,a,b) (p)->lpVtbl->SetDecalSize(p,a,b) +#define IDirect3DRMTexture2_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) +#define IDirect3DRMTexture2_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) +#define IDirect3DRMTexture2_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) +#define IDirect3DRMTexture2_SetDecalTransparencyColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) +#define IDirect3DRMTexture2_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) +#define IDirect3DRMTexture2_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) +#define IDirect3DRMTexture2_GetImage(p) (p)->lpVtbl->GetImage(p) +#define IDirect3DRMTexture2_GetShades(p) (p)->lpVtbl->GetShades(p) +#define IDirect3DRMTexture2_GetColors(p) (p)->lpVtbl->GetColors(p) +#define IDirect3DRMTexture2_GetDecalScale(p) (p)->lpVtbl->GetDecalScale(p) +#define IDirect3DRMTexture2_GetDecalTransparency(p) (p)->lpVtbl->GetDecalTransparency(p) +#define IDirect3DRMTexture2_GetDecalTransparencyColor(p) (p)->lpVtbl->GetDecalTransparencyColor(p) +/*** IDirect3DRMTexture2 methods ***/ +#define IDirect3DRMTexture2_InitFromImage(p,a) (p)->lpVtbl->InitFromImage(p,a) +#define IDirect3DRMTexture2_InitFromResource2(p,a,b,c) (p)->lpVtbl->InitFromResource2(p,a,b,c) +#define IDirect3DRMTexture2_GenerateMIPMap(p,a) (p)->lpVtbl->GenerateMIPMap(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMTexture2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMTexture2_AddRef(p) (p)->AddRef() +#define IDirect3DRMTexture2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMTexture2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMTexture2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMTexture2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMTexture2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMTexture2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMTexture2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMTexture2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMTexture2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMTexture methods ***/ +#define IDirect3DRMTexture2_InitFromFile(p,a) (p)->InitFromFile(a) +#define IDirect3DRMTexture2_InitFromSurface(p,a) (p)->InitFromSurface(a) +#define IDirect3DRMTexture2_InitFromResource(p,a) (p)->InitFromResource(a) +#define IDirect3DRMTexture2_Changed(p,a,b) (p)->Changed(a,b) +#define IDirect3DRMTexture2_SetColors(p,a) (p)->SetColors(a) +#define IDirect3DRMTexture2_SetShades(p,a) (p)->SetShades(a) +#define IDirect3DRMTexture2_SetDecalSize(p,a,b) (p)->SetDecalSize(a,b) +#define IDirect3DRMTexture2_SetDecalOrigin(p,a,b) (p)->SetDecalOrigin(a,b) +#define IDirect3DRMTexture2_SetDecalScale(p,a) (p)->SetDecalScale(a) +#define IDirect3DRMTexture2_SetDecalTransparency(p,a) (p)->SetDecalTransparency(a) +#define IDirect3DRMTexture2_SetDecalTransparentColor(p,a) (p)->SetDecalTransparentColor(a) +#define IDirect3DRMTexture2_GetDecalSize(p,a,b) (p)->GetDecalSize(a,b) +#define IDirect3DRMTexture2_GetDecalOrigin(p,a,b) (p)->GetDecalOrigin(a,b) +#define IDirect3DRMTexture2_GetImage(p) (p)->GetImage() +#define IDirect3DRMTexture2_GetShades(p) (p)->GetShades() +#define IDirect3DRMTexture2_GetColors(p) (p)->GetColors() +#define IDirect3DRMTexture2_GetDecalScale(p) (p)->GetDecalScale() +#define IDirect3DRMTexture2_GetDecalTransparency(p) (p)->GetDecalTransparency() +#define IDirect3DRMTexture2_GetDecalTransparentColor(p) (p)->GetDecalTransparentColor() +/*** IDirect3DRMTexture2 methods ***/ +#define IDirect3DRMTexture2_InitFromImage(p,a) (p)->InitFromImage(a) +#define IDirect3DRMTexture2_InitFromResource2(p,a,b,c) (p)->InitFromResource2(a,b,c) +#define IDirect3DRMTexture2_GenerateMIPMap(p,a) (p)->GenerateMIPMap(a) +#endif + +/***************************************************************************** + * IDirect3DRMTexture3 interface + */ +#define INTERFACE IDirect3DRMTexture3 +DECLARE_INTERFACE_(IDirect3DRMTexture3, IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMTexture3 methods ***/ + STDMETHOD(InitFromFile)(THIS_ const char *filename) PURE; + STDMETHOD(InitFromSurface)(THIS_ IDirectDrawSurface *surface) PURE; + STDMETHOD(InitFromResource)(THIS_ HRSRC) PURE; + STDMETHOD(Changed)(THIS_ DWORD flags, DWORD rect_count, RECT *rects) PURE; + STDMETHOD(SetColors)(THIS_ DWORD) PURE; + STDMETHOD(SetShades)(THIS_ DWORD) PURE; + STDMETHOD(SetDecalSize)(THIS_ D3DVALUE width, D3DVALUE height) PURE; + STDMETHOD(SetDecalOrigin)(THIS_ LONG x, LONG y) PURE; + STDMETHOD(SetDecalScale)(THIS_ DWORD) PURE; + STDMETHOD(SetDecalTransparency)(THIS_ BOOL) PURE; + STDMETHOD(SetDecalTransparentColor)(THIS_ D3DCOLOR) PURE; + STDMETHOD(GetDecalSize)(THIS_ D3DVALUE *width_return, D3DVALUE *height_return) PURE; + STDMETHOD(GetDecalOrigin)(THIS_ LONG *x_return, LONG *y_return) PURE; + STDMETHOD_(D3DRMIMAGE *, GetImage)(THIS) PURE; + STDMETHOD_(DWORD, GetShades)(THIS) PURE; + STDMETHOD_(DWORD, GetColors)(THIS) PURE; + STDMETHOD_(DWORD, GetDecalScale)(THIS) PURE; + STDMETHOD_(BOOL, GetDecalTransparency)(THIS) PURE; + STDMETHOD_(D3DCOLOR, GetDecalTransparentColor)(THIS) PURE; + STDMETHOD(InitFromImage)(THIS_ D3DRMIMAGE *image) PURE; + STDMETHOD(InitFromResource2)(THIS_ HMODULE module, const char *name, const char *type) PURE; + STDMETHOD(GenerateMIPMap)(THIS_ DWORD) PURE; + STDMETHOD(GetSurface)(THIS_ DWORD flags, IDirectDrawSurface **surface) PURE; + STDMETHOD(SetCacheOptions)(THIS_ LONG lImportance, DWORD dwFlags) PURE; + STDMETHOD(GetCacheOptions)(THIS_ LONG *importance, DWORD *flags) PURE; + STDMETHOD(SetDownsampleCallback)(THIS_ D3DRMDOWNSAMPLECALLBACK cb, void *ctx) PURE; + STDMETHOD(SetValidationCallback)(THIS_ D3DRMVALIDATIONCALLBACK cb, void *ctx) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMTexture3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMTexture3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMTexture3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMTexture3_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMTexture3_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMTexture3_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMTexture3_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMTexture3_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMTexture3_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMTexture3_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMTexture3_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMTexture3 methods ***/ +#define IDirect3DRMTexture3_InitFromFile(p,a) (p)->lpVtbl->InitFromFile(p,a) +#define IDirect3DRMTexture3_InitFromSurface(p,a) (p)->lpVtbl->InitFromSurface(p,a) +#define IDirect3DRMTexture3_InitFromResource(p,a) (p)->lpVtbl->InitFromResource(p,a) +#define IDirect3DRMTexture3_Changed(p,a,b,c) (p)->lpVtbl->Changed(p,a,b,c) +#define IDirect3DRMTexture3_SetColors(p,a) (p)->lpVtbl->SetColors(p,a) +#define IDirect3DRMTexture3_SetShades(p,a) (p)->lpVtbl->SetShades(p,a) +#define IDirect3DRMTexture3_SetDecalSize(p,a,b) (p)->lpVtbl->SetDecalSize(p,a,b) +#define IDirect3DRMTexture3_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) +#define IDirect3DRMTexture3_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) +#define IDirect3DRMTexture3_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) +#define IDirect3DRMTexture3_SetDecalTransparentColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) +#define IDirect3DRMTexture3_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) +#define IDirect3DRMTexture3_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) +#define IDirect3DRMTexture3_GetImage(p) (p)->lpVtbl->GetImage(p) +#define IDirect3DRMTexture3_GetShades(p) (p)->lpVtbl->GetShades(p) +#define IDirect3DRMTexture3_GetColors(p) (p)->lpVtbl->GetColors(p) +#define IDirect3DRMTexture3_GetDecalScale(p) (p)->lpVtbl->GetDecalScale(p) +#define IDirect3DRMTexture3_GetDecalTransparency(p) (p)->lpVtbl->GetDecalTransparency(p) +#define IDirect3DRMTexture3_GetDecalTransparentColor(p) (p)->lpVtbl->GetDecalTransparentColor(p) +#define IDirect3DRMTexture3_InitFromImage(p,a) (p)->lpVtbl->InitFromImage(p,a) +#define IDirect3DRMTexture3_InitFromResource2(p,a,b,c) (p)->lpVtbl->InitFromResource2(p,a,b,c) +#define IDirect3DRMTexture3_GenerateMIPMap(p,a) (p)->lpVtbl->GenerateMIPMap(p,a) +#define IDirect3DRMTexture3_GetSurface(p,a,b) (p)->lpVtbl->GetSurface(p,a,b) +#define IDirect3DRMTexture3_SetCacheOptions(p,a,b) (p)->lpVtbl->SetCacheOptions(p,a,b) +#define IDirect3DRMTexture3_GetCacheOptions(p,a,b) (p)->lpVtbl->GetCacheOptions(p,a,b) +#define IDirect3DRMTexture3_SetDownsampleCallback(p,a,b) (p)->lpVtbl->SetDownsampleCallback(p,a,b) +#define IDirect3DRMTexture3_SetValidationCallback(p,a,b) (p)->lpVtbl->SetValidationCallback(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMTexture3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMTexture3_AddRef(p) (p)->AddRef() +#define IDirect3DRMTexture3_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMTexture3_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMTexture3_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMTexture3_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMTexture3_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMTexture3_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMTexture3_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMTexture3_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMTexture3_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMTexture3 methods ***/ +#define IDirect3DRMTexture3_InitFromFile(p,a) (p)->InitFromFile(a) +#define IDirect3DRMTexture3_InitFromSurface(p,a) (p)->InitFromSurface(a) +#define IDirect3DRMTexture3_InitFromResource(p,a) (p)->InitFromResource(a) +#define IDirect3DRMTexture3_Changed(p,a,b,c) (p)->Changed(a,b,c) +#define IDirect3DRMTexture3_SetColors(p,a) (p)->SetColors(a) +#define IDirect3DRMTexture3_SetShades(p,a) (p)->SetShades(a) +#define IDirect3DRMTexture3_SetDecalSize(p,a,b) (p)->SetDecalSize(a,b) +#define IDirect3DRMTexture3_SetDecalOrigin(p,a,b) (p)->SetDecalOrigin(a,b) +#define IDirect3DRMTexture3_SetDecalScale(p,a) (p)->SetDecalScale(a) +#define IDirect3DRMTexture3_SetDecalTransparency(p,a) (p)->SetDecalTransparency(a) +#define IDirect3DRMTexture3_SetDecalTransparencyColor(p,a) (p)->SetDecalTransparentColor(a) +#define IDirect3DRMTexture3_GetDecalSize(p,a,b) (p)->GetDecalSize(a,b) +#define IDirect3DRMTexture3_GetDecalOrigin(p,a,b) (p)->GetDecalOrigin(a,b) +#define IDirect3DRMTexture3_GetImage(p) (p)->GetImage() +#define IDirect3DRMTexture3_GetShades(p) (p)->GetShades() +#define IDirect3DRMTexture3_GetColors(p) (p)->GetColors() +#define IDirect3DRMTexture3_GetDecalScale(p) (p)->GetDecalScale() +#define IDirect3DRMTexture3_GetDecalTransparency(p) (p)->GetDecalTransparency() +#define IDirect3DRMTexture3_GetDecalTransparencyColor(p) (p)->GetDecalTransparencyColor() +#define IDirect3DRMTexture3_InitFromImage(p,a) (p)->InitFromImage(a) +#define IDirect3DRMTexture3_InitFromResource2(p,a,b,c) (p)->InitFromResource2(a,b,c) +#define IDirect3DRMTexture3_GenerateMIPMap(p,a) (p)->GenerateMIPMap(a) +#define IDirect3DRMTexture3_GetSurface(p,a,b) (p)->GetSurface(a,b) +#define IDirect3DRMTexture3_SetCacheOptions(p,a,b) (p)->SetCacheOptions(a,b) +#define IDirect3DRMTexture3_GetCacheOptions(p,a,b) (p)->GetCacheOptions(a,b) +#define IDirect3DRMTexture3_SetDownsampleCallback(p,a,b) (p)->SetDownsampleCallback(a,b) +#define IDirect3DRMTexture3_SetValidationCallback(p,a,b) (p)->SetValidationCallback(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMWrap interface + */ +#define INTERFACE IDirect3DRMWrap +DECLARE_INTERFACE_(IDirect3DRMWrap, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMWrap methods ***/ + STDMETHOD(Init)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame *reference, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz, + D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, + D3DVALUE ou, D3DVALUE ov, D3DVALUE su, D3DVALUE sv) PURE; + STDMETHOD(Apply)(THIS_ IDirect3DRMObject *object) PURE; + STDMETHOD(ApplyRelative)(THIS_ IDirect3DRMFrame *frame, IDirect3DRMObject *object) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMWrap_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMWrap_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMWrap_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMWrap_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMWrap_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMWrap_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMWrap_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMWrap_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMWrap_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMWrap_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMWrap_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMWrap methods ***/ +#define IDirect3DRMWrap_Init(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) (p)->lpVtbl->Init(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) +#define IDirect3DRMWrap_Apply(p,a) (p)->lpVtbl->Apply(p,a) +#define IDirect3DRMWrap_ApplyRelative(p,a,b) (p)->lpVtbl->ApplyRelative(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMWrap_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMWrap_AddRef(p) (p)->AddRef() +#define IDirect3DRMWrap_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMWrap_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMWrap_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMWrap_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMWrap_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMWrap_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMWrap_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMWrap_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMWrap_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMWrap methods ***/ +#define IDirect3DRMWrap_Init(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) (p)->Init(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) +#define IDirect3DRMWrap_Apply(p,a) (p)->Apply(p,a) +#define IDirect3DRMWrap_ApplyRelative(p,a,b) (p)->ApplyRelative(p,a,b) +#endif + +/***************************************************************************** + * IDirect3DRMMaterial interface + */ +#define INTERFACE IDirect3DRMMaterial +DECLARE_INTERFACE_(IDirect3DRMMaterial, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMMaterial methods ***/ + STDMETHOD(SetPower)(THIS_ D3DVALUE power) PURE; + STDMETHOD(SetSpecular)(THIS_ D3DVALUE r, D3DVALUE g, D3DVALUE b) PURE; + STDMETHOD(SetEmissive)(THIS_ D3DVALUE r, D3DVALUE g, D3DVALUE b) PURE; + STDMETHOD_(D3DVALUE, GetPower)(THIS) PURE; + STDMETHOD(GetSpecular)(THIS_ D3DVALUE* r, D3DVALUE* g, D3DVALUE* b) PURE; + STDMETHOD(GetEmissive)(THIS_ D3DVALUE* r, D3DVALUE* g, D3DVALUE* b) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMMaterial_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMMaterial_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMMaterial_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMaterial_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMMaterial_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMMaterial_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMMaterial_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMMaterial_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMMaterial_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMMaterial_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMMaterial_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMMaterial methods ***/ +#define IDirect3DRMMaterial_SetPower(p,a) (p)->lpVtbl->SetPower(p,a) +#define IDirect3DRMMaterial_SetSpecular(p,a,b,c) (p)->lpVtbl->SetSpecular(p,a,b,c) +#define IDirect3DRMMaterial_SetEmissive(p,a,b,c) (p)->lpVtbl->SetEmissive(p,a,b,c) +#define IDirect3DRMMaterial_GetPower(p) (p)->lpVtbl->GetPower(p) +#define IDirect3DRMMaterial_GetSpecular(p,a,b,c) (p)->lpVtbl->GetSpecular(p,a,b,c) +#define IDirect3DRMMaterial_GetEmissive(p,a,b,c) (p)->lpVtbl->GetEmissive(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMMaterial_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMMaterial_AddRef(p) (p)->AddRef() +#define IDirect3DRMMaterial_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMaterial_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMMaterial_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMMaterial_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMMaterial_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMMaterial_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMMaterial_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMMaterial_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMMaterial_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMMaterial methods ***/ +#define IDirect3DRMMaterial_SetPower(p,a) (p)->SetPower(a) +#define IDirect3DRMMaterial_SetSpecular(p,a,b,c) (p)->SetSpecular(a,b,c) +#define IDirect3DRMMaterial_SetEmissive(p,a,b,c) (p)->SetEmissive(a,b,c) +#define IDirect3DRMMaterial_GetPower(p) (p)->GetPower() +#define IDirect3DRMMaterial_GetSpecular(p,a,b,c) (p)->GetSpecular(a,b,c) +#define IDirect3DRMMaterial_GetEmissive(p,a,b,c) (p)->GetEmissive(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DRMMaterial2 interface + */ +#define INTERFACE IDirect3DRMMaterial2 +DECLARE_INTERFACE_(IDirect3DRMMaterial2, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMMaterial2 methods ***/ + STDMETHOD(SetPower)(THIS_ D3DVALUE power) PURE; + STDMETHOD(SetSpecular)(THIS_ D3DVALUE r, D3DVALUE g, D3DVALUE b) PURE; + STDMETHOD(SetEmissive)(THIS_ D3DVALUE r, D3DVALUE g, D3DVALUE b) PURE; + STDMETHOD_(D3DVALUE, GetPower)(THIS) PURE; + STDMETHOD(GetSpecular)(THIS_ D3DVALUE* r, D3DVALUE* g, D3DVALUE* b) PURE; + STDMETHOD(GetEmissive)(THIS_ D3DVALUE* r, D3DVALUE* g, D3DVALUE* b) PURE; + STDMETHOD(GetAmbient)(THIS_ D3DVALUE* r, D3DVALUE* g, D3DVALUE* b) PURE; + STDMETHOD(SetAmbient)(THIS_ D3DVALUE r, D3DVALUE g, D3DVALUE b) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMMaterial2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMMaterial2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMMaterial2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMaterial2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMMaterial2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMMaterial2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMMaterial2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMMaterial2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMMaterial2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMMaterial2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMMaterial2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMMaterial2 methods ***/ +#define IDirect3DRMMaterial2_SetPower(p,a) (p)->lpVtbl->SetPower(p,a) +#define IDirect3DRMMaterial2_SetSpecular(p,a,b,c) (p)->lpVtbl->SetSpecular(p,a,b,c) +#define IDirect3DRMMaterial2_SetEmissive(p,a,b,c) (p)->lpVtbl->SetEmissive(p,a,b,c) +#define IDirect3DRMMaterial2_GetPower(p) (p)->lpVtbl->GetPower(p) +#define IDirect3DRMMaterial2_GetSpecular(p,a,b,c) (p)->lpVtbl->GetSpecular(p,a,b,c) +#define IDirect3DRMMaterial2_GetEmissive(p,a,b,c) (p)->lpVtbl->GetEmissive(p,a,b,c) +#define IDirect3DRMMaterial2_SetAmbient(p,a,b,c) (p)->lpVtbl->SetAmbient(p,a,b,c) +#define IDirect3DRMMaterial2_GetAmbient(p,a,b,c) (p)->lpVtbl->GetAmbient(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMMaterial2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMMaterial2_AddRef(p) (p)->AddRef() +#define IDirect3DRMMaterial2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMMaterial2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMMaterial2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMMaterial2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMMaterial2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMMaterial2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMMaterial2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMMaterial2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMMaterial2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMMaterial2 methods ***/ +#define IDirect3DRMMaterial2_SetPower(p,a) (p)->SetPower(a) +#define IDirect3DRMMaterial2_SetSpecular(p,a,b,c) (p)->SetSpecular(a,b,c) +#define IDirect3DRMMaterial2_SetEmissive(p,a,b,c) (p)->SetEmissive(a,b,c) +#define IDirect3DRMMaterial2_GetPower(p) (p)->GetPower() +#define IDirect3DRMMaterial2_GetSpecular(p,a,b,c) (p)->GetSpecular(a,b,c) +#define IDirect3DRMMaterial2_GetEmissive(p,a,b,c) (p)->GetEmissive(a,b,c) +#define IDirect3DRMMaterial2_SetAmbient(p,a,b,c) (p)->SetAmbient(a,b,c) +#define IDirect3DRMMaterial2_GetAmbient(p,a,b,c) (p)->GetAmbient(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DRMAnimation interface + */ +#define INTERFACE IDirect3DRMAnimation +DECLARE_INTERFACE_(IDirect3DRMAnimation, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMAnimation methods ***/ + STDMETHOD(SetOptions)(THIS_ D3DRMANIMATIONOPTIONS flags) PURE; + STDMETHOD(AddRotateKey)(THIS_ D3DVALUE time, D3DRMQUATERNION *q) PURE; + STDMETHOD(AddPositionKey)(THIS_ D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddScaleKey)(THIS_ D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(DeleteKey)(THIS_ D3DVALUE time) PURE; + STDMETHOD(SetFrame)(THIS_ IDirect3DRMFrame *frame) PURE; + STDMETHOD(SetTime)(THIS_ D3DVALUE time) PURE; + STDMETHOD_(D3DRMANIMATIONOPTIONS, GetOptions)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMAnimation_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMAnimation_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMAnimation_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimation_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMAnimation_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMAnimation_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMAnimation_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMAnimation_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMAnimation_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMAnimation_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMAnimation_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMAnimation methods ***/ +#define IDirect3DRMAnimation_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a) +#define IDirect3DRMAnimation_AddRotateKey(p,a,b) (p)->lpVtbl->AddRotateKey(p,a,b) +#define IDirect3DRMAnimation_AddPositionKey(p,a,b,c,d) (p)->lpVtbl->AddPositionKey(p,a,b,c,d) +#define IDirect3DRMAnimation_AddScaleKey(p,a,b,c,d) (p)->lpVtbl->AddScaleKey(p,a,b,c,d) +#define IDirect3DRMAnimation_DeleteKey(p,a) (p)->lpVtbl->DeleteKey(p,a) +#define IDirect3DRMAnimation_SetFrame(p,a) (p)->lpVtbl->SetFrame(p,a) +#define IDirect3DRMAnimation_SetTime(p,a) (p)->lpVtbl->SetTime(p,a) +#define IDirect3DRMAnimation_GetOptions(p) (p)->lpVtbl->GetOptions(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMAnimation_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMAnimation_AddRef(p) (p)->AddRef() +#define IDirect3DRMAnimation_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimation_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMAnimation_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMAnimation_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMAnimation_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMAnimation_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMAnimation_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMAnimation_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMAnimation_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMAnimation methods ***/ +#define IDirect3DRMAnimation_SetOptions(p,a) (p)->SetOptions(a) +#define IDirect3DRMAnimation_AddRotateKey(p,a,b) (p)->AddRotateKey(a,b) +#define IDirect3DRMAnimation_AddPositionKey(p,a,b,c,d) (p)->AddPositionKey(a,b,c,d) +#define IDirect3DRMAnimation_AddScaleKey(p,a,b,c,d) (p)->AddScaleKey(a,b,c,d) +#define IDirect3DRMAnimation_DeleteKey(p,a) (p)->DeleteKey(a) +#define IDirect3DRMAnimation_SetFrame(p,a) (p)->SetFrame(a) +#define IDirect3DRMAnimation_SetTime(p,a) (p)->SetTime(a) +#define IDirect3DRMAnimation_GetOptions(p) (p)->GetOptions() +#endif + +/***************************************************************************** + * IDirect3DRMAnimation2 interface + */ +#define INTERFACE IDirect3DRMAnimation2 +DECLARE_INTERFACE_(IDirect3DRMAnimation2, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMAnimation2 methods ***/ + STDMETHOD(SetOptions)(THIS_ D3DRMANIMATIONOPTIONS flags) PURE; + STDMETHOD(AddRotateKey)(THIS_ D3DVALUE time, D3DRMQUATERNION *q) PURE; + STDMETHOD(AddPositionKey)(THIS_ D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(AddScaleKey)(THIS_ D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z) PURE; + STDMETHOD(DeleteKey)(THIS_ D3DVALUE time) PURE; + STDMETHOD(SetFrame)(THIS_ IDirect3DRMFrame3 *frame) PURE; + STDMETHOD(SetTime)(THIS_ D3DVALUE time) PURE; + STDMETHOD_(D3DRMANIMATIONOPTIONS, GetOptions)(THIS) PURE; + STDMETHOD(GetFrame)(THIS_ IDirect3DRMFrame3 **frame) PURE; + STDMETHOD(DeleteKeyByID)(THIS_ DWORD dwID) PURE; + STDMETHOD(AddKey)(THIS_ D3DRMANIMATIONKEY *key) PURE; + STDMETHOD(ModifyKey)(THIS_ D3DRMANIMATIONKEY *key) PURE; + STDMETHOD(GetKeys)(THIS_ D3DVALUE time_min, D3DVALUE time_max, DWORD *key_count, D3DRMANIMATIONKEY *keys); +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMAnimation2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMAnimation2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMAnimation2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimation2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMAnimation2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMAnimation2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMAnimation2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMAnimation2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMAnimation2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMAnimation2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMAnimation2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMAnimation2 methods ***/ +#define IDirect3DRMAnimation2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a) +#define IDirect3DRMAnimation2_AddRotateKey(p,a,b) (p)->lpVtbl->AddRotateKey(p,a,b) +#define IDirect3DRMAnimation2_AddPositionKey(p,a,b,c,d) (p)->lpVtbl->AddPositionKey(p,a,b,c,d) +#define IDirect3DRMAnimation2_AddScaleKey(p,a,b,c,d) (p)->lpVtbl->AddScaleKey(p,a,b,c,d) +#define IDirect3DRMAnimation2_DeleteKey(p,a) (p)->lpVtbl->DeleteKey(p,a) +#define IDirect3DRMAnimation2_SetFrame(p,a) (p)->lpVtbl->SetFrame(p,a) +#define IDirect3DRMAnimation2_SetTime(p,a) (p)->lpVtbl->SetTime(p,a) +#define IDirect3DRMAnimation2_GetOptions(p) (p)->lpVtbl->GetOptions(p) +#define IDirect3DRMAnimation2_GetFrame(p,a) (p)->lpVtbl->GetFrame(p,a) +#define IDirect3DRMAnimation2_DeleteKeyByID(p,a) (p)->lpVtbl->DeleteKeyByID(p,a) +#define IDirect3DRMAnimation2_AddKey(p,a) (p)->lpVtbl->AddKey(p,a) +#define IDirect3DRMAnimation2_ModifyKey(p,a) (p)->lpVtbl->ModifyKey(p,a) +#define IDirect3DRMAnimation2_GetKeys(p,a,b,c,d) (p)->lpVtbl->GetKeys(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMAnimation2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMAnimation2_AddRef(p) (p)->AddRef() +#define IDirect3DRMAnimation2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimation2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMAnimation2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMAnimation2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMAnimation2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMAnimation2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMAnimation2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMAnimation2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMAnimation2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMAnimation2 methods ***/ +#define IDirect3DRMAnimation2_SetOptions(p,a) (p)->SetOptions(a) +#define IDirect3DRMAnimation2_AddRotateKey(p,a,b) (p)->AddRotateKey(a,b) +#define IDirect3DRMAnimation2_AddPositionKey(p,a,b,c,d) (p)->AddPositionKey(a,b,c,d) +#define IDirect3DRMAnimation2_AddScaleKey(p,a,b,c,d) (p)->AddScaleKey(a,b,c,d) +#define IDirect3DRMAnimation2_DeleteKey(p,a) (p)->DeleteKey(a) +#define IDirect3DRMAnimation2_SetFrame(p,a) (p)->SetFrame(a) +#define IDirect3DRMAnimation2_SetTime(p,a) (p)->SetTime(a) +#define IDirect3DRMAnimation2_GetOptions(p) (p)->GetOptions() +#define IDirect3DRMAnimation2_GetFrame(p,a) (p)->GetFrame(a) +#define IDirect3DRMAnimation2_DeleteKeyByID(p,a) (p)->DeleteKeyByID(a) +#define IDirect3DRMAnimation2_AddKey(p,a) (p)->AddKey(a) +#define IDirect3DRMAnimation2_ModifyKey(p,a) (p)->ModifyKey(a) +#define IDirect3DRMAnimation2_GetKeys(p,a,b,c,d) (p)->GetKeys(a,b,c,d) +#endif + +/***************************************************************************** + * IDirect3DRMAnimationSet interface + */ +#define INTERFACE IDirect3DRMAnimationSet +DECLARE_INTERFACE_(IDirect3DRMAnimationSet, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMAnimationSet methods ***/ + STDMETHOD(AddAnimation)(THIS_ IDirect3DRMAnimation *animation) PURE; + STDMETHOD(Load)(THIS_ void *filename, void *name, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURECALLBACK cb, void *ctx, IDirect3DRMFrame *parent)PURE; + STDMETHOD(DeleteAnimation)(THIS_ IDirect3DRMAnimation *animation) PURE; + STDMETHOD(SetTime)(THIS_ D3DVALUE time) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMAnimationSet_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMAnimationSet_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMAnimationSet_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimationSet_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMAnimationSet_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMAnimationSet_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMAnimationSet_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMAnimationSet_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMAnimationSet_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMAnimationSet_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMAnimationSet_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMAnimationSet methods ***/ +#define IDirect3DRMAnimationSet_AddAnimation(p,a) (p)->lpVtbl->AddAnimation(p,a) +#define IDirect3DRMAnimationSet_Load(p,a,b,c,d,e,f) (p)->lpVtbl->Load(p,a,b,c,d,e,f) +#define IDirect3DRMAnimationSet_DeleteAnimation(p,a) (p)->lpVtbl->DeleteAnimation(p,a) +#define IDirect3DRMAnimationSet_SetTime(p,a) (p)->lpVtbl->SetTime(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMAnimationSet_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMAnimationSet_AddRef(p) (p)->AddRef() +#define IDirect3DRMAnimationSet_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimationSet_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMAnimationSet_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMAnimationSet_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMAnimationSet_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMAnimationSet_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMAnimationSet_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMAnimationSet_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMAnimationSet_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMAnimationSet methods ***/ +#define IDirect3DRMAnimationSet_AddAnimation(p,a) (p)->AddAnimation(a) +#define IDirect3DRMAnimationSet_Load(p,a,b,c,d,e,f) (p)->Load(a,b,c,d,e,f) +#define IDirect3DRMAnimationSet_DeleteAnimation(p,a) (p)->DeleteAnimation(a) +#define IDirect3DRMAnimationSet_SetTime(p,a) (p)->SetTime(a) +#endif + +/***************************************************************************** + * IDirect3DRMAnimationSet2 interface + */ +#define INTERFACE IDirect3DRMAnimationSet2 +DECLARE_INTERFACE_(IDirect3DRMAnimationSet2, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMAnimationSet2 methods ***/ + STDMETHOD(AddAnimation)(THIS_ IDirect3DRMAnimation2 *animation) PURE; + STDMETHOD(Load)(THIS_ void *source, void *object_id, D3DRMLOADOPTIONS flags, + D3DRMLOADTEXTURE3CALLBACK cb, void *ctx, IDirect3DRMFrame3 *parent_frame)PURE; + STDMETHOD(DeleteAnimation)(THIS_ IDirect3DRMAnimation2 *animation) PURE; + STDMETHOD(SetTime)(THIS_ D3DVALUE time) PURE; + STDMETHOD(GetAnimations)(THIS_ struct IDirect3DRMAnimationArray **array) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMAnimationSet2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMAnimationSet2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMAnimationSet2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimationSet2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMAnimationSet2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMAnimationSet2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMAnimationSet2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMAnimationSet2_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMAnimationSet2_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMAnimationSet2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMAnimationSet2_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMAnimationSet2 methods ***/ +#define IDirect3DRMAnimationSet2_AddAnimation(p,a) (p)->lpVtbl->AddAnimation(p,a) +#define IDirect3DRMAnimationSet2_Load(p,a,b,c,d,e,f) (p)->lpVtbl->Load(p,a,b,c,d,e,f) +#define IDirect3DRMAnimationSet2_DeleteAnimation(p,a) (p)->lpVtbl->DeleteAnimation(p,a) +#define IDirect3DRMAnimationSet2_SetTime(p,a) (p)->lpVtbl->SetTime(p,a) +#define IDirect3DRMAnimationSet2_GetAnimations(p,a) (p)->lpVtbl->GetAnimations(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMAnimationSet2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMAnimationSet2_AddRef(p) (p)->AddRef() +#define IDirect3DRMAnimationSet2_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMAnimationSet2_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMAnimationSet2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMAnimationSet2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMAnimationSet2_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMAnimationSet2_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMAnimationSet2_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMAnimationSet2_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMAnimationSet2_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMAnimationSet2 methods ***/ +#define IDirect3DRMAnimationSet2_AddAnimation(p,a) (p)->AddAnimation(a) +#define IDirect3DRMAnimationSet2_Load(p,a,b,c,d,e,f) (p)->Load(a,b,c,d,e,f) +#define IDirect3DRMAnimationSet2_DeleteAnimation(p,a) (p)->DeleteAnimation(a) +#define IDirect3DRMAnimationSet2_SetTime(p,a) (p)->SetTime(a) +#define IDirect3DRMAnimationSet2_GetAnimations(p,a) (p)->GetAnimations(a) +#endif + +/***************************************************************************** + * IDirect3DRMUserVisual interface + */ +#define INTERFACE IDirect3DRMUserVisual +DECLARE_INTERFACE_(IDirect3DRMUserVisual, IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMUserVisual methods ***/ + STDMETHOD(Init)(THIS_ D3DRMUSERVISUALCALLBACK fn, void *arg) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMUserVisual_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMUserVisual_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMUserVisual_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMUserVisual_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMUserVisual_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMUserVisual_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMUserVisual_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMUserVisual_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMUserVisual_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMUserVisual_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMUserVisual_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMUserVisual methods ***/ +#define IDirect3DRMUserVisual_Init(p,a,b) (p)->lpVtbl->Init(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMUserVisual_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMUserVisual_AddRef(p) (p)->AddRef() +#define IDirect3DRMUserVisual_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMUserVisual_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMUserVisual_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMUserVisual_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMUserVisual_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMUserVisual_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMUserVisual_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMUserVisual_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMUserVisual_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMUserVisual methods ***/ +#define IDirect3DRMUserVisual_Init(p,a,b) (p)->Init(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMArray interface + */ +#define INTERFACE IDirect3DRMArray +DECLARE_INTERFACE_(IDirect3DRMArray, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMArray_GetSize(p) (p)->lpVtbl->GetSize(p) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMArray_GetSize(p) (p)->GetSize() +#endif + +/***************************************************************************** + * IDirect3DRMObjectArray interface + */ +#define INTERFACE IDirect3DRMObjectArray +DECLARE_INTERFACE_(IDirect3DRMObjectArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMObjectArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMObject **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMObjectArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMObjectArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMObjectArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMObjectArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMObjectArray methods ***/ +#define IDirect3DRMObjectArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMObjectArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMObjectArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMObjectArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMObjectArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMObjectArray methods ***/ +#define IDirect3DRMObjectArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMDeviceArray interface + */ +#define INTERFACE IDirect3DRMDeviceArray +DECLARE_INTERFACE_(IDirect3DRMDeviceArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMDeviceArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMDevice **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMDeviceArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMDeviceArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMDeviceArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMDeviceArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMDeviceArray methods ***/ +#define IDirect3DRMDeviceArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMDeviceArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMDeviceArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMDeviceArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMDeviceArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMDeviceArray methods ***/ +#define IDirect3DRMDeviceArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMFrameArray interface + */ +#define INTERFACE IDirect3DRMFrameArray +DECLARE_INTERFACE_(IDirect3DRMFrameArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMFrameArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMFrame **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFrameArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFrameArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFrameArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMFrameArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMFrameArray methods ***/ +#define IDirect3DRMFrameArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFrameArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFrameArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMFrameArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMFrameArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMFrameArray methods ***/ +#define IDirect3DRMFrameArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMViewportArray interface + */ +#define INTERFACE IDirect3DRMViewportArray +DECLARE_INTERFACE_(IDirect3DRMViewportArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMViewportArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMViewport **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMViewportArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMViewportArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMViewportArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMViewportArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMViewportArray methods ***/ +#define IDirect3DRMViewportArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMViewportArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMViewportArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMViewportArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMViewportArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMViewportArray methods ***/ +#define IDirect3DRMviewportArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMVisualArray interface + */ +#define INTERFACE IDirect3DRMVisualArray +DECLARE_INTERFACE_(IDirect3DRMVisualArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMVisualArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMVisual **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMVisualArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMVisualArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMVisualArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMVisualArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMVisualArray methods ***/ +#define IDirect3DRMVisualArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMVisualArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMVisualArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMVisualArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMVisualArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMVisualArray methods ***/ +#define IDirect3DRMVisualArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMAnimationArray interface + */ +#define INTERFACE IDirect3DRMAnimationArray +DECLARE_INTERFACE_(IDirect3DRMAnimationArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMAnimationArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMAnimation2 **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMAnimationArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMAnimationArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMAnimationArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMAnimationArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMAnimationArray methods ***/ +#define IDirect3DRMAnimationArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMAnimationArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMAnimationArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMAnimationArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMAnimationArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMAnimationArray methods ***/ +#define IDirect3DRMAnimationArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMPickedArray interface + */ +#define INTERFACE IDirect3DRMPickedArray +DECLARE_INTERFACE_(IDirect3DRMPickedArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMPickedArray methods ***/ + STDMETHOD(GetPick)(THIS_ DWORD index, IDirect3DRMVisual **visual, + IDirect3DRMFrameArray **frame_array, D3DRMPICKDESC *pick_desc) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMPickedArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMPickedArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMPickedArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMPickedArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMPickedArray methods ***/ +#define IDirect3DRMPickedArray_GetPick(p,a,b,c,d) (p)->lpVtbl->GetPick(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMPickedArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMPickedArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMPickedArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMPickedArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMPickedArray methods ***/ +#define IDirect3DRMPickedArray_GetPick(p,a,b,c,d) (p)->GetPick(a,b,c,d) +#endif + +/***************************************************************************** + * IDirect3DRMLightArray interface + */ +#define INTERFACE IDirect3DRMLightArray +DECLARE_INTERFACE_(IDirect3DRMLightArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMLightArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMLight **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMLightArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMLightArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMLightArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMLightArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMLightArray methods ***/ +#define IDirect3DRMLightArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMLightArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMLightArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMLightArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMLightArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMLightArray methods ***/ +#define IDirect3DRMLightArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMFaceArray interface + */ +#define INTERFACE IDirect3DRMFaceArray +DECLARE_INTERFACE_(IDirect3DRMFaceArray, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMFaceArray methods ***/ + STDMETHOD(GetElement)(THIS_ DWORD index, IDirect3DRMFace **element) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMFaceArray_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMFaceArray_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMFaceArray_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMFaceArray_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMFaceArray methods ***/ +#define IDirect3DRMFaceArray_GetElement(p,a,b) (p)->lpVtbl->GetElement(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMFaceArray_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMFaceArray_AddRef(p) (p)->AddRef() +#define IDirect3DRMFaceArray_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMFaceArray_GetSize(p) (p)->GetSize() +/*** IDirect3DRMFaceArray methods ***/ +#define IDirect3DRMFaceArray_GetElement(p,a,b) (p)->GetElement(a,b) +#endif + +/***************************************************************************** + * IDirect3DRMPicked2Array interface + */ +#define INTERFACE IDirect3DRMPicked2Array +DECLARE_INTERFACE_(IDirect3DRMPicked2Array, IDirect3DRMArray) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMArray methods ***/ + STDMETHOD_(DWORD, GetSize)(THIS) PURE; + /*** IDirect3DRMPicked2Array methods ***/ + STDMETHOD(GetPick)(THIS_ DWORD index, IDirect3DRMVisual **visual, + IDirect3DRMFrameArray **frame_array, D3DRMPICKDESC2 *pick_desc) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMPicked2Array_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMPicked2Array_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMPicked2Array_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMPicked2Array_GetSize(p) (p)->lpVtbl->GetSize(p) +/*** IDirect3DRMPicked2Array methods ***/ +#define IDirect3DRMPicked2Array_GetPick(p,a,b,c,d) (p)->lpVtbl->GetPick(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMPicked2Array_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMPicked2Array_AddRef(p) (p)->AddRef() +#define IDirect3DRMPicked2Array_Release(p) (p)->Release() +/*** IDirect3DRMArray methods ***/ +#define IDirect3DRMPicked2Array_GetSize(p) (p)->GetSize() +/*** IDirect3DRMPicked2Array methods ***/ +#define IDirect3DRMPicked2Array_GetPick(p,a,b,c,d) (p)->GetPick(a,b,c,d) +#endif + +/***************************************************************************** + * IDirect3DRMInterpolator interface + */ +#define INTERFACE IDirect3DRMInterpolator +DECLARE_INTERFACE_(IDirect3DRMInterpolator, IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMInterpolator methods ***/ + STDMETHOD(AttachObject)(THIS_ IDirect3DRMObject *object) PURE; + STDMETHOD(GetAttachedObjects)(THIS_ IDirect3DRMObjectArray **array) PURE; + STDMETHOD(DetachObject)(THIS_ IDirect3DRMObject *object) PURE; + STDMETHOD(SetIndex)(THIS_ D3DVALUE) PURE; + STDMETHOD_(D3DVALUE, GetIndex)(THIS) PURE; + STDMETHOD(Interpolate)(THIS_ D3DVALUE index, IDirect3DRMObject *object, D3DRMINTERPOLATIONOPTIONS flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMInterpolator_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMInterpolator_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMInterpolator_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMInterpolator_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMInterpolator_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMInterpolator_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMInterpolator_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMInterpolator_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMInterpolator_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMInterpolator_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMInterpolator_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMInterpolator methods ***/ +#define IDirect3DRMInterpolator_AttachObject(p,a) (p)->lpVtbl->AttachObject(p,a) +#define IDirect3DRMInterpolator_GetAttachedObjects(p,a) (p)->lpVtbl->GetAttachedObjects(p,a) +#define IDirect3DRMInterpolator_DetachObject(p,a) (p)->lpVtbl->DetachObject(p,a) +#define IDirect3DRMInterpolator_SetIndex(p,a) (p)->lpVtbl->SetIndex(p,a) +#define IDirect3DRMInterpolator_GetIndex(p) (p)->lpVtbl->GetIndex(p) +#define IDirect3DRMInterpolator_Interpolate(p,a,b,c) (p)->lpVtbl->Interpolate(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMInterpolator_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMInterpolator_AddRef(p) (p)->AddRef() +#define IDirect3DRMInterpolator_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMInterpolator_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMInterpolator_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMInterpolator_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMInterpolator_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMInterpolator_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMInterpolator_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMInterpolator_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMInterpolator_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMInterpolator methods ***/ +#define IDirect3DRMInterpolator_AttachObject(p,a) (p)->AttachObject(a) +#define IDirect3DRMInterpolator_GetAttachedObjects(p,a) (p)->GetAttachedObjects(a) +#define IDirect3DRMInterpolator_DetachObject(p,a) (p)->DetachObject(a) +#define IDirect3DRMInterpolator_SetIndex(p,a) (p)->SetIndex(a) +#define IDirect3DRMInterpolator_GetIndex(p) (p)->GetIndex() +#define IDirect3DRMInterpolator_Interpolate(p,a,b,c) (p)->Interpolate(a,b,c) +#endif + +/***************************************************************************** + * IDirect3DRMClippedVisual interface + */ +#define INTERFACE IDirect3DRMClippedVisual +DECLARE_INTERFACE_(IDirect3DRMClippedVisual, IDirect3DRMVisual) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMClippedVisual methods ***/ + STDMETHOD(Init) (THIS_ IDirect3DRMVisual *visual) PURE; + STDMETHOD(AddPlane) (THIS_ IDirect3DRMFrame3 *reference, D3DVECTOR *point, + D3DVECTOR *normal, DWORD flags, DWORD *id) PURE; + STDMETHOD(DeletePlane)(THIS_ DWORD, DWORD) PURE; + STDMETHOD(GetPlaneIDs)(THIS_ DWORD *count, DWORD *id, DWORD flags) PURE; + STDMETHOD(GetPlane) (THIS_ DWORD id, IDirect3DRMFrame3 *reference, D3DVECTOR *point, + D3DVECTOR *normal, DWORD flags) PURE; + STDMETHOD(SetPlane) (THIS_ DWORD id, IDirect3DRMFrame3 *reference, D3DVECTOR *point, + D3DVECTOR *normal, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMClippedVisual_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMClippedVisual_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMClippedVisual_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMClippedVisual_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMClippedVisual_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMClippedVisual_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMClippedVisual_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMClippedVisual_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMClippedVisual_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMClippedVisual_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMClippedVisual_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMClippedVisual methods ***/ +#define IDirect3DRMClippedVisual_Init(p,a) (p)->lpVtbl->Init(p,a) +#define IDirect3DRMClippedVisual_AddPlane(p,a,b,c,d,e) (p)->lpVtbl->AddPlane(p,a,b,c,d,e) +#define IDirect3DRMClippedVisual_DeletePlane(p,a,b) (p)->lpVtbl->DeletePlane(p,a,b) +#define IDirect3DRMClippedVisual_GetPlaneIDs(p,a,b,c) (p)->lpVtbl->GetPlaneIDs(p,a,b,c) +#define IDirect3DRMClippedVisual_GetPlane(p,a,b,c,d,e) (p)->lpVtbl->GetPlane(p,a,b,c,d,e) +#define IDirect3DRMClippedVisual_SetPlane(p,a,b,c,d,e) (p)->lpVtbl->SetPlane(p,a,b,c,d,e) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMClippedVisual_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMClippedVisual_AddRef(p) (p)->AddRef() +#define IDirect3DRMClippedVisual_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMClippedVisual_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMClippedVisual_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMClippedVisual_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMClippedVisual_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMClippedVisual_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMClippedVisual_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMClippedVisual_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMClippedVisual_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMClippedVisual methods ***/ +#define IDirect3DRMClippedVisual_Init(p,a) (p)->Init(a) +#define IDirect3DRMClippedVisual_AddPlane(p,a,b,c,d,e) (p)->AddPlane(a,b,c,d,e) +#define IDirect3DRMClippedVisual_DeletePlane(p,a,b) (p)->DeletePlane(a,b) +#define IDirect3DRMClippedVisual_GetPlaneIDs(p,a,b,c) (p)->GetPlaneIDs(a,b,c) +#define IDirect3DRMClippedVisual_GetPlane(p,a,b,c,d,e) (p)->GetPlane(a,b,c,d,e) +#define IDirect3DRMClippedVisual_SetPlane(p,a,b,c,d,e) (p)->SetPlane(a,b,c,d,e) +#endif + +#ifdef __cplusplus +}; +#endif + +#endif /* __D3DRMOBJ_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmwin.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmwin.h new file mode 100644 index 0000000..bd3a40d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3drmwin.h @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2010 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DRMWIN_H__ +#define __D3DRMWIN_H__ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * Direct3DRMWinDevice interface GUID + */ + +DEFINE_GUID(IID_IDirect3DRMWinDevice, 0xc5016cc0, 0xd273, 0x11ce, 0xac, 0x48, 0x00, 0x00, 0xc0, 0x38, 0x25, 0xa1); + +typedef struct IDirect3DRMWinDevice *LPDIRECT3DRMWINDEVICE, **LPLPDIRECT3DRMWINDEVICE; + +/***************************************************************************** + * IDirect3DRMWinDevice interface + */ +#define INTERFACE IDirect3DRMWinDevice +DECLARE_INTERFACE_(IDirect3DRMWinDevice,IDirect3DRMObject) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirect3DRMObject methods ***/ + STDMETHOD(Clone)(THIS_ IUnknown *outer, REFIID iid, void **out) PURE; + STDMETHOD(AddDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(DeleteDestroyCallback)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE; + STDMETHOD(SetAppData)(THIS_ DWORD data) PURE; + STDMETHOD_(DWORD, GetAppData)(THIS) PURE; + STDMETHOD(SetName)(THIS_ const char *name) PURE; + STDMETHOD(GetName)(THIS_ DWORD *size, char *name) PURE; + STDMETHOD(GetClassName)(THIS_ DWORD *size, char *name) PURE; + /*** IDirect3DRMWinDevice methods ***/ + STDMETHOD(HandlePaint)(THIS_ HDC) PURE; + STDMETHOD(HandleActivate)(THIS_ WORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirect3DRMWinDevice_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirect3DRMWinDevice_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirect3DRMWinDevice_Release(p) (p)->lpVtbl->Release(p) +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMWinDevice_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirect3DRMWinDevice_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) +#define IDirect3DRMWinDevice_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) +#define IDirect3DRMWinDevice_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) +#define IDirect3DRMWinDevice_GetAppData(p) (p)->lpVtbl->GetAppData(p) +#define IDirect3DRMWinDevice_SetName(p,a) (p)->lpVtbl->SetName(p,a) +#define IDirect3DRMWinDevice_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirect3DRMWinDevice_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) +/*** IDirect3DRMWinDevice methods ***/ +#define IDirect3DRMWinDevice_HandlePaint(p,a) (p)->lpVtbl->HandlePaint(p,a) +#define IDirect3DRMWinDevice_HandleActivate(p,a) (p)->lpVtbl->HandleActivate(p,a) +#else +/*** IUnknown methods ***/ +#define IDirect3DRMWinDevice_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirect3DRMWinDevice_AddRef(p) (p)->AddRef() +#define IDirect3DRMwinDevice_Release(p) (p)->Release() +/*** IDirect3DRMObject methods ***/ +#define IDirect3DRMWinDevice_Clone(p,a,b,c) (p)->Clone(a,b,c) +#define IDirect3DRMWinDevice_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) +#define IDirect3DRMWinDevice_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) +#define IDirect3DRMWinDevice_SetAppData(p,a) (p)->SetAppData(a) +#define IDirect3DRMWinDevice_GetAppData(p) (p)->GetAppData() +#define IDirect3DRMWinDevice_SetName(p,a) (p)->SetName(a) +#define IDirect3DRMWinDevice_GetName(p,a,b) (p)->GetName(a,b) +#define IDirect3DRMWinDevice_GetClassName(p,a,b) (p)->GetClassName(a,b) +/*** IDirect3DRMWinDevice methods ***/ +#define IDirect3DRMWinDevice_HandlePaint(p,a) (p)->HandlePaint(a) +#define IDirect3DRMWinDevice_HandleActivate(p,a) (p)->HandleActivate(a) +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __D3DRMWIN_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dtypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dtypes.h new file mode 100644 index 0000000..fdd417e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dtypes.h @@ -0,0 +1,1370 @@ +/* + * Copyright (C) 2000 Peter Hunnisett + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* FIXME: Need to add C++ code for certain structs for headers - this is going to be a problem + if WINE continues to only use C code - I suppose that we could always inline in + the header file to get around that little problem... */ +/* FIXME: We need to implement versioning on everything directx 5 and up if these headers + are going to be generically useful for directx stuff */ + +#ifndef __WINE_D3DTYPES_H +#define __WINE_D3DTYPES_H + +#include +#include +#include + +#ifdef __i386__ +#include +#endif + +#define D3DVALP(val, prec) ((float)(val)) +#define D3DVAL(val) ((float)(val)) +#define D3DDivide(a, b) (float)((double) (a) / (double) (b)) +#define D3DMultiply(a, b) ((a) * (b)) + +typedef LONG D3DFIXED; + + +#ifndef RGB_MAKE +#define CI_GETALPHA(ci) ((ci) >> 24) +#define CI_GETINDEX(ci) (((ci) >> 8) & 0xffff) +#define CI_GETFRACTION(ci) ((ci) & 0xff) +#define CI_ROUNDINDEX(ci) CI_GETINDEX((ci) + 0x80) +#define CI_MASKALPHA(ci) ((ci) & 0xffffff) +#define CI_MAKE(a, i, f) (((a) << 24) | ((i) << 8) | (f)) + +#define RGBA_GETALPHA(rgb) ((rgb) >> 24) +#define RGBA_GETRED(rgb) (((rgb) >> 16) & 0xff) +#define RGBA_GETGREEN(rgb) (((rgb) >> 8) & 0xff) +#define RGBA_GETBLUE(rgb) ((rgb) & 0xff) +#define RGBA_MAKE(r, g, b, a) ((D3DCOLOR) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b))) + +#define D3DRGB(r, g, b) \ + (0xff000000 | ( ((LONG)((r) * 255)) << 16) | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255)) +#define D3DRGBA(r, g, b, a) \ + ( (((LONG)((a) * 255)) << 24) | (((LONG)((r) * 255)) << 16) \ + | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255) \ + ) + +#define RGB_GETRED(rgb) (((rgb) >> 16) & 0xff) +#define RGB_GETGREEN(rgb) (((rgb) >> 8) & 0xff) +#define RGB_GETBLUE(rgb) ((rgb) & 0xff) +#define RGBA_SETALPHA(rgba, x) (((x) << 24) | ((rgba) & 0x00ffffff)) +#define RGB_MAKE(r, g, b) ((D3DCOLOR) (((r) << 16) | ((g) << 8) | (b))) +#define RGBA_TORGB(rgba) ((D3DCOLOR) ((rgba) & 0xffffff)) +#define RGB_TORGBA(rgb) ((D3DCOLOR) ((rgb) | 0xff000000)) + +#endif + +#define D3DENUMRET_CANCEL DDENUMRET_CANCEL +#define D3DENUMRET_OK DDENUMRET_OK + +typedef HRESULT (CALLBACK *LPD3DVALIDATECALLBACK)(void *ctx, DWORD offset); +typedef HRESULT (CALLBACK *LPD3DENUMTEXTUREFORMATSCALLBACK)(DDSURFACEDESC *surface_desc, void *ctx); +typedef HRESULT (CALLBACK *LPD3DENUMPIXELFORMATSCALLBACK)(DDPIXELFORMAT *format, void *ctx); + +#ifndef DX_SHARED_DEFINES + +typedef float D3DVALUE,*LPD3DVALUE; + +#ifndef D3DCOLOR_DEFINED +typedef DWORD D3DCOLOR, *LPD3DCOLOR; +#define D3DCOLOR_DEFINED +#endif + +#ifndef D3DVECTOR_DEFINED +typedef struct _D3DVECTOR { + union { + D3DVALUE x; + D3DVALUE dvX; + } DUMMYUNIONNAME1; + union { + D3DVALUE y; + D3DVALUE dvY; + } DUMMYUNIONNAME2; + union { + D3DVALUE z; + D3DVALUE dvZ; + } DUMMYUNIONNAME3; +#if defined(__cplusplus) && defined(D3D_OVERLOADS) + /* the definitions for these methods are in d3dvec.inl */ +public: + /*** constructors ***/ + _D3DVECTOR() {} + _D3DVECTOR(D3DVALUE f); + _D3DVECTOR(D3DVALUE _x, D3DVALUE _y, D3DVALUE _z); + _D3DVECTOR(const D3DVALUE f[3]); + + /*** assignment operators ***/ + _D3DVECTOR& operator += (const _D3DVECTOR& v); + _D3DVECTOR& operator -= (const _D3DVECTOR& v); + _D3DVECTOR& operator *= (const _D3DVECTOR& v); + _D3DVECTOR& operator /= (const _D3DVECTOR& v); + _D3DVECTOR& operator *= (D3DVALUE s); + _D3DVECTOR& operator /= (D3DVALUE s); + + /*** unary operators ***/ + friend _D3DVECTOR operator + (const _D3DVECTOR& v); + friend _D3DVECTOR operator - (const _D3DVECTOR& v); + + /*** binary operators ***/ + friend _D3DVECTOR operator + (const _D3DVECTOR& v1, const _D3DVECTOR& v2); + friend _D3DVECTOR operator - (const _D3DVECTOR& v1, const _D3DVECTOR& v2); + + friend _D3DVECTOR operator * (const _D3DVECTOR& v, D3DVALUE s); + friend _D3DVECTOR operator * (D3DVALUE s, const _D3DVECTOR& v); + friend _D3DVECTOR operator / (const _D3DVECTOR& v, D3DVALUE s); + + friend D3DVALUE SquareMagnitude(const _D3DVECTOR& v); + friend D3DVALUE Magnitude(const _D3DVECTOR& v); + + friend _D3DVECTOR Normalize(const _D3DVECTOR& v); + + friend D3DVALUE DotProduct(const _D3DVECTOR& v1, const _D3DVECTOR& v2); + friend _D3DVECTOR CrossProduct(const _D3DVECTOR& v1, const _D3DVECTOR& v2); +#endif +} D3DVECTOR,*LPD3DVECTOR; +#define D3DVECTOR_DEFINED +#endif + +#define DX_SHARED_DEFINES +#endif /* DX_SHARED_DEFINES */ + +typedef DWORD D3DMATERIALHANDLE, *LPD3DMATERIALHANDLE; +typedef DWORD D3DTEXTUREHANDLE, *LPD3DTEXTUREHANDLE; +typedef DWORD D3DMATRIXHANDLE, *LPD3DMATRIXHANDLE; + +typedef struct _D3DCOLORVALUE { + union { + D3DVALUE r; + D3DVALUE dvR; + } DUMMYUNIONNAME1; + union { + D3DVALUE g; + D3DVALUE dvG; + } DUMMYUNIONNAME2; + union { + D3DVALUE b; + D3DVALUE dvB; + } DUMMYUNIONNAME3; + union { + D3DVALUE a; + D3DVALUE dvA; + } DUMMYUNIONNAME4; +} D3DCOLORVALUE,*LPD3DCOLORVALUE; + +typedef struct _D3DRECT { + union { + LONG x1; + LONG lX1; + } DUMMYUNIONNAME1; + union { + LONG y1; + LONG lY1; + } DUMMYUNIONNAME2; + union { + LONG x2; + LONG lX2; + } DUMMYUNIONNAME3; + union { + LONG y2; + LONG lY2; + } DUMMYUNIONNAME4; +} D3DRECT, *LPD3DRECT; + +typedef struct _D3DHVERTEX { + DWORD dwFlags; + union { + D3DVALUE hx; + D3DVALUE dvHX; + } DUMMYUNIONNAME1; + union { + D3DVALUE hy; + D3DVALUE dvHY; + } DUMMYUNIONNAME2; + union { + D3DVALUE hz; + D3DVALUE dvHZ; + } DUMMYUNIONNAME3; +} D3DHVERTEX, *LPD3DHVERTEX; + +/* + * Transformed/lit vertices + */ +typedef struct _D3DTLVERTEX { + union { + D3DVALUE sx; + D3DVALUE dvSX; + } DUMMYUNIONNAME1; + union { + D3DVALUE sy; + D3DVALUE dvSY; + } DUMMYUNIONNAME2; + union { + D3DVALUE sz; + D3DVALUE dvSZ; + } DUMMYUNIONNAME3; + union { + D3DVALUE rhw; + D3DVALUE dvRHW; + } DUMMYUNIONNAME4; + union { + D3DCOLOR color; + D3DCOLOR dcColor; + } DUMMYUNIONNAME5; + union { + D3DCOLOR specular; + D3DCOLOR dcSpecular; + } DUMMYUNIONNAME6; + union { + D3DVALUE tu; + D3DVALUE dvTU; + } DUMMYUNIONNAME7; + union { + D3DVALUE tv; + D3DVALUE dvTV; + } DUMMYUNIONNAME8; +#if defined(__cplusplus) && defined(D3D_OVERLOADS) +public: + _D3DTLVERTEX() {} + _D3DTLVERTEX(const D3DVECTOR& v, float _rhw, D3DCOLOR _color, D3DCOLOR _specular, float _tu, float _tv) { + sx = v.x; sy = v.y; sz = v.z; rhw = _rhw; + color = _color; specular = _specular; + tu = _tu; tv = _tv; + } +#endif +} D3DTLVERTEX, *LPD3DTLVERTEX; + +typedef struct _D3DLVERTEX { + union { + D3DVALUE x; + D3DVALUE dvX; + } DUMMYUNIONNAME1; + union { + D3DVALUE y; + D3DVALUE dvY; + } DUMMYUNIONNAME2; + union { + D3DVALUE z; + D3DVALUE dvZ; + } DUMMYUNIONNAME3; + DWORD dwReserved; + union { + D3DCOLOR color; + D3DCOLOR dcColor; + } DUMMYUNIONNAME4; + union { + D3DCOLOR specular; + D3DCOLOR dcSpecular; + } DUMMYUNIONNAME5; + union { + D3DVALUE tu; + D3DVALUE dvTU; + } DUMMYUNIONNAME6; + union { + D3DVALUE tv; + D3DVALUE dvTV; + } DUMMYUNIONNAME7; +} D3DLVERTEX, *LPD3DLVERTEX; + +typedef struct _D3DVERTEX { + union { + D3DVALUE x; + D3DVALUE dvX; + } DUMMYUNIONNAME1; + union { + D3DVALUE y; + D3DVALUE dvY; + } DUMMYUNIONNAME2; + union { + D3DVALUE z; + D3DVALUE dvZ; + } DUMMYUNIONNAME3; + union { + D3DVALUE nx; + D3DVALUE dvNX; + } DUMMYUNIONNAME4; + union { + D3DVALUE ny; + D3DVALUE dvNY; + } DUMMYUNIONNAME5; + union { + D3DVALUE nz; + D3DVALUE dvNZ; + } DUMMYUNIONNAME6; + union { + D3DVALUE tu; + D3DVALUE dvTU; + } DUMMYUNIONNAME7; + union { + D3DVALUE tv; + D3DVALUE dvTV; + } DUMMYUNIONNAME8; +#if defined(__cplusplus) && defined(D3D_OVERLOADS) +public: + _D3DVERTEX() {} + _D3DVERTEX(const D3DVECTOR& v, const D3DVECTOR& n, float _tu, float _tv) { + x = v.x; y = v.y; z = v.z; + nx = n.x; ny = n.y; nz = n.z; + tu = _tu; tv = _tv; + } +#endif +} D3DVERTEX, *LPD3DVERTEX; + +typedef struct _D3DMATRIX { + D3DVALUE _11, _12, _13, _14; + D3DVALUE _21, _22, _23, _24; + D3DVALUE _31, _32, _33, _34; + D3DVALUE _41, _42, _43, _44; +#if defined(__cplusplus) && defined(D3D_OVERLOADS) + _D3DMATRIX() { } + + /* This is different from MS, but avoids anonymous structs. */ + D3DVALUE &operator () (int r, int c) + { return (&_11)[r*4 + c]; } + const D3DVALUE &operator() (int r, int c) const + { return (&_11)[r*4 + c]; } +#endif +} D3DMATRIX, *LPD3DMATRIX; + +#if defined(__cplusplus) && defined(D3D_OVERLOADS) +#include +#endif + +typedef struct _D3DVIEWPORT { + DWORD dwSize; + DWORD dwX; + DWORD dwY; + DWORD dwWidth; + DWORD dwHeight; + D3DVALUE dvScaleX; + D3DVALUE dvScaleY; + D3DVALUE dvMaxX; + D3DVALUE dvMaxY; + D3DVALUE dvMinZ; + D3DVALUE dvMaxZ; +} D3DVIEWPORT, *LPD3DVIEWPORT; + +typedef struct _D3DVIEWPORT2 { + DWORD dwSize; + DWORD dwX; + DWORD dwY; + DWORD dwWidth; + DWORD dwHeight; + D3DVALUE dvClipX; + D3DVALUE dvClipY; + D3DVALUE dvClipWidth; + D3DVALUE dvClipHeight; + D3DVALUE dvMinZ; + D3DVALUE dvMaxZ; +} D3DVIEWPORT2, *LPD3DVIEWPORT2; + +typedef struct _D3DVIEWPORT7 { + DWORD dwX; + DWORD dwY; + DWORD dwWidth; + DWORD dwHeight; + D3DVALUE dvMinZ; + D3DVALUE dvMaxZ; +} D3DVIEWPORT7, *LPD3DVIEWPORT7; + +#define D3DMAXUSERCLIPPLANES 32 + +#define D3DCLIPPLANE0 (1 << 0) +#define D3DCLIPPLANE1 (1 << 1) +#define D3DCLIPPLANE2 (1 << 2) +#define D3DCLIPPLANE3 (1 << 3) +#define D3DCLIPPLANE4 (1 << 4) +#define D3DCLIPPLANE5 (1 << 5) + +#define D3DCLIP_LEFT 0x00000001 +#define D3DCLIP_RIGHT 0x00000002 +#define D3DCLIP_TOP 0x00000004 +#define D3DCLIP_BOTTOM 0x00000008 +#define D3DCLIP_FRONT 0x00000010 +#define D3DCLIP_BACK 0x00000020 +#define D3DCLIP_GEN0 0x00000040 +#define D3DCLIP_GEN1 0x00000080 +#define D3DCLIP_GEN2 0x00000100 +#define D3DCLIP_GEN3 0x00000200 +#define D3DCLIP_GEN4 0x00000400 +#define D3DCLIP_GEN5 0x00000800 + +#define D3DSTATUS_CLIPUNIONLEFT D3DCLIP_LEFT +#define D3DSTATUS_CLIPUNIONRIGHT D3DCLIP_RIGHT +#define D3DSTATUS_CLIPUNIONTOP D3DCLIP_TOP +#define D3DSTATUS_CLIPUNIONBOTTOM D3DCLIP_BOTTOM +#define D3DSTATUS_CLIPUNIONFRONT D3DCLIP_FRONT +#define D3DSTATUS_CLIPUNIONBACK D3DCLIP_BACK +#define D3DSTATUS_CLIPUNIONGEN0 D3DCLIP_GEN0 +#define D3DSTATUS_CLIPUNIONGEN1 D3DCLIP_GEN1 +#define D3DSTATUS_CLIPUNIONGEN2 D3DCLIP_GEN2 +#define D3DSTATUS_CLIPUNIONGEN3 D3DCLIP_GEN3 +#define D3DSTATUS_CLIPUNIONGEN4 D3DCLIP_GEN4 +#define D3DSTATUS_CLIPUNIONGEN5 D3DCLIP_GEN5 + +#define D3DSTATUS_CLIPINTERSECTIONLEFT 0x00001000 +#define D3DSTATUS_CLIPINTERSECTIONRIGHT 0x00002000 +#define D3DSTATUS_CLIPINTERSECTIONTOP 0x00004000 +#define D3DSTATUS_CLIPINTERSECTIONBOTTOM 0x00008000 +#define D3DSTATUS_CLIPINTERSECTIONFRONT 0x00010000 +#define D3DSTATUS_CLIPINTERSECTIONBACK 0x00020000 +#define D3DSTATUS_CLIPINTERSECTIONGEN0 0x00040000 +#define D3DSTATUS_CLIPINTERSECTIONGEN1 0x00080000 +#define D3DSTATUS_CLIPINTERSECTIONGEN2 0x00100000 +#define D3DSTATUS_CLIPINTERSECTIONGEN3 0x00200000 +#define D3DSTATUS_CLIPINTERSECTIONGEN4 0x00400000 +#define D3DSTATUS_CLIPINTERSECTIONGEN5 0x00800000 +#define D3DSTATUS_ZNOTVISIBLE 0x01000000 + +#define D3DSTATUS_CLIPUNIONALL ( \ + D3DSTATUS_CLIPUNIONLEFT | \ + D3DSTATUS_CLIPUNIONRIGHT | \ + D3DSTATUS_CLIPUNIONTOP | \ + D3DSTATUS_CLIPUNIONBOTTOM | \ + D3DSTATUS_CLIPUNIONFRONT | \ + D3DSTATUS_CLIPUNIONBACK | \ + D3DSTATUS_CLIPUNIONGEN0 | \ + D3DSTATUS_CLIPUNIONGEN1 | \ + D3DSTATUS_CLIPUNIONGEN2 | \ + D3DSTATUS_CLIPUNIONGEN3 | \ + D3DSTATUS_CLIPUNIONGEN4 | \ + D3DSTATUS_CLIPUNIONGEN5 \ + ) + +#define D3DSTATUS_CLIPINTERSECTIONALL ( \ + D3DSTATUS_CLIPINTERSECTIONLEFT | \ + D3DSTATUS_CLIPINTERSECTIONRIGHT | \ + D3DSTATUS_CLIPINTERSECTIONTOP | \ + D3DSTATUS_CLIPINTERSECTIONBOTTOM | \ + D3DSTATUS_CLIPINTERSECTIONFRONT | \ + D3DSTATUS_CLIPINTERSECTIONBACK | \ + D3DSTATUS_CLIPINTERSECTIONGEN0 | \ + D3DSTATUS_CLIPINTERSECTIONGEN1 | \ + D3DSTATUS_CLIPINTERSECTIONGEN2 | \ + D3DSTATUS_CLIPINTERSECTIONGEN3 | \ + D3DSTATUS_CLIPINTERSECTIONGEN4 | \ + D3DSTATUS_CLIPINTERSECTIONGEN5 \ + ) + +#define D3DSTATUS_DEFAULT ( \ + D3DSTATUS_CLIPINTERSECTIONALL | \ + D3DSTATUS_ZNOTVISIBLE) + +#define D3DTRANSFORM_CLIPPED 0x00000001 +#define D3DTRANSFORM_UNCLIPPED 0x00000002 + +typedef struct _D3DTRANSFORMDATA { + DWORD dwSize; + void *lpIn; + DWORD dwInSize; + void *lpOut; + DWORD dwOutSize; + D3DHVERTEX *lpHOut; + DWORD dwClip; + DWORD dwClipIntersection; + DWORD dwClipUnion; + D3DRECT drExtent; +} D3DTRANSFORMDATA, *LPD3DTRANSFORMDATA; + +typedef struct _D3DLIGHTINGELEMENT { + D3DVECTOR dvPosition; + D3DVECTOR dvNormal; +} D3DLIGHTINGELEMENT, *LPD3DLIGHTINGELEMENT; + +typedef struct _D3DMATERIAL { + DWORD dwSize; + union { + D3DCOLORVALUE diffuse; + D3DCOLORVALUE dcvDiffuse; + } DUMMYUNIONNAME; + union { + D3DCOLORVALUE ambient; + D3DCOLORVALUE dcvAmbient; + } DUMMYUNIONNAME1; + union { + D3DCOLORVALUE specular; + D3DCOLORVALUE dcvSpecular; + } DUMMYUNIONNAME2; + union { + D3DCOLORVALUE emissive; + D3DCOLORVALUE dcvEmissive; + } DUMMYUNIONNAME3; + union { + D3DVALUE power; + D3DVALUE dvPower; + } DUMMYUNIONNAME4; + D3DTEXTUREHANDLE hTexture; + DWORD dwRampSize; +} D3DMATERIAL, *LPD3DMATERIAL; + +typedef struct _D3DMATERIAL7 { + union { + D3DCOLORVALUE diffuse; + D3DCOLORVALUE dcvDiffuse; + } DUMMYUNIONNAME; + union { + D3DCOLORVALUE ambient; + D3DCOLORVALUE dcvAmbient; + } DUMMYUNIONNAME1; + union { + D3DCOLORVALUE specular; + D3DCOLORVALUE dcvSpecular; + } DUMMYUNIONNAME2; + union { + D3DCOLORVALUE emissive; + D3DCOLORVALUE dcvEmissive; + } DUMMYUNIONNAME3; + union { + D3DVALUE power; + D3DVALUE dvPower; + } DUMMYUNIONNAME4; +} D3DMATERIAL7, *LPD3DMATERIAL7; + +typedef enum { + D3DLIGHT_POINT = 1, + D3DLIGHT_SPOT = 2, + D3DLIGHT_DIRECTIONAL = 3, + D3DLIGHT_PARALLELPOINT = 4, + D3DLIGHT_GLSPOT = 5, + D3DLIGHT_FORCE_DWORD = 0x7fffffff +} D3DLIGHTTYPE; + +typedef struct _D3DLIGHT { + DWORD dwSize; + D3DLIGHTTYPE dltType; + D3DCOLORVALUE dcvColor; + D3DVECTOR dvPosition; + D3DVECTOR dvDirection; + D3DVALUE dvRange; + D3DVALUE dvFalloff; + D3DVALUE dvAttenuation0; + D3DVALUE dvAttenuation1; + D3DVALUE dvAttenuation2; + D3DVALUE dvTheta; + D3DVALUE dvPhi; +} D3DLIGHT,*LPD3DLIGHT; + +typedef struct _D3DLIGHT7 { + D3DLIGHTTYPE dltType; + D3DCOLORVALUE dcvDiffuse; + D3DCOLORVALUE dcvSpecular; + D3DCOLORVALUE dcvAmbient; + D3DVECTOR dvPosition; + D3DVECTOR dvDirection; + D3DVALUE dvRange; + D3DVALUE dvFalloff; + D3DVALUE dvAttenuation0; + D3DVALUE dvAttenuation1; + D3DVALUE dvAttenuation2; + D3DVALUE dvTheta; + D3DVALUE dvPhi; +} D3DLIGHT7, *LPD3DLIGHT7; + +#define D3DLIGHT_ACTIVE 0x00000001 +#define D3DLIGHT_NO_SPECULAR 0x00000002 +#define D3DLIGHT_ALL (D3DLIGHT_ACTIVE | D3DLIGHT_NO_SPECULAR) /* 0x3 */ + +#define D3DLIGHT_RANGE_MAX ((float)sqrt(FLT_MAX)) + +typedef struct _D3DLIGHT2 { + DWORD dwSize; + D3DLIGHTTYPE dltType; + D3DCOLORVALUE dcvColor; + D3DVECTOR dvPosition; + D3DVECTOR dvDirection; + D3DVALUE dvRange; + D3DVALUE dvFalloff; + D3DVALUE dvAttenuation0; + D3DVALUE dvAttenuation1; + D3DVALUE dvAttenuation2; + D3DVALUE dvTheta; + D3DVALUE dvPhi; + DWORD dwFlags; +} D3DLIGHT2, *LPD3DLIGHT2; + +typedef struct _D3DLIGHTDATA { + DWORD dwSize; + D3DLIGHTINGELEMENT *lpIn; + DWORD dwInSize; + D3DTLVERTEX *lpOut; + DWORD dwOutSize; +} D3DLIGHTDATA, *LPD3DLIGHTDATA; + +#define D3DCOLOR_MONO 1 +#define D3DCOLOR_RGB 2 + +typedef DWORD D3DCOLORMODEL; + + +#define D3DCLEAR_TARGET 0x00000001 +#define D3DCLEAR_ZBUFFER 0x00000002 +#define D3DCLEAR_STENCIL 0x00000004 + +typedef enum _D3DOPCODE { + D3DOP_POINT = 1, + D3DOP_LINE = 2, + D3DOP_TRIANGLE = 3, + D3DOP_MATRIXLOAD = 4, + D3DOP_MATRIXMULTIPLY = 5, + D3DOP_STATETRANSFORM = 6, + D3DOP_STATELIGHT = 7, + D3DOP_STATERENDER = 8, + D3DOP_PROCESSVERTICES = 9, + D3DOP_TEXTURELOAD = 10, + D3DOP_EXIT = 11, + D3DOP_BRANCHFORWARD = 12, + D3DOP_SPAN = 13, + D3DOP_SETSTATUS = 14, + + D3DOP_FORCE_DWORD = 0x7fffffff +} D3DOPCODE; + +typedef struct _D3DINSTRUCTION { + BYTE bOpcode; + BYTE bSize; + WORD wCount; +} D3DINSTRUCTION, *LPD3DINSTRUCTION; + +typedef struct _D3DTEXTURELOAD { + D3DTEXTUREHANDLE hDestTexture; + D3DTEXTUREHANDLE hSrcTexture; +} D3DTEXTURELOAD, *LPD3DTEXTURELOAD; + +typedef struct _D3DPICKRECORD { + BYTE bOpcode; + BYTE bPad; + DWORD dwOffset; + D3DVALUE dvZ; +} D3DPICKRECORD, *LPD3DPICKRECORD; + +typedef enum { + D3DSHADE_FLAT = 1, + D3DSHADE_GOURAUD = 2, + D3DSHADE_PHONG = 3, + D3DSHADE_FORCE_DWORD = 0x7fffffff +} D3DSHADEMODE; + +typedef enum { + D3DFILL_POINT = 1, + D3DFILL_WIREFRAME = 2, + D3DFILL_SOLID = 3, + D3DFILL_FORCE_DWORD = 0x7fffffff +} D3DFILLMODE; + +typedef struct _D3DLINEPATTERN { + WORD wRepeatFactor; + WORD wLinePattern; +} D3DLINEPATTERN; + +typedef enum { + D3DFILTER_NEAREST = 1, + D3DFILTER_LINEAR = 2, + D3DFILTER_MIPNEAREST = 3, + D3DFILTER_MIPLINEAR = 4, + D3DFILTER_LINEARMIPNEAREST = 5, + D3DFILTER_LINEARMIPLINEAR = 6, + D3DFILTER_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREFILTER; + +typedef enum { + D3DBLEND_ZERO = 1, + D3DBLEND_ONE = 2, + D3DBLEND_SRCCOLOR = 3, + D3DBLEND_INVSRCCOLOR = 4, + D3DBLEND_SRCALPHA = 5, + D3DBLEND_INVSRCALPHA = 6, + D3DBLEND_DESTALPHA = 7, + D3DBLEND_INVDESTALPHA = 8, + D3DBLEND_DESTCOLOR = 9, + D3DBLEND_INVDESTCOLOR = 10, + D3DBLEND_SRCALPHASAT = 11, + D3DBLEND_BOTHSRCALPHA = 12, + D3DBLEND_BOTHINVSRCALPHA = 13, + D3DBLEND_FORCE_DWORD = 0x7fffffff +} D3DBLEND; + +typedef enum { + D3DTBLEND_DECAL = 1, + D3DTBLEND_MODULATE = 2, + D3DTBLEND_DECALALPHA = 3, + D3DTBLEND_MODULATEALPHA = 4, + D3DTBLEND_DECALMASK = 5, + D3DTBLEND_MODULATEMASK = 6, + D3DTBLEND_COPY = 7, + D3DTBLEND_ADD = 8, + D3DTBLEND_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREBLEND; + +typedef enum _D3DTEXTUREADDRESS { + D3DTADDRESS_WRAP = 1, + D3DTADDRESS_MIRROR = 2, + D3DTADDRESS_CLAMP = 3, + D3DTADDRESS_BORDER = 4, + D3DTADDRESS_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREADDRESS; + +typedef enum { + D3DCULL_NONE = 1, + D3DCULL_CW = 2, + D3DCULL_CCW = 3, + D3DCULL_FORCE_DWORD = 0x7fffffff +} D3DCULL; + +typedef enum { + D3DCMP_NEVER = 1, + D3DCMP_LESS = 2, + D3DCMP_EQUAL = 3, + D3DCMP_LESSEQUAL = 4, + D3DCMP_GREATER = 5, + D3DCMP_NOTEQUAL = 6, + D3DCMP_GREATEREQUAL = 7, + D3DCMP_ALWAYS = 8, + D3DCMP_FORCE_DWORD = 0x7fffffff +} D3DCMPFUNC; + +typedef enum _D3DSTENCILOP { + D3DSTENCILOP_KEEP = 1, + D3DSTENCILOP_ZERO = 2, + D3DSTENCILOP_REPLACE = 3, + D3DSTENCILOP_INCRSAT = 4, + D3DSTENCILOP_DECRSAT = 5, + D3DSTENCILOP_INVERT = 6, + D3DSTENCILOP_INCR = 7, + D3DSTENCILOP_DECR = 8, + D3DSTENCILOP_FORCE_DWORD = 0x7fffffff +} D3DSTENCILOP; + +typedef enum _D3DFOGMODE { + D3DFOG_NONE = 0, + D3DFOG_EXP = 1, + D3DFOG_EXP2 = 2, + D3DFOG_LINEAR = 3, + D3DFOG_FORCE_DWORD = 0x7fffffff +} D3DFOGMODE; + +typedef enum _D3DZBUFFERTYPE { + D3DZB_FALSE = 0, + D3DZB_TRUE = 1, + D3DZB_USEW = 2, + D3DZB_FORCE_DWORD = 0x7fffffff +} D3DZBUFFERTYPE; + +typedef enum _D3DANTIALIASMODE { + D3DANTIALIAS_NONE = 0, + D3DANTIALIAS_SORTDEPENDENT = 1, + D3DANTIALIAS_SORTINDEPENDENT = 2, + D3DANTIALIAS_FORCE_DWORD = 0x7fffffff +} D3DANTIALIASMODE; + +typedef enum { + D3DVT_VERTEX = 1, + D3DVT_LVERTEX = 2, + D3DVT_TLVERTEX = 3, + D3DVT_FORCE_DWORD = 0x7fffffff +} D3DVERTEXTYPE; + +typedef enum { + D3DPT_POINTLIST = 1, + D3DPT_LINELIST = 2, + D3DPT_LINESTRIP = 3, + D3DPT_TRIANGLELIST = 4, + D3DPT_TRIANGLESTRIP = 5, + D3DPT_TRIANGLEFAN = 6, + D3DPT_FORCE_DWORD = 0x7fffffff +} D3DPRIMITIVETYPE; + +#define D3DSTATE_OVERRIDE_BIAS 256 + +#define D3DSTATE_OVERRIDE(type) (D3DRENDERSTATETYPE)(((DWORD) (type) + D3DSTATE_OVERRIDE_BIAS)) + +typedef enum _D3DTRANSFORMSTATETYPE { + D3DTRANSFORMSTATE_WORLD = 1, + D3DTRANSFORMSTATE_VIEW = 2, + D3DTRANSFORMSTATE_PROJECTION = 3, + D3DTRANSFORMSTATE_WORLD1 = 4, + D3DTRANSFORMSTATE_WORLD2 = 5, + D3DTRANSFORMSTATE_WORLD3 = 6, + D3DTRANSFORMSTATE_TEXTURE0 = 16, + D3DTRANSFORMSTATE_TEXTURE1 = 17, + D3DTRANSFORMSTATE_TEXTURE2 = 18, + D3DTRANSFORMSTATE_TEXTURE3 = 19, + D3DTRANSFORMSTATE_TEXTURE4 = 20, + D3DTRANSFORMSTATE_TEXTURE5 = 21, + D3DTRANSFORMSTATE_TEXTURE6 = 22, + D3DTRANSFORMSTATE_TEXTURE7 = 23, + D3DTRANSFORMSTATE_FORCE_DWORD = 0x7fffffff +} D3DTRANSFORMSTATETYPE; + +typedef enum { + D3DLIGHTSTATE_MATERIAL = 1, + D3DLIGHTSTATE_AMBIENT = 2, + D3DLIGHTSTATE_COLORMODEL = 3, + D3DLIGHTSTATE_FOGMODE = 4, + D3DLIGHTSTATE_FOGSTART = 5, + D3DLIGHTSTATE_FOGEND = 6, + D3DLIGHTSTATE_FOGDENSITY = 7, + D3DLIGHTSTATE_COLORVERTEX = 8, + D3DLIGHTSTATE_FORCE_DWORD = 0x7fffffff +} D3DLIGHTSTATETYPE; + +typedef enum { + D3DRENDERSTATE_TEXTUREHANDLE = 1, + D3DRENDERSTATE_ANTIALIAS = 2, + D3DRENDERSTATE_TEXTUREADDRESS = 3, + D3DRENDERSTATE_TEXTUREPERSPECTIVE = 4, + D3DRENDERSTATE_WRAPU = 5, /* <= d3d6 */ + D3DRENDERSTATE_WRAPV = 6, /* <= d3d6 */ + D3DRENDERSTATE_ZENABLE = 7, + D3DRENDERSTATE_FILLMODE = 8, + D3DRENDERSTATE_SHADEMODE = 9, + D3DRENDERSTATE_LINEPATTERN = 10, + D3DRENDERSTATE_MONOENABLE = 11, /* <= d3d6 */ + D3DRENDERSTATE_ROP2 = 12, /* <= d3d6 */ + D3DRENDERSTATE_PLANEMASK = 13, /* <= d3d6 */ + D3DRENDERSTATE_ZWRITEENABLE = 14, + D3DRENDERSTATE_ALPHATESTENABLE = 15, + D3DRENDERSTATE_LASTPIXEL = 16, + D3DRENDERSTATE_TEXTUREMAG = 17, + D3DRENDERSTATE_TEXTUREMIN = 18, + D3DRENDERSTATE_SRCBLEND = 19, + D3DRENDERSTATE_DESTBLEND = 20, + D3DRENDERSTATE_TEXTUREMAPBLEND = 21, + D3DRENDERSTATE_CULLMODE = 22, + D3DRENDERSTATE_ZFUNC = 23, + D3DRENDERSTATE_ALPHAREF = 24, + D3DRENDERSTATE_ALPHAFUNC = 25, + D3DRENDERSTATE_DITHERENABLE = 26, + D3DRENDERSTATE_ALPHABLENDENABLE = 27, + D3DRENDERSTATE_FOGENABLE = 28, + D3DRENDERSTATE_SPECULARENABLE = 29, + D3DRENDERSTATE_ZVISIBLE = 30, + D3DRENDERSTATE_SUBPIXEL = 31, /* <= d3d6 */ + D3DRENDERSTATE_SUBPIXELX = 32, /* <= d3d6 */ + D3DRENDERSTATE_STIPPLEDALPHA = 33, + D3DRENDERSTATE_FOGCOLOR = 34, + D3DRENDERSTATE_FOGTABLEMODE = 35, + D3DRENDERSTATE_FOGTABLESTART = 36, + D3DRENDERSTATE_FOGTABLEEND = 37, + D3DRENDERSTATE_FOGTABLEDENSITY = 38, + D3DRENDERSTATE_FOGSTART = 36, + D3DRENDERSTATE_FOGEND = 37, + D3DRENDERSTATE_FOGDENSITY = 38, + D3DRENDERSTATE_STIPPLEENABLE = 39, /* <= d3d6 */ + /* d3d5 */ + D3DRENDERSTATE_EDGEANTIALIAS = 40, + D3DRENDERSTATE_COLORKEYENABLE = 41, + D3DRENDERSTATE_BORDERCOLOR = 43, + D3DRENDERSTATE_TEXTUREADDRESSU = 44, + D3DRENDERSTATE_TEXTUREADDRESSV = 45, + D3DRENDERSTATE_MIPMAPLODBIAS = 46, /* <= d3d6 */ + D3DRENDERSTATE_ZBIAS = 47, + D3DRENDERSTATE_RANGEFOGENABLE = 48, + D3DRENDERSTATE_ANISOTROPY = 49, /* <= d3d6 */ + D3DRENDERSTATE_FLUSHBATCH = 50, /* <= d3d6 */ + /* d3d6 */ + D3DRENDERSTATE_TRANSLUCENTSORTINDEPENDENT = 51, /* <= d3d6 */ + + D3DRENDERSTATE_STENCILENABLE = 52, + D3DRENDERSTATE_STENCILFAIL = 53, + D3DRENDERSTATE_STENCILZFAIL = 54, + D3DRENDERSTATE_STENCILPASS = 55, + D3DRENDERSTATE_STENCILFUNC = 56, + D3DRENDERSTATE_STENCILREF = 57, + D3DRENDERSTATE_STENCILMASK = 58, + D3DRENDERSTATE_STENCILWRITEMASK = 59, + D3DRENDERSTATE_TEXTUREFACTOR = 60, + + D3DRENDERSTATE_STIPPLEPATTERN00 = 64, + D3DRENDERSTATE_STIPPLEPATTERN01 = 65, + D3DRENDERSTATE_STIPPLEPATTERN02 = 66, + D3DRENDERSTATE_STIPPLEPATTERN03 = 67, + D3DRENDERSTATE_STIPPLEPATTERN04 = 68, + D3DRENDERSTATE_STIPPLEPATTERN05 = 69, + D3DRENDERSTATE_STIPPLEPATTERN06 = 70, + D3DRENDERSTATE_STIPPLEPATTERN07 = 71, + D3DRENDERSTATE_STIPPLEPATTERN08 = 72, + D3DRENDERSTATE_STIPPLEPATTERN09 = 73, + D3DRENDERSTATE_STIPPLEPATTERN10 = 74, + D3DRENDERSTATE_STIPPLEPATTERN11 = 75, + D3DRENDERSTATE_STIPPLEPATTERN12 = 76, + D3DRENDERSTATE_STIPPLEPATTERN13 = 77, + D3DRENDERSTATE_STIPPLEPATTERN14 = 78, + D3DRENDERSTATE_STIPPLEPATTERN15 = 79, + D3DRENDERSTATE_STIPPLEPATTERN16 = 80, + D3DRENDERSTATE_STIPPLEPATTERN17 = 81, + D3DRENDERSTATE_STIPPLEPATTERN18 = 82, + D3DRENDERSTATE_STIPPLEPATTERN19 = 83, + D3DRENDERSTATE_STIPPLEPATTERN20 = 84, + D3DRENDERSTATE_STIPPLEPATTERN21 = 85, + D3DRENDERSTATE_STIPPLEPATTERN22 = 86, + D3DRENDERSTATE_STIPPLEPATTERN23 = 87, + D3DRENDERSTATE_STIPPLEPATTERN24 = 88, + D3DRENDERSTATE_STIPPLEPATTERN25 = 89, + D3DRENDERSTATE_STIPPLEPATTERN26 = 90, + D3DRENDERSTATE_STIPPLEPATTERN27 = 91, + D3DRENDERSTATE_STIPPLEPATTERN28 = 92, + D3DRENDERSTATE_STIPPLEPATTERN29 = 93, + D3DRENDERSTATE_STIPPLEPATTERN30 = 94, + D3DRENDERSTATE_STIPPLEPATTERN31 = 95, + + D3DRENDERSTATE_WRAP0 = 128, + D3DRENDERSTATE_WRAP1 = 129, + D3DRENDERSTATE_WRAP2 = 130, + D3DRENDERSTATE_WRAP3 = 131, + D3DRENDERSTATE_WRAP4 = 132, + D3DRENDERSTATE_WRAP5 = 133, + D3DRENDERSTATE_WRAP6 = 134, + D3DRENDERSTATE_WRAP7 = 135, + /* d3d7 */ + D3DRENDERSTATE_CLIPPING = 136, + D3DRENDERSTATE_LIGHTING = 137, + D3DRENDERSTATE_EXTENTS = 138, + D3DRENDERSTATE_AMBIENT = 139, + D3DRENDERSTATE_FOGVERTEXMODE = 140, + D3DRENDERSTATE_COLORVERTEX = 141, + D3DRENDERSTATE_LOCALVIEWER = 142, + D3DRENDERSTATE_NORMALIZENORMALS = 143, + D3DRENDERSTATE_COLORKEYBLENDENABLE = 144, + D3DRENDERSTATE_DIFFUSEMATERIALSOURCE = 145, + D3DRENDERSTATE_SPECULARMATERIALSOURCE = 146, + D3DRENDERSTATE_AMBIENTMATERIALSOURCE = 147, + D3DRENDERSTATE_EMISSIVEMATERIALSOURCE = 148, + D3DRENDERSTATE_VERTEXBLEND = 151, + D3DRENDERSTATE_CLIPPLANEENABLE = 152, + + D3DRENDERSTATE_FORCE_DWORD = 0x7fffffff + + /* FIXME: We have some retired values that are being reused for DirectX 7 */ +} D3DRENDERSTATETYPE; + +typedef enum _D3DMATERIALCOLORSOURCE +{ + D3DMCS_MATERIAL = 0, + D3DMCS_COLOR1 = 1, + D3DMCS_COLOR2 = 2, + D3DMCS_FORCE_DWORD = 0x7fffffff +} D3DMATERIALCOLORSOURCE; + +#define D3DRENDERSTATE_BLENDENABLE D3DRENDERSTATE_ALPHABLENDENABLE +#define D3DRENDERSTATE_WRAPBIAS __MSABI_LONG(128U) +#define D3DWRAP_U __MSABI_LONG(0x00000001) +#define D3DWRAP_V __MSABI_LONG(0x00000002) + +#define D3DWRAPCOORD_0 __MSABI_LONG(0x00000001) +#define D3DWRAPCOORD_1 __MSABI_LONG(0x00000002) +#define D3DWRAPCOORD_2 __MSABI_LONG(0x00000004) +#define D3DWRAPCOORD_3 __MSABI_LONG(0x00000008) + +#define D3DRENDERSTATE_STIPPLEPATTERN(y) (D3DRENDERSTATE_STIPPLEPATTERN00 + (y)) + +typedef struct _D3DSTATE { + union { + D3DTRANSFORMSTATETYPE dtstTransformStateType; + D3DLIGHTSTATETYPE dlstLightStateType; + D3DRENDERSTATETYPE drstRenderStateType; + } DUMMYUNIONNAME1; + union { + DWORD dwArg[1]; + D3DVALUE dvArg[1]; + } DUMMYUNIONNAME2; +} D3DSTATE, *LPD3DSTATE; + +typedef struct _D3DMATRIXLOAD { + D3DMATRIXHANDLE hDestMatrix; + D3DMATRIXHANDLE hSrcMatrix; +} D3DMATRIXLOAD, *LPD3DMATRIXLOAD; + +typedef struct _D3DMATRIXMULTIPLY { + D3DMATRIXHANDLE hDestMatrix; + D3DMATRIXHANDLE hSrcMatrix1; + D3DMATRIXHANDLE hSrcMatrix2; +} D3DMATRIXMULTIPLY, *LPD3DMATRIXMULTIPLY; + +typedef struct _D3DPROCESSVERTICES { + DWORD dwFlags; + WORD wStart; + WORD wDest; + DWORD dwCount; + DWORD dwReserved; +} D3DPROCESSVERTICES, *LPD3DPROCESSVERTICES; + +#define D3DPROCESSVERTICES_TRANSFORMLIGHT __MSABI_LONG(0x00000000) +#define D3DPROCESSVERTICES_TRANSFORM __MSABI_LONG(0x00000001) +#define D3DPROCESSVERTICES_COPY __MSABI_LONG(0x00000002) +#define D3DPROCESSVERTICES_OPMASK __MSABI_LONG(0x00000007) + +#define D3DPROCESSVERTICES_UPDATEEXTENTS __MSABI_LONG(0x00000008) +#define D3DPROCESSVERTICES_NOCOLOR __MSABI_LONG(0x00000010) + +typedef enum _D3DTEXTURESTAGESTATETYPE +{ + D3DTSS_COLOROP = 1, + D3DTSS_COLORARG1 = 2, + D3DTSS_COLORARG2 = 3, + D3DTSS_ALPHAOP = 4, + D3DTSS_ALPHAARG1 = 5, + D3DTSS_ALPHAARG2 = 6, + D3DTSS_BUMPENVMAT00 = 7, + D3DTSS_BUMPENVMAT01 = 8, + D3DTSS_BUMPENVMAT10 = 9, + D3DTSS_BUMPENVMAT11 = 10, + D3DTSS_TEXCOORDINDEX = 11, + D3DTSS_ADDRESS = 12, + D3DTSS_ADDRESSU = 13, + D3DTSS_ADDRESSV = 14, + D3DTSS_BORDERCOLOR = 15, + D3DTSS_MAGFILTER = 16, + D3DTSS_MINFILTER = 17, + D3DTSS_MIPFILTER = 18, + D3DTSS_MIPMAPLODBIAS = 19, + D3DTSS_MAXMIPLEVEL = 20, + D3DTSS_MAXANISOTROPY = 21, + D3DTSS_BUMPENVLSCALE = 22, + D3DTSS_BUMPENVLOFFSET = 23, + D3DTSS_TEXTURETRANSFORMFLAGS = 24, + D3DTSS_FORCE_DWORD = 0x7fffffff +} D3DTEXTURESTAGESTATETYPE; + +#define D3DTSS_TCI_PASSTHRU 0x00000000 +#define D3DTSS_TCI_CAMERASPACENORMAL 0x00010000 +#define D3DTSS_TCI_CAMERASPACEPOSITION 0x00020000 +#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x00030000 + +typedef enum _D3DTEXTUREOP +{ + D3DTOP_DISABLE = 1, + D3DTOP_SELECTARG1 = 2, + D3DTOP_SELECTARG2 = 3, + + D3DTOP_MODULATE = 4, + D3DTOP_MODULATE2X = 5, + D3DTOP_MODULATE4X = 6, + + D3DTOP_ADD = 7, + D3DTOP_ADDSIGNED = 8, + D3DTOP_ADDSIGNED2X = 9, + D3DTOP_SUBTRACT = 10, + D3DTOP_ADDSMOOTH = 11, + + D3DTOP_BLENDDIFFUSEALPHA = 12, + D3DTOP_BLENDTEXTUREALPHA = 13, + D3DTOP_BLENDFACTORALPHA = 14, + D3DTOP_BLENDTEXTUREALPHAPM = 15, + D3DTOP_BLENDCURRENTALPHA = 16, + + D3DTOP_PREMODULATE = 17, + D3DTOP_MODULATEALPHA_ADDCOLOR = 18, + D3DTOP_MODULATECOLOR_ADDALPHA = 19, + D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20, + D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21, + + D3DTOP_BUMPENVMAP = 22, + D3DTOP_BUMPENVMAPLUMINANCE = 23, + D3DTOP_DOTPRODUCT3 = 24, + + D3DTOP_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREOP; + +#define D3DTA_SELECTMASK 0x0000000f +#define D3DTA_DIFFUSE 0x00000000 +#define D3DTA_CURRENT 0x00000001 +#define D3DTA_TEXTURE 0x00000002 +#define D3DTA_TFACTOR 0x00000003 +#define D3DTA_SPECULAR 0x00000004 +#define D3DTA_COMPLEMENT 0x00000010 +#define D3DTA_ALPHAREPLICATE 0x00000020 + +typedef enum _D3DTEXTUREMAGFILTER +{ + D3DTFG_POINT = 1, + D3DTFG_LINEAR = 2, + D3DTFG_FLATCUBIC = 3, + D3DTFG_GAUSSIANCUBIC = 4, + D3DTFG_ANISOTROPIC = 5, + D3DTFG_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREMAGFILTER; + +typedef enum _D3DTEXTUREMINFILTER +{ + D3DTFN_POINT = 1, + D3DTFN_LINEAR = 2, + D3DTFN_ANISOTROPIC = 3, + D3DTFN_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREMINFILTER; + +typedef enum _D3DTEXTUREMIPFILTER +{ + D3DTFP_NONE = 1, + D3DTFP_POINT = 2, + D3DTFP_LINEAR = 3, + D3DTFP_FORCE_DWORD = 0x7fffffff +} D3DTEXTUREMIPFILTER; + +#define D3DTRIFLAG_START __MSABI_LONG(0x00000000) +#define D3DTRIFLAG_STARTFLAT(len) (len) +#define D3DTRIFLAG_ODD __MSABI_LONG(0x0000001e) +#define D3DTRIFLAG_EVEN __MSABI_LONG(0x0000001f) + +#define D3DTRIFLAG_EDGEENABLE1 __MSABI_LONG(0x00000100) +#define D3DTRIFLAG_EDGEENABLE2 __MSABI_LONG(0x00000200) +#define D3DTRIFLAG_EDGEENABLE3 __MSABI_LONG(0x00000400) +#define D3DTRIFLAG_EDGEENABLETRIANGLE \ + (D3DTRIFLAG_EDGEENABLE1 | D3DTRIFLAG_EDGEENABLE2 | D3DTRIFLAG_EDGEENABLE3) + +typedef struct _D3DTRIANGLE { + union { + WORD v1; + WORD wV1; + } DUMMYUNIONNAME1; + union { + WORD v2; + WORD wV2; + } DUMMYUNIONNAME2; + union { + WORD v3; + WORD wV3; + } DUMMYUNIONNAME3; + WORD wFlags; +} D3DTRIANGLE, *LPD3DTRIANGLE; + +typedef struct _D3DLINE { + union { + WORD v1; + WORD wV1; + } DUMMYUNIONNAME1; + union { + WORD v2; + WORD wV2; + } DUMMYUNIONNAME2; +} D3DLINE, *LPD3DLINE; + +typedef struct _D3DSPAN { + WORD wCount; + WORD wFirst; +} D3DSPAN, *LPD3DSPAN; + +typedef struct _D3DPOINT { + WORD wCount; + WORD wFirst; +} D3DPOINT, *LPD3DPOINT; + +typedef struct _D3DBRANCH { + DWORD dwMask; + DWORD dwValue; + BOOL bNegate; + DWORD dwOffset; +} D3DBRANCH, *LPD3DBRANCH; + +typedef struct _D3DSTATUS { + DWORD dwFlags; + DWORD dwStatus; + D3DRECT drExtent; +} D3DSTATUS, *LPD3DSTATUS; + +#define D3DSETSTATUS_STATUS __MSABI_LONG(0x00000001) +#define D3DSETSTATUS_EXTENTS __MSABI_LONG(0x00000002) +#define D3DSETSTATUS_ALL (D3DSETSTATUS_STATUS | D3DSETSTATUS_EXTENTS) + +typedef struct _D3DCLIPSTATUS { + DWORD dwFlags; + DWORD dwStatus; + float minx, maxx; + float miny, maxy; + float minz, maxz; +} D3DCLIPSTATUS, *LPD3DCLIPSTATUS; + +#define D3DCLIPSTATUS_STATUS __MSABI_LONG(0x00000001) +#define D3DCLIPSTATUS_EXTENTS2 __MSABI_LONG(0x00000002) +#define D3DCLIPSTATUS_EXTENTS3 __MSABI_LONG(0x00000004) + +typedef struct { + DWORD dwSize; + DWORD dwTrianglesDrawn; + DWORD dwLinesDrawn; + DWORD dwPointsDrawn; + DWORD dwSpansDrawn; + DWORD dwVerticesProcessed; +} D3DSTATS, *LPD3DSTATS; + +#define D3DEXECUTE_CLIPPED __MSABI_LONG(0x00000001) +#define D3DEXECUTE_UNCLIPPED __MSABI_LONG(0x00000002) + +typedef struct _D3DEXECUTEDATA { + DWORD dwSize; + DWORD dwVertexOffset; + DWORD dwVertexCount; + DWORD dwInstructionOffset; + DWORD dwInstructionLength; + DWORD dwHVertexOffset; + D3DSTATUS dsStatus; +} D3DEXECUTEDATA, *LPD3DEXECUTEDATA; + +#define D3DPAL_FREE 0x00 +#define D3DPAL_READONLY 0x40 +#define D3DPAL_RESERVED 0x80 + +typedef struct _D3DVERTEXBUFFERDESC { + DWORD dwSize; + DWORD dwCaps; + DWORD dwFVF; + DWORD dwNumVertices; +} D3DVERTEXBUFFERDESC, *LPD3DVERTEXBUFFERDESC; + +#define D3DVBCAPS_SYSTEMMEMORY __MSABI_LONG(0x00000800) +#define D3DVBCAPS_WRITEONLY __MSABI_LONG(0x00010000) +#define D3DVBCAPS_OPTIMIZED __MSABI_LONG(0x80000000) +#define D3DVBCAPS_DONOTCLIP __MSABI_LONG(0x00000001) + +#define D3DVOP_LIGHT (1 << 10) +#define D3DVOP_TRANSFORM (1 << 0) +#define D3DVOP_CLIP (1 << 2) +#define D3DVOP_EXTENTS (1 << 3) + +#define D3DMAXNUMVERTICES ((1<<16) - 1) + +#define D3DMAXNUMPRIMITIVES ((1<<16) - 1) + +#define D3DPV_DONOTCOPYDATA (1 << 0) + +#define D3DFVF_RESERVED0 0x001 +#define D3DFVF_POSITION_MASK 0x00E +#define D3DFVF_XYZ 0x002 +#define D3DFVF_XYZRHW 0x004 +#define D3DFVF_XYZB1 0x006 +#define D3DFVF_XYZB2 0x008 +#define D3DFVF_XYZB3 0x00a +#define D3DFVF_XYZB4 0x00c +#define D3DFVF_XYZB5 0x00e + +#define D3DFVF_NORMAL 0x010 +#define D3DFVF_RESERVED1 0x020 +#define D3DFVF_DIFFUSE 0x040 +#define D3DFVF_SPECULAR 0x080 +#define D3DFVF_TEXCOUNT_MASK 0xf00 +#define D3DFVF_TEXCOUNT_SHIFT 8 +#define D3DFVF_TEX0 0x000 +#define D3DFVF_TEX1 0x100 +#define D3DFVF_TEX2 0x200 +#define D3DFVF_TEX3 0x300 +#define D3DFVF_TEX4 0x400 +#define D3DFVF_TEX5 0x500 +#define D3DFVF_TEX6 0x600 +#define D3DFVF_TEX7 0x700 +#define D3DFVF_TEX8 0x800 + +#define D3DFVF_RESERVED2 0xf000 + +#define D3DFVF_VERTEX ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 ) +#define D3DFVF_LVERTEX ( D3DFVF_XYZ | D3DFVF_RESERVED1 | D3DFVF_DIFFUSE | \ + D3DFVF_SPECULAR | D3DFVF_TEX1 ) +#define D3DFVF_TLVERTEX ( D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | \ + D3DFVF_TEX1 ) + +typedef struct _D3DDP_PTRSTRIDE +{ + void *lpvData; + DWORD dwStride; +} D3DDP_PTRSTRIDE; + +#define D3DDP_MAXTEXCOORD 8 + +typedef struct _D3DDRAWPRIMITIVESTRIDEDDATA { + D3DDP_PTRSTRIDE position; + D3DDP_PTRSTRIDE normal; + D3DDP_PTRSTRIDE diffuse; + D3DDP_PTRSTRIDE specular; + D3DDP_PTRSTRIDE textureCoords[D3DDP_MAXTEXCOORD]; +} D3DDRAWPRIMITIVESTRIDEDDATA ,*LPD3DDRAWPRIMITIVESTRIDEDDATA; + +#define D3DVIS_INSIDE_FRUSTUM 0 +#define D3DVIS_INTERSECT_FRUSTUM 1 +#define D3DVIS_OUTSIDE_FRUSTUM 2 +#define D3DVIS_INSIDE_LEFT 0 +#define D3DVIS_INTERSECT_LEFT (1 << 2) +#define D3DVIS_OUTSIDE_LEFT (2 << 2) +#define D3DVIS_INSIDE_RIGHT 0 +#define D3DVIS_INTERSECT_RIGHT (1 << 4) +#define D3DVIS_OUTSIDE_RIGHT (2 << 4) +#define D3DVIS_INSIDE_TOP 0 +#define D3DVIS_INTERSECT_TOP (1 << 6) +#define D3DVIS_OUTSIDE_TOP (2 << 6) +#define D3DVIS_INSIDE_BOTTOM 0 +#define D3DVIS_INTERSECT_BOTTOM (1 << 8) +#define D3DVIS_OUTSIDE_BOTTOM (2 << 8) +#define D3DVIS_INSIDE_NEAR 0 +#define D3DVIS_INTERSECT_NEAR (1 << 10) +#define D3DVIS_OUTSIDE_NEAR (2 << 10) +#define D3DVIS_INSIDE_FAR 0 +#define D3DVIS_INTERSECT_FAR (1 << 12) +#define D3DVIS_OUTSIDE_FAR (2 << 12) + +#define D3DVIS_MASK_FRUSTUM (3 << 0) +#define D3DVIS_MASK_LEFT (3 << 2) +#define D3DVIS_MASK_RIGHT (3 << 4) +#define D3DVIS_MASK_TOP (3 << 6) +#define D3DVIS_MASK_BOTTOM (3 << 8) +#define D3DVIS_MASK_NEAR (3 << 10) +#define D3DVIS_MASK_FAR (3 << 12) + +#define D3DDEVINFOID_TEXTUREMANAGER 1 +#define D3DDEVINFOID_D3DTEXTUREMANAGER 2 +#define D3DDEVINFOID_TEXTURING 3 + +typedef enum _D3DSTATEBLOCKTYPE +{ + D3DSBT_ALL = 1, + D3DSBT_PIXELSTATE = 2, + D3DSBT_VERTEXSTATE = 3, + D3DSBT_FORCE_DWORD = 0xffffffff +} D3DSTATEBLOCKTYPE; + +typedef enum _D3DVERTEXBLENDFLAGS +{ + D3DVBLEND_DISABLE = 0, + D3DVBLEND_1WEIGHT = 1, + D3DVBLEND_2WEIGHTS = 2, + D3DVBLEND_3WEIGHTS = 3, +} D3DVERTEXBLENDFLAGS; + +typedef enum _D3DTEXTURETRANSFORMFLAGS { + D3DTTFF_DISABLE = 0, + D3DTTFF_COUNT1 = 1, + D3DTTFF_COUNT2 = 2, + D3DTTFF_COUNT3 = 3, + D3DTTFF_COUNT4 = 4, + D3DTTFF_PROJECTED = 256, + D3DTTFF_FORCE_DWORD = 0x7fffffff +} D3DTEXTURETRANSFORMFLAGS; + +#define D3DFVF_TEXTUREFORMAT2 0 +#define D3DFVF_TEXTUREFORMAT1 3 +#define D3DFVF_TEXTUREFORMAT3 1 +#define D3DFVF_TEXTUREFORMAT4 2 + +#define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16)) +#define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2) +#define D3DFVF_TEXCOORDSIZE4(CoordIndex) (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16)) +#define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16)) + +#ifdef __i386__ +#include +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dukmdt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dukmdt.h new file mode 100644 index 0000000..a7be710 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dukmdt.h @@ -0,0 +1,139 @@ +/* + * Copyright 2016 Henri Verbeet for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DUKMDT_H +#define __WINE_D3DUKMDT_H + +#ifndef MAKEFOURCC +#define MAKEFOURCC(ch0, ch1, ch2, ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24)) +#endif /* MAKEFOURCC */ + +typedef enum _D3DDDIFORMAT +{ + D3DDDIFMT_UNKNOWN = 0, + D3DDDIFMT_R8G8B8 = 0x14, + D3DDDIFMT_A8R8G8B8 = 0x15, + D3DDDIFMT_X8R8G8B8 = 0x16, + D3DDDIFMT_R5G6B5 = 0x17, + D3DDDIFMT_X1R5G5B5 = 0x18, + D3DDDIFMT_A1R5G5B5 = 0x19, + D3DDDIFMT_A4R4G4B4 = 0x1a, + D3DDDIFMT_R3G3B2 = 0x1b, + D3DDDIFMT_A8 = 0x1c, + D3DDDIFMT_A8R3G3B2 = 0x1d, + D3DDDIFMT_X4R4G4B4 = 0x1e, + D3DDDIFMT_A2B10G10R10 = 0x1f, + D3DDDIFMT_A8B8G8R8 = 0x20, + D3DDDIFMT_X8B8G8R8 = 0x21, + D3DDDIFMT_G16R16 = 0x22, + D3DDDIFMT_A2R10G10B10 = 0x23, + D3DDDIFMT_A16B16G16R16 = 0x24, + D3DDDIFMT_A8P8 = 0x28, + D3DDDIFMT_P8 = 0x29, + D3DDDIFMT_L8 = 0x32, + D3DDDIFMT_A8L8 = 0x33, + D3DDDIFMT_A4L4 = 0x34, + D3DDDIFMT_V8U8 = 0x3c, + D3DDDIFMT_L6V5U5 = 0x3d, + D3DDDIFMT_X8L8V8U8 = 0x3e, + D3DDDIFMT_Q8W8V8U8 = 0x3f, + D3DDDIFMT_V16U16 = 0x40, + D3DDDIFMT_W11V11U10 = 0x41, + D3DDDIFMT_A2W10V10U10 = 0x43, + D3DDDIFMT_D16_LOCKABLE = 0x46, + D3DDDIFMT_D32 = 0x47, + D3DDDIFMT_S1D15 = 0x48, + D3DDDIFMT_D15S1 = 0x49, + D3DDDIFMT_S8D24 = 0x4a, + D3DDDIFMT_D24S8 = 0x4b, + D3DDDIFMT_X8D24 = 0x4c, + D3DDDIFMT_D24X8 = 0x4d, + D3DDDIFMT_X4S4D24 = 0x4e, + D3DDDIFMT_D24X4S4 = 0x4f, + D3DDDIFMT_D16 = 0x50, + D3DDDIFMT_L16 = 0x51, + D3DDDIFMT_D32F_LOCKABLE = 0x52, + D3DDDIFMT_D24FS8 = 0x53, + D3DDDIFMT_D32_LOCKABLE = 0x54, + D3DDDIFMT_S8_LOCKABLE = 0x55, + D3DDDIFMT_G8R8 = 0x5b, + D3DDDIFMT_R8 = 0x5c, + D3DDDIFMT_VERTEXDATA = 0x64, + D3DDDIFMT_INDEX16 = 0x65, + D3DDDIFMT_INDEX32 = 0x66, + D3DDDIFMT_Q16W16V16U16 = 0x6e, + D3DDDIFMT_R16F = 0x6f, + D3DDDIFMT_G16R16F = 0x70, + D3DDDIFMT_A16B16G16R16F = 0x71, + D3DDDIFMT_R32F = 0x72, + D3DDDIFMT_G32R32F = 0x73, + D3DDDIFMT_A32B32G32R32F = 0x74, + D3DDDIFMT_CxV8U8 = 0x75, + D3DDDIFMT_A1 = 0x76, + D3DDDIFMT_A2B10G10R10_XR_BIAS = 0x77, + D3DDDIFMT_DXVACOMPBUFFER_BASE = 0x96, + D3DDDIFMT_PICTUREPARAMSDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0, + D3DDDIFMT_MACROBLOCKDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x01, + D3DDDIFMT_RESIDUALDIFFERENCEDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x02, + D3DDDIFMT_DEBLOCKINGDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x03, + D3DDDIFMT_INVERSEQUANTIZATIONDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x04, + D3DDDIFMT_SLICECONTROLDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x05, + D3DDDIFMT_BITSTREAMDATA = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x06, + D3DDDIFMT_MOTIONVECTORBUFFER = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x07, + D3DDDIFMT_FILMGRAINBUFFER = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x08, + D3DDDIFMT_DXVA_RESERVED9 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x09, + D3DDDIFMT_DXVA_RESERVED10 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x0a, + D3DDDIFMT_DXVA_RESERVED11 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x0b, + D3DDDIFMT_DXVA_RESERVED12 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x0c, + D3DDDIFMT_DXVA_RESERVED13 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x0d, + D3DDDIFMT_DXVA_RESERVED14 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x0e, + D3DDDIFMT_DXVA_RESERVED15 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x0f, + D3DDDIFMT_DXVA_RESERVED16 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x10, + D3DDDIFMT_DXVA_RESERVED17 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x11, + D3DDDIFMT_DXVA_RESERVED18 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x12, + D3DDDIFMT_DXVA_RESERVED19 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x13, + D3DDDIFMT_DXVA_RESERVED20 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x14, + D3DDDIFMT_DXVA_RESERVED21 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x15, + D3DDDIFMT_DXVA_RESERVED22 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x16, + D3DDDIFMT_DXVA_RESERVED23 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x17, + D3DDDIFMT_DXVA_RESERVED24 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x18, + D3DDDIFMT_DXVA_RESERVED25 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x19, + D3DDDIFMT_DXVA_RESERVED26 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x1a, + D3DDDIFMT_DXVA_RESERVED27 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x1b, + D3DDDIFMT_DXVA_RESERVED28 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x1c, + D3DDDIFMT_DXVA_RESERVED29 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x1d, + D3DDDIFMT_DXVA_RESERVED30 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x1e, + D3DDDIFMT_DXVA_RESERVED31 = D3DDDIFMT_DXVACOMPBUFFER_BASE + 0x1f, + D3DDDIFMT_DXVACOMPBUFFER_MAX = D3DDDIFMT_DXVA_RESERVED31, + D3DDDIFMT_BINARYBUFFER = 0xc7, + D3DDDIFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'), + D3DDDIFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'), + D3DDDIFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'), + D3DDDIFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'), + D3DDDIFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'), + D3DDDIFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'), + D3DDDIFMT_MULTI2_ARGB8 = MAKEFOURCC('M', 'E', 'T', '1'), + D3DDDIFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'), + D3DDDIFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'), + D3DDDIFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'), + D3DDDIFMT_FORCE_UINT = 0x7fffffff, +} D3DDDIFORMAT; + +#endif /* __WINE_D3DUKMDT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dvec.inl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dvec.inl new file mode 100644 index 0000000..96f669b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dvec.inl @@ -0,0 +1,143 @@ +/* + * Copyright (C) 2000 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DVEC_INL +#define __WINE_D3DVEC_INL + +#include + +/*** constructors ***/ + +inline _D3DVECTOR::_D3DVECTOR(D3DVALUE f) +{ + x = y = z = f; +} + +inline _D3DVECTOR::_D3DVECTOR(D3DVALUE _x, D3DVALUE _y, D3DVALUE _z) +{ + x = _x; y = _y; z = _z; +} + +/*** assignment operators ***/ + +inline _D3DVECTOR& _D3DVECTOR::operator += (const _D3DVECTOR& v) +{ + x += v.x; y += v.y; z += v.z; + return *this; +} + +inline _D3DVECTOR& _D3DVECTOR::operator -= (const _D3DVECTOR& v) +{ + x -= v.x; y -= v.y; z -= v.z; + return *this; +} + +inline _D3DVECTOR& _D3DVECTOR::operator *= (const _D3DVECTOR& v) +{ + x *= v.x; y *= v.y; z *= v.z; + return *this; +} + +inline _D3DVECTOR& _D3DVECTOR::operator /= (const _D3DVECTOR& v) +{ + x /= v.x; y /= v.y; z /= v.z; + return *this; +} + +inline _D3DVECTOR& _D3DVECTOR::operator *= (D3DVALUE s) +{ + x *= s; y *= s; z *= s; + return *this; +} + +inline _D3DVECTOR& _D3DVECTOR::operator /= (D3DVALUE s) +{ + x /= s; y /= s; z /= s; + return *this; +} + +/*** unary operators ***/ + +inline _D3DVECTOR operator + (const _D3DVECTOR& v) +{ + return v; +} + +inline _D3DVECTOR operator - (const _D3DVECTOR& v) +{ + return _D3DVECTOR(-v.x, -v.y, -v.z); +} + +/*** binary operators ***/ + +inline _D3DVECTOR operator + (const _D3DVECTOR& v1, const _D3DVECTOR& v2) +{ + return _D3DVECTOR(v1.x+v2.x, v1.y+v2.y, v1.z+v2.z); +} + +inline _D3DVECTOR operator - (const _D3DVECTOR& v1, const _D3DVECTOR& v2) +{ + return _D3DVECTOR(v1.x-v2.x, v1.y-v2.y, v1.z-v2.z); +} + +inline _D3DVECTOR operator * (const _D3DVECTOR& v, D3DVALUE s) +{ + return _D3DVECTOR(v.x*s, v.y*s, v.z*s); +} + +inline _D3DVECTOR operator * (D3DVALUE s, const _D3DVECTOR& v) +{ + return _D3DVECTOR(v.x*s, v.y*s, v.z*s); +} + +inline _D3DVECTOR operator / (const _D3DVECTOR& v, D3DVALUE s) +{ + return _D3DVECTOR(v.x/s, v.y/s, v.z/s); +} + +inline D3DVALUE SquareMagnitude(const _D3DVECTOR& v) +{ + return v.x*v.x + v.y*v.y + v.z*v.z; /* DotProduct(v, v) */ +} + +inline D3DVALUE Magnitude(const _D3DVECTOR& v) +{ + return sqrt(SquareMagnitude(v)); +} + +inline _D3DVECTOR Normalize(const _D3DVECTOR& v) +{ + return v / Magnitude(v); +} + +inline D3DVALUE DotProduct(const _D3DVECTOR& v1, const _D3DVECTOR& v2) +{ + return v1.x*v2.x + v1.y*v2.y + v1.z*v2.z; +} + +inline _D3DVECTOR CrossProduct(const _D3DVECTOR& v1, const _D3DVECTOR& v2) +{ + _D3DVECTOR res; + /* this is a left-handed cross product, right? */ + res.x = v1.y * v2.z - v1.z * v2.y; + res.y = v1.z * v2.x - v1.x * v2.z; + res.z = v1.x * v2.y - v1.y * v2.x; + return res; +} + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10.h new file mode 100644 index 0000000..7062d24 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10.h @@ -0,0 +1,51 @@ +/* + * Copyright 2015 Andrey Gusev + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DX10_H__ +#define __D3DX10_H__ + +#include +#include + +#define D3DX10_DEFAULT (0xffffffffu) +#define D3DX10_FROM_FILE (0xfffffffdu) +#define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT)0xfffffffdu) + +#include "d3d10.h" +#include "d3dx10math.h" +#include "d3dx10core.h" +#include "d3dx10async.h" +#include "d3dx10tex.h" + +#define _FACDD 0x876 +#define MAKE_DDHRESULT(code) MAKE_HRESULT(1, _FACDD, code) + +enum _D3DX10_ERR +{ + D3DX10_ERR_CANNOT_MODIFY_INDEX_BUFFER = MAKE_DDHRESULT(2900), + D3DX10_ERR_INVALID_MESH = MAKE_DDHRESULT(2901), + D3DX10_ERR_CANNOT_ATTR_SORT = MAKE_DDHRESULT(2902), + D3DX10_ERR_SKINNING_NOT_SUPPORTED = MAKE_DDHRESULT(2903), + D3DX10_ERR_TOO_MANY_INFLUENCES = MAKE_DDHRESULT(2904), + D3DX10_ERR_INVALID_DATA = MAKE_DDHRESULT(2905), + D3DX10_ERR_LOADED_MESH_HAS_NO_DATA = MAKE_DDHRESULT(2906), + D3DX10_ERR_DUPLICATE_NAMED_FRAGMENT = MAKE_DDHRESULT(2907), + D3DX10_ERR_CANNOT_REMOVE_LAST_ITEM = MAKE_DDHRESULT(2908) +}; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10async.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10async.h new file mode 100644 index 0000000..6663be4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10async.h @@ -0,0 +1,63 @@ +/* + * Copyright 2015 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DX10ASYNC_H__ +#define __D3DX10ASYNC_H__ + +#include "d3dx10.h" + +HRESULT WINAPI D3DX10CompileFromMemory(const char *data, SIZE_T data_size, const char *filename, + const D3D10_SHADER_MACRO *defines, ID3D10Include *include, const char *entry_point, + const char *target, UINT sflags, UINT eflags, ID3DX10ThreadPump *pump, ID3D10Blob **shader, + ID3D10Blob **error_messages, HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateEffectFromFileA(const char *filename, const D3D10_SHADER_MACRO *defines, + ID3D10Include *include, const char *profile, UINT hlslflags, UINT fxflags, ID3D10Device *device, + ID3D10EffectPool *effectpool, ID3DX10ThreadPump *pump, ID3D10Effect **effect, ID3D10Blob **errors, + HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateEffectFromFileW(const WCHAR *filename, const D3D10_SHADER_MACRO *defines, + ID3D10Include *include, const char *profile, UINT hlslflags, UINT fxflags, ID3D10Device *device, + ID3D10EffectPool *effectpool, ID3DX10ThreadPump *pump, ID3D10Effect **effect, ID3D10Blob **errors, + HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateEffectFromMemory(const void *data, SIZE_T datasize, const char *filename, + const D3D10_SHADER_MACRO *defines, ID3D10Include *include, const char *profile, UINT hlslflags, + UINT fxflags, ID3D10Device *device, ID3D10EffectPool *effectpool, ID3DX10ThreadPump *pump, + ID3D10Effect **effect, ID3D10Blob **errors, HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateEffectPoolFromFileA(const char *filename, const D3D10_SHADER_MACRO *defines, + ID3D10Include *include, const char *profile, UINT hlslflags, UINT fxflags, ID3D10Device *device, + ID3DX10ThreadPump *pump, ID3D10EffectPool **effectpool, ID3D10Blob **errors, HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateEffectPoolFromFileW(const WCHAR *filename, const D3D10_SHADER_MACRO *defines, + ID3D10Include *include, const char *profile, UINT hlslflags, UINT fxflags, ID3D10Device *device, + ID3DX10ThreadPump *pump, ID3D10EffectPool **effectpool, ID3D10Blob **errors, HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateEffectPoolFromMemory(const void *data, SIZE_T datasize, const char *filename, + const D3D10_SHADER_MACRO *defines, ID3D10Include *include, const char *profile, UINT hlslflags, + UINT fxflags, ID3D10Device *device, ID3DX10ThreadPump *pump, ID3D10EffectPool **effectpool, + ID3D10Blob **errors, HRESULT *hresult); + +HRESULT WINAPI D3DX10CreateAsyncFileLoaderW(const WCHAR *filename, ID3DX10DataLoader **loader); +HRESULT WINAPI D3DX10CreateAsyncFileLoaderA(const char *filename, ID3DX10DataLoader **loader); +HRESULT WINAPI D3DX10CreateAsyncMemoryLoader(const void *data, SIZE_T datasize, ID3DX10DataLoader **loader); +HRESULT WINAPI D3DX10CreateAsyncResourceLoaderA(HMODULE module, const char *resource, ID3DX10DataLoader **loader); +HRESULT WINAPI D3DX10CreateAsyncResourceLoaderW(HMODULE module, const WCHAR *resource, ID3DX10DataLoader **loader); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10core.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10core.h new file mode 100644 index 0000000..10c11b9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10core.h @@ -0,0 +1,357 @@ +/*** Autogenerated by WIDL 2.18 from d3dx10core.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3dx10core_h__ +#define __d3dx10core_h__ + +/* Forward declarations */ + +#ifndef __ID3DX10DataLoader_FWD_DEFINED__ +#define __ID3DX10DataLoader_FWD_DEFINED__ +typedef interface ID3DX10DataLoader ID3DX10DataLoader; +#ifdef __cplusplus +interface ID3DX10DataLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DX10DataProcessor_FWD_DEFINED__ +#define __ID3DX10DataProcessor_FWD_DEFINED__ +typedef interface ID3DX10DataProcessor ID3DX10DataProcessor; +#ifdef __cplusplus +interface ID3DX10DataProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DX10ThreadPump_FWD_DEFINED__ +#define __ID3DX10ThreadPump_FWD_DEFINED__ +typedef interface ID3DX10ThreadPump ID3DX10ThreadPump; +#ifdef __cplusplus +interface ID3DX10ThreadPump; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * ID3DX10DataLoader interface + */ +#ifndef __ID3DX10DataLoader_INTERFACE_DEFINED__ +#define __ID3DX10DataLoader_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface ID3DX10DataLoader +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE Load( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Decompress( + void **data, + SIZE_T *bytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Destroy( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct ID3DX10DataLoaderVtbl { + BEGIN_INTERFACE + + /*** ID3DX10DataLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *Load)( + ID3DX10DataLoader *This); + + HRESULT (STDMETHODCALLTYPE *Decompress)( + ID3DX10DataLoader *This, + void **data, + SIZE_T *bytes); + + HRESULT (STDMETHODCALLTYPE *Destroy)( + ID3DX10DataLoader *This); + + END_INTERFACE +} ID3DX10DataLoaderVtbl; + +interface ID3DX10DataLoader { + CONST_VTBL ID3DX10DataLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** ID3DX10DataLoader methods ***/ +#define ID3DX10DataLoader_Load(This) (This)->lpVtbl->Load(This) +#define ID3DX10DataLoader_Decompress(This,data,bytes) (This)->lpVtbl->Decompress(This,data,bytes) +#define ID3DX10DataLoader_Destroy(This) (This)->lpVtbl->Destroy(This) +#else +/*** ID3DX10DataLoader methods ***/ +static FORCEINLINE HRESULT ID3DX10DataLoader_Load(ID3DX10DataLoader* This) { + return This->lpVtbl->Load(This); +} +static FORCEINLINE HRESULT ID3DX10DataLoader_Decompress(ID3DX10DataLoader* This,void **data,SIZE_T *bytes) { + return This->lpVtbl->Decompress(This,data,bytes); +} +static FORCEINLINE HRESULT ID3DX10DataLoader_Destroy(ID3DX10DataLoader* This) { + return This->lpVtbl->Destroy(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3DX10DataLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3DX10DataProcessor interface + */ +#ifndef __ID3DX10DataProcessor_INTERFACE_DEFINED__ +#define __ID3DX10DataProcessor_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface ID3DX10DataProcessor +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE Process( + void *data, + SIZE_T bytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeviceObject( + void **dataobject) = 0; + + virtual HRESULT STDMETHODCALLTYPE Destroy( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct ID3DX10DataProcessorVtbl { + BEGIN_INTERFACE + + /*** ID3DX10DataProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *Process)( + ID3DX10DataProcessor *This, + void *data, + SIZE_T bytes); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceObject)( + ID3DX10DataProcessor *This, + void **dataobject); + + HRESULT (STDMETHODCALLTYPE *Destroy)( + ID3DX10DataProcessor *This); + + END_INTERFACE +} ID3DX10DataProcessorVtbl; + +interface ID3DX10DataProcessor { + CONST_VTBL ID3DX10DataProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** ID3DX10DataProcessor methods ***/ +#define ID3DX10DataProcessor_Process(This,data,bytes) (This)->lpVtbl->Process(This,data,bytes) +#define ID3DX10DataProcessor_CreateDeviceObject(This,dataobject) (This)->lpVtbl->CreateDeviceObject(This,dataobject) +#define ID3DX10DataProcessor_Destroy(This) (This)->lpVtbl->Destroy(This) +#else +/*** ID3DX10DataProcessor methods ***/ +static FORCEINLINE HRESULT ID3DX10DataProcessor_Process(ID3DX10DataProcessor* This,void *data,SIZE_T bytes) { + return This->lpVtbl->Process(This,data,bytes); +} +static FORCEINLINE HRESULT ID3DX10DataProcessor_CreateDeviceObject(ID3DX10DataProcessor* This,void **dataobject) { + return This->lpVtbl->CreateDeviceObject(This,dataobject); +} +static FORCEINLINE HRESULT ID3DX10DataProcessor_Destroy(ID3DX10DataProcessor* This) { + return This->lpVtbl->Destroy(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3DX10DataProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3DX10ThreadPump interface + */ +#ifndef __ID3DX10ThreadPump_INTERFACE_DEFINED__ +#define __ID3DX10ThreadPump_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3DX10ThreadPump, 0xc93fecfa, 0x6967, 0x478a, 0xab,0xbc, 0x40,0x2d,0x90,0x62,0x1f,0xcb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c93fecfa-6967-478a-abbc-402d90621fcb") +ID3DX10ThreadPump : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddWorkItem( + ID3DX10DataLoader *loader, + ID3DX10DataProcessor *processor, + HRESULT *result, + void **object) = 0; + + virtual UINT STDMETHODCALLTYPE GetWorkItemCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForAllItems( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessDeviceWorkItems( + UINT count) = 0; + + virtual HRESULT STDMETHODCALLTYPE PurgeAllItems( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetQueueStatus( + UINT *queue, + UINT *processqueue, + UINT *devicequeue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3DX10ThreadPump, 0xc93fecfa, 0x6967, 0x478a, 0xab,0xbc, 0x40,0x2d,0x90,0x62,0x1f,0xcb) +#endif +#else +typedef struct ID3DX10ThreadPumpVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3DX10ThreadPump *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3DX10ThreadPump *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3DX10ThreadPump *This); + + /*** ID3DX10ThreadPump methods ***/ + HRESULT (STDMETHODCALLTYPE *AddWorkItem)( + ID3DX10ThreadPump *This, + ID3DX10DataLoader *loader, + ID3DX10DataProcessor *processor, + HRESULT *result, + void **object); + + UINT (STDMETHODCALLTYPE *GetWorkItemCount)( + ID3DX10ThreadPump *This); + + HRESULT (STDMETHODCALLTYPE *WaitForAllItems)( + ID3DX10ThreadPump *This); + + HRESULT (STDMETHODCALLTYPE *ProcessDeviceWorkItems)( + ID3DX10ThreadPump *This, + UINT count); + + HRESULT (STDMETHODCALLTYPE *PurgeAllItems)( + ID3DX10ThreadPump *This); + + HRESULT (STDMETHODCALLTYPE *GetQueueStatus)( + ID3DX10ThreadPump *This, + UINT *queue, + UINT *processqueue, + UINT *devicequeue); + + END_INTERFACE +} ID3DX10ThreadPumpVtbl; + +interface ID3DX10ThreadPump { + CONST_VTBL ID3DX10ThreadPumpVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3DX10ThreadPump_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3DX10ThreadPump_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3DX10ThreadPump_Release(This) (This)->lpVtbl->Release(This) +/*** ID3DX10ThreadPump methods ***/ +#define ID3DX10ThreadPump_AddWorkItem(This,loader,processor,result,object) (This)->lpVtbl->AddWorkItem(This,loader,processor,result,object) +#define ID3DX10ThreadPump_GetWorkItemCount(This) (This)->lpVtbl->GetWorkItemCount(This) +#define ID3DX10ThreadPump_WaitForAllItems(This) (This)->lpVtbl->WaitForAllItems(This) +#define ID3DX10ThreadPump_ProcessDeviceWorkItems(This,count) (This)->lpVtbl->ProcessDeviceWorkItems(This,count) +#define ID3DX10ThreadPump_PurgeAllItems(This) (This)->lpVtbl->PurgeAllItems(This) +#define ID3DX10ThreadPump_GetQueueStatus(This,queue,processqueue,devicequeue) (This)->lpVtbl->GetQueueStatus(This,queue,processqueue,devicequeue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3DX10ThreadPump_QueryInterface(ID3DX10ThreadPump* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3DX10ThreadPump_AddRef(ID3DX10ThreadPump* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3DX10ThreadPump_Release(ID3DX10ThreadPump* This) { + return This->lpVtbl->Release(This); +} +/*** ID3DX10ThreadPump methods ***/ +static FORCEINLINE HRESULT ID3DX10ThreadPump_AddWorkItem(ID3DX10ThreadPump* This,ID3DX10DataLoader *loader,ID3DX10DataProcessor *processor,HRESULT *result,void **object) { + return This->lpVtbl->AddWorkItem(This,loader,processor,result,object); +} +static FORCEINLINE UINT ID3DX10ThreadPump_GetWorkItemCount(ID3DX10ThreadPump* This) { + return This->lpVtbl->GetWorkItemCount(This); +} +static FORCEINLINE HRESULT ID3DX10ThreadPump_WaitForAllItems(ID3DX10ThreadPump* This) { + return This->lpVtbl->WaitForAllItems(This); +} +static FORCEINLINE HRESULT ID3DX10ThreadPump_ProcessDeviceWorkItems(ID3DX10ThreadPump* This,UINT count) { + return This->lpVtbl->ProcessDeviceWorkItems(This,count); +} +static FORCEINLINE HRESULT ID3DX10ThreadPump_PurgeAllItems(ID3DX10ThreadPump* This) { + return This->lpVtbl->PurgeAllItems(This); +} +static FORCEINLINE HRESULT ID3DX10ThreadPump_GetQueueStatus(ID3DX10ThreadPump* This,UINT *queue,UINT *processqueue,UINT *devicequeue) { + return This->lpVtbl->GetQueueStatus(This,queue,processqueue,devicequeue); +} +#endif +#endif + +#endif + + +#endif /* __ID3DX10ThreadPump_INTERFACE_DEFINED__ */ + +HRESULT WINAPI D3DX10UnsetAllDeviceObjects(ID3D10Device *device); +HRESULT WINAPI D3DX10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type, + HMODULE swrast, unsigned int flags, ID3D10Device **device); +HRESULT WINAPI D3DX10CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type, + HMODULE swrast, unsigned int flags, DXGI_SWAP_CHAIN_DESC *desc, IDXGISwapChain **swapchain, + ID3D10Device **device); +HRESULT WINAPI D3DX10GetFeatureLevel1(ID3D10Device *device, ID3D10Device1 **device1); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3dx10core_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10core.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10core.idl new file mode 100644 index 0000000..40d132c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10core.idl @@ -0,0 +1,74 @@ +/* + * Copyright 2015 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi.idl"; +import "d3dcommon.idl"; + +[ + object, + local, + pointer_default(unique) +] +interface ID3DX10DataLoader +{ + HRESULT Load(); + HRESULT Decompress([out] void **data, [in] SIZE_T *bytes); + HRESULT Destroy(); +}; + +[ + object, + local, + pointer_default(unique) +] +interface ID3DX10DataProcessor +{ + HRESULT Process([in] void *data, [in] SIZE_T bytes); + HRESULT CreateDeviceObject([out] void **dataobject); + HRESULT Destroy(); +}; + + +[ + object, + local, + pointer_default(unique), + uuid(c93fecfa-6967-478a-abbc-402d90621fcb) +] +interface ID3DX10ThreadPump : IUnknown +{ + HRESULT AddWorkItem([in] ID3DX10DataLoader *loader, [in] ID3DX10DataProcessor *processor, + [in] HRESULT *result, [out] void **object); + UINT GetWorkItemCount(); + + HRESULT WaitForAllItems(); + HRESULT ProcessDeviceWorkItems([in] UINT count); + + HRESULT PurgeAllItems(); + HRESULT GetQueueStatus([in] UINT *queue, [in] UINT *processqueue, [in] UINT *devicequeue); +}; + +cpp_quote("HRESULT WINAPI D3DX10UnsetAllDeviceObjects(ID3D10Device *device);") +cpp_quote("HRESULT WINAPI D3DX10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,") +cpp_quote(" HMODULE swrast, unsigned int flags, ID3D10Device **device);") +cpp_quote("HRESULT WINAPI D3DX10CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,") +cpp_quote(" HMODULE swrast, unsigned int flags, DXGI_SWAP_CHAIN_DESC *desc, IDXGISwapChain **swapchain,") +cpp_quote(" ID3D10Device **device);") +cpp_quote("HRESULT WINAPI D3DX10GetFeatureLevel1(ID3D10Device *device, ID3D10Device1 **device1);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10math.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10math.h new file mode 100644 index 0000000..a96784b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10math.h @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2016 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx10.h" + +/* This guard is the same as D3DX9 to prevent double-inclusion */ +#ifndef __D3DX9MATH_H__ +#define __D3DX9MATH_H__ + +#include + +typedef enum _D3DX_CPU_OPTIMIZATION +{ + D3DX_NOT_OPTIMIZED, + D3DX_3DNOW_OPTIMIZED, + D3DX_SSE2_OPTIMIZED, + D3DX_SSE_OPTIMIZED +} D3DX_CPU_OPTIMIZATION; + +#ifdef __cplusplus +extern "C" { +#endif + +D3DX_CPU_OPTIMIZATION WINAPI D3DXCpuOptimizations(BOOL enable); + +#ifdef __cplusplus +} +#endif + +#endif /* __D3DX9MATH_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10tex.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10tex.h new file mode 100644 index 0000000..25ad490 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx10tex.h @@ -0,0 +1,122 @@ +/* + * Copyright 2016 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx10.h" + +#ifndef __D3DX10TEX_H__ +#define __D3DX10TEX_H__ + +typedef enum D3DX10_FILTER_FLAG +{ + D3DX10_FILTER_NONE = 0x00000001, + D3DX10_FILTER_POINT = 0x00000002, + D3DX10_FILTER_LINEAR = 0x00000003, + D3DX10_FILTER_TRIANGLE = 0x00000004, + D3DX10_FILTER_BOX = 0x00000005, + + D3DX10_FILTER_MIRROR_U = 0x00010000, + D3DX10_FILTER_MIRROR_V = 0x00020000, + D3DX10_FILTER_MIRROR_W = 0x00040000, + D3DX10_FILTER_MIRROR = 0x00070000, + + D3DX10_FILTER_DITHER = 0x00080000, + D3DX10_FILTER_DITHER_DIFFUSION = 0x00100000, + + D3DX10_FILTER_SRGB_IN = 0x00200000, + D3DX10_FILTER_SRGB_OUT = 0x00400000, + D3DX10_FILTER_SRGB = 0x00600000, +} D3DX10_FILTER_FLAG; + +typedef enum D3DX10_IMAGE_FILE_FORMAT +{ + D3DX10_IFF_BMP = 0, + D3DX10_IFF_JPG = 1, + D3DX10_IFF_PNG = 3, + D3DX10_IFF_DDS = 4, + D3DX10_IFF_TIFF = 10, + D3DX10_IFF_GIF = 11, + D3DX10_IFF_WMP = 12, + D3DX10_IFF_FORCE_DWORD = 0x7fffffff +} D3DX10_IMAGE_FILE_FORMAT; + +typedef struct D3DX10_IMAGE_INFO +{ + UINT Width; + UINT Height; + UINT Depth; + UINT ArraySize; + UINT MipLevels; + UINT MiscFlags; + DXGI_FORMAT Format; + D3D10_RESOURCE_DIMENSION ResourceDimension; + D3DX10_IMAGE_FILE_FORMAT ImageFileFormat; +} D3DX10_IMAGE_INFO; + +typedef struct D3DX10_IMAGE_LOAD_INFO +{ + UINT Width; + UINT Height; + UINT Depth; + UINT FirstMipLevel; + UINT MipLevels; + D3D10_USAGE Usage; + UINT BindFlags; + UINT CpuAccessFlags; + UINT MiscFlags; + DXGI_FORMAT Format; + UINT Filter; + UINT MipFilter; + D3DX10_IMAGE_INFO *pSrcInfo; + +#ifdef __cplusplus + D3DX10_IMAGE_LOAD_INFO() + { + Width = D3DX10_DEFAULT; + Height = D3DX10_DEFAULT; + Depth = D3DX10_DEFAULT; + FirstMipLevel = D3DX10_DEFAULT; + MipLevels = D3DX10_DEFAULT; + Usage = (D3D10_USAGE)D3DX10_DEFAULT; + BindFlags = D3DX10_DEFAULT; + CpuAccessFlags = D3DX10_DEFAULT; + MiscFlags = D3DX10_DEFAULT; + Format = DXGI_FORMAT_FROM_FILE; + Filter = D3DX10_DEFAULT; + MipFilter = D3DX10_DEFAULT; + pSrcInfo = NULL; + } +#endif +} D3DX10_IMAGE_LOAD_INFO; + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DX10CreateTextureFromMemory(ID3D10Device *device, const void *src_data, SIZE_T src_data_size, + D3DX10_IMAGE_LOAD_INFO *loadinfo, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult); + +HRESULT WINAPI D3DX10FilterTexture(ID3D10Resource *texture, UINT src_level, UINT filter); + +HRESULT WINAPI D3DX10GetImageInfoFromMemory(const void *src_data, SIZE_T src_data_size, ID3DX10ThreadPump *pump, + D3DX10_IMAGE_INFO *img_info, HRESULT *hresult); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11.h new file mode 100644 index 0000000..e155785 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11.h @@ -0,0 +1,50 @@ +/* + * Copyright 2016 Andrey Gusev + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DX11_H__ +#define __D3DX11_H__ + +#include +#include + +#define D3DX11_DEFAULT (0xffffffffu) +#define D3DX11_FROM_FILE (0xfffffffdu) +#define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT)0xfffffffdu) + +#include "d3d11.h" +#include "d3dx11core.h" +#include "d3dx11async.h" +#include "d3dx11tex.h" + +#define _FACDD 0x876 +#define MAKE_DDHRESULT(code) MAKE_HRESULT(SEVERITY_ERROR, _FACDD, code) + +enum _D3DX11_ERR +{ + D3DX11_ERR_CANNOT_MODIFY_INDEX_BUFFER = MAKE_DDHRESULT(2900), + D3DX11_ERR_INVALID_MESH = MAKE_DDHRESULT(2901), + D3DX11_ERR_CANNOT_ATTR_SORT = MAKE_DDHRESULT(2902), + D3DX11_ERR_SKINNING_NOT_SUPPORTED = MAKE_DDHRESULT(2903), + D3DX11_ERR_TOO_MANY_INFLUENCES = MAKE_DDHRESULT(2904), + D3DX11_ERR_INVALID_DATA = MAKE_DDHRESULT(2905), + D3DX11_ERR_LOADED_MESH_HAS_NO_DATA = MAKE_DDHRESULT(2906), + D3DX11_ERR_DUPLICATE_NAMED_FRAGMENT = MAKE_DDHRESULT(2907), + D3DX11_ERR_CANNOT_REMOVE_LAST_ITEM = MAKE_DDHRESULT(2908) +}; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11async.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11async.h new file mode 100644 index 0000000..2d85e4a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11async.h @@ -0,0 +1,51 @@ +/* + * Copyright 2016 Matteo Bruni for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DX11ASYNC_H__ +#define __D3DX11ASYNC_H__ + +#include "d3dx11.h" + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DX11CreateAsyncFileLoaderA(const char *file_name, ID3DX11DataLoader **loader); +HRESULT WINAPI D3DX11CreateAsyncFileLoaderW(const WCHAR *file_name, ID3DX11DataLoader **loader); +HRESULT WINAPI D3DX11CreateAsyncResourceLoaderA(HMODULE module, const char *resource, ID3DX11DataLoader **loader); +HRESULT WINAPI D3DX11CreateAsyncResourceLoaderW(HMODULE module, const WCHAR *resource, ID3DX11DataLoader **loader); +HRESULT WINAPI D3DX11CreateAsyncMemoryLoader(const void *data, SIZE_T data_size, ID3DX11DataLoader **loader); + +HRESULT WINAPI D3DX11CompileFromMemory(const char *data, SIZE_T data_size, const char *filename, + const D3D10_SHADER_MACRO *defines, ID3D10Include *include, const char *entry_point, + const char *target, UINT sflags, UINT eflags, ID3DX11ThreadPump *pump, ID3D10Blob **shader, + ID3D10Blob **error_messages, HRESULT *hresult); + +HRESULT WINAPI D3DX11CompileFromFileA(const char *filename, const D3D10_SHADER_MACRO *defines, + ID3D10Include *include, const char *entry_point, const char *target, UINT sflags, UINT eflags, + ID3DX11ThreadPump *pump, ID3D10Blob **shader, ID3D10Blob **error_messages, HRESULT *hresult); + +HRESULT WINAPI D3DX11CompileFromFileW(const WCHAR *filename, const D3D10_SHADER_MACRO *defines, + ID3D10Include *include, const char *entry_point, const char *target, UINT sflags, UINT eflags, + ID3DX11ThreadPump *pump, ID3D10Blob **shader, ID3D10Blob **error_messages, HRESULT *hresult); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11core.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11core.h new file mode 100644 index 0000000..f0a2ff9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11core.h @@ -0,0 +1,350 @@ +/*** Autogenerated by WIDL 2.18 from d3dx11core.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __d3dx11core_h__ +#define __d3dx11core_h__ + +/* Forward declarations */ + +#ifndef __ID3DX11DataLoader_FWD_DEFINED__ +#define __ID3DX11DataLoader_FWD_DEFINED__ +typedef interface ID3DX11DataLoader ID3DX11DataLoader; +#ifdef __cplusplus +interface ID3DX11DataLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DX11DataProcessor_FWD_DEFINED__ +#define __ID3DX11DataProcessor_FWD_DEFINED__ +typedef interface ID3DX11DataProcessor ID3DX11DataProcessor; +#ifdef __cplusplus +interface ID3DX11DataProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __ID3DX11ThreadPump_FWD_DEFINED__ +#define __ID3DX11ThreadPump_FWD_DEFINED__ +typedef interface ID3DX11ThreadPump ID3DX11ThreadPump; +#ifdef __cplusplus +interface ID3DX11ThreadPump; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * ID3DX11DataLoader interface + */ +#ifndef __ID3DX11DataLoader_INTERFACE_DEFINED__ +#define __ID3DX11DataLoader_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface ID3DX11DataLoader +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE Load( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Decompress( + void **data, + SIZE_T *bytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Destroy( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct ID3DX11DataLoaderVtbl { + BEGIN_INTERFACE + + /*** ID3DX11DataLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *Load)( + ID3DX11DataLoader *This); + + HRESULT (STDMETHODCALLTYPE *Decompress)( + ID3DX11DataLoader *This, + void **data, + SIZE_T *bytes); + + HRESULT (STDMETHODCALLTYPE *Destroy)( + ID3DX11DataLoader *This); + + END_INTERFACE +} ID3DX11DataLoaderVtbl; + +interface ID3DX11DataLoader { + CONST_VTBL ID3DX11DataLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** ID3DX11DataLoader methods ***/ +#define ID3DX11DataLoader_Load(This) (This)->lpVtbl->Load(This) +#define ID3DX11DataLoader_Decompress(This,data,bytes) (This)->lpVtbl->Decompress(This,data,bytes) +#define ID3DX11DataLoader_Destroy(This) (This)->lpVtbl->Destroy(This) +#else +/*** ID3DX11DataLoader methods ***/ +static FORCEINLINE HRESULT ID3DX11DataLoader_Load(ID3DX11DataLoader* This) { + return This->lpVtbl->Load(This); +} +static FORCEINLINE HRESULT ID3DX11DataLoader_Decompress(ID3DX11DataLoader* This,void **data,SIZE_T *bytes) { + return This->lpVtbl->Decompress(This,data,bytes); +} +static FORCEINLINE HRESULT ID3DX11DataLoader_Destroy(ID3DX11DataLoader* This) { + return This->lpVtbl->Destroy(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3DX11DataLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3DX11DataProcessor interface + */ +#ifndef __ID3DX11DataProcessor_INTERFACE_DEFINED__ +#define __ID3DX11DataProcessor_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface ID3DX11DataProcessor +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE Process( + void *data, + SIZE_T bytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDeviceObject( + void **data_object) = 0; + + virtual HRESULT STDMETHODCALLTYPE Destroy( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct ID3DX11DataProcessorVtbl { + BEGIN_INTERFACE + + /*** ID3DX11DataProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *Process)( + ID3DX11DataProcessor *This, + void *data, + SIZE_T bytes); + + HRESULT (STDMETHODCALLTYPE *CreateDeviceObject)( + ID3DX11DataProcessor *This, + void **data_object); + + HRESULT (STDMETHODCALLTYPE *Destroy)( + ID3DX11DataProcessor *This); + + END_INTERFACE +} ID3DX11DataProcessorVtbl; + +interface ID3DX11DataProcessor { + CONST_VTBL ID3DX11DataProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** ID3DX11DataProcessor methods ***/ +#define ID3DX11DataProcessor_Process(This,data,bytes) (This)->lpVtbl->Process(This,data,bytes) +#define ID3DX11DataProcessor_CreateDeviceObject(This,data_object) (This)->lpVtbl->CreateDeviceObject(This,data_object) +#define ID3DX11DataProcessor_Destroy(This) (This)->lpVtbl->Destroy(This) +#else +/*** ID3DX11DataProcessor methods ***/ +static FORCEINLINE HRESULT ID3DX11DataProcessor_Process(ID3DX11DataProcessor* This,void *data,SIZE_T bytes) { + return This->lpVtbl->Process(This,data,bytes); +} +static FORCEINLINE HRESULT ID3DX11DataProcessor_CreateDeviceObject(ID3DX11DataProcessor* This,void **data_object) { + return This->lpVtbl->CreateDeviceObject(This,data_object); +} +static FORCEINLINE HRESULT ID3DX11DataProcessor_Destroy(ID3DX11DataProcessor* This) { + return This->lpVtbl->Destroy(This); +} +#endif +#endif + +#endif + + +#endif /* __ID3DX11DataProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ID3DX11ThreadPump interface + */ +#ifndef __ID3DX11ThreadPump_INTERFACE_DEFINED__ +#define __ID3DX11ThreadPump_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ID3DX11ThreadPump, 0xc93fecfa, 0x6967, 0x478a, 0xab,0xbc, 0x40,0x2d,0x90,0x62,0x1f,0xcb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c93fecfa-6967-478a-abbc-402d90621fcb") +ID3DX11ThreadPump : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddWorkItem( + ID3DX11DataLoader *loader, + ID3DX11DataProcessor *processor, + HRESULT *hresult, + void **device_object) = 0; + + virtual UINT STDMETHODCALLTYPE GetWorkItemCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForAllItems( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessDeviceWorkItems( + UINT count) = 0; + + virtual HRESULT STDMETHODCALLTYPE PurgeAllItems( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetQueueStatus( + UINT *io_queue, + UINT *process_queue, + UINT *device_queue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ID3DX11ThreadPump, 0xc93fecfa, 0x6967, 0x478a, 0xab,0xbc, 0x40,0x2d,0x90,0x62,0x1f,0xcb) +#endif +#else +typedef struct ID3DX11ThreadPumpVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ID3DX11ThreadPump *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ID3DX11ThreadPump *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ID3DX11ThreadPump *This); + + /*** ID3DX11ThreadPump methods ***/ + HRESULT (STDMETHODCALLTYPE *AddWorkItem)( + ID3DX11ThreadPump *This, + ID3DX11DataLoader *loader, + ID3DX11DataProcessor *processor, + HRESULT *hresult, + void **device_object); + + UINT (STDMETHODCALLTYPE *GetWorkItemCount)( + ID3DX11ThreadPump *This); + + HRESULT (STDMETHODCALLTYPE *WaitForAllItems)( + ID3DX11ThreadPump *This); + + HRESULT (STDMETHODCALLTYPE *ProcessDeviceWorkItems)( + ID3DX11ThreadPump *This, + UINT count); + + HRESULT (STDMETHODCALLTYPE *PurgeAllItems)( + ID3DX11ThreadPump *This); + + HRESULT (STDMETHODCALLTYPE *GetQueueStatus)( + ID3DX11ThreadPump *This, + UINT *io_queue, + UINT *process_queue, + UINT *device_queue); + + END_INTERFACE +} ID3DX11ThreadPumpVtbl; + +interface ID3DX11ThreadPump { + CONST_VTBL ID3DX11ThreadPumpVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ID3DX11ThreadPump_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ID3DX11ThreadPump_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ID3DX11ThreadPump_Release(This) (This)->lpVtbl->Release(This) +/*** ID3DX11ThreadPump methods ***/ +#define ID3DX11ThreadPump_AddWorkItem(This,loader,processor,hresult,device_object) (This)->lpVtbl->AddWorkItem(This,loader,processor,hresult,device_object) +#define ID3DX11ThreadPump_GetWorkItemCount(This) (This)->lpVtbl->GetWorkItemCount(This) +#define ID3DX11ThreadPump_WaitForAllItems(This) (This)->lpVtbl->WaitForAllItems(This) +#define ID3DX11ThreadPump_ProcessDeviceWorkItems(This,count) (This)->lpVtbl->ProcessDeviceWorkItems(This,count) +#define ID3DX11ThreadPump_PurgeAllItems(This) (This)->lpVtbl->PurgeAllItems(This) +#define ID3DX11ThreadPump_GetQueueStatus(This,io_queue,process_queue,device_queue) (This)->lpVtbl->GetQueueStatus(This,io_queue,process_queue,device_queue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ID3DX11ThreadPump_QueryInterface(ID3DX11ThreadPump* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ID3DX11ThreadPump_AddRef(ID3DX11ThreadPump* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ID3DX11ThreadPump_Release(ID3DX11ThreadPump* This) { + return This->lpVtbl->Release(This); +} +/*** ID3DX11ThreadPump methods ***/ +static FORCEINLINE HRESULT ID3DX11ThreadPump_AddWorkItem(ID3DX11ThreadPump* This,ID3DX11DataLoader *loader,ID3DX11DataProcessor *processor,HRESULT *hresult,void **device_object) { + return This->lpVtbl->AddWorkItem(This,loader,processor,hresult,device_object); +} +static FORCEINLINE UINT ID3DX11ThreadPump_GetWorkItemCount(ID3DX11ThreadPump* This) { + return This->lpVtbl->GetWorkItemCount(This); +} +static FORCEINLINE HRESULT ID3DX11ThreadPump_WaitForAllItems(ID3DX11ThreadPump* This) { + return This->lpVtbl->WaitForAllItems(This); +} +static FORCEINLINE HRESULT ID3DX11ThreadPump_ProcessDeviceWorkItems(ID3DX11ThreadPump* This,UINT count) { + return This->lpVtbl->ProcessDeviceWorkItems(This,count); +} +static FORCEINLINE HRESULT ID3DX11ThreadPump_PurgeAllItems(ID3DX11ThreadPump* This) { + return This->lpVtbl->PurgeAllItems(This); +} +static FORCEINLINE HRESULT ID3DX11ThreadPump_GetQueueStatus(ID3DX11ThreadPump* This,UINT *io_queue,UINT *process_queue,UINT *device_queue) { + return This->lpVtbl->GetQueueStatus(This,io_queue,process_queue,device_queue); +} +#endif +#endif + +#endif + + +#endif /* __ID3DX11ThreadPump_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __d3dx11core_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11core.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11core.idl new file mode 100644 index 0000000..d47463c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11core.idl @@ -0,0 +1,65 @@ +/* + * Copyright 2016 Andrey Gusev + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgi.idl"; +import "d3dcommon.idl"; + +[ + object, + local, + pointer_default(unique) +] +interface ID3DX11DataLoader +{ + HRESULT Load(); + HRESULT Decompress([out] void **data, [in] SIZE_T *bytes); + HRESULT Destroy(); +}; + +[ + object, + local, + pointer_default(unique) +] +interface ID3DX11DataProcessor +{ + HRESULT Process([in] void *data, [in] SIZE_T bytes); + HRESULT CreateDeviceObject([out] void **data_object); + HRESULT Destroy(); +}; + +[ + object, + local, + pointer_default(unique), + uuid(c93fecfa-6967-478a-abbc-402d90621fcb) +] +interface ID3DX11ThreadPump : IUnknown +{ + HRESULT AddWorkItem([in] ID3DX11DataLoader *loader, [in] ID3DX11DataProcessor *processor, + [in] HRESULT *hresult, [out] void **device_object); + UINT GetWorkItemCount(); + + HRESULT WaitForAllItems(); + HRESULT ProcessDeviceWorkItems([in] UINT count); + + HRESULT PurgeAllItems(); + HRESULT GetQueueStatus([in] UINT *io_queue, [in] UINT *process_queue, [in] UINT *device_queue); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11tex.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11tex.h new file mode 100644 index 0000000..584a3bd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx11tex.h @@ -0,0 +1,129 @@ +/* + * Copyright 2016 Andrey Gusev + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx11.h" + +#ifndef __D3DX11TEX_H__ +#define __D3DX11TEX_H__ + +typedef enum D3DX11_FILTER_FLAG +{ + D3DX11_FILTER_NONE = 0x00000001, + D3DX11_FILTER_POINT = 0x00000002, + D3DX11_FILTER_LINEAR = 0x00000003, + D3DX11_FILTER_TRIANGLE = 0x00000004, + D3DX11_FILTER_BOX = 0x00000005, + + D3DX11_FILTER_MIRROR_U = 0x00010000, + D3DX11_FILTER_MIRROR_V = 0x00020000, + D3DX11_FILTER_MIRROR_W = 0x00040000, + D3DX11_FILTER_MIRROR = 0x00070000, + + D3DX11_FILTER_DITHER = 0x00080000, + D3DX11_FILTER_DITHER_DIFFUSION = 0x00100000, + + D3DX11_FILTER_SRGB_IN = 0x00200000, + D3DX11_FILTER_SRGB_OUT = 0x00400000, + D3DX11_FILTER_SRGB = 0x00600000, +} D3DX11_FILTER_FLAG; + +typedef enum D3DX11_IMAGE_FILE_FORMAT +{ + D3DX11_IFF_BMP = 0, + D3DX11_IFF_JPG = 1, + D3DX11_IFF_PNG = 3, + D3DX11_IFF_DDS = 4, + D3DX11_IFF_TIFF = 10, + D3DX11_IFF_GIF = 11, + D3DX11_IFF_WMP = 12, + D3DX11_IFF_FORCE_DWORD = 0x7fffffff +} D3DX11_IMAGE_FILE_FORMAT; + +typedef struct D3DX11_IMAGE_INFO +{ + UINT Width; + UINT Height; + UINT Depth; + UINT ArraySize; + UINT MipLevels; + UINT MiscFlags; + DXGI_FORMAT Format; + D3D11_RESOURCE_DIMENSION ResourceDimension; + D3DX11_IMAGE_FILE_FORMAT ImageFileFormat; +} D3DX11_IMAGE_INFO; + +typedef struct D3DX11_IMAGE_LOAD_INFO +{ + UINT Width; + UINT Height; + UINT Depth; + UINT FirstMipLevel; + UINT MipLevels; + D3D11_USAGE Usage; + UINT BindFlags; + UINT CpuAccessFlags; + UINT MiscFlags; + DXGI_FORMAT Format; + UINT Filter; + UINT MipFilter; + D3DX11_IMAGE_INFO *pSrcInfo; + +#ifdef __cplusplus + D3DX11_IMAGE_LOAD_INFO() + { + Width = D3DX11_DEFAULT; + Height = D3DX11_DEFAULT; + Depth = D3DX11_DEFAULT; + FirstMipLevel = D3DX11_DEFAULT; + MipLevels = D3DX11_DEFAULT; + Usage = (D3D11_USAGE)D3DX11_DEFAULT; + BindFlags = D3DX11_DEFAULT; + CpuAccessFlags = D3DX11_DEFAULT; + MiscFlags = D3DX11_DEFAULT; + Format = DXGI_FORMAT_FROM_FILE; + Filter = D3DX11_DEFAULT; + MipFilter = D3DX11_DEFAULT; + pSrcInfo = NULL; + } +#endif +} D3DX11_IMAGE_LOAD_INFO; + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *device, const void *data, + SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, + ID3D11ShaderResourceView **view, HRESULT *hresult); + +HRESULT WINAPI D3DX11CreateTextureFromMemory(ID3D11Device *device, const void *src_data, SIZE_T src_data_size, + D3DX11_IMAGE_LOAD_INFO *loadinfo, ID3DX11ThreadPump *pump, ID3D11Resource **texture, HRESULT *hresult); + +HRESULT WINAPI D3DX11FilterTexture(ID3D11DeviceContext *context, ID3D11Resource *texture, UINT src_level, UINT filter); + +HRESULT WINAPI D3DX11GetImageInfoFromMemory(const void *src_data, SIZE_T src_data_size, ID3DX11ThreadPump *pump, + D3DX11_IMAGE_INFO *img_info, HRESULT *hresult); + +HRESULT WINAPI D3DX11SaveTextureToMemory(ID3D11DeviceContext *context, ID3D11Resource *texture, + D3DX11_IMAGE_FILE_FORMAT format, ID3D10Blob **buffer, UINT flags); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9.h new file mode 100644 index 0000000..97d4234 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9.h @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2007 David Adam + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DX9_H__ +#define __D3DX9_H__ + +#include + +#define D3DX_DEFAULT ((UINT)-1) +#define D3DX_DEFAULT_NONPOW2 ((UINT)-2) +#define D3DX_DEFAULT_FLOAT FLT_MAX +#define D3DX_FROM_FILE ((UINT)-3) +#define D3DFMT_FROM_FILE ((D3DFORMAT)-3) + +#include "d3d9.h" +#include "d3dx9math.h" +#include "d3dx9core.h" +#include "d3dx9xof.h" +#include "d3dx9mesh.h" +#include "d3dx9shader.h" +#include "d3dx9effect.h" +#include "d3dx9shape.h" +#include "d3dx9anim.h" +#include "d3dx9tex.h" + +#define _FACDD 0x876 +#define MAKE_DDHRESULT(code) MAKE_HRESULT(1, _FACDD, code) + +enum _D3DXERR { + D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900), + D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901), + D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902), + D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903), + D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904), + D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905), + D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906), + D3DXERR_DUPLICATENAMEDFRAGMENT = MAKE_DDHRESULT(2907), + D3DXERR_CANNOTREMOVELASTITEM = MAKE_DDHRESULT(2908), +}; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9anim.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9anim.h new file mode 100644 index 0000000..81b8e2f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9anim.h @@ -0,0 +1,408 @@ +/* + * Copyright 2011 Dylan Smith + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DX9ANIM_H +#define __WINE_D3DX9ANIM_H + +DEFINE_GUID(IID_ID3DXAnimationSet, 0x698cfb3f, 0x9289, 0x4d95, 0x9a, 0x57, 0x33, 0xa9, 0x4b, 0x5a, 0x65, 0xf9); +DEFINE_GUID(IID_ID3DXKeyframedAnimationSet, 0xfa4e8e3a, 0x9786, 0x407d, 0x8b, 0x4c, 0x59, 0x95, 0x89, 0x37, 0x64, 0xaf); +DEFINE_GUID(IID_ID3DXCompressedAnimationSet, 0x6cc2480d, 0x3808, 0x4739, 0x9f, 0x88, 0xde, 0x49, 0xfa, 0xcd, 0x8d, 0x4c); +DEFINE_GUID(IID_ID3DXAnimationController, 0xac8948ec, 0xf86d, 0x43e2, 0x96, 0xde, 0x31, 0xfc, 0x35, 0xf9, 0x6d, 0x9e); + +typedef enum _D3DXMESHDATATYPE +{ + D3DXMESHTYPE_MESH = 1, + D3DXMESHTYPE_PMESH = 2, + D3DXMESHTYPE_PATCHMESH = 3, + D3DXMESHTYPE_FORCE_DWORD = 0x7fffffff, +} D3DXMESHDATATYPE; + +typedef enum _D3DXCALLBACK_SEARCH_FLAGS +{ + D3DXCALLBACK_SEARCH_EXCLUDING_INITIAL_POSITION = 0x00000001, + D3DXCALLBACK_SEARCH_BEHIND_INITIAL_POSITION = 0x00000002, + D3DXCALLBACK_SEARCH_FORCE_DWORD = 0x7fffffff, +} D3DXCALLBACK_SEARCH_FLAGS; + +typedef enum _D3DXPLAYBACK_TYPE +{ + D3DXPLAY_LOOP = 0, + D3DXPLAY_ONCE = 1, + D3DXPLAY_PINGPONG = 2, + D3DXPLAY_FORCE_DWORD = 0x7fffffff, +} D3DXPLAYBACK_TYPE; + +typedef enum _D3DXCOMPRESSION_FLAGS +{ + D3DXCOMPRESSION_DEFAULT = 0x00000000, + D3DXCOMPRESSION_FORCE_DWORD = 0x7fffffff, +} D3DXCOMPRESSION_FLAGS; + +typedef enum _D3DXPRIORITY_TYPE +{ + D3DXPRIORITY_LOW = 0, + D3DXPRIORITY_HIGH = 1, + D3DXPRIORITY_FORCE_DWORD = 0x7fffffff, +} D3DXPRIORITY_TYPE; + +typedef enum _D3DXEVENT_TYPE +{ + D3DXEVENT_TRACKSPEED = 0, + D3DXEVENT_TRACKWEIGHT = 1, + D3DXEVENT_TRACKPOSITION = 2, + D3DXEVENT_TRACKENABLE = 3, + D3DXEVENT_PRIORITYBLEND = 4, + D3DXEVENT_FORCE_DWORD = 0x7fffffff, +} D3DXEVENT_TYPE; + +typedef enum _D3DXTRANSITION_TYPE +{ + D3DXTRANSITION_LINEAR = 0, + D3DXTRANSITION_EASEINEASEOUT = 1, + D3DXTRANSITION_FORCE_DWORD = 0x7fffffff, +} D3DXTRANSITION_TYPE; + + +typedef struct _D3DXMESHDATA +{ + D3DXMESHDATATYPE Type; + + union + { + ID3DXMesh *pMesh; + ID3DXPMesh *pPMesh; + ID3DXPatchMesh *pPatchMesh; + } DUMMYUNIONNAME; +} D3DXMESHDATA, *LPD3DXMESHDATA; + +typedef struct _D3DXMESHCONTAINER +{ + char *Name; + D3DXMESHDATA MeshData; + LPD3DXMATERIAL pMaterials; + LPD3DXEFFECTINSTANCE pEffects; + DWORD NumMaterials; + DWORD *pAdjacency; + ID3DXSkinInfo *pSkinInfo; + struct _D3DXMESHCONTAINER *pNextMeshContainer; +} D3DXMESHCONTAINER, *LPD3DXMESHCONTAINER; + +typedef struct _D3DXFRAME +{ + char *Name; + D3DXMATRIX TransformationMatrix; + LPD3DXMESHCONTAINER pMeshContainer; + struct _D3DXFRAME *pFrameSibling; + struct _D3DXFRAME *pFrameFirstChild; +} D3DXFRAME, *LPD3DXFRAME; + +typedef struct _D3DXKEY_VECTOR3 +{ + FLOAT Time; + D3DXVECTOR3 Value; +} D3DXKEY_VECTOR3, *LPD3DXKEY_VECTOR3; + +typedef struct _D3DXKEY_QUATERNION +{ + FLOAT Time; + D3DXQUATERNION Value; +} D3DXKEY_QUATERNION, *LPD3DXKEY_QUATERNION; + +typedef struct _D3DXKEY_CALLBACK +{ + float Time; + void *pCallbackData; +} D3DXKEY_CALLBACK, *LPD3DXKEY_CALLBACK; + +typedef struct _D3DXTRACK_DESC +{ + D3DXPRIORITY_TYPE Priority; + FLOAT Weight; + FLOAT Speed; + DOUBLE Position; + BOOL Enable; +} D3DXTRACK_DESC, *LPD3DXTRACK_DESC; + +typedef struct _D3DXEVENT_DESC +{ + D3DXEVENT_TYPE Type; + UINT Track; + DOUBLE StartTime; + DOUBLE Duration; + D3DXTRANSITION_TYPE Transition; + union + { + FLOAT Weight; + FLOAT Speed; + DOUBLE Position; + BOOL Enable; + } DUMMYUNIONNAME; +} D3DXEVENT_DESC, *LPD3DXEVENT_DESC; + +typedef DWORD D3DXEVENTHANDLE, *LPD3DXEVENTHANDLE; + +typedef interface ID3DXAllocateHierarchy *LPD3DXALLOCATEHIERARCHY; +typedef interface ID3DXLoadUserData *LPD3DXLOADUSERDATA; +typedef interface ID3DXSaveUserData *LPD3DXSAVEUSERDATA; +typedef interface ID3DXAnimationSet *LPD3DXANIMATIONSET; +typedef interface ID3DXKeyframedAnimationSet *LPD3DXKEYFRAMEDANIMATIONSET; +typedef interface ID3DXCompressedAnimationSet *LPD3DXCOMPRESSEDANIMATIONSET; +typedef interface ID3DXAnimationCallbackHandler *LPD3DXANIMATIONCALLBACKHANDLER; +typedef interface ID3DXAnimationController *LPD3DXANIMATIONCONTROLLER; + +#undef INTERFACE + +#define INTERFACE ID3DXAllocateHierarchy +DECLARE_INTERFACE(ID3DXAllocateHierarchy) +{ + STDMETHOD(CreateFrame)(THIS_ const char *name, D3DXFRAME **new_frame) PURE; + STDMETHOD(CreateMeshContainer)(THIS_ const char *name, const D3DXMESHDATA *mesh_data, + const D3DXMATERIAL *materials, const D3DXEFFECTINSTANCE *effect_instances, + DWORD num_materials, const DWORD *adjacency, ID3DXSkinInfo *skin_info, + D3DXMESHCONTAINER **new_mesh_container) PURE; + STDMETHOD(DestroyFrame)(THIS_ LPD3DXFRAME frame) PURE; + STDMETHOD(DestroyMeshContainer)(THIS_ LPD3DXMESHCONTAINER mesh_container) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXLoadUserData +DECLARE_INTERFACE(ID3DXLoadUserData) +{ + STDMETHOD(LoadTopLevelData)(ID3DXFileData *child_data) PURE; + STDMETHOD(LoadFrameChildData)(D3DXFRAME *frame, ID3DXFileData *child_data) PURE; + STDMETHOD(LoadMeshChildData)(D3DXMESHCONTAINER *mesh_container, ID3DXFileData *child_data) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXSaveUserData +DECLARE_INTERFACE(ID3DXSaveUserData) +{ + STDMETHOD(AddFrameChildData)(const D3DXFRAME *frame, + ID3DXFileSaveObject *save_obj, ID3DXFileSaveData *frame_data) PURE; + STDMETHOD(AddMeshChildData)(const D3DXMESHCONTAINER *mesh_container, + ID3DXFileSaveObject *save_obj, ID3DXFileSaveData *mesh_data) PURE; + STDMETHOD(AddTopLevelDataObjectsPre)(ID3DXFileSaveObject *save_obj) PURE; + STDMETHOD(AddTopLevelDataObjectsPost)(ID3DXFileSaveObject *save_obj) PURE; + STDMETHOD(RegisterTemplates)(ID3DXFile *file) PURE; + STDMETHOD(SaveTemplates)(ID3DXFileSaveObject *save_obj) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXAnimationSet +DECLARE_INTERFACE_(ID3DXAnimationSet, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXAnimationSet methods ***/ + STDMETHOD_(const char *, GetName)(THIS) PURE; + STDMETHOD_(DOUBLE, GetPeriod)(THIS) PURE; + STDMETHOD_(DOUBLE, GetPeriodicPosition)(THIS_ DOUBLE position) PURE; + STDMETHOD_(UINT, GetNumAnimations)(THIS) PURE; + STDMETHOD(GetAnimationNameByIndex)(THIS_ UINT index, const char **name) PURE; + STDMETHOD(GetAnimationIndexByName)(THIS_ const char *name, UINT *index) PURE; + STDMETHOD(GetSRT)(THIS_ DOUBLE periodic_position, UINT animation, D3DXVECTOR3 *scale, + D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE; + STDMETHOD(GetCallback)(THIS_ double position, DWORD flags, double *callback_position, + void **callback_data) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXKeyframedAnimationSet +DECLARE_INTERFACE_(ID3DXKeyframedAnimationSet, ID3DXAnimationSet) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXAnimationSet methods ***/ + STDMETHOD_(const char *, GetName)(THIS) PURE; + STDMETHOD_(DOUBLE, GetPeriod)(THIS) PURE; + STDMETHOD_(DOUBLE, GetPeriodicPosition)(THIS_ DOUBLE position) PURE; + STDMETHOD_(UINT, GetNumAnimations)(THIS) PURE; + STDMETHOD(GetAnimationNameByIndex)(THIS_ UINT index, const char **name) PURE; + STDMETHOD(GetAnimationIndexByName)(THIS_ const char *name, UINT *index) PURE; + STDMETHOD(GetSRT)(THIS_ DOUBLE periodic_position, UINT animation, D3DXVECTOR3 *scale, + D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE; + STDMETHOD(GetCallback)(THIS_ double position, DWORD flags, double *callback_position, + void **callback_data) PURE; + /*** ID3DXKeyframedAnimationSet methods ***/ + STDMETHOD_(D3DXPLAYBACK_TYPE, GetPlaybackType)(THIS) PURE; + STDMETHOD_(DOUBLE, GetSourceTicksPerSecond)(THIS) PURE; + STDMETHOD_(UINT, GetNumScaleKeys)(THIS_ UINT animation) PURE; + STDMETHOD(GetScaleKeys)(THIS_ UINT animation, LPD3DXKEY_VECTOR3 scale_keys) PURE; + STDMETHOD(GetScaleKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 scale_key) PURE; + STDMETHOD(SetScaleKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 scale_key) PURE; + STDMETHOD_(UINT, GetNumRotationKeys)(THIS_ UINT animation) PURE; + STDMETHOD(GetRotationKeys)(THIS_ UINT animation, LPD3DXKEY_QUATERNION rotation_keys) PURE; + STDMETHOD(GetRotationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_QUATERNION rotation_key) PURE; + STDMETHOD(SetRotationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_QUATERNION rotation_key) PURE; + STDMETHOD_(UINT, GetNumTranslationKeys)(THIS_ UINT animation) PURE; + STDMETHOD(GetTranslationKeys)(THIS_ UINT animation, LPD3DXKEY_VECTOR3 translation_keys) PURE; + STDMETHOD(GetTranslationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 translation_key) PURE; + STDMETHOD(SetTranslationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 translation_key) PURE; + STDMETHOD_(UINT, GetNumCallbackKeys)(THIS) PURE; + STDMETHOD(GetCallbackKeys)(THIS_ LPD3DXKEY_CALLBACK callback_keys) PURE; + STDMETHOD(GetCallbackKey)(THIS_ UINT key, LPD3DXKEY_CALLBACK callback_key) PURE; + STDMETHOD(SetCallbackKey)(THIS_ UINT key, LPD3DXKEY_CALLBACK callback_key) PURE; + STDMETHOD(UnregisterScaleKey)(THIS_ UINT animation, UINT key) PURE; + STDMETHOD(UnregisterRotationKey)(THIS_ UINT animation, UINT key) PURE; + STDMETHOD(UnregisterTranslationKey)(THIS_ UINT animation, UINT key) PURE; + STDMETHOD(RegisterAnimationSRTKeys)(THIS_ const char *name, UINT num_scale_keys, + UINT num_rotation_keys, UINT num_translation_keys, const D3DXKEY_VECTOR3 *scale_keys, + const D3DXKEY_QUATERNION *rotation_keys, const D3DXKEY_VECTOR3 *translation_keys, + DWORD *animation_index) PURE; + STDMETHOD(Compress)(THIS_ DWORD flags, float lossiness, D3DXFRAME *hierarchy, + ID3DXBuffer **compressed_data) PURE; + STDMETHOD(UnregisterAnimation)(THIS_ UINT index) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXCompressedAnimationSet +DECLARE_INTERFACE_(ID3DXCompressedAnimationSet, ID3DXAnimationSet) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXAnimationSet methods ***/ + STDMETHOD_(const char *, GetName)(THIS) PURE; + STDMETHOD_(DOUBLE, GetPeriod)(THIS) PURE; + STDMETHOD_(DOUBLE, GetPeriodicPosition)(THIS_ DOUBLE position) PURE; + STDMETHOD_(UINT, GetNumAnimations)(THIS) PURE; + STDMETHOD(GetAnimationNameByIndex)(THIS_ UINT index, const char **name) PURE; + STDMETHOD(GetAnimationIndexByName)(THIS_ const char *name, UINT *index) PURE; + STDMETHOD(GetSRT)(THIS_ DOUBLE periodic_position, UINT animation, D3DXVECTOR3 *scale, + D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE; + STDMETHOD(GetCallback)(THIS_ double position, DWORD flags, double *callback_position, + void **callback_data) PURE; + /*** ID3DXCompressedAnimationSet methods ***/ + STDMETHOD_(D3DXPLAYBACK_TYPE, GetPlaybackType)(THIS) PURE; + STDMETHOD_(DOUBLE, GetSourceTicksPerSecond)(THIS) PURE; + STDMETHOD(GetCompressedData)(THIS_ ID3DXBuffer **compressed_data) PURE; + STDMETHOD_(UINT, GetNumCallbackKeys)(THIS) PURE; + STDMETHOD(GetCallbackKeys)(THIS_ LPD3DXKEY_CALLBACK callback_keys) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXAnimationCallbackHandler +DECLARE_INTERFACE(ID3DXAnimationCallbackHandler) +{ + STDMETHOD(HandleCallback)(THIS_ UINT track, void *callback_data) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXAnimationController +DECLARE_INTERFACE_(ID3DXAnimationController, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXAnimationController methods ***/ + STDMETHOD_(UINT, GetMaxNumAnimationOutputs)(THIS) PURE; + STDMETHOD_(UINT, GetMaxNumAnimationSets)(THIS) PURE; + STDMETHOD_(UINT, GetMaxNumTracks)(THIS) PURE; + STDMETHOD_(UINT, GetMaxNumEvents)(THIS) PURE; + STDMETHOD(RegisterAnimationOutput)(THIS_ const char *name, D3DXMATRIX *matrix, + D3DXVECTOR3 *scale, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE; + STDMETHOD(RegisterAnimationSet)(THIS_ ID3DXAnimationSet *anim_set) PURE; + STDMETHOD(UnregisterAnimationSet)(THIS_ ID3DXAnimationSet *anim_set) PURE; + STDMETHOD_(UINT, GetNumAnimationSets)(THIS) PURE; + STDMETHOD(GetAnimationSet)(THIS_ UINT index, ID3DXAnimationSet **anim_set) PURE; + STDMETHOD(GetAnimationSetByName)(THIS_ const char *name, ID3DXAnimationSet **anim_set) PURE; + STDMETHOD(AdvanceTime)(THIS_ double time_delta, ID3DXAnimationCallbackHandler *callback_handler) PURE; + STDMETHOD(ResetTime)(THIS) PURE; + STDMETHOD_(double, GetTime)(THIS) PURE; + STDMETHOD(SetTrackAnimationSet)(THIS_ UINT track, ID3DXAnimationSet *anim_set) PURE; + STDMETHOD(GetTrackAnimationSet)(THIS_ UINT track, ID3DXAnimationSet **anim_set) PURE; + STDMETHOD(SetTrackPriority)(THIS_ UINT track, D3DXPRIORITY_TYPE priority) PURE; + STDMETHOD(SetTrackSpeed)(THIS_ UINT track, float speed) PURE; + STDMETHOD(SetTrackWeight)(THIS_ UINT track, float weight) PURE; + STDMETHOD(SetTrackPosition)(THIS_ UINT track, double position) PURE; + STDMETHOD(SetTrackEnable)(THIS_ UINT track, BOOL enable) PURE; + STDMETHOD(SetTrackDesc)(THIS_ UINT track, D3DXTRACK_DESC *desc) PURE; + STDMETHOD(GetTrackDesc)(THIS_ UINT track, D3DXTRACK_DESC *desc) PURE; + STDMETHOD(SetPriorityBlend)(THIS_ float blend_weight) PURE; + STDMETHOD_(float, GetPriorityBlend)(THIS) PURE; + STDMETHOD_(D3DXEVENTHANDLE, KeyTrackSpeed)(THIS_ UINT track, float new_speed, + double start_time, double duration, D3DXTRANSITION_TYPE transition) PURE; + STDMETHOD_(D3DXEVENTHANDLE, KeyTrackWeight)(THIS_ UINT track, float new_weight, + double start_time, double duration, D3DXTRANSITION_TYPE transition) PURE; + STDMETHOD_(D3DXEVENTHANDLE, KeyTrackPosition)(THIS_ UINT track, double new_position, double start_time) PURE; + STDMETHOD_(D3DXEVENTHANDLE, KeyTrackEnable)(THIS_ UINT track, BOOL new_enable, double start_time) PURE; + STDMETHOD_(D3DXEVENTHANDLE, KeyPriorityBlend)(THIS_ float new_blend_weight, + double start_time, double duration, D3DXTRANSITION_TYPE transition) PURE; + STDMETHOD(UnkeyEvent)(THIS_ D3DXEVENTHANDLE event) PURE; + STDMETHOD(UnkeyAllTrackEvents)(THIS_ UINT track) PURE; + STDMETHOD(UnkeyAllPriorityBlends)(THIS) PURE; + STDMETHOD_(D3DXEVENTHANDLE, GetCurrentTrackEvent)(THIS_ UINT track, D3DXEVENT_TYPE event_type) PURE; + STDMETHOD_(D3DXEVENTHANDLE, GetCurrentPriorityBlend)(THIS) PURE; + STDMETHOD_(D3DXEVENTHANDLE, GetUpcomingTrackEvent)(THIS_ UINT track, D3DXEVENTHANDLE event) PURE; + STDMETHOD_(D3DXEVENTHANDLE, GetUpcomingPriorityBlend)(THIS_ D3DXEVENTHANDLE event) PURE; + STDMETHOD(ValidateEvent)(THIS_ D3DXEVENTHANDLE event) PURE; + STDMETHOD(GetEventDesc)(THIS_ D3DXEVENTHANDLE event, D3DXEVENT_DESC *desc) PURE; + STDMETHOD(CloneAnimationController)(THIS_ UINT max_num_anim_outputs, UINT max_num_anim_sets, + UINT max_num_tracks, UINT max_num_events, ID3DXAnimationController **anim_controller) PURE; +}; +#undef INTERFACE + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DXLoadMeshHierarchyFromXA(const char *filename, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader, + D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller); +HRESULT WINAPI D3DXLoadMeshHierarchyFromXW(const WCHAR *filename, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader, + D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller); +#define D3DXLoadMeshHierarchyFromX WINELIB_NAME_AW(D3DXLoadMeshHierarchyFromX) +HRESULT WINAPI D3DXLoadMeshHierarchyFromXInMemory(const void *data, DWORD data_size, DWORD flags, + struct IDirect3DDevice9 *device, struct ID3DXAllocateHierarchy *alloc, + struct ID3DXLoadUserData *user_data_loader, D3DXFRAME **frame_hierarchy, + struct ID3DXAnimationController **animation_controller); +HRESULT WINAPI D3DXSaveMeshHierarchyToFileA(const char *filename, DWORD format, + const D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller, + ID3DXSaveUserData *user_data_saver); +HRESULT WINAPI D3DXSaveMeshHierarchyToFileW(const WCHAR *filename, DWORD format, + const D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller, + ID3DXSaveUserData *user_data_saver); +#define D3DXSaveMeshHierarchyToFile WINELIB_NAME_AW(D3DXSaveMeshHierarchyToFile) +HRESULT WINAPI D3DXFrameDestroy(D3DXFRAME *frame_root, ID3DXAllocateHierarchy *alloc); +HRESULT WINAPI D3DXFrameAppendChild(D3DXFRAME *parent, const D3DXFRAME *child); +D3DXFRAME * WINAPI D3DXFrameFind(const D3DXFRAME *root, const char *name); +HRESULT WINAPI D3DXFrameRegisterNamedMatrices(D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller); +UINT WINAPI D3DXFrameNumNamedMatrices(const D3DXFRAME *frame_root); +HRESULT WINAPI D3DXFrameCalculateBoundingSphere(const D3DXFRAME *frame_root, D3DXVECTOR3 *center, + FLOAT *radius); +HRESULT WINAPI D3DXCreateKeyframedAnimationSet(const char *name, double ticks_per_second, + D3DXPLAYBACK_TYPE playback_type, UINT animation_count, UINT callback_key_count, + const D3DXKEY_CALLBACK *callback_keys, ID3DXKeyframedAnimationSet **animation_set); +HRESULT WINAPI D3DXCreateCompressedAnimationSet(const char *name, double ticks_per_second, + D3DXPLAYBACK_TYPE playback_type, ID3DXBuffer *compressed_data, UINT callback_key_count, + const D3DXKEY_CALLBACK *callback_keys, ID3DXCompressedAnimationSet **animation_set); +HRESULT WINAPI D3DXCreateAnimationController(UINT max_animation_output_count, UINT max_animation_set_count, + UINT max_track_count, UINT max_event_count, ID3DXAnimationController **animation_controller); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_D3DX9ANIM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9core.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9core.h new file mode 100644 index 0000000..a04bced --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9core.h @@ -0,0 +1,507 @@ +/* + * Copyright (C) 2007, 2008 Tony Wasserka + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __WINE_D3DX9CORE_H +#define __WINE_D3DX9CORE_H + +/********************************************** + ***************** Definitions **************** + **********************************************/ +/* D3DX_VERSION will be completely ignored since we are + implementing all dlls from d3dx9_24 to d3dx9_36 */ +#define D3DX_VERSION 0x0902 +#ifndef D3DX_SDK_VERSION +#define D3DX_SDK_VERSION 36 +#endif +#define D3DXSPRITE_DONOTSAVESTATE 0x00000001 +#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE 0x00000002 +#define D3DXSPRITE_OBJECTSPACE 0x00000004 +#define D3DXSPRITE_BILLBOARD 0x00000008 +#define D3DXSPRITE_ALPHABLEND 0x00000010 +#define D3DXSPRITE_SORT_TEXTURE 0x00000020 +#define D3DXSPRITE_SORT_DEPTH_FRONTTOBACK 0x00000040 +#define D3DXSPRITE_SORT_DEPTH_BACKTOFRONT 0x00000080 +#define D3DXSPRITE_DO_NOT_ADDREF_TEXTURE 0x00000100 + +/********************************************** + ******************** GUIDs ******************* + **********************************************/ +DEFINE_GUID(IID_ID3DXBuffer, 0x8ba5fb08, 0x5195, 0x40e2, 0xac, 0x58, 0xd, 0x98, 0x9c, 0x3a, 0x1, 0x2); +DEFINE_GUID(IID_ID3DXFont, 0xd79dbb70, 0x5f21, 0x4d36, 0xbb, 0xc2, 0xff, 0x52, 0x5c, 0x21, 0x3c, 0xdc); +DEFINE_GUID(IID_ID3DXLine, 0xd379ba7f, 0x9042, 0x4ac4, 0x9f, 0x5e, 0x58, 0x19, 0x2a, 0x4c, 0x6b, 0xd8); +DEFINE_GUID(IID_ID3DXRenderToEnvMap, 0x313f1b4b, 0xc7b0, 0x4fa2, 0x9d, 0x9d, 0x8d, 0x38, 0xb, 0x64, 0x38, 0x5e); +DEFINE_GUID(IID_ID3DXRenderToSurface, 0x6985f346, 0x2c3d, 0x43b3, 0xbe, 0x8b, 0xda, 0xae, 0x8a, 0x3, 0xd8, 0x94); +DEFINE_GUID(IID_ID3DXSprite, 0xba0b762d, 0x7d28, 0x43ec, 0xb9, 0xdc, 0x2f, 0x84, 0x44, 0x3b, 0x6, 0x14); + +/********************************************** + ****************** typedefs ****************** + **********************************************/ +typedef struct ID3DXBuffer *LPD3DXBUFFER; +typedef struct ID3DXFont *LPD3DXFONT; +typedef struct ID3DXLine *LPD3DXLINE; +typedef struct ID3DXRenderToEnvMap *LPD3DXRenderToEnvMap; +typedef struct ID3DXRenderToSurface *LPD3DXRENDERTOSURFACE; +typedef struct ID3DXSprite *LPD3DXSPRITE; + +/********************************************** + *********** interface declarations *********** + **********************************************/ +#define INTERFACE ID3DXBuffer +DECLARE_INTERFACE_(ID3DXBuffer, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBuffer methods ***/ + STDMETHOD_(void *, GetBufferPointer)(THIS) PURE; + STDMETHOD_(DWORD, GetBufferSize)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define ID3DXBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXBuffer methods ***/ +#define ID3DXBuffer_GetBufferPointer(p) (p)->lpVtbl->GetBufferPointer(p) +#define ID3DXBuffer_GetBufferSize(p) (p)->lpVtbl->GetBufferSize(p) +#else +/*** IUnknown methods ***/ +#define ID3DXBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXBuffer_AddRef(p) (p)->AddRef() +#define ID3DXBuffer_Release(p) (p)->Release() +/*** ID3DXBuffer methods ***/ +#define ID3DXBuffer_GetBufferPointer(p) (p)->GetBufferPointer() +#define ID3DXBuffer_GetBufferSize(p) (p)->GetBufferSize() +#endif + +typedef struct _D3DXFONT_DESCA +{ + INT Height; + UINT Width; + UINT Weight; + UINT MipLevels; + BOOL Italic; + BYTE CharSet; + BYTE OutputPrecision; + BYTE Quality; + BYTE PitchAndFamily; + CHAR FaceName[LF_FACESIZE]; +} D3DXFONT_DESCA, *LPD3DXFONT_DESCA; + +typedef struct _D3DXFONT_DESCW +{ + INT Height; + UINT Width; + UINT Weight; + UINT MipLevels; + BOOL Italic; + BYTE CharSet; + BYTE OutputPrecision; + BYTE Quality; + BYTE PitchAndFamily; + WCHAR FaceName[LF_FACESIZE]; +} D3DXFONT_DESCW, *LPD3DXFONT_DESCW; + +DECL_WINELIB_TYPE_AW(D3DXFONT_DESC) +DECL_WINELIB_TYPE_AW(LPD3DXFONT_DESC) + +#define INTERFACE ID3DXFont +DECLARE_INTERFACE_(ID3DXFont, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXFont methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(GetDescA)(THIS_ D3DXFONT_DESCA *desc) PURE; + STDMETHOD(GetDescW)(THIS_ D3DXFONT_DESCW *desc) PURE; + STDMETHOD_(BOOL, GetTextMetricsA)(THIS_ TEXTMETRICA *metrics) PURE; + STDMETHOD_(BOOL, GetTextMetricsW)(THIS_ TEXTMETRICW *metrics) PURE; + + STDMETHOD_(HDC, GetDC)(THIS) PURE; + STDMETHOD(GetGlyphData)(THIS_ UINT glyph, struct IDirect3DTexture9 **texture, + RECT *blackbox, POINT *cellinc) PURE; + + STDMETHOD(PreloadCharacters)(THIS_ UINT first, UINT last) PURE; + STDMETHOD(PreloadGlyphs)(THIS_ UINT first, UINT last) PURE; + STDMETHOD(PreloadTextA)(THIS_ const char *string, INT count) PURE; + STDMETHOD(PreloadTextW)(THIS_ const WCHAR *string, INT count) PURE; + + STDMETHOD_(INT, DrawTextA)(THIS_ struct ID3DXSprite *sprite, const char *string, + INT count, RECT *rect, DWORD format, D3DCOLOR color) PURE; + STDMETHOD_(INT, DrawTextW)(THIS_ struct ID3DXSprite *sprite, const WCHAR *string, + INT count, RECT *rect, DWORD format, D3DCOLOR color) PURE; + + STDMETHOD(OnLostDevice)(THIS) PURE; + STDMETHOD(OnResetDevice)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + +/*** IUnknown methods ***/ +#define ID3DXFont_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXFont_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXFont_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXFont methods ***/ +#define ID3DXFont_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define ID3DXFont_GetDescA(p,a) (p)->lpVtbl->GetDescA(p,a) +#define ID3DXFont_GetDescW(p,a) (p)->lpVtbl->GetDescW(p,a) +#define ID3DXFont_GetTextMetricsA(p,a) (p)->lpVtbl->GetTextMetricsA(p,a) +#define ID3DXFont_GetTextMetricsW(p,a) (p)->lpVtbl->GetTextMetricsW(p,a) +#define ID3DXFont_GetDC(p) (p)->lpVtbl->GetDC(p) +#define ID3DXFont_GetGlyphData(p,a,b,c,d) (p)->lpVtbl->GetGlyphData(p,a,b,c,d) +#define ID3DXFont_PreloadCharacters(p,a,b) (p)->lpVtbl->PreloadCharacters(p,a,b) +#define ID3DXFont_PreloadGlyphs(p,a,b) (p)->lpVtbl->PreloadGlyphs(p,a,b) +#define ID3DXFont_PreloadTextA(p,a,b) (p)->lpVtbl->PreloadTextA(p,a,b) +#define ID3DXFont_PreloadTextW(p,a,b) (p)->lpVtbl->PreloadTextW(p,a,b) +#define ID3DXFont_DrawTextA(p,a,b,c,d,e,f) (p)->lpVtbl->DrawTextA(p,a,b,c,d,e,f) +#define ID3DXFont_DrawTextW(p,a,b,c,d,e,f) (p)->lpVtbl->DrawTextW(p,a,b,c,d,e,f) +#define ID3DXFont_OnLostDevice(p) (p)->lpVtbl->OnLostDevice(p) +#define ID3DXFont_OnResetDevice(p) (p)->lpVtbl->OnResetDevice(p) +#else +/*** IUnknown methods ***/ +#define ID3DXFont_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXFont_AddRef(p) (p)->AddRef() +#define ID3DXFont_Release(p) (p)->Release() +/*** ID3DXFont methods ***/ +#define ID3DXFont_GetDevice(p,a) (p)->GetDevice(a) +#define ID3DXFont_GetDescA(p,a) (p)->GetDescA(a) +#define ID3DXFont_GetDescW(p,a) (p)->GetDescW(a) +#define ID3DXFont_GetTextMetricsA(p,a) (p)->GetTextMetricsA(a) +#define ID3DXFont_GetTextMetricsW(p,a) (p)->GetTextMetricsW(a) +#define ID3DXFont_GetDC(p) (p)->GetDC() +#define ID3DXFont_GetGlyphData(p,a,b,c,d) (p)->GetGlyphData(a,b,c,d) +#define ID3DXFont_PreloadCharacters(p,a,b) (p)->PreloadCharacters(a,b) +#define ID3DXFont_PreloadGlyphs(p,a,b) (p)->PreloadGlyphs(a,b) +#define ID3DXFont_PreloadTextA(p,a,b) (p)->PreloadTextA(a,b) +#define ID3DXFont_PreloadTextW(p,a,b) (p)->PreloadTextW(a,b) +#define ID3DXFont_DrawTextA(p,a,b,c,d,e,f) (p)->DrawTextA(a,b,c,d,e,f) +#define ID3DXFont_DrawTextW(p,a,b,c,d,e,f) (p)->DrawTextW(a,b,c,d,e,f) +#define ID3DXFont_OnLostDevice(p) (p)->OnLostDevice() +#define ID3DXFont_OnResetDevice(p) (p)->OnResetDevice() +#endif +#define ID3DXFont_DrawText WINELIB_NAME_AW(ID3DXFont_DrawText) +#define ID3DXFont_GetDesc WINELIB_NAME_AW(ID3DXFont_GetDesc) +#define ID3DXFont_GetTextMetrics WINELIB_NAME_AW(ID3DXFont_GetTextMetrics) +#define ID3DXFont_PreloadText WINELIB_NAME_AW(ID3DXFont_PreloadText) + +#define INTERFACE ID3DXLine +DECLARE_INTERFACE_(ID3DXLine, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + + /*** ID3DXLine methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + + STDMETHOD(Begin)(THIS) PURE; + STDMETHOD(Draw)(THIS_ const D3DXVECTOR2 *vertexlist, DWORD vertexlistcount, D3DCOLOR color) PURE; + STDMETHOD(DrawTransform)(THIS_ const D3DXVECTOR3 *vertexlist, DWORD vertexlistcount, + const D3DXMATRIX *transform, D3DCOLOR color) PURE; + STDMETHOD(SetPattern)(THIS_ DWORD pattern) PURE; + STDMETHOD_(DWORD, GetPattern)(THIS) PURE; + STDMETHOD(SetPatternScale)(THIS_ FLOAT scale) PURE; + STDMETHOD_(FLOAT, GetPatternScale)(THIS) PURE; + STDMETHOD(SetWidth)(THIS_ FLOAT width) PURE; + STDMETHOD_(FLOAT, GetWidth)(THIS) PURE; + STDMETHOD(SetAntialias)(THIS_ BOOL antialias) PURE; + STDMETHOD_(BOOL, GetAntialias)(THIS) PURE; + STDMETHOD(SetGLLines)(THIS_ BOOL gl_lines) PURE; + STDMETHOD_(BOOL, GetGLLines)(THIS) PURE; + STDMETHOD(End)(THIS) PURE; + + STDMETHOD(OnLostDevice)(THIS) PURE; + STDMETHOD(OnResetDevice)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define ID3DXLine_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXLine_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXLine_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXLine methods ***/ +#define ID3DXLine_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define ID3DXLine_Begin(p) (p)->lpVtbl->Begin(p) +#define ID3DXLine_Draw(p,a,b,c) (p)->lpVtbl->Draw(p,a,b,c) +#define ID3DXLine_DrawTransform(p,a,b,c,d) (p)->lpVtbl->DrawTransform(p,a,b,c,d) +#define ID3DXLine_SetPattern(p,a) (p)->lpVtbl->SetPattern(p,a) +#define ID3DXLine_GetPattern(p) (p)->lpVtbl->GetPattern(p) +#define ID3DXLine_SetPatternScale(p,a) (p)->lpVtbl->SetPatternScale(p,a) +#define ID3DXLine_GetPatternScale(p) (p)->lpVtbl->GetPatternScale(p) +#define ID3DXLine_SetWidth(p,a) (p)->lpVtbl->SetWidth(p,a) +#define ID3DXLine_GetWidth(p) (p)->lpVtbl->GetWidth(p) +#define ID3DXLine_SetAntialias(p,a) (p)->lpVtbl->SetAntialias(p,a) +#define ID3DXLine_GetAntialias(p) (p)->lpVtbl->GetAntialias(p) +#define ID3DXLine_SetGLLines(p,a) (p)->lpVtbl->SetGLLines(p,a) +#define ID3DXLine_GetGLLines(p) (p)->lpVtbl->GetGLLines(p) +#define ID3DXLine_End(p) (p)->lpVtbl->End(p) +#define ID3DXLine_OnLostDevice(p) (p)->lpVtbl->OnLostDevice(p) +#define ID3DXLine_OnResetDevice(p) (p)->lpVtbl->OnResetDevice(p) +#else +/*** IUnknown methods ***/ +#define ID3DXLine_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXLine_AddRef(p) (p)->AddRef() +#define ID3DXLine_Release(p) (p)->Release() +/*** ID3DXLine methods ***/ +#define ID3DXLine_GetDevice(p,a) (p)->GetDevice(a) +#define ID3DXLine_Begin(p) (p)->Begin() +#define ID3DXLine_Draw(p,a,b,c) (p)->Draw(a,b,c) +#define ID3DXLine_DrawTransform(p,a,b,c,d) (p)->DrawTransform(a,b,c,d) +#define ID3DXLine_SetPattern(p,a) (p)->SetPattern(a) +#define ID3DXLine_GetPattern(p) (p)->GetPattern() +#define ID3DXLine_SetPatternScale(p,a) (p)->SetPatternScale(a) +#define ID3DXLine_GetPatternScale(p) (p)->GetPatternScale() +#define ID3DXLine_SetWidth(p,a) (p)->SetWidth(a) +#define ID3DXLine_GetWidth(p) (p)->GetWidth() +#define ID3DXLine_SetAntialias(p,a) (p)->SetAntialias(a) +#define ID3DXLine_GetAntialias(p) (p)->GetAntialias() +#define ID3DXLine_SetGLLines(p,a) (p)->SetGLLines(a) +#define ID3DXLine_GetGLLines(p) (p)->GetGLLines() +#define ID3DXLine_End(p) (p)->End() +#define ID3DXLine_OnLostDevice(p) (p)->OnLostDevice() +#define ID3DXLine_OnResetDevice(p) (p)->OnResetDevice() +#endif + +typedef struct _D3DXRTE_DESC +{ + UINT Size; + UINT MipLevels; + D3DFORMAT Format; + BOOL DepthStencil; + D3DFORMAT DepthStencilFormat; +} D3DXRTE_DESC; + +#define INTERFACE ID3DXRenderToEnvMap +DECLARE_INTERFACE_(ID3DXRenderToEnvMap, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + + /*** ID3DXRenderToEnvMap methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(GetDesc)(THIS_ D3DXRTE_DESC *desc) PURE; + + STDMETHOD(BeginCube)(THIS_ struct IDirect3DCubeTexture9 *cubetex) PURE; + STDMETHOD(BeginSphere)(THIS_ struct IDirect3DTexture9 *tex) PURE; + STDMETHOD(BeginHemisphere)(THIS_ struct IDirect3DTexture9 *texzpos, struct IDirect3DTexture9 *texzneg) PURE; + STDMETHOD(BeginParabolic)(THIS_ struct IDirect3DTexture9 *texzpos, struct IDirect3DTexture9 *texzneg) PURE; + + STDMETHOD(Face)(THIS_ D3DCUBEMAP_FACES face, DWORD mipfilter) PURE; + STDMETHOD(End)(THIS_ DWORD mipfilter) PURE; + + STDMETHOD(OnLostDevice)(THIS) PURE; + STDMETHOD(OnResetDevice)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define ID3DXRenderToEnvMap_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXRenderToEnvMap_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXRenderToEnvMap_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXRenderToEnvMap methods ***/ +#define ID3DXRenderToEnvMap_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define ID3DXRenderToEnvMap_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define ID3DXRenderToEnvMap_BeginCube(p,a) (p)->lpVtbl->BeginCube(p,a) +#define ID3DXRenderToEnvMap_BeginSphere(p,a) (p)->lpVtbl->BeginSphere(p,a) +#define ID3DXRenderToEnvMap_BeginHemisphere(p,a,b) (p)->lpVtbl->BeginHemisphere(p,a,b) +#define ID3DXRenderToEnvMap_BeginParabolic(p,a,b) (p)->lpVtbl->BeginParabolic(p,a,b) +#define ID3DXRenderToEnvMap_Face(p,a,b) (p)->lpVtbl->Face(p,a,b) +#define ID3DXRenderToEnvMap_End(p,a) (p)->lpVtbl->End(p,a) +#define ID3DXRenderToEnvMap_OnLostDevice(p) (p)->lpVtbl->OnLostDevice(p) +#define ID3DXRenderToEnvMap_OnLostDevice(p) (p)->lpVtbl->OnLostDevice(p) +#else +/*** IUnknown methods ***/ +#define ID3DXRenderToEnvMap_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXRenderToEnvMap_AddRef(p) (p)->AddRef() +#define ID3DXRenderToEnvMap_Release(p) (p)->Release() +/*** ID3DXRenderToEnvMap methods ***/ +#define ID3DXRenderToEnvMap_GetDevice(p,a) (p)->GetDevice(a) +#define ID3DXRenderToEnvMap_GetDesc(p,a) (p)->GetDesc(a) +#define ID3DXRenderToEnvMap_BeginCube(p,a) (p)->BeginCube(a) +#define ID3DXRenderToEnvMap_BeginSphere(p,a) (p)->BeginSphere(a) +#define ID3DXRenderToEnvMap_BeginHemisphere(p,a,b) (p)->BeginHemisphere(a,b) +#define ID3DXRenderToEnvMap_BeginParabolic(p,a,b) (p)->BeginParabolic(a,b) +#define ID3DXRenderToEnvMap_Face(p,a,b) (p)->Face(a,b) +#define ID3DXRenderToEnvMap_End(p,a) (p)->End(a) +#define ID3DXRenderToEnvMap_OnLostDevice(p) (p)->OnLostDevice() +#define ID3DXRenderToEnvMap_OnLostDevice(p) (p)->OnLostDevice() +#endif + +typedef struct _D3DXRTS_DESC +{ + UINT Width; + UINT Height; + D3DFORMAT Format; + BOOL DepthStencil; + D3DFORMAT DepthStencilFormat; +} D3DXRTS_DESC; + +#define INTERFACE ID3DXRenderToSurface +DECLARE_INTERFACE_(ID3DXRenderToSurface, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXRenderToSurface methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(GetDesc)(THIS_ D3DXRTS_DESC *desc) PURE; + + STDMETHOD(BeginScene)(THIS_ struct IDirect3DSurface9 *surface, const D3DVIEWPORT9 *viewport) PURE; + STDMETHOD(EndScene)(THIS_ DWORD mipfilter) PURE; + + STDMETHOD(OnLostDevice)(THIS) PURE; + STDMETHOD(OnResetDevice)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define ID3DXRenderToSurface_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXRenderToSurface_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXRenderToSurface_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXRenderToSurface methods ***/ +#define ID3DXRenderToSurface_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define ID3DXRenderToSurface_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define ID3DXRenderToSurface_BeginScene(p,a,b) (p)->lpVtbl->BeginScene(p,a,b) +#define ID3DXRenderToSurface_EndScene(p,a) (p)->lpVtbl->EndScene(p,a) +#define ID3DXRenderToSurface_OnLostDevice(p) (p)->lpVtbl->OnLostDevice(p) +#define ID3DXRenderToSurface_OnResetDevice(p) (p)->lpVtbl->OnResetDevice(p) +#else +/*** IUnknown methods ***/ +#define ID3DXRenderToSurface_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXRenderToSurface_AddRef(p) (p)->AddRef() +#define ID3DXRenderToSurface_Release(p) (p)->Release() +/*** ID3DXRenderToSurface methods ***/ +#define ID3DXRenderToSurface_GetDevice(p,a) (p)->GetDevice(a) +#define ID3DXRenderToSurface_GetDesc(p,a) (p)->GetDesc(a) +#define ID3DXRenderToSurface_BeginScene(p,a,b) (p)->BeginScene(a,b) +#define ID3DXRenderToSurface_EndScene(p,a) (p)->EndScene(a) +#define ID3DXRenderToSurface_OnLostDevice(p) (p)->OnLostDevice() +#define ID3DXRenderToSurface_OnResetDevice(p) (p)->OnResetDevice() +#endif + +#define INTERFACE ID3DXSprite +DECLARE_INTERFACE_(ID3DXSprite, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **object) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXSprite methods ***/ + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + + STDMETHOD(GetTransform)(THIS_ D3DXMATRIX *transform) PURE; + STDMETHOD(SetTransform)(THIS_ const D3DXMATRIX *transform) PURE; + STDMETHOD(SetWorldViewRH)(THIS_ const D3DXMATRIX *world, const D3DXMATRIX *view) PURE; + STDMETHOD(SetWorldViewLH)(THIS_ const D3DXMATRIX *world, const D3DXMATRIX *view) PURE; + + STDMETHOD(Begin)(THIS_ DWORD flags) PURE; + STDMETHOD(Draw)(THIS_ struct IDirect3DTexture9 *texture, const RECT *rect, + const D3DXVECTOR3 *center, const D3DXVECTOR3 *position, D3DCOLOR color) PURE; + STDMETHOD(Flush)(THIS) PURE; + STDMETHOD(End)(THIS) PURE; + + STDMETHOD(OnLostDevice)(THIS) PURE; + STDMETHOD(OnResetDevice)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define ID3DXSprite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXSprite_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXSprite_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXSprite methods ***/ +#define ID3DXSprite_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define ID3DXSprite_GetTransform(p,a) (p)->lpVtbl->GetTransform(p,a) +#define ID3DXSprite_SetTransform(p,a) (p)->lpVtbl->SetTransform(p,a) +#define ID3DXSprite_SetWorldViewRH(p,a,b) (p)->lpVtbl->SetWorldViewRH(p,a,b) +#define ID3DXSprite_SetWorldViewLH(p,a,b) (p)->lpVtbl->SetWorldViewLH(p,a,b) +#define ID3DXSprite_Begin(p,a) (p)->lpVtbl->Begin(p,a) +#define ID3DXSprite_Draw(p,a,b,c,d,e) (p)->lpVtbl->Draw(p,a,b,c,d,e) +#define ID3DXSprite_Flush(p) (p)->lpVtbl->Flush(p) +#define ID3DXSprite_End(p) (p)->lpVtbl->End(p) +#define ID3DXSprite_OnLostDevice(p) (p)->lpVtbl->OnLostDevice(p) +#define ID3DXSprite_OnResetDevice(p) (p)->lpVtbl->OnResetDevice(p) +#else +/*** IUnknown methods ***/ +#define ID3DXSprite_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXSprite_AddRef(p) (p)->AddRef() +#define ID3DXSprite_Release(p) (p)->Release() +/*** ID3DXSprite methods ***/ +#define ID3DXSprite_GetDevice(p,a) (p)->GetDevice(a) +#define ID3DXSprite_GetTransform(p,a) (p)->GetTransform(a) +#define ID3DXSprite_SetTransform(p,a) (p)->SetTransform(a) +#define ID3DXSprite_SetWorldViewRH(p,a,b) (p)->SetWorldViewRH(a,b) +#define ID3DXSprite_SetWorldViewLH(p,a,b) (p)->SetWorldViewLH(a,b) +#define ID3DXSprite_Begin(p,a) (p)->Begin(a) +#define ID3DXSprite_Draw(p,a,b,c,d,e) (p)->Draw(a,b,c,d,e) +#define ID3DXSprite_Flush(p) (p)->Flush() +#define ID3DXSprite_End(p) (p)->End() +#define ID3DXSprite_OnLostDevice(p) (p)->OnLostDevice() +#define ID3DXSprite_OnResetDevice(p) (p)->OnResetDevice() +#endif + +/********************************************** + ****************** functions ***************** + **********************************************/ +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers); +HRESULT WINAPI D3DXCreateFontA(struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight, + UINT miplevels, BOOL italic, DWORD charset, DWORD precision, DWORD quality, DWORD pitchandfamily, + const char *facename, struct ID3DXFont **font); +HRESULT WINAPI D3DXCreateFontW(struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight, + UINT miplevels, BOOL italic, DWORD charset, DWORD precision, DWORD quality, DWORD pitchandfamily, + const WCHAR *facename, struct ID3DXFont **font); +#define D3DXCreateFont WINELIB_NAME_AW(D3DXCreateFont) +HRESULT WINAPI D3DXCreateFontIndirectA(struct IDirect3DDevice9 *device, + const D3DXFONT_DESCA *desc, struct ID3DXFont **font); +HRESULT WINAPI D3DXCreateFontIndirectW(struct IDirect3DDevice9 *device, + const D3DXFONT_DESCW *desc, struct ID3DXFont **font); +#define D3DXCreateFontIndirect WINELIB_NAME_AW(D3DXCreateFontIndirect) +HRESULT WINAPI D3DXCreateLine(struct IDirect3DDevice9 *device, struct ID3DXLine **line); +HRESULT WINAPI D3DXCreateRenderToEnvMap(struct IDirect3DDevice9 *device, UINT size, UINT miplevels, + D3DFORMAT format, BOOL stencil, D3DFORMAT stencil_format, struct ID3DXRenderToEnvMap **rtem); +HRESULT WINAPI D3DXCreateRenderToSurface(struct IDirect3DDevice9 *device, UINT width, UINT height, + D3DFORMAT format, BOOL stencil, D3DFORMAT stencil_format, struct ID3DXRenderToSurface **rts); +HRESULT WINAPI D3DXCreateSprite(struct IDirect3DDevice9 *device, struct ID3DXSprite **sprite); +BOOL WINAPI D3DXDebugMute(BOOL mute); +UINT WINAPI D3DXGetDriverLevel(struct IDirect3DDevice9 *device); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_D3DX9CORE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9effect.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9effect.h new file mode 100644 index 0000000..8235794 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9effect.h @@ -0,0 +1,434 @@ +/* + * Copyright 2010 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __D3DX9EFFECT_H__ +#define __D3DX9EFFECT_H__ + +#define D3DXFX_DONOTSAVESTATE (1 << 0) +#define D3DXFX_DONOTSAVESHADERSTATE (1 << 1) +#define D3DXFX_DONOTSAVESAMPLERSTATE (1 << 2) +#define D3DXFX_NOT_CLONEABLE (1 << 11) +#define D3DXFX_LARGEADDRESSAWARE (1 << 17) + +#define D3DX_PARAMETER_SHARED 1 +#define D3DX_PARAMETER_LITERAL 2 +#define D3DX_PARAMETER_ANNOTATION 4 + +typedef struct _D3DXEFFECT_DESC +{ + const char *Creator; + UINT Parameters; + UINT Techniques; + UINT Functions; +} D3DXEFFECT_DESC; + +typedef struct _D3DXPARAMETER_DESC +{ + const char *Name; + const char *Semantic; + D3DXPARAMETER_CLASS Class; + D3DXPARAMETER_TYPE Type; + UINT Rows; + UINT Columns; + UINT Elements; + UINT Annotations; + UINT StructMembers; + DWORD Flags; + UINT Bytes; +} D3DXPARAMETER_DESC; + +typedef struct _D3DXTECHNIQUE_DESC +{ + const char *Name; + UINT Passes; + UINT Annotations; +} D3DXTECHNIQUE_DESC; + +typedef struct _D3DXPASS_DESC +{ + const char *Name; + UINT Annotations; + const DWORD *pVertexShaderFunction; + const DWORD *pPixelShaderFunction; +} D3DXPASS_DESC; + +typedef struct _D3DXFUNCTION_DESC +{ + const char *Name; + UINT Annotations; +} D3DXFUNCTION_DESC; + +typedef struct ID3DXEffectPool *LPD3DXEFFECTPOOL; + +DEFINE_GUID(IID_ID3DXEffectPool, 0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc, 0xd2, 0xf8, 0x67, 0x79, 0x33); + +#undef INTERFACE +#define INTERFACE ID3DXEffectPool + +DECLARE_INTERFACE_(ID3DXEffectPool, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; +}; +#undef INTERFACE + +typedef struct ID3DXBaseEffect *LPD3DXBASEEFFECT; + +DEFINE_GUID(IID_ID3DXBaseEffect, 0x17c18ac, 0x103f, 0x4417, 0x8c, 0x51, 0x6b, 0xf6, 0xef, 0x1e, 0x56, 0xbe); + +#define INTERFACE ID3DXBaseEffect + +DECLARE_INTERFACE_(ID3DXBaseEffect, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBaseEffect methods ***/ + STDMETHOD(GetDesc)(THIS_ D3DXEFFECT_DESC* desc) PURE; + STDMETHOD(GetParameterDesc)(THIS_ D3DXHANDLE parameter, D3DXPARAMETER_DESC* desc) PURE; + STDMETHOD(GetTechniqueDesc)(THIS_ D3DXHANDLE technique, D3DXTECHNIQUE_DESC* desc) PURE; + STDMETHOD(GetPassDesc)(THIS_ D3DXHANDLE pass, D3DXPASS_DESC* desc) PURE; + STDMETHOD(GetFunctionDesc)(THIS_ D3DXHANDLE shader, D3DXFUNCTION_DESC* desc) PURE; + STDMETHOD_(D3DXHANDLE, GetParameter)(THIS_ D3DXHANDLE parameter, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterByName)(THIS_ D3DXHANDLE parameter, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterBySemantic)(THIS_ D3DXHANDLE parameter, const char *semantic) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterElement)(THIS_ D3DXHANDLE parameter, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetTechnique)(THIS_ UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetTechniqueByName)(THIS_ const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetPass)(THIS_ D3DXHANDLE technique, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetPassByName)(THIS_ D3DXHANDLE technique, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetFunction)(THIS_ UINT index); + STDMETHOD_(D3DXHANDLE, GetFunctionByName)(THIS_ const char *name); + STDMETHOD_(D3DXHANDLE, GetAnnotation)(THIS_ D3DXHANDLE object, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetAnnotationByName)(THIS_ D3DXHANDLE object, const char *name) PURE; + STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT bytes) PURE; + STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, void *data, UINT bytes) PURE; + STDMETHOD(SetBool)(THIS_ D3DXHANDLE parameter, BOOL b) PURE; + STDMETHOD(GetBool)(THIS_ D3DXHANDLE parameter, BOOL* b) PURE; + STDMETHOD(SetBoolArray)(THIS_ D3DXHANDLE parameter, const BOOL *b, UINT count) PURE; + STDMETHOD(GetBoolArray)(THIS_ D3DXHANDLE parameter, BOOL* b, UINT count) PURE; + STDMETHOD(SetInt)(THIS_ D3DXHANDLE parameter, INT n) PURE; + STDMETHOD(GetInt)(THIS_ D3DXHANDLE parameter, INT* n) PURE; + STDMETHOD(SetIntArray)(THIS_ D3DXHANDLE parameter, const INT *n, UINT count) PURE; + STDMETHOD(GetIntArray)(THIS_ D3DXHANDLE parameter, INT* n, UINT count) PURE; + STDMETHOD(SetFloat)(THIS_ D3DXHANDLE parameter, FLOAT f) PURE; + STDMETHOD(GetFloat)(THIS_ D3DXHANDLE parameter, FLOAT* f) PURE; + STDMETHOD(SetFloatArray)(THIS_ D3DXHANDLE parameter, const FLOAT *f, UINT count) PURE; + STDMETHOD(GetFloatArray)(THIS_ D3DXHANDLE parameter, FLOAT* f, UINT count) PURE; + STDMETHOD(SetVector)(THIS_ D3DXHANDLE parameter, const D3DXVECTOR4 *vector) PURE; + STDMETHOD(GetVector)(THIS_ D3DXHANDLE parameter, D3DXVECTOR4* vector) PURE; + STDMETHOD(SetVectorArray)(THIS_ D3DXHANDLE parameter, const D3DXVECTOR4 *vector, UINT count) PURE; + STDMETHOD(GetVectorArray)(THIS_ D3DXHANDLE parameter, D3DXVECTOR4* vector, UINT count) PURE; + STDMETHOD(SetMatrix)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix) PURE; + STDMETHOD(GetMatrix)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; + STDMETHOD(SetMatrixArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix, UINT count) PURE; + STDMETHOD(GetMatrixArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; + STDMETHOD(SetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX **matrix, UINT count) PURE; + STDMETHOD(GetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; + STDMETHOD(SetMatrixTranspose)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix) PURE; + STDMETHOD(GetMatrixTranspose)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; + STDMETHOD(SetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix, UINT count) PURE; + STDMETHOD(GetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; + STDMETHOD(SetMatrixTransposePointerArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX **matrix, UINT count) PURE; + STDMETHOD(GetMatrixTransposePointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; + STDMETHOD(SetString)(THIS_ D3DXHANDLE parameter, const char *string) PURE; + STDMETHOD(GetString)(THIS_ D3DXHANDLE parameter, const char **string) PURE; + STDMETHOD(SetTexture)(THIS_ D3DXHANDLE parameter, struct IDirect3DBaseTexture9 *texture) PURE; + STDMETHOD(GetTexture)(THIS_ D3DXHANDLE parameter, struct IDirect3DBaseTexture9 **texture) PURE; + STDMETHOD(GetPixelShader)(THIS_ D3DXHANDLE parameter, struct IDirect3DPixelShader9 **shader) PURE; + STDMETHOD(GetVertexShader)(THIS_ D3DXHANDLE parameter, struct IDirect3DVertexShader9 **shader) PURE; + STDMETHOD(SetArrayRange)(THIS_ D3DXHANDLE parameter, UINT start, UINT end) PURE; +}; +#undef INTERFACE + +typedef struct ID3DXEffectStateManager *LPD3DXEFFECTSTATEMANAGER; + +DEFINE_GUID(IID_ID3DXEffectStateManager, 0x79aab587, 0x6dbc, 0x4fa7, 0x82, 0xde, 0x37, 0xfa, 0x17, 0x81, 0xc5, 0xce); + +#define INTERFACE ID3DXEffectStateManager + +DECLARE_INTERFACE_(ID3DXEffectStateManager, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXEffectStateManager methods ***/ + STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) PURE; + STDMETHOD(SetMaterial)(THIS_ const D3DMATERIAL9 *material) PURE; + STDMETHOD(SetLight)(THIS_ DWORD index, const D3DLIGHT9 *light) PURE; + STDMETHOD(LightEnable)(THIS_ DWORD index, BOOL enable) PURE; + STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE state, DWORD value) PURE; + STDMETHOD(SetTexture)(THIS_ DWORD stage, struct IDirect3DBaseTexture9 *texture) PURE; + STDMETHOD(SetTextureStageState)(THIS_ DWORD stage, D3DTEXTURESTAGESTATETYPE type, DWORD value) PURE; + STDMETHOD(SetSamplerState)(THIS_ DWORD sampler, D3DSAMPLERSTATETYPE type, DWORD value) PURE; + STDMETHOD(SetNPatchMode)(THIS_ FLOAT num_segments) PURE; + STDMETHOD(SetFVF)(THIS_ DWORD format) PURE; + STDMETHOD(SetVertexShader)(THIS_ struct IDirect3DVertexShader9 *shader) PURE; + STDMETHOD(SetVertexShaderConstantF)(THIS_ UINT register_index, const FLOAT *constant_data, UINT register_count) PURE; + STDMETHOD(SetVertexShaderConstantI)(THIS_ UINT register_index, const INT *constant_data, UINT register_count) PURE; + STDMETHOD(SetVertexShaderConstantB)(THIS_ UINT register_index, const BOOL *constant_data, UINT register_count) PURE; + STDMETHOD(SetPixelShader)(THIS_ struct IDirect3DPixelShader9 *shader) PURE; + STDMETHOD(SetPixelShaderConstantF)(THIS_ UINT register_index, const FLOAT *constant_data, UINT register_count) PURE; + STDMETHOD(SetPixelShaderConstantI)(THIS_ UINT register_index, const INT *constant_data, UINT register_count) PURE; + STDMETHOD(SetPixelShaderConstantB)(THIS_ UINT register_index, const BOOL *constant_data, UINT register_count) PURE; +}; +#undef INTERFACE + +typedef struct ID3DXEffect *LPD3DXEFFECT; + +DEFINE_GUID(IID_ID3DXEffect, 0xf6ceb4b3, 0x4e4c, 0x40dd, 0xb8, 0x83, 0x8d, 0x8d, 0xe5, 0xea, 0xc, 0xd5); + +#define INTERFACE ID3DXEffect + +DECLARE_INTERFACE_(ID3DXEffect, ID3DXBaseEffect) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBaseEffect methods ***/ + STDMETHOD(GetDesc)(THIS_ D3DXEFFECT_DESC* desc) PURE; + STDMETHOD(GetParameterDesc)(THIS_ D3DXHANDLE parameter, D3DXPARAMETER_DESC* desc) PURE; + STDMETHOD(GetTechniqueDesc)(THIS_ D3DXHANDLE technique, D3DXTECHNIQUE_DESC* desc) PURE; + STDMETHOD(GetPassDesc)(THIS_ D3DXHANDLE pass, D3DXPASS_DESC* desc) PURE; + STDMETHOD(GetFunctionDesc)(THIS_ D3DXHANDLE shader, D3DXFUNCTION_DESC* desc) PURE; + STDMETHOD_(D3DXHANDLE, GetParameter)(THIS_ D3DXHANDLE parameter, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterByName)(THIS_ D3DXHANDLE parameter, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterBySemantic)(THIS_ D3DXHANDLE parameter, const char *semantic) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterElement)(THIS_ D3DXHANDLE parameter, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetTechnique)(THIS_ UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetTechniqueByName)(THIS_ const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetPass)(THIS_ D3DXHANDLE technique, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetPassByName)(THIS_ D3DXHANDLE technique, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetFunction)(THIS_ UINT index); + STDMETHOD_(D3DXHANDLE, GetFunctionByName)(THIS_ const char *name); + STDMETHOD_(D3DXHANDLE, GetAnnotation)(THIS_ D3DXHANDLE object, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetAnnotationByName)(THIS_ D3DXHANDLE object, const char *name) PURE; + STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT bytes) PURE; + STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, void *data, UINT bytes) PURE; + STDMETHOD(SetBool)(THIS_ D3DXHANDLE parameter, BOOL b) PURE; + STDMETHOD(GetBool)(THIS_ D3DXHANDLE parameter, BOOL* b) PURE; + STDMETHOD(SetBoolArray)(THIS_ D3DXHANDLE parameter, const BOOL *b, UINT count) PURE; + STDMETHOD(GetBoolArray)(THIS_ D3DXHANDLE parameter, BOOL* b, UINT count) PURE; + STDMETHOD(SetInt)(THIS_ D3DXHANDLE parameter, INT n) PURE; + STDMETHOD(GetInt)(THIS_ D3DXHANDLE parameter, INT* n) PURE; + STDMETHOD(SetIntArray)(THIS_ D3DXHANDLE parameter, const INT *n, UINT count) PURE; + STDMETHOD(GetIntArray)(THIS_ D3DXHANDLE parameter, INT* n, UINT count) PURE; + STDMETHOD(SetFloat)(THIS_ D3DXHANDLE parameter, FLOAT f) PURE; + STDMETHOD(GetFloat)(THIS_ D3DXHANDLE parameter, FLOAT* f) PURE; + STDMETHOD(SetFloatArray)(THIS_ D3DXHANDLE parameter, const FLOAT *f, UINT count) PURE; + STDMETHOD(GetFloatArray)(THIS_ D3DXHANDLE parameter, FLOAT* f, UINT count) PURE; + STDMETHOD(SetVector)(THIS_ D3DXHANDLE parameter, const D3DXVECTOR4 *vector) PURE; + STDMETHOD(GetVector)(THIS_ D3DXHANDLE parameter, D3DXVECTOR4* vector) PURE; + STDMETHOD(SetVectorArray)(THIS_ D3DXHANDLE parameter, const D3DXVECTOR4 *vector, UINT count) PURE; + STDMETHOD(GetVectorArray)(THIS_ D3DXHANDLE parameter, D3DXVECTOR4* vector, UINT count) PURE; + STDMETHOD(SetMatrix)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix) PURE; + STDMETHOD(GetMatrix)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; + STDMETHOD(SetMatrixArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix, UINT count) PURE; + STDMETHOD(GetMatrixArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; + STDMETHOD(SetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX **matrix, UINT count) PURE; + STDMETHOD(GetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; + STDMETHOD(SetMatrixTranspose)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix) PURE; + STDMETHOD(GetMatrixTranspose)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; + STDMETHOD(SetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix, UINT count) PURE; + STDMETHOD(GetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; + STDMETHOD(SetMatrixTransposePointerArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX **matrix, UINT count) PURE; + STDMETHOD(GetMatrixTransposePointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; + STDMETHOD(SetString)(THIS_ D3DXHANDLE parameter, const char *string) PURE; + STDMETHOD(GetString)(THIS_ D3DXHANDLE parameter, const char **string) PURE; + STDMETHOD(SetTexture)(THIS_ D3DXHANDLE parameter, struct IDirect3DBaseTexture9 *texture) PURE; + STDMETHOD(GetTexture)(THIS_ D3DXHANDLE parameter, struct IDirect3DBaseTexture9 **texture) PURE; + STDMETHOD(GetPixelShader)(THIS_ D3DXHANDLE parameter, struct IDirect3DPixelShader9 **shader) PURE; + STDMETHOD(GetVertexShader)(THIS_ D3DXHANDLE parameter, struct IDirect3DVertexShader9 **shader) PURE; + STDMETHOD(SetArrayRange)(THIS_ D3DXHANDLE parameter, UINT start, UINT end) PURE; + /*** ID3DXEffect methods ***/ + STDMETHOD(GetPool)(THIS_ ID3DXEffectPool **pool) PURE; + STDMETHOD(SetTechnique)(THIS_ D3DXHANDLE technique) PURE; + STDMETHOD_(D3DXHANDLE, GetCurrentTechnique)(THIS) PURE; + STDMETHOD(ValidateTechnique)(THIS_ D3DXHANDLE technique) PURE; + STDMETHOD(FindNextValidTechnique)(THIS_ D3DXHANDLE technique, D3DXHANDLE* next_technique) PURE; + STDMETHOD_(BOOL, IsParameterUsed)(THIS_ D3DXHANDLE parameter, D3DXHANDLE technique) PURE; + STDMETHOD(Begin)(THIS_ UINT *passes, DWORD flags) PURE; + STDMETHOD(BeginPass)(THIS_ UINT pass) PURE; + STDMETHOD(CommitChanges)(THIS) PURE; + STDMETHOD(EndPass)(THIS) PURE; + STDMETHOD(End)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(OnLostDevice)(THIS) PURE; + STDMETHOD(OnResetDevice)(THIS) PURE; + STDMETHOD(SetStateManager)(THIS_ ID3DXEffectStateManager *manager) PURE; + STDMETHOD(GetStateManager)(THIS_ ID3DXEffectStateManager **manager) PURE; + STDMETHOD(BeginParameterBlock)(THIS) PURE; + STDMETHOD_(D3DXHANDLE, EndParameterBlock)(THIS) PURE; + STDMETHOD(ApplyParameterBlock)(THIS_ D3DXHANDLE parameter_block) PURE; + STDMETHOD(DeleteParameterBlock)(THIS_ D3DXHANDLE parameter_block) PURE; + STDMETHOD(CloneEffect)(THIS_ struct IDirect3DDevice9 *device, struct ID3DXEffect **effect) PURE; + STDMETHOD(SetRawValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT byte_offset, UINT bytes) PURE; +}; +#undef INTERFACE + +typedef struct ID3DXEffectCompiler *LPD3DXEFFECTCOMPILER; + +DEFINE_GUID(IID_ID3DXEffectCompiler, 0x51b8a949, 0x1a31, 0x47e6, 0xbe, 0xa0, 0x4b, 0x30, 0xdb, 0x53, 0xf1, 0xe0); + +#define INTERFACE ID3DXEffectCompiler + +DECLARE_INTERFACE_(ID3DXEffectCompiler, ID3DXBaseEffect) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBaseEffect methods ***/ + STDMETHOD(GetDesc)(THIS_ D3DXEFFECT_DESC* desc) PURE; + STDMETHOD(GetParameterDesc)(THIS_ D3DXHANDLE parameter, D3DXPARAMETER_DESC* desc) PURE; + STDMETHOD(GetTechniqueDesc)(THIS_ D3DXHANDLE technique, D3DXTECHNIQUE_DESC* desc) PURE; + STDMETHOD(GetPassDesc)(THIS_ D3DXHANDLE pass, D3DXPASS_DESC* desc) PURE; + STDMETHOD(GetFunctionDesc)(THIS_ D3DXHANDLE shader, D3DXFUNCTION_DESC* desc) PURE; + STDMETHOD_(D3DXHANDLE, GetParameter)(THIS_ D3DXHANDLE parameter, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterByName)(THIS_ D3DXHANDLE parameter, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterBySemantic)(THIS_ D3DXHANDLE parameter, const char *semantic) PURE; + STDMETHOD_(D3DXHANDLE, GetParameterElement)(THIS_ D3DXHANDLE parameter, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetTechnique)(THIS_ UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetTechniqueByName)(THIS_ const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetPass)(THIS_ D3DXHANDLE technique, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetPassByName)(THIS_ D3DXHANDLE technique, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetFunction)(THIS_ UINT index); + STDMETHOD_(D3DXHANDLE, GetFunctionByName)(THIS_ const char *name); + STDMETHOD_(D3DXHANDLE, GetAnnotation)(THIS_ D3DXHANDLE object, UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetAnnotationByName)(THIS_ D3DXHANDLE object, const char *name) PURE; + STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT bytes) PURE; + STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, void *data, UINT bytes) PURE; + STDMETHOD(SetBool)(THIS_ D3DXHANDLE parameter, BOOL b) PURE; + STDMETHOD(GetBool)(THIS_ D3DXHANDLE parameter, BOOL* b) PURE; + STDMETHOD(SetBoolArray)(THIS_ D3DXHANDLE parameter, const BOOL *b, UINT count) PURE; + STDMETHOD(GetBoolArray)(THIS_ D3DXHANDLE parameter, BOOL* b, UINT count) PURE; + STDMETHOD(SetInt)(THIS_ D3DXHANDLE parameter, INT n) PURE; + STDMETHOD(GetInt)(THIS_ D3DXHANDLE parameter, INT* n) PURE; + STDMETHOD(SetIntArray)(THIS_ D3DXHANDLE parameter, const INT *n, UINT count) PURE; + STDMETHOD(GetIntArray)(THIS_ D3DXHANDLE parameter, INT* n, UINT count) PURE; + STDMETHOD(SetFloat)(THIS_ D3DXHANDLE parameter, FLOAT f) PURE; + STDMETHOD(GetFloat)(THIS_ D3DXHANDLE parameter, FLOAT* f) PURE; + STDMETHOD(SetFloatArray)(THIS_ D3DXHANDLE parameter, const FLOAT *f, UINT count) PURE; + STDMETHOD(GetFloatArray)(THIS_ D3DXHANDLE parameter, FLOAT* f, UINT count) PURE; + STDMETHOD(SetVector)(THIS_ D3DXHANDLE parameter, const D3DXVECTOR4 *vector) PURE; + STDMETHOD(GetVector)(THIS_ D3DXHANDLE parameter, D3DXVECTOR4* vector) PURE; + STDMETHOD(SetVectorArray)(THIS_ D3DXHANDLE parameter, const D3DXVECTOR4 *vector, UINT count) PURE; + STDMETHOD(GetVectorArray)(THIS_ D3DXHANDLE parameter, D3DXVECTOR4* vector, UINT count) PURE; + STDMETHOD(SetMatrix)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix) PURE; + STDMETHOD(GetMatrix)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; + STDMETHOD(SetMatrixArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix, UINT count) PURE; + STDMETHOD(GetMatrixArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; + STDMETHOD(SetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX **matrix, UINT count) PURE; + STDMETHOD(GetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; + STDMETHOD(SetMatrixTranspose)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix) PURE; + STDMETHOD(GetMatrixTranspose)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; + STDMETHOD(SetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX *matrix, UINT count) PURE; + STDMETHOD(GetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; + STDMETHOD(SetMatrixTransposePointerArray)(THIS_ D3DXHANDLE parameter, const D3DXMATRIX **matrix, UINT count) PURE; + STDMETHOD(GetMatrixTransposePointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; + STDMETHOD(SetString)(THIS_ D3DXHANDLE parameter, const char *string) PURE; + STDMETHOD(GetString)(THIS_ D3DXHANDLE parameter, const char **string) PURE; + STDMETHOD(SetTexture)(THIS_ D3DXHANDLE parameter, struct IDirect3DBaseTexture9 *texture) PURE; + STDMETHOD(GetTexture)(THIS_ D3DXHANDLE parameter, struct IDirect3DBaseTexture9 **texture) PURE; + STDMETHOD(GetPixelShader)(THIS_ D3DXHANDLE parameter, struct IDirect3DPixelShader9 **shader) PURE; + STDMETHOD(GetVertexShader)(THIS_ D3DXHANDLE parameter, struct IDirect3DVertexShader9 **shader) PURE; + STDMETHOD(SetArrayRange)(THIS_ D3DXHANDLE parameter, UINT start, UINT end) PURE; + /*** ID3DXEffectCompiler methods ***/ + STDMETHOD(SetLiteral)(THIS_ D3DXHANDLE parameter, BOOL literal) PURE; + STDMETHOD(GetLiteral)(THIS_ D3DXHANDLE parameter, BOOL* literal) PURE; + STDMETHOD(CompileEffect)(THIS_ DWORD flags, ID3DXBuffer **effect, ID3DXBuffer **error_msgs) PURE; + STDMETHOD(CompileShader)(THIS_ D3DXHANDLE function, const char *target, DWORD flags, + ID3DXBuffer **shader, ID3DXBuffer **error_msgs, ID3DXConstantTable **constant_table) PURE; +}; +#undef INTERFACE + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DXCreateEffectPool(ID3DXEffectPool **pool); +HRESULT WINAPI D3DXCreateEffect(struct IDirect3DDevice9 *device, const void *srcdata, UINT srcdatalen, + const D3DXMACRO *defines, struct ID3DXInclude *include, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +HRESULT WINAPI D3DXCreateEffectEx(struct IDirect3DDevice9 *device, const void *srcdata, UINT srcdatalen, + const D3DXMACRO *defines, struct ID3DXInclude *include, const char *skip_constants, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +HRESULT WINAPI D3DXCreateEffectCompiler(const char *srcdata, UINT srcdatalen, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXEffectCompiler **compiler, ID3DXBuffer **parse_errors); +HRESULT WINAPI D3DXCreateEffectFromFileExA(struct IDirect3DDevice9 *device, const char *srcfile, + const D3DXMACRO *defines, struct ID3DXInclude *include, const char *skip_constants, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +HRESULT WINAPI D3DXCreateEffectFromFileExW(struct IDirect3DDevice9 *device, const WCHAR *srcfile, + const D3DXMACRO *defines, struct ID3DXInclude *include, const char *skip_constants, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +#define D3DXCreateEffectFromFileEx WINELIB_NAME_AW(D3DXCreateEffectFromFileEx) + +HRESULT WINAPI D3DXCreateEffectFromFileA(struct IDirect3DDevice9 *device, const char *srcfile, + const D3DXMACRO *defines, struct ID3DXInclude *include, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +HRESULT WINAPI D3DXCreateEffectFromFileW(struct IDirect3DDevice9 *device, const WCHAR *srcfile, + const D3DXMACRO *defines, struct ID3DXInclude *include, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +#define D3DXCreateEffectFromFile WINELIB_NAME_AW(D3DXCreateEffectFromFile) + +HRESULT WINAPI D3DXCreateEffectFromResourceExA(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const char *srcresource, const D3DXMACRO *defines, struct ID3DXInclude *include, + const char *skip_constants, DWORD flags, struct ID3DXEffectPool *pool, + struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +HRESULT WINAPI D3DXCreateEffectFromResourceExW(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const WCHAR *srcresource, const D3DXMACRO *defines, struct ID3DXInclude *include, + const char *skip_constants, DWORD flags, struct ID3DXEffectPool *pool, + struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +#define D3DXCreateEffectFromResourceEx WINELIB_NAME_AW(D3DXCreateEffectFromResourceEx) + +HRESULT WINAPI D3DXCreateEffectFromResourceA(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const char *srcresource, const D3DXMACRO *defines, struct ID3DXInclude *include, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +HRESULT WINAPI D3DXCreateEffectFromResourceW(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const WCHAR *srcresource, const D3DXMACRO *defines, struct ID3DXInclude *include, DWORD flags, + struct ID3DXEffectPool *pool, struct ID3DXEffect **effect, struct ID3DXBuffer **compilation_errors); +#define D3DXCreateEffectFromResource WINELIB_NAME_AW(D3DXCreateEffectFromResource) + +HRESULT WINAPI D3DXCreateEffectCompilerFromFileA(const char *srcfile, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXEffectCompiler **effectcompiler, ID3DXBuffer **parseerrors); +HRESULT WINAPI D3DXCreateEffectCompilerFromFileW(const WCHAR *srcfile, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXEffectCompiler **effectcompiler, ID3DXBuffer **parseerrors); +#define D3DXCreateEffectCompilerFromFile WINELIB_NAME_AW(D3DXCreateEffectCompilerFromFile) + +HRESULT WINAPI D3DXCreateEffectCompilerFromResourceA(HMODULE srcmodule, const char *srcresource, + const D3DXMACRO *defines, ID3DXInclude *include, DWORD flags, + ID3DXEffectCompiler **effectcompiler, ID3DXBuffer **parseerrors); +HRESULT WINAPI D3DXCreateEffectCompilerFromResourceW(HMODULE srcmodule, const WCHAR *srcresource, + const D3DXMACRO *defines, ID3DXInclude *include, DWORD flags, + ID3DXEffectCompiler **effectcompiler, ID3DXBuffer **parseerrors); +#define D3DXCreateEffectCompilerFromResource WINELIB_NAME_AW(D3DXCreateEffectCompilerFromResource) + +HRESULT WINAPI D3DXDisassembleEffect(ID3DXEffect *effect, BOOL enable_color_code, ID3DXBuffer **disassembly); + +#ifdef __cplusplus +} +#endif + +#endif /* __D3DX9EFFECT_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9math.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9math.h new file mode 100644 index 0000000..bf03ca3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9math.h @@ -0,0 +1,474 @@ +/* + * Copyright (C) 2007 David Adam + * Copyright (C) 2007 Tony Wasserka + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __D3DX9MATH_H__ +#define __D3DX9MATH_H__ + +#include + +#define D3DX_PI ((FLOAT)3.141592654) +#define D3DX_1BYPI ((FLOAT)0.318309886) + +#define D3DXSH_MINORDER 2 +#define D3DXSH_MAXORDER 6 + +#define D3DXToRadian(degree) ((degree) * (D3DX_PI / 180.0f)) +#define D3DXToDegree(radian) ((radian) * (180.0f / D3DX_PI)) + +typedef struct D3DXVECTOR2 +{ +#ifdef __cplusplus + D3DXVECTOR2(); + D3DXVECTOR2(const FLOAT *pf); + D3DXVECTOR2(FLOAT fx, FLOAT fy); + + operator FLOAT* (); + operator const FLOAT* () const; + + D3DXVECTOR2& operator += (const D3DXVECTOR2&); + D3DXVECTOR2& operator -= (const D3DXVECTOR2&); + D3DXVECTOR2& operator *= (FLOAT); + D3DXVECTOR2& operator /= (FLOAT); + + D3DXVECTOR2 operator + () const; + D3DXVECTOR2 operator - () const; + + D3DXVECTOR2 operator + (const D3DXVECTOR2&) const; + D3DXVECTOR2 operator - (const D3DXVECTOR2&) const; + D3DXVECTOR2 operator * (FLOAT) const; + D3DXVECTOR2 operator / (FLOAT) const; + + friend D3DXVECTOR2 operator * (FLOAT, const D3DXVECTOR2&); + + BOOL operator == (const D3DXVECTOR2&) const; + BOOL operator != (const D3DXVECTOR2&) const; +#endif /* __cplusplus */ + FLOAT x, y; +} D3DXVECTOR2, *LPD3DXVECTOR2; + +#ifdef __cplusplus +typedef struct D3DXVECTOR3 : public D3DVECTOR +{ + D3DXVECTOR3(); + D3DXVECTOR3(const FLOAT *pf); + D3DXVECTOR3(const D3DVECTOR& v); + D3DXVECTOR3(FLOAT fx, FLOAT fy, FLOAT fz); + + operator FLOAT* (); + operator const FLOAT* () const; + + D3DXVECTOR3& operator += (const D3DXVECTOR3&); + D3DXVECTOR3& operator -= (const D3DXVECTOR3&); + D3DXVECTOR3& operator *= (FLOAT); + D3DXVECTOR3& operator /= (FLOAT); + + D3DXVECTOR3 operator + () const; + D3DXVECTOR3 operator - () const; + + D3DXVECTOR3 operator + (const D3DXVECTOR3&) const; + D3DXVECTOR3 operator - (const D3DXVECTOR3&) const; + D3DXVECTOR3 operator * (FLOAT) const; + D3DXVECTOR3 operator / (FLOAT) const; + + friend D3DXVECTOR3 operator * (FLOAT, const struct D3DXVECTOR3&); + + BOOL operator == (const D3DXVECTOR3&) const; + BOOL operator != (const D3DXVECTOR3&) const; +} D3DXVECTOR3, *LPD3DXVECTOR3; +#else /* !__cplusplus */ +typedef struct _D3DVECTOR D3DXVECTOR3, *LPD3DXVECTOR3; +#endif /* !__cplusplus */ + +typedef struct D3DXVECTOR4 +{ +#ifdef __cplusplus + D3DXVECTOR4(); + D3DXVECTOR4(const FLOAT *pf); + D3DXVECTOR4(FLOAT fx, FLOAT fy, FLOAT fz, FLOAT fw); + + operator FLOAT* (); + operator const FLOAT* () const; + + D3DXVECTOR4& operator += (const D3DXVECTOR4&); + D3DXVECTOR4& operator -= (const D3DXVECTOR4&); + D3DXVECTOR4& operator *= (FLOAT); + D3DXVECTOR4& operator /= (FLOAT); + + D3DXVECTOR4 operator + () const; + D3DXVECTOR4 operator - () const; + + D3DXVECTOR4 operator + (const D3DXVECTOR4&) const; + D3DXVECTOR4 operator - (const D3DXVECTOR4&) const; + D3DXVECTOR4 operator * (FLOAT) const; + D3DXVECTOR4 operator / (FLOAT) const; + + friend D3DXVECTOR4 operator * (FLOAT, const D3DXVECTOR4&); + + BOOL operator == (const D3DXVECTOR4&) const; + BOOL operator != (const D3DXVECTOR4&) const; +#endif /* __cplusplus */ + FLOAT x, y, z, w; +} D3DXVECTOR4, *LPD3DXVECTOR4; + +#ifdef __cplusplus +typedef struct D3DXMATRIX : public D3DMATRIX +{ + D3DXMATRIX(); + D3DXMATRIX(const FLOAT *pf); + D3DXMATRIX(const D3DMATRIX& mat); + D3DXMATRIX(FLOAT f11, FLOAT f12, FLOAT f13, FLOAT f14, + FLOAT f21, FLOAT f22, FLOAT f23, FLOAT f24, + FLOAT f31, FLOAT f32, FLOAT f33, FLOAT f34, + FLOAT f41, FLOAT f42, FLOAT f43, FLOAT f44); + + FLOAT& operator () (UINT row, UINT col); + FLOAT operator () (UINT row, UINT col) const; + + operator FLOAT* (); + operator const FLOAT* () const; + + D3DXMATRIX& operator *= (const D3DXMATRIX&); + D3DXMATRIX& operator += (const D3DXMATRIX&); + D3DXMATRIX& operator -= (const D3DXMATRIX&); + D3DXMATRIX& operator *= (FLOAT); + D3DXMATRIX& operator /= (FLOAT); + + D3DXMATRIX operator + () const; + D3DXMATRIX operator - () const; + + D3DXMATRIX operator * (const D3DXMATRIX&) const; + D3DXMATRIX operator + (const D3DXMATRIX&) const; + D3DXMATRIX operator - (const D3DXMATRIX&) const; + D3DXMATRIX operator * (FLOAT) const; + D3DXMATRIX operator / (FLOAT) const; + + friend D3DXMATRIX operator * (FLOAT, const D3DXMATRIX&); + + BOOL operator == (const D3DXMATRIX&) const; + BOOL operator != (const D3DXMATRIX&) const; +} D3DXMATRIX, *LPD3DXMATRIX; +#else /* !__cplusplus */ +typedef struct _D3DMATRIX D3DXMATRIX, *LPD3DXMATRIX; +#endif /* !__cplusplus */ + +typedef struct D3DXQUATERNION +{ +#ifdef __cplusplus + D3DXQUATERNION(); + D3DXQUATERNION(const FLOAT *pf); + D3DXQUATERNION(FLOAT fx, FLOAT fy, FLOAT fz, FLOAT fw); + + operator FLOAT* (); + operator const FLOAT* () const; + + D3DXQUATERNION& operator += (const D3DXQUATERNION&); + D3DXQUATERNION& operator -= (const D3DXQUATERNION&); + D3DXQUATERNION& operator *= (const D3DXQUATERNION&); + D3DXQUATERNION& operator *= (FLOAT); + D3DXQUATERNION& operator /= (FLOAT); + + D3DXQUATERNION operator + () const; + D3DXQUATERNION operator - () const; + + D3DXQUATERNION operator + (const D3DXQUATERNION&) const; + D3DXQUATERNION operator - (const D3DXQUATERNION&) const; + D3DXQUATERNION operator * (const D3DXQUATERNION&) const; + D3DXQUATERNION operator * (FLOAT) const; + D3DXQUATERNION operator / (FLOAT) const; + + friend D3DXQUATERNION operator * (FLOAT, const D3DXQUATERNION&); + + BOOL operator == (const D3DXQUATERNION&) const; + BOOL operator != (const D3DXQUATERNION&) const; +#endif /* __cplusplus */ + FLOAT x, y, z, w; +} D3DXQUATERNION, *LPD3DXQUATERNION; + +typedef struct D3DXPLANE +{ +#ifdef __cplusplus + D3DXPLANE(); + D3DXPLANE(const FLOAT *pf); + D3DXPLANE(FLOAT fa, FLOAT fb, FLOAT fc, FLOAT fd); + + operator FLOAT* (); + operator const FLOAT* () const; + + D3DXPLANE operator + () const; + D3DXPLANE operator - () const; + + BOOL operator == (const D3DXPLANE&) const; + BOOL operator != (const D3DXPLANE&) const; +#endif /* __cplusplus */ + FLOAT a, b, c, d; +} D3DXPLANE, *LPD3DXPLANE; + +typedef struct D3DXCOLOR +{ +#ifdef __cplusplus + D3DXCOLOR(); + D3DXCOLOR(DWORD col); + D3DXCOLOR(const FLOAT *pf); + D3DXCOLOR(const D3DCOLORVALUE& col); + D3DXCOLOR(FLOAT fr, FLOAT fg, FLOAT fb, FLOAT fa); + + operator DWORD () const; + + operator FLOAT* (); + operator const FLOAT* () const; + + operator D3DCOLORVALUE* (); + operator const D3DCOLORVALUE* () const; + + operator D3DCOLORVALUE& (); + operator const D3DCOLORVALUE& () const; + + D3DXCOLOR& operator += (const D3DXCOLOR&); + D3DXCOLOR& operator -= (const D3DXCOLOR&); + D3DXCOLOR& operator *= (FLOAT); + D3DXCOLOR& operator /= (FLOAT); + + D3DXCOLOR operator + () const; + D3DXCOLOR operator - () const; + + D3DXCOLOR operator + (const D3DXCOLOR&) const; + D3DXCOLOR operator - (const D3DXCOLOR&) const; + D3DXCOLOR operator * (FLOAT) const; + D3DXCOLOR operator / (FLOAT) const; + + friend D3DXCOLOR operator * (FLOAT, const D3DXCOLOR&); + + BOOL operator == (const D3DXCOLOR&) const; + BOOL operator != (const D3DXCOLOR&) const; +#endif /* __cplusplus */ + FLOAT r, g, b, a; +} D3DXCOLOR, *LPD3DXCOLOR; + +typedef struct D3DXFLOAT16 +{ +#ifdef __cplusplus + D3DXFLOAT16(); + D3DXFLOAT16(FLOAT f); + D3DXFLOAT16(const D3DXFLOAT16 &f); + + operator FLOAT (); + + BOOL operator == (const D3DXFLOAT16 &) const; + BOOL operator != (const D3DXFLOAT16 &) const; +#endif /* __cplusplus */ + WORD value; +} D3DXFLOAT16, *LPD3DXFLOAT16; + +#ifdef __cplusplus +extern "C" { +#endif + +D3DXCOLOR* WINAPI D3DXColorAdjustContrast(D3DXCOLOR *pout, const D3DXCOLOR *pc, FLOAT s); +D3DXCOLOR* WINAPI D3DXColorAdjustSaturation(D3DXCOLOR *pout, const D3DXCOLOR *pc, FLOAT s); + +FLOAT WINAPI D3DXFresnelTerm(FLOAT costheta, FLOAT refractionindex); + +D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, FLOAT scaling, const D3DXVECTOR3 *rotationcenter, const D3DXQUATERNION *rotation, + const D3DXVECTOR3 *translation); +D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation2D(D3DXMATRIX *pout, FLOAT scaling, const D3DXVECTOR2 *protationcenter, FLOAT rotation, + const D3DXVECTOR2 *ptranslation); +HRESULT WINAPI D3DXMatrixDecompose(D3DXVECTOR3 *poutscale, D3DXQUATERNION *poutrotation, D3DXVECTOR3 *pouttranslation, const D3DXMATRIX *pm); +FLOAT WINAPI D3DXMatrixDeterminant(const D3DXMATRIX *pm); +D3DXMATRIX* WINAPI D3DXMatrixInverse(D3DXMATRIX *pout, FLOAT *pdeterminant, const D3DXMATRIX *pm); +D3DXMATRIX* WINAPI D3DXMatrixLookAtLH(D3DXMATRIX *pout, const D3DXVECTOR3 *peye, const D3DXVECTOR3 *pat, const D3DXVECTOR3 *pup); +D3DXMATRIX* WINAPI D3DXMatrixLookAtRH(D3DXMATRIX *pout, const D3DXVECTOR3 *peye, const D3DXVECTOR3 *pat, const D3DXVECTOR3 *pup); +D3DXMATRIX* WINAPI D3DXMatrixMultiply(D3DXMATRIX *pout, const D3DXMATRIX *pm1, const D3DXMATRIX *pm2); +D3DXMATRIX* WINAPI D3DXMatrixMultiplyTranspose(D3DXMATRIX *pout, const D3DXMATRIX *pm1, const D3DXMATRIX *pm2); +D3DXMATRIX* WINAPI D3DXMatrixOrthoLH(D3DXMATRIX *pout, FLOAT w, FLOAT h, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixOrthoOffCenterLH(D3DXMATRIX *pout, FLOAT l, FLOAT r, FLOAT b, FLOAT t, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixOrthoOffCenterRH(D3DXMATRIX *pout, FLOAT l, FLOAT r, FLOAT b, FLOAT t, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixOrthoRH(D3DXMATRIX *pout, FLOAT w, FLOAT h, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixPerspectiveFovLH(D3DXMATRIX *pout, FLOAT fovy, FLOAT aspect, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixPerspectiveFovRH(D3DXMATRIX *pout, FLOAT fovy, FLOAT aspect, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixPerspectiveLH(D3DXMATRIX *pout, FLOAT w, FLOAT h, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixPerspectiveOffCenterLH(D3DXMATRIX *pout, FLOAT l, FLOAT r, FLOAT b, FLOAT t, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixPerspectiveOffCenterRH(D3DXMATRIX *pout, FLOAT l, FLOAT r, FLOAT b, FLOAT t, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixPerspectiveRH(D3DXMATRIX *pout, FLOAT w, FLOAT h, FLOAT zn, FLOAT zf); +D3DXMATRIX* WINAPI D3DXMatrixReflect(D3DXMATRIX *pout, const D3DXPLANE *pplane); +D3DXMATRIX* WINAPI D3DXMatrixRotationAxis(D3DXMATRIX *pout, const D3DXVECTOR3 *pv, FLOAT angle); +D3DXMATRIX* WINAPI D3DXMatrixRotationQuaternion(D3DXMATRIX *pout, const D3DXQUATERNION *pq); +D3DXMATRIX* WINAPI D3DXMatrixRotationX(D3DXMATRIX *pout, FLOAT angle); +D3DXMATRIX* WINAPI D3DXMatrixRotationY(D3DXMATRIX *pout, FLOAT angle); +D3DXMATRIX* WINAPI D3DXMatrixRotationYawPitchRoll(D3DXMATRIX *pout, FLOAT yaw, FLOAT pitch, FLOAT roll); +D3DXMATRIX* WINAPI D3DXMatrixRotationZ(D3DXMATRIX *pout, FLOAT angle); +D3DXMATRIX* WINAPI D3DXMatrixScaling(D3DXMATRIX *pout, FLOAT sx, FLOAT sy, FLOAT sz); +D3DXMATRIX* WINAPI D3DXMatrixShadow(D3DXMATRIX *pout, const D3DXVECTOR4 *plight, const D3DXPLANE *pPlane); +D3DXMATRIX* WINAPI D3DXMatrixTransformation(D3DXMATRIX *pout, const D3DXVECTOR3 *pscalingcenter, const D3DXQUATERNION *pscalingrotation, const D3DXVECTOR3 *pscaling, const D3DXVECTOR3 *protationcenter, + const D3DXQUATERNION *protation, const D3DXVECTOR3 *ptranslation); +D3DXMATRIX* WINAPI D3DXMatrixTransformation2D(D3DXMATRIX *pout, const D3DXVECTOR2 *pscalingcenter, FLOAT scalingrotation, const D3DXVECTOR2 *pscaling, + const D3DXVECTOR2 *protationcenter, FLOAT rotation, const D3DXVECTOR2 *ptranslation); +D3DXMATRIX* WINAPI D3DXMatrixTranslation(D3DXMATRIX *pout, FLOAT x, FLOAT y, FLOAT z); +D3DXMATRIX* WINAPI D3DXMatrixTranspose(D3DXMATRIX *pout, const D3DXMATRIX *pm); + +D3DXPLANE* WINAPI D3DXPlaneFromPointNormal(D3DXPLANE *pout, const D3DXVECTOR3 *pvpoint, const D3DXVECTOR3 *pvnormal); +D3DXPLANE* WINAPI D3DXPlaneFromPoints(D3DXPLANE *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2, const D3DXVECTOR3 *pv3); +D3DXVECTOR3* WINAPI D3DXPlaneIntersectLine(D3DXVECTOR3 *pout, const D3DXPLANE *pp, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2); +D3DXPLANE* WINAPI D3DXPlaneNormalize(D3DXPLANE *pout, const D3DXPLANE *pp); +D3DXPLANE* WINAPI D3DXPlaneTransform(D3DXPLANE *pout, const D3DXPLANE *pplane, const D3DXMATRIX *pm); +D3DXPLANE* WINAPI D3DXPlaneTransformArray(D3DXPLANE *pout, UINT outstride, const D3DXPLANE *pplane, UINT pstride, const D3DXMATRIX *pm, UINT n); + +D3DXQUATERNION* WINAPI D3DXQuaternionBaryCentric(D3DXQUATERNION *pout, const D3DXQUATERNION *pq1, const D3DXQUATERNION *pq2, const D3DXQUATERNION *pq3, FLOAT f, FLOAT g); +D3DXQUATERNION* WINAPI D3DXQuaternionExp(D3DXQUATERNION *pout, const D3DXQUATERNION *pq); +D3DXQUATERNION* WINAPI D3DXQuaternionInverse(D3DXQUATERNION *pout, const D3DXQUATERNION *pq); +D3DXQUATERNION* WINAPI D3DXQuaternionLn(D3DXQUATERNION *pout, const D3DXQUATERNION *pq); +D3DXQUATERNION* WINAPI D3DXQuaternionMultiply(D3DXQUATERNION *pout, const D3DXQUATERNION *pq1, const D3DXQUATERNION *pq2); +D3DXQUATERNION* WINAPI D3DXQuaternionNormalize(D3DXQUATERNION *pout, const D3DXQUATERNION *pq); +D3DXQUATERNION* WINAPI D3DXQuaternionRotationAxis(D3DXQUATERNION *pout, const D3DXVECTOR3 *pv, FLOAT angle); +D3DXQUATERNION* WINAPI D3DXQuaternionRotationMatrix(D3DXQUATERNION *pout, const D3DXMATRIX *pm); +D3DXQUATERNION* WINAPI D3DXQuaternionRotationYawPitchRoll(D3DXQUATERNION *pout, FLOAT yaw, FLOAT pitch, FLOAT roll); +D3DXQUATERNION* WINAPI D3DXQuaternionSlerp(D3DXQUATERNION *pout, const D3DXQUATERNION *pq1, const D3DXQUATERNION *pq2, FLOAT t); +D3DXQUATERNION* WINAPI D3DXQuaternionSquad(D3DXQUATERNION *pout, const D3DXQUATERNION *pq1, const D3DXQUATERNION *pq2, const D3DXQUATERNION *pq3, + const D3DXQUATERNION *pq4, FLOAT t); +void WINAPI D3DXQuaternionSquadSetup(D3DXQUATERNION *paout, D3DXQUATERNION *pbout, D3DXQUATERNION *pcout, const D3DXQUATERNION *pq0, + const D3DXQUATERNION *pq1, const D3DXQUATERNION *pq2, const D3DXQUATERNION *pq3); +void WINAPI D3DXQuaternionToAxisAngle(const D3DXQUATERNION *pq, D3DXVECTOR3 *paxis, FLOAT *pangle); + +D3DXVECTOR2* WINAPI D3DXVec2BaryCentric(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2, const D3DXVECTOR2 *pv3, FLOAT f, FLOAT g); +D3DXVECTOR2* WINAPI D3DXVec2CatmullRom(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv0, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2, const D3DXVECTOR2 *pv3, FLOAT s); +D3DXVECTOR2* WINAPI D3DXVec2Hermite(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pt1, const D3DXVECTOR2 *pv2, const D3DXVECTOR2 *pt2, FLOAT s); +D3DXVECTOR2* WINAPI D3DXVec2Normalize(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv); +D3DXVECTOR4* WINAPI D3DXVec2Transform(D3DXVECTOR4 *pout, const D3DXVECTOR2 *pv, const D3DXMATRIX *pm); +D3DXVECTOR4* WINAPI D3DXVec2TransformArray(D3DXVECTOR4 *pout, UINT outstride, const D3DXVECTOR2 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); +D3DXVECTOR2* WINAPI D3DXVec2TransformCoord(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv, const D3DXMATRIX *pm); +D3DXVECTOR2* WINAPI D3DXVec2TransformCoordArray(D3DXVECTOR2 *pout, UINT outstride, const D3DXVECTOR2 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); +D3DXVECTOR2* WINAPI D3DXVec2TransformNormal(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv, const D3DXMATRIX *pm); +D3DXVECTOR2* WINAPI D3DXVec2TransformNormalArray(D3DXVECTOR2 *pout, UINT outstride, const D3DXVECTOR2 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); + +D3DXVECTOR3* WINAPI D3DXVec3BaryCentric(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2, const D3DXVECTOR3 *pv3, FLOAT f, FLOAT g); +D3DXVECTOR3* WINAPI D3DXVec3CatmullRom( D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv0, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2, const D3DXVECTOR3 *pv3, FLOAT s); +D3DXVECTOR3* WINAPI D3DXVec3Hermite(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pt1, const D3DXVECTOR3 *pv2, const D3DXVECTOR3 *pt2, FLOAT s); +D3DXVECTOR3* WINAPI D3DXVec3Normalize(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv); +D3DXVECTOR3* WINAPI D3DXVec3Project(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv, const D3DVIEWPORT9 *pviewport, const D3DXMATRIX *pprojection, + const D3DXMATRIX *pview, const D3DXMATRIX *pworld); +D3DXVECTOR3* WINAPI D3DXVec3ProjectArray(D3DXVECTOR3 *pout, UINT outstride, const D3DXVECTOR3 *pv, UINT vstride, const D3DVIEWPORT9 *pviewport, + const D3DXMATRIX *pprojection, const D3DXMATRIX *pview, const D3DXMATRIX *pworld, UINT n); +D3DXVECTOR4* WINAPI D3DXVec3Transform(D3DXVECTOR4 *pout, const D3DXVECTOR3 *pv, const D3DXMATRIX *pm); +D3DXVECTOR4* WINAPI D3DXVec3TransformArray(D3DXVECTOR4 *pout, UINT outstride, const D3DXVECTOR3 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); +D3DXVECTOR3* WINAPI D3DXVec3TransformCoord(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv, const D3DXMATRIX *pm); +D3DXVECTOR3* WINAPI D3DXVec3TransformCoordArray(D3DXVECTOR3 *pout, UINT outstride, const D3DXVECTOR3 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); +D3DXVECTOR3* WINAPI D3DXVec3TransformNormal(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv, const D3DXMATRIX *pm); +D3DXVECTOR3* WINAPI D3DXVec3TransformNormalArray(D3DXVECTOR3 *pout, UINT outstride, const D3DXVECTOR3 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); +D3DXVECTOR3* WINAPI D3DXVec3Unproject(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv, const D3DVIEWPORT9 *pviewport, const D3DXMATRIX *pprojection, + const D3DXMATRIX *pview, const D3DXMATRIX *pworld); +D3DXVECTOR3* WINAPI D3DXVec3UnprojectArray(D3DXVECTOR3 *pout, UINT outstride, const D3DXVECTOR3 *pv, UINT vstride, const D3DVIEWPORT9 *pviewport, + const D3DXMATRIX *pprojection, const D3DXMATRIX *pview, const D3DXMATRIX *pworld, UINT n); +D3DXVECTOR4* WINAPI D3DXVec4BaryCentric(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2, const D3DXVECTOR4 *pv3, FLOAT f, FLOAT g); +D3DXVECTOR4* WINAPI D3DXVec4CatmullRom(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv0, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2, const D3DXVECTOR4 *pv3, FLOAT s); +D3DXVECTOR4* WINAPI D3DXVec4Cross(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2, const D3DXVECTOR4 *pv3); +D3DXVECTOR4* WINAPI D3DXVec4Hermite(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pt1, const D3DXVECTOR4 *pv2, const D3DXVECTOR4 *pt2, FLOAT s); +D3DXVECTOR4* WINAPI D3DXVec4Normalize(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv); +D3DXVECTOR4* WINAPI D3DXVec4Transform(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv, const D3DXMATRIX *pm); +D3DXVECTOR4* WINAPI D3DXVec4TransformArray(D3DXVECTOR4 *pout, UINT outstride, const D3DXVECTOR4 *pv, UINT vstride, const D3DXMATRIX *pm, UINT n); + +D3DXFLOAT16 *WINAPI D3DXFloat32To16Array(D3DXFLOAT16 *pout, const FLOAT *pin, UINT n); +FLOAT *WINAPI D3DXFloat16To32Array(FLOAT *pout, const D3DXFLOAT16 *pin, UINT n); + +FLOAT* WINAPI D3DXSHAdd(FLOAT *out, UINT order, const FLOAT *a, const FLOAT *b); +FLOAT WINAPI D3DXSHDot(UINT order, const FLOAT *a, const FLOAT *b); +HRESULT WINAPI D3DXSHEvalConeLight(UINT order, const D3DXVECTOR3 *dir, FLOAT radius, FLOAT Rintensity, FLOAT Gintensity, FLOAT Bintensity, FLOAT *rout, FLOAT *gout, FLOAT *bout); +FLOAT* WINAPI D3DXSHEvalDirection(FLOAT *out, UINT order, const D3DXVECTOR3 *dir); +HRESULT WINAPI D3DXSHEvalDirectionalLight(UINT order, const D3DXVECTOR3 *dir, FLOAT Rintensity, FLOAT Gintensity, FLOAT Bintensity, FLOAT *rout, FLOAT *gout, FLOAT *bout); +HRESULT WINAPI D3DXSHEvalHemisphereLight(UINT order, const D3DXVECTOR3 *dir, D3DXCOLOR top, D3DXCOLOR bottom, FLOAT *rout, FLOAT *gout, FLOAT *bout); +HRESULT WINAPI D3DXSHEvalSphericalLight(UINT order, const D3DXVECTOR3 *dir, FLOAT radius, FLOAT Rintensity, FLOAT Gintensity, FLOAT Bintensity, FLOAT *rout, FLOAT *gout, FLOAT *bout); +FLOAT* WINAPI D3DXSHMultiply2(FLOAT *out, const FLOAT *a, const FLOAT *b); +FLOAT* WINAPI D3DXSHMultiply3(FLOAT *out, const FLOAT *a, const FLOAT *b); +FLOAT* WINAPI D3DXSHMultiply4(FLOAT *out, const FLOAT *a, const FLOAT *b); +FLOAT* WINAPI D3DXSHRotate(FLOAT *out, UINT order, const D3DXMATRIX *matrix, const FLOAT *in); +FLOAT* WINAPI D3DXSHRotateZ(FLOAT *out, UINT order, FLOAT angle, const FLOAT *in); +FLOAT* WINAPI D3DXSHScale(FLOAT *out, UINT order, const FLOAT *a, const FLOAT scale); + +#ifdef __cplusplus +} +#endif + +typedef interface ID3DXMatrixStack *LPD3DXMATRIXSTACK; + +DEFINE_GUID(IID_ID3DXMatrixStack, +0xc7885ba7, 0xf990, 0x4fe7, 0x92, 0x2d, 0x85, 0x15, 0xe4, 0x77, 0xdd, 0x85); + +#undef INTERFACE +#define INTERFACE ID3DXMatrixStack + +DECLARE_INTERFACE_(ID3DXMatrixStack, IUnknown) +{ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + STDMETHOD(Pop)(THIS) PURE; + STDMETHOD(Push)(THIS) PURE; + STDMETHOD(LoadIdentity)(THIS) PURE; + STDMETHOD(LoadMatrix)(THIS_ const D3DXMATRIX* pM ) PURE; + STDMETHOD(MultMatrix)(THIS_ const D3DXMATRIX* pM ) PURE; + STDMETHOD(MultMatrixLocal)(THIS_ const D3DXMATRIX* pM ) PURE; + STDMETHOD(RotateAxis)(THIS_ const D3DXVECTOR3* pV, FLOAT Angle) PURE; + STDMETHOD(RotateAxisLocal)(THIS_ const D3DXVECTOR3* pV, FLOAT Angle) PURE; + STDMETHOD(RotateYawPitchRoll)(THIS_ FLOAT Yaw, FLOAT Pitch, FLOAT Roll) PURE; + STDMETHOD(RotateYawPitchRollLocal)(THIS_ FLOAT Yaw, FLOAT Pitch, FLOAT Roll) PURE; + STDMETHOD(Scale)(THIS_ FLOAT x, FLOAT y, FLOAT z) PURE; + STDMETHOD(ScaleLocal)(THIS_ FLOAT x, FLOAT y, FLOAT z) PURE; + STDMETHOD(Translate)(THIS_ FLOAT x, FLOAT y, FLOAT z ) PURE; + STDMETHOD(TranslateLocal)(THIS_ FLOAT x, FLOAT y, FLOAT z) PURE; + STDMETHOD_(D3DXMATRIX*, GetTop)(THIS) PURE; +}; + +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + +#define ID3DXMatrixStack_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXMatrixStack_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXMatrixStack_Release(p) (p)->lpVtbl->Release(p) +#define ID3DXMatrixStack_Pop(p) (p)->lpVtbl->Pop(p) +#define ID3DXMatrixStack_Push(p) (p)->lpVtbl->Push(p) +#define ID3DXMatrixStack_LoadIdentity(p) (p)->lpVtbl->LoadIdentity(p) +#define ID3DXMatrixStack_LoadMatrix(p,a) (p)->lpVtbl->LoadMatrix(p,a) +#define ID3DXMatrixStack_MultMatrix(p,a) (p)->lpVtbl->MultMatrix(p,a) +#define ID3DXMatrixStack_MultMatrixLocal(p,a) (p)->lpVtbl->MultMatrixLocal(p,a) +#define ID3DXMatrixStack_RotateAxis(p,a,b) (p)->lpVtbl->RotateAxis(p,a,b) +#define ID3DXMatrixStack_RotateAxisLocal(p,a,b) (p)->lpVtbl->RotateAxisLocal(p,a,b) +#define ID3DXMatrixStack_RotateYawPitchRoll(p,a,b,c) (p)->lpVtbl->RotateYawPitchRoll(p,a,b,c) +#define ID3DXMatrixStack_RotateYawPitchRollLocal(p,a,b,c) (p)->lpVtbl->RotateYawPitchRollLocal(p,a,b,c) +#define ID3DXMatrixStack_Scale(p,a,b,c) (p)->lpVtbl->Scale(p,a,b,c) +#define ID3DXMatrixStack_ScaleLocal(p,a,b,c) (p)->lpVtbl->ScaleLocal(p,a,b,c) +#define ID3DXMatrixStack_Translate(p,a,b,c) (p)->lpVtbl->Translate(p,a,b,c) +#define ID3DXMatrixStack_TranslateLocal(p,a,b,c) (p)->lpVtbl->TranslateLocal(p,a,b,c) +#define ID3DXMatrixStack_GetTop(p) (p)->lpVtbl->GetTop(p) + +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DXCreateMatrixStack(DWORD flags, ID3DXMatrixStack **stack); + +#ifdef __cplusplus +} +#endif + +#include "d3dx9math.inl" + +#endif /* __D3DX9MATH_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9math.inl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9math.inl new file mode 100644 index 0000000..ee2f82b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9math.inl @@ -0,0 +1,1298 @@ +/* + * Copyright (C) 2007 David Adam + * Copyright (C) 2007 Tony Wasserka + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __D3DX9MATH_INL__ +#define __D3DX9MATH_INL__ + +/* constructors & operators */ +#ifdef __cplusplus + +inline D3DXVECTOR2::D3DXVECTOR2() +{ +} + +inline D3DXVECTOR2::D3DXVECTOR2(const FLOAT *pf) +{ + if(!pf) return; + x = pf[0]; + y = pf[1]; +} + +inline D3DXVECTOR2::D3DXVECTOR2(FLOAT fx, FLOAT fy) +{ + x = fx; + y = fy; +} + +inline D3DXVECTOR2::operator FLOAT* () +{ + return (FLOAT*)&x; +} + +inline D3DXVECTOR2::operator const FLOAT* () const +{ + return (const FLOAT*)&x; +} + +inline D3DXVECTOR2& D3DXVECTOR2::operator += (const D3DXVECTOR2& v) +{ + x += v.x; + y += v.y; + return *this; +} + +inline D3DXVECTOR2& D3DXVECTOR2::operator -= (const D3DXVECTOR2& v) +{ + x -= v.x; + y -= v.y; + return *this; +} + +inline D3DXVECTOR2& D3DXVECTOR2::operator *= (FLOAT f) +{ + x *= f; + y *= f; + return *this; +} + +inline D3DXVECTOR2& D3DXVECTOR2::operator /= (FLOAT f) +{ + x /= f; + y /= f; + return *this; +} + +inline D3DXVECTOR2 D3DXVECTOR2::operator + () const +{ + return *this; +} + +inline D3DXVECTOR2 D3DXVECTOR2::operator - () const +{ + return D3DXVECTOR2(-x, -y); +} + +inline D3DXVECTOR2 D3DXVECTOR2::operator + (const D3DXVECTOR2& v) const +{ + return D3DXVECTOR2(x + v.x, y + v.y); +} + +inline D3DXVECTOR2 D3DXVECTOR2::operator - (const D3DXVECTOR2& v) const +{ + return D3DXVECTOR2(x - v.x, y - v.y); +} + +inline D3DXVECTOR2 D3DXVECTOR2::operator * (FLOAT f) const +{ + return D3DXVECTOR2(x * f, y * f); +} + +inline D3DXVECTOR2 D3DXVECTOR2::operator / (FLOAT f) const +{ + return D3DXVECTOR2(x / f, y / f); +} + +inline D3DXVECTOR2 operator * (FLOAT f, const D3DXVECTOR2& v) +{ + return D3DXVECTOR2(f * v.x, f * v.y); +} + +inline BOOL D3DXVECTOR2::operator == (const D3DXVECTOR2& v) const +{ + return x == v.x && y == v.y; +} + +inline BOOL D3DXVECTOR2::operator != (const D3DXVECTOR2& v) const +{ + return x != v.x || y != v.y; +} + +inline D3DXVECTOR3::D3DXVECTOR3() +{ +} + +inline D3DXVECTOR3::D3DXVECTOR3(const FLOAT *pf) +{ + if(!pf) return; + x = pf[0]; + y = pf[1]; + z = pf[2]; +} + +inline D3DXVECTOR3::D3DXVECTOR3(const D3DVECTOR& v) +{ + x = v.x; + y = v.y; + z = v.z; +} + +inline D3DXVECTOR3::D3DXVECTOR3(FLOAT fx, FLOAT fy, FLOAT fz) +{ + x = fx; + y = fy; + z = fz; +} + +inline D3DXVECTOR3::operator FLOAT* () +{ + return (FLOAT*)&x; +} + +inline D3DXVECTOR3::operator const FLOAT* () const +{ + return (const FLOAT*)&x; +} + +inline D3DXVECTOR3& D3DXVECTOR3::operator += (const D3DXVECTOR3& v) +{ + x += v.x; + y += v.y; + z += v.z; + return *this; +} + +inline D3DXVECTOR3& D3DXVECTOR3::operator -= (const D3DXVECTOR3& v) +{ + x -= v.x; + y -= v.y; + z -= v.z; + return *this; +} + +inline D3DXVECTOR3& D3DXVECTOR3::operator *= (FLOAT f) +{ + x *= f; + y *= f; + z *= f; + return *this; +} + +inline D3DXVECTOR3& D3DXVECTOR3::operator /= (FLOAT f) +{ + x /= f; + y /= f; + z /= f; + return *this; +} + +inline D3DXVECTOR3 D3DXVECTOR3::operator + () const +{ + return *this; +} + +inline D3DXVECTOR3 D3DXVECTOR3::operator - () const +{ + return D3DXVECTOR3(-x, -y, -z); +} + +inline D3DXVECTOR3 D3DXVECTOR3::operator + (const D3DXVECTOR3& v) const +{ + return D3DXVECTOR3(x + v.x, y + v.y, z + v.z); +} + +inline D3DXVECTOR3 D3DXVECTOR3::operator - (const D3DXVECTOR3& v) const +{ + return D3DXVECTOR3(x - v.x, y - v.y, z - v.z); +} + +inline D3DXVECTOR3 D3DXVECTOR3::operator * (FLOAT f) const +{ + return D3DXVECTOR3(x * f, y * f, z * f); +} + +inline D3DXVECTOR3 D3DXVECTOR3::operator / (FLOAT f) const +{ + return D3DXVECTOR3(x / f, y / f, z / f); +} + +inline D3DXVECTOR3 operator * (FLOAT f, const D3DXVECTOR3& v) +{ + return D3DXVECTOR3(f * v.x, f * v.y, f * v.z); +} + +inline BOOL D3DXVECTOR3::operator == (const D3DXVECTOR3& v) const +{ + return x == v.x && y == v.y && z == v.z; +} + +inline BOOL D3DXVECTOR3::operator != (const D3DXVECTOR3& v) const +{ + return x != v.x || y != v.y || z != v.z; +} + +inline D3DXVECTOR4::D3DXVECTOR4() +{ +} + +inline D3DXVECTOR4::D3DXVECTOR4(const FLOAT *pf) +{ + if(!pf) return; + x = pf[0]; + y = pf[1]; + z = pf[2]; + w = pf[3]; +} + +inline D3DXVECTOR4::D3DXVECTOR4(FLOAT fx, FLOAT fy, FLOAT fz, FLOAT fw) +{ + x = fx; + y = fy; + z = fz; + w = fw; +} + +inline D3DXVECTOR4::operator FLOAT* () +{ + return (FLOAT*)&x; +} + +inline D3DXVECTOR4::operator const FLOAT* () const +{ + return (const FLOAT*)&x; +} + +inline D3DXVECTOR4& D3DXVECTOR4::operator += (const D3DXVECTOR4& v) +{ + x += v.x; + y += v.y; + z += v.z; + w += v.w; + return *this; +} + +inline D3DXVECTOR4& D3DXVECTOR4::operator -= (const D3DXVECTOR4& v) +{ + x -= v.x; + y -= v.y; + z -= v.z; + w -= v.w; + return *this; +} + +inline D3DXVECTOR4& D3DXVECTOR4::operator *= (FLOAT f) +{ + x *= f; + y *= f; + z *= f; + w *= f; + return *this; +} + +inline D3DXVECTOR4& D3DXVECTOR4::operator /= (FLOAT f) +{ + x /= f; + y /= f; + z /= f; + w /= f; + return *this; +} + +inline D3DXVECTOR4 D3DXVECTOR4::operator + () const +{ + return *this; +} + +inline D3DXVECTOR4 D3DXVECTOR4::operator - () const +{ + return D3DXVECTOR4(-x, -y, -z, -w); +} + +inline D3DXVECTOR4 D3DXVECTOR4::operator + (const D3DXVECTOR4& v) const +{ + return D3DXVECTOR4(x + v.x, y + v.y, z + v.z, w + v.w); +} + +inline D3DXVECTOR4 D3DXVECTOR4::operator - (const D3DXVECTOR4& v) const +{ + return D3DXVECTOR4(x - v.x, y - v.y, z - v.z, w - v.w); +} + +inline D3DXVECTOR4 D3DXVECTOR4::operator * (FLOAT f) const +{ + return D3DXVECTOR4(x * f, y * f, z * f, w * f); +} + +inline D3DXVECTOR4 D3DXVECTOR4::operator / (FLOAT f) const +{ + return D3DXVECTOR4(x / f, y / f, z / f, w / f); +} + +inline D3DXVECTOR4 operator * (FLOAT f, const D3DXVECTOR4& v) +{ + return D3DXVECTOR4(f * v.x, f * v.y, f * v.z, f * v.w); +} + +inline BOOL D3DXVECTOR4::operator == (const D3DXVECTOR4& v) const +{ + return x == v.x && y == v.y && z == v.z && w == v.w; +} + +inline BOOL D3DXVECTOR4::operator != (const D3DXVECTOR4& v) const +{ + return x != v.x || y != v.y || z != v.z || w != v.w; +} + +inline D3DXMATRIX::D3DXMATRIX() +{ +} + +inline D3DXMATRIX::D3DXMATRIX(const FLOAT *pf) +{ + if(!pf) return; + memcpy(&_11, pf, sizeof(D3DXMATRIX)); +} + +inline D3DXMATRIX::D3DXMATRIX(const D3DMATRIX& mat) +{ + memcpy(&_11, &mat, sizeof(D3DXMATRIX)); +} + +inline D3DXMATRIX::D3DXMATRIX(FLOAT f11, FLOAT f12, FLOAT f13, FLOAT f14, + FLOAT f21, FLOAT f22, FLOAT f23, FLOAT f24, + FLOAT f31, FLOAT f32, FLOAT f33, FLOAT f34, + FLOAT f41, FLOAT f42, FLOAT f43, FLOAT f44) +{ + _11 = f11; _12 = f12; _13 = f13; _14 = f14; + _21 = f21; _22 = f22; _23 = f23; _24 = f24; + _31 = f31; _32 = f32; _33 = f33; _34 = f34; + _41 = f41; _42 = f42; _43 = f43; _44 = f44; +} + +inline FLOAT& D3DXMATRIX::operator () (UINT row, UINT col) +{ + return m[row][col]; +} + +inline FLOAT D3DXMATRIX::operator () (UINT row, UINT col) const +{ + return m[row][col]; +} + +inline D3DXMATRIX::operator FLOAT* () +{ + return (FLOAT*)&_11; +} + +inline D3DXMATRIX::operator const FLOAT* () const +{ + return (const FLOAT*)&_11; +} + +inline D3DXMATRIX& D3DXMATRIX::operator *= (const D3DXMATRIX& mat) +{ + D3DXMatrixMultiply(this, this, &mat); + return *this; +} + +inline D3DXMATRIX& D3DXMATRIX::operator += (const D3DXMATRIX& mat) +{ + _11 += mat._11; _12 += mat._12; _13 += mat._13; _14 += mat._14; + _21 += mat._21; _22 += mat._22; _23 += mat._23; _24 += mat._24; + _31 += mat._31; _32 += mat._32; _33 += mat._33; _34 += mat._34; + _41 += mat._41; _42 += mat._42; _43 += mat._43; _44 += mat._44; + return *this; +} + +inline D3DXMATRIX& D3DXMATRIX::operator -= (const D3DXMATRIX& mat) +{ + _11 -= mat._11; _12 -= mat._12; _13 -= mat._13; _14 -= mat._14; + _21 -= mat._21; _22 -= mat._22; _23 -= mat._23; _24 -= mat._24; + _31 -= mat._31; _32 -= mat._32; _33 -= mat._33; _34 -= mat._34; + _41 -= mat._41; _42 -= mat._42; _43 -= mat._43; _44 -= mat._44; + return *this; +} + +inline D3DXMATRIX& D3DXMATRIX::operator *= (FLOAT f) +{ + _11 *= f; _12 *= f; _13 *= f; _14 *= f; + _21 *= f; _22 *= f; _23 *= f; _24 *= f; + _31 *= f; _32 *= f; _33 *= f; _34 *= f; + _41 *= f; _42 *= f; _43 *= f; _44 *= f; + return *this; +} + +inline D3DXMATRIX& D3DXMATRIX::operator /= (FLOAT f) +{ + FLOAT inv = 1.0f / f; + _11 *= inv; _12 *= inv; _13 *= inv; _14 *= inv; + _21 *= inv; _22 *= inv; _23 *= inv; _24 *= inv; + _31 *= inv; _32 *= inv; _33 *= inv; _34 *= inv; + _41 *= inv; _42 *= inv; _43 *= inv; _44 *= inv; + return *this; +} + +inline D3DXMATRIX D3DXMATRIX::operator + () const +{ + return *this; +} + +inline D3DXMATRIX D3DXMATRIX::operator - () const +{ + return D3DXMATRIX(-_11, -_12, -_13, -_14, + -_21, -_22, -_23, -_24, + -_31, -_32, -_33, -_34, + -_41, -_42, -_43, -_44); +} + +inline D3DXMATRIX D3DXMATRIX::operator * (const D3DXMATRIX& mat) const +{ + D3DXMATRIX buf; + D3DXMatrixMultiply(&buf, this, &mat); + return buf; +} + +inline D3DXMATRIX D3DXMATRIX::operator + (const D3DXMATRIX& mat) const +{ + return D3DXMATRIX(_11 + mat._11, _12 + mat._12, _13 + mat._13, _14 + mat._14, + _21 + mat._21, _22 + mat._22, _23 + mat._23, _24 + mat._24, + _31 + mat._31, _32 + mat._32, _33 + mat._33, _34 + mat._34, + _41 + mat._41, _42 + mat._42, _43 + mat._43, _44 + mat._44); +} + +inline D3DXMATRIX D3DXMATRIX::operator - (const D3DXMATRIX& mat) const +{ + return D3DXMATRIX(_11 - mat._11, _12 - mat._12, _13 - mat._13, _14 - mat._14, + _21 - mat._21, _22 - mat._22, _23 - mat._23, _24 - mat._24, + _31 - mat._31, _32 - mat._32, _33 - mat._33, _34 - mat._34, + _41 - mat._41, _42 - mat._42, _43 - mat._43, _44 - mat._44); +} + +inline D3DXMATRIX D3DXMATRIX::operator * (FLOAT f) const +{ + return D3DXMATRIX(_11 * f, _12 * f, _13 * f, _14 * f, + _21 * f, _22 * f, _23 * f, _24 * f, + _31 * f, _32 * f, _33 * f, _34 * f, + _41 * f, _42 * f, _43 * f, _44 * f); +} + +inline D3DXMATRIX D3DXMATRIX::operator / (FLOAT f) const +{ + FLOAT inv = 1.0f / f; + return D3DXMATRIX(_11 * inv, _12 * inv, _13 * inv, _14 * inv, + _21 * inv, _22 * inv, _23 * inv, _24 * inv, + _31 * inv, _32 * inv, _33 * inv, _34 * inv, + _41 * inv, _42 * inv, _43 * inv, _44 * inv); +} + +inline D3DXMATRIX operator * (FLOAT f, const D3DXMATRIX& mat) +{ + return D3DXMATRIX(f * mat._11, f * mat._12, f * mat._13, f * mat._14, + f * mat._21, f * mat._22, f * mat._23, f * mat._24, + f * mat._31, f * mat._32, f * mat._33, f * mat._34, + f * mat._41, f * mat._42, f * mat._43, f * mat._44); +} + +inline BOOL D3DXMATRIX::operator == (const D3DXMATRIX& mat) const +{ + return (memcmp(this, &mat, sizeof(D3DXMATRIX)) == 0); +} + +inline BOOL D3DXMATRIX::operator != (const D3DXMATRIX& mat) const +{ + return (memcmp(this, &mat, sizeof(D3DXMATRIX)) != 0); +} + +inline D3DXQUATERNION::D3DXQUATERNION() +{ +} + +inline D3DXQUATERNION::D3DXQUATERNION(const FLOAT *pf) +{ + if(!pf) return; + x = pf[0]; + y = pf[1]; + z = pf[2]; + w = pf[3]; +} + +inline D3DXQUATERNION::D3DXQUATERNION(FLOAT fx, FLOAT fy, FLOAT fz, FLOAT fw) +{ + x = fx; + y = fy; + z = fz; + w = fw; +} + +inline D3DXQUATERNION::operator FLOAT* () +{ + return (FLOAT*)&x; +} + +inline D3DXQUATERNION::operator const FLOAT* () const +{ + return (const FLOAT*)&x; +} + +inline D3DXQUATERNION& D3DXQUATERNION::operator += (const D3DXQUATERNION& quat) +{ + x += quat.x; + y += quat.y; + z += quat.z; + w += quat.w; + return *this; +} + +inline D3DXQUATERNION& D3DXQUATERNION::operator -= (const D3DXQUATERNION& quat) +{ + x -= quat.x; + y -= quat.y; + z -= quat.z; + w -= quat.w; + return *this; +} + +inline D3DXQUATERNION& D3DXQUATERNION::operator *= (const D3DXQUATERNION& quat) +{ + D3DXQuaternionMultiply(this, this, &quat); + return *this; +} + +inline D3DXQUATERNION& D3DXQUATERNION::operator *= (FLOAT f) +{ + x *= f; + y *= f; + z *= f; + w *= f; + return *this; +} + +inline D3DXQUATERNION& D3DXQUATERNION::operator /= (FLOAT f) +{ + FLOAT inv = 1.0f / f; + x *= inv; + y *= inv; + z *= inv; + w *= inv; + return *this; +} + +inline D3DXQUATERNION D3DXQUATERNION::operator + () const +{ + return *this; +} + +inline D3DXQUATERNION D3DXQUATERNION::operator - () const +{ + return D3DXQUATERNION(-x, -y, -z, -w); +} + +inline D3DXQUATERNION D3DXQUATERNION::operator + (const D3DXQUATERNION& quat) const +{ + return D3DXQUATERNION(x + quat.x, y + quat.y, z + quat.z, w + quat.w); +} + +inline D3DXQUATERNION D3DXQUATERNION::operator - (const D3DXQUATERNION& quat) const +{ + return D3DXQUATERNION(x - quat.x, y - quat.y, z - quat.z, w - quat.w); +} + +inline D3DXQUATERNION D3DXQUATERNION::operator * (const D3DXQUATERNION& quat) const +{ + D3DXQUATERNION buf; + D3DXQuaternionMultiply(&buf, this, &quat); + return buf; +} + +inline D3DXQUATERNION D3DXQUATERNION::operator * (FLOAT f) const +{ + return D3DXQUATERNION(x * f, y * f, z * f, w * f); +} + +inline D3DXQUATERNION D3DXQUATERNION::operator / (FLOAT f) const +{ + FLOAT inv = 1.0f / f; + return D3DXQUATERNION(x * inv, y * inv, z * inv, w * inv); +} + +inline D3DXQUATERNION operator * (FLOAT f, const D3DXQUATERNION& quat) +{ + return D3DXQUATERNION(f * quat.x, f * quat.y, f * quat.z, f * quat.w); +} + +inline BOOL D3DXQUATERNION::operator == (const D3DXQUATERNION& quat) const +{ + return x == quat.x && y == quat.y && z == quat.z && w == quat.w; +} + +inline BOOL D3DXQUATERNION::operator != (const D3DXQUATERNION& quat) const +{ + return x != quat.x || y != quat.y || z != quat.z || w != quat.w; +} + +inline D3DXPLANE::D3DXPLANE() +{ +} + +inline D3DXPLANE::D3DXPLANE(const FLOAT *pf) +{ + if(!pf) return; + a = pf[0]; + b = pf[1]; + c = pf[2]; + d = pf[3]; +} + +inline D3DXPLANE::D3DXPLANE(FLOAT fa, FLOAT fb, FLOAT fc, FLOAT fd) +{ + a = fa; + b = fb; + c = fc; + d = fd; +} + +inline D3DXPLANE::operator FLOAT* () +{ + return (FLOAT*)&a; +} + +inline D3DXPLANE::operator const FLOAT* () const +{ + return (const FLOAT*)&a; +} + +inline D3DXPLANE D3DXPLANE::operator + () const +{ + return *this; +} + +inline D3DXPLANE D3DXPLANE::operator - () const +{ + return D3DXPLANE(-a, -b, -c, -d); +} + +inline BOOL D3DXPLANE::operator == (const D3DXPLANE& pl) const +{ + return a == pl.a && b == pl.b && c == pl.c && d == pl.d; +} + +inline BOOL D3DXPLANE::operator != (const D3DXPLANE& pl) const +{ + return a != pl.a || b != pl.b || c != pl.c || d != pl.d; +} + +inline D3DXCOLOR::D3DXCOLOR() +{ +} + +inline D3DXCOLOR::D3DXCOLOR(DWORD col) +{ + const FLOAT f = 1.0f / 255.0f; + r = f * (FLOAT)(unsigned char)(col >> 16); + g = f * (FLOAT)(unsigned char)(col >> 8); + b = f * (FLOAT)(unsigned char)col; + a = f * (FLOAT)(unsigned char)(col >> 24); +} + +inline D3DXCOLOR::D3DXCOLOR(const FLOAT *pf) +{ + if(!pf) return; + r = pf[0]; + g = pf[1]; + b = pf[2]; + a = pf[3]; +} + +inline D3DXCOLOR::D3DXCOLOR(const D3DCOLORVALUE& col) +{ + r = col.r; + g = col.g; + b = col.b; + a = col.a; +} + +inline D3DXCOLOR::D3DXCOLOR(FLOAT fr, FLOAT fg, FLOAT fb, FLOAT fa) +{ + r = fr; + g = fg; + b = fb; + a = fa; +} + +inline D3DXCOLOR::operator DWORD () const +{ + DWORD _r = r >= 1.0f ? 0xff : r <= 0.0f ? 0x00 : (DWORD)(r * 255.0f + 0.5f); + DWORD _g = g >= 1.0f ? 0xff : g <= 0.0f ? 0x00 : (DWORD)(g * 255.0f + 0.5f); + DWORD _b = b >= 1.0f ? 0xff : b <= 0.0f ? 0x00 : (DWORD)(b * 255.0f + 0.5f); + DWORD _a = a >= 1.0f ? 0xff : a <= 0.0f ? 0x00 : (DWORD)(a * 255.0f + 0.5f); + + return (_a << 24) | (_r << 16) | (_g << 8) | _b; +} + +inline D3DXCOLOR::operator FLOAT * () +{ + return (FLOAT*)&r; +} + +inline D3DXCOLOR::operator const FLOAT * () const +{ + return (const FLOAT*)&r; +} + +inline D3DXCOLOR::operator D3DCOLORVALUE * () +{ + return (D3DCOLORVALUE*)&r; +} + +inline D3DXCOLOR::operator const D3DCOLORVALUE * () const +{ + return (const D3DCOLORVALUE*)&r; +} + +inline D3DXCOLOR::operator D3DCOLORVALUE& () +{ + return *((D3DCOLORVALUE*)&r); +} + +inline D3DXCOLOR::operator const D3DCOLORVALUE& () const +{ + return *((const D3DCOLORVALUE*)&r); +} + +inline D3DXCOLOR& D3DXCOLOR::operator += (const D3DXCOLOR& col) +{ + r += col.r; + g += col.g; + b += col.b; + a += col.a; + return *this; +} + +inline D3DXCOLOR& D3DXCOLOR::operator -= (const D3DXCOLOR& col) +{ + r -= col.r; + g -= col.g; + b -= col.b; + a -= col.a; + return *this; +} + +inline D3DXCOLOR& D3DXCOLOR::operator *= (FLOAT f) +{ + r *= f; + g *= f; + b *= f; + a *= f; + return *this; +} + +inline D3DXCOLOR& D3DXCOLOR::operator /= (FLOAT f) +{ + FLOAT inv = 1.0f / f; + r *= inv; + g *= inv; + b *= inv; + a *= inv; + return *this; +} + +inline D3DXCOLOR D3DXCOLOR::operator + () const +{ + return *this; +} + +inline D3DXCOLOR D3DXCOLOR::operator - () const +{ + return D3DXCOLOR(-r, -g, -b, -a); +} + +inline D3DXCOLOR D3DXCOLOR::operator + (const D3DXCOLOR& col) const +{ + return D3DXCOLOR(r + col.r, g + col.g, b + col.b, a + col.a); +} + +inline D3DXCOLOR D3DXCOLOR::operator - (const D3DXCOLOR& col) const +{ + return D3DXCOLOR(r - col.r, g - col.g, b - col.b, a - col.a); +} + +inline D3DXCOLOR D3DXCOLOR::operator * (FLOAT f) const +{ + return D3DXCOLOR(r * f, g * f, b * f, a * f); +} + +inline D3DXCOLOR D3DXCOLOR::operator / (FLOAT f) const +{ + FLOAT inv = 1.0f / f; + return D3DXCOLOR(r * inv, g * inv, b * inv, a * inv); +} + +inline D3DXCOLOR operator * (FLOAT f, const D3DXCOLOR& col) +{ + return D3DXCOLOR(f * col.r, f * col.g, f * col.b, f * col.a); +} + +inline BOOL D3DXCOLOR::operator == (const D3DXCOLOR& col) const +{ + return r == col.r && g == col.g && b == col.b && a == col.a; +} + +inline BOOL D3DXCOLOR::operator != (const D3DXCOLOR& col) const +{ + return r != col.r || g != col.g || b != col.b || a != col.a; +} + +inline D3DXFLOAT16::D3DXFLOAT16() +{ +} + +inline D3DXFLOAT16::D3DXFLOAT16(FLOAT f) +{ + D3DXFloat32To16Array(this, &f, 1); +} + +inline D3DXFLOAT16::D3DXFLOAT16(const D3DXFLOAT16 &f) +{ + value = f.value; +} + +inline D3DXFLOAT16::operator FLOAT () +{ + FLOAT f; + D3DXFloat16To32Array(&f, this, 1); + return f; +} + +inline BOOL D3DXFLOAT16::operator == (const D3DXFLOAT16 &f) const +{ + return value == f.value; +} + +inline BOOL D3DXFLOAT16::operator != (const D3DXFLOAT16 &f) const +{ + return value != f.value; +} + +#endif /* __cplusplus */ + +/*_______________D3DXCOLOR_____________________*/ + +static inline D3DXCOLOR* D3DXColorAdd(D3DXCOLOR *pout, const D3DXCOLOR *pc1, const D3DXCOLOR *pc2) +{ + if ( !pout || !pc1 || !pc2 ) return NULL; + pout->r = (pc1->r) + (pc2->r); + pout->g = (pc1->g) + (pc2->g); + pout->b = (pc1->b) + (pc2->b); + pout->a = (pc1->a) + (pc2->a); + return pout; +} + +static inline D3DXCOLOR* D3DXColorLerp(D3DXCOLOR *pout, const D3DXCOLOR *pc1, const D3DXCOLOR *pc2, FLOAT s) +{ + if ( !pout || !pc1 || !pc2 ) return NULL; + pout->r = (1-s) * (pc1->r) + s *(pc2->r); + pout->g = (1-s) * (pc1->g) + s *(pc2->g); + pout->b = (1-s) * (pc1->b) + s *(pc2->b); + pout->a = (1-s) * (pc1->a) + s *(pc2->a); + return pout; +} + +static inline D3DXCOLOR* D3DXColorModulate(D3DXCOLOR *pout, const D3DXCOLOR *pc1, const D3DXCOLOR *pc2) +{ + if ( !pout || !pc1 || !pc2 ) return NULL; + pout->r = (pc1->r) * (pc2->r); + pout->g = (pc1->g) * (pc2->g); + pout->b = (pc1->b) * (pc2->b); + pout->a = (pc1->a) * (pc2->a); + return pout; +} + +static inline D3DXCOLOR* D3DXColorNegative(D3DXCOLOR *pout, const D3DXCOLOR *pc) +{ + if ( !pout || !pc ) return NULL; + pout->r = 1.0f - pc->r; + pout->g = 1.0f - pc->g; + pout->b = 1.0f - pc->b; + pout->a = pc->a; + return pout; +} + +static inline D3DXCOLOR* D3DXColorScale(D3DXCOLOR *pout, const D3DXCOLOR *pc, FLOAT s) +{ + if ( !pout || !pc ) return NULL; + pout->r = s* (pc->r); + pout->g = s* (pc->g); + pout->b = s* (pc->b); + pout->a = s* (pc->a); + return pout; +} + +static inline D3DXCOLOR* D3DXColorSubtract(D3DXCOLOR *pout, const D3DXCOLOR *pc1, const D3DXCOLOR *pc2) +{ + if ( !pout || !pc1 || !pc2 ) return NULL; + pout->r = (pc1->r) - (pc2->r); + pout->g = (pc1->g) - (pc2->g); + pout->b = (pc1->b) - (pc2->b); + pout->a = (pc1->a) - (pc2->a); + return pout; +} + +/*_______________D3DXVECTOR2________________________*/ + +static inline D3DXVECTOR2* D3DXVec2Add(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x + pv2->x; + pout->y = pv1->y + pv2->y; + return pout; +} + +static inline FLOAT D3DXVec2CCW(const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2) +{ + if ( !pv1 || !pv2) return 0.0f; + return ( (pv1->x) * (pv2->y) - (pv1->y) * (pv2->x) ); +} + +static inline FLOAT D3DXVec2Dot(const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2) +{ + if ( !pv1 || !pv2) return 0.0f; + return ( (pv1->x * pv2->x + pv1->y * pv2->y) ); +} + +static inline FLOAT D3DXVec2Length(const D3DXVECTOR2 *pv) +{ + if (!pv) return 0.0f; + return sqrtf( pv->x * pv->x + pv->y * pv->y ); +} + +static inline FLOAT D3DXVec2LengthSq(const D3DXVECTOR2 *pv) +{ + if (!pv) return 0.0f; + return( (pv->x) * (pv->x) + (pv->y) * (pv->y) ); +} + +static inline D3DXVECTOR2* D3DXVec2Lerp(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2, FLOAT s) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = (1-s) * (pv1->x) + s * (pv2->x); + pout->y = (1-s) * (pv1->y) + s * (pv2->y); + return pout; +} + +static inline D3DXVECTOR2* D3DXVec2Maximize(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x > pv2->x ? pv1->x : pv2->x; + pout->y = pv1->y > pv2->y ? pv1->y : pv2->y; + return pout; +} + +static inline D3DXVECTOR2* D3DXVec2Minimize(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x < pv2->x ? pv1->x : pv2->x; + pout->y = pv1->y < pv2->y ? pv1->y : pv2->y; + return pout; +} + +static inline D3DXVECTOR2* D3DXVec2Scale(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv, FLOAT s) +{ + if ( !pout || !pv) return NULL; + pout->x = s * (pv->x); + pout->y = s * (pv->y); + return pout; +} + +static inline D3DXVECTOR2* D3DXVec2Subtract(D3DXVECTOR2 *pout, const D3DXVECTOR2 *pv1, const D3DXVECTOR2 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x - pv2->x; + pout->y = pv1->y - pv2->y; + return pout; +} + +/*__________________D3DXVECTOR3_______________________*/ + +static inline D3DXVECTOR3* D3DXVec3Add(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x + pv2->x; + pout->y = pv1->y + pv2->y; + pout->z = pv1->z + pv2->z; + return pout; +} + +static inline D3DXVECTOR3* D3DXVec3Cross(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2) +{ + D3DXVECTOR3 temp; + + if ( !pout || !pv1 || !pv2) return NULL; + temp.x = (pv1->y) * (pv2->z) - (pv1->z) * (pv2->y); + temp.y = (pv1->z) * (pv2->x) - (pv1->x) * (pv2->z); + temp.z = (pv1->x) * (pv2->y) - (pv1->y) * (pv2->x); + *pout = temp; + return pout; +} + +static inline FLOAT D3DXVec3Dot(const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2) +{ + if ( !pv1 || !pv2 ) return 0.0f; + return (pv1->x) * (pv2->x) + (pv1->y) * (pv2->y) + (pv1->z) * (pv2->z); +} + +static inline FLOAT D3DXVec3Length(const D3DXVECTOR3 *pv) +{ + if (!pv) return 0.0f; + return sqrtf( pv->x * pv->x + pv->y * pv->y + pv->z * pv->z ); +} + +static inline FLOAT D3DXVec3LengthSq(const D3DXVECTOR3 *pv) +{ + if (!pv) return 0.0f; + return (pv->x) * (pv->x) + (pv->y) * (pv->y) + (pv->z) * (pv->z); +} + +static inline D3DXVECTOR3* D3DXVec3Lerp(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2, FLOAT s) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = (1-s) * (pv1->x) + s * (pv2->x); + pout->y = (1-s) * (pv1->y) + s * (pv2->y); + pout->z = (1-s) * (pv1->z) + s * (pv2->z); + return pout; +} + +static inline D3DXVECTOR3* D3DXVec3Maximize(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x > pv2->x ? pv1->x : pv2->x; + pout->y = pv1->y > pv2->y ? pv1->y : pv2->y; + pout->z = pv1->z > pv2->z ? pv1->z : pv2->z; + return pout; +} + +static inline D3DXVECTOR3* D3DXVec3Minimize(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x < pv2->x ? pv1->x : pv2->x; + pout->y = pv1->y < pv2->y ? pv1->y : pv2->y; + pout->z = pv1->z < pv2->z ? pv1->z : pv2->z; + return pout; +} + +static inline D3DXVECTOR3* D3DXVec3Scale(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv, FLOAT s) +{ + if ( !pout || !pv) return NULL; + pout->x = s * (pv->x); + pout->y = s * (pv->y); + pout->z = s * (pv->z); + return pout; +} + +static inline D3DXVECTOR3* D3DXVec3Subtract(D3DXVECTOR3 *pout, const D3DXVECTOR3 *pv1, const D3DXVECTOR3 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x - pv2->x; + pout->y = pv1->y - pv2->y; + pout->z = pv1->z - pv2->z; + return pout; +} +/*__________________D3DXVECTOR4_______________________*/ + +static inline D3DXVECTOR4* D3DXVec4Add(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x + pv2->x; + pout->y = pv1->y + pv2->y; + pout->z = pv1->z + pv2->z; + pout->w = pv1->w + pv2->w; + return pout; +} + +static inline FLOAT D3DXVec4Dot(const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2) +{ + if (!pv1 || !pv2 ) return 0.0f; + return (pv1->x) * (pv2->x) + (pv1->y) * (pv2->y) + (pv1->z) * (pv2->z) + (pv1->w) * (pv2->w); +} + +static inline FLOAT D3DXVec4Length(const D3DXVECTOR4 *pv) +{ + if (!pv) return 0.0f; + return sqrtf( pv->x * pv->x + pv->y * pv->y + pv->z * pv->z + pv->w * pv->w ); +} + +static inline FLOAT D3DXVec4LengthSq(const D3DXVECTOR4 *pv) +{ + if (!pv) return 0.0f; + return (pv->x) * (pv->x) + (pv->y) * (pv->y) + (pv->z) * (pv->z) + (pv->w) * (pv->w); +} + +static inline D3DXVECTOR4* D3DXVec4Lerp(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2, FLOAT s) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = (1-s) * (pv1->x) + s * (pv2->x); + pout->y = (1-s) * (pv1->y) + s * (pv2->y); + pout->z = (1-s) * (pv1->z) + s * (pv2->z); + pout->w = (1-s) * (pv1->w) + s * (pv2->w); + return pout; +} + + +static inline D3DXVECTOR4* D3DXVec4Maximize(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x > pv2->x ? pv1->x : pv2->x; + pout->y = pv1->y > pv2->y ? pv1->y : pv2->y; + pout->z = pv1->z > pv2->z ? pv1->z : pv2->z; + pout->w = pv1->w > pv2->w ? pv1->w : pv2->w; + return pout; +} + +static inline D3DXVECTOR4* D3DXVec4Minimize(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x < pv2->x ? pv1->x : pv2->x; + pout->y = pv1->y < pv2->y ? pv1->y : pv2->y; + pout->z = pv1->z < pv2->z ? pv1->z : pv2->z; + pout->w = pv1->w < pv2->w ? pv1->w : pv2->w; + return pout; +} + +static inline D3DXVECTOR4* D3DXVec4Scale(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv, FLOAT s) +{ + if ( !pout || !pv) return NULL; + pout->x = s * (pv->x); + pout->y = s * (pv->y); + pout->z = s * (pv->z); + pout->w = s * (pv->w); + return pout; +} + +static inline D3DXVECTOR4* D3DXVec4Subtract(D3DXVECTOR4 *pout, const D3DXVECTOR4 *pv1, const D3DXVECTOR4 *pv2) +{ + if ( !pout || !pv1 || !pv2) return NULL; + pout->x = pv1->x - pv2->x; + pout->y = pv1->y - pv2->y; + pout->z = pv1->z - pv2->z; + pout->w = pv1->w - pv2->w; + return pout; +} + +/*__________________D3DXMatrix____________________*/ +#ifdef NONAMELESSUNION +# define D3DX_U(x) (x).u +#else +# define D3DX_U(x) (x) +#endif + +static inline D3DXMATRIX* D3DXMatrixIdentity(D3DXMATRIX *pout) +{ + if ( !pout ) return NULL; + D3DX_U(*pout).m[0][1] = 0.0f; + D3DX_U(*pout).m[0][2] = 0.0f; + D3DX_U(*pout).m[0][3] = 0.0f; + D3DX_U(*pout).m[1][0] = 0.0f; + D3DX_U(*pout).m[1][2] = 0.0f; + D3DX_U(*pout).m[1][3] = 0.0f; + D3DX_U(*pout).m[2][0] = 0.0f; + D3DX_U(*pout).m[2][1] = 0.0f; + D3DX_U(*pout).m[2][3] = 0.0f; + D3DX_U(*pout).m[3][0] = 0.0f; + D3DX_U(*pout).m[3][1] = 0.0f; + D3DX_U(*pout).m[3][2] = 0.0f; + D3DX_U(*pout).m[0][0] = 1.0f; + D3DX_U(*pout).m[1][1] = 1.0f; + D3DX_U(*pout).m[2][2] = 1.0f; + D3DX_U(*pout).m[3][3] = 1.0f; + return pout; +} + +static inline BOOL D3DXMatrixIsIdentity(D3DXMATRIX *pm) +{ + int i,j; + D3DXMATRIX testmatrix; + + if ( !pm ) return FALSE; + D3DXMatrixIdentity(&testmatrix); + for (i=0; i<4; i++) + { + for (j=0; j<4; j++) + { + if ( D3DX_U(*pm).m[i][j] != D3DX_U(testmatrix).m[i][j] ) return FALSE; + } + } + return TRUE; +} +#undef D3DX_U + +/*__________________D3DXPLANE____________________*/ + +static inline FLOAT D3DXPlaneDot(const D3DXPLANE *pp, const D3DXVECTOR4 *pv) +{ + if ( !pp || !pv ) return 0.0f; + return ( (pp->a) * (pv->x) + (pp->b) * (pv->y) + (pp->c) * (pv->z) + (pp->d) * (pv->w) ); +} + +static inline FLOAT D3DXPlaneDotCoord(const D3DXPLANE *pp, const D3DXVECTOR4 *pv) +{ + if ( !pp || !pv ) return 0.0f; + return ( (pp->a) * (pv->x) + (pp->b) * (pv->y) + (pp->c) * (pv->z) + (pp->d) ); +} + +static inline FLOAT D3DXPlaneDotNormal(const D3DXPLANE *pp, const D3DXVECTOR4 *pv) +{ + if ( !pp || !pv ) return 0.0f; + return ( (pp->a) * (pv->x) + (pp->b) * (pv->y) + (pp->c) * (pv->z) ); +} + +/*__________________D3DXQUATERNION____________________*/ + +static inline D3DXQUATERNION* D3DXQuaternionConjugate(D3DXQUATERNION *pout, const D3DXQUATERNION *pq) +{ + if ( !pout || !pq) return NULL; + pout->x = -pq->x; + pout->y = -pq->y; + pout->z = -pq->z; + pout->w = pq->w; + return pout; +} + +static inline FLOAT D3DXQuaternionDot(const D3DXQUATERNION *pq1, const D3DXQUATERNION *pq2) +{ + if ( !pq1 || !pq2 ) return 0.0f; + return (pq1->x) * (pq2->x) + (pq1->y) * (pq2->y) + (pq1->z) * (pq2->z) + (pq1->w) * (pq2->w); +} + +static inline D3DXQUATERNION* D3DXQuaternionIdentity(D3DXQUATERNION *pout) +{ + if ( !pout) return NULL; + pout->x = 0.0f; + pout->y = 0.0f; + pout->z = 0.0f; + pout->w = 1.0f; + return pout; +} + +static inline BOOL D3DXQuaternionIsIdentity(D3DXQUATERNION *pq) +{ + if ( !pq) return FALSE; + return ( (pq->x == 0.0f) && (pq->y == 0.0f) && (pq->z == 0.0f) && (pq->w == 1.0f) ); +} + +static inline FLOAT D3DXQuaternionLength(const D3DXQUATERNION *pq) +{ + if (!pq) return 0.0f; + return sqrtf( pq->x * pq->x + pq->y * pq->y + pq->z * pq->z + pq->w * pq->w ); +} + +static inline FLOAT D3DXQuaternionLengthSq(const D3DXQUATERNION *pq) +{ + if (!pq) return 0.0f; + return (pq->x) * (pq->x) + (pq->y) * (pq->y) + (pq->z) * (pq->z) + (pq->w) * (pq->w); +} + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9mesh.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9mesh.h new file mode 100644 index 0000000..c9a2fd5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9mesh.h @@ -0,0 +1,1058 @@ +/* + * Copyright (C) 2009 David Adam + * Copyright (C) 2010 Tony Wasserka + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __WINE_D3DX9MESH_H +#define __WINE_D3DX9MESH_H + +DEFINE_GUID(IID_ID3DXBaseMesh, 0x7ed943dd, 0x52e8, 0x40b5, 0xa8, 0xd8, 0x76, 0x68, 0x5c, 0x40, 0x63, 0x30); +DEFINE_GUID(IID_ID3DXMesh, 0x4020e5c2, 0x1403, 0x4929, 0x88, 0x3f, 0xe2, 0xe8, 0x49, 0xfa, 0xc1, 0x95); +DEFINE_GUID(IID_ID3DXPMesh, 0x8875769a, 0xd579, 0x4088, 0xaa, 0xeb, 0x53, 0x4d, 0x1a, 0xd8, 0x4e, 0x96); +DEFINE_GUID(IID_ID3DXSPMesh, 0x667ea4c7, 0xf1cd, 0x4386, 0xb5, 0x23, 0x7c, 0x02, 0x90, 0xb8, 0x3c, 0xc5); +DEFINE_GUID(IID_ID3DXSkinInfo, 0x11eaa540, 0xf9a6, 0x4d49, 0xae, 0x6a, 0xe1, 0x92, 0x21, 0xf7, 0x0c, 0xc4); +DEFINE_GUID(IID_ID3DXPatchMesh,0x3ce6cc22, 0xdbf2, 0x44f4, 0x89, 0x4d, 0xf9, 0xc3, 0x4a, 0x33, 0x71, 0x39); +DEFINE_GUID(IID_ID3DXPRTBuffer, 0xf1827e47, 0x00a8, 0x49cd, 0x90, 0x8c, 0x9d, 0x11, 0x95, 0x5f, 0x87, 0x28); +DEFINE_GUID(IID_ID3DXPRTCompBuffer, 0xa758d465, 0xfe8d, 0x45ad, 0x9c, 0xf0, 0xd0, 0x1e, 0x56, 0x26, 0x6a, 0x07); +DEFINE_GUID(IID_ID3DXTextureGutterHelper, 0x838f01ec, 0x9729, 0x4527, 0xaa, 0xdb, 0xdf, 0x70, 0xad, 0xe7, 0xfe, 0xa9); +DEFINE_GUID(IID_ID3DXPRTEngine, 0x683a4278, 0xcd5f, 0x4d24, 0x90, 0xad, 0xc4, 0xe1, 0xb6, 0x85, 0x5d, 0x53); + +#define UNUSED16 (0xffff) +#define UNUSED32 (0xffffffff) + +enum _MAX_FVF_DECL_SIZE +{ + MAX_FVF_DECL_SIZE = MAXD3DDECLLENGTH + 1 +}; + +enum _D3DXMESH +{ + D3DXMESH_32BIT = 0x001, + D3DXMESH_DONOTCLIP = 0x002, + D3DXMESH_POINTS = 0x004, + D3DXMESH_RTPATCHES = 0x008, + D3DXMESH_NPATCHES = 0x4000, + D3DXMESH_VB_SYSTEMMEM = 0x010, + D3DXMESH_VB_MANAGED = 0x020, + D3DXMESH_VB_WRITEONLY = 0x040, + D3DXMESH_VB_DYNAMIC = 0x080, + D3DXMESH_VB_SOFTWAREPROCESSING = 0x8000, + D3DXMESH_IB_SYSTEMMEM = 0x100, + D3DXMESH_IB_MANAGED = 0x200, + D3DXMESH_IB_WRITEONLY = 0x400, + D3DXMESH_IB_DYNAMIC = 0x800, + D3DXMESH_IB_SOFTWAREPROCESSING = 0x10000, + D3DXMESH_VB_SHARE = 0x1000, + D3DXMESH_USEHWONLY = 0x2000, + D3DXMESH_SYSTEMMEM = 0x110, + D3DXMESH_MANAGED = 0x220, + D3DXMESH_WRITEONLY = 0x440, + D3DXMESH_DYNAMIC = 0x880, + D3DXMESH_SOFTWAREPROCESSING = 0x18000 +}; + +enum _D3DXMESHOPT +{ + D3DXMESHOPT_DEVICEINDEPENDENT = 0x00400000, + D3DXMESHOPT_COMPACT = 0x01000000, + D3DXMESHOPT_ATTRSORT = 0x02000000, + D3DXMESHOPT_VERTEXCACHE = 0x04000000, + D3DXMESHOPT_STRIPREORDER = 0x08000000, + D3DXMESHOPT_IGNOREVERTS = 0x10000000, + D3DXMESHOPT_DONOTSPLIT = 0x20000000, +}; + +typedef enum _D3DXPATCHMESHTYPE +{ + D3DXPATCHMESH_RECT = 1, + D3DXPATCHMESH_TRI = 2, + D3DXPATCHMESH_NPATCH = 3, + D3DXPATCHMESH_FORCE_DWORD = 0x7fffffff, +} D3DXPATCHMESHTYPE; + +enum _D3DXPATCHMESH +{ + D3DXPATCHMESH_DEFAULT = 0, +}; + +enum _D3DXMESHSIMP +{ + D3DXMESHSIMP_VERTEX = 0x1, + D3DXMESHSIMP_FACE = 0x2, +}; + +typedef enum D3DXCLEANTYPE { + D3DXCLEAN_BACKFACING = 0x00000001, + D3DXCLEAN_BOWTIES = 0x00000002, + + D3DXCLEAN_SKINNING = D3DXCLEAN_BACKFACING, + D3DXCLEAN_OPTIMIZATION = D3DXCLEAN_BACKFACING, + D3DXCLEAN_SIMPLIFICATION = D3DXCLEAN_BACKFACING | D3DXCLEAN_BOWTIES, +} D3DXCLEANTYPE; + +typedef enum _D3DXTANGENT +{ + D3DXTANGENT_WRAP_U = 0x0001, + D3DXTANGENT_WRAP_V = 0x0002, + D3DXTANGENT_WRAP_UV = 0x0003, + D3DXTANGENT_DONT_NORMALIZE_PARTIALS = 0x0004, + D3DXTANGENT_DONT_ORTHOGONALIZE = 0x0008, + D3DXTANGENT_ORTHOGONALIZE_FROM_V = 0x0010, + D3DXTANGENT_ORTHOGONALIZE_FROM_U = 0x0020, + D3DXTANGENT_WEIGHT_BY_AREA = 0x0040, + D3DXTANGENT_WEIGHT_EQUAL = 0x0080, + D3DXTANGENT_WIND_CW = 0x0100, + D3DXTANGENT_CALCULATE_NORMALS = 0x0200, + D3DXTANGENT_GENERATE_IN_PLACE = 0x0400, +} D3DXTANGENT; + +typedef enum _D3DXIMT +{ + D3DXIMT_WRAP_U = 0x01, + D3DXIMT_WRAP_V = 0x02, + D3DXIMT_WRAP_UV = 0x03, +} D3DXIMT; + +typedef enum _D3DXUVATLAS +{ + D3DXUVATLAS_DEFAULT = 0x00, + D3DXUVATLAS_GEODESIC_FAST = 0x01, + D3DXUVATLAS_GEODESIC_QUALITY = 0x02, +} D3DXUVATLAS; + +typedef enum _D3DXEFFECTDEFAULTTYPE +{ + D3DXEDT_STRING = 1, + D3DXEDT_FLOATS = 2, + D3DXEDT_DWORD = 3, + D3DXEDT_FORCEDWORD = 0x7fffffff, +} D3DXEFFECTDEFAULTTYPE; + +enum _D3DXWELDEPSILONSFLAGS +{ + D3DXWELDEPSILONS_WELDALL = 0x1, + D3DXWELDEPSILONS_WELDPARTIALMATCHES = 0x2, + D3DXWELDEPSILONS_DONOTREMOVEVERTICES = 0x4, + D3DXWELDEPSILONS_DONOTSPLIT = 0x8, +}; + +typedef enum _D3DXSHCOMPRESSQUALITYTYPE +{ + D3DXSHCQUAL_FASTLOWQUALITY = 1, + D3DXSHCQUAL_SLOWHIGHQUALITY = 2, + D3DXSHCQUAL_FORCE_DWORD = 0x7fffffff, +} D3DXSHCOMPRESSQUALITYTYPE; + +typedef enum _D3DXSHGPUSIMOPT +{ + D3DXSHGPUSIMOPT_SHADOWRES256 = 1, + D3DXSHGPUSIMOPT_SHADOWRES512 = 0, + D3DXSHGPUSIMOPT_SHADOWRES1024 = 2, + D3DXSHGPUSIMOPT_SHADOWRES2048 = 3, + D3DXSHGPUSIMOPT_HIGHQUALITY = 4, + D3DXSHGPUSIMOPT_FORCE_DWORD = 0x7fffffff, +} D3DXSHGPUSIMOPT; + +typedef struct ID3DXBaseMesh* LPD3DXBASEMESH; +typedef struct ID3DXMesh* LPD3DXMESH; +typedef struct ID3DXPMesh *LPD3DXPMESH; +typedef struct ID3DXSPMesh *LPD3DXSPMESH; +typedef struct ID3DXSkinInfo *LPD3DXSKININFO; +typedef struct ID3DXPatchMesh *LPD3DXPATCHMESH; +typedef struct ID3DXPRTBuffer *LPD3DXPRTBUFFER; +typedef struct ID3DXPRTCompBuffer *LPD3DXPRTCOMPBUFFER; +typedef struct ID3DXPRTEngine *LPD3DXPRTENGINE; +typedef struct ID3DXTextureGutterHelper *LPD3DXTEXTUREGUTTERHELPER; + +typedef struct _D3DXATTRIBUTERANGE { + DWORD AttribId; + DWORD FaceStart; + DWORD FaceCount; + DWORD VertexStart; + DWORD VertexCount; +} D3DXATTRIBUTERANGE; + +typedef D3DXATTRIBUTERANGE* LPD3DXATTRIBUTERANGE; + +typedef struct _D3DXMATERIAL +{ + D3DMATERIAL9 MatD3D; + char *pTextureFilename; +} D3DXMATERIAL, *LPD3DXMATERIAL; + +typedef struct _D3DXEFFECTDEFAULT +{ + char *pParamName; + D3DXEFFECTDEFAULTTYPE Type; + DWORD NumBytes; + void *pValue; +} D3DXEFFECTDEFAULT, *LPD3DXEFFECTDEFAULT; + +typedef struct _D3DXEFFECTINSTANCE +{ + char *pEffectFilename; + DWORD NumDefaults; + LPD3DXEFFECTDEFAULT pDefaults; +} D3DXEFFECTINSTANCE, *LPD3DXEFFECTINSTANCE; + +typedef struct _D3DXATTRIBUTEWEIGHTS +{ + FLOAT Position; + FLOAT Boundary; + FLOAT Normal; + FLOAT Diffuse; + FLOAT Specular; + FLOAT Texcoords[8]; + FLOAT Tangent; + FLOAT Binormal; +} D3DXATTRIBUTEWEIGHTS, *LPD3DXATTRIBUTEWEIGHTS; + +typedef struct _D3DXWELDEPSILONS +{ + FLOAT Position; + FLOAT BlendWeights; + FLOAT Normals; + FLOAT PSize; + FLOAT Specular; + FLOAT Diffuse; + FLOAT Texcoords[8]; + FLOAT Tangent; + FLOAT Binormal; + FLOAT TessFactor; +} D3DXWELDEPSILONS, *LPD3DXWELDEPSILONS; + +typedef struct _D3DXBONECOMBINATION +{ + DWORD AttribId; + DWORD FaceStart; + DWORD FaceCount; + DWORD VertexStart; + DWORD VertexCout; + DWORD *BoneId; +} D3DXBONECOMBINATION, *LPD3DXBONECOMBINATION; + +typedef struct _D3DXPATCHINFO +{ + D3DXPATCHMESHTYPE PatchType; + D3DDEGREETYPE Degree; + D3DBASISTYPE Basis; +} D3DXPATCHINFO, *LPD3DXPATCHINFO; + +typedef struct _D3DXINTERSECTINFO +{ + DWORD FaceIndex; + FLOAT U; + FLOAT V; + FLOAT Dist; +} D3DXINTERSECTINFO, *LPD3DXINTERSECTINFO; + +typedef struct _D3DXSHMATERIAL +{ + D3DCOLORVALUE Diffuse; + BOOL bMirror; + BOOL bSubSurf; + FLOAT RelativeIndexOfRefraction; + D3DCOLORVALUE Absorption; + D3DCOLORVALUE ReducedScattering; +} D3DXSHMATERIAL; + +typedef struct _D3DXSHPRTSPLITMESHVERTDATA +{ + UINT uVertRemap; + UINT uSubCluster; + UCHAR ucVertStatus; +} D3DXSHPRTSPLITMESHVERTDATA; + +typedef struct _D3DXSHPRTSPLITMESHCLUSTERDATA +{ + UINT uVertStart; + UINT uVertLength; + UINT uFaceStart; + UINT uFaceLength; + UINT uClusterStart; + UINT uClusterLength; +} D3DXSHPRTSPLITMESHCLUSTERDATA; + +typedef struct _XFILECOMPRESSEDANIMATIONSET +{ + DWORD CompressedBlockSize; + FLOAT TicksPerSec; + DWORD PlaybackType; + DWORD BufferLength; +} XFILECOMPRESSEDANIMATIONSET; + +typedef HRESULT (WINAPI *LPD3DXUVATLASCB)(float complete, void *ctx); +typedef HRESULT (WINAPI *LPD3DXIMTSIGNALCALLBACK)(const D3DXVECTOR2 *, UINT, UINT, void *, FLOAT *); +typedef HRESULT (WINAPI *LPD3DXSHPRTSIMCB)(float complete, void *ctx); + +#undef INTERFACE +#define INTERFACE ID3DXBaseMesh + +DECLARE_INTERFACE_(ID3DXBaseMesh, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBaseMesh ***/ + STDMETHOD(DrawSubset)(THIS_ DWORD attrib_id) PURE; + STDMETHOD_(DWORD, GetNumFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetNumVertices)(THIS) PURE; + STDMETHOD_(DWORD, GetFVF)(THIS) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + STDMETHOD_(DWORD, GetNumBytesPerVertex)(THIS) PURE; + STDMETHOD_(DWORD, GetOptions)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(CloneMeshFVF)(THIS_ DWORD options, DWORD fvf, + struct IDirect3DDevice9 *device, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(GetVertexBuffer)(THIS_ struct IDirect3DVertexBuffer9 **vertex_buffer) PURE; + STDMETHOD(GetIndexBuffer)(THIS_ struct IDirect3DIndexBuffer9 **index_buffer) PURE; + STDMETHOD(LockVertexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockVertexBuffer)(THIS) PURE; + STDMETHOD(LockIndexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockIndexBuffer)(THIS) PURE; + STDMETHOD(GetAttributeTable)(THIS_ D3DXATTRIBUTERANGE* attrib_table, DWORD* attrib_table_size) PURE; + STDMETHOD(ConvertPointRepsToAdjacency)(THIS_ const DWORD *point_reps, DWORD *adjacency) PURE; + STDMETHOD(ConvertAdjacencyToPointReps)(THIS_ const DWORD *adjacency, DWORD *point_reps) PURE; + STDMETHOD(GenerateAdjacency)(THIS_ FLOAT epsilon, DWORD* adjacency) PURE; + STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXMesh +DECLARE_INTERFACE_(ID3DXMesh, ID3DXBaseMesh) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBaseMesh ***/ + STDMETHOD(DrawSubset)(THIS_ DWORD attrib_id) PURE; + STDMETHOD_(DWORD, GetNumFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetNumVertices)(THIS) PURE; + STDMETHOD_(DWORD, GetFVF)(THIS) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + STDMETHOD_(DWORD, GetNumBytesPerVertex)(THIS) PURE; + STDMETHOD_(DWORD, GetOptions)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(CloneMeshFVF)(THIS_ DWORD options, DWORD fvf, + struct IDirect3DDevice9 *device, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(GetVertexBuffer)(THIS_ struct IDirect3DVertexBuffer9 **vertex_buffer) PURE; + STDMETHOD(GetIndexBuffer)(THIS_ struct IDirect3DIndexBuffer9 **index_buffer) PURE; + STDMETHOD(LockVertexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockVertexBuffer)(THIS) PURE; + STDMETHOD(LockIndexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockIndexBuffer)(THIS) PURE; + STDMETHOD(GetAttributeTable)(THIS_ D3DXATTRIBUTERANGE* attrib_table, DWORD* attrib_table_size) PURE; + STDMETHOD(ConvertPointRepsToAdjacency)(THIS_ const DWORD *point_reps, DWORD *adjacency) PURE; + STDMETHOD(ConvertAdjacencyToPointReps)(THIS_ const DWORD *adjacency, DWORD *point_reps) PURE; + STDMETHOD(GenerateAdjacency)(THIS_ FLOAT epsilon, DWORD* adjacency) PURE; + STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + /*** ID3DXMesh ***/ + STDMETHOD(LockAttributeBuffer)(THIS_ DWORD flags, DWORD** data) PURE; + STDMETHOD(UnlockAttributeBuffer)(THIS) PURE; + STDMETHOD(Optimize)(THIS_ DWORD flags, const DWORD *adjacency_in, DWORD *adjacency_out, + DWORD *face_remap, ID3DXBuffer **vertex_remap, ID3DXMesh **opt_mesh) PURE; + STDMETHOD(OptimizeInplace)(THIS_ DWORD flags, const DWORD *adjacency_in, DWORD *adjacency_out, + DWORD *face_remap, ID3DXBuffer **vertex_remap) PURE; + STDMETHOD(SetAttributeTable)(THIS_ const D3DXATTRIBUTERANGE *attrib_table, + DWORD attrib_table_size) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXPMesh +DECLARE_INTERFACE_(ID3DXPMesh, ID3DXBaseMesh) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBaseMesh ***/ + STDMETHOD(DrawSubset)(THIS_ DWORD attrib_id) PURE; + STDMETHOD_(DWORD, GetNumFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetNumVertices)(THIS) PURE; + STDMETHOD_(DWORD, GetFVF)(THIS) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + STDMETHOD_(DWORD, GetNumBytesPerVertex)(THIS) PURE; + STDMETHOD_(DWORD, GetOptions)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(CloneMeshFVF)(THIS_ DWORD options, DWORD fvf, + struct IDirect3DDevice9 *device, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(GetVertexBuffer)(THIS_ struct IDirect3DVertexBuffer9 **vertex_buffer) PURE; + STDMETHOD(GetIndexBuffer)(THIS_ struct IDirect3DIndexBuffer9 **index_buffer) PURE; + STDMETHOD(LockVertexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockVertexBuffer)(THIS) PURE; + STDMETHOD(LockIndexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockIndexBuffer)(THIS) PURE; + STDMETHOD(GetAttributeTable)(THIS_ D3DXATTRIBUTERANGE* attrib_table, DWORD* attrib_table_size) PURE; + STDMETHOD(ConvertPointRepsToAdjacency)(THIS_ const DWORD *point_reps, DWORD *adjacency) PURE; + STDMETHOD(ConvertAdjacencyToPointReps)(THIS_ const DWORD *adjacency, DWORD *point_reps) PURE; + STDMETHOD(GenerateAdjacency)(THIS_ FLOAT epsilon, DWORD* adjacency) PURE; + STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + /*** ID3DXPMesh ***/ + STDMETHOD(ClonePMeshFVF)(THIS_ DWORD options, DWORD fvf, + struct IDirect3DDevice9 *device, struct ID3DXPMesh **clone_mesh) PURE; + STDMETHOD(ClonePMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, struct ID3DXPMesh **clone_mesh) PURE; + STDMETHOD(SetNumFaces)(THIS_ DWORD faces) PURE; + STDMETHOD(SetNumVertices)(THIS_ DWORD vertices) PURE; + STDMETHOD_(DWORD, GetMaxFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetMinFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetMaxVertices)(THIS) PURE; + STDMETHOD_(DWORD, GetMinVertices)(THIS) PURE; + STDMETHOD(Save)(THIS_ IStream *stream, const D3DXMATERIAL *material, + const D3DXEFFECTINSTANCE *effect_instance, DWORD num_materials) PURE; + STDMETHOD(Optimize)(THIS_ DWORD flags, DWORD *adjacency_out, DWORD *face_remap, + ID3DXBuffer **vertex_remap, ID3DXMesh **opt_mesh) PURE; + STDMETHOD(OptimizeBaseLOD)(THIS_ DWORD flags, DWORD* face_remap) PURE; + STDMETHOD(TrimByFaces)(THIS_ DWORD new_faces_min, DWORD new_faces_max, DWORD* face_remap, DWORD* vertex_remap) PURE; + STDMETHOD(TrimByVertices)(THIS_ DWORD new_vertices_min, DWORD new_vertices_max, DWORD* face_remap, DWORD* vertex_remap) PURE; + STDMETHOD(GetAdjacency)(THIS_ DWORD* adjacency) PURE; + STDMETHOD(GenerateVertexHistory)(THIS_ DWORD* vertex_history) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXSPMesh +DECLARE_INTERFACE_(ID3DXSPMesh, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXSPMesh ***/ + STDMETHOD_(DWORD, GetNumFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetNumVertices)(THIS) PURE; + STDMETHOD_(DWORD, GetNumFVF)(THIS) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + STDMETHOD_(DWORD, GetOptions)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(CloneMeshFVF)(THIS_ DWORD options, DWORD fvf, + struct IDirect3DDevice9 *device, DWORD *adjacency_out, + DWORD *vertex_remap_out, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, DWORD *adjacency_out, + DWORD *vertex_remap_out, struct ID3DXMesh **clone_mesh) PURE; + STDMETHOD(ClonePMeshFVF)(THIS_ DWORD options, DWORD fvf, + struct IDirect3DDevice9 *device, DWORD *vertex_remap_out, + float *errors_by_face, struct ID3DXPMesh **clone_mesh) PURE; + STDMETHOD(ClonePMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, DWORD *vertex_remap_out, + float *errors_by_face, struct ID3DXPMesh **clone_mesh) PURE; + STDMETHOD(ReduceFaces)(THIS_ DWORD faces) PURE; + STDMETHOD(ReduceVertices)(THIS_ DWORD vertices) PURE; + STDMETHOD_(DWORD, GetMaxFaces)(THIS) PURE; + STDMETHOD_(DWORD, GetMaxVertices)(THIS) PURE; + STDMETHOD(GetVertexAttributeWeights)(THIS_ LPD3DXATTRIBUTEWEIGHTS vertex_attribute_weights) PURE; + STDMETHOD(GetVertexWeights)(THIS_ FLOAT* vertex_weights) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXPatchMesh +DECLARE_INTERFACE_(ID3DXPatchMesh, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXPatchMesh ***/ + STDMETHOD_(DWORD, GetNumPatches)(THIS) PURE; + STDMETHOD_(DWORD, GetNumVertices)(THIS) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + STDMETHOD_(DWORD, GetControlVerticesPerPatch)(THIS) PURE; + STDMETHOD_(DWORD, GetOptions)(THIS) PURE; + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD(GetPatchInfo)(THIS_ LPD3DXPATCHINFO patch_info) PURE; + STDMETHOD(GetVertexBuffer)(THIS_ struct IDirect3DVertexBuffer9 **vertex_buffer) PURE; + STDMETHOD(GetIndexBuffer)(THIS_ struct IDirect3DIndexBuffer9 **index_buffer) PURE; + STDMETHOD(LockVertexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockVertexBuffer)(THIS) PURE; + STDMETHOD(LockIndexBuffer)(THIS_ DWORD flags, void **data) PURE; + STDMETHOD(UnlockIndexBuffer)(THIS) PURE; + STDMETHOD(LockAttributeBuffer)(THIS_ DWORD flags, DWORD** data) PURE; + STDMETHOD(UnlockAttributeBuffer)(THIS) PURE; + STDMETHOD(GetTessSize)(THIS_ FLOAT tess_level, DWORD adaptive, DWORD* num_triangles, DWORD* num_vertices) PURE; + STDMETHOD(GenerateAdjacency)(THIS_ FLOAT tolerance) PURE; + STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration, ID3DXPatchMesh **clone_mesh) PURE; + STDMETHOD(Optimize)(THIS_ DWORD flags) PURE; + STDMETHOD(SetDisplaceParam)(THIS_ struct IDirect3DBaseTexture9 *texture, D3DTEXTUREFILTERTYPE min_filter, + D3DTEXTUREFILTERTYPE mag_filter, D3DTEXTUREFILTERTYPE mip_filter, D3DTEXTUREADDRESS wrap, + DWORD lod_bias) PURE; + STDMETHOD(GetDisplaceParam)(THIS_ struct IDirect3DBaseTexture9 **texture, D3DTEXTUREFILTERTYPE *min_filter, + D3DTEXTUREFILTERTYPE *mag_filter, D3DTEXTUREFILTERTYPE *mip_filter, D3DTEXTUREADDRESS *wrap, + DWORD *lod_bias) PURE; + STDMETHOD(Tessellate)(THIS_ float tess_level, ID3DXMesh *mesh) PURE; + STDMETHOD(TessellateAdaptive)(THIS_ const D3DXVECTOR4 *trans, DWORD max_tess_level, + DWORD min_tess_level, ID3DXMesh *mesh) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXSkinInfo +DECLARE_INTERFACE_(ID3DXSkinInfo, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXSkinInfo ***/ + STDMETHOD(SetBoneInfluence)(THIS_ DWORD bone, DWORD num_influences, const DWORD *vertices, + const FLOAT *weights) PURE; + STDMETHOD(SetBoneVertexInfluence)(THIS_ DWORD bone_num, DWORD influence_num, float weight) PURE; + STDMETHOD_(DWORD, GetNumBoneInfluences)(THIS_ DWORD bone) PURE; + STDMETHOD(GetBoneInfluence)(THIS_ DWORD bone, DWORD* vertices, FLOAT* weights) PURE; + STDMETHOD(GetBoneVertexInfluence)(THIS_ DWORD bone_num, DWORD influence_num, float *weight, DWORD* vertex_num) PURE; + STDMETHOD(GetMaxVertexInfluences)(THIS_ DWORD* max_vertex_influences) PURE; + STDMETHOD_(DWORD, GetNumBones)(THIS) PURE; + STDMETHOD(FindBoneVertexInfluenceIndex)(THIS_ DWORD bone_num, DWORD vertex_num, DWORD* influence_index) PURE; + STDMETHOD(GetMaxFaceInfluences)(THIS_ struct IDirect3DIndexBuffer9 *index_buffer, + DWORD num_faces, DWORD *max_face_influences) PURE; + STDMETHOD(SetMinBoneInfluence)(THIS_ FLOAT min_influence) PURE; + STDMETHOD_(FLOAT, GetMinBoneInfluence)(THIS) PURE; + STDMETHOD(SetBoneName)(THIS_ DWORD bone_idx, const char *name) PURE; + STDMETHOD_(const char *, GetBoneName)(THIS_ DWORD bone_idx) PURE; + STDMETHOD(SetBoneOffsetMatrix)(THIS_ DWORD bone, const D3DXMATRIX *bone_transform) PURE; + STDMETHOD_(D3DXMATRIX *, GetBoneOffsetMatrix)(THIS_ DWORD bone) PURE; + STDMETHOD(Clone)(THIS_ ID3DXSkinInfo **skin_info) PURE; + STDMETHOD(Remap)(THIS_ DWORD num_vertices, DWORD* vertex_remap) PURE; + STDMETHOD(SetFVF)(THIS_ DWORD FVF) PURE; + STDMETHOD(SetDeclaration)(THIS_ const D3DVERTEXELEMENT9 *declaration) PURE; + STDMETHOD_(DWORD, GetFVF)(THIS) PURE; + STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE; + STDMETHOD(UpdateSkinnedMesh)(THIS_ const D3DXMATRIX *bone_transforms, + const D3DXMATRIX *bone_inv_transpose_transforms, const void *src_vertices, void *dst_vertices) PURE; + STDMETHOD(ConvertToBlendedMesh)(THIS_ ID3DXMesh *mesh_in, DWORD options, const DWORD *adjacency_in, + DWORD *adjacency_out, DWORD *face_remap, ID3DXBuffer **vertex_remap, DWORD *max_face_infl, + DWORD *num_bone_combinations, ID3DXBuffer **bone_combination_table, ID3DXMesh **mesh_out) PURE; + STDMETHOD(ConvertToIndexedBlendedMesh)(THIS_ ID3DXMesh *mesh_in, DWORD options, DWORD palette_size, + const DWORD *adjacency_in, DWORD *adjacency_out, DWORD *face_remap, ID3DXBuffer **vertex_remap, + DWORD *max_face_infl, DWORD *num_bone_combinations, ID3DXBuffer **bone_combination_table, + ID3DXMesh **mesh_out) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXPRTBuffer +DECLARE_INTERFACE_(ID3DXPRTBuffer, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXPRTBuffer methods ***/ + STDMETHOD_(UINT, GetNumSamples)(THIS) PURE; + STDMETHOD_(UINT, GetNumCoeffs)(THIS) PURE; + STDMETHOD_(UINT, GetNumChannels)(THIS) PURE; + STDMETHOD_(BOOL, IsTexture)(THIS) PURE; + STDMETHOD_(BOOL, GetWidth)(THIS) PURE; + STDMETHOD_(BOOL, GetHeight)(THIS) PURE; + STDMETHOD(Resize)(THIS_ UINT new_size) PURE; + STDMETHOD(LockBuffer)(THIS_ UINT start, UINT num_samples, FLOAT **data) PURE; + STDMETHOD(UnlockBuffer)(THIS) PURE; + STDMETHOD(ScaleBuffer)(THIS_ FLOAT scale) PURE; + STDMETHOD(AddBuffer)(THIS_ ID3DXPRTBuffer *buffer) PURE; + STDMETHOD(AttachGH)(THIS_ struct ID3DXTextureGutterHelper *gh) PURE; + STDMETHOD(ReleaseGH)(THIS) PURE; + STDMETHOD(EvalGH)(THIS) PURE; + STDMETHOD(ExtractTexture)(THIS_ UINT channel, UINT start_coefficient, + UINT num_coefficients, struct IDirect3DTexture9 *texture) PURE; + STDMETHOD(ExtractToMesh)(THIS_ UINT num_coefficients, D3DDECLUSAGE usage, + UINT usage_index_start, ID3DXMesh *scene) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXPRTCompBuffer +DECLARE_INTERFACE_(ID3DXPRTCompBuffer, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXPRTCompBuffer methods ***/ + STDMETHOD_(UINT, GetNumSamples)(THIS) PURE; + STDMETHOD_(UINT, GetNumCoeffs)(THIS) PURE; + STDMETHOD_(UINT, GetNumChannels)(THIS) PURE; + STDMETHOD_(BOOL, IsTexture)(THIS) PURE; + STDMETHOD_(UINT, GetWidth)(THIS) PURE; + STDMETHOD_(UINT, GetHeight)(THIS) PURE; + STDMETHOD_(UINT, GetNumClusters)(THIS) PURE; + STDMETHOD_(UINT, GetNumPCA)(THIS) PURE; + STDMETHOD(NormalizeData)(THIS) PURE; + STDMETHOD(ExtractBasis)(THIS_ UINT cluster, FLOAT *cluster_basis) PURE; + STDMETHOD(ExtractClusterIDs)(THIS_ UINT *cluster_ids) PURE; + STDMETHOD(ExtractPCA)(THIS_ UINT start_pca, UINT num_extract, FLOAT *pca_coefficients) PURE; + STDMETHOD(ExtractTexture)(THIS_ UINT start_pca, UINT num_pca, struct IDirect3DTexture9 *texture) PURE; + STDMETHOD(ExtractToMesh)(THIS_ UINT num_pca, D3DDECLUSAGE usage, UINT usage_index_start, ID3DXMesh *scene) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXTextureGutterHelper +DECLARE_INTERFACE_(ID3DXTextureGutterHelper, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXTextureGutterHelper methods ***/ + STDMETHOD_(UINT, GetWidth)(THIS) PURE; + STDMETHOD_(UINT, GetHeight)(THIS) PURE; + + STDMETHOD(ApplyGuttersFloat)(THIS_ FLOAT *data_in, UINT num_coeffs, UINT width, UINT height) PURE; + STDMETHOD(ApplyGuttersTex)(THIS_ struct IDirect3DTexture9 *texture) PURE; + STDMETHOD(ApplyGuttersPRT)(THIS_ ID3DXPRTBuffer *buffer) PURE; + STDMETHOD(ResampleTex)(THIS_ struct IDirect3DTexture9 *texture_in, struct ID3DXMesh *mesh_in, + D3DDECLUSAGE usage, UINT usage_index, struct IDirect3DTexture9 *texture_out) PURE; + STDMETHOD(GetFaceMap)(THIS_ UINT *face_data) PURE; + STDMETHOD(GetBaryMap)(THIS_ D3DXVECTOR2 *bary_data) PURE; + STDMETHOD(GetTexelMap)(THIS_ D3DXVECTOR2 *texel_data) PURE; + STDMETHOD(GetGutterMap)(THIS_ BYTE *gutter_data) PURE; + STDMETHOD(SetFaceMap)(THIS_ UINT *face_data) PURE; + STDMETHOD(SetBaryMap)(THIS_ D3DXVECTOR2 *bary_data) PURE; + STDMETHOD(SetTexelMap)(THIS_ D3DXVECTOR2 *texel_data) PURE; + STDMETHOD(SetGutterMap)(THIS_ BYTE *gutter_data) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXPRTEngine +DECLARE_INTERFACE_(ID3DXPRTEngine, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXPRTEngine methods ***/ + STDMETHOD(SetMeshMaterials)(THIS_ const D3DXSHMATERIAL **materials, UINT num_meshes, + UINT num_channels, BOOL set_albedo, FLOAT length_scale) PURE; + STDMETHOD(SetPerVertexAlbedo)(THIS_ const void *data_in, UINT num_channels, UINT stride) PURE; + STDMETHOD(SetPerTexelAlbedo)(THIS_ struct IDirect3DTexture9 *albedo_texture, + UINT num_channels, struct ID3DXTextureGutterHelper *gh) PURE; + STDMETHOD(GetVertexAlbedo)(THIS_ D3DXCOLOR *vert_colors, UINT num_verts) PURE; + STDMETHOD(SetPerTexelNormals)(THIS_ struct IDirect3DTexture9 *normal_texture) PURE; + STDMETHOD(ExtractPerVertexAlbedo)(THIS_ ID3DXMesh *mesh, D3DDECLUSAGE usage, UINT num_channels) PURE; + STDMETHOD(ResampleBuffer)(THIS_ ID3DXPRTBuffer *buffer_in, ID3DXPRTBuffer *buffer_out) PURE; + STDMETHOD(GetAdaptedMesh)(THIS_ struct IDirect3DDevice9 *device, UINT *face_remap, + UINT *vert_remap, float *vert_weights, struct ID3DXMesh **mesh) PURE; + STDMETHOD_(UINT, GetNumVerts)(THIS) PURE; + STDMETHOD_(UINT, GetNumFaces)(THIS) PURE; + STDMETHOD(SetMinMaxIntersection)(THIS_ FLOAT min, FLOAT max) PURE; + STDMETHOD(RobustMeshRefine)(THIS_ FLOAT min_edge_length, UINT max_subdiv) PURE; + STDMETHOD(SetSamplingInfo)(THIS_ UINT num_rays, BOOL use_sphere, + BOOL use_cosine, BOOL adaptive, FLOAT adpative_thresh) PURE; + STDMETHOD(ComputeDirectLightingSH)(THIS_ UINT sh_order, ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ComputeDirectLightingSHAdaptive)(THIS_ UINT sh_order, float adaptive_thresh, + float min_edge_length, UINT max_subdiv, ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ComputeDirectLightingSHGPU)(THIS_ struct IDirect3DDevice9 *device, UINT flags, + UINT sh_order, float zbias, float zangle_bias, struct ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ComputeSS)(THIS_ ID3DXPRTBuffer *data_in, ID3DXPRTBuffer *data_out, + ID3DXPRTBuffer *data_total) PURE; + STDMETHOD(ComputeSSAdaptive)(THIS_ ID3DXPRTBuffer *data_in, float adaptive_thres, + float min_edge_length, UINT max_subdiv, ID3DXPRTBuffer *data_out, ID3DXPRTBuffer *data_total) PURE; + STDMETHOD(ComputeBounce)(THIS_ ID3DXPRTBuffer *data_in, ID3DXPRTBuffer *data_out, + ID3DXPRTBuffer *data_total) PURE; + STDMETHOD(ComputeBounceAdaptive)(THIS_ ID3DXPRTBuffer *data_in, float adaptive_thres, + float min_edge_length, UINT max_subdiv, ID3DXPRTBuffer *data_out, ID3DXPRTBuffer *data_total) PURE; + STDMETHOD(ComputeVolumeSamplesDirectSH)(THIS_ UINT sh_order_in, UINT sh_order_out, + UINT num_vol_samples, const D3DXVECTOR3 *sample_locs, ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ComputeVolumeSamples)(THIS_ ID3DXPRTBuffer *surf_data_in, UINT sh_order, + UINT num_vol_samples, const D3DXVECTOR3 *sample_locs, ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ComputeSurfSamplesDirectSH)(THIS_ UINT sh_order, UINT num_samples, + const D3DXVECTOR3 *sample_locs, const D3DXVECTOR3 *sample_norms, ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ComputeSurfSamplesBounce)(THIS_ ID3DXPRTBuffer *surf_data_in, UINT num_samples, + const D3DXVECTOR3 *sample_locs, const D3DXVECTOR3 *sample_norms, ID3DXPRTBuffer *data_out, + ID3DXPRTBuffer *data_total) PURE; + STDMETHOD(FreeSSData)(THIS) PURE; + STDMETHOD(FreeBounceData)(THIS) PURE; + STDMETHOD(ComputeLDPRTCoeffs)(THIS_ ID3DXPRTBuffer *data_in, UINT sh_order, D3DXVECTOR3 *norm_out, + ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(ScaleMeshChunk)(THIS_ UINT mesh_chunk, float scale, ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(MultiplyAlbedo)(THIS_ ID3DXPRTBuffer *data_out) PURE; + STDMETHOD(SetCallback)(THIS_ LPD3DXSHPRTSIMCB cb, float frequency, void *user_context) PURE; + STDMETHOD_(BOOL, ShadowRayIntersects)(THIS_ const D3DXVECTOR3 *ray_pos, + const D3DXVECTOR3 *ray_dir) PURE; + STDMETHOD_(BOOL, ClosestRayIntersects)(THIS_ const D3DXVECTOR3 *ray_pos, + const D3DXVECTOR3 *ray_dir, DWORD *face_index, FLOAT *u, FLOAT *v, FLOAT *dist) PURE; +}; +#undef INTERFACE + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DXCreateMesh(DWORD face_count, DWORD vertex_count, DWORD flags, + const D3DVERTEXELEMENT9 *declaration, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXCreateMeshFVF(DWORD face_count, DWORD vertex_count, DWORD flags, + DWORD fvf, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXCreateBuffer(DWORD size, ID3DXBuffer **buffer); +HRESULT WINAPI D3DXCreateSPMesh(ID3DXMesh *mesh, const DWORD *adjacency, + const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, ID3DXSPMesh **spmesh); +HRESULT WINAPI D3DXCreatePMeshFromStream(struct IStream *stream, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXPMesh **mesh); +HRESULT WINAPI D3DXCreateSkinInfo(DWORD vertex_count, const D3DVERTEXELEMENT9 *declaration, + DWORD bone_count, ID3DXSkinInfo **skin_info); +HRESULT WINAPI D3DXCreateSkinInfoFVF(DWORD vertex_count, DWORD fvf, DWORD bone_count, ID3DXSkinInfo **skin_info); +HRESULT WINAPI D3DXCreateSkinInfoFromBlendedMesh(ID3DXBaseMesh *mesh, DWORD bone_count, + const D3DXBONECOMBINATION *bone_combination_table, ID3DXSkinInfo **skin_info); +HRESULT WINAPI D3DXCreatePatchMesh(const D3DXPATCHINFO *patch_info, DWORD patch_count, + DWORD vertex_count, DWORD flags, const D3DVERTEXELEMENT9 *declaration, + struct IDirect3DDevice9 *device, struct ID3DXPatchMesh **mesh); +HRESULT WINAPI D3DXCreatePRTBuffer(UINT sample_count, UINT coeff_count, UINT channel_count, ID3DXPRTBuffer **buffer); +HRESULT WINAPI D3DXCreatePRTBufferTex(UINT width, UINT height, UINT coeff_count, + UINT channel_count, ID3DXPRTBuffer **buffer); +HRESULT WINAPI D3DXCreatePRTCompBuffer(D3DXSHCOMPRESSQUALITYTYPE quality, UINT cluster_count, UINT pca_count, + LPD3DXSHPRTSIMCB cb, void *ctx, ID3DXPRTBuffer *input, ID3DXPRTCompBuffer **buffer); +HRESULT WINAPI D3DXCreateTextureGutterHelper(UINT width, UINT height, ID3DXMesh *mesh, + float gutter_size, ID3DXTextureGutterHelper **gh); +HRESULT WINAPI D3DXCreatePRTEngine(ID3DXMesh *mesh, DWORD *adjacency, BOOL extract_uv, + ID3DXMesh *blocker_mesh, ID3DXPRTEngine **engine); +HRESULT WINAPI D3DXLoadMeshFromXA(const char *filename, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXLoadMeshFromXW(const WCHAR *filename, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXMesh **mesh); +#define D3DXLoadMeshFromX WINELIB_NAME_AW(D3DXLoadMeshFromX) +HRESULT WINAPI D3DXLoadMeshFromXInMemory(const void *data, DWORD data_size, DWORD flags, + struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, + struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXLoadMeshFromXResource(HMODULE module, const char *resource, const char *resource_type, + DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, + struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXLoadMeshFromXof(struct ID3DXFileData *file_data, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXLoadPatchMeshFromXof(struct ID3DXFileData *file_data, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXPatchMesh **mesh); +HRESULT WINAPI D3DXLoadSkinMeshFromXof(struct ID3DXFileData *file_data, DWORD flags, struct IDirect3DDevice9 *device, + struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, + DWORD *material_count, struct ID3DXSkinInfo **skin_info, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXLoadPRTBufferFromFileA(const char *filename, ID3DXPRTBuffer **buffer); +HRESULT WINAPI D3DXLoadPRTBufferFromFileW(const WCHAR *filename, ID3DXPRTBuffer **buffer); +#define D3DXLoadPRTBufferFromFile WINELIB_NAME_AW(D3DXLoadPRTBufferFromFile) +HRESULT WINAPI D3DXLoadPRTCompBufferFromFileA(const char *filename, ID3DXPRTCompBuffer **buffer); +HRESULT WINAPI D3DXLoadPRTCompBufferFromFileW(const WCHAR *filename, ID3DXPRTCompBuffer **buffer); +#define D3DXLoadPRTCompBufferFromFile WINELIB_NAME_AW(D3DXLoadPRTCompBufferFromFile) +HRESULT WINAPI D3DXSaveMeshToXA(const char *filename, ID3DXMesh *mesh, const DWORD *adjacency, + const D3DXMATERIAL *materials, const D3DXEFFECTINSTANCE *effect_instances, DWORD material_count, DWORD format); +HRESULT WINAPI D3DXSaveMeshToXW(const WCHAR *filename, ID3DXMesh *mesh, const DWORD *adjacency, + const D3DXMATERIAL *materials, const D3DXEFFECTINSTANCE *effect_instances, DWORD material_count, DWORD format); +#define D3DXSaveMeshToX WINELIB_NAME_AW(D3DXSaveMeshToX) +HRESULT WINAPI D3DXSavePRTBufferToFileA(const char *filename, ID3DXPRTBuffer *buffer); +HRESULT WINAPI D3DXSavePRTBufferToFileW(const WCHAR *filename, ID3DXPRTBuffer *buffer); +#define D3DXSavePRTBufferToFile WINELIB_NAME_AW(D3DXSavePRTBufferToFile) +HRESULT WINAPI D3DXSavePRTCompBufferToFileA(const char *filename, ID3DXPRTCompBuffer *buffer); +HRESULT WINAPI D3DXSavePRTCompBufferToFileW(const WCHAR *filename, ID3DXPRTCompBuffer *buffer); +#define D3DXSavePRTCompBufferToFile WINELIB_NAME_AW(D3DXSavePRTCompBufferToFile) +UINT WINAPI D3DXGetDeclLength(const D3DVERTEXELEMENT9 *decl); +UINT WINAPI D3DXGetDeclVertexSize(const D3DVERTEXELEMENT9 *decl, DWORD stream_idx); +UINT WINAPI D3DXGetFVFVertexSize(DWORD); +BOOL WINAPI D3DXBoxBoundProbe(const D3DXVECTOR3 *vmin, const D3DXVECTOR3 *vmax, + const D3DXVECTOR3 *ray_pos, const D3DXVECTOR3 *ray_dir); +BOOL WINAPI D3DXSphereBoundProbe(const D3DXVECTOR3 *center, FLOAT radius, + const D3DXVECTOR3 *ray_pos, const D3DXVECTOR3 *ray_dir); +HRESULT WINAPI D3DXCleanMesh(D3DXCLEANTYPE clean_type, ID3DXMesh *mesh_in, const DWORD *adjacency_in, + ID3DXMesh **mesh_out, DWORD *adjacency_out, ID3DXBuffer **errors); +HRESULT WINAPI D3DXConcatenateMeshes(struct ID3DXMesh **meshes, UINT mesh_count, DWORD flags, + const D3DXMATRIX *geometry_matrices, const D3DXMATRIX *texture_matrices, + const D3DVERTEXELEMENT9 *declaration, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh); +HRESULT WINAPI D3DXComputeBoundingBox(const D3DXVECTOR3 *first_pos, DWORD num_vertices, + DWORD stride, D3DXVECTOR3 *vmin, D3DXVECTOR3 *vmax); +HRESULT WINAPI D3DXComputeBoundingSphere(const D3DXVECTOR3 *first_pos, DWORD num_vertices, + DWORD stride, D3DXVECTOR3 *center, FLOAT *radius); +HRESULT WINAPI D3DXComputeIMTFromPerTexelSignal(ID3DXMesh *mesh, DWORD texture_idx, float *texel_signal, + UINT width, UINT height, UINT signal_dimension, UINT component_count, DWORD flags, + LPD3DXUVATLASCB cb, void *ctx, ID3DXBuffer **buffer); +HRESULT WINAPI D3DXComputeIMTFromPerVertexSignal(ID3DXMesh *mesh, const float *vertex_signal, + UINT signal_dimension, UINT signal_stride, DWORD flags, + LPD3DXUVATLASCB cb, void *ctx, ID3DXBuffer **buffer); +HRESULT WINAPI D3DXComputeIMTFromSignal(ID3DXMesh *mesh, DWORD texture_idx, UINT signal_dimension, + float max_uv_distance, DWORD flags, LPD3DXIMTSIGNALCALLBACK signal_cb, void *signal_ctx, + LPD3DXUVATLASCB status_cb, void *status_ctx, ID3DXBuffer **buffer); +HRESULT WINAPI D3DXComputeIMTFromTexture(struct ID3DXMesh *mesh, struct IDirect3DTexture9 *texture, + DWORD texture_idx, DWORD options, LPD3DXUVATLASCB cb, void *ctx, struct ID3DXBuffer **out); +HRESULT WINAPI D3DXComputeNormals(ID3DXBaseMesh *mesh, const DWORD *adjacency); +HRESULT WINAPI D3DXComputeTangentFrameEx(ID3DXMesh *mesh_in, DWORD texture_in_semantic, DWORD texture_in_idx, + DWORD u_partial_out_semantic, DWORD u_partial_out_idx, DWORD v_partial_out_semantic, + DWORD v_partial_out_idx, DWORD normal_out_semantic, DWORD normal_out_idx, DWORD flags, + const DWORD *adjacency, float partial_edge_threshold, float singular_point_threshold, + float normal_edge_threshold, ID3DXMesh **mesh_out, ID3DXBuffer **buffer); +HRESULT WINAPI D3DXComputeTangent(ID3DXMesh *mesh, DWORD stage, DWORD tangent_idx, + DWORD binorm_idx, DWORD wrap, const DWORD *adjacency); +HRESULT WINAPI D3DXConvertMeshSubsetToSingleStrip(struct ID3DXBaseMesh *mesh_in, DWORD attribute_id, + DWORD ib_flags, struct IDirect3DIndexBuffer9 **index_buffer, DWORD *index_count); +HRESULT WINAPI D3DXConvertMeshSubsetToStrips(struct ID3DXBaseMesh *mesh_in, DWORD attribute_id, + DWORD ib_flags, struct IDirect3DIndexBuffer9 **index_buffer, DWORD *index_count, + struct ID3DXBuffer **strip_lengths, DWORD *strip_count); +HRESULT WINAPI D3DXDeclaratorFromFVF(DWORD, D3DVERTEXELEMENT9[MAX_FVF_DECL_SIZE]); +HRESULT WINAPI D3DXFVFFromDeclarator(const D3DVERTEXELEMENT9 *decl, DWORD *fvf); +HRESULT WINAPI D3DXGenerateOutputDecl(D3DVERTEXELEMENT9 *decl_out, const D3DVERTEXELEMENT9 *decl_in); +HRESULT WINAPI D3DXGeneratePMesh(ID3DXMesh *mesh, const DWORD *adjacency, + const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, + DWORD min_value, DWORD flags, ID3DXPMesh **pmesh); +HRESULT WINAPI D3DXIntersect(ID3DXBaseMesh *mesh, const D3DXVECTOR3 *ray_position, const D3DXVECTOR3 *ray_direction, + BOOL *hit, DWORD *face_idx, float *u, float *v, float *distance, ID3DXBuffer **hits, DWORD *hit_count); +HRESULT WINAPI D3DXIntersectSubset(ID3DXBaseMesh *mesh, DWORD attribute_id, const D3DXVECTOR3 *ray_position, + const D3DXVECTOR3 *ray_direction, BOOL *hit, DWORD *face_idx, float *u, float *v, float *distance, + ID3DXBuffer **hits, DWORD *hit_count); +BOOL WINAPI D3DXIntersectTri(const D3DXVECTOR3 *vtx0, const D3DXVECTOR3 *vtx1, + const D3DXVECTOR3 *vtx2, const D3DXVECTOR3 *ray_pos, const D3DXVECTOR3 *ray_dir, FLOAT *u, + FLOAT *v, FLOAT *dist); +HRESULT WINAPI D3DXOptimizeFaces(const void *indices, UINT face_count, + UINT vertex_count, BOOL idx_32bit, DWORD *face_remap); +HRESULT WINAPI D3DXOptimizeVertices(const void *indices, UINT face_count, + UINT vertex_count, BOOL idx_32bit, DWORD *vertex_remap); +HRESULT WINAPI D3DXRectPatchSize(const FLOAT *segment_count, DWORD *num_triangles, + DWORD *num_vertices); +HRESULT WINAPI D3DXSHPRTCompSuperCluster(UINT *cluster_ids, ID3DXMesh *scene, UINT max_cluster_count, + UINT cluster_count, UINT *scluster_ids, UINT *scluster_count); +HRESULT WINAPI D3DXSHPRTCompSplitMeshSC(UINT *cluster_idx, UINT vertex_count, UINT cluster_count, UINT *scluster_ids, + UINT scluster_count, void *index_buffer_in, BOOL ib_in_32bit, UINT face_count, ID3DXBuffer **index_buffer_out, + UINT *index_buffer_size, BOOL ib_out_32bit, ID3DXBuffer **face_remap, ID3DXBuffer **vertex_data, + UINT *vertex_data_length, UINT *sc_cluster_list, D3DXSHPRTSPLITMESHCLUSTERDATA *sc_data); +HRESULT WINAPI D3DXSimplifyMesh(ID3DXMesh *mesh_in, const DWORD *adjacency, + const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, DWORD min_value, + DWORD flags, ID3DXMesh **mesh_out); +HRESULT WINAPI D3DXSplitMesh(ID3DXMesh *mesh_in, const DWORD *adjacency_in, const DWORD max_size, + const DWORD flags, DWORD *mesh_out_count, ID3DXBuffer **mesh_out, ID3DXBuffer **adjacency_out, + ID3DXBuffer **face_remap_out, ID3DXBuffer **vertex_remap_out); +HRESULT WINAPI D3DXTessellateNPatches(ID3DXMesh *mesh_in, const DWORD *adjacency_in, float segment_count, + BOOL quad_interp, ID3DXMesh **mesh_out, ID3DXBuffer **adjacency_out); +HRESULT WINAPI D3DXTessellateRectPatch(struct IDirect3DVertexBuffer9 *buffer, const float *segment_count, + const D3DVERTEXELEMENT9 *declaration, const D3DRECTPATCH_INFO *patch_info, struct ID3DXMesh *mesh); +HRESULT WINAPI D3DXTessellateTriPatch(struct IDirect3DVertexBuffer9 *buffer, const float *segment_count, + const D3DVERTEXELEMENT9 *declaration, const D3DTRIPATCH_INFO *patch_info, struct ID3DXMesh *mesh); +HRESULT WINAPI D3DXTriPatchSize(const FLOAT *segment_count, DWORD *num_triangles, + DWORD *num_vertices); +HRESULT WINAPI D3DXUVAtlasCreate(ID3DXMesh *mesh_in, UINT max_chart_count, float max_stretch_in, + UINT width, UINT height, float gutter, DWORD texture_idx, const DWORD *adjacency, const DWORD *false_edges, + const float *imt_array, LPD3DXUVATLASCB cb, float cb_freq, void *ctx, DWORD flags, ID3DXMesh **mesh_out, + ID3DXBuffer **face_partitioning_out, ID3DXBuffer **vertex_remap_out, float *max_stretch_out, UINT *chart_count); +HRESULT WINAPI D3DXUVAtlasPack(ID3DXMesh *mesh, UINT width, UINT height, float gutter, DWORD texture_idx, + const DWORD *partition_result_adjacency, LPD3DXUVATLASCB cb, float cb_freq, void *ctx, DWORD flags, + ID3DXBuffer *face_partitioning); +HRESULT WINAPI D3DXUVAtlasPartition(ID3DXMesh *mesh_in, UINT max_chart_count, float max_stretch_in, + DWORD texture_idx, const DWORD *adjacency, const DWORD *false_edges, const float *imt_array, + LPD3DXUVATLASCB cb, float cb_freq, void *ctx, DWORD flags, ID3DXMesh **mesh_out, + ID3DXBuffer **face_partitioning_out, ID3DXBuffer **vertex_remap_out, ID3DXBuffer **adjacency_out, + float *max_stretch_out, UINT *chart_count); +HRESULT WINAPI D3DXValidMesh(ID3DXMesh *mesh, const DWORD *adjacency, ID3DXBuffer **errors); +HRESULT WINAPI D3DXValidPatchMesh(ID3DXPatchMesh *mesh, DWORD *degenerate_vertex_count, + DWORD *degenerate_patch_count, ID3DXBuffer **errors); +HRESULT WINAPI D3DXWeldVertices(ID3DXMesh *mesh, DWORD flags, const D3DXWELDEPSILONS *epsilons, + const DWORD *adjacency_in, DWORD *adjacency_out, DWORD *face_remap_out, ID3DXBuffer **vertex_remap_out); + +#ifdef __cplusplus +} +#endif + +DEFINE_GUID(DXFILEOBJ_XSkinMeshHeader, 0x3cf169ce, 0xff7c, 0x44ab, 0x93, 0xc0, 0xf7, 0x8f, 0x62, 0xd1, 0x72, 0xe2); +DEFINE_GUID(DXFILEOBJ_VertexDuplicationIndices, 0xb8d65549, 0xd7c9, 0x4995, 0x89, 0xcf, 0x53, 0xa9, 0xa8, 0xb0, 0x31, 0xe3); +DEFINE_GUID(DXFILEOBJ_FaceAdjacency, 0xa64c844a, 0xe282, 0x4756, 0x8b, 0x80, 0x25, 0x0c, 0xde, 0x04, 0x39, 0x8c); +DEFINE_GUID(DXFILEOBJ_SkinWeights, 0x6f0d123b, 0xbad2, 0x4167, 0xa0, 0xd0, 0x80, 0x22, 0x4f, 0x25, 0xfa, 0xbb); +DEFINE_GUID(DXFILEOBJ_Patch, 0xa3eb5d44, 0xfc22, 0x429d, 0x9a, 0xfb, 0x32, 0x21, 0xcb, 0x97, 0x19, 0xa6); +DEFINE_GUID(DXFILEOBJ_PatchMesh, 0xd02c95cc, 0xedba, 0x4305, 0x9b, 0x5d, 0x18, 0x20, 0xd7, 0x70, 0x4d, 0xbf); +DEFINE_GUID(DXFILEOBJ_PatchMesh9, 0xb9ec94e1, 0xb9a6, 0x4251, 0xba, 0x18, 0x94, 0x89, 0x3f, 0x02, 0xc0, 0xea); +DEFINE_GUID(DXFILEOBJ_PMInfo, 0xb6c3e656, 0xec8b, 0x4b92, 0x9b, 0x62, 0x68, 0x16, 0x59, 0x52, 0x29, 0x47); +DEFINE_GUID(DXFILEOBJ_PMAttributeRange, 0x917e0427, 0xc61e, 0x4a14, 0x9c, 0x64, 0xaf, 0xe6, 0x5f, 0x9e, 0x98, 0x44); +DEFINE_GUID(DXFILEOBJ_PMVSplitRecord, 0x574ccc14, 0xf0b3, 0x4333, 0x82, 0x2d, 0x93, 0xe8, 0xa8, 0xa0, 0x8e, 0x4c); +DEFINE_GUID(DXFILEOBJ_FVFData, 0xb6e70a0e, 0x8ef9, 0x4e83, 0x94, 0xad, 0xec, 0xc8, 0xb0, 0xc0, 0x48, 0x97); +DEFINE_GUID(DXFILEOBJ_VertexElement, 0xf752461c, 0x1e23, 0x48f6, 0xb9, 0xf8, 0x83, 0x50, 0x85, 0x0f, 0x33, 0x6f); +DEFINE_GUID(DXFILEOBJ_DeclData, 0xbf22e553, 0x292c, 0x4781, 0x9f, 0xea, 0x62, 0xbd, 0x55, 0x4b, 0xdd, 0x93); +DEFINE_GUID(DXFILEOBJ_EffectFloats, 0xf1cfe2b3, 0x0de3, 0x4e28, 0xaf, 0xa1, 0x15, 0x5a, 0x75, 0x0a, 0x28, 0x2d); +DEFINE_GUID(DXFILEOBJ_EffectString, 0xd55b097e, 0xbdb6, 0x4c52, 0xb0, 0x3d, 0x60, 0x51, 0xc8, 0x9d, 0x0e, 0x42); +DEFINE_GUID(DXFILEOBJ_EffectDWord, 0x622c0ed0, 0x956e, 0x4da9, 0x90, 0x8a, 0x2a, 0xf9, 0x4f, 0x3c, 0xe7, 0x16); +DEFINE_GUID(DXFILEOBJ_EffectParamFloats, 0x3014b9a0, 0x62f5, 0x478c, 0x9b, 0x86, 0xe4, 0xac, 0x9f, 0x4e, 0x41, 0x8b); +DEFINE_GUID(DXFILEOBJ_EffectParamString, 0x1dbc4c88, 0x94c1, 0x46ee, 0x90, 0x76, 0x2c, 0x28, 0x81, 0x8c, 0x94, 0x81); +DEFINE_GUID(DXFILEOBJ_EffectParamDWord, 0xe13963bc, 0xae51, 0x4c5d, 0xb0, 0x0f, 0xcf, 0xa3, 0xa9, 0xd9, 0x7c, 0xe5); +DEFINE_GUID(DXFILEOBJ_EffectInstance, 0xe331f7e4, 0x0559, 0x4cc2, 0x8e, 0x99, 0x1c, 0xec, 0x16, 0x57, 0x92, 0x8f); +DEFINE_GUID(DXFILEOBJ_AnimTicksPerSecond, 0x9e415a43, 0x7ba6, 0x4a73, 0x87, 0x43, 0xb7, 0x3d, 0x47, 0xe8, 0x84, 0x76); +DEFINE_GUID(DXFILEOBJ_CompressedAnimationSet, 0x7f9b00b3, 0xf125, 0x4890, 0x87, 0x6e, 0x1c, 0x42, 0xbf, 0x69, 0x7c, 0x4d); + +#define XSKINEXP_TEMPLATES \ + "xof 0303txt 0032\ + template XSkinMeshHeader \ + { \ + <3CF169CE-FF7C-44ab-93C0-F78F62D172E2> \ + WORD nMaxSkinWeightsPerVertex; \ + WORD nMaxSkinWeightsPerFace; \ + WORD nBones; \ + } \ + template VertexDuplicationIndices \ + { \ + \ + DWORD nIndices; \ + DWORD nOriginalVertices; \ + array DWORD indices[nIndices]; \ + } \ + template FaceAdjacency \ + { \ + \ + DWORD nIndices; \ + array DWORD indices[nIndices]; \ + } \ + template SkinWeights \ + { \ + <6F0D123B-BAD2-4167-A0D0-80224F25FABB> \ + STRING transformNodeName; \ + DWORD nWeights; \ + array DWORD vertexIndices[nWeights]; \ + array float weights[nWeights]; \ + Matrix4x4 matrixOffset; \ + } \ + template Patch \ + { \ + \ + DWORD nControlIndices; \ + array DWORD controlIndices[nControlIndices]; \ + } \ + template PatchMesh \ + { \ + \ + DWORD nVertices; \ + array Vector vertices[nVertices]; \ + DWORD nPatches; \ + array Patch patches[nPatches]; \ + [ ... ] \ + } \ + template PatchMesh9 \ + { \ + \ + DWORD Type; \ + DWORD Degree; \ + DWORD Basis; \ + DWORD nVertices; \ + array Vector vertices[nVertices]; \ + DWORD nPatches; \ + array Patch patches[nPatches]; \ + [ ... ] \ + } template EffectFloats \ + { \ + \ + DWORD nFloats; \ + array float Floats[nFloats]; \ + } \ + template EffectString \ + { \ + \ + STRING Value; \ + } \ + template EffectDWord \ + { \ + <622C0ED0-956E-4da9-908A-2AF94F3CE716> \ + DWORD Value; \ + } template EffectParamFloats \ + { \ + <3014B9A0-62F5-478c-9B86-E4AC9F4E418B> \ + STRING ParamName; \ + DWORD nFloats; \ + array float Floats[nFloats]; \ + } template EffectParamString \ + { \ + <1DBC4C88-94C1-46ee-9076-2C28818C9481> \ + STRING ParamName; \ + STRING Value; \ + } \ + template EffectParamDWord \ + { \ + \ + STRING ParamName; \ + DWORD Value; \ + } \ + template EffectInstance \ + { \ + \ + STRING EffectFilename; \ + [ ... ] \ + } template AnimTicksPerSecond \ + { \ + <9E415A43-7BA6-4a73-8743-B73D47E88476> \ + DWORD AnimTicksPerSecond; \ + } \ + template CompressedAnimationSet \ + { \ + <7F9B00B3-F125-4890-876E-1C42BF697C4D> \ + DWORD CompressedBlockSize; \ + FLOAT TicksPerSec; \ + DWORD PlaybackType; \ + DWORD BufferLength; \ + array DWORD CompressedData[BufferLength]; \ + } " + +#define XEXTENSIONS_TEMPLATES \ + "xof 0303txt 0032\ + template FVFData \ + { \ + \ + DWORD dwFVF; \ + DWORD nDWords; \ + array DWORD data[nDWords]; \ + } \ + template VertexElement \ + { \ + \ + DWORD Type; \ + DWORD Method; \ + DWORD Usage; \ + DWORD UsageIndex; \ + } \ + template DeclData \ + { \ + \ + DWORD nElements; \ + array VertexElement Elements[nElements]; \ + DWORD nDWords; \ + array DWORD data[nDWords]; \ + } \ + template PMAttributeRange \ + { \ + <917E0427-C61E-4a14-9C64-AFE65F9E9844> \ + DWORD iFaceOffset; \ + DWORD nFacesMin; \ + DWORD nFacesMax; \ + DWORD iVertexOffset; \ + DWORD nVerticesMin; \ + DWORD nVerticesMax; \ + } \ + template PMVSplitRecord \ + { \ + <574CCC14-F0B3-4333-822D-93E8A8A08E4C> \ + DWORD iFaceCLW; \ + DWORD iVlrOffset; \ + DWORD iCode; \ + } \ + template PMInfo \ + { \ + \ + DWORD nAttributes; \ + array PMAttributeRange attributeRanges[nAttributes]; \ + DWORD nMaxValence; \ + DWORD nMinLogicalVertices; \ + DWORD nMaxLogicalVertices; \ + DWORD nVSplits; \ + array PMVSplitRecord splitRecords[nVSplits]; \ + DWORD nAttributeMispredicts; \ + array DWORD attributeMispredicts[nAttributeMispredicts]; \ + } " + +#endif /* __WINE_D3DX9MESH_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9shader.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9shader.h new file mode 100644 index 0000000..a3f68f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9shader.h @@ -0,0 +1,463 @@ +/* + * Copyright 2008 Luis Busquets + * Copyright 2014 Kai Tietz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __D3DX9SHADER_H__ +#define __D3DX9SHADER_H__ + +#define D3DXSHADER_DEBUG 0x1 +#define D3DXSHADER_SKIPVALIDATION 0x2 +#define D3DXSHADER_SKIPOPTIMIZATION 0x4 +#define D3DXSHADER_PACKMATRIX_ROWMAJOR 0x8 +#define D3DXSHADER_PACKMATRIX_COLUMNMAJOR 0x10 +#define D3DXSHADER_PARTIALPRECISION 0x20 +#define D3DXSHADER_FORCE_VS_SOFTWARE_NOOPT 0x40 +#define D3DXSHADER_FORCE_PS_SOFTWARE_NOOPT 0x80 +#define D3DXSHADER_NO_PRESHADER 0x100 +#define D3DXSHADER_AVOID_FLOW_CONTROL 0x200 +#define D3DXSHADER_PREFER_FLOW_CONTROL 0x400 +#define D3DXSHADER_ENABLE_BACKWARDS_COMPATIBILITY 0x1000 +#define D3DXSHADER_IEEE_STRICTNESS 0x2000 + +#define D3DXSHADER_OPTIMIZATION_LEVEL0 0x4000 +#define D3DXSHADER_OPTIMIZATION_LEVEL1 0x0 +#define D3DXSHADER_OPTIMIZATION_LEVEL2 0xC000 +#define D3DXSHADER_OPTIMIZATION_LEVEL3 0x8000 + +#define D3DXSHADER_USE_LEGACY_D3DX9_31_DLL 0x10000 + +#define D3DXCONSTTABLE_LARGEADDRESSAWARE 0x20000 + +typedef const char *D3DXHANDLE; +typedef D3DXHANDLE *LPD3DXHANDLE; + +typedef enum _D3DXREGISTER_SET +{ + D3DXRS_BOOL, + D3DXRS_INT4, + D3DXRS_FLOAT4, + D3DXRS_SAMPLER, + D3DXRS_FORCE_DWORD = 0x7fffffff +} D3DXREGISTER_SET, *LPD3DXREGISTER_SET; + +typedef enum D3DXPARAMETER_CLASS +{ + D3DXPC_SCALAR, + D3DXPC_VECTOR, + D3DXPC_MATRIX_ROWS, + D3DXPC_MATRIX_COLUMNS, + D3DXPC_OBJECT, + D3DXPC_STRUCT, + D3DXPC_FORCE_DWORD = 0x7fffffff, +} D3DXPARAMETER_CLASS, *LPD3DXPARAMETER_CLASS; + +typedef enum D3DXPARAMETER_TYPE +{ + D3DXPT_VOID, + D3DXPT_BOOL, + D3DXPT_INT, + D3DXPT_FLOAT, + D3DXPT_STRING, + D3DXPT_TEXTURE, + D3DXPT_TEXTURE1D, + D3DXPT_TEXTURE2D, + D3DXPT_TEXTURE3D, + D3DXPT_TEXTURECUBE, + D3DXPT_SAMPLER, + D3DXPT_SAMPLER1D, + D3DXPT_SAMPLER2D, + D3DXPT_SAMPLER3D, + D3DXPT_SAMPLERCUBE, + D3DXPT_PIXELSHADER, + D3DXPT_VERTEXSHADER, + D3DXPT_PIXELFRAGMENT, + D3DXPT_VERTEXFRAGMENT, + D3DXPT_UNSUPPORTED, + D3DXPT_FORCE_DWORD = 0x7fffffff, +} D3DXPARAMETER_TYPE, *LPD3DXPARAMETER_TYPE; + +typedef struct _D3DXCONSTANTTABLE_DESC +{ + const char *Creator; + DWORD Version; + UINT Constants; +} D3DXCONSTANTTABLE_DESC, *LPD3DXCONSTANTTABLE_DESC; + +typedef struct _D3DXCONSTANT_DESC +{ + const char *Name; + D3DXREGISTER_SET RegisterSet; + UINT RegisterIndex; + UINT RegisterCount; + D3DXPARAMETER_CLASS Class; + D3DXPARAMETER_TYPE Type; + UINT Rows; + UINT Columns; + UINT Elements; + UINT StructMembers; + UINT Bytes; + const void *DefaultValue; +} D3DXCONSTANT_DESC, *LPD3DXCONSTANT_DESC; + +#if D3DX_SDK_VERSION < 43 +DEFINE_GUID(IID_ID3DXConstantTable, 0x9dca3190, 0x38b9, 0x4fc3, 0x92, 0xe3, 0x39, 0xc6, 0xdd, 0xfb, 0x35, 0x8b); +#else +DEFINE_GUID(IID_ID3DXConstantTable, 0xab3c758f, 0x093e, 0x4356, 0xb7, 0x62, 0x4d, 0xb1, 0x8f, 0x1b, 0x3a, 0x01); +#endif + +#undef INTERFACE +#define INTERFACE ID3DXConstantTable + +DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** ID3DXBuffer methods ***/ + STDMETHOD_(void *, GetBufferPointer)(THIS) PURE; + STDMETHOD_(DWORD, GetBufferSize)(THIS) PURE; + /*** ID3DXConstantTable methods ***/ + STDMETHOD(GetDesc)(THIS_ D3DXCONSTANTTABLE_DESC *pDesc) PURE; + STDMETHOD(GetConstantDesc)(THIS_ D3DXHANDLE hConstant, D3DXCONSTANT_DESC *pConstantDesc, UINT *pCount) PURE; + STDMETHOD_(UINT, GetSamplerIndex)(THIS_ D3DXHANDLE hConstant) PURE; + STDMETHOD_(D3DXHANDLE, GetConstant)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE; + STDMETHOD_(D3DXHANDLE, GetConstantByName)(THIS_ D3DXHANDLE constant, const char *name) PURE; + STDMETHOD_(D3DXHANDLE, GetConstantElement)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE; + STDMETHOD(SetDefaults)(THIS_ struct IDirect3DDevice9 *device) PURE; + STDMETHOD(SetValue)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const void *data, UINT data_size) PURE; + STDMETHOD(SetBool)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, BOOL value) PURE; + STDMETHOD(SetBoolArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const BOOL *values, UINT value_count) PURE; + STDMETHOD(SetInt)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, INT value) PURE; + STDMETHOD(SetIntArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const INT *values, UINT value_count) PURE; + STDMETHOD(SetFloat)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, float value) PURE; + STDMETHOD(SetFloatArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const float *values, UINT value_count) PURE; + STDMETHOD(SetVector)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, const D3DXVECTOR4 *value) PURE; + STDMETHOD(SetVectorArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const D3DXVECTOR4 *values, UINT value_count) PURE; + STDMETHOD(SetMatrix)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, const D3DXMATRIX *value) PURE; + STDMETHOD(SetMatrixArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const D3DXMATRIX *values, UINT value_count) PURE; + STDMETHOD(SetMatrixPointerArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const D3DXMATRIX **values, UINT value_count) PURE; + STDMETHOD(SetMatrixTranspose)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const D3DXMATRIX *value) PURE; + STDMETHOD(SetMatrixTransposeArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const D3DXMATRIX *values, UINT value_count) PURE; + STDMETHOD(SetMatrixTransposePointerArray)(THIS_ struct IDirect3DDevice9 *device, D3DXHANDLE constant, + const D3DXMATRIX **values, UINT value_count) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define ID3DXConstantTable_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ID3DXConstantTable_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ID3DXConstantTable_Release(p) (p)->lpVtbl->Release(p) +/*** ID3DXBuffer methods ***/ +#define ID3DXConstantTable_GetBufferPointer(p) (p)->lpVtbl->GetBufferPointer(p) +#define ID3DXConstantTable_GetBufferSize(p) (p)->lpVtbl->GetBufferSize(p) +/*** ID3DXConstantTable methods ***/ +#define ID3DXConstantTable_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) +#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->lpVtbl->GetConstantDesc(p,a,b,c) +#define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->lpVtbl->GetSamplerIndex(p,a) +#define ID3DXConstantTable_GetConstant(p,a,b) (p)->lpVtbl->GetConstant(p,a,b) +#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->lpVtbl->GetConstantByName(p,a,b) +#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->lpVtbl->GetConstantElement(p,a,b) +#define ID3DXConstantTable_SetDefaults(p,a) (p)->lpVtbl->SetDefaults(p,a) +#define ID3DXConstantTable_SetValue(p,a,b,c,d) (p)->lpVtbl->SetValue(p,a,b,c,d) +#define ID3DXConstantTable_SetBool(p,a,b,c) (p)->lpVtbl->SetBool(p,a,b,c) +#define ID3DXConstantTable_SetBoolArray(p,a,b,c,d) (p)->lpVtbl->SetBoolArray(p,a,b,c,d) +#define ID3DXConstantTable_SetInt(p,a,b,c) (p)->lpVtbl->SetInt(p,a,b,c) +#define ID3DXConstantTable_SetIntArray(p,a,b,c,d) (p)->lpVtbl->SetIntArray(p,a,b,c,d) +#define ID3DXConstantTable_SetFloat(p,a,b,c) (p)->lpVtbl->SetFloat(p,a,b,c) +#define ID3DXConstantTable_SetFloatArray(p,a,b,c,d) (p)->lpVtbl->SetFloatArray(p,a,b,c,d) +#define ID3DXConstantTable_SetVector(p,a,b,c) (p)->lpVtbl->SetVector(p,a,b,c) +#define ID3DXConstantTable_SetVectorArray(p,a,b,c,d) (p)->lpVtbl->SetVectorArray(p,a,b,c,d) +#define ID3DXConstantTable_SetMatrix(p,a,b,c) (p)->lpVtbl->SetMatrix(p,a,b,c) +#define ID3DXConstantTable_SetMatrixArray(p,a,b,c,d) (p)->lpVtbl->SetMatrixArray(p,a,b,c,d) +#define ID3DXConstantTable_SetMatrixPointerArray(p,a,b,c,d) (p)->lpVtbl->SetMatrixPointerArray(p,a,b,c,d) +#define ID3DXConstantTable_SetMatrixTranspose(p,a,b,c) (p)->lpVtbl->SetMatrixTranspose(p,a,b,c) +#define ID3DXConstantTable_SetMatrixTransposeArray(p,a,b,c,d) (p)->lpVtbl->SetMatrixTransposeArray(p,a,b,c,d) +#define ID3DXConstantTable_SetMatrixTransposePointerArray(p,a,b,c,d) (p)->lpVtbl->SetMatrixTransposePointerArray(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define ID3DXConstantTable_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define ID3DXConstantTable_AddRef(p) (p)->AddRef() +#define ID3DXConstantTable_Release(p) (p)->Release() +/*** ID3DXBuffer methods ***/ +#define ID3DXConstantTable_GetBufferPointer(p) (p)->GetBufferPointer() +#define ID3DXConstantTable_GetBufferSize(p) (p)->GetBufferSize() +/*** ID3DXConstantTable methods ***/ +#define ID3DXConstantTable_GetDesc(p,a) (p)->GetDesc(a) +#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->GetConstantDesc(a,b,c) +#define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->GetConstantDesc(a) +#define ID3DXConstantTable_GetConstant(p,a,b) (p)->GetConstant(a,b) +#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->GetConstantByName(a,b) +#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->GetConstantElement(a,b) +#define ID3DXConstantTable_SetDefaults(p,a) (p)->SetDefaults(a) +#define ID3DXConstantTable_SetValue(p,a,b,c,d) (p)->SetValue(a,b,c,d) +#define ID3DXConstantTable_SetBool(p,a,b,c) (p)->SetBool(a,b,c) +#define ID3DXConstantTable_SetBoolArray(p,a,b,c,d) (p)->SetBoolArray(a,b,c,d) +#define ID3DXConstantTable_SetInt(p,a,b,c) (p)->SetInt(a,b,c) +#define ID3DXConstantTable_SetIntArray(p,a,b,c,d) (p)->SetIntArray(a,b,c,d) +#define ID3DXConstantTable_SetFloat(p,a,b,c) (p)->SetFloat(a,b,c) +#define ID3DXConstantTable_SetFloatArray(p,a,b,c,d) (p)->SetFloatArray(a,b,c,d) +#define ID3DXConstantTable_SetVector(p,a,b,c) (p)->SetVector(a,b,c) +#define ID3DXConstantTable_SetVectorArray(p,a,b,c,d) (p)->SetVectorArray(a,b,c,d) +#define ID3DXConstantTable_SetMatrix(p,a,b,c) (p)->SetMatrix(a,b,c) +#define ID3DXConstantTable_SetMatrixArray(p,a,b,c,d) (p)->SetMatrixArray(a,b,c,d) +#define ID3DXConstantTable_SetMatrixPointerArray(p,a,b,c,d) (p)->SetMatrixPointerArray(a,b,c,d) +#define ID3DXConstantTable_SetMatrixTranspose(p,a,b,c) (p)->SetMatrixTranspose(a,b,c) +#define ID3DXConstantTable_SetMatrixTransposeArray(p,a,b,c,d) (p)->SetMatrixTransposeArray(a,b,c,d) +#define ID3DXConstantTable_SetMatrixTransposePointerArray(p,a,b,c,d) (p)->SetMatrixTransposePointerArray(a,b,c,d) +#endif + +typedef struct ID3DXConstantTable *LPD3DXCONSTANTTABLE; + +typedef interface ID3DXTextureShader *LPD3DXTEXTURESHADER; + +DEFINE_GUID(IID_ID3DXTextureShader, 0x3e3d67f8, 0xaa7a, 0x405d, 0xa8, 0x57, 0xba, 0x1, 0xd4, 0x75, 0x84, 0x26); + +#define INTERFACE ID3DXTextureShader +DECLARE_INTERFACE_(ID3DXTextureShader, IUnknown) +{ + STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppv) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + STDMETHOD(GetFunction)(THIS_ struct ID3DXBuffer **ppFunction) PURE; + STDMETHOD(GetConstantBuffer)(THIS_ struct ID3DXBuffer **ppConstantBuffer) PURE; + STDMETHOD(GetDesc)(THIS_ D3DXCONSTANTTABLE_DESC *pDesc) PURE; + STDMETHOD(GetConstantDesc)(THIS_ D3DXHANDLE hConstant, D3DXCONSTANT_DESC *pConstantDesc, UINT *pCount) PURE; + STDMETHOD_(D3DXHANDLE, GetConstant)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE; + STDMETHOD_(D3DXHANDLE, GetConstantByName)(THIS_ D3DXHANDLE hConstant, const char *pName) PURE; + STDMETHOD_(D3DXHANDLE, GetConstantElement)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE; + STDMETHOD(SetDefaults)(THIS) PURE; + STDMETHOD(SetValue)(THIS_ D3DXHANDLE hConstant, const void *pData, UINT Bytes) PURE; + STDMETHOD(SetBool)(THIS_ D3DXHANDLE hConstant, BOOL b) PURE; + STDMETHOD(SetBoolArray)(THIS_ D3DXHANDLE hConstant, const BOOL *pb, UINT Count) PURE; + STDMETHOD(SetInt)(THIS_ D3DXHANDLE hConstant, INT n) PURE; + STDMETHOD(SetIntArray)(THIS_ D3DXHANDLE hConstant, const INT *pn, UINT Count) PURE; + STDMETHOD(SetFloat)(THIS_ D3DXHANDLE hConstant, FLOAT f) PURE; + STDMETHOD(SetFloatArray)(THIS_ D3DXHANDLE hConstant, const FLOAT *pf, UINT Count) PURE; + STDMETHOD(SetVector)(THIS_ D3DXHANDLE hConstant, const D3DXVECTOR4 *pVector) PURE; + STDMETHOD(SetVectorArray)(THIS_ D3DXHANDLE hConstant, const D3DXVECTOR4 *pVector, UINT Count) PURE; + STDMETHOD(SetMatrix)(THIS_ D3DXHANDLE hConstant, const D3DXMATRIX *pMatrix) PURE; + STDMETHOD(SetMatrixArray)(THIS_ D3DXHANDLE hConstant, const D3DXMATRIX *pMatrix, UINT Count) PURE; + STDMETHOD(SetMatrixPointerArray)(THIS_ D3DXHANDLE hConstant, const D3DXMATRIX **ppMatrix, UINT Count) PURE; + STDMETHOD(SetMatrixTranspose)(THIS_ D3DXHANDLE hConstant, const D3DXMATRIX *pMatrix) PURE; + STDMETHOD(SetMatrixTransposeArray)(THIS_ D3DXHANDLE hConstant, const D3DXMATRIX *pMatrix, UINT Count) PURE; + STDMETHOD(SetMatrixTransposePointerArray)(THIS_ D3DXHANDLE hConstant, const D3DXMATRIX **ppMatrix, UINT Count) PURE; +}; +#undef INTERFACE + +typedef struct _D3DXMACRO +{ + const char *Name; + const char *Definition; +} D3DXMACRO, *LPD3DXMACRO; + +typedef struct _D3DXSEMANTIC { + UINT Usage; + UINT UsageIndex; +} D3DXSEMANTIC, *LPD3DXSEMANTIC; + +typedef enum _D3DXINCLUDE_TYPE +{ + D3DXINC_LOCAL, + D3DXINC_SYSTEM, + D3DXINC_FORCE_DWORD = 0x7fffffff, +} D3DXINCLUDE_TYPE, *LPD3DXINCLUDE_TYPE; + +#define INTERFACE ID3DXInclude + +DECLARE_INTERFACE(ID3DXInclude) +{ + STDMETHOD(Open)(THIS_ D3DXINCLUDE_TYPE include_type, const char *filename, + const void *parent_data, const void **data, UINT *bytes) PURE; + STDMETHOD(Close)(THIS_ const void *data) PURE; +}; +#undef INTERFACE + +#define ID3DXInclude_Open(p,a,b,c,d,e) (p)->lpVtbl->Open(p,a,b,c,d,e) +#define ID3DXInclude_Close(p,a) (p)->lpVtbl->Close(p,a) + +typedef struct ID3DXInclude *LPD3DXINCLUDE; + +typedef struct _D3DXFRAGMENT_DESC +{ + const char *Name; + DWORD Target; + +} D3DXFRAGMENT_DESC, *LPD3DXFRAGMENT_DESC; + + +DEFINE_GUID(IID_ID3DXFragmentLinker, 0x1a2c0cc2, 0xe5b6, 0x4ebc, 0x9e, 0x8d, 0x39, 0xe, 0x5, 0x78, 0x11, 0xb6); + +#define INTERFACE ID3DXFragmentLinker +DECLARE_INTERFACE_(ID3DXFragmentLinker, IUnknown) +{ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **ppv) PURE; + STDMETHOD_(ULONG, AddRef)(THIS) PURE; + STDMETHOD_(ULONG, Release)(THIS) PURE; + + STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE; + STDMETHOD_(UINT, GetNumberOfFragments)(THIS) PURE; + + STDMETHOD_(D3DXHANDLE, GetFragmentHandleByIndex)(THIS_ UINT index) PURE; + STDMETHOD_(D3DXHANDLE, GetFragmentHandleByName)(THIS_ const char *name) PURE; + STDMETHOD(GetFragmentDesc)(THIS_ D3DXHANDLE name, D3DXFRAGMENT_DESC *frag_desc) PURE; + + STDMETHOD(AddFragments)(THIS_ const DWORD *fragments) PURE; + + STDMETHOD(GetAllFragments)(THIS_ ID3DXBuffer **buffer) PURE; + STDMETHOD(GetFragment)(THIS_ D3DXHANDLE name, ID3DXBuffer **buffer) PURE; + + STDMETHOD(LinkShader)(THIS_ const char *profile, DWORD flags, const D3DXHANDLE *fragmenthandles, UINT fragments, ID3DXBuffer **buffer, ID3DXBuffer **errors) PURE; + STDMETHOD(LinkVertexShader)(THIS_ const char *profile, DWORD flags, const D3DXHANDLE *fragment_handles, UINT fragments, IDirect3DVertexShader9 **shader, ID3DXBuffer **errors) PURE; + STDMETHOD(LinkPixelShader)(THIS_ const char *profile, DWORD flags, const D3DXHANDLE *fragment_handles, UINT fragments, IDirect3DPixelShader9 **shader, ID3DXBuffer **errors) PURE; + + STDMETHOD(ClearCache)(THIS) PURE; +}; +#undef INTERFACE + +#ifdef __cplusplus +extern "C" { +#endif + +const char * WINAPI D3DXGetPixelShaderProfile(struct IDirect3DDevice9 *device); +UINT WINAPI D3DXGetShaderSize(const DWORD *byte_code); +DWORD WINAPI D3DXGetShaderVersion(const DWORD *byte_code); +const char * WINAPI D3DXGetVertexShaderProfile(struct IDirect3DDevice9 *device); +HRESULT WINAPI D3DXFindShaderComment(const DWORD *byte_code, DWORD fourcc, const void **data, UINT *size); +HRESULT WINAPI D3DXGetShaderSamplers(const DWORD *byte_code, const char **samplers, UINT *count); + +HRESULT WINAPI D3DXAssembleShaderFromFileA(const char *filename, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +HRESULT WINAPI D3DXAssembleShaderFromFileW(const WCHAR *filename, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +#define D3DXAssembleShaderFromFile WINELIB_NAME_AW(D3DXAssembleShaderFromFile) + +HRESULT WINAPI D3DXAssembleShaderFromResourceA(HMODULE module, const char *resource, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +HRESULT WINAPI D3DXAssembleShaderFromResourceW(HMODULE module, const WCHAR *resource, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +#define D3DXAssembleShaderFromResource WINELIB_NAME_AW(D3DXAssembleShaderFromResource) + +HRESULT WINAPI D3DXAssembleShader(const char *data, UINT data_len, const D3DXMACRO *defines, + ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages); + +HRESULT WINAPI D3DXCompileShader(const char *src_data, UINT data_len, const D3DXMACRO *defines, + ID3DXInclude *include, const char *function_name, const char *profile, DWORD flags, + ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table); + +HRESULT WINAPI D3DXDisassembleShader(const DWORD *pShader, BOOL EnableColorCode, const char *pComments, struct ID3DXBuffer **ppDisassembly); + +HRESULT WINAPI D3DXCompileShaderFromFileA(const char *filename, const D3DXMACRO *defines, + ID3DXInclude *include, const char *entrypoint, const char *profile, DWORD flags, + ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table); +HRESULT WINAPI D3DXCompileShaderFromFileW(const WCHAR *filename, const D3DXMACRO *defines, + ID3DXInclude *include, const char *entrypoint, const char *profile, DWORD flags, + ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table); +#define D3DXCompileShaderFromFile WINELIB_NAME_AW(D3DXCompileShaderFromFile) + +HRESULT WINAPI D3DXCompileShaderFromResourceA(HMODULE module, const char *resource, const D3DXMACRO *defines, + ID3DXInclude *include, const char *entrypoint, const char *profile, DWORD flags, + ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table); +HRESULT WINAPI D3DXCompileShaderFromResourceW(HMODULE module, const WCHAR *resource, const D3DXMACRO *defines, + ID3DXInclude *include, const char *entrypoint, const char *profile, DWORD flags, + ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table); +#define D3DXCompileShaderFromResource WINELIB_NAME_AW(D3DXCompileShaderFromResource) + +HRESULT WINAPI D3DXPreprocessShader(const char *data, UINT data_len, const D3DXMACRO *defines, + ID3DXInclude *include, ID3DXBuffer **shader, ID3DXBuffer **error_messages); + +HRESULT WINAPI D3DXPreprocessShaderFromFileA(const char *filename, const D3DXMACRO *defines, + ID3DXInclude *include, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +HRESULT WINAPI D3DXPreprocessShaderFromFileW(const WCHAR *filename, const D3DXMACRO *defines, + ID3DXInclude *include, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +#define D3DXPreprocessShaderFromFile WINELIB_NAME_AW(D3DXPreprocessShaderFromFile) + +HRESULT WINAPI D3DXPreprocessShaderFromResourceA(HMODULE module, const char *resource, const D3DXMACRO *defines, + ID3DXInclude *include, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +HRESULT WINAPI D3DXPreprocessShaderFromResourceW(HMODULE module, const WCHAR *resource, const D3DXMACRO *defines, + ID3DXInclude *include, ID3DXBuffer **shader, ID3DXBuffer **error_messages); +#define D3DXPreprocessShaderFromResource WINELIB_NAME_AW(D3DXPreprocessShaderFromResource) + +HRESULT WINAPI D3DXGetShaderConstantTableEx(const DWORD *byte_code, DWORD flags, ID3DXConstantTable **constant_table); + +HRESULT WINAPI D3DXGetShaderConstantTable(const DWORD *byte_code, ID3DXConstantTable **constant_table); + +HRESULT WINAPI D3DXGetShaderInputSemantics(const DWORD *pFunction, D3DXSEMANTIC *pSemantics, UINT *pCount); +HRESULT WINAPI D3DXGetShaderOutputSemantics(const DWORD *pFunction, D3DXSEMANTIC *pSemantics, UINT *pCount); + +HRESULT WINAPI D3DXCreateTextureShader(const DWORD *pFunction, ID3DXTextureShader **ppTextureShader); + +HRESULT WINAPI D3DXCreateFragmentLinker(IDirect3DDevice9 *device, UINT size, ID3DXFragmentLinker **linker); +HRESULT WINAPI D3DXCreateFragmentLinkerEx(IDirect3DDevice9 *device, UINT size, DWORD flags, ID3DXFragmentLinker **linker); + +#ifdef __cplusplus +} +#endif + +typedef struct _D3DXSHADER_CONSTANTTABLE +{ + DWORD Size; + DWORD Creator; + DWORD Version; + DWORD Constants; + DWORD ConstantInfo; + DWORD Flags; + DWORD Target; +} D3DXSHADER_CONSTANTTABLE, *LPD3DXSHADER_CONSTANTTABLE; + +typedef struct _D3DXSHADER_CONSTANTINFO +{ + DWORD Name; + WORD RegisterSet; + WORD RegisterIndex; + WORD RegisterCount; + WORD Reserved; + DWORD TypeInfo; + DWORD DefaultValue; +} D3DXSHADER_CONSTANTINFO, *LPD3DXSHADER_CONSTANTINFO; + +typedef struct _D3DXSHADER_TYPEINFO +{ + WORD Class; + WORD Type; + WORD Rows; + WORD Columns; + WORD Elements; + WORD StructMembers; + DWORD StructMemberInfo; +} D3DXSHADER_TYPEINFO, *LPD3DXSHADER_TYPEINFO; + +typedef struct _D3DXSHADER_STRUCTMEMBERINFO +{ + DWORD Name; + DWORD TypeInfo; +} D3DXSHADER_STRUCTMEMBERINFO, *LPD3DXSHADER_STRUCTMEMBERINFO; + +#endif /* __D3DX9SHADER_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9shape.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9shape.h new file mode 100644 index 0000000..af49bb4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9shape.h @@ -0,0 +1,50 @@ +/* + * Copyright 2010 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __D3DX9SHAPE_H__ +#define __D3DX9SHAPE_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI D3DXCreateBox(struct IDirect3DDevice9 *device, float width, float height, + float depth, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency); +HRESULT WINAPI D3DXCreateCylinder(struct IDirect3DDevice9 *device, float radius1, float radius2, + float length, UINT slices, UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency); +HRESULT WINAPI D3DXCreatePolygon(struct IDirect3DDevice9 *device, float length, UINT sides, struct ID3DXMesh **mesh, + ID3DXBuffer **adjacency); +HRESULT WINAPI D3DXCreateSphere(struct IDirect3DDevice9 *device, float radius, UINT slices, + UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency); +HRESULT WINAPI D3DXCreateTeapot(struct IDirect3DDevice9 *device, + struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency); +HRESULT WINAPI D3DXCreateTextA(struct IDirect3DDevice9 *device, HDC hdc, const char *text, float deviation, + float extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyphmetrics); +HRESULT WINAPI D3DXCreateTextW(struct IDirect3DDevice9 *device, HDC hdc, const WCHAR *text, float deviation, + FLOAT extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyphmetrics); +HRESULT WINAPI D3DXCreateTorus(struct IDirect3DDevice9 *device, + float innerradius, float outerradius, UINT sides, UINT rings, struct ID3DXMesh **mesh, ID3DXBuffer **adjacency); +#define D3DXCreateText WINELIB_NAME_AW(D3DXCreateText) + +#ifdef __cplusplus +} +#endif + +#endif /* __D3DX9SHAPE_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9tex.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9tex.h new file mode 100644 index 0000000..3883165 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9tex.h @@ -0,0 +1,351 @@ +/* + * Copyright (C) 2008 Tony Wasserka + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "d3dx9.h" + +#ifndef __WINE_D3DX9TEX_H +#define __WINE_D3DX9TEX_H + +/********************************************** + ***************** Definitions **************** + **********************************************/ +#define D3DX_FILTER_NONE 0x00000001 +#define D3DX_FILTER_POINT 0x00000002 +#define D3DX_FILTER_LINEAR 0x00000003 +#define D3DX_FILTER_TRIANGLE 0x00000004 +#define D3DX_FILTER_BOX 0x00000005 +#define D3DX_FILTER_MIRROR_U 0x00010000 +#define D3DX_FILTER_MIRROR_V 0x00020000 +#define D3DX_FILTER_MIRROR_W 0x00040000 +#define D3DX_FILTER_MIRROR 0x00070000 +#define D3DX_FILTER_DITHER 0x00080000 +#define D3DX_FILTER_DITHER_DIFFUSION 0x00100000 +#define D3DX_FILTER_SRGB_IN 0x00200000 +#define D3DX_FILTER_SRGB_OUT 0x00400000 +#define D3DX_FILTER_SRGB 0x00600000 + +#define D3DX_SKIP_DDS_MIP_LEVELS_MASK 0x1f +#define D3DX_SKIP_DDS_MIP_LEVELS_SHIFT 26 +#define D3DX_SKIP_DDS_MIP_LEVELS(l, f) ((((l) & D3DX_SKIP_DDS_MIP_LEVELS_MASK) \ + << D3DX_SKIP_DDS_MIP_LEVELS_SHIFT) | ((f) == D3DX_DEFAULT ? D3DX_FILTER_BOX : (f))) + +#define D3DX_NORMALMAP_MIRROR_U 0x00010000 +#define D3DX_NORMALMAP_MIRROR_V 0x00020000 +#define D3DX_NORMALMAP_MIRROR 0x00030000 +#define D3DX_NORMALMAP_INVERTSIGN 0x00080000 +#define D3DX_NORMALMAP_COMPUTE_OCCLUSION 0x00100000 + +#define D3DX_CHANNEL_RED 0x00000001 +#define D3DX_CHANNEL_BLUE 0x00000002 +#define D3DX_CHANNEL_GREEN 0x00000004 +#define D3DX_CHANNEL_ALPHA 0x00000008 +#define D3DX_CHANNEL_LUMINANCE 0x00000010 + +/********************************************** + ****************** Typedefs ****************** + **********************************************/ +typedef enum _D3DXIMAGE_FILEFORMAT +{ + D3DXIFF_BMP, + D3DXIFF_JPG, + D3DXIFF_TGA, + D3DXIFF_PNG, + D3DXIFF_DDS, + D3DXIFF_PPM, + D3DXIFF_DIB, + D3DXIFF_HDR, + D3DXIFF_PFM, + D3DXIFF_FORCE_DWORD = 0x7fffffff +} D3DXIMAGE_FILEFORMAT; + +typedef struct _D3DXIMAGE_INFO +{ + UINT Width; + UINT Height; + UINT Depth; + UINT MipLevels; + D3DFORMAT Format; + D3DRESOURCETYPE ResourceType; + D3DXIMAGE_FILEFORMAT ImageFileFormat; +} D3DXIMAGE_INFO; + +/********************************************** + ****************** Functions ***************** + **********************************************/ +/* Typedefs for callback functions */ +typedef void (WINAPI *LPD3DXFILL2D)(D3DXVECTOR4 *out, const D3DXVECTOR2 *texcoord, + const D3DXVECTOR2 *texelsize, void *data); +typedef void (WINAPI *LPD3DXFILL3D)(D3DXVECTOR4 *out, const D3DXVECTOR3 *texcoord, + const D3DXVECTOR3 *texelsize, void *data); + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Image Information */ +HRESULT WINAPI D3DXGetImageInfoFromFileA(const char *file, D3DXIMAGE_INFO *info); +HRESULT WINAPI D3DXGetImageInfoFromFileW(const WCHAR *file, D3DXIMAGE_INFO *info); +#define D3DXGetImageInfoFromFile WINELIB_NAME_AW(D3DXGetImageInfoFromFile) + +HRESULT WINAPI D3DXGetImageInfoFromResourceA(HMODULE module, const char *resource, D3DXIMAGE_INFO *info); +HRESULT WINAPI D3DXGetImageInfoFromResourceW(HMODULE module, const WCHAR *resource, D3DXIMAGE_INFO *info); +#define D3DXGetImageInfoFromResource WINELIB_NAME_AW(D3DXGetImageInfoFromResource) + +HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(const void *data, UINT data_size, D3DXIMAGE_INFO *info); + + +/* Surface Loading/Saving */ +HRESULT WINAPI D3DXLoadSurfaceFromFileA(struct IDirect3DSurface9 *destsurface, + const PALETTEENTRY *destpalette, const RECT *destrect, const char *srcfile, + const RECT *srcrect, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +HRESULT WINAPI D3DXLoadSurfaceFromFileW(struct IDirect3DSurface9 *destsurface, + const PALETTEENTRY *destpalette, const RECT *destrect, const WCHAR *srcfile, + const RECT *srcrect, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +#define D3DXLoadSurfaceFromFile WINELIB_NAME_AW(D3DXLoadSurfaceFromFile) + +HRESULT WINAPI D3DXLoadSurfaceFromResourceA(struct IDirect3DSurface9 *destsurface, + const PALETTEENTRY *destpalette, const RECT *destrect, HMODULE srcmodule, const char *resource, + const RECT *srcrect, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +HRESULT WINAPI D3DXLoadSurfaceFromResourceW(struct IDirect3DSurface9 *destsurface, + const PALETTEENTRY *destpalette, const RECT *destrect, HMODULE srcmodule, const WCHAR *resource, + const RECT *srcrect, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +#define D3DXLoadSurfaceFromResource WINELIB_NAME_AW(D3DXLoadSurfaceFromResource) + +HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(struct IDirect3DSurface9 *destsurface, + const PALETTEENTRY *destpalette, const RECT *destrect, const void *srcdata, UINT srcdatasize, + const RECT *srcrect, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); + +HRESULT WINAPI D3DXLoadSurfaceFromSurface(struct IDirect3DSurface9 *destsurface, + const PALETTEENTRY *destpalette, const RECT *destrect, struct IDirect3DSurface9 *srcsurface, + const PALETTEENTRY *srcpalette, const RECT *srcrect, DWORD filter, D3DCOLOR colorkey); + +HRESULT WINAPI D3DXLoadSurfaceFromMemory(IDirect3DSurface9 *dst_surface, + const PALETTEENTRY *dst_palette, const RECT *dst_rect, const void *src_memory, + D3DFORMAT src_format, UINT src_pitch, const PALETTEENTRY *src_palette, const RECT *src_rect, + DWORD filter, D3DCOLOR color_key); + +HRESULT WINAPI D3DXSaveSurfaceToFileInMemory(struct ID3DXBuffer **destbuffer, + D3DXIMAGE_FILEFORMAT destformat, struct IDirect3DSurface9 *srcsurface, + const PALETTEENTRY *srcpalette, const RECT *srcrect); + +HRESULT WINAPI D3DXSaveSurfaceToFileA(const char *destfile, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DSurface9 *srcsurface, const PALETTEENTRY *srcpalette, const RECT *srcrect); +HRESULT WINAPI D3DXSaveSurfaceToFileW(const WCHAR *destfile, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DSurface9 *srcsurface, const PALETTEENTRY *srcpalette, const RECT *srcrect); +#define D3DXSaveSurfaceToFile WINELIB_NAME_AW(D3DXSaveSurfaceToFile) + + +/* Volume Loading/Saving */ +HRESULT WINAPI D3DXLoadVolumeFromFileA(struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, const char *srcfile, + const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +HRESULT WINAPI D3DXLoadVolumeFromFileW( struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, const WCHAR *srcfile, + const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +#define D3DXLoadVolumeFromFile WINELIB_NAME_AW(D3DXLoadVolumeFromFile) + +HRESULT WINAPI D3DXLoadVolumeFromResourceA(struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, HMODULE srcmodule, const char *resource, + const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +HRESULT WINAPI D3DXLoadVolumeFromResourceW(struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, HMODULE srcmodule, const WCHAR *resource, + const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); +#define D3DXLoadVolumeFromResource WINELIB_NAME_AW(D3DXLoadVolumeFromResource) + +HRESULT WINAPI D3DXLoadVolumeFromFileInMemory(struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, const void *srcdata, UINT srcdatasize, + const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo); + +HRESULT WINAPI D3DXLoadVolumeFromVolume(struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, struct IDirect3DVolume9 *srcvolume, + const PALETTEENTRY *srcpalette, const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey); + +HRESULT WINAPI D3DXLoadVolumeFromMemory(struct IDirect3DVolume9 *destvolume, + const PALETTEENTRY *destpalette, const D3DBOX *destbox, const void *srcmemory, + D3DFORMAT srcformat, UINT srcrowpitch, UINT srcslicepitch, const PALETTEENTRY *srcpalette, + const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey); + +HRESULT WINAPI D3DXSaveVolumeToFileA(const char *destfile, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DVolume9 *srcvolume, const PALETTEENTRY *srcpalette, const D3DBOX *srcbox); +HRESULT WINAPI D3DXSaveVolumeToFileW(const WCHAR *destfile, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DVolume9 *srcvolume, const PALETTEENTRY *srcpalette, const D3DBOX *srcbox); +#define D3DXSaveVolumeToFile WINELIB_NAME_AW(D3DXSaveVolumeToFile) + + +/* Texture, cube texture and volume texture creation */ +HRESULT WINAPI D3DXCheckTextureRequirements(struct IDirect3DDevice9 *device, UINT *width, UINT *height, + UINT *miplevels, DWORD usage, D3DFORMAT *format, D3DPOOL pool); +HRESULT WINAPI D3DXCheckCubeTextureRequirements(struct IDirect3DDevice9 *device, UINT *size, + UINT *miplevels, DWORD usage, D3DFORMAT *format, D3DPOOL pool); +HRESULT WINAPI D3DXCheckVolumeTextureRequirements(struct IDirect3DDevice9 *device, UINT *width, UINT *height, + UINT *depth, UINT *miplevels, DWORD usage, D3DFORMAT *format, D3DPOOL pool); + +HRESULT WINAPI D3DXCreateTexture(struct IDirect3DDevice9 *device, UINT width, UINT height, + UINT miplevels, DWORD usage, D3DFORMAT format, D3DPOOL pool, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateCubeTexture(struct IDirect3DDevice9 *device, UINT size, + UINT miplevels, DWORD usage, D3DFORMAT format, D3DPOOL pool, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateVolumeTexture(struct IDirect3DDevice9 *device, UINT width, UINT height, UINT depth, + UINT miplevels, DWORD usage, D3DFORMAT format, D3DPOOL pool, struct IDirect3DVolumeTexture9 **volume); + +HRESULT WINAPI D3DXCreateTextureFromFileA(struct IDirect3DDevice9 *device, + const char *srcfile, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateTextureFromFileW(struct IDirect3DDevice9 *device, + const WCHAR *srcfile, struct IDirect3DTexture9 **texture); +#define D3DXCreateTextureFromFile WINELIB_NAME_AW(D3DXCreateTextureFromFile) + +HRESULT WINAPI D3DXCreateCubeTextureFromFileA(struct IDirect3DDevice9 *device, + const char *srcfile, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateCubeTextureFromFileW(struct IDirect3DDevice9 *device, + const WCHAR *srcfile, struct IDirect3DCubeTexture9 **cube); +#define D3DXCreateCubeTextureFromFile WINELIB_NAME_AW(D3DXCreateCubeTextureFromFile) + +HRESULT WINAPI D3DXCreateVolumeTextureFromFileA(struct IDirect3DDevice9 *device, + const char *srcfile, struct IDirect3DVolumeTexture9 **volume); +HRESULT WINAPI D3DXCreateVolumeTextureFromFileW(struct IDirect3DDevice9 *device, + const WCHAR *srcfile, struct IDirect3DVolumeTexture9 **volume); +#define D3DXCreateVolumeTextureFromFile WINELIB_NAME_AW(D3DXCreateVolumeTextureFromFile) + +HRESULT WINAPI D3DXCreateTextureFromResourceA(struct IDirect3DDevice9 *device, + HMODULE srcmodule, const char *resource, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateTextureFromResourceW(struct IDirect3DDevice9 *device, + HMODULE srcmodule, const WCHAR *resource, struct IDirect3DTexture9 **texture); +#define D3DXCreateTextureFromResource WINELIB_NAME_AW(D3DXCreateTextureFromResource) + +HRESULT WINAPI D3DXCreateCubeTextureFromResourceA(struct IDirect3DDevice9 *device, + HMODULE srcmodule, const char *resource, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateCubeTextureFromResourceW(struct IDirect3DDevice9 *device, + HMODULE srcmodule, const WCHAR *resource, struct IDirect3DCubeTexture9 **cube); +#define D3DXCreateCubeTextureFromResource WINELIB_NAME_AW(D3DXCreateCubeTextureFromResource) + +HRESULT WINAPI D3DXCreateVolumeTextureFromResourceA(struct IDirect3DDevice9 *device, + HMODULE srcmodule, const char *resource, struct IDirect3DVolumeTexture9 **volume); +HRESULT WINAPI D3DXCreateVolumeTextureFromResourceW(struct IDirect3DDevice9 *device, + HMODULE srcmodule, const WCHAR *resource, struct IDirect3DVolumeTexture9 **volume); +#define D3DXCreateVolumeTextureFromResource WINELIB_NAME_AW(D3DXCreateVolumeTextureFromResource) + +HRESULT WINAPI D3DXCreateTextureFromFileExA(struct IDirect3DDevice9 *device, const char *srcfile, + UINT width, UINT height, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateTextureFromFileExW(struct IDirect3DDevice9 *device, const WCHAR *srcfile, + UINT width, UINT height, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DTexture9 **texture); +#define D3DXCreateTextureFromFileEx WINELIB_NAME_AW(D3DXCreateTextureFromFileEx) + +HRESULT WINAPI D3DXCreateCubeTextureFromFileExA(struct IDirect3DDevice9 *device, const char *srcfile, + UINT size, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateCubeTextureFromFileExW(struct IDirect3DDevice9 *device, const WCHAR *srcfile, + UINT size, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube); +#define D3DXCreateCubeTextureFromFileEx WINELIB_NAME_AW(D3DXCreateCubeTextureFromFileEx) + +HRESULT WINAPI D3DXCreateVolumeTextureFromFileExA(struct IDirect3DDevice9 *device, const char *srcfile, + UINT width, UINT height, UINT depth, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); +HRESULT WINAPI D3DXCreateVolumeTextureFromFileExW(struct IDirect3DDevice9 *device, const WCHAR *srcfile, + UINT width, UINT height, UINT depth, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); +#define D3DXCreateVolumeTextureFromFileEx WINELIB_NAME_AW(D3DXCreateVolumeTextureFromFileEx) + +HRESULT WINAPI D3DXCreateTextureFromResourceExA(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const char *resource, UINT width, UINT height, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateTextureFromResourceExW(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const WCHAR *resource, UINT width, UINT height, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DTexture9 **texture); +#define D3DXCreateTextureFromResourceEx WINELIB_NAME_AW(D3DXCreateTextureFromResourceEx) + +HRESULT WINAPI D3DXCreateCubeTextureFromResourceExA(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const char *resource, UINT size, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateCubeTextureFromResourceExW(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const WCHAR *resource, UINT size, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube); +#define D3DXCreateCubeTextureFromResourceEx WINELIB_NAME_AW(D3DXCreateCubeTextureFromResourceEx) + +HRESULT WINAPI D3DXCreateVolumeTextureFromResourceExA(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const char *resource, UINT width, UINT height, UINT depth, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); +HRESULT WINAPI D3DXCreateVolumeTextureFromResourceExW(struct IDirect3DDevice9 *device, HMODULE srcmodule, + const WCHAR *resource, UINT width, UINT height, UINT depth, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); +#define D3DXCreateVolumeTextureFromResourceEx WINELIB_NAME_AW(D3DXCreateVolumeTextureFromResourceEx) + +HRESULT WINAPI D3DXCreateTextureFromFileInMemory(struct IDirect3DDevice9 *device, + const void *srcdata, UINT srcdatasize, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateCubeTextureFromFileInMemory(struct IDirect3DDevice9 *device, + const void *srcdata, UINT srcdatasize, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateVolumeTextureFromFileInMemory(struct IDirect3DDevice9 *device, + const void *srcdata, UINT srcdatasize, struct IDirect3DVolumeTexture9 **volume); + +HRESULT WINAPI D3DXCreateTextureFromFileInMemoryEx(struct IDirect3DDevice9 *device, const void *srcdata, + UINT srcdatasize, UINT width, UINT height, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DTexture9 **texture); +HRESULT WINAPI D3DXCreateCubeTextureFromFileInMemoryEx(struct IDirect3DDevice9 *device, const void *srcdata, + UINT srcdatasize, UINT size, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DCubeTexture9 **cube); +HRESULT WINAPI D3DXCreateVolumeTextureFromFileInMemoryEx(struct IDirect3DDevice9 *device, const void *srcdata, + UINT srcdatasize, UINT width, UINT height, UINT depth, UINT miplevels, DWORD usage, D3DFORMAT format, + D3DPOOL pool, DWORD filter, DWORD mipfilter, D3DCOLOR colorkey, D3DXIMAGE_INFO *srcinfo, + PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); + +HRESULT WINAPI D3DXSaveTextureToFileInMemory(struct ID3DXBuffer **destbuffer, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DBaseTexture9 *srctexture, const PALETTEENTRY *srcpalette); +HRESULT WINAPI D3DXSaveTextureToFileA(const char *destfile, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DBaseTexture9 *srctexture, const PALETTEENTRY *srcpalette); +HRESULT WINAPI D3DXSaveTextureToFileW(const WCHAR *destfile, D3DXIMAGE_FILEFORMAT destformat, + struct IDirect3DBaseTexture9 *srctexture, const PALETTEENTRY *srcpalette); +#define D3DXSaveTextureToFile WINELIB_NAME_AW(D3DXSaveTextureToFile) + +/* Other functions */ +HRESULT WINAPI D3DXFilterTexture(struct IDirect3DBaseTexture9 *texture, + const PALETTEENTRY *palette, UINT srclevel, DWORD filter); +#define D3DXFilterCubeTexture D3DXFilterTexture +#define D3DXFilterVolumeTexture D3DXFilterTexture + +HRESULT WINAPI D3DXFillTexture(struct IDirect3DTexture9 *texture, LPD3DXFILL2D function, void *data); +HRESULT WINAPI D3DXFillCubeTexture(struct IDirect3DCubeTexture9 *cube, LPD3DXFILL3D function, void *data); +HRESULT WINAPI D3DXFillVolumeTexture(struct IDirect3DVolumeTexture9 *volume, LPD3DXFILL3D function, void *data); + +HRESULT WINAPI D3DXFillTextureTX(struct IDirect3DTexture9 *texture, ID3DXTextureShader *texture_shader); +HRESULT WINAPI D3DXFillCubeTextureTX(struct IDirect3DCubeTexture9 *cube, ID3DXTextureShader *texture_shader); +HRESULT WINAPI D3DXFillVolumeTextureTX(struct IDirect3DVolumeTexture9 *volume, ID3DXTextureShader *texture_shader); + +HRESULT WINAPI D3DXComputeNormalMap(IDirect3DTexture9 *texture, IDirect3DTexture9 *srctexture, + const PALETTEENTRY *srcpalette, DWORD flags, DWORD channel, float amplitude); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_D3DX9TEX_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9xof.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9xof.h new file mode 100644 index 0000000..35019f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/d3dx9xof.h @@ -0,0 +1,186 @@ +/* + * Copyright 2011 Dylan Smith + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DX9XOF_H +#define __WINE_D3DX9XOF_H + +#include "d3dx9.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef DWORD D3DXF_FILEFORMAT; +#define D3DXF_FILEFORMAT_BINARY 0 +#define D3DXF_FILEFORMAT_TEXT 1 +#define D3DXF_FILEFORMAT_COMPRESSED 2 + +typedef DWORD D3DXF_FILESAVEOPTIONS; +#define D3DXF_FILESAVE_TOFILE 0x00 +#define D3DXF_FILESAVE_TOWFILE 0x01 + +typedef DWORD D3DXF_FILELOADOPTIONS; +#define D3DXF_FILELOAD_FROMFILE 0x00 +#define D3DXF_FILELOAD_FROMWFILE 0x01 +#define D3DXF_FILELOAD_FROMRESOURCE 0x02 +#define D3DXF_FILELOAD_FROMMEMORY 0x03 + +typedef struct _D3DXF_FILELOADRESOURCE +{ + HMODULE hModule; + const char *lpName; + const char *lpType; +} D3DXF_FILELOADRESOURCE; + +typedef struct _D3DXF_FILELOADMEMORY +{ + void *lpMemory; + SIZE_T dSize; +} D3DXF_FILELOADMEMORY; + + +#ifndef _NO_COM +DEFINE_GUID(IID_ID3DXFile, 0xcef08cf9, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01); +DEFINE_GUID(IID_ID3DXFileSaveObject, 0xcef08cfa, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01); +DEFINE_GUID(IID_ID3DXFileSaveData, 0xcef08cfb, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01); +DEFINE_GUID(IID_ID3DXFileEnumObject, 0xcef08cfc, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01); +DEFINE_GUID(IID_ID3DXFileData, 0xcef08cfd, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01); +#endif /* _NO_COM */ + +typedef interface ID3DXFile *LPD3DXFILE, **LPLPD3DXFILE; +typedef interface ID3DXFileSaveObject *LPD3DXFILESAVEOBJECT, **LPLPD3DXFILESAVEOBJECT; +typedef interface ID3DXFileSaveData *LPD3DXFILESAVEDATA, **LPLPD3DXFILESAVEDATA; +typedef interface ID3DXFileEnumObject *LPD3DXFILEENUMOBJECT, **LPLPD3DXFILEENUMOBJECT; +typedef interface ID3DXFileData *LPD3DXFILEDATA, **LPLPD3DXFILEDATA; + +STDAPI D3DXFileCreate(struct ID3DXFile **file); + +#define INTERFACE ID3DXFile +DECLARE_INTERFACE_IID_(ID3DXFile,IUnknown,"cef08cf9-7b4f-4429-9624-2a690a933201") +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** ID3DXFile methods ***/ + STDMETHOD(CreateEnumObject)(THIS_ const void *src, D3DXF_FILELOADOPTIONS type, + struct ID3DXFileEnumObject **enum_obj) PURE; + STDMETHOD(CreateSaveObject)(THIS_ const void *data, D3DXF_FILESAVEOPTIONS flags, + D3DXF_FILEFORMAT format, struct ID3DXFileSaveObject **save_obj) PURE; + STDMETHOD(RegisterTemplates)(THIS_ const void *data, SIZE_T data_size) PURE; + STDMETHOD(RegisterEnumTemplates)(THIS_ struct ID3DXFileEnumObject *enum_obj) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXFileSaveObject +DECLARE_INTERFACE_IID_(ID3DXFileSaveObject,IUnknown,"cef08cfa-7b4f-4429-9624-2a690a933201") +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** ID3DXFileSaveObject methods ***/ + STDMETHOD(GetFile)(THIS_ ID3DXFile **file) PURE; + STDMETHOD(AddDataObject)(THIS_ REFGUID template_guid, const char *name, const GUID *guid, + SIZE_T data_size, const void *data, struct ID3DXFileSaveData **obj) PURE; + STDMETHOD(Save)(THIS) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXFileSaveData +DECLARE_INTERFACE_IID_(ID3DXFileSaveData,IUnknown,"cef08cfb-7b4f-4429-9624-2a690a933201") +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** ID3DXFileSaveObject methods ***/ + STDMETHOD(GetSave)(THIS_ ID3DXFileSaveObject **save_obj) PURE; + STDMETHOD(GetName)(THIS_ char *name, SIZE_T *size) PURE; + STDMETHOD(GetId)(THIS_ LPGUID) PURE; + STDMETHOD(GetType)(THIS_ GUID*) PURE; + STDMETHOD(AddDataObject)(THIS_ REFGUID template_guid, const char *name, const GUID *guid, + SIZE_T data_size, const void *data, ID3DXFileSaveData **obj) PURE; + STDMETHOD(AddDataReference)(THIS_ const char *name, const GUID *id) PURE; +}; +#undef INTERFACE + + +#define INTERFACE ID3DXFileEnumObject +DECLARE_INTERFACE_IID_(ID3DXFileEnumObject,IUnknown,"cef08cfc-7b4f-4429-9624-2a690a933201") +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** ID3DXFileEnumObject methods ***/ + STDMETHOD(GetFile)(THIS_ ID3DXFile **file) PURE; + STDMETHOD(GetChildren)(THIS_ SIZE_T*) PURE; + STDMETHOD(GetChild)(THIS_ SIZE_T id, struct ID3DXFileData **child) PURE; + STDMETHOD(GetDataObjectById)(THIS_ REFGUID guid, struct ID3DXFileData **obj) PURE; + STDMETHOD(GetDataObjectByName)(THIS_ const char *name, struct ID3DXFileData **obj) PURE; +}; +#undef INTERFACE + +#define INTERFACE ID3DXFileData +DECLARE_INTERFACE_IID_(ID3DXFileData,IUnknown,"cef08cfd-7b4f-4429-9624-2a690a933201") +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** ID3DXFileData methods ***/ + STDMETHOD(GetEnum)(THIS_ ID3DXFileEnumObject **enum_obj) PURE; + STDMETHOD(GetName)(THIS_ char *name, SIZE_T *size) PURE; + STDMETHOD(GetId)(THIS_ LPGUID) PURE; + STDMETHOD(Lock)(THIS_ SIZE_T *data_size, const void **data) PURE; + STDMETHOD(Unlock)(THIS) PURE; + STDMETHOD(GetType)(THIS_ GUID*) PURE; + STDMETHOD_(BOOL,IsReference)(THIS) PURE; + STDMETHOD(GetChildren)(THIS_ SIZE_T*) PURE; + STDMETHOD(GetChild)(THIS_ SIZE_T id, ID3DXFileData **child) PURE; +}; +#undef INTERFACE + +/* D3DX File errors */ +#define _FACD3DXF 0x876 + +#define D3DXFERR_BADOBJECT MAKE_HRESULT(1,_FACD3DXF,900) +#define D3DXFERR_BADVALUE MAKE_HRESULT(1,_FACD3DXF,901) +#define D3DXFERR_BADTYPE MAKE_HRESULT(1,_FACD3DXF,902) +#define D3DXFERR_NOTFOUND MAKE_HRESULT(1,_FACD3DXF,903) +#define D3DXFERR_NOTDONEYET MAKE_HRESULT(1,_FACD3DXF,904) +#define D3DXFERR_FILENOTFOUND MAKE_HRESULT(1,_FACD3DXF,905) +#define D3DXFERR_RESOURCENOTFOUND MAKE_HRESULT(1,_FACD3DXF,906) +#define D3DXFERR_BADRESOURCE MAKE_HRESULT(1,_FACD3DXF,907) +#define D3DXFERR_BADFILETYPE MAKE_HRESULT(1,_FACD3DXF,908) +#define D3DXFERR_BADFILEVERSION MAKE_HRESULT(1,_FACD3DXF,909) +#define D3DXFERR_BADFILEFLOATSIZE MAKE_HRESULT(1,_FACD3DXF,910) +#define D3DXFERR_BADFILE MAKE_HRESULT(1,_FACD3DXF,911) +#define D3DXFERR_PARSEERROR MAKE_HRESULT(1,_FACD3DXF,912) +#define D3DXFERR_BADARRAYSIZE MAKE_HRESULT(1,_FACD3DXF,913) +#define D3DXFERR_BADDATAREFERENCE MAKE_HRESULT(1,_FACD3DXF,914) +#define D3DXFERR_NOMOREOBJECTS MAKE_HRESULT(1,_FACD3DXF,915) +#define D3DXFERR_NOMOREDATA MAKE_HRESULT(1,_FACD3DXF,916) +#define D3DXFERR_BADCACHEFILE MAKE_HRESULT(1,_FACD3DXF,917) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_D3DX9XOF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/davclnt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/davclnt.h new file mode 100644 index 0000000..77c22e0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/davclnt.h @@ -0,0 +1,73 @@ +/* + * Copyright 2015 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DAVCLNT_H +#define __WINE_DAVCLNT_H + +#define OPAQUE_HANDLE DWORD + +#define DAV_AUTHN_SCHEME_BASIC 0x00000001 +#define DAV_AUTHN_SCHEME_NTLM 0x00000002 +#define DAV_AUTHN_SCHEME_PASSPORT 0x00000004 +#define DAV_AUTHN_SCHEME_DIGEST 0x00000008 +#define DAV_AUTHN_SCHEME_NEGOTIATE 0x00000010 +#define DAV_AUTHN_SCHEME_CERT 0x00010000 +#define DAV_AUTHN_SCHEME_FBA 0x00100000 + +typedef enum +{ + DefaultBehavior, + RetryRequest, + CancelRequest +} AUTHNEXTSTEP; + +typedef struct _DAV_CALLBACK_AUTH_BLOB +{ + PVOID pBuffer; + ULONG ulSize; + ULONG ulType; +} DAV_CALLBACK_AUTH_BLOB, *PDAV_CALLBACK_AUTH_BLOB; + +typedef struct _DAV_CALLBACK_AUTH_UNP +{ + LPWSTR pszUserName; + ULONG ulUserNameLength; + LPWSTR pszPassword; + ULONG ulPasswordLength; +} DAV_CALLBACK_AUTH_UNP, *PDAV_CALLBACK_AUTH_UNP; + +typedef struct _DAV_CALLBACK_CRED +{ + DAV_CALLBACK_AUTH_BLOB AuthBlob; + DAV_CALLBACK_AUTH_UNP UNPBlob; + BOOL bAuthBlobValid; + BOOL bSave; +} DAV_CALLBACK_CRED, *PDAV_CALLBACK_CRED; + +typedef DWORD (*PFNDAVAUTHCALLBACK_FREECRED) + (PVOID); + +typedef DWORD (*PFNDAVAUTHCALLBACK) + (LPWSTR,LPWSTR,DWORD,DWORD,PDAV_CALLBACK_CRED,AUTHNEXTSTEP*,PFNDAVAUTHCALLBACK_FREECRED*); + +DWORD WINAPI DavGetHTTPFromUNCPath(LPCWSTR,LPWSTR,LPDWORD); +DWORD WINAPI DavGetUNCFromHTTPPath(LPCWSTR,LPWSTR,LPDWORD); +OPAQUE_HANDLE WINAPI DavRegisterAuthCallback(PFNDAVAUTHCALLBACK,ULONG); +VOID WINAPI DavUnregisterAuthCallback(OPAQUE_HANDLE); + +#endif /* __WINE_DAVCLNT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbccmd.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbccmd.idl new file mode 100644 index 0000000..28c1c64 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbccmd.idl @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a1d-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBCreateCommand : IUnknown +{ + [local] + HRESULT CreateCommand([in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppCommand); + + [call_as(CreateCommand)] + HRESULT RemoteCreateCommand([in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppCommand, + [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbcses.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbcses.idl new file mode 100644 index 0000000..4df17e3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbcses.idl @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a5d-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBCreateSession : IUnknown +{ + [local] + HRESULT CreateSession([in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppDBSession); + + [call_as(CreateSession)] + HRESULT RemoteCreateSession([in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppDBSession, + [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbdsad.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbdsad.idl new file mode 100644 index 0000000..5a729cd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbdsad.idl @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a7a-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBDataSourceAdmin : IUnknown +{ + [local] + HRESULT CreateDataSource([in] ULONG cPropertySets, + [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[], + [in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppDBSession); + + [call_as(CreateDataSource)] + HRESULT RemoteCreateDataSource([in] ULONG cPropertySets, + [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [in] IUnknown *pUnkOuter, + [in] REFIID riid, + [in, out, unique, iid_is(riid)] IUnknown **ppDBSession, + [in] ULONG cTotalProps, + [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT DestroyDataSource(); + + [call_as(DestroyDataSource)] + HRESULT RemoteDestroyDataSource([out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetCreationProperties([in] ULONG cPropertyIDSets, + [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[], + [in, out] ULONG *pcPropertyInfoSets, + [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets, + [out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer); + + [call_as(GetCreationProperties)] + HRESULT RemoteGetCreationProperties([in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertyInfoSets, + [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets, + [in, out] DBCOUNTITEM *pcOffsets, + [out, size_is(,(ULONG)*pcOffsets)] DBBYTEOFFSET **prgDescOffsets, + [in, out] ULONG *pcbDescBuffer, + [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT ModifyDataSource([in] ULONG cPropertySets, + [in, size_is(cPropertySets)] DBPROPSET rgPropertySets[]); + + [call_as(ModifyDataSource)] + HRESULT RemoteModifyDataSource([in] ULONG cPropertySets, + [in, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbghelp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbghelp.h new file mode 100644 index 0000000..e6015ff --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbghelp.h @@ -0,0 +1,1536 @@ +/* + * Declarations for DBGHELP + * + * Copyright (C) 2003 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DBGHELP_H +#define __WINE_DBGHELP_H + +/* A set of documentation macros (see also imagehlp.h) */ +#ifndef __deref_out +# define __deref_out +#endif +#ifndef __deref_out_opt +# define __deref_out_opt +#endif +#ifndef __deref_opt_out +# define __deref_opt_out +#endif +#ifndef __in +# define __in +#endif +#ifndef __in_opt +# define __in_opt +#endif +#ifndef __in_bcount +# define __in_bcount(x) +#endif +#ifndef __in_bcount_opt +# define __in_bcount_opt(x) +#endif +#ifndef __in_ecount +# define __in_ecount(x) +#endif +#ifndef __inout +# define __inout +#endif +#ifndef __inout_opt +# define __inout_opt +#endif +#ifndef __inout_bcount +# define __inout_bcount(x) +#endif +#ifndef __inout_ecount +# define __inout_ecount(x) +#endif +#ifndef __out +# define __out +#endif +#ifndef __out_opt +# define __out_opt +#endif +#ifndef __out_bcount +# define __out_bcount(x) +#endif +#ifndef __out_bcount_opt +# define __out_bcount_opt(x) +#endif +#ifndef __out_ecount +# define __out_ecount(x) +#endif +#ifndef __out_ecount_opt +# define __out_ecount_opt(x) +#endif +#ifndef __out_xcount +# define __out_xcount(x) +#endif + + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifdef _WIN64 +#ifndef _IMAGEHLP64 +#define _IMAGEHLP64 +#endif +#endif + +#define IMAGEAPI WINAPI +#define DBHLPAPI IMAGEAPI + +typedef struct _LOADED_IMAGE +{ + PSTR ModuleName; + HANDLE hFile; + PUCHAR MappedAddress; + PIMAGE_NT_HEADERS FileHeader; + PIMAGE_SECTION_HEADER LastRvaSection; + ULONG NumberOfSections; + PIMAGE_SECTION_HEADER Sections; + ULONG Characteristics; + BOOLEAN fSystemImage; + BOOLEAN fDOSImage; + BOOLEAN fReadOnly; + UCHAR Version; + LIST_ENTRY Links; + ULONG SizeOfImage; +} LOADED_IMAGE, *PLOADED_IMAGE; + +/************************* + * IMAGEHLP equiv * + *************************/ + +typedef enum +{ + AddrMode1616, + AddrMode1632, + AddrModeReal, + AddrModeFlat +} ADDRESS_MODE; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define ADDRESS ADDRESS64 +#define LPADDRESS LPADDRESS64 +#else +typedef struct _tagADDRESS +{ + DWORD Offset; + WORD Segment; + ADDRESS_MODE Mode; +} ADDRESS, *LPADDRESS; +#endif + +typedef struct _tagADDRESS64 +{ + DWORD64 Offset; + WORD Segment; + ADDRESS_MODE Mode; +} ADDRESS64, *LPADDRESS64; + +#define SYMF_OMAP_GENERATED 0x00000001 +#define SYMF_OMAP_MODIFIED 0x00000002 +#define SYMF_USER_GENERATED 0x00000004 +#define SYMF_REGISTER 0x00000008 +#define SYMF_REGREL 0x00000010 +#define SYMF_FRAMEREL 0x00000020 +#define SYMF_PARAMETER 0x00000040 +#define SYMF_LOCAL 0x00000080 +#define SYMF_CONSTANT 0x00000100 +#define SYMF_EXPORT 0x00000200 +#define SYMF_FORWARDER 0x00000400 +#define SYMF_FUNCTION 0x00000800 +#define SYMF_VIRTUAL 0x00001000 +#define SYMF_THUNK 0x00002000 +#define SYMF_TLSREL 0x00004000 + +typedef enum +{ + SymNone = 0, + SymCoff, + SymCv, + SymPdb, + SymExport, + SymDeferred, + SymSym, + SymDia, + SymVirtual, + NumSymTypes +} SYM_TYPE; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define IMAGEHLP_SYMBOL IMAGEHLP_SYMBOL64 +#define IMAGEHLP_SYMBOLW IMAGEHLP_SYMBOLW64 +#define PIMAGEHLP_SYMBOL PIMAGEHLP_SYMBOL64 +#define PIMAGEHLP_SYMBOLW PIMAGEHLP_SYMBOLW64 +#else +typedef struct _IMAGEHLP_SYMBOL +{ + DWORD SizeOfStruct; + DWORD Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + CHAR Name[1]; +} IMAGEHLP_SYMBOL, *PIMAGEHLP_SYMBOL; + +typedef struct _IMAGEHLP_SYMBOLW +{ + DWORD SizeOfStruct; + DWORD Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + WCHAR Name[1]; +} IMAGEHLP_SYMBOLW, *PIMAGEHLP_SYMBOLW; +#endif + +typedef struct _IMAGEHLP_SYMBOL64 +{ + DWORD SizeOfStruct; + DWORD64 Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + CHAR Name[1]; +} IMAGEHLP_SYMBOL64, *PIMAGEHLP_SYMBOL64; + +typedef struct _IMAGEHLP_SYMBOLW64 +{ + DWORD SizeOfStruct; + DWORD64 Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + WCHAR Name[1]; +} IMAGEHLP_SYMBOLW64, *PIMAGEHLP_SYMBOLW64; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define IMAGEHLP_MODULE IMAGEHLP_MODULE64 +#define PIMAGEHLP_MODULE PIMAGEHLP_MODULE64 +#define IMAGEHLP_MODULEW IMAGEHLP_MODULEW64 +#define PIMAGEHLP_MODULEW PIMAGEHLP_MODULEW64 +#else +typedef struct _IMAGEHLP_MODULE +{ + DWORD SizeOfStruct; + DWORD BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + CHAR ModuleName[32]; + CHAR ImageName[256]; + CHAR LoadedImageName[256]; +} IMAGEHLP_MODULE, *PIMAGEHLP_MODULE; + +typedef struct _IMAGEHLP_MODULEW +{ + DWORD SizeOfStruct; + DWORD BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + WCHAR ModuleName[32]; + WCHAR ImageName[256]; + WCHAR LoadedImageName[256]; +} IMAGEHLP_MODULEW, *PIMAGEHLP_MODULEW; +#endif + +typedef struct _IMAGEHLP_MODULE64 +{ + DWORD SizeOfStruct; + DWORD64 BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + CHAR ModuleName[32]; + CHAR ImageName[256]; + CHAR LoadedImageName[256]; + CHAR LoadedPdbName[256]; + DWORD CVSig; + CHAR CVData[MAX_PATH*3]; + DWORD PdbSig; + GUID PdbSig70; + DWORD PdbAge; + BOOL PdbUnmatched; + BOOL DbgUnmatched; + BOOL LineNumbers; + BOOL GlobalSymbols; + BOOL TypeInfo; + BOOL SourceIndexed; + BOOL Publics; +} IMAGEHLP_MODULE64, *PIMAGEHLP_MODULE64; + +typedef struct _IMAGEHLP_MODULEW64 +{ + DWORD SizeOfStruct; + DWORD64 BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + WCHAR ModuleName[32]; + WCHAR ImageName[256]; + WCHAR LoadedImageName[256]; + WCHAR LoadedPdbName[256]; + DWORD CVSig; + WCHAR CVData[MAX_PATH*3]; + DWORD PdbSig; + GUID PdbSig70; + DWORD PdbAge; + BOOL PdbUnmatched; + BOOL DbgUnmatched; + BOOL LineNumbers; + BOOL GlobalSymbols; + BOOL TypeInfo; + BOOL SourceIndexed; + BOOL Publics; +} IMAGEHLP_MODULEW64, *PIMAGEHLP_MODULEW64; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define IMAGEHLP_LINE IMAGEHLP_LINE64 +#define PIMAGEHLP_LINE PIMAGEHLP_LINE64 +#define IMAGEHLP_LINEW IMAGEHLP_LINEW64 +#define PIMAGEHLP_LINEW PIMAGEHLP_LINEW64 +#else +typedef struct _IMAGEHLP_LINE +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PCHAR FileName; + DWORD Address; +} IMAGEHLP_LINE, *PIMAGEHLP_LINE; + +typedef struct _IMAGEHLP_LINEW +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PWSTR FileName; + DWORD Address; +} IMAGEHLP_LINEW, *PIMAGEHLP_LINEW; +#endif + +typedef struct _IMAGEHLP_LINE64 +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PCHAR FileName; + DWORD64 Address; +} IMAGEHLP_LINE64, *PIMAGEHLP_LINE64; + +typedef struct _IMAGEHLP_LINEW64 +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PWSTR FileName; + DWORD64 Address; +} IMAGEHLP_LINEW64, *PIMAGEHLP_LINEW64; + +typedef struct _SOURCEFILE +{ + DWORD64 ModBase; + PCHAR FileName; +} SOURCEFILE, *PSOURCEFILE; + +typedef struct _SOURCEFILEW +{ + DWORD64 ModBase; + PWSTR FileName; +} SOURCEFILEW, *PSOURCEFILEW; + +#define CBA_DEFERRED_SYMBOL_LOAD_START 0x00000001 +#define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE 0x00000002 +#define CBA_DEFERRED_SYMBOL_LOAD_FAILURE 0x00000003 +#define CBA_SYMBOLS_UNLOADED 0x00000004 +#define CBA_DUPLICATE_SYMBOL 0x00000005 +#define CBA_READ_MEMORY 0x00000006 +#define CBA_DEFERRED_SYMBOL_LOAD_CANCEL 0x00000007 +#define CBA_SET_OPTIONS 0x00000008 +#define CBA_EVENT 0x00000010 +#define CBA_DEFERRED_SYMBOL_LOAD_PARTIAL 0x00000020 +#define CBA_DEBUG_INFO 0x10000000 + +typedef struct _IMAGEHLP_CBA_READ_MEMORY +{ + DWORD64 addr; + PVOID buf; + DWORD bytes; + DWORD *bytesread; +} IMAGEHLP_CBA_READ_MEMORY, *PIMAGEHLP_CBA_READ_MEMORY; + +enum +{ + sevInfo = 0, + sevProblem, + sevAttn, + sevFatal, + sevMax +}; + +#define EVENT_SRCSPEW_START 100 +#define EVENT_SRCSPEW 100 +#define EVENT_SRCSPEW_END 199 + +typedef struct _IMAGEHLP_CBA_EVENT +{ + DWORD severity; + DWORD code; + PCHAR desc; + PVOID object; +} IMAGEHLP_CBA_EVENT, *PIMAGEHLP_CBA_EVENT; + +typedef struct _IMAGEHLP_CBA_EVENTW +{ + DWORD severity; + DWORD code; + PCWSTR desc; + PVOID object; +} IMAGEHLP_CBA_EVENTW, *PIMAGEHLP_CBA_EVENTW; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define IMAGEHLP_DEFERRED_SYMBOL_LOAD IMAGEHLP_DEFERRED_SYMBOL_LOAD64 +#define PIMAGEHLP_DEFERRED_SYMBOL_LOAD PIMAGEHLP_DEFERRED_SYMBOL_LOAD64 +#else +typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD +{ + DWORD SizeOfStruct; + DWORD BaseOfImage; + DWORD CheckSum; + DWORD TimeDateStamp; + CHAR FileName[MAX_PATH]; + BOOLEAN Reparse; + HANDLE hFile; +} IMAGEHLP_DEFERRED_SYMBOL_LOAD, *PIMAGEHLP_DEFERRED_SYMBOL_LOAD; +#endif + +typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD64 +{ + DWORD SizeOfStruct; + DWORD64 BaseOfImage; + DWORD CheckSum; + DWORD TimeDateStamp; + CHAR FileName[MAX_PATH]; + BOOLEAN Reparse; + HANDLE hFile; + DWORD Flags; +} IMAGEHLP_DEFERRED_SYMBOL_LOAD64, *PIMAGEHLP_DEFERRED_SYMBOL_LOAD64; + +typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOADW64 +{ + DWORD SizeOfStruct; + DWORD64 BaseOfImage; + DWORD CheckSum; + DWORD TimeDateStamp; + WCHAR FileName[MAX_PATH + 1]; + BOOLEAN Reparse; + HANDLE hFile; + DWORD Flags; +} IMAGEHLP_DEFERRED_SYMBOL_LOADW64, *PIMAGEHLP_DEFERRED_SYMBOL_LOADW64; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define IMAGEHLP_DUPLICATE_SYMBOL IMAGEHLP_DUPLICATE_SYMBOL64 +#define PIMAGEHLP_DUPLICATE_SYMBOL PIMAGEHLP_DUPLICATE_SYMBOL64 +#else +typedef struct _IMAGEHLP_DUPLICATE_SYMBOL +{ + DWORD SizeOfStruct; + DWORD NumberOfDups; + PIMAGEHLP_SYMBOL Symbol; + DWORD SelectedSymbol; +} IMAGEHLP_DUPLICATE_SYMBOL, *PIMAGEHLP_DUPLICATE_SYMBOL; +#endif + +typedef struct _IMAGEHLP_DUPLICATE_SYMBOL64 +{ + DWORD SizeOfStruct; + DWORD NumberOfDups; + PIMAGEHLP_SYMBOL64 Symbol; + DWORD SelectedSymbol; +} IMAGEHLP_DUPLICATE_SYMBOL64, *PIMAGEHLP_DUPLICATE_SYMBOL64; + +#define SYMOPT_CASE_INSENSITIVE 0x00000001 +#define SYMOPT_UNDNAME 0x00000002 +#define SYMOPT_DEFERRED_LOADS 0x00000004 +#define SYMOPT_NO_CPP 0x00000008 +#define SYMOPT_LOAD_LINES 0x00000010 +#define SYMOPT_OMAP_FIND_NEAREST 0x00000020 +#define SYMOPT_LOAD_ANYTHING 0x00000040 +#define SYMOPT_IGNORE_CVREC 0x00000080 +#define SYMOPT_NO_UNQUALIFIED_LOADS 0x00000100 +#define SYMOPT_FAIL_CRITICAL_ERRORS 0x00000200 +#define SYMOPT_EXACT_SYMBOLS 0x00000400 +#define SYMOPT_WILD_UNDERSCORE 0x00000800 +#define SYMOPT_USE_DEFAULTS 0x00001000 +/* latest SDK defines: +#define SYMOPT_ALLOW_ABSOLUTE_SYMBOLS 0x00000800 +#define SYMOPT_IGNORE_NT_SYMPATH 0x00001000 +*/ +#define SYMOPT_INCLUDE_32BIT_MODULES 0x00002000 +#define SYMOPT_PUBLICS_ONLY 0x00004000 +#define SYMOPT_NO_PUBLICS 0x00008000 +#define SYMOPT_AUTO_PUBLICS 0x00010000 +#define SYMOPT_NO_IMAGE_SEARCH 0x00020000 +#define SYMOPT_SECURE 0x00040000 +#define SYMOPT_NO_PROMPTS 0x00080000 +#define SYMOPT_OVERWRITE 0x00100000 +#define SYMOPT_IGNORE_IMAGEDIR 0x00200000 + +#define SYMOPT_DEBUG 0x80000000 + +typedef struct _IMAGEHLP_STACK_FRAME +{ + ULONG64 InstructionOffset; + ULONG64 ReturnOffset; + ULONG64 FrameOffset; + ULONG64 StackOffset; + ULONG64 BackingStoreOffset; + ULONG64 FuncTableEntry; + ULONG64 Params[4]; + ULONG64 Reserved[5]; + BOOL Virtual; + ULONG Reserved2; +} IMAGEHLP_STACK_FRAME, *PIMAGEHLP_STACK_FRAME; + +typedef VOID IMAGEHLP_CONTEXT, *PIMAGEHLP_CONTEXT; + +#define DBHHEADER_DEBUGDIRS 0x1 +typedef struct _DBGHELP_MODLOAD_DATA +{ + DWORD ssize; + DWORD ssig; + PVOID data; + DWORD size; + DWORD flags; +} MODLOAD_DATA, *PMODLOAD_DATA; + +/************************* + * MiniDUMP * + *************************/ + +#include +/* DebugHelp */ + +#define MINIDUMP_SIGNATURE 0x504D444D /* 'MDMP' */ +#define MINIDUMP_VERSION (42899) + +typedef DWORD RVA; +typedef ULONG64 RVA64; + +typedef enum _MINIDUMP_TYPE +{ + MiniDumpNormal = 0x0000, + MiniDumpWithDataSegs = 0x0001, + MiniDumpWithFullMemory = 0x0002, + MiniDumpWithHandleData = 0x0004, + MiniDumpFilterMemory = 0x0008, + MiniDumpScanMemory = 0x0010, + MiniDumpWithUnloadedModules = 0x0020, + MiniDumpWithIndirectlyReferencedMemory = 0x0040, + MiniDumpFilterModulePaths = 0x0080, + MiniDumpWithProcessThreadData = 0x0100, + MiniDumpWithPrivateReadWriteMemory = 0x0200, + MiniDumpWithoutOptionalData = 0x0400, + MiniDumpWithFullMemoryInfo = 0x0800, + MiniDumpWithThreadInfo = 0x1000, + MiniDumpWithCodeSegs = 0x2000 +} MINIDUMP_TYPE; + +typedef enum _MINIDUMP_CALLBACK_TYPE +{ + ModuleCallback, + ThreadCallback, + ThreadExCallback, + IncludeThreadCallback, + IncludeModuleCallback, + MemoryCallback, +} MINIDUMP_CALLBACK_TYPE; + +typedef struct _MINIDUMP_THREAD_CALLBACK +{ + ULONG ThreadId; + HANDLE ThreadHandle; + CONTEXT Context; + ULONG SizeOfContext; + ULONG64 StackBase; + ULONG64 StackEnd; +} MINIDUMP_THREAD_CALLBACK, *PMINIDUMP_THREAD_CALLBACK; + +typedef struct _MINIDUMP_THREAD_EX_CALLBACK +{ + ULONG ThreadId; + HANDLE ThreadHandle; + CONTEXT Context; + ULONG SizeOfContext; + ULONG64 StackBase; + ULONG64 StackEnd; + ULONG64 BackingStoreBase; + ULONG64 BackingStoreEnd; +} MINIDUMP_THREAD_EX_CALLBACK, *PMINIDUMP_THREAD_EX_CALLBACK; + +typedef struct _MINIDUMP_INCLUDE_THREAD_CALLBACK +{ + ULONG ThreadId; +} MINIDUMP_INCLUDE_THREAD_CALLBACK, *PMINIDUMP_INCLUDE_THREAD_CALLBACK; + +typedef enum _THREAD_WRITE_FLAGS +{ + ThreadWriteThread = 0x0001, + ThreadWriteStack = 0x0002, + ThreadWriteContext = 0x0004, + ThreadWriteBackingStore = 0x0008, + ThreadWriteInstructionWindow = 0x0010, + ThreadWriteThreadData = 0x0020, + ThreadWriteThreadInfo = 0x0040 +} THREAD_WRITE_FLAGS; + +typedef struct _MINIDUMP_MODULE_CALLBACK +{ + PWCHAR FullPath; + ULONG64 BaseOfImage; + ULONG SizeOfImage; + ULONG CheckSum; + ULONG TimeDateStamp; + VS_FIXEDFILEINFO VersionInfo; + PVOID CvRecord; + ULONG SizeOfCvRecord; + PVOID MiscRecord; + ULONG SizeOfMiscRecord; +} MINIDUMP_MODULE_CALLBACK, *PMINIDUMP_MODULE_CALLBACK; + +typedef struct _MINIDUMP_INCLUDE_MODULE_CALLBACK +{ + ULONG64 BaseOfImage; +} MINIDUMP_INCLUDE_MODULE_CALLBACK, *PMINIDUMP_INCLUDE_MODULE_CALLBACK; + +typedef enum _MODULE_WRITE_FLAGS +{ + ModuleWriteModule = 0x0001, + ModuleWriteDataSeg = 0x0002, + ModuleWriteMiscRecord = 0x0004, + ModuleWriteCvRecord = 0x0008, + ModuleReferencedByMemory = 0x0010, + ModuleWriteTlsData = 0x0020, + ModuleWriteCodeSegs = 0x0040, +} MODULE_WRITE_FLAGS; + +typedef struct _MINIDUMP_CALLBACK_INPUT +{ + ULONG ProcessId; + HANDLE ProcessHandle; + ULONG CallbackType; + union + { + MINIDUMP_THREAD_CALLBACK Thread; + MINIDUMP_THREAD_EX_CALLBACK ThreadEx; + MINIDUMP_MODULE_CALLBACK Module; + MINIDUMP_INCLUDE_THREAD_CALLBACK IncludeThread; + MINIDUMP_INCLUDE_MODULE_CALLBACK IncludeModule; + } DUMMYUNIONNAME; +} MINIDUMP_CALLBACK_INPUT, *PMINIDUMP_CALLBACK_INPUT; + +typedef struct _MINIDUMP_CALLBACK_OUTPUT +{ + union + { + ULONG ModuleWriteFlags; + ULONG ThreadWriteFlags; + struct + { + ULONG64 MemoryBase; + ULONG MemorySize; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; +} MINIDUMP_CALLBACK_OUTPUT, *PMINIDUMP_CALLBACK_OUTPUT; + +typedef BOOL (WINAPI* MINIDUMP_CALLBACK_ROUTINE)(PVOID, const PMINIDUMP_CALLBACK_INPUT, PMINIDUMP_CALLBACK_OUTPUT); + +typedef struct _MINIDUMP_CALLBACK_INFORMATION +{ + MINIDUMP_CALLBACK_ROUTINE CallbackRoutine; + void* CallbackParam; +} MINIDUMP_CALLBACK_INFORMATION, *PMINIDUMP_CALLBACK_INFORMATION; + +typedef struct _MINIDUMP_LOCATION_DESCRIPTOR +{ + ULONG DataSize; + RVA Rva; +} MINIDUMP_LOCATION_DESCRIPTOR; + +typedef struct _MINIDUMP_LOCATION_DESCRIPTOR64 +{ + ULONG64 DataSize; + RVA64 Rva; +} MINIDUMP_LOCATION_DESCRIPTOR64; + +typedef struct _MINIDUMP_DIRECTORY +{ + ULONG StreamType; + MINIDUMP_LOCATION_DESCRIPTOR Location; +} MINIDUMP_DIRECTORY, *PMINIDUMP_DIRECTORY; + +typedef struct _MINIDUMP_EXCEPTION +{ + ULONG ExceptionCode; + ULONG ExceptionFlags; + ULONG64 ExceptionRecord; + ULONG64 ExceptionAddress; + ULONG NumberParameters; + ULONG __unusedAlignment; + ULONG64 ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS]; +} MINIDUMP_EXCEPTION, *PMINIDUMP_EXCEPTION; + +typedef struct _MINIDUMP_EXCEPTION_INFORMATION +{ + DWORD ThreadId; + PEXCEPTION_POINTERS ExceptionPointers; + BOOL ClientPointers; +} MINIDUMP_EXCEPTION_INFORMATION, *PMINIDUMP_EXCEPTION_INFORMATION; + +typedef struct MINIDUMP_EXCEPTION_STREAM +{ + ULONG ThreadId; + ULONG __alignment; + MINIDUMP_EXCEPTION ExceptionRecord; + MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; +} MINIDUMP_EXCEPTION_STREAM, *PMINIDUMP_EXCEPTION_STREAM; + +typedef struct _MINIDUMP_HEADER +{ + DWORD Signature; + DWORD Version; + DWORD NumberOfStreams; + RVA StreamDirectoryRva; + DWORD CheckSum; + union + { + DWORD Reserved; + DWORD TimeDateStamp; + } DUMMYUNIONNAME; + ULONG64 Flags; +} MINIDUMP_HEADER, *PMINIDUMP_HEADER; + +typedef struct _MINIDUMP_MEMORY_DESCRIPTOR +{ + ULONG64 StartOfMemoryRange; + MINIDUMP_LOCATION_DESCRIPTOR Memory; +} MINIDUMP_MEMORY_DESCRIPTOR, *PMINIDUMP_MEMORY_DESCRIPTOR; + +typedef struct _MINIDUMP_MEMORY_LIST +{ + ULONG NumberOfMemoryRanges; + MINIDUMP_MEMORY_DESCRIPTOR MemoryRanges[1]; /* FIXME: 0-sized array not supported */ +} MINIDUMP_MEMORY_LIST, *PMINIDUMP_MEMORY_LIST; + +#define MINIDUMP_MISC1_PROCESS_ID 0x00000001 +#define MINIDUMP_MISC1_PROCESS_TIMES 0x00000002 + +typedef struct _MINIDUMP_MISC_INFO +{ + ULONG SizeOfInfo; + ULONG Flags1; + ULONG ProcessId; + ULONG ProcessCreateTime; + ULONG ProcessUserTime; + ULONG ProcessKernelTime; +} MINIDUMP_MISC_INFO, *PMINIDUMP_MISC_INFO; + +typedef struct _MINIDUMP_MODULE +{ + ULONG64 BaseOfImage; + ULONG SizeOfImage; + ULONG CheckSum; + ULONG TimeDateStamp; + RVA ModuleNameRva; + VS_FIXEDFILEINFO VersionInfo; + MINIDUMP_LOCATION_DESCRIPTOR CvRecord; + MINIDUMP_LOCATION_DESCRIPTOR MiscRecord; + ULONG64 Reserved0; + ULONG64 Reserved1; +} MINIDUMP_MODULE, *PMINIDUMP_MODULE; + +typedef struct _MINIDUMP_MODULE_LIST +{ + ULONG NumberOfModules; + MINIDUMP_MODULE Modules[1]; /* FIXME: 0-sized array not supported */ +} MINIDUMP_MODULE_LIST, *PMINIDUMP_MODULE_LIST; + +typedef struct _MINIDUMP_STRING +{ + ULONG Length; + WCHAR Buffer[1]; /* FIXME: O-sized array not supported */ +} MINIDUMP_STRING, *PMINIDUMP_STRING; + +typedef struct _MINIDUMP_SYSTEM_INFO +{ + USHORT ProcessorArchitecture; + USHORT ProcessorLevel; + USHORT ProcessorRevision; + union + { + USHORT Reserved0; + struct + { + UCHAR NumberOfProcessors; + UCHAR ProductType; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + + ULONG MajorVersion; + ULONG MinorVersion; + ULONG BuildNumber; + ULONG PlatformId; + + RVA CSDVersionRva; + union + { + ULONG Reserved1; + struct + { + USHORT SuiteMask; + USHORT Reserved2; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME1; + union _CPU_INFORMATION + { + struct + { + ULONG VendorId[3]; + ULONG VersionInformation; + ULONG FeatureInformation; + ULONG AMDExtendedCpuFeatures; + } X86CpuInfo; + struct + { + ULONG64 ProcessorFeatures[2]; + } OtherCpuInfo; + } Cpu; + +} MINIDUMP_SYSTEM_INFO, *PMINIDUMP_SYSTEM_INFO; + +typedef struct _MINIDUMP_THREAD +{ + ULONG ThreadId; + ULONG SuspendCount; + ULONG PriorityClass; + ULONG Priority; + ULONG64 Teb; + MINIDUMP_MEMORY_DESCRIPTOR Stack; + MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; +} MINIDUMP_THREAD, *PMINIDUMP_THREAD; + +typedef struct _MINIDUMP_THREAD_LIST +{ + ULONG NumberOfThreads; + MINIDUMP_THREAD Threads[1]; /* FIXME: no support of 0 sized array */ +} MINIDUMP_THREAD_LIST, *PMINIDUMP_THREAD_LIST; + +typedef struct _MINIDUMP_USER_STREAM +{ + ULONG Type; + ULONG BufferSize; + void* Buffer; +} MINIDUMP_USER_STREAM, *PMINIDUMP_USER_STREAM; + +typedef struct _MINIDUMP_USER_STREAM_INFORMATION +{ + ULONG UserStreamCount; + PMINIDUMP_USER_STREAM UserStreamArray; +} MINIDUMP_USER_STREAM_INFORMATION, *PMINIDUMP_USER_STREAM_INFORMATION; + +typedef enum _MINIDUMP_STREAM_TYPE +{ + UnusedStream = 0, + ReservedStream0 = 1, + ReservedStream1 = 2, + ThreadListStream = 3, + ModuleListStream = 4, + MemoryListStream = 5, + ExceptionStream = 6, + SystemInfoStream = 7, + ThreadExListStream = 8, + Memory64ListStream = 9, + CommentStreamA = 10, + CommentStreamW = 11, + HandleDataStream = 12, + FunctionTableStream = 13, + UnloadedModuleListStream = 14, + MiscInfoStream = 15, + MemoryInfoListStream = 16, + ThreadInfoListStream = 17, + + LastReservedStream = 0xffff +} MINIDUMP_STREAM_TYPE; + +BOOL WINAPI MiniDumpWriteDump(HANDLE, DWORD, HANDLE, MINIDUMP_TYPE, + const PMINIDUMP_EXCEPTION_INFORMATION, + const PMINIDUMP_USER_STREAM_INFORMATION, + const PMINIDUMP_CALLBACK_INFORMATION); +BOOL WINAPI MiniDumpReadDumpStream(PVOID, ULONG, PMINIDUMP_DIRECTORY*, PVOID*, + ULONG*); + +#include + +/************************* + * MODULE handling * + *************************/ + +/* flags for SymLoadModuleEx */ +#define SLMFLAG_VIRTUAL 0x1 +#define SLMFLAG_NO_SYMBOLS 0x4 + +typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK64)(PCSTR, DWORD64, ULONG, PVOID); +BOOL WINAPI EnumerateLoadedModules64(HANDLE, PENUMLOADED_MODULES_CALLBACK64, PVOID); +typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACKW64)(PCWSTR, DWORD64, ULONG, PVOID); +BOOL WINAPI EnumerateLoadedModulesW64(HANDLE, PENUMLOADED_MODULES_CALLBACKW64, PVOID); +BOOL WINAPI EnumerateLoadedModulesEx(HANDLE, PENUMLOADED_MODULES_CALLBACK64, PVOID); +BOOL WINAPI EnumerateLoadedModulesExW(HANDLE, PENUMLOADED_MODULES_CALLBACKW64, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMMODULES_CALLBACK64)(PCSTR, DWORD64, PVOID); +BOOL WINAPI SymEnumerateModules64(HANDLE, PSYM_ENUMMODULES_CALLBACK64, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMMODULES_CALLBACKW64)(PCWSTR, DWORD64, PVOID); +BOOL WINAPI SymEnumerateModulesW64(HANDLE, PSYM_ENUMMODULES_CALLBACKW64, PVOID); +BOOL WINAPI SymGetModuleInfo64(HANDLE, DWORD64, PIMAGEHLP_MODULE64); +BOOL WINAPI SymGetModuleInfoW64(HANDLE, DWORD64, PIMAGEHLP_MODULEW64); +DWORD64 WINAPI SymGetModuleBase64(HANDLE, DWORD64); +DWORD64 WINAPI SymLoadModule64(HANDLE, HANDLE, PCSTR, PCSTR, DWORD64, DWORD); +DWORD64 WINAPI SymLoadModuleEx(HANDLE, HANDLE, PCSTR, PCSTR, DWORD64, DWORD, + PMODLOAD_DATA, DWORD); +DWORD64 WINAPI SymLoadModuleExW(HANDLE, HANDLE, PCWSTR, PCWSTR, DWORD64, DWORD, + PMODLOAD_DATA, DWORD); +BOOL WINAPI SymUnloadModule64(HANDLE, DWORD64); + +/************************* + * Symbol Handling * + *************************/ + +#define IMAGEHLP_SYMBOL_INFO_VALUEPRESENT 1 +#define IMAGEHLP_SYMBOL_INFO_REGISTER SYMF_REGISTER /* 0x08 */ +#define IMAGEHLP_SYMBOL_INFO_REGRELATIVE SYMF_REGREL /* 0x10 */ +#define IMAGEHLP_SYMBOL_INFO_FRAMERELATIVE SYMF_FRAMEREL /* 0x20 */ +#define IMAGEHLP_SYMBOL_INFO_PARAMETER SYMF_PARAMETER /* 0x40 */ +#define IMAGEHLP_SYMBOL_INFO_LOCAL SYMF_LOCAL /* 0x80 */ +#define IMAGEHLP_SYMBOL_INFO_CONSTANT SYMF_CONSTANT /* 0x100 */ +#define IMAGEHLP_SYMBOL_FUNCTION SYMF_FUNCTION /* 0x800 */ + +#define SYMFLAG_VALUEPRESENT 0x00000001 +#define SYMFLAG_REGISTER 0x00000008 +#define SYMFLAG_REGREL 0x00000010 +#define SYMFLAG_FRAMEREL 0x00000020 +#define SYMFLAG_PARAMETER 0x00000040 +#define SYMFLAG_LOCAL 0x00000080 +#define SYMFLAG_CONSTANT 0x00000100 +#define SYMFLAG_EXPORT 0x00000200 +#define SYMFLAG_FORWARDER 0x00000400 +#define SYMFLAG_FUNCTION 0x00000800 +#define SYMFLAG_VIRTUAL 0x00001000 +#define SYMFLAG_THUNK 0x00002000 +#define SYMFLAG_TLSREL 0x00004000 +#define SYMFLAG_SLOT 0x00008000 + +#define MAX_SYM_NAME 2000 + +typedef struct _SYMBOL_INFO +{ + ULONG SizeOfStruct; + ULONG TypeIndex; + ULONG64 Reserved[2]; + ULONG Index; + ULONG Size; + ULONG64 ModBase; + ULONG Flags; + ULONG64 Value; + ULONG64 Address; + ULONG Register; + ULONG Scope; + ULONG Tag; + ULONG NameLen; + ULONG MaxNameLen; + CHAR Name[1]; +} SYMBOL_INFO, *PSYMBOL_INFO; + +typedef struct _SYMBOL_INFOW +{ + ULONG SizeOfStruct; + ULONG TypeIndex; + ULONG64 Reserved[2]; + ULONG Index; + ULONG Size; + ULONG64 ModBase; + ULONG Flags; + ULONG64 Value; + ULONG64 Address; + ULONG Register; + ULONG Scope; + ULONG Tag; + ULONG NameLen; + ULONG MaxNameLen; + WCHAR Name[1]; +} SYMBOL_INFOW, *PSYMBOL_INFOW; + +typedef struct _SYMBOL_INFO_PACKAGE +{ + SYMBOL_INFO si; + CHAR name[MAX_SYM_NAME+1]; +} SYMBOL_INFO_PACKAGE, *PSYMBOL_INFO_PACKAGE; + +typedef struct _SYMBOL_INFO_PACKAGEW +{ + SYMBOL_INFOW si; + WCHAR name[MAX_SYM_NAME+1]; +} SYMBOL_INFO_PACKAGEW, *PSYMBOL_INFO_PACKAGEW; + +typedef enum _IMAGEHLP_SYMBOL_TYPE_INFO +{ + TI_GET_SYMTAG, + TI_GET_SYMNAME, + TI_GET_LENGTH, + TI_GET_TYPE, + TI_GET_TYPEID, + TI_GET_BASETYPE, + TI_GET_ARRAYINDEXTYPEID, + TI_FINDCHILDREN, + TI_GET_DATAKIND, + TI_GET_ADDRESSOFFSET, + TI_GET_OFFSET, + TI_GET_VALUE, + TI_GET_COUNT, + TI_GET_CHILDRENCOUNT, + TI_GET_BITPOSITION, + TI_GET_VIRTUALBASECLASS, + TI_GET_VIRTUALTABLESHAPEID, + TI_GET_VIRTUALBASEPOINTEROFFSET, + TI_GET_CLASSPARENTID, + TI_GET_NESTED, + TI_GET_SYMINDEX, + TI_GET_LEXICALPARENT, + TI_GET_ADDRESS, + TI_GET_THISADJUST, + TI_GET_UDTKIND, + TI_IS_EQUIV_TO, + TI_GET_CALLING_CONVENTION, +} IMAGEHLP_SYMBOL_TYPE_INFO; + +#define IMAGEHLP_GET_TYPE_INFO_UNCACHED 0x00000001 +#define IMAGEHLP_GET_TYPE_INFO_CHILDREN 0x00000002 +typedef struct _IMAGEHLP_GET_TYPE_INFO_PARAMS +{ + ULONG SizeOfStruct; + ULONG Flags; + ULONG NumIds; + PULONG TypeIds; + ULONG64 TagFilter; + ULONG NumReqs; + IMAGEHLP_SYMBOL_TYPE_INFO* ReqKinds; + PULONG_PTR ReqOffsets; + PULONG ReqSizes; + ULONG_PTR ReqStride; + ULONG_PTR BufferSize; + PVOID Buffer; + ULONG EntriesMatched; + ULONG EntriesFilled; + ULONG64 TagsFound; + ULONG64 AllReqsValid; + ULONG NumReqsValid; + PULONG64 ReqsValid; +} IMAGEHLP_GET_TYPE_INFO_PARAMS, *PIMAGEHLP_GET_TYPE_INFO_PARAMS; + +typedef struct _TI_FINDCHILDREN_PARAMS +{ + ULONG Count; + ULONG Start; + ULONG ChildId[1]; +} TI_FINDCHILDREN_PARAMS; + +#define UNDNAME_COMPLETE (0x0000) +#define UNDNAME_NO_LEADING_UNDERSCORES (0x0001) +#define UNDNAME_NO_MS_KEYWORDS (0x0002) +#define UNDNAME_NO_FUNCTION_RETURNS (0x0004) +#define UNDNAME_NO_ALLOCATION_MODEL (0x0008) +#define UNDNAME_NO_ALLOCATION_LANGUAGE (0x0010) +#define UNDNAME_NO_MS_THISTYPE (0x0020) +#define UNDNAME_NO_CV_THISTYPE (0x0040) +#define UNDNAME_NO_THISTYPE (0x0060) +#define UNDNAME_NO_ACCESS_SPECIFIERS (0x0080) +#define UNDNAME_NO_THROW_SIGNATURES (0x0100) +#define UNDNAME_NO_MEMBER_TYPE (0x0200) +#define UNDNAME_NO_RETURN_UDT_MODEL (0x0400) +#define UNDNAME_32_BIT_DECODE (0x0800) +#define UNDNAME_NAME_ONLY (0x1000) +#define UNDNAME_NO_ARGUMENTS (0x2000) +#define UNDNAME_NO_SPECIAL_SYMS (0x4000) + +#define SYMSEARCH_MASKOBJS 0x01 +#define SYMSEARCH_RECURSE 0x02 +#define SYMSEARCH_GLOBALSONLY 0x04 + +BOOL WINAPI SymGetTypeInfo(HANDLE, DWORD64, ULONG, IMAGEHLP_SYMBOL_TYPE_INFO, PVOID); +BOOL WINAPI SymGetTypeInfoEx(HANDLE, DWORD64, PIMAGEHLP_GET_TYPE_INFO_PARAMS); +typedef BOOL (CALLBACK *PSYM_ENUMERATESYMBOLS_CALLBACK)(PSYMBOL_INFO, ULONG, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMERATESYMBOLS_CALLBACKW)(PSYMBOL_INFOW, ULONG, PVOID); +BOOL WINAPI SymEnumTypes(HANDLE, ULONG64, PSYM_ENUMERATESYMBOLS_CALLBACK, PVOID); +BOOL WINAPI SymEnumTypesW(HANDLE, ULONG64, PSYM_ENUMERATESYMBOLS_CALLBACKW, PVOID); +BOOL WINAPI SymFromAddr(HANDLE, DWORD64, DWORD64*, SYMBOL_INFO*); +BOOL WINAPI SymFromAddrW(HANDLE, DWORD64, DWORD64*, SYMBOL_INFOW*); +BOOL WINAPI SymFromToken(HANDLE, DWORD64, DWORD, PSYMBOL_INFO); +BOOL WINAPI SymFromTokenW(HANDLE, DWORD64, DWORD, PSYMBOL_INFOW); +BOOL WINAPI SymFromName(HANDLE, PCSTR, PSYMBOL_INFO); +BOOL WINAPI SymFromNameW(HANDLE, PCWSTR, PSYMBOL_INFOW); +BOOL WINAPI SymGetSymFromAddr64(HANDLE, DWORD64, PDWORD64, PIMAGEHLP_SYMBOL64); +BOOL WINAPI SymGetSymFromName64(HANDLE, PCSTR, PIMAGEHLP_SYMBOL64); +BOOL WINAPI SymGetTypeFromName(HANDLE, ULONG64, PCSTR, PSYMBOL_INFO); +BOOL WINAPI SymGetTypeFromNameW(HANDLE, ULONG64, PCWSTR, PSYMBOL_INFOW); +BOOL WINAPI SymGetSymNext64(HANDLE, PIMAGEHLP_SYMBOL64); +BOOL WINAPI SymGetSymNextW64(HANDLE, PIMAGEHLP_SYMBOLW64); +BOOL WINAPI SymGetSymPrev64(HANDLE, PIMAGEHLP_SYMBOL64); +BOOL WINAPI SymGetSymPrevW64(HANDLE, PIMAGEHLP_SYMBOLW64); +BOOL WINAPI SymEnumSym(HANDLE,ULONG64,PSYM_ENUMERATESYMBOLS_CALLBACK,PVOID); +BOOL WINAPI SymEnumSymbols(HANDLE, ULONG64, PCSTR, PSYM_ENUMERATESYMBOLS_CALLBACK, + PVOID); +BOOL WINAPI SymEnumSymbolsW(HANDLE, ULONG64, PCWSTR, PSYM_ENUMERATESYMBOLS_CALLBACKW, + PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACK64)(PCSTR, DWORD64, ULONG, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACK64W)(PCWSTR, DWORD64, ULONG, PVOID); +BOOL WINAPI SymEnumerateSymbols64(HANDLE, ULONG64, PSYM_ENUMSYMBOLS_CALLBACK64, PVOID); +BOOL WINAPI SymEnumerateSymbolsW64(HANDLE, ULONG64, PSYM_ENUMSYMBOLS_CALLBACK64W, PVOID); +BOOL WINAPI SymEnumSymbolsForAddr(HANDLE, DWORD64, PSYM_ENUMERATESYMBOLS_CALLBACK, PVOID); +BOOL WINAPI SymEnumSymbolsForAddrW(HANDLE, DWORD64, PSYM_ENUMERATESYMBOLS_CALLBACKW, PVOID); +typedef BOOL (CALLBACK *PSYMBOL_REGISTERED_CALLBACK64)(HANDLE, ULONG, ULONG64, ULONG64); +BOOL WINAPI SymRegisterCallback64(HANDLE, PSYMBOL_REGISTERED_CALLBACK64, ULONG64); +BOOL WINAPI SymRegisterCallbackW64(HANDLE, PSYMBOL_REGISTERED_CALLBACK64, ULONG64); +BOOL WINAPI SymUnDName64(PIMAGEHLP_SYMBOL64, PSTR, DWORD); +BOOL WINAPI SymMatchString(PCSTR, PCSTR, BOOL); +BOOL WINAPI SymMatchStringA(PCSTR, PCSTR, BOOL); +BOOL WINAPI SymMatchStringW(PCWSTR, PCWSTR, BOOL); +BOOL WINAPI SymSearch(HANDLE, ULONG64, DWORD, DWORD, PCSTR, DWORD64, PSYM_ENUMERATESYMBOLS_CALLBACK, PVOID, DWORD); +BOOL WINAPI SymSearchW(HANDLE, ULONG64, DWORD, DWORD, PCWSTR, DWORD64, PSYM_ENUMERATESYMBOLS_CALLBACKW, PVOID, DWORD); +DWORD WINAPI UnDecorateSymbolName(PCSTR, PSTR, DWORD, DWORD); +DWORD WINAPI UnDecorateSymbolNameW(PCWSTR, PWSTR, DWORD, DWORD); +BOOL WINAPI SymGetScope(HANDLE, ULONG64, DWORD, PSYMBOL_INFO); +BOOL WINAPI SymGetScopeW(HANDLE, ULONG64, DWORD, PSYMBOL_INFOW); +BOOL WINAPI SymFromIndex(HANDLE, ULONG64, DWORD, PSYMBOL_INFO); +BOOL WINAPI SymFromIndexW(HANDLE, ULONG64, DWORD, PSYMBOL_INFOW); +BOOL WINAPI SymAddSymbol(HANDLE, ULONG64, PCSTR, DWORD64, DWORD, DWORD); +BOOL WINAPI SymAddSymbolW(HANDLE, ULONG64, PCWSTR, DWORD64, DWORD, DWORD); +BOOL WINAPI SymDeleteSymbol(HANDLE, ULONG64, PCSTR, DWORD64, DWORD); +BOOL WINAPI SymDeleteSymbolW(HANDLE, ULONG64, PCWSTR, DWORD64, DWORD); + +/************************* + * Source Files * + *************************/ +typedef BOOL (CALLBACK *PSYM_ENUMSOURCEFILES_CALLBACK)(PSOURCEFILE, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMSOURCEFILES_CALLBACKW)(PSOURCEFILEW, PVOID); + +BOOL WINAPI SymEnumSourceFiles(HANDLE, ULONG64, PCSTR, PSYM_ENUMSOURCEFILES_CALLBACK, + PVOID); +BOOL WINAPI SymEnumSourceFilesW(HANDLE, ULONG64, PCWSTR, PSYM_ENUMSOURCEFILES_CALLBACKW, PVOID); +BOOL WINAPI SymGetLineFromAddr64(HANDLE, DWORD64, PDWORD, PIMAGEHLP_LINE64); +BOOL WINAPI SymGetLineFromAddrW64(HANDLE, DWORD64, PDWORD, PIMAGEHLP_LINEW64); +BOOL WINAPI SymGetLinePrev64(HANDLE, PIMAGEHLP_LINE64); +BOOL WINAPI SymGetLinePrevW64(HANDLE, PIMAGEHLP_LINEW64); +BOOL WINAPI SymGetLineNext64(HANDLE, PIMAGEHLP_LINE64); +BOOL WINAPI SymGetLineNextW64(HANDLE, PIMAGEHLP_LINEW64); +BOOL WINAPI SymGetLineFromName64(HANDLE, PCSTR, PCSTR, DWORD, PLONG, PIMAGEHLP_LINE64); +BOOL WINAPI SymGetLineFromNameW64(HANDLE, PCWSTR, PCWSTR, DWORD, PLONG, PIMAGEHLP_LINEW64); +ULONG WINAPI SymGetFileLineOffsets64(HANDLE, PCSTR, PCSTR, PDWORD64, ULONG); +BOOL WINAPI SymGetSourceFile(HANDLE, ULONG64, PCSTR, PCSTR, PSTR, DWORD); +BOOL WINAPI SymGetSourceFileW(HANDLE, ULONG64, PCWSTR, PCWSTR, PWSTR, DWORD); +BOOL WINAPI SymGetSourceFileToken(HANDLE, ULONG64, PCSTR, PVOID*, DWORD*); +BOOL WINAPI SymGetSourceFileTokenW(HANDLE, ULONG64, PCWSTR, PVOID*, DWORD*); +BOOL WINAPI SymGetSourceFileFromToken(HANDLE, PVOID, PCSTR, PSTR, DWORD); +BOOL WINAPI SymGetSourceFileFromTokenW(HANDLE, PVOID, PCWSTR, PWSTR, DWORD); +BOOL WINAPI SymGetSourceVarFromToken(HANDLE, PVOID, PCSTR, PCSTR, PSTR, DWORD); +BOOL WINAPI SymGetSourceVarFromTokenW(HANDLE, PVOID, PCWSTR, PCWSTR, PWSTR, DWORD); + +typedef struct _SRCCODEINFO +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD64 ModBase; + CHAR Obj[MAX_PATH+1]; + CHAR FileName[MAX_PATH+1]; + DWORD LineNumber; + DWORD64 Address; +} SRCCODEINFO, *PSRCCODEINFO; + +typedef struct _SRCCODEINFOW +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD64 ModBase; + WCHAR Obj[MAX_PATH+1]; + WCHAR FileName[MAX_PATH+1]; + DWORD LineNumber; + DWORD64 Address; +} SRCCODEINFOW, *PSRCCODEINFOW; + +typedef BOOL (CALLBACK* PSYM_ENUMLINES_CALLBACK)(PSRCCODEINFO, PVOID); +typedef BOOL (CALLBACK* PSYM_ENUMLINES_CALLBACKW)(PSRCCODEINFOW, PVOID); +BOOL WINAPI SymEnumLines(HANDLE, ULONG64, PCSTR, PCSTR, PSYM_ENUMLINES_CALLBACK, PVOID); +BOOL WINAPI SymEnumLinesW(HANDLE, ULONG64, PCWSTR, PCWSTR, PSYM_ENUMLINES_CALLBACKW, PVOID); +BOOL WINAPI SymEnumSourceLines(HANDLE, ULONG64, PCSTR, PCSTR, DWORD, DWORD, PSYM_ENUMLINES_CALLBACK, PVOID); +BOOL WINAPI SymEnumSourceLinesW(HANDLE, ULONG64, PCWSTR, PCWSTR, DWORD, DWORD, PSYM_ENUMLINES_CALLBACKW, PVOID); + +/************************* + * File & image handling * + *************************/ +BOOL WINAPI SymInitialize(HANDLE, PCSTR, BOOL); +BOOL WINAPI SymInitializeW(HANDLE, PCWSTR, BOOL); +BOOL WINAPI SymCleanup(HANDLE); + +HANDLE WINAPI FindDebugInfoFile(PCSTR, PCSTR, PSTR); +typedef BOOL (CALLBACK *PFIND_DEBUG_FILE_CALLBACK)(HANDLE, PCSTR, PVOID); +typedef BOOL (CALLBACK *PFIND_DEBUG_FILE_CALLBACKW)(HANDLE, PCWSTR, PVOID); +HANDLE WINAPI FindDebugInfoFileEx(PCSTR, PCSTR, PSTR, PFIND_DEBUG_FILE_CALLBACK, PVOID); +HANDLE WINAPI FindDebugInfoFileExW(PCWSTR, PCWSTR, PWSTR, PFIND_DEBUG_FILE_CALLBACKW, PVOID); +HANDLE WINAPI SymFindDebugInfoFile(HANDLE, PCSTR, PSTR, PFIND_DEBUG_FILE_CALLBACK, PVOID); +HANDLE WINAPI SymFindDebugInfoFileW(HANDLE, PCWSTR, PWSTR, PFIND_DEBUG_FILE_CALLBACKW, PVOID); +typedef BOOL (CALLBACK *PFINDFILEINPATHCALLBACK)(PCSTR, PVOID); +typedef BOOL (CALLBACK *PFINDFILEINPATHCALLBACKW)(PCWSTR, PVOID); +BOOL WINAPI FindFileInPath(HANDLE, PCSTR, PCSTR, PVOID, DWORD, DWORD, DWORD, + PSTR, PFINDFILEINPATHCALLBACK, PVOID); +BOOL WINAPI SymFindFileInPath(HANDLE, PCSTR, PCSTR, PVOID, DWORD, DWORD, DWORD, + PSTR, PFINDFILEINPATHCALLBACK, PVOID); +BOOL WINAPI SymFindFileInPathW(HANDLE, PCWSTR, PCWSTR, PVOID, DWORD, DWORD, DWORD, + PWSTR, PFINDFILEINPATHCALLBACKW, PVOID); +HANDLE WINAPI FindExecutableImage(PCSTR, PCSTR, PSTR); +typedef BOOL (CALLBACK *PFIND_EXE_FILE_CALLBACK)(HANDLE, PCSTR, PVOID); +typedef BOOL (CALLBACK *PFIND_EXE_FILE_CALLBACKW)(HANDLE, PCWSTR, PVOID); +HANDLE WINAPI FindExecutableImageEx(PCSTR, PCSTR, PSTR, PFIND_EXE_FILE_CALLBACK, PVOID); +HANDLE WINAPI FindExecutableImageExW(PCWSTR, PCWSTR, PWSTR, PFIND_EXE_FILE_CALLBACKW, PVOID); +HANDLE WINAPI SymFindExecutableImage(HANDLE, PCSTR, PSTR, PFIND_EXE_FILE_CALLBACK, PVOID); +HANDLE WINAPI SymFindExecutableImageW(HANDLE, PCWSTR, PWSTR, PFIND_EXE_FILE_CALLBACKW, PVOID); +PIMAGE_NT_HEADERS WINAPI ImageNtHeader(PVOID); +PVOID WINAPI ImageDirectoryEntryToDataEx(PVOID, BOOLEAN, USHORT, PULONG, + PIMAGE_SECTION_HEADER *); +PVOID WINAPI ImageDirectoryEntryToData(PVOID, BOOLEAN, USHORT, PULONG); +PIMAGE_SECTION_HEADER WINAPI ImageRvaToSection(PIMAGE_NT_HEADERS, PVOID, ULONG); +PVOID WINAPI ImageRvaToVa(PIMAGE_NT_HEADERS, PVOID, ULONG, PIMAGE_SECTION_HEADER*); +BOOL WINAPI SymGetSearchPath(HANDLE, PSTR, DWORD); +BOOL WINAPI SymGetSearchPathW(HANDLE, PWSTR, DWORD); +BOOL WINAPI SymSetSearchPath(HANDLE, PCSTR); +BOOL WINAPI SymSetSearchPathW(HANDLE, PCWSTR); +DWORD WINAPI GetTimestampForLoadedLibrary(HMODULE); +BOOL WINAPI MakeSureDirectoryPathExists(PCSTR); +BOOL WINAPI SearchTreeForFile(PCSTR, PCSTR, PSTR); +BOOL WINAPI SearchTreeForFileW(PCWSTR, PCWSTR, PWSTR); +typedef BOOL (CALLBACK *PENUMDIRTREE_CALLBACK)(PCSTR, PVOID); +typedef BOOL (CALLBACK *PENUMDIRTREE_CALLBACKW)(PCWSTR, PVOID); +BOOL WINAPI EnumDirTree(HANDLE, PCSTR, PCSTR, PSTR, PENUMDIRTREE_CALLBACK, PVOID); +BOOL WINAPI EnumDirTreeW(HANDLE, PCWSTR, PCWSTR, PWSTR, PENUMDIRTREE_CALLBACKW, PVOID); +BOOL WINAPI SymMatchFileName(PCSTR, PCSTR, PSTR*, PSTR*); +BOOL WINAPI SymMatchFileNameW(PCWSTR, PCWSTR, PWSTR*, PWSTR*); +PCHAR WINAPI SymSetHomeDirectory(HANDLE, PCSTR); +PWSTR WINAPI SymSetHomeDirectoryW(HANDLE, PCWSTR); +PCHAR WINAPI SymGetHomeDirectory(DWORD, PSTR, size_t); +PWSTR WINAPI SymGetHomeDirectoryW(DWORD, PWSTR, size_t); +#define hdBase 0 +#define hdSym 1 +#define hdSrc 2 +#define hdMax 3 + +/************************* + * Context management * + *************************/ +BOOL WINAPI SymSetContext(HANDLE, PIMAGEHLP_STACK_FRAME, PIMAGEHLP_CONTEXT); + + +/************************* + * Stack management * + *************************/ + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define KDHELP KDHELP64 +#define PKDHELP PKDHELP64 +#else +typedef struct _KDHELP +{ + DWORD Thread; + DWORD ThCallbackStack; + DWORD NextCallback; + DWORD FramePointer; + DWORD KiCallUserMode; + DWORD KeUserCallbackDispatcher; + DWORD SystemRangeStart; +} KDHELP, *PKDHELP; +#endif + +typedef struct _KDHELP64 +{ + DWORD64 Thread; + DWORD ThCallbackStack; + DWORD ThCallbackBStore; + DWORD NextCallback; + DWORD FramePointer; + DWORD64 KiCallUserMode; + DWORD64 KeUserCallbackDispatcher; + DWORD64 SystemRangeStart; + DWORD64 Reserved[8]; +} KDHELP64, *PKDHELP64; + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) +#define STACKFRAME STACKFRAME64 +#define LPSTACKFRAME LPSTACKFRAME64 +#else +typedef struct _STACKFRAME +{ + ADDRESS AddrPC; + ADDRESS AddrReturn; + ADDRESS AddrFrame; + ADDRESS AddrStack; + PVOID FuncTableEntry; + DWORD Params[4]; + BOOL Far; + BOOL Virtual; + DWORD Reserved[3]; + KDHELP KdHelp; + ADDRESS AddrBStore; +} STACKFRAME, *LPSTACKFRAME; +#endif + +typedef struct _STACKFRAME64 +{ + ADDRESS64 AddrPC; + ADDRESS64 AddrReturn; + ADDRESS64 AddrFrame; + ADDRESS64 AddrStack; + ADDRESS64 AddrBStore; + PVOID FuncTableEntry; + DWORD64 Params[4]; + BOOL Far; + BOOL Virtual; + DWORD64 Reserved[3]; + KDHELP64 KdHelp; +} STACKFRAME64, *LPSTACKFRAME64; + +typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE64) + (HANDLE, DWORD64, PVOID, DWORD, PDWORD); +typedef PVOID (CALLBACK *PFUNCTION_TABLE_ACCESS_ROUTINE64)(HANDLE, DWORD64); +typedef DWORD64 (CALLBACK *PGET_MODULE_BASE_ROUTINE64)(HANDLE, DWORD64); +typedef DWORD64 (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE64)(HANDLE, HANDLE, LPADDRESS64); +BOOL WINAPI StackWalk64(DWORD, HANDLE, HANDLE, LPSTACKFRAME64, PVOID, + PREAD_PROCESS_MEMORY_ROUTINE64, + PFUNCTION_TABLE_ACCESS_ROUTINE64, + PGET_MODULE_BASE_ROUTINE64, + PTRANSLATE_ADDRESS_ROUTINE64); + +PVOID WINAPI SymFunctionTableAccess64(HANDLE, DWORD64); + +typedef PVOID (CALLBACK *PSYMBOL_FUNCENTRY_CALLBACK64)(HANDLE, ULONG64, ULONG64); + +BOOL WINAPI SymRegisterFunctionEntryCallback64(HANDLE, PSYMBOL_FUNCENTRY_CALLBACK64, ULONG64); + +/************************* + * Version, global stuff * + *************************/ + +#define API_VERSION_NUMBER 9 + +typedef struct API_VERSION +{ + USHORT MajorVersion; + USHORT MinorVersion; + USHORT Revision; + USHORT Reserved; +} API_VERSION, *LPAPI_VERSION; + +LPAPI_VERSION WINAPI ImagehlpApiVersion(void); +LPAPI_VERSION WINAPI ImagehlpApiVersionEx(LPAPI_VERSION); + +typedef struct _IMAGE_DEBUG_INFORMATION +{ + LIST_ENTRY List; + DWORD ReservedSize; + PVOID ReservedMappedBase; + USHORT ReservedMachine; + USHORT ReservedCharacteristics; + DWORD ReservedCheckSum; + DWORD ImageBase; + DWORD SizeOfImage; + DWORD ReservedNumberOfSections; + PIMAGE_SECTION_HEADER ReservedSections; + DWORD ReservedExportedNamesSize; + PSTR ReservedExportedNames; + DWORD ReservedNumberOfFunctionTableEntries; + PIMAGE_FUNCTION_ENTRY ReservedFunctionTableEntries; + DWORD ReservedLowestFunctionStartingAddress; + DWORD ReservedHighestFunctionEndingAddress; + DWORD ReservedNumberOfFpoTableEntries; + PFPO_DATA ReservedFpoTableEntries; + DWORD SizeOfCoffSymbols; + PIMAGE_COFF_SYMBOLS_HEADER CoffSymbols; + DWORD ReservedSizeOfCodeViewSymbols; + PVOID ReservedCodeViewSymbols; + PSTR ImageFilePath; + PSTR ImageFileName; + PSTR ReservedDebugFilePath; + DWORD ReservedTimeDateStamp; + BOOL ReservedRomImage; + PIMAGE_DEBUG_DIRECTORY ReservedDebugDirectory; + DWORD ReservedNumberOfDebugDirectories; + DWORD ReservedOriginalFunctionTableBaseAddress; + DWORD Reserved[ 2 ]; +} IMAGE_DEBUG_INFORMATION, *PIMAGE_DEBUG_INFORMATION; + + +PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(HANDLE, PCSTR, PCSTR, ULONG); + +BOOL WINAPI UnmapDebugInformation(PIMAGE_DEBUG_INFORMATION); + +DWORD WINAPI SymGetOptions(void); +DWORD WINAPI SymSetOptions(DWORD); + +BOOL WINAPI SymSetParentWindow(HWND); + +/************************* + * Version, global stuff * + *************************/ + +typedef BOOL (WINAPI* PSYMBOLSERVERPROC)(PCSTR, PCSTR, PVOID, DWORD, DWORD, PSTR); +typedef BOOL (WINAPI* PSYMBOLSERVERPROCA)(PCSTR, PCSTR, PVOID, DWORD, DWORD, PSTR); +typedef BOOL (WINAPI* PSYMBOLSERVERPROCW)(PCWSTR, PCWSTR, PVOID, DWORD, DWORD, PWSTR); +typedef BOOL (WINAPI* PSYMBOLSERVEROPENPROC)(void); +typedef BOOL (WINAPI* PSYMBOLSERVERCLOSEPROC)(void); +typedef BOOL (WINAPI* PSYMBOLSERVERSETOPTIONSPROC)(UINT_PTR, ULONG64); +typedef BOOL (CALLBACK* PSYMBOLSERVERCALLBACKPROC)(UINT_PTR, ULONG64, ULONG64); +typedef UINT_PTR (WINAPI* PSYMBOLSERVERGETOPTIONSPROC)(void); +typedef BOOL (WINAPI* PSYMBOLSERVERPINGPROC)(PCSTR); +typedef BOOL (WINAPI* PSYMBOLSERVERPINGPROCA)(PCSTR); +typedef BOOL (WINAPI* PSYMBOLSERVERPINGPROCW)(PCWSTR); + +#define SSRVOPT_CALLBACK 0x0001 +#define SSRVOPT_DWORD 0x0002 +#define SSRVOPT_DWORDPTR 0x0004 +#define SSRVOPT_GUIDPTR 0x0008 +#define SSRVOPT_OLDGUIDPTR 0x0010 +#define SSRVOPT_UNATTENDED 0x0020 +#define SSRVOPT_NOCOPY 0x0040 +#define SSRVOPT_PARENTWIN 0x0080 +#define SSRVOPT_PARAMTYPE 0x0100 +#define SSRVOPT_SECURE 0x0200 +#define SSRVOPT_TRACE 0x0400 +#define SSRVOPT_SETCONTEXT 0x0800 +#define SSRVOPT_PROXY 0x1000 +#define SSRVOPT_DOWNSTREAM_STORE 0x2000 +#define SSRVOPT_RESET ((ULONG_PTR)-1) + +#define SSRVACTION_TRACE 1 +#define SSRVACTION_QUERYCANCEL 2 +#define SSRVACTION_EVENT 3 + +/* 32-bit functions */ + +#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64) + +#define PENUMLOADED_MODULES_CALLBACK PENUMLOADED_MODULES_CALLBACK64 +#define PFUNCTION_TABLE_ACCESS_ROUTINE PFUNCTION_TABLE_ACCESS_ROUTINE64 +#define PGET_MODULE_BASE_ROUTINE PGET_MODULE_BASE_ROUTINE64 +#define PREAD_PROCESS_MEMORY_ROUTINE PREAD_PROCESS_MEMORY_ROUTINE64 +#define PSYMBOL_FUNCENTRY_CALLBACK PSYMBOL_FUNCENTRY_CALLBACK64 +#define PSYMBOL_REGISTERED_CALLBACK PSYMBOL_REGISTERED_CALLBACK64 +#define PSYM_ENUMMODULES_CALLBACK PSYM_ENUMMODULES_CALLBACK64 +#define PSYM_ENUMSYMBOLS_CALLBACK PSYM_ENUMSYMBOLS_CALLBACK64 +#define PSYM_ENUMSYMBOLS_CALLBACKW PSYM_ENUMSYMBOLS_CALLBACKW64 +#define PTRANSLATE_ADDRESS_ROUTINE PTRANSLATE_ADDRESS_ROUTINE64 + +#define EnumerateLoadedModules EnumerateLoadedModules64 +#define StackWalk StackWalk64 +#define SymEnumerateModules SymEnumerateModules64 +#define SymEnumerateSymbols SymEnumerateSymbols64 +#define SymEnumerateSymbolsW SymEnumerateSymbolsW64 +#define SymFunctionTableAccess SymFunctionTableAccess64 +#define SymGetLineFromAddr SymGetLineFromAddr64 +#define SymGetLineFromAddrW SymGetLineFromAddrW64 +#define SymGetLineFromName SymGetLineFromName64 +#define SymGetLineNext SymGetLineNext64 +#define SymGetLineNextW SymGetLineNextW64 +#define SymGetLinePrev SymGetLinePrev64 +#define SymGetLinePrevW SymGetLinePrevW64 +#define SymGetModuleBase SymGetModuleBase64 +#define SymGetModuleInfo SymGetModuleInfo64 +#define SymGetModuleInfoW SymGetModuleInfoW64 +#define SymGetSymFromAddr SymGetSymFromAddr64 +#define SymGetSymFromName SymGetSymFromName64 +#define SymGetSymNext SymGetSymNext64 +#define SymGetSymNextW SymGetSymNextW64 +#define SymGetSymPrev SymGetSymPrev64 +#define SymGetSymPrevW SymGetSymPrevW64 +#define SymLoadModule SymLoadModule64 +#define SymRegisterCallback SymRegisterCallback64 +#define SymRegisterFunctionEntryCallback SymRegisterFunctionEntryCallback64 +#define SymUnDName SymUnDName64 +#define SymUnloadModule SymUnloadModule64 + +#else + +typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK)(PCSTR, ULONG, ULONG, PVOID); +typedef PVOID (CALLBACK *PFUNCTION_TABLE_ACCESS_ROUTINE)(HANDLE, DWORD); +typedef DWORD (CALLBACK *PGET_MODULE_BASE_ROUTINE)(HANDLE, DWORD); +typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE)(HANDLE, DWORD, PVOID, DWORD, PDWORD); +typedef BOOL (CALLBACK *PSYM_ENUMMODULES_CALLBACK)(PCSTR, ULONG, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACK)(PCSTR, ULONG, ULONG, PVOID); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACKW)(PCWSTR, ULONG, ULONG, PVOID); +typedef BOOL (CALLBACK *PSYMBOL_REGISTERED_CALLBACK)(HANDLE, ULONG, PVOID, PVOID); +typedef PVOID (CALLBACK *PSYMBOL_FUNCENTRY_CALLBACK)(HANDLE, DWORD, PVOID); +typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE)(HANDLE, HANDLE, LPADDRESS); + +BOOL WINAPI EnumerateLoadedModules(HANDLE, PENUMLOADED_MODULES_CALLBACK, PVOID); +BOOL WINAPI StackWalk(DWORD, HANDLE, HANDLE, LPSTACKFRAME, PVOID, PREAD_PROCESS_MEMORY_ROUTINE, PFUNCTION_TABLE_ACCESS_ROUTINE, PGET_MODULE_BASE_ROUTINE, PTRANSLATE_ADDRESS_ROUTINE); +BOOL WINAPI SymEnumerateModules(HANDLE, PSYM_ENUMMODULES_CALLBACK, PVOID); +BOOL WINAPI SymEnumerateSymbols(HANDLE, ULONG, PSYM_ENUMSYMBOLS_CALLBACK, PVOID); +BOOL WINAPI SymEnumerateSymbolsW(HANDLE, ULONG, PSYM_ENUMSYMBOLS_CALLBACKW, PVOID); +PVOID WINAPI SymFunctionTableAccess(HANDLE, DWORD); +BOOL WINAPI SymGetLineFromAddr(HANDLE, DWORD, PDWORD, PIMAGEHLP_LINE); +BOOL WINAPI SymGetLineFromAddrW(HANDLE, DWORD, PDWORD, PIMAGEHLP_LINEW); +BOOL WINAPI SymGetLineFromName(HANDLE, PCSTR, PCSTR, DWORD, PLONG, PIMAGEHLP_LINE); +BOOL WINAPI SymGetLineNext(HANDLE, PIMAGEHLP_LINE); +BOOL WINAPI SymGetLineNextW(HANDLE, PIMAGEHLP_LINEW); +BOOL WINAPI SymGetLinePrev(HANDLE, PIMAGEHLP_LINE); +BOOL WINAPI SymGetLinePrevW(HANDLE, PIMAGEHLP_LINEW); +DWORD WINAPI SymGetModuleBase(HANDLE, DWORD); +BOOL WINAPI SymGetModuleInfo(HANDLE, DWORD, PIMAGEHLP_MODULE); +BOOL WINAPI SymGetModuleInfoW(HANDLE, DWORD, PIMAGEHLP_MODULEW); +BOOL WINAPI SymGetSymFromAddr(HANDLE, DWORD, PDWORD, PIMAGEHLP_SYMBOL); +BOOL WINAPI SymGetSymFromName(HANDLE, PCSTR, PIMAGEHLP_SYMBOL); +BOOL WINAPI SymGetSymNext(HANDLE, PIMAGEHLP_SYMBOL); +BOOL WINAPI SymGetSymNextW(HANDLE, PIMAGEHLP_SYMBOLW); +BOOL WINAPI SymGetSymPrev(HANDLE, PIMAGEHLP_SYMBOL); +BOOL WINAPI SymGetSymPrevW(HANDLE, PIMAGEHLP_SYMBOLW); +DWORD WINAPI SymLoadModule(HANDLE, HANDLE, PCSTR, PCSTR, DWORD, DWORD); +BOOL WINAPI SymRegisterCallback(HANDLE, PSYMBOL_REGISTERED_CALLBACK, PVOID); +BOOL WINAPI SymRegisterFunctionEntryCallback(HANDLE, PSYMBOL_FUNCENTRY_CALLBACK, PVOID); +BOOL WINAPI SymRefreshModuleList(HANDLE); +BOOL WINAPI SymUnDName(PIMAGEHLP_SYMBOL, PSTR, DWORD); +BOOL WINAPI SymUnloadModule(HANDLE, DWORD); + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DBGHELP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbinit.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbinit.idl new file mode 100644 index 0000000..f272018 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbinit.idl @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a8b-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBInitialize : IUnknown { + [local] HRESULT Initialize(); + [call_as(Initialize)] HRESULT RemoteInitialize( [out] IErrorInfo **ppErrorInfoRem ); + [local] HRESULT Uninitialize(); + [call_as(Uninitialize)] HRESULT RemoteUninitialize( [out] IErrorInfo **ppErrorInfoRem ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbprop.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbprop.idl new file mode 100644 index 0000000..4a911c0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbprop.idl @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a8a-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IDBProperties : IUnknown { + [local] HRESULT GetProperties( + [in] ULONG cPropertyIDSets, + [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[], + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets); + + [call_as(GetProperties)] HRESULT RemoteGetProperties( + [in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets, + [out] IErrorInfo **ppErrorInfoRem); + + [local] HRESULT GetPropertyInfo( + [in] ULONG cPropertyIDSets, + [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[], + [in, out] ULONG *pcPropertyInfoSets, + [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets, + [out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer); + + [call_as(GetPropertyInfo)] HRESULT RemoteGetPropertyInfo( + [in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertyInfoSets, + [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets, + [in, out] ULONG *pcOffsets, + [out, size_is(,*pcOffsets)] DBBYTEOFFSET **prgDescOffsets, + [in, out] ULONG *pcbDescBuffer, + [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer, + [out] IErrorInfo **ppErrorInfoRem); + + [local] HRESULT SetProperties( + [in] ULONG cPropertySets, + [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]); + + [call_as(SetProperties)] HRESULT RemoteSetProperties( + [in] ULONG cPropertySets, + [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [in] ULONG cTotalProps, + [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus, + [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbs.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbs.idl new file mode 100644 index 0000000..53caded --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbs.idl @@ -0,0 +1,770 @@ +/* + * Copyright (C) 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +typedef DWORD DBKIND; + +enum DBKINDENUM { + DBKIND_GUID_NAME, + DBKIND_GUID_PROPID, + DBKIND_NAME, + DBKIND_PGUID_NAME, + DBKIND_PGUID_PROPID, + DBKIND_PROPID, + DBKIND_GUID, +}; + +typedef struct tagDBID { + [switch_type(DBKIND), switch_is(eKind)] union + { + [case(DBKIND_GUID_NAME, DBKIND_GUID_PROPID, DBKIND_GUID, DBKIND_NAME, DBKIND_PROPID)] + GUID guid; + [case(DBKIND_PGUID_NAME, DBKIND_PGUID_PROPID)] + GUID *pguid; + [default] + ; + } uGuid; + DBKIND eKind; + [switch_type(DBKIND), switch_is(eKind)] union + { + [case(DBKIND_GUID_NAME, DBKIND_NAME, DBKIND_PGUID_NAME)] + LPOLESTR pwszName; + [case(DBKIND_GUID_PROPID, DBKIND_GUID, DBKIND_PGUID_PROPID, DBKIND_PROPID)] + ULONG ulPropid; + [default] + ; + } uName; +} DBID; + +typedef struct tagDB_NUMERIC { + BYTE precision; + BYTE scale; + BYTE sign; + BYTE val[16]; +} DB_NUMERIC; + +typedef DWORD DBPROPID; + +typedef struct tagDBPROPIDSET { + [size_is(cPropertyIDs)] DBPROPID *rgPropertyIDs; + ULONG cPropertyIDs; + GUID guidPropertySet; +} DBPROPIDSET; + +typedef DWORD DBPROPOPTIONS; + +enum DBPROPOPTIONENUM { + DBPROPOPTIONS_REQUIRED = 0, + DBPROPOPTIONS_SETIFCHEAP = 1, + DBPROPOPTIONS_OPTIONAL = 1, +}; + +typedef DWORD DBPROPSTATUS; + +typedef struct tagDBPROP { + DBPROPID dwPropertyID; + DBPROPOPTIONS dwOptions; + DBPROPSTATUS dwStatus; + DBID colid; + VARIANT vValue; +} DBPROP; + +typedef struct tagDBPROPSET { + [size_is(cProperties)] DBPROP *rgProperties; + ULONG cProperties; + GUID guidPropertySet; +} DBPROPSET; + +typedef DWORD DBPROPFLAGS; + +typedef struct tagDBPROPINFO { + LPOLESTR pwszDescription; + DBPROPID dwPropertyID; + DBPROPFLAGS dwFlags; + VARTYPE vtType; + VARIANT vValues; +} DBPROPINFO; + +typedef DBPROPINFO *PDBPROPINFO; + +typedef struct tagDBPROPINFOSET { + [size_is(cPropertyInfos)] PDBPROPINFO rgPropertyInfos; + ULONG cPropertyInfos; + GUID guidPropertySet; +} DBPROPINFOSET; + +typedef DWORD DBBINDURLFLAG; +typedef DWORD DBBINDURLSTATUS; + +typedef struct tagDBIMPLICITSESSION +{ + IUnknown *pUnkOuter; + IID *piid; + IUnknown *pSession; +} DBIMPLICITSESSION; + +typedef WORD DBTYPE; + +enum DBTYPEENUM +{ + DBTYPE_EMPTY = 0, + DBTYPE_NULL = 1, + DBTYPE_I2 = 2, + DBTYPE_I4 = 3, + DBTYPE_R4 = 4, + DBTYPE_R8 = 5, + DBTYPE_CY = 6, + DBTYPE_DATE = 7, + DBTYPE_BSTR = 8, + DBTYPE_IDISPATCH = 9, + DBTYPE_ERROR = 10, + DBTYPE_BOOL = 11, + DBTYPE_VARIANT = 12, + DBTYPE_IUNKNOWN = 13, + DBTYPE_DECIMAL = 14, + DBTYPE_I1 = 16, + DBTYPE_UI1 = 17, + DBTYPE_UI2 = 18, + DBTYPE_UI4 = 19, + DBTYPE_I8 = 20, + DBTYPE_UI8 = 21, + DBTYPE_GUID = 72, + DBTYPE_BYTES = 128, + DBTYPE_STR = 129, + DBTYPE_WSTR = 130, + DBTYPE_NUMERIC = 131, + DBTYPE_UDT = 132, + DBTYPE_DBDATE = 133, + DBTYPE_DBTIME = 134, + DBTYPE_DBTIMESTAMP = 135, + + DBTYPE_VECTOR = 0x1000, + DBTYPE_ARRAY = 0x2000, + DBTYPE_BYREF = 0x4000, + DBTYPE_RESERVED = 0x8000 +}; + +enum DBTYPEENUM15 +{ + DBTYPE_HCHAPTER = 136 +}; + +enum DBTYPEENUM20 +{ + DBTYPE_FILETIME = 64, + DBTYPE_PROPVARIANT = 138, + DBTYPE_VARNUMERIC = 139 +}; + +typedef DWORD DBSTATUS; + +enum DBSTATUSENUM +{ + DBSTATUS_S_OK = 0, + DBSTATUS_E_BADACCESSOR = 1, + DBSTATUS_E_CANTCONVERTVALUE = 2, + DBSTATUS_S_ISNULL = 3, + DBSTATUS_S_TRUNCATED = 4, + DBSTATUS_E_SIGNMISMATCH = 5, + DBSTATUS_E_DATAOVERFLOW = 6, + DBSTATUS_E_CANTCREATE = 7, + DBSTATUS_E_UNAVAILABLE = 8, + DBSTATUS_E_PERMISSIONDENIED = 9, + DBSTATUS_E_INTEGRITYVIOLATION = 10, + DBSTATUS_E_SCHEMAVIOLATION = 11, + DBSTATUS_E_BADSTATUS = 12, + DBSTATUS_S_DEFAULT = 13 +}; + +enum DBPROPENUM +{ + DBPROP_ABORTPRESERVE = 0x00000002, + DBPROP_ACTIVESESSIONS = 0x00000003, + DBPROP_ASYNCTXNCOMMIT = 0x00000004, + DBPROP_AUTH_CACHE_AUTHINFO = 0x00000005, + DBPROP_AUTH_ENCRYPT_PASSWORD = 0x00000006, + DBPROP_AUTH_INTEGRATED = 0x00000007, + DBPROP_AUTH_MASK_PASSWORD = 0x00000008, + DBPROP_AUTH_PASSWORD = 0x00000009, + DBPROP_AUTH_PERSIST_ENCRYPTED = 0x0000000a, + DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO = 0x0000000b, + DBPROP_AUTH_USERID = 0x0000000c, + DBPROP_BLOCKINGSTORAGEOBJECTS = 0x0000000d, + DBPROP_BOOKMARKS = 0x0000000e, + DBPROP_BOOKMARKSKIPPED = 0x0000000f, + DBPROP_BOOKMARKTYPE = 0x00000010, + DBPROP_CACHEDEFERRED = 0x00000011, + DBPROP_CANFETCHBACKWARDS = 0x00000012, + DBPROP_CANHOLDROWS = 0x00000013, + DBPROP_CANSCROLLBACKWARDS = 0x00000015, + DBPROP_CATALOGLOCATION = 0x00000016, + DBPROP_CATALOGTERM = 0x00000017, + DBPROP_CATALOGUSAGE = 0x00000018, + DBPROP_COL_AUTOINCREMENT = 0x0000001a, + DBPROP_COL_DEFAULT = 0x0000001b, + DBPROP_COL_DESCRIPTION = 0x0000001c, + DBPROP_COL_NULLABLE = 0x0000001d, + DBPROP_COL_PRIMARYKEY = 0x0000001e, + DBPROP_COL_UNIQUE = 0x0000001f, + DBPROP_COLUMNDEFINITION = 0x00000020, + DBPROP_COLUMNRESTRICT = 0x00000021, + DBPROP_COMMANDTIMEOUT = 0x00000022, + DBPROP_COMMITPRESERVE = 0x00000023, + DBPROP_CONCATNULLBEHAVIOR = 0x00000024, + DBPROP_CURRENTCATALOG = 0x00000025, + DBPROP_DATASOURCENAME = 0x00000026, + DBPROP_DATASOURCEREADONLY = 0x00000027, + DBPROP_DBMSNAME = 0x00000028, + DBPROP_DBMSVER = 0x00000029, + DBPROP_DEFERRED = 0x0000002a, + DBPROP_DELAYSTORAGEOBJECTS = 0x0000002b, + DBPROP_GROUPBY = 0x0000002c, + DBPROP_HETEROGENEOUSTABLES = 0x0000002d, + DBPROP_IDENTIFIERCASE = 0x0000002e, + DBPROP_IMMOBILEROWS = 0x0000002f, + DBPROP_INDEX_AUTOUPDATE = 0x00000030, + DBPROP_INDEX_CLUSTERED = 0x00000031, + DBPROP_INDEX_FILLFACTOR = 0x00000032, + DBPROP_INDEX_INITIALSIZE = 0x00000033, + DBPROP_INDEX_NULLCOLLATION = 0x00000034, + DBPROP_INDEX_NULLS = 0x00000035, + DBPROP_INDEX_PRIMARYKEY = 0x00000036, + DBPROP_INDEX_SORTBOOKMARKS = 0x00000037, + DBPROP_INDEX_TYPE = 0x00000038, + DBPROP_INDEX_UNIQUE = 0x00000039, + DBPROP_INIT_DATASOURCE = 0x0000003b, + DBPROP_INIT_HWND = 0x0000003c, + DBPROP_INIT_IMPERSONATION_LEVEL = 0x0000003d, + DBPROP_INIT_LOCATION = 0x0000003e, + DBPROP_INIT_MODE = 0x0000003f, + DBPROP_INIT_PROMPT = 0x00000040, + DBPROP_INIT_PROTECTION_LEVEL = 0x00000041, + DBPROP_INIT_TIMEOUT = 0x00000042, + DBPROP_LITERALBOOKMARKS = 0x00000043, + DBPROP_LITERALIDENTITY = 0x00000044, + DBPROP_MAXINDEXSIZE = 0x00000046, + DBPROP_MAXOPENROWS = 0x00000047, + DBPROP_MAXPENDINGROWS = 0x00000048, + DBPROP_MAXROWS = 0x00000049, + DBPROP_MAXROWSIZE = 0x0000004a, + DBPROP_MAXROWSIZEINCLUDESBLOB = 0x0000004b, + DBPROP_MAXTABLESINSELECT = 0x0000004c, + DBPROP_MAYWRITECOLUMN = 0x0000004d, + DBPROP_MEMORYUSAGE = 0x0000004e, + DBPROP_MULTIPLESTORAGEOBJECTS = 0x00000050, + DBPROP_MULTITABLEUPDATE = 0x00000051, + DBPROP_NOTIFICATIONPHASES = 0x00000052, + DBPROP_NULLCOLLATION = 0x00000053, + DBPROP_OLEOBJECTS = 0x00000054, + DBPROP_ORDERBYCOLUMNSINSELECT = 0x00000055, + DBPROP_ORDEREDBOOKMARKS = 0x00000056, + DBPROP_OTHERINSERT = 0x00000057, + DBPROP_OTHERUPDATEDELETE = 0x00000058, + DBPROP_OWNINSERT = 0x00000059, + DBPROP_OWNUPDATEDELETE = 0x0000005a, + DBPROP_PREPAREABORTBEHAVIOR = 0x0000005b, + DBPROP_PREPARECOMMITBEHAVIOR = 0x0000005c, + DBPROP_PROCEDURETERM = 0x0000005d, + DBPROP_PROVIDERNAME = 0x00000060, + DBPROP_PROVIDEROLEDBVER = 0x00000061, + DBPROP_PROVIDERVER = 0x00000062, + DBPROP_QUICKRESTART = 0x00000063, + DBPROP_QUOTEDIDENTIFIERCASE = 0x00000064, + DBPROP_REENTRANTEVENTS = 0x00000065, + DBPROP_REMOVEDELETED = 0x00000066, + DBPROP_REPORTMULTIPLECHANGES = 0x00000067, + DBPROP_ROWRESTRICT = 0x00000068, + DBPROP_ROWTHREADMODEL = 0x00000069, + DBPROP_SCHEMATERM = 0x0000006a, + DBPROP_SCHEMAUSAGE = 0x0000006b, + DBPROP_SERVERCURSOR = 0x0000006c, + DBPROP_SQLSUPPORT = 0x0000006d, + DBPROP_STRUCTUREDSTORAGE = 0x0000006f, + DBPROP_SUBQUERIES = 0x00000070, + DBPROP_SUPPORTEDTXNISOLEVELS = 0x00000071, + DBPROP_SUPPORTEDTXNISORETAIN = 0x00000072, + DBPROP_TABLETERM = 0x00000073, + DBPROP_TRANSACTEDOBJECT = 0x00000074, + DBPROP_UPDATABILITY = 0x00000075, + DBPROP_USERNAME = 0x00000076, + DBPROP_STRONGIDENTITY = 0x00000077, + DBPROP_BYREFACCESSORS = 0x00000078, + DBPROP_IAccessor = 0x00000079, + DBPROP_IColumnsInfo = 0x0000007a, + DBPROP_IColumnsRowset = 0x0000007b, + DBPROP_IConnectionPointContainer = 0x0000007c, + DBPROP_IRowset = 0x0000007e, + DBPROP_IRowsetChange = 0x0000007f, + DBPROP_IRowsetIdentity = 0x00000080, + DBPROP_IRowsetInfo = 0x00000081, + DBPROP_IRowsetLocate = 0x00000082, + DBPROP_IRowsetResynch = 0x00000084, + DBPROP_IRowsetScroll = 0x00000085, + DBPROP_IRowsetUpdate = 0x00000086, + DBPROP_ISupportErrorInfo = 0x00000087, + DBPROP_ILockBytes = 0x00000088, + DBPROP_ISequentialStream = 0x00000089, + DBPROP_IStorage = 0x0000008a, + DBPROP_IStream = 0x0000008b, + DBPROP_TBL_TEMPTABLE = 0x0000008c, + DBPROP_IRowsetIndex = 0x0000009f, + DBPROP_INIT_PROVIDERSTRING = 0x000000a0, + DBPROP_SUPPORTEDTXNDDL = 0x000000a1, + DBPROP_INDEX_TEMPINDEX = 0x000000a3, + DBPROP_COL_FIXEDLENGTH = 0x000000a7, + DBPROP_ASYNCTXNABORT = 0x000000a8, + DBPROP_DSOTHREADMODEL = 0x000000a9, + DBPROP_NOTIFYCOLUMNSET = 0x000000ab, + DBPROP_NOTIFYROWDELETE = 0x000000ad, + DBPROP_NOTIFYROWFIRSTCHANGE = 0x000000ae, + DBPROP_NOTIFYROWINSERT = 0x000000af, + DBPROP_NOTIFYROWRESYNCH = 0x000000b1, + DBPROP_NOTIFYROWSETRELEASE = 0x000000b2, + DBPROP_NOTIFYROWSETFETCHPOSITIONCHANGE = 0x000000b3, + DBPROP_NOTIFYROWUNDOCHANGE = 0x000000b4, + DBPROP_NOTIFYROWUNDODELETE = 0x000000b5, + DBPROP_NOTIFYROWUNDOINSERT = 0x000000b6, + DBPROP_NOTIFYROWUPDATE = 0x000000b7, + DBPROP_OUTPUTPARAMETERAVAILABILITY = 0x000000b8, + DBPROP_PERSISTENTIDTYPE = 0x000000b9, + DBPROP_INIT_LCID = 0x000000ba, + DBPROP_APPENDONLY = 0x000000bb, + DBPROP_CHANGEINSERTEDROWS = 0x000000bc, + DBPROP_RETURNPENDINGINSERTS = 0x000000bd, + DBPROP_SESS_AUTOCOMMITISOLEVELS = 0x000000be, + DBPROP_MULTIPLEPARAMSETS = 0x000000bf, + DBPROP_ROWSETCONVERSIONSONCOMMAND = 0x000000c0, + DBPROP_IConvertType = 0x000000c2, + DBPROP_MULTIPLERESULTS = 0x000000c4, + DBPROP_NOTIFICATIONGRANULARITY = 0x000000c6, + DBPROP_NOTIFYROWSETCHANGED = 0x000000d3, +}; + +enum DBPROPENUM15 { + DBPROP_FILTERCOMPAREOPS = 0x000000d1, + DBPROP_FINDCOMPAREOPS = 0x000000d2, + DBPROP_IChapteredRowset = 0x000000ca, + DBPROP_IDBAsynchStatus = 0x000000cb, + DBPROP_IRowsetFind = 0x000000cc, + DBPROP_IRowsetView = 0x000000d4, + DBPROP_IViewChapter = 0x000000d5, + DBPROP_IViewFilter = 0x000000d6, + DBPROP_IViewRowset = 0x000000d7, + DBPROP_IViewSort = 0x000000d8, + DBPROP_INIT_ASYNCH = 0x000000c8, + DBPROP_MAXOPENCHAPTERS = 0x000000c7, + DBPROP_MAXORSINFILTER = 0x000000cd, + DBPROP_MAXSORTCOLUMNS = 0x000000ce, + DBPROP_ROWSET_ASYNCH = 0x000000c9, + DBPROP_SORTONINDEX = 0x000000cf +}; + +enum DBPROPENUM20 { + DBPROP_IMultipleResults = 0x000000d9, + DBPROP_DATASOURCE_TYPE = 0x000000fb, + MDPROP_AXES = 0x000000fc, + MDPROP_FLATTENING_SUPPORT = 0x000000fd, + MDPROP_MDX_JOINCUBES = 0x000000fe, + MDPROP_NAMED_LEVELS = 0x000000ff, + MDPROP_RANGEROWSET = 0x00000100, + MDPROP_MDX_SLICER = 0x000000da, + MDPROP_MDX_CUBEQUALIFICATION = 0x000000db, + MDPROP_MDX_OUTERREFERENCE = 0x000000dc, + MDPROP_MDX_QUERYBYPROPERTY = 0x000000dd, + MDPROP_MDX_CASESUPPORT = 0x000000de, + MDPROP_MDX_STRING_COMPOP = 0x000000e0, + MDPROP_MDX_DESCFLAGS = 0x000000e1, + MDPROP_MDX_SET_FUNCTIONS = 0x000000e2, + MDPROP_MDX_MEMBER_FUNCTIONS = 0x000000e3, + MDPROP_MDX_NUMERIC_FUNCTIONS = 0x000000e4, + MDPROP_MDX_FORMULAS = 0x000000e5, + MDPROP_AGGREGATECELL_UPDATE = 0x000000e6, + MDPROP_MDX_AGGREGATECELL_UPDATE = MDPROP_AGGREGATECELL_UPDATE, + MDPROP_MDX_OBJQUALIFICATION = 0x00000105, + MDPROP_MDX_NONMEASURE_EXPRESSIONS = 0x00000106, + DBPROP_ACCESSORDER = 0x000000e7, + DBPROP_BOOKMARKINFO = 0x000000e8, + DBPROP_INIT_CATALOG = 0x000000e9, + DBPROP_ROW_BULKOPS = 0x000000ea, + DBPROP_PROVIDERFRIENDLYNAME = 0x000000eb, + DBPROP_LOCKMODE = 0x000000ec, + DBPROP_MULTIPLECONNECTIONS = 0x000000ed, + DBPROP_UNIQUEROWS = 0x000000ee, + DBPROP_SERVERDATAONINSERT = 0x000000ef, + DBPROP_STORAGEFLAGS = 0x000000f0, + DBPROP_CONNECTIONSTATUS = 0x000000f4, + DBPROP_ALTERCOLUMN = 0x000000f5, + DBPROP_COLUMNLCID = 0x000000f6, + DBPROP_RESETDATASOURCE = 0x000000f7, + DBPROP_INIT_OLEDBSERVICES = 0x000000f8, + DBPROP_IRowsetRefresh = 0x000000f9, + DBPROP_SERVERNAME = 0x000000fa, + DBPROP_IParentRowset = 0x00000101, + DBPROP_HIDDENCOLUMNS = 0x00000102, + DBPROP_PROVIDERMEMORY = 0x00000103, + DBPROP_CLIENTCURSOR = 0x00000104 +}; + + +enum DBPROPENUM21 { + DBPROP_TRUSTEE_USERNAME = 0x000000f1, + DBPROP_TRUSTEE_AUTHENTICATION = 0x000000f2, + DBPROP_TRUSTEE_NEWAUTHENTICATION = 0x000000f3, + DBPROP_IRow = 0x00000107, + DBPROP_IRowChange = 0x00000108, + DBPROP_IRowSchemaChange = 0x00000109, + DBPROP_IGetRow = 0x0000010a, + DBPROP_IScopedOperations = 0x0000010b, + DBPROP_IBindResource = 0x0000010c, + DBPROP_ICreateRow = 0x0000010d, + DBPROP_INIT_BINDFLAGS = 0x0000010e, + DBPROP_INIT_LOCKOWNER = 0x0000010f, + DBPROP_GENERATEURL = 0x00000111, + DBPROP_IDBBinderProperties = 0x00000112, + DBPROP_IColumnsInfo2 = 0x00000113, + DBPROP_IRegisterProvider = 0x00000114, + DBPROP_IGetSession = 0x00000115, + DBPROP_IGetSourceRow = 0x00000116, + DBPROP_IRowsetCurrentIndex = 0x00000117, + DBPROP_OPENROWSETSUPPORT = 0x00000118, + DBPROP_COL_ISLONG = 0x00000119 +}; + +enum DBPROPENUM25 { + DBPROP_COL_SEED = 0x0000011a, + DBPROP_COL_INCREMENT = 0x0000011b, + DBPROP_INIT_GENERALTIMEOUT = 0x0000011c, + DBPROP_COMSERVICES = 0x0000011d +}; + +enum DBPROPENUM26 { + DBPROP_OUTPUTSTREAM = 0x0000011e, + DBPROP_OUTPUTENCODING = 0x0000011f, + DBPROP_TABLESTATISTICS = 0x00000120, + DBPROP_SKIPROWCOUNTRESULTS = 0x00000123, + DBPROP_IRowsetBookmark = 0x00000124, + MDPROP_VISUALMODE = 0x00000125, +}; + +cpp_quote("#ifdef DBINITCONSTANTS") +cpp_quote("#ifdef __cplusplus") +cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\") +cpp_quote(" EXTERN_C const GUID name DECLSPEC_HIDDEN; \\") +cpp_quote(" EXTERN_C const GUID name = \\") +cpp_quote(" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }") +cpp_quote("#else") +cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\") +cpp_quote(" const GUID name DECLSPEC_HIDDEN; \\") +cpp_quote(" const GUID name = \\") +cpp_quote(" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }") +cpp_quote("#endif") +cpp_quote("#else") +cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\") +cpp_quote(" EXTERN_C const GUID name DECLSPEC_HIDDEN") +cpp_quote("#endif") + +cpp_quote("DEFINE_DBGUID(DB_NULLGUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);") +cpp_quote("DEFINE_DBGUID(DBPROPSET_DBINIT, 0xc8b522bc, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);") +cpp_quote("DEFINE_DBGUID(DBGUID_SESSION, 0xc8b522f5, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);") +cpp_quote("DEFINE_DBGUID(DBGUID_ROWSET, 0xc8b522f6, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);") +cpp_quote("DEFINE_DBGUID(DBGUID_ROW, 0xc8b522f7, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);") +cpp_quote("DEFINE_DBGUID(DBGUID_STREAM, 0xc8b522f9, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);") + +cpp_quote("#define DBPROMPT_PROMPT 0x01") +cpp_quote("#define DBPROMPT_COMPLETE 0x02") +cpp_quote("#define DBPROMPT_COMPLETEREQUIRED 0x03") +cpp_quote("#define DBPROMPT_NOPROMPT 0x04") + +cpp_quote("#define DBPROPVAL_STGM_READ OF_READ") +cpp_quote("#define DBPROPVAL_STGM_WRITE OF_WRITE") +cpp_quote("#define DBPROPVAL_STGM_READWRITE OF_READWRITE") +cpp_quote("#define DBPROPVAL_STGM_SHARE_DENY_NONE OF_SHARE_DENY_NONE") +cpp_quote("#define DBPROPVAL_STGM_SHARE_DENY_READ OF_SHARE_DENY_READ") +cpp_quote("#define DBPROPVAL_STGM_SHARE_DENY_WRITE OF_SHARE_DENY_WRITE)") +cpp_quote("#define DBPROPVAL_STGM_SHARE_EXCLUSIVE OF_SHARE_EXCLUSIVE") +cpp_quote("#define DBPROPVAL_STGM_DIRECT 0x00010000") +cpp_quote("#define DBPROPVAL_STGM_TRANSACTED 0x00020000") +cpp_quote("#define DBPROPVAL_STGM_CREATE OF_CREATE") +cpp_quote("#define DBPROPVAL_STGM_CONVERT 0x00040000") +cpp_quote("#define DBPROPVAL_STGM_FAILIFTHERE 0x00080000") +cpp_quote("#define DBPROPVAL_STGM_PRIORITY 0x00100000") +cpp_quote("#define DBPROPVAL_STGM_DELETEONRELEASE 0x00200000") +cpp_quote("#define DBPROPVAL_GB_COLLATE __MSABI_LONG(0x00000010)") +cpp_quote("#define DBPROPVAL_CS_UNINITIALIZED __MSABI_LONG(0x00000000)") +cpp_quote("#define DBPROPVAL_CS_INITIALIZED __MSABI_LONG(0x00000001)") +cpp_quote("#define DBPROPVAL_CS_COMMUNICATIONFAILURE __MSABI_LONG(0x00000002)") + +cpp_quote("#define DBPROPVAL_RD_RESETALL __MSABI_LONG(0xffffffff)") +cpp_quote("#define DBPROPVAL_OS_RESOURCEPOOLING __MSABI_LONG(0x00000001)") +cpp_quote("#define DBPROPVAL_OS_TXNENLISTMENT __MSABI_LONG(0x00000002)") +cpp_quote("#define DBPROPVAL_OS_CLIENTCURSOR __MSABI_LONG(0x00000004)") +cpp_quote("#define DBPROPVAL_OS_ENABLEALL __MSABI_LONG(0xffffffff)") +cpp_quote("#define DBPROPVAL_BI_CROSSROWSET __MSABI_LONG(0x00000001)") + +cpp_quote("#define DB_MODE_READ 0x01") +cpp_quote("#define DB_MODE_WRITE 0x02") +cpp_quote("#define DB_MODE_READWRITE 0x03") +cpp_quote("#define DB_MODE_SHARE_DENY_READ 0x04") +cpp_quote("#define DB_MODE_SHARE_DENY_WRITE 0x08") +cpp_quote("#define DB_MODE_SHARE_EXCLUSIVE 0x0c") +cpp_quote("#define DB_MODE_SHARE_DENY_NONE 0x10") + +typedef struct tagDBCOLUMNACCESS +{ + void *pData; + DBID columnid; + DBLENGTH cbDataLen; + DBSTATUS dwStatus; + DBLENGTH cbMaxLen; + DB_DWRESERVE dwReserved; + DBTYPE wType; + BYTE bPrecision; + BYTE bScale; +} DBCOLUMNACCESS; + +typedef DWORD DBROWSTATUS; + +enum DBROWSTATUSENUM +{ + DBROWSTATUS_S_OK, + DBROWSTATUS_S_LOCKUPGRADED, + DBROWSTATUS_S_MULTIPLECHANGES, + DBROWSTATUS_S_PENDINGCHANGES, + DBROWSTATUS_E_CANCELED, + DBROWSTATUS_E_CANTLOCKROW, + DBROWSTATUS_E_CANTRELEASE, + DBROWSTATUS_E_CONCURRENCYVIOLATION, + DBROWSTATUS_E_DELETED, + DBROWSTATUS_E_PENDINGINSERT, + DBROWSTATUS_E_NEWLYINSERTED, + DBROWSTATUS_E_INTEGRITYVIOLATION, + DBROWSTATUS_E_INVALID, + DBROWSTATUS_E_MAXPENDCHANGESEXCEEDED, + DBROWSTATUS_E_OBJECTOPEN, + DBROWSTATUS_E_OUTOFMEMORY, + DBROWSTATUS_E_PERMISSIONDENIED, + DBROWSTATUS_E_LIMITREACHED, + DBROWSTATUS_E_SCHEMAVIOLATION, + DBROWSTATUS_E_FAIL, + +}; + +typedef DWORD DBPART; + +enum DBPARTENUM +{ + DBPART_INVALID = 0, + DBPART_VALUE = 1, + DBPART_LENGTH = 2, + DBPART_STATUS = 4, +}; + +typedef DWORD DBPARAMIO; + +enum DBPARAMIOENUM +{ + DBPARAMIO_NOTPARAM = 0, + DBPARAMIO_INPUT = 1, + DBPARAMIO_OUTPUT = 2, +}; + +typedef DWORD DBMEMOWNER; + +enum DBMEMOWNERENUM +{ + DBMEMOWNER_CLIENTOWNED = 0, + DBMEMOWNER_PROVIDEROWNED = 1, +}; + +typedef struct tagDBOBJECT +{ + DWORD dwFlags; + IID iid; +} DBOBJECT; + +typedef struct tagDBBINDEXT +{ + [size_is((ULONG)ulExtension)] BYTE *pExtension; + DBCOUNTITEM ulExtension; +} DBBINDEXT; + +typedef struct tagDBBINDING +{ + DBORDINAL iOrdinal; + DBBYTEOFFSET obValue; + DBBYTEOFFSET obLength; + DBBYTEOFFSET obStatus; + ITypeInfo *pTypeInfo; + DBOBJECT *pObject; + DBBINDEXT *pBindExt; + DBPART dwPart; + DBMEMOWNER dwMemOwner; + DBPARAMIO eParamIO; + DBLENGTH cbMaxLen; + DWORD dwFlags; + DBTYPE wType; + BYTE bPrecision; + BYTE bScale; +} DBBINDING; + +typedef ULONG_PTR HACCESSOR; + +cpp_quote("#define DB_INVALID_HACCESSOR 0x00") + +typedef ULONG_PTR HROW; + +cpp_quote("#define DB_NULL_HROW 0x00") + +typedef ULONG_PTR HWATCHREGION; + +cpp_quote("#define DBWATCHREGION_NULL NULL") + +typedef ULONG_PTR HCHAPTER; + +cpp_quote("#define DB_NULL_HCHAPTER 0x00") + +typedef struct tagDBPARAMS +{ + void *pData; + DB_UPARAMS cParamSets; + HACCESSOR hAccessor; +} DBPARAMS; + +typedef DWORD DBASYNCHOP; + +enum DBASYNCHOPENUM +{ + DBSYNCHOP_OPEN, +}; + +typedef DWORD DBASYNCHPHASE; + +enum DBASYNCHPHASEENUM +{ + DBASYNCHPHASE_INITIALIZATION, + DBASYNCHPHASE_POPULATION, + DBASYNCHPHASE_COMPLETE, + DBASYNCHPHASE_CANCELED, +}; + +typedef struct tagRMTPACK +{ + ISequentialStream *pISeqStream; + ULONG cbData; + ULONG cBSTR; + [size_is(cBSTR)] BSTR *rgBSTR; + ULONG cVARIANT; + [size_is(cVARIANT)] VARIANT *rgVARIANT; + ULONG cIDISPATCH; + [size_is(cIDISPATCH)] IDispatch **rgIDISPATCH; + ULONG cIUNKNOWN; + [size_is(cIUNKNOWN)] IUnknown **rgIUNKNOWN; + ULONG cPROPVARIANT; + [size_is(cPROPVARIANT)] PROPVARIANT *rgPROPVARIANT; + ULONG cArray; + [size_is(cArray)] VARIANT *rgArray; +} RMTPACK; + +typedef struct tagDBDATE { + SHORT year; + USHORT month; + USHORT day; +} DBDATE; + +typedef struct tagDBTIME { + USHORT hour; + USHORT minute; + USHORT second; +} DBTIME; + +typedef struct tagDBTIMESTAMP { + SHORT year; + USHORT month; + USHORT day; + USHORT hour; + USHORT minute; + USHORT second; + ULONG fraction; +} DBTIMESTAMP; + +typedef DWORD DBREASON; +typedef DWORD DBEVENTPHASE; + +enum DBEVENTPHASEENUM { + DBEVENTPHASE_OKTODO, + DBEVENTPHASE_ABOUTTODO, + DBEVENTPHASE_SYNCHAFTER, + DBEVENTPHASE_FAILEDTODO, + DBEVENTPHASE_DIDEVENT +}; + +enum DBREASONENUM { + DBREASON_ROWSET_FETCHPOSITIONCHANGE, + DBREASON_ROWSET_RELEASE, + DBREASON_COLUMN_SET, + DBREASON_COLUMN_RECALCULATED, + DBREASON_ROW_ACTIVATE, + DBREASON_ROW_RELEASE, + DBREASON_ROW_DELETE, + DBREASON_ROW_FIRSTCHANCE, + DBREASON_ROW_INSERT, + DBREASON_ROW_RESYNCH, + DBREASON_ROW_UNDOCHANGE, + DBREASON_ROW_UNDOINSERT, + DBREASON_ROW_UNDODELETE, + DBREASON_ROW_UPDATE, + DBREASON_ROWSET_CHANGED +}; + +enum DBREASONENUM15 { + DBREASON_ROWPOSITION_CHANGED = DBREASON_ROWSET_CHANGED + 1, + DBREASON_ROWPOSITION_CHAPTERCHANGED, + DBREASON_ROWPOSITION_CLEARED, + DBREASON_ROW_ASYNCHINSERT +}; + +typedef DWORD DBCOLUMNFLAGS; + +enum DBCOLUMNFLAGSENUM { + DBCOLUMNFLAGS_ISBOOKMARK = 0x0001, + DBCOLUMNFLAGS_MAYDEFER = 0x0002, + DBCOLUMNFLAGS_WRITE = 0x0004, + DBCOLUMNFLAGS_WRITEUNKNOWN = 0x0008, + DBCOLUMNFLAGS_ISFIXEDLENGTH = 0x0010, + DBCOLUMNFLAGS_ISNULLABLE = 0x0020, + DBCOLUMNFLAGS_MAYBENULL = 0x0040, + DBCOLUMNFLAGS_ISLONG = 0x0080, + DBCOLUMNFLAGS_ISROWID = 0x0100, + DBCOLUMNFLAGS_ISROWVER = 0x0200, + DBCOLUMNFLAGS_CACHEDEFERRED = 0x1000 +}; + +typedef struct tagDBCOLUMNINFO { + LPOLESTR pwszName; + ITypeInfo *pTypeInfo; + DBORDINAL iOrdinal; + DBCOLUMNFLAGS dwFlags; + DBLENGTH ulColumnSize; + DBTYPE wType; + BYTE bPrecision; + BYTE bScale; + DBID columnid; +} DBCOLUMNINFO; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbt.h new file mode 100644 index 0000000..ec8c084 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dbt.h @@ -0,0 +1,155 @@ +/* + * Copyright (C) 2004 Ulrich Czekalla + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DBT_H +#define __WINE_DBT_H + +#ifndef GUID_DEFINED +# include +#endif + +/* dbt.h doesn't use the normal convention, it adds an underscore before A/W */ +#ifdef WINE_NO_UNICODE_MACROS +# define DECL_WINELIB_DBT_TYPE_AW(type) /* nothing */ +#else +# define DECL_WINELIB_DBT_TYPE_AW(type) typedef WINELIB_NAME_AW(type##_) type; +#endif + +#define DBT_DEVNODES_CHANGED 0x0007 +#define DBT_QUERYCHANGECONFIG 0x0017 +#define DBT_CONFIGCHANGED 0x0018 +#define DBT_CONFIGCHANGECANCELED 0x0019 +#define DBT_NO_DISK_SPACE 0x0047 +#define DBT_LOW_DISK_SPACE 0x0048 +#define DBT_CONFIGMGPRIVATE 0x7FFF +#define DBT_DEVICEARRIVAL 0x8000 +#define DBT_DEVICEQUERYREMOVE 0x8001 +#define DBT_DEVICEQUERYREMOVEFAILED 0x8002 +#define DBT_DEVICEREMOVEPENDING 0x8003 +#define DBT_DEVICEREMOVECOMPLETE 0x8004 +#define DBT_DEVICETYPESPECIFIC 0x8005 +#define DBT_CUSTOMEVENT 0x8006 + +typedef struct _DEV_BROADCAST_HDR +{ + DWORD dbch_size; + DWORD dbch_devicetype; + DWORD dbch_reserved; +} DEV_BROADCAST_HDR, *PDEV_BROADCAST_HDR; + +#define DBT_DEVTYP_OEM 0x00000000 +#define DBT_DEVTYP_DEVNODE 0x00000001 +#define DBT_DEVTYP_VOLUME 0x00000002 +#define DBT_DEVTYP_PORT 0x00000003 +#define DBT_DEVTYP_NET 0x00000004 +#define DBT_DEVTYP_DEVICEINTERFACE 0x00000005 +#define DBT_DEVTYP_HANDLE 0x00000006 + +typedef struct _DEV_BROADCAST_OEM +{ + DWORD dbco_size; + DWORD dbco_devicetype; + DWORD dbco_reserved; + DWORD dbco_identifier; + DWORD dbco_suppfunc; +} DEV_BROADCAST_OEM, *PDEV_BROADCAST_OEM; + +typedef struct _DEV_BROADCAST_DEVNODE +{ + DWORD dbcd_size; + DWORD dbcd_devicetype; + DWORD dbcd_reserved; + DWORD dbcd_devnode; +} DEV_BROADCAST_DEVNODE, *PDEV_BROADCAST_DEVNODE; + +typedef struct _DEV_BROADCAST_VOLUME +{ + DWORD dbcv_size; + DWORD dbcv_devicetype; + DWORD dbcv_reserved; + DWORD dbcv_unitmask; + WORD dbcv_flags; +} DEV_BROADCAST_VOLUME, *PDEV_BROADCAST_VOLUME; + +#define DBTF_MEDIA 0x0001 +#define DBTF_NET 0x0002 + +typedef struct _DEV_BROADCAST_PORT_A +{ + DWORD dbcp_size; + DWORD dbcp_devicetype; + DWORD dbcp_reserved; + char dbcp_name[1]; +} DEV_BROADCAST_PORT_A, *PDEV_BROADCAST_PORT_A; + +typedef struct _DEV_BROADCAST_PORT_W +{ + DWORD dbcp_size; + DWORD dbcp_devicetype; + DWORD dbcp_reserved; + WCHAR dbcp_name[1]; +} DEV_BROADCAST_PORT_W, *PDEV_BROADCAST_PORT_W; + +DECL_WINELIB_DBT_TYPE_AW(DEV_BROADCAST_PORT) +DECL_WINELIB_DBT_TYPE_AW(PDEV_BROADCAST_PORT) + +typedef struct _DEV_BROADCAST_NET +{ + DWORD dbcn_size; + DWORD dbcn_devicetype; + DWORD dbcn_reserved; + DWORD dbcn_resource; + DWORD dbcn_flags; +} DEV_BROADCAST_NET, *PDEV_BROADCAST_NET; + +typedef struct _DEV_BROADCAST_DEVICEINTERFACE_A +{ + DWORD dbcc_size; + DWORD dbcc_devicetype; + DWORD dbcc_reserved; + GUID dbcc_classguid; + CHAR dbcc_name[1]; +} DEV_BROADCAST_DEVICEINTERFACE_A, *PDEV_BROADCAST_DEVICEINTERFACE_A; + +typedef struct _DEV_BROADCAST_DEVICEINTERFACE_W +{ + DWORD dbcc_size; + DWORD dbcc_devicetype; + DWORD dbcc_reserved; + GUID dbcc_classguid; + WCHAR dbcc_name[1]; +} DEV_BROADCAST_DEVICEINTERFACE_W, *PDEV_BROADCAST_DEVICEINTERFACE_W; + +DECL_WINELIB_DBT_TYPE_AW(DEV_BROADCAST_DEVICEINTERFACE) +DECL_WINELIB_DBT_TYPE_AW(PDEV_BROADCAST_DEVICEINTERFACE) + +typedef struct _DEV_BROADCAST_HANDLE +{ + DWORD dbch_size; + DWORD dbch_devicetype; + DWORD dbch_reserved; + HANDLE dbch_handle; + HDEVNOTIFY dbch_hdevnotify; + GUID dbch_eventguid; + LONG dbch_nameoffset; + BYTE dbch_data[1]; +} DEV_BROADCAST_HANDLE, *PDEV_BROADCAST_HANDLE; + +#undef DECL_WINELIB_DBT_TYPE_AW + +#endif /* __WINE_DBT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dciddi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dciddi.h new file mode 100644 index 0000000..5175bf8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dciddi.h @@ -0,0 +1,83 @@ +/* + * DCI driver interface + * + * Copyright (C) 2001 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DCIDDI_H +#define __WINE_DCIDDI_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* DCI Command Escape */ +#define DCICOMMAND 3075 +#define DCI_VERSION 0x0100 + +#define DCICREATEPRIMARYSURFACE 1 +#define DCICREATEOFFSCREENSURFACE 2 +#define DCICREATEOVERLAYSURFACE 3 +#define DCIENUMSURFACE 4 +#define DCIESCAPE 5 + +/* DCI Errors */ +#define DCI_OK 0 +#define DCI_FAIL_GENERIC -1 +#define DCI_FAIL_UNSUPPORTEDVERSION -2 +#define DCI_FAIL_INVALIDSURFACE -3 +#define DCI_FAIL_UNSUPPORTED -4 + + +typedef int DCIRVAL; /* DCI callback return type */ + +/***************************************************************************** + * Escape command structures + */ +typedef struct _DCICMD { + DWORD dwCommand; + DWORD dwParam1; + DWORD dwParam2; + DWORD dwVersion; + DWORD dwReserved; +} DCICMD,*LPDCICMD; + +typedef struct _DCISURFACEINFO { + DWORD dwSize; + DWORD dwDCICaps; + DWORD dwCompression; + DWORD dwMask[3]; + DWORD dwWidth; + DWORD dwHeight; + LONG lStride; + DWORD dwBitCount; + ULONG_PTR dwOffSurface; + WORD wSelSurface; + WORD wReserved; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DCIRVAL (CALLBACK *BeginAccess)(LPVOID, LPRECT); + void (CALLBACK *EndAccess)(LPVOID); + void (CALLBACK *DestroySurface)(LPVOID); +} DCISURFACEINFO, *LPDCISURFACEINFO; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __WINE_DCIDDI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dciman.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dciman.h new file mode 100644 index 0000000..487388f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dciman.h @@ -0,0 +1,38 @@ +/* + * DCI driver interface + * + * Copyright (C) 2005 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_DCIMAN +#define _INC_DCIMAN + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +HDC WINAPI DCIOpenProvider(void); +void WINAPI DCICloseProvider(HDC); +int WINAPI DCICreatePrimary(HDC,LPDCISURFACEINFO*); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* _INC_DCIMAN */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dcommon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dcommon.h new file mode 100644 index 0000000..7fea025 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dcommon.h @@ -0,0 +1,72 @@ +/*** Autogenerated by WIDL 2.18 from dcommon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dcommon_h__ +#define __dcommon_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef struct __WIDL_dcommon_generated_name_00000000 { + LONG x; + LONG y; +} POINT; +typedef unsigned int UINT32; +#endif +typedef enum DWRITE_MEASURING_MODE { + DWRITE_MEASURING_MODE_NATURAL = 0, + DWRITE_MEASURING_MODE_GDI_CLASSIC = 1, + DWRITE_MEASURING_MODE_GDI_NATURAL = 2 +} DWRITE_MEASURING_MODE; +typedef enum D2D1_ALPHA_MODE { + D2D1_ALPHA_MODE_UNKNOWN = 0, + D2D1_ALPHA_MODE_PREMULTIPLIED = 1, + D2D1_ALPHA_MODE_STRAIGHT = 2, + D2D1_ALPHA_MODE_IGNORE = 3, + D2D1_ALPHA_MODE_FORCE_DWORD = 0xffffffff +} D2D1_ALPHA_MODE; +typedef struct D2D1_PIXEL_FORMAT { + DXGI_FORMAT format; + D2D1_ALPHA_MODE alphaMode; +} D2D1_PIXEL_FORMAT; +typedef struct D2D_POINT_2F { + float x; + float y; +} D2D_POINT_2F; +typedef struct D2D_POINT_2F D2D1_POINT_2F; +typedef POINT D2D_POINT_2L; +typedef POINT D2D1_POINT_2L; +typedef struct D2D_SIZE_U { + UINT32 width; + UINT32 height; +} D2D_SIZE_U; +typedef struct D2D_SIZE_U D2D1_SIZE_U; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dcommon_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dcommon.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dcommon.idl new file mode 100644 index 0000000..db5055d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dcommon.idl @@ -0,0 +1,63 @@ +/* + * Copyright 2012 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgiformat.idl"; + +cpp_quote("#if 0") +typedef struct +{ + long x, y; +} POINT; +typedef unsigned int UINT32; +cpp_quote("#endif") + +typedef enum DWRITE_MEASURING_MODE +{ + DWRITE_MEASURING_MODE_NATURAL, + DWRITE_MEASURING_MODE_GDI_CLASSIC, + DWRITE_MEASURING_MODE_GDI_NATURAL +} DWRITE_MEASURING_MODE; + +typedef enum D2D1_ALPHA_MODE +{ + D2D1_ALPHA_MODE_UNKNOWN = 0, + D2D1_ALPHA_MODE_PREMULTIPLIED = 1, + D2D1_ALPHA_MODE_STRAIGHT = 2, + D2D1_ALPHA_MODE_IGNORE = 3, + D2D1_ALPHA_MODE_FORCE_DWORD = 0xffffffff, +} D2D1_ALPHA_MODE; + +typedef struct D2D1_PIXEL_FORMAT +{ + DXGI_FORMAT format; + D2D1_ALPHA_MODE alphaMode; +} D2D1_PIXEL_FORMAT; + +typedef struct D2D_POINT_2F +{ + float x; + float y; +} D2D_POINT_2F, D2D1_POINT_2F; + +typedef POINT D2D_POINT_2L, D2D1_POINT_2L; + +typedef struct D2D_SIZE_U +{ + UINT32 width; + UINT32 height; +} D2D_SIZE_U, D2D1_SIZE_U; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dde.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dde.h new file mode 100644 index 0000000..976c457 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dde.h @@ -0,0 +1,79 @@ +/* + * Copyright 1995, Technion, Israel Institute of Technology + * Electrical Eng, Software Lab. + * Author: Michael Veksler. + * Purpose: dde declarations + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DDE_H +#define __WINE_DDE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _USER32_ +#define WINUSERAPI +#else +#define WINUSERAPI DECLSPEC_IMPORT +#endif + +#include + +/* DDEACK: wStatus in WM_DDE_ACK message */ +typedef struct +{ + unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1; +} DDEACK; + +/* DDEDATA: hData in WM_DDE_DATA message */ +typedef struct +{ + unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1; + short cfFormat; + BYTE Value[1]; /* undetermined array */ +} DDEDATA; + +/* DDEADVISE: hOptions in WM_DDE_ADVISE message */ +typedef struct +{ + unsigned short reserved:14, fDeferUpd:1, fAckReq:1; + short cfFormat; +} DDEADVISE; + +/* DDEPOKE: hData in WM_DDE_POKE message. */ +typedef struct +{ + unsigned short unused:13, fRelease:1, fReserved:2; + short cfFormat; + BYTE Value[1]; /* undetermined array */ +} DDEPOKE; + +WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE); +WINUSERAPI BOOL WINAPI FreeDDElParam(UINT,LPARAM); +WINUSERAPI BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND); +WINUSERAPI LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR); +WINUSERAPI LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR); +WINUSERAPI BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DDE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dde.rh b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dde.rh new file mode 100644 index 0000000..23076a8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dde.rh @@ -0,0 +1,32 @@ +/* + * Copyright 1995, Technion, Israel Institute of Technology + * Electrical Eng, Software Lab. + * Author: Michael Veksler. + * Purpose: dde declarations + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define WM_DDE_INITIATE 0x3E0 +#define WM_DDE_TERMINATE 0x3E1 +#define WM_DDE_ADVISE 0x3E2 +#define WM_DDE_UNADVISE 0x3E3 +#define WM_DDE_ACK 0x3E4 +#define WM_DDE_DATA 0x3E5 +#define WM_DDE_REQUEST 0x3E6 +#define WM_DDE_POKE 0x3E7 +#define WM_DDE_EXECUTE 0x3E8 +#define WM_DDE_LAST WM_DDE_EXECUTE +#define WM_DDE_FIRST WM_DDE_INITIATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddeml.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddeml.h new file mode 100644 index 0000000..e769662 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddeml.h @@ -0,0 +1,414 @@ +/* + * DDEML library definitions + * + * Copyright 1997 Alexandre Julliard + * Copyright 1997 Len White + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DDEML_H +#define __WINE_DDEML_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifdef _USER32_ +#define WINUSERAPI +#else +#define WINUSERAPI DECLSPEC_IMPORT +#endif + +/* Codepage Constants + */ + +#define CP_WINANSI 1004 +#define CP_WINUNICODE 1200 + +/* DDE synchronisation constants + */ + +#define MSGF_DDEMGR 0x8001 + +#define QID_SYNC 0xFFFFFFFF + +/* Type variation for MS deliberate departures from ANSI standards + */ + +#define EXPENTRY CALLBACK + +#ifdef UNICODE +#if defined(_MSC_VER) +#define SZDDESYS_TOPIC L"System" +#define SZDDESYS_ITEM_TOPICS L"Topics" +#define SZDDESYS_ITEM_SYSITEMS L"SysItems" +#define SZDDESYS_ITEM_RTNMSG L"ReturnMessage" +#define SZDDESYS_ITEM_STATUS L"Status" +#define SZDDESYS_ITEM_FORMATS L"Formats" +#define SZDDESYS_ITEM_HELP L"Help" +#define SZDDE_ITEM_ITEMLIST L"TopicItemList" +#elif defined(__GNUC__) +#define SZDDESYS_TOPIC (const WCHAR []){'S','y','s','t','e','m',0} +#define SZDDESYS_ITEM_TOPICS (const WCHAR []){'T','o','p','i','c','s',0} +#define SZDDESYS_ITEM_SYSITEMS (const WCHAR []){'S','y','s','I','t','e','m','s',0} +#define SZDDESYS_ITEM_RTNMSG (const WCHAR []){'R','e','t','u','r','n','M','e','s','s','a','g','e',0} +#define SZDDESYS_ITEM_STATUS (const WCHAR []){'S','t','a','t','u','s',0} +#define SZDDESYS_ITEM_FORMATS (const WCHAR []){'F','o','r','m','a','t','s',0} +#define SZDDESYS_ITEM_HELP (const WCHAR []){'H','e','l','p',0} +#define SZDDE_ITEM_ITEMLIST (const WCHAR []){'T','o','p','i','c','I','t','e','m','L','i','s','t',0} +#else /* _MSC_VER/__GNUC__ */ +static const WCHAR SZDDESYS_TOPIC[] = {'S','y','s','t','e','m',0}; +static const WCHAR SZDDESYS_ITEM_TOPICS[] = {'T','o','p','i','c','s',0}; +static const WCHAR SZDDESYS_ITEM_SYSITEMS[] = {'S','y','s','I','t','e','m','s',0}; +static const WCHAR SZDDESYS_ITEM_RTNMSG[] = {'R','e','t','u','r','n','M','e','s','s','a','g','e',0}; +static const WCHAR SZDDESYS_ITEM_STATUS[] = {'S','t','a','t','u','s',0}; +static const WCHAR SZDDESYS_ITEM_FORMATS[] = {'F','o','r','m','a','t','s',0}; +static const WCHAR SZDDESYS_ITEM_HELP[] = {'H','e','l','p',0}; +static const WCHAR SZDDE_ITEM_ITEMLIST[] = {'T','o','p','i','c','I','t','e','m','L','i','s','t',0}; +#endif +#else /* UNICODE */ +#define SZDDESYS_TOPIC "System" +#define SZDDESYS_ITEM_TOPICS "Topics" +#define SZDDESYS_ITEM_SYSITEMS "SysItems" +#define SZDDESYS_ITEM_RTNMSG "ReturnMessage" +#define SZDDESYS_ITEM_STATUS "Status" +#define SZDDESYS_ITEM_FORMATS "Formats" +#define SZDDESYS_ITEM_HELP "Help" +#define SZDDE_ITEM_ITEMLIST "TopicItemList" +#endif + +/*************************************************** + + FLAGS Section - copied from Microsoft SDK as must be standard, probably Copyright Microsoft Corporation + +***************************************************/ + +#define XST_NULL 0 +#define XST_INCOMPLETE 1 +#define XST_CONNECTED 2 +#define XST_INIT1 3 +#define XST_INIT2 4 +#define XST_REQSENT 5 +#define XST_DATARCVD 6 +#define XST_POKESENT 7 +#define XST_POKEACKRCVD 8 +#define XST_EXECSENT 9 +#define XST_EXECACKRCVD 10 +#define XST_ADVSENT 11 +#define XST_UNADVSENT 12 +#define XST_ADVACKRCVD 13 +#define XST_UNADVACKRCVD 14 +#define XST_ADVDATASENT 15 +#define XST_ADVDATAACKRCVD 16 + +#define ST_CONNECTED 0x0001 +#define ST_ADVISE 0x0002 +#define ST_ISLOCAL 0x0004 +#define ST_BLOCKED 0x0008 +#define ST_CLIENT 0x0010 +#define ST_TERMINATED 0x0020 +#define ST_INLIST 0x0040 +#define ST_BLOCKNEXT 0x0080 +#define ST_ISSELF 0x0100 + +/* + * DdeEnableCallback function codes + */ + +#define EC_ENABLEALL 0 +#define EC_ENABLEONE ST_BLOCKNEXT +#define EC_DISABLE ST_BLOCKED +#define EC_QUERYWAITING 2 + +/* + * Callback filter flags for use with standard apps. + */ + +#define CBF_FAIL_SELFCONNECTIONS 0x00001000 +#define CBF_FAIL_CONNECTIONS 0x00002000 +#define CBF_FAIL_ADVISES 0x00004000 +#define CBF_FAIL_EXECUTES 0x00008000 +#define CBF_FAIL_POKES 0x00010000 +#define CBF_FAIL_REQUESTS 0x00020000 +#define CBF_FAIL_ALLSVRXACTIONS 0x0003f000 + +#define CBF_SKIP_CONNECT_CONFIRMS 0x00040000 +#define CBF_SKIP_REGISTRATIONS 0x00080000 +#define CBF_SKIP_UNREGISTRATIONS 0x00100000 +#define CBF_SKIP_DISCONNECTS 0x00200000 +#define CBF_SKIP_ALLNOTIFICATIONS 0x003c0000 + +#define CBR_BLOCK ((HDDEDATA)-1) + +/* + * Application command flags + */ +#define APPCMD_CLIENTONLY __MSABI_LONG(0x00000010) +#define APPCMD_FILTERINITS __MSABI_LONG(0x00000020) +#define APPCMD_MASK __MSABI_LONG(0x00000FF0) + +/* + * Application classification flags + */ + +#define APPCLASS_STANDARD __MSABI_LONG(0x00000000) +#define APPCLASS_MONITOR __MSABI_LONG(0x00000001) +#define APPCLASS_MASK __MSABI_LONG(0x0000000F) + +/* + * Callback filter flags for use with MONITOR apps - 0 implies no monitor + * callbacks. + */ +#define MF_HSZ_INFO 0x01000000 +#define MF_SENDMSGS 0x02000000 +#define MF_POSTMSGS 0x04000000 +#define MF_CALLBACKS 0x08000000 +#define MF_ERRORS 0x10000000 +#define MF_LINKS 0x20000000 +#define MF_CONV 0x40000000 + +#define MF_MASK 0xFF000000 + +/* + * DdeNameService service name flags + */ + +#define DNS_REGISTER 0x0001 +#define DNS_UNREGISTER 0x0002 +#define DNS_FILTERON 0x0004 +#define DNS_FILTEROFF 0x0008 + + +/**************************************************** + + End of Flags section + +****************************************************/ + +/**************************************************** + + Message Types Section + +****************************************************/ + +#define XTYPF_NOBLOCK 0x0002 /* CBR_NOBLOCK will not work */ +#define XTYPF_NODATA 0x0004 /* DDE_FDEFERUPD */ +#define XTYPF_ACKREQ 0x0008 /* DDE_FACKREQ */ + +#define XCLASS_MASK 0xFC00 +#define XCLASS_BOOL 0x1000 +#define XCLASS_DATA 0x2000 +#define XCLASS_FLAGS 0x4000 +#define XCLASS_NOTIFICATION 0x8000 + +#define XTYP_ERROR (0x0000 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK) +#define XTYP_ADVDATA (0x0010 | XCLASS_FLAGS) +#define XTYP_ADVREQ (0x0020 | XCLASS_DATA | XTYPF_NOBLOCK) +#define XTYP_ADVSTART (0x0030 | XCLASS_BOOL) +#define XTYP_ADVSTOP (0x0040 | XCLASS_NOTIFICATION) +#define XTYP_EXECUTE (0x0050 | XCLASS_FLAGS) +#define XTYP_CONNECT (0x0060 | XCLASS_BOOL | XTYPF_NOBLOCK) +#define XTYP_CONNECT_CONFIRM (0x0070 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK) +#define XTYP_XACT_COMPLETE (0x0080 | XCLASS_NOTIFICATION ) +#define XTYP_POKE (0x0090 | XCLASS_FLAGS) +#define XTYP_REGISTER (0x00A0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK ) +#define XTYP_REQUEST (0x00B0 | XCLASS_DATA ) +#define XTYP_DISCONNECT (0x00C0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK ) +#define XTYP_UNREGISTER (0x00D0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK ) +#define XTYP_WILDCONNECT (0x00E0 | XCLASS_DATA | XTYPF_NOBLOCK) +#define XTYP_MONITOR (0x00F0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK) + +#define XTYP_MASK 0x00F0 +#define XTYP_SHIFT 4 + +#define TIMEOUT_ASYNC 0xFFFFFFFF + +#define CADV_LATEACK 0xFFFF + +/************************************************** + + End of Message Types Section + +****************************************************/ + +/***************************************************** + + DDE Codes for wStatus field + +*****************************************************/ + +#define DDE_FACK 0x8000 +#define DDE_FBUSY 0x4000 +#define DDE_FDEFERUPD 0x4000 +#define DDE_FACKREQ 0x8000 +#define DDE_FRELEASE 0x2000 +#define DDE_FREQUESTED 0x1000 +#define DDE_FAPPSTATUS 0x00FF +#define DDE_FNOTPROCESSED 0x0000 + +#define DDE_FACKRESERVED (~(DDE_FACK | DDE_FBUSY | DDE_FAPPSTATUS)) +#define DDE_FADVRESERVED (~(DDE_FACKREQ | DDE_FDEFERUPD)) +#define DDE_FDATRESERVED (~(DDE_FACKREQ | DDE_FRELEASE | DDE_FREQUESTED)) +#define DDE_FPOKRESERVED (~(DDE_FRELEASE)) + +/***************************************************** + + End of wStatus codes + +*****************************************************/ + +/**************************************************** + + Return Codes section again copied from SDK as must be same + +*****************************************************/ + +#define DMLERR_NO_ERROR 0 /* must be 0 */ + +#define DMLERR_FIRST 0x4000 + +#define DMLERR_ADVACKTIMEOUT 0x4000 +#define DMLERR_BUSY 0x4001 +#define DMLERR_DATAACKTIMEOUT 0x4002 +#define DMLERR_DLL_NOT_INITIALIZED 0x4003 +#define DMLERR_DLL_USAGE 0x4004 +#define DMLERR_EXECACKTIMEOUT 0x4005 +#define DMLERR_INVALIDPARAMETER 0x4006 +#define DMLERR_LOW_MEMORY 0x4007 +#define DMLERR_MEMORY_ERROR 0x4008 +#define DMLERR_NOTPROCESSED 0x4009 +#define DMLERR_NO_CONV_ESTABLISHED 0x400a +#define DMLERR_POKEACKTIMEOUT 0x400b +#define DMLERR_POSTMSG_FAILED 0x400c +#define DMLERR_REENTRANCY 0x400d +#define DMLERR_SERVER_DIED 0x400e +#define DMLERR_SYS_ERROR 0x400f +#define DMLERR_UNADVACKTIMEOUT 0x4010 +#define DMLERR_UNFOUND_QUEUE_ID 0x4011 + +#define DMLERR_LAST 0x4011 + +#define HDATA_APPOWNED 0x0001 + +/***************************************************** + + End of Return Codes and Microsoft section + +******************************************************/ + + + +DECLARE_HANDLE(HCONVLIST); +DECLARE_HANDLE(HCONV); +DECLARE_HANDLE(HSZ); +DECLARE_HANDLE(HDDEDATA); + + + +/******************************************************* + + API Entry Points + +*******************************************************/ + +typedef HDDEDATA (CALLBACK *PFNCALLBACK)(UINT, UINT, HCONV, HSZ, HSZ, + HDDEDATA, ULONG_PTR, ULONG_PTR); + +/*************************************************** + + Externally visible data structures + +***************************************************/ + +typedef struct tagHSZPAIR +{ + HSZ hszSvc; + HSZ hszTopic; +} HSZPAIR, *PHSZPAIR; + +typedef struct tagCONVCONTEXT +{ + UINT cb; + UINT wFlags; + UINT wCountryID; + INT iCodePage; + DWORD dwLangID; + DWORD dwSecurity; + SECURITY_QUALITY_OF_SERVICE qos; +} CONVCONTEXT, *PCONVCONTEXT; + +typedef struct tagCONVINFO +{ + DWORD cb; + DWORD_PTR hUser; + HCONV hConvPartner; + HSZ hszSvcPartner; + HSZ hszServiceReq; + HSZ hszTopic; + HSZ hszItem; + UINT wFmt; + UINT wType; + UINT wStatus; + UINT wConvst; + UINT wLastError; + HCONVLIST hConvList; + CONVCONTEXT ConvCtxt; + HWND hwnd; + HWND hwndPartner; +} CONVINFO, *PCONVINFO; + +/* Interface Definitions */ + +WINUSERAPI BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction); +WINUSERAPI LPBYTE WINAPI DdeAccessData(HDDEDATA,LPDWORD); +WINUSERAPI HDDEDATA WINAPI DdeAddData(HDDEDATA,LPBYTE,DWORD,DWORD); +WINUSERAPI HDDEDATA WINAPI DdeClientTransaction(LPBYTE,DWORD,HCONV,HSZ,UINT,UINT,DWORD,LPDWORD); +WINUSERAPI INT WINAPI DdeCmpStringHandles(HSZ,HSZ); +WINUSERAPI HCONV WINAPI DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT); +WINUSERAPI HCONVLIST WINAPI DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT); +WINUSERAPI HDDEDATA WINAPI DdeCreateDataHandle(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT,UINT); +WINUSERAPI HSZ WINAPI DdeCreateStringHandleA(DWORD,LPCSTR,INT); +WINUSERAPI HSZ WINAPI DdeCreateStringHandleW(DWORD,LPCWSTR,INT); +#define DdeCreateStringHandle WINELIB_NAME_AW(DdeCreateStringHandle) +WINUSERAPI BOOL WINAPI DdeDisconnect(HCONV); +WINUSERAPI BOOL WINAPI DdeDisconnectList(HCONVLIST); +WINUSERAPI BOOL WINAPI DdeEnableCallback(DWORD,HCONV,UINT); +WINUSERAPI BOOL WINAPI DdeFreeDataHandle(HDDEDATA); +WINUSERAPI BOOL WINAPI DdeFreeStringHandle(DWORD,HSZ); +WINUSERAPI DWORD WINAPI DdeGetData(HDDEDATA,LPBYTE,DWORD,DWORD); +WINUSERAPI UINT WINAPI DdeGetLastError(DWORD); +WINUSERAPI BOOL WINAPI DdeImpersonateClient(HCONV); +WINUSERAPI UINT WINAPI DdeInitializeA(LPDWORD,PFNCALLBACK,DWORD,DWORD); +WINUSERAPI UINT WINAPI DdeInitializeW(LPDWORD,PFNCALLBACK,DWORD,DWORD); +#define DdeInitialize WINELIB_NAME_AW(DdeInitialize) +WINUSERAPI BOOL WINAPI DdeKeepStringHandle(DWORD,HSZ); +WINUSERAPI HDDEDATA WINAPI DdeNameService(DWORD,HSZ,HSZ,UINT); +WINUSERAPI BOOL WINAPI DdePostAdvise(DWORD,HSZ,HSZ); +WINUSERAPI UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,PCONVINFO); +WINUSERAPI HCONV WINAPI DdeQueryNextServer(HCONVLIST, HCONV); +WINUSERAPI DWORD WINAPI DdeQueryStringA(DWORD, HSZ, LPSTR, DWORD, INT); +WINUSERAPI DWORD WINAPI DdeQueryStringW(DWORD, HSZ, LPWSTR, DWORD, INT); +#define DdeQueryString WINELIB_NAME_AW(DdeQueryString) +WINUSERAPI HCONV WINAPI DdeReconnect(HCONV); +WINUSERAPI BOOL WINAPI DdeSetUserHandle(HCONV,DWORD,DWORD); +WINUSERAPI BOOL WINAPI DdeUnaccessData(HDDEDATA); +WINUSERAPI BOOL WINAPI DdeUninitialize(DWORD); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DDEML_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/compstui.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/compstui.h new file mode 100644 index 0000000..63612f4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/compstui.h @@ -0,0 +1,71 @@ +/* + * Definitions for Common Property Sheet User Interface + * + * Copyright 2006 Detlef Riekenberg + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef _COMPSTUI_ +#define _COMPSTUI_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* DEFINES */ + +#define PROPSHEETUI_INFO_VERSION 0x0100 + +#define PSUIINFO_UNICODE 1 + +/* return-values for CommonPropertySheetUI on success */ +#define CPSUI_CANCEL 0 +#define CPSUI_OK 1 +#define CPSUI_RESTARTWINDOWS 2 +#define CPSUI_REBOOTSYSTEM 3 + + +/* TYPES */ +typedef DWORD (CALLBACK *PFNCOMPROPSHEET)(HANDLE, UINT, LPARAM, LPARAM); + +typedef struct _PROPSHEETUI_INFO { + WORD cbSize; + WORD Version; + WORD Flags; /* set PSUIINFO_UNICODE for UNICODE */ + WORD Reason; + HANDLE hComPropSheet; + PFNCOMPROPSHEET pfnComPropSheet; + LPARAM lParamInit; + DWORD UserData; + DWORD Result; + } PROPSHEETUI_INFO, *PPROPSHEETUI_INFO; + +typedef LONG (CALLBACK *PFNPROPSHEETUI)(PROPSHEETUI_INFO, LPARAM); + +/* FUNCTIONS */ +LONG WINAPI CommonPropertySheetUIA(HWND, PFNPROPSHEETUI, LPARAM, LPDWORD); +LONG WINAPI CommonPropertySheetUIW(HWND, PFNPROPSHEETUI, LPARAM, LPDWORD); +#define CommonPropertySheetUI WINELIB_NAME_AW(CommonPropertySheetUI) + +ULONG_PTR WINAPI GetPSTUIUserData(HWND); +BOOL WINAPI SetPSTUIUserData(HWND, ULONG_PTR); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* _COMPSTUI_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/csq.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/csq.h new file mode 100644 index 0000000..7b4121f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/csq.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2014 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "ddk/ntddk.h" + +#ifndef __WINE_CSQ_H +#define __WINE_CSQ_H + +typedef struct _IO_CSQ IO_CSQ, *PIO_CSQ; +typedef VOID (WINAPI *PIO_CSQ_ACQUIRE_LOCK)(PIO_CSQ Csq, PKIRQL Irql); +typedef VOID (WINAPI *PIO_CSQ_COMPLETE_CANCELED_IRP)(PIO_CSQ Csq, PIRP Irp); +typedef VOID (WINAPI *PIO_CSQ_INSERT_IRP)(struct _IO_CSQ *Csq, PIRP Irp); +typedef PIRP (WINAPI *PIO_CSQ_PEEK_NEXT_IRP)(PIO_CSQ Csq, PIRP Irp, PVOID PeekContext); +typedef VOID (WINAPI *PIO_CSQ_RELEASE_LOCK)(PIO_CSQ Csq, KIRQL Irql); +typedef VOID (WINAPI *PIO_CSQ_REMOVE_IRP)(PIO_CSQ Csq, PIRP Irp); + +#endif /* __WINE_CSQ_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/d3dkmthk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/d3dkmthk.h new file mode 100644 index 0000000..80c0c8a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/d3dkmthk.h @@ -0,0 +1,55 @@ +/* + * Copyright 2016 Henri Verbeet for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_D3DKMTHK_H +#define __WINE_D3DKMTHK_H + +#include + +typedef struct _D3DKMT_CREATEDCFROMMEMORY +{ + void *pMemory; + D3DDDIFORMAT Format; + UINT Width; + UINT Height; + UINT Pitch; + HDC hDeviceDc; + PALETTEENTRY *pColorTable; + HDC hDc; + HANDLE hBitmap; +} D3DKMT_CREATEDCFROMMEMORY; + +typedef struct _D3DKMT_DESTROYDCFROMMEMORY +{ + HDC hDc; + HANDLE hBitmap; +} D3DKMT_DESTROYDCFROMMEMORY; + +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +NTSTATUS WINAPI D3DKMTCreateDCFromMemory(D3DKMT_CREATEDCFROMMEMORY *desc); +NTSTATUS WINAPI D3DKMTDestroyDCFromMemory(const D3DKMT_DESTROYDCFROMMEMORY *desc); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __WINE_D3DKMTHK_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidclass.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidclass.h new file mode 100644 index 0000000..f5439ac --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidclass.h @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2015 Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __HIDCLASS_H +#define __HIDCLASS_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define HID_REVISION 1 + +DEFINE_GUID (GUID_DEVINTERFACE_HID, \ + 0x4D1E55B2L, 0xF16F, 0x11CF, 0x88, 0xCB, 0x00, 0x11, 0x11, 0x00, 0x00, 0x30); + +#define HID_CTL_CODE(id) \ + CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_NEITHER, FILE_ANY_ACCESS) +#define HID_BUFFER_CTL_CODE(id) \ + CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_BUFFERED, FILE_ANY_ACCESS) +#define HID_IN_CTL_CODE(id) \ + CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_IN_DIRECT, FILE_ANY_ACCESS) +#define HID_OUT_CTL_CODE(id) \ + CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_OUT_DIRECT, FILE_ANY_ACCESS) + +#define IOCTL_GET_PHYSICAL_DESCRIPTOR HID_OUT_CTL_CODE(102) +#define IOCTL_HID_FLUSH_QUEUE HID_CTL_CODE(101) +#define IOCTL_HID_GET_COLLECTION_DESCRIPTOR HID_CTL_CODE(100) +#define IOCTL_HID_GET_COLLECTION_INFORMATION HID_BUFFER_CTL_CODE(106) +#define IOCTL_HID_GET_FEATURE HID_OUT_CTL_CODE(100) +#define IOCTL_HID_GET_HARDWARE_ID HID_OUT_CTL_CODE(103) +#define IOCTL_HID_GET_INDEXED_STRING HID_OUT_CTL_CODE(120) +#define IOCTL_HID_GET_INPUT_REPORT HID_OUT_CTL_CODE(104) +#define IOCTL_HID_GET_MANUFACTURER_STRING HID_OUT_CTL_CODE(110) +#define IOCTL_GET_NUM_DEVICE_INPUT_BUFFERS HID_BUFFER_CTL_CODE(104) +#define IOCTL_HID_GET_POLL_FREQUENCY_MSEC HID_BUFFER_CTL_CODE(102) +#define IOCTL_HID_GET_PRODUCT_STRING HID_OUT_CTL_CODE(111) +#define IOCTL_HID_GET_SERIALNUMBER_STRING HID_OUT_CTL_CODE(112) +#define IOCTL_HID_SET_FEATURE HID_IN_CTL_CODE(100) +#define IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS HID_BUFFER_CTL_CODE(105) +#define IOCTL_HID_SET_OUTPUT_REPORT HID_IN_CTL_CODE(101) +#define IOCTL_HID_SET_POLL_FREQUENCY_MSEC HID_BUFFER_CTL_CODE(103) + +#define IOCTL_HID_GET_DRIVER_CONFIG HID_BUFFER_CTL_CODE(100) +#define IOCTL_HID_SET_DRIVER_CONFIG HID_BUFFER_CTL_CODE(101) +#define IOCTL_HID_GET_MS_GENRE_DESCRIPTOR HID_OUT_CTL_CODE(121) + +typedef struct _HID_COLLECTION_INFORMATION { + ULONG DescriptorSize; + BOOLEAN Polled; + UCHAR Reserved1[1]; + USHORT VendorID; + USHORT ProductID; + USHORT VersionNumber; +} HID_COLLECTION_INFORMATION, *PHID_COLLECTION_INFORMATION; + +typedef struct _HID_XFER_PACKET { + PUCHAR reportBuffer; + ULONG reportBufferLen; + UCHAR reportId; +} HID_XFER_PACKET, *PHID_XFER_PACKET; + +#ifdef __cplusplus +} +#endif + +#endif /* __HIDCLASS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidpi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidpi.h new file mode 100644 index 0000000..0f69a03 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidpi.h @@ -0,0 +1,222 @@ +/* + * Copyright (C) 2015 Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __HIDPI_H__ +#define __HIDPI_H__ + +typedef enum _HIDP_REPORT_TYPE +{ + HidP_Input, + HidP_Output, + HidP_Feature +} HIDP_REPORT_TYPE; + +typedef struct _HIDP_BUTTON_CAPS +{ + USAGE UsagePage; + UCHAR ReportID; + BOOLEAN IsAlias; + USHORT BitField; + USHORT LinkCollection; + USAGE LinkUsage; + USAGE LinkUsagePage; + + BOOLEAN IsRange; + BOOLEAN IsStringRange; + BOOLEAN IsDesignatorRange; + BOOLEAN IsAbsolute; + ULONG Reserved[10]; + union { + struct { + USAGE UsageMin; + USAGE UsageMax; + USHORT StringMin; + USHORT StringMax; + USHORT DesignatorMin; + USHORT DesignatorMax; + USHORT DataIndexMin; + USHORT DataIndexMax; + } Range; + struct { + USAGE Usage; + USAGE Reserved1; + USHORT StringIndex; + USHORT Reserved2; + USHORT DesignatorIndex; + USHORT Reserved3; + USHORT DataIndex; + USHORT Reserved4; + } NotRange; + } DUMMYUNIONNAME; +} HIDP_BUTTON_CAPS, *PHIDP_BUTTON_CAPS; + +typedef struct _HIDP_VALUE_CAPS +{ + USAGE UsagePage; + UCHAR ReportID; + BOOLEAN IsAlias; + USHORT BitField; + USHORT LinkCollection; + USAGE LinkUsage; + USAGE LinkUsagePage; + + BOOLEAN IsRange; + BOOLEAN IsStringRange; + BOOLEAN IsDesignatorRange; + BOOLEAN IsAbsolute; + BOOLEAN HasNull; + UCHAR Reserved; + USHORT BitSize; + USHORT ReportCount; + USHORT Reserved2[5]; + ULONG UnitsExp; + ULONG Units; + LONG LogicalMin; + LONG LogicalMax; + LONG PhysicalMin; + LONG PhysicalMax; + union { + struct { + USAGE UsageMin; + USAGE UsageMax; + USHORT StringMin; + USHORT StringMax; + USHORT DesignatorMin; + USHORT DesignatorMax; + USHORT DataIndexMin; + USHORT DataIndexMax; + } Range; + struct { + USAGE Usage; + USAGE Reserved1; + USHORT StringIndex; + USHORT Reserved2; + USHORT DesignatorIndex; + USHORT Reserved3; + USHORT DataIndex; + USHORT Reserved4; + } NotRange; + } DUMMYUNIONNAME; +} HIDP_VALUE_CAPS, *PHIDP_VALUE_CAPS; + +typedef struct _HIDP_PREPARSED_DATA * PHIDP_PREPARSED_DATA; + +typedef struct _HIDP_CAPS +{ + USAGE Usage; + USAGE UsagePage; + USHORT InputReportByteLength; + USHORT OutputReportByteLength; + USHORT FeatureReportByteLength; + USHORT Reserved[17]; + USHORT NumberLinkCollectionNodes; + USHORT NumberInputButtonCaps; + USHORT NumberInputValueCaps; + USHORT NumberInputDataIndices; + USHORT NumberOutputButtonCaps; + USHORT NumberOutputValueCaps; + USHORT NumberOutputDataIndices; + USHORT NumberFeatureButtonCaps; + USHORT NumberFeatureValueCaps; + USHORT NumberFeatureDataIndices; +} HIDP_CAPS, *PHIDP_CAPS; + +typedef enum _HIDP_KEYBOARD_DIRECTION { + HidP_Keyboard_Break, + HidP_Keyboard_Make +} HIDP_KEYBOARD_DIRECTION; + +typedef struct _HIDP_KEYBOARD_MODIFIER_STATE { + union { + struct { + ULONG LeftControl: 1; + ULONG LeftShift: 1; + ULONG LeftAlt: 1; + ULONG LeftGUI: 1; + ULONG RightControl: 1; + ULONG RightShift: 1; + ULONG RightAlt: 1; + ULONG RigthGUI: 1; + ULONG CapsLock: 1; + ULONG ScollLock: 1; + ULONG NumLock: 1; + ULONG Reserved: 21; + } DUMMYSTRUCTNAME; + ULONG ul; + } DUMMYUNIONNAME; +} HIDP_KEYBOARD_MODIFIER_STATE, *PHIDP_KEYBOARD_MODIFIER_STATE; + +typedef struct _USAGE_AND_PAGE { + USAGE Usage; + USAGE UsagePage; +} USAGE_AND_PAGE, *PUSAGE_AND_PAGE; + +typedef struct _HIDP_DATA { + USHORT DataIndex; + USHORT Reserved; + union { + ULONG RawValue; + BOOLEAN On; + } DUMMYUNIONNAME; +} HIDP_DATA, *PHIDP_DATA; + +typedef BOOLEAN (NTAPI *PHIDP_INSERT_SCANCODES) (VOID *Context, CHAR *NewScanCodes, ULONG Length); + + +NTSTATUS WINAPI HidP_GetButtonCaps(HIDP_REPORT_TYPE ReportType, PHIDP_BUTTON_CAPS ButtonCaps, PUSHORT ButtonCapsLength, PHIDP_PREPARSED_DATA PreparsedData); +NTSTATUS WINAPI HidP_GetCaps(PHIDP_PREPARSED_DATA PreparsedData, PHIDP_CAPS Capabilities); +NTSTATUS WINAPI HidP_GetUsages(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, USHORT LinkCollection, PUSAGE UsageList, PULONG UsageLength, PHIDP_PREPARSED_DATA PreparsedData, PCHAR Report, ULONG ReportLength); +NTSTATUS WINAPI HidP_GetUsageValue(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, USHORT LinkCollection, USAGE Usage, PULONG UsageValue, PHIDP_PREPARSED_DATA PreparsedData, PCHAR Report, ULONG ReportLength); +NTSTATUS WINAPI HidP_GetValueCaps(HIDP_REPORT_TYPE ReportType, PHIDP_VALUE_CAPS ValueCaps, PUSHORT ValueCapsLength, PHIDP_PREPARSED_DATA PreparsedData); +NTSTATUS WINAPI HidP_InitializeReportForID(HIDP_REPORT_TYPE ReportType, UCHAR ReportID, PHIDP_PREPARSED_DATA PreparsedData, PCHAR Report, ULONG ReportLength); +ULONG WINAPI HidP_MaxUsageListLength(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, PHIDP_PREPARSED_DATA PreparsedData); +NTSTATUS WINAPI HidP_GetScaledUsageValue(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, USHORT LinkCollection, USAGE Usage, PLONG UsageValue, PHIDP_PREPARSED_DATA PreparsedData, PCHAR Report, ULONG ReportLength); +NTSTATUS WINAPI HidP_TranslateUsagesToI8042ScanCodes(USAGE *ChangedUsageList, ULONG UsageListLength, HIDP_KEYBOARD_DIRECTION KeyAction, HIDP_KEYBOARD_MODIFIER_STATE *ModifierState, PHIDP_INSERT_SCANCODES InsertCodesProcedure, VOID *InsertCodesContext); +NTSTATUS WINAPI HidP_GetSpecificButtonCaps(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, USHORT LinkCollection, USAGE Usage, HIDP_BUTTON_CAPS *ButtonCaps, USHORT *ButtonCapsLength, PHIDP_PREPARSED_DATA PreparsedData); +NTSTATUS WINAPI HidP_GetSpecificValueCaps(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, USHORT LinkCollection, USAGE Usage, HIDP_VALUE_CAPS *ValueCaps, USHORT *ValueCapsLength, PHIDP_PREPARSED_DATA PreparsedData); +NTSTATUS WINAPI HidP_GetUsagesEx(HIDP_REPORT_TYPE ReportType, USHORT LinkCollection, USAGE_AND_PAGE *ButtonList, ULONG *UsageLength, PHIDP_PREPARSED_DATA PreparsedData, CHAR *Report, ULONG ReportLength); +ULONG WINAPI HidP_MaxDataListLength(HIDP_REPORT_TYPE ReportType, PHIDP_PREPARSED_DATA PreparsedData); +NTSTATUS WINAPI HidP_GetData(HIDP_REPORT_TYPE ReportType, HIDP_DATA *DataList, ULONG *DataLength, PHIDP_PREPARSED_DATA PreparsedData, CHAR *Report, ULONG ReportLength); + +#ifndef FACILITY_HID_ERROR_CODE +#define FACILITY_HID_ERROR_CODE 0x11 +#endif + +#define HIDP_ERROR_CODES(sev, code) ((NTSTATUS)(((sev) << 28) | (FACILITY_HID_ERROR_CODE << 16) | (code))) + +#define HIDP_STATUS_SUCCESS (HIDP_ERROR_CODES(0x0u,0x00)) +#define HIDP_STATUS_NULL (HIDP_ERROR_CODES(0x8u,0x01)) +#define HIDP_STATUS_INVALID_PREPARSED_DATA (HIDP_ERROR_CODES(0xcu,0x01)) +#define HIDP_STATUS_INVALID_REPORT_TYPE (HIDP_ERROR_CODES(0xcu,0x02)) +#define HIDP_STATUS_INVALID_REPORT_LENGTH (HIDP_ERROR_CODES(0xcu,0x03)) +#define HIDP_STATUS_USAGE_NOT_FOUND (HIDP_ERROR_CODES(0xcu,0x04)) +#define HIDP_STATUS_VALUE_OUT_OF_RANGE (HIDP_ERROR_CODES(0xcu,0x05)) +#define HIDP_STATUS_BAD_LOG_PHY_VALUES (HIDP_ERROR_CODES(0xcu,0x06)) +#define HIDP_STATUS_BUFFER_TOO_SMALL (HIDP_ERROR_CODES(0xcu,0x07)) +#define HIDP_STATUS_INTERNAL_ERROR (HIDP_ERROR_CODES(0xcu,0x08)) +#define HIDP_STATUS_I8242_TRANS_UNKNOWN (HIDP_ERROR_CODES(0xcu,0x09)) +#define HIDP_STATUS_INCOMPATIBLE_REPORT_ID (HIDP_ERROR_CODES(0xcu,0x0a)) +#define HIDP_STATUS_NOT_VALUE_ARRAY (HIDP_ERROR_CODES(0xcu,0x0b)) +#define HIDP_STATUS_IS_VALUE_ARRAY (HIDP_ERROR_CODES(0xcu,0x0c)) +#define HIDP_STATUS_DATA_INDEX_NOT_FOUND (HIDP_ERROR_CODES(0xcu,0x0d)) +#define HIDP_STATUS_DATA_INDEX_OUT_OF_RANGE (HIDP_ERROR_CODES(0xcu,0x0e)) +#define HIDP_STATUS_BUTTON_NOT_PRESSED (HIDP_ERROR_CODES(0xcu,0x0f)) +#define HIDP_STATUS_REPORT_DOES_NOT_EXIST (HIDP_ERROR_CODES(0xcu,0x10)) +#define HIDP_STATUS_NOT_IMPLEMENTED (HIDP_ERROR_CODES(0xcu,0x20)) + +#endif /* __HIDPI_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidport.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidport.h new file mode 100644 index 0000000..3ebe273 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidport.h @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2015 Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __HIDPORT_H__ +#define __HIDPORT_H__ + +#include + +typedef struct _HID_MINIDRIVER_REGISTRATION +{ + ULONG Revision; + PDRIVER_OBJECT DriverObject; + PUNICODE_STRING RegistryPath; + ULONG DeviceExtensionSize; + BOOLEAN DevicesArePolled; + UCHAR Reserved[3]; +} HID_MINIDRIVER_REGISTRATION, *PHID_MINIDRIVER_REGISTRATION; + +NTSTATUS WINAPI HidRegisterMinidriver(PHID_MINIDRIVER_REGISTRATION MinidriverRegistration); + +typedef struct _HID_DEVICE_EXTENSION +{ + PDEVICE_OBJECT PhysicalDeviceObject; + PDEVICE_OBJECT NextDeviceObject; + PVOID MiniDeviceExtension; +} HID_DEVICE_EXTENSION, *PHID_DEVICE_EXTENSION; + +typedef struct _HID_DEVICE_ATTRIBUTES +{ + ULONG Size; + USHORT VendorID; + USHORT ProductID; + USHORT VersionNumber; + USHORT Reserved[11]; +} HID_DEVICE_ATTRIBUTES, *PHID_DEVICE_ATTRIBUTES; + +typedef struct _HID_DESCRIPTOR +{ + UCHAR bLength; + UCHAR bDescriptorType; + USHORT bcdHID; + UCHAR bCountry; + UCHAR bNumDescriptors; + struct _HID_DESCRIPTOR_DESC_LIST + { + UCHAR bReportType; + USHORT wReportLength; + } DescriptorList[1]; +} HID_DESCRIPTOR, *PHID_DESCRIPTOR; + +#define HID_HID_DESCRIPTOR_TYPE 0x21 +#define HID_REPORT_DESCRIPTOR_TYPE 0x22 + +#define IOCTL_HID_GET_DEVICE_DESCRIPTOR HID_CTL_CODE(0) +#define IOCTL_HID_GET_REPORT_DESCRIPTOR HID_CTL_CODE(1) +#define IOCTL_HID_READ_REPORT HID_CTL_CODE(2) +#define IOCTL_HID_WRITE_REPORT HID_CTL_CODE(3) +#define IOCTL_HID_GET_STRING HID_CTL_CODE(4) +#define IOCTL_HID_ACTIVATE_DEVICE HID_CTL_CODE(7) +#define IOCTL_HID_DEACTIVATE_DEVICE HID_CTL_CODE(8) +#define IOCTL_HID_GET_DEVICE_ATTRIBUTES HID_CTL_CODE(9) +#define IOCTL_HID_SEND_IDLE_NOTIFICATION_REQUEST HID_CTL_CODE(10) + +#endif /* __HIDPORT_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidsdi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidsdi.h new file mode 100644 index 0000000..19e3885 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidsdi.h @@ -0,0 +1,57 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_HIDSDI_H +#define __WINE_HIDSDI_H + +#ifndef WINE_NTSTATUS_DECLARED +#define WINE_NTSTATUS_DECLARED +typedef LONG NTSTATUS; +#endif + +#include +#include + +typedef struct _HIDD_ATTRIBUTES { + ULONG Size; + USHORT VendorID; + USHORT ProductID; + USHORT VersionNumber; +} HIDD_ATTRIBUTES, *PHIDD_ATTRIBUTES; + +typedef struct _HIDD_CONFIGURATION { + PVOID cookie; + ULONG size; + ULONG RingBufferSize; +} HIDD_CONFIGURATION, *PHIDD_CONFIGURATION; + +BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); +void WINAPI HidD_GetHidGuid(LPGUID guid); +BOOLEAN WINAPI HidD_GetInputReport(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); +BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength); +BOOLEAN WINAPI HidD_GetNumInputBuffers(HANDLE HidDeviceObject, ULONG *NumberBuffers); +BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength); +BOOLEAN WINAPI HidD_GetSerialNumberString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength); +BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); +BOOLEAN WINAPI HidD_SetNumInputBuffers(HANDLE HidDeviceObject, ULONG NumberBuffers); +BOOLEAN WINAPI HidD_GetPreparsedData( HANDLE HidDeviceObject, PHIDP_PREPARSED_DATA *PreparsedData); +BOOLEAN WINAPI HidD_FreePreparsedData(PHIDP_PREPARSED_DATA PreparsedData); +BOOLEAN WINAPI HidD_GetAttributes(HANDLE HidDeviceObject, PHIDD_ATTRIBUTES Attr); +BOOLEAN WINAPI HidD_SetOutputReport(HANDLE HidDeviceObject, void *ReportBuffer, ULONG ReportBufferLength); + +#endif /* __WINE_HIDSDI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidtypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidtypes.h new file mode 100644 index 0000000..dfd1061 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/hidtypes.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2015 Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __HIDTYPES_H +#define __HIDTYPES_H + +typedef enum _HID_STRING_TYPE { + HID_STRING_INDEXED = 0, + HID_STRING_ID_IMANUFACTURER, + HID_STRING_ID_IPRODUCT, + HID_STRING_ID_ISERIALNUMBER, + HID_STRING_MAX +} HID_STRING_TYPE; + +#endif /* __HIDTYPES_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/imm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/imm.h new file mode 100644 index 0000000..bbbd70a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/imm.h @@ -0,0 +1,173 @@ +/* + * Copyright (C) 2007 CodeWeavers, Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _DDKIMM_H_ +#define _DDKIMM_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _tagINPUTCONTEXT { + HWND hWnd; + BOOL fOpen; + POINT ptStatusWndPos; + POINT ptSoftKbdPos; + DWORD fdwConversion; + DWORD fdwSentence; + union { + LOGFONTA A; + LOGFONTW W; + } lfFont; + COMPOSITIONFORM cfCompForm; + CANDIDATEFORM cfCandForm[4]; + HIMCC hCompStr; + HIMCC hCandInfo; + HIMCC hGuideLine; + HIMCC hPrivate; + DWORD dwNumMsgBuf; + HIMCC hMsgBuf; + DWORD fdwInit; + DWORD dwReserve[3]; +} INPUTCONTEXT, *LPINPUTCONTEXT; + +typedef struct _tagIMEINFO { + DWORD dwPrivateDataSize; + DWORD fdwProperty; + DWORD fdwConversionCaps; + DWORD fdwSentenceCaps; + DWORD fdwUICaps; + DWORD fdwSCSCaps; + DWORD fdwSelectCaps; +} IMEINFO, *LPIMEINFO; + +typedef struct tagCOMPOSITIONSTRING { + DWORD dwSize; + DWORD dwCompReadAttrLen; + DWORD dwCompReadAttrOffset; + DWORD dwCompReadClauseLen; + DWORD dwCompReadClauseOffset; + DWORD dwCompReadStrLen; + DWORD dwCompReadStrOffset; + DWORD dwCompAttrLen; + DWORD dwCompAttrOffset; + DWORD dwCompClauseLen; + DWORD dwCompClauseOffset; + DWORD dwCompStrLen; + DWORD dwCompStrOffset; + DWORD dwCursorPos; + DWORD dwDeltaStart; + DWORD dwResultReadClauseLen; + DWORD dwResultReadClauseOffset; + DWORD dwResultReadStrLen; + DWORD dwResultReadStrOffset; + DWORD dwResultClauseLen; + DWORD dwResultClauseOffset; + DWORD dwResultStrLen; + DWORD dwResultStrOffset; + DWORD dwPrivateSize; + DWORD dwPrivateOffset; +} COMPOSITIONSTRING, *LPCOMPOSITIONSTRING; + +typedef struct tagGUIDELINE { + DWORD dwSize; + DWORD dwLevel; + DWORD dwIndex; + DWORD dwStrLen; + DWORD dwStrOffset; + DWORD dwPrivateSize; + DWORD dwPrivateOffset; +} GUIDELINE, *LPGUIDELINE; + +typedef struct tagCANDIDATEINFO { + DWORD dwSize; + DWORD dwCount; + DWORD dwOffset[32]; + DWORD dwPrivateSize; + DWORD dwPrivateOffset; +} CANDIDATEINFO, *LPCANDIDATEINFO; + +LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC); +BOOL WINAPI ImmUnlockIMC(HIMC); +DWORD WINAPI ImmGetIMCLockCount(HIMC); +HIMCC WINAPI ImmCreateIMCC(DWORD); +HIMCC WINAPI ImmDestroyIMCC(HIMCC); +LPVOID WINAPI ImmLockIMCC(HIMCC); +BOOL WINAPI ImmUnlockIMCC(HIMCC); +DWORD WINAPI ImmGetIMCCLockCount(HIMCC); +HIMCC WINAPI ImmReSizeIMCC(HIMCC, DWORD); +DWORD WINAPI ImmGetIMCCSize(HIMCC); + +#define IMMGWL_IMC 0 +#define IMMGWL_PRIVATE (sizeof(LONG_PTR)) + +/* IME Property bits */ +#define IME_PROP_END_UNLOAD 0x0001 +#define IME_PROP_KBD_CHAR_FIRST 0x0002 +#define IME_PROP_IGNORE_UPKEYS 0x0004 +#define IME_PROP_NEED_ALTKEY 0x0008 +#define IME_PROP_NO_KEYS_ON_CLOSE 0x0010 + +/* for NI_CONTEXTUPDATED */ +#define IMC_SETCONVERSIONMODE 0x0002 +#define IMC_SETSENTENCEMODE 0x0004 +#define IMC_SETOPENSTATUS 0x0006 + +/* dwAction for ImmNotifyIME */ +#define NI_CONTEXTUPDATED 0x0003 +#define NI_OPENCANDIDATE 0x0010 +#define NI_CLOSECANDIDATE 0x0011 +#define NI_SELECTCANDIDATESTR 0x0012 +#define NI_CHANGECANDIDATELIST 0x0013 +#define NI_FINALIZECONVERSIONRESULT 0x0014 +#define NI_COMPOSITIONSTR 0x0015 +#define NI_SETCANDIDATE_PAGESTART 0x0016 +#define NI_SETCANDIDATE_PAGESIZE 0x0017 +#define NI_IMEMENUSELECTED 0x0018 + +BOOL WINAPI ImmGenerateMessage(HIMC); +LRESULT WINAPI ImmRequestMessageA(HIMC, WPARAM, LPARAM); +LRESULT WINAPI ImmRequestMessageW(HIMC, WPARAM, LPARAM); +#define ImmRequestMessage WINELIB_NAME_AW(ImmRequestMessage) +BOOL WINAPI ImmTranslateMessage(HWND, UINT, WPARAM, LPARAM); +HWND WINAPI ImmCreateSoftKeyboard(UINT, UINT, int, int); +BOOL WINAPI ImmDestroySoftKeyboard(HWND); +BOOL WINAPI ImmShowSoftKeyboard(HWND, int); + +BOOL WINAPI ImeInquire(LPIMEINFO, LPWSTR, LPCWSTR lpszOptions); +BOOL WINAPI ImeConfigure (HKL, HWND, DWORD, LPVOID); +DWORD WINAPI ImeConversionList(HIMC, LPCWSTR, LPCANDIDATELIST,DWORD,UINT); +BOOL WINAPI ImeDestroy(UINT); +LRESULT WINAPI ImeEscape(HIMC, UINT, LPVOID); +BOOL WINAPI ImeProcessKey(HIMC, UINT, LPARAM, const LPBYTE); +BOOL WINAPI ImeSelect(HIMC, BOOL); +BOOL WINAPI ImeSetActiveContext(HIMC, BOOL); +UINT WINAPI ImeToAsciiEx(UINT, UINT, const LPBYTE, LPDWORD, UINT, HIMC); +BOOL WINAPI NotifyIME(HIMC, DWORD, DWORD, DWORD); +BOOL WINAPI ImeRegisterWord(LPCWSTR, DWORD, LPCWSTR); +BOOL WINAPI ImeUnregisterWord(LPCWSTR, DWORD, LPCWSTR); +UINT WINAPI ImeGetRegisterWordStyle(UINT, LPSTYLEBUFW); +UINT WINAPI ImeEnumRegisterWord(REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID); +BOOL WINAPI ImeSetCompositionString(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD); +DWORD WINAPI ImeGetImeMenuItems(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* _DDKIMM_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/mountmgr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/mountmgr.h new file mode 100644 index 0000000..f0e836f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/mountmgr.h @@ -0,0 +1,142 @@ +/* + * Mount point manager definitions + * + * Copyright 2007 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _MOUNTMGR_ +#define _MOUNTMGR_ + +#define MOUNTMGRCONTROLTYPE ((ULONG)'m') +#define MOUNTDEVCONTROLTYPE ((ULONG)'M') + +#if defined(__GNUC__) +#define MOUNTMGR_DEVICE_NAME (const WCHAR []){'\\','D','e','v','i','c','e','\\','M','o','u','n','t','P','o','i','n','t','M','a','n','a','g','e','r',0} +#define MOUNTMGR_DOS_DEVICE_NAME (const WCHAR []){'\\','\\','.','\\','M','o','u','n','t','P','o','i','n','t','M','a','n','a','g','e','r',0} +#elif defined(_MSC_VER) +#define MOUNTMGR_DEVICE_NAME L"\\Device\\MountPointManager" +#define MOUNTMGR_DOS_DEVICE_NAME L"\\\\.\\MountPointManager" +#else +static const WCHAR MOUNTMGR_DEVICE_NAME[] = {'\\','D','e','v','i','c','e','\\','M','o','u','n','t','P','o','i','n','t','M','a','n','a','g','e','r',0}; +static const WCHAR MOUNTMGR_DOS_DEVICE_NAME[] = {'\\','\\','.','\\','M','o','u','n','t','P','o','i','n','t','M','a','n','a','g','e','r',0}; +#endif + + +#define IOCTL_MOUNTMGR_CREATE_POINT CTL_CODE(MOUNTMGRCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_DELETE_POINTS CTL_CODE(MOUNTMGRCONTROLTYPE, 1, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_QUERY_POINTS CTL_CODE(MOUNTMGRCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY CTL_CODE(MOUNTMGRCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER CTL_CODE(MOUNTMGRCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS CTL_CODE(MOUNTMGRCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED CTL_CODE(MOUNTMGRCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED CTL_CODE(MOUNTMGRCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_CHANGE_NOTIFY CTL_CODE(MOUNTMGRCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE CTL_CODE(MOUNTMGRCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES CTL_CODE(MOUNTMGRCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION CTL_CODE(MOUNTMGRCONTROLTYPE, 11, METHOD_BUFFERED, FILE_READ_ACCESS) + +/* Wine extensions */ +#ifdef WINE_MOUNTMGR_EXTENSIONS + +#define IOCTL_MOUNTMGR_DEFINE_UNIX_DRIVE CTL_CODE(MOUNTMGRCONTROLTYPE, 32, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE CTL_CODE(MOUNTMGRCONTROLTYPE, 33, METHOD_BUFFERED, FILE_READ_ACCESS) + +struct mountmgr_unix_drive +{ + ULONG size; + ULONG type; + WCHAR letter; + USHORT mount_point_offset; + USHORT device_offset; +}; + +#endif + +typedef struct _MOUNTMGR_CREATE_POINT_INPUT +{ + USHORT SymbolicLinkNameOffset; + USHORT SymbolicLinkNameLength; + USHORT DeviceNameOffset; + USHORT DeviceNameLength; +} MOUNTMGR_CREATE_POINT_INPUT, *PMOUNTMGR_CREATE_POINT_INPUT; + +typedef struct _MOUNTMGR_MOUNT_POINT +{ + ULONG SymbolicLinkNameOffset; + USHORT SymbolicLinkNameLength; + ULONG UniqueIdOffset; + USHORT UniqueIdLength; + ULONG DeviceNameOffset; + USHORT DeviceNameLength; +} MOUNTMGR_MOUNT_POINT, *PMOUNTMGR_MOUNT_POINT; + +typedef struct _MOUNTMGR_MOUNT_POINTS +{ + ULONG Size; + ULONG NumberOfMountPoints; + MOUNTMGR_MOUNT_POINT MountPoints[1]; +} MOUNTMGR_MOUNT_POINTS, *PMOUNTMGR_MOUNT_POINTS; + +typedef struct _MOUNTMGR_DRIVE_LETTER_TARGET +{ + USHORT DeviceNameLength; + WCHAR DeviceName[1]; +} MOUNTMGR_DRIVE_LETTER_TARGET, *PMOUNTMGR_DRIVE_LETTER_TARGET; + +typedef struct _MOUNTMGR_DRIVE_LETTER_INFORMATION +{ + BOOLEAN DriveLetterWasAssigned; + UCHAR CurrentDriveLetter; +} MOUNTMGR_DRIVE_LETTER_INFORMATION, *PMOUNTMGR_DRIVE_LETTER_INFORMATION; + +typedef struct _MOUNTMGR_VOLUME_MOUNT_POINT +{ + USHORT SourceVolumeNameOffset; + USHORT SourceVolumeNameLength; + USHORT TargetVolumeNameOffset; + USHORT TargetVolumeNameLength; +} MOUNTMGR_VOLUME_MOUNT_POINT, *PMOUNTMGR_VOLUME_MOUNT_POINT; + +typedef struct _MOUNTMGR_CHANGE_NOTIFY_INFO +{ + ULONG EpicNumber; +} MOUNTMGR_CHANGE_NOTIFY_INFO, *PMOUNTMGR_CHANGE_NOTIFY_INFO; + +typedef struct _MOUNTMGR_TARGET_NAME +{ + USHORT DeviceNameLength; + WCHAR DeviceName[1]; +} MOUNTMGR_TARGET_NAME, *PMOUNTMGR_TARGET_NAME; + +#define MOUNTMGR_IS_DRIVE_LETTER(s) \ + ((s)->Length == 28 && \ + (s)->Buffer[0] == '\\' && (s)->Buffer[1] == 'D' && (s)->Buffer[2] == 'o' && \ + (s)->Buffer[3] == 's' && (s)->Buffer[4] == 'D' && (s)->Buffer[5] == 'e' && \ + (s)->Buffer[6] == 'v' && (s)->Buffer[7] == 'i' && (s)->Buffer[8] == 'c' && \ + (s)->Buffer[9] == 'e' && (s)->Buffer[10] == 's' && (s)->Buffer[11] == '\\' && \ + (s)->Buffer[12] >= 'A' && (s)->Buffer[12] <= 'Z' && (s)->Buffer[13] == ':') + +#define MOUNTMGR_IS_VOLUME_NAME(s) \ + (((s)->Length == 96 || ((s)->Length == 98 && (s)->Buffer[48] == '\\')) && \ + (s)->Buffer[0] == '\\' && ((s)->Buffer[1] == '?' || (s)->Buffer[1] == '\\') && \ + (s)->Buffer[2] == '?' && (s)->Buffer[3] == '\\' && (s)->Buffer[4] == 'V' && \ + (s)->Buffer[5] == 'o' && (s)->Buffer[6] == 'l' && (s)->Buffer[7] == 'u' && \ + (s)->Buffer[8] == 'm' && (s)->Buffer[9] == 'e' && (s)->Buffer[10] == '{' && \ + (s)->Buffer[19] == '-' && (s)->Buffer[24] == '-' && (s)->Buffer[29] == '-' && \ + (s)->Buffer[34] == '-' && (s)->Buffer[47] == '}') + +#endif /* _MOUNTMGR_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ndis.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ndis.h new file mode 100644 index 0000000..a4b0e54 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ndis.h @@ -0,0 +1,219 @@ +/* + * ndis.h + * + * Copyright 2015 Austin English + * Copyright 2016 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _NDIS_ +#define _NDIS_ + +typedef ULONG NDIS_AF, *PNDIS_AF; +typedef MDL NDIS_BUFFER, *PNDIS_BUFFER; +typedef void *NDIS_HANDLE, *PNDIS_HANDLE, *PNDIS_PACKET_POOL; +typedef ULONG NDIS_OID, *PNDIS_OID; +typedef int NDIS_STATUS, *PNDIS_STATUS; +typedef UNICODE_STRING NDIS_STRING, *PNDIS_STRING; + +typedef enum _NDIS_REQUEST_TYPE +{ + NdisRequestQueryInformation, + NdisRequestSetInformation, + NdisRequestQueryStatistics, + NdisRequestOpen, + NdisRequestClose, + NdisRequestSend, + NdisRequestTransferData, + NdisRequestReset, + NdisRequestGeneric1, + NdisRequestGeneric2, + NdisRequestGeneric3, + NdisRequestGeneric4, + NdisRequestMethod, +} NDIS_REQUEST_TYPE, *PNDIS_REQUEST_TYPE; + +typedef enum _NET_PNP_EVENT_CODE +{ + NetEventSetPower, + NetEventQueryPower, + NetEventQueryRemoveDevice, + NetEventCancelRemoveDevice, + NetEventReconfigure, + NetEventBindList, + NetEventBindsComplete, + NetEventPnPCapabilities, + NetEventPause, + NetEventRestart, + NetEventPortActivation, + NetEventPortDeactivation, + NetEventIMReEnableDevice, + NetEventMaximum, +} NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE; + + +typedef struct _NET_PNP_EVENT +{ + NET_PNP_EVENT_CODE NetEvent; + PVOID Buffer; + ULONG BufferLength; + ULONG_PTR NdisReserved[4]; + ULONG_PTR TransportReserved[4]; + ULONG_PTR TdiReserved[4]; + ULONG_PTR TdiClientReserved[4]; +} NET_PNP_EVENT, *PNET_PNP_EVENT; + +typedef struct _NDIS_PACKET_PRIVATE +{ + UINT PhysicalCount; + UINT TotalLength; + PNDIS_BUFFER Head; + PNDIS_BUFFER Tail; + PNDIS_PACKET_POOL Pool; + UINT Count; + ULONG Flags; + BOOLEAN ValidCounts; + UCHAR NdisPacketFlags; + USHORT NdisPacketOobOffset; +} NDIS_PACKET_PRIVATE, *PNDIS_PACKET_PRIVATE; + +typedef struct _NDIS_PACKET +{ + NDIS_PACKET_PRIVATE Private; + union + { + struct + { + UCHAR MiniportReserved[2 * sizeof(void*)]; + UCHAR WrapperReserved[2 * sizeof(void*)]; + } DUMMYSTRUCTNAME; + struct + { + UCHAR MiniportReservedEx[3 * sizeof(void*)]; + UCHAR WrapperReservedEx[sizeof(void*)]; + } DUMMYSTRUCTNAME1; + struct + { + UCHAR MacReserved[4 * sizeof(void*)]; + } DUMMYSTRUCTNAME2; + } DUMMYUNIONNAME; + ULONG_PTR Reserved[2]; + UCHAR ProtocolReserved[1]; +} NDIS_PACKET, *PNDIS_PACKET, **PPNDIS_PACKET; + +typedef struct _NDIS_SPIN_LOCK +{ + KSPIN_LOCK SpinLock; + KIRQL OldIrql; +} NDIS_SPIN_LOCK, *PNDIS_SPIN_LOCK; + + +typedef struct _NDIS_REQUEST +{ + UCHAR MacReserved[4 * sizeof(void*)]; + NDIS_REQUEST_TYPE RequestType; + union _DATA + { + struct QUERY_INFORMATION + { + NDIS_OID Oid; + PVOID InformationBuffer; + UINT InformationBufferLength; + UINT BytesWritten; + UINT BytesNeeded; + } QUERY_INFORMATION; + struct SET_INFORMATION + { + NDIS_OID Oid; + PVOID InformationBuffer; + UINT InformationBufferLength; + UINT BytesRead; + UINT BytesNeeded; + } SET_INFORMATION; + } DATA; + UCHAR NdisReserved[9 * sizeof(void*)]; + union + { + UCHAR CallMgrReserved[2 * sizeof(void*)]; + UCHAR ProtocolReserved[2 * sizeof(void*)]; + } DUMMYUNIONNAME; + UCHAR MiniportReserved[2 * sizeof(void*)]; +} NDIS_REQUEST, *PNDIS_REQUEST; + +typedef struct _CO_ADDRESS_FAMILY +{ + NDIS_AF AddressFamily; + ULONG MajorVersion; + ULONG MinorVersion; +} CO_ADDRESS_FAMILY, *PCO_ADDRESS_FAMILY; + + +typedef void (NTAPI *CO_AF_REGISTER_NOTIFY_HANDLER)(NDIS_HANDLE, PCO_ADDRESS_FAMILY); +typedef void (NTAPI *CO_SEND_COMPLETE_HANDLER)(NDIS_STATUS, NDIS_HANDLE, PNDIS_PACKET); +typedef void (NTAPI *CO_STATUS_HANDLER)(NDIS_HANDLE, NDIS_HANDLE, NDIS_STATUS, PVOID, UINT); +typedef UINT (NTAPI *CO_RECEIVE_PACKET_HANDLER)(NDIS_HANDLE, NDIS_HANDLE, PNDIS_PACKET); +typedef void (NTAPI *OPEN_ADAPTER_COMPLETE_HANDLER)(NDIS_HANDLE, NDIS_STATUS, NDIS_STATUS); +typedef void (NTAPI *CLOSE_ADAPTER_COMPLETE_HANDLER)(NDIS_HANDLE, NDIS_STATUS); +typedef void (NTAPI *RESET_COMPLETE_HANDLER)(NDIS_HANDLE, NDIS_STATUS); +typedef void (NTAPI *REQUEST_COMPLETE_HANDLER)(NDIS_HANDLE, PNDIS_REQUEST, NDIS_STATUS); +typedef void (NTAPI *STATUS_HANDLER)(NDIS_HANDLE, NDIS_STATUS, PVOID, UINT); +typedef void (NTAPI *STATUS_COMPLETE_HANDLER)(NDIS_HANDLE); +typedef void (NTAPI *SEND_COMPLETE_HANDLER)(NDIS_HANDLE, PNDIS_PACKET, NDIS_STATUS); +typedef void (NTAPI *TRANSFER_DATA_COMPLETE_HANDLER)(NDIS_HANDLE, PNDIS_PACKET, NDIS_STATUS, UINT); +typedef NDIS_STATUS (NTAPI *RECEIVE_HANDLER)(NDIS_HANDLE, NDIS_HANDLE, PVOID, UINT, PVOID, UINT, UINT); +typedef void (NTAPI *RECEIVE_COMPLETE_HANDLER)(NDIS_HANDLE); +typedef INT (NTAPI *RECEIVE_PACKET_HANDLER)(NDIS_HANDLE, PNDIS_PACKET); +typedef void (NTAPI *BIND_HANDLER)(PNDIS_STATUS, NDIS_HANDLE, PNDIS_STRING, PVOID, PVOID); +typedef void (NTAPI *UNBIND_HANDLER)(PNDIS_STATUS, NDIS_HANDLE, NDIS_HANDLE); +typedef NDIS_STATUS (NTAPI *PNP_EVENT_HANDLER)(NDIS_HANDLE, PNET_PNP_EVENT); +typedef void (NTAPI *UNLOAD_PROTOCOL_HANDLER)(void); + + +typedef struct _NDIS_PROTOCOL_CHARACTERISTICS +{ + UCHAR MajorNdisVersion; + UCHAR MinorNdisVersion; + USHORT Filler; + UINT Reserved; + OPEN_ADAPTER_COMPLETE_HANDLER OpenAdapterCompleteHandler; + CLOSE_ADAPTER_COMPLETE_HANDLER CloseAdapterCompleteHandler; + SEND_COMPLETE_HANDLER SendCompleteHandler; + TRANSFER_DATA_COMPLETE_HANDLER TransferDataCompleteHandler; + RESET_COMPLETE_HANDLER ResetCompleteHandler; + REQUEST_COMPLETE_HANDLER RequestCompleteHandler; + RECEIVE_HANDLER ReceiveHandler; + RECEIVE_COMPLETE_HANDLER ReceiveCompleteHandler; + STATUS_HANDLER StatusHandler; + STATUS_COMPLETE_HANDLER StatusCompleteHandler; + NDIS_STRING Name; + RECEIVE_PACKET_HANDLER ReceivePacketHandler; + BIND_HANDLER BindAdapterHandler; + UNBIND_HANDLER UnbindAdapterHandler; + PNP_EVENT_HANDLER PnPEventHandler; + UNLOAD_PROTOCOL_HANDLER UnloadHandler; + CO_SEND_COMPLETE_HANDLER CoSendCompleteHandler; + CO_STATUS_HANDLER CoStatusHandler; + CO_RECEIVE_PACKET_HANDLER CoReceivePacketHandler; + CO_AF_REGISTER_NOTIFY_HANDLER CoAfRegisterNotifyHandler; +} NDIS_PROTOCOL_CHARACTERISTICS, *PNDIS_PROTOCOL_CHARACTERISTICS; + +#define NDIS_STATUS_FAILURE ((NDIS_STATUS) STATUS_UNSUCCESSFUL) + +NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **, UINT, ULONG); +void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *); +void WINAPI NdisRegisterProtocol(NDIS_STATUS *, NDIS_HANDLE *, NDIS_PROTOCOL_CHARACTERISTICS *, UINT); +CCHAR WINAPI NdisSystemProcessorCount(void); + +#endif /* _NDIS_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddcdvd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddcdvd.h new file mode 100644 index 0000000..f6ce77b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddcdvd.h @@ -0,0 +1,198 @@ +/* + * DDK information for DVD + * + * Copyright (C) 2004 Uwe Bonnes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __NTDDCDVD_H +#define __NTDDCDVD_H + +/* definitions taken from libdvdcss, modified to reflect Windows names and data types in places */ + +#define IOCTL_DVD_BASE FILE_DEVICE_DVD + +#define IOCTL_DVD_START_SESSION CTL_CODE(IOCTL_DVD_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_READ_KEY CTL_CODE(IOCTL_DVD_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_SEND_KEY CTL_CODE(IOCTL_DVD_BASE, 0x0402, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_END_SESSION CTL_CODE(IOCTL_DVD_BASE, 0x0403, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_SET_READ_AHEAD CTL_CODE(IOCTL_DVD_BASE, 0x0404, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_GET_REGION CTL_CODE(IOCTL_DVD_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_SEND_KEY2 CTL_CODE(IOCTL_DVD_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + +#define IOCTL_DVD_READ_STRUCTURE CTL_CODE(IOCTL_DVD_BASE, 0x0450, METHOD_BUFFERED, FILE_READ_ACCESS) + +typedef enum { + DvdChallengeKey = 0x01, + DvdBusKey1, + DvdBusKey2, + DvdTitleKey, + DvdAsf, + DvdSetRpcKey = 0x6, + DvdGetRpcKey = 0x8, + DvdDiskKey = 0x80, + DvdInvalidateAGID = 0x3f +} DVD_KEY_TYPE; + +typedef ULONG DVD_SESSION_ID, *PDVD_SESSION_ID; + +#include + +typedef struct _DVD_COPY_PROTECT_KEY { + ULONG KeyLength; + DVD_SESSION_ID SessionId; + DVD_KEY_TYPE KeyType; + ULONG KeyFlags; + union { + struct { + ULONG FileHandle; + ULONG Reserved; /* used for NT alignment */ + } s; + LARGE_INTEGER TitleOffset; + } Parameters; + UCHAR KeyData[1]; +} DVD_COPY_PROTECT_KEY, *PDVD_COPY_PROTECT_KEY; + +typedef struct _DVD_RPC_KEY { + UCHAR UserResetsAvailable:3; + UCHAR ManufacturerResetsAvailable:3; + UCHAR TypeCode:2; + UCHAR RegionMask; + UCHAR RpcScheme; + UCHAR Reserved2[1]; +} DVD_RPC_KEY, * PDVD_RPC_KEY; + +typedef struct _DVD_ASF { + UCHAR Reserved0[3]; + UCHAR SuccessFlag:1; + UCHAR Reserved1:7; +} DVD_ASF, * PDVD_ASF; + +typedef struct _DVD_REGION +{ + UCHAR CopySystem; + UCHAR RegionData; /* current media region (not playable when set) */ + UCHAR SystemRegion; /* current drive region (playable when set) */ + UCHAR ResetCount; /* number of resets available */ +} DVD_REGION, * PDVD_REGION; + +typedef enum _DVD_STRUCTURE_FORMAT +{ + DvdPhysicalDescriptor, + DvdCopyrightDescriptor, + DvdDiskKeyDescriptor, + DvdBCADescriptor, + DvdManufacturerDescriptor, + DvdMaxDescriptor +} DVD_STRUCTURE_FORMAT, *PDVD_STRUCTURE_FORMAT; + +typedef struct DVD_READ_STRUCTURE { + /* Contains an offset to the logical block address of the descriptor to be retrieved. */ + LARGE_INTEGER BlockByteOffset; + + /* 0:Physical descriptor, 1:Copyright descriptor, 2:Disk key descriptor + 3:BCA descriptor, 4:Manufacturer descriptor, 5:Max descriptor + */ + DVD_STRUCTURE_FORMAT Format; + + /* Session ID, that is obtained by IOCTL_DVD_START_SESSION */ + DVD_SESSION_ID SessionId; + + /* From 0 to 4 */ + UCHAR LayerNumber; +} DVD_READ_STRUCTURE, *PDVD_READ_STRUCTURE; + +typedef struct _DVD_DESCRIPTOR_HEADER { + USHORT Length; + UCHAR Reserved[2]; +} DVD_DESCRIPTOR_HEADER, *PDVD_DESCRIPTOR_HEADER; +C_ASSERT(sizeof(DVD_DESCRIPTOR_HEADER) == 4); + +typedef struct _DVD_LAYER_DESCRIPTOR +{ + UCHAR BookVersion : 4; + + /* 0:DVD-ROM, 1:DVD-RAM, 2:DVD-R, 3:DVD-RW, 9:DVD-RW */ + UCHAR BookType : 4; + + UCHAR MinimumRate : 4; + + /* The physical size of the media. 0:120 mm, 1:80 mm. */ + UCHAR DiskSize : 4; + + /* 1:Read-only layer, 2:Recordable layer, 4:Rewritable layer */ + UCHAR LayerType : 4; + + /* 0:parallel track path, 1:opposite track path */ + UCHAR TrackPath : 1; + + /* 0:one layers, 1:two layers, and so on */ + UCHAR NumberOfLayers : 2; + + UCHAR Reserved1 : 1; + + /* 0:0.74 µm/track, 1:0.80 µm/track, 2:0.615 µm/track */ + UCHAR TrackDensity : 4; + + /* 0:0.267 µm/bit, 1:0.293 µm/bit, 2:0.409 to 0.435 µm/bit, 4:0.280 to 0.291 µm/bit, 8:0.353 µm/bit */ + UCHAR LinearDensity : 4; + + /* Must be either 0x30000:DVD-ROM or DVD-R/-RW or 0x31000:DVD-RAM or DVD+RW */ + ULONG StartingDataSector; + + ULONG EndDataSector; + ULONG EndLayerZeroSector; + UCHAR Reserved5 : 7; + + /* 0 indicates no BCA data */ + UCHAR BCAFlag : 1; +}DVD_LAYER_DESCRIPTOR, * PDVD_LAYER_DESCRIPTOR; +C_ASSERT(sizeof(DVD_LAYER_DESCRIPTOR) == 17); + +typedef struct _DVD_COPYRIGHT_DESCRIPTOR +{ + UCHAR CopyrightProtectionType; + UCHAR RegionManagementInformation; + USHORT Reserved; +}DVD_COPYRIGHT_DESCRIPTOR, * PDVD_COPYRIGHT_DESCRIPTOR; + +typedef struct _DVD_DISK_KEY_DESCRIPTOR +{ + UCHAR DiskKeyData[2048]; +}DVD_DISK_KEY_DESCRIPTOR, * PDVD_DISK_KEY_DESCRIPTOR; + +typedef struct _DVD_BCA_DESCRIPTOR +{ + UCHAR BCAInformation[1]; +}DVD_BCA_DESCRIPTOR, * PDVD_BCA_DESCRIPTOR; + +typedef struct _DVD_MANUFACTURER_DESCRIPTOR +{ + UCHAR ManufacturingInformation[2048]; +}DVD_MANUFACTURER_DESCRIPTOR, * PDVD_MANUFACTURER_DESCRIPTOR; + +#define DVD_CHALLENGE_KEY_LENGTH (12 + sizeof(DVD_COPY_PROTECT_KEY) - sizeof(UCHAR)) + +#define DVD_DISK_KEY_LENGTH (2048 + sizeof(DVD_COPY_PROTECT_KEY) - sizeof(UCHAR)) + +#define DVD_KEY_SIZE 5 +#define DVD_CHALLENGE_SIZE 10 +#define DVD_DISCKEY_SIZE 2048 +#define DVD_SECTOR_PROTECTED 0x00000020 + +#include + +#endif /* __NTDDCDVD_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddk.h new file mode 100644 index 0000000..6aae257 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddk.h @@ -0,0 +1,203 @@ +/* + * Copyright 2008 Francois Gouget for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDDK_ +#define _NTDDK_ + +/* Note: We will probably have to duplicate everything ultimately :-( */ +#include + +#include +/* FIXME: #include */ +#include +/* FIXME: #include */ +/* FIXME: #include */ + + +typedef enum _BUS_DATA_TYPE +{ + ConfigurationSpaceUndefined = -1, + Cmos, + EisaConfiguration, + Pos, + CbusConfiguration, + PCIConfiguration, + VMEConfiguration, + NuBusConfiguration, + PCMCIAConfiguration, + MPIConfiguration, + MPSAConfiguration, + PNPISAConfiguration, + MaximumBusDataType +} BUS_DATA_TYPE, *PBUS_DATA_TYPE; + +typedef struct _CONFIGURATION_INFORMATION +{ + ULONG DiskCount; + ULONG FloppyCount; + ULONG CdRomCount; + ULONG TapeCount; + ULONG ScsiPortCount; + ULONG SerialCount; + ULONG ParallelCount; + BOOLEAN AtDiskPrimaryAddressClaimed; + BOOLEAN AtDiskSecondaryAddressClaimed; + ULONG Version; + ULONG MediumChangerCount; +} CONFIGURATION_INFORMATION, *PCONFIGURATION_INFORMATION; + +typedef enum _CONFIGURATION_TYPE +{ + ArcSystem = 0, + CentralProcessor, + FloatingPointProcessor, + PrimaryIcache, + PrimaryDcache, + SecondaryIcache, + SecondaryDcache, + SecondaryCache, + EisaAdapter, + TcAdapter, + ScsiAdapter, + DtiAdapter, + MultiFunctionAdapter, + DiskController, + TapeController, + CdromController, + WormController, + SerialController, + NetworkController, + DisplayController, + ParallelController, + PointerController, + KeyboardController, + AudioController, + OtherController, + DiskPeripheral, + FloppyDiskPeripheral, + TapePeripheral, + ModemPeripheral, + MonitorPeripheral, + PrinterPeripheral, + PointerPeripheral, + KeyboardPeripheral, + TerminalPeripheral, + OtherPeripheral, + LinePeripheral, + NetworkPeripheral, + SystemMemory, + DockingInformation, + RealModeIrqRoutingTable, + RealModePCIEnumeration, + MaximunType +} CONFIGURATION_TYPE, *PCONFIGURATION_TYPE; + +typedef struct _IMAGE_INFO +{ + union + { + ULONG Properties; + struct + { + ULONG ImageAddressingMode : 8; + ULONG SystemModeImage : 1; + ULONG ImageMappedToAllPids : 1; + ULONG ExtendedInfoPresent : 1; + ULONG Reserved : 21; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + PVOID ImageBase; + ULONG ImageSelector; + SIZE_T ImageSize; + ULONG ImageSectionNumber; +} IMAGE_INFO, *PIMAGE_INFO; + +typedef enum _IO_NOTIFICATION_EVENT_CATEGORY +{ + EventCategoryReserved, + EventCategoryHardwareProfileChange, + EventCategoryDeviceInterfaceChange, + EventCategoryTargetDeviceChange +} IO_NOTIFICATION_EVENT_CATEGORY; + +typedef struct _FILE_VALID_DATA_LENGTH_INFORMATION +{ + LARGE_INTEGER ValidDataLength; +} FILE_VALID_DATA_LENGTH_INFORMATION, *PFILE_VALID_DATA_LENGTH_INFORMATION; + +typedef struct _KWAIT_BLOCK { + LIST_ENTRY WaitListEntry; + struct _KTHREAD *RESTRICTED_POINTER Thread; + PVOID Object; + struct _KWAIT_BLOCK *RESTRICTED_POINTER NextWaitBlock; + USHORT WaitKey; + USHORT WaitType; +} KWAIT_BLOCK, *PKWAIT_BLOCK, *RESTRICTED_POINTER PRKWAIT_BLOCK; + +typedef struct _RTL_BALANCED_LINKS { + struct _RTL_BALANCED_LINKS *Parent; + struct _RTL_BALANCED_LINKS *LeftChild; + struct _RTL_BALANCED_LINKS *RightChild; + CHAR Balance; + UCHAR Reserved[3]; +} RTL_BALANCED_LINKS; +typedef RTL_BALANCED_LINKS *PRTL_BALANCED_LINKS; + +struct _RTL_AVL_TABLE; + +typedef enum _RTL_GENERIC_COMPARE_RESULTS { + GenericLessThan, + GenericGreaterThan, + GenericEqual +} RTL_GENERIC_COMPARE_RESULTS; + +typedef RTL_GENERIC_COMPARE_RESULTS (WINAPI *PRTL_AVL_COMPARE_ROUTINE)(struct _RTL_AVL_TABLE *, void *, void *); + +typedef void (WINAPI *PRTL_AVL_ALLOCATE_ROUTINE)(struct _RTL_AVL_TABLE *, LONG); + +typedef void (WINAPI *PRTL_AVL_FREE_ROUTINE )(struct _RTL_AVL_TABLE *, void *buffer); + +typedef struct _RTL_AVL_TABLE { + RTL_BALANCED_LINKS BalancedRoot; + void *OrderedPointer; + ULONG WhichOrderedElement; + ULONG NumberGenericTableElements; + ULONG DepthOfTree; + PRTL_BALANCED_LINKS RestartKey; + ULONG DeleteCount; + PRTL_AVL_COMPARE_ROUTINE CompareRoutine; + PRTL_AVL_ALLOCATE_ROUTINE AllocateRoutine; + PRTL_AVL_FREE_ROUTINE FreeRoutine; + void *TableContext; +} RTL_AVL_TABLE, *PRTL_AVL_TABLE; + +typedef VOID (WINAPI *PDRIVER_NOTIFICATION_CALLBACK_ROUTINE)(PVOID,PVOID); +typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG); +typedef VOID (WINAPI *PLOAD_IMAGE_NOTIFY_ROUTINE)(PUNICODE_STRING,HANDLE,PIMAGE_INFO); +typedef NTSTATUS (WINAPI *PIO_QUERY_DEVICE_ROUTINE)(PVOID,PUNICODE_STRING,INTERFACE_TYPE,ULONG, + PKEY_VALUE_FULL_INFORMATION*,CONFIGURATION_TYPE,ULONG,PKEY_VALUE_FULL_INFORMATION*); + +NTSTATUS WINAPI IoQueryDeviceDescription(PINTERFACE_TYPE,PULONG,PCONFIGURATION_TYPE,PULONG, + PCONFIGURATION_TYPE,PULONG,PIO_QUERY_DEVICE_ROUTINE,PVOID); +void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID); +NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT); +NTSTATUS WINAPI PsSetLoadImageNotifyRoutine(PLOAD_IMAGE_NOTIFY_ROUTINE); +void WINAPI RtlInitializeGenericTableAvl(PRTL_AVL_TABLE,PRTL_AVL_COMPARE_ROUTINE,PRTL_AVL_ALLOCATE_ROUTINE, PRTL_AVL_FREE_ROUTINE,void *); +void WINAPI RtlInsertElementGenericTableAvl(PRTL_AVL_TABLE,void *,ULONG,BOOL*); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddser.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddser.h new file mode 100644 index 0000000..0958df8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddser.h @@ -0,0 +1,398 @@ +/* + * DDK definitions for serial port + * + * Copyright (C) 2006 Eric Pouech + * From w32api package + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDDSER_H_ +#define _NTDDSER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define IOCTL_SERIAL_CLEAR_STATS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 36, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_CLR_DTR \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 10, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_CLR_RTS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 13, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_CONFIG_SIZE \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 32, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_BAUD_RATE \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 20, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_CHARS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 22, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_COMMSTATUS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 27, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_DTRRTS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 30, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_HANDFLOW \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 24, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_LINE_CONTROL \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 21, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_MODEM_CONTROL \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 37, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_MODEMSTATUS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 26, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_PROPERTIES \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 29, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_STATS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 35, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_TIMEOUTS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 8, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_GET_WAIT_MASK \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 16, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_IMMEDIATE_CHAR \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 6, METHOD_BUFFERED, FILE_ANY_ACCESS) +#ifndef IOCTL_SERIAL_LSRMST_INSERT +/* it's already defined in winioctl.h */ +#define IOCTL_SERIAL_LSRMST_INSERT \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 31, METHOD_BUFFERED, FILE_ANY_ACCESS) +#endif +#define IOCTL_SERIAL_PURGE \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 19, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_RESET_DEVICE \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 11, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_BAUD_RATE \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_BREAK_ON \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_BREAK_OFF \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 5, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_CHARS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 23, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_DTR \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 9, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_FIFO_CONTROL \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 39, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_HANDFLOW \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 25, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_LINE_CONTROL \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 3, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_MODEM_CONTROL \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 38, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_QUEUE_SIZE \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_RTS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 12, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_TIMEOUTS \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 7, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_WAIT_MASK \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 17, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_XOFF \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 14, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_SET_XON \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 15, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_WAIT_ON_MASK \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 18, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERIAL_XOFF_COUNTER \ + CTL_CODE (FILE_DEVICE_SERIAL_PORT, 28, METHOD_BUFFERED, FILE_ANY_ACCESS) + +typedef struct _SERIAL_BAUD_RATE +{ + ULONG BaudRate; +} SERIAL_BAUD_RATE, *PSERIAL_BAUD_RATE; + +/* SERIAL_BAUD_RATE.BaudRate constants */ +#define SERIAL_BAUD_075 0x00000001 +#define SERIAL_BAUD_110 0x00000002 +#define SERIAL_BAUD_134_5 0x00000004 +#define SERIAL_BAUD_150 0x00000008 +#define SERIAL_BAUD_300 0x00000010 +#define SERIAL_BAUD_600 0x00000020 +#define SERIAL_BAUD_1200 0x00000040 +#define SERIAL_BAUD_1800 0x00000080 +#define SERIAL_BAUD_2400 0x00000100 +#define SERIAL_BAUD_4800 0x00000200 +#define SERIAL_BAUD_7200 0x00000400 +#define SERIAL_BAUD_9600 0x00000800 +#define SERIAL_BAUD_14400 0x00001000 +#define SERIAL_BAUD_19200 0x00002000 +#define SERIAL_BAUD_38400 0x00004000 +#define SERIAL_BAUD_56K 0x00008000 +#define SERIAL_BAUD_128K 0x00010000 +#define SERIAL_BAUD_115200 0x00020000 +#define SERIAL_BAUD_57600 0x00040000 +#define SERIAL_BAUD_USER 0x10000000 + +typedef struct _SERIAL_CHARS +{ + UCHAR EofChar; + UCHAR ErrorChar; + UCHAR BreakChar; + UCHAR EventChar; + UCHAR XonChar; + UCHAR XoffChar; +} SERIAL_CHARS, *PSERIAL_CHARS; + +typedef struct _SERIAL_STATUS +{ + ULONG Errors; + ULONG HoldReasons; + ULONG AmountInInQueue; + ULONG AmountInOutQueue; + BOOLEAN EofReceived; + BOOLEAN WaitForImmediate; +} SERIAL_STATUS, *PSERIAL_STATUS; + +typedef struct _SERIAL_HANDFLOW +{ + ULONG ControlHandShake; + ULONG FlowReplace; + LONG XonLimit; + LONG XoffLimit; +} SERIAL_HANDFLOW, *PSERIAL_HANDFLOW; + +#define SERIAL_DTR_MASK 0x00000003 +#define SERIAL_DTR_CONTROL 0x00000001 +#define SERIAL_DTR_HANDSHAKE 0x00000002 +#define SERIAL_CTS_HANDSHAKE 0x00000008 +#define SERIAL_DSR_HANDSHAKE 0x00000010 +#define SERIAL_DCD_HANDSHAKE 0x00000020 +#define SERIAL_OUT_HANDSHAKEMASK 0x00000038 +#define SERIAL_DSR_SENSITIVITY 0x00000040 +#define SERIAL_ERROR_ABORT 0x80000000 +#define SERIAL_CONTROL_INVALID 0x7fffff84 +#define SERIAL_AUTO_TRANSMIT 0x00000001 +#define SERIAL_AUTO_RECEIVE 0x00000002 +#define SERIAL_ERROR_CHAR 0x00000004 +#define SERIAL_NULL_STRIPPING 0x00000008 +#define SERIAL_BREAK_CHAR 0x00000010 +#define SERIAL_RTS_MASK 0x000000c0 +#define SERIAL_RTS_CONTROL 0x00000040 +#define SERIAL_RTS_HANDSHAKE 0x00000080 +#define SERIAL_TRANSMIT_TOGGLE 0x000000c0 +#define SERIAL_XOFF_CONTINUE 0x80000000 +#define SERIAL_FLOW_INVALID 0x7fffff20 + +typedef struct _SERIAL_LINE_CONTROL +{ + UCHAR StopBits; + UCHAR Parity; + UCHAR WordLength; +} SERIAL_LINE_CONTROL, *PSERIAL_LINE_CONTROL; + +/* SERIAL_LINE_CONTROL.StopBits constants */ +#define STOP_BIT_1 0x00 +#define STOP_BITS_1_5 0x01 +#define STOP_BITS_2 0x02 + +/* SERIAL_LINE_CONTROL.Parity constants */ +#define NO_PARITY 0x00 +#define ODD_PARITY 0x01 +#define EVEN_PARITY 0x02 +#define MARK_PARITY 0x03 +#define SPACE_PARITY 0x04 + +/* IOCTL_SERIAL_(GET_MODEM_CONTROL, SET_MODEM_CONTROL) flags */ +#define SERIAL_IOC_MCR_DTR 0x00000001 +#define SERIAL_IOC_MCR_RTS 0x00000002 +#define SERIAL_IOC_MCR_OUT1 0x00000004 +#define SERIAL_IOC_MCR_OUT2 0x00000008 +#define SERIAL_IOC_MCR_LOOP 0x00000010 + +typedef struct _SERIAL_COMMPROP +{ + USHORT PacketLength; + USHORT PacketVersion; + ULONG ServiceMask; + ULONG Reserved1; + ULONG MaxTxQueue; + ULONG MaxRxQueue; + ULONG MaxBaud; + ULONG ProvSubType; + ULONG ProvCapabilities; + ULONG SettableParams; + ULONG SettableBaud; + USHORT SettableData; + USHORT SettableStopParity; + ULONG CurrentTxQueue; + ULONG CurrentRxQueue; + ULONG ProvSpec1; + ULONG ProvSpec2; + WCHAR ProvChar[1]; +} SERIAL_COMMPROP, *PSERIAL_COMMPROP; + +/* SERIAL_COMMPROP.SettableParams flags */ +#define SERIAL_SP_PARITY 0x0001 +#define SERIAL_SP_BAUD 0x0002 +#define SERIAL_SP_DATABITS 0x0004 +#define SERIAL_SP_STOPBITS 0x0008 +#define SERIAL_SP_HANDSHAKING 0x0010 +#define SERIAL_SP_PARITY_CHECK 0x0020 +#define SERIAL_SP_CARRIER_DETECT 0x0040 + +/* SERIAL_COMMPROP.ProvCapabilities flags */ +#define SERIAL_PCF_DTRDSR 0x00000001 +#define SERIAL_PCF_RTSCTS 0x00000002 +#define SERIAL_PCF_CD 0x00000004 +#define SERIAL_PCF_PARITY_CHECK 0x00000008 +#define SERIAL_PCF_XONXOFF 0x00000010 +#define SERIAL_PCF_SETXCHAR 0x00000020 +#define SERIAL_PCF_TOTALTIMEOUTS 0x00000040 +#define SERIAL_PCF_INTTIMEOUTS 0x00000080 +#define SERIAL_PCF_SPECIALCHARS 0x00000100 +#define SERIAL_PCF_16BITMODE 0x00000200 + +/* SERIAL_COMMPROP.SettableData flags */ +#define SERIAL_DATABITS_5 0x0001 +#define SERIAL_DATABITS_6 0x0002 +#define SERIAL_DATABITS_7 0x0004 +#define SERIAL_DATABITS_8 0x0008 +#define SERIAL_DATABITS_16 0x0010 +#define SERIAL_DATABITS_16X 0x0020 + +/* SERIAL_COMMPROP.SettableStopParity flags */ +#define SERIAL_STOPBITS_10 0x0001 +#define SERIAL_STOPBITS_15 0x0002 +#define SERIAL_STOPBITS_20 0x0004 +#define SERIAL_PARITY_NONE 0x0100 +#define SERIAL_PARITY_ODD 0x0200 +#define SERIAL_PARITY_EVEN 0x0400 +#define SERIAL_PARITY_MARK 0x0800 +#define SERIAL_PARITY_SPACE 0x1000 + +typedef struct _SERIALPERF_STATS +{ + ULONG ReceivedCount; + ULONG TransmittedCount; + ULONG FrameErrorCount; + ULONG SerialOverrunErrorCount; + ULONG BufferOverrunErrorCount; + ULONG ParityErrorCount; +} SERIALPERF_STATS, *PSERIALPERF_STATS; + +typedef struct _SERIAL_TIMEOUTS +{ + ULONG ReadIntervalTimeout; + ULONG ReadTotalTimeoutMultiplier; + ULONG ReadTotalTimeoutConstant; + ULONG WriteTotalTimeoutMultiplier; + ULONG WriteTotalTimeoutConstant; +} SERIAL_TIMEOUTS, *PSERIAL_TIMEOUTS; + +/* IOCTL_SERIAL_(GET_WAIT_MASK, SET_WAIT_MASK, WAIT_ON_MASK) flags */ +#define SERIAL_EV_RXCHAR 0x0001 +#define SERIAL_EV_RXFLAG 0x0002 +#define SERIAL_EV_TXEMPTY 0x0004 +#define SERIAL_EV_CTS 0x0008 +#define SERIAL_EV_DSR 0x0010 +#define SERIAL_EV_RLSD 0x0020 +#define SERIAL_EV_BREAK 0x0040 +#define SERIAL_EV_ERR 0x0080 +#define SERIAL_EV_RING 0x0100 +#define SERIAL_EV_PERR 0x0200 +#define SERIAL_EV_RX80FULL 0x0400 +#define SERIAL_EV_EVENT1 0x0800 +#define SERIAL_EV_EVENT2 0x1000 + +/* IOCTL_SERIAL_LSRMST_INSERT constants */ +#define SERIAL_LSRMST_LSR_DATA 0x01 +#define SERIAL_LSRMST_LSR_NODATA 0x02 +#define SERIAL_LSRMST_MST 0x03 +#define SERIAL_LSRMST_ESCAPE 0x00 + +/* IOCTL_SERIAL_PURGE constants */ +#define SERIAL_PURGE_TXABORT 0x00000001 +#define SERIAL_PURGE_RXABORT 0x00000002 +#define SERIAL_PURGE_TXCLEAR 0x00000004 +#define SERIAL_PURGE_RXCLEAR 0x00000008 + +/* IOCTL_SERIAL_SET_FIFO_CONTROL constants */ +#define SERIAL_IOC_FCR_FIFO_ENABLE 0x00000001 +#define SERIAL_IOC_FCR_RCVR_RESET 0x00000002 +#define SERIAL_IOC_FCR_XMIT_RESET 0x00000004 +#define SERIAL_IOC_FCR_DMA_MODE 0x00000008 +#define SERIAL_IOC_FCR_RES1 0x00000010 +#define SERIAL_IOC_FCR_RES2 0x00000020 +#define SERIAL_IOC_FCR_RCVR_TRIGGER_LSB 0x00000040 +#define SERIAL_IOC_FCR_RCVR_TRIGGER_MSB 0x00000080 + +typedef struct _SERIAL_QUEUE_SIZE +{ + ULONG InSize; + ULONG OutSize; +} SERIAL_QUEUE_SIZE, *PSERIAL_QUEUE_SIZE; + +typedef struct _SERIAL_XOFF_COUNTER +{ + ULONG Timeout; + LONG Counter; + UCHAR XoffChar; +} SERIAL_XOFF_COUNTER, *PSERIAL_XOFF_COUNTER; + +typedef struct _SERIAL_BASIC_SETTINGS +{ + SERIAL_TIMEOUTS Timeouts; + SERIAL_HANDFLOW HandFlow; + ULONG RxFifo; + ULONG TxFifo; +} SERIAL_BASIC_SETTINGS, *PSERIAL_BASIC_SETTINGS; + +#define SERIAL_ERROR_BREAK 0x00000001 +#define SERIAL_ERROR_FRAMING 0x00000002 +#define SERIAL_ERROR_OVERRUN 0x00000004 +#define SERIAL_ERROR_QUEUEOVERRUN 0x00000008 +#define SERIAL_ERROR_PARITY 0x00000010 + +#define SERIAL_SP_UNSPECIFIED 0x00000000 +#define SERIAL_SP_RS232 0x00000001 +#define SERIAL_SP_PARALLEL 0x00000002 +#define SERIAL_SP_RS422 0x00000003 +#define SERIAL_SP_RS423 0x00000004 +#define SERIAL_SP_RS449 0x00000005 +#define SERIAL_SP_MODEM 0X00000006 +#define SERIAL_SP_FAX 0x00000021 +#define SERIAL_SP_SCANNER 0x00000022 +#define SERIAL_SP_BRIDGE 0x00000100 +#define SERIAL_SP_LAT 0x00000101 +#define SERIAL_SP_TELNET 0x00000102 +#define SERIAL_SP_X25 0x00000103 +#define SERIAL_SP_SERIALCOMM 0x00000001 + +#define SERIAL_TX_WAITING_FOR_CTS 0x00000001 +#define SERIAL_TX_WAITING_FOR_DSR 0x00000002 +#define SERIAL_TX_WAITING_FOR_DCD 0x00000004 +#define SERIAL_TX_WAITING_FOR_XON 0x00000008 +#define SERIAL_TX_WAITING_XOFF_SENT 0x00000010 +#define SERIAL_TX_WAITING_ON_BREAK 0x00000020 +#define SERIAL_RX_WAITING_FOR_DSR 0x00000040 + +#define SERIAL_DTR_STATE 0x00000001 +#define SERIAL_RTS_STATE 0x00000002 +#define SERIAL_CTS_STATE 0x00000010 +#define SERIAL_DSR_STATE 0x00000020 +#define SERIAL_RI_STATE 0x00000040 +#define SERIAL_DCD_STATE 0x00000080 + +typedef struct _SERIALCONFIG +{ + ULONG Size; + USHORT Version; + ULONG SubType; + ULONG ProvOffset; + ULONG ProviderSize; + WCHAR ProviderData[1]; +} SERIALCONFIG,*PSERIALCONFIG; + +#ifdef __cplusplus +} +#endif + +#endif /* _NTDDSER_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddtape.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddtape.h new file mode 100644 index 0000000..c59bc1b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntddtape.h @@ -0,0 +1,50 @@ +/* + * DDK definitions for tape access + * + * Copyright (C) 2006 Hans Leidekker + * Based on the w32api version by Casper S. Hornstrup. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDDTAPE_H_ +#define _NTDDTAPE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define IOCTL_TAPE_BASE FILE_DEVICE_TAPE + +#define IOCTL_TAPE_CHECK_VERIFY CTL_CODE(IOCTL_TAPE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_CREATE_PARTITION CTL_CODE(IOCTL_TAPE_BASE, 0x000a, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_TAPE_ERASE CTL_CODE(IOCTL_TAPE_BASE, 0x0000, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_TAPE_FIND_NEW_DEVICES CTL_CODE(IOCTL_DISK_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_GET_DRIVE_PARAMS CTL_CODE(IOCTL_TAPE_BASE, 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_GET_MEDIA_PARAMS CTL_CODE(IOCTL_TAPE_BASE, 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_GET_POSITION CTL_CODE(IOCTL_TAPE_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_GET_STATUS CTL_CODE(IOCTL_TAPE_BASE, 0x0009, METHOD_BUFFERED, FILE_READ_ACCESS ) + +#define IOCTL_TAPE_PREPARE CTL_CODE(IOCTL_TAPE_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_SET_DRIVE_PARAMS CTL_CODE(IOCTL_TAPE_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_TAPE_SET_MEDIA_PARAMS CTL_CODE(IOCTL_TAPE_BASE, 0x0008, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_SET_POSITION CTL_CODE(IOCTL_TAPE_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_TAPE_WRITE_MARKS CTL_CODE(IOCTL_TAPE_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + +#ifdef __cplusplus +} +#endif + +#endif /* _NTDDTAPE_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntifs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntifs.h new file mode 100644 index 0000000..32c9e30 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/ntifs.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2014 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __NTIFS_H__ +#define __NTIFS_H__ + +typedef struct _EX_PUSH_LOCK EX_PUSH_LOCK, *PEX_PUSH_LOCK; + +typedef struct _KQUEUE +{ + DISPATCHER_HEADER Header; + LIST_ENTRY EntryListHead; + volatile ULONG CurrentCount; + ULONG MaximumCount; + LIST_ENTRY ThreadListHead; +} KQUEUE, *PKQUEUE, *RESTRICTED_POINTER PRKQUEUE; + +NTSTATUS WINAPI ObQueryNameString(PVOID,POBJECT_NAME_INFORMATION,ULONG,PULONG); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb.h new file mode 100644 index 0000000..0cda6a4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb.h @@ -0,0 +1,406 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USB_H__ +#define __DDK_USB_H__ + +#include + +#define URB_FUNCTION_SELECT_CONFIGURATION 0x0000 +#define URB_FUNCTION_SELECT_INTERFACE 0x0001 +#define URB_FUNCTION_ABORT_PIPE 0x0002 +#define URB_FUNCTION_TAKE_FRAME_LENGTH_CONTROL 0x0003 +#define URB_FUNCTION_RELEASE_FRAME_LENGTH_CONTROL 0x0004 +#define URB_FUNCTION_GET_FRAME_LENGTH 0x0005 +#define URB_FUNCTION_SET_FRAME_LENGTH 0x0006 +#define URB_FUNCTION_GET_CURRENT_FRAME_NUMBER 0x0007 +#define URB_FUNCTION_CONTROL_TRANSFER 0x0008 +#define URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 0x0009 +#define URB_FUNCTION_ISOCH_TRANSFER 0x000A +#define URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE 0x000B +#define URB_FUNCTION_SET_DESCRIPTOR_TO_DEVICE 0x000C +#define URB_FUNCTION_SET_FEATURE_TO_DEVICE 0x000D +#define URB_FUNCTION_SET_FEATURE_TO_INTERFACE 0x000E +#define URB_FUNCTION_SET_FEATURE_TO_ENDPOINT 0x000F +#define URB_FUNCTION_CLEAR_FEATURE_TO_DEVICE 0x0010 +#define URB_FUNCTION_CLEAR_FEATURE_TO_INTERFACE 0x0011 +#define URB_FUNCTION_CLEAR_FEATURE_TO_ENDPOINT 0x0012 +#define URB_FUNCTION_GET_STATUS_FROM_DEVICE 0x0013 +#define URB_FUNCTION_GET_STATUS_FROM_INTERFACE 0x0014 +#define URB_FUNCTION_GET_STATUS_FROM_ENDPOINT 0x0015 +#define URB_FUNCTION_RESERVED_0X0016 0x0016 +#define URB_FUNCTION_VENDOR_DEVICE 0x0017 +#define URB_FUNCTION_VENDOR_INTERFACE 0x0018 +#define URB_FUNCTION_VENDOR_ENDPOINT 0x0019 +#define URB_FUNCTION_CLASS_DEVICE 0x001A +#define URB_FUNCTION_CLASS_INTERFACE 0x001B +#define URB_FUNCTION_CLASS_ENDPOINT 0x001C +#define URB_FUNCTION_RESERVE_0X001D 0x001D +#define URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL 0x001E +#define URB_FUNCTION_CLASS_OTHER 0x001F +#define URB_FUNCTION_VENDOR_OTHER 0x0020 +#define URB_FUNCTION_GET_STATUS_FROM_OTHER 0x0021 +#define URB_FUNCTION_CLEAR_FEATURE_TO_OTHER 0x0022 +#define URB_FUNCTION_SET_FEATURE_TO_OTHER 0x0023 +#define URB_FUNCTION_GET_DESCRIPTOR_FROM_ENDPOINT 0x0024 +#define URB_FUNCTION_SET_DESCRIPTOR_TO_ENDPOINT 0x0025 +#define URB_FUNCTION_GET_CONFIGURATION 0x0026 +#define URB_FUNCTION_GET_INTERFACE 0x0027 +#define URB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE 0x0028 +#define URB_FUNCTION_SET_DESCRIPTOR_TO_INTERFACE 0x0029 +#define URB_FUNCTION_GET_MS_FEATURE_DESCRIPTOR 0x002A +#define URB_FUNCTION_RESERVE_0X002B 0x002B +#define URB_FUNCTION_RESERVE_0X002C 0x002C +#define URB_FUNCTION_RESERVE_0X002D 0x002D +#define URB_FUNCTION_RESERVE_0X002E 0x002E +#define URB_FUNCTION_RESERVE_0X002F 0x002F +#define URB_FUNCTION_SYNC_RESET_PIPE 0x0030 +#define URB_FUNCTION_SYNC_CLEAR_STALL 0x0031 + +#define USBD_SHORT_TRANSFER_OK 0x00000002 +#define USBD_TRANSFER_DIRECTION_OUT 0 +#define USBD_TRANSFER_DIRECTION_IN 1 + +typedef LONG USBD_STATUS; + +typedef PVOID USBD_PIPE_HANDLE; +typedef PVOID USBD_CONFIGURATION_HANDLE; +typedef PVOID USBD_INTERFACE_HANDLE; + +#define USBD_STATUS_SUCCESS ((USBD_STATUS)0x00000000) +#define USBD_STATUS_PENDING ((USBD_STATUS)0x40000000) +#define USBD_STATUS_ERROR ((USBD_STATUS)0x80000000) +#define USBD_STATUS_HALTED ((USBD_STATUS)0xC0000000) + +#define USBD_STATUS_CANCELED ((USBD_STATUS)0x00010000) +#define USBD_STATUS_CANCELING ((USBD_STATUS)0x00020000) +#define USBD_STATUS_CRC ((USBD_STATUS)0xC0000001) +#define USBD_STATUS_BTSTUFF ((USBD_STATUS)0xC0000002) +#define USBD_STATUS_DATA_TOGGLE_MISMATCH ((USBD_STATUS)0xC0000003) +#define USBD_STATUS_STALL_PID ((USBD_STATUS)0xC0000004) +#define USBD_STATUS_DEV_NOT_RESPONDING ((USBD_STATUS)0xC0000005) +#define USBD_STATUS_PID_CHECK_FAILURE ((USBD_STATUS)0xC0000006) +#define USBD_STATUS_UNEXPECTED_PID ((USBD_STATUS)0xC0000007) +#define USBD_STATUS_DATA_OVERRUN ((USBD_STATUS)0xC0000008) +#define USBD_STATUS_DATA_UNDERRUN ((USBD_STATUS)0xC0000009) +#define USBD_STATUS_RESERVED1 ((USBD_STATUS)0xC000000A) +#define USBD_STATUS_RESERVED2 ((USBD_STATUS)0xC000000B) +#define USBD_STATUS_BUFFER_OVERRUN ((USBD_STATUS)0xC000000C) +#define USBD_STATUS_BUFFER_UNDERRUN ((USBD_STATUS)0xC000000D) +#define USBD_STATUS_NOT_ACCESSED ((USBD_STATUS)0xC000000F) +#define USBD_STATUS_FIFO ((USBD_STATUS)0xC0000010) +#define USBD_STATUS_XACT_ERROR ((USBD_STATUS)0xC0000011) +#define USBD_STATUS_BABBLE_DETECTED ((USBD_STATUS)0xC0000012) +#define USBD_STATUS_DATA_BUFFER_ERROR ((USBD_STATUS)0xC0000013) +#define USBD_STATUS_ENDPOINT_HALTED ((USBD_STATUS)0xC0000030) +#define USBD_STATUS_NO_MEMORY ((USBD_STATUS)0x80000100) +#define USBD_STATUS_INVALID_URB_FUNCTION ((USBD_STATUS)0x80000200) +#define USBD_STATUS_INVALID_PARAMETER ((USBD_STATUS)0x80000300) +#define USBD_STATUS_ERROR_BUSY ((USBD_STATUS)0x80000400) +#define USBD_STATUS_REQUEST_FAILED ((USBD_STATUS)0x80000500) +#define USBD_STATUS_INVALID_PIPE_HANDLE ((USBD_STATUS)0x80000600) +#define USBD_STATUS_NO_BANDWIDTH ((USBD_STATUS)0x80000700) +#define USBD_STATUS_INTERNAL_HC_ERROR ((USBD_STATUS)0x80000800) +#define USBD_STATUS_ERROR_SHORT_TRANSFER ((USBD_STATUS)0x80000900) +#define USBD_STATUS_BAD_START_FRAME ((USBD_STATUS)0xC0000A00) +#define USBD_STATUS_ISOCH_REQUEST_FAILED ((USBD_STATUS)0xC0000B00) +#define USBD_STATUS_FRAME_CONTROL_OWNED ((USBD_STATUS)0xC0000C00) +#define USBD_STATUS_FRAME_CONTROL_NOT_OWNED ((USBD_STATUS)0xC0000D00) +#define USBD_STATUS_NOT_SUPPORTED ((USBD_STATUS)0xC0000E00) +#define USBD_STATUS_INVALID_CONFIGURATION_DESCRIPTOR ((USBD_STATUS)0xC0000F00) +#define USBD_STATUS_INSUFFICIENT_RESOURCES ((USBD_STATUS)0xC0001000) +#define USBD_STATUS_SET_CONFIG_FAILED ((USBD_STATUS)0xC0002000) +#define USBD_STATUS_BUFFER_TOO_SMALL ((USBD_STATUS)0xC0003000) +#define USBD_STATUS_INTERFACE_NOT_FOUND ((USBD_STATUS)0xC0004000) +#define USBD_STATUS_INVALID_PIPE_FLAGS ((USBD_STATUS)0xC0005000) +#define USBD_STATUS_TIMEOUT ((USBD_STATUS)0xC0006000) +#define USBD_STATUS_DEVICE_GONE ((USBD_STATUS)0xC0007000) +#define USBD_STATUS_STATUS_NOT_MAPPED ((USBD_STATUS)0xC0008000) +#define USBD_STATUS_ISO_NOT_ACCESSED_BY_HW ((USBD_STATUS)0xC0020000) +#define USBD_STATUS_ISO_TD_ERROR ((USBD_STATUS)0xC0030000) +#define USBD_STATUS_ISO_NA_LATE_USBPORT ((USBD_STATUS)0xC0040000) +#define USBD_STATUS_ISO_NOT_ACCESSED_LATE ((USBD_STATUS)0xC0050000) + +#define USBD_SUCCESS(Status) ((USBD_STATUS)(Status) >= 0) +#define USBD_PENDING(Status) ((ULONG)(Status) >> 30 == 1) +#define USBD_ERROR(Status) ((USBD_STATUS)(Status) < 0) + +typedef struct _USBD_VERSION_INFORMATION { + ULONG USBDI_Version; + ULONG Supported_USB_Version; +} USBD_VERSION_INFORMATION; +typedef struct _USBD_VERSION_INFORMATION *PUSBD_VERSION_INFORMATION; + +typedef enum _USBD_PIPE_TYPE { + UsbdPipeTypeControl, + UsbdPipeTypeIsochronous, + UsbdPipeTypeBulk, + UsbdPipeTypeInterrupt +} USBD_PIPE_TYPE; + +typedef struct _USBD_PIPE_INFORMATION { + USHORT MaximumPacketSize; + UCHAR EndpointAddress; + UCHAR Interval; + USBD_PIPE_TYPE PipeType; + USBD_PIPE_HANDLE PipeHandle; + ULONG MaximumTransferSize; + ULONG PipeFlags; +} USBD_PIPE_INFORMATION; +typedef struct _USBD_PIPE_INFORMATION *PUSBD_PIPE_INFORMATION; + +typedef struct _USBD_INTERFACE_INFORMATION { + USHORT Length; + UCHAR InterfaceNumber; + UCHAR AlternateSetting; + UCHAR Class; + UCHAR SubClass; + UCHAR Protocol; + UCHAR Reserved; + USBD_INTERFACE_HANDLE InterfaceHandle; + ULONG NumberOfPipes; + USBD_PIPE_INFORMATION Pipes[1]; +} USBD_INTERFACE_INFORMATION; +typedef struct _USBD_INTERFACE_INFORMATION *PUSBD_INTERFACE_INFORMATION; + +typedef struct _USBD_ISO_PACKET_DESCRIPTOR { + ULONG Offset; + ULONG Length; + USBD_STATUS Status; +} USBD_ISO_PACKET_DESCRIPTOR; +typedef struct _USBD_ISO_PACKET_DESCRIPTOR *PUSBD_ISO_PACKET_DESCRIPTOR; + +struct _URB_HCD_AREA { + PVOID Reserved8[8]; +}; + +struct _URB_HEADER { + USHORT Length; + USHORT Function; + USBD_STATUS Status; + PVOID UsbdDeviceHandle; + ULONG UsbdFlags; +}; + +struct _URB_SELECT_INTERFACE { + struct _URB_HEADER Hdr; + USBD_CONFIGURATION_HANDLE ConfigurationHandle; + USBD_INTERFACE_INFORMATION Interface; +}; + +struct _URB_SELECT_CONFIGURATION { + struct _URB_HEADER Hdr; + PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor; + USBD_CONFIGURATION_HANDLE ConfigurationHandle; + USBD_INTERFACE_INFORMATION Interface; +}; + +struct _URB_PIPE_REQUEST { + struct _URB_HEADER Hdr; + USBD_PIPE_HANDLE PipeHandle; + ULONG Reserved; +}; + +struct _URB_FRAME_LENGTH_CONTROL { + struct _URB_HEADER Hdr; +}; + +struct _URB_GET_FRAME_LENGTH { + struct _URB_HEADER Hdr; + ULONG FrameLength; + ULONG FrameNumber; +}; + +struct _URB_SET_FRAME_LENGTH { + struct _URB_HEADER Hdr; + LONG FrameLengthDelta; +}; + +struct _URB_GET_CURRENT_FRAME_NUMBER { + struct _URB_HEADER Hdr; + ULONG FrameNumber; +}; + +struct _URB_CONTROL_TRANSFER { + struct _URB_HEADER Hdr; + USBD_PIPE_HANDLE PipeHandle; + ULONG TransferFlags; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + UCHAR SetupPacket[8]; +}; + +struct _URB_BULK_OR_INTERRUPT_TRANSFER { + struct _URB_HEADER Hdr; + USBD_PIPE_HANDLE PipeHandle; + ULONG TransferFlags; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; +}; + +struct _URB_ISOCH_TRANSFER { + struct _URB_HEADER Hdr; + USBD_PIPE_HANDLE PipeHandle; + ULONG TransferFlags; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + ULONG StartFrame; + ULONG NumberOfPackets; + ULONG ErrorCount; + USBD_ISO_PACKET_DESCRIPTOR IsoPacket[1]; +}; + +struct _URB_CONTROL_DESCRIPTOR_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG Reserved0; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + USHORT Reserved1; + UCHAR Index; + UCHAR DescriptorType; + USHORT LanguageId; + USHORT Reserved2; +}; + +struct _URB_CONTROL_GET_STATUS_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG Reserved0; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + UCHAR Reserved1[4]; + USHORT Index; + USHORT Reserved2; +}; + +struct _URB_CONTROL_FEATURE_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG Reserved2; + ULONG Reserved3; + PVOID Reserved4; + PMDL Reserved5; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + USHORT Reserved0; + USHORT FeatureSelector; + USHORT Index; + USHORT Reserved1; +}; + +struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG TransferFlags; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + UCHAR RequestTypeReservedBits; + UCHAR Request; + USHORT Value; + USHORT Index; + USHORT Reserved1; +}; + +struct _URB_CONTROL_GET_INTERFACE_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG Reserved0; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + UCHAR Reserved1[4]; + USHORT Interface; + USHORT Reserved2; +}; + +struct _URB_CONTROL_GET_CONFIGURATION_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG Reserved0; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + UCHAR Reserved1[8]; +}; + +struct _URB_OS_FEATURE_DESCRIPTOR_REQUEST { + struct _URB_HEADER Hdr; + PVOID Reserved; + ULONG Reserved0; + ULONG TransferBufferLength; + PVOID TransferBuffer; + PMDL TransferBufferMDL; + struct _URB *UrbLink; + struct _URB_HCD_AREA hca; + UCHAR Recipient:5; + UCHAR Reserved1:3; + UCHAR Reserved2; + UCHAR InterfaceNumber; + UCHAR MS_PageIndex; + USHORT MS_FeatureDescriptorIndex; + USHORT Reserved3; +}; + +typedef struct _URB { + union { + struct _URB_HEADER UrbHeader; + struct _URB_SELECT_INTERFACE UrbSelectInterface; + struct _URB_SELECT_CONFIGURATION UrbSelectConfiguration; + struct _URB_PIPE_REQUEST UrbPipeRequest; + struct _URB_FRAME_LENGTH_CONTROL UrbFrameLengthControl; + struct _URB_GET_FRAME_LENGTH UrbGetFrameLength; + struct _URB_SET_FRAME_LENGTH UrbSetFrameLength; + struct _URB_GET_CURRENT_FRAME_NUMBER UrbGetCurrentFrameNumber; + struct _URB_CONTROL_TRANSFER UrbControlTransfer; + struct _URB_BULK_OR_INTERRUPT_TRANSFER UrbBulkOrInterruptTransfer; + struct _URB_ISOCH_TRANSFER UrbIsochronousTransfer; + struct _URB_CONTROL_DESCRIPTOR_REQUEST UrbControlDescriptorRequest; + struct _URB_CONTROL_GET_STATUS_REQUEST UrbControlGetStatusRequest; + struct _URB_CONTROL_FEATURE_REQUEST UrbControlFeatureRequest; + struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST UrbControlVendorClassRequest; + struct _URB_CONTROL_GET_INTERFACE_REQUEST UrbControlGetInterfaceRequest; + struct _URB_CONTROL_GET_CONFIGURATION_REQUEST UrbControlGetConfigurationRequest; + struct _URB_OS_FEATURE_DESCRIPTOR_REQUEST UrbOSFeatureDescriptorRequest; + } DUMMYUNIONNAME; +} URB; +typedef struct _URB *PURB; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb100.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb100.h new file mode 100644 index 0000000..7ec7493 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb100.h @@ -0,0 +1,118 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USB100_H__ +#define __DDK_USB100_H__ + +#define USB_DEVICE_DESCRIPTOR_TYPE 0x01 +#define USB_CONFIGURATION_DESCRIPTOR_TYPE 0x02 +#define USB_STRING_DESCRIPTOR_TYPE 0x03 +#define USB_INTERFACE_DESCRIPTOR_TYPE 0x04 +#define USB_ENDPOINT_DESCRIPTOR_TYPE 0x05 +#define USB_RESERVED_DESCRIPTOR_TYPE 0x06 +#define USB_CONFIG_POWER_DESCRIPTOR_TYPE 0x07 +#define USB_INTERFACE_POWER_DESCRIPTOR_TYPE 0x08 + +#include + +typedef struct _USB_DEVICE_DESCRIPTOR { + UCHAR bLength; + UCHAR bDescriptorType; + USHORT bcdUSB; + UCHAR bDeviceClass; + UCHAR bDeviceSubClass; + UCHAR bDeviceProtocol; + UCHAR bMaxPacketSize0; + USHORT idVendor; + USHORT idProduct; + USHORT bcdDevice; + UCHAR iManufacturer; + UCHAR iProduct; + UCHAR iSerialNumber; + UCHAR bNumConfigurations; +} USB_DEVICE_DESCRIPTOR; +typedef struct _USB_DEVICE_DESCRIPTOR *PUSB_DEVICE_DESCRIPTOR; + +#define USB_ENDPOINT_TYPE_MASK 0x03 +#define USB_ENDPOINT_TYPE_CONTROL 0x00 +#define USB_ENDPOINT_TYPE_ISOCHRONOUS 0x01 +#define USB_ENDPOINT_TYPE_BULK 0x02 +#define USB_ENDPOINT_TYPE_INTERRUPT 0x03 + +typedef struct _USB_ENDPOINT_DESCRIPTOR { + UCHAR bLength; + UCHAR bDescriptorType; + UCHAR bEndpointAddress; + UCHAR bmAttributes; + USHORT wMaxPacketSize; + UCHAR bInterval; +} USB_ENDPOINT_DESCRIPTOR; +typedef struct _USB_ENDPOINT_DESCRIPTOR *PUSB_ENDPOINT_DESCRIPTOR; + +typedef struct _USB_CONFIGURATION_DESCRIPTOR { + UCHAR bLength; + UCHAR bDescriptorType; + USHORT wTotalLength; + UCHAR bNumInterfaces; + UCHAR bConfigurationValue; + UCHAR iConfiguration; + UCHAR bmAttributes; + UCHAR MaxPower; +} USB_CONFIGURATION_DESCRIPTOR; +typedef struct _USB_CONFIGURATION_DESCRIPTOR *PUSB_CONFIGURATION_DESCRIPTOR; + +typedef struct _USB_INTERFACE_DESCRIPTOR { + UCHAR bLength; + UCHAR bDescriptorType; + UCHAR bInterfaceNumber; + UCHAR bAlternateSetting; + UCHAR bNumEndpoints; + UCHAR bInterfaceClass; + UCHAR bInterfaceSubClass; + UCHAR bInterfaceProtocol; + UCHAR iInterface; +} USB_INTERFACE_DESCRIPTOR; +typedef struct _USB_INTERFACE_DESCRIPTOR *PUSB_INTERFACE_DESCRIPTOR; + +typedef struct _USB_STRING_DESCRIPTOR { + UCHAR bLength; + UCHAR bDescriptorType; + WCHAR bString[1]; +} USB_STRING_DESCRIPTOR; +typedef struct _USB_STRING_DESCRIPTOR *PUSB_STRING_DESCRIPTOR; + +typedef struct _USB_COMMON_DESCRIPTOR { + UCHAR bLength; + UCHAR bDescriptorType; +} USB_COMMON_DESCRIPTOR; +typedef struct _USB_COMMON_DESCRIPTOR *PUSB_COMMON_DESCRIPTOR; + +typedef struct _USB_HUB_DESCRIPTOR { + UCHAR bDescriptorLength; + UCHAR bDescriptorType; + UCHAR bNumberOfPorts; + USHORT wHubCharacteristics; + UCHAR bPowerOnToPowerGood; + UCHAR bHubControlCurrent; + UCHAR bRemoveAndPowerMask[64]; +} USB_HUB_DESCRIPTOR; +typedef struct _USB_HUB_DESCRIPTOR *PUSB_HUB_DESCRIPTOR; + +#include + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb200.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb200.h new file mode 100644 index 0000000..42cd27e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usb200.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USB200_H__ +#define __DDK_USB200_H__ + +#include + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbdlib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbdlib.h new file mode 100644 index 0000000..188744f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbdlib.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USBDLIB_H__ +#define __DDK_USBDLIB_H__ + +typedef struct _USBD_INTERFACE_LIST_ENTRY { + PUSB_INTERFACE_DESCRIPTOR InterfaceDescriptor; + PUSBD_INTERFACE_INFORMATION Interface; +} USBD_INTERFACE_LIST_ENTRY; +typedef struct _USBD_INTERFACE_LIST_ENTRY *PUSBD_INTERFACE_LIST_ENTRY; + +PURB WINAPI USBD_CreateConfigurationRequest(PUSB_CONFIGURATION_DESCRIPTOR,PUSHORT); +PURB WINAPI USBD_CreateConfigurationRequestEx(PUSB_CONFIGURATION_DESCRIPTOR,PUSBD_INTERFACE_LIST_ENTRY); +ULONG WINAPI USBD_GetInterfaceLength(PUSB_INTERFACE_DESCRIPTOR,PUCHAR); +VOID WINAPI USBD_GetUSBDIVersion(PUSBD_VERSION_INFORMATION); +PUSB_COMMON_DESCRIPTOR WINAPI USBD_ParseDescriptors(PVOID,ULONG,PVOID,LONG); +PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR,UCHAR,UCHAR); +PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptorEx(PUSB_CONFIGURATION_DESCRIPTOR,PVOID,LONG,LONG,LONG,LONG,LONG); +USBD_STATUS WINAPI USBD_ValidateConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR,ULONG,USHORT,PUCHAR*,ULONG); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbioctl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbioctl.h new file mode 100644 index 0000000..003e2b6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbioctl.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2013 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USBIOCTL_H__ +#define __DDK_USBIOCTL_H__ + +#define IOCTL_INTERNAL_USB_SUBMIT_URB \ + CTL_CODE(FILE_DEVICE_USB, USB_SUBMIT_URB, METHOD_NEITHER, FILE_ANY_ACCESS) + +#endif /* __DDK_USBIOCTL_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbiodef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbiodef.h new file mode 100644 index 0000000..5f79810 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/usbiodef.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2013 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USBIODEF_H__ +#define __DDK_USBIODEF_H__ + +#define USB_SUBMIT_URB 0 + +#define FILE_DEVICE_USB FILE_DEVICE_UNKNOWN + +#endif /* __DDK_USBIODEF_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/wdm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/wdm.h new file mode 100644 index 0000000..61374a7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/wdm.h @@ -0,0 +1,1455 @@ +/* + * Copyright 2004-2005 Ivan Leo Puoti + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WDMDDK_ +#define _WDMDDK_ +#define _NTDDK_ + +#include + +#ifdef _WIN64 +#define POINTER_ALIGNMENT DECLSPEC_ALIGN(8) +#else +#define POINTER_ALIGNMENT +#endif + +/* FIXME: We suppose that page size is 4096 */ +#undef PAGE_SIZE +#define PAGE_SIZE 0x1000 +#define PAGE_SHIFT 12 + +#define BYTE_OFFSET(va) ((ULONG)((ULONG_PTR)(va) & (PAGE_SIZE - 1))) +#define PAGE_ALIGN(va) ((PVOID)((ULONG_PTR)(va) & ~(PAGE_SIZE - 1))) +#define ADDRESS_AND_SIZE_TO_SPAN_PAGES(va, length) \ + ((BYTE_OFFSET(va) + ((SIZE_T)(length)) + (PAGE_SIZE - 1)) >> PAGE_SHIFT) + +typedef LONG KPRIORITY; + +typedef ULONG_PTR KSPIN_LOCK, *PKSPIN_LOCK; + +typedef ULONG_PTR ERESOURCE_THREAD; +typedef ERESOURCE_THREAD *PERESOURCE_THREAD; + +struct _KDPC; +struct _KAPC; +struct _IRP; +struct _DEVICE_OBJECT; +struct _DRIVER_OBJECT; + +typedef VOID (WINAPI *PKDEFERRED_ROUTINE)(struct _KDPC *, PVOID, PVOID, PVOID); +typedef VOID (WINAPI *PKSTART_ROUTINE)(PVOID); + +typedef NTSTATUS (WINAPI *PDRIVER_INITIALIZE)(struct _DRIVER_OBJECT *, PUNICODE_STRING); +typedef NTSTATUS (WINAPI *PDRIVER_DISPATCH)(struct _DEVICE_OBJECT *, struct _IRP *); +typedef void (WINAPI *PDRIVER_STARTIO)(struct _DEVICE_OBJECT *, struct _IRP *); +typedef void (WINAPI *PDRIVER_UNLOAD)(struct _DRIVER_OBJECT *); +typedef NTSTATUS (WINAPI *PDRIVER_ADD_DEVICE)(struct _DRIVER_OBJECT *, struct _DEVICE_OBJECT *); + +typedef struct _DISPATCHER_HEADER { + UCHAR Type; + UCHAR Absolute; + UCHAR Size; + UCHAR Inserted; + LONG SignalState; + LIST_ENTRY WaitListHead; +} DISPATCHER_HEADER, *PDISPATCHER_HEADER; + +typedef struct _KEVENT { + DISPATCHER_HEADER Header; +} KEVENT, *PKEVENT, *RESTRICTED_POINTER PRKEVENT; + +typedef struct _KSEMAPHORE { + DISPATCHER_HEADER Header; + LONG Limit; +} KSEMAPHORE, *PKSEMAPHORE, *PRKSEMAPHORE; + +typedef struct _KDPC { + CSHORT Type; + UCHAR Number; + UCHAR Importance; + LIST_ENTRY DpcListEntry; + PKDEFERRED_ROUTINE DeferredRoutine; + PVOID DeferredContext; + PVOID SystemArgument1; + PVOID SystemArgument2; + PULONG_PTR Lock; +} KDPC, *PKDPC, *RESTRICTED_POINTER PRKDPC; + +typedef struct _KDEVICE_QUEUE_ENTRY { + LIST_ENTRY DeviceListEntry; + ULONG SortKey; + BOOLEAN Inserted; +} KDEVICE_QUEUE_ENTRY, *PKDEVICE_QUEUE_ENTRY, +*RESTRICTED_POINTER PRKDEVICE_QUEUE_ENTRY; + +typedef struct _KDEVICE_QUEUE { + CSHORT Type; + CSHORT Size; + LIST_ENTRY DeviceListHead; + KSPIN_LOCK Lock; + BOOLEAN Busy; +} KDEVICE_QUEUE, *PKDEVICE_QUEUE, *RESTRICTED_POINTER PRKDEVICE_QUEUE; + +typedef struct _KMUTANT { + DISPATCHER_HEADER Header; + LIST_ENTRY MutantListEntry; + struct _KTHREAD *RESTRICTED_POINTER OwnerThread; + BOOLEAN Abandoned; + UCHAR ApcDisable; +} KMUTANT, *PKMUTANT, *RESTRICTED_POINTER PRKMUTANT, KMUTEX, *PKMUTEX, *RESTRICTED_POINTER PRKMUTEX; + +typedef enum _KWAIT_REASON +{ + Executive, + FreePage, + PageIn, + PoolAllocation, + DelayExecution, + Suspended, + UserRequest, + WrExecutive, + WrFreePage, + WrPageIn, + WrDelayExecution, + WrSuspended, + WrUserRequest, + WrQueue, + WrLpcReceive, + WrLpcReply, + WrVirtualMemory, + WrPageOut, + WrRendezvous, + Spare2, + Spare3, + Spare4, + Spare5, + Spare6, + WrKernel, + MaximumWaitReason, +} KWAIT_REASON; + +typedef struct _ALLOCATE_FUNCTION *PALLOCATE_FUNCTION; +typedef struct _IO_TIMER *PIO_TIMER; +typedef struct _IO_TIMER_ROUTINE *PIO_TIMER_ROUTINE; +typedef struct _ETHREAD *PETHREAD; +typedef struct _FREE_FUNCTION *PFREE_FUNCTION; +typedef struct _KTHREAD *PKTHREAD, *PRKTHREAD; +typedef struct _EPROCESS *PEPROCESS; +typedef struct _ERESOURCE *PERESOURCE; +typedef struct _IO_WORKITEM *PIO_WORKITEM; +typedef struct _NPAGED_LOOKASIDE_LIST *PNPAGED_LOOKASIDE_LIST; +typedef struct _PAGED_LOOKASIDE_LIST *PPAGED_LOOKASIDE_LIST; +typedef struct _OBJECT_TYPE *POBJECT_TYPE; +typedef struct _OBJECT_HANDLE_INFORMATION *POBJECT_HANDLE_INFORMATION; +typedef struct _ZONE_HEADER *PZONE_HEADER; + +typedef struct _FAST_MUTEX +{ + LONG Count; + PKTHREAD Owner; + ULONG Contention; + KEVENT Gate; + ULONG OldIrql; +} FAST_MUTEX, *PFAST_MUTEX; + +#define MAXIMUM_VOLUME_LABEL_LENGTH (32 * sizeof(WCHAR)) + +typedef struct _VPB { + CSHORT Type; + CSHORT Size; + USHORT Flags; + USHORT VolumeLabelLength; + struct _DEVICE_OBJECT *DeviceObject; + struct _DEVICE_OBJECT *RealDevice; + ULONG SerialNumber; + ULONG ReferenceCount; + WCHAR VolumeLabel[MAXIMUM_VOLUME_LABEL_LENGTH / sizeof(WCHAR)]; +} VPB, *PVPB; + +typedef enum _POOL_TYPE { + NonPagedPool, + PagedPool, + NonPagedPoolMustSucceed, + DontUseThisType, + NonPagedPoolCacheAligned, + PagedPoolCacheAligned, + NonPagedPoolCacheAlignedMustS, + MaxPoolType +} POOL_TYPE; + +typedef struct _WAIT_CONTEXT_BLOCK { + KDEVICE_QUEUE_ENTRY WaitQueueEntry; + struct _DRIVER_CONTROL *DeviceRoutine; + PVOID DeviceContext; + ULONG NumberOfMapRegisters; + PVOID DeviceObject; + PVOID CurrentIrp; + PKDPC BufferChainingDpc; +} WAIT_CONTEXT_BLOCK, *PWAIT_CONTEXT_BLOCK; + +#define DO_BUFFERED_IO 0x00000004 +#define DO_EXCLUSIVE 0x00000008 +#define DO_DIRECT_IO 0x00000010 +#define DO_MAP_IO_BUFFER 0x00000020 +#define DO_DEVICE_INITIALIZING 0x00000080 +#define DO_SHUTDOWN_REGISTERED 0x00000800 +#define DO_BUS_ENUMERATED_DEVICE 0x00001000 +#define DO_POWER_PAGABLE 0x00002000 +#define DO_POWER_INRUSH 0x00004000 + +#define IO_NO_INCREMENT 0 +#define IO_CD_ROM_INCREMENT 1 +#define IO_DISK_INCREMENT 1 +#define IO_KEYBOARD_INCREMENT 6 +#define IO_MAILSLOT_INCREMENT 2 +#define IO_MOUSE_INCREMENT 6 +#define IO_NAMED_PIPE_INCREMENT 2 +#define IO_NETWORK_INCREMENT 2 +#define IO_PARALLEL_INCREMENT 1 +#define IO_SERIAL_INCREMENT 2 +#define IO_SOUND_INCREMENT 8 +#define IO_VIDEO_INCREMENT 1 + +#ifndef DEVICE_TYPE +#define DEVICE_TYPE ULONG +#endif +#define IRP_MJ_MAXIMUM_FUNCTION 0x1b +#define IRP_MJ_CREATE 0x00 +#define IRP_MJ_CREATE_NAMED_PIPE 0x01 +#define IRP_MJ_CLOSE 0x02 +#define IRP_MJ_READ 0x03 +#define IRP_MJ_WRITE 0x04 +#define IRP_MJ_QUERY_INFORMATION 0x05 +#define IRP_MJ_SET_INFORMATION 0x06 +#define IRP_MJ_QUERY_EA 0x07 +#define IRP_MJ_SET_EA 0x08 +#define IRP_MJ_FLUSH_BUFFERS 0x09 +#define IRP_MJ_QUERY_VOLUME_INFORMATION 0x0a +#define IRP_MJ_SET_VOLUME_INFORMATION 0x0b +#define IRP_MJ_DIRECTORY_CONTROL 0x0c +#define IRP_MJ_FILE_SYSTEM_CONTROL 0x0d +#define IRP_MJ_DEVICE_CONTROL 0x0e +#define IRP_MJ_INTERNAL_DEVICE_CONTROL 0x0f +#define IRP_MJ_SHUTDOWN 0x10 +#define IRP_MJ_LOCK_CONTROL 0x11 +#define IRP_MJ_CLEANUP 0x12 +#define IRP_MJ_CREATE_MAILSLOT 0x13 +#define IRP_MJ_QUERY_SECURITY 0x14 +#define IRP_MJ_SET_SECURITY 0x15 +#define IRP_MJ_POWER 0x16 +#define IRP_MJ_SYSTEM_CONTROL 0x17 +#define IRP_MJ_DEVICE_CHANGE 0x18 +#define IRP_MJ_QUERY_QUOTA 0x19 +#define IRP_MJ_SET_QUOTA 0x1a +#define IRP_MJ_PNP 0x1b + +#define IRP_MN_START_DEVICE 0x00 +#define IRP_MN_QUERY_REMOVE_DEVICE 0x01 +#define IRP_MN_REMOVE_DEVICE 0x02 +#define IRP_MN_CANCEL_REMOVE_DEVICE 0x03 +#define IRP_MN_STOP_DEVICE 0x04 +#define IRP_MN_QUERY_STOP_DEVICE 0x05 +#define IRP_MN_CANCEL_STOP_DEVICE 0x06 +#define IRP_MN_QUERY_DEVICE_RELATIONS 0x07 +#define IRP_MN_QUERY_INTERFACE 0x08 +#define IRP_MN_QUERY_CAPABILITIES 0x09 +#define IRP_MN_QUERY_RESOURCES 0x0A +#define IRP_MN_QUERY_RESOURCE_REQUIREMENTS 0x0B +#define IRP_MN_QUERY_DEVICE_TEXT 0x0C +#define IRP_MN_FILTER_RESOURCE_REQUIREMENTS 0x0D +#define IRP_MN_READ_CONFIG 0x0F +#define IRP_MN_WRITE_CONFIG 0x10 +#define IRP_MN_EJECT 0x11 +#define IRP_MN_SET_LOCK 0x12 +#define IRP_MN_QUERY_ID 0x13 +#define IRP_MN_QUERY_PNP_DEVICE_STATE 0x14 +#define IRP_MN_QUERY_BUS_INFORMATION 0x15 +#define IRP_MN_DEVICE_USAGE_NOTIFICATION 0x16 +#define IRP_MN_SURPRISE_REMOVAL 0x17 +#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION 0x18 + +#define IRP_MN_WAIT_WAKE 0x00 +#define IRP_MN_POWER_SEQUENCE 0x01 +#define IRP_MN_SET_POWER 0x02 +#define IRP_MN_QUERY_POWER 0x03 + +#define IRP_QUOTA_CHARGED 0x01 +#define IRP_ALLOCATED_MUST_SUCCEED 0x02 +#define IRP_ALLOCATED_FIXED_SIZE 0x04 +#define IRP_LOOKASIDE_ALLOCATION 0x08 + +#define IO_TYPE_ADAPTER 0x01 +#define IO_TYPE_CONTROLLER 0x02 +#define IO_TYPE_DEVICE 0x03 +#define IO_TYPE_DRIVER 0x04 +#define IO_TYPE_FILE 0x05 +#define IO_TYPE_IRP 0x06 +#define IO_TYPE_MASTER_ADAPTER 0x07 +#define IO_TYPE_OPEN_PACKET 0x08 +#define IO_TYPE_TIMER 0x09 +#define IO_TYPE_VPB 0x0a +#define IO_TYPE_ERROR_LOG 0x0b +#define IO_TYPE_ERROR_MESSAGE 0x0c +#define IO_TYPE_DEVICE_OBJECT_EXTENSION 0x0d + +typedef struct _DEVICE_OBJECT { + CSHORT Type; + USHORT Size; + LONG ReferenceCount; + struct _DRIVER_OBJECT *DriverObject; + struct _DEVICE_OBJECT *NextDevice; + struct _DEVICE_OBJECT *AttachedDevice; + struct _IRP *CurrentIrp; + PIO_TIMER Timer; + ULONG Flags; + ULONG Characteristics; + PVPB Vpb; + PVOID DeviceExtension; + DEVICE_TYPE DeviceType; + CCHAR StackSize; + union { + LIST_ENTRY ListEntry; + WAIT_CONTEXT_BLOCK Wcb; + } Queue; + ULONG AlignmentRequirement; + KDEVICE_QUEUE DeviceQueue; + KDPC Dpc; + ULONG ActiveThreadCount; + PSECURITY_DESCRIPTOR SecurityDescriptor; + KEVENT DeviceLock; + USHORT SectorSize; + USHORT Spare1; + struct _DEVOBJ_EXTENSION *DeviceObjectExtension; + PVOID Reserved; +} DEVICE_OBJECT; +typedef struct _DEVICE_OBJECT *PDEVICE_OBJECT; + +typedef struct _DEVICE_RELATIONS { + ULONG Count; + PDEVICE_OBJECT Objects[1]; +} DEVICE_RELATIONS; +typedef struct _DEVICE_RELATIONS *PDEVICE_RELATIONS; + +typedef struct _DRIVER_EXTENSION { + struct _DRIVER_OBJECT *DriverObject; + PDRIVER_ADD_DEVICE AddDevice; + ULONG Count; + UNICODE_STRING ServiceKeyName; +} DRIVER_EXTENSION, *PDRIVER_EXTENSION; + +typedef struct _DRIVER_OBJECT { + CSHORT Type; + CSHORT Size; + PDEVICE_OBJECT DeviceObject; + ULONG Flags; + PVOID DriverStart; + ULONG DriverSize; + PVOID DriverSection; + PDRIVER_EXTENSION DriverExtension; + UNICODE_STRING DriverName; + PUNICODE_STRING HardwareDatabase; + PVOID FastIoDispatch; + PDRIVER_INITIALIZE DriverInit; + PDRIVER_STARTIO DriverStartIo; + PDRIVER_UNLOAD DriverUnload; + PDRIVER_DISPATCH MajorFunction[IRP_MJ_MAXIMUM_FUNCTION + 1]; +} DRIVER_OBJECT; +typedef struct _DRIVER_OBJECT *PDRIVER_OBJECT; + +/* Irp definitions */ +typedef UCHAR KIRQL, *PKIRQL; +typedef CCHAR KPROCESSOR_MODE; + +typedef VOID (WINAPI *PDRIVER_CANCEL)( + IN struct _DEVICE_OBJECT *DeviceObject, + IN struct _IRP *Irp); + +typedef VOID (WINAPI *PKNORMAL_ROUTINE)( + IN PVOID NormalContext, + IN PVOID SystemArgument1, + IN PVOID SystemArgument2); + +typedef VOID (WINAPI *PKKERNEL_ROUTINE)( + IN struct _KAPC *Apc, + IN OUT PKNORMAL_ROUTINE *NormalRoutine, + IN OUT PVOID *NormalContext, + IN OUT PVOID *SystemArgument1, + IN OUT PVOID *SystemArgument2); + +typedef VOID (WINAPI *PKRUNDOWN_ROUTINE)( + IN struct _KAPC *Apc); + +typedef struct _KAPC { + CSHORT Type; + CSHORT Size; + ULONG Spare0; + struct _KTHREAD *Thread; + LIST_ENTRY ApcListEntry; + PKKERNEL_ROUTINE KernelRoutine; + PKRUNDOWN_ROUTINE RundownRoutine; + PKNORMAL_ROUTINE NormalRoutine; + PVOID NormalContext; + PVOID SystemArgument1; + PVOID SystemArgument2; + CCHAR ApcStateIndex; + KPROCESSOR_MODE ApcMode; + BOOLEAN Inserted; +} KAPC, *PKAPC, *RESTRICTED_POINTER PRKAPC; + +typedef struct _IRP { + CSHORT Type; + USHORT Size; + struct _MDL *MdlAddress; + ULONG Flags; + union { + struct _IRP *MasterIrp; + LONG IrpCount; + PVOID SystemBuffer; + } AssociatedIrp; + LIST_ENTRY ThreadListEntry; + IO_STATUS_BLOCK IoStatus; + KPROCESSOR_MODE RequestorMode; + BOOLEAN PendingReturned; + CHAR StackCount; + CHAR CurrentLocation; + BOOLEAN Cancel; + KIRQL CancelIrql; + CCHAR ApcEnvironment; + UCHAR AllocationFlags; + PIO_STATUS_BLOCK UserIosb; + PKEVENT UserEvent; + union { + struct { + PIO_APC_ROUTINE UserApcRoutine; + PVOID UserApcContext; + } AsynchronousParameters; + LARGE_INTEGER AllocationSize; + } Overlay; + PDRIVER_CANCEL CancelRoutine; + PVOID UserBuffer; + union { + struct { + union { + KDEVICE_QUEUE_ENTRY DeviceQueueEntry; + struct { + PVOID DriverContext[4]; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME1; + PETHREAD Thread; + PCHAR AuxiliaryBuffer; + struct { + LIST_ENTRY ListEntry; + union { + struct _IO_STACK_LOCATION *CurrentStackLocation; + ULONG PacketType; + } DUMMYUNIONNAME2; + } DUMMYSTRUCTNAME; + struct _FILE_OBJECT *OriginalFileObject; + } Overlay; + KAPC Apc; + PVOID CompletionKey; + } Tail; +} IRP; +typedef struct _IRP *PIRP; + +#define IRP_NOCACHE 0x0001 +#define IRP_PAGING_IO 0x0002 +#define IRP_MOUNT_COMPLETION 0x0002 +#define IRP_SYNCHRONOUS_API 0x0004 +#define IRP_ASSOCIATED_IRP 0x0008 +#define IRP_BUFFERED_IO 0x0010 +#define IRP_DEALLOCATE_BUFFER 0x0020 +#define IRP_INPUT_OPERATION 0x0040 +#define IRP_SYNCHRONOUS_PAGING_IO 0x0040 +#define IRP_CREATE_OPERATION 0x0080 +#define IRP_READ_OPERATION 0x0100 +#define IRP_WRITE_OPERATION 0x0200 +#define IRP_CLOSE_OPERATION 0x0400 +#define IRP_DEFER_IO_COMPLETION 0x0800 +#define IRP_OB_QUERY_NAME 0x1000 +#define IRP_HOLD_DEVICE_QUEUE 0x2000 + +typedef VOID (WINAPI *PINTERFACE_REFERENCE)( + PVOID Context); + +typedef VOID (WINAPI *PINTERFACE_DEREFERENCE)( + PVOID Context); + +typedef struct _INTERFACE { + USHORT Size; + USHORT Version; + PVOID Context; + PINTERFACE_REFERENCE InterfaceReference; + PINTERFACE_DEREFERENCE InterfaceDereference; +} INTERFACE, *PINTERFACE; + +typedef struct _SECTION_OBJECT_POINTERS { + PVOID DataSectionObject; + PVOID SharedCacheMap; + PVOID ImageSectionObject; +} SECTION_OBJECT_POINTERS, *PSECTION_OBJECT_POINTERS; + +typedef struct _IO_COMPLETION_CONTEXT { + PVOID Port; + PVOID Key; +} IO_COMPLETION_CONTEXT, *PIO_COMPLETION_CONTEXT; + +typedef enum _DEVICE_RELATION_TYPE { + BusRelations, + EjectionRelations, + PowerRelations, + RemovalRelations, + TargetDeviceRelation, + SingleBusRelations +} DEVICE_RELATION_TYPE, *PDEVICE_RELATION_TYPE; + +typedef struct _FILE_OBJECT { + CSHORT Type; + CSHORT Size; + PDEVICE_OBJECT DeviceObject; + PVPB Vpb; + PVOID FsContext; + PVOID FsContext2; + PSECTION_OBJECT_POINTERS SectionObjectPointer; + PVOID PrivateCacheMap; + NTSTATUS FinalStatus; + struct _FILE_OBJECT *RelatedFileObject; + BOOLEAN LockOperation; + BOOLEAN DeletePending; + BOOLEAN ReadAccess; + BOOLEAN WriteAccess; + BOOLEAN DeleteAccess; + BOOLEAN SharedRead; + BOOLEAN SharedWrite; + BOOLEAN SharedDelete; + ULONG Flags; + UNICODE_STRING FileName; + LARGE_INTEGER CurrentByteOffset; + ULONG Waiters; + ULONG Busy; + PVOID LastLock; + KEVENT Lock; + KEVENT Event; + PIO_COMPLETION_CONTEXT CompletionContext; +} FILE_OBJECT; +typedef struct _FILE_OBJECT *PFILE_OBJECT; + +#define INITIAL_PRIVILEGE_COUNT 3 + +typedef struct _INITIAL_PRIVILEGE_SET { + ULONG PrivilegeCount; + ULONG Control; + LUID_AND_ATTRIBUTES Privilege[INITIAL_PRIVILEGE_COUNT]; +} INITIAL_PRIVILEGE_SET, * PINITIAL_PRIVILEGE_SET; + +typedef struct _SECURITY_SUBJECT_CONTEXT { + PACCESS_TOKEN ClientToken; + SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; + PACCESS_TOKEN PrimaryToken; + PVOID ProcessAuditId; +} SECURITY_SUBJECT_CONTEXT, *PSECURITY_SUBJECT_CONTEXT; + +typedef struct _ACCESS_STATE { + LUID OperationID; + BOOLEAN SecurityEvaluated; + BOOLEAN GenerateAudit; + BOOLEAN GenerateOnClose; + BOOLEAN PrivilegesAllocated; + ULONG Flags; + ACCESS_MASK RemainingDesiredAccess; + ACCESS_MASK PreviouslyGrantedAccess; + ACCESS_MASK OriginalDesiredAccess; + SECURITY_SUBJECT_CONTEXT SubjectSecurityContext; + PSECURITY_DESCRIPTOR SecurityDescriptor; + PVOID AuxData; + union { + INITIAL_PRIVILEGE_SET InitialPrivilegeSet; + PRIVILEGE_SET PrivilegeSet; + } Privileges; + + BOOLEAN AuditPrivileges; + UNICODE_STRING ObjectName; + UNICODE_STRING ObjectTypeName; +} ACCESS_STATE, *PACCESS_STATE; + +typedef struct _IO_SECURITY_CONTEXT { + PSECURITY_QUALITY_OF_SERVICE SecurityQos; + PACCESS_STATE AccessState; + ACCESS_MASK DesiredAccess; + ULONG FullCreateOptions; +} IO_SECURITY_CONTEXT, *PIO_SECURITY_CONTEXT; + +typedef struct _DEVICE_CAPABILITIES { + USHORT Size; + USHORT Version; + ULONG DeviceD1 : 1; + ULONG DeviceD2 : 1; + ULONG LockSupported : 1; + ULONG EjectSupported : 1; + ULONG Removable : 1; + ULONG DockDevice : 1; + ULONG UniqueID : 1; + ULONG SilentInstall : 1; + ULONG RawDeviceOK : 1; + ULONG SurpriseRemovalOK : 1; + ULONG WakeFromD0 : 1; + ULONG WakeFromD1 : 1; + ULONG WakeFromD2 : 1; + ULONG WakeFromD3 : 1; + ULONG HardwareDisabled : 1; + ULONG NonDynamic : 1; + ULONG WarmEjectSupported : 1; + ULONG NoDisplayInUI : 1; + ULONG Reserved : 14; + ULONG Address; + ULONG UINumber; + DEVICE_POWER_STATE DeviceState[PowerSystemMaximum]; + SYSTEM_POWER_STATE SystemWake; + DEVICE_POWER_STATE DeviceWake; + ULONG D1Latency; + ULONG D2Latency; + ULONG D3Latency; +} DEVICE_CAPABILITIES, *PDEVICE_CAPABILITIES; + +typedef struct _DEVICE_INTERFACE_CHANGE_NOTIFICATION { + USHORT Version; + USHORT Size; + GUID Event; + GUID InterfaceClassGuid; + PUNICODE_STRING SymbolicLinkName; +} DEVICE_INTERFACE_CHANGE_NOTIFICATION, *PDEVICE_INTERFACE_CHANGE_NOTIFICATION; + +typedef enum _INTERFACE_TYPE { + InterfaceTypeUndefined = -1, + Internal, + Isa, + Eisa, + MicroChannel, + TurboChannel, + PCIBus, + VMEBus, + NuBus, + PCMCIABus, + CBus, + MPIBus, + MPSABus, + ProcessorInternal, + InternalPowerBus, + PNPISABus, + PNPBus, + MaximumInterfaceType +} INTERFACE_TYPE, *PINTERFACE_TYPE; + +typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS; + +#define IO_RESOURCE_PREFERRED 0x01 +#define IO_RESOURCE_DEFAULT 0x02 +#define IO_RESOURCE_ALTERNATIVE 0x08 + +typedef struct _IO_RESOURCE_DESCRIPTOR { + UCHAR Option; + UCHAR Type; + UCHAR ShareDisposition; + UCHAR Spare1; + USHORT Flags; + USHORT Spare2; + union { + struct { + ULONG Length; + ULONG Alignment; + PHYSICAL_ADDRESS MinimumAddress; + PHYSICAL_ADDRESS MaximumAddress; + } Port; + struct { + ULONG Length; + ULONG Alignment; + PHYSICAL_ADDRESS MinimumAddress; + PHYSICAL_ADDRESS MaximumAddress; + } Memory; + struct { + ULONG MinimumVector; + ULONG MaximumVector; + } Interrupt; + struct { + ULONG MinimumChannel; + ULONG MaximumChannel; + } Dma; + struct { + ULONG Length; + ULONG Alignment; + PHYSICAL_ADDRESS MinimumAddress; + PHYSICAL_ADDRESS MaximumAddress; + } Generic; + struct { + ULONG Data[3]; + } DevicePrivate; + struct { + ULONG Length; + ULONG MinBusNumber; + ULONG MaxBusNumber; + ULONG Reserved; + } BusNumber; + struct { + ULONG Priority; + ULONG Reserved1; + ULONG Reserved2; + } ConfigData; + } u; +} IO_RESOURCE_DESCRIPTOR, *PIO_RESOURCE_DESCRIPTOR; + +typedef struct _IO_RESOURCE_LIST { + USHORT Version; + USHORT Revision; + ULONG Count; + IO_RESOURCE_DESCRIPTOR Descriptors[1]; +} IO_RESOURCE_LIST, *PIO_RESOURCE_LIST; + +typedef struct _IO_RESOURCE_REQUIREMENTS_LIST { + ULONG ListSize; + INTERFACE_TYPE InterfaceType; + ULONG BusNumber; + ULONG SlotNumber; + ULONG Reserved[3]; + ULONG AlternativeLists; + IO_RESOURCE_LIST List[1]; +} IO_RESOURCE_REQUIREMENTS_LIST, *PIO_RESOURCE_REQUIREMENTS_LIST; + +typedef enum _BUS_QUERY_ID_TYPE { + BusQueryDeviceID, + BusQueryHardwareIDs, + BusQueryCompatibleIDs, + BusQueryInstanceID, + BusQueryDeviceSerialNumber +} BUS_QUERY_ID_TYPE, *PBUS_QUERY_ID_TYPE; + +typedef enum _CREATE_FILE_TYPE { + CreateFileTypeNone, + CreateFileTypeNamedPipe, + CreateFileTypeMailslot +} CREATE_FILE_TYPE; + +typedef enum { + DevicePropertyDeviceDescription, + DevicePropertyHardwareID, + DevicePropertyCompatibleIDs, + DevicePropertyBootConfiguration, + DevicePropertyBootConfigurationTranslated, + DevicePropertyClassName, + DevicePropertyClassGuid, + DevicePropertyDriverKeyName, + DevicePropertyManufacturer, + DevicePropertyFriendlyName, + DevicePropertyLocationInformation, + DevicePropertyPhysicalDeviceObjectName, + DevicePropertyBusTypeGuid, + DevicePropertyLegacyBusType, + DevicePropertyBusNumber, + DevicePropertyEnumeratorName, + DevicePropertyAddress, + DevicePropertyUINumber, + DevicePropertyInstallState, + DevicePropertyRemovalPolicy +} DEVICE_REGISTRY_PROPERTY; + +typedef enum _DEVICE_TEXT_TYPE { + DeviceTextDescription, + DeviceTextLocationInformation +} DEVICE_TEXT_TYPE, *PDEVICE_TEXT_TYPE; + +typedef enum _DEVICE_USAGE_NOTIFICATION_TYPE { + DeviceUsageTypeUndefined, + DeviceUsageTypePaging, + DeviceUsageTypeHibernation, + DeviceUsageTypeDumpFile +} DEVICE_USAGE_NOTIFICATION_TYPE; + +typedef struct _POWER_SEQUENCE { + ULONG SequenceD1; + ULONG SequenceD2; + ULONG SequenceD3; +} POWER_SEQUENCE, *PPOWER_SEQUENCE; + +typedef enum _POWER_STATE_TYPE { + SystemPowerState, + DevicePowerState +} POWER_STATE_TYPE, *PPOWER_STATE_TYPE; + +typedef union _POWER_STATE { + SYSTEM_POWER_STATE SystemState; + DEVICE_POWER_STATE DeviceState; +} POWER_STATE, *PPOWER_STATE; + +typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTOR { + UCHAR Type; + UCHAR ShareDisposition; + USHORT Flags; + union { + struct { + PHYSICAL_ADDRESS Start; + ULONG Length; + } Generic; + struct { + PHYSICAL_ADDRESS Start; + ULONG Length; + } Port; + struct { + ULONG Level; + ULONG Vector; + ULONG Affinity; + } Interrupt; + struct { + PHYSICAL_ADDRESS Start; + ULONG Length; + } Memory; + struct { + ULONG Channel; + ULONG Port; + ULONG Reserved1; + } Dma; + struct { + ULONG Data[3]; + } DevicePrivate; + struct { + ULONG Start; + ULONG Length; + ULONG Reserved; + } BusNumber; + struct { + ULONG DataSize; + ULONG Reserved1; + ULONG Reserved2; + } DeviceSpecificData; + } u; +} CM_PARTIAL_RESOURCE_DESCRIPTOR, *PCM_PARTIAL_RESOURCE_DESCRIPTOR; + +typedef struct _CM_PARTIAL_RESOURCE_LIST { + USHORT Version; + USHORT Revision; + ULONG Count; + CM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptors[1]; +} CM_PARTIAL_RESOURCE_LIST, *PCM_PARTIAL_RESOURCE_LIST; + +typedef struct _CM_FULL_RESOURCE_DESCRIPTOR { + INTERFACE_TYPE InterfaceType; + ULONG BusNumber; + CM_PARTIAL_RESOURCE_LIST PartialResourceList; +} CM_FULL_RESOURCE_DESCRIPTOR, *PCM_FULL_RESOURCE_DESCRIPTOR; + +typedef struct _CM_RESOURCE_LIST { + ULONG Count; + CM_FULL_RESOURCE_DESCRIPTOR List[1]; +} CM_RESOURCE_LIST, *PCM_RESOURCE_LIST; + +typedef NTSTATUS (WINAPI *PIO_COMPLETION_ROUTINE)( + IN struct _DEVICE_OBJECT *DeviceObject, + IN struct _IRP *Irp, + IN PVOID Context); + +#define SL_PENDING_RETURNED 0x01 +#define SL_INVOKE_ON_CANCEL 0x20 +#define SL_INVOKE_ON_SUCCESS 0x40 +#define SL_INVOKE_ON_ERROR 0x80 + +#if !defined(_WIN64) +#include +#endif +typedef struct _IO_STACK_LOCATION { + UCHAR MajorFunction; + UCHAR MinorFunction; + UCHAR Flags; + UCHAR Control; + union { + struct { + PIO_SECURITY_CONTEXT SecurityContext; + ULONG Options; + USHORT POINTER_ALIGNMENT FileAttributes; + USHORT ShareAccess; + ULONG POINTER_ALIGNMENT EaLength; + } Create; + struct { + ULONG Length; + ULONG POINTER_ALIGNMENT Key; + LARGE_INTEGER ByteOffset; + } Read; + struct { + ULONG Length; + ULONG POINTER_ALIGNMENT Key; + LARGE_INTEGER ByteOffset; + } Write; + struct { + ULONG Length; + FILE_INFORMATION_CLASS POINTER_ALIGNMENT FileInformationClass; + } QueryFile; + struct { + ULONG Length; + FILE_INFORMATION_CLASS POINTER_ALIGNMENT FileInformationClass; + PFILE_OBJECT FileObject; + union { + struct { + BOOLEAN ReplaceIfExists; + BOOLEAN AdvanceOnly; + } DUMMYSTRUCTNAME; + ULONG ClusterCount; + HANDLE DeleteHandle; + } DUMMYUNIONNAME; + } SetFile; + struct { + ULONG Length; + FS_INFORMATION_CLASS POINTER_ALIGNMENT FsInformationClass; + } QueryVolume; + struct { + ULONG OutputBufferLength; + ULONG POINTER_ALIGNMENT InputBufferLength; + ULONG POINTER_ALIGNMENT IoControlCode; + PVOID Type3InputBuffer; + } DeviceIoControl; + struct { + SECURITY_INFORMATION SecurityInformation; + ULONG POINTER_ALIGNMENT Length; + } QuerySecurity; + struct { + SECURITY_INFORMATION SecurityInformation; + PSECURITY_DESCRIPTOR SecurityDescriptor; + } SetSecurity; + struct { + PVPB Vpb; + PDEVICE_OBJECT DeviceObject; + } MountVolume; + struct { + PVPB Vpb; + PDEVICE_OBJECT DeviceObject; + } VerifyVolume; + struct { + struct _SCSI_REQUEST_BLOCK *Srb; + } Scsi; + struct { + DEVICE_RELATION_TYPE Type; + } QueryDeviceRelations; + struct { + const GUID *InterfaceType; + USHORT Size; + USHORT Version; + PINTERFACE Interface; + PVOID InterfaceSpecificData; + } QueryInterface; + struct { + PDEVICE_CAPABILITIES Capabilities; + } DeviceCapabilities; + struct { + PIO_RESOURCE_REQUIREMENTS_LIST IoResourceRequirementList; + } FilterResourceRequirements; + struct { + ULONG WhichSpace; + PVOID Buffer; + ULONG Offset; + ULONG POINTER_ALIGNMENT Length; + } ReadWriteConfig; + struct { + BOOLEAN Lock; + } SetLock; + struct { + BUS_QUERY_ID_TYPE IdType; + } QueryId; + struct { + DEVICE_TEXT_TYPE DeviceTextType; + LCID POINTER_ALIGNMENT LocaleId; + } QueryDeviceText; + struct { + BOOLEAN InPath; + BOOLEAN Reserved[3]; + DEVICE_USAGE_NOTIFICATION_TYPE POINTER_ALIGNMENT Type; + } UsageNotification; + struct { + SYSTEM_POWER_STATE PowerState; + } WaitWake; + struct { + PPOWER_SEQUENCE PowerSequence; + } PowerSequence; + struct { + ULONG SystemContext; + POWER_STATE_TYPE POINTER_ALIGNMENT Type; + POWER_STATE POINTER_ALIGNMENT State; + POWER_ACTION POINTER_ALIGNMENT ShutdownType; + } Power; + struct { + PCM_RESOURCE_LIST AllocatedResources; + PCM_RESOURCE_LIST AllocatedResourcesTranslated; + } StartDevice; + struct { + ULONG_PTR ProviderId; + PVOID DataPath; + ULONG BufferSize; + PVOID Buffer; + } WMI; + struct { + PVOID Argument1; + PVOID Argument2; + PVOID Argument3; + PVOID Argument4; + } Others; + } Parameters; + PDEVICE_OBJECT DeviceObject; + PFILE_OBJECT FileObject; + PIO_COMPLETION_ROUTINE CompletionRoutine; + PVOID Context; +} IO_STACK_LOCATION, *PIO_STACK_LOCATION; +#if !defined(_WIN64) +#include +#endif + +/* MDL definitions */ + +#define MDL_MAPPED_TO_SYSTEM_VA 0x0001 +#define MDL_PAGES_LOCKED 0x0002 +#define MDL_SOURCE_IS_NONPAGED_POOL 0x0004 +#define MDL_ALLOCATED_FIXED_SIZE 0x0008 +#define MDL_PARTIAL 0x0010 +#define MDL_PARTIAL_HAS_BEEN_MAPPED 0x0020 +#define MDL_IO_PAGE_READ 0x0040 +#define MDL_WRITE_OPERATION 0x0080 +#define MDL_PARENT_MAPPED_SYSTEM_VA 0x0100 +#define MDL_FREE_EXTRA_PTES 0x0200 +#define MDL_DESCRIBES_AWE 0x0400 +#define MDL_IO_SPACE 0x0800 +#define MDL_NETWORK_HEADER 0x1000 +#define MDL_MAPPING_CAN_FAIL 0x2000 +#define MDL_ALLOCATED_MUST_SUCCEED 0x4000 +#define MDL_INTERNAL 0x8000 + +#define MDL_MAPPING_FLAGS (MDL_MAPPED_TO_SYSTEM_VA | \ + MDL_PAGES_LOCKED | \ + MDL_SOURCE_IS_NONPAGED_POOL | \ + MDL_PARTIAL_HAS_BEEN_MAPPED | \ + MDL_PARENT_MAPPED_SYSTEM_VA | \ + MDL_SYSTEM_VA | \ + MDL_IO_SPACE ) + +typedef struct _MDL { + struct _MDL *Next; + CSHORT Size; + CSHORT MdlFlags; + struct _EPROCESS *Process; + PVOID MappedSystemVa; + PVOID StartVa; + ULONG ByteCount; + ULONG ByteOffset; +} MDL, *PMDL; + +typedef MDL *PMDLX; +typedef ULONG PFN_NUMBER, *PPFN_NUMBER; + +static inline void MmInitializeMdl(MDL *mdl, void *va, SIZE_T length) +{ + mdl->Next = NULL; + mdl->Size = sizeof(MDL) + sizeof(PFN_NUMBER) * ADDRESS_AND_SIZE_TO_SPAN_PAGES(va, length); + mdl->MdlFlags = 0; + mdl->StartVa = (void *)PAGE_ALIGN(va); + mdl->ByteOffset = BYTE_OFFSET(va); + mdl->ByteCount = length; +} + +typedef struct _KTIMER { + DISPATCHER_HEADER Header; + ULARGE_INTEGER DueTime; + LIST_ENTRY TimerListEntry; + struct _KDPC *Dpc; + LONG Period; +} KTIMER, *PKTIMER; + +typedef struct _KSYSTEM_TIME { + ULONG LowPart; + LONG High1Time; + LONG High2Time; +} KSYSTEM_TIME, *PKSYSTEM_TIME; + +typedef enum _NT_PRODUCT_TYPE { + NtProductWinNt = 1, + NtProductLanManNt, + NtProductServer +} NT_PRODUCT_TYPE, *PNT_PRODUCT_TYPE; + +#define PROCESSOR_FEATURE_MAX 64 + +typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE +{ + StandardDesign, + NEC98x86, + EndAlternatives +} ALTERNATIVE_ARCHITECTURE_TYPE; + +#define NX_SUPPORT_POLICY_ALWAYSOFF 0 +#define NX_SUPPORT_POLICY_ALWAYSON 1 +#define NX_SUPPORT_POLICY_OPTIN 2 +#define NX_SUPPORT_POLICY_OPTOUT 3 + +#define MAX_WOW64_SHARED_ENTRIES 16 + +typedef struct _KUSER_SHARED_DATA { + ULONG TickCountLowDeprecated; + ULONG TickCountMultiplier; + volatile KSYSTEM_TIME InterruptTime; + volatile KSYSTEM_TIME SystemTime; + volatile KSYSTEM_TIME TimeZoneBias; + USHORT ImageNumberLow; + USHORT ImageNumberHigh; + WCHAR NtSystemRoot[260]; + ULONG MaxStackTraceDepth; + ULONG CryptoExponent; + ULONG TimeZoneId; + ULONG LargePageMinimum; + ULONG Reserved2[7]; + NT_PRODUCT_TYPE NtProductType; + BOOLEAN ProductTypeIsValid; + ULONG NtMajorVersion; + ULONG NtMinorVersion; + BOOLEAN ProcessorFeatures[PROCESSOR_FEATURE_MAX]; + ULONG Reserved1; + ULONG Reserved3; + volatile ULONG TimeSlip; + ALTERNATIVE_ARCHITECTURE_TYPE AlternativeArchitecture; + LARGE_INTEGER SystemExpirationDate; + ULONG SuiteMask; + BOOLEAN KdDebuggerEnabled; + UCHAR NXSupportPolicy; + volatile ULONG ActiveConsoleId; + volatile ULONG DismountCount; + ULONG ComPlusPackage; + ULONG LastSystemRITEventTickCount; + ULONG NumberOfPhysicalPages; + BOOLEAN SafeBootMode; + ULONG TraceLogging; + ULONGLONG TestRetInstruction; + ULONG SystemCall; + ULONG SystemCallReturn; + ULONGLONG SystemCallPad[3]; + union { + volatile KSYSTEM_TIME TickCount; + volatile ULONG64 TickCountQuad; + } DUMMYUNIONNAME; + ULONG Cookie; + ULONG Wow64SharedInformation[MAX_WOW64_SHARED_ENTRIES]; +} KSHARED_USER_DATA, *PKSHARED_USER_DATA; + +typedef enum _MEMORY_CACHING_TYPE { + MmNonCached = 0, + MmCached = 1, + MmWriteCombined = 2, + MmHardwareCoherentCached = 3, + MmNonCachedUnordered = 4, + MmUSWCCached = 5, + MmMaximumCacheType = 6 +} MEMORY_CACHING_TYPE; + +typedef enum _MM_PAGE_PRIORITY { + LowPagePriority, + NormalPagePriority = 16, + HighPagePriority = 32 +} MM_PAGE_PRIORITY; + +typedef enum _MM_SYSTEM_SIZE +{ + MmSmallSystem, + MmMediumSystem, + MmLargeSystem +} MM_SYSTEMSIZE; + +typedef struct _IO_REMOVE_LOCK_COMMON_BLOCK { + BOOLEAN Removed; + BOOLEAN Reserved[3]; + LONG IoCount; + KEVENT RemoveEvent; +} IO_REMOVE_LOCK_COMMON_BLOCK; + +typedef struct _IO_REMOVE_LOCK_TRACKING_BLOCK *PIO_REMOVE_LOCK_TRACKING_BLOCK; + +typedef struct _IO_REMOVE_LOCK_DBG_BLOCK { + LONG Signature; + LONG HighWatermark; + LONGLONG MaxLockedTicks; + LONG AllocateTag; + LIST_ENTRY LockList; + KSPIN_LOCK Spin; + LONG LowMemoryCount; + ULONG Reserved1[4]; + PVOID Reserved2; + PIO_REMOVE_LOCK_TRACKING_BLOCK Blocks; +} IO_REMOVE_LOCK_DBG_BLOCK; + +typedef struct _IO_REMOVE_LOCK { + IO_REMOVE_LOCK_COMMON_BLOCK Common; + IO_REMOVE_LOCK_DBG_BLOCK Dbg; +} IO_REMOVE_LOCK, *PIO_REMOVE_LOCK; + +typedef enum { + IoReadAccess, + IoWriteAccess, + IoModifyAccess +} LOCK_OPERATION; + +typedef struct _CALLBACK_OBJECT +{ + ULONG Signature; + KSPIN_LOCK Lock; + LIST_ENTRY RegisteredCallbacks; + BOOLEAN AllowMultipleCallbacks; + UCHAR reserved[3]; +} CALLBACK_OBJECT, *PCALLBACK_OBJECT; + +typedef struct _KSPIN_LOCK_QUEUE { + struct _KSPIN_LOCK_QUEUE * volatile Next; + volatile PKSPIN_LOCK Lock; +} KSPIN_LOCK_QUEUE, *PKSPIN_LOCK_QUEUE; + +typedef struct _KLOCK_QUEUE_HANDLE { + KSPIN_LOCK_QUEUE LockQueue; + KIRQL OldIrql; +} KLOCK_QUEUE_HANDLE, *PKLOCK_QUEUE_HANDLE; + +typedef NTSTATUS (NTAPI EX_CALLBACK_FUNCTION)(void *CallbackContext, void *Argument1, void *Argument2); +typedef EX_CALLBACK_FUNCTION *PEX_CALLBACK_FUNCTION; + +NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle); + +#ifdef NONAMELESSUNION +# ifdef NONAMELESSSTRUCT +# define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.s.u2.CurrentStackLocation) +# define IoGetNextIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.s.u2.CurrentStackLocation - 1) + static inline void IoSkipCurrentIrpStackLocation(IRP *irp) {irp->Tail.Overlay.s.u2.CurrentStackLocation++; irp->CurrentLocation++;} +# else +# define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.u2.CurrentStackLocation) +# define IoGetNextIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.u2.CurrentStackLocation - 1) + static inline void IoSkipCurrentIrpStackLocation(IRP *irp) {irp->Tail.Overlay.u2.CurrentStackLocation++; irp->CurrentLocation++;} +# endif +#else +# ifdef NONAMELESSSTRUCT +# define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.s.CurrentStackLocation) +# define IoGetNextIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.s.CurrentStackLocation - 1) + static inline void IoSkipCurrentIrpStackLocation(IRP *irp) {irp->Tail.Overlay.s.CurrentStackLocation++; irp->CurrentLocation++;} +# else +# define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.CurrentStackLocation) +# define IoGetNextIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.CurrentStackLocation - 1) + static inline void IoSkipCurrentIrpStackLocation(IRP *irp) {irp->Tail.Overlay.CurrentStackLocation++; irp->CurrentLocation++;} +# endif +#endif + +static inline void IoSetCompletionRoutine(IRP *irp, PIO_COMPLETION_ROUTINE routine, void *context, + BOOLEAN on_success, BOOLEAN on_error, BOOLEAN on_cancel) +{ + IO_STACK_LOCATION *irpsp = IoGetNextIrpStackLocation(irp); + irpsp->CompletionRoutine = routine; + irpsp->Context = context; + irpsp->Control = 0; + if (on_success) irpsp->Control |= SL_INVOKE_ON_SUCCESS; + if (on_error) irpsp->Control |= SL_INVOKE_ON_ERROR; + if (on_cancel) irpsp->Control |= SL_INVOKE_ON_CANCEL; +} + +#define KernelMode 0 +#define UserMode 1 + +/* directory object access rights */ +#define DIRECTORY_QUERY 0x0001 +#define DIRECTORY_TRAVERSE 0x0002 +#define DIRECTORY_CREATE_OBJECT 0x0004 +#define DIRECTORY_CREATE_SUBDIRECTORY 0x0008 +#define DIRECTORY_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0xF) + +/* symbolic link access rights */ +#define SYMBOLIC_LINK_QUERY 0x0001 +#define SYMBOLIC_LINK_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0x1) + +PVOID WINAPI ExAllocatePool(POOL_TYPE,SIZE_T); +PVOID WINAPI ExAllocatePoolWithQuota(POOL_TYPE,SIZE_T); +PVOID WINAPI ExAllocatePoolWithTag(POOL_TYPE,SIZE_T,ULONG); +PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG); +void WINAPI ExFreePool(PVOID); +void WINAPI ExFreePoolWithTag(PVOID,ULONG); + +NTSTATUS WINAPI IoAllocateDriverObjectExtension(PDRIVER_OBJECT,PVOID,ULONG,PVOID*); +PVOID WINAPI IoAllocateErrorLogEntry(PVOID,UCHAR); +PIRP WINAPI IoAllocateIrp(CCHAR,BOOLEAN); +PMDL WINAPI IoAllocateMdl(PVOID,ULONG,BOOLEAN,BOOLEAN,IRP*); +PDEVICE_OBJECT WINAPI IoAttachDeviceToDeviceStack(PDEVICE_OBJECT,PDEVICE_OBJECT); +PIRP WINAPI IoBuildDeviceIoControlRequest(ULONG,DEVICE_OBJECT*,PVOID,ULONG,PVOID,ULONG,BOOLEAN,PKEVENT,IO_STATUS_BLOCK*); +PIRP WINAPI IoBuildSynchronousFsdRequest(ULONG,DEVICE_OBJECT*,PVOID,ULONG,PLARGE_INTEGER,PKEVENT,IO_STATUS_BLOCK*); +NTSTATUS WINAPI IoCallDriver(DEVICE_OBJECT*,IRP*); +VOID WINAPI IoCompleteRequest(IRP*,UCHAR); +NTSTATUS WINAPI IoCreateDevice(DRIVER_OBJECT*,ULONG,UNICODE_STRING*,DEVICE_TYPE,ULONG,BOOLEAN,DEVICE_OBJECT**); +NTSTATUS WINAPI IoCreateDriver(UNICODE_STRING*,PDRIVER_INITIALIZE); +NTSTATUS WINAPI IoCreateSymbolicLink(UNICODE_STRING*,UNICODE_STRING*); +void WINAPI IoDeleteDevice(DEVICE_OBJECT*); +void WINAPI IoDeleteDriver(DRIVER_OBJECT*); +NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*); +void WINAPI IoFreeIrp(IRP*); +void WINAPI IoFreeMdl(MDL*); +PEPROCESS WINAPI IoGetCurrentProcess(void); +NTSTATUS WINAPI IoGetDeviceInterfaces(const GUID*,PDEVICE_OBJECT,ULONG,PWSTR*); +NTSTATUS WINAPI IoGetDeviceObjectPointer(UNICODE_STRING*,ACCESS_MASK,PFILE_OBJECT*,PDEVICE_OBJECT*); +NTSTATUS WINAPI IoGetDeviceProperty(PDEVICE_OBJECT,DEVICE_REGISTRY_PROPERTY,ULONG,PVOID,PULONG); +PVOID WINAPI IoGetDriverObjectExtension(PDRIVER_OBJECT,PVOID); +PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject(PFILE_OBJECT); +void WINAPI IoInitializeIrp(IRP*,USHORT,CCHAR); +VOID WINAPI IoInitializeRemoveLockEx(PIO_REMOVE_LOCK,ULONG,ULONG,ULONG,ULONG); +void WINAPI IoInvalidateDeviceRelations(PDEVICE_OBJECT,DEVICE_RELATION_TYPE); +NTSTATUS WINAPI IoWMIRegistrationControl(PDEVICE_OBJECT,ULONG); + +PKTHREAD WINAPI KeGetCurrentThread(void); +void WINAPI KeQuerySystemTime(LARGE_INTEGER*); +void WINAPI KeQueryTickCount(LARGE_INTEGER*); +ULONG WINAPI KeQueryTimeIncrement(void); +LONG WINAPI KeReleaseSemaphore(PRKSEMAPHORE,KPRIORITY,LONG,BOOLEAN); +LONG WINAPI KeResetEvent(PRKEVENT); +LONG WINAPI KeSetEvent(PRKEVENT,KPRIORITY,BOOLEAN); +KPRIORITY WINAPI KeSetPriorityThread(PKTHREAD,KPRIORITY); +void WINAPI KeSetSystemAffinityThread(KAFFINITY); + +PVOID WINAPI MmAllocateContiguousMemory(SIZE_T,PHYSICAL_ADDRESS); +PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T); +PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,SIZE_T); +void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T); +PVOID WINAPI MmMapLockedPagesSpecifyCache(PMDL,KPROCESSOR_MODE,MEMORY_CACHING_TYPE,PVOID,ULONG,ULONG); +MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void); + +static inline void *MmGetSystemAddressForMdlSafe(MDL *mdl, ULONG priority) +{ + if (mdl->MdlFlags & (MDL_MAPPED_TO_SYSTEM_VA | MDL_SOURCE_IS_NONPAGED_POOL)) + return mdl->MappedSystemVa; + else + return MmMapLockedPagesSpecifyCache(mdl, KernelMode, MmCached, NULL, FALSE, priority); +} + +void WINAPI ObDereferenceObject(void*); +NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION); +NTSTATUS WINAPI ObReferenceObjectByName(UNICODE_STRING*,ULONG,ACCESS_STATE*,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,void*,void**); + +POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT,POWER_STATE_TYPE,POWER_STATE); +NTSTATUS WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID); +#define PsGetCurrentProcess() IoGetCurrentProcess() +#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread()) +HANDLE WINAPI PsGetCurrentProcessId(void); +HANDLE WINAPI PsGetCurrentThreadId(void); +BOOLEAN WINAPI PsGetVersion(ULONG*,ULONG*,ULONG*,UNICODE_STRING*); +NTSTATUS WINAPI PsTerminateSystemThread(NTSTATUS); + +NTSTATUS WINAPI ZwAddBootEntry(PUNICODE_STRING,PUNICODE_STRING); +NTSTATUS WINAPI ZwAccessCheckAndAuditAlarm(PUNICODE_STRING,HANDLE,PUNICODE_STRING,PUNICODE_STRING,PSECURITY_DESCRIPTOR,ACCESS_MASK,PGENERIC_MAPPING,BOOLEAN,PACCESS_MASK,PBOOLEAN,PBOOLEAN); +NTSTATUS WINAPI ZwAdjustPrivilegesToken(HANDLE,BOOLEAN,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD); +NTSTATUS WINAPI ZwAlertThread(HANDLE ThreadHandle); +NTSTATUS WINAPI ZwAllocateVirtualMemory(HANDLE,PVOID*,ULONG,SIZE_T*,ULONG,ULONG); +NTSTATUS WINAPI ZwCancelIoFile(HANDLE,PIO_STATUS_BLOCK); +NTSTATUS WINAPI ZwCancelTimer(HANDLE, BOOLEAN*); +NTSTATUS WINAPI ZwClearEvent(HANDLE); +NTSTATUS WINAPI ZwClose(HANDLE); +NTSTATUS WINAPI ZwCloseObjectAuditAlarm(PUNICODE_STRING,HANDLE,BOOLEAN); +NTSTATUS WINAPI ZwConnectPort(PHANDLE,PUNICODE_STRING,PSECURITY_QUALITY_OF_SERVICE,PLPC_SECTION_WRITE,PLPC_SECTION_READ,PULONG,PVOID,PULONG); +NTSTATUS WINAPI ZwCreateDirectoryObject(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES); +NTSTATUS WINAPI ZwCreateEvent(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *,BOOLEAN,BOOLEAN); +NTSTATUS WINAPI ZwCreateFile(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,PLARGE_INTEGER,ULONG,ULONG,ULONG,ULONG,PVOID,ULONG); +NTSTATUS WINAPI ZwCreateKey(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,const UNICODE_STRING*,ULONG,PULONG); +NTSTATUS WINAPI ZwCreateSection(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const LARGE_INTEGER*,ULONG,ULONG,HANDLE); +NTSTATUS WINAPI ZwCreateSymbolicLinkObject(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PUNICODE_STRING); +NTSTATUS WINAPI ZwCreateTimer(HANDLE*, ACCESS_MASK, const OBJECT_ATTRIBUTES*, TIMER_TYPE); +NTSTATUS WINAPI ZwDeleteAtom(RTL_ATOM); +NTSTATUS WINAPI ZwDeleteFile(POBJECT_ATTRIBUTES); +NTSTATUS WINAPI ZwDeleteKey(HANDLE); +NTSTATUS WINAPI ZwDeleteValueKey(HANDLE,const UNICODE_STRING *); +NTSTATUS WINAPI ZwDeviceIoControlFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,PVOID,ULONG,PVOID,ULONG); +NTSTATUS WINAPI ZwDisplayString(PUNICODE_STRING); +NTSTATUS WINAPI ZwDuplicateObject(HANDLE,HANDLE,HANDLE,PHANDLE,ACCESS_MASK,ULONG,ULONG); +NTSTATUS WINAPI ZwDuplicateToken(HANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE); +NTSTATUS WINAPI ZwEnumerateKey(HANDLE,ULONG,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *); +NTSTATUS WINAPI ZwEnumerateValueKey(HANDLE,ULONG,KEY_VALUE_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSTATUS WINAPI ZwFlushInstructionCache(HANDLE,LPCVOID,SIZE_T); +NTSTATUS WINAPI ZwFlushKey(HANDLE); +NTSTATUS WINAPI ZwFlushVirtualMemory(HANDLE,LPCVOID*,SIZE_T*,ULONG); +NTSTATUS WINAPI ZwFreeVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG); +NTSTATUS WINAPI ZwFsControlFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,PVOID,ULONG,PVOID,ULONG); +NTSTATUS WINAPI ZwInitiatePowerAction(POWER_ACTION,SYSTEM_POWER_STATE,ULONG,BOOLEAN); +NTSTATUS WINAPI ZwLoadDriver(const UNICODE_STRING *); +NTSTATUS WINAPI ZwLoadKey(const OBJECT_ATTRIBUTES *,OBJECT_ATTRIBUTES *); +NTSTATUS WINAPI ZwLockVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG); +NTSTATUS WINAPI ZwMakeTemporaryObject(HANDLE); +NTSTATUS WINAPI ZwMapViewOfSection(HANDLE,HANDLE,PVOID*,ULONG,SIZE_T,const LARGE_INTEGER*,SIZE_T*,SECTION_INHERIT,ULONG,ULONG); +NTSTATUS WINAPI ZwNotifyChangeKey(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,BOOLEAN,PVOID,ULONG,BOOLEAN); +NTSTATUS WINAPI ZwOpenDirectoryObject(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES); +NTSTATUS WINAPI ZwOpenEvent(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *); +NTSTATUS WINAPI ZwOpenFile(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,ULONG,ULONG); +NTSTATUS WINAPI ZwOpenKey(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *); +NTSTATUS WINAPI ZwOpenProcess(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const CLIENT_ID*); +NTSTATUS WINAPI ZwOpenProcessToken(HANDLE,DWORD,HANDLE *); +NTSTATUS WINAPI ZwOpenSection(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSTATUS WINAPI ZwOpenSymbolicLinkObject(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES); +NTSTATUS WINAPI ZwOpenThread(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const CLIENT_ID*); +NTSTATUS WINAPI ZwOpenThreadToken(HANDLE,DWORD,BOOLEAN,HANDLE *); +NTSTATUS WINAPI ZwOpenTimer(HANDLE*, ACCESS_MASK, const OBJECT_ATTRIBUTES*); +NTSTATUS WINAPI ZwPowerInformation(POWER_INFORMATION_LEVEL,PVOID,ULONG,PVOID,ULONG); +NTSTATUS WINAPI ZwPulseEvent(HANDLE,PULONG); +NTSTATUS WINAPI ZwQueryDefaultLocale(BOOLEAN,LCID*); +NTSTATUS WINAPI ZwQueryDefaultUILanguage(LANGID*); +NTSTATUS WINAPI ZwQueryDirectoryFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS,BOOLEAN,PUNICODE_STRING,BOOLEAN); +NTSTATUS WINAPI ZwQueryDirectoryObject(HANDLE,PDIRECTORY_BASIC_INFORMATION,ULONG,BOOLEAN,BOOLEAN,PULONG,PULONG); +NTSTATUS WINAPI ZwQueryEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,BOOLEAN,PVOID,ULONG,PVOID,BOOLEAN); +NTSTATUS WINAPI ZwQueryFullAttributesFile(const OBJECT_ATTRIBUTES*,FILE_NETWORK_OPEN_INFORMATION*); +NTSTATUS WINAPI ZwQueryInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,LONG,FILE_INFORMATION_CLASS); +NTSTATUS WINAPI ZwQueryInformationThread(HANDLE,THREADINFOCLASS,PVOID,ULONG,PULONG); +NTSTATUS WINAPI ZwQueryInformationToken(HANDLE,DWORD,PVOID,DWORD,LPDWORD); +NTSTATUS WINAPI ZwQueryInstallUILanguage(LANGID*); +NTSTATUS WINAPI ZwQueryKey(HANDLE,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *); +NTSTATUS WINAPI ZwQueryObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG, PULONG); +NTSTATUS WINAPI ZwQuerySecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,ULONG,PULONG); +NTSTATUS WINAPI ZwQuerySection(HANDLE,SECTION_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSTATUS WINAPI ZwQuerySymbolicLinkObject(HANDLE,PUNICODE_STRING,PULONG); +NTSTATUS WINAPI ZwQuerySystemInformation(SYSTEM_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSTATUS WINAPI ZwQueryTimerResolution(PULONG,PULONG,PULONG); +NTSTATUS WINAPI ZwQueryValueKey(HANDLE,const UNICODE_STRING *,KEY_VALUE_INFORMATION_CLASS,void *,DWORD,DWORD *); +NTSTATUS WINAPI ZwQueryVolumeInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FS_INFORMATION_CLASS); +NTSTATUS WINAPI ZwReadFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,PLARGE_INTEGER,PULONG); +NTSTATUS WINAPI ZwReplaceKey(POBJECT_ATTRIBUTES,HANDLE,POBJECT_ATTRIBUTES); +NTSTATUS WINAPI ZwRequestWaitReplyPort(HANDLE,PLPC_MESSAGE,PLPC_MESSAGE); +NTSTATUS WINAPI ZwResetEvent(HANDLE,PULONG); +NTSTATUS WINAPI ZwRestoreKey(HANDLE,HANDLE,ULONG); +NTSTATUS WINAPI ZwSaveKey(HANDLE,HANDLE); +NTSTATUS WINAPI ZwSecureConnectPort(PHANDLE,PUNICODE_STRING,PSECURITY_QUALITY_OF_SERVICE,PLPC_SECTION_WRITE,PSID,PLPC_SECTION_READ,PULONG,PVOID,PULONG); +NTSTATUS WINAPI ZwSetDefaultLocale(BOOLEAN,LCID); +NTSTATUS WINAPI ZwSetDefaultUILanguage(LANGID); +NTSTATUS WINAPI ZwSetEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG); +NTSTATUS WINAPI ZwSetEvent(HANDLE,PULONG); +NTSTATUS WINAPI ZwSetInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS); +NTSTATUS WINAPI ZwSetInformationKey(HANDLE,const int,PVOID,ULONG); +NTSTATUS WINAPI ZwSetInformationObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG); +NTSTATUS WINAPI ZwSetInformationProcess(HANDLE,PROCESS_INFORMATION_CLASS,PVOID,ULONG); +NTSTATUS WINAPI ZwSetInformationThread(HANDLE,THREADINFOCLASS,LPCVOID,ULONG); +NTSTATUS WINAPI ZwSetIoCompletion(HANDLE,ULONG,ULONG,NTSTATUS,ULONG); +NTSTATUS WINAPI ZwSetLdtEntries(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG); +NTSTATUS WINAPI ZwSetSecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +NTSTATUS WINAPI ZwSetSystemInformation(SYSTEM_INFORMATION_CLASS,PVOID,ULONG); +NTSTATUS WINAPI ZwSetSystemTime(const LARGE_INTEGER*,LARGE_INTEGER*); +NTSTATUS WINAPI ZwSetTimer(HANDLE, const LARGE_INTEGER*, PTIMER_APC_ROUTINE, PVOID, BOOLEAN, ULONG, BOOLEAN*); +NTSTATUS WINAPI ZwSetValueKey(HANDLE,const UNICODE_STRING *,ULONG,ULONG,const void *,ULONG); +NTSTATUS WINAPI ZwSetVolumeInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FS_INFORMATION_CLASS); +NTSTATUS WINAPI ZwSuspendThread(HANDLE,PULONG); +NTSTATUS WINAPI ZwTerminateProcess(HANDLE,LONG); +NTSTATUS WINAPI ZwUnloadDriver(const UNICODE_STRING *); +NTSTATUS WINAPI ZwUnloadKey(HANDLE); +NTSTATUS WINAPI ZwUnmapViewOfSection(HANDLE,PVOID); +NTSTATUS WINAPI ZwWaitForSingleObject(HANDLE,BOOLEAN,const LARGE_INTEGER*); +NTSTATUS WINAPI ZwWaitForMultipleObjects(ULONG,const HANDLE*,BOOLEAN,BOOLEAN,const LARGE_INTEGER*); +NTSTATUS WINAPI ZwWriteFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,const void*,ULONG,PLARGE_INTEGER,PULONG); +NTSTATUS WINAPI ZwYieldExecution(void); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/winddiui.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/winddiui.h new file mode 100644 index 0000000..874621f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/winddiui.h @@ -0,0 +1,129 @@ +/* + * Header for the Device Driver Interface - User Interface library + * + * Copyright 2007 Marcel Partap + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINDDIUI_H +#define __WINE_WINDDIUI_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _DOCUMENTPROPERTYHEADER { + WORD cbSize; + WORD Reserved; + HANDLE hPrinter; + WCHAR* pszPrinterName; + PDEVMODEW pdmIn; + PDEVMODEW pdmOut; + DWORD cbOut; + DWORD fMode; +} DOCUMENTPROPERTYHEADER, *PDOCUMENTPROPERTYHEADER; + +#if (NTDDI_VERSION >= NTDDI_WINXP) +typedef struct _DOCEVENT_FILTER { + UINT cbSize; + UINT cElementsAllocated; + UINT cElementsNeeded; + UINT cElementsReturned; + DWORD aDocEventCall[ANYSIZE_ARRAY]; +} DOCEVENT_FILTER, *PDOCEVENT_FILTER; +typedef struct _DOCEVENT_CREATEDCPRE { + PWSTR pszDriver; + PWSTR pszDevice; + PDEVMODEW pdm; + BOOL bIC; +} DOCEVENT_CREATEDCPRE, *PDCEVENT_CREATEDCPRE; +typedef struct _DOCEVENT_ESCAPE { + int iEscape; + int cjInput; + PVOID pvInData; +} DOCEVENT_ESCAPE, *PDOCEVENT_ESCAPE; +#endif +#define DOCUMENTEVENT_FIRST 1 +#define DOCUMENTEVENT_CREATEDCPRE 1 +#define DOCUMENTEVENT_CREATEDCPOST 2 +#define DOCUMENTEVENT_RESETDCPRE 3 +#define DOCUMENTEVENT_RESETDCPOST 4 +#define DOCUMENTEVENT_STARTDOC 5 +#define DOCUMENTEVENT_STARTDOCPRE 5 +#define DOCUMENTEVENT_STARTPAGE 6 +#define DOCUMENTEVENT_ENDPAGE 7 +#define DOCUMENTEVENT_ENDDOC 8 +#define DOCUMENTEVENT_ENDDOCPRE 8 +#define DOCUMENTEVENT_ABORTDOC 9 +#define DOCUMENTEVENT_DELETEDC 10 +#define DOCUMENTEVENT_ESCAPE 11 +#define DOCUMENTEVENT_ENDDOCPOST 12 +#define DOCUMENTEVENT_STARTDOCPOST 13 +#if (NTDDI_VERSION >= NTDDI_VISTA) +#define DOCUMENTEVENT_QUERYFILTER 14 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRE 1 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRE 2 +#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEEPRE 3 +#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPOST 4 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPOST 5 +#define DOCUMENTEVENT_XPS_CANCELJOB 6 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPRE 7 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPRE 8 +#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPRE 9 +#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPOST 10 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPOST 11 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPOST 12 +#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPOST 13 +#define DOCUMENTEVENT_LAST 15 +#elif (NTDDI_VERSION >= NTDDI_WINXP) +#define DOCUMENTEVENT_QUERYFILTER 14 +#define DOCUMENTEVENT_LAST 15 +#else +#define DOCUMENTEVENT_LAST 14 +#endif +#define DOCUMENTEVENT_SPOOLED 0x10000 +#define DOCUMENTEVENT_SUCCESS 1 +#define DOCUMENTEVENT_UNSUPPORTED 0 +#define DOCUMENTEVENT_FAILURE -1 +#define DOCUMENTEVENT_EVENT(iX) (LOWORD(iX)) +#define DOCUMENTEVENT_FLAGS(iX) (HIWORD(iX)) + +int WINAPI DrvDocumentEvent(HANDLE,HDC,int,ULONG,PVOID,ULONG,PVOID); + + +#define DRIVER_EVENT_INITIALIZE 1 +#define DRIVER_EVENT_DELETE 2 + +#define PRINTER_EVENT_ADD_CONNECTION 1 +#define PRINTER_EVENT_DELETE_CONNECTION 2 +#define PRINTER_EVENT_INITIALIZE 3 +#define PRINTER_EVENT_DELETE 4 +#define PRINTER_EVENT_CACHE_REFRESH 5 +#define PRINTER_EVENT_CACHE_DELETE 6 +#define PRINTER_EVENT_ATTRIBUTES_CHANGED 7 + +#define PRINTER_EVENT_FLAG_NO_UI 1 + +BOOL WINAPI DrvDriverEvent(DWORD, DWORD, LPBYTE, LPARAM); +BOOL WINAPI DrvPrinterEvent(LPWSTR, INT, DWORD, LPARAM); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __WINE_WINDDIUI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/winsplp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/winsplp.h new file mode 100644 index 0000000..c532be9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddk/winsplp.h @@ -0,0 +1,427 @@ +/* + * Definitions for print provider, monitor, processor and spooler + * + * Copyright 2005 Detlef Riekenberg + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * + * "providor" is not a spelling error in this file. It's the real name. + * + */ + +#ifndef _WINSPLP_ +#define _WINSPLP_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* DEFINES */ + +#define PRINTER_NOTIFY_STATUS_ENDPOINT 1 +#define PRINTER_NOTIFY_STATUS_POLL 2 +#define PRINTER_NOTIFY_STATUS_INFO 4 + + +#define ROUTER_UNKNOWN 0 +#define ROUTER_SUCCESS 1 +#define ROUTER_STOP_ROUTING 2 + +/* + * WARNING: Many Functions are declared as "BOOL", but return ROUTER_* + */ + + +/* TYPES */ + +typedef struct _MONITOR { + BOOL (WINAPI *pfnEnumPorts)(LPWSTR pName, DWORD Level, LPBYTE pPorts, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); + BOOL (WINAPI *pfnOpenPort)(LPWSTR pName, PHANDLE pHandle); + BOOL (WINAPI *pfnOpenPortEx)(LPWSTR pPortName, LPWSTR pPrinterName, + PHANDLE pHandle, struct _MONITOR *pMonitor); + BOOL (WINAPI *pfnStartDocPort)(HANDLE hPort, LPWSTR pPrinterName, + DWORD JobId, DWORD Level, LPBYTE pDocInfo); + BOOL (WINAPI *pfnWritePort)(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuf, + LPDWORD pcbWritten); + BOOL (WINAPI *pfnReadPort)(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuffer, + LPDWORD pcbRead); + BOOL (WINAPI *pfnEndDocPort)(HANDLE hPort); + BOOL (WINAPI *pfnClosePort)(HANDLE hPort); + BOOL (WINAPI *pfnAddPort)(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName); + BOOL (WINAPI *pfnAddPortEx)(LPWSTR pName, DWORD Level, LPBYTE lpBuffer, + LPWSTR lpMonitorName); + BOOL (WINAPI *pfnConfigurePort)(LPWSTR pName, HWND hWnd, LPWSTR pPortName); + BOOL (WINAPI *pfnDeletePort)(LPWSTR pName, HWND hWnd, LPWSTR pPortName); + BOOL (WINAPI *pfnGetPrinterDataFromPort)(HANDLE hPort, DWORD ControlID, + LPWSTR pValueName, LPWSTR lpInBuffer, DWORD cbInBuffer, + LPWSTR lpOutBuffer, DWORD cbOutBuffer, LPDWORD lpcbReturned); + BOOL (WINAPI *pfnSetPortTimeOuts)(HANDLE hPort, LPCOMMTIMEOUTS lpCTO, + DWORD reserved); + BOOL (WINAPI *pfnXcvOpenPort)(LPCWSTR pszObject, ACCESS_MASK GrantedAccess, PHANDLE phXcv); + DWORD (WINAPI *pfnXcvDataPort)(HANDLE hXcv, LPCWSTR pszDataName, + PBYTE pInputData, DWORD cbInputData, + PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded); + BOOL (WINAPI *pfnXcvClosePort)(HANDLE hXcv); +} MONITOR, *LPMONITOR; + +typedef struct _MONITOR2 { + DWORD cbSize; + BOOL (WINAPI *pfnEnumPorts)(LPWSTR pName, DWORD Level, LPBYTE pPorts, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); + BOOL (WINAPI *pfnOpenPort)(LPWSTR pName, PHANDLE pHandle); + BOOL (WINAPI *pfnOpenPortEx)(LPWSTR pPortName, LPWSTR pPrinterName, + PHANDLE pHandle, struct _MONITOR2 *pMonitor2); + BOOL (WINAPI *pfnStartDocPort)(HANDLE hPort, LPWSTR pPrinterName, + DWORD JobId, DWORD Level, LPBYTE pDocInfo); + BOOL (WINAPI *pfnWritePort)(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuf, + LPDWORD pcbWritten); + BOOL (WINAPI *pfnReadPort)(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuffer, + LPDWORD pcbRead); + BOOL (WINAPI *pfnEndDocPort)(HANDLE hPort); + BOOL (WINAPI *pfnClosePort)(HANDLE hPort); + BOOL (WINAPI *pfnAddPort)(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName); + BOOL (WINAPI *pfnAddPortEx)(LPWSTR pName, DWORD Level, LPBYTE lpBuffer, + LPWSTR lpMonitorName); + BOOL (WINAPI *pfnConfigurePort)(LPWSTR pName, HWND hWnd, LPWSTR pPortName); + BOOL (WINAPI *pfnDeletePort)(LPWSTR pName, HWND hWnd, LPWSTR pPortName); + BOOL (WINAPI *pfnGetPrinterDataFromPort)(HANDLE hPort, DWORD ControlID, + LPWSTR pValueName, LPWSTR lpInBuffer, DWORD cbInBuffer, + LPWSTR lpOutBuffer, DWORD cbOutBuffer, LPDWORD lpcbReturned); + BOOL (WINAPI *pfnSetPortTimeOuts)(HANDLE hPort, LPCOMMTIMEOUTS lpCTO, + DWORD reserved); + BOOL (WINAPI *pfnXcvOpenPort)(HANDLE hMonitor, LPCWSTR pszObject, + ACCESS_MASK GrantedAccess, PHANDLE phXcv); + DWORD (WINAPI *pfnXcvDataPort)(HANDLE hXcv, LPCWSTR pszDataName, + PBYTE pInputData, DWORD cbInputData, + PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded); + BOOL (WINAPI *pfnXcvClosePort)(HANDLE hXcv); + /* Additions from MONITOR to MONITOR2 */ + VOID (WINAPI *pfnShutdown)(HANDLE hMonitor); + DWORD (WINAPI *pfnSendRecvBidiDataFromPort)(HANDLE hPort, DWORD dwAccessBit, + LPCWSTR pAction, PBIDI_REQUEST_CONTAINER pReqData, + PBIDI_RESPONSE_CONTAINER *ppResData); +} MONITOR2, *LPMONITOR2, *PMONITOR2; + +typedef struct _MONITOREX { + DWORD dwMonitorSize; + MONITOR Monitor; +} MONITOREX, *LPMONITOREX; + +typedef struct _MONITORREG { + DWORD cbSize; + LONG (WINAPI *fpCreateKey)(HANDLE hcKey, LPCWSTR pszSubKey, DWORD dwOptions, + REGSAM samDesired, PSECURITY_ATTRIBUTES pSecurityAttributes, + PHANDLE phckResult, PDWORD pdwDisposition, HANDLE hSpooler); + LONG (WINAPI *fpOpenKey)(HANDLE hcKey, LPCWSTR pszSubKey, REGSAM samDesired, + PHANDLE phkResult, HANDLE hSpooler); + LONG (WINAPI *fpCloseKey)(HANDLE hcKey, HANDLE hSpooler); + LONG (WINAPI *fpDeleteKey)(HANDLE hcKey, LPCWSTR pszSubKey, HANDLE hSpooler); + LONG (WINAPI *fpEnumKey)(HANDLE hcKey, DWORD dwIndex, LPWSTR pszName, + PDWORD pcchName, PFILETIME pftLastWriteTime, HANDLE hSpooler); + LONG (WINAPI *fpQueryInfoKey)(HANDLE hcKey, PDWORD pcSubKeys, PDWORD pcbKey, + PDWORD pcValues, PDWORD pcbValue, PDWORD pcbData, + PDWORD pcbSecurityDescriptor, PFILETIME pftLastWriteTime, + HANDLE hSpooler); + LONG (WINAPI *fpSetValue)(HANDLE hcKey, LPCWSTR pszValue, DWORD dwType, + const BYTE* pData, DWORD cbData, HANDLE hSpooler); + LONG (WINAPI *fpDeleteValue)(HANDLE hcKey, LPCWSTR pszValue, HANDLE hSpooler); + LONG (WINAPI *fpEnumValue)(HANDLE hcKey, DWORD dwIndex, LPWSTR pszValue, + PDWORD pcbValue, PDWORD pType, PBYTE pData, PDWORD pcbData, + HANDLE hSpooler); + LONG (WINAPI *fpQueryValue)(HANDLE hcKey, LPCWSTR pszValue, PDWORD pType, + PBYTE pData, PDWORD pcbData, HANDLE hSpooler); +} MONITORREG, *PMONITORREG; + +typedef struct _MONITORINIT { + DWORD cbSize; + HANDLE hSpooler; + HANDLE hckRegistryRoot; + PMONITORREG pMonitorReg; + BOOL bLocal; +} MONITORINIT, *PMONITORINIT; + +typedef struct _MONITORUI { + DWORD dwMonitorUISize; + BOOL (WINAPI *pfnAddPortUI)(PCWSTR pszServer, HWND hWnd, + PCWSTR pszPortNameIn, PWSTR *ppszPortNameOut); + BOOL (WINAPI *pfnConfigurePortUI)(PCWSTR pName, HWND hWnd, PCWSTR pPortName); + BOOL (WINAPI *pfnDeletePortUI)(PCWSTR pszServer, HWND hWnd, PCWSTR pszPortName); +}MONITORUI, *PMONITORUI; + +typedef struct _PRINTER_NOTIFY_INIT { + DWORD Size; + DWORD Reserved; + DWORD PollTime; +} PRINTER_NOTIFY_INIT, *LPPRINTER_NOTIFY_INIT, *PPRINTER_NOTIFY_INIT; + +typedef struct _PRINTPROCESSOROPENDATA { + PDEVMODEW pDevMode; + LPWSTR pDatatype; + LPWSTR pParameters; + LPWSTR pDocumentName; + DWORD JobId; + LPWSTR pOutputFile; + LPWSTR pPrinterName; +} PRINTPROCESSOROPENDATA, *LPPRINTPROCESSOROPENDATA, *PPRINTPROCESSOROPENDATA; + + +/* + * WARNING: Many Functions are declared as "BOOL", but return ROUTER_* + */ + +typedef struct _PRINTPROVIDOR { + BOOL (WINAPI *fpOpenPrinter)(LPWSTR lpPrinterName, HANDLE *phPrinter, + LPPRINTER_DEFAULTSW pDefault); + BOOL (WINAPI *fpSetJob)(HANDLE hPrinter, DWORD JobID, DWORD Level, + LPBYTE pJob, DWORD Command); + BOOL (WINAPI *fpGetJob)(HANDLE hPrinter, DWORD JobID, DWORD Level, + LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded); + BOOL (WINAPI *fpEnumJobs)(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, + DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcReturned); + HANDLE (WINAPI *fpAddPrinter)(LPWSTR pName, DWORD Level, LPBYTE pPrinter); + BOOL (WINAPI *fpDeletePrinter)(HANDLE hPrinter); + BOOL (WINAPI *fpSetPrinter)(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, + DWORD Command); + BOOL (WINAPI *fpGetPrinter)(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, + DWORD cbBuf, LPDWORD pcbNeeded); + BOOL (WINAPI *fpEnumPrinters)(DWORD dwType, LPWSTR lpszName, DWORD dwLevel, + LPBYTE lpbPrinters, DWORD cbBuf, LPDWORD lpdwNeeded, + LPDWORD lpdwReturned); + BOOL (WINAPI *fpAddPrinterDriver)(LPWSTR pName, DWORD Level, + LPBYTE pDriverInfo); + BOOL (WINAPI *fpEnumPrinterDrivers)(LPWSTR pName, LPWSTR pEnvironment, + DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, + LPDWORD pcbNeeded, LPDWORD pcbReturned); + BOOL (WINAPI *fpGetPrinterDriver)(HANDLE hPrinter, LPWSTR pEnvironment, + DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, + LPDWORD pcbNeeded); + BOOL (WINAPI *fpGetPrinterDriverDirectory)(LPWSTR pName, LPWSTR pEnvironment, + DWORD Level, LPBYTE pDriverDirectory, DWORD cbBuf, + LPDWORD pcbNeeded); + BOOL (WINAPI *fpDeletePrinterDriver)(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pDriverName); + BOOL (WINAPI *fpAddPrintProcessor)(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pPathName, LPWSTR pPrintProcessorName); + BOOL (WINAPI *fpEnumPrintProcessors)(LPWSTR pName, LPWSTR pEnvironment, + DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, + LPDWORD pcbNeeded, LPDWORD pcbReturned); + BOOL (WINAPI *fpGetPrintProcessorDirectory)(LPWSTR pName, LPWSTR pEnvironment, + DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, + LPDWORD pcbNeeded); + BOOL (WINAPI *fpDeletePrintProcessor)(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pPrintProcessorName); + BOOL (WINAPI *fpEnumPrintProcessorDatatypes)(LPWSTR pName, + LPWSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcbReturned); + DWORD (WINAPI *fpStartDocPrinter)(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo); + BOOL (WINAPI *fpStartPagePrinter)(HANDLE hPrinter); + BOOL (WINAPI *fpWritePrinter)(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, + LPDWORD pcWritten); + BOOL (WINAPI *fpEndPagePrinter)(HANDLE hPrinter); + BOOL (WINAPI *fpAbortPrinter)(HANDLE hPrinter); + BOOL (WINAPI *fpReadPrinter)(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, + LPDWORD pNoBytesRead); + BOOL (WINAPI *fpEndDocPrinter)(HANDLE hPrinter); + BOOL (WINAPI *fpAddJob)(HANDLE hPrinter, DWORD Level, LPBYTE pData, + DWORD cbBuf, LPDWORD pcbNeeded); + BOOL (WINAPI *fpScheduleJob)(HANDLE hPrinter, DWORD JobID); + DWORD (WINAPI *fpGetPrinterData)(HANDLE hPrinter, LPWSTR pValueName, + LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); + DWORD (WINAPI *fpSetPrinterData)(HANDLE hPrinter, LPWSTR pValueName, + DWORD Type, LPBYTE pData, DWORD cbData); + DWORD (WINAPI *fpWaitForPrinterChange)(HANDLE hPrinter, DWORD Flags); + BOOL (WINAPI *fpClosePrinter)(HANDLE phPrinter); + BOOL (WINAPI *fpAddForm)(HANDLE hPrinter, DWORD Level, LPBYTE pForm); + BOOL (WINAPI *fpDeleteForm)(HANDLE hPrinter, LPWSTR pFormName); + BOOL (WINAPI *fpGetForm)(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, + LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded); + BOOL (WINAPI *fpSetForm)(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, + LPBYTE pForm); + BOOL (WINAPI *fpEnumForms)(HANDLE hPrinter, DWORD Level, LPBYTE pForm, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); + BOOL (WINAPI *fpEnumMonitors)(LPWSTR pName, DWORD Level, LPBYTE pMonitors, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); + BOOL (WINAPI *fpEnumPorts)(LPWSTR pName, DWORD Level, LPBYTE pPorts, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); + BOOL (WINAPI *fpAddPort)(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName); + BOOL (WINAPI *fpConfigurePort)(LPWSTR pName, HWND hWnd, LPWSTR pPortName); + BOOL (WINAPI *fpDeletePort)(LPWSTR pName, HWND hWnd, LPWSTR pPortName); + HANDLE (WINAPI *fpCreatePrinterIC)(HANDLE hPrinter, LPDEVMODEW pDevMode); + BOOL (WINAPI *fpPlayGdiScriptOnPrinterIC)(HANDLE hPrinterIC, LPBYTE pIn, + DWORD cIn, LPBYTE pOut, DWORD cOut, DWORD ul); + BOOL (WINAPI *fpDeletePrinterIC)(HANDLE hPrinterIC); + BOOL (WINAPI *fpAddPrinterConnection)(LPWSTR pName); + BOOL (WINAPI *fpDeletePrinterConnection)(LPWSTR pName); + DWORD (WINAPI *fpPrinterMessageBox)(HANDLE hPrinter, DWORD Error, HWND hWnd, + LPWSTR pText, LPWSTR pCaption, DWORD dwType); + BOOL (WINAPI *fpAddMonitor)(LPWSTR pName, DWORD Level, LPBYTE pMonitors); + BOOL (WINAPI *fpDeleteMonitor)(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pMonitorName); + BOOL (WINAPI *fpResetPrinter)(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault); + BOOL (WINAPI *fpGetPrinterDriverEx)(HANDLE hPrinter, LPWSTR pEnvironment, + DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded, + DWORD dwClientMajorVersion, DWORD dwClientMinorVersion, + PDWORD pdwServerMajorVersion, PDWORD pdwServerMinorVersion); + HANDLE (WINAPI *fpFindFirstPrinterChangeNotification)(HANDLE hPrinter, + DWORD fdwFlags, DWORD fdwOptions, LPVOID pPrinterNotifyOptions); + BOOL (WINAPI *fpFindClosePrinterChangeNotification)(HANDLE hChange); + BOOL (WINAPI *fpAddPortEx)(LPWSTR, DWORD, LPBYTE, LPWSTR); + BOOL (WINAPI *fpShutDown)(LPVOID pvReserved); + BOOL (WINAPI *fpRefreshPrinterChangeNotification)(HANDLE hPrinter, + DWORD Reserved, PVOID pvReserved, PVOID pPrinterNotifyInfo); + BOOL (WINAPI *fpOpenPrinterEx)(LPWSTR pPrinterName, LPHANDLE phPrinter, + LPPRINTER_DEFAULTSW pDefault, LPBYTE pClientInfo, DWORD Level); + HANDLE (WINAPI *fpAddPrinterEx)(LPWSTR pName, DWORD Level, LPBYTE pPrinter, + LPBYTE pClientInfo, DWORD ClientInfoLevel); + BOOL (WINAPI *fpSetPort)(LPWSTR pName, LPWSTR pPortName, DWORD dwLevel, + LPBYTE pPortInfo); + DWORD (WINAPI *fpEnumPrinterData)( HANDLE hPrinter, DWORD dwIndex, + LPWSTR pValueName, DWORD cbValueName, LPDWORD pcbValueName, + LPDWORD pType, LPBYTE pData, DWORD cbData, LPDWORD pcbData); + DWORD (WINAPI *fpDeletePrinterData)(HANDLE hPrinter, LPWSTR pValueName); + DWORD (WINAPI *fpClusterSplOpen)(LPCWSTR pszServer, LPCWSTR pszResource, + PHANDLE phSpooler, LPCWSTR pszName, LPCWSTR pszAddress); + DWORD (WINAPI *fpClusterSplClose)(HANDLE hSpooler); + DWORD (WINAPI *fpClusterSplIsAlive)(HANDLE hSpooler); + DWORD (WINAPI *fpSetPrinterDataEx)(HANDLE hPrinter, LPCWSTR pKeyName, + LPCWSTR pValueName, DWORD Type, LPBYTE pData, DWORD cbData); + DWORD (WINAPI *fpGetPrinterDataEx)(HANDLE hPrinter, LPCWSTR pKeyName, + LPCWSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, + LPDWORD pcbNeeded); + DWORD (WINAPI *fpEnumPrinterDataEx)(HANDLE hPrinter, LPCWSTR pKeyName, + LPBYTE pEnumValues, DWORD cbEnumValues, LPDWORD pcbEnumValues, + LPDWORD pnEnumValues); + DWORD (WINAPI *fpEnumPrinterKey)(HANDLE hPrinter, LPCWSTR pKeyName, + LPWSTR pSubkey, DWORD cbSubkey, LPDWORD pcbSubkey); + DWORD (WINAPI *fpDeletePrinterDataEx)(HANDLE hPrinter, LPCWSTR pKeyName, + LPCWSTR pValueName); + DWORD (WINAPI *fpDeletePrinterKey)(HANDLE hPrinter, LPCWSTR pKeyName); + BOOL (WINAPI *fpSeekPrinter)(HANDLE hPrinter, LARGE_INTEGER liDistanceToMove, + PLARGE_INTEGER pliNewPointer, DWORD dwMoveMethod, BOOL bWrite); + BOOL (WINAPI *fpDeletePrinterDriverEx)(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionNum); + BOOL (WINAPI *fpAddPerMachineConnection)(LPCWSTR pServer, + LPCWSTR pPrinterName, LPCWSTR pPrintServer, LPCWSTR pProvider); + BOOL (WINAPI *fpDeletePerMachineConnection)(LPCWSTR pServer, + LPCWSTR pPrinterName); + BOOL (WINAPI *fpEnumPerMachineConnections)(LPCWSTR pServer, + LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcReturned); + BOOL (WINAPI *fpXcvData)(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInputData, + DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, + PDWORD pcbOutputNeeded, PDWORD pdwStatus); + BOOL (WINAPI *fpAddPrinterDriverEx)(LPWSTR pName, DWORD Level, + LPBYTE pDriverInfo, DWORD dwFileCopyFlags); + BOOL (WINAPI *fpSplReadPrinter)(HANDLE hPrinter, LPBYTE *pBuf, DWORD cbBuf); + BOOL (WINAPI *fpDriverUnloadComplete)(LPWSTR pDriverFile); + BOOL (WINAPI *fpGetSpoolFileInfo)(HANDLE hPrinter, LPWSTR *pSpoolDir, + LPHANDLE phFile, HANDLE hSpoolerProcess, HANDLE hAppProcess); + BOOL (WINAPI *fpCommitSpoolData)(HANDLE hPrinter, DWORD cbCommit); + BOOL (WINAPI *fpCloseSpoolFileHandle)(HANDLE hPrinter); + BOOL (WINAPI *fpFlushPrinter)(HANDLE hPrinter, LPBYTE pBuf, DWORD cbBuf, + LPDWORD pcWritten, DWORD cSleep); + DWORD (WINAPI *fpSendRecvBidiData)(HANDLE hPort, LPCWSTR pAction, + LPBIDI_REQUEST_CONTAINER pReqData, + LPBIDI_RESPONSE_CONTAINER *ppResData); + BOOL (WINAPI *fpAddDriverCatalog)(HANDLE hPrinter, DWORD dwLevel, + VOID *pvDriverInfCatInfo, DWORD dwCatalogCopyFlags); +} PRINTPROVIDOR, *LPPRINTPROVIDOR; + +typedef struct _SPLCLIENT_INFO_1 { + DWORD dwSize; + LPWSTR pMachineName; + LPWSTR pUserName; + DWORD dwBuildNum; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + WORD wProcessorArchitecture; +} SPLCLIENT_INFO_1, *LPSPLCLIENT_INFO_1, *PSPLCLIENT_INFO_1; + +/* DECLARATIONS */ + +HANDLE WINAPI CreatePrinterIC(HANDLE hPrinter, LPDEVMODEW pDevMode); +BOOL WINAPI PlayGdiScriptOnPrinterIC(HANDLE hPrinterIC, LPBYTE pIn, + DWORD cIn, LPBYTE pOut, DWORD cOut, DWORD ul); +BOOL WINAPI DeletePrinterIC(HANDLE hPrinterIC); +BOOL WINAPI DevQueryPrint(HANDLE hPrinter, LPDEVMODEW pDevMode, DWORD *pResID); + +/* Security and Access */ +HANDLE WINAPI RevertToPrinterSelf(VOID); +BOOL WINAPI ImpersonatePrinterClient(HANDLE hToken); +BOOL WINAPI OpenPrinterToken(PHANDLE phToken); +BOOL WINAPI SetPrinterToken(HANDLE hToken); +BOOL WINAPI ClosePrinterToken(HANDLE hToken); + +/* Notification */ +BOOL WINAPI ReplyPrinterChangeNotification(HANDLE hNotify, DWORD fdwFlags, + PDWORD pdwResult, PVOID pPrinterNotifyInfo); +BOOL WINAPI PartialReplyPrinterChangeNotification(HANDLE hNotify, + PPRINTER_NOTIFY_INFO_DATA pInfoDataSrc); +PPRINTER_NOTIFY_INFO RouterAllocPrinterNotifyInfo(DWORD cPrinterNotifyInfoData); +BOOL WINAPI RouterFreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO pInfo); +BOOL WINAPI AppendPrinterNotifyInfoData(PPRINTER_NOTIFY_INFO pInfoDest, + PPRINTER_NOTIFY_INFO_DATA pInfoDataSrc, DWORD fdwFlags); +DWORD WINAPI CallRouterFindFirstPrinterChangeNotification(HANDLE hPrinter, + DWORD fdwFlags, DWORD fdwOptions, HANDLE hNotify, PVOID pvReserved); + +/* Port monitor / Language monitor / Print monitor */ +LPMONITOR2 WINAPI InitializePrintMonitor2(PMONITORINIT pMonitorInit, + PHANDLE phMonitor); +PMONITORUI WINAPI InitializePrintMonitorUI(VOID); +LPMONITOREX WINAPI InitializePrintMonitor(LPWSTR pRegistryRoot); +BOOL WINAPI InitializeMonitorEx(LPWSTR pRegistryRoot, LPMONITOR pMonitor); +BOOL WINAPI InitializeMonitor(LPWSTR pRegistryRoot); + +BOOL WINAPI OpenPort(LPWSTR pName, PHANDLE pHandle); +BOOL WINAPI WritePort(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuf, + LPDWORD pcbWritten); +BOOL WINAPI ReadPort(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuffer, + LPDWORD pcbRead); +BOOL WINAPI ClosePort(HANDLE hPort); + +/* Print processor */ +HANDLE WINAPI OpenPrintProcessor(LPWSTR pPrinterName, + PPRINTPROCESSOROPENDATA pPrintProcessorOpenData); +BOOL WINAPI PrintDocumentOnPrintProcessor(HANDLE hPrintProcessor, + LPWSTR pDocumentName); +BOOL WINAPI ClosePrintProcessor(HANDLE hPrintProcessor); +BOOL WINAPI ControlPrintProcessor(HANDLE hPrintProcessor, DWORD Command); +BOOL WINAPI InstallPrintProcessor(HWND hWnd); + +/* Print provider */ +BOOL WINAPI InitializePrintProvidor(LPPRINTPROVIDOR pPrintProvidor, + DWORD cbPrintProvidor, LPWSTR pFullRegistryPath); +BOOL WINAPI ProvidorFindFirstPrinterChangeNotification(HANDLE hPrinter, + DWORD fdwFlags, DWORD fdwOptions, HANDLE hNotify, + PVOID pvReserved0, PVOID pvReserved1); +BOOL WINAPI ProvidorFindClosePrinterChangeNotification(HANDLE hPrinter); + +/* Spooler */ +BOOL WINAPI SpoolerFindFirstPrinterChangeNotification(HANDLE hPrinter, + DWORD fdwFlags, DWORD fdwOptions, PHANDLE phEvent, + PVOID pPrinterNotifyOptions, PVOID pvReserved); +BOOL WINAPI SpoolerFindNextPrinterChangeNotification(HANDLE hPrinter, + LPDWORD pfdwChange, PVOID pvReserved0, PVOID ppPrinterNotifyInfo); +VOID WINAPI SpoolerFreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO pInfo); +BOOL WINAPI SpoolerFindClosePrinterChangeNotification(HANDLE hPrinter); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* _WINSPLP_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddraw.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddraw.h new file mode 100644 index 0000000..f94abe3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddraw.h @@ -0,0 +1,2737 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDRAW_INCLUDED__ +#define __DDRAW_INCLUDED__ + +#define COM_NO_WINDOWS_H +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef DIRECTDRAW_VERSION +#define DIRECTDRAW_VERSION 0x0700 +#endif /* DIRECTDRAW_VERSION */ + +/***************************************************************************** + * Predeclare the interfaces + */ +#ifndef __DDRAW_GUID_DEFINED__ +DEFINE_GUID( CLSID_DirectDraw, 0xD7B70EE0,0x4340,0x11CF,0xB0,0x63,0x00,0x20,0xAF,0xC2,0xCD,0x35 ); +DEFINE_GUID( CLSID_DirectDraw7, 0x3C305196,0x50DB,0x11D3,0x9C,0xFE,0x00,0xC0,0x4F,0xD9,0x30,0xC5 ); +DEFINE_GUID( CLSID_DirectDrawClipper, 0x593817A0,0x7DB3,0x11CF,0xA2,0xDE,0x00,0xAA,0x00,0xb9,0x33,0x56 ); +DEFINE_GUID( IID_IDirectDraw, 0x6C14DB80,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60 ); +DEFINE_GUID( IID_IDirectDraw2, 0xB3A6F3E0,0x2B43,0x11CF,0xA2,0xDE,0x00,0xAA,0x00,0xB9,0x33,0x56 ); +DEFINE_GUID( IID_IDirectDraw3, 0x618f8ad4,0x8b7a,0x11d0,0x8f,0xcc,0x0,0xc0,0x4f,0xd9,0x18,0x9d ); +DEFINE_GUID( IID_IDirectDraw4, 0x9c59509a,0x39bd,0x11d1,0x8c,0x4a,0x00,0xc0,0x4f,0xd9,0x30,0xc5 ); +DEFINE_GUID( IID_IDirectDraw7, 0x15e65ec0,0x3b9c,0x11d2,0xb9,0x2f,0x00,0x60,0x97,0x97,0xea,0x5b ); +DEFINE_GUID( IID_IDirectDrawSurface, 0x6C14DB81,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60 ); +DEFINE_GUID( IID_IDirectDrawSurface2, 0x57805885,0x6eec,0x11cf,0x94,0x41,0xa8,0x23,0x03,0xc1,0x0e,0x27 ); +DEFINE_GUID( IID_IDirectDrawSurface3, 0xDA044E00,0x69B2,0x11D0,0xA1,0xD5,0x00,0xAA,0x00,0xB8,0xDF,0xBB ); +DEFINE_GUID( IID_IDirectDrawSurface4, 0x0B2B8630,0xAD35,0x11D0,0x8E,0xA6,0x00,0x60,0x97,0x97,0xEA,0x5B ); +DEFINE_GUID( IID_IDirectDrawSurface7, 0x06675a80,0x3b9b,0x11d2,0xb9,0x2f,0x00,0x60,0x97,0x97,0xea,0x5b ); +DEFINE_GUID( IID_IDirectDrawPalette, 0x6C14DB84,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60 ); +DEFINE_GUID( IID_IDirectDrawClipper, 0x6C14DB85,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60 ); +DEFINE_GUID( IID_IDirectDrawColorControl,0x4B9F0EE0,0x0D7E,0x11D0,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8 ); +DEFINE_GUID( IID_IDirectDrawGammaControl,0x69C11C3E,0xB46B,0x11D1,0xAD,0x7A,0x00,0xC0,0x4F,0xC2,0x9B,0x4E ); +#endif + +typedef struct IDirectDraw *LPDIRECTDRAW; +typedef struct IDirectDraw2 *LPDIRECTDRAW2; +typedef struct IDirectDraw3 *LPDIRECTDRAW3; +typedef struct IDirectDraw4 *LPDIRECTDRAW4; +typedef struct IDirectDraw7 *LPDIRECTDRAW7; +typedef struct IDirectDrawClipper *LPDIRECTDRAWCLIPPER; +typedef struct IDirectDrawPalette *LPDIRECTDRAWPALETTE; +typedef struct IDirectDrawSurface *LPDIRECTDRAWSURFACE; +typedef struct IDirectDrawSurface2 *LPDIRECTDRAWSURFACE2; +typedef struct IDirectDrawSurface3 *LPDIRECTDRAWSURFACE3; +typedef struct IDirectDrawSurface4 *LPDIRECTDRAWSURFACE4; +typedef struct IDirectDrawSurface7 *LPDIRECTDRAWSURFACE7; +typedef struct IDirectDrawColorControl *LPDIRECTDRAWCOLORCONTROL; +typedef struct IDirectDrawGammaControl *LPDIRECTDRAWGAMMACONTROL; + + +#define DDENUMRET_CANCEL 0 +#define DDENUMRET_OK 1 + +#define DD_OK S_OK +#define DD_FALSE S_FALSE + + +#define _FACDD 0x876 +#define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code ) + +#define DDERR_ALREADYINITIALIZED MAKE_DDHRESULT( 5 ) +#define DDERR_CANNOTATTACHSURFACE MAKE_DDHRESULT( 10 ) +#define DDERR_CANNOTDETACHSURFACE MAKE_DDHRESULT( 20 ) +#define DDERR_CURRENTLYNOTAVAIL MAKE_DDHRESULT( 40 ) +#define DDERR_EXCEPTION MAKE_DDHRESULT( 55 ) +#define DDERR_GENERIC E_FAIL +#define DDERR_HEIGHTALIGN MAKE_DDHRESULT( 90 ) +#define DDERR_INCOMPATIBLEPRIMARY MAKE_DDHRESULT( 95 ) +#define DDERR_INVALIDCAPS MAKE_DDHRESULT( 100 ) +#define DDERR_INVALIDCLIPLIST MAKE_DDHRESULT( 110 ) +#define DDERR_INVALIDMODE MAKE_DDHRESULT( 120 ) +#define DDERR_INVALIDOBJECT MAKE_DDHRESULT( 130 ) +#define DDERR_INVALIDPARAMS E_INVALIDARG +#define DDERR_INVALIDPIXELFORMAT MAKE_DDHRESULT( 145 ) +#define DDERR_INVALIDRECT MAKE_DDHRESULT( 150 ) +#define DDERR_LOCKEDSURFACES MAKE_DDHRESULT( 160 ) +#define DDERR_NO3D MAKE_DDHRESULT( 170 ) +#define DDERR_NOALPHAHW MAKE_DDHRESULT( 180 ) +#define DDERR_NOSTEREOHARDWARE MAKE_DDHRESULT( 181 ) +#define DDERR_NOSURFACELEFT MAKE_DDHRESULT( 182 ) +#define DDERR_NOCLIPLIST MAKE_DDHRESULT( 205 ) +#define DDERR_NOCOLORCONVHW MAKE_DDHRESULT( 210 ) +#define DDERR_NOCOOPERATIVELEVELSET MAKE_DDHRESULT( 212 ) +#define DDERR_NOCOLORKEY MAKE_DDHRESULT( 215 ) +#define DDERR_NOCOLORKEYHW MAKE_DDHRESULT( 220 ) +#define DDERR_NODIRECTDRAWSUPPORT MAKE_DDHRESULT( 222 ) +#define DDERR_NOEXCLUSIVEMODE MAKE_DDHRESULT( 225 ) +#define DDERR_NOFLIPHW MAKE_DDHRESULT( 230 ) +#define DDERR_NOGDI MAKE_DDHRESULT( 240 ) +#define DDERR_NOMIRRORHW MAKE_DDHRESULT( 250 ) +#define DDERR_NOTFOUND MAKE_DDHRESULT( 255 ) +#define DDERR_NOOVERLAYHW MAKE_DDHRESULT( 260 ) +#define DDERR_OVERLAPPINGRECTS MAKE_DDHRESULT( 270 ) +#define DDERR_NORASTEROPHW MAKE_DDHRESULT( 280 ) +#define DDERR_NOROTATIONHW MAKE_DDHRESULT( 290 ) +#define DDERR_NOSTRETCHHW MAKE_DDHRESULT( 310 ) +#define DDERR_NOT4BITCOLOR MAKE_DDHRESULT( 316 ) +#define DDERR_NOT4BITCOLORINDEX MAKE_DDHRESULT( 317 ) +#define DDERR_NOT8BITCOLOR MAKE_DDHRESULT( 320 ) +#define DDERR_NOTEXTUREHW MAKE_DDHRESULT( 330 ) +#define DDERR_NOVSYNCHW MAKE_DDHRESULT( 335 ) +#define DDERR_NOZBUFFERHW MAKE_DDHRESULT( 340 ) +#define DDERR_NOZOVERLAYHW MAKE_DDHRESULT( 350 ) +#define DDERR_OUTOFCAPS MAKE_DDHRESULT( 360 ) +#define DDERR_OUTOFMEMORY E_OUTOFMEMORY +#define DDERR_OUTOFVIDEOMEMORY MAKE_DDHRESULT( 380 ) +#define DDERR_OVERLAYCANTCLIP MAKE_DDHRESULT( 382 ) +#define DDERR_OVERLAYCOLORKEYONLYONEACTIVE MAKE_DDHRESULT( 384 ) +#define DDERR_PALETTEBUSY MAKE_DDHRESULT( 387 ) +#define DDERR_COLORKEYNOTSET MAKE_DDHRESULT( 400 ) +#define DDERR_SURFACEALREADYATTACHED MAKE_DDHRESULT( 410 ) +#define DDERR_SURFACEALREADYDEPENDENT MAKE_DDHRESULT( 420 ) +#define DDERR_SURFACEBUSY MAKE_DDHRESULT( 430 ) +#define DDERR_CANTLOCKSURFACE MAKE_DDHRESULT( 435 ) +#define DDERR_SURFACEISOBSCURED MAKE_DDHRESULT( 440 ) +#define DDERR_SURFACELOST MAKE_DDHRESULT( 450 ) +#define DDERR_SURFACENOTATTACHED MAKE_DDHRESULT( 460 ) +#define DDERR_TOOBIGHEIGHT MAKE_DDHRESULT( 470 ) +#define DDERR_TOOBIGSIZE MAKE_DDHRESULT( 480 ) +#define DDERR_TOOBIGWIDTH MAKE_DDHRESULT( 490 ) +#define DDERR_UNSUPPORTED E_NOTIMPL +#define DDERR_UNSUPPORTEDFORMAT MAKE_DDHRESULT( 510 ) +#define DDERR_UNSUPPORTEDMASK MAKE_DDHRESULT( 520 ) +#define DDERR_INVALIDSTREAM MAKE_DDHRESULT( 521 ) +#define DDERR_VERTICALBLANKINPROGRESS MAKE_DDHRESULT( 537 ) +#define DDERR_WASSTILLDRAWING MAKE_DDHRESULT( 540 ) +#define DDERR_DDSCAPSCOMPLEXREQUIRED MAKE_DDHRESULT( 542 ) +#define DDERR_XALIGN MAKE_DDHRESULT( 560 ) +#define DDERR_INVALIDDIRECTDRAWGUID MAKE_DDHRESULT( 561 ) +#define DDERR_DIRECTDRAWALREADYCREATED MAKE_DDHRESULT( 562 ) +#define DDERR_NODIRECTDRAWHW MAKE_DDHRESULT( 563 ) +#define DDERR_PRIMARYSURFACEALREADYEXISTS MAKE_DDHRESULT( 564 ) +#define DDERR_NOEMULATION MAKE_DDHRESULT( 565 ) +#define DDERR_REGIONTOOSMALL MAKE_DDHRESULT( 566 ) +#define DDERR_CLIPPERISUSINGHWND MAKE_DDHRESULT( 567 ) +#define DDERR_NOCLIPPERATTACHED MAKE_DDHRESULT( 568 ) +#define DDERR_NOHWND MAKE_DDHRESULT( 569 ) +#define DDERR_HWNDSUBCLASSED MAKE_DDHRESULT( 570 ) +#define DDERR_HWNDALREADYSET MAKE_DDHRESULT( 571 ) +#define DDERR_NOPALETTEATTACHED MAKE_DDHRESULT( 572 ) +#define DDERR_NOPALETTEHW MAKE_DDHRESULT( 573 ) +#define DDERR_BLTFASTCANTCLIP MAKE_DDHRESULT( 574 ) +#define DDERR_NOBLTHW MAKE_DDHRESULT( 575 ) +#define DDERR_NODDROPSHW MAKE_DDHRESULT( 576 ) +#define DDERR_OVERLAYNOTVISIBLE MAKE_DDHRESULT( 577 ) +#define DDERR_NOOVERLAYDEST MAKE_DDHRESULT( 578 ) +#define DDERR_INVALIDPOSITION MAKE_DDHRESULT( 579 ) +#define DDERR_NOTAOVERLAYSURFACE MAKE_DDHRESULT( 580 ) +#define DDERR_EXCLUSIVEMODEALREADYSET MAKE_DDHRESULT( 581 ) +#define DDERR_NOTFLIPPABLE MAKE_DDHRESULT( 582 ) +#define DDERR_CANTDUPLICATE MAKE_DDHRESULT( 583 ) +#define DDERR_NOTLOCKED MAKE_DDHRESULT( 584 ) +#define DDERR_CANTCREATEDC MAKE_DDHRESULT( 585 ) +#define DDERR_NODC MAKE_DDHRESULT( 586 ) +#define DDERR_WRONGMODE MAKE_DDHRESULT( 587 ) +#define DDERR_IMPLICITLYCREATED MAKE_DDHRESULT( 588 ) +#define DDERR_NOTPALETTIZED MAKE_DDHRESULT( 589 ) +#define DDERR_UNSUPPORTEDMODE MAKE_DDHRESULT( 590 ) +#define DDERR_NOMIPMAPHW MAKE_DDHRESULT( 591 ) +#define DDERR_INVALIDSURFACETYPE MAKE_DDHRESULT( 592 ) +#define DDERR_NOOPTIMIZEHW MAKE_DDHRESULT( 600 ) +#define DDERR_NOTLOADED MAKE_DDHRESULT( 601 ) +#define DDERR_NOFOCUSWINDOW MAKE_DDHRESULT( 602 ) +#define DDERR_NOTONMIPMAPSUBLEVEL MAKE_DDHRESULT( 603 ) +#define DDERR_DCALREADYCREATED MAKE_DDHRESULT( 620 ) +#define DDERR_NONONLOCALVIDMEM MAKE_DDHRESULT( 630 ) +#define DDERR_CANTPAGELOCK MAKE_DDHRESULT( 640 ) +#define DDERR_CANTPAGEUNLOCK MAKE_DDHRESULT( 660 ) +#define DDERR_NOTPAGELOCKED MAKE_DDHRESULT( 680 ) +#define DDERR_MOREDATA MAKE_DDHRESULT( 690 ) +#define DDERR_EXPIRED MAKE_DDHRESULT( 691 ) +#define DDERR_TESTFINISHED MAKE_DDHRESULT( 692 ) +#define DDERR_NEWMODE MAKE_DDHRESULT( 693 ) +#define DDERR_D3DNOTINITIALIZED MAKE_DDHRESULT( 694 ) +#define DDERR_VIDEONOTACTIVE MAKE_DDHRESULT( 695 ) +#define DDERR_NOMONITORINFORMATION MAKE_DDHRESULT( 696 ) +#define DDERR_NODRIVERSUPPORT MAKE_DDHRESULT( 697 ) +#define DDERR_DEVICEDOESNTOWNSURFACE MAKE_DDHRESULT( 699 ) +#define DDERR_NOTINITIALIZED CO_E_NOTINITIALIZED + +/* dwFlags for Blt* */ +#define DDBLT_ALPHADEST 0x00000001 +#define DDBLT_ALPHADESTCONSTOVERRIDE 0x00000002 +#define DDBLT_ALPHADESTNEG 0x00000004 +#define DDBLT_ALPHADESTSURFACEOVERRIDE 0x00000008 +#define DDBLT_ALPHAEDGEBLEND 0x00000010 +#define DDBLT_ALPHASRC 0x00000020 +#define DDBLT_ALPHASRCCONSTOVERRIDE 0x00000040 +#define DDBLT_ALPHASRCNEG 0x00000080 +#define DDBLT_ALPHASRCSURFACEOVERRIDE 0x00000100 +#define DDBLT_ASYNC 0x00000200 +#define DDBLT_COLORFILL 0x00000400 +#define DDBLT_DDFX 0x00000800 +#define DDBLT_DDROPS 0x00001000 +#define DDBLT_KEYDEST 0x00002000 +#define DDBLT_KEYDESTOVERRIDE 0x00004000 +#define DDBLT_KEYSRC 0x00008000 +#define DDBLT_KEYSRCOVERRIDE 0x00010000 +#define DDBLT_ROP 0x00020000 +#define DDBLT_ROTATIONANGLE 0x00040000 +#define DDBLT_ZBUFFER 0x00080000 +#define DDBLT_ZBUFFERDESTCONSTOVERRIDE 0x00100000 +#define DDBLT_ZBUFFERDESTOVERRIDE 0x00200000 +#define DDBLT_ZBUFFERSRCCONSTOVERRIDE 0x00400000 +#define DDBLT_ZBUFFERSRCOVERRIDE 0x00800000 +#define DDBLT_WAIT 0x01000000 +#define DDBLT_DEPTHFILL 0x02000000 +#define DDBLT_DONOTWAIT 0x08000000 + +/* dwTrans for BltFast */ +#define DDBLTFAST_NOCOLORKEY 0x00000000 +#define DDBLTFAST_SRCCOLORKEY 0x00000001 +#define DDBLTFAST_DESTCOLORKEY 0x00000002 +#define DDBLTFAST_WAIT 0x00000010 +#define DDBLTFAST_DONOTWAIT 0x00000020 + +/* dwFlags for Flip */ +#define DDFLIP_WAIT 0x00000001 +#define DDFLIP_EVEN 0x00000002 /* only valid for overlay */ +#define DDFLIP_ODD 0x00000004 /* only valid for overlay */ +#define DDFLIP_NOVSYNC 0x00000008 +#define DDFLIP_STEREO 0x00000010 +#define DDFLIP_DONOTWAIT 0x00000020 +#define DDFLIP_INTERVAL2 0x02000000 +#define DDFLIP_INTERVAL3 0x03000000 +#define DDFLIP_INTERVAL4 0x04000000 + + +/* dwFlags for GetBltStatus */ +#define DDGBS_CANBLT 0x00000001 +#define DDGBS_ISBLTDONE 0x00000002 + +/* dwFlags for IDirectDrawSurface7::GetFlipStatus */ +#define DDGFS_CANFLIP __MSABI_LONG(1) +#define DDGFS_ISFLIPDONE __MSABI_LONG(2) + +/* dwFlags for IDirectDrawSurface7::SetPrivateData */ +#define DDSPD_IUNKNOWNPOINTER __MSABI_LONG(1) +#define DDSPD_VOLATILE __MSABI_LONG(2) + +/* DDSCAPS.dwCaps */ +/* reserved1, was 3d capable */ +#define DDSCAPS_RESERVED1 0x00000001 +/* surface contains alpha information */ +#define DDSCAPS_ALPHA 0x00000002 +/* this surface is a backbuffer */ +#define DDSCAPS_BACKBUFFER 0x00000004 +/* complex surface structure */ +#define DDSCAPS_COMPLEX 0x00000008 +/* part of surface flipping structure */ +#define DDSCAPS_FLIP 0x00000010 +/* this surface is the frontbuffer surface */ +#define DDSCAPS_FRONTBUFFER 0x00000020 +/* this is a plain offscreen surface */ +#define DDSCAPS_OFFSCREENPLAIN 0x00000040 +/* overlay */ +#define DDSCAPS_OVERLAY 0x00000080 +/* palette objects can be created and attached to us */ +#define DDSCAPS_PALETTE 0x00000100 +/* primary surface (the one the user looks at currently)(right eye)*/ +#define DDSCAPS_PRIMARYSURFACE 0x00000200 +/* primary surface for left eye */ +#define DDSCAPS_PRIMARYSURFACELEFT 0x00000400 +/* surface exists in systemmemory */ +#define DDSCAPS_SYSTEMMEMORY 0x00000800 +/* surface can be used as a texture */ +#define DDSCAPS_TEXTURE 0x00001000 +/* surface may be destination for 3d rendering */ +#define DDSCAPS_3DDEVICE 0x00002000 +/* surface exists in videomemory */ +#define DDSCAPS_VIDEOMEMORY 0x00004000 +/* surface changes immediately visible */ +#define DDSCAPS_VISIBLE 0x00008000 +/* write only surface */ +#define DDSCAPS_WRITEONLY 0x00010000 +/* zbuffer surface */ +#define DDSCAPS_ZBUFFER 0x00020000 +/* has its own DC */ +#define DDSCAPS_OWNDC 0x00040000 +/* surface should be able to receive live video */ +#define DDSCAPS_LIVEVIDEO 0x00080000 +/* should be able to have a hw codec decompress stuff into it */ +#define DDSCAPS_HWCODEC 0x00100000 +/* mode X (320x200 or 320x240) surface */ +#define DDSCAPS_MODEX 0x00200000 +/* one mipmap surface (1 level) */ +#define DDSCAPS_MIPMAP 0x00400000 +#define DDSCAPS_RESERVED2 0x00800000 +/* memory allocation delayed until Load() */ +#define DDSCAPS_ALLOCONLOAD 0x04000000 +/* Indicates that the surface will receive data from a video port */ +#define DDSCAPS_VIDEOPORT 0x08000000 +/* surface is in local videomemory */ +#define DDSCAPS_LOCALVIDMEM 0x10000000 +/* surface is in nonlocal videomemory */ +#define DDSCAPS_NONLOCALVIDMEM 0x20000000 +/* surface is a standard VGA mode surface (NOT ModeX) */ +#define DDSCAPS_STANDARDVGAMODE 0x40000000 +/* optimized? surface */ +#define DDSCAPS_OPTIMIZED 0x80000000 + +typedef struct _DDSCAPS { + DWORD dwCaps; /* capabilities of surface wanted */ +} DDSCAPS,*LPDDSCAPS; + +/* DDSCAPS2.dwCaps2 */ +/* indicates the surface will receive data from a video port using + deinterlacing hardware. */ +#define DDSCAPS2_HARDWAREDEINTERLACE 0x00000002 +/* indicates the surface will be locked very frequently. */ +#define DDSCAPS2_HINTDYNAMIC 0x00000004 +/* indicates surface can be re-ordered or retiled on load() */ +#define DDSCAPS2_HINTSTATIC 0x00000008 +/* indicates surface to be managed by directdraw/direct3D */ +#define DDSCAPS2_TEXTUREMANAGE 0x00000010 +/* reserved bits */ +#define DDSCAPS2_RESERVED1 0x00000020 +#define DDSCAPS2_RESERVED2 0x00000040 +/* indicates surface will never be locked again */ +#define DDSCAPS2_OPAQUE 0x00000080 +/* set at CreateSurface() time to indicate antialiasing will be used */ +#define DDSCAPS2_HINTANTIALIASING 0x00000100 +/* set at CreateSurface() time to indicate cubic environment map */ +#define DDSCAPS2_CUBEMAP 0x00000200 +/* face flags for cube maps */ +#define DDSCAPS2_CUBEMAP_POSITIVEX 0x00000400 +#define DDSCAPS2_CUBEMAP_NEGATIVEX 0x00000800 +#define DDSCAPS2_CUBEMAP_POSITIVEY 0x00001000 +#define DDSCAPS2_CUBEMAP_NEGATIVEY 0x00002000 +#define DDSCAPS2_CUBEMAP_POSITIVEZ 0x00004000 +#define DDSCAPS2_CUBEMAP_NEGATIVEZ 0x00008000 +/* specifies all faces of a cube for CreateSurface() */ +#define DDSCAPS2_CUBEMAP_ALLFACES ( DDSCAPS2_CUBEMAP_POSITIVEX |\ + DDSCAPS2_CUBEMAP_NEGATIVEX |\ + DDSCAPS2_CUBEMAP_POSITIVEY |\ + DDSCAPS2_CUBEMAP_NEGATIVEY |\ + DDSCAPS2_CUBEMAP_POSITIVEZ |\ + DDSCAPS2_CUBEMAP_NEGATIVEZ ) +/* set for mipmap sublevels on DirectX7 and later. ignored by CreateSurface() */ +#define DDSCAPS2_MIPMAPSUBLEVEL 0x00010000 +/* indicates texture surface to be managed by Direct3D *only* */ +#define DDSCAPS2_D3DTEXTUREMANAGE 0x00020000 +/* indicates managed surface that can safely be lost */ +#define DDSCAPS2_DONOTPERSIST 0x00040000 +/* indicates surface is part of a stereo flipping chain */ +#define DDSCAPS2_STEREOSURFACELEFT 0x00080000 +#define DDSCAPS2_VOLUME 0x00200000 + +typedef struct _DDSCAPS2 { + DWORD dwCaps; /* capabilities of surface wanted */ + DWORD dwCaps2; /* additional capabilities */ + DWORD dwCaps3; /* reserved capabilities */ + union { + DWORD dwCaps4; /* more reserved capabilities */ + DWORD dwVolumeDepth; + } DUMMYUNIONNAME1; +} DDSCAPS2,*LPDDSCAPS2; + +#define DD_ROP_SPACE (256/32) /* space required to store ROP array */ + +typedef struct _DDCAPS_DX7 /* DirectX 7 version of caps struct */ +{ + DWORD dwSize; /* size of the DDDRIVERCAPS structure */ + DWORD dwCaps; /* driver specific capabilities */ + DWORD dwCaps2; /* more driver specific capabilities */ + DWORD dwCKeyCaps; /* color key capabilities of the surface */ + DWORD dwFXCaps; /* driver specific stretching and effects capabilities */ + DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */ + DWORD dwPalCaps; /* palette capabilities */ + DWORD dwSVCaps; /* stereo vision capabilities */ + DWORD dwAlphaBltConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaBltPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaBltSurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlayConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaOverlayPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlaySurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwZBufferBitDepths; /* DDBD_8,16,24,32 */ + DWORD dwVidMemTotal; /* total amount of video memory */ + DWORD dwVidMemFree; /* amount of free video memory */ + DWORD dwMaxVisibleOverlays; /* maximum number of visible overlays */ + DWORD dwCurrVisibleOverlays; /* current number of visible overlays */ + DWORD dwNumFourCCCodes; /* number of four cc codes */ + DWORD dwAlignBoundarySrc; /* source rectangle alignment */ + DWORD dwAlignSizeSrc; /* source rectangle byte size */ + DWORD dwAlignBoundaryDest; /* dest rectangle alignment */ + DWORD dwAlignSizeDest; /* dest rectangle byte size */ + DWORD dwAlignStrideAlign; /* stride alignment */ + DWORD dwRops[DD_ROP_SPACE]; /* ROPs supported */ + DDSCAPS ddsOldCaps; /* old DDSCAPS - superseded for DirectX6+ */ + DWORD dwMinOverlayStretch; /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxOverlayStretch; /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinLiveVideoStretch; /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxLiveVideoStretch; /* maximum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinHwCodecStretch; /* minimum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxHwCodecStretch; /* maximum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwSVBCaps; /* driver specific capabilities for System->Vmem blts */ + DWORD dwSVBCKeyCaps; /* driver color key capabilities for System->Vmem blts */ + DWORD dwSVBFXCaps; /* driver FX capabilities for System->Vmem blts */ + DWORD dwSVBRops[DD_ROP_SPACE];/* ROPs supported for System->Vmem blts */ + DWORD dwVSBCaps; /* driver specific capabilities for Vmem->System blts */ + DWORD dwVSBCKeyCaps; /* driver color key capabilities for Vmem->System blts */ + DWORD dwVSBFXCaps; /* driver FX capabilities for Vmem->System blts */ + DWORD dwVSBRops[DD_ROP_SPACE];/* ROPs supported for Vmem->System blts */ + DWORD dwSSBCaps; /* driver specific capabilities for System->System blts */ + DWORD dwSSBCKeyCaps; /* driver color key capabilities for System->System blts */ + DWORD dwSSBFXCaps; /* driver FX capabilities for System->System blts */ + DWORD dwSSBRops[DD_ROP_SPACE];/* ROPs supported for System->System blts */ + DWORD dwMaxVideoPorts; /* maximum number of usable video ports */ + DWORD dwCurrVideoPorts; /* current number of video ports used */ + DWORD dwSVBCaps2; /* more driver specific capabilities for System->Vmem blts */ + DWORD dwNLVBCaps; /* driver specific capabilities for non-local->local vidmem blts */ + DWORD dwNLVBCaps2; /* more driver specific capabilities non-local->local vidmem blts */ + DWORD dwNLVBCKeyCaps; /* driver color key capabilities for non-local->local vidmem blts */ + DWORD dwNLVBFXCaps; /* driver FX capabilities for non-local->local blts */ + DWORD dwNLVBRops[DD_ROP_SPACE]; /* ROPs supported for non-local->local blts */ + DDSCAPS2 ddsCaps; /* surface capabilities */ +} DDCAPS_DX7,*LPDDCAPS_DX7; + +typedef struct _DDCAPS_DX6 /* DirectX 6 version of caps struct */ +{ + DWORD dwSize; /* size of the DDDRIVERCAPS structure */ + DWORD dwCaps; /* driver specific capabilities */ + DWORD dwCaps2; /* more driver specific capabilities */ + DWORD dwCKeyCaps; /* color key capabilities of the surface */ + DWORD dwFXCaps; /* driver specific stretching and effects capabilities */ + DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */ + DWORD dwPalCaps; /* palette capabilities */ + DWORD dwSVCaps; /* stereo vision capabilities */ + DWORD dwAlphaBltConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaBltPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaBltSurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlayConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaOverlayPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlaySurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwZBufferBitDepths; /* DDBD_8,16,24,32 */ + DWORD dwVidMemTotal; /* total amount of video memory */ + DWORD dwVidMemFree; /* amount of free video memory */ + DWORD dwMaxVisibleOverlays; /* maximum number of visible overlays */ + DWORD dwCurrVisibleOverlays; /* current number of visible overlays */ + DWORD dwNumFourCCCodes; /* number of four cc codes */ + DWORD dwAlignBoundarySrc; /* source rectangle alignment */ + DWORD dwAlignSizeSrc; /* source rectangle byte size */ + DWORD dwAlignBoundaryDest; /* dest rectangle alignment */ + DWORD dwAlignSizeDest; /* dest rectangle byte size */ + DWORD dwAlignStrideAlign; /* stride alignment */ + DWORD dwRops[DD_ROP_SPACE]; /* ROPs supported */ + DDSCAPS ddsOldCaps; /* old DDSCAPS - superseded for DirectX6+ */ + DWORD dwMinOverlayStretch; /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxOverlayStretch; /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinLiveVideoStretch; /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxLiveVideoStretch; /* maximum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinHwCodecStretch; /* minimum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxHwCodecStretch; /* maximum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwSVBCaps; /* driver specific capabilities for System->Vmem blts */ + DWORD dwSVBCKeyCaps; /* driver color key capabilities for System->Vmem blts */ + DWORD dwSVBFXCaps; /* driver FX capabilities for System->Vmem blts */ + DWORD dwSVBRops[DD_ROP_SPACE];/* ROPs supported for System->Vmem blts */ + DWORD dwVSBCaps; /* driver specific capabilities for Vmem->System blts */ + DWORD dwVSBCKeyCaps; /* driver color key capabilities for Vmem->System blts */ + DWORD dwVSBFXCaps; /* driver FX capabilities for Vmem->System blts */ + DWORD dwVSBRops[DD_ROP_SPACE];/* ROPs supported for Vmem->System blts */ + DWORD dwSSBCaps; /* driver specific capabilities for System->System blts */ + DWORD dwSSBCKeyCaps; /* driver color key capabilities for System->System blts */ + DWORD dwSSBFXCaps; /* driver FX capabilities for System->System blts */ + DWORD dwSSBRops[DD_ROP_SPACE];/* ROPs supported for System->System blts */ + DWORD dwMaxVideoPorts; /* maximum number of usable video ports */ + DWORD dwCurrVideoPorts; /* current number of video ports used */ + DWORD dwSVBCaps2; /* more driver specific capabilities for System->Vmem blts */ + DWORD dwNLVBCaps; /* driver specific capabilities for non-local->local vidmem blts */ + DWORD dwNLVBCaps2; /* more driver specific capabilities non-local->local vidmem blts */ + DWORD dwNLVBCKeyCaps; /* driver color key capabilities for non-local->local vidmem blts */ + DWORD dwNLVBFXCaps; /* driver FX capabilities for non-local->local blts */ + DWORD dwNLVBRops[DD_ROP_SPACE]; /* ROPs supported for non-local->local blts */ + /* and one new member for DirectX 6 */ + DDSCAPS2 ddsCaps; /* surface capabilities */ +} DDCAPS_DX6,*LPDDCAPS_DX6; + +typedef struct _DDCAPS_DX5 /* DirectX5 version of caps struct */ +{ + DWORD dwSize; /* size of the DDDRIVERCAPS structure */ + DWORD dwCaps; /* driver specific capabilities */ + DWORD dwCaps2; /* more driver specific capabilities */ + DWORD dwCKeyCaps; /* color key capabilities of the surface */ + DWORD dwFXCaps; /* driver specific stretching and effects capabilities */ + DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */ + DWORD dwPalCaps; /* palette capabilities */ + DWORD dwSVCaps; /* stereo vision capabilities */ + DWORD dwAlphaBltConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaBltPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaBltSurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlayConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaOverlayPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlaySurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwZBufferBitDepths; /* DDBD_8,16,24,32 */ + DWORD dwVidMemTotal; /* total amount of video memory */ + DWORD dwVidMemFree; /* amount of free video memory */ + DWORD dwMaxVisibleOverlays; /* maximum number of visible overlays */ + DWORD dwCurrVisibleOverlays; /* current number of visible overlays */ + DWORD dwNumFourCCCodes; /* number of four cc codes */ + DWORD dwAlignBoundarySrc; /* source rectangle alignment */ + DWORD dwAlignSizeSrc; /* source rectangle byte size */ + DWORD dwAlignBoundaryDest; /* dest rectangle alignment */ + DWORD dwAlignSizeDest; /* dest rectangle byte size */ + DWORD dwAlignStrideAlign; /* stride alignment */ + DWORD dwRops[DD_ROP_SPACE]; /* ROPs supported */ + DDSCAPS ddsCaps; /* DDSCAPS structure has all the general capabilities */ + DWORD dwMinOverlayStretch; /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxOverlayStretch; /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinLiveVideoStretch; /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxLiveVideoStretch; /* maximum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinHwCodecStretch; /* minimum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxHwCodecStretch; /* maximum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwSVBCaps; /* driver specific capabilities for System->Vmem blts */ + DWORD dwSVBCKeyCaps; /* driver color key capabilities for System->Vmem blts */ + DWORD dwSVBFXCaps; /* driver FX capabilities for System->Vmem blts */ + DWORD dwSVBRops[DD_ROP_SPACE];/* ROPs supported for System->Vmem blts */ + DWORD dwVSBCaps; /* driver specific capabilities for Vmem->System blts */ + DWORD dwVSBCKeyCaps; /* driver color key capabilities for Vmem->System blts */ + DWORD dwVSBFXCaps; /* driver FX capabilities for Vmem->System blts */ + DWORD dwVSBRops[DD_ROP_SPACE];/* ROPs supported for Vmem->System blts */ + DWORD dwSSBCaps; /* driver specific capabilities for System->System blts */ + DWORD dwSSBCKeyCaps; /* driver color key capabilities for System->System blts */ + DWORD dwSSBFXCaps; /* driver FX capabilities for System->System blts */ + DWORD dwSSBRops[DD_ROP_SPACE];/* ROPs supported for System->System blts */ + /* the following are the new DirectX 5 members */ + DWORD dwMaxVideoPorts; /* maximum number of usable video ports */ + DWORD dwCurrVideoPorts; /* current number of video ports used */ + DWORD dwSVBCaps2; /* more driver specific capabilities for System->Vmem blts */ + DWORD dwNLVBCaps; /* driver specific capabilities for non-local->local vidmem blts */ + DWORD dwNLVBCaps2; /* more driver specific capabilities non-local->local vidmem blts */ + DWORD dwNLVBCKeyCaps; /* driver color key capabilities for non-local->local vidmem blts */ + DWORD dwNLVBFXCaps; /* driver FX capabilities for non-local->local blts */ + DWORD dwNLVBRops[DD_ROP_SPACE]; /* ROPs supported for non-local->local blts */ +} DDCAPS_DX5,*LPDDCAPS_DX5; + +typedef struct _DDCAPS_DX3 /* DirectX3 version of caps struct */ +{ + DWORD dwSize; /* size of the DDDRIVERCAPS structure */ + DWORD dwCaps; /* driver specific capabilities */ + DWORD dwCaps2; /* more driver specific capabilities */ + DWORD dwCKeyCaps; /* color key capabilities of the surface */ + DWORD dwFXCaps; /* driver specific stretching and effects capabilities */ + DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */ + DWORD dwPalCaps; /* palette capabilities */ + DWORD dwSVCaps; /* stereo vision capabilities */ + DWORD dwAlphaBltConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaBltPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaBltSurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlayConstBitDepths; /* DDBD_2,4,8 */ + DWORD dwAlphaOverlayPixelBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwAlphaOverlaySurfaceBitDepths; /* DDBD_1,2,4,8 */ + DWORD dwZBufferBitDepths; /* DDBD_8,16,24,32 */ + DWORD dwVidMemTotal; /* total amount of video memory */ + DWORD dwVidMemFree; /* amount of free video memory */ + DWORD dwMaxVisibleOverlays; /* maximum number of visible overlays */ + DWORD dwCurrVisibleOverlays; /* current number of visible overlays */ + DWORD dwNumFourCCCodes; /* number of four cc codes */ + DWORD dwAlignBoundarySrc; /* source rectangle alignment */ + DWORD dwAlignSizeSrc; /* source rectangle byte size */ + DWORD dwAlignBoundaryDest; /* dest rectangle alignment */ + DWORD dwAlignSizeDest; /* dest rectangle byte size */ + DWORD dwAlignStrideAlign; /* stride alignment */ + DWORD dwRops[DD_ROP_SPACE]; /* ROPs supported */ + DDSCAPS ddsCaps; /* DDSCAPS structure has all the general capabilities */ + DWORD dwMinOverlayStretch; /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxOverlayStretch; /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinLiveVideoStretch; /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxLiveVideoStretch; /* maximum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMinHwCodecStretch; /* minimum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwMaxHwCodecStretch; /* maximum hardware codec stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwSVBCaps; /* driver specific capabilities for System->Vmem blts */ + DWORD dwSVBCKeyCaps; /* driver color key capabilities for System->Vmem blts */ + DWORD dwSVBFXCaps; /* driver FX capabilities for System->Vmem blts */ + DWORD dwSVBRops[DD_ROP_SPACE];/* ROPs supported for System->Vmem blts */ + DWORD dwVSBCaps; /* driver specific capabilities for Vmem->System blts */ + DWORD dwVSBCKeyCaps; /* driver color key capabilities for Vmem->System blts */ + DWORD dwVSBFXCaps; /* driver FX capabilities for Vmem->System blts */ + DWORD dwVSBRops[DD_ROP_SPACE];/* ROPs supported for Vmem->System blts */ + DWORD dwSSBCaps; /* driver specific capabilities for System->System blts */ + DWORD dwSSBCKeyCaps; /* driver color key capabilities for System->System blts */ + DWORD dwSSBFXCaps; /* driver FX capabilities for System->System blts */ + DWORD dwSSBRops[DD_ROP_SPACE];/* ROPs supported for System->System blts */ + DWORD dwReserved4; + DWORD dwReserved5; + DWORD dwReserved6; +} DDCAPS_DX3,*LPDDCAPS_DX3; + +/* set caps struct according to DIRECTDRAW_VERSION */ + +#if DIRECTDRAW_VERSION <= 0x300 +typedef DDCAPS_DX3 DDCAPS; +#elif DIRECTDRAW_VERSION <= 0x500 +typedef DDCAPS_DX5 DDCAPS; +#elif DIRECTDRAW_VERSION <= 0x600 +typedef DDCAPS_DX6 DDCAPS; +#else +typedef DDCAPS_DX7 DDCAPS; +#endif + +typedef DDCAPS *LPDDCAPS; + +/* DDCAPS.dwCaps */ +#define DDCAPS_3D 0x00000001 +#define DDCAPS_ALIGNBOUNDARYDEST 0x00000002 +#define DDCAPS_ALIGNSIZEDEST 0x00000004 +#define DDCAPS_ALIGNBOUNDARYSRC 0x00000008 +#define DDCAPS_ALIGNSIZESRC 0x00000010 +#define DDCAPS_ALIGNSTRIDE 0x00000020 +#define DDCAPS_BLT 0x00000040 +#define DDCAPS_BLTQUEUE 0x00000080 +#define DDCAPS_BLTFOURCC 0x00000100 +#define DDCAPS_BLTSTRETCH 0x00000200 +#define DDCAPS_GDI 0x00000400 +#define DDCAPS_OVERLAY 0x00000800 +#define DDCAPS_OVERLAYCANTCLIP 0x00001000 +#define DDCAPS_OVERLAYFOURCC 0x00002000 +#define DDCAPS_OVERLAYSTRETCH 0x00004000 +#define DDCAPS_PALETTE 0x00008000 +#define DDCAPS_PALETTEVSYNC 0x00010000 +#define DDCAPS_READSCANLINE 0x00020000 +#define DDCAPS_STEREOVIEW 0x00040000 +#define DDCAPS_VBI 0x00080000 +#define DDCAPS_ZBLTS 0x00100000 +#define DDCAPS_ZOVERLAYS 0x00200000 +#define DDCAPS_COLORKEY 0x00400000 +#define DDCAPS_ALPHA 0x00800000 +#define DDCAPS_COLORKEYHWASSIST 0x01000000 +#define DDCAPS_NOHARDWARE 0x02000000 +#define DDCAPS_BLTCOLORFILL 0x04000000 +#define DDCAPS_BANKSWITCHED 0x08000000 +#define DDCAPS_BLTDEPTHFILL 0x10000000 +#define DDCAPS_CANCLIP 0x20000000 +#define DDCAPS_CANCLIPSTRETCHED 0x40000000 +#define DDCAPS_CANBLTSYSMEM 0x80000000 + +/* DDCAPS.dwCaps2 */ +#define DDCAPS2_CERTIFIED 0x00000001 +#define DDCAPS2_NO2DDURING3DSCENE 0x00000002 +#define DDCAPS2_VIDEOPORT 0x00000004 +#define DDCAPS2_AUTOFLIPOVERLAY 0x00000008 +#define DDCAPS2_CANBOBINTERLEAVED 0x00000010 +#define DDCAPS2_CANBOBNONINTERLEAVED 0x00000020 +#define DDCAPS2_COLORCONTROLOVERLAY 0x00000040 +#define DDCAPS2_COLORCONTROLPRIMARY 0x00000080 +#define DDCAPS2_CANDROPZ16BIT 0x00000100 +#define DDCAPS2_NONLOCALVIDMEM 0x00000200 +#define DDCAPS2_NONLOCALVIDMEMCAPS 0x00000400 +#define DDCAPS2_NOPAGELOCKREQUIRED 0x00000800 +#define DDCAPS2_WIDESURFACES 0x00001000 +#define DDCAPS2_CANFLIPODDEVEN 0x00002000 +#define DDCAPS2_CANBOBHARDWARE 0x00004000 +#define DDCAPS2_COPYFOURCC 0x00008000 +#define DDCAPS2_PRIMARYGAMMA 0x00020000 +#define DDCAPS2_CANRENDERWINDOWED 0x00080000 +#define DDCAPS2_CANCALIBRATEGAMMA 0x00100000 +#define DDCAPS2_FLIPINTERVAL 0x00200000 +#define DDCAPS2_FLIPNOVSYNC 0x00400000 +#define DDCAPS2_CANMANAGETEXTURE 0x00800000 +#define DDCAPS2_TEXMANINNONLOCALVIDMEM 0x01000000 +#define DDCAPS2_STEREO 0x02000000 +#define DDCAPS2_SYSTONONLOCAL_AS_SYSTOLOCAL 0x04000000 + + +/* Set/Get Colour Key Flags */ +#define DDCKEY_COLORSPACE 0x00000001 /* Struct is single colour space */ +#define DDCKEY_DESTBLT 0x00000002 /* To be used as dest for blt */ +#define DDCKEY_DESTOVERLAY 0x00000004 /* To be used as dest for CK overlays */ +#define DDCKEY_SRCBLT 0x00000008 /* To be used as src for blt */ +#define DDCKEY_SRCOVERLAY 0x00000010 /* To be used as src for CK overlays */ + +typedef struct _DDCOLORKEY +{ + DWORD dwColorSpaceLowValue;/* low boundary of color space that is to + * be treated as Color Key, inclusive + */ + DWORD dwColorSpaceHighValue;/* high boundary of color space that is + * to be treated as Color Key, inclusive + */ +} DDCOLORKEY,*LPDDCOLORKEY; + +/* ddCKEYCAPS bits */ +#define DDCKEYCAPS_DESTBLT 0x00000001 +#define DDCKEYCAPS_DESTBLTCLRSPACE 0x00000002 +#define DDCKEYCAPS_DESTBLTCLRSPACEYUV 0x00000004 +#define DDCKEYCAPS_DESTBLTYUV 0x00000008 +#define DDCKEYCAPS_DESTOVERLAY 0x00000010 +#define DDCKEYCAPS_DESTOVERLAYCLRSPACE 0x00000020 +#define DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV 0x00000040 +#define DDCKEYCAPS_DESTOVERLAYONEACTIVE 0x00000080 +#define DDCKEYCAPS_DESTOVERLAYYUV 0x00000100 +#define DDCKEYCAPS_SRCBLT 0x00000200 +#define DDCKEYCAPS_SRCBLTCLRSPACE 0x00000400 +#define DDCKEYCAPS_SRCBLTCLRSPACEYUV 0x00000800 +#define DDCKEYCAPS_SRCBLTYUV 0x00001000 +#define DDCKEYCAPS_SRCOVERLAY 0x00002000 +#define DDCKEYCAPS_SRCOVERLAYCLRSPACE 0x00004000 +#define DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV 0x00008000 +#define DDCKEYCAPS_SRCOVERLAYONEACTIVE 0x00010000 +#define DDCKEYCAPS_SRCOVERLAYYUV 0x00020000 +#define DDCKEYCAPS_NOCOSTOVERLAY 0x00040000 + +typedef struct _DDPIXELFORMAT { + DWORD dwSize; /* 0: size of structure */ + DWORD dwFlags; /* 4: pixel format flags */ + DWORD dwFourCC; /* 8: (FOURCC code) */ + union { + DWORD dwRGBBitCount; /* C: how many bits per pixel */ + DWORD dwYUVBitCount; /* C: how many bits per pixel */ + DWORD dwZBufferBitDepth; /* C: how many bits for z buffers */ + DWORD dwAlphaBitDepth; /* C: how many bits for alpha channels*/ + DWORD dwLuminanceBitCount; + DWORD dwBumpBitCount; + } DUMMYUNIONNAME1; + union { + DWORD dwRBitMask; /* 10: mask for red bit*/ + DWORD dwYBitMask; /* 10: mask for Y bits*/ + DWORD dwStencilBitDepth; + DWORD dwLuminanceBitMask; + DWORD dwBumpDuBitMask; + } DUMMYUNIONNAME2; + union { + DWORD dwGBitMask; /* 14: mask for green bits*/ + DWORD dwUBitMask; /* 14: mask for U bits*/ + DWORD dwZBitMask; + DWORD dwBumpDvBitMask; + } DUMMYUNIONNAME3; + union { + DWORD dwBBitMask; /* 18: mask for blue bits*/ + DWORD dwVBitMask; /* 18: mask for V bits*/ + DWORD dwStencilBitMask; + DWORD dwBumpLuminanceBitMask; + } DUMMYUNIONNAME4; + union { + DWORD dwRGBAlphaBitMask; /* 1C: mask for alpha channel */ + DWORD dwYUVAlphaBitMask; /* 1C: mask for alpha channel */ + DWORD dwLuminanceAlphaBitMask; + DWORD dwRGBZBitMask; /* 1C: mask for Z channel */ + DWORD dwYUVZBitMask; /* 1C: mask for Z channel */ + } DUMMYUNIONNAME5; + /* 20: next structure */ +} DDPIXELFORMAT,*LPDDPIXELFORMAT; + +#define MAKEFOURCC(ch0, ch1, ch2, ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 )) + +/* DDCAPS.dwFXCaps */ +#define DDFXCAPS_BLTALPHA 0x00000001 +#define DDFXCAPS_OVERLAYALPHA 0x00000004 +#define DDFXCAPS_BLTARITHSTRETCHYN 0x00000010 +#define DDFXCAPS_BLTARITHSTRETCHY 0x00000020 +#define DDFXCAPS_BLTMIRRORLEFTRIGHT 0x00000040 +#define DDFXCAPS_BLTMIRRORUPDOWN 0x00000080 +#define DDFXCAPS_BLTROTATION 0x00000100 +#define DDFXCAPS_BLTROTATION90 0x00000200 +#define DDFXCAPS_BLTSHRINKX 0x00000400 +#define DDFXCAPS_BLTSHRINKXN 0x00000800 +#define DDFXCAPS_BLTSHRINKY 0x00001000 +#define DDFXCAPS_BLTSHRINKYN 0x00002000 +#define DDFXCAPS_BLTSTRETCHX 0x00004000 +#define DDFXCAPS_BLTSTRETCHXN 0x00008000 +#define DDFXCAPS_BLTSTRETCHY 0x00010000 +#define DDFXCAPS_BLTSTRETCHYN 0x00020000 +#define DDFXCAPS_OVERLAYARITHSTRETCHY 0x00040000 +#define DDFXCAPS_OVERLAYARITHSTRETCHYN 0x00000008 +#define DDFXCAPS_OVERLAYSHRINKX 0x00080000 +#define DDFXCAPS_OVERLAYSHRINKXN 0x00100000 +#define DDFXCAPS_OVERLAYSHRINKY 0x00200000 +#define DDFXCAPS_OVERLAYSHRINKYN 0x00400000 +#define DDFXCAPS_OVERLAYSTRETCHX 0x00800000 +#define DDFXCAPS_OVERLAYSTRETCHXN 0x01000000 +#define DDFXCAPS_OVERLAYSTRETCHY 0x02000000 +#define DDFXCAPS_OVERLAYSTRETCHYN 0x04000000 +#define DDFXCAPS_OVERLAYMIRRORLEFTRIGHT 0x08000000 +#define DDFXCAPS_OVERLAYMIRRORUPDOWN 0x10000000 + +#define DDFXCAPS_OVERLAYFILTER DDFXCAPS_OVERLAYARITHSTRETCHY + +/* DDCAPS.dwFXAlphaCaps */ +#define DDFXALPHACAPS_BLTALPHAEDGEBLEND 0x00000001 +#define DDFXALPHACAPS_BLTALPHAPIXELS 0x00000002 +#define DDFXALPHACAPS_BLTALPHAPIXELSNEG 0x00000004 +#define DDFXALPHACAPS_BLTALPHASURFACES 0x00000008 +#define DDFXALPHACAPS_BLTALPHASURFACESNEG 0x00000010 +#define DDFXALPHACAPS_OVERLAYALPHAEDGEBLEND 0x00000020 +#define DDFXALPHACAPS_OVERLAYALPHAPIXELS 0x00000040 +#define DDFXALPHACAPS_OVERLAYALPHAPIXELSNEG 0x00000080 +#define DDFXALPHACAPS_OVERLAYALPHASURFACES 0x00000100 +#define DDFXALPHACAPS_OVERLAYALPHASURFACESNEG 0x00000200 + +/* DDCAPS.dwPalCaps */ +#define DDPCAPS_4BIT 0x00000001 +#define DDPCAPS_8BITENTRIES 0x00000002 +#define DDPCAPS_8BIT 0x00000004 +#define DDPCAPS_INITIALIZE 0x00000008 +#define DDPCAPS_PRIMARYSURFACE 0x00000010 +#define DDPCAPS_PRIMARYSURFACELEFT 0x00000020 +#define DDPCAPS_ALLOW256 0x00000040 +#define DDPCAPS_VSYNC 0x00000080 +#define DDPCAPS_1BIT 0x00000100 +#define DDPCAPS_2BIT 0x00000200 +#define DDPCAPS_ALPHA 0x00000400 + +/* DDCAPS.dwSVCaps */ +/* the first 4 of these are now obsolete */ +#if DIRECTDRAW_VERSION >= 0x700 /* FIXME: I'm not sure when this switch occurred */ +#define DDSVCAPS_RESERVED1 0x00000001 +#define DDSVCAPS_RESERVED2 0x00000002 +#define DDSVCAPS_RESERVED3 0x00000004 +#define DDSVCAPS_RESERVED4 0x00000008 +#else +#define DDSVCAPS_ENIGMA 0x00000001 +#define DDSVCAPS_FLICKER 0x00000002 +#define DDSVCAPS_REDBLUE 0x00000004 +#define DDSVCAPS_SPLIT 0x00000008 +#endif +#define DDSVCAPS_STEREOSEQUENTIAL 0x00000010 + +/* BitDepths */ +#define DDBD_1 0x00004000 +#define DDBD_2 0x00002000 +#define DDBD_4 0x00001000 +#define DDBD_8 0x00000800 +#define DDBD_16 0x00000400 +#define DDBD_24 0x00000200 +#define DDBD_32 0x00000100 + +/* DDOVERLAYFX.dwDDFX */ +#define DDOVERFX_ARITHSTRETCHY 0x00000001 +#define DDOVERFX_MIRRORLEFTRIGHT 0x00000002 +#define DDOVERFX_MIRRORUPDOWN 0x00000004 + +/* UpdateOverlay flags */ +#define DDOVER_ALPHADEST 0x00000001 +#define DDOVER_ALPHADESTCONSTOVERRIDE 0x00000002 +#define DDOVER_ALPHADESTNEG 0x00000004 +#define DDOVER_ALPHADESTSURFACEOVERRIDE 0x00000008 +#define DDOVER_ALPHAEDGEBLEND 0x00000010 +#define DDOVER_ALPHASRC 0x00000020 +#define DDOVER_ALPHASRCCONSTOVERRIDE 0x00000040 +#define DDOVER_ALPHASRCNEG 0x00000080 +#define DDOVER_ALPHASRCSURFACEOVERRIDE 0x00000100 +#define DDOVER_HIDE 0x00000200 +#define DDOVER_KEYDEST 0x00000400 +#define DDOVER_KEYDESTOVERRIDE 0x00000800 +#define DDOVER_KEYSRC 0x00001000 +#define DDOVER_KEYSRCOVERRIDE 0x00002000 +#define DDOVER_SHOW 0x00004000 +#define DDOVER_ADDDIRTYRECT 0x00008000 +#define DDOVER_REFRESHDIRTYRECTS 0x00010000 +#define DDOVER_REFRESHALL 0x00020000 +#define DDOVER_DDFX 0x00080000 +#define DDOVER_AUTOFLIP 0x00100000 +#define DDOVER_BOB 0x00200000 +#define DDOVER_OVERRIDEBOBWEAVE 0x00400000 +#define DDOVER_INTERLEAVED 0x00800000 + +/* DDPIXELFORMAT.dwFlags */ +#define DDPF_ALPHAPIXELS 0x00000001 +#define DDPF_ALPHA 0x00000002 +#define DDPF_FOURCC 0x00000004 +#define DDPF_PALETTEINDEXED4 0x00000008 +#define DDPF_PALETTEINDEXEDTO8 0x00000010 +#define DDPF_PALETTEINDEXED8 0x00000020 +#define DDPF_RGB 0x00000040 +#define DDPF_COMPRESSED 0x00000080 +#define DDPF_RGBTOYUV 0x00000100 +#define DDPF_YUV 0x00000200 +#define DDPF_ZBUFFER 0x00000400 +#define DDPF_PALETTEINDEXED1 0x00000800 +#define DDPF_PALETTEINDEXED2 0x00001000 +#define DDPF_ZPIXELS 0x00002000 +#define DDPF_STENCILBUFFER 0x00004000 +#define DDPF_ALPHAPREMULT 0x00008000 +#define DDPF_LUMINANCE 0x00020000 +#define DDPF_BUMPLUMINANCE 0x00040000 +#define DDPF_BUMPDUDV 0x00080000 + +/* SetCooperativeLevel dwFlags */ +#define DDSCL_FULLSCREEN 0x00000001 +#define DDSCL_ALLOWREBOOT 0x00000002 +#define DDSCL_NOWINDOWCHANGES 0x00000004 +#define DDSCL_NORMAL 0x00000008 +#define DDSCL_EXCLUSIVE 0x00000010 +#define DDSCL_ALLOWMODEX 0x00000040 +#define DDSCL_SETFOCUSWINDOW 0x00000080 +#define DDSCL_SETDEVICEWINDOW 0x00000100 +#define DDSCL_CREATEDEVICEWINDOW 0x00000200 +#define DDSCL_MULTITHREADED 0x00000400 +#define DDSCL_FPUSETUP 0x00000800 +#define DDSCL_FPUPRESERVE 0x00001000 + + +/* DDSURFACEDESC.dwFlags */ +#define DDSD_CAPS 0x00000001 +#define DDSD_HEIGHT 0x00000002 +#define DDSD_WIDTH 0x00000004 +#define DDSD_PITCH 0x00000008 +#define DDSD_BACKBUFFERCOUNT 0x00000020 +#define DDSD_ZBUFFERBITDEPTH 0x00000040 +#define DDSD_ALPHABITDEPTH 0x00000080 +#define DDSD_LPSURFACE 0x00000800 +#define DDSD_PIXELFORMAT 0x00001000 +#define DDSD_CKDESTOVERLAY 0x00002000 +#define DDSD_CKDESTBLT 0x00004000 +#define DDSD_CKSRCOVERLAY 0x00008000 +#define DDSD_CKSRCBLT 0x00010000 +#define DDSD_MIPMAPCOUNT 0x00020000 +#define DDSD_REFRESHRATE 0x00040000 +#define DDSD_LINEARSIZE 0x00080000 +#define DDSD_TEXTURESTAGE 0x00100000 +#define DDSD_FVF 0x00200000 +#define DDSD_SRCVBHANDLE 0x00400000 +#define DDSD_DEPTH 0x00800000 +#define DDSD_ALL 0x00fff9ee + +/* EnumSurfaces flags */ +#define DDENUMSURFACES_ALL 0x00000001 +#define DDENUMSURFACES_MATCH 0x00000002 +#define DDENUMSURFACES_NOMATCH 0x00000004 +#define DDENUMSURFACES_CANBECREATED 0x00000008 +#define DDENUMSURFACES_DOESEXIST 0x00000010 + +/* SetDisplayMode flags */ +#define DDSDM_STANDARDVGAMODE 0x00000001 + +/* EnumDisplayModes flags */ +#define DDEDM_REFRESHRATES 0x00000001 +#define DDEDM_STANDARDVGAMODES 0x00000002 + +/* WaitForVerticalDisplay flags */ + +#define DDWAITVB_BLOCKBEGIN 0x00000001 +#define DDWAITVB_BLOCKBEGINEVENT 0x00000002 +#define DDWAITVB_BLOCKEND 0x00000004 + +typedef struct _DDSURFACEDESC +{ + DWORD dwSize; /* 0: size of the DDSURFACEDESC structure*/ + DWORD dwFlags; /* 4: determines what fields are valid*/ + DWORD dwHeight; /* 8: height of surface to be created*/ + DWORD dwWidth; /* C: width of input surface*/ + union { + LONG lPitch; /* 10: distance to start of next line (return value only)*/ + DWORD dwLinearSize; + } DUMMYUNIONNAME1; + DWORD dwBackBufferCount;/* 14: number of back buffers requested*/ + union { + DWORD dwMipMapCount;/* 18:number of mip-map levels requested*/ + DWORD dwZBufferBitDepth;/*18: depth of Z buffer requested*/ + DWORD dwRefreshRate;/* 18:refresh rate (used when display mode is described)*/ + } DUMMYUNIONNAME2; + DWORD dwAlphaBitDepth;/* 1C:depth of alpha buffer requested*/ + DWORD dwReserved; /* 20:reserved*/ + void *lpSurface; /* 24:pointer to the associated surface memory*/ + DDCOLORKEY ddckCKDestOverlay;/* 28: CK for dest overlay use*/ + DDCOLORKEY ddckCKDestBlt; /* 30: CK for destination blt use*/ + DDCOLORKEY ddckCKSrcOverlay;/* 38: CK for source overlay use*/ + DDCOLORKEY ddckCKSrcBlt; /* 40: CK for source blt use*/ + DDPIXELFORMAT ddpfPixelFormat;/* 48: pixel format description of the surface*/ + DDSCAPS ddsCaps; /* 68: direct draw surface caps */ +} DDSURFACEDESC,*LPDDSURFACEDESC; + +typedef struct _DDSURFACEDESC2 +{ + DWORD dwSize; /* 0: size of the DDSURFACEDESC2 structure*/ + DWORD dwFlags; /* 4: determines what fields are valid*/ + DWORD dwHeight; /* 8: height of surface to be created*/ + DWORD dwWidth; /* C: width of input surface*/ + union { + LONG lPitch; /*10: distance to start of next line (return value only)*/ + DWORD dwLinearSize; /*10: formless late-allocated optimized surface size */ + } DUMMYUNIONNAME1; + union { + DWORD dwBackBufferCount;/* 14: number of back buffers requested*/ + DWORD dwDepth; + } DUMMYUNIONNAME5; + union { + DWORD dwMipMapCount;/* 18:number of mip-map levels requested*/ + DWORD dwRefreshRate;/* 18:refresh rate (used when display mode is described)*/ + DWORD dwSrcVBHandle;/* 18:source used in VB::Optimize */ + } DUMMYUNIONNAME2; + DWORD dwAlphaBitDepth;/* 1C:depth of alpha buffer requested*/ + DWORD dwReserved; /* 20:reserved*/ + void *lpSurface; /* 24:pointer to the associated surface memory*/ + union { + DDCOLORKEY ddckCKDestOverlay; /* 28: CK for dest overlay use*/ + DWORD dwEmptyFaceColor; /* 28: color for empty cubemap faces */ + } DUMMYUNIONNAME3; + DDCOLORKEY ddckCKDestBlt; /* 30: CK for destination blt use*/ + DDCOLORKEY ddckCKSrcOverlay;/* 38: CK for source overlay use*/ + DDCOLORKEY ddckCKSrcBlt; /* 40: CK for source blt use*/ + + union { + DDPIXELFORMAT ddpfPixelFormat;/* 48: pixel format description of the surface*/ + DWORD dwFVF; /* 48: vertex format description of vertex buffers */ + } DUMMYUNIONNAME4; + DDSCAPS2 ddsCaps; /* 68: DDraw surface caps */ + DWORD dwTextureStage; /* 78: stage in multitexture cascade */ +} DDSURFACEDESC2,*LPDDSURFACEDESC2; + +/* DDCOLORCONTROL.dwFlags */ +#define DDCOLOR_BRIGHTNESS 0x00000001 +#define DDCOLOR_CONTRAST 0x00000002 +#define DDCOLOR_HUE 0x00000004 +#define DDCOLOR_SATURATION 0x00000008 +#define DDCOLOR_SHARPNESS 0x00000010 +#define DDCOLOR_GAMMA 0x00000020 +#define DDCOLOR_COLORENABLE 0x00000040 + +typedef struct { + DWORD dwSize; + DWORD dwFlags; + LONG lBrightness; + LONG lContrast; + LONG lHue; + LONG lSaturation; + LONG lSharpness; + LONG lGamma; + LONG lColorEnable; + DWORD dwReserved1; +} DDCOLORCONTROL,*LPDDCOLORCONTROL; + +typedef struct { + WORD red[256]; + WORD green[256]; + WORD blue[256]; +} DDGAMMARAMP,*LPDDGAMMARAMP; + +typedef BOOL (CALLBACK *LPDDENUMCALLBACKA)(GUID *guid, char *driver_description, char *driver_name, void *ctx); +typedef BOOL (CALLBACK *LPDDENUMCALLBACKW)(GUID *guid, WCHAR *driver_description, WCHAR *driver_name, void *ctx); +DECL_WINELIB_TYPE_AW(LPDDENUMCALLBACK) + +typedef HRESULT (CALLBACK *LPDDENUMMODESCALLBACK)(DDSURFACEDESC *desc, void *ctx); +typedef HRESULT (CALLBACK *LPDDENUMMODESCALLBACK2)(DDSURFACEDESC2 *desc, void *ctx); +typedef HRESULT (CALLBACK *LPDDENUMSURFACESCALLBACK)(struct IDirectDrawSurface *surface, + DDSURFACEDESC *surface_desc, void *ctx); +typedef HRESULT (CALLBACK *LPDDENUMSURFACESCALLBACK2)(struct IDirectDrawSurface4 *surface, + DDSURFACEDESC2 *surface_desc, void *ctx); +typedef HRESULT (CALLBACK *LPDDENUMSURFACESCALLBACK7)(struct IDirectDrawSurface7 *surface, + DDSURFACEDESC2 *surface_desc, void *ctx); + +typedef BOOL (CALLBACK *LPDDENUMCALLBACKEXA)(GUID *guid, char *driver_description, + char *driver_name, void *ctx, HMONITOR monitor); +typedef BOOL (CALLBACK *LPDDENUMCALLBACKEXW)(GUID *guid, WCHAR *driver_description, + WCHAR *driver_name, void *ctx, HMONITOR monitor); +DECL_WINELIB_TYPE_AW(LPDDENUMCALLBACKEX) + +HRESULT WINAPI DirectDrawEnumerateA(LPDDENUMCALLBACKA cb, void *ctx); +HRESULT WINAPI DirectDrawEnumerateW(LPDDENUMCALLBACKW cb, void *ctx); +#define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate) + +HRESULT WINAPI DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA cb, void *ctx, DWORD flags); +HRESULT WINAPI DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW cb, void *ctx, DWORD flags); +#define DirectDrawEnumerateEx WINELIB_NAME_AW(DirectDrawEnumerateEx) + +typedef HRESULT (WINAPI * LPDIRECTDRAWENUMERATEEXA)(LPDDENUMCALLBACKEXA cb, void *ctx, DWORD flags); +typedef HRESULT (WINAPI * LPDIRECTDRAWENUMERATEEXW)(LPDDENUMCALLBACKEXW cb, void *ctx, DWORD flags); +DECL_WINELIB_TYPE_AW(LPDIRECTDRAWENUMERATEEX) + +/* flags for DirectDrawEnumerateEx */ +#define DDENUM_ATTACHEDSECONDARYDEVICES 0x00000001 +#define DDENUM_DETACHEDSECONDARYDEVICES 0x00000002 +#define DDENUM_NONDISPLAYDEVICES 0x00000004 + +/* flags for DirectDrawCreate or IDirectDraw::Initialize */ +#define DDCREATE_HARDWAREONLY __MSABI_LONG(1) +#define DDCREATE_EMULATIONONLY __MSABI_LONG(2) + +typedef struct _DDBLTFX +{ + DWORD dwSize; /* size of structure */ + DWORD dwDDFX; /* FX operations */ + DWORD dwROP; /* Win32 raster operations */ + DWORD dwDDROP; /* Raster operations new for DirectDraw */ + DWORD dwRotationAngle; /* Rotation angle for blt */ + DWORD dwZBufferOpCode; /* ZBuffer compares */ + DWORD dwZBufferLow; /* Low limit of Z buffer */ + DWORD dwZBufferHigh; /* High limit of Z buffer */ + DWORD dwZBufferBaseDest; /* Destination base value */ + DWORD dwZDestConstBitDepth; /* Bit depth used to specify Z constant for destination */ + union + { + DWORD dwZDestConst; /* Constant to use as Z buffer for dest */ + struct IDirectDrawSurface *lpDDSZBufferDest; /* Surface to use as Z buffer for dest */ + } DUMMYUNIONNAME1; + DWORD dwZSrcConstBitDepth; /* Bit depth used to specify Z constant for source */ + union + { + DWORD dwZSrcConst; /* Constant to use as Z buffer for src */ + struct IDirectDrawSurface *lpDDSZBufferSrc; /* Surface to use as Z buffer for src */ + } DUMMYUNIONNAME2; + DWORD dwAlphaEdgeBlendBitDepth; /* Bit depth used to specify constant for alpha edge blend */ + DWORD dwAlphaEdgeBlend; /* Alpha for edge blending */ + DWORD dwReserved; + DWORD dwAlphaDestConstBitDepth; /* Bit depth used to specify alpha constant for destination */ + union + { + DWORD dwAlphaDestConst; /* Constant to use as Alpha Channel */ + struct IDirectDrawSurface *lpDDSAlphaDest; /* Surface to use as Alpha Channel */ + } DUMMYUNIONNAME3; + DWORD dwAlphaSrcConstBitDepth; /* Bit depth used to specify alpha constant for source */ + union + { + DWORD dwAlphaSrcConst; /* Constant to use as Alpha Channel */ + struct IDirectDrawSurface *lpDDSAlphaSrc; /* Surface to use as Alpha Channel */ + } DUMMYUNIONNAME4; + union + { + DWORD dwFillColor; /* color in RGB or Palettized */ + DWORD dwFillDepth; /* depth value for z-buffer */ + DWORD dwFillPixel; /* pixel val for RGBA or RGBZ */ + struct IDirectDrawSurface *lpDDSPattern; /* Surface to use as pattern */ + } DUMMYUNIONNAME5; + DDCOLORKEY ddckDestColorkey; /* DestColorkey override */ + DDCOLORKEY ddckSrcColorkey; /* SrcColorkey override */ +} DDBLTFX,*LPDDBLTFX; + +/* dwDDFX */ +/* arithmetic stretching along y axis */ +#define DDBLTFX_ARITHSTRETCHY 0x00000001 +/* mirror on y axis */ +#define DDBLTFX_MIRRORLEFTRIGHT 0x00000002 +/* mirror on x axis */ +#define DDBLTFX_MIRRORUPDOWN 0x00000004 +/* do not tear */ +#define DDBLTFX_NOTEARING 0x00000008 +/* 180 degrees clockwise rotation */ +#define DDBLTFX_ROTATE180 0x00000010 +/* 270 degrees clockwise rotation */ +#define DDBLTFX_ROTATE270 0x00000020 +/* 90 degrees clockwise rotation */ +#define DDBLTFX_ROTATE90 0x00000040 +/* dwZBufferLow and dwZBufferHigh specify limits to the copied Z values */ +#define DDBLTFX_ZBUFFERRANGE 0x00000080 +/* add dwZBufferBaseDest to every source z value before compare */ +#define DDBLTFX_ZBUFFERBASEDEST 0x00000100 + +typedef struct _DDOVERLAYFX +{ + DWORD dwSize; /* size of structure */ + DWORD dwAlphaEdgeBlendBitDepth; /* Bit depth used to specify constant for alpha edge blend */ + DWORD dwAlphaEdgeBlend; /* Constant to use as alpha for edge blend */ + DWORD dwReserved; + DWORD dwAlphaDestConstBitDepth; /* Bit depth used to specify alpha constant for destination */ + union + { + DWORD dwAlphaDestConst; /* Constant to use as alpha channel for dest */ + struct IDirectDrawSurface *lpDDSAlphaDest; /* Surface to use as alpha channel for dest */ + } DUMMYUNIONNAME1; + DWORD dwAlphaSrcConstBitDepth; /* Bit depth used to specify alpha constant for source */ + union + { + DWORD dwAlphaSrcConst; /* Constant to use as alpha channel for src */ + struct IDirectDrawSurface *lpDDSAlphaSrc; /* Surface to use as alpha channel for src */ + } DUMMYUNIONNAME2; + DDCOLORKEY dckDestColorkey; /* DestColorkey override */ + DDCOLORKEY dckSrcColorkey; /* DestColorkey override */ + DWORD dwDDFX; /* Overlay FX */ + DWORD dwFlags; /* flags */ +} DDOVERLAYFX,*LPDDOVERLAYFX; + +typedef struct _DDBLTBATCH +{ + RECT *lprDest; + struct IDirectDrawSurface *lpDDSSrc; + RECT *lprSrc; + DWORD dwFlags; + DDBLTFX *lpDDBltFx; +} DDBLTBATCH,*LPDDBLTBATCH; + +#define MAX_DDDEVICEID_STRING 512 + +#define DDGDI_GETHOSTIDENTIFIER 1 + +typedef struct tagDDDEVICEIDENTIFIER { + char szDriver[MAX_DDDEVICEID_STRING]; + char szDescription[MAX_DDDEVICEID_STRING]; + LARGE_INTEGER liDriverVersion; + DWORD dwVendorId; + DWORD dwDeviceId; + DWORD dwSubSysId; + DWORD dwRevision; + GUID guidDeviceIdentifier; +} DDDEVICEIDENTIFIER, * LPDDDEVICEIDENTIFIER; + +typedef struct tagDDDEVICEIDENTIFIER2 { + char szDriver[MAX_DDDEVICEID_STRING]; /* user readable driver name */ + char szDescription[MAX_DDDEVICEID_STRING]; /* user readable description */ + LARGE_INTEGER liDriverVersion; /* driver version */ + DWORD dwVendorId; /* vendor ID, zero if unknown */ + DWORD dwDeviceId; /* chipset ID, zero if unknown */ + DWORD dwSubSysId; /* board ID, zero if unknown */ + DWORD dwRevision; /* chipset version, zero if unknown */ + GUID guidDeviceIdentifier; /* unique ID for this driver/chipset combination */ + DWORD dwWHQLLevel; /* Windows Hardware Quality Lab certification level */ +} DDDEVICEIDENTIFIER2, * LPDDDEVICEIDENTIFIER2; + +/***************************************************************************** + * IDirectDrawPalette interface + */ +#undef INTERFACE +#define INTERFACE IDirectDrawPalette +DECLARE_INTERFACE_(IDirectDrawPalette,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawPalette methods ***/ + STDMETHOD(GetCaps)(THIS_ LPDWORD lpdwCaps) PURE; + STDMETHOD(GetEntries)(THIS_ DWORD dwFlags, DWORD dwBase, DWORD dwNumEntries, LPPALETTEENTRY lpEntries) PURE; + STDMETHOD(Initialize)(THIS_ struct IDirectDraw *ddraw, DWORD flags, PALETTEENTRY *color_table) PURE; + STDMETHOD(SetEntries)(THIS_ DWORD dwFlags, DWORD dwStartingEntry, DWORD dwCount, LPPALETTEENTRY lpEntries) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawPalette_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawPalette_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawPalette_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawPalette methods ***/ +#define IDirectDrawPalette_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectDrawPalette_GetEntries(p,a,b,c,d) (p)->lpVtbl->GetEntries(p,a,b,c,d) +#define IDirectDrawPalette_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectDrawPalette_SetEntries(p,a,b,c,d) (p)->lpVtbl->SetEntries(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectDrawPalette_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawPalette_AddRef(p) (p)->AddRef() +#define IDirectDrawPalette_Release(p) (p)->Release() +/*** IDirectDrawPalette methods ***/ +#define IDirectDrawPalette_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectDrawPalette_GetEntries(p,a,b,c,d) (p)->GetEntries(a,b,c,d) +#define IDirectDrawPalette_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectDrawPalette_SetEntries(p,a,b,c,d) (p)->SetEntries(a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectDrawClipper interface + */ +#define INTERFACE IDirectDrawClipper +DECLARE_INTERFACE_(IDirectDrawClipper,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawClipper methods ***/ + STDMETHOD(GetClipList)(THIS_ LPRECT lpRect, LPRGNDATA lpClipList, LPDWORD lpdwSize) PURE; + STDMETHOD(GetHWnd)(THIS_ HWND *lphWnd) PURE; + STDMETHOD(Initialize)(THIS_ struct IDirectDraw *ddraw, DWORD flags) PURE; + STDMETHOD(IsClipListChanged)(THIS_ BOOL *lpbChanged) PURE; + STDMETHOD(SetClipList)(THIS_ LPRGNDATA lpClipList, DWORD dwFlags) PURE; + STDMETHOD(SetHWnd)(THIS_ DWORD dwFlags, HWND hWnd) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawClipper_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawClipper_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawClipper_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawClipper methods ***/ +#define IDirectDrawClipper_GetClipList(p,a,b,c) (p)->lpVtbl->GetClipList(p,a,b,c) +#define IDirectDrawClipper_GetHWnd(p,a) (p)->lpVtbl->GetHWnd(p,a) +#define IDirectDrawClipper_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectDrawClipper_IsClipListChanged(p,a) (p)->lpVtbl->IsClipListChanged(p,a) +#define IDirectDrawClipper_SetClipList(p,a,b) (p)->lpVtbl->SetClipList(p,a,b) +#define IDirectDrawClipper_SetHWnd(p,a,b) (p)->lpVtbl->SetHWnd(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDrawClipper_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawClipper_AddRef(p) (p)->AddRef() +#define IDirectDrawClipper_Release(p) (p)->Release() +/*** IDirectDrawClipper methods ***/ +#define IDirectDrawClipper_GetClipList(p,a,b,c) (p)->GetClipList(a,b,c) +#define IDirectDrawClipper_GetHWnd(p,a) (p)->GetHWnd(a) +#define IDirectDrawClipper_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectDrawClipper_IsClipListChanged(p,a) (p)->IsClipListChanged(a) +#define IDirectDrawClipper_SetClipList(p,a,b) (p)->SetClipList(a,b) +#define IDirectDrawClipper_SetHWnd(p,a,b) (p)->SetHWnd(a,b) +#endif + + +/***************************************************************************** + * IDirectDraw interface + */ +#define INTERFACE IDirectDraw +DECLARE_INTERFACE_(IDirectDraw,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDraw methods ***/ + STDMETHOD(Compact)(THIS) PURE; + STDMETHOD(CreateClipper)(THIS_ DWORD flags, IDirectDrawClipper **clipper, IUnknown *outer) PURE; + STDMETHOD(CreatePalette)(THIS_ DWORD flags, PALETTEENTRY *color_table, + IDirectDrawPalette **palette, IUnknown *outer) PURE; + STDMETHOD(CreateSurface)(THIS_ DDSURFACEDESC *surface_desc, + struct IDirectDrawSurface **surface, IUnknown *outer) PURE; + STDMETHOD(DuplicateSurface)(THIS_ struct IDirectDrawSurface *src_surface, + struct IDirectDrawSurface **dst_surface) PURE; + STDMETHOD(EnumDisplayModes)(THIS_ DWORD flags, DDSURFACEDESC *surface_desc, + void *ctx, LPDDENUMMODESCALLBACK cb) PURE; + STDMETHOD(EnumSurfaces)(THIS_ DWORD flags, DDSURFACEDESC *surface_desc, + void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; + STDMETHOD(FlipToGDISurface)(THIS) PURE; + STDMETHOD(GetCaps)(THIS_ DDCAPS *driver_caps, DDCAPS *hel_caps) PURE; + STDMETHOD(GetDisplayMode)(THIS_ DDSURFACEDESC *surface_desc) PURE; + STDMETHOD(GetFourCCCodes)(THIS_ LPDWORD lpNumCodes, LPDWORD lpCodes) PURE; + STDMETHOD(GetGDISurface)(THIS_ struct IDirectDrawSurface **surface) PURE; + STDMETHOD(GetMonitorFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; + STDMETHOD(GetScanLine)(THIS_ LPDWORD lpdwScanLine) PURE; + STDMETHOD(GetVerticalBlankStatus)(THIS_ BOOL *lpbIsInVB) PURE; + STDMETHOD(Initialize)(THIS_ GUID *lpGUID) PURE; + STDMETHOD(RestoreDisplayMode)(THIS) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hWnd, DWORD dwFlags) PURE; + STDMETHOD(SetDisplayMode)(THIS_ DWORD dwWidth, DWORD dwHeight, DWORD dwBPP) PURE; + STDMETHOD(WaitForVerticalBlank)(THIS_ DWORD dwFlags, HANDLE hEvent) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDraw_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDraw_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDraw_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDraw methods ***/ +#define IDirectDraw_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectDraw_CreateClipper(p,a,b,c) (p)->lpVtbl->CreateClipper(p,a,b,c) +#define IDirectDraw_CreatePalette(p,a,b,c,d) (p)->lpVtbl->CreatePalette(p,a,b,c,d) +#define IDirectDraw_CreateSurface(p,a,b,c) (p)->lpVtbl->CreateSurface(p,a,b,c) +#define IDirectDraw_DuplicateSurface(p,a,b) (p)->lpVtbl->DuplicateSurface(p,a,b) +#define IDirectDraw_EnumDisplayModes(p,a,b,c,d) (p)->lpVtbl->EnumDisplayModes(p,a,b,c,d) +#define IDirectDraw_EnumSurfaces(p,a,b,c,d) (p)->lpVtbl->EnumSurfaces(p,a,b,c,d) +#define IDirectDraw_FlipToGDISurface(p) (p)->lpVtbl->FlipToGDISurface(p) +#define IDirectDraw_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectDraw_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirectDraw_GetFourCCCodes(p,a,b) (p)->lpVtbl->GetFourCCCodes(p,a,b) +#define IDirectDraw_GetGDISurface(p,a) (p)->lpVtbl->GetGDISurface(p,a) +#define IDirectDraw_GetMonitorFrequency(p,a) (p)->lpVtbl->GetMonitorFrequency(p,a) +#define IDirectDraw_GetScanLine(p,a) (p)->lpVtbl->GetScanLine(p,a) +#define IDirectDraw_GetVerticalBlankStatus(p,a) (p)->lpVtbl->GetVerticalBlankStatus(p,a) +#define IDirectDraw_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectDraw_RestoreDisplayMode(p) (p)->lpVtbl->RestoreDisplayMode(p) +#define IDirectDraw_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectDraw_SetDisplayMode(p,a,b,c) (p)->lpVtbl->SetDisplayMode(p,a,b,c) +#define IDirectDraw_WaitForVerticalBlank(p,a,b) (p)->lpVtbl->WaitForVerticalBlank(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDraw_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDraw_AddRef(p) (p)->AddRef() +#define IDirectDraw_Release(p) (p)->Release() +/*** IDirectDraw methods ***/ +#define IDirectDraw_Compact(p) (p)->Compact() +#define IDirectDraw_CreateClipper(p,a,b,c) (p)->CreateClipper(a,b,c) +#define IDirectDraw_CreatePalette(p,a,b,c,d) (p)->CreatePalette(a,b,c,d) +#define IDirectDraw_CreateSurface(p,a,b,c) (p)->CreateSurface(a,b,c) +#define IDirectDraw_DuplicateSurface(p,a,b) (p)->DuplicateSurface(a,b) +#define IDirectDraw_EnumDisplayModes(p,a,b,c,d) (p)->EnumDisplayModes(a,b,c,d) +#define IDirectDraw_EnumSurfaces(p,a,b,c,d) (p)->EnumSurfaces(a,b,c,d) +#define IDirectDraw_FlipToGDISurface(p) (p)->FlipToGDISurface() +#define IDirectDraw_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectDraw_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirectDraw_GetFourCCCodes(p,a,b) (p)->GetFourCCCodes(a,b) +#define IDirectDraw_GetGDISurface(p,a) (p)->GetGDISurface(a) +#define IDirectDraw_GetMonitorFrequency(p,a) (p)->GetMonitorFrequency(a) +#define IDirectDraw_GetScanLine(p,a) (p)->GetScanLine(a) +#define IDirectDraw_GetVerticalBlankStatus(p,a) (p)->GetVerticalBlankStatus(a) +#define IDirectDraw_Initialize(p,a) (p)->Initialize(a) +#define IDirectDraw_RestoreDisplayMode(p) (p)->RestoreDisplayMode() +#define IDirectDraw_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectDraw_SetDisplayMode(p,a,b,c) (p)->SetDisplayMode(a,b,c) +#define IDirectDraw_WaitForVerticalBlank(p,a,b) (p)->WaitForVerticalBlank(a,b) +#endif + + +/* flags for Lock() */ +#define DDLOCK_SURFACEMEMORYPTR __MSABI_LONG(0x00000000) +#define DDLOCK_WAIT __MSABI_LONG(0x00000001) +#define DDLOCK_EVENT __MSABI_LONG(0x00000002) +#define DDLOCK_READONLY __MSABI_LONG(0x00000010) +#define DDLOCK_WRITEONLY __MSABI_LONG(0x00000020) +#define DDLOCK_NOSYSLOCK __MSABI_LONG(0x00000800) +#define DDLOCK_NOOVERWRITE __MSABI_LONG(0x00001000) +#define DDLOCK_DISCARDCONTENTS __MSABI_LONG(0x00002000) +#define DDLOCK_OKTOSWAP __MSABI_LONG(0x00002000) +#define DDLOCK_DONOTWAIT __MSABI_LONG(0x00004000) +#define DDLOCK_HASVOLUMETEXTUREBOXRECT __MSABI_LONG(0x00008000) +#define DDLOCK_NODIRTYUPDATE __MSABI_LONG(0x00010000) + + +/***************************************************************************** + * IDirectDraw2 interface + */ +/* Note: IDirectDraw2 cannot derive from IDirectDraw because the number of + * arguments of SetDisplayMode has changed ! + */ +#define INTERFACE IDirectDraw2 +DECLARE_INTERFACE_(IDirectDraw2,IUnknown) +{ + /*** IUnknown methods ***/ +/*00*/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; +/*04*/ STDMETHOD_(ULONG,AddRef)(THIS) PURE; +/*08*/ STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDraw2 methods ***/ +/*0c*/ STDMETHOD(Compact)(THIS) PURE; +/*10*/ STDMETHOD(CreateClipper)(THIS_ DWORD flags, IDirectDrawClipper **clipper, IUnknown *outer) PURE; +/*14*/ STDMETHOD(CreatePalette)(THIS_ DWORD flags, PALETTEENTRY *color_table, + IDirectDrawPalette **palette, IUnknown *outer) PURE; +/*18*/ STDMETHOD(CreateSurface)(THIS_ DDSURFACEDESC *surface_desc, + struct IDirectDrawSurface **surface, IUnknown *outer) PURE; +/*1c*/ STDMETHOD(DuplicateSurface)(THIS_ struct IDirectDrawSurface *src_surface, + struct IDirectDrawSurface **dst_surface) PURE; +/*20*/ STDMETHOD(EnumDisplayModes)(THIS_ DWORD flags, DDSURFACEDESC *surface_desc, + void *ctx, LPDDENUMMODESCALLBACK cb) PURE; +/*24*/ STDMETHOD(EnumSurfaces)(THIS_ DWORD flags, DDSURFACEDESC *surface_desc, + void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; +/*28*/ STDMETHOD(FlipToGDISurface)(THIS) PURE; +/*2c*/ STDMETHOD(GetCaps)(THIS_ DDCAPS *driver_caps, DDCAPS *hel_caps) PURE; +/*30*/ STDMETHOD(GetDisplayMode)(THIS_ DDSURFACEDESC *surface_desc) PURE; +/*34*/ STDMETHOD(GetFourCCCodes)(THIS_ LPDWORD lpNumCodes, LPDWORD lpCodes) PURE; +/*38*/ STDMETHOD(GetGDISurface)(THIS_ struct IDirectDrawSurface **surface) PURE; +/*3c*/ STDMETHOD(GetMonitorFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; +/*40*/ STDMETHOD(GetScanLine)(THIS_ LPDWORD lpdwScanLine) PURE; +/*44*/ STDMETHOD(GetVerticalBlankStatus)(THIS_ BOOL *lpbIsInVB) PURE; +/*48*/ STDMETHOD(Initialize)(THIS_ GUID *lpGUID) PURE; +/*4c*/ STDMETHOD(RestoreDisplayMode)(THIS) PURE; +/*50*/ STDMETHOD(SetCooperativeLevel)(THIS_ HWND hWnd, DWORD dwFlags) PURE; +/*54*/ STDMETHOD(SetDisplayMode)(THIS_ DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags) PURE; +/*58*/ STDMETHOD(WaitForVerticalBlank)(THIS_ DWORD dwFlags, HANDLE hEvent) PURE; + /* added in v2 */ +/*5c*/ STDMETHOD(GetAvailableVidMem)(THIS_ DDSCAPS *caps, DWORD *total, DWORD *free) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDraw2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDraw2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDraw2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDraw methods ***/ +#define IDirectDraw2_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectDraw2_CreateClipper(p,a,b,c) (p)->lpVtbl->CreateClipper(p,a,b,c) +#define IDirectDraw2_CreatePalette(p,a,b,c,d) (p)->lpVtbl->CreatePalette(p,a,b,c,d) +#define IDirectDraw2_CreateSurface(p,a,b,c) (p)->lpVtbl->CreateSurface(p,a,b,c) +#define IDirectDraw2_DuplicateSurface(p,a,b) (p)->lpVtbl->DuplicateSurface(p,a,b) +#define IDirectDraw2_EnumDisplayModes(p,a,b,c,d) (p)->lpVtbl->EnumDisplayModes(p,a,b,c,d) +#define IDirectDraw2_EnumSurfaces(p,a,b,c,d) (p)->lpVtbl->EnumSurfaces(p,a,b,c,d) +#define IDirectDraw2_FlipToGDISurface(p) (p)->lpVtbl->FlipToGDISurface(p) +#define IDirectDraw2_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectDraw2_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirectDraw2_GetFourCCCodes(p,a,b) (p)->lpVtbl->GetFourCCCodes(p,a,b) +#define IDirectDraw2_GetGDISurface(p,a) (p)->lpVtbl->GetGDISurface(p,a) +#define IDirectDraw2_GetMonitorFrequency(p,a) (p)->lpVtbl->GetMonitorFrequency(p,a) +#define IDirectDraw2_GetScanLine(p,a) (p)->lpVtbl->GetScanLine(p,a) +#define IDirectDraw2_GetVerticalBlankStatus(p,a) (p)->lpVtbl->GetVerticalBlankStatus(p,a) +#define IDirectDraw2_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectDraw2_RestoreDisplayMode(p) (p)->lpVtbl->RestoreDisplayMode(p) +#define IDirectDraw2_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectDraw2_SetDisplayMode(p,a,b,c,d,e) (p)->lpVtbl->SetDisplayMode(p,a,b,c,d,e) +#define IDirectDraw2_WaitForVerticalBlank(p,a,b) (p)->lpVtbl->WaitForVerticalBlank(p,a,b) +/*** IDirectDraw2 methods ***/ +#define IDirectDraw2_GetAvailableVidMem(p,a,b,c) (p)->lpVtbl->GetAvailableVidMem(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectDraw2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDraw2_AddRef(p) (p)->AddRef() +#define IDirectDraw2_Release(p) (p)->Release() +/*** IDirectDraw methods ***/ +#define IDirectDraw2_Compact(p) (p)->Compact() +#define IDirectDraw2_CreateClipper(p,a,b,c) (p)->CreateClipper(a,b,c) +#define IDirectDraw2_CreatePalette(p,a,b,c,d) (p)->CreatePalette(a,b,c,d) +#define IDirectDraw2_CreateSurface(p,a,b,c) (p)->CreateSurface(a,b,c) +#define IDirectDraw2_DuplicateSurface(p,a,b) (p)->DuplicateSurface(a,b) +#define IDirectDraw2_EnumDisplayModes(p,a,b,c,d) (p)->EnumDisplayModes(a,b,c,d) +#define IDirectDraw2_EnumSurfaces(p,a,b,c,d) (p)->EnumSurfaces(a,b,c,d) +#define IDirectDraw2_FlipToGDISurface(p) (p)->FlipToGDISurface() +#define IDirectDraw2_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectDraw2_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirectDraw2_GetFourCCCodes(p,a,b) (p)->GetFourCCCodes(a,b) +#define IDirectDraw2_GetGDISurface(p,a) (p)->GetGDISurface(a) +#define IDirectDraw2_GetMonitorFrequency(p,a) (p)->GetMonitorFrequency(a) +#define IDirectDraw2_GetScanLine(p,a) (p)->GetScanLine(a) +#define IDirectDraw2_GetVerticalBlankStatus(p,a) (p)->GetVerticalBlankStatus(a) +#define IDirectDraw2_Initialize(p,a) (p)->Initialize(a) +#define IDirectDraw2_RestoreDisplayMode(p) (p)->RestoreDisplayMode() +#define IDirectDraw2_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectDraw2_SetDisplayMode(p,a,b,c,d,e) (p)->SetDisplayMode(a,b,c,d,e) +#define IDirectDraw2_WaitForVerticalBlank(p,a,b) (p)->WaitForVerticalBlank(a,b) +/*** IDirectDraw2 methods ***/ +#define IDirectDraw2_GetAvailableVidMem(p,a,b,c) (p)->GetAvailableVidMem(a,b,c) +#endif + + +/***************************************************************************** + * IDirectDraw3 interface + */ +#define INTERFACE IDirectDraw3 +DECLARE_INTERFACE_(IDirectDraw3,IUnknown) +{ + /*** IUnknown methods ***/ +/*00*/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; +/*04*/ STDMETHOD_(ULONG,AddRef)(THIS) PURE; +/*08*/ STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDraw2 methods ***/ +/*0c*/ STDMETHOD(Compact)(THIS) PURE; +/*10*/ STDMETHOD(CreateClipper)(THIS_ DWORD flags, IDirectDrawClipper **clipper, IUnknown *outer) PURE; +/*14*/ STDMETHOD(CreatePalette)(THIS_ DWORD flags, PALETTEENTRY *color_table, + IDirectDrawPalette **lplpDDPalette, IUnknown *outer) PURE; +/*18*/ STDMETHOD(CreateSurface)(THIS_ DDSURFACEDESC *surface_desc, + struct IDirectDrawSurface **surface, IUnknown *outer) PURE; +/*1c*/ STDMETHOD(DuplicateSurface)(THIS_ struct IDirectDrawSurface *src_surface, + struct IDirectDrawSurface **dst_surface) PURE; +/*20*/ STDMETHOD(EnumDisplayModes)(THIS_ DWORD flags, DDSURFACEDESC *surface_desc, + void *ctx, LPDDENUMMODESCALLBACK cb) PURE; +/*24*/ STDMETHOD(EnumSurfaces)(THIS_ DWORD flags, DDSURFACEDESC *surface_desc, + void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; +/*28*/ STDMETHOD(FlipToGDISurface)(THIS) PURE; +/*2c*/ STDMETHOD(GetCaps)(THIS_ DDCAPS *driver_caps, DDCAPS *hel_caps) PURE; +/*30*/ STDMETHOD(GetDisplayMode)(THIS_ DDSURFACEDESC *surface_desc) PURE; +/*34*/ STDMETHOD(GetFourCCCodes)(THIS_ LPDWORD lpNumCodes, LPDWORD lpCodes) PURE; +/*38*/ STDMETHOD(GetGDISurface)(THIS_ struct IDirectDrawSurface **surface) PURE; +/*3c*/ STDMETHOD(GetMonitorFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; +/*40*/ STDMETHOD(GetScanLine)(THIS_ LPDWORD lpdwScanLine) PURE; +/*44*/ STDMETHOD(GetVerticalBlankStatus)(THIS_ BOOL *lpbIsInVB) PURE; +/*48*/ STDMETHOD(Initialize)(THIS_ GUID *lpGUID) PURE; +/*4c*/ STDMETHOD(RestoreDisplayMode)(THIS) PURE; +/*50*/ STDMETHOD(SetCooperativeLevel)(THIS_ HWND hWnd, DWORD dwFlags) PURE; +/*54*/ STDMETHOD(SetDisplayMode)(THIS_ DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags) PURE; +/*58*/ STDMETHOD(WaitForVerticalBlank)(THIS_ DWORD dwFlags, HANDLE hEvent) PURE; + /* added in v2 */ +/*5c*/ STDMETHOD(GetAvailableVidMem)(THIS_ DDSCAPS *caps, DWORD *total, DWORD *free) PURE; + /* added in v3 */ +/*60*/ STDMETHOD(GetSurfaceFromDC)(THIS_ HDC dc, struct IDirectDrawSurface **surface) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDraw3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDraw3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDraw3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDraw methods ***/ +#define IDirectDraw3_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectDraw3_CreateClipper(p,a,b,c) (p)->lpVtbl->CreateClipper(p,a,b,c) +#define IDirectDraw3_CreatePalette(p,a,b,c,d) (p)->lpVtbl->CreatePalette(p,a,b,c,d) +#define IDirectDraw3_CreateSurface(p,a,b,c) (p)->lpVtbl->CreateSurface(p,a,b,c) +#define IDirectDraw3_DuplicateSurface(p,a,b) (p)->lpVtbl->DuplicateSurface(p,a,b) +#define IDirectDraw3_EnumDisplayModes(p,a,b,c,d) (p)->lpVtbl->EnumDisplayModes(p,a,b,c,d) +#define IDirectDraw3_EnumSurfaces(p,a,b,c,d) (p)->lpVtbl->EnumSurfaces(p,a,b,c,d) +#define IDirectDraw3_FlipToGDISurface(p) (p)->lpVtbl->FlipToGDISurface(p) +#define IDirectDraw3_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectDraw3_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirectDraw3_GetFourCCCodes(p,a,b) (p)->lpVtbl->GetFourCCCodes(p,a,b) +#define IDirectDraw3_GetGDISurface(p,a) (p)->lpVtbl->GetGDISurface(p,a) +#define IDirectDraw3_GetMonitorFrequency(p,a) (p)->lpVtbl->GetMonitorFrequency(p,a) +#define IDirectDraw3_GetScanLine(p,a) (p)->lpVtbl->GetScanLine(p,a) +#define IDirectDraw3_GetVerticalBlankStatus(p,a) (p)->lpVtbl->GetVerticalBlankStatus(p,a) +#define IDirectDraw3_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectDraw3_RestoreDisplayMode(p) (p)->lpVtbl->RestoreDisplayMode(p) +#define IDirectDraw3_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectDraw3_SetDisplayMode(p,a,b,c,d,e) (p)->lpVtbl->SetDisplayMode(p,a,b,c,d,e) +#define IDirectDraw3_WaitForVerticalBlank(p,a,b) (p)->lpVtbl->WaitForVerticalBlank(p,a,b) +/*** IDirectDraw2 methods ***/ +#define IDirectDraw3_GetAvailableVidMem(p,a,b,c) (p)->lpVtbl->GetAvailableVidMem(p,a,b,c) +/*** IDirectDraw3 methods ***/ +#define IDirectDraw3_GetSurfaceFromDC(p,a,b) (p)->lpVtbl->GetSurfaceFromDC(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDraw3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDraw3_AddRef(p) (p)->AddRef() +#define IDirectDraw3_Release(p) (p)->Release() +/*** IDirectDraw methods ***/ +#define IDirectDraw3_Compact(p) (p)->Compact() +#define IDirectDraw3_CreateClipper(p,a,b,c) (p)->CreateClipper(a,b,c) +#define IDirectDraw3_CreatePalette(p,a,b,c,d) (p)->CreatePalette(a,b,c,d) +#define IDirectDraw3_CreateSurface(p,a,b,c) (p)->CreateSurface(a,b,c) +#define IDirectDraw3_DuplicateSurface(p,a,b) (p)->DuplicateSurface(a,b) +#define IDirectDraw3_EnumDisplayModes(p,a,b,c,d) (p)->EnumDisplayModes(a,b,c,d) +#define IDirectDraw3_EnumSurfaces(p,a,b,c,d) (p)->EnumSurfaces(a,b,c,d) +#define IDirectDraw3_FlipToGDISurface(p) (p)->FlipToGDISurface() +#define IDirectDraw3_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectDraw3_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirectDraw3_GetFourCCCodes(p,a,b) (p)->GetFourCCCodes(a,b) +#define IDirectDraw3_GetGDISurface(p,a) (p)->GetGDISurface(a) +#define IDirectDraw3_GetMonitorFrequency(p,a) (p)->GetMonitorFrequency(a) +#define IDirectDraw3_GetScanLine(p,a) (p)->GetScanLine(a) +#define IDirectDraw3_GetVerticalBlankStatus(p,a) (p)->GetVerticalBlankStatus(a) +#define IDirectDraw3_Initialize(p,a) (p)->Initialize(a) +#define IDirectDraw3_RestoreDisplayMode(p) (p)->RestoreDisplayMode() +#define IDirectDraw3_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectDraw3_SetDisplayMode(p,a,b,c,d,e) (p)->SetDisplayMode(a,b,c,d,e) +#define IDirectDraw3_WaitForVerticalBlank(p,a,b) (p)->WaitForVerticalBlank(a,b) +/*** IDirectDraw2 methods ***/ +#define IDirectDraw3_GetAvailableVidMem(p,a,b,c) (p)->GetAvailableVidMem(a,b,c) +/*** IDirectDraw3 methods ***/ +#define IDirectDraw3_GetSurfaceFromDC(p,a,b) (p)->GetSurfaceFromDC(a,b) +#endif + + +/***************************************************************************** + * IDirectDraw4 interface + */ +#define INTERFACE IDirectDraw4 +DECLARE_INTERFACE_(IDirectDraw4,IUnknown) +{ + /*** IUnknown methods ***/ +/*00*/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; +/*04*/ STDMETHOD_(ULONG,AddRef)(THIS) PURE; +/*08*/ STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDraw4 methods ***/ +/*0c*/ STDMETHOD(Compact)(THIS) PURE; +/*10*/ STDMETHOD(CreateClipper)(THIS_ DWORD flags, IDirectDrawClipper **clipper, IUnknown *outer) PURE; +/*14*/ STDMETHOD(CreatePalette)(THIS_ DWORD flags, PALETTEENTRY *color_table, + IDirectDrawPalette **palette, IUnknown *outer) PURE; +/*18*/ STDMETHOD(CreateSurface)(THIS_ DDSURFACEDESC2 *surface_desc, + struct IDirectDrawSurface4 **surface, IUnknown *outer) PURE; +/*1c*/ STDMETHOD(DuplicateSurface)(THIS_ struct IDirectDrawSurface4 *src_surface, + struct IDirectDrawSurface4 **dst_surface) PURE; +/*20*/ STDMETHOD(EnumDisplayModes)(THIS_ DWORD flags, DDSURFACEDESC2 *surface_desc, + void *ctx, LPDDENUMMODESCALLBACK2 cb) PURE; +/*24*/ STDMETHOD(EnumSurfaces)(THIS_ DWORD flags, DDSURFACEDESC2 *surface_desc, + void *ctx, LPDDENUMSURFACESCALLBACK2 cb) PURE; +/*28*/ STDMETHOD(FlipToGDISurface)(THIS) PURE; +/*2c*/ STDMETHOD(GetCaps)(THIS_ DDCAPS *driver_caps, DDCAPS *hel_caps) PURE; +/*30*/ STDMETHOD(GetDisplayMode)(THIS_ DDSURFACEDESC2 *surface_desc) PURE; +/*34*/ STDMETHOD(GetFourCCCodes)(THIS_ LPDWORD lpNumCodes, LPDWORD lpCodes) PURE; +/*38*/ STDMETHOD(GetGDISurface)(THIS_ struct IDirectDrawSurface4 **surface) PURE; +/*3c*/ STDMETHOD(GetMonitorFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; +/*40*/ STDMETHOD(GetScanLine)(THIS_ LPDWORD lpdwScanLine) PURE; +/*44*/ STDMETHOD(GetVerticalBlankStatus)(THIS_ BOOL *lpbIsInVB) PURE; +/*48*/ STDMETHOD(Initialize)(THIS_ GUID *lpGUID) PURE; +/*4c*/ STDMETHOD(RestoreDisplayMode)(THIS) PURE; +/*50*/ STDMETHOD(SetCooperativeLevel)(THIS_ HWND hWnd, DWORD dwFlags) PURE; +/*54*/ STDMETHOD(SetDisplayMode)(THIS_ DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags) PURE; +/*58*/ STDMETHOD(WaitForVerticalBlank)(THIS_ DWORD dwFlags, HANDLE hEvent) PURE; + /* added in v2 */ +/*5c*/ STDMETHOD(GetAvailableVidMem)(THIS_ DDSCAPS2 *caps, DWORD *total, DWORD *free) PURE; + /* added in v4 */ +/*60*/ STDMETHOD(GetSurfaceFromDC)(THIS_ HDC dc, struct IDirectDrawSurface4 **surface) PURE; +/*64*/ STDMETHOD(RestoreAllSurfaces)(THIS) PURE; +/*68*/ STDMETHOD(TestCooperativeLevel)(THIS) PURE; +/*6c*/ STDMETHOD(GetDeviceIdentifier)(THIS_ DDDEVICEIDENTIFIER *identifier, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDraw4_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDraw4_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDraw4_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDraw methods ***/ +#define IDirectDraw4_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectDraw4_CreateClipper(p,a,b,c) (p)->lpVtbl->CreateClipper(p,a,b,c) +#define IDirectDraw4_CreatePalette(p,a,b,c,d) (p)->lpVtbl->CreatePalette(p,a,b,c,d) +#define IDirectDraw4_CreateSurface(p,a,b,c) (p)->lpVtbl->CreateSurface(p,a,b,c) +#define IDirectDraw4_DuplicateSurface(p,a,b) (p)->lpVtbl->DuplicateSurface(p,a,b) +#define IDirectDraw4_EnumDisplayModes(p,a,b,c,d) (p)->lpVtbl->EnumDisplayModes(p,a,b,c,d) +#define IDirectDraw4_EnumSurfaces(p,a,b,c,d) (p)->lpVtbl->EnumSurfaces(p,a,b,c,d) +#define IDirectDraw4_FlipToGDISurface(p) (p)->lpVtbl->FlipToGDISurface(p) +#define IDirectDraw4_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectDraw4_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirectDraw4_GetFourCCCodes(p,a,b) (p)->lpVtbl->GetFourCCCodes(p,a,b) +#define IDirectDraw4_GetGDISurface(p,a) (p)->lpVtbl->GetGDISurface(p,a) +#define IDirectDraw4_GetMonitorFrequency(p,a) (p)->lpVtbl->GetMonitorFrequency(p,a) +#define IDirectDraw4_GetScanLine(p,a) (p)->lpVtbl->GetScanLine(p,a) +#define IDirectDraw4_GetVerticalBlankStatus(p,a) (p)->lpVtbl->GetVerticalBlankStatus(p,a) +#define IDirectDraw4_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectDraw4_RestoreDisplayMode(p) (p)->lpVtbl->RestoreDisplayMode(p) +#define IDirectDraw4_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectDraw4_SetDisplayMode(p,a,b,c,d,e) (p)->lpVtbl->SetDisplayMode(p,a,b,c,d,e) +#define IDirectDraw4_WaitForVerticalBlank(p,a,b) (p)->lpVtbl->WaitForVerticalBlank(p,a,b) +/*** IDirectDraw2 methods ***/ +#define IDirectDraw4_GetAvailableVidMem(p,a,b,c) (p)->lpVtbl->GetAvailableVidMem(p,a,b,c) +/*** IDirectDraw4 methods ***/ +#define IDirectDraw4_GetSurfaceFromDC(p,a,b) (p)->lpVtbl->GetSurfaceFromDC(p,a,b) +#define IDirectDraw4_RestoreAllSurfaces(p) (p)->lpVtbl->RestoreAllSurfaces(p) +#define IDirectDraw4_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p) +#define IDirectDraw4_GetDeviceIdentifier(p,a,b) (p)->lpVtbl->GetDeviceIdentifier(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDraw4_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDraw4_AddRef(p) (p)->AddRef() +#define IDirectDraw4_Release(p) (p)->Release() +/*** IDirectDraw methods ***/ +#define IDirectDraw4_Compact(p) (p)->Compact() +#define IDirectDraw4_CreateClipper(p,a,b,c) (p)->CreateClipper(a,b,c) +#define IDirectDraw4_CreatePalette(p,a,b,c,d) (p)->CreatePalette(a,b,c,d) +#define IDirectDraw4_CreateSurface(p,a,b,c) (p)->CreateSurface(a,b,c) +#define IDirectDraw4_DuplicateSurface(p,a,b) (p)->DuplicateSurface(a,b) +#define IDirectDraw4_EnumDisplayModes(p,a,b,c,d) (p)->EnumDisplayModes(a,b,c,d) +#define IDirectDraw4_EnumSurfaces(p,a,b,c,d) (p)->EnumSurfaces(a,b,c,d) +#define IDirectDraw4_FlipToGDISurface(p) (p)->FlipToGDISurface() +#define IDirectDraw4_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectDraw4_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirectDraw4_GetFourCCCodes(p,a,b) (p)->GetFourCCCodes(a,b) +#define IDirectDraw4_GetGDISurface(p,a) (p)->GetGDISurface(a) +#define IDirectDraw4_GetMonitorFrequency(p,a) (p)->GetMonitorFrequency(a) +#define IDirectDraw4_GetScanLine(p,a) (p)->GetScanLine(a) +#define IDirectDraw4_GetVerticalBlankStatus(p,a) (p)->GetVerticalBlankStatus(a) +#define IDirectDraw4_Initialize(p,a) (p)->Initialize(a) +#define IDirectDraw4_RestoreDisplayMode(p) (p)->RestoreDisplayMode() +#define IDirectDraw4_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectDraw4_SetDisplayMode(p,a,b,c,d,e) (p)->SetDisplayMode(a,b,c,d,e) +#define IDirectDraw4_WaitForVerticalBlank(p,a,b) (p)->WaitForVerticalBlank(a,b) +/*** IDirectDraw2 methods ***/ +#define IDirectDraw4_GetAvailableVidMem(p,a,b,c) (p)->GetAvailableVidMem(a,b,c) +/*** IDirectDraw4 methods ***/ +#define IDirectDraw4_GetSurfaceFromDC(p,a,b) (p)->GetSurfaceFromDC(a,b) +#define IDirectDraw4_RestoreAllSurfaces(pc) (p)->RestoreAllSurfaces() +#define IDirectDraw4_TestCooperativeLevel(p) (p)->TestCooperativeLevel() +#define IDirectDraw4_GetDeviceIdentifier(p,a,b) (p)->GetDeviceIdentifier(a,b) +#endif + + +/***************************************************************************** + * IDirectDraw7 interface + */ +/* Note: IDirectDraw7 cannot derive from IDirectDraw4; it is even documented + * as not interchangeable with earlier DirectDraw interfaces. + */ +#define INTERFACE IDirectDraw7 +DECLARE_INTERFACE_(IDirectDraw7,IUnknown) +{ + /*** IUnknown methods ***/ +/*00*/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; +/*04*/ STDMETHOD_(ULONG,AddRef)(THIS) PURE; +/*08*/ STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDraw7 methods ***/ +/*0c*/ STDMETHOD(Compact)(THIS) PURE; +/*10*/ STDMETHOD(CreateClipper)(THIS_ DWORD flags, IDirectDrawClipper **clipper, IUnknown *outer) PURE; +/*14*/ STDMETHOD(CreatePalette)(THIS_ DWORD flags, PALETTEENTRY *color_table, + IDirectDrawPalette **palette, IUnknown *outer) PURE; +/*18*/ STDMETHOD(CreateSurface)(THIS_ DDSURFACEDESC2 *surface_desc, + struct IDirectDrawSurface7 **surface, IUnknown *outer) PURE; +/*1c*/ STDMETHOD(DuplicateSurface)(THIS_ struct IDirectDrawSurface7 *src_surface, + struct IDirectDrawSurface7 **dst_surface) PURE; +/*20*/ STDMETHOD(EnumDisplayModes)(THIS_ DWORD flags, DDSURFACEDESC2 *surface_desc, + void *ctx, LPDDENUMMODESCALLBACK2 cb) PURE; +/*24*/ STDMETHOD(EnumSurfaces)(THIS_ DWORD flags, DDSURFACEDESC2 *surface_desc, + void *ctx, LPDDENUMSURFACESCALLBACK7 cb) PURE; +/*28*/ STDMETHOD(FlipToGDISurface)(THIS) PURE; +/*2c*/ STDMETHOD(GetCaps)(THIS_ DDCAPS *driver_caps, DDCAPS *hel_caps) PURE; +/*30*/ STDMETHOD(GetDisplayMode)(THIS_ DDSURFACEDESC2 *surface_desc) PURE; +/*34*/ STDMETHOD(GetFourCCCodes)(THIS_ LPDWORD lpNumCodes, LPDWORD lpCodes) PURE; +/*38*/ STDMETHOD(GetGDISurface)(THIS_ struct IDirectDrawSurface7 **surface) PURE; +/*3c*/ STDMETHOD(GetMonitorFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; +/*40*/ STDMETHOD(GetScanLine)(THIS_ LPDWORD lpdwScanLine) PURE; +/*44*/ STDMETHOD(GetVerticalBlankStatus)(THIS_ BOOL *lpbIsInVB) PURE; +/*48*/ STDMETHOD(Initialize)(THIS_ GUID *lpGUID) PURE; +/*4c*/ STDMETHOD(RestoreDisplayMode)(THIS) PURE; +/*50*/ STDMETHOD(SetCooperativeLevel)(THIS_ HWND hWnd, DWORD dwFlags) PURE; +/*54*/ STDMETHOD(SetDisplayMode)(THIS_ DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags) PURE; +/*58*/ STDMETHOD(WaitForVerticalBlank)(THIS_ DWORD dwFlags, HANDLE hEvent) PURE; + /* added in v2 */ +/*5c*/ STDMETHOD(GetAvailableVidMem)(THIS_ DDSCAPS2 *caps, DWORD *total, DWORD *free) PURE; + /* added in v4 */ +/*60*/ STDMETHOD(GetSurfaceFromDC)(THIS_ HDC dc, struct IDirectDrawSurface7 **surface) PURE; +/*64*/ STDMETHOD(RestoreAllSurfaces)(THIS) PURE; +/*68*/ STDMETHOD(TestCooperativeLevel)(THIS) PURE; +/*6c*/ STDMETHOD(GetDeviceIdentifier)(THIS_ DDDEVICEIDENTIFIER2 *identifier, DWORD flags) PURE; + /* added in v7 */ +/*70*/ STDMETHOD(StartModeTest)(THIS_ LPSIZE pModes, DWORD dwNumModes, DWORD dwFlags) PURE; +/*74*/ STDMETHOD(EvaluateMode)(THIS_ DWORD dwFlags, DWORD *pTimeout) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDraw7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDraw7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDraw7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDraw methods ***/ +#define IDirectDraw7_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectDraw7_CreateClipper(p,a,b,c) (p)->lpVtbl->CreateClipper(p,a,b,c) +#define IDirectDraw7_CreatePalette(p,a,b,c,d) (p)->lpVtbl->CreatePalette(p,a,b,c,d) +#define IDirectDraw7_CreateSurface(p,a,b,c) (p)->lpVtbl->CreateSurface(p,a,b,c) +#define IDirectDraw7_DuplicateSurface(p,a,b) (p)->lpVtbl->DuplicateSurface(p,a,b) +#define IDirectDraw7_EnumDisplayModes(p,a,b,c,d) (p)->lpVtbl->EnumDisplayModes(p,a,b,c,d) +#define IDirectDraw7_EnumSurfaces(p,a,b,c,d) (p)->lpVtbl->EnumSurfaces(p,a,b,c,d) +#define IDirectDraw7_FlipToGDISurface(p) (p)->lpVtbl->FlipToGDISurface(p) +#define IDirectDraw7_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectDraw7_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) +#define IDirectDraw7_GetFourCCCodes(p,a,b) (p)->lpVtbl->GetFourCCCodes(p,a,b) +#define IDirectDraw7_GetGDISurface(p,a) (p)->lpVtbl->GetGDISurface(p,a) +#define IDirectDraw7_GetMonitorFrequency(p,a) (p)->lpVtbl->GetMonitorFrequency(p,a) +#define IDirectDraw7_GetScanLine(p,a) (p)->lpVtbl->GetScanLine(p,a) +#define IDirectDraw7_GetVerticalBlankStatus(p,a) (p)->lpVtbl->GetVerticalBlankStatus(p,a) +#define IDirectDraw7_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectDraw7_RestoreDisplayMode(p) (p)->lpVtbl->RestoreDisplayMode(p) +#define IDirectDraw7_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectDraw7_SetDisplayMode(p,a,b,c,d,e) (p)->lpVtbl->SetDisplayMode(p,a,b,c,d,e) +#define IDirectDraw7_WaitForVerticalBlank(p,a,b) (p)->lpVtbl->WaitForVerticalBlank(p,a,b) +/*** added in IDirectDraw2 ***/ +#define IDirectDraw7_GetAvailableVidMem(p,a,b,c) (p)->lpVtbl->GetAvailableVidMem(p,a,b,c) +/*** added in IDirectDraw4 ***/ +#define IDirectDraw7_GetSurfaceFromDC(p,a,b) (p)->lpVtbl->GetSurfaceFromDC(p,a,b) +#define IDirectDraw7_RestoreAllSurfaces(p) (p)->lpVtbl->RestoreAllSurfaces(p) +#define IDirectDraw7_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p) +#define IDirectDraw7_GetDeviceIdentifier(p,a,b) (p)->lpVtbl->GetDeviceIdentifier(p,a,b) +/*** added in IDirectDraw 7 ***/ +#define IDirectDraw7_StartModeTest(p,a,b,c) (p)->lpVtbl->StartModeTest(p,a,b,c) +#define IDirectDraw7_EvaluateMode(p,a,b) (p)->lpVtbl->EvaluateMode(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDraw7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDraw7_AddRef(p) (p)->AddRef() +#define IDirectDraw7_Release(p) (p)->Release() +/*** IDirectDraw methods ***/ +#define IDirectDraw7_Compact(p) (p)->Compact() +#define IDirectDraw7_CreateClipper(p,a,b,c) (p)->CreateClipper(a,b,c) +#define IDirectDraw7_CreatePalette(p,a,b,c,d) (p)->CreatePalette(a,b,c,d) +#define IDirectDraw7_CreateSurface(p,a,b,c) (p)->CreateSurface(a,b,c) +#define IDirectDraw7_DuplicateSurface(p,a,b) (p)->DuplicateSurface(a,b) +#define IDirectDraw7_EnumDisplayModes(p,a,b,c,d) (p)->EnumDisplayModes(a,b,c,d) +#define IDirectDraw7_EnumSurfaces(p,a,b,c,d) (p)->EnumSurfaces(a,b,c,d) +#define IDirectDraw7_FlipToGDISurface(p) (p)->FlipToGDISurface() +#define IDirectDraw7_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectDraw7_GetDisplayMode(p,a) (p)->GetDisplayMode(a) +#define IDirectDraw7_GetFourCCCodes(p,a,b) (p)->GetFourCCCodes(a,b) +#define IDirectDraw7_GetGDISurface(p,a) (p)->GetGDISurface(a) +#define IDirectDraw7_GetMonitorFrequency(p,a) (p)->GetMonitorFrequency(a) +#define IDirectDraw7_GetScanLine(p,a) (p)->GetScanLine(a) +#define IDirectDraw7_GetVerticalBlankStatus(p,a) (p)->GetVerticalBlankStatus(a) +#define IDirectDraw7_Initialize(p,a) (p)->Initialize(a) +#define IDirectDraw7_RestoreDisplayMode(p) (p)->RestoreDisplayMode() +#define IDirectDraw7_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectDraw7_SetDisplayMode(p,a,b,c,d,e) (p)->SetDisplayMode(a,b,c,d,e) +#define IDirectDraw7_WaitForVerticalBlank(p,a,b) (p)->WaitForVerticalBlank(a,b) +/*** added in IDirectDraw2 ***/ +#define IDirectDraw7_GetAvailableVidMem(p,a,b,c) (p)->GetAvailableVidMem(a,b,c) +/*** added in IDirectDraw4 ***/ +#define IDirectDraw7_GetSurfaceFromDC(p,a,b) (p)->GetSurfaceFromDC(a,b) +#define IDirectDraw7_RestoreAllSurfaces(p) (p)->RestoreAllSurfaces() +#define IDirectDraw7_TestCooperativeLevel(p) (p)->TestCooperativeLevel() +#define IDirectDraw7_GetDeviceIdentifier(p,a,b) (p)->GetDeviceIdentifier(a,b) +/*** added in IDirectDraw 7 ***/ +#define IDirectDraw7_StartModeTest(p,a,b,c) (p)->StartModeTest(a,b,c) +#define IDirectDraw7_EvaluateMode(p,a,b) (p)->EvaluateMode(a,b) +#endif + + +/***************************************************************************** + * IDirectDrawSurface interface + */ +#define INTERFACE IDirectDrawSurface +DECLARE_INTERFACE_(IDirectDrawSurface,IUnknown) +{ + /*** IUnknown methods ***/ +/*00*/ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; +/*04*/ STDMETHOD_(ULONG,AddRef)(THIS) PURE; +/*08*/ STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawSurface methods ***/ +/*0c*/ STDMETHOD(AddAttachedSurface)(THIS_ IDirectDrawSurface *attachment) PURE; +/*10*/ STDMETHOD(AddOverlayDirtyRect)(THIS_ LPRECT lpRect) PURE; +/*14*/ STDMETHOD(Blt)(THIS_ RECT *dst_rect, IDirectDrawSurface *src_surface, RECT *src_rect, + DWORD flags, DDBLTFX *fx) PURE; +/*18*/ STDMETHOD(BltBatch)(THIS_ DDBLTBATCH *batch, DWORD count, DWORD flags) PURE; +/*1c*/ STDMETHOD(BltFast)(THIS_ DWORD x, DWORD y, IDirectDrawSurface *src_surface, + RECT *src_rect, DWORD flags) PURE; +/*20*/ STDMETHOD(DeleteAttachedSurface)(THIS_ DWORD flags, IDirectDrawSurface *attachment) PURE; +/*24*/ STDMETHOD(EnumAttachedSurfaces)(THIS_ void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; +/*28*/ STDMETHOD(EnumOverlayZOrders)(THIS_ DWORD flags, void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; +/*2c*/ STDMETHOD(Flip)(THIS_ IDirectDrawSurface *dst_surface, DWORD flags) PURE; +/*30*/ STDMETHOD(GetAttachedSurface)(THIS_ DDSCAPS *caps, IDirectDrawSurface **attachment) PURE; +/*34*/ STDMETHOD(GetBltStatus)(THIS_ DWORD dwFlags) PURE; +/*38*/ STDMETHOD(GetCaps)(THIS_ DDSCAPS *caps) PURE; +/*3c*/ STDMETHOD(GetClipper)(THIS_ IDirectDrawClipper **clipper) PURE; +/*40*/ STDMETHOD(GetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; +/*44*/ STDMETHOD(GetDC)(THIS_ HDC *lphDC) PURE; +/*48*/ STDMETHOD(GetFlipStatus)(THIS_ DWORD dwFlags) PURE; +/*4c*/ STDMETHOD(GetOverlayPosition)(THIS_ LPLONG lplX, LPLONG lplY) PURE; +/*50*/ STDMETHOD(GetPalette)(THIS_ IDirectDrawPalette **palette) PURE; +/*54*/ STDMETHOD(GetPixelFormat)(THIS_ DDPIXELFORMAT *format) PURE; +/*58*/ STDMETHOD(GetSurfaceDesc)(THIS_ DDSURFACEDESC *surface_desc) PURE; +/*5c*/ STDMETHOD(Initialize)(THIS_ IDirectDraw *ddraw, DDSURFACEDESC *surface_desc) PURE; +/*60*/ STDMETHOD(IsLost)(THIS) PURE; +/*64*/ STDMETHOD(Lock)(THIS_ RECT *rect, DDSURFACEDESC *surface_desc, DWORD flags, HANDLE event) PURE; +/*68*/ STDMETHOD(ReleaseDC)(THIS_ HDC hDC) PURE; +/*6c*/ STDMETHOD(Restore)(THIS) PURE; +/*70*/ STDMETHOD(SetClipper)(THIS_ IDirectDrawClipper *clipper) PURE; +/*74*/ STDMETHOD(SetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; +/*78*/ STDMETHOD(SetOverlayPosition)(THIS_ LONG lX, LONG lY) PURE; +/*7c*/ STDMETHOD(SetPalette)(THIS_ IDirectDrawPalette *palette) PURE; +/*80*/ STDMETHOD(Unlock)(THIS_ void *data) PURE; +/*84*/ STDMETHOD(UpdateOverlay)(THIS_ RECT *src_rect, IDirectDrawSurface *dst_surface, + RECT *dst_rect, DWORD flags, DDOVERLAYFX *fx) PURE; +/*88*/ STDMETHOD(UpdateOverlayDisplay)(THIS_ DWORD dwFlags) PURE; +/*8c*/ STDMETHOD(UpdateOverlayZOrder)(THIS_ DWORD flags, IDirectDrawSurface *reference_surface) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawSurface_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawSurface_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawSurface_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawSurface methods ***/ +#define IDirectDrawSurface_AddAttachedSurface(p,a) (p)->lpVtbl->AddAttachedSurface(p,a) +#define IDirectDrawSurface_AddOverlayDirtyRect(p,a) (p)->lpVtbl->AddOverlayDirtyRect(p,a) +#define IDirectDrawSurface_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e) +#define IDirectDrawSurface_BltBatch(p,a,b,c) (p)->lpVtbl->BltBatch(p,a,b,c) +#define IDirectDrawSurface_BltFast(p,a,b,c,d,e) (p)->lpVtbl->BltFast(p,a,b,c,d,e) +#define IDirectDrawSurface_DeleteAttachedSurface(p,a,b) (p)->lpVtbl->DeleteAttachedSurface(p,a,b) +#define IDirectDrawSurface_EnumAttachedSurfaces(p,a,b) (p)->lpVtbl->EnumAttachedSurfaces(p,a,b) +#define IDirectDrawSurface_EnumOverlayZOrders(p,a,b,c) (p)->lpVtbl->EnumOverlayZOrders(p,a,b,c) +#define IDirectDrawSurface_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b) +#define IDirectDrawSurface_GetAttachedSurface(p,a,b) (p)->lpVtbl->GetAttachedSurface(p,a,b) +#define IDirectDrawSurface_GetBltStatus(p,a) (p)->lpVtbl->GetBltStatus(p,a) +#define IDirectDrawSurface_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectDrawSurface_GetClipper(p,a) (p)->lpVtbl->GetClipper(p,a) +#define IDirectDrawSurface_GetColorKey(p,a,b) (p)->lpVtbl->GetColorKey(p,a,b) +#define IDirectDrawSurface_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) +#define IDirectDrawSurface_GetFlipStatus(p,a) (p)->lpVtbl->GetFlipStatus(p,a) +#define IDirectDrawSurface_GetOverlayPosition(p,a,b) (p)->lpVtbl->GetOverlayPosition(p,a,b) +#define IDirectDrawSurface_GetPalette(p,a) (p)->lpVtbl->GetPalette(p,a) +#define IDirectDrawSurface_GetPixelFormat(p,a) (p)->lpVtbl->GetPixelFormat(p,a) +#define IDirectDrawSurface_GetSurfaceDesc(p,a) (p)->lpVtbl->GetSurfaceDesc(p,a) +#define IDirectDrawSurface_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectDrawSurface_IsLost(p) (p)->lpVtbl->IsLost(p) +#define IDirectDrawSurface_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirectDrawSurface_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#define IDirectDrawSurface_Restore(p) (p)->lpVtbl->Restore(p) +#define IDirectDrawSurface_SetClipper(p,a) (p)->lpVtbl->SetClipper(p,a) +#define IDirectDrawSurface_SetColorKey(p,a,b) (p)->lpVtbl->SetColorKey(p,a,b) +#define IDirectDrawSurface_SetOverlayPosition(p,a,b) (p)->lpVtbl->SetOverlayPosition(p,a,b) +#define IDirectDrawSurface_SetPalette(p,a) (p)->lpVtbl->SetPalette(p,a) +#define IDirectDrawSurface_Unlock(p,a) (p)->lpVtbl->Unlock(p,a) +#define IDirectDrawSurface_UpdateOverlay(p,a,b,c,d,e) (p)->lpVtbl->UpdateOverlay(p,a,b,c,d,e) +#define IDirectDrawSurface_UpdateOverlayDisplay(p,a) (p)->lpVtbl->UpdateOverlayDisplay(p,a) +#define IDirectDrawSurface_UpdateOverlayZOrder(p,a,b) (p)->lpVtbl->UpdateOverlayZOrder(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDrawSurface_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawSurface_AddRef(p) (p)->AddRef() +#define IDirectDrawSurface_Release(p) (p)->Release() +/*** IDirectDrawSurface methods ***/ +#define IDirectDrawSurface_AddAttachedSurface(p,a) (p)->AddAttachedSurface(a) +#define IDirectDrawSurface_AddOverlayDirtyRect(p,a) (p)->AddOverlayDirtyRect(a) +#define IDirectDrawSurface_Blt(p,a,b,c,d,e) (p)->Blt(a,b,c,d,e) +#define IDirectDrawSurface_BltBatch(p,a,b,c) (p)->BltBatch(a,b,c) +#define IDirectDrawSurface_BltFast(p,a,b,c,d,e) (p)->BltFast(a,b,c,d,e) +#define IDirectDrawSurface_DeleteAttachedSurface(p,a,b) (p)->DeleteAttachedSurface(a,b) +#define IDirectDrawSurface_EnumAttachedSurfaces(p,a,b) (p)->EnumAttachedSurfaces(a,b) +#define IDirectDrawSurface_EnumOverlayZOrders(p,a,b,c) (p)->EnumOverlayZOrders(a,b,c) +#define IDirectDrawSurface_Flip(p,a,b) (p)->Flip(a,b) +#define IDirectDrawSurface_GetAttachedSurface(p,a,b) (p)->GetAttachedSurface(a,b) +#define IDirectDrawSurface_GetBltStatus(p,a) (p)->GetBltStatus(a) +#define IDirectDrawSurface_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectDrawSurface_GetClipper(p,a) (p)->GetClipper(a) +#define IDirectDrawSurface_GetColorKey(p,a,b) (p)->GetColorKey(a,b) +#define IDirectDrawSurface_GetDC(p,a) (p)->GetDC(a) +#define IDirectDrawSurface_GetFlipStatus(p,a) (p)->GetFlipStatus(a) +#define IDirectDrawSurface_GetOverlayPosition(p,a,b) (p)->GetOverlayPosition(a,b) +#define IDirectDrawSurface_GetPalette(p,a) (p)->GetPalette(a) +#define IDirectDrawSurface_GetPixelFormat(p,a) (p)->GetPixelFormat(a) +#define IDirectDrawSurface_GetSurfaceDesc(p,a) (p)->GetSurfaceDesc(a) +#define IDirectDrawSurface_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectDrawSurface_IsLost(p) (p)->IsLost() +#define IDirectDrawSurface_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirectDrawSurface_ReleaseDC(p,a) (p)->ReleaseDC(a) +#define IDirectDrawSurface_Restore(p) (p)->Restore() +#define IDirectDrawSurface_SetClipper(p,a) (p)->SetClipper(a) +#define IDirectDrawSurface_SetColorKey(p,a,b) (p)->SetColorKey(a,b) +#define IDirectDrawSurface_SetOverlayPosition(p,a,b) (p)->SetOverlayPosition(a,b) +#define IDirectDrawSurface_SetPalette(p,a) (p)->SetPalette(a) +#define IDirectDrawSurface_Unlock(p,a) (p)->Unlock(a) +#define IDirectDrawSurface_UpdateOverlay(p,a,b,c,d,e) (p)->UpdateOverlay(a,b,c,d,e) +#define IDirectDrawSurface_UpdateOverlayDisplay(p,a) (p)->UpdateOverlayDisplay(a) +#define IDirectDrawSurface_UpdateOverlayZOrder(p,a,b) (p)->UpdateOverlayZOrder(a,b) +#endif + + +/***************************************************************************** + * IDirectDrawSurface2 interface + */ +/* Cannot inherit from IDirectDrawSurface because the LPDIRECTDRAWSURFACE parameters + * have been converted to LPDIRECTDRAWSURFACE2. + */ +#define INTERFACE IDirectDrawSurface2 +DECLARE_INTERFACE_(IDirectDrawSurface2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawSurface2 methods ***/ + STDMETHOD(AddAttachedSurface)(THIS_ IDirectDrawSurface2 *attachment) PURE; + STDMETHOD(AddOverlayDirtyRect)(THIS_ LPRECT lpRect) PURE; + STDMETHOD(Blt)(THIS_ RECT *dst_rect, IDirectDrawSurface2 *src_surface, RECT *src_rect, + DWORD flags, DDBLTFX *fx) PURE; + STDMETHOD(BltBatch)(THIS_ DDBLTBATCH *batch, DWORD count, DWORD flags) PURE; + STDMETHOD(BltFast)(THIS_ DWORD x, DWORD y, IDirectDrawSurface2 *src_surface, + RECT *src_rect, DWORD flags) PURE; + STDMETHOD(DeleteAttachedSurface)(THIS_ DWORD flags, IDirectDrawSurface2 *attachment) PURE; + STDMETHOD(EnumAttachedSurfaces)(THIS_ void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; + STDMETHOD(EnumOverlayZOrders)(THIS_ DWORD flags, void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; + STDMETHOD(Flip)(THIS_ IDirectDrawSurface2 *dst_surface, DWORD flags) PURE; + STDMETHOD(GetAttachedSurface)(THIS_ DDSCAPS *caps, IDirectDrawSurface2 **attachment) PURE; + STDMETHOD(GetBltStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DDSCAPS *caps) PURE; + STDMETHOD(GetClipper)(THIS_ IDirectDrawClipper **clipper) PURE; + STDMETHOD(GetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(GetDC)(THIS_ HDC *lphDC) PURE; + STDMETHOD(GetFlipStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetOverlayPosition)(THIS_ LPLONG lplX, LPLONG lplY) PURE; + STDMETHOD(GetPalette)(THIS_ IDirectDrawPalette **palette) PURE; + STDMETHOD(GetPixelFormat)(THIS_ DDPIXELFORMAT *format) PURE; + STDMETHOD(GetSurfaceDesc)(THIS_ DDSURFACEDESC *surface_desc) PURE; + STDMETHOD(Initialize)(THIS_ IDirectDraw *ddraw, DDSURFACEDESC *surface_desc) PURE; + STDMETHOD(IsLost)(THIS) PURE; + STDMETHOD(Lock)(THIS_ RECT *rect, DDSURFACEDESC *surface_desc, DWORD flags, HANDLE event) PURE; + STDMETHOD(ReleaseDC)(THIS_ HDC hDC) PURE; + STDMETHOD(Restore)(THIS) PURE; + STDMETHOD(SetClipper)(THIS_ IDirectDrawClipper *clipper) PURE; + STDMETHOD(SetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(SetOverlayPosition)(THIS_ LONG lX, LONG lY) PURE; + STDMETHOD(SetPalette)(THIS_ IDirectDrawPalette *palette) PURE; + STDMETHOD(Unlock)(THIS_ void *data) PURE; + STDMETHOD(UpdateOverlay)(THIS_ RECT *src_rect, IDirectDrawSurface2 *dst_surface, RECT *dst_rect, + DWORD flags, DDOVERLAYFX *fx) PURE; + STDMETHOD(UpdateOverlayDisplay)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(UpdateOverlayZOrder)(THIS_ DWORD flags, IDirectDrawSurface2 *reference_surface) PURE; + /* added in v2 */ + STDMETHOD(GetDDInterface)(THIS_ void **ddraw) PURE; + STDMETHOD(PageLock)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(PageUnlock)(THIS_ DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawSurface2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawSurface2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawSurface2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawSurface methods (almost) ***/ +#define IDirectDrawSurface2_AddAttachedSurface(p,a) (p)->lpVtbl->AddAttachedSurface(p,a) +#define IDirectDrawSurface2_AddOverlayDirtyRect(p,a) (p)->lpVtbl->AddOverlayDirtyRect(p,a) +#define IDirectDrawSurface2_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e) +#define IDirectDrawSurface2_BltBatch(p,a,b,c) (p)->lpVtbl->BltBatch(p,a,b,c) +#define IDirectDrawSurface2_BltFast(p,a,b,c,d,e) (p)->lpVtbl->BltFast(p,a,b,c,d,e) +#define IDirectDrawSurface2_DeleteAttachedSurface(p,a,b) (p)->lpVtbl->DeleteAttachedSurface(p,a,b) +#define IDirectDrawSurface2_EnumAttachedSurfaces(p,a,b) (p)->lpVtbl->EnumAttachedSurfaces(p,a,b) +#define IDirectDrawSurface2_EnumOverlayZOrders(p,a,b,c) (p)->lpVtbl->EnumOverlayZOrders(p,a,b,c) +#define IDirectDrawSurface2_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b) +#define IDirectDrawSurface2_GetAttachedSurface(p,a,b) (p)->lpVtbl->GetAttachedSurface(p,a,b) +#define IDirectDrawSurface2_GetBltStatus(p,a) (p)->lpVtbl->GetBltStatus(p,a) +#define IDirectDrawSurface2_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectDrawSurface2_GetClipper(p,a) (p)->lpVtbl->GetClipper(p,a) +#define IDirectDrawSurface2_GetColorKey(p,a,b) (p)->lpVtbl->GetColorKey(p,a,b) +#define IDirectDrawSurface2_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) +#define IDirectDrawSurface2_GetFlipStatus(p,a) (p)->lpVtbl->GetFlipStatus(p,a) +#define IDirectDrawSurface2_GetOverlayPosition(p,a,b) (p)->lpVtbl->GetOverlayPosition(p,a,b) +#define IDirectDrawSurface2_GetPalette(p,a) (p)->lpVtbl->GetPalette(p,a) +#define IDirectDrawSurface2_GetPixelFormat(p,a) (p)->lpVtbl->GetPixelFormat(p,a) +#define IDirectDrawSurface2_GetSurfaceDesc(p,a) (p)->lpVtbl->GetSurfaceDesc(p,a) +#define IDirectDrawSurface2_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectDrawSurface2_IsLost(p) (p)->lpVtbl->IsLost(p) +#define IDirectDrawSurface2_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirectDrawSurface2_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#define IDirectDrawSurface2_Restore(p) (p)->lpVtbl->Restore(p) +#define IDirectDrawSurface2_SetClipper(p,a) (p)->lpVtbl->SetClipper(p,a) +#define IDirectDrawSurface2_SetColorKey(p,a,b) (p)->lpVtbl->SetColorKey(p,a,b) +#define IDirectDrawSurface2_SetOverlayPosition(p,a,b) (p)->lpVtbl->SetOverlayPosition(p,a,b) +#define IDirectDrawSurface2_SetPalette(p,a) (p)->lpVtbl->SetPalette(p,a) +#define IDirectDrawSurface2_Unlock(p,a) (p)->lpVtbl->Unlock(p,a) +#define IDirectDrawSurface2_UpdateOverlay(p,a,b,c,d,e) (p)->lpVtbl->UpdateOverlay(p,a,b,c,d,e) +#define IDirectDrawSurface2_UpdateOverlayDisplay(p,a) (p)->lpVtbl->UpdateOverlayDisplay(p,a) +#define IDirectDrawSurface2_UpdateOverlayZOrder(p,a,b) (p)->lpVtbl->UpdateOverlayZOrder(p,a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface2_GetDDInterface(p,a) (p)->lpVtbl->GetDDInterface(p,a) +#define IDirectDrawSurface2_PageLock(p,a) (p)->lpVtbl->PageLock(p,a) +#define IDirectDrawSurface2_PageUnlock(p,a) (p)->lpVtbl->PageUnlock(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectDrawSurface2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawSurface2_AddRef(p) (p)->AddRef() +#define IDirectDrawSurface2_Release(p) (p)->Release() +/*** IDirectDrawSurface methods (almost) ***/ +#define IDirectDrawSurface2_AddAttachedSurface(p,a) (p)->AddAttachedSurface(a) +#define IDirectDrawSurface2_AddOverlayDirtyRect(p,a) (p)->AddOverlayDirtyRect(a) +#define IDirectDrawSurface2_Blt(p,a,b,c,d,e) (p)->Blt(a,b,c,d,e) +#define IDirectDrawSurface2_BltBatch(p,a,b,c) (p)->BltBatch(a,b,c) +#define IDirectDrawSurface2_BltFast(p,a,b,c,d,e) (p)->BltFast(a,b,c,d,e) +#define IDirectDrawSurface2_DeleteAttachedSurface(p,a,b) (p)->DeleteAttachedSurface(a,b) +#define IDirectDrawSurface2_EnumAttachedSurfaces(p,a,b) (p)->EnumAttachedSurfaces(a,b) +#define IDirectDrawSurface2_EnumOverlayZOrders(p,a,b,c) (p)->EnumOverlayZOrders(a,b,c) +#define IDirectDrawSurface2_Flip(p,a,b) (p)->Flip(a,b) +#define IDirectDrawSurface2_GetAttachedSurface(p,a,b) (p)->GetAttachedSurface(a,b) +#define IDirectDrawSurface2_GetBltStatus(p,a) (p)->GetBltStatus(a) +#define IDirectDrawSurface2_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectDrawSurface2_GetClipper(p,a) (p)->GetClipper(a) +#define IDirectDrawSurface2_GetColorKey(p,a,b) (p)->GetColorKey(a,b) +#define IDirectDrawSurface2_GetDC(p,a) (p)->GetDC(a) +#define IDirectDrawSurface2_GetFlipStatus(p,a) (p)->GetFlipStatus(a) +#define IDirectDrawSurface2_GetOverlayPosition(p,a,b) (p)->GetOverlayPosition(a,b) +#define IDirectDrawSurface2_GetPalette(p,a) (p)->GetPalette(a) +#define IDirectDrawSurface2_GetPixelFormat(p,a) (p)->GetPixelFormat(a) +#define IDirectDrawSurface2_GetSurfaceDesc(p,a) (p)->GetSurfaceDesc(a) +#define IDirectDrawSurface2_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectDrawSurface2_IsLost(p) (p)->IsLost() +#define IDirectDrawSurface2_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirectDrawSurface2_ReleaseDC(p,a) (p)->ReleaseDC(a) +#define IDirectDrawSurface2_Restore(p) (p)->Restore() +#define IDirectDrawSurface2_SetClipper(p,a) (p)->SetClipper(a) +#define IDirectDrawSurface2_SetColorKey(p,a,b) (p)->SetColorKey(a,b) +#define IDirectDrawSurface2_SetOverlayPosition(p,a,b) (p)->SetOverlayPosition(a,b) +#define IDirectDrawSurface2_SetPalette(p,a) (p)->SetPalette(a) +#define IDirectDrawSurface2_Unlock(p,a) (p)->Unlock(a) +#define IDirectDrawSurface2_UpdateOverlay(p,a,b,c,d,e) (p)->UpdateOverlay(a,b,c,d,e) +#define IDirectDrawSurface2_UpdateOverlayDisplay(p,a) (p)->UpdateOverlayDisplay(a) +#define IDirectDrawSurface2_UpdateOverlayZOrder(p,a,b) (p)->UpdateOverlayZOrder(a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface2_GetDDInterface(p,a) (p)->GetDDInterface(a) +#define IDirectDrawSurface2_PageLock(p,a) (p)->PageLock(a) +#define IDirectDrawSurface2_PageUnlock(p,a) (p)->PageUnlock(a) +#endif + + +/***************************************************************************** + * IDirectDrawSurface3 interface + */ +/* Cannot inherit from IDirectDrawSurface2 because the LPDIRECTDRAWSURFACE2 parameters + * have been converted to LPDIRECTDRAWSURFACE3. + */ +#define INTERFACE IDirectDrawSurface3 +DECLARE_INTERFACE_(IDirectDrawSurface3,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawSurface3 methods ***/ + STDMETHOD(AddAttachedSurface)(THIS_ IDirectDrawSurface3 *attachment) PURE; + STDMETHOD(AddOverlayDirtyRect)(THIS_ LPRECT lpRect) PURE; + STDMETHOD(Blt)(THIS_ RECT *dst_rest, IDirectDrawSurface3 *src_surface, RECT *src_rect, + DWORD flags, DDBLTFX *fx) PURE; + STDMETHOD(BltBatch)(THIS_ DDBLTBATCH *batch, DWORD count, DWORD flags) PURE; + STDMETHOD(BltFast)(THIS_ DWORD x, DWORD y, IDirectDrawSurface3 *src_surface, + RECT *src_rect, DWORD flags) PURE; + STDMETHOD(DeleteAttachedSurface)(THIS_ DWORD flags, IDirectDrawSurface3 *attachment) PURE; + STDMETHOD(EnumAttachedSurfaces)(THIS_ void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; + STDMETHOD(EnumOverlayZOrders)(THIS_ DWORD flags, void *ctx, LPDDENUMSURFACESCALLBACK cb) PURE; + STDMETHOD(Flip)(THIS_ IDirectDrawSurface3 *dst_surface, DWORD flags) PURE; + STDMETHOD(GetAttachedSurface)(THIS_ DDSCAPS *caps, IDirectDrawSurface3 **attachment) PURE; + STDMETHOD(GetBltStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DDSCAPS *caps) PURE; + STDMETHOD(GetClipper)(THIS_ IDirectDrawClipper **clipper) PURE; + STDMETHOD(GetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(GetDC)(THIS_ HDC *lphDC) PURE; + STDMETHOD(GetFlipStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetOverlayPosition)(THIS_ LPLONG lplX, LPLONG lplY) PURE; + STDMETHOD(GetPalette)(THIS_ IDirectDrawPalette **palette) PURE; + STDMETHOD(GetPixelFormat)(THIS_ DDPIXELFORMAT *format) PURE; + STDMETHOD(GetSurfaceDesc)(THIS_ DDSURFACEDESC *surface_desc) PURE; + STDMETHOD(Initialize)(THIS_ IDirectDraw *ddraw, DDSURFACEDESC *surface_desc) PURE; + STDMETHOD(IsLost)(THIS) PURE; + STDMETHOD(Lock)(THIS_ RECT *rect, DDSURFACEDESC *surface_desc, DWORD flags, HANDLE event) PURE; + STDMETHOD(ReleaseDC)(THIS_ HDC hDC) PURE; + STDMETHOD(Restore)(THIS) PURE; + STDMETHOD(SetClipper)(THIS_ IDirectDrawClipper *clipper) PURE; + STDMETHOD(SetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(SetOverlayPosition)(THIS_ LONG lX, LONG lY) PURE; + STDMETHOD(SetPalette)(THIS_ IDirectDrawPalette *palette) PURE; + STDMETHOD(Unlock)(THIS_ void *data) PURE; + STDMETHOD(UpdateOverlay)(THIS_ RECT *src_rect, IDirectDrawSurface3 *dst_surface, RECT *dst_rect, + DWORD flags, DDOVERLAYFX *fx) PURE; + STDMETHOD(UpdateOverlayDisplay)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(UpdateOverlayZOrder)(THIS_ DWORD flags, IDirectDrawSurface3 *reference_surface) PURE; + /* added in v2 */ + STDMETHOD(GetDDInterface)(THIS_ void **ddraw) PURE; + STDMETHOD(PageLock)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(PageUnlock)(THIS_ DWORD dwFlags) PURE; + /* added in v3 */ + STDMETHOD(SetSurfaceDesc)(THIS_ DDSURFACEDESC *surface_desc, DWORD flags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawSurface3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawSurface3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawSurface3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawSurface methods (almost) ***/ +#define IDirectDrawSurface3_AddAttachedSurface(p,a) (p)->lpVtbl->AddAttachedSurface(p,a) +#define IDirectDrawSurface3_AddOverlayDirtyRect(p,a) (p)->lpVtbl->AddOverlayDirtyRect(p,a) +#define IDirectDrawSurface3_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e) +#define IDirectDrawSurface3_BltBatch(p,a,b,c) (p)->lpVtbl->BltBatch(p,a,b,c) +#define IDirectDrawSurface3_BltFast(p,a,b,c,d,e) (p)->lpVtbl->BltFast(p,a,b,c,d,e) +#define IDirectDrawSurface3_DeleteAttachedSurface(p,a,b) (p)->lpVtbl->DeleteAttachedSurface(p,a,b) +#define IDirectDrawSurface3_EnumAttachedSurfaces(p,a,b) (p)->lpVtbl->EnumAttachedSurfaces(p,a,b) +#define IDirectDrawSurface3_EnumOverlayZOrders(p,a,b,c) (p)->lpVtbl->EnumOverlayZOrders(p,a,b,c) +#define IDirectDrawSurface3_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b) +#define IDirectDrawSurface3_GetAttachedSurface(p,a,b) (p)->lpVtbl->GetAttachedSurface(p,a,b) +#define IDirectDrawSurface3_GetBltStatus(p,a) (p)->lpVtbl->GetBltStatus(p,a) +#define IDirectDrawSurface3_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectDrawSurface3_GetClipper(p,a) (p)->lpVtbl->GetClipper(p,a) +#define IDirectDrawSurface3_GetColorKey(p,a,b) (p)->lpVtbl->GetColorKey(p,a,b) +#define IDirectDrawSurface3_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) +#define IDirectDrawSurface3_GetFlipStatus(p,a) (p)->lpVtbl->GetFlipStatus(p,a) +#define IDirectDrawSurface3_GetOverlayPosition(p,a,b) (p)->lpVtbl->GetOverlayPosition(p,a,b) +#define IDirectDrawSurface3_GetPalette(p,a) (p)->lpVtbl->GetPalette(p,a) +#define IDirectDrawSurface3_GetPixelFormat(p,a) (p)->lpVtbl->GetPixelFormat(p,a) +#define IDirectDrawSurface3_GetSurfaceDesc(p,a) (p)->lpVtbl->GetSurfaceDesc(p,a) +#define IDirectDrawSurface3_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectDrawSurface3_IsLost(p) (p)->lpVtbl->IsLost(p) +#define IDirectDrawSurface3_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirectDrawSurface3_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#define IDirectDrawSurface3_Restore(p) (p)->lpVtbl->Restore(p) +#define IDirectDrawSurface3_SetClipper(p,a) (p)->lpVtbl->SetClipper(p,a) +#define IDirectDrawSurface3_SetColorKey(p,a,b) (p)->lpVtbl->SetColorKey(p,a,b) +#define IDirectDrawSurface3_SetOverlayPosition(p,a,b) (p)->lpVtbl->SetOverlayPosition(p,a,b) +#define IDirectDrawSurface3_SetPalette(p,a) (p)->lpVtbl->SetPalette(p,a) +#define IDirectDrawSurface3_Unlock(p,a) (p)->lpVtbl->Unlock(p,a) +#define IDirectDrawSurface3_UpdateOverlay(p,a,b,c,d,e) (p)->lpVtbl->UpdateOverlay(p,a,b,c,d,e) +#define IDirectDrawSurface3_UpdateOverlayDisplay(p,a) (p)->lpVtbl->UpdateOverlayDisplay(p,a) +#define IDirectDrawSurface3_UpdateOverlayZOrder(p,a,b) (p)->lpVtbl->UpdateOverlayZOrder(p,a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface3_GetDDInterface(p,a) (p)->lpVtbl->GetDDInterface(p,a) +#define IDirectDrawSurface3_PageLock(p,a) (p)->lpVtbl->PageLock(p,a) +#define IDirectDrawSurface3_PageUnlock(p,a) (p)->lpVtbl->PageUnlock(p,a) +/*** IDirectDrawSurface3 methods ***/ +#define IDirectDrawSurface3_SetSurfaceDesc(p,a,b) (p)->lpVtbl->SetSurfaceDesc(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDrawSurface3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawSurface3_AddRef(p) (p)->AddRef() +#define IDirectDrawSurface3_Release(p) (p)->Release() +/*** IDirectDrawSurface methods (almost) ***/ +#define IDirectDrawSurface3_AddAttachedSurface(p,a) (p)->AddAttachedSurface(a) +#define IDirectDrawSurface3_AddOverlayDirtyRect(p,a) (p)->AddOverlayDirtyRect(a) +#define IDirectDrawSurface3_Blt(p,a,b,c,d,e) (p)->Blt(a,b,c,d,e) +#define IDirectDrawSurface3_BltBatch(p,a,b,c) (p)->BltBatch(a,b,c) +#define IDirectDrawSurface3_BltFast(p,a,b,c,d,e) (p)->BltFast(a,b,c,d,e) +#define IDirectDrawSurface3_DeleteAttachedSurface(p,a,b) (p)->DeleteAttachedSurface(a,b) +#define IDirectDrawSurface3_EnumAttachedSurfaces(p,a,b) (p)->EnumAttachedSurfaces(a,b) +#define IDirectDrawSurface3_EnumOverlayZOrders(p,a,b,c) (p)->EnumOverlayZOrders(a,b,c) +#define IDirectDrawSurface3_Flip(p,a,b) (p)->Flip(a,b) +#define IDirectDrawSurface3_GetAttachedSurface(p,a,b) (p)->GetAttachedSurface(a,b) +#define IDirectDrawSurface3_GetBltStatus(p,a) (p)->GetBltStatus(a) +#define IDirectDrawSurface3_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectDrawSurface3_GetClipper(p,a) (p)->GetClipper(a) +#define IDirectDrawSurface3_GetColorKey(p,a,b) (p)->GetColorKey(a,b) +#define IDirectDrawSurface3_GetDC(p,a) (p)->GetDC(a) +#define IDirectDrawSurface3_GetFlipStatus(p,a) (p)->GetFlipStatus(a) +#define IDirectDrawSurface3_GetOverlayPosition(p,a,b) (p)->GetOverlayPosition(a,b) +#define IDirectDrawSurface3_GetPalette(p,a) (p)->GetPalette(a) +#define IDirectDrawSurface3_GetPixelFormat(p,a) (p)->GetPixelFormat(a) +#define IDirectDrawSurface3_GetSurfaceDesc(p,a) (p)->GetSurfaceDesc(a) +#define IDirectDrawSurface3_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectDrawSurface3_IsLost(p) (p)->IsLost() +#define IDirectDrawSurface3_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirectDrawSurface3_ReleaseDC(p,a) (p)->ReleaseDC(a) +#define IDirectDrawSurface3_Restore(p) (p)->Restore() +#define IDirectDrawSurface3_SetClipper(p,a) (p)->SetClipper(a) +#define IDirectDrawSurface3_SetColorKey(p,a,b) (p)->SetColorKey(a,b) +#define IDirectDrawSurface3_SetOverlayPosition(p,a,b) (p)->SetOverlayPosition(a,b) +#define IDirectDrawSurface3_SetPalette(p,a) (p)->SetPalette(a) +#define IDirectDrawSurface3_Unlock(p,a) (p)->Unlock(a) +#define IDirectDrawSurface3_UpdateOverlay(p,a,b,c,d,e) (p)->UpdateOverlay(a,b,c,d,e) +#define IDirectDrawSurface3_UpdateOverlayDisplay(p,a) (p)->UpdateOverlayDisplay(a) +#define IDirectDrawSurface3_UpdateOverlayZOrder(p,a,b) (p)->UpdateOverlayZOrder(a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface3_GetDDInterface(p,a) (p)->GetDDInterface(a) +#define IDirectDrawSurface3_PageLock(p,a) (p)->PageLock(a) +#define IDirectDrawSurface3_PageUnlock(p,a) (p)->PageUnlock(a) +/*** IDirectDrawSurface3 methods ***/ +#define IDirectDrawSurface3_SetSurfaceDesc(p,a,b) (p)->SetSurfaceDesc(a,b) +#endif + + +/***************************************************************************** + * IDirectDrawSurface4 interface + */ +/* Cannot inherit from IDirectDrawSurface2 because DDSCAPS changed to DDSCAPS2. + */ +#define INTERFACE IDirectDrawSurface4 +DECLARE_INTERFACE_(IDirectDrawSurface4,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawSurface4 methods ***/ + STDMETHOD(AddAttachedSurface)(THIS_ IDirectDrawSurface4 *attachment) PURE; + STDMETHOD(AddOverlayDirtyRect)(THIS_ LPRECT lpRect) PURE; + STDMETHOD(Blt)(THIS_ RECT *dst_rect, IDirectDrawSurface4 *src_surface, RECT *src_rect, + DWORD flags, DDBLTFX *fx) PURE; + STDMETHOD(BltBatch)(THIS_ DDBLTBATCH *batch, DWORD count, DWORD flags) PURE; + STDMETHOD(BltFast)(THIS_ DWORD x, DWORD y, IDirectDrawSurface4 *src_surface, + RECT *src_rect, DWORD flags) PURE; + STDMETHOD(DeleteAttachedSurface)(THIS_ DWORD flags, IDirectDrawSurface4 *attachment) PURE; + STDMETHOD(EnumAttachedSurfaces)(THIS_ void *ctx, LPDDENUMSURFACESCALLBACK2 cb) PURE; + STDMETHOD(EnumOverlayZOrders)(THIS_ DWORD flags, void *ctx, LPDDENUMSURFACESCALLBACK2 cb) PURE; + STDMETHOD(Flip)(THIS_ IDirectDrawSurface4 *dst_surface, DWORD flags) PURE; + STDMETHOD(GetAttachedSurface)(THIS_ DDSCAPS2 *caps, IDirectDrawSurface4 **attachment) PURE; + STDMETHOD(GetBltStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DDSCAPS2 *caps) PURE; + STDMETHOD(GetClipper)(THIS_ IDirectDrawClipper **clipper) PURE; + STDMETHOD(GetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(GetDC)(THIS_ HDC *lphDC) PURE; + STDMETHOD(GetFlipStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetOverlayPosition)(THIS_ LPLONG lplX, LPLONG lplY) PURE; + STDMETHOD(GetPalette)(THIS_ IDirectDrawPalette **palette) PURE; + STDMETHOD(GetPixelFormat)(THIS_ DDPIXELFORMAT *format) PURE; + STDMETHOD(GetSurfaceDesc)(THIS_ DDSURFACEDESC2 *surface_desc) PURE; + STDMETHOD(Initialize)(THIS_ IDirectDraw *ddraw, DDSURFACEDESC2 *surface_desc) PURE; + STDMETHOD(IsLost)(THIS) PURE; + STDMETHOD(Lock)(THIS_ RECT *rect, DDSURFACEDESC2 *surface_desc, DWORD flags, HANDLE event) PURE; + STDMETHOD(ReleaseDC)(THIS_ HDC hDC) PURE; + STDMETHOD(Restore)(THIS) PURE; + STDMETHOD(SetClipper)(THIS_ IDirectDrawClipper *clipper) PURE; + STDMETHOD(SetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(SetOverlayPosition)(THIS_ LONG lX, LONG lY) PURE; + STDMETHOD(SetPalette)(THIS_ IDirectDrawPalette *palette) PURE; + STDMETHOD(Unlock)(THIS_ LPRECT lpSurfaceData) PURE; + STDMETHOD(UpdateOverlay)(THIS_ RECT *src_rect, IDirectDrawSurface4 *dst_surface, RECT *dst_rect, + DWORD flags, DDOVERLAYFX *fx) PURE; + STDMETHOD(UpdateOverlayDisplay)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(UpdateOverlayZOrder)(THIS_ DWORD flags, IDirectDrawSurface4 *reference_surface) PURE; + /* added in v2 */ + STDMETHOD(GetDDInterface)(THIS_ void **ddraw) PURE; + STDMETHOD(PageLock)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(PageUnlock)(THIS_ DWORD dwFlags) PURE; + /* added in v3 */ + STDMETHOD(SetSurfaceDesc)(THIS_ DDSURFACEDESC2 *surface_desc, DWORD flags) PURE; + /* added in v4 */ + STDMETHOD(SetPrivateData)(THIS_ REFGUID tag, void *data, DWORD size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID tag, void *data, DWORD *size) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID tag) PURE; + STDMETHOD(GetUniquenessValue)(THIS_ LPDWORD pValue) PURE; + STDMETHOD(ChangeUniquenessValue)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawSurface4_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawSurface4_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawSurface4_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawSurface (almost) methods ***/ +#define IDirectDrawSurface4_AddAttachedSurface(p,a) (p)->lpVtbl->AddAttachedSurface(p,a) +#define IDirectDrawSurface4_AddOverlayDirtyRect(p,a) (p)->lpVtbl->AddOverlayDirtyRect(p,a) +#define IDirectDrawSurface4_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e) +#define IDirectDrawSurface4_BltBatch(p,a,b,c) (p)->lpVtbl->BltBatch(p,a,b,c) +#define IDirectDrawSurface4_BltFast(p,a,b,c,d,e) (p)->lpVtbl->BltFast(p,a,b,c,d,e) +#define IDirectDrawSurface4_DeleteAttachedSurface(p,a,b) (p)->lpVtbl->DeleteAttachedSurface(p,a,b) +#define IDirectDrawSurface4_EnumAttachedSurfaces(p,a,b) (p)->lpVtbl->EnumAttachedSurfaces(p,a,b) +#define IDirectDrawSurface4_EnumOverlayZOrders(p,a,b,c) (p)->lpVtbl->EnumOverlayZOrders(p,a,b,c) +#define IDirectDrawSurface4_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b) +#define IDirectDrawSurface4_GetAttachedSurface(p,a,b) (p)->lpVtbl->GetAttachedSurface(p,a,b) +#define IDirectDrawSurface4_GetBltStatus(p,a) (p)->lpVtbl->GetBltStatus(p,a) +#define IDirectDrawSurface4_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectDrawSurface4_GetClipper(p,a) (p)->lpVtbl->GetClipper(p,a) +#define IDirectDrawSurface4_GetColorKey(p,a,b) (p)->lpVtbl->GetColorKey(p,a,b) +#define IDirectDrawSurface4_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) +#define IDirectDrawSurface4_GetFlipStatus(p,a) (p)->lpVtbl->GetFlipStatus(p,a) +#define IDirectDrawSurface4_GetOverlayPosition(p,a,b) (p)->lpVtbl->GetOverlayPosition(p,a,b) +#define IDirectDrawSurface4_GetPalette(p,a) (p)->lpVtbl->GetPalette(p,a) +#define IDirectDrawSurface4_GetPixelFormat(p,a) (p)->lpVtbl->GetPixelFormat(p,a) +#define IDirectDrawSurface4_GetSurfaceDesc(p,a) (p)->lpVtbl->GetSurfaceDesc(p,a) +#define IDirectDrawSurface4_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectDrawSurface4_IsLost(p) (p)->lpVtbl->IsLost(p) +#define IDirectDrawSurface4_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirectDrawSurface4_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#define IDirectDrawSurface4_Restore(p) (p)->lpVtbl->Restore(p) +#define IDirectDrawSurface4_SetClipper(p,a) (p)->lpVtbl->SetClipper(p,a) +#define IDirectDrawSurface4_SetColorKey(p,a,b) (p)->lpVtbl->SetColorKey(p,a,b) +#define IDirectDrawSurface4_SetOverlayPosition(p,a,b) (p)->lpVtbl->SetOverlayPosition(p,a,b) +#define IDirectDrawSurface4_SetPalette(p,a) (p)->lpVtbl->SetPalette(p,a) +#define IDirectDrawSurface4_Unlock(p,a) (p)->lpVtbl->Unlock(p,a) +#define IDirectDrawSurface4_UpdateOverlay(p,a,b,c,d,e) (p)->lpVtbl->UpdateOverlay(p,a,b,c,d,e) +#define IDirectDrawSurface4_UpdateOverlayDisplay(p,a) (p)->lpVtbl->UpdateOverlayDisplay(p,a) +#define IDirectDrawSurface4_UpdateOverlayZOrder(p,a,b) (p)->lpVtbl->UpdateOverlayZOrder(p,a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface4_GetDDInterface(p,a) (p)->lpVtbl->GetDDInterface(p,a) +#define IDirectDrawSurface4_PageLock(p,a) (p)->lpVtbl->PageLock(p,a) +#define IDirectDrawSurface4_PageUnlock(p,a) (p)->lpVtbl->PageUnlock(p,a) +/*** IDirectDrawSurface3 methods ***/ +#define IDirectDrawSurface4_SetSurfaceDesc(p,a,b) (p)->lpVtbl->SetSurfaceDesc(p,a,b) +/*** IDirectDrawSurface4 methods ***/ +#define IDirectDrawSurface4_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirectDrawSurface4_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirectDrawSurface4_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirectDrawSurface4_GetUniquenessValue(p,a) (p)->lpVtbl->GetUniquenessValue(p,a) +#define IDirectDrawSurface4_ChangeUniquenessValue(p) (p)->lpVtbl->ChangeUniquenessValue(p) +#else +/*** IUnknown methods ***/ +#define IDirectDrawSurface4_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawSurface4_AddRef(p) (p)->AddRef() +#define IDirectDrawSurface4_Release(p) (p)->Release() +/*** IDirectDrawSurface (almost) methods ***/ +#define IDirectDrawSurface4_AddAttachedSurface(p,a) (p)->AddAttachedSurface(a) +#define IDirectDrawSurface4_AddOverlayDirtyRect(p,a) (p)->AddOverlayDirtyRect(a) +#define IDirectDrawSurface4_Blt(p,a,b,c,d,e) (p)->Blt(a,b,c,d,e) +#define IDirectDrawSurface4_BltBatch(p,a,b,c) (p)->BltBatch(a,b,c) +#define IDirectDrawSurface4_BltFast(p,a,b,c,d,e) (p)->BltFast(a,b,c,d,e) +#define IDirectDrawSurface4_DeleteAttachedSurface(p,a,b) (p)->DeleteAttachedSurface(a,b) +#define IDirectDrawSurface4_EnumAttachedSurfaces(p,a,b) (p)->EnumAttachedSurfaces(a,b) +#define IDirectDrawSurface4_EnumOverlayZOrders(p,a,b,c) (p)->EnumOverlayZOrders(a,b,c) +#define IDirectDrawSurface4_Flip(p,a,b) (p)->Flip(a,b) +#define IDirectDrawSurface4_GetAttachedSurface(p,a,b) (p)->GetAttachedSurface(a,b) +#define IDirectDrawSurface4_GetBltStatus(p,a) (p)->GetBltStatus(a) +#define IDirectDrawSurface4_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectDrawSurface4_GetClipper(p,a) (p)->GetClipper(a) +#define IDirectDrawSurface4_GetColorKey(p,a,b) (p)->GetColorKey(a,b) +#define IDirectDrawSurface4_GetDC(p,a) (p)->GetDC(a) +#define IDirectDrawSurface4_GetFlipStatus(p,a) (p)->GetFlipStatus(a) +#define IDirectDrawSurface4_GetOverlayPosition(p,a,b) (p)->GetOverlayPosition(a,b) +#define IDirectDrawSurface4_GetPalette(p,a) (p)->GetPalette(a) +#define IDirectDrawSurface4_GetPixelFormat(p,a) (p)->GetPixelFormat(a) +#define IDirectDrawSurface4_GetSurfaceDesc(p,a) (p)->GetSurfaceDesc(a) +#define IDirectDrawSurface4_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectDrawSurface4_IsLost(p) (p)->IsLost() +#define IDirectDrawSurface4_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirectDrawSurface4_ReleaseDC(p,a) (p)->ReleaseDC(a) +#define IDirectDrawSurface4_Restore(p) (p)->Restore() +#define IDirectDrawSurface4_SetClipper(p,a) (p)->SetClipper(a) +#define IDirectDrawSurface4_SetColorKey(p,a,b) (p)->SetColorKey(a,b) +#define IDirectDrawSurface4_SetOverlayPosition(p,a,b) (p)->SetOverlayPosition(a,b) +#define IDirectDrawSurface4_SetPalette(p,a) (p)->SetPalette(a) +#define IDirectDrawSurface4_Unlock(p,a) (p)->Unlock(a) +#define IDirectDrawSurface4_UpdateOverlay(p,a,b,c,d,e) (p)->UpdateOverlay(a,b,c,d,e) +#define IDirectDrawSurface4_UpdateOverlayDisplay(p,a) (p)->UpdateOverlayDisplay(a) +#define IDirectDrawSurface4_UpdateOverlayZOrder(p,a,b) (p)->UpdateOverlayZOrder(a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface4_GetDDInterface(p,a) (p)->GetDDInterface(a) +#define IDirectDrawSurface4_PageLock(p,a) (p)->PageLock(a) +#define IDirectDrawSurface4_PageUnlock(p,a) (p)->PageUnlock(a) +/*** IDirectDrawSurface3 methods ***/ +#define IDirectDrawSurface4_SetSurfaceDesc(p,a,b) (p)->SetSurfaceDesc(a,b) +/*** IDirectDrawSurface4 methods ***/ +#define IDirectDrawSurface4_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirectDrawSurface4_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirectDrawSurface4_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirectDrawSurface4_GetUniquenessValue(p,a) (p)->GetUniquenessValue(a) +#define IDirectDrawSurface4_ChangeUniquenessValue(p) (p)->ChangeUniquenessValue() +#endif + + +/***************************************************************************** + * IDirectDrawSurface7 interface + */ +#define INTERFACE IDirectDrawSurface7 +DECLARE_INTERFACE_(IDirectDrawSurface7,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawSurface7 methods ***/ + STDMETHOD(AddAttachedSurface)(THIS_ IDirectDrawSurface7 *attachment) PURE; + STDMETHOD(AddOverlayDirtyRect)(THIS_ LPRECT lpRect) PURE; + STDMETHOD(Blt)(THIS_ RECT *dst_rect, IDirectDrawSurface7 *src_surface, RECT *src_rect, + DWORD flags, DDBLTFX *fx) PURE; + STDMETHOD(BltBatch)(THIS_ DDBLTBATCH *batch, DWORD count, DWORD flags) PURE; + STDMETHOD(BltFast)(THIS_ DWORD x, DWORD y, IDirectDrawSurface7 *src_surface, + RECT *src_rect, DWORD flags) PURE; + STDMETHOD(DeleteAttachedSurface)(THIS_ DWORD flags, IDirectDrawSurface7 *attachment) PURE; + STDMETHOD(EnumAttachedSurfaces)(THIS_ void *ctx, LPDDENUMSURFACESCALLBACK7 cb) PURE; + STDMETHOD(EnumOverlayZOrders)(THIS_ DWORD flags, void *ctx, LPDDENUMSURFACESCALLBACK7 cb) PURE; + STDMETHOD(Flip)(THIS_ IDirectDrawSurface7 *dst_surface, DWORD flags) PURE; + STDMETHOD(GetAttachedSurface)(THIS_ DDSCAPS2 *caps, IDirectDrawSurface7 **attachment) PURE; + STDMETHOD(GetBltStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DDSCAPS2 *caps) PURE; + STDMETHOD(GetClipper)(THIS_ IDirectDrawClipper **clipper) PURE; + STDMETHOD(GetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(GetDC)(THIS_ HDC *lphDC) PURE; + STDMETHOD(GetFlipStatus)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetOverlayPosition)(THIS_ LPLONG lplX, LPLONG lplY) PURE; + STDMETHOD(GetPalette)(THIS_ IDirectDrawPalette **palette) PURE; + STDMETHOD(GetPixelFormat)(THIS_ DDPIXELFORMAT *format) PURE; + STDMETHOD(GetSurfaceDesc)(THIS_ DDSURFACEDESC2 *surface_desc) PURE; + STDMETHOD(Initialize)(THIS_ IDirectDraw *ddraw, DDSURFACEDESC2 *surface_desc) PURE; + STDMETHOD(IsLost)(THIS) PURE; + STDMETHOD(Lock)(THIS_ RECT *rect, DDSURFACEDESC2 *surface_desc, DWORD flags, HANDLE event) PURE; + STDMETHOD(ReleaseDC)(THIS_ HDC hDC) PURE; + STDMETHOD(Restore)(THIS) PURE; + STDMETHOD(SetClipper)(THIS_ IDirectDrawClipper *clipper) PURE; + STDMETHOD(SetColorKey)(THIS_ DWORD flags, DDCOLORKEY *color_key) PURE; + STDMETHOD(SetOverlayPosition)(THIS_ LONG lX, LONG lY) PURE; + STDMETHOD(SetPalette)(THIS_ IDirectDrawPalette *palette) PURE; + STDMETHOD(Unlock)(THIS_ LPRECT lpSurfaceData) PURE; + STDMETHOD(UpdateOverlay)(THIS_ RECT *src_rect, IDirectDrawSurface7 *dst_surface, RECT *dst_rect, + DWORD flags, DDOVERLAYFX *fx) PURE; + STDMETHOD(UpdateOverlayDisplay)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(UpdateOverlayZOrder)(THIS_ DWORD flags, IDirectDrawSurface7 *reference_surface) PURE; + /* added in v2 */ + STDMETHOD(GetDDInterface)(THIS_ void **ddraw) PURE; + STDMETHOD(PageLock)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(PageUnlock)(THIS_ DWORD dwFlags) PURE; + /* added in v3 */ + STDMETHOD(SetSurfaceDesc)(THIS_ DDSURFACEDESC2 *surface_desc, DWORD flags) PURE; + /* added in v4 */ + STDMETHOD(SetPrivateData)(THIS_ REFGUID tag, void *data, DWORD size, DWORD flags) PURE; + STDMETHOD(GetPrivateData)(THIS_ REFGUID tag, void *data, DWORD *size) PURE; + STDMETHOD(FreePrivateData)(THIS_ REFGUID tag) PURE; + STDMETHOD(GetUniquenessValue)(THIS_ LPDWORD pValue) PURE; + STDMETHOD(ChangeUniquenessValue)(THIS) PURE; + /* added in v7 */ + STDMETHOD(SetPriority)(THIS_ DWORD prio) PURE; + STDMETHOD(GetPriority)(THIS_ LPDWORD prio) PURE; + STDMETHOD(SetLOD)(THIS_ DWORD lod) PURE; + STDMETHOD(GetLOD)(THIS_ LPDWORD lod) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawSurface7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawSurface7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawSurface7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawSurface (almost) methods ***/ +#define IDirectDrawSurface7_AddAttachedSurface(p,a) (p)->lpVtbl->AddAttachedSurface(p,a) +#define IDirectDrawSurface7_AddOverlayDirtyRect(p,a) (p)->lpVtbl->AddOverlayDirtyRect(p,a) +#define IDirectDrawSurface7_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e) +#define IDirectDrawSurface7_BltBatch(p,a,b,c) (p)->lpVtbl->BltBatch(p,a,b,c) +#define IDirectDrawSurface7_BltFast(p,a,b,c,d,e) (p)->lpVtbl->BltFast(p,a,b,c,d,e) +#define IDirectDrawSurface7_DeleteAttachedSurface(p,a,b) (p)->lpVtbl->DeleteAttachedSurface(p,a,b) +#define IDirectDrawSurface7_EnumAttachedSurfaces(p,a,b) (p)->lpVtbl->EnumAttachedSurfaces(p,a,b) +#define IDirectDrawSurface7_EnumOverlayZOrders(p,a,b,c) (p)->lpVtbl->EnumOverlayZOrders(p,a,b,c) +#define IDirectDrawSurface7_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b) +#define IDirectDrawSurface7_GetAttachedSurface(p,a,b) (p)->lpVtbl->GetAttachedSurface(p,a,b) +#define IDirectDrawSurface7_GetBltStatus(p,a) (p)->lpVtbl->GetBltStatus(p,a) +#define IDirectDrawSurface7_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectDrawSurface7_GetClipper(p,a) (p)->lpVtbl->GetClipper(p,a) +#define IDirectDrawSurface7_GetColorKey(p,a,b) (p)->lpVtbl->GetColorKey(p,a,b) +#define IDirectDrawSurface7_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) +#define IDirectDrawSurface7_GetFlipStatus(p,a) (p)->lpVtbl->GetFlipStatus(p,a) +#define IDirectDrawSurface7_GetOverlayPosition(p,a,b) (p)->lpVtbl->GetOverlayPosition(p,a,b) +#define IDirectDrawSurface7_GetPalette(p,a) (p)->lpVtbl->GetPalette(p,a) +#define IDirectDrawSurface7_GetPixelFormat(p,a) (p)->lpVtbl->GetPixelFormat(p,a) +#define IDirectDrawSurface7_GetSurfaceDesc(p,a) (p)->lpVtbl->GetSurfaceDesc(p,a) +#define IDirectDrawSurface7_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectDrawSurface7_IsLost(p) (p)->lpVtbl->IsLost(p) +#define IDirectDrawSurface7_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) +#define IDirectDrawSurface7_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#define IDirectDrawSurface7_Restore(p) (p)->lpVtbl->Restore(p) +#define IDirectDrawSurface7_SetClipper(p,a) (p)->lpVtbl->SetClipper(p,a) +#define IDirectDrawSurface7_SetColorKey(p,a,b) (p)->lpVtbl->SetColorKey(p,a,b) +#define IDirectDrawSurface7_SetOverlayPosition(p,a,b) (p)->lpVtbl->SetOverlayPosition(p,a,b) +#define IDirectDrawSurface7_SetPalette(p,a) (p)->lpVtbl->SetPalette(p,a) +#define IDirectDrawSurface7_Unlock(p,a) (p)->lpVtbl->Unlock(p,a) +#define IDirectDrawSurface7_UpdateOverlay(p,a,b,c,d,e) (p)->lpVtbl->UpdateOverlay(p,a,b,c,d,e) +#define IDirectDrawSurface7_UpdateOverlayDisplay(p,a) (p)->lpVtbl->UpdateOverlayDisplay(p,a) +#define IDirectDrawSurface7_UpdateOverlayZOrder(p,a,b) (p)->lpVtbl->UpdateOverlayZOrder(p,a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface7_GetDDInterface(p,a) (p)->lpVtbl->GetDDInterface(p,a) +#define IDirectDrawSurface7_PageLock(p,a) (p)->lpVtbl->PageLock(p,a) +#define IDirectDrawSurface7_PageUnlock(p,a) (p)->lpVtbl->PageUnlock(p,a) +/*** IDirectDrawSurface3 methods ***/ +#define IDirectDrawSurface7_SetSurfaceDesc(p,a,b) (p)->lpVtbl->SetSurfaceDesc(p,a,b) +/*** IDirectDrawSurface4 methods ***/ +#define IDirectDrawSurface7_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) +#define IDirectDrawSurface7_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) +#define IDirectDrawSurface7_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) +#define IDirectDrawSurface7_GetUniquenessValue(p,a) (p)->lpVtbl->GetUniquenessValue(p,a) +#define IDirectDrawSurface7_ChangeUniquenessValue(p) (p)->lpVtbl->ChangeUniquenessValue(p) +/*** IDirectDrawSurface7 methods ***/ +#define IDirectDrawSurface7_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) +#define IDirectDrawSurface7_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a) +#define IDirectDrawSurface7_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) +#define IDirectDrawSurface7_GetLOD(p,a) (p)->lpVtbl->GetLOD(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectDrawSurface7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawSurface7_AddRef(p) (p)->AddRef() +#define IDirectDrawSurface7_Release(p) (p)->Release() +/*** IDirectDrawSurface (almost) methods ***/ +#define IDirectDrawSurface7_AddAttachedSurface(p,a) (p)->AddAttachedSurface(a) +#define IDirectDrawSurface7_AddOverlayDirtyRect(p,a) (p)->AddOverlayDirtyRect(a) +#define IDirectDrawSurface7_Blt(p,a,b,c,d,e) (p)->Blt(a,b,c,d,e) +#define IDirectDrawSurface7_BltBatch(p,a,b,c) (p)->BltBatch(a,b,c) +#define IDirectDrawSurface7_BltFast(p,a,b,c,d,e) (p)->BltFast(a,b,c,d,e) +#define IDirectDrawSurface7_DeleteAttachedSurface(p,a,b) (p)->DeleteAttachedSurface(a,b) +#define IDirectDrawSurface7_EnumAttachedSurfaces(p,a,b) (p)->EnumAttachedSurfaces(a,b) +#define IDirectDrawSurface7_EnumOverlayZOrders(p,a,b,c) (p)->EnumOverlayZOrders(a,b,c) +#define IDirectDrawSurface7_Flip(p,a,b) (p)->Flip(a,b) +#define IDirectDrawSurface7_GetAttachedSurface(p,a,b) (p)->GetAttachedSurface(a,b) +#define IDirectDrawSurface7_GetBltStatus(p,a) (p)->GetBltStatus(a) +#define IDirectDrawSurface7_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectDrawSurface7_GetClipper(p,a) (p)->GetClipper(a) +#define IDirectDrawSurface7_GetColorKey(p,a,b) (p)->GetColorKey(a,b) +#define IDirectDrawSurface7_GetDC(p,a) (p)->GetDC(a) +#define IDirectDrawSurface7_GetFlipStatus(p,a) (p)->GetFlipStatus(a) +#define IDirectDrawSurface7_GetOverlayPosition(p,a,b) (p)->GetOverlayPosition(a,b) +#define IDirectDrawSurface7_GetPalette(p,a) (p)->GetPalette(a) +#define IDirectDrawSurface7_GetPixelFormat(p,a) (p)->GetPixelFormat(a) +#define IDirectDrawSurface7_GetSurfaceDesc(p,a) (p)->GetSurfaceDesc(a) +#define IDirectDrawSurface7_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectDrawSurface7_IsLost(p) (p)->IsLost() +#define IDirectDrawSurface7_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) +#define IDirectDrawSurface7_ReleaseDC(p,a) (p)->ReleaseDC(a) +#define IDirectDrawSurface7_Restore(p) (p)->Restore() +#define IDirectDrawSurface7_SetClipper(p,a) (p)->SetClipper(a) +#define IDirectDrawSurface7_SetColorKey(p,a,b) (p)->SetColorKey(a,b) +#define IDirectDrawSurface7_SetOverlayPosition(p,a,b) (p)->SetOverlayPosition(a,b) +#define IDirectDrawSurface7_SetPalette(p,a) (p)->SetPalette(a) +#define IDirectDrawSurface7_Unlock(p,a) (p)->Unlock(a) +#define IDirectDrawSurface7_UpdateOverlay(p,a,b,c,d,e) (p)->UpdateOverlay(a,b,c,d,e) +#define IDirectDrawSurface7_UpdateOverlayDisplay(p,a) (p)->UpdateOverlayDisplay(a) +#define IDirectDrawSurface7_UpdateOverlayZOrder(p,a,b) (p)->UpdateOverlayZOrder(a,b) +/*** IDirectDrawSurface2 methods ***/ +#define IDirectDrawSurface7_GetDDInterface(p,a) (p)->GetDDInterface(a) +#define IDirectDrawSurface7_PageLock(p,a) (p)->PageLock(a) +#define IDirectDrawSurface7_PageUnlock(p,a) (p)->PageUnlock(a) +/*** IDirectDrawSurface3 methods ***/ +#define IDirectDrawSurface7_SetSurfaceDesc(p,a,b) (p)->SetSurfaceDesc(a,b) +/*** IDirectDrawSurface4 methods ***/ +#define IDirectDrawSurface7_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) +#define IDirectDrawSurface7_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) +#define IDirectDrawSurface7_FreePrivateData(p,a) (p)->FreePrivateData(a) +#define IDirectDrawSurface7_GetUniquenessValue(p,a) (p)->GetUniquenessValue(a) +#define IDirectDrawSurface7_ChangeUniquenessValue(p) (p)->ChangeUniquenessValue() +/*** IDirectDrawSurface7 methods ***/ +#define IDirectDrawSurface7_SetPriority(p,a) (p)->SetPriority(a) +#define IDirectDrawSurface7_GetPriority(p,a) (p)->GetPriority(a) +#define IDirectDrawSurface7_SetLOD(p,a) (p)->SetLOD(a) +#define IDirectDrawSurface7_GetLOD(p,a) (p)->GetLOD(a) +#endif + +/***************************************************************************** + * IDirectDrawColorControl interface + */ +#define INTERFACE IDirectDrawColorControl +DECLARE_INTERFACE_(IDirectDrawColorControl,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawColorControl methods ***/ + STDMETHOD(GetColorControls)(THIS_ DDCOLORCONTROL *color_control) PURE; + STDMETHOD(SetColorControls)(THIS_ DDCOLORCONTROL *color_control) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawColorControl_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawColorControl_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawColorControl_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawColorControl methods ***/ +#define IDirectDrawColorControl_GetColorControls(p,a) (p)->lpVtbl->GetColorControls(p,a) +#define IDirectDrawColorControl_SetColorControls(p,a) (p)->lpVtbl->SetColorControls(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectDrawColorControl_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawColorControl_AddRef(p) (p)->AddRef() +#define IDirectDrawColorControl_Release(p) (p)->Release() +/*** IDirectDrawColorControl methods ***/ +#define IDirectDrawColorControl_GetColorControls(p,a) (p)->GetColorControls(a) +#define IDirectDrawColorControl_SetColorControls(p,a) (p)->SetColorControls(a) +#endif + +/***************************************************************************** + * IDirectDrawGammaControl interface + */ +#define INTERFACE IDirectDrawGammaControl +DECLARE_INTERFACE_(IDirectDrawGammaControl,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectDrawGammaControl methods ***/ + STDMETHOD(GetGammaRamp)(THIS_ DWORD flags, DDGAMMARAMP *gamma_ramp) PURE; + STDMETHOD(SetGammaRamp)(THIS_ DWORD flags, DDGAMMARAMP *gamma_ramp) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectDrawGammaControl_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectDrawGammaControl_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectDrawGammaControl_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectDrawGammaControl methods ***/ +#define IDirectDrawGammaControl_GetGammaRamp(p,a,b) (p)->lpVtbl->GetGammaRamp(p,a,b) +#define IDirectDrawGammaControl_SetGammaRamp(p,a,b) (p)->lpVtbl->SetGammaRamp(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectDrawGammaControl_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectDrawGammaControl_AddRef(p) (p)->AddRef() +#define IDirectDrawGammaControl_Release(p) (p)->Release() +/*** IDirectDrawGammaControl methods ***/ +#define IDirectDrawGammaControl_GetGammaRamp(p,a,b) (p)->GetGammaRamp(a,b) +#define IDirectDrawGammaControl_SetGammaRamp(p,a,b) (p)->SetGammaRamp(a,b) +#endif + + +HRESULT WINAPI DirectDrawCreate(GUID *driver_guid, IDirectDraw **ddraw, IUnknown *outer); +HRESULT WINAPI DirectDrawCreateEx(GUID *driver_guid, void **ddraw, REFIID interface_iid, IUnknown *outer); +HRESULT WINAPI DirectDrawCreateClipper(DWORD flags, IDirectDrawClipper **clipper, IUnknown *outer); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __DDRAW_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddrawgdi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddrawgdi.h new file mode 100644 index 0000000..4b78702 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddrawgdi.h @@ -0,0 +1,36 @@ +/* + * Ddrawgdi definitions + * + * Copyright (C) 2009 Louis Lenders + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DDRAWGDI_H +#define __WINE_DDRAWGDI_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define DdQueryDisplaySettingsUniqueness GdiEntry13 + +ULONG APIENTRY DdQueryDisplaySettingsUniqueness(void); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DDRAWGDI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddrawi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddrawi.h new file mode 100644 index 0000000..761d970 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddrawi.h @@ -0,0 +1,1070 @@ +/* + * DirectDraw driver interface + * (DirectX 7 version) + * + * Copyright (C) 2001 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDRAWI_INCLUDED__ +#define __DDRAWI_INCLUDED__ + +#include +#include /* the DD HAL is layered onto DCI escapes */ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _DDVIDEOPORTCAPS *LPDDVIDEOPORTCAPS; /* should be in dvp.h */ +typedef struct _DDKERNELCAPS *LPDDKERNELCAPS; /* should be in ddkernel.h */ +typedef struct _VMEMHEAP *LPVMEMHEAP; /* should be in dmemmgr.h */ + +#define DDAPI WINAPI + +/* the DirectDraw versions */ +#define DD_VERSION 0x0200 /* compatibility version */ +#define DD_RUNTIME_VERSION 0x0700 /* actual version */ + +/* the HAL version returned from QUERYESCSUPPORT - DCICOMMAND */ +#define DD_HAL_VERSION 0x0100 + +/* more DCICOMMAND escapes */ +#define DDCREATEDRIVEROBJECT 10 +#define DDGET32BITDRIVERNAME 11 +#define DDNEWCALLBACKFNS 12 +#define DDVERSIONINFO 13 + +#define MAX_DRIVER_NAME CCHDEVICENAME + +/***************************************************************************** + * Initialization stuff + */ +typedef struct { + char szName[260]; + char szEntryPoint[64]; + DWORD dwContext; +} DD32BITDRIVERDATA,*LPDD32BITDRIVERDATA; + +typedef struct { + DWORD dwHALVersion; + ULONG_PTR dwReserved1; + ULONG_PTR dwReserved2; +} DDVERSIONDATA,*LPDDVERSIONDATA; + +typedef DWORD (PASCAL *LPDD32BITDRIVERINIT)(DWORD dwContext); + +/* pointer to video memory */ +typedef ULONG_PTR FLATPTR; + +/* predeclare some structures */ +typedef struct _DDHALINFO *LPDDHALINFO; +typedef struct _DDRAWI_DIRECTDRAW_INT *LPDDRAWI_DIRECTDRAW_INT; +typedef struct _DDRAWI_DIRECTDRAW_LCL *LPDDRAWI_DIRECTDRAW_LCL; +typedef struct _DDRAWI_DIRECTDRAW_GBL *LPDDRAWI_DIRECTDRAW_GBL; +typedef struct _DDRAWI_DDRAWSURFACE_INT *LPDDRAWI_DDRAWSURFACE_INT; +typedef struct _DDRAWI_DDRAWSURFACE_LCL *LPDDRAWI_DDRAWSURFACE_LCL; +typedef struct _DDRAWI_DDRAWSURFACE_GBL *LPDDRAWI_DDRAWSURFACE_GBL; +typedef struct _DDRAWI_DDRAWSURFACE_MORE *LPDDRAWI_DDRAWSURFACE_MORE; +typedef struct _DDRAWI_DDRAWSURFACE_GBL_MORE *LPDDRAWI_DDRAWSURFACE_GBL_MORE; +typedef struct _DDRAWI_DDRAWPALETTE_INT *LPDDRAWI_DDRAWPALETTE_INT; +typedef struct _DDRAWI_DDRAWPALETTE_LCL *LPDDRAWI_DDRAWPALETTE_LCL; +typedef struct _DDRAWI_DDRAWPALETTE_GBL *LPDDRAWI_DDRAWPALETTE_GBL; +typedef struct _DDRAWI_DDRAWCLIPPER_INT *LPDDRAWI_DDRAWCLIPPER_INT; +typedef struct _DDRAWI_DDRAWCLIPPER_LCL *LPDDRAWI_DDRAWCLIPPER_LCL; +typedef struct _DDRAWI_DDRAWCLIPPER_GBL *LPDDRAWI_DDRAWCLIPPER_GBL; +typedef struct _DDRAWI_DDVIDEOPORT_INT *LPDDRAWI_DDVIDEOPORT_INT; +typedef struct _DDRAWI_DDVIDEOPORT_LCL *LPDDRAWI_DDVIDEOPORT_LCL; +typedef struct _DDRAWI_DDMOTIONCOMP_INT *LPDDRAWI_DDMOTIONCOMP_INT; +typedef struct _DDRAWI_DDMOTIONCOMP_LCL *LPDDRAWI_DDMOTIONCOMP_LCL; + +/* structure GUIDs for GetDriverInfo */ +DEFINE_GUID( GUID_MiscellaneousCallbacks, 0xEFD60CC0,0x49E7,0x11D0,0x88,0x9D,0x00,0xAA,0x00,0xBB,0xB7,0x6A ); +/* ...videport stuff here... */ +DEFINE_GUID( GUID_D3DCallbacks2, 0x0BA584E1,0x70B6,0x11D0,0x88,0x9D,0x00,0xAA,0x00,0xBB,0xB7,0x6A ); +DEFINE_GUID( GUID_D3DCallbacks3, 0xDDF41230,0xEC0A,0x11D0,0xA9,0xB6,0x00,0xAA,0x00,0xC0,0x99,0x3E ); +DEFINE_GUID( GUID_NonLocalVidMemCaps, 0x86C4FA80,0x8D84,0x11D0,0x94,0xE8,0x00,0xC0,0x4F,0xC3,0x41,0x37 ); +/* ...kernel stuff here... */ +DEFINE_GUID( GUID_D3DExtendedCaps, 0x7DE41F80,0x9D93,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29 ); +DEFINE_GUID( GUID_ZPixelFormats, 0x93869880,0x36CF,0x11D1,0x9B,0x1B,0x00,0xAA,0x00,0xBB,0xB8,0xAE ); +DEFINE_GUID( GUID_DDMoreSurfaceCaps, 0x3B8A0466,0xF269,0x11D1,0x88,0x0B,0x00,0xC0,0x4F,0xD9,0x30,0xC5 ); +DEFINE_GUID( GUID_DDStereoMode, 0xF828169C,0xA8E8,0x11D2,0xA1,0xF2,0x00,0xA0,0xC9,0x83,0xEA,0xF6 ); +/* ...more stuff here... */ +DEFINE_GUID(GUID_D3DParseUnknownCommandCallback,0x2E04FFA0,0x98E4,0x11D1,0x8C,0xE1,0x00,0xA0,0xC9,0x06,0x29,0xA8 ); +/* ...motioncomp stuff here... */ +DEFINE_GUID( GUID_Miscellaneous2Callbacks, 0x406B2F00,0x3E5A,0x11D1,0xB6,0x40,0x00,0xAA,0x00,0xA1,0xF9,0x6A ); + +/***************************************************************************** + * driver->ddraw callbacks + */ +typedef BOOL (DDAPI *LPDDHAL_SETINFO)(LPDDHALINFO lpDDHalInfo, BOOL reset); +typedef FLATPTR (DDAPI *LPDDHAL_VIDMEMALLOC)(LPDDRAWI_DIRECTDRAW_GBL lpDD, int heap, DWORD dwWidth, DWORD dwHeight); +typedef void (DDAPI *LPDDHAL_VIDMEMFREE)(LPDDRAWI_DIRECTDRAW_GBL lpDD, int heap, FLATPTR fpMem); + +typedef struct { + DWORD dwSize; + LPDDHAL_SETINFO lpSetInfo; + LPDDHAL_VIDMEMALLOC lpVidMemAlloc; + LPDDHAL_VIDMEMFREE lpVidMemFree; +} DDHALDDRAWFNS,*LPDDHALDDRAWFNS; + +/***************************************************************************** + * mode info structure + */ +typedef struct _DDHALMODEINFO { + DWORD dwWidth; + DWORD dwHeight; + LONG lPitch; + DWORD dwBPP; + WORD wFlags; + WORD wRefreshRate; + DWORD dwRBitMask; + DWORD dwGBitMask; + DWORD dwBBitMask; + DWORD dwAlphaBitMask; +} DDHALMODEINFO,*LPDDHALMODEINFO; + +#define DDMODEINFO_PALETTIZED 0x0001 +#define DDMODEINFO_MODEX 0x0002 +#define DDMODEINFO_UNSUPPORTED 0x0004 +#define DDMODEINFO_STANDARDVGA 0x0008 +#define DDMODEINFO_MAXREFRESH 0x0010 +#define DDMODEINFO_STEREO 0x0020 + +/***************************************************************************** + * video memory info structure + */ +typedef struct _VIDMEM { + DWORD dwFlags; + FLATPTR fpStart; + union { + FLATPTR fpEnd; + DWORD dwWidth; + } DUMMYUNIONNAME1; + DDSCAPS ddsCaps; + DDSCAPS ddsCapsAlt; + union { + LPVMEMHEAP lpHeap; + DWORD dwHeight; + } DUMMYUNIONNAME2; +} VIDMEM,*LPVIDMEM; + +#define VIDMEM_ISLINEAR 0x00000001 +#define VIDMEM_ISRECTANGULAR 0x00000002 +#define VIDMEM_ISHEAP 0x00000004 +#define VIDMEM_ISNONLOCAL 0x00000008 +#define VIDMEM_ISWC 0x00000010 +#define VIDMEM_ISDISABLED 0x00000020 + +typedef struct _VIDMEMINFO { + FLATPTR fpPrimary; + DWORD dwFlags; + DWORD dwDisplayWidth; + DWORD dwDisplayHeight; + LONG lDisplayPitch; + DDPIXELFORMAT ddpfDisplay; + DWORD dwOffscreenAlign; + DWORD dwOverlayAlign; + DWORD dwTextureAlign; + DWORD dwZBufferAlign; + DWORD dwAlphaAlign; + DWORD dwNumHeaps; + LPVIDMEM pvmList; +} VIDMEMINFO,*LPVIDMEMINFO; + +typedef struct _HEAPALIAS { + FLATPTR fpVidMem; + LPVOID lpAlias; + DWORD dwAliasSize; +} HEAPALIAS,*LPHEAPALIAS; + +typedef struct _HEAPALIASINFO { + DWORD dwRefCnt; + DWORD dwFlags; + DWORD dwNumHeaps; + LPHEAPALIAS lpAliases; +} HEAPALIASINFO,*LPHEAPALIASINFO; + +#define HEAPALIASINFO_MAPPEDREAL 0x00000001 +#define HEAPALIASINFO_MAPPEDDUMMY 0x00000002 + +/***************************************************************************** + * capabilities structures + */ +typedef struct _DDCORECAPS { + DWORD dwSize; + DWORD dwCaps; + DWORD dwCaps2; + DWORD dwCKeyCaps; + DWORD dwFXCaps; + DWORD dwFXAlphaCaps; + DWORD dwPalCaps; + DWORD dwSVCaps; + DWORD dwAlphaBltConstBitDepths; + DWORD dwAlphaBltPixelBitDepths; + DWORD dwAlphaBltSurfaceBitDepths; + DWORD dwAlphaOverlayConstBitDepths; + DWORD dwAlphaOverlayPixelBitDepths; + DWORD dwAlphaOverlaySurfaceBitDepths; + DWORD dwZBufferBitDepths; + DWORD dwVidMemTotal; + DWORD dwVidMemFree; + DWORD dwMaxVisibleOverlays; + DWORD dwCurrVisibleOverlays; + DWORD dwNumFourCCCodes; + DWORD dwAlignBoundarySrc; + DWORD dwAlignSizeSrc; + DWORD dwAlignBoundaryDest; + DWORD dwAlignSizeDest; + DWORD dwAlignStrideAlign; + DWORD dwRops[DD_ROP_SPACE]; + DDSCAPS ddsCaps; + DWORD dwMinOverlayStretch; + DWORD dwMaxOverlayStretch; + DWORD dwMinLiveVideoStretch; + DWORD dwMaxLiveVideoStretch; + DWORD dwMinHwCodecStretch; + DWORD dwMaxHwCodecStretch; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwSVBCaps; + DWORD dwSVBCKeyCaps; + DWORD dwSVBFXCaps; + DWORD dwSVBRops[DD_ROP_SPACE]; + DWORD dwVSBCaps; + DWORD dwVSBCKeyCaps; + DWORD dwVSBFXCaps; + DWORD dwVSBRops[DD_ROP_SPACE]; + DWORD dwSSBCaps; + DWORD dwSSBCKeyCaps; + DWORD dwSSBFXCaps; + DWORD dwSSBRops[DD_ROP_SPACE]; + DWORD dwMaxVideoPorts; + DWORD dwCurrVideoPorts; + DWORD dwSVBCaps2; +} DDCORECAPS,*LPDDCORECAPS; + +typedef struct _DDNONLOCALVIDMEMCAPS { + DWORD dwSize; + DWORD dwNLVBCaps; + DWORD dwNLVBCaps2; + DWORD dwNLVBCKeyCaps; + DWORD dwNLVBFXCaps; + DWORD dwNLVBRops[DD_ROP_SPACE]; +} DDNONLOCALVIDMEMCAPS,*LPDDNONLOCALVIDMEMCAPS; + +typedef struct _DDSCAPSEX { + DWORD dwCaps2; + DWORD dwCaps3; + DWORD dwCaps4; +} DDSCAPSEX,*LPDDSCAPSEX; + +#define DDSCAPS_EXECUTEBUFFER DDSCAPS_RESERVED2 +#define DDSCAPS2_VERTEXBUFFER DDSCAPS2_RESERVED1 +#define DDSCAPS2_COMMANDBUFFER DDSCAPS2_RESERVED2 + +/***************************************************************************** + * ddraw->driver callbacks + */ +#define DDHAL_DRIVER_NOTHANDLED 0 +#define DDHAL_DRIVER_HANDLED 1 +#define DDHAL_DRIVER_NOCKEYHW 2 + +typedef struct _DDHAL_DESTROYDRIVERDATA *LPDDHAL_DESTROYDRIVERDATA; +typedef struct _DDHAL_CREATESURFACEDATA *LPDDHAL_CREATESURFACEDATA; +typedef struct _DDHAL_DRVSETCOLORKEYDATA *LPDDHAL_DRVSETCOLORKEYDATA; +typedef struct _DDHAL_SETMODEDATA *LPDDHAL_SETMODEDATA; +typedef struct _DDHAL_WAITFORVERTICALBLANKDATA *LPDDHAL_WAITFORVERTICALBLANKDATA; +typedef struct _DDHAL_CANCREATESURFACEDATA *LPDDHAL_CANCREATESURFACEDATA; +typedef struct _DDHAL_CREATEPALETTEDATA *LPDDHAL_CREATEPALETTEDATA; +typedef struct _DDHAL_GETSCANLINEDATA *LPDDHAL_GETSCANLINEDATA; +typedef struct _DDHAL_SETEXCLUSIVEMODEDATA *LPDDHAL_SETEXCLUSIVEMODEDATA; +typedef struct _DDHAL_FLIPTOGDISURFACEDATA *LPDDHAL_FLIPTOGDISURFACEDATA; + +typedef DWORD (PASCAL *LPDDHAL_DESTROYDRIVER) (LPDDHAL_DESTROYDRIVERDATA); +typedef DWORD (PASCAL *LPDDHAL_CREATESURFACE) (LPDDHAL_CREATESURFACEDATA); +typedef DWORD (PASCAL *LPDDHAL_SETCOLORKEY) (LPDDHAL_DRVSETCOLORKEYDATA); +typedef DWORD (PASCAL *LPDDHAL_SETMODE) (LPDDHAL_SETMODEDATA); +typedef DWORD (PASCAL *LPDDHAL_WAITFORVERTICALBLANK)(LPDDHAL_WAITFORVERTICALBLANKDATA); +typedef DWORD (PASCAL *LPDDHAL_CANCREATESURFACE) (LPDDHAL_CANCREATESURFACEDATA ); +typedef DWORD (PASCAL *LPDDHAL_CREATEPALETTE) (LPDDHAL_CREATEPALETTEDATA); +typedef DWORD (PASCAL *LPDDHAL_GETSCANLINE) (LPDDHAL_GETSCANLINEDATA); +typedef DWORD (PASCAL *LPDDHAL_SETEXCLUSIVEMODE) (LPDDHAL_SETEXCLUSIVEMODEDATA); +typedef DWORD (PASCAL *LPDDHAL_FLIPTOGDISURFACE) (LPDDHAL_FLIPTOGDISURFACEDATA); + +typedef struct _DDHAL_DDCALLBACKS { + DWORD dwSize; + DWORD dwFlags; + LPDDHAL_DESTROYDRIVER DestroyDriver; + LPDDHAL_CREATESURFACE CreateSurface; + LPDDHAL_SETCOLORKEY SetColorKey; + LPDDHAL_SETMODE SetMode; + LPDDHAL_WAITFORVERTICALBLANK WaitForVerticalBlank; + LPDDHAL_CANCREATESURFACE CanCreateSurface; + LPDDHAL_CREATEPALETTE CreatePalette; + LPDDHAL_GETSCANLINE GetScanLine; + /* DirectX 2 */ + LPDDHAL_SETEXCLUSIVEMODE SetExclusiveMode; + LPDDHAL_FLIPTOGDISURFACE FlipToGDISurface; +} DDHAL_DDCALLBACKS,*LPDDHAL_DDCALLBACKS; + +typedef struct _DDHAL_DESTROYSURFACEDATA *LPDDHAL_DESTROYSURFACEDATA; +typedef struct _DDHAL_FLIPDATA *LPDDHAL_FLIPDATA; +typedef struct _DDHAL_SETCLIPLISTDATA *LPDDHAL_SETCLIPLISTDATA; +typedef struct _DDHAL_LOCKDATA *LPDDHAL_LOCKDATA; +typedef struct _DDHAL_UNLOCKDATA *LPDDHAL_UNLOCKDATA; +typedef struct _DDHAL_BLTDATA *LPDDHAL_BLTDATA; +typedef struct _DDHAL_SETCOLORKEYDATA *LPDDHAL_SETCOLORKEYDATA; +typedef struct _DDHAL_ADDATTACHEDSURFACEDATA *LPDDHAL_ADDATTACHEDSURFACEDATA; +typedef struct _DDHAL_GETBLTSTATUSDATA *LPDDHAL_GETBLTSTATUSDATA; +typedef struct _DDHAL_GETFLIPSTATUSDATA *LPDDHAL_GETFLIPSTATUSDATA; +typedef struct _DDHAL_UPDATEOVERLAYDATA *LPDDHAL_UPDATEOVERLAYDATA; +typedef struct _DDHAL_SETOVERLAYPOSITIONDATA *LPDDHAL_SETOVERLAYPOSITIONDATA; +typedef struct _DDHAL_SETPALETTEDATA *LPDDHAL_SETPALETTEDATA; + +typedef DWORD (PASCAL *LPDDHALSURFCB_DESTROYSURFACE) (LPDDHAL_DESTROYSURFACEDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_FLIP) (LPDDHAL_FLIPDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_SETCLIPLIST) (LPDDHAL_SETCLIPLISTDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_LOCK) (LPDDHAL_LOCKDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_UNLOCK) (LPDDHAL_UNLOCKDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_BLT) (LPDDHAL_BLTDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_SETCOLORKEY) (LPDDHAL_SETCOLORKEYDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_ADDATTACHEDSURFACE)(LPDDHAL_ADDATTACHEDSURFACEDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_GETBLTSTATUS) (LPDDHAL_GETBLTSTATUSDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_GETFLIPSTATUS) (LPDDHAL_GETFLIPSTATUSDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_UPDATEOVERLAY) (LPDDHAL_UPDATEOVERLAYDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_SETOVERLAYPOSITION)(LPDDHAL_SETOVERLAYPOSITIONDATA); +typedef DWORD (PASCAL *LPDDHALSURFCB_SETPALETTE) (LPDDHAL_SETPALETTEDATA); + +typedef struct _DDHAL_DDSURFACECALLBACKS { + DWORD dwSize; + DWORD dwFlags; + LPDDHALSURFCB_DESTROYSURFACE DestroySurface; + LPDDHALSURFCB_FLIP Flip; + LPDDHALSURFCB_SETCLIPLIST SetClipList; + LPDDHALSURFCB_LOCK Lock; + LPDDHALSURFCB_UNLOCK Unlock; + LPDDHALSURFCB_BLT Blt; + LPDDHALSURFCB_SETCOLORKEY SetColorKey; + LPDDHALSURFCB_ADDATTACHEDSURFACE AddAttachedSurface; + LPDDHALSURFCB_GETBLTSTATUS GetBltStatus; + LPDDHALSURFCB_GETFLIPSTATUS GetFlipStatus; + LPDDHALSURFCB_UPDATEOVERLAY UpdateOverlay; + LPDDHALSURFCB_SETOVERLAYPOSITION SetOverlayPosition; + LPVOID reserved4; + LPDDHALSURFCB_SETPALETTE SetPalette; +} DDHAL_DDSURFACECALLBACKS,*LPDDHAL_DDSURFACECALLBACKS; + +typedef struct _DDHAL_DESTROYPALETTEDATA *LPDDHAL_DESTROYPALETTEDATA; +typedef struct _DDHAL_SETENTRIESDATA *LPDDHAL_SETENTRIESDATA; + +typedef DWORD (PASCAL *LPDDHALPALCB_DESTROYPALETTE)(LPDDHAL_DESTROYPALETTEDATA); +typedef DWORD (PASCAL *LPDDHALPALCB_SETENTRIES) (LPDDHAL_SETENTRIESDATA); + +typedef struct _DDHAL_DDPALETTECALLBACKS { + DWORD dwSize; + DWORD dwFlags; + LPDDHALPALCB_DESTROYPALETTE DestroyPalette; + LPDDHALPALCB_SETENTRIES SetEntries; +} DDHAL_DDPALETTECALLBACKS,*LPDDHAL_DDPALETTECALLBACKS; + +typedef DWORD (PASCAL *LPDDHALEXEBUFCB_CANCREATEEXEBUF)(LPDDHAL_CANCREATESURFACEDATA); +typedef DWORD (PASCAL *LPDDHALEXEBUFCB_CREATEEXEBUF) (LPDDHAL_CREATESURFACEDATA); +typedef DWORD (PASCAL *LPDDHALEXEBUFCB_DESTROYEXEBUF) (LPDDHAL_DESTROYSURFACEDATA); +typedef DWORD (PASCAL *LPDDHALEXEBUFCB_LOCKEXEBUF) (LPDDHAL_LOCKDATA); +typedef DWORD (PASCAL *LPDDHALEXEBUFCB_UNLOCKEXEBUF) (LPDDHAL_UNLOCKDATA); + +typedef struct _DDHAL_DDEXEBUFCALLBACKS { + DWORD dwSize; + DWORD dwFlags; + LPDDHALEXEBUFCB_CANCREATEEXEBUF CanCreateExecuteBuffer; + LPDDHALEXEBUFCB_CREATEEXEBUF CreateExecuteBuffer; + LPDDHALEXEBUFCB_DESTROYEXEBUF DestroyExecuteBuffer; + LPDDHALEXEBUFCB_LOCKEXEBUF LockExecuteBuffer; + LPDDHALEXEBUFCB_UNLOCKEXEBUF UnlockExecuteBuffer; +} DDHAL_DDEXEBUFCALLBACKS,*LPDDHAL_DDEXEBUFCALLBACKS; + +typedef struct _DDHAL_GETAVAILDRIVERMEMORYDATA *LPDDHAL_GETAVAILDRIVERMEMORYDATA; +typedef struct _DDHAL_UPDATENONLOCALHEAPDATA *LPDDHAL_UPDATENONLOCALHEAPDATA; +typedef struct _DDHAL_GETHEAPALIGNMENTDATA *LPDDHAL_GETHEAPALIGNMENTDATA; + +typedef DWORD (PASCAL *LPDDHAL_GETAVAILDRIVERMEMORY)(LPDDHAL_GETAVAILDRIVERMEMORYDATA); +typedef DWORD (PASCAL *LPDDHAL_UPDATENONLOCALHEAP) (LPDDHAL_UPDATENONLOCALHEAPDATA); +typedef DWORD (PASCAL *LPDDHAL_GETHEAPALIGNMENT) (LPDDHAL_GETHEAPALIGNMENTDATA); + +typedef struct _DDHAL_DDMISCELLANEOUSCALLBACKS { + DWORD dwSize; + DWORD dwFlags; + LPDDHAL_GETAVAILDRIVERMEMORY GetAvailDriverMemory; + LPDDHAL_UPDATENONLOCALHEAP UpdateNonLocalHeap; + LPDDHAL_GETHEAPALIGNMENT GetHeapAlignment; + LPDDHALSURFCB_GETBLTSTATUS GetSysmemBltStatus; +} DDHAL_DDMISCELLANEOUSCALLBACKS,*LPDDHAL_DDMISCELLANEOUSCALLBACKS; + +typedef struct _DDHAL_CREATESURFACEEXDATA *LPDDHAL_CREATESURFACEEXDATA; +typedef struct _DDHAL_GETDRIVERSTATEDATA *LPDDHAL_GETDRIVERSTATEDATA; +typedef struct _DDHAL_DESTROYDDLOCALDATA *LPDDHAL_DESTROYDDLOCALDATA; + +typedef DWORD (PASCAL *LPDDHAL_CREATESURFACEEX)(LPDDHAL_CREATESURFACEEXDATA); +typedef DWORD (PASCAL *LPDDHAL_GETDRIVERSTATE) (LPDDHAL_GETDRIVERSTATEDATA); +typedef DWORD (PASCAL *LPDDHAL_DESTROYDDLOCAL) (LPDDHAL_DESTROYDDLOCALDATA); + +typedef struct _DDHAL_DDMISCELLANEOUS2CALLBACKS { + DWORD dwSize; + DWORD dwFlags; + LPVOID Reserved; + LPDDHAL_CREATESURFACEEX CreateSurfaceEx; + LPDDHAL_GETDRIVERSTATE GetDriverState; + LPDDHAL_DESTROYDDLOCAL DestroyDDLocal; +} DDHAL_DDMISCELLANEOUS2CALLBACKS,*LPDDHAL_DDMISCELLANEOUS2CALLBACKS; + +typedef HRESULT (WINAPI *LPDDGAMMACALIBRATORPROC)(DDGAMMARAMP *, BYTE *); + +/***************************************************************************** + * driver info structure + * + * The HAL is queried for additional callbacks via the GetDriverInfo callback. + */ +typedef struct _DDHAL_GETDRIVERINFODATA *LPDDHAL_GETDRIVERINFODATA; +typedef DWORD (PASCAL *LPDDHAL_GETDRIVERINFO)(LPDDHAL_GETDRIVERINFODATA); + +typedef struct _DDHALINFO { + DWORD dwSize; + LPDDHAL_DDCALLBACKS lpDDCallbacks; + LPDDHAL_DDSURFACECALLBACKS lpDDSurfaceCallbacks; + LPDDHAL_DDPALETTECALLBACKS lpDDPaletteCallbacks; + VIDMEMINFO vmiData; + DDCORECAPS ddCaps; + DWORD dwMonitorFrequency; + LPDDHAL_GETDRIVERINFO GetDriverInfo; + DWORD dwModeIndex; + LPDWORD lpdwFourCC; + DWORD dwNumModes; + LPDDHALMODEINFO lpModeInfo; + DWORD dwFlags; + LPVOID lpPDevice; + DWORD hInstance; + /* DirectX 2 */ + ULONG_PTR lpD3DGlobalDriverData; + ULONG_PTR lpD3DHALCallbacks; + LPDDHAL_DDEXEBUFCALLBACKS lpDDExeBufCallbacks; +} DDHALINFO; + +#define DDHALINFO_ISPRIMARYDISPLAY 0x00000001 +#define DDHALINFO_MODEXILLEGAL 0x00000002 +#define DDHALINFO_GETDRIVERINFOSET 0x00000004 + +/* where the high-level ddraw implementation stores the callbacks */ +typedef struct _DDHAL_CALLBACKS { + DDHAL_DDCALLBACKS cbDDCallbacks; + DDHAL_DDSURFACECALLBACKS cbDDSurfaceCallbacks; + DDHAL_DDPALETTECALLBACKS cbDDPaletteCallbacks; + DDHAL_DDCALLBACKS HALDD; + DDHAL_DDSURFACECALLBACKS HALDDSurface; + DDHAL_DDPALETTECALLBACKS HALDDPalette; + DDHAL_DDCALLBACKS HELDD; + DDHAL_DDSURFACECALLBACKS HELDDSurface; + DDHAL_DDPALETTECALLBACKS HELDDPalette; + DDHAL_DDEXEBUFCALLBACKS cbDDExeBufCallbacks; + DDHAL_DDEXEBUFCALLBACKS HALDDExeBuf; + DDHAL_DDEXEBUFCALLBACKS HELDDExeBuf; + /* there's more... videoport, colorcontrol, misc, and motion compensation callbacks... */ +} DDHAL_CALLBACKS,*LPDDHAL_CALLBACKS; + +/***************************************************************************** + * parameter structures + */ +typedef struct _DDHAL_DESTROYDRIVERDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + HRESULT ddRVal; + LPDDHAL_DESTROYDRIVER DestroyDriver; +} DDHAL_DESTROYDRIVERDATA; + +typedef struct _DDHAL_SETMODEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + DWORD dwModeIndex; + HRESULT ddRVal; + LPDDHAL_SETMODE SetMode; + BOOL inexcl; + BOOL useRefreshRate; +} DDHAL_SETMODEDATA; + +typedef struct _DDHAL_CREATESURFACEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + DDSURFACEDESC *lpDDSurfaceDesc; + LPDDRAWI_DDRAWSURFACE_LCL * lplpSList; + DWORD dwSCnt; + HRESULT ddRVal; + LPDDHAL_CREATESURFACE CreateSurface; +} DDHAL_CREATESURFACEDATA; + +typedef struct _DDHAL_CANCREATESURFACEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + DDSURFACEDESC *lpDDSurfaceDesc; + DWORD bIsDifferentPixelFormat; + HRESULT ddRVal; + LPDDHAL_CANCREATESURFACE CanCreateSurface; +} DDHAL_CANCREATESURFACEDATA; + +typedef struct _DDHAL_CREATEPALETTEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWPALETTE_GBL lpDDPalette; + LPPALETTEENTRY lpColorTable; + HRESULT ddRVal; + LPDDHAL_CREATEPALETTE CreatePalette; + BOOL is_excl; +} DDHAL_CREATEPALETTEDATA; + +typedef struct _DDHAL_SETEXCLUSIVEMODEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + DWORD dwEnterExcl; + DWORD dwReserved; + HRESULT ddRVal; + LPDDHAL_SETEXCLUSIVEMODE SetExclusiveMode; +} DDHAL_SETEXCLUSIVEMODEDATA; + +/* surfaces */ +typedef struct _DDHAL_DESTROYSURFACEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface; + HRESULT ddRVal; + LPDDHALSURFCB_DESTROYSURFACE DestroySurface; +} DDHAL_DESTROYSURFACEDATA; + +typedef struct _DDHAL_FLIPDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpSurfCurr; + LPDDRAWI_DDRAWSURFACE_LCL lpSurfTarg; + DWORD dwFlags; + HRESULT ddRVal; + LPDDHALSURFCB_FLIP Flip; + LPDDRAWI_DDRAWSURFACE_LCL lpSurfCurrLeft; + LPDDRAWI_DDRAWSURFACE_LCL lpSurfTargLeft; +} DDHAL_FLIPDATA; + +typedef struct _DDHAL_LOCKDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface; + DWORD bHasRect; + RECTL rArea; + LPVOID lpSurfData; + HRESULT ddRVal; + LPDDHALSURFCB_LOCK Lock; + DWORD dwFlags; +} DDHAL_LOCKDATA; + +typedef struct _DDHAL_UNLOCKDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface; + HRESULT ddRVal; + LPDDHALSURFCB_UNLOCK Unlock; +} DDHAL_UNLOCKDATA; + +typedef struct _DDHAL_BLTDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpDDDestSurface; + RECTL rDest; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSrcSurface; + RECTL rSrc; + DWORD dwFlags; + DWORD dwROPFlags; + DDBLTFX bltFX; + HRESULT ddRVal; + LPDDHALSURFCB_BLT Blt; + BOOL IsClipped; + RECTL rOrigDest; + RECTL rOrigSrc; + DWORD dwRectCnt; + LPRECT prDestRects; +} DDHAL_BLTDATA; + +typedef struct _DDHAL_UPDATEOVERLAYDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpDDDestSurface; + RECTL rDest; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSrcSurface; + RECTL rSrc; + DWORD dwFlags; + DDOVERLAYFX overlayFX; + HRESULT ddRVal; + LPDDHALSURFCB_UPDATEOVERLAY UpdateOverlay; +} DDHAL_UPDATEOVERLAYDATA; + +typedef struct _DDHAL_SETPALETTEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface; + LPDDRAWI_DDRAWPALETTE_GBL lpDDPalette; + HRESULT ddRVal; + LPDDHALSURFCB_SETPALETTE SetPalette; + BOOL Attach; +} DDHAL_SETPALETTEDATA; + +/* palettes */ +typedef struct _DDHAL_DESTROYPALETTEDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWPALETTE_GBL lpDDPalette; + HRESULT ddRVal; + LPDDHALPALCB_DESTROYPALETTE DestroyPalette; +} DDHAL_DESTROYPALETTEDATA; + +typedef struct _DDHAL_SETENTRIESDATA { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPDDRAWI_DDRAWPALETTE_GBL lpDDPalette; + DWORD dwBase; + DWORD dwNumEntries; + LPPALETTEENTRY lpEntries; + HRESULT ddRVal; + LPDDHALPALCB_SETENTRIES SetEntries; +} DDHAL_SETENTRIESDATA; + +typedef struct _DDHAL_GETDRIVERINFODATA { + DWORD dwSize; + DWORD dwFlags; + GUID guidInfo; + DWORD dwExpectedSize; + LPVOID lpvData; + DWORD dwActualSize; + HRESULT ddRVal; + ULONG_PTR dwContext; +} DDHAL_GETDRIVERINFODATA; + +/***************************************************************************** + * high-level ddraw implementation structures + */ +typedef struct _IUNKNOWN_LIST { + struct _IUNKNOWN_LIST * lpLink; + LPGUID lpGuid; + IUnknown * lpIUnknown; +} IUNKNOWN_LIST,*LPIUNKNOWN_LIST; + +typedef struct _PROCESS_LIST { + struct _PROCESS_LIST * lpLink; + DWORD dwProcessId; + DWORD dwRefCnt; + DWORD dwAlphaDepth; + DWORD dwZDepth; +} PROCESS_LIST,*LPPROCESS_LIST; + +typedef struct _ATTACHLIST { + DWORD dwFlags; + struct _ATTACHLIST * lpLink; + LPDDRAWI_DDRAWSURFACE_LCL lpAttached; + LPDDRAWI_DDRAWSURFACE_INT lpIAttached; +} ATTACHLIST,*LPATTACHLIST; + +#define DDAL_IMPLICIT 0x00000001 + +typedef struct _ACCESSRECTLIST { + struct _ACCESSRECTLIST * lpLink; + RECT rDest; + LPDDRAWI_DIRECTDRAW_LCL lpOwner; + LPVOID lpSurfaceData; + DWORD dwFlags; + LPHEAPALIASINFO lpHeapAliasInfo; +} ACCESSRECTLIST,*LPACCESSRECTLIST; + +#define ACCESSRECT_VRAMSTYLE 0x00000001 +#define ACCESSRECT_NOTHOLDINGWIN16LOCK 0x00000002 +#define ACCESSRECT_BROKEN 0x00000004 + +typedef struct _DBLNODE { + struct _DBLNODE * next; + struct _DBLNODE * prev; + LPDDRAWI_DDRAWSURFACE_LCL object; + LPDDRAWI_DDRAWSURFACE_INT object_int; +} DBLNODE,*LPDBLNODE; + +typedef struct _DDRAWI_DIRECTDRAW_INT { + LPVOID lpVtbl; + LPDDRAWI_DIRECTDRAW_LCL lpLcl; + LPDDRAWI_DIRECTDRAW_INT lpLink; + DWORD dwIntRefCnt; +} DDRAWI_DIRECTDRAW_INT; + +typedef struct _DDRAWI_DIRECTDRAW_LCL { + DWORD lpDDMore; + LPDDRAWI_DIRECTDRAW_GBL lpGbl; + DWORD dwUnused0; + DWORD dwLocalFlags; + DWORD dwLocalRefCnt; + DWORD dwProcessId; + IUnknown * pUnkOuter; + DWORD dwObsolete1; + ULONG_PTR hWnd; + ULONG_PTR hDC; + DWORD dwErrorMode; + LPDDRAWI_DDRAWSURFACE_INT lpPrimary; + LPDDRAWI_DDRAWSURFACE_INT lpCB; + DWORD dwPreferredMode; + /* DirectX 2 */ + HINSTANCE hD3DInstance; + IUnknown * pD3DIUnknown; + LPDDHAL_CALLBACKS lpDDCB; + ULONG_PTR hDDVxd; + /* DirectX 5.0 */ + DWORD dwAppHackFlags; + /* DirectX 5.0A */ + ULONG_PTR hFocusWnd; + DWORD dwHotTracking; + DWORD dwIMEState; + /* DirectX 6.0 */ + ULONG_PTR hWndPopup; + ULONG_PTR hDD; + ULONG_PTR hGammaCalibrator; + LPDDGAMMACALIBRATORPROC lpGammaCalibrator; +} DDRAWI_DIRECTDRAW_LCL; + +#define DDRAWILCL_HASEXCLUSIVEMODE 0x00000001 +#define DDRAWILCL_ISFULLSCREEN 0x00000002 +#define DDRAWILCL_SETCOOPCALLED 0x00000004 +#define DDRAWILCL_ACTIVEYES 0x00000008 +#define DDRAWILCL_ACTIVENO 0x00000010 +#define DDRAWILCL_HOOKEDHWND 0x00000020 +#define DDRAWILCL_ALLOWMODEX 0x00000040 +#define DDRAWILCL_V1SCLBEHAVIOUR 0x00000080 +#define DDRAWILCL_MODEHASBEENCHANGED 0x00000100 +#define DDRAWILCL_CREATEDWINDOW 0x00000200 +#define DDRAWILCL_DIRTYDC 0x00000400 +#define DDRAWILCL_DISABLEINACTIVATE 0x00000800 +#define DDRAWILCL_CURSORCLIPPED 0x00001000 +#define DDRAWILCL_EXPLICITMONITOR 0x00002000 +#define DDRAWILCL_MULTITHREADED 0x00004000 +#define DDRAWILCL_FPUSETUP 0x00008000 +#define DDRAWILCL_POWEREDDOWN 0x00010000 +#define DDRAWILCL_DIRECTDRAW7 0x00020000 +#define DDRAWILCL_ATTEMPTEDD3DCONTEXT 0x00040000 +#define DDRAWILCL_FPUPRESERVE 0x00080000 + +typedef struct _DDRAWI_DIRECTDRAW_GBL { + DWORD dwRefCnt; + DWORD dwFlags; + FLATPTR fpPrimaryOrig; + DDCORECAPS ddCaps; + DWORD dwInternal1; + DWORD dwUnused1[9]; + LPDDHAL_CALLBACKS lpDDCBtmp; + LPDDRAWI_DDRAWSURFACE_INT dsList; + LPDDRAWI_DDRAWPALETTE_INT palList; + LPDDRAWI_DDRAWCLIPPER_INT clipperList; + LPDDRAWI_DIRECTDRAW_GBL lp16DD; + DWORD dwMaxOverlays; + DWORD dwCurrOverlays; + DWORD dwMonitorFrequency; + DDCORECAPS ddHELCaps; + DWORD dwUnused2[50]; + DDCOLORKEY ddckCKDestOverlay; + DDCOLORKEY ddckCKSrcOverlay; + VIDMEMINFO vmiData; + LPVOID lpDriverHandle; + LPDDRAWI_DIRECTDRAW_LCL lpExclusiveOwner; + DWORD dwModeIndex; + DWORD dwModeIndexOrig; + DWORD dwNumFourCC; + LPDWORD lpdwFourCC; + DWORD dwNumModes; + LPDDHALMODEINFO lpModeInfo; + PROCESS_LIST plProcessList; + DWORD dwSurfaceLockCount; + DWORD dwAliasedLockCnt; + ULONG_PTR dwReserved3; + ULONG_PTR hDD; + char cObsolete[12]; + DWORD dwReserved1; + DWORD dwReserved2; + DBLNODE dbnOverlayRoot; + volatile LPWORD lpwPDeviceFlags; + DWORD dwPDevice; + DWORD dwWin16LockCnt; + DWORD dwUnused3; + DWORD hInstance; + DWORD dwEvent16; + DWORD dwSaveNumModes; + /* DirectX 2 */ + ULONG_PTR lpD3DGlobalDriverData; + ULONG_PTR lpD3DHALCallbacks; + DDCORECAPS ddBothCaps; + /* DirectX 5.0 */ + LPDDVIDEOPORTCAPS lpDDVideoPortCaps; + LPDDRAWI_DDVIDEOPORT_INT dvpList; + ULONG_PTR lpD3DHALCallbacks2; + RECT rectDevice; + DWORD cMonitors; + LPVOID gpbmiSrc; + LPVOID gpbmiDest; + LPHEAPALIASINFO phaiHeapAliases; + ULONG_PTR hKernelHandle; + ULONG_PTR pfnNotifyProc; + LPDDKERNELCAPS lpDDKernelCaps; + LPDDNONLOCALVIDMEMCAPS lpddNLVCaps; + LPDDNONLOCALVIDMEMCAPS lpddNLVHELCaps; + LPDDNONLOCALVIDMEMCAPS lpddNLVBothCaps; + ULONG_PTR lpD3DExtendedCaps; + /* DirectX 5.0A */ + DWORD dwDOSBoxEvent; + RECT rectDesktop; + char cDriverName[MAX_DRIVER_NAME]; + /* DirectX 6.0 */ + ULONG_PTR lpD3DHALCallbacks3; + DWORD dwNumZPixelFormats; + DDPIXELFORMAT *lpZPixelFormats; + LPDDRAWI_DDMOTIONCOMP_INT mcList; + DWORD hDDVxd; + DDSCAPSEX ddsCapsMore; +} DDRAWI_DIRECTDRAW_GBL; + +#define DDRAWI_VIRTUALDESKTOP 0x00000008 +#define DDRAWI_MODEX 0x00000010 +#define DDRAWI_DISPLAYDRV 0x00000020 +#define DDRAWI_FULLSCREEN 0x00000040 +#define DDRAWI_MODECHANGED 0x00000080 +#define DDRAWI_NOHARDWARE 0x00000100 +#define DDRAWI_PALETTEINIT 0x00000200 +#define DDRAWI_NOEMULATION 0x00000400 +/* more... */ + +/* surfaces */ +typedef struct _DDRAWI_DDRAWSURFACE_INT { + LPVOID lpVtbl; + LPDDRAWI_DDRAWSURFACE_LCL lpLcl; + LPDDRAWI_DDRAWSURFACE_INT lpLink; + DWORD dwIntRefCnt; +} DDRAWI_DDRAWSURFACE_INT; + +typedef struct _DDRAWI_DDRAWSURFACE_GBL { + DWORD dwRefCnt; + DWORD dwGlobalFlags; + union { + LPACCESSRECTLIST lpRectList; + DWORD dwBlockSizeY; + } DUMMYUNIONNAME1; + union { + LPVMEMHEAP lpVidMemHeap; + DWORD dwBlockSizeX; + } DUMMYUNIONNAME2; + union { + LPDDRAWI_DIRECTDRAW_GBL lpDD; + LPVOID lpDDHandle; + } DUMMYUNIONNAME3; + FLATPTR fpVidMem; + union { + LONG lPitch; + DWORD dwLinearSize; + } DUMMYUNIONNAME4; + WORD wHeight; + WORD wWidth; + DWORD dwUsageCount; + ULONG_PTR dwReserved1; /* for display driver use */ + /* optional (defaults to primary surface pixelformat) */ + DDPIXELFORMAT ddpfSurface; +} DDRAWI_DDRAWSURFACE_GBL; + +#define DDRAWISURFGBL_MEMFREE 0x00000001 +#define DDRAWISURFGBL_SYSMEMREQUESTED 0x00000002 +#define DDRAWISURFGBL_ISGDISURFACE 0x00000004 +#define DDRAWISURFGBL_SOFTWAREAUTOFLIP 0x00000008 +#define DDRAWISURFGBL_LOCKNOTHOLDINGWIN16LOCK 0x00000010 +#define DDRAWISURFGBL_LOCKVRAMSTYLE 0x00000020 +#define DDRAWISURFGBL_LOCKBROKEN 0x00000040 +#define DDRAWISURFGBL_IMPLICITHANDLE 0x00000080 +#define DDRAWISURFGBL_ISCLIENTMEM 0x00000100 +#define DDRAWISURFGBL_HARDWAREOPSOURCE 0x00000200 +#define DDRAWISURFGBL_HARDWAREOPDEST 0x00000400 +#define DDRAWISURFGBL_HARDWAREOPSTARTED 0x00000600 +#define DDRAWISURFGBL_VPORTINTERLEAVED 0x00000800 +#define DDRAWISURFGBL_VPORTDATA 0x00001000 +#define DDRAWISURFGBL_LATEALLOCATELINEAR 0x00002000 +#define DDRAWISURFGBL_SYSMEMEXECUTEBUFFER 0x00004000 +#define DDRAWISURFGBL_FASTLOCKHELD 0x00008000 +#define DDRAWISURFGBL_READONLYLOCKHELD 0x00010000 + +typedef struct _DDRAWI_DDRAWSURFACE_GBL_MORE { + DWORD dwSize; + union { + DWORD dwPhysicalPageTable; + FLATPTR fpPhysicalVidMem; + } DUMMYUNIONNAME1; + LPDWORD pPageTable; + DWORD cPages; + ULONG_PTR dwSavedDCContext; + FLATPTR fpAliasedVidMem; + ULONG_PTR dwDriverReserved; + ULONG_PTR dwHELReserved; + DWORD cPageUnlocks; + ULONG_PTR hKernelSurface; + DWORD dwKernelRefCnt; + DDCOLORCONTROL *lpColorInfo; + FLATPTR fpNTAlias; + DWORD dwContentsStamp; + LPVOID lpvUnswappedDriverReserved; + LPVOID lpDDRAWReserved2; + DWORD dwDDRAWReserved1; + DWORD dwDDRAWReserved2; + FLATPTR fpAliasOfVidMem; +} DDRAWI_DDRAWSURFACE_GBL_MORE; + +/* the MS version of this macro was somewhat obfuscated and unreadable + * (possibly because of mediocre MS coders)... so I simplified it... + * (and so I commit no copyright violations either, hah) */ +#define GET_LPDDRAWSURFACE_GBL_MORE(psurf_gbl) \ + (*(((LPDDRAWI_DDRAWSURFACE_GBL_MORE *)(psurf_gbl)) - 1)) + +typedef struct _DDRAWI_DDRAWSURFACE_MORE { + DWORD dwSize; + IUNKNOWN_LIST * lpIUnknowns; + LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl; + DWORD dwPageLockCount; + DWORD dwBytesAllocated; + LPDDRAWI_DIRECTDRAW_INT lpDD_int; + DWORD dwMipMapCount; + LPDDRAWI_DDRAWCLIPPER_INT lpDDIClipper; + /* DirectX 5.0 */ + LPHEAPALIASINFO lpHeapAliasInfo; + DWORD dwOverlayFlags; + VOID *rgjunc; + LPDDRAWI_DDVIDEOPORT_LCL lpVideoPort; + DDOVERLAYFX *lpddOverlayFX; + DDSCAPSEX ddsCapsEx; + DWORD dwTextureStage; + LPVOID lpDDRAWReserved; + LPVOID lpDDRAWReserved2; + LPVOID lpDDrawReserved3; + DWORD dwDDrawReserved4; + LPVOID lpDDrawReserved5; + LPDWORD lpGammaRamp; + LPDWORD lpOriginalGammaRamp; + LPVOID lpDDrawReserved6; + DWORD dwSurfaceHandle; + DWORD qwDDrawReserved8[2]; + LPVOID lpDDrawReserved9; + DWORD cSurfaces; + DDSURFACEDESC2 *pCreatedDDSurfaceDesc2; + LPDDRAWI_DDRAWSURFACE_LCL *slist; + DWORD dwFVF; + LPVOID lpVB; +} DDRAWI_DDRAWSURFACE_MORE; + +typedef struct _DDRAWI_DDRAWSURFACE_LCL { + LPDDRAWI_DDRAWSURFACE_MORE lpSurfMore; + LPDDRAWI_DDRAWSURFACE_GBL lpGbl; + ULONG_PTR hDDSurface; + LPATTACHLIST lpAttachList; + LPATTACHLIST lpAttachListFrom; + DWORD dwLocalRefCnt; + DWORD dwProcessId; + DWORD dwFlags; + DDSCAPS ddsCaps; + LPDDRAWI_DDRAWPALETTE_INT lpDDPalette; + LPDDRAWI_DDRAWCLIPPER_LCL lpDDClipper; + DWORD dwModeCreatedIn; + DWORD dwBackBufferCount; + DDCOLORKEY ddckCKDestBlt; + DDCOLORKEY ddckCKSrcBlt; + ULONG_PTR hDC; + ULONG_PTR dwReserved1; /* for display driver use */ + /* overlays only */ + DDCOLORKEY ddckCKSrcOverlay; + DDCOLORKEY ddckCKDestOverlay; + LPDDRAWI_DDRAWSURFACE_INT lpSurfaceOverlaying; + DBLNODE dbnOverlayNode; + RECT rcOverlaySrc; + RECT rcOverlayDest; + DWORD dwClrXparent; + DWORD dwAlpha; + LONG lOverlayX; + LONG lOverlayY; +} DDRAWI_DDRAWSURFACE_LCL; + +#define DDRAWISURF_ATTACHED 0x00000001 +#define DDRAWISURF_IMPLICITCREATE 0x00000002 +#define DDRAWISURF_ISFREE 0x00000004 +#define DDRAWISURF_ATTACHED_FROM 0x00000008 +#define DDRAWISURF_IMPLICITROOT 0x00000010 +#define DDRAWISURF_PARTOFPRIMARYCHAIN 0x00000020 +#define DDRAWISURF_DATAISALIASED 0x00000040 +#define DDRAWISURF_HASDC 0x00000080 +#define DDRAWISURF_HASCKEYDESTOVERLAY 0x00000100 +#define DDRAWISURF_HASCKEYDESTBLT 0x00000200 +#define DDRAWISURF_HASCKEYSRCOVERLAY 0x00000400 +#define DDRAWISURF_HASCKEYSRCBLT 0x00000800 +#define DDRAWISURF_LOCKEXCLUDEDCURSOR 0x00001000 +#define DDRAWISURF_HASPIXELFORMAT 0x00002000 +#define DDRAWISURF_HASOVERLAYDATA 0x00004000 +#define DDRAWISURF_SETGAMMA 0x00008000 +/* more... */ +#define DDRAWISURF_INVALID 0x10000000 + +/* palettes */ +typedef struct _DDRAWI_DDRAWPALETTE_INT { + LPVOID lpVtbl; + LPDDRAWI_DDRAWPALETTE_LCL lpLcl; + LPDDRAWI_DDRAWPALETTE_INT lpLink; + DWORD dwIntRefCnt; +} DDRAWI_DDRAWPALETTE_INT; + +typedef struct _DDRAWI_DDRAWPALETTE_GBL { + DWORD dwRefCnt; + DWORD dwFlags; + LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl; + DWORD dwProcessId; + LPPALETTEENTRY lpColorTable; + union { + ULONG_PTR dwReserved1; /* for display driver use */ + HPALETTE hHELGDIPalette; + } DUMMYUNIONNAME1; + /* DirectX 5.0 */ + DWORD dwDriverReserved; + DWORD dwContentsStamp; + /* DirectX 6.0 */ + DWORD dwSaveStamp; + /* DirectX 7.0 */ + DWORD dwHandle; +} DDRAWI_DDRAWPALETTE_GBL; + +#define DDRAWIPAL_256 0x00000001 +#define DDRAWIPAL_16 0x00000002 +#define DDRAWIPAL_GDI 0x00000004 +#define DDRAWIPAL_STORED_8 0x00000008 +#define DDRAWIPAL_STORED_16 0x00000010 +#define DDRAWIPAL_STORED_24 0x00000020 +#define DDRAWIPAL_EXCLUSIVE 0x00000040 +#define DDRAWIPAL_INHEL 0x00000080 +#define DDRAWIPAL_DIRTY 0x00000100 +#define DDRAWIPAL_ALLOW256 0x00000200 +#define DDRAWIPAL_4 0x00000400 +#define DDRAWIPAL_2 0x00000800 +#define DDRAWIPAL_STORED_8INDEX 0x00001000 +#define DDRAWIPAL_ALPHA 0x00002000 + +typedef struct _DDRAWI_DDRAWPALETTE_LCL { + DWORD lpPalMore; + LPDDRAWI_DDRAWPALETTE_GBL lpGbl; + ULONG_PTR dwUnused0; + DWORD dwLocalRefCnt; + IUnknown * pUnkOuter; + LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl; + ULONG_PTR dwReserved1; + /* DirectX 6.0 */ + ULONG_PTR dwDDRAWReserved1; + ULONG_PTR dwDDRAWReserved2; + ULONG_PTR dwDDRAWReserved3; +} DDRAWI_DDRAWPALETTE_LCL; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __DDRAWI_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddstream.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddstream.h new file mode 100644 index 0000000..ab7cd55 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddstream.h @@ -0,0 +1,444 @@ +/*** Autogenerated by WIDL 2.18 from ddstream.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __ddstream_h__ +#define __ddstream_h__ + +/* Forward declarations */ + +#ifndef __IDirectDrawMediaStream_FWD_DEFINED__ +#define __IDirectDrawMediaStream_FWD_DEFINED__ +typedef interface IDirectDrawMediaStream IDirectDrawMediaStream; +#ifdef __cplusplus +interface IDirectDrawMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawStreamSample_FWD_DEFINED__ +#define __IDirectDrawStreamSample_FWD_DEFINED__ +typedef interface IDirectDrawStreamSample IDirectDrawStreamSample; +#ifdef __cplusplus +interface IDirectDrawStreamSample; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __DDRAW_INCLUDED__ +typedef void *LPDDSURFACEDESC; +typedef struct tDDSURFACEDESC DDSURFACEDESC; +#ifndef __IDirectDraw_FWD_DEFINED__ +#define __IDirectDraw_FWD_DEFINED__ +typedef interface IDirectDraw IDirectDraw; +#ifdef __cplusplus +interface IDirectDraw; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawSurface_FWD_DEFINED__ +#define __IDirectDrawSurface_FWD_DEFINED__ +typedef interface IDirectDrawSurface IDirectDrawSurface; +#ifdef __cplusplus +interface IDirectDrawSurface; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawPalette_FWD_DEFINED__ +#define __IDirectDrawPalette_FWD_DEFINED__ +typedef interface IDirectDrawPalette IDirectDrawPalette; +#ifdef __cplusplus +interface IDirectDrawPalette; +#endif /* __cplusplus */ +#endif + +#endif +#include +enum { + DDSFF_PROGRESSIVERENDER = 0x1 +}; +#ifndef __IDirectDrawMediaStream_FWD_DEFINED__ +#define __IDirectDrawMediaStream_FWD_DEFINED__ +typedef interface IDirectDrawMediaStream IDirectDrawMediaStream; +#ifdef __cplusplus +interface IDirectDrawMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectDrawStreamSample_FWD_DEFINED__ +#define __IDirectDrawStreamSample_FWD_DEFINED__ +typedef interface IDirectDrawStreamSample IDirectDrawStreamSample; +#ifdef __cplusplus +interface IDirectDrawStreamSample; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IDirectDrawMediaStream interface + */ +#ifndef __IDirectDrawMediaStream_INTERFACE_DEFINED__ +#define __IDirectDrawMediaStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectDrawMediaStream, 0xf4104fce, 0x9a70, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f4104fce-9a70-11d0-8fde-00c04fd9189d") +IDirectDrawMediaStream : public IMediaStream +{ + virtual HRESULT STDMETHODCALLTYPE GetFormat( + DDSURFACEDESC *pDDSDCurrent, + IDirectDrawPalette **ppDirectDrawPalette, + DDSURFACEDESC *pDDSDDesired, + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFormat( + const DDSURFACEDESC *pDDSurfaceDesc, + IDirectDrawPalette *pDirectDrawPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDirectDraw( + IDirectDraw **ppDirectDraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDirectDraw( + IDirectDraw *pDirectDraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSample( + IDirectDrawSurface *pSurface, + const RECT *pRect, + DWORD dwFlags, + IDirectDrawStreamSample **ppSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimePerFrame( + STREAM_TIME *pFrameTime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectDrawMediaStream, 0xf4104fce, 0x9a70, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IDirectDrawMediaStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectDrawMediaStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectDrawMediaStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectDrawMediaStream *This); + + /*** IMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)( + IDirectDrawMediaStream *This, + IMultiMediaStream **ppMultiMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IDirectDrawMediaStream *This, + MSPID *pPurposeId, + STREAM_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *SetSameFormat)( + IDirectDrawMediaStream *This, + IMediaStream *pStreamThatHasDesiredFormat, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *AllocateSample)( + IDirectDrawMediaStream *This, + DWORD dwFlags, + IStreamSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *CreateSharedSample)( + IDirectDrawMediaStream *This, + IStreamSample *pExistingSample, + DWORD dwFlags, + IStreamSample **ppNewSample); + + HRESULT (STDMETHODCALLTYPE *SendEndOfStream)( + IDirectDrawMediaStream *This, + DWORD dwFlags); + + /*** IDirectDrawMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFormat)( + IDirectDrawMediaStream *This, + DDSURFACEDESC *pDDSDCurrent, + IDirectDrawPalette **ppDirectDrawPalette, + DDSURFACEDESC *pDDSDDesired, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetFormat)( + IDirectDrawMediaStream *This, + const DDSURFACEDESC *pDDSurfaceDesc, + IDirectDrawPalette *pDirectDrawPalette); + + HRESULT (STDMETHODCALLTYPE *GetDirectDraw)( + IDirectDrawMediaStream *This, + IDirectDraw **ppDirectDraw); + + HRESULT (STDMETHODCALLTYPE *SetDirectDraw)( + IDirectDrawMediaStream *This, + IDirectDraw *pDirectDraw); + + HRESULT (STDMETHODCALLTYPE *CreateSample)( + IDirectDrawMediaStream *This, + IDirectDrawSurface *pSurface, + const RECT *pRect, + DWORD dwFlags, + IDirectDrawStreamSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *GetTimePerFrame)( + IDirectDrawMediaStream *This, + STREAM_TIME *pFrameTime); + + END_INTERFACE +} IDirectDrawMediaStreamVtbl; + +interface IDirectDrawMediaStream { + CONST_VTBL IDirectDrawMediaStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectDrawMediaStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectDrawMediaStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectDrawMediaStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaStream methods ***/ +#define IDirectDrawMediaStream_GetMultiMediaStream(This,ppMultiMediaStream) (This)->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream) +#define IDirectDrawMediaStream_GetInformation(This,pPurposeId,pType) (This)->lpVtbl->GetInformation(This,pPurposeId,pType) +#define IDirectDrawMediaStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) (This)->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) +#define IDirectDrawMediaStream_AllocateSample(This,dwFlags,ppSample) (This)->lpVtbl->AllocateSample(This,dwFlags,ppSample) +#define IDirectDrawMediaStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) (This)->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) +#define IDirectDrawMediaStream_SendEndOfStream(This,dwFlags) (This)->lpVtbl->SendEndOfStream(This,dwFlags) +/*** IDirectDrawMediaStream methods ***/ +#define IDirectDrawMediaStream_GetFormat(This,pDDSDCurrent,ppDirectDrawPalette,pDDSDDesired,pdwFlags) (This)->lpVtbl->GetFormat(This,pDDSDCurrent,ppDirectDrawPalette,pDDSDDesired,pdwFlags) +#define IDirectDrawMediaStream_SetFormat(This,pDDSurfaceDesc,pDirectDrawPalette) (This)->lpVtbl->SetFormat(This,pDDSurfaceDesc,pDirectDrawPalette) +#define IDirectDrawMediaStream_GetDirectDraw(This,ppDirectDraw) (This)->lpVtbl->GetDirectDraw(This,ppDirectDraw) +#define IDirectDrawMediaStream_SetDirectDraw(This,pDirectDraw) (This)->lpVtbl->SetDirectDraw(This,pDirectDraw) +#define IDirectDrawMediaStream_CreateSample(This,pSurface,pRect,dwFlags,ppSample) (This)->lpVtbl->CreateSample(This,pSurface,pRect,dwFlags,ppSample) +#define IDirectDrawMediaStream_GetTimePerFrame(This,pFrameTime) (This)->lpVtbl->GetTimePerFrame(This,pFrameTime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaStream_QueryInterface(IDirectDrawMediaStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectDrawMediaStream_AddRef(IDirectDrawMediaStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectDrawMediaStream_Release(IDirectDrawMediaStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaStream methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaStream_GetMultiMediaStream(IDirectDrawMediaStream* This,IMultiMediaStream **ppMultiMediaStream) { + return This->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_GetInformation(IDirectDrawMediaStream* This,MSPID *pPurposeId,STREAM_TYPE *pType) { + return This->lpVtbl->GetInformation(This,pPurposeId,pType); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_SetSameFormat(IDirectDrawMediaStream* This,IMediaStream *pStreamThatHasDesiredFormat,DWORD dwFlags) { + return This->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_AllocateSample(IDirectDrawMediaStream* This,DWORD dwFlags,IStreamSample **ppSample) { + return This->lpVtbl->AllocateSample(This,dwFlags,ppSample); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_CreateSharedSample(IDirectDrawMediaStream* This,IStreamSample *pExistingSample,DWORD dwFlags,IStreamSample **ppNewSample) { + return This->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_SendEndOfStream(IDirectDrawMediaStream* This,DWORD dwFlags) { + return This->lpVtbl->SendEndOfStream(This,dwFlags); +} +/*** IDirectDrawMediaStream methods ***/ +static FORCEINLINE HRESULT IDirectDrawMediaStream_GetFormat(IDirectDrawMediaStream* This,DDSURFACEDESC *pDDSDCurrent,IDirectDrawPalette **ppDirectDrawPalette,DDSURFACEDESC *pDDSDDesired,DWORD *pdwFlags) { + return This->lpVtbl->GetFormat(This,pDDSDCurrent,ppDirectDrawPalette,pDDSDDesired,pdwFlags); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_SetFormat(IDirectDrawMediaStream* This,const DDSURFACEDESC *pDDSurfaceDesc,IDirectDrawPalette *pDirectDrawPalette) { + return This->lpVtbl->SetFormat(This,pDDSurfaceDesc,pDirectDrawPalette); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_GetDirectDraw(IDirectDrawMediaStream* This,IDirectDraw **ppDirectDraw) { + return This->lpVtbl->GetDirectDraw(This,ppDirectDraw); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_SetDirectDraw(IDirectDrawMediaStream* This,IDirectDraw *pDirectDraw) { + return This->lpVtbl->SetDirectDraw(This,pDirectDraw); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_CreateSample(IDirectDrawMediaStream* This,IDirectDrawSurface *pSurface,const RECT *pRect,DWORD dwFlags,IDirectDrawStreamSample **ppSample) { + return This->lpVtbl->CreateSample(This,pSurface,pRect,dwFlags,ppSample); +} +static FORCEINLINE HRESULT IDirectDrawMediaStream_GetTimePerFrame(IDirectDrawMediaStream* This,STREAM_TIME *pFrameTime) { + return This->lpVtbl->GetTimePerFrame(This,pFrameTime); +} +#endif +#endif + +#endif + + +#endif /* __IDirectDrawMediaStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectDrawStreamSample interface + */ +#ifndef __IDirectDrawStreamSample_INTERFACE_DEFINED__ +#define __IDirectDrawStreamSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectDrawStreamSample, 0xf4104fcf, 0x9a70, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f4104fcf-9a70-11d0-8fde-00c04fd9189d") +IDirectDrawStreamSample : public IStreamSample +{ + virtual HRESULT STDMETHODCALLTYPE GetSurface( + IDirectDrawSurface **ppDirectDrawSurface, + RECT *pRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRect( + const RECT *pRect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectDrawStreamSample, 0xf4104fcf, 0x9a70, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IDirectDrawStreamSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectDrawStreamSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectDrawStreamSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectDrawStreamSample *This); + + /*** IStreamSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IDirectDrawStreamSample *This, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetSampleTimes)( + IDirectDrawStreamSample *This, + STREAM_TIME *pStartTime, + STREAM_TIME *pEndTime, + STREAM_TIME *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *SetSampleTimes)( + IDirectDrawStreamSample *This, + const STREAM_TIME *pStartTime, + const STREAM_TIME *pEndTime); + + HRESULT (STDMETHODCALLTYPE *Update)( + IDirectDrawStreamSample *This, + DWORD dwFlags, + HANDLE hEvent, + PAPCFUNC pfnAPC, + DWORD dwAPCData); + + HRESULT (STDMETHODCALLTYPE *CompletionStatus)( + IDirectDrawStreamSample *This, + DWORD dwFlags, + DWORD dwMilliseconds); + + /*** IDirectDrawStreamSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSurface)( + IDirectDrawStreamSample *This, + IDirectDrawSurface **ppDirectDrawSurface, + RECT *pRect); + + HRESULT (STDMETHODCALLTYPE *SetRect)( + IDirectDrawStreamSample *This, + const RECT *pRect); + + END_INTERFACE +} IDirectDrawStreamSampleVtbl; + +interface IDirectDrawStreamSample { + CONST_VTBL IDirectDrawStreamSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectDrawStreamSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectDrawStreamSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectDrawStreamSample_Release(This) (This)->lpVtbl->Release(This) +/*** IStreamSample methods ***/ +#define IDirectDrawStreamSample_GetMediaStream(This,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,ppMediaStream) +#define IDirectDrawStreamSample_GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) (This)->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) +#define IDirectDrawStreamSample_SetSampleTimes(This,pStartTime,pEndTime) (This)->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime) +#define IDirectDrawStreamSample_Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) (This)->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) +#define IDirectDrawStreamSample_CompletionStatus(This,dwFlags,dwMilliseconds) (This)->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds) +/*** IDirectDrawStreamSample methods ***/ +#define IDirectDrawStreamSample_GetSurface(This,ppDirectDrawSurface,pRect) (This)->lpVtbl->GetSurface(This,ppDirectDrawSurface,pRect) +#define IDirectDrawStreamSample_SetRect(This,pRect) (This)->lpVtbl->SetRect(This,pRect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectDrawStreamSample_QueryInterface(IDirectDrawStreamSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectDrawStreamSample_AddRef(IDirectDrawStreamSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectDrawStreamSample_Release(IDirectDrawStreamSample* This) { + return This->lpVtbl->Release(This); +} +/*** IStreamSample methods ***/ +static FORCEINLINE HRESULT IDirectDrawStreamSample_GetMediaStream(IDirectDrawStreamSample* This,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,ppMediaStream); +} +static FORCEINLINE HRESULT IDirectDrawStreamSample_GetSampleTimes(IDirectDrawStreamSample* This,STREAM_TIME *pStartTime,STREAM_TIME *pEndTime,STREAM_TIME *pCurrentTime) { + return This->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime); +} +static FORCEINLINE HRESULT IDirectDrawStreamSample_SetSampleTimes(IDirectDrawStreamSample* This,const STREAM_TIME *pStartTime,const STREAM_TIME *pEndTime) { + return This->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime); +} +static FORCEINLINE HRESULT IDirectDrawStreamSample_Update(IDirectDrawStreamSample* This,DWORD dwFlags,HANDLE hEvent,PAPCFUNC pfnAPC,DWORD dwAPCData) { + return This->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData); +} +static FORCEINLINE HRESULT IDirectDrawStreamSample_CompletionStatus(IDirectDrawStreamSample* This,DWORD dwFlags,DWORD dwMilliseconds) { + return This->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds); +} +/*** IDirectDrawStreamSample methods ***/ +static FORCEINLINE HRESULT IDirectDrawStreamSample_GetSurface(IDirectDrawStreamSample* This,IDirectDrawSurface **ppDirectDrawSurface,RECT *pRect) { + return This->lpVtbl->GetSurface(This,ppDirectDrawSurface,pRect); +} +static FORCEINLINE HRESULT IDirectDrawStreamSample_SetRect(IDirectDrawStreamSample* This,const RECT *pRect) { + return This->lpVtbl->SetRect(This,pRect); +} +#endif +#endif + +#endif + + +#endif /* __IDirectDrawStreamSample_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __ddstream_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddstream.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddstream.idl new file mode 100644 index 0000000..e2ad466 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ddstream.idl @@ -0,0 +1,88 @@ +/* + * Copyright 2004 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "mmstream.idl"; + +cpp_quote("#ifndef __DDRAW_INCLUDED__") +typedef void * LPDDSURFACEDESC; +typedef struct tDDSURFACEDESC DDSURFACEDESC; +interface IDirectDraw; +interface IDirectDrawSurface; +interface IDirectDrawPalette; +cpp_quote("#endif") +cpp_quote("#include ") + +enum { + DDSFF_PROGRESSIVERENDER = 0x00000001 +}; + +interface IDirectDrawMediaStream; +interface IDirectDrawStreamSample; + +[ +object, +local, +uuid(F4104FCE-9A70-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IDirectDrawMediaStream : IMediaStream +{ + HRESULT GetFormat( + [out] DDSURFACEDESC *pDDSDCurrent, + [out] IDirectDrawPalette **ppDirectDrawPalette, + [out] DDSURFACEDESC *pDDSDDesired, + [out] DWORD *pdwFlags); + + HRESULT SetFormat( + [in] const DDSURFACEDESC *pDDSurfaceDesc, + [in] IDirectDrawPalette *pDirectDrawPalette); + + HRESULT GetDirectDraw( + [out] IDirectDraw **ppDirectDraw); + + HRESULT SetDirectDraw( + [in] IDirectDraw *pDirectDraw); + + HRESULT CreateSample( + [in] IDirectDrawSurface *pSurface, + [in] const RECT *pRect, + [in] DWORD dwFlags, + [out] IDirectDrawStreamSample **ppSample); + + HRESULT GetTimePerFrame( + [out] STREAM_TIME *pFrameTime); +} + + +[ +object, +local, +uuid(F4104FCF-9A70-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IDirectDrawStreamSample : IStreamSample +{ + HRESULT GetSurface( + [out] IDirectDrawSurface ** ppDirectDrawSurface, + [out] RECT * pRect); + + HRESULT SetRect( + [in] const RECT * pRect); + +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/delayloadhandler.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/delayloadhandler.h new file mode 100644 index 0000000..06b6589 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/delayloadhandler.h @@ -0,0 +1,55 @@ +/* + * Copyright 2013 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DELAYLOADHANDLER_H +#define __WINE_DELAYLOADHANDLER_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define DELAYLOAD_GPA_FAILURE 4 + +typedef struct _DELAYLOAD_PROC_DESCRIPTOR +{ + ULONG ImportDescribedByName; + union { + LPCSTR Name; + ULONG Ordinal; + } Description; +} DELAYLOAD_PROC_DESCRIPTOR, *PDELAYLOAD_PROC_DESCRIPTOR; + +typedef struct _DELAYLOAD_INFO +{ + ULONG Size; + PCIMAGE_DELAYLOAD_DESCRIPTOR DelayloadDescriptor; + PIMAGE_THUNK_DATA ThunkAddress; + LPCSTR TargetDllName; + DELAYLOAD_PROC_DESCRIPTOR TargetApiDescriptor; + PVOID TargetModuleBase; + PVOID Unused; + ULONG LastError; +} DELAYLOAD_INFO, *PDELAYLOAD_INFO; + +typedef PVOID (WINAPI *PDELAYLOAD_FAILURE_DLL_CALLBACK)(ULONG, PDELAYLOAD_INFO); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DELAYLOADHANDLER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devenum.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devenum.idl new file mode 100644 index 0000000..f7eaf9a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devenum.idl @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2002 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +import "oaidl.idl"; + +cpp_quote("#define CDEF_CLASS_DEFAULT 0x0001") +cpp_quote("#define CDEF_BYPASS_CLASS_MANAGER 0x0002") +cpp_quote("#define CDEF_CLASS_LEGACY 0x0004") +cpp_quote("#define CDEF_MERIT_ABOVE_DO_NOT_USE 0x0008") + +[ + object, + uuid(29840822-5B84-11D0-BD3B-00A0C911CE86), + pointer_default(unique) +] +interface ICreateDevEnum : IUnknown +{ + HRESULT CreateClassEnumerator( + [in] REFCLSID clsidDeviceClass, + [out] IEnumMoniker ** ppEnumMoniker, + [in] DWORD dwFlags); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devguid.h new file mode 100644 index 0000000..d7b2a87 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devguid.h @@ -0,0 +1,106 @@ +/* + * Defines GUIDs for device classes + * + * Copyright (C) 2004 CodeWeavers (Aric Stewart) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +DEFINE_GUID( GUID_DEVCLASS_1394, + 0x6BDD1FC1, 0x810F, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F ); +DEFINE_GUID( GUID_DEVCLASS_ADAPTER, + 0x4D36E964, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_APMSUPPORT, + 0xD45B1C18, 0xC8FA, 0x11D1, 0x9F, 0x77, 0x00, 0x00, 0xF8, 0x05, 0xF5, 0x30 ); +DEFINE_GUID( GUID_DEVCLASS_BATTERY, + 0x72631E54, 0x78A4, 0x11D0, 0xBC, 0xF7, 0x00, 0xAA, 0x00, 0xB7, 0xB3, 0x2A ); +DEFINE_GUID( GUID_DEVCLASS_CDROM, + 0x4D36E965, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_COMPUTER, + 0x4D36E966, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_DECODER, + 0x6BDD1FC2, 0x810F, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F ); +DEFINE_GUID( GUID_DEVCLASS_DISKDRIVE, + 0x4D36E967, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_DISPLAY, + 0x4D36E968, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_FDC, + 0x4D36E969, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_FLOPPYDISK, + 0x4D36E980, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_GPS, + 0x6BDD1FC3, 0x810F, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F ); +DEFINE_GUID( GUID_DEVCLASS_HDC, + 0x4D36E96A, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_HIDCLASS, + 0x745A17A0, 0x74D3, 0x11D0, 0xB6, 0xFE, 0x00, 0xA0, 0xC9, 0x0F, 0x57, 0xDA ); +DEFINE_GUID( GUID_DEVCLASS_IMAGE, + 0x6BDD1FC6, 0x810F, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F ); +DEFINE_GUID( GUID_DEVCLASS_INFRARED, + 0x6BDD1FC5, 0x810F, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F ); +DEFINE_GUID( GUID_DEVCLASS_KEYBOARD, + 0x4D36E96B, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_LEGACYDRIVER, + 0x8ECC055D, 0x047F, 0x11D1, 0xA5, 0x37, 0x00, 0x00, 0xF8, 0x75, 0x3E, 0xD1 ); +DEFINE_GUID( GUID_DEVCLASS_MEDIA, + 0x4D36E96C, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_MEDIUM_CHANGER, + 0xCE5939AE, 0xEBDE, 0x11D0, 0xB1, 0x81, 0x00, 0x00, 0xF8, 0x75, 0x3E, 0xC4 ); +DEFINE_GUID( GUID_DEVCLASS_MODEM, + 0x4D36E96D, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_MONITOR, + 0x4D36E96E, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_MOUSE, + 0x4D36E96F, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_MTD, + 0x4D36E970, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_MULTIFUNCTION, + 0x4D36E971, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_MULTIPORTSERIAL, + 0x50906CB8, 0xBA12, 0x11D1, 0xBF, 0x5D, 0x00, 0x00, 0xF8, 0x05, 0xF5, 0x30 ); +DEFINE_GUID( GUID_DEVCLASS_NET, + 0x4D36E972, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_NETCLIENT, + 0x4D36E973, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_NETSERVICE, + 0x4D36E974, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_NETTRANS, + 0x4D36E975, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_NODRIVER, + 0x4D36E976, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_PCMCIA, + 0x4D36E977, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_PORTS, + 0x4D36E978, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_PRINTER, + 0x4D36E979, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_PRINTERUPGRADE, + 0x4D36E97A, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_SCSIADAPTER, + 0x4D36E97B, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_SMARTCARDREADER, + 0x50DD5230, 0xBA8A, 0x11D1, 0xBF, 0x5D, 0x00, 0x00, 0xF8, 0x05, 0xF5, 0x30 ); +DEFINE_GUID( GUID_DEVCLASS_SOUND, + 0x4D36E97C, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_SYSTEM, + 0x4D36E97D, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_TAPEDRIVE, + 0x6D807884, 0x7D21, 0x11CF, 0x80, 0x1C, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_UNKNOWN, + 0x4D36E97E, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 ); +DEFINE_GUID( GUID_DEVCLASS_USB, + 0x36FC9E60, 0xC465, 0x11CF, 0x80, 0x56, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00 ); +DEFINE_GUID( GUID_DEVCLASS_VOLUME, + 0x71A27CDD, 0x812A, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F ); diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devicetopology.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devicetopology.h new file mode 100644 index 0000000..9a43f98 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devicetopology.h @@ -0,0 +1,3137 @@ +/*** Autogenerated by WIDL 2.18 from devicetopology.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __devicetopology_h__ +#define __devicetopology_h__ + +/* Forward declarations */ + +#ifndef __IKsControl_FWD_DEFINED__ +#define __IKsControl_FWD_DEFINED__ +typedef interface IKsControl IKsControl; +#ifdef __cplusplus +interface IKsControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IPerChannelDbLevel_FWD_DEFINED__ +#define __IPerChannelDbLevel_FWD_DEFINED__ +typedef interface IPerChannelDbLevel IPerChannelDbLevel; +#ifdef __cplusplus +interface IPerChannelDbLevel; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioVolumeLevel_FWD_DEFINED__ +#define __IAudioVolumeLevel_FWD_DEFINED__ +typedef interface IAudioVolumeLevel IAudioVolumeLevel; +#ifdef __cplusplus +interface IAudioVolumeLevel; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioChannelConfig_FWD_DEFINED__ +#define __IAudioChannelConfig_FWD_DEFINED__ +typedef interface IAudioChannelConfig IAudioChannelConfig; +#ifdef __cplusplus +interface IAudioChannelConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioLoudness_FWD_DEFINED__ +#define __IAudioLoudness_FWD_DEFINED__ +typedef interface IAudioLoudness IAudioLoudness; +#ifdef __cplusplus +interface IAudioLoudness; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioInputSelector_FWD_DEFINED__ +#define __IAudioInputSelector_FWD_DEFINED__ +typedef interface IAudioInputSelector IAudioInputSelector; +#ifdef __cplusplus +interface IAudioInputSelector; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioOutputSelector_FWD_DEFINED__ +#define __IAudioOutputSelector_FWD_DEFINED__ +typedef interface IAudioOutputSelector IAudioOutputSelector; +#ifdef __cplusplus +interface IAudioOutputSelector; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioMute_FWD_DEFINED__ +#define __IAudioMute_FWD_DEFINED__ +typedef interface IAudioMute IAudioMute; +#ifdef __cplusplus +interface IAudioMute; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioBass_FWD_DEFINED__ +#define __IAudioBass_FWD_DEFINED__ +typedef interface IAudioBass IAudioBass; +#ifdef __cplusplus +interface IAudioBass; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioMidRange_FWD_DEFINED__ +#define __IAudioMidRange_FWD_DEFINED__ +typedef interface IAudioMidRange IAudioMidRange; +#ifdef __cplusplus +interface IAudioMidRange; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioTreble_FWD_DEFINED__ +#define __IAudioTreble_FWD_DEFINED__ +typedef interface IAudioTreble IAudioTreble; +#ifdef __cplusplus +interface IAudioTreble; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioAutoGainControl_FWD_DEFINED__ +#define __IAudioAutoGainControl_FWD_DEFINED__ +typedef interface IAudioAutoGainControl IAudioAutoGainControl; +#ifdef __cplusplus +interface IAudioAutoGainControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioPeakMeter_FWD_DEFINED__ +#define __IAudioPeakMeter_FWD_DEFINED__ +typedef interface IAudioPeakMeter IAudioPeakMeter; +#ifdef __cplusplus +interface IAudioPeakMeter; +#endif /* __cplusplus */ +#endif + +#ifndef __IDeviceSpecificProperty_FWD_DEFINED__ +#define __IDeviceSpecificProperty_FWD_DEFINED__ +typedef interface IDeviceSpecificProperty IDeviceSpecificProperty; +#ifdef __cplusplus +interface IDeviceSpecificProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __IKsFormatSupport_FWD_DEFINED__ +#define __IKsFormatSupport_FWD_DEFINED__ +typedef interface IKsFormatSupport IKsFormatSupport; +#ifdef __cplusplus +interface IKsFormatSupport; +#endif /* __cplusplus */ +#endif + +#ifndef __IKsJackDescription_FWD_DEFINED__ +#define __IKsJackDescription_FWD_DEFINED__ +typedef interface IKsJackDescription IKsJackDescription; +#ifdef __cplusplus +interface IKsJackDescription; +#endif /* __cplusplus */ +#endif + +#ifndef __IKsJackDescription2_FWD_DEFINED__ +#define __IKsJackDescription2_FWD_DEFINED__ +typedef interface IKsJackDescription2 IKsJackDescription2; +#ifdef __cplusplus +interface IKsJackDescription2; +#endif /* __cplusplus */ +#endif + +#ifndef __IKsJackSinkInformation_FWD_DEFINED__ +#define __IKsJackSinkInformation_FWD_DEFINED__ +typedef interface IKsJackSinkInformation IKsJackSinkInformation; +#ifdef __cplusplus +interface IKsJackSinkInformation; +#endif /* __cplusplus */ +#endif + +#ifndef __IPartsList_FWD_DEFINED__ +#define __IPartsList_FWD_DEFINED__ +typedef interface IPartsList IPartsList; +#ifdef __cplusplus +interface IPartsList; +#endif /* __cplusplus */ +#endif + +#ifndef __IPart_FWD_DEFINED__ +#define __IPart_FWD_DEFINED__ +typedef interface IPart IPart; +#ifdef __cplusplus +interface IPart; +#endif /* __cplusplus */ +#endif + +#ifndef __IConnector_FWD_DEFINED__ +#define __IConnector_FWD_DEFINED__ +typedef interface IConnector IConnector; +#ifdef __cplusplus +interface IConnector; +#endif /* __cplusplus */ +#endif + +#ifndef __ISubUnit_FWD_DEFINED__ +#define __ISubUnit_FWD_DEFINED__ +typedef interface ISubUnit ISubUnit; +#ifdef __cplusplus +interface ISubUnit; +#endif /* __cplusplus */ +#endif + +#ifndef __IControlInterface_FWD_DEFINED__ +#define __IControlInterface_FWD_DEFINED__ +typedef interface IControlInterface IControlInterface; +#ifdef __cplusplus +interface IControlInterface; +#endif /* __cplusplus */ +#endif + +#ifndef __IControlChangeNotify_FWD_DEFINED__ +#define __IControlChangeNotify_FWD_DEFINED__ +typedef interface IControlChangeNotify IControlChangeNotify; +#ifdef __cplusplus +interface IControlChangeNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IDeviceTopology_FWD_DEFINED__ +#define __IDeviceTopology_FWD_DEFINED__ +typedef interface IDeviceTopology IDeviceTopology; +#ifdef __cplusplus +interface IDeviceTopology; +#endif /* __cplusplus */ +#endif + +#ifndef __DeviceTopology_FWD_DEFINED__ +#define __DeviceTopology_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DeviceTopology DeviceTopology; +#else +typedef struct DeviceTopology DeviceTopology; +#endif /* defined __cplusplus */ +#endif /* defined __DeviceTopology_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IPart_FWD_DEFINED__ +#define __IPart_FWD_DEFINED__ +typedef interface IPart IPart; +#ifdef __cplusplus +interface IPart; +#endif /* __cplusplus */ +#endif + +#ifndef __IControlInterface_FWD_DEFINED__ +#define __IControlInterface_FWD_DEFINED__ +typedef interface IControlInterface IControlInterface; +#ifdef __cplusplus +interface IControlInterface; +#endif /* __cplusplus */ +#endif + +#ifndef __IDeviceTopology_FWD_DEFINED__ +#define __IDeviceTopology_FWD_DEFINED__ +typedef interface IDeviceTopology IDeviceTopology; +#ifdef __cplusplus +interface IDeviceTopology; +#endif /* __cplusplus */ +#endif + +#ifndef __IControlChangeNotify_FWD_DEFINED__ +#define __IControlChangeNotify_FWD_DEFINED__ +typedef interface IControlChangeNotify IControlChangeNotify; +#ifdef __cplusplus +interface IControlChangeNotify; +#endif /* __cplusplus */ +#endif + +#ifndef E_NOTFOUND +#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND) +#endif +#define DEVTOPO_HARDWARE_INITIATED_EVENTCONTEXT 0x64726148 /* 'draH' */ +DEFINE_GUID(EVENTCONTEXT_VOLUMESLIDER, 0xe2c2e9de, 0x09b1, 0x4b04,0x84,0xe5, 0x07, 0x93, 0x12, 0x25, 0xee, 0x04); +#define _IKsControl_ +#include +#include +#ifndef _KS_ +typedef struct __WIDL_devicetopology_generated_name_00000011 { + ULONG FormatSize; + ULONG Flags; + ULONG SampleSize; + ULONG Reserved; + GUID MajorFormat; + GUID SubFormat; + GUID Specifier; +} KSDATAFORMAT; +typedef KSDATAFORMAT *PKSDATAFORMAT; +typedef struct __WIDL_devicetopology_generated_name_00000012 { + __C89_NAMELESS union { + __C89_NAMELESS struct { + GUID Set; + ULONG Id; + ULONG Flags; + } __C89_NAMELESSSTRUCTNAME; + LONGLONG Alignment; + } __C89_NAMELESSUNIONNAME; +} KSIDENTIFIER; +typedef KSIDENTIFIER KSPROPERTY; +typedef KSIDENTIFIER *PKSPROPERTY; +typedef KSIDENTIFIER KSMETHOD; +typedef KSIDENTIFIER *PKSMETHOD; +typedef KSIDENTIFIER KSEVENT; +typedef KSIDENTIFIER *PKSEVENT; +typedef enum __WIDL_devicetopology_generated_name_00000013 { + eConnTypeUnknown = 0, + eConnType3Point5mm = 1, + eConnTypeQuarter = 2, + eConnTypeAtapiInternal = 3, + eConnTypeRCA = 4, + eConnTypeOptical = 5, + eConnTypeOtherDigital = 6, + eConnTypeOtherAnalog = 7, + eConnTypeMultichannelAnalogDIN = 8, + eConnTypeXlrProfessional = 9, + eConnTypeRJ11Modem = 10, + eConnTypeCombination = 11 +} EPcxConnectionType; +typedef enum __WIDL_devicetopology_generated_name_00000014 { + eGeoLocRear = 1, + eGeoLocFront = 2, + eGeoLocLeft = 3, + eGeoLocRight = 4, + eGeoLocTop = 5, + eGeoLocBottom = 6, + eGeoLocRearPanel = 7, + eGeoLocRiser = 8, + eGeoLocInsideMobileLid = 9, + eGeoLocDrivebay = 10, + eGeoLocHDMI = 11, + eGeoLocOutsideMobileLid = 12, + eGeoLocATAPI = 13, + eGeoLocReserved5 = 14, + eGeoLocReserved6 = 15 +} EPcxGeoLocation; +typedef enum __WIDL_devicetopology_generated_name_00000015 { + eGenLocPrimaryBox = 0, + eGenLocInternal = 1, + eGenLocSeparate = 2, + eGenLocOther = 3 +} EPcxGenLocation; +typedef enum __WIDL_devicetopology_generated_name_00000016 { + ePortConnJack = 0, + ePortConnIntegratedDevice = 1, + ePortConnBothIntegratedAndJack = 2, + ePortConnUnknown = 3 +} EPxcPortConnection; +typedef struct __WIDL_devicetopology_generated_name_00000017 { + DWORD ChannelMapping; + COLORREF Color; + EPcxConnectionType ConnectionType; + EPcxGeoLocation GeoLocation; + EPcxGenLocation GenLocation; + EPxcPortConnection PortConnection; + BOOL IsConnected; +} KSJACK_DESCRIPTION; +typedef KSJACK_DESCRIPTION *PKSJACK_DESCRIPTION; +typedef struct _LUID { + DWORD LowPart; + LONG HighPart; +} LUID; +typedef struct _LUID *PLUID; +typedef enum __WIDL_devicetopology_generated_name_00000018 { + KSJACK_SINK_CONNECTIONTYPE_HDMI = 0, + KSJACK_SINK_CONNECTIONTYPE_DISPLAYPORT = 1 +} KSJACK_SINK_CONNECTIONTYPE; +typedef struct _tagKSJACK_SINK_INFORMATION { + KSJACK_SINK_CONNECTIONTYPE ConnType; + WORD ManufacturerId; + WORD ProductId; + WORD AudioLatency; + BOOL HDCPCapable; + BOOL AICapable; + UCHAR SinkDescriptionLength; + WCHAR SinkDescription[32]; + LUID PortId; +} KSJACK_SINK_INFORMATION; +typedef struct _tagKSJACK_DESCRIPTION2 { + DWORD DeviceStateInfo; + DWORD JackCapabilities; +} KSJACK_DESCRIPTION2; +typedef struct _tagKSJACK_DESCRIPTION2 *PKSJACK_DESCRIPTION2; +#endif +typedef enum __WIDL_devicetopology_generated_name_00000019 { + In = 0, + Out = 1 +} DataFlow; +typedef enum __WIDL_devicetopology_generated_name_0000001A { + Connector = 0, + Subunit = 1 +} PartType; +typedef enum __WIDL_devicetopology_generated_name_0000001B { + Unknown_Connector = 0, + Physical_Internal = 1, + Physical_External = 2, + Software_IO = 3, + Software_Fixed = 4, + Network = 5 +} ConnectorType; +/***************************************************************************** + * IKsControl interface + */ +#ifndef __IKsControl_INTERFACE_DEFINED__ +#define __IKsControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKsControl, 0x28f54685, 0x06fd, 0x11d2, 0xb2,0x7a, 0x00,0xa0,0xc9,0x22,0x31,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("28f54685-06fd-11d2-b27a-00a0c9223196") +IKsControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE KsProperty( + PKSPROPERTY Property, + ULONG PropertyLength, + void *PropertyData, + ULONG DataLength, + ULONG *BytesReturned) = 0; + + virtual HRESULT STDMETHODCALLTYPE KsMethod( + PKSMETHOD Method, + ULONG MethodLength, + void *MethodData, + ULONG DataLength, + ULONG *BytesReturned) = 0; + + virtual HRESULT STDMETHODCALLTYPE KsEvent( + PKSEVENT Event, + ULONG EventLength, + void *EventData, + ULONG DataLength, + ULONG *BytesReturned) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKsControl, 0x28f54685, 0x06fd, 0x11d2, 0xb2,0x7a, 0x00,0xa0,0xc9,0x22,0x31,0x96) +#endif +#else +typedef struct IKsControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKsControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKsControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKsControl *This); + + /*** IKsControl methods ***/ + HRESULT (STDMETHODCALLTYPE *KsProperty)( + IKsControl *This, + PKSPROPERTY Property, + ULONG PropertyLength, + void *PropertyData, + ULONG DataLength, + ULONG *BytesReturned); + + HRESULT (STDMETHODCALLTYPE *KsMethod)( + IKsControl *This, + PKSMETHOD Method, + ULONG MethodLength, + void *MethodData, + ULONG DataLength, + ULONG *BytesReturned); + + HRESULT (STDMETHODCALLTYPE *KsEvent)( + IKsControl *This, + PKSEVENT Event, + ULONG EventLength, + void *EventData, + ULONG DataLength, + ULONG *BytesReturned); + + END_INTERFACE +} IKsControlVtbl; + +interface IKsControl { + CONST_VTBL IKsControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKsControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKsControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKsControl_Release(This) (This)->lpVtbl->Release(This) +/*** IKsControl methods ***/ +#define IKsControl_KsProperty(This,Property,PropertyLength,PropertyData,DataLength,BytesReturned) (This)->lpVtbl->KsProperty(This,Property,PropertyLength,PropertyData,DataLength,BytesReturned) +#define IKsControl_KsMethod(This,Method,MethodLength,MethodData,DataLength,BytesReturned) (This)->lpVtbl->KsMethod(This,Method,MethodLength,MethodData,DataLength,BytesReturned) +#define IKsControl_KsEvent(This,Event,EventLength,EventData,DataLength,BytesReturned) (This)->lpVtbl->KsEvent(This,Event,EventLength,EventData,DataLength,BytesReturned) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKsControl_QueryInterface(IKsControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKsControl_AddRef(IKsControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKsControl_Release(IKsControl* This) { + return This->lpVtbl->Release(This); +} +/*** IKsControl methods ***/ +static FORCEINLINE HRESULT IKsControl_KsProperty(IKsControl* This,PKSPROPERTY Property,ULONG PropertyLength,void *PropertyData,ULONG DataLength,ULONG *BytesReturned) { + return This->lpVtbl->KsProperty(This,Property,PropertyLength,PropertyData,DataLength,BytesReturned); +} +static FORCEINLINE HRESULT IKsControl_KsMethod(IKsControl* This,PKSMETHOD Method,ULONG MethodLength,void *MethodData,ULONG DataLength,ULONG *BytesReturned) { + return This->lpVtbl->KsMethod(This,Method,MethodLength,MethodData,DataLength,BytesReturned); +} +static FORCEINLINE HRESULT IKsControl_KsEvent(IKsControl* This,PKSEVENT Event,ULONG EventLength,void *EventData,ULONG DataLength,ULONG *BytesReturned) { + return This->lpVtbl->KsEvent(This,Event,EventLength,EventData,DataLength,BytesReturned); +} +#endif +#endif + +#endif + + +#endif /* __IKsControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPerChannelDbLevel interface + */ +#ifndef __IPerChannelDbLevel_INTERFACE_DEFINED__ +#define __IPerChannelDbLevel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPerChannelDbLevel, 0xc2f8e001, 0xf205, 0x4bc9, 0x99,0xbc, 0xc1,0x3b,0x1e,0x04,0x8c,0xcb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c2f8e001-f205-4bc9-99bc-c13b1e048ccb") +IPerChannelDbLevel : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetChannelCount( + UINT *pcChannels) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLevelRange( + UINT nChannel, + float *pfMinLevelDB, + float *pfMaxLevelDB, + float *pfStepping) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLevel( + UINT nChannel, + float *pfLevelDB) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLevel( + UINT nChannel, + float fLevelDB, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLevelUniform( + float fLevelDB, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLevelAllChannels( + float *aLevelsDB, + ULONG cChannels, + LPCGUID pguidEventContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPerChannelDbLevel, 0xc2f8e001, 0xf205, 0x4bc9, 0x99,0xbc, 0xc1,0x3b,0x1e,0x04,0x8c,0xcb) +#endif +#else +typedef struct IPerChannelDbLevelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPerChannelDbLevel *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPerChannelDbLevel *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPerChannelDbLevel *This); + + /*** IPerChannelDbLevel methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IPerChannelDbLevel *This, + UINT *pcChannels); + + HRESULT (STDMETHODCALLTYPE *GetLevelRange)( + IPerChannelDbLevel *This, + UINT nChannel, + float *pfMinLevelDB, + float *pfMaxLevelDB, + float *pfStepping); + + HRESULT (STDMETHODCALLTYPE *GetLevel)( + IPerChannelDbLevel *This, + UINT nChannel, + float *pfLevelDB); + + HRESULT (STDMETHODCALLTYPE *SetLevel)( + IPerChannelDbLevel *This, + UINT nChannel, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelUniform)( + IPerChannelDbLevel *This, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelAllChannels)( + IPerChannelDbLevel *This, + float *aLevelsDB, + ULONG cChannels, + LPCGUID pguidEventContext); + + END_INTERFACE +} IPerChannelDbLevelVtbl; + +interface IPerChannelDbLevel { + CONST_VTBL IPerChannelDbLevelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPerChannelDbLevel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPerChannelDbLevel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPerChannelDbLevel_Release(This) (This)->lpVtbl->Release(This) +/*** IPerChannelDbLevel methods ***/ +#define IPerChannelDbLevel_GetChannelCount(This,pcChannels) (This)->lpVtbl->GetChannelCount(This,pcChannels) +#define IPerChannelDbLevel_GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) (This)->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) +#define IPerChannelDbLevel_GetLevel(This,nChannel,pfLevelDB) (This)->lpVtbl->GetLevel(This,nChannel,pfLevelDB) +#define IPerChannelDbLevel_SetLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IPerChannelDbLevel_SetLevelUniform(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext) +#define IPerChannelDbLevel_SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) (This)->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPerChannelDbLevel_QueryInterface(IPerChannelDbLevel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPerChannelDbLevel_AddRef(IPerChannelDbLevel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPerChannelDbLevel_Release(IPerChannelDbLevel* This) { + return This->lpVtbl->Release(This); +} +/*** IPerChannelDbLevel methods ***/ +static FORCEINLINE HRESULT IPerChannelDbLevel_GetChannelCount(IPerChannelDbLevel* This,UINT *pcChannels) { + return This->lpVtbl->GetChannelCount(This,pcChannels); +} +static FORCEINLINE HRESULT IPerChannelDbLevel_GetLevelRange(IPerChannelDbLevel* This,UINT nChannel,float *pfMinLevelDB,float *pfMaxLevelDB,float *pfStepping) { + return This->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping); +} +static FORCEINLINE HRESULT IPerChannelDbLevel_GetLevel(IPerChannelDbLevel* This,UINT nChannel,float *pfLevelDB) { + return This->lpVtbl->GetLevel(This,nChannel,pfLevelDB); +} +static FORCEINLINE HRESULT IPerChannelDbLevel_SetLevel(IPerChannelDbLevel* This,UINT nChannel,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IPerChannelDbLevel_SetLevelUniform(IPerChannelDbLevel* This,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IPerChannelDbLevel_SetLevelAllChannels(IPerChannelDbLevel* This,float *aLevelsDB,ULONG cChannels,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IPerChannelDbLevel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioVolumeLevel interface + */ +#ifndef __IAudioVolumeLevel_INTERFACE_DEFINED__ +#define __IAudioVolumeLevel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioVolumeLevel, 0x7fb7b48f, 0x531d, 0x44a2, 0xbc,0xb3, 0x5a,0xd5,0xa1,0x34,0xb3,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7fb7b48f-531d-44a2-bcb3-5ad5a134b3dc") +IAudioVolumeLevel : public IPerChannelDbLevel +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioVolumeLevel, 0x7fb7b48f, 0x531d, 0x44a2, 0xbc,0xb3, 0x5a,0xd5,0xa1,0x34,0xb3,0xdc) +#endif +#else +typedef struct IAudioVolumeLevelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioVolumeLevel *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioVolumeLevel *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioVolumeLevel *This); + + /*** IPerChannelDbLevel methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioVolumeLevel *This, + UINT *pcChannels); + + HRESULT (STDMETHODCALLTYPE *GetLevelRange)( + IAudioVolumeLevel *This, + UINT nChannel, + float *pfMinLevelDB, + float *pfMaxLevelDB, + float *pfStepping); + + HRESULT (STDMETHODCALLTYPE *GetLevel)( + IAudioVolumeLevel *This, + UINT nChannel, + float *pfLevelDB); + + HRESULT (STDMETHODCALLTYPE *SetLevel)( + IAudioVolumeLevel *This, + UINT nChannel, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelUniform)( + IAudioVolumeLevel *This, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelAllChannels)( + IAudioVolumeLevel *This, + float *aLevelsDB, + ULONG cChannels, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioVolumeLevelVtbl; + +interface IAudioVolumeLevel { + CONST_VTBL IAudioVolumeLevelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioVolumeLevel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioVolumeLevel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioVolumeLevel_Release(This) (This)->lpVtbl->Release(This) +/*** IPerChannelDbLevel methods ***/ +#define IAudioVolumeLevel_GetChannelCount(This,pcChannels) (This)->lpVtbl->GetChannelCount(This,pcChannels) +#define IAudioVolumeLevel_GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) (This)->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) +#define IAudioVolumeLevel_GetLevel(This,nChannel,pfLevelDB) (This)->lpVtbl->GetLevel(This,nChannel,pfLevelDB) +#define IAudioVolumeLevel_SetLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IAudioVolumeLevel_SetLevelUniform(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext) +#define IAudioVolumeLevel_SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) (This)->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioVolumeLevel_QueryInterface(IAudioVolumeLevel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioVolumeLevel_AddRef(IAudioVolumeLevel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioVolumeLevel_Release(IAudioVolumeLevel* This) { + return This->lpVtbl->Release(This); +} +/*** IPerChannelDbLevel methods ***/ +static FORCEINLINE HRESULT IAudioVolumeLevel_GetChannelCount(IAudioVolumeLevel* This,UINT *pcChannels) { + return This->lpVtbl->GetChannelCount(This,pcChannels); +} +static FORCEINLINE HRESULT IAudioVolumeLevel_GetLevelRange(IAudioVolumeLevel* This,UINT nChannel,float *pfMinLevelDB,float *pfMaxLevelDB,float *pfStepping) { + return This->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping); +} +static FORCEINLINE HRESULT IAudioVolumeLevel_GetLevel(IAudioVolumeLevel* This,UINT nChannel,float *pfLevelDB) { + return This->lpVtbl->GetLevel(This,nChannel,pfLevelDB); +} +static FORCEINLINE HRESULT IAudioVolumeLevel_SetLevel(IAudioVolumeLevel* This,UINT nChannel,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioVolumeLevel_SetLevelUniform(IAudioVolumeLevel* This,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioVolumeLevel_SetLevelAllChannels(IAudioVolumeLevel* This,float *aLevelsDB,ULONG cChannels,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioVolumeLevel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioChannelConfig interface + */ +#ifndef __IAudioChannelConfig_INTERFACE_DEFINED__ +#define __IAudioChannelConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioChannelConfig, 0xbb11c46f, 0xec28, 0x493c, 0xb8,0x8a, 0x5d,0xb8,0x80,0x62,0xce,0x98); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb11c46f-ec28-493c-b88a-5db88062ce98") +IAudioChannelConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetChannelConfig( + DWORD dwConfig, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelConfig( + DWORD dwConfig, + DWORD *pdwConfig) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioChannelConfig, 0xbb11c46f, 0xec28, 0x493c, 0xb8,0x8a, 0x5d,0xb8,0x80,0x62,0xce,0x98) +#endif +#else +typedef struct IAudioChannelConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioChannelConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioChannelConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioChannelConfig *This); + + /*** IAudioChannelConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetChannelConfig)( + IAudioChannelConfig *This, + DWORD dwConfig, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetChannelConfig)( + IAudioChannelConfig *This, + DWORD dwConfig, + DWORD *pdwConfig); + + END_INTERFACE +} IAudioChannelConfigVtbl; + +interface IAudioChannelConfig { + CONST_VTBL IAudioChannelConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioChannelConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioChannelConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioChannelConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioChannelConfig methods ***/ +#define IAudioChannelConfig_SetChannelConfig(This,dwConfig,pguidEventContext) (This)->lpVtbl->SetChannelConfig(This,dwConfig,pguidEventContext) +#define IAudioChannelConfig_GetChannelConfig(This,dwConfig,pdwConfig) (This)->lpVtbl->GetChannelConfig(This,dwConfig,pdwConfig) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioChannelConfig_QueryInterface(IAudioChannelConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioChannelConfig_AddRef(IAudioChannelConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioChannelConfig_Release(IAudioChannelConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioChannelConfig methods ***/ +static FORCEINLINE HRESULT IAudioChannelConfig_SetChannelConfig(IAudioChannelConfig* This,DWORD dwConfig,LPCGUID pguidEventContext) { + return This->lpVtbl->SetChannelConfig(This,dwConfig,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioChannelConfig_GetChannelConfig(IAudioChannelConfig* This,DWORD dwConfig,DWORD *pdwConfig) { + return This->lpVtbl->GetChannelConfig(This,dwConfig,pdwConfig); +} +#endif +#endif + +#endif + + +#endif /* __IAudioChannelConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioLoudness interface + */ +#ifndef __IAudioLoudness_INTERFACE_DEFINED__ +#define __IAudioLoudness_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioLoudness, 0x7d8b1437, 0xdd53, 0x4350, 0x9c,0x1b, 0x1e,0xe2,0x89,0x0b,0xf9,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7d8b1437-dd53-4350-9c1b-1ee2890bf938") +IAudioLoudness : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetEnabled( + BOOL *pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnabled( + BOOL bEnabled, + LPCGUID pguidEventContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioLoudness, 0x7d8b1437, 0xdd53, 0x4350, 0x9c,0x1b, 0x1e,0xe2,0x89,0x0b,0xf9,0x38) +#endif +#else +typedef struct IAudioLoudnessVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioLoudness *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioLoudness *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioLoudness *This); + + /*** IAudioLoudness methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEnabled)( + IAudioLoudness *This, + BOOL *pbEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEnabled)( + IAudioLoudness *This, + BOOL bEnabled, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioLoudnessVtbl; + +interface IAudioLoudness { + CONST_VTBL IAudioLoudnessVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioLoudness_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioLoudness_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioLoudness_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioLoudness methods ***/ +#define IAudioLoudness_GetEnabled(This,pbEnabled) (This)->lpVtbl->GetEnabled(This,pbEnabled) +#define IAudioLoudness_SetEnabled(This,bEnabled,pguidEventContext) (This)->lpVtbl->SetEnabled(This,bEnabled,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioLoudness_QueryInterface(IAudioLoudness* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioLoudness_AddRef(IAudioLoudness* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioLoudness_Release(IAudioLoudness* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioLoudness methods ***/ +static FORCEINLINE HRESULT IAudioLoudness_GetEnabled(IAudioLoudness* This,BOOL *pbEnabled) { + return This->lpVtbl->GetEnabled(This,pbEnabled); +} +static FORCEINLINE HRESULT IAudioLoudness_SetEnabled(IAudioLoudness* This,BOOL bEnabled,LPCGUID pguidEventContext) { + return This->lpVtbl->SetEnabled(This,bEnabled,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioLoudness_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioInputSelector interface + */ +#ifndef __IAudioInputSelector_INTERFACE_DEFINED__ +#define __IAudioInputSelector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioInputSelector, 0x4f03dc02, 0x5e6e, 0x4653, 0x8f,0x72, 0xa0,0x30,0xc1,0x23,0xd5,0x98); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4f03dc02-5e6e-4653-8f72-a030c123d598") +IAudioInputSelector : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSelection( + UINT *pnIdSelected) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSelection( + UINT nIdSelect, + LPCGUID pguidEventContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioInputSelector, 0x4f03dc02, 0x5e6e, 0x4653, 0x8f,0x72, 0xa0,0x30,0xc1,0x23,0xd5,0x98) +#endif +#else +typedef struct IAudioInputSelectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioInputSelector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioInputSelector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioInputSelector *This); + + /*** IAudioInputSelector methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSelection)( + IAudioInputSelector *This, + UINT *pnIdSelected); + + HRESULT (STDMETHODCALLTYPE *SetSelection)( + IAudioInputSelector *This, + UINT nIdSelect, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioInputSelectorVtbl; + +interface IAudioInputSelector { + CONST_VTBL IAudioInputSelectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioInputSelector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioInputSelector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioInputSelector_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioInputSelector methods ***/ +#define IAudioInputSelector_GetSelection(This,pnIdSelected) (This)->lpVtbl->GetSelection(This,pnIdSelected) +#define IAudioInputSelector_SetSelection(This,nIdSelect,pguidEventContext) (This)->lpVtbl->SetSelection(This,nIdSelect,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioInputSelector_QueryInterface(IAudioInputSelector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioInputSelector_AddRef(IAudioInputSelector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioInputSelector_Release(IAudioInputSelector* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioInputSelector methods ***/ +static FORCEINLINE HRESULT IAudioInputSelector_GetSelection(IAudioInputSelector* This,UINT *pnIdSelected) { + return This->lpVtbl->GetSelection(This,pnIdSelected); +} +static FORCEINLINE HRESULT IAudioInputSelector_SetSelection(IAudioInputSelector* This,UINT nIdSelect,LPCGUID pguidEventContext) { + return This->lpVtbl->SetSelection(This,nIdSelect,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioInputSelector_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioOutputSelector interface + */ +#ifndef __IAudioOutputSelector_INTERFACE_DEFINED__ +#define __IAudioOutputSelector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioOutputSelector, 0xbb515f69, 0x94a7, 0x429e, 0x8b,0x9c, 0x27,0x1b,0x3f,0x11,0xa3,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb515f69-94a7-429e-8b9c-271b3f11a3ab") +IAudioOutputSelector : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSelection( + UINT *pnIdSelected) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSelection( + UINT nIdSelect, + LPCGUID pguidEventContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioOutputSelector, 0xbb515f69, 0x94a7, 0x429e, 0x8b,0x9c, 0x27,0x1b,0x3f,0x11,0xa3,0xab) +#endif +#else +typedef struct IAudioOutputSelectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioOutputSelector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioOutputSelector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioOutputSelector *This); + + /*** IAudioOutputSelector methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSelection)( + IAudioOutputSelector *This, + UINT *pnIdSelected); + + HRESULT (STDMETHODCALLTYPE *SetSelection)( + IAudioOutputSelector *This, + UINT nIdSelect, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioOutputSelectorVtbl; + +interface IAudioOutputSelector { + CONST_VTBL IAudioOutputSelectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioOutputSelector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioOutputSelector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioOutputSelector_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioOutputSelector methods ***/ +#define IAudioOutputSelector_GetSelection(This,pnIdSelected) (This)->lpVtbl->GetSelection(This,pnIdSelected) +#define IAudioOutputSelector_SetSelection(This,nIdSelect,pguidEventContext) (This)->lpVtbl->SetSelection(This,nIdSelect,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioOutputSelector_QueryInterface(IAudioOutputSelector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioOutputSelector_AddRef(IAudioOutputSelector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioOutputSelector_Release(IAudioOutputSelector* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioOutputSelector methods ***/ +static FORCEINLINE HRESULT IAudioOutputSelector_GetSelection(IAudioOutputSelector* This,UINT *pnIdSelected) { + return This->lpVtbl->GetSelection(This,pnIdSelected); +} +static FORCEINLINE HRESULT IAudioOutputSelector_SetSelection(IAudioOutputSelector* This,UINT nIdSelect,LPCGUID pguidEventContext) { + return This->lpVtbl->SetSelection(This,nIdSelect,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioOutputSelector_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioMute interface + */ +#ifndef __IAudioMute_INTERFACE_DEFINED__ +#define __IAudioMute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioMute, 0xdf45aeea, 0xb74a, 0x4b6b, 0xaf,0xad, 0x23,0x66,0xb6,0xaa,0x01,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("df45aeea-b74a-4b6b-afad-2366b6aa012e") +IAudioMute : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMute( + BOOL bMute, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMute( + BOOL *pbMute) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioMute, 0xdf45aeea, 0xb74a, 0x4b6b, 0xaf,0xad, 0x23,0x66,0xb6,0xaa,0x01,0x2e) +#endif +#else +typedef struct IAudioMuteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioMute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioMute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioMute *This); + + /*** IAudioMute methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMute)( + IAudioMute *This, + BOOL bMute, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetMute)( + IAudioMute *This, + BOOL *pbMute); + + END_INTERFACE +} IAudioMuteVtbl; + +interface IAudioMute { + CONST_VTBL IAudioMuteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioMute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioMute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioMute_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioMute methods ***/ +#define IAudioMute_SetMute(This,bMute,pguidEventContext) (This)->lpVtbl->SetMute(This,bMute,pguidEventContext) +#define IAudioMute_GetMute(This,pbMute) (This)->lpVtbl->GetMute(This,pbMute) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioMute_QueryInterface(IAudioMute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioMute_AddRef(IAudioMute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioMute_Release(IAudioMute* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioMute methods ***/ +static FORCEINLINE HRESULT IAudioMute_SetMute(IAudioMute* This,BOOL bMute,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMute(This,bMute,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioMute_GetMute(IAudioMute* This,BOOL *pbMute) { + return This->lpVtbl->GetMute(This,pbMute); +} +#endif +#endif + +#endif + + +#endif /* __IAudioMute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioBass interface + */ +#ifndef __IAudioBass_INTERFACE_DEFINED__ +#define __IAudioBass_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioBass, 0xa2b1a1d9, 0x4db3, 0x425d, 0xa2,0xb2, 0xbd,0x33,0x5c,0xb3,0xe2,0xe5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a2b1a1d9-4db3-425d-a2b2-bd335cb3e2e5") +IAudioBass : public IPerChannelDbLevel +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioBass, 0xa2b1a1d9, 0x4db3, 0x425d, 0xa2,0xb2, 0xbd,0x33,0x5c,0xb3,0xe2,0xe5) +#endif +#else +typedef struct IAudioBassVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioBass *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioBass *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioBass *This); + + /*** IPerChannelDbLevel methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioBass *This, + UINT *pcChannels); + + HRESULT (STDMETHODCALLTYPE *GetLevelRange)( + IAudioBass *This, + UINT nChannel, + float *pfMinLevelDB, + float *pfMaxLevelDB, + float *pfStepping); + + HRESULT (STDMETHODCALLTYPE *GetLevel)( + IAudioBass *This, + UINT nChannel, + float *pfLevelDB); + + HRESULT (STDMETHODCALLTYPE *SetLevel)( + IAudioBass *This, + UINT nChannel, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelUniform)( + IAudioBass *This, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelAllChannels)( + IAudioBass *This, + float *aLevelsDB, + ULONG cChannels, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioBassVtbl; + +interface IAudioBass { + CONST_VTBL IAudioBassVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioBass_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioBass_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioBass_Release(This) (This)->lpVtbl->Release(This) +/*** IPerChannelDbLevel methods ***/ +#define IAudioBass_GetChannelCount(This,pcChannels) (This)->lpVtbl->GetChannelCount(This,pcChannels) +#define IAudioBass_GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) (This)->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) +#define IAudioBass_GetLevel(This,nChannel,pfLevelDB) (This)->lpVtbl->GetLevel(This,nChannel,pfLevelDB) +#define IAudioBass_SetLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IAudioBass_SetLevelUniform(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext) +#define IAudioBass_SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) (This)->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioBass_QueryInterface(IAudioBass* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioBass_AddRef(IAudioBass* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioBass_Release(IAudioBass* This) { + return This->lpVtbl->Release(This); +} +/*** IPerChannelDbLevel methods ***/ +static FORCEINLINE HRESULT IAudioBass_GetChannelCount(IAudioBass* This,UINT *pcChannels) { + return This->lpVtbl->GetChannelCount(This,pcChannels); +} +static FORCEINLINE HRESULT IAudioBass_GetLevelRange(IAudioBass* This,UINT nChannel,float *pfMinLevelDB,float *pfMaxLevelDB,float *pfStepping) { + return This->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping); +} +static FORCEINLINE HRESULT IAudioBass_GetLevel(IAudioBass* This,UINT nChannel,float *pfLevelDB) { + return This->lpVtbl->GetLevel(This,nChannel,pfLevelDB); +} +static FORCEINLINE HRESULT IAudioBass_SetLevel(IAudioBass* This,UINT nChannel,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioBass_SetLevelUniform(IAudioBass* This,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioBass_SetLevelAllChannels(IAudioBass* This,float *aLevelsDB,ULONG cChannels,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioBass_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioMidRange interface + */ +#ifndef __IAudioMidRange_INTERFACE_DEFINED__ +#define __IAudioMidRange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioMidRange, 0x5e54b6d7, 0xb44b, 0x40d9, 0x9a,0x9e, 0xe6,0x91,0xd9,0xce,0x6e,0xdf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5e54b6d7-b44b-40d9-9a9e-e691d9ce6edf") +IAudioMidRange : public IPerChannelDbLevel +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioMidRange, 0x5e54b6d7, 0xb44b, 0x40d9, 0x9a,0x9e, 0xe6,0x91,0xd9,0xce,0x6e,0xdf) +#endif +#else +typedef struct IAudioMidRangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioMidRange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioMidRange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioMidRange *This); + + /*** IPerChannelDbLevel methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioMidRange *This, + UINT *pcChannels); + + HRESULT (STDMETHODCALLTYPE *GetLevelRange)( + IAudioMidRange *This, + UINT nChannel, + float *pfMinLevelDB, + float *pfMaxLevelDB, + float *pfStepping); + + HRESULT (STDMETHODCALLTYPE *GetLevel)( + IAudioMidRange *This, + UINT nChannel, + float *pfLevelDB); + + HRESULT (STDMETHODCALLTYPE *SetLevel)( + IAudioMidRange *This, + UINT nChannel, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelUniform)( + IAudioMidRange *This, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelAllChannels)( + IAudioMidRange *This, + float *aLevelsDB, + ULONG cChannels, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioMidRangeVtbl; + +interface IAudioMidRange { + CONST_VTBL IAudioMidRangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioMidRange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioMidRange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioMidRange_Release(This) (This)->lpVtbl->Release(This) +/*** IPerChannelDbLevel methods ***/ +#define IAudioMidRange_GetChannelCount(This,pcChannels) (This)->lpVtbl->GetChannelCount(This,pcChannels) +#define IAudioMidRange_GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) (This)->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) +#define IAudioMidRange_GetLevel(This,nChannel,pfLevelDB) (This)->lpVtbl->GetLevel(This,nChannel,pfLevelDB) +#define IAudioMidRange_SetLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IAudioMidRange_SetLevelUniform(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext) +#define IAudioMidRange_SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) (This)->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioMidRange_QueryInterface(IAudioMidRange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioMidRange_AddRef(IAudioMidRange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioMidRange_Release(IAudioMidRange* This) { + return This->lpVtbl->Release(This); +} +/*** IPerChannelDbLevel methods ***/ +static FORCEINLINE HRESULT IAudioMidRange_GetChannelCount(IAudioMidRange* This,UINT *pcChannels) { + return This->lpVtbl->GetChannelCount(This,pcChannels); +} +static FORCEINLINE HRESULT IAudioMidRange_GetLevelRange(IAudioMidRange* This,UINT nChannel,float *pfMinLevelDB,float *pfMaxLevelDB,float *pfStepping) { + return This->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping); +} +static FORCEINLINE HRESULT IAudioMidRange_GetLevel(IAudioMidRange* This,UINT nChannel,float *pfLevelDB) { + return This->lpVtbl->GetLevel(This,nChannel,pfLevelDB); +} +static FORCEINLINE HRESULT IAudioMidRange_SetLevel(IAudioMidRange* This,UINT nChannel,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioMidRange_SetLevelUniform(IAudioMidRange* This,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioMidRange_SetLevelAllChannels(IAudioMidRange* This,float *aLevelsDB,ULONG cChannels,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioMidRange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioTreble interface + */ +#ifndef __IAudioTreble_INTERFACE_DEFINED__ +#define __IAudioTreble_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioTreble, 0x0a717812, 0x694e, 0x4907, 0xb7,0x4b, 0xba,0xfa,0x5c,0xfd,0xca,0x7b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0a717812-694e-4907-b74b-bafa5cfdca7b") +IAudioTreble : public IPerChannelDbLevel +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioTreble, 0x0a717812, 0x694e, 0x4907, 0xb7,0x4b, 0xba,0xfa,0x5c,0xfd,0xca,0x7b) +#endif +#else +typedef struct IAudioTrebleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioTreble *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioTreble *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioTreble *This); + + /*** IPerChannelDbLevel methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioTreble *This, + UINT *pcChannels); + + HRESULT (STDMETHODCALLTYPE *GetLevelRange)( + IAudioTreble *This, + UINT nChannel, + float *pfMinLevelDB, + float *pfMaxLevelDB, + float *pfStepping); + + HRESULT (STDMETHODCALLTYPE *GetLevel)( + IAudioTreble *This, + UINT nChannel, + float *pfLevelDB); + + HRESULT (STDMETHODCALLTYPE *SetLevel)( + IAudioTreble *This, + UINT nChannel, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelUniform)( + IAudioTreble *This, + float fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetLevelAllChannels)( + IAudioTreble *This, + float *aLevelsDB, + ULONG cChannels, + LPCGUID pguidEventContext); + + END_INTERFACE +} IAudioTrebleVtbl; + +interface IAudioTreble { + CONST_VTBL IAudioTrebleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioTreble_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioTreble_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioTreble_Release(This) (This)->lpVtbl->Release(This) +/*** IPerChannelDbLevel methods ***/ +#define IAudioTreble_GetChannelCount(This,pcChannels) (This)->lpVtbl->GetChannelCount(This,pcChannels) +#define IAudioTreble_GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) (This)->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping) +#define IAudioTreble_GetLevel(This,nChannel,pfLevelDB) (This)->lpVtbl->GetLevel(This,nChannel,pfLevelDB) +#define IAudioTreble_SetLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IAudioTreble_SetLevelUniform(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext) +#define IAudioTreble_SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) (This)->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioTreble_QueryInterface(IAudioTreble* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioTreble_AddRef(IAudioTreble* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioTreble_Release(IAudioTreble* This) { + return This->lpVtbl->Release(This); +} +/*** IPerChannelDbLevel methods ***/ +static FORCEINLINE HRESULT IAudioTreble_GetChannelCount(IAudioTreble* This,UINT *pcChannels) { + return This->lpVtbl->GetChannelCount(This,pcChannels); +} +static FORCEINLINE HRESULT IAudioTreble_GetLevelRange(IAudioTreble* This,UINT nChannel,float *pfMinLevelDB,float *pfMaxLevelDB,float *pfStepping) { + return This->lpVtbl->GetLevelRange(This,nChannel,pfMinLevelDB,pfMaxLevelDB,pfStepping); +} +static FORCEINLINE HRESULT IAudioTreble_GetLevel(IAudioTreble* This,UINT nChannel,float *pfLevelDB) { + return This->lpVtbl->GetLevel(This,nChannel,pfLevelDB); +} +static FORCEINLINE HRESULT IAudioTreble_SetLevel(IAudioTreble* This,UINT nChannel,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioTreble_SetLevelUniform(IAudioTreble* This,float fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelUniform(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioTreble_SetLevelAllChannels(IAudioTreble* This,float *aLevelsDB,ULONG cChannels,LPCGUID pguidEventContext) { + return This->lpVtbl->SetLevelAllChannels(This,aLevelsDB,cChannels,pguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IAudioTreble_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioAutoGainControl interface + */ +#ifndef __IAudioAutoGainControl_INTERFACE_DEFINED__ +#define __IAudioAutoGainControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioAutoGainControl, 0x85401fd4, 0x6de4, 0x4b9d, 0x98,0x69, 0x2d,0x67,0x53,0xa8,0x2f,0x3c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("85401fd4-6de4-4b9d-9869-2d6753a82f3c") +IAudioAutoGainControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetEnabled( + BOOL bEnabled, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMute( + BOOL *pbEnabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioAutoGainControl, 0x85401fd4, 0x6de4, 0x4b9d, 0x98,0x69, 0x2d,0x67,0x53,0xa8,0x2f,0x3c) +#endif +#else +typedef struct IAudioAutoGainControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioAutoGainControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioAutoGainControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioAutoGainControl *This); + + /*** IAudioAutoGainControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEnabled)( + IAudioAutoGainControl *This, + BOOL bEnabled, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetMute)( + IAudioAutoGainControl *This, + BOOL *pbEnabled); + + END_INTERFACE +} IAudioAutoGainControlVtbl; + +interface IAudioAutoGainControl { + CONST_VTBL IAudioAutoGainControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioAutoGainControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioAutoGainControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioAutoGainControl_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioAutoGainControl methods ***/ +#define IAudioAutoGainControl_GetEnabled(This,bEnabled,pguidEventContext) (This)->lpVtbl->GetEnabled(This,bEnabled,pguidEventContext) +#define IAudioAutoGainControl_GetMute(This,pbEnabled) (This)->lpVtbl->GetMute(This,pbEnabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioAutoGainControl_QueryInterface(IAudioAutoGainControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioAutoGainControl_AddRef(IAudioAutoGainControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioAutoGainControl_Release(IAudioAutoGainControl* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioAutoGainControl methods ***/ +static FORCEINLINE HRESULT IAudioAutoGainControl_GetEnabled(IAudioAutoGainControl* This,BOOL bEnabled,LPCGUID pguidEventContext) { + return This->lpVtbl->GetEnabled(This,bEnabled,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioAutoGainControl_GetMute(IAudioAutoGainControl* This,BOOL *pbEnabled) { + return This->lpVtbl->GetMute(This,pbEnabled); +} +#endif +#endif + +#endif + + +#endif /* __IAudioAutoGainControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioPeakMeter interface + */ +#ifndef __IAudioPeakMeter_INTERFACE_DEFINED__ +#define __IAudioPeakMeter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioPeakMeter, 0xdd79923c, 0x0599, 0x45e0, 0xb8,0xb6, 0xc8,0xdf,0x7d,0xb6,0xe7,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dd79923c-0599-45e0-b8b6-c8df7db6e796") +IAudioPeakMeter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetChannelCount( + UINT *pcChannels) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLevel( + UINT nChannel, + float *pfLevel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioPeakMeter, 0xdd79923c, 0x0599, 0x45e0, 0xb8,0xb6, 0xc8,0xdf,0x7d,0xb6,0xe7,0x96) +#endif +#else +typedef struct IAudioPeakMeterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioPeakMeter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioPeakMeter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioPeakMeter *This); + + /*** IAudioPeakMeter methods ***/ + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioPeakMeter *This, + UINT *pcChannels); + + HRESULT (STDMETHODCALLTYPE *GetLevel)( + IAudioPeakMeter *This, + UINT nChannel, + float *pfLevel); + + END_INTERFACE +} IAudioPeakMeterVtbl; + +interface IAudioPeakMeter { + CONST_VTBL IAudioPeakMeterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioPeakMeter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioPeakMeter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioPeakMeter_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioPeakMeter methods ***/ +#define IAudioPeakMeter_GetChannelCount(This,pcChannels) (This)->lpVtbl->GetChannelCount(This,pcChannels) +#define IAudioPeakMeter_GetLevel(This,nChannel,pfLevel) (This)->lpVtbl->GetLevel(This,nChannel,pfLevel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioPeakMeter_QueryInterface(IAudioPeakMeter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioPeakMeter_AddRef(IAudioPeakMeter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioPeakMeter_Release(IAudioPeakMeter* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioPeakMeter methods ***/ +static FORCEINLINE HRESULT IAudioPeakMeter_GetChannelCount(IAudioPeakMeter* This,UINT *pcChannels) { + return This->lpVtbl->GetChannelCount(This,pcChannels); +} +static FORCEINLINE HRESULT IAudioPeakMeter_GetLevel(IAudioPeakMeter* This,UINT nChannel,float *pfLevel) { + return This->lpVtbl->GetLevel(This,nChannel,pfLevel); +} +#endif +#endif + +#endif + + +#endif /* __IAudioPeakMeter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDeviceSpecificProperty interface + */ +#ifndef __IDeviceSpecificProperty_INTERFACE_DEFINED__ +#define __IDeviceSpecificProperty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDeviceSpecificProperty, 0x3b22bcbf, 0x2586, 0x4af0, 0x85,0x83, 0x20,0x5d,0x39,0x1b,0x80,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3b22bcbf-2586-4af0-8583-205d391b807c") +IDeviceSpecificProperty : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + VARTYPE *pVType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + VARTYPE *pvType, + DWORD *pcbValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValue( + void *pvValue, + DWORD cbValue, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get4BRange( + LONG *plMin, + LONG *plMax, + LONG *plStepping) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDeviceSpecificProperty, 0x3b22bcbf, 0x2586, 0x4af0, 0x85,0x83, 0x20,0x5d,0x39,0x1b,0x80,0x7c) +#endif +#else +typedef struct IDeviceSpecificPropertyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDeviceSpecificProperty *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDeviceSpecificProperty *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDeviceSpecificProperty *This); + + /*** IDeviceSpecificProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IDeviceSpecificProperty *This, + VARTYPE *pVType); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IDeviceSpecificProperty *This, + VARTYPE *pvType, + DWORD *pcbValue); + + HRESULT (STDMETHODCALLTYPE *SetValue)( + IDeviceSpecificProperty *This, + void *pvValue, + DWORD cbValue, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *Get4BRange)( + IDeviceSpecificProperty *This, + LONG *plMin, + LONG *plMax, + LONG *plStepping); + + END_INTERFACE +} IDeviceSpecificPropertyVtbl; + +interface IDeviceSpecificProperty { + CONST_VTBL IDeviceSpecificPropertyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDeviceSpecificProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDeviceSpecificProperty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDeviceSpecificProperty_Release(This) (This)->lpVtbl->Release(This) +/*** IDeviceSpecificProperty methods ***/ +#define IDeviceSpecificProperty_GetType(This,pVType) (This)->lpVtbl->GetType(This,pVType) +#define IDeviceSpecificProperty_GetValue(This,pvType,pcbValue) (This)->lpVtbl->GetValue(This,pvType,pcbValue) +#define IDeviceSpecificProperty_SetValue(This,pvValue,cbValue,pguidEventContext) (This)->lpVtbl->SetValue(This,pvValue,cbValue,pguidEventContext) +#define IDeviceSpecificProperty_Get4BRange(This,plMin,plMax,plStepping) (This)->lpVtbl->Get4BRange(This,plMin,plMax,plStepping) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDeviceSpecificProperty_QueryInterface(IDeviceSpecificProperty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDeviceSpecificProperty_AddRef(IDeviceSpecificProperty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDeviceSpecificProperty_Release(IDeviceSpecificProperty* This) { + return This->lpVtbl->Release(This); +} +/*** IDeviceSpecificProperty methods ***/ +static FORCEINLINE HRESULT IDeviceSpecificProperty_GetType(IDeviceSpecificProperty* This,VARTYPE *pVType) { + return This->lpVtbl->GetType(This,pVType); +} +static FORCEINLINE HRESULT IDeviceSpecificProperty_GetValue(IDeviceSpecificProperty* This,VARTYPE *pvType,DWORD *pcbValue) { + return This->lpVtbl->GetValue(This,pvType,pcbValue); +} +static FORCEINLINE HRESULT IDeviceSpecificProperty_SetValue(IDeviceSpecificProperty* This,void *pvValue,DWORD cbValue,LPCGUID pguidEventContext) { + return This->lpVtbl->SetValue(This,pvValue,cbValue,pguidEventContext); +} +static FORCEINLINE HRESULT IDeviceSpecificProperty_Get4BRange(IDeviceSpecificProperty* This,LONG *plMin,LONG *plMax,LONG *plStepping) { + return This->lpVtbl->Get4BRange(This,plMin,plMax,plStepping); +} +#endif +#endif + +#endif + + +#endif /* __IDeviceSpecificProperty_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IKsFormatSupport interface + */ +#ifndef __IKsFormatSupport_INTERFACE_DEFINED__ +#define __IKsFormatSupport_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKsFormatSupport, 0x3cb4a69d, 0xbb6f, 0x4d2b, 0x95,0xb7, 0x45,0x2d,0x2c,0x15,0x5d,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3cb4a69d-bb6f-4d2b-95b7-452d2c155db5") +IKsFormatSupport : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsFormatSupported( + PKSDATAFORMAT pKsFormat, + DWORD cbFormat, + BOOL *pbSupported) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDevicePreferredFormat( + PKSDATAFORMAT *ppKsFormat) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKsFormatSupport, 0x3cb4a69d, 0xbb6f, 0x4d2b, 0x95,0xb7, 0x45,0x2d,0x2c,0x15,0x5d,0xb5) +#endif +#else +typedef struct IKsFormatSupportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKsFormatSupport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKsFormatSupport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKsFormatSupport *This); + + /*** IKsFormatSupport methods ***/ + HRESULT (STDMETHODCALLTYPE *IsFormatSupported)( + IKsFormatSupport *This, + PKSDATAFORMAT pKsFormat, + DWORD cbFormat, + BOOL *pbSupported); + + HRESULT (STDMETHODCALLTYPE *GetDevicePreferredFormat)( + IKsFormatSupport *This, + PKSDATAFORMAT *ppKsFormat); + + END_INTERFACE +} IKsFormatSupportVtbl; + +interface IKsFormatSupport { + CONST_VTBL IKsFormatSupportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKsFormatSupport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKsFormatSupport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKsFormatSupport_Release(This) (This)->lpVtbl->Release(This) +/*** IKsFormatSupport methods ***/ +#define IKsFormatSupport_IsFormatSupported(This,pKsFormat,cbFormat,pbSupported) (This)->lpVtbl->IsFormatSupported(This,pKsFormat,cbFormat,pbSupported) +#define IKsFormatSupport_GetDevicePreferredFormat(This,ppKsFormat) (This)->lpVtbl->GetDevicePreferredFormat(This,ppKsFormat) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKsFormatSupport_QueryInterface(IKsFormatSupport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKsFormatSupport_AddRef(IKsFormatSupport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKsFormatSupport_Release(IKsFormatSupport* This) { + return This->lpVtbl->Release(This); +} +/*** IKsFormatSupport methods ***/ +static FORCEINLINE HRESULT IKsFormatSupport_IsFormatSupported(IKsFormatSupport* This,PKSDATAFORMAT pKsFormat,DWORD cbFormat,BOOL *pbSupported) { + return This->lpVtbl->IsFormatSupported(This,pKsFormat,cbFormat,pbSupported); +} +static FORCEINLINE HRESULT IKsFormatSupport_GetDevicePreferredFormat(IKsFormatSupport* This,PKSDATAFORMAT *ppKsFormat) { + return This->lpVtbl->GetDevicePreferredFormat(This,ppKsFormat); +} +#endif +#endif + +#endif + + +#endif /* __IKsFormatSupport_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IKsJackDescription interface + */ +#ifndef __IKsJackDescription_INTERFACE_DEFINED__ +#define __IKsJackDescription_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKsJackDescription, 0x4509f757, 0x2d46, 0x4637, 0x8e,0x62, 0xce,0x7d,0xb9,0x44,0xf5,0x7b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4509f757-2d46-4637-8e62-ce7db944f57b") +IKsJackDescription : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetJackCount( + UINT *pcJacks) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetJackDescription( + UINT nJack, + KSJACK_DESCRIPTION *pDescription) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKsJackDescription, 0x4509f757, 0x2d46, 0x4637, 0x8e,0x62, 0xce,0x7d,0xb9,0x44,0xf5,0x7b) +#endif +#else +typedef struct IKsJackDescriptionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKsJackDescription *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKsJackDescription *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKsJackDescription *This); + + /*** IKsJackDescription methods ***/ + HRESULT (STDMETHODCALLTYPE *GetJackCount)( + IKsJackDescription *This, + UINT *pcJacks); + + HRESULT (STDMETHODCALLTYPE *GetJackDescription)( + IKsJackDescription *This, + UINT nJack, + KSJACK_DESCRIPTION *pDescription); + + END_INTERFACE +} IKsJackDescriptionVtbl; + +interface IKsJackDescription { + CONST_VTBL IKsJackDescriptionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKsJackDescription_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKsJackDescription_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKsJackDescription_Release(This) (This)->lpVtbl->Release(This) +/*** IKsJackDescription methods ***/ +#define IKsJackDescription_GetJackCount(This,pcJacks) (This)->lpVtbl->GetJackCount(This,pcJacks) +#define IKsJackDescription_GetJackDescription(This,nJack,pDescription) (This)->lpVtbl->GetJackDescription(This,nJack,pDescription) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKsJackDescription_QueryInterface(IKsJackDescription* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKsJackDescription_AddRef(IKsJackDescription* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKsJackDescription_Release(IKsJackDescription* This) { + return This->lpVtbl->Release(This); +} +/*** IKsJackDescription methods ***/ +static FORCEINLINE HRESULT IKsJackDescription_GetJackCount(IKsJackDescription* This,UINT *pcJacks) { + return This->lpVtbl->GetJackCount(This,pcJacks); +} +static FORCEINLINE HRESULT IKsJackDescription_GetJackDescription(IKsJackDescription* This,UINT nJack,KSJACK_DESCRIPTION *pDescription) { + return This->lpVtbl->GetJackDescription(This,nJack,pDescription); +} +#endif +#endif + +#endif + + +#endif /* __IKsJackDescription_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IKsJackDescription2 interface + */ +#ifndef __IKsJackDescription2_INTERFACE_DEFINED__ +#define __IKsJackDescription2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKsJackDescription2, 0x478f3a9b, 0xe0c9, 0x4827, 0x92,0x28, 0x6f,0x55,0x05,0xff,0xe7,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("478f3a9b-e0c9-4827-9228-6f5505ffe76a") +IKsJackDescription2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetJackCount( + UINT *pcJacks) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetJackDescription2( + UINT nJack, + KSJACK_DESCRIPTION2 *pDescription2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKsJackDescription2, 0x478f3a9b, 0xe0c9, 0x4827, 0x92,0x28, 0x6f,0x55,0x05,0xff,0xe7,0x6a) +#endif +#else +typedef struct IKsJackDescription2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKsJackDescription2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKsJackDescription2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKsJackDescription2 *This); + + /*** IKsJackDescription2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetJackCount)( + IKsJackDescription2 *This, + UINT *pcJacks); + + HRESULT (STDMETHODCALLTYPE *GetJackDescription2)( + IKsJackDescription2 *This, + UINT nJack, + KSJACK_DESCRIPTION2 *pDescription2); + + END_INTERFACE +} IKsJackDescription2Vtbl; + +interface IKsJackDescription2 { + CONST_VTBL IKsJackDescription2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKsJackDescription2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKsJackDescription2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKsJackDescription2_Release(This) (This)->lpVtbl->Release(This) +/*** IKsJackDescription2 methods ***/ +#define IKsJackDescription2_GetJackCount(This,pcJacks) (This)->lpVtbl->GetJackCount(This,pcJacks) +#define IKsJackDescription2_GetJackDescription2(This,nJack,pDescription2) (This)->lpVtbl->GetJackDescription2(This,nJack,pDescription2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKsJackDescription2_QueryInterface(IKsJackDescription2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKsJackDescription2_AddRef(IKsJackDescription2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKsJackDescription2_Release(IKsJackDescription2* This) { + return This->lpVtbl->Release(This); +} +/*** IKsJackDescription2 methods ***/ +static FORCEINLINE HRESULT IKsJackDescription2_GetJackCount(IKsJackDescription2* This,UINT *pcJacks) { + return This->lpVtbl->GetJackCount(This,pcJacks); +} +static FORCEINLINE HRESULT IKsJackDescription2_GetJackDescription2(IKsJackDescription2* This,UINT nJack,KSJACK_DESCRIPTION2 *pDescription2) { + return This->lpVtbl->GetJackDescription2(This,nJack,pDescription2); +} +#endif +#endif + +#endif + + +#endif /* __IKsJackDescription2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IKsJackSinkInformation interface + */ +#ifndef __IKsJackSinkInformation_INTERFACE_DEFINED__ +#define __IKsJackSinkInformation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKsJackSinkInformation, 0xd9bd72ed, 0x290f, 0x4581, 0x9f,0xf3, 0x61,0x02,0x7a,0x8f,0xe5,0x32); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d9bd72ed-290f-4581-9ff3-61027a8fe532") +IKsJackSinkInformation : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetJackSinkInformation( + KSJACK_SINK_INFORMATION *pJackSinkInformation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKsJackSinkInformation, 0xd9bd72ed, 0x290f, 0x4581, 0x9f,0xf3, 0x61,0x02,0x7a,0x8f,0xe5,0x32) +#endif +#else +typedef struct IKsJackSinkInformationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKsJackSinkInformation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKsJackSinkInformation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKsJackSinkInformation *This); + + /*** IKsJackSinkInformation methods ***/ + HRESULT (STDMETHODCALLTYPE *GetJackSinkInformation)( + IKsJackSinkInformation *This, + KSJACK_SINK_INFORMATION *pJackSinkInformation); + + END_INTERFACE +} IKsJackSinkInformationVtbl; + +interface IKsJackSinkInformation { + CONST_VTBL IKsJackSinkInformationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKsJackSinkInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKsJackSinkInformation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKsJackSinkInformation_Release(This) (This)->lpVtbl->Release(This) +/*** IKsJackSinkInformation methods ***/ +#define IKsJackSinkInformation_GetJackSinkInformation(This,pJackSinkInformation) (This)->lpVtbl->GetJackSinkInformation(This,pJackSinkInformation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKsJackSinkInformation_QueryInterface(IKsJackSinkInformation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKsJackSinkInformation_AddRef(IKsJackSinkInformation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKsJackSinkInformation_Release(IKsJackSinkInformation* This) { + return This->lpVtbl->Release(This); +} +/*** IKsJackSinkInformation methods ***/ +static FORCEINLINE HRESULT IKsJackSinkInformation_GetJackSinkInformation(IKsJackSinkInformation* This,KSJACK_SINK_INFORMATION *pJackSinkInformation) { + return This->lpVtbl->GetJackSinkInformation(This,pJackSinkInformation); +} +#endif +#endif + +#endif + + +#endif /* __IKsJackSinkInformation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPartsList interface + */ +#ifndef __IPartsList_INTERFACE_DEFINED__ +#define __IPartsList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPartsList, 0x6daa848c, 0x5eb0, 0x45cc, 0xae,0xa5, 0x99,0x8a,0x2c,0xda,0x1f,0xfb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6daa848c-5eb0-45cc-aea5-998a2cda1ffb") +IPartsList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPart( + UINT nIndex, + IPart **ppPart) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPartsList, 0x6daa848c, 0x5eb0, 0x45cc, 0xae,0xa5, 0x99,0x8a,0x2c,0xda,0x1f,0xfb) +#endif +#else +typedef struct IPartsListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPartsList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPartsList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPartsList *This); + + /*** IPartsList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IPartsList *This, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetPart)( + IPartsList *This, + UINT nIndex, + IPart **ppPart); + + END_INTERFACE +} IPartsListVtbl; + +interface IPartsList { + CONST_VTBL IPartsListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPartsList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPartsList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPartsList_Release(This) (This)->lpVtbl->Release(This) +/*** IPartsList methods ***/ +#define IPartsList_GetCount(This,pCount) (This)->lpVtbl->GetCount(This,pCount) +#define IPartsList_GetPart(This,nIndex,ppPart) (This)->lpVtbl->GetPart(This,nIndex,ppPart) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPartsList_QueryInterface(IPartsList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPartsList_AddRef(IPartsList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPartsList_Release(IPartsList* This) { + return This->lpVtbl->Release(This); +} +/*** IPartsList methods ***/ +static FORCEINLINE HRESULT IPartsList_GetCount(IPartsList* This,UINT *pCount) { + return This->lpVtbl->GetCount(This,pCount); +} +static FORCEINLINE HRESULT IPartsList_GetPart(IPartsList* This,UINT nIndex,IPart **ppPart) { + return This->lpVtbl->GetPart(This,nIndex,ppPart); +} +#endif +#endif + +#endif + + +#endif /* __IPartsList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPart interface + */ +#ifndef __IPart_INTERFACE_DEFINED__ +#define __IPart_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPart, 0xae2de0e4, 0x5bca, 0x4f2d, 0xaa,0x46, 0x5d,0x13,0xf8,0xfd,0xb3,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9") +IPart : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + LPWSTR *ppwstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalId( + UINT *pnId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlobalId( + LPWSTR *ppwstrGlobalId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPartType( + PartType *pPartType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubType( + GUID *pSubType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlInterfaceCount( + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlInterface( + UINT nIndex, + IControlInterface **ppInterfaceDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumPartsIncoming( + IPartsList **ppParts) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumPartsOutgoing( + IPartsList **ppParts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTopologyObjects( + IDeviceTopology **ppTopology) = 0; + + virtual HRESULT STDMETHODCALLTYPE Activate( + DWORD dwClsContext, + REFIID refiid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterControlChangeCallback( + REFGUID riid, + IControlChangeNotify *pNotify) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterControlChangeCallback( + IControlChangeNotify *pNotify) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPart, 0xae2de0e4, 0x5bca, 0x4f2d, 0xaa,0x46, 0x5d,0x13,0xf8,0xfd,0xb3,0xa9) +#endif +#else +typedef struct IPartVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPart *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPart *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPart *This); + + /*** IPart methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + IPart *This, + LPWSTR *ppwstrName); + + HRESULT (STDMETHODCALLTYPE *GetLocalId)( + IPart *This, + UINT *pnId); + + HRESULT (STDMETHODCALLTYPE *GetGlobalId)( + IPart *This, + LPWSTR *ppwstrGlobalId); + + HRESULT (STDMETHODCALLTYPE *GetPartType)( + IPart *This, + PartType *pPartType); + + HRESULT (STDMETHODCALLTYPE *GetSubType)( + IPart *This, + GUID *pSubType); + + HRESULT (STDMETHODCALLTYPE *GetControlInterfaceCount)( + IPart *This, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetControlInterface)( + IPart *This, + UINT nIndex, + IControlInterface **ppInterfaceDesc); + + HRESULT (STDMETHODCALLTYPE *EnumPartsIncoming)( + IPart *This, + IPartsList **ppParts); + + HRESULT (STDMETHODCALLTYPE *EnumPartsOutgoing)( + IPart *This, + IPartsList **ppParts); + + HRESULT (STDMETHODCALLTYPE *GetTopologyObjects)( + IPart *This, + IDeviceTopology **ppTopology); + + HRESULT (STDMETHODCALLTYPE *Activate)( + IPart *This, + DWORD dwClsContext, + REFIID refiid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *RegisterControlChangeCallback)( + IPart *This, + REFGUID riid, + IControlChangeNotify *pNotify); + + HRESULT (STDMETHODCALLTYPE *UnregisterControlChangeCallback)( + IPart *This, + IControlChangeNotify *pNotify); + + END_INTERFACE +} IPartVtbl; + +interface IPart { + CONST_VTBL IPartVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPart_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPart_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPart_Release(This) (This)->lpVtbl->Release(This) +/*** IPart methods ***/ +#define IPart_GetName(This,ppwstrName) (This)->lpVtbl->GetName(This,ppwstrName) +#define IPart_GetLocalId(This,pnId) (This)->lpVtbl->GetLocalId(This,pnId) +#define IPart_GetGlobalId(This,ppwstrGlobalId) (This)->lpVtbl->GetGlobalId(This,ppwstrGlobalId) +#define IPart_GetPartType(This,pPartType) (This)->lpVtbl->GetPartType(This,pPartType) +#define IPart_GetSubType(This,pSubType) (This)->lpVtbl->GetSubType(This,pSubType) +#define IPart_GetControlInterfaceCount(This,pCount) (This)->lpVtbl->GetControlInterfaceCount(This,pCount) +#define IPart_GetControlInterface(This,nIndex,ppInterfaceDesc) (This)->lpVtbl->GetControlInterface(This,nIndex,ppInterfaceDesc) +#define IPart_EnumPartsIncoming(This,ppParts) (This)->lpVtbl->EnumPartsIncoming(This,ppParts) +#define IPart_EnumPartsOutgoing(This,ppParts) (This)->lpVtbl->EnumPartsOutgoing(This,ppParts) +#define IPart_GetTopologyObjects(This,ppTopology) (This)->lpVtbl->GetTopologyObjects(This,ppTopology) +#define IPart_Activate(This,dwClsContext,refiid,ppvObject) (This)->lpVtbl->Activate(This,dwClsContext,refiid,ppvObject) +#define IPart_RegisterControlChangeCallback(This,riid,pNotify) (This)->lpVtbl->RegisterControlChangeCallback(This,riid,pNotify) +#define IPart_UnregisterControlChangeCallback(This,pNotify) (This)->lpVtbl->UnregisterControlChangeCallback(This,pNotify) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPart_QueryInterface(IPart* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPart_AddRef(IPart* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPart_Release(IPart* This) { + return This->lpVtbl->Release(This); +} +/*** IPart methods ***/ +static FORCEINLINE HRESULT IPart_GetName(IPart* This,LPWSTR *ppwstrName) { + return This->lpVtbl->GetName(This,ppwstrName); +} +static FORCEINLINE HRESULT IPart_GetLocalId(IPart* This,UINT *pnId) { + return This->lpVtbl->GetLocalId(This,pnId); +} +static FORCEINLINE HRESULT IPart_GetGlobalId(IPart* This,LPWSTR *ppwstrGlobalId) { + return This->lpVtbl->GetGlobalId(This,ppwstrGlobalId); +} +static FORCEINLINE HRESULT IPart_GetPartType(IPart* This,PartType *pPartType) { + return This->lpVtbl->GetPartType(This,pPartType); +} +static FORCEINLINE HRESULT IPart_GetSubType(IPart* This,GUID *pSubType) { + return This->lpVtbl->GetSubType(This,pSubType); +} +static FORCEINLINE HRESULT IPart_GetControlInterfaceCount(IPart* This,UINT *pCount) { + return This->lpVtbl->GetControlInterfaceCount(This,pCount); +} +static FORCEINLINE HRESULT IPart_GetControlInterface(IPart* This,UINT nIndex,IControlInterface **ppInterfaceDesc) { + return This->lpVtbl->GetControlInterface(This,nIndex,ppInterfaceDesc); +} +static FORCEINLINE HRESULT IPart_EnumPartsIncoming(IPart* This,IPartsList **ppParts) { + return This->lpVtbl->EnumPartsIncoming(This,ppParts); +} +static FORCEINLINE HRESULT IPart_EnumPartsOutgoing(IPart* This,IPartsList **ppParts) { + return This->lpVtbl->EnumPartsOutgoing(This,ppParts); +} +static FORCEINLINE HRESULT IPart_GetTopologyObjects(IPart* This,IDeviceTopology **ppTopology) { + return This->lpVtbl->GetTopologyObjects(This,ppTopology); +} +static FORCEINLINE HRESULT IPart_Activate(IPart* This,DWORD dwClsContext,REFIID refiid,void **ppvObject) { + return This->lpVtbl->Activate(This,dwClsContext,refiid,ppvObject); +} +static FORCEINLINE HRESULT IPart_RegisterControlChangeCallback(IPart* This,REFGUID riid,IControlChangeNotify *pNotify) { + return This->lpVtbl->RegisterControlChangeCallback(This,riid,pNotify); +} +static FORCEINLINE HRESULT IPart_UnregisterControlChangeCallback(IPart* This,IControlChangeNotify *pNotify) { + return This->lpVtbl->UnregisterControlChangeCallback(This,pNotify); +} +#endif +#endif + +#endif + + +#endif /* __IPart_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IConnector interface + */ +#ifndef __IConnector_INTERFACE_DEFINED__ +#define __IConnector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IConnector, 0x9c2c4058, 0x23f5, 0x41de, 0x87,0x7a, 0xdf,0x3a,0xf2,0x36,0xa0,0x9e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9c2c4058-23f5-41de-877a-df3af236a09e") +IConnector : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + ConnectorType *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataFlow( + DataFlow *pFlow) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectTo( + IConnector *pConnectTo) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsConnected( + BOOL *pbConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectedTo( + IConnector **ppConTo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectorIdConnectedTo( + LPWSTR *ppwstrConnectorId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceIdConnectedTo( + LPWSTR *ppwstrDeviceId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IConnector, 0x9c2c4058, 0x23f5, 0x41de, 0x87,0x7a, 0xdf,0x3a,0xf2,0x36,0xa0,0x9e) +#endif +#else +typedef struct IConnectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IConnector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IConnector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IConnector *This); + + /*** IConnector methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IConnector *This, + ConnectorType *pType); + + HRESULT (STDMETHODCALLTYPE *GetDataFlow)( + IConnector *This, + DataFlow *pFlow); + + HRESULT (STDMETHODCALLTYPE *ConnectTo)( + IConnector *This, + IConnector *pConnectTo); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IConnector *This); + + HRESULT (STDMETHODCALLTYPE *IsConnected)( + IConnector *This, + BOOL *pbConnected); + + HRESULT (STDMETHODCALLTYPE *GetConnectedTo)( + IConnector *This, + IConnector **ppConTo); + + HRESULT (STDMETHODCALLTYPE *GetConnectorIdConnectedTo)( + IConnector *This, + LPWSTR *ppwstrConnectorId); + + HRESULT (STDMETHODCALLTYPE *GetDeviceIdConnectedTo)( + IConnector *This, + LPWSTR *ppwstrDeviceId); + + END_INTERFACE +} IConnectorVtbl; + +interface IConnector { + CONST_VTBL IConnectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IConnector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IConnector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IConnector_Release(This) (This)->lpVtbl->Release(This) +/*** IConnector methods ***/ +#define IConnector_GetType(This,pType) (This)->lpVtbl->GetType(This,pType) +#define IConnector_GetDataFlow(This,pFlow) (This)->lpVtbl->GetDataFlow(This,pFlow) +#define IConnector_ConnectTo(This,pConnectTo) (This)->lpVtbl->ConnectTo(This,pConnectTo) +#define IConnector_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IConnector_IsConnected(This,pbConnected) (This)->lpVtbl->IsConnected(This,pbConnected) +#define IConnector_GetConnectedTo(This,ppConTo) (This)->lpVtbl->GetConnectedTo(This,ppConTo) +#define IConnector_GetConnectorIdConnectedTo(This,ppwstrConnectorId) (This)->lpVtbl->GetConnectorIdConnectedTo(This,ppwstrConnectorId) +#define IConnector_GetDeviceIdConnectedTo(This,ppwstrDeviceId) (This)->lpVtbl->GetDeviceIdConnectedTo(This,ppwstrDeviceId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IConnector_QueryInterface(IConnector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IConnector_AddRef(IConnector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IConnector_Release(IConnector* This) { + return This->lpVtbl->Release(This); +} +/*** IConnector methods ***/ +static FORCEINLINE HRESULT IConnector_GetType(IConnector* This,ConnectorType *pType) { + return This->lpVtbl->GetType(This,pType); +} +static FORCEINLINE HRESULT IConnector_GetDataFlow(IConnector* This,DataFlow *pFlow) { + return This->lpVtbl->GetDataFlow(This,pFlow); +} +static FORCEINLINE HRESULT IConnector_ConnectTo(IConnector* This,IConnector *pConnectTo) { + return This->lpVtbl->ConnectTo(This,pConnectTo); +} +static FORCEINLINE HRESULT IConnector_Disconnect(IConnector* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IConnector_IsConnected(IConnector* This,BOOL *pbConnected) { + return This->lpVtbl->IsConnected(This,pbConnected); +} +static FORCEINLINE HRESULT IConnector_GetConnectedTo(IConnector* This,IConnector **ppConTo) { + return This->lpVtbl->GetConnectedTo(This,ppConTo); +} +static FORCEINLINE HRESULT IConnector_GetConnectorIdConnectedTo(IConnector* This,LPWSTR *ppwstrConnectorId) { + return This->lpVtbl->GetConnectorIdConnectedTo(This,ppwstrConnectorId); +} +static FORCEINLINE HRESULT IConnector_GetDeviceIdConnectedTo(IConnector* This,LPWSTR *ppwstrDeviceId) { + return This->lpVtbl->GetDeviceIdConnectedTo(This,ppwstrDeviceId); +} +#endif +#endif + +#endif + + +#endif /* __IConnector_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISubUnit interface + */ +#ifndef __ISubUnit_INTERFACE_DEFINED__ +#define __ISubUnit_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISubUnit, 0x82149a85, 0xdba6, 0x4487, 0x86,0xbb, 0xea,0x8f,0x7f,0xef,0xcc,0x71); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("82149a85-dba6-4487-86bb-ea8f7fefcc71") +ISubUnit : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISubUnit, 0x82149a85, 0xdba6, 0x4487, 0x86,0xbb, 0xea,0x8f,0x7f,0xef,0xcc,0x71) +#endif +#else +typedef struct ISubUnitVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISubUnit *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISubUnit *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISubUnit *This); + + END_INTERFACE +} ISubUnitVtbl; + +interface ISubUnit { + CONST_VTBL ISubUnitVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISubUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISubUnit_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISubUnit_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISubUnit_QueryInterface(ISubUnit* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISubUnit_AddRef(ISubUnit* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISubUnit_Release(ISubUnit* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __ISubUnit_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IControlInterface interface + */ +#ifndef __IControlInterface_INTERFACE_DEFINED__ +#define __IControlInterface_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IControlInterface, 0x45d37c3f, 0x5140, 0x444a, 0xae,0x24, 0x40,0x07,0x89,0xf3,0xcb,0xf3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("45d37c3f-5140-444a-ae24-400789f3cbf3") +IControlInterface : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + LPWSTR *ppwstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIID( + GUID *pIID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IControlInterface, 0x45d37c3f, 0x5140, 0x444a, 0xae,0x24, 0x40,0x07,0x89,0xf3,0xcb,0xf3) +#endif +#else +typedef struct IControlInterfaceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IControlInterface *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IControlInterface *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IControlInterface *This); + + /*** IControlInterface methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + IControlInterface *This, + LPWSTR *ppwstrName); + + HRESULT (STDMETHODCALLTYPE *GetIID)( + IControlInterface *This, + GUID *pIID); + + END_INTERFACE +} IControlInterfaceVtbl; + +interface IControlInterface { + CONST_VTBL IControlInterfaceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IControlInterface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IControlInterface_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IControlInterface_Release(This) (This)->lpVtbl->Release(This) +/*** IControlInterface methods ***/ +#define IControlInterface_GetName(This,ppwstrName) (This)->lpVtbl->GetName(This,ppwstrName) +#define IControlInterface_GetIID(This,pIID) (This)->lpVtbl->GetIID(This,pIID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IControlInterface_QueryInterface(IControlInterface* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IControlInterface_AddRef(IControlInterface* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IControlInterface_Release(IControlInterface* This) { + return This->lpVtbl->Release(This); +} +/*** IControlInterface methods ***/ +static FORCEINLINE HRESULT IControlInterface_GetName(IControlInterface* This,LPWSTR *ppwstrName) { + return This->lpVtbl->GetName(This,ppwstrName); +} +static FORCEINLINE HRESULT IControlInterface_GetIID(IControlInterface* This,GUID *pIID) { + return This->lpVtbl->GetIID(This,pIID); +} +#endif +#endif + +#endif + + +#endif /* __IControlInterface_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IControlChangeNotify interface + */ +#ifndef __IControlChangeNotify_INTERFACE_DEFINED__ +#define __IControlChangeNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IControlChangeNotify, 0xa09513ed, 0xc709, 0x4d21, 0xbd,0x7b, 0x5f,0x34,0xc4,0x7f,0x39,0x47); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a09513ed-c709-4d21-bd7b-5f34c47f3947") +IControlChangeNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnNotify( + DWORD dwSenderProcessId, + LPCGUID ppguidEventContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IControlChangeNotify, 0xa09513ed, 0xc709, 0x4d21, 0xbd,0x7b, 0x5f,0x34,0xc4,0x7f,0x39,0x47) +#endif +#else +typedef struct IControlChangeNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IControlChangeNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IControlChangeNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IControlChangeNotify *This); + + /*** IControlChangeNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnNotify)( + IControlChangeNotify *This, + DWORD dwSenderProcessId, + LPCGUID ppguidEventContext); + + END_INTERFACE +} IControlChangeNotifyVtbl; + +interface IControlChangeNotify { + CONST_VTBL IControlChangeNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IControlChangeNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IControlChangeNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IControlChangeNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IControlChangeNotify methods ***/ +#define IControlChangeNotify_OnNotify(This,dwSenderProcessId,ppguidEventContext) (This)->lpVtbl->OnNotify(This,dwSenderProcessId,ppguidEventContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IControlChangeNotify_QueryInterface(IControlChangeNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IControlChangeNotify_AddRef(IControlChangeNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IControlChangeNotify_Release(IControlChangeNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IControlChangeNotify methods ***/ +static FORCEINLINE HRESULT IControlChangeNotify_OnNotify(IControlChangeNotify* This,DWORD dwSenderProcessId,LPCGUID ppguidEventContext) { + return This->lpVtbl->OnNotify(This,dwSenderProcessId,ppguidEventContext); +} +#endif +#endif + +#endif + + +#endif /* __IControlChangeNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDeviceTopology interface + */ +#ifndef __IDeviceTopology_INTERFACE_DEFINED__ +#define __IDeviceTopology_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDeviceTopology, 0x2a07407e, 0x6497, 0x4a18, 0x97,0x87, 0x32,0xf7,0x9b,0xd0,0xd9,0x8f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2a07407e-6497-4a18-9787-32f79bd0d98f") +IDeviceTopology : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetConnectorCount( + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnector( + UINT nIndex, + IConnector **ppConnector) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubunitCount( + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubunit( + UINT nIndex, + ISubUnit **ppConnector) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPartById( + UINT nId, + IPart **ppPart) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceId( + LPWSTR *ppwstrDeviceId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSignalPath( + IPart *pIPartFrom, + IPart *pIPartTo, + BOOL bRejectMixedPaths, + IPartsList **ppParts) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDeviceTopology, 0x2a07407e, 0x6497, 0x4a18, 0x97,0x87, 0x32,0xf7,0x9b,0xd0,0xd9,0x8f) +#endif +#else +typedef struct IDeviceTopologyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDeviceTopology *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDeviceTopology *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDeviceTopology *This); + + /*** IDeviceTopology methods ***/ + HRESULT (STDMETHODCALLTYPE *GetConnectorCount)( + IDeviceTopology *This, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetConnector)( + IDeviceTopology *This, + UINT nIndex, + IConnector **ppConnector); + + HRESULT (STDMETHODCALLTYPE *GetSubunitCount)( + IDeviceTopology *This, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetSubunit)( + IDeviceTopology *This, + UINT nIndex, + ISubUnit **ppConnector); + + HRESULT (STDMETHODCALLTYPE *GetPartById)( + IDeviceTopology *This, + UINT nId, + IPart **ppPart); + + HRESULT (STDMETHODCALLTYPE *GetDeviceId)( + IDeviceTopology *This, + LPWSTR *ppwstrDeviceId); + + HRESULT (STDMETHODCALLTYPE *GetSignalPath)( + IDeviceTopology *This, + IPart *pIPartFrom, + IPart *pIPartTo, + BOOL bRejectMixedPaths, + IPartsList **ppParts); + + END_INTERFACE +} IDeviceTopologyVtbl; + +interface IDeviceTopology { + CONST_VTBL IDeviceTopologyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDeviceTopology_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDeviceTopology_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDeviceTopology_Release(This) (This)->lpVtbl->Release(This) +/*** IDeviceTopology methods ***/ +#define IDeviceTopology_GetConnectorCount(This,pCount) (This)->lpVtbl->GetConnectorCount(This,pCount) +#define IDeviceTopology_GetConnector(This,nIndex,ppConnector) (This)->lpVtbl->GetConnector(This,nIndex,ppConnector) +#define IDeviceTopology_GetSubunitCount(This,pCount) (This)->lpVtbl->GetSubunitCount(This,pCount) +#define IDeviceTopology_GetSubunit(This,nIndex,ppConnector) (This)->lpVtbl->GetSubunit(This,nIndex,ppConnector) +#define IDeviceTopology_GetPartById(This,nId,ppPart) (This)->lpVtbl->GetPartById(This,nId,ppPart) +#define IDeviceTopology_GetDeviceId(This,ppwstrDeviceId) (This)->lpVtbl->GetDeviceId(This,ppwstrDeviceId) +#define IDeviceTopology_GetSignalPath(This,pIPartFrom,pIPartTo,bRejectMixedPaths,ppParts) (This)->lpVtbl->GetSignalPath(This,pIPartFrom,pIPartTo,bRejectMixedPaths,ppParts) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDeviceTopology_QueryInterface(IDeviceTopology* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDeviceTopology_AddRef(IDeviceTopology* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDeviceTopology_Release(IDeviceTopology* This) { + return This->lpVtbl->Release(This); +} +/*** IDeviceTopology methods ***/ +static FORCEINLINE HRESULT IDeviceTopology_GetConnectorCount(IDeviceTopology* This,UINT *pCount) { + return This->lpVtbl->GetConnectorCount(This,pCount); +} +static FORCEINLINE HRESULT IDeviceTopology_GetConnector(IDeviceTopology* This,UINT nIndex,IConnector **ppConnector) { + return This->lpVtbl->GetConnector(This,nIndex,ppConnector); +} +static FORCEINLINE HRESULT IDeviceTopology_GetSubunitCount(IDeviceTopology* This,UINT *pCount) { + return This->lpVtbl->GetSubunitCount(This,pCount); +} +static FORCEINLINE HRESULT IDeviceTopology_GetSubunit(IDeviceTopology* This,UINT nIndex,ISubUnit **ppConnector) { + return This->lpVtbl->GetSubunit(This,nIndex,ppConnector); +} +static FORCEINLINE HRESULT IDeviceTopology_GetPartById(IDeviceTopology* This,UINT nId,IPart **ppPart) { + return This->lpVtbl->GetPartById(This,nId,ppPart); +} +static FORCEINLINE HRESULT IDeviceTopology_GetDeviceId(IDeviceTopology* This,LPWSTR *ppwstrDeviceId) { + return This->lpVtbl->GetDeviceId(This,ppwstrDeviceId); +} +static FORCEINLINE HRESULT IDeviceTopology_GetSignalPath(IDeviceTopology* This,IPart *pIPartFrom,IPart *pIPartTo,BOOL bRejectMixedPaths,IPartsList **ppParts) { + return This->lpVtbl->GetSignalPath(This,pIPartFrom,pIPartTo,bRejectMixedPaths,ppParts); +} +#endif +#endif + +#endif + + +#endif /* __IDeviceTopology_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_DevTopologyLib, 0x51b9a01d, 0x8181, 0x4363, 0xb5,0x9c, 0xe6,0x78,0xf4,0x76,0xdd,0x0e); + +/***************************************************************************** + * DeviceTopology coclass + */ + +DEFINE_GUID(CLSID_DeviceTopology, 0x1df639d0, 0x5ec1, 0x47aa, 0x93,0x79, 0x82,0x8d,0xc1,0xaa,0x8c,0x59); + +#ifdef __cplusplus +class DECLSPEC_UUID("1df639d0-5ec1-47aa-9379-828dc1aa8c59") DeviceTopology; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DeviceTopology, 0x1df639d0, 0x5ec1, 0x47aa, 0x93,0x79, 0x82,0x8d,0xc1,0xaa,0x8c,0x59) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __devicetopology_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devicetopology.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devicetopology.idl new file mode 100644 index 0000000..3ff3027 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devicetopology.idl @@ -0,0 +1,737 @@ +/* + * Core Audio device topology definitions + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +interface IPart; +interface IControlInterface; +interface IDeviceTopology; +interface IControlChangeNotify; + +import "oaidl.idl"; +import "ocidl.idl"; +import "propidl.idl"; + +cpp_quote("#ifndef E_NOTFOUND") +cpp_quote("#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND)") +cpp_quote("#endif") + +cpp_quote("#define DEVTOPO_HARDWARE_INITIATED_EVENTCONTEXT 0x64726148 /* 'draH' */") +cpp_quote("DEFINE_GUID(EVENTCONTEXT_VOLUMESLIDER, 0xe2c2e9de, 0x09b1, 0x4b04,0x84,0xe5, 0x07, 0x93, 0x12, 0x25, 0xee, 0x04);") + +cpp_quote("#define _IKsControl_") +cpp_quote("#include ") +cpp_quote("#include ") +cpp_quote("#ifndef _KS_") + +typedef struct { + ULONG FormatSize; + ULONG Flags; + ULONG SampleSize; + ULONG Reserved; + GUID MajorFormat; + GUID SubFormat; + GUID Specifier; +} KSDATAFORMAT; + +typedef KSDATAFORMAT *PKSDATAFORMAT; + +typedef struct +{ + union + { + struct { + GUID Set; + ULONG Id; + ULONG Flags; + }; + LONGLONG Alignment; + }; +} KSIDENTIFIER; + +typedef KSIDENTIFIER KSPROPERTY, *PKSPROPERTY; +typedef KSIDENTIFIER KSMETHOD, *PKSMETHOD; +typedef KSIDENTIFIER KSEVENT, *PKSEVENT; + +typedef enum +{ + eConnTypeUnknown = 0, + eConnType3Point5mm, + eConnTypeQuarter, + eConnTypeAtapiInternal, + eConnTypeRCA, + eConnTypeOptical, + eConnTypeOtherDigital, + eConnTypeOtherAnalog, + eConnTypeMultichannelAnalogDIN, + eConnTypeXlrProfessional, + eConnTypeRJ11Modem, + eConnTypeCombination +} EPcxConnectionType; + +typedef enum +{ + eGeoLocRear = 1, + eGeoLocFront, + eGeoLocLeft, + eGeoLocRight, + eGeoLocTop, + eGeoLocBottom, + eGeoLocRearPanel, + eGeoLocRiser, + eGeoLocInsideMobileLid, + eGeoLocDrivebay, + eGeoLocHDMI, + eGeoLocOutsideMobileLid, + eGeoLocATAPI, + eGeoLocReserved5, + eGeoLocReserved6 +} EPcxGeoLocation; + +typedef enum +{ + eGenLocPrimaryBox = 0, + eGenLocInternal, + eGenLocSeparate, + eGenLocOther +} EPcxGenLocation; + +typedef enum +{ + ePortConnJack = 0, + ePortConnIntegratedDevice, + ePortConnBothIntegratedAndJack, + ePortConnUnknown +} EPxcPortConnection; + +typedef struct +{ + DWORD ChannelMapping; + COLORREF Color; + EPcxConnectionType ConnectionType; + EPcxGeoLocation GeoLocation; + EPcxGenLocation GenLocation; + EPxcPortConnection PortConnection; + BOOL IsConnected; +} KSJACK_DESCRIPTION; + +typedef KSJACK_DESCRIPTION *PKSJACK_DESCRIPTION; + +typedef struct _LUID +{ + DWORD LowPart; + LONG HighPart; +} LUID; + +typedef struct _LUID *PLUID; + +typedef enum +{ + KSJACK_SINK_CONNECTIONTYPE_HDMI = 0, + KSJACK_SINK_CONNECTIONTYPE_DISPLAYPORT +} KSJACK_SINK_CONNECTIONTYPE; + +typedef struct _tagKSJACK_SINK_INFORMATION +{ + KSJACK_SINK_CONNECTIONTYPE ConnType; + WORD ManufacturerId; + WORD ProductId; + WORD AudioLatency; + BOOL HDCPCapable; + BOOL AICapable; + UCHAR SinkDescriptionLength; + WCHAR SinkDescription[32]; + LUID PortId; +} KSJACK_SINK_INFORMATION; + +typedef struct _tagKSJACK_DESCRIPTION2 +{ + DWORD DeviceStateInfo; + DWORD JackCapabilities; +} KSJACK_DESCRIPTION2; + +typedef struct _tagKSJACK_DESCRIPTION2 *PKSJACK_DESCRIPTION2; + +cpp_quote("#endif") + +typedef enum +{ + In = 0, + Out +} DataFlow; + +typedef enum +{ + Connector = 0, + Subunit +} PartType; + +typedef enum +{ + Unknown_Connector = 0, + Physical_Internal, + Physical_External, + Software_IO, + Software_Fixed, + Network +} ConnectorType; + +[ + pointer_default(unique), + nonextensible, + uuid(28f54685-06fd-11d2-b27a-00a0c9223196), + local, + object +] +interface IKsControl : IUnknown +{ + HRESULT KsProperty( + [in] PKSPROPERTY Property, + [in] ULONG PropertyLength, + [in,out] void *PropertyData, + [in] ULONG DataLength, + [out] ULONG *BytesReturned + ); + HRESULT KsMethod( + [in] PKSMETHOD Method, + [in] ULONG MethodLength, + [in,out] void *MethodData, + [in] ULONG DataLength, + [out] ULONG *BytesReturned + ); + HRESULT KsEvent( + [in] PKSEVENT Event, + [in] ULONG EventLength, + [in,out] void *EventData, + [in] ULONG DataLength, + [out] ULONG *BytesReturned + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(c2f8e001-f205-4bc9-99bc-c13b1e048ccb), + local, + object +] +interface IPerChannelDbLevel : IUnknown +{ + HRESULT GetChannelCount( + [out] UINT *pcChannels + ); + HRESULT GetLevelRange( + [in] UINT nChannel, + [out] float *pfMinLevelDB, + [out] float *pfMaxLevelDB, + [out] float *pfStepping + ); + HRESULT GetLevel( + [in] UINT nChannel, + [out] float *pfLevelDB + ); + HRESULT SetLevel( + [in] UINT nChannel, + [in] float fLevelDB, + [in,unique] LPCGUID pguidEventContext + ); + HRESULT SetLevelUniform( + [in] float fLevelDB, + [in,unique] LPCGUID pguidEventContext + ); + HRESULT SetLevelAllChannels( + [size_is(cChannels),in] float *aLevelsDB, + [in] ULONG cChannels, + [in] LPCGUID pguidEventContext + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(7fb7b48f-531d-44a2-bcb3-5ad5a134b3dc), + local, + object +] +interface IAudioVolumeLevel : IPerChannelDbLevel +{ + /* Empty */ +} + +[ + pointer_default(unique), + nonextensible, + uuid(bb11c46f-ec28-493c-b88a-5db88062ce98), + local, + object +] +interface IAudioChannelConfig : IUnknown +{ + HRESULT SetChannelConfig( + [in] DWORD dwConfig, + [in] LPCGUID pguidEventContext + ); + HRESULT GetChannelConfig( + [in] DWORD dwConfig, + [retval,out] DWORD *pdwConfig + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(7d8b1437-dd53-4350-9c1b-1ee2890bf938), + local, + object +] +interface IAudioLoudness : IUnknown +{ + HRESULT GetEnabled( + [out] BOOL *pbEnabled + ); + HRESULT SetEnabled( + [in] BOOL bEnabled, + [in] LPCGUID pguidEventContext + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(4f03dc02-5e6e-4653-8f72-a030c123d598), + local, + object +] +interface IAudioInputSelector : IUnknown +{ + HRESULT GetSelection( + [out] UINT *pnIdSelected + ); + HRESULT SetSelection( + [in] UINT nIdSelect, + [unique,in] LPCGUID pguidEventContext + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(bb515f69-94a7-429e-8b9c-271b3f11a3ab), + local, + object +] +interface IAudioOutputSelector : IUnknown +{ + HRESULT GetSelection( + [out] UINT *pnIdSelected + ); + HRESULT SetSelection( + [in] UINT nIdSelect, + [unique,in] LPCGUID pguidEventContext + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(df45aeea-b74a-4b6b-afad-2366b6aa012e), + local, + object +] +interface IAudioMute : IUnknown +{ + HRESULT SetMute( + [in] BOOL bMute, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT GetMute( + [out] BOOL *pbMute + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(a2b1a1d9-4db3-425d-a2b2-bd335cb3e2e5), + local, + object +] +interface IAudioBass : IPerChannelDbLevel +{ + /* Empty */ +} + +[ + pointer_default(unique), + nonextensible, + uuid(5e54b6d7-b44b-40d9-9a9e-e691d9ce6edf), + local, + object +] +interface IAudioMidRange : IPerChannelDbLevel +{ + /* Empty */ +} + +[ + pointer_default(unique), + nonextensible, + uuid(0a717812-694e-4907-b74b-bafa5cfdca7b), + local, + object +] +interface IAudioTreble : IPerChannelDbLevel +{ + /* Empty */ +} + +[ + pointer_default(unique), + nonextensible, + uuid(85401fd4-6de4-4b9d-9869-2d6753a82f3c), + local, + object +] +interface IAudioAutoGainControl : IUnknown +{ + HRESULT GetEnabled( + [in] BOOL bEnabled, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT GetMute( + [out] BOOL *pbEnabled + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(dd79923c-0599-45e0-b8b6-c8df7db6e796), + local, + object +] +interface IAudioPeakMeter : IUnknown +{ + HRESULT GetChannelCount( + [out] UINT *pcChannels + ); + HRESULT GetLevel( + [in] UINT nChannel, + [out] float *pfLevel + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(3b22bcbf-2586-4af0-8583-205d391b807c), + local, + object +] +interface IDeviceSpecificProperty : IUnknown +{ + HRESULT GetType( + [out] VARTYPE *pVType + ); + HRESULT GetValue( + [out] VARTYPE *pvType, + [out,in] DWORD *pcbValue + ); + HRESULT SetValue( + [in] void *pvValue, + [in] DWORD cbValue, + [in] LPCGUID pguidEventContext + ); + HRESULT Get4BRange( + [out] LONG *plMin, + [out] LONG *plMax, + [out] LONG *plStepping + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(3cb4a69d-bb6f-4d2b-95b7-452d2c155db5), + local, + object +] +interface IKsFormatSupport : IUnknown +{ + HRESULT IsFormatSupported( + [size_is(cbFormat),in] PKSDATAFORMAT pKsFormat, + [in] DWORD cbFormat, + [out] BOOL *pbSupported + ); + HRESULT GetDevicePreferredFormat( + [out] PKSDATAFORMAT *ppKsFormat + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(4509f757-2d46-4637-8e62-ce7db944f57b), + local, + object +] +interface IKsJackDescription : IUnknown +{ + HRESULT GetJackCount( + [out] UINT *pcJacks + ); + HRESULT GetJackDescription( + [in] UINT nJack, + [out] KSJACK_DESCRIPTION *pDescription + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(478f3a9b-e0c9-4827-9228-6f5505ffe76a), + local, + object +] +interface IKsJackDescription2 : IUnknown +{ + HRESULT GetJackCount( + [out] UINT *pcJacks + ); + HRESULT GetJackDescription2( + [in] UINT nJack, + [out] KSJACK_DESCRIPTION2 *pDescription2 + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(d9bd72ed-290f-4581-9ff3-61027a8fe532), + local, + object +] +interface IKsJackSinkInformation : IUnknown +{ + HRESULT GetJackSinkInformation( + [out] KSJACK_SINK_INFORMATION *pJackSinkInformation + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(6daa848c-5eb0-45cc-aea5-998a2cda1ffb), + local, + object +] +interface IPartsList : IUnknown +{ + HRESULT GetCount( + [out] UINT *pCount + ); + HRESULT GetPart( + [in] UINT nIndex, + [out] IPart **ppPart + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9), + local, + object +] +interface IPart : IUnknown +{ + HRESULT GetName( + [out] LPWSTR *ppwstrName + ); + HRESULT GetLocalId( + [out] UINT *pnId + ); + HRESULT GetGlobalId( + [out] LPWSTR *ppwstrGlobalId + ); + HRESULT GetPartType( + [out] PartType *pPartType + ); + HRESULT GetSubType( + [out] GUID *pSubType + ); + HRESULT GetControlInterfaceCount( + [out] UINT *pCount + ); + HRESULT GetControlInterface( + [in] UINT nIndex, + [out] IControlInterface **ppInterfaceDesc + ); + HRESULT EnumPartsIncoming( + [out] IPartsList **ppParts + ); + HRESULT EnumPartsOutgoing( + [out] IPartsList **ppParts + ); + HRESULT GetTopologyObjects( + [out] IDeviceTopology **ppTopology + ); + HRESULT Activate( + [in] DWORD dwClsContext, + [in] REFIID refiid, + [iid_is(refiid),out] void **ppvObject + ); + HRESULT RegisterControlChangeCallback( + [in] REFGUID riid, + [in] IControlChangeNotify *pNotify + ); + HRESULT UnregisterControlChangeCallback( + [in] IControlChangeNotify *pNotify + ); +}; + +[ + pointer_default(unique), + nonextensible, + uuid(9c2c4058-23f5-41de-877a-df3af236a09e), + local, + object +] +interface IConnector : IUnknown +{ + HRESULT GetType( + [out] ConnectorType *pType + ); + HRESULT GetDataFlow( + [out] DataFlow *pFlow + ); + HRESULT ConnectTo( + [in] IConnector *pConnectTo + ); + HRESULT Disconnect(void); + HRESULT IsConnected( + [out] BOOL *pbConnected + ); + HRESULT GetConnectedTo( + [out] IConnector **ppConTo + ); + HRESULT GetConnectorIdConnectedTo( + [out] LPWSTR *ppwstrConnectorId + ); + HRESULT GetDeviceIdConnectedTo( + [out] LPWSTR *ppwstrDeviceId + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(82149a85-dba6-4487-86bb-ea8f7fefcc71), + local, + object +] +interface ISubUnit: IUnknown +{ + /* Empty IUnknown interface.. */ +} + +[ + pointer_default(unique), + nonextensible, + uuid(45d37c3f-5140-444a-ae24-400789f3cbf3), + local, + object +] +interface IControlInterface : IUnknown +{ + HRESULT GetName( + [out] LPWSTR *ppwstrName + ); + HRESULT GetIID( + [out] GUID *pIID + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(a09513ed-c709-4d21-bd7b-5f34c47f3947), + local, + object +] +interface IControlChangeNotify : IUnknown +{ + HRESULT OnNotify( + [in] DWORD dwSenderProcessId, + [in] LPCGUID ppguidEventContext + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(2a07407e-6497-4a18-9787-32f79bd0d98f), + local, + object +] +interface IDeviceTopology : IUnknown +{ + HRESULT GetConnectorCount( + [out] UINT *pCount + ); + HRESULT GetConnector( + [in] UINT nIndex, + [out] IConnector **ppConnector + ); + HRESULT GetSubunitCount( + [out] UINT *pCount + ); + HRESULT GetSubunit( + [in] UINT nIndex, + [out] ISubUnit **ppConnector + ); + HRESULT GetPartById( + [in] UINT nId, + [out] IPart **ppPart + ); + HRESULT GetDeviceId( + [out] LPWSTR *ppwstrDeviceId + ); + HRESULT GetSignalPath( + [in] IPart *pIPartFrom, + [in] IPart *pIPartTo, + [in] BOOL bRejectMixedPaths, + [out] IPartsList **ppParts + ); +} + +[ + uuid(51b9a01d-8181-4363-b59c-e678f476dd0e), + version(1.0) +] +library DevTopologyLib +{ + [ + uuid(1df639d0-5ec1-47aa-9379-828dc1aa8c59), + ] + coclass DeviceTopology + { + interface IDeviceTopology; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devpkey.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devpkey.h new file mode 100644 index 0000000..648ef42 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devpkey.h @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2010 Maarten Lankhorst for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include + +/* TODO: Not all DEVPROPKEYS have been defined here */ + +DEFINE_DEVPROPKEY(DEVPKEY_NAME, 0xb725f130,0x47ef,0x101a,0xa5,0xf1,0x02,0x60,0x8c,0x9e,0xeb,0xac, 10); + +DEFINE_DEVPROPKEY(DEVPKEY_Device_DeviceDesc, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 2); +DEFINE_DEVPROPKEY(DEVPKEY_Device_HardwareIds, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 3); +DEFINE_DEVPROPKEY(DEVPKEY_Device_CompatibleIds, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 4); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Service, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 6); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Class, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 9); +DEFINE_DEVPROPKEY(DEVPKEY_Device_ClassGuid, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 10); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Driver, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 11); +DEFINE_DEVPROPKEY(DEVPKEY_Device_ConfigFlags, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 12); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Manufacturer, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 13); +DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 14); +DEFINE_DEVPROPKEY(DEVPKEY_Device_LocationInfo, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 15); +DEFINE_DEVPROPKEY(DEVPKEY_Device_PDOName, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 16); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Capabilities, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 17); +DEFINE_DEVPROPKEY(DEVPKEY_Device_UINumber, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 18); +DEFINE_DEVPROPKEY(DEVPKEY_Device_UpperFilters, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 19); +DEFINE_DEVPROPKEY(DEVPKEY_Device_LowerFilters, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 20); +DEFINE_DEVPROPKEY(DEVPKEY_Device_BusTypeGuid, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 21); +DEFINE_DEVPROPKEY(DEVPKEY_Device_LegacyBusType, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 22); +DEFINE_DEVPROPKEY(DEVPKEY_Device_BusNumber, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 23); +DEFINE_DEVPROPKEY(DEVPKEY_Device_EnumeratorName, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 24); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Security, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 25); +DEFINE_DEVPROPKEY(DEVPKEY_Device_SecuritySDS, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 26); +DEFINE_DEVPROPKEY(DEVPKEY_Device_DevType, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 27); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Exclusive, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 28); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Characteristics, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 29); +DEFINE_DEVPROPKEY(DEVPKEY_Device_Address, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 30); +DEFINE_DEVPROPKEY(DEVPKEY_Device_UINumberDescFormat, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 31); +DEFINE_DEVPROPKEY(DEVPKEY_Device_PowerData, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 32); +DEFINE_DEVPROPKEY(DEVPKEY_Device_RemovalPolicy, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 33); +DEFINE_DEVPROPKEY(DEVPKEY_Device_RemovalPolicyDefault, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 34); +DEFINE_DEVPROPKEY(DEVPKEY_Device_RemovalPolicyOverride, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 35); +DEFINE_DEVPROPKEY(DEVPKEY_Device_InstallState, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 36); +DEFINE_DEVPROPKEY(DEVPKEY_Device_LocationPaths, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 37); +DEFINE_DEVPROPKEY(DEVPKEY_Device_BaseContainerId, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 38); + +DEFINE_DEVPROPKEY(DEVPKEY_DeviceInterface_FriendlyName, 0x026e516e,0xb814,0x414b,0x83,0xcd,0x85,0x6d,0x6f,0xef,0x48,0x22, 2); +DEFINE_DEVPROPKEY(DEVPKEY_DeviceInterface_Enabled, 0x026e516e,0xb814,0x414b,0x83,0xcd,0x85,0x6d,0x6f,0xef,0x48,0x22, 3); +DEFINE_DEVPROPKEY(DEVPKEY_DeviceInterface_ClassGuid, 0x026e516e,0xb814,0x414b,0x83,0xcd,0x85,0x6d,0x6f,0xef,0x48,0x22, 4); diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devpropdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devpropdef.h new file mode 100644 index 0000000..8db292c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/devpropdef.h @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2010 Maarten Lankhorst for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _DEVPROPDEF_H_ +#define _DEVPROPDEF_H_ + +typedef ULONG DEVPROPTYPE, *PDEVPROPTYPE; + +#define DEVPROP_TYPEMOD_ARRAY 0x1000 +#define DEVPROP_TYPEMOD_LIST 0x2000 +#define MAX_DEVPROP_TYPEMOD DEVPROP_TYPEMOD_LIST + +#define DEVPROP_TYPE_EMPTY 0x00 +#define DEVPROP_TYPE_NULL 0x01 +#define DEVPROP_TYPE_SBYTE 0x02 +#define DEVPROP_TYPE_BYTE 0x03 +#define DEVPROP_TYPE_INT16 0x04 +#define DEVPROP_TYPE_UINT16 0x05 +#define DEVPROP_TYPE_INT32 0x06 +#define DEVPROP_TYPE_UINT32 0x07 +#define DEVPROP_TYPE_INT64 0x08 +#define DEVPROP_TYPE_UINT64 0x09 +#define DEVPROP_TYPE_FLOAT 0x0a +#define DEVPROP_TYPE_DOUBLE 0x0b +#define DEVPROP_TYPE_DECIMAL 0x0c +#define DEVPROP_TYPE_GUID 0x0d +#define DEVPROP_TYPE_CURRENCY 0x0e +#define DEVPROP_TYPE_DATE 0x0f +#define DEVPROP_TYPE_FILETIME 0x10 +#define DEVPROP_TYPE_BOOLEAN 0x11 +#define DEVPROP_TYPE_STRING 0x12 +#define DEVPROP_TYPE_STRING_LIST (DEVPROP_TYPE_STRING|DEVPROP_TYPEMOD_LIST) +#define DEVPROP_TYPE_SECURITY_DESCRIPTOR 0x13 +#define DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING 0x14 +#define DEVPROP_TYPE_DEVPROPKEY 0x15 +#define DEVPROP_TYPE_DEVPROPTYPE 0x16 +#define DEVPROP_TYPE_BINARY (DEVPROP_TYPE_BYTE|DEVPROP_TYPEMOD_ARRAY) +#define DEVPROP_TYPE_ERROR 0x17 +#define DEVPROP_TYPE_NTSTATUS 0x18 +#define DEVPROP_TYPE_STRING_INDIRECT 0x19 +#define MAX_DEVPROP_TYPE DEVPROP_TYPE_STRING_INDIRECT + +#define DEVPROP_MASK_TYPE 0x0fff +#define DEVPROP_MASK_TYPEMOD 0xf000 + +typedef CHAR DEVPROP_BOOLEAN, *PDEVPROP_BOOLEAN; +#define DEVPROP_TRUE ((DEVPROP_BOOLEAN)-1) +#define DEVPROP_FALSE ((DEVPROP_BOOLEAN)0) + +#ifndef DEVPROPKEY_DEFINED +#define DEVPROPKEY_DEFINED +typedef GUID DEVPROPGUID, *PDEVPROPGUID; +typedef ULONG DEVPROPID, *PDEVPROPID; + +typedef struct _DEVPROPKEY { + DEVPROPGUID fmtid; + DEVPROPID pid; +} DEVPROPKEY, *PDEVPROPKEY; + +#define DEVPROPID_FIRST_USABLE 2 + +#endif /*DEVPROPKEY_DEFINED*/ + +#endif /*_DEVPROPDEF_H_*/ + +#undef DEFINE_DEVPROPKEY +#ifdef INITGUID +#ifdef __cplusplus +#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \ + EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \ + EXTERN_C const DEVPROPKEY name = \ + { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid } +#else +#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \ + const DEVPROPKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \ + const DEVPROPKEY name = \ + { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid } +#endif +#else +#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \ + EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY +#endif + +#ifndef IsEqualDevPropKey +#ifdef __cplusplus +#define IsEqualDevPropKey(a,b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid,(b).fmtid)) +#else +#define IsEqualDevPropKey(a,b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid,&(b).fmtid)) +#endif +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dhcpcsdk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dhcpcsdk.h new file mode 100644 index 0000000..93c7af6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dhcpcsdk.h @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _DHCPCSDK_ +#define _DHCPCSDK_ + +typedef struct _DHCPAPI_PARAMS +{ + ULONG Flags; + ULONG OptionId; + BOOL IsVendor; + BYTE *Data; + DWORD nBytesData; +} DHCPAPI_PARAMS, *PDHCPAPI_PARAMS, *LPDHCPAPI_PARAMS; + +typedef struct _DHCPAPI_PARAMS DHCPCAPI_PARAMS, *PDHCPCAPI_PARAMS, *LPDHCPCAPI_PARAMS; + +typedef struct _DHCPCAPI_PARAMS_ARARAY +{ + ULONG nParams; + LPDHCPCAPI_PARAMS Params; +} DHCPCAPI_PARAMS_ARRAY, *PDHCPCAPI_PARAMS_ARRAY, *LPDHCPCAPI_PARAMS_ARRAY; + +typedef struct _DHCPCAPI_CLASSID +{ + ULONG Flags; + BYTE *Data; + ULONG nBytesData; +} DHCPCAPI_CLASSID, *PDHCPCAPI_CLASSID, *LPDHCPCAPI_CLASSID; + + +DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adaptername, DHCPCAPI_CLASSID *classid, + DHCPCAPI_PARAMS_ARRAY sendparams, DHCPCAPI_PARAMS_ARRAY recdparams, + BYTE *buffer, DWORD *size, WCHAR *requestidstr ); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/difxapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/difxapi.h new file mode 100644 index 0000000..21d43c9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/difxapi.h @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2013 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DIFXAPI_H +#define __WINE_DIFXAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _INSTALLERINFO_A +{ + PSTR pApplicationId; + PSTR pDisplayName; + PSTR pProductName; + PSTR pMfgName; +} INSTALLERINFO_A, *PINSTALLERINFO_A; +typedef const PINSTALLERINFO_A PCINSTALLERINFO_A; + +typedef struct _INSTALLERINFO_W +{ + PWSTR pApplicationId; + PWSTR pDisplayName; + PWSTR pProductName; + PWSTR pMfgName; +} INSTALLERINFO_W, *PINSTALLERINFO_W; +typedef const PINSTALLERINFO_W PCINSTALLERINFO_W; + +typedef enum _DIFXAPI_LOG +{ + DIFXAPI_SUCCESS, + DIFXAPI_INFO, + DIFXAPI_WARNING, + DIFXAPI_ERROR, +} DIFXAPI_LOG; + +typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID); +typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID); +typedef VOID (CALLBACK *DIFXLOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID); +typedef VOID (CALLBACK *DIFXLOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID); + +VOID WINAPI DIFXAPISetLogCallbackA(DIFXAPILOGCALLBACK_A,VOID*); +VOID WINAPI DIFXAPISetLogCallbackW(DIFXAPILOGCALLBACK_W,VOID*); +DWORD WINAPI DriverPackageGetPathA(PCSTR,PSTR,DWORD*); +DWORD WINAPI DriverPackageGetPathW(PCWSTR,PWSTR,DWORD*); +DWORD WINAPI DriverPackageInstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*); +DWORD WINAPI DriverPackageInstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*); +DWORD WINAPI DriverPackagePreinstallA(PCSTR,DWORD); +DWORD WINAPI DriverPackagePreinstallW(PCWSTR,DWORD); +DWORD WINAPI DriverPackageUninstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*); +DWORD WINAPI DriverPackageUninstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*); +VOID WINAPI SetDifxLogCallbackA(DIFXLOGCALLBACK_A,VOID*); +VOID WINAPI SetDifxLogCallbackW(DIFXLOGCALLBACK_W,VOID*); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DIFXAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/digitalv.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/digitalv.h new file mode 100644 index 0000000..b2930fe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/digitalv.h @@ -0,0 +1,870 @@ +/* + * Copyright (C) 1999 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DIGITALV_H +#define __WINE_DIGITALV_H + +/* + * Wine Digital Video extensions + */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define MCI_TEST __MSABI_LONG(0x00000020) + +/* Message values */ + +#define MCI_CAPTURE 0x0870 +#define MCI_MONITOR 0x0871 +#define MCI_RESERVE 0x0872 +#define MCI_SETAUDIO 0x0873 +#define MCI_SIGNAL 0x0875 +#define MCI_SETVIDEO 0x0876 +#define MCI_QUALITY 0x0877 +#define MCI_LIST 0x0878 +#define MCI_UNDO 0x0879 +#define MCI_CONFIGURE 0x087A +#define MCI_RESTORE 0x087B + +/* Return and string constant values */ + +#define MCI_ON 1 +#define MCI_OFF 0 + +#define MCI_DGV_FILE_MODE_SAVING 0x0001 +#define MCI_DGV_FILE_MODE_LOADING 0x0002 +#define MCI_DGV_FILE_MODE_EDITING 0x0003 +#define MCI_DGV_FILE_MODE_IDLE 0x0004 + +/* These identifiers are used only by device drivers */ + +#define MCI_ON_S __MSABI_LONG(0x00008000) +#define MCI_OFF_S __MSABI_LONG(0x00008001) +#define MCI_DGV_FILE_S __MSABI_LONG(0x00008002) +#define MCI_DGV_INPUT_S __MSABI_LONG(0x00008003) + +#define MCI_DGV_FILE_MODE_SAVING_S __MSABI_LONG(0x00008004) +#define MCI_DGV_FILE_MODE_LOADING_S __MSABI_LONG(0x00008005) +#define MCI_DGV_FILE_MODE_EDITING_S __MSABI_LONG(0x00008006) +#define MCI_DGV_FILE_MODE_IDLE_S __MSABI_LONG(0x00008007) + +#define MCI_DGV_SETVIDEO_SRC_NTSC_S __MSABI_LONG(0x00008010) +#define MCI_DGV_SETVIDEO_SRC_RGB_S __MSABI_LONG(0x00008011) +#define MCI_DGV_SETVIDEO_SRC_SVIDEO_S __MSABI_LONG(0x00008012) +#define MCI_DGV_SETVIDEO_SRC_PAL_S __MSABI_LONG(0x00008013) +#define MCI_DGV_SETVIDEO_SRC_SECAM_S __MSABI_LONG(0x00008014) +#define MCI_DGV_SETVIDEO_SRC_GENERIC_S __MSABI_LONG(0x00008015) + +#define MCI_DGV_SETAUDIO_SRC_LEFT_S __MSABI_LONG(0x00008020) +#define MCI_DGV_SETAUDIO_SRC_RIGHT_S __MSABI_LONG(0x00008021) +#define MCI_DGV_SETAUDIO_SRC_AVERAGE_S __MSABI_LONG(0x00008022) +#define MCI_DGV_SETAUDIO_SRC_STEREO_S __MSABI_LONG(0x00008023) + +/* Window message for signal notification */ + +#ifndef MM_MCISIGNAL +#define MM_MCISIGNAL 0x3CB +#endif + +/* error values */ + +#define MCIERR_DGV_DEVICE_LIMIT (MCIERR_CUSTOM_DRIVER_BASE+0) +#define MCIERR_DGV_IOERR (MCIERR_CUSTOM_DRIVER_BASE+1) +#define MCIERR_DGV_WORKSPACE_EMPTY (MCIERR_CUSTOM_DRIVER_BASE+2) +#define MCIERR_DGV_DISK_FULL (MCIERR_CUSTOM_DRIVER_BASE+3) +#define MCIERR_DGV_DEVICE_MEMORY_FULL (MCIERR_CUSTOM_DRIVER_BASE+4) +#define MCIERR_DGV_BAD_CLIPBOARD_RANGE (MCIERR_CUSTOM_DRIVER_BASE+5) + +/* defines for monitor methods */ + +#define MCI_DGV_METHOD_PRE __MSABI_LONG(0x0000a000) +#define MCI_DGV_METHOD_POST __MSABI_LONG(0x0000a001) +#define MCI_DGV_METHOD_DIRECT __MSABI_LONG(0x0000a002) + +/* defines for known file formats */ + +#define MCI_DGV_FF_AVSS __MSABI_LONG(0x00004000) +#define MCI_DGV_FF_AVI __MSABI_LONG(0x00004001) +#define MCI_DGV_FF_DIB __MSABI_LONG(0x00004002) +#define MCI_DGV_FF_RDIB __MSABI_LONG(0x00004003) +#define MCI_DGV_FF_JPEG __MSABI_LONG(0x00004004) +#define MCI_DGV_FF_RJPEG __MSABI_LONG(0x00004005) +#define MCI_DGV_FF_JFIF __MSABI_LONG(0x00004006) +#define MCI_DGV_FF_MPEG __MSABI_LONG(0x00004007) + +/* values for dwItem field of MCI_CAPABILITY_PARMS structure */ + +#define MCI_DGV_GETDEVCAPS_CAN_LOCK __MSABI_LONG(0x00004000) +#define MCI_DGV_GETDEVCAPS_CAN_STRETCH __MSABI_LONG(0x00004001) +#define MCI_DGV_GETDEVCAPS_CAN_FREEZE __MSABI_LONG(0x00004002) +#define MCI_DGV_GETDEVCAPS_MAX_WINDOWS __MSABI_LONG(0x00004003) +#define MCI_DGV_GETDEVCAPS_CAN_REVERSE __MSABI_LONG(0x00004004) +#define MCI_DGV_GETDEVCAPS_HAS_STILL __MSABI_LONG(0x00004005) +#define MCI_DGV_GETDEVCAPS_PALETTES __MSABI_LONG(0x00004006) +#define MCI_DGV_GETDEVCAPS_CAN_STR_IN __MSABI_LONG(0x00004008) +#define MCI_DGV_GETDEVCAPS_CAN_TEST __MSABI_LONG(0x00004009) +#define MCI_DGV_GETDEVCAPS_MAXIMUM_RATE __MSABI_LONG(0x0000400a) +#define MCI_DGV_GETDEVCAPS_MINIMUM_RATE __MSABI_LONG(0x0000400b) + +/* flags for dwFlags parameter of MCI_CAPTURE command message */ + +#define MCI_DGV_CAPTURE_AS __MSABI_LONG(0x00010000) +#define MCI_DGV_CAPTURE_AT __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameter of MCI_COPY command message */ + +#define MCI_DGV_COPY_AT __MSABI_LONG(0x00010000) +#define MCI_DGV_COPY_AUDIO_STREAM __MSABI_LONG(0x00020000) +#define MCI_DGV_COPY_VIDEO_STREAM __MSABI_LONG(0x00040000) + +/* flags for dwFlags parameter of MCI_CUE command message */ + +#define MCI_DGV_CUE_INPUT __MSABI_LONG(0x00010000) +#define MCI_DGV_CUE_OUTPUT __MSABI_LONG(0x00020000) +#define MCI_DGV_CUE_NOSHOW __MSABI_LONG(0x00040000) + +/* flags for dwFlags parameter of MCI_CUT command message */ + +#define MCI_DGV_CUT_AT __MSABI_LONG(0x00010000) +#define MCI_DGV_CUT_AUDIO_STREAM __MSABI_LONG(0x00020000) +#define MCI_DGV_CUT_VIDEO_STREAM __MSABI_LONG(0x00040000) + +/* flags for dwFlags parameter of MCI_DELETE command message */ + +#define MCI_DGV_DELETE_AT __MSABI_LONG(0x00010000) +#define MCI_DGV_DELETE_AUDIO_STREAM __MSABI_LONG(0x00020000) +#define MCI_DGV_DELETE_VIDEO_STREAM __MSABI_LONG(0x00040000) + +/* flags for dwFlags parameter of MCI_FREEZE command message */ + +#define MCI_DGV_FREEZE_AT __MSABI_LONG(0x00010000) +#define MCI_DGV_FREEZE_OUTSIDE __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameter of MCI_INFO command message */ + +#define MCI_DGV_INFO_TEXT __MSABI_LONG(0x00010000) +#define MCI_DGV_INFO_ITEM __MSABI_LONG(0x00020000) + +/* values for dwItem field of MCI_DGV_INFO_PARMS structure */ + +#define MCI_INFO_VERSION __MSABI_LONG(0x00000400) + +#define MCI_DGV_INFO_USAGE __MSABI_LONG(0x00004000) +#define MCI_DGV_INFO_AUDIO_QUALITY __MSABI_LONG(0x00004001) +#define MCI_DGV_INFO_STILL_QUALITY __MSABI_LONG(0x00004002) +#define MCI_DGV_INFO_VIDEO_QUALITY __MSABI_LONG(0x00004003) +#define MCI_DGV_INFO_AUDIO_ALG __MSABI_LONG(0x00004004) +#define MCI_DGV_INFO_STILL_ALG __MSABI_LONG(0x00004005) +#define MCI_DGV_INFO_VIDEO_ALG __MSABI_LONG(0x00004006) + +/* flags for dwFlags parameter of MCI_LIST command message */ + +#define MCI_DGV_LIST_ITEM __MSABI_LONG(0x00010000) +#define MCI_DGV_LIST_COUNT __MSABI_LONG(0x00020000) +#define MCI_DGV_LIST_NUMBER __MSABI_LONG(0x00040000) +#define MCI_DGV_LIST_ALG __MSABI_LONG(0x00080000) + +/* values for dwItem field of MCI_DGV_LIST_PARMS structure */ + +#define MCI_DGV_LIST_AUDIO_ALG __MSABI_LONG(0x00004000) +#define MCI_DGV_LIST_AUDIO_QUALITY __MSABI_LONG(0x00004001) +#define MCI_DGV_LIST_AUDIO_STREAM __MSABI_LONG(0x00004002) +#define MCI_DGV_LIST_STILL_ALG __MSABI_LONG(0x00004003) +#define MCI_DGV_LIST_STILL_QUALITY __MSABI_LONG(0x00004004) +#define MCI_DGV_LIST_VIDEO_ALG __MSABI_LONG(0x00004005) +#define MCI_DGV_LIST_VIDEO_QUALITY __MSABI_LONG(0x00004006) +#define MCI_DGV_LIST_VIDEO_STREAM __MSABI_LONG(0x00004007) +#define MCI_DGV_LIST_VIDEO_SOURCE __MSABI_LONG(0x00004008) + + +/* flags for dwFlags parameter of MCI_MONITOR command message */ + +#define MCI_DGV_MONITOR_METHOD __MSABI_LONG(0x00010000) +#define MCI_DGV_MONITOR_SOURCE __MSABI_LONG(0x00020000) + +/* values for dwSource parameter of the MCI_DGV_MONITOR_PARMS structure */ + +#define MCI_DGV_MONITOR_INPUT __MSABI_LONG(0x00004000) +#define MCI_DGV_MONITOR_FILE __MSABI_LONG(0x00004001) + +/* flags for dwFlags parameter of MCI_OPEN command message */ + +#define MCI_DGV_OPEN_WS __MSABI_LONG(0x00010000) +#define MCI_DGV_OPEN_PARENT __MSABI_LONG(0x00020000) +#define MCI_DGV_OPEN_NOSTATIC __MSABI_LONG(0x00040000) +#define MCI_DGV_OPEN_16BIT __MSABI_LONG(0x00080000) +#define MCI_DGV_OPEN_32BIT __MSABI_LONG(0x00100000) + +/* flags for dwFlags parameter of MCI_PASTE command message */ + +#define MCI_DGV_PASTE_AT __MSABI_LONG(0x00010000) +#define MCI_DGV_PASTE_AUDIO_STREAM __MSABI_LONG(0x00020000) +#define MCI_DGV_PASTE_VIDEO_STREAM __MSABI_LONG(0x00040000) +#define MCI_DGV_PASTE_INSERT __MSABI_LONG(0x00080000) +#define MCI_DGV_PASTE_OVERWRITE __MSABI_LONG(0x00100000) + +/* flags for dwFlags parameter of MCI_PLAY command message */ + +#define MCI_DGV_PLAY_REPEAT __MSABI_LONG(0x00010000) +#define MCI_DGV_PLAY_REVERSE __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameter of MCI_PUT command message */ + +#define MCI_DGV_RECT __MSABI_LONG(0x00010000) +#define MCI_DGV_PUT_SOURCE __MSABI_LONG(0x00020000) +#define MCI_DGV_PUT_DESTINATION __MSABI_LONG(0x00040000) +#define MCI_DGV_PUT_FRAME __MSABI_LONG(0x00080000) +#define MCI_DGV_PUT_VIDEO __MSABI_LONG(0x00100000) +#define MCI_DGV_PUT_WINDOW __MSABI_LONG(0x00200000) +#define MCI_DGV_PUT_CLIENT __MSABI_LONG(0x00400000) + +/* flags for dwFlags parameter of MCI_QUALITY command message */ + +#define MCI_QUALITY_ITEM __MSABI_LONG(0x00010000) +#define MCI_QUALITY_NAME __MSABI_LONG(0x00020000) +#define MCI_QUALITY_ALG __MSABI_LONG(0x00040000) +#define MCI_QUALITY_DIALOG __MSABI_LONG(0x00080000) +#define MCI_QUALITY_HANDLE __MSABI_LONG(0x00100000) + +/* values for dwItem field of MCI_QUALITY_PARMS structure */ + +#define MCI_QUALITY_ITEM_AUDIO __MSABI_LONG(0x00004000) +#define MCI_QUALITY_ITEM_STILL __MSABI_LONG(0x00004001) +#define MCI_QUALITY_ITEM_VIDEO __MSABI_LONG(0x00004002) + +/* flags for dwFlags parameter of MCI_REALIZE command message */ + +#define MCI_DGV_REALIZE_NORM __MSABI_LONG(0x00010000) +#define MCI_DGV_REALIZE_BKGD __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameter of MCI_RECORD command message */ + +#define MCI_DGV_RECORD_HOLD __MSABI_LONG(0x00020000) +#define MCI_DGV_RECORD_AUDIO_STREAM __MSABI_LONG(0x00040000) +#define MCI_DGV_RECORD_VIDEO_STREAM __MSABI_LONG(0x00080000) + +/* flags for dwFlags parameters of MCI_RESERVE command message */ + +#define MCI_DGV_RESERVE_IN __MSABI_LONG(0x00010000) +#define MCI_DGV_RESERVE_SIZE __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameter of MCI_RESTORE command message */ + +#define MCI_DGV_RESTORE_FROM __MSABI_LONG(0x00010000) +#define MCI_DGV_RESTORE_AT __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameters of MCI_SAVE command message */ + +#define MCI_DGV_SAVE_ABORT __MSABI_LONG(0x00020000) +#define MCI_DGV_SAVE_KEEPRESERVE __MSABI_LONG(0x00040000) + +/* flags for dwFlags parameters of MCI_SET command message */ + +#define MCI_DGV_SET_SEEK_EXACTLY __MSABI_LONG(0x00010000) +#define MCI_DGV_SET_SPEED __MSABI_LONG(0x00020000) +#define MCI_DGV_SET_STILL __MSABI_LONG(0x00040000) +#define MCI_DGV_SET_FILEFORMAT __MSABI_LONG(0x00080000) + +/* flags for the dwFlags parameter of MCI_SETAUDIO command message */ + +#define MCI_DGV_SETAUDIO_OVER __MSABI_LONG(0x00010000) +#define MCI_DGV_SETAUDIO_CLOCKTIME __MSABI_LONG(0x00020000) +#define MCI_DGV_SETAUDIO_ALG __MSABI_LONG(0x00040000) +#define MCI_DGV_SETAUDIO_QUALITY __MSABI_LONG(0x00080000) +#define MCI_DGV_SETAUDIO_RECORD __MSABI_LONG(0x00100000) +#define MCI_DGV_SETAUDIO_LEFT __MSABI_LONG(0x00200000) +#define MCI_DGV_SETAUDIO_RIGHT __MSABI_LONG(0x00400000) +#define MCI_DGV_SETAUDIO_ITEM __MSABI_LONG(0x00800000) +#define MCI_DGV_SETAUDIO_VALUE __MSABI_LONG(0x01000000) +#define MCI_DGV_SETAUDIO_INPUT __MSABI_LONG(0x02000000) +#define MCI_DGV_SETAUDIO_OUTPUT __MSABI_LONG(0x04000000) + +/* values for the dwItem parameter of MCI_DGV_SETAUDIO_PARMS */ + +#define MCI_DGV_SETAUDIO_TREBLE __MSABI_LONG(0x00004000) +#define MCI_DGV_SETAUDIO_BASS __MSABI_LONG(0x00004001) +#define MCI_DGV_SETAUDIO_VOLUME __MSABI_LONG(0x00004002) +#define MCI_DGV_SETAUDIO_STREAM __MSABI_LONG(0x00004003) +#define MCI_DGV_SETAUDIO_SOURCE __MSABI_LONG(0x00004004) +#define MCI_DGV_SETAUDIO_SAMPLESPERSEC __MSABI_LONG(0x00004005) +#define MCI_DGV_SETAUDIO_AVGBYTESPERSEC __MSABI_LONG(0x00004006) +#define MCI_DGV_SETAUDIO_BLOCKALIGN __MSABI_LONG(0x00004007) +#define MCI_DGV_SETAUDIO_BITSPERSAMPLE __MSABI_LONG(0x00004008) + +/* values for the dwValue parameter of MCI_DGV_SETAUDIO_PARMS + used with MCI_DGV_SETAUDIO_SOURCE */ + +#define MCI_DGV_SETAUDIO_SOURCE_STEREO __MSABI_LONG(0x00000000) +#define MCI_DGV_SETAUDIO_SOURCE_LEFT __MSABI_LONG(0x00000001) +#define MCI_DGV_SETAUDIO_SOURCE_RIGHT __MSABI_LONG(0x00000002) +#define MCI_DGV_SETAUDIO_SOURCE_AVERAGE __MSABI_LONG(0x00004000) + +/* flags for the dwFlags parameter of MCI_SETVIDEO command */ + +#define MCI_DGV_SETVIDEO_QUALITY __MSABI_LONG(0x00010000) +#define MCI_DGV_SETVIDEO_ALG __MSABI_LONG(0x00020000) +#define MCI_DGV_SETVIDEO_CLOCKTIME __MSABI_LONG(0x00040000) +#define MCI_DGV_SETVIDEO_SRC_NUMBER __MSABI_LONG(0x00080000) +#define MCI_DGV_SETVIDEO_ITEM __MSABI_LONG(0x00100000) +#define MCI_DGV_SETVIDEO_OVER __MSABI_LONG(0x00200000) +#define MCI_DGV_SETVIDEO_RECORD __MSABI_LONG(0x00400000) +#define MCI_DGV_SETVIDEO_STILL __MSABI_LONG(0x00800000) +#define MCI_DGV_SETVIDEO_VALUE __MSABI_LONG(0x01000000) +#define MCI_DGV_SETVIDEO_INPUT __MSABI_LONG(0x02000000) +#define MCI_DGV_SETVIDEO_OUTPUT __MSABI_LONG(0x04000000) + +/* values for the dwTo field of MCI_SETVIDEO_PARMS + used with MCI_DGV_SETVIDEO_SOURCE */ + +#define MCI_DGV_SETVIDEO_SRC_NTSC __MSABI_LONG(0x00004000) +#define MCI_DGV_SETVIDEO_SRC_RGB __MSABI_LONG(0x00004001) +#define MCI_DGV_SETVIDEO_SRC_SVIDEO __MSABI_LONG(0x00004002) +#define MCI_DGV_SETVIDEO_SRC_PAL __MSABI_LONG(0x00004003) +#define MCI_DGV_SETVIDEO_SRC_SECAM __MSABI_LONG(0x00004004) +#define MCI_DGV_SETVIDEO_SRC_GENERIC __MSABI_LONG(0x00004005) + +/* values for the dwItem field of MCI_SETVIDEO_PARMS */ + +#define MCI_DGV_SETVIDEO_BRIGHTNESS __MSABI_LONG(0x00004000) +#define MCI_DGV_SETVIDEO_COLOR __MSABI_LONG(0x00004001) +#define MCI_DGV_SETVIDEO_CONTRAST __MSABI_LONG(0x00004002) +#define MCI_DGV_SETVIDEO_TINT __MSABI_LONG(0x00004003) +#define MCI_DGV_SETVIDEO_SHARPNESS __MSABI_LONG(0x00004004) +#define MCI_DGV_SETVIDEO_GAMMA __MSABI_LONG(0x00004005) +#define MCI_DGV_SETVIDEO_STREAM __MSABI_LONG(0x00004006) +#define MCI_DGV_SETVIDEO_PALHANDLE __MSABI_LONG(0x00004007) +#define MCI_DGV_SETVIDEO_FRAME_RATE __MSABI_LONG(0x00004008) +#define MCI_DGV_SETVIDEO_SOURCE __MSABI_LONG(0x00004009) +#define MCI_DGV_SETVIDEO_KEY_INDEX __MSABI_LONG(0x0000400a) +#define MCI_DGV_SETVIDEO_KEY_COLOR __MSABI_LONG(0x0000400b) +#define MCI_DGV_SETVIDEO_BITSPERPEL __MSABI_LONG(0x0000400c) + +/* flags for the dwFlags parameter of MCI_SIGNAL */ + +#define MCI_DGV_SIGNAL_AT __MSABI_LONG(0x00010000) +#define MCI_DGV_SIGNAL_EVERY __MSABI_LONG(0x00020000) +#define MCI_DGV_SIGNAL_USERVAL __MSABI_LONG(0x00040000) +#define MCI_DGV_SIGNAL_CANCEL __MSABI_LONG(0x00080000) +#define MCI_DGV_SIGNAL_POSITION __MSABI_LONG(0x00100000) + +/* flags for the dwFlags parameter of MCI_STATUS command */ + +#define MCI_DGV_STATUS_NOMINAL __MSABI_LONG(0x00020000) +#define MCI_DGV_STATUS_REFERENCE __MSABI_LONG(0x00040000) +#define MCI_DGV_STATUS_LEFT __MSABI_LONG(0x00080000) +#define MCI_DGV_STATUS_RIGHT __MSABI_LONG(0x00100000) +#define MCI_DGV_STATUS_DISKSPACE __MSABI_LONG(0x00200000) +#define MCI_DGV_STATUS_INPUT __MSABI_LONG(0x00400000) +#define MCI_DGV_STATUS_OUTPUT __MSABI_LONG(0x00800000) +#define MCI_DGV_STATUS_RECORD __MSABI_LONG(0x01000000) + +/* values for dwItem field of MCI_STATUS_PARMS structure */ + +#define MCI_DGV_STATUS_AUDIO_INPUT __MSABI_LONG(0x00004000) +#define MCI_DGV_STATUS_HWND __MSABI_LONG(0x00004001) +#define MCI_DGV_STATUS_SPEED __MSABI_LONG(0x00004003) +#define MCI_DGV_STATUS_HPAL __MSABI_LONG(0x00004004) +#define MCI_DGV_STATUS_BRIGHTNESS __MSABI_LONG(0x00004005) +#define MCI_DGV_STATUS_COLOR __MSABI_LONG(0x00004006) +#define MCI_DGV_STATUS_CONTRAST __MSABI_LONG(0x00004007) +#define MCI_DGV_STATUS_FILEFORMAT __MSABI_LONG(0x00004008) +#define MCI_DGV_STATUS_AUDIO_SOURCE __MSABI_LONG(0x00004009) +#define MCI_DGV_STATUS_GAMMA __MSABI_LONG(0x0000400a) +#define MCI_DGV_STATUS_MONITOR __MSABI_LONG(0x0000400b) +#define MCI_DGV_STATUS_MONITOR_METHOD __MSABI_LONG(0x0000400c) +#define MCI_DGV_STATUS_FRAME_RATE __MSABI_LONG(0x0000400e) +#define MCI_DGV_STATUS_BASS __MSABI_LONG(0x0000400f) +#define MCI_DGV_STATUS_SIZE __MSABI_LONG(0x00004010) +#define MCI_DGV_STATUS_SEEK_EXACTLY __MSABI_LONG(0x00004011) +#define MCI_DGV_STATUS_SHARPNESS __MSABI_LONG(0x00004012) +#define MCI_DGV_STATUS_SMPTE __MSABI_LONG(0x00004013) +#define MCI_DGV_STATUS_AUDIO __MSABI_LONG(0x00004014) +#define MCI_DGV_STATUS_TINT __MSABI_LONG(0x00004015) +#define MCI_DGV_STATUS_TREBLE __MSABI_LONG(0x00004016) +#define MCI_DGV_STATUS_UNSAVED __MSABI_LONG(0x00004017) +#define MCI_DGV_STATUS_VIDEO __MSABI_LONG(0x00004018) +#define MCI_DGV_STATUS_VOLUME __MSABI_LONG(0x00004019) +#define MCI_DGV_STATUS_AUDIO_RECORD __MSABI_LONG(0x0000401a) +#define MCI_DGV_STATUS_VIDEO_SOURCE __MSABI_LONG(0x0000401b) +#define MCI_DGV_STATUS_VIDEO_RECORD __MSABI_LONG(0x0000401c) +#define MCI_DGV_STATUS_STILL_FILEFORMAT __MSABI_LONG(0x0000401d) +#define MCI_DGV_STATUS_VIDEO_SRC_NUM __MSABI_LONG(0x0000401e) +#define MCI_DGV_STATUS_FILE_MODE __MSABI_LONG(0x0000401f) +#define MCI_DGV_STATUS_FILE_COMPLETION __MSABI_LONG(0x00004020) +#define MCI_DGV_STATUS_WINDOW_VISIBLE __MSABI_LONG(0x00004021) +#define MCI_DGV_STATUS_WINDOW_MINIMIZED __MSABI_LONG(0x00004022) +#define MCI_DGV_STATUS_WINDOW_MAXIMIZED __MSABI_LONG(0x00004023) +#define MCI_DGV_STATUS_KEY_INDEX __MSABI_LONG(0x00004024) +#define MCI_DGV_STATUS_KEY_COLOR __MSABI_LONG(0x00004025) +#define MCI_DGV_STATUS_PAUSE_MODE __MSABI_LONG(0x00004026) +#define MCI_DGV_STATUS_SAMPLESPERSEC __MSABI_LONG(0x00004027) +#define MCI_DGV_STATUS_AVGBYTESPERSEC __MSABI_LONG(0x00004028) +#define MCI_DGV_STATUS_BLOCKALIGN __MSABI_LONG(0x00004029) +#define MCI_DGV_STATUS_BITSPERSAMPLE __MSABI_LONG(0x0000402a) +#define MCI_DGV_STATUS_BITSPERPEL __MSABI_LONG(0x0000402b) +#define MCI_DGV_STATUS_FORWARD __MSABI_LONG(0x0000402c) +#define MCI_DGV_STATUS_AUDIO_STREAM __MSABI_LONG(0x0000402d) +#define MCI_DGV_STATUS_VIDEO_STREAM __MSABI_LONG(0x0000402e) + +/* flags for dwFlags parameter of MCI_STEP command message */ + +#define MCI_DGV_STEP_REVERSE __MSABI_LONG(0x00010000) +#define MCI_DGV_STEP_FRAMES __MSABI_LONG(0x00020000) + +/* flags for dwFlags parameter of MCI_STOP command message */ + +#define MCI_DGV_STOP_HOLD __MSABI_LONG(0x00010000) + +/* flags for dwFlags parameter of MCI_UPDATE command message */ + +#define MCI_DGV_UPDATE_HDC __MSABI_LONG(0x00020000) +#define MCI_DGV_UPDATE_PAINT __MSABI_LONG(0x00040000) + +/* flags for dwFlags parameter of MCI_WHERE command message */ + +#define MCI_DGV_WHERE_SOURCE __MSABI_LONG(0x00020000) +#define MCI_DGV_WHERE_DESTINATION __MSABI_LONG(0x00040000) +#define MCI_DGV_WHERE_FRAME __MSABI_LONG(0x00080000) +#define MCI_DGV_WHERE_VIDEO __MSABI_LONG(0x00100000) +#define MCI_DGV_WHERE_WINDOW __MSABI_LONG(0x00200000) +#define MCI_DGV_WHERE_MAX __MSABI_LONG(0x00400000) + +/* flags for dwFlags parameter of MCI_WINDOW command message */ + +#define MCI_DGV_WINDOW_HWND __MSABI_LONG(0x00010000) +#define MCI_DGV_WINDOW_STATE __MSABI_LONG(0x00040000) +#define MCI_DGV_WINDOW_TEXT __MSABI_LONG(0x00080000) + +/* flags for hWnd parameter of MCI_DGV_WINDOW_PARMS parameter block */ + +#define MCI_DGV_WINDOW_DEFAULT __MSABI_LONG(0x00000000) + +/* parameter block for MCI_WHERE, MCI_PUT, MCI_FREEZE, MCI_UNFREEZE cmds */ + +typedef struct { + DWORD_PTR dwCallback; + RECT rc; +} MCI_DGV_RECT_PARMS, *LPMCI_DGV_RECT_PARMS; + +/* parameter block for MCI_CAPTURE command message */ + +typedef struct { + DWORD_PTR dwCallback; + LPSTR lpstrFileName; + RECT rc; +} MCI_DGV_CAPTURE_PARMSA, *LPMCI_DGV_CAPTURE_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + LPWSTR lpstrFileName; + RECT rc; +} MCI_DGV_CAPTURE_PARMSW, *LPMCI_DGV_CAPTURE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_CAPTURE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_CAPTURE_PARMS) + +/* parameter block for MCI_CLOSE command message */ + +typedef MCI_GENERIC_PARMS MCI_CLOSE_PARMS, *LPMCI_CLOSE_PARMS; + +/* parameter block for MCI_COPY command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; + RECT rc; + DWORD dwAudioStream; + DWORD dwVideoStream; +} MCI_DGV_COPY_PARMS, *LPMCI_DGV_COPY_PARMS; + +/* parameter block for MCI_CUE command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwTo; +} MCI_DGV_CUE_PARMS, *LPMCI_DGV_CUE_PARMS; + +/* parameter block for MCI_CUT command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; + RECT rc; + DWORD dwAudioStream; + DWORD dwVideoStream; +} MCI_DGV_CUT_PARMS, * LPMCI_DGV_CUT_PARMS; + +/* parameter block for MCI_DELETE command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; + RECT rc; + DWORD dwAudioStream; + DWORD dwVideoStream; +} MCI_DGV_DELETE_PARMS, * LPMCI_DGV_DELETE_PARMS; + +/* parameter block for MCI_FREEZE command message */ + +typedef MCI_DGV_RECT_PARMS MCI_DGV_FREEZE_PARMS, * LPMCI_DGV_FREEZE_PARMS; + +/* parameter block for MCI_INFO command message */ + +typedef struct { + DWORD_PTR dwCallback; + LPSTR lpstrReturn; + DWORD dwRetSize; + DWORD dwItem; +} MCI_DGV_INFO_PARMSA, * LPMCI_DGV_INFO_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + LPWSTR lpstrReturn; + DWORD dwRetSize; + DWORD dwItem; +} MCI_DGV_INFO_PARMSW, *LPMCI_DGV_INFO_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_INFO_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_INFO_PARMS) + +/* parameter block for MCI_LIST command message */ + +typedef struct { + DWORD_PTR dwCallback; + LPSTR lpstrReturn; + DWORD dwLength; + DWORD dwNumber; + DWORD dwItem; + LPSTR lpstrAlgorithm; +} MCI_DGV_LIST_PARMSA, *LPMCI_DGV_LIST_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + LPWSTR lpstrReturn; + DWORD dwLength; + DWORD dwNumber; + DWORD dwItem; + LPWSTR lpstrAlgorithm; +} MCI_DGV_LIST_PARMSW, *LPMCI_DGV_LIST_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_LIST_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_LIST_PARMS) + +/* parameter block for MCI_LOAD command message */ + +typedef MCI_LOAD_PARMSA MCI_DGV_LOAD_PARMSA, * LPMCI_DGV_LOAD_PARMSA; +typedef MCI_LOAD_PARMSW MCI_DGV_LOAD_PARMSW, * LPMCI_DGV_LOAD_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_LOAD_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_LOAD_PARMS) + +/* parameter block for MCI_MONITOR command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwSource; + DWORD dwMethod; +} MCI_DGV_MONITOR_PARMS, * LPMCI_DGV_MONITOR_PARMS; + +/* parameter block for MCI_OPEN command message */ + +typedef struct { + DWORD_PTR dwCallback; + UINT wDeviceID; + LPSTR lpstrDeviceType; + LPSTR lpstrElementName; + LPSTR lpstrAlias; + DWORD dwStyle; + HWND hWndParent; +} MCI_DGV_OPEN_PARMSA, *LPMCI_DGV_OPEN_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + UINT wDeviceID; + LPWSTR lpstrDeviceType; + LPWSTR lpstrElementName; + LPWSTR lpstrAlias; + DWORD dwStyle; + HWND hWndParent; +} MCI_DGV_OPEN_PARMSW, *LPMCI_DGV_OPEN_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_OPEN_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_OPEN_PARMS) + +/* parameter block for MCI_PAUSE command message */ + +typedef MCI_GENERIC_PARMS MCI_DGV_PAUSE_PARMS, * LPMCI_DGV_PAUSE_PARMS; + +/* parameter block for MCI_PASTE command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwTo; + RECT rc; + DWORD dwAudioStream; + DWORD dwVideoStream; +} MCI_DGV_PASTE_PARMS, * LPMCI_DGV_PASTE_PARMS; + +/* parameter block for MCI_PLAY command message */ + +typedef MCI_PLAY_PARMS MCI_DGV_PLAY_PARMS, * LPMCI_DGV_PLAY_PARMS; + +/* parameter block for MCI_PUT command message */ + +typedef MCI_DGV_RECT_PARMS MCI_DGV_PUT_PARMS, * LPMCI_DGV_PUT_PARMS; + +/* parameter block for MCI_QUALITY command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwItem; + LPSTR lpstrName; + DWORD lpstrAlgorithm; + DWORD dwHandle; +} MCI_DGV_QUALITY_PARMSA, *LPMCI_DGV_QUALITY_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwItem; + LPWSTR lpstrName; + DWORD lpstrAlgorithm; + DWORD dwHandle; +} MCI_DGV_QUALITY_PARMSW, *LPMCI_DGV_QUALITY_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_QUALITY_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_QUALITY_PARMS) + +/* parameter block for MCI_REALIZE command message */ + +typedef MCI_GENERIC_PARMS MCI_REALIZE_PARMS, * LPMCI_REALIZE_PARMS; + +/* parameter block for MCI_RECORD command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; + RECT rc; + DWORD dwAudioStream; + DWORD dwVideoStream; +} MCI_DGV_RECORD_PARMS, * LPMCI_DGV_RECORD_PARMS; + +/* parameter block for MCI_RESERVE command message */ + +typedef struct { + DWORD_PTR dwCallback; + LPSTR lpstrPath; + DWORD dwSize; +} MCI_DGV_RESERVE_PARMSA, *LPMCI_DGV_RESERVE_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + LPWSTR lpstrPath; + DWORD dwSize; +} MCI_DGV_RESERVE_PARMSW, *LPMCI_DGV_RESERVE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_RESERVE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_RESERVE_PARMS) + +/* parameter block for MCI_RESTORE command message */ + +typedef struct { + DWORD_PTR dwCallback; + LPSTR lpstrFileName; + RECT rc; +} MCI_DGV_RESTORE_PARMSA, *LPMCI_DGV_RESTORE_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + LPWSTR lpstrFileName; + RECT rc; +} MCI_DGV_RESTORE_PARMSW, *LPMCI_DGV_RESTORE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_RESTORE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_RESTORE_PARMS) + +/* parameter block for MCI_RESUME command message */ + +typedef MCI_GENERIC_PARMS MCI_DGV_RESUME_PARMS, * LPMCI_DGV_RESUME_PARMS; + +/* parameter block for MCI_SAVE command message */ + +typedef struct { + DWORD_PTR dwCallback; + LPSTR lpstrFileName; + RECT rc; +} MCI_DGV_SAVE_PARMSA, *LPMCI_DGV_SAVE_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + LPWSTR lpstrFileName; + RECT rc; +} MCI_DGV_SAVE_PARMSW, *LPMCI_DGV_SAVE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_SAVE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_SAVE_PARMS) + +/* parameter block for MCI_SET command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwTimeFormat; + DWORD dwAudio; + DWORD dwFileFormat; + DWORD dwSpeed; +} MCI_DGV_SET_PARMS, *LPMCI_DGV_SET_PARMS; + +/* parameter block for MCI_SETAUDIO command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwItem; + DWORD dwValue; + DWORD dwOver; + LPSTR lpstrAlgorithm; + LPSTR lpstrQuality; +} MCI_DGV_SETAUDIO_PARMSA, *LPMCI_DGV_SETAUDIO_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwItem; + DWORD dwValue; + DWORD dwOver; + LPWSTR lpstrAlgorithm; + LPWSTR lpstrQuality; +} MCI_DGV_SETAUDIO_PARMSW, *LPMCI_DGV_SETAUDIO_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_SETAUDIO_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_SETAUDIO_PARMS) + +/* parameter block for MCI_SIGNAL command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwPosition; + DWORD dwPeriod; + DWORD dwUserParm; +} MCI_DGV_SIGNAL_PARMS, * LPMCI_DGV_SIGNAL_PARMS; + +/* parameter block for MCI_SETVIDEO command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwItem; + DWORD dwValue; + DWORD dwOver; + LPSTR lpstrAlgorithm; + LPSTR lpstrQuality; + DWORD dwSourceNumber; +} MCI_DGV_SETVIDEO_PARMSA, *LPMCI_DGV_SETVIDEO_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwItem; + DWORD dwValue; + DWORD dwOver; + LPWSTR lpstrAlgorithm; + LPWSTR lpstrQuality; + DWORD dwSourceNumber; +} MCI_DGV_SETVIDEO_PARMSW, *LPMCI_DGV_SETVIDEO_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_SETVIDEO_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_SETVIDEO_PARMS) + +/* parameter block for MCI_STATUS command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD_PTR dwReturn; + DWORD dwItem; + DWORD dwTrack; + LPSTR lpstrDrive; + DWORD dwReference; +} MCI_DGV_STATUS_PARMSA, *LPMCI_DGV_STATUS_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + DWORD_PTR dwReturn; + DWORD dwItem; + DWORD dwTrack; + LPWSTR lpstrDrive; + DWORD dwReference; +} MCI_DGV_STATUS_PARMSW, *LPMCI_DGV_STATUS_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_STATUS_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_DGV_STATUS_PARMS) + +/* parameter block for MCI_STEP command message */ + +typedef struct { + DWORD_PTR dwCallback; + DWORD dwFrames; +} MCI_DGV_STEP_PARMS, *LPMCI_DGV_STEP_PARMS; + +/* parameter block for MCI_STOP command message */ + +typedef MCI_GENERIC_PARMS MCI_DGV_STOP_PARMS, * LPMCI_DGV_STOP_PARMS; + +/* parameter block for MCI_UNFREEZE command message */ + +typedef MCI_DGV_RECT_PARMS MCI_DGV_UNFREEZE_PARMS, * LPMCI_DGV_UNFREEZE_PARMS; + +/* parameter block for MCI_UPDATE command message */ + +typedef struct { + DWORD_PTR dwCallback; + RECT rc; + HDC hDC; +} MCI_DGV_UPDATE_PARMS, * LPMCI_DGV_UPDATE_PARMS; + +/* parameter block for MCI_WHERE command message */ + +typedef MCI_DGV_RECT_PARMS MCI_DGV_WHERE_PARMS, * LPMCI_DGV_WHERE_PARMS; + +/* parameter block for MCI_WINDOW command message */ + +typedef struct { + DWORD_PTR dwCallback; + HWND hWnd; + UINT nCmdShow; + LPSTR lpstrText; +} MCI_DGV_WINDOW_PARMSA, *LPMCI_DGV_WINDOW_PARMSA; + +typedef struct { + DWORD_PTR dwCallback; + HWND hWnd; + UINT nCmdShow; + LPWSTR lpstrText; +} MCI_DGV_WINDOW_PARMSW, *LPMCI_DGV_WINDOW_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_DGV_WINDOW_PARMS) + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_DIGITALV_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dimm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dimm.h new file mode 100644 index 0000000..5e26ea8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dimm.h @@ -0,0 +1,1798 @@ +/*** Autogenerated by WIDL 2.18 from dimm.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dimm_h__ +#define __dimm_h__ + +/* Forward declarations */ + +#ifndef __IEnumRegisterWordA_FWD_DEFINED__ +#define __IEnumRegisterWordA_FWD_DEFINED__ +typedef interface IEnumRegisterWordA IEnumRegisterWordA; +#ifdef __cplusplus +interface IEnumRegisterWordA; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumRegisterWordW_FWD_DEFINED__ +#define __IEnumRegisterWordW_FWD_DEFINED__ +typedef interface IEnumRegisterWordW IEnumRegisterWordW; +#ifdef __cplusplus +interface IEnumRegisterWordW; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumInputContext_FWD_DEFINED__ +#define __IEnumInputContext_FWD_DEFINED__ +typedef interface IEnumInputContext IEnumInputContext; +#ifdef __cplusplus +interface IEnumInputContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveIMMApp_FWD_DEFINED__ +#define __IActiveIMMApp_FWD_DEFINED__ +typedef interface IActiveIMMApp IActiveIMMApp; +#ifdef __cplusplus +interface IActiveIMMApp; +#endif /* __cplusplus */ +#endif + +#ifndef __IActiveIMMMessagePumpOwner_FWD_DEFINED__ +#define __IActiveIMMMessagePumpOwner_FWD_DEFINED__ +typedef interface IActiveIMMMessagePumpOwner IActiveIMMMessagePumpOwner; +#ifdef __cplusplus +interface IActiveIMMMessagePumpOwner; +#endif /* __cplusplus */ +#endif + +#ifndef __CActiveIMM_FWD_DEFINED__ +#define __CActiveIMM_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CActiveIMM CActiveIMM; +#else +typedef struct CActiveIMM CActiveIMM; +#endif /* defined __cplusplus */ +#endif /* defined __CActiveIMM_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#if 0 +typedef struct __WIDL_dimm_generated_name_00000002 { + LPSTR lpReading; + LPSTR lpWord; +} REGISTERWORDA; +typedef struct __WIDL_dimm_generated_name_00000003 { + LPWSTR lpReading; + LPWSTR lpWord; +} REGISTERWORDW; +typedef struct __WIDL_dimm_generated_name_00000004 { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + CHAR lfFaceName[32]; +} LOGFONTA; +typedef struct __WIDL_dimm_generated_name_00000005 { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + WCHAR lfFaceName[32]; +} LOGFONTW; +typedef DWORD HIMC; +typedef DWORD HIMCC; +typedef struct __WIDL_dimm_generated_name_00000006 { + DWORD dwIndex; + DWORD dwStyle; + POINT ptCurrentPos; + RECT rcArea; +} CANDIDATEFORM; +typedef struct __WIDL_dimm_generated_name_00000007 { + DWORD dwStyle; + POINT ptCurrentPos; + RECT rcArea; +} COMPOSITIONFORM; +typedef struct __WIDL_dimm_generated_name_00000008 { + DWORD dwSize; + DWORD dwStyle; + DWORD dwCount; + DWORD dwSelection; + DWORD dwPageStart; + DWORD dwPageSize; + DWORD dwOffset[1]; +} CANDIDATELIST; +typedef struct __WIDL_dimm_generated_name_00000009 { + DWORD dwStyle; + CHAR szDescription[32]; +} STYLEBUFA; +typedef struct __WIDL_dimm_generated_name_0000000A { + DWORD dwStyle; + WCHAR szDescription[32]; +} STYLEBUFW; +typedef WORD ATOM; +typedef struct __WIDL_dimm_generated_name_0000000B { + UINT cbSize; + UINT fType; + UINT fState; + UINT wID; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + DWORD dwItemData; + CHAR szString[80]; + HBITMAP hbmpItem; +} IMEMENUITEMINFOA; +typedef struct __WIDL_dimm_generated_name_0000000C { + UINT cbSize; + UINT fType; + UINT fState; + UINT wID; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + DWORD dwItemData; + WCHAR szString[80]; + HBITMAP hbmpItem; +} IMEMENUITEMINFOW; +#endif +/***************************************************************************** + * IEnumRegisterWordA interface + */ +#ifndef __IEnumRegisterWordA_INTERFACE_DEFINED__ +#define __IEnumRegisterWordA_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumRegisterWordA, 0x08c03412, 0xf96b, 0x11d0, 0xa4,0x75, 0x00,0xaa,0x00,0x6b,0xcc,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("08c03412-f96b-11d0-a475-00aa006bcc59") +IEnumRegisterWordA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumRegisterWordA **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + REGISTERWORDA *rgRegisterword, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumRegisterWordA, 0x08c03412, 0xf96b, 0x11d0, 0xa4,0x75, 0x00,0xaa,0x00,0x6b,0xcc,0x59) +#endif +#else +typedef struct IEnumRegisterWordAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumRegisterWordA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumRegisterWordA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumRegisterWordA *This); + + /*** IEnumRegisterWordA methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumRegisterWordA *This, + IEnumRegisterWordA **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumRegisterWordA *This, + ULONG ulCount, + REGISTERWORDA *rgRegisterword, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumRegisterWordA *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumRegisterWordA *This, + ULONG ulCount); + + END_INTERFACE +} IEnumRegisterWordAVtbl; + +interface IEnumRegisterWordA { + CONST_VTBL IEnumRegisterWordAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumRegisterWordA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumRegisterWordA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumRegisterWordA_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumRegisterWordA methods ***/ +#define IEnumRegisterWordA_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumRegisterWordA_Next(This,ulCount,rgRegisterword,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgRegisterword,pcFetched) +#define IEnumRegisterWordA_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumRegisterWordA_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumRegisterWordA_QueryInterface(IEnumRegisterWordA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumRegisterWordA_AddRef(IEnumRegisterWordA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumRegisterWordA_Release(IEnumRegisterWordA* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumRegisterWordA methods ***/ +static FORCEINLINE HRESULT IEnumRegisterWordA_Clone(IEnumRegisterWordA* This,IEnumRegisterWordA **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumRegisterWordA_Next(IEnumRegisterWordA* This,ULONG ulCount,REGISTERWORDA *rgRegisterword,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgRegisterword,pcFetched); +} +static FORCEINLINE HRESULT IEnumRegisterWordA_Reset(IEnumRegisterWordA* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumRegisterWordA_Skip(IEnumRegisterWordA* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumRegisterWordA_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumRegisterWordW interface + */ +#ifndef __IEnumRegisterWordW_INTERFACE_DEFINED__ +#define __IEnumRegisterWordW_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumRegisterWordW, 0x4955dd31, 0xb159, 0x11d0, 0x8f,0xcf, 0x00,0xaa,0x00,0x6b,0xcc,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4955dd31-b159-11d0-8fcf-00aa006bcc59") +IEnumRegisterWordW : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumRegisterWordW **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + REGISTERWORDW *rgRegisterword, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumRegisterWordW, 0x4955dd31, 0xb159, 0x11d0, 0x8f,0xcf, 0x00,0xaa,0x00,0x6b,0xcc,0x59) +#endif +#else +typedef struct IEnumRegisterWordWVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumRegisterWordW *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumRegisterWordW *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumRegisterWordW *This); + + /*** IEnumRegisterWordW methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumRegisterWordW *This, + IEnumRegisterWordW **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumRegisterWordW *This, + ULONG ulCount, + REGISTERWORDW *rgRegisterword, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumRegisterWordW *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumRegisterWordW *This, + ULONG ulCount); + + END_INTERFACE +} IEnumRegisterWordWVtbl; + +interface IEnumRegisterWordW { + CONST_VTBL IEnumRegisterWordWVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumRegisterWordW_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumRegisterWordW_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumRegisterWordW_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumRegisterWordW methods ***/ +#define IEnumRegisterWordW_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumRegisterWordW_Next(This,ulCount,rgRegisterword,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgRegisterword,pcFetched) +#define IEnumRegisterWordW_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumRegisterWordW_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumRegisterWordW_QueryInterface(IEnumRegisterWordW* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumRegisterWordW_AddRef(IEnumRegisterWordW* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumRegisterWordW_Release(IEnumRegisterWordW* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumRegisterWordW methods ***/ +static FORCEINLINE HRESULT IEnumRegisterWordW_Clone(IEnumRegisterWordW* This,IEnumRegisterWordW **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumRegisterWordW_Next(IEnumRegisterWordW* This,ULONG ulCount,REGISTERWORDW *rgRegisterword,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgRegisterword,pcFetched); +} +static FORCEINLINE HRESULT IEnumRegisterWordW_Reset(IEnumRegisterWordW* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumRegisterWordW_Skip(IEnumRegisterWordW* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumRegisterWordW_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumInputContext interface + */ +#ifndef __IEnumInputContext_INTERFACE_DEFINED__ +#define __IEnumInputContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumInputContext, 0x09b5eab0, 0xf997, 0x11d1, 0x93,0xd4, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("09b5eab0-f997-11d1-93d4-0060b067b86e") +IEnumInputContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumInputContext **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + HIMC *rgInputContext, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumInputContext, 0x09b5eab0, 0xf997, 0x11d1, 0x93,0xd4, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct IEnumInputContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumInputContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumInputContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumInputContext *This); + + /*** IEnumInputContext methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumInputContext *This, + IEnumInputContext **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumInputContext *This, + ULONG ulCount, + HIMC *rgInputContext, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumInputContext *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumInputContext *This, + ULONG ulCount); + + END_INTERFACE +} IEnumInputContextVtbl; + +interface IEnumInputContext { + CONST_VTBL IEnumInputContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumInputContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumInputContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumInputContext_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumInputContext methods ***/ +#define IEnumInputContext_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumInputContext_Next(This,ulCount,rgInputContext,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgInputContext,pcFetched) +#define IEnumInputContext_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumInputContext_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumInputContext_QueryInterface(IEnumInputContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumInputContext_AddRef(IEnumInputContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumInputContext_Release(IEnumInputContext* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumInputContext methods ***/ +static FORCEINLINE HRESULT IEnumInputContext_Clone(IEnumInputContext* This,IEnumInputContext **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumInputContext_Next(IEnumInputContext* This,ULONG ulCount,HIMC *rgInputContext,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgInputContext,pcFetched); +} +static FORCEINLINE HRESULT IEnumInputContext_Reset(IEnumInputContext* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumInputContext_Skip(IEnumInputContext* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumInputContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveIMMApp interface + */ +#ifndef __IActiveIMMApp_INTERFACE_DEFINED__ +#define __IActiveIMMApp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveIMMApp, 0x08c0e040, 0x62d1, 0x11d1, 0x93,0x26, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("08c0e040-62d1-11d1-9326-0060b067b86e") +IActiveIMMApp : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AssociateContext( + HWND hWnd, + HIMC hIME, + HIMC *phPrev) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConfigureIMEA( + HKL hKL, + HWND hwnd, + DWORD dwMode, + REGISTERWORDA *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConfigureIMEW( + HKL hKL, + HWND hWnd, + DWORD dwMode, + REGISTERWORDW *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateContext( + HIMC *phIMC) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyContext( + HIMC hIME) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordA( + HKL hKL, + LPSTR szReading, + DWORD dwStyle, + LPSTR szRegister, + LPVOID pData, + IEnumRegisterWordA **pEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordW( + HKL hKL, + LPWSTR szReading, + DWORD dwStyle, + LPWSTR szRegister, + LPVOID pData, + IEnumRegisterWordW **pEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE EscapeA( + HKL hKL, + HIMC hIMC, + UINT uEscape, + LPVOID pData, + LRESULT *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE EscapeW( + HKL hKL, + HIMC hIMC, + UINT uEscape, + LPVOID pData, + LRESULT *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCandidateListA( + HIMC hIMC, + DWORD dwIndex, + UINT uBufLen, + CANDIDATELIST *pCandList, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCandidateListW( + HIMC hIMC, + DWORD dwIndex, + UINT uBufLen, + CANDIDATELIST *pCandList, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountA( + HIMC hIMC, + DWORD *pdwListSize, + DWORD *pdwBufLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountW( + HIMC hIMC, + DWORD *pdwListSize, + DWORD *pdwBufLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCandidateWindow( + HIMC hIMC, + DWORD dwIndex, + CANDIDATEFORM *pCandidate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCompositionFontA( + HIMC hIMC, + LOGFONTA *plf) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCompositionFontW( + HIMC hIMC, + LOGFONTW *plf) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCompositionStringA( + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LONG *plCopied, + LPVOID pBuf) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCompositionStringW( + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LONG *plCopied, + LPVOID pBuf) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCompositionWindow( + HIMC hIMC, + COMPOSITIONFORM *pCompForm) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContext( + HWND hwnd, + HIMC *phIMC) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversionListA( + HKL hKL, + HIMC hIMC, + LPSTR pSrc, + UINT uBufLen, + UINT uFlag, + CANDIDATELIST *pDst, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversionListW( + HKL hKL, + HIMC hIMC, + LPWSTR pSrc, + UINT uBufLen, + UINT uFlag, + CANDIDATELIST *pDst, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversionStatus( + HIMC hIMC, + DWORD *pfdwConversion, + DWORD *pfdwSentence) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultIMEWnd( + HWND hWnd, + HWND *phDefWnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescriptionA( + HKL hKL, + UINT uBufLen, + LPSTR szDescription, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescriptionW( + HKL hKL, + UINT uBufLen, + LPWSTR szDescription, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGuideLineA( + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LPSTR pBuf, + DWORD *pdwResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGuideLineW( + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LPWSTR pBuf, + DWORD *pdwResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameA( + HKL hKL, + UINT uBufLen, + LPSTR szFileName, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameW( + HKL hKL, + UINT uBufLen, + LPWSTR szFileName, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOpenStatus( + HIMC hIMC) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + HKL hKL, + DWORD fdwIndex, + DWORD *pdwProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleA( + HKL hKL, + UINT nItem, + STYLEBUFA *pStyleBuf, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleW( + HKL hKL, + UINT nItem, + STYLEBUFW *pStyleBuf, + UINT *puCopied) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatusWindowPos( + HIMC hIMC, + POINT *pptPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVirtualKey( + HWND hWnd, + UINT *puVirtualKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstallIMEA( + LPSTR szIMEFileName, + LPSTR szLayoutText, + HKL *phKL) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstallIMEW( + LPWSTR szIMEFileName, + LPWSTR szLayoutText, + HKL *phKL) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsIME( + HKL hKL) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUIMessageA( + HWND hWndIME, + UINT msg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUIMessageW( + HWND hWndIME, + UINT msg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyIME( + HIMC hIMC, + DWORD dwAction, + DWORD dwIndex, + DWORD dwValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterWordA( + HKL hKL, + LPSTR szReading, + DWORD dwStyle, + LPSTR szRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterWordW( + HKL hKL, + LPWSTR szReading, + DWORD dwStyle, + LPWSTR szRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseContext( + HWND hWnd, + HIMC hIMC) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCandidateWindow( + HIMC hIMC, + CANDIDATEFORM *pCandidate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCompositionFontA( + HIMC hIMC, + LOGFONTA *plf) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCompositionFontW( + HIMC hIMC, + LOGFONTW *plf) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCompositionStringA( + HIMC hIMC, + DWORD dwIndex, + LPVOID pComp, + DWORD dwCompLen, + LPVOID pRead, + DWORD dwReadLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCompositionStringW( + HIMC hIMC, + DWORD dwIndex, + LPVOID pComp, + DWORD dwCompLen, + LPVOID pRead, + DWORD dwReadLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCompositionWindow( + HIMC hIMC, + COMPOSITIONFORM *pCompForm) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConversionStatus( + HIMC hIMC, + DWORD fdwConversion, + DWORD fdwSentence) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOpenStatus( + HIMC hIMC, + BOOL fOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStatusWindowPos( + HIMC hIMC, + POINT *pptPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE SimulateHotKey( + HWND hwnd, + DWORD dwHotKeyID) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterWordA( + HKL hKL, + LPSTR szReading, + DWORD dwStyle, + LPSTR szUnregister) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterWordW( + HKL hKL, + LPWSTR szReading, + DWORD dwStyle, + LPWSTR szUnregister) = 0; + + virtual HRESULT STDMETHODCALLTYPE Activate( + BOOL fRestoreLayout) = 0; + + virtual HRESULT STDMETHODCALLTYPE Deactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDefWindowProc( + HWND hWnd, + UINT Msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE FilterClientWindows( + ATOM *aaClassList, + UINT uSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodePageA( + HKL hKL, + UINT *uCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLangId( + HKL hKL, + LANGID *plid) = 0; + + virtual HRESULT STDMETHODCALLTYPE AssociateContextEx( + HWND hWnd, + HIMC hIMC, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableIME( + DWORD idThread) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsA( + HIMC hIMC, + DWORD dwFlags, + DWORD dwType, + IMEMENUITEMINFOA *pImeParentMenu, + IMEMENUITEMINFOA *pImeMenu, + DWORD dwSize, + DWORD *pdwResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsW( + HIMC hIMC, + DWORD dwFlags, + DWORD dwType, + IMEMENUITEMINFOW *pImeParentMenu, + IMEMENUITEMINFOW *pImeMenu, + DWORD dwSize, + DWORD *pdwResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumInputContext( + DWORD idThread, + IEnumInputContext **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveIMMApp, 0x08c0e040, 0x62d1, 0x11d1, 0x93,0x26, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct IActiveIMMAppVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveIMMApp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveIMMApp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveIMMApp *This); + + /*** IActiveIMMApp methods ***/ + HRESULT (STDMETHODCALLTYPE *AssociateContext)( + IActiveIMMApp *This, + HWND hWnd, + HIMC hIME, + HIMC *phPrev); + + HRESULT (STDMETHODCALLTYPE *ConfigureIMEA)( + IActiveIMMApp *This, + HKL hKL, + HWND hwnd, + DWORD dwMode, + REGISTERWORDA *pData); + + HRESULT (STDMETHODCALLTYPE *ConfigureIMEW)( + IActiveIMMApp *This, + HKL hKL, + HWND hWnd, + DWORD dwMode, + REGISTERWORDW *pData); + + HRESULT (STDMETHODCALLTYPE *CreateContext)( + IActiveIMMApp *This, + HIMC *phIMC); + + HRESULT (STDMETHODCALLTYPE *DestroyContext)( + IActiveIMMApp *This, + HIMC hIME); + + HRESULT (STDMETHODCALLTYPE *EnumRegisterWordA)( + IActiveIMMApp *This, + HKL hKL, + LPSTR szReading, + DWORD dwStyle, + LPSTR szRegister, + LPVOID pData, + IEnumRegisterWordA **pEnum); + + HRESULT (STDMETHODCALLTYPE *EnumRegisterWordW)( + IActiveIMMApp *This, + HKL hKL, + LPWSTR szReading, + DWORD dwStyle, + LPWSTR szRegister, + LPVOID pData, + IEnumRegisterWordW **pEnum); + + HRESULT (STDMETHODCALLTYPE *EscapeA)( + IActiveIMMApp *This, + HKL hKL, + HIMC hIMC, + UINT uEscape, + LPVOID pData, + LRESULT *plResult); + + HRESULT (STDMETHODCALLTYPE *EscapeW)( + IActiveIMMApp *This, + HKL hKL, + HIMC hIMC, + UINT uEscape, + LPVOID pData, + LRESULT *plResult); + + HRESULT (STDMETHODCALLTYPE *GetCandidateListA)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + UINT uBufLen, + CANDIDATELIST *pCandList, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetCandidateListW)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + UINT uBufLen, + CANDIDATELIST *pCandList, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetCandidateListCountA)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD *pdwListSize, + DWORD *pdwBufLen); + + HRESULT (STDMETHODCALLTYPE *GetCandidateListCountW)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD *pdwListSize, + DWORD *pdwBufLen); + + HRESULT (STDMETHODCALLTYPE *GetCandidateWindow)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + CANDIDATEFORM *pCandidate); + + HRESULT (STDMETHODCALLTYPE *GetCompositionFontA)( + IActiveIMMApp *This, + HIMC hIMC, + LOGFONTA *plf); + + HRESULT (STDMETHODCALLTYPE *GetCompositionFontW)( + IActiveIMMApp *This, + HIMC hIMC, + LOGFONTW *plf); + + HRESULT (STDMETHODCALLTYPE *GetCompositionStringA)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LONG *plCopied, + LPVOID pBuf); + + HRESULT (STDMETHODCALLTYPE *GetCompositionStringW)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LONG *plCopied, + LPVOID pBuf); + + HRESULT (STDMETHODCALLTYPE *GetCompositionWindow)( + IActiveIMMApp *This, + HIMC hIMC, + COMPOSITIONFORM *pCompForm); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + IActiveIMMApp *This, + HWND hwnd, + HIMC *phIMC); + + HRESULT (STDMETHODCALLTYPE *GetConversionListA)( + IActiveIMMApp *This, + HKL hKL, + HIMC hIMC, + LPSTR pSrc, + UINT uBufLen, + UINT uFlag, + CANDIDATELIST *pDst, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetConversionListW)( + IActiveIMMApp *This, + HKL hKL, + HIMC hIMC, + LPWSTR pSrc, + UINT uBufLen, + UINT uFlag, + CANDIDATELIST *pDst, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetConversionStatus)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD *pfdwConversion, + DWORD *pfdwSentence); + + HRESULT (STDMETHODCALLTYPE *GetDefaultIMEWnd)( + IActiveIMMApp *This, + HWND hWnd, + HWND *phDefWnd); + + HRESULT (STDMETHODCALLTYPE *GetDescriptionA)( + IActiveIMMApp *This, + HKL hKL, + UINT uBufLen, + LPSTR szDescription, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetDescriptionW)( + IActiveIMMApp *This, + HKL hKL, + UINT uBufLen, + LPWSTR szDescription, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetGuideLineA)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LPSTR pBuf, + DWORD *pdwResult); + + HRESULT (STDMETHODCALLTYPE *GetGuideLineW)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + DWORD dwBufLen, + LPWSTR pBuf, + DWORD *pdwResult); + + HRESULT (STDMETHODCALLTYPE *GetIMEFileNameA)( + IActiveIMMApp *This, + HKL hKL, + UINT uBufLen, + LPSTR szFileName, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetIMEFileNameW)( + IActiveIMMApp *This, + HKL hKL, + UINT uBufLen, + LPWSTR szFileName, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetOpenStatus)( + IActiveIMMApp *This, + HIMC hIMC); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IActiveIMMApp *This, + HKL hKL, + DWORD fdwIndex, + DWORD *pdwProperty); + + HRESULT (STDMETHODCALLTYPE *GetRegisterWordStyleA)( + IActiveIMMApp *This, + HKL hKL, + UINT nItem, + STYLEBUFA *pStyleBuf, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetRegisterWordStyleW)( + IActiveIMMApp *This, + HKL hKL, + UINT nItem, + STYLEBUFW *pStyleBuf, + UINT *puCopied); + + HRESULT (STDMETHODCALLTYPE *GetStatusWindowPos)( + IActiveIMMApp *This, + HIMC hIMC, + POINT *pptPos); + + HRESULT (STDMETHODCALLTYPE *GetVirtualKey)( + IActiveIMMApp *This, + HWND hWnd, + UINT *puVirtualKey); + + HRESULT (STDMETHODCALLTYPE *InstallIMEA)( + IActiveIMMApp *This, + LPSTR szIMEFileName, + LPSTR szLayoutText, + HKL *phKL); + + HRESULT (STDMETHODCALLTYPE *InstallIMEW)( + IActiveIMMApp *This, + LPWSTR szIMEFileName, + LPWSTR szLayoutText, + HKL *phKL); + + HRESULT (STDMETHODCALLTYPE *IsIME)( + IActiveIMMApp *This, + HKL hKL); + + HRESULT (STDMETHODCALLTYPE *IsUIMessageA)( + IActiveIMMApp *This, + HWND hWndIME, + UINT msg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *IsUIMessageW)( + IActiveIMMApp *This, + HWND hWndIME, + UINT msg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *NotifyIME)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwAction, + DWORD dwIndex, + DWORD dwValue); + + HRESULT (STDMETHODCALLTYPE *RegisterWordA)( + IActiveIMMApp *This, + HKL hKL, + LPSTR szReading, + DWORD dwStyle, + LPSTR szRegister); + + HRESULT (STDMETHODCALLTYPE *RegisterWordW)( + IActiveIMMApp *This, + HKL hKL, + LPWSTR szReading, + DWORD dwStyle, + LPWSTR szRegister); + + HRESULT (STDMETHODCALLTYPE *ReleaseContext)( + IActiveIMMApp *This, + HWND hWnd, + HIMC hIMC); + + HRESULT (STDMETHODCALLTYPE *SetCandidateWindow)( + IActiveIMMApp *This, + HIMC hIMC, + CANDIDATEFORM *pCandidate); + + HRESULT (STDMETHODCALLTYPE *SetCompositionFontA)( + IActiveIMMApp *This, + HIMC hIMC, + LOGFONTA *plf); + + HRESULT (STDMETHODCALLTYPE *SetCompositionFontW)( + IActiveIMMApp *This, + HIMC hIMC, + LOGFONTW *plf); + + HRESULT (STDMETHODCALLTYPE *SetCompositionStringA)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + LPVOID pComp, + DWORD dwCompLen, + LPVOID pRead, + DWORD dwReadLen); + + HRESULT (STDMETHODCALLTYPE *SetCompositionStringW)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwIndex, + LPVOID pComp, + DWORD dwCompLen, + LPVOID pRead, + DWORD dwReadLen); + + HRESULT (STDMETHODCALLTYPE *SetCompositionWindow)( + IActiveIMMApp *This, + HIMC hIMC, + COMPOSITIONFORM *pCompForm); + + HRESULT (STDMETHODCALLTYPE *SetConversionStatus)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD fdwConversion, + DWORD fdwSentence); + + HRESULT (STDMETHODCALLTYPE *SetOpenStatus)( + IActiveIMMApp *This, + HIMC hIMC, + BOOL fOpen); + + HRESULT (STDMETHODCALLTYPE *SetStatusWindowPos)( + IActiveIMMApp *This, + HIMC hIMC, + POINT *pptPos); + + HRESULT (STDMETHODCALLTYPE *SimulateHotKey)( + IActiveIMMApp *This, + HWND hwnd, + DWORD dwHotKeyID); + + HRESULT (STDMETHODCALLTYPE *UnregisterWordA)( + IActiveIMMApp *This, + HKL hKL, + LPSTR szReading, + DWORD dwStyle, + LPSTR szUnregister); + + HRESULT (STDMETHODCALLTYPE *UnregisterWordW)( + IActiveIMMApp *This, + HKL hKL, + LPWSTR szReading, + DWORD dwStyle, + LPWSTR szUnregister); + + HRESULT (STDMETHODCALLTYPE *Activate)( + IActiveIMMApp *This, + BOOL fRestoreLayout); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + IActiveIMMApp *This); + + HRESULT (STDMETHODCALLTYPE *OnDefWindowProc)( + IActiveIMMApp *This, + HWND hWnd, + UINT Msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult); + + HRESULT (STDMETHODCALLTYPE *FilterClientWindows)( + IActiveIMMApp *This, + ATOM *aaClassList, + UINT uSize); + + HRESULT (STDMETHODCALLTYPE *GetCodePageA)( + IActiveIMMApp *This, + HKL hKL, + UINT *uCodePage); + + HRESULT (STDMETHODCALLTYPE *GetLangId)( + IActiveIMMApp *This, + HKL hKL, + LANGID *plid); + + HRESULT (STDMETHODCALLTYPE *AssociateContextEx)( + IActiveIMMApp *This, + HWND hWnd, + HIMC hIMC, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DisableIME)( + IActiveIMMApp *This, + DWORD idThread); + + HRESULT (STDMETHODCALLTYPE *GetImeMenuItemsA)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwFlags, + DWORD dwType, + IMEMENUITEMINFOA *pImeParentMenu, + IMEMENUITEMINFOA *pImeMenu, + DWORD dwSize, + DWORD *pdwResult); + + HRESULT (STDMETHODCALLTYPE *GetImeMenuItemsW)( + IActiveIMMApp *This, + HIMC hIMC, + DWORD dwFlags, + DWORD dwType, + IMEMENUITEMINFOW *pImeParentMenu, + IMEMENUITEMINFOW *pImeMenu, + DWORD dwSize, + DWORD *pdwResult); + + HRESULT (STDMETHODCALLTYPE *EnumInputContext)( + IActiveIMMApp *This, + DWORD idThread, + IEnumInputContext **ppEnum); + + END_INTERFACE +} IActiveIMMAppVtbl; + +interface IActiveIMMApp { + CONST_VTBL IActiveIMMAppVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveIMMApp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveIMMApp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveIMMApp_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveIMMApp methods ***/ +#define IActiveIMMApp_AssociateContext(This,hWnd,hIME,phPrev) (This)->lpVtbl->AssociateContext(This,hWnd,hIME,phPrev) +#define IActiveIMMApp_ConfigureIMEA(This,hKL,hwnd,dwMode,pData) (This)->lpVtbl->ConfigureIMEA(This,hKL,hwnd,dwMode,pData) +#define IActiveIMMApp_ConfigureIMEW(This,hKL,hWnd,dwMode,pData) (This)->lpVtbl->ConfigureIMEW(This,hKL,hWnd,dwMode,pData) +#define IActiveIMMApp_CreateContext(This,phIMC) (This)->lpVtbl->CreateContext(This,phIMC) +#define IActiveIMMApp_DestroyContext(This,hIME) (This)->lpVtbl->DestroyContext(This,hIME) +#define IActiveIMMApp_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) (This)->lpVtbl->EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) +#define IActiveIMMApp_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) (This)->lpVtbl->EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) +#define IActiveIMMApp_EscapeA(This,hKL,hIMC,uEscape,pData,plResult) (This)->lpVtbl->EscapeA(This,hKL,hIMC,uEscape,pData,plResult) +#define IActiveIMMApp_EscapeW(This,hKL,hIMC,uEscape,pData,plResult) (This)->lpVtbl->EscapeW(This,hKL,hIMC,uEscape,pData,plResult) +#define IActiveIMMApp_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) (This)->lpVtbl->GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) +#define IActiveIMMApp_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) (This)->lpVtbl->GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) +#define IActiveIMMApp_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen) (This)->lpVtbl->GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen) +#define IActiveIMMApp_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen) (This)->lpVtbl->GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen) +#define IActiveIMMApp_GetCandidateWindow(This,hIMC,dwIndex,pCandidate) (This)->lpVtbl->GetCandidateWindow(This,hIMC,dwIndex,pCandidate) +#define IActiveIMMApp_GetCompositionFontA(This,hIMC,plf) (This)->lpVtbl->GetCompositionFontA(This,hIMC,plf) +#define IActiveIMMApp_GetCompositionFontW(This,hIMC,plf) (This)->lpVtbl->GetCompositionFontW(This,hIMC,plf) +#define IActiveIMMApp_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) (This)->lpVtbl->GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) +#define IActiveIMMApp_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) (This)->lpVtbl->GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) +#define IActiveIMMApp_GetCompositionWindow(This,hIMC,pCompForm) (This)->lpVtbl->GetCompositionWindow(This,hIMC,pCompForm) +#define IActiveIMMApp_GetContext(This,hwnd,phIMC) (This)->lpVtbl->GetContext(This,hwnd,phIMC) +#define IActiveIMMApp_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) (This)->lpVtbl->GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) +#define IActiveIMMApp_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) (This)->lpVtbl->GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) +#define IActiveIMMApp_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence) (This)->lpVtbl->GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence) +#define IActiveIMMApp_GetDefaultIMEWnd(This,hWnd,phDefWnd) (This)->lpVtbl->GetDefaultIMEWnd(This,hWnd,phDefWnd) +#define IActiveIMMApp_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied) (This)->lpVtbl->GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied) +#define IActiveIMMApp_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied) (This)->lpVtbl->GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied) +#define IActiveIMMApp_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) (This)->lpVtbl->GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) +#define IActiveIMMApp_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) (This)->lpVtbl->GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) +#define IActiveIMMApp_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied) (This)->lpVtbl->GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied) +#define IActiveIMMApp_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied) (This)->lpVtbl->GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied) +#define IActiveIMMApp_GetOpenStatus(This,hIMC) (This)->lpVtbl->GetOpenStatus(This,hIMC) +#define IActiveIMMApp_GetProperty(This,hKL,fdwIndex,pdwProperty) (This)->lpVtbl->GetProperty(This,hKL,fdwIndex,pdwProperty) +#define IActiveIMMApp_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied) (This)->lpVtbl->GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied) +#define IActiveIMMApp_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied) (This)->lpVtbl->GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied) +#define IActiveIMMApp_GetStatusWindowPos(This,hIMC,pptPos) (This)->lpVtbl->GetStatusWindowPos(This,hIMC,pptPos) +#define IActiveIMMApp_GetVirtualKey(This,hWnd,puVirtualKey) (This)->lpVtbl->GetVirtualKey(This,hWnd,puVirtualKey) +#define IActiveIMMApp_InstallIMEA(This,szIMEFileName,szLayoutText,phKL) (This)->lpVtbl->InstallIMEA(This,szIMEFileName,szLayoutText,phKL) +#define IActiveIMMApp_InstallIMEW(This,szIMEFileName,szLayoutText,phKL) (This)->lpVtbl->InstallIMEW(This,szIMEFileName,szLayoutText,phKL) +#define IActiveIMMApp_IsIME(This,hKL) (This)->lpVtbl->IsIME(This,hKL) +#define IActiveIMMApp_IsUIMessageA(This,hWndIME,msg,wParam,lParam) (This)->lpVtbl->IsUIMessageA(This,hWndIME,msg,wParam,lParam) +#define IActiveIMMApp_IsUIMessageW(This,hWndIME,msg,wParam,lParam) (This)->lpVtbl->IsUIMessageW(This,hWndIME,msg,wParam,lParam) +#define IActiveIMMApp_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue) (This)->lpVtbl->NotifyIME(This,hIMC,dwAction,dwIndex,dwValue) +#define IActiveIMMApp_RegisterWordA(This,hKL,szReading,dwStyle,szRegister) (This)->lpVtbl->RegisterWordA(This,hKL,szReading,dwStyle,szRegister) +#define IActiveIMMApp_RegisterWordW(This,hKL,szReading,dwStyle,szRegister) (This)->lpVtbl->RegisterWordW(This,hKL,szReading,dwStyle,szRegister) +#define IActiveIMMApp_ReleaseContext(This,hWnd,hIMC) (This)->lpVtbl->ReleaseContext(This,hWnd,hIMC) +#define IActiveIMMApp_SetCandidateWindow(This,hIMC,pCandidate) (This)->lpVtbl->SetCandidateWindow(This,hIMC,pCandidate) +#define IActiveIMMApp_SetCompositionFontA(This,hIMC,plf) (This)->lpVtbl->SetCompositionFontA(This,hIMC,plf) +#define IActiveIMMApp_SetCompositionFontW(This,hIMC,plf) (This)->lpVtbl->SetCompositionFontW(This,hIMC,plf) +#define IActiveIMMApp_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) (This)->lpVtbl->SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) +#define IActiveIMMApp_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) (This)->lpVtbl->SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) +#define IActiveIMMApp_SetCompositionWindow(This,hIMC,pCompForm) (This)->lpVtbl->SetCompositionWindow(This,hIMC,pCompForm) +#define IActiveIMMApp_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence) (This)->lpVtbl->SetConversionStatus(This,hIMC,fdwConversion,fdwSentence) +#define IActiveIMMApp_SetOpenStatus(This,hIMC,fOpen) (This)->lpVtbl->SetOpenStatus(This,hIMC,fOpen) +#define IActiveIMMApp_SetStatusWindowPos(This,hIMC,pptPos) (This)->lpVtbl->SetStatusWindowPos(This,hIMC,pptPos) +#define IActiveIMMApp_SimulateHotKey(This,hwnd,dwHotKeyID) (This)->lpVtbl->SimulateHotKey(This,hwnd,dwHotKeyID) +#define IActiveIMMApp_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister) (This)->lpVtbl->UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister) +#define IActiveIMMApp_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister) (This)->lpVtbl->UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister) +#define IActiveIMMApp_Activate(This,fRestoreLayout) (This)->lpVtbl->Activate(This,fRestoreLayout) +#define IActiveIMMApp_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#define IActiveIMMApp_OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult) (This)->lpVtbl->OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult) +#define IActiveIMMApp_FilterClientWindows(This,aaClassList,uSize) (This)->lpVtbl->FilterClientWindows(This,aaClassList,uSize) +#define IActiveIMMApp_GetCodePageA(This,hKL,uCodePage) (This)->lpVtbl->GetCodePageA(This,hKL,uCodePage) +#define IActiveIMMApp_GetLangId(This,hKL,plid) (This)->lpVtbl->GetLangId(This,hKL,plid) +#define IActiveIMMApp_AssociateContextEx(This,hWnd,hIMC,dwFlags) (This)->lpVtbl->AssociateContextEx(This,hWnd,hIMC,dwFlags) +#define IActiveIMMApp_DisableIME(This,idThread) (This)->lpVtbl->DisableIME(This,idThread) +#define IActiveIMMApp_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) (This)->lpVtbl->GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) +#define IActiveIMMApp_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) (This)->lpVtbl->GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) +#define IActiveIMMApp_EnumInputContext(This,idThread,ppEnum) (This)->lpVtbl->EnumInputContext(This,idThread,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveIMMApp_QueryInterface(IActiveIMMApp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveIMMApp_AddRef(IActiveIMMApp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveIMMApp_Release(IActiveIMMApp* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveIMMApp methods ***/ +static FORCEINLINE HRESULT IActiveIMMApp_AssociateContext(IActiveIMMApp* This,HWND hWnd,HIMC hIME,HIMC *phPrev) { + return This->lpVtbl->AssociateContext(This,hWnd,hIME,phPrev); +} +static FORCEINLINE HRESULT IActiveIMMApp_ConfigureIMEA(IActiveIMMApp* This,HKL hKL,HWND hwnd,DWORD dwMode,REGISTERWORDA *pData) { + return This->lpVtbl->ConfigureIMEA(This,hKL,hwnd,dwMode,pData); +} +static FORCEINLINE HRESULT IActiveIMMApp_ConfigureIMEW(IActiveIMMApp* This,HKL hKL,HWND hWnd,DWORD dwMode,REGISTERWORDW *pData) { + return This->lpVtbl->ConfigureIMEW(This,hKL,hWnd,dwMode,pData); +} +static FORCEINLINE HRESULT IActiveIMMApp_CreateContext(IActiveIMMApp* This,HIMC *phIMC) { + return This->lpVtbl->CreateContext(This,phIMC); +} +static FORCEINLINE HRESULT IActiveIMMApp_DestroyContext(IActiveIMMApp* This,HIMC hIME) { + return This->lpVtbl->DestroyContext(This,hIME); +} +static FORCEINLINE HRESULT IActiveIMMApp_EnumRegisterWordA(IActiveIMMApp* This,HKL hKL,LPSTR szReading,DWORD dwStyle,LPSTR szRegister,LPVOID pData,IEnumRegisterWordA **pEnum) { + return This->lpVtbl->EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum); +} +static FORCEINLINE HRESULT IActiveIMMApp_EnumRegisterWordW(IActiveIMMApp* This,HKL hKL,LPWSTR szReading,DWORD dwStyle,LPWSTR szRegister,LPVOID pData,IEnumRegisterWordW **pEnum) { + return This->lpVtbl->EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum); +} +static FORCEINLINE HRESULT IActiveIMMApp_EscapeA(IActiveIMMApp* This,HKL hKL,HIMC hIMC,UINT uEscape,LPVOID pData,LRESULT *plResult) { + return This->lpVtbl->EscapeA(This,hKL,hIMC,uEscape,pData,plResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_EscapeW(IActiveIMMApp* This,HKL hKL,HIMC hIMC,UINT uEscape,LPVOID pData,LRESULT *plResult) { + return This->lpVtbl->EscapeW(This,hKL,hIMC,uEscape,pData,plResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCandidateListA(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,UINT uBufLen,CANDIDATELIST *pCandList,UINT *puCopied) { + return This->lpVtbl->GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCandidateListW(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,UINT uBufLen,CANDIDATELIST *pCandList,UINT *puCopied) { + return This->lpVtbl->GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCandidateListCountA(IActiveIMMApp* This,HIMC hIMC,DWORD *pdwListSize,DWORD *pdwBufLen) { + return This->lpVtbl->GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCandidateListCountW(IActiveIMMApp* This,HIMC hIMC,DWORD *pdwListSize,DWORD *pdwBufLen) { + return This->lpVtbl->GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCandidateWindow(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,CANDIDATEFORM *pCandidate) { + return This->lpVtbl->GetCandidateWindow(This,hIMC,dwIndex,pCandidate); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCompositionFontA(IActiveIMMApp* This,HIMC hIMC,LOGFONTA *plf) { + return This->lpVtbl->GetCompositionFontA(This,hIMC,plf); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCompositionFontW(IActiveIMMApp* This,HIMC hIMC,LOGFONTW *plf) { + return This->lpVtbl->GetCompositionFontW(This,hIMC,plf); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCompositionStringA(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,DWORD dwBufLen,LONG *plCopied,LPVOID pBuf) { + return This->lpVtbl->GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCompositionStringW(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,DWORD dwBufLen,LONG *plCopied,LPVOID pBuf) { + return This->lpVtbl->GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCompositionWindow(IActiveIMMApp* This,HIMC hIMC,COMPOSITIONFORM *pCompForm) { + return This->lpVtbl->GetCompositionWindow(This,hIMC,pCompForm); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetContext(IActiveIMMApp* This,HWND hwnd,HIMC *phIMC) { + return This->lpVtbl->GetContext(This,hwnd,phIMC); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetConversionListA(IActiveIMMApp* This,HKL hKL,HIMC hIMC,LPSTR pSrc,UINT uBufLen,UINT uFlag,CANDIDATELIST *pDst,UINT *puCopied) { + return This->lpVtbl->GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetConversionListW(IActiveIMMApp* This,HKL hKL,HIMC hIMC,LPWSTR pSrc,UINT uBufLen,UINT uFlag,CANDIDATELIST *pDst,UINT *puCopied) { + return This->lpVtbl->GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetConversionStatus(IActiveIMMApp* This,HIMC hIMC,DWORD *pfdwConversion,DWORD *pfdwSentence) { + return This->lpVtbl->GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetDefaultIMEWnd(IActiveIMMApp* This,HWND hWnd,HWND *phDefWnd) { + return This->lpVtbl->GetDefaultIMEWnd(This,hWnd,phDefWnd); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetDescriptionA(IActiveIMMApp* This,HKL hKL,UINT uBufLen,LPSTR szDescription,UINT *puCopied) { + return This->lpVtbl->GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetDescriptionW(IActiveIMMApp* This,HKL hKL,UINT uBufLen,LPWSTR szDescription,UINT *puCopied) { + return This->lpVtbl->GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetGuideLineA(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,DWORD dwBufLen,LPSTR pBuf,DWORD *pdwResult) { + return This->lpVtbl->GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetGuideLineW(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,DWORD dwBufLen,LPWSTR pBuf,DWORD *pdwResult) { + return This->lpVtbl->GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetIMEFileNameA(IActiveIMMApp* This,HKL hKL,UINT uBufLen,LPSTR szFileName,UINT *puCopied) { + return This->lpVtbl->GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetIMEFileNameW(IActiveIMMApp* This,HKL hKL,UINT uBufLen,LPWSTR szFileName,UINT *puCopied) { + return This->lpVtbl->GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetOpenStatus(IActiveIMMApp* This,HIMC hIMC) { + return This->lpVtbl->GetOpenStatus(This,hIMC); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetProperty(IActiveIMMApp* This,HKL hKL,DWORD fdwIndex,DWORD *pdwProperty) { + return This->lpVtbl->GetProperty(This,hKL,fdwIndex,pdwProperty); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetRegisterWordStyleA(IActiveIMMApp* This,HKL hKL,UINT nItem,STYLEBUFA *pStyleBuf,UINT *puCopied) { + return This->lpVtbl->GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetRegisterWordStyleW(IActiveIMMApp* This,HKL hKL,UINT nItem,STYLEBUFW *pStyleBuf,UINT *puCopied) { + return This->lpVtbl->GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetStatusWindowPos(IActiveIMMApp* This,HIMC hIMC,POINT *pptPos) { + return This->lpVtbl->GetStatusWindowPos(This,hIMC,pptPos); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetVirtualKey(IActiveIMMApp* This,HWND hWnd,UINT *puVirtualKey) { + return This->lpVtbl->GetVirtualKey(This,hWnd,puVirtualKey); +} +static FORCEINLINE HRESULT IActiveIMMApp_InstallIMEA(IActiveIMMApp* This,LPSTR szIMEFileName,LPSTR szLayoutText,HKL *phKL) { + return This->lpVtbl->InstallIMEA(This,szIMEFileName,szLayoutText,phKL); +} +static FORCEINLINE HRESULT IActiveIMMApp_InstallIMEW(IActiveIMMApp* This,LPWSTR szIMEFileName,LPWSTR szLayoutText,HKL *phKL) { + return This->lpVtbl->InstallIMEW(This,szIMEFileName,szLayoutText,phKL); +} +static FORCEINLINE HRESULT IActiveIMMApp_IsIME(IActiveIMMApp* This,HKL hKL) { + return This->lpVtbl->IsIME(This,hKL); +} +static FORCEINLINE HRESULT IActiveIMMApp_IsUIMessageA(IActiveIMMApp* This,HWND hWndIME,UINT msg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->IsUIMessageA(This,hWndIME,msg,wParam,lParam); +} +static FORCEINLINE HRESULT IActiveIMMApp_IsUIMessageW(IActiveIMMApp* This,HWND hWndIME,UINT msg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->IsUIMessageW(This,hWndIME,msg,wParam,lParam); +} +static FORCEINLINE HRESULT IActiveIMMApp_NotifyIME(IActiveIMMApp* This,HIMC hIMC,DWORD dwAction,DWORD dwIndex,DWORD dwValue) { + return This->lpVtbl->NotifyIME(This,hIMC,dwAction,dwIndex,dwValue); +} +static FORCEINLINE HRESULT IActiveIMMApp_RegisterWordA(IActiveIMMApp* This,HKL hKL,LPSTR szReading,DWORD dwStyle,LPSTR szRegister) { + return This->lpVtbl->RegisterWordA(This,hKL,szReading,dwStyle,szRegister); +} +static FORCEINLINE HRESULT IActiveIMMApp_RegisterWordW(IActiveIMMApp* This,HKL hKL,LPWSTR szReading,DWORD dwStyle,LPWSTR szRegister) { + return This->lpVtbl->RegisterWordW(This,hKL,szReading,dwStyle,szRegister); +} +static FORCEINLINE HRESULT IActiveIMMApp_ReleaseContext(IActiveIMMApp* This,HWND hWnd,HIMC hIMC) { + return This->lpVtbl->ReleaseContext(This,hWnd,hIMC); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetCandidateWindow(IActiveIMMApp* This,HIMC hIMC,CANDIDATEFORM *pCandidate) { + return This->lpVtbl->SetCandidateWindow(This,hIMC,pCandidate); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetCompositionFontA(IActiveIMMApp* This,HIMC hIMC,LOGFONTA *plf) { + return This->lpVtbl->SetCompositionFontA(This,hIMC,plf); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetCompositionFontW(IActiveIMMApp* This,HIMC hIMC,LOGFONTW *plf) { + return This->lpVtbl->SetCompositionFontW(This,hIMC,plf); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetCompositionStringA(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,LPVOID pComp,DWORD dwCompLen,LPVOID pRead,DWORD dwReadLen) { + return This->lpVtbl->SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetCompositionStringW(IActiveIMMApp* This,HIMC hIMC,DWORD dwIndex,LPVOID pComp,DWORD dwCompLen,LPVOID pRead,DWORD dwReadLen) { + return This->lpVtbl->SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetCompositionWindow(IActiveIMMApp* This,HIMC hIMC,COMPOSITIONFORM *pCompForm) { + return This->lpVtbl->SetCompositionWindow(This,hIMC,pCompForm); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetConversionStatus(IActiveIMMApp* This,HIMC hIMC,DWORD fdwConversion,DWORD fdwSentence) { + return This->lpVtbl->SetConversionStatus(This,hIMC,fdwConversion,fdwSentence); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetOpenStatus(IActiveIMMApp* This,HIMC hIMC,BOOL fOpen) { + return This->lpVtbl->SetOpenStatus(This,hIMC,fOpen); +} +static FORCEINLINE HRESULT IActiveIMMApp_SetStatusWindowPos(IActiveIMMApp* This,HIMC hIMC,POINT *pptPos) { + return This->lpVtbl->SetStatusWindowPos(This,hIMC,pptPos); +} +static FORCEINLINE HRESULT IActiveIMMApp_SimulateHotKey(IActiveIMMApp* This,HWND hwnd,DWORD dwHotKeyID) { + return This->lpVtbl->SimulateHotKey(This,hwnd,dwHotKeyID); +} +static FORCEINLINE HRESULT IActiveIMMApp_UnregisterWordA(IActiveIMMApp* This,HKL hKL,LPSTR szReading,DWORD dwStyle,LPSTR szUnregister) { + return This->lpVtbl->UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister); +} +static FORCEINLINE HRESULT IActiveIMMApp_UnregisterWordW(IActiveIMMApp* This,HKL hKL,LPWSTR szReading,DWORD dwStyle,LPWSTR szUnregister) { + return This->lpVtbl->UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister); +} +static FORCEINLINE HRESULT IActiveIMMApp_Activate(IActiveIMMApp* This,BOOL fRestoreLayout) { + return This->lpVtbl->Activate(This,fRestoreLayout); +} +static FORCEINLINE HRESULT IActiveIMMApp_Deactivate(IActiveIMMApp* This) { + return This->lpVtbl->Deactivate(This); +} +static FORCEINLINE HRESULT IActiveIMMApp_OnDefWindowProc(IActiveIMMApp* This,HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) { + return This->lpVtbl->OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_FilterClientWindows(IActiveIMMApp* This,ATOM *aaClassList,UINT uSize) { + return This->lpVtbl->FilterClientWindows(This,aaClassList,uSize); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetCodePageA(IActiveIMMApp* This,HKL hKL,UINT *uCodePage) { + return This->lpVtbl->GetCodePageA(This,hKL,uCodePage); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetLangId(IActiveIMMApp* This,HKL hKL,LANGID *plid) { + return This->lpVtbl->GetLangId(This,hKL,plid); +} +static FORCEINLINE HRESULT IActiveIMMApp_AssociateContextEx(IActiveIMMApp* This,HWND hWnd,HIMC hIMC,DWORD dwFlags) { + return This->lpVtbl->AssociateContextEx(This,hWnd,hIMC,dwFlags); +} +static FORCEINLINE HRESULT IActiveIMMApp_DisableIME(IActiveIMMApp* This,DWORD idThread) { + return This->lpVtbl->DisableIME(This,idThread); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetImeMenuItemsA(IActiveIMMApp* This,HIMC hIMC,DWORD dwFlags,DWORD dwType,IMEMENUITEMINFOA *pImeParentMenu,IMEMENUITEMINFOA *pImeMenu,DWORD dwSize,DWORD *pdwResult) { + return This->lpVtbl->GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_GetImeMenuItemsW(IActiveIMMApp* This,HIMC hIMC,DWORD dwFlags,DWORD dwType,IMEMENUITEMINFOW *pImeParentMenu,IMEMENUITEMINFOW *pImeMenu,DWORD dwSize,DWORD *pdwResult) { + return This->lpVtbl->GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult); +} +static FORCEINLINE HRESULT IActiveIMMApp_EnumInputContext(IActiveIMMApp* This,DWORD idThread,IEnumInputContext **ppEnum) { + return This->lpVtbl->EnumInputContext(This,idThread,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IActiveIMMApp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveIMMMessagePumpOwner interface + */ +#ifndef __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__ +#define __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveIMMMessagePumpOwner, 0xb5cf2cfa, 0x8aeb, 0x11d1, 0x93,0x64, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b5cf2cfa-8aeb-11d1-9364-0060b067b86e") +IActiveIMMMessagePumpOwner : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE End( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnTranslateMessage( + const MSG *msg) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( + DWORD *cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + DWORD cookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveIMMMessagePumpOwner, 0xb5cf2cfa, 0x8aeb, 0x11d1, 0x93,0x64, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct IActiveIMMMessagePumpOwnerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveIMMMessagePumpOwner *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveIMMMessagePumpOwner *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveIMMMessagePumpOwner *This); + + /*** IActiveIMMMessagePumpOwner methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IActiveIMMMessagePumpOwner *This); + + HRESULT (STDMETHODCALLTYPE *End)( + IActiveIMMMessagePumpOwner *This); + + HRESULT (STDMETHODCALLTYPE *OnTranslateMessage)( + IActiveIMMMessagePumpOwner *This, + const MSG *msg); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IActiveIMMMessagePumpOwner *This, + DWORD *cookie); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IActiveIMMMessagePumpOwner *This, + DWORD cookie); + + END_INTERFACE +} IActiveIMMMessagePumpOwnerVtbl; + +interface IActiveIMMMessagePumpOwner { + CONST_VTBL IActiveIMMMessagePumpOwnerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveIMMMessagePumpOwner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveIMMMessagePumpOwner_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveIMMMessagePumpOwner_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveIMMMessagePumpOwner methods ***/ +#define IActiveIMMMessagePumpOwner_Start(This) (This)->lpVtbl->Start(This) +#define IActiveIMMMessagePumpOwner_End(This) (This)->lpVtbl->End(This) +#define IActiveIMMMessagePumpOwner_OnTranslateMessage(This,msg) (This)->lpVtbl->OnTranslateMessage(This,msg) +#define IActiveIMMMessagePumpOwner_Pause(This,cookie) (This)->lpVtbl->Pause(This,cookie) +#define IActiveIMMMessagePumpOwner_Resume(This,cookie) (This)->lpVtbl->Resume(This,cookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveIMMMessagePumpOwner_QueryInterface(IActiveIMMMessagePumpOwner* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveIMMMessagePumpOwner_AddRef(IActiveIMMMessagePumpOwner* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveIMMMessagePumpOwner_Release(IActiveIMMMessagePumpOwner* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveIMMMessagePumpOwner methods ***/ +static FORCEINLINE HRESULT IActiveIMMMessagePumpOwner_Start(IActiveIMMMessagePumpOwner* This) { + return This->lpVtbl->Start(This); +} +static FORCEINLINE HRESULT IActiveIMMMessagePumpOwner_End(IActiveIMMMessagePumpOwner* This) { + return This->lpVtbl->End(This); +} +static FORCEINLINE HRESULT IActiveIMMMessagePumpOwner_OnTranslateMessage(IActiveIMMMessagePumpOwner* This,const MSG *msg) { + return This->lpVtbl->OnTranslateMessage(This,msg); +} +static FORCEINLINE HRESULT IActiveIMMMessagePumpOwner_Pause(IActiveIMMMessagePumpOwner* This,DWORD *cookie) { + return This->lpVtbl->Pause(This,cookie); +} +static FORCEINLINE HRESULT IActiveIMMMessagePumpOwner_Resume(IActiveIMMMessagePumpOwner* This,DWORD cookie) { + return This->lpVtbl->Resume(This,cookie); +} +#endif +#endif + +#endif + + +#endif /* __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CActiveIMM coclass + */ + +DEFINE_GUID(CLSID_CActiveIMM, 0x4955dd33, 0xb159, 0x11d0, 0x8f,0xcf, 0x00,0xaa,0x00,0x6b,0xcc,0x59); + +#ifdef __cplusplus +class DECLSPEC_UUID("4955dd33-b159-11d0-8fcf-00aa006bcc59") CActiveIMM; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CActiveIMM, 0x4955dd33, 0xb159, 0x11d0, 0x8f,0xcf, 0x00,0xaa,0x00,0x6b,0xcc,0x59) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dimm_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dimm.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dimm.idl new file mode 100644 index 0000000..3e31811 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dimm.idl @@ -0,0 +1,604 @@ +/* + * Copyright 2007 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +#endif + +cpp_quote("#include ") + +cpp_quote("#if 0") + +typedef struct { + LPSTR lpReading; + LPSTR lpWord; +} REGISTERWORDA; + +typedef struct { + LPWSTR lpReading; + LPWSTR lpWord; +} REGISTERWORDW; + +#define LF_FACESIZE 32 + +typedef struct { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + CHAR lfFaceName[LF_FACESIZE]; +} LOGFONTA; + +typedef struct { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + WCHAR lfFaceName[LF_FACESIZE]; +} LOGFONTW; + +typedef DWORD HIMC; +typedef DWORD HIMCC; + +typedef struct { + DWORD dwIndex; + DWORD dwStyle; + POINT ptCurrentPos; + RECT rcArea; +} CANDIDATEFORM; + +typedef struct { + DWORD dwStyle; + POINT ptCurrentPos; + RECT rcArea; +} COMPOSITIONFORM; + +typedef struct { + DWORD dwSize; + DWORD dwStyle; + DWORD dwCount; + DWORD dwSelection; + DWORD dwPageStart; + DWORD dwPageSize; + DWORD dwOffset[1]; +} CANDIDATELIST; + +#define STYLE_DESCRIPTION_SIZE 32 + +typedef struct { + DWORD dwStyle; + CHAR szDescription[STYLE_DESCRIPTION_SIZE]; +} STYLEBUFA; + +typedef struct { + DWORD dwStyle; + WCHAR szDescription[STYLE_DESCRIPTION_SIZE]; +} STYLEBUFW; + +typedef WORD ATOM; + +#define IMEMENUITEM_STRING_SIZE 80 + +typedef struct { + UINT cbSize; + UINT fType; + UINT fState; + UINT wID; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + DWORD dwItemData; + CHAR szString[IMEMENUITEM_STRING_SIZE]; + HBITMAP hbmpItem; +} IMEMENUITEMINFOA; + +typedef struct { + UINT cbSize; + UINT fType; + UINT fState; + UINT wID; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + DWORD dwItemData; + WCHAR szString[IMEMENUITEM_STRING_SIZE]; + HBITMAP hbmpItem; +} IMEMENUITEMINFOW; + +cpp_quote("#endif") + +[ + object, + uuid(08c03412-f96b-11d0-a475-00aa006bcc59), + pointer_default(unique) +] +interface IEnumRegisterWordA : IUnknown +{ + HRESULT Clone( + [out] IEnumRegisterWordA **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out] REGISTERWORDA *rgRegisterword, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + uuid(4955dd31-b159-11d0-8fcf-00aa006bcc59), + pointer_default(unique) +] +interface IEnumRegisterWordW : IUnknown +{ + HRESULT Clone( + [out] IEnumRegisterWordW **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out] REGISTERWORDW *rgRegisterword, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + uuid(09b5eab0-f997-11d1-93d4-0060b067b86e), + pointer_default(unique), + local +] +interface IEnumInputContext : IUnknown +{ + HRESULT Clone( + [out] IEnumInputContext **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out] HIMC *rgInputContext, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + uuid(08c0e040-62d1-11d1-9326-0060b067b86e), + pointer_default(unique), + local +] +interface IActiveIMMApp : IUnknown +{ + HRESULT AssociateContext( + [in] HWND hWnd, + [in] HIMC hIME, + [out] HIMC *phPrev); + + HRESULT ConfigureIMEA( + [in] HKL hKL, + [in] HWND hwnd, + [in] DWORD dwMode, + [in] REGISTERWORDA *pData); + + HRESULT ConfigureIMEW( + [in] HKL hKL, + [in] HWND hWnd, + [in] DWORD dwMode, + [in] REGISTERWORDW *pData); + + HRESULT CreateContext( + [out] HIMC *phIMC); + + HRESULT DestroyContext( + [in] HIMC hIME); + + HRESULT EnumRegisterWordA( + [in] HKL hKL, + [in] LPSTR szReading, + [in] DWORD dwStyle, + [in] LPSTR szRegister, + [in] LPVOID pData, + [out] IEnumRegisterWordA **pEnum); + + HRESULT EnumRegisterWordW( + [in] HKL hKL, + [in] LPWSTR szReading, + [in] DWORD dwStyle, + [in] LPWSTR szRegister, + [in] LPVOID pData, + [out] IEnumRegisterWordW **pEnum); + + HRESULT EscapeA( + [in] HKL hKL, + [in] HIMC hIMC, + [in] UINT uEscape, + [in, out] LPVOID pData, + [out] LRESULT *plResult); + + HRESULT EscapeW( + [in] HKL hKL, + [in] HIMC hIMC, + [in] UINT uEscape, + [in, out] LPVOID pData, + [out] LRESULT *plResult); + + HRESULT GetCandidateListA( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] UINT uBufLen, + [out] CANDIDATELIST *pCandList, + [out] UINT *puCopied); + + HRESULT GetCandidateListW( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] UINT uBufLen, + [out] CANDIDATELIST *pCandList, + [out] UINT *puCopied); + + HRESULT GetCandidateListCountA( + [in] HIMC hIMC, + [out] DWORD *pdwListSize, + [out] DWORD *pdwBufLen); + + HRESULT GetCandidateListCountW( + [in] HIMC hIMC, + [out] DWORD *pdwListSize, + [out] DWORD *pdwBufLen); + + HRESULT GetCandidateWindow( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [out] CANDIDATEFORM *pCandidate); + + HRESULT GetCompositionFontA( + [in] HIMC hIMC, + [out] LOGFONTA *plf); + + HRESULT GetCompositionFontW( + [in] HIMC hIMC, + [out] LOGFONTW *plf); + + HRESULT GetCompositionStringA( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] DWORD dwBufLen, + [out] LONG *plCopied, + [out] LPVOID pBuf); + + HRESULT GetCompositionStringW( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] DWORD dwBufLen, + [out] LONG *plCopied, + [out] LPVOID pBuf); + + HRESULT GetCompositionWindow( + [in] HIMC hIMC, + [out] COMPOSITIONFORM *pCompForm); + + HRESULT GetContext( + [in] HWND hwnd, + [out] HIMC *phIMC); + + HRESULT GetConversionListA( + [in] HKL hKL, + [in] HIMC hIMC, + [in] LPSTR pSrc, + [in] UINT uBufLen, + [in] UINT uFlag, + [out] CANDIDATELIST *pDst, + [out] UINT *puCopied); + + HRESULT GetConversionListW( + [in] HKL hKL, + [in] HIMC hIMC, + [in] LPWSTR pSrc, + [in] UINT uBufLen, + [in] UINT uFlag, + [out] CANDIDATELIST *pDst, + [out] UINT *puCopied); + + HRESULT GetConversionStatus( + [in] HIMC hIMC, + [out] DWORD *pfdwConversion, + [out] DWORD *pfdwSentence); + + HRESULT GetDefaultIMEWnd( + [in] HWND hWnd, + [out] HWND *phDefWnd); + + HRESULT GetDescriptionA( + [in] HKL hKL, + [in] UINT uBufLen, + [out] LPSTR szDescription, + [out] UINT *puCopied); + + HRESULT GetDescriptionW( + [in] HKL hKL, + [in] UINT uBufLen, + [out] LPWSTR szDescription, + [out] UINT *puCopied); + + HRESULT GetGuideLineA( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] DWORD dwBufLen, + [out] LPSTR pBuf, + [out] DWORD *pdwResult); + + HRESULT GetGuideLineW( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] DWORD dwBufLen, + [out] LPWSTR pBuf, + [out] DWORD *pdwResult); + + HRESULT GetIMEFileNameA( + [in] HKL hKL, + [in] UINT uBufLen, + [out] LPSTR szFileName, + [out] UINT *puCopied); + + HRESULT GetIMEFileNameW( + [in] HKL hKL, + [in] UINT uBufLen, + [out] LPWSTR szFileName, + [out] UINT *puCopied); + + HRESULT GetOpenStatus( + [in] HIMC hIMC); + + HRESULT GetProperty( + [in] HKL hKL, + [in] DWORD fdwIndex, + [out] DWORD *pdwProperty); + + HRESULT GetRegisterWordStyleA( + [in] HKL hKL, + [in] UINT nItem, + [out] STYLEBUFA *pStyleBuf, + [out] UINT *puCopied); + + HRESULT GetRegisterWordStyleW( + [in] HKL hKL, + [in] UINT nItem, + [out] STYLEBUFW *pStyleBuf, + [out] UINT *puCopied); + + HRESULT GetStatusWindowPos( + [in] HIMC hIMC, + [out] POINT *pptPos); + + HRESULT GetVirtualKey( + [in] HWND hWnd, + [out] UINT *puVirtualKey); + + HRESULT InstallIMEA( + [in] LPSTR szIMEFileName, + [in] LPSTR szLayoutText, + [out] HKL *phKL); + + HRESULT InstallIMEW( + [in] LPWSTR szIMEFileName, + [in] LPWSTR szLayoutText, + [out] HKL *phKL); + + HRESULT IsIME( + [in] HKL hKL); + + HRESULT IsUIMessageA( + [in] HWND hWndIME, + [in] UINT msg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT IsUIMessageW( + [in] HWND hWndIME, + [in] UINT msg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT NotifyIME( + [in] HIMC hIMC, + [in] DWORD dwAction, + [in] DWORD dwIndex, + [in] DWORD dwValue); + + HRESULT RegisterWordA( + [in] HKL hKL, + [in] LPSTR szReading, + [in] DWORD dwStyle, + [in] LPSTR szRegister); + + HRESULT RegisterWordW( + [in] HKL hKL, + [in] LPWSTR szReading, + [in] DWORD dwStyle, + [in] LPWSTR szRegister); + + HRESULT ReleaseContext( + [in] HWND hWnd, + [in] HIMC hIMC); + + HRESULT SetCandidateWindow( + [in] HIMC hIMC, + [in] CANDIDATEFORM *pCandidate); + + HRESULT SetCompositionFontA( + [in] HIMC hIMC, + [in] LOGFONTA *plf); + + HRESULT SetCompositionFontW( + [in] HIMC hIMC, + [in] LOGFONTW *plf); + + HRESULT SetCompositionStringA( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] LPVOID pComp, + [in] DWORD dwCompLen, + [in] LPVOID pRead, + [in] DWORD dwReadLen); + + HRESULT SetCompositionStringW( + [in] HIMC hIMC, + [in] DWORD dwIndex, + [in] LPVOID pComp, + [in] DWORD dwCompLen, + [in] LPVOID pRead, + [in] DWORD dwReadLen); + + HRESULT SetCompositionWindow( + [in] HIMC hIMC, + [in] COMPOSITIONFORM *pCompForm); + + HRESULT SetConversionStatus( + [in] HIMC hIMC, + [in] DWORD fdwConversion, + [in] DWORD fdwSentence); + + HRESULT SetOpenStatus( + [in] HIMC hIMC, + [in] BOOL fOpen); + + HRESULT SetStatusWindowPos( + [in] HIMC hIMC, + [in] POINT *pptPos); + + HRESULT SimulateHotKey( + [in] HWND hwnd, + [in] DWORD dwHotKeyID); + + HRESULT UnregisterWordA( + [in] HKL hKL, + [in] LPSTR szReading, + [in] DWORD dwStyle, + [in] LPSTR szUnregister); + + HRESULT UnregisterWordW( + [in] HKL hKL, + [in] LPWSTR szReading, + [in] DWORD dwStyle, + [in] LPWSTR szUnregister); + + HRESULT Activate( + [in] BOOL fRestoreLayout); + + HRESULT Deactivate(); + + HRESULT OnDefWindowProc( + [in] HWND hWnd, + [in] UINT Msg, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] LRESULT *plResult); + + HRESULT FilterClientWindows( + [in] ATOM *aaClassList, + [in] UINT uSize); + + HRESULT GetCodePageA( + [in] HKL hKL, + [out] UINT *uCodePage); + + HRESULT GetLangId( + [in] HKL hKL, + [out] LANGID *plid); + + HRESULT AssociateContextEx( + [in] HWND hWnd, + [in] HIMC hIMC, + [in] DWORD dwFlags); + + HRESULT DisableIME( + [in] DWORD idThread); + + HRESULT GetImeMenuItemsA( + [in] HIMC hIMC, + [in] DWORD dwFlags, + [in] DWORD dwType, + [in] IMEMENUITEMINFOA *pImeParentMenu, + [out] IMEMENUITEMINFOA *pImeMenu, + [in] DWORD dwSize, + [out] DWORD *pdwResult); + + HRESULT GetImeMenuItemsW( + [in] HIMC hIMC, + [in] DWORD dwFlags, + [in] DWORD dwType, + [in] IMEMENUITEMINFOW *pImeParentMenu, + [out] IMEMENUITEMINFOW *pImeMenu, + [in] DWORD dwSize, + [out] DWORD *pdwResult); + + HRESULT EnumInputContext( + [in] DWORD idThread, + [out] IEnumInputContext **ppEnum); +} + +[ + object, + uuid(b5cf2cfa-8aeb-11d1-9364-0060b067b86e), + pointer_default(unique) +] +interface IActiveIMMMessagePumpOwner : IUnknown +{ + HRESULT Start(); + HRESULT End(); + HRESULT OnTranslateMessage([in] const MSG *msg); + HRESULT Pause([out] DWORD *cookie); + HRESULT Resume([in] DWORD cookie); +} + +[ + uuid(4955dd33-b159-11d0-8fcf-00aa006bcc59) +] +coclass CActiveIMM +{ + [default] interface IActiveIMMApp; + /* interface IActiveIMMIME; */ + /* interface IActiveIMMRegistrar; */ + interface IActiveIMMMessagePumpOwner; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dinput.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dinput.h new file mode 100644 index 0000000..beb81a7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dinput.h @@ -0,0 +1,2501 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DINPUT_INCLUDED__ +#define __DINPUT_INCLUDED__ + +#define COM_NO_WINDOWS_H +#include + +#ifndef DIRECTINPUT_VERSION +#define DIRECTINPUT_VERSION 0x0800 +#endif + +/* Classes */ +DEFINE_GUID(CLSID_DirectInput, 0x25E609E0,0xB259,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(CLSID_DirectInputDevice, 0x25E609E1,0xB259,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); + +DEFINE_GUID(CLSID_DirectInput8, 0x25E609E4,0xB259,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(CLSID_DirectInputDevice8, 0x25E609E5,0xB259,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); + +/* Interfaces */ +DEFINE_GUID(IID_IDirectInputA, 0x89521360,0xAA8A,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInputW, 0x89521361,0xAA8A,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInput2A, 0x5944E662,0xAA8A,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInput2W, 0x5944E663,0xAA8A,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInput7A, 0x9A4CB684,0x236D,0x11D3,0x8E,0x9D,0x00,0xC0,0x4F,0x68,0x44,0xAE); +DEFINE_GUID(IID_IDirectInput7W, 0x9A4CB685,0x236D,0x11D3,0x8E,0x9D,0x00,0xC0,0x4F,0x68,0x44,0xAE); +DEFINE_GUID(IID_IDirectInput8A, 0xBF798030,0x483A,0x4DA2,0xAA,0x99,0x5D,0x64,0xED,0x36,0x97,0x00); +DEFINE_GUID(IID_IDirectInput8W, 0xBF798031,0x483A,0x4DA2,0xAA,0x99,0x5D,0x64,0xED,0x36,0x97,0x00); +DEFINE_GUID(IID_IDirectInputDeviceA, 0x5944E680,0xC92E,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInputDeviceW, 0x5944E681,0xC92E,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInputDevice2A, 0x5944E682,0xC92E,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInputDevice2W, 0x5944E683,0xC92E,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(IID_IDirectInputDevice7A, 0x57D7C6BC,0x2356,0x11D3,0x8E,0x9D,0x00,0xC0,0x4F,0x68,0x44,0xAE); +DEFINE_GUID(IID_IDirectInputDevice7W, 0x57D7C6BD,0x2356,0x11D3,0x8E,0x9D,0x00,0xC0,0x4F,0x68,0x44,0xAE); +DEFINE_GUID(IID_IDirectInputDevice8A, 0x54D41080,0xDC15,0x4833,0xA4,0x1B,0x74,0x8F,0x73,0xA3,0x81,0x79); +DEFINE_GUID(IID_IDirectInputDevice8W, 0x54D41081,0xDC15,0x4833,0xA4,0x1B,0x74,0x8F,0x73,0xA3,0x81,0x79); +DEFINE_GUID(IID_IDirectInputEffect, 0xE7E1F7C0,0x88D2,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); + +/* Predefined object types */ +DEFINE_GUID(GUID_XAxis, 0xA36D02E0,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_YAxis, 0xA36D02E1,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_ZAxis, 0xA36D02E2,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_RxAxis,0xA36D02F4,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_RyAxis,0xA36D02F5,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_RzAxis,0xA36D02E3,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Slider,0xA36D02E4,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Button,0xA36D02F0,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Key, 0x55728220,0xD33C,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_POV, 0xA36D02F2,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Unknown,0xA36D02F3,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); + +/* Predefined product GUIDs */ +DEFINE_GUID(GUID_SysMouse, 0x6F1D2B60,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_SysKeyboard, 0x6F1D2B61,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Joystick, 0x6F1D2B70,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_SysMouseEm, 0x6F1D2B80,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_SysMouseEm2, 0x6F1D2B81,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_SysKeyboardEm, 0x6F1D2B82,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_SysKeyboardEm2,0x6F1D2B83,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00); + +/* predefined forcefeedback effects */ +DEFINE_GUID(GUID_ConstantForce, 0x13541C20,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_RampForce, 0x13541C21,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Square, 0x13541C22,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Sine, 0x13541C23,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Triangle, 0x13541C24,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_SawtoothUp, 0x13541C25,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_SawtoothDown, 0x13541C26,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Spring, 0x13541C27,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Damper, 0x13541C28,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Inertia, 0x13541C29,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_Friction, 0x13541C2A,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); +DEFINE_GUID(GUID_CustomForce, 0x13541C2B,0x8E33,0x11D0,0x9A,0xD0,0x00,0xA0,0xC9,0xA0,0x6E,0x35); + +typedef struct IDirectInputA *LPDIRECTINPUTA; +typedef struct IDirectInputW *LPDIRECTINPUTW; +typedef struct IDirectInput2A *LPDIRECTINPUT2A; +typedef struct IDirectInput2W *LPDIRECTINPUT2W; +typedef struct IDirectInput7A *LPDIRECTINPUT7A; +typedef struct IDirectInput7W *LPDIRECTINPUT7W; +typedef struct IDirectInput8A *LPDIRECTINPUT8A; +typedef struct IDirectInput8W *LPDIRECTINPUT8W; +typedef struct IDirectInputDeviceA *LPDIRECTINPUTDEVICEA; +typedef struct IDirectInputDeviceW *LPDIRECTINPUTDEVICEW; +typedef struct IDirectInputDevice2A *LPDIRECTINPUTDEVICE2A; +typedef struct IDirectInputDevice2W *LPDIRECTINPUTDEVICE2W; +typedef struct IDirectInputDevice7A *LPDIRECTINPUTDEVICE7A; +typedef struct IDirectInputDevice7W *LPDIRECTINPUTDEVICE7W; +typedef struct IDirectInputDevice8A *LPDIRECTINPUTDEVICE8A; +typedef struct IDirectInputDevice8W *LPDIRECTINPUTDEVICE8W; +typedef struct IDirectInputEffect *LPDIRECTINPUTEFFECT; +typedef struct SysKeyboardA *LPSYSKEYBOARDA; +typedef struct SysMouseA *LPSYSMOUSEA; + +#define IID_IDirectInput WINELIB_NAME_AW(IID_IDirectInput) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUT) +#define IID_IDirectInput2 WINELIB_NAME_AW(IID_IDirectInput2) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUT2) +#define IID_IDirectInput7 WINELIB_NAME_AW(IID_IDirectInput7) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUT7) +#define IID_IDirectInput8 WINELIB_NAME_AW(IID_IDirectInput8) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUT8) +#define IID_IDirectInputDevice WINELIB_NAME_AW(IID_IDirectInputDevice) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE) +#define IID_IDirectInputDevice2 WINELIB_NAME_AW(IID_IDirectInputDevice2) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE2) +#define IID_IDirectInputDevice7 WINELIB_NAME_AW(IID_IDirectInputDevice7) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE7) +#define IID_IDirectInputDevice8 WINELIB_NAME_AW(IID_IDirectInputDevice8) +DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE8) + +#define DI_OK S_OK +#define DI_NOTATTACHED S_FALSE +#define DI_BUFFEROVERFLOW S_FALSE +#define DI_PROPNOEFFECT S_FALSE +#define DI_NOEFFECT S_FALSE +#define DI_POLLEDDEVICE ((HRESULT)0x00000002) +#define DI_DOWNLOADSKIPPED ((HRESULT)0x00000003) +#define DI_EFFECTRESTARTED ((HRESULT)0x00000004) +#define DI_TRUNCATED ((HRESULT)0x00000008) +#define DI_SETTINGSNOTSAVED ((HRESULT)0x0000000B) +#define DI_TRUNCATEDANDRESTARTED ((HRESULT)0x0000000C) +#define DI_WRITEPROTECT ((HRESULT)0x00000013) + +#define DIERR_OLDDIRECTINPUTVERSION \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_OLD_WIN_VERSION) +#define DIERR_BETADIRECTINPUTVERSION \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_RMODE_APP) +#define DIERR_BADDRIVERVER \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_BAD_DRIVER_LEVEL) +#define DIERR_DEVICENOTREG REGDB_E_CLASSNOTREG +#define DIERR_NOTFOUND \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND) +#define DIERR_OBJECTNOTFOUND \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND) +#define DIERR_INVALIDPARAM E_INVALIDARG +#define DIERR_NOINTERFACE E_NOINTERFACE +#define DIERR_GENERIC E_FAIL +#define DIERR_OUTOFMEMORY E_OUTOFMEMORY +#define DIERR_UNSUPPORTED E_NOTIMPL +#define DIERR_NOTINITIALIZED \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NOT_READY) +#define DIERR_ALREADYINITIALIZED \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_ALREADY_INITIALIZED) +#define DIERR_NOAGGREGATION CLASS_E_NOAGGREGATION +#define DIERR_OTHERAPPHASPRIO E_ACCESSDENIED +#define DIERR_INPUTLOST \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_READ_FAULT) +#define DIERR_ACQUIRED \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_BUSY) +#define DIERR_NOTACQUIRED \ + MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_INVALID_ACCESS) +#define DIERR_READONLY E_ACCESSDENIED +#define DIERR_HANDLEEXISTS E_ACCESSDENIED +#ifndef E_PENDING +#define E_PENDING __MSABI_LONG(0x8000000A) +#endif +#define DIERR_INSUFFICIENTPRIVS __MSABI_LONG(0x80040200) +#define DIERR_DEVICEFULL __MSABI_LONG(0x80040201) +#define DIERR_MOREDATA __MSABI_LONG(0x80040202) +#define DIERR_NOTDOWNLOADED __MSABI_LONG(0x80040203) +#define DIERR_HASEFFECTS __MSABI_LONG(0x80040204) +#define DIERR_NOTEXCLUSIVEACQUIRED __MSABI_LONG(0x80040205) +#define DIERR_INCOMPLETEEFFECT __MSABI_LONG(0x80040206) +#define DIERR_NOTBUFFERED __MSABI_LONG(0x80040207) +#define DIERR_EFFECTPLAYING __MSABI_LONG(0x80040208) +#define DIERR_UNPLUGGED __MSABI_LONG(0x80040209) +#define DIERR_REPORTFULL __MSABI_LONG(0x8004020A) +#define DIERR_MAPFILEFAIL __MSABI_LONG(0x8004020B) + +#define DIENUM_STOP 0 +#define DIENUM_CONTINUE 1 + +#define DIEDFL_ALLDEVICES 0x00000000 +#define DIEDFL_ATTACHEDONLY 0x00000001 +#define DIEDFL_FORCEFEEDBACK 0x00000100 +#define DIEDFL_INCLUDEALIASES 0x00010000 +#define DIEDFL_INCLUDEPHANTOMS 0x00020000 +#define DIEDFL_INCLUDEHIDDEN 0x00040000 + +#define DIDEVTYPE_DEVICE 1 +#define DIDEVTYPE_MOUSE 2 +#define DIDEVTYPE_KEYBOARD 3 +#define DIDEVTYPE_JOYSTICK 4 +#define DIDEVTYPE_HID 0x00010000 + +#define DI8DEVCLASS_ALL 0 +#define DI8DEVCLASS_DEVICE 1 +#define DI8DEVCLASS_POINTER 2 +#define DI8DEVCLASS_KEYBOARD 3 +#define DI8DEVCLASS_GAMECTRL 4 + +#define DI8DEVTYPE_DEVICE 0x11 +#define DI8DEVTYPE_MOUSE 0x12 +#define DI8DEVTYPE_KEYBOARD 0x13 +#define DI8DEVTYPE_JOYSTICK 0x14 +#define DI8DEVTYPE_GAMEPAD 0x15 +#define DI8DEVTYPE_DRIVING 0x16 +#define DI8DEVTYPE_FLIGHT 0x17 +#define DI8DEVTYPE_1STPERSON 0x18 +#define DI8DEVTYPE_DEVICECTRL 0x19 +#define DI8DEVTYPE_SCREENPOINTER 0x1A +#define DI8DEVTYPE_REMOTE 0x1B +#define DI8DEVTYPE_SUPPLEMENTAL 0x1C + +#define DIDEVTYPEMOUSE_UNKNOWN 1 +#define DIDEVTYPEMOUSE_TRADITIONAL 2 +#define DIDEVTYPEMOUSE_FINGERSTICK 3 +#define DIDEVTYPEMOUSE_TOUCHPAD 4 +#define DIDEVTYPEMOUSE_TRACKBALL 5 + +#define DIDEVTYPEKEYBOARD_UNKNOWN 0 +#define DIDEVTYPEKEYBOARD_PCXT 1 +#define DIDEVTYPEKEYBOARD_OLIVETTI 2 +#define DIDEVTYPEKEYBOARD_PCAT 3 +#define DIDEVTYPEKEYBOARD_PCENH 4 +#define DIDEVTYPEKEYBOARD_NOKIA1050 5 +#define DIDEVTYPEKEYBOARD_NOKIA9140 6 +#define DIDEVTYPEKEYBOARD_NEC98 7 +#define DIDEVTYPEKEYBOARD_NEC98LAPTOP 8 +#define DIDEVTYPEKEYBOARD_NEC98106 9 +#define DIDEVTYPEKEYBOARD_JAPAN106 10 +#define DIDEVTYPEKEYBOARD_JAPANAX 11 +#define DIDEVTYPEKEYBOARD_J3100 12 + +#define DIDEVTYPEJOYSTICK_UNKNOWN 1 +#define DIDEVTYPEJOYSTICK_TRADITIONAL 2 +#define DIDEVTYPEJOYSTICK_FLIGHTSTICK 3 +#define DIDEVTYPEJOYSTICK_GAMEPAD 4 +#define DIDEVTYPEJOYSTICK_RUDDER 5 +#define DIDEVTYPEJOYSTICK_WHEEL 6 +#define DIDEVTYPEJOYSTICK_HEADTRACKER 7 + +#define DI8DEVTYPEMOUSE_UNKNOWN 1 +#define DI8DEVTYPEMOUSE_TRADITIONAL 2 +#define DI8DEVTYPEMOUSE_FINGERSTICK 3 +#define DI8DEVTYPEMOUSE_TOUCHPAD 4 +#define DI8DEVTYPEMOUSE_TRACKBALL 5 +#define DI8DEVTYPEMOUSE_ABSOLUTE 6 + +#define DI8DEVTYPEKEYBOARD_UNKNOWN 0 +#define DI8DEVTYPEKEYBOARD_PCXT 1 +#define DI8DEVTYPEKEYBOARD_OLIVETTI 2 +#define DI8DEVTYPEKEYBOARD_PCAT 3 +#define DI8DEVTYPEKEYBOARD_PCENH 4 +#define DI8DEVTYPEKEYBOARD_NOKIA1050 5 +#define DI8DEVTYPEKEYBOARD_NOKIA9140 6 +#define DI8DEVTYPEKEYBOARD_NEC98 7 +#define DI8DEVTYPEKEYBOARD_NEC98LAPTOP 8 +#define DI8DEVTYPEKEYBOARD_NEC98106 9 +#define DI8DEVTYPEKEYBOARD_JAPAN106 10 +#define DI8DEVTYPEKEYBOARD_JAPANAX 11 +#define DI8DEVTYPEKEYBOARD_J3100 12 + +#define DI8DEVTYPE_LIMITEDGAMESUBTYPE 1 + +#define DI8DEVTYPEJOYSTICK_LIMITED DI8DEVTYPE_LIMITEDGAMESUBTYPE +#define DI8DEVTYPEJOYSTICK_STANDARD 2 + +#define DI8DEVTYPEGAMEPAD_LIMITED DI8DEVTYPE_LIMITEDGAMESUBTYPE +#define DI8DEVTYPEGAMEPAD_STANDARD 2 +#define DI8DEVTYPEGAMEPAD_TILT 3 + +#define DI8DEVTYPEDRIVING_LIMITED DI8DEVTYPE_LIMITEDGAMESUBTYPE +#define DI8DEVTYPEDRIVING_COMBINEDPEDALS 2 +#define DI8DEVTYPEDRIVING_DUALPEDALS 3 +#define DI8DEVTYPEDRIVING_THREEPEDALS 4 +#define DI8DEVTYPEDRIVING_HANDHELD 5 + +#define DI8DEVTYPEFLIGHT_LIMITED DI8DEVTYPE_LIMITEDGAMESUBTYPE +#define DI8DEVTYPEFLIGHT_STICK 2 +#define DI8DEVTYPEFLIGHT_YOKE 3 +#define DI8DEVTYPEFLIGHT_RC 4 + +#define DI8DEVTYPE1STPERSON_LIMITED DI8DEVTYPE_LIMITEDGAMESUBTYPE +#define DI8DEVTYPE1STPERSON_UNKNOWN 2 +#define DI8DEVTYPE1STPERSON_SIXDOF 3 +#define DI8DEVTYPE1STPERSON_SHOOTER 4 + +#define DI8DEVTYPESCREENPTR_UNKNOWN 2 +#define DI8DEVTYPESCREENPTR_LIGHTGUN 3 +#define DI8DEVTYPESCREENPTR_LIGHTPEN 4 +#define DI8DEVTYPESCREENPTR_TOUCH 5 + +#define DI8DEVTYPEREMOTE_UNKNOWN 2 + +#define DI8DEVTYPEDEVICECTRL_UNKNOWN 2 +#define DI8DEVTYPEDEVICECTRL_COMMSSELECTION 3 +#define DI8DEVTYPEDEVICECTRL_COMMSSELECTION_HARDWIRED 4 + +#define DI8DEVTYPESUPPLEMENTAL_UNKNOWN 2 +#define DI8DEVTYPESUPPLEMENTAL_2NDHANDCONTROLLER 3 +#define DI8DEVTYPESUPPLEMENTAL_HEADTRACKER 4 +#define DI8DEVTYPESUPPLEMENTAL_HANDTRACKER 5 +#define DI8DEVTYPESUPPLEMENTAL_SHIFTSTICKGATE 6 +#define DI8DEVTYPESUPPLEMENTAL_SHIFTER 7 +#define DI8DEVTYPESUPPLEMENTAL_THROTTLE 8 +#define DI8DEVTYPESUPPLEMENTAL_SPLITTHROTTLE 9 +#define DI8DEVTYPESUPPLEMENTAL_COMBINEDPEDALS 10 +#define DI8DEVTYPESUPPLEMENTAL_DUALPEDALS 11 +#define DI8DEVTYPESUPPLEMENTAL_THREEPEDALS 12 +#define DI8DEVTYPESUPPLEMENTAL_RUDDERPEDALS 13 + +#define GET_DIDEVICE_TYPE(dwDevType) LOBYTE(dwDevType) +#define GET_DIDEVICE_SUBTYPE(dwDevType) HIBYTE(dwDevType) + +typedef struct DIDEVICEOBJECTINSTANCE_DX3A { + DWORD dwSize; + GUID guidType; + DWORD dwOfs; + DWORD dwType; + DWORD dwFlags; + CHAR tszName[MAX_PATH]; +} DIDEVICEOBJECTINSTANCE_DX3A, *LPDIDEVICEOBJECTINSTANCE_DX3A; +typedef const DIDEVICEOBJECTINSTANCE_DX3A *LPCDIDEVICEOBJECTINSTANCE_DX3A; +typedef struct DIDEVICEOBJECTINSTANCE_DX3W { + DWORD dwSize; + GUID guidType; + DWORD dwOfs; + DWORD dwType; + DWORD dwFlags; + WCHAR tszName[MAX_PATH]; +} DIDEVICEOBJECTINSTANCE_DX3W, *LPDIDEVICEOBJECTINSTANCE_DX3W; +typedef const DIDEVICEOBJECTINSTANCE_DX3W *LPCDIDEVICEOBJECTINSTANCE_DX3W; + +DECL_WINELIB_TYPE_AW(DIDEVICEOBJECTINSTANCE_DX3) +DECL_WINELIB_TYPE_AW(LPDIDEVICEOBJECTINSTANCE_DX3) +DECL_WINELIB_TYPE_AW(LPCDIDEVICEOBJECTINSTANCE_DX3) + +typedef struct DIDEVICEOBJECTINSTANCEA { + DWORD dwSize; + GUID guidType; + DWORD dwOfs; + DWORD dwType; + DWORD dwFlags; + CHAR tszName[MAX_PATH]; + DWORD dwFFMaxForce; + DWORD dwFFForceResolution; + WORD wCollectionNumber; + WORD wDesignatorIndex; + WORD wUsagePage; + WORD wUsage; + DWORD dwDimension; + WORD wExponent; + WORD wReserved; +} DIDEVICEOBJECTINSTANCEA, *LPDIDEVICEOBJECTINSTANCEA; +typedef const DIDEVICEOBJECTINSTANCEA *LPCDIDEVICEOBJECTINSTANCEA; + +typedef struct DIDEVICEOBJECTINSTANCEW { + DWORD dwSize; + GUID guidType; + DWORD dwOfs; + DWORD dwType; + DWORD dwFlags; + WCHAR tszName[MAX_PATH]; + DWORD dwFFMaxForce; + DWORD dwFFForceResolution; + WORD wCollectionNumber; + WORD wDesignatorIndex; + WORD wUsagePage; + WORD wUsage; + DWORD dwDimension; + WORD wExponent; + WORD wReserved; +} DIDEVICEOBJECTINSTANCEW, *LPDIDEVICEOBJECTINSTANCEW; +typedef const DIDEVICEOBJECTINSTANCEW *LPCDIDEVICEOBJECTINSTANCEW; + +DECL_WINELIB_TYPE_AW(DIDEVICEOBJECTINSTANCE) +DECL_WINELIB_TYPE_AW(LPDIDEVICEOBJECTINSTANCE) +DECL_WINELIB_TYPE_AW(LPCDIDEVICEOBJECTINSTANCE) + +typedef struct DIDEVICEINSTANCE_DX3A { + DWORD dwSize; + GUID guidInstance; + GUID guidProduct; + DWORD dwDevType; + CHAR tszInstanceName[MAX_PATH]; + CHAR tszProductName[MAX_PATH]; +} DIDEVICEINSTANCE_DX3A, *LPDIDEVICEINSTANCE_DX3A; +typedef const DIDEVICEINSTANCE_DX3A *LPCDIDEVICEINSTANCE_DX3A; +typedef struct DIDEVICEINSTANCE_DX3W { + DWORD dwSize; + GUID guidInstance; + GUID guidProduct; + DWORD dwDevType; + WCHAR tszInstanceName[MAX_PATH]; + WCHAR tszProductName[MAX_PATH]; +} DIDEVICEINSTANCE_DX3W, *LPDIDEVICEINSTANCE_DX3W; +typedef const DIDEVICEINSTANCE_DX3W *LPCDIDEVICEINSTANCE_DX3W; + +DECL_WINELIB_TYPE_AW(DIDEVICEINSTANCE_DX3) +DECL_WINELIB_TYPE_AW(LPDIDEVICEINSTANCE_DX3) +DECL_WINELIB_TYPE_AW(LPCDIDEVICEINSTANCE_DX3) + +typedef struct DIDEVICEINSTANCEA { + DWORD dwSize; + GUID guidInstance; + GUID guidProduct; + DWORD dwDevType; + CHAR tszInstanceName[MAX_PATH]; + CHAR tszProductName[MAX_PATH]; + GUID guidFFDriver; + WORD wUsagePage; + WORD wUsage; +} DIDEVICEINSTANCEA, *LPDIDEVICEINSTANCEA; +typedef const DIDEVICEINSTANCEA *LPCDIDEVICEINSTANCEA; + +typedef struct DIDEVICEINSTANCEW { + DWORD dwSize; + GUID guidInstance; + GUID guidProduct; + DWORD dwDevType; + WCHAR tszInstanceName[MAX_PATH]; + WCHAR tszProductName[MAX_PATH]; + GUID guidFFDriver; + WORD wUsagePage; + WORD wUsage; +} DIDEVICEINSTANCEW, *LPDIDEVICEINSTANCEW; +typedef const DIDEVICEINSTANCEW *LPCDIDEVICEINSTANCEW; + +DECL_WINELIB_TYPE_AW(DIDEVICEINSTANCE) +DECL_WINELIB_TYPE_AW(LPDIDEVICEINSTANCE) +DECL_WINELIB_TYPE_AW(LPCDIDEVICEINSTANCE) + +typedef BOOL (CALLBACK *LPDIENUMDEVICESCALLBACKA)(LPCDIDEVICEINSTANCEA,LPVOID); +typedef BOOL (CALLBACK *LPDIENUMDEVICESCALLBACKW)(LPCDIDEVICEINSTANCEW,LPVOID); +DECL_WINELIB_TYPE_AW(LPDIENUMDEVICESCALLBACK) + +#define DIEDBS_MAPPEDPRI1 0x00000001 +#define DIEDBS_MAPPEDPRI2 0x00000002 +#define DIEDBS_RECENTDEVICE 0x00000010 +#define DIEDBS_NEWDEVICE 0x00000020 + +#define DIEDBSFL_ATTACHEDONLY 0x00000000 +#define DIEDBSFL_THISUSER 0x00000010 +#define DIEDBSFL_FORCEFEEDBACK DIEDFL_FORCEFEEDBACK +#define DIEDBSFL_AVAILABLEDEVICES 0x00001000 +#define DIEDBSFL_MULTIMICEKEYBOARDS 0x00002000 +#define DIEDBSFL_NONGAMINGDEVICES 0x00004000 +#define DIEDBSFL_VALID 0x00007110 + +typedef BOOL (CALLBACK *LPDIENUMDEVICESBYSEMANTICSCBA)(LPCDIDEVICEINSTANCEA,LPDIRECTINPUTDEVICE8A,DWORD,DWORD,LPVOID); +typedef BOOL (CALLBACK *LPDIENUMDEVICESBYSEMANTICSCBW)(LPCDIDEVICEINSTANCEW,LPDIRECTINPUTDEVICE8W,DWORD,DWORD,LPVOID); +DECL_WINELIB_TYPE_AW(LPDIENUMDEVICESBYSEMANTICSCB) + +typedef BOOL (CALLBACK *LPDICONFIGUREDEVICESCALLBACK)(LPUNKNOWN,LPVOID); + +typedef BOOL (CALLBACK *LPDIENUMDEVICEOBJECTSCALLBACKA)(LPCDIDEVICEOBJECTINSTANCEA,LPVOID); +typedef BOOL (CALLBACK *LPDIENUMDEVICEOBJECTSCALLBACKW)(LPCDIDEVICEOBJECTINSTANCEW,LPVOID); +DECL_WINELIB_TYPE_AW(LPDIENUMDEVICEOBJECTSCALLBACK) + +typedef BOOL (CALLBACK *LPDIENUMCREATEDEFFECTOBJECTSCALLBACK)(LPDIRECTINPUTEFFECT, LPVOID); + +#define DIK_ESCAPE 0x01 +#define DIK_1 0x02 +#define DIK_2 0x03 +#define DIK_3 0x04 +#define DIK_4 0x05 +#define DIK_5 0x06 +#define DIK_6 0x07 +#define DIK_7 0x08 +#define DIK_8 0x09 +#define DIK_9 0x0A +#define DIK_0 0x0B +#define DIK_MINUS 0x0C /* - on main keyboard */ +#define DIK_EQUALS 0x0D +#define DIK_BACK 0x0E /* backspace */ +#define DIK_TAB 0x0F +#define DIK_Q 0x10 +#define DIK_W 0x11 +#define DIK_E 0x12 +#define DIK_R 0x13 +#define DIK_T 0x14 +#define DIK_Y 0x15 +#define DIK_U 0x16 +#define DIK_I 0x17 +#define DIK_O 0x18 +#define DIK_P 0x19 +#define DIK_LBRACKET 0x1A +#define DIK_RBRACKET 0x1B +#define DIK_RETURN 0x1C /* Enter on main keyboard */ +#define DIK_LCONTROL 0x1D +#define DIK_A 0x1E +#define DIK_S 0x1F +#define DIK_D 0x20 +#define DIK_F 0x21 +#define DIK_G 0x22 +#define DIK_H 0x23 +#define DIK_J 0x24 +#define DIK_K 0x25 +#define DIK_L 0x26 +#define DIK_SEMICOLON 0x27 +#define DIK_APOSTROPHE 0x28 +#define DIK_GRAVE 0x29 /* accent grave */ +#define DIK_LSHIFT 0x2A +#define DIK_BACKSLASH 0x2B +#define DIK_Z 0x2C +#define DIK_X 0x2D +#define DIK_C 0x2E +#define DIK_V 0x2F +#define DIK_B 0x30 +#define DIK_N 0x31 +#define DIK_M 0x32 +#define DIK_COMMA 0x33 +#define DIK_PERIOD 0x34 /* . on main keyboard */ +#define DIK_SLASH 0x35 /* / on main keyboard */ +#define DIK_RSHIFT 0x36 +#define DIK_MULTIPLY 0x37 /* * on numeric keypad */ +#define DIK_LMENU 0x38 /* left Alt */ +#define DIK_SPACE 0x39 +#define DIK_CAPITAL 0x3A +#define DIK_F1 0x3B +#define DIK_F2 0x3C +#define DIK_F3 0x3D +#define DIK_F4 0x3E +#define DIK_F5 0x3F +#define DIK_F6 0x40 +#define DIK_F7 0x41 +#define DIK_F8 0x42 +#define DIK_F9 0x43 +#define DIK_F10 0x44 +#define DIK_NUMLOCK 0x45 +#define DIK_SCROLL 0x46 /* Scroll Lock */ +#define DIK_NUMPAD7 0x47 +#define DIK_NUMPAD8 0x48 +#define DIK_NUMPAD9 0x49 +#define DIK_SUBTRACT 0x4A /* - on numeric keypad */ +#define DIK_NUMPAD4 0x4B +#define DIK_NUMPAD5 0x4C +#define DIK_NUMPAD6 0x4D +#define DIK_ADD 0x4E /* + on numeric keypad */ +#define DIK_NUMPAD1 0x4F +#define DIK_NUMPAD2 0x50 +#define DIK_NUMPAD3 0x51 +#define DIK_NUMPAD0 0x52 +#define DIK_DECIMAL 0x53 /* . on numeric keypad */ +#define DIK_F11 0x57 +#define DIK_F12 0x58 +#define DIK_F13 0x64 /* (NEC PC98) */ +#define DIK_F14 0x65 /* (NEC PC98) */ +#define DIK_F15 0x66 /* (NEC PC98) */ +#define DIK_KANA 0x70 /* (Japanese keyboard) */ +#define DIK_CONVERT 0x79 /* (Japanese keyboard) */ +#define DIK_NOCONVERT 0x7B /* (Japanese keyboard) */ +#define DIK_YEN 0x7D /* (Japanese keyboard) */ +#define DIK_NUMPADEQUALS 0x8D /* = on numeric keypad (NEC PC98) */ +#define DIK_CIRCUMFLEX 0x90 /* (Japanese keyboard) */ +#define DIK_AT 0x91 /* (NEC PC98) */ +#define DIK_COLON 0x92 /* (NEC PC98) */ +#define DIK_UNDERLINE 0x93 /* (NEC PC98) */ +#define DIK_KANJI 0x94 /* (Japanese keyboard) */ +#define DIK_STOP 0x95 /* (NEC PC98) */ +#define DIK_AX 0x96 /* (Japan AX) */ +#define DIK_UNLABELED 0x97 /* (J3100) */ +#define DIK_NUMPADENTER 0x9C /* Enter on numeric keypad */ +#define DIK_RCONTROL 0x9D +#define DIK_NUMPADCOMMA 0xB3 /* , on numeric keypad (NEC PC98) */ +#define DIK_DIVIDE 0xB5 /* / on numeric keypad */ +#define DIK_SYSRQ 0xB7 +#define DIK_RMENU 0xB8 /* right Alt */ +#define DIK_PAUSE 0xC5 /* Pause */ +#define DIK_HOME 0xC7 /* Home on arrow keypad */ +#define DIK_UP 0xC8 /* UpArrow on arrow keypad */ +#define DIK_PRIOR 0xC9 /* PgUp on arrow keypad */ +#define DIK_LEFT 0xCB /* LeftArrow on arrow keypad */ +#define DIK_RIGHT 0xCD /* RightArrow on arrow keypad */ +#define DIK_END 0xCF /* End on arrow keypad */ +#define DIK_DOWN 0xD0 /* DownArrow on arrow keypad */ +#define DIK_NEXT 0xD1 /* PgDn on arrow keypad */ +#define DIK_INSERT 0xD2 /* Insert on arrow keypad */ +#define DIK_DELETE 0xD3 /* Delete on arrow keypad */ +#define DIK_LWIN 0xDB /* Left Windows key */ +#define DIK_RWIN 0xDC /* Right Windows key */ +#define DIK_APPS 0xDD /* AppMenu key */ +#define DIK_POWER 0xDE +#define DIK_SLEEP 0xDF +#define DIK_BACKSPACE DIK_BACK /* backspace */ +#define DIK_NUMPADSTAR DIK_MULTIPLY /* * on numeric keypad */ +#define DIK_LALT DIK_LMENU /* left Alt */ +#define DIK_CAPSLOCK DIK_CAPITAL /* CapsLock */ +#define DIK_NUMPADMINUS DIK_SUBTRACT /* - on numeric keypad */ +#define DIK_NUMPADPLUS DIK_ADD /* + on numeric keypad */ +#define DIK_NUMPADPERIOD DIK_DECIMAL /* . on numeric keypad */ +#define DIK_NUMPADSLASH DIK_DIVIDE /* / on numeric keypad */ +#define DIK_RALT DIK_RMENU /* right Alt */ +#define DIK_UPARROW DIK_UP /* UpArrow on arrow keypad */ +#define DIK_PGUP DIK_PRIOR /* PgUp on arrow keypad */ +#define DIK_LEFTARROW DIK_LEFT /* LeftArrow on arrow keypad */ +#define DIK_RIGHTARROW DIK_RIGHT /* RightArrow on arrow keypad */ +#define DIK_DOWNARROW DIK_DOWN /* DownArrow on arrow keypad */ +#define DIK_PGDN DIK_NEXT /* PgDn on arrow keypad */ + +/* New DirectInput8 style keyboard constants */ + +#define DIKEYBOARD_ESCAPE (DIK_ESCAPE | 0x81000400) +#define DIKEYBOARD_1 (DIK_1 | 0x81000400) +#define DIKEYBOARD_2 (DIK_2 | 0x81000400) +#define DIKEYBOARD_3 (DIK_3 | 0x81000400) +#define DIKEYBOARD_4 (DIK_4 | 0x81000400) +#define DIKEYBOARD_5 (DIK_5 | 0x81000400) +#define DIKEYBOARD_6 (DIK_6 | 0x81000400) +#define DIKEYBOARD_7 (DIK_7 | 0x81000400) +#define DIKEYBOARD_8 (DIK_8 | 0x81000400) +#define DIKEYBOARD_9 (DIK_9 | 0x81000400) +#define DIKEYBOARD_0 (DIK_0 | 0x81000400) +#define DIKEYBOARD_MINUS (DIK_MINUS | 0x81000400) +#define DIKEYBOARD_EQUALS (DIK_EQUALS | 0x81000400) +#define DIKEYBOARD_BACK (DIK_BACK | 0x81000400) +#define DIKEYBOARD_TAB (DIK_TAB | 0x81000400) +#define DIKEYBOARD_Q (DIK_Q | 0x81000400) +#define DIKEYBOARD_W (DIK_W | 0x81000400) +#define DIKEYBOARD_E (DIK_E | 0x81000400) +#define DIKEYBOARD_R (DIK_R | 0x81000400) +#define DIKEYBOARD_T (DIK_T | 0x81000400) +#define DIKEYBOARD_Y (DIK_Y | 0x81000400) +#define DIKEYBOARD_U (DIK_U | 0x81000400) +#define DIKEYBOARD_I (DIK_I | 0x81000400) +#define DIKEYBOARD_O (DIK_O | 0x81000400) +#define DIKEYBOARD_P (DIK_P | 0x81000400) +#define DIKEYBOARD_LBRACKET (DIK_LBRACKET | 0x81000400) +#define DIKEYBOARD_RBRACKET (DIK_RBRACKET | 0x81000400) +#define DIKEYBOARD_RETURN (DIK_RETURN | 0x81000400) +#define DIKEYBOARD_LCONTROL (DIK_LCONTROL | 0x81000400) +#define DIKEYBOARD_A (DIK_A | 0x81000400) +#define DIKEYBOARD_S (DIK_S | 0x81000400) +#define DIKEYBOARD_D (DIK_D | 0x81000400) +#define DIKEYBOARD_F (DIK_F | 0x81000400) +#define DIKEYBOARD_G (DIK_G | 0x81000400) +#define DIKEYBOARD_H (DIK_H | 0x81000400) +#define DIKEYBOARD_J (DIK_J | 0x81000400) +#define DIKEYBOARD_K (DIK_K | 0x81000400) +#define DIKEYBOARD_L (DIK_L | 0x81000400) +#define DIKEYBOARD_SEMICOLON (DIK_SEMICOLON | 0x81000400) +#define DIKEYBOARD_APOSTROPHE (DIK_APOSTROPHE | 0x81000400) +#define DIKEYBOARD_GRAVE (DIK_GRAVE | 0x81000400) +#define DIKEYBOARD_LSHIFT (DIK_LSHIFT | 0x81000400) +#define DIKEYBOARD_BACKSLASH (DIK_BACKSLASH | 0x81000400) +#define DIKEYBOARD_Z (DIK_Z | 0x81000400) +#define DIKEYBOARD_X (DIK_X | 0x81000400) +#define DIKEYBOARD_C (DIK_C | 0x81000400) +#define DIKEYBOARD_V (DIK_V | 0x81000400) +#define DIKEYBOARD_B (DIK_B | 0x81000400) +#define DIKEYBOARD_N (DIK_N | 0x81000400) +#define DIKEYBOARD_M (DIK_M | 0x81000400) +#define DIKEYBOARD_COMMA (DIK_COMMA | 0x81000400) +#define DIKEYBOARD_PERIOD (DIK_PERIOD | 0x81000400) +#define DIKEYBOARD_SLASH (DIK_SLASH | 0x81000400) +#define DIKEYBOARD_RSHIFT (DIK_RSHIFT | 0x81000400) +#define DIKEYBOARD_MULTIPLY (DIK_MULTIPLY | 0x81000400) +#define DIKEYBOARD_LMENU (DIK_LMENU | 0x81000400) +#define DIKEYBOARD_SPACE (DIK_SPACE | 0x81000400) +#define DIKEYBOARD_CAPITAL (DIK_CAPITAL | 0x81000400) +#define DIKEYBOARD_F1 (DIK_F1 | 0x81000400) +#define DIKEYBOARD_F2 (DIK_F2 | 0x81000400) +#define DIKEYBOARD_F3 (DIK_F3 | 0x81000400) +#define DIKEYBOARD_F4 (DIK_F4 | 0x81000400) +#define DIKEYBOARD_F5 (DIK_F5 | 0x81000400) +#define DIKEYBOARD_F6 (DIK_F6 | 0x81000400) +#define DIKEYBOARD_F7 (DIK_F7 | 0x81000400) +#define DIKEYBOARD_F8 (DIK_F8 | 0x81000400) +#define DIKEYBOARD_F9 (DIK_F9 | 0x81000400) +#define DIKEYBOARD_F10 (DIK_F10 | 0x81000400) +#define DIKEYBOARD_NUMLOCK (DIK_NUMLOCK | 0x81000400) +#define DIKEYBOARD_SCROLL (DIK_SCROLL | 0x81000400) +#define DIKEYBOARD_NUMPAD7 (DIK_NUMPAD7 | 0x81000400) +#define DIKEYBOARD_NUMPAD8 (DIK_NUMPAD8 | 0x81000400) +#define DIKEYBOARD_NUMPAD9 (DIK_NUMPAD9 | 0x81000400) +#define DIKEYBOARD_SUBTRACT (DIK_SUBTRACT | 0x81000400) +#define DIKEYBOARD_NUMPAD4 (DIK_NUMPAD4 | 0x81000400) +#define DIKEYBOARD_NUMPAD5 (DIK_NUMPAD5 | 0x81000400) +#define DIKEYBOARD_NUMPAD6 (DIK_NUMPAD6 | 0x81000400) +#define DIKEYBOARD_ADD (DIK_ADD | 0x81000400) +#define DIKEYBOARD_NUMPAD1 (DIK_NUMPAD1 | 0x81000400) +#define DIKEYBOARD_NUMPAD2 (DIK_NUMPAD2 | 0x81000400) +#define DIKEYBOARD_NUMPAD3 (DIK_NUMPAD3 | 0x81000400) +#define DIKEYBOARD_NUMPAD0 (DIK_NUMPAD0 | 0x81000400) +#define DIKEYBOARD_DECIMAL (DIK_DECIMAL | 0x81000400) +#define DIKEYBOARD_F11 (DIK_F11 | 0x81000400) +#define DIKEYBOARD_F12 (DIK_F12 | 0x81000400) +#define DIKEYBOARD_F13 (DIK_F13 | 0x81000400) +#define DIKEYBOARD_F14 (DIK_F14 | 0x81000400) +#define DIKEYBOARD_F15 (DIK_F15 | 0x81000400) +#define DIKEYBOARD_KANA (DIK_KANA | 0x81000400) +#define DIKEYBOARD_CONVERT (DIK_CONVERT | 0x81000400) +#define DIKEYBOARD_NOCONVERT (DIK_NOCONVERT | 0x81000400) +#define DIKEYBOARD_YEN (DIK_YEN | 0x81000400) +#define DIKEYBOARD_NUMPADEQUALS (DIK_NUMPADEQUALS | 0x81000400) +#define DIKEYBOARD_CIRCUMFLEX (DIK_CIRCUMFLEX | 0x81000400) +#define DIKEYBOARD_AT (DIK_AT | 0x81000400) +#define DIKEYBOARD_COLON (DIK_COLON | 0x81000400) +#define DIKEYBOARD_UNDERLINE (DIK_UNDERLINE | 0x81000400) +#define DIKEYBOARD_KANJI (DIK_KANJI | 0x81000400) +#define DIKEYBOARD_STOP (DIK_STOP | 0x81000400) +#define DIKEYBOARD_AX (DIK_AX | 0x81000400) +#define DIKEYBOARD_UNLABELED (DIK_UNLABELED | 0x81000400) +#define DIKEYBOARD_NUMPADENTER (DIK_NUMPADENTER | 0x81000400) +#define DIKEYBOARD_RCONTROL (DIK_RCONTROL | 0x81000400) +#define DIKEYBOARD_NUMPADCOMMA (DIK_NUMPADCOMMA | 0x81000400) +#define DIKEYBOARD_DIVIDE (DIK_DIVIDE | 0x81000400) +#define DIKEYBOARD_SYSRQ (DIK_SYSRQ | 0x81000400) +#define DIKEYBOARD_RMENU (DIK_RMENU | 0x81000400) +#define DIKEYBOARD_PAUSE (DIK_PAUSE | 0x81000400) +#define DIKEYBOARD_HOME (DIK_HOME | 0x81000400) +#define DIKEYBOARD_UP (DIK_UP | 0x81000400) +#define DIKEYBOARD_PRIOR (DIK_PRIOR | 0x81000400) +#define DIKEYBOARD_LEFT (DIK_LEFT | 0x81000400) +#define DIKEYBOARD_RIGHT (DIK_RIGHT | 0x81000400) +#define DIKEYBOARD_END (DIK_END | 0x81000400) +#define DIKEYBOARD_DOWN (DIK_DOWN | 0x81000400) +#define DIKEYBOARD_NEXT (DIK_NEXT | 0x81000400) +#define DIKEYBOARD_INSERT (DIK_INSERT | 0x81000400) +#define DIKEYBOARD_DELETE (DIK_DELETE | 0x81000400) +#define DIKEYBOARD_LWIN (DIK_LWIN | 0x81000400) +#define DIKEYBOARD_RWIN (DIK_RWIN | 0x81000400) +#define DIKEYBOARD_APPS (DIK_APPS | 0x81000400) +#define DIKEYBOARD_POWER (DIK_POWER | 0x81000400) +#define DIKEYBOARD_SLEEP (DIK_SLEEP | 0x81000400) +#define DIKEYBOARD_BACKSPACE (DIK_BACKSPACE | 0x81000400) +#define DIKEYBOARD_NUMPADSTAR (DIK_NUMPADSTAR | 0x81000400) +#define DIKEYBOARD_LALT (DIK_LALT | 0x81000400) +#define DIKEYBOARD_CAPSLOCK (DIK_CAPSLOCK | 0x81000400) +#define DIKEYBOARD_NUMPADMINUS (DIK_NUMPADMINUS | 0x81000400) +#define DIKEYBOARD_NUMPADPLUS (DIK_NUMPADPLUS | 0x81000400) +#define DIKEYBOARD_NUMPADPERIOD (DIK_NUMPADPERIOD | 0x81000400) +#define DIKEYBOARD_NUMPADSLASH (DIK_NUMPADSLASH | 0x81000400) +#define DIKEYBOARD_RALT (DIK_RALT | 0x81000400) +#define DIKEYBOARD_UPARROW (DIK_UPARROW | 0x81000400) +#define DIKEYBOARD_PGUP (DIK_PGUP | 0x81000400) +#define DIKEYBOARD_LEFTARROW (DIK_LEFTARROW | 0x81000400) +#define DIKEYBOARD_RIGHTARROW (DIK_RIGHTARROW | 0x81000400) +#define DIKEYBOARD_DOWNARROW (DIK_DOWNARROW | 0x81000400) +#define DIKEYBOARD_PGDN (DIK_PGDN | 0x81000400) + +#define DIDFT_ALL 0x00000000 +#define DIDFT_RELAXIS 0x00000001 +#define DIDFT_ABSAXIS 0x00000002 +#define DIDFT_AXIS 0x00000003 +#define DIDFT_PSHBUTTON 0x00000004 +#define DIDFT_TGLBUTTON 0x00000008 +#define DIDFT_BUTTON 0x0000000C +#define DIDFT_POV 0x00000010 +#define DIDFT_COLLECTION 0x00000040 +#define DIDFT_NODATA 0x00000080 +#define DIDFT_ANYINSTANCE 0x00FFFF00 +#define DIDFT_INSTANCEMASK DIDFT_ANYINSTANCE +#define DIDFT_MAKEINSTANCE(n) ((WORD)(n) << 8) +#define DIDFT_GETTYPE(n) LOBYTE(n) +#define DIDFT_GETINSTANCE(n) LOWORD((n) >> 8) +#define DIDFT_FFACTUATOR 0x01000000 +#define DIDFT_FFEFFECTTRIGGER 0x02000000 +#define DIDFT_OUTPUT 0x10000000 +#define DIDFT_VENDORDEFINED 0x04000000 +#define DIDFT_ALIAS 0x08000000 +#ifndef DIDFT_OPTIONAL +#define DIDFT_OPTIONAL 0x80000000 +#endif +#define DIDFT_ENUMCOLLECTION(n) ((WORD)(n) << 8) +#define DIDFT_NOCOLLECTION 0x00FFFF00 +#define DIDF_ABSAXIS 0x00000001 +#define DIDF_RELAXIS 0x00000002 + +#define DIGDD_PEEK 0x00000001 + +#define DISEQUENCE_COMPARE(dwSq1,cmp,dwSq2) ((int)((dwSq1) - (dwSq2)) cmp 0) + +typedef struct DIDEVICEOBJECTDATA_DX3 { + DWORD dwOfs; + DWORD dwData; + DWORD dwTimeStamp; + DWORD dwSequence; +} DIDEVICEOBJECTDATA_DX3,*LPDIDEVICEOBJECTDATA_DX3; +typedef const DIDEVICEOBJECTDATA_DX3 *LPCDIDEVICEOBJECTDATA_DX3; + +typedef struct DIDEVICEOBJECTDATA { + DWORD dwOfs; + DWORD dwData; + DWORD dwTimeStamp; + DWORD dwSequence; + UINT_PTR uAppData; +} DIDEVICEOBJECTDATA, *LPDIDEVICEOBJECTDATA; +typedef const DIDEVICEOBJECTDATA *LPCDIDEVICEOBJECTDATA; + +typedef struct _DIOBJECTDATAFORMAT { + const GUID *pguid; + DWORD dwOfs; + DWORD dwType; + DWORD dwFlags; +} DIOBJECTDATAFORMAT, *LPDIOBJECTDATAFORMAT; +typedef const DIOBJECTDATAFORMAT *LPCDIOBJECTDATAFORMAT; + +typedef struct _DIDATAFORMAT { + DWORD dwSize; + DWORD dwObjSize; + DWORD dwFlags; + DWORD dwDataSize; + DWORD dwNumObjs; + LPDIOBJECTDATAFORMAT rgodf; +} DIDATAFORMAT, *LPDIDATAFORMAT; +typedef const DIDATAFORMAT *LPCDIDATAFORMAT; + +#define DIDOI_FFACTUATOR 0x00000001 +#define DIDOI_FFEFFECTTRIGGER 0x00000002 +#define DIDOI_POLLED 0x00008000 +#define DIDOI_ASPECTPOSITION 0x00000100 +#define DIDOI_ASPECTVELOCITY 0x00000200 +#define DIDOI_ASPECTACCEL 0x00000300 +#define DIDOI_ASPECTFORCE 0x00000400 +#define DIDOI_ASPECTMASK 0x00000F00 +#define DIDOI_GUIDISUSAGE 0x00010000 + +typedef struct DIPROPHEADER { + DWORD dwSize; + DWORD dwHeaderSize; + DWORD dwObj; + DWORD dwHow; +} DIPROPHEADER,*LPDIPROPHEADER; +typedef const DIPROPHEADER *LPCDIPROPHEADER; + +#define DIPH_DEVICE 0 +#define DIPH_BYOFFSET 1 +#define DIPH_BYID 2 +#define DIPH_BYUSAGE 3 + +#define DIMAKEUSAGEDWORD(UsagePage, Usage) (DWORD)MAKELONG(Usage, UsagePage) + +typedef struct DIPROPDWORD { + DIPROPHEADER diph; + DWORD dwData; +} DIPROPDWORD, *LPDIPROPDWORD; +typedef const DIPROPDWORD *LPCDIPROPDWORD; + +typedef struct DIPROPRANGE { + DIPROPHEADER diph; + LONG lMin; + LONG lMax; +} DIPROPRANGE, *LPDIPROPRANGE; +typedef const DIPROPRANGE *LPCDIPROPRANGE; + +#define DIPROPRANGE_NOMIN ((LONG)0x80000000) +#define DIPROPRANGE_NOMAX ((LONG)0x7FFFFFFF) + +typedef struct DIPROPCAL { + DIPROPHEADER diph; + LONG lMin; + LONG lCenter; + LONG lMax; +} DIPROPCAL, *LPDIPROPCAL; +typedef const DIPROPCAL *LPCDIPROPCAL; + +typedef struct DIPROPGUIDANDPATH { + DIPROPHEADER diph; + GUID guidClass; + WCHAR wszPath[MAX_PATH]; +} DIPROPGUIDANDPATH, *LPDIPROPGUIDANDPATH; +typedef const DIPROPGUIDANDPATH *LPCDIPROPGUIDANDPATH; + +typedef struct DIPROPSTRING { + DIPROPHEADER diph; + WCHAR wsz[MAX_PATH]; +} DIPROPSTRING, *LPDIPROPSTRING; +typedef const DIPROPSTRING *LPCDIPROPSTRING; + +/* special property GUIDs */ +#ifdef __cplusplus +#define MAKEDIPROP(prop) (*(const GUID *)(prop)) +#else +#define MAKEDIPROP(prop) ((REFGUID)(prop)) +#endif +#define DIPROP_BUFFERSIZE MAKEDIPROP(1) +#define DIPROP_AXISMODE MAKEDIPROP(2) + +#define DIPROPAXISMODE_ABS 0 +#define DIPROPAXISMODE_REL 1 + +#define DIPROP_GRANULARITY MAKEDIPROP(3) +#define DIPROP_RANGE MAKEDIPROP(4) +#define DIPROP_DEADZONE MAKEDIPROP(5) +#define DIPROP_SATURATION MAKEDIPROP(6) +#define DIPROP_FFGAIN MAKEDIPROP(7) +#define DIPROP_FFLOAD MAKEDIPROP(8) +#define DIPROP_AUTOCENTER MAKEDIPROP(9) + +#define DIPROPAUTOCENTER_OFF 0 +#define DIPROPAUTOCENTER_ON 1 + +#define DIPROP_CALIBRATIONMODE MAKEDIPROP(10) + +#define DIPROPCALIBRATIONMODE_COOKED 0 +#define DIPROPCALIBRATIONMODE_RAW 1 + +#define DIPROP_CALIBRATION MAKEDIPROP(11) +#define DIPROP_GUIDANDPATH MAKEDIPROP(12) + +#define DIPROP_INSTANCENAME MAKEDIPROP(13) +#define DIPROP_PRODUCTNAME MAKEDIPROP(14) +#define DIPROP_JOYSTICKID MAKEDIPROP(15) + +#define DIPROP_KEYNAME MAKEDIPROP(20) +#define DIPROP_CPOINTS MAKEDIPROP(21) +#define DIPROP_APPDATA MAKEDIPROP(22) +#define DIPROP_SCANCODE MAKEDIPROP(23) +#define DIPROP_VIDPID MAKEDIPROP(24) +#define DIPROP_USERNAME MAKEDIPROP(25) +#define DIPROP_TYPENAME MAKEDIPROP(26) + +typedef struct DIDEVCAPS_DX3 { + DWORD dwSize; + DWORD dwFlags; + DWORD dwDevType; + DWORD dwAxes; + DWORD dwButtons; + DWORD dwPOVs; +} DIDEVCAPS_DX3, *LPDIDEVCAPS_DX3; + +typedef struct DIDEVCAPS { + DWORD dwSize; + DWORD dwFlags; + DWORD dwDevType; + DWORD dwAxes; + DWORD dwButtons; + DWORD dwPOVs; + DWORD dwFFSamplePeriod; + DWORD dwFFMinTimeResolution; + DWORD dwFirmwareRevision; + DWORD dwHardwareRevision; + DWORD dwFFDriverVersion; +} DIDEVCAPS,*LPDIDEVCAPS; + +#define DIDC_ATTACHED 0x00000001 +#define DIDC_POLLEDDEVICE 0x00000002 +#define DIDC_EMULATED 0x00000004 +#define DIDC_POLLEDDATAFORMAT 0x00000008 +#define DIDC_FORCEFEEDBACK 0x00000100 +#define DIDC_FFATTACK 0x00000200 +#define DIDC_FFFADE 0x00000400 +#define DIDC_SATURATION 0x00000800 +#define DIDC_POSNEGCOEFFICIENTS 0x00001000 +#define DIDC_POSNEGSATURATION 0x00002000 +#define DIDC_DEADBAND 0x00004000 +#define DIDC_STARTDELAY 0x00008000 +#define DIDC_ALIAS 0x00010000 +#define DIDC_PHANTOM 0x00020000 +#define DIDC_HIDDEN 0x00040000 + + +/* SetCooperativeLevel dwFlags */ +#define DISCL_EXCLUSIVE 0x00000001 +#define DISCL_NONEXCLUSIVE 0x00000002 +#define DISCL_FOREGROUND 0x00000004 +#define DISCL_BACKGROUND 0x00000008 +#define DISCL_NOWINKEY 0x00000010 + +/* Device FF flags */ +#define DISFFC_RESET 0x00000001 +#define DISFFC_STOPALL 0x00000002 +#define DISFFC_PAUSE 0x00000004 +#define DISFFC_CONTINUE 0x00000008 +#define DISFFC_SETACTUATORSON 0x00000010 +#define DISFFC_SETACTUATORSOFF 0x00000020 + +#define DIGFFS_EMPTY 0x00000001 +#define DIGFFS_STOPPED 0x00000002 +#define DIGFFS_PAUSED 0x00000004 +#define DIGFFS_ACTUATORSON 0x00000010 +#define DIGFFS_ACTUATORSOFF 0x00000020 +#define DIGFFS_POWERON 0x00000040 +#define DIGFFS_POWEROFF 0x00000080 +#define DIGFFS_SAFETYSWITCHON 0x00000100 +#define DIGFFS_SAFETYSWITCHOFF 0x00000200 +#define DIGFFS_USERFFSWITCHON 0x00000400 +#define DIGFFS_USERFFSWITCHOFF 0x00000800 +#define DIGFFS_DEVICELOST 0x80000000 + +/* Effect flags */ +#define DIEFT_ALL 0x00000000 + +#define DIEFT_CONSTANTFORCE 0x00000001 +#define DIEFT_RAMPFORCE 0x00000002 +#define DIEFT_PERIODIC 0x00000003 +#define DIEFT_CONDITION 0x00000004 +#define DIEFT_CUSTOMFORCE 0x00000005 +#define DIEFT_HARDWARE 0x000000FF +#define DIEFT_FFATTACK 0x00000200 +#define DIEFT_FFFADE 0x00000400 +#define DIEFT_SATURATION 0x00000800 +#define DIEFT_POSNEGCOEFFICIENTS 0x00001000 +#define DIEFT_POSNEGSATURATION 0x00002000 +#define DIEFT_DEADBAND 0x00004000 +#define DIEFT_STARTDELAY 0x00008000 +#define DIEFT_GETTYPE(n) LOBYTE(n) + +#define DIEFF_OBJECTIDS 0x00000001 +#define DIEFF_OBJECTOFFSETS 0x00000002 +#define DIEFF_CARTESIAN 0x00000010 +#define DIEFF_POLAR 0x00000020 +#define DIEFF_SPHERICAL 0x00000040 + +#define DIEP_DURATION 0x00000001 +#define DIEP_SAMPLEPERIOD 0x00000002 +#define DIEP_GAIN 0x00000004 +#define DIEP_TRIGGERBUTTON 0x00000008 +#define DIEP_TRIGGERREPEATINTERVAL 0x00000010 +#define DIEP_AXES 0x00000020 +#define DIEP_DIRECTION 0x00000040 +#define DIEP_ENVELOPE 0x00000080 +#define DIEP_TYPESPECIFICPARAMS 0x00000100 +#define DIEP_STARTDELAY 0x00000200 +#define DIEP_ALLPARAMS_DX5 0x000001FF +#define DIEP_ALLPARAMS 0x000003FF +#define DIEP_START 0x20000000 +#define DIEP_NORESTART 0x40000000 +#define DIEP_NODOWNLOAD 0x80000000 +#define DIEB_NOTRIGGER 0xFFFFFFFF + +#define DIES_SOLO 0x00000001 +#define DIES_NODOWNLOAD 0x80000000 + +#define DIEGES_PLAYING 0x00000001 +#define DIEGES_EMULATED 0x00000002 + +#define DI_DEGREES 100 +#define DI_FFNOMINALMAX 10000 +#define DI_SECONDS 1000000 + +typedef struct DICONSTANTFORCE { + LONG lMagnitude; +} DICONSTANTFORCE, *LPDICONSTANTFORCE; +typedef const DICONSTANTFORCE *LPCDICONSTANTFORCE; + +typedef struct DIRAMPFORCE { + LONG lStart; + LONG lEnd; +} DIRAMPFORCE, *LPDIRAMPFORCE; +typedef const DIRAMPFORCE *LPCDIRAMPFORCE; + +typedef struct DIPERIODIC { + DWORD dwMagnitude; + LONG lOffset; + DWORD dwPhase; + DWORD dwPeriod; +} DIPERIODIC, *LPDIPERIODIC; +typedef const DIPERIODIC *LPCDIPERIODIC; + +typedef struct DICONDITION { + LONG lOffset; + LONG lPositiveCoefficient; + LONG lNegativeCoefficient; + DWORD dwPositiveSaturation; + DWORD dwNegativeSaturation; + LONG lDeadBand; +} DICONDITION, *LPDICONDITION; +typedef const DICONDITION *LPCDICONDITION; + +typedef struct DICUSTOMFORCE { + DWORD cChannels; + DWORD dwSamplePeriod; + DWORD cSamples; + LPLONG rglForceData; +} DICUSTOMFORCE, *LPDICUSTOMFORCE; +typedef const DICUSTOMFORCE *LPCDICUSTOMFORCE; + +typedef struct DIENVELOPE { + DWORD dwSize; + DWORD dwAttackLevel; + DWORD dwAttackTime; + DWORD dwFadeLevel; + DWORD dwFadeTime; +} DIENVELOPE, *LPDIENVELOPE; +typedef const DIENVELOPE *LPCDIENVELOPE; + +typedef struct DIEFFECT_DX5 { + DWORD dwSize; + DWORD dwFlags; + DWORD dwDuration; + DWORD dwSamplePeriod; + DWORD dwGain; + DWORD dwTriggerButton; + DWORD dwTriggerRepeatInterval; + DWORD cAxes; + LPDWORD rgdwAxes; + LPLONG rglDirection; + LPDIENVELOPE lpEnvelope; + DWORD cbTypeSpecificParams; + LPVOID lpvTypeSpecificParams; +} DIEFFECT_DX5, *LPDIEFFECT_DX5; +typedef const DIEFFECT_DX5 *LPCDIEFFECT_DX5; + +typedef struct DIEFFECT { + DWORD dwSize; + DWORD dwFlags; + DWORD dwDuration; + DWORD dwSamplePeriod; + DWORD dwGain; + DWORD dwTriggerButton; + DWORD dwTriggerRepeatInterval; + DWORD cAxes; + LPDWORD rgdwAxes; + LPLONG rglDirection; + LPDIENVELOPE lpEnvelope; + DWORD cbTypeSpecificParams; + LPVOID lpvTypeSpecificParams; + DWORD dwStartDelay; +} DIEFFECT, *LPDIEFFECT; +typedef const DIEFFECT *LPCDIEFFECT; +typedef DIEFFECT DIEFFECT_DX6; +typedef LPDIEFFECT LPDIEFFECT_DX6; + +typedef struct DIEFFECTINFOA { + DWORD dwSize; + GUID guid; + DWORD dwEffType; + DWORD dwStaticParams; + DWORD dwDynamicParams; + CHAR tszName[MAX_PATH]; +} DIEFFECTINFOA, *LPDIEFFECTINFOA; +typedef const DIEFFECTINFOA *LPCDIEFFECTINFOA; + +typedef struct DIEFFECTINFOW { + DWORD dwSize; + GUID guid; + DWORD dwEffType; + DWORD dwStaticParams; + DWORD dwDynamicParams; + WCHAR tszName[MAX_PATH]; +} DIEFFECTINFOW, *LPDIEFFECTINFOW; +typedef const DIEFFECTINFOW *LPCDIEFFECTINFOW; + +DECL_WINELIB_TYPE_AW(DIEFFECTINFO) +DECL_WINELIB_TYPE_AW(LPDIEFFECTINFO) +DECL_WINELIB_TYPE_AW(LPCDIEFFECTINFO) + +typedef BOOL (CALLBACK *LPDIENUMEFFECTSCALLBACKA)(LPCDIEFFECTINFOA, LPVOID); +typedef BOOL (CALLBACK *LPDIENUMEFFECTSCALLBACKW)(LPCDIEFFECTINFOW, LPVOID); + +typedef struct DIEFFESCAPE { + DWORD dwSize; + DWORD dwCommand; + LPVOID lpvInBuffer; + DWORD cbInBuffer; + LPVOID lpvOutBuffer; + DWORD cbOutBuffer; +} DIEFFESCAPE, *LPDIEFFESCAPE; + +typedef struct DIJOYSTATE { + LONG lX; + LONG lY; + LONG lZ; + LONG lRx; + LONG lRy; + LONG lRz; + LONG rglSlider[2]; + DWORD rgdwPOV[4]; + BYTE rgbButtons[32]; +} DIJOYSTATE, *LPDIJOYSTATE; + +typedef struct DIJOYSTATE2 { + LONG lX; + LONG lY; + LONG lZ; + LONG lRx; + LONG lRy; + LONG lRz; + LONG rglSlider[2]; + DWORD rgdwPOV[4]; + BYTE rgbButtons[128]; + LONG lVX; /* 'v' as in velocity */ + LONG lVY; + LONG lVZ; + LONG lVRx; + LONG lVRy; + LONG lVRz; + LONG rglVSlider[2]; + LONG lAX; /* 'a' as in acceleration */ + LONG lAY; + LONG lAZ; + LONG lARx; + LONG lARy; + LONG lARz; + LONG rglASlider[2]; + LONG lFX; /* 'f' as in force */ + LONG lFY; + LONG lFZ; + LONG lFRx; /* 'fr' as in rotational force aka torque */ + LONG lFRy; + LONG lFRz; + LONG rglFSlider[2]; +} DIJOYSTATE2, *LPDIJOYSTATE2; + +#define DIJOFS_X FIELD_OFFSET(DIJOYSTATE, lX) +#define DIJOFS_Y FIELD_OFFSET(DIJOYSTATE, lY) +#define DIJOFS_Z FIELD_OFFSET(DIJOYSTATE, lZ) +#define DIJOFS_RX FIELD_OFFSET(DIJOYSTATE, lRx) +#define DIJOFS_RY FIELD_OFFSET(DIJOYSTATE, lRy) +#define DIJOFS_RZ FIELD_OFFSET(DIJOYSTATE, lRz) +#define DIJOFS_SLIDER(n) (FIELD_OFFSET(DIJOYSTATE, rglSlider) + \ + (n) * sizeof(LONG)) +#define DIJOFS_POV(n) (FIELD_OFFSET(DIJOYSTATE, rgdwPOV) + \ + (n) * sizeof(DWORD)) +#define DIJOFS_BUTTON(n) (FIELD_OFFSET(DIJOYSTATE, rgbButtons) + (n)) +#define DIJOFS_BUTTON0 DIJOFS_BUTTON(0) +#define DIJOFS_BUTTON1 DIJOFS_BUTTON(1) +#define DIJOFS_BUTTON2 DIJOFS_BUTTON(2) +#define DIJOFS_BUTTON3 DIJOFS_BUTTON(3) +#define DIJOFS_BUTTON4 DIJOFS_BUTTON(4) +#define DIJOFS_BUTTON5 DIJOFS_BUTTON(5) +#define DIJOFS_BUTTON6 DIJOFS_BUTTON(6) +#define DIJOFS_BUTTON7 DIJOFS_BUTTON(7) +#define DIJOFS_BUTTON8 DIJOFS_BUTTON(8) +#define DIJOFS_BUTTON9 DIJOFS_BUTTON(9) +#define DIJOFS_BUTTON10 DIJOFS_BUTTON(10) +#define DIJOFS_BUTTON11 DIJOFS_BUTTON(11) +#define DIJOFS_BUTTON12 DIJOFS_BUTTON(12) +#define DIJOFS_BUTTON13 DIJOFS_BUTTON(13) +#define DIJOFS_BUTTON14 DIJOFS_BUTTON(14) +#define DIJOFS_BUTTON15 DIJOFS_BUTTON(15) +#define DIJOFS_BUTTON16 DIJOFS_BUTTON(16) +#define DIJOFS_BUTTON17 DIJOFS_BUTTON(17) +#define DIJOFS_BUTTON18 DIJOFS_BUTTON(18) +#define DIJOFS_BUTTON19 DIJOFS_BUTTON(19) +#define DIJOFS_BUTTON20 DIJOFS_BUTTON(20) +#define DIJOFS_BUTTON21 DIJOFS_BUTTON(21) +#define DIJOFS_BUTTON22 DIJOFS_BUTTON(22) +#define DIJOFS_BUTTON23 DIJOFS_BUTTON(23) +#define DIJOFS_BUTTON24 DIJOFS_BUTTON(24) +#define DIJOFS_BUTTON25 DIJOFS_BUTTON(25) +#define DIJOFS_BUTTON26 DIJOFS_BUTTON(26) +#define DIJOFS_BUTTON27 DIJOFS_BUTTON(27) +#define DIJOFS_BUTTON28 DIJOFS_BUTTON(28) +#define DIJOFS_BUTTON29 DIJOFS_BUTTON(29) +#define DIJOFS_BUTTON30 DIJOFS_BUTTON(30) +#define DIJOFS_BUTTON31 DIJOFS_BUTTON(31) + +/* DInput 7 structures, types */ +typedef struct DIFILEEFFECT { + DWORD dwSize; + GUID GuidEffect; + LPCDIEFFECT lpDiEffect; + CHAR szFriendlyName[MAX_PATH]; +} DIFILEEFFECT, *LPDIFILEEFFECT; + +typedef const DIFILEEFFECT *LPCDIFILEEFFECT; +typedef BOOL (CALLBACK *LPDIENUMEFFECTSINFILECALLBACK)(LPCDIFILEEFFECT , LPVOID); + +/* DInput 8 structures and types */ +typedef struct _DIACTIONA { + UINT_PTR uAppData; + DWORD dwSemantic; + DWORD dwFlags; + union { + LPCSTR lptszActionName; + UINT uResIdString; + } DUMMYUNIONNAME; + GUID guidInstance; + DWORD dwObjID; + DWORD dwHow; +} DIACTIONA, *LPDIACTIONA; +typedef const DIACTIONA *LPCDIACTIONA; + +typedef struct _DIACTIONW { + UINT_PTR uAppData; + DWORD dwSemantic; + DWORD dwFlags; + union { + LPCWSTR lptszActionName; + UINT uResIdString; + } DUMMYUNIONNAME; + GUID guidInstance; + DWORD dwObjID; + DWORD dwHow; +} DIACTIONW, *LPDIACTIONW; +typedef const DIACTIONW *LPCDIACTIONW; + +DECL_WINELIB_TYPE_AW(DIACTION) +DECL_WINELIB_TYPE_AW(LPDIACTION) +DECL_WINELIB_TYPE_AW(LPCDIACTION) + +#define DIA_FORCEFEEDBACK 0x00000001 +#define DIA_APPMAPPED 0x00000002 +#define DIA_APPNOMAP 0x00000004 +#define DIA_NORANGE 0x00000008 +#define DIA_APPFIXED 0x00000010 + +#define DIAH_UNMAPPED 0x00000000 +#define DIAH_USERCONFIG 0x00000001 +#define DIAH_APPREQUESTED 0x00000002 +#define DIAH_HWAPP 0x00000004 +#define DIAH_HWDEFAULT 0x00000008 +#define DIAH_DEFAULT 0x00000020 +#define DIAH_ERROR 0x80000000 + +typedef struct _DIACTIONFORMATA { + DWORD dwSize; + DWORD dwActionSize; + DWORD dwDataSize; + DWORD dwNumActions; + LPDIACTIONA rgoAction; + GUID guidActionMap; + DWORD dwGenre; + DWORD dwBufferSize; + LONG lAxisMin; + LONG lAxisMax; + HINSTANCE hInstString; + FILETIME ftTimeStamp; + DWORD dwCRC; + CHAR tszActionMap[MAX_PATH]; +} DIACTIONFORMATA, *LPDIACTIONFORMATA; +typedef const DIACTIONFORMATA *LPCDIACTIONFORMATA; + +typedef struct _DIACTIONFORMATW { + DWORD dwSize; + DWORD dwActionSize; + DWORD dwDataSize; + DWORD dwNumActions; + LPDIACTIONW rgoAction; + GUID guidActionMap; + DWORD dwGenre; + DWORD dwBufferSize; + LONG lAxisMin; + LONG lAxisMax; + HINSTANCE hInstString; + FILETIME ftTimeStamp; + DWORD dwCRC; + WCHAR tszActionMap[MAX_PATH]; +} DIACTIONFORMATW, *LPDIACTIONFORMATW; +typedef const DIACTIONFORMATW *LPCDIACTIONFORMATW; + +DECL_WINELIB_TYPE_AW(DIACTIONFORMAT) +DECL_WINELIB_TYPE_AW(LPDIACTIONFORMAT) +DECL_WINELIB_TYPE_AW(LPCDIACTIONFORMAT) + +#define DIAFTS_NEWDEVICELOW 0xFFFFFFFF +#define DIAFTS_NEWDEVICEHIGH 0xFFFFFFFF +#define DIAFTS_UNUSEDDEVICELOW 0x00000000 +#define DIAFTS_UNUSEDDEVICEHIGH 0x00000000 + +#define DIDBAM_DEFAULT 0x00000000 +#define DIDBAM_PRESERVE 0x00000001 +#define DIDBAM_INITIALIZE 0x00000002 +#define DIDBAM_HWDEFAULTS 0x00000004 + +#define DIDSAM_DEFAULT 0x00000000 +#define DIDSAM_NOUSER 0x00000001 +#define DIDSAM_FORCESAVE 0x00000002 + +#define DICD_DEFAULT 0x00000000 +#define DICD_EDIT 0x00000001 + +#ifndef D3DCOLOR_DEFINED +typedef DWORD D3DCOLOR; +#define D3DCOLOR_DEFINED +#endif + +typedef struct _DICOLORSET { + DWORD dwSize; + D3DCOLOR cTextFore; + D3DCOLOR cTextHighlight; + D3DCOLOR cCalloutLine; + D3DCOLOR cCalloutHighlight; + D3DCOLOR cBorder; + D3DCOLOR cControlFill; + D3DCOLOR cHighlightFill; + D3DCOLOR cAreaFill; +} DICOLORSET, *LPDICOLORSET; +typedef const DICOLORSET *LPCDICOLORSET; + +typedef struct _DICONFIGUREDEVICESPARAMSA { + DWORD dwSize; + DWORD dwcUsers; + LPSTR lptszUserNames; + DWORD dwcFormats; + LPDIACTIONFORMATA lprgFormats; + HWND hwnd; + DICOLORSET dics; + LPUNKNOWN lpUnkDDSTarget; +} DICONFIGUREDEVICESPARAMSA, *LPDICONFIGUREDEVICESPARAMSA; +typedef const DICONFIGUREDEVICESPARAMSA *LPCDICONFIGUREDEVICESPARAMSA; + +typedef struct _DICONFIGUREDEVICESPARAMSW { + DWORD dwSize; + DWORD dwcUsers; + LPWSTR lptszUserNames; + DWORD dwcFormats; + LPDIACTIONFORMATW lprgFormats; + HWND hwnd; + DICOLORSET dics; + LPUNKNOWN lpUnkDDSTarget; +} DICONFIGUREDEVICESPARAMSW, *LPDICONFIGUREDEVICESPARAMSW; +typedef const DICONFIGUREDEVICESPARAMSW *LPCDICONFIGUREDEVICESPARAMSW; + +DECL_WINELIB_TYPE_AW(DICONFIGUREDEVICESPARAMS) +DECL_WINELIB_TYPE_AW(LPDICONFIGUREDEVICESPARAMS) +DECL_WINELIB_TYPE_AW(LPCDICONFIGUREDEVICESPARAMS) + +#define DIDIFT_CONFIGURATION 0x00000001 +#define DIDIFT_OVERLAY 0x00000002 + +#define DIDAL_CENTERED 0x00000000 +#define DIDAL_LEFTALIGNED 0x00000001 +#define DIDAL_RIGHTALIGNED 0x00000002 +#define DIDAL_MIDDLE 0x00000000 +#define DIDAL_TOPALIGNED 0x00000004 +#define DIDAL_BOTTOMALIGNED 0x00000008 + +typedef struct _DIDEVICEIMAGEINFOA { + CHAR tszImagePath[MAX_PATH]; + DWORD dwFlags; + DWORD dwViewID; + RECT rcOverlay; + DWORD dwObjID; + DWORD dwcValidPts; + POINT rgptCalloutLine[5]; + RECT rcCalloutRect; + DWORD dwTextAlign; +} DIDEVICEIMAGEINFOA, *LPDIDEVICEIMAGEINFOA; +typedef const DIDEVICEIMAGEINFOA *LPCDIDEVICEIMAGEINFOA; + +typedef struct _DIDEVICEIMAGEINFOW { + WCHAR tszImagePath[MAX_PATH]; + DWORD dwFlags; + DWORD dwViewID; + RECT rcOverlay; + DWORD dwObjID; + DWORD dwcValidPts; + POINT rgptCalloutLine[5]; + RECT rcCalloutRect; + DWORD dwTextAlign; +} DIDEVICEIMAGEINFOW, *LPDIDEVICEIMAGEINFOW; +typedef const DIDEVICEIMAGEINFOW *LPCDIDEVICEIMAGEINFOW; + +DECL_WINELIB_TYPE_AW(DIDEVICEIMAGEINFO) +DECL_WINELIB_TYPE_AW(LPDIDEVICEIMAGEINFO) +DECL_WINELIB_TYPE_AW(LPCDIDEVICEIMAGEINFO) + +typedef struct _DIDEVICEIMAGEINFOHEADERA { + DWORD dwSize; + DWORD dwSizeImageInfo; + DWORD dwcViews; + DWORD dwcButtons; + DWORD dwcAxes; + DWORD dwcPOVs; + DWORD dwBufferSize; + DWORD dwBufferUsed; + LPDIDEVICEIMAGEINFOA lprgImageInfoArray; +} DIDEVICEIMAGEINFOHEADERA, *LPDIDEVICEIMAGEINFOHEADERA; +typedef const DIDEVICEIMAGEINFOHEADERA *LPCDIDEVICEIMAGEINFOHEADERA; + +typedef struct _DIDEVICEIMAGEINFOHEADERW { + DWORD dwSize; + DWORD dwSizeImageInfo; + DWORD dwcViews; + DWORD dwcButtons; + DWORD dwcAxes; + DWORD dwcPOVs; + DWORD dwBufferSize; + DWORD dwBufferUsed; + LPDIDEVICEIMAGEINFOW lprgImageInfoArray; +} DIDEVICEIMAGEINFOHEADERW, *LPDIDEVICEIMAGEINFOHEADERW; +typedef const DIDEVICEIMAGEINFOHEADERW *LPCDIDEVICEIMAGEINFOHEADERW; + +DECL_WINELIB_TYPE_AW(DIDEVICEIMAGEINFOHEADER) +DECL_WINELIB_TYPE_AW(LPDIDEVICEIMAGEINFOHEADER) +DECL_WINELIB_TYPE_AW(LPCDIDEVICEIMAGEINFOHEADER) + + +/***************************************************************************** + * IDirectInputEffect interface + */ +#define INTERFACE IDirectInputEffect +DECLARE_INTERFACE_(IDirectInputEffect,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputEffect methods ***/ + STDMETHOD(Initialize)(THIS_ HINSTANCE, DWORD, REFGUID) PURE; + STDMETHOD(GetEffectGuid)(THIS_ LPGUID) PURE; + STDMETHOD(GetParameters)(THIS_ LPDIEFFECT, DWORD) PURE; + STDMETHOD(SetParameters)(THIS_ LPCDIEFFECT, DWORD) PURE; + STDMETHOD(Start)(THIS_ DWORD, DWORD) PURE; + STDMETHOD(Stop)(THIS) PURE; + STDMETHOD(GetEffectStatus)(THIS_ LPDWORD) PURE; + STDMETHOD(Download)(THIS) PURE; + STDMETHOD(Unload)(THIS) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInputEffect_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInputEffect_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInputEffect_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInputEffect methods ***/ +#define IDirectInputEffect_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectInputEffect_GetEffectGuid(p,a) (p)->lpVtbl->GetEffectGuid(p,a) +#define IDirectInputEffect_GetParameters(p,a,b) (p)->lpVtbl->GetParameters(p,a,b) +#define IDirectInputEffect_SetParameters(p,a,b) (p)->lpVtbl->SetParameters(p,a,b) +#define IDirectInputEffect_Start(p,a,b) (p)->lpVtbl->Start(p,a,b) +#define IDirectInputEffect_Stop(p) (p)->lpVtbl->Stop(p) +#define IDirectInputEffect_GetEffectStatus(p,a) (p)->lpVtbl->GetEffectStatus(p,a) +#define IDirectInputEffect_Download(p) (p)->lpVtbl->Download(p) +#define IDirectInputEffect_Unload(p) (p)->lpVtbl->Unload(p) +#define IDirectInputEffect_Escape(p,a) (p)->lpVtbl->Escape(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectInputEffect_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInputEffect_AddRef(p) (p)->AddRef() +#define IDirectInputEffect_Release(p) (p)->Release() +/*** IDirectInputEffect methods ***/ +#define IDirectInputEffect_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectInputEffect_GetEffectGuid(p,a) (p)->GetEffectGuid(a) +#define IDirectInputEffect_GetParameters(p,a,b) (p)->GetParameters(a,b) +#define IDirectInputEffect_SetParameters(p,a,b) (p)->SetParameters(a,b) +#define IDirectInputEffect_Start(p,a,b) (p)->Start(a,b) +#define IDirectInputEffect_Stop(p) (p)->Stop() +#define IDirectInputEffect_GetEffectStatus(p,a) (p)->GetEffectStatus(a) +#define IDirectInputEffect_Download(p) (p)->Download() +#define IDirectInputEffect_Unload(p) (p)->Unload() +#define IDirectInputEffect_Escape(p,a) (p)->Escape(a) +#endif + + +/***************************************************************************** + * IDirectInputDeviceA interface + */ +#define INTERFACE IDirectInputDeviceA +DECLARE_INTERFACE_(IDirectInputDeviceA,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceA methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEA pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEA pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInputDeviceW interface + */ +#define INTERFACE IDirectInputDeviceW +DECLARE_INTERFACE_(IDirectInputDeviceW,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceW methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEW pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEW pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInputDevice_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInputDevice_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInputDevice_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice_GetCapabilities(p,a) (p)->lpVtbl->GetCapabilities(p,a) +#define IDirectInputDevice_EnumObjects(p,a,b,c) (p)->lpVtbl->EnumObjects(p,a,b,c) +#define IDirectInputDevice_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b) +#define IDirectInputDevice_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b) +#define IDirectInputDevice_Acquire(p) (p)->lpVtbl->Acquire(p) +#define IDirectInputDevice_Unacquire(p) (p)->lpVtbl->Unacquire(p) +#define IDirectInputDevice_GetDeviceState(p,a,b) (p)->lpVtbl->GetDeviceState(p,a,b) +#define IDirectInputDevice_GetDeviceData(p,a,b,c,d) (p)->lpVtbl->GetDeviceData(p,a,b,c,d) +#define IDirectInputDevice_SetDataFormat(p,a) (p)->lpVtbl->SetDataFormat(p,a) +#define IDirectInputDevice_SetEventNotification(p,a) (p)->lpVtbl->SetEventNotification(p,a) +#define IDirectInputDevice_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectInputDevice_GetObjectInfo(p,a,b,c) (p)->lpVtbl->GetObjectInfo(p,a,b,c) +#define IDirectInputDevice_GetDeviceInfo(p,a) (p)->lpVtbl->GetDeviceInfo(p,a) +#define IDirectInputDevice_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInputDevice_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectInputDevice_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInputDevice_AddRef(p) (p)->AddRef() +#define IDirectInputDevice_Release(p) (p)->Release() +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice_GetCapabilities(p,a) (p)->GetCapabilities(a) +#define IDirectInputDevice_EnumObjects(p,a,b,c) (p)->EnumObjects(a,b,c) +#define IDirectInputDevice_GetProperty(p,a,b) (p)->GetProperty(a,b) +#define IDirectInputDevice_SetProperty(p,a,b) (p)->SetProperty(a,b) +#define IDirectInputDevice_Acquire(p) (p)->Acquire() +#define IDirectInputDevice_Unacquire(p) (p)->Unacquire() +#define IDirectInputDevice_GetDeviceState(p,a,b) (p)->GetDeviceState(a,b) +#define IDirectInputDevice_GetDeviceData(p,a,b,c,d) (p)->GetDeviceData(a,b,c,d) +#define IDirectInputDevice_SetDataFormat(p,a) (p)->SetDataFormat(a) +#define IDirectInputDevice_SetEventNotification(p,a) (p)->SetEventNotification(a) +#define IDirectInputDevice_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectInputDevice_GetObjectInfo(p,a,b,c) (p)->GetObjectInfo(a,b,c) +#define IDirectInputDevice_GetDeviceInfo(p,a) (p)->GetDeviceInfo(a) +#define IDirectInputDevice_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInputDevice_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#endif + + +/***************************************************************************** + * IDirectInputDevice2A interface + */ +#define INTERFACE IDirectInputDevice2A +DECLARE_INTERFACE_(IDirectInputDevice2A,IDirectInputDeviceA) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceA methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEA pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEA pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; + /*** IDirectInputDevice2A methods ***/ + STDMETHOD(CreateEffect)(THIS_ REFGUID rguid, LPCDIEFFECT lpeff, LPDIRECTINPUTEFFECT *ppdeff, LPUNKNOWN punkOuter) PURE; + STDMETHOD(EnumEffects)(THIS_ LPDIENUMEFFECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwEffType) PURE; + STDMETHOD(GetEffectInfo)(THIS_ LPDIEFFECTINFOA pdei, REFGUID rguid) PURE; + STDMETHOD(GetForceFeedbackState)(THIS_ LPDWORD pdwOut) PURE; + STDMETHOD(SendForceFeedbackCommand)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumCreatedEffectObjects)(THIS_ LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE pesc) PURE; + STDMETHOD(Poll)(THIS) PURE; + STDMETHOD(SendDeviceData)(THIS_ DWORD cbObjectData, LPCDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD fl) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInputDevice2W interface + */ +#define INTERFACE IDirectInputDevice2W +DECLARE_INTERFACE_(IDirectInputDevice2W,IDirectInputDeviceW) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceW methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEW pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEW pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; + /*** IDirectInputDevice2W methods ***/ + STDMETHOD(CreateEffect)(THIS_ REFGUID rguid, LPCDIEFFECT lpeff, LPDIRECTINPUTEFFECT *ppdeff, LPUNKNOWN punkOuter) PURE; + STDMETHOD(EnumEffects)(THIS_ LPDIENUMEFFECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwEffType) PURE; + STDMETHOD(GetEffectInfo)(THIS_ LPDIEFFECTINFOW pdei, REFGUID rguid) PURE; + STDMETHOD(GetForceFeedbackState)(THIS_ LPDWORD pdwOut) PURE; + STDMETHOD(SendForceFeedbackCommand)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumCreatedEffectObjects)(THIS_ LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE pesc) PURE; + STDMETHOD(Poll)(THIS) PURE; + STDMETHOD(SendDeviceData)(THIS_ DWORD cbObjectData, LPCDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD fl) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInputDevice2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInputDevice2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInputDevice2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice2_GetCapabilities(p,a) (p)->lpVtbl->GetCapabilities(p,a) +#define IDirectInputDevice2_EnumObjects(p,a,b,c) (p)->lpVtbl->EnumObjects(p,a,b,c) +#define IDirectInputDevice2_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b) +#define IDirectInputDevice2_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b) +#define IDirectInputDevice2_Acquire(p) (p)->lpVtbl->Acquire(p) +#define IDirectInputDevice2_Unacquire(p) (p)->lpVtbl->Unacquire(p) +#define IDirectInputDevice2_GetDeviceState(p,a,b) (p)->lpVtbl->GetDeviceState(p,a,b) +#define IDirectInputDevice2_GetDeviceData(p,a,b,c,d) (p)->lpVtbl->GetDeviceData(p,a,b,c,d) +#define IDirectInputDevice2_SetDataFormat(p,a) (p)->lpVtbl->SetDataFormat(p,a) +#define IDirectInputDevice2_SetEventNotification(p,a) (p)->lpVtbl->SetEventNotification(p,a) +#define IDirectInputDevice2_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectInputDevice2_GetObjectInfo(p,a,b,c) (p)->lpVtbl->GetObjectInfo(p,a,b,c) +#define IDirectInputDevice2_GetDeviceInfo(p,a) (p)->lpVtbl->GetDeviceInfo(p,a) +#define IDirectInputDevice2_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInputDevice2_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +/*** IDirectInputDevice2 methods ***/ +#define IDirectInputDevice2_CreateEffect(p,a,b,c,d) (p)->lpVtbl->CreateEffect(p,a,b,c,d) +#define IDirectInputDevice2_EnumEffects(p,a,b,c) (p)->lpVtbl->EnumEffects(p,a,b,c) +#define IDirectInputDevice2_GetEffectInfo(p,a,b) (p)->lpVtbl->GetEffectInfo(p,a,b) +#define IDirectInputDevice2_GetForceFeedbackState(p,a) (p)->lpVtbl->GetForceFeedbackState(p,a) +#define IDirectInputDevice2_SendForceFeedbackCommand(p,a) (p)->lpVtbl->SendForceFeedbackCommand(p,a) +#define IDirectInputDevice2_EnumCreatedEffectObjects(p,a,b,c) (p)->lpVtbl->EnumCreatedEffectObjects(p,a,b,c) +#define IDirectInputDevice2_Escape(p,a) (p)->lpVtbl->Escape(p,a) +#define IDirectInputDevice2_Poll(p) (p)->lpVtbl->Poll(p) +#define IDirectInputDevice2_SendDeviceData(p,a,b,c,d) (p)->lpVtbl->SendDeviceData(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectInputDevice2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInputDevice2_AddRef(p) (p)->AddRef() +#define IDirectInputDevice2_Release(p) (p)->Release() +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice2_GetCapabilities(p,a) (p)->GetCapabilities(a) +#define IDirectInputDevice2_EnumObjects(p,a,b,c) (p)->EnumObjects(a,b,c) +#define IDirectInputDevice2_GetProperty(p,a,b) (p)->GetProperty(a,b) +#define IDirectInputDevice2_SetProperty(p,a,b) (p)->SetProperty(a,b) +#define IDirectInputDevice2_Acquire(p) (p)->Acquire() +#define IDirectInputDevice2_Unacquire(p) (p)->Unacquire() +#define IDirectInputDevice2_GetDeviceState(p,a,b) (p)->GetDeviceState(a,b) +#define IDirectInputDevice2_GetDeviceData(p,a,b,c,d) (p)->GetDeviceData(a,b,c,d) +#define IDirectInputDevice2_SetDataFormat(p,a) (p)->SetDataFormat(a) +#define IDirectInputDevice2_SetEventNotification(p,a) (p)->SetEventNotification(a) +#define IDirectInputDevice2_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectInputDevice2_GetObjectInfo(p,a,b,c) (p)->GetObjectInfo(a,b,c) +#define IDirectInputDevice2_GetDeviceInfo(p,a) (p)->GetDeviceInfo(a) +#define IDirectInputDevice2_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInputDevice2_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +/*** IDirectInputDevice2 methods ***/ +#define IDirectInputDevice2_CreateEffect(p,a,b,c,d) (p)->CreateEffect(a,b,c,d) +#define IDirectInputDevice2_EnumEffects(p,a,b,c) (p)->EnumEffects(a,b,c) +#define IDirectInputDevice2_GetEffectInfo(p,a,b) (p)->GetEffectInfo(a,b) +#define IDirectInputDevice2_GetForceFeedbackState(p,a) (p)->GetForceFeedbackState(a) +#define IDirectInputDevice2_SendForceFeedbackCommand(p,a) (p)->SendForceFeedbackCommand(a) +#define IDirectInputDevice2_EnumCreatedEffectObjects(p,a,b,c) (p)->EnumCreatedEffectObjects(a,b,c) +#define IDirectInputDevice2_Escape(p,a) (p)->Escape(a) +#define IDirectInputDevice2_Poll(p) (p)->Poll() +#define IDirectInputDevice2_SendDeviceData(p,a,b,c,d) (p)->SendDeviceData(a,b,c,d) +#endif + +/***************************************************************************** + * IDirectInputDevice7A interface + */ +#define INTERFACE IDirectInputDevice7A +DECLARE_INTERFACE_(IDirectInputDevice7A,IDirectInputDevice2A) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceA methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEA pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEA pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; + /*** IDirectInputDevice2A methods ***/ + STDMETHOD(CreateEffect)(THIS_ REFGUID rguid, LPCDIEFFECT lpeff, LPDIRECTINPUTEFFECT *ppdeff, LPUNKNOWN punkOuter) PURE; + STDMETHOD(EnumEffects)(THIS_ LPDIENUMEFFECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwEffType) PURE; + STDMETHOD(GetEffectInfo)(THIS_ LPDIEFFECTINFOA pdei, REFGUID rguid) PURE; + STDMETHOD(GetForceFeedbackState)(THIS_ LPDWORD pdwOut) PURE; + STDMETHOD(SendForceFeedbackCommand)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumCreatedEffectObjects)(THIS_ LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE pesc) PURE; + STDMETHOD(Poll)(THIS) PURE; + STDMETHOD(SendDeviceData)(THIS_ DWORD cbObjectData, LPCDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD fl) PURE; + /*** IDirectInputDevice7A methods ***/ + STDMETHOD(EnumEffectsInFile)(THIS_ LPCSTR lpszFileName,LPDIENUMEFFECTSINFILECALLBACK pec,LPVOID pvRef,DWORD dwFlags) PURE; + STDMETHOD(WriteEffectToFile)(THIS_ LPCSTR lpszFileName,DWORD dwEntries,LPDIFILEEFFECT rgDiFileEft,DWORD dwFlags) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInputDevice7W interface + */ +#define INTERFACE IDirectInputDevice7W +DECLARE_INTERFACE_(IDirectInputDevice7W,IDirectInputDevice2W) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceW methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEW pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEW pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; + /*** IDirectInputDevice2W methods ***/ + STDMETHOD(CreateEffect)(THIS_ REFGUID rguid, LPCDIEFFECT lpeff, LPDIRECTINPUTEFFECT *ppdeff, LPUNKNOWN punkOuter) PURE; + STDMETHOD(EnumEffects)(THIS_ LPDIENUMEFFECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwEffType) PURE; + STDMETHOD(GetEffectInfo)(THIS_ LPDIEFFECTINFOW pdei, REFGUID rguid) PURE; + STDMETHOD(GetForceFeedbackState)(THIS_ LPDWORD pdwOut) PURE; + STDMETHOD(SendForceFeedbackCommand)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumCreatedEffectObjects)(THIS_ LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE pesc) PURE; + STDMETHOD(Poll)(THIS) PURE; + STDMETHOD(SendDeviceData)(THIS_ DWORD cbObjectData, LPCDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD fl) PURE; + /*** IDirectInputDevice7W methods ***/ + STDMETHOD(EnumEffectsInFile)(THIS_ LPCWSTR lpszFileName,LPDIENUMEFFECTSINFILECALLBACK pec,LPVOID pvRef,DWORD dwFlags) PURE; + STDMETHOD(WriteEffectToFile)(THIS_ LPCWSTR lpszFileName,DWORD dwEntries,LPDIFILEEFFECT rgDiFileEft,DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInputDevice7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInputDevice7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInputDevice7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice7_GetCapabilities(p,a) (p)->lpVtbl->GetCapabilities(p,a) +#define IDirectInputDevice7_EnumObjects(p,a,b,c) (p)->lpVtbl->EnumObjects(p,a,b,c) +#define IDirectInputDevice7_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b) +#define IDirectInputDevice7_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b) +#define IDirectInputDevice7_Acquire(p) (p)->lpVtbl->Acquire(p) +#define IDirectInputDevice7_Unacquire(p) (p)->lpVtbl->Unacquire(p) +#define IDirectInputDevice7_GetDeviceState(p,a,b) (p)->lpVtbl->GetDeviceState(p,a,b) +#define IDirectInputDevice7_GetDeviceData(p,a,b,c,d) (p)->lpVtbl->GetDeviceData(p,a,b,c,d) +#define IDirectInputDevice7_SetDataFormat(p,a) (p)->lpVtbl->SetDataFormat(p,a) +#define IDirectInputDevice7_SetEventNotification(p,a) (p)->lpVtbl->SetEventNotification(p,a) +#define IDirectInputDevice7_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectInputDevice7_GetObjectInfo(p,a,b,c) (p)->lpVtbl->GetObjectInfo(p,a,b,c) +#define IDirectInputDevice7_GetDeviceInfo(p,a) (p)->lpVtbl->GetDeviceInfo(p,a) +#define IDirectInputDevice7_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInputDevice7_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +/*** IDirectInputDevice2 methods ***/ +#define IDirectInputDevice7_CreateEffect(p,a,b,c,d) (p)->lpVtbl->CreateEffect(p,a,b,c,d) +#define IDirectInputDevice7_EnumEffects(p,a,b,c) (p)->lpVtbl->EnumEffects(p,a,b,c) +#define IDirectInputDevice7_GetEffectInfo(p,a,b) (p)->lpVtbl->GetEffectInfo(p,a,b) +#define IDirectInputDevice7_GetForceFeedbackState(p,a) (p)->lpVtbl->GetForceFeedbackState(p,a) +#define IDirectInputDevice7_SendForceFeedbackCommand(p,a) (p)->lpVtbl->SendForceFeedbackCommand(p,a) +#define IDirectInputDevice7_EnumCreatedEffectObjects(p,a,b,c) (p)->lpVtbl->EnumCreatedEffectObjects(p,a,b,c) +#define IDirectInputDevice7_Escape(p,a) (p)->lpVtbl->Escape(p,a) +#define IDirectInputDevice7_Poll(p) (p)->lpVtbl->Poll(p) +#define IDirectInputDevice7_SendDeviceData(p,a,b,c,d) (p)->lpVtbl->SendDeviceData(p,a,b,c,d) +/*** IDirectInputDevice7 methods ***/ +#define IDirectInputDevice7_EnumEffectsInFile(p,a,b,c,d) (p)->lpVtbl->EnumEffectsInFile(p,a,b,c,d) +#define IDirectInputDevice7_WriteEffectToFile(p,a,b,c,d) (p)->lpVtbl->WriteEffectToFile(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectInputDevice7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInputDevice7_AddRef(p) (p)->AddRef() +#define IDirectInputDevice7_Release(p) (p)->Release() +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice7_GetCapabilities(p,a) (p)->GetCapabilities(a) +#define IDirectInputDevice7_EnumObjects(p,a,b,c) (p)->EnumObjects(a,b,c) +#define IDirectInputDevice7_GetProperty(p,a,b) (p)->GetProperty(a,b) +#define IDirectInputDevice7_SetProperty(p,a,b) (p)->SetProperty(a,b) +#define IDirectInputDevice7_Acquire(p) (p)->Acquire() +#define IDirectInputDevice7_Unacquire(p) (p)->Unacquire() +#define IDirectInputDevice7_GetDeviceState(p,a,b) (p)->GetDeviceState(a,b) +#define IDirectInputDevice7_GetDeviceData(p,a,b,c,d) (p)->GetDeviceData(a,b,c,d) +#define IDirectInputDevice7_SetDataFormat(p,a) (p)->SetDataFormat(a) +#define IDirectInputDevice7_SetEventNotification(p,a) (p)->SetEventNotification(a) +#define IDirectInputDevice7_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectInputDevice7_GetObjectInfo(p,a,b,c) (p)->GetObjectInfo(a,b,c) +#define IDirectInputDevice7_GetDeviceInfo(p,a) (p)->GetDeviceInfo(a) +#define IDirectInputDevice7_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInputDevice7_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +/*** IDirectInputDevice2 methods ***/ +#define IDirectInputDevice7_CreateEffect(p,a,b,c,d) (p)->CreateEffect(a,b,c,d) +#define IDirectInputDevice7_EnumEffects(p,a,b,c) (p)->EnumEffects(a,b,c) +#define IDirectInputDevice7_GetEffectInfo(p,a,b) (p)->GetEffectInfo(a,b) +#define IDirectInputDevice7_GetForceFeedbackState(p,a) (p)->GetForceFeedbackState(a) +#define IDirectInputDevice7_SendForceFeedbackCommand(p,a) (p)->SendForceFeedbackCommand(a) +#define IDirectInputDevice7_EnumCreatedEffectObjects(p,a,b,c) (p)->EnumCreatedEffectObjects(a,b,c) +#define IDirectInputDevice7_Escape(p,a) (p)->Escape(a) +#define IDirectInputDevice7_Poll(p) (p)->Poll() +#define IDirectInputDevice7_SendDeviceData(p,a,b,c,d) (p)->SendDeviceData(a,b,c,d) +/*** IDirectInputDevice7 methods ***/ +#define IDirectInputDevice7_EnumEffectsInFile(p,a,b,c,d) (p)->EnumEffectsInFile(a,b,c,d) +#define IDirectInputDevice7_WriteEffectToFile(p,a,b,c,d) (p)->WriteEffectToFile(a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectInputDevice8A interface + */ +#define INTERFACE IDirectInputDevice8A +DECLARE_INTERFACE_(IDirectInputDevice8A,IDirectInputDevice7A) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceA methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEA pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEA pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; + /*** IDirectInputDevice2A methods ***/ + STDMETHOD(CreateEffect)(THIS_ REFGUID rguid, LPCDIEFFECT lpeff, LPDIRECTINPUTEFFECT *ppdeff, LPUNKNOWN punkOuter) PURE; + STDMETHOD(EnumEffects)(THIS_ LPDIENUMEFFECTSCALLBACKA lpCallback, LPVOID pvRef, DWORD dwEffType) PURE; + STDMETHOD(GetEffectInfo)(THIS_ LPDIEFFECTINFOA pdei, REFGUID rguid) PURE; + STDMETHOD(GetForceFeedbackState)(THIS_ LPDWORD pdwOut) PURE; + STDMETHOD(SendForceFeedbackCommand)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumCreatedEffectObjects)(THIS_ LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE pesc) PURE; + STDMETHOD(Poll)(THIS) PURE; + STDMETHOD(SendDeviceData)(THIS_ DWORD cbObjectData, LPCDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD fl) PURE; + /*** IDirectInputDevice7A methods ***/ + STDMETHOD(EnumEffectsInFile)(THIS_ LPCSTR lpszFileName,LPDIENUMEFFECTSINFILECALLBACK pec,LPVOID pvRef,DWORD dwFlags) PURE; + STDMETHOD(WriteEffectToFile)(THIS_ LPCSTR lpszFileName,DWORD dwEntries,LPDIFILEEFFECT rgDiFileEft,DWORD dwFlags) PURE; + /*** IDirectInputDevice8A methods ***/ + STDMETHOD(BuildActionMap)(THIS_ LPDIACTIONFORMATA lpdiaf, LPCSTR lpszUserName, DWORD dwFlags) PURE; + STDMETHOD(SetActionMap)(THIS_ LPDIACTIONFORMATA lpdiaf, LPCSTR lpszUserName, DWORD dwFlags) PURE; + STDMETHOD(GetImageInfo)(THIS_ LPDIDEVICEIMAGEINFOHEADERA lpdiDevImageInfoHeader) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInputDevice8W interface + */ +#define INTERFACE IDirectInputDevice8W +DECLARE_INTERFACE_(IDirectInputDevice8W,IDirectInputDevice7W) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputDeviceW methods ***/ + STDMETHOD(GetCapabilities)(THIS_ LPDIDEVCAPS lpDIDevCaps) PURE; + STDMETHOD(EnumObjects)(THIS_ LPDIENUMDEVICEOBJECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetProperty)(THIS_ REFGUID rguidProp, LPDIPROPHEADER pdiph) PURE; + STDMETHOD(SetProperty)(THIS_ REFGUID rguidProp, LPCDIPROPHEADER pdiph) PURE; + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(GetDeviceState)(THIS_ DWORD cbData, LPVOID lpvData) PURE; + STDMETHOD(GetDeviceData)(THIS_ DWORD cbObjectData, LPDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD dwFlags) PURE; + STDMETHOD(SetDataFormat)(THIS_ LPCDIDATAFORMAT lpdf) PURE; + STDMETHOD(SetEventNotification)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwFlags) PURE; + STDMETHOD(GetObjectInfo)(THIS_ LPDIDEVICEOBJECTINSTANCEW pdidoi, DWORD dwObj, DWORD dwHow) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPDIDEVICEINSTANCEW pdidi) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion, REFGUID rguid) PURE; + /*** IDirectInputDevice2W methods ***/ + STDMETHOD(CreateEffect)(THIS_ REFGUID rguid, LPCDIEFFECT lpeff, LPDIRECTINPUTEFFECT *ppdeff, LPUNKNOWN punkOuter) PURE; + STDMETHOD(EnumEffects)(THIS_ LPDIENUMEFFECTSCALLBACKW lpCallback, LPVOID pvRef, DWORD dwEffType) PURE; + STDMETHOD(GetEffectInfo)(THIS_ LPDIEFFECTINFOW pdei, REFGUID rguid) PURE; + STDMETHOD(GetForceFeedbackState)(THIS_ LPDWORD pdwOut) PURE; + STDMETHOD(SendForceFeedbackCommand)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumCreatedEffectObjects)(THIS_ LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl) PURE; + STDMETHOD(Escape)(THIS_ LPDIEFFESCAPE pesc) PURE; + STDMETHOD(Poll)(THIS) PURE; + STDMETHOD(SendDeviceData)(THIS_ DWORD cbObjectData, LPCDIDEVICEOBJECTDATA rgdod, LPDWORD pdwInOut, DWORD fl) PURE; + /*** IDirectInputDevice7W methods ***/ + STDMETHOD(EnumEffectsInFile)(THIS_ LPCWSTR lpszFileName,LPDIENUMEFFECTSINFILECALLBACK pec,LPVOID pvRef,DWORD dwFlags) PURE; + STDMETHOD(WriteEffectToFile)(THIS_ LPCWSTR lpszFileName,DWORD dwEntries,LPDIFILEEFFECT rgDiFileEft,DWORD dwFlags) PURE; + /*** IDirectInputDevice8W methods ***/ + STDMETHOD(BuildActionMap)(THIS_ LPDIACTIONFORMATW lpdiaf, LPCWSTR lpszUserName, DWORD dwFlags) PURE; + STDMETHOD(SetActionMap)(THIS_ LPDIACTIONFORMATW lpdiaf, LPCWSTR lpszUserName, DWORD dwFlags) PURE; + STDMETHOD(GetImageInfo)(THIS_ LPDIDEVICEIMAGEINFOHEADERW lpdiDevImageInfoHeader) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInputDevice8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInputDevice8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInputDevice8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice8_GetCapabilities(p,a) (p)->lpVtbl->GetCapabilities(p,a) +#define IDirectInputDevice8_EnumObjects(p,a,b,c) (p)->lpVtbl->EnumObjects(p,a,b,c) +#define IDirectInputDevice8_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b) +#define IDirectInputDevice8_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b) +#define IDirectInputDevice8_Acquire(p) (p)->lpVtbl->Acquire(p) +#define IDirectInputDevice8_Unacquire(p) (p)->lpVtbl->Unacquire(p) +#define IDirectInputDevice8_GetDeviceState(p,a,b) (p)->lpVtbl->GetDeviceState(p,a,b) +#define IDirectInputDevice8_GetDeviceData(p,a,b,c,d) (p)->lpVtbl->GetDeviceData(p,a,b,c,d) +#define IDirectInputDevice8_SetDataFormat(p,a) (p)->lpVtbl->SetDataFormat(p,a) +#define IDirectInputDevice8_SetEventNotification(p,a) (p)->lpVtbl->SetEventNotification(p,a) +#define IDirectInputDevice8_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectInputDevice8_GetObjectInfo(p,a,b,c) (p)->lpVtbl->GetObjectInfo(p,a,b,c) +#define IDirectInputDevice8_GetDeviceInfo(p,a) (p)->lpVtbl->GetDeviceInfo(p,a) +#define IDirectInputDevice8_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInputDevice8_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +/*** IDirectInputDevice2 methods ***/ +#define IDirectInputDevice8_CreateEffect(p,a,b,c,d) (p)->lpVtbl->CreateEffect(p,a,b,c,d) +#define IDirectInputDevice8_EnumEffects(p,a,b,c) (p)->lpVtbl->EnumEffects(p,a,b,c) +#define IDirectInputDevice8_GetEffectInfo(p,a,b) (p)->lpVtbl->GetEffectInfo(p,a,b) +#define IDirectInputDevice8_GetForceFeedbackState(p,a) (p)->lpVtbl->GetForceFeedbackState(p,a) +#define IDirectInputDevice8_SendForceFeedbackCommand(p,a) (p)->lpVtbl->SendForceFeedbackCommand(p,a) +#define IDirectInputDevice8_EnumCreatedEffectObjects(p,a,b,c) (p)->lpVtbl->EnumCreatedEffectObjects(p,a,b,c) +#define IDirectInputDevice8_Escape(p,a) (p)->lpVtbl->Escape(p,a) +#define IDirectInputDevice8_Poll(p) (p)->lpVtbl->Poll(p) +#define IDirectInputDevice8_SendDeviceData(p,a,b,c,d) (p)->lpVtbl->SendDeviceData(p,a,b,c,d) +/*** IDirectInputDevice7 methods ***/ +#define IDirectInputDevice8_EnumEffectsInFile(p,a,b,c,d) (p)->lpVtbl->EnumEffectsInFile(p,a,b,c,d) +#define IDirectInputDevice8_WriteEffectToFile(p,a,b,c,d) (p)->lpVtbl->WriteEffectToFile(p,a,b,c,d) +/*** IDirectInputDevice8 methods ***/ +#define IDirectInputDevice8_BuildActionMap(p,a,b,c) (p)->lpVtbl->BuildActionMap(p,a,b,c) +#define IDirectInputDevice8_SetActionMap(p,a,b,c) (p)->lpVtbl->SetActionMap(p,a,b,c) +#define IDirectInputDevice8_GetImageInfo(p,a) (p)->lpVtbl->GetImageInfo(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectInputDevice8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInputDevice8_AddRef(p) (p)->AddRef() +#define IDirectInputDevice8_Release(p) (p)->Release() +/*** IDirectInputDevice methods ***/ +#define IDirectInputDevice8_GetCapabilities(p,a) (p)->GetCapabilities(a) +#define IDirectInputDevice8_EnumObjects(p,a,b,c) (p)->EnumObjects(a,b,c) +#define IDirectInputDevice8_GetProperty(p,a,b) (p)->GetProperty(a,b) +#define IDirectInputDevice8_SetProperty(p,a,b) (p)->SetProperty(a,b) +#define IDirectInputDevice8_Acquire(p) (p)->Acquire() +#define IDirectInputDevice8_Unacquire(p) (p)->Unacquire() +#define IDirectInputDevice8_GetDeviceState(p,a,b) (p)->GetDeviceState(a,b) +#define IDirectInputDevice8_GetDeviceData(p,a,b,c,d) (p)->GetDeviceData(a,b,c,d) +#define IDirectInputDevice8_SetDataFormat(p,a) (p)->SetDataFormat(a) +#define IDirectInputDevice8_SetEventNotification(p,a) (p)->SetEventNotification(a) +#define IDirectInputDevice8_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectInputDevice8_GetObjectInfo(p,a,b,c) (p)->GetObjectInfo(a,b,c) +#define IDirectInputDevice8_GetDeviceInfo(p,a) (p)->GetDeviceInfo(a) +#define IDirectInputDevice8_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInputDevice8_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +/*** IDirectInputDevice2 methods ***/ +#define IDirectInputDevice8_CreateEffect(p,a,b,c,d) (p)->CreateEffect(a,b,c,d) +#define IDirectInputDevice8_EnumEffects(p,a,b,c) (p)->EnumEffects(a,b,c) +#define IDirectInputDevice8_GetEffectInfo(p,a,b) (p)->GetEffectInfo(a,b) +#define IDirectInputDevice8_GetForceFeedbackState(p,a) (p)->GetForceFeedbackState(a) +#define IDirectInputDevice8_SendForceFeedbackCommand(p,a) (p)->SendForceFeedbackCommand(a) +#define IDirectInputDevice8_EnumCreatedEffectObjects(p,a,b,c) (p)->EnumCreatedEffectObjects(a,b,c) +#define IDirectInputDevice8_Escape(p,a) (p)->Escape(a) +#define IDirectInputDevice8_Poll(p) (p)->Poll() +#define IDirectInputDevice8_SendDeviceData(p,a,b,c,d) (p)->SendDeviceData(a,b,c,d) +/*** IDirectInputDevice7 methods ***/ +#define IDirectInputDevice8_EnumEffectsInFile(p,a,b,c,d) (p)->EnumEffectsInFile(a,b,c,d) +#define IDirectInputDevice8_WriteEffectToFile(p,a,b,c,d) (p)->WriteEffectToFile(a,b,c,d) +/*** IDirectInputDevice8 methods ***/ +#define IDirectInputDevice8_BuildActionMap(p,a,b,c) (p)->BuildActionMap(a,b,c) +#define IDirectInputDevice8_SetActionMap(p,a,b,c) (p)->SetActionMap(a,b,c) +#define IDirectInputDevice8_GetImageInfo(p,a) (p)->GetImageInfo(a) +#endif + +/* "Standard" Mouse report... */ +typedef struct DIMOUSESTATE { + LONG lX; + LONG lY; + LONG lZ; + BYTE rgbButtons[4]; +} DIMOUSESTATE; + +/* "Standard" Mouse report for DInput 7... */ +typedef struct DIMOUSESTATE2 { + LONG lX; + LONG lY; + LONG lZ; + BYTE rgbButtons[8]; +} DIMOUSESTATE2; + +#define DIMOFS_X FIELD_OFFSET(DIMOUSESTATE, lX) +#define DIMOFS_Y FIELD_OFFSET(DIMOUSESTATE, lY) +#define DIMOFS_Z FIELD_OFFSET(DIMOUSESTATE, lZ) +#define DIMOFS_BUTTON0 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 0) +#define DIMOFS_BUTTON1 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 1) +#define DIMOFS_BUTTON2 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 2) +#define DIMOFS_BUTTON3 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 3) +#define DIMOFS_BUTTON4 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 4) +#define DIMOFS_BUTTON5 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 5) +#define DIMOFS_BUTTON6 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 6) +#define DIMOFS_BUTTON7 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 7) + +/* New DirectInput8 mouse definitions */ + +#define DIMOUSE_XAXISAB (0x82000200 | DIMOFS_X) +#define DIMOUSE_YAXISAB (0x82000200 | DIMOFS_Y) +#define DIMOUSE_XAXIS (0x82000300 | DIMOFS_X) +#define DIMOUSE_YAXIS (0x82000300 | DIMOFS_Y) +#define DIMOUSE_WHEEL (0x82000300 | DIMOFS_Z) +#define DIMOUSE_BUTTON0 (0x82000400 | DIMOFS_BUTTON0) +#define DIMOUSE_BUTTON1 (0x82000400 | DIMOFS_BUTTON1) +#define DIMOUSE_BUTTON2 (0x82000400 | DIMOFS_BUTTON2) +#define DIMOUSE_BUTTON3 (0x82000400 | DIMOFS_BUTTON3) +#define DIMOUSE_BUTTON4 (0x82000400 | DIMOFS_BUTTON4) +#define DIMOUSE_BUTTON5 (0x82000400 | DIMOFS_BUTTON5) +#define DIMOUSE_BUTTON6 (0x82000400 | DIMOFS_BUTTON6) +#define DIMOUSE_BUTTON7 (0x82000400 | DIMOFS_BUTTON7) + +#ifdef __cplusplus +extern "C" { +#endif +extern const DIDATAFORMAT c_dfDIMouse; +extern const DIDATAFORMAT c_dfDIMouse2; /* DX 7 */ +extern const DIDATAFORMAT c_dfDIKeyboard; +extern const DIDATAFORMAT c_dfDIJoystick; +extern const DIDATAFORMAT c_dfDIJoystick2; +#ifdef __cplusplus +}; +#endif + +#define DIAXIS_ANY_X_1 0xFF00C201 +#define DIAXIS_ANY_X_2 0xFF00C202 +#define DIAXIS_ANY_Y_1 0xFF014201 +#define DIAXIS_ANY_Y_2 0xFF014202 +#define DIAXIS_ANY_Z_1 0xFF01C201 +#define DIAXIS_ANY_Z_2 0xFF01C202 +#define DIAXIS_ANY_R_1 0xFF024201 +#define DIAXIS_ANY_R_2 0xFF024202 +#define DIAXIS_ANY_U_1 0xFF02C201 +#define DIAXIS_ANY_U_2 0xFF02C202 +#define DIAXIS_ANY_V_1 0xFF034201 +#define DIAXIS_ANY_V_2 0xFF034202 +#define DIAXIS_ANY_A_1 0xFF03C201 +#define DIAXIS_ANY_A_2 0xFF03C202 +#define DIAXIS_ANY_B_1 0xFF044201 +#define DIAXIS_ANY_B_2 0xFF044202 +#define DIAXIS_ANY_C_1 0xFF04C201 +#define DIAXIS_ANY_C_2 0xFF04C202 +#define DIAXIS_ANY_S_1 0xFF054201 +#define DIAXIS_ANY_S_2 0xFF054202 +#define DIAXIS_ANY_1 0xFF004201 +#define DIAXIS_ANY_2 0xFF004202 +#define DIAXIS_ANY_3 0xFF004203 +#define DIAXIS_ANY_4 0xFF004204 +#define DIPOV_ANY_1 0xFF004601 +#define DIPOV_ANY_2 0xFF004602 +#define DIPOV_ANY_3 0xFF004603 +#define DIPOV_ANY_4 0xFF004604 +#define DIBUTTON_ANY(instance) (0xFF004400 | (instance)) + + +/***************************************************************************** + * IDirectInputA interface + */ +#define INTERFACE IDirectInputA +DECLARE_INTERFACE_(IDirectInputA,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputA methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICEA *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInputW interface + */ +#define INTERFACE IDirectInputW +DECLARE_INTERFACE_(IDirectInputW,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputW methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICEW *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInput_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInput_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInput_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInput methods ***/ +#define IDirectInput_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirectInput_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d) +#define IDirectInput_GetDeviceStatus(p,a) (p)->lpVtbl->GetDeviceStatus(p,a) +#define IDirectInput_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInput_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectInput_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInput_AddRef(p) (p)->AddRef() +#define IDirectInput_Release(p) (p)->Release() +/*** IDirectInput methods ***/ +#define IDirectInput_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirectInput_EnumDevices(p,a,b,c,d) (p)->EnumDevices(a,b,c,d) +#define IDirectInput_GetDeviceStatus(p,a) (p)->GetDeviceStatus(a) +#define IDirectInput_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInput_Initialize(p,a,b) (p)->Initialize(a,b) +#endif + +/***************************************************************************** + * IDirectInput2A interface + */ +#define INTERFACE IDirectInput2A +DECLARE_INTERFACE_(IDirectInput2A,IDirectInputA) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputA methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICEA *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + /*** IDirectInput2A methods ***/ + STDMETHOD(FindDevice)(THIS_ REFGUID rguid, LPCSTR pszName, LPGUID pguidInstance) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInput2W interface + */ +#define INTERFACE IDirectInput2W +DECLARE_INTERFACE_(IDirectInput2W,IDirectInputW) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputW methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICEW *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + /*** IDirectInput2W methods ***/ + STDMETHOD(FindDevice)(THIS_ REFGUID rguid, LPCWSTR pszName, LPGUID pguidInstance) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInput2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInput2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInput2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInput methods ***/ +#define IDirectInput2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirectInput2_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d) +#define IDirectInput2_GetDeviceStatus(p,a) (p)->lpVtbl->GetDeviceStatus(p,a) +#define IDirectInput2_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInput2_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +/*** IDirectInput2 methods ***/ +#define IDirectInput2_FindDevice(p,a,b,c) (p)->lpVtbl->FindDevice(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectInput2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInput2_AddRef(p) (p)->AddRef() +#define IDirectInput2_Release(p) (p)->Release() +/*** IDirectInput methods ***/ +#define IDirectInput2_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirectInput2_EnumDevices(p,a,b,c,d) (p)->EnumDevices(a,b,c,d) +#define IDirectInput2_GetDeviceStatus(p,a) (p)->GetDeviceStatus(a) +#define IDirectInput2_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInput2_Initialize(p,a,b) (p)->Initialize(a,b) +/*** IDirectInput2 methods ***/ +#define IDirectInput2_FindDevice(p,a,b,c) (p)->FindDevice(a,b,c) +#endif + +/***************************************************************************** + * IDirectInput7A interface + */ +#define INTERFACE IDirectInput7A +DECLARE_INTERFACE_(IDirectInput7A,IDirectInput2A) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputA methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICEA *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + /*** IDirectInput2A methods ***/ + STDMETHOD(FindDevice)(THIS_ REFGUID rguid, LPCSTR pszName, LPGUID pguidInstance) PURE; + /*** IDirectInput7A methods ***/ + STDMETHOD(CreateDeviceEx)(THIS_ REFGUID rguid, REFIID riid, LPVOID *pvOut, LPUNKNOWN lpUnknownOuter) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInput7W interface + */ +#define INTERFACE IDirectInput7W +DECLARE_INTERFACE_(IDirectInput7W,IDirectInput2W) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputW methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICEW *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + /*** IDirectInput2W methods ***/ + STDMETHOD(FindDevice)(THIS_ REFGUID rguid, LPCWSTR pszName, LPGUID pguidInstance) PURE; + /*** IDirectInput7W methods ***/ + STDMETHOD(CreateDeviceEx)(THIS_ REFGUID rguid, REFIID riid, LPVOID *pvOut, LPUNKNOWN lpUnknownOuter) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInput7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInput7_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInput7_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInput methods ***/ +#define IDirectInput7_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirectInput7_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d) +#define IDirectInput7_GetDeviceStatus(p,a) (p)->lpVtbl->GetDeviceStatus(p,a) +#define IDirectInput7_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInput7_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +/*** IDirectInput2 methods ***/ +#define IDirectInput7_FindDevice(p,a,b,c) (p)->lpVtbl->FindDevice(p,a,b,c) +/*** IDirectInput7 methods ***/ +#define IDirectInput7_CreateDeviceEx(p,a,b,c,d) (p)->lpVtbl->CreateDeviceEx(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectInput7_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInput7_AddRef(p) (p)->AddRef() +#define IDirectInput7_Release(p) (p)->Release() +/*** IDirectInput methods ***/ +#define IDirectInput7_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirectInput7_EnumDevices(p,a,b,c,d) (p)->EnumDevices(a,b,c,d) +#define IDirectInput7_GetDeviceStatus(p,a) (p)->GetDeviceStatus(a) +#define IDirectInput7_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInput7_Initialize(p,a,b) (p)->Initialize(a,b) +/*** IDirectInput2 methods ***/ +#define IDirectInput7_FindDevice(p,a,b,c) (p)->FindDevice(a,b,c) +/*** IDirectInput7 methods ***/ +#define IDirectInput7_CreateDeviceEx(p,a,b,c,d) (p)->CreateDeviceEx(a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectInput8A interface + */ +#define INTERFACE IDirectInput8A +DECLARE_INTERFACE_(IDirectInput8A,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInput8A methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICE8A *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + STDMETHOD(FindDevice)(THIS_ REFGUID rguid, LPCSTR pszName, LPGUID pguidInstance) PURE; + STDMETHOD(EnumDevicesBySemantics)(THIS_ LPCSTR ptszUserName, LPDIACTIONFORMATA lpdiActionFormat, LPDIENUMDEVICESBYSEMANTICSCBA lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(ConfigureDevices)(THIS_ LPDICONFIGUREDEVICESCALLBACK lpdiCallback, LPDICONFIGUREDEVICESPARAMSA lpdiCDParams, DWORD dwFlags, LPVOID pvRefData) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectInput8W interface + */ +#define INTERFACE IDirectInput8W +DECLARE_INTERFACE_(IDirectInput8W,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInput8W methods ***/ + STDMETHOD(CreateDevice)(THIS_ REFGUID rguid, LPDIRECTINPUTDEVICE8W *lplpDirectInputDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumDevices)(THIS_ DWORD dwDevType, LPDIENUMDEVICESCALLBACKW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(GetDeviceStatus)(THIS_ REFGUID rguidInstance) PURE; + STDMETHOD(RunControlPanel)(THIS_ HWND hwndOwner, DWORD dwFlags) PURE; + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + STDMETHOD(FindDevice)(THIS_ REFGUID rguid, LPCWSTR pszName, LPGUID pguidInstance) PURE; + STDMETHOD(EnumDevicesBySemantics)(THIS_ LPCWSTR ptszUserName, LPDIACTIONFORMATW lpdiActionFormat, LPDIENUMDEVICESBYSEMANTICSCBW lpCallback, LPVOID pvRef, DWORD dwFlags) PURE; + STDMETHOD(ConfigureDevices)(THIS_ LPDICONFIGUREDEVICESCALLBACK lpdiCallback, LPDICONFIGUREDEVICESPARAMSW lpdiCDParams, DWORD dwFlags, LPVOID pvRefData) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInput8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInput8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInput8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInput8 methods ***/ +#define IDirectInput8_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c) +#define IDirectInput8_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d) +#define IDirectInput8_GetDeviceStatus(p,a) (p)->lpVtbl->GetDeviceStatus(p,a) +#define IDirectInput8_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b) +#define IDirectInput8_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectInput8_FindDevice(p,a,b,c) (p)->lpVtbl->FindDevice(p,a,b,c) +#define IDirectInput8_EnumDevicesBySemantics(p,a,b,c,d,e) (p)->lpVtbl->EnumDevicesBySemantics(p,a,b,c,d,e) +#define IDirectInput8_ConfigureDevices(p,a,b,c,d) (p)->lpVtbl->ConfigureDevices(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectInput8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInput8_AddRef(p) (p)->AddRef() +#define IDirectInput8_Release(p) (p)->Release() +/*** IDirectInput8 methods ***/ +#define IDirectInput8_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c) +#define IDirectInput8_EnumDevices(p,a,b,c,d) (p)->EnumDevices(a,b,c,d) +#define IDirectInput8_GetDeviceStatus(p,a) (p)->GetDeviceStatus(a) +#define IDirectInput8_RunControlPanel(p,a,b) (p)->RunControlPanel(a,b) +#define IDirectInput8_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectInput8_FindDevice(p,a,b,c) (p)->FindDevice(a,b,c) +#define IDirectInput8_EnumDevicesBySemantics(p,a,b,c,d,e) (p)->EnumDevicesBySemantics(a,b,c,d,e) +#define IDirectInput8_ConfigureDevices(p,a,b,c,d) (p)->ConfigureDevices(a,b,c,d) +#endif + + +/* Export functions */ + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI DirectInput8Create(HINSTANCE,DWORD,REFIID,LPVOID *,LPUNKNOWN); + +HRESULT WINAPI DirectInputCreateA(HINSTANCE,DWORD,LPDIRECTINPUTA *,LPUNKNOWN); +HRESULT WINAPI DirectInputCreateW(HINSTANCE,DWORD,LPDIRECTINPUTW *,LPUNKNOWN); +#define DirectInputCreate WINELIB_NAME_AW(DirectInputCreate) + +HRESULT WINAPI DirectInputCreateEx(HINSTANCE,DWORD,REFIID,LPVOID *,LPUNKNOWN); + +#ifdef __cplusplus +}; +#endif + +#endif /* __DINPUT_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dinputd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dinputd.h new file mode 100644 index 0000000..9c3b435 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dinputd.h @@ -0,0 +1,245 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DINPUTD_INCLUDED__ +#define __DINPUTD_INCLUDED__ + +#define COM_NO_WINDOWS_H +#include + +#ifndef DIRECTINPUT_VERSION +#define DIRECTINPUT_VERSION 0x0800 +#endif + +DEFINE_GUID(IID_IDirectInputJoyConfig8, 0xEB0D7DFA,0x1990,0x4F27,0xB4,0xD6,0xED,0xF2,0xEE,0xC4,0xA4,0x4C); + +typedef struct IDirectInputJoyConfig8 *LPDIRECTINPUTJOYCONFIG8; + + +typedef BOOL (CALLBACK *LPDIJOYTYPECALLBACK)(LPCWSTR, LPVOID); + +#define MAX_JOYSTRING 256 +#ifndef MAX_JOYSTICKOEMVXDNAME +#define MAX_JOYSTICKOEMVXDNAME 260 +#endif + +#define JOY_POV_NUMDIRS 4 +#define JOY_POVVAL_FORWARD 0 +#define JOY_POVVAL_BACKWARD 1 +#define JOY_POVVAL_LEFT 2 +#define JOY_POVVAL_RIGHT 3 + +#define DIERR_NOMOREITEMS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NO_MORE_ITEMS) + +typedef struct joypos_tag +{ + DWORD dwX; + DWORD dwY; + DWORD dwZ; + DWORD dwR; + DWORD dwU; + DWORD dwV; +} JOYPOS, *LPJOYPOS; + +typedef struct joyrange_tag +{ + JOYPOS jpMin; + JOYPOS jpMax; + JOYPOS jpCenter; +} JOYRANGE, *LPJOYRANGE; + +typedef struct joyreguservalues_tag +{ + DWORD dwTimeOut; + JOYRANGE jrvRanges; + JOYPOS jpDeadZone; +} JOYREGUSERVALUES, *LPJOYREGUSERVALUES; + +typedef struct joyreghwsettings_tag +{ + DWORD dwFlags; + DWORD dwNumButtons; +} JOYREGHWSETTINGS, *LPJOYHWSETTINGS; + +typedef struct joyreghwvalues_tag +{ + JOYRANGE jrvHardware; + DWORD dwPOVValues[JOY_POV_NUMDIRS]; + DWORD dwCalFlags; +} JOYREGHWVALUES, *LPJOYREGHWVALUES; + +typedef struct joyreghwconfig_tag +{ + JOYREGHWSETTINGS hws; + DWORD dwUsageSettings; + JOYREGHWVALUES hwv; + DWORD dwType; + DWORD dwReserved; +} JOYREGHWCONFIG, *LPJOYREGHWCONFIG; + +typedef struct DIJOYTYPEINFO_DX5 +{ + DWORD dwSize; + JOYREGHWSETTINGS hws; + CLSID clsidConfig; + WCHAR wszDisplayName[MAX_JOYSTRING]; + WCHAR wszCallout[MAX_JOYSTICKOEMVXDNAME]; +} DIJOYTYPEINFO_DX5, *LPDIJOYTYPEINFO_DX5; +typedef const DIJOYTYPEINFO_DX5 *LPCDIJOYTYPEINFO_DX5; + +typedef struct DIJOYTYPEINFO_DX6 +{ + DWORD dwSize; + JOYREGHWSETTINGS hws; + CLSID clsidConfig; + WCHAR wszDisplayName[MAX_JOYSTRING]; + WCHAR wszCallout[MAX_JOYSTICKOEMVXDNAME]; + WCHAR wszHardwareId[MAX_JOYSTRING]; + DWORD dwFlags1; +} DIJOYTYPEINFO_DX6, *LPDIJOYTYPEINFO_DX6; +typedef const DIJOYTYPEINFO_DX6 *LPCDIJOYTYPEINFO_DX6; + +typedef struct DIJOYTYPEINFO +{ + DWORD dwSize; + JOYREGHWSETTINGS hws; + CLSID clsidConfig; + WCHAR wszDisplayName[MAX_JOYSTRING]; + WCHAR wszCallout[MAX_JOYSTICKOEMVXDNAME]; + WCHAR wszHardwareId[MAX_JOYSTRING]; + DWORD dwFlags1; + DWORD dwFlags2; + WCHAR wszMapFile[MAX_JOYSTRING]; +} DIJOYTYPEINFO, *LPDIJOYTYPEINFO; +typedef const DIJOYTYPEINFO *LPCDIJOYTYPEINFO; +#define DIJC_GUIDINSTANCE 0x00000001 +#define DIJC_REGHWCONFIGTYPE 0x00000002 +#define DIJC_GAIN 0x00000004 +#define DIJC_CALLOUT 0x00000008 +#define DIJC_WDMGAMEPORT 0x00000010 + +typedef struct DIJOYCONFIG_DX5 +{ + DWORD dwSize; + GUID guidInstance; + JOYREGHWCONFIG hwc; + DWORD dwGain; + WCHAR wszType[MAX_JOYSTRING]; + WCHAR wszCallout[MAX_JOYSTRING]; +} DIJOYCONFIG_DX5, *LPDIJOYCONFIG_DX5; +typedef const DIJOYCONFIG_DX5 *LPCDIJOYCONFIG_DX5; + +typedef struct DIJOYCONFIG +{ + DWORD dwSize; + GUID guidInstance; + JOYREGHWCONFIG hwc; + DWORD dwGain; + WCHAR wszType[MAX_JOYSTRING]; + WCHAR wszCallout[MAX_JOYSTRING]; + GUID guidGameport; +} DIJOYCONFIG, *LPDIJOYCONFIG; +typedef const DIJOYCONFIG *LPCDIJOYCONFIG; + +typedef struct DIJOYUSERVALUES +{ + DWORD dwSize; + JOYREGUSERVALUES ruv; + WCHAR wszGlobalDriver[MAX_JOYSTRING]; + WCHAR wszGameportEmulator[MAX_JOYSTRING]; +} DIJOYUSERVALUES, *LPDIJOYUSERVALUES; +typedef const DIJOYUSERVALUES *LPCDIJOYUSERVALUES; + + +/***************************************************************************** + * IDirectInputJoyConfig8 interface + */ +#define INTERFACE IDirectInputJoyConfig8 +DECLARE_INTERFACE_(IDirectInputJoyConfig8, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectInputJoyConfig8 methods ***/ + STDMETHOD(Acquire)(THIS) PURE; + STDMETHOD(Unacquire)(THIS) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND, DWORD) PURE; + STDMETHOD(SendNotify)(THIS) PURE; + STDMETHOD(EnumTypes)(THIS_ LPDIJOYTYPECALLBACK, LPVOID) PURE; + STDMETHOD(GetTypeInfo)(THIS_ LPCWSTR, LPDIJOYTYPEINFO, DWORD) PURE; + STDMETHOD(SetTypeInfo)(THIS_ LPCWSTR, LPCDIJOYTYPEINFO, DWORD, LPWSTR) PURE; + STDMETHOD(DeleteType)(THIS_ LPCWSTR) PURE; + STDMETHOD(GetConfig)(THIS_ UINT, LPDIJOYCONFIG, DWORD) PURE; + STDMETHOD(SetConfig)(THIS_ UINT, LPCDIJOYCONFIG, DWORD) PURE; + STDMETHOD(DeleteConfig)(THIS_ UINT) PURE; + STDMETHOD(GetUserValues)(THIS_ LPDIJOYUSERVALUES, DWORD) PURE; + STDMETHOD(SetUserValues)(THIS_ LPCDIJOYUSERVALUES, DWORD) PURE; + STDMETHOD(AddNewHardware)(THIS_ HWND, REFGUID) PURE; + STDMETHOD(OpenTypeKey)(THIS_ LPCWSTR, DWORD, PHKEY) PURE; + STDMETHOD(OpenAppStatusKey)(THIS_ PHKEY) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectInputJoyConfig8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectInputJoyConfig8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectInputJoyConfig8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectInputJoyConfig8 methods ***/ +#define IDirectInputJoyConfig8_Acquire(p) (p)->lpVtbl->Acquire(p) +#define IDirectInputJoyConfig8_Unacquire(p) (p)->lpVtbl->Unacquire(p) +#define IDirectInputJoyConfig8_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectInputJoyConfig8_SendNotify(p) (p)->lpVtbl->SendNotify(p) +#define IDirectInputJoyConfig8_EnumTypes(p,a,b) (p)->lpVtbl->EnumTypes(p,a,b) +#define IDirectInputJoyConfig8_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c) +#define IDirectInputJoyConfig8_SetTypeInfo(p,a,b,c,d) (p)->lpVtbl->SetTypeInfo(p,a,b,c,d) +#define IDirectInputJoyConfig8_DeleteType(p,a) (p)->lpVtbl->DeleteType(p,a) +#define IDirectInputJoyConfig8_GetConfig(p,a,b,c) (p)->lpVtbl->GetConfig(p,a,b,c) +#define IDirectInputJoyConfig8_SetConfig(p,a,b,c) (p)->lpVtbl->SetConfig(p,a,b,c) +#define IDirectInputJoyConfig8_DeleteConfig(p,a) (p)->lpVtbl->DeleteConfig(p,a) +#define IDirectInputJoyConfig8_GetUserValues(p,a,b) (p)->lpVtbl->GetUserValues(p,a,b) +#define IDirectInputJoyConfig8_SetUserValues(p,a,b) (p)->lpVtbl->SetUserValues(p,a,b) +#define IDirectInputJoyConfig8_AddNewHardware(p,a,b) (p)->lpVtbl->AddNewHardware(p,a,b) +#define IDirectInputJoyConfig8_OpenTypeKey(p,a,b,c) (p)->lpVtbl->OpenTypeKey(p,a,b,c) +#define IDirectInputJoyConfig8_OpenAppStatusKey(p,a) (p)->lpVtbl->OpenAppStatusKey(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectInputJoyConfig8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectInputJoyConfig8_AddRef(p) (p)->AddRef() +#define IDirectInputJoyConfig8_Release(p) (p)->Release() +/*** IDirectInputJoyConfig8 methods ***/ +#define IDirectInputJoyConfig8_Acquire(p) (p)->Acquire() +#define IDirectInputJoyConfig8_Unacquire(p) (p)->Unacquire() +#define IDirectInputJoyConfig8_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectInputJoyConfig8_SendNotify(p) (p)->SendNotify() +#define IDirectInputJoyConfig8_EnumTypes(p,a,b) (p)->EnumTypes(a,b) +#define IDirectInputJoyConfig8_GetTypeInfo(p,a,b,c) (p)->GetTypeInfo(a,b,c) +#define IDirectInputJoyConfig8_SetTypeInfo(p,a,b,c,d) (p)->SetTypeInfo(a,b,c,d) +#define IDirectInputJoyConfig8_DeleteType(p,a) (p)->DeleteType(a) +#define IDirectInputJoyConfig8_GetConfig(p,a,b,c) (p)->GetConfig(a,b,c) +#define IDirectInputJoyConfig8_SetConfig(p,a,b,c) (p)->SetConfig(a,b,c) +#define IDirectInputJoyConfig8_DeleteConfig(p,a) (p)->DeleteConfig(a) +#define IDirectInputJoyConfig8_GetUserValues(p,a,b) (p)->GetUserValues(a,b) +#define IDirectInputJoyConfig8_SetUserValues(p,a,b) (p)->SetUserValues(a,b) +#define IDirectInputJoyConfig8_AddNewHardware(p,a,b) (p)->AddNewHardware(a,b) +#define IDirectInputJoyConfig8_OpenTypeKey(p,a,b,c) (p)->OpenTypeKey(a,b,c) +#define IDirectInputJoyConfig8_OpenAppStatusKey(p,a) (p)->OpenAppStatusKey(a) +#endif + +#endif /* __DINPUTD_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispdib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispdib.h new file mode 100644 index 0000000..a378dae --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispdib.h @@ -0,0 +1,44 @@ +/* + * DISPDIB.dll + * + * Copyright 1998 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DISPDIB_H +#define __WINE_DISPDIB_H + +/* error codes */ +#define DISPLAYDIB_NOERROR 0x0000 +#define DISPLAYDIB_NOTSUPPORTED 0x0001 +#define DISPLAYDIB_INVALIDDIB 0x0002 +#define DISPLAYDIB_INVALIDFORMAT 0x0003 +#define DISPLAYDIB_INVALIDTASK 0x0004 + +/* flags */ +#define DISPLAYDIB_NOPALETTE 0x0010 +#define DISPLAYDIB_NOCENTER 0x0020 +#define DISPLAYDIB_NOWAIT 0x0040 +#define DISPLAYDIB_BEGIN 0x8000 +#define DISPLAYDIB_END 0x4000 +#define DISPLAYDIB_MODE 0x000F /* mask */ +#define DISPLAYDIB_MODE_DEFAULT 0x0000 +#define DISPLAYDIB_MODE_320x200x8 0x0001 +#define DISPLAYDIB_MODE_320x240x8 0x0005 + +WORD WINAPI DisplayDib( LPBITMAPINFO lpbi, LPSTR lpBits, WORD wFlags ); + +#endif /* __WINE_DISPDIB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispex.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispex.h new file mode 100644 index 0000000..0bc3455 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispex.h @@ -0,0 +1,855 @@ +/*** Autogenerated by WIDL 2.18 from dispex.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dispex_h__ +#define __dispex_h__ + +/* Forward declarations */ + +#ifndef __IDispatchEx_FWD_DEFINED__ +#define __IDispatchEx_FWD_DEFINED__ +typedef interface IDispatchEx IDispatchEx; +#ifdef __cplusplus +interface IDispatchEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IDispError_FWD_DEFINED__ +#define __IDispError_FWD_DEFINED__ +typedef interface IDispError IDispError; +#ifdef __cplusplus +interface IDispError; +#endif /* __cplusplus */ +#endif + +#ifndef __IVariantChangeType_FWD_DEFINED__ +#define __IVariantChangeType_FWD_DEFINED__ +typedef interface IVariantChangeType IVariantChangeType; +#ifdef __cplusplus +interface IVariantChangeType; +#endif /* __cplusplus */ +#endif + +#ifndef __IObjectIdentity_FWD_DEFINED__ +#define __IObjectIdentity_FWD_DEFINED__ +typedef interface IObjectIdentity IObjectIdentity; +#ifdef __cplusplus +interface IObjectIdentity; +#endif /* __cplusplus */ +#endif + +#ifndef __ICanHandleException_FWD_DEFINED__ +#define __ICanHandleException_FWD_DEFINED__ +typedef interface ICanHandleException ICanHandleException; +#ifdef __cplusplus +interface ICanHandleException; +#endif /* __cplusplus */ +#endif + +#ifndef __IProvideRuntimeContext_FWD_DEFINED__ +#define __IProvideRuntimeContext_FWD_DEFINED__ +typedef interface IProvideRuntimeContext IProvideRuntimeContext; +#ifdef __cplusplus +interface IProvideRuntimeContext; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DEFINE_GUID(SID_VariantConversion, 0x1f101481,0xbccd,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9); +DEFINE_GUID(SID_GetCaller, 0x4717cc40,0xbcb9,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9); +#define fdexNameCaseSensitive 0x00000001L +#define fdexNameEnsure 0x00000002L +#define fdexNameImplicit 0x00000004L +#define fdexNameCaseInsensitive 0x00000008L +#define fdexNameInternal 0x00000010L +#define fdexNameNoDynamicProperties 0x00000020L +#define fdexPropCanGet 0x00000001L +#define fdexPropCannotGet 0x00000002L +#define fdexPropCanPut 0x00000004L +#define fdexPropCannotPut 0x00000008L +#define fdexPropCanPutRef 0x00000010L +#define fdexPropCannotPutRef 0x00000020L +#define fdexPropNoSideEffects 0x00000040L +#define fdexPropDynamicType 0x00000080L +#define fdexPropCanCall 0x00000100L +#define fdexPropCannotCall 0x00000200L +#define fdexPropCanConstruct 0x00000400L +#define fdexPropCannotConstruct 0x00000800L +#define fdexPropCanSourceEvents 0x00001000L +#define fdexPropCannotSourceEvents 0x00002000L +#define fdexEnumDefault 0x00000001L +#define fdexEnumAll 0x00000002L +#define grfdexPropCanAll \ + (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \ + fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents) +#define grfdexPropCannotAll \ + (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \ + fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents) +#define grfdexPropExtraAll \ + (fdexPropNoSideEffects | fdexPropDynamicType) +#define grfdexPropAll \ + (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll) +#define DISPATCH_CONSTRUCT 0x4000 +#define DISPID_THIS (-613) +#define DISPID_STARTENUM DISPID_UNKNOWN +/***************************************************************************** + * IDispatchEx interface + */ +#ifndef __IDispatchEx_INTERFACE_DEFINED__ +#define __IDispatchEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6ef9860-c720-11d0-9337-00a0c90dcaa9") +IDispatchEx : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetDispID( + BSTR bstrName, + DWORD grfdex, + DISPID *pid) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeEx( + DISPID id, + LCID lcid, + WORD wFlags, + DISPPARAMS *pdp, + VARIANT *pvarRes, + EXCEPINFO *pei, + IServiceProvider *pspCaller) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteMemberByName( + BSTR bstrName, + DWORD grfdex) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteMemberByDispID( + DISPID id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMemberProperties( + DISPID id, + DWORD grfdexFetch, + DWORD *pgrfdex) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMemberName( + DISPID id, + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextDispID( + DWORD grfdex, + DISPID id, + DISPID *pid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNameSpaceParent( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IDispatchExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDispatchEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDispatchEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDispatchEx *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDispatchEx *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDispatchEx *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDispatchEx *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDispatchEx *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDispatchEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDispID)( + IDispatchEx *This, + BSTR bstrName, + DWORD grfdex, + DISPID *pid); + + HRESULT (STDMETHODCALLTYPE *InvokeEx)( + IDispatchEx *This, + DISPID id, + LCID lcid, + WORD wFlags, + DISPPARAMS *pdp, + VARIANT *pvarRes, + EXCEPINFO *pei, + IServiceProvider *pspCaller); + + HRESULT (STDMETHODCALLTYPE *DeleteMemberByName)( + IDispatchEx *This, + BSTR bstrName, + DWORD grfdex); + + HRESULT (STDMETHODCALLTYPE *DeleteMemberByDispID)( + IDispatchEx *This, + DISPID id); + + HRESULT (STDMETHODCALLTYPE *GetMemberProperties)( + IDispatchEx *This, + DISPID id, + DWORD grfdexFetch, + DWORD *pgrfdex); + + HRESULT (STDMETHODCALLTYPE *GetMemberName)( + IDispatchEx *This, + DISPID id, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetNextDispID)( + IDispatchEx *This, + DWORD grfdex, + DISPID id, + DISPID *pid); + + HRESULT (STDMETHODCALLTYPE *GetNameSpaceParent)( + IDispatchEx *This, + IUnknown **ppunk); + + END_INTERFACE +} IDispatchExVtbl; + +interface IDispatchEx { + CONST_VTBL IDispatchExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDispatchEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDispatchEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDispatchEx_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDispatchEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDispatchEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDispatchEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDispatchEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDispatchEx methods ***/ +#define IDispatchEx_GetDispID(This,bstrName,grfdex,pid) (This)->lpVtbl->GetDispID(This,bstrName,grfdex,pid) +#define IDispatchEx_InvokeEx(This,id,lcid,wFlags,pdp,pvarRes,pei,pspCaller) (This)->lpVtbl->InvokeEx(This,id,lcid,wFlags,pdp,pvarRes,pei,pspCaller) +#define IDispatchEx_DeleteMemberByName(This,bstrName,grfdex) (This)->lpVtbl->DeleteMemberByName(This,bstrName,grfdex) +#define IDispatchEx_DeleteMemberByDispID(This,id) (This)->lpVtbl->DeleteMemberByDispID(This,id) +#define IDispatchEx_GetMemberProperties(This,id,grfdexFetch,pgrfdex) (This)->lpVtbl->GetMemberProperties(This,id,grfdexFetch,pgrfdex) +#define IDispatchEx_GetMemberName(This,id,pbstrName) (This)->lpVtbl->GetMemberName(This,id,pbstrName) +#define IDispatchEx_GetNextDispID(This,grfdex,id,pid) (This)->lpVtbl->GetNextDispID(This,grfdex,id,pid) +#define IDispatchEx_GetNameSpaceParent(This,ppunk) (This)->lpVtbl->GetNameSpaceParent(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDispatchEx_QueryInterface(IDispatchEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDispatchEx_AddRef(IDispatchEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDispatchEx_Release(IDispatchEx* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDispatchEx_GetTypeInfoCount(IDispatchEx* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDispatchEx_GetTypeInfo(IDispatchEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDispatchEx_GetIDsOfNames(IDispatchEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDispatchEx_Invoke(IDispatchEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDispatchEx methods ***/ +static FORCEINLINE HRESULT IDispatchEx_GetDispID(IDispatchEx* This,BSTR bstrName,DWORD grfdex,DISPID *pid) { + return This->lpVtbl->GetDispID(This,bstrName,grfdex,pid); +} +static FORCEINLINE HRESULT IDispatchEx_InvokeEx(IDispatchEx* This,DISPID id,LCID lcid,WORD wFlags,DISPPARAMS *pdp,VARIANT *pvarRes,EXCEPINFO *pei,IServiceProvider *pspCaller) { + return This->lpVtbl->InvokeEx(This,id,lcid,wFlags,pdp,pvarRes,pei,pspCaller); +} +static FORCEINLINE HRESULT IDispatchEx_DeleteMemberByName(IDispatchEx* This,BSTR bstrName,DWORD grfdex) { + return This->lpVtbl->DeleteMemberByName(This,bstrName,grfdex); +} +static FORCEINLINE HRESULT IDispatchEx_DeleteMemberByDispID(IDispatchEx* This,DISPID id) { + return This->lpVtbl->DeleteMemberByDispID(This,id); +} +static FORCEINLINE HRESULT IDispatchEx_GetMemberProperties(IDispatchEx* This,DISPID id,DWORD grfdexFetch,DWORD *pgrfdex) { + return This->lpVtbl->GetMemberProperties(This,id,grfdexFetch,pgrfdex); +} +static FORCEINLINE HRESULT IDispatchEx_GetMemberName(IDispatchEx* This,DISPID id,BSTR *pbstrName) { + return This->lpVtbl->GetMemberName(This,id,pbstrName); +} +static FORCEINLINE HRESULT IDispatchEx_GetNextDispID(IDispatchEx* This,DWORD grfdex,DISPID id,DISPID *pid) { + return This->lpVtbl->GetNextDispID(This,grfdex,id,pid); +} +static FORCEINLINE HRESULT IDispatchEx_GetNameSpaceParent(IDispatchEx* This,IUnknown **ppunk) { + return This->lpVtbl->GetNameSpaceParent(This,ppunk); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDispatchEx_RemoteInvokeEx_Proxy( + IDispatchEx* This, + DISPID id, + LCID lcid, + DWORD dwFlags, + DISPPARAMS *pdp, + VARIANT *pvarRes, + EXCEPINFO *pei, + IServiceProvider *pspCaller, + UINT cvarRefArg, + UINT *rgiRefArg, + VARIANT *rgvarRefArg); +void __RPC_STUB IDispatchEx_RemoteInvokeEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDispatchEx_InvokeEx_Proxy( + IDispatchEx* This, + DISPID id, + LCID lcid, + WORD wFlags, + DISPPARAMS *pdp, + VARIANT *pvarRes, + EXCEPINFO *pei, + IServiceProvider *pspCaller); +HRESULT __RPC_STUB IDispatchEx_InvokeEx_Stub( + IDispatchEx* This, + DISPID id, + LCID lcid, + DWORD dwFlags, + DISPPARAMS *pdp, + VARIANT *pvarRes, + EXCEPINFO *pei, + IServiceProvider *pspCaller, + UINT cvarRefArg, + UINT *rgiRefArg, + VARIANT *rgvarRefArg); + +#endif /* __IDispatchEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDispError interface + */ +#ifndef __IDispError_INTERFACE_DEFINED__ +#define __IDispError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6ef9861-c720-11d0-9337-00a0c90dcaa9") +IDispError : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryErrorInfo( + GUID guidErrorType, + IDispError **ppde) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNext( + IDispError **ppde) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHresult( + HRESULT *phr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSource( + BSTR *pbstrSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHelpInfo( + BSTR *pbstrFileName, + DWORD *pdwContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *pbstrDescription) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IDispErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDispError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDispError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDispError *This); + + /*** IDispError methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryErrorInfo)( + IDispError *This, + GUID guidErrorType, + IDispError **ppde); + + HRESULT (STDMETHODCALLTYPE *GetNext)( + IDispError *This, + IDispError **ppde); + + HRESULT (STDMETHODCALLTYPE *GetHresult)( + IDispError *This, + HRESULT *phr); + + HRESULT (STDMETHODCALLTYPE *GetSource)( + IDispError *This, + BSTR *pbstrSource); + + HRESULT (STDMETHODCALLTYPE *GetHelpInfo)( + IDispError *This, + BSTR *pbstrFileName, + DWORD *pdwContext); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IDispError *This, + BSTR *pbstrDescription); + + END_INTERFACE +} IDispErrorVtbl; + +interface IDispError { + CONST_VTBL IDispErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDispError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDispError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDispError_Release(This) (This)->lpVtbl->Release(This) +/*** IDispError methods ***/ +#define IDispError_QueryErrorInfo(This,guidErrorType,ppde) (This)->lpVtbl->QueryErrorInfo(This,guidErrorType,ppde) +#define IDispError_GetNext(This,ppde) (This)->lpVtbl->GetNext(This,ppde) +#define IDispError_GetHresult(This,phr) (This)->lpVtbl->GetHresult(This,phr) +#define IDispError_GetSource(This,pbstrSource) (This)->lpVtbl->GetSource(This,pbstrSource) +#define IDispError_GetHelpInfo(This,pbstrFileName,pdwContext) (This)->lpVtbl->GetHelpInfo(This,pbstrFileName,pdwContext) +#define IDispError_GetDescription(This,pbstrDescription) (This)->lpVtbl->GetDescription(This,pbstrDescription) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDispError_QueryInterface(IDispError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDispError_AddRef(IDispError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDispError_Release(IDispError* This) { + return This->lpVtbl->Release(This); +} +/*** IDispError methods ***/ +static FORCEINLINE HRESULT IDispError_QueryErrorInfo(IDispError* This,GUID guidErrorType,IDispError **ppde) { + return This->lpVtbl->QueryErrorInfo(This,guidErrorType,ppde); +} +static FORCEINLINE HRESULT IDispError_GetNext(IDispError* This,IDispError **ppde) { + return This->lpVtbl->GetNext(This,ppde); +} +static FORCEINLINE HRESULT IDispError_GetHresult(IDispError* This,HRESULT *phr) { + return This->lpVtbl->GetHresult(This,phr); +} +static FORCEINLINE HRESULT IDispError_GetSource(IDispError* This,BSTR *pbstrSource) { + return This->lpVtbl->GetSource(This,pbstrSource); +} +static FORCEINLINE HRESULT IDispError_GetHelpInfo(IDispError* This,BSTR *pbstrFileName,DWORD *pdwContext) { + return This->lpVtbl->GetHelpInfo(This,pbstrFileName,pdwContext); +} +static FORCEINLINE HRESULT IDispError_GetDescription(IDispError* This,BSTR *pbstrDescription) { + return This->lpVtbl->GetDescription(This,pbstrDescription); +} +#endif +#endif + +#endif + + +#endif /* __IDispError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVariantChangeType interface + */ +#ifndef __IVariantChangeType_INTERFACE_DEFINED__ +#define __IVariantChangeType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6ef9862-c720-11d0-9337-00a0c90dcaa9") +IVariantChangeType : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ChangeType( + VARIANT *pvarDst, + VARIANT *pvarSrc, + LCID lcid, + VARTYPE vtNew) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) +#endif +#else +typedef struct IVariantChangeTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVariantChangeType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVariantChangeType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVariantChangeType *This); + + /*** IVariantChangeType methods ***/ + HRESULT (STDMETHODCALLTYPE *ChangeType)( + IVariantChangeType *This, + VARIANT *pvarDst, + VARIANT *pvarSrc, + LCID lcid, + VARTYPE vtNew); + + END_INTERFACE +} IVariantChangeTypeVtbl; + +interface IVariantChangeType { + CONST_VTBL IVariantChangeTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVariantChangeType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVariantChangeType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVariantChangeType_Release(This) (This)->lpVtbl->Release(This) +/*** IVariantChangeType methods ***/ +#define IVariantChangeType_ChangeType(This,pvarDst,pvarSrc,lcid,vtNew) (This)->lpVtbl->ChangeType(This,pvarDst,pvarSrc,lcid,vtNew) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVariantChangeType_QueryInterface(IVariantChangeType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVariantChangeType_AddRef(IVariantChangeType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVariantChangeType_Release(IVariantChangeType* This) { + return This->lpVtbl->Release(This); +} +/*** IVariantChangeType methods ***/ +static FORCEINLINE HRESULT IVariantChangeType_ChangeType(IVariantChangeType* This,VARIANT *pvarDst,VARIANT *pvarSrc,LCID lcid,VARTYPE vtNew) { + return This->lpVtbl->ChangeType(This,pvarDst,pvarSrc,lcid,vtNew); +} +#endif +#endif + +#endif + + +#endif /* __IVariantChangeType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IObjectIdentity interface + */ +#ifndef __IObjectIdentity_INTERFACE_DEFINED__ +#define __IObjectIdentity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0x0d21, 0x11d1, 0x8c,0xc5, 0x00,0xc0,0x4f,0xc2,0xb0,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ca04b7e6-0d21-11d1-8cc5-00c04fc2b085") +IObjectIdentity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsEqualObject( + IUnknown *punk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjectIdentity, 0xca04b7e6, 0x0d21, 0x11d1, 0x8c,0xc5, 0x00,0xc0,0x4f,0xc2,0xb0,0x85) +#endif +#else +typedef struct IObjectIdentityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjectIdentity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjectIdentity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjectIdentity *This); + + /*** IObjectIdentity methods ***/ + HRESULT (STDMETHODCALLTYPE *IsEqualObject)( + IObjectIdentity *This, + IUnknown *punk); + + END_INTERFACE +} IObjectIdentityVtbl; + +interface IObjectIdentity { + CONST_VTBL IObjectIdentityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjectIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjectIdentity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjectIdentity_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectIdentity methods ***/ +#define IObjectIdentity_IsEqualObject(This,punk) (This)->lpVtbl->IsEqualObject(This,punk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjectIdentity_QueryInterface(IObjectIdentity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjectIdentity_AddRef(IObjectIdentity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjectIdentity_Release(IObjectIdentity* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectIdentity methods ***/ +static FORCEINLINE HRESULT IObjectIdentity_IsEqualObject(IObjectIdentity* This,IUnknown *punk) { + return This->lpVtbl->IsEqualObject(This,punk); +} +#endif +#endif + +#endif + + +#endif /* __IObjectIdentity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICanHandleException interface + */ +#ifndef __ICanHandleException_INTERFACE_DEFINED__ +#define __ICanHandleException_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2,0x7d, 0x00,0x60,0x08,0xc3,0xfb,0xfb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c5598e60-b307-11d1-b27d-006008c3fbfb") +ICanHandleException : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CanHandleException( + EXCEPINFO *pExcepInfo, + VARIANT *pvar) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2,0x7d, 0x00,0x60,0x08,0xc3,0xfb,0xfb) +#endif +#else +typedef struct ICanHandleExceptionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICanHandleException *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICanHandleException *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICanHandleException *This); + + /*** ICanHandleException methods ***/ + HRESULT (STDMETHODCALLTYPE *CanHandleException)( + ICanHandleException *This, + EXCEPINFO *pExcepInfo, + VARIANT *pvar); + + END_INTERFACE +} ICanHandleExceptionVtbl; + +interface ICanHandleException { + CONST_VTBL ICanHandleExceptionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICanHandleException_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICanHandleException_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICanHandleException_Release(This) (This)->lpVtbl->Release(This) +/*** ICanHandleException methods ***/ +#define ICanHandleException_CanHandleException(This,pExcepInfo,pvar) (This)->lpVtbl->CanHandleException(This,pExcepInfo,pvar) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICanHandleException_QueryInterface(ICanHandleException* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICanHandleException_AddRef(ICanHandleException* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICanHandleException_Release(ICanHandleException* This) { + return This->lpVtbl->Release(This); +} +/*** ICanHandleException methods ***/ +static FORCEINLINE HRESULT ICanHandleException_CanHandleException(ICanHandleException* This,EXCEPINFO *pExcepInfo,VARIANT *pvar) { + return This->lpVtbl->CanHandleException(This,pExcepInfo,pvar); +} +#endif +#endif + +#endif + + +#endif /* __ICanHandleException_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProvideRuntimeContext interface + */ +#ifndef __IProvideRuntimeContext_INTERFACE_DEFINED__ +#define __IProvideRuntimeContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc,0x51, 0x5a,0xdd,0x2c,0x36,0xfe,0xbc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("10e2414a-ec59-49d2-bc51-5add2c36febc") +IProvideRuntimeContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCurrentSourceContext( + DWORD_PTR *pdwContext, + VARIANT_BOOL *pfExecutingGlobalCode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc,0x51, 0x5a,0xdd,0x2c,0x36,0xfe,0xbc) +#endif +#else +typedef struct IProvideRuntimeContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProvideRuntimeContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProvideRuntimeContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProvideRuntimeContext *This); + + /*** IProvideRuntimeContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurrentSourceContext)( + IProvideRuntimeContext *This, + DWORD_PTR *pdwContext, + VARIANT_BOOL *pfExecutingGlobalCode); + + END_INTERFACE +} IProvideRuntimeContextVtbl; + +interface IProvideRuntimeContext { + CONST_VTBL IProvideRuntimeContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProvideRuntimeContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProvideRuntimeContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProvideRuntimeContext_Release(This) (This)->lpVtbl->Release(This) +/*** IProvideRuntimeContext methods ***/ +#define IProvideRuntimeContext_GetCurrentSourceContext(This,pdwContext,pfExecutingGlobalCode) (This)->lpVtbl->GetCurrentSourceContext(This,pdwContext,pfExecutingGlobalCode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProvideRuntimeContext_QueryInterface(IProvideRuntimeContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProvideRuntimeContext_AddRef(IProvideRuntimeContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProvideRuntimeContext_Release(IProvideRuntimeContext* This) { + return This->lpVtbl->Release(This); +} +/*** IProvideRuntimeContext methods ***/ +static FORCEINLINE HRESULT IProvideRuntimeContext_GetCurrentSourceContext(IProvideRuntimeContext* This,DWORD_PTR *pdwContext,VARIANT_BOOL *pfExecutingGlobalCode) { + return This->lpVtbl->GetCurrentSourceContext(This,pdwContext,pfExecutingGlobalCode); +} +#endif +#endif + +#endif + + +#endif /* __IProvideRuntimeContext_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dispex_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispex.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispex.idl new file mode 100644 index 0000000..6f1c545 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dispex.idl @@ -0,0 +1,205 @@ +/* + * Copyright 2004 Kevin Koltzau + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "ocidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +import "servprov.idl"; +#endif + +cpp_quote("DEFINE_GUID(SID_VariantConversion, 0x1f101481,0xbccd,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);") +cpp_quote("DEFINE_GUID(SID_GetCaller, 0x4717cc40,0xbcb9,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);") + +cpp_quote("#define fdexNameCaseSensitive 0x00000001L") +cpp_quote("#define fdexNameEnsure 0x00000002L") +cpp_quote("#define fdexNameImplicit 0x00000004L") +cpp_quote("#define fdexNameCaseInsensitive 0x00000008L") +cpp_quote("#define fdexNameInternal 0x00000010L") +cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L") + +cpp_quote("#define fdexPropCanGet 0x00000001L") +cpp_quote("#define fdexPropCannotGet 0x00000002L") +cpp_quote("#define fdexPropCanPut 0x00000004L") +cpp_quote("#define fdexPropCannotPut 0x00000008L") +cpp_quote("#define fdexPropCanPutRef 0x00000010L") +cpp_quote("#define fdexPropCannotPutRef 0x00000020L") +cpp_quote("#define fdexPropNoSideEffects 0x00000040L") +cpp_quote("#define fdexPropDynamicType 0x00000080L") +cpp_quote("#define fdexPropCanCall 0x00000100L") +cpp_quote("#define fdexPropCannotCall 0x00000200L") +cpp_quote("#define fdexPropCanConstruct 0x00000400L") +cpp_quote("#define fdexPropCannotConstruct 0x00000800L") +cpp_quote("#define fdexPropCanSourceEvents 0x00001000L") +cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L") + +cpp_quote("#define fdexEnumDefault 0x00000001L") +cpp_quote("#define fdexEnumAll 0x00000002L") + +cpp_quote("#define grfdexPropCanAll \\") +cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\") +cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)") +cpp_quote("#define grfdexPropCannotAll \\") +cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\") +cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)") +cpp_quote("#define grfdexPropExtraAll \\") +cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)") +cpp_quote("#define grfdexPropAll \\") +cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)") + +cpp_quote("#define DISPATCH_CONSTRUCT 0x4000") + +cpp_quote("#define DISPID_THIS (-613)") +cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN") + +[ +object, +uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9), +pointer_default(unique) +] +interface IDispatchEx : IDispatch +{ + HRESULT GetDispID( + [in] BSTR bstrName, + [in] DWORD grfdex, + [out] DISPID *pid); + + [local] + HRESULT InvokeEx( + [in, annotation("__in")] DISPID id, + [in, annotation("__in")] LCID lcid, + [in, annotation("__in")] WORD wFlags, + [in, annotation("__in")] DISPPARAMS *pdp, + [out, annotation("__out_opt")] VARIANT *pvarRes, + [out, annotation("__out_opt")] EXCEPINFO *pei, + [in, unique, annotation("__in_opt")] IServiceProvider *pspCaller); + + [call_as(InvokeEx)] + HRESULT RemoteInvokeEx( + [in] DISPID id, + [in] LCID lcid, + [in] DWORD dwFlags, + [in] DISPPARAMS *pdp, + [out] VARIANT *pvarRes, + [out] EXCEPINFO *pei, + [in, unique] IServiceProvider *pspCaller, + [in] UINT cvarRefArg, + [in, size_is(cvarRefArg)] UINT *rgiRefArg, + [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg); + + HRESULT DeleteMemberByName( + [in] BSTR bstrName, + [in] DWORD grfdex); + + HRESULT DeleteMemberByDispID( + [in] DISPID id); + + HRESULT GetMemberProperties( + [in] DISPID id, + [in] DWORD grfdexFetch, + [out] DWORD *pgrfdex); + + HRESULT GetMemberName( + [in] DISPID id, + [out] BSTR *pbstrName); + + HRESULT GetNextDispID( + [in] DWORD grfdex, + [in] DISPID id, + [out] DISPID *pid); + + HRESULT GetNameSpaceParent([out] IUnknown **ppunk); +} + +[ +object, +uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9), +pointer_default(unique) +] +interface IDispError : IUnknown +{ + HRESULT QueryErrorInfo( + [in] GUID guidErrorType, + [out] IDispError **ppde); + + HRESULT GetNext( + [out] IDispError **ppde); + + HRESULT GetHresult( + [out] HRESULT *phr); + + HRESULT GetSource( + [out] BSTR *pbstrSource); + + HRESULT GetHelpInfo( + [out] BSTR *pbstrFileName, + [out] DWORD *pdwContext); + + HRESULT GetDescription( + [out] BSTR *pbstrDescription); +} + +[ +object, +uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9), +pointer_default(unique) +] +interface IVariantChangeType : IUnknown +{ + HRESULT ChangeType( + [in, out, unique] VARIANT *pvarDst, + [in, unique] VARIANT *pvarSrc, + [in] LCID lcid, + [in] VARTYPE vtNew); +} + + +[ +object, +uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085), +pointer_default(unique) +] +interface IObjectIdentity : IUnknown +{ + HRESULT IsEqualObject( + [in] IUnknown *punk); +} + +[ + object, + uuid(c5598e60-b307-11d1-b27d-006008c3fbfb), + pointer_default(unique) +] +interface ICanHandleException : IUnknown +{ + HRESULT CanHandleException( + [in] EXCEPINFO *pExcepInfo, + [in] VARIANT *pvar); +} + +[ + object, + uuid(10e2414a-ec59-49d2-bc51-5add2c36febc), + pointer_default(unique) +] +interface IProvideRuntimeContext : IUnknown +{ + HRESULT GetCurrentSourceContext( + [out] DWORD_PTR *pdwContext, + [out] VARIANT_BOOL *pfExecutingGlobalCode); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dlgs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dlgs.h new file mode 100644 index 0000000..abcb488 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dlgs.h @@ -0,0 +1,224 @@ +/* + * Common dialog's dialog control ID numbers + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DLGS_H +#define __WINE_DLGS_H + +#define ctlFirst 0x0400 +#define ctlLast 0x04ff + /* Push buttons */ +#define psh1 0x0400 +#define psh2 0x0401 +#define psh3 0x0402 +#define psh4 0x0403 +#define psh5 0x0404 +#define psh6 0x0405 +#define psh7 0x0406 +#define psh8 0x0407 +#define psh9 0x0408 +#define psh10 0x0409 +#define psh11 0x040a +#define psh12 0x040b +#define psh13 0x040c +#define psh14 0x040d +#define psh15 0x040e +#define pshHelp psh15 +#define psh16 0x040f + /* Checkboxes */ +#define chx1 0x0410 +#define chx2 0x0411 +#define chx3 0x0412 +#define chx4 0x0413 +#define chx5 0x0414 +#define chx6 0x0415 +#define chx7 0x0416 +#define chx8 0x0417 +#define chx9 0x0418 +#define chx10 0x0419 +#define chx11 0x041a +#define chx12 0x041b +#define chx13 0x041c +#define chx14 0x041d +#define chx15 0x041e +#define chx16 0x041f + /* Radio buttons */ +#define rad1 0x0420 +#define rad2 0x0421 +#define rad3 0x0422 +#define rad4 0x0423 +#define rad5 0x0424 +#define rad6 0x0425 +#define rad7 0x0426 +#define rad8 0x0427 +#define rad9 0x0428 +#define rad10 0x0429 +#define rad11 0x042a +#define rad12 0x042b +#define rad13 0x042c +#define rad14 0x042d +#define rad15 0x042e +#define rad16 0x042f + /* Groups, frames, rectangles, and icons */ +#define grp1 0x0430 +#define grp2 0x0431 +#define grp3 0x0432 +#define grp4 0x0433 +#define frm1 0x0434 +#define frm2 0x0435 +#define frm3 0x0436 +#define frm4 0x0437 +#define rct1 0x0438 +#define rct2 0x0439 +#define rct3 0x043a +#define rct4 0x043b +#define ico1 0x043c +#define ico2 0x043d +#define ico3 0x043e +#define ico4 0x043f + /* Static text */ +#define stc1 0x0440 +#define stc2 0x0441 +#define stc3 0x0442 +#define stc4 0x0443 +#define stc5 0x0444 +#define stc6 0x0445 +#define stc7 0x0446 +#define stc8 0x0447 +#define stc9 0x0448 +#define stc10 0x0449 +#define stc11 0x044a +#define stc12 0x044b +#define stc13 0x044c +#define stc14 0x044d +#define stc15 0x044e +#define stc16 0x044f +#define stc17 0x0450 +#define stc18 0x0451 +#define stc19 0x0452 +#define stc20 0x0453 +#define stc21 0x0454 +#define stc22 0x0455 +#define stc23 0x0456 +#define stc24 0x0457 +#define stc25 0x0458 +#define stc26 0x0459 +#define stc27 0x045a +#define stc28 0x045b +#define stc29 0x045c +#define stc30 0x045d +#define stc31 0x045e +#define stc32 0x045f + /* Listboxes */ +#define lst1 0x0460 +#define lst2 0x0461 +#define lst3 0x0462 +#define lst4 0x0463 +#define lst5 0x0464 +#define lst6 0x0465 +#define lst7 0x0466 +#define lst8 0x0467 +#define lst9 0x0468 +#define lst10 0x0469 +#define lst11 0x046a +#define lst12 0x046b +#define lst13 0x046c +#define lst14 0x046d +#define lst15 0x046e +#define lst16 0x046f + /* Combo boxes */ +#define cmb1 0x0470 +#define cmb2 0x0471 +#define cmb3 0x0472 +#define cmb4 0x0473 +#define cmb5 0x0474 +#define cmb6 0x0475 +#define cmb7 0x0476 +#define cmb8 0x0477 +#define cmb9 0x0478 +#define cmb10 0x0479 +#define cmb11 0x047a +#define cmb12 0x047b +#define cmb13 0x047c +#define cmb14 0x047d +#define cmb15 0x047e +#define cmb16 0x047f + /* Edit controls */ +#define edt1 0x0480 +#define edt2 0x0481 +#define edt3 0x0482 +#define edt4 0x0483 +#define edt5 0x0484 +#define edt6 0x0485 +#define edt7 0x0486 +#define edt8 0x0487 +#define edt9 0x0488 +#define edt10 0x0489 +#define edt11 0x048a +#define edt12 0x048b +#define edt13 0x048c +#define edt14 0x048d +#define edt15 0x048e +#define edt16 0x048f + /* Scroll bars */ +#define scr1 0x0490 +#define scr2 0x0491 +#define scr3 0x0492 +#define scr4 0x0493 +#define scr5 0x0494 +#define scr6 0x0495 +#define scr7 0x0496 +#define scr8 0x0497 + +/* + * Controls + */ +#define ctl1 0x04A0 + +/* These dialog resource ordinals really start at 0x0600, but the + * RC Compiler can't handle hex for resource IDs, hence the decimal. + */ +#define FILEOPENORD 1536 +#define MULTIFILEOPENORD 1537 +#define PRINTDLGORD 1538 +#define PRNSETUPDLGORD 1539 +#define FINDDLGORD 1540 +#define REPLACEDLGORD 1541 +#define FONTDLGORD 1542 +#define FORMATDLGORD31 1543 +#define FORMATDLGORD30 1544 +#define PAGESETUPDLGORD 1546 +#define NEWFILEOPENORD 1547 +#define PRINTDLGEXORD 1549 +#define PAGESETUPDLGORDMOTIF 1550 +#define COLORMGMTDLGORD 1551 +#define NEWFILEOPENV2ORD 1552 +#define NEWFILEOPENV3ORD 1553 +#define NEWFORMATDLGWITHLINK 1591 +#define IDC_MANAGE_LINK 1592 + +typedef struct tagCRGB +{ + BYTE bRed; + BYTE bGreen; + BYTE bBlue; + BYTE bExtra; +} CRGB; + +#endif /* #ifdef __WINE_DLGS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dls1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dls1.h new file mode 100644 index 0000000..d980b2b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dls1.h @@ -0,0 +1,202 @@ +/* Defines and Structures for Instrument Collection Form RIFF DLS1 + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_INCLUDE_DLS1_H +#define __WINE_INCLUDE_DLS1_H + +/***************************************************************************** + * FOURCCs + */ +#define FOURCC_DLS mmioFOURCC('D','L','S',' ') +#define FOURCC_DLID mmioFOURCC('d','l','i','d') +#define FOURCC_COLH mmioFOURCC('c','o','l','h') +#define FOURCC_WVPL mmioFOURCC('w','v','p','l') +#define FOURCC_PTBL mmioFOURCC('p','t','b','l') +#define FOURCC_PATH mmioFOURCC('p','a','t','h') +#define FOURCC_wave mmioFOURCC('w','a','v','e') +#define FOURCC_LINS mmioFOURCC('l','i','n','s') +#define FOURCC_INS mmioFOURCC('i','n','s',' ') +#define FOURCC_INSH mmioFOURCC('i','n','s','h') +#define FOURCC_LRGN mmioFOURCC('l','r','g','n') +#define FOURCC_RGN mmioFOURCC('r','g','n',' ') +#define FOURCC_RGNH mmioFOURCC('r','g','n','h') +#define FOURCC_LART mmioFOURCC('l','a','r','t') +#define FOURCC_ART1 mmioFOURCC('a','r','t','1') +#define FOURCC_WLNK mmioFOURCC('w','l','n','k') +#define FOURCC_WSMP mmioFOURCC('w','s','m','p') +#define FOURCC_VERS mmioFOURCC('v','e','r','s') + +/***************************************************************************** + * Flags + */ + +#define CONN_DST_NONE 0x000 +#define CONN_DST_ATTENUATION 0x001 +#define CONN_DST_PITCH 0x003 +#define CONN_DST_PAN 0x004 + +#define CONN_DST_LFO_FREQUENCY 0x104 +#define CONN_DST_LFO_STARTDELAY 0x105 + +#define CONN_DST_EG1_ATTACKTIME 0x206 +#define CONN_DST_EG1_DECAYTIME 0x207 +#define CONN_DST_EG1_RELEASETIME 0x209 +#define CONN_DST_EG1_SUSTAINLEVEL 0x20A + +#define CONN_DST_EG2_ATTACKTIME 0x30A +#define CONN_DST_EG2_DECAYTIME 0x30B +#define CONN_DST_EG2_RELEASETIME 0x30D +#define CONN_DST_EG2_SUSTAINLEVEL 0x30E + +#define CONN_SRC_NONE 0x000 +#define CONN_SRC_LFO 0x001 +#define CONN_SRC_KEYONVELOCITY 0x002 +#define CONN_SRC_KEYNUMBER 0x003 +#define CONN_SRC_EG1 0x004 +#define CONN_SRC_EG2 0x005 +#define CONN_SRC_PITCHWHEEL 0x006 + +#define CONN_SRC_CC1 0x081 +#define CONN_SRC_CC7 0x087 +#define CONN_SRC_CC10 0x08A +#define CONN_SRC_CC11 0x08B + +#define CONN_TRN_NONE 0x000 +#define CONN_TRN_CONCAVE 0x001 + +#define F_INSTRUMENT_DRUMS 0x80000000 + +#define F_RGN_OPTION_SELFNONEXCLUSIVE 0x1 + +#define F_WAVELINK_PHASE_MASTER 0x1 + +#define F_WSMP_NO_TRUNCATION 0x1 +#define F_WSMP_NO_COMPRESSION 0x2 + +#define POOL_CUE_NULL 0xFFFFFFFF + +#define WAVELINK_CHANNEL_LEFT 0x1 +#define WAVELINK_CHANNEL_RIGHT 0x2 + +#define WLOOP_TYPE_FORWARD 0x0 + +/***************************************************************************** + * Structures + */ +/* typedef definitions */ +typedef struct _DLSID DLSID, *LPDLSID; +typedef struct _DLSVERSION DLSVERSION, *LPDLSVERSION; +typedef struct _CONNECTION CONNECTION, *LPCONNECTION; +typedef struct _CONNECTIONLIST CONNECTIONLIST, *LPCONNECTIONLIST; +typedef struct _RGNRANGE RGNRANGE, *LPRGNRANGE; +typedef struct _MIDILOCALE MIDILOCALE, *LPMIDILOCALE; +typedef struct _RGNHEADER RGNHEADER, *LPRGNHEADER; +typedef struct _INSTHEADER INSTHEADER, *LPINSTHEADER; +typedef struct _DLSHEADER DLSHEADER, *LPDLSHEADER; +typedef struct _WAVELINK WAVELINK, *LPWAVELINK; +typedef struct _POOLCUE POOLCUE, *LPPOOLCUE; +typedef struct _POOLTABLE POOLTABLE, *LPPOOLTABLE; +typedef struct _rwsmp WSMPL, *LPWSMPL; +typedef struct _rloop WLOOP, *LPWLOOP; + +/* actual structures */ +struct _DLSID { + ULONG ulData1; + USHORT usData2; + USHORT usData3; + BYTE abData4[8]; +}; + +struct _DLSVERSION { + DWORD dwVersionMS; + DWORD dwVersionLS; +}; + +struct _CONNECTION { + USHORT usSource; + USHORT usControl; + USHORT usDestination; + USHORT usTransform; + LONG lScale; +}; + +struct _CONNECTIONLIST { + ULONG cbSize; + ULONG cConnections; +}; + +struct _RGNRANGE { + USHORT usLow; + USHORT usHigh; +}; + +struct _MIDILOCALE { + ULONG ulBank; + ULONG ulInstrument; +}; + +struct _RGNHEADER { + RGNRANGE RangeKey; + RGNRANGE RangeVelocity; + USHORT fusOptions; + USHORT usKeyGroup; +}; + +struct _INSTHEADER { + ULONG cRegions; + MIDILOCALE Locale; +}; + +struct _DLSHEADER { + ULONG cInstruments; +}; + +struct _WAVELINK { + USHORT fusOptions; + USHORT usPhaseGroup; + ULONG ulChannel; + ULONG ulTableIndex; +}; + +struct _POOLCUE { + ULONG ulOffset; +}; + +struct _POOLTABLE { + ULONG cbSize; + ULONG cCues; +}; + +struct _rwsmp { + ULONG cbSize; + USHORT usUnityNote; + SHORT sFineTune; + LONG lAttenuation; + ULONG fulOptions; + ULONG cSampleLoops; +}; + +struct _rloop { + ULONG cbSize; + ULONG ulType; + ULONG ulStart; + ULONG ulLength; +}; + +#endif /* __WINE_INCLUDE_DLS1_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dls2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dls2.h new file mode 100644 index 0000000..2eda7bd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dls2.h @@ -0,0 +1,107 @@ +/* Defines and Structures for Instrument Collection Form RIFF DLS2 + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_INCLUDE_DLS2_H +#define __WINE_INCLUDE_DLS2_H + +/***************************************************************************** + * DLSIDs - property set + */ +DEFINE_GUID(DLSID_GMInHardware, 0x178f2f24,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(DLSID_GSInHardware, 0x178f2f25,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(DLSID_ManufacturersID, 0xb03e1181,0x8095,0x11d2,0xa1,0xef,0x00,0x60,0x08,0x33,0xdb,0xd8); +DEFINE_GUID(DLSID_ProductID, 0xb03e1182,0x8095,0x11d2,0xa1,0xef,0x00,0x60,0x08,0x33,0xdb,0xd8); +DEFINE_GUID(DLSID_SampleMemorySize, 0x178f2f28,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(DLSID_SupportsDLS1, 0x178f2f27,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(DLSID_SupportsDLS2, 0xf14599e5,0x4689,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(DLSID_SamplePlaybackRate, 0x2a91f713,0xa4bf,0x11d2,0xbb,0xdf,0x00,0x60,0x08,0x33,0xdb,0xd8); +DEFINE_GUID(DLSID_XGInHardware, 0x178f2f26,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); + +/***************************************************************************** + * FOURCCs + */ +#define FOURCC_RGN2 mmioFOURCC('r','g','n','2') +#define FOURCC_LAR2 mmioFOURCC('l','a','r','2') +#define FOURCC_ART2 mmioFOURCC('a','r','t','2') +#define FOURCC_CDL mmioFOURCC('c','d','l',' ') +#define FOURCC_DLID mmioFOURCC('d','l','i','d') + +/***************************************************************************** + * Flags + */ +#define CONN_DST_GAIN 0x001 +#define CONN_DST_KEYNUMBER 0x005 + +#define CONN_DST_LEFT 0x010 +#define CONN_DST_RIGHT 0x011 +#define CONN_DST_CENTER 0x012 +#define CONN_DST_LEFTREAR 0x013 +#define CONN_DST_RIGHTREAR 0x014 +#define CONN_DST_LFE_CHANNEL 0x015 +#define CONN_DST_CHORUS 0x080 +#define CONN_DST_REVERB 0x081 + +#define CONN_DST_VIB_FREQUENCY 0x114 +#define CONN_DST_VIB_STARTDELAY 0x115 + +#define CONN_DST_EG1_DELAYTIME 0x20B +#define CONN_DST_EG1_HOLDTIME 0x20C +#define CONN_DST_EG1_SHUTDOWNTIME 0x20D + +#define CONN_DST_EG2_DELAYTIME 0x30F +#define CONN_DST_EG2_HOLDTIME 0x310 + +#define CONN_DST_FILTER_CUTOFF 0x500 +#define CONN_DST_FILTER_Q 0x501 + +#define CONN_SRC_POLYPRESSURE 0x007 +#define CONN_SRC_CHANNELPRESSURE 0x008 +#define CONN_SRC_VIBRATO 0x009 +#define CONN_SRC_MONOPRESSURE 0x00A + +#define CONN_SRC_CC91 0x0DB +#define CONN_SRC_CC93 0x0DD + +#define CONN_TRN_CONVEX 0x002 +#define CONN_TRN_SWITCH 0x003 + +#define DLS_CDL_AND 0x01 +#define DLS_CDL_OR 0x02 +#define DLS_CDL_XOR 0x03 +#define DLS_CDL_ADD 0x04 +#define DLS_CDL_SUBTRACT 0x05 +#define DLS_CDL_MULTIPLY 0x06 +#define DLS_CDL_DIVIDE 0x07 +#define DLS_CDL_LOGICAL_AND 0x08 +#define DLS_CDL_LOGICAL_OR 0x09 +#define DLS_CDL_LT 0x0A +#define DLS_CDL_LE 0x0B +#define DLS_CDL_GT 0x0C +#define DLS_CDL_GE 0x0D +#define DLS_CDL_EQ 0x0E +#define DLS_CDL_NOT 0x0F +#define DLS_CDL_CONST 0x10 +#define DLS_CDL_QUERY 0x11 +#define DLS_CDL_QUERYSUPPORTED 0x12 + +#define F_WAVELINK_MULTICHANNEL 0x2 + +#define WLOOP_TYPE_RELEASE 0x1 + +#endif /* __WINE_INCLUDE_DLS2_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmdls.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmdls.h new file mode 100644 index 0000000..ea7dcf0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmdls.h @@ -0,0 +1,212 @@ +/* DirectMusic DLS Download Definitions + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_DLS_H +#define __WINE_DMUSIC_DLS_H + +#include + +/***************************************************************************** + * Typedef definitions + */ +typedef LONG GCENT; +typedef LONG PCENT; +typedef LONG PERCENT; +typedef LONG TCENT; + +#ifndef REFERENCE_TIME_DEFINED +#define REFERENCE_TIME_DEFINED +typedef LONGLONG REFERENCE_TIME, *LPREFERENCE_TIME; +#endif + +/***************************************************************************** + * FOURCC definition + */ +#ifndef mmioFOURCC +typedef DWORD FOURCC; +#define mmioFOURCC(ch0,ch1,ch2,ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 )) +#endif + +/***************************************************************************** + * Flags + */ +#define DMUS_DEFAULT_SIZE_OFFSETTABLE 0x1 + +#define DMUS_DOWNLOADINFO_INSTRUMENT 0x1 +#define DMUS_DOWNLOADINFO_WAVE 0x2 +#define DMUS_DOWNLOADINFO_INSTRUMENT2 0x3 +#define DMUS_DOWNLOADINFO_WAVEARTICULATION 0x4 +#define DMUS_DOWNLOADINFO_STREAMINGWAVE 0x5 +#define DMUS_DOWNLOADINFO_ONESHOTWAVE 0x6 + +#define DMUS_INSTRUMENT_GM_INSTRUMENT 0x1 + +#define DMUS_MIN_DATA_SIZE 0x4 + +/***************************************************************************** + * Structures + */ +/* typedef definitions */ +typedef struct _DMUS_DOWNLOADINFO DMUS_DOWNLOADINFO, *LPDMUS_DOWNLOADINFO; +typedef struct _DMUS_OFFSETTABLE DMUS_OFFSETTABLE, *LPDMUS_OFFSETTABLE; +typedef struct _DMUS_INSTRUMENT DMUS_INSTRUMENT, *LPDMUS_INSTRUMENT; +typedef struct _DMUS_REGION DMUS_REGION, *LPDMUS_REGION; +typedef struct _DMUS_LFOPARAMS DMUS_LFOPARAMS, *LPDMUS_LFOPARAMS; +typedef struct _DMUS_VEGPARAMS DMUS_VEGPARAMS, *LPDMUS_VEGPARAMS; +typedef struct _DMUS_PEGPARAMS DMUS_PEGPARAMS, *LPDMUS_PEGPARAMS; +typedef struct _DMUS_MSCPARAMS DMUS_MSCPARAMS, *LPDMUS_MSCPARAMS; +typedef struct _DMUS_ARTICPARAMS DMUS_ARTICPARAMS, *LPDMUS_ARTICPARAMS; +typedef struct _DMUS_ARTICULATION DMUS_ARTICULATION, *LPDMUS_ARTICULATION; +typedef struct _DMUS_ARTICULATION2 DMUS_ARTICULATION2, *LPDMUS_ARTICULATION2; +typedef struct _DMUS_EXTENSIONCHUNK DMUS_EXTENSIONCHUNK, *LPDMUS_EXTENSIONCHUNK; +typedef struct _DMUS_COPYRIGHT DMUS_COPYRIGHT, *LPDMUS_COPYRIGHT; +typedef struct _DMUS_WAVEDATA DMUS_WAVEDATA, *LPDMUS_WAVEDATA; +typedef struct _DMUS_WAVE DMUS_WAVE, *LPDMUS_WAVE; +typedef struct _DMUS_NOTERANGE DMUS_NOTERANGE, *LPDMUS_NOTERANGE; +typedef struct _DMUS_WAVEARTDL DMUS_WAVEARTDL, *LPDMUS_WAVEARTDL; +typedef struct _DMUS_WAVEDL DMUS_WAVEDL, *LPDMUS_WAVEDL; + +/* actual structures */ +struct _DMUS_DOWNLOADINFO { + DWORD dwDLType; + DWORD dwDLId; + DWORD dwNumOffsetTableEntries; + DWORD cbSize; +}; + +struct _DMUS_OFFSETTABLE { + ULONG ulOffsetTable[DMUS_DEFAULT_SIZE_OFFSETTABLE]; +}; + +struct _DMUS_INSTRUMENT { + ULONG ulPatch; + ULONG ulFirstRegionIdx; + ULONG ulGlobalArtIdx; + ULONG ulFirstExtCkIdx; + ULONG ulCopyrightIdx; + ULONG ulFlags; +}; + +struct _DMUS_REGION { + RGNRANGE RangeKey; + RGNRANGE RangeVelocity; + USHORT fusOptions; + USHORT usKeyGroup; + ULONG ulRegionArtIdx; + ULONG ulNextRegionIdx; + ULONG ulFirstExtCkIdx; + WAVELINK WaveLink; + WSMPL WSMP; + WLOOP WLOOP[1]; +}; + +struct _DMUS_LFOPARAMS { + PCENT pcFrequency; + TCENT tcDelay; + GCENT gcVolumeScale; + PCENT pcPitchScale; + GCENT gcMWToVolume; + PCENT pcMWToPitch; +}; + +struct _DMUS_VEGPARAMS { + TCENT tcAttack; + TCENT tcDecay; + PERCENT ptSustain; + TCENT tcRelease; + TCENT tcVel2Attack; + TCENT tcKey2Decay; +}; + +struct _DMUS_PEGPARAMS { + TCENT tcAttack; + TCENT tcDecay; + PERCENT ptSustain; + TCENT tcRelease; + TCENT tcVel2Attack; + TCENT tcKey2Decay; + PCENT pcRange; +}; + +struct _DMUS_MSCPARAMS { + PERCENT ptDefaultPan; +}; + +struct _DMUS_ARTICPARAMS { + DMUS_LFOPARAMS LFO; + DMUS_VEGPARAMS VolEG; + DMUS_PEGPARAMS PitchEG; + DMUS_MSCPARAMS Misc; +}; + +struct _DMUS_ARTICULATION { + ULONG ulArt1Idx; + ULONG ulFirstExtCkIdx; +}; + +struct _DMUS_ARTICULATION2 { + ULONG ulArtIdx; + ULONG ulFirstExtCkIdx; + ULONG ulNextArtIdx; +}; + +struct _DMUS_EXTENSIONCHUNK { + ULONG cbSize; + ULONG ulNextExtCkIdx; + FOURCC ExtCkID; + BYTE byExtCk[DMUS_MIN_DATA_SIZE]; +}; + +struct _DMUS_COPYRIGHT { + ULONG cbSize; + BYTE byCopyright[DMUS_MIN_DATA_SIZE]; +}; + +struct _DMUS_WAVEDATA { + ULONG cbSize; + BYTE byData[DMUS_MIN_DATA_SIZE]; +}; + +struct _DMUS_WAVE { + ULONG ulFirstExtCkIdx; + ULONG ulCopyrightIdx; + ULONG ulWaveDataIdx; + WAVEFORMATEX WaveformatEx; +}; + +struct _DMUS_NOTERANGE { + DWORD dwLowNote; + DWORD dwHighNote; +}; + +struct _DMUS_WAVEARTDL { + ULONG ulDownloadIdIdx; + ULONG ulBus; + ULONG ulBuffers; + ULONG ulMasterDLId; + USHORT usOptions; +}; + +struct _DMUS_WAVEDL { + ULONG cbWaveData; +}; + +#endif /* __WINE_DMUSIC_DLS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmerror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmerror.h new file mode 100644 index 0000000..8db2510 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmerror.h @@ -0,0 +1,164 @@ +/* DirectMusic Error Codes + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_ERROR_H +#define __WINE_DMUSIC_ERROR_H + +/***************************************************************************** + * Error code handling + */ +#define FACILITY_DIRECTMUSIC 0x878 +#define DMUS_ERRBASE 0x1000 + +#ifndef MAKE_HRESULT +#define MAKE_HRESULT(sev,fac,code) \ + ((HRESULT) (((ULONG)(sev)<<31) | ((ULONG)(fac)<<16) | ((ULONG)(code))) ) +#endif + +#define MAKE_DMHRESULTSUCCESS(code) MAKE_HRESULT(0, FACILITY_DIRECTMUSIC, (DMUS_ERRBASE + (code))) +#define MAKE_DMHRESULTERROR(code) MAKE_HRESULT(1, FACILITY_DIRECTMUSIC, (DMUS_ERRBASE + (code))) + +/***************************************************************************** + * Error codes + */ + +#define DMUS_S_PARTIALLOAD MAKE_DMHRESULTSUCCESS(0x091) +#define DMUS_S_PARTIALDOWNLOAD MAKE_DMHRESULTSUCCESS(0x092) +#define DMUS_S_REQUEUE MAKE_DMHRESULTSUCCESS(0x200) +#define DMUS_S_FREE MAKE_DMHRESULTSUCCESS(0x201) +#define DMUS_S_END MAKE_DMHRESULTSUCCESS(0x202) +#define DMUS_S_STRING_TRUNCATED MAKE_DMHRESULTSUCCESS(0x210) +#define DMUS_S_LAST_TOOL MAKE_DMHRESULTSUCCESS(0x211) +#define DMUS_S_OVER_CHORD MAKE_DMHRESULTSUCCESS(0x212) +#define DMUS_S_UP_OCTAVE MAKE_DMHRESULTSUCCESS(0x213) +#define DMUS_S_DOWN_OCTAVE MAKE_DMHRESULTSUCCESS(0x214) +#define DMUS_S_NOBUFFERCONTROL MAKE_DMHRESULTSUCCESS(0x215) +#define DMUS_S_GARBAGE_COLLECTED MAKE_DMHRESULTSUCCESS(0x216) + +#define DMUS_E_DRIVER_FAILED MAKE_DMHRESULTERROR(0x0101) +#define DMUS_E_PORTS_OPEN MAKE_DMHRESULTERROR(0x0102) +#define DMUS_E_DEVICE_IN_USE MAKE_DMHRESULTERROR(0x0103) +#define DMUS_E_INSUFFICIENTBUFFER MAKE_DMHRESULTERROR(0x0104) +#define DMUS_E_BUFFERNOTSET MAKE_DMHRESULTERROR(0x0105) +#define DMUS_E_BUFFERNOTAVAILABLE MAKE_DMHRESULTERROR(0x0106) +#define DMUS_E_NOTADLSCOL MAKE_DMHRESULTERROR(0x0108) +#define DMUS_E_INVALIDOFFSET MAKE_DMHRESULTERROR(0x0109) +#define DMUS_E_ALREADY_LOADED MAKE_DMHRESULTERROR(0x0111) +#define DMUS_E_INVALIDPOS MAKE_DMHRESULTERROR(0x0113) +#define DMUS_E_INVALIDPATCH MAKE_DMHRESULTERROR(0x0114) +#define DMUS_E_CANNOTSEEK MAKE_DMHRESULTERROR(0x0115) +#define DMUS_E_CANNOTWRITE MAKE_DMHRESULTERROR(0x0116) +#define DMUS_E_CHUNKNOTFOUND MAKE_DMHRESULTERROR(0x0117) +#define DMUS_E_INVALID_DOWNLOADID MAKE_DMHRESULTERROR(0x0119) +#define DMUS_E_NOT_DOWNLOADED_TO_PORT MAKE_DMHRESULTERROR(0x0120) +#define DMUS_E_ALREADY_DOWNLOADED MAKE_DMHRESULTERROR(0x0121) +#define DMUS_E_UNKNOWN_PROPERTY MAKE_DMHRESULTERROR(0x0122) +#define DMUS_E_SET_UNSUPPORTED MAKE_DMHRESULTERROR(0x0123) +#define DMUS_E_GET_UNSUPPORTED MAKE_DMHRESULTERROR(0x0124) +#define DMUS_E_NOTMONO MAKE_DMHRESULTERROR(0x0125) +#define DMUS_E_BADARTICULATION MAKE_DMHRESULTERROR(0x0126) +#define DMUS_E_BADINSTRUMENT MAKE_DMHRESULTERROR(0x0127) +#define DMUS_E_BADWAVELINK MAKE_DMHRESULTERROR(0x0128) +#define DMUS_E_NOARTICULATION MAKE_DMHRESULTERROR(0x0129) +#define DMUS_E_NOTPCM MAKE_DMHRESULTERROR(0x012A) +#define DMUS_E_BADWAVE MAKE_DMHRESULTERROR(0x012B) +#define DMUS_E_BADOFFSETTABLE MAKE_DMHRESULTERROR(0x012C) +#define DMUS_E_UNKNOWNDOWNLOAD MAKE_DMHRESULTERROR(0x012D) +#define DMUS_E_NOSYNTHSINK MAKE_DMHRESULTERROR(0x012E) +#define DMUS_E_ALREADYOPEN MAKE_DMHRESULTERROR(0x012F) +#define DMUS_E_ALREADYCLOSED MAKE_DMHRESULTERROR(0x0130) +#define DMUS_E_SYNTHNOTCONFIGURED MAKE_DMHRESULTERROR(0x0131) +#define DMUS_E_SYNTHACTIVE MAKE_DMHRESULTERROR(0x0132) +#define DMUS_E_CANNOTREAD MAKE_DMHRESULTERROR(0x0133) +#define DMUS_E_DMUSIC_RELEASED MAKE_DMHRESULTERROR(0x0134) +#define DMUS_E_BUFFER_EMPTY MAKE_DMHRESULTERROR(0x0135) +#define DMUS_E_BUFFER_FULL MAKE_DMHRESULTERROR(0x0136) +#define DMUS_E_PORT_NOT_CAPTURE MAKE_DMHRESULTERROR(0x0137) +#define DMUS_E_PORT_NOT_RENDER MAKE_DMHRESULTERROR(0x0138) +#define DMUS_E_DSOUND_NOT_SET MAKE_DMHRESULTERROR(0x0139) +#define DMUS_E_ALREADY_ACTIVATED MAKE_DMHRESULTERROR(0x013A) +#define DMUS_E_INVALIDBUFFER MAKE_DMHRESULTERROR(0x013B) +#define DMUS_E_WAVEFORMATNOTSUPPORTED MAKE_DMHRESULTERROR(0x013C) +#define DMUS_E_SYNTHINACTIVE MAKE_DMHRESULTERROR(0x013D) +#define DMUS_E_DSOUND_ALREADY_SET MAKE_DMHRESULTERROR(0x013E) +#define DMUS_E_INVALID_EVENT MAKE_DMHRESULTERROR(0x013F) +#define DMUS_E_UNSUPPORTED_STREAM MAKE_DMHRESULTERROR(0x0150) +#define DMUS_E_ALREADY_INITED MAKE_DMHRESULTERROR(0x0151) +#define DMUS_E_INVALID_BAND MAKE_DMHRESULTERROR(0x0152) +#define DMUS_E_TRACK_HDR_NOT_FIRST_CK MAKE_DMHRESULTERROR(0x0155) +#define DMUS_E_TOOL_HDR_NOT_FIRST_CK MAKE_DMHRESULTERROR(0x0156) +#define DMUS_E_INVALID_TRACK_HDR MAKE_DMHRESULTERROR(0x0157) +#define DMUS_E_INVALID_TOOL_HDR MAKE_DMHRESULTERROR(0x0158) +#define DMUS_E_ALL_TOOLS_FAILED MAKE_DMHRESULTERROR(0x0159) +#define DMUS_E_ALL_TRACKS_FAILED MAKE_DMHRESULTERROR(0x0160) +#define DMUS_E_NOT_FOUND MAKE_DMHRESULTERROR(0x0161) +#define DMUS_E_NOT_INIT MAKE_DMHRESULTERROR(0x0162) +#define DMUS_E_TYPE_DISABLED MAKE_DMHRESULTERROR(0x0163) +#define DMUS_E_TYPE_UNSUPPORTED MAKE_DMHRESULTERROR(0x0164) +#define DMUS_E_TIME_PAST MAKE_DMHRESULTERROR(0x0165) +#define DMUS_E_TRACK_NOT_FOUND MAKE_DMHRESULTERROR(0x0166) +#define DMUS_E_TRACK_NO_CLOCKTIME_SUPPORT MAKE_DMHRESULTERROR(0x0167) +#define DMUS_E_NO_MASTER_CLOCK MAKE_DMHRESULTERROR(0x0170) +#define DMUS_E_LOADER_NOCLASSID MAKE_DMHRESULTERROR(0x0180) +#define DMUS_E_LOADER_BADPATH MAKE_DMHRESULTERROR(0x0181) +#define DMUS_E_LOADER_FAILEDOPEN MAKE_DMHRESULTERROR(0x0182) +#define DMUS_E_LOADER_FORMATNOTSUPPORTED MAKE_DMHRESULTERROR(0x0183) +#define DMUS_E_LOADER_FAILEDCREATE MAKE_DMHRESULTERROR(0x0184) +#define DMUS_E_LOADER_OBJECTNOTFOUND MAKE_DMHRESULTERROR(0x0185) +#define DMUS_E_LOADER_NOFILENAME MAKE_DMHRESULTERROR(0x0186) +#define DMUS_E_INVALIDFILE MAKE_DMHRESULTERROR(0x0200) +#define DMUS_E_ALREADY_EXISTS MAKE_DMHRESULTERROR(0x0201) +#define DMUS_E_OUT_OF_RANGE MAKE_DMHRESULTERROR(0x0202) +#define DMUS_E_SEGMENT_INIT_FAILED MAKE_DMHRESULTERROR(0x0203) +#define DMUS_E_ALREADY_SENT MAKE_DMHRESULTERROR(0x0204) +#define DMUS_E_CANNOT_FREE MAKE_DMHRESULTERROR(0x0205) +#define DMUS_E_CANNOT_OPEN_PORT MAKE_DMHRESULTERROR(0x0206) +#define DMUS_E_CANNOT_CONVERT MAKE_DMHRESULTERROR(0x0207) +#define DMUS_E_DESCEND_CHUNK_FAIL MAKE_DMHRESULTERROR(0x0210) +#define DMUS_E_NOT_LOADED MAKE_DMHRESULTERROR(0x0211) +#define DMUS_E_SCRIPT_LANGUAGE_INCOMPATIBLE MAKE_DMHRESULTERROR(0x0213) +#define DMUS_E_SCRIPT_UNSUPPORTED_VARTYPE MAKE_DMHRESULTERROR(0x0214) +#define DMUS_E_SCRIPT_ERROR_IN_SCRIPT MAKE_DMHRESULTERROR(0x0215) +#define DMUS_E_SCRIPT_CANTLOAD_OLEAUT32 MAKE_DMHRESULTERROR(0x0216) +#define DMUS_E_SCRIPT_LOADSCRIPT_ERROR MAKE_DMHRESULTERROR(0x0217) +#define DMUS_E_SCRIPT_INVALID_FILE MAKE_DMHRESULTERROR(0x0218) +#define DMUS_E_INVALID_SCRIPTTRACK MAKE_DMHRESULTERROR(0x0219) +#define DMUS_E_SCRIPT_VARIABLE_NOT_FOUND MAKE_DMHRESULTERROR(0x021A) +#define DMUS_E_SCRIPT_ROUTINE_NOT_FOUND MAKE_DMHRESULTERROR(0x021B) +#define DMUS_E_SCRIPT_CONTENT_READONLY MAKE_DMHRESULTERROR(0x021C) +#define DMUS_E_SCRIPT_NOT_A_REFERENCE MAKE_DMHRESULTERROR(0x021D) +#define DMUS_E_SCRIPT_VALUE_NOT_SUPPORTED MAKE_DMHRESULTERROR(0x021E) +#define DMUS_E_INVALID_SEGMENTTRIGGERTRACK MAKE_DMHRESULTERROR(0x0220) +#define DMUS_E_INVALID_LYRICSTRACK MAKE_DMHRESULTERROR(0x0221) +#define DMUS_E_INVALID_PARAMCONTROLTRACK MAKE_DMHRESULTERROR(0x0222) +#define DMUS_E_AUDIOVBSCRIPT_SYNTAXERROR MAKE_DMHRESULTERROR(0x0223) +#define DMUS_E_AUDIOVBSCRIPT_RUNTIMEERROR MAKE_DMHRESULTERROR(0x0224) +#define DMUS_E_AUDIOVBSCRIPT_OPERATIONFAILURE MAKE_DMHRESULTERROR(0x0225) +#define DMUS_E_AUDIOPATHS_NOT_VALID MAKE_DMHRESULTERROR(0x0226) +#define DMUS_E_AUDIOPATHS_IN_USE MAKE_DMHRESULTERROR(0x0227) +#define DMUS_E_NO_AUDIOPATH_CONFIG MAKE_DMHRESULTERROR(0x0228) +#define DMUS_E_AUDIOPATH_INACTIVE MAKE_DMHRESULTERROR(0x0229) +#define DMUS_E_AUDIOPATH_NOBUFFER MAKE_DMHRESULTERROR(0x022A) +#define DMUS_E_AUDIOPATH_NOPORT MAKE_DMHRESULTERROR(0x022B) +#define DMUS_E_NO_AUDIOPATH MAKE_DMHRESULTERROR(0x022C) +#define DMUS_E_INVALIDCHUNK MAKE_DMHRESULTERROR(0x022D) +#define DMUS_E_AUDIOPATH_NOGLOBALFXBUFFER MAKE_DMHRESULTERROR(0x022E) +#define DMUS_E_INVALID_CONTAINER_OBJECT MAKE_DMHRESULTERROR(0x022F) + +#endif /* __WINE_DMUSIC_ERROR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmksctrl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmksctrl.h new file mode 100644 index 0000000..a35afe3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmksctrl.h @@ -0,0 +1,110 @@ +/* + * Definition of IKsControl + * + * Copyright (C) 2012 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _DMKSCTRL_ +#define _DMKSCTRL_ + +#include + +#include + +#ifndef _KS_ +#define _KS_ + +typedef struct { + union { + struct { + GUID Set; + ULONG Id; + ULONG Flags; + } DUMMYSTRUCTNAME; + LONGLONG Alignment; + } DUMMYUNIONNAME; +} KSIDENTIFIER, *PKSIDENTIFIER; + +typedef KSIDENTIFIER KSPROPERTY, *PKSPROPERTY, KSMETHOD, *PKSMETHOD, KSEVENT, *PKSEVENT; + +#define KSMETHOD_TYPE_NONE 0x00000000 +#define KSMETHOD_TYPE_READ 0x00000001 +#define KSMETHOD_TYPE_WRITE 0x00000002 +#define KSMETHOD_TYPE_MODIFY 0x00000003 +#define KSMETHOD_TYPE_SOURCE 0x00000004 + +#define KSMETHOD_TYPE_SEND 0x00000001 +#define KSMETHOD_TYPE_SETSUPPORT 0x00000100 +#define KSMETHOD_TYPE_BASICSUPPORT 0x00000200 + +#define KSPROPERTY_TYPE_GET 0x00000001 +#define KSPROPERTY_TYPE_SET 0x00000002 +#define KSPROPERTY_TYPE_SETSUPPORT 0x00000100 +#define KSPROPERTY_TYPE_BASICSUPPORT 0x00000200 +#define KSPROPERTY_TYPE_RELATIONS 0x00000400 +#define KSPROPERTY_TYPE_SERIALIZESET 0x00000800 +#define KSPROPERTY_TYPE_UNSERIALIZESET 0x00001000 +#define KSPROPERTY_TYPE_SERIALIZERAW 0x00002000 +#define KSPROPERTY_TYPE_UNSERIALIZERAW 0x00004000 +#define KSPROPERTY_TYPE_SERIALIZESIZE 0x00008000 +#define KSPROPERTY_TYPE_DEFAULTVALUES 0x00010000 + +#define KSPROPERTY_TYPE_TOPOLOGY 0x10000000 + +#define INTERFACE IKsControl +DECLARE_INTERFACE_(IKsControl,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IKsControl methods ***/ + STDMETHOD(KsProperty)(THIS_ PKSPROPERTY Property, ULONG PropertyLength, LPVOID PropertyData, + ULONG DataLength, ULONG* BytesReturned) PURE; + STDMETHOD(KsMethod)(THIS_ PKSMETHOD Method, ULONG MethodLength, LPVOID MethodData, + ULONG DataLength, ULONG* BytesReturned) PURE; + STDMETHOD(KsEvent)(THIS_ PKSEVENT Event, ULONG EventLength, LPVOID EventData, + ULONG DataLength, ULONG* BytesReturned) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IKsControl_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IKsControl_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IKsControl_Release(p) (p)->lpVtbl->Release(p) +/*** IKsControl methods ***/ +#define IKsControl_KsProperty(p,a,b,c,d,e) (p)->lpVtbl->KsProperty(p,a,b,c,d,e) +#define IKsControl_KsMethod(p,a,b,c,d,e) (p)->lpVtbl->KsMethod(p,a,b,c,d,e) +#define IKsControl_KsEvent(p,a,b,c,d,e) (p)->lpVtbl->KsEvent(p,a,b,c,d,e) +#endif + +#endif /* _KS_ */ + +#include + + +DEFINE_GUID(IID_IKsControl, 0x28f54685, 0x06fd, 0x11d2, 0xb2, 0x7a, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96); + +#ifndef _KSMEDIA_ + +DEFINE_GUID(KSDATAFORMAT_SUBTYPE_MIDI, 0x1d262760, 0xe957, 0x11cf, 0xa5, 0xd6, 0x28, 0xdb, 0x04, 0xc1, 0x00, 0x00); +DEFINE_GUID(KSDATAFORMAT_SUBTYPE_DIRECTMUSIC, 0x1a82f8bc, 0x3f8b, 0x11d2, 0xb7, 0x74, 0x00, 0x60, 0x08, 0x33, 0x16, 0xc1); + +#endif + +#endif /* _DMKSCTRL_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmo.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmo.h new file mode 100644 index 0000000..adc24b0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmo.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DMO_H__ +#define __DMO_H__ + +#include + +#ifdef FIX_LOCK_NAME +#define Lock DMOLock +#endif +#include +#ifdef FIX_LOCK_NAME +#undef Lock +#endif +#include +#include + +#endif /* __DMO_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmoreg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmoreg.h new file mode 100644 index 0000000..b1fedb8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmoreg.h @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DMOREG_H__ +#define __DMOREG_H__ + +#include "mediaobj.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _DMO_PARTIAL_MEDIATYPE +{ + GUID type; + GUID subtype; +} DMO_PARTIAL_MEDIATYPE, *PDMO_PARTIAL_MEDIATYPE; + +enum DMO_REGISTER_FLAGS +{ + DMO_REGISTERF_IS_KEYED = 1 +}; + +enum DMO_ENUM_FLAGS +{ + DMO_ENUMF_INCLUDE_KEYED = 1 +}; + +HRESULT WINAPI DMORegister(LPCWSTR,REFCLSID,REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*, + DWORD,const DMO_PARTIAL_MEDIATYPE*); +HRESULT WINAPI DMOUnregister(REFCLSID,REFGUID); +HRESULT WINAPI DMOEnum(REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,DWORD, + const DMO_PARTIAL_MEDIATYPE*,IEnumDMO**); +HRESULT WINAPI DMOGetTypes(REFCLSID,ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*, + ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*); +HRESULT WINAPI DMOGetName(REFCLSID,WCHAR[80]); + +DEFINE_GUID(DMOCATEGORY_AUDIO_DECODER, + 0x57f2db8b,0xe6bb,0x4513,0x9d,0x43,0xdc,0xd2,0xa6,0x59,0x31,0x25); +DEFINE_GUID(DMOCATEGORY_AUDIO_ENCODER, + 0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(DMOCATEGORY_VIDEO_DECODER, + 0x4a69b442,0x28be,0x4991,0x96,0x9c,0xb5,0x00,0xad,0xf5,0xd8,0xa8); +DEFINE_GUID(DMOCATEGORY_VIDEO_ENCODER, + 0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86); +DEFINE_GUID(DMOCATEGORY_AUDIO_EFFECT, + 0xf3602b3f,0x0592,0x48df,0xa4,0xcd,0x67,0x47,0x21,0xe7,0xeb,0xeb); +DEFINE_GUID(DMOCATEGORY_VIDEO_EFFECT, + 0xd990ee14,0x776c,0x4723,0xbe,0x46,0x3d,0xa2,0xf5,0x6f,0x10,0xb9); +DEFINE_GUID(DMOCATEGORY_AUDIO_CAPTURE_EFFECT, + 0xf665aaba,0x3e09,0x4920,0xaa,0x5f,0x21,0x98,0x11,0x14,0x8f,0x09); +DEFINE_GUID(DMOCATEGORY_ACOUSTIC_ECHO_CANCEL, + 0xbf963d80,0xc559,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1); +DEFINE_GUID(DMOCATEGORY_AUDIO_NOISE_SUPPRESS, + 0xe07f903f,0x62fd,0x4e60,0x8c,0xdd,0xde,0xa7,0x23,0x66,0x65,0xb5); +DEFINE_GUID(DMOCATEGORY_AGC, + 0xe88c9ba0,0xc557,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1); + +#ifdef __cplusplus +} +#endif + +#endif /* __DMOREG_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmort.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmort.h new file mode 100644 index 0000000..01b081d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmort.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DMORT_H__ +#define __DMORT_H__ + +HRESULT WINAPI MoCopyMediaType(DMO_MEDIA_TYPE*,const DMO_MEDIA_TYPE*); +HRESULT WINAPI MoCreateMediaType(DMO_MEDIA_TYPE**,DWORD); +HRESULT WINAPI MoDeleteMediaType(DMO_MEDIA_TYPE*); +HRESULT WINAPI MoDuplicateMediaType(DMO_MEDIA_TYPE**,const DMO_MEDIA_TYPE*); +HRESULT WINAPI MoFreeMediaType(DMO_MEDIA_TYPE*); +HRESULT WINAPI MoInitMediaType(DMO_MEDIA_TYPE*,DWORD); + +#endif /* __DMORT_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmplugin.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmplugin.h new file mode 100644 index 0000000..ccd9f6b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmplugin.h @@ -0,0 +1,299 @@ +/* + * DirectMusic Performance Layer Plugins API + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_PLUGIN_H +#define __WINE_DMUSIC_PLUGIN_H + +#include + +#define COM_NO_WINDOWS_H +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * Registry path + */ +#define DMUS_REGSTR_PATH_TOOLS "Software\\Microsoft\\DirectMusic\\Tools" + + +/***************************************************************************** + * Predeclare the interfaces + */ +/* CLSIDs */ +DEFINE_GUID(CLSID_DirectMusicBandTrack, 0xd2ac2894,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicChordTrack, 0xd2ac288b,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicChordMapTrack, 0xd2ac2896,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicCommandTrack, 0xd2ac288c,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicLyricsTrack, 0x995c1cf5,0x54ff,0x11d3,0x8b,0xda,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicMarkerTrack, 0x55a8fd00,0x4288,0x11d3,0x9b,0xd1,0x8a,0x0d,0x61,0xc8,0x88,0x35); +DEFINE_GUID(CLSID_DirectMusicMotifTrack, 0xd2ac288e,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicMuteTrack, 0xd2ac2898,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicParamControlTrack, 0x4be0537b,0x5c19,0x11d3,0x8b,0xdc,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicScriptTrack, 0x4108fa85,0x3586,0x11d3,0x8b,0xd7,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicSegmentTriggerTrack, 0xbae4d665,0x4ea1,0x11d3,0x8b,0xda,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicSeqTrack, 0xd2ac2886,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicSignPostTrack, 0xf17e8672,0xc3b4,0x11d1,0x87,0x0b,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicStyleTrack, 0xd2ac288d,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicSysExTrack, 0xd2ac2887,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicTempoTrack, 0xd2ac2885,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicTimeSigTrack, 0xd2ac2888,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicWaveTrack, 0xeed36461,0x9ea5,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); +/* MS doesn't support this in DX 9.0 and newer... but there's no harm in keeping it around */ +DEFINE_GUID(CLSID_DirectMusicMelodyFormulationTrack, 0xb0684266,0xb57f,0x11d2,0x97,0xf9,0x00,0xc0,0x4f,0xa3,0x6e,0x58); + +/* IIDs */ +DEFINE_GUID(IID_IDirectMusicTool, 0xd2ac28ba,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicTool8, 0x0e674303,0x3b05,0x11d3,0x9b,0xd1,0xf9,0xe7,0xf0,0xa0,0x15,0x36); +DEFINE_GUID(IID_IDirectMusicTrack, 0xf96029a1,0x4282,0x11d2,0x87,0x17,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicTrack8, 0x0e674304,0x3b05,0x11d3,0x9b,0xd1,0xf9,0xe7,0xf0,0xa0,0x15,0x36); + +/* typedef definitions */ +typedef struct IDirectMusicTrack *LPDIRECTMUSICTRACK; +typedef struct IDirectMusicTrack8 *LPDIRECTMUSICTRACK8; +typedef struct IDirectMusicTool *LPDIRECTMUSICTOOL; +typedef struct IDirectMusicTool8 *LPDIRECTMUSICTOOL8; +/* these are from dmusici.h and are needed here */ +typedef struct IDirectMusicPerformance *LPDIRECTMUSICPERFORMANCE; +typedef struct IDirectMusicPerformance8 *LPDIRECTMUSICPERFORMANCE8; +typedef struct IDirectMusicSegment *LPDIRECTMUSICSEGMENT; +typedef struct IDirectMusicSegment8 *LPDIRECTMUSICSEGMENT8; +typedef struct IDirectMusicSegmentState *LPDIRECTMUSICSEGMENTSTATE; +typedef struct IDirectMusicSegmentState8 *LPDIRECTMUSICSEGMENTSTATE8; +typedef struct IDirectMusicGraph *LPDIRECTMUSICGRAPH; +typedef struct IDirectMusicGraph IDirectMusicGraph8, *LPDIRECTMUSICGRAPH8; + + +/***************************************************************************** + * Typedef definitions + */ +typedef struct _DMUS_PMSG DMUS_PMSG; +typedef LONG MUSIC_TIME; + + +/***************************************************************************** + * Flags + */ +#define DMUS_TRACK_PARAMF_CLOCK 0x1 + +/***************************************************************************** + * Enumerations + */ +/* typedef definitions */ +typedef enum enumDMUS_TRACKF_FLAGS DMUS_TRACKF_FLAGS; + +/* actual enumerations */ +enum enumDMUS_TRACKF_FLAGS { + DMUS_TRACKF_SEEK = 0x001, + DMUS_TRACKF_LOOP = 0x002, + DMUS_TRACKF_START = 0x004, + DMUS_TRACKF_FLUSH = 0x008, + DMUS_TRACKF_DIRTY = 0x010, + DMUS_TRACKF_NOTIFY_OFF = 0x020, + DMUS_TRACKF_PLAY_OFF = 0x040, + DMUS_TRACKF_LOOPEND = 0x080, + DMUS_TRACKF_STOP = 0x100, + DMUS_TRACKF_RECOMPOSE = 0x200, + DMUS_TRACKF_CLOCK = 0x400, +}; + +/***************************************************************************** + * IDirectMusicTool interface + */ +#define INTERFACE IDirectMusicTool +DECLARE_INTERFACE_(IDirectMusicTool,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicTool methods ***/ + STDMETHOD(Init)(THIS_ struct IDirectMusicGraph *pGraph) PURE; + STDMETHOD(GetMsgDeliveryType)(THIS_ DWORD *pdwDeliveryType) PURE; + STDMETHOD(GetMediaTypeArraySize)(THIS_ DWORD *pdwNumElements) PURE; + STDMETHOD(GetMediaTypes)(THIS_ DWORD **padwMediaTypes, DWORD dwNumElements) PURE; + STDMETHOD(ProcessPMsg)(THIS_ struct IDirectMusicPerformance *pPerf, DMUS_PMSG *pPMSG) PURE; + STDMETHOD(Flush)(THIS_ struct IDirectMusicPerformance *pPerf, DMUS_PMSG *pPMSG, REFERENCE_TIME rtTime) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicTool_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicTool_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicTool_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicTool methods ***/ +#define IDirectMusicTool_Init(p,a) (p)->lpVtbl->Init(p,a) +#define IDirectMusicTool_GetMsgDeliveryType(p,a) (p)->lpVtbl->GetMsgDeliveryType(p,a) +#define IDirectMusicTool_GetMediaTypeArraySize(p,a) (p)->lpVtbl->GetMediaTypeArraySize(p,a) +#define IDirectMusicTool_GetMediaTypes(p,a,b) (p)->lpVtbl->GetMediaTypes(p,a,b) +#define IDirectMusicTool_ProcessPMsg(p,a,b) (p)->lpVtbl->ProcessPMsg(p,a,b) +#define IDirectMusicTool_Flush(p,a,b,c) (p)->lpVtbl->Flush(p,a,b,c) +#endif + + +/***************************************************************************** + * IDirectMusicTool8 interface + */ +#define INTERFACE IDirectMusicTool8 +DECLARE_INTERFACE_(IDirectMusicTool8,IDirectMusicTool) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicTool methods ***/ + STDMETHOD(Init)(THIS_ struct IDirectMusicGraph *pGraph) PURE; + STDMETHOD(GetMsgDeliveryType)(THIS_ DWORD *pdwDeliveryType) PURE; + STDMETHOD(GetMediaTypeArraySize)(THIS_ DWORD *pdwNumElements) PURE; + STDMETHOD(GetMediaTypes)(THIS_ DWORD **padwMediaTypes, DWORD dwNumElements) PURE; + STDMETHOD(ProcessPMsg)(THIS_ struct IDirectMusicPerformance *pPerf, DMUS_PMSG *pPMSG) PURE; + STDMETHOD(Flush)(THIS_ struct IDirectMusicPerformance *pPerf, DMUS_PMSG *pPMSG, REFERENCE_TIME rtTime) PURE; + /*** IDirectMusicTool8 methods ***/ + STDMETHOD(Clone)(THIS_ IDirectMusicTool **ppTool) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicTool8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicTool8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicTool8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicTool methods ***/ +#define IDirectMusicTool8_Init(p,a) (p)->lpVtbl->Init(p,a) +#define IDirectMusicTool8_GetMsgDeliveryType(p,a) (p)->lpVtbl->GetMsgDeliveryType(p,a) +#define IDirectMusicTool8_GetMediaTypeArraySize(p,a) (p)->lpVtbl->GetMediaTypeArraySize(p,a) +#define IDirectMusicTool8_GetMediaTypes(p,a,b) (p)->lpVtbl->GetMediaTypes(p,a,b) +#define IDirectMusicTool8_ProcessPMsg(p,a,b) (p)->lpVtbl->ProcessPMsg(p,a,b) +#define IDirectMusicTool8_Flush(p,a,b) (p)->lpVtbl->Flush(p,a,b) +/*** IDirectMusicTool8 methods ***/ +#define IDirectMusicTool8_Clone(p,a) (p)->lpVtbl->Clone(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicTrack interface + */ +#define INTERFACE IDirectMusicTrack +DECLARE_INTERFACE_(IDirectMusicTrack,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicTrack methods ***/ + STDMETHOD(Init)(THIS_ struct IDirectMusicSegment *pSegment) PURE; + STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState *pSegmentState, struct IDirectMusicPerformance *pPerformance, void **ppStateData, DWORD dwVirtualTrackID, DWORD dwFlags) PURE; + STDMETHOD(EndPlay)(THIS_ void *pStateData) PURE; + STDMETHOD(Play)(THIS_ void *pStateData, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, MUSIC_TIME mtOffset, DWORD dwFlags, struct IDirectMusicPerformance *pPerf, struct IDirectMusicSegmentState *pSegSt, DWORD dwVirtualID) PURE; + STDMETHOD(GetParam)(THIS_ REFGUID rguidType, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; + STDMETHOD(SetParam)(THIS_ REFGUID rguidType, MUSIC_TIME mtTime, void *pParam) PURE; + STDMETHOD(IsParamSupported)(THIS_ REFGUID rguidType) PURE; + STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack **ppTrack) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicTrack_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicTrack_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicTrack_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicTrack methods ***/ +#define IDirectMusicTrack_Init(p,a) (p)->lpVtbl->Init(p,a) +#define IDirectMusicTrack_InitPlay(p,a,b,c,d,e) (p)->lpVtbl->InitPlay(p,a,b,c,d,e) +#define IDirectMusicTrack_EndPlay(p,a) (p)->lpVtbl->EndPlay(p,a) +#define IDirectMusicTrack_Play(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Play(p,a,b,c,d,e,f,g,h) +#define IDirectMusicTrack_GetParam(p,a,b,c,d) (p)->lpVtbl->GetParam(p,a,b,c,d) +#define IDirectMusicTrack_SetParam(p,a,b,c) (p)->lpVtbl->SetParam(p,a,b,c) +#define IDirectMusicTrack_IsParamSupported(p,a) (p)->lpVtbl->IsParamSupported(p,a) +#define IDirectMusicTrack_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a) +#define IDirectMusicTrack_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) +#define IDirectMusicTrack_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#endif + + +/***************************************************************************** + * IDirectMusicTrack8 interface + */ +#define INTERFACE IDirectMusicTrack8 +DECLARE_INTERFACE_(IDirectMusicTrack8,IDirectMusicTrack) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicTrack methods ***/ + STDMETHOD(Init)(THIS_ struct IDirectMusicSegment *pSegment) PURE; + STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState *pSegmentState, struct IDirectMusicPerformance *pPerformance, void **ppStateData, DWORD dwVirtualTrackID, DWORD dwFlags) PURE; + STDMETHOD(EndPlay)(THIS_ void *pStateData) PURE; + STDMETHOD(Play)(THIS_ void *pStateData, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, MUSIC_TIME mtOffset, DWORD dwFlags, struct IDirectMusicPerformance *pPerf, struct IDirectMusicSegmentState *pSegSt, DWORD dwVirtualID) PURE; + STDMETHOD(GetParam)(THIS_ REFGUID rguidType, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; + STDMETHOD(SetParam)(THIS_ REFGUID rguidType, MUSIC_TIME mtTime, void *pParam) PURE; + STDMETHOD(IsParamSupported)(THIS_ REFGUID rguidType) PURE; + STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack **ppTrack) PURE; + /*** IDirectMusicTrack8 methods ***/ + STDMETHOD(PlayEx)(THIS_ void *pStateData, REFERENCE_TIME rtStart, REFERENCE_TIME rtEnd, REFERENCE_TIME rtOffset, DWORD dwFlags, struct IDirectMusicPerformance *pPerf, struct IDirectMusicSegmentState *pSegSt, DWORD dwVirtualID) PURE; + STDMETHOD(GetParamEx)(THIS_ REFGUID rguidType, REFERENCE_TIME rtTime, REFERENCE_TIME *prtNext, void *pParam, void *pStateData, DWORD dwFlags) PURE; + STDMETHOD(SetParamEx)(THIS_ REFGUID rguidType, REFERENCE_TIME rtTime, void *pParam, void *pStateData, DWORD dwFlags) PURE; + STDMETHOD(Compose)(THIS_ IUnknown *pContext, DWORD dwTrackGroup, IDirectMusicTrack **ppResultTrack) PURE; + STDMETHOD(Join)(THIS_ IDirectMusicTrack *pNewTrack, MUSIC_TIME mtJoin, IUnknown *pContext, DWORD dwTrackGroup, IDirectMusicTrack **ppResultTrack) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicTrack8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicTrack8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicTrack8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicTrack methods ***/ +#define IDirectMusicTrack8_Init(p,a) (p)->lpVtbl->Init(p,a) +#define IDirectMusicTrack8_InitPlay(p,a,b,c,d,e) (p)->lpVtbl->InitPlay(p,a,b,c,d,e) +#define IDirectMusicTrack8_EndPlay(p,a) (p)->lpVtbl->EndPlay(p,a) +#define IDirectMusicTrack8_Play(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Play(p,a,b,c,d,e,f,g,h) +#define IDirectMusicTrack8_GetParam(p,a,b,c,d) (p)->lpVtbl->GetParam(p,a,b,c,d) +#define IDirectMusicTrack8_SetParam(p,a,b,c) (p)->lpVtbl->SetParam(p,a,b,c) +#define IDirectMusicTrack8_IsParamSupported(p,a) (p)->lpVtbl->IsParamSupported(p,a) +#define IDirectMusicTrack8_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a) +#define IDirectMusicTrack8_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) +#define IDirectMusicTrack8_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +/*** IDirectMusicTrack8 methods ***/ +#define IDirectMusicTrack8_PlayEx(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->PlayEx(p,a,b,c,d,e,f,g,h) +#define IDirectMusicTrack8_GetParamEx(p,a,b,c,d,e,f) (p)->lpVtbl->GetParamEx(p,a,b,c,d,e,f) +#define IDirectMusicTrack8_SetParamEx(p,a,b,c,d,e) (p)->lpVtbl->SetParamEx(p,a,b,c,d,e) +#define IDirectMusicTrack8_Compose(p,a,b,c) (p)->lpVtbl->Compose(p,a,b,c) +#define IDirectMusicTrack8_Join(p,a,b,c,d,e) (p)->lpVtbl->Join(p,a,b,c,d,e) +#endif + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_DMUSIC_PLUGIN_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusbuff.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusbuff.h new file mode 100644 index 0000000..7632b1a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusbuff.h @@ -0,0 +1,52 @@ +/* DirectMusic Buffer Format + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_BUFFER_H +#define __WINE_DMUSIC_BUFFER_H + +#include + +/***************************************************************************** + * Misc. definitions + */ +#define QWORD_ALIGN(x) (((x) + 7) & ~7) +#define DMUS_EVENT_SIZE(cb) QWORD_ALIGN(sizeof(DMUS_EVENTHEADER) + cb) + +/***************************************************************************** + * Flags + */ +#define DMUS_EVENT_STRUCTURED 0x1 + +/***************************************************************************** + * Structures + */ +/* typedef definitions */ +typedef struct _DMUS_EVENTHEADER DMUS_EVENTHEADER, *LPDMUS_EVENTHEADER; + +/* actual structure*/ +#include +struct _DMUS_EVENTHEADER { + DWORD cbEvent; + DWORD dwChannelGroup; + REFERENCE_TIME rtDelta; + DWORD dwFlags; +}; +#include + +#endif /* __WINE_DMUSIC_BUFFER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusicc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusicc.h new file mode 100644 index 0000000..cdae16c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusicc.h @@ -0,0 +1,766 @@ +/* DirectMusic Core API Stuff + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_CORE_H +#define __WINE_DMUSIC_CORE_H + +#include + +#define COM_NO_WINDOWS_H +#include +#include + +#include +#include +#include +#include +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +/***************************************************************************** + * Predeclare the interfaces + */ +/* CLSIDs */ +DEFINE_GUID(CLSID_DirectMusic, 0x636b9f10,0x0c7d,0x11d1,0x95,0xb2,0x00,0x20,0xaf,0xdc,0x74,0x21); +DEFINE_GUID(CLSID_DirectMusicCollection, 0x480ff4b0,0x28b2,0x11d1,0xbe,0xf7,0x00,0xc0,0x4f,0xbf,0x8f,0xef); +DEFINE_GUID(CLSID_DirectMusicSynth, 0x58c2b4d0,0x46e7,0x11d1,0x89,0xac,0x00,0xa0,0xc9,0x05,0x41,0x29); + +/* IIDs */ +DEFINE_GUID(IID_IDirectMusic, 0x6536115a,0x7b2d,0x11d2,0xba,0x18,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(IID_IDirectMusic2, 0x6fc2cae1,0xbc78,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(IID_IDirectMusic8, 0x2d3629f7,0x813d,0x4939,0x85,0x08,0xf0,0x5c,0x6b,0x75,0xfd,0x97); +DEFINE_GUID(IID_IDirectMusicBuffer, 0xd2ac2878,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicCollection, 0xd2ac287c,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicDownload, 0xd2ac287b,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicDownloadedInstrument, 0xd2ac287e,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicInstrument, 0xd2ac287d,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicPort, 0x08f2d8c9,0x37c2,0x11d2,0xb9,0xf9,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(IID_IDirectMusicPortDownload, 0xd2ac287a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicThru, 0xced153e7,0x3606,0x11d2,0xb9,0xf9,0x00,0x00,0xf8,0x75,0xac,0x12); + +#define IID_IDirectMusicCollection8 IID_IDirectMusicCollection +#define IID_IDirectMusicDownload8 IID_IDirectMusicDownload +#define IID_IDirectMusicDownloadedInstrument8 IID_IDirectMusicDownloadedInstrument +#define IID_IDirectMusicInstrument8 IID_IDirectMusicInstrument +#define IID_IDirectMusicPort8 IID_IDirectMusicPort +#define IID_IDirectMusicPortDownload8 IID_IDirectMusicPortDownload +#define IID_IDirectMusicThru8 IID_IDirectMusicThru + +/* GUIDs - property set */ +DEFINE_GUID(GUID_DMUS_PROP_GM_Hardware, 0x178f2f24,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_GS_Capable, 0x6496aba2,0x61b0,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(GUID_DMUS_PROP_GS_Hardware, 0x178f2f25,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_DLS1, 0x178f2f27,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_DLS2, 0xf14599e5,0x4689,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(GUID_DMUS_PROP_Effects, 0xcda8d611,0x684a,0x11d2,0x87,0x1e,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_DMUS_PROP_INSTRUMENT2, 0x865fd372,0x9f67,0x11d2,0x87,0x2a,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_DMUS_PROP_LegacyCaps, 0xcfa7cdc2,0x00a1,0x11d2,0xaa,0xd5,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_MemorySize, 0x178f2f28,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_SampleMemorySize, 0x178f2f28,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_SamplePlaybackRate, 0x2a91f713,0xa4bf,0x11d2,0xbb,0xdf,0x00,0x60,0x08,0x33,0xdb,0xd8); +DEFINE_GUID(GUID_DMUS_PROP_SynthSink_DSOUND, 0x0aa97844,0xc877,0x11d1,0x87,0x0c,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_DMUS_PROP_SynthSink_WAVE, 0x0aa97845,0xc877,0x11d1,0x87,0x0c,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_DMUS_PROP_Volume, 0xfedfae25,0xe46e,0x11d1,0xaa,0xce,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_WavesReverb, 0x04cb5622,0x32e5,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(GUID_DMUS_PROP_WriteLatency, 0x268a0fa0,0x60f2,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(GUID_DMUS_PROP_WritePeriod, 0x268a0fa1,0x60f2,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(GUID_DMUS_PROP_XG_Capable, 0x6496aba1,0x61b0,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(GUID_DMUS_PROP_XG_Hardware, 0x178f2f26,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12); + +/* typedef definitions */ +typedef struct IDirectMusic *LPDIRECTMUSIC; +typedef struct IDirectMusic8 *LPDIRECTMUSIC8; +typedef struct IDirectMusicBuffer *LPDIRECTMUSICBUFFER; +typedef struct IDirectMusicBuffer IDirectMusicBuffer8, *LPDIRECTMUSICBUFFER8; +typedef struct IDirectMusicInstrument *LPDIRECTMUSICINSTRUMENT; +typedef struct IDirectMusicInstrument IDirectMusicInstrument8, *LPDIRECTMUSICINSTRUMENT8; +typedef struct IDirectMusicDownloadedInstrument *LPDIRECTMUSICDOWNLOADEDINSTRUMENT; +typedef struct IDirectMusicDownloadedInstrument IDirectMusicDownloadedInstrument8, *LPDIRECTMUSICDOWNLOADEDINSTRUMENT8; +typedef struct IDirectMusicCollection *LPDIRECTMUSICCOLLECTION; +typedef struct IDirectMusicCollection IDirectMusicCollection8, *LPDIRECTMUSICCOLLECTION8; +typedef struct IDirectMusicDownload *LPDIRECTMUSICDOWNLOAD; +typedef struct IDirectMusicDownload IDirectMusicDownload8, *LPDIRECTMUSICDOWNLOAD8; +typedef struct IDirectMusicPortDownload *LPDIRECTMUSICPORTDOWNLOAD; +typedef struct IDirectMusicPortDownload IDirectMusicPortDownload8, *LPDIRECTMUSICPORTDOWNLOAD8; +typedef struct IDirectMusicPort *LPDIRECTMUSICPORT; +typedef struct IDirectMusicPort IDirectMusicPort8, *LPDIRECTMUSICPORT8; +typedef struct IDirectMusicThru *LPDIRECTMUSICTHRU; +typedef struct IDirectMusicThru IDirectMusicThru8, *LPDIRECTMUSICTHRU8; +typedef struct IReferenceClock *LPREFERENCECLOCK; + + +/***************************************************************************** + * Typedef definitions + */ +typedef ULONGLONG SAMPLE_TIME, *LPSAMPLE_TIME; +typedef ULONGLONG SAMPLE_POSITION, *LPSAMPLE_POSITION; + + +/***************************************************************************** + * Flags + */ +#ifndef _DIRECTAUDIO_PRIORITIES_DEFINED_ +#define _DIRECTAUDIO_PRIORITIES_DEFINED_ + +#define DAUD_CRITICAL_VOICE_PRIORITY 0xF0000000 +#define DAUD_HIGH_VOICE_PRIORITY 0xC0000000 +#define DAUD_STANDARD_VOICE_PRIORITY 0x80000000 +#define DAUD_LOW_VOICE_PRIORITY 0x40000000 +#define DAUD_PERSIST_VOICE_PRIORITY 0x10000000 + +#define DAUD_CHAN1_VOICE_PRIORITY_OFFSET 0x0000000E +#define DAUD_CHAN2_VOICE_PRIORITY_OFFSET 0x0000000D +#define DAUD_CHAN3_VOICE_PRIORITY_OFFSET 0x0000000C +#define DAUD_CHAN4_VOICE_PRIORITY_OFFSET 0x0000000B +#define DAUD_CHAN5_VOICE_PRIORITY_OFFSET 0x0000000A +#define DAUD_CHAN6_VOICE_PRIORITY_OFFSET 0x00000009 +#define DAUD_CHAN7_VOICE_PRIORITY_OFFSET 0x00000008 +#define DAUD_CHAN8_VOICE_PRIORITY_OFFSET 0x00000007 +#define DAUD_CHAN9_VOICE_PRIORITY_OFFSET 0x00000006 +#define DAUD_CHAN10_VOICE_PRIORITY_OFFSET 0x0000000F +#define DAUD_CHAN11_VOICE_PRIORITY_OFFSET 0x00000005 +#define DAUD_CHAN12_VOICE_PRIORITY_OFFSET 0x00000004 +#define DAUD_CHAN13_VOICE_PRIORITY_OFFSET 0x00000003 +#define DAUD_CHAN14_VOICE_PRIORITY_OFFSET 0x00000002 +#define DAUD_CHAN15_VOICE_PRIORITY_OFFSET 0x00000001 +#define DAUD_CHAN16_VOICE_PRIORITY_OFFSET 0x00000000 + +#define DAUD_CHAN1_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN1_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN2_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN2_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN3_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN3_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN4_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN4_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN5_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN5_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN6_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN6_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN7_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN7_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN8_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN8_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN9_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN9_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN10_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN10_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN11_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN11_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN12_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN12_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN13_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN13_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN14_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN14_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN15_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN15_VOICE_PRIORITY_OFFSET) +#define DAUD_CHAN16_DEF_VOICE_PRIORITY (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN16_VOICE_PRIORITY_OFFSET) +#endif /* _DIRECTAUDIO_PRIORITIES_DEFINED_ */ + +#define DMUS_CLOCKF_GLOBAL 0x1 + +#define DMUS_EFFECT_NONE 0x0 +#define DMUS_EFFECT_REVERB 0x1 +#define DMUS_EFFECT_CHORUS 0x2 +#define DMUS_EFFECT_DELAY 0x4 + +#define DMUS_MAX_DESCRIPTION 0x80 +#define DMUS_MAX_DRIVER 0x80 + +#define DMUS_PC_INPUTCLASS 0x0 +#define DMUS_PC_OUTPUTCLASS 0x1 + +#define DMUS_PC_DLS 0x00000001 +#define DMUS_PC_EXTERNAL 0x00000002 +#define DMUS_PC_SOFTWARESYNTH 0x00000004 +#define DMUS_PC_MEMORYSIZEFIXED 0x00000008 +#define DMUS_PC_GMINHARDWARE 0x00000010 +#define DMUS_PC_GSINHARDWARE 0x00000020 +#define DMUS_PC_XGINHARDWARE 0x00000040 +#define DMUS_PC_DIRECTSOUND 0x00000080 +#define DMUS_PC_SHAREABLE 0x00000100 +#define DMUS_PC_DLS2 0x00000200 +#define DMUS_PC_AUDIOPATH 0x00000400 +#define DMUS_PC_WAVE 0x00000800 +#define DMUS_PC_SYSTEMMEMORY 0x7FFFFFFF + +#define DMUS_PORT_WINMM_DRIVER 0x0 +#define DMUS_PORT_USER_MODE_SYNTH 0x1 +#define DMUS_PORT_KERNEL_MODE 0x2 + +#define DMUS_PORT_FEATURE_AUDIOPATH 0x1 +#define DMUS_PORT_FEATURE_STREAMING 0x2 + +#define DMUS_PORTPARAMS_VOICES 0x01 +#define DMUS_PORTPARAMS_CHANNELGROUPS 0x02 +#define DMUS_PORTPARAMS_AUDIOCHANNELS 0x04 +#define DMUS_PORTPARAMS_SAMPLERATE 0x08 +#define DMUS_PORTPARAMS_EFFECTS 0x20 +#define DMUS_PORTPARAMS_SHARE 0x40 +#define DMUS_PORTPARAMS_FEATURES 0x80 + +#define DMUS_VOLUME_MAX 2000 +#define DMUS_VOLUME_MIN -20000 + +#define DMUS_SYNTHSTATS_VOICES 0x01 +#define DMUS_SYNTHSTATS_TOTAL_CPU 0x02 +#define DMUS_SYNTHSTATS_CPU_PER_VOICE 0x04 +#define DMUS_SYNTHSTATS_LOST_NOTES 0x08 +#define DMUS_SYNTHSTATS_PEAK_VOLUME 0x10 +#define DMUS_SYNTHSTATS_FREE_MEMORY 0x20 +#define DMUS_SYNTHSTATS_SYSTEMMEMORY DMUS_PC_SYSTEMMEMORY + +#define DSBUSID_FIRST_SPKR_LOC 0x00000000 +#define DSBUSID_FRONT_LEFT 0x00000000 +#define DSBUSID_LEFT 0x00000000 +#define DSBUSID_FRONT_RIGHT 0x00000001 +#define DSBUSID_RIGHT 0x00000001 +#define DSBUSID_FRONT_CENTER 0x00000002 +#define DSBUSID_LOW_FREQUENCY 0x00000003 +#define DSBUSID_BACK_LEFT 0x00000004 +#define DSBUSID_BACK_RIGHT 0x00000005 +#define DSBUSID_FRONT_LEFT_OF_CENTER 0x00000006 +#define DSBUSID_FRONT_RIGHT_OF_CENTER 0x00000007 +#define DSBUSID_BACK_CENTER 0x00000008 +#define DSBUSID_SIDE_LEFT 0x00000009 +#define DSBUSID_SIDE_RIGHT 0x0000000A +#define DSBUSID_TOP_CENTER 0x0000000B +#define DSBUSID_TOP_FRONT_LEFT 0x0000000C +#define DSBUSID_TOP_FRONT_CENTER 0x0000000D +#define DSBUSID_TOP_FRONT_RIGHT 0x0000000E +#define DSBUSID_TOP_BACK_LEFT 0x0000000F +#define DSBUSID_TOP_BACK_CENTER 0x00000010 +#define DSBUSID_TOP_BACK_RIGHT 0x011 +#define DSBUSID_LAST_SPKR_LOC 0x00000011 +#define DSBUSID_IS_SPKR_LOC(id) (((id) >= DSBUSID_FIRST_SPKR_LOC) && ((id) <= DSBUSID_LAST_SPKR_LOC)) + +#define DSBUSID_REVERB_SEND 0x00000040 +#define DSBUSID_CHORUS_SEND 0x00000041 + +#define DSBUSID_DYNAMIC_0 0x00000200 + +#define DSBUSID_NULL 0xFFFFFFFF + +/***************************************************************************** + * Enumerations + */ +typedef enum { + DMUS_CLOCK_SYSTEM = 0x0, + DMUS_CLOCK_WAVE = 0x1 +} DMUS_CLOCKTYPE; + + +/***************************************************************************** + * Structures + */ +/* typedef definitions */ +typedef struct _DMUS_BUFFERDESC DMUS_BUFFERDESC, *LPDMUS_BUFFERDESC; +typedef struct _DMUS_PORTCAPS DMUS_PORTCAPS, *LPDMUS_PORTCAPS; +typedef struct _DMUS_PORTPARAMS DMUS_PORTPARAMS7, *LPDMUS_PORTPARAMS7; +typedef struct _DMUS_PORTPARAMS8 DMUS_PORTPARAMS8, *LPDMUS_PORTPARAMS8; +typedef DMUS_PORTPARAMS8 DMUS_PORTPARAMS, *LPDMUS_PORTPARAMS; +typedef struct _DMUS_SYNTHSTATS DMUS_SYNTHSTATS, *LPDMUS_SYNTHSTATS; +typedef struct _DMUS_SYNTHSTATS8 DMUS_SYNTHSTATS8, *LPDMUS_SYNTHSTATS8; +typedef struct _DMUS_WAVES_REVERB_PARAMS DMUS_WAVES_REVERB_PARAMS, *LPDMUS_WAVES_REVERB_PARAMS; +typedef struct _DMUS_CLOCKINFO7 DMUS_CLOCKINFO7, *LPDMUS_CLOCKINFO7; +typedef struct _DMUS_CLOCKINFO8 DMUS_CLOCKINFO8, *LPDMUS_CLOCKINFO8; +typedef DMUS_CLOCKINFO8 DMUS_CLOCKINFO, *LPDMUS_CLOCKINFO; + + +/* actual structures */ +struct _DMUS_BUFFERDESC { + DWORD dwSize; + DWORD dwFlags; + GUID guidBufferFormat; + DWORD cbBuffer; +} ; + +struct _DMUS_PORTCAPS { + DWORD dwSize; + DWORD dwFlags; + GUID guidPort; + DWORD dwClass; + DWORD dwType; + DWORD dwMemorySize; + DWORD dwMaxChannelGroups; + DWORD dwMaxVoices; + DWORD dwMaxAudioChannels; + DWORD dwEffectFlags; + WCHAR wszDescription[DMUS_MAX_DESCRIPTION]; +}; + +struct _DMUS_PORTPARAMS { + DWORD dwSize; + DWORD dwValidParams; + DWORD dwVoices; + DWORD dwChannelGroups; + DWORD dwAudioChannels; + DWORD dwSampleRate; + DWORD dwEffectFlags; + BOOL fShare; +}; + +struct _DMUS_PORTPARAMS8 { + DWORD dwSize; + DWORD dwValidParams; + DWORD dwVoices; + DWORD dwChannelGroups; + DWORD dwAudioChannels; + DWORD dwSampleRate; + DWORD dwEffectFlags; + BOOL fShare; + DWORD dwFeatures; +}; + +struct _DMUS_SYNTHSTATS { + DWORD dwSize; + DWORD dwValidStats; + DWORD dwVoices; + DWORD dwTotalCPU; + DWORD dwCPUPerVoice; + DWORD dwLostNotes; + DWORD dwFreeMemory; + LONG lPeakVolume; +}; + +struct _DMUS_SYNTHSTATS8 { + DWORD dwSize; + DWORD dwValidStats; + DWORD dwVoices; + DWORD dwTotalCPU; + DWORD dwCPUPerVoice; + DWORD dwLostNotes; + DWORD dwFreeMemory; + LONG lPeakVolume; + DWORD dwSynthMemUse; +}; + +struct _DMUS_WAVES_REVERB_PARAMS { + float fInGain; + float fReverbMix; + float fReverbTime; + float fHighFreqRTRatio; +}; + +struct _DMUS_CLOCKINFO7 { + DWORD dwSize; + DMUS_CLOCKTYPE ctType; + GUID guidClock; + WCHAR wszDescription[DMUS_MAX_DESCRIPTION]; +}; + +struct _DMUS_CLOCKINFO8 { + DWORD dwSize; + DMUS_CLOCKTYPE ctType; + GUID guidClock; + WCHAR wszDescription[DMUS_MAX_DESCRIPTION]; + DWORD dwFlags; +}; + + +/***************************************************************************** + * IDirectMusic interface + */ +#define INTERFACE IDirectMusic +DECLARE_INTERFACE_(IDirectMusic,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusic methods ***/ + STDMETHOD(EnumPort)(THIS_ DWORD dwIndex, LPDMUS_PORTCAPS pPortCaps) PURE; + STDMETHOD(CreateMusicBuffer)(THIS_ LPDMUS_BUFFERDESC pBufferDesc, LPDIRECTMUSICBUFFER *ppBuffer, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(CreatePort)(THIS_ REFCLSID rclsidPort, LPDMUS_PORTPARAMS pPortParams, LPDIRECTMUSICPORT *ppPort, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumMasterClock)(THIS_ DWORD dwIndex, LPDMUS_CLOCKINFO lpClockInfo) PURE; + STDMETHOD(GetMasterClock)(THIS_ LPGUID pguidClock, struct IReferenceClock **ppReferenceClock) PURE; + STDMETHOD(SetMasterClock)(THIS_ REFGUID rguidClock) PURE; + STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE; + STDMETHOD(GetDefaultPort)(THIS_ LPGUID pguidPort) PURE; + STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, HWND hWnd) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusic_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusic_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusic_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusic methods ***/ +#define IDirectMusic_EnumPort(p,a,b) (p)->lpVtbl->EnumPort(p,a,b) +#define IDirectMusic_CreateMusicBuffer(p,a,b,c) (p)->lpVtbl->CreateMusicBuffer(p,a,b,c) +#define IDirectMusic_CreatePort(p,a,b,c,d) (p)->lpVtbl->CreatePort(p,a,b,c,d) +#define IDirectMusic_EnumMasterClock(p,a,b) (p)->lpVtbl->EnumMasterClock(p,a,b) +#define IDirectMusic_GetMasterClock(p,a,b) (p)->lpVtbl->GetMasterClock(p,a,b) +#define IDirectMusic_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a) +#define IDirectMusic_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusic_GetDefaultPort(p,a) (p)->lpVtbl->GetDefaultPort(p,a) +#define IDirectMusic_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b) +#endif + + +/***************************************************************************** + * IDirectMusic8 interface + */ +#define INTERFACE IDirectMusic8 +DECLARE_INTERFACE_(IDirectMusic8,IDirectMusic) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusic methods ***/ + STDMETHOD(EnumPort)(THIS_ DWORD dwIndex, LPDMUS_PORTCAPS pPortCaps) PURE; + STDMETHOD(CreateMusicBuffer)(THIS_ LPDMUS_BUFFERDESC pBufferDesc, LPDIRECTMUSICBUFFER *ppBuffer, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(CreatePort)(THIS_ REFCLSID rclsidPort, LPDMUS_PORTPARAMS pPortParams, LPDIRECTMUSICPORT *ppPort, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(EnumMasterClock)(THIS_ DWORD dwIndex, LPDMUS_CLOCKINFO lpClockInfo) PURE; + STDMETHOD(GetMasterClock)(THIS_ LPGUID pguidClock, struct IReferenceClock **ppReferenceClock) PURE; + STDMETHOD(SetMasterClock)(THIS_ REFGUID rguidClock) PURE; + STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE; + STDMETHOD(GetDefaultPort)(THIS_ LPGUID pguidPort) PURE; + STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, HWND hWnd) PURE; + /*** IDirectMusic8 methods ***/ + STDMETHOD(SetExternalMasterClock)(THIS_ struct IReferenceClock *pClock) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusic8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusic8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusic8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusic methods ***/ +#define IDirectMusic8_EnumPort(p,a,b) (p)->lpVtbl->EnumPort(p,a,b) +#define IDirectMusic8_CreateMusicBuffer(p,a,b,c) (p)->lpVtbl->CreateMusicBuffer(p,a,b,c) +#define IDirectMusic8_CreatePort(p,a,b,c,d) (p)->lpVtbl->CreatePort(p,a,b,c,d) +#define IDirectMusic8_EnumMasterClock(p,a,b) (p)->lpVtbl->EnumMasterClock(p,a,b) +#define IDirectMusic8_GetMasterClock(p,a,b) (p)->lpVtbl->GetMasterClock(p,a,b) +#define IDirectMusic8_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a) +#define IDirectMusic8_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusic8_GetDefaultPort(p,a) (p)->lpVtbl->GetDefaultPort(p,a) +#define IDirectMusic8_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b) +/*** IDirectMusic8 methods ***/ +#define IDirectMusic8_SetExternalMasterClock(p,a) (p)->lpVtbl->SetExternalMasterClock(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicBuffer interface + */ +#define INTERFACE IDirectMusicBuffer +DECLARE_INTERFACE_(IDirectMusicBuffer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicBuffer methods ***/ + STDMETHOD(Flush)(THIS) PURE; + STDMETHOD(TotalTime)(THIS_ LPREFERENCE_TIME prtTime) PURE; + STDMETHOD(PackStructured)(THIS_ REFERENCE_TIME rt, DWORD dwChannelGroup, DWORD dwChannelMessage) PURE; + STDMETHOD(PackUnstructured)(THIS_ REFERENCE_TIME rt, DWORD dwChannelGroup, DWORD cb, LPBYTE lpb) PURE; + STDMETHOD(ResetReadPtr)(THIS) PURE; + STDMETHOD(GetNextEvent)(THIS_ LPREFERENCE_TIME prt, LPDWORD pdwChannelGroup, LPDWORD pdwLength, LPBYTE *ppData) PURE; + STDMETHOD(GetRawBufferPtr)(THIS_ LPBYTE *ppData) PURE; + STDMETHOD(GetStartTime)(THIS_ LPREFERENCE_TIME prt) PURE; + STDMETHOD(GetUsedBytes)(THIS_ LPDWORD pcb) PURE; + STDMETHOD(GetMaxBytes)(THIS_ LPDWORD pcb) PURE; + STDMETHOD(GetBufferFormat)(THIS_ LPGUID pGuidFormat) PURE; + STDMETHOD(SetStartTime)(THIS_ REFERENCE_TIME rt) PURE; + STDMETHOD(SetUsedBytes)(THIS_ DWORD cb) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicBuffer methods ***/ +#define IDirectMusicBuffer_Flush(p) (p)->lpVtbl->Flush(p) +#define IDirectMusicBuffer_TotalTime(p,a) (p)->lpVtbl->TotalTime(p,a) +#define IDirectMusicBuffer_PackStructured(p,a,b,c) (p)->lpVtbl->PackStructured(p,a,b,c) +#define IDirectMusicBuffer_PackUnstructured(p,a,b,c,d) (p)->lpVtbl->PackUnstructured(p,a,b,c,d) +#define IDirectMusicBuffer_ResetReadPtr(p) (p)->lpVtbl->ResetReadPtr(p) +#define IDirectMusicBuffer_GetNextEvent(p,a,b,c,d) (p)->lpVtbl->GetNextEvent(p,a,b,c,d) +#define IDirectMusicBuffer_GetRawBufferPtr(p,a) (p)->lpVtbl->GetRawBufferPtr(p,a) +#define IDirectMusicBuffer_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a) +#define IDirectMusicBuffer_GetUsedBytes(p,a) (p)->lpVtbl->GetUsedBytes(p,a) +#define IDirectMusicBuffer_GetMaxBytes(p,a) (p)->lpVtbl->GetMaxBytes(p,a) +#define IDirectMusicBuffer_GetBufferFormat(p,a) (p)->lpVtbl->GetBufferFormat(p,a) +#define IDirectMusicBuffer_SetStartTime(p,a) (p)->lpVtbl->SetStartTime(p,a) +#define IDirectMusicBuffer_SetUsedBytes(p,a) (p)->lpVtbl->SetUsedBytes(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicInstrument interface + */ +#define INTERFACE IDirectMusicInstrument +DECLARE_INTERFACE_(IDirectMusicInstrument,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicInstrument methods ***/ + STDMETHOD(GetPatch)(THIS_ DWORD *pdwPatch) PURE; + STDMETHOD(SetPatch)(THIS_ DWORD dwPatch) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicInstrument_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicInstrument_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicInstrument_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicInstrument methods ***/ +#define IDirectMusicInstrument_GetPatch(p,a) (p)->lpVtbl->GetPatch(p,a) +#define IDirectMusicInstrument_SetPatch(p,a) (p)->lpVtbl->SetPatch(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicDownloadedInstrument interface + */ +#define INTERFACE IDirectMusicDownloadedInstrument +DECLARE_INTERFACE_(IDirectMusicDownloadedInstrument,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /* no IDirectMusicDownloadedInstrument methods at this time */ +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicDownloadedInstrument_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicDownloadedInstrument_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicDownloadedInstrument_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicDownloadedInstrument methods ***/ +/* none at this time */ +#endif + + +/***************************************************************************** + * IDirectMusicCollection interface + */ +#define INTERFACE IDirectMusicCollection +DECLARE_INTERFACE_(IDirectMusicCollection,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicCollection methods ***/ + STDMETHOD(GetInstrument)(THIS_ DWORD dwPatch, IDirectMusicInstrument **ppInstrument) PURE; + STDMETHOD(EnumInstrument)(THIS_ DWORD dwIndex, DWORD *pdwPatch, LPWSTR pwszName, DWORD dwNameLen) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicCollection_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicCollection_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicCollection_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicCollection methods ***/ +#define IDirectMusicCollection_GetInstrument(p,a,b) (p)->lpVtbl->GetInstrument(p,a,b) +#define IDirectMusicCollection_EnumInstrument(p,a,b,c,d) (p)->lpVtbl->EnumInstrument(p,a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectMusicDownload interface + */ +#define INTERFACE IDirectMusicDownload +DECLARE_INTERFACE_(IDirectMusicDownload,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicDownload methods ***/ + STDMETHOD(GetBuffer)(THIS_ void **ppvBuffer, DWORD *pdwSize) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicDownload_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicDownload_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicDownload_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicDownload methods ***/ +#define IDirectMusicDownload_GetBuffer(p,a,b) (p)->lpVtbl->GetBuffer(p,a,b) +#endif + + +/***************************************************************************** + * IDirectMusicPortDownload interface + */ +#define INTERFACE IDirectMusicPortDownload +DECLARE_INTERFACE_(IDirectMusicPortDownload,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicPortDownload methods ***/ + STDMETHOD(GetBuffer)(THIS_ DWORD dwDLId, IDirectMusicDownload **ppIDMDownload) PURE; + STDMETHOD(AllocateBuffer)(THIS_ DWORD dwSize, IDirectMusicDownload **ppIDMDownload) PURE; + STDMETHOD(GetDLId)(THIS_ DWORD *pdwStartDLId, DWORD dwCount) PURE; + STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE; + STDMETHOD(Download)(THIS_ IDirectMusicDownload *pIDMDownload) PURE; + STDMETHOD(Unload)(THIS_ IDirectMusicDownload *pIDMDownload) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicPortDownload_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicPortDownload_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicPortDownload_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicPortDownload methods ***/ +#define IDirectMusicPortDownload_GetBuffer(p,a,b) (p)->lpVtbl->GetBuffer(p,a,b) +#define IDirectMusicPortDownload_AllocateBuffer(p,a,b) (p)->lpVtbl->AllocateBuffer(p,a,b) +#define IDirectMusicPortDownload_GetDLId(p,a,b) (p)->lpVtbl->GetDLId(p,a,b) +#define IDirectMusicPortDownload_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a) +#define IDirectMusicPortDownload_Download(p,a) (p)->lpVtbl->Download(p,a) +#define IDirectMusicPortDownload_Unload(p,a) (p)->lpVtbl->GetBuffer(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicPort interface + */ +#define INTERFACE IDirectMusicPort +DECLARE_INTERFACE_(IDirectMusicPort,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicPort methods ***/ + STDMETHOD(PlayBuffer)(THIS_ LPDIRECTMUSICBUFFER pBuffer) PURE; + STDMETHOD(SetReadNotificationHandle)(THIS_ HANDLE hEvent) PURE; + STDMETHOD(Read)(THIS_ LPDIRECTMUSICBUFFER pBuffer) PURE; + STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInstrument, IDirectMusicDownloadedInstrument **ppDownloadedInstrument, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges) PURE; + STDMETHOD(UnloadInstrument)(THIS_ IDirectMusicDownloadedInstrument *pDownloadedInstrument) PURE; + STDMETHOD(GetLatencyClock)(THIS_ struct IReferenceClock **ppClock) PURE; + STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE; + STDMETHOD(Compact)(THIS) PURE; + STDMETHOD(GetCaps)(THIS_ LPDMUS_PORTCAPS pPortCaps) PURE; + STDMETHOD(DeviceIoControl)(THIS_ DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped) PURE; + STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwChannelGroups) PURE; + STDMETHOD(GetNumChannelGroups)(THIS_ LPDWORD pdwChannelGroups) PURE; + STDMETHOD(Activate)(THIS_ BOOL fActive) PURE; + STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE; + STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE; + STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, LPDIRECTSOUNDBUFFER pDirectSoundBuffer) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSize, LPDWORD pdwBufferSize) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicPort_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicPort_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicPort_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicPort methods ***/ +#define IDirectMusicPort_PlayBuffer(p,a) (p)->lpVtbl->PlayBuffer(p,a) +#define IDirectMusicPort_SetReadNotificationHandle(p,a) (p)->lpVtbl->SetReadNotificationHandle(p,a) +#define IDirectMusicPort_Read(p,a) (p)->lpVtbl->Read(p,a) +#define IDirectMusicPort_DownloadInstrument(p,a,b,c,d) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d) +#define IDirectMusicPort_UnloadInstrument(p,a) (p)->lpVtbl->UnloadInstrument(p,a) +#define IDirectMusicPort_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a) +#define IDirectMusicPort_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a) +#define IDirectMusicPort_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectMusicPort_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectMusicPort_DeviceIoControl(p,a,b,c,d,e,f,g) (p)->lpVtbl->DeviceIoControl(p,a,b,c,d,e,f,g) +#define IDirectMusicPort_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a) +#define IDirectMusicPort_GetNumChannelGroups(p,a) (p)->lpVtbl->GetNumChannelGroups(p,a) +#define IDirectMusicPort_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusicPort_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c) +#define IDirectMusicPort_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c) +#define IDirectMusicPort_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b) +#define IDirectMusicPort_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c) +#endif + + +/***************************************************************************** + * IDirectMusicThru interface + */ +#define INTERFACE IDirectMusicThru +DECLARE_INTERFACE_(IDirectMusicThru,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicThru methods ***/ + STDMETHOD(ThruChannel)(THIS_ DWORD dwSourceChannelGroup, DWORD dwSourceChannel, DWORD dwDestinationChannelGroup, DWORD dwDestinationChannel, LPDIRECTMUSICPORT pDestinationPort) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicThru_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicThru_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicThru_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicThru methods ***/ +#define IDirectMusicThru_ThruChannel(p,a,b,c,d,e) (p)->lpVtbl->ThruChannel(p,a,b,c,d,e) +#endif + + +#ifndef __IReferenceClock_INTERFACE_DEFINED__ +#define __IReferenceClock_INTERFACE_DEFINED__ +DEFINE_GUID(IID_IReferenceClock,0x56a86897,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70); + +/***************************************************************************** + * IReferenceClock interface + */ +#define INTERFACE IReferenceClock +DECLARE_INTERFACE_(IReferenceClock,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IReferenceClock methods ***/ + STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *pTime) PURE; + STDMETHOD(AdviseTime)(THIS_ REFERENCE_TIME baseTime, REFERENCE_TIME streamTime, HANDLE hEvent, DWORD *pdwAdviseCookie) PURE; + STDMETHOD(AdvisePeriodic)(THIS_ REFERENCE_TIME startTime, REFERENCE_TIME periodTime, HANDLE hSemaphore, DWORD *pdwAdviseCookie) PURE; + STDMETHOD(Unadvise)(THIS_ DWORD dwAdviseCookie) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IReferenceClock_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IReferenceClock_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IReferenceClock_Release(p) (p)->lpVtbl->Release(p) +/*** IReferenceClock methods ***/ +#define IReferenceClock_GetTime(p,a) (p)->lpVtbl->GetTime(p,a) +#define IReferenceClock_AdviseTime(p,a,b,c,d) (p)->lpVtbl->AdviseTime(p,a,b,c,d) +#define IReferenceClock_AdvisePeriodic(p,a,b,c,d) (p)->lpVtbl->AdvisePeriodic(p,a,b,c,d) +#define IReferenceClock_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a) +#endif + +#endif /* __IReferenceClock_INTERFACE_DEFINED__ */ + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_DMUSIC_CORE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusicf.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusicf.h new file mode 100644 index 0000000..bf488e5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusicf.h @@ -0,0 +1,909 @@ +/* + * DirectMusic File Formats + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_FILEFORMATS_H +#define __WINE_DMUSIC_FILEFORMATS_H + +#include + +#define COM_NO_WINDOWS_H +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +/***************************************************************************** + * FOURCC Definitions + */ +/* Common chunks */ +#define DMUS_FOURCC_GUID_CHUNK mmioFOURCC('g','u','i','d') +#define DMUS_FOURCC_INFO_LIST mmioFOURCC('I','N','F','O') +#define DMUS_FOURCC_UNFO_LIST mmioFOURCC('U','N','F','O') +#define DMUS_FOURCC_UNAM_CHUNK mmioFOURCC('U','N','A','M') +#define DMUS_FOURCC_UART_CHUNK mmioFOURCC('U','A','R','T') +#define DMUS_FOURCC_UCOP_CHUNK mmioFOURCC('U','C','O','P') +#define DMUS_FOURCC_USBJ_CHUNK mmioFOURCC('U','S','B','J') +#define DMUS_FOURCC_UCMT_CHUNK mmioFOURCC('U','C','M','T') +#define DMUS_FOURCC_CATEGORY_CHUNK mmioFOURCC('c','a','t','g') +#define DMUS_FOURCC_VERSION_CHUNK mmioFOURCC('v','e','r','s') +/* AudioPath */ +#define DMUS_FOURCC_AUDIOPATH_FORM mmioFOURCC('D','M','A','P') +#define DMUS_FOURCC_PORTCONFIGS_LIST mmioFOURCC('p','c','s','l') +#define DMUS_FOURCC_PORTCONFIG_LIST mmioFOURCC('p','c','f','l') +#define DMUS_FOURCC_PORTCONFIG_ITEM mmioFOURCC('p','c','f','h') +#define DMUS_FOURCC_PORTPARAMS_ITEM mmioFOURCC('p','p','r','h') +#define DMUS_FOURCC_DSBUFFER_LIST mmioFOURCC('d','b','f','l') +#define DMUS_FOURCC_DSBUFFATTR_ITEM mmioFOURCC('d','d','a','h') +#define DMUS_FOURCC_PCHANNELS_LIST mmioFOURCC('p','c','h','l') +#define DMUS_FOURCC_PCHANNELS_ITEM mmioFOURCC('p','c','h','h') +/* Band */ +#define DMUS_FOURCC_BAND_FORM mmioFOURCC('D','M','B','D') +#define DMUS_FOURCC_INSTRUMENTS_LIST mmioFOURCC('l','b','i','l') +#define DMUS_FOURCC_INSTRUMENT_LIST mmioFOURCC('l','b','i','n') +#define DMUS_FOURCC_INSTRUMENT_CHUNK mmioFOURCC('b','i','n','s') +/* Chordmap */ +#define DMUS_FOURCC_CHORDMAP_FORM mmioFOURCC('D','M','P','R') +#define DMUS_FOURCC_IOCHORDMAP_CHUNK mmioFOURCC('p','e','r','h') +#define DMUS_FOURCC_SUBCHORD_CHUNK mmioFOURCC('c','h','d','t') +#define DMUS_FOURCC_CHORDENTRY_CHUNK mmioFOURCC('c','h','e','h') +#define DMUS_FOURCC_SUBCHORDID_CHUNK mmioFOURCC('s','b','c','n') +#define DMUS_FOURCC_IONEXTCHORD_CHUNK mmioFOURCC('n','c','r','d') +#define DMUS_FOURCC_NEXTCHORDSEQ_CHUNK mmioFOURCC('n','c','s','q') +#define DMUS_FOURCC_IOSIGNPOST_CHUNK mmioFOURCC('s','p','s','h') +#define DMUS_FOURCC_CHORDNAME_CHUNK mmioFOURCC('I','N','A','M') +#define DMUS_FOURCC_CHORDENTRY_LIST mmioFOURCC('c','h','o','e') +#define DMUS_FOURCC_CHORDMAP_LIST mmioFOURCC('c','m','a','p') +#define DMUS_FOURCC_CHORD_LIST mmioFOURCC('c','h','r','d') +#define DMUS_FOURCC_CHORDPALETTE_LIST mmioFOURCC('c','h','p','l') +#define DMUS_FOURCC_CADENCE_LIST mmioFOURCC('c','a','d','e') +#define DMUS_FOURCC_SIGNPOSTITEM_LIST mmioFOURCC('s','p','s','t') +#define DMUS_FOURCC_SIGNPOST_LIST mmioFOURCC('s','p','s','q') +/* Container */ +#define DMUS_FOURCC_CONTAINER_FORM mmioFOURCC('D','M','C','N') +#define DMUS_FOURCC_CONTAINER_CHUNK mmioFOURCC('c','o','n','h') +#define DMUS_FOURCC_CONTAINED_ALIAS_CHUNK mmioFOURCC('c','o','b','a') +#define DMUS_FOURCC_CONTAINED_OBJECT_CHUNK mmioFOURCC('c','o','b','h') +#define DMUS_FOURCC_CONTAINED_OBJECTS_LIST mmioFOURCC('c','o','s','l') +#define DMUS_FOURCC_CONTAINED_OBJECT_LIST mmioFOURCC('c','o','b','l') +/* DirectSound Buffer Configuration */ +#define DMUS_FOURCC_DSBC_FORM mmioFOURCC('D','S','B','C') +#define DMUS_FOURCC_DSBD_CHUNK mmioFOURCC('d','s','b','d') +#define DMUS_FOURCC_BSID_CHUNK mmioFOURCC('b','s','i','d') +#define DMUS_FOURCC_DS3D_CHUNK mmioFOURCC('d','s','3','d') +#define DMUS_FOURCC_DSBC_LIST mmioFOURCC('f','x','l','s') +/* Effects */ +#define DMUS_FOURCC_DSFX_FORM mmioFOURCC('D','S','F','X') +#define DMUS_FOURCC_DSFX_CHUNK mmioFOURCC('f','x','h','r') +#define DMUS_FOURCC_DSFX_DATA mmioFOURCC('d','a','t','a') +/* Reference */ +#define DMUS_FOURCC_REF_LIST mmioFOURCC('D','M','R','F') +#define DMUS_FOURCC_REF_CHUNK mmioFOURCC('r','e','f','h') +#define DMUS_FOURCC_DATE_CHUNK mmioFOURCC('d','a','t','e') +#define DMUS_FOURCC_NAME_CHUNK mmioFOURCC('n','a','m','e') +#define DMUS_FOURCC_FILE_CHUNK mmioFOURCC('f','i','l','e') +/* Script */ +#define DMUS_FOURCC_SCRIPT_FORM mmioFOURCC('D','M','S','C') +#define DMUS_FOURCC_SCRIPT_CHUNK mmioFOURCC('s','c','h','d') +#define DMUS_FOURCC_SCRIPTVERSION_CHUNK mmioFOURCC('s','c','v','e') +#define DMUS_FOURCC_SCRIPTLANGUAGE_CHUNK mmioFOURCC('s','c','l','a') +#define DMUS_FOURCC_SCRIPTSOURCE_CHUNK mmioFOURCC('s','c','s','r') +/* Segment */ +#define DMUS_FOURCC_SEGMENT_FORM mmioFOURCC('D','M','S','G') +#define DMUS_FOURCC_SEGMENT_CHUNK mmioFOURCC('s','e','g','h') +#define DMUS_FOURCC_TRACK_LIST mmioFOURCC('t','r','k','l') +/* Style chunks */ +#define DMUS_FOURCC_STYLE_FORM mmioFOURCC('D','M','S','T') +#define DMUS_FOURCC_STYLE_CHUNK mmioFOURCC('s','t','y','h') +#define DMUS_FOURCC_PART_LIST mmioFOURCC('p','a','r','t') +#define DMUS_FOURCC_PART_CHUNK mmioFOURCC('p','r','t','h') +#define DMUS_FOURCC_NOTE_CHUNK mmioFOURCC('n','o','t','e') +#define DMUS_FOURCC_CURVE_CHUNK mmioFOURCC('c','r','v','e') +#define DMUS_FOURCC_MARKER_CHUNK mmioFOURCC('m','r','k','r') +#define DMUS_FOURCC_RESOLUTION_CHUNK mmioFOURCC('r','s','l','n') +#define DMUS_FOURCC_ANTICIPATION_CHUNK mmioFOURCC('a','n','p','n') +#define DMUS_FOURCC_PATTERN_LIST mmioFOURCC('p','t','t','n') +#define DMUS_FOURCC_PATTERN_CHUNK mmioFOURCC('p','t','n','h') +#define DMUS_FOURCC_RHYTHM_CHUNK mmioFOURCC('r','h','t','m') +#define DMUS_FOURCC_PARTREF_LIST mmioFOURCC('p','r','e','f') +#define DMUS_FOURCC_PARTREF_CHUNK mmioFOURCC('p','r','f','c') +#define DMUS_FOURCC_STYLE_PERS_REF_LIST mmioFOURCC('p','r','r','f') +#define DMUS_FOURCC_MOTIFSETTINGS_CHUNK mmioFOURCC('m','t','f','s') +/* Tool */ +#define DMUS_FOURCC_TOOL_FORM mmioFOURCC('D','M','T','L') +#define DMUS_FOURCC_TOOL_CHUNK mmioFOURCC('t','o','l','h') +/* ToolGraph */ +#define DMUS_FOURCC_TOOLGRAPH_FORM mmioFOURCC('D','M','T','G') +#define DMUS_FOURCC_TOOL_LIST mmioFOURCC('t','o','l','l') +/* Track */ +#define DMUS_FOURCC_TRACK_FORM mmioFOURCC('D','M','T','K') +#define DMUS_FOURCC_TRACK_CHUNK mmioFOURCC('t','r','k','h') +#define DMUS_FOURCC_TRACK_EXTRAS_CHUNK mmioFOURCC('t','r','k','x') +/* Band Track */ +#define DMUS_FOURCC_BANDTRACK_FORM mmioFOURCC('D','M','B','T') +#define DMUS_FOURCC_BANDTRACK_CHUNK mmioFOURCC('b','d','t','h') +#define DMUS_FOURCC_BANDS_LIST mmioFOURCC('l','b','d','l') +#define DMUS_FOURCC_BAND_LIST mmioFOURCC('l','b','n','d') +#define DMUS_FOURCC_BANDITEM_CHUNK mmioFOURCC('b','d','i','h') +#define DMUS_FOURCC_BANDITEM_CHUNK2 mmioFOURCC('b','d','2','h') +/* Chord Track */ +#define DMUS_FOURCC_CHORDTRACK_LIST mmioFOURCC('c','o','r','d') +#define DMUS_FOURCC_CHORDTRACKHEADER_CHUNK mmioFOURCC('c','r','d','h') +#define DMUS_FOURCC_CHORDTRACKBODY_CHUNK mmioFOURCC('c','r','d','b') +/* Chordmap Track */ +#define DMUS_FOURCC_PERS_TRACK_LIST mmioFOURCC('p','f','t','r') +#define DMUS_FOURCC_PERS_REF_LIST mmioFOURCC('p','f','r','f') +#define DMUS_FOURCC_TIME_STAMP_CHUNK mmioFOURCC('s','t','m','p') +/* Command Track */ +#define DMUS_FOURCC_COMMANDTRACK_CHUNK mmioFOURCC('c','m','n','d') +/* Lyrics Track */ +#define DMUS_FOURCC_LYRICSTRACK_LIST mmioFOURCC('l','y','r','t') +#define DMUS_FOURCC_LYRICSTRACKEVENTS_LIST mmioFOURCC('l','y','r','l') +#define DMUS_FOURCC_LYRICSTRACKEVENT_LIST mmioFOURCC('l','y','r','e') +#define DMUS_FOURCC_LYRICSTRACKEVENTHEADER_CHUNK mmioFOURCC('l','y','r','h') +#define DMUS_FOURCC_LYRICSTRACKEVENTTEXT_CHUNK mmioFOURCC('l','y','r','n') +/* Marker Track */ +#define DMUS_FOURCC_MARKERTRACK_LIST mmioFOURCC('M','A','R','K') +#define DMUS_FOURCC_VALIDSTART_CHUNK mmioFOURCC('v','a','l','s') +#define DMUS_FOURCC_PLAYMARKER_CHUNK mmioFOURCC('p','l','a','y') +/* Mute Track */ +#define DMUS_FOURCC_MUTE_CHUNK mmioFOURCC('m','u','t','e') +/* Parameter Control Track */ +#define DMUS_FOURCC_PARAMCONTROLTRACK_TRACK_LIST mmioFOURCC('p','r','m','t') +#define DMUS_FOURCC_PARAMCONTROLTRACK_OBJECT_LIST mmioFOURCC('p','r','o','l') +#define DMUS_FOURCC_PARAMCONTROLTRACK_OBJECT_CHUNK mmioFOURCC('p','r','o','h') +#define DMUS_FOURCC_PARAMCONTROLTRACK_PARAM_LIST mmioFOURCC('p','r','p','l') +#define DMUS_FOURCC_PARAMCONTROLTRACK_PARAM_CHUNK mmioFOURCC('p','r','p','h') +#define DMUS_FOURCC_PARAMCONTROLTRACK_CURVES_CHUNK mmioFOURCC('p','r','c','c') +/* Pattern Track */ +#define DMUS_FOURCC_PATTERN_FORM mmioFOURCC('D','M','P','T') +/* Script Track */ +#define DMUS_FOURCC_SCRIPTTRACK_LIST mmioFOURCC('s','c','r','t') +#define DMUS_FOURCC_SCRIPTTRACKEVENTS_LIST mmioFOURCC('s','c','r','l') +#define DMUS_FOURCC_SCRIPTTRACKEVENT_LIST mmioFOURCC('s','c','r','e') +#define DMUS_FOURCC_SCRIPTTRACKEVENTHEADER_CHUNK mmioFOURCC('s','c','r','h') +#define DMUS_FOURCC_SCRIPTTRACKEVENTNAME_CHUNK mmioFOURCC('s','c','r','n') +/* Segment Trgigger Track */ +#define DMUS_FOURCC_SEGTRACK_LIST mmioFOURCC('s','e','g','t') +#define DMUS_FOURCC_SEGTRACK_CHUNK mmioFOURCC('s','g','t','h') +#define DMUS_FOURCC_SEGMENTS_LIST mmioFOURCC('l','s','g','l') +#define DMUS_FOURCC_SEGMENT_LIST mmioFOURCC('l','s','e','g') +#define DMUS_FOURCC_SEGMENTITEM_CHUNK mmioFOURCC('s','g','i','h') +#define DMUS_FOURCC_SEGMENTITEMNAME_CHUNK mmioFOURCC('s','n','a','m') +/* Sequence Track */ +#define DMUS_FOURCC_SEQ_TRACK mmioFOURCC('s','e','q','t') +#define DMUS_FOURCC_SEQ_LIST mmioFOURCC('e','v','t','l') +#define DMUS_FOURCC_CURVE_LIST mmioFOURCC('c','u','r','l') +/* Signpost Track */ +#define DMUS_FOURCC_SIGNPOST_TRACK_CHUNK mmioFOURCC('s','g','n','p') +/* Style Track */ +#define DMUS_FOURCC_STYLE_TRACK_LIST mmioFOURCC('s','t','t','r') +#define DMUS_FOURCC_STYLE_REF_LIST mmioFOURCC('s','t','r','f') +/* SysEx Track */ +#define DMUS_FOURCC_SYSEX_TRACK mmioFOURCC('s','y','e','x') +/* Tempo Track */ +#define DMUS_FOURCC_TEMPO_TRACK mmioFOURCC('t','e','t','r') +/* Time Signature Track */ +#define DMUS_FOURCC_TIMESIGNATURE_TRACK mmioFOURCC('t','i','m','s') +#define DMUS_FOURCC_TIMESIGTRACK_LIST mmioFOURCC('T','I','M','S') +#define DMUS_FOURCC_TIMESIG_CHUNK DMUS_FOURCC_TIMESIGNATURE_TRACK +/* Wave Track */ +#define DMUS_FOURCC_WAVETRACK_LIST mmioFOURCC('w','a','v','t') +#define DMUS_FOURCC_WAVETRACK_CHUNK mmioFOURCC('w','a','t','h') +#define DMUS_FOURCC_WAVEPART_LIST mmioFOURCC('w','a','v','p') +#define DMUS_FOURCC_WAVEPART_CHUNK mmioFOURCC('w','a','p','h') +#define DMUS_FOURCC_WAVEITEM_LIST mmioFOURCC('w','a','v','i') +#define DMUS_FOURCC_WAVE_LIST mmioFOURCC('w','a','v','e') +#define DMUS_FOURCC_WAVEITEM_CHUNK mmioFOURCC('w','a','i','h') +/* Wave Header */ +#define DMUS_FOURCC_WAVEHEADER_CHUNK mmioFOURCC('w','a','v','h') + + +/***************************************************************************** + * Flags + */ +#define DMUS_BUFFERF_SHARED 0x1 +#define DMUS_BUFFERF_DEFINED 0x2 +#define DMUS_BUFFERF_MIXIN 0x8 + +#define DMUS_CHORDMAPF_VERSION8 0x1 + +#define DMUS_CONTAINED_OBJF_KEEP 0x1 + +#define DMUS_CONTAINER_NOLOADS 0x2 + +#define DMUS_IO_INST_PATCH 0x0001 +#define DMUS_IO_INST_BANKSELECT 0x0002 +#define DMUS_IO_INST_ASSIGN_PATCH 0x0008 +#define DMUS_IO_INST_NOTERANGES 0x0010 +#define DMUS_IO_INST_PAN 0x0020 +#define DMUS_IO_INST_VOLUME 0x0040 +#define DMUS_IO_INST_TRANSPOSE 0x0080 +#define DMUS_IO_INST_GM 0x0100 +#define DMUS_IO_INST_GS 0x0200 +#define DMUS_IO_INST_XG 0x0400 +#define DMUS_IO_INST_CHANNEL_PRIORITY 0x0800 +#define DMUS_IO_INST_USE_DEFAULT_GM_SET 0x1000 +#define DMUS_IO_INST_PITCHBENDRANGE 0x2000 + +#define DMUS_IO_SCRIPTTRACKF_PREPARE 0x1 +#define DMUS_IO_SCRIPTTRACKF_QUEUE 0x2 +#define DMUS_IO_SCRIPTTRACKF_ATTIME 0x4 + +#define DMUS_MARKERF_START 0x1 +#define DMUS_MARKERF_STOP 0x2 +#define DMUS_MARKERF_CHORD_ALIGN 0x4 + +#define DMUS_PATTERNF_PERSIST_CONTROL 0x1 + +#define DMUS_PARTF_USE_MARKERS 0x1 +#define DMUS_PARTF_ALIGN_CHORDS 0x2 + +#define DMUS_PORTCONFIGF_DRUMSON10 0x1 +#define DMUS_PORTCONFIGF_USEDEFAULT 0x2 + +#define DMUS_SCRIPTIOF_LOAD_ALL_CONTENT 0x1 +#define DMUS_SCRIPTIOF_DOWNLOAD_ALL_SEGMENTS 0x2 + +#define DMUS_SEGIOF_REFLENGTH 0x1 +#define DMUS_SEGIOF_CLOCKTIME 0x2 + +#define DMUS_SEGMENTTRACKF_MOTIF 0x1 + +/* Song flags; MS doesn't support this in DX 9.0 anymore */ +#define DMUS_SONG_MAXSEGID 0x7FFFFFFF +#define DMUS_SONG_ANYSEG 0x80000000 +#define DMUS_SONG_NOSEG 0xFFFFFFFF +#define DMUS_SONG_NOFROMSEG 0x80000001 + +#define DMUS_SIGNPOSTF_A 0x0001 +#define DMUS_SIGNPOSTF_B 0x0002 +#define DMUS_SIGNPOSTF_C 0x0004 +#define DMUS_SIGNPOSTF_D 0x0008 +#define DMUS_SIGNPOSTF_E 0x0010 +#define DMUS_SIGNPOSTF_F 0x0020 +#define DMUS_SIGNPOSTF_1 0x0100 +#define DMUS_SIGNPOSTF_2 0x0200 +#define DMUS_SIGNPOSTF_3 0x0400 +#define DMUS_SIGNPOSTF_4 0x0800 +#define DMUS_SIGNPOSTF_5 0x1000 +#define DMUS_SIGNPOSTF_6 0x2000 +#define DMUS_SIGNPOSTF_7 0x4000 +#define DMUS_SIGNPOSTF_CADENCE 0x8000 +#define DMUS_SIGNPOSTF_LETTER (DMUS_SIGNPOSTF_A | DMUS_SIGNPOSTF_B | DMUS_SIGNPOSTF_C | DMUS_SIGNPOSTF_D | DMUS_SIGNPOSTF_E | DMUS_SIGNPOSTF_F) +#define DMUS_SIGNPOSTF_ROOT (DMUS_SIGNPOSTF_1 | DMUS_SIGNPOSTF_2 | DMUS_SIGNPOSTF_3 | DMUS_SIGNPOSTF_4 | DMUS_SIGNPOSTF_5 | DMUS_SIGNPOSTF_6 | DMUS_SIGNPOSTF_7) + +#define DMUS_SPOSTCADENCEF_1 0x2 +#define DMUS_SPOSTCADENCEF_2 0x4 + +#define DMUS_VARIATIONF_MAJOR 0x0000007F +#define DMUS_VARIATIONF_MINOR 0x00003F80 +#define DMUS_VARIATIONF_OTHER 0x001FC000 +#define DMUS_VARIATIONF_ROOT_SCALE 0x00200000 +#define DMUS_VARIATIONF_ROOT_FLAT 0x00400000 +#define DMUS_VARIATIONF_ROOT_SHARP 0x00800000 +#define DMUS_VARIATIONF_TYPE_TRIAD 0x01000000 +#define DMUS_VARIATIONF_TYPE_6AND7 0x02000000 +#define DMUS_VARIATIONF_TYPE_COMPLEX 0x04000000 +#define DMUS_VARIATIONF_DEST_TO1 0x08000000 +#define DMUS_VARIATIONF_DEST_TO5 0x10000000 +#define DMUS_VARIATIONF_DEST_OTHER 0x40000000 +#define DMUS_VARIATIONF_MODES 0xE0000000 +#define DMUS_VARIATIONF_MODES_EX (0x20000000 | 0x80000000) +#define DMUS_VARIATIONF_IMA25_MODE 0x00000000 +#define DMUS_VARIATIONF_DMUS_MODE 0x20000000 + +#define DMUS_WAVETRACKF_SYNC_VAR 0x1 +#define DMUS_WAVETRACKF_PERSIST_CONTROL 0x2 + + +/***************************************************************************** + * Enumerations + */ +/* typedef definitions */ +typedef enum enumDMUS_VARIATIONT_TYPES DMUS_VARIATIONT_TYPES; +typedef enum enumDMUS_EMBELLISHT_TYPES DMUS_EMBELLISHT_TYPES; +typedef enum enumDMUS_PATTERNT_TYPES DMUS_PATTERNT_TYPES; + +/* actual enumerations */ +enum enumDMUS_VARIATIONT_TYPES { + DMUS_VARIATIONT_SEQUENTIAL = 0x0, + DMUS_VARIATIONT_RANDOM = 0x1, + DMUS_VARIATIONT_RANDOM_START = 0x2, + DMUS_VARIATIONT_NO_REPEAT = 0x3, + DMUS_VARIATIONT_RANDOM_ROW = 0x4 +}; + +enum enumDMUS_EMBELLISHT_TYPES { + DMUS_EMBELLISHT_NORMAL = 0x0000, + DMUS_EMBELLISHT_FILL = 0x0001, + DMUS_EMBELLISHT_BREAK = 0x0002, + DMUS_EMBELLISHT_INTRO = 0x0004, + DMUS_EMBELLISHT_END = 0x0008, + DMUS_EMBELLISHT_MOTIF = 0x0010, + DMUS_EMBELLISHT_ALL = 0xFFFF +}; + +enum enumDMUS_PATTERNT_TYPES { + DMUS_PATTERNT_RANDOM = 0x0, + DMUS_PATTERNT_REPEAT = 0x1, + DMUS_PATTERNT_SEQUENTIAL = 0x2, + DMUS_PATTERNT_RANDOM_START = 0x3, + DMUS_PATTERNT_NO_REPEAT = 0x4, + DMUS_PATTERNT_RANDOM_ROW = 0x5 +}; + + +/***************************************************************************** + * Structures + */ +/* typedef definitions */ +typedef struct _DMUS_IO_SEQ_ITEM DMUS_IO_SEQ_ITEM, *LPDMUS_IO_SEQ_ITEM; +typedef struct _DMUS_IO_CURVE_ITEM DMUS_IO_CURVE_ITEM, *LPDMUS_IO_CURVE_ITEM; +typedef struct _DMUS_IO_TEMPO_ITEM DMUS_IO_TEMPO_ITEM, *LPDMUS_IO_TEMPO_ITEM; +typedef struct _DMUS_IO_SYSEX_ITEM DMUS_IO_SYSEX_ITEM, *LPDMUS_IO_SYSEX_ITEM; +typedef struct DMUS_CHORD_KEY DMUS_CHORD_PARAM, *LPDMUS_CHORD_PARAM; /* in dmusici.h */ +typedef struct _DMUS_RHYTHM_PARAM DMUS_RHYTHM_PARAM, *LPDMUS_RHYTHM_PARAM; +typedef struct _DMUS_TEMPO_PARAM DMUS_TEMPO_PARAM, *LPDMUS_TEMPO_PARAM; +typedef struct _DMUS_MUTE_PARAM DMUS_MUTE_PARAM, *LPDMUS_MUTE_PARAM; +typedef struct _DMUS_IO_TIMESIG DMUS_IO_TIMESIG, *LPDMUS_IO_TIMESIG; +typedef struct _DMUS_IO_STYLE DMUS_IO_STYLE, *LPDMUS_IO_STYLE; +typedef struct _DMUS_IO_VERSION DMUS_IO_VERSION, *LPDMUS_IO_VERSION; +typedef struct _DMUS_IO_PATTERN DMUS_IO_PATTERN, *LPDMUS_IO_PATTERN; +typedef struct _DMUS_IO_STYLEPART DMUS_IO_STYLEPART, *LPDMUS_IO_STYLEPART; +typedef struct _DMUS_IO_PARTREF DMUS_IO_PARTREF, *LPDMUS_IO_PARTREF; +typedef struct _DMUS_IO_STYLENOTE DMUS_IO_STYLENOTE, *LPDMUS_IO_STYLENOTE; +typedef struct _DMUS_IO_STYLECURVE DMUS_IO_STYLECURVE, *LPDMUS_IO_STYLECURVE; +typedef struct _DMUS_IO_STYLEMARKER DMUS_IO_STYLEMARKER, *LPDMUS_IO_STYLEMARKER; +typedef struct _DMUS_IO_STYLERESOLUTION DMUS_IO_STYLERESOLUTION, *LPDMUS_IO_STYLERESOLUTION; +typedef struct _DMUS_IO_STYLE_ANTICIPATION DMUS_IO_STYLE_ANTICIPATION, *LPDMUS_IO_STYLE_ANTICIPATION; +typedef struct _DMUS_IO_MOTIFSETTINGS DMUS_IO_MOTIFSETTINGS, *LPDMUS_IO_MOTIFSETTINGS; +typedef struct _DMUS_IO_CHORD DMUS_IO_CHORD, *LPDMUS_IO_CHORD; +typedef struct _DMUS_IO_SUBCHORD DMUS_IO_SUBCHORD, *LPDMUS_IO_SUBCHORD; +typedef struct _DMUS_IO_COMMAND DMUS_IO_COMMAND, *LPDMUS_IO_COMMAND; +typedef struct _DMUS_IO_TOOL_HEADER DMUS_IO_TOOL_HEADER, *LPDMUS_IO_TOOL_HEADER; +typedef struct _DMUS_IO_PORTCONFIG_HEADER DMUS_IO_PORTCONFIG_HEADER, *LPDMUS_IO_PORTCONFIG_HEADER; +typedef struct _DMUS_IO_PCHANNELTOBUFFER_HEADER DMUS_IO_PCHANNELTOBUFFER_HEADER, *LPDMUS_IO_PCHANNELTOBUFFER_HEADER; +typedef struct _DMUS_IO_BUFFER_ATTRIBUTES_HEADER DMUS_IO_BUFFER_ATTRIBUTES_HEADER, *LPDMUS_IO_BUFFER_ATTRIBUTES_HEADER; +typedef struct _DMUS_IO_BAND_TRACK_HEADER DMUS_IO_BAND_TRACK_HEADER, *LPDMUS_IO_BAND_TRACK_HEADER; +typedef struct _DMUS_IO_BAND_ITEM_HEADER DMUS_IO_BAND_ITEM_HEADER, *LPDMUS_IO_BAND_ITEM_HEADER; +typedef struct _DMUS_IO_BAND_ITEM_HEADER2 DMUS_IO_BAND_ITEM_HEADER2, *LPDMUS_IO_BAND_ITEM_HEADER2; +typedef struct _DMUS_IO_INSTRUMENT DMUS_IO_INSTRUMENT, *LPDMUS_IO_INSTRUMENT; +typedef struct _DMUS_IO_WAVE_HEADER DMUS_IO_WAVE_HEADER, *LPDMUS_IO_WAVE_HEADER; +typedef struct _DMUS_IO_WAVE_TRACK_HEADER DMUS_IO_WAVE_TRACK_HEADER, *LPDMUS_IO_WAVE_TRACK_HEADER; +typedef struct _DMUS_IO_WAVE_PART_HEADER DMUS_IO_WAVE_PART_HEADER, *LPDMUS_IO_WAVE_PART_HEADER; +typedef struct _DMUS_IO_WAVE_ITEM_HEADER DMUS_IO_WAVE_ITEM_HEADER, *LPDMUS_IO_WAVE_ITEM_HEADER; +typedef struct _DMUS_IO_CONTAINER_HEADER DMUS_IO_CONTAINER_HEADER, *LPDMUS_IO_CONTAINER_HEADER; +typedef struct _DMUS_IO_CONTAINED_OBJECT_HEADER DMUS_IO_CONTAINED_OBJECT_HEADER, *LPDMUS_IO_CONTAINED_OBJECT_HEADER; +typedef struct _DMUS_IO_SEGMENT_HEADER DMUS_IO_SEGMENT_HEADER, *LPDMUS_IO_SEGMENT_HEADER; +typedef struct _DMUS_IO_TRACK_HEADER DMUS_IO_TRACK_HEADER, *LPDMUS_IO_TRACK_HEADER; +typedef struct _DMUS_IO_TRACK_EXTRAS_HEADER DMUS_IO_TRACK_EXTRAS_HEADER, *LPDMUS_IO_TRACK_EXTRAS_HEADER; +typedef struct _DMUS_IO_REFERENCE DMUS_IO_REFERENCE, *LPDMUS_IO_REFERENCE; +typedef struct _DMUS_IO_CHORDMAP DMUS_IO_CHORDMAP, *LPDMUS_IO_CHORDMAP; +typedef struct _DMUS_IO_CHORDMAP_SUBCHORD DMUS_IO_CHORDMAP_SUBCHORD, *LPDMUS_IO_CHORDMAP_SUBCHORD; +typedef struct _DMUS_IO_CHORDMAP_SUBCHORD DMUS_IO_PERS_SUBCHORD, *LPDMUS_IO_PERS_SUBCHORD; +typedef struct _DMUS_IO_CHORDENTRY DMUS_IO_CHORDENTRY, *LPDMUS_IO_CHORDENTRY; +typedef struct _DMUS_IO_NEXTCHORD DMUS_IO_NEXTCHORD, *LPDMUS_IO_NEXTCHORD; +typedef struct _DMUS_IO_CHORDMAP_SIGNPOST DMUS_IO_CHORDMAP_SIGNPOST, *LPDMUS_IO_CHORDMAP_SIGNPOST; +typedef struct _DMUS_IO_CHORDMAP_SIGNPOST DMUS_IO_PERS_SIGNPOST, *LPDMUS_IO_PERS_SIGNPOST; +typedef struct _DMUS_IO_SCRIPT_HEADER DMUS_IO_SCRIPT_HEADER, *LPDMUS_IO_SCRIPT_HEADER; +typedef struct _DMUS_IO_SIGNPOST DMUS_IO_SIGNPOST, *LPDMUS_IO_SIGNPOST; +typedef struct _DMUS_IO_MUTE DMUS_IO_MUTE, *LPDMUS_IO_MUTE; +typedef struct _DMUS_IO_TIMESIGNATURE_ITEM DMUS_IO_TIMESIGNATURE_ITEM, *LPDMUS_IO_TIMESIGNATURE_ITEM; +typedef struct _DMUS_IO_VALID_START DMUS_IO_VALID_START, *LPDMUS_IO_VALID_START; +typedef struct _DMUS_IO_PLAY_MARKER DMUS_IO_PLAY_MARKER, *LPDMUS_IO_PLAY_MARKER; +typedef struct _DMUS_IO_SEGMENT_TRACK_HEADER DMUS_IO_SEGMENT_TRACK_HEADER, *LPDMUS_IO_SEGMENT_TRACK_HEADER; +typedef struct _DMUS_IO_SEGMENT_ITEM_HEADER DMUS_IO_SEGMENT_ITEM_HEADER, *LPDMUS_IO_SEGMENT_ITEM_HEADER; +typedef struct _DMUS_IO_SCRIPTTRACK_EVENTHEADER DMUS_IO_SCRIPTTRACK_EVENTHEADER, *LPDMUS_IO_SCRIPTTRACK_EVENTHEADER; +typedef struct _DMUS_IO_LYRICSTRACK_EVENTHEADER DMUS_IO_LYRICSTRACK_EVENTHEADER, *LPDMUS_IO_LYRICSTRACK_EVENTHEADER; +typedef struct _DMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER DMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER, *LPDMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER; +typedef struct _DMUS_IO_PARAMCONTROLTRACK_PARAMHEADER DMUS_IO_PARAMCONTROLTRACK_PARAMHEADER, *LPDMUS_IO_PARAMCONTROLTRACK_PARAMHEADER; +typedef struct _DMUS_IO_PARAMCONTROLTRACK_CURVEINFO DMUS_IO_PARAMCONTROLTRACK_CURVEINFO, *LPDMUS_IO_PARAMCONTROLTRACK_CURVEINFO; +typedef struct _DSOUND_IO_DSBUFFERDESC DSOUND_IO_DSBUFFERDESC, *LPDSOUND_IO_DSBUFFERDESC; +typedef struct _DSOUND_IO_DSBUSID DSOUND_IO_DSBUSID, *LPDSOUND_IO_DSBUSID; +typedef struct _DSOUND_IO_3D DSOUND_IO_3D, *LPDSOUND_IO_3D; +typedef struct _DSOUND_IO_DXDMO_HEADER DSOUND_IO_DXDMO_HEADER, *LPDSOUND_IO_DXDMO_HEADER; +typedef struct _DSOUND_IO_DXDMO_DATA DSOUND_IO_DXDMO_DATA, *LPDSOUND_IO_DXDMO_DATA; + +/* actual structures */ +struct _DMUS_IO_SEQ_ITEM { + MUSIC_TIME mtTime; + MUSIC_TIME mtDuration; + DWORD dwPChannel; + short nOffset; + BYTE bStatus; + BYTE bByte1; + BYTE bByte2; +}; + +struct _DMUS_IO_CURVE_ITEM { + MUSIC_TIME mtStart; + MUSIC_TIME mtDuration; + MUSIC_TIME mtResetDuration; + DWORD dwPChannel; + short nOffset; + short nStartValue; + short nEndValue; + short nResetValue; + BYTE bType; + BYTE bCurveShape; + BYTE bCCData; + BYTE bFlags; + /* DX8 */ + WORD wParamType; + WORD wMergeIndex; +}; + +struct _DMUS_IO_TEMPO_ITEM { + MUSIC_TIME lTime; + double dblTempo; +}; + +struct _DMUS_IO_SYSEX_ITEM { + MUSIC_TIME mtTime; + DWORD dwPChannel; + DWORD dwSysExLength; +}; + +struct _DMUS_RHYTHM_PARAM { + DMUS_TIMESIGNATURE TimeSig; + DWORD dwRhythmPattern; +}; + +struct _DMUS_TEMPO_PARAM { + MUSIC_TIME mtTime; + double dblTempo; +}; + +struct _DMUS_MUTE_PARAM { + DWORD dwPChannel; + DWORD dwPChannelMap; + BOOL fMute; +}; + +#pragma pack(2) +struct _DMUS_IO_TIMESIG { + BYTE bBeatsPerMeasure; + BYTE bBeat; + WORD wGridsPerBeat; +}; + +struct _DMUS_IO_STYLE { + DMUS_IO_TIMESIG timeSig; + double dblTempo; +}; + +struct _DMUS_IO_VERSION { + DWORD dwVersionMS; + DWORD dwVersionLS; +}; + +struct _DMUS_IO_PATTERN { + DMUS_IO_TIMESIG timeSig; + BYTE bGrooveBottom; + BYTE bGrooveTop; + WORD wEmbellishment; + WORD wNbrMeasures; + BYTE bDestGrooveBottom; + BYTE bDestGrooveTop; + DWORD dwFlags; +}; + +struct _DMUS_IO_STYLEPART { + DMUS_IO_TIMESIG timeSig; + DWORD dwVariationChoices[32]; + GUID guidPartID; + WORD wNbrMeasures; + BYTE bPlayModeFlags; + BYTE bInvertUpper; + BYTE bInvertLower; + BYTE bPad[3]; + DWORD dwFlags; +}; + +struct _DMUS_IO_PARTREF { + GUID guidPartID; + WORD wLogicalPartID; + BYTE bVariationLockID; + BYTE bSubChordLevel; + BYTE bPriority; + BYTE bRandomVariation; + WORD wPad; + DWORD dwPChannel; +}; + + +struct _DMUS_IO_STYLENOTE { + MUSIC_TIME mtGridStart; + DWORD dwVariation; + MUSIC_TIME mtDuration; + short nTimeOffset; + WORD wMusicValue; + BYTE bVelocity; + BYTE bTimeRange; + BYTE bDurRange; + BYTE bVelRange; + BYTE bInversionID; + BYTE bPlayModeFlags; + /* DX8 */ + BYTE bNoteFlags; +}; + +struct _DMUS_IO_STYLECURVE { + MUSIC_TIME mtGridStart; + DWORD dwVariation; + MUSIC_TIME mtDuration; + MUSIC_TIME mtResetDuration; + short nTimeOffset; + short nStartValue; + short nEndValue; + short nResetValue; + BYTE bEventType; + BYTE bCurveShape; + BYTE bCCData; + BYTE bFlags; + /* DX8 */ + WORD wParamType; + WORD wMergeIndex; +}; + +struct _DMUS_IO_STYLEMARKER { + MUSIC_TIME mtGridStart; + DWORD dwVariation; + WORD wMarkerFlags; +}; + +struct _DMUS_IO_STYLERESOLUTION { + DWORD dwVariation; + WORD wMusicValue; + BYTE bInversionID; + BYTE bPlayModeFlags; +}; + +struct _DMUS_IO_STYLE_ANTICIPATION { + MUSIC_TIME mtGridStart; + DWORD dwVariation; + short nTimeOffset; + BYTE bTimeRange; +}; + +struct _DMUS_IO_MOTIFSETTINGS { + DWORD dwRepeats; + MUSIC_TIME mtPlayStart; + MUSIC_TIME mtLoopStart; + MUSIC_TIME mtLoopEnd; + DWORD dwResolution; +}; +#pragma pack() + +struct _DMUS_IO_CHORD { + WCHAR wszName[16]; + MUSIC_TIME mtTime; + WORD wMeasure; + BYTE bBeat; + BYTE bFlags; +}; + +struct _DMUS_IO_SUBCHORD { + DWORD dwChordPattern; + DWORD dwScalePattern; + DWORD dwInversionPoints; + DWORD dwLevels; + BYTE bChordRoot; + BYTE bScaleRoot; +}; + +struct _DMUS_IO_COMMAND { + MUSIC_TIME mtTime; + WORD wMeasure; + BYTE bBeat; + BYTE bCommand; + BYTE bGrooveLevel; + BYTE bGrooveRange; + BYTE bRepeatMode; +}; + +struct _DMUS_IO_TOOL_HEADER { + GUID guidClassID; + LONG lIndex; + DWORD cPChannels; + FOURCC ckid; + FOURCC fccType; + DWORD dwPChannels[1]; +}; + +struct _DMUS_IO_PORTCONFIG_HEADER { + GUID guidPort; + DWORD dwPChannelBase; + DWORD dwPChannelCount; + DWORD dwFlags; +}; + +struct _DMUS_IO_PCHANNELTOBUFFER_HEADER { + DWORD dwPChannelBase; + DWORD dwPChannelCount; + DWORD dwBufferCount; + DWORD dwFlags; +}; + +struct _DMUS_IO_BUFFER_ATTRIBUTES_HEADER { + GUID guidBufferID; + DWORD dwFlags; +}; + +struct _DMUS_IO_BAND_TRACK_HEADER { + BOOL bAutoDownload; +}; + +struct _DMUS_IO_BAND_ITEM_HEADER { + MUSIC_TIME lBandTime; +}; + +struct _DMUS_IO_BAND_ITEM_HEADER2 { + MUSIC_TIME lBandTimeLogical; + MUSIC_TIME lBandTimePhysical; +}; + +struct _DMUS_IO_INSTRUMENT { + DWORD dwPatch; + DWORD dwAssignPatch; + DWORD dwNoteRanges[4]; + DWORD dwPChannel; + DWORD dwFlags; + BYTE bPan; + BYTE bVolume; + short nTranspose; + DWORD dwChannelPriority; + short nPitchBendRange; +}; + +struct _DMUS_IO_WAVE_HEADER { + REFERENCE_TIME rtReadAhead; + DWORD dwFlags; +}; + +struct _DMUS_IO_WAVE_TRACK_HEADER { + LONG lVolume; + DWORD dwFlags; +}; + +struct _DMUS_IO_WAVE_PART_HEADER { + LONG lVolume; + DWORD dwVariations; + DWORD dwPChannel; + DWORD dwLockToPart; + DWORD dwFlags; + DWORD dwIndex; +}; + +struct _DMUS_IO_WAVE_ITEM_HEADER { + LONG lVolume; + LONG lPitch; + DWORD dwVariations; + REFERENCE_TIME rtTime; + REFERENCE_TIME rtStartOffset; + REFERENCE_TIME rtReserved; + REFERENCE_TIME rtDuration; + MUSIC_TIME mtLogicalTime; + DWORD dwLoopStart; + DWORD dwLoopEnd; + DWORD dwFlags; + WORD wVolumeRange; + WORD wPitchRange; +}; + +struct _DMUS_IO_CONTAINER_HEADER { + DWORD dwFlags; +}; + +struct _DMUS_IO_CONTAINED_OBJECT_HEADER { + GUID guidClassID; + DWORD dwFlags; + FOURCC ckid; + FOURCC fccType; +}; + +struct _DMUS_IO_SEGMENT_HEADER { + DWORD dwRepeats; + MUSIC_TIME mtLength; + MUSIC_TIME mtPlayStart; + MUSIC_TIME mtLoopStart; + MUSIC_TIME mtLoopEnd; + DWORD dwResolution; + /* DX8 */ + REFERENCE_TIME rtLength; + DWORD dwFlags; + DWORD dwReserved; + /* DX9 */ + REFERENCE_TIME rtLoopStart; + REFERENCE_TIME rtLoopEnd; + REFERENCE_TIME rtPlayStart; +}; + +struct _DMUS_IO_TRACK_HEADER { + GUID guidClassID; + DWORD dwPosition; + DWORD dwGroup; + FOURCC ckid; + FOURCC fccType; +}; + +struct _DMUS_IO_TRACK_EXTRAS_HEADER { + DWORD dwFlags; + DWORD dwPriority; +}; + +struct _DMUS_IO_REFERENCE { + GUID guidClassID; + DWORD dwValidData; +}; + +struct _DMUS_IO_CHORDMAP { + WCHAR wszLoadName[20]; + DWORD dwScalePattern; + DWORD dwFlags; +}; + +struct _DMUS_IO_CHORDMAP_SUBCHORD { + DWORD dwChordPattern; + DWORD dwScalePattern; + DWORD dwInvertPattern; + BYTE bChordRoot; + BYTE bScaleRoot; + WORD wCFlags; + DWORD dwLevels; +}; + +struct _DMUS_IO_CHORDENTRY { + DWORD dwFlags; + WORD wConnectionID; +}; + +struct _DMUS_IO_NEXTCHORD { + DWORD dwFlags; + WORD nWeight; + WORD wMinBeats; + WORD wMaxBeats; + WORD wConnectionID; +}; + +struct _DMUS_IO_CHORDMAP_SIGNPOST { + DWORD dwChords; + DWORD dwFlags; +}; + +struct _DMUS_IO_SCRIPT_HEADER { + DWORD dwFlags; +}; + +struct _DMUS_IO_SIGNPOST { + MUSIC_TIME mtTime; + DWORD dwChords; + WORD wMeasure; +}; + +struct _DMUS_IO_MUTE { + MUSIC_TIME mtTime; + DWORD dwPChannel; + DWORD dwPChannelMap; +}; + +struct _DMUS_IO_TIMESIGNATURE_ITEM { + MUSIC_TIME lTime; + BYTE bBeatsPerMeasure; + BYTE bBeat; + WORD wGridsPerBeat; +}; + +struct _DMUS_IO_VALID_START { + MUSIC_TIME mtTime; +}; + +struct _DMUS_IO_PLAY_MARKER { + MUSIC_TIME mtTime; +}; + +struct _DMUS_IO_SEGMENT_TRACK_HEADER { + DWORD dwFlags; +}; + +struct _DMUS_IO_SEGMENT_ITEM_HEADER { + MUSIC_TIME lTimeLogical; + MUSIC_TIME lTimePhysical; + DWORD dwPlayFlags; + DWORD dwFlags; +}; + +struct _DMUS_IO_SCRIPTTRACK_EVENTHEADER { + DWORD dwFlags; + MUSIC_TIME lTimeLogical; + MUSIC_TIME lTimePhysical; +}; + +struct _DMUS_IO_LYRICSTRACK_EVENTHEADER { + DWORD dwFlags; + DWORD dwTimingFlags; + MUSIC_TIME lTimeLogical; + MUSIC_TIME lTimePhysical; +}; + +struct _DMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER { + DWORD dwFlags; + GUID guidTimeFormat; + DWORD dwPChannel; + DWORD dwStage; + DWORD dwBuffer; + GUID guidObject; + DWORD dwIndex; +}; + +struct _DMUS_IO_PARAMCONTROLTRACK_PARAMHEADER { + DWORD dwFlags; + DWORD dwIndex; +}; + +struct _DMUS_IO_PARAMCONTROLTRACK_CURVEINFO { + MUSIC_TIME mtStartTime; + MUSIC_TIME mtEndTime; + float fltStartValue; + float fltEndValue; + DWORD dwCurveType; + DWORD dwFlags; +}; + +struct _DSOUND_IO_DSBUFFERDESC { + DWORD dwFlags; + WORD nChannels; + LONG lVolume; + LONG lPan; + DWORD dwReserved; +}; + +struct _DSOUND_IO_DSBUSID { + DWORD busid[1]; +}; + +struct _DSOUND_IO_3D { + GUID guid3DAlgorithm; + DS3DBUFFER ds3d; +}; + +struct _DSOUND_IO_DXDMO_HEADER { + DWORD dwEffectFlags; + GUID guidDSFXClass; + GUID guidReserved; + GUID guidSendBuffer; + DWORD dwReserved; +}; + +struct _DSOUND_IO_DXDMO_DATA { + DWORD data[1]; +}; + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_DMUSIC_FILEFORMATS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusici.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusici.h new file mode 100644 index 0000000..7e393ea --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusici.h @@ -0,0 +1,1733 @@ +/* + * DirectMusic Performance API + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_PERFORMANCE_H +#define __WINE_DMUSIC_PERFORMANCE_H + +#include + +#define COM_NO_WINDOWS_H +#include +#include +#include +#include +#include + +#ifdef WINE_NO_UNICODE_MACROS +#undef AddPort +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * Predeclare the interfaces + */ +/* CLSIDs */ +DEFINE_GUID(CLSID_DirectMusicAudioPathConfig, 0xee0b9ca0,0xa81e,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); +DEFINE_GUID(CLSID_DirectMusicBand, 0x79ba9e00,0xb6ee,0x11d1,0x86,0xbe,0x00,0xc0,0x4f,0xbf,0x8f,0xef); +DEFINE_GUID(CLSID_DirectMusicChordMap, 0xd2ac288f,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicComposer, 0xd2ac2890,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicContainer, 0x9301e380,0x1f22,0x11d3,0x82,0x26,0xd2,0xfa,0x76,0x25,0x5d,0x47); +DEFINE_GUID(CLSID_DirectMusicGraph, 0xd2ac2884,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicLoader, 0xd2ac2892,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicPatternTrack, 0xd2ac2897,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicPerformance, 0xd2ac2881,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicScript, 0x810b5013,0xe88d,0x11d2,0x8b,0xc1,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicSegment, 0xd2ac2882,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicSegmentState, 0xd2ac2883,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicStyle, 0xd2ac288a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectSoundWave, 0x8a667154,0xf9cb,0x11d2,0xad,0x8a,0x00,0x60,0xb0,0x57,0x5a,0xbc); +/* MS doesn't support this in DX 9.0 and newer... but there's no harm in keeping it around */ +DEFINE_GUID(CLSID_DirectMusicSong, 0xaed5f0a5,0xd972,0x483d,0xa3,0x84,0x64,0x9d,0xfe,0xb9,0xc1,0x81); +/* these CLSIDs aren't officially declared in any dmusic header, but are used by wine's regsvr implementations*/ +DEFINE_GUID(CLSID_DirectMusicSynthSink, 0xaec17ce3,0xa514,0x11d1,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(CLSID_DirectMusicSection, 0x3f037241,0x414e,0x11d1,0xa7,0xce,0x00,0xa0,0xc9,0x13,0xf7,0x3c); +DEFINE_GUID(CLSID_DirectMusicAuditionTrack, 0xd2ac2897,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(CLSID_DirectMusicSegTriggerTrack, 0xbae4d665,0x4ea1,0x11d3,0x8b,0xda,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicTemplate, 0xd30bcc65,0x60e8,0x11d1,0xa7,0xce,0x00,0xa0,0xc9,0x13,0xf7,0x3c); +DEFINE_GUID(CLSID_DirectMusicScriptAutoImpSegment, 0x4062c116,0x0270,0x11d3,0x8b,0xcb,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_AudioVBScript, 0x4ee17959,0x931e,0x49e4,0xa2,0xc6,0x97,0x7e,0xcf,0x36,0x28,0xf3); +DEFINE_GUID(CLSID_DirectMusicScriptAutoImpPerformance, 0xa861c6e2,0xfcfc,0x11d2,0x8b,0xc9,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicScriptSourceCodeLoader, 0xc70eb77f,0xefd4,0x4678,0xa2,0x7b,0xbf,0x16,0x48,0xf3,0x0d,0x04); +DEFINE_GUID(CLSID_DirectMusicScriptAutoImpSegmentState, 0xebf2320a,0x2502,0x11d3,0x8b,0xd1,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(CLSID_DirectMusicScriptAutoImpAudioPathConfig, 0x1cebde3e,0x6b91,0x484a,0xaf,0x48,0x5e,0x4f,0x4e,0xd6,0xb1,0xe1); +DEFINE_GUID(CLSID_DirectMusicScriptAutoImpAudioPath, 0x2c5f9b72,0x7148,0x4d97,0xbf,0xc9,0x68,0xa0,0xe0,0x76,0xbe,0xbd); +DEFINE_GUID(CLSID_DirectMusicScriptAutoImpSong, 0xa16f1761,0xb6d8,0x42eb,0x8d,0x57,0x4a,0x44,0xfe,0xdd,0x3b,0xd2); + +/* IIDs */ +DEFINE_GUID(IID_IDirectMusicAudioPath, 0xc87631f5,0x23be,0x4986,0x88,0x36,0x05,0x83,0x2f,0xcc,0x48,0xf9); +DEFINE_GUID(IID_IDirectMusicBand, 0xd2ac28c0,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicChordMap, 0xd2ac28be,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicComposer, 0xd2ac28bf,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicContainer, 0x9301e386,0x1f22,0x11d3,0x82,0x26,0xd2,0xfa,0x76,0x25,0x5d,0x47); +DEFINE_GUID(IID_IDirectMusicGetLoader, 0x68a04844,0xd13d,0x11d1,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(IID_IDirectMusicGraph, 0x2befc277,0x5497,0x11d2,0xbc,0xcb,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +DEFINE_GUID(IID_IDirectMusicLoader, 0x2ffaaca2,0x5dca,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(IID_IDirectMusicLoader8, 0x19e7c08c,0x0a44,0x4e6a,0xa1,0x16,0x59,0x5a,0x7c,0xd5,0xde,0x8c); +DEFINE_GUID(IID_IDirectMusicObject, 0xd2ac28b5,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicPatternTrack, 0x51c22e10,0xb49f,0x46fc,0xbe,0xc2,0xe6,0x28,0x8f,0xb9,0xed,0xe6); +DEFINE_GUID(IID_IDirectMusicPerformance, 0x07d43d03,0x6523,0x11d2,0x87,0x1d,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicPerformance2, 0x6fc2cae0,0xbc78,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(IID_IDirectMusicPerformance8, 0x679c4137,0xc62e,0x4147,0xb2,0xb4,0x9d,0x56,0x9a,0xcb,0x25,0x4c); +DEFINE_GUID(IID_IDirectMusicScript, 0x2252373a,0x5814,0x489b,0x82,0x09,0x31,0xfe,0xde,0xba,0xf1,0x37); +DEFINE_GUID(IID_IDirectMusicSegment, 0xf96029a2,0x4282,0x11d2,0x87,0x17,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicSegment2, 0xd38894d1,0xc052,0x11d2,0x87,0x2f,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicSegment8, 0xc6784488,0x41a3,0x418f,0xaa,0x15,0xb3,0x50,0x93,0xba,0x42,0xd4); +DEFINE_GUID(IID_IDirectMusicSegmentState, 0xa3afdcc7,0xd3ee,0x11d1,0xbc,0x8d,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +DEFINE_GUID(IID_IDirectMusicSegmentState8, 0xa50e4730,0x0ae4,0x48a7,0x98,0x39,0xbc,0x04,0xbf,0xe0,0x77,0x72); +DEFINE_GUID(IID_IDirectMusicStyle, 0xd2ac28bd,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(IID_IDirectMusicStyle8, 0xfd24ad8a,0xa260,0x453d,0xbf,0x50,0x6f,0x93,0x84,0xf7,0x09,0x85); + +/* IIDs of unchanged interfaces */ +#define IID_IDirectMusicAudioPath8 IID_IDirectMusicAudioPath +#define IID_IDirectMusicBand8 IID_IDirectMusicBand +#define IID_IDirectMusicChordMap8 IID_IDirectMusicChordMap +#define IID_IDirectMusicComposer8 IID_IDirectMusicComposer +#define IID_IDirectMusicContainer8 IID_IDirectMusicContainer +#define IID_IDirectMusicGetLoader8 IID_IDirectMusicGetLoader +#define IID_IDirectMusicGraph8 IID_IDirectMusicGraph +#define IID_IDirectMusicObject8 IID_IDirectMusicObject +#define IID_IDirectMusicPatternTrack8 IID_IDirectMusicPatternTrack +#define IID_IDirectMusicScript8 IID_IDirectMusicScript + +/* typedef definitions */ +typedef struct IDirectMusicBand *LPDIRECTMUSICBAND; +typedef struct IDirectMusicBand IDirectMusicBand8, *LPDIRECTMUSICBAND8; +typedef struct IDirectMusicObject *LPDIRECTMUSICOBJECT; +typedef struct IDirectMusicObject IDirectMusicObject8, *LPDIRECTMUSICOBJECT8; +typedef struct IDirectMusicLoader *LPDIRECTMUSICLOADER; +typedef struct IDirectMusicLoader8 *LPDIRECTMUSICLOADER8; +typedef struct IDirectMusicGetLoader *LPDIRECTMUSICGETLOADER; +typedef struct IDirectMusicGetLoader IDirectMusicGetLoader8, *LPDIRECTMUSICGETLOADER8; +typedef struct IDirectMusicAudioPath *LPDIRECTMUSICAUDIOPATH; +typedef struct IDirectMusicAudioPath IDirectMusicAudioPath8, *LPDIRECTMUSICAUDIOPATH8; +typedef struct IDirectMusicStyle *LPDIRECTMUSICSTYLE; +typedef struct IDirectMusicStyle8 *LPDIRECTMUSICSTYLE8; +typedef struct IDirectMusicChordMap *LPDIRECTMUSICCHORDMAP; +typedef struct IDirectMusicChordMap IDirectMusicChordMap8, *LPDIRECTMUSICCHORDMAP8; +typedef struct IDirectMusicComposer *LPDIRECTMUSICCOMPOSER; +typedef struct IDirectMusicComposer IDirectMusicComposer8, *LPDIRECTMUSICCOMPOSER8; +typedef struct IDirectMusicPatternTrack *LPDIRECTMUSICPATTERNTRACK; +typedef struct IDirectMusicPatternTrack IDirectMusicPatternTrack8, *LPDIRECTMUSICPATTERNTRACK8; +typedef struct IDirectMusicScript *LPDIRECTMUSICSCRIPT; +typedef struct IDirectMusicScript IDirectMusicScript8, *LPDIRECTMUSICSCRIPT8; +typedef struct IDirectMusicContainer *LPDIRECTMUSICCONTAINER; +typedef struct IDirectMusicContainer IDirectMusicContainer8, *LPDIRECTMUSICCONTAINER8; + +/* RPC declarations */ +typedef struct IDirectMusicBand *LPDMUS_BAND; +typedef struct IDirectMusicLoader *LPDMUS_LOADER; +typedef struct IDirectMusicObject *LPDMUS_OBJECT; + +/* GUIDs - all types loader */ +DEFINE_GUID(GUID_DirectMusicAllTypes, 0xd2ac2893,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +/* GUIDs - notification */ +DEFINE_GUID(GUID_NOTIFICATION_CHORD, 0xd2ac289b,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_NOTIFICATION_COMMAND, 0xd2ac289c,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_NOTIFICATION_MEASUREANDBEAT, 0xd2ac289a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_NOTIFICATION_PERFORMANCE, 0x81f75bc5,0x4e5d,0x11d2,0xbc,0xc7,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +DEFINE_GUID(GUID_NOTIFICATION_RECOMPOSE, 0xd348372b,0x945b,0x45ae,0xa5,0x22,0x45,0x0f,0x12,0x5b,0x84,0xa5); +DEFINE_GUID(GUID_NOTIFICATION_SEGMENT, 0xd2ac2899,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +/* GUIDs - param types */ +DEFINE_GUID(GUID_BandParam, 0x02bb1938,0xcb8b,0x11d2,0x8b,0xb9,0x00,0x60,0x08,0x93,0xb1,0xb6); +DEFINE_GUID(GUID_ChordParam, 0xd2ac289e,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_CommandParam, 0xd2ac289d,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_CommandParam2, 0x28f97ef7,0x9538,0x11d2,0x97,0xa9,0x00,0xc0,0x4f,0xa3,0x6e,0x58); +DEFINE_GUID(GUID_CommandParamNext, 0x472afe7a,0x281b,0x11d3,0x81,0x7d,0x00,0xc0,0x4f,0xa3,0x6e,0x58); +DEFINE_GUID(GUID_IDirectMusicBand, 0xd2ac28ac,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_IDirectMusicChordMap, 0xd2ac28ad,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_IDirectMusicStyle, 0xd2ac28a1,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_MuteParam, 0xd2ac28af,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_Play_Marker, 0xd8761a41,0x801a,0x11d3,0x9b,0xd1,0xda,0xf7,0xe1,0xc3,0xd8,0x34); +DEFINE_GUID(GUID_RhythmParam, 0xd2ac289f,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_TempoParam, 0xd2ac28a5,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_TimeSignature, 0xd2ac28a4,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_Valid_Start_Time, 0x7f6b1760,0x1fdb,0x11d3,0x82,0x26,0x44,0x45,0x53,0x54,0x00,0x00); +/* GUIDs - param setting */ +DEFINE_GUID(GUID_Clear_All_Bands, 0xd2ac28ab,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_ConnectToDLSCollection, 0x1db1ae6b,0xe92e,0x11d1,0xa8,0xc5,0x00,0xc0,0x4f,0xa3,0x72,0x6e); +DEFINE_GUID(GUID_Disable_Auto_Download, 0xd2ac28aa,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_DisableTempo, 0x45fc707d,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +DEFINE_GUID(GUID_DisableTimeSig, 0x45fc707b,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +DEFINE_GUID(GUID_Download, 0xd2ac28a7,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_DownloadToAudioPath, 0x9f2c0341,0xc5c4,0x11d3,0x9b,0xd1,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Enable_Auto_Download, 0xd2ac28a9,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_EnableTempo, 0x45fc707e,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +DEFINE_GUID(GUID_EnableTimeSig, 0x45fc707c,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +#define GUID_IgnoreBankSelectForGM GUID_StandardMIDIFile +DEFINE_GUID(GUID_SeedVariations, 0x65b76fa5,0xff37,0x11d2,0x81,0x4e,0x00,0xc0,0x4f,0xa3,0x6e,0x58); +DEFINE_GUID(GUID_StandardMIDIFile, 0x06621075,0xe92e,0x11d1,0xa8,0xc5,0x00,0xc0,0x4f,0xa3,0x72,0x6e); +DEFINE_GUID(GUID_Unload, 0xd2ac28a8,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_UnloadFromAudioPath, 0x9f2c0342,0xc5c4,0x11d3,0x9b,0xd1,0x44,0x45,0x53,0x54,0x00,0x00); +DEFINE_GUID(GUID_Variations, 0x11f72cce,0x26e6,0x4ecd,0xaf,0x2e,0xd6,0x68,0xe6,0x67,0x07,0xd8); +/* GUIDs - global data */ +DEFINE_GUID(GUID_PerfMasterTempo, 0xd2ac28b0,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_PerfMasterVolume, 0xd2ac28b1,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_PerfMasterGrooveLevel, 0xd2ac28b2,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); +DEFINE_GUID(GUID_PerfAutoDownload, 0xfb09565b,0x3631,0x11d2,0xbc,0xb8,0x00,0xa0,0xc9,0x22,0xe6,0xeb); +/* GUID - default DLS collection */ +DEFINE_GUID(GUID_DefaultGMCollection, 0xf17e8673,0xc3b4,0x11d1,0x87,0x0b,0x00,0x60,0x08,0x93,0xb1,0xbd); +/* GUID - default synthesizer */ +DEFINE_GUID(GUID_Synth_Default, 0x26bb9432,0x45fe,0x48d3,0xa3,0x75,0x24,0x72,0xc5,0xe3,0xe7,0x86); +/* GUIDs - define default buffer configuration */ +DEFINE_GUID(GUID_Buffer_Reverb, 0x186cc541,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); +DEFINE_GUID(GUID_Buffer_EnvReverb, 0x186cc542,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); +DEFINE_GUID(GUID_Buffer_Stereo, 0x186cc545,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); +DEFINE_GUID(GUID_Buffer_3D_Dry, 0x186cc546,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); +DEFINE_GUID(GUID_Buffer_Mono, 0x186cc547,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); + + +/***************************************************************************** + * Typedef definitions + */ +typedef WORD TRANSITION_TYPE, *LPTRANSITION_TYPE; +/* + * typedef __int64 REFERENCE_TIME, *LPREFERENCE_TIME; + * typedef LONG MUSIC_TIME, *LPMUSIC_TIME; + */ + + +/***************************************************************************** + * Flags + */ +#define DMUS_APATH_SHARED_STEREOPLUSREVERB 0x1 +#define DMUS_APATH_DYNAMIC_3D 0x6 +#define DMUS_APATH_DYNAMIC_MONO 0x7 +#define DMUS_APATH_DYNAMIC_STEREO 0x8 + +#define DMUS_AUDIOF_3D 0x01 +#define DMUS_AUDIOF_ENVIRON 0x02 +#define DMUS_AUDIOF_EAX 0x04 +#define DMUS_AUDIOF_DMOS 0x08 +#define DMUS_AUDIOF_STREAMING 0x10 +#define DMUS_AUDIOF_BUFFERS 0x20 +#define DMUS_AUDIOF_ALL 0x3F + +#define DMUS_AUDIOPARAMS_FEATURES 0x1 +#define DMUS_AUDIOPARAMS_VOICES 0x2 +#define DMUS_AUDIOPARAMS_SAMPLERATE 0x4 +#define DMUS_AUDIOPARAMS_DEFAULTSYNTH 0x8 + +#define DMUS_CURVET_PBCURVE 0x03 +#define DMUS_CURVET_CCCURVE 0x04 +#define DMUS_CURVET_MATCURVE 0x05 +#define DMUS_CURVET_PATCURVE 0x06 +#define DMUS_CURVET_RPNCURVE 0x07 +#define DMUS_CURVET_NRPNCURVE 0x08 + +#define DMUS_MASTERTEMPO_MAX 100.0f +#define DMUS_MASTERTEMPO_MIN 0.01f + +#define DMUS_MAX_NAME 0x40 +#define DMUS_MAX_CATEGORY 0x40 +#define DMUS_MAX_FILENAME MAX_PATH + +#define DMUS_MAXSUBCHORD 0x8 + +#define DMUS_NOTIFICATION_SEGSTART 0x0 +#define DMUS_NOTIFICATION_SEGEND 0x1 +#define DMUS_NOTIFICATION_SEGALMOSTEND 0x2 +#define DMUS_NOTIFICATION_SEGLOOP 0x3 +#define DMUS_NOTIFICATION_SEGABORT 0x4 +#define DMUS_NOTIFICATION_MUSICSTARTED 0x0 +#define DMUS_NOTIFICATION_MUSICSTOPPED 0x1 +#define DMUS_NOTIFICATION_MUSICALMOSTEND 0x2 +#define DMUS_NOTIFICATION_MEASUREBEAT 0x0 +#define DMUS_NOTIFICATION_CHORD 0x0 +#define DMUS_NOTIFICATION_GROOVE 0x0 +#define DMUS_NOTIFICATION_EMBELLISHMENT 0x1 +#define DMUS_NOTIFICATION_RECOMPOSE 0x0 + +#define DMUS_OBJ_OBJECT 0x001 +#define DMUS_OBJ_CLASS 0x002 +#define DMUS_OBJ_NAME 0x004 +#define DMUS_OBJ_CATEGORY 0x008 +#define DMUS_OBJ_FILENAME 0x010 +#define DMUS_OBJ_FULLPATH 0x020 +#define DMUS_OBJ_URL 0x040 +#define DMUS_OBJ_VERSION 0x080 +#define DMUS_OBJ_DATE 0x100 +#define DMUS_OBJ_LOADED 0x200 +#define DMUS_OBJ_MEMORY 0x400 +#define DMUS_OBJ_STREAM 0x800 + +#define DMUS_PATH_SEGMENT 0x1000 +#define DMUS_PATH_SEGMENT_TRACK 0x1100 +#define DMUS_PATH_SEGMENT_GRAPH 0x1200 +#define DMUS_PATH_SEGMENT_TOOL 0x1300 +#define DMUS_PATH_AUDIOPATH 0x2000 +#define DMUS_PATH_AUDIOPATH_GRAPH 0x2200 +#define DMUS_PATH_AUDIOPATH_TOOL 0x2300 +#define DMUS_PATH_PERFORMANCE 0x3000 +#define DMUS_PATH_PERFORMANCE_GRAPH 0x3200 +#define DMUS_PATH_PERFORMANCE_TOOL 0x3300 +#define DMUS_PATH_PORT 0x4000 +#define DMUS_PATH_BUFFER 0x6000 +#define DMUS_PATH_BUFFER_DMO 0x6100 +#define DMUS_PATH_MIXIN_BUFFER 0x7000 +#define DMUS_PATH_MIXIN_BUFFER_DMO 0x7100 +#define DMUS_PATH_PRIMARY_BUFFER 0x8000 + +#define DMUS_PCHANNEL_BROADCAST_PERFORMANCE 0xFFFFFFFF +#define DMUS_PCHANNEL_BROADCAST_AUDIOPATH 0xFFFFFFFE +#define DMUS_PCHANNEL_BROADCAST_SEGMENT 0xFFFFFFFD +#define DMUS_PCHANNEL_BROADCAST_GROUPS 0xFFFFFFFC +#define DMUS_PCHANNEL_ALL 0xFFFFFFFB + +#define DMUS_PLAYMODE_FIXED 0x0 +#define DMUS_PLAYMODE_FIXEDTOKEY DMUS_PLAYMODE_KEY_ROOT +#define DMUS_PLAYMODE_FIXEDTOCHORD DMUS_PLAYMODE_CHORD_ROOT +#define DMUS_PLAYMODE_PEDALPOINT (DMUS_PLAYMODE_KEY_ROOT | DMUS_PLAYMODE_SCALE_INTERVALS) +#define DMUS_PLAYMODE_MELODIC (DMUS_PLAYMODE_CHORD_ROOT | DMUS_PLAYMODE_SCALE_INTERVALS) +#define DMUS_PLAYMODE_NORMALCHORD (DMUS_PLAYMODE_CHORD_ROOT | DMUS_PLAYMODE_CHORD_INTERVALS) +#define DMUS_PLAYMODE_ALWAYSPLAY (DMUS_PLAYMODE_MELODIC | DMUS_PLAYMODE_NORMALCHORD) +#define DMUS_PLAYMODE_PEDALPOINTCHORD (DMUS_PLAYMODE_KEY_ROOT | DMUS_PLAYMODE_CHORD_INTERVALS) +#define DMUS_PLAYMODE_PEDALPOINTALWAYS (DMUS_PLAYMODE_PEDALPOINT | DMUS_PLAYMODE_PEDALPOINTCHORD) +#define DMUS_PLAYMODE_PURPLEIZED DMUS_PLAYMODE_ALWAYSPLAY +#define DMUS_PLAYMODE_SCALE_ROOT DMUS_PLAYMODE_KEY_ROOT +#define DMUS_PLAYMODE_FIXEDTOSCALE DMUS_PLAYMODE_FIXEDTOKEY + +#define DMUS_PPQ 768 + +#define DMUS_SEG_REPEAT_INFINITE 0xFFFFFFFF +#define DMUS_SEG_ALLTRACKS 0x80000000 +#define DMUS_SEG_ANYTRACK 0x80000000 + +#define DMUS_TEMPO_MAX 1000 +#define DMUS_TEMPO_MIN 1 + +#define DMUS_TRACKCONFIG_OVERRIDE_ALL 0x00001 +#define DMUS_TRACKCONFIG_OVERRIDE_PRIMARY 0x00002 +#define DMUS_TRACKCONFIG_FALLBACK 0x00004 +#define DMUS_TRACKCONFIG_CONTROL_ENABLED 0x00008 +#define DMUS_TRACKCONFIG_PLAY_ENABLED 0x00010 +#define DMUS_TRACKCONFIG_NOTIFICATION_ENABLED 0x00020 +#define DMUS_TRACKCONFIG_PLAY_CLOCKTIME 0x00040 +#define DMUS_TRACKCONFIG_PLAY_COMPOSE 0x00080 +#define DMUS_TRACKCONFIG_LOOP_COMPOSE 0x00100 +#define DMUS_TRACKCONFIG_COMPOSING 0x00200 +#define DMUS_TRACKCONFIG_TRANS1_FROMSEGSTART 0x00400 +#define DMUS_TRACKCONFIG_TRANS1_FROMSEGCURRENT 0x00800 +#define DMUS_TRACKCONFIG_TRANS1_TOSEGSTART 0x01000 +#define DMUS_TRACKCONFIG_CONTROL_PLAY 0x10000 +#define DMUS_TRACKCONFIG_CONTROL_NOTIFICATION 0x20000 +#define DMUS_TRACKCONFIG_DEFAULT (DMUS_TRACKCONFIG_CONTROL_ENABLED | DMUS_TRACKCONFIG_PLAY_ENABLED | DMUS_TRACKCONFIG_NOTIFICATION_ENABLED) + +#define DMUS_WAVEF_OFF 0x01 +#define DMUS_WAVEF_STREAMING 0x02 +#define DMUS_WAVEF_NOINVALIDATE 0x04 +#define DMUS_WAVEF_NOPREROLL 0x08 +#define DMUS_WAVEF_IGNORELOOPS 0x20 + +#define DMUSB_LOADED 0x1 +#define DMUSB_DEFAULT 0x2 + +#define MT_MIN 0x80000000 +#define MT_MAX 0x7FFFFFFF + + +/***************************************************************************** + * Definitions + */ +#define DMUS_PMSG_PART \ + DWORD dwSize; \ + REFERENCE_TIME rtTime; \ + MUSIC_TIME mtTime; \ + DWORD dwFlags; \ + DWORD dwPChannel; \ + DWORD dwVirtualTrackID; \ + IDirectMusicTool* pTool; \ + struct IDirectMusicGraph* pGraph; \ + DWORD dwType; \ + DWORD dwVoiceID; \ + DWORD dwGroupID; \ + IUnknown* punkUser; + + +/***************************************************************************** + * Enumerations + */ +/* typedef definitions */ +typedef enum enumDMUS_STYLET_TYPES DMUS_STYLET_TYPES; +typedef enum enumDMUS_COMMANDT_TYPES DMUS_COMMANDT_TYPES; +typedef enum enumDMUS_SHAPET_TYPES DMUS_SHAPET_TYPES; +typedef enum enumDMUS_COMPOSEF_FLAGS DMUS_COMPOSEF_FLAGS; +typedef enum enumDMUS_PMSGF_FLAGS DMUS_PMSGF_FLAGS; +typedef enum enumDMUS_PMSGT_TYPES DMUS_PMSGT_TYPES; +typedef enum enumDMUS_SEGF_FLAGS DMUS_SEGF_FLAGS; +typedef enum enumDMUS_TIME_RESOLVE_FLAGS DMUS_TIME_RESOLVE_FLAGS; +typedef enum enumDMUS_CHORDKEYF_FLAGS DMUS_CHORDKEYF_FLAGS; +typedef enum enumDMUS_NOTEF_FLAGS DMUS_NOTEF_FLAGS; +typedef enum enumDMUS_PLAYMODE_FLAGS DMUS_PLAYMODE_FLAGS; +typedef enum enumDMUS_CURVE_FLAGS DMUS_CURVE_FLAGS; + + + +/* actual enumerations */ +enum enumDMUS_STYLET_TYPES { + DMUS_STYLET_PATTERN = 0x0, + DMUS_STYLET_MOTIF = 0x1, +}; + +enum enumDMUS_COMMANDT_TYPES { + DMUS_COMMANDT_GROOVE = 0x0, + DMUS_COMMANDT_FILL = 0x1, + DMUS_COMMANDT_INTRO = 0x2, + DMUS_COMMANDT_BREAK = 0x3, + DMUS_COMMANDT_END = 0x4, + DMUS_COMMANDT_ENDANDINTRO = 0x5 +}; + +enum enumDMUS_SHAPET_TYPES { + DMUS_SHAPET_FALLING = 0x0, + DMUS_SHAPET_LEVEL = 0x1, + DMUS_SHAPET_LOOPABLE = 0x2, + DMUS_SHAPET_LOUD = 0x3, + DMUS_SHAPET_QUIET = 0x4, + DMUS_SHAPET_PEAKING = 0x5, + DMUS_SHAPET_RANDOM = 0x6, + DMUS_SHAPET_RISING = 0x7, + DMUS_SHAPET_SONG = 0x8 +}; + +enum enumDMUS_COMPOSEF_FLAGS { + DMUS_COMPOSEF_NONE = 0x000000, + DMUS_COMPOSEF_ALIGN = 0x000001, + DMUS_COMPOSEF_OVERLAP = 0x000002, + DMUS_COMPOSEF_IMMEDIATE = 0x000004, + DMUS_COMPOSEF_GRID = 0x000008, + DMUS_COMPOSEF_BEAT = 0x000010, + DMUS_COMPOSEF_MEASURE = 0x000020, + DMUS_COMPOSEF_AFTERPREPARETIME = 0x000040, + DMUS_COMPOSEF_VALID_START_BEAT = 0x000080, + DMUS_COMPOSEF_VALID_START_GRID = 0x000100, + DMUS_COMPOSEF_VALID_START_TICK = 0x000200, + DMUS_COMPOSEF_SEGMENTEND = 0x000400, + DMUS_COMPOSEF_MARKER = 0x000800, + DMUS_COMPOSEF_MODULATE = 0x001000, + DMUS_COMPOSEF_LONG = 0x002000, + DMUS_COMPOSEF_ENTIRE_TRANSITION = 0x004000, + DMUS_COMPOSEF_1BAR_TRANSITION = 0x008000, + DMUS_COMPOSEF_ENTIRE_ADDITION = 0x010000, + DMUS_COMPOSEF_1BAR_ADDITION = 0x020000, + DMUS_COMPOSEF_VALID_START_MEASURE = 0x040000, + DMUS_COMPOSEF_DEFAULT = 0x080000, + DMUS_COMPOSEF_NOINVALIDATE = 0x100000, + DMUS_COMPOSEF_USE_AUDIOPATH = 0x200000, + DMUS_COMPOSEF_INVALIDATE_PRI = 0x400000 +}; + +enum enumDMUS_PMSGF_FLAGS { + DMUS_PMSGF_REFTIME = 1, + DMUS_PMSGF_MUSICTIME = 2, + DMUS_PMSGF_TOOL_IMMEDIATE = 4, + DMUS_PMSGF_TOOL_QUEUE = 8, + DMUS_PMSGF_TOOL_ATTIME = 0x10, + DMUS_PMSGF_TOOL_FLUSH = 0x20, + DMUS_PMSGF_LOCKTOREFTIME = 0x40, + DMUS_PMSGF_DX8 = 0x80 +}; + +enum enumDMUS_PMSGT_TYPES { + DMUS_PMSGT_MIDI = 0x00, + DMUS_PMSGT_NOTE = 0x01, + DMUS_PMSGT_SYSEX = 0x02, + DMUS_PMSGT_NOTIFICATION = 0x03, + DMUS_PMSGT_TEMPO = 0x04, + DMUS_PMSGT_CURVE = 0x05, + DMUS_PMSGT_TIMESIG = 0x06, + DMUS_PMSGT_PATCH = 0x07, + DMUS_PMSGT_TRANSPOSE = 0x08, + DMUS_PMSGT_CHANNEL_PRIORITY = 0x09, + DMUS_PMSGT_STOP = 0x0A, + DMUS_PMSGT_DIRTY = 0x0B, + DMUS_PMSGT_WAVE = 0x0C, + DMUS_PMSGT_LYRIC = 0x0D, + DMUS_PMSGT_SCRIPTLYRIC = 0x0E, + DMUS_PMSGT_USER = 0xFF +}; + +enum enumDMUS_SEGF_FLAGS { + DMUS_SEGF_REFTIME = 0x000040, + DMUS_SEGF_SECONDARY = 0x000080, + DMUS_SEGF_QUEUE = 0x000100, + DMUS_SEGF_CONTROL = 0x000200, + DMUS_SEGF_AFTERPREPARETIME = 0x000400, + DMUS_SEGF_GRID = 0x000800, + DMUS_SEGF_BEAT = 0x001000, + DMUS_SEGF_MEASURE = 0x002000, + DMUS_SEGF_DEFAULT = 0x004000, + DMUS_SEGF_NOINVALIDATE = 0x008000, + DMUS_SEGF_ALIGN = 0x0010000, + DMUS_SEGF_VALID_START_BEAT = 0x0020000, + DMUS_SEGF_VALID_START_GRID = 0x0040000, + DMUS_SEGF_VALID_START_TICK = 0x0080000, + DMUS_SEGF_AUTOTRANSITION = 0x0100000, + DMUS_SEGF_AFTERQUEUETIME = 0x0200000, + DMUS_SEGF_AFTERLATENCYTIME = 0x0400000, + DMUS_SEGF_SEGMENTEND = 0x0800000, + DMUS_SEGF_MARKER = 0x01000000, + DMUS_SEGF_TIMESIG_ALWAYS = 0x02000000, + DMUS_SEGF_USE_AUDIOPATH = 0x04000000, + DMUS_SEGF_VALID_START_MEASURE = 0x08000000, + DMUS_SEGF_INVALIDATE_PRI = 0x10000000 +}; + +enum enumDMUS_TIME_RESOLVE_FLAGS { + DMUS_TIME_RESOLVE_AFTERPREPARETIME = DMUS_SEGF_AFTERPREPARETIME, + DMUS_TIME_RESOLVE_AFTERQUEUETIME = DMUS_SEGF_AFTERQUEUETIME, + DMUS_TIME_RESOLVE_AFTERLATENCYTIME = DMUS_SEGF_AFTERLATENCYTIME, + DMUS_TIME_RESOLVE_GRID = DMUS_SEGF_GRID, + DMUS_TIME_RESOLVE_BEAT = DMUS_SEGF_BEAT, + DMUS_TIME_RESOLVE_MEASURE = DMUS_SEGF_MEASURE, + DMUS_TIME_RESOLVE_MARKER = DMUS_SEGF_MARKER, + DMUS_TIME_RESOLVE_SEGMENTEND = DMUS_SEGF_SEGMENTEND, +}; + +enum enumDMUS_CHORDKEYF_FLAGS { + DMUS_CHORDKEYF_SILENT = 0x1, +}; + +enum enumDMUS_NOTEF_FLAGS { + DMUS_NOTEF_NOTEON = 0x01, + /* DX8 */ + DMUS_NOTEF_NOINVALIDATE = 0x02, + DMUS_NOTEF_NOINVALIDATE_INSCALE = 0x04, + DMUS_NOTEF_NOINVALIDATE_INCHORD = 0x08, + DMUS_NOTEF_REGENERATE = 0x10, +}; + +enum enumDMUS_PLAYMODE_FLAGS { + DMUS_PLAYMODE_KEY_ROOT = 0x01, + DMUS_PLAYMODE_CHORD_ROOT = 0x02, + DMUS_PLAYMODE_SCALE_INTERVALS = 0x04, + DMUS_PLAYMODE_CHORD_INTERVALS = 0x08, + DMUS_PLAYMODE_NONE = 0x10, +}; + +enum enumDMUS_CURVE_FLAGS { + DMUS_CURVE_RESET = 0x1, + DMUS_CURVE_START_FROM_CURRENT = 0x2 +}; + +enum { + DMUS_CURVES_LINEAR = 0x0, + DMUS_CURVES_INSTANT = 0x1, + DMUS_CURVES_EXP = 0x2, + DMUS_CURVES_LOG = 0x3, + DMUS_CURVES_SINE = 0x4 +}; + + +/***************************************************************************** + * Structures + */ +/* typedef definitions */ +/*typedef struct _DMUS_PMSG DMUS_PMSG, *LPDMUS_PMSG; */ +typedef struct _DMUS_AUDIOPARAMS DMUS_AUDIOPARAMS, *LPDMUS_AUDIOPARAMS; +typedef struct _DMUS_SUBCHORD DMUS_SUBCHORD, *LPDMUS_SUBCHORD; +typedef struct _DMUS_CHORD_KEY DMUS_CHORD_KEY, *LPDMUS_CHORD_KEY; +typedef struct _DMUS_NOTE_PMSG DMUS_NOTE_PMSG, *LPDMUS_NOTE_PMSG; +typedef struct _DMUS_MIDI_PMSG DMUS_MIDI_PMSG, *LPDMUS_MIDI_PMSG; +typedef struct _DMUS_PATCH_PMSG DMUS_PATCH_PMSG, *LPDMUS_PATCH_PMSG; +typedef struct _DMUS_TRANSPOSE_PMSG DMUS_TRANSPOSE_PMSG, *LPDMUS_TRANSPOSE_PMSG; +typedef struct _DMUS_CHANNEL_PRIORITY_PMSG DMUS_CHANNEL_PRIORITY_PMSG, *LPDMUS_CHANNEL_PRIORITY_PMSG; +typedef struct _DMUS_TEMPO_PMSG DMUS_TEMPO_PMSG, *LPDMUS_TEMPO_PMSG; +typedef struct _DMUS_SYSEX_PMSG DMUS_SYSEX_PMSG, *LPDMUS_SYSEX_PMSG; +typedef struct _DMUS_CURVE_PMSG DMUS_CURVE_PMSG, *LPDMUS_CURVE_PMSG; +typedef struct _DMUS_TIMESIG_PMSG DMUS_TIMESIG_PMSG, *LPDMUS_TIMESIG_PMSG; +typedef struct _DMUS_NOTIFICATION_PMSG DMUS_NOTIFICATION_PMSG, *LPDMUS_NOTIFICATION_PMSG; +typedef struct _DMUS_WAVE_PMSG DMUS_WAVE_PMSG, *LPDMUS_WAVE_PMSG; +typedef struct _DMUS_LYRIC_PMSG DMUS_LYRIC_PMSG, *LPDMUS_LYRIC_PMSG; +typedef struct _DMUS_VERSION DMUS_VERSION, *LPDMUS_VERSION; +typedef struct _DMUS_TIMESIGNATURE DMUS_TIMESIGNATURE, *LPDMUS_TIMESIGNATURE; +typedef struct _DMUS_VALID_START_PARAM DMUS_VALID_START_PARAM, *LPDMUS_VALID_START_PARAM; +typedef struct _DMUS_PLAY_MARKER_PARAM DMUS_PLAY_MARKER_PARAM, *LPDMUS_PLAY_MARKER_PARAM; +typedef struct _DMUS_OBJECTDESC DMUS_OBJECTDESC, *LPDMUS_OBJECTDESC; +typedef struct _DMUS_SCRIPT_ERRORINFO DMUS_SCRIPT_ERRORINFO, *LPDMUS_SCRIPT_ERRORINFO; +typedef struct _DMUS_COMMAND_PARAM DMUS_COMMAND_PARAM, *LPDMUS_COMMAND_PARAM; +typedef struct _DMUS_COMMAND_PARAM_2 DMUS_COMMAND_PARAM_2, *LPDMUS_COMMAND_PARAM_2; +typedef struct _DMUS_BAND_PARAM DMUS_BAND_PARAM, *LPDMUS_BAND_PARAM; +typedef struct _DMUS_VARIATIONS_PARAM DMUS_VARIATIONS_PARAM, *LPDMUS_VARIATIONS_PARAM; + +/* actual structures */ +struct _DMUS_PMSG { + DMUS_PMSG_PART +}; + +struct _DMUS_AUDIOPARAMS { + DWORD dwSize; + BOOL fInitNow; + DWORD dwValidData; + DWORD dwFeatures; + DWORD dwVoices; + DWORD dwSampleRate; + CLSID clsidDefaultSynth; +}; + +struct _DMUS_SUBCHORD { + DWORD dwChordPattern; + DWORD dwScalePattern; + DWORD dwInversionPoints; + DWORD dwLevels; + BYTE bChordRoot; + BYTE bScaleRoot; +}; + +struct _DMUS_CHORD_KEY { + WCHAR wszName[16]; + WORD wMeasure; + BYTE bBeat; + BYTE bSubChordCount; + DMUS_SUBCHORD SubChordList[DMUS_MAXSUBCHORD]; + DWORD dwScale; + BYTE bKey; + BYTE bFlags; +}; + +struct _DMUS_NOTE_PMSG { + DMUS_PMSG_PART + MUSIC_TIME mtDuration; + WORD wMusicValue; + WORD wMeasure; + short nOffset; + BYTE bBeat; + BYTE bGrid; + BYTE bVelocity; + BYTE bFlags; + BYTE bTimeRange; + BYTE bDurRange; + BYTE bVelRange; + BYTE bPlayModeFlags; + BYTE bSubChordLevel; + BYTE bMidiValue; + char cTranspose; +}; + +struct _DMUS_MIDI_PMSG { + DMUS_PMSG_PART + BYTE bStatus; + BYTE bByte1; + BYTE bByte2; + BYTE bPad[1]; +}; + +struct _DMUS_PATCH_PMSG { + DMUS_PMSG_PART + BYTE byInstrument; + BYTE byMSB; + BYTE byLSB; + BYTE byPad[1]; +}; + +struct _DMUS_TRANSPOSE_PMSG { + DMUS_PMSG_PART + short nTranspose; + /* DX8 */ + WORD wMergeIndex; +}; + +struct _DMUS_CHANNEL_PRIORITY_PMSG { + DMUS_PMSG_PART + DWORD dwChannelPriority; +}; + +struct _DMUS_TEMPO_PMSG { + DMUS_PMSG_PART + double dblTempo; +}; + +struct _DMUS_SYSEX_PMSG { + DMUS_PMSG_PART + DWORD dwLen; + BYTE abData[1]; +}; + +struct _DMUS_CURVE_PMSG { + DMUS_PMSG_PART + MUSIC_TIME mtDuration; + MUSIC_TIME mtOriginalStart; + MUSIC_TIME mtResetDuration; + short nStartValue; + short nEndValue; + short nResetValue; + WORD wMeasure; + short nOffset; + BYTE bBeat; + BYTE bGrid; + BYTE bType; + BYTE bCurveShape; + BYTE bCCData; + BYTE bFlags; + /* DX8 */ + WORD wParamType; + WORD wMergeIndex; +}; + +struct _DMUS_TIMESIG_PMSG { + DMUS_PMSG_PART + BYTE bBeatsPerMeasure; + BYTE bBeat; + WORD wGridsPerBeat; +}; + +struct _DMUS_NOTIFICATION_PMSG { + DMUS_PMSG_PART + GUID guidNotificationType; + DWORD dwNotificationOption; + DWORD dwField1; + DWORD dwField2; +}; + +struct _DMUS_WAVE_PMSG { + DMUS_PMSG_PART + REFERENCE_TIME rtStartOffset; + REFERENCE_TIME rtDuration; + LONG lOffset; + LONG lVolume; + LONG lPitch; + BYTE bFlags; +}; + +struct _DMUS_LYRIC_PMSG { + DMUS_PMSG_PART + WCHAR wszString[1]; +}; + +struct _DMUS_VERSION { + DWORD dwVersionMS; + DWORD dwVersionLS; +}; + +struct _DMUS_TIMESIGNATURE { + MUSIC_TIME mtTime; + BYTE bBeatsPerMeasure; + BYTE bBeat; + WORD wGridsPerBeat; +}; + +struct _DMUS_VALID_START_PARAM { + MUSIC_TIME mtTime; +}; + +struct _DMUS_PLAY_MARKER_PARAM { + MUSIC_TIME mtTime; +}; + +struct _DMUS_OBJECTDESC { + DWORD dwSize; + DWORD dwValidData; + GUID guidObject; + GUID guidClass; + FILETIME ftDate; + DMUS_VERSION vVersion; + WCHAR wszName[DMUS_MAX_NAME]; + WCHAR wszCategory[DMUS_MAX_CATEGORY]; + WCHAR wszFileName[DMUS_MAX_FILENAME]; + LONGLONG llMemLength; + LPBYTE pbMemData; + IStream* pStream; +}; + +struct _DMUS_SCRIPT_ERRORINFO { + DWORD dwSize; + HRESULT hr; + ULONG ulLineNumber; + LONG ichCharPosition; + WCHAR wszSourceFile[DMUS_MAX_FILENAME]; + WCHAR wszSourceComponent[DMUS_MAX_FILENAME]; + WCHAR wszDescription[DMUS_MAX_FILENAME]; + WCHAR wszSourceLineText[DMUS_MAX_FILENAME]; +}; + +struct _DMUS_COMMAND_PARAM { + BYTE bCommand; + BYTE bGrooveLevel; + BYTE bGrooveRange; + BYTE bRepeatMode; +}; + +struct _DMUS_COMMAND_PARAM_2 { + MUSIC_TIME mtTime; + BYTE bCommand; + BYTE bGrooveLevel; + BYTE bGrooveRange; + BYTE bRepeatMode; +}; + +struct _DMUS_BAND_PARAM { + MUSIC_TIME mtTimePhysical; + struct IDirectMusicBand *pBand; +}; + +struct _DMUS_VARIATIONS_PARAM { + DWORD dwPChannelsUsed; + DWORD* padwPChannels; + DWORD* padwVariations; +}; + + +/***************************************************************************** + * IDirectMusicBand interface + */ +#define INTERFACE IDirectMusicBand +DECLARE_INTERFACE_(IDirectMusicBand,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicBand methods ***/ + STDMETHOD(CreateSegment)(THIS_ struct IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(Download)(THIS_ struct IDirectMusicPerformance *pPerformance) PURE; + STDMETHOD(Unload)(THIS_ struct IDirectMusicPerformance *pPerformance) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicBand_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicBand_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicBand_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicBand methods ***/ +#define IDirectMusicBand_CreateSegment(p,a) (p)->lpVtbl->CreateSegment(p,a) +#define IDirectMusicBand_Download(p,a) (p)->lpVtbl->Download(p,a) +#define IDirectMusicBand_Unload(p,a) (p)->lpVtbl->Unload(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicObject interface + */ +#define INTERFACE IDirectMusicObject +DECLARE_INTERFACE_(IDirectMusicObject,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicObject methods ***/ + STDMETHOD(GetDescriptor)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; + STDMETHOD(SetDescriptor)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; + STDMETHOD(ParseDescriptor)(THIS_ LPSTREAM pStream, LPDMUS_OBJECTDESC pDesc) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicObject_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicObject_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicObject methods ***/ +#define IDirectMusicObject_GetDescriptor(p,a) (p)->lpVtbl->GetDescriptor(p,a) +#define IDirectMusicObject_SetDescriptor(p,a) (p)->lpVtbl->SetDescriptor(p,a) +#define IDirectMusicObject_ParseDescriptor(p,a,b) (p)->lpVtbl->ParseDescriptor(p,a,b) +#endif + + +/***************************************************************************** + * IDirectMusicLoader interface + */ +#define INTERFACE IDirectMusicLoader +DECLARE_INTERFACE_(IDirectMusicLoader,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicLoader methods ***/ + STDMETHOD(GetObject)(THIS_ LPDMUS_OBJECTDESC pDesc, REFIID riid, LPVOID *ppv) PURE; + STDMETHOD(SetObject)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; + STDMETHOD(SetSearchDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzPath, BOOL fClear) PURE; + STDMETHOD(ScanDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzFileExtension, WCHAR *pwzScanFileName) PURE; + STDMETHOD(CacheObject)(THIS_ IDirectMusicObject *pObject) PURE; + STDMETHOD(ReleaseObject)(THIS_ IDirectMusicObject *pObject) PURE; + STDMETHOD(ClearCache)(THIS_ REFGUID rguidClass) PURE; + STDMETHOD(EnableCache)(THIS_ REFGUID rguidClass, BOOL fEnable) PURE; + STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicLoader_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicLoader_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicLoader_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicLoader methods ***/ +#define IDirectMusicLoader_GetObject(p,a,b,c) (p)->lpVtbl->GetObject(p,a,b,c) +#define IDirectMusicLoader_SetObject(p,a) (p)->lpVtbl->SetObject(p,a) +#define IDirectMusicLoader_SetSearchDirectory(p,a,b,c) (p)->lpVtbl->SetSearchDirectory(p,a,b,c) +#define IDirectMusicLoader_ScanDirectory(p,a,b,c) (p)->lpVtbl->ScanDirectory(p,a,b,c) +#define IDirectMusicLoader_CacheObject(p,a) (p)->lpVtbl->CacheObject(p,a) +#define IDirectMusicLoader_ReleaseObject(p,a) (p)->lpVtbl->ReleaseObject(p,a) +#define IDirectMusicLoader_ClearCache(p,a) (p)->lpVtbl->ClearCache(p,a) +#define IDirectMusicLoader_EnableCache(p,a,b) (p)->lpVtbl->EnableCache(p,a,b) +#define IDirectMusicLoader_EnumObject(p,a,b,c) (p)->lpVtbl->EnumObject(p,a,b,c) +#endif + + +/***************************************************************************** + * IDirectMusicLoader8 interface + */ +#define INTERFACE IDirectMusicLoader8 +DECLARE_INTERFACE_(IDirectMusicLoader8,IDirectMusicLoader) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicLoader methods ***/ + STDMETHOD(GetObject)(THIS_ LPDMUS_OBJECTDESC pDesc, REFIID riid, LPVOID *ppv) PURE; + STDMETHOD(SetObject)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; + STDMETHOD(SetSearchDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzPath, BOOL fClear) PURE; + STDMETHOD(ScanDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzFileExtension, WCHAR *pwzScanFileName) PURE; + STDMETHOD(CacheObject)(THIS_ IDirectMusicObject *pObject) PURE; + STDMETHOD(ReleaseObject)(THIS_ IDirectMusicObject *pObject) PURE; + STDMETHOD(ClearCache)(THIS_ REFGUID rguidClass) PURE; + STDMETHOD(EnableCache)(THIS_ REFGUID rguidClass, BOOL fEnable) PURE; + STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc) PURE; + /*** IDirectMusicLoader8 methods ***/ + STDMETHOD_(void,CollectGarbage)(THIS) PURE; + STDMETHOD(ReleaseObjectByUnknown)(THIS_ IUnknown *pObject) PURE; + STDMETHOD(LoadObjectFromFile)(THIS_ REFGUID rguidClassID, REFIID iidInterfaceID, WCHAR *pwzFilePath, void **ppObject) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicLoader8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicLoader8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicLoader8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicLoader methods ***/ +#define IDirectMusicLoader8_GetObject(p,a,b,c) (p)->lpVtbl->GetObject(p,a,b,c) +#define IDirectMusicLoader8_SetObject(p,a) (p)->lpVtbl->SetObject(p,a) +#define IDirectMusicLoader8_SetSearchDirectory(p,a,b,c) (p)->lpVtbl->SetSearchDirectory(p,a,b,c) +#define IDirectMusicLoader8_ScanDirectory(p,a,b,c) (p)->lpVtbl->ScanDirectory(p,a,b,c) +#define IDirectMusicLoader8_CacheObject(p,a) (p)->lpVtbl->CacheObject(p,a) +#define IDirectMusicLoader8_ReleaseObject(p,a) (p)->lpVtbl->ReleaseObject(p,a) +#define IDirectMusicLoader8_ClearCache(p,a) (p)->lpVtbl->ClearCache(p,a) +#define IDirectMusicLoader8_EnableCache(p,a,b) (p)->lpVtbl->EnableCache(p,a,b) +#define IDirectMusicLoader8_EnumObject(p,a,b,c) (p)->lpVtbl->EnumObject(p,a,b,c) +/*** IDirectMusicLoader8 methods ***/ +#define IDirectMusicLoader8_CollectGarbage(p) (p)->lpVtbl->CollectGarbage(p) +#define IDirectMusicLoader8_ReleaseObjectByUnknown(p,a) (p)->lpVtbl->ReleaseObjectByUnknown(p,a) +#define IDirectMusicLoader8_LoadObjectFromFile(p,a,b,c,d) (p)->lpVtbl->LoadObjectFromFile(p,a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectMusicGetLoader interface + */ +#define INTERFACE IDirectMusicGetLoader +DECLARE_INTERFACE_(IDirectMusicGetLoader,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicGetLoader methods ***/ + STDMETHOD(GetLoader)(THIS_ IDirectMusicLoader **ppLoader) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicGetLoader_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicGetLoader_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicGetLoader_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicGetLoader methods ***/ +#define IDirectMusicGetLoader_GetLoader(p,a) (p)->lpVtbl->GetLoader(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicSegment interface + */ +#define INTERFACE IDirectMusicSegment +DECLARE_INTERFACE_(IDirectMusicSegment,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSegment methods ***/ + STDMETHOD(GetLength)(THIS_ MUSIC_TIME *pmtLength) PURE; + STDMETHOD(SetLength)(THIS_ MUSIC_TIME mtLength) PURE; + STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; + STDMETHOD(SetRepeats)(THIS_ DWORD dwRepeats) PURE; + STDMETHOD(GetDefaultResolution)(THIS_ DWORD *pdwResolution) PURE; + STDMETHOD(SetDefaultResolution)(THIS_ DWORD dwResolution) PURE; + STDMETHOD(GetTrack)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, IDirectMusicTrack **ppTrack) PURE; + STDMETHOD(GetTrackGroup)(THIS_ IDirectMusicTrack *pTrack, DWORD *pdwGroupBits) PURE; + STDMETHOD(InsertTrack)(THIS_ IDirectMusicTrack *pTrack, DWORD dwGroupBits) PURE; + STDMETHOD(RemoveTrack)(THIS_ IDirectMusicTrack *pTrack) PURE; + STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState **ppSegState, struct IDirectMusicPerformance *pPerformance, DWORD dwFlags) PURE; + STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; + STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; + STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; + STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; + STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(SetStartPoint)(THIS_ MUSIC_TIME mtStart) PURE; + STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; + STDMETHOD(SetLoopPoints)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd) PURE; + STDMETHOD(GetLoopPoints)(THIS_ MUSIC_TIME *pmtStart, MUSIC_TIME *pmtEnd) PURE; + STDMETHOD(SetPChannelsUsed)(THIS_ DWORD dwNumPChannels, DWORD *paPChannels) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSegment_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSegment_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSegment_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSegment methods ***/ +#define IDirectMusicSegment_GetLength(p,a) (p)->lpVtbl->GetLength(p,a) +#define IDirectMusicSegment_SetLength(p,a) (p)->lpVtbl->SetLength(p,a) +#define IDirectMusicSegment_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a) +#define IDirectMusicSegment_SetRepeats(p,a) (p)->lpVtbl->SetRepeats(p,a) +#define IDirectMusicSegment_GetDefaultResolution(p,a) (p)->lpVtbl->GetDefaultResolution(p,a) +#define IDirectMusicSegment_SetDefaultResolution(p,a) (p)->lpVtbl->SetDefaultResolution(p,a) +#define IDirectMusicSegment_GetTrack(p,a,b,c,d) (p)->lpVtbl->GetTrack(p,a,b,c,d) +#define IDirectMusicSegment_GetTrackGroup(p,a,b) (p)->lpVtbl->GetTrackGroup(p,a,b) +#define IDirectMusicSegment_InsertTrack(p,a,b) (p)->lpVtbl->InsertTrack(p,a,b) +#define IDirectMusicSegment_RemoveTrack(p,a) (p)->lpVtbl->RemoveTrack(p,a) +#define IDirectMusicSegment_InitPlay(p,a,b,c) (p)->lpVtbl->InitPlay(p,a,b,c) +#define IDirectMusicSegment_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a) +#define IDirectMusicSegment_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a) +#define IDirectMusicSegment_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a) +#define IDirectMusicSegment_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) +#define IDirectMusicSegment_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) +#define IDirectMusicSegment_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e) +#define IDirectMusicSegment_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirectMusicSegment_SetStartPoint(p,a) (p)->lpVtbl->SetStartPoint(p,a) +#define IDirectMusicSegment_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a) +#define IDirectMusicSegment_SetLoopPoints(p,a,b) (p)->lpVtbl->SetLoopPoints(p,a,b) +#define IDirectMusicSegment_GetLoopPoints(p,a,b) (p)->lpVtbl->GetLoopPoints(p,a,b) +#define IDirectMusicSegment_SetPChannelsUsed(p,a,b) (p)->lpVtbl->SetPChannelsUsed(p,a,b) +#endif + + +/***************************************************************************** + * IDirectMusicSegment8 interface + */ +#define INTERFACE IDirectMusicSegment8 +DECLARE_INTERFACE_(IDirectMusicSegment8,IDirectMusicSegment) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSegment methods ***/ + STDMETHOD(GetLength)(THIS_ MUSIC_TIME *pmtLength) PURE; + STDMETHOD(SetLength)(THIS_ MUSIC_TIME mtLength) PURE; + STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; + STDMETHOD(SetRepeats)(THIS_ DWORD dwRepeats) PURE; + STDMETHOD(GetDefaultResolution)(THIS_ DWORD *pdwResolution) PURE; + STDMETHOD(SetDefaultResolution)(THIS_ DWORD dwResolution) PURE; + STDMETHOD(GetTrack)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, IDirectMusicTrack **ppTrack) PURE; + STDMETHOD(GetTrackGroup)(THIS_ IDirectMusicTrack *pTrack, DWORD *pdwGroupBits) PURE; + STDMETHOD(InsertTrack)(THIS_ IDirectMusicTrack *pTrack, DWORD dwGroupBits) PURE; + STDMETHOD(RemoveTrack)(THIS_ IDirectMusicTrack *pTrack) PURE; + STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState **ppSegState, struct IDirectMusicPerformance *pPerformance, DWORD dwFlags) PURE; + STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; + STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; + STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; + STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; + STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(SetStartPoint)(THIS_ MUSIC_TIME mtStart) PURE; + STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; + STDMETHOD(SetLoopPoints)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd) PURE; + STDMETHOD(GetLoopPoints)(THIS_ MUSIC_TIME *pmtStart, MUSIC_TIME *pmtEnd) PURE; + STDMETHOD(SetPChannelsUsed)(THIS_ DWORD dwNumPChannels, DWORD *paPChannels) PURE; + /*** IDirectMusicSegment8 methods ***/ + STDMETHOD(SetTrackConfig)(THIS_ REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff) PURE; + STDMETHOD(GetAudioPathConfig)(THIS_ IUnknown **ppAudioPathConfig) PURE; + STDMETHOD(Compose)(THIS_ MUSIC_TIME mtTime, IDirectMusicSegment *pFromSegment, IDirectMusicSegment *pToSegment, IDirectMusicSegment **ppComposedSegment) PURE; + STDMETHOD(Download)(THIS_ IUnknown *pAudioPath) PURE; + STDMETHOD(Unload)(THIS_ IUnknown *pAudioPath) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSegment8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSegment8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSegment8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSegment methods ***/ +#define IDirectMusicSegment8_GetLength(p,a) (p)->lpVtbl->GetLength(p,a) +#define IDirectMusicSegment8_SetLength(p,a) (p)->lpVtbl->SetLength(p,a) +#define IDirectMusicSegment8_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a) +#define IDirectMusicSegment8_SetRepeats(p,a) (p)->lpVtbl->SetRepeats(p,a) +#define IDirectMusicSegment8_GetDefaultResolution(p,a) (p)->lpVtbl->GetDefaultResolution(p,a) +#define IDirectMusicSegment8_SetDefaultResolution(p,a) (p)->lpVtbl->SetDefaultResolution(p,a) +#define IDirectMusicSegment8_GetTrack(p,a,b,c,d) (p)->lpVtbl->GetTrack(p,a,b,c,d) +#define IDirectMusicSegment8_GetTrackGroup(p,a,b) (p)->lpVtbl->GetTrackGroup(p,a,b) +#define IDirectMusicSegment8_InsertTrack(p,a,b) (p)->lpVtbl->InsertTrack(p,a,b) +#define IDirectMusicSegment8_RemoveTrack(p,a) (p)->lpVtbl->RemoveTrack(p,a) +#define IDirectMusicSegment8_InitPlay(p,a,b,c) (p)->lpVtbl->InitPlay(p,a,b,c) +#define IDirectMusicSegment8_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a) +#define IDirectMusicSegment8_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a) +#define IDirectMusicSegment8_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a) +#define IDirectMusicSegment8_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) +#define IDirectMusicSegment8_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) +#define IDirectMusicSegment8_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e) +#define IDirectMusicSegment8_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) +#define IDirectMusicSegment8_SetStartPoint(p,a) (p)->lpVtbl->SetStartPoint(p,a) +#define IDirectMusicSegment8_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a) +#define IDirectMusicSegment8_SetLoopPoints(p,a,b) (p)->lpVtbl->SetLoopPoints(p,a,b) +#define IDirectMusicSegment8_GetLoopPoints(p,a,b) (p)->lpVtbl->GetLoopPoints(p,a,b) +#define IDirectMusicSegment8_SetPChannelsUsed(p,a,b) (p)->lpVtbl->SetPChannelsUsed(p,a,b) +/*** IDirectMusicSegment8 methods ***/ +#define IDirectMusicSegment8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e) +#define IDirectMusicSegment8_GetAudioPathConfig(p,a) (p)->lpVtbl->GetAudioPathConfig(p,a) +#define IDirectMusicSegment8_Compose(p,a,b,c,d) (p)->lpVtbl->Compose(p,a,b,c,d) +#define IDirectMusicSegment8_Download(p,a) (p)->lpVtbl->Download(p,a) +#define IDirectMusicSegment8_Unload(p,a) (p)->lpVtbl->Unload(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicSegmentState interface + */ +#define INTERFACE IDirectMusicSegmentState +DECLARE_INTERFACE_(IDirectMusicSegmentState,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSegmentState methods ***/ + STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; + STDMETHOD(GetSegment)(THIS_ IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(GetStartTime)(THIS_ MUSIC_TIME *pmtStart) PURE; + STDMETHOD(GetSeek)(THIS_ MUSIC_TIME *pmtSeek) PURE; + STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSegmentState_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSegmentState_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSegmentState_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSegmentState methods ***/ +#define IDirectMusicSegmentState_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a) +#define IDirectMusicSegmentState_GetSegment(p,a) (p)->lpVtbl->GetSegment(p,a) +#define IDirectMusicSegmentState_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a) +#define IDirectMusicSegmentState_GetSeek(p,a) (p)->lpVtbl->GetSeek(p,a) +#define IDirectMusicSegmentState_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicSegmentState8 interface + */ +#define INTERFACE IDirectMusicSegmentState8 +DECLARE_INTERFACE_(IDirectMusicSegmentState8,IDirectMusicSegmentState) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSegmentState methods ***/ + STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; + STDMETHOD(GetSegment)(THIS_ IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(GetStartTime)(THIS_ MUSIC_TIME *pmtStart) PURE; + STDMETHOD(GetSeek)(THIS_ MUSIC_TIME *pmtSeek) PURE; + STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; + /*** IDirectMusicSegmentState8 methods ***/ + STDMETHOD(SetTrackConfig)(THIS_ REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff) PURE; + STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, DWORD dwIndex, REFGUID iidInterface, void **ppObject) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSegmentState8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSegmentState8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSegmentState8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSegmentState methods ***/ +#define IDirectMusicSegmentState8_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a) +#define IDirectMusicSegmentState8_GetSegment(p,a) (p)->lpVtbl->GetSegment(p,a) +#define IDirectMusicSegmentState8_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a) +#define IDirectMusicSegmentState8_GetSeek(p,a) (p)->lpVtbl->GetSeek(p,a) +#define IDirectMusicSegmentState8_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a) +/*** IDirectMusicSegmentState8 methods ***/ +#define IDirectMusicSegmentState8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e) +#define IDirectMusicSegmentState8_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g) +#endif + + +/***************************************************************************** + * IDirectMusicAudioPath interface + */ +#define INTERFACE IDirectMusicAudioPath +DECLARE_INTERFACE_(IDirectMusicAudioPath,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicAudioPath methods ***/ + STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, WORD dwIndex, REFGUID iidInterface, void **ppObject) PURE; + STDMETHOD(Activate)(THIS_ BOOL fActivate) PURE; + STDMETHOD(SetVolume)(THIS_ LONG lVolume, DWORD dwDuration) PURE; + STDMETHOD(ConvertPChannel)(THIS_ DWORD dwPChannelIn, DWORD *pdwPChannelOut) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicAudioPath_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicAudioPath_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicAudioPath_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicAudioPath methods ***/ +#define IDirectMusicAudioPath_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g) +#define IDirectMusicAudioPath_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusicAudioPath_SetVolume(p,a,b) (p)->lpVtbl->SetVolume(p,a,b) +#define IDirectMusicAudioPath_ConvertPChannel(p,a,b) (p)->lpVtbl->ConvertPChannel(p,a,b) +#endif + + +/***************************************************************************** + * IDirectMusicPerformance interface + */ +#define INTERFACE IDirectMusicPerformance +DECLARE_INTERFACE_(IDirectMusicPerformance,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicPerformance methods ***/ + STDMETHOD(Init)(THIS_ IDirectMusic **ppDirectMusic, LPDIRECTSOUND pDirectSound, HWND hWnd) PURE; + STDMETHOD(PlaySegment)(THIS_ IDirectMusicSegment *pSegment, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState) PURE; + STDMETHOD(Stop)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegmentState, MUSIC_TIME mtTime, DWORD dwFlags) PURE; + STDMETHOD(GetSegmentState)(THIS_ IDirectMusicSegmentState **ppSegmentState, MUSIC_TIME mtTime) PURE; + STDMETHOD(SetPrepareTime)(THIS_ DWORD dwMilliSeconds) PURE; + STDMETHOD(GetPrepareTime)(THIS_ DWORD *pdwMilliSeconds) PURE; + STDMETHOD(SetBumperLength)(THIS_ DWORD dwMilliSeconds) PURE; + STDMETHOD(GetBumperLength)(THIS_ DWORD *pdwMilliSeconds) PURE; + STDMETHOD(SendPMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; + STDMETHOD(MusicToReferenceTime)(THIS_ MUSIC_TIME mtTime, REFERENCE_TIME *prtTime) PURE; + STDMETHOD(ReferenceToMusicTime)(THIS_ REFERENCE_TIME rtTime, MUSIC_TIME *pmtTime) PURE; + STDMETHOD(IsPlaying)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegState) PURE; + STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *prtNow, MUSIC_TIME *pmtNow) PURE; + STDMETHOD(AllocPMsg)(THIS_ ULONG cb, DMUS_PMSG **ppPMSG) PURE; + STDMETHOD(FreePMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; + STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; + STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; + STDMETHOD(SetNotificationHandle)(THIS_ HANDLE hNotification, REFERENCE_TIME rtMinimum) PURE; + STDMETHOD(GetNotificationPMsg)(THIS_ DMUS_NOTIFICATION_PMSG **ppNotificationPMsg) PURE; + STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(AddPort)(THIS_ IDirectMusicPort *pPort) PURE; + STDMETHOD(RemovePort)(THIS_ IDirectMusicPort *pPort) PURE; + STDMETHOD(AssignPChannelBlock)(THIS_ DWORD dwBlockNum, IDirectMusicPort *pPort, DWORD dwGroup) PURE; + STDMETHOD(AssignPChannel)(THIS_ DWORD dwPChannel, IDirectMusicPort *pPort, DWORD dwGroup, DWORD dwMChannel) PURE; + STDMETHOD(PChannelInfo)(THIS_ DWORD dwPChannel, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; + STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInst, DWORD dwPChannel, IDirectMusicDownloadedInstrument **ppDownInst, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; + STDMETHOD(Invalidate)(THIS_ MUSIC_TIME mtTime, DWORD dwFlags) PURE; + STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; + STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; + STDMETHOD(GetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; + STDMETHOD(SetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; + STDMETHOD(GetLatencyTime)(THIS_ REFERENCE_TIME *prtTime) PURE; + STDMETHOD(GetQueueTime)(THIS_ REFERENCE_TIME *prtTime) PURE; + STDMETHOD(AdjustTime)(THIS_ REFERENCE_TIME rtAmount) PURE; + STDMETHOD(CloseDown)(THIS) PURE; + STDMETHOD(GetResolvedTime)(THIS_ REFERENCE_TIME rtTime, REFERENCE_TIME *prtResolved, DWORD dwTimeResolveFlags) PURE; + STDMETHOD(MIDIToMusic)(THIS_ BYTE bMIDIValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, WORD *pwMusicValue) PURE; + STDMETHOD(MusicToMIDI)(THIS_ WORD wMusicValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, BYTE *pbMIDIValue) PURE; + STDMETHOD(TimeToRhythm)(THIS_ MUSIC_TIME mtTime, DMUS_TIMESIGNATURE *pTimeSig, WORD *pwMeasure, BYTE *pbBeat, BYTE *pbGrid, short *pnOffset) PURE; + STDMETHOD(RhythmToTime)(THIS_ WORD wMeasure, BYTE bBeat, BYTE bGrid, short nOffset, DMUS_TIMESIGNATURE *pTimeSig, MUSIC_TIME *pmtTime) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicPerformance_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicPerformance_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicPerformance_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicPerformance methods ***/ +#define IDirectMusicPerformance_Init(p,a,b,c) (p)->lpVtbl->Init(p,a,b,c) +#define IDirectMusicPerformance_PlaySegment(p,a,b,c,d) (p)->lpVtbl->PlaySegment(p,a,b,c,d) +#define IDirectMusicPerformance_Stop(p,a,b,c,d) (p)->lpVtbl->Stop(p,a,b,c,d) +#define IDirectMusicPerformance_GetSegmentState(p,a,b) (p)->lpVtbl->GetSegmentState(p,a,b) +#define IDirectMusicPerformance_SetPrepareTime(p,a) (p)->lpVtbl->SetPrepareTime(p,a) +#define IDirectMusicPerformance_GetPrepareTime(p,a) (p)->lpVtbl->GetPrepareTime(p,a) +#define IDirectMusicPerformance_SetBumperLength(p,a) (p)->lpVtbl->SetBumperLength(p,a) +#define IDirectMusicPerformance_GetBumperLength(p,a) (p)->lpVtbl->GetBumperLength(p,a) +#define IDirectMusicPerformance_SendPMsg(p,a) (p)->lpVtbl->SendPMsg(p,a) +#define IDirectMusicPerformance_MusicToReferenceTime(p,a,b) (p)->lpVtbl->MusicToReferenceTime(p,a,b) +#define IDirectMusicPerformance_ReferenceToMusicTime(p,a,b) (p)->lpVtbl->ReferenceToMusicTime(p,a,b) +#define IDirectMusicPerformance_IsPlaying(p,a,b) (p)->lpVtbl->IsPlaying(p,a,b) +#define IDirectMusicPerformance_GetTime(p,a,b) (p)->lpVtbl->GetTime(p,a,b) +#define IDirectMusicPerformance_AllocPMsg(p,a,b) (p)->lpVtbl->AllocPMsg(p,a,b) +#define IDirectMusicPerformance_FreePMsg(p,a) (p)->lpVtbl->FreePMsg(p,a) +#define IDirectMusicPerformance_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a) +#define IDirectMusicPerformance_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a) +#define IDirectMusicPerformance_SetNotificationHandle(p,a,b) (p)->lpVtbl->SetNotificationHandle(p,a,b) +#define IDirectMusicPerformance_GetNotificationPMsg(p,a) (p)->lpVtbl->GetNotificationPMsg(p,a) +#define IDirectMusicPerformance_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a) +#define IDirectMusicPerformance_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) +#define IDirectMusicPerformance_AddPort(p,a) (p)->lpVtbl->AddPort(p,a) +#define IDirectMusicPerformance_RemovePort(p,a) (p)->lpVtbl->RemovePort(p,a) +#define IDirectMusicPerformance_AssignPChannelBlock(p,a,b,c) (p)->lpVtbl->AssignPChannelBlock(p,a,b,c) +#define IDirectMusicPerformance_AssignPChannel(p,a,b,c,d) (p)->lpVtbl->AssignPChannel(p,a,b,c,d) +#define IDirectMusicPerformance_PChannelInfo(p,a,b,c,d) (p)->lpVtbl->PChannelInfo(p,a,b,c,d) +#define IDirectMusicPerformance_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h) +#define IDirectMusicPerformance_Invalidate(p,a,b) (p)->lpVtbl->Invalidate(p,a,b) +#define IDirectMusicPerformance_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) +#define IDirectMusicPerformance_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e) +#define IDirectMusicPerformance_GetGlobalParam(p,a,b,c) (p)->lpVtbl->GetGlobalParam(p,a,b,c) +#define IDirectMusicPerformance_SetGlobalParam(p,a,b,c) (p)->lpVtbl->SetGlobalParam(p,a,b,c) +#define IDirectMusicPerformance_GetLatencyTime(p,a) (p)->lpVtbl->GetLatencyTime(p,a) +#define IDirectMusicPerformance_GetQueueTime(p,a) (p)->lpVtbl->GetQueueTime(p,a) +#define IDirectMusicPerformance_AdjustTime(p,a) (p)->lpVtbl->AdjustTime(p,a) +#define IDirectMusicPerformance_CloseDown(p) (p)->lpVtbl->CloseDown(p) +#define IDirectMusicPerformance_GetResolvedTime(p,a,b,c) (p)->lpVtbl->GetResolvedTime(p,a,b,c) +#define IDirectMusicPerformance_MIDIToMusic(p,a,b,c,d,e) (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e) +#define IDirectMusicPerformance_MusicToMIDI(p,a,b,c,d,e) (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e) +#define IDirectMusicPerformance_TimeToRhythm(p,a,b,c,d,e,f) (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f) +#define IDirectMusicPerformance_RhythmToTime(p,a,b,c,d,e,f) (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f) +#endif + + +/***************************************************************************** + * IDirectMusicPerformance8 interface + */ +#define INTERFACE IDirectMusicPerformance8 +DECLARE_INTERFACE_(IDirectMusicPerformance8,IDirectMusicPerformance) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicPerformance methods ***/ + STDMETHOD(Init)(THIS_ IDirectMusic **ppDirectMusic, LPDIRECTSOUND pDirectSound, HWND hWnd) PURE; + STDMETHOD(PlaySegment)(THIS_ IDirectMusicSegment *pSegment, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState) PURE; + STDMETHOD(Stop)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegmentState, MUSIC_TIME mtTime, DWORD dwFlags) PURE; + STDMETHOD(GetSegmentState)(THIS_ IDirectMusicSegmentState **ppSegmentState, MUSIC_TIME mtTime) PURE; + STDMETHOD(SetPrepareTime)(THIS_ DWORD dwMilliSeconds) PURE; + STDMETHOD(GetPrepareTime)(THIS_ DWORD *pdwMilliSeconds) PURE; + STDMETHOD(SetBumperLength)(THIS_ DWORD dwMilliSeconds) PURE; + STDMETHOD(GetBumperLength)(THIS_ DWORD *pdwMilliSeconds) PURE; + STDMETHOD(SendPMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; + STDMETHOD(MusicToReferenceTime)(THIS_ MUSIC_TIME mtTime, REFERENCE_TIME *prtTime) PURE; + STDMETHOD(ReferenceToMusicTime)(THIS_ REFERENCE_TIME rtTime, MUSIC_TIME *pmtTime) PURE; + STDMETHOD(IsPlaying)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegState) PURE; + STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *prtNow, MUSIC_TIME *pmtNow) PURE; + STDMETHOD(AllocPMsg)(THIS_ ULONG cb, DMUS_PMSG **ppPMSG) PURE; + STDMETHOD(FreePMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; + STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; + STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; + STDMETHOD(SetNotificationHandle)(THIS_ HANDLE hNotification, REFERENCE_TIME rtMinimum) PURE; + STDMETHOD(GetNotificationPMsg)(THIS_ DMUS_NOTIFICATION_PMSG **ppNotificationPMsg) PURE; + STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; + STDMETHOD(AddPort)(THIS_ IDirectMusicPort *pPort) PURE; + STDMETHOD(RemovePort)(THIS_ IDirectMusicPort *pPort) PURE; + STDMETHOD(AssignPChannelBlock)(THIS_ DWORD dwBlockNum, IDirectMusicPort *pPort, DWORD dwGroup) PURE; + STDMETHOD(AssignPChannel)(THIS_ DWORD dwPChannel, IDirectMusicPort *pPort, DWORD dwGroup, DWORD dwMChannel) PURE; + STDMETHOD(PChannelInfo)(THIS_ DWORD dwPChannel, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; + STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInst, DWORD dwPChannel, IDirectMusicDownloadedInstrument **ppDownInst, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; + STDMETHOD(Invalidate)(THIS_ MUSIC_TIME mtTime, DWORD dwFlags) PURE; + STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; + STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; + STDMETHOD(GetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; + STDMETHOD(SetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; + STDMETHOD(GetLatencyTime)(THIS_ REFERENCE_TIME *prtTime) PURE; + STDMETHOD(GetQueueTime)(THIS_ REFERENCE_TIME *prtTime) PURE; + STDMETHOD(AdjustTime)(THIS_ REFERENCE_TIME rtAmount) PURE; + STDMETHOD(CloseDown)(THIS) PURE; + STDMETHOD(GetResolvedTime)(THIS_ REFERENCE_TIME rtTime, REFERENCE_TIME *prtResolved, DWORD dwTimeResolveFlags) PURE; + STDMETHOD(MIDIToMusic)(THIS_ BYTE bMIDIValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, WORD *pwMusicValue) PURE; + STDMETHOD(MusicToMIDI)(THIS_ WORD wMusicValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, BYTE *pbMIDIValue) PURE; + STDMETHOD(TimeToRhythm)(THIS_ MUSIC_TIME mtTime, DMUS_TIMESIGNATURE *pTimeSig, WORD *pwMeasure, BYTE *pbBeat, BYTE *pbGrid, short *pnOffset) PURE; + STDMETHOD(RhythmToTime)(THIS_ WORD wMeasure, BYTE bBeat, BYTE bGrid, short nOffset, DMUS_TIMESIGNATURE *pTimeSig, MUSIC_TIME *pmtTime) PURE; + /*** IDirectMusicPerformance8 methods ***/ + STDMETHOD(InitAudio)(THIS_ IDirectMusic **ppDirectMusic, IDirectSound **ppDirectSound, HWND hWnd, DWORD dwDefaultPathType, DWORD dwPChannelCount, DWORD dwFlags, DMUS_AUDIOPARAMS *pParams) PURE; + STDMETHOD(PlaySegmentEx)(THIS_ IUnknown *pSource, WCHAR *pwzSegmentName, IUnknown *pTransition, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState, IUnknown *pFrom, IUnknown *pAudioPath) PURE; + STDMETHOD(StopEx)(THIS_ IUnknown *pObjectToStop, __int64 i64StopTime, DWORD dwFlags) PURE; + STDMETHOD(ClonePMsg)(THIS_ DMUS_PMSG *pSourcePMSG, DMUS_PMSG **ppCopyPMSG) PURE; + STDMETHOD(CreateAudioPath)(THIS_ IUnknown *pSourceConfig, BOOL fActivate, IDirectMusicAudioPath **ppNewPath) PURE; + STDMETHOD(CreateStandardAudioPath)(THIS_ DWORD dwType, DWORD dwPChannelCount, BOOL fActivate, IDirectMusicAudioPath **ppNewPath) PURE; + STDMETHOD(SetDefaultAudioPath)(THIS_ IDirectMusicAudioPath *pAudioPath) PURE; + STDMETHOD(GetDefaultAudioPath)(THIS_ IDirectMusicAudioPath **ppAudioPath) PURE; + STDMETHOD(GetParamEx)(THIS_ REFGUID rguidType, DWORD dwTrackID, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicPerformance8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicPerformance8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicPerformance8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicPerformance methods ***/ +#define IDirectMusicPerformance8_Init(p,a,b,c) (p)->lpVtbl->Init(p,a,b,c) +#define IDirectMusicPerformance8_PlaySegment(p,a,b,c,d) (p)->lpVtbl->PlaySegment(p,a,b,c,d) +#define IDirectMusicPerformance8_Stop(p,a,b,c,d) (p)->lpVtbl->Stop(p,a,b,c,d) +#define IDirectMusicPerformance8_GetSegmentState(p,a,b) (p)->lpVtbl->GetSegmentState(p,a,b) +#define IDirectMusicPerformance8_SetPrepareTime(p,a) (p)->lpVtbl->SetPrepareTime(p,a) +#define IDirectMusicPerformance8_GetPrepareTime(p,a) (p)->lpVtbl->GetPrepareTime(p,a) +#define IDirectMusicPerformance8_SetBumperLength(p,a) (p)->lpVtbl->SetBumperLength(p,a) +#define IDirectMusicPerformance8_GetBumperLength(p,a) (p)->lpVtbl->GetBumperLength(p,a) +#define IDirectMusicPerformance8_SendPMsg(p,a) (p)->lpVtbl->SendPMsg(p,a) +#define IDirectMusicPerformance8_MusicToReferenceTime(p,a,b) (p)->lpVtbl->MusicToReferenceTime(p,a,b) +#define IDirectMusicPerformance8_ReferenceToMusicTime(p,a,b) (p)->lpVtbl->ReferenceToMusicTime(p,a,b) +#define IDirectMusicPerformance8_IsPlaying(p,a,b) (p)->lpVtbl->IsPlaying(p,a,b) +#define IDirectMusicPerformance8_GetTime(p,a,b) (p)->lpVtbl->GetTime(p,a,b) +#define IDirectMusicPerformance8_AllocPMsg(p,a,b) (p)->lpVtbl->AllocPMsg(p,a,b) +#define IDirectMusicPerformance8_FreePMsg(p,a) (p)->lpVtbl->FreePMsg(p,a) +#define IDirectMusicPerformance8_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a) +#define IDirectMusicPerformance8_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a) +#define IDirectMusicPerformance8_SetNotificationHandle(p,a,b) (p)->lpVtbl->SetNotificationHandle(p,a,b) +#define IDirectMusicPerformance8_GetNotificationPMsg(p,a) (p)->lpVtbl->GetNotificationPMsg(p,a) +#define IDirectMusicPerformance8_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a) +#define IDirectMusicPerformance8_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) +#define IDirectMusicPerformance8_AddPort(p,a) (p)->lpVtbl->AddPort(p,a) +#define IDirectMusicPerformance8_RemovePort(p,a) (p)->lpVtbl->RemovePort(p,a) +#define IDirectMusicPerformance8_AssignPChannelBlock(p,a,b,c) (p)->lpVtbl->AssignPChannelBlock(p,a,b,c) +#define IDirectMusicPerformance8_AssignPChannel(p,a,b,c,d) (p)->lpVtbl->AssignPChannel(p,a,b,c,d) +#define IDirectMusicPerformance8_PChannelInfo(p,a,b,c,d) (p)->lpVtbl->PChannelInfo(p,a,b,c,d) +#define IDirectMusicPerformance8_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h) +#define IDirectMusicPerformance8_Invalidate(p,a,b) (p)->lpVtbl->Invalidate(p,a,b) +#define IDirectMusicPerformance8_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) +#define IDirectMusicPerformance8_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e) +#define IDirectMusicPerformance8_GetGlobalParam(p,a,b,c) (p)->lpVtbl->GetGlobalParam(p,a,b,c) +#define IDirectMusicPerformance8_SetGlobalParam(p,a,b,c) (p)->lpVtbl->SetGlobalParam(p,a,b,c) +#define IDirectMusicPerformance8_GetLatencyTime(p,a) (p)->lpVtbl->GetLatencyTime(p,a) +#define IDirectMusicPerformance8_GetQueueTime(p,a) (p)->lpVtbl->GetQueueTime(p,a) +#define IDirectMusicPerformance8_AdjustTime(p,a) (p)->lpVtbl->AdjustTime(p,a) +#define IDirectMusicPerformance8_CloseDown(p) (p)->lpVtbl->CloseDown(p) +#define IDirectMusicPerformance8_GetResolvedTime(p,a,b,c) (p)->lpVtbl->GetResolvedTime(p,a,b,c) +#define IDirectMusicPerformance8_MIDIToMusic(p,a,b,c,d,e) (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e) +#define IDirectMusicPerformance8_MusicToMIDI(p,a,b,c,d,e) (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e) +#define IDirectMusicPerformance8_TimeToRhythm(p,a,b,c,d,e,f) (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f) +#define IDirectMusicPerformance8_RhythmToTime(p,a,b,c,d,e,f) (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f) + /* IDirectMusicPerformance8 methods*/ +#define IDirectMusicPerformance8_InitAudio(p,a,b,c,d,e,f,g) (p)->lpVtbl->InitAudio(p,a,b,c,d,e,f,g) +#define IDirectMusicPerformance8_PlaySegmentEx(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->PlaySegmentEx(p,a,b,c,d,e,f,g,h) +#define IDirectMusicPerformance8_StopEx(p,a,b,c) (p)->lpVtbl->StopEx(p,a,b,c) +#define IDirectMusicPerformance8_ClonePMsg(p,a,b) (p)->lpVtbl->ClonePMsg(p,a,b) +#define IDirectMusicPerformance8_CreateAudioPath(p,a,b,c) (p)->lpVtbl->CreateAudioPath(p,a,b,c) +#define IDirectMusicPerformance8_CreateStandardAudioPath(p,a,b,c,d) (p)->lpVtbl->CreateStandardAudioPath(p,a,b,c,d) +#define IDirectMusicPerformance8_SetDefaultAudioPath(p,a) (p)->lpVtbl->SetDefaultAudioPath(p,a) +#define IDirectMusicPerformance8_GetDefaultAudioPath(p,a) (p)->lpVtbl->GetDefaultAudioPath(p,a) +#define IDirectMusicPerformance8_GetParamEx(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetParamEx(p,a,b,c,d,e,f,g) +#endif + + +/***************************************************************************** + * IDirectMusicGraph interface + */ +#define INTERFACE IDirectMusicGraph +DECLARE_INTERFACE_(IDirectMusicGraph,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicGraph methods ***/ + STDMETHOD(StampPMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; + STDMETHOD(InsertTool)(THIS_ IDirectMusicTool *pTool, DWORD *pdwPChannels, DWORD cPChannels, LONG lIndex) PURE; + STDMETHOD(GetTool)(THIS_ DWORD dwIndex, IDirectMusicTool **ppTool) PURE; + STDMETHOD(RemoveTool)(THIS_ IDirectMusicTool *pTool) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicGraph_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicGraph_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicGraph_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicGraph methods ***/ +#define IDirectMusicGraph_StampPMsg(p,a) (p)->lpVtbl->StampPMsg(p,a) +#define IDirectMusicGraph_InsertTool(p,a,b,c,d) (p)->lpVtbl->InsertTool(p,a,b,c,d) +#define IDirectMusicGraph_GetTool(p,a,b) (p)->lpVtbl->GetTool(p,a,b) +#define IDirectMusicGraph_RemoveTool(p,a) (p)->lpVtbl->RemoveTool(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicStyle interface + */ +#define INTERFACE IDirectMusicStyle +DECLARE_INTERFACE_(IDirectMusicStyle,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicStyle methods ***/ + STDMETHOD(GetBand)(THIS_ WCHAR *pwszName, IDirectMusicBand **ppBand) PURE; + STDMETHOD(EnumBand)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(GetDefaultBand)(THIS_ IDirectMusicBand **ppBand) PURE; + STDMETHOD(EnumMotif)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(GetMotif)(THIS_ WCHAR *pwszName, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(GetDefaultChordMap)(THIS_ struct IDirectMusicChordMap **ppChordMap) PURE; + STDMETHOD(EnumChordMap)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(GetChordMap)(THIS_ WCHAR *pwszName, struct IDirectMusicChordMap **ppChordMap) PURE; + STDMETHOD(GetTimeSignature)(THIS_ DMUS_TIMESIGNATURE *pTimeSig) PURE; + STDMETHOD(GetEmbellishmentLength)(THIS_ DWORD dwType, DWORD dwLevel, DWORD *pdwMin, DWORD *pdwMax) PURE; + STDMETHOD(GetTempo)(THIS_ double *pTempo) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicStyle_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicStyle_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicStyle_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicStyle methods ***/ +#define IDirectMusicStyle_GetBand(p,a,b) (p)->lpVtbl->GetBand(p,a,b) +#define IDirectMusicStyle_EnumBand(p,a,b) (p)->lpVtbl->EnumBand(p,a,b) +#define IDirectMusicStyle_GetDefaultBand(p,a) (p)->lpVtbl->GetDefaultBand(p,a) +#define IDirectMusicStyle_EnumMotif(p,a,b) (p)->lpVtbl->EnumMotif(p,a,b) +#define IDirectMusicStyle_GetMotif(p,a,b) (p)->lpVtbl->GetMotif(p,a,b) +#define IDirectMusicStyle_GetDefaultChordMap(p,a) (p)->lpVtbl->GetDefaultChordMap(p,a) +#define IDirectMusicStyle_EnumChordMap(p,a,b) (p)->lpVtbl->EnumChordMap(p,a,b) +#define IDirectMusicStyle_GetChordMap(p,a,b) (p)->lpVtbl->GetChordMap(p,a,b) +#define IDirectMusicStyle_GetTimeSignature(p,a) (p)->lpVtbl->GetTimeSignature(p,a) +#define IDirectMusicStyle_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d) +#define IDirectMusicStyle_GetTempo(p,a) (p)->lpVtbl->GetTempo(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicStyle8 interface + */ +#define INTERFACE IDirectMusicStyle8 +DECLARE_INTERFACE_(IDirectMusicStyle8,IDirectMusicStyle) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicStyle methods ***/ + STDMETHOD(GetBand)(THIS_ WCHAR *pwszName, IDirectMusicBand **ppBand) PURE; + STDMETHOD(EnumBand)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(GetDefaultBand)(THIS_ IDirectMusicBand **ppBand) PURE; + STDMETHOD(EnumMotif)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(GetMotif)(THIS_ WCHAR *pwszName, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(GetDefaultChordMap)(THIS_ struct IDirectMusicChordMap **ppChordMap) PURE; + STDMETHOD(EnumChordMap)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(GetChordMap)(THIS_ WCHAR *pwszName, struct IDirectMusicChordMap **ppChordMap) PURE; + STDMETHOD(GetTimeSignature)(THIS_ DMUS_TIMESIGNATURE *pTimeSig) PURE; + STDMETHOD(GetEmbellishmentLength)(THIS_ DWORD dwType, DWORD dwLevel, DWORD *pdwMin, DWORD *pdwMax) PURE; + STDMETHOD(GetTempo)(THIS_ double *pTempo) PURE; + /*** IDirectMusicStyle8 methods ***/ + STDMETHOD(EnumPattern)(THIS_ DWORD dwIndex, DWORD dwPatternType, WCHAR *pwszName) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicStyle8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicStyle8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicStyle8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicStyle methods ***/ +#define IDirectMusicStyle8_GetBand(p,a,b) (p)->lpVtbl->GetBand(p,a,b) +#define IDirectMusicStyle8_EnumBand(p,a,b) (p)->lpVtbl->EnumBand(p,a,b) +#define IDirectMusicStyle8_GetDefaultBand(p,a) (p)->lpVtbl->GetDefaultBand(p,a) +#define IDirectMusicStyle8_EnumMotif(p,a,b) (p)->lpVtbl->EnumMotif(p,a,b) +#define IDirectMusicStyle8_GetMotif(p,a,b) (p)->lpVtbl->GetMotif(p,a,b) +#define IDirectMusicStyle8_GetDefaultChordMap(p,a) (p)->lpVtbl->GetDefaultChordMap(p,a) +#define IDirectMusicStyle8_EnumChordMap(p,a,b) (p)->lpVtbl->EnumChordMap(p,a,b) +#define IDirectMusicStyle8_GetChordMap(p,a,b) (p)->lpVtbl->GetChordMap(p,a,b) +#define IDirectMusicStyle8_GetTimeSignature(p,a) (p)->lpVtbl->GetTimeSignature(p,a) +#define IDirectMusicStyle8_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d) +#define IDirectMusicStyle8_GetTempo(p,a) (p)->lpVtbl->GetTempo(p,a) +/*** IDirectMusicStyle8 methods ***/ +#define IDirectMusicStyle8_EnumPattern(p,a,b,c) (p)->lpVtbl->EnumPattern(p,a,b,c) +#endif + + +/***************************************************************************** + * IDirectMusicChordMap interface + */ +#define INTERFACE IDirectMusicChordMap +DECLARE_INTERFACE_(IDirectMusicChordMap,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicChordMap methods ***/ + STDMETHOD(GetScale)(THIS_ DWORD *pdwScale) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicChordMap_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicChordMap_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicChordMap_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicChordMap methods ***/ +#define IDirectMusicChordMap_GetScale(p,a) (p)->lpVtbl->GetScale(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicComposer interface + */ +#define INTERFACE IDirectMusicComposer +DECLARE_INTERFACE_(IDirectMusicComposer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicComposer methods ***/ + STDMETHOD(ComposeSegmentFromTemplate)(THIS_ IDirectMusicStyle *pStyle, IDirectMusicSegment *pTemplate, WORD wActivity, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(ComposeSegmentFromShape)(THIS_ IDirectMusicStyle *pStyle, WORD wNumMeasures, WORD wShape, WORD wActivity, BOOL fIntro, BOOL fEnd, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(ComposeTransition)(THIS_ IDirectMusicSegment *pFromSeg, IDirectMusicSegment *pToSeg, MUSIC_TIME mtTime, WORD wCommand, DWORD dwFlags, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppTransSeg) PURE; + STDMETHOD(AutoTransition)(THIS_ IDirectMusicPerformance *pPerformance, IDirectMusicSegment *pToSeg, WORD wCommand, DWORD dwFlags, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppTransSeg, IDirectMusicSegmentState **ppToSegState, IDirectMusicSegmentState **ppTransSegState) PURE; + STDMETHOD(ComposeTemplateFromShape)(THIS_ WORD wNumMeasures, WORD wShape, BOOL fIntro, BOOL fEnd, WORD wEndLength, IDirectMusicSegment **ppTemplate) PURE; + STDMETHOD(ChangeChordMap)(THIS_ IDirectMusicSegment *pSegment, BOOL fTrackScale, IDirectMusicChordMap *pChordMap) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicComposer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicComposer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicComposer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicComposer methods ***/ +#define IDirectMusicComposer_ComposeSegmentFromTemplate(p,a,b,c,d,e) (p)->lpVtbl->ComposeSegmentFromTemplate(p,a,b,c,d,e) +#define IDirectMusicComposer_ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) +#define IDirectMusicComposer_ComposeTransition(p,a,b,c,d,e,f,g) (p)->lpVtbl->ComposeTransition(p,a,b,c,d,e,f,g) +#define IDirectMusicComposer_AutoTransition(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->AutoTransition(p,a,b,c,d,e,f,g,h) +#define IDirectMusicComposer_ComposeTemplateFromShape(p,a,b,c,d,e,f) (p)->lpVtbl->ComposeTemplateFromShape(p,a,b,c,d,e,f) +#define IDirectMusicComposer_ChangeChordMap(p,a,b,c) (p)->lpVtbl->ChangeChordMap(p,a,b,c) +#endif + + +/***************************************************************************** + * IDirectMusicPatternTrack interface + */ +#define INTERFACE IDirectMusicPatternTrack +DECLARE_INTERFACE_(IDirectMusicPatternTrack,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicPatternTrack methods ***/ + STDMETHOD(CreateSegment)(THIS_ IDirectMusicStyle *pStyle, IDirectMusicSegment **ppSegment) PURE; + STDMETHOD(SetVariation)(THIS_ IDirectMusicSegmentState *pSegState, DWORD dwVariationFlags, DWORD dwPart) PURE; + STDMETHOD(SetPatternByName)(THIS_ IDirectMusicSegmentState *pSegState, WCHAR *wszName, IDirectMusicStyle *pStyle, DWORD dwPatternType, DWORD *pdwLength) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicPatternTrack_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicPatternTrack_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicPatternTrack_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicPatternTrack methods ***/ +#define IDirectMusicPatternTrack_CreateSegment(p,a,b) (p)->lpVtbl->CreateSegment(p,a,b) +#define IDirectMusicPatternTrack_SetVariation(p,a,b,c) (p)->lpVtbl->SetVariation(p,a,b,c) +#define IDirectMusicPatternTrack_SetPatternByName(p,a,b,c,d,e) (p)->lpVtbl->SetPatternByName(p,a,b,c,d,e) +#endif + + +/***************************************************************************** + * IDirectMusicScript interface + */ +#define INTERFACE IDirectMusicScript +DECLARE_INTERFACE_(IDirectMusicScript,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicScript methods ***/ + STDMETHOD(Init)(THIS_ IDirectMusicPerformance *pPerformance, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(CallRoutine)(THIS_ WCHAR *pwszRoutineName, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(SetVariableVariant)(THIS_ WCHAR *pwszVariableName, VARIANT varValue, BOOL fSetRef, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(GetVariableVariant)(THIS_ WCHAR *pwszVariableName, VARIANT *pvarValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(SetVariableNumber)(THIS_ WCHAR *pwszVariableName, LONG lValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(GetVariableNumber)(THIS_ WCHAR *pwszVariableName, LONG *plValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(SetVariableObject)(THIS_ WCHAR *pwszVariableName, IUnknown *punkValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(GetVariableObject)(THIS_ WCHAR *pwszVariableName, REFIID riid, LPVOID *ppv, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; + STDMETHOD(EnumRoutine)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; + STDMETHOD(EnumVariable)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicScript_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicScript_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicScript_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicScript methods ***/ +#define IDirectMusicPatternTrack_Init(p,a,b) (p)->lpVtbl->Init(p,a,b) +#define IDirectMusicPatternTrack_CallRoutine(p,a,b) (p)->lpVtbl->CallRoutine(p,a,b) +#define IDirectMusicPatternTrack_SetVariableVariant(p,a,b,c,d) (p)->lpVtbl->SetVariableVariant(p,a,b,c,d) +#define IDirectMusicPatternTrack_GetVariableVariant(p,a,b,c) (p)->lpVtbl->GetVariableVariant(p,a,b,c) +#define IDirectMusicPatternTrack_SetVariableNumber(p,a,b,c) (p)->lpVtbl->SetVariableNumber(p,a,b,c) +#define IDirectMusicPatternTrack_GetVariableNumber(p,a,b,c) (p)->lpVtbl->GetVariableNumber(p,a,b,c) +#define IDirectMusicPatternTrack_SetVariableObject(p,a,b,c) (p)->lpVtbl->SetVariableObject(p,a,b,c) +#define IDirectMusicPatternTrack_GetVariableObject(p,a,b,c,d) (p)->lpVtbl->GetVariableObject(p,a,b,c,d) +#define IDirectMusicPatternTrack_EnumRoutine(p,a,b) (p)->lpVtbl->EnumRoutine(p,a,b) +#define IDirectMusicPatternTrack_EnumVariable(p,a,b) (p)->lpVtbl->EnumVariable(p,a,b) +#endif + + +/***************************************************************************** + * IDirectMusicContainer interface + */ +#define INTERFACE IDirectMusicContainer +DECLARE_INTERFACE_(IDirectMusicContainer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicContainer methods ***/ + STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc, WCHAR *pwszAlias) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicContainer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicContainer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicContainer methods ***/ +#define IDirectMusicContainer_EnumObject(p,a,b,c,d) (p)->lpVtbl->EnumObject(p,a,b,c,d) +#endif + + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_DMUSIC_PERFORMANCE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusics.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusics.h new file mode 100644 index 0000000..7d48e93 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dmusics.h @@ -0,0 +1,237 @@ +/* + * DirectMusic Software Synth Definitions + * + * Copyright (C) 2003-2004 Rok Mandeljc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DMUSIC_SOFTWARESYNTH_H +#define __WINE_DMUSIC_SOFTWARESYNTH_H + +#include + +/***************************************************************************** + * Registry path + */ +#define REGSTR_PATH_SOFTWARESYNTHS "Software\\Microsoft\\DirectMusic\\SoftwareSynths" + + +/***************************************************************************** + * Predeclare the interfaces + */ +/* IIDs */ +DEFINE_GUID(IID_IDirectMusicSynth, 0x09823661,0x5c85,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); +DEFINE_GUID(IID_IDirectMusicSynth8, 0x53cab625,0x2711,0x4c9f,0x9d,0xe7,0x1b,0x7f,0x92,0x5f,0x6f,0xc8); +DEFINE_GUID(IID_IDirectMusicSynthSink, 0x09823663,0x5c85,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); + +/* typedef definitions */ +typedef struct IDirectMusicSynth *LPDIRECTMUSICSYNTH; +typedef struct IDirectMusicSynth8 *LPDIRECTMUSICSYNTH8; +typedef struct IDirectMusicSynthSink *LPDIRECTMUSICSYNTHSINK; + +/* GUIDs - property set */ +DEFINE_GUID(GUID_DMUS_PROP_SetSynthSink, 0x0a3a5ba5,0x37b6,0x11d2,0xb9,0xf9,0x00,0x00,0xf8,0x75,0xac,0x12); +DEFINE_GUID(GUID_DMUS_PROP_SinkUsesDSound, 0xbe208857,0x8952,0x11d2,0xba,0x1c,0x00,0x00,0xf8,0x75,0xac,0x12); + + +/***************************************************************************** + * Flags + */ +#define REFRESH_F_LASTBUFFER 0x1 + + +/***************************************************************************** + * Structures + */ +#ifndef _DMUS_VOICE_STATE_DEFINED +#define _DMUS_VOICE_STATE_DEFINED + +/* typedef definition */ +typedef struct _DMUS_VOICE_STATE DMUS_VOICE_STATE, *LPDMUS_VOICE_STATE; + +/* actual structure */ +struct _DMUS_VOICE_STATE { + BOOL bExists; + SAMPLE_POSITION spPosition; +}; +#endif /* _DMUS_VOICE_STATE_DEFINED */ + + +/***************************************************************************** + * IDirectMusicSynth interface + */ +#define INTERFACE IDirectMusicSynth +DECLARE_INTERFACE_(IDirectMusicSynth,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSynth methods ***/ + STDMETHOD(Open)(THIS_ LPDMUS_PORTPARAMS pPortParams) PURE; + STDMETHOD(Close)(THIS) PURE; + STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwGroups) PURE; + STDMETHOD(Download)(THIS_ LPHANDLE phDownload, LPVOID pvData, LPBOOL pbFree) PURE; + STDMETHOD(Unload)(THIS_ HANDLE hDownload, HRESULT (CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE hUserData) PURE; + STDMETHOD(PlayBuffer)(THIS_ REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) PURE; + STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE; + STDMETHOD(GetPortCaps)(THIS_ LPDMUS_PORTCAPS pCaps) PURE; + STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE; + STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE; + STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE; + STDMETHOD(SetSynthSink)(THIS_ struct IDirectMusicSynthSink *pSynthSink) PURE; + STDMETHOD(Render)(THIS_ short *pBuffer, DWORD dwLength, LONGLONG llPosition) PURE; + STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE; + STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSiz) PURE; + STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSynth_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSynth_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSynth_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSynth methods ***/ +#define IDirectMusicSynth_Open(p,a) (p)->lpVtbl->Open(p,a) +#define IDirectMusicSynth_Close(p) (p)->lpVtbl->Close(p) +#define IDirectMusicSynth_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a) +#define IDirectMusicSynth_Download(p,a,b,c) (p)->lpVtbl->Download(p,a,b,c) +#define IDirectMusicSynth_Unload(p,a,b,c) (p)->lpVtbl->Unload(p,a,b,c) +#define IDirectMusicSynth_PlayBuffer(p,a,b,c) (p)->lpVtbl->PlayBuffer(p,a,b,c) +#define IDirectMusicSynth_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a) +#define IDirectMusicSynth_GetPortCaps(p,a) (p)->lpVtbl->GetPortCaps(p,a) +#define IDirectMusicSynth_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a) +#define IDirectMusicSynth_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a) +#define IDirectMusicSynth_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusicSynth_SetSynthSink(p,a) (p)->lpVtbl->SetSynthSink(p,a) +#define IDirectMusicSynth_Render(p,a,b,c) (p)->lpVtbl->Render(p,a,b,c) +#define IDirectMusicSynth_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c) +#define IDirectMusicSynth_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c) +#define IDirectMusicSynth_GetFormat(p,a,b) (p)->lpVtbl->GetFormat(p,a,b) +#define IDirectMusicSynth_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a) +#endif + + +/***************************************************************************** + * IDirectMusicSynth8 interface + */ +#define INTERFACE IDirectMusicSynth8 +DECLARE_INTERFACE_(IDirectMusicSynth8,IDirectMusicSynth) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSynth methods ***/ + STDMETHOD(Open)(THIS_ LPDMUS_PORTPARAMS pPortParams) PURE; + STDMETHOD(Close)(THIS) PURE; + STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwGroups) PURE; + STDMETHOD(Download)(THIS_ LPHANDLE phDownload, LPVOID pvData, LPBOOL pbFree) PURE; + STDMETHOD(Unload)(THIS_ HANDLE hDownload, HRESULT (CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE hUserData) PURE; + STDMETHOD(PlayBuffer)(THIS_ REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) PURE; + STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE; + STDMETHOD(GetPortCaps)(THIS_ LPDMUS_PORTCAPS pCaps) PURE; + STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE; + STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE; + STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE; + STDMETHOD(SetSynthSink)(THIS_ struct IDirectMusicSynthSink *pSynthSink) PURE; + STDMETHOD(Render)(THIS_ short *pBuffer, DWORD dwLength, LONGLONG llPosition) PURE; + STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE; + STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSiz) PURE; + STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE; + /*** IDirectMusicSynth8 methods ***/ + STDMETHOD(PlayVoice)(THIS_ REFERENCE_TIME rt, DWORD dwVoiceId, DWORD dwChannelGroup, DWORD dwChannel, DWORD dwDLId, LONG prPitch, LONG vrVolume, SAMPLE_TIME stVoiceStart, SAMPLE_TIME stLoopStart, SAMPLE_TIME stLoopEnd) PURE; + STDMETHOD(StopVoice)(THIS_ REFERENCE_TIME rt, DWORD dwVoiceId) PURE; + STDMETHOD(GetVoiceState)(THIS_ DWORD dwVoice[], DWORD cbVoice, DMUS_VOICE_STATE dwVoiceState[]) PURE; + STDMETHOD(Refresh)(THIS_ DWORD dwDownloadID, DWORD dwFlags) PURE; + STDMETHOD(AssignChannelToBuses)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwBuses, DWORD cBuses) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSynth8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSynth8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSynth8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSynth methods ***/ +#define IDirectMusicSynth8_Open(p,a) (p)->lpVtbl->Open(p,a) +#define IDirectMusicSynth8_Close(p) (p)->lpVtbl->Close(p) +#define IDirectMusicSynth8_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a) +#define IDirectMusicSynth8_Download(p,a,b,c) (p)->lpVtbl->Download(p,a,b,c) +#define IDirectMusicSynth8_Unload(p,a,b,c) (p)->lpVtbl->Unload(p,a,b,c) +#define IDirectMusicSynth8_PlayBuffer(p,a,b,c) (p)->lpVtbl->PlayBuffer(p,a,b,c) +#define IDirectMusicSynth8_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a) +#define IDirectMusicSynth8_GetPortCaps(p,a) (p)->lpVtbl->GetPortCaps(p,a) +#define IDirectMusicSynth8_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a) +#define IDirectMusicSynth8_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a) +#define IDirectMusicSynth8_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusicSynth8_SetSynthSink(p,a) (p)->lpVtbl->SetSynthSink(p,a) +#define IDirectMusicSynth8_Render(p,a,b,c) (p)->lpVtbl->Render(p,a,b,c) +#define IDirectMusicSynth8_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c) +#define IDirectMusicSynth8_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c) +#define IDirectMusicSynth8_GetFormat(p,a,b) (p)->lpVtbl->GetFormat(p,a,b) +#define IDirectMusicSynth8_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a) +/*** IDirectMusicSynth8 methods ***/ +#define IDirectMusicSynth8_PlayVoice(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->PlayVoice(p,a,b,c,d,e,f,g,h,i,j) +#define IDirectMusicSynth8_StopVoice(p,a,b) (p)->lpVtbl->StopVoice(p,a,b) +#define IDirectMusicSynth8_GetVoiceState(p,a,b,c) (p)->lpVtbl->GetVoiceState(p,a,b,c) +#define IDirectMusicSynth8_Refresh(p,a,b) (p)->lpVtbl->Refresh(p,a,b) +#define IDirectMusicSynth8_AssignChannelToBuses(p,a,b,c,d) (p)->lpVtbl->AssignChannelToBuses(p,a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectMusicSynthSink interface + */ +#define INTERFACE IDirectMusicSynthSink +DECLARE_INTERFACE_(IDirectMusicSynthSink,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectMusicSynthSink methods ***/ + STDMETHOD(Init)(THIS_ IDirectMusicSynth *pSynth) PURE; + STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE; + STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE; + STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE; + STDMETHOD(SampleToRefTime)(THIS_ LONGLONG llSampleTime, REFERENCE_TIME *prfTime) PURE; + STDMETHOD(RefTimeToSample)(THIS_ REFERENCE_TIME rfTime, LONGLONG *pllSampleTime) PURE; + STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, LPDIRECTSOUNDBUFFER pDirectSoundBuffer) PURE; + STDMETHOD(GetDesiredBufferSize)(THIS_ LPDWORD pdwBufferSizeInSamples) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectMusicSynthSink_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectMusicSynthSink_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectMusicSynthSink_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectMusicSynth methods ***/ +#define IDirectMusicSynthSink_Init(p,a) (p)->lpVtbl->Init(p,a) +#define IDirectMusicSynthSink_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a) +#define IDirectMusicSynthSink_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a) +#define IDirectMusicSynthSink_Activate(p,a) (p)->lpVtbl->Activate(p,a) +#define IDirectMusicSynthSink_SampleToRefTime(p,a,b) (p)->lpVtbl->SampleToRefTime(p,a,b) +#define IDirectMusicSynthSink_RefTimeToSample(p,a,b) (p)->lpVtbl->RefTimeToSample(p,a,b) +#define IDirectMusicSynthSink_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b) +#define IDirectMusicSynthSink_GetDesiredBufferSize(p,a) (p)->lpVtbl->GetDesiredBufferSize(p,a) +#endif + +#endif /* __WINE_DMUSIC_SOFTWARESYNTH_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobj.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobj.h new file mode 100644 index 0000000..c77a45b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobj.h @@ -0,0 +1,1160 @@ +/*** Autogenerated by WIDL 2.18 from docobj.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __docobj_h__ +#define __docobj_h__ + +/* Forward declarations */ + +#ifndef __IOleDocument_FWD_DEFINED__ +#define __IOleDocument_FWD_DEFINED__ +typedef interface IOleDocument IOleDocument; +#ifdef __cplusplus +interface IOleDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleDocumentSite_FWD_DEFINED__ +#define __IOleDocumentSite_FWD_DEFINED__ +typedef interface IOleDocumentSite IOleDocumentSite; +#ifdef __cplusplus +interface IOleDocumentSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleDocumentView_FWD_DEFINED__ +#define __IOleDocumentView_FWD_DEFINED__ +typedef interface IOleDocumentView IOleDocumentView; +#ifdef __cplusplus +interface IOleDocumentView; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumOleDocumentViews_FWD_DEFINED__ +#define __IEnumOleDocumentViews_FWD_DEFINED__ +typedef interface IEnumOleDocumentViews IEnumOleDocumentViews; +#ifdef __cplusplus +interface IEnumOleDocumentViews; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleCommandTarget_FWD_DEFINED__ +#define __IOleCommandTarget_FWD_DEFINED__ +typedef interface IOleCommandTarget IOleCommandTarget; +#ifdef __cplusplus +interface IOleCommandTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __IContinueCallback_FWD_DEFINED__ +#define __IContinueCallback_FWD_DEFINED__ +typedef interface IContinueCallback IContinueCallback; +#ifdef __cplusplus +interface IContinueCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrint_FWD_DEFINED__ +#define __IPrint_FWD_DEFINED__ +typedef interface IPrint IPrint; +#ifdef __cplusplus +interface IPrint; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IOleDocumentView_FWD_DEFINED__ +#define __IOleDocumentView_FWD_DEFINED__ +typedef interface IOleDocumentView IOleDocumentView; +#ifdef __cplusplus +interface IOleDocumentView; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumOleDocumentViews_FWD_DEFINED__ +#define __IEnumOleDocumentViews_FWD_DEFINED__ +typedef interface IEnumOleDocumentViews IEnumOleDocumentViews; +#ifdef __cplusplus +interface IEnumOleDocumentViews; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IOleDocument interface + */ +#ifndef __IOleDocument_INTERFACE_DEFINED__ +#define __IOleDocument_INTERFACE_DEFINED__ + +typedef IOleDocument *LPOLEDOCUMENT; +typedef enum __WIDL_docobj_generated_name_00000011 { + DOCMISC_CANCREATEMULTIPLEVIEWS = 1, + DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2, + DOCMISC_CANTOPENEDIT = 4, + DOCMISC_NOFILESUPPORT = 8 +} DOCMISC; +DEFINE_GUID(IID_IOleDocument, 0xb722bcc5, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bcc5-4e68-101b-a2bc-00aa00404770") +IOleDocument : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateView( + IOleInPlaceSite *pIPSite, + IStream *pstm, + DWORD dwReserved, + IOleDocumentView **ppView) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocMiscStatus( + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumViews( + IEnumOleDocumentViews **ppEnum, + IOleDocumentView **ppView) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleDocument, 0xb722bcc5, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IOleDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleDocument *This); + + /*** IOleDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateView)( + IOleDocument *This, + IOleInPlaceSite *pIPSite, + IStream *pstm, + DWORD dwReserved, + IOleDocumentView **ppView); + + HRESULT (STDMETHODCALLTYPE *GetDocMiscStatus)( + IOleDocument *This, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *EnumViews)( + IOleDocument *This, + IEnumOleDocumentViews **ppEnum, + IOleDocumentView **ppView); + + END_INTERFACE +} IOleDocumentVtbl; + +interface IOleDocument { + CONST_VTBL IOleDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IOleDocument methods ***/ +#define IOleDocument_CreateView(This,pIPSite,pstm,dwReserved,ppView) (This)->lpVtbl->CreateView(This,pIPSite,pstm,dwReserved,ppView) +#define IOleDocument_GetDocMiscStatus(This,pdwStatus) (This)->lpVtbl->GetDocMiscStatus(This,pdwStatus) +#define IOleDocument_EnumViews(This,ppEnum,ppView) (This)->lpVtbl->EnumViews(This,ppEnum,ppView) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleDocument_QueryInterface(IOleDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleDocument_AddRef(IOleDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleDocument_Release(IOleDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IOleDocument methods ***/ +static FORCEINLINE HRESULT IOleDocument_CreateView(IOleDocument* This,IOleInPlaceSite *pIPSite,IStream *pstm,DWORD dwReserved,IOleDocumentView **ppView) { + return This->lpVtbl->CreateView(This,pIPSite,pstm,dwReserved,ppView); +} +static FORCEINLINE HRESULT IOleDocument_GetDocMiscStatus(IOleDocument* This,DWORD *pdwStatus) { + return This->lpVtbl->GetDocMiscStatus(This,pdwStatus); +} +static FORCEINLINE HRESULT IOleDocument_EnumViews(IOleDocument* This,IEnumOleDocumentViews **ppEnum,IOleDocumentView **ppView) { + return This->lpVtbl->EnumViews(This,ppEnum,ppView); +} +#endif +#endif + +#endif + + +#endif /* __IOleDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleDocumentSite interface + */ +#ifndef __IOleDocumentSite_INTERFACE_DEFINED__ +#define __IOleDocumentSite_INTERFACE_DEFINED__ + +typedef IOleDocumentSite *LPOLEDOCUMENTSITE; +DEFINE_GUID(IID_IOleDocumentSite, 0xb722bcc7, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bcc7-4e68-101b-a2bc-00aa00404770") +IOleDocumentSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ActivateMe( + IOleDocumentView *pViewToActivate) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleDocumentSite, 0xb722bcc7, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IOleDocumentSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleDocumentSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleDocumentSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleDocumentSite *This); + + /*** IOleDocumentSite methods ***/ + HRESULT (STDMETHODCALLTYPE *ActivateMe)( + IOleDocumentSite *This, + IOleDocumentView *pViewToActivate); + + END_INTERFACE +} IOleDocumentSiteVtbl; + +interface IOleDocumentSite { + CONST_VTBL IOleDocumentSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleDocumentSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleDocumentSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleDocumentSite_Release(This) (This)->lpVtbl->Release(This) +/*** IOleDocumentSite methods ***/ +#define IOleDocumentSite_ActivateMe(This,pViewToActivate) (This)->lpVtbl->ActivateMe(This,pViewToActivate) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleDocumentSite_QueryInterface(IOleDocumentSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleDocumentSite_AddRef(IOleDocumentSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleDocumentSite_Release(IOleDocumentSite* This) { + return This->lpVtbl->Release(This); +} +/*** IOleDocumentSite methods ***/ +static FORCEINLINE HRESULT IOleDocumentSite_ActivateMe(IOleDocumentSite* This,IOleDocumentView *pViewToActivate) { + return This->lpVtbl->ActivateMe(This,pViewToActivate); +} +#endif +#endif + +#endif + + +#endif /* __IOleDocumentSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleDocumentView interface + */ +#ifndef __IOleDocumentView_INTERFACE_DEFINED__ +#define __IOleDocumentView_INTERFACE_DEFINED__ + +typedef IOleDocumentView *LPOLEDOCUMENTVIEW; +DEFINE_GUID(IID_IOleDocumentView, 0xb722bcc6, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bcc6-4e68-101b-a2bc-00aa00404770") +IOleDocumentView : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetInPlaceSite( + IOleInPlaceSite *pIPSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInPlaceSite( + IOleInPlaceSite **ppIPSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocument( + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRect( + LPRECT prcView) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRect( + LPRECT prcView) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRectComplex( + LPRECT prcView, + LPRECT prcHScroll, + LPRECT prcVScroll, + LPRECT prcSizeBox) = 0; + + virtual HRESULT STDMETHODCALLTYPE Show( + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE UIActivate( + BOOL fUIActivate) = 0; + + virtual HRESULT STDMETHODCALLTYPE Open( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseView( + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveViewState( + LPSTREAM pstm) = 0; + + virtual HRESULT STDMETHODCALLTYPE ApplyViewState( + LPSTREAM pstm) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IOleInPlaceSite *pIPSiteNew, + IOleDocumentView **ppViewNew) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleDocumentView, 0xb722bcc6, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IOleDocumentViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleDocumentView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleDocumentView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleDocumentView *This); + + /*** IOleDocumentView methods ***/ + HRESULT (STDMETHODCALLTYPE *SetInPlaceSite)( + IOleDocumentView *This, + IOleInPlaceSite *pIPSite); + + HRESULT (STDMETHODCALLTYPE *GetInPlaceSite)( + IOleDocumentView *This, + IOleInPlaceSite **ppIPSite); + + HRESULT (STDMETHODCALLTYPE *GetDocument)( + IOleDocumentView *This, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *SetRect)( + IOleDocumentView *This, + LPRECT prcView); + + HRESULT (STDMETHODCALLTYPE *GetRect)( + IOleDocumentView *This, + LPRECT prcView); + + HRESULT (STDMETHODCALLTYPE *SetRectComplex)( + IOleDocumentView *This, + LPRECT prcView, + LPRECT prcHScroll, + LPRECT prcVScroll, + LPRECT prcSizeBox); + + HRESULT (STDMETHODCALLTYPE *Show)( + IOleDocumentView *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *UIActivate)( + IOleDocumentView *This, + BOOL fUIActivate); + + HRESULT (STDMETHODCALLTYPE *Open)( + IOleDocumentView *This); + + HRESULT (STDMETHODCALLTYPE *CloseView)( + IOleDocumentView *This, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *SaveViewState)( + IOleDocumentView *This, + LPSTREAM pstm); + + HRESULT (STDMETHODCALLTYPE *ApplyViewState)( + IOleDocumentView *This, + LPSTREAM pstm); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IOleDocumentView *This, + IOleInPlaceSite *pIPSiteNew, + IOleDocumentView **ppViewNew); + + END_INTERFACE +} IOleDocumentViewVtbl; + +interface IOleDocumentView { + CONST_VTBL IOleDocumentViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleDocumentView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleDocumentView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleDocumentView_Release(This) (This)->lpVtbl->Release(This) +/*** IOleDocumentView methods ***/ +#define IOleDocumentView_SetInPlaceSite(This,pIPSite) (This)->lpVtbl->SetInPlaceSite(This,pIPSite) +#define IOleDocumentView_GetInPlaceSite(This,ppIPSite) (This)->lpVtbl->GetInPlaceSite(This,ppIPSite) +#define IOleDocumentView_GetDocument(This,ppunk) (This)->lpVtbl->GetDocument(This,ppunk) +#define IOleDocumentView_SetRect(This,prcView) (This)->lpVtbl->SetRect(This,prcView) +#define IOleDocumentView_GetRect(This,prcView) (This)->lpVtbl->GetRect(This,prcView) +#define IOleDocumentView_SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox) (This)->lpVtbl->SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox) +#define IOleDocumentView_Show(This,fShow) (This)->lpVtbl->Show(This,fShow) +#define IOleDocumentView_UIActivate(This,fUIActivate) (This)->lpVtbl->UIActivate(This,fUIActivate) +#define IOleDocumentView_Open(This) (This)->lpVtbl->Open(This) +#define IOleDocumentView_CloseView(This,dwReserved) (This)->lpVtbl->CloseView(This,dwReserved) +#define IOleDocumentView_SaveViewState(This,pstm) (This)->lpVtbl->SaveViewState(This,pstm) +#define IOleDocumentView_ApplyViewState(This,pstm) (This)->lpVtbl->ApplyViewState(This,pstm) +#define IOleDocumentView_Clone(This,pIPSiteNew,ppViewNew) (This)->lpVtbl->Clone(This,pIPSiteNew,ppViewNew) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleDocumentView_QueryInterface(IOleDocumentView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleDocumentView_AddRef(IOleDocumentView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleDocumentView_Release(IOleDocumentView* This) { + return This->lpVtbl->Release(This); +} +/*** IOleDocumentView methods ***/ +static FORCEINLINE HRESULT IOleDocumentView_SetInPlaceSite(IOleDocumentView* This,IOleInPlaceSite *pIPSite) { + return This->lpVtbl->SetInPlaceSite(This,pIPSite); +} +static FORCEINLINE HRESULT IOleDocumentView_GetInPlaceSite(IOleDocumentView* This,IOleInPlaceSite **ppIPSite) { + return This->lpVtbl->GetInPlaceSite(This,ppIPSite); +} +static FORCEINLINE HRESULT IOleDocumentView_GetDocument(IOleDocumentView* This,IUnknown **ppunk) { + return This->lpVtbl->GetDocument(This,ppunk); +} +static FORCEINLINE HRESULT IOleDocumentView_SetRect(IOleDocumentView* This,LPRECT prcView) { + return This->lpVtbl->SetRect(This,prcView); +} +static FORCEINLINE HRESULT IOleDocumentView_GetRect(IOleDocumentView* This,LPRECT prcView) { + return This->lpVtbl->GetRect(This,prcView); +} +static FORCEINLINE HRESULT IOleDocumentView_SetRectComplex(IOleDocumentView* This,LPRECT prcView,LPRECT prcHScroll,LPRECT prcVScroll,LPRECT prcSizeBox) { + return This->lpVtbl->SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox); +} +static FORCEINLINE HRESULT IOleDocumentView_Show(IOleDocumentView* This,BOOL fShow) { + return This->lpVtbl->Show(This,fShow); +} +static FORCEINLINE HRESULT IOleDocumentView_UIActivate(IOleDocumentView* This,BOOL fUIActivate) { + return This->lpVtbl->UIActivate(This,fUIActivate); +} +static FORCEINLINE HRESULT IOleDocumentView_Open(IOleDocumentView* This) { + return This->lpVtbl->Open(This); +} +static FORCEINLINE HRESULT IOleDocumentView_CloseView(IOleDocumentView* This,DWORD dwReserved) { + return This->lpVtbl->CloseView(This,dwReserved); +} +static FORCEINLINE HRESULT IOleDocumentView_SaveViewState(IOleDocumentView* This,LPSTREAM pstm) { + return This->lpVtbl->SaveViewState(This,pstm); +} +static FORCEINLINE HRESULT IOleDocumentView_ApplyViewState(IOleDocumentView* This,LPSTREAM pstm) { + return This->lpVtbl->ApplyViewState(This,pstm); +} +static FORCEINLINE HRESULT IOleDocumentView_Clone(IOleDocumentView* This,IOleInPlaceSite *pIPSiteNew,IOleDocumentView **ppViewNew) { + return This->lpVtbl->Clone(This,pIPSiteNew,ppViewNew); +} +#endif +#endif + +#endif + + +#endif /* __IOleDocumentView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumOleDocumentViews interface + */ +#ifndef __IEnumOleDocumentViews_INTERFACE_DEFINED__ +#define __IEnumOleDocumentViews_INTERFACE_DEFINED__ + +typedef IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS; +DEFINE_GUID(IID_IEnumOleDocumentViews, 0xb722bcc8, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bcc8-4e68-101b-a2bc-00aa00404770") +IEnumOleDocumentViews : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cViews, + IOleDocumentView **rgpView, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cViews) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumOleDocumentViews **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumOleDocumentViews, 0xb722bcc8, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IEnumOleDocumentViewsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumOleDocumentViews *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumOleDocumentViews *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumOleDocumentViews *This); + + /*** IEnumOleDocumentViews methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumOleDocumentViews *This, + ULONG cViews, + IOleDocumentView **rgpView, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumOleDocumentViews *This, + ULONG cViews); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumOleDocumentViews *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumOleDocumentViews *This, + IEnumOleDocumentViews **ppEnum); + + END_INTERFACE +} IEnumOleDocumentViewsVtbl; + +interface IEnumOleDocumentViews { + CONST_VTBL IEnumOleDocumentViewsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumOleDocumentViews_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumOleDocumentViews_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumOleDocumentViews_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumOleDocumentViews methods ***/ +#define IEnumOleDocumentViews_Next(This,cViews,rgpView,pcFetched) (This)->lpVtbl->Next(This,cViews,rgpView,pcFetched) +#define IEnumOleDocumentViews_Skip(This,cViews) (This)->lpVtbl->Skip(This,cViews) +#define IEnumOleDocumentViews_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumOleDocumentViews_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumOleDocumentViews_QueryInterface(IEnumOleDocumentViews* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumOleDocumentViews_AddRef(IEnumOleDocumentViews* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumOleDocumentViews_Release(IEnumOleDocumentViews* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumOleDocumentViews methods ***/ +static FORCEINLINE HRESULT IEnumOleDocumentViews_Next(IEnumOleDocumentViews* This,ULONG cViews,IOleDocumentView **rgpView,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cViews,rgpView,pcFetched); +} +static FORCEINLINE HRESULT IEnumOleDocumentViews_Skip(IEnumOleDocumentViews* This,ULONG cViews) { + return This->lpVtbl->Skip(This,cViews); +} +static FORCEINLINE HRESULT IEnumOleDocumentViews_Reset(IEnumOleDocumentViews* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumOleDocumentViews_Clone(IEnumOleDocumentViews* This,IEnumOleDocumentViews **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumOleDocumentViews_RemoteNext_Proxy( + IEnumOleDocumentViews* This, + ULONG cViews, + IOleDocumentView **rgpView, + ULONG *pcFetched); +void __RPC_STUB IEnumOleDocumentViews_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumOleDocumentViews_Next_Proxy( + IEnumOleDocumentViews* This, + ULONG cViews, + IOleDocumentView **rgpView, + ULONG *pcFetched); +HRESULT __RPC_STUB IEnumOleDocumentViews_Next_Stub( + IEnumOleDocumentViews* This, + ULONG cViews, + IOleDocumentView **rgpView, + ULONG *pcFetched); + +#endif /* __IEnumOleDocumentViews_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleCommandTarget interface + */ +#ifndef __IOleCommandTarget_INTERFACE_DEFINED__ +#define __IOleCommandTarget_INTERFACE_DEFINED__ + +typedef IOleCommandTarget *LPOLECOMMANDTARGET; +typedef enum OLECMDF { + OLECMDF_SUPPORTED = 0x1, + OLECMDF_ENABLED = 0x2, + OLECMDF_LATCHED = 0x4, + OLECMDF_NINCHED = 0x8, + OLECMDF_INVISIBLE = 0x10, + OLECMDF_DEFHIDEONCTXTMENU = 0x20 +} OLECMDF; +typedef struct _tagOLECMD { + ULONG cmdID; + DWORD cmdf; +} OLECMD; +typedef struct _tagOLECMDTEXT { + DWORD cmdtextf; + ULONG cwActual; + ULONG cwBuf; + WCHAR rgwz[1]; +} OLECMDTEXT; +typedef enum OLECMDTEXTF { + OLECMDTEXTF_NONE = 0, + OLECMDTEXTF_NAME = 1, + OLECMDTEXTF_STATUS = 2 +} OLECMDTEXTF; +typedef enum OLECMDEXECOPT { + OLECMDEXECOPT_DODEFAULT = 0, + OLECMDEXECOPT_PROMPTUSER = 1, + OLECMDEXECOPT_DONTPROMPTUSER = 2, + OLECMDEXECOPT_SHOWHELP = 3 +} OLECMDEXECOPT; +typedef enum OLECMDID { + OLECMDID_OPEN = 1, + OLECMDID_NEW = 2, + OLECMDID_SAVE = 3, + OLECMDID_SAVEAS = 4, + OLECMDID_SAVECOPYAS = 5, + OLECMDID_PRINT = 6, + OLECMDID_PRINTPREVIEW = 7, + OLECMDID_PAGESETUP = 8, + OLECMDID_SPELL = 9, + OLECMDID_PROPERTIES = 10, + OLECMDID_CUT = 11, + OLECMDID_COPY = 12, + OLECMDID_PASTE = 13, + OLECMDID_PASTESPECIAL = 14, + OLECMDID_UNDO = 15, + OLECMDID_REDO = 16, + OLECMDID_SELECTALL = 17, + OLECMDID_CLEARSELECTION = 18, + OLECMDID_ZOOM = 19, + OLECMDID_GETZOOMRANGE = 20, + OLECMDID_UPDATECOMMANDS = 21, + OLECMDID_REFRESH = 22, + OLECMDID_STOP = 23, + OLECMDID_HIDETOOLBARS = 24, + OLECMDID_SETPROGRESSMAX = 25, + OLECMDID_SETPROGRESSPOS = 26, + OLECMDID_SETPROGRESSTEXT = 27, + OLECMDID_SETTITLE = 28, + OLECMDID_SETDOWNLOADSTATE = 29, + OLECMDID_STOPDOWNLOAD = 30, + OLECMDID_ONTOOLBARACTIVATED = 31, + OLECMDID_FIND = 32, + OLECMDID_DELETE = 33, + OLECMDID_HTTPEQUIV = 34, + OLECMDID_HTTPEQUIV_DONE = 35, + OLECMDID_ENABLE_INTERACTION = 36, + OLECMDID_ONUNLOAD = 37, + OLECMDID_PROPERTYBAG2 = 38, + OLECMDID_PREREFRESH = 39, + OLECMDID_SHOWSCRIPTERROR = 40, + OLECMDID_SHOWMESSAGE = 41, + OLECMDID_SHOWFIND = 42, + OLECMDID_SHOWPAGESETUP = 43, + OLECMDID_SHOWPRINT = 44, + OLECMDID_CLOSE = 45, + OLECMDID_ALLOWUILESSSAVEAS = 46, + OLECMDID_DONTDOWNLOADCSS = 47, + OLECMDID_UPDATEPAGESTATUS = 48, + OLECMDID_PRINT2 = 49, + OLECMDID_PRINTPREVIEW2 = 50, + OLECMDID_SETPRINTTEMPLATE = 51, + OLECMDID_GETPRINTTEMPLATE = 52, + OLECMDID_PAGEACTIONBLOCKED = 55, + OLECMDID_PAGEACTIONUIQUERY = 56, + OLECMDID_FOCUSVIEWCONTROLS = 57, + OLECMDID_FOCUSVIEWCONTROLSQUERY = 58, + OLECMDID_SHOWPAGEACTIONMENU = 59, + OLECMDID_ADDTRAVELENTRY = 60, + OLECMDID_UPDATETRAVELENTRY = 61, + OLECMDID_UPDATEBACKFORWARDSTATE = 62, + OLECMDID_OPTICAL_ZOOM = 63, + OLECMDID_OPTICAL_GETZOOMRANGE = 64, + OLECMDID_WINDOWSTATECHANGED = 65, + OLECMDID_ACTIVEXINSTALLSCOPE = 66, + OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = 67, + OLECMDID_SHOWTASKDLG = 68, + OLECMDID_POPSTATEEVENT = 69, + OLECMDID_VIEWPORT_MODE = 70, + OLECMDID_LAYOUT_VIEWPORT_WIDTH = 71, + OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM = 72, + OLECMDID_USER_OPTICAL_ZOOM = 73, + OLECMDID_PAGEAVAILABLE = 74, + OLECMDID_GETUSERSCALABLE = 75, + OLECMDID_UPDATE_CARET = 76, + OLECMDID_ENABLE_VISIBILITY = 77, + OLECMDID_MEDIA_PLAYBACK = 78 +} OLECMDID; +DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bccb-4e68-101b-a2bc-00aa00404770") +IOleCommandTarget : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryStatus( + const GUID *pguidCmdGroup, + ULONG cCmds, + OLECMD prgCmds[], + OLECMDTEXT *pCmdText) = 0; + + virtual HRESULT STDMETHODCALLTYPE Exec( + const GUID *pguidCmdGroup, + DWORD nCmdID, + DWORD nCmdexecopt, + VARIANT *pvaIn, + VARIANT *pvaOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IOleCommandTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleCommandTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleCommandTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleCommandTarget *This); + + /*** IOleCommandTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryStatus)( + IOleCommandTarget *This, + const GUID *pguidCmdGroup, + ULONG cCmds, + OLECMD prgCmds[], + OLECMDTEXT *pCmdText); + + HRESULT (STDMETHODCALLTYPE *Exec)( + IOleCommandTarget *This, + const GUID *pguidCmdGroup, + DWORD nCmdID, + DWORD nCmdexecopt, + VARIANT *pvaIn, + VARIANT *pvaOut); + + END_INTERFACE +} IOleCommandTargetVtbl; + +interface IOleCommandTarget { + CONST_VTBL IOleCommandTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleCommandTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleCommandTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleCommandTarget_Release(This) (This)->lpVtbl->Release(This) +/*** IOleCommandTarget methods ***/ +#define IOleCommandTarget_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) (This)->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) +#define IOleCommandTarget_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleCommandTarget_QueryInterface(IOleCommandTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleCommandTarget_AddRef(IOleCommandTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleCommandTarget_Release(IOleCommandTarget* This) { + return This->lpVtbl->Release(This); +} +/*** IOleCommandTarget methods ***/ +static FORCEINLINE HRESULT IOleCommandTarget_QueryStatus(IOleCommandTarget* This,const GUID *pguidCmdGroup,ULONG cCmds,OLECMD prgCmds[],OLECMDTEXT *pCmdText) { + return This->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText); +} +static FORCEINLINE HRESULT IOleCommandTarget_Exec(IOleCommandTarget* This,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) { + return This->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut); +} +#endif +#endif + +#endif + + +#endif /* __IOleCommandTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContinueCallback interface + */ +#ifndef __IContinueCallback_INTERFACE_DEFINED__ +#define __IContinueCallback_INTERFACE_DEFINED__ + +typedef IContinueCallback *LPCONTINUECALLBACK; +DEFINE_GUID(IID_IContinueCallback, 0xb722bcca, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bcca-4e68-101b-a2bc-00aa00404770") +IContinueCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FContinue( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FContinuePrinting( + LONG nCntPrinted, + LONG nCurPage, + WCHAR *pwszPrintStatus) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContinueCallback, 0xb722bcca, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IContinueCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContinueCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContinueCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContinueCallback *This); + + /*** IContinueCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *FContinue)( + IContinueCallback *This); + + HRESULT (STDMETHODCALLTYPE *FContinuePrinting)( + IContinueCallback *This, + LONG nCntPrinted, + LONG nCurPage, + WCHAR *pwszPrintStatus); + + END_INTERFACE +} IContinueCallbackVtbl; + +interface IContinueCallback { + CONST_VTBL IContinueCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContinueCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContinueCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContinueCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IContinueCallback methods ***/ +#define IContinueCallback_FContinue(This) (This)->lpVtbl->FContinue(This) +#define IContinueCallback_FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus) (This)->lpVtbl->FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContinueCallback_QueryInterface(IContinueCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContinueCallback_AddRef(IContinueCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContinueCallback_Release(IContinueCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IContinueCallback methods ***/ +static FORCEINLINE HRESULT IContinueCallback_FContinue(IContinueCallback* This) { + return This->lpVtbl->FContinue(This); +} +static FORCEINLINE HRESULT IContinueCallback_FContinuePrinting(IContinueCallback* This,LONG nCntPrinted,LONG nCurPage,WCHAR *pwszPrintStatus) { + return This->lpVtbl->FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus); +} +#endif +#endif + +#endif + + +#endif /* __IContinueCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPrint interface + */ +#ifndef __IPrint_INTERFACE_DEFINED__ +#define __IPrint_INTERFACE_DEFINED__ + +typedef IPrint *LPPRINT; +typedef enum __WIDL_docobj_generated_name_00000012 { + PRINTFLAG_MAYBOTHERUSER = 1, + PRINTFLAG_PROMPTUSER = 2, + PRINTFLAG_USERMAYCHANGEPRINTER = 4, + PRINTFLAG_RECOMPOSETODEVICE = 8, + PRINTFLAG_DONTACTUALLYPRINT = 16, + PRINTFLAG_FORCEPROPERTIES = 32, + PRINTFLAG_PRINTTOFILE = 64 +} PRINTFLAG; +typedef struct tagPAGERANGE { + LONG nFromPage; + LONG nToPage; +} PAGERANGE; +typedef struct tagPAGESET { + ULONG cbStruct; + BOOL fOddPages; + BOOL fEvenPages; + ULONG cPageRange; + PAGERANGE rgPages[1]; +} PAGESET; +DEFINE_GUID(IID_IPrint, 0xb722bcc9, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b722bcc9-4e68-101b-a2bc-00aa00404770") +IPrint : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetInitialPageNum( + LONG nFirstPage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPageInfo( + LONG *pnFirstPage, + LONG *pcPages) = 0; + + virtual HRESULT STDMETHODCALLTYPE Print( + DWORD grfFlags, + DVTARGETDEVICE **pptd, + PAGESET **ppPageSet, + STGMEDIUM *pstgmOptions, + IContinueCallback *pcallback, + LONG nFirstPage, + LONG *pcPagesPrinted, + LONG *pnLastPage) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPrint, 0xb722bcc9, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) +#endif +#else +typedef struct IPrintVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPrint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPrint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPrint *This); + + /*** IPrint methods ***/ + HRESULT (STDMETHODCALLTYPE *SetInitialPageNum)( + IPrint *This, + LONG nFirstPage); + + HRESULT (STDMETHODCALLTYPE *GetPageInfo)( + IPrint *This, + LONG *pnFirstPage, + LONG *pcPages); + + HRESULT (STDMETHODCALLTYPE *Print)( + IPrint *This, + DWORD grfFlags, + DVTARGETDEVICE **pptd, + PAGESET **ppPageSet, + STGMEDIUM *pstgmOptions, + IContinueCallback *pcallback, + LONG nFirstPage, + LONG *pcPagesPrinted, + LONG *pnLastPage); + + END_INTERFACE +} IPrintVtbl; + +interface IPrint { + CONST_VTBL IPrintVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPrint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPrint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPrint_Release(This) (This)->lpVtbl->Release(This) +/*** IPrint methods ***/ +#define IPrint_SetInitialPageNum(This,nFirstPage) (This)->lpVtbl->SetInitialPageNum(This,nFirstPage) +#define IPrint_GetPageInfo(This,pnFirstPage,pcPages) (This)->lpVtbl->GetPageInfo(This,pnFirstPage,pcPages) +#define IPrint_Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage) (This)->lpVtbl->Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPrint_QueryInterface(IPrint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPrint_AddRef(IPrint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPrint_Release(IPrint* This) { + return This->lpVtbl->Release(This); +} +/*** IPrint methods ***/ +static FORCEINLINE HRESULT IPrint_SetInitialPageNum(IPrint* This,LONG nFirstPage) { + return This->lpVtbl->SetInitialPageNum(This,nFirstPage); +} +static FORCEINLINE HRESULT IPrint_GetPageInfo(IPrint* This,LONG *pnFirstPage,LONG *pcPages) { + return This->lpVtbl->GetPageInfo(This,pnFirstPage,pcPages); +} +static FORCEINLINE HRESULT IPrint_Print(IPrint* This,DWORD grfFlags,DVTARGETDEVICE **pptd,PAGESET **ppPageSet,STGMEDIUM *pstgmOptions,IContinueCallback *pcallback,LONG nFirstPage,LONG *pcPagesPrinted,LONG *pnLastPage) { + return This->lpVtbl->Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPrint_RemotePrint_Proxy( + IPrint* This, + DWORD grfFlags, + DVTARGETDEVICE **pptd, + PAGESET **pppageset, + RemSTGMEDIUM *pstgmOptions, + IContinueCallback *pcallback, + LONG nFirstPage, + LONG *pcPagesPrinted, + LONG *pnLastPage); +void __RPC_STUB IPrint_RemotePrint_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IPrint_Print_Proxy( + IPrint* This, + DWORD grfFlags, + DVTARGETDEVICE **pptd, + PAGESET **ppPageSet, + STGMEDIUM *pstgmOptions, + IContinueCallback *pcallback, + LONG nFirstPage, + LONG *pcPagesPrinted, + LONG *pnLastPage); +HRESULT __RPC_STUB IPrint_Print_Stub( + IPrint* This, + DWORD grfFlags, + DVTARGETDEVICE **pptd, + PAGESET **pppageset, + RemSTGMEDIUM *pstgmOptions, + IContinueCallback *pcallback, + LONG nFirstPage, + LONG *pcPagesPrinted, + LONG *pnLastPage); + +#endif /* __IPrint_INTERFACE_DEFINED__ */ + +#define OLECMDERR_E_FIRST (OLE_E_LAST+1) +#define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST) +#define OLECMDERR_E_DISABLED (OLECMDERR_E_FIRST+1) +#define OLECMDERR_E_NOHELP (OLECMDERR_E_FIRST+2) +#define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST+3) +#define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST+4) +#define MSOCMDERR_E_FIRST OLECMDERR_E_FIRST +#define MSOCMDERR_E_NOTSUPPORTED OLECMDERR_E_NOTSUPPORTED +#define MSOCMDERR_E_DISABLED OLECMDERR_E_DISABLED +#define MSOCMDERR_E_NOHELP OLECMDERR_E_NOHELP +#define MSOCMDERR_E_CANCELED OLECMDERR_E_CANCELED +#define MSOCMDERR_E_UNKNOWNGROUP OLECMDERR_E_UNKNOWNGROUP +#define LPMSODOCUMENT LPOLEDOCUMENT +#define LPMSODOCUMENTSITE LPOLEDOCUMENTSITE +#define LPMSOVIEW LPOLEDOCUMENTVIEW +#define LPENUMMSOVIEW LPENUMOLEDOCUMENTVIEWS +#define LPMSOCOMMANDTARGET LPOLECOMMANDTARGET +#define IID_IMsoDocument IID_IOleDocument +#define IID_IMsoDocumentSite IID_IOleDocumentSite +#define IID_IMsoView IID_IOleDocumentView +#define IID_IEnumMsoView IID_IEnumOleDocumentViews +#define IID_IMsoCommandTarget IID_IOleCommandTarget +EXTERN_C const GUID SID_SContainerDispatch; +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *); +void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __docobj_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobj.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobj.idl new file mode 100644 index 0000000..119d4ea --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobj.idl @@ -0,0 +1,422 @@ +/* + * Copyright (C) 1999 Paul Quinn + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; +import "objidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +import "servprov.idl"; + + +interface IOleDocumentView; +interface IEnumOleDocumentViews; + + +/***************************************************************************** + * IOleDocument interface + */ +[ + object, + uuid(b722bcc5-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IOleDocument : IUnknown +{ + typedef [unique] IOleDocument *LPOLEDOCUMENT; + + typedef enum + { + DOCMISC_CANCREATEMULTIPLEVIEWS = 1, + DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2, + DOCMISC_CANTOPENEDIT = 4, + DOCMISC_NOFILESUPPORT = 8 + } DOCMISC; + + HRESULT CreateView( + [in, unique] IOleInPlaceSite *pIPSite, + [in, unique] IStream *pstm, + [in] DWORD dwReserved, + [out] IOleDocumentView **ppView); + + HRESULT GetDocMiscStatus( + [out] DWORD *pdwStatus); + + HRESULT EnumViews( + [out] IEnumOleDocumentViews **ppEnum, + [out] IOleDocumentView **ppView); +} + + +/***************************************************************************** + * IOleDocumentSite interface + */ +[ + object, + uuid(b722bcc7-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IOleDocumentSite : IUnknown +{ + typedef [unique] IOleDocumentSite *LPOLEDOCUMENTSITE; + + HRESULT ActivateMe( [in] IOleDocumentView *pViewToActivate ); +} + + +/***************************************************************************** + * IOleDocumentView interface + */ +[ + object, + uuid(b722bcc6-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IOleDocumentView : IUnknown +{ + typedef [unique] IOleDocumentView *LPOLEDOCUMENTVIEW; + + HRESULT SetInPlaceSite( [in, unique] IOleInPlaceSite *pIPSite ); + + HRESULT GetInPlaceSite( [out] IOleInPlaceSite **ppIPSite ); + + HRESULT GetDocument( [out] IUnknown **ppunk ); + + HRESULT SetRect( [in] LPRECT prcView ); + + HRESULT GetRect( [out] LPRECT prcView ); + + HRESULT SetRectComplex( + [in, unique] LPRECT prcView, + [in, unique] LPRECT prcHScroll, + [in, unique] LPRECT prcVScroll, + [in, unique] LPRECT prcSizeBox); + + HRESULT Show( [in] BOOL fShow ); + + HRESULT UIActivate( [in] BOOL fUIActivate ); + + HRESULT Open(); + + HRESULT CloseView( [in] DWORD dwReserved ); + + HRESULT SaveViewState( [in] LPSTREAM pstm ); + + HRESULT ApplyViewState( [in] LPSTREAM pstm ); + + HRESULT Clone( + [in] IOleInPlaceSite *pIPSiteNew, + [out] IOleDocumentView **ppViewNew); +} + + +/***************************************************************************** + * IEnumOleDocumentViews interface + */ +[ + object, + uuid(b722bcc8-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IEnumOleDocumentViews : IUnknown +{ + typedef [unique] IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS; + + [local] + HRESULT Next( + [in] ULONG cViews, + [out] IOleDocumentView **rgpView, + [out] ULONG *pcFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG cViews, + [out, size_is(cViews), length_is(*pcFetched)] IOleDocumentView **rgpView, + [out] ULONG *pcFetched); + + HRESULT Skip( [in] ULONG cViews ); + + HRESULT Reset(); + + HRESULT Clone( [out] IEnumOleDocumentViews **ppEnum ); +} + + +/***************************************************************************** + * IOleCommandTarget interface + */ +[ + object, + uuid(b722bccb-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IOleCommandTarget : IUnknown +{ + typedef [unique] IOleCommandTarget *LPOLECOMMANDTARGET; + + typedef enum OLECMDF + { + OLECMDF_SUPPORTED = 0x1, + OLECMDF_ENABLED = 0x2, + OLECMDF_LATCHED = 0x4, + OLECMDF_NINCHED = 0x8, + OLECMDF_INVISIBLE = 0x10, + OLECMDF_DEFHIDEONCTXTMENU = 0x20 + } OLECMDF; + + typedef struct _tagOLECMD + { + ULONG cmdID; + DWORD cmdf; + } OLECMD; + + typedef struct _tagOLECMDTEXT + { + DWORD cmdtextf; + ULONG cwActual; + ULONG cwBuf; + [size_is(cwBuf)] WCHAR rgwz[]; + } OLECMDTEXT; + + typedef enum OLECMDTEXTF + { + OLECMDTEXTF_NONE = 0, + OLECMDTEXTF_NAME = 1, + OLECMDTEXTF_STATUS = 2 + } OLECMDTEXTF; + + typedef enum OLECMDEXECOPT + { + OLECMDEXECOPT_DODEFAULT = 0, + OLECMDEXECOPT_PROMPTUSER = 1, + OLECMDEXECOPT_DONTPROMPTUSER = 2, + OLECMDEXECOPT_SHOWHELP = 3 + } OLECMDEXECOPT; + + typedef enum OLECMDID + { + OLECMDID_OPEN = 1, + OLECMDID_NEW = 2, + OLECMDID_SAVE = 3, + OLECMDID_SAVEAS = 4, + OLECMDID_SAVECOPYAS = 5, + OLECMDID_PRINT = 6, + OLECMDID_PRINTPREVIEW = 7, + OLECMDID_PAGESETUP = 8, + OLECMDID_SPELL = 9, + OLECMDID_PROPERTIES = 10, + OLECMDID_CUT = 11, + OLECMDID_COPY = 12, + OLECMDID_PASTE = 13, + OLECMDID_PASTESPECIAL = 14, + OLECMDID_UNDO = 15, + OLECMDID_REDO = 16, + OLECMDID_SELECTALL = 17, + OLECMDID_CLEARSELECTION = 18, + OLECMDID_ZOOM = 19, + OLECMDID_GETZOOMRANGE = 20, + OLECMDID_UPDATECOMMANDS = 21, + OLECMDID_REFRESH = 22, + OLECMDID_STOP = 23, + OLECMDID_HIDETOOLBARS = 24, + OLECMDID_SETPROGRESSMAX = 25, + OLECMDID_SETPROGRESSPOS = 26, + OLECMDID_SETPROGRESSTEXT = 27, + OLECMDID_SETTITLE = 28, + OLECMDID_SETDOWNLOADSTATE = 29, + OLECMDID_STOPDOWNLOAD = 30, + OLECMDID_ONTOOLBARACTIVATED = 31, + OLECMDID_FIND = 32, + OLECMDID_DELETE = 33, + OLECMDID_HTTPEQUIV = 34, + OLECMDID_HTTPEQUIV_DONE = 35, + OLECMDID_ENABLE_INTERACTION = 36, + OLECMDID_ONUNLOAD = 37, + OLECMDID_PROPERTYBAG2 = 38, + OLECMDID_PREREFRESH = 39, + /* iexplorer uses ... 44 */ + OLECMDID_SHOWSCRIPTERROR = 40, + OLECMDID_SHOWMESSAGE = 41, + OLECMDID_SHOWFIND = 42, + OLECMDID_SHOWPAGESETUP = 43, + OLECMDID_SHOWPRINT = 44, + OLECMDID_CLOSE = 45, + OLECMDID_ALLOWUILESSSAVEAS = 46, + OLECMDID_DONTDOWNLOADCSS = 47, + OLECMDID_UPDATEPAGESTATUS = 48, + OLECMDID_PRINT2 = 49, + OLECMDID_PRINTPREVIEW2 = 50, + OLECMDID_SETPRINTTEMPLATE = 51, + OLECMDID_GETPRINTTEMPLATE = 52, + OLECMDID_PAGEACTIONBLOCKED = 55, + OLECMDID_PAGEACTIONUIQUERY = 56, + OLECMDID_FOCUSVIEWCONTROLS = 57, + OLECMDID_FOCUSVIEWCONTROLSQUERY = 58, + OLECMDID_SHOWPAGEACTIONMENU = 59, + OLECMDID_ADDTRAVELENTRY = 60, + OLECMDID_UPDATETRAVELENTRY = 61, + OLECMDID_UPDATEBACKFORWARDSTATE = 62, + OLECMDID_OPTICAL_ZOOM = 63, + OLECMDID_OPTICAL_GETZOOMRANGE = 64, + OLECMDID_WINDOWSTATECHANGED = 65, + OLECMDID_ACTIVEXINSTALLSCOPE = 66, + OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = 67, + OLECMDID_SHOWTASKDLG = 68, + OLECMDID_POPSTATEEVENT = 69, + OLECMDID_VIEWPORT_MODE = 70, + OLECMDID_LAYOUT_VIEWPORT_WIDTH = 71, + OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM = 72, + OLECMDID_USER_OPTICAL_ZOOM = 73, + OLECMDID_PAGEAVAILABLE = 74, + OLECMDID_GETUSERSCALABLE = 75, + OLECMDID_UPDATE_CARET = 76, + OLECMDID_ENABLE_VISIBILITY = 77, + OLECMDID_MEDIA_PLAYBACK = 78 + } OLECMDID; + + HRESULT QueryStatus( + [in, unique] const GUID *pguidCmdGroup, + [in] ULONG cCmds, + [in, out, size_is(cCmds)] OLECMD prgCmds[], + [in, out, unique] OLECMDTEXT *pCmdText); + + HRESULT Exec( + [in, unique] const GUID *pguidCmdGroup, + [in] DWORD nCmdID, + [in] DWORD nCmdexecopt, + [in, unique] VARIANT *pvaIn, + [in, out, unique] VARIANT *pvaOut); +} + + +/***************************************************************************** + * IContinueCallback interface + */ +[ + object, + uuid(b722bcca-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IContinueCallback : IUnknown +{ + typedef [unique] IContinueCallback *LPCONTINUECALLBACK; + + HRESULT FContinue(); + + HRESULT FContinuePrinting( + [in] LONG nCntPrinted, + [in] LONG nCurPage, + [in, unique] WCHAR *pwszPrintStatus); +} + + +/***************************************************************************** + * IPrint interface + */ +[ + object, + uuid(b722bcc9-4e68-101b-a2bc-00aa00404770), + pointer_default(unique) +] +interface IPrint : IUnknown +{ + typedef [unique] IPrint *LPPRINT; + + typedef enum + { + PRINTFLAG_MAYBOTHERUSER = 1, + PRINTFLAG_PROMPTUSER = 2, + PRINTFLAG_USERMAYCHANGEPRINTER = 4, + PRINTFLAG_RECOMPOSETODEVICE = 8, + PRINTFLAG_DONTACTUALLYPRINT = 16, + PRINTFLAG_FORCEPROPERTIES = 32, + PRINTFLAG_PRINTTOFILE = 64 + } PRINTFLAG; + + typedef struct tagPAGERANGE + { + LONG nFromPage; + LONG nToPage; + } PAGERANGE; + + typedef struct tagPAGESET + { + ULONG cbStruct; + BOOL fOddPages; + BOOL fEvenPages; + ULONG cPageRange; + [size_is(cPageRange)] PAGERANGE rgPages[]; + } PAGESET; + + HRESULT SetInitialPageNum( + [in] LONG nFirstPage); + + HRESULT GetPageInfo( + [out] LONG *pnFirstPage, + [out] LONG *pcPages); + + [local] + HRESULT Print( + [in] DWORD grfFlags, + [in, out] DVTARGETDEVICE **pptd, + [in, out] PAGESET **ppPageSet, + [in, out, unique] STGMEDIUM *pstgmOptions, + [in] IContinueCallback *pcallback, + [in] LONG nFirstPage, + [out] LONG *pcPagesPrinted, + [out] LONG *pnLastPage); + + [call_as(Print)] + HRESULT RemotePrint( + [in] DWORD grfFlags, + [in, out] DVTARGETDEVICE **pptd, + [in, out] PAGESET **pppageset, + [in, out, unique] RemSTGMEDIUM *pstgmOptions, + [in] IContinueCallback *pcallback, + [in] LONG nFirstPage, + [out] LONG *pcPagesPrinted, + [out] LONG *pnLastPage); +} + + +cpp_quote("#define OLECMDERR_E_FIRST (OLE_E_LAST+1)") +cpp_quote("#define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST)") +cpp_quote("#define OLECMDERR_E_DISABLED (OLECMDERR_E_FIRST+1)") +cpp_quote("#define OLECMDERR_E_NOHELP (OLECMDERR_E_FIRST+2)") +cpp_quote("#define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST+3)") +cpp_quote("#define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST+4)") + +cpp_quote("#define MSOCMDERR_E_FIRST OLECMDERR_E_FIRST") +cpp_quote("#define MSOCMDERR_E_NOTSUPPORTED OLECMDERR_E_NOTSUPPORTED") +cpp_quote("#define MSOCMDERR_E_DISABLED OLECMDERR_E_DISABLED") +cpp_quote("#define MSOCMDERR_E_NOHELP OLECMDERR_E_NOHELP") +cpp_quote("#define MSOCMDERR_E_CANCELED OLECMDERR_E_CANCELED") +cpp_quote("#define MSOCMDERR_E_UNKNOWNGROUP OLECMDERR_E_UNKNOWNGROUP") + +cpp_quote("#define LPMSODOCUMENT LPOLEDOCUMENT") +cpp_quote("#define LPMSODOCUMENTSITE LPOLEDOCUMENTSITE") +cpp_quote("#define LPMSOVIEW LPOLEDOCUMENTVIEW") +cpp_quote("#define LPENUMMSOVIEW LPENUMOLEDOCUMENTVIEWS") +cpp_quote("#define LPMSOCOMMANDTARGET LPOLECOMMANDTARGET") +cpp_quote("#define IID_IMsoDocument IID_IOleDocument") +cpp_quote("#define IID_IMsoDocumentSite IID_IOleDocumentSite") +cpp_quote("#define IID_IMsoView IID_IOleDocumentView") +cpp_quote("#define IID_IEnumMsoView IID_IEnumOleDocumentViews") +cpp_quote("#define IID_IMsoCommandTarget IID_IOleCommandTarget") + +cpp_quote("EXTERN_C const GUID SID_SContainerDispatch;") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobjectservice.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobjectservice.h new file mode 100644 index 0000000..c6925f0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobjectservice.h @@ -0,0 +1,242 @@ +/*** Autogenerated by WIDL 2.18 from docobjectservice.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __docobjectservice_h__ +#define __docobjectservice_h__ + +/* Forward declarations */ + +#ifndef __IDocObjectService_FWD_DEFINED__ +#define __IDocObjectService_FWD_DEFINED__ +typedef interface IDocObjectService IDocObjectService; +#ifdef __cplusplus +interface IDocObjectService; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IDocObjectService interface + */ +#ifndef __IDocObjectService_INTERFACE_DEFINED__ +#define __IDocObjectService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDocObjectService, 0x3050f801, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f801-98b5-11cf-bb82-00aa00bdce0b") +IDocObjectService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FireBeforeNavigate2( + IDispatch *pDispatch, + LPCWSTR lpszUrl, + DWORD dwFlags, + LPCWSTR lpszFrameName, + BYTE *pPostData, + DWORD cbPostData, + LPCWSTR lpszHeaders, + BOOL fPlayNavSound, + BOOL *pfCancel) = 0; + + virtual HRESULT STDMETHODCALLTYPE FireNavigateComplete2( + IHTMLWindow2 *pHTMLWindow2, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE FireDownloadBegin( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FireDownloadComplete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FireDocumentComplete( + IHTMLWindow2 *pHTMLWindow, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateDesktopComponent( + IHTMLWindow2 *pHTMLWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPendingUrl( + BSTR *pbstrPendingUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE ActiveElementChanged( + IHTMLElement *pHTMLElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUrlSearchComponent( + BSTR *pbstrSearch) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsErrorUrl( + LPCWSTR lpszUrl, + BOOL *pfIsError) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDocObjectService, 0x3050f801, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IDocObjectServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDocObjectService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDocObjectService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDocObjectService *This); + + /*** IDocObjectService methods ***/ + HRESULT (STDMETHODCALLTYPE *FireBeforeNavigate2)( + IDocObjectService *This, + IDispatch *pDispatch, + LPCWSTR lpszUrl, + DWORD dwFlags, + LPCWSTR lpszFrameName, + BYTE *pPostData, + DWORD cbPostData, + LPCWSTR lpszHeaders, + BOOL fPlayNavSound, + BOOL *pfCancel); + + HRESULT (STDMETHODCALLTYPE *FireNavigateComplete2)( + IDocObjectService *This, + IHTMLWindow2 *pHTMLWindow2, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *FireDownloadBegin)( + IDocObjectService *This); + + HRESULT (STDMETHODCALLTYPE *FireDownloadComplete)( + IDocObjectService *This); + + HRESULT (STDMETHODCALLTYPE *FireDocumentComplete)( + IDocObjectService *This, + IHTMLWindow2 *pHTMLWindow, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *UpdateDesktopComponent)( + IDocObjectService *This, + IHTMLWindow2 *pHTMLWindow); + + HRESULT (STDMETHODCALLTYPE *GetPendingUrl)( + IDocObjectService *This, + BSTR *pbstrPendingUrl); + + HRESULT (STDMETHODCALLTYPE *ActiveElementChanged)( + IDocObjectService *This, + IHTMLElement *pHTMLElement); + + HRESULT (STDMETHODCALLTYPE *GetUrlSearchComponent)( + IDocObjectService *This, + BSTR *pbstrSearch); + + HRESULT (STDMETHODCALLTYPE *IsErrorUrl)( + IDocObjectService *This, + LPCWSTR lpszUrl, + BOOL *pfIsError); + + END_INTERFACE +} IDocObjectServiceVtbl; + +interface IDocObjectService { + CONST_VTBL IDocObjectServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDocObjectService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDocObjectService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDocObjectService_Release(This) (This)->lpVtbl->Release(This) +/*** IDocObjectService methods ***/ +#define IDocObjectService_FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel) (This)->lpVtbl->FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel) +#define IDocObjectService_FireNavigateComplete2(This,pHTMLWindow2,dwFlags) (This)->lpVtbl->FireNavigateComplete2(This,pHTMLWindow2,dwFlags) +#define IDocObjectService_FireDownloadBegin(This) (This)->lpVtbl->FireDownloadBegin(This) +#define IDocObjectService_FireDownloadComplete(This) (This)->lpVtbl->FireDownloadComplete(This) +#define IDocObjectService_FireDocumentComplete(This,pHTMLWindow,dwFlags) (This)->lpVtbl->FireDocumentComplete(This,pHTMLWindow,dwFlags) +#define IDocObjectService_UpdateDesktopComponent(This,pHTMLWindow) (This)->lpVtbl->UpdateDesktopComponent(This,pHTMLWindow) +#define IDocObjectService_GetPendingUrl(This,pbstrPendingUrl) (This)->lpVtbl->GetPendingUrl(This,pbstrPendingUrl) +#define IDocObjectService_ActiveElementChanged(This,pHTMLElement) (This)->lpVtbl->ActiveElementChanged(This,pHTMLElement) +#define IDocObjectService_GetUrlSearchComponent(This,pbstrSearch) (This)->lpVtbl->GetUrlSearchComponent(This,pbstrSearch) +#define IDocObjectService_IsErrorUrl(This,lpszUrl,pfIsError) (This)->lpVtbl->IsErrorUrl(This,lpszUrl,pfIsError) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDocObjectService_QueryInterface(IDocObjectService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDocObjectService_AddRef(IDocObjectService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDocObjectService_Release(IDocObjectService* This) { + return This->lpVtbl->Release(This); +} +/*** IDocObjectService methods ***/ +static FORCEINLINE HRESULT IDocObjectService_FireBeforeNavigate2(IDocObjectService* This,IDispatch *pDispatch,LPCWSTR lpszUrl,DWORD dwFlags,LPCWSTR lpszFrameName,BYTE *pPostData,DWORD cbPostData,LPCWSTR lpszHeaders,BOOL fPlayNavSound,BOOL *pfCancel) { + return This->lpVtbl->FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel); +} +static FORCEINLINE HRESULT IDocObjectService_FireNavigateComplete2(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow2,DWORD dwFlags) { + return This->lpVtbl->FireNavigateComplete2(This,pHTMLWindow2,dwFlags); +} +static FORCEINLINE HRESULT IDocObjectService_FireDownloadBegin(IDocObjectService* This) { + return This->lpVtbl->FireDownloadBegin(This); +} +static FORCEINLINE HRESULT IDocObjectService_FireDownloadComplete(IDocObjectService* This) { + return This->lpVtbl->FireDownloadComplete(This); +} +static FORCEINLINE HRESULT IDocObjectService_FireDocumentComplete(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow,DWORD dwFlags) { + return This->lpVtbl->FireDocumentComplete(This,pHTMLWindow,dwFlags); +} +static FORCEINLINE HRESULT IDocObjectService_UpdateDesktopComponent(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow) { + return This->lpVtbl->UpdateDesktopComponent(This,pHTMLWindow); +} +static FORCEINLINE HRESULT IDocObjectService_GetPendingUrl(IDocObjectService* This,BSTR *pbstrPendingUrl) { + return This->lpVtbl->GetPendingUrl(This,pbstrPendingUrl); +} +static FORCEINLINE HRESULT IDocObjectService_ActiveElementChanged(IDocObjectService* This,IHTMLElement *pHTMLElement) { + return This->lpVtbl->ActiveElementChanged(This,pHTMLElement); +} +static FORCEINLINE HRESULT IDocObjectService_GetUrlSearchComponent(IDocObjectService* This,BSTR *pbstrSearch) { + return This->lpVtbl->GetUrlSearchComponent(This,pbstrSearch); +} +static FORCEINLINE HRESULT IDocObjectService_IsErrorUrl(IDocObjectService* This,LPCWSTR lpszUrl,BOOL *pfIsError) { + return This->lpVtbl->IsErrorUrl(This,lpszUrl,pfIsError); +} +#endif +#endif + +#endif + + +#endif /* __IDocObjectService_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __docobjectservice_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobjectservice.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobjectservice.idl new file mode 100644 index 0000000..7478551 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/docobjectservice.idl @@ -0,0 +1,67 @@ +/* + * Copyright 2011 Piotr Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "mshtml.idl"; + +[ + local, + object, + uuid(3050f801-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDocObjectService : IUnknown +{ + HRESULT FireBeforeNavigate2( + [in] IDispatch *pDispatch, + [in] LPCWSTR lpszUrl, + [in] DWORD dwFlags, + [in] LPCWSTR lpszFrameName, + [in] BYTE *pPostData, + [in] DWORD cbPostData, + [in] LPCWSTR lpszHeaders, + [in] BOOL fPlayNavSound, + [out] BOOL *pfCancel); + + HRESULT FireNavigateComplete2( + [in] IHTMLWindow2 *pHTMLWindow2, + [in] DWORD dwFlags); + + HRESULT FireDownloadBegin(void); + + HRESULT FireDownloadComplete(void); + + HRESULT FireDocumentComplete( + [in] IHTMLWindow2 *pHTMLWindow, + [in] DWORD dwFlags); + + HRESULT UpdateDesktopComponent( + [in] IHTMLWindow2 *pHTMLWindow); + + HRESULT GetPendingUrl( + [out] BSTR *pbstrPendingUrl); + + HRESULT ActiveElementChanged( + [in] IHTMLElement *pHTMLElement); + + HRESULT GetUrlSearchComponent( + [out] BSTR *pbstrSearch); + + HRESULT IsErrorUrl( + [in] LPCWSTR lpszUrl, + [out] BOOL *pfIsError); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/downloadmgr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/downloadmgr.h new file mode 100644 index 0000000..917f21e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/downloadmgr.h @@ -0,0 +1,139 @@ +/*** Autogenerated by WIDL 2.18 from downloadmgr.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __downloadmgr_h__ +#define __downloadmgr_h__ + +/* Forward declarations */ + +#ifndef __IDownloadManager_FWD_DEFINED__ +#define __IDownloadManager_FWD_DEFINED__ +typedef interface IDownloadManager IDownloadManager; +#ifdef __cplusplus +interface IDownloadManager; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IDownloadManager interface + */ +#ifndef __IDownloadManager_INTERFACE_DEFINED__ +#define __IDownloadManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb,0x80, 0x00,0x10,0x4b,0x35,0xe7,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("988934a4-064b-11d3-bb80-00104b35e7f9") +IDownloadManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Download( + IMoniker *pmk, + IBindCtx *pbc, + DWORD dwBindVerb, + LONG grfBINDF, + BINDINFO *pBindInfo, + LPCOLESTR pszHeaders, + LPCOLESTR pszRedir, + UINT uiCP) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb,0x80, 0x00,0x10,0x4b,0x35,0xe7,0xf9) +#endif +#else +typedef struct IDownloadManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDownloadManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDownloadManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDownloadManager *This); + + /*** IDownloadManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Download)( + IDownloadManager *This, + IMoniker *pmk, + IBindCtx *pbc, + DWORD dwBindVerb, + LONG grfBINDF, + BINDINFO *pBindInfo, + LPCOLESTR pszHeaders, + LPCOLESTR pszRedir, + UINT uiCP); + + END_INTERFACE +} IDownloadManagerVtbl; + +interface IDownloadManager { + CONST_VTBL IDownloadManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDownloadManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDownloadManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDownloadManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDownloadManager methods ***/ +#define IDownloadManager_Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP) (This)->lpVtbl->Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDownloadManager_QueryInterface(IDownloadManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDownloadManager_AddRef(IDownloadManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDownloadManager_Release(IDownloadManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDownloadManager methods ***/ +static FORCEINLINE HRESULT IDownloadManager_Download(IDownloadManager* This,IMoniker *pmk,IBindCtx *pbc,DWORD dwBindVerb,LONG grfBINDF,BINDINFO *pBindInfo,LPCOLESTR pszHeaders,LPCOLESTR pszRedir,UINT uiCP) { + return This->lpVtbl->Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP); +} +#endif +#endif + +#endif + + +#endif /* __IDownloadManager_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __downloadmgr_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/downloadmgr.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/downloadmgr.idl new file mode 100644 index 0000000..2ba6573 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/downloadmgr.idl @@ -0,0 +1,43 @@ +/* + * Copyright 2005 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +import "ocidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +#endif + +[ + object, + uuid(988934A4-064B-11D3-BB80-00104B35E7F9), + pointer_default(unique), + local +] +interface IDownloadManager : IUnknown +{ + HRESULT Download( + [in] IMoniker *pmk, + [in] IBindCtx *pbc, + [in] DWORD dwBindVerb, + [in] LONG grfBINDF, + [in] BINDINFO *pBindInfo, + [in] LPCOLESTR pszHeaders, + [in] LPCOLESTR pszRedir, + [in] UINT uiCP); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dpaddr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dpaddr.h new file mode 100644 index 0000000..d47dd26 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dpaddr.h @@ -0,0 +1,360 @@ +/* + * Copyright (C) 2003-2005 Raphael Junqueira + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DPLAY8_DPADDR_H +#define __WINE_DPLAY8_DPADDR_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef REFIID DPNAREFIID; +#ifndef _WINSOCK2API_ +typedef struct sockaddr SOCKADDR; +#endif + +/***************************************************************************** + * DirectPlay8Addr defines + */ +#define DPNA_DATATYPE_STRING 0x00000001 +#define DPNA_DATATYPE_DWORD 0x00000002 +#define DPNA_DATATYPE_GUID 0x00000003 +#define DPNA_DATATYPE_BINARY 0x00000004 +#define DPNA_DATATYPE_STRING_ANSI 0x00000005 +#define DPNA_DPNSVR_PORT 6073 +#define DPNA_INDEX_INVALID 0xFFFFFFFF + +#define DPNA_SEPARATOR_KEYVALUE L'=' +#define DPNA_SEPARATOR_KEYVALUE_A '=' +#define DPNA_SEPARATOR_USERDATA L'#' +#define DPNA_SEPARATOR_USERDATA_A '#' +#define DPNA_SEPARATOR_COMPONENT L';' +#define DPNA_SEPARATOR_COMPONENT_A ';' +#define DPNA_ESCAPECHAR L'%' +#define DPNA_ESCAPECHAR_A '%' + +#define DPNA_HEADER_A "x-directplay:/" +#define DPNA_KEY_APPLICATION_INSTANCE_A "applicationinstance" +#define DPNA_KEY_BAUD_A "baud" +#define DPNA_KEY_DEVICE_A "device" +#define DPNA_KEY_FLOWCONTROL_A "flowcontrol" +#define DPNA_KEY_HOSTNAME_A "hostname" +#define DPNA_KEY_NAMEINFO_A "nameinfo" +#define DPNA_KEY_PARITY_A "parity" +#define DPNA_KEY_PHONENUMBER_A "phonenumber" +#define DPNA_KEY_PORT_A "port" +#define DPNA_KEY_PROCESSOR_A "processor" +#define DPNA_KEY_PROGRAM_A "program" +#define DPNA_KEY_PROVIDER_A "provider" +#define DPNA_KEY_SCOPE_A "scope" +#define DPNA_KEY_STOPBITS_A "stopbits" +#define DPNA_KEY_TRAVERSALMODE_A "traversalmode" + +#define DPNA_STOP_BITS_ONE_A "1" +#define DPNA_STOP_BITS_ONE_FIVE_A "1.5" +#define DPNA_STOP_BITS_TWO_A "2" +#define DPNA_PARITY_NONE_A "NONE" +#define DPNA_PARITY_EVEN_A "EVEN" +#define DPNA_PARITY_ODD_A "ODD" +#define DPNA_PARITY_MARK_A "MARK" +#define DPNA_PARITY_SPACE_A "SPACE" +#define DPNA_FLOW_CONTROL_NONE_A "NONE" +#define DPNA_FLOW_CONTROL_XONXOFF_A "XONXOFF" +#define DPNA_FLOW_CONTROL_RTS_A "RTS" +#define DPNA_FLOW_CONTROL_DTR_A "DTR" +#define DPNA_FLOW_CONTROL_RTSDTR_A "RTSDTR" +#define DPNA_VALUE_TCPIPPROVIDER_A "IP" +#define DPNA_VALUE_IPXPROVIDER_A "IPX" +#define DPNA_VALUE_MODEMPROVIDER_A "MODEM" +#define DPNA_VALUE_SERIALPROVIDER_A "SERIAL" + +/* And now the same thing but as Unicode strings */ +#if defined(__GNUC__) + +# define DPNA_HEADER (const WCHAR []){ 'x','-','d','i','r','e','c','t','p','l','a','y',':','/',0 } +# define DPNA_KEY_APPLICATION_INSTANCE (const WCHAR []){ 'a','p','p','l','i','c','a','t','i','o','n','i','n','s','t','a','n','c','e',0 } +# define DPNA_KEY_BAUD (const WCHAR []){ 'b','a','u','d',0 } +# define DPNA_KEY_DEVICE (const WCHAR []){ 'd','e','v','i','c','e',0 } +# define DPNA_KEY_FLOWCONTROL (const WCHAR []){ 'f','l','o','w','c','o','n','t','r','o','l',0 } +# define DPNA_KEY_HOSTNAME (const WCHAR []){ 'h','o','s','t','n','a','m','e',0 } +# define DPNA_KEY_NAMEINFO (const WCHAR []){ 'n','a','m','e','i','n','f','o',0 } +# define DPNA_KEY_PARITY (const WCHAR []){ 'p','a','r','i','t','y',0 } +# define DPNA_KEY_PHONENUMBER (const WCHAR []){ 'p','h','o','n','e','n','u','m','b','e','r',0 } +# define DPNA_KEY_PORT (const WCHAR []){ 'p','o','r','t',0 } +# define DPNA_KEY_PROCESSOR (const WCHAR []){ 'p','r','o','c','e','s','s','o','r',0 } +# define DPNA_KEY_PROGRAM (const WCHAR []){ 'p','r','o','g','r','a','m',0 } +# define DPNA_KEY_PROVIDER (const WCHAR []){ 'p','r','o','v','i','d','e','r',0 } +# define DPNA_KEY_SCOPE (const WCHAR []){ 's','c','o','p','e',0 } +# define DPNA_KEY_STOPBITS (const WCHAR []){ 's','t','o','p','b','i','t','s',0 } +# define DPNA_KEY_TRAVERSALMODE (const WCHAR []){ 't','r','a','v','e','r','s','a','l','m','o','d','e',0 } +# define DPNA_STOP_BITS_ONE (const WCHAR []){ '1',0 } +# define DPNA_STOP_BITS_ONE_FIVE (const WCHAR []){ '1','.','5',0 } +# define DPNA_STOP_BITS_TWO (const WCHAR []){ '2',0 } +# define DPNA_PARITY_NONE (const WCHAR []){ 'N','O','N','E',0 } +# define DPNA_PARITY_EVEN (const WCHAR []){ 'E','V','E','N',0 } +# define DPNA_PARITY_ODD (const WCHAR []){ 'O','D','D',0 } +# define DPNA_PARITY_MARK (const WCHAR []){ 'M','A','R','K',0 } +# define DPNA_PARITY_SPACE (const WCHAR []){ 'S','P','A','C','E',0 } +# define DPNA_FLOW_CONTROL_NONE (const WCHAR []){ 'N','O','N','E',0 } +# define DPNA_FLOW_CONTROL_XONXOFF (const WCHAR []){ 'X','O','N','X','O','F','F',0 } +# define DPNA_FLOW_CONTROL_RTS (const WCHAR []){ 'R','T','S',0 } +# define DPNA_FLOW_CONTROL_DTR (const WCHAR []){ 'D','T','R',0 } +# define DPNA_FLOW_CONTROL_RTSDTR (const WCHAR []){ 'R','T','S','D','T','R',0 } +# define DPNA_VALUE_TCPIPPROVIDER (const WCHAR []){ 'I','P',0 } +# define DPNA_VALUE_IPXPROVIDER (const WCHAR []){ 'I','P','X',0 } +# define DPNA_VALUE_MODEMPROVIDER (const WCHAR []){ 'M','O','D','E','M',0 } +# define DPNA_VALUE_SERIALPROVIDER (const WCHAR []){ 'S','E','R','I','A','L',0 } + +#elif defined(_MSC_VER) + +# define DPNA_HEADER L"x-directplay:/" +# define DPNA_KEY_APPLICATION_INSTANCE L"applicationinstance" +# define DPNA_KEY_BAUD L"baud" +# define DPNA_KEY_DEVICE L"device" +# define DPNA_KEY_FLOWCONTROL L"flowcontrol" +# define DPNA_KEY_HOSTNAME L"hostname" +# define DPNA_KEY_NAMEINFO L"nameinfo" +# define DPNA_KEY_PARITY L"parity" +# define DPNA_KEY_PHONENUMBER L"phonenumber" +# define DPNA_KEY_PORT L"port" +# define DPNA_KEY_PROCESSOR L"processor" +# define DPNA_KEY_PROGRAM L"program" +# define DPNA_KEY_PROVIDER L"provider" +# define DPNA_KEY_SCOPE L"scope" +# define DPNA_KEY_STOPBITS L"stopbits" +# define DPNA_KEY_TRAVERSALMODE L"traversalmode" +# define DPNA_STOP_BITS_ONE L"1" +# define DPNA_STOP_BITS_ONE_FIVE L"1.5" +# define DPNA_STOP_BITS_TWO L"2" +# define DPNA_PARITY_NONE L"NONE" +# define DPNA_PARITY_EVEN L"EVEN" +# define DPNA_PARITY_ODD L"ODD" +# define DPNA_PARITY_MARK L"MARK" +# define DPNA_PARITY_SPACE L"SPACE" +# define DPNA_FLOW_CONTROL_NONE L"NONE" +# define DPNA_FLOW_CONTROL_XONXOFF L"XONXOFF" +# define DPNA_FLOW_CONTROL_RTS L"RTS" +# define DPNA_FLOW_CONTROL_DTR L"DTR" +# define DPNA_FLOW_CONTROL_RTSDTR L"RTSDTR" +# define DPNA_VALUE_TCPIPPROVIDER L"IP" +# define DPNA_VALUE_IPXPROVIDER L"IPX" +# define DPNA_VALUE_MODEMPROVIDER L"MODEM" +# define DPNA_VALUE_SERIALPROVIDER L"SERIAL" + +#else + +static const WCHAR DPNA_HEADER[] = { 'x','-','d','i','r','e','c','t','p','l','a','y',':','/',0 }; +static const WCHAR DPNA_KEY_APPLICATION_INSTANCE[] = { 'a','p','p','l','i','c','a','t','i','o','n','i','n','s','t','a','n','c','e',0 }; +static const WCHAR DPNA_KEY_BAUD[] = { 'b','a','u','d',0 }; +static const WCHAR DPNA_KEY_DEVICE[] = { 'd','e','v','i','c','e',0 }; +static const WCHAR DPNA_KEY_FLOWCONTROL[] = { 'f','l','o','w','c','o','n','t','r','o','l',0 }; +static const WCHAR DPNA_KEY_HOSTNAME[] = { 'h','o','s','t','n','a','m','e',0 }; +static const WCHAR DPNA_KEY_NAMEINFO[] = { 'n','a','m','e','i','n','f','o',0 }; +static const WCHAR DPNA_KEY_PARITY[] = { 'p','a','r','i','t','y',0 }; +static const WCHAR DPNA_KEY_PHONENUMBER[] = { 'p','h','o','n','e','n','u','m','b','e','r',0 }; +static const WCHAR DPNA_KEY_PORT[] = { 'p','o','r','t',0 }; +static const WCHAR DPNA_KEY_PROCESSOR[] = { 'p','r','o','c','e','s','s','o','r',0 }; +static const WCHAR DPNA_KEY_PROGRAM[] = { 'p','r','o','g','r','a','m',0 }; +static const WCHAR DPNA_KEY_PROVIDER[] = { 'p','r','o','v','i','d','e','r',0 }; +static const WCHAR DPNA_KEY_SCOPE[] = { 's','c','o','p','e',0 }; +static const WCHAR DPNA_KEY_STOPBITS[] = { 's','t','o','p','b','i','t','s',0 }; +static const WCHAR DPNA_KEY_TRAVERSALMODE[] = { 't','r','a','v','e','r','s','a','l','m','o','d','e',0 }; +static const WCHAR DPNA_STOP_BITS_ONE[] = { '1',0 }; +static const WCHAR DPNA_STOP_BITS_ONE_FIVE[] = { '1','.','5',0 }; +static const WCHAR DPNA_STOP_BITS_TWO[] = { '2',0 }; +static const WCHAR DPNA_PARITY_NONE[] = { 'N','O','N','E',0 }; +static const WCHAR DPNA_PARITY_EVEN[] = { 'E','V','E','N',0 }; +static const WCHAR DPNA_PARITY_ODD[] = { 'O','D','D',0 }; +static const WCHAR DPNA_PARITY_MARK[] = { 'M','A','R','K',0 }; +static const WCHAR DPNA_PARITY_SPACE[] = { 'S','P','A','C','E',0 }; +static const WCHAR DPNA_FLOW_CONTROL_NONE[] = { 'N','O','N','E',0 }; +static const WCHAR DPNA_FLOW_CONTROL_XONXOFF[] = { 'X','O','N','X','O','F','F',0 }; +static const WCHAR DPNA_FLOW_CONTROL_RTS[] = { 'R','T','S',0 }; +static const WCHAR DPNA_FLOW_CONTROL_DTR[] = { 'D','T','R',0 }; +static const WCHAR DPNA_FLOW_CONTROL_RTSDTR[] = { 'R','T','S','D','T','R',0 }; +static const WCHAR DPNA_VALUE_TCPIPPROVIDER[] = { 'I','P',0 }; +static const WCHAR DPNA_VALUE_IPXPROVIDER[] = { 'I','P','X',0 }; +static const WCHAR DPNA_VALUE_MODEMPROVIDER[] = { 'M','O','D','E','M',0 }; +static const WCHAR DPNA_VALUE_SERIALPROVIDER[] = { 'S','E','R','I','A','L',0 }; + + +#endif + +#define DPNA_BAUD_RATE_9600 9600 +#define DPNA_BAUD_RATE_14400 14400 +#define DPNA_BAUD_RATE_19200 19200 +#define DPNA_BAUD_RATE_38400 38400 +#define DPNA_BAUD_RATE_56000 56000 +#define DPNA_BAUD_RATE_57600 57600 +#define DPNA_BAUD_RATE_115200 115200 + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectPlay8Address, 0x934a9523, 0xa3ca, 0x4bc5, 0xad, 0xa0, 0xd6, 0xd9, 0x5d, 0x97, 0x94, 0x21); + +DEFINE_GUID(IID_IDirectPlay8Address, 0x83783300, 0x4063, 0x4c8a, 0x9d, 0xb3, 0x82, 0x83, 0xa, 0x7f, 0xeb, 0x31); +typedef struct IDirectPlay8Address *PDIRECTPLAY8ADDRESS, *LPDIRECTPLAY8ADDRESS; +DEFINE_GUID(IID_IDirectPlay8AddressIP, 0xe5a0e990, 0x2bad, 0x430b, 0x87, 0xda, 0xa1, 0x42, 0xcf, 0x75, 0xde, 0x58); +typedef struct IDirectPlay8AddressIP *PDIRECTPLAY8ADDRESSIP, *LPDIRECTPLAY8ADDRESSIP; + + +/***************************************************************************** + * IDirectPlay8Address interface + */ +#define INTERFACE IDirectPlay8Address +DECLARE_INTERFACE_(IDirectPlay8Address,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8Address methods ***/ + STDMETHOD(BuildFromURLW)(THIS_ WCHAR* pwszSourceURL) PURE; + STDMETHOD(BuildFromURLA)(THIS_ CHAR* pszSourceURL) PURE; + STDMETHOD(Duplicate)(THIS_ PDIRECTPLAY8ADDRESS* ppdpaNewAddress) PURE; + STDMETHOD(SetEqual)(THIS_ PDIRECTPLAY8ADDRESS pdpaAddress) PURE; + STDMETHOD(IsEqual)(THIS_ PDIRECTPLAY8ADDRESS pdpaAddress) PURE; + STDMETHOD(Clear)(THIS) PURE; + STDMETHOD(GetURLW)(THIS_ WCHAR* pwszURL, PDWORD pdwNumChars) PURE; + STDMETHOD(GetURLA)(THIS_ CHAR* pszURL, PDWORD pdwNumChars) PURE; + STDMETHOD(GetSP)(THIS_ GUID* pguidSP) PURE; + STDMETHOD(GetUserData)(THIS_ LPVOID pvUserData, PDWORD pdwBufferSize) PURE; + STDMETHOD(SetSP)(THIS_ const GUID* pguidSP) PURE; + STDMETHOD(SetUserData)(THIS_ const void* pvUserData, DWORD dwDataSize) PURE; + STDMETHOD(GetNumComponents)(THIS_ PDWORD pdwNumComponents) PURE; + STDMETHOD(GetComponentByName)(THIS_ const WCHAR* pwszName, LPVOID pvBuffer, PDWORD pdwBufferSize, PDWORD pdwDataType) PURE; + STDMETHOD(GetComponentByIndex)(THIS_ DWORD dwComponentID, WCHAR* pwszName, PDWORD pdwNameLen, void* pvBuffer, PDWORD pdwBufferSize, PDWORD pdwDataType) PURE; + STDMETHOD(AddComponent)(THIS_ const WCHAR* pwszName, const void* lpvData, DWORD dwDataSize, DWORD dwDataType) PURE; + STDMETHOD(GetDevice)(THIS_ GUID* pDevGuid) PURE; + STDMETHOD(SetDevice)(THIS_ const GUID* devGuid) PURE; + STDMETHOD(BuildFromDirectPlay4Address)(THIS_ LPVOID pvAddress, DWORD dwDataSize) PURE; +}; +#undef INTERFACE + + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8Address_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8Address_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8Address_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8Address methods ***/ +#define IDirectPlay8Address_BuildFromURLW(p,a) (p)->lpVtbl->BuildFromURLW(p,a) +#define IDirectPlay8Address_BuildFromURLA(p,a) (p)->lpVtbl->BuildFromURLA(p,a) +#define IDirectPlay8Address_Duplicate(p,a) (p)->lpVtbl->Duplicate(p,a) +#define IDirectPlay8Address_SetEqual(p,a) (p)->lpVtbl->SetEqual(p,a) +#define IDirectPlay8Address_IsEqual(p,a) (p)->lpVtbl->IsEqual(p,a) +#define IDirectPlay8Address_Clear(p) (p)->lpVtbl->Clear(p) +#define IDirectPlay8Address_GetURLW(p,a,b) (p)->lpVtbl->GetURLW(p,a,b) +#define IDirectPlay8Address_GetURLA(p,a,b) (p)->lpVtbl->GetURLA(p,a,b) +#define IDirectPlay8Address_GetSP(p,a) (p)->lpVtbl->GetSP(p,a) +#define IDirectPlay8Address_GetUserData(p,a,b) (p)->lpVtbl->GetUserData(p,a,b) +#define IDirectPlay8Address_SetSP(p,a) (p)->lpVtbl->SetSP(p,a) +#define IDirectPlay8Address_SetUserData(p,a,b) (p)->lpVtbl->SetUserData(p,a,b) +#define IDirectPlay8Address_GetNumComponents(p,a) (p)->lpVtbl->GetNumComponents(p,a) +#define IDirectPlay8Address_GetComponentByName(p,a,b,c,d) (p)->lpVtbl->GetComponentByName(p,a,b,c,d) +#define IDirectPlay8Address_GetComponentByIndex(p,a,b,c,d,e,f) (p)->lpVtbl->GetComponentByIndex(p,a,b,c,d,e,f) +#define IDirectPlay8Address_AddComponent(p,a,b,c,d) (p)->lpVtbl->AddComponent(p,a,b,c,d) +#define IDirectPlay8Address_SetDevice(p,a) (p)->lpVtbl->SetDevice(p,a) +#define IDirectPlay8Address_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) +#define IDirectPlay8Address_BuildFromDirectPlay4Address(p,a,b) (p)->lpVtbl->BuildFromDirectPlay4Address(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8Address_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8Address_AddRef(p) (p)->AddRef() +#define IDirectPlay8Address_Release(p) (p)->Release() +/*** IDirectPlay8Address methods ***/ +#define IDirectPlay8Address_BuildFromURLW(p,a) (p)->BuildFromURLW(a) +#define IDirectPlay8Address_BuildFromURLA(p,a) (p)->BuildFromURLA(a) +#define IDirectPlay8Address_Duplicate(p,a) (p)->Duplicate(a) +#define IDirectPlay8Address_SetEqual(p,a) (p)->SetEqual(a) +#define IDirectPlay8Address_IsEqual(p,a) (p)->IsEqual(a) +#define IDirectPlay8Address_Clear(p) (p)->Clear() +#define IDirectPlay8Address_GetURLW(p,a,b) (p)->GetURLW(a,b) +#define IDirectPlay8Address_GetURLA(p,a,b) (p)->GetURLA(a,b) +#define IDirectPlay8Address_GetSP(p,a) (p)->GetSP(a) +#define IDirectPlay8Address_GetUserData(p,a,b) (p)->GetUserData(a,b) +#define IDirectPlay8Address_SetSP(p,a) (p)->SetSP(a) +#define IDirectPlay8Address_SetUserData(p,a,b) (p)->SetUserData(a,b) +#define IDirectPlay8Address_GetNumComponents(p,a) (p)->GetNumComponents(a) +#define IDirectPlay8Address_GetComponentByName(p,a,b,c,d) (p)->GetComponentByName(a,b,c,d) +#define IDirectPlay8Address_GetComponentByIndex(p,a,b,c,d,e,f) (p)->GetComponentByIndex(a,b,c,d,e,f) +#define IDirectPlay8Address_AddComponent(p,a,b,c,d) (p)->AddComponent(a,b,c,d) +#define IDirectPlay8Address_SetDevice(p,a) (p)->SetDevice(a) +#define IDirectPlay8Address_GetDevice(p,a) (p)->GetDevice(a) +#define IDirectPlay8Address_BuildFromDirectPlay4Address(p,a,b) (p)->BuildFromDirectPlay4Address(a,b) +#endif + +/***************************************************************************** + * IDirectPlay8AddressIP interface + */ +#define INTERFACE IDirectPlay8AddressIP +DECLARE_INTERFACE_(IDirectPlay8AddressIP,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8AddressIP methods ***/ + STDMETHOD(BuildFromSockAddr)(THIS_ const SOCKADDR* pSockAddr) PURE; + STDMETHOD(BuildAddress)(THIS_ const WCHAR* wszAddress, USHORT usPort) PURE; + STDMETHOD(BuildLocalAddress)(THIS_ const GUID* pguidAdapter, USHORT usPort) PURE; + STDMETHOD(GetSockAddress)(THIS_ SOCKADDR* pSockAddr, PDWORD) PURE; + STDMETHOD(GetLocalAddress)(THIS_ GUID* pguidAdapter, USHORT* pusPort) PURE; + STDMETHOD(GetAddress)(THIS_ WCHAR* wszAddress, PDWORD pdwAddressLength, USHORT* psPort) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8AddressIP_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(a,b) +#define IDirectPlay8AddressIP_AddRef(p) (p)->lpVtbl->AddRef() +#define IDirectPlay8AddressIP_Release(p) (p)->lpVtbl->Release() +/*** IDirectPlay8AddressIP methods ***/ +#define IDirectPlay8AddressIP_BuildFromSockAddr(p,a) (p)->lpVtbl->BuildFromSockAddr(a) +#define IDirectPlay8AddressIP_BuildAddress(p,a,b) (p)->lpVtbl->BuildAddress(a,b) +#define IDirectPlay8AddressIP_BuildLocalAddress(p,a,b) (p)->lpVtbl->BuildLocalAddress(a,b) +#define IDirectPlay8AddressIP_GetSockAddress(p,a,b) (p)->lpVtbl->GetSockAddress(a,b) +#define IDirectPlay8AddressIP_GetLocalAddress(p,a,b) (p)->lpVtbl->GetLocalAddress(a,b) +#define IDirectPlay8AddressIP_GetAddress(p,a,b,c) (p)->lpVtbl->GetAddress(a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8AddressIP_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8AddressIP_AddRef(p) (p)->AddRef() +#define IDirectPlay8AddressIP_Release(p) (p)->Release() +/*** IDirectPlay8AddressIP methods ***/ +#define IDirectPlay8AddressIP_BuildFromSockAddr(p,a) (p)->BuildFromSockAddr(a) +#define IDirectPlay8AddressIP_BuildAddress(p,a,b) (p)->BuildAddress(a,b) +#define IDirectPlay8AddressIP_BuildLocalAddress(p,a,b) (p)->BuildLocalAddress(a,b) +#define IDirectPlay8AddressIP_GetSockAddress(p,a,b) (p)->GetSockAddress(a,b) +#define IDirectPlay8AddressIP_GetLocalAddress(p,a,b) (p)->GetLocalAddress(a,b) +#define IDirectPlay8AddressIP_GetAddress(p,a,b,c) (p)->GetAddress(a,b,c) +#endif + +/* Export functions */ + +HRESULT WINAPI DirectPlay8AddressCreate(const GUID* pcIID, LPVOID* ppvInterface, IUnknown* pUnknown); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplay.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplay.h new file mode 100644 index 0000000..2294ba8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplay.h @@ -0,0 +1,1273 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DPLAY_H +#define __WINE_DPLAY_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef LPVOID (*LPRGLPVOID)[]; +typedef LPRGLPVOID PRGPVOID, LPRGPVOID, PRGLPVOID, PAPVOID, LPAPVOID, PALPVOID, LPALPVOID; + +#define VOL volatile +typedef VOID * volatile LPVOIDV; + + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectPlay,0xd1eb6d20, 0x8923, 0x11d0, 0x9d, 0x97, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb); + +DEFINE_GUID(IID_IDirectPlay, 0x5454e9a0, 0xdb65, 0x11ce, 0x92, 0x1c, 0x00, 0xaa, 0x00, 0x6c, 0x49, 0x72); +typedef struct IDirectPlay *LPDIRECTPLAY; + +DEFINE_GUID(IID_IDirectPlay2, 0x2b74f7c0, 0x9154, 0x11cf, 0xa9, 0xcd, 0x0, 0xaa, 0x0, 0x68, 0x86, 0xe3); +typedef struct IDirectPlay2 *LPDIRECTPLAY2; + +DEFINE_GUID(IID_IDirectPlay2A,0x9d460580, 0xa822, 0x11cf, 0x96, 0xc, 0x0, 0x80, 0xc7, 0x53, 0x4e, 0x82); +typedef struct IDirectPlay2 IDirectPlay2A,*LPDIRECTPLAY2A; + +DEFINE_GUID(IID_IDirectPlay3, 0x133efe40, 0x32dc, 0x11d0, 0x9c, 0xfb, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb); +typedef struct IDirectPlay3 *LPDIRECTPLAY3; + +DEFINE_GUID(IID_IDirectPlay3A,0x133efe41, 0x32dc, 0x11d0, 0x9c, 0xfb, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb); +typedef struct IDirectPlay3 IDirectPlay3A,*LPDIRECTPLAY3A; + +DEFINE_GUID(IID_IDirectPlay4, 0xab1c530, 0x4745, 0x11d1, 0xa7, 0xa1, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc); +typedef struct IDirectPlay4 *LPDIRECTPLAY4; + +DEFINE_GUID(IID_IDirectPlay4A,0xab1c531, 0x4745, 0x11d1, 0xa7, 0xa1, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc); +typedef struct IDirectPlay4 IDirectPlay4A,*LPDIRECTPLAY4A; + + +/* + * GUIDS used by Service Providers shipped with DirectPlay + * Use these to identify Service Provider returned by EnumConnections + */ + +/* GUID for IPX service provider {685BC400-9D2C-11cf-A9CD-00AA006886E3} */ +DEFINE_GUID(DPSPGUID_IPX, 0x685bc400, 0x9d2c, 0x11cf, 0xa9, 0xcd, 0x0, 0xaa, 0x0, 0x68, 0x86, 0xe3); + +/* GUID for TCP/IP service provider {36E95EE0-8577-11cf-960C-0080C7534E82} */ +DEFINE_GUID(DPSPGUID_TCPIP, 0x36E95EE0, 0x8577, 0x11cf, 0x96, 0xc, 0x0, 0x80, 0xc7, 0x53, 0x4e, 0x82); + +/* GUID for Serial service provider {0F1D6860-88D9-11cf-9C4E-00A0C905425E} */ +DEFINE_GUID(DPSPGUID_SERIAL, 0xf1d6860, 0x88d9, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + +/* GUID for Modem service provider {44EAA760-CB68-11cf-9C4E-00A0C905425E} */ +DEFINE_GUID(DPSPGUID_MODEM, 0x44eaa760, 0xcb68, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + + +/***************************************************************************** + * Miscellaneous + */ + +/* Return Values for Direct Play */ +#define _FACDP 0x877 +#define MAKE_DPHRESULT( code ) MAKE_HRESULT( 1, _FACDP, code ) + +#define DP_OK S_OK +#define DPERR_ALREADYINITIALIZED MAKE_DPHRESULT( 5 ) +#define DPERR_ACCESSDENIED MAKE_DPHRESULT( 10 ) +#define DPERR_ACTIVEPLAYERS MAKE_DPHRESULT( 20 ) +#define DPERR_BUFFERTOOSMALL MAKE_DPHRESULT( 30 ) +#define DPERR_CANTADDPLAYER MAKE_DPHRESULT( 40 ) +#define DPERR_CANTCREATEGROUP MAKE_DPHRESULT( 50 ) +#define DPERR_CANTCREATEPLAYER MAKE_DPHRESULT( 60 ) +#define DPERR_CANTCREATESESSION MAKE_DPHRESULT( 70 ) +#define DPERR_CAPSNOTAVAILABLEYET MAKE_DPHRESULT( 80 ) +#define DPERR_EXCEPTION MAKE_DPHRESULT( 90 ) +#define DPERR_GENERIC E_FAIL +#define DPERR_INVALIDFLAGS MAKE_DPHRESULT( 120 ) +#define DPERR_INVALIDOBJECT MAKE_DPHRESULT( 130 ) +#define DPERR_INVALIDPARAM E_INVALIDARG +#define DPERR_INVALIDPARAMS DPERR_INVALIDPARAM +#define DPERR_INVALIDPLAYER MAKE_DPHRESULT( 150 ) +#define DPERR_INVALIDGROUP MAKE_DPHRESULT( 155 ) +#define DPERR_NOCAPS MAKE_DPHRESULT( 160 ) +#define DPERR_NOCONNECTION MAKE_DPHRESULT( 170 ) +#define DPERR_NOMEMORY E_OUTOFMEMORY +#define DPERR_OUTOFMEMORY DPERR_NOMEMORY +#define DPERR_NOMESSAGES MAKE_DPHRESULT( 190 ) +#define DPERR_NONAMESERVERFOUND MAKE_DPHRESULT( 200 ) +#define DPERR_NOPLAYERS MAKE_DPHRESULT( 210 ) +#define DPERR_NOSESSIONS MAKE_DPHRESULT( 220 ) +#define DPERR_PENDING E_PENDING +#define DPERR_SENDTOOBIG MAKE_DPHRESULT( 230 ) +#define DPERR_TIMEOUT MAKE_DPHRESULT( 240 ) +#define DPERR_UNAVAILABLE MAKE_DPHRESULT( 250 ) +#define DPERR_UNSUPPORTED E_NOTIMPL +#define DPERR_BUSY MAKE_DPHRESULT( 270 ) +#define DPERR_USERCANCEL MAKE_DPHRESULT( 280 ) +#define DPERR_NOINTERFACE E_NOINTERFACE +#define DPERR_CANNOTCREATESERVER MAKE_DPHRESULT( 290 ) +#define DPERR_PLAYERLOST MAKE_DPHRESULT( 300 ) +#define DPERR_SESSIONLOST MAKE_DPHRESULT( 310 ) +#define DPERR_UNINITIALIZED MAKE_DPHRESULT( 320 ) +#define DPERR_NONEWPLAYERS MAKE_DPHRESULT( 330 ) +#define DPERR_INVALIDPASSWORD MAKE_DPHRESULT( 340 ) +#define DPERR_CONNECTING MAKE_DPHRESULT( 350 ) +#define DPERR_CONNECTIONLOST MAKE_DPHRESULT( 360 ) +#define DPERR_UNKNOWNMESSAGE MAKE_DPHRESULT( 370 ) +#define DPERR_CANCELFAILED MAKE_DPHRESULT( 380 ) +#define DPERR_INVALIDPRIORITY MAKE_DPHRESULT( 390 ) +#define DPERR_NOTHANDLED MAKE_DPHRESULT( 400 ) +#define DPERR_CANCELLED MAKE_DPHRESULT( 410 ) +#define DPERR_ABORTED MAKE_DPHRESULT( 420 ) +#define DPERR_BUFFERTOOLARGE MAKE_DPHRESULT( 1000 ) +#define DPERR_CANTCREATEPROCESS MAKE_DPHRESULT( 1010 ) +#define DPERR_APPNOTSTARTED MAKE_DPHRESULT( 1020 ) +#define DPERR_INVALIDINTERFACE MAKE_DPHRESULT( 1030 ) +#define DPERR_NOSERVICEPROVIDER MAKE_DPHRESULT( 1040 ) +#define DPERR_UNKNOWNAPPLICATION MAKE_DPHRESULT( 1050 ) +#define DPERR_NOTLOBBIED MAKE_DPHRESULT( 1070 ) +#define DPERR_SERVICEPROVIDERLOADED MAKE_DPHRESULT( 1080 ) +#define DPERR_ALREADYREGISTERED MAKE_DPHRESULT( 1090 ) +#define DPERR_NOTREGISTERED MAKE_DPHRESULT( 1100 ) +#define DPERR_AUTHENTICATIONFAILED MAKE_DPHRESULT( 2000 ) +#define DPERR_CANTLOADSSPI MAKE_DPHRESULT( 2010 ) +#define DPERR_ENCRYPTIONFAILED MAKE_DPHRESULT( 2020 ) +#define DPERR_SIGNFAILED MAKE_DPHRESULT( 2030 ) +#define DPERR_CANTLOADSECURITYPACKAGE MAKE_DPHRESULT( 2040 ) +#define DPERR_ENCRYPTIONNOTSUPPORTED MAKE_DPHRESULT( 2050 ) +#define DPERR_CANTLOADCAPI MAKE_DPHRESULT( 2060 ) +#define DPERR_NOTLOGGEDIN MAKE_DPHRESULT( 2070 ) +#define DPERR_LOGONDENIED MAKE_DPHRESULT( 2080 ) + + +/* DPID - DirectPlay player and group ID */ +typedef DWORD DPID, *LPDPID; + +/* DPID from whence originate messages - just an ID */ +#define DPID_SYSMSG 0 /* DPID of system */ +#define DPID_ALLPLAYERS 0 /* DPID of all players */ +#define DPID_SERVERPLAYER 1 /* DPID of the server player */ +#define DPID_UNKNOWN 0xFFFFFFFF /* Player ID is unknown */ + +/* DPCAPS - Used to obtain the capabilities of a DirectPlay object */ +typedef struct tagDPCAPS +{ + DWORD dwSize; /* Size of structure in bytes */ + DWORD dwFlags; + DWORD dwMaxBufferSize; + DWORD dwMaxQueueSize; /* Obsolete. */ + DWORD dwMaxPlayers; /* Maximum players/groups (local + remote) */ + DWORD dwHundredBaud; /* Bandwidth in 100 bits per second units; + * i.e. 24 is 2400, 96 is 9600, etc. + */ + DWORD dwLatency; /* Estimated latency; 0 = unknown */ + DWORD dwMaxLocalPlayers; /* Maximum # of locally created players */ + DWORD dwHeaderLength; /* Maximum header length in bytes */ + DWORD dwTimeout; /* Service provider's suggested timeout value + * This is how long DirectPlay will wait for + * responses to system messages + */ +} DPCAPS, *LPDPCAPS; + +typedef struct tagDPNAME +{ + DWORD dwSize; + DWORD dwFlags; /* Not used must be 0 */ + + union /*playerShortName */ /* Player's Handle? */ + { + LPWSTR lpszShortName; + LPSTR lpszShortNameA; + } DUMMYUNIONNAME1; + + union /*playerLongName */ /* Player's formal/real name */ + { + LPWSTR lpszLongName; + LPSTR lpszLongNameA; + } DUMMYUNIONNAME2; + +} DPNAME, *LPDPNAME; + +#define DPLONGNAMELEN 52 +#define DPSHORTNAMELEN 20 +#define DPSESSIONNAMELEN 32 +#define DPPASSWORDLEN 16 +#define DPUSERRESERVED 16 + +typedef struct tagDPSESSIONDESC +{ + DWORD dwSize; + GUID guidSession; + DWORD dwSession; + DWORD dwMaxPlayers; + DWORD dwCurrentPlayers; + DWORD dwFlags; + char szSessionName[ DPSESSIONNAMELEN ]; + char szUserField[ DPUSERRESERVED ]; + DWORD dwReserved1; + char szPassword[ DPPASSWORDLEN ]; + DWORD dwReserved2; + DWORD dwUser1; + DWORD dwUser2; + DWORD dwUser3; + DWORD dwUser4; +} DPSESSIONDESC, *LPDPSESSIONDESC; + +typedef struct tagDPSESSIONDESC2 +{ + DWORD dwSize; + DWORD dwFlags; + GUID guidInstance; + GUID guidApplication; /* GUID of the DP application, GUID_NULL if + * all applications! */ + + DWORD dwMaxPlayers; + DWORD dwCurrentPlayers; /* (read only value) */ + + union /* Session name */ + { + LPWSTR lpszSessionName; + LPSTR lpszSessionNameA; + } DUMMYUNIONNAME1; + + union /* Optional password */ + { + LPWSTR lpszPassword; + LPSTR lpszPasswordA; + } DUMMYUNIONNAME2; + + DWORD dwReserved1; + DWORD dwReserved2; + + DWORD dwUser1; /* For use by the application */ + DWORD dwUser2; + DWORD dwUser3; + DWORD dwUser4; +} DPSESSIONDESC2, *LPDPSESSIONDESC2; +typedef const DPSESSIONDESC2* LPCDPSESSIONDESC2; + +#define DPOPEN_JOIN 0x00000001 +#define DPOPEN_CREATE 0x00000002 +#define DPOPEN_RETURNSTATUS DPENUMSESSIONS_RETURNSTATUS + +#define DPSESSION_NEWPLAYERSDISABLED 0x00000001 +#define DPSESSION_MIGRATEHOST 0x00000004 +#define DPSESSION_NOMESSAGEID 0x00000008 +#define DPSESSION_JOINDISABLED 0x00000020 +#define DPSESSION_KEEPALIVE 0x00000040 +#define DPSESSION_NODATAMESSAGES 0x00000080 +#define DPSESSION_SECURESERVER 0x00000100 +#define DPSESSION_PRIVATE 0x00000200 +#define DPSESSION_PASSWORDREQUIRED 0x00000400 +#define DPSESSION_MULTICASTSERVER 0x00000800 +#define DPSESSION_CLIENTSERVER 0x00001000 +#define DPSESSION_DIRECTPLAYPROTOCOL 0x00002000 +#define DPSESSION_NOPRESERVEORDER 0x00004000 +#define DPSESSION_OPTIMIZELATENCY 0x00008000 + +typedef struct tagDPLCONNECTION +{ + DWORD dwSize; + DWORD dwFlags; + LPDPSESSIONDESC2 lpSessionDesc; /* Ptr to session desc to use for connect */ + LPDPNAME lpPlayerName; /* Ptr to player name structure */ + GUID guidSP; /* GUID of Service Provider to use */ + LPVOID lpAddress; /* Ptr to Address of Service Provider to use */ + DWORD dwAddressSize; /* Size of address data */ +} DPLCONNECTION, *LPDPLCONNECTION; + +/* DPLCONNECTION flags (for dwFlags) */ +#define DPLCONNECTION_CREATESESSION DPOPEN_CREATE +#define DPLCONNECTION_JOINSESSION DPOPEN_JOIN + +typedef struct tagDPCHAT +{ + DWORD dwSize; + DWORD dwFlags; + union + { /* Message string */ + LPWSTR lpszMessage; /* Unicode */ + LPSTR lpszMessageA; /* ANSI */ + } DUMMYUNIONNAME; +} DPCHAT, *LPDPCHAT; + +typedef struct +{ + UINT len; + PUCHAR pData; +} SGBUFFER, *PSGBUFFER, *LPSGBUFFER; + + +typedef struct tagDPSECURITYDESC +{ + DWORD dwSize; /* Size of structure */ + DWORD dwFlags; /* Not used. Must be zero. */ + union + { /* SSPI provider name */ + LPWSTR lpszSSPIProvider; /* Unicode */ + LPSTR lpszSSPIProviderA; /* ANSI */ + } DUMMYUNIONNAME1; + union + { /* CAPI provider name */ + LPWSTR lpszCAPIProvider; /* Unicode */ + LPSTR lpszCAPIProviderA; /* ANSI */ + } DUMMYUNIONNAME2; + DWORD dwCAPIProviderType; /* Crypto Service Provider type */ + DWORD dwEncryptionAlgorithm; /* Encryption Algorithm type */ +} DPSECURITYDESC, *LPDPSECURITYDESC; + +typedef const DPSECURITYDESC *LPCDPSECURITYDESC; + +typedef struct tagDPCREDENTIALS +{ + DWORD dwSize; /* Size of structure */ + DWORD dwFlags; /* Not used. Must be zero. */ + union + { /* User name of the account */ + LPWSTR lpszUsername; /* Unicode */ + LPSTR lpszUsernameA; /* ANSI */ + } DUMMYUNIONNAME1; + union + { /* Password of the account */ + LPWSTR lpszPassword; /* Unicode */ + LPSTR lpszPasswordA; /* ANSI */ + } DUMMYUNIONNAME2; + union + { /* Domain name of the account */ + LPWSTR lpszDomain; /* Unicode */ + LPSTR lpszDomainA; /* ANSI */ + } DUMMYUNIONNAME3; +} DPCREDENTIALS, *LPDPCREDENTIALS; + +typedef const DPCREDENTIALS *LPCDPCREDENTIALS; + + + +typedef BOOL (CALLBACK *LPDPENUMDPCALLBACKW)( + LPGUID lpguidSP, + LPWSTR lpSPName, + DWORD dwMajorVersion, + DWORD dwMinorVersion, + LPVOID lpContext); + +typedef BOOL (CALLBACK *LPDPENUMDPCALLBACKA)( + LPGUID lpguidSP, + LPSTR lpSPName, /* ptr to str w/ driver description */ + DWORD dwMajorVersion, /* Major # of driver spec in lpguidSP */ + DWORD dwMinorVersion, /* Minor # of driver spec in lpguidSP */ + LPVOID lpContext); /* User given */ + +#ifndef __LPCGUID_DEFINED__ +#define __LPCGUID_DEFINED__ +typedef const GUID *LPCGUID; +#endif + +typedef const DPNAME *LPCDPNAME; + +typedef BOOL (CALLBACK *LPDPENUMCONNECTIONSCALLBACK)( + LPCGUID lpguidSP, + LPVOID lpConnection, + DWORD dwConnectionSize, + LPCDPNAME lpName, + DWORD dwFlags, + LPVOID lpContext); + +typedef BOOL (CALLBACK *LPDPENUMSESSIONSCALLBACK)( + LPDPSESSIONDESC lpDPSessionDesc, + LPVOID lpContext, + LPDWORD lpdwTimeOut, + DWORD dwFlags); + + +extern HRESULT WINAPI DirectPlayEnumerateA( LPDPENUMDPCALLBACKA, LPVOID ); +extern HRESULT WINAPI DirectPlayEnumerateW( LPDPENUMDPCALLBACKW, LPVOID ); +extern HRESULT WINAPI DirectPlayCreate( LPGUID lpGUID, LPDIRECTPLAY *lplpDP, IUnknown *pUnk ); + +typedef BOOL (CALLBACK *LPDPENUMPLAYERSCALLBACK)( + DPID dpId, + LPSTR lpFriendlyName, + LPSTR lpFormalName, + DWORD dwFlags, + LPVOID lpContext ); + +typedef BOOL (CALLBACK *LPDPENUMPLAYERSCALLBACK2)( + DPID dpId, + DWORD dwPlayerType, + LPCDPNAME lpName, + DWORD dwFlags, + LPVOID lpContext ); + +typedef BOOL (CALLBACK *LPDPENUMSESSIONSCALLBACK2)( + LPCDPSESSIONDESC2 lpThisSD, + LPDWORD lpdwTimeOut, + DWORD dwFlags, + LPVOID lpContext ); + +#define DPESC_TIMEDOUT 0x00000001 + +/***************************************************************************** + * IDirectPlay interface + */ +#define INTERFACE IDirectPlay +DECLARE_INTERFACE_(IDirectPlay,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay methods ***/ + STDMETHOD(AddPlayerToGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(Close)(THIS) PURE; + STDMETHOD(CreatePlayer)(THIS_ LPDPID lpidPlayer, LPSTR lpPlayerName, LPSTR, LPHANDLE) PURE; + STDMETHOD(CreateGroup)(THIS_ LPDPID lpidGroup, LPSTR lpGroupName, LPSTR) PURE; + STDMETHOD(DeletePlayerFromGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(DestroyPlayer)(THIS_ DPID idPlayer) PURE; + STDMETHOD(DestroyGroup)(THIS_ DPID idGroup) PURE; + STDMETHOD(EnableNewPlayers)(THIS_ BOOL) PURE; + STDMETHOD(EnumGroupPlayers)(THIS_ DPID idGroup, LPDPENUMPLAYERSCALLBACK lpEnumPlayersCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumGroups)(THIS_ DWORD, LPDPENUMPLAYERSCALLBACK lpEnumPlayersCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumPlayers)(THIS_ DWORD, LPDPENUMPLAYERSCALLBACK lpEnumPlayersCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumSessions)(THIS_ LPDPSESSIONDESC lpsd, DWORD dwTimeout, LPDPENUMSESSIONSCALLBACK lpEnumSessionsCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ LPDPCAPS lpDPCaps) PURE; + STDMETHOD(GetMessageCount)(THIS_ DPID idPlayer, LPDWORD lpdwCount) PURE; + STDMETHOD(GetPlayerCaps)(THIS_ DPID idPlayer, LPDPCAPS lpPlayerCaps) PURE; + STDMETHOD(GetPlayerName)(THIS_ DPID idPlayer, LPSTR, LPDWORD, LPSTR, LPDWORD) PURE; + STDMETHOD(Initialize)(THIS_ LPGUID lpGUID) PURE; + STDMETHOD(Open)(THIS_ LPDPSESSIONDESC lpsd) PURE; + STDMETHOD(Receive)(THIS_ LPDPID lpidFrom, LPDPID lpidTo, DWORD dwFlags, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(SaveSession)(THIS_ LPSTR) PURE; + STDMETHOD(Send)(THIS_ DPID idFrom, DPID idTo, DWORD dwFlags, LPVOID lpData, DWORD dwDataSize) PURE; + STDMETHOD(SetPlayerName)(THIS_ DPID idPlayer, LPSTR lpPlayerName, LPSTR) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay methods ***/ +#define IDirectPlay_AddPlayerToGroup(p,a,b) (p)->lpVtbl->AddPlayerToGroup(p,a,b) +#define IDirectPlay_Close(p) (p)->lpVtbl->Close(p) +#define IDirectPlay_CreatePlayer(p,a,b,c,d) (p)->lpVtbl->CreatePlayer(p,a,b,c,d) +#define IDirectPlay_CreateGroup(p,a,b,c) (p)->lpVtbl->CreateGroup(p,a,b,c) +#define IDirectPlay_DeletePlayerFromGroup(p,a,b) (p)->lpVtbl->DeletePlayerFromGroup(p,a,b) +#define IDirectPlay_DestroyPlayer(p,a) (p)->lpVtbl->DestroyPlayer(p,a) +#define IDirectPlay_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a) +#define IDirectPlay_EnableNewPlayers(p,a) (p)->lpVtbl->EnableNewPlayers(p,a) +#define IDirectPlay_EnumGroupPlayers(p,a,b,c,d) (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d) +#define IDirectPlay_EnumGroups(p,a,b,c,d) (p)->lpVtbl->EnumGroups(p,a,b,c,d) +#define IDirectPlay_EnumPlayers(p,a,b,c,d) (p)->lpVtbl->EnumPlayers(p,a,b,c,d) +#define IDirectPlay_EnumSessions(p,a,b,c,d,e) (p)->lpVtbl->EnumSessions(p,a,b,c,d,e) +#define IDirectPlay_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectPlay_GetMessageCount(p,a,b) (p)->lpVtbl->GetMessageCount(p,a,b) +#define IDirectPlay_GetPlayerCaps(p,a,b) (p)->lpVtbl->GetPlayerCaps(p,a,b) +#define IDirectPlay_GetPlayerName(p,a,b,c,d,e) (p)->lpVtbl->GetPlayerName(p,a,b,c,d,e) +#define IDirectPlay_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectPlay_Open(p,a) (p)->lpVtbl->Open(p,a) +#define IDirectPlay_Receive(p,a,b,c,d,e) (p)->lpVtbl->Receive(p,a,b,c,d,e) +#define IDirectPlay_SaveSession(p,a) (p)->lpVtbl->SaveSession(p,a) +#define IDirectPlay_Send(p,a,b,c,d,e) (p)->lpVtbl->Send(p,a,b,c,d,e) +#define IDirectPlay_SetPlayerName(p,a,b,c) (p)->lpVtbl->SetPlayerName(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay_AddRef(p) (p)->AddRef() +#define IDirectPlay_Release(p) (p)->Release() +/*** IDirectPlay methods ***/ +#define IDirectPlay_AddPlayerToGroup(p,a,b) (p)->AddPlayerToGroup(a,b) +#define IDirectPlay_Close(p) (p)->Close() +#define IDirectPlay_CreatePlayer(p,a,b,c,d) (p)->CreatePlayer(a,b,c,d) +#define IDirectPlay_CreateGroup(p,a,b,c) (p)->CreateGroup(a,b,c) +#define IDirectPlay_DeletePlayerFromGroup(p,a,b) (p)->DeletePlayerFromGroup(a,b) +#define IDirectPlay_DestroyPlayer(p,a) (p)->DestroyPlayer(a) +#define IDirectPlay_DestroyGroup(p,a) (p)->DestroyGroup(a) +#define IDirectPlay_EnableNewPlayers(p,a) (p)->EnableNewPlayers(a) +#define IDirectPlay_EnumGroupPlayers(p,a,b,c,d) (p)->EnumGroupPlayers(a,b,c,d) +#define IDirectPlay_EnumGroups(p,a,b,c,d) (p)->EnumGroups(a,b,c,d) +#define IDirectPlay_EnumPlayers(p,a,b,c,d) (p)->EnumPlayers(a,b,c,d) +#define IDirectPlay_EnumSessions(p,a,b,c,d,e) (p)->EnumSessions(a,b,c,d,e) +#define IDirectPlay_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectPlay_GetMessageCount(p,a,b) (p)->GetMessageCount(a,b) +#define IDirectPlay_GetPlayerCaps(p,a,b) (p)->GetPlayerCaps(a,b) +#define IDirectPlay_GetPlayerName(p,a,b,c,d,e) (p)->GetPlayerName(a,b,c,d,e) +#define IDirectPlay_Initialize(p,a) (p)->Initialize(a) +#define IDirectPlay_Open(p,a) (p)->Open(a) +#define IDirectPlay_Receive(p,a,b,c,d,e) (p)->Receive(a,b,c,d,e) +#define IDirectPlay_SaveSession(p,a) (p)->SaveSession(a) +#define IDirectPlay_Send(p,a,b,c,d,e) (p)->Send(a,b,c,d,e) +#define IDirectPlay_SetPlayerName(p,a,b,c) (p)->SetPlayerName(a,b,c) +#endif + + +/***************************************************************************** + * IDirectPlay2 and IDirectPlay2A interface + */ +#define INTERFACE IDirectPlay2 +DECLARE_INTERFACE_(IDirectPlay2,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay2 methods ***/ + STDMETHOD(AddPlayerToGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(Close)(THIS) PURE; + STDMETHOD(CreateGroup)(THIS_ LPDPID lpidGroup, LPDPNAME lpGroupName, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(CreatePlayer)(THIS_ LPDPID lpidPlayer, LPDPNAME lpPlayerName, HANDLE hEvent, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(DeletePlayerFromGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(DestroyGroup)(THIS_ DPID idGroup) PURE; + STDMETHOD(DestroyPlayer)(THIS_ DPID idPlayer) PURE; + STDMETHOD(EnumGroupPlayers)(THIS_ DPID idGroup, LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumGroups)(THIS_ LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumPlayers)(THIS_ LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumSessions)(THIS_ LPDPSESSIONDESC2 lpsd, DWORD dwTimeout, LPDPENUMSESSIONSCALLBACK2 lpEnumSessionsCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ LPDPCAPS lpDPCaps, DWORD dwFlags) PURE; + STDMETHOD(GetGroupData)(THIS_ DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize, DWORD dwFlags) PURE; + STDMETHOD(GetGroupName)(THIS_ DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetMessageCount)(THIS_ DPID idPlayer, LPDWORD lpdwCount) PURE; + STDMETHOD(GetPlayerAddress)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetPlayerCaps)(THIS_ DPID idPlayer, LPDPCAPS lpPlayerCaps, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerData)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerName)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetSessionDesc)(THIS_ LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(Initialize)(THIS_ LPGUID lpGUID) PURE; + STDMETHOD(Open)(THIS_ LPDPSESSIONDESC2 lpsd, DWORD dwFlags) PURE; + STDMETHOD(Receive)(THIS_ LPDPID lpidFrom, LPDPID lpidTo, DWORD dwFlags, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(Send)(THIS_ DPID idFrom, DPID idTo, DWORD dwFlags, LPVOID lpData, DWORD dwDataSize) PURE; + STDMETHOD(SetGroupData)(THIS_ DPID idGroup, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetGroupName)(THIS_ DPID idGroup, LPDPNAME lpGroupName, DWORD dwFlags) PURE; + STDMETHOD(SetPlayerData)(THIS_ DPID idPlayer, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetPlayerName)(THIS_ DPID idPlayer, LPDPNAME lpPlayerName, DWORD dwFlags) PURE; + STDMETHOD(SetSessionDesc)(THIS_ LPDPSESSIONDESC2 lpSessDesc, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay2_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay2 methods ***/ +#define IDirectPlay2_AddPlayerToGroup(p,a,b) (p)->lpVtbl->AddPlayerToGroup(p,a,b) +#define IDirectPlay2_Close(p) (p)->lpVtbl->Close(p) +#define IDirectPlay2_CreateGroup(p,a,b,c,d,e) (p)->lpVtbl->CreateGroup(p,a,b,c,d,e) +#define IDirectPlay2_CreatePlayer(p,a,b,c,d,e,f) (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f) +#define IDirectPlay2_DeletePlayerFromGroup(p,a,b) (p)->lpVtbl->DeletePlayerFromGroup(p,a,b) +#define IDirectPlay2_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a) +#define IDirectPlay2_DestroyPlayer(p,a) (p)->lpVtbl->DestroyPlayer(p,a) +#define IDirectPlay2_EnumGroupPlayers(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e) +#define IDirectPlay2_EnumGroups(p,a,b,c,d) (p)->lpVtbl->EnumGroups(p,a,b,c,d) +#define IDirectPlay2_EnumPlayers(p,a,b,c,d) (p)->lpVtbl->EnumPlayers(p,a,b,c,d) +#define IDirectPlay2_EnumSessions(p,a,b,c,d,e) (p)->lpVtbl->EnumSessions(p,a,b,c,d,e) +#define IDirectPlay2_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlay2_GetGroupData(p,a,b,c,d) (p)->lpVtbl->GetGroupData(p,a,b,c,d) +#define IDirectPlay2_GetGroupName(p,a,b,c) (p)->lpVtbl->GetGroupName(p,a,b,c) +#define IDirectPlay2_GetMessageCount(p,a,b) (p)->lpVtbl->GetMessageCount(p,a,b) +#define IDirectPlay2_GetPlayerAddress(p,a,b,c) (p)->lpVtbl->GetPlayerAddress(p,a,b,c) +#define IDirectPlay2_GetPlayerCaps(p,a,b,c) (p)->lpVtbl->GetPlayerCaps(p,a,b,c) +#define IDirectPlay2_GetPlayerData(p,a,b,c,d) (p)->lpVtbl->GetPlayerData(p,a,b,c,d) +#define IDirectPlay2_GetPlayerName(p,a,b,c) (p)->lpVtbl->GetPlayerName(p,a,b,c) +#define IDirectPlay2_GetSessionDesc(p,a,b) (p)->lpVtbl->GetSessionDesc(p,a,b) +#define IDirectPlay2_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectPlay2_Open(p,a,b) (p)->lpVtbl->Open(p,a,b) +#define IDirectPlay2_Receive(p,a,b,c,d,e) (p)->lpVtbl->Receive(p,a,b,c,d,e) +#define IDirectPlay2_Send(p,a,b,c,d,e) (p)->lpVtbl->Send(p,a,b,c,d,e) +#define IDirectPlay2_SetGroupData(p,a,b,c,d) (p)->lpVtbl->SetGroupData(p,a,b,c,d) +#define IDirectPlay2_SetGroupName(p,a,b,c) (p)->lpVtbl->SetGroupName(p,a,b,c) +#define IDirectPlay2_SetPlayerData(p,a,b,c,d) (p)->lpVtbl->SetPlayerData(p,a,b,c,d) +#define IDirectPlay2_SetPlayerName(p,a,b,c) (p)->lpVtbl->SetPlayerName(p,a,b,c) +#define IDirectPlay2_SetSessionDesc(p,a,b) (p)->lpVtbl->SetSessionDesc(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectPlay2_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay2_AddRef(p) (p)->AddRef() +#define IDirectPlay2_Release(p) (p)->Release() +/*** IDirectPlay2 methods ***/ +#define IDirectPlay2_AddPlayerToGroup(p,a,b) (p)->AddPlayerToGroup(a,b) +#define IDirectPlay2_Close(p) (p)->Close() +#define IDirectPlay2_CreateGroup(p,a,b,c,d,e) (p)->CreateGroup(a,b,c,d,e) +#define IDirectPlay2_CreatePlayer(p,a,b,c,d,e,f) (p)->CreatePlayer(a,b,c,d,e,f) +#define IDirectPlay2_DeletePlayerFromGroup(p,a,b) (p)->DeletePlayerFromGroup(a,b) +#define IDirectPlay2_DestroyGroup(p,a) (p)->DestroyGroup(a) +#define IDirectPlay2_DestroyPlayer(p,a) (p)->DestroyPlayer(a) +#define IDirectPlay2_EnumGroupPlayers(p,a,b,c,d,e) (p)->EnumGroupPlayers(a,b,c,d,e) +#define IDirectPlay2_EnumGroups(p,a,b,c,d) (p)->EnumGroups(a,b,c,d) +#define IDirectPlay2_EnumPlayers(p,a,b,c,d) (p)->EnumPlayers(a,b,c,d) +#define IDirectPlay2_EnumSessions(p,a,b,c,d,e) (p)->EnumSessions(a,b,c,d,e) +#define IDirectPlay2_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectPlay2_GetGroupData(p,a,b,c,d) (p)->GetGroupData(a,b,c,d) +#define IDirectPlay2_GetGroupName(p,a,b,c) (p)->GetGroupName(a,b,c) +#define IDirectPlay2_GetMessageCount(p,a,b) (p)->GetMessageCount(a,b) +#define IDirectPlay2_GetPlayerAddress(p,a,b,c) (p)->GetPlayerAddress(a,b,c) +#define IDirectPlay2_GetPlayerCaps(p,a,b,c) (p)->GetPlayerCaps(a,b,c) +#define IDirectPlay2_GetPlayerData(p,a,b,c,d) (p)->GetPlayerData(a,b,c,d) +#define IDirectPlay2_GetPlayerName(p,a,b,c) (p)->GetPlayerName(a,b,c) +#define IDirectPlay2_GetSessionDesc(p,a,b) (p)->GetSessionDesc(a,b) +#define IDirectPlay2_Initialize(p,a) (p)->Initialize(a) +#define IDirectPlay2_Open(p,a,b) (p)->Open(a,b) +#define IDirectPlay2_Receive(p,a,b,c,d,e) (p)->Receive(a,b,c,d,e) +#define IDirectPlay2_Send(p,a,b,c,d,e) (p)->Send(a,b,c,d,e) +#define IDirectPlay2_SetGroupData(p,a,b,c,d) (p)->SetGroupData(a,b,c,d) +#define IDirectPlay2_SetGroupName(p,a,b,c) (p)->SetGroupName(a,b,c) +#define IDirectPlay2_SetPlayerData(p,a,b,c,d) (p)->SetPlayerData(a,b,c,d) +#define IDirectPlay2_SetPlayerName(p,a,b,c) (p)->SetPlayerName(a,b,c) +#define IDirectPlay2_SetSessionDesc(p,a,b) (p)->SetSessionDesc(a,b) +#endif + + +/***************************************************************************** + * IDirectPlay3 and IDirectPlay3A interface + */ +#define INTERFACE IDirectPlay3 +DECLARE_INTERFACE_(IDirectPlay3,IDirectPlay2) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay2 methods ***/ + STDMETHOD(AddPlayerToGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(Close)(THIS) PURE; + STDMETHOD(CreateGroup)(THIS_ LPDPID lpidGroup, LPDPNAME lpGroupName, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(CreatePlayer)(THIS_ LPDPID lpidPlayer, LPDPNAME lpPlayerName, HANDLE hEvent, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(DeletePlayerFromGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(DestroyGroup)(THIS_ DPID idGroup) PURE; + STDMETHOD(DestroyPlayer)(THIS_ DPID idPlayer) PURE; + STDMETHOD(EnumGroupPlayers)(THIS_ DPID idGroup, LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumGroups)(THIS_ LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumPlayers)(THIS_ LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumSessions)(THIS_ LPDPSESSIONDESC2 lpsd, DWORD dwTimeout, LPDPENUMSESSIONSCALLBACK2 lpEnumSessionsCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ LPDPCAPS lpDPCaps, DWORD dwFlags) PURE; + STDMETHOD(GetGroupData)(THIS_ DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize, DWORD dwFlags) PURE; + STDMETHOD(GetGroupName)(THIS_ DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetMessageCount)(THIS_ DPID idPlayer, LPDWORD lpdwCount) PURE; + STDMETHOD(GetPlayerAddress)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetPlayerCaps)(THIS_ DPID idPlayer, LPDPCAPS lpPlayerCaps, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerData)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerName)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetSessionDesc)(THIS_ LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(Initialize)(THIS_ LPGUID lpGUID) PURE; + STDMETHOD(Open)(THIS_ LPDPSESSIONDESC2 lpsd, DWORD dwFlags) PURE; + STDMETHOD(Receive)(THIS_ LPDPID lpidFrom, LPDPID lpidTo, DWORD dwFlags, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(Send)(THIS_ DPID idFrom, DPID idTo, DWORD dwFlags, LPVOID lpData, DWORD dwDataSize) PURE; + STDMETHOD(SetGroupData)(THIS_ DPID idGroup, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetGroupName)(THIS_ DPID idGroup, LPDPNAME lpGroupName, DWORD dwFlags) PURE; + STDMETHOD(SetPlayerData)(THIS_ DPID idPlayer, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetPlayerName)(THIS_ DPID idPlayer, LPDPNAME lpPlayerName, DWORD dwFlags) PURE; + STDMETHOD(SetSessionDesc)(THIS_ LPDPSESSIONDESC2 lpSessDesc, DWORD dwFlags) PURE; + /*** IDirectPlay3 methods ***/ + STDMETHOD(AddGroupToGroup)(THIS_ DPID idParentGroup, DPID idGroup) PURE; + STDMETHOD(CreateGroupInGroup)(THIS_ DPID idParentGroup, LPDPID lpidGroup, LPDPNAME lpGroupName, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(DeleteGroupFromGroup)(THIS_ DPID idParentGroup, DPID idGroup) PURE; + STDMETHOD(EnumConnections)(THIS_ LPCGUID lpguidApplication, LPDPENUMCONNECTIONSCALLBACK lpEnumCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumGroupsInGroup)(THIS_ DPID idGroup, LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(GetGroupConnectionSettings)(THIS_ DWORD dwFlags, DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(InitializeConnection)(THIS_ LPVOID lpConnection, DWORD dwFlags) PURE; + STDMETHOD(SecureOpen)(THIS_ LPCDPSESSIONDESC2 lpsd, DWORD dwFlags, LPCDPSECURITYDESC lpSecurity, LPCDPCREDENTIALS lpCredentials) PURE; + STDMETHOD(SendChatMessage)(THIS_ DPID idFrom, DPID idTo, DWORD dwFlags, LPDPCHAT lpChatMessage) PURE; + STDMETHOD(SetGroupConnectionSettings)(THIS_ DWORD dwFlags, DPID idGroup, LPDPLCONNECTION lpConnection) PURE; + STDMETHOD(StartSession)(THIS_ DWORD dwFlags, DPID idGroup) PURE; + STDMETHOD(GetGroupFlags)(THIS_ DPID idGroup, LPDWORD lpdwFlags) PURE; + STDMETHOD(GetGroupParent)(THIS_ DPID idGroup, LPDPID lpidParent) PURE; + STDMETHOD(GetPlayerAccount)(THIS_ DPID idPlayer, DWORD dwFlags, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetPlayerFlags)(THIS_ DPID idPlayer, LPDWORD lpdwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay3_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay3_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay2 methods ***/ +#define IDirectPlay3_AddPlayerToGroup(p,a,b) (p)->lpVtbl->AddPlayerToGroup(p,a,b) +#define IDirectPlay3_Close(p) (p)->lpVtbl->Close(p) +#define IDirectPlay3_CreateGroup(p,a,b,c,d,e) (p)->lpVtbl->CreateGroup(p,a,b,c,d,e) +#define IDirectPlay3_CreatePlayer(p,a,b,c,d,e,f) (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f) +#define IDirectPlay3_DeletePlayerFromGroup(p,a,b) (p)->lpVtbl->DeletePlayerFromGroup(p,a,b) +#define IDirectPlay3_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a) +#define IDirectPlay3_DestroyPlayer(p,a) (p)->lpVtbl->DestroyPlayer(p,a) +#define IDirectPlay3_EnumGroupPlayers(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e) +#define IDirectPlay3_EnumGroups(p,a,b,c,d) (p)->lpVtbl->EnumGroups(p,a,b,c,d) +#define IDirectPlay3_EnumPlayers(p,a,b,c,d) (p)->lpVtbl->EnumPlayers(p,a,b,c,d) +#define IDirectPlay3_EnumSessions(p,a,b,c,d,e) (p)->lpVtbl->EnumSessions(p,a,b,c,d,e) +#define IDirectPlay3_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlay3_GetGroupData(p,a,b,c,d) (p)->lpVtbl->GetGroupData(p,a,b,c,d) +#define IDirectPlay3_GetGroupName(p,a,b,c) (p)->lpVtbl->GetGroupName(p,a,b,c) +#define IDirectPlay3_GetMessageCount(p,a,b) (p)->lpVtbl->GetMessageCount(p,a,b) +#define IDirectPlay3_GetPlayerAddress(p,a,b,c) (p)->lpVtbl->GetPlayerAddress(p,a,b,c) +#define IDirectPlay3_GetPlayerCaps(p,a,b,c) (p)->lpVtbl->GetPlayerCaps(p,a,b,c) +#define IDirectPlay3_GetPlayerData(p,a,b,c,d) (p)->lpVtbl->GetPlayerData(p,a,b,c,d) +#define IDirectPlay3_GetPlayerName(p,a,b,c) (p)->lpVtbl->GetPlayerName(p,a,b,c) +#define IDirectPlay3_GetSessionDesc(p,a,b) (p)->lpVtbl->GetSessionDesc(p,a,b) +#define IDirectPlay3_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectPlay3_Open(p,a,b) (p)->lpVtbl->Open(p,a,b) +#define IDirectPlay3_Receive(p,a,b,c,d,e) (p)->lpVtbl->Receive(p,a,b,c,d,e) +#define IDirectPlay3_Send(p,a,b,c,d,e) (p)->lpVtbl->Send(p,a,b,c,d,e) +#define IDirectPlay3_SetGroupData(p,a,b,c,d) (p)->lpVtbl->SetGroupData(p,a,b,c,d) +#define IDirectPlay3_SetGroupName(p,a,b,c) (p)->lpVtbl->SetGroupName(p,a,b,c) +#define IDirectPlay3_SetPlayerData(p,a,b,c,d) (p)->lpVtbl->SetPlayerData(p,a,b,c,d) +#define IDirectPlay3_SetPlayerName(p,a,b,c) (p)->lpVtbl->SetPlayerName(p,a,b,c) +#define IDirectPlay3_SetSessionDesc(p,a,b) (p)->lpVtbl->SetSessionDesc(p,a,b) +/*** IDirectPlay3 methods ***/ +#define IDirectPlay3_AddGroupToGroup(p,a,b) (p)->lpVtbl->AddGroupToGroup(p,a,b) +#define IDirectPlay3_CreateGroupInGroup(p,a,b,c,d,e,f) (p)->lpVtbl->CreateGroupInGroup(p,a,b,c,d,e,f) +#define IDirectPlay3_DeleteGroupFromGroup(p,a,b) (p)->lpVtbl->DeleteGroupFromGroup(p,a,b) +#define IDirectPlay3_EnumConnections(p,a,b,c,d) (p)->lpVtbl->EnumConnections(p,a,b,c,d) +#define IDirectPlay3_EnumGroupsInGroup(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupsInGroup(p,a,b,c,d,e) +#define IDirectPlay3_GetGroupConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetGroupConnectionSettings(p,a,b,c,d) +#define IDirectPlay3_InitializeConnection(p,a,b) (p)->lpVtbl->InitializeConnection(p,a,b) +#define IDirectPlay3_SecureOpen(p,a,b,c,d) (p)->lpVtbl->SecureOpen(p,a,b,c,d) +#define IDirectPlay3_SendChatMessage(p,a,b,c,d) (p)->lpVtbl->SendChatMessage(p,a,b,c,d) +#define IDirectPlay3_SetGroupConnectionSettings(p,a,b,c) (p)->lpVtbl->SetGroupConnectionSettings(p,a,b,c) +#define IDirectPlay3_StartSession(p,a,b) (p)->lpVtbl->StartSession(p,a,b) +#define IDirectPlay3_GetGroupFlags(p,a,b) (p)->lpVtbl->GetGroupFlags(p,a,b) +#define IDirectPlay3_GetGroupParent(p,a,b) (p)->lpVtbl->GetGroupParent(p,a,b) +#define IDirectPlay3_GetPlayerAccount(p,a,b,c,d) (p)->lpVtbl->GetPlayerAccount(p,a,b,c,d) +#define IDirectPlay3_GetPlayerFlags(p,a,b) (p)->lpVtbl->GetPlayerFlags(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectPlay3_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay3_AddRef(p) (p)->AddRef() +#define IDirectPlay3_Release(p) (p)->Release() +/*** IDirectPlay2 methods ***/ +#define IDirectPlay3_AddPlayerToGroup(p,a,b) (p)->AddPlayerToGroup(a,b) +#define IDirectPlay3_Close(p) (p)->Close() +#define IDirectPlay3_CreateGroup(p,a,b,c,d,e) (p)->CreateGroup(a,b,c,d,e) +#define IDirectPlay3_CreatePlayer(p,a,b,c,d,e,f) (p)->CreatePlayer(a,b,c,d,e,f) +#define IDirectPlay3_DeletePlayerFromGroup(p,a,b) (p)->DeletePlayerFromGroup(a,b) +#define IDirectPlay3_DestroyGroup(p,a) (p)->DestroyGroup(a) +#define IDirectPlay3_DestroyPlayer(p,a) (p)->DestroyPlayer(a) +#define IDirectPlay3_EnumGroupPlayers(p,a,b,c,d,e) (p)->EnumGroupPlayers(a,b,c,d,e) +#define IDirectPlay3_EnumGroups(p,a,b,c,d) (p)->EnumGroups(a,b,c,d) +#define IDirectPlay3_EnumPlayers(p,a,b,c,d) (p)->EnumPlayers(a,b,c,d) +#define IDirectPlay3_EnumSessions(p,a,b,c,d,e) (p)->EnumSessions(a,b,c,d,e) +#define IDirectPlay3_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectPlay3_GetGroupData(p,a,b,c,d) (p)->GetGroupData(a,b,c,d) +#define IDirectPlay3_GetGroupName(p,a,b,c) (p)->GetGroupName(a,b,c) +#define IDirectPlay3_GetMessageCount(p,a,b) (p)->GetMessageCount(a,b) +#define IDirectPlay3_GetPlayerAddress(p,a,b,c) (p)->GetPlayerAddress(a,b,c) +#define IDirectPlay3_GetPlayerCaps(p,a,b,c) (p)->GetPlayerCaps(a,b,c) +#define IDirectPlay3_GetPlayerData(p,a,b,c,d) (p)->GetPlayerData(a,b,c,d) +#define IDirectPlay3_GetPlayerName(p,a,b,c) (p)->GetPlayerName(a,b,c) +#define IDirectPlay3_GetSessionDesc(p,a,b) (p)->GetSessionDesc(a,b) +#define IDirectPlay3_Initialize(p,a) (p)->Initialize(a) +#define IDirectPlay3_Open(p,a,b) (p)->Open(a,b) +#define IDirectPlay3_Receive(p,a,b,c,d,e) (p)->Receive(a,b,c,d,e) +#define IDirectPlay3_Send(p,a,b,c,d,e) (p)->Send(a,b,c,d,e) +#define IDirectPlay3_SetGroupData(p,a,b,c,d) (p)->SetGroupData(a,b,c,d) +#define IDirectPlay3_SetGroupName(p,a,b,c) (p)->SetGroupName(a,b,c) +#define IDirectPlay3_SetPlayerData(p,a,b,c,d) (p)->SetPlayerData(a,b,c,d) +#define IDirectPlay3_SetPlayerName(p,a,b,c) (p)->SetPlayerName(a,b,c) +#define IDirectPlay3_SetSessionDesc(p,a,b) (p)->SetSessionDesc(a,b) +/*** IDirectPlay3 methods ***/ +#define IDirectPlay3_AddGroupToGroup(p,a,b) (p)->AddGroupToGroup(a,b) +#define IDirectPlay3_CreateGroupInGroup(p,a,b,c,d,e,f) (p)->CreateGroupInGroup(a,b,c,d,e,f) +#define IDirectPlay3_DeleteGroupFromGroup(p,a,b) (p)->DeleteGroupFromGroup(a,b) +#define IDirectPlay3_EnumConnections(p,a,b,c,d) (p)->EnumConnections(a,b,c,d) +#define IDirectPlay3_EnumGroupsInGroup(p,a,b,c,d,e) (p)->EnumGroupsInGroup(a,b,c,d,e) +#define IDirectPlay3_GetGroupConnectionSettings(p,a,b,c,d) (p)->GetGroupConnectionSettings(a,b,c,d) +#define IDirectPlay3_InitializeConnection(p,a,b) (p)->InitializeConnection(a,b) +#define IDirectPlay3_SecureOpen(p,a,b,c,d) (p)->SecureOpen(a,b,c,d) +#define IDirectPlay3_SendChatMessage(p,a,b,c,d) (p)->SendChatMessage(a,b,c,d) +#define IDirectPlay3_SetGroupConnectionSettings(p,a,b,c) (p)->SetGroupConnectionSettings(a,b,c) +#define IDirectPlay3_StartSession(p,a,b) (p)->StartSession(a,b) +#define IDirectPlay3_GetGroupFlags(p,a,b) (p)->GetGroupFlags(a,b) +#define IDirectPlay3_GetGroupParent(p,a,b) (p)->GetGroupParent(a,b) +#define IDirectPlay3_GetPlayerAccount(p,a,b,c,d) (p)->GetPlayerAccount(a,b,c,d) +#define IDirectPlay3_GetPlayerFlags(p,a,b) (p)->GetPlayerFlags(a,b) +#endif + +/***************************************************************************** + * IDirectPlay4 and IDirectPlay4A interface + */ +#define INTERFACE IDirectPlay4 +DECLARE_INTERFACE_(IDirectPlay4,IDirectPlay3) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay2 methods ***/ + STDMETHOD(AddPlayerToGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(Close)(THIS) PURE; + STDMETHOD(CreateGroup)(THIS_ LPDPID lpidGroup, LPDPNAME lpGroupName, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(CreatePlayer)(THIS_ LPDPID lpidPlayer, LPDPNAME lpPlayerName, HANDLE hEvent, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(DeletePlayerFromGroup)(THIS_ DPID idGroup, DPID idPlayer) PURE; + STDMETHOD(DestroyGroup)(THIS_ DPID idGroup) PURE; + STDMETHOD(DestroyPlayer)(THIS_ DPID idPlayer) PURE; + STDMETHOD(EnumGroupPlayers)(THIS_ DPID idGroup, LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumGroups)(THIS_ LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumPlayers)(THIS_ LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumPlayersCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumSessions)(THIS_ LPDPSESSIONDESC2 lpsd, DWORD dwTimeout, LPDPENUMSESSIONSCALLBACK2 lpEnumSessionsCallback2, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ LPDPCAPS lpDPCaps, DWORD dwFlags) PURE; + STDMETHOD(GetGroupData)(THIS_ DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize, DWORD dwFlags) PURE; + STDMETHOD(GetGroupName)(THIS_ DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetMessageCount)(THIS_ DPID idPlayer, LPDWORD lpdwCount) PURE; + STDMETHOD(GetPlayerAddress)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetPlayerCaps)(THIS_ DPID idPlayer, LPDPCAPS lpPlayerCaps, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerData)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerName)(THIS_ DPID idPlayer, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetSessionDesc)(THIS_ LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(Initialize)(THIS_ LPGUID lpGUID) PURE; + STDMETHOD(Open)(THIS_ LPDPSESSIONDESC2 lpsd, DWORD dwFlags) PURE; + STDMETHOD(Receive)(THIS_ LPDPID lpidFrom, LPDPID lpidTo, DWORD dwFlags, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(Send)(THIS_ DPID idFrom, DPID idTo, DWORD dwFlags, LPVOID lpData, DWORD dwDataSize) PURE; + STDMETHOD(SetGroupData)(THIS_ DPID idGroup, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetGroupName)(THIS_ DPID idGroup, LPDPNAME lpGroupName, DWORD dwFlags) PURE; + STDMETHOD(SetPlayerData)(THIS_ DPID idPlayer, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetPlayerName)(THIS_ DPID idPlayer, LPDPNAME lpPlayerName, DWORD dwFlags) PURE; + STDMETHOD(SetSessionDesc)(THIS_ LPDPSESSIONDESC2 lpSessDesc, DWORD dwFlags) PURE; + /*** IDirectPlay3 methods ***/ + STDMETHOD(AddGroupToGroup)(THIS_ DPID idParentGroup, DPID idGroup) PURE; + STDMETHOD(CreateGroupInGroup)(THIS_ DPID idParentGroup, LPDPID lpidGroup, LPDPNAME lpGroupName, LPVOID lpData, DWORD dwDataSize, DWORD dwFlags) PURE; + STDMETHOD(DeleteGroupFromGroup)(THIS_ DPID idParentGroup, DPID idGroup) PURE; + STDMETHOD(EnumConnections)(THIS_ LPCGUID lpguidApplication, LPDPENUMCONNECTIONSCALLBACK lpEnumCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(EnumGroupsInGroup)(THIS_ DPID idGroup, LPGUID lpguidInstance, LPDPENUMPLAYERSCALLBACK2 lpEnumCallback, LPVOID lpContext, DWORD dwFlags) PURE; + STDMETHOD(GetGroupConnectionSettings)(THIS_ DWORD dwFlags, DPID idGroup, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(InitializeConnection)(THIS_ LPVOID lpConnection, DWORD dwFlags) PURE; + STDMETHOD(SecureOpen)(THIS_ LPCDPSESSIONDESC2 lpsd, DWORD dwFlags, LPCDPSECURITYDESC lpSecurity, LPCDPCREDENTIALS lpCredentials) PURE; + STDMETHOD(SendChatMessage)(THIS_ DPID idFrom, DPID idTo, DWORD dwFlags, LPDPCHAT lpChatMessage) PURE; + STDMETHOD(SetGroupConnectionSettings)(THIS_ DWORD dwFlags, DPID idGroup, LPDPLCONNECTION lpConnection) PURE; + STDMETHOD(StartSession)(THIS_ DWORD dwFlags, DPID idGroup) PURE; + STDMETHOD(GetGroupFlags)(THIS_ DPID idGroup, LPDWORD lpdwFlags) PURE; + STDMETHOD(GetGroupParent)(THIS_ DPID idGroup, LPDPID lpidParent) PURE; + STDMETHOD(GetPlayerAccount)(THIS_ DPID idPlayer, DWORD dwFlags, LPVOID lpData, LPDWORD lpdwDataSize) PURE; + STDMETHOD(GetPlayerFlags)(THIS_ DPID idPlayer, LPDWORD lpdwFlags) PURE; + /*** IDirectPlay4 methods ***/ + STDMETHOD(GetGroupOwner)(THIS_ DPID , LPDPID ) PURE; + STDMETHOD(SetGroupOwner)(THIS_ DPID , DPID ) PURE; + STDMETHOD(SendEx)(THIS_ DPID , DPID , DWORD , LPVOID , DWORD , DWORD , DWORD , LPVOID , LPDWORD ) PURE; + STDMETHOD(GetMessageQueue)(THIS_ DPID , DPID , DWORD , LPDWORD , LPDWORD ) PURE; + STDMETHOD(CancelMessage)(THIS_ DWORD , DWORD ) PURE; + STDMETHOD(CancelPriority)(THIS_ DWORD , DWORD , DWORD ) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlayX_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlayX_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlayX_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay2 methods ***/ +#define IDirectPlayX_AddPlayerToGroup(p,a,b) (p)->lpVtbl->AddPlayerToGroup(p,a,b) +#define IDirectPlayX_Close(p) (p)->lpVtbl->Close(p) +#define IDirectPlayX_CreateGroup(p,a,b,c,d,e) (p)->lpVtbl->CreateGroup(p,a,b,c,d,e) +#define IDirectPlayX_CreatePlayer(p,a,b,c,d,e,f) (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f) +#define IDirectPlayX_DeletePlayerFromGroup(p,a,b) (p)->lpVtbl->DeletePlayerFromGroup(p,a,b) +#define IDirectPlayX_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a) +#define IDirectPlayX_DestroyPlayer(p,a) (p)->lpVtbl->DestroyPlayer(p,a) +#define IDirectPlayX_EnumGroupPlayers(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e) +#define IDirectPlayX_EnumGroups(p,a,b,c,d) (p)->lpVtbl->EnumGroups(p,a,b,c,d) +#define IDirectPlayX_EnumPlayers(p,a,b,c,d) (p)->lpVtbl->EnumPlayers(p,a,b,c,d) +#define IDirectPlayX_EnumSessions(p,a,b,c,d,e) (p)->lpVtbl->EnumSessions(p,a,b,c,d,e) +#define IDirectPlayX_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlayX_GetGroupData(p,a,b,c,d) (p)->lpVtbl->GetGroupData(p,a,b,c,d) +#define IDirectPlayX_GetGroupName(p,a,b,c) (p)->lpVtbl->GetGroupName(p,a,b,c) +#define IDirectPlayX_GetMessageCount(p,a,b) (p)->lpVtbl->GetMessageCount(p,a,b) +#define IDirectPlayX_GetPlayerAddress(p,a,b,c) (p)->lpVtbl->GetPlayerAddress(p,a,b,c) +#define IDirectPlayX_GetPlayerCaps(p,a,b,c) (p)->lpVtbl->GetPlayerCaps(p,a,b,c) +#define IDirectPlayX_GetPlayerData(p,a,b,c,d) (p)->lpVtbl->GetPlayerData(p,a,b,c,d) +#define IDirectPlayX_GetPlayerName(p,a,b,c) (p)->lpVtbl->GetPlayerName(p,a,b,c) +#define IDirectPlayX_GetSessionDesc(p,a,b) (p)->lpVtbl->GetSessionDesc(p,a,b) +#define IDirectPlayX_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectPlayX_Open(p,a,b) (p)->lpVtbl->Open(p,a,b) +#define IDirectPlayX_Receive(p,a,b,c,d,e) (p)->lpVtbl->Receive(p,a,b,c,d,e) +#define IDirectPlayX_Send(p,a,b,c,d,e) (p)->lpVtbl->Send(p,a,b,c,d,e) +#define IDirectPlayX_SetGroupData(p,a,b,c,d) (p)->lpVtbl->SetGroupData(p,a,b,c,d) +#define IDirectPlayX_SetGroupName(p,a,b,c) (p)->lpVtbl->SetGroupName(p,a,b,c) +#define IDirectPlayX_SetPlayerData(p,a,b,c,d) (p)->lpVtbl->SetPlayerData(p,a,b,c,d) +#define IDirectPlayX_SetPlayerName(p,a,b,c) (p)->lpVtbl->SetPlayerName(p,a,b,c) +#define IDirectPlayX_SetSessionDesc(p,a,b) (p)->lpVtbl->SetSessionDesc(p,a,b) +/*** IDirectPlay3 methods ***/ +#define IDirectPlayX_AddGroupToGroup(p,a,b) (p)->lpVtbl->AddGroupToGroup(p,a,b) +#define IDirectPlayX_CreateGroupInGroup(p,a,b,c,d,e,f) (p)->lpVtbl->CreateGroupInGroup(p,a,b,c,d,e,f) +#define IDirectPlayX_DeleteGroupFromGroup(p,a,b) (p)->lpVtbl->DeleteGroupFromGroup(p,a,b) +#define IDirectPlayX_EnumConnections(p,a,b,c,d) (p)->lpVtbl->EnumConnections(p,a,b,c,d) +#define IDirectPlayX_EnumGroupsInGroup(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupsInGroup(p,a,b,c,d,e) +#define IDirectPlayX_GetGroupConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetGroupConnectionSettings(p,a,b,c,d) +#define IDirectPlayX_InitializeConnection(p,a,b) (p)->lpVtbl->InitializeConnection(p,a,b) +#define IDirectPlayX_SecureOpen(p,a,b,c,d) (p)->lpVtbl->SecureOpen(p,a,b,c,d) +#define IDirectPlayX_SendChatMessage(p,a,b,c,d) (p)->lpVtbl->SendChatMessage(p,a,b,c,d) +#define IDirectPlayX_SetGroupConnectionSettings(p,a,b,c) (p)->lpVtbl->SetGroupConnectionSettings(p,a,b,c) +#define IDirectPlayX_StartSession(p,a,b) (p)->lpVtbl->StartSession(p,a,b) +#define IDirectPlayX_GetGroupFlags(p,a,b) (p)->lpVtbl->GetGroupFlags(p,a,b) +#define IDirectPlayX_GetGroupParent(p,a,b) (p)->lpVtbl->GetGroupParent(p,a,b) +#define IDirectPlayX_GetPlayerAccount(p,a,b,c,d) (p)->lpVtbl->GetPlayerAccount(p,a,b,c,d) +#define IDirectPlayX_GetPlayerFlags(p,a,b) (p)->lpVtbl->GetPlayerFlags(p,a,b) +/*** IDirectPlay4 methods ***/ +#define IDirectPlayX_GetGroupOwner(p,a,b) (p)->lpVtbl->GetGroupOwner(p,a,b) +#define IDirectPlayX_SetGroupOwner(p,a,b) (p)->lpVtbl->SetGroupOwner(p,a,b) +#define IDirectPlayX_SendEx(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->SendEx(p,a,b,c,d,e,f,g,h,i) +#define IDirectPlayX_GetMessageQueue(p,a,b,c,d,e) (p)->lpVtbl->GetMessageQueue(p,a,b,c,d,e) +#define IDirectPlayX_CancelMessage(p,a,b) (p)->lpVtbl->CancelMessage(p,a,b) +#define IDirectPlayX_CancelPriority(p,a,b,c) (p)->lpVtbl->CancelPriority(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlayX_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlayX_AddRef(p) (p)->AddRef() +#define IDirectPlayX_Release(p) (p)->Release() +/*** IDirectPlay2 methods ***/ +#define IDirectPlayX_AddPlayerToGroup(p,a,b) (p)->AddPlayerToGroup(a,b) +#define IDirectPlayX_Close(p) (p)->Close() +#define IDirectPlayX_CreateGroup(p,a,b,c,d,e) (p)->CreateGroup(a,b,c,d,e) +#define IDirectPlayX_CreatePlayer(p,a,b,c,d,e,f) (p)->CreatePlayer(a,b,c,d,e,f) +#define IDirectPlayX_DeletePlayerFromGroup(p,a,b) (p)->DeletePlayerFromGroup(a,b) +#define IDirectPlayX_DestroyGroup(p,a) (p)->DestroyGroup(a) +#define IDirectPlayX_DestroyPlayer(p,a) (p)->DestroyPlayer(a) +#define IDirectPlayX_EnumGroupPlayers(p,a,b,c,d,e) (p)->EnumGroupPlayers(a,b,c,d,e) +#define IDirectPlayX_EnumGroups(p,a,b,c,d) (p)->EnumGroups(a,b,c,d) +#define IDirectPlayX_EnumPlayers(p,a,b,c,d) (p)->EnumPlayers(a,b,c,d) +#define IDirectPlayX_EnumSessions(p,a,b,c,d,e) (p)->EnumSessions(a,b,c,d,e) +#define IDirectPlayX_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectPlayX_GetGroupData(p,a,b,c,d) (p)->GetGroupData(a,b,c,d) +#define IDirectPlayX_GetGroupName(p,a,b,c) (p)->GetGroupName(a,b,c) +#define IDirectPlayX_GetMessageCount(p,a,b) (p)->GetMessageCount(a,b) +#define IDirectPlayX_GetPlayerAddress(p,a,b,c) (p)->GetPlayerAddress(a,b,c) +#define IDirectPlayX_GetPlayerCaps(p,a,b,c) (p)->GetPlayerCaps(a,b,c) +#define IDirectPlayX_GetPlayerData(p,a,b,c,d) (p)->GetPlayerData(a,b,c,d) +#define IDirectPlayX_GetPlayerName(p,a,b,c) (p)->GetPlayerName(a,b,c) +#define IDirectPlayX_GetSessionDesc(p,a,b) (p)->GetSessionDesc(a,b) +#define IDirectPlayX_Initialize(p,a) (p)->Initialize(a) +#define IDirectPlayX_Open(p,a,b) (p)->Open(a,b) +#define IDirectPlayX_Receive(p,a,b,c,d,e) (p)->Receive(a,b,c,d,e) +#define IDirectPlayX_Send(p,a,b,c,d,e) (p)->Send(a,b,c,d,e) +#define IDirectPlayX_SetGroupData(p,a,b,c,d) (p)->SetGroupData(a,b,c,d) +#define IDirectPlayX_SetGroupName(p,a,b,c) (p)->SetGroupName(a,b,c) +#define IDirectPlayX_SetPlayerData(p,a,b,c,d) (p)->SetPlayerData(a,b,c,d) +#define IDirectPlayX_SetPlayerName(p,a,b,c) (p)->SetPlayerName(a,b,c) +#define IDirectPlayX_SetSessionDesc(p,a,b) (p)->SetSessionDesc(a,b) +/*** IDirectPlay3 methods ***/ +#define IDirectPlayX_AddGroupToGroup(p,a,b) (p)->AddGroupToGroup(a,b) +#define IDirectPlayX_CreateGroupInGroup(p,a,b,c,d,e,f) (p)->CreateGroupInGroup(a,b,c,d,e,f) +#define IDirectPlayX_DeleteGroupFromGroup(p,a,b) (p)->DeleteGroupFromGroup(a,b) +#define IDirectPlayX_EnumConnections(p,a,b,c,d) (p)->EnumConnections(a,b,c,d) +#define IDirectPlayX_EnumGroupsInGroup(p,a,b,c,d,e) (p)->EnumGroupsInGroup(a,b,c,d,e) +#define IDirectPlayX_GetGroupConnectionSettings(p,a,b,c,d) (p)->GetGroupConnectionSettings(a,b,c,d) +#define IDirectPlayX_InitializeConnection(p,a,b) (p)->InitializeConnection(a,b) +#define IDirectPlayX_SecureOpen(p,a,b,c,d) (p)->SecureOpen(a,b,c,d) +#define IDirectPlayX_SendChatMessage(p,a,b,c,d) (p)->SendChatMessage(a,b,c,d) +#define IDirectPlayX_SetGroupConnectionSettings(p,a,b,c) (p)->SetGroupConnectionSettings(a,b,c) +#define IDirectPlayX_StartSession(p,a,b) (p)->StartSession(a,b) +#define IDirectPlayX_GetGroupFlags(p,a,b) (p)->GetGroupFlags(a,b) +#define IDirectPlayX_GetGroupParent(p,a,b) (p)->GetGroupParent(a,b) +#define IDirectPlayX_GetPlayerAccount(p,a,b,c,d) (p)->GetPlayerAccount(a,b,c,d) +#define IDirectPlayX_GetPlayerFlags(p,a,b) (p)->GetPlayerFlags(a,b) +/*** IDirectPlay4 methods ***/ +#define IDirectPlayX_GetGroupOwner(p,a,b) (p)->GetGroupOwner(a,b) +#define IDirectPlayX_SetGroupOwner(p,a,b) (p)->SetGroupOwner(a,b) +#define IDirectPlayX_SendEx(p,a,b,c,d,e,f,g,h,i) (p)->SendEx(a,b,c,d,e,f,g,h,i) +#define IDirectPlayX_GetMessageQueue(p,a,b,c,d,e) (p)->GetMessageQueue(a,b,c,d,e) +#define IDirectPlayX_CancelMessage(p,a,b) (p)->CancelMessage(a,b) +#define IDirectPlayX_CancelPriority(p,a,b,c) (p)->CancelPriority(a,b,c) +#endif + + +/* For DirectPlay::EnumConnections */ +#define DPCONNECTION_DIRECTPLAY 0x00000001 +#define DPCONNECTION_DIRECTPLAYLOBBY 0x00000002 + +/* For DirectPlay::EnumPlayers and DirectPlay::EnumGroups */ +#define DPENUMPLAYERS_ALL 0x00000000 +#define DPENUMPLAYERS_LOCAL 0x00000008 +#define DPENUMPLAYERS_REMOTE 0x00000010 +#define DPENUMPLAYERS_GROUP 0x00000020 +#define DPENUMPLAYERS_SESSION 0x00000080 +#define DPENUMPLAYERS_SERVERPLAYER 0x00000100 +#define DPENUMPLAYERS_SPECTATOR 0x00000200 +#define DPENUMPLAYERS_OWNER 0x00002000 + +#define DPENUMGROUPS_ALL DPENUMPLAYERS_ALL +#define DPENUMGROUPS_LOCAL DPENUMPLAYERS_LOCAL +#define DPENUMGROUPS_REMOTE DPENUMPLAYERS_REMOTE +#define DPENUMGROUPS_SESSION DPENUMPLAYERS_SESSION +#define DPENUMGROUPS_SHORTCUT 0x00000400 +#define DPENUMGROUPS_STAGINGAREA 0x00000800 +#define DPENUMGROUPS_HIDDEN 0x00001000 + + +/* For DirectPlay::CreatePlayer */ +#define DPPLAYER_SERVERPLAYER DPENUMPLAYERS_SERVERPLAYER +#define DPPLAYER_SPECTATOR DPENUMPLAYERS_SPECTATOR +#define DPPLAYER_LOCAL DPENUMPLAYERS_LOCAL +#define DPPLAYER_OWNER DPENUMPLAYERS_OWNER + +/* For DirectPlay::CreateGroup */ +#define DPGROUP_STAGINGAREA DPENUMGROUPS_STAGINGAREA +#define DPGROUP_LOCAL DPENUMGROUPS_LOCAL +#define DPGROUP_HIDDEN DPENUMGROUPS_HIDDEN + +/* For DirectPlay::EnumSessions */ +#define DPENUMSESSIONS_AVAILABLE 0x00000001 +#define DPENUMSESSIONS_ALL 0x00000002 +#define DPENUMSESSIONS_ASYNC 0x00000010 +#define DPENUMSESSIONS_STOPASYNC 0x00000020 +#define DPENUMSESSIONS_PASSWORDREQUIRED 0x00000040 +#define DPENUMSESSIONS_RETURNSTATUS 0x00000080 + +/* For DirectPlay::GetCaps and DirectPlay::GetPlayerCaps */ +#define DPGETCAPS_GUARANTEED 0x00000001 + +/* For DirectPlay::GetGroupData and DirectPlay::GetPlayerData */ +#define DPGET_REMOTE 0x00000000 +#define DPGET_LOCAL 0x00000001 + +/* For DirectPlay::Receive */ +#define DPRECEIVE_ALL 0x00000001 +#define DPRECEIVE_TOPLAYER 0x00000002 +#define DPRECEIVE_FROMPLAYER 0x00000004 +#define DPRECEIVE_PEEK 0x00000008 + +/* For DirectPlay::Send */ +#define DPSEND_NONGUARANTEED 0x00000000 +#define DPSEND_GUARANTEED 0x00000001 +#define DPSEND_HIGHPRIORITY 0x00000002 +#define DPSEND_OPENSTREAM 0x00000008 +#define DPSEND_CLOSESTREAM 0x00000010 +#define DPSEND_SIGNED 0x00000020 +#define DPSEND_ENCRYPTED 0x00000040 +#define DPSEND_LOBBYSYSTEMMESSAGE 0x00000080 +#define DPSEND_ASYNC 0x00000200 +#define DPSEND_NOSENDCOMPLETEMSG 0x00000400 + +#define DPSEND_MAX_PRI 0x0000FFFF +#define DPSEND_MAX_PRIORITY DPSEND_MAX_PRI + + +/* For DirectPlay::SetGroupData, DirectPlay::SetGroupName, + * DirectPlay::SetPlayerData, DirectPlay::SetPlayerName and + * DirectPlay::SetSessionDesc. + */ +#define DPSET_REMOTE 0x00000000 +#define DPSET_LOCAL 0x00000001 +#define DPSET_GUARANTEED 0x00000002 + +/* For DirectPlay::GetMessageQueue */ +#define DPMESSAGEQUEUE_SEND 0x00000001 +#define DPMESSAGEQUEUE_RECEIVE 0x00000002 + +/* DirectPlay::Connect */ +#define DPCONNECT_RETURNSTATUS (DPENUMSESSIONS_RETURNSTATUS) + +/* DirectPlay::GetCaps and DirectPlay::GetPlayerCaps */ +#define DPCAPS_ISHOST 0x00000002 +#define DPCAPS_GROUPOPTIMIZED 0x00000008 +#define DPCAPS_KEEPALIVEOPTIMIZED 0x00000010 +#define DPCAPS_GUARANTEEDOPTIMIZED 0x00000020 +#define DPCAPS_GUARANTEEDSUPPORTED 0x00000040 +#define DPCAPS_SIGNINGSUPPORTED 0x00000080 +#define DPCAPS_ENCRYPTIONSUPPORTED 0x00000100 +#define DPPLAYERCAPS_LOCAL 0x00000800 +#define DPCAPS_ASYNCCANCELSUPPORTED 0x00001000 +#define DPCAPS_ASYNCCANCELALLSUPPORTED 0x00002000 +#define DPCAPS_SENDTIMEOUTSUPPORTED 0x00004000 +#define DPCAPS_SENDPRIORITYSUPPORTED 0x00008000 +#define DPCAPS_ASYNCSUPPORTED 0x00010000 + +/** DirectPlay system messages **/ + +/* A new player or group has been created in the session */ +#define DPSYS_CREATEPLAYERORGROUP 0x0003 + +/* A player or group has been deleted from the session */ +#define DPSYS_DESTROYPLAYERORGROUP 0x0005 + +/* A player has been added to a group */ +#define DPSYS_ADDPLAYERTOGROUP 0x0007 + +/* A player has been deleted from a group */ +#define DPSYS_DELETEPLAYERFROMGROUP 0x0021 + +/* Session lost for this object - ie lost contact with all players */ +#define DPSYS_SESSIONLOST 0x0031 + +/* The current host has left the session */ +#define DPSYS_HOST 0x0101 + +/* Player or group data has changed */ +#define DPSYS_SETPLAYERORGROUPDATA 0x0102 + +/* The name of a player or group has changed */ +#define DPSYS_SETPLAYERORGROUPNAME 0x0103 + +/* The session description has changed */ +#define DPSYS_SETSESSIONDESC 0x0104 + +/* A group has been added to a group */ +#define DPSYS_ADDGROUPTOGROUP 0x0105 + +/* A group has been deleted from a group */ +#define DPSYS_DELETEGROUPFROMGROUP 0x0106 + +/* A secure player to player message has arrived */ +#define DPSYS_SECUREMESSAGE 0x0107 + +/* Start a new session */ +#define DPSYS_STARTSESSION 0x0108 + +/* A chat message has arrived */ +#define DPSYS_CHAT 0x0109 + +/* The owner of a group has changed */ +#define DPSYS_SETGROUPOWNER 0x010A + +/* An async send is done (finished normally, failed or cancelled) */ +#define DPSYS_SENDCOMPLETE 0x010d + +/** DirectPlay System Messages **/ + +#define DPPLAYERTYPE_GROUP 0x00000000 +#define DPPLAYERTYPE_PLAYER 0x00000001 + + +/* NOTE: DPMSG_HOST and DPMSG_GENERIC share the same format */ +typedef struct tagDPMSG_GENERIC +{ + DWORD dwType; /* Use message type as described above */ +} DPMSG_GENERIC, *LPDPMSG_GENERIC, + DPMSG_HOST, *LPDPMSG_HOST, + DPMSG_SESSIONLOST, *LPDPMSG_SESSIONLOST; + +typedef struct tagDPMSG_CREATEPLAYERORGROUP +{ + DWORD dwType; /* Use message type as described above */ + DWORD dwPlayerType; /* Use DPPLAYERTYPE_GROUP or DPPLAYERTYPE_PLAYER */ + DPID dpId; /* ID of the player/group */ + DWORD dwCurrentPlayers; /* Current number of players/groups in session */ + LPVOID lpData; /* Pointer to data */ + DWORD dwDataSize; /* Size of data */ + DPNAME dpnName; /* Name info */ + + /* dpIdParent and dwFlags are only valid in DirectPlay3 and later. What + * does that mean about the message size before? -PH */ + DPID dpIdParent; /* id of parent group */ + DWORD dwFlags; /* Flags for the player/group */ +} DPMSG_CREATEPLAYERORGROUP, *LPDPMSG_CREATEPLAYERORGROUP; + +typedef struct tagDPMSG_DESTROYPLAYERORGROUP +{ + DWORD dwType; /* Use message type as described above */ + DWORD dwPlayerType; /* Use DPPLAYERTYPE_GROUP or DPPLAYERTYPE_PLAYER */ + DPID dpId; /* ID of player/group to be deleted */ + LPVOID lpLocalData; /* Pointer to local data */ + DWORD dwLocalDataSize; /* Sizeof local data */ + LPVOID lpRemoteData; /* Pointer to remote data */ + DWORD dwRemoteDataSize; /* Sizeof remote data */ + + /* dpnName, dpIdParent and dwFlags are only valid in DirectPlay3 and later. What + * does that mean about the message size before? -PH */ + DPNAME dpnName; /* Name info */ + DPID dpIdParent; /* id of parent group */ + DWORD dwFlags; /* Flags for the player/group */ +} DPMSG_DESTROYPLAYERORGROUP, *LPDPMSG_DESTROYPLAYERORGROUP; + +/* NOTE: DPMSG_ADDPLAYERTOGROUP and DPMSG_DELETEPLAYERFROMGROUP are the same */ +typedef struct tagDPMSG_ADDPLAYERTOGROUP +{ + DWORD dwType; /* Use message type as described above */ + DPID dpIdGroup; /* Group ID to add player into */ + DPID dpIdPlayer; /* ID of player to add */ +} DPMSG_ADDPLAYERTOGROUP, *LPDPMSG_ADDPLAYERTOGROUP, + DPMSG_DELETEPLAYERFROMGROUP, *LPDPMSG_DELETEPLAYERFROMGROUP; + +/* NOTE: DPMSG_ADDGROUPTOGROUP and DPMSG_DELETEGROUPFROMGROUP are the same */ +typedef struct tagDPMSG_ADDGROUPTOGROUP +{ + DWORD dwType; /* Use message type as described above */ + DPID dpIdParentGroup; /* Group ID to add group into */ + DPID dpIdGroup; /* ID of group to add */ +} DPMSG_ADDGROUPTOGROUP, *LPDPMSG_ADDGROUPTOGROUP, + DPMSG_DELETEGROUPFROMGROUP, *LPDPMSG_DELETEGROUPFROMGROUP; + +typedef struct tagDPMSG_SETPLAYERORGROUPDATA +{ + DWORD dwType; /* Use message type as described above */ + DWORD dwPlayerType; /* Use DPPLAYERTYPE_GROUP or DPPLAYERTYPE_PLAYER */ + DPID dpId; /* ID of player/group */ + LPVOID lpData; /* Pointer to data */ + DWORD dwDataSize; /* Size of data */ +} DPMSG_SETPLAYERORGROUPDATA, *LPDPMSG_SETPLAYERORGROUPDATA; + +typedef struct tagDPMSG_SETPLAYERORGROUPNAME +{ + DWORD dwType; /* Use message type as described above */ + DWORD dwPlayerType; /* Use DPPLAYERTYPE_GROUP or DPPLAYERTYPE_PLAYER */ + DPID dpId; /* ID of player/group */ + DPNAME dpnName; /* New name */ +} DPMSG_SETPLAYERORGROUPNAME, *LPDPMSG_SETPLAYERORGROUPNAME; + +typedef struct tagDPMSG_SETSESSIONDESC +{ + DWORD dwType; /* Use message type as described above */ + DPSESSIONDESC2 dpDesc; /* New session desc */ +} DPMSG_SETSESSIONDESC, *LPDPMSG_SETSESSIONDESC; + +typedef struct tagDPMSG_SECUREMESSAGE +{ + DWORD dwType; /* Use message type as described above */ + DWORD dwFlags; /* Signed/Encrypted */ + DPID dpIdFrom; /* ID of from player */ + LPVOID lpData; /* Message sent */ + DWORD dwDataSize; /* Size of message */ +} DPMSG_SECUREMESSAGE, *LPDPMSG_SECUREMESSAGE; + +typedef struct tagDPMSG_STARTSESSION +{ + DWORD dwType; /* Use message type as described above */ + LPDPLCONNECTION lpConn; /* DPLCONNECTION structure */ +} DPMSG_STARTSESSION, *LPDPMSG_STARTSESSION; + +typedef struct tagDPMSG_CHAT +{ + DWORD dwType; /* Use message type as described above */ + DWORD dwFlags; /* Message flags */ + DPID idFromPlayer; /* ID of sender */ + DPID idToPlayer; /* ID of who msg is for */ + DPID idToGroup; /* ID of what group msg is for */ + LPDPCHAT lpChat; /* Chat message */ +} DPMSG_CHAT, *LPDPMSG_CHAT; + +typedef struct tagDPMSG_SETGROUPOWNER +{ + DWORD dwType; /* Use message type as described above */ + DPID idGroup; /* Group ID */ + DPID idNewOwner; /* ID of player who now owns group */ + DPID idOldOwner; /* ID of player who used to own group */ +} DPMSG_SETGROUPOWNER, *LPDPMSG_SETGROUPOWNER; + +typedef struct +{ + DWORD dwType; /* Use message type as described above */ + DPID idFrom; /* ID from */ + DPID idTo; /* ID to */ + DWORD dwFlags; + DWORD dwPriority; + DWORD dwTimeout; + LPVOID lpvContext; + DWORD dwMsgID; + HRESULT hr; + DWORD dwSendTime; /* When sent ? */ +} DPMSG_SENDCOMPLETE, *LPDPMSG_SENDCOMPLETE; + + + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DPLAY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplay8.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplay8.h new file mode 100644 index 0000000..13bdfb0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplay8.h @@ -0,0 +1,1001 @@ +/* + * Copyright (C) 2003-2005 Raphael Junqueira + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DPLAY8_H +#define __WINE_DPLAY8_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + + +typedef HRESULT (WINAPI *PFNDPNMESSAGEHANDLER)(PVOID, DWORD, PVOID); +typedef DWORD DPNID, *PDPNID; +typedef DWORD DPNHANDLE, *PDPNHANDLE; + +/***************************************************************************** + * DirectPlay8 Message Id + */ +#define DPN_MSGID_OFFSET 0xFFFF0000 +#define DPN_MSGID_ADD_PLAYER_TO_GROUP (DPN_MSGID_OFFSET | 0x0001) +#define DPN_MSGID_APPLICATION_DESC (DPN_MSGID_OFFSET | 0x0002) +#define DPN_MSGID_ASYNC_OP_COMPLETE (DPN_MSGID_OFFSET | 0x0003) +#define DPN_MSGID_CLIENT_INFO (DPN_MSGID_OFFSET | 0x0004) +#define DPN_MSGID_CONNECT_COMPLETE (DPN_MSGID_OFFSET | 0x0005) +#define DPN_MSGID_CREATE_GROUP (DPN_MSGID_OFFSET | 0x0006) +#define DPN_MSGID_CREATE_PLAYER (DPN_MSGID_OFFSET | 0x0007) +#define DPN_MSGID_DESTROY_GROUP (DPN_MSGID_OFFSET | 0x0008) +#define DPN_MSGID_DESTROY_PLAYER (DPN_MSGID_OFFSET | 0x0009) +#define DPN_MSGID_ENUM_HOSTS_QUERY (DPN_MSGID_OFFSET | 0x000A) +#define DPN_MSGID_ENUM_HOSTS_RESPONSE (DPN_MSGID_OFFSET | 0x000B) +#define DPN_MSGID_GROUP_INFO (DPN_MSGID_OFFSET | 0x000C) +#define DPN_MSGID_HOST_MIGRATE (DPN_MSGID_OFFSET | 0x000D) +#define DPN_MSGID_INDICATE_CONNECT (DPN_MSGID_OFFSET | 0x000E) +#define DPN_MSGID_INDICATED_CONNECT_ABORTED (DPN_MSGID_OFFSET | 0x000F) +#define DPN_MSGID_PEER_INFO (DPN_MSGID_OFFSET | 0x0010) +#define DPN_MSGID_RECEIVE (DPN_MSGID_OFFSET | 0x0011) +#define DPN_MSGID_REMOVE_PLAYER_FROM_GROUP (DPN_MSGID_OFFSET | 0x0012) +#define DPN_MSGID_RETURN_BUFFER (DPN_MSGID_OFFSET | 0x0013) +#define DPN_MSGID_SEND_COMPLETE (DPN_MSGID_OFFSET | 0x0014) +#define DPN_MSGID_SERVER_INFO (DPN_MSGID_OFFSET | 0x0015) +#define DPN_MSGID_TERMINATE_SESSION (DPN_MSGID_OFFSET | 0x0016) +#define DPN_MSGID_CREATE_THREAD (DPN_MSGID_OFFSET | 0x0017) +#define DPN_MSGID_DESTROY_THREAD (DPN_MSGID_OFFSET | 0x0018) +#define DPN_MSGID_NAT_RESOLVER_QUERY (DPN_MSGID_OFFSET | 0x0101) + +/***************************************************************************** + * DirectPlay8 Errors + */ +#define _DPN_FACILITY_CODE 0x015 +#define _DPNHRESULT_BASE 0x8000 +#define MAKE_DPNHRESULT(code) MAKE_HRESULT(1, _DPN_FACILITY_CODE, (code + _DPNHRESULT_BASE)) + +#define DPNSUCCESS_EQUAL MAKE_HRESULT(0, _DPN_FACILITY_CODE, (0x05 + _DPNHRESULT_BASE)) +#define DPNSUCCESS_NOTEQUAL MAKE_HRESULT(0, _DPN_FACILITY_CODE, (0x0A + _DPNHRESULT_BASE)) +#define DPNSUCCESS_PENDING MAKE_HRESULT(0, _DPN_FACILITY_CODE, (0x0E + _DPNHRESULT_BASE)) + +#define DPN_OK S_OK +#define DPNERR_GENERIC E_FAIL +#define DPNERR_INVALIDPARAM E_INVALIDARG +#define DPNERR_UNSUPPORTED E_NOTIMPL +#define DPNERR_NOINTERFACE E_NOINTERFACE +#define DPNERR_OUTOFMEMORY E_OUTOFMEMORY +#define DPNERR_INVALIDPOINTER E_POINTER +#define DPNERR_PENDING DPNSUCCESS_PENDING +#define DPNERR_ABORTED MAKE_DPNHRESULT(0x030) +#define DPNERR_ADDRESSING MAKE_DPNHRESULT(0x040) +#define DPNERR_ALREADYCLOSING MAKE_DPNHRESULT(0x050) +#define DPNERR_ALREADYCONNECTED MAKE_DPNHRESULT(0x060) +#define DPNERR_ALREADYDISCONNECTING MAKE_DPNHRESULT(0x070) +#define DPNERR_ALREADYINITIALIZED MAKE_DPNHRESULT(0x080) +#define DPNERR_ALREADYREGISTERED MAKE_DPNHRESULT(0x090) +#define DPNERR_BUFFERTOOSMALL MAKE_DPNHRESULT(0x100) +#define DPNERR_CANNOTCANCEL MAKE_DPNHRESULT(0x110) +#define DPNERR_CANTCREATEGROUP MAKE_DPNHRESULT(0x120) +#define DPNERR_CANTCREATEPLAYER MAKE_DPNHRESULT(0x130) +#define DPNERR_CANTLAUNCHAPPLICATION MAKE_DPNHRESULT(0x140) +#define DPNERR_CONNECTING MAKE_DPNHRESULT(0x150) +#define DPNERR_CONNECTIONLOST MAKE_DPNHRESULT(0x160) +#define DPNERR_CONVERSION MAKE_DPNHRESULT(0x170) +#define DPNERR_DATATOOLARGE MAKE_DPNHRESULT(0x175) +#define DPNERR_DOESNOTEXIST MAKE_DPNHRESULT(0x180) +#define DPNERR_DPNSVRNOTAVAILABLE MAKE_DPNHRESULT(0x185) +#define DPNERR_DUPLICATECOMMAND MAKE_DPNHRESULT(0x190) +#define DPNERR_ENDPOINTNOTRECEIVING MAKE_DPNHRESULT(0x200) +#define DPNERR_ENUMQUERYTOOLARGE MAKE_DPNHRESULT(0x210) +#define DPNERR_ENUMRESPONSETOOLARGE MAKE_DPNHRESULT(0x220) +#define DPNERR_EXCEPTION MAKE_DPNHRESULT(0x230) +#define DPNERR_GROUPNOTEMPTY MAKE_DPNHRESULT(0x240) +#define DPNERR_HOSTING MAKE_DPNHRESULT(0x250) +#define DPNERR_HOSTREJECTEDCONNECTION MAKE_DPNHRESULT(0x260) +#define DPNERR_HOSTTERMINATEDSESSION MAKE_DPNHRESULT(0x270) +#define DPNERR_INCOMPLETEADDRESS MAKE_DPNHRESULT(0x280) +#define DPNERR_INVALIDADDRESSFORMAT MAKE_DPNHRESULT(0x290) +#define DPNERR_INVALIDAPPLICATION MAKE_DPNHRESULT(0x300) +#define DPNERR_INVALIDCOMMAND MAKE_DPNHRESULT(0x310) +#define DPNERR_INVALIDDEVICEADDRESS MAKE_DPNHRESULT(0x320) +#define DPNERR_INVALIDENDPOINT MAKE_DPNHRESULT(0x330) +#define DPNERR_INVALIDFLAGS MAKE_DPNHRESULT(0x340) +#define DPNERR_INVALIDGROUP MAKE_DPNHRESULT(0x350) +#define DPNERR_INVALIDHANDLE MAKE_DPNHRESULT(0x360) +#define DPNERR_INVALIDHOSTADDRESS MAKE_DPNHRESULT(0x370) +#define DPNERR_INVALIDINSTANCE MAKE_DPNHRESULT(0x380) +#define DPNERR_INVALIDINTERFACE MAKE_DPNHRESULT(0x390) +#define DPNERR_INVALIDOBJECT MAKE_DPNHRESULT(0x400) +#define DPNERR_INVALIDPASSWORD MAKE_DPNHRESULT(0x410) +#define DPNERR_INVALIDPLAYER MAKE_DPNHRESULT(0x420) +#define DPNERR_INVALIDPRIORITY MAKE_DPNHRESULT(0x430) +#define DPNERR_INVALIDSTRING MAKE_DPNHRESULT(0x440) +#define DPNERR_INVALIDURL MAKE_DPNHRESULT(0x450) +#define DPNERR_INVALIDVERSION MAKE_DPNHRESULT(0x460) +#define DPNERR_NOCAPS MAKE_DPNHRESULT(0x470) +#define DPNERR_NOCONNECTION MAKE_DPNHRESULT(0x480) +#define DPNERR_NOHOSTPLAYER MAKE_DPNHRESULT(0x490) +#define DPNERR_NOMOREADDRESSCOMPONENTS MAKE_DPNHRESULT(0x500) +#define DPNERR_NORESPONSE MAKE_DPNHRESULT(0x510) +#define DPNERR_NOTALLOWED MAKE_DPNHRESULT(0x520) +#define DPNERR_NOTHOST MAKE_DPNHRESULT(0x530) +#define DPNERR_NOTREADY MAKE_DPNHRESULT(0x540) +#define DPNERR_NOTREGISTERED MAKE_DPNHRESULT(0x550) +#define DPNERR_PLAYERALREADYINGROUP MAKE_DPNHRESULT(0x560) +#define DPNERR_PLAYERLOST MAKE_DPNHRESULT(0x570) +#define DPNERR_PLAYERNOTINGROUP MAKE_DPNHRESULT(0x580) +#define DPNERR_PLAYERNOTREACHABLE MAKE_DPNHRESULT(0x590) +#define DPNERR_SENDTOOLARGE MAKE_DPNHRESULT(0x600) +#define DPNERR_SESSIONFULL MAKE_DPNHRESULT(0x610) +#define DPNERR_TABLEFULL MAKE_DPNHRESULT(0x620) +#define DPNERR_TIMEDOUT MAKE_DPNHRESULT(0x630) +#define DPNERR_UNINITIALIZED MAKE_DPNHRESULT(0x640) +#define DPNERR_USERCANCEL MAKE_DPNHRESULT(0x650) + +/***************************************************************************** + * DirectPlay8 defines + */ +#define DPNID_ALL_PLAYERS_GROUP 0 +#define DPNDESTROYGROUPREASON_NORMAL 0x0001 +#define DPNDESTROYGROUPREASON_AUTODESTRUCTED 0x0002 +#define DPNDESTROYGROUPREASON_SESSIONTERMINATED 0x0003 +#define DPNDESTROYPLAYERREASON_NORMAL 0x0001 +#define DPNDESTROYPLAYERREASON_CONNECTIONLOST 0x0002 +#define DPNDESTROYPLAYERREASON_SESSIONTERMINATED 0x0003 +#define DPNDESTROYPLAYERREASON_HOSTDESTROYEDPLAYER 0x0004 +#define DPN_MAX_APPDESC_RESERVEDDATA_SIZE 64 + +#define DPNOP_SYNC 0x80000000 +#define DPNADDPLAYERTOGROUP_SYNC DPNOP_SYNC +#define DPNCANCEL_CONNECT 0x0001 +#define DPNCANCEL_ENUM 0x0002 +#define DPNCANCEL_SEND 0x0004 +#define DPNCANCEL_ALL_OPERATIONS 0x8000 +#define DPNCANCEL_PLAYER_SENDS 0x80000000 +#define DPNCANCEL_PLAYER_SENDS_PRIORITY_HIGH (DPNCANCEL_PLAYER_SENDS | 0x00010000) +#define DPNCANCEL_PLAYER_SENDS_PRIORITY_NORMAL (DPNCANCEL_PLAYER_SENDS | 0x00020000) +#define DPNCANCEL_PLAYER_SENDS_PRIORITY_LOW (DPNCANCEL_PLAYER_SENDS | 0x00040000) +#define DPNCLOSE_IMMEDIATE 0x00000001 +#define DPNCONNECT_SYNC DPNOP_SYNC +#define DPNCONNECT_OKTOQUERYFORADDRESSING 0x0001 +#define DPNCREATEGROUP_SYNC DPNOP_SYNC +#define DPNDESTROYGROUP_SYNC DPNOP_SYNC +#define DPNENUM_PLAYERS 0x0001 +#define DPNENUM_GROUPS 0x0010 +#define DPNENUMHOSTS_SYNC DPNOP_SYNC +#define DPNENUMHOSTS_OKTOQUERYFORADDRESSING 0x0001 +#define DPNENUMHOSTS_NOBROADCASTFALLBACK 0x0002 +#define DPNENUMSERVICEPROVIDERS_ALL 0x0001 +#define DPNGETLOCALHOSTADDRESSES_COMBINED 0x0001 +#define DPNGETSENDQUEUEINFO_PRIORITY_NORMAL 0x0001 +#define DPNGETSENDQUEUEINFO_PRIORITY_HIGH 0x0002 +#define DPNGETSENDQUEUEINFO_PRIORITY_LOW 0x0004 +#define DPNGROUP_AUTODESTRUCT 0x0001 +#define DPNHOST_OKTOQUERYFORADDRESSING 0x0001 +#define DPNINFO_NAME 0x0001 +#define DPNINFO_DATA 0x0002 +#define DPNINITIALIZE_DISABLEPARAMVAL 0x0001 +#define DPNINITIALIZE_HINT_LANSESSION 0x0002 +#define DPNINITIALIZE_DISABLELINKTUNING 0x0004 +#define DPNLOBBY_REGISTER 0x0001 +#define DPNLOBBY_UNREGISTER 0x0002 +#define DPNPLAYER_LOCAL 0x0002 +#define DPNPLAYER_HOST 0x0004 +#define DPNRECEIVE_GUARANTEED 0x0001 +#define DPNRECEIVE_COALESCED 0x0002 +#define DPNREMOVEPLAYERFROMGROUP_SYNC DPNOP_SYNC +#define DPNSEND_SYNC DPNOP_SYNC +#define DPNSEND_NOCOPY 0x0001 +#define DPNSEND_NOCOMPLETE 0x0002 +#define DPNSEND_COMPLETEONPROCESS 0x0004 +#define DPNSEND_GUARANTEED 0x0008 +#define DPNSEND_NONSEQUENTIAL 0x0010 +#define DPNSEND_NOLOOPBACK 0x0020 +#define DPNSEND_PRIORITY_LOW 0x0040 +#define DPNSEND_PRIORITY_HIGH 0x0080 +#define DPNSEND_COALESCE 0x0100 +#define DPNSENDCOMPLETE_GUARANTEED 0x0001 +#define DPNSENDCOMPLETE_COALESCED 0x0002 +#define DPNSESSION_CLIENT_SERVER 0x0001 +#define DPNSESSION_MIGRATE_HOST 0x0004 +#define DPNSESSION_NODPNSVR 0x0040 +#define DPNSESSION_REQUIREPASSWORD 0x0080 +#define DPNSESSION_NOENUMS 0x0100 +#define DPNSESSION_FAST_SIGNED 0x0200 +#define DPNSESSION_FULL_SIGNED 0x0400 +#define DPNSETCLIENTINFO_SYNC DPNOP_SYNC +#define DPNSETGROUPINFO_SYNC DPNOP_SYNC +#define DPNSETPEERINFO_SYNC DPNOP_SYNC +#define DPNSETSERVERINFO_SYNC DPNOP_SYNC +#define DPNSPCAPS_SUPPORTSDPNSRV 0x0001 +#define DPNSPCAPS_SUPPORTSBROADCAST 0x0002 +#define DPNSPCAPS_SUPPORTSALLADAPTERS 0x0004 +#define DPNSPCAPS_SUPPORTSTHREADPOOL 0x0008 +#define DPNSPCAPS_NETWORKSIMULATOR 0x0010 +#define DPNSPINFO_NETWORKSIMULATORDEVICE 0x0001 + + +/***************************************************************************** + * DirectPlay8 structures Typedefs + */ +typedef struct _DPN_APPLICATION_DESC { + DWORD dwSize; + DWORD dwFlags; + GUID guidInstance; + GUID guidApplication; + DWORD dwMaxPlayers; + DWORD dwCurrentPlayers; + WCHAR* pwszSessionName; + WCHAR* pwszPassword; + PVOID pvReservedData; + DWORD dwReservedDataSize; + PVOID pvApplicationReservedData; + DWORD dwApplicationReservedDataSize; +} DPN_APPLICATION_DESC, *PDPN_APPLICATION_DESC; + +typedef struct _BUFFERDESC { + DWORD dwBufferSize; + BYTE* pBufferData; +} BUFFERDESC, DPN_BUFFER_DESC, *PDPN_BUFFER_DESC, *PBUFFERDESC; + +typedef struct _DPN_CAPS { + DWORD dwSize; + DWORD dwFlags; + DWORD dwConnectTimeout; + DWORD dwConnectRetries; + DWORD dwTimeoutUntilKeepAlive; +} DPN_CAPS, *PDPN_CAPS; + +typedef struct _DPN_CAPS_EX { + DWORD dwSize; + DWORD dwFlags; + DWORD dwConnectTimeout; + DWORD dwConnectRetries; + DWORD dwTimeoutUntilKeepAlive; + DWORD dwMaxRecvMsgSize; + DWORD dwNumSendRetries; + DWORD dwMaxSendRetryInterval; + DWORD dwDropThresholdRate; + DWORD dwThrottleRate; + DWORD dwNumHardDisconnectSends; + DWORD dwMaxHardDisconnectPeriod; +} DPN_CAPS_EX, *PDPN_CAPS_EX; + +typedef struct _DPN_CONNECTION_INFO { + DWORD dwSize; + DWORD dwRoundTripLatencyMS; + DWORD dwThroughputBPS; + DWORD dwPeakThroughputBPS; + DWORD dwBytesSentGuaranteed; + DWORD dwPacketsSentGuaranteed; + DWORD dwBytesSentNonGuaranteed; + DWORD dwPacketsSentNonGuaranteed; + DWORD dwBytesRetried; + DWORD dwPacketsRetried; + DWORD dwBytesDropped; + DWORD dwPacketsDropped; + DWORD dwMessagesTransmittedHighPriority; + DWORD dwMessagesTimedOutHighPriority; + DWORD dwMessagesTransmittedNormalPriority; + DWORD dwMessagesTimedOutNormalPriority; + DWORD dwMessagesTransmittedLowPriority; + DWORD dwMessagesTimedOutLowPriority; + DWORD dwBytesReceivedGuaranteed; + DWORD dwPacketsReceivedGuaranteed; + DWORD dwBytesReceivedNonGuaranteed; + DWORD dwPacketsReceivedNonGuaranteed; + DWORD dwMessagesReceived; +} DPN_CONNECTION_INFO, *PDPN_CONNECTION_INFO; + +typedef struct _DPN_GROUP_INFO { + DWORD dwSize; + DWORD dwInfoFlags; + PWSTR pwszName; + PVOID pvData; + DWORD dwDataSize; + DWORD dwGroupFlags; +} DPN_GROUP_INFO, *PDPN_GROUP_INFO; + +typedef struct _DPN_PLAYER_INFO { + DWORD dwSize; + DWORD dwInfoFlags; + PWSTR pwszName; + PVOID pvData; + DWORD dwDataSize; + DWORD dwPlayerFlags; +} DPN_PLAYER_INFO, *PDPN_PLAYER_INFO; + +typedef struct _DPN_SERVICE_PROVIDER_INFO { + DWORD dwFlags; + GUID guid; + WCHAR* pwszName; + PVOID pvReserved; + DWORD dwReserved; +} DPN_SERVICE_PROVIDER_INFO, *PDPN_SERVICE_PROVIDER_INFO; + +typedef struct _DPN_SP_CAPS { + DWORD dwSize; + DWORD dwFlags; + DWORD dwNumThreads; + DWORD dwDefaultEnumCount; + DWORD dwDefaultEnumRetryInterval; + DWORD dwDefaultEnumTimeout; + DWORD dwMaxEnumPayloadSize; + DWORD dwBuffersPerThread; + DWORD dwSystemBufferSize; +} DPN_SP_CAPS, *PDPN_SP_CAPS; + +typedef struct _DPN_SECURITY_CREDENTIALS DPN_SECURITY_CREDENTIALS, *PDPN_SECURITY_CREDENTIALS; +typedef struct _DPN_SECURITY_DESC DPN_SECURITY_DESC, *PDPN_SECURITY_DESC; + +typedef struct _DPNMSG_ADD_PLAYER_TO_GROUP { + DWORD dwSize; + DPNID dpnidGroup; + PVOID pvGroupContext; + DPNID dpnidPlayer; + PVOID pvPlayerContext; +} DPNMSG_ADD_PLAYER_TO_GROUP, *PDPNMSG_ADD_PLAYER_TO_GROUP; + +typedef struct _DPNMSG_ASYNC_OP_COMPLETE { + DWORD dwSize; + DPNHANDLE hAsyncOp; + PVOID pvUserContext; + HRESULT hResultCode; +} DPNMSG_ASYNC_OP_COMPLETE, *PDPNMSG_ASYNC_OP_COMPLETE; + +typedef struct _DPNMSG_CLIENT_INFO { + DWORD dwSize; + DPNID dpnidClient; + PVOID pvPlayerContext; +} DPNMSG_CLIENT_INFO, *PDPNMSG_CLIENT_INFO; + +typedef struct _DPNMSG_CONNECT_COMPLETE { + DWORD dwSize; + DPNHANDLE hAsyncOp; + PVOID pvUserContext; + HRESULT hResultCode; + PVOID pvApplicationReplyData; + DWORD dwApplicationReplyDataSize; + /** DirectX 9 */ + DPNID dpnidLocal; +} DPNMSG_CONNECT_COMPLETE, *PDPNMSG_CONNECT_COMPLETE; + +typedef struct _DPNMSG_CREATE_GROUP { + DWORD dwSize; + DPNID dpnidGroup; + DPNID dpnidOwner; + PVOID pvGroupContext; + /** DirectX 9 */ + PVOID pvOwnerContext; +} DPNMSG_CREATE_GROUP, *PDPNMSG_CREATE_GROUP; + +typedef struct _DPNMSG_CREATE_PLAYER { + DWORD dwSize; + DPNID dpnidPlayer; + PVOID pvPlayerContext; +} DPNMSG_CREATE_PLAYER, *PDPNMSG_CREATE_PLAYER; + +typedef struct _DPNMSG_DESTROY_GROUP { + DWORD dwSize; + DPNID dpnidGroup; + PVOID pvGroupContext; + DWORD dwReason; +} DPNMSG_DESTROY_GROUP, *PDPNMSG_DESTROY_GROUP; + +typedef struct _DPNMSG_DESTROY_PLAYER { + DWORD dwSize; + DPNID dpnidPlayer; + PVOID pvPlayerContext; + DWORD dwReason; +} DPNMSG_DESTROY_PLAYER, *PDPNMSG_DESTROY_PLAYER; + +typedef struct _DPNMSG_ENUM_HOSTS_QUERY { + DWORD dwSize; + IDirectPlay8Address* pAddressSender; + IDirectPlay8Address* pAddressDevice; + PVOID pvReceivedData; + DWORD dwReceivedDataSize; + DWORD dwMaxResponseDataSize; + PVOID pvResponseData; + DWORD dwResponseDataSize; + PVOID pvResponseContext; +} DPNMSG_ENUM_HOSTS_QUERY, *PDPNMSG_ENUM_HOSTS_QUERY; + +typedef struct _DPNMSG_ENUM_HOSTS_RESPONSE { + DWORD dwSize; + IDirectPlay8Address* pAddressSender; + IDirectPlay8Address* pAddressDevice; + const DPN_APPLICATION_DESC* pApplicationDescription; + PVOID pvResponseData; + DWORD dwResponseDataSize; + PVOID pvUserContext; + DWORD dwRoundTripLatencyMS; +} DPNMSG_ENUM_HOSTS_RESPONSE, *PDPNMSG_ENUM_HOSTS_RESPONSE; + +typedef struct _DPNMSG_GROUP_INFO { + DWORD dwSize; + DPNID dpnidGroup; + PVOID pvGroupContext; +} DPNMSG_GROUP_INFO, *PDPNMSG_GROUP_INFO; + +typedef struct _DPNMSG_HOST_MIGRATE { + DWORD dwSize; + DPNID dpnidNewHost; + PVOID pvPlayerContext; +} DPNMSG_HOST_MIGRATE, *PDPNMSG_HOST_MIGRATE; + +typedef struct _DPNMSG_INDICATE_CONNECT { + DWORD dwSize; + PVOID pvUserConnectData; + DWORD dwUserConnectDataSize; + PVOID pvReplyData; + DWORD dwReplyDataSize; + PVOID pvReplyContext; + PVOID pvPlayerContext; + IDirectPlay8Address* pAddressPlayer; + IDirectPlay8Address* pAddressDevice; +} DPNMSG_INDICATE_CONNECT, *PDPNMSG_INDICATE_CONNECT; + +typedef struct _DPNMSG_INDICATED_CONNECT_ABORTED { + DWORD dwSize; + PVOID pvPlayerContext; +} DPNMSG_INDICATED_CONNECT_ABORTED, *PDPNMSG_INDICATED_CONNECT_ABORTED; + +typedef struct _DPNMSG_PEER_INFO { + DWORD dwSize; + DPNID dpnidPeer; + PVOID pvPlayerContext; +} DPNMSG_PEER_INFO, *PDPNMSG_PEER_INFO; + +typedef struct _DPNMSG_RECEIVE { + DWORD dwSize; + DPNID dpnidSender; + PVOID pvPlayerContext; + PBYTE pReceiveData; + DWORD dwReceiveDataSize; + DPNHANDLE hBufferHandle; + /** DirectX 9 */ + DWORD dwReceiveFlags; +} DPNMSG_RECEIVE, *PDPNMSG_RECEIVE; + +typedef struct _DPNMSG_REMOVE_PLAYER_FROM_GROUP { + DWORD dwSize; + DPNID dpnidGroup; + PVOID pvGroupContext; + DPNID dpnidPlayer; + PVOID pvPlayerContext; +} DPNMSG_REMOVE_PLAYER_FROM_GROUP, *PDPNMSG_REMOVE_PLAYER_FROM_GROUP; + +typedef struct _DPNMSG_RETURN_BUFFER { + DWORD dwSize; + HRESULT hResultCode; + PVOID pvBuffer; + PVOID pvUserContext; +} DPNMSG_RETURN_BUFFER, *PDPNMSG_RETURN_BUFFER; + +typedef struct _DPNMSG_SEND_COMPLETE { + DWORD dwSize; + DPNHANDLE hAsyncOp; + PVOID pvUserContext; + HRESULT hResultCode; + DWORD dwSendTime; + /** DirectX 9 */ + DWORD dwFirstFrameRTT; + DWORD dwFirstFrameRetryCount; + DWORD dwSendCompleteFlags; + DPN_BUFFER_DESC* pBuffers; + DWORD dwNumBuffers; +} DPNMSG_SEND_COMPLETE, *PDPNMSG_SEND_COMPLETE; + +typedef struct _DPNMSG_SERVER_INFO { + DWORD dwSize; + DPNID dpnidServer; + PVOID pvPlayerContext; +} DPNMSG_SERVER_INFO, *PDPNMSG_SERVER_INFO; + +typedef struct _DPNMSG_TERMINATE_SESSION { + DWORD dwSize; + HRESULT hResultCode; + PVOID pvTerminateData; + DWORD dwTerminateDataSize; +} DPNMSG_TERMINATE_SESSION, *PDPNMSG_TERMINATE_SESSION; + +typedef struct _DPNMSG_CREATE_THREAD { + DWORD dwSize; + DWORD dwFlags; + DWORD dwProcessorNum; + PVOID pvUserContext; +} DPNMSG_CREATE_THREAD, *PDPNMSG_CREATE_THREAD; + +typedef struct _DPNMSG_DESTROY_THREAD { + DWORD dwSize; + DWORD dwProcessorNum; + PVOID pvUserContext; +} DPNMSG_DESTROY_THREAD, *PDPNMSG_DESTROY_THREAD; + +typedef struct _DPNMSG_NAT_RESOLVER_QUERY { + DWORD dwSize; + IDirectPlay8Address* pAddressSender; + IDirectPlay8Address* pAddressDevice; + WCHAR* pwszUserString; +} DPNMSG_NAT_RESOLVER_QUERY, *PDPNMSG_NAT_RESOLVER_QUERY; + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectPlay8Peer, 0x286f484d,0x375e,0x4458,0xa2,0x72,0xb1,0x38,0xe2,0xf8,0x0a,0x6a); +DEFINE_GUID(CLSID_DirectPlay8Client, 0x743f1dc6,0x5aba,0x429f,0x8b,0xdf,0xc5,0x4d,0x03,0x25,0x3d,0xc2); +DEFINE_GUID(CLSID_DirectPlay8Server, 0xda825e1b,0x6830,0x43d7,0x83,0x5d,0x0b,0x5a,0xd8,0x29,0x56,0xa2); +/** DirectX 9 */ +DEFINE_GUID(CLSID_DirectPlay8ThreadPool, 0xfc47060e,0x6153,0x4b34,0xb9,0x75,0x8e,0x41,0x21,0xeb,0x7f,0x3c); +DEFINE_GUID(CLSID_DirectPlay8NATResolver, 0xe4c1d9a2,0xcbf7,0x48bd,0x9a,0x69,0x34,0xa5,0x5e,0x0d,0x89,0x41); + +DEFINE_GUID(IID_IDirectPlay8Peer, 0x5102dacf,0x241b,0x11d3,0xae,0xa7,0x0,0x60,0x97,0xb0,0x14,0x11); +typedef struct IDirectPlay8Peer *PDIRECTPLAY8PEER; +DEFINE_GUID(IID_IDirectPlay8Client, 0x5102dacd,0x241b,0x11d3,0xae,0xa7,0x0,0x60,0x97,0xb0,0x14,0x11); +typedef struct IDirectPlay8Client *PDIRECTPLAY8CLIENT; +DEFINE_GUID(IID_IDirectPlay8Server, 0x5102dace,0x241b,0x11d3,0xae,0xa7,0x0,0x60,0x97,0xb0,0x14,0x11); +typedef struct IDirectPlay8Server *PDIRECTPLAY8SERVER; +/** DirectX 9 */ +DEFINE_GUID(IID_IDirectPlay8ThreadPool, 0x0d22ee73,0x4a46,0x4a0d,0x89,0xb2,0x04,0x5b,0x4d,0x66,0x64,0x25); +typedef struct IDirectPlay8ThreadPool *PDIRECTPLAY8THREADPOOL; +DEFINE_GUID(IID_IDirectPlay8NATResolver, 0xa9e213f2,0x9a60,0x486f,0xbf,0x3b,0x53,0x40,0x8b,0x6d,0x1c,0xbb); +typedef struct IDirectPlay8NATResolver *PDIRECTPLAY8NATRESOLVER; + +DEFINE_GUID(CLSID_DP8SP_IPX, 0x53934290,0x628d,0x11d2,0xae,0x0f,0x0,0x60,0x97,0xb0,0x14,0x11); +DEFINE_GUID(CLSID_DP8SP_TCPIP, 0xebfe7ba0,0x628d,0x11d2,0xae,0x0f,0x0,0x60,0x97,0xb0,0x14,0x11); +DEFINE_GUID(CLSID_DP8SP_SERIAL, 0x743b5d60,0x628d,0x11d2,0xae,0x0f,0x0,0x60,0x97,0xb0,0x14,0x11); +DEFINE_GUID(CLSID_DP8SP_MODEM, 0x6d4a3650,0x628d,0x11d2,0xae,0x0f,0x0,0x60,0x97,0xb0,0x14,0x11); +/** DirectX 9 */ +DEFINE_GUID(CLSID_DP8SP_BLUETOOTH, 0x995513af,0x3027,0x4b9a,0x95,0x6e,0xc7,0x72,0xb3,0xf7,0x80,0x06); + +typedef struct IDirectPlay8LobbiedApplication *PIDirectPlay8LobbiedApplication, DNLOBBIEDAPPLICATION; + + +/***************************************************************************** + * IDirectPlay8Client interface + */ +#define INTERFACE IDirectPlay8Client +DECLARE_INTERFACE_(IDirectPlay8Client,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8Client methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DWORD dwFlags) PURE; + STDMETHOD(EnumServiceProviders)(THIS_ const GUID *pguidServiceProvider, const GUID *pguidApplication, DPN_SERVICE_PROVIDER_INFO *pSPInfoBuffer, PDWORD pcbEnumData, PDWORD pcReturned, DWORD dwFlags) PURE; + STDMETHOD(EnumHosts)(THIS_ PDPN_APPLICATION_DESC pApplicationDesc,IDirectPlay8Address *pAddrHost,IDirectPlay8Address *pDeviceInfo, PVOID pUserEnumData, DWORD dwUserEnumDataSize, DWORD dwEnumCount, DWORD dwRetryInterval, DWORD dwTimeOut, PVOID pvUserContext, DPNHANDLE *pAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(CancelAsyncOperation)(THIS_ DPNHANDLE hAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(Connect)(THIS_ const DPN_APPLICATION_DESC *pdnAppDesc,IDirectPlay8Address *pHostAddr,IDirectPlay8Address *pDeviceInfo, const DPN_SECURITY_DESC *pdnSecurity, const DPN_SECURITY_CREDENTIALS *pdnCredentials, const void *pvUserConnectData, DWORD dwUserConnectDataSize,void *pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(Send)(THIS_ const DPN_BUFFER_DESC *prgBufferDesc, DWORD cBufferDesc, DWORD dwTimeOut, void *pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetSendQueueInfo)(THIS_ DWORD *pdwNumMsgs, DWORD *pdwNumBytes, DWORD dwFlags) PURE; + STDMETHOD(GetApplicationDesc)(THIS_ DPN_APPLICATION_DESC *pAppDescBuffer, DWORD *pcbDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetClientInfo)(THIS_ const DPN_PLAYER_INFO *pdpnPlayerInfo, PVOID pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetServerInfo)(THIS_ DPN_PLAYER_INFO *pdpnPlayerInfo, DWORD *pdwSize, DWORD dwFlags) PURE; + STDMETHOD(GetServerAddress)(THIS_ IDirectPlay8Address ** pAddress, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(ReturnBuffer)(THIS_ DPNHANDLE hBufferHandle, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DPN_CAPS *pdpCaps, DWORD dwFlags) PURE; + STDMETHOD(SetCaps)(THIS_ const DPN_CAPS *pdpCaps, DWORD dwFlags) PURE; + STDMETHOD(SetSPCaps)(THIS_ const GUID *pguidSP, const DPN_SP_CAPS *pdpspCaps, DWORD dwFlags ) PURE; + STDMETHOD(GetSPCaps)(THIS_ const GUID *pguidSP, DPN_SP_CAPS *pdpspCaps, DWORD dwFlags) PURE; + STDMETHOD(GetConnectionInfo)(THIS_ DPN_CONNECTION_INFO *pdpConnectionInfo, DWORD dwFlags) PURE; + STDMETHOD(RegisterLobby)(THIS_ DPNHANDLE dpnHandle, struct IDirectPlay8LobbiedApplication *pIDP8LobbiedApplication, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8Client_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8Client_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8Client_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8Client methods ***/ +#define IDirectPlay8Client_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectPlay8Client_EnumServiceProviders(p,a,b,c,d,e,f) (p)->lpVtbl->EnumServiceProviders(p,a,b,c,d,e,f) +#define IDirectPlay8Client_EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) (p)->lpVtbl->EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Client_CancelAsyncOperation(p,a,b) (p)->lpVtbl->CancelAsyncOperation(p,a,b) +#define IDirectPlay8Client_Connect(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Connect(p,a,b,c,d,e,f,g,h,i,j) +#define IDirectPlay8Client_Send(p,a,b,c,d,e,f) (p)->lpVtbl->Send(p,a,b,c,d,e,f) +#define IDirectPlay8Client_GetSendQueueInfo(p,a,b,c) (p)->lpVtbl->GetSendQueueInfo(p,a,b,c) +#define IDirectPlay8Client_GetApplicationDesc(p,a,b,c) (p)->lpVtbl->GetApplicationDesc(p,a,b,c) +#define IDirectPlay8Client_SetClientInfo(p,a,b,c,d) (p)->lpVtbl->SetClientInfo(p,a,b,c,d) +#define IDirectPlay8Client_GetServerInfo(p,a,b,c) (p)->lpVtbl->GetServerInfo(p,a,b,c) +#define IDirectPlay8Client_GetServerAddress(p,a,b) (p)->lpVtbl->GetServerAddress(p,a,b) +#define IDirectPlay8Client_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8Client_ReturnBuffer(p,a,b) (p)->lpVtbl->ReturnBuffer(p,a,b) +#define IDirectPlay8Client_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlay8Client_SetCaps(p,a,b) (p)->lpVtbl->SetCaps(p,a,b) +#define IDirectPlay8Client_SetSPCaps(p,a,b,c) (p)->lpVtbl->SetSPCaps(p,a,b,c) +#define IDirectPlay8Client_GetSPCaps(p,a,b,c) (p)->lpVtbl->GetSPCaps(p,a,b,c) +#define IDirectPlay8Client_GetConnectionInfo(p,a,b) (p)->lpVtbl->GetConnectionInfo(p,a,b) +#define IDirectPlay8Client_RegisterLobby(p,a,b,c) (p)->lpVtbl->RegisterLobby(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8Client_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8Client_AddRef(p) (p)->AddRef() +#define IDirectPlay8Client_Release(p) (p)->Release() +/*** IDirectPlay8Client methods ***/ +#define IDirectPlay8Client_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectPlay8Client_EnumServiceProviders(p,a,b,c,d,e,f) (p)->EnumServiceProviders(a,b,c,d,e,f) +#define IDirectPlay8Client_EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) (p)->EnumHosts(a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Client_CancelAsyncOperation(p,a,b) (p)->CancelAsyncOperation(a,b) +#define IDirectPlay8Client_Connect(p,a,b,c,d,e,f,g,h,i,j) (p)->Connect(a,b,c,d,e,f,g,h,i,j) +#define IDirectPlay8Client_Send(p,a,b,c,d,e,f) (p)->Send(a,b,c,d,e,f) +#define IDirectPlay8Client_GetSendQueueInfo(p,a,b,c) (p)->GetSendQueueInfo(a,b,c) +#define IDirectPlay8Client_GetApplicationDesc(p,a,b,c) (p)->GetApplicationDesc(a,b,c) +#define IDirectPlay8Client_SetClientInfo(p,a,b,c,d) (p)->SetClientInfo(a,b,c,d) +#define IDirectPlay8Client_GetServerInfo(p,a,b,c) (p)->GetServerInfo(a,b,c) +#define IDirectPlay8Client_GetServerAddress(p,a,b) (p)->GetServerAddress(a,b) +#define IDirectPlay8Client_Close(p,a) (p)->Close(a) +#define IDirectPlay8Client_ReturnBuffer(p,a,b) (p)->ReturnBuffer(a,b) +#define IDirectPlay8Client_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectPlay8Client_SetCaps(p,a,b) (p)->SetCaps(a,b) +#define IDirectPlay8Client_SetSPCaps(p,a,b,c) (p)->SetSPCaps(a,b,c) +#define IDirectPlay8Client_GetSPCaps(p,a,b,c) (p)->GetSPCaps(a,b,c) +#define IDirectPlay8Client_GetConnectionInfo(p,a,b) (p)->GetConnectionInfo(a,b) +#define IDirectPlay8Client_RegisterLobby(p,a,b,c) (p)->RegisterLobby(a,b,c) +#endif + +/***************************************************************************** + * IDirectPlay8Server interface + */ +#define INTERFACE IDirectPlay8Server +DECLARE_INTERFACE_(IDirectPlay8Server,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8Server methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DWORD dwFlags) PURE; + STDMETHOD(EnumServiceProviders)(THIS_ const GUID *pguidServiceProvider, const GUID *pguidApplication, DPN_SERVICE_PROVIDER_INFO *pSPInfoBuffer, PDWORD pcbEnumData, PDWORD pcReturned, DWORD dwFlags) PURE; + STDMETHOD(CancelAsyncOperation)(THIS_ DPNHANDLE hAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetSendQueueInfo)(THIS_ DPNID dpnid, DWORD *pdwNumMsgs, DWORD *pdwNumBytes, DWORD dwFlags) PURE; + STDMETHOD(GetApplicationDesc)(THIS_ DPN_APPLICATION_DESC *pAppDescBuffer, DWORD *pcbDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetServerInfo)(THIS_ const DPN_PLAYER_INFO *pdpnPlayerInfo, PVOID pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetClientInfo)(THIS_ DPNID dpnid, DPN_PLAYER_INFO *pdpnPlayerInfo, DWORD *pdwSize, DWORD dwFlags) PURE; + STDMETHOD(GetClientAddress)(THIS_ DPNID dpnid, IDirectPlay8Address ** pAddress, DWORD dwFlags) PURE; + STDMETHOD(GetLocalHostAddresses)(THIS_ IDirectPlay8Address ** prgpAddress, DWORD *pcAddress, DWORD dwFlags) PURE; + STDMETHOD(SetApplicationDesc)(THIS_ const DPN_APPLICATION_DESC *pad, DWORD dwFlags) PURE; + STDMETHOD(Host)(THIS_ const DPN_APPLICATION_DESC *pdnAppDesc, IDirectPlay8Address ** prgpDeviceInfo, DWORD cDeviceInfo, const DPN_SECURITY_DESC *pdnSecurity, const DPN_SECURITY_CREDENTIALS *pdnCredentials, void *pvPlayerContext, DWORD dwFlags) PURE; + STDMETHOD(SendTo)(THIS_ DPNID dpnid, const DPN_BUFFER_DESC *prgBufferDesc, DWORD cBufferDesc, DWORD dwTimeOut, void *pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(CreateGroup)(THIS_ const DPN_GROUP_INFO *pdpnGroupInfo, void *pvGroupContext, void *pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(DestroyGroup)(THIS_ DPNID idGroup, PVOID pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(AddPlayerToGroup)(THIS_ DPNID idGroup, DPNID idClient, PVOID pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(RemovePlayerFromGroup)(THIS_ DPNID idGroup, DPNID idClient, PVOID pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(SetGroupInfo)(THIS_ DPNID dpnid, DPN_GROUP_INFO *pdpnGroupInfo, PVOID pvAsyncContext, DPNHANDLE *phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetGroupInfo)(THIS_ DPNID dpnid, DPN_GROUP_INFO *pdpnGroupInfo, DWORD *pdwSize, DWORD dwFlags) PURE; + STDMETHOD(EnumPlayersAndGroups)(THIS_ DPNID *prgdpnid, DWORD *pcdpnid, DWORD dwFlags) PURE; + STDMETHOD(EnumGroupMembers)(THIS_ DPNID dpnid, DPNID *prgdpnid, DWORD *pcdpnid, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(DestroyClient)(THIS_ DPNID dpnidClient, const void *pvDestroyData, DWORD dwDestroyDataSize, DWORD dwFlags) PURE; + STDMETHOD(ReturnBuffer)(THIS_ DPNHANDLE hBufferHandle, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerContext)(THIS_ DPNID dpnid, PVOID *ppvPlayerContext, DWORD dwFlags) PURE; + STDMETHOD(GetGroupContext)(THIS_ DPNID dpnid, PVOID *ppvGroupContext, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DPN_CAPS *pdpCaps, DWORD dwFlags) PURE; + STDMETHOD(SetCaps)(THIS_ const DPN_CAPS *pdpCaps, DWORD dwFlags) PURE; + STDMETHOD(SetSPCaps)(THIS_ const GUID *pguidSP, const DPN_SP_CAPS *pdpspCaps, DWORD dwFlags ) PURE; + STDMETHOD(GetSPCaps)(THIS_ const GUID *pguidSP, DPN_SP_CAPS *pdpspCaps, DWORD dwFlags) PURE; + STDMETHOD(GetConnectionInfo)(THIS_ DPNID dpnid, DPN_CONNECTION_INFO *pdpConnectionInfo, DWORD dwFlags) PURE; + STDMETHOD(RegisterLobby)(THIS_ DPNHANDLE dpnHandle, struct IDirectPlay8LobbiedApplication *pIDP8LobbiedApplication, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8Server_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8Server_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8Server_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8Server methods ***/ +#define IDirectPlay8Server_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectPlay8Server_EnumServiceProviders(p,a,b,c,d,e,f) (p)->lpVtbl->EnumServiceProviders(p,a,b,c,d,e,f) +#define IDirectPlay8Server_CancelAsyncOperation(p,a,b) (p)->lpVtbl->CancelAsyncOperation(p,a,b) +#define IDirectPlay8Server_GetSendQueueInfo(p,a,b,c,d) (p)->lpVtbl->GetSendQueueInfo(p,a,b,c,d) +#define IDirectPlay8Server_GetApplicationDesc(p,a,b,c) (p)->lpVtbl->GetApplicationDesc(p,a,b,c) +#define IDirectPlay8Server_SetServerInfo(p,a,b,c,d) (p)->lpVtbl->SetServerInfo(p,a,b,c,d) +#define IDirectPlay8Server_GetClientInfo(p,a,b,c,d) (p)->lpVtbl->GetClientInfo(p,a,b,c,d) +#define IDirectPlay8Server_GetClientAddress(p,a,b,c) (p)->lpVtbl->GetClientAddress(p,a,b,c) +#define IDirectPlay8Server_GetLocalHostAddresses(p,a,b,c) (p)->lpVtbl->GetLocalHostAddresses(p,a,b,c) +#define IDirectPlay8Server_SetApplicationDesc(p,a,b) (p)->lpVtbl->SetApplicationDesc(p,a,b) +#define IDirectPlay8Server_Host(p,a,b,c,d,e,f,g) (p)->lpVtbl->Host(p,a,b,c,d,e,f,g) +#define IDirectPlay8Server_SendTo(p,a,b,c,d,e,f,g) (p)->lpVtbl->SendTo(p,a,b,c,d,e,f,g) +#define IDirectPlay8Server_CreateGroup(p,a,b,c,d,e) (p)->lpVtbl->CreateGroup(p,a,b,c,d,e) +#define IDirectPlay8Server_DestroyGroup(p,a,b,c,d) (p)->lpVtbl->DestroyGroup(p,a,b,c,d) +#define IDirectPlay8Server_AddPlayerToGroup(p,a,b,c,d,e) (p)->lpVtbl->AddPlayerToGroup(p,a,b,c,d,e) +#define IDirectPlay8Server_RemovePlayerFromGroup(p,a,b,c,d,e) (p)->lpVtbl->RemovePlayerFromGroup(p,a,b,c,d,e) +#define IDirectPlay8Server_SetGroupInfo(p,a,b,c,d,e) (p)->lpVtbl->SetGroupInfo(p,a,b,c,d,e) +#define IDirectPlay8Server_GetGroupInfo(p,a,b,c,d) (p)->lpVtbl->GetGroupInfo(p,a,b,c,d) +#define IDirectPlay8Server_EnumPlayersAndGroups(p,a,b,c) (p)->lpVtbl->EnumPlayersAndGroups(p,a,b,c) +#define IDirectPlay8Server_EnumGroupMembers(p,a,b,c,d) (p)->lpVtbl->EnumGroupMembers(p,a,b,c,d) +#define IDirectPlay8Server_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8Server_DestroyClient(p,a,b,c,d) (p)->lpVtbl->DestroyClient(p,a,b,c,d) +#define IDirectPlay8Server_ReturnBuffer(p,a,b) (p)->lpVtbl->ReturnBuffer(p,a,b) +#define IDirectPlay8Server_GetPlayerContext(p,a,b,c) (p)->lpVtbl->GetPlayerContext(p,a,b,c) +#define IDirectPlay8Server_GetGroupContext(p,a,b,c) (p)->lpVtbl->GetGroupContext(p,a,b,c) +#define IDirectPlay8Server_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlay8Server_SetCaps(p,a,b) (p)->lpVtbl->SetCaps(p,a,b) +#define IDirectPlay8Server_SetSPCaps(p,a,b,c) (p)->lpVtbl->SetSPCaps(p,a,b,c) +#define IDirectPlay8Server_GetSPCaps(p,a,b,c) (p)->lpVtbl->GetSPCaps(p,a,b,c) +#define IDirectPlay8Server_GetConnectionInfo(p,a,b,c) (p)->lpVtbl->GetConnectionInfo(p,a,b,c) +#define IDirectPlay8Server_RegisterLobby(p,a,b,c) (p)->lpVtbl->RegisterLobby(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8Server_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8Server_AddRef(p) (p)->AddRef() +#define IDirectPlay8Server_Release(p) (p)->Release() +/*** IDirectPlay8Server methods ***/ +#define IDirectPlay8Server_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectPlay8Server_EnumServiceProviders(p,a,b,c,d,e,f) (p)->EnumServiceProviders(a,b,c,d,e,f) +#define IDirectPlay8Server_CancelAsyncOperation(p,a,b) (p)->CancelAsyncOperation(a,b) +#define IDirectPlay8Server_GetSendQueueInfo(p,a,b,c,d) (p)->GetSendQueueInfo(a,b,c,d) +#define IDirectPlay8Server_GetApplicationDesc(p,a,b,c) (p)->GetApplicationDesc(a,b,c) +#define IDirectPlay8Server_SetServerInfo(p,a,b,c,d) (p)->SetServerInfo(a,b,c,d) +#define IDirectPlay8Server_GetClientInfo(p,a,b,c,d) (p)->GetClientInfo(a,b,c,d) +#define IDirectPlay8Server_GetClientAddress(p,a,b,c) (p)->GetClientAddress(a,b,c) +#define IDirectPlay8Server_GetLocalHostAddresses(p,a,b,c) (p)->GetLocalHostAddresses(a,b,c) +#define IDirectPlay8Server_SetApplicationDesc(p,a,b) (p)->SetApplicationDesc(a,b) +#define IDirectPlay8Server_Host(p,a,b,c,d,e,f,g) (p)->Host(a,b,c,d,e,f,g) +#define IDirectPlay8Server_SendTo(p,a,b,c,d,e,f,g) (p)->SendTo(a,b,c,d,e,f,g) +#define IDirectPlay8Server_CreateGroup(p,a,b,c,d,e) (p)->CreateGroup(a,b,c,d,e) +#define IDirectPlay8Server_DestroyGroup(p,a,b,c,d) (p)->DestroyGroup(a,b,c,d) +#define IDirectPlay8Server_AddPlayerToGroup(p,a,b,c,d,e) (p)->AddPlayerToGroup(a,b,c,d,e) +#define IDirectPlay8Server_RemovePlayerFromGroup(p,a,b,c,d,e) (p)->RemovePlayerFromGroup(a,b,c,d,e) +#define IDirectPlay8Server_SetGroupInfo(p,a,b,c,d,e) (p)->SetGroupInfo(a,b,c,d,e) +#define IDirectPlay8Server_GetGroupInfo(p,a,b,c,d) (p)->GetGroupInfo(a,b,c,d) +#define IDirectPlay8Server_EnumPlayersAndGroups(p,a,b,c) (p)->EnumPlayersAndGroups(a,b,c) +#define IDirectPlay8Server_EnumGroupMembers(p,a,b,c,d) (p)->EnumGroupMembers(a,b,c,d) +#define IDirectPlay8Server_Close(p,a) (p)->Close(a) +#define IDirectPlay8Server_DestroyClient(p,a,b,c,d) (p)->DestroyClient(a,b,c,d) +#define IDirectPlay8Server_ReturnBuffer(p,a,b) (p)->ReturnBuffer(a,b) +#define IDirectPlay8Server_GetPlayerContext(p,a,b,c) (p)->GetPlayerContext(a,b,c) +#define IDirectPlay8Server_GetGroupContext(p,a,b,c) (p)->GetGroupContext(a,b,c) +#define IDirectPlay8Server_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectPlay8Server_SetCaps(p,a,b) (p)->SetCaps(a,b) +#define IDirectPlay8Server_SetSPCaps(p,a,b,c) (p)->SetSPCaps(a,b,c) +#define IDirectPlay8Server_GetSPCaps(p,a,b,c) (p)->GetSPCaps(a,b,c) +#define IDirectPlay8Server_GetConnectionInfo(p,a,b,c) (p)->GetConnectionInfo(a,b,c) +#define IDirectPlay8Server_RegisterLobby(p,a,b,c) (p)->RegisterLobby(a,b,c) +#endif + +/***************************************************************************** + * IDirectPlay8Peer interface + */ +#define INTERFACE IDirectPlay8Peer +DECLARE_INTERFACE_(IDirectPlay8Peer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8Peer methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DWORD dwFlags) PURE; + STDMETHOD(EnumServiceProviders)(THIS_ const GUID* pguidServiceProvider, const GUID* pguidApplication, DPN_SERVICE_PROVIDER_INFO* pSPInfoBuffer, DWORD* pcbEnumData, DWORD* pcReturned, DWORD dwFlags) PURE; + STDMETHOD(CancelAsyncOperation)(THIS_ DPNHANDLE hAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(Connect)(THIS_ const DPN_APPLICATION_DESC* pdnAppDesc, IDirectPlay8Address* pHostAddr, IDirectPlay8Address* pDeviceInfo, const DPN_SECURITY_DESC* pdnSecurity, const DPN_SECURITY_CREDENTIALS* pdnCredentials, const void* pvUserConnectData, DWORD dwUserConnectDataSize, void* pvPlayerContext, void* pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(SendTo)(THIS_ DPNID dpnid, const DPN_BUFFER_DESC* prgBufferDesc, DWORD cBufferDesc, DWORD dwTimeOut, void* pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetSendQueueInfo)(THIS_ DPNID dpnid, DWORD* pdwNumMsgs, DWORD* pdwNumBytes, DWORD dwFlags) PURE; + STDMETHOD(Host)(THIS_ const DPN_APPLICATION_DESC* pdnAppDesc, IDirectPlay8Address **prgpDeviceInfo, DWORD cDeviceInfo, const DPN_SECURITY_DESC* pdnSecurity, const DPN_SECURITY_CREDENTIALS* pdnCredentials, void* pvPlayerContext, DWORD dwFlags) PURE; + STDMETHOD(GetApplicationDesc)(THIS_ DPN_APPLICATION_DESC* pAppDescBuffer, DWORD* pcbDataSize, DWORD dwFlags) PURE; + STDMETHOD(SetApplicationDesc)(THIS_ const DPN_APPLICATION_DESC* pad, DWORD dwFlags) PURE; + STDMETHOD(CreateGroup)(THIS_ const DPN_GROUP_INFO* pdpnGroupInfo, void* pvGroupContext, void* pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(DestroyGroup)(THIS_ DPNID idGroup, PVOID pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(AddPlayerToGroup)(THIS_ DPNID idGroup, DPNID idClient, PVOID pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(RemovePlayerFromGroup)(THIS_ DPNID idGroup, DPNID idClient, PVOID pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(SetGroupInfo)(THIS_ DPNID dpnid, DPN_GROUP_INFO* pdpnGroupInfo,PVOID pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetGroupInfo)(THIS_ DPNID dpnid, DPN_GROUP_INFO* pdpnGroupInfo, DWORD* pdwSize, DWORD dwFlags) PURE; + STDMETHOD(EnumPlayersAndGroups)(THIS_ DPNID* prgdpnid, DWORD* pcdpnid, DWORD dwFlags) PURE; + STDMETHOD(EnumGroupMembers)(THIS_ DPNID dpnid, DPNID* prgdpnid, DWORD* pcdpnid, DWORD dwFlags) PURE; + STDMETHOD(SetPeerInfo)(THIS_ const DPN_PLAYER_INFO* pdpnPlayerInfo,PVOID pvAsyncContext, DPNHANDLE* phAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(GetPeerInfo)(THIS_ DPNID dpnid, DPN_PLAYER_INFO* pdpnPlayerInfo, DWORD* pdwSize, DWORD dwFlags) PURE; + STDMETHOD(GetPeerAddress)(THIS_ DPNID dpnid, IDirectPlay8Address** pAddress, DWORD dwFlags) PURE; + STDMETHOD(GetLocalHostAddresses)(THIS_ IDirectPlay8Address** prgpAddress, DWORD* pcAddress, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumHosts)(THIS_ PDPN_APPLICATION_DESC pApplicationDesc, IDirectPlay8Address* pAddrHost, IDirectPlay8Address* pDeviceInfo,PVOID pUserEnumData, DWORD dwUserEnumDataSize, DWORD dwEnumCount, DWORD dwRetryInterval, DWORD dwTimeOut,PVOID pvUserContext, DPNHANDLE* pAsyncHandle, DWORD dwFlags) PURE; + STDMETHOD(DestroyPeer)(THIS_ DPNID dpnidClient, const void* pvDestroyData, DWORD dwDestroyDataSize, DWORD dwFlags) PURE; + STDMETHOD(ReturnBuffer)(THIS_ DPNHANDLE hBufferHandle, DWORD dwFlags) PURE; + STDMETHOD(GetPlayerContext)(THIS_ DPNID dpnid,PVOID* ppvPlayerContext, DWORD dwFlags) PURE; + STDMETHOD(GetGroupContext)(THIS_ DPNID dpnid,PVOID* ppvGroupContext, DWORD dwFlags) PURE; + STDMETHOD(GetCaps)(THIS_ DPN_CAPS* pdpCaps, DWORD dwFlags) PURE; + STDMETHOD(SetCaps)(THIS_ const DPN_CAPS* pdpCaps, DWORD dwFlags) PURE; + STDMETHOD(SetSPCaps)(THIS_ const GUID* pguidSP, const DPN_SP_CAPS* pdpspCaps, DWORD dwFlags ) PURE; + STDMETHOD(GetSPCaps)(THIS_ const GUID* pguidSP, DPN_SP_CAPS* pdpspCaps, DWORD dwFlags) PURE; + STDMETHOD(GetConnectionInfo)(THIS_ DPNID dpnid, DPN_CONNECTION_INFO* pdpConnectionInfo, DWORD dwFlags) PURE; + STDMETHOD(RegisterLobby)(THIS_ DPNHANDLE dpnHandle, struct IDirectPlay8LobbiedApplication* pIDP8LobbiedApplication, DWORD dwFlags) PURE; + STDMETHOD(TerminateSession)(THIS_ void* pvTerminateData, DWORD dwTerminateDataSize, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8Peer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8Peer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8Peer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8Peer methods ***/ +#define IDirectPlay8Peer_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectPlay8Peer_EnumServiceProviders(p,a,b,c,d,e,f) (p)->lpVtbl->EnumServiceProviders(p,a,b,c,d,e,f) +#define IDirectPlay8Peer_EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) (p)->lpVtbl->EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Peer_CancelAsyncOperation(p,a,b) (p)->lpVtbl->CancelAsyncOperation(p,a,b) +#define IDirectPlay8Peer_Connect(p,a,b,c,d,e,f,g,h,i,j,k) (p)->lpVtbl->Connect(p,a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Peer_SendTo(p,a,b,c,d,e,f,g) (p)->lpVtbl->SendTo(p,a,b,c,d,e,f,g) +#define IDirectPlay8Peer_GetSendQueueInfo(p,a,b,c,d) (p)->lpVtbl->GetSendQueueInfo(p,a,b,c,d) +#define IDirectPlay8Peer_Host(p,a,b,c,d,e,f,g) (p)->lpVtbl->Host(p,a,b,c,d,e,f,g) +#define IDirectPlay8Peer_GetApplicationDesc(p,a,b,c) (p)->lpVtbl->GetApplicationDesc(p,a,b,c) +#define IDirectPlay8Peer_SetApplicationDesc(p,a,b) (p)->lpVtbl->SetApplicationDesc(p,a,b) +#define IDirectPlay8Peer_CreateGroup(p,a,b,c,d,e) (p)->lpVtbl->CreateGroup(p,a,b,c,d,e) +#define IDirectPlay8Peer_DestroyGroup(p,a,b,c,d) (p)->lpVtbl->DestroyGroup(p,a,b,c,d) +#define IDirectPlay8Peer_AddPlayerToGroup(p,a,b,c,d,e) (p)->lpVtbl->AddPlayerToGroup(p,a,b,c,d,e) +#define IDirectPlay8Peer_RemovePlayerFromGroup(p,a,b,c,d,e) (p)->lpVtbl->RemovePlayerFromGroup(p,a,b,c,d,e) +#define IDirectPlay8Peer_SetGroupInfo(p,a,b,c,d,e) (p)->lpVtbl->SetGroupInfo(p,a,b,c,d,e) +#define IDirectPlay8Peer_GetGroupInfo(p,a,b,c,d) (p)->lpVtbl->GetGroupInfo(p,a,b,c,d) +#define IDirectPlay8Peer_EnumPlayersAndGroups(p,a,b,c) (p)->lpVtbl->EnumPlayersAndGroups(p,a,b,c) +#define IDirectPlay8Peer_EnumGroupMembers(p,a,b,c,d) (p)->lpVtbl->EnumGroupMembers(p,a,b,c,d) +#define IDirectPlay8Peer_SetPeerInfo(p,a,b,c,d) (p)->lpVtbl->SetPeerInfo(p,a,b,c,d) +#define IDirectPlay8Peer_GetPeerInfo(p,a,b,c,d) (p)->lpVtbl->GetPeerInfo(p,a,b,c,d) +#define IDirectPlay8Peer_GetPeerAddress(p,a,b,c) (p)->lpVtbl->GetPeerAddress(p,a,b,c) +#define IDirectPlay8Peer_GetLocalHostAddresses(p,a,b,c) (p)->lpVtbl->GetLocalHostAddresses(p,a,b,c) +#define IDirectPlay8Peer_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8Peer_EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) (p)->lpVtbl->EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Peer_DestroyPeer(p,a,b,c,d) (p)->lpVtbl->DestroyPeer(p,a,b,c,d) +#define IDirectPlay8Peer_ReturnBuffer(p,a,b) (p)->lpVtbl->ReturnBuffer(p,a,b) +#define IDirectPlay8Peer_GetPlayerContext(p,a,b,c) (p)->lpVtbl->GetPlayerContext(p,a,b,c) +#define IDirectPlay8Peer_GetGroupContext(p,a,b,c) (p)->lpVtbl->GetGroupContext(p,a,b,c) +#define IDirectPlay8Peer_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlay8Peer_SetCaps(p,a,b) (p)->lpVtbl->SetCaps(p,a,b) +#define IDirectPlay8Peer_SetSPCaps(p,a,b,c) (p)->lpVtbl->SetSPCaps(p,a,b,c) +#define IDirectPlay8Peer_GetSPCaps(p,a,b,c) (p)->lpVtbl->GetSPCaps(p,a,b,c) +#define IDirectPlay8Peer_GetConnectionInfo(p,a,b,c) (p)->lpVtbl->GetConnectionInfo(p,a,b,c) +#define IDirectPlay8Peer_RegisterLobby(p,a,b,c) (p)->lpVtbl->RegisterLobby(p,a,b,c) +#define IDirectPlay8Peer_TerminateSession(p,a,b,c) (p)->lpVtbl->TerminateSession(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8Peer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8Peer_AddRef(p) (p)->AddRef() +#define IDirectPlay8Peer_Release(p) (p)->Release() +/*** IDirectPlay8Peer methods ***/ +#define IDirectPlay8Peer_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectPlay8Peer_EnumServiceProviders(p,a,b,c,d,e,f) (p)->EnumServiceProviders(a,b,c,d,e,f) +#define IDirectPlay8Peer_EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) (p)->EnumHosts(a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Peer_CancelAsyncOperation(p,a,b) (p)->CancelAsyncOperation(a,b) +#define IDirectPlay8Peer_Connect(p,a,b,c,d,e,f,g,h,i,j,k) (p)->Connect(a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Peer_SendTo(p,a,b,c,d,e,f,g) (p)->SendTo(a,b,c,d,e,f,g) +#define IDirectPlay8Peer_GetSendQueueInfo(p,a,b,c,d) (p)->GetSendQueueInfo(a,b,c,d) +#define IDirectPlay8Peer_Host(p,a,b,c,d,e,f,g) (p)->Host(a,b,c,d,e,f,g) +#define IDirectPlay8Peer_GetApplicationDesc(p,a,b,c) (p)->GetApplicationDesc(a,b,c) +#define IDirectPlay8Peer_SetApplicationDesc(p,a,b) (p)->SetApplicationDesc(a,b) +#define IDirectPlay8Peer_CreateGroup(p,a,b,c,d,e) (p)->CreateGroup(a,b,c,d,e) +#define IDirectPlay8Peer_DestroyGroup(p,a,b,c,d) (p)->DestroyGroup(a,b,c,d) +#define IDirectPlay8Peer_AddPlayerToGroup(p,a,b,c,d,e) (p)->AddPlayerToGroup(a,b,c,d,e) +#define IDirectPlay8Peer_RemovePlayerFromGroup(p,a,b,c,d,e) (p)->RemovePlayerFromGroup(a,b,c,d,e) +#define IDirectPlay8Peer_SetGroupInfo(p,a,b,c,d,e) (p)->SetGroupInfo(a,b,c,d,e) +#define IDirectPlay8Peer_GetGroupInfo(p,a,b,c,d) (p)->GetGroupInfo(a,b,c,d) +#define IDirectPlay8Peer_EnumPlayersAndGroups(p,a,b,c) (p)->EnumPlayersAndGroups(a,b,c) +#define IDirectPlay8Peer_EnumGroupMembers(p,a,b,c,d) (p)->EnumGroupMembers(a,b,c,d) +#define IDirectPlay8Peer_SetPeerInfo(p,a,b,c,d) (p)->SetPeerInfo(a,b,c,d) +#define IDirectPlay8Peer_GetPeerInfo(p,a,b,c,d) (p)->GetPeerInfo(a,b,c,d) +#define IDirectPlay8Peer_GetPeerAddress(p,a,b,c) (p)->GetPeerAddress(a,b,c) +#define IDirectPlay8Peer_GetLocalHostAddresses(p,a,b,c) (p)->GetLocalHostAddresses(a,b,c) +#define IDirectPlay8Peer_Close(p,a) (p)->Close(a) +#define IDirectPlay8Peer_EnumHosts(p,a,b,c,d,e,f,g,h,i,j,k) (p)->EnumHosts(a,b,c,d,e,f,g,h,i,j,k) +#define IDirectPlay8Peer_DestroyPeer(p,a,b,c,d) (p)->DestroyPeer(a,b,c,d) +#define IDirectPlay8Peer_ReturnBuffer(p,a,b) (p)->ReturnBuffer(a,b) +#define IDirectPlay8Peer_GetPlayerContext(p,a,b,c) (p)->GetPlayerContext(a,b,c) +#define IDirectPlay8Peer_GetGroupContext(p,a,b,c) (p)->GetGroupContext(a,b,c) +#define IDirectPlay8Peer_GetCaps(p,a,b) (p)->GetCaps(a,b) +#define IDirectPlay8Peer_SetCaps(p,a,b) (p)->SetCaps(a,b) +#define IDirectPlay8Peer_SetSPCaps(p,a,b,c) (p)->SetSPCaps(a,b,c) +#define IDirectPlay8Peer_GetSPCaps(p,a,b,c) (p)->GetSPCaps(a,b,c) +#define IDirectPlay8Peer_GetConnectionInfo(p,a,b,c) (p)->GetConnectionInfo(a,b,c) +#define IDirectPlay8Peer_RegisterLobby(p,a,b,c) (p)->RegisterLobby(a,b,c) +#define IDirectPlay8Peer_TerminateSession(p,a,b,c) (p)->TerminateSession(a,b,c) +#endif + +/***************************************************************************** + * IDirectPlay8ThreadPool interface + */ +#define INTERFACE IDirectPlay8ThreadPool +DECLARE_INTERFACE_(IDirectPlay8ThreadPool,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8ThreadPool methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetThreadCount)(THIS_ DWORD dwProcessorNum, DWORD* pdwNumThreads, DWORD dwFlags) PURE; + STDMETHOD(SetThreadCount)(THIS_ DWORD dwProcessorNum, DWORD dwNumThreads, DWORD dwFlags) PURE; + STDMETHOD(DoWork)(THIS_ DWORD dwAllowedTimeSlice, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8ThreadPool_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8ThreadPool_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8ThreadPool_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8ThreadPool methods ***/ +#define IDirectPlay8ThreadPool_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectPlay8ThreadPool_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8ThreadPool_GetThreadCount(p,a,b,c) (p)->lpVtbl->GetThreadCount(p,a,b,c) +#define IDirectPlay8ThreadPool_SetThreadCount(p,a,b,c) (p)->lpVtbl->SetThreadCount(p,a,b,c) +#define IDirectPlay8ThreadPool_DoWork(p,a,b) (p)->lpVtbl->DoWork(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8ThreadPool_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8ThreadPool_AddRef(p) (p)->AddRef() +#define IDirectPlay8ThreadPool_Release(p) (p)->Release() +/*** IDirectPlay8ThreadPool methods ***/ +#define IDirectPlay8ThreadPool_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectPlay8ThreadPool_Close(p,a) (p)->Close(a) +#define IDirectPlay8ThreadPool_GetThreadCount(p,a,b,c) (p)->GetThreadCount(a,b,c) +#define IDirectPlay8ThreadPool_SetThreadCount(p,a,b,c) (p)->SetThreadCount(a,b,c) +#define IDirectPlay8ThreadPool_DoWork(p,a,b) (p)->DoWork(a,b) +#endif + +/***************************************************************************** + * IDirectPlay8NATResolver interface + */ +#define INTERFACE IDirectPlay8NATResolver +DECLARE_INTERFACE_(IDirectPlay8NATResolver,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8NATResolver methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DWORD dwFlags) PURE; + STDMETHOD(Start)(THIS_ IDirectPlay8Address** ppDevices, DWORD dwNumDevices, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(EnumDevices)(THIS_ DPN_SERVICE_PROVIDER_INFO* pSPInfoBuffer, PDWORD pdwBufferSize, PDWORD pdwNumDevices, DWORD dwFlags) PURE; + STDMETHOD(GetAddresses)(THIS_ IDirectPlay8Address** ppAddresses, DWORD* pdwNumAddresses, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8NATResolver_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8NATResolver_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8NATResolver_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8NATResolver methods ***/ +#define IDirectPlay8NATResolver_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectPlay8NATResolver_Start(p,a,b,c) (p)->lpVtbl->Start(p,a,b,c) +#define IDirectPlay8NATResolver_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8NATResolver_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d) +#define IDirectPlay8NATResolver_GetAddresses(p,a,b,c) (p)->lpVtbl->GetAddresses(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8NATResolver_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8NATResolver_AddRef(p) (p)->AddRef() +#define IDirectPlay8NATResolver_Release(p) (p)->Release() +/*** IDirectPlay8NATResolver methods ***/ +#define IDirectPlay8NATResolver_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectPlay8NATResolver_Start(p,a,b,c) (p)->Start(a,b,c) +#define IDirectPlay8NATResolver_Close(p,a) (p)->Close(a) +#define IDirectPlay8NATResolver_EnumDevices(p,a,b,c,d) (p)->EnumDevices(a,b,c,d) +#define IDirectPlay8NATResolver_GetAddresses(p,a,b,c) (p)->GetAddresses(a,b,c) +#endif + +/* Export functions */ + +HRESULT WINAPI DirectPlay8Create(const CLSID* pcIID, LPVOID* ppvInterface, IUnknown* pUnknown); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplobby.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplobby.h new file mode 100644 index 0000000..9b243fd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplobby.h @@ -0,0 +1,509 @@ +/* + * Copyright (C) 1999 Francois Gouget + * Copyright (C) 1999 Peter Hunnisett + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DPLOBBY_H +#define __WINE_DPLOBBY_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectPlayLobby, 0x2fe8f810, 0xb2a5, 0x11d0, 0xa7, 0x87, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc); + +DEFINE_GUID(IID_IDirectPlayLobby, 0xaf465c71, 0x9588, 0x11cf, 0xa0, 0x20, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac); +typedef struct IDirectPlayLobby *LPDIRECTPLAYLOBBY; + +DEFINE_GUID(IID_IDirectPlayLobbyA, 0x26c66a70, 0xb367, 0x11cf, 0xa0, 0x24, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac); +typedef struct IDirectPlayLobby IDirectPlayLobbyA,*LPDIRECTPLAYLOBBYA; + +DEFINE_GUID(IID_IDirectPlayLobby2, 0x194c220, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); +typedef struct IDirectPlayLobby2 *LPDIRECTPLAYLOBBY2; + +DEFINE_GUID(IID_IDirectPlayLobby2A, 0x1bb4af80, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); +typedef struct IDirectPlayLobby2 IDirectPlayLobby2A, *LPDIRECTPLAYLOBBY2A; + +DEFINE_GUID(IID_IDirectPlayLobby3, 0x2db72490, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc); +typedef struct IDirectPlayLobby3 *LPDIRECTPLAYLOBBY3; + +DEFINE_GUID(IID_IDirectPlayLobby3A, 0x2db72491, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc); +typedef struct IDirectPlayLobby3 IDirectPlayLobby3A, *LPDIRECTPLAYLOBBY3A; + + +/***************************************************************************** + * DirectPlayLobby Property GUIDs used in lobby messages + */ + +/* DPLPROPERTY_MessagesSupported {762CCDA1-D916-11d0-BA39-00C04FD7ED67}. + * Purpose: Request if the lobby supports standard (?). + * Response: Answer is a BOOL. TRUE if supports the standard (?) and FALSE otherwise. Of course, it might not respond at all. + */ +DEFINE_GUID(DPLPROPERTY_MessagesSupported, 0x762ccda1, 0xd916, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67); + +/* DPLPROPERTY_LobbyGuid {F56920A0-D218-11d0-BA39-00C04FD7ED67}. + * Purpose: Request the GUID that identifies the lobby version that the application is communicating with. + * Response: The GUID which identifies the lobby version + */ +DEFINE_GUID(DPLPROPERTY_LobbyGuid, 0xf56920a0, 0xd218, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67); + +/* DPLPROPERTY_PlayerGuid {B4319322-D20D-11d0-BA39-00C04FD7ED67} + * Purpose: Request the GUID that identifies the player for this particular machine. + * Response: DPLDATA_PLAYERDATA structure. + */ +DEFINE_GUID(DPLPROPERTY_PlayerGuid, 0xb4319322, 0xd20d, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67); + +/* DPLPROPERTY_PlayerScore {48784000-D219-11d0-BA39-00C04FD7ED67} + * Purpose: Used to send a score of a player to the lobby. The format is an array of long integers. + * Response: I don't think there is one. + */ +DEFINE_GUID(DPLPROPERTY_PlayerScore, 0x48784000, 0xd219, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67); + + + +/***************************************************************************** + * LOBBY structures associated with GUID messages + */ + +typedef struct tagDPLDATA_PLAYERGUID +{ + GUID guidPlayer; + DWORD dwPlayerFlags; +} DPLDATA_PLAYERGUID, *LPDPLDATA_PLAYERGUID; + +typedef struct tagDPLDATA_PLAYERSCORE +{ + DWORD dwScoreCount; + LONG Score[1]; +} DPLDATA_PLAYERSCORE, *LPDPLDATA_PLAYERSCORE; + + +/***************************************************************************** + * LOBBY messages and message data structures. + * + * System messages can be identified by dwMessageFlags having a value of DPLMSG_SYSTEM + * after a call to ReceiveLobbyMessage. + * + * Standard messages can be identified by dwMessageFlags having a value of DPLMSG_STANDARD + * after a call to ReceiveLobbyMessage. + */ + +/* DPLobby1 definition required for backwards compatibility */ +#define DPLMSG_SYSTEM 0x00000001 +#define DPLMSG_STANDARD 0x00000002 +#define DPLAD_SYSTEM DPLMSG_SYSTEM + + +/* System messages - dwType field for messages */ +#define DPLSYS_CONNECTIONSETTINGSREAD 0x00000001 +#define DPLSYS_DPLAYCONNECTFAILED 0x00000002 +#define DPLSYS_DPLAYCONNECTSUCCEEDED 0x00000003 +#define DPLSYS_APPTERMINATED 0x00000004 +#define DPLSYS_SETPROPERTY 0x00000005 +#define DPLSYS_SETPROPERTYRESPONSE 0x00000006 +#define DPLSYS_GETPROPERTY 0x00000007 +#define DPLSYS_GETPROPERTYRESPONSE 0x00000008 +#define DPLSYS_NEWSESSIONHOST 0x00000009 +#define DPLSYS_NEWCONNECTIONSETTINGS 0x0000000A + + + +/* Used to identify the message type */ +typedef struct tagDPLMSG_GENERIC +{ + DWORD dwType; /* Message type */ +} DPLMSG_GENERIC, *LPDPLMSG_GENERIC; + +/* Generic format for system messages - see above */ +typedef struct tagDPLMSG_SYSTEMMESSAGE +{ + DWORD dwType; /* Message type */ + GUID guidInstance; /* Instance GUID of the dplay session the message corresponds to */ +} DPLMSG_SYSTEMMESSAGE, *LPDPLMSG_SYSTEMMESSAGE; + +/* Generic message to set a property - see property GUIDs above */ +typedef struct tagDPLMSG_SETPROPERTY +{ + DWORD dwType; /* Message type */ + DWORD dwRequestID; /* Request ID (DPL_NOCONFIRMATION if no confirmation desired) */ + GUID guidPlayer; /* Player GUID */ + GUID guidPropertyTag; /* Property GUID */ + DWORD dwDataSize; /* Size of data */ + DWORD dwPropertyData[1]; /* Buffer containing data */ +} DPLMSG_SETPROPERTY, *LPDPLMSG_SETPROPERTY; + +#define DPL_NOCONFIRMATION 0 + +/* Reply to DPLMSG_SETPROPERTY */ +typedef struct tagDPLMSG_SETPROPERTYRESPONSE +{ + DWORD dwType; /* Message type */ + DWORD dwRequestID; /* Request ID */ + GUID guidPlayer; /* Player GUID */ + GUID guidPropertyTag; /* Property GUID */ + HRESULT hr; /* Return Code */ +} DPLMSG_SETPROPERTYRESPONSE, *LPDPLMSG_SETPROPERTYRESPONSE; + +/* Request to get the present value of a property */ +typedef struct tagDPLMSG_GETPROPERTY +{ + DWORD dwType; /* Message type */ + DWORD dwRequestID; /* Request ID */ + GUID guidPlayer; /* Player GUID */ + GUID guidPropertyTag; /* Property GUID */ +} DPLMSG_GETPROPERTY, *LPDPLMSG_GETPROPERTY; + +/* Response to a request to get the present value of a property */ +typedef struct tagDPLMSG_GETPROPERTYRESPONSE +{ + DWORD dwType; /* Message type */ + DWORD dwRequestID; /* Request ID */ + GUID guidPlayer; /* Player GUID */ + GUID guidPropertyTag; /* Property GUID */ + HRESULT hr; /* Return Code */ + DWORD dwDataSize; /* Size of data */ + DWORD dwPropertyData[1]; /* Buffer containing data */ +} DPLMSG_GETPROPERTYRESPONSE, *LPDPLMSG_GETPROPERTYRESPONSE; + +/* Standard message in response to a session host migration to a new client */ +typedef struct tagDPLMSG_NEWSESSIONHOST +{ + DWORD dwType; /* Message type */ + GUID guidInstance; /* GUID Instance of the session */ +} DPLMSG_NEWSESSIONHOST, *LPDPLMSG_NEWSESSIONHOST; + +/***************************************************************************** + * DirectPlay Address ID's + * A DirectPlay address is composed of multiple data chunks, each associated with + * a GUID to give significance to the type of data. All chunks have an associated + * size so that unknown chunks can be ignored for backwards compatibility! + * EnumAddresses function is used to parse the address data chunks. + */ + +/* DPAID_TotalSize {1318F560-912C-11d0-9DAA-00A0C90A43CB} + * Chunk purpose: Chunk is a DWORD containing the size of the entire DPADDRESS struct + */ +DEFINE_GUID(DPAID_TotalSize, 0x1318f560, 0x912c, 0x11d0, 0x9d, 0xaa, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb); + +/* DPAID_ServiceProvider {07D916C0-E0AF-11cf-9C4E-00A0C905425E} + * Chunk purpose: Chunk is a GUID indicated what service provider created the chunk. + */ +DEFINE_GUID(DPAID_ServiceProvider, 0x7d916c0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + +/* DPAID_LobbyProvider {59B95640-9667-11d0-A77D-0000F803ABFC} + * Chunk purpose: Chunk is a GUID indicating what lobby provider created the chunk. + */ +DEFINE_GUID(DPAID_LobbyProvider, 0x59b95640, 0x9667, 0x11d0, 0xa7, 0x7d, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc); + +/* DPAID_Phone {78EC89A0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI + * DPAID_PhoneW {BA5A7A70-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE + * Chunk purpose: Chunk is a phone number in ANSI or UNICODE format + */ +DEFINE_GUID(DPAID_Phone, 0x78ec89a0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); +DEFINE_GUID(DPAID_PhoneW, 0xba5a7a70, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + +/* DPAID_Modem {F6DCC200-A2FE-11d0-9C4F-00A0C905425E} -- ANSI + * DPAID_ModemW {01FD92E0-A2FF-11d0-9C4F-00A0C905425E} -- UNICODE + * Chunk purpose: Chunk is a modem name registered with TAPI + */ +DEFINE_GUID(DPAID_Modem, 0xf6dcc200, 0xa2fe, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); +DEFINE_GUID(DPAID_ModemW, 0x1fd92e0, 0xa2ff, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + +/* DPAID_INet {C4A54DA0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI + * DPAID_INetW {E63232A0-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE + * Chunk purpose: Chunk is a string containing a TCP/IP host name or IP address + */ +DEFINE_GUID(DPAID_INet, 0xc4a54da0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); +DEFINE_GUID(DPAID_INetW, 0xe63232a0, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + +/* DPAID_INetPort {E4524541-8EA5-11d1-8A96-006097B01411} + * Chunk purpose: Chunk is a port number used for creating TCP and UDP sockets. (WORD) + */ +DEFINE_GUID(DPAID_INetPort, 0xe4524541, 0x8ea5, 0x11d1, 0x8a, 0x96, 0x0, 0x60, 0x97, 0xb0, 0x14, 0x11); + +/* DPAID_ComPort {F2F0CE00-E0AF-11cf-9C4E-00A0C905425E} + * Chunk purpose: Chunk contains the description of a serial port. + */ +DEFINE_GUID(DPAID_ComPort, 0xf2f0ce00, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e); + + +/* Header block for address data elements */ +typedef struct tagDPADDRESS +{ + GUID guidDataType; + DWORD dwDataSize; +} DPADDRESS, *LPDPADDRESS; + + +/* Used for specification of a communication port. Baud rate, stop bits and + * parity bits can be found in winbase.h. These are flow control constants only. + */ +#define DPCPA_NOFLOW 0 /* no flow control */ +#define DPCPA_XONXOFFFLOW 1 /* software flow control */ +#define DPCPA_RTSFLOW 2 /* hardware flow control with RTS */ +#define DPCPA_DTRFLOW 3 /* hardware flow control with DTR */ +#define DPCPA_RTSDTRFLOW 4 /* hardware flow control with RTS and DTR */ + +typedef struct tagDPCOMPORTADDRESS +{ + DWORD dwComPort; /* COM port to use (1-4) */ + DWORD dwBaudRate; /* baud rate (100-256k) */ + DWORD dwStopBits; /* no. stop bits (1-2) */ + DWORD dwParity; /* parity (none, odd, even, mark) */ + DWORD dwFlowControl; /* flow control (none, xon/xoff, rts, dtr) */ +} DPCOMPORTADDRESS, *LPDPCOMPORTADDRESS; + + + +/**************************************************************************** + * Miscellaneous + */ + +typedef struct tagDPLAPPINFO +{ + DWORD dwSize; + GUID guidApplication; + + union + { + LPSTR lpszAppNameA; + LPWSTR lpszAppName; + } DUMMYUNIONNAME; + +} DPLAPPINFO, *LPDPLAPPINFO; +typedef const DPLAPPINFO *LPCDPLAPPINFO; + +typedef struct DPCOMPOUNDADDRESSELEMENT +{ + GUID guidDataType; + DWORD dwDataSize; + LPVOID lpData; +} DPCOMPOUNDADDRESSELEMENT, *LPDPCOMPOUNDADDRESSELEMENT; +typedef const DPCOMPOUNDADDRESSELEMENT *LPCDPCOMPOUNDADDRESSELEMENT; + +typedef struct tagDPAPPLICATIONDESC +{ + DWORD dwSize; + DWORD dwFlags; + + union + { + LPSTR lpszApplicationNameA; + LPWSTR lpszApplicationName; + } DUMMYUNIONNAME1; + + GUID guidApplication; + + union + { + LPSTR lpszFilenameA; + LPWSTR lpszFilename; + } DUMMYUNIONNAME2; + + union + { + LPSTR lpszCommandLineA; + LPWSTR lpszCommandLine; + } DUMMYUNIONNAME3; + + union + { + LPSTR lpszPathA; + LPWSTR lpszPath; + } DUMMYUNIONNAME4; + + union + { + LPSTR lpszCurrentDirectoryA; + LPWSTR lpszCurrentDirectory; + } DUMMYUNIONNAME5; + + LPSTR lpszDescriptionA; + LPWSTR lpszDescriptionW; + +} DPAPPLICATIONDESC, *LPDPAPPLICATIONDESC; + + + +extern HRESULT WINAPI DirectPlayLobbyCreateW(LPGUID, LPDIRECTPLAYLOBBY*, IUnknown*, LPVOID, DWORD ); +extern HRESULT WINAPI DirectPlayLobbyCreateA(LPGUID, LPDIRECTPLAYLOBBYA*, IUnknown*, LPVOID, DWORD ); +#define DirectPlayLobbyCreate WINELIB_NAME_AW(DirectPlayLobbyCreate) + + +typedef BOOL (CALLBACK *LPDPENUMADDRESSCALLBACK)( + REFGUID guidDataType, + DWORD dwDataSize, + LPCVOID lpData, + LPVOID lpContext ); + +typedef BOOL (CALLBACK *LPDPLENUMADDRESSTYPESCALLBACK)( + REFGUID guidDataType, + LPVOID lpContext, + DWORD dwFlags ); + +typedef BOOL (CALLBACK *LPDPLENUMLOCALAPPLICATIONSCALLBACK)( + LPCDPLAPPINFO lpAppInfo, + LPVOID lpContext, + DWORD dwFlags ); + +/***************************************************************************** + * IDirectPlayLobby and IDirectPlayLobbyA interface + */ +#define INTERFACE IDirectPlayLobby +DECLARE_INTERFACE_(IDirectPlayLobby,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlayLobby methods ***/ + STDMETHOD(Connect)(THIS_ DWORD, LPDIRECTPLAY2*, IUnknown*) PURE; + STDMETHOD(CreateAddress)(THIS_ REFGUID, REFGUID, LPCVOID, DWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(EnumAddress)(THIS_ LPDPENUMADDRESSCALLBACK, LPCVOID, DWORD, LPVOID) PURE; + STDMETHOD(EnumAddressTypes)(THIS_ LPDPLENUMADDRESSTYPESCALLBACK, REFGUID, LPVOID, DWORD) PURE; + STDMETHOD(EnumLocalApplications)(THIS_ LPDPLENUMLOCALAPPLICATIONSCALLBACK, LPVOID, DWORD) PURE; + STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(RunApplication)(THIS_ DWORD, LPDWORD, LPDPLCONNECTION, HANDLE) PURE; + STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE; + STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE; + STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectPlayLobby2 and IDirectPlayLobby2A interface + */ +#define INTERFACE IDirectPlayLobby2 +DECLARE_INTERFACE_(IDirectPlayLobby2,IDirectPlayLobby) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlayLobby methods ***/ + STDMETHOD(Connect)(THIS_ DWORD, LPDIRECTPLAY2*, IUnknown*) PURE; + STDMETHOD(CreateAddress)(THIS_ REFGUID, REFGUID, LPCVOID, DWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(EnumAddress)(THIS_ LPDPENUMADDRESSCALLBACK, LPCVOID, DWORD, LPVOID) PURE; + STDMETHOD(EnumAddressTypes)(THIS_ LPDPLENUMADDRESSTYPESCALLBACK, REFGUID, LPVOID, DWORD) PURE; + STDMETHOD(EnumLocalApplications)(THIS_ LPDPLENUMLOCALAPPLICATIONSCALLBACK, LPVOID, DWORD) PURE; + STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(RunApplication)(THIS_ DWORD, LPDWORD, LPDPLCONNECTION, HANDLE) PURE; + STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE; + STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE; + STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE; + /*** IDirectPlayLobby2 methods ***/ + STDMETHOD(CreateCompoundAddress)(THIS_ LPCDPCOMPOUNDADDRESSELEMENT, DWORD, LPVOID, LPDWORD) PURE; +}; +#undef INTERFACE + +/***************************************************************************** + * IDirectPlayLobby3 and IDirectPlayLobby3A interface + */ +#define INTERFACE IDirectPlayLobby3 +DECLARE_INTERFACE_(IDirectPlayLobby3,IDirectPlayLobby2) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlayLobby methods ***/ + STDMETHOD(Connect)(THIS_ DWORD, LPDIRECTPLAY2*, IUnknown*) PURE; + STDMETHOD(CreateAddress)(THIS_ REFGUID, REFGUID, LPCVOID, DWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(EnumAddress)(THIS_ LPDPENUMADDRESSCALLBACK, LPCVOID, DWORD, LPVOID) PURE; + STDMETHOD(EnumAddressTypes)(THIS_ LPDPLENUMADDRESSTYPESCALLBACK, REFGUID, LPVOID, DWORD) PURE; + STDMETHOD(EnumLocalApplications)(THIS_ LPDPLENUMLOCALAPPLICATIONSCALLBACK, LPVOID, DWORD) PURE; + STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE; + STDMETHOD(RunApplication)(THIS_ DWORD, LPDWORD, LPDPLCONNECTION, HANDLE) PURE; + STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE; + STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE; + STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE; + /*** IDirectPlayLobby2 methods ***/ + STDMETHOD(CreateCompoundAddress)(THIS_ LPCDPCOMPOUNDADDRESSELEMENT, DWORD, LPVOID, LPDWORD) PURE; + /*** IDirectPlayLobby3 methods ***/ + STDMETHOD(ConnectEx)(THIS_ DWORD, REFIID, LPVOID *, IUnknown *) PURE; + STDMETHOD(RegisterApplication)(THIS_ DWORD, LPDPAPPLICATIONDESC) PURE; + STDMETHOD(UnregisterApplication)(THIS_ DWORD, REFGUID) PURE; + STDMETHOD(WaitForConnectionSettings)(THIS_ DWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlayLobby_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlayLobby_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlayLobby methods ***/ +#define IDirectPlayLobby_Connect(p,a,b,c) (p)->lpVtbl->Connect(p,a,b,c) +#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->lpVtbl->CreateAddress(p,a,b,c,d,e,f) +#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->lpVtbl->EnumAddress(p,a,b,c,d) +#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->lpVtbl->EnumAddressTypes(p,a,b,c,d) +#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->lpVtbl->EnumLocalApplications(p,a,b,c) +#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->lpVtbl->GetConnectionSettings(p,a,b,c) +#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->lpVtbl->ReceiveLobbyMessage(p,a,b,c,d,e) +#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->lpVtbl->RunApplication(p,a,b,c,d) +#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->lpVtbl->SendLobbyMessage(p,a,b,c,d) +#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c) +#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->lpVtbl->SetLobbyMessageEvent(p,a,b,c) +/*** IDirectPlayLobby2 methods ***/ +#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->lpVtbl->CreateCompoundAddress(p,a,b,c,d) +/*** IDirectPlayLobby3 methods ***/ +#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->lpVtbl->ConnectEx(p,a,b,c,d) +#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->lpVtbl->RegisterApplication(p,a,b) +#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->lpVtbl->UnregisterApplication(p,a,b) +#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->lpVtbl->WaitForConnectionSettings(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlayLobby_AddRef(p) (p)->AddRef() +#define IDirectPlayLobby_Release(p) (p)->Release() +/*** IDirectPlayLobby methods ***/ +#define IDirectPlayLobby_Connect(p,a,b,c) (p)->Connect(a,b,c) +#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->CreateAddress(a,b,c,d,e,f) +#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->EnumAddress(a,b,c,d) +#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->EnumAddressTypes(a,b,c,d) +#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->EnumLocalApplications(a,b,c) +#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->GetConnectionSettings(a,b,c) +#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->ReceiveLobbyMessage(a,b,c,d,e) +#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->RunApplication(a,b,c,d) +#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->SendLobbyMessage(a,b,c,d) +#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c) +#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->SetLobbyMessageEvent(a,b,c) +/*** IDirectPlayLobby2 methods ***/ +#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->CreateCompoundAddress(a,b,c,d) +/*** IDirectPlayLobby3 methods ***/ +#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->ConnectEx(a,b,c,d) +#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->RegisterApplication(a,b) +#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->UnregisterApplication(a,b) +#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->WaitForConnectionSettings(a) +#endif + +/* Used for WaitForConnectionSettings */ +#define DPLWAIT_CANCEL 0x00000001 + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DPLOBBY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplobby8.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplobby8.h new file mode 100644 index 0000000..9adabeb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dplobby8.h @@ -0,0 +1,259 @@ +/* + * Copyright (C) 2003-2005 Raphael Junqueira + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DPLOBBY8_H +#define __WINE_DPLOBBY8_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/***************************************************************************** + * DirectPlay8Lobby defines + */ +#define DPL_MSGID_LOBBY 0x8000 +#define DPL_MSGID_RECEIVE (0x0001 | DPL_MSGID_LOBBY) +#define DPL_MSGID_CONNECT (0x0002 | DPL_MSGID_LOBBY) +#define DPL_MSGID_DISCONNECT (0x0003 | DPL_MSGID_LOBBY) +#define DPL_MSGID_SESSION_STATUS (0x0004 | DPL_MSGID_LOBBY) +#define DPL_MSGID_CONNECTION_SETTINGS (0x0005 | DPL_MSGID_LOBBY) +#define DPLHANDLE_ALLCONNECTIONS 0xFFFFFFFF +#define DPLSESSION_CONNECTED 0x0001 +#define DPLSESSION_COULDNOTCONNECT 0x0002 +#define DPLSESSION_DISCONNECTED 0x0003 +#define DPLSESSION_TERMINATED 0x0004 +#define DPLSESSION_HOSTMIGRATED 0x0005 +#define DPLSESSION_HOSTMIGRATEDHERE 0x0006 +#define DPLAVAILABLE_ALLOWMULTIPLECONNECT 0x0001 +#define DPLCONNECT_LAUNCHNEW 0x0001 +#define DPLCONNECT_LAUNCHNOTFOUND 0x0002 +#define DPLCONNECTSETTINGS_HOST 0x0001 +#define DPLINITIALIZE_DISABLEPARAMVAL 0x0001 + +/***************************************************************************** + * DirectPlay8Lobby structures Typedefs + */ +typedef struct _DPL_APPLICATION_INFO { + GUID guidApplication; + PWSTR pwszApplicationName; + DWORD dwNumRunning; + DWORD dwNumWaiting; + DWORD dwFlags; +} DPL_APPLICATION_INFO, *PDPL_APPLICATION_INFO; + +typedef struct _DPL_CONNECTION_SETTINGS { + DWORD dwSize; + DWORD dwFlags; + DPN_APPLICATION_DESC dpnAppDesc; + IDirectPlay8Address* pdp8HostAddress; + IDirectPlay8Address** ppdp8DeviceAddresses; + DWORD cNumDeviceAddresses; + PWSTR pwszPlayerName; +} DPL_CONNECTION_SETTINGS, *PDPL_CONNECTION_SETTINGS; + +typedef struct _DPL_CONNECT_INFO { + DWORD dwSize; + DWORD dwFlags; + GUID guidApplication; + PDPL_CONNECTION_SETTINGS pdplConnectionSettings; + PVOID pvLobbyConnectData; + DWORD dwLobbyConnectDataSize; +} DPL_CONNECT_INFO, *PDPL_CONNECT_INFO; + +typedef struct _DPL_PROGRAM_DESC { + DWORD dwSize; + DWORD dwFlags; + GUID guidApplication; + PWSTR pwszApplicationName; + PWSTR pwszCommandLine; + PWSTR pwszCurrentDirectory; + PWSTR pwszDescription; + PWSTR pwszExecutableFilename; + PWSTR pwszExecutablePath; + PWSTR pwszLauncherFilename; + PWSTR pwszLauncherPath; +} DPL_PROGRAM_DESC, *PDPL_PROGRAM_DESC; + +typedef struct _DPL_MESSAGE_CONNECT { + DWORD dwSize; + DPNHANDLE hConnectId; + PDPL_CONNECTION_SETTINGS pdplConnectionSettings; + PVOID pvLobbyConnectData; + DWORD dwLobbyConnectDataSize; + PVOID pvConnectionContext; +} DPL_MESSAGE_CONNECT, *PDPL_MESSAGE_CONNECT; + +typedef struct _DPL_MESSAGE_CONNECTION_SETTINGS { + DWORD dwSize; + DPNHANDLE hSender; + PDPL_CONNECTION_SETTINGS pdplConnectionSettings; + PVOID pvConnectionContext; +} DPL_MESSAGE_CONNECTION_SETTINGS, *PDPL_MESSAGE_CONNECTION_SETTINGS; + +typedef struct _DPL_MESSAGE_DISCONNECT { + DWORD dwSize; + DPNHANDLE hDisconnectId; + HRESULT hrReason; + PVOID pvConnectionContext; +} DPL_MESSAGE_DISCONNECT, *PDPL_MESSAGE_DISCONNECT; + +typedef struct _DPL_MESSAGE_RECEIVE { + DWORD dwSize; + DPNHANDLE hSender; + BYTE* pBuffer; + DWORD dwBufferSize; + PVOID pvConnectionContext; +} DPL_MESSAGE_RECEIVE, *PDPL_MESSAGE_RECEIVE; + +typedef struct _DPL_MESSAGE_SESSION_STATUS { + DWORD dwSize; + DPNHANDLE hSender; + DWORD dwStatus; + PVOID pvConnectionContext; +} DPL_MESSAGE_SESSION_STATUS, *PDPL_MESSAGE_SESSION_STATUS; + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectPlay8LobbiedApplication, 0x667955ad,0x6b3b,0x43ca,0xb9,0x49,0xbc,0x69,0xb5,0xba,0xff,0x7f); +DEFINE_GUID(CLSID_DirectPlay8LobbyClient, 0x3b2b6775,0x70b6,0x45af,0x8d,0xea,0xa2,0x09,0xc6,0x95,0x59,0xf3); + +DEFINE_GUID(IID_IDirectPlay8LobbiedApplication, 0x819074a3,0x16c,0x11d3,0xae,0x14,0x00,0x60,0x97,0xb0,0x14,0x11); +typedef struct IDirectPlay8LobbiedApplication *PDIRECTPLAY8LOBBIEDAPPLICATION; +DEFINE_GUID(IID_IDirectPlay8LobbyClient, 0x819074a2,0x16c,0x11d3,0xae,0x14,0x00,0x60,0x97,0xb0,0x14,0x11); +typedef struct IDirectPlay8LobbyClient *PDIRECTPLAY8LOBBYCLIENT; + +/***************************************************************************** + * IDirectPlay8LobbiedApplication interface + */ +#define INTERFACE IDirectPlay8LobbiedApplication +DECLARE_INTERFACE_(IDirectPlay8LobbiedApplication,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8LobbiedApplication methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DPNHANDLE* pdpnhConnection, DWORD dwFlags) PURE; + STDMETHOD(RegisterProgram)(THIS_ PDPL_PROGRAM_DESC pdplProgramDesc, DWORD dwFlags) PURE; + STDMETHOD(UnRegisterProgram)(THIS_ GUID* pguidApplication, DWORD dwFlags) PURE; + STDMETHOD(Send)(THIS_ DPNHANDLE hConnection, BYTE* pBuffer, DWORD pBufferSize, DWORD dwFlags) PURE; + STDMETHOD(SetAppAvailable)(THIS_ BOOL fAvailable, DWORD dwFlags) PURE; + STDMETHOD(UpdateStatus)(THIS_ DPNHANDLE hConnection, DWORD dwStatus, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetConnectionSettings)(THIS_ DPNHANDLE hConnection, DPL_CONNECTION_SETTINGS* pdplSessionInfo, DWORD* pdwInfoSize, DWORD dwFlags) PURE; + STDMETHOD(SetConnectionSettings)(THIS_ DPNHANDLE hConnection, const DPL_CONNECTION_SETTINGS* pdplSessionInfo, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8LobbiedApplication_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8LobbiedApplication_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8LobbiedApplication_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8LobbiedApplication methods ***/ +#define IDirectPlay8LobbiedApplication_Initialize(p,a,b,c,d) (p)->lpVtbl->Initialize(p,a,b,c,d) +#define IDirectPlay8LobbiedApplication_RegisterProgram(p,a,b) (p)->lpVtbl->RegisterProgram(p,a,b) +#define IDirectPlay8LobbiedApplication_UnRegisterProgram(p,a,b) (p)->lpVtbl->UnRegisterProgram(p,a,b) +#define IDirectPlay8LobbiedApplication_Send(p,a,b,c,d) (p)->lpVtbl->Send(p,a,b,c,d) +#define IDirectPlay8LobbiedApplication_SetAppAvailable(p,a,b) (p)->lpVtbl->SetAppAvailable(p,a,b) +#define IDirectPlay8LobbiedApplication_UpdateStatus(p,a,b,c) (p)->lpVtbl->UpdateStatus(p,a,b,c) +#define IDirectPlay8LobbiedApplication_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8LobbiedApplication_GetConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetConnectionSettings(p,a,b,c,d) +#define IDirectPlay8LobbiedApplication_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8LobbiedApplication_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8LobbiedApplication_AddRef(p) (p)->AddRef() +#define IDirectPlay8LobbiedApplication_Release(p) (p)->Release() +/*** IDirectPlay8LobbiedApplication methods ***/ +#define IDirectPlay8LobbiedApplication_Initialize(p,a,b,c,d) (p)->Initialize(a,b,c,d) +#define IDirectPlay8LobbiedApplication_RegisterProgram(p,a,b) (p)->RegisterProgram(a,b) +#define IDirectPlay8LobbiedApplication_UnRegisterProgram(p,a,b) (p)->UnRegisterProgram(a,b) +#define IDirectPlay8LobbiedApplication_Send(p,a,b,c,d) (p)->Send(a,b,c,d) +#define IDirectPlay8LobbiedApplication_SetAppAvailable(p,a,b) (p)->SetAppAvailable(a,b) +#define IDirectPlay8LobbiedApplication_UpdateStatus(p,a,b,c) (p)->UpdateStatus(a,b,c) +#define IDirectPlay8LobbiedApplication_Close(p,a) (p)->Close(a) +#define IDirectPlay8LobbiedApplication_GetConnectionSettings(p,a,b,c,d) (p)->GetConnectionSettings(a,b,c,d) +#define IDirectPlay8LobbiedApplication_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c) +#endif + +/***************************************************************************** + * IDirectPlay8LobbyClient interface + */ +#define INTERFACE IDirectPlay8LobbyClient +DECLARE_INTERFACE_(IDirectPlay8LobbyClient,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectPlay8LobbyClient methods ***/ + STDMETHOD(Initialize)(THIS_ PVOID pvUserContext, PFNDPNMESSAGEHANDLER pfn, DWORD dwFlags) PURE; + STDMETHOD(EnumLocalPrograms)(THIS_ GUID* pGuidApplication, BYTE* pEnumData, DWORD* pdwEnumData, DWORD* pdwItems, DWORD dwFlags) PURE; + STDMETHOD(ConnectApplication)(THIS_ DPL_CONNECT_INFO* pdplConnectionInfo, PVOID pvConnectionContext, DPNHANDLE* hApplication, DWORD dwTimeOut, DWORD dwFlags) PURE; + STDMETHOD(Send)(THIS_ DPNHANDLE hConnection, BYTE* pBuffer, DWORD pBufferSize, DWORD dwFlags) PURE; + STDMETHOD(ReleaseApplication)(THIS_ DPNHANDLE hConnection, DWORD dwFlags) PURE; + STDMETHOD(Close)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(GetConnectionSettings)(THIS_ DPNHANDLE hConnection, DPL_CONNECTION_SETTINGS* pdplSessionInfo, DWORD* pdwInfoSize, DWORD dwFlags) PURE; + STDMETHOD(SetConnectionSettings)(THIS_ DPNHANDLE hConnection, const DPL_CONNECTION_SETTINGS* pdplSessionInfo, DWORD dwFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectPlay8LobbyClient_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlay8LobbyClient_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlay8LobbyClient_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectPlay8LobbyClient methods ***/ +#define IDirectPlay8LobbyClient_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) +#define IDirectPlay8LobbyClient_EnumLocalPrograms(p,a,b,c,d,e) (p)->lpVtbl->EnumLocalPrograms(p,a,b,c,d,e) +#define IDirectPlay8LobbyClient_ConnectApplication(p,a,b,c,d,e) (p)->lpVtbl->ConnectApplication(p,a,b,c,d,e) +#define IDirectPlay8LobbyClient_Send(p,a,b,c,d) (p)->lpVtbl->Send(p,a,b,c,d) +#define IDirectPlay8LobbyClient_ReleaseApplication(p,a,b) (p)->lpVtbl->ReleaseApplication(p,a,b) +#define IDirectPlay8LobbyClient_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlay8LobbyClient_GetConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetConnectionSettings(p,a,b,c,d) +#define IDirectPlay8LobbyClient_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IDirectPlay8LobbyClient_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlay8LobbyClient_AddRef(p) (p)->AddRef() +#define IDirectPlay8LobbyClient_Release(p) (p)->Release() +/*** IDirectPlay8LobbyClient methods ***/ +#define IDirectPlay8LobbyClient_Initialize(p,a,b,c) (p)->Initialize(a,b,c) +#define IDirectPlay8LobbyClient_EnumLocalPrograms(p,a,b,c,d,e) (p)->EnumLocalPrograms(a,b,c,d,e) +#define IDirectPlay8LobbyClient_ConnectApplication(p,a,b,c,d,e) (p)->ConnectApplication(a,b,c,d,e) +#define IDirectPlay8LobbyClient_Send(p,a,b,c,d) (p)->Send(a,b,c,d) +#define IDirectPlay8LobbyClient_ReleaseApplication(p,a,b) (p)->ReleaseApplication(a,b) +#define IDirectPlay8LobbyClient_Close(p,a) (p)->Close(a) +#define IDirectPlay8LobbyClient_GetConnectionSettings(p,a,b,c,d) (p)->GetConnectionSettings(a,b,c,d) +#define IDirectPlay8LobbyClient_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c) +#endif + + +/* Export functions */ + +HRESULT WINAPI DirectPlay8LobbyCreate(const GUID* pcIID, LPVOID* ppvInterface, IUnknown* pUnknown); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dpnathlp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dpnathlp.h new file mode 100644 index 0000000..387733c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dpnathlp.h @@ -0,0 +1,192 @@ +/* + * Copyright (C) 2006 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DPNATHLP_H__ +#define __DPNATHLP_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT DirectPlayNATHelpCreate(LPCGUID pIID, LPVOID *ppvInterface); + +DEFINE_GUID(CLSID_DirectPlayNATHelpUPnP, 0xb9c2e9c4,0x68c1,0x4d42,0xa7,0xa1,0xe7,0x6a,0x26,0x98,0x2a,0xd6); +DEFINE_GUID(CLSID_DirectPlayNATHelpPAST, 0x963ab779,0x16a1,0x477c,0xa3,0x6d,0xcb,0x5e,0x71,0x19,0x38,0xf7); +DEFINE_GUID(IID_IDirectPlayNATHelp, 0x154940b6,0x2278,0x4a2f,0x91,0x01,0x9b,0xa9,0xf4,0x31,0xf6,0x03); + +#define DPNHGETCAPS_UPDATESERVERSTATUS 0x01 + +#define DPNHREGISTERPORTS_TCP 0x01 +#define DPNHREGISTERPORTS_FIXEDPORTS 0x02 +#define DPNHREGISTERPORTS_SHAREDPORTS 0x04 + +#define DPNHADDRESSTYPE_TCP 0x01 +#define DPNHADDRESSTYPE_FIXEDPORTS 0x02 +#define DPNHADDRESSTYPE_SHAREDPORTS 0x04 +#define DPNHADDRESSTYPE_LOCALFIREWALL 0x08 +#define DPNHADDRESSTYPE_GATEWAY 0x10 +#define DPNHADDRESSTYPE_GATEWAYISLOCAL 0x20 + +#define DPNHCAPSFLAG_LOCALFIREWALLPRESENT 0x01 +#define DPNHCAPSFLAG_GATEWAYPRESENT 0x02 +#define DPNHCAPSFLAG_GATEWAYISLOCAL 0x04 +#define DPNHCAPSFLAG_PUBLICADDRESSAVAILABLE 0x08 +#define DPNHCAPSFLAG_NOTALLSUPPORTACTIVENOTIFY 0x10 + +#define DPNHINITIALIZE_DISABLEGATEWAYSUPPORT 0x01 +#define DPNHINITIALIZE_DISABLELOCALFIREWALLSUPPORT 0x02 + +#define DPNHQUERYADDRESS_TCP 0x01 +#define DPNHQUERYADDRESS_CACHEFOUND 0x02 +#define DPNHQUERYADDRESS_CACHENOTFOUND 0x04 +#define DPNHQUERYADDRESS_CHECKFORPRIVATEBUTUNMAPPED 0x08 + +#define DPNHGETREGISTEREDADDRESSES_LOCALFIREWALLREMAPONLY 0x01 + +#define _DPNH_FACILITY_CODE 0x015 +#define _DPNH_HRESULT_BASE 0xF000 + +#define MAKE_DPNHSUCCESS(code) \ + MAKE_HRESULT(0, _DPNH_FACILITY_CODE, (code + _DPNH_HRESULT_BASE)) +#define MAKE_DPNHFAILURE(code) \ + MAKE_HRESULT(1, _DPNH_FACILITY_CODE, (code + _DPNH_HRESULT_BASE)) + +#define DPNH_OK S_OK +#define DPNHSUCCESS_ADDRESSESCHANGED MAKE_DPNHSUCCESS(0x10) + +#define DPNHERR_ALREADYINITIALIZED MAKE_DPNHFAILURE(0x10) +#define DPNHERR_BUFFERTOOSMALL MAKE_DPNHFAILURE(0x20) +#define DPNHERR_GENERIC E_FAIL +#define DPNHERR_INVALIDFLAGS MAKE_DPNHFAILURE(0x30) +#define DPNHERR_INVALIDOBJECT MAKE_DPNHFAILURE(0x40) +#define DPNHERR_INVALIDPARAM E_INVALIDARG +#define DPNHERR_INVALIDPOINTER E_POINTER +#define DPNHERR_NOMAPPING MAKE_DPNHFAILURE(0x50) +#define DPNHERR_NOMAPPINGBUTPRIVATE MAKE_DPNHFAILURE(0x60) +#define DPNHERR_NOTINITIALIZED MAKE_DPNHFAILURE(0x70) +#define DPNHERR_OUTOFMEMORY E_OUTOFMEMORY +#define DPNHERR_PORTALREADYREGISTERED MAKE_DPNHFAILURE(0x80) +#define DPNHERR_PORTUNAVAILABLE MAKE_DPNHFAILURE(0x90) +#define DPNHERR_REENTRANT MAKE_DPNHFAILURE(0x95) +#define DPNHERR_SERVERNOTAVAILABLE MAKE_DPNHFAILURE(0xA0) +#define DPNHERR_UPDATESERVERSTATUS MAKE_DPNHFAILURE(0xC0) + +typedef DWORD_PTR DPNHHANDLE; +typedef DWORD_PTR *PDPNHHANDLE; + +typedef struct _DPNHCAPS +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwNumRegisteredPorts; + DWORD dwMinLeaseTimeRemaining; + DWORD dwRecommendedGetCapsInterval; +} DPNHCAPS, *PDPNHCAPS; + + +#define INTERFACE IDirectPlayNATHelp +DECLARE_INTERFACE_(IDirectPlayNATHelp,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface) (THIS_ + REFIID riid, + void** ppvObject) PURE; + + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /*** IDirectPlayNATHelp functions ***/ + STDMETHOD(Initialize) (THIS_ + DWORD dwFlags) PURE; + + STDMETHOD(Close) (THIS_ + DWORD dwFlags) PURE; + + STDMETHOD(GetCaps) (THIS_ + PDPNHCAPS pCaps, + DWORD dwFlags) PURE; + + STDMETHOD(RegisterPorts) (THIS_ + PSOCKADDR aLocalAddresses, + DWORD dwAddressSize, + DWORD dwAddresses, + DWORD dwTime, + PDPNHHANDLE phRegisteredPorts, + DWORD dwFlags) PURE; + + STDMETHOD(GetRegisteredAddresses) (THIS_ + PDPNHHANDLE hRegisteredPorts, + PSOCKADDR paPublicAddresses, + const DWORD *dwAddressSize, + const DWORD *dwAddressFlags, + const DWORD *dwRemaining, + DWORD dwFlags) PURE; + + STDMETHOD(DeregisterPorts)(THIS_ + DPNHHANDLE hRegPorts, + DWORD dwFlags) PURE; + + STDMETHOD(QueryAddress) (THIS_ + PSOCKADDR pSource, + PSOCKADDR pQuery, + PSOCKADDR pResponse, + INT iAddresses, + DWORD dwFlags) PURE; + + STDMETHOD(SetAlertEvent) (THIS_ + HANDLE hEvent, + DWORD dwFlags) PURE; + + STDMETHOD(SetAlertIOCompletionPort)(THIS_ + HANDLE hIOCompletionPort, + DWORD dwCompletion, + DWORD dwMaxThreads, + DWORD dwFlags) PURE; + + STDMETHOD(ExtendRegisteredPortsLease)(THIS_ + DPNHHANDLE hRegisteredPorts, + DWORD dwLeaseTime, + DWORD dwFlags) PURE; +}; + +#undef INTERFACE + +#ifdef COBJMACROS +#define IDirectPlayNATHelp_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlayNATHelp_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlayNATHelp_Release(p) (p)->lpVtbl->Release(p) +#define IDirectPlayNATHelp_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDirectPlayNATHelp_Close(p,a) (p)->lpVtbl->Close(p,a) +#define IDirectPlayNATHelp_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b) +#define IDirectPlayNATHelp_RegisterPorts(p,a,b,c,d,e,f) (p)->lpVtbl->RegisterPorts(p,a,b,c,d,e,f) +#define IDirectPlayNATHelp_GetRegisteredAddresses(p,a,b,c,d,e,f) (p)->lpVtbl->GetRegisteredAddresses(p,a,b,c,d,e,f) +#define IDirectPlayNATHelp_DeregisterPorts(p,a,b) (p)->lpVtbl->DeregisterPorts(p,a,b) +#define IDirectPlayNATHelp_QueryAddress(p,a,b,c,d,e) (p)->lpVtbl->QueryAddress(p,a,b,c,d,e) +#define IDirectPlayNATHelp_SetAlertEvent(p,a,b) (p)->lpVtbl->SetAlertEvent(p,a,b) +#define IDirectPlayNATHelp_SetAlertIOCompletionPort(p,a,b,c,d) (p)->lpVtbl->SetAlertIOCompletionPort(p,a,b,c,d) +#define IDirectPlayNATHelp_ExtendRegisteredPortsLease(p,a,b,c) (p)->lpVtbl->SetAlertIOCompletionPort(p,a,b,c) +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __DPNATHLP_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/drmexternals.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/drmexternals.h new file mode 100644 index 0000000..8333558 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/drmexternals.h @@ -0,0 +1,37 @@ +/*** Autogenerated by WIDL 2.18 from drmexternals.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __drmexternals_h__ +#define __drmexternals_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __drmexternals_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/drmexternals.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/drmexternals.idl new file mode 100644 index 0000000..88826ad --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/drmexternals.idl @@ -0,0 +1,19 @@ +/* + * Copyright 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wmdrmsdk.idl"; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsconf.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsconf.h new file mode 100644 index 0000000..86f4075 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsconf.h @@ -0,0 +1,167 @@ +/* + * Copyright (C) 2003 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DSCONF_H +#define __WINE_DSCONF_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectSoundPrivate, 0x11ab3ec0,0x25ec,0x11d1,0xa4,0xd8,0x00,0xc0,0x4f,0xc2,0x8a,0xca); + +DEFINE_GUID(DSPROPSETID_DirectSoundDevice, 0x84624f82,0x25ec,0x11d1,0xa4,0xd8,0x00,0xc0,0x4f,0xc2,0x8a,0xca); + +typedef enum +{ + DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A = 1, + DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1 = 2, + DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1 = 3, + DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W = 4, + DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A = 5, + DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W = 6, + DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A = 7, + DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W = 8, +} DSPROPERTY_DIRECTSOUNDDEVICE; + +#ifdef UNICODE +#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W +#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W +#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W +#else +#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A +#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A +#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A +#endif + +typedef enum +{ + DIRECTSOUNDDEVICE_TYPE_EMULATED, + DIRECTSOUNDDEVICE_TYPE_VXD, + DIRECTSOUNDDEVICE_TYPE_WDM +} DIRECTSOUNDDEVICE_TYPE; + +typedef enum +{ + DIRECTSOUNDDEVICE_DATAFLOW_RENDER, + DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE +} DIRECTSOUNDDEVICE_DATAFLOW; + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA +{ + LPSTR DeviceName; + DIRECTSOUNDDEVICE_DATAFLOW DataFlow; + GUID DeviceId; +} DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA; + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA +{ + LPWSTR DeviceName; + DIRECTSOUNDDEVICE_DATAFLOW DataFlow; + GUID DeviceId; +} DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA; + +#ifdef UNICODE +#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA +#define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA +#else +#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA +#define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA +#endif + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA +{ + GUID DeviceId; + CHAR DescriptionA[0x100]; + WCHAR DescriptionW[0x100]; + CHAR ModuleA[MAX_PATH]; + WCHAR ModuleW[MAX_PATH]; + DIRECTSOUNDDEVICE_TYPE Type; + DIRECTSOUNDDEVICE_DATAFLOW DataFlow; + ULONG WaveDeviceId; + ULONG Devnode; +} DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA; + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA +{ + DIRECTSOUNDDEVICE_TYPE Type; + DIRECTSOUNDDEVICE_DATAFLOW DataFlow; + GUID DeviceId; + LPSTR Description; + LPSTR Module; + LPSTR Interface; + ULONG WaveDeviceId; +} DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA; + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA +{ + DIRECTSOUNDDEVICE_TYPE Type; + DIRECTSOUNDDEVICE_DATAFLOW DataFlow; + GUID DeviceId; + LPWSTR Description; + LPWSTR Module; + LPWSTR Interface; + ULONG WaveDeviceId; +} DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA; + +#ifdef UNICODE +#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA +#define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA +#else +#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA +#define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA +#endif + +typedef BOOL (CALLBACK *LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, LPVOID); +typedef BOOL (CALLBACK *LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, LPVOID); +typedef BOOL (CALLBACK *LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, LPVOID); + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA +{ + LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 Callback; + LPVOID Context; +} DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA; + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA +{ + LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA Callback; + LPVOID Context; +} DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA; + +typedef struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA +{ + LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW Callback; + LPVOID Context; +} DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA, *PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA; + +#ifdef UNICODE +#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA +#define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA +#else +#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA +#define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DSCONF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsgetdc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsgetdc.h new file mode 100644 index 0000000..faae31a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsgetdc.h @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2006 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DSGETDC_H +#define __WINE_DSGETDC_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define DS_FORCE_REDISCOVERY 0x00000001 +#define DS_DIRECTORY_SERVICE_REQUIRED 0x00000010 +#define DS_DIRECTORY_SERVICE_PREFERRED 0x00000020 +#define DS_GC_SERVER_REQUIRED 0x00000040 +#define DS_PDC_REQUIRED 0x00000080 +#define DS_BACKGROUND_ONLY 0x00000100 +#define DS_IP_REQUIRED 0x00000200 +#define DS_KDC_REQUIRED 0x00000400 +#define DS_TIMESERV_REQUIRED 0x00000800 +#define DS_WRITABLE_REQUIRED 0x00001000 +#define DS_GOOD_TIMESERV_PREFERRED 0x00002000 +#define DS_AVOID_SELF 0x00004000 +#define DS_ONLY_LDAP_NEEDED 0x00008000 + +#define DS_IS_FLAT_NAME 0x00010000 +#define DS_IS_DNS_NAME 0x00020000 + +#define DS_RETURN_DNS_NAME 0x40000000 +#define DS_RETURN_FLAT_NAME 0x80000000 + +#define DSGETDC_VALID_FLAGS ( \ + DS_FORCE_REDISCOVERY | \ + DS_DIRECTORY_SERVICE_REQUIRED | \ + DS_DIRECTORY_SERVICE_PREFERRED | \ + DS_GC_SERVER_REQUIRED | \ + DS_PDC_REQUIRED | \ + DS_BACKGROUND_ONLY | \ + DS_IP_REQUIRED | \ + DS_KDC_REQUIRED | \ + DS_TIMESERV_REQUIRED | \ + DS_WRITABLE_REQUIRED | \ + DS_GOOD_TIMESERV_PREFERRED | \ + DS_AVOID_SELF | \ + DS_ONLY_LDAP_NEEDED | \ + DS_IS_FLAT_NAME | \ + DS_IS_DNS_NAME | \ + DS_RETURN_FLAT_NAME | \ + DS_RETURN_DNS_NAME ) + +typedef struct _DOMAIN_CONTROLLER_INFOA { + LPSTR DomainControllerName; + LPSTR DomainControllerAddress; + ULONG DomainControllerAddressType; + GUID DomainGuid; + LPSTR DomainName; + LPSTR DnsForestName; + ULONG Flags; + LPSTR DcSiteName; + LPSTR ClientSiteName; +} DOMAIN_CONTROLLER_INFOA, *PDOMAIN_CONTROLLER_INFOA; + +typedef struct _DOMAIN_CONTROLLER_INFOW { + LPWSTR DomainControllerName; + LPWSTR DomainControllerAddress; + ULONG DomainControllerAddressType; + GUID DomainGuid; + LPWSTR DomainName; + LPWSTR DnsForestName; + ULONG Flags; + LPWSTR DcSiteName; + LPWSTR ClientSiteName; +} DOMAIN_CONTROLLER_INFOW, *PDOMAIN_CONTROLLER_INFOW; + +DECL_WINELIB_TYPE_AW(DOMAIN_CONTROLLER_INFO) + +DWORD WINAPI DsGetDcNameA(LPCSTR,LPCSTR,GUID*,LPCSTR,ULONG,PDOMAIN_CONTROLLER_INFOA*); +DWORD WINAPI DsGetDcNameW(LPCWSTR,LPCWSTR,GUID*,LPCWSTR,ULONG,PDOMAIN_CONTROLLER_INFOW*); +#define DsGetDcName WINELIB_NAME_AW(DsGetDcName) + +DWORD WINAPI DsGetSiteNameA(LPCSTR ComputerName, LPSTR *SiteName); +DWORD WINAPI DsGetSiteNameW(LPCWSTR ComputerName, LPWSTR *SiteName); +#define DsGetSiteName WINELIB_NAME_AW(DsGetSiteName) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DSGETDC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dshow.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dshow.h new file mode 100644 index 0000000..50e581c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dshow.h @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DSHOW_INCLUDED__ +#define __DSHOW_INCLUDED__ + +#define AM_NOVTABLE + +#include +#ifndef __WINESRC__ +# include +#endif +#include +#include +#include +#ifndef NO_DSHOW_STRSAFE +#define NO_SHLWAPI_STRFCNS +#include +#endif + +#ifndef NUMELMS +#define NUMELMS(array) (sizeof(array)/sizeof((array)[0])) +#endif + +#include +#include +#ifdef DSHOW_USE_AMAUDIO +#include +#endif +#include +#include +#include +#include +/* FIXME: #include */ +#include +/* FIXME: #include */ + +#ifndef OATRUE +#define OATRUE (-1) +#endif +#ifndef OAFALSE +#define OAFALSE (0) +#endif + +#endif /* __DSHOW_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsound.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsound.h new file mode 100644 index 0000000..d4f3918 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsound.h @@ -0,0 +1,1285 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DSOUND_INCLUDED__ +#define __DSOUND_INCLUDED__ + +#ifndef DIRECTSOUND_VERSION +#define DIRECTSOUND_VERSION 0x0900 +#endif + +#define COM_NO_WINDOWS_H +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef DX_SHARED_DEFINES + +typedef float D3DVALUE, *LPD3DVALUE; + +#ifndef D3DCOLOR_DEFINED +typedef DWORD D3DCOLOR, *LPD3DCOLOR; +#define D3DCOLOR_DEFINED +#endif + +#ifndef D3DVECTOR_DEFINED +typedef struct _D3DVECTOR { + float x; + float y; + float z; +} D3DVECTOR; +#define D3DVECTOR_DEFINED +#endif + +#ifndef LPD3DVECTOR_DEFINED +typedef D3DVECTOR *LPD3DVECTOR; +#define LPD3DVECTOR_DEFINED +#endif + +#define DX_SHARED_DEFINES +#endif /* DX_SHARED_DEFINES */ + +/***************************************************************************** + * Predeclare the interfaces + */ +DEFINE_GUID(CLSID_DirectSound, 0x47d4d946, 0x62e8, 0x11cf, 0x93, 0xbc, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00); +DEFINE_GUID(CLSID_DirectSound8, 0x3901cc3f, 0x84b5, 0x4fa4, 0xba, 0x35, 0xaa, 0x81, 0x72, 0xb8, 0xa0, 0x9b); +DEFINE_GUID(CLSID_DirectSoundCapture, 0xb0210780, 0x89cd, 0x11d0, 0xaf, 0x08, 0x00, 0xa0, 0xc9, 0x25, 0xcd, 0x16); +DEFINE_GUID(CLSID_DirectSoundCapture8, 0xe4bcac13, 0x7f99, 0x4908, 0x9a, 0x8e, 0x74, 0xe3, 0xbf, 0x24, 0xb6, 0xe1); +DEFINE_GUID(CLSID_DirectSoundFullDuplex,0xfea4300c, 0x7959, 0x4147, 0xb2, 0x6a, 0x23, 0x77, 0xb9, 0xe7, 0xa9, 0x1d); + +DEFINE_GUID(IID_IDirectSound, 0x279AFA83,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60); +typedef struct IDirectSound *LPDIRECTSOUND,**LPLPDIRECTSOUND; + +DEFINE_GUID(IID_IDirectSound8, 0xC50A7E93,0xF395,0x4834,0x9E,0xF6,0x7F,0xA9,0x9D,0xE5,0x09,0x66); +typedef struct IDirectSound8 *LPDIRECTSOUND8,**LPLPDIRECTSOUND8; + +DEFINE_GUID(IID_IDirectSoundBuffer, 0x279AFA85,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60); +typedef struct IDirectSoundBuffer *LPDIRECTSOUNDBUFFER,**LPLPDIRECTSOUNDBUFFER; + +DEFINE_GUID(IID_IDirectSoundBuffer8, 0x6825A449,0x7524,0x4D82,0x92,0x0F,0x50,0xE3,0x6A,0xB3,0xAB,0x1E); +typedef struct IDirectSoundBuffer8 *LPDIRECTSOUNDBUFFER8,**LPLPDIRECTSOUNDBUFFER8; + +DEFINE_GUID(IID_IDirectSoundNotify, 0xB0210783,0x89cd,0x11d0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16); +typedef struct IDirectSoundNotify *LPDIRECTSOUNDNOTIFY,**LPLPDIRECTSOUNDNOTIFY; +#define IID_IDirectSoundNotify8 IID_IDirectSoundNotify + +DEFINE_GUID(IID_IDirectSound3DListener, 0x279AFA84,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60); +typedef struct IDirectSound3DListener *LPDIRECTSOUND3DLISTENER,**LPLPDIRECTSOUND3DLISTENER; + +DEFINE_GUID(IID_IDirectSound3DBuffer, 0x279AFA86,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60); +typedef struct IDirectSound3DBuffer *LPDIRECTSOUND3DBUFFER,**LPLPDIRECTSOUND3DBUFFER; + +DEFINE_GUID(IID_IDirectSoundCapture, 0xB0210781,0x89CD,0x11D0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16); +typedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE,**LPLPDIRECTSOUNDCAPTURE; +#define IID_IDirectSoundCapture8 IID_IDirectSoundCapture +typedef struct IDirectSoundCapture IDirectSoundCapture8,*LPDIRECTSOUNDCAPTURE8,**LPLPDIRECTSOUNDCAPTURE8; + +DEFINE_GUID(IID_IDirectSoundCaptureBuffer,0xB0210782,0x89CD,0x11D0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16); +typedef struct IDirectSoundCaptureBuffer *LPDIRECTSOUNDCAPTUREBUFFER,**LPLPDIRECTSOUNDCAPTUREBUFFER; + +DEFINE_GUID(IID_IDirectSoundCaptureBuffer8,0x00990DF4,0x0DBB,0x4872,0x83,0x3E,0x6D,0x30,0x3E,0x80,0xAE,0xB6); +typedef struct IDirectSoundCaptureBuffer8 *LPDIRECTSOUNDCAPTUREBUFFER8,**LPLPDIRECTSOUNDCAPTUREBUFFER8; + +DEFINE_GUID(IID_IDirectSoundFullDuplex, 0xEDCB4C7A,0xDAAB,0x4216,0xA4,0x2E,0x6C,0x50,0x59,0x6D,0xDC,0x1D); +typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX,**LPLPDIRECTSOUNDFULLDUPLEX; +#define IID_IDirectSoundFullDuplex8 IID_IDirectSoundFullDuplex + +DEFINE_GUID(IID_IDirectSoundFXI3DL2Reverb, 0x4b166a6a, 0x0d66, 0x43f3, 0x80, 0xe3, 0xee, 0x62, 0x80, 0xde, 0xe1, 0xa4); +typedef struct IDirectSoundFXI3DL2Reverb *LPDIRECTSOUNDFXI3DL2REVERB; +#define IDirectSoundFXI3DL2Reverb8 IDirectSoundFXI3DL2Reverb +#define IID_IDirectSoundFXI3DL2Reverb8 IID_IDirectSoundFXI3DL2Reverb +typedef struct IDirectSoundFXI3DL2Reverb8 *LPDIRECTSOUNDFXI3DL2REVERB8; + +DEFINE_GUID(DSDEVID_DefaultPlayback, 0xDEF00000,0x9C6D,0x47Ed,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03); +DEFINE_GUID(DSDEVID_DefaultCapture, 0xDEF00001,0x9C6D,0x47Ed,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03); +DEFINE_GUID(DSDEVID_DefaultVoicePlayback,0xDEF00002,0x9C6D,0x47Ed,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03); +DEFINE_GUID(DSDEVID_DefaultVoiceCapture, 0xDEF00003,0x9C6D,0x47ED,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03); + +DEFINE_GUID(DSDEVID_WinePlayback, 0x40316A1D,0x605B,0xD611,0x87,0xC6,0x00,0x80,0xAD,0x00,0x02,0xFE); + +DEFINE_GUID(GUID_DSFX_STANDARD_GARGLE, 0xDAFD8210,0x5711,0x4B91,0x9F,0xE3,0xF7,0x5B,0x7A,0xE2,0x79,0xBF); +DEFINE_GUID(GUID_DSFX_STANDARD_CHORUS, 0xEFE6629C,0x81F7,0x4281,0xBD,0x91,0xC9,0xD6,0x04,0xA9,0x5A,0xF6); +DEFINE_GUID(GUID_DSFX_STANDARD_FLANGER, 0xEFCA3D92,0xDFD8,0x4672,0xA6,0x03,0x74,0x20,0x89,0x4B,0xAD,0x98); +DEFINE_GUID(GUID_DSFX_STANDARD_ECHO, 0xEF3E932C,0xD40B,0x4F51,0x8C,0xCF,0x3F,0x98,0xF1,0xB2,0x9D,0x5D); +DEFINE_GUID(GUID_DSFX_STANDARD_DISTORTION, 0xEF114C90,0xCD1D,0x484E,0x96,0xE5,0x09,0xCF,0xAF,0x91,0x2A,0x21); +DEFINE_GUID(GUID_DSFX_STANDARD_COMPRESSOR, 0xEF011F79,0x4000,0x406D,0x87,0xAF,0xBF,0xFB,0x3F,0xC3,0x9D,0x57); +DEFINE_GUID(GUID_DSFX_STANDARD_PARAMEQ, 0x120CED89,0x3BF4,0x4173,0xA1,0x32,0x3C,0xB4,0x06,0xCF,0x32,0x31); +DEFINE_GUID(GUID_DSFX_STANDARD_I3DL2REVERB, 0xEF985E71,0xD5C7,0x42D4,0xBA,0x4D,0x2D,0x07,0x3E,0x2E,0x96,0xF4); +DEFINE_GUID(GUID_DSFX_WAVES_REVERB, 0x87FC0268,0x9A55,0x4360,0x95,0xAA,0x00,0x4A,0x1D,0x9D,0xE2,0x6C); +DEFINE_GUID(GUID_DSCFX_CLASS_AEC, 0xBF963D80,0xC559,0x11D0,0x8A,0x2B,0x00,0xA0,0xC9,0x25,0x5A,0xC1); +DEFINE_GUID(GUID_DSCFX_MS_AEC, 0xCDEBB919,0x379A,0x488A,0x87,0x65,0xF5,0x3C,0xFD,0x36,0xDE,0x40); +DEFINE_GUID(GUID_DSCFX_SYSTEM_AEC, 0x1C22C56D,0x9879,0x4F5B,0xA3,0x89,0x27,0x99,0x6D,0xDC,0x28,0x10); +DEFINE_GUID(GUID_DSCFX_CLASS_NS, 0xE07F903F,0x62FD,0x4E60,0x8C,0xDD,0xDE,0xA7,0x23,0x66,0x65,0xB5); +DEFINE_GUID(GUID_DSCFX_MS_NS, 0x11C5C73B,0x66E9,0x4BA1,0xA0,0xBA,0xE8,0x14,0xC6,0xEE,0xD9,0x2D); +DEFINE_GUID(GUID_DSCFX_SYSTEM_NS, 0x5AB0882E,0x7274,0x4516,0x87,0x7D,0x4E,0xEE,0x99,0xBA,0x4F,0xD0); + +#define _FACDS 0x878 +#define MAKE_DSHRESULT(code) MAKE_HRESULT(1,_FACDS,code) + +#define DS_OK 0 +#define DS_NO_VIRTUALIZATION MAKE_HRESULT(0, _FACDS, 10) +#define DS_INCOMPLETE MAKE_HRESULT(0, _FACDS, 20) +#define DSERR_ALLOCATED MAKE_DSHRESULT(10) +#define DSERR_CONTROLUNAVAIL MAKE_DSHRESULT(30) +#define DSERR_INVALIDPARAM E_INVALIDARG +#define DSERR_INVALIDCALL MAKE_DSHRESULT(50) +#define DSERR_GENERIC E_FAIL +#define DSERR_PRIOLEVELNEEDED MAKE_DSHRESULT(70) +#define DSERR_OUTOFMEMORY E_OUTOFMEMORY +#define DSERR_BADFORMAT MAKE_DSHRESULT(100) +#define DSERR_UNSUPPORTED E_NOTIMPL +#define DSERR_NODRIVER MAKE_DSHRESULT(120) +#define DSERR_ALREADYINITIALIZED MAKE_DSHRESULT(130) +#define DSERR_NOAGGREGATION CLASS_E_NOAGGREGATION +#define DSERR_BUFFERLOST MAKE_DSHRESULT(150) +#define DSERR_OTHERAPPHASPRIO MAKE_DSHRESULT(160) +#define DSERR_UNINITIALIZED MAKE_DSHRESULT(170) +#define DSERR_NOINTERFACE E_NOINTERFACE +#define DSERR_ACCESSDENIED E_ACCESSDENIED +#define DSERR_BUFFERTOOSMALL MAKE_DSHRESULT(180) +#define DSERR_DS8_REQUIRED MAKE_DSHRESULT(190) +#define DSERR_SENDLOOP MAKE_DSHRESULT(200) +#define DSERR_BADSENDBUFFERGUID MAKE_DSHRESULT(210) +#define DSERR_FXUNAVAILABLE MAKE_DSHRESULT(220) +#define DSERR_OBJECTNOTFOUND MAKE_DSHRESULT(4449) + +#define DSCAPS_PRIMARYMONO 0x00000001 +#define DSCAPS_PRIMARYSTEREO 0x00000002 +#define DSCAPS_PRIMARY8BIT 0x00000004 +#define DSCAPS_PRIMARY16BIT 0x00000008 +#define DSCAPS_CONTINUOUSRATE 0x00000010 +#define DSCAPS_EMULDRIVER 0x00000020 +#define DSCAPS_CERTIFIED 0x00000040 +#define DSCAPS_SECONDARYMONO 0x00000100 +#define DSCAPS_SECONDARYSTEREO 0x00000200 +#define DSCAPS_SECONDARY8BIT 0x00000400 +#define DSCAPS_SECONDARY16BIT 0x00000800 + +#define DSSCL_NORMAL 1 +#define DSSCL_PRIORITY 2 +#define DSSCL_EXCLUSIVE 3 +#define DSSCL_WRITEPRIMARY 4 + +typedef struct _DSCAPS +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwMinSecondarySampleRate; + DWORD dwMaxSecondarySampleRate; + DWORD dwPrimaryBuffers; + DWORD dwMaxHwMixingAllBuffers; + DWORD dwMaxHwMixingStaticBuffers; + DWORD dwMaxHwMixingStreamingBuffers; + DWORD dwFreeHwMixingAllBuffers; + DWORD dwFreeHwMixingStaticBuffers; + DWORD dwFreeHwMixingStreamingBuffers; + DWORD dwMaxHw3DAllBuffers; + DWORD dwMaxHw3DStaticBuffers; + DWORD dwMaxHw3DStreamingBuffers; + DWORD dwFreeHw3DAllBuffers; + DWORD dwFreeHw3DStaticBuffers; + DWORD dwFreeHw3DStreamingBuffers; + DWORD dwTotalHwMemBytes; + DWORD dwFreeHwMemBytes; + DWORD dwMaxContigFreeHwMemBytes; + DWORD dwUnlockTransferRateHwBuffers; + DWORD dwPlayCpuOverheadSwBuffers; + DWORD dwReserved1; + DWORD dwReserved2; +} DSCAPS,*LPDSCAPS; +typedef const DSCAPS *LPCDSCAPS; + +#define DSBPLAY_LOOPING 0x00000001 +#define DSBPLAY_LOCHARDWARE 0x00000002 +#define DSBPLAY_LOCSOFTWARE 0x00000004 +#define DSBPLAY_TERMINATEBY_TIME 0x00000008 +#define DSBPLAY_TERMINATEBY_DISTANCE 0x000000010 +#define DSBPLAY_TERMINATEBY_PRIORITY 0x000000020 + +#define DSBSTATUS_PLAYING 0x00000001 +#define DSBSTATUS_BUFFERLOST 0x00000002 +#define DSBSTATUS_LOOPING 0x00000004 +#define DSBSTATUS_LOCHARDWARE 0x00000008 +#define DSBSTATUS_LOCSOFTWARE 0x00000010 +#define DSBSTATUS_TERMINATED 0x00000020 + +#define DSBLOCK_FROMWRITECURSOR 0x00000001 +#define DSBLOCK_ENTIREBUFFER 0x00000002 + +#define DSBCAPS_PRIMARYBUFFER 0x00000001 +#define DSBCAPS_STATIC 0x00000002 +#define DSBCAPS_LOCHARDWARE 0x00000004 +#define DSBCAPS_LOCSOFTWARE 0x00000008 +#define DSBCAPS_CTRL3D 0x00000010 +#define DSBCAPS_CTRLFREQUENCY 0x00000020 +#define DSBCAPS_CTRLPAN 0x00000040 +#define DSBCAPS_CTRLVOLUME 0x00000080 +#define DSBCAPS_CTRLDEFAULT 0x000000E0 /* Pan + volume + frequency. */ +#define DSBCAPS_CTRLPOSITIONNOTIFY 0x00000100 +#define DSBCAPS_CTRLFX 0x00000200 +#define DSBCAPS_CTRLALL 0x000001F0 /* All control capabilities */ +#define DSBCAPS_STICKYFOCUS 0x00004000 +#define DSBCAPS_GLOBALFOCUS 0x00008000 +#define DSBCAPS_GETCURRENTPOSITION2 0x00010000 /* More accurate play cursor under emulation*/ +#define DSBCAPS_MUTE3DATMAXDISTANCE 0x00020000 +#define DSBCAPS_LOCDEFER 0x00040000 + +#define DSBSIZE_MIN 4 +#define DSBSIZE_MAX 0xFFFFFFF +#define DSBPAN_LEFT -10000 +#define DSBPAN_CENTER 0 +#define DSBPAN_RIGHT 10000 +#define DSBVOLUME_MAX 0 +#define DSBVOLUME_MIN -10000 +#define DSBFREQUENCY_MIN 100 +#define DSBFREQUENCY_MAX 200000 +#define DSBFREQUENCY_ORIGINAL 0 + +#define DSBNOTIFICATIONS_MAX 100000U + +typedef struct _DSBCAPS +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwBufferBytes; + DWORD dwUnlockTransferRate; + DWORD dwPlayCpuOverhead; +} DSBCAPS,*LPDSBCAPS; +typedef const DSBCAPS *LPCDSBCAPS; + +#define DSSCL_NORMAL 1 +#define DSSCL_PRIORITY 2 +#define DSSCL_EXCLUSIVE 3 +#define DSSCL_WRITEPRIMARY 4 + +typedef struct _DSEFFECTDESC +{ + DWORD dwSize; + DWORD dwFlags; + GUID guidDSFXClass; + DWORD_PTR dwReserved1; + DWORD_PTR dwReserved2; +} DSEFFECTDESC,*LPDSEFFECTDESC; +typedef const DSEFFECTDESC *LPCDSEFFECTDESC; + +#define DSFX_LOCHARDWARE 0x00000001 +#define DSFX_LOCSOFTWARE 0x00000002 + +enum +{ + DSFXR_PRESENT, + DSFXR_LOCHARDWARE, + DSFXR_LOCSOFTWARE, + DSFXR_UNALLOCATED, + DSFXR_FAILED, + DSFXR_UNKNOWN, + DSFXR_SENDLOOP +}; + +typedef struct _DSBUFFERDESC1 +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwBufferBytes; + DWORD dwReserved; + LPWAVEFORMATEX lpwfxFormat; +} DSBUFFERDESC1,*LPDSBUFFERDESC1; +typedef const DSBUFFERDESC1 *LPCDSBUFFERDESC1; + +typedef struct _DSBUFFERDESC +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwBufferBytes; + DWORD dwReserved; + LPWAVEFORMATEX lpwfxFormat; + GUID guid3DAlgorithm; +} DSBUFFERDESC,*LPDSBUFFERDESC; +typedef const DSBUFFERDESC *LPCDSBUFFERDESC; + +typedef struct _DSBPOSITIONNOTIFY +{ + DWORD dwOffset; + HANDLE hEventNotify; +} DSBPOSITIONNOTIFY,*LPDSBPOSITIONNOTIFY; +typedef const DSBPOSITIONNOTIFY *LPCDSBPOSITIONNOTIFY; + +#define DSSPEAKER_DIRECTOUT 0 +#define DSSPEAKER_HEADPHONE 1 +#define DSSPEAKER_MONO 2 +#define DSSPEAKER_QUAD 3 +#define DSSPEAKER_STEREO 4 +#define DSSPEAKER_SURROUND 5 +#define DSSPEAKER_5POINT1 6 +#define DSSPEAKER_5POINT1_BACK 6 +#define DSSPEAKER_7POINT1 7 +#define DSSPEAKER_7POINT1_WIDE 7 +#define DSSPEAKER_7POINT1_SURROUND 8 +#define DSSPEAKER_5POINT1_SURROUND 9 + +#define DSSPEAKER_GEOMETRY_MIN 0x00000005 /* 5 degrees */ +#define DSSPEAKER_GEOMETRY_NARROW 0x0000000A /* 10 degrees */ +#define DSSPEAKER_GEOMETRY_WIDE 0x00000014 /* 20 degrees */ +#define DSSPEAKER_GEOMETRY_MAX 0x000000B4 /* 180 degrees */ + +#define DSSPEAKER_COMBINED(c, g) ((DWORD)(((BYTE)(c)) | ((DWORD)((BYTE)(g))) << 16)) +#define DSSPEAKER_CONFIG(a) ((BYTE)(a)) +#define DSSPEAKER_GEOMETRY(a) ((BYTE)(((DWORD)(a) >> 16) & 0x00FF)) + +#define DS_CERTIFIED 0x00000000 +#define DS_UNCERTIFIED 0x00000001 + +typedef struct _DSCEFFECTDESC +{ + DWORD dwSize; + DWORD dwFlags; + GUID guidDSCFXClass; + GUID guidDSCFXInstance; + DWORD dwReserved1; + DWORD dwReserved2; +} DSCEFFECTDESC, *LPDSCEFFECTDESC; +typedef const DSCEFFECTDESC *LPCDSCEFFECTDESC; + +#define DSCFX_LOCHARDWARE 0x00000001 +#define DSCFX_LOCSOFTWARE 0x00000002 + +#define DSCFXR_LOCHARDWARE 0x00000010 +#define DSCFXR_LOCSOFTWARE 0x00000020 + +typedef struct _DSCBUFFERDESC1 +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwBufferBytes; + DWORD dwReserved; + LPWAVEFORMATEX lpwfxFormat; +} DSCBUFFERDESC1, *LPDSCBUFFERDESC1; + +typedef struct _DSCBUFFERDESC +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwBufferBytes; + DWORD dwReserved; + LPWAVEFORMATEX lpwfxFormat; + DWORD dwFXCount; + LPDSCEFFECTDESC lpDSCFXDesc; +} DSCBUFFERDESC, *LPDSCBUFFERDESC; +typedef const DSCBUFFERDESC *LPCDSCBUFFERDESC; + +typedef struct _DSCCAPS +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwFormats; + DWORD dwChannels; +} DSCCAPS, *LPDSCCAPS; +typedef const DSCCAPS *LPCDSCCAPS; + +typedef struct _DSCBCAPS +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwBufferBytes; + DWORD dwReserved; +} DSCBCAPS, *LPDSCBCAPS; +typedef const DSCBCAPS *LPCDSCBCAPS; + +typedef struct _DSFXI3DL2Reverb +{ + LONG lRoom; + LONG lRoomHF; + FLOAT flRoomRolloffFactor; + FLOAT flDecayTime; + FLOAT flDecayHFRatio; + LONG lReflections; + FLOAT flReflectionsDelay; + LONG lReverb; + FLOAT flReverbDelay; + FLOAT flDiffusion; + FLOAT flDensity; + FLOAT flHFReference; +} DSFXI3DL2Reverb, *LPDSFXI3DL2Reverb; + +typedef const DSFXI3DL2Reverb *LPCDSFXI3DL2Reverb; + +#define DSCCAPS_EMULDRIVER DSCAPS_EMULDRIVER +#define DSCCAPS_CERTIFIED DSCAPS_CERTIFIED +#define DSCCAPS_MULTIPLECAPTURE 0x00000001 + +#define DSCBCAPS_WAVEMAPPED 0x80000000 +#define DSCBCAPS_CTRLFX 0x00000200 + +#define DSCBLOCK_ENTIREBUFFER 0x00000001 +#define DSCBSTART_LOOPING 0x00000001 +#define DSCBPN_OFFSET_STOP 0xffffffff + +#define DSCBSTATUS_CAPTURING 0x00000001 +#define DSCBSTATUS_LOOPING 0x00000002 + +#ifndef __LPCGUID_DEFINED__ +#define __LPCGUID_DEFINED__ +typedef const GUID *LPCGUID; +#endif + +typedef BOOL (CALLBACK *LPDSENUMCALLBACKW)(LPGUID,LPCWSTR,LPCWSTR,LPVOID); +typedef BOOL (CALLBACK *LPDSENUMCALLBACKA)(LPGUID,LPCSTR,LPCSTR,LPVOID); +DECL_WINELIB_TYPE_AW(LPDSENUMCALLBACK) + +extern HRESULT WINAPI DirectSoundCreate(LPCGUID lpGUID,LPDIRECTSOUND *ppDS,LPUNKNOWN pUnkOuter); +extern HRESULT WINAPI DirectSoundEnumerateA(LPDSENUMCALLBACKA, LPVOID); +extern HRESULT WINAPI DirectSoundEnumerateW(LPDSENUMCALLBACKW, LPVOID); +#define DirectSoundEnumerate WINELIB_NAME_AW(DirectSoundEnumerate) +extern HRESULT WINAPI DirectSoundCaptureCreate(LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE *ppDSC, LPUNKNOWN pUnkOuter); +extern HRESULT WINAPI DirectSoundCaptureEnumerateA(LPDSENUMCALLBACKA, LPVOID); +extern HRESULT WINAPI DirectSoundCaptureEnumerateW(LPDSENUMCALLBACKW, LPVOID); +#define DirectSoundCaptureEnumerate WINELIB_NAME_AW(DirectSoundCaptureEnumerate) + +extern HRESULT WINAPI DirectSoundCreate8(LPCGUID lpGUID,LPDIRECTSOUND8 *ppDS8,LPUNKNOWN pUnkOuter); +extern HRESULT WINAPI DirectSoundCaptureCreate8(LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE8 *ppDSC8, LPUNKNOWN pUnkOuter); +extern HRESULT WINAPI DirectSoundFullDuplexCreate(LPCGUID pcGuidCaptureDevice, LPCGUID pcGuidRenderDevice, + LPCDSCBUFFERDESC pcDSCBufferDesc, LPCDSBUFFERDESC pcDSBufferDesc, HWND hWnd, DWORD dwLevel, + LPDIRECTSOUNDFULLDUPLEX *ppDSFD, LPDIRECTSOUNDCAPTUREBUFFER8 *ppDSCBuffer8, LPDIRECTSOUNDBUFFER8 *ppDSBuffer8, LPUNKNOWN pUnkOuter); +#define DirectSoundFullDuplexCreate8 DirectSoundFullDuplexCreate +extern HRESULT WINAPI GetDeviceID(LPCGUID lpGuidSrc, LPGUID lpGuidDest); + + +/***************************************************************************** + * IDirectSound interface + */ +#define INTERFACE IDirectSound +DECLARE_INTERFACE_(IDirectSound,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSound methods ***/ + STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDirectSoundBuffer, IUnknown *pUnkOuter) PURE; + STDMETHOD(GetCaps)(THIS_ LPDSCAPS lpDSCaps) PURE; + STDMETHOD(DuplicateSoundBuffer)(THIS_ LPDIRECTSOUNDBUFFER lpDsbOriginal, LPLPDIRECTSOUNDBUFFER lplpDsbDuplicate) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwLevel) PURE; + STDMETHOD(Compact)(THIS) PURE; + STDMETHOD(GetSpeakerConfig)(THIS_ LPDWORD lpdwSpeakerConfig) PURE; + STDMETHOD(SetSpeakerConfig)(THIS_ DWORD dwSpeakerConfig) PURE; + STDMETHOD(Initialize)(THIS_ LPCGUID lpcGuid) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSound_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSound_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSound_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSound methods ***/ +#define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c) +#define IDirectSound_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b) +#define IDirectSound_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectSound_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectSound_GetSpeakerConfig(p,a) (p)->lpVtbl->GetSpeakerConfig(p,a) +#define IDirectSound_SetSpeakerConfig(p,a) (p)->lpVtbl->SetSpeakerConfig(p,a) +#define IDirectSound_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectSound_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSound_AddRef(p) (p)->AddRef() +#define IDirectSound_Release(p) (p)->Release() +/*** IDirectSound methods ***/ +#define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->CreateSoundBuffer(a,b,c) +#define IDirectSound_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->DuplicateSoundBuffer(a,b) +#define IDirectSound_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectSound_Compact(p) (p)->Compact() +#define IDirectSound_GetSpeakerConfig(p,a) (p)->GetSpeakerConfig(a) +#define IDirectSound_SetSpeakerConfig(p,a) (p)->SetSpeakerConfig(a) +#define IDirectSound_Initialize(p,a) (p)->Initialize(a) +#endif + + +/***************************************************************************** + * IDirectSound8 interface + */ +#define INTERFACE IDirectSound8 +DECLARE_INTERFACE_(IDirectSound8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSound8 methods ***/ + STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDirectSoundBuffer, IUnknown *pUnkOuter) PURE; + STDMETHOD(GetCaps)(THIS_ LPDSCAPS lpDSCaps) PURE; + STDMETHOD(DuplicateSoundBuffer)(THIS_ LPDIRECTSOUNDBUFFER lpDsbOriginal, LPLPDIRECTSOUNDBUFFER lplpDsbDuplicate) PURE; + STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwLevel) PURE; + STDMETHOD(Compact)(THIS) PURE; + STDMETHOD(GetSpeakerConfig)(THIS_ LPDWORD lpdwSpeakerConfig) PURE; + STDMETHOD(SetSpeakerConfig)(THIS_ DWORD dwSpeakerConfig) PURE; + STDMETHOD(Initialize)(THIS_ LPCGUID lpcGuid) PURE; + STDMETHOD(VerifyCertification)(THIS_ LPDWORD pdwCertified) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSound8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSound8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSound8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSound methods ***/ +#define IDirectSound8_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c) +#define IDirectSound8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSound8_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b) +#define IDirectSound8_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) +#define IDirectSound8_Compact(p) (p)->lpVtbl->Compact(p) +#define IDirectSound8_GetSpeakerConfig(p,a) (p)->lpVtbl->GetSpeakerConfig(p,a) +#define IDirectSound8_SetSpeakerConfig(p,a) (p)->lpVtbl->SetSpeakerConfig(p,a) +#define IDirectSound8_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +/*** IDirectSound8 methods ***/ +#define IDirectSound8_VerifyCertification(p,a) (p)->lpVtbl->VerifyCertification(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectSound8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSound8_AddRef(p) (p)->AddRef() +#define IDirectSound8_Release(p) (p)->Release() +/*** IDirectSound methods ***/ +#define IDirectSound8_CreateSoundBuffer(p,a,b,c) (p)->CreateSoundBuffer(a,b,c) +#define IDirectSound8_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSound8_DuplicateSoundBuffer(p,a,b) (p)->DuplicateSoundBuffer(a,b) +#define IDirectSound8_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b) +#define IDirectSound8_Compact(p) (p)->Compact() +#define IDirectSound8_GetSpeakerConfig(p,a) (p)->GetSpeakerConfig(a) +#define IDirectSound8_SetSpeakerConfig(p,a) (p)->SetSpeakerConfig(a) +#define IDirectSound8_Initialize(p,a) (p)->Initialize(a) +/*** IDirectSound8 methods ***/ +#define IDirectSound8_VerifyCertification(p,a) (p)->VerifyCertification(a) +#endif + + +/***************************************************************************** + * IDirectSoundBuffer interface + */ +#define INTERFACE IDirectSoundBuffer +DECLARE_INTERFACE_(IDirectSoundBuffer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundBuffer methods ***/ + STDMETHOD(GetCaps)(THIS_ LPDSBCAPS lpDSBufferCaps) PURE; + STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE; + STDMETHOD(GetVolume)(THIS_ LPLONG lplVolume) PURE; + STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE; + STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; + STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE; + STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE; + STDMETHOD(Lock)(THIS_ DWORD dwOffset, DWORD dwBytes, LPVOID *ppvAudioPtr1, LPDWORD pdwAudioBytes1, LPVOID *ppvAudioPtr2, LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE; + STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE; + STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE; + STDMETHOD(SetFormat)(THIS_ LPCWAVEFORMATEX lpcfxFormat) PURE; + STDMETHOD(SetVolume)(THIS_ LONG lVolume) PURE; + STDMETHOD(SetPan)(THIS_ LONG lPan) PURE; + STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE; + STDMETHOD(Stop)(THIS) PURE; + STDMETHOD(Unlock)(THIS_ LPVOID pvAudioPtr1, DWORD dwAudioBytes1, LPVOID pvAudioPtr2, DWORD dwAudioPtr2) PURE; + STDMETHOD(Restore)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundBuffer methods ***/ +#define IDirectSoundBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b) +#define IDirectSoundBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c) +#define IDirectSoundBuffer_GetVolume(p,a) (p)->lpVtbl->GetVolume(p,a) +#define IDirectSoundBuffer_GetPan(p,a) (p)->lpVtbl->GetPan(p,a) +#define IDirectSoundBuffer_GetFrequency(p,a) (p)->lpVtbl->GetFrequency(p,a) +#define IDirectSoundBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a) +#define IDirectSoundBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectSoundBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g) +#define IDirectSoundBuffer_Play(p,a,b,c) (p)->lpVtbl->Play(p,a,b,c) +#define IDirectSoundBuffer_SetCurrentPosition(p,a) (p)->lpVtbl->SetCurrentPosition(p,a) +#define IDirectSoundBuffer_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a) +#define IDirectSoundBuffer_SetVolume(p,a) (p)->lpVtbl->SetVolume(p,a) +#define IDirectSoundBuffer_SetPan(p,a) (p)->lpVtbl->SetPan(p,a) +#define IDirectSoundBuffer_SetFrequency(p,a) (p)->lpVtbl->SetFrequency(p,a) +#define IDirectSoundBuffer_Stop(p) (p)->lpVtbl->Stop(p) +#define IDirectSoundBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d) +#define IDirectSoundBuffer_Restore(p) (p)->lpVtbl->Restore(p) +#else +/*** IUnknown methods ***/ +#define IDirectSoundBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundBuffer_AddRef(p) (p)->AddRef() +#define IDirectSoundBuffer_Release(p) (p)->Release() +/*** IDirectSoundBuffer methods ***/ +#define IDirectSoundBuffer_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b) +#define IDirectSoundBuffer_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c) +#define IDirectSoundBuffer_GetVolume(p,a) (p)->GetVolume(a) +#define IDirectSoundBuffer_GetPan(p,a) (p)->GetPan(a) +#define IDirectSoundBuffer_GetFrequency(p,a) (p)->GetFrequency(a) +#define IDirectSoundBuffer_GetStatus(p,a) (p)->GetStatus(a) +#define IDirectSoundBuffer_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectSoundBuffer_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g) +#define IDirectSoundBuffer_Play(p,a,b,c) (p)->Play(a,b,c) +#define IDirectSoundBuffer_SetCurrentPosition(p,a) (p)->SetCurrentPosition(a) +#define IDirectSoundBuffer_SetFormat(p,a) (p)->SetFormat(a) +#define IDirectSoundBuffer_SetVolume(p,a) (p)->SetVolume(a) +#define IDirectSoundBuffer_SetPan(p,a) (p)->SetPan(a) +#define IDirectSoundBuffer_SetFrequency(p,a) (p)->SetFrequency(a) +#define IDirectSoundBuffer_Stop(p) (p)->Stop() +#define IDirectSoundBuffer_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d) +#define IDirectSoundBuffer_Restore(p) (p)->Restore() +#endif + + +/***************************************************************************** + * IDirectSoundBuffer8 interface + */ +#define INTERFACE IDirectSoundBuffer8 +DECLARE_INTERFACE_(IDirectSoundBuffer8,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundBuffer8 methods ***/ + STDMETHOD(GetCaps)(THIS_ LPDSBCAPS lpDSBufferCaps) PURE; + STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE; + STDMETHOD(GetVolume)(THIS_ LPLONG lplVolume) PURE; + STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE; + STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; + STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE; + STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE; + STDMETHOD(Lock)(THIS_ DWORD dwOffset, DWORD dwBytes, LPVOID *ppvAudioPtr1, LPDWORD pdwAudioBytes1, LPVOID *ppvAudioPtr2, LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE; + STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE; + STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE; + STDMETHOD(SetFormat)(THIS_ LPCWAVEFORMATEX lpcfxFormat) PURE; + STDMETHOD(SetVolume)(THIS_ LONG lVolume) PURE; + STDMETHOD(SetPan)(THIS_ LONG lPan) PURE; + STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE; + STDMETHOD(Stop)(THIS) PURE; + STDMETHOD(Unlock)(THIS_ LPVOID pvAudioPtr1, DWORD dwAudioBytes1, LPVOID pvAudioPtr2, DWORD dwAudioPtr2) PURE; + STDMETHOD(Restore)(THIS) PURE; + STDMETHOD(SetFX)(THIS_ DWORD dwEffectsCount, LPDSEFFECTDESC pDSFXDesc, LPDWORD pdwResultCodes) PURE; + STDMETHOD(AcquireResources)(THIS_ DWORD dwFlags, DWORD dwEffectsCount, LPDWORD pdwResultCodes) PURE; + STDMETHOD(GetObjectInPath)(THIS_ REFGUID rguidObject, DWORD dwIndex, REFGUID rguidInterface, LPVOID *ppObject) PURE; +}; +#undef INTERFACE + +DEFINE_GUID(GUID_All_Objects, 0xaa114de5, 0xc262, 0x4169, 0xa1, 0xc8, 0x23, 0xd6, 0x98, 0xcc, 0x73, 0xb5); + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundBuffer8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundBuffer methods ***/ +#define IDirectSoundBuffer8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSoundBuffer8_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b) +#define IDirectSoundBuffer8_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c) +#define IDirectSoundBuffer8_GetVolume(p,a) (p)->lpVtbl->GetVolume(p,a) +#define IDirectSoundBuffer8_GetPan(p,a) (p)->lpVtbl->GetPan(p,a) +#define IDirectSoundBuffer8_GetFrequency(p,a) (p)->lpVtbl->GetFrequency(p,a) +#define IDirectSoundBuffer8_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a) +#define IDirectSoundBuffer8_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectSoundBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g) +#define IDirectSoundBuffer8_Play(p,a,b,c) (p)->lpVtbl->Play(p,a,b,c) +#define IDirectSoundBuffer8_SetCurrentPosition(p,a) (p)->lpVtbl->SetCurrentPosition(p,a) +#define IDirectSoundBuffer8_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a) +#define IDirectSoundBuffer8_SetVolume(p,a) (p)->lpVtbl->SetVolume(p,a) +#define IDirectSoundBuffer8_SetPan(p,a) (p)->lpVtbl->SetPan(p,a) +#define IDirectSoundBuffer8_SetFrequency(p,a) (p)->lpVtbl->SetFrequency(p,a) +#define IDirectSoundBuffer8_Stop(p) (p)->lpVtbl->Stop(p) +#define IDirectSoundBuffer8_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d) +#define IDirectSoundBuffer8_Restore(p) (p)->lpVtbl->Restore(p) +/*** IDirectSoundBuffer8 methods ***/ +#define IDirectSoundBuffer8_SetFX(p,a,b,c) (p)->lpVtbl->SetFX(p,a,b,c) +#define IDirectSoundBuffer8_AcquireResources(p,a,b,c) (p)->lpVtbl->AcquireResources(p,a,b,c) +#define IDirectSoundBuffer8_GetObjectInPath(p,a,b,c,d) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectSoundBuffer8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundBuffer8_AddRef(p) (p)->AddRef() +#define IDirectSoundBuffer8_Release(p) (p)->Release() +/*** IDirectSoundBuffer methods ***/ +#define IDirectSoundBuffer8_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSoundBuffer8_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b) +#define IDirectSoundBuffer8_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c) +#define IDirectSoundBuffer8_GetVolume(p,a) (p)->GetVolume(a) +#define IDirectSoundBuffer8_GetPan(p,a) (p)->GetPan(a) +#define IDirectSoundBuffer8_GetFrequency(p,a) (p)->GetFrequency(a) +#define IDirectSoundBuffer8_GetStatus(p,a) (p)->GetStatus(a) +#define IDirectSoundBuffer8_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectSoundBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g) +#define IDirectSoundBuffer8_Play(p,a,b,c) (p)->Play(a,b,c) +#define IDirectSoundBuffer8_SetCurrentPosition(p,a) (p)->SetCurrentPosition(a) +#define IDirectSoundBuffer8_SetFormat(p,a) (p)->SetFormat(a) +#define IDirectSoundBuffer8_SetVolume(p,a) (p)->SetVolume(a) +#define IDirectSoundBuffer8_SetPan(p,a) (p)->SetPan(a) +#define IDirectSoundBuffer8_SetFrequency(p,a) (p)->SetFrequency(a) +#define IDirectSoundBuffer8_Stop(p) (p)->Stop() +#define IDirectSoundBuffer8_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d) +#define IDirectSoundBuffer8_Restore(p) (p)->Restore() +/*** IDirectSoundBuffer8 methods ***/ +#define IDirectSoundBuffer8_SetFX(p,a,b,c) (p)->SetFX(a,b,c) +#define IDirectSoundBuffer8_AcquireResources(p,a,b,c) (p)->AcquireResources(a,b,c) +#define IDirectSoundBuffer8_GetObjectInPath(p,a,b,c,d) (p)->GetObjectInPath(a,b,c,d) +#endif + + +/***************************************************************************** + * IDirectSoundCapture interface + */ +#define INTERFACE IDirectSoundCapture +DECLARE_INTERFACE_(IDirectSoundCapture,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundCapture methods ***/ + STDMETHOD(CreateCaptureBuffer)(THIS_ LPCDSCBUFFERDESC lpcDSCBufferDesc,LPDIRECTSOUNDCAPTUREBUFFER *lplpDSCaptureBuffer, LPUNKNOWN pUnk) PURE; + STDMETHOD(GetCaps)(THIS_ LPDSCCAPS lpDSCCaps) PURE; + STDMETHOD(Initialize)(THIS_ LPCGUID lpcGUID) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundCapture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundCapture_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundCapture_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundCapture methods ***/ +#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c) +#define IDirectSoundCapture_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSoundCapture_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#else +/*** IUnknown methods ***/ +#define IDirectSoundCapture_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundCapture_AddRef(p) (p)->AddRef() +#define IDirectSoundCapture_Release(p) (p)->Release() +/*** IDirectSoundCapture methods ***/ +#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->CreateCaptureBuffer(a,b,c) +#define IDirectSoundCapture_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSoundCapture_Initialize(p,a) (p)->Initialize(a) +#endif + +/***************************************************************************** + * IDirectSoundCaptureBuffer interface + */ +#define INTERFACE IDirectSoundCaptureBuffer +DECLARE_INTERFACE_(IDirectSoundCaptureBuffer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundCaptureBuffer methods ***/ + STDMETHOD(GetCaps)(THIS_ LPDSCBCAPS lpDSCBCaps) PURE; + STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCapturePosition,LPDWORD lpdwReadPosition) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE; + STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE; + STDMETHOD(Initialize)(THIS_ LPDIRECTSOUNDCAPTURE lpDSC, LPCDSCBUFFERDESC lpcDSCBDesc) PURE; + STDMETHOD(Lock)(THIS_ DWORD dwReadCusor, DWORD dwReadBytes, LPVOID *lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID *lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE; + STDMETHOD(Start)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(Stop)(THIS) PURE; + STDMETHOD(Unlock)(THIS_ LPVOID lpvAudioPtr1, DWORD dwAudioBytes1, LPVOID lpvAudioPtr2, DWORD dwAudioBytes2) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundCaptureBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundCaptureBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundCaptureBuffer methods ***/ +#define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b) +#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c) +#define IDirectSoundCaptureBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a) +#define IDirectSoundCaptureBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectSoundCaptureBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g) +#define IDirectSoundCaptureBuffer_Start(p,a) (p)->lpVtbl->Start(p,a) +#define IDirectSoundCaptureBuffer_Stop(p) (p)->lpVtbl->Stop(p) +#define IDirectSoundCaptureBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundCaptureBuffer_AddRef(p) (p)->AddRef() +#define IDirectSoundCaptureBuffer_Release(p) (p)->Release() +/*** IDirectSoundCaptureBuffer methods ***/ +#define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b) +#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c) +#define IDirectSoundCaptureBuffer_GetStatus(p,a) (p)->GetStatus(a) +#define IDirectSoundCaptureBuffer_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectSoundCaptureBuffer_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g) +#define IDirectSoundCaptureBuffer_Start(p,a) (p)->Start(a) +#define IDirectSoundCaptureBuffer_Stop(p) (p)->Stop() +#define IDirectSoundCaptureBuffer_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d) +#endif + +/***************************************************************************** + * IDirectSoundCaptureBuffer8 interface + */ +#define INTERFACE IDirectSoundCaptureBuffer8 +DECLARE_INTERFACE_(IDirectSoundCaptureBuffer8,IDirectSoundCaptureBuffer) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundCaptureBuffer methods ***/ + STDMETHOD(GetCaps)(THIS_ LPDSCBCAPS lpDSCBCaps) PURE; + STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCapturePosition,LPDWORD lpdwReadPosition) PURE; + STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE; + STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE; + STDMETHOD(Initialize)(THIS_ LPDIRECTSOUNDCAPTURE lpDSC, LPCDSCBUFFERDESC lpcDSCBDesc) PURE; + STDMETHOD(Lock)(THIS_ DWORD dwReadCusor, DWORD dwReadBytes, LPVOID *lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID *lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE; + STDMETHOD(Start)(THIS_ DWORD dwFlags) PURE; + STDMETHOD(Stop)(THIS) PURE; + STDMETHOD(Unlock)(THIS_ LPVOID lpvAudioPtr1, DWORD dwAudioBytes1, LPVOID lpvAudioPtr2, DWORD dwAudioBytes2) PURE; + /*** IDirectSoundCaptureBuffer8 methods ***/ + STDMETHOD(GetObjectInPath)(THIS_ REFGUID rguidObject, DWORD dwIndex, REFGUID rguidInterface, LPVOID *ppObject) PURE; + STDMETHOD(GetFXStatus)(THIS_ DWORD dwFXCount, LPDWORD pdwFXStatus) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundCaptureBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundCaptureBuffer8_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundCaptureBuffer methods ***/ +#define IDirectSoundCaptureBuffer8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b) +#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c) +#define IDirectSoundCaptureBuffer8_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a) +#define IDirectSoundCaptureBuffer8_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IDirectSoundCaptureBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g) +#define IDirectSoundCaptureBuffer8_Start(p,a) (p)->lpVtbl->Start(p,a) +#define IDirectSoundCaptureBuffer8_Stop(p) (p)->lpVtbl->Stop(p) +#define IDirectSoundCaptureBuffer8_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d) +/*** IDirectSoundCaptureBuffer8 methods ***/ +#define IDirectSoundCaptureBuffer8_GetObjectInPath(p,a,b,c,d) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d) +#define IDirectSoundCaptureBuffer8_GetFXStatus(p,a,b) (p)->lpVtbl->GetFXStatus(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundCaptureBuffer8_AddRef(p) (p)->AddRef() +#define IDirectSoundCaptureBuffer8_Release(p) (p)->Release() +/*** IDirectSoundCaptureBuffer methods ***/ +#define IDirectSoundCaptureBuffer8_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b) +#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c) +#define IDirectSoundCaptureBuffer8_GetStatus(p,a) (p)->GetStatus(a) +#define IDirectSoundCaptureBuffer8_Initialize(p,a,b) (p)->Initialize(a,b) +#define IDirectSoundCaptureBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g) +#define IDirectSoundCaptureBuffer8_Start(p,a) (p)->Start(a) +#define IDirectSoundCaptureBuffer8_Stop(p) (p)->Stop() +#define IDirectSoundCaptureBuffer8_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d) +/*** IDirectSoundCaptureBuffer8 methods ***/ +#define IDirectSoundCaptureBuffer8_GetObjectInPath(p,a,b,c,d) (p)->GetObjectInPath(a,b,c,d) +#define IDirectSoundCaptureBuffer8_GetFXStatus(p,a,b) (p)->GetFXStatus(a,b) +#endif + +/***************************************************************************** + * IDirectSoundNotify interface + */ +#define WINE_NOBUFFER 0x80000000 + +#define DSBPN_OFFSETSTOP -1 + +#define INTERFACE IDirectSoundNotify +DECLARE_INTERFACE_(IDirectSoundNotify,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundNotify methods ***/ + STDMETHOD(SetNotificationPositions)(THIS_ DWORD cPositionNotifies, LPCDSBPOSITIONNOTIFY lpcPositionNotifies) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundNotify_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundNotify_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundNotify_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundNotify methods ***/ +#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->lpVtbl->SetNotificationPositions(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDirectSoundNotify_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundNotify_AddRef(p) (p)->AddRef() +#define IDirectSoundNotify_Release(p) (p)->Release() +/*** IDirectSoundNotify methods ***/ +#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->SetNotificationPositions(a,b) +#endif + + +/***************************************************************************** + * IDirectSound3DListener interface + */ +#define DS3DMODE_NORMAL 0x00000000 +#define DS3DMODE_HEADRELATIVE 0x00000001 +#define DS3DMODE_DISABLE 0x00000002 + +#define DS3D_IMMEDIATE 0x00000000 +#define DS3D_DEFERRED 0x00000001 + +#define DS3D_MINDISTANCEFACTOR FLT_MIN +#define DS3D_MAXDISTANCEFACTOR FLT_MAX +#define DS3D_DEFAULTDISTANCEFACTOR 1.0f + +#define DS3D_MINROLLOFFFACTOR 0.0f +#define DS3D_MAXROLLOFFFACTOR 10.0f +#define DS3D_DEFAULTROLLOFFFACTOR 1.0f + +#define DS3D_MINDOPPLERFACTOR 0.0f +#define DS3D_MAXDOPPLERFACTOR 10.0f +#define DS3D_DEFAULTDOPPLERFACTOR 1.0f + +#define DS3D_DEFAULTMINDISTANCE 1.0f +#define DS3D_DEFAULTMAXDISTANCE 1000000000.0f + +#define DS3D_MINCONEANGLE 0 +#define DS3D_MAXCONEANGLE 360 +#define DS3D_DEFAULTCONEANGLE 360 + +#define DS3D_DEFAULTCONEOUTSIDEVOLUME DSBVOLUME_MAX + +typedef struct _DS3DLISTENER { + DWORD dwSize; + D3DVECTOR vPosition; + D3DVECTOR vVelocity; + D3DVECTOR vOrientFront; + D3DVECTOR vOrientTop; + D3DVALUE flDistanceFactor; + D3DVALUE flRolloffFactor; + D3DVALUE flDopplerFactor; +} DS3DLISTENER, *LPDS3DLISTENER; + +typedef const DS3DLISTENER *LPCDS3DLISTENER; + +#define INTERFACE IDirectSound3DListener +DECLARE_INTERFACE_(IDirectSound3DListener,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSound3DListener methods ***/ + STDMETHOD(GetAllParameters)(THIS_ LPDS3DLISTENER lpListener) PURE; + STDMETHOD(GetDistanceFactor)(THIS_ LPD3DVALUE lpflDistanceFactor) PURE; + STDMETHOD(GetDopplerFactor)(THIS_ LPD3DVALUE lpflDopplerFactor) PURE; + STDMETHOD(GetOrientation)(THIS_ LPD3DVECTOR lpvOrientFront, LPD3DVECTOR lpvOrientTop) PURE; + STDMETHOD(GetPosition)(THIS_ LPD3DVECTOR lpvPosition) PURE; + STDMETHOD(GetRolloffFactor)(THIS_ LPD3DVALUE lpflRolloffFactor) PURE; + STDMETHOD(GetVelocity)(THIS_ LPD3DVECTOR lpvVelocity) PURE; + STDMETHOD(SetAllParameters)(THIS_ LPCDS3DLISTENER lpcListener, DWORD dwApply) PURE; + STDMETHOD(SetDistanceFactor)(THIS_ D3DVALUE flDistanceFactor, DWORD dwApply) PURE; + STDMETHOD(SetDopplerFactor)(THIS_ D3DVALUE flDopplerFactor, DWORD dwApply) PURE; + STDMETHOD(SetOrientation)(THIS_ D3DVALUE xFront, D3DVALUE yFront, D3DVALUE zFront, D3DVALUE xTop, D3DVALUE yTop, D3DVALUE zTop, DWORD dwApply) PURE; + STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; + STDMETHOD(SetRolloffFactor)(THIS_ D3DVALUE flRolloffFactor, DWORD dwApply) PURE; + STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; + STDMETHOD(CommitDeferredSettings)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSound3DListener_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSound3DListener_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSound3DListener_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSound3DListener methods ***/ +#define IDirectSound3DListener_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a) +#define IDirectSound3DListener_GetDistanceFactor(p,a) (p)->lpVtbl->GetDistanceFactor(p,a) +#define IDirectSound3DListener_GetDopplerFactor(p,a) (p)->lpVtbl->GetDopplerFactor(p,a) +#define IDirectSound3DListener_GetOrientation(p,a,b) (p)->lpVtbl->GetOrientation(p,a,b) +#define IDirectSound3DListener_GetPosition(p,a) (p)->lpVtbl->GetPosition(p,a) +#define IDirectSound3DListener_GetRolloffFactor(p,a) (p)->lpVtbl->GetRolloffFactor(p,a) +#define IDirectSound3DListener_GetVelocity(p,a) (p)->lpVtbl->GetVelocity(p,a) +#define IDirectSound3DListener_SetAllParameters(p,a,b) (p)->lpVtbl->SetAllParameters(p,a,b) +#define IDirectSound3DListener_SetDistanceFactor(p,a,b) (p)->lpVtbl->SetDistanceFactor(p,a,b) +#define IDirectSound3DListener_SetDopplerFactor(p,a,b) (p)->lpVtbl->SetDopplerFactor(p,a,b) +#define IDirectSound3DListener_SetOrientation(p,a,b,c,d,e,f,g) (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g) +#define IDirectSound3DListener_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d) +#define IDirectSound3DListener_SetRolloffFactor(p,a,b) (p)->lpVtbl->SetRolloffFactor(p,a,b) +#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) (p)->lpVtbl->SetVelocity(p,a,b,c,d) +#define IDirectSound3DListener_CommitDeferredSettings(p) (p)->lpVtbl->CommitDeferredSettings(p) +#else +/*** IUnknown methods ***/ +#define IDirectSound3DListener_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSound3DListener_AddRef(p) (p)->AddRef() +#define IDirectSound3DListener_Release(p) (p)->Release() +/*** IDirectSound3DListener methods ***/ +#define IDirectSound3DListener_GetAllParameters(p,a) (p)->GetAllParameters(a) +#define IDirectSound3DListener_GetDistanceFactor(p,a) (p)->GetDistanceFactor(a) +#define IDirectSound3DListener_GetDopplerFactor(p,a) (p)->GetDopplerFactor(a) +#define IDirectSound3DListener_GetOrientation(p,a,b) (p)->GetOrientation(a,b) +#define IDirectSound3DListener_GetPosition(p,a) (p)->GetPosition(a) +#define IDirectSound3DListener_GetRolloffFactor(p,a) (p)->GetRolloffFactor(a) +#define IDirectSound3DListener_GetVelocity(p,a) (p)->GetVelocity(a) +#define IDirectSound3DListener_SetAllParameters(p,a,b) (p)->SetAllParameters(a,b) +#define IDirectSound3DListener_SetDistanceFactor(p,a,b) (p)->SetDistanceFactor(a,b) +#define IDirectSound3DListener_SetDopplerFactor(p,a,b) (p)->SetDopplerFactor(a,b) +#define IDirectSound3DListener_SetOrientation(p,a,b,c,d,e,f,g) (p)->SetOrientation(a,b,c,d,e,f,g) +#define IDirectSound3DListener_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d) +#define IDirectSound3DListener_SetRolloffFactor(p,a,b) (p)->SetRolloffFactor(a,b) +#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) (p)->SetVelocity(a,b,c,d) +#define IDirectSound3DListener_CommitDeferredSettings(p) (p)->CommitDeferredSettings() +#endif + + +/***************************************************************************** + * IDirectSound3DBuffer interface + */ +typedef struct _DS3DBUFFER { + DWORD dwSize; + D3DVECTOR vPosition; + D3DVECTOR vVelocity; + DWORD dwInsideConeAngle; + DWORD dwOutsideConeAngle; + D3DVECTOR vConeOrientation; + LONG lConeOutsideVolume; + D3DVALUE flMinDistance; + D3DVALUE flMaxDistance; + DWORD dwMode; +} DS3DBUFFER, *LPDS3DBUFFER; + +typedef const DS3DBUFFER *LPCDS3DBUFFER; + +#define INTERFACE IDirectSound3DBuffer +DECLARE_INTERFACE_(IDirectSound3DBuffer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSound3DBuffer methods ***/ + STDMETHOD(GetAllParameters)(THIS_ LPDS3DBUFFER lpDs3dBuffer) PURE; + STDMETHOD(GetConeAngles)(THIS_ LPDWORD lpdwInsideConeAngle, LPDWORD lpdwOutsideConeAngle) PURE; + STDMETHOD(GetConeOrientation)(THIS_ LPD3DVECTOR lpvOrientation) PURE; + STDMETHOD(GetConeOutsideVolume)(THIS_ LPLONG lplConeOutsideVolume) PURE; + STDMETHOD(GetMaxDistance)(THIS_ LPD3DVALUE lpflMaxDistance) PURE; + STDMETHOD(GetMinDistance)(THIS_ LPD3DVALUE lpflMinDistance) PURE; + STDMETHOD(GetMode)(THIS_ LPDWORD lpwdMode) PURE; + STDMETHOD(GetPosition)(THIS_ LPD3DVECTOR lpvPosition) PURE; + STDMETHOD(GetVelocity)(THIS_ LPD3DVECTOR lpvVelocity) PURE; + STDMETHOD(SetAllParameters)(THIS_ LPCDS3DBUFFER lpcDs3dBuffer, DWORD dwApply) PURE; + STDMETHOD(SetConeAngles)(THIS_ DWORD dwInsideConeAngle, DWORD dwOutsideConeAngle, DWORD dwApply) PURE; + STDMETHOD(SetConeOrientation)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; + STDMETHOD(SetConeOutsideVolume)(THIS_ LONG lConeOutsideVolume, DWORD dwApply) PURE; + STDMETHOD(SetMaxDistance)(THIS_ D3DVALUE flMaxDistance, DWORD dwApply) PURE; + STDMETHOD(SetMinDistance)(THIS_ D3DVALUE flMinDistance, DWORD dwApply) PURE; + STDMETHOD(SetMode)(THIS_ DWORD dwMode, DWORD dwApply) PURE; + STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; + STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSound3DBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSound3DBuffer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSound3DBuffer_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSound3DBuffer methods ***/ +#define IDirectSound3DBuffer_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a) +#define IDirectSound3DBuffer_GetConeAngles(p,a,b) (p)->lpVtbl->GetConeAngles(p,a,b) +#define IDirectSound3DBuffer_GetConeOrientation(p,a) (p)->lpVtbl->GetConeOrientation(p,a) +#define IDirectSound3DBuffer_GetConeOutsideVolume(p,a) (p)->lpVtbl->GetConeOutsideVolume(p,a) +#define IDirectSound3DBuffer_GetMaxDistance(p,a) (p)->lpVtbl->GetMaxDistance(p,a) +#define IDirectSound3DBuffer_GetMinDistance(p,a) (p)->lpVtbl->GetMinDistance(p,a) +#define IDirectSound3DBuffer_GetMode(p,a) (p)->lpVtbl->GetMode(p,a) +#define IDirectSound3DBuffer_GetPosition(p,a) (p)->lpVtbl->GetPosition(p,a) +#define IDirectSound3DBuffer_GetVelocity(p,a) (p)->lpVtbl->GetVelocity(p,a) +#define IDirectSound3DBuffer_SetAllParameters(p,a,b) (p)->lpVtbl->SetAllParameters(p,a,b) +#define IDirectSound3DBuffer_SetConeAngles(p,a,b,c) (p)->lpVtbl->SetConeAngles(p,a,b,c) +#define IDirectSound3DBuffer_SetConeOrientation(p,a,b,c,d) (p)->lpVtbl->SetConeOrientation(p,a,b,c,d) +#define IDirectSound3DBuffer_SetConeOutsideVolume(p,a,b) (p)->lpVtbl->SetConeOutsideVolume(p,a,b) +#define IDirectSound3DBuffer_SetMaxDistance(p,a,b) (p)->lpVtbl->SetMaxDistance(p,a,b) +#define IDirectSound3DBuffer_SetMinDistance(p,a,b) (p)->lpVtbl->SetMinDistance(p,a,b) +#define IDirectSound3DBuffer_SetMode(p,a,b) (p)->lpVtbl->SetMode(p,a,b) +#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d) +#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) (p)->lpVtbl->SetVelocity(p,a,b,c,d) +#else +/*** IUnknown methods ***/ +#define IDirectSound3DBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSound3DBuffer_AddRef(p) (p)->AddRef() +#define IDirectSound3DBuffer_Release(p) (p)->Release() +/*** IDirectSound3DBuffer methods ***/ +#define IDirectSound3DBuffer_GetAllParameters(p,a) (p)->GetAllParameters(a) +#define IDirectSound3DBuffer_GetConeAngles(p,a,b) (p)->GetConeAngles(a,b) +#define IDirectSound3DBuffer_GetConeOrientation(p,a) (p)->GetConeOrientation(a) +#define IDirectSound3DBuffer_GetConeOutsideVolume(p,a) (p)->GetConeOutsideVolume(a) +#define IDirectSound3DBuffer_GetMaxDistance(p,a) (p)->GetMaxDistance(a) +#define IDirectSound3DBuffer_GetMinDistance(p,a) (p)->GetMinDistance(a) +#define IDirectSound3DBuffer_GetMode(p,a) (p)->GetMode(a) +#define IDirectSound3DBuffer_GetPosition(p,a) (p)->GetPosition(a) +#define IDirectSound3DBuffer_GetVelocity(p,a) (p)->GetVelocity(a) +#define IDirectSound3DBuffer_SetAllParameters(p,a,b) (p)->SetAllParameters(a,b) +#define IDirectSound3DBuffer_SetConeAngles(p,a,b,c) (p)->SetConeAngles(a,b,c) +#define IDirectSound3DBuffer_SetConeOrientation(p,a,b,c,d) (p)->SetConeOrientation(a,b,c,d) +#define IDirectSound3DBuffer_SetConeOutsideVolume(p,a,b) (p)->SetConeOutsideVolume(a,b) +#define IDirectSound3DBuffer_SetMaxDistance(p,a,b) (p)->SetMaxDistance(a,b) +#define IDirectSound3DBuffer_SetMinDistance(p,a,b) (p)->SetMinDistance(a,b) +#define IDirectSound3DBuffer_SetMode(p,a,b) (p)->SetMode(a,b) +#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d) +#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) (p)->SetVelocity(a,b,c,d) +#endif + +/***************************************************************************** + * IKsPropertySet interface + */ +#ifndef _IKsPropertySet_ +#define _IKsPropertySet_ +#define __IKsPropertySet_FWD_DEFINED__ + +typedef struct IKsPropertySet *LPKSPROPERTYSET; + +DEFINE_GUID(IID_IKsPropertySet,0x31EFAC30,0x515C,0x11D0,0xA9,0xAA,0x00,0xAA,0x00,0x61,0xBE,0x93); + +#define KSPROPERTY_SUPPORT_GET 1 +#define KSPROPERTY_SUPPORT_SET 2 + +#define INTERFACE IKsPropertySet +DECLARE_INTERFACE_(IKsPropertySet,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IKsPropertySet methods ***/ + STDMETHOD(Get)(THIS_ REFGUID rgid,ULONG x1,LPVOID p1,ULONG x2,LPVOID p2,ULONG x3,ULONG *px4) PURE; + STDMETHOD(Set)(THIS_ REFGUID rgid,ULONG x1,LPVOID p1,ULONG x2,LPVOID p2,ULONG x3) PURE; + STDMETHOD(QuerySupport)(THIS_ REFGUID rgid,ULONG x1,ULONG *px2) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IKsPropertySet_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IKsPropertySet_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IKsPropertySet_Release(p) (p)->lpVtbl->Release(p) +/*** IKsPropertySet methods ***/ +#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->lpVtbl->Get(p,a,b,c,d,e,f,g) +#define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->lpVtbl->Set(p,a,b,c,d,e,f) +#define IKsPropertySet_QuerySupport(p,a,b,c) (p)->lpVtbl->QuerySupport(p,a,b,c) +#else +/*** IUnknown methods ***/ +#define IKsPropertySet_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IKsPropertySet_AddRef(p) (p)->AddRef() +#define IKsPropertySet_Release(p) (p)->Release() +/*** IKsPropertySet methods ***/ +#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->Get(a,b,c,d,e,f,g) +#define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->Set(a,b,c,d,e,f) +#define IKsPropertySet_QuerySupport(p,a,b,c) (p)->QuerySupport(a,b,c) +#endif + +#endif /* _IKsPropertySet_ */ + +/***************************************************************************** + * IDirectSoundFullDuplex interface + */ +#define INTERFACE IDirectSoundFullDuplex +DECLARE_INTERFACE_(IDirectSoundFullDuplex,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectSoundFullDuplex methods ***/ + STDMETHOD(Initialize)(THIS_ LPCGUID pCaptureGuid,LPCGUID pRendererGuid,LPCDSCBUFFERDESC lpDscBufferDesc,LPCDSBUFFERDESC lpDsBufferDesc,HWND hWnd,DWORD dwLevel,LPLPDIRECTSOUNDCAPTUREBUFFER8 lplpDirectSoundCaptureBuffer8,LPLPDIRECTSOUNDBUFFER8 lplpDirectSoundBuffer8) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDirectSoundFullDuplex_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundFullDuplex_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundFullDuplex_Release(p) (p)->lpVtbl->Release(p) +/*** IDirectSoundFullDuplex methods ***/ +#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Initialize(p,a,b,c,d,e,f,g,h) +#else +/*** IUnknown methods ***/ +#define IDirectSoundFullDuplex_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundFullDuplex_AddRef(p) (p)->AddRef() +#define IDirectSoundFullDuplex_Release(p) (p)->Release() +/*** IDirectSoundFullDuplex methods ***/ +#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->Initialize(a,b,c,d,e,f,g,h) +#endif + + +/***************************************************************************** + * IDirectSoundFXI3DL2Reverb interface + */ +#define INTERFACE IDirectSoundFXI3DL2Reverb +DECLARE_INTERFACE_(IDirectSoundFXI3DL2Reverb,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ REFIID, void**) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + + /*** IDirectSoundFXI3DL2Reverb methods ***/ + STDMETHOD(SetAllParameters)(THIS_ LPCDSFXI3DL2Reverb reverb) PURE; + STDMETHOD(GetAllParameters)(THIS_ LPDSFXI3DL2Reverb reverb) PURE; + STDMETHOD(SetPreset)(THIS_ DWORD preset) PURE; + STDMETHOD(GetPreset)(THIS_ DWORD *preset) PURE; + STDMETHOD(SetQuality)(THIS_ LONG quality) PURE; + STDMETHOD(GetQuality)(THIS_ LONG *quality) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +#define IDirectSoundFXI3DL2Reverb_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectSoundFXI3DL2Reverb_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectSoundFXI3DL2Reverb_Release(p) (p)->lpVtbl->Release(p) +#define IDirectSoundFXI3DL2Reverb_SetAllParameters(p,a) (p)->lpVtbl->SetAllParameters(p,a) +#define IDirectSoundFXI3DL2Reverb_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a) +#define IDirectSoundFXI3DL2Reverb_SetPreset(p,a) (p)->lpVtbl->SetPreset(p,a) +#define IDirectSoundFXI3DL2Reverb_GetPreset(p,a) (p)->lpVtbl->GetPreset(p,a) +#else +#define IDirectSoundFXI3DL2Reverb_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectSoundFXI3DL2Reverb_AddRef(p) (p)->AddRef() +#define IDirectSoundFXI3DL2Reverb_Release(p) (p)->Release() +#define IDirectSoundFXI3DL2Reverb_SetAllParameters(p,a) (p)->SetAllParameters(a) +#define IDirectSoundFXI3DL2Reverb_GetAllParameters(p,a) (p)->GetAllParameters(a) +#define IDirectSoundFXI3DL2Reverb_SetPreset(p,a) (p)->SetPreset(a) +#define IDirectSoundFXI3DL2Reverb_GetPreset(p,a) (p)->GetPreset(a) +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __DSOUND_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsrole.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsrole.h new file mode 100644 index 0000000..14b5731 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dsrole.h @@ -0,0 +1,92 @@ +/* + * Directory Services definitions + * + * Copyright 2005 Paul Vriens + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DSROLE_H +#define __WINE_DSROLE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define DSROLE_PRIMARY_DS_RUNNING 0x00000001 +#define DSROLE_PRIMARY_DS_MIXED_MODE 0x00000002 +#define DSROLE_UPGRADE_IN_PROGRESS 0x00000004 +#define DSROLE_PRIMARY_DOMAIN_GUID_PRESENT 0x01000000 + +typedef enum _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL +{ + DsRolePrimaryDomainInfoBasic = 1, + DsRoleUpgradeStatus, + DsRoleOperationState +} DSROLE_PRIMARY_DOMAIN_INFO_LEVEL; + +typedef enum _DSROLE_MACHINE_ROLE +{ + DsRole_RoleStandaloneWorkstation = 0, + DsRole_RoleMemberWorkstation, + DsRole_RoleStandaloneServer, + DsRole_RoleMemberServer, + DsRole_RoleBackupDomainController, + DsRole_RolePrimaryDomainController +} DSROLE_MACHINE_ROLE; + +typedef enum _DSROLE_SERVER_STATE +{ + DsRoleServerUnknown = 0, + DsRoleServerPrimary, + DsRoleServerBackup +} DSROLE_SERVER_STATE; + +typedef enum _DSROLE_OPERATION_STATE +{ + DsRoleOperationIdle = 0, + DsRoleOperationActive, + DsRoleOperationNeedReboot +} DSROLE_OPERATION_STATE; + +typedef struct _DSROLE_PRIMARY_DOMAIN_INFO_BASIC +{ + DSROLE_MACHINE_ROLE MachineRole; + ULONG Flags; + LPWSTR DomainNameFlat; + LPWSTR DomainNameDns; + LPWSTR DomainForestName; + GUID DomainGuid; +} DSROLE_PRIMARY_DOMAIN_INFO_BASIC, *PDSROLE_PRIMARY_DOMAIN_INFO_BASIC; + +typedef struct _DSROLE_UPGRADE_STATUS_INFO +{ + ULONG OperationState; + DSROLE_SERVER_STATE PreviousServerState; +} DSROLE_UPGRADE_STATUS_INFO, *PDSROLE_UPGRADE_STATUS_INFO; + +typedef struct _DSROLE_OPERATION_STATE_INFO +{ + DSROLE_OPERATION_STATE OperationState; +} DSROLE_OPERATION_STATE_INFO, *PDSROLE_OPERATION_STATE_INFO; + +VOID WINAPI DsRoleFreeMemory(IN PVOID Buffer); +DWORD WINAPI DsRoleGetPrimaryDomainInformation(IN LPCWSTR lpServer OPTIONAL, IN DSROLE_PRIMARY_DOMAIN_INFO_LEVEL InfoLevel, OUT PBYTE *Buffer); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DSROLE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dvdmedia.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dvdmedia.h new file mode 100644 index 0000000..daf1c9d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dvdmedia.h @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2008 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DVDMEDIA_H__ +#define __DVDMEDIA_H__ + +#define AMCONTROL_USED 0x00000001 +#define AMCONTROL_PAD_TO_4x3 0x00000002 +#define AMCONTROL_PAD_TO_16x9 0x00000004 + +typedef struct tagVIDEOINFOHEADER2 { + RECT rcSource; + RECT rcTarget; + DWORD dwBitRate; + DWORD dwBitErrorRate; + REFERENCE_TIME AvgTimePerFrame; + DWORD dwInterlaceFlags; + DWORD dwCopyProtectFlags; + DWORD dwPictAspectRatioX; + DWORD dwPictAspectRatioY; + union { + DWORD dwControlFlags; + DWORD dwReserved1; + } DUMMYUNIONNAME; + DWORD dwReserved2; + BITMAPINFOHEADER bmiHeader; +} VIDEOINFOHEADER2; + +typedef struct tagMPEG2VIDEOINFO { + VIDEOINFOHEADER2 hdr; + DWORD dwStartTimeCode; + DWORD cbSequenceHeader; + DWORD dwProfile; + DWORD dwLevel; + DWORD dwFlags; + DWORD dwSequenceHeader[1]; +} MPEG2VIDEOINFO; + +#define AMINTERLACE_IsInterlaced 0x0001 +#define AMINTERLACE_1FieldPerSample 0x0002 +#define AMINTERLACE_Field1First 0x0004 +#define AMINTERLACE_UNUSED 0x0008 +#define AMINTERLACE_FieldPatField1Only 0x0000 +#define AMINTERLACE_FieldPatField2Only 0x0010 +#define AMINTERLACE_FieldPatBothRegular 0x0020 +#define AMINTERLACE_FieldPatBothIrregular 0x0030 +#define AMINTERLACE_FieldPatternMask 0x0030 +#define AMINTERLACE_DisplayModeBobOnly 0x0000 +#define AMINTERLACE_DisplayModeWeaveOnly 0x0040 +#define AMINTERLACE_DisplayModeBobOrWeave 0x0080 +#define AMINTERLACE_DisplayModeMask 0x00c0 + +#endif /* __DVDMEDIA_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dvoice.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dvoice.h new file mode 100644 index 0000000..2b50e65 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dvoice.h @@ -0,0 +1,501 @@ + /* + * DirectPlay Voice Interfaces + * + * Copyright (C) 2014 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __DVOICE_INCLUDED__ +#define __DVOICE_INCLUDED__ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(CLSID_DirectPlayVoiceClient, 0xb9f3eb85, 0xb781, 0x4ac1, 0x8d, 0x90, 0x93, 0xa0, 0x5e, 0xe3, 0x7d, 0x7d); +DEFINE_GUID(CLSID_DirectPlayVoiceServer, 0xd3f5b8e6, 0x9b78, 0x4a4c, 0x94, 0xea, 0xca, 0x23, 0x97, 0xb6, 0x63, 0xd3); +DEFINE_GUID(CLSID_DirectPlayVoiceTest, 0x0f0f094b, 0xb01c, 0x4091, 0xa1, 0x4d, 0xdd, 0x0c, 0xd8, 0x07, 0x71, 0x1a); + +DEFINE_GUID(IID_IDirectPlayVoiceClient, 0x1dfdc8ea, 0xbcf7, 0x41d6, 0xb2, 0x95, 0xab, 0x64, 0xb3, 0xb2, 0x33, 0x06); +DEFINE_GUID(IID_IDirectPlayVoiceServer, 0xfaa1c173, 0x0468, 0x43b6, 0x8a, 0x2a, 0xea, 0x8a, 0x4f, 0x20, 0x76, 0xc9); +DEFINE_GUID(IID_IDirectPlayVoiceTest, 0xd26af734, 0x208b, 0x41da, 0x82, 0x24, 0xe0, 0xce, 0x79, 0x81, 0x0b, 0xe1); + +DEFINE_GUID(DPVCTGUID_ADPCM, 0x699b52c1, 0xa885, 0x46a8, 0xa3, 0x08, 0x97, 0x17, 0x24, 0x19, 0xad, 0xc7); +DEFINE_GUID(DPVCTGUID_GSM, 0x24768c60, 0x5a0d, 0x11d3, 0x9b, 0xe4, 0x52, 0x54, 0x00, 0xd9, 0x85, 0xe7); +DEFINE_GUID(DPVCTGUID_NONE, 0x8de12fd4, 0x7cb3, 0x48ce, 0xa7, 0xe8, 0x9c, 0x47, 0xa2, 0x2e, 0x8a, 0xc5); +DEFINE_GUID(DPVCTGUID_SC03, 0x7d82a29b, 0x2242, 0x4f82, 0x8f, 0x39, 0x5d, 0x11, 0x53, 0xdf, 0x3e, 0x41); +DEFINE_GUID(DPVCTGUID_SC06, 0x53def900, 0x7168, 0x4633, 0xb4, 0x7f, 0xd1, 0x43, 0x91, 0x6a, 0x13, 0xc7); +DEFINE_GUID(DPVCTGUID_TRUESPEECH, 0xd7954361, 0x5a0b, 0x11d3, 0x9b, 0xe4, 0x52, 0x54, 0x00, 0xd9, 0x85, 0xe7); +DEFINE_GUID(DPVCTGUID_VR12, 0xfe44a9fe, 0x8ed4, 0x48bf, 0x9d, 0x66, 0x1b, 0x1a, 0xdf, 0xf9, 0xff, 0x6d); + +#define DPVCTGUID_DEFAULT DPVCTGUID_SC03 + +typedef struct IDirectPlayVoiceClient *LPDIRECTPLAYVOICECLIENT, *PDIRECTPLAYVOICECLIENT; +typedef struct IDirectPlayVoiceServer *LPDIRECTPLAYVOICESERVER, *PDIRECTPLAYVOICESERVER; +typedef struct IDirectPlayVoiceTest *LPDIRECTPLAYVOICETEST, *PDIRECTPLAYVOICETEST; + + +typedef HRESULT (PASCAL *PDVMESSAGEHANDLER)(PVOID pvUserContext, DWORD dwMessageType, LPVOID lpMessage); +typedef PDVMESSAGEHANDLER LPDVMESSAGEHANDLER; + +typedef DWORD DVID, *LPDVID, *PDVID; + +#define DVMSGID_MINBASE DVMSGID_CREATEVOICEPLAYER +#define DVMSGID_CREATEVOICEPLAYER 0x0001 +#define DVMSGID_DELETEVOICEPLAYER 0x0002 +#define DVMSGID_SESSIONLOST 0x0003 +#define DVMSGID_PLAYERVOICESTART 0x0004 +#define DVMSGID_PLAYERVOICESTOP 0x0005 +#define DVMSGID_RECORDSTART 0x0006 +#define DVMSGID_RECORDSTOP 0x0007 +#define DVMSGID_CONNECTRESULT 0x0008 +#define DVMSGID_DISCONNECTRESULT 0x0009 +#define DVMSGID_INPUTLEVEL 0x000A +#define DVMSGID_OUTPUTLEVEL 0x000B +#define DVMSGID_HOSTMIGRATED 0x000C +#define DVMSGID_SETTARGETS 0x000D +#define DVMSGID_PLAYEROUTPUTLEVEL 0x000E +#define DVMSGID_LOSTFOCUS 0x0010 +#define DVMSGID_GAINFOCUS 0x0011 +#define DVMSGID_LOCALHOSTSETUP 0x0012 +#define DVMSGID_MAXBASE DVMSGID_LOCALHOSTSETUP + +#define DVBUFFERAGGRESSIVENESS_MIN 0x00000001 +#define DVBUFFERAGGRESSIVENESS_MAX 0x00000064 +#define DVBUFFERAGGRESSIVENESS_DEFAULT 0x00000000 + +#define DVBUFFERQUALITY_MIN 0x00000001 +#define DVBUFFERQUALITY_MAX 0x00000064 +#define DVBUFFERQUALITY_DEFAULT 0x00000000 + +#define DVID_SERVERPLAYER 1 +#define DVID_ALLPLAYERS 0 +#define DVID_REMAINING 0xFFFFFFFF + +#define DVINPUTLEVEL_MIN 0x00000000 +#define DVINPUTLEVEL_MAX 0x00000063 + +#define DVNOTIFYPERIOD_MINPERIOD 20 + +#define DVPLAYBACKVOLUME_DEFAULT DSBVOLUME_MAX + +#define DVRECORDVOLUME_LAST 0x00000001 + + +#define DVTHRESHOLD_DEFAULT 0xFFFFFFFF +#define DVTHRESHOLD_MIN 0x00000000 +#define DVTHRESHOLD_MAX 0x00000063 +#define DVTHRESHOLD_UNUSED 0xFFFFFFFE + + +#define DVSESSIONTYPE_PEER 0x00000001 +#define DVSESSIONTYPE_MIXING 0x00000002 +#define DVSESSIONTYPE_FORWARDING 0x00000003 +#define DVSESSIONTYPE_ECHO 0x00000004 + +#define DVCLIENTCONFIG_RECORDMUTE 0x00000001 +#define DVCLIENTCONFIG_PLAYBACKMUTE 0x00000002 +#define DVCLIENTCONFIG_MANUALVOICEACTIVATED 0x00000004 +#define DVCLIENTCONFIG_AUTORECORDVOLUME 0x00000008 +#define DVCLIENTCONFIG_MUTEGLOBAL 0x00000010 +#define DVCLIENTCONFIG_AUTOVOICEACTIVATED 0x00000020 +#define DVCLIENTCONFIG_ECHOSUPPRESSION 0x08000000 + +#define DVFLAGS_SYNC 0x00000001 +#define DVFLAGS_QUERYONLY 0x00000002 +#define DVFLAGS_NOHOSTMIGRATE 0x00000008 +#define DVFLAGS_ALLOWBACK 0x00000010 + +#define DVSESSION_NOHOSTMIGRATION 0x00000001 +#define DVSESSION_SERVERCONTROLTARGET 0x00000002 + +#define DVSOUNDCONFIG_NORMALMODE 0x00000001 +#define DVSOUNDCONFIG_AUTOSELECT 0x00000002 +#define DVSOUNDCONFIG_HALFDUPLEX 0x00000004 +#define DVSOUNDCONFIG_NORECVOLAVAILABLE 0x00000010 +#define DVSOUNDCONFIG_NOFOCUS 0x20000000 + +#define DVSOUNDCONFIG_SETCONVERSIONQUALITY 0x00000008 +#define DVSOUNDCONFIG_STRICTFOCUS 0x40000000 +#define DVPLAYERCAPS_HALFDUPLEX 0x00000001 +#define DVPLAYERCAPS_LOCAL 0x00000002 + +typedef struct +{ + DWORD dwSize; + DWORD dwFlags; +} DVCAPS, *LPDVCAPS, *PDVCAPS; + +typedef struct +{ + DWORD dwSize; + DWORD dwFlags; + LONG lRecordVolume; + LONG lPlaybackVolume; + DWORD dwThreshold; + DWORD dwBufferQuality; + DWORD dwBufferAggressiveness; + DWORD dwNotifyPeriod; +} DVCLIENTCONFIG, *LPDVCLIENTCONFIG, *PDVCLIENTCONFIG; + +typedef struct +{ + DWORD dwSize; + GUID guidType; + LPWSTR lpszName; + LPWSTR lpszDescription; + DWORD dwFlags; + DWORD dwMaxBitsPerSecond; +} DVCOMPRESSIONINFO, *LPDVCOMPRESSIONINFO, *PDVCOMPRESSIONINFO; + +typedef struct +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwSessionType; + GUID guidCT; + DWORD dwBufferQuality; + DWORD dwBufferAggressiveness; +} DVSESSIONDESC, *LPDVSESSIONDESC, *PDVSESSIONDESC; + +typedef struct +{ + DWORD dwSize; + DWORD dwFlags; + GUID guidPlaybackDevice; + LPDIRECTSOUND lpdsPlaybackDevice; + GUID guidCaptureDevice; + LPDIRECTSOUNDCAPTURE lpdsCaptureDevice; + HWND hwndAppWindow; + LPDIRECTSOUNDBUFFER lpdsMainBuffer; + DWORD dwMainBufferFlags; + DWORD dwMainBufferPriority; +} DVSOUNDDEVICECONFIG, *LPDVSOUNDDEVICECONFIG, *PDVSOUNDDEVICECONFIG; + +typedef struct +{ + DWORD dwSize; + HRESULT hrResult; +} DVMSG_CONNECTRESULT, *LPDVMSG_CONNECTRESULT, *PDVMSG_CONNECTRESULT; + +typedef struct +{ + DWORD dwSize; + DVID dvidPlayer; + DWORD dwFlags; + PVOID pvPlayerContext; +} DVMSG_CREATEVOICEPLAYER, *LPDVMSG_CREATEVOICEPLAYER, *PDVMSG_CREATEVOICEPLAYER; + +typedef struct +{ + DWORD dwSize; + DVID dvidPlayer; + PVOID pvPlayerContext; +} DVMSG_DELETEVOICEPLAYER, *LPDVMSG_DELETEVOICEPLAYER, *PDVMSG_DELETEVOICEPLAYER; + +typedef struct +{ + DWORD dwSize; + HRESULT hrResult; +} DVMSG_DISCONNECTRESULT, *LPDVMSG_DISCONNECTRESULT, *PDVMSG_DISCONNECTRESULT; + +typedef struct +{ + DWORD dwSize; + DVID dvidNewHostID; + LPDIRECTPLAYVOICESERVER pdvServerInterface; +} DVMSG_HOSTMIGRATED, *LPDVMSG_HOSTMIGRATED, *PDVMSG_HOSTMIGRATED; + +typedef struct +{ + DWORD dwSize; + DWORD dwPeakLevel; + LONG lRecordVolume; + PVOID pvLocalPlayerContext; +} DVMSG_INPUTLEVEL, *LPDVMSG_INPUTLEVEL, *PDVMSG_INPUTLEVEL; + +typedef struct +{ + DWORD dwSize; + PVOID pvContext; + PDVMESSAGEHANDLER pMessageHandler; +} DVMSG_LOCALHOSTSETUP, *LPDVMSG_LOCALHOSTSETUP, *PDVMSG_LOCALHOSTSETUP; + +typedef struct +{ + DWORD dwSize; + DWORD dwPeakLevel; + LONG lOutputVolume; + PVOID pvLocalPlayerContext; +} DVMSG_OUTPUTLEVEL, *LPDVMSG_OUTPUTLEVEL, *PDVMSG_OUTPUTLEVEL; + +typedef struct +{ + DWORD dwSize; + DVID dvidSourcePlayerID; + DWORD dwPeakLevel; + PVOID pvPlayerContext; +} DVMSG_PLAYEROUTPUTLEVEL, *LPDVMSG_PLAYEROUTPUTLEVEL, *PDVMSG_PLAYEROUTPUTLEVEL; + +typedef struct +{ + DWORD dwSize; + DVID dvidSourcePlayerID; + PVOID pvPlayerContext; +} DVMSG_PLAYERVOICESTART, *LPDVMSG_PLAYERVOICESTART, *PDVMSG_PLAYERVOICESTART; + +typedef struct +{ + DWORD dwSize; + DVID dvidSourcePlayerID; + PVOID pvPlayerContext; +} DVMSG_PLAYERVOICESTOP, *LPDVMSG_PLAYERVOICESTOP, *PDVMSG_PLAYERVOICESTOP; + +typedef struct +{ + DWORD dwSize; + DWORD dwPeakLevel; + PVOID pvLocalPlayerContext; +} DVMSG_RECORDSTART, *LPDVMSG_RECORDSTART, *PDVMSG_RECORDSTART; + +typedef struct +{ + DWORD dwSize; + DWORD dwPeakLevel; + PVOID pvLocalPlayerContext; +} DVMSG_RECORDSTOP, *LPDVMSG_RECORDSTOP, *PDVMSG_RECORDSTOP; + +typedef struct +{ + DWORD dwSize; + HRESULT hrResult; +} DVMSG_SESSIONLOST, *LPDVMSG_SESSIONLOST, *PDVMSG_SESSIONLOST; + +typedef struct +{ + DWORD dwSize; + DWORD dwNumTargets; + PDVID pdvidTargets; +} DVMSG_SETTARGETS, *LPDVMSG_SETTARGETS, *PDVMSG_SETTARGETS; + + +#define _FACDPV 0x15 +#define MAKE_DVHRESULT( code ) MAKE_HRESULT( 1, _FACDPV, code ) + +#define DV_OK S_OK +#define DV_FULLDUPLEX MAKE_HRESULT(0, _FACDPV, 0x0005) +#define DV_HALFDUPLEX MAKE_HRESULT(0, _FACDPV, 0x000A) +#define DV_PENDING MAKE_HRESULT(0, _FACDPV, 0x0010) + +#define DVERR_BUFFERTOOSMALL MAKE_DVHRESULT(0x001E) +#define DVERR_EXCEPTION MAKE_DVHRESULT(0x004A) +#define DVERR_GENERIC E_FAIL +#define DVERR_INVALIDFLAGS MAKE_DVHRESULT(0x0078) +#define DVERR_INVALIDOBJECT MAKE_DVHRESULT(0x0082) +#define DVERR_INVALIDPARAM E_INVALIDARG +#define DVERR_INVALIDPLAYER MAKE_DVHRESULT(0x0087) +#define DVERR_INVALIDGROUP MAKE_DVHRESULT(0x0091) +#define DVERR_INVALIDHANDLE MAKE_DVHRESULT(0x0096) +#define DVERR_OUTOFMEMORY E_OUTOFMEMORY +#define DVERR_PENDING DV_PENDING +#define DVERR_NOTSUPPORTED E_NOTIMPL +#define DVERR_NOINTERFACE E_NOINTERFACE +#define DVERR_SESSIONLOST MAKE_DVHRESULT(0x012C) +#define DVERR_NOVOICESESSION MAKE_DVHRESULT(0x012E) +#define DVERR_CONNECTIONLOST MAKE_DVHRESULT(0x0168) +#define DVERR_NOTINITIALIZED MAKE_DVHRESULT(0x0169) +#define DVERR_CONNECTED MAKE_DVHRESULT(0x016A) +#define DVERR_NOTCONNECTED MAKE_DVHRESULT(0x016B) +#define DVERR_CONNECTABORTING MAKE_DVHRESULT(0x016E) +#define DVERR_NOTALLOWED MAKE_DVHRESULT(0x016F) +#define DVERR_INVALIDTARGET MAKE_DVHRESULT(0x0170) +#define DVERR_TRANSPORTNOTHOST MAKE_DVHRESULT(0x0171) +#define DVERR_COMPRESSIONNOTSUPPORTED MAKE_DVHRESULT(0x0172) +#define DVERR_ALREADYPENDING MAKE_DVHRESULT(0x0173) +#define DVERR_SOUNDINITFAILURE MAKE_DVHRESULT(0x0174) +#define DVERR_TIMEOUT MAKE_DVHRESULT(0x0175) +#define DVERR_CONNECTABORTED MAKE_DVHRESULT(0x0176) +#define DVERR_NO3DSOUND MAKE_DVHRESULT(0x0177) +#define DVERR_ALREADYBUFFERED MAKE_DVHRESULT(0x0178) +#define DVERR_NOTBUFFERED MAKE_DVHRESULT(0x0179) +#define DVERR_HOSTING MAKE_DVHRESULT(0x017A) +#define DVERR_NOTHOSTING MAKE_DVHRESULT(0x017B) +#define DVERR_INVALIDDEVICE MAKE_DVHRESULT(0x017C) +#define DVERR_RECORDSYSTEMERROR MAKE_DVHRESULT(0x017D) +#define DVERR_PLAYBACKSYSTEMERROR MAKE_DVHRESULT(0x017E) +#define DVERR_SENDERROR MAKE_DVHRESULT(0x017F) +#define DVERR_USERCANCEL MAKE_DVHRESULT(0x0180) +#define DVERR_RUNSETUP MAKE_DVHRESULT(0x0183) +#define DVERR_INCOMPATIBLEVERSION MAKE_DVHRESULT(0x0184) +#define DVERR_INITIALIZED MAKE_DVHRESULT(0x0187) +#define DVERR_INVALIDPOINTER E_POINTER +#define DVERR_NOTRANSPORT MAKE_DVHRESULT(0x0188) +#define DVERR_NOCALLBACK MAKE_DVHRESULT(0x0189) +#define DVERR_TRANSPORTNOTINIT MAKE_DVHRESULT(0x018A) +#define DVERR_TRANSPORTNOSESSION MAKE_DVHRESULT(0x018B) +#define DVERR_TRANSPORTNOPLAYER MAKE_DVHRESULT(0x018C) +#define DVERR_USERBACK MAKE_DVHRESULT(0x018D) +#define DVERR_NORECVOLAVAILABLE MAKE_DVHRESULT(0x018E) +#define DVERR_INVALIDBUFFER MAKE_DVHRESULT(0x018F) +#define DVERR_LOCKEDBUFFER MAKE_DVHRESULT(0x0190) + +#undef INTERFACE +#define INTERFACE IDirectPlayVoiceClient +DECLARE_INTERFACE_(IDirectPlayVoiceClient, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, PVOID *ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + STDMETHOD(Initialize) (THIS_ LPUNKNOWN, PDVMESSAGEHANDLER, PVOID, PDWORD, DWORD) PURE; + STDMETHOD(Connect) (THIS_ PDVSOUNDDEVICECONFIG, PDVCLIENTCONFIG, DWORD) PURE; + STDMETHOD(Disconnect) (THIS_ DWORD) PURE; + STDMETHOD(GetSessionDesc) (THIS_ PDVSESSIONDESC) PURE; + STDMETHOD(GetClientConfig) (THIS_ PDVCLIENTCONFIG) PURE; + STDMETHOD(SetClientConfig) (THIS_ PDVCLIENTCONFIG) PURE; + STDMETHOD(GetCaps) (THIS_ PDVCAPS) PURE; + STDMETHOD(GetCompressionTypes) (THIS_ PVOID, PDWORD, PDWORD, DWORD) PURE; + STDMETHOD(SetTransmitTargets) (THIS_ PDVID, DWORD, DWORD) PURE; + STDMETHOD(GetTransmitTargets) (THIS_ PDVID, PDWORD, DWORD) PURE; + STDMETHOD(Create3DSoundBuffer) (THIS_ DVID, LPDIRECTSOUNDBUFFER, DWORD, DWORD, LPDIRECTSOUND3DBUFFER *) PURE; + STDMETHOD(Delete3DSoundBuffer) (THIS_ DVID, LPDIRECTSOUND3DBUFFER *) PURE; + STDMETHOD(SetNotifyMask) (THIS_ PDWORD, DWORD) PURE; + STDMETHOD(GetSoundDeviceConfig)(THIS_ PDVSOUNDDEVICECONFIG, PDWORD) PURE; +}; +#undef INTERFACE + +#define INTERFACE IDirectPlayVoiceServer +DECLARE_INTERFACE_(IDirectPlayVoiceServer, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + STDMETHOD(Initialize) (THIS_ LPUNKNOWN, PDVMESSAGEHANDLER, PVOID, LPDWORD, DWORD) PURE; + STDMETHOD(StartSession) (THIS_ PDVSESSIONDESC, DWORD) PURE; + STDMETHOD(StopSession) (THIS_ DWORD) PURE; + STDMETHOD(GetSessionDesc) (THIS_ PDVSESSIONDESC) PURE; + STDMETHOD(SetSessionDesc) (THIS_ PDVSESSIONDESC) PURE; + STDMETHOD(GetCaps) (THIS_ PDVCAPS) PURE; + STDMETHOD(GetCompressionTypes) (THIS_ PVOID, PDWORD, PDWORD, DWORD) PURE; + STDMETHOD(SetTransmitTargets) (THIS_ DVID, PDVID, DWORD, DWORD) PURE; + STDMETHOD(GetTransmitTargets) (THIS_ DVID, PDVID, PDWORD, DWORD) PURE; + STDMETHOD(SetNotifyMask) (THIS_ PDWORD, DWORD) PURE; +}; +#undef INTERFACE + +#define INTERFACE IDirectPlayVoiceTest +DECLARE_INTERFACE_(IDirectPlayVoiceTest, IUnknown) +{ + STDMETHOD(QueryInterface) (THIS_ REFIID riid, PVOID *ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + STDMETHOD(CheckAudioSetup) (THIS_ const GUID *, const GUID *, HWND, DWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + +#define IDirectPlayVoiceClient_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlayVoiceClient_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlayVoiceClient_Release(p) (p)->lpVtbl->Release(p) + +#define IDirectPlayVoiceClient_Initialize(p,a,b,c,d,e) (p)->lpVtbl->Initialize(p,a,b,c,d,e) +#define IDirectPlayVoiceClient_Connect(p,a,b,c) (p)->lpVtbl->Connect(p,a,b,c) +#define IDirectPlayVoiceClient_Disconnect(p,a) (p)->lpVtbl->Disconnect(p,a) +#define IDirectPlayVoiceClient_GetSessionDesc(p,a) (p)->lpVtbl->GetSessionDesc(p,a) +#define IDirectPlayVoiceClient_GetClientConfig(p,a) (p)->lpVtbl->GetClientConfig(p,a) +#define IDirectPlayVoiceClient_SetClientConfig(p,a) (p)->lpVtbl->SetClientConfig(p,a) +#define IDirectPlayVoiceClient_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectPlayVoiceClient_GetCompressionTypes(p,a,b,c,d) (p)->lpVtbl->GetCompressionTypes(p,a,b,c,d) +#define IDirectPlayVoiceClient_SetTransmitTargets(p,a,b,c) (p)->lpVtbl->SetTransmitTargets(p,a,b,c) +#define IDirectPlayVoiceClient_GetTransmitTargets(p,a,b,c) (p)->lpVtbl->GetTransmitTargets(p,a,b,c) +#define IDirectPlayVoiceClient_Create3DSoundBuffer(p,a,b,c,d,e) (p)->lpVtbl->Create3DSoundBuffer(p,a,b,c,d,e) +#define IDirectPlayVoiceClient_Delete3DSoundBuffer(p,a,b) (p)->lpVtbl->Delete3DSoundBuffer(p,a,b) +#define IDirectPlayVoiceClient_SetNotifyMask(p,a,b) (p)->lpVtbl->SetNotifyMask(p,a,b) +#define IDirectPlayVoiceClient_GetSoundDeviceConfig(p,a,b) (p)->lpVtbl->GetSoundDeviceConfig(p,a,b) + +#define IDirectPlayVoiceServer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlayVoiceServer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlayVoiceServer_Release(p) (p)->lpVtbl->Release(p) + +#define IDirectPlayVoiceServer_Initialize(p,a,b,c,d,e) (p)->lpVtbl->Initialize(p,a,b,c,d,e) +#define IDirectPlayVoiceServer_StartSession(p,a,b) (p)->lpVtbl->StartSession(p,a,b) +#define IDirectPlayVoiceServer_StopSession(p,a) (p)->lpVtbl->StopSession(p,a) +#define IDirectPlayVoiceServer_GetSessionDesc(p,a) (p)->lpVtbl->GetSessionDesc(p,a) +#define IDirectPlayVoiceServer_SetSessionDesc(p,a) (p)->lpVtbl->SetSessionDesc(p,a) +#define IDirectPlayVoiceServer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) +#define IDirectPlayVoiceServer_GetCompressionTypes(p,a,b,c,d) (p)->lpVtbl->GetCompressionTypes(p,a,b,c,d) +#define IDirectPlayVoiceServer_SetTransmitTargets(p,a,b,c,d) (p)->lpVtbl->SetTransmitTargets(p,a,b,c,d) +#define IDirectPlayVoiceServer_GetTransmitTargets(p,a,b,c,d) (p)->lpVtbl->GetTransmitTargets(p,a,b,c,d) +#define IDirectPlayVoiceServer_SetNotifyMask(p,a,b) (p)->lpVtbl->SetNotifyMask(p,a,b) +#define IDirectPlayVoiceTest_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectPlayVoiceTest_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectPlayVoiceTest_Release(p) (p)->lpVtbl->Release(p) +#define IDirectPlayVoiceTest_CheckAudioSetup(p,a,b,c,d) (p)->lpVtbl->CheckAudioSetup(p,a,b,c,d) + + +#else /* C++ */ + +#define IDirectPlayVoiceClient_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlayVoiceClient_AddRef(p) (p)->AddRef() +#define IDirectPlayVoiceClient_Release(p) (p)->Release() +#define IDirectPlayVoiceClient_Initialize(p,a,b,c,d,e) (p)->Initialize(a,b,c,d,e) +#define IDirectPlayVoiceClient_Connect(p,a,b,c) (p)->Connect(a,b,c) +#define IDirectPlayVoiceClient_Disconnect(p,a) (p)->Disconnect(a) +#define IDirectPlayVoiceClient_GetSessionDesc(p,a) (p)->GetSessionDesc(a) +#define IDirectPlayVoiceClient_GetClientConfig(p,a) (p)->GetClientConfig(a) +#define IDirectPlayVoiceClient_SetClientConfig(p,a) (p)->SetClientConfig(a) +#define IDirectPlayVoiceClient_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectPlayVoiceClient_GetCompressionTypes(p,a,b,c,d) (p)->GetCompressionTypes(a,b,c,d) +#define IDirectPlayVoiceClient_SetTransmitTargets(p,a,b,c) (p)->SetTransmitTargets(a,b,c) +#define IDirectPlayVoiceClient_GetTransmitTargets(p,a,b,c) (p)->GetTransmitTargets(a,b,c) +#define IDirectPlayVoiceClient_Create3DSoundBuffer(p,a,b,c,d,e) (p)->Create3DSoundBuffer(a,b,c,d,e) +#define IDirectPlayVoiceClient_Delete3DSoundBuffer(p,a,b) (p)->Delete3DSoundBuffer(a,b) +#define IDirectPlayVoiceClient_SetNotifyMask(p,a,b) (p)->SetNotifyMask(a,b) +#define IDirectPlayVoiceClient_GetSoundDeviceConfig(p,a,b) (p)->GetSoundDeviceConfig(a,b) + +#define IDirectPlayVoiceServer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlayVoiceServer_AddRef(p) (p)->AddRef() +#define IDirectPlayVoiceServer_Release(p) (p)->Release() +#define IDirectPlayVoiceServer_Initialize(p,a,b,c,d,e) (p)->Initialize(a,b,c,d,e) +#define IDirectPlayVoiceServer_StartSession(p,a,b) (p)->StartSession(a,b) +#define IDirectPlayVoiceServer_StopSession(p,a) (p)->StopSession(a) +#define IDirectPlayVoiceServer_GetSessionDesc(p,a) (p)->GetSessionDesc(a) +#define IDirectPlayVoiceServer_SetSessionDesc(p,a) (p)->SetSessionDesc(a) +#define IDirectPlayVoiceServer_GetCaps(p,a) (p)->GetCaps(a) +#define IDirectPlayVoiceServer_GetCompressionTypes(p,a,b,c,d) (p)->GetCompressionTypes(a,b,c,d) +#define IDirectPlayVoiceServer_SetTransmitTargets(p,a,b,c,d) (p)->SetTransmitTargets(a,b,c,d) +#define IDirectPlayVoiceServer_GetTransmitTargets(p,a,b,c,d) (p)->GetTransmitTargets(a,b,c,d) +#define IDirectPlayVoiceServer_SetNotifyMask(p,a,b) (p)->SetNotifyMask(a,b) + +#define IDirectPlayVoiceTest_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDirectPlayVoiceTest_AddRef(p) (p)->AddRef() +#define IDirectPlayVoiceTest_Release(p) (p)->Release() +#define IDirectPlayVoiceTest_CheckAudioSetup(p,a,b,c,d) (p)->CheckAudioSetup(a,b,c,d) + +#endif + + +#ifdef __cplusplus +} +#endif + +#endif /* __DVOICE_INCLUDED__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwmapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwmapi.h new file mode 100644 index 0000000..b2f39de --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwmapi.h @@ -0,0 +1,158 @@ +/* + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DWMAPI_H +#define __WINE_DWMAPI_H + +#include "wtypes.h" +#include "uxtheme.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef DWMAPI +# define DWMAPI STDAPI +# define DWMAPI_(type) STDAPI_(type) +#endif + +DECLARE_HANDLE(HTHUMBNAIL); +typedef HTHUMBNAIL *PHTHUMBNAIL; + +#include + +typedef ULONGLONG DWM_FRAME_COUNT; +typedef ULONGLONG QPC_TIME; + +typedef enum _DWM_SOURCE_FRAME_SAMPLING { + DWM_SOURCE_FRAME_SAMPLING_POINT, + DWM_SOURCE_FRAME_SAMPLING_COVERAGE, + DWM_SOURCE_FRAME_SAMPLING_LAST +} DWM_SOURCE_FRAME_SAMPLING; + +typedef struct _UNSIGNED_RATIO { + UINT32 uiNumerator; + UINT32 uiDenominator; +} UNSIGNED_RATIO; + +typedef struct _DWM_TIMING_INFO { + UINT32 cbSize; + UNSIGNED_RATIO rateRefresh; + QPC_TIME qpcRefreshPeriod; + UNSIGNED_RATIO rateCompose; + QPC_TIME qpcVBlank; + DWM_FRAME_COUNT cRefresh; + UINT cDXRefresh; + QPC_TIME qpcCompose; + DWM_FRAME_COUNT cFrame; + UINT cDXPresent; + DWM_FRAME_COUNT cRefreshFrame; + DWM_FRAME_COUNT cFrameSubmitted; + UINT cDXPresentSubmitted; + DWM_FRAME_COUNT cFrameConfirmed; + UINT cDXPresentConfirmed; + DWM_FRAME_COUNT cRefreshConfirmed; + UINT cDXRefreshConfirmed; + DWM_FRAME_COUNT cFramesLate; + UINT cFramesOutstanding; + DWM_FRAME_COUNT cFrameDisplayed; + QPC_TIME qpcFrameDisplayed; + DWM_FRAME_COUNT cRefreshFrameDisplayed; + DWM_FRAME_COUNT cFrameComplete; + QPC_TIME qpcFrameComplete; + DWM_FRAME_COUNT cFramePending; + QPC_TIME qpcFramePending; + DWM_FRAME_COUNT cFramesDisplayed; + DWM_FRAME_COUNT cFramesComplete; + DWM_FRAME_COUNT cFramesPending; + DWM_FRAME_COUNT cFramesAvailable; + DWM_FRAME_COUNT cFramesDropped; + DWM_FRAME_COUNT cFramesMissed; + DWM_FRAME_COUNT cRefreshNextDisplayed; + DWM_FRAME_COUNT cRefreshNextPresented; + DWM_FRAME_COUNT cRefreshesDisplayed; + DWM_FRAME_COUNT cRefreshesPresented; + DWM_FRAME_COUNT cRefreshStarted; + ULONGLONG cPixelsReceived; + ULONGLONG cPixelsDrawn; + DWM_FRAME_COUNT cBuffersEmpty; +} DWM_TIMING_INFO; + +typedef struct _MilMatrix3x2D +{ + DOUBLE S_11; + DOUBLE S_12; + DOUBLE S_21; + DOUBLE S_22; + DOUBLE DX; + DOUBLE DY; +} MilMatrix3x2D; + +#define DWM_BB_ENABLE 0x00000001 +#define DWM_BB_BLURREGION 0x00000002 +#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004 + +typedef struct _DWM_BLURBEHIND +{ + DWORD dwFlags; + BOOL fEnable; + HRGN hRgnBlur; + BOOL fTransitionOnMaximized; +} DWM_BLURBEHIND, *PDWM_BLURBEHIND; + +typedef struct _DWM_THUMBNAIL_PROPERTIES +{ + DWORD dwFlags; + RECT rcDestination; + RECT rcSource; + BYTE opacity; + BOOL fVisible; + BOOL fSourceClientAreaOnly; +} DWM_THUMBNAIL_PROPERTIES, *PDWM_THUMBNAIL_PROPERTIES; + +typedef struct _DWM_PRESENT_PARAMETERS { + UINT32 cbSize; + BOOL fQueue; + DWM_FRAME_COUNT cRefreshStart; + UINT cBuffer; + BOOL fUseSourceRate; + UNSIGNED_RATIO rateSource; + UINT cRefreshesPerFrame; + DWM_SOURCE_FRAME_SAMPLING eSampling; +} DWM_PRESENT_PARAMETERS; + +#include + +DWMAPI_(BOOL) DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*); +DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *); +DWMAPI DwmEnableComposition(UINT); +DWMAPI DwmEnableMMCSS(BOOL); +DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*); +DWMAPI DwmGetColorizationColor(DWORD*,BOOL); +DWMAPI DwmGetCompositionTimingInfo(HWND,DWM_TIMING_INFO*); +DWMAPI DwmInvalidateIconicBitmaps(HWND); +DWMAPI DwmIsCompositionEnabled(BOOL*); +DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL); +DWMAPI DwmSetPresentParameters(HWND, DWM_PRESENT_PARAMETERS *); +DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD); +DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL); +DWMAPI DwmUpdateThumbnailProperties(HTHUMBNAIL, const DWM_THUMBNAIL_PROPERTIES *); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_DWMAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite.h new file mode 100644 index 0000000..b6eeb6d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite.h @@ -0,0 +1,5500 @@ +/*** Autogenerated by WIDL 2.18 from dwrite.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dwrite_h__ +#define __dwrite_h__ + +/* Forward declarations */ + +#ifndef __IDWriteFontFileStream_FWD_DEFINED__ +#define __IDWriteFontFileStream_FWD_DEFINED__ +typedef interface IDWriteFontFileStream IDWriteFontFileStream; +#ifdef __cplusplus +interface IDWriteFontFileStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFileLoader_FWD_DEFINED__ +#define __IDWriteFontFileLoader_FWD_DEFINED__ +typedef interface IDWriteFontFileLoader IDWriteFontFileLoader; +#ifdef __cplusplus +interface IDWriteFontFileLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteLocalFontFileLoader_FWD_DEFINED__ +#define __IDWriteLocalFontFileLoader_FWD_DEFINED__ +typedef interface IDWriteLocalFontFileLoader IDWriteLocalFontFileLoader; +#ifdef __cplusplus +interface IDWriteLocalFontFileLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFile_FWD_DEFINED__ +#define __IDWriteFontFile_FWD_DEFINED__ +typedef interface IDWriteFontFile IDWriteFontFile; +#ifdef __cplusplus +interface IDWriteFontFile; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFileEnumerator_FWD_DEFINED__ +#define __IDWriteFontFileEnumerator_FWD_DEFINED__ +typedef interface IDWriteFontFileEnumerator IDWriteFontFileEnumerator; +#ifdef __cplusplus +interface IDWriteFontFileEnumerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontCollectionLoader_FWD_DEFINED__ +#define __IDWriteFontCollectionLoader_FWD_DEFINED__ +typedef interface IDWriteFontCollectionLoader IDWriteFontCollectionLoader; +#ifdef __cplusplus +interface IDWriteFontCollectionLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteLocalizedStrings_FWD_DEFINED__ +#define __IDWriteLocalizedStrings_FWD_DEFINED__ +typedef interface IDWriteLocalizedStrings IDWriteLocalizedStrings; +#ifdef __cplusplus +interface IDWriteLocalizedStrings; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRenderingParams_FWD_DEFINED__ +#define __IDWriteRenderingParams_FWD_DEFINED__ +typedef interface IDWriteRenderingParams IDWriteRenderingParams; +#ifdef __cplusplus +interface IDWriteRenderingParams; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace_FWD_DEFINED__ +#define __IDWriteFontFace_FWD_DEFINED__ +typedef interface IDWriteFontFace IDWriteFontFace; +#ifdef __cplusplus +interface IDWriteFontFace; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFont_FWD_DEFINED__ +#define __IDWriteFont_FWD_DEFINED__ +typedef interface IDWriteFont IDWriteFont; +#ifdef __cplusplus +interface IDWriteFont; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontList_FWD_DEFINED__ +#define __IDWriteFontList_FWD_DEFINED__ +typedef interface IDWriteFontList IDWriteFontList; +#ifdef __cplusplus +interface IDWriteFontList; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFamily_FWD_DEFINED__ +#define __IDWriteFontFamily_FWD_DEFINED__ +typedef interface IDWriteFontFamily IDWriteFontFamily; +#ifdef __cplusplus +interface IDWriteFontFamily; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontCollection_FWD_DEFINED__ +#define __IDWriteFontCollection_FWD_DEFINED__ +typedef interface IDWriteFontCollection IDWriteFontCollection; +#ifdef __cplusplus +interface IDWriteFontCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWritePixelSnapping_FWD_DEFINED__ +#define __IDWritePixelSnapping_FWD_DEFINED__ +typedef interface IDWritePixelSnapping IDWritePixelSnapping; +#ifdef __cplusplus +interface IDWritePixelSnapping; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextRenderer_FWD_DEFINED__ +#define __IDWriteTextRenderer_FWD_DEFINED__ +typedef interface IDWriteTextRenderer IDWriteTextRenderer; +#ifdef __cplusplus +interface IDWriteTextRenderer; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteInlineObject_FWD_DEFINED__ +#define __IDWriteInlineObject_FWD_DEFINED__ +typedef interface IDWriteInlineObject IDWriteInlineObject; +#ifdef __cplusplus +interface IDWriteInlineObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextFormat_FWD_DEFINED__ +#define __IDWriteTextFormat_FWD_DEFINED__ +typedef interface IDWriteTextFormat IDWriteTextFormat; +#ifdef __cplusplus +interface IDWriteTextFormat; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTypography_FWD_DEFINED__ +#define __IDWriteTypography_FWD_DEFINED__ +typedef interface IDWriteTypography IDWriteTypography; +#ifdef __cplusplus +interface IDWriteTypography; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteBitmapRenderTarget_FWD_DEFINED__ +#define __IDWriteBitmapRenderTarget_FWD_DEFINED__ +typedef interface IDWriteBitmapRenderTarget IDWriteBitmapRenderTarget; +#ifdef __cplusplus +interface IDWriteBitmapRenderTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteGdiInterop_FWD_DEFINED__ +#define __IDWriteGdiInterop_FWD_DEFINED__ +typedef interface IDWriteGdiInterop IDWriteGdiInterop; +#ifdef __cplusplus +interface IDWriteGdiInterop; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextLayout_FWD_DEFINED__ +#define __IDWriteTextLayout_FWD_DEFINED__ +typedef interface IDWriteTextLayout IDWriteTextLayout; +#ifdef __cplusplus +interface IDWriteTextLayout; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteNumberSubstitution_FWD_DEFINED__ +#define __IDWriteNumberSubstitution_FWD_DEFINED__ +typedef interface IDWriteNumberSubstitution IDWriteNumberSubstitution; +#ifdef __cplusplus +interface IDWriteNumberSubstitution; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalysisSource_FWD_DEFINED__ +#define __IDWriteTextAnalysisSource_FWD_DEFINED__ +typedef interface IDWriteTextAnalysisSource IDWriteTextAnalysisSource; +#ifdef __cplusplus +interface IDWriteTextAnalysisSource; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalysisSink_FWD_DEFINED__ +#define __IDWriteTextAnalysisSink_FWD_DEFINED__ +typedef interface IDWriteTextAnalysisSink IDWriteTextAnalysisSink; +#ifdef __cplusplus +interface IDWriteTextAnalysisSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalyzer_FWD_DEFINED__ +#define __IDWriteTextAnalyzer_FWD_DEFINED__ +typedef interface IDWriteTextAnalyzer IDWriteTextAnalyzer; +#ifdef __cplusplus +interface IDWriteTextAnalyzer; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteGlyphRunAnalysis_FWD_DEFINED__ +#define __IDWriteGlyphRunAnalysis_FWD_DEFINED__ +typedef interface IDWriteGlyphRunAnalysis IDWriteGlyphRunAnalysis; +#ifdef __cplusplus +interface IDWriteGlyphRunAnalysis; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFactory_FWD_DEFINED__ +#define __IDWriteFactory_FWD_DEFINED__ +typedef interface IDWriteFactory IDWriteFactory; +#ifdef __cplusplus +interface IDWriteFactory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IDWriteFactory_FWD_DEFINED__ +#define __IDWriteFactory_FWD_DEFINED__ +typedef interface IDWriteFactory IDWriteFactory; +#ifdef __cplusplus +interface IDWriteFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontCollection_FWD_DEFINED__ +#define __IDWriteFontCollection_FWD_DEFINED__ +typedef interface IDWriteFontCollection IDWriteFontCollection; +#ifdef __cplusplus +interface IDWriteFontCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFamily_FWD_DEFINED__ +#define __IDWriteFontFamily_FWD_DEFINED__ +typedef interface IDWriteFontFamily IDWriteFontFamily; +#ifdef __cplusplus +interface IDWriteFontFamily; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace_FWD_DEFINED__ +#define __IDWriteFontFace_FWD_DEFINED__ +typedef interface IDWriteFontFace IDWriteFontFace; +#ifdef __cplusplus +interface IDWriteFontFace; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteInlineObject_FWD_DEFINED__ +#define __IDWriteInlineObject_FWD_DEFINED__ +typedef interface IDWriteInlineObject IDWriteInlineObject; +#ifdef __cplusplus +interface IDWriteInlineObject; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1SimplifiedGeometrySink_FWD_DEFINED__ +#define __ID2D1SimplifiedGeometrySink_FWD_DEFINED__ +typedef interface ID2D1SimplifiedGeometrySink ID2D1SimplifiedGeometrySink; +#ifdef __cplusplus +interface ID2D1SimplifiedGeometrySink; +#endif /* __cplusplus */ +#endif + +typedef ID2D1SimplifiedGeometrySink IDWriteGeometrySink; +#ifndef _WINDEF_ +typedef void *HMONITOR; +#endif /* _WINDEF_ */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetGlyphIndices +#endif +typedef enum DWRITE_FACTORY_TYPE { + DWRITE_FACTORY_TYPE_SHARED = 0, + DWRITE_FACTORY_TYPE_ISOLATED = 1 +} DWRITE_FACTORY_TYPE; +typedef enum DWRITE_FONT_FILE_TYPE { + DWRITE_FONT_FILE_TYPE_UNKNOWN = 0, + DWRITE_FONT_FILE_TYPE_CFF = 1, + DWRITE_FONT_FILE_TYPE_TRUETYPE = 2, + DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION = 3, + DWRITE_FONT_FILE_TYPE_TYPE1_PFM = 4, + DWRITE_FONT_FILE_TYPE_TYPE1_PFB = 5, + DWRITE_FONT_FILE_TYPE_VECTOR = 6, + DWRITE_FONT_FILE_TYPE_BITMAP = 7, + DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION = DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION +} DWRITE_FONT_FILE_TYPE; +typedef enum DWRITE_FONT_FACE_TYPE { + DWRITE_FONT_FACE_TYPE_CFF = 0, + DWRITE_FONT_FACE_TYPE_TRUETYPE = 1, + DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION = 2, + DWRITE_FONT_FACE_TYPE_TYPE1 = 3, + DWRITE_FONT_FACE_TYPE_VECTOR = 4, + DWRITE_FONT_FACE_TYPE_BITMAP = 5, + DWRITE_FONT_FACE_TYPE_UNKNOWN = 6, + DWRITE_FONT_FACE_TYPE_RAW_CFF = 7, + DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION = DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION +} DWRITE_FONT_FACE_TYPE; +typedef enum DWRITE_FONT_WEIGHT { + DWRITE_FONT_WEIGHT_THIN = 100, + DWRITE_FONT_WEIGHT_EXTRA_LIGHT = 200, + DWRITE_FONT_WEIGHT_ULTRA_LIGHT = 200, + DWRITE_FONT_WEIGHT_LIGHT = 300, + DWRITE_FONT_WEIGHT_SEMI_LIGHT = 350, + DWRITE_FONT_WEIGHT_NORMAL = 400, + DWRITE_FONT_WEIGHT_REGULAR = 400, + DWRITE_FONT_WEIGHT_MEDIUM = 500, + DWRITE_FONT_WEIGHT_DEMI_BOLD = 600, + DWRITE_FONT_WEIGHT_SEMI_BOLD = 600, + DWRITE_FONT_WEIGHT_BOLD = 700, + DWRITE_FONT_WEIGHT_EXTRA_BOLD = 800, + DWRITE_FONT_WEIGHT_ULTRA_BOLD = 800, + DWRITE_FONT_WEIGHT_BLACK = 900, + DWRITE_FONT_WEIGHT_HEAVY = 900, + DWRITE_FONT_WEIGHT_EXTRA_BLACK = 950, + DWRITE_FONT_WEIGHT_ULTRA_BLACK = 950 +} DWRITE_FONT_WEIGHT; +typedef enum DWRITE_FONT_STRETCH { + DWRITE_FONT_STRETCH_UNDEFINED = 0, + DWRITE_FONT_STRETCH_ULTRA_CONDENSED = 1, + DWRITE_FONT_STRETCH_EXTRA_CONDENSED = 2, + DWRITE_FONT_STRETCH_CONDENSED = 3, + DWRITE_FONT_STRETCH_SEMI_CONDENSED = 4, + DWRITE_FONT_STRETCH_NORMAL = 5, + DWRITE_FONT_STRETCH_MEDIUM = 5, + DWRITE_FONT_STRETCH_SEMI_EXPANDED = 6, + DWRITE_FONT_STRETCH_EXPANDED = 7, + DWRITE_FONT_STRETCH_EXTRA_EXPANDED = 8, + DWRITE_FONT_STRETCH_ULTRA_EXPANDED = 9 +} DWRITE_FONT_STRETCH; +typedef enum DWRITE_FONT_STYLE { + DWRITE_FONT_STYLE_NORMAL = 0, + DWRITE_FONT_STYLE_OBLIQUE = 1, + DWRITE_FONT_STYLE_ITALIC = 2 +} DWRITE_FONT_STYLE; +typedef enum DWRITE_INFORMATIONAL_STRING_ID { + DWRITE_INFORMATIONAL_STRING_NONE = 0, + DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE = 1, + DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS = 2, + DWRITE_INFORMATIONAL_STRING_TRADEMARK = 3, + DWRITE_INFORMATIONAL_STRING_MANUFACTURER = 4, + DWRITE_INFORMATIONAL_STRING_DESIGNER = 5, + DWRITE_INFORMATIONAL_STRING_DESIGNER_URL = 6, + DWRITE_INFORMATIONAL_STRING_DESCRIPTION = 7, + DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL = 8, + DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION = 9, + DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL = 10, + DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES = 11, + DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES = 12, + DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES = 13, + DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES = 14, + DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT = 15, + DWRITE_INFORMATIONAL_STRING_FULL_NAME = 16, + DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME = 17, + DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME = 18 +} DWRITE_INFORMATIONAL_STRING_ID; +typedef enum DWRITE_FONT_SIMULATIONS { + DWRITE_FONT_SIMULATIONS_NONE = 0, + DWRITE_FONT_SIMULATIONS_BOLD = 1, + DWRITE_FONT_SIMULATIONS_OBLIQUE = 2 +} DWRITE_FONT_SIMULATIONS; +typedef enum DWRITE_PIXEL_GEOMETRY { + DWRITE_PIXEL_GEOMETRY_FLAT = 0, + DWRITE_PIXEL_GEOMETRY_RGB = 1, + DWRITE_PIXEL_GEOMETRY_BGR = 2 +} DWRITE_PIXEL_GEOMETRY; +typedef enum DWRITE_RENDERING_MODE { + DWRITE_RENDERING_MODE_DEFAULT = 0, + DWRITE_RENDERING_MODE_ALIASED = 1, + DWRITE_RENDERING_MODE_GDI_CLASSIC = 2, + DWRITE_RENDERING_MODE_GDI_NATURAL = 3, + DWRITE_RENDERING_MODE_NATURAL = 4, + DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC = 5, + DWRITE_RENDERING_MODE_OUTLINE = 6, + DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC = DWRITE_RENDERING_MODE_GDI_CLASSIC, + DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL = DWRITE_RENDERING_MODE_GDI_NATURAL, + DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL = DWRITE_RENDERING_MODE_NATURAL, + DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC = DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC +} DWRITE_RENDERING_MODE; +typedef enum DWRITE_TEXT_ALIGNMENT { + DWRITE_TEXT_ALIGNMENT_LEADING = 0, + DWRITE_TEXT_ALIGNMENT_TRAILING = 1, + DWRITE_TEXT_ALIGNMENT_CENTER = 2, + DWRITE_TEXT_ALIGNMENT_JUSTIFIED = 3 +} DWRITE_TEXT_ALIGNMENT; +typedef enum DWRITE_PARAGRAPH_ALIGNMENT { + DWRITE_PARAGRAPH_ALIGNMENT_NEAR = 0, + DWRITE_PARAGRAPH_ALIGNMENT_FAR = 1, + DWRITE_PARAGRAPH_ALIGNMENT_CENTER = 2 +} DWRITE_PARAGRAPH_ALIGNMENT; +typedef enum DWRITE_WORD_WRAPPING { + DWRITE_WORD_WRAPPING_WRAP = 0, + DWRITE_WORD_WRAPPING_NO_WRAP = 1, + DWRITE_WORD_WRAPPING_EMERGENCY_BREAK = 2, + DWRITE_WORD_WRAPPING_WHOLE_WORD = 3, + DWRITE_WORD_WRAPPING_CHARACTER = 4 +} DWRITE_WORD_WRAPPING; +typedef enum DWRITE_READING_DIRECTION { + DWRITE_READING_DIRECTION_LEFT_TO_RIGHT = 0, + DWRITE_READING_DIRECTION_RIGHT_TO_LEFT = 1, + DWRITE_READING_DIRECTION_TOP_TO_BOTTOM = 2, + DWRITE_READING_DIRECTION_BOTTOM_TO_TOP = 3 +} DWRITE_READING_DIRECTION; +typedef enum DWRITE_FLOW_DIRECTION { + DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM = 0, + DWRITE_FLOW_DIRECTION_BOTTOM_TO_TOP = 1, + DWRITE_FLOW_DIRECTION_LEFT_TO_RIGHT = 2, + DWRITE_FLOW_DIRECTION_RIGHT_TO_LEFT = 3 +} DWRITE_FLOW_DIRECTION; +typedef enum DWRITE_TRIMMING_GRANULARITY { + DWRITE_TRIMMING_GRANULARITY_NONE = 0, + DWRITE_TRIMMING_GRANULARITY_CHARACTER = 1, + DWRITE_TRIMMING_GRANULARITY_WORD = 2 +} DWRITE_TRIMMING_GRANULARITY; +typedef enum DWRITE_BREAK_CONDITION { + DWRITE_BREAK_CONDITION_NEUTRAL = 0, + DWRITE_BREAK_CONDITION_CAN_BREAK = 1, + DWRITE_BREAK_CONDITION_MAY_NOT_BREAK = 2, + DWRITE_BREAK_CONDITION_MUST_BREAK = 3 +} DWRITE_BREAK_CONDITION; +typedef enum DWRITE_LINE_SPACING_METHOD { + DWRITE_LINE_SPACING_METHOD_DEFAULT = 0, + DWRITE_LINE_SPACING_METHOD_UNIFORM = 1, + DWRITE_LINE_SPACING_METHOD_PROPORTIONAL = 2 +} DWRITE_LINE_SPACING_METHOD; +#define DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d) ( \ + ((UINT32)(UINT8)(d) << 24) | \ + ((UINT32)(UINT8)(c) << 16) | \ + ((UINT32)(UINT8)(b) << 8) | \ + (UINT32)(UINT8)(a)) +typedef enum DWRITE_FONT_FEATURE_TAG { + DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS = 0x63726661, + DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS = 0x63703263, + DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS = 0x63733263, + DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES = 0x746c6163, + DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS = 0x65736163, + DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION = 0x706d6363, + DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES = 0x67696c63, + DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING = 0x70737063, + DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH = 0x68777363, + DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING = 0x73727563, + DWRITE_FONT_FEATURE_TAG_DEFAULT = 0x746c6664, + DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES = 0x67696c64, + DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS = 0x74707865, + DWRITE_FONT_FEATURE_TAG_FRACTIONS = 0x63617266, + DWRITE_FONT_FEATURE_TAG_FULL_WIDTH = 0x64697766, + DWRITE_FONT_FEATURE_TAG_HALF_FORMS = 0x666c6168, + DWRITE_FONT_FEATURE_TAG_HALANT_FORMS = 0x6e6c6168, + DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH = 0x746c6168, + DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS = 0x74736968, + DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES = 0x616e6b68, + DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES = 0x67696c68, + DWRITE_FONT_FEATURE_TAG_HALF_WIDTH = 0x64697768, + DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS = 0x6f6a6f68, + DWRITE_FONT_FEATURE_TAG_JIS04_FORMS = 0x3430706a, + DWRITE_FONT_FEATURE_TAG_JIS78_FORMS = 0x3837706a, + DWRITE_FONT_FEATURE_TAG_JIS83_FORMS = 0x3338706a, + DWRITE_FONT_FEATURE_TAG_JIS90_FORMS = 0x3039706a, + DWRITE_FONT_FEATURE_TAG_KERNING = 0x6e72656b, + DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES = 0x6167696c, + DWRITE_FONT_FEATURE_TAG_LINING_FIGURES = 0x6d756e6c, + DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS = 0x6c636f6c, + DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING = 0x6b72616d, + DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK = 0x6b72676d, + DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING = 0x6b6d6b6d, + DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS = 0x746c616e, + DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS = 0x6b636c6e, + DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES = 0x6d756e6f, + DWRITE_FONT_FEATURE_TAG_ORDINALS = 0x6e64726f, + DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH = 0x746c6170, + DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS = 0x70616370, + DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES = 0x6d756e70, + DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS = 0x64697770, + DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS = 0x64697771, + DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES = 0x67696c72, + DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS = 0x79627572, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES = 0x746c6173, + DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS = 0x666e6973, + DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS = 0x70636d73, + DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS = 0x6c706d73, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1 = 0x31307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2 = 0x32307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3 = 0x33307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4 = 0x34307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5 = 0x35307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6 = 0x36307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7 = 0x37307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8 = 0x38307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9 = 0x39307373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10 = 0x30317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11 = 0x31317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12 = 0x32317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13 = 0x33317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14 = 0x34317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15 = 0x35317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16 = 0x36317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17 = 0x37317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18 = 0x38317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19 = 0x39317373, + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20 = 0x30327373, + DWRITE_FONT_FEATURE_TAG_SUBSCRIPT = 0x73627573, + DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT = 0x73707573, + DWRITE_FONT_FEATURE_TAG_SWASH = 0x68737773, + DWRITE_FONT_FEATURE_TAG_TITLING = 0x6c746974, + DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS = 0x6d616e74, + DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES = 0x6d756e74, + DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS = 0x64617274, + DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS = 0x64697774, + DWRITE_FONT_FEATURE_TAG_UNICASE = 0x63696e75, + DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING = 0x74726576, + DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION = 0x32747276, + DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO = 0x6f72657a +} DWRITE_FONT_FEATURE_TAG; +typedef enum DWRITE_SCRIPT_SHAPES { + DWRITE_SCRIPT_SHAPES_DEFAULT = 0, + DWRITE_SCRIPT_SHAPES_NO_VISUAL = 1 +} DWRITE_SCRIPT_SHAPES; +typedef enum DWRITE_NUMBER_SUBSTITUTION_METHOD { + DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE = 0, + DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL = 1, + DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE = 2, + DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL = 3, + DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL = 4 +} DWRITE_NUMBER_SUBSTITUTION_METHOD; +#define DWRITE_ALPHA_MAX 255 +typedef enum DWRITE_TEXTURE_TYPE { + DWRITE_TEXTURE_ALIASED_1x1 = 0, + DWRITE_TEXTURE_CLEARTYPE_3x1 = 1 +} DWRITE_TEXTURE_TYPE; +typedef struct DWRITE_FONT_METRICS { + UINT16 designUnitsPerEm; + UINT16 ascent; + UINT16 descent; + INT16 lineGap; + UINT16 capHeight; + UINT16 xHeight; + INT16 underlinePosition; + UINT16 underlineThickness; + INT16 strikethroughPosition; + UINT16 strikethroughThickness; +} DWRITE_FONT_METRICS; +typedef struct DWRITE_GLYPH_METRICS { + INT32 leftSideBearing; + UINT32 advanceWidth; + INT32 rightSideBearing; + INT32 topSideBearing; + UINT32 advanceHeight; + INT32 bottomSideBearing; + INT32 verticalOriginY; +} DWRITE_GLYPH_METRICS; +typedef struct DWRITE_GLYPH_OFFSET { + FLOAT advanceOffset; + FLOAT ascenderOffset; +} DWRITE_GLYPH_OFFSET; +typedef struct DWRITE_MATRIX { + FLOAT m11; + FLOAT m12; + FLOAT m21; + FLOAT m22; + FLOAT dx; + FLOAT dy; +} DWRITE_MATRIX; +typedef struct DWRITE_TRIMMING { + DWRITE_TRIMMING_GRANULARITY granularity; + UINT32 delimiter; + UINT32 delimiterCount; +} DWRITE_TRIMMING; +#ifndef __d2d1_h__ +typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN; +#endif /* __d2d1_h__ */ +struct DWRITE_GLYPH_RUN { + IDWriteFontFace *fontFace; + FLOAT fontEmSize; + UINT32 glyphCount; + const UINT16 *glyphIndices; + const FLOAT *glyphAdvances; + const DWRITE_GLYPH_OFFSET *glyphOffsets; + BOOL isSideways; + UINT32 bidiLevel; +}; +typedef struct DWRITE_GLYPH_RUN_DESCRIPTION { + const WCHAR *localeName; + const WCHAR *string; + UINT32 stringLength; + const UINT16 *clusterMap; + UINT32 textPosition; +} DWRITE_GLYPH_RUN_DESCRIPTION; +typedef struct DWRITE_UNDERLINE { + FLOAT width; + FLOAT thickness; + FLOAT offset; + FLOAT runHeight; + DWRITE_READING_DIRECTION readingDirection; + DWRITE_FLOW_DIRECTION flowDirection; + const WCHAR *localeName; + DWRITE_MEASURING_MODE measuringMode; +} DWRITE_UNDERLINE; +typedef struct DWRITE_STRIKETHROUGH { + FLOAT width; + FLOAT thickness; + FLOAT offset; + DWRITE_READING_DIRECTION readingDirection; + DWRITE_FLOW_DIRECTION flowDirection; + const WCHAR *localeName; + DWRITE_MEASURING_MODE measuringMode; +} DWRITE_STRIKETHROUGH; +typedef struct DWRITE_INLINE_OBJECT_METRICS { + FLOAT width; + FLOAT height; + FLOAT baseline; + BOOL supportsSideways; +} DWRITE_INLINE_OBJECT_METRICS; +typedef struct DWRITE_OVERHANG_METRICS { + FLOAT left; + FLOAT top; + FLOAT right; + FLOAT bottom; +} DWRITE_OVERHANG_METRICS; +typedef struct DWRITE_FONT_FEATURE { + DWRITE_FONT_FEATURE_TAG nameTag; + UINT32 parameter; +} DWRITE_FONT_FEATURE; +typedef struct DWRITE_TEXT_RANGE { + UINT32 startPosition; + UINT32 length; +} DWRITE_TEXT_RANGE; +typedef struct DWRITE_LINE_METRICS { + UINT32 length; + UINT32 trailingWhitespaceLength; + UINT32 newlineLength; + FLOAT height; + FLOAT baseline; + BOOL isTrimmed; +} DWRITE_LINE_METRICS; +typedef struct DWRITE_TEXT_METRICS { + FLOAT left; + FLOAT top; + FLOAT width; + FLOAT widthIncludingTrailingWhitespace; + FLOAT height; + FLOAT layoutWidth; + FLOAT layoutHeight; + UINT32 maxBidiReorderingDepth; + UINT32 lineCount; +} DWRITE_TEXT_METRICS; +typedef struct DWRITE_CLUSTER_METRICS { + FLOAT width; + UINT16 length; + UINT16 canWrapLineAfter : 1; + UINT16 isWhitespace : 1; + UINT16 isNewline : 1; + UINT16 isSoftHyphen : 1; + UINT16 isRightToLeft : 1; + UINT16 padding : 11; +} DWRITE_CLUSTER_METRICS; +typedef struct DWRITE_HIT_TEST_METRICS { + UINT32 textPosition; + UINT32 length; + FLOAT left; + FLOAT top; + FLOAT width; + FLOAT height; + UINT32 bidiLevel; + BOOL isText; + BOOL isTrimmed; +} DWRITE_HIT_TEST_METRICS; +typedef struct DWRITE_SCRIPT_ANALYSIS { + UINT16 script; + DWRITE_SCRIPT_SHAPES shapes; +} DWRITE_SCRIPT_ANALYSIS; +typedef struct DWRITE_LINE_BREAKPOINT { + UINT8 breakConditionBefore : 2; + UINT8 breakConditionAfter : 2; + UINT8 isWhitespace : 1; + UINT8 isSoftHyphen : 1; + UINT8 padding : 2; +} DWRITE_LINE_BREAKPOINT; +typedef struct DWRITE_TYPOGRAPHIC_FEATURES { + DWRITE_FONT_FEATURE *features; + UINT32 featureCount; +} DWRITE_TYPOGRAPHIC_FEATURES; +typedef struct DWRITE_SHAPING_TEXT_PROPERTIES { + UINT16 isShapedAlone : 1; + UINT16 reserved : 15; +} DWRITE_SHAPING_TEXT_PROPERTIES; +typedef struct DWRITE_SHAPING_GLYPH_PROPERTIES { + UINT16 justification : 4; + UINT16 isClusterStart : 1; + UINT16 isDiacritic : 1; + UINT16 isZeroWidthSpace : 1; + UINT16 reserved : 9; +} DWRITE_SHAPING_GLYPH_PROPERTIES; +/***************************************************************************** + * IDWriteFontFileStream interface + */ +#ifndef __IDWriteFontFileStream_INTERFACE_DEFINED__ +#define __IDWriteFontFileStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFileStream, 0x6d4865fe, 0x0ab8, 0x4d91, 0x8f,0x62, 0x5d,0xd6,0xbe,0x34,0xa3,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6d4865fe-0ab8-4d91-8f62-5dd6be34a3e0") +IDWriteFontFileStream : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ReadFileFragment( + const void **fragment_start, + UINT64 offset, + UINT64 fragment_size, + void **fragment_context) = 0; + + virtual void STDMETHODCALLTYPE ReleaseFileFragment( + void *fragment_context) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileSize( + UINT64 *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastWriteTime( + UINT64 *last_writetime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFileStream, 0x6d4865fe, 0x0ab8, 0x4d91, 0x8f,0x62, 0x5d,0xd6,0xbe,0x34,0xa3,0xe0) +#endif +#else +typedef struct IDWriteFontFileStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFileStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFileStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFileStream *This); + + /*** IDWriteFontFileStream methods ***/ + HRESULT (STDMETHODCALLTYPE *ReadFileFragment)( + IDWriteFontFileStream *This, + const void **fragment_start, + UINT64 offset, + UINT64 fragment_size, + void **fragment_context); + + void (STDMETHODCALLTYPE *ReleaseFileFragment)( + IDWriteFontFileStream *This, + void *fragment_context); + + HRESULT (STDMETHODCALLTYPE *GetFileSize)( + IDWriteFontFileStream *This, + UINT64 *size); + + HRESULT (STDMETHODCALLTYPE *GetLastWriteTime)( + IDWriteFontFileStream *This, + UINT64 *last_writetime); + + END_INTERFACE +} IDWriteFontFileStreamVtbl; + +interface IDWriteFontFileStream { + CONST_VTBL IDWriteFontFileStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFileStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFileStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFileStream_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileStream methods ***/ +#define IDWriteFontFileStream_ReadFileFragment(This,fragment_start,offset,fragment_size,fragment_context) (This)->lpVtbl->ReadFileFragment(This,fragment_start,offset,fragment_size,fragment_context) +#define IDWriteFontFileStream_ReleaseFileFragment(This,fragment_context) (This)->lpVtbl->ReleaseFileFragment(This,fragment_context) +#define IDWriteFontFileStream_GetFileSize(This,size) (This)->lpVtbl->GetFileSize(This,size) +#define IDWriteFontFileStream_GetLastWriteTime(This,last_writetime) (This)->lpVtbl->GetLastWriteTime(This,last_writetime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFileStream_QueryInterface(IDWriteFontFileStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFileStream_AddRef(IDWriteFontFileStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFileStream_Release(IDWriteFontFileStream* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileStream methods ***/ +static FORCEINLINE HRESULT IDWriteFontFileStream_ReadFileFragment(IDWriteFontFileStream* This,const void **fragment_start,UINT64 offset,UINT64 fragment_size,void **fragment_context) { + return This->lpVtbl->ReadFileFragment(This,fragment_start,offset,fragment_size,fragment_context); +} +static FORCEINLINE void IDWriteFontFileStream_ReleaseFileFragment(IDWriteFontFileStream* This,void *fragment_context) { + This->lpVtbl->ReleaseFileFragment(This,fragment_context); +} +static FORCEINLINE HRESULT IDWriteFontFileStream_GetFileSize(IDWriteFontFileStream* This,UINT64 *size) { + return This->lpVtbl->GetFileSize(This,size); +} +static FORCEINLINE HRESULT IDWriteFontFileStream_GetLastWriteTime(IDWriteFontFileStream* This,UINT64 *last_writetime) { + return This->lpVtbl->GetLastWriteTime(This,last_writetime); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFileStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFileLoader interface + */ +#ifndef __IDWriteFontFileLoader_INTERFACE_DEFINED__ +#define __IDWriteFontFileLoader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFileLoader, 0x727cad4e, 0xd6af, 0x4c9e, 0x8a,0x08, 0xd6,0x95,0xb1,0x1c,0xaa,0x49); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("727cad4e-d6af-4c9e-8a08-d695b11caa49") +IDWriteFontFileLoader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateStreamFromKey( + const void *key, + UINT32 key_size, + IDWriteFontFileStream **stream) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFileLoader, 0x727cad4e, 0xd6af, 0x4c9e, 0x8a,0x08, 0xd6,0x95,0xb1,0x1c,0xaa,0x49) +#endif +#else +typedef struct IDWriteFontFileLoaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFileLoader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFileLoader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFileLoader *This); + + /*** IDWriteFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStreamFromKey)( + IDWriteFontFileLoader *This, + const void *key, + UINT32 key_size, + IDWriteFontFileStream **stream); + + END_INTERFACE +} IDWriteFontFileLoaderVtbl; + +interface IDWriteFontFileLoader { + CONST_VTBL IDWriteFontFileLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFileLoader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFileLoader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFileLoader_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileLoader methods ***/ +#define IDWriteFontFileLoader_CreateStreamFromKey(This,key,key_size,stream) (This)->lpVtbl->CreateStreamFromKey(This,key,key_size,stream) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFileLoader_QueryInterface(IDWriteFontFileLoader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFileLoader_AddRef(IDWriteFontFileLoader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFileLoader_Release(IDWriteFontFileLoader* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteFontFileLoader_CreateStreamFromKey(IDWriteFontFileLoader* This,const void *key,UINT32 key_size,IDWriteFontFileStream **stream) { + return This->lpVtbl->CreateStreamFromKey(This,key,key_size,stream); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFileLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteLocalFontFileLoader interface + */ +#ifndef __IDWriteLocalFontFileLoader_INTERFACE_DEFINED__ +#define __IDWriteLocalFontFileLoader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteLocalFontFileLoader, 0xb2d9f3ec, 0xc9fe, 0x4a11, 0xa2,0xec, 0xd8,0x62,0x08,0xf7,0xc0,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b2d9f3ec-c9fe-4a11-a2ec-d86208f7c0a2") +IDWriteLocalFontFileLoader : public IDWriteFontFileLoader +{ + virtual HRESULT STDMETHODCALLTYPE GetFilePathLengthFromKey( + const void *key, + UINT32 key_size, + UINT32 *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilePathFromKey( + const void *key, + UINT32 key_size, + WCHAR *path, + UINT32 length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastWriteTimeFromKey( + const void *key, + UINT32 key_size, + FILETIME *writetime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteLocalFontFileLoader, 0xb2d9f3ec, 0xc9fe, 0x4a11, 0xa2,0xec, 0xd8,0x62,0x08,0xf7,0xc0,0xa2) +#endif +#else +typedef struct IDWriteLocalFontFileLoaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteLocalFontFileLoader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteLocalFontFileLoader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteLocalFontFileLoader *This); + + /*** IDWriteFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStreamFromKey)( + IDWriteLocalFontFileLoader *This, + const void *key, + UINT32 key_size, + IDWriteFontFileStream **stream); + + /*** IDWriteLocalFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFilePathLengthFromKey)( + IDWriteLocalFontFileLoader *This, + const void *key, + UINT32 key_size, + UINT32 *length); + + HRESULT (STDMETHODCALLTYPE *GetFilePathFromKey)( + IDWriteLocalFontFileLoader *This, + const void *key, + UINT32 key_size, + WCHAR *path, + UINT32 length); + + HRESULT (STDMETHODCALLTYPE *GetLastWriteTimeFromKey)( + IDWriteLocalFontFileLoader *This, + const void *key, + UINT32 key_size, + FILETIME *writetime); + + END_INTERFACE +} IDWriteLocalFontFileLoaderVtbl; + +interface IDWriteLocalFontFileLoader { + CONST_VTBL IDWriteLocalFontFileLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteLocalFontFileLoader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteLocalFontFileLoader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteLocalFontFileLoader_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileLoader methods ***/ +#define IDWriteLocalFontFileLoader_CreateStreamFromKey(This,key,key_size,stream) (This)->lpVtbl->CreateStreamFromKey(This,key,key_size,stream) +/*** IDWriteLocalFontFileLoader methods ***/ +#define IDWriteLocalFontFileLoader_GetFilePathLengthFromKey(This,key,key_size,length) (This)->lpVtbl->GetFilePathLengthFromKey(This,key,key_size,length) +#define IDWriteLocalFontFileLoader_GetFilePathFromKey(This,key,key_size,path,length) (This)->lpVtbl->GetFilePathFromKey(This,key,key_size,path,length) +#define IDWriteLocalFontFileLoader_GetLastWriteTimeFromKey(This,key,key_size,writetime) (This)->lpVtbl->GetLastWriteTimeFromKey(This,key,key_size,writetime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteLocalFontFileLoader_QueryInterface(IDWriteLocalFontFileLoader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteLocalFontFileLoader_AddRef(IDWriteLocalFontFileLoader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteLocalFontFileLoader_Release(IDWriteLocalFontFileLoader* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteLocalFontFileLoader_CreateStreamFromKey(IDWriteLocalFontFileLoader* This,const void *key,UINT32 key_size,IDWriteFontFileStream **stream) { + return This->lpVtbl->CreateStreamFromKey(This,key,key_size,stream); +} +/*** IDWriteLocalFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteLocalFontFileLoader_GetFilePathLengthFromKey(IDWriteLocalFontFileLoader* This,const void *key,UINT32 key_size,UINT32 *length) { + return This->lpVtbl->GetFilePathLengthFromKey(This,key,key_size,length); +} +static FORCEINLINE HRESULT IDWriteLocalFontFileLoader_GetFilePathFromKey(IDWriteLocalFontFileLoader* This,const void *key,UINT32 key_size,WCHAR *path,UINT32 length) { + return This->lpVtbl->GetFilePathFromKey(This,key,key_size,path,length); +} +static FORCEINLINE HRESULT IDWriteLocalFontFileLoader_GetLastWriteTimeFromKey(IDWriteLocalFontFileLoader* This,const void *key,UINT32 key_size,FILETIME *writetime) { + return This->lpVtbl->GetLastWriteTimeFromKey(This,key,key_size,writetime); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteLocalFontFileLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFile interface + */ +#ifndef __IDWriteFontFile_INTERFACE_DEFINED__ +#define __IDWriteFontFile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFile, 0x739d886a, 0xcef5, 0x47dc, 0x87,0x69, 0x1a,0x8b,0x41,0xbe,0xbb,0xb0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("739d886a-cef5-47dc-8769-1a8b41bebbb0") +IDWriteFontFile : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetReferenceKey( + const void **key, + UINT32 *key_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLoader( + IDWriteFontFileLoader **loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE Analyze( + BOOL *is_supported_fonttype, + DWRITE_FONT_FILE_TYPE *file_type, + DWRITE_FONT_FACE_TYPE *face_type, + UINT32 *faces_num) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFile, 0x739d886a, 0xcef5, 0x47dc, 0x87,0x69, 0x1a,0x8b,0x41,0xbe,0xbb,0xb0) +#endif +#else +typedef struct IDWriteFontFileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFile *This); + + /*** IDWriteFontFile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetReferenceKey)( + IDWriteFontFile *This, + const void **key, + UINT32 *key_size); + + HRESULT (STDMETHODCALLTYPE *GetLoader)( + IDWriteFontFile *This, + IDWriteFontFileLoader **loader); + + HRESULT (STDMETHODCALLTYPE *Analyze)( + IDWriteFontFile *This, + BOOL *is_supported_fonttype, + DWRITE_FONT_FILE_TYPE *file_type, + DWRITE_FONT_FACE_TYPE *face_type, + UINT32 *faces_num); + + END_INTERFACE +} IDWriteFontFileVtbl; + +interface IDWriteFontFile { + CONST_VTBL IDWriteFontFileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFile_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFile methods ***/ +#define IDWriteFontFile_GetReferenceKey(This,key,key_size) (This)->lpVtbl->GetReferenceKey(This,key,key_size) +#define IDWriteFontFile_GetLoader(This,loader) (This)->lpVtbl->GetLoader(This,loader) +#define IDWriteFontFile_Analyze(This,is_supported_fonttype,file_type,face_type,faces_num) (This)->lpVtbl->Analyze(This,is_supported_fonttype,file_type,face_type,faces_num) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFile_QueryInterface(IDWriteFontFile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFile_AddRef(IDWriteFontFile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFile_Release(IDWriteFontFile* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFile methods ***/ +static FORCEINLINE HRESULT IDWriteFontFile_GetReferenceKey(IDWriteFontFile* This,const void **key,UINT32 *key_size) { + return This->lpVtbl->GetReferenceKey(This,key,key_size); +} +static FORCEINLINE HRESULT IDWriteFontFile_GetLoader(IDWriteFontFile* This,IDWriteFontFileLoader **loader) { + return This->lpVtbl->GetLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFontFile_Analyze(IDWriteFontFile* This,BOOL *is_supported_fonttype,DWRITE_FONT_FILE_TYPE *file_type,DWRITE_FONT_FACE_TYPE *face_type,UINT32 *faces_num) { + return This->lpVtbl->Analyze(This,is_supported_fonttype,file_type,face_type,faces_num); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFileEnumerator interface + */ +#ifndef __IDWriteFontFileEnumerator_INTERFACE_DEFINED__ +#define __IDWriteFontFileEnumerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFileEnumerator, 0x72755049, 0x5ff7, 0x435d, 0x83,0x48, 0x4b,0xe9,0x7c,0xfa,0x6c,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("72755049-5ff7-435d-8348-4be97cfa6c7c") +IDWriteFontFileEnumerator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE MoveNext( + BOOL *has_current_file) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentFontFile( + IDWriteFontFile **font_file) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFileEnumerator, 0x72755049, 0x5ff7, 0x435d, 0x83,0x48, 0x4b,0xe9,0x7c,0xfa,0x6c,0x7c) +#endif +#else +typedef struct IDWriteFontFileEnumeratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFileEnumerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFileEnumerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFileEnumerator *This); + + /*** IDWriteFontFileEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *MoveNext)( + IDWriteFontFileEnumerator *This, + BOOL *has_current_file); + + HRESULT (STDMETHODCALLTYPE *GetCurrentFontFile)( + IDWriteFontFileEnumerator *This, + IDWriteFontFile **font_file); + + END_INTERFACE +} IDWriteFontFileEnumeratorVtbl; + +interface IDWriteFontFileEnumerator { + CONST_VTBL IDWriteFontFileEnumeratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFileEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFileEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFileEnumerator_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileEnumerator methods ***/ +#define IDWriteFontFileEnumerator_MoveNext(This,has_current_file) (This)->lpVtbl->MoveNext(This,has_current_file) +#define IDWriteFontFileEnumerator_GetCurrentFontFile(This,font_file) (This)->lpVtbl->GetCurrentFontFile(This,font_file) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFileEnumerator_QueryInterface(IDWriteFontFileEnumerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFileEnumerator_AddRef(IDWriteFontFileEnumerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFileEnumerator_Release(IDWriteFontFileEnumerator* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileEnumerator methods ***/ +static FORCEINLINE HRESULT IDWriteFontFileEnumerator_MoveNext(IDWriteFontFileEnumerator* This,BOOL *has_current_file) { + return This->lpVtbl->MoveNext(This,has_current_file); +} +static FORCEINLINE HRESULT IDWriteFontFileEnumerator_GetCurrentFontFile(IDWriteFontFileEnumerator* This,IDWriteFontFile **font_file) { + return This->lpVtbl->GetCurrentFontFile(This,font_file); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFileEnumerator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontCollectionLoader interface + */ +#ifndef __IDWriteFontCollectionLoader_INTERFACE_DEFINED__ +#define __IDWriteFontCollectionLoader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontCollectionLoader, 0xcca920e4, 0x52f0, 0x492b, 0xbf,0xa8, 0x29,0xc7,0x2e,0xe0,0xa4,0x68); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cca920e4-52f0-492b-bfa8-29c72ee0a468") +IDWriteFontCollectionLoader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateEnumeratorFromKey( + IDWriteFactory *factory, + const void *key, + UINT32 key_size, + IDWriteFontFileEnumerator **enumerator) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontCollectionLoader, 0xcca920e4, 0x52f0, 0x492b, 0xbf,0xa8, 0x29,0xc7,0x2e,0xe0,0xa4,0x68) +#endif +#else +typedef struct IDWriteFontCollectionLoaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontCollectionLoader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontCollectionLoader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontCollectionLoader *This); + + /*** IDWriteFontCollectionLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateEnumeratorFromKey)( + IDWriteFontCollectionLoader *This, + IDWriteFactory *factory, + const void *key, + UINT32 key_size, + IDWriteFontFileEnumerator **enumerator); + + END_INTERFACE +} IDWriteFontCollectionLoaderVtbl; + +interface IDWriteFontCollectionLoader { + CONST_VTBL IDWriteFontCollectionLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontCollectionLoader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontCollectionLoader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontCollectionLoader_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontCollectionLoader methods ***/ +#define IDWriteFontCollectionLoader_CreateEnumeratorFromKey(This,factory,key,key_size,enumerator) (This)->lpVtbl->CreateEnumeratorFromKey(This,factory,key,key_size,enumerator) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontCollectionLoader_QueryInterface(IDWriteFontCollectionLoader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontCollectionLoader_AddRef(IDWriteFontCollectionLoader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontCollectionLoader_Release(IDWriteFontCollectionLoader* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontCollectionLoader methods ***/ +static FORCEINLINE HRESULT IDWriteFontCollectionLoader_CreateEnumeratorFromKey(IDWriteFontCollectionLoader* This,IDWriteFactory *factory,const void *key,UINT32 key_size,IDWriteFontFileEnumerator **enumerator) { + return This->lpVtbl->CreateEnumeratorFromKey(This,factory,key,key_size,enumerator); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontCollectionLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteLocalizedStrings interface + */ +#ifndef __IDWriteLocalizedStrings_INTERFACE_DEFINED__ +#define __IDWriteLocalizedStrings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteLocalizedStrings, 0x08256209, 0x099a, 0x4b34, 0xb8,0x6d, 0xc2,0x2b,0x11,0x0e,0x77,0x71); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("08256209-099a-4b34-b86d-c22b110e7771") +IDWriteLocalizedStrings : public IUnknown +{ + virtual UINT32 STDMETHODCALLTYPE GetCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindLocaleName( + const WCHAR *locale_name, + UINT32 *index, + BOOL *exists) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleNameLength( + UINT32 index, + UINT32 *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleName( + UINT32 index, + WCHAR *locale_name, + UINT32 size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringLength( + UINT32 index, + UINT32 *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetString( + UINT32 index, + WCHAR *buffer, + UINT32 size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteLocalizedStrings, 0x08256209, 0x099a, 0x4b34, 0xb8,0x6d, 0xc2,0x2b,0x11,0x0e,0x77,0x71) +#endif +#else +typedef struct IDWriteLocalizedStringsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteLocalizedStrings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteLocalizedStrings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteLocalizedStrings *This); + + /*** IDWriteLocalizedStrings methods ***/ + UINT32 (STDMETHODCALLTYPE *GetCount)( + IDWriteLocalizedStrings *This); + + HRESULT (STDMETHODCALLTYPE *FindLocaleName)( + IDWriteLocalizedStrings *This, + const WCHAR *locale_name, + UINT32 *index, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteLocalizedStrings *This, + UINT32 index, + UINT32 *length); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteLocalizedStrings *This, + UINT32 index, + WCHAR *locale_name, + UINT32 size); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IDWriteLocalizedStrings *This, + UINT32 index, + UINT32 *length); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IDWriteLocalizedStrings *This, + UINT32 index, + WCHAR *buffer, + UINT32 size); + + END_INTERFACE +} IDWriteLocalizedStringsVtbl; + +interface IDWriteLocalizedStrings { + CONST_VTBL IDWriteLocalizedStringsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteLocalizedStrings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteLocalizedStrings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteLocalizedStrings_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteLocalizedStrings methods ***/ +#define IDWriteLocalizedStrings_GetCount(This) (This)->lpVtbl->GetCount(This) +#define IDWriteLocalizedStrings_FindLocaleName(This,locale_name,index,exists) (This)->lpVtbl->FindLocaleName(This,locale_name,index,exists) +#define IDWriteLocalizedStrings_GetLocaleNameLength(This,index,length) (This)->lpVtbl->GetLocaleNameLength(This,index,length) +#define IDWriteLocalizedStrings_GetLocaleName(This,index,locale_name,size) (This)->lpVtbl->GetLocaleName(This,index,locale_name,size) +#define IDWriteLocalizedStrings_GetStringLength(This,index,length) (This)->lpVtbl->GetStringLength(This,index,length) +#define IDWriteLocalizedStrings_GetString(This,index,buffer,size) (This)->lpVtbl->GetString(This,index,buffer,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteLocalizedStrings_QueryInterface(IDWriteLocalizedStrings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteLocalizedStrings_AddRef(IDWriteLocalizedStrings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteLocalizedStrings_Release(IDWriteLocalizedStrings* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteLocalizedStrings methods ***/ +static FORCEINLINE UINT32 IDWriteLocalizedStrings_GetCount(IDWriteLocalizedStrings* This) { + return This->lpVtbl->GetCount(This); +} +static FORCEINLINE HRESULT IDWriteLocalizedStrings_FindLocaleName(IDWriteLocalizedStrings* This,const WCHAR *locale_name,UINT32 *index,BOOL *exists) { + return This->lpVtbl->FindLocaleName(This,locale_name,index,exists); +} +static FORCEINLINE HRESULT IDWriteLocalizedStrings_GetLocaleNameLength(IDWriteLocalizedStrings* This,UINT32 index,UINT32 *length) { + return This->lpVtbl->GetLocaleNameLength(This,index,length); +} +static FORCEINLINE HRESULT IDWriteLocalizedStrings_GetLocaleName(IDWriteLocalizedStrings* This,UINT32 index,WCHAR *locale_name,UINT32 size) { + return This->lpVtbl->GetLocaleName(This,index,locale_name,size); +} +static FORCEINLINE HRESULT IDWriteLocalizedStrings_GetStringLength(IDWriteLocalizedStrings* This,UINT32 index,UINT32 *length) { + return This->lpVtbl->GetStringLength(This,index,length); +} +static FORCEINLINE HRESULT IDWriteLocalizedStrings_GetString(IDWriteLocalizedStrings* This,UINT32 index,WCHAR *buffer,UINT32 size) { + return This->lpVtbl->GetString(This,index,buffer,size); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteLocalizedStrings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteRenderingParams interface + */ +#ifndef __IDWriteRenderingParams_INTERFACE_DEFINED__ +#define __IDWriteRenderingParams_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteRenderingParams, 0x2f0da53a, 0x2add, 0x47cd, 0x82,0xee, 0xd9,0xec,0x34,0x68,0x8e,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2f0da53a-2add-47cd-82ee-d9ec34688e75") +IDWriteRenderingParams : public IUnknown +{ + virtual FLOAT STDMETHODCALLTYPE GetGamma( + ) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetEnhancedContrast( + ) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetClearTypeLevel( + ) = 0; + + virtual DWRITE_PIXEL_GEOMETRY STDMETHODCALLTYPE GetPixelGeometry( + ) = 0; + + virtual DWRITE_RENDERING_MODE STDMETHODCALLTYPE GetRenderingMode( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteRenderingParams, 0x2f0da53a, 0x2add, 0x47cd, 0x82,0xee, 0xd9,0xec,0x34,0x68,0x8e,0x75) +#endif +#else +typedef struct IDWriteRenderingParamsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteRenderingParams *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteRenderingParams *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteRenderingParams *This); + + /*** IDWriteRenderingParams methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGamma)( + IDWriteRenderingParams *This); + + FLOAT (STDMETHODCALLTYPE *GetEnhancedContrast)( + IDWriteRenderingParams *This); + + FLOAT (STDMETHODCALLTYPE *GetClearTypeLevel)( + IDWriteRenderingParams *This); + + DWRITE_PIXEL_GEOMETRY (STDMETHODCALLTYPE *GetPixelGeometry)( + IDWriteRenderingParams *This); + + DWRITE_RENDERING_MODE (STDMETHODCALLTYPE *GetRenderingMode)( + IDWriteRenderingParams *This); + + END_INTERFACE +} IDWriteRenderingParamsVtbl; + +interface IDWriteRenderingParams { + CONST_VTBL IDWriteRenderingParamsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteRenderingParams_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteRenderingParams_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteRenderingParams_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteRenderingParams methods ***/ +#define IDWriteRenderingParams_GetGamma(This) (This)->lpVtbl->GetGamma(This) +#define IDWriteRenderingParams_GetEnhancedContrast(This) (This)->lpVtbl->GetEnhancedContrast(This) +#define IDWriteRenderingParams_GetClearTypeLevel(This) (This)->lpVtbl->GetClearTypeLevel(This) +#define IDWriteRenderingParams_GetPixelGeometry(This) (This)->lpVtbl->GetPixelGeometry(This) +#define IDWriteRenderingParams_GetRenderingMode(This) (This)->lpVtbl->GetRenderingMode(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteRenderingParams_QueryInterface(IDWriteRenderingParams* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteRenderingParams_AddRef(IDWriteRenderingParams* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteRenderingParams_Release(IDWriteRenderingParams* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteRenderingParams methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams_GetGamma(IDWriteRenderingParams* This) { + return This->lpVtbl->GetGamma(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams_GetEnhancedContrast(IDWriteRenderingParams* This) { + return This->lpVtbl->GetEnhancedContrast(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams_GetClearTypeLevel(IDWriteRenderingParams* This) { + return This->lpVtbl->GetClearTypeLevel(This); +} +static FORCEINLINE DWRITE_PIXEL_GEOMETRY IDWriteRenderingParams_GetPixelGeometry(IDWriteRenderingParams* This) { + return This->lpVtbl->GetPixelGeometry(This); +} +static FORCEINLINE DWRITE_RENDERING_MODE IDWriteRenderingParams_GetRenderingMode(IDWriteRenderingParams* This) { + return This->lpVtbl->GetRenderingMode(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteRenderingParams_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFace interface + */ +#ifndef __IDWriteFontFace_INTERFACE_DEFINED__ +#define __IDWriteFontFace_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFace, 0x5f49804d, 0x7024, 0x4d43, 0xbf,0xa9, 0xd2,0x59,0x84,0xf5,0x38,0x49); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5f49804d-7024-4d43-bfa9-d25984f53849") +IDWriteFontFace : public IUnknown +{ + virtual DWRITE_FONT_FACE_TYPE STDMETHODCALLTYPE GetType( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFiles( + UINT32 *number_of_files, + IDWriteFontFile **fontfiles) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetIndex( + ) = 0; + + virtual DWRITE_FONT_SIMULATIONS STDMETHODCALLTYPE GetSimulations( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE IsSymbolFont( + ) = 0; + + virtual void STDMETHODCALLTYPE GetMetrics( + DWRITE_FONT_METRICS *metrics) = 0; + + virtual UINT16 STDMETHODCALLTYPE GetGlyphCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDesignGlyphMetrics( + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways = FALSE) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices( + const UINT32 *codepoints, + UINT32 count, + UINT16 *glyph_indices) = 0; + + virtual HRESULT STDMETHODCALLTYPE TryGetFontTable( + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists) = 0; + + virtual void STDMETHODCALLTYPE ReleaseFontTable( + void *table_context) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlyphRunOutline( + FLOAT emSize, + const UINT16 *glyph_indices, + const FLOAT *glyph_advances, + const DWRITE_GLYPH_OFFSET *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRecommendedRenderingMode( + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *rendering_mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGdiCompatibleMetrics( + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGdiCompatibleGlyphMetrics( + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways = FALSE) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFace, 0x5f49804d, 0x7024, 0x4d43, 0xbf,0xa9, 0xd2,0x59,0x84,0xf5,0x38,0x49) +#endif +#else +typedef struct IDWriteFontFaceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFace *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFace *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFace *This); + + /*** IDWriteFontFace methods ***/ + DWRITE_FONT_FACE_TYPE (STDMETHODCALLTYPE *GetType)( + IDWriteFontFace *This); + + HRESULT (STDMETHODCALLTYPE *GetFiles)( + IDWriteFontFace *This, + UINT32 *number_of_files, + IDWriteFontFile **fontfiles); + + UINT32 (STDMETHODCALLTYPE *GetIndex)( + IDWriteFontFace *This); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFontFace *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFontFace *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFontFace *This, + DWRITE_FONT_METRICS *metrics); + + UINT16 (STDMETHODCALLTYPE *GetGlyphCount)( + IDWriteFontFace *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphMetrics)( + IDWriteFontFace *This, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)( + IDWriteFontFace *This, + const UINT32 *codepoints, + UINT32 count, + UINT16 *glyph_indices); + + HRESULT (STDMETHODCALLTYPE *TryGetFontTable)( + IDWriteFontFace *This, + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists); + + void (STDMETHODCALLTYPE *ReleaseFontTable)( + IDWriteFontFace *This, + void *table_context); + + HRESULT (STDMETHODCALLTYPE *GetGlyphRunOutline)( + IDWriteFontFace *This, + FLOAT emSize, + const UINT16 *glyph_indices, + const FLOAT *glyph_advances, + const DWRITE_GLYPH_OFFSET *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink); + + HRESULT (STDMETHODCALLTYPE *GetRecommendedRenderingMode)( + IDWriteFontFace *This, + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleMetrics)( + IDWriteFontFace *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphMetrics)( + IDWriteFontFace *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + END_INTERFACE +} IDWriteFontFaceVtbl; + +interface IDWriteFontFace { + CONST_VTBL IDWriteFontFaceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFace_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFace_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFace methods ***/ +#define IDWriteFontFace_GetType(This) (This)->lpVtbl->GetType(This) +#define IDWriteFontFace_GetFiles(This,number_of_files,fontfiles) (This)->lpVtbl->GetFiles(This,number_of_files,fontfiles) +#define IDWriteFontFace_GetIndex(This) (This)->lpVtbl->GetIndex(This) +#define IDWriteFontFace_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFontFace_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFontFace_GetMetrics(This,metrics) (This)->lpVtbl->GetMetrics(This,metrics) +#define IDWriteFontFace_GetGlyphCount(This) (This)->lpVtbl->GetGlyphCount(This) +#define IDWriteFontFace_GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) +#define IDWriteFontFace_GetGlyphIndices(This,codepoints,count,glyph_indices) (This)->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices) +#define IDWriteFontFace_TryGetFontTable(This,table_tag,table_data,table_size,context,exists) (This)->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists) +#define IDWriteFontFace_ReleaseFontTable(This,table_context) (This)->lpVtbl->ReleaseFontTable(This,table_context) +#define IDWriteFontFace_GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) (This)->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) +#define IDWriteFontFace_GetRecommendedRenderingMode(This,emSize,pixels_per_dip,mode,params,rendering_mode) (This)->lpVtbl->GetRecommendedRenderingMode(This,emSize,pixels_per_dip,mode,params,rendering_mode) +#define IDWriteFontFace_GetGdiCompatibleMetrics(This,emSize,pixels_per_dip,transform,metrics) (This)->lpVtbl->GetGdiCompatibleMetrics(This,emSize,pixels_per_dip,transform,metrics) +#define IDWriteFontFace_GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace_QueryInterface(IDWriteFontFace* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFace_AddRef(IDWriteFontFace* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFace_Release(IDWriteFontFace* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFace methods ***/ +static FORCEINLINE DWRITE_FONT_FACE_TYPE IDWriteFontFace_GetType(IDWriteFontFace* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetFiles(IDWriteFontFace* This,UINT32 *number_of_files,IDWriteFontFile **fontfiles) { + return This->lpVtbl->GetFiles(This,number_of_files,fontfiles); +} +static FORCEINLINE UINT32 IDWriteFontFace_GetIndex(IDWriteFontFace* This) { + return This->lpVtbl->GetIndex(This); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFontFace_GetSimulations(IDWriteFontFace* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE BOOL IDWriteFontFace_IsSymbolFont(IDWriteFontFace* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE void IDWriteFontFace_GetMetrics(IDWriteFontFace* This,DWRITE_FONT_METRICS *metrics) { + This->lpVtbl->GetMetrics(This,metrics); +} +static FORCEINLINE UINT16 IDWriteFontFace_GetGlyphCount(IDWriteFontFace* This) { + return This->lpVtbl->GetGlyphCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetDesignGlyphMetrics(IDWriteFontFace* This,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetGlyphIndices(IDWriteFontFace* This,const UINT32 *codepoints,UINT32 count,UINT16 *glyph_indices) { + return This->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices); +} +static FORCEINLINE HRESULT IDWriteFontFace_TryGetFontTable(IDWriteFontFace* This,UINT32 table_tag,const void **table_data,UINT32 *table_size,void **context,BOOL *exists) { + return This->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists); +} +static FORCEINLINE void IDWriteFontFace_ReleaseFontTable(IDWriteFontFace* This,void *table_context) { + This->lpVtbl->ReleaseFontTable(This,table_context); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetGlyphRunOutline(IDWriteFontFace* This,FLOAT emSize,const UINT16 *glyph_indices,const FLOAT *glyph_advances,const DWRITE_GLYPH_OFFSET *glyph_offsets,UINT32 glyph_count,BOOL is_sideways,BOOL is_rtl,IDWriteGeometrySink *geometrysink) { + return This->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetRecommendedRenderingMode(IDWriteFontFace* This,FLOAT emSize,FLOAT pixels_per_dip,DWRITE_MEASURING_MODE mode,IDWriteRenderingParams *params,DWRITE_RENDERING_MODE *rendering_mode) { + return This->lpVtbl->GetRecommendedRenderingMode(This,emSize,pixels_per_dip,mode,params,rendering_mode); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetGdiCompatibleMetrics(IDWriteFontFace* This,FLOAT emSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_FONT_METRICS *metrics) { + return This->lpVtbl->GetGdiCompatibleMetrics(This,emSize,pixels_per_dip,transform,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace_GetGdiCompatibleGlyphMetrics(IDWriteFontFace* This,FLOAT emSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFace_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFont interface + */ +#ifndef __IDWriteFont_INTERFACE_DEFINED__ +#define __IDWriteFont_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFont, 0xacd16696, 0x8c14, 0x4f5d, 0x87,0x7e, 0xfe,0x3f,0xc1,0xd3,0x27,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("acd16696-8c14-4f5d-877e-fe3fc1d32737") +IDWriteFont : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetFontFamily( + IDWriteFontFamily **family) = 0; + + virtual DWRITE_FONT_WEIGHT STDMETHODCALLTYPE GetWeight( + ) = 0; + + virtual DWRITE_FONT_STRETCH STDMETHODCALLTYPE GetStretch( + ) = 0; + + virtual DWRITE_FONT_STYLE STDMETHODCALLTYPE GetStyle( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE IsSymbolFont( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFaceNames( + IDWriteLocalizedStrings **names) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInformationalStrings( + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists) = 0; + + virtual DWRITE_FONT_SIMULATIONS STDMETHODCALLTYPE GetSimulations( + ) = 0; + + virtual void STDMETHODCALLTYPE GetMetrics( + DWRITE_FONT_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE HasCharacter( + UINT32 value, + BOOL *exists) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFace( + IDWriteFontFace **face) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFont, 0xacd16696, 0x8c14, 0x4f5d, 0x87,0x7e, 0xfe,0x3f,0xc1,0xd3,0x27,0x37) +#endif +#else +typedef struct IDWriteFontVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFont *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFont *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFont *This); + + /*** IDWriteFont methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontFamily)( + IDWriteFont *This, + IDWriteFontFamily **family); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetWeight)( + IDWriteFont *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetStretch)( + IDWriteFont *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetStyle)( + IDWriteFont *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFont *This); + + HRESULT (STDMETHODCALLTYPE *GetFaceNames)( + IDWriteFont *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetInformationalStrings)( + IDWriteFont *This, + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFont *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFont *This, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HasCharacter)( + IDWriteFont *This, + UINT32 value, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFont *This, + IDWriteFontFace **face); + + END_INTERFACE +} IDWriteFontVtbl; + +interface IDWriteFont { + CONST_VTBL IDWriteFontVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFont_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFont_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFont_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFont methods ***/ +#define IDWriteFont_GetFontFamily(This,family) (This)->lpVtbl->GetFontFamily(This,family) +#define IDWriteFont_GetWeight(This) (This)->lpVtbl->GetWeight(This) +#define IDWriteFont_GetStretch(This) (This)->lpVtbl->GetStretch(This) +#define IDWriteFont_GetStyle(This) (This)->lpVtbl->GetStyle(This) +#define IDWriteFont_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFont_GetFaceNames(This,names) (This)->lpVtbl->GetFaceNames(This,names) +#define IDWriteFont_GetInformationalStrings(This,stringid,strings,exists) (This)->lpVtbl->GetInformationalStrings(This,stringid,strings,exists) +#define IDWriteFont_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFont_GetMetrics(This,metrics) (This)->lpVtbl->GetMetrics(This,metrics) +#define IDWriteFont_HasCharacter(This,value,exists) (This)->lpVtbl->HasCharacter(This,value,exists) +#define IDWriteFont_CreateFontFace(This,face) (This)->lpVtbl->CreateFontFace(This,face) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFont_QueryInterface(IDWriteFont* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFont_AddRef(IDWriteFont* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFont_Release(IDWriteFont* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFont methods ***/ +static FORCEINLINE HRESULT IDWriteFont_GetFontFamily(IDWriteFont* This,IDWriteFontFamily **family) { + return This->lpVtbl->GetFontFamily(This,family); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteFont_GetWeight(IDWriteFont* This) { + return This->lpVtbl->GetWeight(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteFont_GetStretch(IDWriteFont* This) { + return This->lpVtbl->GetStretch(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteFont_GetStyle(IDWriteFont* This) { + return This->lpVtbl->GetStyle(This); +} +static FORCEINLINE BOOL IDWriteFont_IsSymbolFont(IDWriteFont* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE HRESULT IDWriteFont_GetFaceNames(IDWriteFont* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFaceNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFont_GetInformationalStrings(IDWriteFont* This,DWRITE_INFORMATIONAL_STRING_ID stringid,IDWriteLocalizedStrings **strings,BOOL *exists) { + return This->lpVtbl->GetInformationalStrings(This,stringid,strings,exists); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFont_GetSimulations(IDWriteFont* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE void IDWriteFont_GetMetrics(IDWriteFont* This,DWRITE_FONT_METRICS *metrics) { + This->lpVtbl->GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFont_HasCharacter(IDWriteFont* This,UINT32 value,BOOL *exists) { + return This->lpVtbl->HasCharacter(This,value,exists); +} +static FORCEINLINE HRESULT IDWriteFont_CreateFontFace(IDWriteFont* This,IDWriteFontFace **face) { + return This->lpVtbl->CreateFontFace(This,face); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFont_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontList interface + */ +#ifndef __IDWriteFontList_INTERFACE_DEFINED__ +#define __IDWriteFontList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontList, 0x1a0d8438, 0x1d97, 0x4ec1, 0xae,0xf9, 0xa2,0xfb,0x86,0xed,0x6a,0xcb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1a0d8438-1d97-4ec1-aef9-a2fb86ed6acb") +IDWriteFontList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetFontCollection( + IDWriteFontCollection **collection) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetFontCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFont( + UINT32 index, + IDWriteFont **font) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontList, 0x1a0d8438, 0x1d97, 0x4ec1, 0xae,0xf9, 0xa2,0xfb,0x86,0xed,0x6a,0xcb) +#endif +#else +typedef struct IDWriteFontListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontList *This); + + /*** IDWriteFontList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteFontList *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontCount)( + IDWriteFontList *This); + + HRESULT (STDMETHODCALLTYPE *GetFont)( + IDWriteFontList *This, + UINT32 index, + IDWriteFont **font); + + END_INTERFACE +} IDWriteFontListVtbl; + +interface IDWriteFontList { + CONST_VTBL IDWriteFontListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontList_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontList methods ***/ +#define IDWriteFontList_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteFontList_GetFontCount(This) (This)->lpVtbl->GetFontCount(This) +#define IDWriteFontList_GetFont(This,index,font) (This)->lpVtbl->GetFont(This,index,font) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontList_QueryInterface(IDWriteFontList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontList_AddRef(IDWriteFontList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontList_Release(IDWriteFontList* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontList methods ***/ +static FORCEINLINE HRESULT IDWriteFontList_GetFontCollection(IDWriteFontList* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteFontList_GetFontCount(IDWriteFontList* This) { + return This->lpVtbl->GetFontCount(This); +} +static FORCEINLINE HRESULT IDWriteFontList_GetFont(IDWriteFontList* This,UINT32 index,IDWriteFont **font) { + return This->lpVtbl->GetFont(This,index,font); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFamily interface + */ +#ifndef __IDWriteFontFamily_INTERFACE_DEFINED__ +#define __IDWriteFontFamily_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFamily, 0xda20d8ef, 0x812a, 0x4c43, 0x98,0x02, 0x62,0xec,0x4a,0xbd,0x7a,0xdd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("da20d8ef-812a-4c43-9802-62ec4abd7add") +IDWriteFontFamily : public IDWriteFontList +{ + virtual HRESULT STDMETHODCALLTYPE GetFamilyNames( + IDWriteLocalizedStrings **names) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFirstMatchingFont( + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFont **font) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMatchingFonts( + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFontList **fonts) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFamily, 0xda20d8ef, 0x812a, 0x4c43, 0x98,0x02, 0x62,0xec,0x4a,0xbd,0x7a,0xdd) +#endif +#else +typedef struct IDWriteFontFamilyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFamily *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFamily *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFamily *This); + + /*** IDWriteFontList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteFontFamily *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontCount)( + IDWriteFontFamily *This); + + HRESULT (STDMETHODCALLTYPE *GetFont)( + IDWriteFontFamily *This, + UINT32 index, + IDWriteFont **font); + + /*** IDWriteFontFamily methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFamilyNames)( + IDWriteFontFamily *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetFirstMatchingFont)( + IDWriteFontFamily *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFont **font); + + HRESULT (STDMETHODCALLTYPE *GetMatchingFonts)( + IDWriteFontFamily *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFontList **fonts); + + END_INTERFACE +} IDWriteFontFamilyVtbl; + +interface IDWriteFontFamily { + CONST_VTBL IDWriteFontFamilyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFamily_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFamily_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFamily_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontList methods ***/ +#define IDWriteFontFamily_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteFontFamily_GetFontCount(This) (This)->lpVtbl->GetFontCount(This) +#define IDWriteFontFamily_GetFont(This,index,font) (This)->lpVtbl->GetFont(This,index,font) +/*** IDWriteFontFamily methods ***/ +#define IDWriteFontFamily_GetFamilyNames(This,names) (This)->lpVtbl->GetFamilyNames(This,names) +#define IDWriteFontFamily_GetFirstMatchingFont(This,weight,stretch,style,font) (This)->lpVtbl->GetFirstMatchingFont(This,weight,stretch,style,font) +#define IDWriteFontFamily_GetMatchingFonts(This,weight,stretch,style,fonts) (This)->lpVtbl->GetMatchingFonts(This,weight,stretch,style,fonts) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFamily_QueryInterface(IDWriteFontFamily* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFamily_AddRef(IDWriteFontFamily* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFamily_Release(IDWriteFontFamily* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontList methods ***/ +static FORCEINLINE HRESULT IDWriteFontFamily_GetFontCollection(IDWriteFontFamily* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteFontFamily_GetFontCount(IDWriteFontFamily* This) { + return This->lpVtbl->GetFontCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFamily_GetFont(IDWriteFontFamily* This,UINT32 index,IDWriteFont **font) { + return This->lpVtbl->GetFont(This,index,font); +} +/*** IDWriteFontFamily methods ***/ +static FORCEINLINE HRESULT IDWriteFontFamily_GetFamilyNames(IDWriteFontFamily* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFamilyNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFontFamily_GetFirstMatchingFont(IDWriteFontFamily* This,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STRETCH stretch,DWRITE_FONT_STYLE style,IDWriteFont **font) { + return This->lpVtbl->GetFirstMatchingFont(This,weight,stretch,style,font); +} +static FORCEINLINE HRESULT IDWriteFontFamily_GetMatchingFonts(IDWriteFontFamily* This,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STRETCH stretch,DWRITE_FONT_STYLE style,IDWriteFontList **fonts) { + return This->lpVtbl->GetMatchingFonts(This,weight,stretch,style,fonts); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFamily_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontCollection interface + */ +#ifndef __IDWriteFontCollection_INTERFACE_DEFINED__ +#define __IDWriteFontCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontCollection, 0xa84cee02, 0x3eea, 0x4eee, 0xa8,0x27, 0x87,0xc1,0xa0,0x2a,0x0f,0xcc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a84cee02-3eea-4eee-a827-87c1a02a0fcc") +IDWriteFontCollection : public IUnknown +{ + virtual UINT32 STDMETHODCALLTYPE GetFontFamilyCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFamily( + UINT32 index, + IDWriteFontFamily **family) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFamilyName( + const WCHAR *name, + UINT32 *index, + BOOL *exists) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFromFontFace( + IDWriteFontFace *face, + IDWriteFont **font) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontCollection, 0xa84cee02, 0x3eea, 0x4eee, 0xa8,0x27, 0x87,0xc1,0xa0,0x2a,0x0f,0xcc) +#endif +#else +typedef struct IDWriteFontCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontCollection *This); + + /*** IDWriteFontCollection methods ***/ + UINT32 (STDMETHODCALLTYPE *GetFontFamilyCount)( + IDWriteFontCollection *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamily)( + IDWriteFontCollection *This, + UINT32 index, + IDWriteFontFamily **family); + + HRESULT (STDMETHODCALLTYPE *FindFamilyName)( + IDWriteFontCollection *This, + const WCHAR *name, + UINT32 *index, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *GetFontFromFontFace)( + IDWriteFontCollection *This, + IDWriteFontFace *face, + IDWriteFont **font); + + END_INTERFACE +} IDWriteFontCollectionVtbl; + +interface IDWriteFontCollection { + CONST_VTBL IDWriteFontCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontCollection methods ***/ +#define IDWriteFontCollection_GetFontFamilyCount(This) (This)->lpVtbl->GetFontFamilyCount(This) +#define IDWriteFontCollection_GetFontFamily(This,index,family) (This)->lpVtbl->GetFontFamily(This,index,family) +#define IDWriteFontCollection_FindFamilyName(This,name,index,exists) (This)->lpVtbl->FindFamilyName(This,name,index,exists) +#define IDWriteFontCollection_GetFontFromFontFace(This,face,font) (This)->lpVtbl->GetFontFromFontFace(This,face,font) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontCollection_QueryInterface(IDWriteFontCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontCollection_AddRef(IDWriteFontCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontCollection_Release(IDWriteFontCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontCollection methods ***/ +static FORCEINLINE UINT32 IDWriteFontCollection_GetFontFamilyCount(IDWriteFontCollection* This) { + return This->lpVtbl->GetFontFamilyCount(This); +} +static FORCEINLINE HRESULT IDWriteFontCollection_GetFontFamily(IDWriteFontCollection* This,UINT32 index,IDWriteFontFamily **family) { + return This->lpVtbl->GetFontFamily(This,index,family); +} +static FORCEINLINE HRESULT IDWriteFontCollection_FindFamilyName(IDWriteFontCollection* This,const WCHAR *name,UINT32 *index,BOOL *exists) { + return This->lpVtbl->FindFamilyName(This,name,index,exists); +} +static FORCEINLINE HRESULT IDWriteFontCollection_GetFontFromFontFace(IDWriteFontCollection* This,IDWriteFontFace *face,IDWriteFont **font) { + return This->lpVtbl->GetFontFromFontFace(This,face,font); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWritePixelSnapping interface + */ +#ifndef __IDWritePixelSnapping_INTERFACE_DEFINED__ +#define __IDWritePixelSnapping_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWritePixelSnapping, 0xeaf3a2da, 0xecf4, 0x4d24, 0xb6,0x44, 0xb3,0x4f,0x68,0x42,0x02,0x4b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eaf3a2da-ecf4-4d24-b644-b34f6842024b") +IDWritePixelSnapping : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsPixelSnappingDisabled( + void *client_drawingcontext, + BOOL *disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentTransform( + void *client_drawingcontext, + DWRITE_MATRIX *transform) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPixelsPerDip( + void *client_drawingcontext, + FLOAT *pixels_per_dip) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWritePixelSnapping, 0xeaf3a2da, 0xecf4, 0x4d24, 0xb6,0x44, 0xb3,0x4f,0x68,0x42,0x02,0x4b) +#endif +#else +typedef struct IDWritePixelSnappingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWritePixelSnapping *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWritePixelSnapping *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWritePixelSnapping *This); + + /*** IDWritePixelSnapping methods ***/ + HRESULT (STDMETHODCALLTYPE *IsPixelSnappingDisabled)( + IDWritePixelSnapping *This, + void *client_drawingcontext, + BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *GetCurrentTransform)( + IDWritePixelSnapping *This, + void *client_drawingcontext, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetPixelsPerDip)( + IDWritePixelSnapping *This, + void *client_drawingcontext, + FLOAT *pixels_per_dip); + + END_INTERFACE +} IDWritePixelSnappingVtbl; + +interface IDWritePixelSnapping { + CONST_VTBL IDWritePixelSnappingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWritePixelSnapping_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWritePixelSnapping_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWritePixelSnapping_Release(This) (This)->lpVtbl->Release(This) +/*** IDWritePixelSnapping methods ***/ +#define IDWritePixelSnapping_IsPixelSnappingDisabled(This,client_drawingcontext,disabled) (This)->lpVtbl->IsPixelSnappingDisabled(This,client_drawingcontext,disabled) +#define IDWritePixelSnapping_GetCurrentTransform(This,client_drawingcontext,transform) (This)->lpVtbl->GetCurrentTransform(This,client_drawingcontext,transform) +#define IDWritePixelSnapping_GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip) (This)->lpVtbl->GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWritePixelSnapping_QueryInterface(IDWritePixelSnapping* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWritePixelSnapping_AddRef(IDWritePixelSnapping* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWritePixelSnapping_Release(IDWritePixelSnapping* This) { + return This->lpVtbl->Release(This); +} +/*** IDWritePixelSnapping methods ***/ +static FORCEINLINE HRESULT IDWritePixelSnapping_IsPixelSnappingDisabled(IDWritePixelSnapping* This,void *client_drawingcontext,BOOL *disabled) { + return This->lpVtbl->IsPixelSnappingDisabled(This,client_drawingcontext,disabled); +} +static FORCEINLINE HRESULT IDWritePixelSnapping_GetCurrentTransform(IDWritePixelSnapping* This,void *client_drawingcontext,DWRITE_MATRIX *transform) { + return This->lpVtbl->GetCurrentTransform(This,client_drawingcontext,transform); +} +static FORCEINLINE HRESULT IDWritePixelSnapping_GetPixelsPerDip(IDWritePixelSnapping* This,void *client_drawingcontext,FLOAT *pixels_per_dip) { + return This->lpVtbl->GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip); +} +#endif +#endif + +#endif + + +#endif /* __IDWritePixelSnapping_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextRenderer interface + */ +#ifndef __IDWriteTextRenderer_INTERFACE_DEFINED__ +#define __IDWriteTextRenderer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextRenderer, 0xef8a8135, 0x5cc6, 0x45fe, 0x88,0x25, 0xc5,0xa0,0x72,0x4e,0xb8,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ef8a8135-5cc6-45fe-8825-c5a0724eb819") +IDWriteTextRenderer : public IDWritePixelSnapping +{ + virtual HRESULT STDMETHODCALLTYPE DrawGlyphRun( + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE mode, + const DWRITE_GLYPH_RUN *glyph_run, + const DWRITE_GLYPH_RUN_DESCRIPTION *run_descr, + IUnknown *drawing_effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawUnderline( + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_UNDERLINE *underline, + IUnknown *drawing_effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawStrikethrough( + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_STRIKETHROUGH *strikethrough, + IUnknown *drawing_effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawInlineObject( + void *client_drawingcontext, + FLOAT originX, + FLOAT originY, + IDWriteInlineObject *object, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextRenderer, 0xef8a8135, 0x5cc6, 0x45fe, 0x88,0x25, 0xc5,0xa0,0x72,0x4e,0xb8,0x19) +#endif +#else +typedef struct IDWriteTextRendererVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextRenderer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextRenderer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextRenderer *This); + + /*** IDWritePixelSnapping methods ***/ + HRESULT (STDMETHODCALLTYPE *IsPixelSnappingDisabled)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *GetCurrentTransform)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetPixelsPerDip)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + FLOAT *pixels_per_dip); + + /*** IDWriteTextRenderer methods ***/ + HRESULT (STDMETHODCALLTYPE *DrawGlyphRun)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE mode, + const DWRITE_GLYPH_RUN *glyph_run, + const DWRITE_GLYPH_RUN_DESCRIPTION *run_descr, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *DrawUnderline)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_UNDERLINE *underline, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *DrawStrikethrough)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_STRIKETHROUGH *strikethrough, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *DrawInlineObject)( + IDWriteTextRenderer *This, + void *client_drawingcontext, + FLOAT originX, + FLOAT originY, + IDWriteInlineObject *object, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect); + + END_INTERFACE +} IDWriteTextRendererVtbl; + +interface IDWriteTextRenderer { + CONST_VTBL IDWriteTextRendererVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextRenderer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextRenderer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextRenderer_Release(This) (This)->lpVtbl->Release(This) +/*** IDWritePixelSnapping methods ***/ +#define IDWriteTextRenderer_IsPixelSnappingDisabled(This,client_drawingcontext,disabled) (This)->lpVtbl->IsPixelSnappingDisabled(This,client_drawingcontext,disabled) +#define IDWriteTextRenderer_GetCurrentTransform(This,client_drawingcontext,transform) (This)->lpVtbl->GetCurrentTransform(This,client_drawingcontext,transform) +#define IDWriteTextRenderer_GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip) (This)->lpVtbl->GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip) +/*** IDWriteTextRenderer methods ***/ +#define IDWriteTextRenderer_DrawGlyphRun(This,client_drawingcontext,baselineOriginX,baselineOriginY,mode,glyph_run,run_descr,drawing_effect) (This)->lpVtbl->DrawGlyphRun(This,client_drawingcontext,baselineOriginX,baselineOriginY,mode,glyph_run,run_descr,drawing_effect) +#define IDWriteTextRenderer_DrawUnderline(This,client_drawingcontext,baselineOriginX,baselineOriginY,underline,drawing_effect) (This)->lpVtbl->DrawUnderline(This,client_drawingcontext,baselineOriginX,baselineOriginY,underline,drawing_effect) +#define IDWriteTextRenderer_DrawStrikethrough(This,client_drawingcontext,baselineOriginX,baselineOriginY,strikethrough,drawing_effect) (This)->lpVtbl->DrawStrikethrough(This,client_drawingcontext,baselineOriginX,baselineOriginY,strikethrough,drawing_effect) +#define IDWriteTextRenderer_DrawInlineObject(This,client_drawingcontext,originX,originY,object,is_sideways,is_rtl,drawing_effect) (This)->lpVtbl->DrawInlineObject(This,client_drawingcontext,originX,originY,object,is_sideways,is_rtl,drawing_effect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextRenderer_QueryInterface(IDWriteTextRenderer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextRenderer_AddRef(IDWriteTextRenderer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextRenderer_Release(IDWriteTextRenderer* This) { + return This->lpVtbl->Release(This); +} +/*** IDWritePixelSnapping methods ***/ +static FORCEINLINE HRESULT IDWriteTextRenderer_IsPixelSnappingDisabled(IDWriteTextRenderer* This,void *client_drawingcontext,BOOL *disabled) { + return This->lpVtbl->IsPixelSnappingDisabled(This,client_drawingcontext,disabled); +} +static FORCEINLINE HRESULT IDWriteTextRenderer_GetCurrentTransform(IDWriteTextRenderer* This,void *client_drawingcontext,DWRITE_MATRIX *transform) { + return This->lpVtbl->GetCurrentTransform(This,client_drawingcontext,transform); +} +static FORCEINLINE HRESULT IDWriteTextRenderer_GetPixelsPerDip(IDWriteTextRenderer* This,void *client_drawingcontext,FLOAT *pixels_per_dip) { + return This->lpVtbl->GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip); +} +/*** IDWriteTextRenderer methods ***/ +static FORCEINLINE HRESULT IDWriteTextRenderer_DrawGlyphRun(IDWriteTextRenderer* This,void *client_drawingcontext,FLOAT baselineOriginX,FLOAT baselineOriginY,DWRITE_MEASURING_MODE mode,const DWRITE_GLYPH_RUN *glyph_run,const DWRITE_GLYPH_RUN_DESCRIPTION *run_descr,IUnknown *drawing_effect) { + return This->lpVtbl->DrawGlyphRun(This,client_drawingcontext,baselineOriginX,baselineOriginY,mode,glyph_run,run_descr,drawing_effect); +} +static FORCEINLINE HRESULT IDWriteTextRenderer_DrawUnderline(IDWriteTextRenderer* This,void *client_drawingcontext,FLOAT baselineOriginX,FLOAT baselineOriginY,const DWRITE_UNDERLINE *underline,IUnknown *drawing_effect) { + return This->lpVtbl->DrawUnderline(This,client_drawingcontext,baselineOriginX,baselineOriginY,underline,drawing_effect); +} +static FORCEINLINE HRESULT IDWriteTextRenderer_DrawStrikethrough(IDWriteTextRenderer* This,void *client_drawingcontext,FLOAT baselineOriginX,FLOAT baselineOriginY,const DWRITE_STRIKETHROUGH *strikethrough,IUnknown *drawing_effect) { + return This->lpVtbl->DrawStrikethrough(This,client_drawingcontext,baselineOriginX,baselineOriginY,strikethrough,drawing_effect); +} +static FORCEINLINE HRESULT IDWriteTextRenderer_DrawInlineObject(IDWriteTextRenderer* This,void *client_drawingcontext,FLOAT originX,FLOAT originY,IDWriteInlineObject *object,BOOL is_sideways,BOOL is_rtl,IUnknown *drawing_effect) { + return This->lpVtbl->DrawInlineObject(This,client_drawingcontext,originX,originY,object,is_sideways,is_rtl,drawing_effect); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextRenderer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteInlineObject interface + */ +#ifndef __IDWriteInlineObject_INTERFACE_DEFINED__ +#define __IDWriteInlineObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteInlineObject, 0x8339fde3, 0x106f, 0x47ab, 0x83,0x73, 0x1c,0x62,0x95,0xeb,0x10,0xb3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8339fde3-106f-47ab-8373-1c6295eb10b3") +IDWriteInlineObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Draw( + void *client_drawingontext, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetrics( + DWRITE_INLINE_OBJECT_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOverhangMetrics( + DWRITE_OVERHANG_METRICS *overhangs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBreakConditions( + DWRITE_BREAK_CONDITION *condition_before, + DWRITE_BREAK_CONDITION *condition_after) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteInlineObject, 0x8339fde3, 0x106f, 0x47ab, 0x83,0x73, 0x1c,0x62,0x95,0xeb,0x10,0xb3) +#endif +#else +typedef struct IDWriteInlineObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteInlineObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteInlineObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteInlineObject *This); + + /*** IDWriteInlineObject methods ***/ + HRESULT (STDMETHODCALLTYPE *Draw)( + IDWriteInlineObject *This, + void *client_drawingontext, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *GetMetrics)( + IDWriteInlineObject *This, + DWRITE_INLINE_OBJECT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetOverhangMetrics)( + IDWriteInlineObject *This, + DWRITE_OVERHANG_METRICS *overhangs); + + HRESULT (STDMETHODCALLTYPE *GetBreakConditions)( + IDWriteInlineObject *This, + DWRITE_BREAK_CONDITION *condition_before, + DWRITE_BREAK_CONDITION *condition_after); + + END_INTERFACE +} IDWriteInlineObjectVtbl; + +interface IDWriteInlineObject { + CONST_VTBL IDWriteInlineObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteInlineObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteInlineObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteInlineObject_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteInlineObject methods ***/ +#define IDWriteInlineObject_Draw(This,client_drawingontext,renderer,originX,originY,is_sideways,is_rtl,drawing_effect) (This)->lpVtbl->Draw(This,client_drawingontext,renderer,originX,originY,is_sideways,is_rtl,drawing_effect) +#define IDWriteInlineObject_GetMetrics(This,metrics) (This)->lpVtbl->GetMetrics(This,metrics) +#define IDWriteInlineObject_GetOverhangMetrics(This,overhangs) (This)->lpVtbl->GetOverhangMetrics(This,overhangs) +#define IDWriteInlineObject_GetBreakConditions(This,condition_before,condition_after) (This)->lpVtbl->GetBreakConditions(This,condition_before,condition_after) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteInlineObject_QueryInterface(IDWriteInlineObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteInlineObject_AddRef(IDWriteInlineObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteInlineObject_Release(IDWriteInlineObject* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteInlineObject methods ***/ +static FORCEINLINE HRESULT IDWriteInlineObject_Draw(IDWriteInlineObject* This,void *client_drawingontext,IDWriteTextRenderer *renderer,FLOAT originX,FLOAT originY,BOOL is_sideways,BOOL is_rtl,IUnknown *drawing_effect) { + return This->lpVtbl->Draw(This,client_drawingontext,renderer,originX,originY,is_sideways,is_rtl,drawing_effect); +} +static FORCEINLINE HRESULT IDWriteInlineObject_GetMetrics(IDWriteInlineObject* This,DWRITE_INLINE_OBJECT_METRICS *metrics) { + return This->lpVtbl->GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteInlineObject_GetOverhangMetrics(IDWriteInlineObject* This,DWRITE_OVERHANG_METRICS *overhangs) { + return This->lpVtbl->GetOverhangMetrics(This,overhangs); +} +static FORCEINLINE HRESULT IDWriteInlineObject_GetBreakConditions(IDWriteInlineObject* This,DWRITE_BREAK_CONDITION *condition_before,DWRITE_BREAK_CONDITION *condition_after) { + return This->lpVtbl->GetBreakConditions(This,condition_before,condition_after); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteInlineObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextFormat interface + */ +#ifndef __IDWriteTextFormat_INTERFACE_DEFINED__ +#define __IDWriteTextFormat_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextFormat, 0x9c906818, 0x31d7, 0x4fd3, 0xa1,0x51, 0x7c,0x5e,0x22,0x5d,0xb5,0x5a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9c906818-31d7-4fd3-a151-7c5e225db55a") +IDWriteTextFormat : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetTextAlignment( + DWRITE_TEXT_ALIGNMENT alignment) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetParagraphAlignment( + DWRITE_PARAGRAPH_ALIGNMENT alignment) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWordWrapping( + DWRITE_WORD_WRAPPING wrapping) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetReadingDirection( + DWRITE_READING_DIRECTION direction) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFlowDirection( + DWRITE_FLOW_DIRECTION direction) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIncrementalTabStop( + FLOAT tabstop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTrimming( + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLineSpacing( + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline) = 0; + + virtual DWRITE_TEXT_ALIGNMENT STDMETHODCALLTYPE GetTextAlignment( + ) = 0; + + virtual DWRITE_PARAGRAPH_ALIGNMENT STDMETHODCALLTYPE GetParagraphAlignment( + ) = 0; + + virtual DWRITE_WORD_WRAPPING STDMETHODCALLTYPE GetWordWrapping( + ) = 0; + + virtual DWRITE_READING_DIRECTION STDMETHODCALLTYPE GetReadingDirection( + ) = 0; + + virtual DWRITE_FLOW_DIRECTION STDMETHODCALLTYPE GetFlowDirection( + ) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetIncrementalTabStop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTrimming( + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineSpacing( + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontCollection( + IDWriteFontCollection **collection) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetFontFamilyNameLength( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFamilyName( + WCHAR *name, + UINT32 size) = 0; + + virtual DWRITE_FONT_WEIGHT STDMETHODCALLTYPE GetFontWeight( + ) = 0; + + virtual DWRITE_FONT_STYLE STDMETHODCALLTYPE GetFontStyle( + ) = 0; + + virtual DWRITE_FONT_STRETCH STDMETHODCALLTYPE GetFontStretch( + ) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetFontSize( + ) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetLocaleNameLength( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleName( + WCHAR *name, + UINT32 size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextFormat, 0x9c906818, 0x31d7, 0x4fd3, 0xa1,0x51, 0x7c,0x5e,0x22,0x5d,0xb5,0x5a) +#endif +#else +typedef struct IDWriteTextFormatVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextFormat *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextFormat *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextFormat *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextFormat *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextFormat *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextFormat *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextFormat *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextFormat *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextFormat *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextFormat *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextFormat *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextFormat *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextFormat *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextFormat *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextFormat *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextFormat *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextFormat *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextFormat *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextFormat *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextFormat *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextFormat *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextFormat *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextFormat *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextFormat *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextFormat *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextFormat *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextFormat *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextFormat *This, + WCHAR *name, + UINT32 size); + + END_INTERFACE +} IDWriteTextFormatVtbl; + +interface IDWriteTextFormat { + CONST_VTBL IDWriteTextFormatVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextFormat_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextFormat_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextFormat_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextFormat_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextFormat_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextFormat_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextFormat_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextFormat_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextFormat_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextFormat_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextFormat_SetLineSpacing(This,spacing,line_spacing,baseline) (This)->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline) +#define IDWriteTextFormat_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextFormat_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextFormat_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextFormat_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextFormat_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextFormat_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextFormat_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +#define IDWriteTextFormat_GetLineSpacing(This,method,spacing,baseline) (This)->lpVtbl->GetLineSpacing(This,method,spacing,baseline) +#define IDWriteTextFormat_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteTextFormat_GetFontFamilyNameLength(This) (This)->lpVtbl->GetFontFamilyNameLength(This) +#define IDWriteTextFormat_GetFontFamilyName(This,name,size) (This)->lpVtbl->GetFontFamilyName(This,name,size) +#define IDWriteTextFormat_GetFontWeight(This) (This)->lpVtbl->GetFontWeight(This) +#define IDWriteTextFormat_GetFontStyle(This) (This)->lpVtbl->GetFontStyle(This) +#define IDWriteTextFormat_GetFontStretch(This) (This)->lpVtbl->GetFontStretch(This) +#define IDWriteTextFormat_GetFontSize(This) (This)->lpVtbl->GetFontSize(This) +#define IDWriteTextFormat_GetLocaleNameLength(This) (This)->lpVtbl->GetLocaleNameLength(This) +#define IDWriteTextFormat_GetLocaleName(This,name,size) (This)->lpVtbl->GetLocaleName(This,name,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat_QueryInterface(IDWriteTextFormat* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextFormat_AddRef(IDWriteTextFormat* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextFormat_Release(IDWriteTextFormat* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat_SetTextAlignment(IDWriteTextFormat* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetParagraphAlignment(IDWriteTextFormat* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetWordWrapping(IDWriteTextFormat* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetReadingDirection(IDWriteTextFormat* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetFlowDirection(IDWriteTextFormat* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetIncrementalTabStop(IDWriteTextFormat* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetTrimming(IDWriteTextFormat* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextFormat_SetLineSpacing(IDWriteTextFormat* This,DWRITE_LINE_SPACING_METHOD spacing,FLOAT line_spacing,FLOAT baseline) { + return This->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextFormat_GetTextAlignment(IDWriteTextFormat* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat_GetParagraphAlignment(IDWriteTextFormat* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextFormat_GetWordWrapping(IDWriteTextFormat* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextFormat_GetReadingDirection(IDWriteTextFormat* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextFormat_GetFlowDirection(IDWriteTextFormat* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextFormat_GetIncrementalTabStop(IDWriteTextFormat* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat_GetTrimming(IDWriteTextFormat* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextFormat_GetLineSpacing(IDWriteTextFormat* This,DWRITE_LINE_SPACING_METHOD *method,FLOAT *spacing,FLOAT *baseline) { + return This->lpVtbl->GetLineSpacing(This,method,spacing,baseline); +} +static FORCEINLINE HRESULT IDWriteTextFormat_GetFontCollection(IDWriteTextFormat* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteTextFormat_GetFontFamilyNameLength(IDWriteTextFormat* This) { + return This->lpVtbl->GetFontFamilyNameLength(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat_GetFontFamilyName(IDWriteTextFormat* This,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetFontFamilyName(This,name,size); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteTextFormat_GetFontWeight(IDWriteTextFormat* This) { + return This->lpVtbl->GetFontWeight(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteTextFormat_GetFontStyle(IDWriteTextFormat* This) { + return This->lpVtbl->GetFontStyle(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteTextFormat_GetFontStretch(IDWriteTextFormat* This) { + return This->lpVtbl->GetFontStretch(This); +} +static FORCEINLINE FLOAT IDWriteTextFormat_GetFontSize(IDWriteTextFormat* This) { + return This->lpVtbl->GetFontSize(This); +} +static FORCEINLINE UINT32 IDWriteTextFormat_GetLocaleNameLength(IDWriteTextFormat* This) { + return This->lpVtbl->GetLocaleNameLength(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat_GetLocaleName(IDWriteTextFormat* This,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetLocaleName(This,name,size); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextFormat_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTypography interface + */ +#ifndef __IDWriteTypography_INTERFACE_DEFINED__ +#define __IDWriteTypography_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTypography, 0x55f1112b, 0x1dc2, 0x4b3c, 0x95,0x41, 0xf4,0x68,0x94,0xed,0x85,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("55f1112b-1dc2-4b3c-9541-f46894ed85b6") +IDWriteTypography : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddFontFeature( + DWRITE_FONT_FEATURE feature) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetFontFeatureCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFeature( + UINT32 index, + DWRITE_FONT_FEATURE *feature) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTypography, 0x55f1112b, 0x1dc2, 0x4b3c, 0x95,0x41, 0xf4,0x68,0x94,0xed,0x85,0xb6) +#endif +#else +typedef struct IDWriteTypographyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTypography *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTypography *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTypography *This); + + /*** IDWriteTypography methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFontFeature)( + IDWriteTypography *This, + DWRITE_FONT_FEATURE feature); + + UINT32 (STDMETHODCALLTYPE *GetFontFeatureCount)( + IDWriteTypography *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFeature)( + IDWriteTypography *This, + UINT32 index, + DWRITE_FONT_FEATURE *feature); + + END_INTERFACE +} IDWriteTypographyVtbl; + +interface IDWriteTypography { + CONST_VTBL IDWriteTypographyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTypography_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTypography_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTypography_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTypography methods ***/ +#define IDWriteTypography_AddFontFeature(This,feature) (This)->lpVtbl->AddFontFeature(This,feature) +#define IDWriteTypography_GetFontFeatureCount(This) (This)->lpVtbl->GetFontFeatureCount(This) +#define IDWriteTypography_GetFontFeature(This,index,feature) (This)->lpVtbl->GetFontFeature(This,index,feature) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTypography_QueryInterface(IDWriteTypography* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTypography_AddRef(IDWriteTypography* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTypography_Release(IDWriteTypography* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTypography methods ***/ +static FORCEINLINE HRESULT IDWriteTypography_AddFontFeature(IDWriteTypography* This,DWRITE_FONT_FEATURE feature) { + return This->lpVtbl->AddFontFeature(This,feature); +} +static FORCEINLINE UINT32 IDWriteTypography_GetFontFeatureCount(IDWriteTypography* This) { + return This->lpVtbl->GetFontFeatureCount(This); +} +static FORCEINLINE HRESULT IDWriteTypography_GetFontFeature(IDWriteTypography* This,UINT32 index,DWRITE_FONT_FEATURE *feature) { + return This->lpVtbl->GetFontFeature(This,index,feature); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTypography_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteBitmapRenderTarget interface + */ +#ifndef __IDWriteBitmapRenderTarget_INTERFACE_DEFINED__ +#define __IDWriteBitmapRenderTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteBitmapRenderTarget, 0x5e5a32a3, 0x8dff, 0x4773, 0x9f,0xf6, 0x06,0x96,0xea,0xb7,0x72,0x67); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5e5a32a3-8dff-4773-9ff6-0696eab77267") +IDWriteBitmapRenderTarget : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DrawGlyphRun( + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE measuring_mode, + const DWRITE_GLYPH_RUN *glyph_run, + IDWriteRenderingParams *params, + COLORREF textColor, + RECT *blackbox_rect = 0) = 0; + + virtual HDC STDMETHODCALLTYPE GetMemoryDC( + ) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetPixelsPerDip( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPixelsPerDip( + FLOAT pixels_per_dip) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentTransform( + DWRITE_MATRIX *transform) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentTransform( + const DWRITE_MATRIX *transform) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + SIZE *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resize( + UINT32 width, + UINT32 height) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteBitmapRenderTarget, 0x5e5a32a3, 0x8dff, 0x4773, 0x9f,0xf6, 0x06,0x96,0xea,0xb7,0x72,0x67) +#endif +#else +typedef struct IDWriteBitmapRenderTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteBitmapRenderTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteBitmapRenderTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteBitmapRenderTarget *This); + + /*** IDWriteBitmapRenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *DrawGlyphRun)( + IDWriteBitmapRenderTarget *This, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE measuring_mode, + const DWRITE_GLYPH_RUN *glyph_run, + IDWriteRenderingParams *params, + COLORREF textColor, + RECT *blackbox_rect); + + HDC (STDMETHODCALLTYPE *GetMemoryDC)( + IDWriteBitmapRenderTarget *This); + + FLOAT (STDMETHODCALLTYPE *GetPixelsPerDip)( + IDWriteBitmapRenderTarget *This); + + HRESULT (STDMETHODCALLTYPE *SetPixelsPerDip)( + IDWriteBitmapRenderTarget *This, + FLOAT pixels_per_dip); + + HRESULT (STDMETHODCALLTYPE *GetCurrentTransform)( + IDWriteBitmapRenderTarget *This, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *SetCurrentTransform)( + IDWriteBitmapRenderTarget *This, + const DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + IDWriteBitmapRenderTarget *This, + SIZE *size); + + HRESULT (STDMETHODCALLTYPE *Resize)( + IDWriteBitmapRenderTarget *This, + UINT32 width, + UINT32 height); + + END_INTERFACE +} IDWriteBitmapRenderTargetVtbl; + +interface IDWriteBitmapRenderTarget { + CONST_VTBL IDWriteBitmapRenderTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteBitmapRenderTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteBitmapRenderTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteBitmapRenderTarget_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteBitmapRenderTarget methods ***/ +#define IDWriteBitmapRenderTarget_DrawGlyphRun(This,baselineOriginX,baselineOriginY,measuring_mode,glyph_run,params,textColor,blackbox_rect) (This)->lpVtbl->DrawGlyphRun(This,baselineOriginX,baselineOriginY,measuring_mode,glyph_run,params,textColor,blackbox_rect) +#define IDWriteBitmapRenderTarget_GetMemoryDC(This) (This)->lpVtbl->GetMemoryDC(This) +#define IDWriteBitmapRenderTarget_GetPixelsPerDip(This) (This)->lpVtbl->GetPixelsPerDip(This) +#define IDWriteBitmapRenderTarget_SetPixelsPerDip(This,pixels_per_dip) (This)->lpVtbl->SetPixelsPerDip(This,pixels_per_dip) +#define IDWriteBitmapRenderTarget_GetCurrentTransform(This,transform) (This)->lpVtbl->GetCurrentTransform(This,transform) +#define IDWriteBitmapRenderTarget_SetCurrentTransform(This,transform) (This)->lpVtbl->SetCurrentTransform(This,transform) +#define IDWriteBitmapRenderTarget_GetSize(This,size) (This)->lpVtbl->GetSize(This,size) +#define IDWriteBitmapRenderTarget_Resize(This,width,height) (This)->lpVtbl->Resize(This,width,height) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_QueryInterface(IDWriteBitmapRenderTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteBitmapRenderTarget_AddRef(IDWriteBitmapRenderTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteBitmapRenderTarget_Release(IDWriteBitmapRenderTarget* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteBitmapRenderTarget methods ***/ +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_DrawGlyphRun(IDWriteBitmapRenderTarget* This,FLOAT baselineOriginX,FLOAT baselineOriginY,DWRITE_MEASURING_MODE measuring_mode,const DWRITE_GLYPH_RUN *glyph_run,IDWriteRenderingParams *params,COLORREF textColor,RECT *blackbox_rect) { + return This->lpVtbl->DrawGlyphRun(This,baselineOriginX,baselineOriginY,measuring_mode,glyph_run,params,textColor,blackbox_rect); +} +static FORCEINLINE HDC IDWriteBitmapRenderTarget_GetMemoryDC(IDWriteBitmapRenderTarget* This) { + return This->lpVtbl->GetMemoryDC(This); +} +static FORCEINLINE FLOAT IDWriteBitmapRenderTarget_GetPixelsPerDip(IDWriteBitmapRenderTarget* This) { + return This->lpVtbl->GetPixelsPerDip(This); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_SetPixelsPerDip(IDWriteBitmapRenderTarget* This,FLOAT pixels_per_dip) { + return This->lpVtbl->SetPixelsPerDip(This,pixels_per_dip); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_GetCurrentTransform(IDWriteBitmapRenderTarget* This,DWRITE_MATRIX *transform) { + return This->lpVtbl->GetCurrentTransform(This,transform); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_SetCurrentTransform(IDWriteBitmapRenderTarget* This,const DWRITE_MATRIX *transform) { + return This->lpVtbl->SetCurrentTransform(This,transform); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_GetSize(IDWriteBitmapRenderTarget* This,SIZE *size) { + return This->lpVtbl->GetSize(This,size); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget_Resize(IDWriteBitmapRenderTarget* This,UINT32 width,UINT32 height) { + return This->lpVtbl->Resize(This,width,height); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteBitmapRenderTarget_INTERFACE_DEFINED__ */ + +#ifndef _WINGDI_ +typedef struct tagLOGFONTW { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + WCHAR lfFaceName[32]; +} LOGFONTW; +typedef struct tagLOGFONTW *PLOGFONTW; +typedef struct tagLOGFONTW *LPLOGFONTW; +#endif /* _WINGDI_ */ +/***************************************************************************** + * IDWriteGdiInterop interface + */ +#ifndef __IDWriteGdiInterop_INTERFACE_DEFINED__ +#define __IDWriteGdiInterop_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteGdiInterop, 0x1edd9491, 0x9853, 0x4299, 0x89,0x8f, 0x64,0x32,0x98,0x3b,0x6f,0x3a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1edd9491-9853-4299-898f-6432983b6f3a") +IDWriteGdiInterop : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateFontFromLOGFONT( + const LOGFONTW *logfont, + IDWriteFont **font) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertFontToLOGFONT( + IDWriteFont *font, + LOGFONTW *logfont, + BOOL *is_systemfont) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertFontFaceToLOGFONT( + IDWriteFontFace *font, + LOGFONTW *logfont) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFaceFromHdc( + HDC hdc, + IDWriteFontFace **fontface) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapRenderTarget( + HDC hdc, + UINT32 width, + UINT32 height, + IDWriteBitmapRenderTarget **target) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteGdiInterop, 0x1edd9491, 0x9853, 0x4299, 0x89,0x8f, 0x64,0x32,0x98,0x3b,0x6f,0x3a) +#endif +#else +typedef struct IDWriteGdiInteropVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteGdiInterop *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteGdiInterop *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteGdiInterop *This); + + /*** IDWriteGdiInterop methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateFontFromLOGFONT)( + IDWriteGdiInterop *This, + const LOGFONTW *logfont, + IDWriteFont **font); + + HRESULT (STDMETHODCALLTYPE *ConvertFontToLOGFONT)( + IDWriteGdiInterop *This, + IDWriteFont *font, + LOGFONTW *logfont, + BOOL *is_systemfont); + + HRESULT (STDMETHODCALLTYPE *ConvertFontFaceToLOGFONT)( + IDWriteGdiInterop *This, + IDWriteFontFace *font, + LOGFONTW *logfont); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceFromHdc)( + IDWriteGdiInterop *This, + HDC hdc, + IDWriteFontFace **fontface); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapRenderTarget)( + IDWriteGdiInterop *This, + HDC hdc, + UINT32 width, + UINT32 height, + IDWriteBitmapRenderTarget **target); + + END_INTERFACE +} IDWriteGdiInteropVtbl; + +interface IDWriteGdiInterop { + CONST_VTBL IDWriteGdiInteropVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteGdiInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteGdiInterop_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteGdiInterop_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteGdiInterop methods ***/ +#define IDWriteGdiInterop_CreateFontFromLOGFONT(This,logfont,font) (This)->lpVtbl->CreateFontFromLOGFONT(This,logfont,font) +#define IDWriteGdiInterop_ConvertFontToLOGFONT(This,font,logfont,is_systemfont) (This)->lpVtbl->ConvertFontToLOGFONT(This,font,logfont,is_systemfont) +#define IDWriteGdiInterop_ConvertFontFaceToLOGFONT(This,font,logfont) (This)->lpVtbl->ConvertFontFaceToLOGFONT(This,font,logfont) +#define IDWriteGdiInterop_CreateFontFaceFromHdc(This,hdc,fontface) (This)->lpVtbl->CreateFontFaceFromHdc(This,hdc,fontface) +#define IDWriteGdiInterop_CreateBitmapRenderTarget(This,hdc,width,height,target) (This)->lpVtbl->CreateBitmapRenderTarget(This,hdc,width,height,target) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteGdiInterop_QueryInterface(IDWriteGdiInterop* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteGdiInterop_AddRef(IDWriteGdiInterop* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteGdiInterop_Release(IDWriteGdiInterop* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteGdiInterop methods ***/ +static FORCEINLINE HRESULT IDWriteGdiInterop_CreateFontFromLOGFONT(IDWriteGdiInterop* This,const LOGFONTW *logfont,IDWriteFont **font) { + return This->lpVtbl->CreateFontFromLOGFONT(This,logfont,font); +} +static FORCEINLINE HRESULT IDWriteGdiInterop_ConvertFontToLOGFONT(IDWriteGdiInterop* This,IDWriteFont *font,LOGFONTW *logfont,BOOL *is_systemfont) { + return This->lpVtbl->ConvertFontToLOGFONT(This,font,logfont,is_systemfont); +} +static FORCEINLINE HRESULT IDWriteGdiInterop_ConvertFontFaceToLOGFONT(IDWriteGdiInterop* This,IDWriteFontFace *font,LOGFONTW *logfont) { + return This->lpVtbl->ConvertFontFaceToLOGFONT(This,font,logfont); +} +static FORCEINLINE HRESULT IDWriteGdiInterop_CreateFontFaceFromHdc(IDWriteGdiInterop* This,HDC hdc,IDWriteFontFace **fontface) { + return This->lpVtbl->CreateFontFaceFromHdc(This,hdc,fontface); +} +static FORCEINLINE HRESULT IDWriteGdiInterop_CreateBitmapRenderTarget(IDWriteGdiInterop* This,HDC hdc,UINT32 width,UINT32 height,IDWriteBitmapRenderTarget **target) { + return This->lpVtbl->CreateBitmapRenderTarget(This,hdc,width,height,target); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteGdiInterop_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextLayout interface + */ +#ifndef __IDWriteTextLayout_INTERFACE_DEFINED__ +#define __IDWriteTextLayout_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextLayout, 0x53737037, 0x6d14, 0x410b, 0x9b,0xfe, 0x0b,0x18,0x2b,0xb7,0x09,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("53737037-6d14-410b-9bfe-0b182bb70961") +IDWriteTextLayout : public IDWriteTextFormat +{ + virtual HRESULT STDMETHODCALLTYPE SetMaxWidth( + FLOAT maxWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMaxHeight( + FLOAT maxHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontCollection( + IDWriteFontCollection *collection, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontFamilyName( + const WCHAR *name, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontWeight( + DWRITE_FONT_WEIGHT weight, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontStyle( + DWRITE_FONT_STYLE style, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontStretch( + DWRITE_FONT_STRETCH stretch, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontSize( + FLOAT size, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUnderline( + BOOL underline, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStrikethrough( + BOOL strikethrough, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDrawingEffect( + IUnknown *effect, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInlineObject( + IDWriteInlineObject *object, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTypography( + IDWriteTypography *typography, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLocaleName( + const WCHAR *locale, + DWRITE_TEXT_RANGE range) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetMaxWidth( + ) = 0; + + virtual FLOAT STDMETHODCALLTYPE GetMaxHeight( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontCollection( + UINT32 pos, + IDWriteFontCollection **collection, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFamilyNameLength( + UINT32 pos, + UINT32 *len, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFamilyName( + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontWeight( + UINT32 position, + DWRITE_FONT_WEIGHT *weight, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontStyle( + UINT32 currentPosition, + DWRITE_FONT_STYLE *style, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontStretch( + UINT32 position, + DWRITE_FONT_STRETCH *stretch, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontSize( + UINT32 position, + FLOAT *size, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUnderline( + UINT32 position, + BOOL *has_underline, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStrikethrough( + UINT32 position, + BOOL *has_strikethrough, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDrawingEffect( + UINT32 position, + IUnknown **effect, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInlineObject( + UINT32 position, + IDWriteInlineObject **object, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypography( + UINT32 position, + IDWriteTypography **typography, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleNameLength( + UINT32 position, + UINT32 *length, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleName( + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Draw( + void *context, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineMetrics( + DWRITE_LINE_METRICS *metrics, + UINT32 max_count, + UINT32 *actual_count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetrics( + DWRITE_TEXT_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOverhangMetrics( + DWRITE_OVERHANG_METRICS *overhangs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClusterMetrics( + DWRITE_CLUSTER_METRICS *metrics, + UINT32 max_count, + UINT32 *act_count) = 0; + + virtual HRESULT STDMETHODCALLTYPE DetermineMinWidth( + FLOAT *min_width) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestPoint( + FLOAT pointX, + FLOAT pointY, + BOOL *is_trailinghit, + BOOL *is_inside, + DWRITE_HIT_TEST_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestTextPosition( + UINT32 textPosition, + BOOL is_trailinghit, + FLOAT *pointX, + FLOAT *pointY, + DWRITE_HIT_TEST_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestTextRange( + UINT32 textPosition, + UINT32 textLength, + FLOAT originX, + FLOAT originY, + DWRITE_HIT_TEST_METRICS *metrics, + UINT32 max_metricscount, + UINT32 *actual_metricscount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextLayout, 0x53737037, 0x6d14, 0x410b, 0x9b,0xfe, 0x0b,0x18,0x2b,0xb7,0x09,0x61) +#endif +#else +typedef struct IDWriteTextLayoutVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextLayout *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextLayout *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextLayout *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextLayout *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextLayout *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextLayout *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextLayout *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextLayout *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextLayout *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextLayout *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextLayout *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextLayout *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextLayout *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextLayout *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextLayout *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextLayout *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextLayout *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextLayout *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextLayout *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextLayout *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextLayout *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextLayout *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextLayout *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextLayout *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextLayout *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextLayout *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextLayout *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextLayout *This, + WCHAR *name, + UINT32 size); + + /*** IDWriteTextLayout methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaxWidth)( + IDWriteTextLayout *This, + FLOAT maxWidth); + + HRESULT (STDMETHODCALLTYPE *SetMaxHeight)( + IDWriteTextLayout *This, + FLOAT maxHeight); + + HRESULT (STDMETHODCALLTYPE *SetFontCollection)( + IDWriteTextLayout *This, + IDWriteFontCollection *collection, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontFamilyName)( + IDWriteTextLayout *This, + const WCHAR *name, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontWeight)( + IDWriteTextLayout *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStyle)( + IDWriteTextLayout *This, + DWRITE_FONT_STYLE style, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStretch)( + IDWriteTextLayout *This, + DWRITE_FONT_STRETCH stretch, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontSize)( + IDWriteTextLayout *This, + FLOAT size, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetUnderline)( + IDWriteTextLayout *This, + BOOL underline, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetStrikethrough)( + IDWriteTextLayout *This, + BOOL strikethrough, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetDrawingEffect)( + IDWriteTextLayout *This, + IUnknown *effect, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetInlineObject)( + IDWriteTextLayout *This, + IDWriteInlineObject *object, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetTypography)( + IDWriteTextLayout *This, + IDWriteTypography *typography, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetLocaleName)( + IDWriteTextLayout *This, + const WCHAR *locale, + DWRITE_TEXT_RANGE range); + + FLOAT (STDMETHODCALLTYPE *GetMaxWidth)( + IDWriteTextLayout *This); + + FLOAT (STDMETHODCALLTYPE *GetMaxHeight)( + IDWriteTextLayout *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontCollection)( + IDWriteTextLayout *This, + UINT32 pos, + IDWriteFontCollection **collection, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyNameLength)( + IDWriteTextLayout *This, + UINT32 pos, + UINT32 *len, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyName)( + IDWriteTextLayout *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontWeight)( + IDWriteTextLayout *This, + UINT32 position, + DWRITE_FONT_WEIGHT *weight, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStyle)( + IDWriteTextLayout *This, + UINT32 currentPosition, + DWRITE_FONT_STYLE *style, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStretch)( + IDWriteTextLayout *This, + UINT32 position, + DWRITE_FONT_STRETCH *stretch, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontSize)( + IDWriteTextLayout *This, + UINT32 position, + FLOAT *size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetUnderline)( + IDWriteTextLayout *This, + UINT32 position, + BOOL *has_underline, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetStrikethrough)( + IDWriteTextLayout *This, + UINT32 position, + BOOL *has_strikethrough, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetDrawingEffect)( + IDWriteTextLayout *This, + UINT32 position, + IUnknown **effect, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetInlineObject)( + IDWriteTextLayout *This, + UINT32 position, + IDWriteInlineObject **object, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetTypography)( + IDWriteTextLayout *This, + UINT32 position, + IDWriteTypography **typography, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleNameLength)( + IDWriteTextLayout *This, + UINT32 position, + UINT32 *length, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleName)( + IDWriteTextLayout *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IDWriteTextLayout *This, + void *context, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY); + + HRESULT (STDMETHODCALLTYPE *GetLineMetrics)( + IDWriteTextLayout *This, + DWRITE_LINE_METRICS *metrics, + UINT32 max_count, + UINT32 *actual_count); + + HRESULT (STDMETHODCALLTYPE *GetMetrics)( + IDWriteTextLayout *This, + DWRITE_TEXT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetOverhangMetrics)( + IDWriteTextLayout *This, + DWRITE_OVERHANG_METRICS *overhangs); + + HRESULT (STDMETHODCALLTYPE *GetClusterMetrics)( + IDWriteTextLayout *This, + DWRITE_CLUSTER_METRICS *metrics, + UINT32 max_count, + UINT32 *act_count); + + HRESULT (STDMETHODCALLTYPE *DetermineMinWidth)( + IDWriteTextLayout *This, + FLOAT *min_width); + + HRESULT (STDMETHODCALLTYPE *HitTestPoint)( + IDWriteTextLayout *This, + FLOAT pointX, + FLOAT pointY, + BOOL *is_trailinghit, + BOOL *is_inside, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextPosition)( + IDWriteTextLayout *This, + UINT32 textPosition, + BOOL is_trailinghit, + FLOAT *pointX, + FLOAT *pointY, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextRange)( + IDWriteTextLayout *This, + UINT32 textPosition, + UINT32 textLength, + FLOAT originX, + FLOAT originY, + DWRITE_HIT_TEST_METRICS *metrics, + UINT32 max_metricscount, + UINT32 *actual_metricscount); + + END_INTERFACE +} IDWriteTextLayoutVtbl; + +interface IDWriteTextLayout { + CONST_VTBL IDWriteTextLayoutVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextLayout_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextLayout_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextLayout_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextLayout_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextLayout_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextLayout_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextLayout_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextLayout_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextLayout_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextLayout_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextLayout_SetLineSpacing(This,spacing,line_spacing,baseline) (This)->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline) +#define IDWriteTextLayout_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextLayout_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextLayout_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextLayout_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextLayout_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextLayout_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextLayout_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +#define IDWriteTextLayout_GetLineSpacing(This,method,spacing,baseline) (This)->lpVtbl->GetLineSpacing(This,method,spacing,baseline) +/*** IDWriteTextLayout methods ***/ +#define IDWriteTextLayout_SetMaxWidth(This,maxWidth) (This)->lpVtbl->SetMaxWidth(This,maxWidth) +#define IDWriteTextLayout_SetMaxHeight(This,maxHeight) (This)->lpVtbl->SetMaxHeight(This,maxHeight) +#define IDWriteTextLayout_SetFontCollection(This,collection,range) (This)->lpVtbl->SetFontCollection(This,collection,range) +#define IDWriteTextLayout_SetFontFamilyName(This,name,range) (This)->lpVtbl->SetFontFamilyName(This,name,range) +#define IDWriteTextLayout_SetFontWeight(This,weight,range) (This)->lpVtbl->SetFontWeight(This,weight,range) +#define IDWriteTextLayout_SetFontStyle(This,style,range) (This)->lpVtbl->SetFontStyle(This,style,range) +#define IDWriteTextLayout_SetFontStretch(This,stretch,range) (This)->lpVtbl->SetFontStretch(This,stretch,range) +#define IDWriteTextLayout_SetFontSize(This,size,range) (This)->lpVtbl->SetFontSize(This,size,range) +#define IDWriteTextLayout_SetUnderline(This,underline,range) (This)->lpVtbl->SetUnderline(This,underline,range) +#define IDWriteTextLayout_SetStrikethrough(This,strikethrough,range) (This)->lpVtbl->SetStrikethrough(This,strikethrough,range) +#define IDWriteTextLayout_SetDrawingEffect(This,effect,range) (This)->lpVtbl->SetDrawingEffect(This,effect,range) +#define IDWriteTextLayout_SetInlineObject(This,object,range) (This)->lpVtbl->SetInlineObject(This,object,range) +#define IDWriteTextLayout_SetTypography(This,typography,range) (This)->lpVtbl->SetTypography(This,typography,range) +#define IDWriteTextLayout_SetLocaleName(This,locale,range) (This)->lpVtbl->SetLocaleName(This,locale,range) +#define IDWriteTextLayout_GetMaxWidth(This) (This)->lpVtbl->GetMaxWidth(This) +#define IDWriteTextLayout_GetMaxHeight(This) (This)->lpVtbl->GetMaxHeight(This) +#define IDWriteTextLayout_GetFontCollection(This,pos,collection,range) (This)->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range) +#define IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range) +#define IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range) +#define IDWriteTextLayout_GetFontWeight(This,position,weight,range) (This)->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range) +#define IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range) +#define IDWriteTextLayout_GetFontStretch(This,position,stretch,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range) +#define IDWriteTextLayout_GetFontSize(This,position,size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range) +#define IDWriteTextLayout_GetUnderline(This,position,has_underline,range) (This)->lpVtbl->GetUnderline(This,position,has_underline,range) +#define IDWriteTextLayout_GetStrikethrough(This,position,has_strikethrough,range) (This)->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range) +#define IDWriteTextLayout_GetDrawingEffect(This,position,effect,range) (This)->lpVtbl->GetDrawingEffect(This,position,effect,range) +#define IDWriteTextLayout_GetInlineObject(This,position,object,range) (This)->lpVtbl->GetInlineObject(This,position,object,range) +#define IDWriteTextLayout_GetTypography(This,position,typography,range) (This)->lpVtbl->GetTypography(This,position,typography,range) +#define IDWriteTextLayout_GetLocaleNameLength(This,position,length,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range) +#define IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range) +#define IDWriteTextLayout_Draw(This,context,renderer,originX,originY) (This)->lpVtbl->Draw(This,context,renderer,originX,originY) +#define IDWriteTextLayout_GetLineMetrics(This,metrics,max_count,actual_count) (This)->lpVtbl->GetLineMetrics(This,metrics,max_count,actual_count) +#define IDWriteTextLayout_GetMetrics(This,metrics) (This)->lpVtbl->GetMetrics(This,metrics) +#define IDWriteTextLayout_GetOverhangMetrics(This,overhangs) (This)->lpVtbl->GetOverhangMetrics(This,overhangs) +#define IDWriteTextLayout_GetClusterMetrics(This,metrics,max_count,act_count) (This)->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count) +#define IDWriteTextLayout_DetermineMinWidth(This,min_width) (This)->lpVtbl->DetermineMinWidth(This,min_width) +#define IDWriteTextLayout_HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) (This)->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) +#define IDWriteTextLayout_HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) (This)->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) +#define IDWriteTextLayout_HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) (This)->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout_QueryInterface(IDWriteTextLayout* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextLayout_AddRef(IDWriteTextLayout* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextLayout_Release(IDWriteTextLayout* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout_SetTextAlignment(IDWriteTextLayout* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetParagraphAlignment(IDWriteTextLayout* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetWordWrapping(IDWriteTextLayout* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetReadingDirection(IDWriteTextLayout* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFlowDirection(IDWriteTextLayout* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetIncrementalTabStop(IDWriteTextLayout* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetTrimming(IDWriteTextLayout* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetLineSpacing(IDWriteTextLayout* This,DWRITE_LINE_SPACING_METHOD spacing,FLOAT line_spacing,FLOAT baseline) { + return This->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextLayout_GetTextAlignment(IDWriteTextLayout* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextLayout_GetParagraphAlignment(IDWriteTextLayout* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextLayout_GetWordWrapping(IDWriteTextLayout* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextLayout_GetReadingDirection(IDWriteTextLayout* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextLayout_GetFlowDirection(IDWriteTextLayout* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout_GetIncrementalTabStop(IDWriteTextLayout* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetTrimming(IDWriteTextLayout* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetLineSpacing(IDWriteTextLayout* This,DWRITE_LINE_SPACING_METHOD *method,FLOAT *spacing,FLOAT *baseline) { + return This->lpVtbl->GetLineSpacing(This,method,spacing,baseline); +} +/*** IDWriteTextLayout methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout_SetMaxWidth(IDWriteTextLayout* This,FLOAT maxWidth) { + return This->lpVtbl->SetMaxWidth(This,maxWidth); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetMaxHeight(IDWriteTextLayout* This,FLOAT maxHeight) { + return This->lpVtbl->SetMaxHeight(This,maxHeight); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFontCollection(IDWriteTextLayout* This,IDWriteFontCollection *collection,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontCollection(This,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFontFamilyName(IDWriteTextLayout* This,const WCHAR *name,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontFamilyName(This,name,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFontWeight(IDWriteTextLayout* This,DWRITE_FONT_WEIGHT weight,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontWeight(This,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFontStyle(IDWriteTextLayout* This,DWRITE_FONT_STYLE style,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStyle(This,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFontStretch(IDWriteTextLayout* This,DWRITE_FONT_STRETCH stretch,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStretch(This,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetFontSize(IDWriteTextLayout* This,FLOAT size,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontSize(This,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetUnderline(IDWriteTextLayout* This,BOOL underline,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetUnderline(This,underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetStrikethrough(IDWriteTextLayout* This,BOOL strikethrough,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetStrikethrough(This,strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetDrawingEffect(IDWriteTextLayout* This,IUnknown *effect,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetDrawingEffect(This,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetInlineObject(IDWriteTextLayout* This,IDWriteInlineObject *object,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetInlineObject(This,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetTypography(IDWriteTextLayout* This,IDWriteTypography *typography,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetTypography(This,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_SetLocaleName(IDWriteTextLayout* This,const WCHAR *locale,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetLocaleName(This,locale,range); +} +static FORCEINLINE FLOAT IDWriteTextLayout_GetMaxWidth(IDWriteTextLayout* This) { + return This->lpVtbl->GetMaxWidth(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout_GetMaxHeight(IDWriteTextLayout* This) { + return This->lpVtbl->GetMaxHeight(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontCollection(IDWriteTextLayout* This,UINT32 pos,IDWriteFontCollection **collection,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontFamilyNameLength(IDWriteTextLayout* This,UINT32 pos,UINT32 *len,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontFamilyName(IDWriteTextLayout* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontWeight(IDWriteTextLayout* This,UINT32 position,DWRITE_FONT_WEIGHT *weight,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontStyle(IDWriteTextLayout* This,UINT32 currentPosition,DWRITE_FONT_STYLE *style,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontStretch(IDWriteTextLayout* This,UINT32 position,DWRITE_FONT_STRETCH *stretch,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetFontSize(IDWriteTextLayout* This,UINT32 position,FLOAT *size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetUnderline(IDWriteTextLayout* This,UINT32 position,BOOL *has_underline,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetUnderline(This,position,has_underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetStrikethrough(IDWriteTextLayout* This,UINT32 position,BOOL *has_strikethrough,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetDrawingEffect(IDWriteTextLayout* This,UINT32 position,IUnknown **effect,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetDrawingEffect(This,position,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetInlineObject(IDWriteTextLayout* This,UINT32 position,IDWriteInlineObject **object,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetInlineObject(This,position,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetTypography(IDWriteTextLayout* This,UINT32 position,IDWriteTypography **typography,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetTypography(This,position,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetLocaleNameLength(IDWriteTextLayout* This,UINT32 position,UINT32 *length,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetLocaleName(IDWriteTextLayout* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout_Draw(IDWriteTextLayout* This,void *context,IDWriteTextRenderer *renderer,FLOAT originX,FLOAT originY) { + return This->lpVtbl->Draw(This,context,renderer,originX,originY); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetLineMetrics(IDWriteTextLayout* This,DWRITE_LINE_METRICS *metrics,UINT32 max_count,UINT32 *actual_count) { + return This->lpVtbl->GetLineMetrics(This,metrics,max_count,actual_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetMetrics(IDWriteTextLayout* This,DWRITE_TEXT_METRICS *metrics) { + return This->lpVtbl->GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetOverhangMetrics(IDWriteTextLayout* This,DWRITE_OVERHANG_METRICS *overhangs) { + return This->lpVtbl->GetOverhangMetrics(This,overhangs); +} +static FORCEINLINE HRESULT IDWriteTextLayout_GetClusterMetrics(IDWriteTextLayout* This,DWRITE_CLUSTER_METRICS *metrics,UINT32 max_count,UINT32 *act_count) { + return This->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout_DetermineMinWidth(IDWriteTextLayout* This,FLOAT *min_width) { + return This->lpVtbl->DetermineMinWidth(This,min_width); +} +static FORCEINLINE HRESULT IDWriteTextLayout_HitTestPoint(IDWriteTextLayout* This,FLOAT pointX,FLOAT pointY,BOOL *is_trailinghit,BOOL *is_inside,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout_HitTestTextPosition(IDWriteTextLayout* This,UINT32 textPosition,BOOL is_trailinghit,FLOAT *pointX,FLOAT *pointY,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout_HitTestTextRange(IDWriteTextLayout* This,UINT32 textPosition,UINT32 textLength,FLOAT originX,FLOAT originY,DWRITE_HIT_TEST_METRICS *metrics,UINT32 max_metricscount,UINT32 *actual_metricscount) { + return This->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextLayout_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteNumberSubstitution interface + */ +#ifndef __IDWriteNumberSubstitution_INTERFACE_DEFINED__ +#define __IDWriteNumberSubstitution_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteNumberSubstitution, 0x14885cc9, 0xbab0, 0x4f90, 0xb6,0xed, 0x5c,0x36,0x6a,0x2c,0xd0,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("14885cc9-bab0-4f90-b6ed-5c366a2cd03d") +IDWriteNumberSubstitution : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteNumberSubstitution, 0x14885cc9, 0xbab0, 0x4f90, 0xb6,0xed, 0x5c,0x36,0x6a,0x2c,0xd0,0x3d) +#endif +#else +typedef struct IDWriteNumberSubstitutionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteNumberSubstitution *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteNumberSubstitution *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteNumberSubstitution *This); + + END_INTERFACE +} IDWriteNumberSubstitutionVtbl; + +interface IDWriteNumberSubstitution { + CONST_VTBL IDWriteNumberSubstitutionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteNumberSubstitution_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteNumberSubstitution_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteNumberSubstitution_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteNumberSubstitution_QueryInterface(IDWriteNumberSubstitution* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteNumberSubstitution_AddRef(IDWriteNumberSubstitution* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteNumberSubstitution_Release(IDWriteNumberSubstitution* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteNumberSubstitution_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalysisSource interface + */ +#ifndef __IDWriteTextAnalysisSource_INTERFACE_DEFINED__ +#define __IDWriteTextAnalysisSource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalysisSource, 0x688e1a58, 0x5094, 0x47c8, 0xad,0xc8, 0xfb,0xce,0xa6,0x0a,0xe9,0x2b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("688e1a58-5094-47c8-adc8-fbcea60ae92b") +IDWriteTextAnalysisSource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetTextAtPosition( + UINT32 position, + const WCHAR **text, + UINT32 *text_len) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextBeforePosition( + UINT32 position, + const WCHAR **text, + UINT32 *text_len) = 0; + + virtual DWRITE_READING_DIRECTION STDMETHODCALLTYPE GetParagraphReadingDirection( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleName( + UINT32 position, + UINT32 *text_len, + const WCHAR **locale) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberSubstitution( + UINT32 position, + UINT32 *text_len, + IDWriteNumberSubstitution **substitution) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalysisSource, 0x688e1a58, 0x5094, 0x47c8, 0xad,0xc8, 0xfb,0xce,0xa6,0x0a,0xe9,0x2b) +#endif +#else +typedef struct IDWriteTextAnalysisSourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalysisSource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalysisSource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalysisSource *This); + + /*** IDWriteTextAnalysisSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTextAtPosition)( + IDWriteTextAnalysisSource *This, + UINT32 position, + const WCHAR **text, + UINT32 *text_len); + + HRESULT (STDMETHODCALLTYPE *GetTextBeforePosition)( + IDWriteTextAnalysisSource *This, + UINT32 position, + const WCHAR **text, + UINT32 *text_len); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetParagraphReadingDirection)( + IDWriteTextAnalysisSource *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextAnalysisSource *This, + UINT32 position, + UINT32 *text_len, + const WCHAR **locale); + + HRESULT (STDMETHODCALLTYPE *GetNumberSubstitution)( + IDWriteTextAnalysisSource *This, + UINT32 position, + UINT32 *text_len, + IDWriteNumberSubstitution **substitution); + + END_INTERFACE +} IDWriteTextAnalysisSourceVtbl; + +interface IDWriteTextAnalysisSource { + CONST_VTBL IDWriteTextAnalysisSourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalysisSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalysisSource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalysisSource_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalysisSource methods ***/ +#define IDWriteTextAnalysisSource_GetTextAtPosition(This,position,text,text_len) (This)->lpVtbl->GetTextAtPosition(This,position,text,text_len) +#define IDWriteTextAnalysisSource_GetTextBeforePosition(This,position,text,text_len) (This)->lpVtbl->GetTextBeforePosition(This,position,text,text_len) +#define IDWriteTextAnalysisSource_GetParagraphReadingDirection(This) (This)->lpVtbl->GetParagraphReadingDirection(This) +#define IDWriteTextAnalysisSource_GetLocaleName(This,position,text_len,locale) (This)->lpVtbl->GetLocaleName(This,position,text_len,locale) +#define IDWriteTextAnalysisSource_GetNumberSubstitution(This,position,text_len,substitution) (This)->lpVtbl->GetNumberSubstitution(This,position,text_len,substitution) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSource_QueryInterface(IDWriteTextAnalysisSource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSource_AddRef(IDWriteTextAnalysisSource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSource_Release(IDWriteTextAnalysisSource* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalysisSource methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSource_GetTextAtPosition(IDWriteTextAnalysisSource* This,UINT32 position,const WCHAR **text,UINT32 *text_len) { + return This->lpVtbl->GetTextAtPosition(This,position,text,text_len); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSource_GetTextBeforePosition(IDWriteTextAnalysisSource* This,UINT32 position,const WCHAR **text,UINT32 *text_len) { + return This->lpVtbl->GetTextBeforePosition(This,position,text,text_len); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextAnalysisSource_GetParagraphReadingDirection(IDWriteTextAnalysisSource* This) { + return This->lpVtbl->GetParagraphReadingDirection(This); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSource_GetLocaleName(IDWriteTextAnalysisSource* This,UINT32 position,UINT32 *text_len,const WCHAR **locale) { + return This->lpVtbl->GetLocaleName(This,position,text_len,locale); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSource_GetNumberSubstitution(IDWriteTextAnalysisSource* This,UINT32 position,UINT32 *text_len,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->GetNumberSubstitution(This,position,text_len,substitution); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalysisSource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalysisSink interface + */ +#ifndef __IDWriteTextAnalysisSink_INTERFACE_DEFINED__ +#define __IDWriteTextAnalysisSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalysisSink, 0x5810cd44, 0x0ca0, 0x4701, 0xb3,0xfa, 0xbe,0xc5,0x18,0x2a,0xe4,0xf6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5810cd44-0ca0-4701-b3fa-bec5182ae4f6") +IDWriteTextAnalysisSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetScriptAnalysis( + UINT32 position, + UINT32 length, + const DWRITE_SCRIPT_ANALYSIS *scriptanalysis) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLineBreakpoints( + UINT32 position, + UINT32 length, + const DWRITE_LINE_BREAKPOINT *breakpoints) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBidiLevel( + UINT32 position, + UINT32 length, + UINT8 explicitLevel, + UINT8 resolvedLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNumberSubstitution( + UINT32 position, + UINT32 length, + IDWriteNumberSubstitution *substitution) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalysisSink, 0x5810cd44, 0x0ca0, 0x4701, 0xb3,0xfa, 0xbe,0xc5,0x18,0x2a,0xe4,0xf6) +#endif +#else +typedef struct IDWriteTextAnalysisSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalysisSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalysisSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalysisSink *This); + + /*** IDWriteTextAnalysisSink methods ***/ + HRESULT (STDMETHODCALLTYPE *SetScriptAnalysis)( + IDWriteTextAnalysisSink *This, + UINT32 position, + UINT32 length, + const DWRITE_SCRIPT_ANALYSIS *scriptanalysis); + + HRESULT (STDMETHODCALLTYPE *SetLineBreakpoints)( + IDWriteTextAnalysisSink *This, + UINT32 position, + UINT32 length, + const DWRITE_LINE_BREAKPOINT *breakpoints); + + HRESULT (STDMETHODCALLTYPE *SetBidiLevel)( + IDWriteTextAnalysisSink *This, + UINT32 position, + UINT32 length, + UINT8 explicitLevel, + UINT8 resolvedLevel); + + HRESULT (STDMETHODCALLTYPE *SetNumberSubstitution)( + IDWriteTextAnalysisSink *This, + UINT32 position, + UINT32 length, + IDWriteNumberSubstitution *substitution); + + END_INTERFACE +} IDWriteTextAnalysisSinkVtbl; + +interface IDWriteTextAnalysisSink { + CONST_VTBL IDWriteTextAnalysisSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalysisSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalysisSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalysisSink_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalysisSink methods ***/ +#define IDWriteTextAnalysisSink_SetScriptAnalysis(This,position,length,scriptanalysis) (This)->lpVtbl->SetScriptAnalysis(This,position,length,scriptanalysis) +#define IDWriteTextAnalysisSink_SetLineBreakpoints(This,position,length,breakpoints) (This)->lpVtbl->SetLineBreakpoints(This,position,length,breakpoints) +#define IDWriteTextAnalysisSink_SetBidiLevel(This,position,length,explicitLevel,resolvedLevel) (This)->lpVtbl->SetBidiLevel(This,position,length,explicitLevel,resolvedLevel) +#define IDWriteTextAnalysisSink_SetNumberSubstitution(This,position,length,substitution) (This)->lpVtbl->SetNumberSubstitution(This,position,length,substitution) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSink_QueryInterface(IDWriteTextAnalysisSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSink_AddRef(IDWriteTextAnalysisSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSink_Release(IDWriteTextAnalysisSink* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalysisSink methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSink_SetScriptAnalysis(IDWriteTextAnalysisSink* This,UINT32 position,UINT32 length,const DWRITE_SCRIPT_ANALYSIS *scriptanalysis) { + return This->lpVtbl->SetScriptAnalysis(This,position,length,scriptanalysis); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSink_SetLineBreakpoints(IDWriteTextAnalysisSink* This,UINT32 position,UINT32 length,const DWRITE_LINE_BREAKPOINT *breakpoints) { + return This->lpVtbl->SetLineBreakpoints(This,position,length,breakpoints); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSink_SetBidiLevel(IDWriteTextAnalysisSink* This,UINT32 position,UINT32 length,UINT8 explicitLevel,UINT8 resolvedLevel) { + return This->lpVtbl->SetBidiLevel(This,position,length,explicitLevel,resolvedLevel); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSink_SetNumberSubstitution(IDWriteTextAnalysisSink* This,UINT32 position,UINT32 length,IDWriteNumberSubstitution *substitution) { + return This->lpVtbl->SetNumberSubstitution(This,position,length,substitution); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalysisSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalyzer interface + */ +#ifndef __IDWriteTextAnalyzer_INTERFACE_DEFINED__ +#define __IDWriteTextAnalyzer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalyzer, 0xb7e6163e, 0x7f46, 0x43b4, 0x84,0xb3, 0xe4,0xe6,0x24,0x9c,0x36,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b7e6163e-7f46-43b4-84b3-e4e6249c365d") +IDWriteTextAnalyzer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AnalyzeScript( + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE AnalyzeBidi( + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE AnalyzeNumberSubstitution( + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE AnalyzeLineBreakpoints( + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlyphs( + const WCHAR *text, + UINT32 length, + IDWriteFontFace *font_face, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + IDWriteNumberSubstitution *substitution, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + UINT32 max_glyph_count, + UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *text_props, + UINT16 *glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 *actual_glyph_count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlyphPlacements( + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGdiCompatibleGlyphPlacements( + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_lengths, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalyzer, 0xb7e6163e, 0x7f46, 0x43b4, 0x84,0xb3, 0xe4,0xe6,0x24,0x9c,0x36,0x5d) +#endif +#else +typedef struct IDWriteTextAnalyzerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalyzer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalyzer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalyzer *This); + + /*** IDWriteTextAnalyzer methods ***/ + HRESULT (STDMETHODCALLTYPE *AnalyzeScript)( + IDWriteTextAnalyzer *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeBidi)( + IDWriteTextAnalyzer *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeNumberSubstitution)( + IDWriteTextAnalyzer *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeLineBreakpoints)( + IDWriteTextAnalyzer *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *GetGlyphs)( + IDWriteTextAnalyzer *This, + const WCHAR *text, + UINT32 length, + IDWriteFontFace *font_face, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + IDWriteNumberSubstitution *substitution, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + UINT32 max_glyph_count, + UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *text_props, + UINT16 *glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 *actual_glyph_count); + + HRESULT (STDMETHODCALLTYPE *GetGlyphPlacements)( + IDWriteTextAnalyzer *This, + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphPlacements)( + IDWriteTextAnalyzer *This, + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_lengths, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets); + + END_INTERFACE +} IDWriteTextAnalyzerVtbl; + +interface IDWriteTextAnalyzer { + CONST_VTBL IDWriteTextAnalyzerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalyzer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalyzer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalyzer_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalyzer methods ***/ +#define IDWriteTextAnalyzer_AnalyzeScript(This,source,position,length,sink) (This)->lpVtbl->AnalyzeScript(This,source,position,length,sink) +#define IDWriteTextAnalyzer_AnalyzeBidi(This,source,position,length,sink) (This)->lpVtbl->AnalyzeBidi(This,source,position,length,sink) +#define IDWriteTextAnalyzer_AnalyzeNumberSubstitution(This,source,position,length,sink) (This)->lpVtbl->AnalyzeNumberSubstitution(This,source,position,length,sink) +#define IDWriteTextAnalyzer_AnalyzeLineBreakpoints(This,source,position,length,sink) (This)->lpVtbl->AnalyzeLineBreakpoints(This,source,position,length,sink) +#define IDWriteTextAnalyzer_GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count) (This)->lpVtbl->GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count) +#define IDWriteTextAnalyzer_GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets) (This)->lpVtbl->GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets) +#define IDWriteTextAnalyzer_GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets) (This)->lpVtbl->GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer_QueryInterface(IDWriteTextAnalyzer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalyzer_AddRef(IDWriteTextAnalyzer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalyzer_Release(IDWriteTextAnalyzer* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalyzer methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer_AnalyzeScript(IDWriteTextAnalyzer* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeScript(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer_AnalyzeBidi(IDWriteTextAnalyzer* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeBidi(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer_AnalyzeNumberSubstitution(IDWriteTextAnalyzer* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeNumberSubstitution(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer_AnalyzeLineBreakpoints(IDWriteTextAnalyzer* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeLineBreakpoints(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer_GetGlyphs(IDWriteTextAnalyzer* This,const WCHAR *text,UINT32 length,IDWriteFontFace *font_face,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,IDWriteNumberSubstitution *substitution,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_len,UINT32 feature_ranges,UINT32 max_glyph_count,UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *text_props,UINT16 *glyph_indices,DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 *actual_glyph_count) { + return This->lpVtbl->GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer_GetGlyphPlacements(IDWriteTextAnalyzer* This,const WCHAR *text,const UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *props,UINT32 text_len,const UINT16 *glyph_indices,const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 glyph_count,IDWriteFontFace *font_face,FLOAT fontEmSize,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_len,UINT32 feature_ranges,FLOAT *glyph_advances,DWRITE_GLYPH_OFFSET *glyph_offsets) { + return This->lpVtbl->GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer_GetGdiCompatibleGlyphPlacements(IDWriteTextAnalyzer* This,const WCHAR *text,const UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *props,UINT32 text_len,const UINT16 *glyph_indices,const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 glyph_count,IDWriteFontFace *font_face,FLOAT fontEmSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_lengths,UINT32 feature_ranges,FLOAT *glyph_advances,DWRITE_GLYPH_OFFSET *glyph_offsets) { + return This->lpVtbl->GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalyzer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteGlyphRunAnalysis interface + */ +#ifndef __IDWriteGlyphRunAnalysis_INTERFACE_DEFINED__ +#define __IDWriteGlyphRunAnalysis_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteGlyphRunAnalysis, 0x7d97dbf7, 0xe085, 0x42d4, 0x81,0xe3, 0x6a,0x88,0x3b,0xde,0xd1,0x18); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7d97dbf7-e085-42d4-81e3-6a883bded118") +IDWriteGlyphRunAnalysis : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAlphaTextureBounds( + DWRITE_TEXTURE_TYPE type, + RECT *bounds) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAlphaTexture( + DWRITE_TEXTURE_TYPE type, + const RECT *bounds, + BYTE *alphaValues, + UINT32 bufferSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlphaBlendParams( + IDWriteRenderingParams *renderingParams, + FLOAT *blendGamma, + FLOAT *blendEnhancedContrast, + FLOAT *blendClearTypeLevel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteGlyphRunAnalysis, 0x7d97dbf7, 0xe085, 0x42d4, 0x81,0xe3, 0x6a,0x88,0x3b,0xde,0xd1,0x18) +#endif +#else +typedef struct IDWriteGlyphRunAnalysisVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteGlyphRunAnalysis *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteGlyphRunAnalysis *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteGlyphRunAnalysis *This); + + /*** IDWriteGlyphRunAnalysis methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAlphaTextureBounds)( + IDWriteGlyphRunAnalysis *This, + DWRITE_TEXTURE_TYPE type, + RECT *bounds); + + HRESULT (STDMETHODCALLTYPE *CreateAlphaTexture)( + IDWriteGlyphRunAnalysis *This, + DWRITE_TEXTURE_TYPE type, + const RECT *bounds, + BYTE *alphaValues, + UINT32 bufferSize); + + HRESULT (STDMETHODCALLTYPE *GetAlphaBlendParams)( + IDWriteGlyphRunAnalysis *This, + IDWriteRenderingParams *renderingParams, + FLOAT *blendGamma, + FLOAT *blendEnhancedContrast, + FLOAT *blendClearTypeLevel); + + END_INTERFACE +} IDWriteGlyphRunAnalysisVtbl; + +interface IDWriteGlyphRunAnalysis { + CONST_VTBL IDWriteGlyphRunAnalysisVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteGlyphRunAnalysis_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteGlyphRunAnalysis_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteGlyphRunAnalysis_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteGlyphRunAnalysis methods ***/ +#define IDWriteGlyphRunAnalysis_GetAlphaTextureBounds(This,type,bounds) (This)->lpVtbl->GetAlphaTextureBounds(This,type,bounds) +#define IDWriteGlyphRunAnalysis_CreateAlphaTexture(This,type,bounds,alphaValues,bufferSize) (This)->lpVtbl->CreateAlphaTexture(This,type,bounds,alphaValues,bufferSize) +#define IDWriteGlyphRunAnalysis_GetAlphaBlendParams(This,renderingParams,blendGamma,blendEnhancedContrast,blendClearTypeLevel) (This)->lpVtbl->GetAlphaBlendParams(This,renderingParams,blendGamma,blendEnhancedContrast,blendClearTypeLevel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteGlyphRunAnalysis_QueryInterface(IDWriteGlyphRunAnalysis* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteGlyphRunAnalysis_AddRef(IDWriteGlyphRunAnalysis* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteGlyphRunAnalysis_Release(IDWriteGlyphRunAnalysis* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteGlyphRunAnalysis methods ***/ +static FORCEINLINE HRESULT IDWriteGlyphRunAnalysis_GetAlphaTextureBounds(IDWriteGlyphRunAnalysis* This,DWRITE_TEXTURE_TYPE type,RECT *bounds) { + return This->lpVtbl->GetAlphaTextureBounds(This,type,bounds); +} +static FORCEINLINE HRESULT IDWriteGlyphRunAnalysis_CreateAlphaTexture(IDWriteGlyphRunAnalysis* This,DWRITE_TEXTURE_TYPE type,const RECT *bounds,BYTE *alphaValues,UINT32 bufferSize) { + return This->lpVtbl->CreateAlphaTexture(This,type,bounds,alphaValues,bufferSize); +} +static FORCEINLINE HRESULT IDWriteGlyphRunAnalysis_GetAlphaBlendParams(IDWriteGlyphRunAnalysis* This,IDWriteRenderingParams *renderingParams,FLOAT *blendGamma,FLOAT *blendEnhancedContrast,FLOAT *blendClearTypeLevel) { + return This->lpVtbl->GetAlphaBlendParams(This,renderingParams,blendGamma,blendEnhancedContrast,blendClearTypeLevel); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteGlyphRunAnalysis_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFactory interface + */ +#ifndef __IDWriteFactory_INTERFACE_DEFINED__ +#define __IDWriteFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFactory, 0xb859ee5a, 0xd838, 0x4b5b, 0xa2,0xe8, 0x1a,0xdc,0x7d,0x93,0xdb,0x48); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b859ee5a-d838-4b5b-a2e8-1adc7d93db48") +IDWriteFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSystemFontCollection( + IDWriteFontCollection **collection, + BOOL check_for_updates = FALSE) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCustomFontCollection( + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterFontCollectionLoader( + IDWriteFontCollectionLoader *loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterFontCollectionLoader( + IDWriteFontCollectionLoader *loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFileReference( + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCustomFontFileReference( + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFace( + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRenderingParams( + IDWriteRenderingParams **params) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMonitorRenderingParams( + HMONITOR monitor, + IDWriteRenderingParams **params) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCustomRenderingParams( + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterFontFileLoader( + IDWriteFontFileLoader *loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterFontFileLoader( + IDWriteFontFileLoader *loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTextFormat( + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTypography( + IDWriteTypography **typography) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGdiInterop( + IDWriteGdiInterop **gdi_interop) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTextLayout( + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGdiCompatibleTextLayout( + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateEllipsisTrimmingSign( + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateTextAnalyzer( + IDWriteTextAnalyzer **analyzer) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNumberSubstitution( + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGlyphRunAnalysis( + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFactory, 0xb859ee5a, 0xd838, 0x4b5b, 0xa2,0xe8, 0x1a,0xdc,0x7d,0x93,0xdb,0x48) +#endif +#else +typedef struct IDWriteFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFactory *This); + + /*** IDWriteFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontCollection)( + IDWriteFactory *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontCollection)( + IDWriteFactory *This, + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT (STDMETHODCALLTYPE *RegisterFontCollectionLoader)( + IDWriteFactory *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontCollectionLoader)( + IDWriteFactory *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReference)( + IDWriteFactory *This, + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontFileReference)( + IDWriteFactory *This, + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFactory *This, + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT (STDMETHODCALLTYPE *CreateRenderingParams)( + IDWriteFactory *This, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateMonitorRenderingParams)( + IDWriteFactory *This, + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateCustomRenderingParams)( + IDWriteFactory *This, + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *RegisterFontFileLoader)( + IDWriteFactory *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontFileLoader)( + IDWriteFactory *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateTextFormat)( + IDWriteFactory *This, + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format); + + HRESULT (STDMETHODCALLTYPE *CreateTypography)( + IDWriteFactory *This, + IDWriteTypography **typography); + + HRESULT (STDMETHODCALLTYPE *GetGdiInterop)( + IDWriteFactory *This, + IDWriteGdiInterop **gdi_interop); + + HRESULT (STDMETHODCALLTYPE *CreateTextLayout)( + IDWriteFactory *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateGdiCompatibleTextLayout)( + IDWriteFactory *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateEllipsisTrimmingSign)( + IDWriteFactory *This, + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *CreateTextAnalyzer)( + IDWriteFactory *This, + IDWriteTextAnalyzer **analyzer); + + HRESULT (STDMETHODCALLTYPE *CreateNumberSubstitution)( + IDWriteFactory *This, + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT (STDMETHODCALLTYPE *CreateGlyphRunAnalysis)( + IDWriteFactory *This, + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); + + END_INTERFACE +} IDWriteFactoryVtbl; + +interface IDWriteFactory { + CONST_VTBL IDWriteFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFactory methods ***/ +#define IDWriteFactory_GetSystemFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetSystemFontCollection(This,collection,check_for_updates) +#define IDWriteFactory_CreateCustomFontCollection(This,loader,key,key_size,collection) (This)->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection) +#define IDWriteFactory_RegisterFontCollectionLoader(This,loader) (This)->lpVtbl->RegisterFontCollectionLoader(This,loader) +#define IDWriteFactory_UnregisterFontCollectionLoader(This,loader) (This)->lpVtbl->UnregisterFontCollectionLoader(This,loader) +#define IDWriteFactory_CreateFontFileReference(This,path,writetime,font_file) (This)->lpVtbl->CreateFontFileReference(This,path,writetime,font_file) +#define IDWriteFactory_CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) (This)->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) +#define IDWriteFactory_CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) (This)->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) +#define IDWriteFactory_CreateRenderingParams(This,params) (This)->lpVtbl->CreateRenderingParams(This,params) +#define IDWriteFactory_CreateMonitorRenderingParams(This,monitor,params) (This)->lpVtbl->CreateMonitorRenderingParams(This,monitor,params) +#define IDWriteFactory_CreateCustomRenderingParams(This,gamma,enhancedContrast,cleartype_level,geometry,mode,params) (This)->lpVtbl->CreateCustomRenderingParams(This,gamma,enhancedContrast,cleartype_level,geometry,mode,params) +#define IDWriteFactory_RegisterFontFileLoader(This,loader) (This)->lpVtbl->RegisterFontFileLoader(This,loader) +#define IDWriteFactory_UnregisterFontFileLoader(This,loader) (This)->lpVtbl->UnregisterFontFileLoader(This,loader) +#define IDWriteFactory_CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) (This)->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) +#define IDWriteFactory_CreateTypography(This,typography) (This)->lpVtbl->CreateTypography(This,typography) +#define IDWriteFactory_GetGdiInterop(This,gdi_interop) (This)->lpVtbl->GetGdiInterop(This,gdi_interop) +#define IDWriteFactory_CreateTextLayout(This,string,len,format,max_width,max_height,layout) (This)->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout) +#define IDWriteFactory_CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) (This)->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) +#define IDWriteFactory_CreateEllipsisTrimmingSign(This,format,trimming_sign) (This)->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign) +#define IDWriteFactory_CreateTextAnalyzer(This,analyzer) (This)->lpVtbl->CreateTextAnalyzer(This,analyzer) +#define IDWriteFactory_CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) (This)->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) +#define IDWriteFactory_CreateGlyphRunAnalysis(This,glyph_run,pixels_per_dip,transform,rendering_mode,measuring_mode,baseline_x,baseline_y,analysis) (This)->lpVtbl->CreateGlyphRunAnalysis(This,glyph_run,pixels_per_dip,transform,rendering_mode,measuring_mode,baseline_x,baseline_y,analysis) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFactory_QueryInterface(IDWriteFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFactory_AddRef(IDWriteFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFactory_Release(IDWriteFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFactory methods ***/ +static FORCEINLINE HRESULT IDWriteFactory_GetSystemFontCollection(IDWriteFactory* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetSystemFontCollection(This,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateCustomFontCollection(IDWriteFactory* This,IDWriteFontCollectionLoader *loader,const void *key,UINT32 key_size,IDWriteFontCollection **collection) { + return This->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection); +} +static FORCEINLINE HRESULT IDWriteFactory_RegisterFontCollectionLoader(IDWriteFactory* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->RegisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory_UnregisterFontCollectionLoader(IDWriteFactory* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->UnregisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateFontFileReference(IDWriteFactory* This,const WCHAR *path,const FILETIME *writetime,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateFontFileReference(This,path,writetime,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateCustomFontFileReference(IDWriteFactory* This,const void *reference_key,UINT32 key_size,IDWriteFontFileLoader *loader,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateFontFace(IDWriteFactory* This,DWRITE_FONT_FACE_TYPE facetype,UINT32 files_number,IDWriteFontFile *const *font_files,UINT32 index,DWRITE_FONT_SIMULATIONS sim_flags,IDWriteFontFace **font_face) { + return This->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateRenderingParams(IDWriteFactory* This,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateRenderingParams(This,params); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateMonitorRenderingParams(IDWriteFactory* This,HMONITOR monitor,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateMonitorRenderingParams(This,monitor,params); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateCustomRenderingParams(IDWriteFactory* This,FLOAT gamma,FLOAT enhancedContrast,FLOAT cleartype_level,DWRITE_PIXEL_GEOMETRY geometry,DWRITE_RENDERING_MODE mode,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateCustomRenderingParams(This,gamma,enhancedContrast,cleartype_level,geometry,mode,params); +} +static FORCEINLINE HRESULT IDWriteFactory_RegisterFontFileLoader(IDWriteFactory* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->RegisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory_UnregisterFontFileLoader(IDWriteFactory* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->UnregisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateTextFormat(IDWriteFactory* This,const WCHAR *family_name,IDWriteFontCollection *collection,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STYLE style,DWRITE_FONT_STRETCH stretch,FLOAT size,const WCHAR *locale,IDWriteTextFormat **format) { + return This->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateTypography(IDWriteFactory* This,IDWriteTypography **typography) { + return This->lpVtbl->CreateTypography(This,typography); +} +static FORCEINLINE HRESULT IDWriteFactory_GetGdiInterop(IDWriteFactory* This,IDWriteGdiInterop **gdi_interop) { + return This->lpVtbl->GetGdiInterop(This,gdi_interop); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateTextLayout(IDWriteFactory* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT max_width,FLOAT max_height,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateGdiCompatibleTextLayout(IDWriteFactory* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT layout_width,FLOAT layout_height,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateEllipsisTrimmingSign(IDWriteFactory* This,IDWriteTextFormat *format,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateTextAnalyzer(IDWriteFactory* This,IDWriteTextAnalyzer **analyzer) { + return This->lpVtbl->CreateTextAnalyzer(This,analyzer); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateNumberSubstitution(IDWriteFactory* This,DWRITE_NUMBER_SUBSTITUTION_METHOD method,const WCHAR *locale,BOOL ignore_user_override,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution); +} +static FORCEINLINE HRESULT IDWriteFactory_CreateGlyphRunAnalysis(IDWriteFactory* This,const DWRITE_GLYPH_RUN *glyph_run,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_RENDERING_MODE rendering_mode,DWRITE_MEASURING_MODE measuring_mode,FLOAT baseline_x,FLOAT baseline_y,IDWriteGlyphRunAnalysis **analysis) { + return This->lpVtbl->CreateGlyphRunAnalysis(This,glyph_run,pixels_per_dip,transform,rendering_mode,measuring_mode,baseline_x,baseline_y,analysis); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFactory_INTERFACE_DEFINED__ */ + +HRESULT WINAPI DWriteCreateFactory(DWRITE_FACTORY_TYPE,REFIID,IUnknown**); +#define FACILITY_DWRITE 0x898 +#define DWRITE_ERR_BASE 0x5000 +#define MAKE_DWRITE_HR(severity, code) MAKE_HRESULT(severity, FACILITY_DWRITE, (DWRITE_ERR_BASE + code)) +#define MAKE_DWRITE_HR_ERR(code) MAKE_DWRITE_HR(SEVERITY_ERROR, code) +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dwrite_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite.idl new file mode 100644 index 0000000..115f958 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite.idl @@ -0,0 +1,1449 @@ +/* + * Copyright 2012 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "dcommon.idl"; + +interface IDWriteFactory; +interface IDWriteFontCollection; +interface IDWriteFontFamily; +interface IDWriteFontFace; +interface IDWriteInlineObject; + +interface ID2D1SimplifiedGeometrySink; +typedef ID2D1SimplifiedGeometrySink IDWriteGeometrySink; + +cpp_quote("#ifndef _WINDEF_") +/* already defined in windef.h but needed for WIDL */ +typedef void *HMONITOR; +cpp_quote("#endif /* _WINDEF_ */") + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetGlyphIndices") +cpp_quote("#endif") + +typedef enum DWRITE_FACTORY_TYPE +{ + DWRITE_FACTORY_TYPE_SHARED, + DWRITE_FACTORY_TYPE_ISOLATED +} DWRITE_FACTORY_TYPE; + +typedef enum DWRITE_FONT_FILE_TYPE +{ + DWRITE_FONT_FILE_TYPE_UNKNOWN, + DWRITE_FONT_FILE_TYPE_CFF, + DWRITE_FONT_FILE_TYPE_TRUETYPE, + DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION, + DWRITE_FONT_FILE_TYPE_TYPE1_PFM, + DWRITE_FONT_FILE_TYPE_TYPE1_PFB, + DWRITE_FONT_FILE_TYPE_VECTOR, + DWRITE_FONT_FILE_TYPE_BITMAP, + DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION = DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION +} DWRITE_FONT_FILE_TYPE; + +typedef enum DWRITE_FONT_FACE_TYPE +{ + DWRITE_FONT_FACE_TYPE_CFF, + DWRITE_FONT_FACE_TYPE_TRUETYPE, + DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION, + DWRITE_FONT_FACE_TYPE_TYPE1, + DWRITE_FONT_FACE_TYPE_VECTOR, + DWRITE_FONT_FACE_TYPE_BITMAP, + DWRITE_FONT_FACE_TYPE_UNKNOWN, + DWRITE_FONT_FACE_TYPE_RAW_CFF, + DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION = DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION +} DWRITE_FONT_FACE_TYPE; + +typedef enum DWRITE_FONT_WEIGHT +{ + DWRITE_FONT_WEIGHT_THIN = 100, + DWRITE_FONT_WEIGHT_EXTRA_LIGHT = 200, + DWRITE_FONT_WEIGHT_ULTRA_LIGHT = 200, + DWRITE_FONT_WEIGHT_LIGHT = 300, + DWRITE_FONT_WEIGHT_SEMI_LIGHT = 350, + DWRITE_FONT_WEIGHT_NORMAL = 400, + DWRITE_FONT_WEIGHT_REGULAR = 400, + DWRITE_FONT_WEIGHT_MEDIUM = 500, + DWRITE_FONT_WEIGHT_DEMI_BOLD = 600, + DWRITE_FONT_WEIGHT_SEMI_BOLD = 600, + DWRITE_FONT_WEIGHT_BOLD = 700, + DWRITE_FONT_WEIGHT_EXTRA_BOLD = 800, + DWRITE_FONT_WEIGHT_ULTRA_BOLD = 800, + DWRITE_FONT_WEIGHT_BLACK = 900, + DWRITE_FONT_WEIGHT_HEAVY = 900, + DWRITE_FONT_WEIGHT_EXTRA_BLACK = 950, + DWRITE_FONT_WEIGHT_ULTRA_BLACK = 950 +} DWRITE_FONT_WEIGHT; + +typedef enum DWRITE_FONT_STRETCH +{ + DWRITE_FONT_STRETCH_UNDEFINED = 0, + DWRITE_FONT_STRETCH_ULTRA_CONDENSED = 1, + DWRITE_FONT_STRETCH_EXTRA_CONDENSED = 2, + DWRITE_FONT_STRETCH_CONDENSED = 3, + DWRITE_FONT_STRETCH_SEMI_CONDENSED = 4, + DWRITE_FONT_STRETCH_NORMAL = 5, + DWRITE_FONT_STRETCH_MEDIUM = 5, + DWRITE_FONT_STRETCH_SEMI_EXPANDED = 6, + DWRITE_FONT_STRETCH_EXPANDED = 7, + DWRITE_FONT_STRETCH_EXTRA_EXPANDED = 8, + DWRITE_FONT_STRETCH_ULTRA_EXPANDED = 9 +} DWRITE_FONT_STRETCH; + +typedef enum DWRITE_FONT_STYLE +{ + DWRITE_FONT_STYLE_NORMAL, + DWRITE_FONT_STYLE_OBLIQUE, + DWRITE_FONT_STYLE_ITALIC +} DWRITE_FONT_STYLE; + +typedef enum DWRITE_INFORMATIONAL_STRING_ID +{ + DWRITE_INFORMATIONAL_STRING_NONE, + DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE, + DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS, + DWRITE_INFORMATIONAL_STRING_TRADEMARK, + DWRITE_INFORMATIONAL_STRING_MANUFACTURER, + DWRITE_INFORMATIONAL_STRING_DESIGNER, + DWRITE_INFORMATIONAL_STRING_DESIGNER_URL, + DWRITE_INFORMATIONAL_STRING_DESCRIPTION, + DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL, + DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION, + DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL, + DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES, + DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES, + DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES, + DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES, + DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT, + DWRITE_INFORMATIONAL_STRING_FULL_NAME, + DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME, + DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME +} DWRITE_INFORMATIONAL_STRING_ID; + +typedef enum DWRITE_FONT_SIMULATIONS +{ + DWRITE_FONT_SIMULATIONS_NONE, + DWRITE_FONT_SIMULATIONS_BOLD, + DWRITE_FONT_SIMULATIONS_OBLIQUE +} DWRITE_FONT_SIMULATIONS; + +typedef enum DWRITE_PIXEL_GEOMETRY +{ + DWRITE_PIXEL_GEOMETRY_FLAT, + DWRITE_PIXEL_GEOMETRY_RGB, + DWRITE_PIXEL_GEOMETRY_BGR +} DWRITE_PIXEL_GEOMETRY; + +typedef enum DWRITE_RENDERING_MODE +{ + DWRITE_RENDERING_MODE_DEFAULT, + DWRITE_RENDERING_MODE_ALIASED, + DWRITE_RENDERING_MODE_GDI_CLASSIC, + DWRITE_RENDERING_MODE_GDI_NATURAL, + DWRITE_RENDERING_MODE_NATURAL, + DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC, + DWRITE_RENDERING_MODE_OUTLINE, + DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC = DWRITE_RENDERING_MODE_GDI_CLASSIC, + DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL = DWRITE_RENDERING_MODE_GDI_NATURAL, + DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL = DWRITE_RENDERING_MODE_NATURAL, + DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC = DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC +} DWRITE_RENDERING_MODE; + +typedef enum DWRITE_TEXT_ALIGNMENT +{ + DWRITE_TEXT_ALIGNMENT_LEADING, + DWRITE_TEXT_ALIGNMENT_TRAILING, + DWRITE_TEXT_ALIGNMENT_CENTER, + DWRITE_TEXT_ALIGNMENT_JUSTIFIED +} DWRITE_TEXT_ALIGNMENT; + +typedef enum DWRITE_PARAGRAPH_ALIGNMENT +{ + DWRITE_PARAGRAPH_ALIGNMENT_NEAR, + DWRITE_PARAGRAPH_ALIGNMENT_FAR, + DWRITE_PARAGRAPH_ALIGNMENT_CENTER +} DWRITE_PARAGRAPH_ALIGNMENT; + +typedef enum DWRITE_WORD_WRAPPING +{ + DWRITE_WORD_WRAPPING_WRAP, + DWRITE_WORD_WRAPPING_NO_WRAP, + DWRITE_WORD_WRAPPING_EMERGENCY_BREAK, + DWRITE_WORD_WRAPPING_WHOLE_WORD, + DWRITE_WORD_WRAPPING_CHARACTER +} DWRITE_WORD_WRAPPING; + +typedef enum DWRITE_READING_DIRECTION +{ + DWRITE_READING_DIRECTION_LEFT_TO_RIGHT, + DWRITE_READING_DIRECTION_RIGHT_TO_LEFT, + DWRITE_READING_DIRECTION_TOP_TO_BOTTOM, + DWRITE_READING_DIRECTION_BOTTOM_TO_TOP +} DWRITE_READING_DIRECTION; + +typedef enum DWRITE_FLOW_DIRECTION +{ + DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM, + DWRITE_FLOW_DIRECTION_BOTTOM_TO_TOP, + DWRITE_FLOW_DIRECTION_LEFT_TO_RIGHT, + DWRITE_FLOW_DIRECTION_RIGHT_TO_LEFT +} DWRITE_FLOW_DIRECTION; + +typedef enum DWRITE_TRIMMING_GRANULARITY +{ + DWRITE_TRIMMING_GRANULARITY_NONE, + DWRITE_TRIMMING_GRANULARITY_CHARACTER, + DWRITE_TRIMMING_GRANULARITY_WORD +} DWRITE_TRIMMING_GRANULARITY; + +typedef enum DWRITE_BREAK_CONDITION +{ + DWRITE_BREAK_CONDITION_NEUTRAL, + DWRITE_BREAK_CONDITION_CAN_BREAK, + DWRITE_BREAK_CONDITION_MAY_NOT_BREAK, + DWRITE_BREAK_CONDITION_MUST_BREAK +} DWRITE_BREAK_CONDITION; + +typedef enum DWRITE_LINE_SPACING_METHOD +{ + DWRITE_LINE_SPACING_METHOD_DEFAULT, + DWRITE_LINE_SPACING_METHOD_UNIFORM, + DWRITE_LINE_SPACING_METHOD_PROPORTIONAL +} DWRITE_LINE_SPACING_METHOD; + +cpp_quote("#define DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d) ( \\") +cpp_quote(" ((UINT32)(UINT8)(d) << 24) | \\") +cpp_quote(" ((UINT32)(UINT8)(c) << 16) | \\") +cpp_quote(" ((UINT32)(UINT8)(b) << 8) | \\") +cpp_quote(" (UINT32)(UINT8)(a))") + +typedef enum DWRITE_FONT_FEATURE_TAG +{ + DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS = 0x63726661, /* 'afrc' */ + DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS = 0x63703263, /* 'c2pc' */ + DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS = 0x63733263, /* 'c2sc' */ + DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES = 0x746c6163, /* 'calt' */ + DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS = 0x65736163, /* 'case' */ + DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION = 0x706d6363, /* 'ccmp' */ + DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES = 0x67696c63, /* 'clig' */ + DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING = 0x70737063, /* 'cpsp' */ + DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH = 0x68777363, /* 'cswh' */ + DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING = 0x73727563, /* 'curs' */ + DWRITE_FONT_FEATURE_TAG_DEFAULT = 0x746c6664, /* 'dflt' */ + DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES = 0x67696c64, /* 'dlig' */ + DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS = 0x74707865, /* 'expt' */ + DWRITE_FONT_FEATURE_TAG_FRACTIONS = 0x63617266, /* 'frac' */ + DWRITE_FONT_FEATURE_TAG_FULL_WIDTH = 0x64697766, /* 'fwid' */ + DWRITE_FONT_FEATURE_TAG_HALF_FORMS = 0x666c6168, /* 'half' */ + DWRITE_FONT_FEATURE_TAG_HALANT_FORMS = 0x6e6c6168, /* 'haln' */ + DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH = 0x746c6168, /* 'halt' */ + DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS = 0x74736968, /* 'hist' */ + DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES = 0x616e6b68, /* 'hkna' */ + DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES = 0x67696c68, /* 'hlig' */ + DWRITE_FONT_FEATURE_TAG_HALF_WIDTH = 0x64697768, /* 'hwid' */ + DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS = 0x6f6a6f68, /* 'hojo' */ + DWRITE_FONT_FEATURE_TAG_JIS04_FORMS = 0x3430706a, /* 'jp04' */ + DWRITE_FONT_FEATURE_TAG_JIS78_FORMS = 0x3837706a, /* 'jp78' */ + DWRITE_FONT_FEATURE_TAG_JIS83_FORMS = 0x3338706a, /* 'jp83' */ + DWRITE_FONT_FEATURE_TAG_JIS90_FORMS = 0x3039706a, /* 'jp90' */ + DWRITE_FONT_FEATURE_TAG_KERNING = 0x6e72656b, /* 'kern' */ + DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES = 0x6167696c, /* 'liga' */ + DWRITE_FONT_FEATURE_TAG_LINING_FIGURES = 0x6d756e6c, /* 'lnum' */ + DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS = 0x6c636f6c, /* 'locl' */ + DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING = 0x6b72616d, /* 'mark' */ + DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK = 0x6b72676d, /* 'mgrk' */ + DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING = 0x6b6d6b6d, /* 'mkmk' */ + DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS = 0x746c616e, /* 'nalt' */ + DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS = 0x6b636c6e, /* 'nlck' */ + DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES = 0x6d756e6f, /* 'onum' */ + DWRITE_FONT_FEATURE_TAG_ORDINALS = 0x6e64726f, /* 'ordn' */ + DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH = 0x746c6170, /* 'palt' */ + DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS = 0x70616370, /* 'pcap' */ + DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES = 0x6d756e70, /* 'pnum' */ + DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS = 0x64697770, /* 'pwid' */ + DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS = 0x64697771, /* 'qwid' */ + DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES = 0x67696c72, /* 'rlig' */ + DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS = 0x79627572, /* 'ruby' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES = 0x746c6173, /* 'salt' */ + DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS = 0x666e6973, /* 'sinf' */ + DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS = 0x70636d73, /* 'smcp' */ + DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS = 0x6c706d73, /* 'smpl' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1 = 0x31307373, /* 'ss01' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2 = 0x32307373, /* 'ss02' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3 = 0x33307373, /* 'ss03' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4 = 0x34307373, /* 'ss04' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5 = 0x35307373, /* 'ss05' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6 = 0x36307373, /* 'ss06' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7 = 0x37307373, /* 'ss07' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8 = 0x38307373, /* 'ss08' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9 = 0x39307373, /* 'ss09' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10 = 0x30317373, /* 'ss10' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11 = 0x31317373, /* 'ss11' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12 = 0x32317373, /* 'ss12' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13 = 0x33317373, /* 'ss13' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14 = 0x34317373, /* 'ss14' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15 = 0x35317373, /* 'ss15' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16 = 0x36317373, /* 'ss16' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17 = 0x37317373, /* 'ss17' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18 = 0x38317373, /* 'ss18' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19 = 0x39317373, /* 'ss19' */ + DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20 = 0x30327373, /* 'ss20' */ + DWRITE_FONT_FEATURE_TAG_SUBSCRIPT = 0x73627573, /* 'subs' */ + DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT = 0x73707573, /* 'sups' */ + DWRITE_FONT_FEATURE_TAG_SWASH = 0x68737773, /* 'swsh' */ + DWRITE_FONT_FEATURE_TAG_TITLING = 0x6c746974, /* 'titl' */ + DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS = 0x6d616e74, /* 'tnam' */ + DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES = 0x6d756e74, /* 'tnum' */ + DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS = 0x64617274, /* 'trad' */ + DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS = 0x64697774, /* 'twid' */ + DWRITE_FONT_FEATURE_TAG_UNICASE = 0x63696e75, /* 'unic' */ + DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING = 0x74726576, /* 'vert' */ + DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION= 0x32747276, /* 'vrt2' */ + DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO = 0x6f72657a, /* 'zero' */ +} DWRITE_FONT_FEATURE_TAG; + +typedef enum DWRITE_SCRIPT_SHAPES +{ + DWRITE_SCRIPT_SHAPES_DEFAULT = 0, + DWRITE_SCRIPT_SHAPES_NO_VISUAL = 1 +} DWRITE_SCRIPT_SHAPES; + +typedef enum DWRITE_NUMBER_SUBSTITUTION_METHOD +{ + DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE, + DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL, + DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE, + DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL, + DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL +} DWRITE_NUMBER_SUBSTITUTION_METHOD; + +cpp_quote("#define DWRITE_ALPHA_MAX 255") + +typedef enum DWRITE_TEXTURE_TYPE +{ + DWRITE_TEXTURE_ALIASED_1x1, + DWRITE_TEXTURE_CLEARTYPE_3x1 +} DWRITE_TEXTURE_TYPE; + +typedef struct DWRITE_FONT_METRICS +{ + UINT16 designUnitsPerEm; + UINT16 ascent; + UINT16 descent; + INT16 lineGap; + UINT16 capHeight; + UINT16 xHeight; + INT16 underlinePosition; + UINT16 underlineThickness; + INT16 strikethroughPosition; + UINT16 strikethroughThickness; +} DWRITE_FONT_METRICS; + +typedef struct DWRITE_GLYPH_METRICS +{ + INT32 leftSideBearing; + UINT32 advanceWidth; + INT32 rightSideBearing; + INT32 topSideBearing; + UINT32 advanceHeight; + INT32 bottomSideBearing; + INT32 verticalOriginY; +} DWRITE_GLYPH_METRICS; + +typedef struct DWRITE_GLYPH_OFFSET +{ + FLOAT advanceOffset; + FLOAT ascenderOffset; +} DWRITE_GLYPH_OFFSET; + +typedef struct DWRITE_MATRIX +{ + FLOAT m11; + FLOAT m12; + FLOAT m21; + FLOAT m22; + FLOAT dx; + FLOAT dy; +} DWRITE_MATRIX; + +typedef struct DWRITE_TRIMMING +{ + DWRITE_TRIMMING_GRANULARITY granularity; + UINT32 delimiter; + UINT32 delimiterCount; +} DWRITE_TRIMMING; + +cpp_quote("#ifndef __d2d1_h__") +typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN; +cpp_quote("#endif /* __d2d1_h__ */") + +struct DWRITE_GLYPH_RUN +{ + IDWriteFontFace* fontFace; + FLOAT fontEmSize; + UINT32 glyphCount; + UINT16 const* glyphIndices; + FLOAT const* glyphAdvances; + DWRITE_GLYPH_OFFSET const* glyphOffsets; + BOOL isSideways; + UINT32 bidiLevel; +}; + +typedef struct DWRITE_GLYPH_RUN_DESCRIPTION +{ + WCHAR const* localeName; + WCHAR const* string; + UINT32 stringLength; + UINT16 const* clusterMap; + UINT32 textPosition; +} DWRITE_GLYPH_RUN_DESCRIPTION; + +typedef struct DWRITE_UNDERLINE +{ + FLOAT width; + FLOAT thickness; + FLOAT offset; + FLOAT runHeight; + DWRITE_READING_DIRECTION readingDirection; + DWRITE_FLOW_DIRECTION flowDirection; + WCHAR const* localeName; + DWRITE_MEASURING_MODE measuringMode; +} DWRITE_UNDERLINE; + +typedef struct DWRITE_STRIKETHROUGH +{ + FLOAT width; + FLOAT thickness; + FLOAT offset; + DWRITE_READING_DIRECTION readingDirection; + DWRITE_FLOW_DIRECTION flowDirection; + WCHAR const* localeName; + DWRITE_MEASURING_MODE measuringMode; +} DWRITE_STRIKETHROUGH; + +typedef struct DWRITE_INLINE_OBJECT_METRICS +{ + FLOAT width; + FLOAT height; + FLOAT baseline; + BOOL supportsSideways; +} DWRITE_INLINE_OBJECT_METRICS; + +typedef struct DWRITE_OVERHANG_METRICS +{ + FLOAT left; + FLOAT top; + FLOAT right; + FLOAT bottom; +} DWRITE_OVERHANG_METRICS; + +typedef struct DWRITE_FONT_FEATURE +{ + DWRITE_FONT_FEATURE_TAG nameTag; + UINT32 parameter; +} DWRITE_FONT_FEATURE; + +typedef struct DWRITE_TEXT_RANGE +{ + UINT32 startPosition; + UINT32 length; +} DWRITE_TEXT_RANGE; + +typedef struct DWRITE_LINE_METRICS +{ + UINT32 length; + UINT32 trailingWhitespaceLength; + UINT32 newlineLength; + FLOAT height; + FLOAT baseline; + BOOL isTrimmed; +} DWRITE_LINE_METRICS; + +typedef struct DWRITE_TEXT_METRICS +{ + FLOAT left; + FLOAT top; + FLOAT width; + FLOAT widthIncludingTrailingWhitespace; + FLOAT height; + FLOAT layoutWidth; + FLOAT layoutHeight; + UINT32 maxBidiReorderingDepth; + UINT32 lineCount; +} DWRITE_TEXT_METRICS; + +typedef struct DWRITE_CLUSTER_METRICS +{ + FLOAT width; + UINT16 length; + UINT16 canWrapLineAfter : 1; + UINT16 isWhitespace : 1; + UINT16 isNewline : 1; + UINT16 isSoftHyphen : 1; + UINT16 isRightToLeft : 1; + UINT16 padding : 11; +} DWRITE_CLUSTER_METRICS; + +typedef struct DWRITE_HIT_TEST_METRICS +{ + UINT32 textPosition; + UINT32 length; + FLOAT left; + FLOAT top; + FLOAT width; + FLOAT height; + UINT32 bidiLevel; + BOOL isText; + BOOL isTrimmed; +} DWRITE_HIT_TEST_METRICS; + +typedef struct DWRITE_SCRIPT_ANALYSIS +{ + UINT16 script; + DWRITE_SCRIPT_SHAPES shapes; +} DWRITE_SCRIPT_ANALYSIS; + +typedef struct DWRITE_LINE_BREAKPOINT +{ + UINT8 breakConditionBefore : 2; + UINT8 breakConditionAfter : 2; + UINT8 isWhitespace : 1; + UINT8 isSoftHyphen : 1; + UINT8 padding : 2; +} DWRITE_LINE_BREAKPOINT; + +typedef struct DWRITE_TYPOGRAPHIC_FEATURES +{ + DWRITE_FONT_FEATURE* features; + UINT32 featureCount; +} DWRITE_TYPOGRAPHIC_FEATURES; + +typedef struct DWRITE_SHAPING_TEXT_PROPERTIES +{ + UINT16 isShapedAlone : 1; + UINT16 reserved : 15; +} DWRITE_SHAPING_TEXT_PROPERTIES; + +typedef struct DWRITE_SHAPING_GLYPH_PROPERTIES +{ + UINT16 justification : 4; + UINT16 isClusterStart : 1; + UINT16 isDiacritic : 1; + UINT16 isZeroWidthSpace : 1; + UINT16 reserved : 9; +} DWRITE_SHAPING_GLYPH_PROPERTIES; + +[ +local, +object, +uuid(6d4865fe-0ab8-4d91-8f62-5dd6be34a3e0) +] +interface IDWriteFontFileStream : IUnknown +{ + HRESULT ReadFileFragment( + void const **fragment_start, + UINT64 offset, + UINT64 fragment_size, + void **fragment_context); + + void ReleaseFileFragment(void *fragment_context); + HRESULT GetFileSize(UINT64 *size); + HRESULT GetLastWriteTime(UINT64 *last_writetime); +} + +[ +local, +object, +uuid(727cad4e-d6af-4c9e-8a08-d695b11caa49) +] +interface IDWriteFontFileLoader : IUnknown +{ + HRESULT CreateStreamFromKey( + void const *key, + UINT32 key_size, + IDWriteFontFileStream **stream); +} + +[ +local, +object, +uuid(b2d9f3ec-c9fe-4a11-a2ec-d86208f7c0a2) +] +interface IDWriteLocalFontFileLoader : IDWriteFontFileLoader +{ + HRESULT GetFilePathLengthFromKey(void const *key, UINT32 key_size, UINT32 *length); + HRESULT GetFilePathFromKey(void const *key, UINT32 key_size, WCHAR *path, UINT32 length); + HRESULT GetLastWriteTimeFromKey(void const *key, UINT32 key_size, FILETIME *writetime); +} + +[ +local, +object, +uuid(739d886a-cef5-47dc-8769-1a8b41bebbb0) +] +interface IDWriteFontFile : IUnknown +{ + HRESULT GetReferenceKey( + void const **key, + UINT32 *key_size); + + HRESULT GetLoader(IDWriteFontFileLoader **loader); + + HRESULT Analyze( + BOOL *is_supported_fonttype, + DWRITE_FONT_FILE_TYPE *file_type, + DWRITE_FONT_FACE_TYPE *face_type, + UINT32 *faces_num); +} + +[ +local, +object, +uuid(72755049-5ff7-435d-8348-4be97cfa6c7c) +] +interface IDWriteFontFileEnumerator : IUnknown +{ + HRESULT MoveNext(BOOL *has_current_file); + HRESULT GetCurrentFontFile(IDWriteFontFile **font_file); +}; + +[ +local, +object, +uuid(cca920e4-52f0-492b-bfa8-29c72ee0a468) +] +interface IDWriteFontCollectionLoader : IUnknown +{ + HRESULT CreateEnumeratorFromKey( + IDWriteFactory* factory, + void const* key, + UINT32 key_size, + IDWriteFontFileEnumerator **enumerator); +} + +[ +local, +object, +uuid(08256209-099a-4b34-b86d-c22b110e7771) +] +interface IDWriteLocalizedStrings : IUnknown +{ + UINT32 GetCount(); + + HRESULT FindLocaleName( + WCHAR const *locale_name, + UINT32 *index, + BOOL *exists); + + HRESULT GetLocaleNameLength(UINT32 index, UINT32 *length); + HRESULT GetLocaleName(UINT32 index, WCHAR *locale_name, UINT32 size); + HRESULT GetStringLength(UINT32 index, UINT32 *length); + HRESULT GetString(UINT32 index, WCHAR *buffer, UINT32 size); +} + +[ +local, +object, +uuid(2f0da53a-2add-47cd-82ee-d9ec34688e75) +] +interface IDWriteRenderingParams : IUnknown +{ + FLOAT GetGamma(); + FLOAT GetEnhancedContrast(); + FLOAT GetClearTypeLevel(); + DWRITE_PIXEL_GEOMETRY GetPixelGeometry(); + DWRITE_RENDERING_MODE GetRenderingMode(); +} + +[ +local, +object, +uuid(5f49804d-7024-4d43-bfa9-d25984f53849) +] +interface IDWriteFontFace : IUnknown +{ + DWRITE_FONT_FACE_TYPE GetType(); + HRESULT GetFiles(UINT32 *number_of_files, IDWriteFontFile **fontfiles); + UINT32 GetIndex(); + DWRITE_FONT_SIMULATIONS GetSimulations(); + BOOL IsSymbolFont(); + void GetMetrics(DWRITE_FONT_METRICS *metrics); + UINT16 GetGlyphCount(); + + HRESULT GetDesignGlyphMetrics( + UINT16 const *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + [defaultvalue(FALSE)] BOOL is_sideways); + + HRESULT GetGlyphIndices( + UINT32 const *codepoints, + UINT32 count, + UINT16 *glyph_indices); + + HRESULT TryGetFontTable( + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists); + + void ReleaseFontTable(void *table_context); + + HRESULT GetGlyphRunOutline( + FLOAT emSize, + UINT16 const *glyph_indices, + FLOAT const* glyph_advances, + DWRITE_GLYPH_OFFSET const *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink); + + HRESULT GetRecommendedRenderingMode( + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams* params, + DWRITE_RENDERING_MODE* rendering_mode); + + HRESULT GetGdiCompatibleMetrics( + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MATRIX const *transform, + DWRITE_FONT_METRICS *metrics); + + HRESULT GetGdiCompatibleGlyphMetrics( + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MATRIX const *transform, + BOOL use_gdi_natural, + UINT16 const *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + [defaultvalue(FALSE)] BOOL is_sideways); +} + +[ +local, +object, +uuid(acd16696-8c14-4f5d-877e-fe3fc1d32737) +] +interface IDWriteFont : IUnknown +{ + HRESULT GetFontFamily(IDWriteFontFamily **family); + DWRITE_FONT_WEIGHT GetWeight(); + DWRITE_FONT_STRETCH GetStretch(); + DWRITE_FONT_STYLE GetStyle(); + BOOL IsSymbolFont(); + + HRESULT GetFaceNames(IDWriteLocalizedStrings **names); + HRESULT GetInformationalStrings( + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + DWRITE_FONT_SIMULATIONS GetSimulations(); + void GetMetrics(DWRITE_FONT_METRICS *metrics); + HRESULT HasCharacter(UINT32 value, BOOL *exists); + HRESULT CreateFontFace(IDWriteFontFace **face); +} + +[ +local, +object, +uuid(1a0d8438-1d97-4ec1-aef9-a2fb86ed6acb) +] +interface IDWriteFontList : IUnknown +{ + HRESULT GetFontCollection(IDWriteFontCollection **collection); + UINT32 GetFontCount(); + HRESULT GetFont(UINT32 index, IDWriteFont **font); +} + +[ +local, +object, +uuid(da20d8ef-812a-4c43-9802-62ec4abd7add) +] +interface IDWriteFontFamily : IDWriteFontList +{ + HRESULT GetFamilyNames(IDWriteLocalizedStrings **names); + + HRESULT GetFirstMatchingFont( + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFont **font); + + HRESULT GetMatchingFonts( + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFontList **fonts); +} + +[ +local, +object, +uuid(a84cee02-3eea-4eee-a827-87c1a02a0fcc) +] +interface IDWriteFontCollection : IUnknown +{ + UINT32 GetFontFamilyCount(); + HRESULT GetFontFamily(UINT32 index, IDWriteFontFamily **family); + HRESULT FindFamilyName(WCHAR const *name, UINT32 *index, BOOL *exists); + HRESULT GetFontFromFontFace(IDWriteFontFace *face, IDWriteFont **font); +} + +[ +local, +object, +uuid(eaf3a2da-ecf4-4d24-b644-b34f6842024b) +] +interface IDWritePixelSnapping : IUnknown +{ + HRESULT IsPixelSnappingDisabled( + void *client_drawingcontext, + BOOL *disabled); + + HRESULT GetCurrentTransform( + void *client_drawingcontext, + DWRITE_MATRIX *transform); + + HRESULT GetPixelsPerDip( + void *client_drawingcontext, + FLOAT *pixels_per_dip); +} + +[ +local, +object, +uuid(ef8a8135-5cc6-45fe-8825-c5a0724eb819) +] +interface IDWriteTextRenderer : IDWritePixelSnapping +{ + HRESULT DrawGlyphRun( + void* client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE mode, + DWRITE_GLYPH_RUN const *glyph_run, + DWRITE_GLYPH_RUN_DESCRIPTION const *run_descr, + IUnknown *drawing_effect); + + HRESULT DrawUnderline( + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_UNDERLINE const* underline, + IUnknown *drawing_effect); + + HRESULT DrawStrikethrough( + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_STRIKETHROUGH const* strikethrough, + IUnknown *drawing_effect); + + HRESULT DrawInlineObject( + void *client_drawingcontext, + FLOAT originX, + FLOAT originY, + IDWriteInlineObject *object, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect); +} + +[ +local, +object, +uuid(8339fde3-106f-47ab-8373-1c6295eb10b3) +] +interface IDWriteInlineObject : IUnknown +{ + HRESULT Draw( + void* client_drawingontext, + IDWriteTextRenderer* renderer, + FLOAT originX, + FLOAT originY, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect); + + HRESULT GetMetrics(DWRITE_INLINE_OBJECT_METRICS *metrics); + HRESULT GetOverhangMetrics(DWRITE_OVERHANG_METRICS *overhangs); + HRESULT GetBreakConditions( + DWRITE_BREAK_CONDITION* condition_before, + DWRITE_BREAK_CONDITION* condition_after); +} + +[ +local, +object, +uuid(9c906818-31d7-4fd3-a151-7c5e225db55a) +] +interface IDWriteTextFormat : IUnknown +{ + HRESULT SetTextAlignment(DWRITE_TEXT_ALIGNMENT alignment); + HRESULT SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT alignment); + HRESULT SetWordWrapping(DWRITE_WORD_WRAPPING wrapping); + HRESULT SetReadingDirection(DWRITE_READING_DIRECTION direction); + HRESULT SetFlowDirection(DWRITE_FLOW_DIRECTION direction); + HRESULT SetIncrementalTabStop(FLOAT tabstop); + HRESULT SetTrimming(DWRITE_TRIMMING const *trimming, IDWriteInlineObject *trimming_sign); + HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD spacing, FLOAT line_spacing, FLOAT baseline); + DWRITE_TEXT_ALIGNMENT GetTextAlignment(); + DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment(); + DWRITE_WORD_WRAPPING GetWordWrapping(); + DWRITE_READING_DIRECTION GetReadingDirection(); + DWRITE_FLOW_DIRECTION GetFlowDirection(); + FLOAT GetIncrementalTabStop(); + HRESULT GetTrimming(DWRITE_TRIMMING *options, IDWriteInlineObject **trimming_sign); + + HRESULT GetLineSpacing( + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT GetFontCollection(IDWriteFontCollection **collection); + UINT32 GetFontFamilyNameLength(); + HRESULT GetFontFamilyName(WCHAR *name, UINT32 size); + DWRITE_FONT_WEIGHT GetFontWeight(); + DWRITE_FONT_STYLE GetFontStyle(); + DWRITE_FONT_STRETCH GetFontStretch(); + FLOAT GetFontSize(); + UINT32 GetLocaleNameLength(); + HRESULT GetLocaleName(WCHAR *name, UINT32 size); +} + +[ +local, +object, +uuid(55f1112b-1dc2-4b3c-9541-f46894ed85b6) +] +interface IDWriteTypography : IUnknown +{ + HRESULT AddFontFeature(DWRITE_FONT_FEATURE feature); + UINT32 GetFontFeatureCount(); + HRESULT GetFontFeature(UINT32 index, DWRITE_FONT_FEATURE *feature); +} + +[ +local, +object, +uuid(5e5a32a3-8dff-4773-9ff6-0696eab77267) +] +interface IDWriteBitmapRenderTarget : IUnknown +{ + HRESULT DrawGlyphRun( + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_GLYPH_RUN const* glyph_run, + IDWriteRenderingParams* params, + COLORREF textColor, + [defaultvalue(NULL)] RECT *blackbox_rect); + + HDC GetMemoryDC(); + FLOAT GetPixelsPerDip(); + HRESULT SetPixelsPerDip(FLOAT pixels_per_dip); + HRESULT GetCurrentTransform(DWRITE_MATRIX *transform); + HRESULT SetCurrentTransform(DWRITE_MATRIX const *transform); + HRESULT GetSize(SIZE *size); + HRESULT Resize(UINT32 width, UINT32 height); +} + +cpp_quote("#ifndef _WINGDI_") +/* already defined in wingdi.h but needed for WIDL */ +#define LF_FACESIZE 32 + + typedef struct tagLOGFONTW + { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + WCHAR lfFaceName[LF_FACESIZE]; + } LOGFONTW, *PLOGFONTW, *LPLOGFONTW; +cpp_quote("#endif /* _WINGDI_ */") + +[ +local, +object, +uuid(1edd9491-9853-4299-898f-6432983b6f3a) +] +interface IDWriteGdiInterop : IUnknown +{ + HRESULT CreateFontFromLOGFONT(LOGFONTW const *logfont, IDWriteFont **font); + HRESULT ConvertFontToLOGFONT( + IDWriteFont* font, + LOGFONTW* logfont, + BOOL *is_systemfont); + + HRESULT ConvertFontFaceToLOGFONT(IDWriteFontFace* font, LOGFONTW* logfont); + HRESULT CreateFontFaceFromHdc(HDC hdc, IDWriteFontFace **fontface); + HRESULT CreateBitmapRenderTarget(HDC hdc, UINT32 width, UINT32 height, IDWriteBitmapRenderTarget **target); +} + +[ +local, +object, +uuid(53737037-6d14-410b-9bfe-0b182bb70961) +] +interface IDWriteTextLayout : IDWriteTextFormat +{ + HRESULT SetMaxWidth(FLOAT maxWidth); + HRESULT SetMaxHeight(FLOAT maxHeight); + HRESULT SetFontCollection(IDWriteFontCollection* collection, DWRITE_TEXT_RANGE range); + HRESULT SetFontFamilyName(WCHAR const *name, DWRITE_TEXT_RANGE range); + HRESULT SetFontWeight(DWRITE_FONT_WEIGHT weight, DWRITE_TEXT_RANGE range); + HRESULT SetFontStyle(DWRITE_FONT_STYLE style, DWRITE_TEXT_RANGE range); + HRESULT SetFontStretch(DWRITE_FONT_STRETCH stretch, DWRITE_TEXT_RANGE range); + HRESULT SetFontSize(FLOAT size, DWRITE_TEXT_RANGE range); + HRESULT SetUnderline(BOOL underline, DWRITE_TEXT_RANGE range); + HRESULT SetStrikethrough(BOOL strikethrough, DWRITE_TEXT_RANGE range); + HRESULT SetDrawingEffect(IUnknown* effect, DWRITE_TEXT_RANGE range); + HRESULT SetInlineObject(IDWriteInlineObject *object, DWRITE_TEXT_RANGE range); + HRESULT SetTypography(IDWriteTypography* typography, DWRITE_TEXT_RANGE range); + HRESULT SetLocaleName(WCHAR const* locale, DWRITE_TEXT_RANGE range); + + FLOAT GetMaxWidth(); + FLOAT GetMaxHeight(); + HRESULT GetFontCollection( + UINT32 pos, + IDWriteFontCollection** collection, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetFontFamilyNameLength( + UINT32 pos, + UINT32* len, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetFontFamilyName( + UINT32 position, + WCHAR* name, + UINT32 name_size, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetFontWeight( + UINT32 position, + DWRITE_FONT_WEIGHT *weight, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetFontStyle( + UINT32 currentPosition, + DWRITE_FONT_STYLE *style, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetFontStretch( + UINT32 position, + DWRITE_FONT_STRETCH *stretch, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetFontSize( + UINT32 position, + FLOAT *size, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetUnderline( + UINT32 position, + BOOL *has_underline, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetStrikethrough( + UINT32 position, + BOOL *has_strikethrough, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetDrawingEffect( + UINT32 position, + IUnknown **effect, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetInlineObject( + UINT32 position, + IDWriteInlineObject **object, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetTypography( + UINT32 position, + IDWriteTypography** typography, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetLocaleNameLength( + UINT32 position, + UINT32* length, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT GetLocaleName( + UINT32 position, + WCHAR* name, + UINT32 name_size, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); + + HRESULT Draw( + void *context, + IDWriteTextRenderer* renderer, + FLOAT originX, + FLOAT originY); + + HRESULT GetLineMetrics( + DWRITE_LINE_METRICS *metrics, + UINT32 max_count, + UINT32 *actual_count); + + HRESULT GetMetrics(DWRITE_TEXT_METRICS *metrics); + HRESULT GetOverhangMetrics(DWRITE_OVERHANG_METRICS *overhangs); + HRESULT GetClusterMetrics( + DWRITE_CLUSTER_METRICS *metrics, + UINT32 max_count, + UINT32* act_count); + + HRESULT DetermineMinWidth(FLOAT* min_width); + HRESULT HitTestPoint( + FLOAT pointX, + FLOAT pointY, + BOOL* is_trailinghit, + BOOL* is_inside, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT HitTestTextPosition( + UINT32 textPosition, + BOOL is_trailinghit, + FLOAT* pointX, + FLOAT* pointY, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT HitTestTextRange( + UINT32 textPosition, + UINT32 textLength, + FLOAT originX, + FLOAT originY, + DWRITE_HIT_TEST_METRICS *metrics, + UINT32 max_metricscount, + UINT32* actual_metricscount); +} + +[ +local, +object, +uuid(14885cc9-bab0-4f90-b6ed-5c366a2cd03d) +] +interface IDWriteNumberSubstitution : IUnknown +{ +} + +[ +local, +object, +uuid(688e1a58-5094-47c8-adc8-fbcea60ae92b) +] +interface IDWriteTextAnalysisSource : IUnknown +{ + HRESULT GetTextAtPosition( + UINT32 position, + WCHAR const** text, + UINT32* text_len); + + HRESULT GetTextBeforePosition( + UINT32 position, + WCHAR const** text, + UINT32* text_len); + + DWRITE_READING_DIRECTION GetParagraphReadingDirection(); + HRESULT GetLocaleName( + UINT32 position, + UINT32* text_len, + WCHAR const** locale); + + HRESULT GetNumberSubstitution( + UINT32 position, + UINT32* text_len, + IDWriteNumberSubstitution **substitution); +} + +[ +local, +object, +uuid(5810cd44-0ca0-4701-b3fa-bec5182ae4f6) +] +interface IDWriteTextAnalysisSink : IUnknown +{ + HRESULT SetScriptAnalysis( + UINT32 position, + UINT32 length, + DWRITE_SCRIPT_ANALYSIS const* scriptanalysis); + + HRESULT SetLineBreakpoints( + UINT32 position, + UINT32 length, + DWRITE_LINE_BREAKPOINT const* breakpoints); + + HRESULT SetBidiLevel( + UINT32 position, + UINT32 length, + UINT8 explicitLevel, + UINT8 resolvedLevel); + + HRESULT SetNumberSubstitution( + UINT32 position, + UINT32 length, + IDWriteNumberSubstitution* substitution); +} + +[ +local, +object, +uuid(b7e6163e-7f46-43b4-84b3-e4e6249c365d) +] +interface IDWriteTextAnalyzer : IUnknown +{ + HRESULT AnalyzeScript( + IDWriteTextAnalysisSource* source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink* sink); + + HRESULT AnalyzeBidi( + IDWriteTextAnalysisSource* source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink* sink); + + HRESULT AnalyzeNumberSubstitution( + IDWriteTextAnalysisSource* source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink* sink); + + HRESULT AnalyzeLineBreakpoints( + IDWriteTextAnalysisSource* source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink* sink); + + HRESULT GetGlyphs( + WCHAR const* text, + UINT32 length, + IDWriteFontFace* font_face, + BOOL is_sideways, + BOOL is_rtl, + DWRITE_SCRIPT_ANALYSIS const* analysis, + WCHAR const* locale, + IDWriteNumberSubstitution* substitution, + DWRITE_TYPOGRAPHIC_FEATURES const** features, + UINT32 const* feature_range_len, + UINT32 feature_ranges, + UINT32 max_glyph_count, + UINT16* clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES* text_props, + UINT16* glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES* glyph_props, + UINT32* actual_glyph_count); + + HRESULT GetGlyphPlacements( + WCHAR const* text, + UINT16 const* clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES* props, + UINT32 text_len, + UINT16 const* glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES const* glyph_props, + UINT32 glyph_count, + IDWriteFontFace * font_face, + FLOAT fontEmSize, + BOOL is_sideways, + BOOL is_rtl, + DWRITE_SCRIPT_ANALYSIS const* analysis, + WCHAR const* locale, + DWRITE_TYPOGRAPHIC_FEATURES const** features, + UINT32 const* feature_range_len, + UINT32 feature_ranges, + FLOAT* glyph_advances, + DWRITE_GLYPH_OFFSET* glyph_offsets); + + HRESULT GetGdiCompatibleGlyphPlacements( + WCHAR const* text, + UINT16 const* clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES* props, + UINT32 text_len, + UINT16 const* glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES const* glyph_props, + UINT32 glyph_count, + IDWriteFontFace * font_face, + FLOAT fontEmSize, + FLOAT pixels_per_dip, + DWRITE_MATRIX const* transform, + BOOL use_gdi_natural, + BOOL is_sideways, + BOOL is_rtl, + DWRITE_SCRIPT_ANALYSIS const* analysis, + WCHAR const* locale, + DWRITE_TYPOGRAPHIC_FEATURES const** features, + UINT32 const* feature_range_lengths, + UINT32 feature_ranges, + FLOAT* glyph_advances, + DWRITE_GLYPH_OFFSET* glyph_offsets); +} + +[ +local, +object, +uuid(7d97dbf7-e085-42d4-81e3-6a883bded118) +] +interface IDWriteGlyphRunAnalysis : IUnknown +{ + HRESULT GetAlphaTextureBounds(DWRITE_TEXTURE_TYPE type, RECT* bounds); + HRESULT CreateAlphaTexture(DWRITE_TEXTURE_TYPE type, RECT const* bounds, BYTE* alphaValues, UINT32 bufferSize); + HRESULT GetAlphaBlendParams( + IDWriteRenderingParams* renderingParams, + FLOAT* blendGamma, + FLOAT* blendEnhancedContrast, + FLOAT* blendClearTypeLevel); +} + +[ +local, +object, +uuid(b859ee5a-d838-4b5b-a2e8-1adc7d93db48) +] +interface IDWriteFactory : IUnknown +{ + HRESULT GetSystemFontCollection(IDWriteFontCollection **collection, + [defaultvalue(FALSE)] BOOL check_for_updates); + + HRESULT CreateCustomFontCollection( + IDWriteFontCollectionLoader *loader, + void const *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT RegisterFontCollectionLoader(IDWriteFontCollectionLoader *loader); + + HRESULT UnregisterFontCollectionLoader(IDWriteFontCollectionLoader *loader); + + HRESULT CreateFontFileReference( + WCHAR const *path, + FILETIME const *writetime, + IDWriteFontFile **font_file); + + HRESULT CreateCustomFontFileReference( + void const *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT CreateFontFace( + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile* const* font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT CreateRenderingParams(IDWriteRenderingParams **params); + + HRESULT CreateMonitorRenderingParams( + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT CreateCustomRenderingParams( + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT RegisterFontFileLoader(IDWriteFontFileLoader *loader); + + HRESULT UnregisterFontFileLoader(IDWriteFontFileLoader *loader); + + HRESULT CreateTextFormat( + WCHAR const* family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + WCHAR const *locale, + IDWriteTextFormat **format); + + HRESULT CreateTypography(IDWriteTypography **typography); + + HRESULT GetGdiInterop(IDWriteGdiInterop **gdi_interop); + + HRESULT CreateTextLayout( + WCHAR const* string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT CreateGdiCompatibleTextLayout( + WCHAR const* string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + DWRITE_MATRIX const* transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT CreateEllipsisTrimmingSign( + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT CreateTextAnalyzer(IDWriteTextAnalyzer **analyzer); + + HRESULT CreateNumberSubstitution( + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + WCHAR const* locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT CreateGlyphRunAnalysis( + DWRITE_GLYPH_RUN const *glyph_run, + FLOAT pixels_per_dip, + DWRITE_MATRIX const* transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); +} + +cpp_quote("HRESULT WINAPI DWriteCreateFactory(DWRITE_FACTORY_TYPE,REFIID,IUnknown**);") + +/* error codes */ +cpp_quote("#define FACILITY_DWRITE 0x898") +cpp_quote("#define DWRITE_ERR_BASE 0x5000") +cpp_quote("#define MAKE_DWRITE_HR(severity, code) MAKE_HRESULT(severity, FACILITY_DWRITE, (DWRITE_ERR_BASE + code))") +cpp_quote("#define MAKE_DWRITE_HR_ERR(code) MAKE_DWRITE_HR(SEVERITY_ERROR, code)") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_1.h new file mode 100644 index 0000000..a5c57ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_1.h @@ -0,0 +1,3122 @@ +/*** Autogenerated by WIDL 2.18 from dwrite_1.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dwrite_1_h__ +#define __dwrite_1_h__ + +/* Forward declarations */ + +#ifndef __IDWriteFactory1_FWD_DEFINED__ +#define __IDWriteFactory1_FWD_DEFINED__ +typedef interface IDWriteFactory1 IDWriteFactory1; +#ifdef __cplusplus +interface IDWriteFactory1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace1_FWD_DEFINED__ +#define __IDWriteFontFace1_FWD_DEFINED__ +typedef interface IDWriteFontFace1 IDWriteFontFace1; +#ifdef __cplusplus +interface IDWriteFontFace1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFont1_FWD_DEFINED__ +#define __IDWriteFont1_FWD_DEFINED__ +typedef interface IDWriteFont1 IDWriteFont1; +#ifdef __cplusplus +interface IDWriteFont1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRenderingParams1_FWD_DEFINED__ +#define __IDWriteRenderingParams1_FWD_DEFINED__ +typedef interface IDWriteRenderingParams1 IDWriteRenderingParams1; +#ifdef __cplusplus +interface IDWriteRenderingParams1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalyzer1_FWD_DEFINED__ +#define __IDWriteTextAnalyzer1_FWD_DEFINED__ +typedef interface IDWriteTextAnalyzer1 IDWriteTextAnalyzer1; +#ifdef __cplusplus +interface IDWriteTextAnalyzer1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalysisSource1_FWD_DEFINED__ +#define __IDWriteTextAnalysisSource1_FWD_DEFINED__ +typedef interface IDWriteTextAnalysisSource1 IDWriteTextAnalysisSource1; +#ifdef __cplusplus +interface IDWriteTextAnalysisSource1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalysisSink1_FWD_DEFINED__ +#define __IDWriteTextAnalysisSink1_FWD_DEFINED__ +typedef interface IDWriteTextAnalysisSink1 IDWriteTextAnalysisSink1; +#ifdef __cplusplus +interface IDWriteTextAnalysisSink1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextLayout1_FWD_DEFINED__ +#define __IDWriteTextLayout1_FWD_DEFINED__ +typedef interface IDWriteTextLayout1 IDWriteTextLayout1; +#ifdef __cplusplus +interface IDWriteTextLayout1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteBitmapRenderTarget1_FWD_DEFINED__ +#define __IDWriteBitmapRenderTarget1_FWD_DEFINED__ +typedef interface IDWriteBitmapRenderTarget1 IDWriteBitmapRenderTarget1; +#ifdef __cplusplus +interface IDWriteBitmapRenderTarget1; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum DWRITE_PANOSE_FAMILY { + DWRITE_PANOSE_FAMILY_ANY = 0, + DWRITE_PANOSE_FAMILY_NO_FIT = 1, + DWRITE_PANOSE_FAMILY_TEXT_DISPLAY = 2, + DWRITE_PANOSE_FAMILY_SCRIPT = 3, + DWRITE_PANOSE_FAMILY_DECORATIVE = 4, + DWRITE_PANOSE_FAMILY_SYMBOL = 5, + DWRITE_PANOSE_FAMILY_PICTORIAL = DWRITE_PANOSE_FAMILY_SYMBOL +} DWRITE_PANOSE_FAMILY; +typedef enum DWRITE_PANOSE_SERIF_STYLE { + DWRITE_PANOSE_SERIF_STYLE_ANY = 0, + DWRITE_PANOSE_SERIF_STYLE_NO_FIT = 1, + DWRITE_PANOSE_SERIF_STYLE_COVE = 2, + DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE = 3, + DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE = 4, + DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE = 5, + DWRITE_PANOSE_SERIF_STYLE_SQUARE = 6, + DWRITE_PANOSE_SERIF_STYLE_THIN = 7, + DWRITE_PANOSE_SERIF_STYLE_OVAL = 8, + DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED = 9, + DWRITE_PANOSE_SERIF_STYLE_TRIANGLE = 10, + DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS = 11, + DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS = 12, + DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS = 13, + DWRITE_PANOSE_SERIF_STYLE_FLARED = 14, + DWRITE_PANOSE_SERIF_STYLE_ROUNDED = 15, + DWRITE_PANOSE_SERIF_STYLE_SCRIPT = 16, + DWRITE_PANOSE_SERIF_STYLE_PERP_SANS = DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS, + DWRITE_PANOSE_SERIF_STYLE_BONE = DWRITE_PANOSE_SERIF_STYLE_OVAL +} DWRITE_PANOSE_SERIF_STYLE; +typedef enum DWRITE_PANOSE_WEIGHT { + DWRITE_PANOSE_WEIGHT_ANY = 0, + DWRITE_PANOSE_WEIGHT_NO_FIT = 1, + DWRITE_PANOSE_WEIGHT_VERY_LIGHT = 2, + DWRITE_PANOSE_WEIGHT_LIGHT = 3, + DWRITE_PANOSE_WEIGHT_THIN = 4, + DWRITE_PANOSE_WEIGHT_BOOK = 5, + DWRITE_PANOSE_WEIGHT_MEDIUM = 6, + DWRITE_PANOSE_WEIGHT_DEMI = 7, + DWRITE_PANOSE_WEIGHT_BOLD = 8, + DWRITE_PANOSE_WEIGHT_HEAVY = 9, + DWRITE_PANOSE_WEIGHT_BLACK = 10, + DWRITE_PANOSE_WEIGHT_EXTRA_BLACK = 11, + DWRITE_PANOSE_WEIGHT_NORD = DWRITE_PANOSE_WEIGHT_EXTRA_BLACK +} DWRITE_PANOSE_WEIGHT; +typedef enum DWRITE_PANOSE_PROPORTION { + DWRITE_PANOSE_PROPORTION_ANY = 0, + DWRITE_PANOSE_PROPORTION_NO_FIT = 1, + DWRITE_PANOSE_PROPORTION_OLD_STYLE = 2, + DWRITE_PANOSE_PROPORTION_MODERN = 3, + DWRITE_PANOSE_PROPORTION_EVEN_WIDTH = 4, + DWRITE_PANOSE_PROPORTION_EXPANDED = 5, + DWRITE_PANOSE_PROPORTION_CONDENSED = 6, + DWRITE_PANOSE_PROPORTION_VERY_EXPANDED = 7, + DWRITE_PANOSE_PROPORTION_VERY_CONDENSED = 8, + DWRITE_PANOSE_PROPORTION_MONOSPACED = 9 +} DWRITE_PANOSE_PROPORTION; +typedef enum DWRITE_PANOSE_CONTRAST { + DWRITE_PANOSE_CONTRAST_ANY = 0, + DWRITE_PANOSE_CONTRAST_NO_FIT = 1, + DWRITE_PANOSE_CONTRAST_NONE = 2, + DWRITE_PANOSE_CONTRAST_VERY_LOW = 3, + DWRITE_PANOSE_CONTRAST_LOW = 4, + DWRITE_PANOSE_CONTRAST_MEDIUM_LOW = 5, + DWRITE_PANOSE_CONTRAST_MEDIUM = 6, + DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH = 7, + DWRITE_PANOSE_CONTRAST_HIGH = 8, + DWRITE_PANOSE_CONTRAST_VERY_HIGH = 9, + DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW = 10, + DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM = 11, + DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH = 12, + DWRITE_PANOSE_CONTRAST_BROKEN = 13 +} DWRITE_PANOSE_CONTRAST; +typedef enum DWRITE_PANOSE_STROKE_VARIATION { + DWRITE_PANOSE_STROKE_VARIATION_ANY = 0, + DWRITE_PANOSE_STROKE_VARIATION_NO_FIT = 1, + DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION = 2, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL = 3, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL = 4, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL = 5, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL = 6, + DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL = 7, + DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL = 8, + DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL = 9, + DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL = 10 +} DWRITE_PANOSE_STROKE_VARIANTION; +typedef enum DWRITE_PANOSE_ARM_STYLE { + DWRITE_PANOSE_ARM_STYLE_ANY = 0, + DWRITE_PANOSE_ARM_STYLE_NO_FIT = 1, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL = 2, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE = 3, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL = 4, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF = 5, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF = 6, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL = 7, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE = 8, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL = 9, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF = 10, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF = 11, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ = DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT = DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF +} DWRITE_PANOSE_ARM_STYLE; +typedef enum DWRITE_PANOSE_LETTERFORM { + DWRITE_PANOSE_LETTERFORM_ANY = 0, + DWRITE_PANOSE_LETTERFORM_NO_FIT = 1, + DWRITE_PANOSE_LETTERFORM_NORMAL_CONTACT = 2, + DWRITE_PANOSE_LETTERFORM_NORMAL_WEIGHTED = 3, + DWRITE_PANOSE_LETTERFORM_NORMAL_BOXED = 4, + DWRITE_PANOSE_LETTERFORM_NORMAL_FLATTENED = 5, + DWRITE_PANOSE_LETTERFORM_NORMAL_ROUNDED = 6, + DWRITE_PANOSE_LETTERFORM_NORMAL_OFF_CENTER = 7, + DWRITE_PANOSE_LETTERFORM_NORMAL_SQUARE = 8, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_CONTACT = 9, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_WEIGHTED = 10, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_BOXED = 11, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_FLATTENED = 12, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_ROUNDED = 13, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_OFF_CENTER = 14, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_SQUARE = 15 +} DWRITE_PANOSE_LETTERFORM; +typedef enum DWRITE_PANOSE_MIDLINE { + DWRITE_PANOSE_MIDLINE_ANY = 0, + DWRITE_PANOSE_MIDLINE_NO_FIT = 1, + DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED = 2, + DWRITE_PANOSE_MIDLINE_STANDARD_POINTED = 3, + DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED = 4, + DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED = 5, + DWRITE_PANOSE_MIDLINE_HIGH_POINTED = 6, + DWRITE_PANOSE_MIDLINE_HIGH_SERIFED = 7, + DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED = 8, + DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED = 9, + DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED = 10, + DWRITE_PANOSE_MIDLINE_LOW_TRIMMED = 11, + DWRITE_PANOSE_MIDLINE_LOW_POINTED = 12, + DWRITE_PANOSE_MIDLINE_LOW_SERIFED = 13 +} DWRITE_PANOSE_MIDLINE; +typedef enum DWRITE_PANOSE_XHEIGHT { + DWRITE_PANOSE_XHEIGHT_ANY = 0, + DWRITE_PANOSE_XHEIGHT_NO_FIT = 1, + DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL = 2, + DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD = 3, + DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE = 4, + DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL = 5, + DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD = 6, + DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE = 7, + DWRITE_PANOSE_XHEIGHT_CONSTANT_STD = DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD, + DWRITE_PANOSE_XHEIGHT_DUCKING_STD = DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD +} DWRITE_PANOSE_XHEIGHT; +typedef enum DWRITE_PANOSE_TOOL_KIND { + DWRITE_PANOSE_TOOL_KIND_ANY = 0, + DWRITE_PANOSE_TOOL_KIND_NO_FIT = 1, + DWRITE_PANOSE_TOOL_KIND_FLAT_NIB = 2, + DWRITE_PANOSE_TOOL_KIND_PRESSURE_POINT = 3, + DWRITE_PANOSE_TOOL_KIND_ENGRAVED = 4, + DWRITE_PANOSE_TOOL_KIND_BALL = 5, + DWRITE_PANOSE_TOOL_KIND_BRUSH = 6, + DWRITE_PANOSE_TOOL_KIND_ROUGH = 7, + DWRITE_PANOSE_TOOL_KIND_FELT_PEN_BRUSH_TIP = 8, + DWRITE_PANOSE_TOOL_KIND_WILD_BRUSH = 9 +} DWRITE_PANOSE_TOOL_KIND; +typedef enum DWRITE_PANOSE_SPACING { + DWRITE_PANOSE_SPACING_ANY = 0, + DWRITE_PANOSE_SPACING_NO_FIT = 1, + DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED = 2, + DWRITE_PANOSE_SPACING_MONOSPACED = 3 +} DWRITE_PANOSE_SPACING; +typedef enum DWRITE_PANOSE_ASPECT_RATIO { + DWRITE_PANOSE_ASPECT_RATIO_ANY = 0, + DWRITE_PANOSE_ASPECT_RATIO_NO_FIT = 1, + DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED = 2, + DWRITE_PANOSE_ASPECT_RATIO_CONDENSED = 3, + DWRITE_PANOSE_ASPECT_RATIO_NORMAL = 4, + DWRITE_PANOSE_ASPECT_RATIO_EXPANDED = 5, + DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED = 6 +} DWRITE_PANOSE_ASPECT_RATIO; +typedef enum DWRITE_PANOSE_SCRIPT_TOPOLOGY { + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY = 0, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT = 1, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED = 2, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING = 3, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED = 4, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED = 5, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING = 6, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED = 7, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED = 8, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING = 9, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED = 10 +} DWRITE_PANOSE_SCRIPT_TOPOLOGY; +typedef enum DWRITE_PANOSE_SCRIPT_FORM { + DWRITE_PANOSE_SCRIPT_FORM_ANY = 0, + DWRITE_PANOSE_SCRIPT_FORM_NO_FIT = 1, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_NO_WRAPPING = 2, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_SOME_WRAPPING = 3, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_MORE_WRAPPING = 4, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_EXTREME_WRAPPING = 5, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_NO_WRAPPING = 6, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_SOME_WRAPPING = 7, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_MORE_WRAPPING = 8, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_EXTREME_WRAPPING = 9, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_NO_WRAPPING = 10, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_SOME_WRAPPING = 11, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_MORE_WRAPPING = 12, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_EXTREME_WRAPPING = 13 +} DWRITE_PANOSE_SCRIPT_FORM; +typedef enum DWRITE_PANOSE_FINIALS { + DWRITE_PANOSE_FINIALS_ANY = 0, + DWRITE_PANOSE_FINIALS_NO_FIT = 1, + DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS = 2, + DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS = 3, + DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS = 4, + DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS = 5, + DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS = 6, + DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS = 7, + DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS = 8, + DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS = 9, + DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS = 10, + DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS = 11, + DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS = 12, + DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS = 13 +} DWRITE_PANOSE_FINIALS; +typedef enum DWRITE_PANOSE_XASCENT { + DWRITE_PANOSE_XASCENT_ANY = 0, + DWRITE_PANOSE_XASCENT_NO_FIT = 1, + DWRITE_PANOSE_XASCENT_VERY_LOW = 2, + DWRITE_PANOSE_XASCENT_LOW = 3, + DWRITE_PANOSE_XASCENT_MEDIUM = 4, + DWRITE_PANOSE_XASCENT_HIGH = 5, + DWRITE_PANOSE_XASCENT_VERY_HIGH = 6 +} DWRITE_PANOSE_XASCENT; +typedef enum DWRITE_PANOSE_DECORATIVE_CLASS { + DWRITE_PANOSE_DECORATIVE_CLASS_ANY = 0, + DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT = 1, + DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE = 2, + DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY = 3, + DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS = 4, + DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT = 5, + DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS = 6, + DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON = 7, + DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS = 8, + DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED = 9, + DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND = 10, + DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE = 11, + DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE = 12 +} DWRITE_PANOSE_DECORATIVE_CLASS; +typedef enum DWRITE_PANOSE_ASPECT { + DWRITE_PANOSE_ASPECT_ANY = 0, + DWRITE_PANOSE_ASPECT_NO_FIT = 1, + DWRITE_PANOSE_ASPECT_SUPER_CONDENSED = 2, + DWRITE_PANOSE_ASPECT_VERY_CONDENSED = 3, + DWRITE_PANOSE_ASPECT_CONDENSED = 4, + DWRITE_PANOSE_ASPECT_NORMAL = 5, + DWRITE_PANOSE_ASPECT_EXTENDED = 6, + DWRITE_PANOSE_ASPECT_VERY_EXTENDED = 7, + DWRITE_PANOSE_ASPECT_SUPER_EXTENDED = 8, + DWRITE_PANOSE_ASPECT_MONOSPACED = 9 +} DWRITE_PANOSE_ASPECT; +typedef enum DWRITE_PANOSE_FILL { + DWRITE_PANOSE_FILL_ANY = 0, + DWRITE_PANOSE_FILL_NO_FIT = 1, + DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL = 2, + DWRITE_PANOSE_FILL_NO_FILL = 3, + DWRITE_PANOSE_FILL_PATTERNED_FILL = 4, + DWRITE_PANOSE_FILL_COMPLEX_FILL = 5, + DWRITE_PANOSE_FILL_SHAPED_FILL = 6, + DWRITE_PANOSE_FILL_DRAWN_DISTRESSED = 7 +} DWRITE_PANOSE_FILL; +typedef enum DWRITE_PANOSE_LINING { + DWRITE_PANOSE_LINING_ANY = 0, + DWRITE_PANOSE_LINING_NO_FIT = 1, + DWRITE_PANOSE_LINING_NONE = 2, + DWRITE_PANOSE_LINING_INLINE = 3, + DWRITE_PANOSE_LINING_OUTLINE = 4, + DWRITE_PANOSE_LINING_ENGRAVED = 5, + DWRITE_PANOSE_LINING_SHADOW = 6, + DWRITE_PANOSE_LINING_RELIEF = 7, + DWRITE_PANOSE_LINING_BACKDROP = 8 +} DWRITE_PANOSE_LINING; +typedef enum DWRITE_PANOSE_DECORATIVE_TOPOLOGY { + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY = 0, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT = 1, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD = 2, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE = 3, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT = 4, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO = 5, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING = 6, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS = 7, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_FORMS = 8, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_LOMBARDIC_FORMS = 9, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE = 10, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY = 11, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A = 12, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE = 13, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER = 14, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE = 15 +} DWRITE_PANOSE_DECORATIVE_TOPOLOGY; +typedef enum DWRITE_PANOSE_CHARACTER_RANGES { + DWRITE_PANOSE_CHARACTER_RANGES_ANY = 0, + DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT = 1, + DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION = 2, + DWRITE_PANOSE_CHARACTER_RANGES_LITERALS = 3, + DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE = 4, + DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS = 5 +} DWRITE_PANOSE_CHARACTER_RANGES; +typedef enum DWRITE_PANOSE_SYMBOL_KIND { + DWRITE_PANOSE_SYMBOL_KIND_ANY = 0, + DWRITE_PANOSE_SYMBOL_KIND_NO_FIT = 1, + DWRITE_PANOSE_SYMBOL_KIND_MONTAGES = 2, + DWRITE_PANOSE_SYMBOL_KIND_PICTURES = 3, + DWRITE_PANOSE_SYMBOL_KIND_SHAPES = 4, + DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC = 5, + DWRITE_PANOSE_SYMBOL_KIND_MUSIC = 6, + DWRITE_PANOSE_SYMBOL_KIND_EXPERT = 7, + DWRITE_PANOSE_SYMBOL_KIND_PATTERNS = 8, + DWRITE_PANOSE_SYMBOL_KIND_BOARDERS = 9, + DWRITE_PANOSE_SYMBOL_KIND_ICONS = 10, + DWRITE_PANOSE_SYMBOL_KIND_LOGOS = 11, + DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC = 12 +} DWRITE_PANOSE_SYMBOL_KIND; +typedef enum DWRITE_PANOSE_SYMBOL_ASPECT_RATIO { + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY = 0, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT = 1, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH = 2, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE = 3, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE = 4, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE = 5, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE = 6, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL = 7, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW = 8, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW = 9 +} DWRITE_PANOSE_SYMBOL_ASPECT_RATIO; +typedef enum DWRITE_OUTLINE_THRESHOLD { + DWRITE_OUTLINE_THRESHOLD_ANTIALIASED = 0, + DWRITE_OUTLINE_THRESHOLD_ALIASED = 1 +} DWRITE_OUTLINE_THRESHOLD; +typedef enum DWRITE_BASELINE { + DWRITE_BASELINE_DEFAULT = 0, + DWRITE_BASELINE_ROMAN = 1, + DWRITE_BASELINE_CENTRAL = 2, + DWRITE_BASELINE_MATH = 3, + DWRITE_BASELINE_HANGING = 4, + DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM = 5, + DWRITE_BASELINE_IDEOGRAPHIC_TOP = 6, + DWRITE_BASELINE_MINIMUM = 7, + DWRITE_BASELINE_MAXIMUM = 8 +} DWRITE_BASELINE; +typedef enum DWRITE_VERTICAL_GLYPH_ORIENTATION { + DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT = 0, + DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED = 1 +} DWRITE_VERTICAL_GLYPH_ORIENTATION; +typedef enum DWRITE_GLYPH_ORIENTATION_ANGLE { + DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES = 0, + DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES = 1, + DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES = 2, + DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES = 3 +} DWRITE_GLYPH_ORIENTATION_ANGLE; +typedef struct DWRITE_FONT_METRICS1 { + UINT16 designUnitsPerEm; + UINT16 ascent; + UINT16 descent; + INT16 lineGap; + UINT16 capHeight; + UINT16 xHeight; + INT16 underlinePosition; + UINT16 underlineThickness; + INT16 strikethroughPosition; + UINT16 strikethroughThickness; + INT16 glyphBoxLeft; + INT16 glyphBoxTop; + INT16 glyphBoxRight; + INT16 glyphBoxBottom; + INT16 subscriptPositionX; + INT16 subscriptPositionY; + INT16 subscriptSizeX; + INT16 subscriptSizeY; + INT16 superscriptPositionX; + INT16 superscriptPositionY; + INT16 superscriptSizeX; + INT16 superscriptSizeY; + BOOL hasTypographicMetrics; +} DWRITE_FONT_METRICS1; +typedef struct DWRITE_CARET_METRICS { + INT16 slopeRise; + INT16 slopeRun; + INT16 offset; +} DWRITE_CARET_METRICS; +typedef union DWRITE_PANOSE { + UINT8 values[10]; + UINT8 familyKind; + struct { + UINT8 familyKind; + UINT8 serifStyle; + UINT8 weight; + UINT8 proportion; + UINT8 contrast; + UINT8 strokeVariation; + UINT8 armStyle; + UINT8 letterform; + UINT8 midline; + UINT8 xHeight; + } text; + struct { + UINT8 familyKind; + UINT8 toolKind; + UINT8 weight; + UINT8 spacing; + UINT8 aspectRatio; + UINT8 contrast; + UINT8 scriptTopology; + UINT8 scriptForm; + UINT8 finials; + UINT8 xAscent; + } script; + struct { + UINT8 familyKind; + UINT8 decorativeClass; + UINT8 weight; + UINT8 aspect; + UINT8 contrast; + UINT8 serifVariant; + UINT8 fill; + UINT8 lining; + UINT8 decorativeTopology; + UINT8 characterRange; + } decorative; + struct { + UINT8 familyKind; + UINT8 symbolKind; + UINT8 weight; + UINT8 spacing; + UINT8 aspectRatioAndContrast; + UINT8 aspectRatio94; + UINT8 aspectRatio119; + UINT8 aspectRatio157; + UINT8 aspectRatio163; + UINT8 aspectRatio211; + } symbol; +} DWRITE_PANOSE; +typedef struct DWRITE_UNICODE_RANGE { + UINT32 first; + UINT32 last; +} DWRITE_UNICODE_RANGE; +typedef struct DWRITE_SCRIPT_PROPERTIES { + UINT32 isoScriptCode; + UINT32 isoScriptNumber; + UINT32 clusterLookahead; + UINT32 justificationCharacter; + UINT32 restrictCaretToClusters : 1; + UINT32 usesWordDividers : 1; + UINT32 isDiscreteWriting : 1; + UINT32 isBlockWriting : 1; + UINT32 isDistributedWithinCluster : 1; + UINT32 isConnectedWriting : 1; + UINT32 isCursiveWriting : 1; + UINT32 reserved : 25; +} DWRITE_SCRIPT_PROPERTIES; +typedef struct DWRITE_JUSTIFICATION_OPPORTUNITY { + FLOAT expansionMinimum; + FLOAT expansionMaximum; + FLOAT compressionMaximum; + UINT32 expansionPriority : 8; + UINT32 compressionPriority : 8; + UINT32 allowResidualExpansion : 1; + UINT32 allowResidualCompression : 1; + UINT32 applyToLeadingEdge : 1; + UINT32 applyToTrailingEdge : 1; + UINT32 reserved : 12; +} DWRITE_JUSTIFICATION_OPPORTUNITY; +#ifndef __IDWriteTextAnalysisSource1_FWD_DEFINED__ +#define __IDWriteTextAnalysisSource1_FWD_DEFINED__ +typedef interface IDWriteTextAnalysisSource1 IDWriteTextAnalysisSource1; +#ifdef __cplusplus +interface IDWriteTextAnalysisSource1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalysisSink1_FWD_DEFINED__ +#define __IDWriteTextAnalysisSink1_FWD_DEFINED__ +typedef interface IDWriteTextAnalysisSink1 IDWriteTextAnalysisSink1; +#ifdef __cplusplus +interface IDWriteTextAnalysisSink1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRenderingParams1_FWD_DEFINED__ +#define __IDWriteRenderingParams1_FWD_DEFINED__ +typedef interface IDWriteRenderingParams1 IDWriteRenderingParams1; +#ifdef __cplusplus +interface IDWriteRenderingParams1; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IDWriteFactory1 interface + */ +#ifndef __IDWriteFactory1_INTERFACE_DEFINED__ +#define __IDWriteFactory1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFactory1, 0x30572f99, 0xdac6, 0x41db, 0xa1,0x6e, 0x04,0x86,0x30,0x7e,0x60,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30572f99-dac6-41db-a16e-0486307e606a") +IDWriteFactory1 : public IDWriteFactory +{ + virtual HRESULT STDMETHODCALLTYPE GetEudcFontCollection( + IDWriteFontCollection **collection, + BOOL check_for_updates = FALSE) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCustomRenderingParams( + FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1 **params) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFactory1, 0x30572f99, 0xdac6, 0x41db, 0xa1,0x6e, 0x04,0x86,0x30,0x7e,0x60,0x6a) +#endif +#else +typedef struct IDWriteFactory1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFactory1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFactory1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFactory1 *This); + + /*** IDWriteFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontCollection)( + IDWriteFactory1 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontCollection)( + IDWriteFactory1 *This, + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT (STDMETHODCALLTYPE *RegisterFontCollectionLoader)( + IDWriteFactory1 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontCollectionLoader)( + IDWriteFactory1 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReference)( + IDWriteFactory1 *This, + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontFileReference)( + IDWriteFactory1 *This, + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFactory1 *This, + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT (STDMETHODCALLTYPE *CreateRenderingParams)( + IDWriteFactory1 *This, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateMonitorRenderingParams)( + IDWriteFactory1 *This, + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateCustomRenderingParams)( + IDWriteFactory1 *This, + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *RegisterFontFileLoader)( + IDWriteFactory1 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontFileLoader)( + IDWriteFactory1 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateTextFormat)( + IDWriteFactory1 *This, + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format); + + HRESULT (STDMETHODCALLTYPE *CreateTypography)( + IDWriteFactory1 *This, + IDWriteTypography **typography); + + HRESULT (STDMETHODCALLTYPE *GetGdiInterop)( + IDWriteFactory1 *This, + IDWriteGdiInterop **gdi_interop); + + HRESULT (STDMETHODCALLTYPE *CreateTextLayout)( + IDWriteFactory1 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateGdiCompatibleTextLayout)( + IDWriteFactory1 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateEllipsisTrimmingSign)( + IDWriteFactory1 *This, + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *CreateTextAnalyzer)( + IDWriteFactory1 *This, + IDWriteTextAnalyzer **analyzer); + + HRESULT (STDMETHODCALLTYPE *CreateNumberSubstitution)( + IDWriteFactory1 *This, + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT (STDMETHODCALLTYPE *CreateGlyphRunAnalysis)( + IDWriteFactory1 *This, + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEudcFontCollection)( + IDWriteFactory1 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory1_CreateCustomRenderingParams)( + IDWriteFactory1 *This, + FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1 **params); + + END_INTERFACE +} IDWriteFactory1Vtbl; + +interface IDWriteFactory1 { + CONST_VTBL IDWriteFactory1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFactory1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFactory1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFactory1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFactory methods ***/ +#define IDWriteFactory1_GetSystemFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetSystemFontCollection(This,collection,check_for_updates) +#define IDWriteFactory1_CreateCustomFontCollection(This,loader,key,key_size,collection) (This)->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection) +#define IDWriteFactory1_RegisterFontCollectionLoader(This,loader) (This)->lpVtbl->RegisterFontCollectionLoader(This,loader) +#define IDWriteFactory1_UnregisterFontCollectionLoader(This,loader) (This)->lpVtbl->UnregisterFontCollectionLoader(This,loader) +#define IDWriteFactory1_CreateFontFileReference(This,path,writetime,font_file) (This)->lpVtbl->CreateFontFileReference(This,path,writetime,font_file) +#define IDWriteFactory1_CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) (This)->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) +#define IDWriteFactory1_CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) (This)->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) +#define IDWriteFactory1_CreateRenderingParams(This,params) (This)->lpVtbl->CreateRenderingParams(This,params) +#define IDWriteFactory1_CreateMonitorRenderingParams(This,monitor,params) (This)->lpVtbl->CreateMonitorRenderingParams(This,monitor,params) +#define IDWriteFactory1_RegisterFontFileLoader(This,loader) (This)->lpVtbl->RegisterFontFileLoader(This,loader) +#define IDWriteFactory1_UnregisterFontFileLoader(This,loader) (This)->lpVtbl->UnregisterFontFileLoader(This,loader) +#define IDWriteFactory1_CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) (This)->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) +#define IDWriteFactory1_CreateTypography(This,typography) (This)->lpVtbl->CreateTypography(This,typography) +#define IDWriteFactory1_GetGdiInterop(This,gdi_interop) (This)->lpVtbl->GetGdiInterop(This,gdi_interop) +#define IDWriteFactory1_CreateTextLayout(This,string,len,format,max_width,max_height,layout) (This)->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout) +#define IDWriteFactory1_CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) (This)->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) +#define IDWriteFactory1_CreateEllipsisTrimmingSign(This,format,trimming_sign) (This)->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign) +#define IDWriteFactory1_CreateTextAnalyzer(This,analyzer) (This)->lpVtbl->CreateTextAnalyzer(This,analyzer) +#define IDWriteFactory1_CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) (This)->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) +#define IDWriteFactory1_CreateGlyphRunAnalysis(This,glyph_run,pixels_per_dip,transform,rendering_mode,measuring_mode,baseline_x,baseline_y,analysis) (This)->lpVtbl->CreateGlyphRunAnalysis(This,glyph_run,pixels_per_dip,transform,rendering_mode,measuring_mode,baseline_x,baseline_y,analysis) +/*** IDWriteFactory1 methods ***/ +#define IDWriteFactory1_GetEudcFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates) +#define IDWriteFactory1_CreateCustomRenderingParams(This,gamma,enhcontrast,enhcontrast_grayscale,cleartype_level,geometry,mode,params) (This)->lpVtbl->IDWriteFactory1_CreateCustomRenderingParams(This,gamma,enhcontrast,enhcontrast_grayscale,cleartype_level,geometry,mode,params) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFactory1_QueryInterface(IDWriteFactory1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFactory1_AddRef(IDWriteFactory1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFactory1_Release(IDWriteFactory1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFactory methods ***/ +static FORCEINLINE HRESULT IDWriteFactory1_GetSystemFontCollection(IDWriteFactory1* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetSystemFontCollection(This,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateCustomFontCollection(IDWriteFactory1* This,IDWriteFontCollectionLoader *loader,const void *key,UINT32 key_size,IDWriteFontCollection **collection) { + return This->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection); +} +static FORCEINLINE HRESULT IDWriteFactory1_RegisterFontCollectionLoader(IDWriteFactory1* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->RegisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory1_UnregisterFontCollectionLoader(IDWriteFactory1* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->UnregisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateFontFileReference(IDWriteFactory1* This,const WCHAR *path,const FILETIME *writetime,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateFontFileReference(This,path,writetime,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateCustomFontFileReference(IDWriteFactory1* This,const void *reference_key,UINT32 key_size,IDWriteFontFileLoader *loader,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateFontFace(IDWriteFactory1* This,DWRITE_FONT_FACE_TYPE facetype,UINT32 files_number,IDWriteFontFile *const *font_files,UINT32 index,DWRITE_FONT_SIMULATIONS sim_flags,IDWriteFontFace **font_face) { + return This->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateRenderingParams(IDWriteFactory1* This,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateRenderingParams(This,params); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateMonitorRenderingParams(IDWriteFactory1* This,HMONITOR monitor,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateMonitorRenderingParams(This,monitor,params); +} +static FORCEINLINE HRESULT IDWriteFactory1_RegisterFontFileLoader(IDWriteFactory1* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->RegisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory1_UnregisterFontFileLoader(IDWriteFactory1* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->UnregisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateTextFormat(IDWriteFactory1* This,const WCHAR *family_name,IDWriteFontCollection *collection,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STYLE style,DWRITE_FONT_STRETCH stretch,FLOAT size,const WCHAR *locale,IDWriteTextFormat **format) { + return This->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateTypography(IDWriteFactory1* This,IDWriteTypography **typography) { + return This->lpVtbl->CreateTypography(This,typography); +} +static FORCEINLINE HRESULT IDWriteFactory1_GetGdiInterop(IDWriteFactory1* This,IDWriteGdiInterop **gdi_interop) { + return This->lpVtbl->GetGdiInterop(This,gdi_interop); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateTextLayout(IDWriteFactory1* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT max_width,FLOAT max_height,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateGdiCompatibleTextLayout(IDWriteFactory1* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT layout_width,FLOAT layout_height,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateEllipsisTrimmingSign(IDWriteFactory1* This,IDWriteTextFormat *format,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateTextAnalyzer(IDWriteFactory1* This,IDWriteTextAnalyzer **analyzer) { + return This->lpVtbl->CreateTextAnalyzer(This,analyzer); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateNumberSubstitution(IDWriteFactory1* This,DWRITE_NUMBER_SUBSTITUTION_METHOD method,const WCHAR *locale,BOOL ignore_user_override,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateGlyphRunAnalysis(IDWriteFactory1* This,const DWRITE_GLYPH_RUN *glyph_run,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_RENDERING_MODE rendering_mode,DWRITE_MEASURING_MODE measuring_mode,FLOAT baseline_x,FLOAT baseline_y,IDWriteGlyphRunAnalysis **analysis) { + return This->lpVtbl->CreateGlyphRunAnalysis(This,glyph_run,pixels_per_dip,transform,rendering_mode,measuring_mode,baseline_x,baseline_y,analysis); +} +/*** IDWriteFactory1 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory1_GetEudcFontCollection(IDWriteFactory1* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory1_CreateCustomRenderingParams(IDWriteFactory1* This,FLOAT gamma,FLOAT enhcontrast,FLOAT enhcontrast_grayscale,FLOAT cleartype_level,DWRITE_PIXEL_GEOMETRY geometry,DWRITE_RENDERING_MODE mode,IDWriteRenderingParams1 **params) { + return This->lpVtbl->IDWriteFactory1_CreateCustomRenderingParams(This,gamma,enhcontrast,enhcontrast_grayscale,cleartype_level,geometry,mode,params); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFactory1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFace1 interface + */ +#ifndef __IDWriteFontFace1_INTERFACE_DEFINED__ +#define __IDWriteFontFace1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFace1, 0xa71efdb4, 0x9fdb, 0x4838, 0xad,0x90, 0xcf,0xc3,0xbe,0x8c,0x3d,0xaf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a71efdb4-9fdb-4838-ad90-cfc3be8c3daf") +IDWriteFontFace1 : public IDWriteFontFace +{ + virtual void STDMETHODCALLTYPE GetMetrics( + DWRITE_FONT_METRICS1 *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGdiCompatibleMetrics( + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS1 *metrics) = 0; + + virtual void STDMETHODCALLTYPE GetCaretMetrics( + DWRITE_CARET_METRICS *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUnicodeRanges( + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count) = 0; + + virtual BOOL STDMETHODCALLTYPE IsMonospacedFont( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDesignGlyphAdvances( + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances, + BOOL is_sideways = FALSE) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGdiCompatibleGlyphAdvances( + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKerningPairAdjustments( + UINT32 glyph_count, + const UINT16 *indices, + INT32 *adjustments) = 0; + + virtual BOOL STDMETHODCALLTYPE HasKerningPairs( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRecommendedRenderingMode( + FLOAT font_emsize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_RENDERING_MODE *rendering_mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVerticalGlyphVariants( + UINT32 glyph_count, + const UINT16 *nominal_indices, + UINT16 *vertical_indices) = 0; + + virtual BOOL STDMETHODCALLTYPE HasVerticalGlyphVariants( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFace1, 0xa71efdb4, 0x9fdb, 0x4838, 0xad,0x90, 0xcf,0xc3,0xbe,0x8c,0x3d,0xaf) +#endif +#else +typedef struct IDWriteFontFace1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFace1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFace1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFace1 *This); + + /*** IDWriteFontFace methods ***/ + DWRITE_FONT_FACE_TYPE (STDMETHODCALLTYPE *GetType)( + IDWriteFontFace1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFiles)( + IDWriteFontFace1 *This, + UINT32 *number_of_files, + IDWriteFontFile **fontfiles); + + UINT32 (STDMETHODCALLTYPE *GetIndex)( + IDWriteFontFace1 *This); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFontFace1 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFontFace1 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFontFace1 *This, + DWRITE_FONT_METRICS *metrics); + + UINT16 (STDMETHODCALLTYPE *GetGlyphCount)( + IDWriteFontFace1 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphMetrics)( + IDWriteFontFace1 *This, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)( + IDWriteFontFace1 *This, + const UINT32 *codepoints, + UINT32 count, + UINT16 *glyph_indices); + + HRESULT (STDMETHODCALLTYPE *TryGetFontTable)( + IDWriteFontFace1 *This, + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists); + + void (STDMETHODCALLTYPE *ReleaseFontTable)( + IDWriteFontFace1 *This, + void *table_context); + + HRESULT (STDMETHODCALLTYPE *GetGlyphRunOutline)( + IDWriteFontFace1 *This, + FLOAT emSize, + const UINT16 *glyph_indices, + const FLOAT *glyph_advances, + const DWRITE_GLYPH_OFFSET *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink); + + HRESULT (STDMETHODCALLTYPE *GetRecommendedRenderingMode)( + IDWriteFontFace1 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleMetrics)( + IDWriteFontFace1 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphMetrics)( + IDWriteFontFace1 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + /*** IDWriteFontFace1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFontFace1_GetMetrics)( + IDWriteFontFace1 *This, + DWRITE_FONT_METRICS1 *metrics); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetGdiCompatibleMetrics)( + IDWriteFontFace1 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetCaretMetrics)( + IDWriteFontFace1 *This, + DWRITE_CARET_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFontFace1 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFontFace1 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphAdvances)( + IDWriteFontFace1 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphAdvances)( + IDWriteFontFace1 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances); + + HRESULT (STDMETHODCALLTYPE *GetKerningPairAdjustments)( + IDWriteFontFace1 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *adjustments); + + BOOL (STDMETHODCALLTYPE *HasKerningPairs)( + IDWriteFontFace1 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetRecommendedRenderingMode)( + IDWriteFontFace1 *This, + FLOAT font_emsize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetVerticalGlyphVariants)( + IDWriteFontFace1 *This, + UINT32 glyph_count, + const UINT16 *nominal_indices, + UINT16 *vertical_indices); + + BOOL (STDMETHODCALLTYPE *HasVerticalGlyphVariants)( + IDWriteFontFace1 *This); + + END_INTERFACE +} IDWriteFontFace1Vtbl; + +interface IDWriteFontFace1 { + CONST_VTBL IDWriteFontFace1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFace1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFace1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFace1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFace methods ***/ +#define IDWriteFontFace1_GetType(This) (This)->lpVtbl->GetType(This) +#define IDWriteFontFace1_GetFiles(This,number_of_files,fontfiles) (This)->lpVtbl->GetFiles(This,number_of_files,fontfiles) +#define IDWriteFontFace1_GetIndex(This) (This)->lpVtbl->GetIndex(This) +#define IDWriteFontFace1_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFontFace1_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFontFace1_GetGlyphCount(This) (This)->lpVtbl->GetGlyphCount(This) +#define IDWriteFontFace1_GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) +#define IDWriteFontFace1_GetGlyphIndices(This,codepoints,count,glyph_indices) (This)->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices) +#define IDWriteFontFace1_TryGetFontTable(This,table_tag,table_data,table_size,context,exists) (This)->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists) +#define IDWriteFontFace1_ReleaseFontTable(This,table_context) (This)->lpVtbl->ReleaseFontTable(This,table_context) +#define IDWriteFontFace1_GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) (This)->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) +#define IDWriteFontFace1_GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) +/*** IDWriteFontFace1 methods ***/ +#define IDWriteFontFace1_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics) +#define IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) (This)->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) +#define IDWriteFontFace1_GetCaretMetrics(This,metrics) (This)->lpVtbl->GetCaretMetrics(This,metrics) +#define IDWriteFontFace1_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFontFace1_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +#define IDWriteFontFace1_GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) (This)->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) +#define IDWriteFontFace1_GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) (This)->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) +#define IDWriteFontFace1_GetKerningPairAdjustments(This,glyph_count,indices,adjustments) (This)->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments) +#define IDWriteFontFace1_HasKerningPairs(This) (This)->lpVtbl->HasKerningPairs(This) +#define IDWriteFontFace1_GetRecommendedRenderingMode(This,font_emsize,dpiX,dpiY,transform,is_sideways,threshold,measuring_mode,rendering_mode) (This)->lpVtbl->IDWriteFontFace1_GetRecommendedRenderingMode(This,font_emsize,dpiX,dpiY,transform,is_sideways,threshold,measuring_mode,rendering_mode) +#define IDWriteFontFace1_GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) (This)->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) +#define IDWriteFontFace1_HasVerticalGlyphVariants(This) (This)->lpVtbl->HasVerticalGlyphVariants(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace1_QueryInterface(IDWriteFontFace1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFace1_AddRef(IDWriteFontFace1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFace1_Release(IDWriteFontFace1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFace methods ***/ +static FORCEINLINE DWRITE_FONT_FACE_TYPE IDWriteFontFace1_GetType(IDWriteFontFace1* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetFiles(IDWriteFontFace1* This,UINT32 *number_of_files,IDWriteFontFile **fontfiles) { + return This->lpVtbl->GetFiles(This,number_of_files,fontfiles); +} +static FORCEINLINE UINT32 IDWriteFontFace1_GetIndex(IDWriteFontFace1* This) { + return This->lpVtbl->GetIndex(This); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFontFace1_GetSimulations(IDWriteFontFace1* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE BOOL IDWriteFontFace1_IsSymbolFont(IDWriteFontFace1* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE UINT16 IDWriteFontFace1_GetGlyphCount(IDWriteFontFace1* This) { + return This->lpVtbl->GetGlyphCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetDesignGlyphMetrics(IDWriteFontFace1* This,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetGlyphIndices(IDWriteFontFace1* This,const UINT32 *codepoints,UINT32 count,UINT16 *glyph_indices) { + return This->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices); +} +static FORCEINLINE HRESULT IDWriteFontFace1_TryGetFontTable(IDWriteFontFace1* This,UINT32 table_tag,const void **table_data,UINT32 *table_size,void **context,BOOL *exists) { + return This->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists); +} +static FORCEINLINE void IDWriteFontFace1_ReleaseFontTable(IDWriteFontFace1* This,void *table_context) { + This->lpVtbl->ReleaseFontTable(This,table_context); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetGlyphRunOutline(IDWriteFontFace1* This,FLOAT emSize,const UINT16 *glyph_indices,const FLOAT *glyph_advances,const DWRITE_GLYPH_OFFSET *glyph_offsets,UINT32 glyph_count,BOOL is_sideways,BOOL is_rtl,IDWriteGeometrySink *geometrysink) { + return This->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetGdiCompatibleGlyphMetrics(IDWriteFontFace1* This,FLOAT emSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways); +} +/*** IDWriteFontFace1 methods ***/ +static FORCEINLINE void IDWriteFontFace1_GetMetrics(IDWriteFontFace1* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetGdiCompatibleMetrics(IDWriteFontFace1* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_FONT_METRICS1 *metrics) { + return This->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics); +} +static FORCEINLINE void IDWriteFontFace1_GetCaretMetrics(IDWriteFontFace1* This,DWRITE_CARET_METRICS *metrics) { + This->lpVtbl->GetCaretMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetUnicodeRanges(IDWriteFontFace1* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFontFace1_IsMonospacedFont(IDWriteFontFace1* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetDesignGlyphAdvances(IDWriteFontFace1* This,UINT32 glyph_count,const UINT16 *indices,INT32 *advances,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetGdiCompatibleGlyphAdvances(IDWriteFontFace1* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,UINT32 glyph_count,const UINT16 *indices,INT32 *advances) { + return This->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetKerningPairAdjustments(IDWriteFontFace1* This,UINT32 glyph_count,const UINT16 *indices,INT32 *adjustments) { + return This->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments); +} +static FORCEINLINE BOOL IDWriteFontFace1_HasKerningPairs(IDWriteFontFace1* This) { + return This->lpVtbl->HasKerningPairs(This); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetRecommendedRenderingMode(IDWriteFontFace1* This,FLOAT font_emsize,FLOAT dpiX,FLOAT dpiY,const DWRITE_MATRIX *transform,BOOL is_sideways,DWRITE_OUTLINE_THRESHOLD threshold,DWRITE_MEASURING_MODE measuring_mode,DWRITE_RENDERING_MODE *rendering_mode) { + return This->lpVtbl->IDWriteFontFace1_GetRecommendedRenderingMode(This,font_emsize,dpiX,dpiY,transform,is_sideways,threshold,measuring_mode,rendering_mode); +} +static FORCEINLINE HRESULT IDWriteFontFace1_GetVerticalGlyphVariants(IDWriteFontFace1* This,UINT32 glyph_count,const UINT16 *nominal_indices,UINT16 *vertical_indices) { + return This->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices); +} +static FORCEINLINE BOOL IDWriteFontFace1_HasVerticalGlyphVariants(IDWriteFontFace1* This) { + return This->lpVtbl->HasVerticalGlyphVariants(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFace1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFont1 interface + */ +#ifndef __IDWriteFont1_INTERFACE_DEFINED__ +#define __IDWriteFont1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFont1, 0xacd16696, 0x8c14, 0x4f5d, 0x87,0x7e, 0xfe,0x3f,0xc1,0xd3,0x27,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("acd16696-8c14-4f5d-877e-fe3fc1d32738") +IDWriteFont1 : public IDWriteFont +{ + virtual void STDMETHODCALLTYPE GetMetrics( + DWRITE_FONT_METRICS1 *metrics) = 0; + + virtual void STDMETHODCALLTYPE GetPanose( + DWRITE_PANOSE *panose) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUnicodeRanges( + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count) = 0; + + virtual BOOL STDMETHODCALLTYPE IsMonospacedFont( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFont1, 0xacd16696, 0x8c14, 0x4f5d, 0x87,0x7e, 0xfe,0x3f,0xc1,0xd3,0x27,0x38) +#endif +#else +typedef struct IDWriteFont1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFont1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFont1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFont1 *This); + + /*** IDWriteFont methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontFamily)( + IDWriteFont1 *This, + IDWriteFontFamily **family); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetWeight)( + IDWriteFont1 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetStretch)( + IDWriteFont1 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetStyle)( + IDWriteFont1 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFont1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFaceNames)( + IDWriteFont1 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetInformationalStrings)( + IDWriteFont1 *This, + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFont1 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFont1 *This, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HasCharacter)( + IDWriteFont1 *This, + UINT32 value, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFont1 *This, + IDWriteFontFace **face); + + /*** IDWriteFont1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFont1_GetMetrics)( + IDWriteFont1 *This, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetPanose)( + IDWriteFont1 *This, + DWRITE_PANOSE *panose); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFont1 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFont1 *This); + + END_INTERFACE +} IDWriteFont1Vtbl; + +interface IDWriteFont1 { + CONST_VTBL IDWriteFont1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFont1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFont1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFont1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFont methods ***/ +#define IDWriteFont1_GetFontFamily(This,family) (This)->lpVtbl->GetFontFamily(This,family) +#define IDWriteFont1_GetWeight(This) (This)->lpVtbl->GetWeight(This) +#define IDWriteFont1_GetStretch(This) (This)->lpVtbl->GetStretch(This) +#define IDWriteFont1_GetStyle(This) (This)->lpVtbl->GetStyle(This) +#define IDWriteFont1_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFont1_GetFaceNames(This,names) (This)->lpVtbl->GetFaceNames(This,names) +#define IDWriteFont1_GetInformationalStrings(This,stringid,strings,exists) (This)->lpVtbl->GetInformationalStrings(This,stringid,strings,exists) +#define IDWriteFont1_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFont1_HasCharacter(This,value,exists) (This)->lpVtbl->HasCharacter(This,value,exists) +#define IDWriteFont1_CreateFontFace(This,face) (This)->lpVtbl->CreateFontFace(This,face) +/*** IDWriteFont1 methods ***/ +#define IDWriteFont1_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFont1_GetMetrics(This,metrics) +#define IDWriteFont1_GetPanose(This,panose) (This)->lpVtbl->GetPanose(This,panose) +#define IDWriteFont1_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFont1_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFont1_QueryInterface(IDWriteFont1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFont1_AddRef(IDWriteFont1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFont1_Release(IDWriteFont1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFont methods ***/ +static FORCEINLINE HRESULT IDWriteFont1_GetFontFamily(IDWriteFont1* This,IDWriteFontFamily **family) { + return This->lpVtbl->GetFontFamily(This,family); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteFont1_GetWeight(IDWriteFont1* This) { + return This->lpVtbl->GetWeight(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteFont1_GetStretch(IDWriteFont1* This) { + return This->lpVtbl->GetStretch(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteFont1_GetStyle(IDWriteFont1* This) { + return This->lpVtbl->GetStyle(This); +} +static FORCEINLINE BOOL IDWriteFont1_IsSymbolFont(IDWriteFont1* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE HRESULT IDWriteFont1_GetFaceNames(IDWriteFont1* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFaceNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFont1_GetInformationalStrings(IDWriteFont1* This,DWRITE_INFORMATIONAL_STRING_ID stringid,IDWriteLocalizedStrings **strings,BOOL *exists) { + return This->lpVtbl->GetInformationalStrings(This,stringid,strings,exists); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFont1_GetSimulations(IDWriteFont1* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE HRESULT IDWriteFont1_HasCharacter(IDWriteFont1* This,UINT32 value,BOOL *exists) { + return This->lpVtbl->HasCharacter(This,value,exists); +} +static FORCEINLINE HRESULT IDWriteFont1_CreateFontFace(IDWriteFont1* This,IDWriteFontFace **face) { + return This->lpVtbl->CreateFontFace(This,face); +} +/*** IDWriteFont1 methods ***/ +static FORCEINLINE void IDWriteFont1_GetMetrics(IDWriteFont1* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFont1_GetMetrics(This,metrics); +} +static FORCEINLINE void IDWriteFont1_GetPanose(IDWriteFont1* This,DWRITE_PANOSE *panose) { + This->lpVtbl->GetPanose(This,panose); +} +static FORCEINLINE HRESULT IDWriteFont1_GetUnicodeRanges(IDWriteFont1* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFont1_IsMonospacedFont(IDWriteFont1* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFont1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteRenderingParams1 interface + */ +#ifndef __IDWriteRenderingParams1_INTERFACE_DEFINED__ +#define __IDWriteRenderingParams1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteRenderingParams1, 0x94413cf4, 0xa6fc, 0x4248, 0x8b,0x50, 0x66,0x74,0x34,0x8f,0xca,0xd3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("94413cf4-a6fc-4248-8b50-6674348fcad3") +IDWriteRenderingParams1 : public IDWriteRenderingParams +{ + virtual FLOAT STDMETHODCALLTYPE GetGrayscaleEnhancedContrast( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteRenderingParams1, 0x94413cf4, 0xa6fc, 0x4248, 0x8b,0x50, 0x66,0x74,0x34,0x8f,0xca,0xd3) +#endif +#else +typedef struct IDWriteRenderingParams1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteRenderingParams1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteRenderingParams1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteRenderingParams1 *This); + + /*** IDWriteRenderingParams methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGamma)( + IDWriteRenderingParams1 *This); + + FLOAT (STDMETHODCALLTYPE *GetEnhancedContrast)( + IDWriteRenderingParams1 *This); + + FLOAT (STDMETHODCALLTYPE *GetClearTypeLevel)( + IDWriteRenderingParams1 *This); + + DWRITE_PIXEL_GEOMETRY (STDMETHODCALLTYPE *GetPixelGeometry)( + IDWriteRenderingParams1 *This); + + DWRITE_RENDERING_MODE (STDMETHODCALLTYPE *GetRenderingMode)( + IDWriteRenderingParams1 *This); + + /*** IDWriteRenderingParams1 methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGrayscaleEnhancedContrast)( + IDWriteRenderingParams1 *This); + + END_INTERFACE +} IDWriteRenderingParams1Vtbl; + +interface IDWriteRenderingParams1 { + CONST_VTBL IDWriteRenderingParams1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteRenderingParams1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteRenderingParams1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteRenderingParams1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteRenderingParams methods ***/ +#define IDWriteRenderingParams1_GetGamma(This) (This)->lpVtbl->GetGamma(This) +#define IDWriteRenderingParams1_GetEnhancedContrast(This) (This)->lpVtbl->GetEnhancedContrast(This) +#define IDWriteRenderingParams1_GetClearTypeLevel(This) (This)->lpVtbl->GetClearTypeLevel(This) +#define IDWriteRenderingParams1_GetPixelGeometry(This) (This)->lpVtbl->GetPixelGeometry(This) +#define IDWriteRenderingParams1_GetRenderingMode(This) (This)->lpVtbl->GetRenderingMode(This) +/*** IDWriteRenderingParams1 methods ***/ +#define IDWriteRenderingParams1_GetGrayscaleEnhancedContrast(This) (This)->lpVtbl->GetGrayscaleEnhancedContrast(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteRenderingParams1_QueryInterface(IDWriteRenderingParams1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteRenderingParams1_AddRef(IDWriteRenderingParams1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteRenderingParams1_Release(IDWriteRenderingParams1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteRenderingParams methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams1_GetGamma(IDWriteRenderingParams1* This) { + return This->lpVtbl->GetGamma(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams1_GetEnhancedContrast(IDWriteRenderingParams1* This) { + return This->lpVtbl->GetEnhancedContrast(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams1_GetClearTypeLevel(IDWriteRenderingParams1* This) { + return This->lpVtbl->GetClearTypeLevel(This); +} +static FORCEINLINE DWRITE_PIXEL_GEOMETRY IDWriteRenderingParams1_GetPixelGeometry(IDWriteRenderingParams1* This) { + return This->lpVtbl->GetPixelGeometry(This); +} +static FORCEINLINE DWRITE_RENDERING_MODE IDWriteRenderingParams1_GetRenderingMode(IDWriteRenderingParams1* This) { + return This->lpVtbl->GetRenderingMode(This); +} +/*** IDWriteRenderingParams1 methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams1_GetGrayscaleEnhancedContrast(IDWriteRenderingParams1* This) { + return This->lpVtbl->GetGrayscaleEnhancedContrast(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteRenderingParams1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalyzer1 interface + */ +#ifndef __IDWriteTextAnalyzer1_INTERFACE_DEFINED__ +#define __IDWriteTextAnalyzer1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalyzer1, 0x80dad800, 0xe21f, 0x4e83, 0x96,0xce, 0xbf,0xcc,0xe5,0x00,0xdb,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("80dad800-e21f-4e83-96ce-bfcce500db7c") +IDWriteTextAnalyzer1 : public IDWriteTextAnalyzer +{ + virtual HRESULT STDMETHODCALLTYPE ApplyCharacterSpacing( + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT min_advance_width, + UINT32 len, + UINT32 glyph_count, + const UINT16 *clustermap, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *props, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBaseline( + IDWriteFontFace *face, + DWRITE_BASELINE baseline, + BOOL vertical, + BOOL is_simulation_allowed, + DWRITE_SCRIPT_ANALYSIS sa, + const WCHAR *localeName, + INT32 *baseline_coord, + BOOL *exists) = 0; + + virtual HRESULT STDMETHODCALLTYPE AnalyzeVerticalGlyphOrientation( + IDWriteTextAnalysisSource1 *source, + UINT32 text_pos, + UINT32 len, + IDWriteTextAnalysisSink1 *sink) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlyphOrientationTransform( + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + DWRITE_MATRIX *transform) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptProperties( + DWRITE_SCRIPT_ANALYSIS sa, + DWRITE_SCRIPT_PROPERTIES *props) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextComplexity( + const WCHAR *text, + UINT32 len, + IDWriteFontFace *face, + BOOL *is_simple, + UINT32 *len_read, + UINT16 *indices) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetJustificationOpportunities( + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + const WCHAR *text, + const UINT16 *clustermap, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + DWRITE_JUSTIFICATION_OPPORTUNITY *jo) = 0; + + virtual HRESULT STDMETHODCALLTYPE JustifyGlyphAdvances( + FLOAT width, + UINT32 glyph_count, + const DWRITE_JUSTIFICATION_OPPORTUNITY *jo, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + FLOAT *justifiedadvances, + DWRITE_GLYPH_OFFSET *justifiedoffsets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetJustifiedGlyphs( + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + UINT32 max_glyphcount, + const UINT16 *clustermap, + const UINT16 *indices, + const FLOAT *advances, + const FLOAT *justifiedadvances, + const DWRITE_GLYPH_OFFSET *justifiedoffsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + UINT32 *actual_count, + UINT16 *modified_clustermap, + UINT16 *modified_indices, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalyzer1, 0x80dad800, 0xe21f, 0x4e83, 0x96,0xce, 0xbf,0xcc,0xe5,0x00,0xdb,0x7c) +#endif +#else +typedef struct IDWriteTextAnalyzer1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalyzer1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalyzer1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalyzer1 *This); + + /*** IDWriteTextAnalyzer methods ***/ + HRESULT (STDMETHODCALLTYPE *AnalyzeScript)( + IDWriteTextAnalyzer1 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeBidi)( + IDWriteTextAnalyzer1 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeNumberSubstitution)( + IDWriteTextAnalyzer1 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeLineBreakpoints)( + IDWriteTextAnalyzer1 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *GetGlyphs)( + IDWriteTextAnalyzer1 *This, + const WCHAR *text, + UINT32 length, + IDWriteFontFace *font_face, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + IDWriteNumberSubstitution *substitution, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + UINT32 max_glyph_count, + UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *text_props, + UINT16 *glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 *actual_glyph_count); + + HRESULT (STDMETHODCALLTYPE *GetGlyphPlacements)( + IDWriteTextAnalyzer1 *This, + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphPlacements)( + IDWriteTextAnalyzer1 *This, + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_lengths, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets); + + /*** IDWriteTextAnalyzer1 methods ***/ + HRESULT (STDMETHODCALLTYPE *ApplyCharacterSpacing)( + IDWriteTextAnalyzer1 *This, + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT min_advance_width, + UINT32 len, + UINT32 glyph_count, + const UINT16 *clustermap, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *props, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets); + + HRESULT (STDMETHODCALLTYPE *GetBaseline)( + IDWriteTextAnalyzer1 *This, + IDWriteFontFace *face, + DWRITE_BASELINE baseline, + BOOL vertical, + BOOL is_simulation_allowed, + DWRITE_SCRIPT_ANALYSIS sa, + const WCHAR *localeName, + INT32 *baseline_coord, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *AnalyzeVerticalGlyphOrientation)( + IDWriteTextAnalyzer1 *This, + IDWriteTextAnalysisSource1 *source, + UINT32 text_pos, + UINT32 len, + IDWriteTextAnalysisSink1 *sink); + + HRESULT (STDMETHODCALLTYPE *GetGlyphOrientationTransform)( + IDWriteTextAnalyzer1 *This, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetScriptProperties)( + IDWriteTextAnalyzer1 *This, + DWRITE_SCRIPT_ANALYSIS sa, + DWRITE_SCRIPT_PROPERTIES *props); + + HRESULT (STDMETHODCALLTYPE *GetTextComplexity)( + IDWriteTextAnalyzer1 *This, + const WCHAR *text, + UINT32 len, + IDWriteFontFace *face, + BOOL *is_simple, + UINT32 *len_read, + UINT16 *indices); + + HRESULT (STDMETHODCALLTYPE *GetJustificationOpportunities)( + IDWriteTextAnalyzer1 *This, + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + const WCHAR *text, + const UINT16 *clustermap, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + DWRITE_JUSTIFICATION_OPPORTUNITY *jo); + + HRESULT (STDMETHODCALLTYPE *JustifyGlyphAdvances)( + IDWriteTextAnalyzer1 *This, + FLOAT width, + UINT32 glyph_count, + const DWRITE_JUSTIFICATION_OPPORTUNITY *jo, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + FLOAT *justifiedadvances, + DWRITE_GLYPH_OFFSET *justifiedoffsets); + + HRESULT (STDMETHODCALLTYPE *GetJustifiedGlyphs)( + IDWriteTextAnalyzer1 *This, + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + UINT32 max_glyphcount, + const UINT16 *clustermap, + const UINT16 *indices, + const FLOAT *advances, + const FLOAT *justifiedadvances, + const DWRITE_GLYPH_OFFSET *justifiedoffsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + UINT32 *actual_count, + UINT16 *modified_clustermap, + UINT16 *modified_indices, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets); + + END_INTERFACE +} IDWriteTextAnalyzer1Vtbl; + +interface IDWriteTextAnalyzer1 { + CONST_VTBL IDWriteTextAnalyzer1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalyzer1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalyzer1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalyzer1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalyzer methods ***/ +#define IDWriteTextAnalyzer1_AnalyzeScript(This,source,position,length,sink) (This)->lpVtbl->AnalyzeScript(This,source,position,length,sink) +#define IDWriteTextAnalyzer1_AnalyzeBidi(This,source,position,length,sink) (This)->lpVtbl->AnalyzeBidi(This,source,position,length,sink) +#define IDWriteTextAnalyzer1_AnalyzeNumberSubstitution(This,source,position,length,sink) (This)->lpVtbl->AnalyzeNumberSubstitution(This,source,position,length,sink) +#define IDWriteTextAnalyzer1_AnalyzeLineBreakpoints(This,source,position,length,sink) (This)->lpVtbl->AnalyzeLineBreakpoints(This,source,position,length,sink) +#define IDWriteTextAnalyzer1_GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count) (This)->lpVtbl->GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count) +#define IDWriteTextAnalyzer1_GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets) (This)->lpVtbl->GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets) +#define IDWriteTextAnalyzer1_GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets) (This)->lpVtbl->GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets) +/*** IDWriteTextAnalyzer1 methods ***/ +#define IDWriteTextAnalyzer1_ApplyCharacterSpacing(This,leading_spacing,trailing_spacing,min_advance_width,len,glyph_count,clustermap,advances,offsets,props,modified_advances,modified_offsets) (This)->lpVtbl->ApplyCharacterSpacing(This,leading_spacing,trailing_spacing,min_advance_width,len,glyph_count,clustermap,advances,offsets,props,modified_advances,modified_offsets) +#define IDWriteTextAnalyzer1_GetBaseline(This,face,baseline,vertical,is_simulation_allowed,sa,localeName,baseline_coord,exists) (This)->lpVtbl->GetBaseline(This,face,baseline,vertical,is_simulation_allowed,sa,localeName,baseline_coord,exists) +#define IDWriteTextAnalyzer1_AnalyzeVerticalGlyphOrientation(This,source,text_pos,len,sink) (This)->lpVtbl->AnalyzeVerticalGlyphOrientation(This,source,text_pos,len,sink) +#define IDWriteTextAnalyzer1_GetGlyphOrientationTransform(This,angle,is_sideways,transform) (This)->lpVtbl->GetGlyphOrientationTransform(This,angle,is_sideways,transform) +#define IDWriteTextAnalyzer1_GetScriptProperties(This,sa,props) (This)->lpVtbl->GetScriptProperties(This,sa,props) +#define IDWriteTextAnalyzer1_GetTextComplexity(This,text,len,face,is_simple,len_read,indices) (This)->lpVtbl->GetTextComplexity(This,text,len,face,is_simple,len_read,indices) +#define IDWriteTextAnalyzer1_GetJustificationOpportunities(This,face,font_em_size,sa,length,glyph_count,text,clustermap,prop,jo) (This)->lpVtbl->GetJustificationOpportunities(This,face,font_em_size,sa,length,glyph_count,text,clustermap,prop,jo) +#define IDWriteTextAnalyzer1_JustifyGlyphAdvances(This,width,glyph_count,jo,advances,offsets,justifiedadvances,justifiedoffsets) (This)->lpVtbl->JustifyGlyphAdvances(This,width,glyph_count,jo,advances,offsets,justifiedadvances,justifiedoffsets) +#define IDWriteTextAnalyzer1_GetJustifiedGlyphs(This,face,font_em_size,sa,length,glyph_count,max_glyphcount,clustermap,indices,advances,justifiedadvances,justifiedoffsets,prop,actual_count,modified_clustermap,modified_indices,modified_advances,modified_offsets) (This)->lpVtbl->GetJustifiedGlyphs(This,face,font_em_size,sa,length,glyph_count,max_glyphcount,clustermap,indices,advances,justifiedadvances,justifiedoffsets,prop,actual_count,modified_clustermap,modified_indices,modified_advances,modified_offsets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_QueryInterface(IDWriteTextAnalyzer1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalyzer1_AddRef(IDWriteTextAnalyzer1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalyzer1_Release(IDWriteTextAnalyzer1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalyzer methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_AnalyzeScript(IDWriteTextAnalyzer1* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeScript(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_AnalyzeBidi(IDWriteTextAnalyzer1* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeBidi(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_AnalyzeNumberSubstitution(IDWriteTextAnalyzer1* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeNumberSubstitution(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_AnalyzeLineBreakpoints(IDWriteTextAnalyzer1* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeLineBreakpoints(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetGlyphs(IDWriteTextAnalyzer1* This,const WCHAR *text,UINT32 length,IDWriteFontFace *font_face,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,IDWriteNumberSubstitution *substitution,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_len,UINT32 feature_ranges,UINT32 max_glyph_count,UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *text_props,UINT16 *glyph_indices,DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 *actual_glyph_count) { + return This->lpVtbl->GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetGlyphPlacements(IDWriteTextAnalyzer1* This,const WCHAR *text,const UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *props,UINT32 text_len,const UINT16 *glyph_indices,const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 glyph_count,IDWriteFontFace *font_face,FLOAT fontEmSize,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_len,UINT32 feature_ranges,FLOAT *glyph_advances,DWRITE_GLYPH_OFFSET *glyph_offsets) { + return This->lpVtbl->GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetGdiCompatibleGlyphPlacements(IDWriteTextAnalyzer1* This,const WCHAR *text,const UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *props,UINT32 text_len,const UINT16 *glyph_indices,const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 glyph_count,IDWriteFontFace *font_face,FLOAT fontEmSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_lengths,UINT32 feature_ranges,FLOAT *glyph_advances,DWRITE_GLYPH_OFFSET *glyph_offsets) { + return This->lpVtbl->GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets); +} +/*** IDWriteTextAnalyzer1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_ApplyCharacterSpacing(IDWriteTextAnalyzer1* This,FLOAT leading_spacing,FLOAT trailing_spacing,FLOAT min_advance_width,UINT32 len,UINT32 glyph_count,const UINT16 *clustermap,const FLOAT *advances,const DWRITE_GLYPH_OFFSET *offsets,const DWRITE_SHAPING_GLYPH_PROPERTIES *props,FLOAT *modified_advances,DWRITE_GLYPH_OFFSET *modified_offsets) { + return This->lpVtbl->ApplyCharacterSpacing(This,leading_spacing,trailing_spacing,min_advance_width,len,glyph_count,clustermap,advances,offsets,props,modified_advances,modified_offsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetBaseline(IDWriteTextAnalyzer1* This,IDWriteFontFace *face,DWRITE_BASELINE baseline,BOOL vertical,BOOL is_simulation_allowed,DWRITE_SCRIPT_ANALYSIS sa,const WCHAR *localeName,INT32 *baseline_coord,BOOL *exists) { + return This->lpVtbl->GetBaseline(This,face,baseline,vertical,is_simulation_allowed,sa,localeName,baseline_coord,exists); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_AnalyzeVerticalGlyphOrientation(IDWriteTextAnalyzer1* This,IDWriteTextAnalysisSource1 *source,UINT32 text_pos,UINT32 len,IDWriteTextAnalysisSink1 *sink) { + return This->lpVtbl->AnalyzeVerticalGlyphOrientation(This,source,text_pos,len,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetGlyphOrientationTransform(IDWriteTextAnalyzer1* This,DWRITE_GLYPH_ORIENTATION_ANGLE angle,BOOL is_sideways,DWRITE_MATRIX *transform) { + return This->lpVtbl->GetGlyphOrientationTransform(This,angle,is_sideways,transform); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetScriptProperties(IDWriteTextAnalyzer1* This,DWRITE_SCRIPT_ANALYSIS sa,DWRITE_SCRIPT_PROPERTIES *props) { + return This->lpVtbl->GetScriptProperties(This,sa,props); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetTextComplexity(IDWriteTextAnalyzer1* This,const WCHAR *text,UINT32 len,IDWriteFontFace *face,BOOL *is_simple,UINT32 *len_read,UINT16 *indices) { + return This->lpVtbl->GetTextComplexity(This,text,len,face,is_simple,len_read,indices); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetJustificationOpportunities(IDWriteTextAnalyzer1* This,IDWriteFontFace *face,FLOAT font_em_size,DWRITE_SCRIPT_ANALYSIS sa,UINT32 length,UINT32 glyph_count,const WCHAR *text,const UINT16 *clustermap,const DWRITE_SHAPING_GLYPH_PROPERTIES *prop,DWRITE_JUSTIFICATION_OPPORTUNITY *jo) { + return This->lpVtbl->GetJustificationOpportunities(This,face,font_em_size,sa,length,glyph_count,text,clustermap,prop,jo); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_JustifyGlyphAdvances(IDWriteTextAnalyzer1* This,FLOAT width,UINT32 glyph_count,const DWRITE_JUSTIFICATION_OPPORTUNITY *jo,const FLOAT *advances,const DWRITE_GLYPH_OFFSET *offsets,FLOAT *justifiedadvances,DWRITE_GLYPH_OFFSET *justifiedoffsets) { + return This->lpVtbl->JustifyGlyphAdvances(This,width,glyph_count,jo,advances,offsets,justifiedadvances,justifiedoffsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer1_GetJustifiedGlyphs(IDWriteTextAnalyzer1* This,IDWriteFontFace *face,FLOAT font_em_size,DWRITE_SCRIPT_ANALYSIS sa,UINT32 length,UINT32 glyph_count,UINT32 max_glyphcount,const UINT16 *clustermap,const UINT16 *indices,const FLOAT *advances,const FLOAT *justifiedadvances,const DWRITE_GLYPH_OFFSET *justifiedoffsets,const DWRITE_SHAPING_GLYPH_PROPERTIES *prop,UINT32 *actual_count,UINT16 *modified_clustermap,UINT16 *modified_indices,FLOAT *modified_advances,DWRITE_GLYPH_OFFSET *modified_offsets) { + return This->lpVtbl->GetJustifiedGlyphs(This,face,font_em_size,sa,length,glyph_count,max_glyphcount,clustermap,indices,advances,justifiedadvances,justifiedoffsets,prop,actual_count,modified_clustermap,modified_indices,modified_advances,modified_offsets); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalyzer1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalysisSource1 interface + */ +#ifndef __IDWriteTextAnalysisSource1_INTERFACE_DEFINED__ +#define __IDWriteTextAnalysisSource1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalysisSource1, 0x639cfad8, 0x0fb4, 0x4b21, 0xa5,0x8a, 0x06,0x79,0x20,0x12,0x00,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("639cfad8-0fb4-4b21-a58a-067920120009") +IDWriteTextAnalysisSource1 : public IDWriteTextAnalysisSource +{ + virtual HRESULT STDMETHODCALLTYPE GetVerticalGlyphOrientation( + UINT32 pos, + UINT32 *length, + DWRITE_VERTICAL_GLYPH_ORIENTATION *orientation, + UINT8 *bidi_level) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalysisSource1, 0x639cfad8, 0x0fb4, 0x4b21, 0xa5,0x8a, 0x06,0x79,0x20,0x12,0x00,0x09) +#endif +#else +typedef struct IDWriteTextAnalysisSource1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalysisSource1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalysisSource1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalysisSource1 *This); + + /*** IDWriteTextAnalysisSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTextAtPosition)( + IDWriteTextAnalysisSource1 *This, + UINT32 position, + const WCHAR **text, + UINT32 *text_len); + + HRESULT (STDMETHODCALLTYPE *GetTextBeforePosition)( + IDWriteTextAnalysisSource1 *This, + UINT32 position, + const WCHAR **text, + UINT32 *text_len); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetParagraphReadingDirection)( + IDWriteTextAnalysisSource1 *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextAnalysisSource1 *This, + UINT32 position, + UINT32 *text_len, + const WCHAR **locale); + + HRESULT (STDMETHODCALLTYPE *GetNumberSubstitution)( + IDWriteTextAnalysisSource1 *This, + UINT32 position, + UINT32 *text_len, + IDWriteNumberSubstitution **substitution); + + /*** IDWriteTextAnalysisSource1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVerticalGlyphOrientation)( + IDWriteTextAnalysisSource1 *This, + UINT32 pos, + UINT32 *length, + DWRITE_VERTICAL_GLYPH_ORIENTATION *orientation, + UINT8 *bidi_level); + + END_INTERFACE +} IDWriteTextAnalysisSource1Vtbl; + +interface IDWriteTextAnalysisSource1 { + CONST_VTBL IDWriteTextAnalysisSource1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalysisSource1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalysisSource1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalysisSource1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalysisSource methods ***/ +#define IDWriteTextAnalysisSource1_GetTextAtPosition(This,position,text,text_len) (This)->lpVtbl->GetTextAtPosition(This,position,text,text_len) +#define IDWriteTextAnalysisSource1_GetTextBeforePosition(This,position,text,text_len) (This)->lpVtbl->GetTextBeforePosition(This,position,text,text_len) +#define IDWriteTextAnalysisSource1_GetParagraphReadingDirection(This) (This)->lpVtbl->GetParagraphReadingDirection(This) +#define IDWriteTextAnalysisSource1_GetLocaleName(This,position,text_len,locale) (This)->lpVtbl->GetLocaleName(This,position,text_len,locale) +#define IDWriteTextAnalysisSource1_GetNumberSubstitution(This,position,text_len,substitution) (This)->lpVtbl->GetNumberSubstitution(This,position,text_len,substitution) +/*** IDWriteTextAnalysisSource1 methods ***/ +#define IDWriteTextAnalysisSource1_GetVerticalGlyphOrientation(This,pos,length,orientation,bidi_level) (This)->lpVtbl->GetVerticalGlyphOrientation(This,pos,length,orientation,bidi_level) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSource1_QueryInterface(IDWriteTextAnalysisSource1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSource1_AddRef(IDWriteTextAnalysisSource1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSource1_Release(IDWriteTextAnalysisSource1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalysisSource methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSource1_GetTextAtPosition(IDWriteTextAnalysisSource1* This,UINT32 position,const WCHAR **text,UINT32 *text_len) { + return This->lpVtbl->GetTextAtPosition(This,position,text,text_len); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSource1_GetTextBeforePosition(IDWriteTextAnalysisSource1* This,UINT32 position,const WCHAR **text,UINT32 *text_len) { + return This->lpVtbl->GetTextBeforePosition(This,position,text,text_len); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextAnalysisSource1_GetParagraphReadingDirection(IDWriteTextAnalysisSource1* This) { + return This->lpVtbl->GetParagraphReadingDirection(This); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSource1_GetLocaleName(IDWriteTextAnalysisSource1* This,UINT32 position,UINT32 *text_len,const WCHAR **locale) { + return This->lpVtbl->GetLocaleName(This,position,text_len,locale); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSource1_GetNumberSubstitution(IDWriteTextAnalysisSource1* This,UINT32 position,UINT32 *text_len,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->GetNumberSubstitution(This,position,text_len,substitution); +} +/*** IDWriteTextAnalysisSource1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSource1_GetVerticalGlyphOrientation(IDWriteTextAnalysisSource1* This,UINT32 pos,UINT32 *length,DWRITE_VERTICAL_GLYPH_ORIENTATION *orientation,UINT8 *bidi_level) { + return This->lpVtbl->GetVerticalGlyphOrientation(This,pos,length,orientation,bidi_level); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalysisSource1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalysisSink1 interface + */ +#ifndef __IDWriteTextAnalysisSink1_INTERFACE_DEFINED__ +#define __IDWriteTextAnalysisSink1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalysisSink1, 0xb0d941a0, 0x85e7, 0x4d8b, 0x9f,0xd3, 0x5c,0xed,0x99,0x34,0x48,0x2a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b0d941a0-85e7-4d8b-9fd3-5ced9934482a") +IDWriteTextAnalysisSink1 : public IDWriteTextAnalysisSink +{ + virtual HRESULT STDMETHODCALLTYPE SetGlyphOrientation( + UINT32 pos, + UINT32 length, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + UINT8 adjusted_bidilevel, + BOOL is_sideways, + BOOL is_rtl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalysisSink1, 0xb0d941a0, 0x85e7, 0x4d8b, 0x9f,0xd3, 0x5c,0xed,0x99,0x34,0x48,0x2a) +#endif +#else +typedef struct IDWriteTextAnalysisSink1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalysisSink1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalysisSink1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalysisSink1 *This); + + /*** IDWriteTextAnalysisSink methods ***/ + HRESULT (STDMETHODCALLTYPE *SetScriptAnalysis)( + IDWriteTextAnalysisSink1 *This, + UINT32 position, + UINT32 length, + const DWRITE_SCRIPT_ANALYSIS *scriptanalysis); + + HRESULT (STDMETHODCALLTYPE *SetLineBreakpoints)( + IDWriteTextAnalysisSink1 *This, + UINT32 position, + UINT32 length, + const DWRITE_LINE_BREAKPOINT *breakpoints); + + HRESULT (STDMETHODCALLTYPE *SetBidiLevel)( + IDWriteTextAnalysisSink1 *This, + UINT32 position, + UINT32 length, + UINT8 explicitLevel, + UINT8 resolvedLevel); + + HRESULT (STDMETHODCALLTYPE *SetNumberSubstitution)( + IDWriteTextAnalysisSink1 *This, + UINT32 position, + UINT32 length, + IDWriteNumberSubstitution *substitution); + + /*** IDWriteTextAnalysisSink1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGlyphOrientation)( + IDWriteTextAnalysisSink1 *This, + UINT32 pos, + UINT32 length, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + UINT8 adjusted_bidilevel, + BOOL is_sideways, + BOOL is_rtl); + + END_INTERFACE +} IDWriteTextAnalysisSink1Vtbl; + +interface IDWriteTextAnalysisSink1 { + CONST_VTBL IDWriteTextAnalysisSink1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalysisSink1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalysisSink1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalysisSink1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalysisSink methods ***/ +#define IDWriteTextAnalysisSink1_SetScriptAnalysis(This,position,length,scriptanalysis) (This)->lpVtbl->SetScriptAnalysis(This,position,length,scriptanalysis) +#define IDWriteTextAnalysisSink1_SetLineBreakpoints(This,position,length,breakpoints) (This)->lpVtbl->SetLineBreakpoints(This,position,length,breakpoints) +#define IDWriteTextAnalysisSink1_SetBidiLevel(This,position,length,explicitLevel,resolvedLevel) (This)->lpVtbl->SetBidiLevel(This,position,length,explicitLevel,resolvedLevel) +#define IDWriteTextAnalysisSink1_SetNumberSubstitution(This,position,length,substitution) (This)->lpVtbl->SetNumberSubstitution(This,position,length,substitution) +/*** IDWriteTextAnalysisSink1 methods ***/ +#define IDWriteTextAnalysisSink1_SetGlyphOrientation(This,pos,length,angle,adjusted_bidilevel,is_sideways,is_rtl) (This)->lpVtbl->SetGlyphOrientation(This,pos,length,angle,adjusted_bidilevel,is_sideways,is_rtl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSink1_QueryInterface(IDWriteTextAnalysisSink1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSink1_AddRef(IDWriteTextAnalysisSink1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalysisSink1_Release(IDWriteTextAnalysisSink1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalysisSink methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSink1_SetScriptAnalysis(IDWriteTextAnalysisSink1* This,UINT32 position,UINT32 length,const DWRITE_SCRIPT_ANALYSIS *scriptanalysis) { + return This->lpVtbl->SetScriptAnalysis(This,position,length,scriptanalysis); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSink1_SetLineBreakpoints(IDWriteTextAnalysisSink1* This,UINT32 position,UINT32 length,const DWRITE_LINE_BREAKPOINT *breakpoints) { + return This->lpVtbl->SetLineBreakpoints(This,position,length,breakpoints); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSink1_SetBidiLevel(IDWriteTextAnalysisSink1* This,UINT32 position,UINT32 length,UINT8 explicitLevel,UINT8 resolvedLevel) { + return This->lpVtbl->SetBidiLevel(This,position,length,explicitLevel,resolvedLevel); +} +static FORCEINLINE HRESULT IDWriteTextAnalysisSink1_SetNumberSubstitution(IDWriteTextAnalysisSink1* This,UINT32 position,UINT32 length,IDWriteNumberSubstitution *substitution) { + return This->lpVtbl->SetNumberSubstitution(This,position,length,substitution); +} +/*** IDWriteTextAnalysisSink1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalysisSink1_SetGlyphOrientation(IDWriteTextAnalysisSink1* This,UINT32 pos,UINT32 length,DWRITE_GLYPH_ORIENTATION_ANGLE angle,UINT8 adjusted_bidilevel,BOOL is_sideways,BOOL is_rtl) { + return This->lpVtbl->SetGlyphOrientation(This,pos,length,angle,adjusted_bidilevel,is_sideways,is_rtl); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalysisSink1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextLayout1 interface + */ +#ifndef __IDWriteTextLayout1_INTERFACE_DEFINED__ +#define __IDWriteTextLayout1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextLayout1, 0x9064d822, 0x80a7, 0x465c, 0xa9,0x86, 0xdf,0x65,0xf7,0x8b,0x8f,0xeb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9064d822-80a7-465c-a986-df65f78b8feb") +IDWriteTextLayout1 : public IDWriteTextLayout +{ + virtual HRESULT STDMETHODCALLTYPE SetPairKerning( + BOOL is_pairkerning_enabled, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPairKerning( + UINT32 position, + BOOL *is_pairkerning_enabled, + DWRITE_TEXT_RANGE *range) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCharacterSpacing( + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT minimum_advance_width, + DWRITE_TEXT_RANGE range) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharacterSpacing( + UINT32 position, + FLOAT *leading_spacing, + FLOAT *trailing_spacing, + FLOAT *minimum_advance_width, + DWRITE_TEXT_RANGE *range = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextLayout1, 0x9064d822, 0x80a7, 0x465c, 0xa9,0x86, 0xdf,0x65,0xf7,0x8b,0x8f,0xeb) +#endif +#else +typedef struct IDWriteTextLayout1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextLayout1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextLayout1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextLayout1 *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextLayout1 *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextLayout1 *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextLayout1 *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextLayout1 *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextLayout1 *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextLayout1 *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextLayout1 *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextLayout1 *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextLayout1 *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextLayout1 *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextLayout1 *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextLayout1 *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextLayout1 *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextLayout1 *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextLayout1 *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextLayout1 *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextLayout1 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextLayout1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextLayout1 *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextLayout1 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextLayout1 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextLayout1 *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextLayout1 *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextLayout1 *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextLayout1 *This, + WCHAR *name, + UINT32 size); + + /*** IDWriteTextLayout methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaxWidth)( + IDWriteTextLayout1 *This, + FLOAT maxWidth); + + HRESULT (STDMETHODCALLTYPE *SetMaxHeight)( + IDWriteTextLayout1 *This, + FLOAT maxHeight); + + HRESULT (STDMETHODCALLTYPE *SetFontCollection)( + IDWriteTextLayout1 *This, + IDWriteFontCollection *collection, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontFamilyName)( + IDWriteTextLayout1 *This, + const WCHAR *name, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontWeight)( + IDWriteTextLayout1 *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStyle)( + IDWriteTextLayout1 *This, + DWRITE_FONT_STYLE style, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStretch)( + IDWriteTextLayout1 *This, + DWRITE_FONT_STRETCH stretch, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontSize)( + IDWriteTextLayout1 *This, + FLOAT size, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetUnderline)( + IDWriteTextLayout1 *This, + BOOL underline, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetStrikethrough)( + IDWriteTextLayout1 *This, + BOOL strikethrough, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetDrawingEffect)( + IDWriteTextLayout1 *This, + IUnknown *effect, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetInlineObject)( + IDWriteTextLayout1 *This, + IDWriteInlineObject *object, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetTypography)( + IDWriteTextLayout1 *This, + IDWriteTypography *typography, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetLocaleName)( + IDWriteTextLayout1 *This, + const WCHAR *locale, + DWRITE_TEXT_RANGE range); + + FLOAT (STDMETHODCALLTYPE *GetMaxWidth)( + IDWriteTextLayout1 *This); + + FLOAT (STDMETHODCALLTYPE *GetMaxHeight)( + IDWriteTextLayout1 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontCollection)( + IDWriteTextLayout1 *This, + UINT32 pos, + IDWriteFontCollection **collection, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyNameLength)( + IDWriteTextLayout1 *This, + UINT32 pos, + UINT32 *len, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyName)( + IDWriteTextLayout1 *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontWeight)( + IDWriteTextLayout1 *This, + UINT32 position, + DWRITE_FONT_WEIGHT *weight, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStyle)( + IDWriteTextLayout1 *This, + UINT32 currentPosition, + DWRITE_FONT_STYLE *style, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStretch)( + IDWriteTextLayout1 *This, + UINT32 position, + DWRITE_FONT_STRETCH *stretch, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontSize)( + IDWriteTextLayout1 *This, + UINT32 position, + FLOAT *size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetUnderline)( + IDWriteTextLayout1 *This, + UINT32 position, + BOOL *has_underline, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetStrikethrough)( + IDWriteTextLayout1 *This, + UINT32 position, + BOOL *has_strikethrough, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetDrawingEffect)( + IDWriteTextLayout1 *This, + UINT32 position, + IUnknown **effect, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetInlineObject)( + IDWriteTextLayout1 *This, + UINT32 position, + IDWriteInlineObject **object, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetTypography)( + IDWriteTextLayout1 *This, + UINT32 position, + IDWriteTypography **typography, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleNameLength)( + IDWriteTextLayout1 *This, + UINT32 position, + UINT32 *length, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleName)( + IDWriteTextLayout1 *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IDWriteTextLayout1 *This, + void *context, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY); + + HRESULT (STDMETHODCALLTYPE *GetLineMetrics)( + IDWriteTextLayout1 *This, + DWRITE_LINE_METRICS *metrics, + UINT32 max_count, + UINT32 *actual_count); + + HRESULT (STDMETHODCALLTYPE *GetMetrics)( + IDWriteTextLayout1 *This, + DWRITE_TEXT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetOverhangMetrics)( + IDWriteTextLayout1 *This, + DWRITE_OVERHANG_METRICS *overhangs); + + HRESULT (STDMETHODCALLTYPE *GetClusterMetrics)( + IDWriteTextLayout1 *This, + DWRITE_CLUSTER_METRICS *metrics, + UINT32 max_count, + UINT32 *act_count); + + HRESULT (STDMETHODCALLTYPE *DetermineMinWidth)( + IDWriteTextLayout1 *This, + FLOAT *min_width); + + HRESULT (STDMETHODCALLTYPE *HitTestPoint)( + IDWriteTextLayout1 *This, + FLOAT pointX, + FLOAT pointY, + BOOL *is_trailinghit, + BOOL *is_inside, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextPosition)( + IDWriteTextLayout1 *This, + UINT32 textPosition, + BOOL is_trailinghit, + FLOAT *pointX, + FLOAT *pointY, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextRange)( + IDWriteTextLayout1 *This, + UINT32 textPosition, + UINT32 textLength, + FLOAT originX, + FLOAT originY, + DWRITE_HIT_TEST_METRICS *metrics, + UINT32 max_metricscount, + UINT32 *actual_metricscount); + + /*** IDWriteTextLayout1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPairKerning)( + IDWriteTextLayout1 *This, + BOOL is_pairkerning_enabled, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *GetPairKerning)( + IDWriteTextLayout1 *This, + UINT32 position, + BOOL *is_pairkerning_enabled, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *SetCharacterSpacing)( + IDWriteTextLayout1 *This, + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT minimum_advance_width, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *GetCharacterSpacing)( + IDWriteTextLayout1 *This, + UINT32 position, + FLOAT *leading_spacing, + FLOAT *trailing_spacing, + FLOAT *minimum_advance_width, + DWRITE_TEXT_RANGE *range); + + END_INTERFACE +} IDWriteTextLayout1Vtbl; + +interface IDWriteTextLayout1 { + CONST_VTBL IDWriteTextLayout1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextLayout1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextLayout1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextLayout1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextLayout1_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextLayout1_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextLayout1_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextLayout1_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextLayout1_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextLayout1_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextLayout1_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextLayout1_SetLineSpacing(This,spacing,line_spacing,baseline) (This)->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline) +#define IDWriteTextLayout1_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextLayout1_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextLayout1_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextLayout1_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextLayout1_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextLayout1_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextLayout1_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +#define IDWriteTextLayout1_GetLineSpacing(This,method,spacing,baseline) (This)->lpVtbl->GetLineSpacing(This,method,spacing,baseline) +/*** IDWriteTextLayout methods ***/ +#define IDWriteTextLayout1_SetMaxWidth(This,maxWidth) (This)->lpVtbl->SetMaxWidth(This,maxWidth) +#define IDWriteTextLayout1_SetMaxHeight(This,maxHeight) (This)->lpVtbl->SetMaxHeight(This,maxHeight) +#define IDWriteTextLayout1_SetFontCollection(This,collection,range) (This)->lpVtbl->SetFontCollection(This,collection,range) +#define IDWriteTextLayout1_SetFontFamilyName(This,name,range) (This)->lpVtbl->SetFontFamilyName(This,name,range) +#define IDWriteTextLayout1_SetFontWeight(This,weight,range) (This)->lpVtbl->SetFontWeight(This,weight,range) +#define IDWriteTextLayout1_SetFontStyle(This,style,range) (This)->lpVtbl->SetFontStyle(This,style,range) +#define IDWriteTextLayout1_SetFontStretch(This,stretch,range) (This)->lpVtbl->SetFontStretch(This,stretch,range) +#define IDWriteTextLayout1_SetFontSize(This,size,range) (This)->lpVtbl->SetFontSize(This,size,range) +#define IDWriteTextLayout1_SetUnderline(This,underline,range) (This)->lpVtbl->SetUnderline(This,underline,range) +#define IDWriteTextLayout1_SetStrikethrough(This,strikethrough,range) (This)->lpVtbl->SetStrikethrough(This,strikethrough,range) +#define IDWriteTextLayout1_SetDrawingEffect(This,effect,range) (This)->lpVtbl->SetDrawingEffect(This,effect,range) +#define IDWriteTextLayout1_SetInlineObject(This,object,range) (This)->lpVtbl->SetInlineObject(This,object,range) +#define IDWriteTextLayout1_SetTypography(This,typography,range) (This)->lpVtbl->SetTypography(This,typography,range) +#define IDWriteTextLayout1_SetLocaleName(This,locale,range) (This)->lpVtbl->SetLocaleName(This,locale,range) +#define IDWriteTextLayout1_GetMaxWidth(This) (This)->lpVtbl->GetMaxWidth(This) +#define IDWriteTextLayout1_GetMaxHeight(This) (This)->lpVtbl->GetMaxHeight(This) +#define IDWriteTextLayout1_GetFontCollection(This,pos,collection,range) (This)->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range) +#define IDWriteTextLayout1_GetFontFamilyNameLength(This,pos,len,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range) +#define IDWriteTextLayout1_GetFontFamilyName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range) +#define IDWriteTextLayout1_GetFontWeight(This,position,weight,range) (This)->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range) +#define IDWriteTextLayout1_GetFontStyle(This,currentPosition,style,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range) +#define IDWriteTextLayout1_GetFontStretch(This,position,stretch,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range) +#define IDWriteTextLayout1_GetFontSize(This,position,size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range) +#define IDWriteTextLayout1_GetUnderline(This,position,has_underline,range) (This)->lpVtbl->GetUnderline(This,position,has_underline,range) +#define IDWriteTextLayout1_GetStrikethrough(This,position,has_strikethrough,range) (This)->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range) +#define IDWriteTextLayout1_GetDrawingEffect(This,position,effect,range) (This)->lpVtbl->GetDrawingEffect(This,position,effect,range) +#define IDWriteTextLayout1_GetInlineObject(This,position,object,range) (This)->lpVtbl->GetInlineObject(This,position,object,range) +#define IDWriteTextLayout1_GetTypography(This,position,typography,range) (This)->lpVtbl->GetTypography(This,position,typography,range) +#define IDWriteTextLayout1_GetLocaleNameLength(This,position,length,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range) +#define IDWriteTextLayout1_GetLocaleName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range) +#define IDWriteTextLayout1_Draw(This,context,renderer,originX,originY) (This)->lpVtbl->Draw(This,context,renderer,originX,originY) +#define IDWriteTextLayout1_GetLineMetrics(This,metrics,max_count,actual_count) (This)->lpVtbl->GetLineMetrics(This,metrics,max_count,actual_count) +#define IDWriteTextLayout1_GetMetrics(This,metrics) (This)->lpVtbl->GetMetrics(This,metrics) +#define IDWriteTextLayout1_GetOverhangMetrics(This,overhangs) (This)->lpVtbl->GetOverhangMetrics(This,overhangs) +#define IDWriteTextLayout1_GetClusterMetrics(This,metrics,max_count,act_count) (This)->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count) +#define IDWriteTextLayout1_DetermineMinWidth(This,min_width) (This)->lpVtbl->DetermineMinWidth(This,min_width) +#define IDWriteTextLayout1_HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) (This)->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) +#define IDWriteTextLayout1_HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) (This)->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) +#define IDWriteTextLayout1_HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) (This)->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) +/*** IDWriteTextLayout1 methods ***/ +#define IDWriteTextLayout1_SetPairKerning(This,is_pairkerning_enabled,range) (This)->lpVtbl->SetPairKerning(This,is_pairkerning_enabled,range) +#define IDWriteTextLayout1_GetPairKerning(This,position,is_pairkerning_enabled,range) (This)->lpVtbl->GetPairKerning(This,position,is_pairkerning_enabled,range) +#define IDWriteTextLayout1_SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range) (This)->lpVtbl->SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range) +#define IDWriteTextLayout1_GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range) (This)->lpVtbl->GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout1_QueryInterface(IDWriteTextLayout1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextLayout1_AddRef(IDWriteTextLayout1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextLayout1_Release(IDWriteTextLayout1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout1_SetTextAlignment(IDWriteTextLayout1* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetParagraphAlignment(IDWriteTextLayout1* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetWordWrapping(IDWriteTextLayout1* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetReadingDirection(IDWriteTextLayout1* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFlowDirection(IDWriteTextLayout1* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetIncrementalTabStop(IDWriteTextLayout1* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetTrimming(IDWriteTextLayout1* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetLineSpacing(IDWriteTextLayout1* This,DWRITE_LINE_SPACING_METHOD spacing,FLOAT line_spacing,FLOAT baseline) { + return This->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextLayout1_GetTextAlignment(IDWriteTextLayout1* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextLayout1_GetParagraphAlignment(IDWriteTextLayout1* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextLayout1_GetWordWrapping(IDWriteTextLayout1* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextLayout1_GetReadingDirection(IDWriteTextLayout1* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextLayout1_GetFlowDirection(IDWriteTextLayout1* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout1_GetIncrementalTabStop(IDWriteTextLayout1* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetTrimming(IDWriteTextLayout1* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetLineSpacing(IDWriteTextLayout1* This,DWRITE_LINE_SPACING_METHOD *method,FLOAT *spacing,FLOAT *baseline) { + return This->lpVtbl->GetLineSpacing(This,method,spacing,baseline); +} +/*** IDWriteTextLayout methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout1_SetMaxWidth(IDWriteTextLayout1* This,FLOAT maxWidth) { + return This->lpVtbl->SetMaxWidth(This,maxWidth); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetMaxHeight(IDWriteTextLayout1* This,FLOAT maxHeight) { + return This->lpVtbl->SetMaxHeight(This,maxHeight); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFontCollection(IDWriteTextLayout1* This,IDWriteFontCollection *collection,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontCollection(This,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFontFamilyName(IDWriteTextLayout1* This,const WCHAR *name,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontFamilyName(This,name,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFontWeight(IDWriteTextLayout1* This,DWRITE_FONT_WEIGHT weight,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontWeight(This,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFontStyle(IDWriteTextLayout1* This,DWRITE_FONT_STYLE style,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStyle(This,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFontStretch(IDWriteTextLayout1* This,DWRITE_FONT_STRETCH stretch,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStretch(This,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetFontSize(IDWriteTextLayout1* This,FLOAT size,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontSize(This,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetUnderline(IDWriteTextLayout1* This,BOOL underline,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetUnderline(This,underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetStrikethrough(IDWriteTextLayout1* This,BOOL strikethrough,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetStrikethrough(This,strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetDrawingEffect(IDWriteTextLayout1* This,IUnknown *effect,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetDrawingEffect(This,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetInlineObject(IDWriteTextLayout1* This,IDWriteInlineObject *object,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetInlineObject(This,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetTypography(IDWriteTextLayout1* This,IDWriteTypography *typography,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetTypography(This,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetLocaleName(IDWriteTextLayout1* This,const WCHAR *locale,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetLocaleName(This,locale,range); +} +static FORCEINLINE FLOAT IDWriteTextLayout1_GetMaxWidth(IDWriteTextLayout1* This) { + return This->lpVtbl->GetMaxWidth(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout1_GetMaxHeight(IDWriteTextLayout1* This) { + return This->lpVtbl->GetMaxHeight(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontCollection(IDWriteTextLayout1* This,UINT32 pos,IDWriteFontCollection **collection,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontFamilyNameLength(IDWriteTextLayout1* This,UINT32 pos,UINT32 *len,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontFamilyName(IDWriteTextLayout1* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontWeight(IDWriteTextLayout1* This,UINT32 position,DWRITE_FONT_WEIGHT *weight,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontStyle(IDWriteTextLayout1* This,UINT32 currentPosition,DWRITE_FONT_STYLE *style,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontStretch(IDWriteTextLayout1* This,UINT32 position,DWRITE_FONT_STRETCH *stretch,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetFontSize(IDWriteTextLayout1* This,UINT32 position,FLOAT *size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetUnderline(IDWriteTextLayout1* This,UINT32 position,BOOL *has_underline,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetUnderline(This,position,has_underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetStrikethrough(IDWriteTextLayout1* This,UINT32 position,BOOL *has_strikethrough,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetDrawingEffect(IDWriteTextLayout1* This,UINT32 position,IUnknown **effect,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetDrawingEffect(This,position,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetInlineObject(IDWriteTextLayout1* This,UINT32 position,IDWriteInlineObject **object,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetInlineObject(This,position,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetTypography(IDWriteTextLayout1* This,UINT32 position,IDWriteTypography **typography,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetTypography(This,position,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetLocaleNameLength(IDWriteTextLayout1* This,UINT32 position,UINT32 *length,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetLocaleName(IDWriteTextLayout1* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_Draw(IDWriteTextLayout1* This,void *context,IDWriteTextRenderer *renderer,FLOAT originX,FLOAT originY) { + return This->lpVtbl->Draw(This,context,renderer,originX,originY); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetLineMetrics(IDWriteTextLayout1* This,DWRITE_LINE_METRICS *metrics,UINT32 max_count,UINT32 *actual_count) { + return This->lpVtbl->GetLineMetrics(This,metrics,max_count,actual_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetMetrics(IDWriteTextLayout1* This,DWRITE_TEXT_METRICS *metrics) { + return This->lpVtbl->GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetOverhangMetrics(IDWriteTextLayout1* This,DWRITE_OVERHANG_METRICS *overhangs) { + return This->lpVtbl->GetOverhangMetrics(This,overhangs); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetClusterMetrics(IDWriteTextLayout1* This,DWRITE_CLUSTER_METRICS *metrics,UINT32 max_count,UINT32 *act_count) { + return This->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_DetermineMinWidth(IDWriteTextLayout1* This,FLOAT *min_width) { + return This->lpVtbl->DetermineMinWidth(This,min_width); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_HitTestPoint(IDWriteTextLayout1* This,FLOAT pointX,FLOAT pointY,BOOL *is_trailinghit,BOOL *is_inside,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_HitTestTextPosition(IDWriteTextLayout1* This,UINT32 textPosition,BOOL is_trailinghit,FLOAT *pointX,FLOAT *pointY,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_HitTestTextRange(IDWriteTextLayout1* This,UINT32 textPosition,UINT32 textLength,FLOAT originX,FLOAT originY,DWRITE_HIT_TEST_METRICS *metrics,UINT32 max_metricscount,UINT32 *actual_metricscount) { + return This->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount); +} +/*** IDWriteTextLayout1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout1_SetPairKerning(IDWriteTextLayout1* This,BOOL is_pairkerning_enabled,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetPairKerning(This,is_pairkerning_enabled,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetPairKerning(IDWriteTextLayout1* This,UINT32 position,BOOL *is_pairkerning_enabled,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetPairKerning(This,position,is_pairkerning_enabled,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_SetCharacterSpacing(IDWriteTextLayout1* This,FLOAT leading_spacing,FLOAT trailing_spacing,FLOAT minimum_advance_width,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout1_GetCharacterSpacing(IDWriteTextLayout1* This,UINT32 position,FLOAT *leading_spacing,FLOAT *trailing_spacing,FLOAT *minimum_advance_width,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextLayout1_INTERFACE_DEFINED__ */ + +typedef enum DWRITE_TEXT_ANTIALIAS_MODE { + DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE = 0, + DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE = 1 +} DWRITE_TEXT_ANTIALIAS_MODE; +/***************************************************************************** + * IDWriteBitmapRenderTarget1 interface + */ +#ifndef __IDWriteBitmapRenderTarget1_INTERFACE_DEFINED__ +#define __IDWriteBitmapRenderTarget1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteBitmapRenderTarget1, 0x791e8298, 0x3ef3, 0x4230, 0x98,0x80, 0xc9,0xbd,0xec,0xc4,0x20,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("791e8298-3ef3-4230-9880-c9bdecc42064") +IDWriteBitmapRenderTarget1 : public IDWriteBitmapRenderTarget +{ + virtual DWRITE_TEXT_ANTIALIAS_MODE STDMETHODCALLTYPE GetTextAntialiasMode( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTextAntialiasMode( + DWRITE_TEXT_ANTIALIAS_MODE mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteBitmapRenderTarget1, 0x791e8298, 0x3ef3, 0x4230, 0x98,0x80, 0xc9,0xbd,0xec,0xc4,0x20,0x64) +#endif +#else +typedef struct IDWriteBitmapRenderTarget1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteBitmapRenderTarget1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteBitmapRenderTarget1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteBitmapRenderTarget1 *This); + + /*** IDWriteBitmapRenderTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *DrawGlyphRun)( + IDWriteBitmapRenderTarget1 *This, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE measuring_mode, + const DWRITE_GLYPH_RUN *glyph_run, + IDWriteRenderingParams *params, + COLORREF textColor, + RECT *blackbox_rect); + + HDC (STDMETHODCALLTYPE *GetMemoryDC)( + IDWriteBitmapRenderTarget1 *This); + + FLOAT (STDMETHODCALLTYPE *GetPixelsPerDip)( + IDWriteBitmapRenderTarget1 *This); + + HRESULT (STDMETHODCALLTYPE *SetPixelsPerDip)( + IDWriteBitmapRenderTarget1 *This, + FLOAT pixels_per_dip); + + HRESULT (STDMETHODCALLTYPE *GetCurrentTransform)( + IDWriteBitmapRenderTarget1 *This, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *SetCurrentTransform)( + IDWriteBitmapRenderTarget1 *This, + const DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + IDWriteBitmapRenderTarget1 *This, + SIZE *size); + + HRESULT (STDMETHODCALLTYPE *Resize)( + IDWriteBitmapRenderTarget1 *This, + UINT32 width, + UINT32 height); + + /*** IDWriteBitmapRenderTarget1 methods ***/ + DWRITE_TEXT_ANTIALIAS_MODE (STDMETHODCALLTYPE *GetTextAntialiasMode)( + IDWriteBitmapRenderTarget1 *This); + + HRESULT (STDMETHODCALLTYPE *SetTextAntialiasMode)( + IDWriteBitmapRenderTarget1 *This, + DWRITE_TEXT_ANTIALIAS_MODE mode); + + END_INTERFACE +} IDWriteBitmapRenderTarget1Vtbl; + +interface IDWriteBitmapRenderTarget1 { + CONST_VTBL IDWriteBitmapRenderTarget1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteBitmapRenderTarget1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteBitmapRenderTarget1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteBitmapRenderTarget1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteBitmapRenderTarget methods ***/ +#define IDWriteBitmapRenderTarget1_DrawGlyphRun(This,baselineOriginX,baselineOriginY,measuring_mode,glyph_run,params,textColor,blackbox_rect) (This)->lpVtbl->DrawGlyphRun(This,baselineOriginX,baselineOriginY,measuring_mode,glyph_run,params,textColor,blackbox_rect) +#define IDWriteBitmapRenderTarget1_GetMemoryDC(This) (This)->lpVtbl->GetMemoryDC(This) +#define IDWriteBitmapRenderTarget1_GetPixelsPerDip(This) (This)->lpVtbl->GetPixelsPerDip(This) +#define IDWriteBitmapRenderTarget1_SetPixelsPerDip(This,pixels_per_dip) (This)->lpVtbl->SetPixelsPerDip(This,pixels_per_dip) +#define IDWriteBitmapRenderTarget1_GetCurrentTransform(This,transform) (This)->lpVtbl->GetCurrentTransform(This,transform) +#define IDWriteBitmapRenderTarget1_SetCurrentTransform(This,transform) (This)->lpVtbl->SetCurrentTransform(This,transform) +#define IDWriteBitmapRenderTarget1_GetSize(This,size) (This)->lpVtbl->GetSize(This,size) +#define IDWriteBitmapRenderTarget1_Resize(This,width,height) (This)->lpVtbl->Resize(This,width,height) +/*** IDWriteBitmapRenderTarget1 methods ***/ +#define IDWriteBitmapRenderTarget1_GetTextAntialiasMode(This) (This)->lpVtbl->GetTextAntialiasMode(This) +#define IDWriteBitmapRenderTarget1_SetTextAntialiasMode(This,mode) (This)->lpVtbl->SetTextAntialiasMode(This,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_QueryInterface(IDWriteBitmapRenderTarget1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteBitmapRenderTarget1_AddRef(IDWriteBitmapRenderTarget1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteBitmapRenderTarget1_Release(IDWriteBitmapRenderTarget1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteBitmapRenderTarget methods ***/ +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_DrawGlyphRun(IDWriteBitmapRenderTarget1* This,FLOAT baselineOriginX,FLOAT baselineOriginY,DWRITE_MEASURING_MODE measuring_mode,const DWRITE_GLYPH_RUN *glyph_run,IDWriteRenderingParams *params,COLORREF textColor,RECT *blackbox_rect) { + return This->lpVtbl->DrawGlyphRun(This,baselineOriginX,baselineOriginY,measuring_mode,glyph_run,params,textColor,blackbox_rect); +} +static FORCEINLINE HDC IDWriteBitmapRenderTarget1_GetMemoryDC(IDWriteBitmapRenderTarget1* This) { + return This->lpVtbl->GetMemoryDC(This); +} +static FORCEINLINE FLOAT IDWriteBitmapRenderTarget1_GetPixelsPerDip(IDWriteBitmapRenderTarget1* This) { + return This->lpVtbl->GetPixelsPerDip(This); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_SetPixelsPerDip(IDWriteBitmapRenderTarget1* This,FLOAT pixels_per_dip) { + return This->lpVtbl->SetPixelsPerDip(This,pixels_per_dip); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_GetCurrentTransform(IDWriteBitmapRenderTarget1* This,DWRITE_MATRIX *transform) { + return This->lpVtbl->GetCurrentTransform(This,transform); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_SetCurrentTransform(IDWriteBitmapRenderTarget1* This,const DWRITE_MATRIX *transform) { + return This->lpVtbl->SetCurrentTransform(This,transform); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_GetSize(IDWriteBitmapRenderTarget1* This,SIZE *size) { + return This->lpVtbl->GetSize(This,size); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_Resize(IDWriteBitmapRenderTarget1* This,UINT32 width,UINT32 height) { + return This->lpVtbl->Resize(This,width,height); +} +/*** IDWriteBitmapRenderTarget1 methods ***/ +static FORCEINLINE DWRITE_TEXT_ANTIALIAS_MODE IDWriteBitmapRenderTarget1_GetTextAntialiasMode(IDWriteBitmapRenderTarget1* This) { + return This->lpVtbl->GetTextAntialiasMode(This); +} +static FORCEINLINE HRESULT IDWriteBitmapRenderTarget1_SetTextAntialiasMode(IDWriteBitmapRenderTarget1* This,DWRITE_TEXT_ANTIALIAS_MODE mode) { + return This->lpVtbl->SetTextAntialiasMode(This,mode); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteBitmapRenderTarget1_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dwrite_1_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_1.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_1.idl new file mode 100644 index 0000000..4015c12 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_1.idl @@ -0,0 +1,824 @@ +/* + * Copyright 2013 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dwrite.idl"; + +typedef enum DWRITE_PANOSE_FAMILY +{ + DWRITE_PANOSE_FAMILY_ANY, + DWRITE_PANOSE_FAMILY_NO_FIT, + DWRITE_PANOSE_FAMILY_TEXT_DISPLAY, + DWRITE_PANOSE_FAMILY_SCRIPT, + DWRITE_PANOSE_FAMILY_DECORATIVE, + DWRITE_PANOSE_FAMILY_SYMBOL, + DWRITE_PANOSE_FAMILY_PICTORIAL = DWRITE_PANOSE_FAMILY_SYMBOL +} DWRITE_PANOSE_FAMILY; + +typedef enum DWRITE_PANOSE_SERIF_STYLE +{ + DWRITE_PANOSE_SERIF_STYLE_ANY, + DWRITE_PANOSE_SERIF_STYLE_NO_FIT, + DWRITE_PANOSE_SERIF_STYLE_COVE, + DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE, + DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE, + DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE, + DWRITE_PANOSE_SERIF_STYLE_SQUARE, + DWRITE_PANOSE_SERIF_STYLE_THIN, + DWRITE_PANOSE_SERIF_STYLE_OVAL, + DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED, + DWRITE_PANOSE_SERIF_STYLE_TRIANGLE, + DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS, + DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS, + DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS, + DWRITE_PANOSE_SERIF_STYLE_FLARED, + DWRITE_PANOSE_SERIF_STYLE_ROUNDED, + DWRITE_PANOSE_SERIF_STYLE_SCRIPT, + DWRITE_PANOSE_SERIF_STYLE_PERP_SANS = DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS, + DWRITE_PANOSE_SERIF_STYLE_BONE = DWRITE_PANOSE_SERIF_STYLE_OVAL +} DWRITE_PANOSE_SERIF_STYLE; + +typedef enum DWRITE_PANOSE_WEIGHT +{ + DWRITE_PANOSE_WEIGHT_ANY, + DWRITE_PANOSE_WEIGHT_NO_FIT, + DWRITE_PANOSE_WEIGHT_VERY_LIGHT, + DWRITE_PANOSE_WEIGHT_LIGHT, + DWRITE_PANOSE_WEIGHT_THIN, + DWRITE_PANOSE_WEIGHT_BOOK, + DWRITE_PANOSE_WEIGHT_MEDIUM, + DWRITE_PANOSE_WEIGHT_DEMI, + DWRITE_PANOSE_WEIGHT_BOLD, + DWRITE_PANOSE_WEIGHT_HEAVY, + DWRITE_PANOSE_WEIGHT_BLACK, + DWRITE_PANOSE_WEIGHT_EXTRA_BLACK, + DWRITE_PANOSE_WEIGHT_NORD = DWRITE_PANOSE_WEIGHT_EXTRA_BLACK +} DWRITE_PANOSE_WEIGHT; + +typedef enum DWRITE_PANOSE_PROPORTION +{ + DWRITE_PANOSE_PROPORTION_ANY, + DWRITE_PANOSE_PROPORTION_NO_FIT, + DWRITE_PANOSE_PROPORTION_OLD_STYLE, + DWRITE_PANOSE_PROPORTION_MODERN, + DWRITE_PANOSE_PROPORTION_EVEN_WIDTH, + DWRITE_PANOSE_PROPORTION_EXPANDED, + DWRITE_PANOSE_PROPORTION_CONDENSED, + DWRITE_PANOSE_PROPORTION_VERY_EXPANDED, + DWRITE_PANOSE_PROPORTION_VERY_CONDENSED, + DWRITE_PANOSE_PROPORTION_MONOSPACED +} DWRITE_PANOSE_PROPORTION; + +typedef enum DWRITE_PANOSE_CONTRAST +{ + DWRITE_PANOSE_CONTRAST_ANY, + DWRITE_PANOSE_CONTRAST_NO_FIT, + DWRITE_PANOSE_CONTRAST_NONE, + DWRITE_PANOSE_CONTRAST_VERY_LOW, + DWRITE_PANOSE_CONTRAST_LOW, + DWRITE_PANOSE_CONTRAST_MEDIUM_LOW, + DWRITE_PANOSE_CONTRAST_MEDIUM, + DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH, + DWRITE_PANOSE_CONTRAST_HIGH, + DWRITE_PANOSE_CONTRAST_VERY_HIGH, + DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW, + DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM, + DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH, + DWRITE_PANOSE_CONTRAST_BROKEN +} DWRITE_PANOSE_CONTRAST; + +typedef enum DWRITE_PANOSE_STROKE_VARIATION +{ + DWRITE_PANOSE_STROKE_VARIATION_ANY, + DWRITE_PANOSE_STROKE_VARIATION_NO_FIT, + DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL, + DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL, + DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL, + DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL, + DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL, + DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL +} DWRITE_PANOSE_STROKE_VARIANTION; + +typedef enum DWRITE_PANOSE_ARM_STYLE +{ + DWRITE_PANOSE_ARM_STYLE_ANY, + DWRITE_PANOSE_ARM_STYLE_NO_FIT, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF, + DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ = DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL, + DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT = DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF, + DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF = DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF +} DWRITE_PANOSE_ARM_STYLE; + +typedef enum DWRITE_PANOSE_LETTERFORM +{ + DWRITE_PANOSE_LETTERFORM_ANY, + DWRITE_PANOSE_LETTERFORM_NO_FIT, + DWRITE_PANOSE_LETTERFORM_NORMAL_CONTACT, + DWRITE_PANOSE_LETTERFORM_NORMAL_WEIGHTED, + DWRITE_PANOSE_LETTERFORM_NORMAL_BOXED, + DWRITE_PANOSE_LETTERFORM_NORMAL_FLATTENED, + DWRITE_PANOSE_LETTERFORM_NORMAL_ROUNDED, + DWRITE_PANOSE_LETTERFORM_NORMAL_OFF_CENTER, + DWRITE_PANOSE_LETTERFORM_NORMAL_SQUARE, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_CONTACT, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_WEIGHTED, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_BOXED, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_FLATTENED, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_ROUNDED, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_OFF_CENTER, + DWRITE_PANOSE_LETTERFORM_OBLIQUE_SQUARE +} DWRITE_PANOSE_LETTERFORM; + +typedef enum DWRITE_PANOSE_MIDLINE +{ + DWRITE_PANOSE_MIDLINE_ANY, + DWRITE_PANOSE_MIDLINE_NO_FIT, + DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED, + DWRITE_PANOSE_MIDLINE_STANDARD_POINTED, + DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED, + DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED, + DWRITE_PANOSE_MIDLINE_HIGH_POINTED, + DWRITE_PANOSE_MIDLINE_HIGH_SERIFED, + DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED, + DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED, + DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED, + DWRITE_PANOSE_MIDLINE_LOW_TRIMMED, + DWRITE_PANOSE_MIDLINE_LOW_POINTED, + DWRITE_PANOSE_MIDLINE_LOW_SERIFED +} DWRITE_PANOSE_MIDLINE; + +typedef enum DWRITE_PANOSE_XHEIGHT +{ + DWRITE_PANOSE_XHEIGHT_ANY, + DWRITE_PANOSE_XHEIGHT_NO_FIT, + DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL, + DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD, + DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE, + DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL, + DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD, + DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE, + DWRITE_PANOSE_XHEIGHT_CONSTANT_STD = DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD, + DWRITE_PANOSE_XHEIGHT_DUCKING_STD = DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD +} DWRITE_PANOSE_XHEIGHT; + +typedef enum DWRITE_PANOSE_TOOL_KIND +{ + DWRITE_PANOSE_TOOL_KIND_ANY, + DWRITE_PANOSE_TOOL_KIND_NO_FIT, + DWRITE_PANOSE_TOOL_KIND_FLAT_NIB, + DWRITE_PANOSE_TOOL_KIND_PRESSURE_POINT, + DWRITE_PANOSE_TOOL_KIND_ENGRAVED, + DWRITE_PANOSE_TOOL_KIND_BALL, + DWRITE_PANOSE_TOOL_KIND_BRUSH, + DWRITE_PANOSE_TOOL_KIND_ROUGH, + DWRITE_PANOSE_TOOL_KIND_FELT_PEN_BRUSH_TIP, + DWRITE_PANOSE_TOOL_KIND_WILD_BRUSH +} DWRITE_PANOSE_TOOL_KIND; + +typedef enum DWRITE_PANOSE_SPACING +{ + DWRITE_PANOSE_SPACING_ANY, + DWRITE_PANOSE_SPACING_NO_FIT, + DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED, + DWRITE_PANOSE_SPACING_MONOSPACED +} DWRITE_PANOSE_SPACING; + +typedef enum DWRITE_PANOSE_ASPECT_RATIO +{ + DWRITE_PANOSE_ASPECT_RATIO_ANY, + DWRITE_PANOSE_ASPECT_RATIO_NO_FIT, + DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED, + DWRITE_PANOSE_ASPECT_RATIO_CONDENSED, + DWRITE_PANOSE_ASPECT_RATIO_NORMAL, + DWRITE_PANOSE_ASPECT_RATIO_EXPANDED, + DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED +} DWRITE_PANOSE_ASPECT_RATIO; + +typedef enum DWRITE_PANOSE_SCRIPT_TOPOLOGY +{ + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING, + DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED +} DWRITE_PANOSE_SCRIPT_TOPOLOGY; + +typedef enum DWRITE_PANOSE_SCRIPT_FORM +{ + DWRITE_PANOSE_SCRIPT_FORM_ANY, + DWRITE_PANOSE_SCRIPT_FORM_NO_FIT, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_NO_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_SOME_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_MORE_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_EXTREME_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_NO_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_SOME_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_MORE_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_EXTREME_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_NO_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_SOME_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_MORE_WRAPPING, + DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_EXTREME_WRAPPING +} DWRITE_PANOSE_SCRIPT_FORM; + +typedef enum DWRITE_PANOSE_FINIALS +{ + DWRITE_PANOSE_FINIALS_ANY, + DWRITE_PANOSE_FINIALS_NO_FIT, + DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS, + DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS, + DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS, + DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS, + DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS, + DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS, + DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS, + DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS, + DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS, + DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS, + DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS, + DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS +} DWRITE_PANOSE_FINIALS; + +typedef enum DWRITE_PANOSE_XASCENT +{ + DWRITE_PANOSE_XASCENT_ANY, + DWRITE_PANOSE_XASCENT_NO_FIT, + DWRITE_PANOSE_XASCENT_VERY_LOW, + DWRITE_PANOSE_XASCENT_LOW, + DWRITE_PANOSE_XASCENT_MEDIUM, + DWRITE_PANOSE_XASCENT_HIGH, + DWRITE_PANOSE_XASCENT_VERY_HIGH +} DWRITE_PANOSE_XASCENT; + +typedef enum DWRITE_PANOSE_DECORATIVE_CLASS +{ + DWRITE_PANOSE_DECORATIVE_CLASS_ANY, + DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT, + DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE, + DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY, + DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS, + DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT, + DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS, + DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON, + DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS, + DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED, + DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND, + DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE, + DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE +} DWRITE_PANOSE_DECORATIVE_CLASS; + +typedef enum DWRITE_PANOSE_ASPECT +{ + DWRITE_PANOSE_ASPECT_ANY, + DWRITE_PANOSE_ASPECT_NO_FIT, + DWRITE_PANOSE_ASPECT_SUPER_CONDENSED, + DWRITE_PANOSE_ASPECT_VERY_CONDENSED, + DWRITE_PANOSE_ASPECT_CONDENSED, + DWRITE_PANOSE_ASPECT_NORMAL, + DWRITE_PANOSE_ASPECT_EXTENDED, + DWRITE_PANOSE_ASPECT_VERY_EXTENDED, + DWRITE_PANOSE_ASPECT_SUPER_EXTENDED, + DWRITE_PANOSE_ASPECT_MONOSPACED +} DWRITE_PANOSE_ASPECT; + +typedef enum DWRITE_PANOSE_FILL +{ + DWRITE_PANOSE_FILL_ANY, + DWRITE_PANOSE_FILL_NO_FIT, + DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL, + DWRITE_PANOSE_FILL_NO_FILL, + DWRITE_PANOSE_FILL_PATTERNED_FILL, + DWRITE_PANOSE_FILL_COMPLEX_FILL, + DWRITE_PANOSE_FILL_SHAPED_FILL, + DWRITE_PANOSE_FILL_DRAWN_DISTRESSED +} DWRITE_PANOSE_FILL; + +typedef enum DWRITE_PANOSE_LINING +{ + DWRITE_PANOSE_LINING_ANY, + DWRITE_PANOSE_LINING_NO_FIT, + DWRITE_PANOSE_LINING_NONE, + DWRITE_PANOSE_LINING_INLINE, + DWRITE_PANOSE_LINING_OUTLINE, + DWRITE_PANOSE_LINING_ENGRAVED, + DWRITE_PANOSE_LINING_SHADOW, + DWRITE_PANOSE_LINING_RELIEF, + DWRITE_PANOSE_LINING_BACKDROP +} DWRITE_PANOSE_LINING; + +typedef enum DWRITE_PANOSE_DECORATIVE_TOPOLOGY +{ + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_FORMS, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_LOMBARDIC_FORMS, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER, + DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE +} DWRITE_PANOSE_DECORATIVE_TOPOLOGY; + +typedef enum DWRITE_PANOSE_CHARACTER_RANGES +{ + DWRITE_PANOSE_CHARACTER_RANGES_ANY, + DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT, + DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION, + DWRITE_PANOSE_CHARACTER_RANGES_LITERALS, + DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE, + DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS +} DWRITE_PANOSE_CHARACTER_RANGES; + +typedef enum DWRITE_PANOSE_SYMBOL_KIND +{ + DWRITE_PANOSE_SYMBOL_KIND_ANY, + DWRITE_PANOSE_SYMBOL_KIND_NO_FIT, + DWRITE_PANOSE_SYMBOL_KIND_MONTAGES, + DWRITE_PANOSE_SYMBOL_KIND_PICTURES, + DWRITE_PANOSE_SYMBOL_KIND_SHAPES, + DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC, + DWRITE_PANOSE_SYMBOL_KIND_MUSIC, + DWRITE_PANOSE_SYMBOL_KIND_EXPERT, + DWRITE_PANOSE_SYMBOL_KIND_PATTERNS, + DWRITE_PANOSE_SYMBOL_KIND_BOARDERS, + DWRITE_PANOSE_SYMBOL_KIND_ICONS, + DWRITE_PANOSE_SYMBOL_KIND_LOGOS, + DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC +} DWRITE_PANOSE_SYMBOL_KIND; + +typedef enum DWRITE_PANOSE_SYMBOL_ASPECT_RATIO +{ + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW, + DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW +} DWRITE_PANOSE_SYMBOL_ASPECT_RATIO; + +typedef enum DWRITE_OUTLINE_THRESHOLD +{ + DWRITE_OUTLINE_THRESHOLD_ANTIALIASED, + DWRITE_OUTLINE_THRESHOLD_ALIASED +} DWRITE_OUTLINE_THRESHOLD; + +typedef enum DWRITE_BASELINE +{ + DWRITE_BASELINE_DEFAULT, + DWRITE_BASELINE_ROMAN, + DWRITE_BASELINE_CENTRAL, + DWRITE_BASELINE_MATH, + DWRITE_BASELINE_HANGING, + DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM, + DWRITE_BASELINE_IDEOGRAPHIC_TOP, + DWRITE_BASELINE_MINIMUM, + DWRITE_BASELINE_MAXIMUM +} DWRITE_BASELINE; + +typedef enum DWRITE_VERTICAL_GLYPH_ORIENTATION +{ + DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT, + DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED +} DWRITE_VERTICAL_GLYPH_ORIENTATION; + +typedef enum DWRITE_GLYPH_ORIENTATION_ANGLE +{ + DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES, + DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES, + DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES, + DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES +} DWRITE_GLYPH_ORIENTATION_ANGLE; + +typedef struct DWRITE_FONT_METRICS1 +{ + UINT16 designUnitsPerEm; + UINT16 ascent; + UINT16 descent; + INT16 lineGap; + UINT16 capHeight; + UINT16 xHeight; + INT16 underlinePosition; + UINT16 underlineThickness; + INT16 strikethroughPosition; + UINT16 strikethroughThickness; + INT16 glyphBoxLeft; + INT16 glyphBoxTop; + INT16 glyphBoxRight; + INT16 glyphBoxBottom; + INT16 subscriptPositionX; + INT16 subscriptPositionY; + INT16 subscriptSizeX; + INT16 subscriptSizeY; + INT16 superscriptPositionX; + INT16 superscriptPositionY; + INT16 superscriptSizeX; + INT16 superscriptSizeY; + BOOL hasTypographicMetrics; +} DWRITE_FONT_METRICS1; + +typedef struct DWRITE_CARET_METRICS +{ + INT16 slopeRise; + INT16 slopeRun; + INT16 offset; +} DWRITE_CARET_METRICS; + +typedef union DWRITE_PANOSE +{ + UINT8 values[10]; + UINT8 familyKind; + struct + { + UINT8 familyKind; + UINT8 serifStyle; + UINT8 weight; + UINT8 proportion; + UINT8 contrast; + UINT8 strokeVariation; + UINT8 armStyle; + UINT8 letterform; + UINT8 midline; + UINT8 xHeight; + } text; + struct + { + UINT8 familyKind; + UINT8 toolKind; + UINT8 weight; + UINT8 spacing; + UINT8 aspectRatio; + UINT8 contrast; + UINT8 scriptTopology; + UINT8 scriptForm; + UINT8 finials; + UINT8 xAscent; + } script; + struct + { + UINT8 familyKind; + UINT8 decorativeClass; + UINT8 weight; + UINT8 aspect; + UINT8 contrast; + UINT8 serifVariant; + UINT8 fill; + UINT8 lining; + UINT8 decorativeTopology; + UINT8 characterRange; + } decorative; + struct + { + UINT8 familyKind; + UINT8 symbolKind; + UINT8 weight; + UINT8 spacing; + UINT8 aspectRatioAndContrast; + UINT8 aspectRatio94; + UINT8 aspectRatio119; + UINT8 aspectRatio157; + UINT8 aspectRatio163; + UINT8 aspectRatio211; + } symbol; +} DWRITE_PANOSE; + +typedef struct DWRITE_UNICODE_RANGE +{ + UINT32 first; + UINT32 last; +} DWRITE_UNICODE_RANGE; + +typedef struct DWRITE_SCRIPT_PROPERTIES +{ + UINT32 isoScriptCode; + UINT32 isoScriptNumber; + UINT32 clusterLookahead; + UINT32 justificationCharacter; + UINT32 restrictCaretToClusters : 1; + UINT32 usesWordDividers : 1; + UINT32 isDiscreteWriting : 1; + UINT32 isBlockWriting : 1; + UINT32 isDistributedWithinCluster : 1; + UINT32 isConnectedWriting : 1; + UINT32 isCursiveWriting : 1; + UINT32 reserved : 25; +} DWRITE_SCRIPT_PROPERTIES; + +typedef struct DWRITE_JUSTIFICATION_OPPORTUNITY +{ + FLOAT expansionMinimum; + FLOAT expansionMaximum; + FLOAT compressionMaximum; + UINT32 expansionPriority : 8; + UINT32 compressionPriority : 8; + UINT32 allowResidualExpansion : 1; + UINT32 allowResidualCompression : 1; + UINT32 applyToLeadingEdge : 1; + UINT32 applyToTrailingEdge : 1; + UINT32 reserved : 12; +} DWRITE_JUSTIFICATION_OPPORTUNITY; + +interface IDWriteTextAnalysisSource1; +interface IDWriteTextAnalysisSink1; +interface IDWriteRenderingParams1; + +[ +local, +object, +uuid(30572f99-dac6-41db-a16e-0486307e606a) +] +interface IDWriteFactory1 : IDWriteFactory +{ + HRESULT GetEudcFontCollection(IDWriteFontCollection **collection, + [defaultvalue(FALSE)] BOOL check_for_updates); + HRESULT CreateCustomRenderingParams(FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1** params); +}; + +[ +local, +object, +uuid(a71efdb4-9fdb-4838-ad90-cfc3be8c3daf) +] +interface IDWriteFontFace1 : IDWriteFontFace +{ + void GetMetrics(DWRITE_FONT_METRICS1 *metrics); + HRESULT GetGdiCompatibleMetrics(FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS1 *metrics); + void GetCaretMetrics(DWRITE_CARET_METRICS *metrics); + HRESULT GetUnicodeRanges(UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + BOOL IsMonospacedFont(); + HRESULT GetDesignGlyphAdvances(UINT32 glyph_count, + UINT16 const *indices, + INT32 *advances, + [defaultvalue(FALSE)] BOOL is_sideways); + HRESULT GetGdiCompatibleGlyphAdvances(FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances); + + HRESULT GetKerningPairAdjustments(UINT32 glyph_count, + const UINT16 *indices, + INT32 *adjustments); + BOOL HasKerningPairs(); + HRESULT GetRecommendedRenderingMode(FLOAT font_emsize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT GetVerticalGlyphVariants(UINT32 glyph_count, + const UINT16 *nominal_indices, + UINT16 *vertical_indices); + BOOL HasVerticalGlyphVariants(); +}; + +[ +local, +object, +uuid(acd16696-8c14-4f5d-877e-fe3fc1d32738) +] +interface IDWriteFont1 : IDWriteFont +{ + void GetMetrics(DWRITE_FONT_METRICS1 *metrics); + void GetPanose(DWRITE_PANOSE *panose); + HRESULT GetUnicodeRanges(UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + BOOL IsMonospacedFont(); +}; + +[ +local, +object, +uuid(94413cf4-a6fc-4248-8b50-6674348fcad3) +] +interface IDWriteRenderingParams1 : IDWriteRenderingParams +{ + FLOAT GetGrayscaleEnhancedContrast(); +}; + +[ +local, +object, +uuid(80dad800-e21f-4e83-96ce-bfcce500db7c) +] +interface IDWriteTextAnalyzer1 : IDWriteTextAnalyzer +{ + HRESULT ApplyCharacterSpacing(FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT min_advance_width, + UINT32 len, + UINT32 glyph_count, + UINT16 const *clustermap, + FLOAT const *advances, + DWRITE_GLYPH_OFFSET const *offsets, + DWRITE_SHAPING_GLYPH_PROPERTIES const *props, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets); + HRESULT GetBaseline(IDWriteFontFace *face, + DWRITE_BASELINE baseline, + BOOL vertical, + BOOL is_simulation_allowed, + DWRITE_SCRIPT_ANALYSIS sa, + const WCHAR *localeName, + INT32 *baseline_coord, + BOOL *exists); + + HRESULT AnalyzeVerticalGlyphOrientation( + IDWriteTextAnalysisSource1* source, + UINT32 text_pos, + UINT32 len, + IDWriteTextAnalysisSink1 *sink); + + HRESULT GetGlyphOrientationTransform( + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + DWRITE_MATRIX *transform); + + HRESULT GetScriptProperties(DWRITE_SCRIPT_ANALYSIS sa, DWRITE_SCRIPT_PROPERTIES *props); + + HRESULT GetTextComplexity(const WCHAR *text, + UINT32 len, + IDWriteFontFace *face, + BOOL *is_simple, + UINT32 *len_read, + UINT16 *indices); + HRESULT GetJustificationOpportunities( + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + const WCHAR *text, + const UINT16 *clustermap, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + DWRITE_JUSTIFICATION_OPPORTUNITY *jo); + + HRESULT JustifyGlyphAdvances( + FLOAT width, + UINT32 glyph_count, + const DWRITE_JUSTIFICATION_OPPORTUNITY *jo, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + FLOAT *justifiedadvances, + DWRITE_GLYPH_OFFSET *justifiedoffsets); + + HRESULT GetJustifiedGlyphs( + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + UINT32 max_glyphcount, + const UINT16 *clustermap, + const UINT16 *indices, + const FLOAT *advances, + const FLOAT *justifiedadvances, + const DWRITE_GLYPH_OFFSET *justifiedoffsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + UINT32 *actual_count, + UINT16 *modified_clustermap, + UINT16 *modified_indices, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets); +}; + +[ +local, +object, +uuid(639cfad8-0fb4-4b21-a58a-067920120009) +] +interface IDWriteTextAnalysisSource1 : IDWriteTextAnalysisSource +{ + HRESULT GetVerticalGlyphOrientation( + UINT32 pos, + UINT32 *length, + DWRITE_VERTICAL_GLYPH_ORIENTATION *orientation, + UINT8 *bidi_level); +}; + +[ +local, +object, +uuid(b0d941a0-85e7-4d8b-9fd3-5ced9934482a) +] +interface IDWriteTextAnalysisSink1 : IDWriteTextAnalysisSink +{ + HRESULT SetGlyphOrientation( + UINT32 pos, + UINT32 length, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + UINT8 adjusted_bidilevel, + BOOL is_sideways, + BOOL is_rtl); +}; + +[ +local, +object, +uuid(9064d822-80a7-465c-a986-df65f78b8feb) +] +interface IDWriteTextLayout1 : IDWriteTextLayout +{ + HRESULT SetPairKerning( + BOOL is_pairkerning_enabled, + DWRITE_TEXT_RANGE range); + + HRESULT GetPairKerning( + UINT32 position, + BOOL *is_pairkerning_enabled, + DWRITE_TEXT_RANGE *range); + + HRESULT SetCharacterSpacing( + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT minimum_advance_width, + DWRITE_TEXT_RANGE range); + + HRESULT GetCharacterSpacing( + UINT32 position, + FLOAT* leading_spacing, + FLOAT* trailing_spacing, + FLOAT* minimum_advance_width, + [defaultvalue(NULL)] DWRITE_TEXT_RANGE *range); +}; + +typedef enum DWRITE_TEXT_ANTIALIAS_MODE +{ + DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE, + DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE +} DWRITE_TEXT_ANTIALIAS_MODE; + +[ +local, +object, +uuid(791e8298-3ef3-4230-9880-c9bdecc42064) +] +interface IDWriteBitmapRenderTarget1 : IDWriteBitmapRenderTarget +{ + DWRITE_TEXT_ANTIALIAS_MODE GetTextAntialiasMode(); + HRESULT SetTextAntialiasMode(DWRITE_TEXT_ANTIALIAS_MODE mode); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_2.h new file mode 100644 index 0000000..9b4329f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_2.h @@ -0,0 +1,3294 @@ +/*** Autogenerated by WIDL 2.18 from dwrite_2.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dwrite_2_h__ +#define __dwrite_2_h__ + +/* Forward declarations */ + +#ifndef __IDWriteTextRenderer1_FWD_DEFINED__ +#define __IDWriteTextRenderer1_FWD_DEFINED__ +typedef interface IDWriteTextRenderer1 IDWriteTextRenderer1; +#ifdef __cplusplus +interface IDWriteTextRenderer1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFallback_FWD_DEFINED__ +#define __IDWriteFontFallback_FWD_DEFINED__ +typedef interface IDWriteFontFallback IDWriteFontFallback; +#ifdef __cplusplus +interface IDWriteFontFallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextFormat1_FWD_DEFINED__ +#define __IDWriteTextFormat1_FWD_DEFINED__ +typedef interface IDWriteTextFormat1 IDWriteTextFormat1; +#ifdef __cplusplus +interface IDWriteTextFormat1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextLayout2_FWD_DEFINED__ +#define __IDWriteTextLayout2_FWD_DEFINED__ +typedef interface IDWriteTextLayout2 IDWriteTextLayout2; +#ifdef __cplusplus +interface IDWriteTextLayout2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextAnalyzer2_FWD_DEFINED__ +#define __IDWriteTextAnalyzer2_FWD_DEFINED__ +typedef interface IDWriteTextAnalyzer2 IDWriteTextAnalyzer2; +#ifdef __cplusplus +interface IDWriteTextAnalyzer2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFallbackBuilder_FWD_DEFINED__ +#define __IDWriteFontFallbackBuilder_FWD_DEFINED__ +typedef interface IDWriteFontFallbackBuilder IDWriteFontFallbackBuilder; +#ifdef __cplusplus +interface IDWriteFontFallbackBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFont2_FWD_DEFINED__ +#define __IDWriteFont2_FWD_DEFINED__ +typedef interface IDWriteFont2 IDWriteFont2; +#ifdef __cplusplus +interface IDWriteFont2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace2_FWD_DEFINED__ +#define __IDWriteFontFace2_FWD_DEFINED__ +typedef interface IDWriteFontFace2 IDWriteFontFace2; +#ifdef __cplusplus +interface IDWriteFontFace2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteColorGlyphRunEnumerator_FWD_DEFINED__ +#define __IDWriteColorGlyphRunEnumerator_FWD_DEFINED__ +typedef interface IDWriteColorGlyphRunEnumerator IDWriteColorGlyphRunEnumerator; +#ifdef __cplusplus +interface IDWriteColorGlyphRunEnumerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRenderingParams2_FWD_DEFINED__ +#define __IDWriteRenderingParams2_FWD_DEFINED__ +typedef interface IDWriteRenderingParams2 IDWriteRenderingParams2; +#ifdef __cplusplus +interface IDWriteRenderingParams2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFactory2_FWD_DEFINED__ +#define __IDWriteFactory2_FWD_DEFINED__ +typedef interface IDWriteFactory2 IDWriteFactory2; +#ifdef __cplusplus +interface IDWriteFactory2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum DWRITE_OPTICAL_ALIGNMENT { + DWRITE_OPTICAL_ALIGNMENT_NONE = 0, + DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS = 1 +} DWRITE_OPTICAL_ALIGNMENT; +typedef enum DWRITE_GRID_FIT_MODE { + DWRITE_GRID_FIT_MODE_DEFAULT = 0, + DWRITE_GRID_FIT_MODE_DISABLED = 1, + DWRITE_GRID_FIT_MODE_ENABLED = 2 +} DWRITE_GRID_FIT_MODE; +typedef struct DWRITE_TEXT_METRICS1 { + FLOAT left; + FLOAT top; + FLOAT width; + FLOAT widthIncludingTrailingWhitespace; + FLOAT height; + FLOAT layoutWidth; + FLOAT layoutHeight; + UINT32 maxBidiReorderingDepth; + UINT32 lineCount; + FLOAT heightIncludingTrailingWhitespace; +} DWRITE_TEXT_METRICS1; +#ifndef D3DCOLORVALUE_DEFINED +typedef struct _D3DCOLORVALUE { + __C89_NAMELESS union { + FLOAT r; + FLOAT dvR; + } __C89_NAMELESSUNIONNAME1; + __C89_NAMELESS union { + FLOAT g; + FLOAT dvG; + } __C89_NAMELESSUNIONNAME2; + __C89_NAMELESS union { + FLOAT b; + FLOAT dvB; + } __C89_NAMELESSUNIONNAME3; + __C89_NAMELESS union { + FLOAT a; + FLOAT dvA; + } __C89_NAMELESSUNIONNAME4; +} D3DCOLORVALUE; +#define D3DCOLORVALUE_DEFINED +#endif +typedef D3DCOLORVALUE DWRITE_COLOR_F; +typedef struct DWRITE_COLOR_GLYPH_RUN { + DWRITE_GLYPH_RUN glyphRun; + DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription; + FLOAT baselineOriginX; + FLOAT baselineOriginY; + DWRITE_COLOR_F runColor; + UINT16 paletteIndex; +} DWRITE_COLOR_GLYPH_RUN; +/***************************************************************************** + * IDWriteTextRenderer1 interface + */ +#ifndef __IDWriteTextRenderer1_INTERFACE_DEFINED__ +#define __IDWriteTextRenderer1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextRenderer1, 0xd3e0e934, 0x22a0, 0x427e, 0xaa,0xe4, 0x7d,0x95,0x74,0xb5,0x9d,0xb1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d3e0e934-22a0-427e-aae4-7d9574b59db1") +IDWriteTextRenderer1 : public IDWriteTextRenderer +{ + virtual HRESULT STDMETHODCALLTYPE DrawGlyphRun( + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + DWRITE_MEASURING_MODE mode, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + IUnknown *effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawUnderline( + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + const DWRITE_UNDERLINE *underline, + IUnknown *effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawStrikethrough( + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + const DWRITE_STRIKETHROUGH *strikethrough, + IUnknown *effect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawInlineObject( + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + IDWriteInlineObject *inlineObject, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *effect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextRenderer1, 0xd3e0e934, 0x22a0, 0x427e, 0xaa,0xe4, 0x7d,0x95,0x74,0xb5,0x9d,0xb1) +#endif +#else +typedef struct IDWriteTextRenderer1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextRenderer1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextRenderer1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextRenderer1 *This); + + /*** IDWritePixelSnapping methods ***/ + HRESULT (STDMETHODCALLTYPE *IsPixelSnappingDisabled)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *GetCurrentTransform)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetPixelsPerDip)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + FLOAT *pixels_per_dip); + + /*** IDWriteTextRenderer methods ***/ + HRESULT (STDMETHODCALLTYPE *DrawGlyphRun)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE mode, + const DWRITE_GLYPH_RUN *glyph_run, + const DWRITE_GLYPH_RUN_DESCRIPTION *run_descr, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *DrawUnderline)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_UNDERLINE *underline, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *DrawStrikethrough)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_STRIKETHROUGH *strikethrough, + IUnknown *drawing_effect); + + HRESULT (STDMETHODCALLTYPE *DrawInlineObject)( + IDWriteTextRenderer1 *This, + void *client_drawingcontext, + FLOAT originX, + FLOAT originY, + IDWriteInlineObject *object, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *drawing_effect); + + /*** IDWriteTextRenderer1 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteTextRenderer1_DrawGlyphRun)( + IDWriteTextRenderer1 *This, + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + DWRITE_MEASURING_MODE mode, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + IUnknown *effect); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextRenderer1_DrawUnderline)( + IDWriteTextRenderer1 *This, + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + const DWRITE_UNDERLINE *underline, + IUnknown *effect); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextRenderer1_DrawStrikethrough)( + IDWriteTextRenderer1 *This, + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + const DWRITE_STRIKETHROUGH *strikethrough, + IUnknown *effect); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextRenderer1_DrawInlineObject)( + IDWriteTextRenderer1 *This, + void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + IDWriteInlineObject *inlineObject, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *effect); + + END_INTERFACE +} IDWriteTextRenderer1Vtbl; + +interface IDWriteTextRenderer1 { + CONST_VTBL IDWriteTextRenderer1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextRenderer1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextRenderer1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextRenderer1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWritePixelSnapping methods ***/ +#define IDWriteTextRenderer1_IsPixelSnappingDisabled(This,client_drawingcontext,disabled) (This)->lpVtbl->IsPixelSnappingDisabled(This,client_drawingcontext,disabled) +#define IDWriteTextRenderer1_GetCurrentTransform(This,client_drawingcontext,transform) (This)->lpVtbl->GetCurrentTransform(This,client_drawingcontext,transform) +#define IDWriteTextRenderer1_GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip) (This)->lpVtbl->GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip) +/*** IDWriteTextRenderer methods ***/ +/*** IDWriteTextRenderer1 methods ***/ +#define IDWriteTextRenderer1_DrawGlyphRun(This,context,originX,originY,angle,mode,run,rundescr,effect) (This)->lpVtbl->IDWriteTextRenderer1_DrawGlyphRun(This,context,originX,originY,angle,mode,run,rundescr,effect) +#define IDWriteTextRenderer1_DrawUnderline(This,context,originX,originY,angle,underline,effect) (This)->lpVtbl->IDWriteTextRenderer1_DrawUnderline(This,context,originX,originY,angle,underline,effect) +#define IDWriteTextRenderer1_DrawStrikethrough(This,context,originX,originY,angle,strikethrough,effect) (This)->lpVtbl->IDWriteTextRenderer1_DrawStrikethrough(This,context,originX,originY,angle,strikethrough,effect) +#define IDWriteTextRenderer1_DrawInlineObject(This,context,originX,originY,angle,inlineObject,is_sideways,is_rtl,effect) (This)->lpVtbl->IDWriteTextRenderer1_DrawInlineObject(This,context,originX,originY,angle,inlineObject,is_sideways,is_rtl,effect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextRenderer1_QueryInterface(IDWriteTextRenderer1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextRenderer1_AddRef(IDWriteTextRenderer1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextRenderer1_Release(IDWriteTextRenderer1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWritePixelSnapping methods ***/ +static FORCEINLINE HRESULT IDWriteTextRenderer1_IsPixelSnappingDisabled(IDWriteTextRenderer1* This,void *client_drawingcontext,BOOL *disabled) { + return This->lpVtbl->IsPixelSnappingDisabled(This,client_drawingcontext,disabled); +} +static FORCEINLINE HRESULT IDWriteTextRenderer1_GetCurrentTransform(IDWriteTextRenderer1* This,void *client_drawingcontext,DWRITE_MATRIX *transform) { + return This->lpVtbl->GetCurrentTransform(This,client_drawingcontext,transform); +} +static FORCEINLINE HRESULT IDWriteTextRenderer1_GetPixelsPerDip(IDWriteTextRenderer1* This,void *client_drawingcontext,FLOAT *pixels_per_dip) { + return This->lpVtbl->GetPixelsPerDip(This,client_drawingcontext,pixels_per_dip); +} +/*** IDWriteTextRenderer methods ***/ +/*** IDWriteTextRenderer1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextRenderer1_DrawGlyphRun(IDWriteTextRenderer1* This,void *context,FLOAT originX,FLOAT originY,DWRITE_GLYPH_ORIENTATION_ANGLE angle,DWRITE_MEASURING_MODE mode,const DWRITE_GLYPH_RUN *run,const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr,IUnknown *effect) { + return This->lpVtbl->IDWriteTextRenderer1_DrawGlyphRun(This,context,originX,originY,angle,mode,run,rundescr,effect); +} +static FORCEINLINE HRESULT IDWriteTextRenderer1_DrawUnderline(IDWriteTextRenderer1* This,void *context,FLOAT originX,FLOAT originY,DWRITE_GLYPH_ORIENTATION_ANGLE angle,const DWRITE_UNDERLINE *underline,IUnknown *effect) { + return This->lpVtbl->IDWriteTextRenderer1_DrawUnderline(This,context,originX,originY,angle,underline,effect); +} +static FORCEINLINE HRESULT IDWriteTextRenderer1_DrawStrikethrough(IDWriteTextRenderer1* This,void *context,FLOAT originX,FLOAT originY,DWRITE_GLYPH_ORIENTATION_ANGLE angle,const DWRITE_STRIKETHROUGH *strikethrough,IUnknown *effect) { + return This->lpVtbl->IDWriteTextRenderer1_DrawStrikethrough(This,context,originX,originY,angle,strikethrough,effect); +} +static FORCEINLINE HRESULT IDWriteTextRenderer1_DrawInlineObject(IDWriteTextRenderer1* This,void *context,FLOAT originX,FLOAT originY,DWRITE_GLYPH_ORIENTATION_ANGLE angle,IDWriteInlineObject *inlineObject,BOOL is_sideways,BOOL is_rtl,IUnknown *effect) { + return This->lpVtbl->IDWriteTextRenderer1_DrawInlineObject(This,context,originX,originY,angle,inlineObject,is_sideways,is_rtl,effect); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextRenderer1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFallback interface + */ +#ifndef __IDWriteFontFallback_INTERFACE_DEFINED__ +#define __IDWriteFontFallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFallback, 0xefa008f9, 0xf7a1, 0x48bf, 0xb0,0x5c, 0xf2,0x24,0x71,0x3c,0xc0,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("efa008f9-f7a1-48bf-b05c-f224713cc0ff") +IDWriteFontFallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE MapCharacters( + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteFontCollection *basecollection, + const WCHAR *baseFamilyName, + DWRITE_FONT_WEIGHT baseWeight, + DWRITE_FONT_STYLE baseStyle, + DWRITE_FONT_STRETCH baseStretch, + UINT32 *mappedLength, + IDWriteFont **mappedFont, + FLOAT *scale) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFallback, 0xefa008f9, 0xf7a1, 0x48bf, 0xb0,0x5c, 0xf2,0x24,0x71,0x3c,0xc0,0xff) +#endif +#else +typedef struct IDWriteFontFallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFallback *This); + + /*** IDWriteFontFallback methods ***/ + HRESULT (STDMETHODCALLTYPE *MapCharacters)( + IDWriteFontFallback *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteFontCollection *basecollection, + const WCHAR *baseFamilyName, + DWRITE_FONT_WEIGHT baseWeight, + DWRITE_FONT_STYLE baseStyle, + DWRITE_FONT_STRETCH baseStretch, + UINT32 *mappedLength, + IDWriteFont **mappedFont, + FLOAT *scale); + + END_INTERFACE +} IDWriteFontFallbackVtbl; + +interface IDWriteFontFallback { + CONST_VTBL IDWriteFontFallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFallback_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFallback methods ***/ +#define IDWriteFontFallback_MapCharacters(This,source,position,length,basecollection,baseFamilyName,baseWeight,baseStyle,baseStretch,mappedLength,mappedFont,scale) (This)->lpVtbl->MapCharacters(This,source,position,length,basecollection,baseFamilyName,baseWeight,baseStyle,baseStretch,mappedLength,mappedFont,scale) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFallback_QueryInterface(IDWriteFontFallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFallback_AddRef(IDWriteFontFallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFallback_Release(IDWriteFontFallback* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFallback methods ***/ +static FORCEINLINE HRESULT IDWriteFontFallback_MapCharacters(IDWriteFontFallback* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteFontCollection *basecollection,const WCHAR *baseFamilyName,DWRITE_FONT_WEIGHT baseWeight,DWRITE_FONT_STYLE baseStyle,DWRITE_FONT_STRETCH baseStretch,UINT32 *mappedLength,IDWriteFont **mappedFont,FLOAT *scale) { + return This->lpVtbl->MapCharacters(This,source,position,length,basecollection,baseFamilyName,baseWeight,baseStyle,baseStretch,mappedLength,mappedFont,scale); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextFormat1 interface + */ +#ifndef __IDWriteTextFormat1_INTERFACE_DEFINED__ +#define __IDWriteTextFormat1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextFormat1, 0x5f174b49, 0x0d8b, 0x4cfb, 0x8b,0xca, 0xf1,0xcc,0xe9,0xd0,0x6c,0x67); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5f174b49-0d8b-4cfb-8bca-f1cce9d06c67") +IDWriteTextFormat1 : public IDWriteTextFormat +{ + virtual HRESULT STDMETHODCALLTYPE SetVerticalGlyphOrientation( + DWRITE_VERTICAL_GLYPH_ORIENTATION orientation) = 0; + + virtual DWRITE_VERTICAL_GLYPH_ORIENTATION STDMETHODCALLTYPE GetVerticalGlyphOrientation( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLastLineWrapping( + BOOL lastline_wrapping_enabled) = 0; + + virtual BOOL STDMETHODCALLTYPE GetLastLineWrapping( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOpticalAlignment( + DWRITE_OPTICAL_ALIGNMENT alignment) = 0; + + virtual DWRITE_OPTICAL_ALIGNMENT STDMETHODCALLTYPE GetOpticalAlignment( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontFallback( + IDWriteFontFallback *fallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFallback( + IDWriteFontFallback **fallback) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextFormat1, 0x5f174b49, 0x0d8b, 0x4cfb, 0x8b,0xca, 0xf1,0xcc,0xe9,0xd0,0x6c,0x67) +#endif +#else +typedef struct IDWriteTextFormat1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextFormat1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextFormat1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextFormat1 *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextFormat1 *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextFormat1 *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextFormat1 *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextFormat1 *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextFormat1 *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextFormat1 *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextFormat1 *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextFormat1 *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextFormat1 *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextFormat1 *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextFormat1 *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextFormat1 *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextFormat1 *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextFormat1 *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextFormat1 *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextFormat1 *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextFormat1 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextFormat1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextFormat1 *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextFormat1 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextFormat1 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextFormat1 *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextFormat1 *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextFormat1 *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextFormat1 *This, + WCHAR *name, + UINT32 size); + + /*** IDWriteTextFormat1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetVerticalGlyphOrientation)( + IDWriteTextFormat1 *This, + DWRITE_VERTICAL_GLYPH_ORIENTATION orientation); + + DWRITE_VERTICAL_GLYPH_ORIENTATION (STDMETHODCALLTYPE *GetVerticalGlyphOrientation)( + IDWriteTextFormat1 *This); + + HRESULT (STDMETHODCALLTYPE *SetLastLineWrapping)( + IDWriteTextFormat1 *This, + BOOL lastline_wrapping_enabled); + + BOOL (STDMETHODCALLTYPE *GetLastLineWrapping)( + IDWriteTextFormat1 *This); + + HRESULT (STDMETHODCALLTYPE *SetOpticalAlignment)( + IDWriteTextFormat1 *This, + DWRITE_OPTICAL_ALIGNMENT alignment); + + DWRITE_OPTICAL_ALIGNMENT (STDMETHODCALLTYPE *GetOpticalAlignment)( + IDWriteTextFormat1 *This); + + HRESULT (STDMETHODCALLTYPE *SetFontFallback)( + IDWriteTextFormat1 *This, + IDWriteFontFallback *fallback); + + HRESULT (STDMETHODCALLTYPE *GetFontFallback)( + IDWriteTextFormat1 *This, + IDWriteFontFallback **fallback); + + END_INTERFACE +} IDWriteTextFormat1Vtbl; + +interface IDWriteTextFormat1 { + CONST_VTBL IDWriteTextFormat1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextFormat1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextFormat1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextFormat1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextFormat1_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextFormat1_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextFormat1_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextFormat1_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextFormat1_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextFormat1_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextFormat1_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextFormat1_SetLineSpacing(This,spacing,line_spacing,baseline) (This)->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline) +#define IDWriteTextFormat1_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextFormat1_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextFormat1_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextFormat1_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextFormat1_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextFormat1_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextFormat1_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +#define IDWriteTextFormat1_GetLineSpacing(This,method,spacing,baseline) (This)->lpVtbl->GetLineSpacing(This,method,spacing,baseline) +#define IDWriteTextFormat1_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteTextFormat1_GetFontFamilyNameLength(This) (This)->lpVtbl->GetFontFamilyNameLength(This) +#define IDWriteTextFormat1_GetFontFamilyName(This,name,size) (This)->lpVtbl->GetFontFamilyName(This,name,size) +#define IDWriteTextFormat1_GetFontWeight(This) (This)->lpVtbl->GetFontWeight(This) +#define IDWriteTextFormat1_GetFontStyle(This) (This)->lpVtbl->GetFontStyle(This) +#define IDWriteTextFormat1_GetFontStretch(This) (This)->lpVtbl->GetFontStretch(This) +#define IDWriteTextFormat1_GetFontSize(This) (This)->lpVtbl->GetFontSize(This) +#define IDWriteTextFormat1_GetLocaleNameLength(This) (This)->lpVtbl->GetLocaleNameLength(This) +#define IDWriteTextFormat1_GetLocaleName(This,name,size) (This)->lpVtbl->GetLocaleName(This,name,size) +/*** IDWriteTextFormat1 methods ***/ +#define IDWriteTextFormat1_SetVerticalGlyphOrientation(This,orientation) (This)->lpVtbl->SetVerticalGlyphOrientation(This,orientation) +#define IDWriteTextFormat1_GetVerticalGlyphOrientation(This) (This)->lpVtbl->GetVerticalGlyphOrientation(This) +#define IDWriteTextFormat1_SetLastLineWrapping(This,lastline_wrapping_enabled) (This)->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled) +#define IDWriteTextFormat1_GetLastLineWrapping(This) (This)->lpVtbl->GetLastLineWrapping(This) +#define IDWriteTextFormat1_SetOpticalAlignment(This,alignment) (This)->lpVtbl->SetOpticalAlignment(This,alignment) +#define IDWriteTextFormat1_GetOpticalAlignment(This) (This)->lpVtbl->GetOpticalAlignment(This) +#define IDWriteTextFormat1_SetFontFallback(This,fallback) (This)->lpVtbl->SetFontFallback(This,fallback) +#define IDWriteTextFormat1_GetFontFallback(This,fallback) (This)->lpVtbl->GetFontFallback(This,fallback) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat1_QueryInterface(IDWriteTextFormat1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextFormat1_AddRef(IDWriteTextFormat1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextFormat1_Release(IDWriteTextFormat1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat1_SetTextAlignment(IDWriteTextFormat1* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetParagraphAlignment(IDWriteTextFormat1* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetWordWrapping(IDWriteTextFormat1* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetReadingDirection(IDWriteTextFormat1* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetFlowDirection(IDWriteTextFormat1* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetIncrementalTabStop(IDWriteTextFormat1* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetTrimming(IDWriteTextFormat1* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetLineSpacing(IDWriteTextFormat1* This,DWRITE_LINE_SPACING_METHOD spacing,FLOAT line_spacing,FLOAT baseline) { + return This->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextFormat1_GetTextAlignment(IDWriteTextFormat1* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat1_GetParagraphAlignment(IDWriteTextFormat1* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextFormat1_GetWordWrapping(IDWriteTextFormat1* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextFormat1_GetReadingDirection(IDWriteTextFormat1* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextFormat1_GetFlowDirection(IDWriteTextFormat1* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextFormat1_GetIncrementalTabStop(IDWriteTextFormat1* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_GetTrimming(IDWriteTextFormat1* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_GetLineSpacing(IDWriteTextFormat1* This,DWRITE_LINE_SPACING_METHOD *method,FLOAT *spacing,FLOAT *baseline) { + return This->lpVtbl->GetLineSpacing(This,method,spacing,baseline); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_GetFontCollection(IDWriteTextFormat1* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteTextFormat1_GetFontFamilyNameLength(IDWriteTextFormat1* This) { + return This->lpVtbl->GetFontFamilyNameLength(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_GetFontFamilyName(IDWriteTextFormat1* This,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetFontFamilyName(This,name,size); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteTextFormat1_GetFontWeight(IDWriteTextFormat1* This) { + return This->lpVtbl->GetFontWeight(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteTextFormat1_GetFontStyle(IDWriteTextFormat1* This) { + return This->lpVtbl->GetFontStyle(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteTextFormat1_GetFontStretch(IDWriteTextFormat1* This) { + return This->lpVtbl->GetFontStretch(This); +} +static FORCEINLINE FLOAT IDWriteTextFormat1_GetFontSize(IDWriteTextFormat1* This) { + return This->lpVtbl->GetFontSize(This); +} +static FORCEINLINE UINT32 IDWriteTextFormat1_GetLocaleNameLength(IDWriteTextFormat1* This) { + return This->lpVtbl->GetLocaleNameLength(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_GetLocaleName(IDWriteTextFormat1* This,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetLocaleName(This,name,size); +} +/*** IDWriteTextFormat1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat1_SetVerticalGlyphOrientation(IDWriteTextFormat1* This,DWRITE_VERTICAL_GLYPH_ORIENTATION orientation) { + return This->lpVtbl->SetVerticalGlyphOrientation(This,orientation); +} +static FORCEINLINE DWRITE_VERTICAL_GLYPH_ORIENTATION IDWriteTextFormat1_GetVerticalGlyphOrientation(IDWriteTextFormat1* This) { + return This->lpVtbl->GetVerticalGlyphOrientation(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetLastLineWrapping(IDWriteTextFormat1* This,BOOL lastline_wrapping_enabled) { + return This->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled); +} +static FORCEINLINE BOOL IDWriteTextFormat1_GetLastLineWrapping(IDWriteTextFormat1* This) { + return This->lpVtbl->GetLastLineWrapping(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetOpticalAlignment(IDWriteTextFormat1* This,DWRITE_OPTICAL_ALIGNMENT alignment) { + return This->lpVtbl->SetOpticalAlignment(This,alignment); +} +static FORCEINLINE DWRITE_OPTICAL_ALIGNMENT IDWriteTextFormat1_GetOpticalAlignment(IDWriteTextFormat1* This) { + return This->lpVtbl->GetOpticalAlignment(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_SetFontFallback(IDWriteTextFormat1* This,IDWriteFontFallback *fallback) { + return This->lpVtbl->SetFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteTextFormat1_GetFontFallback(IDWriteTextFormat1* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetFontFallback(This,fallback); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextFormat1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextLayout2 interface + */ +#ifndef __IDWriteTextLayout2_INTERFACE_DEFINED__ +#define __IDWriteTextLayout2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextLayout2, 0x1093c18f, 0x8d5e, 0x43f0, 0xb0,0x64, 0x09,0x17,0x31,0x1b,0x52,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1093c18f-8d5e-43f0-b064-0917311b525e") +IDWriteTextLayout2 : public IDWriteTextLayout1 +{ + virtual HRESULT STDMETHODCALLTYPE GetMetrics( + DWRITE_TEXT_METRICS1 *metrics) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVerticalGlyphOrientation( + DWRITE_VERTICAL_GLYPH_ORIENTATION orientation) = 0; + + virtual DWRITE_VERTICAL_GLYPH_ORIENTATION STDMETHODCALLTYPE GetVerticalGlyphOrientation( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLastLineWrapping( + BOOL lastline_wrapping_enabled) = 0; + + virtual BOOL STDMETHODCALLTYPE GetLastLineWrapping( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOpticalAlignment( + DWRITE_OPTICAL_ALIGNMENT alignment) = 0; + + virtual DWRITE_OPTICAL_ALIGNMENT STDMETHODCALLTYPE GetOpticalAlignment( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontFallback( + IDWriteFontFallback *fallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFallback( + IDWriteFontFallback **fallback) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextLayout2, 0x1093c18f, 0x8d5e, 0x43f0, 0xb0,0x64, 0x09,0x17,0x31,0x1b,0x52,0x5e) +#endif +#else +typedef struct IDWriteTextLayout2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextLayout2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextLayout2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextLayout2 *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextLayout2 *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextLayout2 *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextLayout2 *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextLayout2 *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextLayout2 *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextLayout2 *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextLayout2 *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextLayout2 *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextLayout2 *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextLayout2 *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextLayout2 *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextLayout2 *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextLayout2 *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextLayout2 *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextLayout2 *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextLayout2 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextLayout2 *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextLayout2 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextLayout2 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextLayout2 *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextLayout2 *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextLayout2 *This, + WCHAR *name, + UINT32 size); + + /*** IDWriteTextLayout methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaxWidth)( + IDWriteTextLayout2 *This, + FLOAT maxWidth); + + HRESULT (STDMETHODCALLTYPE *SetMaxHeight)( + IDWriteTextLayout2 *This, + FLOAT maxHeight); + + HRESULT (STDMETHODCALLTYPE *SetFontCollection)( + IDWriteTextLayout2 *This, + IDWriteFontCollection *collection, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontFamilyName)( + IDWriteTextLayout2 *This, + const WCHAR *name, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontWeight)( + IDWriteTextLayout2 *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStyle)( + IDWriteTextLayout2 *This, + DWRITE_FONT_STYLE style, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStretch)( + IDWriteTextLayout2 *This, + DWRITE_FONT_STRETCH stretch, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontSize)( + IDWriteTextLayout2 *This, + FLOAT size, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetUnderline)( + IDWriteTextLayout2 *This, + BOOL underline, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetStrikethrough)( + IDWriteTextLayout2 *This, + BOOL strikethrough, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetDrawingEffect)( + IDWriteTextLayout2 *This, + IUnknown *effect, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetInlineObject)( + IDWriteTextLayout2 *This, + IDWriteInlineObject *object, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetTypography)( + IDWriteTextLayout2 *This, + IDWriteTypography *typography, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetLocaleName)( + IDWriteTextLayout2 *This, + const WCHAR *locale, + DWRITE_TEXT_RANGE range); + + FLOAT (STDMETHODCALLTYPE *GetMaxWidth)( + IDWriteTextLayout2 *This); + + FLOAT (STDMETHODCALLTYPE *GetMaxHeight)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontCollection)( + IDWriteTextLayout2 *This, + UINT32 pos, + IDWriteFontCollection **collection, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyNameLength)( + IDWriteTextLayout2 *This, + UINT32 pos, + UINT32 *len, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyName)( + IDWriteTextLayout2 *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontWeight)( + IDWriteTextLayout2 *This, + UINT32 position, + DWRITE_FONT_WEIGHT *weight, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStyle)( + IDWriteTextLayout2 *This, + UINT32 currentPosition, + DWRITE_FONT_STYLE *style, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStretch)( + IDWriteTextLayout2 *This, + UINT32 position, + DWRITE_FONT_STRETCH *stretch, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontSize)( + IDWriteTextLayout2 *This, + UINT32 position, + FLOAT *size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetUnderline)( + IDWriteTextLayout2 *This, + UINT32 position, + BOOL *has_underline, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetStrikethrough)( + IDWriteTextLayout2 *This, + UINT32 position, + BOOL *has_strikethrough, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetDrawingEffect)( + IDWriteTextLayout2 *This, + UINT32 position, + IUnknown **effect, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetInlineObject)( + IDWriteTextLayout2 *This, + UINT32 position, + IDWriteInlineObject **object, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetTypography)( + IDWriteTextLayout2 *This, + UINT32 position, + IDWriteTypography **typography, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleNameLength)( + IDWriteTextLayout2 *This, + UINT32 position, + UINT32 *length, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleName)( + IDWriteTextLayout2 *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IDWriteTextLayout2 *This, + void *context, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY); + + HRESULT (STDMETHODCALLTYPE *GetLineMetrics)( + IDWriteTextLayout2 *This, + DWRITE_LINE_METRICS *metrics, + UINT32 max_count, + UINT32 *actual_count); + + HRESULT (STDMETHODCALLTYPE *GetMetrics)( + IDWriteTextLayout2 *This, + DWRITE_TEXT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetOverhangMetrics)( + IDWriteTextLayout2 *This, + DWRITE_OVERHANG_METRICS *overhangs); + + HRESULT (STDMETHODCALLTYPE *GetClusterMetrics)( + IDWriteTextLayout2 *This, + DWRITE_CLUSTER_METRICS *metrics, + UINT32 max_count, + UINT32 *act_count); + + HRESULT (STDMETHODCALLTYPE *DetermineMinWidth)( + IDWriteTextLayout2 *This, + FLOAT *min_width); + + HRESULT (STDMETHODCALLTYPE *HitTestPoint)( + IDWriteTextLayout2 *This, + FLOAT pointX, + FLOAT pointY, + BOOL *is_trailinghit, + BOOL *is_inside, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextPosition)( + IDWriteTextLayout2 *This, + UINT32 textPosition, + BOOL is_trailinghit, + FLOAT *pointX, + FLOAT *pointY, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextRange)( + IDWriteTextLayout2 *This, + UINT32 textPosition, + UINT32 textLength, + FLOAT originX, + FLOAT originY, + DWRITE_HIT_TEST_METRICS *metrics, + UINT32 max_metricscount, + UINT32 *actual_metricscount); + + /*** IDWriteTextLayout1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPairKerning)( + IDWriteTextLayout2 *This, + BOOL is_pairkerning_enabled, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *GetPairKerning)( + IDWriteTextLayout2 *This, + UINT32 position, + BOOL *is_pairkerning_enabled, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *SetCharacterSpacing)( + IDWriteTextLayout2 *This, + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT minimum_advance_width, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *GetCharacterSpacing)( + IDWriteTextLayout2 *This, + UINT32 position, + FLOAT *leading_spacing, + FLOAT *trailing_spacing, + FLOAT *minimum_advance_width, + DWRITE_TEXT_RANGE *range); + + /*** IDWriteTextLayout2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout2_GetMetrics)( + IDWriteTextLayout2 *This, + DWRITE_TEXT_METRICS1 *metrics); + + HRESULT (STDMETHODCALLTYPE *SetVerticalGlyphOrientation)( + IDWriteTextLayout2 *This, + DWRITE_VERTICAL_GLYPH_ORIENTATION orientation); + + DWRITE_VERTICAL_GLYPH_ORIENTATION (STDMETHODCALLTYPE *GetVerticalGlyphOrientation)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *SetLastLineWrapping)( + IDWriteTextLayout2 *This, + BOOL lastline_wrapping_enabled); + + BOOL (STDMETHODCALLTYPE *GetLastLineWrapping)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *SetOpticalAlignment)( + IDWriteTextLayout2 *This, + DWRITE_OPTICAL_ALIGNMENT alignment); + + DWRITE_OPTICAL_ALIGNMENT (STDMETHODCALLTYPE *GetOpticalAlignment)( + IDWriteTextLayout2 *This); + + HRESULT (STDMETHODCALLTYPE *SetFontFallback)( + IDWriteTextLayout2 *This, + IDWriteFontFallback *fallback); + + HRESULT (STDMETHODCALLTYPE *GetFontFallback)( + IDWriteTextLayout2 *This, + IDWriteFontFallback **fallback); + + END_INTERFACE +} IDWriteTextLayout2Vtbl; + +interface IDWriteTextLayout2 { + CONST_VTBL IDWriteTextLayout2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextLayout2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextLayout2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextLayout2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextLayout2_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextLayout2_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextLayout2_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextLayout2_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextLayout2_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextLayout2_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextLayout2_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextLayout2_SetLineSpacing(This,spacing,line_spacing,baseline) (This)->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline) +#define IDWriteTextLayout2_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextLayout2_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextLayout2_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextLayout2_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextLayout2_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextLayout2_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextLayout2_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +#define IDWriteTextLayout2_GetLineSpacing(This,method,spacing,baseline) (This)->lpVtbl->GetLineSpacing(This,method,spacing,baseline) +/*** IDWriteTextLayout methods ***/ +#define IDWriteTextLayout2_SetMaxWidth(This,maxWidth) (This)->lpVtbl->SetMaxWidth(This,maxWidth) +#define IDWriteTextLayout2_SetMaxHeight(This,maxHeight) (This)->lpVtbl->SetMaxHeight(This,maxHeight) +#define IDWriteTextLayout2_SetFontCollection(This,collection,range) (This)->lpVtbl->SetFontCollection(This,collection,range) +#define IDWriteTextLayout2_SetFontFamilyName(This,name,range) (This)->lpVtbl->SetFontFamilyName(This,name,range) +#define IDWriteTextLayout2_SetFontWeight(This,weight,range) (This)->lpVtbl->SetFontWeight(This,weight,range) +#define IDWriteTextLayout2_SetFontStyle(This,style,range) (This)->lpVtbl->SetFontStyle(This,style,range) +#define IDWriteTextLayout2_SetFontStretch(This,stretch,range) (This)->lpVtbl->SetFontStretch(This,stretch,range) +#define IDWriteTextLayout2_SetFontSize(This,size,range) (This)->lpVtbl->SetFontSize(This,size,range) +#define IDWriteTextLayout2_SetUnderline(This,underline,range) (This)->lpVtbl->SetUnderline(This,underline,range) +#define IDWriteTextLayout2_SetStrikethrough(This,strikethrough,range) (This)->lpVtbl->SetStrikethrough(This,strikethrough,range) +#define IDWriteTextLayout2_SetDrawingEffect(This,effect,range) (This)->lpVtbl->SetDrawingEffect(This,effect,range) +#define IDWriteTextLayout2_SetInlineObject(This,object,range) (This)->lpVtbl->SetInlineObject(This,object,range) +#define IDWriteTextLayout2_SetTypography(This,typography,range) (This)->lpVtbl->SetTypography(This,typography,range) +#define IDWriteTextLayout2_SetLocaleName(This,locale,range) (This)->lpVtbl->SetLocaleName(This,locale,range) +#define IDWriteTextLayout2_GetMaxWidth(This) (This)->lpVtbl->GetMaxWidth(This) +#define IDWriteTextLayout2_GetMaxHeight(This) (This)->lpVtbl->GetMaxHeight(This) +#define IDWriteTextLayout2_GetFontCollection(This,pos,collection,range) (This)->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range) +#define IDWriteTextLayout2_GetFontFamilyNameLength(This,pos,len,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range) +#define IDWriteTextLayout2_GetFontFamilyName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range) +#define IDWriteTextLayout2_GetFontWeight(This,position,weight,range) (This)->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range) +#define IDWriteTextLayout2_GetFontStyle(This,currentPosition,style,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range) +#define IDWriteTextLayout2_GetFontStretch(This,position,stretch,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range) +#define IDWriteTextLayout2_GetFontSize(This,position,size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range) +#define IDWriteTextLayout2_GetUnderline(This,position,has_underline,range) (This)->lpVtbl->GetUnderline(This,position,has_underline,range) +#define IDWriteTextLayout2_GetStrikethrough(This,position,has_strikethrough,range) (This)->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range) +#define IDWriteTextLayout2_GetDrawingEffect(This,position,effect,range) (This)->lpVtbl->GetDrawingEffect(This,position,effect,range) +#define IDWriteTextLayout2_GetInlineObject(This,position,object,range) (This)->lpVtbl->GetInlineObject(This,position,object,range) +#define IDWriteTextLayout2_GetTypography(This,position,typography,range) (This)->lpVtbl->GetTypography(This,position,typography,range) +#define IDWriteTextLayout2_GetLocaleNameLength(This,position,length,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range) +#define IDWriteTextLayout2_GetLocaleName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range) +#define IDWriteTextLayout2_Draw(This,context,renderer,originX,originY) (This)->lpVtbl->Draw(This,context,renderer,originX,originY) +#define IDWriteTextLayout2_GetLineMetrics(This,metrics,max_count,actual_count) (This)->lpVtbl->GetLineMetrics(This,metrics,max_count,actual_count) +#define IDWriteTextLayout2_GetOverhangMetrics(This,overhangs) (This)->lpVtbl->GetOverhangMetrics(This,overhangs) +#define IDWriteTextLayout2_GetClusterMetrics(This,metrics,max_count,act_count) (This)->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count) +#define IDWriteTextLayout2_DetermineMinWidth(This,min_width) (This)->lpVtbl->DetermineMinWidth(This,min_width) +#define IDWriteTextLayout2_HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) (This)->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) +#define IDWriteTextLayout2_HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) (This)->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) +#define IDWriteTextLayout2_HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) (This)->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) +/*** IDWriteTextLayout1 methods ***/ +#define IDWriteTextLayout2_SetPairKerning(This,is_pairkerning_enabled,range) (This)->lpVtbl->SetPairKerning(This,is_pairkerning_enabled,range) +#define IDWriteTextLayout2_GetPairKerning(This,position,is_pairkerning_enabled,range) (This)->lpVtbl->GetPairKerning(This,position,is_pairkerning_enabled,range) +#define IDWriteTextLayout2_SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range) (This)->lpVtbl->SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range) +#define IDWriteTextLayout2_GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range) (This)->lpVtbl->GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range) +/*** IDWriteTextLayout2 methods ***/ +#define IDWriteTextLayout2_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteTextLayout2_GetMetrics(This,metrics) +#define IDWriteTextLayout2_SetVerticalGlyphOrientation(This,orientation) (This)->lpVtbl->SetVerticalGlyphOrientation(This,orientation) +#define IDWriteTextLayout2_GetVerticalGlyphOrientation(This) (This)->lpVtbl->GetVerticalGlyphOrientation(This) +#define IDWriteTextLayout2_SetLastLineWrapping(This,lastline_wrapping_enabled) (This)->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled) +#define IDWriteTextLayout2_GetLastLineWrapping(This) (This)->lpVtbl->GetLastLineWrapping(This) +#define IDWriteTextLayout2_SetOpticalAlignment(This,alignment) (This)->lpVtbl->SetOpticalAlignment(This,alignment) +#define IDWriteTextLayout2_GetOpticalAlignment(This) (This)->lpVtbl->GetOpticalAlignment(This) +#define IDWriteTextLayout2_SetFontFallback(This,fallback) (This)->lpVtbl->SetFontFallback(This,fallback) +#define IDWriteTextLayout2_GetFontFallback(This,fallback) (This)->lpVtbl->GetFontFallback(This,fallback) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout2_QueryInterface(IDWriteTextLayout2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextLayout2_AddRef(IDWriteTextLayout2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextLayout2_Release(IDWriteTextLayout2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout2_SetTextAlignment(IDWriteTextLayout2* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetParagraphAlignment(IDWriteTextLayout2* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetWordWrapping(IDWriteTextLayout2* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetReadingDirection(IDWriteTextLayout2* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFlowDirection(IDWriteTextLayout2* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetIncrementalTabStop(IDWriteTextLayout2* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetTrimming(IDWriteTextLayout2* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetLineSpacing(IDWriteTextLayout2* This,DWRITE_LINE_SPACING_METHOD spacing,FLOAT line_spacing,FLOAT baseline) { + return This->lpVtbl->SetLineSpacing(This,spacing,line_spacing,baseline); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextLayout2_GetTextAlignment(IDWriteTextLayout2* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextLayout2_GetParagraphAlignment(IDWriteTextLayout2* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextLayout2_GetWordWrapping(IDWriteTextLayout2* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextLayout2_GetReadingDirection(IDWriteTextLayout2* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextLayout2_GetFlowDirection(IDWriteTextLayout2* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout2_GetIncrementalTabStop(IDWriteTextLayout2* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetTrimming(IDWriteTextLayout2* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetLineSpacing(IDWriteTextLayout2* This,DWRITE_LINE_SPACING_METHOD *method,FLOAT *spacing,FLOAT *baseline) { + return This->lpVtbl->GetLineSpacing(This,method,spacing,baseline); +} +/*** IDWriteTextLayout methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout2_SetMaxWidth(IDWriteTextLayout2* This,FLOAT maxWidth) { + return This->lpVtbl->SetMaxWidth(This,maxWidth); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetMaxHeight(IDWriteTextLayout2* This,FLOAT maxHeight) { + return This->lpVtbl->SetMaxHeight(This,maxHeight); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontCollection(IDWriteTextLayout2* This,IDWriteFontCollection *collection,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontCollection(This,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontFamilyName(IDWriteTextLayout2* This,const WCHAR *name,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontFamilyName(This,name,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontWeight(IDWriteTextLayout2* This,DWRITE_FONT_WEIGHT weight,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontWeight(This,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontStyle(IDWriteTextLayout2* This,DWRITE_FONT_STYLE style,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStyle(This,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontStretch(IDWriteTextLayout2* This,DWRITE_FONT_STRETCH stretch,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStretch(This,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontSize(IDWriteTextLayout2* This,FLOAT size,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontSize(This,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetUnderline(IDWriteTextLayout2* This,BOOL underline,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetUnderline(This,underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetStrikethrough(IDWriteTextLayout2* This,BOOL strikethrough,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetStrikethrough(This,strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetDrawingEffect(IDWriteTextLayout2* This,IUnknown *effect,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetDrawingEffect(This,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetInlineObject(IDWriteTextLayout2* This,IDWriteInlineObject *object,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetInlineObject(This,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetTypography(IDWriteTextLayout2* This,IDWriteTypography *typography,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetTypography(This,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetLocaleName(IDWriteTextLayout2* This,const WCHAR *locale,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetLocaleName(This,locale,range); +} +static FORCEINLINE FLOAT IDWriteTextLayout2_GetMaxWidth(IDWriteTextLayout2* This) { + return This->lpVtbl->GetMaxWidth(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout2_GetMaxHeight(IDWriteTextLayout2* This) { + return This->lpVtbl->GetMaxHeight(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontCollection(IDWriteTextLayout2* This,UINT32 pos,IDWriteFontCollection **collection,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontFamilyNameLength(IDWriteTextLayout2* This,UINT32 pos,UINT32 *len,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontFamilyName(IDWriteTextLayout2* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontWeight(IDWriteTextLayout2* This,UINT32 position,DWRITE_FONT_WEIGHT *weight,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontStyle(IDWriteTextLayout2* This,UINT32 currentPosition,DWRITE_FONT_STYLE *style,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontStretch(IDWriteTextLayout2* This,UINT32 position,DWRITE_FONT_STRETCH *stretch,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontSize(IDWriteTextLayout2* This,UINT32 position,FLOAT *size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetUnderline(IDWriteTextLayout2* This,UINT32 position,BOOL *has_underline,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetUnderline(This,position,has_underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetStrikethrough(IDWriteTextLayout2* This,UINT32 position,BOOL *has_strikethrough,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetDrawingEffect(IDWriteTextLayout2* This,UINT32 position,IUnknown **effect,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetDrawingEffect(This,position,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetInlineObject(IDWriteTextLayout2* This,UINT32 position,IDWriteInlineObject **object,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetInlineObject(This,position,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetTypography(IDWriteTextLayout2* This,UINT32 position,IDWriteTypography **typography,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetTypography(This,position,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetLocaleNameLength(IDWriteTextLayout2* This,UINT32 position,UINT32 *length,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetLocaleName(IDWriteTextLayout2* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_Draw(IDWriteTextLayout2* This,void *context,IDWriteTextRenderer *renderer,FLOAT originX,FLOAT originY) { + return This->lpVtbl->Draw(This,context,renderer,originX,originY); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetLineMetrics(IDWriteTextLayout2* This,DWRITE_LINE_METRICS *metrics,UINT32 max_count,UINT32 *actual_count) { + return This->lpVtbl->GetLineMetrics(This,metrics,max_count,actual_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetOverhangMetrics(IDWriteTextLayout2* This,DWRITE_OVERHANG_METRICS *overhangs) { + return This->lpVtbl->GetOverhangMetrics(This,overhangs); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetClusterMetrics(IDWriteTextLayout2* This,DWRITE_CLUSTER_METRICS *metrics,UINT32 max_count,UINT32 *act_count) { + return This->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_DetermineMinWidth(IDWriteTextLayout2* This,FLOAT *min_width) { + return This->lpVtbl->DetermineMinWidth(This,min_width); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_HitTestPoint(IDWriteTextLayout2* This,FLOAT pointX,FLOAT pointY,BOOL *is_trailinghit,BOOL *is_inside,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_HitTestTextPosition(IDWriteTextLayout2* This,UINT32 textPosition,BOOL is_trailinghit,FLOAT *pointX,FLOAT *pointY,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_HitTestTextRange(IDWriteTextLayout2* This,UINT32 textPosition,UINT32 textLength,FLOAT originX,FLOAT originY,DWRITE_HIT_TEST_METRICS *metrics,UINT32 max_metricscount,UINT32 *actual_metricscount) { + return This->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount); +} +/*** IDWriteTextLayout1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout2_SetPairKerning(IDWriteTextLayout2* This,BOOL is_pairkerning_enabled,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetPairKerning(This,is_pairkerning_enabled,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetPairKerning(IDWriteTextLayout2* This,UINT32 position,BOOL *is_pairkerning_enabled,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetPairKerning(This,position,is_pairkerning_enabled,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetCharacterSpacing(IDWriteTextLayout2* This,FLOAT leading_spacing,FLOAT trailing_spacing,FLOAT minimum_advance_width,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetCharacterSpacing(IDWriteTextLayout2* This,UINT32 position,FLOAT *leading_spacing,FLOAT *trailing_spacing,FLOAT *minimum_advance_width,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range); +} +/*** IDWriteTextLayout2 methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout2_GetMetrics(IDWriteTextLayout2* This,DWRITE_TEXT_METRICS1 *metrics) { + return This->lpVtbl->IDWriteTextLayout2_GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetVerticalGlyphOrientation(IDWriteTextLayout2* This,DWRITE_VERTICAL_GLYPH_ORIENTATION orientation) { + return This->lpVtbl->SetVerticalGlyphOrientation(This,orientation); +} +static FORCEINLINE DWRITE_VERTICAL_GLYPH_ORIENTATION IDWriteTextLayout2_GetVerticalGlyphOrientation(IDWriteTextLayout2* This) { + return This->lpVtbl->GetVerticalGlyphOrientation(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetLastLineWrapping(IDWriteTextLayout2* This,BOOL lastline_wrapping_enabled) { + return This->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled); +} +static FORCEINLINE BOOL IDWriteTextLayout2_GetLastLineWrapping(IDWriteTextLayout2* This) { + return This->lpVtbl->GetLastLineWrapping(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetOpticalAlignment(IDWriteTextLayout2* This,DWRITE_OPTICAL_ALIGNMENT alignment) { + return This->lpVtbl->SetOpticalAlignment(This,alignment); +} +static FORCEINLINE DWRITE_OPTICAL_ALIGNMENT IDWriteTextLayout2_GetOpticalAlignment(IDWriteTextLayout2* This) { + return This->lpVtbl->GetOpticalAlignment(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_SetFontFallback(IDWriteTextLayout2* This,IDWriteFontFallback *fallback) { + return This->lpVtbl->SetFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteTextLayout2_GetFontFallback(IDWriteTextLayout2* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetFontFallback(This,fallback); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextLayout2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextAnalyzer2 interface + */ +#ifndef __IDWriteTextAnalyzer2_INTERFACE_DEFINED__ +#define __IDWriteTextAnalyzer2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextAnalyzer2, 0x553a9ff3, 0x5693, 0x4df7, 0xb5,0x2b, 0x74,0x80,0x6f,0x7f,0x2e,0xb9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("553a9ff3-5693-4df7-b52b-74806f7f2eb9") +IDWriteTextAnalyzer2 : public IDWriteTextAnalyzer1 +{ + virtual HRESULT STDMETHODCALLTYPE GetGlyphOrientationTransform( + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + FLOAT originX, + FLOAT originY, + DWRITE_MATRIX *transform) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypographicFeatures( + IDWriteFontFace *fontface, + DWRITE_SCRIPT_ANALYSIS analysis, + const WCHAR *localeName, + UINT32 max_tagcount, + UINT32 *actual_tagcount, + DWRITE_FONT_FEATURE_TAG *tags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckTypographicFeature( + IDWriteFontFace *fontface, + DWRITE_SCRIPT_ANALYSIS analysis, + const WCHAR *localeName, + DWRITE_FONT_FEATURE_TAG feature, + UINT32 glyph_count, + const UINT16 *indices, + UINT8 *feature_applies) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextAnalyzer2, 0x553a9ff3, 0x5693, 0x4df7, 0xb5,0x2b, 0x74,0x80,0x6f,0x7f,0x2e,0xb9) +#endif +#else +typedef struct IDWriteTextAnalyzer2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextAnalyzer2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextAnalyzer2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextAnalyzer2 *This); + + /*** IDWriteTextAnalyzer methods ***/ + HRESULT (STDMETHODCALLTYPE *AnalyzeScript)( + IDWriteTextAnalyzer2 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeBidi)( + IDWriteTextAnalyzer2 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeNumberSubstitution)( + IDWriteTextAnalyzer2 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *AnalyzeLineBreakpoints)( + IDWriteTextAnalyzer2 *This, + IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteTextAnalysisSink *sink); + + HRESULT (STDMETHODCALLTYPE *GetGlyphs)( + IDWriteTextAnalyzer2 *This, + const WCHAR *text, + UINT32 length, + IDWriteFontFace *font_face, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + IDWriteNumberSubstitution *substitution, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + UINT32 max_glyph_count, + UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *text_props, + UINT16 *glyph_indices, + DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 *actual_glyph_count); + + HRESULT (STDMETHODCALLTYPE *GetGlyphPlacements)( + IDWriteTextAnalyzer2 *This, + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_len, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphPlacements)( + IDWriteTextAnalyzer2 *This, + const WCHAR *text, + const UINT16 *clustermap, + DWRITE_SHAPING_TEXT_PROPERTIES *props, + UINT32 text_len, + const UINT16 *glyph_indices, + const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props, + UINT32 glyph_count, + IDWriteFontFace *font_face, + FLOAT fontEmSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + BOOL is_rtl, + const DWRITE_SCRIPT_ANALYSIS *analysis, + const WCHAR *locale, + const DWRITE_TYPOGRAPHIC_FEATURES **features, + const UINT32 *feature_range_lengths, + UINT32 feature_ranges, + FLOAT *glyph_advances, + DWRITE_GLYPH_OFFSET *glyph_offsets); + + /*** IDWriteTextAnalyzer1 methods ***/ + HRESULT (STDMETHODCALLTYPE *ApplyCharacterSpacing)( + IDWriteTextAnalyzer2 *This, + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT min_advance_width, + UINT32 len, + UINT32 glyph_count, + const UINT16 *clustermap, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *props, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets); + + HRESULT (STDMETHODCALLTYPE *GetBaseline)( + IDWriteTextAnalyzer2 *This, + IDWriteFontFace *face, + DWRITE_BASELINE baseline, + BOOL vertical, + BOOL is_simulation_allowed, + DWRITE_SCRIPT_ANALYSIS sa, + const WCHAR *localeName, + INT32 *baseline_coord, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *AnalyzeVerticalGlyphOrientation)( + IDWriteTextAnalyzer2 *This, + IDWriteTextAnalysisSource1 *source, + UINT32 text_pos, + UINT32 len, + IDWriteTextAnalysisSink1 *sink); + + HRESULT (STDMETHODCALLTYPE *GetGlyphOrientationTransform)( + IDWriteTextAnalyzer2 *This, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetScriptProperties)( + IDWriteTextAnalyzer2 *This, + DWRITE_SCRIPT_ANALYSIS sa, + DWRITE_SCRIPT_PROPERTIES *props); + + HRESULT (STDMETHODCALLTYPE *GetTextComplexity)( + IDWriteTextAnalyzer2 *This, + const WCHAR *text, + UINT32 len, + IDWriteFontFace *face, + BOOL *is_simple, + UINT32 *len_read, + UINT16 *indices); + + HRESULT (STDMETHODCALLTYPE *GetJustificationOpportunities)( + IDWriteTextAnalyzer2 *This, + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + const WCHAR *text, + const UINT16 *clustermap, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + DWRITE_JUSTIFICATION_OPPORTUNITY *jo); + + HRESULT (STDMETHODCALLTYPE *JustifyGlyphAdvances)( + IDWriteTextAnalyzer2 *This, + FLOAT width, + UINT32 glyph_count, + const DWRITE_JUSTIFICATION_OPPORTUNITY *jo, + const FLOAT *advances, + const DWRITE_GLYPH_OFFSET *offsets, + FLOAT *justifiedadvances, + DWRITE_GLYPH_OFFSET *justifiedoffsets); + + HRESULT (STDMETHODCALLTYPE *GetJustifiedGlyphs)( + IDWriteTextAnalyzer2 *This, + IDWriteFontFace *face, + FLOAT font_em_size, + DWRITE_SCRIPT_ANALYSIS sa, + UINT32 length, + UINT32 glyph_count, + UINT32 max_glyphcount, + const UINT16 *clustermap, + const UINT16 *indices, + const FLOAT *advances, + const FLOAT *justifiedadvances, + const DWRITE_GLYPH_OFFSET *justifiedoffsets, + const DWRITE_SHAPING_GLYPH_PROPERTIES *prop, + UINT32 *actual_count, + UINT16 *modified_clustermap, + UINT16 *modified_indices, + FLOAT *modified_advances, + DWRITE_GLYPH_OFFSET *modified_offsets); + + /*** IDWriteTextAnalyzer2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteTextAnalyzer2_GetGlyphOrientationTransform)( + IDWriteTextAnalyzer2 *This, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + FLOAT originX, + FLOAT originY, + DWRITE_MATRIX *transform); + + HRESULT (STDMETHODCALLTYPE *GetTypographicFeatures)( + IDWriteTextAnalyzer2 *This, + IDWriteFontFace *fontface, + DWRITE_SCRIPT_ANALYSIS analysis, + const WCHAR *localeName, + UINT32 max_tagcount, + UINT32 *actual_tagcount, + DWRITE_FONT_FEATURE_TAG *tags); + + HRESULT (STDMETHODCALLTYPE *CheckTypographicFeature)( + IDWriteTextAnalyzer2 *This, + IDWriteFontFace *fontface, + DWRITE_SCRIPT_ANALYSIS analysis, + const WCHAR *localeName, + DWRITE_FONT_FEATURE_TAG feature, + UINT32 glyph_count, + const UINT16 *indices, + UINT8 *feature_applies); + + END_INTERFACE +} IDWriteTextAnalyzer2Vtbl; + +interface IDWriteTextAnalyzer2 { + CONST_VTBL IDWriteTextAnalyzer2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextAnalyzer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextAnalyzer2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextAnalyzer2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextAnalyzer methods ***/ +#define IDWriteTextAnalyzer2_AnalyzeScript(This,source,position,length,sink) (This)->lpVtbl->AnalyzeScript(This,source,position,length,sink) +#define IDWriteTextAnalyzer2_AnalyzeBidi(This,source,position,length,sink) (This)->lpVtbl->AnalyzeBidi(This,source,position,length,sink) +#define IDWriteTextAnalyzer2_AnalyzeNumberSubstitution(This,source,position,length,sink) (This)->lpVtbl->AnalyzeNumberSubstitution(This,source,position,length,sink) +#define IDWriteTextAnalyzer2_AnalyzeLineBreakpoints(This,source,position,length,sink) (This)->lpVtbl->AnalyzeLineBreakpoints(This,source,position,length,sink) +#define IDWriteTextAnalyzer2_GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count) (This)->lpVtbl->GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count) +#define IDWriteTextAnalyzer2_GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets) (This)->lpVtbl->GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets) +#define IDWriteTextAnalyzer2_GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets) (This)->lpVtbl->GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets) +/*** IDWriteTextAnalyzer1 methods ***/ +#define IDWriteTextAnalyzer2_ApplyCharacterSpacing(This,leading_spacing,trailing_spacing,min_advance_width,len,glyph_count,clustermap,advances,offsets,props,modified_advances,modified_offsets) (This)->lpVtbl->ApplyCharacterSpacing(This,leading_spacing,trailing_spacing,min_advance_width,len,glyph_count,clustermap,advances,offsets,props,modified_advances,modified_offsets) +#define IDWriteTextAnalyzer2_GetBaseline(This,face,baseline,vertical,is_simulation_allowed,sa,localeName,baseline_coord,exists) (This)->lpVtbl->GetBaseline(This,face,baseline,vertical,is_simulation_allowed,sa,localeName,baseline_coord,exists) +#define IDWriteTextAnalyzer2_AnalyzeVerticalGlyphOrientation(This,source,text_pos,len,sink) (This)->lpVtbl->AnalyzeVerticalGlyphOrientation(This,source,text_pos,len,sink) +#define IDWriteTextAnalyzer2_GetScriptProperties(This,sa,props) (This)->lpVtbl->GetScriptProperties(This,sa,props) +#define IDWriteTextAnalyzer2_GetTextComplexity(This,text,len,face,is_simple,len_read,indices) (This)->lpVtbl->GetTextComplexity(This,text,len,face,is_simple,len_read,indices) +#define IDWriteTextAnalyzer2_GetJustificationOpportunities(This,face,font_em_size,sa,length,glyph_count,text,clustermap,prop,jo) (This)->lpVtbl->GetJustificationOpportunities(This,face,font_em_size,sa,length,glyph_count,text,clustermap,prop,jo) +#define IDWriteTextAnalyzer2_JustifyGlyphAdvances(This,width,glyph_count,jo,advances,offsets,justifiedadvances,justifiedoffsets) (This)->lpVtbl->JustifyGlyphAdvances(This,width,glyph_count,jo,advances,offsets,justifiedadvances,justifiedoffsets) +#define IDWriteTextAnalyzer2_GetJustifiedGlyphs(This,face,font_em_size,sa,length,glyph_count,max_glyphcount,clustermap,indices,advances,justifiedadvances,justifiedoffsets,prop,actual_count,modified_clustermap,modified_indices,modified_advances,modified_offsets) (This)->lpVtbl->GetJustifiedGlyphs(This,face,font_em_size,sa,length,glyph_count,max_glyphcount,clustermap,indices,advances,justifiedadvances,justifiedoffsets,prop,actual_count,modified_clustermap,modified_indices,modified_advances,modified_offsets) +/*** IDWriteTextAnalyzer2 methods ***/ +#define IDWriteTextAnalyzer2_GetGlyphOrientationTransform(This,angle,is_sideways,originX,originY,transform) (This)->lpVtbl->IDWriteTextAnalyzer2_GetGlyphOrientationTransform(This,angle,is_sideways,originX,originY,transform) +#define IDWriteTextAnalyzer2_GetTypographicFeatures(This,fontface,analysis,localeName,max_tagcount,actual_tagcount,tags) (This)->lpVtbl->GetTypographicFeatures(This,fontface,analysis,localeName,max_tagcount,actual_tagcount,tags) +#define IDWriteTextAnalyzer2_CheckTypographicFeature(This,fontface,analysis,localeName,feature,glyph_count,indices,feature_applies) (This)->lpVtbl->CheckTypographicFeature(This,fontface,analysis,localeName,feature,glyph_count,indices,feature_applies) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_QueryInterface(IDWriteTextAnalyzer2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextAnalyzer2_AddRef(IDWriteTextAnalyzer2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextAnalyzer2_Release(IDWriteTextAnalyzer2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextAnalyzer methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_AnalyzeScript(IDWriteTextAnalyzer2* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeScript(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_AnalyzeBidi(IDWriteTextAnalyzer2* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeBidi(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_AnalyzeNumberSubstitution(IDWriteTextAnalyzer2* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeNumberSubstitution(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_AnalyzeLineBreakpoints(IDWriteTextAnalyzer2* This,IDWriteTextAnalysisSource *source,UINT32 position,UINT32 length,IDWriteTextAnalysisSink *sink) { + return This->lpVtbl->AnalyzeLineBreakpoints(This,source,position,length,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetGlyphs(IDWriteTextAnalyzer2* This,const WCHAR *text,UINT32 length,IDWriteFontFace *font_face,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,IDWriteNumberSubstitution *substitution,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_len,UINT32 feature_ranges,UINT32 max_glyph_count,UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *text_props,UINT16 *glyph_indices,DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 *actual_glyph_count) { + return This->lpVtbl->GetGlyphs(This,text,length,font_face,is_sideways,is_rtl,analysis,locale,substitution,features,feature_range_len,feature_ranges,max_glyph_count,clustermap,text_props,glyph_indices,glyph_props,actual_glyph_count); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetGlyphPlacements(IDWriteTextAnalyzer2* This,const WCHAR *text,const UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *props,UINT32 text_len,const UINT16 *glyph_indices,const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 glyph_count,IDWriteFontFace *font_face,FLOAT fontEmSize,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_len,UINT32 feature_ranges,FLOAT *glyph_advances,DWRITE_GLYPH_OFFSET *glyph_offsets) { + return This->lpVtbl->GetGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,is_sideways,is_rtl,analysis,locale,features,feature_range_len,feature_ranges,glyph_advances,glyph_offsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetGdiCompatibleGlyphPlacements(IDWriteTextAnalyzer2* This,const WCHAR *text,const UINT16 *clustermap,DWRITE_SHAPING_TEXT_PROPERTIES *props,UINT32 text_len,const UINT16 *glyph_indices,const DWRITE_SHAPING_GLYPH_PROPERTIES *glyph_props,UINT32 glyph_count,IDWriteFontFace *font_face,FLOAT fontEmSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,BOOL is_rtl,const DWRITE_SCRIPT_ANALYSIS *analysis,const WCHAR *locale,const DWRITE_TYPOGRAPHIC_FEATURES **features,const UINT32 *feature_range_lengths,UINT32 feature_ranges,FLOAT *glyph_advances,DWRITE_GLYPH_OFFSET *glyph_offsets) { + return This->lpVtbl->GetGdiCompatibleGlyphPlacements(This,text,clustermap,props,text_len,glyph_indices,glyph_props,glyph_count,font_face,fontEmSize,pixels_per_dip,transform,use_gdi_natural,is_sideways,is_rtl,analysis,locale,features,feature_range_lengths,feature_ranges,glyph_advances,glyph_offsets); +} +/*** IDWriteTextAnalyzer1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_ApplyCharacterSpacing(IDWriteTextAnalyzer2* This,FLOAT leading_spacing,FLOAT trailing_spacing,FLOAT min_advance_width,UINT32 len,UINT32 glyph_count,const UINT16 *clustermap,const FLOAT *advances,const DWRITE_GLYPH_OFFSET *offsets,const DWRITE_SHAPING_GLYPH_PROPERTIES *props,FLOAT *modified_advances,DWRITE_GLYPH_OFFSET *modified_offsets) { + return This->lpVtbl->ApplyCharacterSpacing(This,leading_spacing,trailing_spacing,min_advance_width,len,glyph_count,clustermap,advances,offsets,props,modified_advances,modified_offsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetBaseline(IDWriteTextAnalyzer2* This,IDWriteFontFace *face,DWRITE_BASELINE baseline,BOOL vertical,BOOL is_simulation_allowed,DWRITE_SCRIPT_ANALYSIS sa,const WCHAR *localeName,INT32 *baseline_coord,BOOL *exists) { + return This->lpVtbl->GetBaseline(This,face,baseline,vertical,is_simulation_allowed,sa,localeName,baseline_coord,exists); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_AnalyzeVerticalGlyphOrientation(IDWriteTextAnalyzer2* This,IDWriteTextAnalysisSource1 *source,UINT32 text_pos,UINT32 len,IDWriteTextAnalysisSink1 *sink) { + return This->lpVtbl->AnalyzeVerticalGlyphOrientation(This,source,text_pos,len,sink); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetScriptProperties(IDWriteTextAnalyzer2* This,DWRITE_SCRIPT_ANALYSIS sa,DWRITE_SCRIPT_PROPERTIES *props) { + return This->lpVtbl->GetScriptProperties(This,sa,props); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetTextComplexity(IDWriteTextAnalyzer2* This,const WCHAR *text,UINT32 len,IDWriteFontFace *face,BOOL *is_simple,UINT32 *len_read,UINT16 *indices) { + return This->lpVtbl->GetTextComplexity(This,text,len,face,is_simple,len_read,indices); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetJustificationOpportunities(IDWriteTextAnalyzer2* This,IDWriteFontFace *face,FLOAT font_em_size,DWRITE_SCRIPT_ANALYSIS sa,UINT32 length,UINT32 glyph_count,const WCHAR *text,const UINT16 *clustermap,const DWRITE_SHAPING_GLYPH_PROPERTIES *prop,DWRITE_JUSTIFICATION_OPPORTUNITY *jo) { + return This->lpVtbl->GetJustificationOpportunities(This,face,font_em_size,sa,length,glyph_count,text,clustermap,prop,jo); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_JustifyGlyphAdvances(IDWriteTextAnalyzer2* This,FLOAT width,UINT32 glyph_count,const DWRITE_JUSTIFICATION_OPPORTUNITY *jo,const FLOAT *advances,const DWRITE_GLYPH_OFFSET *offsets,FLOAT *justifiedadvances,DWRITE_GLYPH_OFFSET *justifiedoffsets) { + return This->lpVtbl->JustifyGlyphAdvances(This,width,glyph_count,jo,advances,offsets,justifiedadvances,justifiedoffsets); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetJustifiedGlyphs(IDWriteTextAnalyzer2* This,IDWriteFontFace *face,FLOAT font_em_size,DWRITE_SCRIPT_ANALYSIS sa,UINT32 length,UINT32 glyph_count,UINT32 max_glyphcount,const UINT16 *clustermap,const UINT16 *indices,const FLOAT *advances,const FLOAT *justifiedadvances,const DWRITE_GLYPH_OFFSET *justifiedoffsets,const DWRITE_SHAPING_GLYPH_PROPERTIES *prop,UINT32 *actual_count,UINT16 *modified_clustermap,UINT16 *modified_indices,FLOAT *modified_advances,DWRITE_GLYPH_OFFSET *modified_offsets) { + return This->lpVtbl->GetJustifiedGlyphs(This,face,font_em_size,sa,length,glyph_count,max_glyphcount,clustermap,indices,advances,justifiedadvances,justifiedoffsets,prop,actual_count,modified_clustermap,modified_indices,modified_advances,modified_offsets); +} +/*** IDWriteTextAnalyzer2 methods ***/ +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetGlyphOrientationTransform(IDWriteTextAnalyzer2* This,DWRITE_GLYPH_ORIENTATION_ANGLE angle,BOOL is_sideways,FLOAT originX,FLOAT originY,DWRITE_MATRIX *transform) { + return This->lpVtbl->IDWriteTextAnalyzer2_GetGlyphOrientationTransform(This,angle,is_sideways,originX,originY,transform); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_GetTypographicFeatures(IDWriteTextAnalyzer2* This,IDWriteFontFace *fontface,DWRITE_SCRIPT_ANALYSIS analysis,const WCHAR *localeName,UINT32 max_tagcount,UINT32 *actual_tagcount,DWRITE_FONT_FEATURE_TAG *tags) { + return This->lpVtbl->GetTypographicFeatures(This,fontface,analysis,localeName,max_tagcount,actual_tagcount,tags); +} +static FORCEINLINE HRESULT IDWriteTextAnalyzer2_CheckTypographicFeature(IDWriteTextAnalyzer2* This,IDWriteFontFace *fontface,DWRITE_SCRIPT_ANALYSIS analysis,const WCHAR *localeName,DWRITE_FONT_FEATURE_TAG feature,UINT32 glyph_count,const UINT16 *indices,UINT8 *feature_applies) { + return This->lpVtbl->CheckTypographicFeature(This,fontface,analysis,localeName,feature,glyph_count,indices,feature_applies); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextAnalyzer2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFallbackBuilder interface + */ +#ifndef __IDWriteFontFallbackBuilder_INTERFACE_DEFINED__ +#define __IDWriteFontFallbackBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFallbackBuilder, 0xfd882d06, 0x8aba, 0x4fb8, 0xb8,0x49, 0x8b,0xe8,0xb7,0x3e,0x14,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd882d06-8aba-4fb8-b849-8be8b73e14de") +IDWriteFontFallbackBuilder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddMapping( + const DWRITE_UNICODE_RANGE *ranges, + UINT32 rangesCount, + const WCHAR **targetFamilyNames, + UINT32 targetFamilyNamesCount, + IDWriteFontCollection *collection = 0, + const WCHAR *localeName = 0, + const WCHAR *baseFamilyName = 0, + FLOAT scale = 1) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMappings( + IDWriteFontFallback *fallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFallback( + IDWriteFontFallback **fallback) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFallbackBuilder, 0xfd882d06, 0x8aba, 0x4fb8, 0xb8,0x49, 0x8b,0xe8,0xb7,0x3e,0x14,0xde) +#endif +#else +typedef struct IDWriteFontFallbackBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFallbackBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFallbackBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFallbackBuilder *This); + + /*** IDWriteFontFallbackBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *AddMapping)( + IDWriteFontFallbackBuilder *This, + const DWRITE_UNICODE_RANGE *ranges, + UINT32 rangesCount, + const WCHAR **targetFamilyNames, + UINT32 targetFamilyNamesCount, + IDWriteFontCollection *collection, + const WCHAR *localeName, + const WCHAR *baseFamilyName, + FLOAT scale); + + HRESULT (STDMETHODCALLTYPE *AddMappings)( + IDWriteFontFallbackBuilder *This, + IDWriteFontFallback *fallback); + + HRESULT (STDMETHODCALLTYPE *CreateFontFallback)( + IDWriteFontFallbackBuilder *This, + IDWriteFontFallback **fallback); + + END_INTERFACE +} IDWriteFontFallbackBuilderVtbl; + +interface IDWriteFontFallbackBuilder { + CONST_VTBL IDWriteFontFallbackBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFallbackBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFallbackBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFallbackBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFallbackBuilder methods ***/ +#define IDWriteFontFallbackBuilder_AddMapping(This,ranges,rangesCount,targetFamilyNames,targetFamilyNamesCount,collection,localeName,baseFamilyName,scale) (This)->lpVtbl->AddMapping(This,ranges,rangesCount,targetFamilyNames,targetFamilyNamesCount,collection,localeName,baseFamilyName,scale) +#define IDWriteFontFallbackBuilder_AddMappings(This,fallback) (This)->lpVtbl->AddMappings(This,fallback) +#define IDWriteFontFallbackBuilder_CreateFontFallback(This,fallback) (This)->lpVtbl->CreateFontFallback(This,fallback) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFallbackBuilder_QueryInterface(IDWriteFontFallbackBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFallbackBuilder_AddRef(IDWriteFontFallbackBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFallbackBuilder_Release(IDWriteFontFallbackBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFallbackBuilder methods ***/ +static FORCEINLINE HRESULT IDWriteFontFallbackBuilder_AddMapping(IDWriteFontFallbackBuilder* This,const DWRITE_UNICODE_RANGE *ranges,UINT32 rangesCount,const WCHAR **targetFamilyNames,UINT32 targetFamilyNamesCount,IDWriteFontCollection *collection,const WCHAR *localeName,const WCHAR *baseFamilyName,FLOAT scale) { + return This->lpVtbl->AddMapping(This,ranges,rangesCount,targetFamilyNames,targetFamilyNamesCount,collection,localeName,baseFamilyName,scale); +} +static FORCEINLINE HRESULT IDWriteFontFallbackBuilder_AddMappings(IDWriteFontFallbackBuilder* This,IDWriteFontFallback *fallback) { + return This->lpVtbl->AddMappings(This,fallback); +} +static FORCEINLINE HRESULT IDWriteFontFallbackBuilder_CreateFontFallback(IDWriteFontFallbackBuilder* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->CreateFontFallback(This,fallback); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFallbackBuilder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFont2 interface + */ +#ifndef __IDWriteFont2_INTERFACE_DEFINED__ +#define __IDWriteFont2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFont2, 0x29748ed6, 0x8c9c, 0x4a6a, 0xbe,0x0b, 0xd9,0x12,0xe8,0x53,0x89,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29748ed6-8c9c-4a6a-be0b-d912e8538944") +IDWriteFont2 : public IDWriteFont1 +{ + virtual BOOL STDMETHODCALLTYPE IsColorFont( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFont2, 0x29748ed6, 0x8c9c, 0x4a6a, 0xbe,0x0b, 0xd9,0x12,0xe8,0x53,0x89,0x44) +#endif +#else +typedef struct IDWriteFont2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFont2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFont2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFont2 *This); + + /*** IDWriteFont methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontFamily)( + IDWriteFont2 *This, + IDWriteFontFamily **family); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetWeight)( + IDWriteFont2 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetStretch)( + IDWriteFont2 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetStyle)( + IDWriteFont2 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFont2 *This); + + HRESULT (STDMETHODCALLTYPE *GetFaceNames)( + IDWriteFont2 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetInformationalStrings)( + IDWriteFont2 *This, + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFont2 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFont2 *This, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HasCharacter)( + IDWriteFont2 *This, + UINT32 value, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFont2 *This, + IDWriteFontFace **face); + + /*** IDWriteFont1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFont1_GetMetrics)( + IDWriteFont2 *This, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetPanose)( + IDWriteFont2 *This, + DWRITE_PANOSE *panose); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFont2 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFont2 *This); + + /*** IDWriteFont2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsColorFont)( + IDWriteFont2 *This); + + END_INTERFACE +} IDWriteFont2Vtbl; + +interface IDWriteFont2 { + CONST_VTBL IDWriteFont2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFont2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFont2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFont2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFont methods ***/ +#define IDWriteFont2_GetFontFamily(This,family) (This)->lpVtbl->GetFontFamily(This,family) +#define IDWriteFont2_GetWeight(This) (This)->lpVtbl->GetWeight(This) +#define IDWriteFont2_GetStretch(This) (This)->lpVtbl->GetStretch(This) +#define IDWriteFont2_GetStyle(This) (This)->lpVtbl->GetStyle(This) +#define IDWriteFont2_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFont2_GetFaceNames(This,names) (This)->lpVtbl->GetFaceNames(This,names) +#define IDWriteFont2_GetInformationalStrings(This,stringid,strings,exists) (This)->lpVtbl->GetInformationalStrings(This,stringid,strings,exists) +#define IDWriteFont2_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFont2_HasCharacter(This,value,exists) (This)->lpVtbl->HasCharacter(This,value,exists) +#define IDWriteFont2_CreateFontFace(This,face) (This)->lpVtbl->CreateFontFace(This,face) +/*** IDWriteFont1 methods ***/ +#define IDWriteFont2_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFont1_GetMetrics(This,metrics) +#define IDWriteFont2_GetPanose(This,panose) (This)->lpVtbl->GetPanose(This,panose) +#define IDWriteFont2_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFont2_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +/*** IDWriteFont2 methods ***/ +#define IDWriteFont2_IsColorFont(This) (This)->lpVtbl->IsColorFont(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFont2_QueryInterface(IDWriteFont2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFont2_AddRef(IDWriteFont2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFont2_Release(IDWriteFont2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFont methods ***/ +static FORCEINLINE HRESULT IDWriteFont2_GetFontFamily(IDWriteFont2* This,IDWriteFontFamily **family) { + return This->lpVtbl->GetFontFamily(This,family); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteFont2_GetWeight(IDWriteFont2* This) { + return This->lpVtbl->GetWeight(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteFont2_GetStretch(IDWriteFont2* This) { + return This->lpVtbl->GetStretch(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteFont2_GetStyle(IDWriteFont2* This) { + return This->lpVtbl->GetStyle(This); +} +static FORCEINLINE BOOL IDWriteFont2_IsSymbolFont(IDWriteFont2* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE HRESULT IDWriteFont2_GetFaceNames(IDWriteFont2* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFaceNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFont2_GetInformationalStrings(IDWriteFont2* This,DWRITE_INFORMATIONAL_STRING_ID stringid,IDWriteLocalizedStrings **strings,BOOL *exists) { + return This->lpVtbl->GetInformationalStrings(This,stringid,strings,exists); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFont2_GetSimulations(IDWriteFont2* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE HRESULT IDWriteFont2_HasCharacter(IDWriteFont2* This,UINT32 value,BOOL *exists) { + return This->lpVtbl->HasCharacter(This,value,exists); +} +static FORCEINLINE HRESULT IDWriteFont2_CreateFontFace(IDWriteFont2* This,IDWriteFontFace **face) { + return This->lpVtbl->CreateFontFace(This,face); +} +/*** IDWriteFont1 methods ***/ +static FORCEINLINE void IDWriteFont2_GetMetrics(IDWriteFont2* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFont1_GetMetrics(This,metrics); +} +static FORCEINLINE void IDWriteFont2_GetPanose(IDWriteFont2* This,DWRITE_PANOSE *panose) { + This->lpVtbl->GetPanose(This,panose); +} +static FORCEINLINE HRESULT IDWriteFont2_GetUnicodeRanges(IDWriteFont2* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFont2_IsMonospacedFont(IDWriteFont2* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +/*** IDWriteFont2 methods ***/ +static FORCEINLINE BOOL IDWriteFont2_IsColorFont(IDWriteFont2* This) { + return This->lpVtbl->IsColorFont(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFont2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFace2 interface + */ +#ifndef __IDWriteFontFace2_INTERFACE_DEFINED__ +#define __IDWriteFontFace2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFace2, 0xd8b768ff, 0x64bc, 0x4e66, 0x98,0x2b, 0xec,0x8e,0x87,0xf6,0x93,0xf7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d8b768ff-64bc-4e66-982b-ec8e87f693f7") +IDWriteFontFace2 : public IDWriteFontFace1 +{ + virtual BOOL STDMETHODCALLTYPE IsColorFont( + ) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetColorPaletteCount( + ) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetPaletteEntryCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPaletteEntries( + UINT32 palette_index, + UINT32 first_entry_index, + UINT32 entry_count, + DWRITE_COLOR_F *entries) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRecommendedRenderingMode( + FLOAT fontEmSize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuringmode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *renderingmode, + DWRITE_GRID_FIT_MODE *gridfitmode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFace2, 0xd8b768ff, 0x64bc, 0x4e66, 0x98,0x2b, 0xec,0x8e,0x87,0xf6,0x93,0xf7) +#endif +#else +typedef struct IDWriteFontFace2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFace2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFace2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFace2 *This); + + /*** IDWriteFontFace methods ***/ + DWRITE_FONT_FACE_TYPE (STDMETHODCALLTYPE *GetType)( + IDWriteFontFace2 *This); + + HRESULT (STDMETHODCALLTYPE *GetFiles)( + IDWriteFontFace2 *This, + UINT32 *number_of_files, + IDWriteFontFile **fontfiles); + + UINT32 (STDMETHODCALLTYPE *GetIndex)( + IDWriteFontFace2 *This); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFontFace2 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFontFace2 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFontFace2 *This, + DWRITE_FONT_METRICS *metrics); + + UINT16 (STDMETHODCALLTYPE *GetGlyphCount)( + IDWriteFontFace2 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphMetrics)( + IDWriteFontFace2 *This, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)( + IDWriteFontFace2 *This, + const UINT32 *codepoints, + UINT32 count, + UINT16 *glyph_indices); + + HRESULT (STDMETHODCALLTYPE *TryGetFontTable)( + IDWriteFontFace2 *This, + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists); + + void (STDMETHODCALLTYPE *ReleaseFontTable)( + IDWriteFontFace2 *This, + void *table_context); + + HRESULT (STDMETHODCALLTYPE *GetGlyphRunOutline)( + IDWriteFontFace2 *This, + FLOAT emSize, + const UINT16 *glyph_indices, + const FLOAT *glyph_advances, + const DWRITE_GLYPH_OFFSET *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink); + + HRESULT (STDMETHODCALLTYPE *GetRecommendedRenderingMode)( + IDWriteFontFace2 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleMetrics)( + IDWriteFontFace2 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphMetrics)( + IDWriteFontFace2 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + /*** IDWriteFontFace1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFontFace1_GetMetrics)( + IDWriteFontFace2 *This, + DWRITE_FONT_METRICS1 *metrics); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetGdiCompatibleMetrics)( + IDWriteFontFace2 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetCaretMetrics)( + IDWriteFontFace2 *This, + DWRITE_CARET_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFontFace2 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFontFace2 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphAdvances)( + IDWriteFontFace2 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphAdvances)( + IDWriteFontFace2 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances); + + HRESULT (STDMETHODCALLTYPE *GetKerningPairAdjustments)( + IDWriteFontFace2 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *adjustments); + + BOOL (STDMETHODCALLTYPE *HasKerningPairs)( + IDWriteFontFace2 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetRecommendedRenderingMode)( + IDWriteFontFace2 *This, + FLOAT font_emsize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetVerticalGlyphVariants)( + IDWriteFontFace2 *This, + UINT32 glyph_count, + const UINT16 *nominal_indices, + UINT16 *vertical_indices); + + BOOL (STDMETHODCALLTYPE *HasVerticalGlyphVariants)( + IDWriteFontFace2 *This); + + /*** IDWriteFontFace2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsColorFont)( + IDWriteFontFace2 *This); + + UINT32 (STDMETHODCALLTYPE *GetColorPaletteCount)( + IDWriteFontFace2 *This); + + UINT32 (STDMETHODCALLTYPE *GetPaletteEntryCount)( + IDWriteFontFace2 *This); + + HRESULT (STDMETHODCALLTYPE *GetPaletteEntries)( + IDWriteFontFace2 *This, + UINT32 palette_index, + UINT32 first_entry_index, + UINT32 entry_count, + DWRITE_COLOR_F *entries); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace2_GetRecommendedRenderingMode)( + IDWriteFontFace2 *This, + FLOAT fontEmSize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuringmode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *renderingmode, + DWRITE_GRID_FIT_MODE *gridfitmode); + + END_INTERFACE +} IDWriteFontFace2Vtbl; + +interface IDWriteFontFace2 { + CONST_VTBL IDWriteFontFace2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFace2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFace2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFace2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFace methods ***/ +#define IDWriteFontFace2_GetType(This) (This)->lpVtbl->GetType(This) +#define IDWriteFontFace2_GetFiles(This,number_of_files,fontfiles) (This)->lpVtbl->GetFiles(This,number_of_files,fontfiles) +#define IDWriteFontFace2_GetIndex(This) (This)->lpVtbl->GetIndex(This) +#define IDWriteFontFace2_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFontFace2_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFontFace2_GetGlyphCount(This) (This)->lpVtbl->GetGlyphCount(This) +#define IDWriteFontFace2_GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) +#define IDWriteFontFace2_GetGlyphIndices(This,codepoints,count,glyph_indices) (This)->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices) +#define IDWriteFontFace2_TryGetFontTable(This,table_tag,table_data,table_size,context,exists) (This)->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists) +#define IDWriteFontFace2_ReleaseFontTable(This,table_context) (This)->lpVtbl->ReleaseFontTable(This,table_context) +#define IDWriteFontFace2_GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) (This)->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) +#define IDWriteFontFace2_GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) +/*** IDWriteFontFace1 methods ***/ +#define IDWriteFontFace2_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics) +#define IDWriteFontFace2_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) (This)->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) +#define IDWriteFontFace2_GetCaretMetrics(This,metrics) (This)->lpVtbl->GetCaretMetrics(This,metrics) +#define IDWriteFontFace2_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFontFace2_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +#define IDWriteFontFace2_GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) (This)->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) +#define IDWriteFontFace2_GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) (This)->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) +#define IDWriteFontFace2_GetKerningPairAdjustments(This,glyph_count,indices,adjustments) (This)->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments) +#define IDWriteFontFace2_HasKerningPairs(This) (This)->lpVtbl->HasKerningPairs(This) +#define IDWriteFontFace2_GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) (This)->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) +#define IDWriteFontFace2_HasVerticalGlyphVariants(This) (This)->lpVtbl->HasVerticalGlyphVariants(This) +/*** IDWriteFontFace2 methods ***/ +#define IDWriteFontFace2_IsColorFont(This) (This)->lpVtbl->IsColorFont(This) +#define IDWriteFontFace2_GetColorPaletteCount(This) (This)->lpVtbl->GetColorPaletteCount(This) +#define IDWriteFontFace2_GetPaletteEntryCount(This) (This)->lpVtbl->GetPaletteEntryCount(This) +#define IDWriteFontFace2_GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries) (This)->lpVtbl->GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries) +#define IDWriteFontFace2_GetRecommendedRenderingMode(This,fontEmSize,dpiX,dpiY,transform,is_sideways,threshold,measuringmode,params,renderingmode,gridfitmode) (This)->lpVtbl->IDWriteFontFace2_GetRecommendedRenderingMode(This,fontEmSize,dpiX,dpiY,transform,is_sideways,threshold,measuringmode,params,renderingmode,gridfitmode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace2_QueryInterface(IDWriteFontFace2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFace2_AddRef(IDWriteFontFace2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFace2_Release(IDWriteFontFace2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFace methods ***/ +static FORCEINLINE DWRITE_FONT_FACE_TYPE IDWriteFontFace2_GetType(IDWriteFontFace2* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetFiles(IDWriteFontFace2* This,UINT32 *number_of_files,IDWriteFontFile **fontfiles) { + return This->lpVtbl->GetFiles(This,number_of_files,fontfiles); +} +static FORCEINLINE UINT32 IDWriteFontFace2_GetIndex(IDWriteFontFace2* This) { + return This->lpVtbl->GetIndex(This); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFontFace2_GetSimulations(IDWriteFontFace2* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE BOOL IDWriteFontFace2_IsSymbolFont(IDWriteFontFace2* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE UINT16 IDWriteFontFace2_GetGlyphCount(IDWriteFontFace2* This) { + return This->lpVtbl->GetGlyphCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetDesignGlyphMetrics(IDWriteFontFace2* This,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetGlyphIndices(IDWriteFontFace2* This,const UINT32 *codepoints,UINT32 count,UINT16 *glyph_indices) { + return This->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices); +} +static FORCEINLINE HRESULT IDWriteFontFace2_TryGetFontTable(IDWriteFontFace2* This,UINT32 table_tag,const void **table_data,UINT32 *table_size,void **context,BOOL *exists) { + return This->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists); +} +static FORCEINLINE void IDWriteFontFace2_ReleaseFontTable(IDWriteFontFace2* This,void *table_context) { + This->lpVtbl->ReleaseFontTable(This,table_context); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetGlyphRunOutline(IDWriteFontFace2* This,FLOAT emSize,const UINT16 *glyph_indices,const FLOAT *glyph_advances,const DWRITE_GLYPH_OFFSET *glyph_offsets,UINT32 glyph_count,BOOL is_sideways,BOOL is_rtl,IDWriteGeometrySink *geometrysink) { + return This->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetGdiCompatibleGlyphMetrics(IDWriteFontFace2* This,FLOAT emSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways); +} +/*** IDWriteFontFace1 methods ***/ +static FORCEINLINE void IDWriteFontFace2_GetMetrics(IDWriteFontFace2* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetGdiCompatibleMetrics(IDWriteFontFace2* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_FONT_METRICS1 *metrics) { + return This->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics); +} +static FORCEINLINE void IDWriteFontFace2_GetCaretMetrics(IDWriteFontFace2* This,DWRITE_CARET_METRICS *metrics) { + This->lpVtbl->GetCaretMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetUnicodeRanges(IDWriteFontFace2* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFontFace2_IsMonospacedFont(IDWriteFontFace2* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetDesignGlyphAdvances(IDWriteFontFace2* This,UINT32 glyph_count,const UINT16 *indices,INT32 *advances,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetGdiCompatibleGlyphAdvances(IDWriteFontFace2* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,UINT32 glyph_count,const UINT16 *indices,INT32 *advances) { + return This->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetKerningPairAdjustments(IDWriteFontFace2* This,UINT32 glyph_count,const UINT16 *indices,INT32 *adjustments) { + return This->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments); +} +static FORCEINLINE BOOL IDWriteFontFace2_HasKerningPairs(IDWriteFontFace2* This) { + return This->lpVtbl->HasKerningPairs(This); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetVerticalGlyphVariants(IDWriteFontFace2* This,UINT32 glyph_count,const UINT16 *nominal_indices,UINT16 *vertical_indices) { + return This->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices); +} +static FORCEINLINE BOOL IDWriteFontFace2_HasVerticalGlyphVariants(IDWriteFontFace2* This) { + return This->lpVtbl->HasVerticalGlyphVariants(This); +} +/*** IDWriteFontFace2 methods ***/ +static FORCEINLINE BOOL IDWriteFontFace2_IsColorFont(IDWriteFontFace2* This) { + return This->lpVtbl->IsColorFont(This); +} +static FORCEINLINE UINT32 IDWriteFontFace2_GetColorPaletteCount(IDWriteFontFace2* This) { + return This->lpVtbl->GetColorPaletteCount(This); +} +static FORCEINLINE UINT32 IDWriteFontFace2_GetPaletteEntryCount(IDWriteFontFace2* This) { + return This->lpVtbl->GetPaletteEntryCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetPaletteEntries(IDWriteFontFace2* This,UINT32 palette_index,UINT32 first_entry_index,UINT32 entry_count,DWRITE_COLOR_F *entries) { + return This->lpVtbl->GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries); +} +static FORCEINLINE HRESULT IDWriteFontFace2_GetRecommendedRenderingMode(IDWriteFontFace2* This,FLOAT fontEmSize,FLOAT dpiX,FLOAT dpiY,const DWRITE_MATRIX *transform,BOOL is_sideways,DWRITE_OUTLINE_THRESHOLD threshold,DWRITE_MEASURING_MODE measuringmode,IDWriteRenderingParams *params,DWRITE_RENDERING_MODE *renderingmode,DWRITE_GRID_FIT_MODE *gridfitmode) { + return This->lpVtbl->IDWriteFontFace2_GetRecommendedRenderingMode(This,fontEmSize,dpiX,dpiY,transform,is_sideways,threshold,measuringmode,params,renderingmode,gridfitmode); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFace2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteColorGlyphRunEnumerator interface + */ +#ifndef __IDWriteColorGlyphRunEnumerator_INTERFACE_DEFINED__ +#define __IDWriteColorGlyphRunEnumerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteColorGlyphRunEnumerator, 0xd31fbe17, 0xf157, 0x41a2, 0x8d,0x24, 0xcb,0x77,0x9e,0x05,0x60,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d31fbe17-f157-41a2-8d24-cb779e0560e8") +IDWriteColorGlyphRunEnumerator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE MoveNext( + BOOL *hasRun) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentRun( + const DWRITE_COLOR_GLYPH_RUN **run) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteColorGlyphRunEnumerator, 0xd31fbe17, 0xf157, 0x41a2, 0x8d,0x24, 0xcb,0x77,0x9e,0x05,0x60,0xe8) +#endif +#else +typedef struct IDWriteColorGlyphRunEnumeratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteColorGlyphRunEnumerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteColorGlyphRunEnumerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteColorGlyphRunEnumerator *This); + + /*** IDWriteColorGlyphRunEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *MoveNext)( + IDWriteColorGlyphRunEnumerator *This, + BOOL *hasRun); + + HRESULT (STDMETHODCALLTYPE *GetCurrentRun)( + IDWriteColorGlyphRunEnumerator *This, + const DWRITE_COLOR_GLYPH_RUN **run); + + END_INTERFACE +} IDWriteColorGlyphRunEnumeratorVtbl; + +interface IDWriteColorGlyphRunEnumerator { + CONST_VTBL IDWriteColorGlyphRunEnumeratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteColorGlyphRunEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteColorGlyphRunEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteColorGlyphRunEnumerator_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteColorGlyphRunEnumerator methods ***/ +#define IDWriteColorGlyphRunEnumerator_MoveNext(This,hasRun) (This)->lpVtbl->MoveNext(This,hasRun) +#define IDWriteColorGlyphRunEnumerator_GetCurrentRun(This,run) (This)->lpVtbl->GetCurrentRun(This,run) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteColorGlyphRunEnumerator_QueryInterface(IDWriteColorGlyphRunEnumerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteColorGlyphRunEnumerator_AddRef(IDWriteColorGlyphRunEnumerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteColorGlyphRunEnumerator_Release(IDWriteColorGlyphRunEnumerator* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteColorGlyphRunEnumerator methods ***/ +static FORCEINLINE HRESULT IDWriteColorGlyphRunEnumerator_MoveNext(IDWriteColorGlyphRunEnumerator* This,BOOL *hasRun) { + return This->lpVtbl->MoveNext(This,hasRun); +} +static FORCEINLINE HRESULT IDWriteColorGlyphRunEnumerator_GetCurrentRun(IDWriteColorGlyphRunEnumerator* This,const DWRITE_COLOR_GLYPH_RUN **run) { + return This->lpVtbl->GetCurrentRun(This,run); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteColorGlyphRunEnumerator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteRenderingParams2 interface + */ +#ifndef __IDWriteRenderingParams2_INTERFACE_DEFINED__ +#define __IDWriteRenderingParams2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteRenderingParams2, 0xf9d711c3, 0x9777, 0x40ae, 0x87,0xe8, 0x3e,0x5a,0xf9,0xbf,0x09,0x48); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f9d711c3-9777-40ae-87e8-3e5af9bf0948") +IDWriteRenderingParams2 : public IDWriteRenderingParams1 +{ + virtual DWRITE_GRID_FIT_MODE STDMETHODCALLTYPE GetGridFitMode( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteRenderingParams2, 0xf9d711c3, 0x9777, 0x40ae, 0x87,0xe8, 0x3e,0x5a,0xf9,0xbf,0x09,0x48) +#endif +#else +typedef struct IDWriteRenderingParams2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteRenderingParams2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteRenderingParams2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteRenderingParams2 *This); + + /*** IDWriteRenderingParams methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGamma)( + IDWriteRenderingParams2 *This); + + FLOAT (STDMETHODCALLTYPE *GetEnhancedContrast)( + IDWriteRenderingParams2 *This); + + FLOAT (STDMETHODCALLTYPE *GetClearTypeLevel)( + IDWriteRenderingParams2 *This); + + DWRITE_PIXEL_GEOMETRY (STDMETHODCALLTYPE *GetPixelGeometry)( + IDWriteRenderingParams2 *This); + + DWRITE_RENDERING_MODE (STDMETHODCALLTYPE *GetRenderingMode)( + IDWriteRenderingParams2 *This); + + /*** IDWriteRenderingParams1 methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGrayscaleEnhancedContrast)( + IDWriteRenderingParams2 *This); + + /*** IDWriteRenderingParams2 methods ***/ + DWRITE_GRID_FIT_MODE (STDMETHODCALLTYPE *GetGridFitMode)( + IDWriteRenderingParams2 *This); + + END_INTERFACE +} IDWriteRenderingParams2Vtbl; + +interface IDWriteRenderingParams2 { + CONST_VTBL IDWriteRenderingParams2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteRenderingParams2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteRenderingParams2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteRenderingParams2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteRenderingParams methods ***/ +#define IDWriteRenderingParams2_GetGamma(This) (This)->lpVtbl->GetGamma(This) +#define IDWriteRenderingParams2_GetEnhancedContrast(This) (This)->lpVtbl->GetEnhancedContrast(This) +#define IDWriteRenderingParams2_GetClearTypeLevel(This) (This)->lpVtbl->GetClearTypeLevel(This) +#define IDWriteRenderingParams2_GetPixelGeometry(This) (This)->lpVtbl->GetPixelGeometry(This) +#define IDWriteRenderingParams2_GetRenderingMode(This) (This)->lpVtbl->GetRenderingMode(This) +/*** IDWriteRenderingParams1 methods ***/ +#define IDWriteRenderingParams2_GetGrayscaleEnhancedContrast(This) (This)->lpVtbl->GetGrayscaleEnhancedContrast(This) +/*** IDWriteRenderingParams2 methods ***/ +#define IDWriteRenderingParams2_GetGridFitMode(This) (This)->lpVtbl->GetGridFitMode(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteRenderingParams2_QueryInterface(IDWriteRenderingParams2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteRenderingParams2_AddRef(IDWriteRenderingParams2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteRenderingParams2_Release(IDWriteRenderingParams2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteRenderingParams methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams2_GetGamma(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetGamma(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams2_GetEnhancedContrast(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetEnhancedContrast(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams2_GetClearTypeLevel(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetClearTypeLevel(This); +} +static FORCEINLINE DWRITE_PIXEL_GEOMETRY IDWriteRenderingParams2_GetPixelGeometry(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetPixelGeometry(This); +} +static FORCEINLINE DWRITE_RENDERING_MODE IDWriteRenderingParams2_GetRenderingMode(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetRenderingMode(This); +} +/*** IDWriteRenderingParams1 methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams2_GetGrayscaleEnhancedContrast(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetGrayscaleEnhancedContrast(This); +} +/*** IDWriteRenderingParams2 methods ***/ +static FORCEINLINE DWRITE_GRID_FIT_MODE IDWriteRenderingParams2_GetGridFitMode(IDWriteRenderingParams2* This) { + return This->lpVtbl->GetGridFitMode(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteRenderingParams2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFactory2 interface + */ +#ifndef __IDWriteFactory2_INTERFACE_DEFINED__ +#define __IDWriteFactory2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFactory2, 0x0439fc60, 0xca44, 0x4994, 0x8d,0xee, 0x3a,0x9a,0xf7,0xb7,0x32,0xec); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0439fc60-ca44-4994-8dee-3a9af7b732ec") +IDWriteFactory2 : public IDWriteFactory1 +{ + virtual HRESULT STDMETHODCALLTYPE GetSystemFontFallback( + IDWriteFontFallback **fallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFallbackBuilder( + IDWriteFontFallbackBuilder **fallbackbuilder) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateColorGlyphRun( + FLOAT originX, + FLOAT originY, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + DWRITE_MEASURING_MODE mode, + const DWRITE_MATRIX *transform, + UINT32 palette_index, + IDWriteColorGlyphRunEnumerator **colorlayers) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCustomRenderingParams( + FLOAT gamma, + FLOAT contrast, + FLOAT grayscalecontrast, + FLOAT cleartypeLevel, + DWRITE_PIXEL_GEOMETRY pixelGeometry, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_GRID_FIT_MODE gridFitMode, + IDWriteRenderingParams2 **params) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateGlyphRunAnalysis( + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_MEASURING_MODE measuringMode, + DWRITE_GRID_FIT_MODE gridFitMode, + DWRITE_TEXT_ANTIALIAS_MODE antialiasMode, + FLOAT originX, + FLOAT originY, + IDWriteGlyphRunAnalysis **analysis) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFactory2, 0x0439fc60, 0xca44, 0x4994, 0x8d,0xee, 0x3a,0x9a,0xf7,0xb7,0x32,0xec) +#endif +#else +typedef struct IDWriteFactory2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFactory2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFactory2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFactory2 *This); + + /*** IDWriteFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontCollection)( + IDWriteFactory2 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontCollection)( + IDWriteFactory2 *This, + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT (STDMETHODCALLTYPE *RegisterFontCollectionLoader)( + IDWriteFactory2 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontCollectionLoader)( + IDWriteFactory2 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReference)( + IDWriteFactory2 *This, + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontFileReference)( + IDWriteFactory2 *This, + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFactory2 *This, + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT (STDMETHODCALLTYPE *CreateRenderingParams)( + IDWriteFactory2 *This, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateMonitorRenderingParams)( + IDWriteFactory2 *This, + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateCustomRenderingParams)( + IDWriteFactory2 *This, + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *RegisterFontFileLoader)( + IDWriteFactory2 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontFileLoader)( + IDWriteFactory2 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateTextFormat)( + IDWriteFactory2 *This, + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format); + + HRESULT (STDMETHODCALLTYPE *CreateTypography)( + IDWriteFactory2 *This, + IDWriteTypography **typography); + + HRESULT (STDMETHODCALLTYPE *GetGdiInterop)( + IDWriteFactory2 *This, + IDWriteGdiInterop **gdi_interop); + + HRESULT (STDMETHODCALLTYPE *CreateTextLayout)( + IDWriteFactory2 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateGdiCompatibleTextLayout)( + IDWriteFactory2 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateEllipsisTrimmingSign)( + IDWriteFactory2 *This, + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *CreateTextAnalyzer)( + IDWriteFactory2 *This, + IDWriteTextAnalyzer **analyzer); + + HRESULT (STDMETHODCALLTYPE *CreateNumberSubstitution)( + IDWriteFactory2 *This, + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT (STDMETHODCALLTYPE *CreateGlyphRunAnalysis)( + IDWriteFactory2 *This, + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEudcFontCollection)( + IDWriteFactory2 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory1_CreateCustomRenderingParams)( + IDWriteFactory2 *This, + FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1 **params); + + /*** IDWriteFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontFallback)( + IDWriteFactory2 *This, + IDWriteFontFallback **fallback); + + HRESULT (STDMETHODCALLTYPE *CreateFontFallbackBuilder)( + IDWriteFactory2 *This, + IDWriteFontFallbackBuilder **fallbackbuilder); + + HRESULT (STDMETHODCALLTYPE *TranslateColorGlyphRun)( + IDWriteFactory2 *This, + FLOAT originX, + FLOAT originY, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + DWRITE_MEASURING_MODE mode, + const DWRITE_MATRIX *transform, + UINT32 palette_index, + IDWriteColorGlyphRunEnumerator **colorlayers); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateCustomRenderingParams)( + IDWriteFactory2 *This, + FLOAT gamma, + FLOAT contrast, + FLOAT grayscalecontrast, + FLOAT cleartypeLevel, + DWRITE_PIXEL_GEOMETRY pixelGeometry, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_GRID_FIT_MODE gridFitMode, + IDWriteRenderingParams2 **params); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateGlyphRunAnalysis)( + IDWriteFactory2 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_MEASURING_MODE measuringMode, + DWRITE_GRID_FIT_MODE gridFitMode, + DWRITE_TEXT_ANTIALIAS_MODE antialiasMode, + FLOAT originX, + FLOAT originY, + IDWriteGlyphRunAnalysis **analysis); + + END_INTERFACE +} IDWriteFactory2Vtbl; + +interface IDWriteFactory2 { + CONST_VTBL IDWriteFactory2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFactory2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFactory methods ***/ +#define IDWriteFactory2_GetSystemFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetSystemFontCollection(This,collection,check_for_updates) +#define IDWriteFactory2_CreateCustomFontCollection(This,loader,key,key_size,collection) (This)->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection) +#define IDWriteFactory2_RegisterFontCollectionLoader(This,loader) (This)->lpVtbl->RegisterFontCollectionLoader(This,loader) +#define IDWriteFactory2_UnregisterFontCollectionLoader(This,loader) (This)->lpVtbl->UnregisterFontCollectionLoader(This,loader) +#define IDWriteFactory2_CreateFontFileReference(This,path,writetime,font_file) (This)->lpVtbl->CreateFontFileReference(This,path,writetime,font_file) +#define IDWriteFactory2_CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) (This)->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) +#define IDWriteFactory2_CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) (This)->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) +#define IDWriteFactory2_CreateRenderingParams(This,params) (This)->lpVtbl->CreateRenderingParams(This,params) +#define IDWriteFactory2_CreateMonitorRenderingParams(This,monitor,params) (This)->lpVtbl->CreateMonitorRenderingParams(This,monitor,params) +#define IDWriteFactory2_RegisterFontFileLoader(This,loader) (This)->lpVtbl->RegisterFontFileLoader(This,loader) +#define IDWriteFactory2_UnregisterFontFileLoader(This,loader) (This)->lpVtbl->UnregisterFontFileLoader(This,loader) +#define IDWriteFactory2_CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) (This)->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) +#define IDWriteFactory2_CreateTypography(This,typography) (This)->lpVtbl->CreateTypography(This,typography) +#define IDWriteFactory2_GetGdiInterop(This,gdi_interop) (This)->lpVtbl->GetGdiInterop(This,gdi_interop) +#define IDWriteFactory2_CreateTextLayout(This,string,len,format,max_width,max_height,layout) (This)->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout) +#define IDWriteFactory2_CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) (This)->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) +#define IDWriteFactory2_CreateEllipsisTrimmingSign(This,format,trimming_sign) (This)->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign) +#define IDWriteFactory2_CreateTextAnalyzer(This,analyzer) (This)->lpVtbl->CreateTextAnalyzer(This,analyzer) +#define IDWriteFactory2_CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) (This)->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) +/*** IDWriteFactory1 methods ***/ +#define IDWriteFactory2_GetEudcFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates) +/*** IDWriteFactory2 methods ***/ +#define IDWriteFactory2_GetSystemFontFallback(This,fallback) (This)->lpVtbl->GetSystemFontFallback(This,fallback) +#define IDWriteFactory2_CreateFontFallbackBuilder(This,fallbackbuilder) (This)->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder) +#define IDWriteFactory2_TranslateColorGlyphRun(This,originX,originY,run,rundescr,mode,transform,palette_index,colorlayers) (This)->lpVtbl->TranslateColorGlyphRun(This,originX,originY,run,rundescr,mode,transform,palette_index,colorlayers) +#define IDWriteFactory2_CreateCustomRenderingParams(This,gamma,contrast,grayscalecontrast,cleartypeLevel,pixelGeometry,renderingMode,gridFitMode,params) (This)->lpVtbl->IDWriteFactory2_CreateCustomRenderingParams(This,gamma,contrast,grayscalecontrast,cleartypeLevel,pixelGeometry,renderingMode,gridFitMode,params) +#define IDWriteFactory2_CreateGlyphRunAnalysis(This,run,transform,renderingMode,measuringMode,gridFitMode,antialiasMode,originX,originY,analysis) (This)->lpVtbl->IDWriteFactory2_CreateGlyphRunAnalysis(This,run,transform,renderingMode,measuringMode,gridFitMode,antialiasMode,originX,originY,analysis) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFactory2_QueryInterface(IDWriteFactory2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFactory2_AddRef(IDWriteFactory2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFactory2_Release(IDWriteFactory2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFactory methods ***/ +static FORCEINLINE HRESULT IDWriteFactory2_GetSystemFontCollection(IDWriteFactory2* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetSystemFontCollection(This,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateCustomFontCollection(IDWriteFactory2* This,IDWriteFontCollectionLoader *loader,const void *key,UINT32 key_size,IDWriteFontCollection **collection) { + return This->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection); +} +static FORCEINLINE HRESULT IDWriteFactory2_RegisterFontCollectionLoader(IDWriteFactory2* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->RegisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory2_UnregisterFontCollectionLoader(IDWriteFactory2* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->UnregisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateFontFileReference(IDWriteFactory2* This,const WCHAR *path,const FILETIME *writetime,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateFontFileReference(This,path,writetime,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateCustomFontFileReference(IDWriteFactory2* This,const void *reference_key,UINT32 key_size,IDWriteFontFileLoader *loader,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateFontFace(IDWriteFactory2* This,DWRITE_FONT_FACE_TYPE facetype,UINT32 files_number,IDWriteFontFile *const *font_files,UINT32 index,DWRITE_FONT_SIMULATIONS sim_flags,IDWriteFontFace **font_face) { + return This->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateRenderingParams(IDWriteFactory2* This,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateRenderingParams(This,params); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateMonitorRenderingParams(IDWriteFactory2* This,HMONITOR monitor,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateMonitorRenderingParams(This,monitor,params); +} +static FORCEINLINE HRESULT IDWriteFactory2_RegisterFontFileLoader(IDWriteFactory2* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->RegisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory2_UnregisterFontFileLoader(IDWriteFactory2* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->UnregisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateTextFormat(IDWriteFactory2* This,const WCHAR *family_name,IDWriteFontCollection *collection,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STYLE style,DWRITE_FONT_STRETCH stretch,FLOAT size,const WCHAR *locale,IDWriteTextFormat **format) { + return This->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateTypography(IDWriteFactory2* This,IDWriteTypography **typography) { + return This->lpVtbl->CreateTypography(This,typography); +} +static FORCEINLINE HRESULT IDWriteFactory2_GetGdiInterop(IDWriteFactory2* This,IDWriteGdiInterop **gdi_interop) { + return This->lpVtbl->GetGdiInterop(This,gdi_interop); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateTextLayout(IDWriteFactory2* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT max_width,FLOAT max_height,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateGdiCompatibleTextLayout(IDWriteFactory2* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT layout_width,FLOAT layout_height,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateEllipsisTrimmingSign(IDWriteFactory2* This,IDWriteTextFormat *format,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateTextAnalyzer(IDWriteFactory2* This,IDWriteTextAnalyzer **analyzer) { + return This->lpVtbl->CreateTextAnalyzer(This,analyzer); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateNumberSubstitution(IDWriteFactory2* This,DWRITE_NUMBER_SUBSTITUTION_METHOD method,const WCHAR *locale,BOOL ignore_user_override,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution); +} +/*** IDWriteFactory1 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory2_GetEudcFontCollection(IDWriteFactory2* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates); +} +/*** IDWriteFactory2 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory2_GetSystemFontFallback(IDWriteFactory2* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetSystemFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateFontFallbackBuilder(IDWriteFactory2* This,IDWriteFontFallbackBuilder **fallbackbuilder) { + return This->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder); +} +static FORCEINLINE HRESULT IDWriteFactory2_TranslateColorGlyphRun(IDWriteFactory2* This,FLOAT originX,FLOAT originY,const DWRITE_GLYPH_RUN *run,const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr,DWRITE_MEASURING_MODE mode,const DWRITE_MATRIX *transform,UINT32 palette_index,IDWriteColorGlyphRunEnumerator **colorlayers) { + return This->lpVtbl->TranslateColorGlyphRun(This,originX,originY,run,rundescr,mode,transform,palette_index,colorlayers); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateCustomRenderingParams(IDWriteFactory2* This,FLOAT gamma,FLOAT contrast,FLOAT grayscalecontrast,FLOAT cleartypeLevel,DWRITE_PIXEL_GEOMETRY pixelGeometry,DWRITE_RENDERING_MODE renderingMode,DWRITE_GRID_FIT_MODE gridFitMode,IDWriteRenderingParams2 **params) { + return This->lpVtbl->IDWriteFactory2_CreateCustomRenderingParams(This,gamma,contrast,grayscalecontrast,cleartypeLevel,pixelGeometry,renderingMode,gridFitMode,params); +} +static FORCEINLINE HRESULT IDWriteFactory2_CreateGlyphRunAnalysis(IDWriteFactory2* This,const DWRITE_GLYPH_RUN *run,const DWRITE_MATRIX *transform,DWRITE_RENDERING_MODE renderingMode,DWRITE_MEASURING_MODE measuringMode,DWRITE_GRID_FIT_MODE gridFitMode,DWRITE_TEXT_ANTIALIAS_MODE antialiasMode,FLOAT originX,FLOAT originY,IDWriteGlyphRunAnalysis **analysis) { + return This->lpVtbl->IDWriteFactory2_CreateGlyphRunAnalysis(This,run,transform,renderingMode,measuringMode,gridFitMode,antialiasMode,originX,originY,analysis); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFactory2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dwrite_2_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_2.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_2.idl new file mode 100644 index 0000000..d2960eb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_2.idl @@ -0,0 +1,332 @@ +/* + * Copyright 2014 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dwrite_1.idl"; + +typedef enum DWRITE_OPTICAL_ALIGNMENT +{ + DWRITE_OPTICAL_ALIGNMENT_NONE, + DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS +} DWRITE_OPTICAL_ALIGNMENT; + +typedef enum DWRITE_GRID_FIT_MODE +{ + DWRITE_GRID_FIT_MODE_DEFAULT, + DWRITE_GRID_FIT_MODE_DISABLED, + DWRITE_GRID_FIT_MODE_ENABLED +} DWRITE_GRID_FIT_MODE; + +typedef struct DWRITE_TEXT_METRICS1 +{ + /* DWRITE_TEXT_METRICS fields */ + FLOAT left; + FLOAT top; + FLOAT width; + FLOAT widthIncludingTrailingWhitespace; + FLOAT height; + FLOAT layoutWidth; + FLOAT layoutHeight; + UINT32 maxBidiReorderingDepth; + UINT32 lineCount; + /* DWRITE_TEXT_METRICS1 fields */ + FLOAT heightIncludingTrailingWhitespace; +} DWRITE_TEXT_METRICS1; + +cpp_quote("#ifndef D3DCOLORVALUE_DEFINED") +typedef struct _D3DCOLORVALUE +{ + union { + FLOAT r; + FLOAT dvR; + }; + union { + FLOAT g; + FLOAT dvG; + }; + union { + FLOAT b; + FLOAT dvB; + }; + union { + FLOAT a; + FLOAT dvA; + }; +} D3DCOLORVALUE; +cpp_quote("#define D3DCOLORVALUE_DEFINED") +cpp_quote("#endif") + +typedef D3DCOLORVALUE DWRITE_COLOR_F; + +typedef struct DWRITE_COLOR_GLYPH_RUN +{ + DWRITE_GLYPH_RUN glyphRun; + DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription; + FLOAT baselineOriginX; + FLOAT baselineOriginY; + DWRITE_COLOR_F runColor; + UINT16 paletteIndex; +} DWRITE_COLOR_GLYPH_RUN; + +[ + local, + object, + uuid(d3e0e934-22a0-427e-aae4-7d9574b59db1) +] +interface IDWriteTextRenderer1 : IDWriteTextRenderer +{ + HRESULT DrawGlyphRun(void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + DWRITE_MEASURING_MODE mode, + DWRITE_GLYPH_RUN const *run, + DWRITE_GLYPH_RUN_DESCRIPTION const *rundescr, + IUnknown *effect); + + HRESULT DrawUnderline(void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + DWRITE_UNDERLINE const *underline, + IUnknown *effect); + + HRESULT DrawStrikethrough(void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + DWRITE_STRIKETHROUGH const *strikethrough, + IUnknown *effect + ); + + HRESULT DrawInlineObject(void *context, + FLOAT originX, + FLOAT originY, + DWRITE_GLYPH_ORIENTATION_ANGLE angle, + IDWriteInlineObject *inlineObject, + BOOL is_sideways, + BOOL is_rtl, + IUnknown *effect + ); +} + +[ + local, + object, + uuid(efa008f9-f7a1-48bf-b05c-f224713cc0ff) +] +interface IDWriteFontFallback : IUnknown +{ + HRESULT MapCharacters(IDWriteTextAnalysisSource *source, + UINT32 position, + UINT32 length, + IDWriteFontCollection *basecollection, + const WCHAR *baseFamilyName, + DWRITE_FONT_WEIGHT baseWeight, + DWRITE_FONT_STYLE baseStyle, + DWRITE_FONT_STRETCH baseStretch, + UINT32 *mappedLength, + IDWriteFont **mappedFont, + FLOAT *scale + ); +} + +[ + local, + object, + uuid(5f174b49-0d8b-4cfb-8bca-f1cce9d06c67) +] +interface IDWriteTextFormat1 : IDWriteTextFormat +{ + HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION orientation); + DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation(); + HRESULT SetLastLineWrapping(BOOL lastline_wrapping_enabled); + BOOL GetLastLineWrapping(); + HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT alignment); + DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment(); + HRESULT SetFontFallback(IDWriteFontFallback *fallback); + HRESULT GetFontFallback(IDWriteFontFallback **fallback); +} + +[ + local, + object, + uuid(1093c18f-8d5e-43f0-b064-0917311b525e) +] +interface IDWriteTextLayout2 : IDWriteTextLayout1 +{ + HRESULT GetMetrics(DWRITE_TEXT_METRICS1 *metrics); + HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION orientation); + DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation(); + HRESULT SetLastLineWrapping(BOOL lastline_wrapping_enabled); + BOOL GetLastLineWrapping(); + HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT alignment); + DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment(); + HRESULT SetFontFallback(IDWriteFontFallback *fallback); + HRESULT GetFontFallback(IDWriteFontFallback **fallback); +} + +[ + local, + object, + uuid(553a9ff3-5693-4df7-b52b-74806f7f2eb9) +] +interface IDWriteTextAnalyzer2 : IDWriteTextAnalyzer1 +{ + HRESULT GetGlyphOrientationTransform(DWRITE_GLYPH_ORIENTATION_ANGLE angle, + BOOL is_sideways, + FLOAT originX, + FLOAT originY, + DWRITE_MATRIX *transform + ); + HRESULT GetTypographicFeatures(IDWriteFontFace *fontface, + DWRITE_SCRIPT_ANALYSIS analysis, + const WCHAR *localeName, + UINT32 max_tagcount, + UINT32 *actual_tagcount, + DWRITE_FONT_FEATURE_TAG *tags + ); + + HRESULT CheckTypographicFeature(IDWriteFontFace *fontface, + DWRITE_SCRIPT_ANALYSIS analysis, + const WCHAR *localeName, + DWRITE_FONT_FEATURE_TAG feature, + UINT32 glyph_count, + const UINT16 *indices, + UINT8 *feature_applies + ); +} + +[ + local, + object, + uuid(fd882d06-8aba-4fb8-b849-8be8b73e14de) +] +interface IDWriteFontFallbackBuilder : IUnknown +{ + HRESULT AddMapping(const DWRITE_UNICODE_RANGE *ranges, + UINT32 rangesCount, + WCHAR const **targetFamilyNames, + UINT32 targetFamilyNamesCount, + [defaultvalue(NULL)] IDWriteFontCollection *collection, + [defaultvalue(NULL)] WCHAR const *localeName, + [defaultvalue(NULL)] WCHAR const *baseFamilyName, + [defaultvalue(1)] FLOAT scale + ); + HRESULT AddMappings(IDWriteFontFallback *fallback); + HRESULT CreateFontFallback(IDWriteFontFallback **fallback); +} + +[ + local, + object, + uuid(29748ed6-8c9c-4a6a-be0b-d912e8538944) +] +interface IDWriteFont2 : IDWriteFont1 +{ + BOOL IsColorFont(); +} + +[ + local, + object, + uuid(d8b768ff-64bc-4e66-982b-ec8e87f693f7) +] +interface IDWriteFontFace2 : IDWriteFontFace1 +{ + BOOL IsColorFont(); + UINT32 GetColorPaletteCount(); + UINT32 GetPaletteEntryCount(); + HRESULT GetPaletteEntries(UINT32 palette_index, + UINT32 first_entry_index, + UINT32 entry_count, + DWRITE_COLOR_F *entries + ); + HRESULT GetRecommendedRenderingMode(FLOAT fontEmSize, + FLOAT dpiX, + FLOAT dpiY, + DWRITE_MATRIX const *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuringmode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *renderingmode, + DWRITE_GRID_FIT_MODE *gridfitmode + ); +} + +[ + local, + object, + uuid(d31fbe17-f157-41a2-8d24-cb779e0560e8) +] +interface IDWriteColorGlyphRunEnumerator : IUnknown +{ + HRESULT MoveNext(BOOL *hasRun); + HRESULT GetCurrentRun(DWRITE_COLOR_GLYPH_RUN const **run); +} + +[ + local, + object, + uuid(f9d711c3-9777-40ae-87e8-3e5aF9bf0948) +] +interface IDWriteRenderingParams2 : IDWriteRenderingParams1 +{ + DWRITE_GRID_FIT_MODE GetGridFitMode(); +}; + +[ + local, + object, + uuid(0439fc60-ca44-4994-8dee-3a9af7b732ec) +] +interface IDWriteFactory2 : IDWriteFactory1 +{ + HRESULT GetSystemFontFallback(IDWriteFontFallback **fallback); + HRESULT CreateFontFallbackBuilder(IDWriteFontFallbackBuilder **fallbackbuilder); + HRESULT TranslateColorGlyphRun(FLOAT originX, + FLOAT originY, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + DWRITE_MEASURING_MODE mode, + const DWRITE_MATRIX *transform, + UINT32 palette_index, + IDWriteColorGlyphRunEnumerator **colorlayers + ); + + HRESULT CreateCustomRenderingParams(FLOAT gamma, + FLOAT contrast, + FLOAT grayscalecontrast, + FLOAT cleartypeLevel, + DWRITE_PIXEL_GEOMETRY pixelGeometry, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_GRID_FIT_MODE gridFitMode, + IDWriteRenderingParams2 **params + ); + + HRESULT CreateGlyphRunAnalysis(const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_MEASURING_MODE measuringMode, + DWRITE_GRID_FIT_MODE gridFitMode, + DWRITE_TEXT_ANTIALIAS_MODE antialiasMode, + FLOAT originX, + FLOAT originY, + IDWriteGlyphRunAnalysis **analysis + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_3.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_3.h new file mode 100644 index 0000000..8581298 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_3.h @@ -0,0 +1,6674 @@ +/*** Autogenerated by WIDL 2.18 from dwrite_3.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dwrite_3_h__ +#define __dwrite_3_h__ + +/* Forward declarations */ + +#ifndef __IDWriteFontDownloadListener_FWD_DEFINED__ +#define __IDWriteFontDownloadListener_FWD_DEFINED__ +typedef interface IDWriteFontDownloadListener IDWriteFontDownloadListener; +#ifdef __cplusplus +interface IDWriteFontDownloadListener; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontDownloadQueue_FWD_DEFINED__ +#define __IDWriteFontDownloadQueue_FWD_DEFINED__ +typedef interface IDWriteFontDownloadQueue IDWriteFontDownloadQueue; +#ifdef __cplusplus +interface IDWriteFontDownloadQueue; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRenderingParams3_FWD_DEFINED__ +#define __IDWriteRenderingParams3_FWD_DEFINED__ +typedef interface IDWriteRenderingParams3 IDWriteRenderingParams3; +#ifdef __cplusplus +interface IDWriteRenderingParams3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteStringList_FWD_DEFINED__ +#define __IDWriteStringList_FWD_DEFINED__ +typedef interface IDWriteStringList IDWriteStringList; +#ifdef __cplusplus +interface IDWriteStringList; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontSet_FWD_DEFINED__ +#define __IDWriteFontSet_FWD_DEFINED__ +typedef interface IDWriteFontSet IDWriteFontSet; +#ifdef __cplusplus +interface IDWriteFontSet; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFont3_FWD_DEFINED__ +#define __IDWriteFont3_FWD_DEFINED__ +typedef interface IDWriteFont3 IDWriteFont3; +#ifdef __cplusplus +interface IDWriteFont3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFamily1_FWD_DEFINED__ +#define __IDWriteFontFamily1_FWD_DEFINED__ +typedef interface IDWriteFontFamily1 IDWriteFontFamily1; +#ifdef __cplusplus +interface IDWriteFontFamily1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontCollection1_FWD_DEFINED__ +#define __IDWriteFontCollection1_FWD_DEFINED__ +typedef interface IDWriteFontCollection1 IDWriteFontCollection1; +#ifdef __cplusplus +interface IDWriteFontCollection1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFaceReference_FWD_DEFINED__ +#define __IDWriteFontFaceReference_FWD_DEFINED__ +typedef interface IDWriteFontFaceReference IDWriteFontFaceReference; +#ifdef __cplusplus +interface IDWriteFontFaceReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontList1_FWD_DEFINED__ +#define __IDWriteFontList1_FWD_DEFINED__ +typedef interface IDWriteFontList1 IDWriteFontList1; +#ifdef __cplusplus +interface IDWriteFontList1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace3_FWD_DEFINED__ +#define __IDWriteFontFace3_FWD_DEFINED__ +typedef interface IDWriteFontFace3 IDWriteFontFace3; +#ifdef __cplusplus +interface IDWriteFontFace3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextFormat2_FWD_DEFINED__ +#define __IDWriteTextFormat2_FWD_DEFINED__ +typedef interface IDWriteTextFormat2 IDWriteTextFormat2; +#ifdef __cplusplus +interface IDWriteTextFormat2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteTextLayout3_FWD_DEFINED__ +#define __IDWriteTextLayout3_FWD_DEFINED__ +typedef interface IDWriteTextLayout3 IDWriteTextLayout3; +#ifdef __cplusplus +interface IDWriteTextLayout3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteGdiInterop1_FWD_DEFINED__ +#define __IDWriteGdiInterop1_FWD_DEFINED__ +typedef interface IDWriteGdiInterop1 IDWriteGdiInterop1; +#ifdef __cplusplus +interface IDWriteGdiInterop1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontSetBuilder_FWD_DEFINED__ +#define __IDWriteFontSetBuilder_FWD_DEFINED__ +typedef interface IDWriteFontSetBuilder IDWriteFontSetBuilder; +#ifdef __cplusplus +interface IDWriteFontSetBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontSetBuilder1_FWD_DEFINED__ +#define __IDWriteFontSetBuilder1_FWD_DEFINED__ +typedef interface IDWriteFontSetBuilder1 IDWriteFontSetBuilder1; +#ifdef __cplusplus +interface IDWriteFontSetBuilder1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFactory3_FWD_DEFINED__ +#define __IDWriteFactory3_FWD_DEFINED__ +typedef interface IDWriteFactory3 IDWriteFactory3; +#ifdef __cplusplus +interface IDWriteFactory3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace4_FWD_DEFINED__ +#define __IDWriteFontFace4_FWD_DEFINED__ +typedef interface IDWriteFontFace4 IDWriteFontFace4; +#ifdef __cplusplus +interface IDWriteFontFace4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteColorGlyphRunEnumerator1_FWD_DEFINED__ +#define __IDWriteColorGlyphRunEnumerator1_FWD_DEFINED__ +typedef interface IDWriteColorGlyphRunEnumerator1 IDWriteColorGlyphRunEnumerator1; +#ifdef __cplusplus +interface IDWriteColorGlyphRunEnumerator1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFactory4_FWD_DEFINED__ +#define __IDWriteFactory4_FWD_DEFINED__ +typedef interface IDWriteFactory4 IDWriteFactory4; +#ifdef __cplusplus +interface IDWriteFactory4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteAsyncResult_FWD_DEFINED__ +#define __IDWriteAsyncResult_FWD_DEFINED__ +typedef interface IDWriteAsyncResult IDWriteAsyncResult; +#ifdef __cplusplus +interface IDWriteAsyncResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRemoteFontFileStream_FWD_DEFINED__ +#define __IDWriteRemoteFontFileStream_FWD_DEFINED__ +typedef interface IDWriteRemoteFontFileStream IDWriteRemoteFontFileStream; +#ifdef __cplusplus +interface IDWriteRemoteFontFileStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteRemoteFontFileLoader_FWD_DEFINED__ +#define __IDWriteRemoteFontFileLoader_FWD_DEFINED__ +typedef interface IDWriteRemoteFontFileLoader IDWriteRemoteFontFileLoader; +#ifdef __cplusplus +interface IDWriteRemoteFontFileLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteInMemoryFontFileLoader_FWD_DEFINED__ +#define __IDWriteInMemoryFontFileLoader_FWD_DEFINED__ +typedef interface IDWriteInMemoryFontFileLoader IDWriteInMemoryFontFileLoader; +#ifdef __cplusplus +interface IDWriteInMemoryFontFileLoader; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFactory5_FWD_DEFINED__ +#define __IDWriteFactory5_FWD_DEFINED__ +typedef interface IDWriteFactory5 IDWriteFactory5; +#ifdef __cplusplus +interface IDWriteFactory5; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IDWriteFontFaceReference_FWD_DEFINED__ +#define __IDWriteFontFaceReference_FWD_DEFINED__ +typedef interface IDWriteFontFaceReference IDWriteFontFaceReference; +#ifdef __cplusplus +interface IDWriteFontFaceReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontFace3_FWD_DEFINED__ +#define __IDWriteFontFace3_FWD_DEFINED__ +typedef interface IDWriteFontFace3 IDWriteFontFace3; +#ifdef __cplusplus +interface IDWriteFontFace3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontSet_FWD_DEFINED__ +#define __IDWriteFontSet_FWD_DEFINED__ +typedef interface IDWriteFontSet IDWriteFontSet; +#ifdef __cplusplus +interface IDWriteFontSet; +#endif /* __cplusplus */ +#endif + +#ifndef __IDWriteFontDownloadQueue_FWD_DEFINED__ +#define __IDWriteFontDownloadQueue_FWD_DEFINED__ +typedef interface IDWriteFontDownloadQueue IDWriteFontDownloadQueue; +#ifdef __cplusplus +interface IDWriteFontDownloadQueue; +#endif /* __cplusplus */ +#endif + +#ifndef _WINGDI_ +typedef struct FONTSIGNATURE FONTSIGNATURE; +#endif /* _WINGDI_ */ +typedef enum DWRITE_LOCALITY { + DWRITE_LOCALITY_REMOTE = 0, + DWRITE_LOCALITY_PARTIAL = 1, + DWRITE_LOCALITY_LOCAL = 2 +} DWRITE_LOCALITY; +typedef enum DWRITE_RENDERING_MODE1 { + DWRITE_RENDERING_MODE1_DEFAULT = 0, + DWRITE_RENDERING_MODE1_ALIASED = 1, + DWRITE_RENDERING_MODE1_GDI_CLASSIC = 2, + DWRITE_RENDERING_MODE1_GDI_NATURAL = 3, + DWRITE_RENDERING_MODE1_NATURAL = 4, + DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC = 5, + DWRITE_RENDERING_MODE1_OUTLINE = 6, + DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED = 7 +} DWRITE_RENDERING_MODE1; +typedef enum DWRITE_FONT_PROPERTY_ID { + DWRITE_FONT_PROPERTY_ID_NONE = 0, + DWRITE_FONT_PROPERTY_ID_FAMILY_NAME = 1, + DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME = 2, + DWRITE_FONT_PROPERTY_ID_FACE_NAME = 3, + DWRITE_FONT_PROPERTY_ID_FULL_NAME = 4, + DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME = 5, + DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME = 6, + DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG = 7, + DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG = 8, + DWRITE_FONT_PROPERTY_ID_WEIGHT = 9, + DWRITE_FONT_PROPERTY_ID_STRETCH = 10, + DWRITE_FONT_PROPERTY_ID_STYLE = 11, + DWRITE_FONT_PROPERTY_ID_TOTAL = 12 +} DWRITE_FONT_PROPERTY_ID; +typedef struct DWRITE_FONT_PROPERTY { + DWRITE_FONT_PROPERTY_ID propertyId; + const WCHAR *propertyValue; + const WCHAR *localeName; +} DWRITE_FONT_PROPERTY; +/***************************************************************************** + * IDWriteFontDownloadListener interface + */ +#ifndef __IDWriteFontDownloadListener_INTERFACE_DEFINED__ +#define __IDWriteFontDownloadListener_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontDownloadListener, 0xb06fe5b9, 0x43ec, 0x4393, 0x88,0x1b, 0xdb,0xe4,0xdc,0x72,0xfd,0xa7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b06fe5b9-43ec-4393-881b-dbe4dc72fda7") +IDWriteFontDownloadListener : public IUnknown +{ + virtual void STDMETHODCALLTYPE DownloadCompleted( + IDWriteFontDownloadQueue *queue, + IUnknown *context, + HRESULT result) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontDownloadListener, 0xb06fe5b9, 0x43ec, 0x4393, 0x88,0x1b, 0xdb,0xe4,0xdc,0x72,0xfd,0xa7) +#endif +#else +typedef struct IDWriteFontDownloadListenerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontDownloadListener *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontDownloadListener *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontDownloadListener *This); + + /*** IDWriteFontDownloadListener methods ***/ + void (STDMETHODCALLTYPE *DownloadCompleted)( + IDWriteFontDownloadListener *This, + IDWriteFontDownloadQueue *queue, + IUnknown *context, + HRESULT result); + + END_INTERFACE +} IDWriteFontDownloadListenerVtbl; + +interface IDWriteFontDownloadListener { + CONST_VTBL IDWriteFontDownloadListenerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontDownloadListener_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontDownloadListener_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontDownloadListener_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontDownloadListener methods ***/ +#define IDWriteFontDownloadListener_DownloadCompleted(This,queue,context,result) (This)->lpVtbl->DownloadCompleted(This,queue,context,result) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontDownloadListener_QueryInterface(IDWriteFontDownloadListener* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontDownloadListener_AddRef(IDWriteFontDownloadListener* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontDownloadListener_Release(IDWriteFontDownloadListener* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontDownloadListener methods ***/ +static FORCEINLINE void IDWriteFontDownloadListener_DownloadCompleted(IDWriteFontDownloadListener* This,IDWriteFontDownloadQueue *queue,IUnknown *context,HRESULT result) { + This->lpVtbl->DownloadCompleted(This,queue,context,result); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontDownloadListener_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontDownloadQueue interface + */ +#ifndef __IDWriteFontDownloadQueue_INTERFACE_DEFINED__ +#define __IDWriteFontDownloadQueue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontDownloadQueue, 0xb71e6052, 0x5aea, 0x4fa3, 0x83,0x2e, 0xf6,0x0d,0x43,0x1f,0x7e,0x91); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b71e6052-5aea-4fa3-832e-f60d431f7e91") +IDWriteFontDownloadQueue : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddListener( + IDWriteFontDownloadListener *listener, + UINT32 *token) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveListener( + UINT32 token) = 0; + + virtual BOOL STDMETHODCALLTYPE IsEmpty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginDownload( + IUnknown *context) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelDownload( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetGenerationCount( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontDownloadQueue, 0xb71e6052, 0x5aea, 0x4fa3, 0x83,0x2e, 0xf6,0x0d,0x43,0x1f,0x7e,0x91) +#endif +#else +typedef struct IDWriteFontDownloadQueueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontDownloadQueue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontDownloadQueue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontDownloadQueue *This); + + /*** IDWriteFontDownloadQueue methods ***/ + HRESULT (STDMETHODCALLTYPE *AddListener)( + IDWriteFontDownloadQueue *This, + IDWriteFontDownloadListener *listener, + UINT32 *token); + + HRESULT (STDMETHODCALLTYPE *RemoveListener)( + IDWriteFontDownloadQueue *This, + UINT32 token); + + BOOL (STDMETHODCALLTYPE *IsEmpty)( + IDWriteFontDownloadQueue *This); + + HRESULT (STDMETHODCALLTYPE *BeginDownload)( + IDWriteFontDownloadQueue *This, + IUnknown *context); + + HRESULT (STDMETHODCALLTYPE *CancelDownload)( + IDWriteFontDownloadQueue *This); + + UINT64 (STDMETHODCALLTYPE *GetGenerationCount)( + IDWriteFontDownloadQueue *This); + + END_INTERFACE +} IDWriteFontDownloadQueueVtbl; + +interface IDWriteFontDownloadQueue { + CONST_VTBL IDWriteFontDownloadQueueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontDownloadQueue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontDownloadQueue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontDownloadQueue_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontDownloadQueue methods ***/ +#define IDWriteFontDownloadQueue_AddListener(This,listener,token) (This)->lpVtbl->AddListener(This,listener,token) +#define IDWriteFontDownloadQueue_RemoveListener(This,token) (This)->lpVtbl->RemoveListener(This,token) +#define IDWriteFontDownloadQueue_IsEmpty(This) (This)->lpVtbl->IsEmpty(This) +#define IDWriteFontDownloadQueue_BeginDownload(This,context) (This)->lpVtbl->BeginDownload(This,context) +#define IDWriteFontDownloadQueue_CancelDownload(This) (This)->lpVtbl->CancelDownload(This) +#define IDWriteFontDownloadQueue_GetGenerationCount(This) (This)->lpVtbl->GetGenerationCount(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontDownloadQueue_QueryInterface(IDWriteFontDownloadQueue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontDownloadQueue_AddRef(IDWriteFontDownloadQueue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontDownloadQueue_Release(IDWriteFontDownloadQueue* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontDownloadQueue methods ***/ +static FORCEINLINE HRESULT IDWriteFontDownloadQueue_AddListener(IDWriteFontDownloadQueue* This,IDWriteFontDownloadListener *listener,UINT32 *token) { + return This->lpVtbl->AddListener(This,listener,token); +} +static FORCEINLINE HRESULT IDWriteFontDownloadQueue_RemoveListener(IDWriteFontDownloadQueue* This,UINT32 token) { + return This->lpVtbl->RemoveListener(This,token); +} +static FORCEINLINE BOOL IDWriteFontDownloadQueue_IsEmpty(IDWriteFontDownloadQueue* This) { + return This->lpVtbl->IsEmpty(This); +} +static FORCEINLINE HRESULT IDWriteFontDownloadQueue_BeginDownload(IDWriteFontDownloadQueue* This,IUnknown *context) { + return This->lpVtbl->BeginDownload(This,context); +} +static FORCEINLINE HRESULT IDWriteFontDownloadQueue_CancelDownload(IDWriteFontDownloadQueue* This) { + return This->lpVtbl->CancelDownload(This); +} +static FORCEINLINE UINT64 IDWriteFontDownloadQueue_GetGenerationCount(IDWriteFontDownloadQueue* This) { + return This->lpVtbl->GetGenerationCount(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontDownloadQueue_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteRenderingParams3 interface + */ +#ifndef __IDWriteRenderingParams3_INTERFACE_DEFINED__ +#define __IDWriteRenderingParams3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteRenderingParams3, 0xb7924baa, 0x391b, 0x412a, 0x8c,0x5c, 0xe4,0x4c,0xc2,0xd8,0x67,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b7924baa-391b-412a-8c5c-e44cc2d867dc") +IDWriteRenderingParams3 : public IDWriteRenderingParams2 +{ + virtual DWRITE_RENDERING_MODE1 STDMETHODCALLTYPE GetRenderingMode1( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteRenderingParams3, 0xb7924baa, 0x391b, 0x412a, 0x8c,0x5c, 0xe4,0x4c,0xc2,0xd8,0x67,0xdc) +#endif +#else +typedef struct IDWriteRenderingParams3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteRenderingParams3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteRenderingParams3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteRenderingParams3 *This); + + /*** IDWriteRenderingParams methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGamma)( + IDWriteRenderingParams3 *This); + + FLOAT (STDMETHODCALLTYPE *GetEnhancedContrast)( + IDWriteRenderingParams3 *This); + + FLOAT (STDMETHODCALLTYPE *GetClearTypeLevel)( + IDWriteRenderingParams3 *This); + + DWRITE_PIXEL_GEOMETRY (STDMETHODCALLTYPE *GetPixelGeometry)( + IDWriteRenderingParams3 *This); + + DWRITE_RENDERING_MODE (STDMETHODCALLTYPE *GetRenderingMode)( + IDWriteRenderingParams3 *This); + + /*** IDWriteRenderingParams1 methods ***/ + FLOAT (STDMETHODCALLTYPE *GetGrayscaleEnhancedContrast)( + IDWriteRenderingParams3 *This); + + /*** IDWriteRenderingParams2 methods ***/ + DWRITE_GRID_FIT_MODE (STDMETHODCALLTYPE *GetGridFitMode)( + IDWriteRenderingParams3 *This); + + /*** IDWriteRenderingParams3 methods ***/ + DWRITE_RENDERING_MODE1 (STDMETHODCALLTYPE *GetRenderingMode1)( + IDWriteRenderingParams3 *This); + + END_INTERFACE +} IDWriteRenderingParams3Vtbl; + +interface IDWriteRenderingParams3 { + CONST_VTBL IDWriteRenderingParams3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteRenderingParams3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteRenderingParams3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteRenderingParams3_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteRenderingParams methods ***/ +#define IDWriteRenderingParams3_GetGamma(This) (This)->lpVtbl->GetGamma(This) +#define IDWriteRenderingParams3_GetEnhancedContrast(This) (This)->lpVtbl->GetEnhancedContrast(This) +#define IDWriteRenderingParams3_GetClearTypeLevel(This) (This)->lpVtbl->GetClearTypeLevel(This) +#define IDWriteRenderingParams3_GetPixelGeometry(This) (This)->lpVtbl->GetPixelGeometry(This) +#define IDWriteRenderingParams3_GetRenderingMode(This) (This)->lpVtbl->GetRenderingMode(This) +/*** IDWriteRenderingParams1 methods ***/ +#define IDWriteRenderingParams3_GetGrayscaleEnhancedContrast(This) (This)->lpVtbl->GetGrayscaleEnhancedContrast(This) +/*** IDWriteRenderingParams2 methods ***/ +#define IDWriteRenderingParams3_GetGridFitMode(This) (This)->lpVtbl->GetGridFitMode(This) +/*** IDWriteRenderingParams3 methods ***/ +#define IDWriteRenderingParams3_GetRenderingMode1(This) (This)->lpVtbl->GetRenderingMode1(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteRenderingParams3_QueryInterface(IDWriteRenderingParams3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteRenderingParams3_AddRef(IDWriteRenderingParams3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteRenderingParams3_Release(IDWriteRenderingParams3* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteRenderingParams methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams3_GetGamma(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetGamma(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams3_GetEnhancedContrast(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetEnhancedContrast(This); +} +static FORCEINLINE FLOAT IDWriteRenderingParams3_GetClearTypeLevel(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetClearTypeLevel(This); +} +static FORCEINLINE DWRITE_PIXEL_GEOMETRY IDWriteRenderingParams3_GetPixelGeometry(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetPixelGeometry(This); +} +static FORCEINLINE DWRITE_RENDERING_MODE IDWriteRenderingParams3_GetRenderingMode(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetRenderingMode(This); +} +/*** IDWriteRenderingParams1 methods ***/ +static FORCEINLINE FLOAT IDWriteRenderingParams3_GetGrayscaleEnhancedContrast(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetGrayscaleEnhancedContrast(This); +} +/*** IDWriteRenderingParams2 methods ***/ +static FORCEINLINE DWRITE_GRID_FIT_MODE IDWriteRenderingParams3_GetGridFitMode(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetGridFitMode(This); +} +/*** IDWriteRenderingParams3 methods ***/ +static FORCEINLINE DWRITE_RENDERING_MODE1 IDWriteRenderingParams3_GetRenderingMode1(IDWriteRenderingParams3* This) { + return This->lpVtbl->GetRenderingMode1(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteRenderingParams3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteStringList interface + */ +#ifndef __IDWriteStringList_INTERFACE_DEFINED__ +#define __IDWriteStringList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteStringList, 0xcfee3140, 0x1257, 0x47ca, 0x8b,0x85, 0x31,0xbf,0xcf,0x3f,0x2d,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cfee3140-1257-47ca-8b85-31bfcf3f2d0e") +IDWriteStringList : public IUnknown +{ + virtual UINT32 STDMETHODCALLTYPE GetCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleNameLength( + UINT32 index, + UINT32 *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleName( + UINT32 index, + WCHAR *name, + UINT32 size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringLength( + UINT32 index, + UINT32 *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetString( + UINT32 index, + WCHAR *string, + UINT32 size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteStringList, 0xcfee3140, 0x1257, 0x47ca, 0x8b,0x85, 0x31,0xbf,0xcf,0x3f,0x2d,0x0e) +#endif +#else +typedef struct IDWriteStringListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteStringList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteStringList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteStringList *This); + + /*** IDWriteStringList methods ***/ + UINT32 (STDMETHODCALLTYPE *GetCount)( + IDWriteStringList *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteStringList *This, + UINT32 index, + UINT32 *length); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteStringList *This, + UINT32 index, + WCHAR *name, + UINT32 size); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IDWriteStringList *This, + UINT32 index, + UINT32 *length); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IDWriteStringList *This, + UINT32 index, + WCHAR *string, + UINT32 size); + + END_INTERFACE +} IDWriteStringListVtbl; + +interface IDWriteStringList { + CONST_VTBL IDWriteStringListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteStringList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteStringList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteStringList_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteStringList methods ***/ +#define IDWriteStringList_GetCount(This) (This)->lpVtbl->GetCount(This) +#define IDWriteStringList_GetLocaleNameLength(This,index,length) (This)->lpVtbl->GetLocaleNameLength(This,index,length) +#define IDWriteStringList_GetLocaleName(This,index,name,size) (This)->lpVtbl->GetLocaleName(This,index,name,size) +#define IDWriteStringList_GetStringLength(This,index,length) (This)->lpVtbl->GetStringLength(This,index,length) +#define IDWriteStringList_GetString(This,index,string,size) (This)->lpVtbl->GetString(This,index,string,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteStringList_QueryInterface(IDWriteStringList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteStringList_AddRef(IDWriteStringList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteStringList_Release(IDWriteStringList* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteStringList methods ***/ +static FORCEINLINE UINT32 IDWriteStringList_GetCount(IDWriteStringList* This) { + return This->lpVtbl->GetCount(This); +} +static FORCEINLINE HRESULT IDWriteStringList_GetLocaleNameLength(IDWriteStringList* This,UINT32 index,UINT32 *length) { + return This->lpVtbl->GetLocaleNameLength(This,index,length); +} +static FORCEINLINE HRESULT IDWriteStringList_GetLocaleName(IDWriteStringList* This,UINT32 index,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetLocaleName(This,index,name,size); +} +static FORCEINLINE HRESULT IDWriteStringList_GetStringLength(IDWriteStringList* This,UINT32 index,UINT32 *length) { + return This->lpVtbl->GetStringLength(This,index,length); +} +static FORCEINLINE HRESULT IDWriteStringList_GetString(IDWriteStringList* This,UINT32 index,WCHAR *string,UINT32 size) { + return This->lpVtbl->GetString(This,index,string,size); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteStringList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontSet interface + */ +#ifndef __IDWriteFontSet_INTERFACE_DEFINED__ +#define __IDWriteFontSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontSet, 0x53585141, 0xd9f8, 0x4095, 0x83,0x21, 0xd7,0x3c,0xf6,0xbd,0x11,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("53585141-d9f8-4095-8321-d73cf6bd116b") +IDWriteFontSet : public IUnknown +{ + virtual UINT32 STDMETHODCALLTYPE GetFontCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFaceReference( + UINT32 index, + IDWriteFontFaceReference **reference) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFontFaceReference( + IDWriteFontFaceReference *reference, + UINT32 *index, + BOOL *exists) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFontFace( + IDWriteFontFace *fontface, + UINT32 *index, + BOOL *exists) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyValues__( + DWRITE_FONT_PROPERTY_ID id, + IDWriteStringList **values) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyValues_( + DWRITE_FONT_PROPERTY_ID id, + const WCHAR *preferred_locales, + IDWriteStringList **values) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyValues( + UINT32 index, + DWRITE_FONT_PROPERTY_ID id, + BOOL *exists, + IDWriteLocalizedStrings **values) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyOccurrenceCount( + const DWRITE_FONT_PROPERTY *property, + UINT32 *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMatchingFonts_( + const WCHAR *family, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFontSet **fontset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMatchingFonts( + const DWRITE_FONT_PROPERTY *props, + UINT32 count, + IDWriteFontSet **fontset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontSet, 0x53585141, 0xd9f8, 0x4095, 0x83,0x21, 0xd7,0x3c,0xf6,0xbd,0x11,0x6b) +#endif +#else +typedef struct IDWriteFontSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontSet *This); + + /*** IDWriteFontSet methods ***/ + UINT32 (STDMETHODCALLTYPE *GetFontCount)( + IDWriteFontSet *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFaceReference)( + IDWriteFontSet *This, + UINT32 index, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *FindFontFaceReference)( + IDWriteFontSet *This, + IDWriteFontFaceReference *reference, + UINT32 *index, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *FindFontFace)( + IDWriteFontSet *This, + IDWriteFontFace *fontface, + UINT32 *index, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *GetPropertyValues__)( + IDWriteFontSet *This, + DWRITE_FONT_PROPERTY_ID id, + IDWriteStringList **values); + + HRESULT (STDMETHODCALLTYPE *GetPropertyValues_)( + IDWriteFontSet *This, + DWRITE_FONT_PROPERTY_ID id, + const WCHAR *preferred_locales, + IDWriteStringList **values); + + HRESULT (STDMETHODCALLTYPE *GetPropertyValues)( + IDWriteFontSet *This, + UINT32 index, + DWRITE_FONT_PROPERTY_ID id, + BOOL *exists, + IDWriteLocalizedStrings **values); + + HRESULT (STDMETHODCALLTYPE *GetPropertyOccurrenceCount)( + IDWriteFontSet *This, + const DWRITE_FONT_PROPERTY *property, + UINT32 *count); + + HRESULT (STDMETHODCALLTYPE *GetMatchingFonts_)( + IDWriteFontSet *This, + const WCHAR *family, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFontSet **fontset); + + HRESULT (STDMETHODCALLTYPE *GetMatchingFonts)( + IDWriteFontSet *This, + const DWRITE_FONT_PROPERTY *props, + UINT32 count, + IDWriteFontSet **fontset); + + END_INTERFACE +} IDWriteFontSetVtbl; + +interface IDWriteFontSet { + CONST_VTBL IDWriteFontSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontSet_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontSet methods ***/ +#define IDWriteFontSet_GetFontCount(This) (This)->lpVtbl->GetFontCount(This) +#define IDWriteFontSet_GetFontFaceReference(This,index,reference) (This)->lpVtbl->GetFontFaceReference(This,index,reference) +#define IDWriteFontSet_FindFontFaceReference(This,reference,index,exists) (This)->lpVtbl->FindFontFaceReference(This,reference,index,exists) +#define IDWriteFontSet_FindFontFace(This,fontface,index,exists) (This)->lpVtbl->FindFontFace(This,fontface,index,exists) +#define IDWriteFontSet_GetPropertyValues__(This,id,values) (This)->lpVtbl->GetPropertyValues__(This,id,values) +#define IDWriteFontSet_GetPropertyValues_(This,id,preferred_locales,values) (This)->lpVtbl->GetPropertyValues_(This,id,preferred_locales,values) +#define IDWriteFontSet_GetPropertyValues(This,index,id,exists,values) (This)->lpVtbl->GetPropertyValues(This,index,id,exists,values) +#define IDWriteFontSet_GetPropertyOccurrenceCount(This,property,count) (This)->lpVtbl->GetPropertyOccurrenceCount(This,property,count) +#define IDWriteFontSet_GetMatchingFonts_(This,family,weight,stretch,style,fontset) (This)->lpVtbl->GetMatchingFonts_(This,family,weight,stretch,style,fontset) +#define IDWriteFontSet_GetMatchingFonts(This,props,count,fontset) (This)->lpVtbl->GetMatchingFonts(This,props,count,fontset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontSet_QueryInterface(IDWriteFontSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontSet_AddRef(IDWriteFontSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontSet_Release(IDWriteFontSet* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontSet methods ***/ +static FORCEINLINE UINT32 IDWriteFontSet_GetFontCount(IDWriteFontSet* This) { + return This->lpVtbl->GetFontCount(This); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetFontFaceReference(IDWriteFontSet* This,UINT32 index,IDWriteFontFaceReference **reference) { + return This->lpVtbl->GetFontFaceReference(This,index,reference); +} +static FORCEINLINE HRESULT IDWriteFontSet_FindFontFaceReference(IDWriteFontSet* This,IDWriteFontFaceReference *reference,UINT32 *index,BOOL *exists) { + return This->lpVtbl->FindFontFaceReference(This,reference,index,exists); +} +static FORCEINLINE HRESULT IDWriteFontSet_FindFontFace(IDWriteFontSet* This,IDWriteFontFace *fontface,UINT32 *index,BOOL *exists) { + return This->lpVtbl->FindFontFace(This,fontface,index,exists); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetPropertyValues__(IDWriteFontSet* This,DWRITE_FONT_PROPERTY_ID id,IDWriteStringList **values) { + return This->lpVtbl->GetPropertyValues__(This,id,values); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetPropertyValues_(IDWriteFontSet* This,DWRITE_FONT_PROPERTY_ID id,const WCHAR *preferred_locales,IDWriteStringList **values) { + return This->lpVtbl->GetPropertyValues_(This,id,preferred_locales,values); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetPropertyValues(IDWriteFontSet* This,UINT32 index,DWRITE_FONT_PROPERTY_ID id,BOOL *exists,IDWriteLocalizedStrings **values) { + return This->lpVtbl->GetPropertyValues(This,index,id,exists,values); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetPropertyOccurrenceCount(IDWriteFontSet* This,const DWRITE_FONT_PROPERTY *property,UINT32 *count) { + return This->lpVtbl->GetPropertyOccurrenceCount(This,property,count); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetMatchingFonts_(IDWriteFontSet* This,const WCHAR *family,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STRETCH stretch,DWRITE_FONT_STYLE style,IDWriteFontSet **fontset) { + return This->lpVtbl->GetMatchingFonts_(This,family,weight,stretch,style,fontset); +} +static FORCEINLINE HRESULT IDWriteFontSet_GetMatchingFonts(IDWriteFontSet* This,const DWRITE_FONT_PROPERTY *props,UINT32 count,IDWriteFontSet **fontset) { + return This->lpVtbl->GetMatchingFonts(This,props,count,fontset); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontSet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFont3 interface + */ +#ifndef __IDWriteFont3_INTERFACE_DEFINED__ +#define __IDWriteFont3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFont3, 0x29748ed6, 0x8c9c, 0x4a6a, 0xbe,0x0b, 0xd9,0x12,0xe8,0x53,0x89,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29748ed6-8c9c-4a6a-be0b-d912e8538944") +IDWriteFont3 : public IDWriteFont2 +{ + virtual HRESULT STDMETHODCALLTYPE CreateFontFace( + IDWriteFontFace3 **fontface) = 0; + + virtual BOOL STDMETHODCALLTYPE Equals( + IDWriteFont *font) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFaceReference( + IDWriteFontFaceReference **reference) = 0; + + virtual BOOL STDMETHODCALLTYPE HasCharacter( + UINT32 character) = 0; + + virtual DWRITE_LOCALITY STDMETHODCALLTYPE GetLocality( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFont3, 0x29748ed6, 0x8c9c, 0x4a6a, 0xbe,0x0b, 0xd9,0x12,0xe8,0x53,0x89,0x44) +#endif +#else +typedef struct IDWriteFont3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFont3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFont3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFont3 *This); + + /*** IDWriteFont methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontFamily)( + IDWriteFont3 *This, + IDWriteFontFamily **family); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetWeight)( + IDWriteFont3 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetStretch)( + IDWriteFont3 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetStyle)( + IDWriteFont3 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFont3 *This); + + HRESULT (STDMETHODCALLTYPE *GetFaceNames)( + IDWriteFont3 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetInformationalStrings)( + IDWriteFont3 *This, + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFont3 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFont3 *This, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HasCharacter)( + IDWriteFont3 *This, + UINT32 value, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFont3 *This, + IDWriteFontFace **face); + + /*** IDWriteFont1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFont1_GetMetrics)( + IDWriteFont3 *This, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetPanose)( + IDWriteFont3 *This, + DWRITE_PANOSE *panose); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFont3 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFont3 *This); + + /*** IDWriteFont2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsColorFont)( + IDWriteFont3 *This); + + /*** IDWriteFont3 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFont3_CreateFontFace)( + IDWriteFont3 *This, + IDWriteFontFace3 **fontface); + + BOOL (STDMETHODCALLTYPE *Equals)( + IDWriteFont3 *This, + IDWriteFont *font); + + HRESULT (STDMETHODCALLTYPE *GetFontFaceReference)( + IDWriteFont3 *This, + IDWriteFontFaceReference **reference); + + BOOL (STDMETHODCALLTYPE *IDWriteFont3_HasCharacter)( + IDWriteFont3 *This, + UINT32 character); + + DWRITE_LOCALITY (STDMETHODCALLTYPE *GetLocality)( + IDWriteFont3 *This); + + END_INTERFACE +} IDWriteFont3Vtbl; + +interface IDWriteFont3 { + CONST_VTBL IDWriteFont3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFont3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFont3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFont3_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFont methods ***/ +#define IDWriteFont3_GetFontFamily(This,family) (This)->lpVtbl->GetFontFamily(This,family) +#define IDWriteFont3_GetWeight(This) (This)->lpVtbl->GetWeight(This) +#define IDWriteFont3_GetStretch(This) (This)->lpVtbl->GetStretch(This) +#define IDWriteFont3_GetStyle(This) (This)->lpVtbl->GetStyle(This) +#define IDWriteFont3_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFont3_GetFaceNames(This,names) (This)->lpVtbl->GetFaceNames(This,names) +#define IDWriteFont3_GetInformationalStrings(This,stringid,strings,exists) (This)->lpVtbl->GetInformationalStrings(This,stringid,strings,exists) +#define IDWriteFont3_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +/*** IDWriteFont1 methods ***/ +#define IDWriteFont3_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFont1_GetMetrics(This,metrics) +#define IDWriteFont3_GetPanose(This,panose) (This)->lpVtbl->GetPanose(This,panose) +#define IDWriteFont3_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFont3_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +/*** IDWriteFont2 methods ***/ +#define IDWriteFont3_IsColorFont(This) (This)->lpVtbl->IsColorFont(This) +/*** IDWriteFont3 methods ***/ +#define IDWriteFont3_CreateFontFace(This,fontface) (This)->lpVtbl->IDWriteFont3_CreateFontFace(This,fontface) +#define IDWriteFont3_Equals(This,font) (This)->lpVtbl->Equals(This,font) +#define IDWriteFont3_GetFontFaceReference(This,reference) (This)->lpVtbl->GetFontFaceReference(This,reference) +#define IDWriteFont3_HasCharacter(This,character) (This)->lpVtbl->IDWriteFont3_HasCharacter(This,character) +#define IDWriteFont3_GetLocality(This) (This)->lpVtbl->GetLocality(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFont3_QueryInterface(IDWriteFont3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFont3_AddRef(IDWriteFont3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFont3_Release(IDWriteFont3* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFont methods ***/ +static FORCEINLINE HRESULT IDWriteFont3_GetFontFamily(IDWriteFont3* This,IDWriteFontFamily **family) { + return This->lpVtbl->GetFontFamily(This,family); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteFont3_GetWeight(IDWriteFont3* This) { + return This->lpVtbl->GetWeight(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteFont3_GetStretch(IDWriteFont3* This) { + return This->lpVtbl->GetStretch(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteFont3_GetStyle(IDWriteFont3* This) { + return This->lpVtbl->GetStyle(This); +} +static FORCEINLINE BOOL IDWriteFont3_IsSymbolFont(IDWriteFont3* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE HRESULT IDWriteFont3_GetFaceNames(IDWriteFont3* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFaceNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFont3_GetInformationalStrings(IDWriteFont3* This,DWRITE_INFORMATIONAL_STRING_ID stringid,IDWriteLocalizedStrings **strings,BOOL *exists) { + return This->lpVtbl->GetInformationalStrings(This,stringid,strings,exists); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFont3_GetSimulations(IDWriteFont3* This) { + return This->lpVtbl->GetSimulations(This); +} +/*** IDWriteFont1 methods ***/ +static FORCEINLINE void IDWriteFont3_GetMetrics(IDWriteFont3* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFont1_GetMetrics(This,metrics); +} +static FORCEINLINE void IDWriteFont3_GetPanose(IDWriteFont3* This,DWRITE_PANOSE *panose) { + This->lpVtbl->GetPanose(This,panose); +} +static FORCEINLINE HRESULT IDWriteFont3_GetUnicodeRanges(IDWriteFont3* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFont3_IsMonospacedFont(IDWriteFont3* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +/*** IDWriteFont2 methods ***/ +static FORCEINLINE BOOL IDWriteFont3_IsColorFont(IDWriteFont3* This) { + return This->lpVtbl->IsColorFont(This); +} +/*** IDWriteFont3 methods ***/ +static FORCEINLINE HRESULT IDWriteFont3_CreateFontFace(IDWriteFont3* This,IDWriteFontFace3 **fontface) { + return This->lpVtbl->IDWriteFont3_CreateFontFace(This,fontface); +} +static FORCEINLINE BOOL IDWriteFont3_Equals(IDWriteFont3* This,IDWriteFont *font) { + return This->lpVtbl->Equals(This,font); +} +static FORCEINLINE HRESULT IDWriteFont3_GetFontFaceReference(IDWriteFont3* This,IDWriteFontFaceReference **reference) { + return This->lpVtbl->GetFontFaceReference(This,reference); +} +static FORCEINLINE BOOL IDWriteFont3_HasCharacter(IDWriteFont3* This,UINT32 character) { + return This->lpVtbl->IDWriteFont3_HasCharacter(This,character); +} +static FORCEINLINE DWRITE_LOCALITY IDWriteFont3_GetLocality(IDWriteFont3* This) { + return This->lpVtbl->GetLocality(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFont3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFamily1 interface + */ +#ifndef __IDWriteFontFamily1_INTERFACE_DEFINED__ +#define __IDWriteFontFamily1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFamily1, 0xda20d8ef, 0x812a, 0x4c43, 0x98,0x02, 0x62,0xec,0x4a,0xbd,0x7a,0xdf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("da20d8ef-812a-4c43-9802-62ec4abd7adf") +IDWriteFontFamily1 : public IDWriteFontFamily +{ + virtual DWRITE_LOCALITY STDMETHODCALLTYPE GetFontLocality( + UINT32 index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFont( + UINT32 index, + IDWriteFont3 **font) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFaceReference( + UINT32 index, + IDWriteFontFaceReference **reference) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFamily1, 0xda20d8ef, 0x812a, 0x4c43, 0x98,0x02, 0x62,0xec,0x4a,0xbd,0x7a,0xdf) +#endif +#else +typedef struct IDWriteFontFamily1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFamily1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFamily1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFamily1 *This); + + /*** IDWriteFontList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteFontFamily1 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontCount)( + IDWriteFontFamily1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFont)( + IDWriteFontFamily1 *This, + UINT32 index, + IDWriteFont **font); + + /*** IDWriteFontFamily methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFamilyNames)( + IDWriteFontFamily1 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetFirstMatchingFont)( + IDWriteFontFamily1 *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFont **font); + + HRESULT (STDMETHODCALLTYPE *GetMatchingFonts)( + IDWriteFontFamily1 *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, + IDWriteFontList **fonts); + + /*** IDWriteFontFamily1 methods ***/ + DWRITE_LOCALITY (STDMETHODCALLTYPE *GetFontLocality)( + IDWriteFontFamily1 *This, + UINT32 index); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFamily1_GetFont)( + IDWriteFontFamily1 *This, + UINT32 index, + IDWriteFont3 **font); + + HRESULT (STDMETHODCALLTYPE *GetFontFaceReference)( + IDWriteFontFamily1 *This, + UINT32 index, + IDWriteFontFaceReference **reference); + + END_INTERFACE +} IDWriteFontFamily1Vtbl; + +interface IDWriteFontFamily1 { + CONST_VTBL IDWriteFontFamily1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFamily1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFamily1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFamily1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontList methods ***/ +#define IDWriteFontFamily1_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteFontFamily1_GetFontCount(This) (This)->lpVtbl->GetFontCount(This) +/*** IDWriteFontFamily methods ***/ +#define IDWriteFontFamily1_GetFamilyNames(This,names) (This)->lpVtbl->GetFamilyNames(This,names) +#define IDWriteFontFamily1_GetFirstMatchingFont(This,weight,stretch,style,font) (This)->lpVtbl->GetFirstMatchingFont(This,weight,stretch,style,font) +#define IDWriteFontFamily1_GetMatchingFonts(This,weight,stretch,style,fonts) (This)->lpVtbl->GetMatchingFonts(This,weight,stretch,style,fonts) +/*** IDWriteFontFamily1 methods ***/ +#define IDWriteFontFamily1_GetFontLocality(This,index) (This)->lpVtbl->GetFontLocality(This,index) +#define IDWriteFontFamily1_GetFont(This,index,font) (This)->lpVtbl->IDWriteFontFamily1_GetFont(This,index,font) +#define IDWriteFontFamily1_GetFontFaceReference(This,index,reference) (This)->lpVtbl->GetFontFaceReference(This,index,reference) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFamily1_QueryInterface(IDWriteFontFamily1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFamily1_AddRef(IDWriteFontFamily1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFamily1_Release(IDWriteFontFamily1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontList methods ***/ +static FORCEINLINE HRESULT IDWriteFontFamily1_GetFontCollection(IDWriteFontFamily1* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteFontFamily1_GetFontCount(IDWriteFontFamily1* This) { + return This->lpVtbl->GetFontCount(This); +} +/*** IDWriteFontFamily methods ***/ +static FORCEINLINE HRESULT IDWriteFontFamily1_GetFamilyNames(IDWriteFontFamily1* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFamilyNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFontFamily1_GetFirstMatchingFont(IDWriteFontFamily1* This,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STRETCH stretch,DWRITE_FONT_STYLE style,IDWriteFont **font) { + return This->lpVtbl->GetFirstMatchingFont(This,weight,stretch,style,font); +} +static FORCEINLINE HRESULT IDWriteFontFamily1_GetMatchingFonts(IDWriteFontFamily1* This,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STRETCH stretch,DWRITE_FONT_STYLE style,IDWriteFontList **fonts) { + return This->lpVtbl->GetMatchingFonts(This,weight,stretch,style,fonts); +} +/*** IDWriteFontFamily1 methods ***/ +static FORCEINLINE DWRITE_LOCALITY IDWriteFontFamily1_GetFontLocality(IDWriteFontFamily1* This,UINT32 index) { + return This->lpVtbl->GetFontLocality(This,index); +} +static FORCEINLINE HRESULT IDWriteFontFamily1_GetFont(IDWriteFontFamily1* This,UINT32 index,IDWriteFont3 **font) { + return This->lpVtbl->IDWriteFontFamily1_GetFont(This,index,font); +} +static FORCEINLINE HRESULT IDWriteFontFamily1_GetFontFaceReference(IDWriteFontFamily1* This,UINT32 index,IDWriteFontFaceReference **reference) { + return This->lpVtbl->GetFontFaceReference(This,index,reference); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFamily1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontCollection1 interface + */ +#ifndef __IDWriteFontCollection1_INTERFACE_DEFINED__ +#define __IDWriteFontCollection1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontCollection1, 0x53585141, 0xd9f8, 0x4095, 0x83,0x21, 0xd7,0x3c,0xf6,0xbd,0x11,0x6c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("53585141-d9f8-4095-8321-d73cf6bd116c") +IDWriteFontCollection1 : public IDWriteFontCollection +{ + virtual HRESULT STDMETHODCALLTYPE GetFontSet( + IDWriteFontSet **fontset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFamily( + UINT32 index, + IDWriteFontFamily1 **family) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontCollection1, 0x53585141, 0xd9f8, 0x4095, 0x83,0x21, 0xd7,0x3c,0xf6,0xbd,0x11,0x6c) +#endif +#else +typedef struct IDWriteFontCollection1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontCollection1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontCollection1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontCollection1 *This); + + /*** IDWriteFontCollection methods ***/ + UINT32 (STDMETHODCALLTYPE *GetFontFamilyCount)( + IDWriteFontCollection1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamily)( + IDWriteFontCollection1 *This, + UINT32 index, + IDWriteFontFamily **family); + + HRESULT (STDMETHODCALLTYPE *FindFamilyName)( + IDWriteFontCollection1 *This, + const WCHAR *name, + UINT32 *index, + BOOL *exists); + + HRESULT (STDMETHODCALLTYPE *GetFontFromFontFace)( + IDWriteFontCollection1 *This, + IDWriteFontFace *face, + IDWriteFont **font); + + /*** IDWriteFontCollection1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontSet)( + IDWriteFontCollection1 *This, + IDWriteFontSet **fontset); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontCollection1_GetFontFamily)( + IDWriteFontCollection1 *This, + UINT32 index, + IDWriteFontFamily1 **family); + + END_INTERFACE +} IDWriteFontCollection1Vtbl; + +interface IDWriteFontCollection1 { + CONST_VTBL IDWriteFontCollection1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontCollection1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontCollection1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontCollection1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontCollection methods ***/ +#define IDWriteFontCollection1_GetFontFamilyCount(This) (This)->lpVtbl->GetFontFamilyCount(This) +#define IDWriteFontCollection1_FindFamilyName(This,name,index,exists) (This)->lpVtbl->FindFamilyName(This,name,index,exists) +#define IDWriteFontCollection1_GetFontFromFontFace(This,face,font) (This)->lpVtbl->GetFontFromFontFace(This,face,font) +/*** IDWriteFontCollection1 methods ***/ +#define IDWriteFontCollection1_GetFontSet(This,fontset) (This)->lpVtbl->GetFontSet(This,fontset) +#define IDWriteFontCollection1_GetFontFamily(This,index,family) (This)->lpVtbl->IDWriteFontCollection1_GetFontFamily(This,index,family) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontCollection1_QueryInterface(IDWriteFontCollection1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontCollection1_AddRef(IDWriteFontCollection1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontCollection1_Release(IDWriteFontCollection1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontCollection methods ***/ +static FORCEINLINE UINT32 IDWriteFontCollection1_GetFontFamilyCount(IDWriteFontCollection1* This) { + return This->lpVtbl->GetFontFamilyCount(This); +} +static FORCEINLINE HRESULT IDWriteFontCollection1_FindFamilyName(IDWriteFontCollection1* This,const WCHAR *name,UINT32 *index,BOOL *exists) { + return This->lpVtbl->FindFamilyName(This,name,index,exists); +} +static FORCEINLINE HRESULT IDWriteFontCollection1_GetFontFromFontFace(IDWriteFontCollection1* This,IDWriteFontFace *face,IDWriteFont **font) { + return This->lpVtbl->GetFontFromFontFace(This,face,font); +} +/*** IDWriteFontCollection1 methods ***/ +static FORCEINLINE HRESULT IDWriteFontCollection1_GetFontSet(IDWriteFontCollection1* This,IDWriteFontSet **fontset) { + return This->lpVtbl->GetFontSet(This,fontset); +} +static FORCEINLINE HRESULT IDWriteFontCollection1_GetFontFamily(IDWriteFontCollection1* This,UINT32 index,IDWriteFontFamily1 **family) { + return This->lpVtbl->IDWriteFontCollection1_GetFontFamily(This,index,family); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontCollection1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFaceReference interface + */ +#ifndef __IDWriteFontFaceReference_INTERFACE_DEFINED__ +#define __IDWriteFontFaceReference_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFaceReference, 0x5e7fa7ca, 0xdde3, 0x424c, 0x89,0xf0, 0x9f,0xcd,0x6f,0xed,0x58,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5e7fa7ca-dde3-424c-89f0-9fcd6fed58cd") +IDWriteFontFaceReference : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateFontFace( + IDWriteFontFace3 **fontface) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFaceWithSimulations( + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFace3 **fontface) = 0; + + virtual BOOL STDMETHODCALLTYPE Equals( + IDWriteFontFaceReference *reference) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetFontFaceIndex( + ) = 0; + + virtual DWRITE_FONT_SIMULATIONS STDMETHODCALLTYPE GetSimulations( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFile( + IDWriteFontFile **fontfile) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetLocalFileSize( + ) = 0; + + virtual UINT64 STDMETHODCALLTYPE GetFileSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileTime( + FILETIME *writetime) = 0; + + virtual DWRITE_LOCALITY STDMETHODCALLTYPE GetLocality( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnqueueFontDownloadRequest( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnqueueCharacterDownloadRequest( + const WCHAR *chars, + UINT32 count) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnqueueGlyphDownloadRequest( + const UINT16 *glyphs, + UINT32 count) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnqueueFileFragmentDownloadRequest( + UINT64 offset, + UINT64 size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFaceReference, 0x5e7fa7ca, 0xdde3, 0x424c, 0x89,0xf0, 0x9f,0xcd,0x6f,0xed,0x58,0xcd) +#endif +#else +typedef struct IDWriteFontFaceReferenceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFaceReference *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFaceReference *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFaceReference *This); + + /*** IDWriteFontFaceReference methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFontFaceReference *This, + IDWriteFontFace3 **fontface); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceWithSimulations)( + IDWriteFontFaceReference *This, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFace3 **fontface); + + BOOL (STDMETHODCALLTYPE *Equals)( + IDWriteFontFaceReference *This, + IDWriteFontFaceReference *reference); + + UINT32 (STDMETHODCALLTYPE *GetFontFaceIndex)( + IDWriteFontFaceReference *This); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFontFaceReference *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFile)( + IDWriteFontFaceReference *This, + IDWriteFontFile **fontfile); + + UINT64 (STDMETHODCALLTYPE *GetLocalFileSize)( + IDWriteFontFaceReference *This); + + UINT64 (STDMETHODCALLTYPE *GetFileSize)( + IDWriteFontFaceReference *This); + + HRESULT (STDMETHODCALLTYPE *GetFileTime)( + IDWriteFontFaceReference *This, + FILETIME *writetime); + + DWRITE_LOCALITY (STDMETHODCALLTYPE *GetLocality)( + IDWriteFontFaceReference *This); + + HRESULT (STDMETHODCALLTYPE *EnqueueFontDownloadRequest)( + IDWriteFontFaceReference *This); + + HRESULT (STDMETHODCALLTYPE *EnqueueCharacterDownloadRequest)( + IDWriteFontFaceReference *This, + const WCHAR *chars, + UINT32 count); + + HRESULT (STDMETHODCALLTYPE *EnqueueGlyphDownloadRequest)( + IDWriteFontFaceReference *This, + const UINT16 *glyphs, + UINT32 count); + + HRESULT (STDMETHODCALLTYPE *EnqueueFileFragmentDownloadRequest)( + IDWriteFontFaceReference *This, + UINT64 offset, + UINT64 size); + + END_INTERFACE +} IDWriteFontFaceReferenceVtbl; + +interface IDWriteFontFaceReference { + CONST_VTBL IDWriteFontFaceReferenceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFaceReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFaceReference_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFaceReference_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFaceReference methods ***/ +#define IDWriteFontFaceReference_CreateFontFace(This,fontface) (This)->lpVtbl->CreateFontFace(This,fontface) +#define IDWriteFontFaceReference_CreateFontFaceWithSimulations(This,simulations,fontface) (This)->lpVtbl->CreateFontFaceWithSimulations(This,simulations,fontface) +#define IDWriteFontFaceReference_Equals(This,reference) (This)->lpVtbl->Equals(This,reference) +#define IDWriteFontFaceReference_GetFontFaceIndex(This) (This)->lpVtbl->GetFontFaceIndex(This) +#define IDWriteFontFaceReference_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFontFaceReference_GetFontFile(This,fontfile) (This)->lpVtbl->GetFontFile(This,fontfile) +#define IDWriteFontFaceReference_GetLocalFileSize(This) (This)->lpVtbl->GetLocalFileSize(This) +#define IDWriteFontFaceReference_GetFileSize(This) (This)->lpVtbl->GetFileSize(This) +#define IDWriteFontFaceReference_GetFileTime(This,writetime) (This)->lpVtbl->GetFileTime(This,writetime) +#define IDWriteFontFaceReference_GetLocality(This) (This)->lpVtbl->GetLocality(This) +#define IDWriteFontFaceReference_EnqueueFontDownloadRequest(This) (This)->lpVtbl->EnqueueFontDownloadRequest(This) +#define IDWriteFontFaceReference_EnqueueCharacterDownloadRequest(This,chars,count) (This)->lpVtbl->EnqueueCharacterDownloadRequest(This,chars,count) +#define IDWriteFontFaceReference_EnqueueGlyphDownloadRequest(This,glyphs,count) (This)->lpVtbl->EnqueueGlyphDownloadRequest(This,glyphs,count) +#define IDWriteFontFaceReference_EnqueueFileFragmentDownloadRequest(This,offset,size) (This)->lpVtbl->EnqueueFileFragmentDownloadRequest(This,offset,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFaceReference_QueryInterface(IDWriteFontFaceReference* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFaceReference_AddRef(IDWriteFontFaceReference* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFaceReference_Release(IDWriteFontFaceReference* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFaceReference methods ***/ +static FORCEINLINE HRESULT IDWriteFontFaceReference_CreateFontFace(IDWriteFontFaceReference* This,IDWriteFontFace3 **fontface) { + return This->lpVtbl->CreateFontFace(This,fontface); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_CreateFontFaceWithSimulations(IDWriteFontFaceReference* This,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFace3 **fontface) { + return This->lpVtbl->CreateFontFaceWithSimulations(This,simulations,fontface); +} +static FORCEINLINE BOOL IDWriteFontFaceReference_Equals(IDWriteFontFaceReference* This,IDWriteFontFaceReference *reference) { + return This->lpVtbl->Equals(This,reference); +} +static FORCEINLINE UINT32 IDWriteFontFaceReference_GetFontFaceIndex(IDWriteFontFaceReference* This) { + return This->lpVtbl->GetFontFaceIndex(This); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFontFaceReference_GetSimulations(IDWriteFontFaceReference* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_GetFontFile(IDWriteFontFaceReference* This,IDWriteFontFile **fontfile) { + return This->lpVtbl->GetFontFile(This,fontfile); +} +static FORCEINLINE UINT64 IDWriteFontFaceReference_GetLocalFileSize(IDWriteFontFaceReference* This) { + return This->lpVtbl->GetLocalFileSize(This); +} +static FORCEINLINE UINT64 IDWriteFontFaceReference_GetFileSize(IDWriteFontFaceReference* This) { + return This->lpVtbl->GetFileSize(This); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_GetFileTime(IDWriteFontFaceReference* This,FILETIME *writetime) { + return This->lpVtbl->GetFileTime(This,writetime); +} +static FORCEINLINE DWRITE_LOCALITY IDWriteFontFaceReference_GetLocality(IDWriteFontFaceReference* This) { + return This->lpVtbl->GetLocality(This); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_EnqueueFontDownloadRequest(IDWriteFontFaceReference* This) { + return This->lpVtbl->EnqueueFontDownloadRequest(This); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_EnqueueCharacterDownloadRequest(IDWriteFontFaceReference* This,const WCHAR *chars,UINT32 count) { + return This->lpVtbl->EnqueueCharacterDownloadRequest(This,chars,count); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_EnqueueGlyphDownloadRequest(IDWriteFontFaceReference* This,const UINT16 *glyphs,UINT32 count) { + return This->lpVtbl->EnqueueGlyphDownloadRequest(This,glyphs,count); +} +static FORCEINLINE HRESULT IDWriteFontFaceReference_EnqueueFileFragmentDownloadRequest(IDWriteFontFaceReference* This,UINT64 offset,UINT64 size) { + return This->lpVtbl->EnqueueFileFragmentDownloadRequest(This,offset,size); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFaceReference_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontList1 interface + */ +#ifndef __IDWriteFontList1_INTERFACE_DEFINED__ +#define __IDWriteFontList1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontList1, 0xda20d8ef, 0x812a, 0x4c43, 0x98,0x02, 0x62,0xec,0x4a,0xbd,0x7a,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("da20d8ef-812a-4c43-9802-62ec4abd7ade") +IDWriteFontList1 : public IDWriteFontList +{ + virtual DWRITE_LOCALITY STDMETHODCALLTYPE GetFontLocality( + UINT32 index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFont( + UINT32 index, + IDWriteFont3 **font) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontFaceReference( + UINT32 index, + IDWriteFontFaceReference **reference) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontList1, 0xda20d8ef, 0x812a, 0x4c43, 0x98,0x02, 0x62,0xec,0x4a,0xbd,0x7a,0xde) +#endif +#else +typedef struct IDWriteFontList1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontList1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontList1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontList1 *This); + + /*** IDWriteFontList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteFontList1 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontCount)( + IDWriteFontList1 *This); + + HRESULT (STDMETHODCALLTYPE *GetFont)( + IDWriteFontList1 *This, + UINT32 index, + IDWriteFont **font); + + /*** IDWriteFontList1 methods ***/ + DWRITE_LOCALITY (STDMETHODCALLTYPE *GetFontLocality)( + IDWriteFontList1 *This, + UINT32 index); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontList1_GetFont)( + IDWriteFontList1 *This, + UINT32 index, + IDWriteFont3 **font); + + HRESULT (STDMETHODCALLTYPE *GetFontFaceReference)( + IDWriteFontList1 *This, + UINT32 index, + IDWriteFontFaceReference **reference); + + END_INTERFACE +} IDWriteFontList1Vtbl; + +interface IDWriteFontList1 { + CONST_VTBL IDWriteFontList1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontList1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontList1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontList1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontList methods ***/ +#define IDWriteFontList1_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteFontList1_GetFontCount(This) (This)->lpVtbl->GetFontCount(This) +/*** IDWriteFontList1 methods ***/ +#define IDWriteFontList1_GetFontLocality(This,index) (This)->lpVtbl->GetFontLocality(This,index) +#define IDWriteFontList1_GetFont(This,index,font) (This)->lpVtbl->IDWriteFontList1_GetFont(This,index,font) +#define IDWriteFontList1_GetFontFaceReference(This,index,reference) (This)->lpVtbl->GetFontFaceReference(This,index,reference) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontList1_QueryInterface(IDWriteFontList1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontList1_AddRef(IDWriteFontList1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontList1_Release(IDWriteFontList1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontList methods ***/ +static FORCEINLINE HRESULT IDWriteFontList1_GetFontCollection(IDWriteFontList1* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteFontList1_GetFontCount(IDWriteFontList1* This) { + return This->lpVtbl->GetFontCount(This); +} +/*** IDWriteFontList1 methods ***/ +static FORCEINLINE DWRITE_LOCALITY IDWriteFontList1_GetFontLocality(IDWriteFontList1* This,UINT32 index) { + return This->lpVtbl->GetFontLocality(This,index); +} +static FORCEINLINE HRESULT IDWriteFontList1_GetFont(IDWriteFontList1* This,UINT32 index,IDWriteFont3 **font) { + return This->lpVtbl->IDWriteFontList1_GetFont(This,index,font); +} +static FORCEINLINE HRESULT IDWriteFontList1_GetFontFaceReference(IDWriteFontList1* This,UINT32 index,IDWriteFontFaceReference **reference) { + return This->lpVtbl->GetFontFaceReference(This,index,reference); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontList1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontFace3 interface + */ +#ifndef __IDWriteFontFace3_INTERFACE_DEFINED__ +#define __IDWriteFontFace3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFace3, 0xd37d7598, 0x09be, 0x4222, 0xa2,0x36, 0x20,0x81,0x34,0x1c,0xc1,0xf2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d37d7598-09be-4222-a236-2081341cc1f2") +IDWriteFontFace3 : public IDWriteFontFace2 +{ + virtual HRESULT STDMETHODCALLTYPE GetFontFaceReference( + IDWriteFontFaceReference **reference) = 0; + + virtual void STDMETHODCALLTYPE GetPanose( + DWRITE_PANOSE *panose) = 0; + + virtual DWRITE_FONT_WEIGHT STDMETHODCALLTYPE GetWeight( + ) = 0; + + virtual DWRITE_FONT_STRETCH STDMETHODCALLTYPE GetStretch( + ) = 0; + + virtual DWRITE_FONT_STYLE STDMETHODCALLTYPE GetStyle( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFamilyNames( + IDWriteLocalizedStrings **names) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFaceNames( + IDWriteLocalizedStrings **names) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInformationalStrings( + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists) = 0; + + virtual BOOL STDMETHODCALLTYPE HasCharacter( + UINT32 character) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRecommendedRenderingMode( + FLOAT emsize, + FLOAT dpi_x, + FLOAT dpi_y, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE1 *rendering_mode, + DWRITE_GRID_FIT_MODE *gridfit_mode) = 0; + + virtual BOOL STDMETHODCALLTYPE IsCharacterLocal( + UINT32 character) = 0; + + virtual BOOL STDMETHODCALLTYPE IsGlyphLocal( + UINT16 glyph) = 0; + + virtual HRESULT STDMETHODCALLTYPE AreCharactersLocal( + const WCHAR *characters, + UINT32 count, + BOOL enqueue_if_not, + BOOL *are_local) = 0; + + virtual HRESULT STDMETHODCALLTYPE AreGlyphsLocal( + const UINT16 *glyphs, + UINT32 count, + BOOL enqueue_if_not, + BOOL *are_local) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFace3, 0xd37d7598, 0x09be, 0x4222, 0xa2,0x36, 0x20,0x81,0x34,0x1c,0xc1,0xf2) +#endif +#else +typedef struct IDWriteFontFace3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFace3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFace3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFace3 *This); + + /*** IDWriteFontFace methods ***/ + DWRITE_FONT_FACE_TYPE (STDMETHODCALLTYPE *GetType)( + IDWriteFontFace3 *This); + + HRESULT (STDMETHODCALLTYPE *GetFiles)( + IDWriteFontFace3 *This, + UINT32 *number_of_files, + IDWriteFontFile **fontfiles); + + UINT32 (STDMETHODCALLTYPE *GetIndex)( + IDWriteFontFace3 *This); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFontFace3 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFontFace3 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFontFace3 *This, + DWRITE_FONT_METRICS *metrics); + + UINT16 (STDMETHODCALLTYPE *GetGlyphCount)( + IDWriteFontFace3 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphMetrics)( + IDWriteFontFace3 *This, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)( + IDWriteFontFace3 *This, + const UINT32 *codepoints, + UINT32 count, + UINT16 *glyph_indices); + + HRESULT (STDMETHODCALLTYPE *TryGetFontTable)( + IDWriteFontFace3 *This, + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists); + + void (STDMETHODCALLTYPE *ReleaseFontTable)( + IDWriteFontFace3 *This, + void *table_context); + + HRESULT (STDMETHODCALLTYPE *GetGlyphRunOutline)( + IDWriteFontFace3 *This, + FLOAT emSize, + const UINT16 *glyph_indices, + const FLOAT *glyph_advances, + const DWRITE_GLYPH_OFFSET *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink); + + HRESULT (STDMETHODCALLTYPE *GetRecommendedRenderingMode)( + IDWriteFontFace3 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleMetrics)( + IDWriteFontFace3 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphMetrics)( + IDWriteFontFace3 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + /*** IDWriteFontFace1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFontFace1_GetMetrics)( + IDWriteFontFace3 *This, + DWRITE_FONT_METRICS1 *metrics); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetGdiCompatibleMetrics)( + IDWriteFontFace3 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetCaretMetrics)( + IDWriteFontFace3 *This, + DWRITE_CARET_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFontFace3 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFontFace3 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphAdvances)( + IDWriteFontFace3 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphAdvances)( + IDWriteFontFace3 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances); + + HRESULT (STDMETHODCALLTYPE *GetKerningPairAdjustments)( + IDWriteFontFace3 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *adjustments); + + BOOL (STDMETHODCALLTYPE *HasKerningPairs)( + IDWriteFontFace3 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetRecommendedRenderingMode)( + IDWriteFontFace3 *This, + FLOAT font_emsize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetVerticalGlyphVariants)( + IDWriteFontFace3 *This, + UINT32 glyph_count, + const UINT16 *nominal_indices, + UINT16 *vertical_indices); + + BOOL (STDMETHODCALLTYPE *HasVerticalGlyphVariants)( + IDWriteFontFace3 *This); + + /*** IDWriteFontFace2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsColorFont)( + IDWriteFontFace3 *This); + + UINT32 (STDMETHODCALLTYPE *GetColorPaletteCount)( + IDWriteFontFace3 *This); + + UINT32 (STDMETHODCALLTYPE *GetPaletteEntryCount)( + IDWriteFontFace3 *This); + + HRESULT (STDMETHODCALLTYPE *GetPaletteEntries)( + IDWriteFontFace3 *This, + UINT32 palette_index, + UINT32 first_entry_index, + UINT32 entry_count, + DWRITE_COLOR_F *entries); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace2_GetRecommendedRenderingMode)( + IDWriteFontFace3 *This, + FLOAT fontEmSize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuringmode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *renderingmode, + DWRITE_GRID_FIT_MODE *gridfitmode); + + /*** IDWriteFontFace3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontFaceReference)( + IDWriteFontFace3 *This, + IDWriteFontFaceReference **reference); + + void (STDMETHODCALLTYPE *GetPanose)( + IDWriteFontFace3 *This, + DWRITE_PANOSE *panose); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetWeight)( + IDWriteFontFace3 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetStretch)( + IDWriteFontFace3 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetStyle)( + IDWriteFontFace3 *This); + + HRESULT (STDMETHODCALLTYPE *GetFamilyNames)( + IDWriteFontFace3 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetFaceNames)( + IDWriteFontFace3 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetInformationalStrings)( + IDWriteFontFace3 *This, + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + BOOL (STDMETHODCALLTYPE *HasCharacter)( + IDWriteFontFace3 *This, + UINT32 character); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace3_GetRecommendedRenderingMode)( + IDWriteFontFace3 *This, + FLOAT emsize, + FLOAT dpi_x, + FLOAT dpi_y, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE1 *rendering_mode, + DWRITE_GRID_FIT_MODE *gridfit_mode); + + BOOL (STDMETHODCALLTYPE *IsCharacterLocal)( + IDWriteFontFace3 *This, + UINT32 character); + + BOOL (STDMETHODCALLTYPE *IsGlyphLocal)( + IDWriteFontFace3 *This, + UINT16 glyph); + + HRESULT (STDMETHODCALLTYPE *AreCharactersLocal)( + IDWriteFontFace3 *This, + const WCHAR *characters, + UINT32 count, + BOOL enqueue_if_not, + BOOL *are_local); + + HRESULT (STDMETHODCALLTYPE *AreGlyphsLocal)( + IDWriteFontFace3 *This, + const UINT16 *glyphs, + UINT32 count, + BOOL enqueue_if_not, + BOOL *are_local); + + END_INTERFACE +} IDWriteFontFace3Vtbl; + +interface IDWriteFontFace3 { + CONST_VTBL IDWriteFontFace3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFace3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFace3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFace3_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFace methods ***/ +#define IDWriteFontFace3_GetType(This) (This)->lpVtbl->GetType(This) +#define IDWriteFontFace3_GetFiles(This,number_of_files,fontfiles) (This)->lpVtbl->GetFiles(This,number_of_files,fontfiles) +#define IDWriteFontFace3_GetIndex(This) (This)->lpVtbl->GetIndex(This) +#define IDWriteFontFace3_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFontFace3_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFontFace3_GetGlyphCount(This) (This)->lpVtbl->GetGlyphCount(This) +#define IDWriteFontFace3_GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) +#define IDWriteFontFace3_GetGlyphIndices(This,codepoints,count,glyph_indices) (This)->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices) +#define IDWriteFontFace3_TryGetFontTable(This,table_tag,table_data,table_size,context,exists) (This)->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists) +#define IDWriteFontFace3_ReleaseFontTable(This,table_context) (This)->lpVtbl->ReleaseFontTable(This,table_context) +#define IDWriteFontFace3_GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) (This)->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) +#define IDWriteFontFace3_GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) +/*** IDWriteFontFace1 methods ***/ +#define IDWriteFontFace3_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics) +#define IDWriteFontFace3_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) (This)->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) +#define IDWriteFontFace3_GetCaretMetrics(This,metrics) (This)->lpVtbl->GetCaretMetrics(This,metrics) +#define IDWriteFontFace3_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFontFace3_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +#define IDWriteFontFace3_GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) (This)->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) +#define IDWriteFontFace3_GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) (This)->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) +#define IDWriteFontFace3_GetKerningPairAdjustments(This,glyph_count,indices,adjustments) (This)->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments) +#define IDWriteFontFace3_HasKerningPairs(This) (This)->lpVtbl->HasKerningPairs(This) +#define IDWriteFontFace3_GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) (This)->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) +#define IDWriteFontFace3_HasVerticalGlyphVariants(This) (This)->lpVtbl->HasVerticalGlyphVariants(This) +/*** IDWriteFontFace2 methods ***/ +#define IDWriteFontFace3_IsColorFont(This) (This)->lpVtbl->IsColorFont(This) +#define IDWriteFontFace3_GetColorPaletteCount(This) (This)->lpVtbl->GetColorPaletteCount(This) +#define IDWriteFontFace3_GetPaletteEntryCount(This) (This)->lpVtbl->GetPaletteEntryCount(This) +#define IDWriteFontFace3_GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries) (This)->lpVtbl->GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries) +/*** IDWriteFontFace3 methods ***/ +#define IDWriteFontFace3_GetFontFaceReference(This,reference) (This)->lpVtbl->GetFontFaceReference(This,reference) +#define IDWriteFontFace3_GetPanose(This,panose) (This)->lpVtbl->GetPanose(This,panose) +#define IDWriteFontFace3_GetWeight(This) (This)->lpVtbl->GetWeight(This) +#define IDWriteFontFace3_GetStretch(This) (This)->lpVtbl->GetStretch(This) +#define IDWriteFontFace3_GetStyle(This) (This)->lpVtbl->GetStyle(This) +#define IDWriteFontFace3_GetFamilyNames(This,names) (This)->lpVtbl->GetFamilyNames(This,names) +#define IDWriteFontFace3_GetFaceNames(This,names) (This)->lpVtbl->GetFaceNames(This,names) +#define IDWriteFontFace3_GetInformationalStrings(This,stringid,strings,exists) (This)->lpVtbl->GetInformationalStrings(This,stringid,strings,exists) +#define IDWriteFontFace3_HasCharacter(This,character) (This)->lpVtbl->HasCharacter(This,character) +#define IDWriteFontFace3_GetRecommendedRenderingMode(This,emsize,dpi_x,dpi_y,transform,is_sideways,threshold,measuring_mode,params,rendering_mode,gridfit_mode) (This)->lpVtbl->IDWriteFontFace3_GetRecommendedRenderingMode(This,emsize,dpi_x,dpi_y,transform,is_sideways,threshold,measuring_mode,params,rendering_mode,gridfit_mode) +#define IDWriteFontFace3_IsCharacterLocal(This,character) (This)->lpVtbl->IsCharacterLocal(This,character) +#define IDWriteFontFace3_IsGlyphLocal(This,glyph) (This)->lpVtbl->IsGlyphLocal(This,glyph) +#define IDWriteFontFace3_AreCharactersLocal(This,characters,count,enqueue_if_not,are_local) (This)->lpVtbl->AreCharactersLocal(This,characters,count,enqueue_if_not,are_local) +#define IDWriteFontFace3_AreGlyphsLocal(This,glyphs,count,enqueue_if_not,are_local) (This)->lpVtbl->AreGlyphsLocal(This,glyphs,count,enqueue_if_not,are_local) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace3_QueryInterface(IDWriteFontFace3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFace3_AddRef(IDWriteFontFace3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFace3_Release(IDWriteFontFace3* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFace methods ***/ +static FORCEINLINE DWRITE_FONT_FACE_TYPE IDWriteFontFace3_GetType(IDWriteFontFace3* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetFiles(IDWriteFontFace3* This,UINT32 *number_of_files,IDWriteFontFile **fontfiles) { + return This->lpVtbl->GetFiles(This,number_of_files,fontfiles); +} +static FORCEINLINE UINT32 IDWriteFontFace3_GetIndex(IDWriteFontFace3* This) { + return This->lpVtbl->GetIndex(This); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFontFace3_GetSimulations(IDWriteFontFace3* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE BOOL IDWriteFontFace3_IsSymbolFont(IDWriteFontFace3* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE UINT16 IDWriteFontFace3_GetGlyphCount(IDWriteFontFace3* This) { + return This->lpVtbl->GetGlyphCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetDesignGlyphMetrics(IDWriteFontFace3* This,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetGlyphIndices(IDWriteFontFace3* This,const UINT32 *codepoints,UINT32 count,UINT16 *glyph_indices) { + return This->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices); +} +static FORCEINLINE HRESULT IDWriteFontFace3_TryGetFontTable(IDWriteFontFace3* This,UINT32 table_tag,const void **table_data,UINT32 *table_size,void **context,BOOL *exists) { + return This->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists); +} +static FORCEINLINE void IDWriteFontFace3_ReleaseFontTable(IDWriteFontFace3* This,void *table_context) { + This->lpVtbl->ReleaseFontTable(This,table_context); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetGlyphRunOutline(IDWriteFontFace3* This,FLOAT emSize,const UINT16 *glyph_indices,const FLOAT *glyph_advances,const DWRITE_GLYPH_OFFSET *glyph_offsets,UINT32 glyph_count,BOOL is_sideways,BOOL is_rtl,IDWriteGeometrySink *geometrysink) { + return This->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetGdiCompatibleGlyphMetrics(IDWriteFontFace3* This,FLOAT emSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways); +} +/*** IDWriteFontFace1 methods ***/ +static FORCEINLINE void IDWriteFontFace3_GetMetrics(IDWriteFontFace3* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetGdiCompatibleMetrics(IDWriteFontFace3* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_FONT_METRICS1 *metrics) { + return This->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics); +} +static FORCEINLINE void IDWriteFontFace3_GetCaretMetrics(IDWriteFontFace3* This,DWRITE_CARET_METRICS *metrics) { + This->lpVtbl->GetCaretMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetUnicodeRanges(IDWriteFontFace3* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFontFace3_IsMonospacedFont(IDWriteFontFace3* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetDesignGlyphAdvances(IDWriteFontFace3* This,UINT32 glyph_count,const UINT16 *indices,INT32 *advances,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetGdiCompatibleGlyphAdvances(IDWriteFontFace3* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,UINT32 glyph_count,const UINT16 *indices,INT32 *advances) { + return This->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetKerningPairAdjustments(IDWriteFontFace3* This,UINT32 glyph_count,const UINT16 *indices,INT32 *adjustments) { + return This->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments); +} +static FORCEINLINE BOOL IDWriteFontFace3_HasKerningPairs(IDWriteFontFace3* This) { + return This->lpVtbl->HasKerningPairs(This); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetVerticalGlyphVariants(IDWriteFontFace3* This,UINT32 glyph_count,const UINT16 *nominal_indices,UINT16 *vertical_indices) { + return This->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices); +} +static FORCEINLINE BOOL IDWriteFontFace3_HasVerticalGlyphVariants(IDWriteFontFace3* This) { + return This->lpVtbl->HasVerticalGlyphVariants(This); +} +/*** IDWriteFontFace2 methods ***/ +static FORCEINLINE BOOL IDWriteFontFace3_IsColorFont(IDWriteFontFace3* This) { + return This->lpVtbl->IsColorFont(This); +} +static FORCEINLINE UINT32 IDWriteFontFace3_GetColorPaletteCount(IDWriteFontFace3* This) { + return This->lpVtbl->GetColorPaletteCount(This); +} +static FORCEINLINE UINT32 IDWriteFontFace3_GetPaletteEntryCount(IDWriteFontFace3* This) { + return This->lpVtbl->GetPaletteEntryCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetPaletteEntries(IDWriteFontFace3* This,UINT32 palette_index,UINT32 first_entry_index,UINT32 entry_count,DWRITE_COLOR_F *entries) { + return This->lpVtbl->GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries); +} +/*** IDWriteFontFace3 methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace3_GetFontFaceReference(IDWriteFontFace3* This,IDWriteFontFaceReference **reference) { + return This->lpVtbl->GetFontFaceReference(This,reference); +} +static FORCEINLINE void IDWriteFontFace3_GetPanose(IDWriteFontFace3* This,DWRITE_PANOSE *panose) { + This->lpVtbl->GetPanose(This,panose); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteFontFace3_GetWeight(IDWriteFontFace3* This) { + return This->lpVtbl->GetWeight(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteFontFace3_GetStretch(IDWriteFontFace3* This) { + return This->lpVtbl->GetStretch(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteFontFace3_GetStyle(IDWriteFontFace3* This) { + return This->lpVtbl->GetStyle(This); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetFamilyNames(IDWriteFontFace3* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFamilyNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetFaceNames(IDWriteFontFace3* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFaceNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetInformationalStrings(IDWriteFontFace3* This,DWRITE_INFORMATIONAL_STRING_ID stringid,IDWriteLocalizedStrings **strings,BOOL *exists) { + return This->lpVtbl->GetInformationalStrings(This,stringid,strings,exists); +} +static FORCEINLINE BOOL IDWriteFontFace3_HasCharacter(IDWriteFontFace3* This,UINT32 character) { + return This->lpVtbl->HasCharacter(This,character); +} +static FORCEINLINE HRESULT IDWriteFontFace3_GetRecommendedRenderingMode(IDWriteFontFace3* This,FLOAT emsize,FLOAT dpi_x,FLOAT dpi_y,const DWRITE_MATRIX *transform,BOOL is_sideways,DWRITE_OUTLINE_THRESHOLD threshold,DWRITE_MEASURING_MODE measuring_mode,IDWriteRenderingParams *params,DWRITE_RENDERING_MODE1 *rendering_mode,DWRITE_GRID_FIT_MODE *gridfit_mode) { + return This->lpVtbl->IDWriteFontFace3_GetRecommendedRenderingMode(This,emsize,dpi_x,dpi_y,transform,is_sideways,threshold,measuring_mode,params,rendering_mode,gridfit_mode); +} +static FORCEINLINE BOOL IDWriteFontFace3_IsCharacterLocal(IDWriteFontFace3* This,UINT32 character) { + return This->lpVtbl->IsCharacterLocal(This,character); +} +static FORCEINLINE BOOL IDWriteFontFace3_IsGlyphLocal(IDWriteFontFace3* This,UINT16 glyph) { + return This->lpVtbl->IsGlyphLocal(This,glyph); +} +static FORCEINLINE HRESULT IDWriteFontFace3_AreCharactersLocal(IDWriteFontFace3* This,const WCHAR *characters,UINT32 count,BOOL enqueue_if_not,BOOL *are_local) { + return This->lpVtbl->AreCharactersLocal(This,characters,count,enqueue_if_not,are_local); +} +static FORCEINLINE HRESULT IDWriteFontFace3_AreGlyphsLocal(IDWriteFontFace3* This,const UINT16 *glyphs,UINT32 count,BOOL enqueue_if_not,BOOL *are_local) { + return This->lpVtbl->AreGlyphsLocal(This,glyphs,count,enqueue_if_not,are_local); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFace3_INTERFACE_DEFINED__ */ + +typedef struct DWRITE_LINE_METRICS1 { + UINT32 length; + UINT32 trailingWhitespaceLength; + UINT32 newlineLength; + FLOAT height; + FLOAT baseline; + BOOL isTrimmed; + FLOAT leadingBefore; + FLOAT leadingAfter; +} DWRITE_LINE_METRICS1; +typedef enum DWRITE_FONT_LINE_GAP_USAGE { + DWRITE_FONT_LINE_GAP_USAGE_DEFAULT = 0, + DWRITE_FONT_LINE_GAP_USAGE_DISABLED = 1, + DWRITE_FONT_LINE_GAP_USAGE_ENABLED = 2 +} DWRITE_FONT_LINE_GAP_USAGE; +typedef struct DWRITE_LINE_SPACING { + DWRITE_LINE_SPACING_METHOD method; + FLOAT height; + FLOAT baseline; + FLOAT leadingBefore; + DWRITE_FONT_LINE_GAP_USAGE fontLineGapUsage; +} DWRITE_LINE_SPACING; +/***************************************************************************** + * IDWriteTextFormat2 interface + */ +#ifndef __IDWriteTextFormat2_INTERFACE_DEFINED__ +#define __IDWriteTextFormat2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextFormat2, 0xf67e0edd, 0x9e3d, 0x4ecc, 0x8c,0x32, 0x41,0x83,0x25,0x3d,0xfe,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f67e0edd-9e3d-4ecc-8c32-4183253dfe70") +IDWriteTextFormat2 : public IDWriteTextFormat1 +{ + virtual HRESULT STDMETHODCALLTYPE SetLineSpacing( + const DWRITE_LINE_SPACING *spacing) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineSpacing( + DWRITE_LINE_SPACING *spacing) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextFormat2, 0xf67e0edd, 0x9e3d, 0x4ecc, 0x8c,0x32, 0x41,0x83,0x25,0x3d,0xfe,0x70) +#endif +#else +typedef struct IDWriteTextFormat2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextFormat2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextFormat2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextFormat2 *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextFormat2 *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextFormat2 *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextFormat2 *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextFormat2 *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextFormat2 *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextFormat2 *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextFormat2 *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextFormat2 *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextFormat2 *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextFormat2 *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextFormat2 *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextFormat2 *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextFormat2 *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextFormat2 *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextFormat2 *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextFormat2 *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextFormat2 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextFormat2 *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextFormat2 *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextFormat2 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextFormat2 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextFormat2 *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextFormat2 *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextFormat2 *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextFormat2 *This, + WCHAR *name, + UINT32 size); + + /*** IDWriteTextFormat1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetVerticalGlyphOrientation)( + IDWriteTextFormat2 *This, + DWRITE_VERTICAL_GLYPH_ORIENTATION orientation); + + DWRITE_VERTICAL_GLYPH_ORIENTATION (STDMETHODCALLTYPE *GetVerticalGlyphOrientation)( + IDWriteTextFormat2 *This); + + HRESULT (STDMETHODCALLTYPE *SetLastLineWrapping)( + IDWriteTextFormat2 *This, + BOOL lastline_wrapping_enabled); + + BOOL (STDMETHODCALLTYPE *GetLastLineWrapping)( + IDWriteTextFormat2 *This); + + HRESULT (STDMETHODCALLTYPE *SetOpticalAlignment)( + IDWriteTextFormat2 *This, + DWRITE_OPTICAL_ALIGNMENT alignment); + + DWRITE_OPTICAL_ALIGNMENT (STDMETHODCALLTYPE *GetOpticalAlignment)( + IDWriteTextFormat2 *This); + + HRESULT (STDMETHODCALLTYPE *SetFontFallback)( + IDWriteTextFormat2 *This, + IDWriteFontFallback *fallback); + + HRESULT (STDMETHODCALLTYPE *GetFontFallback)( + IDWriteTextFormat2 *This, + IDWriteFontFallback **fallback); + + /*** IDWriteTextFormat2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteTextFormat2_SetLineSpacing)( + IDWriteTextFormat2 *This, + const DWRITE_LINE_SPACING *spacing); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextFormat2_GetLineSpacing)( + IDWriteTextFormat2 *This, + DWRITE_LINE_SPACING *spacing); + + END_INTERFACE +} IDWriteTextFormat2Vtbl; + +interface IDWriteTextFormat2 { + CONST_VTBL IDWriteTextFormat2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextFormat2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextFormat2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextFormat2_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextFormat2_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextFormat2_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextFormat2_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextFormat2_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextFormat2_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextFormat2_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextFormat2_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextFormat2_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextFormat2_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextFormat2_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextFormat2_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextFormat2_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextFormat2_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextFormat2_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +#define IDWriteTextFormat2_GetFontCollection(This,collection) (This)->lpVtbl->GetFontCollection(This,collection) +#define IDWriteTextFormat2_GetFontFamilyNameLength(This) (This)->lpVtbl->GetFontFamilyNameLength(This) +#define IDWriteTextFormat2_GetFontFamilyName(This,name,size) (This)->lpVtbl->GetFontFamilyName(This,name,size) +#define IDWriteTextFormat2_GetFontWeight(This) (This)->lpVtbl->GetFontWeight(This) +#define IDWriteTextFormat2_GetFontStyle(This) (This)->lpVtbl->GetFontStyle(This) +#define IDWriteTextFormat2_GetFontStretch(This) (This)->lpVtbl->GetFontStretch(This) +#define IDWriteTextFormat2_GetFontSize(This) (This)->lpVtbl->GetFontSize(This) +#define IDWriteTextFormat2_GetLocaleNameLength(This) (This)->lpVtbl->GetLocaleNameLength(This) +#define IDWriteTextFormat2_GetLocaleName(This,name,size) (This)->lpVtbl->GetLocaleName(This,name,size) +/*** IDWriteTextFormat1 methods ***/ +#define IDWriteTextFormat2_SetVerticalGlyphOrientation(This,orientation) (This)->lpVtbl->SetVerticalGlyphOrientation(This,orientation) +#define IDWriteTextFormat2_GetVerticalGlyphOrientation(This) (This)->lpVtbl->GetVerticalGlyphOrientation(This) +#define IDWriteTextFormat2_SetLastLineWrapping(This,lastline_wrapping_enabled) (This)->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled) +#define IDWriteTextFormat2_GetLastLineWrapping(This) (This)->lpVtbl->GetLastLineWrapping(This) +#define IDWriteTextFormat2_SetOpticalAlignment(This,alignment) (This)->lpVtbl->SetOpticalAlignment(This,alignment) +#define IDWriteTextFormat2_GetOpticalAlignment(This) (This)->lpVtbl->GetOpticalAlignment(This) +#define IDWriteTextFormat2_SetFontFallback(This,fallback) (This)->lpVtbl->SetFontFallback(This,fallback) +#define IDWriteTextFormat2_GetFontFallback(This,fallback) (This)->lpVtbl->GetFontFallback(This,fallback) +/*** IDWriteTextFormat2 methods ***/ +#define IDWriteTextFormat2_SetLineSpacing(This,spacing) (This)->lpVtbl->IDWriteTextFormat2_SetLineSpacing(This,spacing) +#define IDWriteTextFormat2_GetLineSpacing(This,spacing) (This)->lpVtbl->IDWriteTextFormat2_GetLineSpacing(This,spacing) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat2_QueryInterface(IDWriteTextFormat2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextFormat2_AddRef(IDWriteTextFormat2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextFormat2_Release(IDWriteTextFormat2* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat2_SetTextAlignment(IDWriteTextFormat2* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetParagraphAlignment(IDWriteTextFormat2* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetWordWrapping(IDWriteTextFormat2* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetReadingDirection(IDWriteTextFormat2* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetFlowDirection(IDWriteTextFormat2* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetIncrementalTabStop(IDWriteTextFormat2* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetTrimming(IDWriteTextFormat2* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextFormat2_GetTextAlignment(IDWriteTextFormat2* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat2_GetParagraphAlignment(IDWriteTextFormat2* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextFormat2_GetWordWrapping(IDWriteTextFormat2* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextFormat2_GetReadingDirection(IDWriteTextFormat2* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextFormat2_GetFlowDirection(IDWriteTextFormat2* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextFormat2_GetIncrementalTabStop(IDWriteTextFormat2* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_GetTrimming(IDWriteTextFormat2* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_GetFontCollection(IDWriteTextFormat2* This,IDWriteFontCollection **collection) { + return This->lpVtbl->GetFontCollection(This,collection); +} +static FORCEINLINE UINT32 IDWriteTextFormat2_GetFontFamilyNameLength(IDWriteTextFormat2* This) { + return This->lpVtbl->GetFontFamilyNameLength(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_GetFontFamilyName(IDWriteTextFormat2* This,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetFontFamilyName(This,name,size); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteTextFormat2_GetFontWeight(IDWriteTextFormat2* This) { + return This->lpVtbl->GetFontWeight(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteTextFormat2_GetFontStyle(IDWriteTextFormat2* This) { + return This->lpVtbl->GetFontStyle(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteTextFormat2_GetFontStretch(IDWriteTextFormat2* This) { + return This->lpVtbl->GetFontStretch(This); +} +static FORCEINLINE FLOAT IDWriteTextFormat2_GetFontSize(IDWriteTextFormat2* This) { + return This->lpVtbl->GetFontSize(This); +} +static FORCEINLINE UINT32 IDWriteTextFormat2_GetLocaleNameLength(IDWriteTextFormat2* This) { + return This->lpVtbl->GetLocaleNameLength(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_GetLocaleName(IDWriteTextFormat2* This,WCHAR *name,UINT32 size) { + return This->lpVtbl->GetLocaleName(This,name,size); +} +/*** IDWriteTextFormat1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat2_SetVerticalGlyphOrientation(IDWriteTextFormat2* This,DWRITE_VERTICAL_GLYPH_ORIENTATION orientation) { + return This->lpVtbl->SetVerticalGlyphOrientation(This,orientation); +} +static FORCEINLINE DWRITE_VERTICAL_GLYPH_ORIENTATION IDWriteTextFormat2_GetVerticalGlyphOrientation(IDWriteTextFormat2* This) { + return This->lpVtbl->GetVerticalGlyphOrientation(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetLastLineWrapping(IDWriteTextFormat2* This,BOOL lastline_wrapping_enabled) { + return This->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled); +} +static FORCEINLINE BOOL IDWriteTextFormat2_GetLastLineWrapping(IDWriteTextFormat2* This) { + return This->lpVtbl->GetLastLineWrapping(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetOpticalAlignment(IDWriteTextFormat2* This,DWRITE_OPTICAL_ALIGNMENT alignment) { + return This->lpVtbl->SetOpticalAlignment(This,alignment); +} +static FORCEINLINE DWRITE_OPTICAL_ALIGNMENT IDWriteTextFormat2_GetOpticalAlignment(IDWriteTextFormat2* This) { + return This->lpVtbl->GetOpticalAlignment(This); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_SetFontFallback(IDWriteTextFormat2* This,IDWriteFontFallback *fallback) { + return This->lpVtbl->SetFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_GetFontFallback(IDWriteTextFormat2* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetFontFallback(This,fallback); +} +/*** IDWriteTextFormat2 methods ***/ +static FORCEINLINE HRESULT IDWriteTextFormat2_SetLineSpacing(IDWriteTextFormat2* This,const DWRITE_LINE_SPACING *spacing) { + return This->lpVtbl->IDWriteTextFormat2_SetLineSpacing(This,spacing); +} +static FORCEINLINE HRESULT IDWriteTextFormat2_GetLineSpacing(IDWriteTextFormat2* This,DWRITE_LINE_SPACING *spacing) { + return This->lpVtbl->IDWriteTextFormat2_GetLineSpacing(This,spacing); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextFormat2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteTextLayout3 interface + */ +#ifndef __IDWriteTextLayout3_INTERFACE_DEFINED__ +#define __IDWriteTextLayout3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteTextLayout3, 0x07ddcd52, 0x020e, 0x4de8, 0xac,0x33, 0x6c,0x95,0x3d,0x83,0xf9,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("07ddcd52-020e-4de8-ac33-6c953d83f92d") +IDWriteTextLayout3 : public IDWriteTextLayout2 +{ + virtual HRESULT STDMETHODCALLTYPE InvalidateLayout( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLineSpacing( + const DWRITE_LINE_SPACING *spacing) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineSpacing( + DWRITE_LINE_SPACING *spacing) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineMetrics( + DWRITE_LINE_METRICS1 *metrics, + UINT32 max_count, + UINT32 *count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteTextLayout3, 0x07ddcd52, 0x020e, 0x4de8, 0xac,0x33, 0x6c,0x95,0x3d,0x83,0xf9,0x2d) +#endif +#else +typedef struct IDWriteTextLayout3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteTextLayout3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteTextLayout3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteTextLayout3 *This); + + /*** IDWriteTextFormat methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTextAlignment)( + IDWriteTextLayout3 *This, + DWRITE_TEXT_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetParagraphAlignment)( + IDWriteTextLayout3 *This, + DWRITE_PARAGRAPH_ALIGNMENT alignment); + + HRESULT (STDMETHODCALLTYPE *SetWordWrapping)( + IDWriteTextLayout3 *This, + DWRITE_WORD_WRAPPING wrapping); + + HRESULT (STDMETHODCALLTYPE *SetReadingDirection)( + IDWriteTextLayout3 *This, + DWRITE_READING_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetFlowDirection)( + IDWriteTextLayout3 *This, + DWRITE_FLOW_DIRECTION direction); + + HRESULT (STDMETHODCALLTYPE *SetIncrementalTabStop)( + IDWriteTextLayout3 *This, + FLOAT tabstop); + + HRESULT (STDMETHODCALLTYPE *SetTrimming)( + IDWriteTextLayout3 *This, + const DWRITE_TRIMMING *trimming, + IDWriteInlineObject *trimming_sign); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + IDWriteTextLayout3 *This, + DWRITE_LINE_SPACING_METHOD spacing, + FLOAT line_spacing, + FLOAT baseline); + + DWRITE_TEXT_ALIGNMENT (STDMETHODCALLTYPE *GetTextAlignment)( + IDWriteTextLayout3 *This); + + DWRITE_PARAGRAPH_ALIGNMENT (STDMETHODCALLTYPE *GetParagraphAlignment)( + IDWriteTextLayout3 *This); + + DWRITE_WORD_WRAPPING (STDMETHODCALLTYPE *GetWordWrapping)( + IDWriteTextLayout3 *This); + + DWRITE_READING_DIRECTION (STDMETHODCALLTYPE *GetReadingDirection)( + IDWriteTextLayout3 *This); + + DWRITE_FLOW_DIRECTION (STDMETHODCALLTYPE *GetFlowDirection)( + IDWriteTextLayout3 *This); + + FLOAT (STDMETHODCALLTYPE *GetIncrementalTabStop)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *GetTrimming)( + IDWriteTextLayout3 *This, + DWRITE_TRIMMING *options, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + IDWriteTextLayout3 *This, + DWRITE_LINE_SPACING_METHOD *method, + FLOAT *spacing, + FLOAT *baseline); + + HRESULT (STDMETHODCALLTYPE *GetFontCollection)( + IDWriteTextLayout3 *This, + IDWriteFontCollection **collection); + + UINT32 (STDMETHODCALLTYPE *GetFontFamilyNameLength)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *GetFontFamilyName)( + IDWriteTextLayout3 *This, + WCHAR *name, + UINT32 size); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetFontWeight)( + IDWriteTextLayout3 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetFontStyle)( + IDWriteTextLayout3 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetFontStretch)( + IDWriteTextLayout3 *This); + + FLOAT (STDMETHODCALLTYPE *GetFontSize)( + IDWriteTextLayout3 *This); + + UINT32 (STDMETHODCALLTYPE *GetLocaleNameLength)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *GetLocaleName)( + IDWriteTextLayout3 *This, + WCHAR *name, + UINT32 size); + + /*** IDWriteTextLayout methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaxWidth)( + IDWriteTextLayout3 *This, + FLOAT maxWidth); + + HRESULT (STDMETHODCALLTYPE *SetMaxHeight)( + IDWriteTextLayout3 *This, + FLOAT maxHeight); + + HRESULT (STDMETHODCALLTYPE *SetFontCollection)( + IDWriteTextLayout3 *This, + IDWriteFontCollection *collection, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontFamilyName)( + IDWriteTextLayout3 *This, + const WCHAR *name, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontWeight)( + IDWriteTextLayout3 *This, + DWRITE_FONT_WEIGHT weight, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStyle)( + IDWriteTextLayout3 *This, + DWRITE_FONT_STYLE style, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontStretch)( + IDWriteTextLayout3 *This, + DWRITE_FONT_STRETCH stretch, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetFontSize)( + IDWriteTextLayout3 *This, + FLOAT size, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetUnderline)( + IDWriteTextLayout3 *This, + BOOL underline, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetStrikethrough)( + IDWriteTextLayout3 *This, + BOOL strikethrough, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetDrawingEffect)( + IDWriteTextLayout3 *This, + IUnknown *effect, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetInlineObject)( + IDWriteTextLayout3 *This, + IDWriteInlineObject *object, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetTypography)( + IDWriteTextLayout3 *This, + IDWriteTypography *typography, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *SetLocaleName)( + IDWriteTextLayout3 *This, + const WCHAR *locale, + DWRITE_TEXT_RANGE range); + + FLOAT (STDMETHODCALLTYPE *GetMaxWidth)( + IDWriteTextLayout3 *This); + + FLOAT (STDMETHODCALLTYPE *GetMaxHeight)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontCollection)( + IDWriteTextLayout3 *This, + UINT32 pos, + IDWriteFontCollection **collection, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyNameLength)( + IDWriteTextLayout3 *This, + UINT32 pos, + UINT32 *len, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontFamilyName)( + IDWriteTextLayout3 *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontWeight)( + IDWriteTextLayout3 *This, + UINT32 position, + DWRITE_FONT_WEIGHT *weight, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStyle)( + IDWriteTextLayout3 *This, + UINT32 currentPosition, + DWRITE_FONT_STYLE *style, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontStretch)( + IDWriteTextLayout3 *This, + UINT32 position, + DWRITE_FONT_STRETCH *stretch, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetFontSize)( + IDWriteTextLayout3 *This, + UINT32 position, + FLOAT *size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetUnderline)( + IDWriteTextLayout3 *This, + UINT32 position, + BOOL *has_underline, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetStrikethrough)( + IDWriteTextLayout3 *This, + UINT32 position, + BOOL *has_strikethrough, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetDrawingEffect)( + IDWriteTextLayout3 *This, + UINT32 position, + IUnknown **effect, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetInlineObject)( + IDWriteTextLayout3 *This, + UINT32 position, + IDWriteInlineObject **object, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *GetTypography)( + IDWriteTextLayout3 *This, + UINT32 position, + IDWriteTypography **typography, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleNameLength)( + IDWriteTextLayout3 *This, + UINT32 position, + UINT32 *length, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout_GetLocaleName)( + IDWriteTextLayout3 *This, + UINT32 position, + WCHAR *name, + UINT32 name_size, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IDWriteTextLayout3 *This, + void *context, + IDWriteTextRenderer *renderer, + FLOAT originX, + FLOAT originY); + + HRESULT (STDMETHODCALLTYPE *GetLineMetrics)( + IDWriteTextLayout3 *This, + DWRITE_LINE_METRICS *metrics, + UINT32 max_count, + UINT32 *actual_count); + + HRESULT (STDMETHODCALLTYPE *GetMetrics)( + IDWriteTextLayout3 *This, + DWRITE_TEXT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetOverhangMetrics)( + IDWriteTextLayout3 *This, + DWRITE_OVERHANG_METRICS *overhangs); + + HRESULT (STDMETHODCALLTYPE *GetClusterMetrics)( + IDWriteTextLayout3 *This, + DWRITE_CLUSTER_METRICS *metrics, + UINT32 max_count, + UINT32 *act_count); + + HRESULT (STDMETHODCALLTYPE *DetermineMinWidth)( + IDWriteTextLayout3 *This, + FLOAT *min_width); + + HRESULT (STDMETHODCALLTYPE *HitTestPoint)( + IDWriteTextLayout3 *This, + FLOAT pointX, + FLOAT pointY, + BOOL *is_trailinghit, + BOOL *is_inside, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextPosition)( + IDWriteTextLayout3 *This, + UINT32 textPosition, + BOOL is_trailinghit, + FLOAT *pointX, + FLOAT *pointY, + DWRITE_HIT_TEST_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *HitTestTextRange)( + IDWriteTextLayout3 *This, + UINT32 textPosition, + UINT32 textLength, + FLOAT originX, + FLOAT originY, + DWRITE_HIT_TEST_METRICS *metrics, + UINT32 max_metricscount, + UINT32 *actual_metricscount); + + /*** IDWriteTextLayout1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPairKerning)( + IDWriteTextLayout3 *This, + BOOL is_pairkerning_enabled, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *GetPairKerning)( + IDWriteTextLayout3 *This, + UINT32 position, + BOOL *is_pairkerning_enabled, + DWRITE_TEXT_RANGE *range); + + HRESULT (STDMETHODCALLTYPE *SetCharacterSpacing)( + IDWriteTextLayout3 *This, + FLOAT leading_spacing, + FLOAT trailing_spacing, + FLOAT minimum_advance_width, + DWRITE_TEXT_RANGE range); + + HRESULT (STDMETHODCALLTYPE *GetCharacterSpacing)( + IDWriteTextLayout3 *This, + UINT32 position, + FLOAT *leading_spacing, + FLOAT *trailing_spacing, + FLOAT *minimum_advance_width, + DWRITE_TEXT_RANGE *range); + + /*** IDWriteTextLayout2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout2_GetMetrics)( + IDWriteTextLayout3 *This, + DWRITE_TEXT_METRICS1 *metrics); + + HRESULT (STDMETHODCALLTYPE *SetVerticalGlyphOrientation)( + IDWriteTextLayout3 *This, + DWRITE_VERTICAL_GLYPH_ORIENTATION orientation); + + DWRITE_VERTICAL_GLYPH_ORIENTATION (STDMETHODCALLTYPE *GetVerticalGlyphOrientation)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *SetLastLineWrapping)( + IDWriteTextLayout3 *This, + BOOL lastline_wrapping_enabled); + + BOOL (STDMETHODCALLTYPE *GetLastLineWrapping)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *SetOpticalAlignment)( + IDWriteTextLayout3 *This, + DWRITE_OPTICAL_ALIGNMENT alignment); + + DWRITE_OPTICAL_ALIGNMENT (STDMETHODCALLTYPE *GetOpticalAlignment)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *SetFontFallback)( + IDWriteTextLayout3 *This, + IDWriteFontFallback *fallback); + + HRESULT (STDMETHODCALLTYPE *GetFontFallback)( + IDWriteTextLayout3 *This, + IDWriteFontFallback **fallback); + + /*** IDWriteTextLayout3 methods ***/ + HRESULT (STDMETHODCALLTYPE *InvalidateLayout)( + IDWriteTextLayout3 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout3_SetLineSpacing)( + IDWriteTextLayout3 *This, + const DWRITE_LINE_SPACING *spacing); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout3_GetLineSpacing)( + IDWriteTextLayout3 *This, + DWRITE_LINE_SPACING *spacing); + + HRESULT (STDMETHODCALLTYPE *IDWriteTextLayout3_GetLineMetrics)( + IDWriteTextLayout3 *This, + DWRITE_LINE_METRICS1 *metrics, + UINT32 max_count, + UINT32 *count); + + END_INTERFACE +} IDWriteTextLayout3Vtbl; + +interface IDWriteTextLayout3 { + CONST_VTBL IDWriteTextLayout3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteTextLayout3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteTextLayout3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteTextLayout3_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteTextFormat methods ***/ +#define IDWriteTextLayout3_SetTextAlignment(This,alignment) (This)->lpVtbl->SetTextAlignment(This,alignment) +#define IDWriteTextLayout3_SetParagraphAlignment(This,alignment) (This)->lpVtbl->SetParagraphAlignment(This,alignment) +#define IDWriteTextLayout3_SetWordWrapping(This,wrapping) (This)->lpVtbl->SetWordWrapping(This,wrapping) +#define IDWriteTextLayout3_SetReadingDirection(This,direction) (This)->lpVtbl->SetReadingDirection(This,direction) +#define IDWriteTextLayout3_SetFlowDirection(This,direction) (This)->lpVtbl->SetFlowDirection(This,direction) +#define IDWriteTextLayout3_SetIncrementalTabStop(This,tabstop) (This)->lpVtbl->SetIncrementalTabStop(This,tabstop) +#define IDWriteTextLayout3_SetTrimming(This,trimming,trimming_sign) (This)->lpVtbl->SetTrimming(This,trimming,trimming_sign) +#define IDWriteTextLayout3_GetTextAlignment(This) (This)->lpVtbl->GetTextAlignment(This) +#define IDWriteTextLayout3_GetParagraphAlignment(This) (This)->lpVtbl->GetParagraphAlignment(This) +#define IDWriteTextLayout3_GetWordWrapping(This) (This)->lpVtbl->GetWordWrapping(This) +#define IDWriteTextLayout3_GetReadingDirection(This) (This)->lpVtbl->GetReadingDirection(This) +#define IDWriteTextLayout3_GetFlowDirection(This) (This)->lpVtbl->GetFlowDirection(This) +#define IDWriteTextLayout3_GetIncrementalTabStop(This) (This)->lpVtbl->GetIncrementalTabStop(This) +#define IDWriteTextLayout3_GetTrimming(This,options,trimming_sign) (This)->lpVtbl->GetTrimming(This,options,trimming_sign) +/*** IDWriteTextLayout methods ***/ +#define IDWriteTextLayout3_SetMaxWidth(This,maxWidth) (This)->lpVtbl->SetMaxWidth(This,maxWidth) +#define IDWriteTextLayout3_SetMaxHeight(This,maxHeight) (This)->lpVtbl->SetMaxHeight(This,maxHeight) +#define IDWriteTextLayout3_SetFontCollection(This,collection,range) (This)->lpVtbl->SetFontCollection(This,collection,range) +#define IDWriteTextLayout3_SetFontFamilyName(This,name,range) (This)->lpVtbl->SetFontFamilyName(This,name,range) +#define IDWriteTextLayout3_SetFontWeight(This,weight,range) (This)->lpVtbl->SetFontWeight(This,weight,range) +#define IDWriteTextLayout3_SetFontStyle(This,style,range) (This)->lpVtbl->SetFontStyle(This,style,range) +#define IDWriteTextLayout3_SetFontStretch(This,stretch,range) (This)->lpVtbl->SetFontStretch(This,stretch,range) +#define IDWriteTextLayout3_SetFontSize(This,size,range) (This)->lpVtbl->SetFontSize(This,size,range) +#define IDWriteTextLayout3_SetUnderline(This,underline,range) (This)->lpVtbl->SetUnderline(This,underline,range) +#define IDWriteTextLayout3_SetStrikethrough(This,strikethrough,range) (This)->lpVtbl->SetStrikethrough(This,strikethrough,range) +#define IDWriteTextLayout3_SetDrawingEffect(This,effect,range) (This)->lpVtbl->SetDrawingEffect(This,effect,range) +#define IDWriteTextLayout3_SetInlineObject(This,object,range) (This)->lpVtbl->SetInlineObject(This,object,range) +#define IDWriteTextLayout3_SetTypography(This,typography,range) (This)->lpVtbl->SetTypography(This,typography,range) +#define IDWriteTextLayout3_SetLocaleName(This,locale,range) (This)->lpVtbl->SetLocaleName(This,locale,range) +#define IDWriteTextLayout3_GetMaxWidth(This) (This)->lpVtbl->GetMaxWidth(This) +#define IDWriteTextLayout3_GetMaxHeight(This) (This)->lpVtbl->GetMaxHeight(This) +#define IDWriteTextLayout3_GetFontCollection(This,pos,collection,range) (This)->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range) +#define IDWriteTextLayout3_GetFontFamilyNameLength(This,pos,len,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range) +#define IDWriteTextLayout3_GetFontFamilyName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range) +#define IDWriteTextLayout3_GetFontWeight(This,position,weight,range) (This)->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range) +#define IDWriteTextLayout3_GetFontStyle(This,currentPosition,style,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range) +#define IDWriteTextLayout3_GetFontStretch(This,position,stretch,range) (This)->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range) +#define IDWriteTextLayout3_GetFontSize(This,position,size,range) (This)->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range) +#define IDWriteTextLayout3_GetUnderline(This,position,has_underline,range) (This)->lpVtbl->GetUnderline(This,position,has_underline,range) +#define IDWriteTextLayout3_GetStrikethrough(This,position,has_strikethrough,range) (This)->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range) +#define IDWriteTextLayout3_GetDrawingEffect(This,position,effect,range) (This)->lpVtbl->GetDrawingEffect(This,position,effect,range) +#define IDWriteTextLayout3_GetInlineObject(This,position,object,range) (This)->lpVtbl->GetInlineObject(This,position,object,range) +#define IDWriteTextLayout3_GetTypography(This,position,typography,range) (This)->lpVtbl->GetTypography(This,position,typography,range) +#define IDWriteTextLayout3_GetLocaleNameLength(This,position,length,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range) +#define IDWriteTextLayout3_GetLocaleName(This,position,name,name_size,range) (This)->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range) +#define IDWriteTextLayout3_Draw(This,context,renderer,originX,originY) (This)->lpVtbl->Draw(This,context,renderer,originX,originY) +#define IDWriteTextLayout3_GetOverhangMetrics(This,overhangs) (This)->lpVtbl->GetOverhangMetrics(This,overhangs) +#define IDWriteTextLayout3_GetClusterMetrics(This,metrics,max_count,act_count) (This)->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count) +#define IDWriteTextLayout3_DetermineMinWidth(This,min_width) (This)->lpVtbl->DetermineMinWidth(This,min_width) +#define IDWriteTextLayout3_HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) (This)->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics) +#define IDWriteTextLayout3_HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) (This)->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics) +#define IDWriteTextLayout3_HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) (This)->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount) +/*** IDWriteTextLayout1 methods ***/ +#define IDWriteTextLayout3_SetPairKerning(This,is_pairkerning_enabled,range) (This)->lpVtbl->SetPairKerning(This,is_pairkerning_enabled,range) +#define IDWriteTextLayout3_GetPairKerning(This,position,is_pairkerning_enabled,range) (This)->lpVtbl->GetPairKerning(This,position,is_pairkerning_enabled,range) +#define IDWriteTextLayout3_SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range) (This)->lpVtbl->SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range) +#define IDWriteTextLayout3_GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range) (This)->lpVtbl->GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range) +/*** IDWriteTextLayout2 methods ***/ +#define IDWriteTextLayout3_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteTextLayout2_GetMetrics(This,metrics) +#define IDWriteTextLayout3_SetVerticalGlyphOrientation(This,orientation) (This)->lpVtbl->SetVerticalGlyphOrientation(This,orientation) +#define IDWriteTextLayout3_GetVerticalGlyphOrientation(This) (This)->lpVtbl->GetVerticalGlyphOrientation(This) +#define IDWriteTextLayout3_SetLastLineWrapping(This,lastline_wrapping_enabled) (This)->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled) +#define IDWriteTextLayout3_GetLastLineWrapping(This) (This)->lpVtbl->GetLastLineWrapping(This) +#define IDWriteTextLayout3_SetOpticalAlignment(This,alignment) (This)->lpVtbl->SetOpticalAlignment(This,alignment) +#define IDWriteTextLayout3_GetOpticalAlignment(This) (This)->lpVtbl->GetOpticalAlignment(This) +#define IDWriteTextLayout3_SetFontFallback(This,fallback) (This)->lpVtbl->SetFontFallback(This,fallback) +#define IDWriteTextLayout3_GetFontFallback(This,fallback) (This)->lpVtbl->GetFontFallback(This,fallback) +/*** IDWriteTextLayout3 methods ***/ +#define IDWriteTextLayout3_InvalidateLayout(This) (This)->lpVtbl->InvalidateLayout(This) +#define IDWriteTextLayout3_SetLineSpacing(This,spacing) (This)->lpVtbl->IDWriteTextLayout3_SetLineSpacing(This,spacing) +#define IDWriteTextLayout3_GetLineSpacing(This,spacing) (This)->lpVtbl->IDWriteTextLayout3_GetLineSpacing(This,spacing) +#define IDWriteTextLayout3_GetLineMetrics(This,metrics,max_count,count) (This)->lpVtbl->IDWriteTextLayout3_GetLineMetrics(This,metrics,max_count,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout3_QueryInterface(IDWriteTextLayout3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteTextLayout3_AddRef(IDWriteTextLayout3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteTextLayout3_Release(IDWriteTextLayout3* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteTextFormat methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout3_SetTextAlignment(IDWriteTextLayout3* This,DWRITE_TEXT_ALIGNMENT alignment) { + return This->lpVtbl->SetTextAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetParagraphAlignment(IDWriteTextLayout3* This,DWRITE_PARAGRAPH_ALIGNMENT alignment) { + return This->lpVtbl->SetParagraphAlignment(This,alignment); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetWordWrapping(IDWriteTextLayout3* This,DWRITE_WORD_WRAPPING wrapping) { + return This->lpVtbl->SetWordWrapping(This,wrapping); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetReadingDirection(IDWriteTextLayout3* This,DWRITE_READING_DIRECTION direction) { + return This->lpVtbl->SetReadingDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFlowDirection(IDWriteTextLayout3* This,DWRITE_FLOW_DIRECTION direction) { + return This->lpVtbl->SetFlowDirection(This,direction); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetIncrementalTabStop(IDWriteTextLayout3* This,FLOAT tabstop) { + return This->lpVtbl->SetIncrementalTabStop(This,tabstop); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetTrimming(IDWriteTextLayout3* This,const DWRITE_TRIMMING *trimming,IDWriteInlineObject *trimming_sign) { + return This->lpVtbl->SetTrimming(This,trimming,trimming_sign); +} +static FORCEINLINE DWRITE_TEXT_ALIGNMENT IDWriteTextLayout3_GetTextAlignment(IDWriteTextLayout3* This) { + return This->lpVtbl->GetTextAlignment(This); +} +static FORCEINLINE DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextLayout3_GetParagraphAlignment(IDWriteTextLayout3* This) { + return This->lpVtbl->GetParagraphAlignment(This); +} +static FORCEINLINE DWRITE_WORD_WRAPPING IDWriteTextLayout3_GetWordWrapping(IDWriteTextLayout3* This) { + return This->lpVtbl->GetWordWrapping(This); +} +static FORCEINLINE DWRITE_READING_DIRECTION IDWriteTextLayout3_GetReadingDirection(IDWriteTextLayout3* This) { + return This->lpVtbl->GetReadingDirection(This); +} +static FORCEINLINE DWRITE_FLOW_DIRECTION IDWriteTextLayout3_GetFlowDirection(IDWriteTextLayout3* This) { + return This->lpVtbl->GetFlowDirection(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout3_GetIncrementalTabStop(IDWriteTextLayout3* This) { + return This->lpVtbl->GetIncrementalTabStop(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetTrimming(IDWriteTextLayout3* This,DWRITE_TRIMMING *options,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->GetTrimming(This,options,trimming_sign); +} +/*** IDWriteTextLayout methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout3_SetMaxWidth(IDWriteTextLayout3* This,FLOAT maxWidth) { + return This->lpVtbl->SetMaxWidth(This,maxWidth); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetMaxHeight(IDWriteTextLayout3* This,FLOAT maxHeight) { + return This->lpVtbl->SetMaxHeight(This,maxHeight); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontCollection(IDWriteTextLayout3* This,IDWriteFontCollection *collection,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontCollection(This,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontFamilyName(IDWriteTextLayout3* This,const WCHAR *name,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontFamilyName(This,name,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontWeight(IDWriteTextLayout3* This,DWRITE_FONT_WEIGHT weight,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontWeight(This,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontStyle(IDWriteTextLayout3* This,DWRITE_FONT_STYLE style,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStyle(This,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontStretch(IDWriteTextLayout3* This,DWRITE_FONT_STRETCH stretch,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontStretch(This,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontSize(IDWriteTextLayout3* This,FLOAT size,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetFontSize(This,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetUnderline(IDWriteTextLayout3* This,BOOL underline,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetUnderline(This,underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetStrikethrough(IDWriteTextLayout3* This,BOOL strikethrough,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetStrikethrough(This,strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetDrawingEffect(IDWriteTextLayout3* This,IUnknown *effect,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetDrawingEffect(This,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetInlineObject(IDWriteTextLayout3* This,IDWriteInlineObject *object,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetInlineObject(This,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetTypography(IDWriteTextLayout3* This,IDWriteTypography *typography,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetTypography(This,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetLocaleName(IDWriteTextLayout3* This,const WCHAR *locale,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetLocaleName(This,locale,range); +} +static FORCEINLINE FLOAT IDWriteTextLayout3_GetMaxWidth(IDWriteTextLayout3* This) { + return This->lpVtbl->GetMaxWidth(This); +} +static FORCEINLINE FLOAT IDWriteTextLayout3_GetMaxHeight(IDWriteTextLayout3* This) { + return This->lpVtbl->GetMaxHeight(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontCollection(IDWriteTextLayout3* This,UINT32 pos,IDWriteFontCollection **collection,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontCollection(This,pos,collection,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontFamilyNameLength(IDWriteTextLayout3* This,UINT32 pos,UINT32 *len,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyNameLength(This,pos,len,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontFamilyName(IDWriteTextLayout3* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontFamilyName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontWeight(IDWriteTextLayout3* This,UINT32 position,DWRITE_FONT_WEIGHT *weight,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontWeight(This,position,weight,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontStyle(IDWriteTextLayout3* This,UINT32 currentPosition,DWRITE_FONT_STYLE *style,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStyle(This,currentPosition,style,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontStretch(IDWriteTextLayout3* This,UINT32 position,DWRITE_FONT_STRETCH *stretch,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontStretch(This,position,stretch,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontSize(IDWriteTextLayout3* This,UINT32 position,FLOAT *size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetFontSize(This,position,size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetUnderline(IDWriteTextLayout3* This,UINT32 position,BOOL *has_underline,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetUnderline(This,position,has_underline,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetStrikethrough(IDWriteTextLayout3* This,UINT32 position,BOOL *has_strikethrough,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetStrikethrough(This,position,has_strikethrough,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetDrawingEffect(IDWriteTextLayout3* This,UINT32 position,IUnknown **effect,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetDrawingEffect(This,position,effect,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetInlineObject(IDWriteTextLayout3* This,UINT32 position,IDWriteInlineObject **object,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetInlineObject(This,position,object,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetTypography(IDWriteTextLayout3* This,UINT32 position,IDWriteTypography **typography,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetTypography(This,position,typography,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetLocaleNameLength(IDWriteTextLayout3* This,UINT32 position,UINT32 *length,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleNameLength(This,position,length,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetLocaleName(IDWriteTextLayout3* This,UINT32 position,WCHAR *name,UINT32 name_size,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->IDWriteTextLayout_GetLocaleName(This,position,name,name_size,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_Draw(IDWriteTextLayout3* This,void *context,IDWriteTextRenderer *renderer,FLOAT originX,FLOAT originY) { + return This->lpVtbl->Draw(This,context,renderer,originX,originY); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetOverhangMetrics(IDWriteTextLayout3* This,DWRITE_OVERHANG_METRICS *overhangs) { + return This->lpVtbl->GetOverhangMetrics(This,overhangs); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetClusterMetrics(IDWriteTextLayout3* This,DWRITE_CLUSTER_METRICS *metrics,UINT32 max_count,UINT32 *act_count) { + return This->lpVtbl->GetClusterMetrics(This,metrics,max_count,act_count); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_DetermineMinWidth(IDWriteTextLayout3* This,FLOAT *min_width) { + return This->lpVtbl->DetermineMinWidth(This,min_width); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_HitTestPoint(IDWriteTextLayout3* This,FLOAT pointX,FLOAT pointY,BOOL *is_trailinghit,BOOL *is_inside,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestPoint(This,pointX,pointY,is_trailinghit,is_inside,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_HitTestTextPosition(IDWriteTextLayout3* This,UINT32 textPosition,BOOL is_trailinghit,FLOAT *pointX,FLOAT *pointY,DWRITE_HIT_TEST_METRICS *metrics) { + return This->lpVtbl->HitTestTextPosition(This,textPosition,is_trailinghit,pointX,pointY,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_HitTestTextRange(IDWriteTextLayout3* This,UINT32 textPosition,UINT32 textLength,FLOAT originX,FLOAT originY,DWRITE_HIT_TEST_METRICS *metrics,UINT32 max_metricscount,UINT32 *actual_metricscount) { + return This->lpVtbl->HitTestTextRange(This,textPosition,textLength,originX,originY,metrics,max_metricscount,actual_metricscount); +} +/*** IDWriteTextLayout1 methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout3_SetPairKerning(IDWriteTextLayout3* This,BOOL is_pairkerning_enabled,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetPairKerning(This,is_pairkerning_enabled,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetPairKerning(IDWriteTextLayout3* This,UINT32 position,BOOL *is_pairkerning_enabled,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetPairKerning(This,position,is_pairkerning_enabled,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetCharacterSpacing(IDWriteTextLayout3* This,FLOAT leading_spacing,FLOAT trailing_spacing,FLOAT minimum_advance_width,DWRITE_TEXT_RANGE range) { + return This->lpVtbl->SetCharacterSpacing(This,leading_spacing,trailing_spacing,minimum_advance_width,range); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetCharacterSpacing(IDWriteTextLayout3* This,UINT32 position,FLOAT *leading_spacing,FLOAT *trailing_spacing,FLOAT *minimum_advance_width,DWRITE_TEXT_RANGE *range) { + return This->lpVtbl->GetCharacterSpacing(This,position,leading_spacing,trailing_spacing,minimum_advance_width,range); +} +/*** IDWriteTextLayout2 methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout3_GetMetrics(IDWriteTextLayout3* This,DWRITE_TEXT_METRICS1 *metrics) { + return This->lpVtbl->IDWriteTextLayout2_GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetVerticalGlyphOrientation(IDWriteTextLayout3* This,DWRITE_VERTICAL_GLYPH_ORIENTATION orientation) { + return This->lpVtbl->SetVerticalGlyphOrientation(This,orientation); +} +static FORCEINLINE DWRITE_VERTICAL_GLYPH_ORIENTATION IDWriteTextLayout3_GetVerticalGlyphOrientation(IDWriteTextLayout3* This) { + return This->lpVtbl->GetVerticalGlyphOrientation(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetLastLineWrapping(IDWriteTextLayout3* This,BOOL lastline_wrapping_enabled) { + return This->lpVtbl->SetLastLineWrapping(This,lastline_wrapping_enabled); +} +static FORCEINLINE BOOL IDWriteTextLayout3_GetLastLineWrapping(IDWriteTextLayout3* This) { + return This->lpVtbl->GetLastLineWrapping(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetOpticalAlignment(IDWriteTextLayout3* This,DWRITE_OPTICAL_ALIGNMENT alignment) { + return This->lpVtbl->SetOpticalAlignment(This,alignment); +} +static FORCEINLINE DWRITE_OPTICAL_ALIGNMENT IDWriteTextLayout3_GetOpticalAlignment(IDWriteTextLayout3* This) { + return This->lpVtbl->GetOpticalAlignment(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetFontFallback(IDWriteTextLayout3* This,IDWriteFontFallback *fallback) { + return This->lpVtbl->SetFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetFontFallback(IDWriteTextLayout3* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetFontFallback(This,fallback); +} +/*** IDWriteTextLayout3 methods ***/ +static FORCEINLINE HRESULT IDWriteTextLayout3_InvalidateLayout(IDWriteTextLayout3* This) { + return This->lpVtbl->InvalidateLayout(This); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_SetLineSpacing(IDWriteTextLayout3* This,const DWRITE_LINE_SPACING *spacing) { + return This->lpVtbl->IDWriteTextLayout3_SetLineSpacing(This,spacing); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetLineSpacing(IDWriteTextLayout3* This,DWRITE_LINE_SPACING *spacing) { + return This->lpVtbl->IDWriteTextLayout3_GetLineSpacing(This,spacing); +} +static FORCEINLINE HRESULT IDWriteTextLayout3_GetLineMetrics(IDWriteTextLayout3* This,DWRITE_LINE_METRICS1 *metrics,UINT32 max_count,UINT32 *count) { + return This->lpVtbl->IDWriteTextLayout3_GetLineMetrics(This,metrics,max_count,count); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteTextLayout3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteGdiInterop1 interface + */ +#ifndef __IDWriteGdiInterop1_INTERFACE_DEFINED__ +#define __IDWriteGdiInterop1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteGdiInterop1, 0x4556be70, 0x3abd, 0x4f70, 0x90,0xbe, 0x42,0x17,0x80,0xa6,0xf5,0x15); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4556be70-3abd-4f70-90be-421780a6f515") +IDWriteGdiInterop1 : public IDWriteGdiInterop +{ + virtual HRESULT STDMETHODCALLTYPE CreateFontFromLOGFONT( + const LOGFONTW *logfont, + IDWriteFontCollection *collection, + IDWriteFont **font) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontSignature_( + IDWriteFontFace *fontface, + FONTSIGNATURE *fontsig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontSignature( + IDWriteFont *font, + FONTSIGNATURE *fontsig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMatchingFontsByLOGFONT( + const LOGFONTW *logfont, + IDWriteFontSet *fontset, + IDWriteFontSet **subset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteGdiInterop1, 0x4556be70, 0x3abd, 0x4f70, 0x90,0xbe, 0x42,0x17,0x80,0xa6,0xf5,0x15) +#endif +#else +typedef struct IDWriteGdiInterop1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteGdiInterop1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteGdiInterop1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteGdiInterop1 *This); + + /*** IDWriteGdiInterop methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateFontFromLOGFONT)( + IDWriteGdiInterop1 *This, + const LOGFONTW *logfont, + IDWriteFont **font); + + HRESULT (STDMETHODCALLTYPE *ConvertFontToLOGFONT)( + IDWriteGdiInterop1 *This, + IDWriteFont *font, + LOGFONTW *logfont, + BOOL *is_systemfont); + + HRESULT (STDMETHODCALLTYPE *ConvertFontFaceToLOGFONT)( + IDWriteGdiInterop1 *This, + IDWriteFontFace *font, + LOGFONTW *logfont); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceFromHdc)( + IDWriteGdiInterop1 *This, + HDC hdc, + IDWriteFontFace **fontface); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapRenderTarget)( + IDWriteGdiInterop1 *This, + HDC hdc, + UINT32 width, + UINT32 height, + IDWriteBitmapRenderTarget **target); + + /*** IDWriteGdiInterop1 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteGdiInterop1_CreateFontFromLOGFONT)( + IDWriteGdiInterop1 *This, + const LOGFONTW *logfont, + IDWriteFontCollection *collection, + IDWriteFont **font); + + HRESULT (STDMETHODCALLTYPE *GetFontSignature_)( + IDWriteGdiInterop1 *This, + IDWriteFontFace *fontface, + FONTSIGNATURE *fontsig); + + HRESULT (STDMETHODCALLTYPE *GetFontSignature)( + IDWriteGdiInterop1 *This, + IDWriteFont *font, + FONTSIGNATURE *fontsig); + + HRESULT (STDMETHODCALLTYPE *GetMatchingFontsByLOGFONT)( + IDWriteGdiInterop1 *This, + const LOGFONTW *logfont, + IDWriteFontSet *fontset, + IDWriteFontSet **subset); + + END_INTERFACE +} IDWriteGdiInterop1Vtbl; + +interface IDWriteGdiInterop1 { + CONST_VTBL IDWriteGdiInterop1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteGdiInterop1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteGdiInterop1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteGdiInterop1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteGdiInterop methods ***/ +#define IDWriteGdiInterop1_ConvertFontToLOGFONT(This,font,logfont,is_systemfont) (This)->lpVtbl->ConvertFontToLOGFONT(This,font,logfont,is_systemfont) +#define IDWriteGdiInterop1_ConvertFontFaceToLOGFONT(This,font,logfont) (This)->lpVtbl->ConvertFontFaceToLOGFONT(This,font,logfont) +#define IDWriteGdiInterop1_CreateFontFaceFromHdc(This,hdc,fontface) (This)->lpVtbl->CreateFontFaceFromHdc(This,hdc,fontface) +#define IDWriteGdiInterop1_CreateBitmapRenderTarget(This,hdc,width,height,target) (This)->lpVtbl->CreateBitmapRenderTarget(This,hdc,width,height,target) +/*** IDWriteGdiInterop1 methods ***/ +#define IDWriteGdiInterop1_CreateFontFromLOGFONT(This,logfont,collection,font) (This)->lpVtbl->IDWriteGdiInterop1_CreateFontFromLOGFONT(This,logfont,collection,font) +#define IDWriteGdiInterop1_GetFontSignature_(This,fontface,fontsig) (This)->lpVtbl->GetFontSignature_(This,fontface,fontsig) +#define IDWriteGdiInterop1_GetFontSignature(This,font,fontsig) (This)->lpVtbl->GetFontSignature(This,font,fontsig) +#define IDWriteGdiInterop1_GetMatchingFontsByLOGFONT(This,logfont,fontset,subset) (This)->lpVtbl->GetMatchingFontsByLOGFONT(This,logfont,fontset,subset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteGdiInterop1_QueryInterface(IDWriteGdiInterop1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteGdiInterop1_AddRef(IDWriteGdiInterop1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteGdiInterop1_Release(IDWriteGdiInterop1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteGdiInterop methods ***/ +static FORCEINLINE HRESULT IDWriteGdiInterop1_ConvertFontToLOGFONT(IDWriteGdiInterop1* This,IDWriteFont *font,LOGFONTW *logfont,BOOL *is_systemfont) { + return This->lpVtbl->ConvertFontToLOGFONT(This,font,logfont,is_systemfont); +} +static FORCEINLINE HRESULT IDWriteGdiInterop1_ConvertFontFaceToLOGFONT(IDWriteGdiInterop1* This,IDWriteFontFace *font,LOGFONTW *logfont) { + return This->lpVtbl->ConvertFontFaceToLOGFONT(This,font,logfont); +} +static FORCEINLINE HRESULT IDWriteGdiInterop1_CreateFontFaceFromHdc(IDWriteGdiInterop1* This,HDC hdc,IDWriteFontFace **fontface) { + return This->lpVtbl->CreateFontFaceFromHdc(This,hdc,fontface); +} +static FORCEINLINE HRESULT IDWriteGdiInterop1_CreateBitmapRenderTarget(IDWriteGdiInterop1* This,HDC hdc,UINT32 width,UINT32 height,IDWriteBitmapRenderTarget **target) { + return This->lpVtbl->CreateBitmapRenderTarget(This,hdc,width,height,target); +} +/*** IDWriteGdiInterop1 methods ***/ +static FORCEINLINE HRESULT IDWriteGdiInterop1_CreateFontFromLOGFONT(IDWriteGdiInterop1* This,const LOGFONTW *logfont,IDWriteFontCollection *collection,IDWriteFont **font) { + return This->lpVtbl->IDWriteGdiInterop1_CreateFontFromLOGFONT(This,logfont,collection,font); +} +static FORCEINLINE HRESULT IDWriteGdiInterop1_GetFontSignature_(IDWriteGdiInterop1* This,IDWriteFontFace *fontface,FONTSIGNATURE *fontsig) { + return This->lpVtbl->GetFontSignature_(This,fontface,fontsig); +} +static FORCEINLINE HRESULT IDWriteGdiInterop1_GetFontSignature(IDWriteGdiInterop1* This,IDWriteFont *font,FONTSIGNATURE *fontsig) { + return This->lpVtbl->GetFontSignature(This,font,fontsig); +} +static FORCEINLINE HRESULT IDWriteGdiInterop1_GetMatchingFontsByLOGFONT(IDWriteGdiInterop1* This,const LOGFONTW *logfont,IDWriteFontSet *fontset,IDWriteFontSet **subset) { + return This->lpVtbl->GetMatchingFontsByLOGFONT(This,logfont,fontset,subset); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteGdiInterop1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontSetBuilder interface + */ +#ifndef __IDWriteFontSetBuilder_INTERFACE_DEFINED__ +#define __IDWriteFontSetBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontSetBuilder, 0x2f642afe, 0x9c68, 0x4f40, 0xb8,0xbe, 0x45,0x74,0x01,0xaf,0xcb,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2f642afe-9c68-4f40-b8be-457401afcb3d") +IDWriteFontSetBuilder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddFontFaceReference_( + IDWriteFontFaceReference *ref, + const DWRITE_FONT_PROPERTY *props, + UINT32 prop_count) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFontFaceReference( + IDWriteFontFaceReference *ref) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFontSet( + IDWriteFontSet *fontset) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontSet( + IDWriteFontSet **fontset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontSetBuilder, 0x2f642afe, 0x9c68, 0x4f40, 0xb8,0xbe, 0x45,0x74,0x01,0xaf,0xcb,0x3d) +#endif +#else +typedef struct IDWriteFontSetBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontSetBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontSetBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontSetBuilder *This); + + /*** IDWriteFontSetBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFontFaceReference_)( + IDWriteFontSetBuilder *This, + IDWriteFontFaceReference *ref, + const DWRITE_FONT_PROPERTY *props, + UINT32 prop_count); + + HRESULT (STDMETHODCALLTYPE *AddFontFaceReference)( + IDWriteFontSetBuilder *This, + IDWriteFontFaceReference *ref); + + HRESULT (STDMETHODCALLTYPE *AddFontSet)( + IDWriteFontSetBuilder *This, + IDWriteFontSet *fontset); + + HRESULT (STDMETHODCALLTYPE *CreateFontSet)( + IDWriteFontSetBuilder *This, + IDWriteFontSet **fontset); + + END_INTERFACE +} IDWriteFontSetBuilderVtbl; + +interface IDWriteFontSetBuilder { + CONST_VTBL IDWriteFontSetBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontSetBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontSetBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontSetBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontSetBuilder methods ***/ +#define IDWriteFontSetBuilder_AddFontFaceReference_(This,ref,props,prop_count) (This)->lpVtbl->AddFontFaceReference_(This,ref,props,prop_count) +#define IDWriteFontSetBuilder_AddFontFaceReference(This,ref) (This)->lpVtbl->AddFontFaceReference(This,ref) +#define IDWriteFontSetBuilder_AddFontSet(This,fontset) (This)->lpVtbl->AddFontSet(This,fontset) +#define IDWriteFontSetBuilder_CreateFontSet(This,fontset) (This)->lpVtbl->CreateFontSet(This,fontset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontSetBuilder_QueryInterface(IDWriteFontSetBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontSetBuilder_AddRef(IDWriteFontSetBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontSetBuilder_Release(IDWriteFontSetBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontSetBuilder methods ***/ +static FORCEINLINE HRESULT IDWriteFontSetBuilder_AddFontFaceReference_(IDWriteFontSetBuilder* This,IDWriteFontFaceReference *ref,const DWRITE_FONT_PROPERTY *props,UINT32 prop_count) { + return This->lpVtbl->AddFontFaceReference_(This,ref,props,prop_count); +} +static FORCEINLINE HRESULT IDWriteFontSetBuilder_AddFontFaceReference(IDWriteFontSetBuilder* This,IDWriteFontFaceReference *ref) { + return This->lpVtbl->AddFontFaceReference(This,ref); +} +static FORCEINLINE HRESULT IDWriteFontSetBuilder_AddFontSet(IDWriteFontSetBuilder* This,IDWriteFontSet *fontset) { + return This->lpVtbl->AddFontSet(This,fontset); +} +static FORCEINLINE HRESULT IDWriteFontSetBuilder_CreateFontSet(IDWriteFontSetBuilder* This,IDWriteFontSet **fontset) { + return This->lpVtbl->CreateFontSet(This,fontset); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontSetBuilder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFontSetBuilder1 interface + */ +#ifndef __IDWriteFontSetBuilder1_INTERFACE_DEFINED__ +#define __IDWriteFontSetBuilder1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontSetBuilder1, 0x3ff7715f, 0x3cdc, 0x4dc6, 0x9b,0x72, 0xec,0x56,0x21,0xdc,0xca,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3ff7715f-3cdc-4dc6-9b72-ec5621dccafd") +IDWriteFontSetBuilder1 : public IDWriteFontSetBuilder +{ + virtual HRESULT STDMETHODCALLTYPE AddFontFile( + IDWriteFontFile *file) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontSetBuilder1, 0x3ff7715f, 0x3cdc, 0x4dc6, 0x9b,0x72, 0xec,0x56,0x21,0xdc,0xca,0xfd) +#endif +#else +typedef struct IDWriteFontSetBuilder1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontSetBuilder1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontSetBuilder1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontSetBuilder1 *This); + + /*** IDWriteFontSetBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFontFaceReference_)( + IDWriteFontSetBuilder1 *This, + IDWriteFontFaceReference *ref, + const DWRITE_FONT_PROPERTY *props, + UINT32 prop_count); + + HRESULT (STDMETHODCALLTYPE *AddFontFaceReference)( + IDWriteFontSetBuilder1 *This, + IDWriteFontFaceReference *ref); + + HRESULT (STDMETHODCALLTYPE *AddFontSet)( + IDWriteFontSetBuilder1 *This, + IDWriteFontSet *fontset); + + HRESULT (STDMETHODCALLTYPE *CreateFontSet)( + IDWriteFontSetBuilder1 *This, + IDWriteFontSet **fontset); + + /*** IDWriteFontSetBuilder1 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFontFile)( + IDWriteFontSetBuilder1 *This, + IDWriteFontFile *file); + + END_INTERFACE +} IDWriteFontSetBuilder1Vtbl; + +interface IDWriteFontSetBuilder1 { + CONST_VTBL IDWriteFontSetBuilder1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontSetBuilder1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontSetBuilder1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontSetBuilder1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontSetBuilder methods ***/ +#define IDWriteFontSetBuilder1_AddFontFaceReference_(This,ref,props,prop_count) (This)->lpVtbl->AddFontFaceReference_(This,ref,props,prop_count) +#define IDWriteFontSetBuilder1_AddFontFaceReference(This,ref) (This)->lpVtbl->AddFontFaceReference(This,ref) +#define IDWriteFontSetBuilder1_AddFontSet(This,fontset) (This)->lpVtbl->AddFontSet(This,fontset) +#define IDWriteFontSetBuilder1_CreateFontSet(This,fontset) (This)->lpVtbl->CreateFontSet(This,fontset) +/*** IDWriteFontSetBuilder1 methods ***/ +#define IDWriteFontSetBuilder1_AddFontFile(This,file) (This)->lpVtbl->AddFontFile(This,file) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontSetBuilder1_QueryInterface(IDWriteFontSetBuilder1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontSetBuilder1_AddRef(IDWriteFontSetBuilder1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontSetBuilder1_Release(IDWriteFontSetBuilder1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontSetBuilder methods ***/ +static FORCEINLINE HRESULT IDWriteFontSetBuilder1_AddFontFaceReference_(IDWriteFontSetBuilder1* This,IDWriteFontFaceReference *ref,const DWRITE_FONT_PROPERTY *props,UINT32 prop_count) { + return This->lpVtbl->AddFontFaceReference_(This,ref,props,prop_count); +} +static FORCEINLINE HRESULT IDWriteFontSetBuilder1_AddFontFaceReference(IDWriteFontSetBuilder1* This,IDWriteFontFaceReference *ref) { + return This->lpVtbl->AddFontFaceReference(This,ref); +} +static FORCEINLINE HRESULT IDWriteFontSetBuilder1_AddFontSet(IDWriteFontSetBuilder1* This,IDWriteFontSet *fontset) { + return This->lpVtbl->AddFontSet(This,fontset); +} +static FORCEINLINE HRESULT IDWriteFontSetBuilder1_CreateFontSet(IDWriteFontSetBuilder1* This,IDWriteFontSet **fontset) { + return This->lpVtbl->CreateFontSet(This,fontset); +} +/*** IDWriteFontSetBuilder1 methods ***/ +static FORCEINLINE HRESULT IDWriteFontSetBuilder1_AddFontFile(IDWriteFontSetBuilder1* This,IDWriteFontFile *file) { + return This->lpVtbl->AddFontFile(This,file); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontSetBuilder1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFactory3 interface + */ +#ifndef __IDWriteFactory3_INTERFACE_DEFINED__ +#define __IDWriteFactory3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFactory3, 0x9a1b41c3, 0xd3bb, 0x466a, 0x87,0xfc, 0xfe,0x67,0x55,0x6a,0x3b,0x65); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9a1b41c3-d3bb-466a-87fc-fe67556a3b65") +IDWriteFactory3 : public IDWriteFactory2 +{ + virtual HRESULT STDMETHODCALLTYPE CreateGlyphRunAnalysis( + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + DWRITE_TEXT_ANTIALIAS_MODE antialias_mode, + FLOAT origin_x, + FLOAT origin_y, + IDWriteGlyphRunAnalysis **analysis) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateCustomRenderingParams( + FLOAT gamma, + FLOAT enhanced_contrast, + FLOAT grayscale_enhanced_contrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY pixel_geometry, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + IDWriteRenderingParams3 **params) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFaceReference_( + IDWriteFontFile *file, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFaceReference( + const WCHAR *path, + const FILETIME *writetime, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemFontSet( + IDWriteFontSet **fontset) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontSetBuilder( + IDWriteFontSetBuilder **builder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontCollectionFromFontSet( + IDWriteFontSet *fontset, + IDWriteFontCollection1 **collection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemFontCollection( + BOOL include_downloadable, + IDWriteFontCollection1 **collection, + BOOL check_for_updates) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontDownloadQueue( + IDWriteFontDownloadQueue **queue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFactory3, 0x9a1b41c3, 0xd3bb, 0x466a, 0x87,0xfc, 0xfe,0x67,0x55,0x6a,0x3b,0x65) +#endif +#else +typedef struct IDWriteFactory3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFactory3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFactory3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFactory3 *This); + + /*** IDWriteFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontCollection)( + IDWriteFactory3 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontCollection)( + IDWriteFactory3 *This, + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT (STDMETHODCALLTYPE *RegisterFontCollectionLoader)( + IDWriteFactory3 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontCollectionLoader)( + IDWriteFactory3 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReference)( + IDWriteFactory3 *This, + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontFileReference)( + IDWriteFactory3 *This, + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFactory3 *This, + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT (STDMETHODCALLTYPE *CreateRenderingParams)( + IDWriteFactory3 *This, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateMonitorRenderingParams)( + IDWriteFactory3 *This, + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateCustomRenderingParams)( + IDWriteFactory3 *This, + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *RegisterFontFileLoader)( + IDWriteFactory3 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontFileLoader)( + IDWriteFactory3 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateTextFormat)( + IDWriteFactory3 *This, + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format); + + HRESULT (STDMETHODCALLTYPE *CreateTypography)( + IDWriteFactory3 *This, + IDWriteTypography **typography); + + HRESULT (STDMETHODCALLTYPE *GetGdiInterop)( + IDWriteFactory3 *This, + IDWriteGdiInterop **gdi_interop); + + HRESULT (STDMETHODCALLTYPE *CreateTextLayout)( + IDWriteFactory3 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateGdiCompatibleTextLayout)( + IDWriteFactory3 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateEllipsisTrimmingSign)( + IDWriteFactory3 *This, + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *CreateTextAnalyzer)( + IDWriteFactory3 *This, + IDWriteTextAnalyzer **analyzer); + + HRESULT (STDMETHODCALLTYPE *CreateNumberSubstitution)( + IDWriteFactory3 *This, + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT (STDMETHODCALLTYPE *CreateGlyphRunAnalysis)( + IDWriteFactory3 *This, + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEudcFontCollection)( + IDWriteFactory3 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory1_CreateCustomRenderingParams)( + IDWriteFactory3 *This, + FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1 **params); + + /*** IDWriteFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontFallback)( + IDWriteFactory3 *This, + IDWriteFontFallback **fallback); + + HRESULT (STDMETHODCALLTYPE *CreateFontFallbackBuilder)( + IDWriteFactory3 *This, + IDWriteFontFallbackBuilder **fallbackbuilder); + + HRESULT (STDMETHODCALLTYPE *TranslateColorGlyphRun)( + IDWriteFactory3 *This, + FLOAT originX, + FLOAT originY, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + DWRITE_MEASURING_MODE mode, + const DWRITE_MATRIX *transform, + UINT32 palette_index, + IDWriteColorGlyphRunEnumerator **colorlayers); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateCustomRenderingParams)( + IDWriteFactory3 *This, + FLOAT gamma, + FLOAT contrast, + FLOAT grayscalecontrast, + FLOAT cleartypeLevel, + DWRITE_PIXEL_GEOMETRY pixelGeometry, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_GRID_FIT_MODE gridFitMode, + IDWriteRenderingParams2 **params); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateGlyphRunAnalysis)( + IDWriteFactory3 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_MEASURING_MODE measuringMode, + DWRITE_GRID_FIT_MODE gridFitMode, + DWRITE_TEXT_ANTIALIAS_MODE antialiasMode, + FLOAT originX, + FLOAT originY, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory3 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_CreateGlyphRunAnalysis)( + IDWriteFactory3 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + DWRITE_TEXT_ANTIALIAS_MODE antialias_mode, + FLOAT origin_x, + FLOAT origin_y, + IDWriteGlyphRunAnalysis **analysis); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_CreateCustomRenderingParams)( + IDWriteFactory3 *This, + FLOAT gamma, + FLOAT enhanced_contrast, + FLOAT grayscale_enhanced_contrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY pixel_geometry, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + IDWriteRenderingParams3 **params); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceReference_)( + IDWriteFactory3 *This, + IDWriteFontFile *file, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceReference)( + IDWriteFactory3 *This, + const WCHAR *path, + const FILETIME *writetime, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *GetSystemFontSet)( + IDWriteFactory3 *This, + IDWriteFontSet **fontset); + + HRESULT (STDMETHODCALLTYPE *CreateFontSetBuilder)( + IDWriteFactory3 *This, + IDWriteFontSetBuilder **builder); + + HRESULT (STDMETHODCALLTYPE *CreateFontCollectionFromFontSet)( + IDWriteFactory3 *This, + IDWriteFontSet *fontset, + IDWriteFontCollection1 **collection); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_GetSystemFontCollection)( + IDWriteFactory3 *This, + BOOL include_downloadable, + IDWriteFontCollection1 **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *GetFontDownloadQueue)( + IDWriteFactory3 *This, + IDWriteFontDownloadQueue **queue); + + END_INTERFACE +} IDWriteFactory3Vtbl; + +interface IDWriteFactory3 { + CONST_VTBL IDWriteFactory3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFactory3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFactory3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFactory3_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFactory methods ***/ +#define IDWriteFactory3_CreateCustomFontCollection(This,loader,key,key_size,collection) (This)->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection) +#define IDWriteFactory3_RegisterFontCollectionLoader(This,loader) (This)->lpVtbl->RegisterFontCollectionLoader(This,loader) +#define IDWriteFactory3_UnregisterFontCollectionLoader(This,loader) (This)->lpVtbl->UnregisterFontCollectionLoader(This,loader) +#define IDWriteFactory3_CreateFontFileReference(This,path,writetime,font_file) (This)->lpVtbl->CreateFontFileReference(This,path,writetime,font_file) +#define IDWriteFactory3_CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) (This)->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) +#define IDWriteFactory3_CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) (This)->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) +#define IDWriteFactory3_CreateRenderingParams(This,params) (This)->lpVtbl->CreateRenderingParams(This,params) +#define IDWriteFactory3_CreateMonitorRenderingParams(This,monitor,params) (This)->lpVtbl->CreateMonitorRenderingParams(This,monitor,params) +#define IDWriteFactory3_RegisterFontFileLoader(This,loader) (This)->lpVtbl->RegisterFontFileLoader(This,loader) +#define IDWriteFactory3_UnregisterFontFileLoader(This,loader) (This)->lpVtbl->UnregisterFontFileLoader(This,loader) +#define IDWriteFactory3_CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) (This)->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) +#define IDWriteFactory3_CreateTypography(This,typography) (This)->lpVtbl->CreateTypography(This,typography) +#define IDWriteFactory3_GetGdiInterop(This,gdi_interop) (This)->lpVtbl->GetGdiInterop(This,gdi_interop) +#define IDWriteFactory3_CreateTextLayout(This,string,len,format,max_width,max_height,layout) (This)->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout) +#define IDWriteFactory3_CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) (This)->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) +#define IDWriteFactory3_CreateEllipsisTrimmingSign(This,format,trimming_sign) (This)->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign) +#define IDWriteFactory3_CreateTextAnalyzer(This,analyzer) (This)->lpVtbl->CreateTextAnalyzer(This,analyzer) +#define IDWriteFactory3_CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) (This)->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) +/*** IDWriteFactory1 methods ***/ +#define IDWriteFactory3_GetEudcFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates) +/*** IDWriteFactory2 methods ***/ +#define IDWriteFactory3_GetSystemFontFallback(This,fallback) (This)->lpVtbl->GetSystemFontFallback(This,fallback) +#define IDWriteFactory3_CreateFontFallbackBuilder(This,fallbackbuilder) (This)->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder) +#define IDWriteFactory3_TranslateColorGlyphRun(This,originX,originY,run,rundescr,mode,transform,palette_index,colorlayers) (This)->lpVtbl->TranslateColorGlyphRun(This,originX,originY,run,rundescr,mode,transform,palette_index,colorlayers) +/*** IDWriteFactory3 methods ***/ +#define IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis) (This)->lpVtbl->IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis) +#define IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params) (This)->lpVtbl->IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params) +#define IDWriteFactory3_CreateFontFaceReference_(This,file,index,simulations,reference) (This)->lpVtbl->CreateFontFaceReference_(This,file,index,simulations,reference) +#define IDWriteFactory3_CreateFontFaceReference(This,path,writetime,index,simulations,reference) (This)->lpVtbl->CreateFontFaceReference(This,path,writetime,index,simulations,reference) +#define IDWriteFactory3_GetSystemFontSet(This,fontset) (This)->lpVtbl->GetSystemFontSet(This,fontset) +#define IDWriteFactory3_CreateFontSetBuilder(This,builder) (This)->lpVtbl->CreateFontSetBuilder(This,builder) +#define IDWriteFactory3_CreateFontCollectionFromFontSet(This,fontset,collection) (This)->lpVtbl->CreateFontCollectionFromFontSet(This,fontset,collection) +#define IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates) (This)->lpVtbl->IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates) +#define IDWriteFactory3_GetFontDownloadQueue(This,queue) (This)->lpVtbl->GetFontDownloadQueue(This,queue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFactory3_QueryInterface(IDWriteFactory3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFactory3_AddRef(IDWriteFactory3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFactory3_Release(IDWriteFactory3* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFactory methods ***/ +static FORCEINLINE HRESULT IDWriteFactory3_CreateCustomFontCollection(IDWriteFactory3* This,IDWriteFontCollectionLoader *loader,const void *key,UINT32 key_size,IDWriteFontCollection **collection) { + return This->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection); +} +static FORCEINLINE HRESULT IDWriteFactory3_RegisterFontCollectionLoader(IDWriteFactory3* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->RegisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory3_UnregisterFontCollectionLoader(IDWriteFactory3* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->UnregisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontFileReference(IDWriteFactory3* This,const WCHAR *path,const FILETIME *writetime,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateFontFileReference(This,path,writetime,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateCustomFontFileReference(IDWriteFactory3* This,const void *reference_key,UINT32 key_size,IDWriteFontFileLoader *loader,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontFace(IDWriteFactory3* This,DWRITE_FONT_FACE_TYPE facetype,UINT32 files_number,IDWriteFontFile *const *font_files,UINT32 index,DWRITE_FONT_SIMULATIONS sim_flags,IDWriteFontFace **font_face) { + return This->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateRenderingParams(IDWriteFactory3* This,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateRenderingParams(This,params); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateMonitorRenderingParams(IDWriteFactory3* This,HMONITOR monitor,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateMonitorRenderingParams(This,monitor,params); +} +static FORCEINLINE HRESULT IDWriteFactory3_RegisterFontFileLoader(IDWriteFactory3* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->RegisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory3_UnregisterFontFileLoader(IDWriteFactory3* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->UnregisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateTextFormat(IDWriteFactory3* This,const WCHAR *family_name,IDWriteFontCollection *collection,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STYLE style,DWRITE_FONT_STRETCH stretch,FLOAT size,const WCHAR *locale,IDWriteTextFormat **format) { + return This->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateTypography(IDWriteFactory3* This,IDWriteTypography **typography) { + return This->lpVtbl->CreateTypography(This,typography); +} +static FORCEINLINE HRESULT IDWriteFactory3_GetGdiInterop(IDWriteFactory3* This,IDWriteGdiInterop **gdi_interop) { + return This->lpVtbl->GetGdiInterop(This,gdi_interop); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateTextLayout(IDWriteFactory3* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT max_width,FLOAT max_height,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateGdiCompatibleTextLayout(IDWriteFactory3* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT layout_width,FLOAT layout_height,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateEllipsisTrimmingSign(IDWriteFactory3* This,IDWriteTextFormat *format,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateTextAnalyzer(IDWriteFactory3* This,IDWriteTextAnalyzer **analyzer) { + return This->lpVtbl->CreateTextAnalyzer(This,analyzer); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateNumberSubstitution(IDWriteFactory3* This,DWRITE_NUMBER_SUBSTITUTION_METHOD method,const WCHAR *locale,BOOL ignore_user_override,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution); +} +/*** IDWriteFactory1 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory3_GetEudcFontCollection(IDWriteFactory3* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates); +} +/*** IDWriteFactory2 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory3_GetSystemFontFallback(IDWriteFactory3* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetSystemFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontFallbackBuilder(IDWriteFactory3* This,IDWriteFontFallbackBuilder **fallbackbuilder) { + return This->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder); +} +static FORCEINLINE HRESULT IDWriteFactory3_TranslateColorGlyphRun(IDWriteFactory3* This,FLOAT originX,FLOAT originY,const DWRITE_GLYPH_RUN *run,const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr,DWRITE_MEASURING_MODE mode,const DWRITE_MATRIX *transform,UINT32 palette_index,IDWriteColorGlyphRunEnumerator **colorlayers) { + return This->lpVtbl->TranslateColorGlyphRun(This,originX,originY,run,rundescr,mode,transform,palette_index,colorlayers); +} +/*** IDWriteFactory3 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory3_CreateGlyphRunAnalysis(IDWriteFactory3* This,const DWRITE_GLYPH_RUN *run,const DWRITE_MATRIX *transform,DWRITE_RENDERING_MODE1 rendering_mode,DWRITE_MEASURING_MODE measuring_mode,DWRITE_GRID_FIT_MODE gridfit_mode,DWRITE_TEXT_ANTIALIAS_MODE antialias_mode,FLOAT origin_x,FLOAT origin_y,IDWriteGlyphRunAnalysis **analysis) { + return This->lpVtbl->IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateCustomRenderingParams(IDWriteFactory3* This,FLOAT gamma,FLOAT enhanced_contrast,FLOAT grayscale_enhanced_contrast,FLOAT cleartype_level,DWRITE_PIXEL_GEOMETRY pixel_geometry,DWRITE_RENDERING_MODE1 rendering_mode,DWRITE_GRID_FIT_MODE gridfit_mode,IDWriteRenderingParams3 **params) { + return This->lpVtbl->IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontFaceReference_(IDWriteFactory3* This,IDWriteFontFile *file,UINT32 index,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFaceReference **reference) { + return This->lpVtbl->CreateFontFaceReference_(This,file,index,simulations,reference); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontFaceReference(IDWriteFactory3* This,const WCHAR *path,const FILETIME *writetime,UINT32 index,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFaceReference **reference) { + return This->lpVtbl->CreateFontFaceReference(This,path,writetime,index,simulations,reference); +} +static FORCEINLINE HRESULT IDWriteFactory3_GetSystemFontSet(IDWriteFactory3* This,IDWriteFontSet **fontset) { + return This->lpVtbl->GetSystemFontSet(This,fontset); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontSetBuilder(IDWriteFactory3* This,IDWriteFontSetBuilder **builder) { + return This->lpVtbl->CreateFontSetBuilder(This,builder); +} +static FORCEINLINE HRESULT IDWriteFactory3_CreateFontCollectionFromFontSet(IDWriteFactory3* This,IDWriteFontSet *fontset,IDWriteFontCollection1 **collection) { + return This->lpVtbl->CreateFontCollectionFromFontSet(This,fontset,collection); +} +static FORCEINLINE HRESULT IDWriteFactory3_GetSystemFontCollection(IDWriteFactory3* This,BOOL include_downloadable,IDWriteFontCollection1 **collection,BOOL check_for_updates) { + return This->lpVtbl->IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory3_GetFontDownloadQueue(IDWriteFactory3* This,IDWriteFontDownloadQueue **queue) { + return This->lpVtbl->GetFontDownloadQueue(This,queue); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFactory3_INTERFACE_DEFINED__ */ + +typedef enum DWRITE_GLYPH_IMAGE_FORMATS { + DWRITE_GLYPH_IMAGE_FORMATS_NONE = 0, + DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE = 1 << 0, + DWRITE_GLYPH_IMAGE_FORMATS_CFF = 1 << 1, + DWRITE_GLYPH_IMAGE_FORMATS_COLR = 1 << 2, + DWRITE_GLYPH_IMAGE_FORMATS_SVG = 1 << 3, + DWRITE_GLYPH_IMAGE_FORMATS_PNG = 1 << 4, + DWRITE_GLYPH_IMAGE_FORMATS_JPEG = 1 << 5, + DWRITE_GLYPH_IMAGE_FORMATS_TIFF = 1 << 6, + DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 = 1 << 7 +} DWRITE_GLYPH_IMAGE_FORMATS; +typedef struct DWRITE_GLYPH_IMAGE_DATA { + const void *imageData; + UINT32 imageDataSize; + UINT32 uniqueDataId; + UINT32 pixelsPerEm; + D2D1_SIZE_U pixelSize; + D2D1_POINT_2L horizontalLeftOrigin; + D2D1_POINT_2L horizontalRightOrigin; + D2D1_POINT_2L verticalTopOrigin; + D2D1_POINT_2L verticalBottomOrigin; +} DWRITE_GLYPH_IMAGE_DATA; +/***************************************************************************** + * IDWriteFontFace4 interface + */ +#ifndef __IDWriteFontFace4_INTERFACE_DEFINED__ +#define __IDWriteFontFace4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFontFace4, 0x27f2a904, 0x4eb8, 0x441d, 0x96,0x78, 0x05,0x63,0xf5,0x3e,0x3e,0x2f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("27f2a904-4eb8-441d-9678-0563f53e3e2f") +IDWriteFontFace4 : public IDWriteFontFace3 +{ + virtual HRESULT STDMETHODCALLTYPE GetGlyphImageFormats_( + UINT16 glyph, + UINT32 ppem_first, + UINT32 ppem_last, + DWRITE_GLYPH_IMAGE_FORMATS *formats) = 0; + + virtual DWRITE_GLYPH_IMAGE_FORMATS STDMETHODCALLTYPE GetGlyphImageFormats( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlyphImageData( + UINT16 glyph, + UINT32 ppem, + DWRITE_GLYPH_IMAGE_FORMATS format, + DWRITE_GLYPH_IMAGE_DATA *data, + void **context) = 0; + + virtual void STDMETHODCALLTYPE ReleaseGlyphImageData( + void *context) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFontFace4, 0x27f2a904, 0x4eb8, 0x441d, 0x96,0x78, 0x05,0x63,0xf5,0x3e,0x3e,0x2f) +#endif +#else +typedef struct IDWriteFontFace4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFontFace4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFontFace4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFontFace4 *This); + + /*** IDWriteFontFace methods ***/ + DWRITE_FONT_FACE_TYPE (STDMETHODCALLTYPE *GetType)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *GetFiles)( + IDWriteFontFace4 *This, + UINT32 *number_of_files, + IDWriteFontFile **fontfiles); + + UINT32 (STDMETHODCALLTYPE *GetIndex)( + IDWriteFontFace4 *This); + + DWRITE_FONT_SIMULATIONS (STDMETHODCALLTYPE *GetSimulations)( + IDWriteFontFace4 *This); + + BOOL (STDMETHODCALLTYPE *IsSymbolFont)( + IDWriteFontFace4 *This); + + void (STDMETHODCALLTYPE *GetMetrics)( + IDWriteFontFace4 *This, + DWRITE_FONT_METRICS *metrics); + + UINT16 (STDMETHODCALLTYPE *GetGlyphCount)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphMetrics)( + IDWriteFontFace4 *This, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)( + IDWriteFontFace4 *This, + const UINT32 *codepoints, + UINT32 count, + UINT16 *glyph_indices); + + HRESULT (STDMETHODCALLTYPE *TryGetFontTable)( + IDWriteFontFace4 *This, + UINT32 table_tag, + const void **table_data, + UINT32 *table_size, + void **context, + BOOL *exists); + + void (STDMETHODCALLTYPE *ReleaseFontTable)( + IDWriteFontFace4 *This, + void *table_context); + + HRESULT (STDMETHODCALLTYPE *GetGlyphRunOutline)( + IDWriteFontFace4 *This, + FLOAT emSize, + const UINT16 *glyph_indices, + const FLOAT *glyph_advances, + const DWRITE_GLYPH_OFFSET *glyph_offsets, + UINT32 glyph_count, + BOOL is_sideways, + BOOL is_rtl, + IDWriteGeometrySink *geometrysink); + + HRESULT (STDMETHODCALLTYPE *GetRecommendedRenderingMode)( + IDWriteFontFace4 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + DWRITE_MEASURING_MODE mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleMetrics)( + IDWriteFontFace4 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphMetrics)( + IDWriteFontFace4 *This, + FLOAT emSize, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + const UINT16 *glyph_indices, + UINT32 glyph_count, + DWRITE_GLYPH_METRICS *metrics, + BOOL is_sideways); + + /*** IDWriteFontFace1 methods ***/ + void (STDMETHODCALLTYPE *IDWriteFontFace1_GetMetrics)( + IDWriteFontFace4 *This, + DWRITE_FONT_METRICS1 *metrics); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetGdiCompatibleMetrics)( + IDWriteFontFace4 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_FONT_METRICS1 *metrics); + + void (STDMETHODCALLTYPE *GetCaretMetrics)( + IDWriteFontFace4 *This, + DWRITE_CARET_METRICS *metrics); + + HRESULT (STDMETHODCALLTYPE *GetUnicodeRanges)( + IDWriteFontFace4 *This, + UINT32 max_count, + DWRITE_UNICODE_RANGE *ranges, + UINT32 *count); + + BOOL (STDMETHODCALLTYPE *IsMonospacedFont)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *GetDesignGlyphAdvances)( + IDWriteFontFace4 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances, + BOOL is_sideways); + + HRESULT (STDMETHODCALLTYPE *GetGdiCompatibleGlyphAdvances)( + IDWriteFontFace4 *This, + FLOAT em_size, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + BOOL is_sideways, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *advances); + + HRESULT (STDMETHODCALLTYPE *GetKerningPairAdjustments)( + IDWriteFontFace4 *This, + UINT32 glyph_count, + const UINT16 *indices, + INT32 *adjustments); + + BOOL (STDMETHODCALLTYPE *HasKerningPairs)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace1_GetRecommendedRenderingMode)( + IDWriteFontFace4 *This, + FLOAT font_emsize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_RENDERING_MODE *rendering_mode); + + HRESULT (STDMETHODCALLTYPE *GetVerticalGlyphVariants)( + IDWriteFontFace4 *This, + UINT32 glyph_count, + const UINT16 *nominal_indices, + UINT16 *vertical_indices); + + BOOL (STDMETHODCALLTYPE *HasVerticalGlyphVariants)( + IDWriteFontFace4 *This); + + /*** IDWriteFontFace2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsColorFont)( + IDWriteFontFace4 *This); + + UINT32 (STDMETHODCALLTYPE *GetColorPaletteCount)( + IDWriteFontFace4 *This); + + UINT32 (STDMETHODCALLTYPE *GetPaletteEntryCount)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *GetPaletteEntries)( + IDWriteFontFace4 *This, + UINT32 palette_index, + UINT32 first_entry_index, + UINT32 entry_count, + DWRITE_COLOR_F *entries); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace2_GetRecommendedRenderingMode)( + IDWriteFontFace4 *This, + FLOAT fontEmSize, + FLOAT dpiX, + FLOAT dpiY, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuringmode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE *renderingmode, + DWRITE_GRID_FIT_MODE *gridfitmode); + + /*** IDWriteFontFace3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontFaceReference)( + IDWriteFontFace4 *This, + IDWriteFontFaceReference **reference); + + void (STDMETHODCALLTYPE *GetPanose)( + IDWriteFontFace4 *This, + DWRITE_PANOSE *panose); + + DWRITE_FONT_WEIGHT (STDMETHODCALLTYPE *GetWeight)( + IDWriteFontFace4 *This); + + DWRITE_FONT_STRETCH (STDMETHODCALLTYPE *GetStretch)( + IDWriteFontFace4 *This); + + DWRITE_FONT_STYLE (STDMETHODCALLTYPE *GetStyle)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *GetFamilyNames)( + IDWriteFontFace4 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetFaceNames)( + IDWriteFontFace4 *This, + IDWriteLocalizedStrings **names); + + HRESULT (STDMETHODCALLTYPE *GetInformationalStrings)( + IDWriteFontFace4 *This, + DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + + BOOL (STDMETHODCALLTYPE *HasCharacter)( + IDWriteFontFace4 *This, + UINT32 character); + + HRESULT (STDMETHODCALLTYPE *IDWriteFontFace3_GetRecommendedRenderingMode)( + IDWriteFontFace4 *This, + FLOAT emsize, + FLOAT dpi_x, + FLOAT dpi_y, + const DWRITE_MATRIX *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE1 *rendering_mode, + DWRITE_GRID_FIT_MODE *gridfit_mode); + + BOOL (STDMETHODCALLTYPE *IsCharacterLocal)( + IDWriteFontFace4 *This, + UINT32 character); + + BOOL (STDMETHODCALLTYPE *IsGlyphLocal)( + IDWriteFontFace4 *This, + UINT16 glyph); + + HRESULT (STDMETHODCALLTYPE *AreCharactersLocal)( + IDWriteFontFace4 *This, + const WCHAR *characters, + UINT32 count, + BOOL enqueue_if_not, + BOOL *are_local); + + HRESULT (STDMETHODCALLTYPE *AreGlyphsLocal)( + IDWriteFontFace4 *This, + const UINT16 *glyphs, + UINT32 count, + BOOL enqueue_if_not, + BOOL *are_local); + + /*** IDWriteFontFace4 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGlyphImageFormats_)( + IDWriteFontFace4 *This, + UINT16 glyph, + UINT32 ppem_first, + UINT32 ppem_last, + DWRITE_GLYPH_IMAGE_FORMATS *formats); + + DWRITE_GLYPH_IMAGE_FORMATS (STDMETHODCALLTYPE *GetGlyphImageFormats)( + IDWriteFontFace4 *This); + + HRESULT (STDMETHODCALLTYPE *GetGlyphImageData)( + IDWriteFontFace4 *This, + UINT16 glyph, + UINT32 ppem, + DWRITE_GLYPH_IMAGE_FORMATS format, + DWRITE_GLYPH_IMAGE_DATA *data, + void **context); + + void (STDMETHODCALLTYPE *ReleaseGlyphImageData)( + IDWriteFontFace4 *This, + void *context); + + END_INTERFACE +} IDWriteFontFace4Vtbl; + +interface IDWriteFontFace4 { + CONST_VTBL IDWriteFontFace4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFontFace4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFontFace4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFontFace4_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFace methods ***/ +#define IDWriteFontFace4_GetType(This) (This)->lpVtbl->GetType(This) +#define IDWriteFontFace4_GetFiles(This,number_of_files,fontfiles) (This)->lpVtbl->GetFiles(This,number_of_files,fontfiles) +#define IDWriteFontFace4_GetIndex(This) (This)->lpVtbl->GetIndex(This) +#define IDWriteFontFace4_GetSimulations(This) (This)->lpVtbl->GetSimulations(This) +#define IDWriteFontFace4_IsSymbolFont(This) (This)->lpVtbl->IsSymbolFont(This) +#define IDWriteFontFace4_GetGlyphCount(This) (This)->lpVtbl->GetGlyphCount(This) +#define IDWriteFontFace4_GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways) +#define IDWriteFontFace4_GetGlyphIndices(This,codepoints,count,glyph_indices) (This)->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices) +#define IDWriteFontFace4_TryGetFontTable(This,table_tag,table_data,table_size,context,exists) (This)->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists) +#define IDWriteFontFace4_ReleaseFontTable(This,table_context) (This)->lpVtbl->ReleaseFontTable(This,table_context) +#define IDWriteFontFace4_GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) (This)->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink) +#define IDWriteFontFace4_GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) (This)->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways) +/*** IDWriteFontFace1 methods ***/ +#define IDWriteFontFace4_GetMetrics(This,metrics) (This)->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics) +#define IDWriteFontFace4_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) (This)->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics) +#define IDWriteFontFace4_GetCaretMetrics(This,metrics) (This)->lpVtbl->GetCaretMetrics(This,metrics) +#define IDWriteFontFace4_GetUnicodeRanges(This,max_count,ranges,count) (This)->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count) +#define IDWriteFontFace4_IsMonospacedFont(This) (This)->lpVtbl->IsMonospacedFont(This) +#define IDWriteFontFace4_GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) (This)->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways) +#define IDWriteFontFace4_GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) (This)->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances) +#define IDWriteFontFace4_GetKerningPairAdjustments(This,glyph_count,indices,adjustments) (This)->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments) +#define IDWriteFontFace4_HasKerningPairs(This) (This)->lpVtbl->HasKerningPairs(This) +#define IDWriteFontFace4_GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) (This)->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices) +#define IDWriteFontFace4_HasVerticalGlyphVariants(This) (This)->lpVtbl->HasVerticalGlyphVariants(This) +/*** IDWriteFontFace2 methods ***/ +#define IDWriteFontFace4_IsColorFont(This) (This)->lpVtbl->IsColorFont(This) +#define IDWriteFontFace4_GetColorPaletteCount(This) (This)->lpVtbl->GetColorPaletteCount(This) +#define IDWriteFontFace4_GetPaletteEntryCount(This) (This)->lpVtbl->GetPaletteEntryCount(This) +#define IDWriteFontFace4_GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries) (This)->lpVtbl->GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries) +/*** IDWriteFontFace3 methods ***/ +#define IDWriteFontFace4_GetFontFaceReference(This,reference) (This)->lpVtbl->GetFontFaceReference(This,reference) +#define IDWriteFontFace4_GetPanose(This,panose) (This)->lpVtbl->GetPanose(This,panose) +#define IDWriteFontFace4_GetWeight(This) (This)->lpVtbl->GetWeight(This) +#define IDWriteFontFace4_GetStretch(This) (This)->lpVtbl->GetStretch(This) +#define IDWriteFontFace4_GetStyle(This) (This)->lpVtbl->GetStyle(This) +#define IDWriteFontFace4_GetFamilyNames(This,names) (This)->lpVtbl->GetFamilyNames(This,names) +#define IDWriteFontFace4_GetFaceNames(This,names) (This)->lpVtbl->GetFaceNames(This,names) +#define IDWriteFontFace4_GetInformationalStrings(This,stringid,strings,exists) (This)->lpVtbl->GetInformationalStrings(This,stringid,strings,exists) +#define IDWriteFontFace4_HasCharacter(This,character) (This)->lpVtbl->HasCharacter(This,character) +#define IDWriteFontFace4_GetRecommendedRenderingMode(This,emsize,dpi_x,dpi_y,transform,is_sideways,threshold,measuring_mode,params,rendering_mode,gridfit_mode) (This)->lpVtbl->IDWriteFontFace3_GetRecommendedRenderingMode(This,emsize,dpi_x,dpi_y,transform,is_sideways,threshold,measuring_mode,params,rendering_mode,gridfit_mode) +#define IDWriteFontFace4_IsCharacterLocal(This,character) (This)->lpVtbl->IsCharacterLocal(This,character) +#define IDWriteFontFace4_IsGlyphLocal(This,glyph) (This)->lpVtbl->IsGlyphLocal(This,glyph) +#define IDWriteFontFace4_AreCharactersLocal(This,characters,count,enqueue_if_not,are_local) (This)->lpVtbl->AreCharactersLocal(This,characters,count,enqueue_if_not,are_local) +#define IDWriteFontFace4_AreGlyphsLocal(This,glyphs,count,enqueue_if_not,are_local) (This)->lpVtbl->AreGlyphsLocal(This,glyphs,count,enqueue_if_not,are_local) +/*** IDWriteFontFace4 methods ***/ +#define IDWriteFontFace4_GetGlyphImageFormats_(This,glyph,ppem_first,ppem_last,formats) (This)->lpVtbl->GetGlyphImageFormats_(This,glyph,ppem_first,ppem_last,formats) +#define IDWriteFontFace4_GetGlyphImageFormats(This) (This)->lpVtbl->GetGlyphImageFormats(This) +#define IDWriteFontFace4_GetGlyphImageData(This,glyph,ppem,format,data,context) (This)->lpVtbl->GetGlyphImageData(This,glyph,ppem,format,data,context) +#define IDWriteFontFace4_ReleaseGlyphImageData(This,context) (This)->lpVtbl->ReleaseGlyphImageData(This,context) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace4_QueryInterface(IDWriteFontFace4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFontFace4_AddRef(IDWriteFontFace4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFontFace4_Release(IDWriteFontFace4* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFace methods ***/ +static FORCEINLINE DWRITE_FONT_FACE_TYPE IDWriteFontFace4_GetType(IDWriteFontFace4* This) { + return This->lpVtbl->GetType(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetFiles(IDWriteFontFace4* This,UINT32 *number_of_files,IDWriteFontFile **fontfiles) { + return This->lpVtbl->GetFiles(This,number_of_files,fontfiles); +} +static FORCEINLINE UINT32 IDWriteFontFace4_GetIndex(IDWriteFontFace4* This) { + return This->lpVtbl->GetIndex(This); +} +static FORCEINLINE DWRITE_FONT_SIMULATIONS IDWriteFontFace4_GetSimulations(IDWriteFontFace4* This) { + return This->lpVtbl->GetSimulations(This); +} +static FORCEINLINE BOOL IDWriteFontFace4_IsSymbolFont(IDWriteFontFace4* This) { + return This->lpVtbl->IsSymbolFont(This); +} +static FORCEINLINE UINT16 IDWriteFontFace4_GetGlyphCount(IDWriteFontFace4* This) { + return This->lpVtbl->GetGlyphCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetDesignGlyphMetrics(IDWriteFontFace4* This,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphMetrics(This,glyph_indices,glyph_count,metrics,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetGlyphIndices(IDWriteFontFace4* This,const UINT32 *codepoints,UINT32 count,UINT16 *glyph_indices) { + return This->lpVtbl->GetGlyphIndices(This,codepoints,count,glyph_indices); +} +static FORCEINLINE HRESULT IDWriteFontFace4_TryGetFontTable(IDWriteFontFace4* This,UINT32 table_tag,const void **table_data,UINT32 *table_size,void **context,BOOL *exists) { + return This->lpVtbl->TryGetFontTable(This,table_tag,table_data,table_size,context,exists); +} +static FORCEINLINE void IDWriteFontFace4_ReleaseFontTable(IDWriteFontFace4* This,void *table_context) { + This->lpVtbl->ReleaseFontTable(This,table_context); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetGlyphRunOutline(IDWriteFontFace4* This,FLOAT emSize,const UINT16 *glyph_indices,const FLOAT *glyph_advances,const DWRITE_GLYPH_OFFSET *glyph_offsets,UINT32 glyph_count,BOOL is_sideways,BOOL is_rtl,IDWriteGeometrySink *geometrysink) { + return This->lpVtbl->GetGlyphRunOutline(This,emSize,glyph_indices,glyph_advances,glyph_offsets,glyph_count,is_sideways,is_rtl,geometrysink); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetGdiCompatibleGlyphMetrics(IDWriteFontFace4* This,FLOAT emSize,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,const UINT16 *glyph_indices,UINT32 glyph_count,DWRITE_GLYPH_METRICS *metrics,BOOL is_sideways) { + return This->lpVtbl->GetGdiCompatibleGlyphMetrics(This,emSize,pixels_per_dip,transform,use_gdi_natural,glyph_indices,glyph_count,metrics,is_sideways); +} +/*** IDWriteFontFace1 methods ***/ +static FORCEINLINE void IDWriteFontFace4_GetMetrics(IDWriteFontFace4* This,DWRITE_FONT_METRICS1 *metrics) { + This->lpVtbl->IDWriteFontFace1_GetMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetGdiCompatibleMetrics(IDWriteFontFace4* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,DWRITE_FONT_METRICS1 *metrics) { + return This->lpVtbl->IDWriteFontFace1_GetGdiCompatibleMetrics(This,em_size,pixels_per_dip,transform,metrics); +} +static FORCEINLINE void IDWriteFontFace4_GetCaretMetrics(IDWriteFontFace4* This,DWRITE_CARET_METRICS *metrics) { + This->lpVtbl->GetCaretMetrics(This,metrics); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetUnicodeRanges(IDWriteFontFace4* This,UINT32 max_count,DWRITE_UNICODE_RANGE *ranges,UINT32 *count) { + return This->lpVtbl->GetUnicodeRanges(This,max_count,ranges,count); +} +static FORCEINLINE BOOL IDWriteFontFace4_IsMonospacedFont(IDWriteFontFace4* This) { + return This->lpVtbl->IsMonospacedFont(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetDesignGlyphAdvances(IDWriteFontFace4* This,UINT32 glyph_count,const UINT16 *indices,INT32 *advances,BOOL is_sideways) { + return This->lpVtbl->GetDesignGlyphAdvances(This,glyph_count,indices,advances,is_sideways); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetGdiCompatibleGlyphAdvances(IDWriteFontFace4* This,FLOAT em_size,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,BOOL is_sideways,UINT32 glyph_count,const UINT16 *indices,INT32 *advances) { + return This->lpVtbl->GetGdiCompatibleGlyphAdvances(This,em_size,pixels_per_dip,transform,use_gdi_natural,is_sideways,glyph_count,indices,advances); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetKerningPairAdjustments(IDWriteFontFace4* This,UINT32 glyph_count,const UINT16 *indices,INT32 *adjustments) { + return This->lpVtbl->GetKerningPairAdjustments(This,glyph_count,indices,adjustments); +} +static FORCEINLINE BOOL IDWriteFontFace4_HasKerningPairs(IDWriteFontFace4* This) { + return This->lpVtbl->HasKerningPairs(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetVerticalGlyphVariants(IDWriteFontFace4* This,UINT32 glyph_count,const UINT16 *nominal_indices,UINT16 *vertical_indices) { + return This->lpVtbl->GetVerticalGlyphVariants(This,glyph_count,nominal_indices,vertical_indices); +} +static FORCEINLINE BOOL IDWriteFontFace4_HasVerticalGlyphVariants(IDWriteFontFace4* This) { + return This->lpVtbl->HasVerticalGlyphVariants(This); +} +/*** IDWriteFontFace2 methods ***/ +static FORCEINLINE BOOL IDWriteFontFace4_IsColorFont(IDWriteFontFace4* This) { + return This->lpVtbl->IsColorFont(This); +} +static FORCEINLINE UINT32 IDWriteFontFace4_GetColorPaletteCount(IDWriteFontFace4* This) { + return This->lpVtbl->GetColorPaletteCount(This); +} +static FORCEINLINE UINT32 IDWriteFontFace4_GetPaletteEntryCount(IDWriteFontFace4* This) { + return This->lpVtbl->GetPaletteEntryCount(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetPaletteEntries(IDWriteFontFace4* This,UINT32 palette_index,UINT32 first_entry_index,UINT32 entry_count,DWRITE_COLOR_F *entries) { + return This->lpVtbl->GetPaletteEntries(This,palette_index,first_entry_index,entry_count,entries); +} +/*** IDWriteFontFace3 methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace4_GetFontFaceReference(IDWriteFontFace4* This,IDWriteFontFaceReference **reference) { + return This->lpVtbl->GetFontFaceReference(This,reference); +} +static FORCEINLINE void IDWriteFontFace4_GetPanose(IDWriteFontFace4* This,DWRITE_PANOSE *panose) { + This->lpVtbl->GetPanose(This,panose); +} +static FORCEINLINE DWRITE_FONT_WEIGHT IDWriteFontFace4_GetWeight(IDWriteFontFace4* This) { + return This->lpVtbl->GetWeight(This); +} +static FORCEINLINE DWRITE_FONT_STRETCH IDWriteFontFace4_GetStretch(IDWriteFontFace4* This) { + return This->lpVtbl->GetStretch(This); +} +static FORCEINLINE DWRITE_FONT_STYLE IDWriteFontFace4_GetStyle(IDWriteFontFace4* This) { + return This->lpVtbl->GetStyle(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetFamilyNames(IDWriteFontFace4* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFamilyNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetFaceNames(IDWriteFontFace4* This,IDWriteLocalizedStrings **names) { + return This->lpVtbl->GetFaceNames(This,names); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetInformationalStrings(IDWriteFontFace4* This,DWRITE_INFORMATIONAL_STRING_ID stringid,IDWriteLocalizedStrings **strings,BOOL *exists) { + return This->lpVtbl->GetInformationalStrings(This,stringid,strings,exists); +} +static FORCEINLINE BOOL IDWriteFontFace4_HasCharacter(IDWriteFontFace4* This,UINT32 character) { + return This->lpVtbl->HasCharacter(This,character); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetRecommendedRenderingMode(IDWriteFontFace4* This,FLOAT emsize,FLOAT dpi_x,FLOAT dpi_y,const DWRITE_MATRIX *transform,BOOL is_sideways,DWRITE_OUTLINE_THRESHOLD threshold,DWRITE_MEASURING_MODE measuring_mode,IDWriteRenderingParams *params,DWRITE_RENDERING_MODE1 *rendering_mode,DWRITE_GRID_FIT_MODE *gridfit_mode) { + return This->lpVtbl->IDWriteFontFace3_GetRecommendedRenderingMode(This,emsize,dpi_x,dpi_y,transform,is_sideways,threshold,measuring_mode,params,rendering_mode,gridfit_mode); +} +static FORCEINLINE BOOL IDWriteFontFace4_IsCharacterLocal(IDWriteFontFace4* This,UINT32 character) { + return This->lpVtbl->IsCharacterLocal(This,character); +} +static FORCEINLINE BOOL IDWriteFontFace4_IsGlyphLocal(IDWriteFontFace4* This,UINT16 glyph) { + return This->lpVtbl->IsGlyphLocal(This,glyph); +} +static FORCEINLINE HRESULT IDWriteFontFace4_AreCharactersLocal(IDWriteFontFace4* This,const WCHAR *characters,UINT32 count,BOOL enqueue_if_not,BOOL *are_local) { + return This->lpVtbl->AreCharactersLocal(This,characters,count,enqueue_if_not,are_local); +} +static FORCEINLINE HRESULT IDWriteFontFace4_AreGlyphsLocal(IDWriteFontFace4* This,const UINT16 *glyphs,UINT32 count,BOOL enqueue_if_not,BOOL *are_local) { + return This->lpVtbl->AreGlyphsLocal(This,glyphs,count,enqueue_if_not,are_local); +} +/*** IDWriteFontFace4 methods ***/ +static FORCEINLINE HRESULT IDWriteFontFace4_GetGlyphImageFormats_(IDWriteFontFace4* This,UINT16 glyph,UINT32 ppem_first,UINT32 ppem_last,DWRITE_GLYPH_IMAGE_FORMATS *formats) { + return This->lpVtbl->GetGlyphImageFormats_(This,glyph,ppem_first,ppem_last,formats); +} +static FORCEINLINE DWRITE_GLYPH_IMAGE_FORMATS IDWriteFontFace4_GetGlyphImageFormats(IDWriteFontFace4* This) { + return This->lpVtbl->GetGlyphImageFormats(This); +} +static FORCEINLINE HRESULT IDWriteFontFace4_GetGlyphImageData(IDWriteFontFace4* This,UINT16 glyph,UINT32 ppem,DWRITE_GLYPH_IMAGE_FORMATS format,DWRITE_GLYPH_IMAGE_DATA *data,void **context) { + return This->lpVtbl->GetGlyphImageData(This,glyph,ppem,format,data,context); +} +static FORCEINLINE void IDWriteFontFace4_ReleaseGlyphImageData(IDWriteFontFace4* This,void *context) { + This->lpVtbl->ReleaseGlyphImageData(This,context); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFontFace4_INTERFACE_DEFINED__ */ + +typedef struct DWRITE_COLOR_GLYPH_RUN1 { + DWRITE_GLYPH_RUN glyphRun; + DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription; + FLOAT baselineOriginX; + FLOAT baselineOriginY; + DWRITE_COLOR_F runColor; + UINT16 paletteIndex; + DWRITE_GLYPH_IMAGE_FORMATS glyphImageFormat; + DWRITE_MEASURING_MODE measuringMode; +} DWRITE_COLOR_GLYPH_RUN1; +/***************************************************************************** + * IDWriteColorGlyphRunEnumerator1 interface + */ +#ifndef __IDWriteColorGlyphRunEnumerator1_INTERFACE_DEFINED__ +#define __IDWriteColorGlyphRunEnumerator1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteColorGlyphRunEnumerator1, 0x7c5f86da, 0xc7a1, 0x4f05, 0xb8,0xe1, 0x55,0xa1,0x79,0xfe,0x5a,0x35); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7c5f86da-c7a1-4f05-b8e1-55a179fe5a35") +IDWriteColorGlyphRunEnumerator1 : public IDWriteColorGlyphRunEnumerator +{ + virtual HRESULT STDMETHODCALLTYPE GetCurrentRun( + const DWRITE_COLOR_GLYPH_RUN1 **run) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteColorGlyphRunEnumerator1, 0x7c5f86da, 0xc7a1, 0x4f05, 0xb8,0xe1, 0x55,0xa1,0x79,0xfe,0x5a,0x35) +#endif +#else +typedef struct IDWriteColorGlyphRunEnumerator1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteColorGlyphRunEnumerator1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteColorGlyphRunEnumerator1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteColorGlyphRunEnumerator1 *This); + + /*** IDWriteColorGlyphRunEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *MoveNext)( + IDWriteColorGlyphRunEnumerator1 *This, + BOOL *hasRun); + + HRESULT (STDMETHODCALLTYPE *GetCurrentRun)( + IDWriteColorGlyphRunEnumerator1 *This, + const DWRITE_COLOR_GLYPH_RUN **run); + + /*** IDWriteColorGlyphRunEnumerator1 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteColorGlyphRunEnumerator1_GetCurrentRun)( + IDWriteColorGlyphRunEnumerator1 *This, + const DWRITE_COLOR_GLYPH_RUN1 **run); + + END_INTERFACE +} IDWriteColorGlyphRunEnumerator1Vtbl; + +interface IDWriteColorGlyphRunEnumerator1 { + CONST_VTBL IDWriteColorGlyphRunEnumerator1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteColorGlyphRunEnumerator1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteColorGlyphRunEnumerator1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteColorGlyphRunEnumerator1_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteColorGlyphRunEnumerator methods ***/ +#define IDWriteColorGlyphRunEnumerator1_MoveNext(This,hasRun) (This)->lpVtbl->MoveNext(This,hasRun) +/*** IDWriteColorGlyphRunEnumerator1 methods ***/ +#define IDWriteColorGlyphRunEnumerator1_GetCurrentRun(This,run) (This)->lpVtbl->IDWriteColorGlyphRunEnumerator1_GetCurrentRun(This,run) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteColorGlyphRunEnumerator1_QueryInterface(IDWriteColorGlyphRunEnumerator1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteColorGlyphRunEnumerator1_AddRef(IDWriteColorGlyphRunEnumerator1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteColorGlyphRunEnumerator1_Release(IDWriteColorGlyphRunEnumerator1* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteColorGlyphRunEnumerator methods ***/ +static FORCEINLINE HRESULT IDWriteColorGlyphRunEnumerator1_MoveNext(IDWriteColorGlyphRunEnumerator1* This,BOOL *hasRun) { + return This->lpVtbl->MoveNext(This,hasRun); +} +/*** IDWriteColorGlyphRunEnumerator1 methods ***/ +static FORCEINLINE HRESULT IDWriteColorGlyphRunEnumerator1_GetCurrentRun(IDWriteColorGlyphRunEnumerator1* This,const DWRITE_COLOR_GLYPH_RUN1 **run) { + return This->lpVtbl->IDWriteColorGlyphRunEnumerator1_GetCurrentRun(This,run); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteColorGlyphRunEnumerator1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFactory4 interface + */ +#ifndef __IDWriteFactory4_INTERFACE_DEFINED__ +#define __IDWriteFactory4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFactory4, 0x4b0b5bd3, 0x0797, 0x4549, 0x8a,0xc5, 0xfe,0x91,0x5c,0xc5,0x38,0x56); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4b0b5bd3-0797-4549-8ac5-fe915cc53856") +IDWriteFactory4 : public IDWriteFactory3 +{ + virtual HRESULT STDMETHODCALLTYPE TranslateColorGlyphRun( + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *run_desc, + DWRITE_GLYPH_IMAGE_FORMATS desired_formats, + DWRITE_MEASURING_MODE measuring_mode, + const DWRITE_MATRIX *transform, + UINT32 palette, + IDWriteColorGlyphRunEnumerator1 **layers) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComputeGlyphOrigins_( + const DWRITE_GLYPH_RUN *run, + D2D1_POINT_2F baseline_origin, + D2D1_POINT_2F *origins) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComputeGlyphOrigins( + const DWRITE_GLYPH_RUN *run, + DWRITE_MEASURING_MODE measuring_mode, + D2D1_POINT_2F baseline_origin, + const DWRITE_MATRIX *transform, + D2D1_POINT_2F *origins) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFactory4, 0x4b0b5bd3, 0x0797, 0x4549, 0x8a,0xc5, 0xfe,0x91,0x5c,0xc5,0x38,0x56) +#endif +#else +typedef struct IDWriteFactory4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFactory4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFactory4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFactory4 *This); + + /*** IDWriteFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontCollection)( + IDWriteFactory4 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontCollection)( + IDWriteFactory4 *This, + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT (STDMETHODCALLTYPE *RegisterFontCollectionLoader)( + IDWriteFactory4 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontCollectionLoader)( + IDWriteFactory4 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReference)( + IDWriteFactory4 *This, + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontFileReference)( + IDWriteFactory4 *This, + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFactory4 *This, + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT (STDMETHODCALLTYPE *CreateRenderingParams)( + IDWriteFactory4 *This, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateMonitorRenderingParams)( + IDWriteFactory4 *This, + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateCustomRenderingParams)( + IDWriteFactory4 *This, + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *RegisterFontFileLoader)( + IDWriteFactory4 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontFileLoader)( + IDWriteFactory4 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateTextFormat)( + IDWriteFactory4 *This, + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format); + + HRESULT (STDMETHODCALLTYPE *CreateTypography)( + IDWriteFactory4 *This, + IDWriteTypography **typography); + + HRESULT (STDMETHODCALLTYPE *GetGdiInterop)( + IDWriteFactory4 *This, + IDWriteGdiInterop **gdi_interop); + + HRESULT (STDMETHODCALLTYPE *CreateTextLayout)( + IDWriteFactory4 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateGdiCompatibleTextLayout)( + IDWriteFactory4 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateEllipsisTrimmingSign)( + IDWriteFactory4 *This, + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *CreateTextAnalyzer)( + IDWriteFactory4 *This, + IDWriteTextAnalyzer **analyzer); + + HRESULT (STDMETHODCALLTYPE *CreateNumberSubstitution)( + IDWriteFactory4 *This, + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT (STDMETHODCALLTYPE *CreateGlyphRunAnalysis)( + IDWriteFactory4 *This, + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEudcFontCollection)( + IDWriteFactory4 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory1_CreateCustomRenderingParams)( + IDWriteFactory4 *This, + FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1 **params); + + /*** IDWriteFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontFallback)( + IDWriteFactory4 *This, + IDWriteFontFallback **fallback); + + HRESULT (STDMETHODCALLTYPE *CreateFontFallbackBuilder)( + IDWriteFactory4 *This, + IDWriteFontFallbackBuilder **fallbackbuilder); + + HRESULT (STDMETHODCALLTYPE *TranslateColorGlyphRun)( + IDWriteFactory4 *This, + FLOAT originX, + FLOAT originY, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + DWRITE_MEASURING_MODE mode, + const DWRITE_MATRIX *transform, + UINT32 palette_index, + IDWriteColorGlyphRunEnumerator **colorlayers); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateCustomRenderingParams)( + IDWriteFactory4 *This, + FLOAT gamma, + FLOAT contrast, + FLOAT grayscalecontrast, + FLOAT cleartypeLevel, + DWRITE_PIXEL_GEOMETRY pixelGeometry, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_GRID_FIT_MODE gridFitMode, + IDWriteRenderingParams2 **params); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateGlyphRunAnalysis)( + IDWriteFactory4 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_MEASURING_MODE measuringMode, + DWRITE_GRID_FIT_MODE gridFitMode, + DWRITE_TEXT_ANTIALIAS_MODE antialiasMode, + FLOAT originX, + FLOAT originY, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory3 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_CreateGlyphRunAnalysis)( + IDWriteFactory4 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + DWRITE_TEXT_ANTIALIAS_MODE antialias_mode, + FLOAT origin_x, + FLOAT origin_y, + IDWriteGlyphRunAnalysis **analysis); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_CreateCustomRenderingParams)( + IDWriteFactory4 *This, + FLOAT gamma, + FLOAT enhanced_contrast, + FLOAT grayscale_enhanced_contrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY pixel_geometry, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + IDWriteRenderingParams3 **params); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceReference_)( + IDWriteFactory4 *This, + IDWriteFontFile *file, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceReference)( + IDWriteFactory4 *This, + const WCHAR *path, + const FILETIME *writetime, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *GetSystemFontSet)( + IDWriteFactory4 *This, + IDWriteFontSet **fontset); + + HRESULT (STDMETHODCALLTYPE *CreateFontSetBuilder)( + IDWriteFactory4 *This, + IDWriteFontSetBuilder **builder); + + HRESULT (STDMETHODCALLTYPE *CreateFontCollectionFromFontSet)( + IDWriteFactory4 *This, + IDWriteFontSet *fontset, + IDWriteFontCollection1 **collection); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_GetSystemFontCollection)( + IDWriteFactory4 *This, + BOOL include_downloadable, + IDWriteFontCollection1 **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *GetFontDownloadQueue)( + IDWriteFactory4 *This, + IDWriteFontDownloadQueue **queue); + + /*** IDWriteFactory4 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFactory4_TranslateColorGlyphRun)( + IDWriteFactory4 *This, + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *run_desc, + DWRITE_GLYPH_IMAGE_FORMATS desired_formats, + DWRITE_MEASURING_MODE measuring_mode, + const DWRITE_MATRIX *transform, + UINT32 palette, + IDWriteColorGlyphRunEnumerator1 **layers); + + HRESULT (STDMETHODCALLTYPE *ComputeGlyphOrigins_)( + IDWriteFactory4 *This, + const DWRITE_GLYPH_RUN *run, + D2D1_POINT_2F baseline_origin, + D2D1_POINT_2F *origins); + + HRESULT (STDMETHODCALLTYPE *ComputeGlyphOrigins)( + IDWriteFactory4 *This, + const DWRITE_GLYPH_RUN *run, + DWRITE_MEASURING_MODE measuring_mode, + D2D1_POINT_2F baseline_origin, + const DWRITE_MATRIX *transform, + D2D1_POINT_2F *origins); + + END_INTERFACE +} IDWriteFactory4Vtbl; + +interface IDWriteFactory4 { + CONST_VTBL IDWriteFactory4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFactory4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFactory4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFactory4_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFactory methods ***/ +#define IDWriteFactory4_CreateCustomFontCollection(This,loader,key,key_size,collection) (This)->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection) +#define IDWriteFactory4_RegisterFontCollectionLoader(This,loader) (This)->lpVtbl->RegisterFontCollectionLoader(This,loader) +#define IDWriteFactory4_UnregisterFontCollectionLoader(This,loader) (This)->lpVtbl->UnregisterFontCollectionLoader(This,loader) +#define IDWriteFactory4_CreateFontFileReference(This,path,writetime,font_file) (This)->lpVtbl->CreateFontFileReference(This,path,writetime,font_file) +#define IDWriteFactory4_CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) (This)->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) +#define IDWriteFactory4_CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) (This)->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) +#define IDWriteFactory4_CreateRenderingParams(This,params) (This)->lpVtbl->CreateRenderingParams(This,params) +#define IDWriteFactory4_CreateMonitorRenderingParams(This,monitor,params) (This)->lpVtbl->CreateMonitorRenderingParams(This,monitor,params) +#define IDWriteFactory4_RegisterFontFileLoader(This,loader) (This)->lpVtbl->RegisterFontFileLoader(This,loader) +#define IDWriteFactory4_UnregisterFontFileLoader(This,loader) (This)->lpVtbl->UnregisterFontFileLoader(This,loader) +#define IDWriteFactory4_CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) (This)->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) +#define IDWriteFactory4_CreateTypography(This,typography) (This)->lpVtbl->CreateTypography(This,typography) +#define IDWriteFactory4_GetGdiInterop(This,gdi_interop) (This)->lpVtbl->GetGdiInterop(This,gdi_interop) +#define IDWriteFactory4_CreateTextLayout(This,string,len,format,max_width,max_height,layout) (This)->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout) +#define IDWriteFactory4_CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) (This)->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) +#define IDWriteFactory4_CreateEllipsisTrimmingSign(This,format,trimming_sign) (This)->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign) +#define IDWriteFactory4_CreateTextAnalyzer(This,analyzer) (This)->lpVtbl->CreateTextAnalyzer(This,analyzer) +#define IDWriteFactory4_CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) (This)->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) +/*** IDWriteFactory1 methods ***/ +#define IDWriteFactory4_GetEudcFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates) +/*** IDWriteFactory2 methods ***/ +#define IDWriteFactory4_GetSystemFontFallback(This,fallback) (This)->lpVtbl->GetSystemFontFallback(This,fallback) +#define IDWriteFactory4_CreateFontFallbackBuilder(This,fallbackbuilder) (This)->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder) +/*** IDWriteFactory3 methods ***/ +#define IDWriteFactory4_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis) (This)->lpVtbl->IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis) +#define IDWriteFactory4_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params) (This)->lpVtbl->IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params) +#define IDWriteFactory4_CreateFontFaceReference_(This,file,index,simulations,reference) (This)->lpVtbl->CreateFontFaceReference_(This,file,index,simulations,reference) +#define IDWriteFactory4_CreateFontFaceReference(This,path,writetime,index,simulations,reference) (This)->lpVtbl->CreateFontFaceReference(This,path,writetime,index,simulations,reference) +#define IDWriteFactory4_GetSystemFontSet(This,fontset) (This)->lpVtbl->GetSystemFontSet(This,fontset) +#define IDWriteFactory4_CreateFontSetBuilder(This,builder) (This)->lpVtbl->CreateFontSetBuilder(This,builder) +#define IDWriteFactory4_CreateFontCollectionFromFontSet(This,fontset,collection) (This)->lpVtbl->CreateFontCollectionFromFontSet(This,fontset,collection) +#define IDWriteFactory4_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates) (This)->lpVtbl->IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates) +#define IDWriteFactory4_GetFontDownloadQueue(This,queue) (This)->lpVtbl->GetFontDownloadQueue(This,queue) +/*** IDWriteFactory4 methods ***/ +#define IDWriteFactory4_TranslateColorGlyphRun(This,baseline_origin,run,run_desc,desired_formats,measuring_mode,transform,palette,layers) (This)->lpVtbl->IDWriteFactory4_TranslateColorGlyphRun(This,baseline_origin,run,run_desc,desired_formats,measuring_mode,transform,palette,layers) +#define IDWriteFactory4_ComputeGlyphOrigins_(This,run,baseline_origin,origins) (This)->lpVtbl->ComputeGlyphOrigins_(This,run,baseline_origin,origins) +#define IDWriteFactory4_ComputeGlyphOrigins(This,run,measuring_mode,baseline_origin,transform,origins) (This)->lpVtbl->ComputeGlyphOrigins(This,run,measuring_mode,baseline_origin,transform,origins) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFactory4_QueryInterface(IDWriteFactory4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFactory4_AddRef(IDWriteFactory4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFactory4_Release(IDWriteFactory4* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFactory methods ***/ +static FORCEINLINE HRESULT IDWriteFactory4_CreateCustomFontCollection(IDWriteFactory4* This,IDWriteFontCollectionLoader *loader,const void *key,UINT32 key_size,IDWriteFontCollection **collection) { + return This->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection); +} +static FORCEINLINE HRESULT IDWriteFactory4_RegisterFontCollectionLoader(IDWriteFactory4* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->RegisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory4_UnregisterFontCollectionLoader(IDWriteFactory4* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->UnregisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontFileReference(IDWriteFactory4* This,const WCHAR *path,const FILETIME *writetime,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateFontFileReference(This,path,writetime,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateCustomFontFileReference(IDWriteFactory4* This,const void *reference_key,UINT32 key_size,IDWriteFontFileLoader *loader,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontFace(IDWriteFactory4* This,DWRITE_FONT_FACE_TYPE facetype,UINT32 files_number,IDWriteFontFile *const *font_files,UINT32 index,DWRITE_FONT_SIMULATIONS sim_flags,IDWriteFontFace **font_face) { + return This->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateRenderingParams(IDWriteFactory4* This,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateRenderingParams(This,params); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateMonitorRenderingParams(IDWriteFactory4* This,HMONITOR monitor,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateMonitorRenderingParams(This,monitor,params); +} +static FORCEINLINE HRESULT IDWriteFactory4_RegisterFontFileLoader(IDWriteFactory4* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->RegisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory4_UnregisterFontFileLoader(IDWriteFactory4* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->UnregisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateTextFormat(IDWriteFactory4* This,const WCHAR *family_name,IDWriteFontCollection *collection,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STYLE style,DWRITE_FONT_STRETCH stretch,FLOAT size,const WCHAR *locale,IDWriteTextFormat **format) { + return This->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateTypography(IDWriteFactory4* This,IDWriteTypography **typography) { + return This->lpVtbl->CreateTypography(This,typography); +} +static FORCEINLINE HRESULT IDWriteFactory4_GetGdiInterop(IDWriteFactory4* This,IDWriteGdiInterop **gdi_interop) { + return This->lpVtbl->GetGdiInterop(This,gdi_interop); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateTextLayout(IDWriteFactory4* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT max_width,FLOAT max_height,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateGdiCompatibleTextLayout(IDWriteFactory4* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT layout_width,FLOAT layout_height,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateEllipsisTrimmingSign(IDWriteFactory4* This,IDWriteTextFormat *format,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateTextAnalyzer(IDWriteFactory4* This,IDWriteTextAnalyzer **analyzer) { + return This->lpVtbl->CreateTextAnalyzer(This,analyzer); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateNumberSubstitution(IDWriteFactory4* This,DWRITE_NUMBER_SUBSTITUTION_METHOD method,const WCHAR *locale,BOOL ignore_user_override,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution); +} +/*** IDWriteFactory1 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory4_GetEudcFontCollection(IDWriteFactory4* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates); +} +/*** IDWriteFactory2 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory4_GetSystemFontFallback(IDWriteFactory4* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetSystemFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontFallbackBuilder(IDWriteFactory4* This,IDWriteFontFallbackBuilder **fallbackbuilder) { + return This->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder); +} +/*** IDWriteFactory3 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory4_CreateGlyphRunAnalysis(IDWriteFactory4* This,const DWRITE_GLYPH_RUN *run,const DWRITE_MATRIX *transform,DWRITE_RENDERING_MODE1 rendering_mode,DWRITE_MEASURING_MODE measuring_mode,DWRITE_GRID_FIT_MODE gridfit_mode,DWRITE_TEXT_ANTIALIAS_MODE antialias_mode,FLOAT origin_x,FLOAT origin_y,IDWriteGlyphRunAnalysis **analysis) { + return This->lpVtbl->IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateCustomRenderingParams(IDWriteFactory4* This,FLOAT gamma,FLOAT enhanced_contrast,FLOAT grayscale_enhanced_contrast,FLOAT cleartype_level,DWRITE_PIXEL_GEOMETRY pixel_geometry,DWRITE_RENDERING_MODE1 rendering_mode,DWRITE_GRID_FIT_MODE gridfit_mode,IDWriteRenderingParams3 **params) { + return This->lpVtbl->IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontFaceReference_(IDWriteFactory4* This,IDWriteFontFile *file,UINT32 index,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFaceReference **reference) { + return This->lpVtbl->CreateFontFaceReference_(This,file,index,simulations,reference); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontFaceReference(IDWriteFactory4* This,const WCHAR *path,const FILETIME *writetime,UINT32 index,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFaceReference **reference) { + return This->lpVtbl->CreateFontFaceReference(This,path,writetime,index,simulations,reference); +} +static FORCEINLINE HRESULT IDWriteFactory4_GetSystemFontSet(IDWriteFactory4* This,IDWriteFontSet **fontset) { + return This->lpVtbl->GetSystemFontSet(This,fontset); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontSetBuilder(IDWriteFactory4* This,IDWriteFontSetBuilder **builder) { + return This->lpVtbl->CreateFontSetBuilder(This,builder); +} +static FORCEINLINE HRESULT IDWriteFactory4_CreateFontCollectionFromFontSet(IDWriteFactory4* This,IDWriteFontSet *fontset,IDWriteFontCollection1 **collection) { + return This->lpVtbl->CreateFontCollectionFromFontSet(This,fontset,collection); +} +static FORCEINLINE HRESULT IDWriteFactory4_GetSystemFontCollection(IDWriteFactory4* This,BOOL include_downloadable,IDWriteFontCollection1 **collection,BOOL check_for_updates) { + return This->lpVtbl->IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory4_GetFontDownloadQueue(IDWriteFactory4* This,IDWriteFontDownloadQueue **queue) { + return This->lpVtbl->GetFontDownloadQueue(This,queue); +} +/*** IDWriteFactory4 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory4_TranslateColorGlyphRun(IDWriteFactory4* This,D2D1_POINT_2F baseline_origin,const DWRITE_GLYPH_RUN *run,const DWRITE_GLYPH_RUN_DESCRIPTION *run_desc,DWRITE_GLYPH_IMAGE_FORMATS desired_formats,DWRITE_MEASURING_MODE measuring_mode,const DWRITE_MATRIX *transform,UINT32 palette,IDWriteColorGlyphRunEnumerator1 **layers) { + return This->lpVtbl->IDWriteFactory4_TranslateColorGlyphRun(This,baseline_origin,run,run_desc,desired_formats,measuring_mode,transform,palette,layers); +} +static FORCEINLINE HRESULT IDWriteFactory4_ComputeGlyphOrigins_(IDWriteFactory4* This,const DWRITE_GLYPH_RUN *run,D2D1_POINT_2F baseline_origin,D2D1_POINT_2F *origins) { + return This->lpVtbl->ComputeGlyphOrigins_(This,run,baseline_origin,origins); +} +static FORCEINLINE HRESULT IDWriteFactory4_ComputeGlyphOrigins(IDWriteFactory4* This,const DWRITE_GLYPH_RUN *run,DWRITE_MEASURING_MODE measuring_mode,D2D1_POINT_2F baseline_origin,const DWRITE_MATRIX *transform,D2D1_POINT_2F *origins) { + return This->lpVtbl->ComputeGlyphOrigins(This,run,measuring_mode,baseline_origin,transform,origins); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFactory4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteAsyncResult interface + */ +#ifndef __IDWriteAsyncResult_INTERFACE_DEFINED__ +#define __IDWriteAsyncResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteAsyncResult, 0xce25f8fd, 0x863b, 0x4d13, 0x96,0x51, 0xc1,0xf8,0x8d,0xc7,0x3f,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ce25f8fd-863b-4d13-9651-c1f88dc73fe2") +IDWriteAsyncResult : public IUnknown +{ + virtual HANDLE STDMETHODCALLTYPE GetWaitHandle( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetResult( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteAsyncResult, 0xce25f8fd, 0x863b, 0x4d13, 0x96,0x51, 0xc1,0xf8,0x8d,0xc7,0x3f,0xe2) +#endif +#else +typedef struct IDWriteAsyncResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteAsyncResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteAsyncResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteAsyncResult *This); + + /*** IDWriteAsyncResult methods ***/ + HANDLE (STDMETHODCALLTYPE *GetWaitHandle)( + IDWriteAsyncResult *This); + + HRESULT (STDMETHODCALLTYPE *GetResult)( + IDWriteAsyncResult *This); + + END_INTERFACE +} IDWriteAsyncResultVtbl; + +interface IDWriteAsyncResult { + CONST_VTBL IDWriteAsyncResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteAsyncResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteAsyncResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteAsyncResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteAsyncResult methods ***/ +#define IDWriteAsyncResult_GetWaitHandle(This) (This)->lpVtbl->GetWaitHandle(This) +#define IDWriteAsyncResult_GetResult(This) (This)->lpVtbl->GetResult(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteAsyncResult_QueryInterface(IDWriteAsyncResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteAsyncResult_AddRef(IDWriteAsyncResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteAsyncResult_Release(IDWriteAsyncResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteAsyncResult methods ***/ +static FORCEINLINE HANDLE IDWriteAsyncResult_GetWaitHandle(IDWriteAsyncResult* This) { + return This->lpVtbl->GetWaitHandle(This); +} +static FORCEINLINE HRESULT IDWriteAsyncResult_GetResult(IDWriteAsyncResult* This) { + return This->lpVtbl->GetResult(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteAsyncResult_INTERFACE_DEFINED__ */ + +typedef struct DWRITE_FILE_FRAGMENT { + UINT64 fileOffset; + UINT64 fragmentSize; +} DWRITE_FILE_FRAGMENT; +/***************************************************************************** + * IDWriteRemoteFontFileStream interface + */ +#ifndef __IDWriteRemoteFontFileStream_INTERFACE_DEFINED__ +#define __IDWriteRemoteFontFileStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteRemoteFontFileStream, 0x4db3757a, 0x2c72, 0x4ed9, 0xb2,0xb6, 0x1a,0xba,0xbe,0x1a,0xff,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4db3757a-2c72-4ed9-b2b6-1ababe1aff9c") +IDWriteRemoteFontFileStream : public IDWriteFontFileStream +{ + virtual HRESULT STDMETHODCALLTYPE GetLocalFileSize( + UINT64 *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileFragmentLocality( + UINT64 offset, + UINT64 size, + BOOL *is_local, + UINT64 *partial_size) = 0; + + virtual DWRITE_LOCALITY STDMETHODCALLTYPE GetLocality( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginDownload( + const GUID *operation_id, + const DWRITE_FILE_FRAGMENT *fragments, + UINT32 fragment_count, + IDWriteAsyncResult **async_result) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteRemoteFontFileStream, 0x4db3757a, 0x2c72, 0x4ed9, 0xb2,0xb6, 0x1a,0xba,0xbe,0x1a,0xff,0x9c) +#endif +#else +typedef struct IDWriteRemoteFontFileStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteRemoteFontFileStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteRemoteFontFileStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteRemoteFontFileStream *This); + + /*** IDWriteFontFileStream methods ***/ + HRESULT (STDMETHODCALLTYPE *ReadFileFragment)( + IDWriteRemoteFontFileStream *This, + const void **fragment_start, + UINT64 offset, + UINT64 fragment_size, + void **fragment_context); + + void (STDMETHODCALLTYPE *ReleaseFileFragment)( + IDWriteRemoteFontFileStream *This, + void *fragment_context); + + HRESULT (STDMETHODCALLTYPE *GetFileSize)( + IDWriteRemoteFontFileStream *This, + UINT64 *size); + + HRESULT (STDMETHODCALLTYPE *GetLastWriteTime)( + IDWriteRemoteFontFileStream *This, + UINT64 *last_writetime); + + /*** IDWriteRemoteFontFileStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLocalFileSize)( + IDWriteRemoteFontFileStream *This, + UINT64 *size); + + HRESULT (STDMETHODCALLTYPE *GetFileFragmentLocality)( + IDWriteRemoteFontFileStream *This, + UINT64 offset, + UINT64 size, + BOOL *is_local, + UINT64 *partial_size); + + DWRITE_LOCALITY (STDMETHODCALLTYPE *GetLocality)( + IDWriteRemoteFontFileStream *This); + + HRESULT (STDMETHODCALLTYPE *BeginDownload)( + IDWriteRemoteFontFileStream *This, + const GUID *operation_id, + const DWRITE_FILE_FRAGMENT *fragments, + UINT32 fragment_count, + IDWriteAsyncResult **async_result); + + END_INTERFACE +} IDWriteRemoteFontFileStreamVtbl; + +interface IDWriteRemoteFontFileStream { + CONST_VTBL IDWriteRemoteFontFileStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteRemoteFontFileStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteRemoteFontFileStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteRemoteFontFileStream_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileStream methods ***/ +#define IDWriteRemoteFontFileStream_ReadFileFragment(This,fragment_start,offset,fragment_size,fragment_context) (This)->lpVtbl->ReadFileFragment(This,fragment_start,offset,fragment_size,fragment_context) +#define IDWriteRemoteFontFileStream_ReleaseFileFragment(This,fragment_context) (This)->lpVtbl->ReleaseFileFragment(This,fragment_context) +#define IDWriteRemoteFontFileStream_GetFileSize(This,size) (This)->lpVtbl->GetFileSize(This,size) +#define IDWriteRemoteFontFileStream_GetLastWriteTime(This,last_writetime) (This)->lpVtbl->GetLastWriteTime(This,last_writetime) +/*** IDWriteRemoteFontFileStream methods ***/ +#define IDWriteRemoteFontFileStream_GetLocalFileSize(This,size) (This)->lpVtbl->GetLocalFileSize(This,size) +#define IDWriteRemoteFontFileStream_GetFileFragmentLocality(This,offset,size,is_local,partial_size) (This)->lpVtbl->GetFileFragmentLocality(This,offset,size,is_local,partial_size) +#define IDWriteRemoteFontFileStream_GetLocality(This) (This)->lpVtbl->GetLocality(This) +#define IDWriteRemoteFontFileStream_BeginDownload(This,operation_id,fragments,fragment_count,async_result) (This)->lpVtbl->BeginDownload(This,operation_id,fragments,fragment_count,async_result) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_QueryInterface(IDWriteRemoteFontFileStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteRemoteFontFileStream_AddRef(IDWriteRemoteFontFileStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteRemoteFontFileStream_Release(IDWriteRemoteFontFileStream* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileStream methods ***/ +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_ReadFileFragment(IDWriteRemoteFontFileStream* This,const void **fragment_start,UINT64 offset,UINT64 fragment_size,void **fragment_context) { + return This->lpVtbl->ReadFileFragment(This,fragment_start,offset,fragment_size,fragment_context); +} +static FORCEINLINE void IDWriteRemoteFontFileStream_ReleaseFileFragment(IDWriteRemoteFontFileStream* This,void *fragment_context) { + This->lpVtbl->ReleaseFileFragment(This,fragment_context); +} +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_GetFileSize(IDWriteRemoteFontFileStream* This,UINT64 *size) { + return This->lpVtbl->GetFileSize(This,size); +} +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_GetLastWriteTime(IDWriteRemoteFontFileStream* This,UINT64 *last_writetime) { + return This->lpVtbl->GetLastWriteTime(This,last_writetime); +} +/*** IDWriteRemoteFontFileStream methods ***/ +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_GetLocalFileSize(IDWriteRemoteFontFileStream* This,UINT64 *size) { + return This->lpVtbl->GetLocalFileSize(This,size); +} +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_GetFileFragmentLocality(IDWriteRemoteFontFileStream* This,UINT64 offset,UINT64 size,BOOL *is_local,UINT64 *partial_size) { + return This->lpVtbl->GetFileFragmentLocality(This,offset,size,is_local,partial_size); +} +static FORCEINLINE DWRITE_LOCALITY IDWriteRemoteFontFileStream_GetLocality(IDWriteRemoteFontFileStream* This) { + return This->lpVtbl->GetLocality(This); +} +static FORCEINLINE HRESULT IDWriteRemoteFontFileStream_BeginDownload(IDWriteRemoteFontFileStream* This,const GUID *operation_id,const DWRITE_FILE_FRAGMENT *fragments,UINT32 fragment_count,IDWriteAsyncResult **async_result) { + return This->lpVtbl->BeginDownload(This,operation_id,fragments,fragment_count,async_result); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteRemoteFontFileStream_INTERFACE_DEFINED__ */ + +typedef enum DWRITE_CONTAINER_TYPE { + DWRITE_CONTAINER_TYPE_UNKNOWN = 0, + DWRITE_CONTAINER_TYPE_WOFF = 1, + DWRITE_CONTAINER_TYPE_WOFF2 = 2 +} DWRITE_CONTAINER_TYPE; +/***************************************************************************** + * IDWriteRemoteFontFileLoader interface + */ +#ifndef __IDWriteRemoteFontFileLoader_INTERFACE_DEFINED__ +#define __IDWriteRemoteFontFileLoader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteRemoteFontFileLoader, 0x68648c83, 0x6ede, 0x46c0, 0xab,0x46, 0x20,0x08,0x3a,0x88,0x7f,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("68648c83-6ede-46c0-ab46-20083a887fde") +IDWriteRemoteFontFileLoader : public IDWriteFontFileLoader +{ + virtual HRESULT STDMETHODCALLTYPE CreateRemoteStreamFromKey( + const void *key, + UINT32 key_size, + IDWriteRemoteFontFileStream **stream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalityFromKey( + const void *key, + UINT32 key_size, + DWRITE_LOCALITY *locality) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFontFileReferenceFromUrl( + IDWriteFactory *factory, + const WCHAR *base_url, + const WCHAR *file_url, + IDWriteFontFile **fontfile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteRemoteFontFileLoader, 0x68648c83, 0x6ede, 0x46c0, 0xab,0x46, 0x20,0x08,0x3a,0x88,0x7f,0xde) +#endif +#else +typedef struct IDWriteRemoteFontFileLoaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteRemoteFontFileLoader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteRemoteFontFileLoader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteRemoteFontFileLoader *This); + + /*** IDWriteFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStreamFromKey)( + IDWriteRemoteFontFileLoader *This, + const void *key, + UINT32 key_size, + IDWriteFontFileStream **stream); + + /*** IDWriteRemoteFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateRemoteStreamFromKey)( + IDWriteRemoteFontFileLoader *This, + const void *key, + UINT32 key_size, + IDWriteRemoteFontFileStream **stream); + + HRESULT (STDMETHODCALLTYPE *GetLocalityFromKey)( + IDWriteRemoteFontFileLoader *This, + const void *key, + UINT32 key_size, + DWRITE_LOCALITY *locality); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReferenceFromUrl)( + IDWriteRemoteFontFileLoader *This, + IDWriteFactory *factory, + const WCHAR *base_url, + const WCHAR *file_url, + IDWriteFontFile **fontfile); + + END_INTERFACE +} IDWriteRemoteFontFileLoaderVtbl; + +interface IDWriteRemoteFontFileLoader { + CONST_VTBL IDWriteRemoteFontFileLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteRemoteFontFileLoader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteRemoteFontFileLoader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteRemoteFontFileLoader_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileLoader methods ***/ +#define IDWriteRemoteFontFileLoader_CreateStreamFromKey(This,key,key_size,stream) (This)->lpVtbl->CreateStreamFromKey(This,key,key_size,stream) +/*** IDWriteRemoteFontFileLoader methods ***/ +#define IDWriteRemoteFontFileLoader_CreateRemoteStreamFromKey(This,key,key_size,stream) (This)->lpVtbl->CreateRemoteStreamFromKey(This,key,key_size,stream) +#define IDWriteRemoteFontFileLoader_GetLocalityFromKey(This,key,key_size,locality) (This)->lpVtbl->GetLocalityFromKey(This,key,key_size,locality) +#define IDWriteRemoteFontFileLoader_CreateFontFileReferenceFromUrl(This,factory,base_url,file_url,fontfile) (This)->lpVtbl->CreateFontFileReferenceFromUrl(This,factory,base_url,file_url,fontfile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteRemoteFontFileLoader_QueryInterface(IDWriteRemoteFontFileLoader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteRemoteFontFileLoader_AddRef(IDWriteRemoteFontFileLoader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteRemoteFontFileLoader_Release(IDWriteRemoteFontFileLoader* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteRemoteFontFileLoader_CreateStreamFromKey(IDWriteRemoteFontFileLoader* This,const void *key,UINT32 key_size,IDWriteFontFileStream **stream) { + return This->lpVtbl->CreateStreamFromKey(This,key,key_size,stream); +} +/*** IDWriteRemoteFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteRemoteFontFileLoader_CreateRemoteStreamFromKey(IDWriteRemoteFontFileLoader* This,const void *key,UINT32 key_size,IDWriteRemoteFontFileStream **stream) { + return This->lpVtbl->CreateRemoteStreamFromKey(This,key,key_size,stream); +} +static FORCEINLINE HRESULT IDWriteRemoteFontFileLoader_GetLocalityFromKey(IDWriteRemoteFontFileLoader* This,const void *key,UINT32 key_size,DWRITE_LOCALITY *locality) { + return This->lpVtbl->GetLocalityFromKey(This,key,key_size,locality); +} +static FORCEINLINE HRESULT IDWriteRemoteFontFileLoader_CreateFontFileReferenceFromUrl(IDWriteRemoteFontFileLoader* This,IDWriteFactory *factory,const WCHAR *base_url,const WCHAR *file_url,IDWriteFontFile **fontfile) { + return This->lpVtbl->CreateFontFileReferenceFromUrl(This,factory,base_url,file_url,fontfile); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteRemoteFontFileLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteInMemoryFontFileLoader interface + */ +#ifndef __IDWriteInMemoryFontFileLoader_INTERFACE_DEFINED__ +#define __IDWriteInMemoryFontFileLoader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteInMemoryFontFileLoader, 0xdc102f47, 0xa12d, 0x4b1c, 0x82,0x2d, 0x9e,0x11,0x7e,0x33,0x04,0x3f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc102f47-a12d-4b1c-822d-9e117e33043f") +IDWriteInMemoryFontFileLoader : public IDWriteFontFileLoader +{ + virtual HRESULT STDMETHODCALLTYPE CreateInMemoryFontFileReference( + IDWriteFactory *factory, + const void *data, + UINT32 data_size, + IUnknown *owner, + IDWriteFontFile **fontfile) = 0; + + virtual UINT32 STDMETHODCALLTYPE GetFileCount( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteInMemoryFontFileLoader, 0xdc102f47, 0xa12d, 0x4b1c, 0x82,0x2d, 0x9e,0x11,0x7e,0x33,0x04,0x3f) +#endif +#else +typedef struct IDWriteInMemoryFontFileLoaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteInMemoryFontFileLoader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteInMemoryFontFileLoader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteInMemoryFontFileLoader *This); + + /*** IDWriteFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStreamFromKey)( + IDWriteInMemoryFontFileLoader *This, + const void *key, + UINT32 key_size, + IDWriteFontFileStream **stream); + + /*** IDWriteInMemoryFontFileLoader methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateInMemoryFontFileReference)( + IDWriteInMemoryFontFileLoader *This, + IDWriteFactory *factory, + const void *data, + UINT32 data_size, + IUnknown *owner, + IDWriteFontFile **fontfile); + + UINT32 (STDMETHODCALLTYPE *GetFileCount)( + IDWriteInMemoryFontFileLoader *This); + + END_INTERFACE +} IDWriteInMemoryFontFileLoaderVtbl; + +interface IDWriteInMemoryFontFileLoader { + CONST_VTBL IDWriteInMemoryFontFileLoaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteInMemoryFontFileLoader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteInMemoryFontFileLoader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteInMemoryFontFileLoader_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFontFileLoader methods ***/ +#define IDWriteInMemoryFontFileLoader_CreateStreamFromKey(This,key,key_size,stream) (This)->lpVtbl->CreateStreamFromKey(This,key,key_size,stream) +/*** IDWriteInMemoryFontFileLoader methods ***/ +#define IDWriteInMemoryFontFileLoader_CreateInMemoryFontFileReference(This,factory,data,data_size,owner,fontfile) (This)->lpVtbl->CreateInMemoryFontFileReference(This,factory,data,data_size,owner,fontfile) +#define IDWriteInMemoryFontFileLoader_GetFileCount(This) (This)->lpVtbl->GetFileCount(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteInMemoryFontFileLoader_QueryInterface(IDWriteInMemoryFontFileLoader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteInMemoryFontFileLoader_AddRef(IDWriteInMemoryFontFileLoader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteInMemoryFontFileLoader_Release(IDWriteInMemoryFontFileLoader* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteInMemoryFontFileLoader_CreateStreamFromKey(IDWriteInMemoryFontFileLoader* This,const void *key,UINT32 key_size,IDWriteFontFileStream **stream) { + return This->lpVtbl->CreateStreamFromKey(This,key,key_size,stream); +} +/*** IDWriteInMemoryFontFileLoader methods ***/ +static FORCEINLINE HRESULT IDWriteInMemoryFontFileLoader_CreateInMemoryFontFileReference(IDWriteInMemoryFontFileLoader* This,IDWriteFactory *factory,const void *data,UINT32 data_size,IUnknown *owner,IDWriteFontFile **fontfile) { + return This->lpVtbl->CreateInMemoryFontFileReference(This,factory,data,data_size,owner,fontfile); +} +static FORCEINLINE UINT32 IDWriteInMemoryFontFileLoader_GetFileCount(IDWriteInMemoryFontFileLoader* This) { + return This->lpVtbl->GetFileCount(This); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteInMemoryFontFileLoader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDWriteFactory5 interface + */ +#ifndef __IDWriteFactory5_INTERFACE_DEFINED__ +#define __IDWriteFactory5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDWriteFactory5, 0x958db99a, 0xbe2a, 0x4f09, 0xaf,0x7d, 0x65,0x18,0x98,0x03,0xd1,0xd3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("958db99a-be2a-4f09-af7d-65189803d1d3") +IDWriteFactory5 : public IDWriteFactory4 +{ + virtual HRESULT STDMETHODCALLTYPE CreateFontSetBuilder( + IDWriteFontSetBuilder1 **fontset_builder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInMemoryFontFileLoader( + IDWriteFontFileLoader **loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateHttpFontFileLoader( + const WCHAR *referrer_url, + const WCHAR *extra_headers, + IDWriteRemoteFontFileLoader **loader) = 0; + + virtual DWRITE_CONTAINER_TYPE STDMETHODCALLTYPE AnalyzeContainerType( + const void *data, + UINT32 data_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnpackFontFile( + DWRITE_CONTAINER_TYPE container_type, + const void *data, + UINT32 data_size, + IDWriteFontFileStream **stream) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDWriteFactory5, 0x958db99a, 0xbe2a, 0x4f09, 0xaf,0x7d, 0x65,0x18,0x98,0x03,0xd1,0xd3) +#endif +#else +typedef struct IDWriteFactory5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDWriteFactory5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDWriteFactory5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDWriteFactory5 *This); + + /*** IDWriteFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontCollection)( + IDWriteFactory5 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontCollection)( + IDWriteFactory5 *This, + IDWriteFontCollectionLoader *loader, + const void *key, + UINT32 key_size, + IDWriteFontCollection **collection); + + HRESULT (STDMETHODCALLTYPE *RegisterFontCollectionLoader)( + IDWriteFactory5 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontCollectionLoader)( + IDWriteFactory5 *This, + IDWriteFontCollectionLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateFontFileReference)( + IDWriteFactory5 *This, + const WCHAR *path, + const FILETIME *writetime, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateCustomFontFileReference)( + IDWriteFactory5 *This, + const void *reference_key, + UINT32 key_size, + IDWriteFontFileLoader *loader, + IDWriteFontFile **font_file); + + HRESULT (STDMETHODCALLTYPE *CreateFontFace)( + IDWriteFactory5 *This, + DWRITE_FONT_FACE_TYPE facetype, + UINT32 files_number, + IDWriteFontFile *const *font_files, + UINT32 index, + DWRITE_FONT_SIMULATIONS sim_flags, + IDWriteFontFace **font_face); + + HRESULT (STDMETHODCALLTYPE *CreateRenderingParams)( + IDWriteFactory5 *This, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateMonitorRenderingParams)( + IDWriteFactory5 *This, + HMONITOR monitor, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *CreateCustomRenderingParams)( + IDWriteFactory5 *This, + FLOAT gamma, + FLOAT enhancedContrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams **params); + + HRESULT (STDMETHODCALLTYPE *RegisterFontFileLoader)( + IDWriteFactory5 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *UnregisterFontFileLoader)( + IDWriteFactory5 *This, + IDWriteFontFileLoader *loader); + + HRESULT (STDMETHODCALLTYPE *CreateTextFormat)( + IDWriteFactory5 *This, + const WCHAR *family_name, + IDWriteFontCollection *collection, + DWRITE_FONT_WEIGHT weight, + DWRITE_FONT_STYLE style, + DWRITE_FONT_STRETCH stretch, + FLOAT size, + const WCHAR *locale, + IDWriteTextFormat **format); + + HRESULT (STDMETHODCALLTYPE *CreateTypography)( + IDWriteFactory5 *This, + IDWriteTypography **typography); + + HRESULT (STDMETHODCALLTYPE *GetGdiInterop)( + IDWriteFactory5 *This, + IDWriteGdiInterop **gdi_interop); + + HRESULT (STDMETHODCALLTYPE *CreateTextLayout)( + IDWriteFactory5 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT max_width, + FLOAT max_height, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateGdiCompatibleTextLayout)( + IDWriteFactory5 *This, + const WCHAR *string, + UINT32 len, + IDWriteTextFormat *format, + FLOAT layout_width, + FLOAT layout_height, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + BOOL use_gdi_natural, + IDWriteTextLayout **layout); + + HRESULT (STDMETHODCALLTYPE *CreateEllipsisTrimmingSign)( + IDWriteFactory5 *This, + IDWriteTextFormat *format, + IDWriteInlineObject **trimming_sign); + + HRESULT (STDMETHODCALLTYPE *CreateTextAnalyzer)( + IDWriteFactory5 *This, + IDWriteTextAnalyzer **analyzer); + + HRESULT (STDMETHODCALLTYPE *CreateNumberSubstitution)( + IDWriteFactory5 *This, + DWRITE_NUMBER_SUBSTITUTION_METHOD method, + const WCHAR *locale, + BOOL ignore_user_override, + IDWriteNumberSubstitution **substitution); + + HRESULT (STDMETHODCALLTYPE *CreateGlyphRunAnalysis)( + IDWriteFactory5 *This, + const DWRITE_GLYPH_RUN *glyph_run, + FLOAT pixels_per_dip, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + FLOAT baseline_x, + FLOAT baseline_y, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEudcFontCollection)( + IDWriteFactory5 *This, + IDWriteFontCollection **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory1_CreateCustomRenderingParams)( + IDWriteFactory5 *This, + FLOAT gamma, + FLOAT enhcontrast, + FLOAT enhcontrast_grayscale, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY geometry, + DWRITE_RENDERING_MODE mode, + IDWriteRenderingParams1 **params); + + /*** IDWriteFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemFontFallback)( + IDWriteFactory5 *This, + IDWriteFontFallback **fallback); + + HRESULT (STDMETHODCALLTYPE *CreateFontFallbackBuilder)( + IDWriteFactory5 *This, + IDWriteFontFallbackBuilder **fallbackbuilder); + + HRESULT (STDMETHODCALLTYPE *TranslateColorGlyphRun)( + IDWriteFactory5 *This, + FLOAT originX, + FLOAT originY, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *rundescr, + DWRITE_MEASURING_MODE mode, + const DWRITE_MATRIX *transform, + UINT32 palette_index, + IDWriteColorGlyphRunEnumerator **colorlayers); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateCustomRenderingParams)( + IDWriteFactory5 *This, + FLOAT gamma, + FLOAT contrast, + FLOAT grayscalecontrast, + FLOAT cleartypeLevel, + DWRITE_PIXEL_GEOMETRY pixelGeometry, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_GRID_FIT_MODE gridFitMode, + IDWriteRenderingParams2 **params); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory2_CreateGlyphRunAnalysis)( + IDWriteFactory5 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE renderingMode, + DWRITE_MEASURING_MODE measuringMode, + DWRITE_GRID_FIT_MODE gridFitMode, + DWRITE_TEXT_ANTIALIAS_MODE antialiasMode, + FLOAT originX, + FLOAT originY, + IDWriteGlyphRunAnalysis **analysis); + + /*** IDWriteFactory3 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_CreateGlyphRunAnalysis)( + IDWriteFactory5 *This, + const DWRITE_GLYPH_RUN *run, + const DWRITE_MATRIX *transform, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + DWRITE_TEXT_ANTIALIAS_MODE antialias_mode, + FLOAT origin_x, + FLOAT origin_y, + IDWriteGlyphRunAnalysis **analysis); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_CreateCustomRenderingParams)( + IDWriteFactory5 *This, + FLOAT gamma, + FLOAT enhanced_contrast, + FLOAT grayscale_enhanced_contrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY pixel_geometry, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + IDWriteRenderingParams3 **params); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceReference_)( + IDWriteFactory5 *This, + IDWriteFontFile *file, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *CreateFontFaceReference)( + IDWriteFactory5 *This, + const WCHAR *path, + const FILETIME *writetime, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT (STDMETHODCALLTYPE *GetSystemFontSet)( + IDWriteFactory5 *This, + IDWriteFontSet **fontset); + + HRESULT (STDMETHODCALLTYPE *CreateFontSetBuilder)( + IDWriteFactory5 *This, + IDWriteFontSetBuilder **builder); + + HRESULT (STDMETHODCALLTYPE *CreateFontCollectionFromFontSet)( + IDWriteFactory5 *This, + IDWriteFontSet *fontset, + IDWriteFontCollection1 **collection); + + HRESULT (STDMETHODCALLTYPE *IDWriteFactory3_GetSystemFontCollection)( + IDWriteFactory5 *This, + BOOL include_downloadable, + IDWriteFontCollection1 **collection, + BOOL check_for_updates); + + HRESULT (STDMETHODCALLTYPE *GetFontDownloadQueue)( + IDWriteFactory5 *This, + IDWriteFontDownloadQueue **queue); + + /*** IDWriteFactory4 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFactory4_TranslateColorGlyphRun)( + IDWriteFactory5 *This, + D2D1_POINT_2F baseline_origin, + const DWRITE_GLYPH_RUN *run, + const DWRITE_GLYPH_RUN_DESCRIPTION *run_desc, + DWRITE_GLYPH_IMAGE_FORMATS desired_formats, + DWRITE_MEASURING_MODE measuring_mode, + const DWRITE_MATRIX *transform, + UINT32 palette, + IDWriteColorGlyphRunEnumerator1 **layers); + + HRESULT (STDMETHODCALLTYPE *ComputeGlyphOrigins_)( + IDWriteFactory5 *This, + const DWRITE_GLYPH_RUN *run, + D2D1_POINT_2F baseline_origin, + D2D1_POINT_2F *origins); + + HRESULT (STDMETHODCALLTYPE *ComputeGlyphOrigins)( + IDWriteFactory5 *This, + const DWRITE_GLYPH_RUN *run, + DWRITE_MEASURING_MODE measuring_mode, + D2D1_POINT_2F baseline_origin, + const DWRITE_MATRIX *transform, + D2D1_POINT_2F *origins); + + /*** IDWriteFactory5 methods ***/ + HRESULT (STDMETHODCALLTYPE *IDWriteFactory5_CreateFontSetBuilder)( + IDWriteFactory5 *This, + IDWriteFontSetBuilder1 **fontset_builder); + + HRESULT (STDMETHODCALLTYPE *CreateInMemoryFontFileLoader)( + IDWriteFactory5 *This, + IDWriteFontFileLoader **loader); + + HRESULT (STDMETHODCALLTYPE *CreateHttpFontFileLoader)( + IDWriteFactory5 *This, + const WCHAR *referrer_url, + const WCHAR *extra_headers, + IDWriteRemoteFontFileLoader **loader); + + DWRITE_CONTAINER_TYPE (STDMETHODCALLTYPE *AnalyzeContainerType)( + IDWriteFactory5 *This, + const void *data, + UINT32 data_size); + + HRESULT (STDMETHODCALLTYPE *UnpackFontFile)( + IDWriteFactory5 *This, + DWRITE_CONTAINER_TYPE container_type, + const void *data, + UINT32 data_size, + IDWriteFontFileStream **stream); + + END_INTERFACE +} IDWriteFactory5Vtbl; + +interface IDWriteFactory5 { + CONST_VTBL IDWriteFactory5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDWriteFactory5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDWriteFactory5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDWriteFactory5_Release(This) (This)->lpVtbl->Release(This) +/*** IDWriteFactory methods ***/ +#define IDWriteFactory5_CreateCustomFontCollection(This,loader,key,key_size,collection) (This)->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection) +#define IDWriteFactory5_RegisterFontCollectionLoader(This,loader) (This)->lpVtbl->RegisterFontCollectionLoader(This,loader) +#define IDWriteFactory5_UnregisterFontCollectionLoader(This,loader) (This)->lpVtbl->UnregisterFontCollectionLoader(This,loader) +#define IDWriteFactory5_CreateFontFileReference(This,path,writetime,font_file) (This)->lpVtbl->CreateFontFileReference(This,path,writetime,font_file) +#define IDWriteFactory5_CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) (This)->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file) +#define IDWriteFactory5_CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) (This)->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face) +#define IDWriteFactory5_CreateRenderingParams(This,params) (This)->lpVtbl->CreateRenderingParams(This,params) +#define IDWriteFactory5_CreateMonitorRenderingParams(This,monitor,params) (This)->lpVtbl->CreateMonitorRenderingParams(This,monitor,params) +#define IDWriteFactory5_RegisterFontFileLoader(This,loader) (This)->lpVtbl->RegisterFontFileLoader(This,loader) +#define IDWriteFactory5_UnregisterFontFileLoader(This,loader) (This)->lpVtbl->UnregisterFontFileLoader(This,loader) +#define IDWriteFactory5_CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) (This)->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format) +#define IDWriteFactory5_CreateTypography(This,typography) (This)->lpVtbl->CreateTypography(This,typography) +#define IDWriteFactory5_GetGdiInterop(This,gdi_interop) (This)->lpVtbl->GetGdiInterop(This,gdi_interop) +#define IDWriteFactory5_CreateTextLayout(This,string,len,format,max_width,max_height,layout) (This)->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout) +#define IDWriteFactory5_CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) (This)->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout) +#define IDWriteFactory5_CreateEllipsisTrimmingSign(This,format,trimming_sign) (This)->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign) +#define IDWriteFactory5_CreateTextAnalyzer(This,analyzer) (This)->lpVtbl->CreateTextAnalyzer(This,analyzer) +#define IDWriteFactory5_CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) (This)->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution) +/*** IDWriteFactory1 methods ***/ +#define IDWriteFactory5_GetEudcFontCollection(This,collection,check_for_updates) (This)->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates) +/*** IDWriteFactory2 methods ***/ +#define IDWriteFactory5_GetSystemFontFallback(This,fallback) (This)->lpVtbl->GetSystemFontFallback(This,fallback) +#define IDWriteFactory5_CreateFontFallbackBuilder(This,fallbackbuilder) (This)->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder) +/*** IDWriteFactory3 methods ***/ +#define IDWriteFactory5_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis) (This)->lpVtbl->IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis) +#define IDWriteFactory5_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params) (This)->lpVtbl->IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params) +#define IDWriteFactory5_CreateFontFaceReference_(This,file,index,simulations,reference) (This)->lpVtbl->CreateFontFaceReference_(This,file,index,simulations,reference) +#define IDWriteFactory5_CreateFontFaceReference(This,path,writetime,index,simulations,reference) (This)->lpVtbl->CreateFontFaceReference(This,path,writetime,index,simulations,reference) +#define IDWriteFactory5_GetSystemFontSet(This,fontset) (This)->lpVtbl->GetSystemFontSet(This,fontset) +#define IDWriteFactory5_CreateFontCollectionFromFontSet(This,fontset,collection) (This)->lpVtbl->CreateFontCollectionFromFontSet(This,fontset,collection) +#define IDWriteFactory5_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates) (This)->lpVtbl->IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates) +#define IDWriteFactory5_GetFontDownloadQueue(This,queue) (This)->lpVtbl->GetFontDownloadQueue(This,queue) +/*** IDWriteFactory4 methods ***/ +#define IDWriteFactory5_TranslateColorGlyphRun(This,baseline_origin,run,run_desc,desired_formats,measuring_mode,transform,palette,layers) (This)->lpVtbl->IDWriteFactory4_TranslateColorGlyphRun(This,baseline_origin,run,run_desc,desired_formats,measuring_mode,transform,palette,layers) +#define IDWriteFactory5_ComputeGlyphOrigins_(This,run,baseline_origin,origins) (This)->lpVtbl->ComputeGlyphOrigins_(This,run,baseline_origin,origins) +#define IDWriteFactory5_ComputeGlyphOrigins(This,run,measuring_mode,baseline_origin,transform,origins) (This)->lpVtbl->ComputeGlyphOrigins(This,run,measuring_mode,baseline_origin,transform,origins) +/*** IDWriteFactory5 methods ***/ +#define IDWriteFactory5_CreateFontSetBuilder(This,fontset_builder) (This)->lpVtbl->IDWriteFactory5_CreateFontSetBuilder(This,fontset_builder) +#define IDWriteFactory5_CreateInMemoryFontFileLoader(This,loader) (This)->lpVtbl->CreateInMemoryFontFileLoader(This,loader) +#define IDWriteFactory5_CreateHttpFontFileLoader(This,referrer_url,extra_headers,loader) (This)->lpVtbl->CreateHttpFontFileLoader(This,referrer_url,extra_headers,loader) +#define IDWriteFactory5_AnalyzeContainerType(This,data,data_size) (This)->lpVtbl->AnalyzeContainerType(This,data,data_size) +#define IDWriteFactory5_UnpackFontFile(This,container_type,data,data_size,stream) (This)->lpVtbl->UnpackFontFile(This,container_type,data,data_size,stream) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_QueryInterface(IDWriteFactory5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDWriteFactory5_AddRef(IDWriteFactory5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDWriteFactory5_Release(IDWriteFactory5* This) { + return This->lpVtbl->Release(This); +} +/*** IDWriteFactory methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_CreateCustomFontCollection(IDWriteFactory5* This,IDWriteFontCollectionLoader *loader,const void *key,UINT32 key_size,IDWriteFontCollection **collection) { + return This->lpVtbl->CreateCustomFontCollection(This,loader,key,key_size,collection); +} +static FORCEINLINE HRESULT IDWriteFactory5_RegisterFontCollectionLoader(IDWriteFactory5* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->RegisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory5_UnregisterFontCollectionLoader(IDWriteFactory5* This,IDWriteFontCollectionLoader *loader) { + return This->lpVtbl->UnregisterFontCollectionLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontFileReference(IDWriteFactory5* This,const WCHAR *path,const FILETIME *writetime,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateFontFileReference(This,path,writetime,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateCustomFontFileReference(IDWriteFactory5* This,const void *reference_key,UINT32 key_size,IDWriteFontFileLoader *loader,IDWriteFontFile **font_file) { + return This->lpVtbl->CreateCustomFontFileReference(This,reference_key,key_size,loader,font_file); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontFace(IDWriteFactory5* This,DWRITE_FONT_FACE_TYPE facetype,UINT32 files_number,IDWriteFontFile *const *font_files,UINT32 index,DWRITE_FONT_SIMULATIONS sim_flags,IDWriteFontFace **font_face) { + return This->lpVtbl->CreateFontFace(This,facetype,files_number,font_files,index,sim_flags,font_face); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateRenderingParams(IDWriteFactory5* This,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateRenderingParams(This,params); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateMonitorRenderingParams(IDWriteFactory5* This,HMONITOR monitor,IDWriteRenderingParams **params) { + return This->lpVtbl->CreateMonitorRenderingParams(This,monitor,params); +} +static FORCEINLINE HRESULT IDWriteFactory5_RegisterFontFileLoader(IDWriteFactory5* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->RegisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory5_UnregisterFontFileLoader(IDWriteFactory5* This,IDWriteFontFileLoader *loader) { + return This->lpVtbl->UnregisterFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateTextFormat(IDWriteFactory5* This,const WCHAR *family_name,IDWriteFontCollection *collection,DWRITE_FONT_WEIGHT weight,DWRITE_FONT_STYLE style,DWRITE_FONT_STRETCH stretch,FLOAT size,const WCHAR *locale,IDWriteTextFormat **format) { + return This->lpVtbl->CreateTextFormat(This,family_name,collection,weight,style,stretch,size,locale,format); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateTypography(IDWriteFactory5* This,IDWriteTypography **typography) { + return This->lpVtbl->CreateTypography(This,typography); +} +static FORCEINLINE HRESULT IDWriteFactory5_GetGdiInterop(IDWriteFactory5* This,IDWriteGdiInterop **gdi_interop) { + return This->lpVtbl->GetGdiInterop(This,gdi_interop); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateTextLayout(IDWriteFactory5* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT max_width,FLOAT max_height,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateTextLayout(This,string,len,format,max_width,max_height,layout); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateGdiCompatibleTextLayout(IDWriteFactory5* This,const WCHAR *string,UINT32 len,IDWriteTextFormat *format,FLOAT layout_width,FLOAT layout_height,FLOAT pixels_per_dip,const DWRITE_MATRIX *transform,BOOL use_gdi_natural,IDWriteTextLayout **layout) { + return This->lpVtbl->CreateGdiCompatibleTextLayout(This,string,len,format,layout_width,layout_height,pixels_per_dip,transform,use_gdi_natural,layout); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateEllipsisTrimmingSign(IDWriteFactory5* This,IDWriteTextFormat *format,IDWriteInlineObject **trimming_sign) { + return This->lpVtbl->CreateEllipsisTrimmingSign(This,format,trimming_sign); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateTextAnalyzer(IDWriteFactory5* This,IDWriteTextAnalyzer **analyzer) { + return This->lpVtbl->CreateTextAnalyzer(This,analyzer); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateNumberSubstitution(IDWriteFactory5* This,DWRITE_NUMBER_SUBSTITUTION_METHOD method,const WCHAR *locale,BOOL ignore_user_override,IDWriteNumberSubstitution **substitution) { + return This->lpVtbl->CreateNumberSubstitution(This,method,locale,ignore_user_override,substitution); +} +/*** IDWriteFactory1 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_GetEudcFontCollection(IDWriteFactory5* This,IDWriteFontCollection **collection,BOOL check_for_updates) { + return This->lpVtbl->GetEudcFontCollection(This,collection,check_for_updates); +} +/*** IDWriteFactory2 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_GetSystemFontFallback(IDWriteFactory5* This,IDWriteFontFallback **fallback) { + return This->lpVtbl->GetSystemFontFallback(This,fallback); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontFallbackBuilder(IDWriteFactory5* This,IDWriteFontFallbackBuilder **fallbackbuilder) { + return This->lpVtbl->CreateFontFallbackBuilder(This,fallbackbuilder); +} +/*** IDWriteFactory3 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_CreateGlyphRunAnalysis(IDWriteFactory5* This,const DWRITE_GLYPH_RUN *run,const DWRITE_MATRIX *transform,DWRITE_RENDERING_MODE1 rendering_mode,DWRITE_MEASURING_MODE measuring_mode,DWRITE_GRID_FIT_MODE gridfit_mode,DWRITE_TEXT_ANTIALIAS_MODE antialias_mode,FLOAT origin_x,FLOAT origin_y,IDWriteGlyphRunAnalysis **analysis) { + return This->lpVtbl->IDWriteFactory3_CreateGlyphRunAnalysis(This,run,transform,rendering_mode,measuring_mode,gridfit_mode,antialias_mode,origin_x,origin_y,analysis); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateCustomRenderingParams(IDWriteFactory5* This,FLOAT gamma,FLOAT enhanced_contrast,FLOAT grayscale_enhanced_contrast,FLOAT cleartype_level,DWRITE_PIXEL_GEOMETRY pixel_geometry,DWRITE_RENDERING_MODE1 rendering_mode,DWRITE_GRID_FIT_MODE gridfit_mode,IDWriteRenderingParams3 **params) { + return This->lpVtbl->IDWriteFactory3_CreateCustomRenderingParams(This,gamma,enhanced_contrast,grayscale_enhanced_contrast,cleartype_level,pixel_geometry,rendering_mode,gridfit_mode,params); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontFaceReference_(IDWriteFactory5* This,IDWriteFontFile *file,UINT32 index,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFaceReference **reference) { + return This->lpVtbl->CreateFontFaceReference_(This,file,index,simulations,reference); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontFaceReference(IDWriteFactory5* This,const WCHAR *path,const FILETIME *writetime,UINT32 index,DWRITE_FONT_SIMULATIONS simulations,IDWriteFontFaceReference **reference) { + return This->lpVtbl->CreateFontFaceReference(This,path,writetime,index,simulations,reference); +} +static FORCEINLINE HRESULT IDWriteFactory5_GetSystemFontSet(IDWriteFactory5* This,IDWriteFontSet **fontset) { + return This->lpVtbl->GetSystemFontSet(This,fontset); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontCollectionFromFontSet(IDWriteFactory5* This,IDWriteFontSet *fontset,IDWriteFontCollection1 **collection) { + return This->lpVtbl->CreateFontCollectionFromFontSet(This,fontset,collection); +} +static FORCEINLINE HRESULT IDWriteFactory5_GetSystemFontCollection(IDWriteFactory5* This,BOOL include_downloadable,IDWriteFontCollection1 **collection,BOOL check_for_updates) { + return This->lpVtbl->IDWriteFactory3_GetSystemFontCollection(This,include_downloadable,collection,check_for_updates); +} +static FORCEINLINE HRESULT IDWriteFactory5_GetFontDownloadQueue(IDWriteFactory5* This,IDWriteFontDownloadQueue **queue) { + return This->lpVtbl->GetFontDownloadQueue(This,queue); +} +/*** IDWriteFactory4 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_TranslateColorGlyphRun(IDWriteFactory5* This,D2D1_POINT_2F baseline_origin,const DWRITE_GLYPH_RUN *run,const DWRITE_GLYPH_RUN_DESCRIPTION *run_desc,DWRITE_GLYPH_IMAGE_FORMATS desired_formats,DWRITE_MEASURING_MODE measuring_mode,const DWRITE_MATRIX *transform,UINT32 palette,IDWriteColorGlyphRunEnumerator1 **layers) { + return This->lpVtbl->IDWriteFactory4_TranslateColorGlyphRun(This,baseline_origin,run,run_desc,desired_formats,measuring_mode,transform,palette,layers); +} +static FORCEINLINE HRESULT IDWriteFactory5_ComputeGlyphOrigins_(IDWriteFactory5* This,const DWRITE_GLYPH_RUN *run,D2D1_POINT_2F baseline_origin,D2D1_POINT_2F *origins) { + return This->lpVtbl->ComputeGlyphOrigins_(This,run,baseline_origin,origins); +} +static FORCEINLINE HRESULT IDWriteFactory5_ComputeGlyphOrigins(IDWriteFactory5* This,const DWRITE_GLYPH_RUN *run,DWRITE_MEASURING_MODE measuring_mode,D2D1_POINT_2F baseline_origin,const DWRITE_MATRIX *transform,D2D1_POINT_2F *origins) { + return This->lpVtbl->ComputeGlyphOrigins(This,run,measuring_mode,baseline_origin,transform,origins); +} +/*** IDWriteFactory5 methods ***/ +static FORCEINLINE HRESULT IDWriteFactory5_CreateFontSetBuilder(IDWriteFactory5* This,IDWriteFontSetBuilder1 **fontset_builder) { + return This->lpVtbl->IDWriteFactory5_CreateFontSetBuilder(This,fontset_builder); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateInMemoryFontFileLoader(IDWriteFactory5* This,IDWriteFontFileLoader **loader) { + return This->lpVtbl->CreateInMemoryFontFileLoader(This,loader); +} +static FORCEINLINE HRESULT IDWriteFactory5_CreateHttpFontFileLoader(IDWriteFactory5* This,const WCHAR *referrer_url,const WCHAR *extra_headers,IDWriteRemoteFontFileLoader **loader) { + return This->lpVtbl->CreateHttpFontFileLoader(This,referrer_url,extra_headers,loader); +} +static FORCEINLINE DWRITE_CONTAINER_TYPE IDWriteFactory5_AnalyzeContainerType(IDWriteFactory5* This,const void *data,UINT32 data_size) { + return This->lpVtbl->AnalyzeContainerType(This,data,data_size); +} +static FORCEINLINE HRESULT IDWriteFactory5_UnpackFontFile(IDWriteFactory5* This,DWRITE_CONTAINER_TYPE container_type,const void *data,UINT32 data_size,IDWriteFontFileStream **stream) { + return This->lpVtbl->UnpackFontFile(This,container_type,data,data_size,stream); +} +#endif +#endif + +#endif + + +#endif /* __IDWriteFactory5_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dwrite_3_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_3.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_3.idl new file mode 100644 index 0000000..b80d033 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dwrite_3.idl @@ -0,0 +1,604 @@ +/* + * Copyright 2016 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dwrite_2.idl"; + +interface IDWriteFontFaceReference; +interface IDWriteFontFace3; +interface IDWriteFontSet; +interface IDWriteFontDownloadQueue; + +cpp_quote("#ifndef _WINGDI_") +/* already defined in wingdi.h but needed for WIDL */ +typedef struct FONTSIGNATURE FONTSIGNATURE; +cpp_quote("#endif /* _WINGDI_ */") + +typedef enum DWRITE_LOCALITY +{ + DWRITE_LOCALITY_REMOTE, + DWRITE_LOCALITY_PARTIAL, + DWRITE_LOCALITY_LOCAL +} DWRITE_LOCALITY; + +typedef enum DWRITE_RENDERING_MODE1 +{ + DWRITE_RENDERING_MODE1_DEFAULT, + DWRITE_RENDERING_MODE1_ALIASED, + DWRITE_RENDERING_MODE1_GDI_CLASSIC, + DWRITE_RENDERING_MODE1_GDI_NATURAL, + DWRITE_RENDERING_MODE1_NATURAL, + DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC, + DWRITE_RENDERING_MODE1_OUTLINE, + DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED +} DWRITE_RENDERING_MODE1; + +typedef enum DWRITE_FONT_PROPERTY_ID +{ + DWRITE_FONT_PROPERTY_ID_NONE, + DWRITE_FONT_PROPERTY_ID_FAMILY_NAME, + DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME, + DWRITE_FONT_PROPERTY_ID_FACE_NAME, + DWRITE_FONT_PROPERTY_ID_FULL_NAME, + DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME, + DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME, + DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG, + DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG, + DWRITE_FONT_PROPERTY_ID_WEIGHT, + DWRITE_FONT_PROPERTY_ID_STRETCH, + DWRITE_FONT_PROPERTY_ID_STYLE, + DWRITE_FONT_PROPERTY_ID_TOTAL +} DWRITE_FONT_PROPERTY_ID; + +typedef struct DWRITE_FONT_PROPERTY +{ + DWRITE_FONT_PROPERTY_ID propertyId; + WCHAR const *propertyValue; + WCHAR const *localeName; +} DWRITE_FONT_PROPERTY; + +[ + local, + object, + uuid(b06fe5b9-43ec-4393-881b-dbe4dc72fda7) +] +interface IDWriteFontDownloadListener : IUnknown +{ + void DownloadCompleted(IDWriteFontDownloadQueue *queue, IUnknown *context, HRESULT result); +} + +[ + local, + object, + uuid(b71e6052-5aea-4fa3-832e-f60d431f7e91) +] +interface IDWriteFontDownloadQueue : IUnknown +{ + HRESULT AddListener(IDWriteFontDownloadListener *listener, UINT32 *token); + HRESULT RemoveListener(UINT32 token); + BOOL IsEmpty(); + HRESULT BeginDownload(IUnknown *context); + HRESULT CancelDownload(); + UINT64 GetGenerationCount(); +} + +[ + local, + object, + uuid(b7924baa-391b-412a-8c5c-e44cc2d867dc) +] +interface IDWriteRenderingParams3 : IDWriteRenderingParams2 +{ + DWRITE_RENDERING_MODE1 GetRenderingMode1(); +} + +[ + local, + object, + uuid(cfee3140-1257-47ca-8b85-31bfcf3f2d0e) +] +interface IDWriteStringList : IUnknown +{ + UINT32 GetCount(); + HRESULT GetLocaleNameLength(UINT32 index, UINT32 *length); + HRESULT GetLocaleName(UINT32 index, WCHAR *name, UINT32 size); + HRESULT GetStringLength(UINT32 index, UINT32 *length); + HRESULT GetString(UINT32 index, WCHAR *string, UINT32 size); +} + +[ + local, + object, + uuid(53585141-d9f8-4095-8321-d73cf6bd116b) +] +interface IDWriteFontSet : IUnknown +{ + UINT32 GetFontCount(); + HRESULT GetFontFaceReference(UINT32 index, IDWriteFontFaceReference **reference); + HRESULT FindFontFaceReference(IDWriteFontFaceReference *reference, + UINT32 *index, BOOL *exists); + HRESULT FindFontFace(IDWriteFontFace *fontface, UINT32 *index, BOOL *exists); + HRESULT GetPropertyValues__(DWRITE_FONT_PROPERTY_ID id, IDWriteStringList **values); + HRESULT GetPropertyValues_(DWRITE_FONT_PROPERTY_ID id, + WCHAR const *preferred_locales, IDWriteStringList **values); + HRESULT GetPropertyValues(UINT32 index, DWRITE_FONT_PROPERTY_ID id, BOOL *exists, + IDWriteLocalizedStrings **values); + HRESULT GetPropertyOccurrenceCount(DWRITE_FONT_PROPERTY const *property, UINT32 *count); + HRESULT GetMatchingFonts_(WCHAR const *family, DWRITE_FONT_WEIGHT weight, DWRITE_FONT_STRETCH stretch, + DWRITE_FONT_STYLE style, IDWriteFontSet **fontset); + HRESULT GetMatchingFonts(DWRITE_FONT_PROPERTY const *props, UINT32 count, IDWriteFontSet **fontset); +} + +[ + local, + object, + uuid(29748ed6-8c9c-4a6a-be0b-d912e8538944) +] +interface IDWriteFont3 : IDWriteFont2 +{ + HRESULT CreateFontFace(IDWriteFontFace3 **fontface); + BOOL Equals(IDWriteFont *font); + HRESULT GetFontFaceReference(IDWriteFontFaceReference **reference); + BOOL HasCharacter(UINT32 character); + DWRITE_LOCALITY GetLocality(); +} + +[ + local, + object, + uuid(da20d8ef-812a-4c43-9802-62ec4abd7adf) +] +interface IDWriteFontFamily1 : IDWriteFontFamily +{ + DWRITE_LOCALITY GetFontLocality(UINT32 index); + HRESULT GetFont(UINT32 index, IDWriteFont3 **font); + HRESULT GetFontFaceReference(UINT32 index, IDWriteFontFaceReference **reference); +} + +[ + local, + object, + uuid(53585141-d9f8-4095-8321-d73cf6bd116c) +] +interface IDWriteFontCollection1 : IDWriteFontCollection +{ + HRESULT GetFontSet(IDWriteFontSet **fontset); + HRESULT GetFontFamily(UINT32 index, IDWriteFontFamily1 **family); +} + +[ + local, + object, + uuid(5e7fa7ca-dde3-424c-89f0-9fcd6fed58cd) +] +interface IDWriteFontFaceReference : IUnknown +{ + HRESULT CreateFontFace(IDWriteFontFace3 **fontface); + HRESULT CreateFontFaceWithSimulations(DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFace3 **fontface); + BOOL Equals(IDWriteFontFaceReference *reference); + UINT32 GetFontFaceIndex(); + DWRITE_FONT_SIMULATIONS GetSimulations(); + HRESULT GetFontFile(IDWriteFontFile **fontfile); + UINT64 GetLocalFileSize(); + UINT64 GetFileSize(); + HRESULT GetFileTime(FILETIME *writetime); + DWRITE_LOCALITY GetLocality(); + HRESULT EnqueueFontDownloadRequest(); + HRESULT EnqueueCharacterDownloadRequest(WCHAR const *chars, UINT32 count); + HRESULT EnqueueGlyphDownloadRequest(UINT16 const *glyphs, UINT32 count); + HRESULT EnqueueFileFragmentDownloadRequest(UINT64 offset, UINT64 size); +} + +[ + local, + object, + uuid(da20d8ef-812a-4c43-9802-62ec4abd7ade) +] +interface IDWriteFontList1 : IDWriteFontList +{ + DWRITE_LOCALITY GetFontLocality(UINT32 index); + HRESULT GetFont(UINT32 index, IDWriteFont3 **font); + HRESULT GetFontFaceReference(UINT32 index, IDWriteFontFaceReference **reference); +} + +[ + local, + object, + uuid(d37d7598-09be-4222-a236-2081341cc1f2) +] +interface IDWriteFontFace3 : IDWriteFontFace2 +{ + HRESULT GetFontFaceReference(IDWriteFontFaceReference **reference); + void GetPanose(DWRITE_PANOSE *panose); + DWRITE_FONT_WEIGHT GetWeight(); + DWRITE_FONT_STRETCH GetStretch(); + DWRITE_FONT_STYLE GetStyle(); + HRESULT GetFamilyNames(IDWriteLocalizedStrings **names); + HRESULT GetFaceNames(IDWriteLocalizedStrings **names); + HRESULT GetInformationalStrings(DWRITE_INFORMATIONAL_STRING_ID stringid, + IDWriteLocalizedStrings **strings, + BOOL *exists); + BOOL HasCharacter(UINT32 character); + HRESULT GetRecommendedRenderingMode( + FLOAT emsize, + FLOAT dpi_x, + FLOAT dpi_y, + DWRITE_MATRIX const *transform, + BOOL is_sideways, + DWRITE_OUTLINE_THRESHOLD threshold, + DWRITE_MEASURING_MODE measuring_mode, + IDWriteRenderingParams *params, + DWRITE_RENDERING_MODE1 *rendering_mode, + DWRITE_GRID_FIT_MODE *gridfit_mode); + BOOL IsCharacterLocal(UINT32 character); + BOOL IsGlyphLocal(UINT16 glyph); + HRESULT AreCharactersLocal(WCHAR const *characters, + UINT32 count, BOOL enqueue_if_not, BOOL *are_local); + HRESULT AreGlyphsLocal(UINT16 const *glyphs, UINT32 count, + BOOL enqueue_if_not, BOOL *are_local); +} + + +typedef struct DWRITE_LINE_METRICS1 +{ + UINT32 length; + UINT32 trailingWhitespaceLength; + UINT32 newlineLength; + FLOAT height; + FLOAT baseline; + BOOL isTrimmed; + FLOAT leadingBefore; + FLOAT leadingAfter; +} DWRITE_LINE_METRICS1; + +typedef enum DWRITE_FONT_LINE_GAP_USAGE +{ + DWRITE_FONT_LINE_GAP_USAGE_DEFAULT, + DWRITE_FONT_LINE_GAP_USAGE_DISABLED, + DWRITE_FONT_LINE_GAP_USAGE_ENABLED +} DWRITE_FONT_LINE_GAP_USAGE; + +typedef struct DWRITE_LINE_SPACING +{ + DWRITE_LINE_SPACING_METHOD method; + FLOAT height; + FLOAT baseline; + FLOAT leadingBefore; + DWRITE_FONT_LINE_GAP_USAGE fontLineGapUsage; +} DWRITE_LINE_SPACING; + +[ + local, + object, + uuid(f67e0edd-9e3d-4ecc-8c32-4183253dfe70) +] +interface IDWriteTextFormat2 : IDWriteTextFormat1 +{ + HRESULT SetLineSpacing(DWRITE_LINE_SPACING const *spacing); + HRESULT GetLineSpacing(DWRITE_LINE_SPACING *spacing); +} + +[ + local, + object, + uuid(07ddcd52-020e-4de8-ac33-6c953d83f92d) +] +interface IDWriteTextLayout3 : IDWriteTextLayout2 +{ + HRESULT InvalidateLayout(); + HRESULT SetLineSpacing(DWRITE_LINE_SPACING const *spacing); + HRESULT GetLineSpacing(DWRITE_LINE_SPACING *spacing); + HRESULT GetLineMetrics(DWRITE_LINE_METRICS1 *metrics, UINT32 max_count, UINT32 *count); +} + +[ + local, + object, + uuid(4556be70-3abd-4f70-90be-421780a6f515) +] +interface IDWriteGdiInterop1 : IDWriteGdiInterop +{ + HRESULT CreateFontFromLOGFONT(LOGFONTW const *logfont, + IDWriteFontCollection *collection, + IDWriteFont **font); + + /* GetFontSignature() methods are listed in reversed order to make + resulting vtable order compatible. */ + HRESULT GetFontSignature_(IDWriteFontFace *fontface, FONTSIGNATURE *fontsig); + HRESULT GetFontSignature(IDWriteFont *font, FONTSIGNATURE *fontsig); + HRESULT GetMatchingFontsByLOGFONT(LOGFONTW const *logfont, + IDWriteFontSet *fontset, + IDWriteFontSet **subset); +} + +[ + local, + object, + uuid(2f642afe-9c68-4f40-b8be-457401afcb3d) +] +interface IDWriteFontSetBuilder : IUnknown +{ + HRESULT AddFontFaceReference_(IDWriteFontFaceReference *ref, + DWRITE_FONT_PROPERTY const *props, + UINT32 prop_count); + HRESULT AddFontFaceReference(IDWriteFontFaceReference *ref); + HRESULT AddFontSet(IDWriteFontSet *fontset); + HRESULT CreateFontSet(IDWriteFontSet **fontset); +} + +[ + local, + object, + uuid(3ff7715f-3cdc-4dc6-9b72-ec5621dccafd) +] +interface IDWriteFontSetBuilder1 : IDWriteFontSetBuilder +{ + HRESULT AddFontFile(IDWriteFontFile *file); +} + +[ + local, + object, + uuid(9a1b41c3-d3bb-466a-87fc-fe67556a3b65) +] +interface IDWriteFactory3 : IDWriteFactory2 +{ + HRESULT CreateGlyphRunAnalysis( + DWRITE_GLYPH_RUN const *run, + DWRITE_MATRIX const *transform, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + DWRITE_TEXT_ANTIALIAS_MODE antialias_mode, + FLOAT origin_x, + FLOAT origin_y, + IDWriteGlyphRunAnalysis **analysis); + + HRESULT CreateCustomRenderingParams( + FLOAT gamma, + FLOAT enhanced_contrast, + FLOAT grayscale_enhanced_contrast, + FLOAT cleartype_level, + DWRITE_PIXEL_GEOMETRY pixel_geometry, + DWRITE_RENDERING_MODE1 rendering_mode, + DWRITE_GRID_FIT_MODE gridfit_mode, + IDWriteRenderingParams3 **params); + + /* CreateFontFaceReference methods are listed in reversed order to make + resulting vtable order compatible. */ + HRESULT CreateFontFaceReference_( + IDWriteFontFile *file, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT CreateFontFaceReference( + WCHAR const *path, + FILETIME const *writetime, + UINT32 index, + DWRITE_FONT_SIMULATIONS simulations, + IDWriteFontFaceReference **reference); + + HRESULT GetSystemFontSet(IDWriteFontSet **fontset); + HRESULT CreateFontSetBuilder(IDWriteFontSetBuilder **builder); + HRESULT CreateFontCollectionFromFontSet( + IDWriteFontSet *fontset, + IDWriteFontCollection1 **collection); + + HRESULT GetSystemFontCollection( + BOOL include_downloadable, + IDWriteFontCollection1 **collection, + BOOL check_for_updates); + + HRESULT GetFontDownloadQueue(IDWriteFontDownloadQueue **queue); +} + +typedef enum DWRITE_GLYPH_IMAGE_FORMATS +{ + DWRITE_GLYPH_IMAGE_FORMATS_NONE = 0, + DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE = 1 << 0, + DWRITE_GLYPH_IMAGE_FORMATS_CFF = 1 << 1, + DWRITE_GLYPH_IMAGE_FORMATS_COLR = 1 << 2, + DWRITE_GLYPH_IMAGE_FORMATS_SVG = 1 << 3, + DWRITE_GLYPH_IMAGE_FORMATS_PNG = 1 << 4, + DWRITE_GLYPH_IMAGE_FORMATS_JPEG = 1 << 5, + DWRITE_GLYPH_IMAGE_FORMATS_TIFF = 1 << 6, + DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 = 1 << 7 +} DWRITE_GLYPH_IMAGE_FORMATS; + +typedef struct DWRITE_GLYPH_IMAGE_DATA +{ + void const *imageData; + UINT32 imageDataSize; + UINT32 uniqueDataId; + UINT32 pixelsPerEm; + D2D1_SIZE_U pixelSize; + D2D1_POINT_2L horizontalLeftOrigin; + D2D1_POINT_2L horizontalRightOrigin; + D2D1_POINT_2L verticalTopOrigin; + D2D1_POINT_2L verticalBottomOrigin; +} DWRITE_GLYPH_IMAGE_DATA; + +[ + local, + object, + uuid(27f2a904-4eb8-441d-9678-0563f53e3e2f) +] +interface IDWriteFontFace4 : IDWriteFontFace3 +{ + HRESULT GetGlyphImageFormats_( + UINT16 glyph, + UINT32 ppem_first, + UINT32 ppem_last, + DWRITE_GLYPH_IMAGE_FORMATS *formats); + DWRITE_GLYPH_IMAGE_FORMATS GetGlyphImageFormats(); + HRESULT GetGlyphImageData( + UINT16 glyph, + UINT32 ppem, + DWRITE_GLYPH_IMAGE_FORMATS format, + DWRITE_GLYPH_IMAGE_DATA *data, + void **context); + void ReleaseGlyphImageData(void *context); +} + +typedef struct DWRITE_COLOR_GLYPH_RUN1 +{ + DWRITE_GLYPH_RUN glyphRun; + DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription; + FLOAT baselineOriginX; + FLOAT baselineOriginY; + DWRITE_COLOR_F runColor; + UINT16 paletteIndex; + DWRITE_GLYPH_IMAGE_FORMATS glyphImageFormat; + DWRITE_MEASURING_MODE measuringMode; +} DWRITE_COLOR_GLYPH_RUN1; + +[ + local, + object, + uuid(7c5f86da-c7a1-4f05-b8e1-55a179fe5a35) +] +interface IDWriteColorGlyphRunEnumerator1 : IDWriteColorGlyphRunEnumerator +{ + HRESULT GetCurrentRun( + DWRITE_COLOR_GLYPH_RUN1 const **run); +} + +[ + local, + object, + uuid(4b0b5bd3-0797-4549-8ac5-fe915cc53856) +] +interface IDWriteFactory4 : IDWriteFactory3 +{ + HRESULT TranslateColorGlyphRun( + D2D1_POINT_2F baseline_origin, + DWRITE_GLYPH_RUN const *run, + DWRITE_GLYPH_RUN_DESCRIPTION const *run_desc, + DWRITE_GLYPH_IMAGE_FORMATS desired_formats, + DWRITE_MEASURING_MODE measuring_mode, + DWRITE_MATRIX const *transform, + UINT32 palette, + IDWriteColorGlyphRunEnumerator1 **layers); + + HRESULT ComputeGlyphOrigins_( + DWRITE_GLYPH_RUN const *run, + D2D1_POINT_2F baseline_origin, + D2D1_POINT_2F *origins); + + HRESULT ComputeGlyphOrigins( + DWRITE_GLYPH_RUN const *run, + DWRITE_MEASURING_MODE measuring_mode, + D2D1_POINT_2F baseline_origin, + DWRITE_MATRIX const *transform, + D2D1_POINT_2F *origins); +} + +[ + local, + object, + uuid(ce25f8fd-863b-4d13-9651-c1f88dc73fe2) +] +interface IDWriteAsyncResult : IUnknown +{ + HANDLE GetWaitHandle(); + HRESULT GetResult(); +} + +typedef struct DWRITE_FILE_FRAGMENT +{ + UINT64 fileOffset; + UINT64 fragmentSize; +} DWRITE_FILE_FRAGMENT; + +[ + local, + object, + uuid(4db3757a-2c72-4ed9-b2b6-1ababe1aff9c) +] +interface IDWriteRemoteFontFileStream : IDWriteFontFileStream +{ + HRESULT GetLocalFileSize(UINT64 *size); + HRESULT GetFileFragmentLocality(UINT64 offset, UINT64 size, BOOL *is_local, UINT64 *partial_size); + DWRITE_LOCALITY GetLocality(); + HRESULT BeginDownload( + GUID const *operation_id, + DWRITE_FILE_FRAGMENT const *fragments, + UINT32 fragment_count, + IDWriteAsyncResult **async_result); +} + +typedef enum DWRITE_CONTAINER_TYPE +{ + DWRITE_CONTAINER_TYPE_UNKNOWN, + DWRITE_CONTAINER_TYPE_WOFF, + DWRITE_CONTAINER_TYPE_WOFF2, +} DWRITE_CONTAINER_TYPE; + +[ + local, + object, + uuid(68648c83-6ede-46c0-ab46-20083a887fde) +] +interface IDWriteRemoteFontFileLoader : IDWriteFontFileLoader +{ + HRESULT CreateRemoteStreamFromKey(void const *key, UINT32 key_size, IDWriteRemoteFontFileStream **stream); + HRESULT GetLocalityFromKey(void const *key, UINT32 key_size, DWRITE_LOCALITY *locality); + HRESULT CreateFontFileReferenceFromUrl( + IDWriteFactory *factory, + WCHAR const *base_url, + WCHAR const *file_url, + IDWriteFontFile **fontfile); +} + +[ + local, + object, + uuid(dc102f47-a12d-4b1c-822d-9e117e33043f) +] +interface IDWriteInMemoryFontFileLoader : IDWriteFontFileLoader +{ + HRESULT CreateInMemoryFontFileReference( + IDWriteFactory *factory, + void const *data, + UINT32 data_size, + IUnknown *owner, + IDWriteFontFile **fontfile); + UINT32 GetFileCount(); +} + +[ + local, + object, + uuid(958db99a-be2a-4f09-af7d-65189803d1d3) +] +interface IDWriteFactory5 : IDWriteFactory4 +{ + HRESULT CreateFontSetBuilder(IDWriteFontSetBuilder1 **fontset_builder); + HRESULT CreateInMemoryFontFileLoader(IDWriteFontFileLoader **loader); + HRESULT CreateHttpFontFileLoader( + WCHAR const *referrer_url, + WCHAR const *extra_headers, + IDWriteRemoteFontFileLoader **loader); + DWRITE_CONTAINER_TYPE AnalyzeContainerType(void const *data, UINT32 data_size); + HRESULT UnpackFontFile( + DWRITE_CONTAINER_TYPE container_type, + void const *data, + UINT32 data_size, + IDWriteFontFileStream **stream); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxdiag.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxdiag.h new file mode 100644 index 0000000..47cd36e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxdiag.h @@ -0,0 +1,155 @@ +/* + * Copyright (C) 2004 Raphael Junqueira + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DXDIAG_H +#define __WINE_DXDIAG_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/***************************************************************************** + * #defines and error codes + */ +#define DXDIAG_DX9_SDK_VERSION 111 + +#define _FACDXDIAG 0x007 +#define MAKE_DXDIAGHRESULT( code ) MAKE_HRESULT( 1, _FACDXDIAG, code ) + +/* + * DXDiag Errors + */ +#define DXDIAG_E_INSUFFICIENT_BUFFER MAKE_DXDIAGHRESULT(0x007A) + + +/***************************************************************************** + * DXDiag structures Typedefs + */ +typedef struct _DXDIAG_INIT_PARAMS { + DWORD dwSize; + DWORD dwDxDiagHeaderVersion; + BOOL bAllowWHQLChecks; + VOID* pReserved; +} DXDIAG_INIT_PARAMS; + + +/***************************************************************************** + * Predeclare the interfaces + */ +/* CLSIDs */ +DEFINE_GUID(CLSID_DxDiagProvider, 0xA65B8071, 0x3BFE, 0x4213, 0x9A, 0x5B, 0x49, 0x1D, 0xA4, 0x46, 0x1C, 0xA7); + +/* IIDs */ +DEFINE_GUID(IID_IDxDiagProvider, 0x9C6B4CB0, 0x23F8, 0x49CC, 0xA3, 0xED, 0x45, 0xA5, 0x50, 0x00, 0xA6, 0xD2); +DEFINE_GUID(IID_IDxDiagContainer, 0x7D0F462F, 0x4064, 0x4862, 0xBC, 0x7F, 0x93, 0x3E, 0x50, 0x58, 0xC1, 0x0F); + +/* typedef definitions */ +typedef struct IDxDiagProvider *LPDXDIAGPROVIDER, *PDXDIAGPROVIDER; +typedef struct IDxDiagContainer *LPDXDIAGCONTAINER, *PDXDIAGCONTAINER; + +/***************************************************************************** + * IDxDiagContainer interface + */ +#ifdef WINE_NO_UNICODE_MACROS +#undef GetProp +#endif + +#define INTERFACE IDxDiagContainer +DECLARE_INTERFACE_(IDxDiagContainer,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDxDiagContainer methods ***/ + STDMETHOD(GetNumberOfChildContainers)(THIS_ DWORD* pdwCount) PURE; + STDMETHOD(EnumChildContainerNames)(THIS_ DWORD dwIndex, LPWSTR pwszContainer, DWORD cchContainer) PURE; + STDMETHOD(GetChildContainer)(THIS_ LPCWSTR pwszContainer, IDxDiagContainer** ppInstance) PURE; + STDMETHOD(GetNumberOfProps)(THIS_ DWORD* pdwCount) PURE; + STDMETHOD(EnumPropNames)(THIS_ DWORD dwIndex, LPWSTR pwszPropName, DWORD cchPropName) PURE; + STDMETHOD(GetProp)(THIS_ LPCWSTR pwszPropName, VARIANT* pvarProp) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDxDiagContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDxDiagContainer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDxDiagContainer_Release(p) (p)->lpVtbl->Release(p) +/*** IDxDiagContainer methods ***/ +#define IDxDiagContainer_GetNumberOfChildContainers(p,a) (p)->lpVtbl->GetNumberOfChildContainers(p,a) +#define IDxDiagContainer_EnumChildContainerNames(p,a,b,c) (p)->lpVtbl->EnumChildContainerNames(p,a,b,c) +#define IDxDiagContainer_GetChildContainer(p,a,b) (p)->lpVtbl->GetChildContainer(p,a,b) +#define IDxDiagContainer_GetNumberOfProps(p,a) (p)->lpVtbl->GetNumberOfProps(p,a) +#define IDxDiagContainer_EnumPropNames(p,a,b,c) (p)->lpVtbl->EnumPropNames(p,a,b,c) +#define IDxDiagContainer_GetProp(p,a,b) (p)->lpVtbl->GetProp(p,a,b) +#else +/*** IUnknown methods ***/ +#define IDxDiagContainer_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDxDiagContainer_AddRef(p) (p)->AddRef() +#define IDxDiagContainer_Release(p) (p)->Release() +/*** IDxDiagContainer methods ***/ +#define IDxDiagContainer_GetNumberOfChildContainers(p,a) (p)->GetNumberOfChildContainers(a) +#define IDxDiagContainer_EnumChildContainerNames(p,a,b,c) (p)->EnumChildContainerNames(a,b,c) +#define IDxDiagContainer_GetChildContainer(p,a,b) (p)->GetChildContainer(a,b) +#define IDxDiagContainer_GetNumberOfProps(p,a) (p)->GetNumberOfProps(a) +#define IDxDiagContainer_EnumPropNames(p,a,b,c) (p)->EnumPropNames(a,b,c) +#define IDxDiagContainer_GetProp(p,a,b) (p)->GetProp(a,b) +#endif + +/***************************************************************************** + * IDxDiagProvider interface + */ +#define INTERFACE IDxDiagProvider +DECLARE_INTERFACE_(IDxDiagProvider,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDxDiagProvider methods ***/ + STDMETHOD(Initialize)(THIS_ DXDIAG_INIT_PARAMS* pParams) PURE; + STDMETHOD(GetRootContainer)(THIS_ IDxDiagContainer** ppInstance) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IDxDiagProvider_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDxDiagProvider_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDxDiagProvider_Release(p) (p)->lpVtbl->Release(p) +/*** IDxDiagProvider methods ***/ +#define IDxDiagProvider_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) +#define IDxDiagProvider_GetRootContainer(p,a) (p)->lpVtbl->GetRootContainer(p,a) +#else +/*** IUnknown methods ***/ +#define IDxDiagProvider_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IDxDiagProvider_AddRef(p) (p)->AddRef() +#define IDxDiagProvider_Release(p) (p)->Release() +/*** IDxDiagProvider methods ***/ +#define IDxDiagProvider_Initialize(p,a) (p)->Initialize(a) +#define IDxDiagProvider_GetRootContainer(p,a) (p)->GetRootContainer(a) +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxerr8.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxerr8.h new file mode 100644 index 0000000..94fb6cf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxerr8.h @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2004 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DXERR8_H +#define __WINE_DXERR8_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +const char* WINAPI DXGetErrorString8A(HRESULT hr); +const WCHAR* WINAPI DXGetErrorString8W(HRESULT hr); +#define DXGetErrorString8 WINELIB_NAME_AW(DXGetErrorString8) + +const char* WINAPI DXGetErrorDescription8A(HRESULT hr); +const WCHAR* WINAPI DXGetErrorDescription8W(HRESULT hr); +#define DXGetErrorDescription8 WINELIB_NAME_AW(DXGetErrorDescription8) + +HRESULT WINAPI DXTraceA(const char* strFile, DWORD dwLine, HRESULT hr, const char* strMsg, BOOL bPopMsgBox); +HRESULT WINAPI DXTraceW(const char* strFile, DWORD dwLine, HRESULT hr, const WCHAR* strMsg, BOOL bPopMsgBox); +#define DXTrace WINELIB_NAME_AW(DXTrace) + +#if defined(DEBUG) || defined(_DEBUG) +#define DXTRACE_MSG(str) DXTrace(__FILE__, (DWORD)__LINE__, 0, str, FALSE) +#define DXTRACE_ERR(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, TRUE) +#define DXTRACE_ERR_NOMSGBOX(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, FALSE) +#else +#define DXTRACE_MSG(str) __MSABI_LONG(0) +#define DXTRACE_ERR(str,hr) (hr) +#define DXTRACE_ERR_NOMSGBOX(str,hr) (hr) +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DXERR8_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxerr9.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxerr9.h new file mode 100644 index 0000000..a26fc2a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxerr9.h @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2004 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DXERR9_H +#define __WINE_DXERR9_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +const char* WINAPI DXGetErrorString9A(HRESULT hr); +const WCHAR* WINAPI DXGetErrorString9W(HRESULT hr); +#define DXGetErrorString9 WINELIB_NAME_AW(DXGetErrorString9) + +const char* WINAPI DXGetErrorDescription9A(HRESULT hr); +const WCHAR* WINAPI DXGetErrorDescription9W(HRESULT hr); +#define DXGetErrorDescription9 WINELIB_NAME_AW(DXGetErrorDescription9) + +HRESULT WINAPI DXTraceA(const char* strFile, DWORD dwLine, HRESULT hr, const char* strMsg, BOOL bPopMsgBox); +HRESULT WINAPI DXTraceW(const char* strFile, DWORD dwLine, HRESULT hr, const WCHAR* strMsg, BOOL bPopMsgBox); +#define DXTrace WINELIB_NAME_AW(DXTrace) + +#if defined(DEBUG) || defined(_DEBUG) +#define DXTRACE_MSG(str) DXTrace(__FILE__, (DWORD)__LINE__, 0, str, FALSE) +#define DXTRACE_ERR(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, TRUE) +#define DXTRACE_ERR_NOMSGBOX(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, FALSE) +#else +#define DXTRACE_MSG(str) __MSABI_LONG(0) +#define DXTRACE_ERR(str,hr) (hr) +#define DXTRACE_ERR_NOMSGBOX(str,hr) (hr) +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DXERR9_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxfile.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxfile.h new file mode 100644 index 0000000..67caf7c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxfile.h @@ -0,0 +1,299 @@ +/* + * Copyright 2004 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_DXFILE_H +#define __WINE_DXFILE_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef DWORD DXFILEFORMAT; + +#define DXFILEFORMAT_BINARY 0 +#define DXFILEFORMAT_TEXT 1 +#define DXFILEFORMAT_COMPRESSED 2 + +typedef DWORD DXFILELOADOPTIONS; + +#define DXFILELOAD_FROMFILE __MSABI_LONG(0x00) +#define DXFILELOAD_FROMRESOURCE __MSABI_LONG(0x01) +#define DXFILELOAD_FROMMEMORY __MSABI_LONG(0x02) +#define DXFILELOAD_FROMSTREAM __MSABI_LONG(0x04) +#define DXFILELOAD_FROMURL __MSABI_LONG(0x08) + +typedef struct _DXFILELOADRESOURCE { + HMODULE hModule; + LPCSTR /*LPCTSTR*/ lpName; + LPCSTR /*LPCTSTR*/ lpType; +} DXFILELOADRESOURCE, *LPDXFILELOADRESOURCE; + +typedef struct _DXFILELOADMEMORY { + LPVOID lpMemory; + DWORD dSize; +} DXFILELOADMEMORY, *LPDXFILELOADMEMORY; + +typedef struct IDirectXFile *LPDIRECTXFILE; +typedef struct IDirectXFileEnumObject *LPDIRECTXFILEENUMOBJECT; +typedef struct IDirectXFileSaveObject *LPDIRECTXFILESAVEOBJECT; +typedef struct IDirectXFileObject *LPDIRECTXFILEOBJECT; +typedef struct IDirectXFileData *LPDIRECTXFILEDATA; +typedef struct IDirectXFileDataReference *LPDIRECTXFILEDATAREFERENCE; +typedef struct IDirectXFileBinary *LPDIRECTXFILEBINARY; + +STDAPI DirectXFileCreate(LPDIRECTXFILE *lplpDirectXFile); + +#define INTERFACE IDirectXFile +DECLARE_INTERFACE_(IDirectXFile,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectXFile methods ***/ + STDMETHOD(CreateEnumObject) (THIS_ LPVOID, DXFILELOADOPTIONS, LPDIRECTXFILEENUMOBJECT *) PURE; + STDMETHOD(CreateSaveObject) (THIS_ LPCSTR, DXFILEFORMAT, LPDIRECTXFILESAVEOBJECT *) PURE; + STDMETHOD(RegisterTemplates) (THIS_ LPVOID, DWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFile_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFile_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFile_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFile methods ***/ +#define IDirectXFile_CreateEnumObject(p,a,b,c) (p)->lpVtbl->CreateEnumObject(p,a,b,c) +#define IDirectXFile_CreateSaveObject(p,a,b,c) (p)->lpVtbl->CreateSaveObject(p,a,b,c) +#define IDirectXFile_RegisterTemplates(p,a,b) (p)->lpVtbl->RegisterTemplates(p,a,b) +#endif + +#define INTERFACE IDirectXFileEnumObject +DECLARE_INTERFACE_(IDirectXFileEnumObject,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectXFileEnumObject methods ***/ + STDMETHOD(GetNextDataObject) (THIS_ LPDIRECTXFILEDATA *) PURE; + STDMETHOD(GetDataObjectById) (THIS_ REFGUID, LPDIRECTXFILEDATA *) PURE; + STDMETHOD(GetDataObjectByName) (THIS_ LPCSTR, LPDIRECTXFILEDATA *) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFileEnumObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFileEnumObject_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFileEnumObject_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFileEnumObject methods ***/ +#define IDirectXFileEnumObject_GetNextDataObject(p,a) (p)->lpVtbl->GetNextDataObject(p,a) +#define IDirectXFileEnumObject_GetDataObjectById(p,a,b) (p)->lpVtbl->GetDataObjectById(p,a,b) +#define IDirectXFileEnumObject_GetDataObjectByName(p,a,b) (p)->lpVtbl->GetDataObjectByName(p,a,b) +#endif + +#define INTERFACE IDirectXFileSaveObject +DECLARE_INTERFACE_(IDirectXFileSaveObject,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDirectXFileSaveObject methods ***/ + STDMETHOD(SaveTemplates) (THIS_ DWORD, const GUID **) PURE; + STDMETHOD(CreateDataObject) (THIS_ REFGUID, LPCSTR, const GUID *, DWORD, LPVOID, LPDIRECTXFILEDATA *) PURE; + STDMETHOD(SaveData) (THIS_ LPDIRECTXFILEDATA) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFileSaveObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFileSaveObject_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFileSaveObject_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFileSaveObject methods ***/ +#define IDirectXFileSaveObject_SaveTemplates(p,a,b) (p)->lpVtbl->SaveTemplates(p,a,b) +#define IDirectXFileSaveObject_CreateDataObject(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDataObject(p,a,b,c,d,e,f) +#define IDirectXFileSaveObject_SaveData(p,a) (p)->lpVtbl->SaveData(p,a) +#endif + +#define IUNKNOWN_METHODS(kind) \ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) kind; \ + STDMETHOD_(ULONG,AddRef)(THIS) kind; \ + STDMETHOD_(ULONG,Release)(THIS) kind + +#define IDIRECTXFILEOBJECT_METHODS(kind) \ + STDMETHOD(GetName) (THIS_ LPSTR, LPDWORD) kind; \ + STDMETHOD(GetId) (THIS_ LPGUID) kind + +#define INTERFACE IDirectXFileObject +DECLARE_INTERFACE_(IDirectXFileObject,IUnknown) +{ + IUNKNOWN_METHODS(PURE); + IDIRECTXFILEOBJECT_METHODS(PURE); +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFileObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFileObject_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFileObject_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFileObject methods ***/ +#define IDirectXFileObject_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirectXFileObject_GetId(p,a) (p)->lpVtbl->GetId(p,a) +#endif + +#define INTERFACE IDirectXFileData +DECLARE_INTERFACE_(IDirectXFileData,IDirectXFileObject) +{ + IUNKNOWN_METHODS(PURE); + IDIRECTXFILEOBJECT_METHODS(PURE); + /*** IDirectXFileData methods ***/ + STDMETHOD(GetData) (THIS_ LPCSTR, DWORD *, void **) PURE; + STDMETHOD(GetType) (THIS_ const GUID **) PURE; + STDMETHOD(GetNextObject) (THIS_ LPDIRECTXFILEOBJECT *) PURE; + STDMETHOD(AddDataObject) (THIS_ LPDIRECTXFILEDATA) PURE; + STDMETHOD(AddDataReference) (THIS_ LPCSTR, const GUID *) PURE; + STDMETHOD(AddBinaryObject) (THIS_ LPCSTR, const GUID *, LPCSTR, LPVOID, DWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFileData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFileData_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFileData_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFileObject methods ***/ +#define IDirectXFileData_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirectXFileData_GetId(p,a) (p)->lpVtbl->GetId(p,a) + /*** IDirectXFileData methods ***/ +#define IDirectXFileData_GetData(p,a,b,c) (p)->lpVtbl->GetData(p,a,b,c) +#define IDirectXFileData_GetType(p,a) (p)->lpVtbl->GetType(p,a) +#define IDirectXFileData_GetNextObject(p,a) (p)->lpVtbl->GetNextObject(p,a) +#define IDirectXFileData_AddDataObject(p,a) (p)->lpVtbl->AddDataObject(p,a) +#define IDirectXFileData_AddDataReference(p,a,b) (p)->lpVtbl->AddDataReference(p,a,b) +#define IDirectXFileData_AddBinaryObject(p,a,b,c,d,e) (p)->lpVtbl->AddBinaryObject(p,a,b,c,d,e) +#endif + +#define INTERFACE IDirectXFileDataReference +DECLARE_INTERFACE_(IDirectXFileDataReference,IDirectXFileObject) +{ + IUNKNOWN_METHODS(PURE); + IDIRECTXFILEOBJECT_METHODS(PURE); + /*** IDirectXFileDataReference methods ***/ + STDMETHOD(Resolve) (THIS_ LPDIRECTXFILEDATA *) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFileDataReference_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFileDataReference_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFileDataReference_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFileObject methods ***/ +#define IDirectXFileDataReference_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirectXFileDataReference_GetId(p,a) (p)->lpVtbl->GetId(p,a) + /*** IDirectXFileDataReference methods ***/ +#define IDirectXFileDataReference_Resolve(p,a) (p)->lpVtbl->Resolve(p,a) +#endif + +#define INTERFACE IDirectXFileBinary +DECLARE_INTERFACE_(IDirectXFileBinary,IDirectXFileObject) +{ + IUNKNOWN_METHODS(PURE); + IDIRECTXFILEOBJECT_METHODS(PURE); + /*** IDirectXFileBinary methods ***/ + STDMETHOD(GetSize) (THIS_ DWORD *) PURE; + STDMETHOD(GetMimeType) (THIS_ LPCSTR *) PURE; + STDMETHOD(Read) (THIS_ LPVOID, DWORD, LPDWORD) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IDirectXFileBinary_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IDirectXFileBinary_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IDirectXFileBinary_Release(p) (p)->lpVtbl->Release(p) + /*** IDirectXFileObject methods ***/ +#define IDirectXFileBinary_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) +#define IDirectXFileBinary_GetId(p,a) (p)->lpVtbl->GetId(p,a) + /*** IDirectXFileBinary methods ***/ +#define IDirectXFileBinary_GetSize(p,a) (p)->lpVtbl->GetSize(p,a) +#define IDirectXFileBinary_GetMimeType(p,a) (p)->lpVtbl->GetMimeType(p,a) +#define IDirectXFileBinary_Read(p,a,b,c) (p)->lpVtbl->Read(p,a,b,c) +#endif + +/* DirectXFile Object CLSID */ +DEFINE_GUID(CLSID_CDirectXFile, 0x4516ec43, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); + +/* DirectX File Interface GUIDs */ +DEFINE_GUID(IID_IDirectXFile, 0x3d82ab40, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); +DEFINE_GUID(IID_IDirectXFileEnumObject, 0x3d82ab41, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); +DEFINE_GUID(IID_IDirectXFileSaveObject, 0x3d82ab42, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); +DEFINE_GUID(IID_IDirectXFileObject, 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); +DEFINE_GUID(IID_IDirectXFileData, 0x3d82ab44, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); +DEFINE_GUID(IID_IDirectXFileDataReference, 0x3d82ab45, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); +DEFINE_GUID(IID_IDirectXFileBinary, 0x3d82ab46, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +/* DirectX File Header template's GUID */ +DEFINE_GUID(TID_DXFILEHeader, 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +/* DirectX File errors */ +#define _FACDD 0x876 +#define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code ) + +#define DXFILE_OK 0 + +#define DXFILEERR_BADOBJECT MAKE_DDHRESULT(850) +#define DXFILEERR_BADVALUE MAKE_DDHRESULT(851) +#define DXFILEERR_BADTYPE MAKE_DDHRESULT(852) +#define DXFILEERR_BADSTREAMHANDLE MAKE_DDHRESULT(853) +#define DXFILEERR_BADALLOC MAKE_DDHRESULT(854) +#define DXFILEERR_NOTFOUND MAKE_DDHRESULT(855) +#define DXFILEERR_NOTDONEYET MAKE_DDHRESULT(856) +#define DXFILEERR_FILENOTFOUND MAKE_DDHRESULT(857) +#define DXFILEERR_RESOURCENOTFOUND MAKE_DDHRESULT(858) +#define DXFILEERR_URLNOTFOUND MAKE_DDHRESULT(859) +#define DXFILEERR_BADRESOURCE MAKE_DDHRESULT(860) +#define DXFILEERR_BADFILETYPE MAKE_DDHRESULT(861) +#define DXFILEERR_BADFILEVERSION MAKE_DDHRESULT(862) +#define DXFILEERR_BADFILEFLOATSIZE MAKE_DDHRESULT(863) +#define DXFILEERR_BADFILECOMPRESSIONTYPE MAKE_DDHRESULT(864) +#define DXFILEERR_BADFILE MAKE_DDHRESULT(865) +#define DXFILEERR_PARSEERROR MAKE_DDHRESULT(866) +#define DXFILEERR_NOTEMPLATE MAKE_DDHRESULT(867) +#define DXFILEERR_BADARRAYSIZE MAKE_DDHRESULT(868) +#define DXFILEERR_BADDATAREFERENCE MAKE_DDHRESULT(869) +#define DXFILEERR_INTERNALERROR MAKE_DDHRESULT(870) +#define DXFILEERR_NOMOREOBJECTS MAKE_DDHRESULT(871) +#define DXFILEERR_BADINTRINSICS MAKE_DDHRESULT(872) +#define DXFILEERR_NOMORESTREAMHANDLES MAKE_DDHRESULT(873) +#define DXFILEERR_NOMOREDATA MAKE_DDHRESULT(874) +#define DXFILEERR_BADCACHEFILE MAKE_DDHRESULT(875) +#define DXFILEERR_NOINTERNET MAKE_DDHRESULT(876) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_DXFILE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi.h new file mode 100644 index 0000000..b8bb7d3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi.h @@ -0,0 +1,2657 @@ +/*** Autogenerated by WIDL 2.18 from dxgi.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgi_h__ +#define __dxgi_h__ + +/* Forward declarations */ + +#ifndef __IDXGIObject_FWD_DEFINED__ +#define __IDXGIObject_FWD_DEFINED__ +typedef interface IDXGIObject IDXGIObject; +#ifdef __cplusplus +interface IDXGIObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDeviceSubObject_FWD_DEFINED__ +#define __IDXGIDeviceSubObject_FWD_DEFINED__ +typedef interface IDXGIDeviceSubObject IDXGIDeviceSubObject; +#ifdef __cplusplus +interface IDXGIDeviceSubObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIResource_FWD_DEFINED__ +#define __IDXGIResource_FWD_DEFINED__ +typedef interface IDXGIResource IDXGIResource; +#ifdef __cplusplus +interface IDXGIResource; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIKeyedMutex_FWD_DEFINED__ +#define __IDXGIKeyedMutex_FWD_DEFINED__ +typedef interface IDXGIKeyedMutex IDXGIKeyedMutex; +#ifdef __cplusplus +interface IDXGIKeyedMutex; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISurface_FWD_DEFINED__ +#define __IDXGISurface_FWD_DEFINED__ +typedef interface IDXGISurface IDXGISurface; +#ifdef __cplusplus +interface IDXGISurface; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISurface1_FWD_DEFINED__ +#define __IDXGISurface1_FWD_DEFINED__ +typedef interface IDXGISurface1 IDXGISurface1; +#ifdef __cplusplus +interface IDXGISurface1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIOutput_FWD_DEFINED__ +#define __IDXGIOutput_FWD_DEFINED__ +typedef interface IDXGIOutput IDXGIOutput; +#ifdef __cplusplus +interface IDXGIOutput; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIAdapter_FWD_DEFINED__ +#define __IDXGIAdapter_FWD_DEFINED__ +typedef interface IDXGIAdapter IDXGIAdapter; +#ifdef __cplusplus +interface IDXGIAdapter; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISwapChain_FWD_DEFINED__ +#define __IDXGISwapChain_FWD_DEFINED__ +typedef interface IDXGISwapChain IDXGISwapChain; +#ifdef __cplusplus +interface IDXGISwapChain; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactory_FWD_DEFINED__ +#define __IDXGIFactory_FWD_DEFINED__ +typedef interface IDXGIFactory IDXGIFactory; +#ifdef __cplusplus +interface IDXGIFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDevice_FWD_DEFINED__ +#define __IDXGIDevice_FWD_DEFINED__ +typedef interface IDXGIDevice IDXGIDevice; +#ifdef __cplusplus +interface IDXGIDevice; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIAdapter1_FWD_DEFINED__ +#define __IDXGIAdapter1_FWD_DEFINED__ +typedef interface IDXGIAdapter1 IDXGIAdapter1; +#ifdef __cplusplus +interface IDXGIAdapter1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDevice1_FWD_DEFINED__ +#define __IDXGIDevice1_FWD_DEFINED__ +typedef interface IDXGIDevice1 IDXGIDevice1; +#ifdef __cplusplus +interface IDXGIDevice1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactory1_FWD_DEFINED__ +#define __IDXGIFactory1_FWD_DEFINED__ +typedef interface IDXGIFactory1 IDXGIFactory1; +#ifdef __cplusplus +interface IDXGIFactory1; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define _FACDXGI (0x87a) + +#define MAKE_DXGI_STATUS(x) MAKE_HRESULT(0, _FACDXGI, x) +#define MAKE_DXGI_HRESULT(x) MAKE_HRESULT(1, _FACDXGI, x) +#if 0 +typedef HANDLE HMONITOR; +typedef struct _LUID { + DWORD LowPart; + LONG HighPart; +} LUID; +typedef struct _LUID *PLUID; +#endif +typedef UINT DXGI_USAGE; +#define DXGI_USAGE_SHADER_INPUT (0x10) + +#define DXGI_USAGE_RENDER_TARGET_OUTPUT (0x20) + +#define DXGI_USAGE_BACK_BUFFER (0x40) + +#define DXGI_USAGE_SHARED (0x80) + +#define DXGI_USAGE_READ_ONLY (0x100) + +#define DXGI_USAGE_DISCARD_ON_PRESENT (0x200) + +#define DXGI_USAGE_UNORDERED_ACCESS (0x400) + +#define DXGI_ENUM_MODES_INTERLACED (1) + +#define DXGI_ENUM_MODES_SCALING (2) + +#define DXGI_RESOURCE_PRIORITY_MINIMUM (0x28000000) + +#define DXGI_RESOURCE_PRIORITY_LOW (0x50000000) + +#define DXGI_RESOURCE_PRIORITY_NORMAL (0x78000000) + +#define DXGI_RESOURCE_PRIORITY_HIGH (0xa0000000) + +#define DXGI_RESOURCE_PRIORITY_MAXIMUM (0xc8000000) + +#define DXGI_MAP_READ (0x1) + +#define DXGI_MAP_WRITE (0x2) + +#define DXGI_MAP_DISCARD (0x4) + +typedef enum DXGI_SWAP_EFFECT { + DXGI_SWAP_EFFECT_DISCARD = 0, + DXGI_SWAP_EFFECT_SEQUENTIAL = 1, + DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3, + DXGI_SWAP_EFFECT_FLIP_DISCARD = 4 +} DXGI_SWAP_EFFECT; +typedef enum DXGI_RESIDENCY { + DXGI_RESIDENCY_FULLY_RESIDENT = 1, + DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY = 2, + DXGI_RESIDENCY_EVICTED_TO_DISK = 3 +} DXGI_RESIDENCY; +typedef struct DXGI_SURFACE_DESC { + UINT Width; + UINT Height; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; +} DXGI_SURFACE_DESC; +typedef struct DXGI_MAPPED_RECT { + INT Pitch; + BYTE *pBits; +} DXGI_MAPPED_RECT; +typedef struct DXGI_OUTPUT_DESC { + WCHAR DeviceName[32]; + RECT DesktopCoordinates; + BOOL AttachedToDesktop; + DXGI_MODE_ROTATION Rotation; + HMONITOR Monitor; +} DXGI_OUTPUT_DESC; +typedef struct DXGI_FRAME_STATISTICS { + UINT PresentCount; + UINT PresentRefreshCount; + UINT SyncRefreshCount; + LARGE_INTEGER SyncQPCTime; + LARGE_INTEGER SyncGPUTime; +} DXGI_FRAME_STATISTICS; +typedef struct DXGI_ADAPTER_DESC { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; +} DXGI_ADAPTER_DESC; +typedef enum DXGI_SWAP_CHAIN_FLAG { + DXGI_SWAP_CHAIN_FLAG_NONPREROTATED = 1, + DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH = 2, + DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE = 4 +} DXGI_SWAP_CHAIN_FLAG; +typedef struct DXGI_SWAP_CHAIN_DESC { + DXGI_MODE_DESC BufferDesc; + DXGI_SAMPLE_DESC SampleDesc; + DXGI_USAGE BufferUsage; + UINT BufferCount; + HWND OutputWindow; + BOOL Windowed; + DXGI_SWAP_EFFECT SwapEffect; + UINT Flags; +} DXGI_SWAP_CHAIN_DESC; +typedef struct DXGI_SHARED_RESOURCE { + HANDLE Handle; +} DXGI_SHARED_RESOURCE; +/***************************************************************************** + * IDXGIObject interface + */ +#ifndef __IDXGIObject_INTERFACE_DEFINED__ +#define __IDXGIObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIObject, 0xaec22fb8, 0x76f3, 0x4639, 0x9b,0xe0, 0x28,0xeb,0x43,0xa6,0x7a,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aec22fb8-76f3-4639-9be0-28eb43a67a2e") +IDXGIObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + REFGUID guid, + UINT data_size, + const void *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( + REFGUID guid, + const IUnknown *object) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrivateData( + REFGUID guid, + UINT *data_size, + void *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParent( + REFIID riid, + void **parent) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIObject, 0xaec22fb8, 0x76f3, 0x4639, 0x9b,0xe0, 0x28,0xeb,0x43,0xa6,0x7a,0x2e) +#endif +#else +typedef struct IDXGIObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIObject *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIObject *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIObject *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIObject *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIObject *This, + REFIID riid, + void **parent); + + END_INTERFACE +} IDXGIObjectVtbl; + +interface IDXGIObject { + CONST_VTBL IDXGIObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIObject_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIObject_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIObject_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIObject_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIObject_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIObject_QueryInterface(IDXGIObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIObject_AddRef(IDXGIObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIObject_Release(IDXGIObject* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIObject_SetPrivateData(IDXGIObject* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIObject_SetPrivateDataInterface(IDXGIObject* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIObject_GetPrivateData(IDXGIObject* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIObject_GetParent(IDXGIObject* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIDeviceSubObject interface + */ +#ifndef __IDXGIDeviceSubObject_INTERFACE_DEFINED__ +#define __IDXGIDeviceSubObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDeviceSubObject, 0x3d3e0379, 0xf9de, 0x4d58, 0xbb,0x6c, 0x18,0xd6,0x29,0x92,0xf1,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d3e0379-f9de-4d58-bb6c-18d62992f1a6") +IDXGIDeviceSubObject : public IDXGIObject +{ + virtual HRESULT STDMETHODCALLTYPE GetDevice( + REFIID riid, + void **device) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDeviceSubObject, 0x3d3e0379, 0xf9de, 0x4d58, 0xbb,0x6c, 0x18,0xd6,0x29,0x92,0xf1,0xa6) +#endif +#else +typedef struct IDXGIDeviceSubObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDeviceSubObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDeviceSubObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDeviceSubObject *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDeviceSubObject *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDeviceSubObject *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDeviceSubObject *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDeviceSubObject *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGIDeviceSubObject *This, + REFIID riid, + void **device); + + END_INTERFACE +} IDXGIDeviceSubObjectVtbl; + +interface IDXGIDeviceSubObject { + CONST_VTBL IDXGIDeviceSubObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDeviceSubObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDeviceSubObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDeviceSubObject_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDeviceSubObject_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDeviceSubObject_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDeviceSubObject_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDeviceSubObject_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGIDeviceSubObject_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDeviceSubObject_QueryInterface(IDXGIDeviceSubObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDeviceSubObject_AddRef(IDXGIDeviceSubObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDeviceSubObject_Release(IDXGIDeviceSubObject* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDeviceSubObject_SetPrivateData(IDXGIDeviceSubObject* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDeviceSubObject_SetPrivateDataInterface(IDXGIDeviceSubObject* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDeviceSubObject_GetPrivateData(IDXGIDeviceSubObject* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDeviceSubObject_GetParent(IDXGIDeviceSubObject* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGIDeviceSubObject_GetDevice(IDXGIDeviceSubObject* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDeviceSubObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIResource interface + */ +#ifndef __IDXGIResource_INTERFACE_DEFINED__ +#define __IDXGIResource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIResource, 0x035f3ab4, 0x482e, 0x4e50, 0xb4,0x1f, 0x8a,0x7f,0x8b,0xd8,0x96,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("035f3ab4-482e-4e50-b41f-8a7f8bd8960b") +IDXGIResource : public IDXGIDeviceSubObject +{ + virtual HRESULT STDMETHODCALLTYPE GetSharedHandle( + HANDLE *pSharedHandle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUsage( + DXGI_USAGE *pUsage) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEvictionPriority( + UINT EvictionPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEvictionPriority( + UINT *pEvictionPriority) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIResource, 0x035f3ab4, 0x482e, 0x4e50, 0xb4,0x1f, 0x8a,0x7f,0x8b,0xd8,0x96,0x0b) +#endif +#else +typedef struct IDXGIResourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIResource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIResource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIResource *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIResource *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIResource *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIResource *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIResource *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGIResource *This, + REFIID riid, + void **device); + + /*** IDXGIResource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSharedHandle)( + IDXGIResource *This, + HANDLE *pSharedHandle); + + HRESULT (STDMETHODCALLTYPE *GetUsage)( + IDXGIResource *This, + DXGI_USAGE *pUsage); + + HRESULT (STDMETHODCALLTYPE *SetEvictionPriority)( + IDXGIResource *This, + UINT EvictionPriority); + + HRESULT (STDMETHODCALLTYPE *GetEvictionPriority)( + IDXGIResource *This, + UINT *pEvictionPriority); + + END_INTERFACE +} IDXGIResourceVtbl; + +interface IDXGIResource { + CONST_VTBL IDXGIResourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIResource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIResource_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIResource_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIResource_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIResource_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIResource_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGIResource_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGIResource methods ***/ +#define IDXGIResource_GetSharedHandle(This,pSharedHandle) (This)->lpVtbl->GetSharedHandle(This,pSharedHandle) +#define IDXGIResource_GetUsage(This,pUsage) (This)->lpVtbl->GetUsage(This,pUsage) +#define IDXGIResource_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define IDXGIResource_GetEvictionPriority(This,pEvictionPriority) (This)->lpVtbl->GetEvictionPriority(This,pEvictionPriority) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIResource_QueryInterface(IDXGIResource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIResource_AddRef(IDXGIResource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIResource_Release(IDXGIResource* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIResource_SetPrivateData(IDXGIResource* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIResource_SetPrivateDataInterface(IDXGIResource* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIResource_GetPrivateData(IDXGIResource* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIResource_GetParent(IDXGIResource* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGIResource_GetDevice(IDXGIResource* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGIResource methods ***/ +static FORCEINLINE HRESULT IDXGIResource_GetSharedHandle(IDXGIResource* This,HANDLE *pSharedHandle) { + return This->lpVtbl->GetSharedHandle(This,pSharedHandle); +} +static FORCEINLINE HRESULT IDXGIResource_GetUsage(IDXGIResource* This,DXGI_USAGE *pUsage) { + return This->lpVtbl->GetUsage(This,pUsage); +} +static FORCEINLINE HRESULT IDXGIResource_SetEvictionPriority(IDXGIResource* This,UINT EvictionPriority) { + return This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE HRESULT IDXGIResource_GetEvictionPriority(IDXGIResource* This,UINT *pEvictionPriority) { + return This->lpVtbl->GetEvictionPriority(This,pEvictionPriority); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIResource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIKeyedMutex interface + */ +#ifndef __IDXGIKeyedMutex_INTERFACE_DEFINED__ +#define __IDXGIKeyedMutex_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIKeyedMutex, 0x9d8e1289, 0xd7b3, 0x465f, 0x81,0x26, 0x25,0x0e,0x34,0x9a,0xf8,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9d8e1289-d7b3-465f-8126-250e349af85d") +IDXGIKeyedMutex : public IDXGIDeviceSubObject +{ + virtual HRESULT STDMETHODCALLTYPE AcquireSync( + UINT64 Key, + DWORD dwMilliseconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseSync( + UINT64 Key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIKeyedMutex, 0x9d8e1289, 0xd7b3, 0x465f, 0x81,0x26, 0x25,0x0e,0x34,0x9a,0xf8,0x5d) +#endif +#else +typedef struct IDXGIKeyedMutexVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIKeyedMutex *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIKeyedMutex *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIKeyedMutex *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIKeyedMutex *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIKeyedMutex *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIKeyedMutex *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIKeyedMutex *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGIKeyedMutex *This, + REFIID riid, + void **device); + + /*** IDXGIKeyedMutex methods ***/ + HRESULT (STDMETHODCALLTYPE *AcquireSync)( + IDXGIKeyedMutex *This, + UINT64 Key, + DWORD dwMilliseconds); + + HRESULT (STDMETHODCALLTYPE *ReleaseSync)( + IDXGIKeyedMutex *This, + UINT64 Key); + + END_INTERFACE +} IDXGIKeyedMutexVtbl; + +interface IDXGIKeyedMutex { + CONST_VTBL IDXGIKeyedMutexVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIKeyedMutex_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIKeyedMutex_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIKeyedMutex_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIKeyedMutex_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIKeyedMutex_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIKeyedMutex_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIKeyedMutex_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGIKeyedMutex_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGIKeyedMutex methods ***/ +#define IDXGIKeyedMutex_AcquireSync(This,Key,dwMilliseconds) (This)->lpVtbl->AcquireSync(This,Key,dwMilliseconds) +#define IDXGIKeyedMutex_ReleaseSync(This,Key) (This)->lpVtbl->ReleaseSync(This,Key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIKeyedMutex_QueryInterface(IDXGIKeyedMutex* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIKeyedMutex_AddRef(IDXGIKeyedMutex* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIKeyedMutex_Release(IDXGIKeyedMutex* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIKeyedMutex_SetPrivateData(IDXGIKeyedMutex* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIKeyedMutex_SetPrivateDataInterface(IDXGIKeyedMutex* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIKeyedMutex_GetPrivateData(IDXGIKeyedMutex* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIKeyedMutex_GetParent(IDXGIKeyedMutex* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGIKeyedMutex_GetDevice(IDXGIKeyedMutex* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGIKeyedMutex methods ***/ +static FORCEINLINE HRESULT IDXGIKeyedMutex_AcquireSync(IDXGIKeyedMutex* This,UINT64 Key,DWORD dwMilliseconds) { + return This->lpVtbl->AcquireSync(This,Key,dwMilliseconds); +} +static FORCEINLINE HRESULT IDXGIKeyedMutex_ReleaseSync(IDXGIKeyedMutex* This,UINT64 Key) { + return This->lpVtbl->ReleaseSync(This,Key); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIKeyedMutex_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGISurface interface + */ +#ifndef __IDXGISurface_INTERFACE_DEFINED__ +#define __IDXGISurface_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISurface, 0xcafcb56c, 0x6ac3, 0x4889, 0xbf,0x47, 0x9e,0x23,0xbb,0xd2,0x60,0xec); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cafcb56c-6ac3-4889-bf47-9e23bbd260ec") +IDXGISurface : public IDXGIDeviceSubObject +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc( + DXGI_SURFACE_DESC *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE Map( + DXGI_MAPPED_RECT *mapped_rect, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unmap( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISurface, 0xcafcb56c, 0x6ac3, 0x4889, 0xbf,0x47, 0x9e,0x23,0xbb,0xd2,0x60,0xec) +#endif +#else +typedef struct IDXGISurfaceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISurface *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISurface *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISurface *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISurface *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISurface *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISurface *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISurface *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISurface *This, + REFIID riid, + void **device); + + /*** IDXGISurface methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISurface *This, + DXGI_SURFACE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *Map)( + IDXGISurface *This, + DXGI_MAPPED_RECT *mapped_rect, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *Unmap)( + IDXGISurface *This); + + END_INTERFACE +} IDXGISurfaceVtbl; + +interface IDXGISurface { + CONST_VTBL IDXGISurfaceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISurface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISurface_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISurface_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISurface_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISurface_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISurface_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISurface_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISurface_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISurface methods ***/ +#define IDXGISurface_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISurface_Map(This,mapped_rect,flags) (This)->lpVtbl->Map(This,mapped_rect,flags) +#define IDXGISurface_Unmap(This) (This)->lpVtbl->Unmap(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISurface_QueryInterface(IDXGISurface* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISurface_AddRef(IDXGISurface* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISurface_Release(IDXGISurface* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISurface_SetPrivateData(IDXGISurface* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISurface_SetPrivateDataInterface(IDXGISurface* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISurface_GetPrivateData(IDXGISurface* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISurface_GetParent(IDXGISurface* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISurface_GetDevice(IDXGISurface* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISurface methods ***/ +static FORCEINLINE HRESULT IDXGISurface_GetDesc(IDXGISurface* This,DXGI_SURFACE_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISurface_Map(IDXGISurface* This,DXGI_MAPPED_RECT *mapped_rect,UINT flags) { + return This->lpVtbl->Map(This,mapped_rect,flags); +} +static FORCEINLINE HRESULT IDXGISurface_Unmap(IDXGISurface* This) { + return This->lpVtbl->Unmap(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISurface_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGISurface1 interface + */ +#ifndef __IDXGISurface1_INTERFACE_DEFINED__ +#define __IDXGISurface1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISurface1, 0x4ae63092, 0x6327, 0x4c1b, 0x80,0xae, 0xbf,0xe1,0x2e,0xa3,0x2b,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4ae63092-6327-4c1b-80ae-bfe12ea32b86") +IDXGISurface1 : public IDXGISurface +{ + virtual HRESULT STDMETHODCALLTYPE GetDC( + BOOL discard, + HDC *hdc) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseDC( + RECT *dirty_rect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISurface1, 0x4ae63092, 0x6327, 0x4c1b, 0x80,0xae, 0xbf,0xe1,0x2e,0xa3,0x2b,0x86) +#endif +#else +typedef struct IDXGISurface1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISurface1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISurface1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISurface1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISurface1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISurface1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISurface1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISurface1 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISurface1 *This, + REFIID riid, + void **device); + + /*** IDXGISurface methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISurface1 *This, + DXGI_SURFACE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *Map)( + IDXGISurface1 *This, + DXGI_MAPPED_RECT *mapped_rect, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *Unmap)( + IDXGISurface1 *This); + + /*** IDXGISurface1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDC)( + IDXGISurface1 *This, + BOOL discard, + HDC *hdc); + + HRESULT (STDMETHODCALLTYPE *ReleaseDC)( + IDXGISurface1 *This, + RECT *dirty_rect); + + END_INTERFACE +} IDXGISurface1Vtbl; + +interface IDXGISurface1 { + CONST_VTBL IDXGISurface1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISurface1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISurface1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISurface1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISurface1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISurface1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISurface1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISurface1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISurface1_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISurface methods ***/ +#define IDXGISurface1_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISurface1_Map(This,mapped_rect,flags) (This)->lpVtbl->Map(This,mapped_rect,flags) +#define IDXGISurface1_Unmap(This) (This)->lpVtbl->Unmap(This) +/*** IDXGISurface1 methods ***/ +#define IDXGISurface1_GetDC(This,discard,hdc) (This)->lpVtbl->GetDC(This,discard,hdc) +#define IDXGISurface1_ReleaseDC(This,dirty_rect) (This)->lpVtbl->ReleaseDC(This,dirty_rect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISurface1_QueryInterface(IDXGISurface1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISurface1_AddRef(IDXGISurface1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISurface1_Release(IDXGISurface1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISurface1_SetPrivateData(IDXGISurface1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISurface1_SetPrivateDataInterface(IDXGISurface1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISurface1_GetPrivateData(IDXGISurface1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISurface1_GetParent(IDXGISurface1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISurface1_GetDevice(IDXGISurface1* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISurface methods ***/ +static FORCEINLINE HRESULT IDXGISurface1_GetDesc(IDXGISurface1* This,DXGI_SURFACE_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISurface1_Map(IDXGISurface1* This,DXGI_MAPPED_RECT *mapped_rect,UINT flags) { + return This->lpVtbl->Map(This,mapped_rect,flags); +} +static FORCEINLINE HRESULT IDXGISurface1_Unmap(IDXGISurface1* This) { + return This->lpVtbl->Unmap(This); +} +/*** IDXGISurface1 methods ***/ +static FORCEINLINE HRESULT IDXGISurface1_GetDC(IDXGISurface1* This,BOOL discard,HDC *hdc) { + return This->lpVtbl->GetDC(This,discard,hdc); +} +static FORCEINLINE HRESULT IDXGISurface1_ReleaseDC(IDXGISurface1* This,RECT *dirty_rect) { + return This->lpVtbl->ReleaseDC(This,dirty_rect); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISurface1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIOutput interface + */ +#ifndef __IDXGIOutput_INTERFACE_DEFINED__ +#define __IDXGIOutput_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput, 0xae02eedb, 0xc735, 0x4690, 0x8d,0x52, 0x5a,0x8d,0xc2,0x02,0x13,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae02eedb-c735-4690-8d52-5a8dc20213aa") +IDXGIOutput : public IDXGIObject +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc( + DXGI_OUTPUT_DESC *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayModeList( + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindClosestMatchingMode( + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForVBlank( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE TakeOwnership( + IUnknown *device, + BOOL exclusive) = 0; + + virtual void STDMETHODCALLTYPE ReleaseOwnership( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGammaControlCapabilities( + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGammaControl( + const DXGI_GAMMA_CONTROL *gamma_control) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGammaControl( + DXGI_GAMMA_CONTROL *gamma_control) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDisplaySurface( + IDXGISurface *surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplaySurfaceData( + IDXGISurface *surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameStatistics( + DXGI_FRAME_STATISTICS *stats) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput, 0xae02eedb, 0xc735, 0x4690, 0x8d,0x52, 0x5a,0x8d,0xc2,0x02,0x13,0xaa) +#endif +#else +typedef struct IDXGIOutputVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput *This, + DXGI_FRAME_STATISTICS *stats); + + END_INTERFACE +} IDXGIOutputVtbl; + +interface IDXGIOutput { + CONST_VTBL IDXGIOutputVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput_QueryInterface(IDXGIOutput* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput_AddRef(IDXGIOutput* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput_Release(IDXGIOutput* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput_SetPrivateData(IDXGIOutput* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput_SetPrivateDataInterface(IDXGIOutput* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput_GetPrivateData(IDXGIOutput* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput_GetParent(IDXGIOutput* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput_GetDesc(IDXGIOutput* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput_GetDisplayModeList(IDXGIOutput* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput_FindClosestMatchingMode(IDXGIOutput* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput_WaitForVBlank(IDXGIOutput* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput_TakeOwnership(IDXGIOutput* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput_ReleaseOwnership(IDXGIOutput* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput_GetGammaControlCapabilities(IDXGIOutput* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput_SetGammaControl(IDXGIOutput* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput_GetGammaControl(IDXGIOutput* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput_SetDisplaySurface(IDXGIOutput* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput_GetDisplaySurfaceData(IDXGIOutput* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput_GetFrameStatistics(IDXGIOutput* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIAdapter interface + */ +#ifndef __IDXGIAdapter_INTERFACE_DEFINED__ +#define __IDXGIAdapter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIAdapter, 0x2411e7e1, 0x12ac, 0x4ccf, 0xbd,0x14, 0x97,0x98,0xe8,0x53,0x4d,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2411e7e1-12ac-4ccf-bd14-9798e8534dc0") +IDXGIAdapter : public IDXGIObject +{ + virtual HRESULT STDMETHODCALLTYPE EnumOutputs( + UINT output_idx, + IDXGIOutput **output) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDesc( + DXGI_ADAPTER_DESC *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckInterfaceSupport( + REFGUID guid, + LARGE_INTEGER *umd_version) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIAdapter, 0x2411e7e1, 0x12ac, 0x4ccf, 0xbd,0x14, 0x97,0x98,0xe8,0x53,0x4d,0xc0) +#endif +#else +typedef struct IDXGIAdapterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIAdapter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIAdapter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIAdapter *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIAdapter *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIAdapter *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIAdapter *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIAdapter *This, + REFIID riid, + void **parent); + + /*** IDXGIAdapter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumOutputs)( + IDXGIAdapter *This, + UINT output_idx, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIAdapter *This, + DXGI_ADAPTER_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *CheckInterfaceSupport)( + IDXGIAdapter *This, + REFGUID guid, + LARGE_INTEGER *umd_version); + + END_INTERFACE +} IDXGIAdapterVtbl; + +interface IDXGIAdapter { + CONST_VTBL IDXGIAdapterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIAdapter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIAdapter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIAdapter_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIAdapter_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIAdapter_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIAdapter methods ***/ +#define IDXGIAdapter_EnumOutputs(This,output_idx,output) (This)->lpVtbl->EnumOutputs(This,output_idx,output) +#define IDXGIAdapter_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIAdapter_CheckInterfaceSupport(This,guid,umd_version) (This)->lpVtbl->CheckInterfaceSupport(This,guid,umd_version) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter_QueryInterface(IDXGIAdapter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIAdapter_AddRef(IDXGIAdapter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIAdapter_Release(IDXGIAdapter* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter_SetPrivateData(IDXGIAdapter* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter_SetPrivateDataInterface(IDXGIAdapter* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIAdapter_GetPrivateData(IDXGIAdapter* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter_GetParent(IDXGIAdapter* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIAdapter methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter_EnumOutputs(IDXGIAdapter* This,UINT output_idx,IDXGIOutput **output) { + return This->lpVtbl->EnumOutputs(This,output_idx,output); +} +static FORCEINLINE HRESULT IDXGIAdapter_GetDesc(IDXGIAdapter* This,DXGI_ADAPTER_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIAdapter_CheckInterfaceSupport(IDXGIAdapter* This,REFGUID guid,LARGE_INTEGER *umd_version) { + return This->lpVtbl->CheckInterfaceSupport(This,guid,umd_version); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIAdapter_INTERFACE_DEFINED__ */ + +#define DXGI_MAX_SWAP_CHAIN_BUFFERS (16) +#define DXGI_PRESENT_TEST __MSABI_LONG(0x00000001U) +#define DXGI_PRESENT_DO_NOT_SEQUENCE __MSABI_LONG(0x00000002U) +#define DXGI_PRESENT_RESTART __MSABI_LONG(0x00000004U) +#define DXGI_PRESENT_DO_NOT_WAIT __MSABI_LONG(0x00000008U) +#define DXGI_PRESENT_STEREO_PREFER_RIGHT __MSABI_LONG(0x00000010U) +#define DXGI_PRESENT_STEREO_TEMPORARY_MONO __MSABI_LONG(0x00000020U) +#define DXGI_PRESENT_RESTRICT_TO_OUTPUT __MSABI_LONG(0x00000040U) +#define DXGI_PRESENT_USE_DURATION __MSABI_LONG(0x00000100U) +#define DXGI_PRESENT_ALLOW_TEARING __MSABI_LONG(0x00000200U) +/***************************************************************************** + * IDXGISwapChain interface + */ +#ifndef __IDXGISwapChain_INTERFACE_DEFINED__ +#define __IDXGISwapChain_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISwapChain, 0x310d36a0, 0xd2e7, 0x4c0a, 0xaa,0x04, 0x6a,0x9d,0x23,0xb8,0x88,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("310d36a0-d2e7-4c0a-aa04-6a9d23b8886a") +IDXGISwapChain : public IDXGIDeviceSubObject +{ + virtual HRESULT STDMETHODCALLTYPE Present( + UINT sync_interval, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + UINT buffer_idx, + REFIID riid, + void **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFullscreenState( + BOOL fullscreen, + IDXGIOutput *target) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFullscreenState( + BOOL *fullscreen, + IDXGIOutput **target) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDesc( + DXGI_SWAP_CHAIN_DESC *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeBuffers( + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeTarget( + const DXGI_MODE_DESC *target_mode_desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainingOutput( + IDXGIOutput **output) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameStatistics( + DXGI_FRAME_STATISTICS *stats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastPresentCount( + UINT *last_present_count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISwapChain, 0x310d36a0, 0xd2e7, 0x4c0a, 0xaa,0x04, 0x6a,0x9d,0x23,0xb8,0x88,0x6a) +#endif +#else +typedef struct IDXGISwapChainVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISwapChain *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISwapChain *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISwapChain *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISwapChain *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISwapChain *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISwapChain *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISwapChain *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISwapChain *This, + REFIID riid, + void **device); + + /*** IDXGISwapChain methods ***/ + HRESULT (STDMETHODCALLTYPE *Present)( + IDXGISwapChain *This, + UINT sync_interval, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IDXGISwapChain *This, + UINT buffer_idx, + REFIID riid, + void **surface); + + HRESULT (STDMETHODCALLTYPE *SetFullscreenState)( + IDXGISwapChain *This, + BOOL fullscreen, + IDXGIOutput *target); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenState)( + IDXGISwapChain *This, + BOOL *fullscreen, + IDXGIOutput **target); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISwapChain *This, + DXGI_SWAP_CHAIN_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers)( + IDXGISwapChain *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTarget)( + IDXGISwapChain *This, + const DXGI_MODE_DESC *target_mode_desc); + + HRESULT (STDMETHODCALLTYPE *GetContainingOutput)( + IDXGISwapChain *This, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGISwapChain *This, + DXGI_FRAME_STATISTICS *stats); + + HRESULT (STDMETHODCALLTYPE *GetLastPresentCount)( + IDXGISwapChain *This, + UINT *last_present_count); + + END_INTERFACE +} IDXGISwapChainVtbl; + +interface IDXGISwapChain { + CONST_VTBL IDXGISwapChainVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISwapChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISwapChain_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISwapChain_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISwapChain_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISwapChain_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISwapChain_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISwapChain methods ***/ +#define IDXGISwapChain_Present(This,sync_interval,flags) (This)->lpVtbl->Present(This,sync_interval,flags) +#define IDXGISwapChain_GetBuffer(This,buffer_idx,riid,surface) (This)->lpVtbl->GetBuffer(This,buffer_idx,riid,surface) +#define IDXGISwapChain_SetFullscreenState(This,fullscreen,target) (This)->lpVtbl->SetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain_GetFullscreenState(This,fullscreen,target) (This)->lpVtbl->GetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISwapChain_ResizeBuffers(This,buffer_count,width,height,format,flags) (This)->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags) +#define IDXGISwapChain_ResizeTarget(This,target_mode_desc) (This)->lpVtbl->ResizeTarget(This,target_mode_desc) +#define IDXGISwapChain_GetContainingOutput(This,output) (This)->lpVtbl->GetContainingOutput(This,output) +#define IDXGISwapChain_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +#define IDXGISwapChain_GetLastPresentCount(This,last_present_count) (This)->lpVtbl->GetLastPresentCount(This,last_present_count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain_QueryInterface(IDXGISwapChain* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISwapChain_AddRef(IDXGISwapChain* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISwapChain_Release(IDXGISwapChain* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain_SetPrivateData(IDXGISwapChain* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain_SetPrivateDataInterface(IDXGISwapChain* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetPrivateData(IDXGISwapChain* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetParent(IDXGISwapChain* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain_GetDevice(IDXGISwapChain* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISwapChain methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain_Present(IDXGISwapChain* This,UINT sync_interval,UINT flags) { + return This->lpVtbl->Present(This,sync_interval,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetBuffer(IDXGISwapChain* This,UINT buffer_idx,REFIID riid,void **surface) { + return This->lpVtbl->GetBuffer(This,buffer_idx,riid,surface); +} +static FORCEINLINE HRESULT IDXGISwapChain_SetFullscreenState(IDXGISwapChain* This,BOOL fullscreen,IDXGIOutput *target) { + return This->lpVtbl->SetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetFullscreenState(IDXGISwapChain* This,BOOL *fullscreen,IDXGIOutput **target) { + return This->lpVtbl->GetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetDesc(IDXGISwapChain* This,DXGI_SWAP_CHAIN_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISwapChain_ResizeBuffers(IDXGISwapChain* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags) { + return This->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain_ResizeTarget(IDXGISwapChain* This,const DXGI_MODE_DESC *target_mode_desc) { + return This->lpVtbl->ResizeTarget(This,target_mode_desc); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetContainingOutput(IDXGISwapChain* This,IDXGIOutput **output) { + return This->lpVtbl->GetContainingOutput(This,output); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetFrameStatistics(IDXGISwapChain* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +static FORCEINLINE HRESULT IDXGISwapChain_GetLastPresentCount(IDXGISwapChain* This,UINT *last_present_count) { + return This->lpVtbl->GetLastPresentCount(This,last_present_count); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISwapChain_INTERFACE_DEFINED__ */ + +#define DXGI_MWA_NO_WINDOW_CHANGES 0x1 +#define DXGI_MWA_NO_ALT_ENTER 0x2 +#define DXGI_MWA_NO_PRINT_SCREEN 0x4 +#define DXGI_MWA_VALID 0x7 +/***************************************************************************** + * IDXGIFactory interface + */ +#ifndef __IDXGIFactory_INTERFACE_DEFINED__ +#define __IDXGIFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactory, 0x7b7166ec, 0x21c7, 0x44ae, 0xb2,0x1a, 0xc9,0xae,0x32,0x1a,0xe3,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7b7166ec-21c7-44ae-b21a-c9ae321ae369") +IDXGIFactory : public IDXGIObject +{ + virtual HRESULT STDMETHODCALLTYPE EnumAdapters( + UINT adapter_idx, + IDXGIAdapter **adapter) = 0; + + virtual HRESULT STDMETHODCALLTYPE MakeWindowAssociation( + HWND window, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWindowAssociation( + HWND *window) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSwapChain( + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter( + HMODULE swrast, + IDXGIAdapter **adapter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactory, 0x7b7166ec, 0x21c7, 0x44ae, 0xb2,0x1a, 0xc9,0xae,0x32,0x1a,0xe3,0x69) +#endif +#else +typedef struct IDXGIFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactory *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIFactory *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIFactory *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIFactory *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIFactory *This, + REFIID riid, + void **parent); + + /*** IDXGIFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters)( + IDXGIFactory *This, + UINT adapter_idx, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *MakeWindowAssociation)( + IDXGIFactory *This, + HWND window, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetWindowAssociation)( + IDXGIFactory *This, + HWND *window); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChain)( + IDXGIFactory *This, + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateSoftwareAdapter)( + IDXGIFactory *This, + HMODULE swrast, + IDXGIAdapter **adapter); + + END_INTERFACE +} IDXGIFactoryVtbl; + +interface IDXGIFactory { + CONST_VTBL IDXGIFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIFactory_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIFactory_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIFactory_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIFactory_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIFactory methods ***/ +#define IDXGIFactory_EnumAdapters(This,adapter_idx,adapter) (This)->lpVtbl->EnumAdapters(This,adapter_idx,adapter) +#define IDXGIFactory_MakeWindowAssociation(This,window,flags) (This)->lpVtbl->MakeWindowAssociation(This,window,flags) +#define IDXGIFactory_GetWindowAssociation(This,window) (This)->lpVtbl->GetWindowAssociation(This,window) +#define IDXGIFactory_CreateSwapChain(This,device,desc,swapchain) (This)->lpVtbl->CreateSwapChain(This,device,desc,swapchain) +#define IDXGIFactory_CreateSoftwareAdapter(This,swrast,adapter) (This)->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactory_QueryInterface(IDXGIFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactory_AddRef(IDXGIFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactory_Release(IDXGIFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIFactory_SetPrivateData(IDXGIFactory* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory_SetPrivateDataInterface(IDXGIFactory* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIFactory_GetPrivateData(IDXGIFactory* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory_GetParent(IDXGIFactory* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIFactory methods ***/ +static FORCEINLINE HRESULT IDXGIFactory_EnumAdapters(IDXGIFactory* This,UINT adapter_idx,IDXGIAdapter **adapter) { + return This->lpVtbl->EnumAdapters(This,adapter_idx,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory_MakeWindowAssociation(IDXGIFactory* This,HWND window,UINT flags) { + return This->lpVtbl->MakeWindowAssociation(This,window,flags); +} +static FORCEINLINE HRESULT IDXGIFactory_GetWindowAssociation(IDXGIFactory* This,HWND *window) { + return This->lpVtbl->GetWindowAssociation(This,window); +} +static FORCEINLINE HRESULT IDXGIFactory_CreateSwapChain(IDXGIFactory* This,IUnknown *device,DXGI_SWAP_CHAIN_DESC *desc,IDXGISwapChain **swapchain) { + return This->lpVtbl->CreateSwapChain(This,device,desc,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactory_CreateSoftwareAdapter(IDXGIFactory* This,HMODULE swrast,IDXGIAdapter **adapter) { + return This->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactory_INTERFACE_DEFINED__ */ + +HRESULT __stdcall CreateDXGIFactory(REFIID riid,void **factory); + +HRESULT __stdcall CreateDXGIFactory1(REFIID riid,void **factory); + +/***************************************************************************** + * IDXGIDevice interface + */ +#ifndef __IDXGIDevice_INTERFACE_DEFINED__ +#define __IDXGIDevice_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice, 0x54ec77fa, 0x1377, 0x44e6, 0x8c,0x32, 0x88,0xfd,0x5f,0x44,0xc8,0x4c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("54ec77fa-1377-44e6-8c32-88fd5f44c84c") +IDXGIDevice : public IDXGIObject +{ + virtual HRESULT STDMETHODCALLTYPE GetAdapter( + IDXGIAdapter **adapter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSurface( + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryResourceResidency( + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGPUThreadPriority( + INT priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGPUThreadPriority( + INT *priority) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice, 0x54ec77fa, 0x1377, 0x44e6, 0x8c,0x32, 0x88,0xfd,0x5f,0x44,0xc8,0x4c) +#endif +#else +typedef struct IDXGIDeviceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice *This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice *This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice *This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice *This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice *This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice *This, + INT *priority); + + END_INTERFACE +} IDXGIDeviceVtbl; + +interface IDXGIDevice { + CONST_VTBL IDXGIDeviceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice_QueryInterface(IDXGIDevice* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice_AddRef(IDXGIDevice* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice_Release(IDXGIDevice* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice_SetPrivateData(IDXGIDevice* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice_SetPrivateDataInterface(IDXGIDevice* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice_GetPrivateData(IDXGIDevice* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice_GetParent(IDXGIDevice* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice_GetAdapter(IDXGIDevice* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice_CreateSurface(IDXGIDevice* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice_QueryResourceResidency(IDXGIDevice* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice_SetGPUThreadPriority(IDXGIDevice* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice_GetGPUThreadPriority(IDXGIDevice* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDevice_INTERFACE_DEFINED__ */ + +typedef enum DXGI_ADAPTER_FLAG { + DXGI_ADAPTER_FLAG_NONE = 0, + DXGI_ADAPTER_FLAG_REMOTE = 1, + DXGI_ADAPTER_FLAG_FORCE_DWORD = 0xffffffff +} DXGI_ADAPTER_FLAG; +typedef struct DXGI_ADAPTER_DESC1 { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; + UINT Flags; +} DXGI_ADAPTER_DESC1; +/***************************************************************************** + * IDXGIAdapter1 interface + */ +#ifndef __IDXGIAdapter1_INTERFACE_DEFINED__ +#define __IDXGIAdapter1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIAdapter1, 0x29038f61, 0x3839, 0x4626, 0x91,0xfd, 0x08,0x68,0x79,0x01,0x1a,0x05); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29038f61-3839-4626-91fd-086879011a05") +IDXGIAdapter1 : public IDXGIAdapter +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc1( + DXGI_ADAPTER_DESC1 *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIAdapter1, 0x29038f61, 0x3839, 0x4626, 0x91,0xfd, 0x08,0x68,0x79,0x01,0x1a,0x05) +#endif +#else +typedef struct IDXGIAdapter1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIAdapter1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIAdapter1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIAdapter1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIAdapter1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIAdapter1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIAdapter1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIAdapter1 *This, + REFIID riid, + void **parent); + + /*** IDXGIAdapter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumOutputs)( + IDXGIAdapter1 *This, + UINT output_idx, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIAdapter1 *This, + DXGI_ADAPTER_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *CheckInterfaceSupport)( + IDXGIAdapter1 *This, + REFGUID guid, + LARGE_INTEGER *umd_version); + + /*** IDXGIAdapter1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGIAdapter1 *This, + DXGI_ADAPTER_DESC1 *pDesc); + + END_INTERFACE +} IDXGIAdapter1Vtbl; + +interface IDXGIAdapter1 { + CONST_VTBL IDXGIAdapter1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIAdapter1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIAdapter1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIAdapter1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIAdapter1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIAdapter1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIAdapter methods ***/ +#define IDXGIAdapter1_EnumOutputs(This,output_idx,output) (This)->lpVtbl->EnumOutputs(This,output_idx,output) +#define IDXGIAdapter1_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIAdapter1_CheckInterfaceSupport(This,guid,umd_version) (This)->lpVtbl->CheckInterfaceSupport(This,guid,umd_version) +/*** IDXGIAdapter1 methods ***/ +#define IDXGIAdapter1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter1_QueryInterface(IDXGIAdapter1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIAdapter1_AddRef(IDXGIAdapter1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIAdapter1_Release(IDXGIAdapter1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter1_SetPrivateData(IDXGIAdapter1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter1_SetPrivateDataInterface(IDXGIAdapter1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIAdapter1_GetPrivateData(IDXGIAdapter1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter1_GetParent(IDXGIAdapter1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIAdapter methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter1_EnumOutputs(IDXGIAdapter1* This,UINT output_idx,IDXGIOutput **output) { + return This->lpVtbl->EnumOutputs(This,output_idx,output); +} +static FORCEINLINE HRESULT IDXGIAdapter1_GetDesc(IDXGIAdapter1* This,DXGI_ADAPTER_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIAdapter1_CheckInterfaceSupport(IDXGIAdapter1* This,REFGUID guid,LARGE_INTEGER *umd_version) { + return This->lpVtbl->CheckInterfaceSupport(This,guid,umd_version); +} +/*** IDXGIAdapter1 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter1_GetDesc1(IDXGIAdapter1* This,DXGI_ADAPTER_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIAdapter1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIDevice1 interface + */ +#ifndef __IDXGIDevice1_INTERFACE_DEFINED__ +#define __IDXGIDevice1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice1, 0x77db970f, 0x6276, 0x48ba, 0xba,0x28, 0x07,0x01,0x43,0xb4,0x39,0x2c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("77db970f-6276-48ba-ba28-070143b4392c") +IDXGIDevice1 : public IDXGIDevice +{ + virtual HRESULT STDMETHODCALLTYPE SetMaximumFrameLatency( + UINT MaxLatency) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaximumFrameLatency( + UINT *pMaxLatency) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice1, 0x77db970f, 0x6276, 0x48ba, 0xba,0x28, 0x07,0x01,0x43,0xb4,0x39,0x2c) +#endif +#else +typedef struct IDXGIDevice1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice1 *This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice1 *This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice1 *This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice1 *This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice1 *This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice1 *This, + INT *priority); + + /*** IDXGIDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGIDevice1 *This, + UINT MaxLatency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGIDevice1 *This, + UINT *pMaxLatency); + + END_INTERFACE +} IDXGIDevice1Vtbl; + +interface IDXGIDevice1 { + CONST_VTBL IDXGIDevice1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice1_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice1_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice1_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice1_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice1_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +/*** IDXGIDevice1 methods ***/ +#define IDXGIDevice1_SetMaximumFrameLatency(This,MaxLatency) (This)->lpVtbl->SetMaximumFrameLatency(This,MaxLatency) +#define IDXGIDevice1_GetMaximumFrameLatency(This,pMaxLatency) (This)->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_QueryInterface(IDXGIDevice1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice1_AddRef(IDXGIDevice1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice1_Release(IDXGIDevice1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_SetPrivateData(IDXGIDevice1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice1_SetPrivateDataInterface(IDXGIDevice1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetPrivateData(IDXGIDevice1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetParent(IDXGIDevice1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_GetAdapter(IDXGIDevice1* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice1_CreateSurface(IDXGIDevice1* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice1_QueryResourceResidency(IDXGIDevice1* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice1_SetGPUThreadPriority(IDXGIDevice1* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetGPUThreadPriority(IDXGIDevice1* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +/*** IDXGIDevice1 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_SetMaximumFrameLatency(IDXGIDevice1* This,UINT MaxLatency) { + return This->lpVtbl->SetMaximumFrameLatency(This,MaxLatency); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetMaximumFrameLatency(IDXGIDevice1* This,UINT *pMaxLatency) { + return This->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDevice1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIFactory1 interface + */ +#ifndef __IDXGIFactory1_INTERFACE_DEFINED__ +#define __IDXGIFactory1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactory1, 0x770aae78, 0xf26f, 0x4dba, 0xa8,0x29, 0x25,0x3c,0x83,0xd1,0xb3,0x87); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("770aae78-f26f-4dba-a829-253c83d1b387") +IDXGIFactory1 : public IDXGIFactory +{ + virtual HRESULT STDMETHODCALLTYPE EnumAdapters1( + UINT Adapter, + IDXGIAdapter1 **ppAdapter) = 0; + + virtual BOOL STDMETHODCALLTYPE IsCurrent( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactory1, 0x770aae78, 0xf26f, 0x4dba, 0xa8,0x29, 0x25,0x3c,0x83,0xd1,0xb3,0x87) +#endif +#else +typedef struct IDXGIFactory1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactory1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactory1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactory1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIFactory1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIFactory1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIFactory1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIFactory1 *This, + REFIID riid, + void **parent); + + /*** IDXGIFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters)( + IDXGIFactory1 *This, + UINT adapter_idx, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *MakeWindowAssociation)( + IDXGIFactory1 *This, + HWND window, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetWindowAssociation)( + IDXGIFactory1 *This, + HWND *window); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChain)( + IDXGIFactory1 *This, + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateSoftwareAdapter)( + IDXGIFactory1 *This, + HMODULE swrast, + IDXGIAdapter **adapter); + + /*** IDXGIFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters1)( + IDXGIFactory1 *This, + UINT Adapter, + IDXGIAdapter1 **ppAdapter); + + BOOL (STDMETHODCALLTYPE *IsCurrent)( + IDXGIFactory1 *This); + + END_INTERFACE +} IDXGIFactory1Vtbl; + +interface IDXGIFactory1 { + CONST_VTBL IDXGIFactory1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactory1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactory1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactory1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIFactory1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIFactory1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIFactory1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIFactory1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIFactory methods ***/ +#define IDXGIFactory1_EnumAdapters(This,adapter_idx,adapter) (This)->lpVtbl->EnumAdapters(This,adapter_idx,adapter) +#define IDXGIFactory1_MakeWindowAssociation(This,window,flags) (This)->lpVtbl->MakeWindowAssociation(This,window,flags) +#define IDXGIFactory1_GetWindowAssociation(This,window) (This)->lpVtbl->GetWindowAssociation(This,window) +#define IDXGIFactory1_CreateSwapChain(This,device,desc,swapchain) (This)->lpVtbl->CreateSwapChain(This,device,desc,swapchain) +#define IDXGIFactory1_CreateSoftwareAdapter(This,swrast,adapter) (This)->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter) +/*** IDXGIFactory1 methods ***/ +#define IDXGIFactory1_EnumAdapters1(This,Adapter,ppAdapter) (This)->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter) +#define IDXGIFactory1_IsCurrent(This) (This)->lpVtbl->IsCurrent(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactory1_QueryInterface(IDXGIFactory1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactory1_AddRef(IDXGIFactory1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactory1_Release(IDXGIFactory1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIFactory1_SetPrivateData(IDXGIFactory1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory1_SetPrivateDataInterface(IDXGIFactory1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIFactory1_GetPrivateData(IDXGIFactory1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory1_GetParent(IDXGIFactory1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIFactory methods ***/ +static FORCEINLINE HRESULT IDXGIFactory1_EnumAdapters(IDXGIFactory1* This,UINT adapter_idx,IDXGIAdapter **adapter) { + return This->lpVtbl->EnumAdapters(This,adapter_idx,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory1_MakeWindowAssociation(IDXGIFactory1* This,HWND window,UINT flags) { + return This->lpVtbl->MakeWindowAssociation(This,window,flags); +} +static FORCEINLINE HRESULT IDXGIFactory1_GetWindowAssociation(IDXGIFactory1* This,HWND *window) { + return This->lpVtbl->GetWindowAssociation(This,window); +} +static FORCEINLINE HRESULT IDXGIFactory1_CreateSwapChain(IDXGIFactory1* This,IUnknown *device,DXGI_SWAP_CHAIN_DESC *desc,IDXGISwapChain **swapchain) { + return This->lpVtbl->CreateSwapChain(This,device,desc,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactory1_CreateSoftwareAdapter(IDXGIFactory1* This,HMODULE swrast,IDXGIAdapter **adapter) { + return This->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter); +} +/*** IDXGIFactory1 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory1_EnumAdapters1(IDXGIFactory1* This,UINT Adapter,IDXGIAdapter1 **ppAdapter) { + return This->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter); +} +static FORCEINLINE BOOL IDXGIFactory1_IsCurrent(IDXGIFactory1* This) { + return This->lpVtbl->IsCurrent(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactory1_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi.idl new file mode 100644 index 0000000..0626315 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi.idl @@ -0,0 +1,480 @@ +/* + * Copyright 2007 Andras Kovacs + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "dxgitype.idl"; + +const UINT _FACDXGI = 0x87a; + +cpp_quote("#define MAKE_DXGI_STATUS(x) MAKE_HRESULT(0, _FACDXGI, x)") +cpp_quote("#define MAKE_DXGI_HRESULT(x) MAKE_HRESULT(1, _FACDXGI, x)") + +cpp_quote("#if 0") +typedef HANDLE HMONITOR; +typedef struct _LUID { + DWORD LowPart; + LONG HighPart; +} LUID, *PLUID; +cpp_quote("#endif") + +typedef UINT DXGI_USAGE; +const DXGI_USAGE DXGI_USAGE_SHADER_INPUT = 0x10L; +const DXGI_USAGE DXGI_USAGE_RENDER_TARGET_OUTPUT = 0x20L; +const DXGI_USAGE DXGI_USAGE_BACK_BUFFER = 0x40L; +const DXGI_USAGE DXGI_USAGE_SHARED = 0x80L; +const DXGI_USAGE DXGI_USAGE_READ_ONLY = 0x100L; +const DXGI_USAGE DXGI_USAGE_DISCARD_ON_PRESENT = 0x200L; +const DXGI_USAGE DXGI_USAGE_UNORDERED_ACCESS = 0x400L; + +const UINT DXGI_ENUM_MODES_INTERLACED = 1; +const UINT DXGI_ENUM_MODES_SCALING = 2; + +const UINT DXGI_RESOURCE_PRIORITY_MINIMUM = 0x28000000; +const UINT DXGI_RESOURCE_PRIORITY_LOW = 0x50000000; +const UINT DXGI_RESOURCE_PRIORITY_NORMAL = 0x78000000; +const UINT DXGI_RESOURCE_PRIORITY_HIGH = 0xa0000000; +const UINT DXGI_RESOURCE_PRIORITY_MAXIMUM = 0xc8000000; + +const UINT DXGI_MAP_READ = 0x1; +const UINT DXGI_MAP_WRITE = 0x2; +const UINT DXGI_MAP_DISCARD = 0x4; + +typedef enum DXGI_SWAP_EFFECT { + DXGI_SWAP_EFFECT_DISCARD = 0, + DXGI_SWAP_EFFECT_SEQUENTIAL = 1, + DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3, + DXGI_SWAP_EFFECT_FLIP_DISCARD = 4 +} DXGI_SWAP_EFFECT; + +typedef enum DXGI_RESIDENCY { + DXGI_RESIDENCY_FULLY_RESIDENT = 1, + DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY = 2, + DXGI_RESIDENCY_EVICTED_TO_DISK = 3, +} DXGI_RESIDENCY; + +typedef struct DXGI_SURFACE_DESC { + UINT Width; + UINT Height; + DXGI_FORMAT Format; + DXGI_SAMPLE_DESC SampleDesc; +} DXGI_SURFACE_DESC; + +typedef struct DXGI_MAPPED_RECT { + INT Pitch; + BYTE *pBits; +} DXGI_MAPPED_RECT; + +typedef struct DXGI_OUTPUT_DESC { + WCHAR DeviceName[32]; + RECT DesktopCoordinates; + BOOL AttachedToDesktop; + DXGI_MODE_ROTATION Rotation; + HMONITOR Monitor; +} DXGI_OUTPUT_DESC; + +typedef struct DXGI_FRAME_STATISTICS { + UINT PresentCount; + UINT PresentRefreshCount; + UINT SyncRefreshCount; + LARGE_INTEGER SyncQPCTime; + LARGE_INTEGER SyncGPUTime; +} DXGI_FRAME_STATISTICS; + +typedef struct DXGI_ADAPTER_DESC { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; +} DXGI_ADAPTER_DESC; + +typedef enum DXGI_SWAP_CHAIN_FLAG { + DXGI_SWAP_CHAIN_FLAG_NONPREROTATED = 1, + DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH = 2, + DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE = 4 +} DXGI_SWAP_CHAIN_FLAG; + +typedef struct DXGI_SWAP_CHAIN_DESC { + DXGI_MODE_DESC BufferDesc; + DXGI_SAMPLE_DESC SampleDesc; + DXGI_USAGE BufferUsage; + UINT BufferCount; + HWND OutputWindow; + BOOL Windowed; + DXGI_SWAP_EFFECT SwapEffect; + UINT Flags; +} DXGI_SWAP_CHAIN_DESC; + +typedef struct DXGI_SHARED_RESOURCE { + HANDLE Handle; +} DXGI_SHARED_RESOURCE; + +[ + object, + local, + uuid(aec22fb8-76f3-4639-9be0-28eb43a67a2e) +] +interface IDXGIObject : IUnknown +{ + HRESULT SetPrivateData( + [in] REFGUID guid, + [in] UINT data_size, + [in] const void *data + ); + HRESULT SetPrivateDataInterface( + [in] REFGUID guid, + [in] const IUnknown *object + ); + HRESULT GetPrivateData( + [in] REFGUID guid, + [in, out] UINT *data_size, + [out] void *data + ); + HRESULT GetParent( + [in] REFIID riid, + [out] void **parent + ); +} + +[ + object, + local, + uuid(3d3e0379-f9de-4d58-bb6c-18d62992f1a6) +] +interface IDXGIDeviceSubObject : IDXGIObject +{ + HRESULT GetDevice( + [in] REFIID riid, + [out] void **device + ); +} + +[ + object, + uuid(035f3ab4-482e-4e50-b41f-8a7f8bd8960b), + local, + pointer_default(unique) +] +interface IDXGIResource : IDXGIDeviceSubObject +{ + HRESULT GetSharedHandle([out] HANDLE *pSharedHandle); + HRESULT GetUsage([out] DXGI_USAGE *pUsage); + HRESULT SetEvictionPriority([in] UINT EvictionPriority); + HRESULT GetEvictionPriority([out, retval] UINT *pEvictionPriority); +} + +[ + object, + uuid(9d8e1289-d7b3-465f-8126-250e349af85d), + local, + pointer_default(unique) +] +interface IDXGIKeyedMutex : IDXGIDeviceSubObject +{ + HRESULT AcquireSync([in] UINT64 Key, [in] DWORD dwMilliseconds); + HRESULT ReleaseSync([in] UINT64 Key); +} + +[ + object, + local, + uuid(cafcb56c-6ac3-4889-bf47-9e23bbd260ec) +] +interface IDXGISurface : IDXGIDeviceSubObject +{ + HRESULT GetDesc( + [out] DXGI_SURFACE_DESC *desc + ); + HRESULT Map( + [out] DXGI_MAPPED_RECT *mapped_rect, + [in] UINT flags + ); + HRESULT Unmap( + ); +} + +[ + object, + local, + uuid(4ae63092-6327-4c1b-80ae-bfe12ea32b86) +] +interface IDXGISurface1 : IDXGISurface +{ + HRESULT GetDC( + [in] BOOL discard, + [out] HDC *hdc + ); + HRESULT ReleaseDC( + [in] RECT *dirty_rect + ); +} + +[ + object, + local, + uuid(ae02eedb-c735-4690-8d52-5a8dc20213aa) +] +interface IDXGIOutput : IDXGIObject +{ + HRESULT GetDesc( + [out] DXGI_OUTPUT_DESC *desc + ); + HRESULT GetDisplayModeList( + [in] DXGI_FORMAT format, + [in] UINT flags, + [in, out] UINT *mode_count, + [out] DXGI_MODE_DESC *desc + ); + HRESULT FindClosestMatchingMode( + [in] const DXGI_MODE_DESC *mode, + [out] DXGI_MODE_DESC *closest_match, + [in] IUnknown *device + ); + HRESULT WaitForVBlank( + ); + HRESULT TakeOwnership( + [in] IUnknown *device, + [in] BOOL exclusive + ); + void ReleaseOwnership( + ); + HRESULT GetGammaControlCapabilities( + [out] DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps + ); + HRESULT SetGammaControl( + [in] const DXGI_GAMMA_CONTROL *gamma_control + ); + HRESULT GetGammaControl( + [out] DXGI_GAMMA_CONTROL *gamma_control + ); + HRESULT SetDisplaySurface( + [in] IDXGISurface *surface + ); + HRESULT GetDisplaySurfaceData( + [in] IDXGISurface *surface + ); + HRESULT GetFrameStatistics( + [out] DXGI_FRAME_STATISTICS *stats + ); +} + +[ + object, + local, + uuid(2411e7e1-12ac-4ccf-bd14-9798e8534dc0) +] +interface IDXGIAdapter : IDXGIObject +{ + HRESULT EnumOutputs( + [in] UINT output_idx, + [in, out] IDXGIOutput **output + ); + HRESULT GetDesc( + [out] DXGI_ADAPTER_DESC *desc + ); + HRESULT CheckInterfaceSupport( + [in] REFGUID guid, + [out] LARGE_INTEGER *umd_version + ); +} + +cpp_quote("#define DXGI_MAX_SWAP_CHAIN_BUFFERS (16)") + +cpp_quote("#define DXGI_PRESENT_TEST __MSABI_LONG(0x00000001U)") +cpp_quote("#define DXGI_PRESENT_DO_NOT_SEQUENCE __MSABI_LONG(0x00000002U)") +cpp_quote("#define DXGI_PRESENT_RESTART __MSABI_LONG(0x00000004U)") +cpp_quote("#define DXGI_PRESENT_DO_NOT_WAIT __MSABI_LONG(0x00000008U)") +cpp_quote("#define DXGI_PRESENT_STEREO_PREFER_RIGHT __MSABI_LONG(0x00000010U)") +cpp_quote("#define DXGI_PRESENT_STEREO_TEMPORARY_MONO __MSABI_LONG(0x00000020U)") +cpp_quote("#define DXGI_PRESENT_RESTRICT_TO_OUTPUT __MSABI_LONG(0x00000040U)") +cpp_quote("#define DXGI_PRESENT_USE_DURATION __MSABI_LONG(0x00000100U)") +cpp_quote("#define DXGI_PRESENT_ALLOW_TEARING __MSABI_LONG(0x00000200U)") + +[ + object, + local, + uuid(310d36a0-d2e7-4c0a-aa04-6a9d23b8886a) +] +interface IDXGISwapChain : IDXGIDeviceSubObject +{ + HRESULT Present( + [in] UINT sync_interval, + [in] UINT flags + ); + HRESULT GetBuffer( + [in] UINT buffer_idx, + [in] REFIID riid, + [in, out] void **surface + ); + HRESULT SetFullscreenState( + [in] BOOL fullscreen, + [in] IDXGIOutput *target + ); + HRESULT GetFullscreenState( + [out] BOOL *fullscreen, + [out] IDXGIOutput **target + ); + HRESULT GetDesc( + [out] DXGI_SWAP_CHAIN_DESC *desc + ); + HRESULT ResizeBuffers( + [in] UINT buffer_count, + [in] UINT width, + [in] UINT height, + [in] DXGI_FORMAT format, + [in] UINT flags + ); + HRESULT ResizeTarget( + [in] const DXGI_MODE_DESC *target_mode_desc + ); + HRESULT GetContainingOutput( + [out] IDXGIOutput **output + ); + HRESULT GetFrameStatistics( + [out] DXGI_FRAME_STATISTICS *stats + ); + HRESULT GetLastPresentCount( + [out] UINT *last_present_count + ); +} + +cpp_quote("#define DXGI_MWA_NO_WINDOW_CHANGES 0x1") +cpp_quote("#define DXGI_MWA_NO_ALT_ENTER 0x2") +cpp_quote("#define DXGI_MWA_NO_PRINT_SCREEN 0x4") +cpp_quote("#define DXGI_MWA_VALID 0x7") + +[ + object, + local, + uuid(7b7166ec-21c7-44ae-b21a-c9ae321ae369) +] +interface IDXGIFactory : IDXGIObject +{ + HRESULT EnumAdapters( + [in] UINT adapter_idx, + [out] IDXGIAdapter **adapter + ); + HRESULT MakeWindowAssociation( + [in] HWND window, + [in] UINT flags + ); + HRESULT GetWindowAssociation( + [in] HWND *window + ); + HRESULT CreateSwapChain( + [in] IUnknown *device, + [in] DXGI_SWAP_CHAIN_DESC *desc, + [out] IDXGISwapChain **swapchain + ); + HRESULT CreateSoftwareAdapter( + [in] HMODULE swrast, + [out] IDXGIAdapter **adapter + ); +} + +[local] HRESULT __stdcall CreateDXGIFactory(REFIID riid, void **factory); +[local] HRESULT __stdcall CreateDXGIFactory1(REFIID riid, void **factory); + +[ + object, + local, + uuid(54ec77fa-1377-44e6-8c32-88fd5f44c84c) +] +interface IDXGIDevice : IDXGIObject +{ + HRESULT GetAdapter( + [out] IDXGIAdapter **adapter + ); + HRESULT CreateSurface( + [in] const DXGI_SURFACE_DESC *desc, + [in] UINT surface_count, + [in] DXGI_USAGE usage, + [in] const DXGI_SHARED_RESOURCE *shared_resource, + [out] IDXGISurface **surface + ); + HRESULT QueryResourceResidency( + [in] IUnknown *const *resources, + [out] DXGI_RESIDENCY *residency, + [in] UINT resource_count + ); + HRESULT SetGPUThreadPriority( + [in] INT priority + ); + HRESULT GetGPUThreadPriority( + [out] INT *priority + ); +} + +typedef enum DXGI_ADAPTER_FLAG { + DXGI_ADAPTER_FLAG_NONE = 0, + DXGI_ADAPTER_FLAG_REMOTE = 1, + DXGI_ADAPTER_FLAG_FORCE_DWORD = 0xFFFFFFFF +} DXGI_ADAPTER_FLAG; + +typedef struct DXGI_ADAPTER_DESC1 { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; + UINT Flags; +} DXGI_ADAPTER_DESC1; + +[ + object, + uuid(29038f61-3839-4626-91fd-086879011a05), + local, + pointer_default(unique) +] +interface IDXGIAdapter1 : IDXGIAdapter +{ + HRESULT GetDesc1([out] DXGI_ADAPTER_DESC1 *pDesc); +} + +[ + object, + uuid(77db970f-6276-48ba-ba28-070143b4392c), + local, + pointer_default(unique) +] +interface IDXGIDevice1 : IDXGIDevice +{ + HRESULT SetMaximumFrameLatency([in] UINT MaxLatency); + HRESULT GetMaximumFrameLatency([out] UINT *pMaxLatency); +} + +[ + object, + uuid(770aae78-f26f-4dba-a829-253c83d1b387), + local, + pointer_default(unique) + ] +interface IDXGIFactory1 : IDXGIFactory +{ + HRESULT EnumAdapters1([in] UINT Adapter, [out] IDXGIAdapter1 **ppAdapter); + BOOL IsCurrent(); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_2.h new file mode 100644 index 0000000..b11bc25 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_2.h @@ -0,0 +1,2202 @@ +/*** Autogenerated by WIDL 2.18 from dxgi1_2.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgi1_2_h__ +#define __dxgi1_2_h__ + +/* Forward declarations */ + +#ifndef __IDXGIOutputDuplication_FWD_DEFINED__ +#define __IDXGIOutputDuplication_FWD_DEFINED__ +typedef interface IDXGIOutputDuplication IDXGIOutputDuplication; +#ifdef __cplusplus +interface IDXGIOutputDuplication; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISurface2_FWD_DEFINED__ +#define __IDXGISurface2_FWD_DEFINED__ +typedef interface IDXGISurface2 IDXGISurface2; +#ifdef __cplusplus +interface IDXGISurface2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIResource1_FWD_DEFINED__ +#define __IDXGIResource1_FWD_DEFINED__ +typedef interface IDXGIResource1 IDXGIResource1; +#ifdef __cplusplus +interface IDXGIResource1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDisplayControl_FWD_DEFINED__ +#define __IDXGIDisplayControl_FWD_DEFINED__ +typedef interface IDXGIDisplayControl IDXGIDisplayControl; +#ifdef __cplusplus +interface IDXGIDisplayControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDevice2_FWD_DEFINED__ +#define __IDXGIDevice2_FWD_DEFINED__ +typedef interface IDXGIDevice2 IDXGIDevice2; +#ifdef __cplusplus +interface IDXGIDevice2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISwapChain1_FWD_DEFINED__ +#define __IDXGISwapChain1_FWD_DEFINED__ +typedef interface IDXGISwapChain1 IDXGISwapChain1; +#ifdef __cplusplus +interface IDXGISwapChain1; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactory2_FWD_DEFINED__ +#define __IDXGIFactory2_FWD_DEFINED__ +typedef interface IDXGIFactory2 IDXGIFactory2; +#ifdef __cplusplus +interface IDXGIFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIAdapter2_FWD_DEFINED__ +#define __IDXGIAdapter2_FWD_DEFINED__ +typedef interface IDXGIAdapter2 IDXGIAdapter2; +#ifdef __cplusplus +interface IDXGIAdapter2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIOutput1_FWD_DEFINED__ +#define __IDXGIOutput1_FWD_DEFINED__ +typedef interface IDXGIOutput1 IDXGIOutput1; +#ifdef __cplusplus +interface IDXGIOutput1; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define DXGI_ENUM_MODES_STEREO (0x4) + +#define DXGI_ENUM_MODES_DISABLED_STEREO (0x8) + +#define DXGI_SHARED_RESOURCE_READ (0x80000000) + +#define DXGI_SHARED_RESOURCE_WRITE (0x1) + +typedef enum _DXGI_OFFER_RESOURCE_PRIORITY { + DXGI_OFFER_RESOURCE_PRIORITY_LOW = 1, + DXGI_OFFER_RESOURCE_PRIORITY_NORMAL = 2, + DXGI_OFFER_RESOURCE_PRIORITY_HIGH = 3 +} DXGI_OFFER_RESOURCE_PRIORITY; +typedef enum DXGI_ALPHA_MODE { + DXGI_ALPHA_MODE_UNSPECIFIED = 0, + DXGI_ALPHA_MODE_PREMULTIPLIED = 1, + DXGI_ALPHA_MODE_STRAIGHT = 2, + DXGI_ALPHA_MODE_IGNORE = 3, + DXGI_ALPHA_MODE_FORCE_DWORD = 0xffffffff +} DXGI_ALPHA_MODE; +typedef struct DXGI_OUTDUPL_MOVE_RECT { + POINT SourcePoint; + RECT DestinationRect; +} DXGI_OUTDUPL_MOVE_RECT; +typedef struct DXGI_OUTDUPL_DESC { + DXGI_MODE_DESC ModeDesc; + DXGI_MODE_ROTATION Rotation; + BOOL DesktopImageInSystemMemory; +} DXGI_OUTDUPL_DESC; +typedef struct DXGI_OUTDUPL_POINTER_POSITION { + POINT Position; + BOOL Visible; +} DXGI_OUTDUPL_POINTER_POSITION; +typedef enum DXGI_OUTDUPL_POINTER_SHAPE_TYPE { + DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME = 0x1, + DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR = 0x2, + DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR = 0x4 +} DXGI_OUTDUPL_POINTER_SHAPE_TYPE; +typedef struct DXGI_OUTDUPL_POINTER_SHAPE_INFO { + UINT Type; + UINT Width; + UINT Height; + UINT Pitch; + POINT HotSpot; +} DXGI_OUTDUPL_POINTER_SHAPE_INFO; +typedef struct DXGI_OUTDUPL_FRAME_INFO { + LARGE_INTEGER LastPresentTime; + LARGE_INTEGER LastMouseUpdateTime; + UINT AccumulatedFrames; + BOOL RectsCoalesced; + BOOL ProtectedContentMaskedOut; + DXGI_OUTDUPL_POINTER_POSITION PointerPosition; + UINT TotalMetadataBufferSize; + UINT PointerShapeBufferSize; +} DXGI_OUTDUPL_FRAME_INFO; +typedef struct DXGI_MODE_DESC1 { + UINT Width; + UINT Height; + DXGI_RATIONAL RefreshRate; + DXGI_FORMAT Format; + DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; + DXGI_MODE_SCALING Scaling; + BOOL Stereo; +} DXGI_MODE_DESC1; +/***************************************************************************** + * IDXGIOutputDuplication interface + */ +#ifndef __IDXGIOutputDuplication_INTERFACE_DEFINED__ +#define __IDXGIOutputDuplication_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutputDuplication, 0x191cfac3, 0xa341, 0x470d, 0xb2,0x6e, 0xa8,0x64,0xf4,0x28,0x31,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("191cfac3-a341-470d-b26e-a864f428319c") +IDXGIOutputDuplication : public IDXGIObject +{ + virtual void STDMETHODCALLTYPE GetDesc( + DXGI_OUTDUPL_DESC *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE AcquireNextFrame( + UINT timeout_in_milliseconds, + DXGI_OUTDUPL_FRAME_INFO *frame_info, + IDXGIResource **desktop_resource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameDirtyRects( + UINT dirty_rects_buffer_size, + RECT *dirty_rects_buffer, + UINT *dirty_rects_buffer_size_required) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameMoveRects( + UINT move_rects_buffer_size, + DXGI_OUTDUPL_MOVE_RECT *move_rect_buffer, + UINT *move_rects_buffer_size_required) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFramePointerShape( + UINT pointer_shape_buffer_size, + void *pointer_shape_buffer, + UINT *pointer_shape_buffer_size_required, + DXGI_OUTDUPL_POINTER_SHAPE_INFO *pointer_shape_info) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapDesktopSurface( + DXGI_MAPPED_RECT *locked_rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnMapDesktopSurface( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseFrame( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutputDuplication, 0x191cfac3, 0xa341, 0x470d, 0xb2,0x6e, 0xa8,0x64,0xf4,0x28,0x31,0x9c) +#endif +#else +typedef struct IDXGIOutputDuplicationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutputDuplication *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutputDuplication *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutputDuplication *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutputDuplication *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutputDuplication *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutputDuplication *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutputDuplication *This, + REFIID riid, + void **parent); + + /*** IDXGIOutputDuplication methods ***/ + void (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutputDuplication *This, + DXGI_OUTDUPL_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *AcquireNextFrame)( + IDXGIOutputDuplication *This, + UINT timeout_in_milliseconds, + DXGI_OUTDUPL_FRAME_INFO *frame_info, + IDXGIResource **desktop_resource); + + HRESULT (STDMETHODCALLTYPE *GetFrameDirtyRects)( + IDXGIOutputDuplication *This, + UINT dirty_rects_buffer_size, + RECT *dirty_rects_buffer, + UINT *dirty_rects_buffer_size_required); + + HRESULT (STDMETHODCALLTYPE *GetFrameMoveRects)( + IDXGIOutputDuplication *This, + UINT move_rects_buffer_size, + DXGI_OUTDUPL_MOVE_RECT *move_rect_buffer, + UINT *move_rects_buffer_size_required); + + HRESULT (STDMETHODCALLTYPE *GetFramePointerShape)( + IDXGIOutputDuplication *This, + UINT pointer_shape_buffer_size, + void *pointer_shape_buffer, + UINT *pointer_shape_buffer_size_required, + DXGI_OUTDUPL_POINTER_SHAPE_INFO *pointer_shape_info); + + HRESULT (STDMETHODCALLTYPE *MapDesktopSurface)( + IDXGIOutputDuplication *This, + DXGI_MAPPED_RECT *locked_rect); + + HRESULT (STDMETHODCALLTYPE *UnMapDesktopSurface)( + IDXGIOutputDuplication *This); + + HRESULT (STDMETHODCALLTYPE *ReleaseFrame)( + IDXGIOutputDuplication *This); + + END_INTERFACE +} IDXGIOutputDuplicationVtbl; + +interface IDXGIOutputDuplication { + CONST_VTBL IDXGIOutputDuplicationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutputDuplication_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutputDuplication_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutputDuplication_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutputDuplication_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutputDuplication_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutputDuplication_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutputDuplication_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutputDuplication methods ***/ +#define IDXGIOutputDuplication_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutputDuplication_AcquireNextFrame(This,timeout_in_milliseconds,frame_info,desktop_resource) (This)->lpVtbl->AcquireNextFrame(This,timeout_in_milliseconds,frame_info,desktop_resource) +#define IDXGIOutputDuplication_GetFrameDirtyRects(This,dirty_rects_buffer_size,dirty_rects_buffer,dirty_rects_buffer_size_required) (This)->lpVtbl->GetFrameDirtyRects(This,dirty_rects_buffer_size,dirty_rects_buffer,dirty_rects_buffer_size_required) +#define IDXGIOutputDuplication_GetFrameMoveRects(This,move_rects_buffer_size,move_rect_buffer,move_rects_buffer_size_required) (This)->lpVtbl->GetFrameMoveRects(This,move_rects_buffer_size,move_rect_buffer,move_rects_buffer_size_required) +#define IDXGIOutputDuplication_GetFramePointerShape(This,pointer_shape_buffer_size,pointer_shape_buffer,pointer_shape_buffer_size_required,pointer_shape_info) (This)->lpVtbl->GetFramePointerShape(This,pointer_shape_buffer_size,pointer_shape_buffer,pointer_shape_buffer_size_required,pointer_shape_info) +#define IDXGIOutputDuplication_MapDesktopSurface(This,locked_rect) (This)->lpVtbl->MapDesktopSurface(This,locked_rect) +#define IDXGIOutputDuplication_UnMapDesktopSurface(This) (This)->lpVtbl->UnMapDesktopSurface(This) +#define IDXGIOutputDuplication_ReleaseFrame(This) (This)->lpVtbl->ReleaseFrame(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutputDuplication_QueryInterface(IDXGIOutputDuplication* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutputDuplication_AddRef(IDXGIOutputDuplication* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutputDuplication_Release(IDXGIOutputDuplication* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutputDuplication_SetPrivateData(IDXGIOutputDuplication* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_SetPrivateDataInterface(IDXGIOutputDuplication* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_GetPrivateData(IDXGIOutputDuplication* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_GetParent(IDXGIOutputDuplication* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutputDuplication methods ***/ +static FORCEINLINE void IDXGIOutputDuplication_GetDesc(IDXGIOutputDuplication* This,DXGI_OUTDUPL_DESC *desc) { + This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_AcquireNextFrame(IDXGIOutputDuplication* This,UINT timeout_in_milliseconds,DXGI_OUTDUPL_FRAME_INFO *frame_info,IDXGIResource **desktop_resource) { + return This->lpVtbl->AcquireNextFrame(This,timeout_in_milliseconds,frame_info,desktop_resource); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_GetFrameDirtyRects(IDXGIOutputDuplication* This,UINT dirty_rects_buffer_size,RECT *dirty_rects_buffer,UINT *dirty_rects_buffer_size_required) { + return This->lpVtbl->GetFrameDirtyRects(This,dirty_rects_buffer_size,dirty_rects_buffer,dirty_rects_buffer_size_required); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_GetFrameMoveRects(IDXGIOutputDuplication* This,UINT move_rects_buffer_size,DXGI_OUTDUPL_MOVE_RECT *move_rect_buffer,UINT *move_rects_buffer_size_required) { + return This->lpVtbl->GetFrameMoveRects(This,move_rects_buffer_size,move_rect_buffer,move_rects_buffer_size_required); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_GetFramePointerShape(IDXGIOutputDuplication* This,UINT pointer_shape_buffer_size,void *pointer_shape_buffer,UINT *pointer_shape_buffer_size_required,DXGI_OUTDUPL_POINTER_SHAPE_INFO *pointer_shape_info) { + return This->lpVtbl->GetFramePointerShape(This,pointer_shape_buffer_size,pointer_shape_buffer,pointer_shape_buffer_size_required,pointer_shape_info); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_MapDesktopSurface(IDXGIOutputDuplication* This,DXGI_MAPPED_RECT *locked_rect) { + return This->lpVtbl->MapDesktopSurface(This,locked_rect); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_UnMapDesktopSurface(IDXGIOutputDuplication* This) { + return This->lpVtbl->UnMapDesktopSurface(This); +} +static FORCEINLINE HRESULT IDXGIOutputDuplication_ReleaseFrame(IDXGIOutputDuplication* This) { + return This->lpVtbl->ReleaseFrame(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutputDuplication_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGISurface2 interface + */ +#ifndef __IDXGISurface2_INTERFACE_DEFINED__ +#define __IDXGISurface2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISurface2, 0xaba496dd, 0xb617, 0x4cb8, 0xa8,0x66, 0xbc,0x44,0xd7,0xeb,0x1f,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aba496dd-b617-4cb8-a866-bc44d7eb1fa2") +IDXGISurface2 : public IDXGISurface1 +{ + virtual HRESULT STDMETHODCALLTYPE GetResource( + REFIID iid, + void **parent_resource, + UINT *subresource_idx) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISurface2, 0xaba496dd, 0xb617, 0x4cb8, 0xa8,0x66, 0xbc,0x44,0xd7,0xeb,0x1f,0xa2) +#endif +#else +typedef struct IDXGISurface2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISurface2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISurface2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISurface2 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISurface2 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISurface2 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISurface2 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISurface2 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISurface2 *This, + REFIID riid, + void **device); + + /*** IDXGISurface methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISurface2 *This, + DXGI_SURFACE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *Map)( + IDXGISurface2 *This, + DXGI_MAPPED_RECT *mapped_rect, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *Unmap)( + IDXGISurface2 *This); + + /*** IDXGISurface1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDC)( + IDXGISurface2 *This, + BOOL discard, + HDC *hdc); + + HRESULT (STDMETHODCALLTYPE *ReleaseDC)( + IDXGISurface2 *This, + RECT *dirty_rect); + + /*** IDXGISurface2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetResource)( + IDXGISurface2 *This, + REFIID iid, + void **parent_resource, + UINT *subresource_idx); + + END_INTERFACE +} IDXGISurface2Vtbl; + +interface IDXGISurface2 { + CONST_VTBL IDXGISurface2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISurface2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISurface2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISurface2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISurface2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISurface2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISurface2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISurface2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISurface2_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISurface methods ***/ +#define IDXGISurface2_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISurface2_Map(This,mapped_rect,flags) (This)->lpVtbl->Map(This,mapped_rect,flags) +#define IDXGISurface2_Unmap(This) (This)->lpVtbl->Unmap(This) +/*** IDXGISurface1 methods ***/ +#define IDXGISurface2_GetDC(This,discard,hdc) (This)->lpVtbl->GetDC(This,discard,hdc) +#define IDXGISurface2_ReleaseDC(This,dirty_rect) (This)->lpVtbl->ReleaseDC(This,dirty_rect) +/*** IDXGISurface2 methods ***/ +#define IDXGISurface2_GetResource(This,iid,parent_resource,subresource_idx) (This)->lpVtbl->GetResource(This,iid,parent_resource,subresource_idx) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISurface2_QueryInterface(IDXGISurface2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISurface2_AddRef(IDXGISurface2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISurface2_Release(IDXGISurface2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISurface2_SetPrivateData(IDXGISurface2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISurface2_SetPrivateDataInterface(IDXGISurface2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISurface2_GetPrivateData(IDXGISurface2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISurface2_GetParent(IDXGISurface2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISurface2_GetDevice(IDXGISurface2* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISurface methods ***/ +static FORCEINLINE HRESULT IDXGISurface2_GetDesc(IDXGISurface2* This,DXGI_SURFACE_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISurface2_Map(IDXGISurface2* This,DXGI_MAPPED_RECT *mapped_rect,UINT flags) { + return This->lpVtbl->Map(This,mapped_rect,flags); +} +static FORCEINLINE HRESULT IDXGISurface2_Unmap(IDXGISurface2* This) { + return This->lpVtbl->Unmap(This); +} +/*** IDXGISurface1 methods ***/ +static FORCEINLINE HRESULT IDXGISurface2_GetDC(IDXGISurface2* This,BOOL discard,HDC *hdc) { + return This->lpVtbl->GetDC(This,discard,hdc); +} +static FORCEINLINE HRESULT IDXGISurface2_ReleaseDC(IDXGISurface2* This,RECT *dirty_rect) { + return This->lpVtbl->ReleaseDC(This,dirty_rect); +} +/*** IDXGISurface2 methods ***/ +static FORCEINLINE HRESULT IDXGISurface2_GetResource(IDXGISurface2* This,REFIID iid,void **parent_resource,UINT *subresource_idx) { + return This->lpVtbl->GetResource(This,iid,parent_resource,subresource_idx); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISurface2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIResource1 interface + */ +#ifndef __IDXGIResource1_INTERFACE_DEFINED__ +#define __IDXGIResource1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIResource1, 0x30961379, 0x4609, 0x4a41, 0x99,0x8e, 0x54,0xfe,0x56,0x7e,0xe0,0xc1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30961379-4609-4a41-998e-54fe567ee0c1") +IDXGIResource1 : public IDXGIResource +{ + virtual HRESULT STDMETHODCALLTYPE CreateSubresourceSurface( + UINT index, + IDXGISurface2 **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSharedHandle( + const SECURITY_ATTRIBUTES *attributes, + DWORD access, + const WCHAR *name, + HANDLE *handle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIResource1, 0x30961379, 0x4609, 0x4a41, 0x99,0x8e, 0x54,0xfe,0x56,0x7e,0xe0,0xc1) +#endif +#else +typedef struct IDXGIResource1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIResource1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIResource1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIResource1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIResource1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIResource1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIResource1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIResource1 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGIResource1 *This, + REFIID riid, + void **device); + + /*** IDXGIResource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSharedHandle)( + IDXGIResource1 *This, + HANDLE *pSharedHandle); + + HRESULT (STDMETHODCALLTYPE *GetUsage)( + IDXGIResource1 *This, + DXGI_USAGE *pUsage); + + HRESULT (STDMETHODCALLTYPE *SetEvictionPriority)( + IDXGIResource1 *This, + UINT EvictionPriority); + + HRESULT (STDMETHODCALLTYPE *GetEvictionPriority)( + IDXGIResource1 *This, + UINT *pEvictionPriority); + + /*** IDXGIResource1 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSubresourceSurface)( + IDXGIResource1 *This, + UINT index, + IDXGISurface2 **surface); + + HRESULT (STDMETHODCALLTYPE *CreateSharedHandle)( + IDXGIResource1 *This, + const SECURITY_ATTRIBUTES *attributes, + DWORD access, + const WCHAR *name, + HANDLE *handle); + + END_INTERFACE +} IDXGIResource1Vtbl; + +interface IDXGIResource1 { + CONST_VTBL IDXGIResource1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIResource1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIResource1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIResource1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIResource1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIResource1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIResource1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIResource1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGIResource1_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGIResource methods ***/ +#define IDXGIResource1_GetSharedHandle(This,pSharedHandle) (This)->lpVtbl->GetSharedHandle(This,pSharedHandle) +#define IDXGIResource1_GetUsage(This,pUsage) (This)->lpVtbl->GetUsage(This,pUsage) +#define IDXGIResource1_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority) +#define IDXGIResource1_GetEvictionPriority(This,pEvictionPriority) (This)->lpVtbl->GetEvictionPriority(This,pEvictionPriority) +/*** IDXGIResource1 methods ***/ +#define IDXGIResource1_CreateSubresourceSurface(This,index,surface) (This)->lpVtbl->CreateSubresourceSurface(This,index,surface) +#define IDXGIResource1_CreateSharedHandle(This,attributes,access,name,handle) (This)->lpVtbl->CreateSharedHandle(This,attributes,access,name,handle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIResource1_QueryInterface(IDXGIResource1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIResource1_AddRef(IDXGIResource1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIResource1_Release(IDXGIResource1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIResource1_SetPrivateData(IDXGIResource1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIResource1_SetPrivateDataInterface(IDXGIResource1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIResource1_GetPrivateData(IDXGIResource1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIResource1_GetParent(IDXGIResource1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGIResource1_GetDevice(IDXGIResource1* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGIResource methods ***/ +static FORCEINLINE HRESULT IDXGIResource1_GetSharedHandle(IDXGIResource1* This,HANDLE *pSharedHandle) { + return This->lpVtbl->GetSharedHandle(This,pSharedHandle); +} +static FORCEINLINE HRESULT IDXGIResource1_GetUsage(IDXGIResource1* This,DXGI_USAGE *pUsage) { + return This->lpVtbl->GetUsage(This,pUsage); +} +static FORCEINLINE HRESULT IDXGIResource1_SetEvictionPriority(IDXGIResource1* This,UINT EvictionPriority) { + return This->lpVtbl->SetEvictionPriority(This,EvictionPriority); +} +static FORCEINLINE HRESULT IDXGIResource1_GetEvictionPriority(IDXGIResource1* This,UINT *pEvictionPriority) { + return This->lpVtbl->GetEvictionPriority(This,pEvictionPriority); +} +/*** IDXGIResource1 methods ***/ +static FORCEINLINE HRESULT IDXGIResource1_CreateSubresourceSurface(IDXGIResource1* This,UINT index,IDXGISurface2 **surface) { + return This->lpVtbl->CreateSubresourceSurface(This,index,surface); +} +static FORCEINLINE HRESULT IDXGIResource1_CreateSharedHandle(IDXGIResource1* This,const SECURITY_ATTRIBUTES *attributes,DWORD access,const WCHAR *name,HANDLE *handle) { + return This->lpVtbl->CreateSharedHandle(This,attributes,access,name,handle); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIResource1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIDisplayControl interface + */ +#ifndef __IDXGIDisplayControl_INTERFACE_DEFINED__ +#define __IDXGIDisplayControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDisplayControl, 0xea9dbf1a, 0xc88e, 0x4486, 0x85,0x4a, 0x98,0xaa,0x01,0x38,0xf3,0x0c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ea9dbf1a-c88e-4486-854a-98aa0138f30c") +IDXGIDisplayControl : public IUnknown +{ + virtual BOOL STDMETHODCALLTYPE IsStereoEnabled( + ) = 0; + + virtual void STDMETHODCALLTYPE SetStereoEnabled( + BOOL enabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDisplayControl, 0xea9dbf1a, 0xc88e, 0x4486, 0x85,0x4a, 0x98,0xaa,0x01,0x38,0xf3,0x0c) +#endif +#else +typedef struct IDXGIDisplayControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDisplayControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDisplayControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDisplayControl *This); + + /*** IDXGIDisplayControl methods ***/ + BOOL (STDMETHODCALLTYPE *IsStereoEnabled)( + IDXGIDisplayControl *This); + + void (STDMETHODCALLTYPE *SetStereoEnabled)( + IDXGIDisplayControl *This, + BOOL enabled); + + END_INTERFACE +} IDXGIDisplayControlVtbl; + +interface IDXGIDisplayControl { + CONST_VTBL IDXGIDisplayControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDisplayControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDisplayControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDisplayControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIDisplayControl methods ***/ +#define IDXGIDisplayControl_IsStereoEnabled(This) (This)->lpVtbl->IsStereoEnabled(This) +#define IDXGIDisplayControl_SetStereoEnabled(This,enabled) (This)->lpVtbl->SetStereoEnabled(This,enabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDisplayControl_QueryInterface(IDXGIDisplayControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDisplayControl_AddRef(IDXGIDisplayControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDisplayControl_Release(IDXGIDisplayControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIDisplayControl methods ***/ +static FORCEINLINE BOOL IDXGIDisplayControl_IsStereoEnabled(IDXGIDisplayControl* This) { + return This->lpVtbl->IsStereoEnabled(This); +} +static FORCEINLINE void IDXGIDisplayControl_SetStereoEnabled(IDXGIDisplayControl* This,BOOL enabled) { + This->lpVtbl->SetStereoEnabled(This,enabled); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDisplayControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIDevice2 interface + */ +#ifndef __IDXGIDevice2_INTERFACE_DEFINED__ +#define __IDXGIDevice2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice2, 0x05008617, 0xfbfd, 0x4051, 0xa7,0x90, 0x14,0x48,0x84,0xb4,0xf6,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("05008617-fbfd-4051-a790-144884b4f6a9") +IDXGIDevice2 : public IDXGIDevice1 +{ + virtual HRESULT STDMETHODCALLTYPE OfferResources( + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReclaimResources( + UINT NumResources, + IDXGIResource *const *ppResources, + BOOL *pDiscarded) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnqueueSetEvent( + HANDLE hEvent) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice2, 0x05008617, 0xfbfd, 0x4051, 0xa7,0x90, 0x14,0x48,0x84,0xb4,0xf6,0xa9) +#endif +#else +typedef struct IDXGIDevice2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice2 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice2 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice2 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice2 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice2 *This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice2 *This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice2 *This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice2 *This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice2 *This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice2 *This, + INT *priority); + + /*** IDXGIDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGIDevice2 *This, + UINT MaxLatency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGIDevice2 *This, + UINT *pMaxLatency); + + /*** IDXGIDevice2 methods ***/ + HRESULT (STDMETHODCALLTYPE *OfferResources)( + IDXGIDevice2 *This, + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority); + + HRESULT (STDMETHODCALLTYPE *ReclaimResources)( + IDXGIDevice2 *This, + UINT NumResources, + IDXGIResource *const *ppResources, + BOOL *pDiscarded); + + HRESULT (STDMETHODCALLTYPE *EnqueueSetEvent)( + IDXGIDevice2 *This, + HANDLE hEvent); + + END_INTERFACE +} IDXGIDevice2Vtbl; + +interface IDXGIDevice2 { + CONST_VTBL IDXGIDevice2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice2_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice2_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice2_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice2_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice2_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +/*** IDXGIDevice1 methods ***/ +#define IDXGIDevice2_SetMaximumFrameLatency(This,MaxLatency) (This)->lpVtbl->SetMaximumFrameLatency(This,MaxLatency) +#define IDXGIDevice2_GetMaximumFrameLatency(This,pMaxLatency) (This)->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency) +/*** IDXGIDevice2 methods ***/ +#define IDXGIDevice2_OfferResources(This,NumResources,ppResources,Priority) (This)->lpVtbl->OfferResources(This,NumResources,ppResources,Priority) +#define IDXGIDevice2_ReclaimResources(This,NumResources,ppResources,pDiscarded) (This)->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded) +#define IDXGIDevice2_EnqueueSetEvent(This,hEvent) (This)->lpVtbl->EnqueueSetEvent(This,hEvent) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_QueryInterface(IDXGIDevice2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice2_AddRef(IDXGIDevice2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice2_Release(IDXGIDevice2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_SetPrivateData(IDXGIDevice2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice2_SetPrivateDataInterface(IDXGIDevice2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetPrivateData(IDXGIDevice2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetParent(IDXGIDevice2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_GetAdapter(IDXGIDevice2* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice2_CreateSurface(IDXGIDevice2* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice2_QueryResourceResidency(IDXGIDevice2* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice2_SetGPUThreadPriority(IDXGIDevice2* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetGPUThreadPriority(IDXGIDevice2* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +/*** IDXGIDevice1 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_SetMaximumFrameLatency(IDXGIDevice2* This,UINT MaxLatency) { + return This->lpVtbl->SetMaximumFrameLatency(This,MaxLatency); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetMaximumFrameLatency(IDXGIDevice2* This,UINT *pMaxLatency) { + return This->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency); +} +/*** IDXGIDevice2 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_OfferResources(IDXGIDevice2* This,UINT NumResources,IDXGIResource *const *ppResources,DXGI_OFFER_RESOURCE_PRIORITY Priority) { + return This->lpVtbl->OfferResources(This,NumResources,ppResources,Priority); +} +static FORCEINLINE HRESULT IDXGIDevice2_ReclaimResources(IDXGIDevice2* This,UINT NumResources,IDXGIResource *const *ppResources,BOOL *pDiscarded) { + return This->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded); +} +static FORCEINLINE HRESULT IDXGIDevice2_EnqueueSetEvent(IDXGIDevice2* This,HANDLE hEvent) { + return This->lpVtbl->EnqueueSetEvent(This,hEvent); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDevice2_INTERFACE_DEFINED__ */ + +typedef enum DXGI_SCALING { + DXGI_SCALING_STRETCH = 0, + DXGI_SCALING_NONE = 1 +} DXGI_SCALING; +typedef struct DXGI_SWAP_CHAIN_DESC1 { + UINT Width; + UINT Height; + DXGI_FORMAT Format; + BOOL Stereo; + DXGI_SAMPLE_DESC SampleDesc; + DXGI_USAGE BufferUsage; + UINT BufferCount; + DXGI_SCALING Scaling; + DXGI_SWAP_EFFECT SwapEffect; + DXGI_ALPHA_MODE AlphaMode; + UINT Flags; +} DXGI_SWAP_CHAIN_DESC1; +typedef struct DXGI_SWAP_CHAIN_FULLSCREEN_DESC { + DXGI_RATIONAL RefreshRate; + DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; + DXGI_MODE_SCALING Scaling; + BOOL Windowed; +} DXGI_SWAP_CHAIN_FULLSCREEN_DESC; +typedef struct DXGI_PRESENT_PARAMETERS { + UINT DirtyRectsCount; + RECT *pDirtyRects; + RECT *pScrollRect; + POINT *pScrollOffset; +} DXGI_PRESENT_PARAMETERS; +/***************************************************************************** + * IDXGISwapChain1 interface + */ +#ifndef __IDXGISwapChain1_INTERFACE_DEFINED__ +#define __IDXGISwapChain1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISwapChain1, 0x790a45f7, 0x0d42, 0x4876, 0x98,0x3a, 0x0a,0x55,0xcf,0xe6,0xf4,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("790a45f7-0d42-4876-983a-0a55cfe6f4aa") +IDXGISwapChain1 : public IDXGISwapChain +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc1( + DXGI_SWAP_CHAIN_DESC1 *pDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFullscreenDesc( + DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHwnd( + HWND *pHwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCoreWindow( + REFIID refiid, + void **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Present1( + UINT SyncInterval, + UINT PresentFlags, + const DXGI_PRESENT_PARAMETERS *pPresentParameters) = 0; + + virtual BOOL STDMETHODCALLTYPE IsTemporaryMonoSupported( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRestrictToOutput( + IDXGIOutput **ppRestrictToOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBackgroundColor( + const DXGI_RGBA *pColor) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBackgroundColor( + DXGI_RGBA *pColor) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRotation( + DXGI_MODE_ROTATION Rotation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRotation( + DXGI_MODE_ROTATION *pRotation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISwapChain1, 0x790a45f7, 0x0d42, 0x4876, 0x98,0x3a, 0x0a,0x55,0xcf,0xe6,0xf4,0xaa) +#endif +#else +typedef struct IDXGISwapChain1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISwapChain1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISwapChain1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISwapChain1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISwapChain1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISwapChain1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISwapChain1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISwapChain1 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISwapChain1 *This, + REFIID riid, + void **device); + + /*** IDXGISwapChain methods ***/ + HRESULT (STDMETHODCALLTYPE *Present)( + IDXGISwapChain1 *This, + UINT sync_interval, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IDXGISwapChain1 *This, + UINT buffer_idx, + REFIID riid, + void **surface); + + HRESULT (STDMETHODCALLTYPE *SetFullscreenState)( + IDXGISwapChain1 *This, + BOOL fullscreen, + IDXGIOutput *target); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenState)( + IDXGISwapChain1 *This, + BOOL *fullscreen, + IDXGIOutput **target); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISwapChain1 *This, + DXGI_SWAP_CHAIN_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers)( + IDXGISwapChain1 *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTarget)( + IDXGISwapChain1 *This, + const DXGI_MODE_DESC *target_mode_desc); + + HRESULT (STDMETHODCALLTYPE *GetContainingOutput)( + IDXGISwapChain1 *This, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGISwapChain1 *This, + DXGI_FRAME_STATISTICS *stats); + + HRESULT (STDMETHODCALLTYPE *GetLastPresentCount)( + IDXGISwapChain1 *This, + UINT *last_present_count); + + /*** IDXGISwapChain1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGISwapChain1 *This, + DXGI_SWAP_CHAIN_DESC1 *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenDesc)( + IDXGISwapChain1 *This, + DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetHwnd)( + IDXGISwapChain1 *This, + HWND *pHwnd); + + HRESULT (STDMETHODCALLTYPE *GetCoreWindow)( + IDXGISwapChain1 *This, + REFIID refiid, + void **ppUnk); + + HRESULT (STDMETHODCALLTYPE *Present1)( + IDXGISwapChain1 *This, + UINT SyncInterval, + UINT PresentFlags, + const DXGI_PRESENT_PARAMETERS *pPresentParameters); + + BOOL (STDMETHODCALLTYPE *IsTemporaryMonoSupported)( + IDXGISwapChain1 *This); + + HRESULT (STDMETHODCALLTYPE *GetRestrictToOutput)( + IDXGISwapChain1 *This, + IDXGIOutput **ppRestrictToOutput); + + HRESULT (STDMETHODCALLTYPE *SetBackgroundColor)( + IDXGISwapChain1 *This, + const DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *GetBackgroundColor)( + IDXGISwapChain1 *This, + DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *SetRotation)( + IDXGISwapChain1 *This, + DXGI_MODE_ROTATION Rotation); + + HRESULT (STDMETHODCALLTYPE *GetRotation)( + IDXGISwapChain1 *This, + DXGI_MODE_ROTATION *pRotation); + + END_INTERFACE +} IDXGISwapChain1Vtbl; + +interface IDXGISwapChain1 { + CONST_VTBL IDXGISwapChain1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISwapChain1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISwapChain1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISwapChain1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISwapChain1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISwapChain1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISwapChain1_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISwapChain methods ***/ +#define IDXGISwapChain1_Present(This,sync_interval,flags) (This)->lpVtbl->Present(This,sync_interval,flags) +#define IDXGISwapChain1_GetBuffer(This,buffer_idx,riid,surface) (This)->lpVtbl->GetBuffer(This,buffer_idx,riid,surface) +#define IDXGISwapChain1_SetFullscreenState(This,fullscreen,target) (This)->lpVtbl->SetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain1_GetFullscreenState(This,fullscreen,target) (This)->lpVtbl->GetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain1_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISwapChain1_ResizeBuffers(This,buffer_count,width,height,format,flags) (This)->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags) +#define IDXGISwapChain1_ResizeTarget(This,target_mode_desc) (This)->lpVtbl->ResizeTarget(This,target_mode_desc) +#define IDXGISwapChain1_GetContainingOutput(This,output) (This)->lpVtbl->GetContainingOutput(This,output) +#define IDXGISwapChain1_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +#define IDXGISwapChain1_GetLastPresentCount(This,last_present_count) (This)->lpVtbl->GetLastPresentCount(This,last_present_count) +/*** IDXGISwapChain1 methods ***/ +#define IDXGISwapChain1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#define IDXGISwapChain1_GetFullscreenDesc(This,pDesc) (This)->lpVtbl->GetFullscreenDesc(This,pDesc) +#define IDXGISwapChain1_GetHwnd(This,pHwnd) (This)->lpVtbl->GetHwnd(This,pHwnd) +#define IDXGISwapChain1_GetCoreWindow(This,refiid,ppUnk) (This)->lpVtbl->GetCoreWindow(This,refiid,ppUnk) +#define IDXGISwapChain1_Present1(This,SyncInterval,PresentFlags,pPresentParameters) (This)->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters) +#define IDXGISwapChain1_IsTemporaryMonoSupported(This) (This)->lpVtbl->IsTemporaryMonoSupported(This) +#define IDXGISwapChain1_GetRestrictToOutput(This,ppRestrictToOutput) (This)->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput) +#define IDXGISwapChain1_SetBackgroundColor(This,pColor) (This)->lpVtbl->SetBackgroundColor(This,pColor) +#define IDXGISwapChain1_GetBackgroundColor(This,pColor) (This)->lpVtbl->GetBackgroundColor(This,pColor) +#define IDXGISwapChain1_SetRotation(This,Rotation) (This)->lpVtbl->SetRotation(This,Rotation) +#define IDXGISwapChain1_GetRotation(This,pRotation) (This)->lpVtbl->GetRotation(This,pRotation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain1_QueryInterface(IDXGISwapChain1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISwapChain1_AddRef(IDXGISwapChain1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISwapChain1_Release(IDXGISwapChain1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain1_SetPrivateData(IDXGISwapChain1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain1_SetPrivateDataInterface(IDXGISwapChain1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetPrivateData(IDXGISwapChain1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetParent(IDXGISwapChain1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain1_GetDevice(IDXGISwapChain1* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISwapChain methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain1_Present(IDXGISwapChain1* This,UINT sync_interval,UINT flags) { + return This->lpVtbl->Present(This,sync_interval,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetBuffer(IDXGISwapChain1* This,UINT buffer_idx,REFIID riid,void **surface) { + return This->lpVtbl->GetBuffer(This,buffer_idx,riid,surface); +} +static FORCEINLINE HRESULT IDXGISwapChain1_SetFullscreenState(IDXGISwapChain1* This,BOOL fullscreen,IDXGIOutput *target) { + return This->lpVtbl->SetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetFullscreenState(IDXGISwapChain1* This,BOOL *fullscreen,IDXGIOutput **target) { + return This->lpVtbl->GetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetDesc(IDXGISwapChain1* This,DXGI_SWAP_CHAIN_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISwapChain1_ResizeBuffers(IDXGISwapChain1* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags) { + return This->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain1_ResizeTarget(IDXGISwapChain1* This,const DXGI_MODE_DESC *target_mode_desc) { + return This->lpVtbl->ResizeTarget(This,target_mode_desc); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetContainingOutput(IDXGISwapChain1* This,IDXGIOutput **output) { + return This->lpVtbl->GetContainingOutput(This,output); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetFrameStatistics(IDXGISwapChain1* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetLastPresentCount(IDXGISwapChain1* This,UINT *last_present_count) { + return This->lpVtbl->GetLastPresentCount(This,last_present_count); +} +/*** IDXGISwapChain1 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain1_GetDesc1(IDXGISwapChain1* This,DXGI_SWAP_CHAIN_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetFullscreenDesc(IDXGISwapChain1* This,DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc) { + return This->lpVtbl->GetFullscreenDesc(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetHwnd(IDXGISwapChain1* This,HWND *pHwnd) { + return This->lpVtbl->GetHwnd(This,pHwnd); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetCoreWindow(IDXGISwapChain1* This,REFIID refiid,void **ppUnk) { + return This->lpVtbl->GetCoreWindow(This,refiid,ppUnk); +} +static FORCEINLINE HRESULT IDXGISwapChain1_Present1(IDXGISwapChain1* This,UINT SyncInterval,UINT PresentFlags,const DXGI_PRESENT_PARAMETERS *pPresentParameters) { + return This->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters); +} +static FORCEINLINE BOOL IDXGISwapChain1_IsTemporaryMonoSupported(IDXGISwapChain1* This) { + return This->lpVtbl->IsTemporaryMonoSupported(This); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetRestrictToOutput(IDXGISwapChain1* This,IDXGIOutput **ppRestrictToOutput) { + return This->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput); +} +static FORCEINLINE HRESULT IDXGISwapChain1_SetBackgroundColor(IDXGISwapChain1* This,const DXGI_RGBA *pColor) { + return This->lpVtbl->SetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetBackgroundColor(IDXGISwapChain1* This,DXGI_RGBA *pColor) { + return This->lpVtbl->GetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain1_SetRotation(IDXGISwapChain1* This,DXGI_MODE_ROTATION Rotation) { + return This->lpVtbl->SetRotation(This,Rotation); +} +static FORCEINLINE HRESULT IDXGISwapChain1_GetRotation(IDXGISwapChain1* This,DXGI_MODE_ROTATION *pRotation) { + return This->lpVtbl->GetRotation(This,pRotation); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISwapChain1_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIFactory2 interface + */ +#ifndef __IDXGIFactory2_INTERFACE_DEFINED__ +#define __IDXGIFactory2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactory2, 0x50c83a1c, 0xe072, 0x4c48, 0x87,0xb0, 0x36,0x30,0xfa,0x36,0xa6,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50c83a1c-e072-4c48-87b0-3630fa36a6d0") +IDXGIFactory2 : public IDXGIFactory1 +{ + virtual BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd( + IUnknown *pDevice, + HWND hWnd, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow( + IUnknown *pDevice, + IUnknown *pWindow, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid( + HANDLE hResource, + LUID *pLuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow( + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent( + HANDLE hEvent, + DWORD *pdwCookie) = 0; + + virtual void STDMETHODCALLTYPE UnregisterStereoStatus( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow( + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent( + HANDLE hEvent, + DWORD *pdwCookie) = 0; + + virtual void STDMETHODCALLTYPE UnregisterOcclusionStatus( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition( + IUnknown *pDevice, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactory2, 0x50c83a1c, 0xe072, 0x4c48, 0x87,0xb0, 0x36,0x30,0xfa,0x36,0xa6,0xd0) +#endif +#else +typedef struct IDXGIFactory2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactory2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactory2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactory2 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIFactory2 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIFactory2 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIFactory2 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIFactory2 *This, + REFIID riid, + void **parent); + + /*** IDXGIFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters)( + IDXGIFactory2 *This, + UINT adapter_idx, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *MakeWindowAssociation)( + IDXGIFactory2 *This, + HWND window, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetWindowAssociation)( + IDXGIFactory2 *This, + HWND *window); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChain)( + IDXGIFactory2 *This, + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateSoftwareAdapter)( + IDXGIFactory2 *This, + HMODULE swrast, + IDXGIAdapter **adapter); + + /*** IDXGIFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters1)( + IDXGIFactory2 *This, + UINT Adapter, + IDXGIAdapter1 **ppAdapter); + + BOOL (STDMETHODCALLTYPE *IsCurrent)( + IDXGIFactory2 *This); + + /*** IDXGIFactory2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsWindowedStereoEnabled)( + IDXGIFactory2 *This); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForHwnd)( + IDXGIFactory2 *This, + IUnknown *pDevice, + HWND hWnd, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForCoreWindow)( + IDXGIFactory2 *This, + IUnknown *pDevice, + IUnknown *pWindow, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *GetSharedResourceAdapterLuid)( + IDXGIFactory2 *This, + HANDLE hResource, + LUID *pLuid); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusWindow)( + IDXGIFactory2 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusEvent)( + IDXGIFactory2 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterStereoStatus)( + IDXGIFactory2 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusWindow)( + IDXGIFactory2 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusEvent)( + IDXGIFactory2 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterOcclusionStatus)( + IDXGIFactory2 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForComposition)( + IDXGIFactory2 *This, + IUnknown *pDevice, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + END_INTERFACE +} IDXGIFactory2Vtbl; + +interface IDXGIFactory2 { + CONST_VTBL IDXGIFactory2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactory2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIFactory2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIFactory2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIFactory2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIFactory2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIFactory methods ***/ +#define IDXGIFactory2_EnumAdapters(This,adapter_idx,adapter) (This)->lpVtbl->EnumAdapters(This,adapter_idx,adapter) +#define IDXGIFactory2_MakeWindowAssociation(This,window,flags) (This)->lpVtbl->MakeWindowAssociation(This,window,flags) +#define IDXGIFactory2_GetWindowAssociation(This,window) (This)->lpVtbl->GetWindowAssociation(This,window) +#define IDXGIFactory2_CreateSwapChain(This,device,desc,swapchain) (This)->lpVtbl->CreateSwapChain(This,device,desc,swapchain) +#define IDXGIFactory2_CreateSoftwareAdapter(This,swrast,adapter) (This)->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter) +/*** IDXGIFactory1 methods ***/ +#define IDXGIFactory2_EnumAdapters1(This,Adapter,ppAdapter) (This)->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter) +#define IDXGIFactory2_IsCurrent(This) (This)->lpVtbl->IsCurrent(This) +/*** IDXGIFactory2 methods ***/ +#define IDXGIFactory2_IsWindowedStereoEnabled(This) (This)->lpVtbl->IsWindowedStereoEnabled(This) +#define IDXGIFactory2_CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory2_CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory2_GetSharedResourceAdapterLuid(This,hResource,pLuid) (This)->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid) +#define IDXGIFactory2_RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory2_RegisterStereoStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory2_UnregisterStereoStatus(This,dwCookie) (This)->lpVtbl->UnregisterStereoStatus(This,dwCookie) +#define IDXGIFactory2_RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory2_RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory2_UnregisterOcclusionStatus(This,dwCookie) (This)->lpVtbl->UnregisterOcclusionStatus(This,dwCookie) +#define IDXGIFactory2_CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactory2_QueryInterface(IDXGIFactory2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactory2_AddRef(IDXGIFactory2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactory2_Release(IDXGIFactory2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIFactory2_SetPrivateData(IDXGIFactory2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory2_SetPrivateDataInterface(IDXGIFactory2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIFactory2_GetPrivateData(IDXGIFactory2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory2_GetParent(IDXGIFactory2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIFactory methods ***/ +static FORCEINLINE HRESULT IDXGIFactory2_EnumAdapters(IDXGIFactory2* This,UINT adapter_idx,IDXGIAdapter **adapter) { + return This->lpVtbl->EnumAdapters(This,adapter_idx,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory2_MakeWindowAssociation(IDXGIFactory2* This,HWND window,UINT flags) { + return This->lpVtbl->MakeWindowAssociation(This,window,flags); +} +static FORCEINLINE HRESULT IDXGIFactory2_GetWindowAssociation(IDXGIFactory2* This,HWND *window) { + return This->lpVtbl->GetWindowAssociation(This,window); +} +static FORCEINLINE HRESULT IDXGIFactory2_CreateSwapChain(IDXGIFactory2* This,IUnknown *device,DXGI_SWAP_CHAIN_DESC *desc,IDXGISwapChain **swapchain) { + return This->lpVtbl->CreateSwapChain(This,device,desc,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactory2_CreateSoftwareAdapter(IDXGIFactory2* This,HMODULE swrast,IDXGIAdapter **adapter) { + return This->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter); +} +/*** IDXGIFactory1 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory2_EnumAdapters1(IDXGIFactory2* This,UINT Adapter,IDXGIAdapter1 **ppAdapter) { + return This->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter); +} +static FORCEINLINE BOOL IDXGIFactory2_IsCurrent(IDXGIFactory2* This) { + return This->lpVtbl->IsCurrent(This); +} +/*** IDXGIFactory2 methods ***/ +static FORCEINLINE BOOL IDXGIFactory2_IsWindowedStereoEnabled(IDXGIFactory2* This) { + return This->lpVtbl->IsWindowedStereoEnabled(This); +} +static FORCEINLINE HRESULT IDXGIFactory2_CreateSwapChainForHwnd(IDXGIFactory2* This,IUnknown *pDevice,HWND hWnd,const DXGI_SWAP_CHAIN_DESC1 *pDesc,const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory2_CreateSwapChainForCoreWindow(IDXGIFactory2* This,IUnknown *pDevice,IUnknown *pWindow,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory2_GetSharedResourceAdapterLuid(IDXGIFactory2* This,HANDLE hResource,LUID *pLuid) { + return This->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid); +} +static FORCEINLINE HRESULT IDXGIFactory2_RegisterOcclusionStatusWindow(IDXGIFactory2* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory2_RegisterStereoStatusEvent(IDXGIFactory2* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory2_UnregisterStereoStatus(IDXGIFactory2* This,DWORD dwCookie) { + This->lpVtbl->UnregisterStereoStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory2_RegisterStereoStatusWindow(IDXGIFactory2* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory2_RegisterOcclusionStatusEvent(IDXGIFactory2* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory2_UnregisterOcclusionStatus(IDXGIFactory2* This,DWORD dwCookie) { + This->lpVtbl->UnregisterOcclusionStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory2_CreateSwapChainForComposition(IDXGIFactory2* This,IUnknown *pDevice,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactory2_INTERFACE_DEFINED__ */ + +typedef enum DXGI_GRAPHICS_PREEMPTION_GRANULARITY { + DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY = 0, + DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY = 1, + DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY = 2, + DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY = 3, + DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY = 4 +} DXGI_GRAPHICS_PREEMPTION_GRANULARITY; +typedef enum DXGI_COMPUTE_PREEMPTION_GRANULARITY { + DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY = 0, + DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY = 1, + DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY = 2, + DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY = 3, + DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY = 4 +} DXGI_COMPUTE_PREEMPTION_GRANULARITY; +typedef struct DXGI_ADAPTER_DESC2 { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; + UINT Flags; + DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity; + DXGI_COMPUTE_PREEMPTION_GRANULARITY ComputePreemptionGranularity; +} DXGI_ADAPTER_DESC2; +/***************************************************************************** + * IDXGIAdapter2 interface + */ +#ifndef __IDXGIAdapter2_INTERFACE_DEFINED__ +#define __IDXGIAdapter2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIAdapter2, 0x0aa1ae0a, 0xfa0e, 0x4b84, 0x86,0x44, 0xe0,0x5f,0xf8,0xe5,0xac,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5") +IDXGIAdapter2 : public IDXGIAdapter1 +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc2( + DXGI_ADAPTER_DESC2 *pDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIAdapter2, 0x0aa1ae0a, 0xfa0e, 0x4b84, 0x86,0x44, 0xe0,0x5f,0xf8,0xe5,0xac,0xb5) +#endif +#else +typedef struct IDXGIAdapter2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIAdapter2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIAdapter2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIAdapter2 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIAdapter2 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIAdapter2 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIAdapter2 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIAdapter2 *This, + REFIID riid, + void **parent); + + /*** IDXGIAdapter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumOutputs)( + IDXGIAdapter2 *This, + UINT output_idx, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIAdapter2 *This, + DXGI_ADAPTER_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *CheckInterfaceSupport)( + IDXGIAdapter2 *This, + REFGUID guid, + LARGE_INTEGER *umd_version); + + /*** IDXGIAdapter1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGIAdapter2 *This, + DXGI_ADAPTER_DESC1 *pDesc); + + /*** IDXGIAdapter2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc2)( + IDXGIAdapter2 *This, + DXGI_ADAPTER_DESC2 *pDesc); + + END_INTERFACE +} IDXGIAdapter2Vtbl; + +interface IDXGIAdapter2 { + CONST_VTBL IDXGIAdapter2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIAdapter2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIAdapter2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIAdapter2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIAdapter2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIAdapter2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIAdapter methods ***/ +#define IDXGIAdapter2_EnumOutputs(This,output_idx,output) (This)->lpVtbl->EnumOutputs(This,output_idx,output) +#define IDXGIAdapter2_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIAdapter2_CheckInterfaceSupport(This,guid,umd_version) (This)->lpVtbl->CheckInterfaceSupport(This,guid,umd_version) +/*** IDXGIAdapter1 methods ***/ +#define IDXGIAdapter2_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +/*** IDXGIAdapter2 methods ***/ +#define IDXGIAdapter2_GetDesc2(This,pDesc) (This)->lpVtbl->GetDesc2(This,pDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter2_QueryInterface(IDXGIAdapter2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIAdapter2_AddRef(IDXGIAdapter2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIAdapter2_Release(IDXGIAdapter2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter2_SetPrivateData(IDXGIAdapter2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter2_SetPrivateDataInterface(IDXGIAdapter2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIAdapter2_GetPrivateData(IDXGIAdapter2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter2_GetParent(IDXGIAdapter2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIAdapter methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter2_EnumOutputs(IDXGIAdapter2* This,UINT output_idx,IDXGIOutput **output) { + return This->lpVtbl->EnumOutputs(This,output_idx,output); +} +static FORCEINLINE HRESULT IDXGIAdapter2_GetDesc(IDXGIAdapter2* This,DXGI_ADAPTER_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIAdapter2_CheckInterfaceSupport(IDXGIAdapter2* This,REFGUID guid,LARGE_INTEGER *umd_version) { + return This->lpVtbl->CheckInterfaceSupport(This,guid,umd_version); +} +/*** IDXGIAdapter1 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter2_GetDesc1(IDXGIAdapter2* This,DXGI_ADAPTER_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +/*** IDXGIAdapter2 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter2_GetDesc2(IDXGIAdapter2* This,DXGI_ADAPTER_DESC2 *pDesc) { + return This->lpVtbl->GetDesc2(This,pDesc); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIAdapter2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIOutput1 interface + */ +#ifndef __IDXGIOutput1_INTERFACE_DEFINED__ +#define __IDXGIOutput1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput1, 0x00cddea8, 0x939b, 0x4b83, 0xa3,0x40, 0xa6,0x85,0x22,0x66,0x66,0xcc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00cddea8-939b-4b83-a340-a685226666cc") +IDXGIOutput1 : public IDXGIOutput +{ + virtual HRESULT STDMETHODCALLTYPE GetDisplayModeList1( + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindClosestMatchingMode1( + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplaySurfaceData1( + IDXGIResource *destination) = 0; + + virtual HRESULT STDMETHODCALLTYPE DuplicateOutput( + IUnknown *device, + IDXGIOutputDuplication **output_duplication) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput1, 0x00cddea8, 0x939b, 0x4b83, 0xa3,0x40, 0xa6,0x85,0x22,0x66,0x66,0xcc) +#endif +#else +typedef struct IDXGIOutput1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput1 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput1 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput1 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput1 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput1 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput1 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput1 *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput1 *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput1 *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput1 *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput1 *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput1 *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput1 *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput1 *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput1 *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput1 *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput1 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput1 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput1 *This, + DXGI_FRAME_STATISTICS *stats); + + /*** IDXGIOutput1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList1)( + IDXGIOutput1 *This, + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode1)( + IDXGIOutput1 *This, + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData1)( + IDXGIOutput1 *This, + IDXGIResource *destination); + + HRESULT (STDMETHODCALLTYPE *DuplicateOutput)( + IDXGIOutput1 *This, + IUnknown *device, + IDXGIOutputDuplication **output_duplication); + + END_INTERFACE +} IDXGIOutput1Vtbl; + +interface IDXGIOutput1 { + CONST_VTBL IDXGIOutput1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput1_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput1_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput1_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput1_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput1_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput1_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput1_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput1_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput1_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput1_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput1_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput1_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +/*** IDXGIOutput1 methods ***/ +#define IDXGIOutput1_GetDisplayModeList1(This,enum_format,flags,num_modes,desc) (This)->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc) +#define IDXGIOutput1_FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) (This)->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) +#define IDXGIOutput1_GetDisplaySurfaceData1(This,destination) (This)->lpVtbl->GetDisplaySurfaceData1(This,destination) +#define IDXGIOutput1_DuplicateOutput(This,device,output_duplication) (This)->lpVtbl->DuplicateOutput(This,device,output_duplication) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput1_QueryInterface(IDXGIOutput1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput1_AddRef(IDXGIOutput1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput1_Release(IDXGIOutput1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput1_SetPrivateData(IDXGIOutput1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput1_SetPrivateDataInterface(IDXGIOutput1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetPrivateData(IDXGIOutput1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetParent(IDXGIOutput1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput1_GetDesc(IDXGIOutput1* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetDisplayModeList(IDXGIOutput1* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput1_FindClosestMatchingMode(IDXGIOutput1* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput1_WaitForVBlank(IDXGIOutput1* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput1_TakeOwnership(IDXGIOutput1* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput1_ReleaseOwnership(IDXGIOutput1* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetGammaControlCapabilities(IDXGIOutput1* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput1_SetGammaControl(IDXGIOutput1* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetGammaControl(IDXGIOutput1* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput1_SetDisplaySurface(IDXGIOutput1* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetDisplaySurfaceData(IDXGIOutput1* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetFrameStatistics(IDXGIOutput1* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +/*** IDXGIOutput1 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput1_GetDisplayModeList1(IDXGIOutput1* This,DXGI_FORMAT enum_format,UINT flags,UINT *num_modes,DXGI_MODE_DESC1 *desc) { + return This->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc); +} +static FORCEINLINE HRESULT IDXGIOutput1_FindClosestMatchingMode1(IDXGIOutput1* This,const DXGI_MODE_DESC1 *mode_to_match,DXGI_MODE_DESC1 *closest_match,IUnknown *concerned_device) { + return This->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device); +} +static FORCEINLINE HRESULT IDXGIOutput1_GetDisplaySurfaceData1(IDXGIOutput1* This,IDXGIResource *destination) { + return This->lpVtbl->GetDisplaySurfaceData1(This,destination); +} +static FORCEINLINE HRESULT IDXGIOutput1_DuplicateOutput(IDXGIOutput1* This,IUnknown *device,IDXGIOutputDuplication **output_duplication) { + return This->lpVtbl->DuplicateOutput(This,device,output_duplication); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput1_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi1_2_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_2.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_2.idl new file mode 100644 index 0000000..eeabd03 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_2.idl @@ -0,0 +1,422 @@ +/* + * Copyright 2014 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgi.idl"; + +const UINT DXGI_ENUM_MODES_STEREO = 0x4; +const UINT DXGI_ENUM_MODES_DISABLED_STEREO = 0x8; + +const DWORD DXGI_SHARED_RESOURCE_READ = 0x80000000; +const DWORD DXGI_SHARED_RESOURCE_WRITE = 0x00000001; + +typedef enum _DXGI_OFFER_RESOURCE_PRIORITY { + DXGI_OFFER_RESOURCE_PRIORITY_LOW = 1, + DXGI_OFFER_RESOURCE_PRIORITY_NORMAL, + DXGI_OFFER_RESOURCE_PRIORITY_HIGH +} DXGI_OFFER_RESOURCE_PRIORITY; + +typedef enum DXGI_ALPHA_MODE { + DXGI_ALPHA_MODE_UNSPECIFIED = 0, + DXGI_ALPHA_MODE_PREMULTIPLIED = 1, + DXGI_ALPHA_MODE_STRAIGHT = 2, + DXGI_ALPHA_MODE_IGNORE = 3, + DXGI_ALPHA_MODE_FORCE_DWORD = 0xffffffff +} DXGI_ALPHA_MODE; + +typedef struct DXGI_OUTDUPL_MOVE_RECT +{ + POINT SourcePoint; + RECT DestinationRect; +} DXGI_OUTDUPL_MOVE_RECT; + +typedef struct DXGI_OUTDUPL_DESC +{ + DXGI_MODE_DESC ModeDesc; + DXGI_MODE_ROTATION Rotation; + BOOL DesktopImageInSystemMemory; +} DXGI_OUTDUPL_DESC; + +typedef struct DXGI_OUTDUPL_POINTER_POSITION +{ + POINT Position; + BOOL Visible; +} DXGI_OUTDUPL_POINTER_POSITION; + +typedef enum DXGI_OUTDUPL_POINTER_SHAPE_TYPE +{ + DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME = 0x00000001, + DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR = 0x00000002, + DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR = 0x00000004 +} DXGI_OUTDUPL_POINTER_SHAPE_TYPE; + +typedef struct DXGI_OUTDUPL_POINTER_SHAPE_INFO +{ + UINT Type; + UINT Width; + UINT Height; + UINT Pitch; + POINT HotSpot; +} DXGI_OUTDUPL_POINTER_SHAPE_INFO; + +typedef struct DXGI_OUTDUPL_FRAME_INFO +{ + LARGE_INTEGER LastPresentTime; + LARGE_INTEGER LastMouseUpdateTime; + UINT AccumulatedFrames; + BOOL RectsCoalesced; + BOOL ProtectedContentMaskedOut; + DXGI_OUTDUPL_POINTER_POSITION PointerPosition; + UINT TotalMetadataBufferSize; + UINT PointerShapeBufferSize; +} DXGI_OUTDUPL_FRAME_INFO; + +typedef struct DXGI_MODE_DESC1 +{ + UINT Width; + UINT Height; + DXGI_RATIONAL RefreshRate; + DXGI_FORMAT Format; + DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; + DXGI_MODE_SCALING Scaling; + BOOL Stereo; +} DXGI_MODE_DESC1; + +[ + object, + uuid(191cfac3-a341-470d-b26e-a864f428319c), + local, + pointer_default(unique) +] +interface IDXGIOutputDuplication : IDXGIObject +{ + void GetDesc( + [out] DXGI_OUTDUPL_DESC *desc + ); + + HRESULT AcquireNextFrame( + [in] UINT timeout_in_milliseconds, + [out] DXGI_OUTDUPL_FRAME_INFO *frame_info, + [out] IDXGIResource **desktop_resource + ); + + HRESULT GetFrameDirtyRects( + [in] UINT dirty_rects_buffer_size, + [out] RECT *dirty_rects_buffer, + [out] UINT *dirty_rects_buffer_size_required + ); + + HRESULT GetFrameMoveRects( + [in] UINT move_rects_buffer_size, + [out] DXGI_OUTDUPL_MOVE_RECT *move_rect_buffer, + [out] UINT *move_rects_buffer_size_required + ); + + HRESULT GetFramePointerShape( + [in] UINT pointer_shape_buffer_size, + [out] void *pointer_shape_buffer, + [out] UINT *pointer_shape_buffer_size_required, + [out] DXGI_OUTDUPL_POINTER_SHAPE_INFO *pointer_shape_info + ); + + HRESULT MapDesktopSurface( + [out] DXGI_MAPPED_RECT *locked_rect + ); + + HRESULT UnMapDesktopSurface(); + + HRESULT ReleaseFrame(); +} + +[ + object, + uuid(aba496dd-b617-4cb8-a866-bc44d7eb1fa2), + local, + pointer_default(unique) +] +interface IDXGISurface2 : IDXGISurface1 +{ + HRESULT GetResource( + [in] REFIID iid, + [out] void **parent_resource, + [out] UINT *subresource_idx + ); +} + +[ + object, + uuid(30961379-4609-4a41-998e-54fe567ee0c1), + local, + pointer_default(unique) +] +interface IDXGIResource1 : IDXGIResource +{ + HRESULT CreateSubresourceSurface( + UINT index, + [out] IDXGISurface2 **surface + ); + HRESULT CreateSharedHandle( + [in] const SECURITY_ATTRIBUTES *attributes, + [in] DWORD access, + [in] const WCHAR *name, + [out] HANDLE *handle + ); +} + +[ + object, + uuid(ea9dbf1a-c88e-4486-854a-98aa0138f30c), + local, + pointer_default(unique) +] +interface IDXGIDisplayControl : IUnknown +{ + BOOL IsStereoEnabled(); + void SetStereoEnabled(BOOL enabled); +} + +[ + object, + uuid(05008617-fbfd-4051-a790-144884b4f6a9), + local, + pointer_default(unique) +] +interface IDXGIDevice2 : IDXGIDevice1 +{ + HRESULT OfferResources( + [in] UINT NumResources, + [in, size_is(NumResources)] IDXGIResource *const *ppResources, + [in] DXGI_OFFER_RESOURCE_PRIORITY Priority); + + HRESULT ReclaimResources( + [in] UINT NumResources, + [in, size_is(NumResources)] IDXGIResource *const *ppResources, + [out, size_is(NumResources)] BOOL *pDiscarded); + + HRESULT EnqueueSetEvent( + [in] HANDLE hEvent); +} + +typedef enum DXGI_SCALING { + DXGI_SCALING_STRETCH = 0, + DXGI_SCALING_NONE = 1 +} DXGI_SCALING; + +typedef struct DXGI_SWAP_CHAIN_DESC1 { + UINT Width; + UINT Height; + DXGI_FORMAT Format; + BOOL Stereo; + DXGI_SAMPLE_DESC SampleDesc; + DXGI_USAGE BufferUsage; + UINT BufferCount; + DXGI_SCALING Scaling; + DXGI_SWAP_EFFECT SwapEffect; + DXGI_ALPHA_MODE AlphaMode; + UINT Flags; +} DXGI_SWAP_CHAIN_DESC1; + +typedef struct DXGI_SWAP_CHAIN_FULLSCREEN_DESC { + DXGI_RATIONAL RefreshRate; + DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; + DXGI_MODE_SCALING Scaling; + BOOL Windowed; +} DXGI_SWAP_CHAIN_FULLSCREEN_DESC; + +typedef struct DXGI_PRESENT_PARAMETERS { + UINT DirtyRectsCount; + RECT *pDirtyRects; + RECT *pScrollRect; + POINT *pScrollOffset; +} DXGI_PRESENT_PARAMETERS; + +[ + object, + uuid(790a45f7-0d42-4876-983a-0a55cfe6f4aa), + local, + pointer_default(unique) +] +interface IDXGISwapChain1 : IDXGISwapChain +{ + HRESULT GetDesc1( + [out] DXGI_SWAP_CHAIN_DESC1 *pDesc); + + HRESULT GetFullscreenDesc( + [out] DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc); + + HRESULT GetHwnd( + [out] HWND *pHwnd); + + HRESULT GetCoreWindow( + [in] REFIID refiid, + [out] void **ppUnk); + + HRESULT Present1( + [in] UINT SyncInterval, + [in] UINT PresentFlags, + [in] const DXGI_PRESENT_PARAMETERS *pPresentParameters); + + BOOL IsTemporaryMonoSupported(); + + HRESULT GetRestrictToOutput( + [out] IDXGIOutput **ppRestrictToOutput); + + HRESULT SetBackgroundColor( + [in] const DXGI_RGBA *pColor); + + HRESULT GetBackgroundColor( + [out] DXGI_RGBA *pColor); + + HRESULT SetRotation( + [in] DXGI_MODE_ROTATION Rotation); + + HRESULT GetRotation( + [out] DXGI_MODE_ROTATION *pRotation); +} + +[ + object, + uuid(50c83a1c-e072-4c48-87b0-3630fa36a6d0), + local, + pointer_default(unique) +] +interface IDXGIFactory2 : IDXGIFactory1 +{ + BOOL IsWindowedStereoEnabled(); + + HRESULT CreateSwapChainForHwnd( + [in] IUnknown *pDevice, + [in] HWND hWnd, + [in] const DXGI_SWAP_CHAIN_DESC1 *pDesc, + [in] const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, + [in] IDXGIOutput *pRestrictToOutput, + [out] IDXGISwapChain1 **ppSwapChain); + + HRESULT CreateSwapChainForCoreWindow( + [in] IUnknown *pDevice, + [in] IUnknown *pWindow, + [in] const DXGI_SWAP_CHAIN_DESC1 *pDesc, + [in] IDXGIOutput *pRestrictToOutput, + [out] IDXGISwapChain1 **ppSwapChain); + + HRESULT GetSharedResourceAdapterLuid( + [in] HANDLE hResource, + [out] LUID *pLuid); + + HRESULT RegisterOcclusionStatusWindow( + [in] HWND WindowHandle, + [in] UINT wMsg, + [out] DWORD *pdwCookie); + + HRESULT RegisterStereoStatusEvent( + [in] HANDLE hEvent, + [out] DWORD *pdwCookie); + + void UnregisterStereoStatus( + [in] DWORD dwCookie); + + HRESULT RegisterStereoStatusWindow( + [in] HWND WindowHandle, + [in] UINT wMsg, + [out] DWORD *pdwCookie); + + HRESULT RegisterOcclusionStatusEvent( + [in] HANDLE hEvent, + [out] DWORD *pdwCookie); + + void UnregisterOcclusionStatus( + [in] DWORD dwCookie); + + HRESULT CreateSwapChainForComposition( + [in] IUnknown *pDevice, + [in] const DXGI_SWAP_CHAIN_DESC1 *pDesc, + [in] IDXGIOutput *pRestrictToOutput, + [out] IDXGISwapChain1 **ppSwapChain); +} + +typedef enum DXGI_GRAPHICS_PREEMPTION_GRANULARITY { + DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY, + DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY, + DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY, + DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY, + DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY +} DXGI_GRAPHICS_PREEMPTION_GRANULARITY; + +typedef enum DXGI_COMPUTE_PREEMPTION_GRANULARITY { + DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY, + DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY, + DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY, + DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY, + DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY +} DXGI_COMPUTE_PREEMPTION_GRANULARITY; + +typedef struct DXGI_ADAPTER_DESC2 { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; + UINT Flags; + DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity; + DXGI_COMPUTE_PREEMPTION_GRANULARITY ComputePreemptionGranularity; +} DXGI_ADAPTER_DESC2; + +[ + object, + uuid(0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5), + local, + pointer_default(unique) +] +interface IDXGIAdapter2 : IDXGIAdapter1 +{ + HRESULT GetDesc2([out] DXGI_ADAPTER_DESC2 *pDesc); +} + +[ + object, + uuid(00cddea8-939b-4b83-a340-a685226666cc), + local, + pointer_default(unique) +] +interface IDXGIOutput1 : IDXGIOutput +{ + HRESULT GetDisplayModeList1( + [in] DXGI_FORMAT enum_format, + [in] UINT flags, + [in, out] UINT *num_modes, + [out] DXGI_MODE_DESC1 *desc + ); + + HRESULT FindClosestMatchingMode1( + [in] const DXGI_MODE_DESC1 *mode_to_match, + [out] DXGI_MODE_DESC1 *closest_match, + [in] IUnknown *concerned_device + ); + + HRESULT GetDisplaySurfaceData1( + [in] IDXGIResource *destination + ); + + HRESULT DuplicateOutput( + [in] IUnknown *device, + [out] IDXGIOutputDuplication **output_duplication + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_3.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_3.h new file mode 100644 index 0000000..c66fb20 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_3.h @@ -0,0 +1,1947 @@ +/*** Autogenerated by WIDL 2.18 from dxgi1_3.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgi1_3_h__ +#define __dxgi1_3_h__ + +/* Forward declarations */ + +#ifndef __IDXGIDevice3_FWD_DEFINED__ +#define __IDXGIDevice3_FWD_DEFINED__ +typedef interface IDXGIDevice3 IDXGIDevice3; +#ifdef __cplusplus +interface IDXGIDevice3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISwapChain2_FWD_DEFINED__ +#define __IDXGISwapChain2_FWD_DEFINED__ +typedef interface IDXGISwapChain2 IDXGISwapChain2; +#ifdef __cplusplus +interface IDXGISwapChain2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIOutput2_FWD_DEFINED__ +#define __IDXGIOutput2_FWD_DEFINED__ +typedef interface IDXGIOutput2 IDXGIOutput2; +#ifdef __cplusplus +interface IDXGIOutput2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactory3_FWD_DEFINED__ +#define __IDXGIFactory3_FWD_DEFINED__ +typedef interface IDXGIFactory3 IDXGIFactory3; +#ifdef __cplusplus +interface IDXGIFactory3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDecodeSwapChain_FWD_DEFINED__ +#define __IDXGIDecodeSwapChain_FWD_DEFINED__ +typedef interface IDXGIDecodeSwapChain IDXGIDecodeSwapChain; +#ifdef __cplusplus +interface IDXGIDecodeSwapChain; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactoryMedia_FWD_DEFINED__ +#define __IDXGIFactoryMedia_FWD_DEFINED__ +typedef interface IDXGIFactoryMedia IDXGIFactoryMedia; +#ifdef __cplusplus +interface IDXGIFactoryMedia; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISwapChainMedia_FWD_DEFINED__ +#define __IDXGISwapChainMedia_FWD_DEFINED__ +typedef interface IDXGISwapChainMedia IDXGISwapChainMedia; +#ifdef __cplusplus +interface IDXGISwapChainMedia; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIOutput3_FWD_DEFINED__ +#define __IDXGIOutput3_FWD_DEFINED__ +typedef interface IDXGIOutput3 IDXGIOutput3; +#ifdef __cplusplus +interface IDXGIOutput3; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct DXGI_MATRIX_3X2_F { + float _11; + float _12; + float _21; + float _22; + float _31; + float _32; +} DXGI_MATRIX_3X2_F; +typedef struct DXGI_DECODE_SWAP_CHAIN_DESC { + UINT Flags; +} DXGI_DECODE_SWAP_CHAIN_DESC; +typedef enum DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS { + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE = 0x1, + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709 = 0x2, + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC = 0x4 +} DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS; +typedef enum DXGI_FRAME_PRESENTATION_MODE { + DXGI_FRAME_PRESENTATION_MODE_COMPOSED = 0, + DXGI_FRAME_PRESENTATION_MODE_OVERLAY = 1, + DXGI_FRAME_PRESENTATION_MODE_NONE = 2, + DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE = 3 +} DXGI_FRAME_PRESENTATION_MODE; +typedef struct DXGI_FRAME_STATISTICS_MEDIA { + UINT PresentCount; + UINT PresentRefreshCount; + UINT SyncRefreshCount; + LARGE_INTEGER SyncQPCTime; + LARGE_INTEGER SyncGPUTime; + DXGI_FRAME_PRESENTATION_MODE CompositionMode; + UINT ApprovedPresentDuration; +} DXGI_FRAME_STATISTICS_MEDIA; +typedef enum DXGI_OVERLAY_SUPPORT_FLAG { + DXGI_OVERLAY_SUPPORT_FLAG_DIRECT = 0x1, + DXGI_OVERLAY_SUPPORT_FLAG_SCALING = 0x2 +} DXGI_OVERLAY_SUPPORT_FLAG; +/***************************************************************************** + * IDXGIDevice3 interface + */ +#ifndef __IDXGIDevice3_INTERFACE_DEFINED__ +#define __IDXGIDevice3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice3, 0x6007896c, 0x3244, 0x4afd, 0xbf,0x18, 0xa6,0xd3,0xbe,0xda,0x50,0x23); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6007896c-3244-4afd-bf18-a6d3beda5023") +IDXGIDevice3 : public IDXGIDevice2 +{ + virtual void STDMETHODCALLTYPE Trim( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice3, 0x6007896c, 0x3244, 0x4afd, 0xbf,0x18, 0xa6,0xd3,0xbe,0xda,0x50,0x23) +#endif +#else +typedef struct IDXGIDevice3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice3 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice3 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice3 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice3 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice3 *This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice3 *This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice3 *This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice3 *This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice3 *This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice3 *This, + INT *priority); + + /*** IDXGIDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGIDevice3 *This, + UINT MaxLatency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGIDevice3 *This, + UINT *pMaxLatency); + + /*** IDXGIDevice2 methods ***/ + HRESULT (STDMETHODCALLTYPE *OfferResources)( + IDXGIDevice3 *This, + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority); + + HRESULT (STDMETHODCALLTYPE *ReclaimResources)( + IDXGIDevice3 *This, + UINT NumResources, + IDXGIResource *const *ppResources, + BOOL *pDiscarded); + + HRESULT (STDMETHODCALLTYPE *EnqueueSetEvent)( + IDXGIDevice3 *This, + HANDLE hEvent); + + /*** IDXGIDevice3 methods ***/ + void (STDMETHODCALLTYPE *Trim)( + IDXGIDevice3 *This); + + END_INTERFACE +} IDXGIDevice3Vtbl; + +interface IDXGIDevice3 { + CONST_VTBL IDXGIDevice3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice3_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice3_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice3_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice3_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice3_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice3_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice3_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice3_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice3_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice3_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +/*** IDXGIDevice1 methods ***/ +#define IDXGIDevice3_SetMaximumFrameLatency(This,MaxLatency) (This)->lpVtbl->SetMaximumFrameLatency(This,MaxLatency) +#define IDXGIDevice3_GetMaximumFrameLatency(This,pMaxLatency) (This)->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency) +/*** IDXGIDevice2 methods ***/ +#define IDXGIDevice3_OfferResources(This,NumResources,ppResources,Priority) (This)->lpVtbl->OfferResources(This,NumResources,ppResources,Priority) +#define IDXGIDevice3_ReclaimResources(This,NumResources,ppResources,pDiscarded) (This)->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded) +#define IDXGIDevice3_EnqueueSetEvent(This,hEvent) (This)->lpVtbl->EnqueueSetEvent(This,hEvent) +/*** IDXGIDevice3 methods ***/ +#define IDXGIDevice3_Trim(This) (This)->lpVtbl->Trim(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice3_QueryInterface(IDXGIDevice3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice3_AddRef(IDXGIDevice3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice3_Release(IDXGIDevice3* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice3_SetPrivateData(IDXGIDevice3* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice3_SetPrivateDataInterface(IDXGIDevice3* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice3_GetPrivateData(IDXGIDevice3* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice3_GetParent(IDXGIDevice3* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice3_GetAdapter(IDXGIDevice3* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice3_CreateSurface(IDXGIDevice3* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice3_QueryResourceResidency(IDXGIDevice3* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice3_SetGPUThreadPriority(IDXGIDevice3* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice3_GetGPUThreadPriority(IDXGIDevice3* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +/*** IDXGIDevice1 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice3_SetMaximumFrameLatency(IDXGIDevice3* This,UINT MaxLatency) { + return This->lpVtbl->SetMaximumFrameLatency(This,MaxLatency); +} +static FORCEINLINE HRESULT IDXGIDevice3_GetMaximumFrameLatency(IDXGIDevice3* This,UINT *pMaxLatency) { + return This->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency); +} +/*** IDXGIDevice2 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice3_OfferResources(IDXGIDevice3* This,UINT NumResources,IDXGIResource *const *ppResources,DXGI_OFFER_RESOURCE_PRIORITY Priority) { + return This->lpVtbl->OfferResources(This,NumResources,ppResources,Priority); +} +static FORCEINLINE HRESULT IDXGIDevice3_ReclaimResources(IDXGIDevice3* This,UINT NumResources,IDXGIResource *const *ppResources,BOOL *pDiscarded) { + return This->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded); +} +static FORCEINLINE HRESULT IDXGIDevice3_EnqueueSetEvent(IDXGIDevice3* This,HANDLE hEvent) { + return This->lpVtbl->EnqueueSetEvent(This,hEvent); +} +/*** IDXGIDevice3 methods ***/ +static FORCEINLINE void IDXGIDevice3_Trim(IDXGIDevice3* This) { + This->lpVtbl->Trim(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDevice3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGISwapChain2 interface + */ +#ifndef __IDXGISwapChain2_INTERFACE_DEFINED__ +#define __IDXGISwapChain2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISwapChain2, 0xa8be2ac4, 0x199f, 0x4946, 0xb3,0x31, 0x79,0x59,0x9f,0xb9,0x8d,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a8be2ac4-199f-4946-b331-79599fb98de7") +IDXGISwapChain2 : public IDXGISwapChain1 +{ + virtual HRESULT STDMETHODCALLTYPE SetSourceSize( + UINT width, + UINT height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceSize( + UINT *width, + UINT *height) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMaximumFrameLatency( + UINT max_latency) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaximumFrameLatency( + UINT *max_latency) = 0; + + virtual HANDLE STDMETHODCALLTYPE GetFrameLatencyWaitableObject( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMatrixTransform( + const DXGI_MATRIX_3X2_F *matrix) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMatrixTransform( + DXGI_MATRIX_3X2_F *matrix) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISwapChain2, 0xa8be2ac4, 0x199f, 0x4946, 0xb3,0x31, 0x79,0x59,0x9f,0xb9,0x8d,0xe7) +#endif +#else +typedef struct IDXGISwapChain2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISwapChain2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISwapChain2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISwapChain2 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISwapChain2 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISwapChain2 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISwapChain2 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISwapChain2 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISwapChain2 *This, + REFIID riid, + void **device); + + /*** IDXGISwapChain methods ***/ + HRESULT (STDMETHODCALLTYPE *Present)( + IDXGISwapChain2 *This, + UINT sync_interval, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IDXGISwapChain2 *This, + UINT buffer_idx, + REFIID riid, + void **surface); + + HRESULT (STDMETHODCALLTYPE *SetFullscreenState)( + IDXGISwapChain2 *This, + BOOL fullscreen, + IDXGIOutput *target); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenState)( + IDXGISwapChain2 *This, + BOOL *fullscreen, + IDXGIOutput **target); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISwapChain2 *This, + DXGI_SWAP_CHAIN_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers)( + IDXGISwapChain2 *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTarget)( + IDXGISwapChain2 *This, + const DXGI_MODE_DESC *target_mode_desc); + + HRESULT (STDMETHODCALLTYPE *GetContainingOutput)( + IDXGISwapChain2 *This, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGISwapChain2 *This, + DXGI_FRAME_STATISTICS *stats); + + HRESULT (STDMETHODCALLTYPE *GetLastPresentCount)( + IDXGISwapChain2 *This, + UINT *last_present_count); + + /*** IDXGISwapChain1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGISwapChain2 *This, + DXGI_SWAP_CHAIN_DESC1 *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenDesc)( + IDXGISwapChain2 *This, + DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetHwnd)( + IDXGISwapChain2 *This, + HWND *pHwnd); + + HRESULT (STDMETHODCALLTYPE *GetCoreWindow)( + IDXGISwapChain2 *This, + REFIID refiid, + void **ppUnk); + + HRESULT (STDMETHODCALLTYPE *Present1)( + IDXGISwapChain2 *This, + UINT SyncInterval, + UINT PresentFlags, + const DXGI_PRESENT_PARAMETERS *pPresentParameters); + + BOOL (STDMETHODCALLTYPE *IsTemporaryMonoSupported)( + IDXGISwapChain2 *This); + + HRESULT (STDMETHODCALLTYPE *GetRestrictToOutput)( + IDXGISwapChain2 *This, + IDXGIOutput **ppRestrictToOutput); + + HRESULT (STDMETHODCALLTYPE *SetBackgroundColor)( + IDXGISwapChain2 *This, + const DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *GetBackgroundColor)( + IDXGISwapChain2 *This, + DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *SetRotation)( + IDXGISwapChain2 *This, + DXGI_MODE_ROTATION Rotation); + + HRESULT (STDMETHODCALLTYPE *GetRotation)( + IDXGISwapChain2 *This, + DXGI_MODE_ROTATION *pRotation); + + /*** IDXGISwapChain2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSourceSize)( + IDXGISwapChain2 *This, + UINT width, + UINT height); + + HRESULT (STDMETHODCALLTYPE *GetSourceSize)( + IDXGISwapChain2 *This, + UINT *width, + UINT *height); + + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGISwapChain2 *This, + UINT max_latency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGISwapChain2 *This, + UINT *max_latency); + + HANDLE (STDMETHODCALLTYPE *GetFrameLatencyWaitableObject)( + IDXGISwapChain2 *This); + + HRESULT (STDMETHODCALLTYPE *SetMatrixTransform)( + IDXGISwapChain2 *This, + const DXGI_MATRIX_3X2_F *matrix); + + HRESULT (STDMETHODCALLTYPE *GetMatrixTransform)( + IDXGISwapChain2 *This, + DXGI_MATRIX_3X2_F *matrix); + + END_INTERFACE +} IDXGISwapChain2Vtbl; + +interface IDXGISwapChain2 { + CONST_VTBL IDXGISwapChain2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISwapChain2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISwapChain2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISwapChain2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISwapChain2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISwapChain2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISwapChain2_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISwapChain methods ***/ +#define IDXGISwapChain2_Present(This,sync_interval,flags) (This)->lpVtbl->Present(This,sync_interval,flags) +#define IDXGISwapChain2_GetBuffer(This,buffer_idx,riid,surface) (This)->lpVtbl->GetBuffer(This,buffer_idx,riid,surface) +#define IDXGISwapChain2_SetFullscreenState(This,fullscreen,target) (This)->lpVtbl->SetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain2_GetFullscreenState(This,fullscreen,target) (This)->lpVtbl->GetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain2_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISwapChain2_ResizeBuffers(This,buffer_count,width,height,format,flags) (This)->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags) +#define IDXGISwapChain2_ResizeTarget(This,target_mode_desc) (This)->lpVtbl->ResizeTarget(This,target_mode_desc) +#define IDXGISwapChain2_GetContainingOutput(This,output) (This)->lpVtbl->GetContainingOutput(This,output) +#define IDXGISwapChain2_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +#define IDXGISwapChain2_GetLastPresentCount(This,last_present_count) (This)->lpVtbl->GetLastPresentCount(This,last_present_count) +/*** IDXGISwapChain1 methods ***/ +#define IDXGISwapChain2_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#define IDXGISwapChain2_GetFullscreenDesc(This,pDesc) (This)->lpVtbl->GetFullscreenDesc(This,pDesc) +#define IDXGISwapChain2_GetHwnd(This,pHwnd) (This)->lpVtbl->GetHwnd(This,pHwnd) +#define IDXGISwapChain2_GetCoreWindow(This,refiid,ppUnk) (This)->lpVtbl->GetCoreWindow(This,refiid,ppUnk) +#define IDXGISwapChain2_Present1(This,SyncInterval,PresentFlags,pPresentParameters) (This)->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters) +#define IDXGISwapChain2_IsTemporaryMonoSupported(This) (This)->lpVtbl->IsTemporaryMonoSupported(This) +#define IDXGISwapChain2_GetRestrictToOutput(This,ppRestrictToOutput) (This)->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput) +#define IDXGISwapChain2_SetBackgroundColor(This,pColor) (This)->lpVtbl->SetBackgroundColor(This,pColor) +#define IDXGISwapChain2_GetBackgroundColor(This,pColor) (This)->lpVtbl->GetBackgroundColor(This,pColor) +#define IDXGISwapChain2_SetRotation(This,Rotation) (This)->lpVtbl->SetRotation(This,Rotation) +#define IDXGISwapChain2_GetRotation(This,pRotation) (This)->lpVtbl->GetRotation(This,pRotation) +/*** IDXGISwapChain2 methods ***/ +#define IDXGISwapChain2_SetSourceSize(This,width,height) (This)->lpVtbl->SetSourceSize(This,width,height) +#define IDXGISwapChain2_GetSourceSize(This,width,height) (This)->lpVtbl->GetSourceSize(This,width,height) +#define IDXGISwapChain2_SetMaximumFrameLatency(This,max_latency) (This)->lpVtbl->SetMaximumFrameLatency(This,max_latency) +#define IDXGISwapChain2_GetMaximumFrameLatency(This,max_latency) (This)->lpVtbl->GetMaximumFrameLatency(This,max_latency) +#define IDXGISwapChain2_GetFrameLatencyWaitableObject(This) (This)->lpVtbl->GetFrameLatencyWaitableObject(This) +#define IDXGISwapChain2_SetMatrixTransform(This,matrix) (This)->lpVtbl->SetMatrixTransform(This,matrix) +#define IDXGISwapChain2_GetMatrixTransform(This,matrix) (This)->lpVtbl->GetMatrixTransform(This,matrix) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain2_QueryInterface(IDXGISwapChain2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISwapChain2_AddRef(IDXGISwapChain2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISwapChain2_Release(IDXGISwapChain2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain2_SetPrivateData(IDXGISwapChain2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain2_SetPrivateDataInterface(IDXGISwapChain2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetPrivateData(IDXGISwapChain2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetParent(IDXGISwapChain2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain2_GetDevice(IDXGISwapChain2* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISwapChain methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain2_Present(IDXGISwapChain2* This,UINT sync_interval,UINT flags) { + return This->lpVtbl->Present(This,sync_interval,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetBuffer(IDXGISwapChain2* This,UINT buffer_idx,REFIID riid,void **surface) { + return This->lpVtbl->GetBuffer(This,buffer_idx,riid,surface); +} +static FORCEINLINE HRESULT IDXGISwapChain2_SetFullscreenState(IDXGISwapChain2* This,BOOL fullscreen,IDXGIOutput *target) { + return This->lpVtbl->SetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetFullscreenState(IDXGISwapChain2* This,BOOL *fullscreen,IDXGIOutput **target) { + return This->lpVtbl->GetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetDesc(IDXGISwapChain2* This,DXGI_SWAP_CHAIN_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISwapChain2_ResizeBuffers(IDXGISwapChain2* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags) { + return This->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain2_ResizeTarget(IDXGISwapChain2* This,const DXGI_MODE_DESC *target_mode_desc) { + return This->lpVtbl->ResizeTarget(This,target_mode_desc); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetContainingOutput(IDXGISwapChain2* This,IDXGIOutput **output) { + return This->lpVtbl->GetContainingOutput(This,output); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetFrameStatistics(IDXGISwapChain2* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetLastPresentCount(IDXGISwapChain2* This,UINT *last_present_count) { + return This->lpVtbl->GetLastPresentCount(This,last_present_count); +} +/*** IDXGISwapChain1 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain2_GetDesc1(IDXGISwapChain2* This,DXGI_SWAP_CHAIN_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetFullscreenDesc(IDXGISwapChain2* This,DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc) { + return This->lpVtbl->GetFullscreenDesc(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetHwnd(IDXGISwapChain2* This,HWND *pHwnd) { + return This->lpVtbl->GetHwnd(This,pHwnd); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetCoreWindow(IDXGISwapChain2* This,REFIID refiid,void **ppUnk) { + return This->lpVtbl->GetCoreWindow(This,refiid,ppUnk); +} +static FORCEINLINE HRESULT IDXGISwapChain2_Present1(IDXGISwapChain2* This,UINT SyncInterval,UINT PresentFlags,const DXGI_PRESENT_PARAMETERS *pPresentParameters) { + return This->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters); +} +static FORCEINLINE BOOL IDXGISwapChain2_IsTemporaryMonoSupported(IDXGISwapChain2* This) { + return This->lpVtbl->IsTemporaryMonoSupported(This); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetRestrictToOutput(IDXGISwapChain2* This,IDXGIOutput **ppRestrictToOutput) { + return This->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput); +} +static FORCEINLINE HRESULT IDXGISwapChain2_SetBackgroundColor(IDXGISwapChain2* This,const DXGI_RGBA *pColor) { + return This->lpVtbl->SetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetBackgroundColor(IDXGISwapChain2* This,DXGI_RGBA *pColor) { + return This->lpVtbl->GetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain2_SetRotation(IDXGISwapChain2* This,DXGI_MODE_ROTATION Rotation) { + return This->lpVtbl->SetRotation(This,Rotation); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetRotation(IDXGISwapChain2* This,DXGI_MODE_ROTATION *pRotation) { + return This->lpVtbl->GetRotation(This,pRotation); +} +/*** IDXGISwapChain2 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain2_SetSourceSize(IDXGISwapChain2* This,UINT width,UINT height) { + return This->lpVtbl->SetSourceSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetSourceSize(IDXGISwapChain2* This,UINT *width,UINT *height) { + return This->lpVtbl->GetSourceSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGISwapChain2_SetMaximumFrameLatency(IDXGISwapChain2* This,UINT max_latency) { + return This->lpVtbl->SetMaximumFrameLatency(This,max_latency); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetMaximumFrameLatency(IDXGISwapChain2* This,UINT *max_latency) { + return This->lpVtbl->GetMaximumFrameLatency(This,max_latency); +} +static FORCEINLINE HANDLE IDXGISwapChain2_GetFrameLatencyWaitableObject(IDXGISwapChain2* This) { + return This->lpVtbl->GetFrameLatencyWaitableObject(This); +} +static FORCEINLINE HRESULT IDXGISwapChain2_SetMatrixTransform(IDXGISwapChain2* This,const DXGI_MATRIX_3X2_F *matrix) { + return This->lpVtbl->SetMatrixTransform(This,matrix); +} +static FORCEINLINE HRESULT IDXGISwapChain2_GetMatrixTransform(IDXGISwapChain2* This,DXGI_MATRIX_3X2_F *matrix) { + return This->lpVtbl->GetMatrixTransform(This,matrix); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISwapChain2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIOutput2 interface + */ +#ifndef __IDXGIOutput2_INTERFACE_DEFINED__ +#define __IDXGIOutput2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput2, 0x595e39d1, 0x2724, 0x4663, 0x99,0xb1, 0xda,0x96,0x9d,0xe2,0x83,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("595e39d1-2724-4663-99b1-da969de28364") +IDXGIOutput2 : public IDXGIOutput1 +{ + virtual BOOL STDMETHODCALLTYPE SupportsOverlays( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput2, 0x595e39d1, 0x2724, 0x4663, 0x99,0xb1, 0xda,0x96,0x9d,0xe2,0x83,0x64) +#endif +#else +typedef struct IDXGIOutput2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput2 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput2 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput2 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput2 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput2 *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput2 *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput2 *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput2 *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput2 *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput2 *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput2 *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput2 *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput2 *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput2 *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput2 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput2 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput2 *This, + DXGI_FRAME_STATISTICS *stats); + + /*** IDXGIOutput1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList1)( + IDXGIOutput2 *This, + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode1)( + IDXGIOutput2 *This, + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData1)( + IDXGIOutput2 *This, + IDXGIResource *destination); + + HRESULT (STDMETHODCALLTYPE *DuplicateOutput)( + IDXGIOutput2 *This, + IUnknown *device, + IDXGIOutputDuplication **output_duplication); + + /*** IDXGIOutput2 methods ***/ + BOOL (STDMETHODCALLTYPE *SupportsOverlays)( + IDXGIOutput2 *This); + + END_INTERFACE +} IDXGIOutput2Vtbl; + +interface IDXGIOutput2 { + CONST_VTBL IDXGIOutput2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput2_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput2_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput2_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput2_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput2_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput2_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput2_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput2_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput2_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput2_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput2_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput2_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +/*** IDXGIOutput1 methods ***/ +#define IDXGIOutput2_GetDisplayModeList1(This,enum_format,flags,num_modes,desc) (This)->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc) +#define IDXGIOutput2_FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) (This)->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) +#define IDXGIOutput2_GetDisplaySurfaceData1(This,destination) (This)->lpVtbl->GetDisplaySurfaceData1(This,destination) +#define IDXGIOutput2_DuplicateOutput(This,device,output_duplication) (This)->lpVtbl->DuplicateOutput(This,device,output_duplication) +/*** IDXGIOutput2 methods ***/ +#define IDXGIOutput2_SupportsOverlays(This) (This)->lpVtbl->SupportsOverlays(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput2_QueryInterface(IDXGIOutput2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput2_AddRef(IDXGIOutput2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput2_Release(IDXGIOutput2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput2_SetPrivateData(IDXGIOutput2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput2_SetPrivateDataInterface(IDXGIOutput2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetPrivateData(IDXGIOutput2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetParent(IDXGIOutput2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput2_GetDesc(IDXGIOutput2* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetDisplayModeList(IDXGIOutput2* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput2_FindClosestMatchingMode(IDXGIOutput2* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput2_WaitForVBlank(IDXGIOutput2* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput2_TakeOwnership(IDXGIOutput2* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput2_ReleaseOwnership(IDXGIOutput2* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetGammaControlCapabilities(IDXGIOutput2* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput2_SetGammaControl(IDXGIOutput2* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetGammaControl(IDXGIOutput2* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput2_SetDisplaySurface(IDXGIOutput2* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetDisplaySurfaceData(IDXGIOutput2* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetFrameStatistics(IDXGIOutput2* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +/*** IDXGIOutput1 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput2_GetDisplayModeList1(IDXGIOutput2* This,DXGI_FORMAT enum_format,UINT flags,UINT *num_modes,DXGI_MODE_DESC1 *desc) { + return This->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc); +} +static FORCEINLINE HRESULT IDXGIOutput2_FindClosestMatchingMode1(IDXGIOutput2* This,const DXGI_MODE_DESC1 *mode_to_match,DXGI_MODE_DESC1 *closest_match,IUnknown *concerned_device) { + return This->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device); +} +static FORCEINLINE HRESULT IDXGIOutput2_GetDisplaySurfaceData1(IDXGIOutput2* This,IDXGIResource *destination) { + return This->lpVtbl->GetDisplaySurfaceData1(This,destination); +} +static FORCEINLINE HRESULT IDXGIOutput2_DuplicateOutput(IDXGIOutput2* This,IUnknown *device,IDXGIOutputDuplication **output_duplication) { + return This->lpVtbl->DuplicateOutput(This,device,output_duplication); +} +/*** IDXGIOutput2 methods ***/ +static FORCEINLINE BOOL IDXGIOutput2_SupportsOverlays(IDXGIOutput2* This) { + return This->lpVtbl->SupportsOverlays(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIFactory3 interface + */ +#ifndef __IDXGIFactory3_INTERFACE_DEFINED__ +#define __IDXGIFactory3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactory3, 0x25483823, 0xcd46, 0x4c7d, 0x86,0xca, 0x47,0xaa,0x95,0xb8,0x37,0xbd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("25483823-cd46-4c7d-86ca-47aa95b837bd") +IDXGIFactory3 : public IDXGIFactory2 +{ + virtual UINT STDMETHODCALLTYPE GetCreationFlags( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactory3, 0x25483823, 0xcd46, 0x4c7d, 0x86,0xca, 0x47,0xaa,0x95,0xb8,0x37,0xbd) +#endif +#else +typedef struct IDXGIFactory3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactory3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactory3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactory3 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIFactory3 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIFactory3 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIFactory3 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIFactory3 *This, + REFIID riid, + void **parent); + + /*** IDXGIFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters)( + IDXGIFactory3 *This, + UINT adapter_idx, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *MakeWindowAssociation)( + IDXGIFactory3 *This, + HWND window, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetWindowAssociation)( + IDXGIFactory3 *This, + HWND *window); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChain)( + IDXGIFactory3 *This, + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateSoftwareAdapter)( + IDXGIFactory3 *This, + HMODULE swrast, + IDXGIAdapter **adapter); + + /*** IDXGIFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters1)( + IDXGIFactory3 *This, + UINT Adapter, + IDXGIAdapter1 **ppAdapter); + + BOOL (STDMETHODCALLTYPE *IsCurrent)( + IDXGIFactory3 *This); + + /*** IDXGIFactory2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsWindowedStereoEnabled)( + IDXGIFactory3 *This); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForHwnd)( + IDXGIFactory3 *This, + IUnknown *pDevice, + HWND hWnd, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForCoreWindow)( + IDXGIFactory3 *This, + IUnknown *pDevice, + IUnknown *pWindow, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *GetSharedResourceAdapterLuid)( + IDXGIFactory3 *This, + HANDLE hResource, + LUID *pLuid); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusWindow)( + IDXGIFactory3 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusEvent)( + IDXGIFactory3 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterStereoStatus)( + IDXGIFactory3 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusWindow)( + IDXGIFactory3 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusEvent)( + IDXGIFactory3 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterOcclusionStatus)( + IDXGIFactory3 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForComposition)( + IDXGIFactory3 *This, + IUnknown *pDevice, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + /*** IDXGIFactory3 methods ***/ + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + IDXGIFactory3 *This); + + END_INTERFACE +} IDXGIFactory3Vtbl; + +interface IDXGIFactory3 { + CONST_VTBL IDXGIFactory3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactory3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactory3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactory3_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIFactory3_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIFactory3_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIFactory3_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIFactory3_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIFactory methods ***/ +#define IDXGIFactory3_EnumAdapters(This,adapter_idx,adapter) (This)->lpVtbl->EnumAdapters(This,adapter_idx,adapter) +#define IDXGIFactory3_MakeWindowAssociation(This,window,flags) (This)->lpVtbl->MakeWindowAssociation(This,window,flags) +#define IDXGIFactory3_GetWindowAssociation(This,window) (This)->lpVtbl->GetWindowAssociation(This,window) +#define IDXGIFactory3_CreateSwapChain(This,device,desc,swapchain) (This)->lpVtbl->CreateSwapChain(This,device,desc,swapchain) +#define IDXGIFactory3_CreateSoftwareAdapter(This,swrast,adapter) (This)->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter) +/*** IDXGIFactory1 methods ***/ +#define IDXGIFactory3_EnumAdapters1(This,Adapter,ppAdapter) (This)->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter) +#define IDXGIFactory3_IsCurrent(This) (This)->lpVtbl->IsCurrent(This) +/*** IDXGIFactory2 methods ***/ +#define IDXGIFactory3_IsWindowedStereoEnabled(This) (This)->lpVtbl->IsWindowedStereoEnabled(This) +#define IDXGIFactory3_CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory3_CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory3_GetSharedResourceAdapterLuid(This,hResource,pLuid) (This)->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid) +#define IDXGIFactory3_RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory3_RegisterStereoStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory3_UnregisterStereoStatus(This,dwCookie) (This)->lpVtbl->UnregisterStereoStatus(This,dwCookie) +#define IDXGIFactory3_RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory3_RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory3_UnregisterOcclusionStatus(This,dwCookie) (This)->lpVtbl->UnregisterOcclusionStatus(This,dwCookie) +#define IDXGIFactory3_CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) +/*** IDXGIFactory3 methods ***/ +#define IDXGIFactory3_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactory3_QueryInterface(IDXGIFactory3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactory3_AddRef(IDXGIFactory3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactory3_Release(IDXGIFactory3* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIFactory3_SetPrivateData(IDXGIFactory3* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory3_SetPrivateDataInterface(IDXGIFactory3* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIFactory3_GetPrivateData(IDXGIFactory3* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory3_GetParent(IDXGIFactory3* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIFactory methods ***/ +static FORCEINLINE HRESULT IDXGIFactory3_EnumAdapters(IDXGIFactory3* This,UINT adapter_idx,IDXGIAdapter **adapter) { + return This->lpVtbl->EnumAdapters(This,adapter_idx,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory3_MakeWindowAssociation(IDXGIFactory3* This,HWND window,UINT flags) { + return This->lpVtbl->MakeWindowAssociation(This,window,flags); +} +static FORCEINLINE HRESULT IDXGIFactory3_GetWindowAssociation(IDXGIFactory3* This,HWND *window) { + return This->lpVtbl->GetWindowAssociation(This,window); +} +static FORCEINLINE HRESULT IDXGIFactory3_CreateSwapChain(IDXGIFactory3* This,IUnknown *device,DXGI_SWAP_CHAIN_DESC *desc,IDXGISwapChain **swapchain) { + return This->lpVtbl->CreateSwapChain(This,device,desc,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactory3_CreateSoftwareAdapter(IDXGIFactory3* This,HMODULE swrast,IDXGIAdapter **adapter) { + return This->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter); +} +/*** IDXGIFactory1 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory3_EnumAdapters1(IDXGIFactory3* This,UINT Adapter,IDXGIAdapter1 **ppAdapter) { + return This->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter); +} +static FORCEINLINE BOOL IDXGIFactory3_IsCurrent(IDXGIFactory3* This) { + return This->lpVtbl->IsCurrent(This); +} +/*** IDXGIFactory2 methods ***/ +static FORCEINLINE BOOL IDXGIFactory3_IsWindowedStereoEnabled(IDXGIFactory3* This) { + return This->lpVtbl->IsWindowedStereoEnabled(This); +} +static FORCEINLINE HRESULT IDXGIFactory3_CreateSwapChainForHwnd(IDXGIFactory3* This,IUnknown *pDevice,HWND hWnd,const DXGI_SWAP_CHAIN_DESC1 *pDesc,const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory3_CreateSwapChainForCoreWindow(IDXGIFactory3* This,IUnknown *pDevice,IUnknown *pWindow,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory3_GetSharedResourceAdapterLuid(IDXGIFactory3* This,HANDLE hResource,LUID *pLuid) { + return This->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid); +} +static FORCEINLINE HRESULT IDXGIFactory3_RegisterOcclusionStatusWindow(IDXGIFactory3* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory3_RegisterStereoStatusEvent(IDXGIFactory3* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory3_UnregisterStereoStatus(IDXGIFactory3* This,DWORD dwCookie) { + This->lpVtbl->UnregisterStereoStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory3_RegisterStereoStatusWindow(IDXGIFactory3* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory3_RegisterOcclusionStatusEvent(IDXGIFactory3* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory3_UnregisterOcclusionStatus(IDXGIFactory3* This,DWORD dwCookie) { + This->lpVtbl->UnregisterOcclusionStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory3_CreateSwapChainForComposition(IDXGIFactory3* This,IUnknown *pDevice,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain); +} +/*** IDXGIFactory3 methods ***/ +static FORCEINLINE UINT IDXGIFactory3_GetCreationFlags(IDXGIFactory3* This) { + return This->lpVtbl->GetCreationFlags(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactory3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIDecodeSwapChain interface + */ +#ifndef __IDXGIDecodeSwapChain_INTERFACE_DEFINED__ +#define __IDXGIDecodeSwapChain_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDecodeSwapChain, 0x2633066b, 0x4514, 0x4c7a, 0x8f,0xd8, 0x12,0xea,0x98,0x05,0x9d,0x18); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2633066b-4514-4c7a-8fd8-12ea98059d18") +IDXGIDecodeSwapChain : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PresentBuffer( + UINT buffer_to_present, + UINT sync_interval, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSourceRect( + const RECT *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTargetRect( + const RECT *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDestSize( + UINT width, + UINT height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceRect( + RECT *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTargetRect( + RECT *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDestSize( + UINT *width, + UINT *height) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorSpace( + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS colorspace) = 0; + + virtual DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS STDMETHODCALLTYPE GetColorSpace( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDecodeSwapChain, 0x2633066b, 0x4514, 0x4c7a, 0x8f,0xd8, 0x12,0xea,0x98,0x05,0x9d,0x18) +#endif +#else +typedef struct IDXGIDecodeSwapChainVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDecodeSwapChain *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDecodeSwapChain *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDecodeSwapChain *This); + + /*** IDXGIDecodeSwapChain methods ***/ + HRESULT (STDMETHODCALLTYPE *PresentBuffer)( + IDXGIDecodeSwapChain *This, + UINT buffer_to_present, + UINT sync_interval, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *SetSourceRect)( + IDXGIDecodeSwapChain *This, + const RECT *rect); + + HRESULT (STDMETHODCALLTYPE *SetTargetRect)( + IDXGIDecodeSwapChain *This, + const RECT *rect); + + HRESULT (STDMETHODCALLTYPE *SetDestSize)( + IDXGIDecodeSwapChain *This, + UINT width, + UINT height); + + HRESULT (STDMETHODCALLTYPE *GetSourceRect)( + IDXGIDecodeSwapChain *This, + RECT *rect); + + HRESULT (STDMETHODCALLTYPE *GetTargetRect)( + IDXGIDecodeSwapChain *This, + RECT *rect); + + HRESULT (STDMETHODCALLTYPE *GetDestSize)( + IDXGIDecodeSwapChain *This, + UINT *width, + UINT *height); + + HRESULT (STDMETHODCALLTYPE *SetColorSpace)( + IDXGIDecodeSwapChain *This, + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS colorspace); + + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS (STDMETHODCALLTYPE *GetColorSpace)( + IDXGIDecodeSwapChain *This); + + END_INTERFACE +} IDXGIDecodeSwapChainVtbl; + +interface IDXGIDecodeSwapChain { + CONST_VTBL IDXGIDecodeSwapChainVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDecodeSwapChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDecodeSwapChain_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDecodeSwapChain_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIDecodeSwapChain methods ***/ +#define IDXGIDecodeSwapChain_PresentBuffer(This,buffer_to_present,sync_interval,flags) (This)->lpVtbl->PresentBuffer(This,buffer_to_present,sync_interval,flags) +#define IDXGIDecodeSwapChain_SetSourceRect(This,rect) (This)->lpVtbl->SetSourceRect(This,rect) +#define IDXGIDecodeSwapChain_SetTargetRect(This,rect) (This)->lpVtbl->SetTargetRect(This,rect) +#define IDXGIDecodeSwapChain_SetDestSize(This,width,height) (This)->lpVtbl->SetDestSize(This,width,height) +#define IDXGIDecodeSwapChain_GetSourceRect(This,rect) (This)->lpVtbl->GetSourceRect(This,rect) +#define IDXGIDecodeSwapChain_GetTargetRect(This,rect) (This)->lpVtbl->GetTargetRect(This,rect) +#define IDXGIDecodeSwapChain_GetDestSize(This,width,height) (This)->lpVtbl->GetDestSize(This,width,height) +#define IDXGIDecodeSwapChain_SetColorSpace(This,colorspace) (This)->lpVtbl->SetColorSpace(This,colorspace) +#define IDXGIDecodeSwapChain_GetColorSpace(This) (This)->lpVtbl->GetColorSpace(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_QueryInterface(IDXGIDecodeSwapChain* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDecodeSwapChain_AddRef(IDXGIDecodeSwapChain* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDecodeSwapChain_Release(IDXGIDecodeSwapChain* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIDecodeSwapChain methods ***/ +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_PresentBuffer(IDXGIDecodeSwapChain* This,UINT buffer_to_present,UINT sync_interval,UINT flags) { + return This->lpVtbl->PresentBuffer(This,buffer_to_present,sync_interval,flags); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_SetSourceRect(IDXGIDecodeSwapChain* This,const RECT *rect) { + return This->lpVtbl->SetSourceRect(This,rect); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_SetTargetRect(IDXGIDecodeSwapChain* This,const RECT *rect) { + return This->lpVtbl->SetTargetRect(This,rect); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_SetDestSize(IDXGIDecodeSwapChain* This,UINT width,UINT height) { + return This->lpVtbl->SetDestSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_GetSourceRect(IDXGIDecodeSwapChain* This,RECT *rect) { + return This->lpVtbl->GetSourceRect(This,rect); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_GetTargetRect(IDXGIDecodeSwapChain* This,RECT *rect) { + return This->lpVtbl->GetTargetRect(This,rect); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_GetDestSize(IDXGIDecodeSwapChain* This,UINT *width,UINT *height) { + return This->lpVtbl->GetDestSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGIDecodeSwapChain_SetColorSpace(IDXGIDecodeSwapChain* This,DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS colorspace) { + return This->lpVtbl->SetColorSpace(This,colorspace); +} +static FORCEINLINE DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS IDXGIDecodeSwapChain_GetColorSpace(IDXGIDecodeSwapChain* This) { + return This->lpVtbl->GetColorSpace(This); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDecodeSwapChain_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIFactoryMedia interface + */ +#ifndef __IDXGIFactoryMedia_INTERFACE_DEFINED__ +#define __IDXGIFactoryMedia_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactoryMedia, 0x41e7d1f2, 0xa591, 0x4f7b, 0xa2,0xe5, 0xfa,0x9c,0x84,0x3e,0x1c,0x12); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("41e7d1f2-a591-4f7b-a2e5-fa9c843e1c12") +IDXGIFactoryMedia : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForCompositionSurfaceHandle( + IUnknown *device, + HANDLE surface, + const DXGI_SWAP_CHAIN_DESC1 *desc, + IDXGIOutput *restrict_to_output, + IDXGISwapChain1 **swapchain) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDecodeSwapChainForCompositionSurfaceHandle( + IUnknown *device, + HANDLE surface, + DXGI_DECODE_SWAP_CHAIN_DESC *desc, + IDXGIResource *yuv_decode_buffers, + IDXGIOutput *restrict_to_output, + IDXGIDecodeSwapChain **swapchain) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactoryMedia, 0x41e7d1f2, 0xa591, 0x4f7b, 0xa2,0xe5, 0xfa,0x9c,0x84,0x3e,0x1c,0x12) +#endif +#else +typedef struct IDXGIFactoryMediaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactoryMedia *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactoryMedia *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactoryMedia *This); + + /*** IDXGIFactoryMedia methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForCompositionSurfaceHandle)( + IDXGIFactoryMedia *This, + IUnknown *device, + HANDLE surface, + const DXGI_SWAP_CHAIN_DESC1 *desc, + IDXGIOutput *restrict_to_output, + IDXGISwapChain1 **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateDecodeSwapChainForCompositionSurfaceHandle)( + IDXGIFactoryMedia *This, + IUnknown *device, + HANDLE surface, + DXGI_DECODE_SWAP_CHAIN_DESC *desc, + IDXGIResource *yuv_decode_buffers, + IDXGIOutput *restrict_to_output, + IDXGIDecodeSwapChain **swapchain); + + END_INTERFACE +} IDXGIFactoryMediaVtbl; + +interface IDXGIFactoryMedia { + CONST_VTBL IDXGIFactoryMediaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactoryMedia_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactoryMedia_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactoryMedia_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIFactoryMedia methods ***/ +#define IDXGIFactoryMedia_CreateSwapChainForCompositionSurfaceHandle(This,device,surface,desc,restrict_to_output,swapchain) (This)->lpVtbl->CreateSwapChainForCompositionSurfaceHandle(This,device,surface,desc,restrict_to_output,swapchain) +#define IDXGIFactoryMedia_CreateDecodeSwapChainForCompositionSurfaceHandle(This,device,surface,desc,yuv_decode_buffers,restrict_to_output,swapchain) (This)->lpVtbl->CreateDecodeSwapChainForCompositionSurfaceHandle(This,device,surface,desc,yuv_decode_buffers,restrict_to_output,swapchain) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactoryMedia_QueryInterface(IDXGIFactoryMedia* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactoryMedia_AddRef(IDXGIFactoryMedia* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactoryMedia_Release(IDXGIFactoryMedia* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIFactoryMedia methods ***/ +static FORCEINLINE HRESULT IDXGIFactoryMedia_CreateSwapChainForCompositionSurfaceHandle(IDXGIFactoryMedia* This,IUnknown *device,HANDLE surface,const DXGI_SWAP_CHAIN_DESC1 *desc,IDXGIOutput *restrict_to_output,IDXGISwapChain1 **swapchain) { + return This->lpVtbl->CreateSwapChainForCompositionSurfaceHandle(This,device,surface,desc,restrict_to_output,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactoryMedia_CreateDecodeSwapChainForCompositionSurfaceHandle(IDXGIFactoryMedia* This,IUnknown *device,HANDLE surface,DXGI_DECODE_SWAP_CHAIN_DESC *desc,IDXGIResource *yuv_decode_buffers,IDXGIOutput *restrict_to_output,IDXGIDecodeSwapChain **swapchain) { + return This->lpVtbl->CreateDecodeSwapChainForCompositionSurfaceHandle(This,device,surface,desc,yuv_decode_buffers,restrict_to_output,swapchain); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactoryMedia_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGISwapChainMedia interface + */ +#ifndef __IDXGISwapChainMedia_INTERFACE_DEFINED__ +#define __IDXGISwapChainMedia_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISwapChainMedia, 0xdd95b90b, 0xf05f, 0x4f6a, 0xbd,0x65, 0x25,0xbf,0xb2,0x64,0xbd,0x84); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dd95b90b-f05f-4f6a-bd65-25bfb264bd84") +IDXGISwapChainMedia : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetFrameStatisticsMedia( + DXGI_FRAME_STATISTICS_MEDIA *stats) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPresentDuration( + UINT duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckPresentDurationSupport( + UINT desired_present_duration, + UINT *closest_smaller_present_duration, + UINT *closest_larger_present_duration) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISwapChainMedia, 0xdd95b90b, 0xf05f, 0x4f6a, 0xbd,0x65, 0x25,0xbf,0xb2,0x64,0xbd,0x84) +#endif +#else +typedef struct IDXGISwapChainMediaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISwapChainMedia *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISwapChainMedia *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISwapChainMedia *This); + + /*** IDXGISwapChainMedia methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFrameStatisticsMedia)( + IDXGISwapChainMedia *This, + DXGI_FRAME_STATISTICS_MEDIA *stats); + + HRESULT (STDMETHODCALLTYPE *SetPresentDuration)( + IDXGISwapChainMedia *This, + UINT duration); + + HRESULT (STDMETHODCALLTYPE *CheckPresentDurationSupport)( + IDXGISwapChainMedia *This, + UINT desired_present_duration, + UINT *closest_smaller_present_duration, + UINT *closest_larger_present_duration); + + END_INTERFACE +} IDXGISwapChainMediaVtbl; + +interface IDXGISwapChainMedia { + CONST_VTBL IDXGISwapChainMediaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISwapChainMedia_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISwapChainMedia_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISwapChainMedia_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGISwapChainMedia methods ***/ +#define IDXGISwapChainMedia_GetFrameStatisticsMedia(This,stats) (This)->lpVtbl->GetFrameStatisticsMedia(This,stats) +#define IDXGISwapChainMedia_SetPresentDuration(This,duration) (This)->lpVtbl->SetPresentDuration(This,duration) +#define IDXGISwapChainMedia_CheckPresentDurationSupport(This,desired_present_duration,closest_smaller_present_duration,closest_larger_present_duration) (This)->lpVtbl->CheckPresentDurationSupport(This,desired_present_duration,closest_smaller_present_duration,closest_larger_present_duration) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISwapChainMedia_QueryInterface(IDXGISwapChainMedia* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISwapChainMedia_AddRef(IDXGISwapChainMedia* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISwapChainMedia_Release(IDXGISwapChainMedia* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGISwapChainMedia methods ***/ +static FORCEINLINE HRESULT IDXGISwapChainMedia_GetFrameStatisticsMedia(IDXGISwapChainMedia* This,DXGI_FRAME_STATISTICS_MEDIA *stats) { + return This->lpVtbl->GetFrameStatisticsMedia(This,stats); +} +static FORCEINLINE HRESULT IDXGISwapChainMedia_SetPresentDuration(IDXGISwapChainMedia* This,UINT duration) { + return This->lpVtbl->SetPresentDuration(This,duration); +} +static FORCEINLINE HRESULT IDXGISwapChainMedia_CheckPresentDurationSupport(IDXGISwapChainMedia* This,UINT desired_present_duration,UINT *closest_smaller_present_duration,UINT *closest_larger_present_duration) { + return This->lpVtbl->CheckPresentDurationSupport(This,desired_present_duration,closest_smaller_present_duration,closest_larger_present_duration); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISwapChainMedia_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIOutput3 interface + */ +#ifndef __IDXGIOutput3_INTERFACE_DEFINED__ +#define __IDXGIOutput3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput3, 0x8a6bb301, 0x7e7e, 0x41f4, 0xa8,0xe0, 0x5b,0x32,0xf7,0xf9,0x9b,0x18); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8a6bb301-7e7e-41f4-a8e0-5b32f7f99b18") +IDXGIOutput3 : public IDXGIOutput2 +{ + virtual HRESULT STDMETHODCALLTYPE CheckOverlaySupport( + DXGI_FORMAT enum_format, + IUnknown *concerned_device, + UINT *flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput3, 0x8a6bb301, 0x7e7e, 0x41f4, 0xa8,0xe0, 0x5b,0x32,0xf7,0xf9,0x9b,0x18) +#endif +#else +typedef struct IDXGIOutput3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput3 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput3 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput3 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput3 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput3 *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput3 *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput3 *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput3 *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput3 *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput3 *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput3 *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput3 *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput3 *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput3 *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput3 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput3 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput3 *This, + DXGI_FRAME_STATISTICS *stats); + + /*** IDXGIOutput1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList1)( + IDXGIOutput3 *This, + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode1)( + IDXGIOutput3 *This, + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData1)( + IDXGIOutput3 *This, + IDXGIResource *destination); + + HRESULT (STDMETHODCALLTYPE *DuplicateOutput)( + IDXGIOutput3 *This, + IUnknown *device, + IDXGIOutputDuplication **output_duplication); + + /*** IDXGIOutput2 methods ***/ + BOOL (STDMETHODCALLTYPE *SupportsOverlays)( + IDXGIOutput3 *This); + + /*** IDXGIOutput3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlaySupport)( + IDXGIOutput3 *This, + DXGI_FORMAT enum_format, + IUnknown *concerned_device, + UINT *flags); + + END_INTERFACE +} IDXGIOutput3Vtbl; + +interface IDXGIOutput3 { + CONST_VTBL IDXGIOutput3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput3_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput3_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput3_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput3_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput3_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput3_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput3_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput3_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput3_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput3_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput3_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput3_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput3_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput3_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput3_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput3_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput3_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +/*** IDXGIOutput1 methods ***/ +#define IDXGIOutput3_GetDisplayModeList1(This,enum_format,flags,num_modes,desc) (This)->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc) +#define IDXGIOutput3_FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) (This)->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) +#define IDXGIOutput3_GetDisplaySurfaceData1(This,destination) (This)->lpVtbl->GetDisplaySurfaceData1(This,destination) +#define IDXGIOutput3_DuplicateOutput(This,device,output_duplication) (This)->lpVtbl->DuplicateOutput(This,device,output_duplication) +/*** IDXGIOutput2 methods ***/ +#define IDXGIOutput3_SupportsOverlays(This) (This)->lpVtbl->SupportsOverlays(This) +/*** IDXGIOutput3 methods ***/ +#define IDXGIOutput3_CheckOverlaySupport(This,enum_format,concerned_device,flags) (This)->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput3_QueryInterface(IDXGIOutput3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput3_AddRef(IDXGIOutput3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput3_Release(IDXGIOutput3* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput3_SetPrivateData(IDXGIOutput3* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput3_SetPrivateDataInterface(IDXGIOutput3* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetPrivateData(IDXGIOutput3* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetParent(IDXGIOutput3* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput3_GetDesc(IDXGIOutput3* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetDisplayModeList(IDXGIOutput3* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput3_FindClosestMatchingMode(IDXGIOutput3* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput3_WaitForVBlank(IDXGIOutput3* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput3_TakeOwnership(IDXGIOutput3* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput3_ReleaseOwnership(IDXGIOutput3* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetGammaControlCapabilities(IDXGIOutput3* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput3_SetGammaControl(IDXGIOutput3* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetGammaControl(IDXGIOutput3* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput3_SetDisplaySurface(IDXGIOutput3* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetDisplaySurfaceData(IDXGIOutput3* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetFrameStatistics(IDXGIOutput3* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +/*** IDXGIOutput1 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput3_GetDisplayModeList1(IDXGIOutput3* This,DXGI_FORMAT enum_format,UINT flags,UINT *num_modes,DXGI_MODE_DESC1 *desc) { + return This->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc); +} +static FORCEINLINE HRESULT IDXGIOutput3_FindClosestMatchingMode1(IDXGIOutput3* This,const DXGI_MODE_DESC1 *mode_to_match,DXGI_MODE_DESC1 *closest_match,IUnknown *concerned_device) { + return This->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device); +} +static FORCEINLINE HRESULT IDXGIOutput3_GetDisplaySurfaceData1(IDXGIOutput3* This,IDXGIResource *destination) { + return This->lpVtbl->GetDisplaySurfaceData1(This,destination); +} +static FORCEINLINE HRESULT IDXGIOutput3_DuplicateOutput(IDXGIOutput3* This,IUnknown *device,IDXGIOutputDuplication **output_duplication) { + return This->lpVtbl->DuplicateOutput(This,device,output_duplication); +} +/*** IDXGIOutput2 methods ***/ +static FORCEINLINE BOOL IDXGIOutput3_SupportsOverlays(IDXGIOutput3* This) { + return This->lpVtbl->SupportsOverlays(This); +} +/*** IDXGIOutput3 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput3_CheckOverlaySupport(IDXGIOutput3* This,DXGI_FORMAT enum_format,IUnknown *concerned_device,UINT *flags) { + return This->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput3_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi1_3_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_3.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_3.idl new file mode 100644 index 0000000..5ea20dd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_3.idl @@ -0,0 +1,225 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgi1_2.idl"; + +typedef struct DXGI_MATRIX_3X2_F +{ + float _11; + float _12; + float _21; + float _22; + float _31; + float _32; +} DXGI_MATRIX_3X2_F; + +typedef struct DXGI_DECODE_SWAP_CHAIN_DESC +{ + UINT Flags; +} DXGI_DECODE_SWAP_CHAIN_DESC; + +typedef enum DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS +{ + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE = 0x1, + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709 = 0x2, + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC = 0x4, +} DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS; + +typedef enum DXGI_FRAME_PRESENTATION_MODE +{ + DXGI_FRAME_PRESENTATION_MODE_COMPOSED = 0, + DXGI_FRAME_PRESENTATION_MODE_OVERLAY = 1, + DXGI_FRAME_PRESENTATION_MODE_NONE = 2, + DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE = 3, +} DXGI_FRAME_PRESENTATION_MODE; + +typedef struct DXGI_FRAME_STATISTICS_MEDIA +{ + UINT PresentCount; + UINT PresentRefreshCount; + UINT SyncRefreshCount; + LARGE_INTEGER SyncQPCTime; + LARGE_INTEGER SyncGPUTime; + DXGI_FRAME_PRESENTATION_MODE CompositionMode; + UINT ApprovedPresentDuration; +} DXGI_FRAME_STATISTICS_MEDIA; + +typedef enum DXGI_OVERLAY_SUPPORT_FLAG +{ + DXGI_OVERLAY_SUPPORT_FLAG_DIRECT = 0x1, + DXGI_OVERLAY_SUPPORT_FLAG_SCALING = 0x2, +} DXGI_OVERLAY_SUPPORT_FLAG; + +[ + object, + uuid(6007896c-3244-4afd-bf18-a6d3beda5023), + local, + pointer_default(unique) +] +interface IDXGIDevice3 : IDXGIDevice2 +{ + void Trim(); +} + +[ + object, + uuid(a8be2ac4-199f-4946-b331-79599fb98de7), + local, + pointer_default(unique) +] +interface IDXGISwapChain2 : IDXGISwapChain1 +{ + HRESULT SetSourceSize(UINT width, UINT height); + + HRESULT GetSourceSize( + [out] UINT *width, + [out] UINT *height + ); + + HRESULT SetMaximumFrameLatency(UINT max_latency); + + HRESULT GetMaximumFrameLatency( + [out] UINT *max_latency + ); + + HANDLE GetFrameLatencyWaitableObject(); + + HRESULT SetMatrixTransform(const DXGI_MATRIX_3X2_F *matrix); + + HRESULT GetMatrixTransform( + [out] DXGI_MATRIX_3X2_F *matrix + ); +} + +[ + object, + uuid(595e39d1-2724-4663-99b1-da969de28364), + local, + pointer_default(unique) +] +interface IDXGIOutput2 : IDXGIOutput1 +{ + BOOL SupportsOverlays(); +} + +[ + object, + uuid(25483823-cd46-4c7d-86ca-47aa95b837bd), + local, + pointer_default(unique) +] +interface IDXGIFactory3 : IDXGIFactory2 +{ + UINT GetCreationFlags(); +} + +[ + object, + uuid(2633066b-4514-4c7a-8fd8-12ea98059d18), + local, + pointer_default(unique) +] +interface IDXGIDecodeSwapChain : IUnknown +{ + HRESULT PresentBuffer(UINT buffer_to_present, UINT sync_interval, UINT flags); + + HRESULT SetSourceRect(const RECT *rect); + + HRESULT SetTargetRect(const RECT *rect); + + HRESULT SetDestSize(UINT width, UINT height); + + HRESULT GetSourceRect( + [out] RECT *rect + ); + + HRESULT GetTargetRect( + [out] RECT *rect + ); + + HRESULT GetDestSize( + [out] UINT *width, + [out] UINT *height + ); + + HRESULT SetColorSpace(DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS colorspace); + + DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS GetColorSpace(); +} + +[ + object, + uuid(41e7d1f2-a591-4f7b-a2e5-fa9c843e1c12), + local, + pointer_default(unique) +] +interface IDXGIFactoryMedia : IUnknown +{ + HRESULT CreateSwapChainForCompositionSurfaceHandle( + [in] IUnknown *device, + [in] HANDLE surface, + [in] const DXGI_SWAP_CHAIN_DESC1 *desc, + [in] IDXGIOutput *restrict_to_output, + [out] IDXGISwapChain1 **swapchain + ); + + HRESULT CreateDecodeSwapChainForCompositionSurfaceHandle( + [in] IUnknown *device, + [in] HANDLE surface, + [in] DXGI_DECODE_SWAP_CHAIN_DESC *desc, + [in] IDXGIResource *yuv_decode_buffers, + [in] IDXGIOutput *restrict_to_output, + [out] IDXGIDecodeSwapChain **swapchain + ); +} + +[ + object, + uuid(dd95b90b-f05f-4f6a-bd65-25bfb264bd84), + local, + pointer_default(unique) +] +interface IDXGISwapChainMedia : IUnknown +{ + HRESULT GetFrameStatisticsMedia( + [out] DXGI_FRAME_STATISTICS_MEDIA *stats + ); + + HRESULT SetPresentDuration(UINT duration); + + HRESULT CheckPresentDurationSupport( + UINT desired_present_duration, + [out] UINT *closest_smaller_present_duration, + [out] UINT *closest_larger_present_duration + ); +} + +[ + object, + uuid(8a6bb301-7e7e-41F4-a8e0-5b32f7f99b18), + local, + pointer_default(unique) +] +interface IDXGIOutput3 : IDXGIOutput2 +{ + HRESULT CheckOverlaySupport( + [in] DXGI_FORMAT enum_format, + [out] IUnknown *concerned_device, + [out] UINT *flags + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_4.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_4.h new file mode 100644 index 0000000..0dd1c84 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_4.h @@ -0,0 +1,1355 @@ +/*** Autogenerated by WIDL 2.18 from dxgi1_4.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgi1_4_h__ +#define __dxgi1_4_h__ + +/* Forward declarations */ + +#ifndef __IDXGISwapChain3_FWD_DEFINED__ +#define __IDXGISwapChain3_FWD_DEFINED__ +typedef interface IDXGISwapChain3 IDXGISwapChain3; +#ifdef __cplusplus +interface IDXGISwapChain3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIOutput4_FWD_DEFINED__ +#define __IDXGIOutput4_FWD_DEFINED__ +typedef interface IDXGIOutput4 IDXGIOutput4; +#ifdef __cplusplus +interface IDXGIOutput4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactory4_FWD_DEFINED__ +#define __IDXGIFactory4_FWD_DEFINED__ +typedef interface IDXGIFactory4 IDXGIFactory4; +#ifdef __cplusplus +interface IDXGIFactory4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIAdapter3_FWD_DEFINED__ +#define __IDXGIAdapter3_FWD_DEFINED__ +typedef interface IDXGIAdapter3 IDXGIAdapter3; +#ifdef __cplusplus +interface IDXGIAdapter3; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG { + DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT = 0x1, + DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_OVERLAY_PRESENT = 0x2 +} DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG; +typedef enum DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG { + DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG_PRESENT = 0x1 +} DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG; +typedef enum DXGI_MEMORY_SEGMENT_GROUP { + DXGI_MEMORY_SEGMENT_GROUP_LOCAL = 0x0, + DXGI_MEMORY_SEGMENT_GROUP_NON_LOCAL = 0x1 +} DXGI_MEMORY_SEGMENT_GROUP; +typedef struct DXGI_QUERY_VIDEO_MEMORY_INFO { + UINT64 Budget; + UINT64 CurrentUsage; + UINT64 AvailableForReservation; + UINT64 CurrentReservation; +} DXGI_QUERY_VIDEO_MEMORY_INFO; +/***************************************************************************** + * IDXGISwapChain3 interface + */ +#ifndef __IDXGISwapChain3_INTERFACE_DEFINED__ +#define __IDXGISwapChain3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISwapChain3, 0x94d99bdb, 0xf1f8, 0x4ab0, 0xb2,0x36, 0x7d,0xa0,0x17,0x0e,0xda,0xb1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("94d99bdb-f1f8-4ab0-b236-7da0170edab1") +IDXGISwapChain3 : public IDXGISwapChain2 +{ + virtual UINT STDMETHODCALLTYPE GetCurrentBackBufferIndex( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckColorSpaceSupport( + DXGI_COLOR_SPACE_TYPE colour_space, + UINT *colour_space_support) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorSpace1( + DXGI_COLOR_SPACE_TYPE colour_space) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeBuffers1( + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags, + const UINT *node_mask, + IUnknown *const *present_queue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISwapChain3, 0x94d99bdb, 0xf1f8, 0x4ab0, 0xb2,0x36, 0x7d,0xa0,0x17,0x0e,0xda,0xb1) +#endif +#else +typedef struct IDXGISwapChain3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISwapChain3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISwapChain3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISwapChain3 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISwapChain3 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISwapChain3 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISwapChain3 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISwapChain3 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISwapChain3 *This, + REFIID riid, + void **device); + + /*** IDXGISwapChain methods ***/ + HRESULT (STDMETHODCALLTYPE *Present)( + IDXGISwapChain3 *This, + UINT sync_interval, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IDXGISwapChain3 *This, + UINT buffer_idx, + REFIID riid, + void **surface); + + HRESULT (STDMETHODCALLTYPE *SetFullscreenState)( + IDXGISwapChain3 *This, + BOOL fullscreen, + IDXGIOutput *target); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenState)( + IDXGISwapChain3 *This, + BOOL *fullscreen, + IDXGIOutput **target); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISwapChain3 *This, + DXGI_SWAP_CHAIN_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers)( + IDXGISwapChain3 *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTarget)( + IDXGISwapChain3 *This, + const DXGI_MODE_DESC *target_mode_desc); + + HRESULT (STDMETHODCALLTYPE *GetContainingOutput)( + IDXGISwapChain3 *This, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGISwapChain3 *This, + DXGI_FRAME_STATISTICS *stats); + + HRESULT (STDMETHODCALLTYPE *GetLastPresentCount)( + IDXGISwapChain3 *This, + UINT *last_present_count); + + /*** IDXGISwapChain1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGISwapChain3 *This, + DXGI_SWAP_CHAIN_DESC1 *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenDesc)( + IDXGISwapChain3 *This, + DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetHwnd)( + IDXGISwapChain3 *This, + HWND *pHwnd); + + HRESULT (STDMETHODCALLTYPE *GetCoreWindow)( + IDXGISwapChain3 *This, + REFIID refiid, + void **ppUnk); + + HRESULT (STDMETHODCALLTYPE *Present1)( + IDXGISwapChain3 *This, + UINT SyncInterval, + UINT PresentFlags, + const DXGI_PRESENT_PARAMETERS *pPresentParameters); + + BOOL (STDMETHODCALLTYPE *IsTemporaryMonoSupported)( + IDXGISwapChain3 *This); + + HRESULT (STDMETHODCALLTYPE *GetRestrictToOutput)( + IDXGISwapChain3 *This, + IDXGIOutput **ppRestrictToOutput); + + HRESULT (STDMETHODCALLTYPE *SetBackgroundColor)( + IDXGISwapChain3 *This, + const DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *GetBackgroundColor)( + IDXGISwapChain3 *This, + DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *SetRotation)( + IDXGISwapChain3 *This, + DXGI_MODE_ROTATION Rotation); + + HRESULT (STDMETHODCALLTYPE *GetRotation)( + IDXGISwapChain3 *This, + DXGI_MODE_ROTATION *pRotation); + + /*** IDXGISwapChain2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSourceSize)( + IDXGISwapChain3 *This, + UINT width, + UINT height); + + HRESULT (STDMETHODCALLTYPE *GetSourceSize)( + IDXGISwapChain3 *This, + UINT *width, + UINT *height); + + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGISwapChain3 *This, + UINT max_latency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGISwapChain3 *This, + UINT *max_latency); + + HANDLE (STDMETHODCALLTYPE *GetFrameLatencyWaitableObject)( + IDXGISwapChain3 *This); + + HRESULT (STDMETHODCALLTYPE *SetMatrixTransform)( + IDXGISwapChain3 *This, + const DXGI_MATRIX_3X2_F *matrix); + + HRESULT (STDMETHODCALLTYPE *GetMatrixTransform)( + IDXGISwapChain3 *This, + DXGI_MATRIX_3X2_F *matrix); + + /*** IDXGISwapChain3 methods ***/ + UINT (STDMETHODCALLTYPE *GetCurrentBackBufferIndex)( + IDXGISwapChain3 *This); + + HRESULT (STDMETHODCALLTYPE *CheckColorSpaceSupport)( + IDXGISwapChain3 *This, + DXGI_COLOR_SPACE_TYPE colour_space, + UINT *colour_space_support); + + HRESULT (STDMETHODCALLTYPE *SetColorSpace1)( + IDXGISwapChain3 *This, + DXGI_COLOR_SPACE_TYPE colour_space); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers1)( + IDXGISwapChain3 *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags, + const UINT *node_mask, + IUnknown *const *present_queue); + + END_INTERFACE +} IDXGISwapChain3Vtbl; + +interface IDXGISwapChain3 { + CONST_VTBL IDXGISwapChain3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISwapChain3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISwapChain3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISwapChain3_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISwapChain3_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain3_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISwapChain3_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain3_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISwapChain3_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISwapChain methods ***/ +#define IDXGISwapChain3_Present(This,sync_interval,flags) (This)->lpVtbl->Present(This,sync_interval,flags) +#define IDXGISwapChain3_GetBuffer(This,buffer_idx,riid,surface) (This)->lpVtbl->GetBuffer(This,buffer_idx,riid,surface) +#define IDXGISwapChain3_SetFullscreenState(This,fullscreen,target) (This)->lpVtbl->SetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain3_GetFullscreenState(This,fullscreen,target) (This)->lpVtbl->GetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain3_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISwapChain3_ResizeBuffers(This,buffer_count,width,height,format,flags) (This)->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags) +#define IDXGISwapChain3_ResizeTarget(This,target_mode_desc) (This)->lpVtbl->ResizeTarget(This,target_mode_desc) +#define IDXGISwapChain3_GetContainingOutput(This,output) (This)->lpVtbl->GetContainingOutput(This,output) +#define IDXGISwapChain3_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +#define IDXGISwapChain3_GetLastPresentCount(This,last_present_count) (This)->lpVtbl->GetLastPresentCount(This,last_present_count) +/*** IDXGISwapChain1 methods ***/ +#define IDXGISwapChain3_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#define IDXGISwapChain3_GetFullscreenDesc(This,pDesc) (This)->lpVtbl->GetFullscreenDesc(This,pDesc) +#define IDXGISwapChain3_GetHwnd(This,pHwnd) (This)->lpVtbl->GetHwnd(This,pHwnd) +#define IDXGISwapChain3_GetCoreWindow(This,refiid,ppUnk) (This)->lpVtbl->GetCoreWindow(This,refiid,ppUnk) +#define IDXGISwapChain3_Present1(This,SyncInterval,PresentFlags,pPresentParameters) (This)->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters) +#define IDXGISwapChain3_IsTemporaryMonoSupported(This) (This)->lpVtbl->IsTemporaryMonoSupported(This) +#define IDXGISwapChain3_GetRestrictToOutput(This,ppRestrictToOutput) (This)->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput) +#define IDXGISwapChain3_SetBackgroundColor(This,pColor) (This)->lpVtbl->SetBackgroundColor(This,pColor) +#define IDXGISwapChain3_GetBackgroundColor(This,pColor) (This)->lpVtbl->GetBackgroundColor(This,pColor) +#define IDXGISwapChain3_SetRotation(This,Rotation) (This)->lpVtbl->SetRotation(This,Rotation) +#define IDXGISwapChain3_GetRotation(This,pRotation) (This)->lpVtbl->GetRotation(This,pRotation) +/*** IDXGISwapChain2 methods ***/ +#define IDXGISwapChain3_SetSourceSize(This,width,height) (This)->lpVtbl->SetSourceSize(This,width,height) +#define IDXGISwapChain3_GetSourceSize(This,width,height) (This)->lpVtbl->GetSourceSize(This,width,height) +#define IDXGISwapChain3_SetMaximumFrameLatency(This,max_latency) (This)->lpVtbl->SetMaximumFrameLatency(This,max_latency) +#define IDXGISwapChain3_GetMaximumFrameLatency(This,max_latency) (This)->lpVtbl->GetMaximumFrameLatency(This,max_latency) +#define IDXGISwapChain3_GetFrameLatencyWaitableObject(This) (This)->lpVtbl->GetFrameLatencyWaitableObject(This) +#define IDXGISwapChain3_SetMatrixTransform(This,matrix) (This)->lpVtbl->SetMatrixTransform(This,matrix) +#define IDXGISwapChain3_GetMatrixTransform(This,matrix) (This)->lpVtbl->GetMatrixTransform(This,matrix) +/*** IDXGISwapChain3 methods ***/ +#define IDXGISwapChain3_GetCurrentBackBufferIndex(This) (This)->lpVtbl->GetCurrentBackBufferIndex(This) +#define IDXGISwapChain3_CheckColorSpaceSupport(This,colour_space,colour_space_support) (This)->lpVtbl->CheckColorSpaceSupport(This,colour_space,colour_space_support) +#define IDXGISwapChain3_SetColorSpace1(This,colour_space) (This)->lpVtbl->SetColorSpace1(This,colour_space) +#define IDXGISwapChain3_ResizeBuffers1(This,buffer_count,width,height,format,flags,node_mask,present_queue) (This)->lpVtbl->ResizeBuffers1(This,buffer_count,width,height,format,flags,node_mask,present_queue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain3_QueryInterface(IDXGISwapChain3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISwapChain3_AddRef(IDXGISwapChain3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISwapChain3_Release(IDXGISwapChain3* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain3_SetPrivateData(IDXGISwapChain3* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetPrivateDataInterface(IDXGISwapChain3* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetPrivateData(IDXGISwapChain3* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetParent(IDXGISwapChain3* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain3_GetDevice(IDXGISwapChain3* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISwapChain methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain3_Present(IDXGISwapChain3* This,UINT sync_interval,UINT flags) { + return This->lpVtbl->Present(This,sync_interval,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetBuffer(IDXGISwapChain3* This,UINT buffer_idx,REFIID riid,void **surface) { + return This->lpVtbl->GetBuffer(This,buffer_idx,riid,surface); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetFullscreenState(IDXGISwapChain3* This,BOOL fullscreen,IDXGIOutput *target) { + return This->lpVtbl->SetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetFullscreenState(IDXGISwapChain3* This,BOOL *fullscreen,IDXGIOutput **target) { + return This->lpVtbl->GetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetDesc(IDXGISwapChain3* This,DXGI_SWAP_CHAIN_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISwapChain3_ResizeBuffers(IDXGISwapChain3* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags) { + return This->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain3_ResizeTarget(IDXGISwapChain3* This,const DXGI_MODE_DESC *target_mode_desc) { + return This->lpVtbl->ResizeTarget(This,target_mode_desc); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetContainingOutput(IDXGISwapChain3* This,IDXGIOutput **output) { + return This->lpVtbl->GetContainingOutput(This,output); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetFrameStatistics(IDXGISwapChain3* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetLastPresentCount(IDXGISwapChain3* This,UINT *last_present_count) { + return This->lpVtbl->GetLastPresentCount(This,last_present_count); +} +/*** IDXGISwapChain1 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain3_GetDesc1(IDXGISwapChain3* This,DXGI_SWAP_CHAIN_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetFullscreenDesc(IDXGISwapChain3* This,DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc) { + return This->lpVtbl->GetFullscreenDesc(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetHwnd(IDXGISwapChain3* This,HWND *pHwnd) { + return This->lpVtbl->GetHwnd(This,pHwnd); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetCoreWindow(IDXGISwapChain3* This,REFIID refiid,void **ppUnk) { + return This->lpVtbl->GetCoreWindow(This,refiid,ppUnk); +} +static FORCEINLINE HRESULT IDXGISwapChain3_Present1(IDXGISwapChain3* This,UINT SyncInterval,UINT PresentFlags,const DXGI_PRESENT_PARAMETERS *pPresentParameters) { + return This->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters); +} +static FORCEINLINE BOOL IDXGISwapChain3_IsTemporaryMonoSupported(IDXGISwapChain3* This) { + return This->lpVtbl->IsTemporaryMonoSupported(This); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetRestrictToOutput(IDXGISwapChain3* This,IDXGIOutput **ppRestrictToOutput) { + return This->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetBackgroundColor(IDXGISwapChain3* This,const DXGI_RGBA *pColor) { + return This->lpVtbl->SetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetBackgroundColor(IDXGISwapChain3* This,DXGI_RGBA *pColor) { + return This->lpVtbl->GetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetRotation(IDXGISwapChain3* This,DXGI_MODE_ROTATION Rotation) { + return This->lpVtbl->SetRotation(This,Rotation); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetRotation(IDXGISwapChain3* This,DXGI_MODE_ROTATION *pRotation) { + return This->lpVtbl->GetRotation(This,pRotation); +} +/*** IDXGISwapChain2 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain3_SetSourceSize(IDXGISwapChain3* This,UINT width,UINT height) { + return This->lpVtbl->SetSourceSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetSourceSize(IDXGISwapChain3* This,UINT *width,UINT *height) { + return This->lpVtbl->GetSourceSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetMaximumFrameLatency(IDXGISwapChain3* This,UINT max_latency) { + return This->lpVtbl->SetMaximumFrameLatency(This,max_latency); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetMaximumFrameLatency(IDXGISwapChain3* This,UINT *max_latency) { + return This->lpVtbl->GetMaximumFrameLatency(This,max_latency); +} +static FORCEINLINE HANDLE IDXGISwapChain3_GetFrameLatencyWaitableObject(IDXGISwapChain3* This) { + return This->lpVtbl->GetFrameLatencyWaitableObject(This); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetMatrixTransform(IDXGISwapChain3* This,const DXGI_MATRIX_3X2_F *matrix) { + return This->lpVtbl->SetMatrixTransform(This,matrix); +} +static FORCEINLINE HRESULT IDXGISwapChain3_GetMatrixTransform(IDXGISwapChain3* This,DXGI_MATRIX_3X2_F *matrix) { + return This->lpVtbl->GetMatrixTransform(This,matrix); +} +/*** IDXGISwapChain3 methods ***/ +static FORCEINLINE UINT IDXGISwapChain3_GetCurrentBackBufferIndex(IDXGISwapChain3* This) { + return This->lpVtbl->GetCurrentBackBufferIndex(This); +} +static FORCEINLINE HRESULT IDXGISwapChain3_CheckColorSpaceSupport(IDXGISwapChain3* This,DXGI_COLOR_SPACE_TYPE colour_space,UINT *colour_space_support) { + return This->lpVtbl->CheckColorSpaceSupport(This,colour_space,colour_space_support); +} +static FORCEINLINE HRESULT IDXGISwapChain3_SetColorSpace1(IDXGISwapChain3* This,DXGI_COLOR_SPACE_TYPE colour_space) { + return This->lpVtbl->SetColorSpace1(This,colour_space); +} +static FORCEINLINE HRESULT IDXGISwapChain3_ResizeBuffers1(IDXGISwapChain3* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags,const UINT *node_mask,IUnknown *const *present_queue) { + return This->lpVtbl->ResizeBuffers1(This,buffer_count,width,height,format,flags,node_mask,present_queue); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISwapChain3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIOutput4 interface + */ +#ifndef __IDXGIOutput4_INTERFACE_DEFINED__ +#define __IDXGIOutput4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput4, 0xdc7dca35, 0x2196, 0x414d, 0x9f,0x53, 0x61,0x78,0x84,0x03,0x2a,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc7dca35-2196-414d-9f53-617884032a60") +IDXGIOutput4 : public IDXGIOutput3 +{ + virtual HRESULT STDMETHODCALLTYPE CheckOverlayColorSpaceSupport( + DXGI_FORMAT format, + DXGI_COLOR_SPACE_TYPE colour_space, + IUnknown *device, + UINT *flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput4, 0xdc7dca35, 0x2196, 0x414d, 0x9f,0x53, 0x61,0x78,0x84,0x03,0x2a,0x60) +#endif +#else +typedef struct IDXGIOutput4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput4 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput4 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput4 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput4 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput4 *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput4 *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput4 *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput4 *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput4 *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput4 *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput4 *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput4 *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput4 *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput4 *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput4 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput4 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput4 *This, + DXGI_FRAME_STATISTICS *stats); + + /*** IDXGIOutput1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList1)( + IDXGIOutput4 *This, + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode1)( + IDXGIOutput4 *This, + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData1)( + IDXGIOutput4 *This, + IDXGIResource *destination); + + HRESULT (STDMETHODCALLTYPE *DuplicateOutput)( + IDXGIOutput4 *This, + IUnknown *device, + IDXGIOutputDuplication **output_duplication); + + /*** IDXGIOutput2 methods ***/ + BOOL (STDMETHODCALLTYPE *SupportsOverlays)( + IDXGIOutput4 *This); + + /*** IDXGIOutput3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlaySupport)( + IDXGIOutput4 *This, + DXGI_FORMAT enum_format, + IUnknown *concerned_device, + UINT *flags); + + /*** IDXGIOutput4 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlayColorSpaceSupport)( + IDXGIOutput4 *This, + DXGI_FORMAT format, + DXGI_COLOR_SPACE_TYPE colour_space, + IUnknown *device, + UINT *flags); + + END_INTERFACE +} IDXGIOutput4Vtbl; + +interface IDXGIOutput4 { + CONST_VTBL IDXGIOutput4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput4_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput4_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput4_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput4_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput4_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput4_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput4_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput4_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput4_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput4_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput4_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput4_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput4_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput4_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput4_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput4_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput4_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +/*** IDXGIOutput1 methods ***/ +#define IDXGIOutput4_GetDisplayModeList1(This,enum_format,flags,num_modes,desc) (This)->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc) +#define IDXGIOutput4_FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) (This)->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) +#define IDXGIOutput4_GetDisplaySurfaceData1(This,destination) (This)->lpVtbl->GetDisplaySurfaceData1(This,destination) +#define IDXGIOutput4_DuplicateOutput(This,device,output_duplication) (This)->lpVtbl->DuplicateOutput(This,device,output_duplication) +/*** IDXGIOutput2 methods ***/ +#define IDXGIOutput4_SupportsOverlays(This) (This)->lpVtbl->SupportsOverlays(This) +/*** IDXGIOutput3 methods ***/ +#define IDXGIOutput4_CheckOverlaySupport(This,enum_format,concerned_device,flags) (This)->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags) +/*** IDXGIOutput4 methods ***/ +#define IDXGIOutput4_CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags) (This)->lpVtbl->CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput4_QueryInterface(IDXGIOutput4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput4_AddRef(IDXGIOutput4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput4_Release(IDXGIOutput4* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput4_SetPrivateData(IDXGIOutput4* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput4_SetPrivateDataInterface(IDXGIOutput4* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetPrivateData(IDXGIOutput4* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetParent(IDXGIOutput4* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput4_GetDesc(IDXGIOutput4* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetDisplayModeList(IDXGIOutput4* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput4_FindClosestMatchingMode(IDXGIOutput4* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput4_WaitForVBlank(IDXGIOutput4* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput4_TakeOwnership(IDXGIOutput4* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput4_ReleaseOwnership(IDXGIOutput4* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetGammaControlCapabilities(IDXGIOutput4* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput4_SetGammaControl(IDXGIOutput4* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetGammaControl(IDXGIOutput4* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput4_SetDisplaySurface(IDXGIOutput4* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetDisplaySurfaceData(IDXGIOutput4* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetFrameStatistics(IDXGIOutput4* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +/*** IDXGIOutput1 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput4_GetDisplayModeList1(IDXGIOutput4* This,DXGI_FORMAT enum_format,UINT flags,UINT *num_modes,DXGI_MODE_DESC1 *desc) { + return This->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc); +} +static FORCEINLINE HRESULT IDXGIOutput4_FindClosestMatchingMode1(IDXGIOutput4* This,const DXGI_MODE_DESC1 *mode_to_match,DXGI_MODE_DESC1 *closest_match,IUnknown *concerned_device) { + return This->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device); +} +static FORCEINLINE HRESULT IDXGIOutput4_GetDisplaySurfaceData1(IDXGIOutput4* This,IDXGIResource *destination) { + return This->lpVtbl->GetDisplaySurfaceData1(This,destination); +} +static FORCEINLINE HRESULT IDXGIOutput4_DuplicateOutput(IDXGIOutput4* This,IUnknown *device,IDXGIOutputDuplication **output_duplication) { + return This->lpVtbl->DuplicateOutput(This,device,output_duplication); +} +/*** IDXGIOutput2 methods ***/ +static FORCEINLINE BOOL IDXGIOutput4_SupportsOverlays(IDXGIOutput4* This) { + return This->lpVtbl->SupportsOverlays(This); +} +/*** IDXGIOutput3 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput4_CheckOverlaySupport(IDXGIOutput4* This,DXGI_FORMAT enum_format,IUnknown *concerned_device,UINT *flags) { + return This->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags); +} +/*** IDXGIOutput4 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput4_CheckOverlayColorSpaceSupport(IDXGIOutput4* This,DXGI_FORMAT format,DXGI_COLOR_SPACE_TYPE colour_space,IUnknown *device,UINT *flags) { + return This->lpVtbl->CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIFactory4 interface + */ +#ifndef __IDXGIFactory4_INTERFACE_DEFINED__ +#define __IDXGIFactory4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactory4, 0x1bc6ea02, 0xef36, 0x464f, 0xbf,0x0c, 0x21,0xca,0x39,0xe5,0x16,0x8a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1bc6ea02-ef36-464f-bf0c-21ca39e5168a") +IDXGIFactory4 : public IDXGIFactory3 +{ + virtual HRESULT STDMETHODCALLTYPE EnumAdapterByLuid( + LUID luid, + REFIID iid, + void **adapter) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumWarpAdapter( + REFIID iid, + void **adapter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactory4, 0x1bc6ea02, 0xef36, 0x464f, 0xbf,0x0c, 0x21,0xca,0x39,0xe5,0x16,0x8a) +#endif +#else +typedef struct IDXGIFactory4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactory4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactory4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactory4 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIFactory4 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIFactory4 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIFactory4 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIFactory4 *This, + REFIID riid, + void **parent); + + /*** IDXGIFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters)( + IDXGIFactory4 *This, + UINT adapter_idx, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *MakeWindowAssociation)( + IDXGIFactory4 *This, + HWND window, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetWindowAssociation)( + IDXGIFactory4 *This, + HWND *window); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChain)( + IDXGIFactory4 *This, + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateSoftwareAdapter)( + IDXGIFactory4 *This, + HMODULE swrast, + IDXGIAdapter **adapter); + + /*** IDXGIFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters1)( + IDXGIFactory4 *This, + UINT Adapter, + IDXGIAdapter1 **ppAdapter); + + BOOL (STDMETHODCALLTYPE *IsCurrent)( + IDXGIFactory4 *This); + + /*** IDXGIFactory2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsWindowedStereoEnabled)( + IDXGIFactory4 *This); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForHwnd)( + IDXGIFactory4 *This, + IUnknown *pDevice, + HWND hWnd, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForCoreWindow)( + IDXGIFactory4 *This, + IUnknown *pDevice, + IUnknown *pWindow, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *GetSharedResourceAdapterLuid)( + IDXGIFactory4 *This, + HANDLE hResource, + LUID *pLuid); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusWindow)( + IDXGIFactory4 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusEvent)( + IDXGIFactory4 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterStereoStatus)( + IDXGIFactory4 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusWindow)( + IDXGIFactory4 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusEvent)( + IDXGIFactory4 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterOcclusionStatus)( + IDXGIFactory4 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForComposition)( + IDXGIFactory4 *This, + IUnknown *pDevice, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + /*** IDXGIFactory3 methods ***/ + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + IDXGIFactory4 *This); + + /*** IDXGIFactory4 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapterByLuid)( + IDXGIFactory4 *This, + LUID luid, + REFIID iid, + void **adapter); + + HRESULT (STDMETHODCALLTYPE *EnumWarpAdapter)( + IDXGIFactory4 *This, + REFIID iid, + void **adapter); + + END_INTERFACE +} IDXGIFactory4Vtbl; + +interface IDXGIFactory4 { + CONST_VTBL IDXGIFactory4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactory4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactory4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactory4_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIFactory4_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIFactory4_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIFactory4_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIFactory4_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIFactory methods ***/ +#define IDXGIFactory4_EnumAdapters(This,adapter_idx,adapter) (This)->lpVtbl->EnumAdapters(This,adapter_idx,adapter) +#define IDXGIFactory4_MakeWindowAssociation(This,window,flags) (This)->lpVtbl->MakeWindowAssociation(This,window,flags) +#define IDXGIFactory4_GetWindowAssociation(This,window) (This)->lpVtbl->GetWindowAssociation(This,window) +#define IDXGIFactory4_CreateSwapChain(This,device,desc,swapchain) (This)->lpVtbl->CreateSwapChain(This,device,desc,swapchain) +#define IDXGIFactory4_CreateSoftwareAdapter(This,swrast,adapter) (This)->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter) +/*** IDXGIFactory1 methods ***/ +#define IDXGIFactory4_EnumAdapters1(This,Adapter,ppAdapter) (This)->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter) +#define IDXGIFactory4_IsCurrent(This) (This)->lpVtbl->IsCurrent(This) +/*** IDXGIFactory2 methods ***/ +#define IDXGIFactory4_IsWindowedStereoEnabled(This) (This)->lpVtbl->IsWindowedStereoEnabled(This) +#define IDXGIFactory4_CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory4_CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory4_GetSharedResourceAdapterLuid(This,hResource,pLuid) (This)->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid) +#define IDXGIFactory4_RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory4_RegisterStereoStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory4_UnregisterStereoStatus(This,dwCookie) (This)->lpVtbl->UnregisterStereoStatus(This,dwCookie) +#define IDXGIFactory4_RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory4_RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory4_UnregisterOcclusionStatus(This,dwCookie) (This)->lpVtbl->UnregisterOcclusionStatus(This,dwCookie) +#define IDXGIFactory4_CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) +/*** IDXGIFactory3 methods ***/ +#define IDXGIFactory4_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +/*** IDXGIFactory4 methods ***/ +#define IDXGIFactory4_EnumAdapterByLuid(This,luid,iid,adapter) (This)->lpVtbl->EnumAdapterByLuid(This,luid,iid,adapter) +#define IDXGIFactory4_EnumWarpAdapter(This,iid,adapter) (This)->lpVtbl->EnumWarpAdapter(This,iid,adapter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactory4_QueryInterface(IDXGIFactory4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactory4_AddRef(IDXGIFactory4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactory4_Release(IDXGIFactory4* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIFactory4_SetPrivateData(IDXGIFactory4* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory4_SetPrivateDataInterface(IDXGIFactory4* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIFactory4_GetPrivateData(IDXGIFactory4* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory4_GetParent(IDXGIFactory4* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIFactory methods ***/ +static FORCEINLINE HRESULT IDXGIFactory4_EnumAdapters(IDXGIFactory4* This,UINT adapter_idx,IDXGIAdapter **adapter) { + return This->lpVtbl->EnumAdapters(This,adapter_idx,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory4_MakeWindowAssociation(IDXGIFactory4* This,HWND window,UINT flags) { + return This->lpVtbl->MakeWindowAssociation(This,window,flags); +} +static FORCEINLINE HRESULT IDXGIFactory4_GetWindowAssociation(IDXGIFactory4* This,HWND *window) { + return This->lpVtbl->GetWindowAssociation(This,window); +} +static FORCEINLINE HRESULT IDXGIFactory4_CreateSwapChain(IDXGIFactory4* This,IUnknown *device,DXGI_SWAP_CHAIN_DESC *desc,IDXGISwapChain **swapchain) { + return This->lpVtbl->CreateSwapChain(This,device,desc,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactory4_CreateSoftwareAdapter(IDXGIFactory4* This,HMODULE swrast,IDXGIAdapter **adapter) { + return This->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter); +} +/*** IDXGIFactory1 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory4_EnumAdapters1(IDXGIFactory4* This,UINT Adapter,IDXGIAdapter1 **ppAdapter) { + return This->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter); +} +static FORCEINLINE BOOL IDXGIFactory4_IsCurrent(IDXGIFactory4* This) { + return This->lpVtbl->IsCurrent(This); +} +/*** IDXGIFactory2 methods ***/ +static FORCEINLINE BOOL IDXGIFactory4_IsWindowedStereoEnabled(IDXGIFactory4* This) { + return This->lpVtbl->IsWindowedStereoEnabled(This); +} +static FORCEINLINE HRESULT IDXGIFactory4_CreateSwapChainForHwnd(IDXGIFactory4* This,IUnknown *pDevice,HWND hWnd,const DXGI_SWAP_CHAIN_DESC1 *pDesc,const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory4_CreateSwapChainForCoreWindow(IDXGIFactory4* This,IUnknown *pDevice,IUnknown *pWindow,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory4_GetSharedResourceAdapterLuid(IDXGIFactory4* This,HANDLE hResource,LUID *pLuid) { + return This->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid); +} +static FORCEINLINE HRESULT IDXGIFactory4_RegisterOcclusionStatusWindow(IDXGIFactory4* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory4_RegisterStereoStatusEvent(IDXGIFactory4* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory4_UnregisterStereoStatus(IDXGIFactory4* This,DWORD dwCookie) { + This->lpVtbl->UnregisterStereoStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory4_RegisterStereoStatusWindow(IDXGIFactory4* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory4_RegisterOcclusionStatusEvent(IDXGIFactory4* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory4_UnregisterOcclusionStatus(IDXGIFactory4* This,DWORD dwCookie) { + This->lpVtbl->UnregisterOcclusionStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory4_CreateSwapChainForComposition(IDXGIFactory4* This,IUnknown *pDevice,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain); +} +/*** IDXGIFactory3 methods ***/ +static FORCEINLINE UINT IDXGIFactory4_GetCreationFlags(IDXGIFactory4* This) { + return This->lpVtbl->GetCreationFlags(This); +} +/*** IDXGIFactory4 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory4_EnumAdapterByLuid(IDXGIFactory4* This,LUID luid,REFIID iid,void **adapter) { + return This->lpVtbl->EnumAdapterByLuid(This,luid,iid,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory4_EnumWarpAdapter(IDXGIFactory4* This,REFIID iid,void **adapter) { + return This->lpVtbl->EnumWarpAdapter(This,iid,adapter); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactory4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIAdapter3 interface + */ +#ifndef __IDXGIAdapter3_INTERFACE_DEFINED__ +#define __IDXGIAdapter3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIAdapter3, 0x645967a4, 0x1392, 0x4310, 0xa7,0x98, 0x80,0x53,0xce,0x3e,0x93,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("645967a4-1392-4310-a798-8053ce3e93fd") +IDXGIAdapter3 : public IDXGIAdapter2 +{ + virtual HRESULT STDMETHODCALLTYPE RegisterHardwareContentProtectionTeardownStatusEvent( + HANDLE event, + DWORD *cookie) = 0; + + virtual void STDMETHODCALLTYPE UnregisterHardwareContentProtectionTeardownStatus( + DWORD cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryVideoMemoryInfo( + UINT node_index, + DXGI_MEMORY_SEGMENT_GROUP segment_group, + DXGI_QUERY_VIDEO_MEMORY_INFO *memory_info) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoMemoryReservation( + UINT node_index, + DXGI_MEMORY_SEGMENT_GROUP segment_group, + UINT64 reservation) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterVideoMemoryBudgetChangeNotificationEvent( + HANDLE event, + DWORD *cookie) = 0; + + virtual void STDMETHODCALLTYPE UnregisterVideoMemoryBudgetChangeNotification( + DWORD cookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIAdapter3, 0x645967a4, 0x1392, 0x4310, 0xa7,0x98, 0x80,0x53,0xce,0x3e,0x93,0xfd) +#endif +#else +typedef struct IDXGIAdapter3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIAdapter3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIAdapter3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIAdapter3 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIAdapter3 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIAdapter3 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIAdapter3 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIAdapter3 *This, + REFIID riid, + void **parent); + + /*** IDXGIAdapter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumOutputs)( + IDXGIAdapter3 *This, + UINT output_idx, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIAdapter3 *This, + DXGI_ADAPTER_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *CheckInterfaceSupport)( + IDXGIAdapter3 *This, + REFGUID guid, + LARGE_INTEGER *umd_version); + + /*** IDXGIAdapter1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGIAdapter3 *This, + DXGI_ADAPTER_DESC1 *pDesc); + + /*** IDXGIAdapter2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc2)( + IDXGIAdapter3 *This, + DXGI_ADAPTER_DESC2 *pDesc); + + /*** IDXGIAdapter3 methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterHardwareContentProtectionTeardownStatusEvent)( + IDXGIAdapter3 *This, + HANDLE event, + DWORD *cookie); + + void (STDMETHODCALLTYPE *UnregisterHardwareContentProtectionTeardownStatus)( + IDXGIAdapter3 *This, + DWORD cookie); + + HRESULT (STDMETHODCALLTYPE *QueryVideoMemoryInfo)( + IDXGIAdapter3 *This, + UINT node_index, + DXGI_MEMORY_SEGMENT_GROUP segment_group, + DXGI_QUERY_VIDEO_MEMORY_INFO *memory_info); + + HRESULT (STDMETHODCALLTYPE *SetVideoMemoryReservation)( + IDXGIAdapter3 *This, + UINT node_index, + DXGI_MEMORY_SEGMENT_GROUP segment_group, + UINT64 reservation); + + HRESULT (STDMETHODCALLTYPE *RegisterVideoMemoryBudgetChangeNotificationEvent)( + IDXGIAdapter3 *This, + HANDLE event, + DWORD *cookie); + + void (STDMETHODCALLTYPE *UnregisterVideoMemoryBudgetChangeNotification)( + IDXGIAdapter3 *This, + DWORD cookie); + + END_INTERFACE +} IDXGIAdapter3Vtbl; + +interface IDXGIAdapter3 { + CONST_VTBL IDXGIAdapter3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIAdapter3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIAdapter3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIAdapter3_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIAdapter3_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter3_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIAdapter3_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter3_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIAdapter methods ***/ +#define IDXGIAdapter3_EnumOutputs(This,output_idx,output) (This)->lpVtbl->EnumOutputs(This,output_idx,output) +#define IDXGIAdapter3_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIAdapter3_CheckInterfaceSupport(This,guid,umd_version) (This)->lpVtbl->CheckInterfaceSupport(This,guid,umd_version) +/*** IDXGIAdapter1 methods ***/ +#define IDXGIAdapter3_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +/*** IDXGIAdapter2 methods ***/ +#define IDXGIAdapter3_GetDesc2(This,pDesc) (This)->lpVtbl->GetDesc2(This,pDesc) +/*** IDXGIAdapter3 methods ***/ +#define IDXGIAdapter3_RegisterHardwareContentProtectionTeardownStatusEvent(This,event,cookie) (This)->lpVtbl->RegisterHardwareContentProtectionTeardownStatusEvent(This,event,cookie) +#define IDXGIAdapter3_UnregisterHardwareContentProtectionTeardownStatus(This,cookie) (This)->lpVtbl->UnregisterHardwareContentProtectionTeardownStatus(This,cookie) +#define IDXGIAdapter3_QueryVideoMemoryInfo(This,node_index,segment_group,memory_info) (This)->lpVtbl->QueryVideoMemoryInfo(This,node_index,segment_group,memory_info) +#define IDXGIAdapter3_SetVideoMemoryReservation(This,node_index,segment_group,reservation) (This)->lpVtbl->SetVideoMemoryReservation(This,node_index,segment_group,reservation) +#define IDXGIAdapter3_RegisterVideoMemoryBudgetChangeNotificationEvent(This,event,cookie) (This)->lpVtbl->RegisterVideoMemoryBudgetChangeNotificationEvent(This,event,cookie) +#define IDXGIAdapter3_UnregisterVideoMemoryBudgetChangeNotification(This,cookie) (This)->lpVtbl->UnregisterVideoMemoryBudgetChangeNotification(This,cookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter3_QueryInterface(IDXGIAdapter3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIAdapter3_AddRef(IDXGIAdapter3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIAdapter3_Release(IDXGIAdapter3* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter3_SetPrivateData(IDXGIAdapter3* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter3_SetPrivateDataInterface(IDXGIAdapter3* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIAdapter3_GetPrivateData(IDXGIAdapter3* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter3_GetParent(IDXGIAdapter3* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIAdapter methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter3_EnumOutputs(IDXGIAdapter3* This,UINT output_idx,IDXGIOutput **output) { + return This->lpVtbl->EnumOutputs(This,output_idx,output); +} +static FORCEINLINE HRESULT IDXGIAdapter3_GetDesc(IDXGIAdapter3* This,DXGI_ADAPTER_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIAdapter3_CheckInterfaceSupport(IDXGIAdapter3* This,REFGUID guid,LARGE_INTEGER *umd_version) { + return This->lpVtbl->CheckInterfaceSupport(This,guid,umd_version); +} +/*** IDXGIAdapter1 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter3_GetDesc1(IDXGIAdapter3* This,DXGI_ADAPTER_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +/*** IDXGIAdapter2 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter3_GetDesc2(IDXGIAdapter3* This,DXGI_ADAPTER_DESC2 *pDesc) { + return This->lpVtbl->GetDesc2(This,pDesc); +} +/*** IDXGIAdapter3 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter3_RegisterHardwareContentProtectionTeardownStatusEvent(IDXGIAdapter3* This,HANDLE event,DWORD *cookie) { + return This->lpVtbl->RegisterHardwareContentProtectionTeardownStatusEvent(This,event,cookie); +} +static FORCEINLINE void IDXGIAdapter3_UnregisterHardwareContentProtectionTeardownStatus(IDXGIAdapter3* This,DWORD cookie) { + This->lpVtbl->UnregisterHardwareContentProtectionTeardownStatus(This,cookie); +} +static FORCEINLINE HRESULT IDXGIAdapter3_QueryVideoMemoryInfo(IDXGIAdapter3* This,UINT node_index,DXGI_MEMORY_SEGMENT_GROUP segment_group,DXGI_QUERY_VIDEO_MEMORY_INFO *memory_info) { + return This->lpVtbl->QueryVideoMemoryInfo(This,node_index,segment_group,memory_info); +} +static FORCEINLINE HRESULT IDXGIAdapter3_SetVideoMemoryReservation(IDXGIAdapter3* This,UINT node_index,DXGI_MEMORY_SEGMENT_GROUP segment_group,UINT64 reservation) { + return This->lpVtbl->SetVideoMemoryReservation(This,node_index,segment_group,reservation); +} +static FORCEINLINE HRESULT IDXGIAdapter3_RegisterVideoMemoryBudgetChangeNotificationEvent(IDXGIAdapter3* This,HANDLE event,DWORD *cookie) { + return This->lpVtbl->RegisterVideoMemoryBudgetChangeNotificationEvent(This,event,cookie); +} +static FORCEINLINE void IDXGIAdapter3_UnregisterVideoMemoryBudgetChangeNotification(IDXGIAdapter3* This,DWORD cookie) { + This->lpVtbl->UnregisterVideoMemoryBudgetChangeNotification(This,cookie); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIAdapter3_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi1_4_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_4.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_4.idl new file mode 100644 index 0000000..0f63df2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_4.idl @@ -0,0 +1,140 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgi1_3.idl"; + +typedef enum DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG +{ + DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT = 0x1, + DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_OVERLAY_PRESENT = 0x2, +} DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG; + +typedef enum DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG +{ + DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG_PRESENT = 0x1, +} DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG; + +typedef enum DXGI_MEMORY_SEGMENT_GROUP +{ + DXGI_MEMORY_SEGMENT_GROUP_LOCAL = 0x0, + DXGI_MEMORY_SEGMENT_GROUP_NON_LOCAL = 0x1, +} DXGI_MEMORY_SEGMENT_GROUP; + +typedef struct DXGI_QUERY_VIDEO_MEMORY_INFO +{ + UINT64 Budget; + UINT64 CurrentUsage; + UINT64 AvailableForReservation; + UINT64 CurrentReservation; +} DXGI_QUERY_VIDEO_MEMORY_INFO; + +[ + object, + uuid(94d99bdb-f1f8-4ab0-b236-7da0170edab1), + local, + pointer_default(unique) +] +interface IDXGISwapChain3 : IDXGISwapChain2 +{ + UINT GetCurrentBackBufferIndex(); + HRESULT CheckColorSpaceSupport( + [in] DXGI_COLOR_SPACE_TYPE colour_space, + [out] UINT *colour_space_support + ); + HRESULT SetColorSpace1( + [in] DXGI_COLOR_SPACE_TYPE colour_space + ); + HRESULT ResizeBuffers1( + [in] UINT buffer_count, + [in] UINT width, + [in] UINT height, + [in] DXGI_FORMAT format, + [in] UINT flags, + [in] const UINT *node_mask, + [in] IUnknown *const *present_queue + ); +} + +[ + object, + uuid(dc7dca35-2196-414d-9F53-617884032a60), + local, + pointer_default(unique) +] +interface IDXGIOutput4 : IDXGIOutput3 +{ + HRESULT CheckOverlayColorSpaceSupport( + [in] DXGI_FORMAT format, + [in] DXGI_COLOR_SPACE_TYPE colour_space, + [in] IUnknown *device, + [out] UINT *flags + ); +} + +[ + object, + uuid(1bc6ea02-ef36-464f-bf0c-21ca39e5168a), + local, + pointer_default(unique) +] +interface IDXGIFactory4 : IDXGIFactory3 +{ + HRESULT EnumAdapterByLuid( + [in] LUID luid, + [in] REFIID iid, + [out] void **adapter + ); + HRESULT EnumWarpAdapter( + [in] REFIID iid, + [out] void **adapter + ); +} + +[ + object, + uuid(645967a4-1392-4310-a798-8053ce3e93fd), + local, + pointer_default(unique) +] +interface IDXGIAdapter3 : IDXGIAdapter2 +{ + HRESULT RegisterHardwareContentProtectionTeardownStatusEvent( + [in] HANDLE event, + [out] DWORD *cookie + ); + void UnregisterHardwareContentProtectionTeardownStatus( + [in] DWORD cookie + ); + HRESULT QueryVideoMemoryInfo( + [in] UINT node_index, + [in] DXGI_MEMORY_SEGMENT_GROUP segment_group, + [out] DXGI_QUERY_VIDEO_MEMORY_INFO *memory_info + ); + HRESULT SetVideoMemoryReservation( + [in] UINT node_index, + [in] DXGI_MEMORY_SEGMENT_GROUP segment_group, + [in] UINT64 reservation + ); + HRESULT RegisterVideoMemoryBudgetChangeNotificationEvent( + [in] HANDLE event, + [out] DWORD *cookie + ); + void UnregisterVideoMemoryBudgetChangeNotification( + [in] DWORD cookie + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_5.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_5.h new file mode 100644 index 0000000..607cc66 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_5.h @@ -0,0 +1,1402 @@ +/*** Autogenerated by WIDL 2.18 from dxgi1_5.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgi1_5_h__ +#define __dxgi1_5_h__ + +/* Forward declarations */ + +#ifndef __IDXGIOutput5_FWD_DEFINED__ +#define __IDXGIOutput5_FWD_DEFINED__ +typedef interface IDXGIOutput5 IDXGIOutput5; +#ifdef __cplusplus +interface IDXGIOutput5; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGISwapChain4_FWD_DEFINED__ +#define __IDXGISwapChain4_FWD_DEFINED__ +typedef interface IDXGISwapChain4 IDXGISwapChain4; +#ifdef __cplusplus +interface IDXGISwapChain4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIDevice4_FWD_DEFINED__ +#define __IDXGIDevice4_FWD_DEFINED__ +typedef interface IDXGIDevice4 IDXGIDevice4; +#ifdef __cplusplus +interface IDXGIDevice4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIFactory5_FWD_DEFINED__ +#define __IDXGIFactory5_FWD_DEFINED__ +typedef interface IDXGIFactory5 IDXGIFactory5; +#ifdef __cplusplus +interface IDXGIFactory5; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum DXGI_OUTDUPL_FLAG { + DXGI_OUTDUPL_COMPOSITED_UI_CAPTURE_ONLY = 0x1 +} DXGI_OUTDUPL_FLAG; +typedef enum DXGI_HDR_METADATA_TYPE { + DXGI_HDR_METADATA_TYPE_NONE = 0x0, + DXGI_HDR_METADATA_TYPE_HDR10 = 0x1 +} DXGI_HDR_METADATA_TYPE; +typedef enum _DXGI_OFFER_RESOURCE_FLAGS { + DXGI_OFFER_RESOURCE_FLAG_ALLOW_DECOMMIT = 0x1 +} DXGI_OFFER_RESOURCE_FLAGS; +typedef enum _DXGI_RECLAIM_RESOURCE_RESULTS { + DXGI_RECLAIM_RESOURCE_RESULT_OK = 0x0, + DXGI_RECLAIM_RESOURCE_RESULT_DISCARDED = 0x1, + DXGI_RECLAIM_RESOURCE_RESULT_NOT_COMMITTED = 0x2 +} DXGI_RECLAIM_RESOURCE_RESULTS; +typedef enum DXGI_FEATURE { + DXGI_FEATURE_PRESENT_ALLOW_TEARING = 0x0 +} DXGI_FEATURE; +typedef struct DXGI_HDR_METADATA_HDR10 { + UINT16 RedPrimary[2]; + UINT16 GreenPrimary[2]; + UINT16 BluePrimary[2]; + UINT16 WhitePoint[2]; + UINT MaxMasteringLuminance; + UINT MinMasteringLuminance; + UINT16 MaxContentLightLevel; + UINT16 MaxFrameAverageLightLevel; +} DXGI_HDR_METADATA_HDR10; +/***************************************************************************** + * IDXGIOutput5 interface + */ +#ifndef __IDXGIOutput5_INTERFACE_DEFINED__ +#define __IDXGIOutput5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput5, 0x80a07424, 0xab52, 0x42eb, 0x83,0x3c, 0x0c,0x42,0xfd,0x28,0x2d,0x98); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("80a07424-ab52-42eb-833c-0c42fd282d98") +IDXGIOutput5 : public IDXGIOutput4 +{ + virtual HRESULT STDMETHODCALLTYPE DuplicateOutput1( + IUnknown *device, + UINT flags, + UINT format_count, + const DXGI_FORMAT *formats, + IDXGIOutputDuplication **duplication) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput5, 0x80a07424, 0xab52, 0x42eb, 0x83,0x3c, 0x0c,0x42,0xfd,0x28,0x2d,0x98) +#endif +#else +typedef struct IDXGIOutput5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput5 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput5 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput5 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput5 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput5 *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput5 *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput5 *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput5 *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput5 *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput5 *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput5 *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput5 *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput5 *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput5 *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput5 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput5 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput5 *This, + DXGI_FRAME_STATISTICS *stats); + + /*** IDXGIOutput1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList1)( + IDXGIOutput5 *This, + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode1)( + IDXGIOutput5 *This, + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData1)( + IDXGIOutput5 *This, + IDXGIResource *destination); + + HRESULT (STDMETHODCALLTYPE *DuplicateOutput)( + IDXGIOutput5 *This, + IUnknown *device, + IDXGIOutputDuplication **output_duplication); + + /*** IDXGIOutput2 methods ***/ + BOOL (STDMETHODCALLTYPE *SupportsOverlays)( + IDXGIOutput5 *This); + + /*** IDXGIOutput3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlaySupport)( + IDXGIOutput5 *This, + DXGI_FORMAT enum_format, + IUnknown *concerned_device, + UINT *flags); + + /*** IDXGIOutput4 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlayColorSpaceSupport)( + IDXGIOutput5 *This, + DXGI_FORMAT format, + DXGI_COLOR_SPACE_TYPE colour_space, + IUnknown *device, + UINT *flags); + + /*** IDXGIOutput5 methods ***/ + HRESULT (STDMETHODCALLTYPE *DuplicateOutput1)( + IDXGIOutput5 *This, + IUnknown *device, + UINT flags, + UINT format_count, + const DXGI_FORMAT *formats, + IDXGIOutputDuplication **duplication); + + END_INTERFACE +} IDXGIOutput5Vtbl; + +interface IDXGIOutput5 { + CONST_VTBL IDXGIOutput5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput5_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput5_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput5_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput5_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput5_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput5_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput5_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput5_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput5_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput5_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput5_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput5_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput5_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput5_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput5_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput5_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput5_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +/*** IDXGIOutput1 methods ***/ +#define IDXGIOutput5_GetDisplayModeList1(This,enum_format,flags,num_modes,desc) (This)->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc) +#define IDXGIOutput5_FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) (This)->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) +#define IDXGIOutput5_GetDisplaySurfaceData1(This,destination) (This)->lpVtbl->GetDisplaySurfaceData1(This,destination) +#define IDXGIOutput5_DuplicateOutput(This,device,output_duplication) (This)->lpVtbl->DuplicateOutput(This,device,output_duplication) +/*** IDXGIOutput2 methods ***/ +#define IDXGIOutput5_SupportsOverlays(This) (This)->lpVtbl->SupportsOverlays(This) +/*** IDXGIOutput3 methods ***/ +#define IDXGIOutput5_CheckOverlaySupport(This,enum_format,concerned_device,flags) (This)->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags) +/*** IDXGIOutput4 methods ***/ +#define IDXGIOutput5_CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags) (This)->lpVtbl->CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags) +/*** IDXGIOutput5 methods ***/ +#define IDXGIOutput5_DuplicateOutput1(This,device,flags,format_count,formats,duplication) (This)->lpVtbl->DuplicateOutput1(This,device,flags,format_count,formats,duplication) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_QueryInterface(IDXGIOutput5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput5_AddRef(IDXGIOutput5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput5_Release(IDXGIOutput5* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_SetPrivateData(IDXGIOutput5* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput5_SetPrivateDataInterface(IDXGIOutput5* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetPrivateData(IDXGIOutput5* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetParent(IDXGIOutput5* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_GetDesc(IDXGIOutput5* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetDisplayModeList(IDXGIOutput5* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput5_FindClosestMatchingMode(IDXGIOutput5* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput5_WaitForVBlank(IDXGIOutput5* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput5_TakeOwnership(IDXGIOutput5* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput5_ReleaseOwnership(IDXGIOutput5* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetGammaControlCapabilities(IDXGIOutput5* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput5_SetGammaControl(IDXGIOutput5* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetGammaControl(IDXGIOutput5* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput5_SetDisplaySurface(IDXGIOutput5* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetDisplaySurfaceData(IDXGIOutput5* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetFrameStatistics(IDXGIOutput5* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +/*** IDXGIOutput1 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_GetDisplayModeList1(IDXGIOutput5* This,DXGI_FORMAT enum_format,UINT flags,UINT *num_modes,DXGI_MODE_DESC1 *desc) { + return This->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc); +} +static FORCEINLINE HRESULT IDXGIOutput5_FindClosestMatchingMode1(IDXGIOutput5* This,const DXGI_MODE_DESC1 *mode_to_match,DXGI_MODE_DESC1 *closest_match,IUnknown *concerned_device) { + return This->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device); +} +static FORCEINLINE HRESULT IDXGIOutput5_GetDisplaySurfaceData1(IDXGIOutput5* This,IDXGIResource *destination) { + return This->lpVtbl->GetDisplaySurfaceData1(This,destination); +} +static FORCEINLINE HRESULT IDXGIOutput5_DuplicateOutput(IDXGIOutput5* This,IUnknown *device,IDXGIOutputDuplication **output_duplication) { + return This->lpVtbl->DuplicateOutput(This,device,output_duplication); +} +/*** IDXGIOutput2 methods ***/ +static FORCEINLINE BOOL IDXGIOutput5_SupportsOverlays(IDXGIOutput5* This) { + return This->lpVtbl->SupportsOverlays(This); +} +/*** IDXGIOutput3 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_CheckOverlaySupport(IDXGIOutput5* This,DXGI_FORMAT enum_format,IUnknown *concerned_device,UINT *flags) { + return This->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags); +} +/*** IDXGIOutput4 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_CheckOverlayColorSpaceSupport(IDXGIOutput5* This,DXGI_FORMAT format,DXGI_COLOR_SPACE_TYPE colour_space,IUnknown *device,UINT *flags) { + return This->lpVtbl->CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags); +} +/*** IDXGIOutput5 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput5_DuplicateOutput1(IDXGIOutput5* This,IUnknown *device,UINT flags,UINT format_count,const DXGI_FORMAT *formats,IDXGIOutputDuplication **duplication) { + return This->lpVtbl->DuplicateOutput1(This,device,flags,format_count,formats,duplication); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGISwapChain4 interface + */ +#ifndef __IDXGISwapChain4_INTERFACE_DEFINED__ +#define __IDXGISwapChain4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGISwapChain4, 0x3d585d5a, 0xbd4a, 0x489e, 0xb1,0xf4, 0x3d,0xbc,0xb6,0x45,0x2f,0xfb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d585d5a-bd4a-489e-b1f4-3dbcb6452ffb") +IDXGISwapChain4 : public IDXGISwapChain3 +{ + virtual HRESULT STDMETHODCALLTYPE SetHDRMetaData( + DXGI_HDR_METADATA_TYPE type, + UINT size, + void *metadata) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGISwapChain4, 0x3d585d5a, 0xbd4a, 0x489e, 0xb1,0xf4, 0x3d,0xbc,0xb6,0x45,0x2f,0xfb) +#endif +#else +typedef struct IDXGISwapChain4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGISwapChain4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGISwapChain4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGISwapChain4 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGISwapChain4 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGISwapChain4 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGISwapChain4 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGISwapChain4 *This, + REFIID riid, + void **parent); + + /*** IDXGIDeviceSubObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IDXGISwapChain4 *This, + REFIID riid, + void **device); + + /*** IDXGISwapChain methods ***/ + HRESULT (STDMETHODCALLTYPE *Present)( + IDXGISwapChain4 *This, + UINT sync_interval, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IDXGISwapChain4 *This, + UINT buffer_idx, + REFIID riid, + void **surface); + + HRESULT (STDMETHODCALLTYPE *SetFullscreenState)( + IDXGISwapChain4 *This, + BOOL fullscreen, + IDXGIOutput *target); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenState)( + IDXGISwapChain4 *This, + BOOL *fullscreen, + IDXGIOutput **target); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGISwapChain4 *This, + DXGI_SWAP_CHAIN_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers)( + IDXGISwapChain4 *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ResizeTarget)( + IDXGISwapChain4 *This, + const DXGI_MODE_DESC *target_mode_desc); + + HRESULT (STDMETHODCALLTYPE *GetContainingOutput)( + IDXGISwapChain4 *This, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGISwapChain4 *This, + DXGI_FRAME_STATISTICS *stats); + + HRESULT (STDMETHODCALLTYPE *GetLastPresentCount)( + IDXGISwapChain4 *This, + UINT *last_present_count); + + /*** IDXGISwapChain1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGISwapChain4 *This, + DXGI_SWAP_CHAIN_DESC1 *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetFullscreenDesc)( + IDXGISwapChain4 *This, + DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc); + + HRESULT (STDMETHODCALLTYPE *GetHwnd)( + IDXGISwapChain4 *This, + HWND *pHwnd); + + HRESULT (STDMETHODCALLTYPE *GetCoreWindow)( + IDXGISwapChain4 *This, + REFIID refiid, + void **ppUnk); + + HRESULT (STDMETHODCALLTYPE *Present1)( + IDXGISwapChain4 *This, + UINT SyncInterval, + UINT PresentFlags, + const DXGI_PRESENT_PARAMETERS *pPresentParameters); + + BOOL (STDMETHODCALLTYPE *IsTemporaryMonoSupported)( + IDXGISwapChain4 *This); + + HRESULT (STDMETHODCALLTYPE *GetRestrictToOutput)( + IDXGISwapChain4 *This, + IDXGIOutput **ppRestrictToOutput); + + HRESULT (STDMETHODCALLTYPE *SetBackgroundColor)( + IDXGISwapChain4 *This, + const DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *GetBackgroundColor)( + IDXGISwapChain4 *This, + DXGI_RGBA *pColor); + + HRESULT (STDMETHODCALLTYPE *SetRotation)( + IDXGISwapChain4 *This, + DXGI_MODE_ROTATION Rotation); + + HRESULT (STDMETHODCALLTYPE *GetRotation)( + IDXGISwapChain4 *This, + DXGI_MODE_ROTATION *pRotation); + + /*** IDXGISwapChain2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSourceSize)( + IDXGISwapChain4 *This, + UINT width, + UINT height); + + HRESULT (STDMETHODCALLTYPE *GetSourceSize)( + IDXGISwapChain4 *This, + UINT *width, + UINT *height); + + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGISwapChain4 *This, + UINT max_latency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGISwapChain4 *This, + UINT *max_latency); + + HANDLE (STDMETHODCALLTYPE *GetFrameLatencyWaitableObject)( + IDXGISwapChain4 *This); + + HRESULT (STDMETHODCALLTYPE *SetMatrixTransform)( + IDXGISwapChain4 *This, + const DXGI_MATRIX_3X2_F *matrix); + + HRESULT (STDMETHODCALLTYPE *GetMatrixTransform)( + IDXGISwapChain4 *This, + DXGI_MATRIX_3X2_F *matrix); + + /*** IDXGISwapChain3 methods ***/ + UINT (STDMETHODCALLTYPE *GetCurrentBackBufferIndex)( + IDXGISwapChain4 *This); + + HRESULT (STDMETHODCALLTYPE *CheckColorSpaceSupport)( + IDXGISwapChain4 *This, + DXGI_COLOR_SPACE_TYPE colour_space, + UINT *colour_space_support); + + HRESULT (STDMETHODCALLTYPE *SetColorSpace1)( + IDXGISwapChain4 *This, + DXGI_COLOR_SPACE_TYPE colour_space); + + HRESULT (STDMETHODCALLTYPE *ResizeBuffers1)( + IDXGISwapChain4 *This, + UINT buffer_count, + UINT width, + UINT height, + DXGI_FORMAT format, + UINT flags, + const UINT *node_mask, + IUnknown *const *present_queue); + + /*** IDXGISwapChain4 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetHDRMetaData)( + IDXGISwapChain4 *This, + DXGI_HDR_METADATA_TYPE type, + UINT size, + void *metadata); + + END_INTERFACE +} IDXGISwapChain4Vtbl; + +interface IDXGISwapChain4 { + CONST_VTBL IDXGISwapChain4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGISwapChain4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGISwapChain4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGISwapChain4_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGISwapChain4_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain4_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGISwapChain4_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGISwapChain4_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDeviceSubObject methods ***/ +#define IDXGISwapChain4_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) +/*** IDXGISwapChain methods ***/ +#define IDXGISwapChain4_Present(This,sync_interval,flags) (This)->lpVtbl->Present(This,sync_interval,flags) +#define IDXGISwapChain4_GetBuffer(This,buffer_idx,riid,surface) (This)->lpVtbl->GetBuffer(This,buffer_idx,riid,surface) +#define IDXGISwapChain4_SetFullscreenState(This,fullscreen,target) (This)->lpVtbl->SetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain4_GetFullscreenState(This,fullscreen,target) (This)->lpVtbl->GetFullscreenState(This,fullscreen,target) +#define IDXGISwapChain4_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGISwapChain4_ResizeBuffers(This,buffer_count,width,height,format,flags) (This)->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags) +#define IDXGISwapChain4_ResizeTarget(This,target_mode_desc) (This)->lpVtbl->ResizeTarget(This,target_mode_desc) +#define IDXGISwapChain4_GetContainingOutput(This,output) (This)->lpVtbl->GetContainingOutput(This,output) +#define IDXGISwapChain4_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +#define IDXGISwapChain4_GetLastPresentCount(This,last_present_count) (This)->lpVtbl->GetLastPresentCount(This,last_present_count) +/*** IDXGISwapChain1 methods ***/ +#define IDXGISwapChain4_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +#define IDXGISwapChain4_GetFullscreenDesc(This,pDesc) (This)->lpVtbl->GetFullscreenDesc(This,pDesc) +#define IDXGISwapChain4_GetHwnd(This,pHwnd) (This)->lpVtbl->GetHwnd(This,pHwnd) +#define IDXGISwapChain4_GetCoreWindow(This,refiid,ppUnk) (This)->lpVtbl->GetCoreWindow(This,refiid,ppUnk) +#define IDXGISwapChain4_Present1(This,SyncInterval,PresentFlags,pPresentParameters) (This)->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters) +#define IDXGISwapChain4_IsTemporaryMonoSupported(This) (This)->lpVtbl->IsTemporaryMonoSupported(This) +#define IDXGISwapChain4_GetRestrictToOutput(This,ppRestrictToOutput) (This)->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput) +#define IDXGISwapChain4_SetBackgroundColor(This,pColor) (This)->lpVtbl->SetBackgroundColor(This,pColor) +#define IDXGISwapChain4_GetBackgroundColor(This,pColor) (This)->lpVtbl->GetBackgroundColor(This,pColor) +#define IDXGISwapChain4_SetRotation(This,Rotation) (This)->lpVtbl->SetRotation(This,Rotation) +#define IDXGISwapChain4_GetRotation(This,pRotation) (This)->lpVtbl->GetRotation(This,pRotation) +/*** IDXGISwapChain2 methods ***/ +#define IDXGISwapChain4_SetSourceSize(This,width,height) (This)->lpVtbl->SetSourceSize(This,width,height) +#define IDXGISwapChain4_GetSourceSize(This,width,height) (This)->lpVtbl->GetSourceSize(This,width,height) +#define IDXGISwapChain4_SetMaximumFrameLatency(This,max_latency) (This)->lpVtbl->SetMaximumFrameLatency(This,max_latency) +#define IDXGISwapChain4_GetMaximumFrameLatency(This,max_latency) (This)->lpVtbl->GetMaximumFrameLatency(This,max_latency) +#define IDXGISwapChain4_GetFrameLatencyWaitableObject(This) (This)->lpVtbl->GetFrameLatencyWaitableObject(This) +#define IDXGISwapChain4_SetMatrixTransform(This,matrix) (This)->lpVtbl->SetMatrixTransform(This,matrix) +#define IDXGISwapChain4_GetMatrixTransform(This,matrix) (This)->lpVtbl->GetMatrixTransform(This,matrix) +/*** IDXGISwapChain3 methods ***/ +#define IDXGISwapChain4_GetCurrentBackBufferIndex(This) (This)->lpVtbl->GetCurrentBackBufferIndex(This) +#define IDXGISwapChain4_CheckColorSpaceSupport(This,colour_space,colour_space_support) (This)->lpVtbl->CheckColorSpaceSupport(This,colour_space,colour_space_support) +#define IDXGISwapChain4_SetColorSpace1(This,colour_space) (This)->lpVtbl->SetColorSpace1(This,colour_space) +#define IDXGISwapChain4_ResizeBuffers1(This,buffer_count,width,height,format,flags,node_mask,present_queue) (This)->lpVtbl->ResizeBuffers1(This,buffer_count,width,height,format,flags,node_mask,present_queue) +/*** IDXGISwapChain4 methods ***/ +#define IDXGISwapChain4_SetHDRMetaData(This,type,size,metadata) (This)->lpVtbl->SetHDRMetaData(This,type,size,metadata) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_QueryInterface(IDXGISwapChain4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGISwapChain4_AddRef(IDXGISwapChain4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGISwapChain4_Release(IDXGISwapChain4* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_SetPrivateData(IDXGISwapChain4* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetPrivateDataInterface(IDXGISwapChain4* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetPrivateData(IDXGISwapChain4* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetParent(IDXGISwapChain4* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDeviceSubObject methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_GetDevice(IDXGISwapChain4* This,REFIID riid,void **device) { + return This->lpVtbl->GetDevice(This,riid,device); +} +/*** IDXGISwapChain methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_Present(IDXGISwapChain4* This,UINT sync_interval,UINT flags) { + return This->lpVtbl->Present(This,sync_interval,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetBuffer(IDXGISwapChain4* This,UINT buffer_idx,REFIID riid,void **surface) { + return This->lpVtbl->GetBuffer(This,buffer_idx,riid,surface); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetFullscreenState(IDXGISwapChain4* This,BOOL fullscreen,IDXGIOutput *target) { + return This->lpVtbl->SetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetFullscreenState(IDXGISwapChain4* This,BOOL *fullscreen,IDXGIOutput **target) { + return This->lpVtbl->GetFullscreenState(This,fullscreen,target); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetDesc(IDXGISwapChain4* This,DXGI_SWAP_CHAIN_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGISwapChain4_ResizeBuffers(IDXGISwapChain4* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags) { + return This->lpVtbl->ResizeBuffers(This,buffer_count,width,height,format,flags); +} +static FORCEINLINE HRESULT IDXGISwapChain4_ResizeTarget(IDXGISwapChain4* This,const DXGI_MODE_DESC *target_mode_desc) { + return This->lpVtbl->ResizeTarget(This,target_mode_desc); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetContainingOutput(IDXGISwapChain4* This,IDXGIOutput **output) { + return This->lpVtbl->GetContainingOutput(This,output); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetFrameStatistics(IDXGISwapChain4* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetLastPresentCount(IDXGISwapChain4* This,UINT *last_present_count) { + return This->lpVtbl->GetLastPresentCount(This,last_present_count); +} +/*** IDXGISwapChain1 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_GetDesc1(IDXGISwapChain4* This,DXGI_SWAP_CHAIN_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetFullscreenDesc(IDXGISwapChain4* This,DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc) { + return This->lpVtbl->GetFullscreenDesc(This,pDesc); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetHwnd(IDXGISwapChain4* This,HWND *pHwnd) { + return This->lpVtbl->GetHwnd(This,pHwnd); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetCoreWindow(IDXGISwapChain4* This,REFIID refiid,void **ppUnk) { + return This->lpVtbl->GetCoreWindow(This,refiid,ppUnk); +} +static FORCEINLINE HRESULT IDXGISwapChain4_Present1(IDXGISwapChain4* This,UINT SyncInterval,UINT PresentFlags,const DXGI_PRESENT_PARAMETERS *pPresentParameters) { + return This->lpVtbl->Present1(This,SyncInterval,PresentFlags,pPresentParameters); +} +static FORCEINLINE BOOL IDXGISwapChain4_IsTemporaryMonoSupported(IDXGISwapChain4* This) { + return This->lpVtbl->IsTemporaryMonoSupported(This); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetRestrictToOutput(IDXGISwapChain4* This,IDXGIOutput **ppRestrictToOutput) { + return This->lpVtbl->GetRestrictToOutput(This,ppRestrictToOutput); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetBackgroundColor(IDXGISwapChain4* This,const DXGI_RGBA *pColor) { + return This->lpVtbl->SetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetBackgroundColor(IDXGISwapChain4* This,DXGI_RGBA *pColor) { + return This->lpVtbl->GetBackgroundColor(This,pColor); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetRotation(IDXGISwapChain4* This,DXGI_MODE_ROTATION Rotation) { + return This->lpVtbl->SetRotation(This,Rotation); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetRotation(IDXGISwapChain4* This,DXGI_MODE_ROTATION *pRotation) { + return This->lpVtbl->GetRotation(This,pRotation); +} +/*** IDXGISwapChain2 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_SetSourceSize(IDXGISwapChain4* This,UINT width,UINT height) { + return This->lpVtbl->SetSourceSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetSourceSize(IDXGISwapChain4* This,UINT *width,UINT *height) { + return This->lpVtbl->GetSourceSize(This,width,height); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetMaximumFrameLatency(IDXGISwapChain4* This,UINT max_latency) { + return This->lpVtbl->SetMaximumFrameLatency(This,max_latency); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetMaximumFrameLatency(IDXGISwapChain4* This,UINT *max_latency) { + return This->lpVtbl->GetMaximumFrameLatency(This,max_latency); +} +static FORCEINLINE HANDLE IDXGISwapChain4_GetFrameLatencyWaitableObject(IDXGISwapChain4* This) { + return This->lpVtbl->GetFrameLatencyWaitableObject(This); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetMatrixTransform(IDXGISwapChain4* This,const DXGI_MATRIX_3X2_F *matrix) { + return This->lpVtbl->SetMatrixTransform(This,matrix); +} +static FORCEINLINE HRESULT IDXGISwapChain4_GetMatrixTransform(IDXGISwapChain4* This,DXGI_MATRIX_3X2_F *matrix) { + return This->lpVtbl->GetMatrixTransform(This,matrix); +} +/*** IDXGISwapChain3 methods ***/ +static FORCEINLINE UINT IDXGISwapChain4_GetCurrentBackBufferIndex(IDXGISwapChain4* This) { + return This->lpVtbl->GetCurrentBackBufferIndex(This); +} +static FORCEINLINE HRESULT IDXGISwapChain4_CheckColorSpaceSupport(IDXGISwapChain4* This,DXGI_COLOR_SPACE_TYPE colour_space,UINT *colour_space_support) { + return This->lpVtbl->CheckColorSpaceSupport(This,colour_space,colour_space_support); +} +static FORCEINLINE HRESULT IDXGISwapChain4_SetColorSpace1(IDXGISwapChain4* This,DXGI_COLOR_SPACE_TYPE colour_space) { + return This->lpVtbl->SetColorSpace1(This,colour_space); +} +static FORCEINLINE HRESULT IDXGISwapChain4_ResizeBuffers1(IDXGISwapChain4* This,UINT buffer_count,UINT width,UINT height,DXGI_FORMAT format,UINT flags,const UINT *node_mask,IUnknown *const *present_queue) { + return This->lpVtbl->ResizeBuffers1(This,buffer_count,width,height,format,flags,node_mask,present_queue); +} +/*** IDXGISwapChain4 methods ***/ +static FORCEINLINE HRESULT IDXGISwapChain4_SetHDRMetaData(IDXGISwapChain4* This,DXGI_HDR_METADATA_TYPE type,UINT size,void *metadata) { + return This->lpVtbl->SetHDRMetaData(This,type,size,metadata); +} +#endif +#endif + +#endif + + +#endif /* __IDXGISwapChain4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIDevice4 interface + */ +#ifndef __IDXGIDevice4_INTERFACE_DEFINED__ +#define __IDXGIDevice4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice4, 0x95b4f95f, 0xd8da, 0x4ca4, 0x9e,0xe6, 0x3b,0x76,0xd5,0x96,0x8a,0x10); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("95b4f95f-d8da-4ca4-9ee6-3b76d5968a10") +IDXGIDevice4 : public IDXGIDevice3 +{ + virtual HRESULT STDMETHODCALLTYPE OfferResources1( + UINT resource_count, + IDXGIResource *const *resources, + DXGI_OFFER_RESOURCE_PRIORITY priority, + UINT flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReclaimResources1( + UINT resource_count, + IDXGIResource *const *resources, + DXGI_RECLAIM_RESOURCE_RESULTS *results) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice4, 0x95b4f95f, 0xd8da, 0x4ca4, 0x9e,0xe6, 0x3b,0x76,0xd5,0x96,0x8a,0x10) +#endif +#else +typedef struct IDXGIDevice4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice4 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice4 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice4 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice4 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice4 *This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice4 *This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice4 *This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice4 *This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice4 *This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice4 *This, + INT *priority); + + /*** IDXGIDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGIDevice4 *This, + UINT MaxLatency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGIDevice4 *This, + UINT *pMaxLatency); + + /*** IDXGIDevice2 methods ***/ + HRESULT (STDMETHODCALLTYPE *OfferResources)( + IDXGIDevice4 *This, + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority); + + HRESULT (STDMETHODCALLTYPE *ReclaimResources)( + IDXGIDevice4 *This, + UINT NumResources, + IDXGIResource *const *ppResources, + BOOL *pDiscarded); + + HRESULT (STDMETHODCALLTYPE *EnqueueSetEvent)( + IDXGIDevice4 *This, + HANDLE hEvent); + + /*** IDXGIDevice3 methods ***/ + void (STDMETHODCALLTYPE *Trim)( + IDXGIDevice4 *This); + + /*** IDXGIDevice4 methods ***/ + HRESULT (STDMETHODCALLTYPE *OfferResources1)( + IDXGIDevice4 *This, + UINT resource_count, + IDXGIResource *const *resources, + DXGI_OFFER_RESOURCE_PRIORITY priority, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *ReclaimResources1)( + IDXGIDevice4 *This, + UINT resource_count, + IDXGIResource *const *resources, + DXGI_RECLAIM_RESOURCE_RESULTS *results); + + END_INTERFACE +} IDXGIDevice4Vtbl; + +interface IDXGIDevice4 { + CONST_VTBL IDXGIDevice4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice4_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice4_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice4_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice4_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice4_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice4_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice4_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice4_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice4_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice4_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +/*** IDXGIDevice1 methods ***/ +#define IDXGIDevice4_SetMaximumFrameLatency(This,MaxLatency) (This)->lpVtbl->SetMaximumFrameLatency(This,MaxLatency) +#define IDXGIDevice4_GetMaximumFrameLatency(This,pMaxLatency) (This)->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency) +/*** IDXGIDevice2 methods ***/ +#define IDXGIDevice4_OfferResources(This,NumResources,ppResources,Priority) (This)->lpVtbl->OfferResources(This,NumResources,ppResources,Priority) +#define IDXGIDevice4_ReclaimResources(This,NumResources,ppResources,pDiscarded) (This)->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded) +#define IDXGIDevice4_EnqueueSetEvent(This,hEvent) (This)->lpVtbl->EnqueueSetEvent(This,hEvent) +/*** IDXGIDevice3 methods ***/ +#define IDXGIDevice4_Trim(This) (This)->lpVtbl->Trim(This) +/*** IDXGIDevice4 methods ***/ +#define IDXGIDevice4_OfferResources1(This,resource_count,resources,priority,flags) (This)->lpVtbl->OfferResources1(This,resource_count,resources,priority,flags) +#define IDXGIDevice4_ReclaimResources1(This,resource_count,resources,results) (This)->lpVtbl->ReclaimResources1(This,resource_count,resources,results) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice4_QueryInterface(IDXGIDevice4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice4_AddRef(IDXGIDevice4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice4_Release(IDXGIDevice4* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice4_SetPrivateData(IDXGIDevice4* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice4_SetPrivateDataInterface(IDXGIDevice4* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice4_GetPrivateData(IDXGIDevice4* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice4_GetParent(IDXGIDevice4* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice4_GetAdapter(IDXGIDevice4* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice4_CreateSurface(IDXGIDevice4* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice4_QueryResourceResidency(IDXGIDevice4* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice4_SetGPUThreadPriority(IDXGIDevice4* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice4_GetGPUThreadPriority(IDXGIDevice4* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +/*** IDXGIDevice1 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice4_SetMaximumFrameLatency(IDXGIDevice4* This,UINT MaxLatency) { + return This->lpVtbl->SetMaximumFrameLatency(This,MaxLatency); +} +static FORCEINLINE HRESULT IDXGIDevice4_GetMaximumFrameLatency(IDXGIDevice4* This,UINT *pMaxLatency) { + return This->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency); +} +/*** IDXGIDevice2 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice4_OfferResources(IDXGIDevice4* This,UINT NumResources,IDXGIResource *const *ppResources,DXGI_OFFER_RESOURCE_PRIORITY Priority) { + return This->lpVtbl->OfferResources(This,NumResources,ppResources,Priority); +} +static FORCEINLINE HRESULT IDXGIDevice4_ReclaimResources(IDXGIDevice4* This,UINT NumResources,IDXGIResource *const *ppResources,BOOL *pDiscarded) { + return This->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded); +} +static FORCEINLINE HRESULT IDXGIDevice4_EnqueueSetEvent(IDXGIDevice4* This,HANDLE hEvent) { + return This->lpVtbl->EnqueueSetEvent(This,hEvent); +} +/*** IDXGIDevice3 methods ***/ +static FORCEINLINE void IDXGIDevice4_Trim(IDXGIDevice4* This) { + This->lpVtbl->Trim(This); +} +/*** IDXGIDevice4 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice4_OfferResources1(IDXGIDevice4* This,UINT resource_count,IDXGIResource *const *resources,DXGI_OFFER_RESOURCE_PRIORITY priority,UINT flags) { + return This->lpVtbl->OfferResources1(This,resource_count,resources,priority,flags); +} +static FORCEINLINE HRESULT IDXGIDevice4_ReclaimResources1(IDXGIDevice4* This,UINT resource_count,IDXGIResource *const *resources,DXGI_RECLAIM_RESOURCE_RESULTS *results) { + return This->lpVtbl->ReclaimResources1(This,resource_count,resources,results); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIDevice4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIFactory5 interface + */ +#ifndef __IDXGIFactory5_INTERFACE_DEFINED__ +#define __IDXGIFactory5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIFactory5, 0x7632e1f5, 0xee65, 0x4dca, 0x87,0xfd, 0x84,0xcd,0x75,0xf8,0x83,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7632e1f5-ee65-4dca-87fd-84cd75f8838d") +IDXGIFactory5 : public IDXGIFactory4 +{ + virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport( + DXGI_FEATURE feature, + void *support_data, + UINT support_data_size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIFactory5, 0x7632e1f5, 0xee65, 0x4dca, 0x87,0xfd, 0x84,0xcd,0x75,0xf8,0x83,0x8d) +#endif +#else +typedef struct IDXGIFactory5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIFactory5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIFactory5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIFactory5 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIFactory5 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIFactory5 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIFactory5 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIFactory5 *This, + REFIID riid, + void **parent); + + /*** IDXGIFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters)( + IDXGIFactory5 *This, + UINT adapter_idx, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *MakeWindowAssociation)( + IDXGIFactory5 *This, + HWND window, + UINT flags); + + HRESULT (STDMETHODCALLTYPE *GetWindowAssociation)( + IDXGIFactory5 *This, + HWND *window); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChain)( + IDXGIFactory5 *This, + IUnknown *device, + DXGI_SWAP_CHAIN_DESC *desc, + IDXGISwapChain **swapchain); + + HRESULT (STDMETHODCALLTYPE *CreateSoftwareAdapter)( + IDXGIFactory5 *This, + HMODULE swrast, + IDXGIAdapter **adapter); + + /*** IDXGIFactory1 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapters1)( + IDXGIFactory5 *This, + UINT Adapter, + IDXGIAdapter1 **ppAdapter); + + BOOL (STDMETHODCALLTYPE *IsCurrent)( + IDXGIFactory5 *This); + + /*** IDXGIFactory2 methods ***/ + BOOL (STDMETHODCALLTYPE *IsWindowedStereoEnabled)( + IDXGIFactory5 *This); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForHwnd)( + IDXGIFactory5 *This, + IUnknown *pDevice, + HWND hWnd, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForCoreWindow)( + IDXGIFactory5 *This, + IUnknown *pDevice, + IUnknown *pWindow, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + HRESULT (STDMETHODCALLTYPE *GetSharedResourceAdapterLuid)( + IDXGIFactory5 *This, + HANDLE hResource, + LUID *pLuid); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusWindow)( + IDXGIFactory5 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusEvent)( + IDXGIFactory5 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterStereoStatus)( + IDXGIFactory5 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterStereoStatusWindow)( + IDXGIFactory5 *This, + HWND WindowHandle, + UINT wMsg, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterOcclusionStatusEvent)( + IDXGIFactory5 *This, + HANDLE hEvent, + DWORD *pdwCookie); + + void (STDMETHODCALLTYPE *UnregisterOcclusionStatus)( + IDXGIFactory5 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *CreateSwapChainForComposition)( + IDXGIFactory5 *This, + IUnknown *pDevice, + const DXGI_SWAP_CHAIN_DESC1 *pDesc, + IDXGIOutput *pRestrictToOutput, + IDXGISwapChain1 **ppSwapChain); + + /*** IDXGIFactory3 methods ***/ + UINT (STDMETHODCALLTYPE *GetCreationFlags)( + IDXGIFactory5 *This); + + /*** IDXGIFactory4 methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAdapterByLuid)( + IDXGIFactory5 *This, + LUID luid, + REFIID iid, + void **adapter); + + HRESULT (STDMETHODCALLTYPE *EnumWarpAdapter)( + IDXGIFactory5 *This, + REFIID iid, + void **adapter); + + /*** IDXGIFactory5 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( + IDXGIFactory5 *This, + DXGI_FEATURE feature, + void *support_data, + UINT support_data_size); + + END_INTERFACE +} IDXGIFactory5Vtbl; + +interface IDXGIFactory5 { + CONST_VTBL IDXGIFactory5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIFactory5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIFactory5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIFactory5_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIFactory5_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIFactory5_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIFactory5_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIFactory5_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIFactory methods ***/ +#define IDXGIFactory5_EnumAdapters(This,adapter_idx,adapter) (This)->lpVtbl->EnumAdapters(This,adapter_idx,adapter) +#define IDXGIFactory5_MakeWindowAssociation(This,window,flags) (This)->lpVtbl->MakeWindowAssociation(This,window,flags) +#define IDXGIFactory5_GetWindowAssociation(This,window) (This)->lpVtbl->GetWindowAssociation(This,window) +#define IDXGIFactory5_CreateSwapChain(This,device,desc,swapchain) (This)->lpVtbl->CreateSwapChain(This,device,desc,swapchain) +#define IDXGIFactory5_CreateSoftwareAdapter(This,swrast,adapter) (This)->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter) +/*** IDXGIFactory1 methods ***/ +#define IDXGIFactory5_EnumAdapters1(This,Adapter,ppAdapter) (This)->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter) +#define IDXGIFactory5_IsCurrent(This) (This)->lpVtbl->IsCurrent(This) +/*** IDXGIFactory2 methods ***/ +#define IDXGIFactory5_IsWindowedStereoEnabled(This) (This)->lpVtbl->IsWindowedStereoEnabled(This) +#define IDXGIFactory5_CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory5_CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) +#define IDXGIFactory5_GetSharedResourceAdapterLuid(This,hResource,pLuid) (This)->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid) +#define IDXGIFactory5_RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory5_RegisterStereoStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory5_UnregisterStereoStatus(This,dwCookie) (This)->lpVtbl->UnregisterStereoStatus(This,dwCookie) +#define IDXGIFactory5_RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) (This)->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) +#define IDXGIFactory5_RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) (This)->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) +#define IDXGIFactory5_UnregisterOcclusionStatus(This,dwCookie) (This)->lpVtbl->UnregisterOcclusionStatus(This,dwCookie) +#define IDXGIFactory5_CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) (This)->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) +/*** IDXGIFactory3 methods ***/ +#define IDXGIFactory5_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) +/*** IDXGIFactory4 methods ***/ +#define IDXGIFactory5_EnumAdapterByLuid(This,luid,iid,adapter) (This)->lpVtbl->EnumAdapterByLuid(This,luid,iid,adapter) +#define IDXGIFactory5_EnumWarpAdapter(This,iid,adapter) (This)->lpVtbl->EnumWarpAdapter(This,iid,adapter) +/*** IDXGIFactory5 methods ***/ +#define IDXGIFactory5_CheckFeatureSupport(This,feature,support_data,support_data_size) (This)->lpVtbl->CheckFeatureSupport(This,feature,support_data,support_data_size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIFactory5_QueryInterface(IDXGIFactory5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIFactory5_AddRef(IDXGIFactory5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIFactory5_Release(IDXGIFactory5* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIFactory5_SetPrivateData(IDXGIFactory5* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory5_SetPrivateDataInterface(IDXGIFactory5* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIFactory5_GetPrivateData(IDXGIFactory5* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIFactory5_GetParent(IDXGIFactory5* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIFactory methods ***/ +static FORCEINLINE HRESULT IDXGIFactory5_EnumAdapters(IDXGIFactory5* This,UINT adapter_idx,IDXGIAdapter **adapter) { + return This->lpVtbl->EnumAdapters(This,adapter_idx,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory5_MakeWindowAssociation(IDXGIFactory5* This,HWND window,UINT flags) { + return This->lpVtbl->MakeWindowAssociation(This,window,flags); +} +static FORCEINLINE HRESULT IDXGIFactory5_GetWindowAssociation(IDXGIFactory5* This,HWND *window) { + return This->lpVtbl->GetWindowAssociation(This,window); +} +static FORCEINLINE HRESULT IDXGIFactory5_CreateSwapChain(IDXGIFactory5* This,IUnknown *device,DXGI_SWAP_CHAIN_DESC *desc,IDXGISwapChain **swapchain) { + return This->lpVtbl->CreateSwapChain(This,device,desc,swapchain); +} +static FORCEINLINE HRESULT IDXGIFactory5_CreateSoftwareAdapter(IDXGIFactory5* This,HMODULE swrast,IDXGIAdapter **adapter) { + return This->lpVtbl->CreateSoftwareAdapter(This,swrast,adapter); +} +/*** IDXGIFactory1 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory5_EnumAdapters1(IDXGIFactory5* This,UINT Adapter,IDXGIAdapter1 **ppAdapter) { + return This->lpVtbl->EnumAdapters1(This,Adapter,ppAdapter); +} +static FORCEINLINE BOOL IDXGIFactory5_IsCurrent(IDXGIFactory5* This) { + return This->lpVtbl->IsCurrent(This); +} +/*** IDXGIFactory2 methods ***/ +static FORCEINLINE BOOL IDXGIFactory5_IsWindowedStereoEnabled(IDXGIFactory5* This) { + return This->lpVtbl->IsWindowedStereoEnabled(This); +} +static FORCEINLINE HRESULT IDXGIFactory5_CreateSwapChainForHwnd(IDXGIFactory5* This,IUnknown *pDevice,HWND hWnd,const DXGI_SWAP_CHAIN_DESC1 *pDesc,const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory5_CreateSwapChainForCoreWindow(IDXGIFactory5* This,IUnknown *pDevice,IUnknown *pWindow,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain); +} +static FORCEINLINE HRESULT IDXGIFactory5_GetSharedResourceAdapterLuid(IDXGIFactory5* This,HANDLE hResource,LUID *pLuid) { + return This->lpVtbl->GetSharedResourceAdapterLuid(This,hResource,pLuid); +} +static FORCEINLINE HRESULT IDXGIFactory5_RegisterOcclusionStatusWindow(IDXGIFactory5* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory5_RegisterStereoStatusEvent(IDXGIFactory5* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory5_UnregisterStereoStatus(IDXGIFactory5* This,DWORD dwCookie) { + This->lpVtbl->UnregisterStereoStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory5_RegisterStereoStatusWindow(IDXGIFactory5* This,HWND WindowHandle,UINT wMsg,DWORD *pdwCookie) { + return This->lpVtbl->RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory5_RegisterOcclusionStatusEvent(IDXGIFactory5* This,HANDLE hEvent,DWORD *pdwCookie) { + return This->lpVtbl->RegisterOcclusionStatusEvent(This,hEvent,pdwCookie); +} +static FORCEINLINE void IDXGIFactory5_UnregisterOcclusionStatus(IDXGIFactory5* This,DWORD dwCookie) { + This->lpVtbl->UnregisterOcclusionStatus(This,dwCookie); +} +static FORCEINLINE HRESULT IDXGIFactory5_CreateSwapChainForComposition(IDXGIFactory5* This,IUnknown *pDevice,const DXGI_SWAP_CHAIN_DESC1 *pDesc,IDXGIOutput *pRestrictToOutput,IDXGISwapChain1 **ppSwapChain) { + return This->lpVtbl->CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain); +} +/*** IDXGIFactory3 methods ***/ +static FORCEINLINE UINT IDXGIFactory5_GetCreationFlags(IDXGIFactory5* This) { + return This->lpVtbl->GetCreationFlags(This); +} +/*** IDXGIFactory4 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory5_EnumAdapterByLuid(IDXGIFactory5* This,LUID luid,REFIID iid,void **adapter) { + return This->lpVtbl->EnumAdapterByLuid(This,luid,iid,adapter); +} +static FORCEINLINE HRESULT IDXGIFactory5_EnumWarpAdapter(IDXGIFactory5* This,REFIID iid,void **adapter) { + return This->lpVtbl->EnumWarpAdapter(This,iid,adapter); +} +/*** IDXGIFactory5 methods ***/ +static FORCEINLINE HRESULT IDXGIFactory5_CheckFeatureSupport(IDXGIFactory5* This,DXGI_FEATURE feature,void *support_data,UINT support_data_size) { + return This->lpVtbl->CheckFeatureSupport(This,feature,support_data,support_data_size); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIFactory5_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi1_5_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_5.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_5.idl new file mode 100644 index 0000000..d88d141 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_5.idl @@ -0,0 +1,127 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgi1_4.idl"; + +typedef enum DXGI_OUTDUPL_FLAG +{ + DXGI_OUTDUPL_COMPOSITED_UI_CAPTURE_ONLY = 0x1, +} DXGI_OUTDUPL_FLAG; + +typedef enum DXGI_HDR_METADATA_TYPE +{ + DXGI_HDR_METADATA_TYPE_NONE = 0x0, + DXGI_HDR_METADATA_TYPE_HDR10 = 0x1, +} DXGI_HDR_METADATA_TYPE; + +typedef enum _DXGI_OFFER_RESOURCE_FLAGS +{ + DXGI_OFFER_RESOURCE_FLAG_ALLOW_DECOMMIT = 0x1, +} DXGI_OFFER_RESOURCE_FLAGS; + +typedef enum _DXGI_RECLAIM_RESOURCE_RESULTS +{ + DXGI_RECLAIM_RESOURCE_RESULT_OK = 0x0, + DXGI_RECLAIM_RESOURCE_RESULT_DISCARDED = 0x1, + DXGI_RECLAIM_RESOURCE_RESULT_NOT_COMMITTED = 0x2, +} DXGI_RECLAIM_RESOURCE_RESULTS; + +typedef enum DXGI_FEATURE +{ + DXGI_FEATURE_PRESENT_ALLOW_TEARING = 0x0, +} DXGI_FEATURE; + +typedef struct DXGI_HDR_METADATA_HDR10 +{ + UINT16 RedPrimary[2]; + UINT16 GreenPrimary[2]; + UINT16 BluePrimary[2]; + UINT16 WhitePoint[2]; + UINT MaxMasteringLuminance; + UINT MinMasteringLuminance; + UINT16 MaxContentLightLevel; + UINT16 MaxFrameAverageLightLevel; +} DXGI_HDR_METADATA_HDR10; + +[ + object, + uuid(80a07424-ab52-42eb-833c-0c42fd282d98), + local, + pointer_default(unique) +] +interface IDXGIOutput5 : IDXGIOutput4 +{ + HRESULT DuplicateOutput1( + [in] IUnknown *device, + [in] UINT flags, + [in] UINT format_count, + [in] const DXGI_FORMAT *formats, + [out] IDXGIOutputDuplication **duplication + ); +} + +[ + object, + uuid(3d585d5a-bd4a-489e-b1f4-3dbcb6452ffb), + local, + pointer_default(unique) +] +interface IDXGISwapChain4 : IDXGISwapChain3 +{ + HRESULT SetHDRMetaData( + [in] DXGI_HDR_METADATA_TYPE type, + [in] UINT size, + [in] void *metadata + ); +} + +[ + object, + uuid(95b4f95f-d8da-4ca4-9ee6-3b76d5968a10), + local, + pointer_default(unique) +] +interface IDXGIDevice4 : IDXGIDevice3 +{ + HRESULT OfferResources1( + [in] UINT resource_count, + [in] IDXGIResource *const *resources, + [in] DXGI_OFFER_RESOURCE_PRIORITY priority, + [in] UINT flags + ); + HRESULT ReclaimResources1( + [in] UINT resource_count, + [in] IDXGIResource *const *resources, + [out] DXGI_RECLAIM_RESOURCE_RESULTS *results + ); +} + +[ + object, + uuid(7632e1f5-ee65-4dca-87fd-84cd75f8838d), + local, + pointer_default(unique) +] +interface IDXGIFactory5 : IDXGIFactory4 +{ + HRESULT CheckFeatureSupport( + DXGI_FEATURE feature, + [in, out] void *support_data, + UINT support_data_size + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_6.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_6.h new file mode 100644 index 0000000..7d3666d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_6.h @@ -0,0 +1,646 @@ +/*** Autogenerated by WIDL 2.18 from dxgi1_6.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgi1_6_h__ +#define __dxgi1_6_h__ + +/* Forward declarations */ + +#ifndef __IDXGIAdapter4_FWD_DEFINED__ +#define __IDXGIAdapter4_FWD_DEFINED__ +typedef interface IDXGIAdapter4 IDXGIAdapter4; +#ifdef __cplusplus +interface IDXGIAdapter4; +#endif /* __cplusplus */ +#endif + +#ifndef __IDXGIOutput6_FWD_DEFINED__ +#define __IDXGIOutput6_FWD_DEFINED__ +typedef interface IDXGIOutput6 IDXGIOutput6; +#ifdef __cplusplus +interface IDXGIOutput6; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum DXGI_ADAPTER_FLAG3 { + DXGI_ADAPTER_FLAG3_NONE = 0x0, + DXGI_ADAPTER_FLAG3_REMOTE = 0x1, + DXGI_ADAPTER_FLAG3_SOFTWARE = 0x2, + DXGI_ADAPTER_FLAG3_ACG_COMPATIBLE = 0x4, + DXGI_ADAPTER_FLAG3_FORCE_DWORD = 0xffffffff +} DXGI_ADAPTER_FLAG3; +typedef enum DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS { + DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_FULLSCREEN = 0x1, + DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_WINDOWED = 0x2, + DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_CURSOR_STRETCHED = 0x4 +} DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS; +typedef struct DXGI_ADAPTER_DESC3 { + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; + DXGI_ADAPTER_FLAG3 Flags; + DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity; + DXGI_COMPUTE_PREEMPTION_GRANULARITY ComputePreemptionGranularity; +} DXGI_ADAPTER_DESC3; +typedef struct DXGI_OUTPUT_DESC1 { + WCHAR DeviceName[32]; + RECT DesktopCoordinates; + BOOL AttachedToDesktop; + DXGI_MODE_ROTATION Rotation; + HMONITOR Monitor; + UINT BitsPerColor; + DXGI_COLOR_SPACE_TYPE ColorSpace; + FLOAT RedPrimary[2]; + FLOAT GreenPrimary[2]; + FLOAT BluePrimary[2]; + FLOAT WhitePoint[2]; + FLOAT MinLuminance; + FLOAT MaxLuminance; + FLOAT MaxFullFrameLuminance; +} DXGI_OUTPUT_DESC1; +/***************************************************************************** + * IDXGIAdapter4 interface + */ +#ifndef __IDXGIAdapter4_INTERFACE_DEFINED__ +#define __IDXGIAdapter4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIAdapter4, 0x3c8d99d1, 0x4fbf, 0x4181, 0xa8,0x2c, 0xaf,0x66,0xbf,0x7b,0xd2,0x4e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3c8d99d1-4fbf-4181-a82c-af66bf7bd24e") +IDXGIAdapter4 : public IDXGIAdapter3 +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc3( + DXGI_ADAPTER_DESC3 *desc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIAdapter4, 0x3c8d99d1, 0x4fbf, 0x4181, 0xa8,0x2c, 0xaf,0x66,0xbf,0x7b,0xd2,0x4e) +#endif +#else +typedef struct IDXGIAdapter4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIAdapter4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIAdapter4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIAdapter4 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIAdapter4 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIAdapter4 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIAdapter4 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIAdapter4 *This, + REFIID riid, + void **parent); + + /*** IDXGIAdapter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumOutputs)( + IDXGIAdapter4 *This, + UINT output_idx, + IDXGIOutput **output); + + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIAdapter4 *This, + DXGI_ADAPTER_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *CheckInterfaceSupport)( + IDXGIAdapter4 *This, + REFGUID guid, + LARGE_INTEGER *umd_version); + + /*** IDXGIAdapter1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGIAdapter4 *This, + DXGI_ADAPTER_DESC1 *pDesc); + + /*** IDXGIAdapter2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc2)( + IDXGIAdapter4 *This, + DXGI_ADAPTER_DESC2 *pDesc); + + /*** IDXGIAdapter3 methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterHardwareContentProtectionTeardownStatusEvent)( + IDXGIAdapter4 *This, + HANDLE event, + DWORD *cookie); + + void (STDMETHODCALLTYPE *UnregisterHardwareContentProtectionTeardownStatus)( + IDXGIAdapter4 *This, + DWORD cookie); + + HRESULT (STDMETHODCALLTYPE *QueryVideoMemoryInfo)( + IDXGIAdapter4 *This, + UINT node_index, + DXGI_MEMORY_SEGMENT_GROUP segment_group, + DXGI_QUERY_VIDEO_MEMORY_INFO *memory_info); + + HRESULT (STDMETHODCALLTYPE *SetVideoMemoryReservation)( + IDXGIAdapter4 *This, + UINT node_index, + DXGI_MEMORY_SEGMENT_GROUP segment_group, + UINT64 reservation); + + HRESULT (STDMETHODCALLTYPE *RegisterVideoMemoryBudgetChangeNotificationEvent)( + IDXGIAdapter4 *This, + HANDLE event, + DWORD *cookie); + + void (STDMETHODCALLTYPE *UnregisterVideoMemoryBudgetChangeNotification)( + IDXGIAdapter4 *This, + DWORD cookie); + + /*** IDXGIAdapter4 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc3)( + IDXGIAdapter4 *This, + DXGI_ADAPTER_DESC3 *desc); + + END_INTERFACE +} IDXGIAdapter4Vtbl; + +interface IDXGIAdapter4 { + CONST_VTBL IDXGIAdapter4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIAdapter4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIAdapter4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIAdapter4_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIAdapter4_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter4_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIAdapter4_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIAdapter4_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIAdapter methods ***/ +#define IDXGIAdapter4_EnumOutputs(This,output_idx,output) (This)->lpVtbl->EnumOutputs(This,output_idx,output) +#define IDXGIAdapter4_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIAdapter4_CheckInterfaceSupport(This,guid,umd_version) (This)->lpVtbl->CheckInterfaceSupport(This,guid,umd_version) +/*** IDXGIAdapter1 methods ***/ +#define IDXGIAdapter4_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) +/*** IDXGIAdapter2 methods ***/ +#define IDXGIAdapter4_GetDesc2(This,pDesc) (This)->lpVtbl->GetDesc2(This,pDesc) +/*** IDXGIAdapter3 methods ***/ +#define IDXGIAdapter4_RegisterHardwareContentProtectionTeardownStatusEvent(This,event,cookie) (This)->lpVtbl->RegisterHardwareContentProtectionTeardownStatusEvent(This,event,cookie) +#define IDXGIAdapter4_UnregisterHardwareContentProtectionTeardownStatus(This,cookie) (This)->lpVtbl->UnregisterHardwareContentProtectionTeardownStatus(This,cookie) +#define IDXGIAdapter4_QueryVideoMemoryInfo(This,node_index,segment_group,memory_info) (This)->lpVtbl->QueryVideoMemoryInfo(This,node_index,segment_group,memory_info) +#define IDXGIAdapter4_SetVideoMemoryReservation(This,node_index,segment_group,reservation) (This)->lpVtbl->SetVideoMemoryReservation(This,node_index,segment_group,reservation) +#define IDXGIAdapter4_RegisterVideoMemoryBudgetChangeNotificationEvent(This,event,cookie) (This)->lpVtbl->RegisterVideoMemoryBudgetChangeNotificationEvent(This,event,cookie) +#define IDXGIAdapter4_UnregisterVideoMemoryBudgetChangeNotification(This,cookie) (This)->lpVtbl->UnregisterVideoMemoryBudgetChangeNotification(This,cookie) +/*** IDXGIAdapter4 methods ***/ +#define IDXGIAdapter4_GetDesc3(This,desc) (This)->lpVtbl->GetDesc3(This,desc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_QueryInterface(IDXGIAdapter4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIAdapter4_AddRef(IDXGIAdapter4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIAdapter4_Release(IDXGIAdapter4* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_SetPrivateData(IDXGIAdapter4* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter4_SetPrivateDataInterface(IDXGIAdapter4* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIAdapter4_GetPrivateData(IDXGIAdapter4* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIAdapter4_GetParent(IDXGIAdapter4* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIAdapter methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_EnumOutputs(IDXGIAdapter4* This,UINT output_idx,IDXGIOutput **output) { + return This->lpVtbl->EnumOutputs(This,output_idx,output); +} +static FORCEINLINE HRESULT IDXGIAdapter4_GetDesc(IDXGIAdapter4* This,DXGI_ADAPTER_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIAdapter4_CheckInterfaceSupport(IDXGIAdapter4* This,REFGUID guid,LARGE_INTEGER *umd_version) { + return This->lpVtbl->CheckInterfaceSupport(This,guid,umd_version); +} +/*** IDXGIAdapter1 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_GetDesc1(IDXGIAdapter4* This,DXGI_ADAPTER_DESC1 *pDesc) { + return This->lpVtbl->GetDesc1(This,pDesc); +} +/*** IDXGIAdapter2 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_GetDesc2(IDXGIAdapter4* This,DXGI_ADAPTER_DESC2 *pDesc) { + return This->lpVtbl->GetDesc2(This,pDesc); +} +/*** IDXGIAdapter3 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_RegisterHardwareContentProtectionTeardownStatusEvent(IDXGIAdapter4* This,HANDLE event,DWORD *cookie) { + return This->lpVtbl->RegisterHardwareContentProtectionTeardownStatusEvent(This,event,cookie); +} +static FORCEINLINE void IDXGIAdapter4_UnregisterHardwareContentProtectionTeardownStatus(IDXGIAdapter4* This,DWORD cookie) { + This->lpVtbl->UnregisterHardwareContentProtectionTeardownStatus(This,cookie); +} +static FORCEINLINE HRESULT IDXGIAdapter4_QueryVideoMemoryInfo(IDXGIAdapter4* This,UINT node_index,DXGI_MEMORY_SEGMENT_GROUP segment_group,DXGI_QUERY_VIDEO_MEMORY_INFO *memory_info) { + return This->lpVtbl->QueryVideoMemoryInfo(This,node_index,segment_group,memory_info); +} +static FORCEINLINE HRESULT IDXGIAdapter4_SetVideoMemoryReservation(IDXGIAdapter4* This,UINT node_index,DXGI_MEMORY_SEGMENT_GROUP segment_group,UINT64 reservation) { + return This->lpVtbl->SetVideoMemoryReservation(This,node_index,segment_group,reservation); +} +static FORCEINLINE HRESULT IDXGIAdapter4_RegisterVideoMemoryBudgetChangeNotificationEvent(IDXGIAdapter4* This,HANDLE event,DWORD *cookie) { + return This->lpVtbl->RegisterVideoMemoryBudgetChangeNotificationEvent(This,event,cookie); +} +static FORCEINLINE void IDXGIAdapter4_UnregisterVideoMemoryBudgetChangeNotification(IDXGIAdapter4* This,DWORD cookie) { + This->lpVtbl->UnregisterVideoMemoryBudgetChangeNotification(This,cookie); +} +/*** IDXGIAdapter4 methods ***/ +static FORCEINLINE HRESULT IDXGIAdapter4_GetDesc3(IDXGIAdapter4* This,DXGI_ADAPTER_DESC3 *desc) { + return This->lpVtbl->GetDesc3(This,desc); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIAdapter4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDXGIOutput6 interface + */ +#ifndef __IDXGIOutput6_INTERFACE_DEFINED__ +#define __IDXGIOutput6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIOutput6, 0x068346e8, 0xaaec, 0x4b84, 0xad,0xd7, 0x13,0x7f,0x51,0x3f,0x77,0xa1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("068346e8-aaec-4b84-add7-137f513f77a1") +IDXGIOutput6 : public IDXGIOutput5 +{ + virtual HRESULT STDMETHODCALLTYPE GetDesc1( + DXGI_OUTPUT_DESC1 *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckHardwareCompositionSupport( + UINT *flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIOutput6, 0x068346e8, 0xaaec, 0x4b84, 0xad,0xd7, 0x13,0x7f,0x51,0x3f,0x77,0xa1) +#endif +#else +typedef struct IDXGIOutput6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIOutput6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIOutput6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIOutput6 *This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIOutput6 *This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIOutput6 *This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIOutput6 *This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIOutput6 *This, + REFIID riid, + void **parent); + + /*** IDXGIOutput methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc)( + IDXGIOutput6 *This, + DXGI_OUTPUT_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList)( + IDXGIOutput6 *This, + DXGI_FORMAT format, + UINT flags, + UINT *mode_count, + DXGI_MODE_DESC *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode)( + IDXGIOutput6 *This, + const DXGI_MODE_DESC *mode, + DXGI_MODE_DESC *closest_match, + IUnknown *device); + + HRESULT (STDMETHODCALLTYPE *WaitForVBlank)( + IDXGIOutput6 *This); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + IDXGIOutput6 *This, + IUnknown *device, + BOOL exclusive); + + void (STDMETHODCALLTYPE *ReleaseOwnership)( + IDXGIOutput6 *This); + + HRESULT (STDMETHODCALLTYPE *GetGammaControlCapabilities)( + IDXGIOutput6 *This, + DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps); + + HRESULT (STDMETHODCALLTYPE *SetGammaControl)( + IDXGIOutput6 *This, + const DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *GetGammaControl)( + IDXGIOutput6 *This, + DXGI_GAMMA_CONTROL *gamma_control); + + HRESULT (STDMETHODCALLTYPE *SetDisplaySurface)( + IDXGIOutput6 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData)( + IDXGIOutput6 *This, + IDXGISurface *surface); + + HRESULT (STDMETHODCALLTYPE *GetFrameStatistics)( + IDXGIOutput6 *This, + DXGI_FRAME_STATISTICS *stats); + + /*** IDXGIOutput1 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayModeList1)( + IDXGIOutput6 *This, + DXGI_FORMAT enum_format, + UINT flags, + UINT *num_modes, + DXGI_MODE_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *FindClosestMatchingMode1)( + IDXGIOutput6 *This, + const DXGI_MODE_DESC1 *mode_to_match, + DXGI_MODE_DESC1 *closest_match, + IUnknown *concerned_device); + + HRESULT (STDMETHODCALLTYPE *GetDisplaySurfaceData1)( + IDXGIOutput6 *This, + IDXGIResource *destination); + + HRESULT (STDMETHODCALLTYPE *DuplicateOutput)( + IDXGIOutput6 *This, + IUnknown *device, + IDXGIOutputDuplication **output_duplication); + + /*** IDXGIOutput2 methods ***/ + BOOL (STDMETHODCALLTYPE *SupportsOverlays)( + IDXGIOutput6 *This); + + /*** IDXGIOutput3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlaySupport)( + IDXGIOutput6 *This, + DXGI_FORMAT enum_format, + IUnknown *concerned_device, + UINT *flags); + + /*** IDXGIOutput4 methods ***/ + HRESULT (STDMETHODCALLTYPE *CheckOverlayColorSpaceSupport)( + IDXGIOutput6 *This, + DXGI_FORMAT format, + DXGI_COLOR_SPACE_TYPE colour_space, + IUnknown *device, + UINT *flags); + + /*** IDXGIOutput5 methods ***/ + HRESULT (STDMETHODCALLTYPE *DuplicateOutput1)( + IDXGIOutput6 *This, + IUnknown *device, + UINT flags, + UINT format_count, + const DXGI_FORMAT *formats, + IDXGIOutputDuplication **duplication); + + /*** IDXGIOutput6 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDesc1)( + IDXGIOutput6 *This, + DXGI_OUTPUT_DESC1 *desc); + + HRESULT (STDMETHODCALLTYPE *CheckHardwareCompositionSupport)( + IDXGIOutput6 *This, + UINT *flags); + + END_INTERFACE +} IDXGIOutput6Vtbl; + +interface IDXGIOutput6 { + CONST_VTBL IDXGIOutput6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIOutput6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIOutput6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIOutput6_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIOutput6_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIOutput6_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIOutput6_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIOutput6_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIOutput methods ***/ +#define IDXGIOutput6_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc) +#define IDXGIOutput6_GetDisplayModeList(This,format,flags,mode_count,desc) (This)->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc) +#define IDXGIOutput6_FindClosestMatchingMode(This,mode,closest_match,device) (This)->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device) +#define IDXGIOutput6_WaitForVBlank(This) (This)->lpVtbl->WaitForVBlank(This) +#define IDXGIOutput6_TakeOwnership(This,device,exclusive) (This)->lpVtbl->TakeOwnership(This,device,exclusive) +#define IDXGIOutput6_ReleaseOwnership(This) (This)->lpVtbl->ReleaseOwnership(This) +#define IDXGIOutput6_GetGammaControlCapabilities(This,gamma_caps) (This)->lpVtbl->GetGammaControlCapabilities(This,gamma_caps) +#define IDXGIOutput6_SetGammaControl(This,gamma_control) (This)->lpVtbl->SetGammaControl(This,gamma_control) +#define IDXGIOutput6_GetGammaControl(This,gamma_control) (This)->lpVtbl->GetGammaControl(This,gamma_control) +#define IDXGIOutput6_SetDisplaySurface(This,surface) (This)->lpVtbl->SetDisplaySurface(This,surface) +#define IDXGIOutput6_GetDisplaySurfaceData(This,surface) (This)->lpVtbl->GetDisplaySurfaceData(This,surface) +#define IDXGIOutput6_GetFrameStatistics(This,stats) (This)->lpVtbl->GetFrameStatistics(This,stats) +/*** IDXGIOutput1 methods ***/ +#define IDXGIOutput6_GetDisplayModeList1(This,enum_format,flags,num_modes,desc) (This)->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc) +#define IDXGIOutput6_FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) (This)->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device) +#define IDXGIOutput6_GetDisplaySurfaceData1(This,destination) (This)->lpVtbl->GetDisplaySurfaceData1(This,destination) +#define IDXGIOutput6_DuplicateOutput(This,device,output_duplication) (This)->lpVtbl->DuplicateOutput(This,device,output_duplication) +/*** IDXGIOutput2 methods ***/ +#define IDXGIOutput6_SupportsOverlays(This) (This)->lpVtbl->SupportsOverlays(This) +/*** IDXGIOutput3 methods ***/ +#define IDXGIOutput6_CheckOverlaySupport(This,enum_format,concerned_device,flags) (This)->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags) +/*** IDXGIOutput4 methods ***/ +#define IDXGIOutput6_CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags) (This)->lpVtbl->CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags) +/*** IDXGIOutput5 methods ***/ +#define IDXGIOutput6_DuplicateOutput1(This,device,flags,format_count,formats,duplication) (This)->lpVtbl->DuplicateOutput1(This,device,flags,format_count,formats,duplication) +/*** IDXGIOutput6 methods ***/ +#define IDXGIOutput6_GetDesc1(This,desc) (This)->lpVtbl->GetDesc1(This,desc) +#define IDXGIOutput6_CheckHardwareCompositionSupport(This,flags) (This)->lpVtbl->CheckHardwareCompositionSupport(This,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_QueryInterface(IDXGIOutput6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIOutput6_AddRef(IDXGIOutput6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIOutput6_Release(IDXGIOutput6* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_SetPrivateData(IDXGIOutput6* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput6_SetPrivateDataInterface(IDXGIOutput6* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetPrivateData(IDXGIOutput6* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetParent(IDXGIOutput6* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIOutput methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_GetDesc(IDXGIOutput6* This,DXGI_OUTPUT_DESC *desc) { + return This->lpVtbl->GetDesc(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetDisplayModeList(IDXGIOutput6* This,DXGI_FORMAT format,UINT flags,UINT *mode_count,DXGI_MODE_DESC *desc) { + return This->lpVtbl->GetDisplayModeList(This,format,flags,mode_count,desc); +} +static FORCEINLINE HRESULT IDXGIOutput6_FindClosestMatchingMode(IDXGIOutput6* This,const DXGI_MODE_DESC *mode,DXGI_MODE_DESC *closest_match,IUnknown *device) { + return This->lpVtbl->FindClosestMatchingMode(This,mode,closest_match,device); +} +static FORCEINLINE HRESULT IDXGIOutput6_WaitForVBlank(IDXGIOutput6* This) { + return This->lpVtbl->WaitForVBlank(This); +} +static FORCEINLINE HRESULT IDXGIOutput6_TakeOwnership(IDXGIOutput6* This,IUnknown *device,BOOL exclusive) { + return This->lpVtbl->TakeOwnership(This,device,exclusive); +} +static FORCEINLINE void IDXGIOutput6_ReleaseOwnership(IDXGIOutput6* This) { + This->lpVtbl->ReleaseOwnership(This); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetGammaControlCapabilities(IDXGIOutput6* This,DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps) { + return This->lpVtbl->GetGammaControlCapabilities(This,gamma_caps); +} +static FORCEINLINE HRESULT IDXGIOutput6_SetGammaControl(IDXGIOutput6* This,const DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->SetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetGammaControl(IDXGIOutput6* This,DXGI_GAMMA_CONTROL *gamma_control) { + return This->lpVtbl->GetGammaControl(This,gamma_control); +} +static FORCEINLINE HRESULT IDXGIOutput6_SetDisplaySurface(IDXGIOutput6* This,IDXGISurface *surface) { + return This->lpVtbl->SetDisplaySurface(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetDisplaySurfaceData(IDXGIOutput6* This,IDXGISurface *surface) { + return This->lpVtbl->GetDisplaySurfaceData(This,surface); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetFrameStatistics(IDXGIOutput6* This,DXGI_FRAME_STATISTICS *stats) { + return This->lpVtbl->GetFrameStatistics(This,stats); +} +/*** IDXGIOutput1 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_GetDisplayModeList1(IDXGIOutput6* This,DXGI_FORMAT enum_format,UINT flags,UINT *num_modes,DXGI_MODE_DESC1 *desc) { + return This->lpVtbl->GetDisplayModeList1(This,enum_format,flags,num_modes,desc); +} +static FORCEINLINE HRESULT IDXGIOutput6_FindClosestMatchingMode1(IDXGIOutput6* This,const DXGI_MODE_DESC1 *mode_to_match,DXGI_MODE_DESC1 *closest_match,IUnknown *concerned_device) { + return This->lpVtbl->FindClosestMatchingMode1(This,mode_to_match,closest_match,concerned_device); +} +static FORCEINLINE HRESULT IDXGIOutput6_GetDisplaySurfaceData1(IDXGIOutput6* This,IDXGIResource *destination) { + return This->lpVtbl->GetDisplaySurfaceData1(This,destination); +} +static FORCEINLINE HRESULT IDXGIOutput6_DuplicateOutput(IDXGIOutput6* This,IUnknown *device,IDXGIOutputDuplication **output_duplication) { + return This->lpVtbl->DuplicateOutput(This,device,output_duplication); +} +/*** IDXGIOutput2 methods ***/ +static FORCEINLINE BOOL IDXGIOutput6_SupportsOverlays(IDXGIOutput6* This) { + return This->lpVtbl->SupportsOverlays(This); +} +/*** IDXGIOutput3 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_CheckOverlaySupport(IDXGIOutput6* This,DXGI_FORMAT enum_format,IUnknown *concerned_device,UINT *flags) { + return This->lpVtbl->CheckOverlaySupport(This,enum_format,concerned_device,flags); +} +/*** IDXGIOutput4 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_CheckOverlayColorSpaceSupport(IDXGIOutput6* This,DXGI_FORMAT format,DXGI_COLOR_SPACE_TYPE colour_space,IUnknown *device,UINT *flags) { + return This->lpVtbl->CheckOverlayColorSpaceSupport(This,format,colour_space,device,flags); +} +/*** IDXGIOutput5 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_DuplicateOutput1(IDXGIOutput6* This,IUnknown *device,UINT flags,UINT format_count,const DXGI_FORMAT *formats,IDXGIOutputDuplication **duplication) { + return This->lpVtbl->DuplicateOutput1(This,device,flags,format_count,formats,duplication); +} +/*** IDXGIOutput6 methods ***/ +static FORCEINLINE HRESULT IDXGIOutput6_GetDesc1(IDXGIOutput6* This,DXGI_OUTPUT_DESC1 *desc) { + return This->lpVtbl->GetDesc1(This,desc); +} +static FORCEINLINE HRESULT IDXGIOutput6_CheckHardwareCompositionSupport(IDXGIOutput6* This,UINT *flags) { + return This->lpVtbl->CheckHardwareCompositionSupport(This,flags); +} +#endif +#endif + +#endif + + +#endif /* __IDXGIOutput6_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi1_6_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_6.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_6.idl new file mode 100644 index 0000000..9dcf9f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgi1_6.idl @@ -0,0 +1,98 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgi1_5.idl"; + +typedef enum DXGI_ADAPTER_FLAG3 +{ + DXGI_ADAPTER_FLAG3_NONE = 0x0, + DXGI_ADAPTER_FLAG3_REMOTE = 0x1, + DXGI_ADAPTER_FLAG3_SOFTWARE = 0x2, + DXGI_ADAPTER_FLAG3_ACG_COMPATIBLE = 0x4, + DXGI_ADAPTER_FLAG3_FORCE_DWORD = 0xffffffff, +} DXGI_ADAPTER_FLAG3; + +typedef enum DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS +{ + DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_FULLSCREEN = 0x1, + DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_WINDOWED = 0x2, + DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_CURSOR_STRETCHED = 0x4, +} DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS; + +typedef struct DXGI_ADAPTER_DESC3 +{ + WCHAR Description[128]; + UINT VendorId; + UINT DeviceId; + UINT SubSysId; + UINT Revision; + SIZE_T DedicatedVideoMemory; + SIZE_T DedicatedSystemMemory; + SIZE_T SharedSystemMemory; + LUID AdapterLuid; + DXGI_ADAPTER_FLAG3 Flags; + DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity; + DXGI_COMPUTE_PREEMPTION_GRANULARITY ComputePreemptionGranularity; +} DXGI_ADAPTER_DESC3; + +typedef struct DXGI_OUTPUT_DESC1 +{ + WCHAR DeviceName[32]; + RECT DesktopCoordinates; + BOOL AttachedToDesktop; + DXGI_MODE_ROTATION Rotation; + HMONITOR Monitor; + UINT BitsPerColor; + DXGI_COLOR_SPACE_TYPE ColorSpace; + FLOAT RedPrimary[2]; + FLOAT GreenPrimary[2]; + FLOAT BluePrimary[2]; + FLOAT WhitePoint[2]; + FLOAT MinLuminance; + FLOAT MaxLuminance; + FLOAT MaxFullFrameLuminance; +} DXGI_OUTPUT_DESC1; + +[ + object, + uuid(3c8d99d1-4fbf-4181-a82c-af66bf7bd24e), + local, + pointer_default(unique) +] +interface IDXGIAdapter4 : IDXGIAdapter3 +{ + HRESULT GetDesc3( + [out] DXGI_ADAPTER_DESC3 *desc + ); +} + +[ + object, + uuid(068346e8-aaec-4b84-add7-137f513f77a1), + local, + pointer_default(unique) +] +interface IDXGIOutput6 : IDXGIOutput5 +{ + HRESULT GetDesc1( + [out] DXGI_OUTPUT_DESC1 *desc + ); + HRESULT CheckHardwareCompositionSupport( + [out] UINT *flags + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgicommon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgicommon.h new file mode 100644 index 0000000..0b6e78f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgicommon.h @@ -0,0 +1,74 @@ +/*** Autogenerated by WIDL 2.18 from dxgicommon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgicommon_h__ +#define __dxgicommon_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef unsigned int UINT; +#endif +#define DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN (0xffffffff) + +#define DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN (0xfffffffe) + +typedef enum DXGI_COLOR_SPACE_TYPE { + DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0x0, + DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 0x1, + DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 0x2, + DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 0x3, + DXGI_COLOR_SPACE_RESERVED = 0x4, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 0x5, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 0x6, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 0x7, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 0x8, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 0x9, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 0xa, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 0xb, + DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 0xc, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 0xd, + DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 0xe, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 0xf, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 0x10, + DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 0x11, + DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 0x12, + DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 0x13, + DXGI_COLOR_SPACE_CUSTOM = 0xffffffff +} DXGI_COLOR_SPACE_TYPE; +typedef struct DXGI_SAMPLE_DESC { + UINT Count; + UINT Quality; +} DXGI_SAMPLE_DESC; +typedef struct DXGI_RATIONAL { + UINT Numerator; + UINT Denominator; +} DXGI_RATIONAL; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgicommon_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgicommon.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgicommon.idl new file mode 100644 index 0000000..99ace03 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgicommon.idl @@ -0,0 +1,61 @@ +/* + * Copyright 2017 Ihsan Akmal + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +cpp_quote("#if 0") +typedef unsigned int UINT; +cpp_quote("#endif") + +const UINT DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN = 0xffffffff; +const UINT DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN = 0xfffffffe; + +typedef enum DXGI_COLOR_SPACE_TYPE +{ + DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0x00, + DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 0x01, + DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 0x02, + DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 0x03, + DXGI_COLOR_SPACE_RESERVED = 0x04, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 0x05, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 0x06, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 0x07, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 0x08, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 0x09, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 0x0a, + DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 0x0b, + DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 0x0c, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 0x0d, + DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 0x0e, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 0x0f, + DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 0x10, + DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 0x11, + DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 0x12, + DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 0x13, + DXGI_COLOR_SPACE_CUSTOM = 0xffffffff, +} DXGI_COLOR_SPACE_TYPE; + +typedef struct DXGI_SAMPLE_DESC +{ + UINT Count; + UINT Quality; +} DXGI_SAMPLE_DESC; + +typedef struct DXGI_RATIONAL +{ + UINT Numerator; + UINT Denominator; +} DXGI_RATIONAL; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgiformat.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgiformat.h new file mode 100644 index 0000000..9af62d3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgiformat.h @@ -0,0 +1,160 @@ +/*** Autogenerated by WIDL 2.18 from dxgiformat.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgiformat_h__ +#define __dxgiformat_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + + +#ifdef __cplusplus +extern "C" { +#endif + +#define DXGI_FORMAT_DEFINED (1) + +typedef enum DXGI_FORMAT { + DXGI_FORMAT_UNKNOWN = 0x0, + DXGI_FORMAT_R32G32B32A32_TYPELESS = 0x1, + DXGI_FORMAT_R32G32B32A32_FLOAT = 0x2, + DXGI_FORMAT_R32G32B32A32_UINT = 0x3, + DXGI_FORMAT_R32G32B32A32_SINT = 0x4, + DXGI_FORMAT_R32G32B32_TYPELESS = 0x5, + DXGI_FORMAT_R32G32B32_FLOAT = 0x6, + DXGI_FORMAT_R32G32B32_UINT = 0x7, + DXGI_FORMAT_R32G32B32_SINT = 0x8, + DXGI_FORMAT_R16G16B16A16_TYPELESS = 0x9, + DXGI_FORMAT_R16G16B16A16_FLOAT = 0xa, + DXGI_FORMAT_R16G16B16A16_UNORM = 0xb, + DXGI_FORMAT_R16G16B16A16_UINT = 0xc, + DXGI_FORMAT_R16G16B16A16_SNORM = 0xd, + DXGI_FORMAT_R16G16B16A16_SINT = 0xe, + DXGI_FORMAT_R32G32_TYPELESS = 0xf, + DXGI_FORMAT_R32G32_FLOAT = 0x10, + DXGI_FORMAT_R32G32_UINT = 0x11, + DXGI_FORMAT_R32G32_SINT = 0x12, + DXGI_FORMAT_R32G8X24_TYPELESS = 0x13, + DXGI_FORMAT_D32_FLOAT_S8X24_UINT = 0x14, + DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS = 0x15, + DXGI_FORMAT_X32_TYPELESS_G8X24_UINT = 0x16, + DXGI_FORMAT_R10G10B10A2_TYPELESS = 0x17, + DXGI_FORMAT_R10G10B10A2_UNORM = 0x18, + DXGI_FORMAT_R10G10B10A2_UINT = 0x19, + DXGI_FORMAT_R11G11B10_FLOAT = 0x1a, + DXGI_FORMAT_R8G8B8A8_TYPELESS = 0x1b, + DXGI_FORMAT_R8G8B8A8_UNORM = 0x1c, + DXGI_FORMAT_R8G8B8A8_UNORM_SRGB = 0x1d, + DXGI_FORMAT_R8G8B8A8_UINT = 0x1e, + DXGI_FORMAT_R8G8B8A8_SNORM = 0x1f, + DXGI_FORMAT_R8G8B8A8_SINT = 0x20, + DXGI_FORMAT_R16G16_TYPELESS = 0x21, + DXGI_FORMAT_R16G16_FLOAT = 0x22, + DXGI_FORMAT_R16G16_UNORM = 0x23, + DXGI_FORMAT_R16G16_UINT = 0x24, + DXGI_FORMAT_R16G16_SNORM = 0x25, + DXGI_FORMAT_R16G16_SINT = 0x26, + DXGI_FORMAT_R32_TYPELESS = 0x27, + DXGI_FORMAT_D32_FLOAT = 0x28, + DXGI_FORMAT_R32_FLOAT = 0x29, + DXGI_FORMAT_R32_UINT = 0x2a, + DXGI_FORMAT_R32_SINT = 0x2b, + DXGI_FORMAT_R24G8_TYPELESS = 0x2c, + DXGI_FORMAT_D24_UNORM_S8_UINT = 0x2d, + DXGI_FORMAT_R24_UNORM_X8_TYPELESS = 0x2e, + DXGI_FORMAT_X24_TYPELESS_G8_UINT = 0x2f, + DXGI_FORMAT_R8G8_TYPELESS = 0x30, + DXGI_FORMAT_R8G8_UNORM = 0x31, + DXGI_FORMAT_R8G8_UINT = 0x32, + DXGI_FORMAT_R8G8_SNORM = 0x33, + DXGI_FORMAT_R8G8_SINT = 0x34, + DXGI_FORMAT_R16_TYPELESS = 0x35, + DXGI_FORMAT_R16_FLOAT = 0x36, + DXGI_FORMAT_D16_UNORM = 0x37, + DXGI_FORMAT_R16_UNORM = 0x38, + DXGI_FORMAT_R16_UINT = 0x39, + DXGI_FORMAT_R16_SNORM = 0x3a, + DXGI_FORMAT_R16_SINT = 0x3b, + DXGI_FORMAT_R8_TYPELESS = 0x3c, + DXGI_FORMAT_R8_UNORM = 0x3d, + DXGI_FORMAT_R8_UINT = 0x3e, + DXGI_FORMAT_R8_SNORM = 0x3f, + DXGI_FORMAT_R8_SINT = 0x40, + DXGI_FORMAT_A8_UNORM = 0x41, + DXGI_FORMAT_R1_UNORM = 0x42, + DXGI_FORMAT_R9G9B9E5_SHAREDEXP = 0x43, + DXGI_FORMAT_R8G8_B8G8_UNORM = 0x44, + DXGI_FORMAT_G8R8_G8B8_UNORM = 0x45, + DXGI_FORMAT_BC1_TYPELESS = 0x46, + DXGI_FORMAT_BC1_UNORM = 0x47, + DXGI_FORMAT_BC1_UNORM_SRGB = 0x48, + DXGI_FORMAT_BC2_TYPELESS = 0x49, + DXGI_FORMAT_BC2_UNORM = 0x4a, + DXGI_FORMAT_BC2_UNORM_SRGB = 0x4b, + DXGI_FORMAT_BC3_TYPELESS = 0x4c, + DXGI_FORMAT_BC3_UNORM = 0x4d, + DXGI_FORMAT_BC3_UNORM_SRGB = 0x4e, + DXGI_FORMAT_BC4_TYPELESS = 0x4f, + DXGI_FORMAT_BC4_UNORM = 0x50, + DXGI_FORMAT_BC4_SNORM = 0x51, + DXGI_FORMAT_BC5_TYPELESS = 0x52, + DXGI_FORMAT_BC5_UNORM = 0x53, + DXGI_FORMAT_BC5_SNORM = 0x54, + DXGI_FORMAT_B5G6R5_UNORM = 0x55, + DXGI_FORMAT_B5G5R5A1_UNORM = 0x56, + DXGI_FORMAT_B8G8R8A8_UNORM = 0x57, + DXGI_FORMAT_B8G8R8X8_UNORM = 0x58, + DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM = 0x59, + DXGI_FORMAT_B8G8R8A8_TYPELESS = 0x5a, + DXGI_FORMAT_B8G8R8A8_UNORM_SRGB = 0x5b, + DXGI_FORMAT_B8G8R8X8_TYPELESS = 0x5c, + DXGI_FORMAT_B8G8R8X8_UNORM_SRGB = 0x5d, + DXGI_FORMAT_BC6H_TYPELESS = 0x5e, + DXGI_FORMAT_BC6H_UF16 = 0x5f, + DXGI_FORMAT_BC6H_SF16 = 0x60, + DXGI_FORMAT_BC7_TYPELESS = 0x61, + DXGI_FORMAT_BC7_UNORM = 0x62, + DXGI_FORMAT_BC7_UNORM_SRGB = 0x63, + DXGI_FORMAT_AYUV = 0x64, + DXGI_FORMAT_Y410 = 0x65, + DXGI_FORMAT_Y416 = 0x66, + DXGI_FORMAT_NV12 = 0x67, + DXGI_FORMAT_P010 = 0x68, + DXGI_FORMAT_P016 = 0x69, + DXGI_FORMAT_420_OPAQUE = 0x6a, + DXGI_FORMAT_YUY2 = 0x6b, + DXGI_FORMAT_Y210 = 0x6c, + DXGI_FORMAT_Y216 = 0x6d, + DXGI_FORMAT_NV11 = 0x6e, + DXGI_FORMAT_AI44 = 0x6f, + DXGI_FORMAT_IA44 = 0x70, + DXGI_FORMAT_P8 = 0x71, + DXGI_FORMAT_A8P8 = 0x72, + DXGI_FORMAT_B4G4R4A4_UNORM = 0x73, + DXGI_FORMAT_P208 = 0x82, + DXGI_FORMAT_V208 = 0x83, + DXGI_FORMAT_V408 = 0x84, + DXGI_FORMAT_FORCE_UINT = 0xffffffff +} DXGI_FORMAT; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgiformat_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgiformat.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgiformat.idl new file mode 100644 index 0000000..5f85064 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgiformat.idl @@ -0,0 +1,145 @@ +/* + * Copyright 2016 Józef Kucia for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +const unsigned int DXGI_FORMAT_DEFINED = 1; + +typedef enum DXGI_FORMAT +{ + DXGI_FORMAT_UNKNOWN = 0x00, + DXGI_FORMAT_R32G32B32A32_TYPELESS = 0x01, + DXGI_FORMAT_R32G32B32A32_FLOAT = 0x02, + DXGI_FORMAT_R32G32B32A32_UINT = 0x03, + DXGI_FORMAT_R32G32B32A32_SINT = 0x04, + DXGI_FORMAT_R32G32B32_TYPELESS = 0x05, + DXGI_FORMAT_R32G32B32_FLOAT = 0x06, + DXGI_FORMAT_R32G32B32_UINT = 0x07, + DXGI_FORMAT_R32G32B32_SINT = 0x08, + DXGI_FORMAT_R16G16B16A16_TYPELESS = 0x09, + DXGI_FORMAT_R16G16B16A16_FLOAT = 0x0a, + DXGI_FORMAT_R16G16B16A16_UNORM = 0x0b, + DXGI_FORMAT_R16G16B16A16_UINT = 0x0c, + DXGI_FORMAT_R16G16B16A16_SNORM = 0x0d, + DXGI_FORMAT_R16G16B16A16_SINT = 0x0e, + DXGI_FORMAT_R32G32_TYPELESS = 0x0f, + DXGI_FORMAT_R32G32_FLOAT = 0x10, + DXGI_FORMAT_R32G32_UINT = 0x11, + DXGI_FORMAT_R32G32_SINT = 0x12, + DXGI_FORMAT_R32G8X24_TYPELESS = 0x13, + DXGI_FORMAT_D32_FLOAT_S8X24_UINT = 0x14, + DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS = 0x15, + DXGI_FORMAT_X32_TYPELESS_G8X24_UINT = 0x16, + DXGI_FORMAT_R10G10B10A2_TYPELESS = 0x17, + DXGI_FORMAT_R10G10B10A2_UNORM = 0x18, + DXGI_FORMAT_R10G10B10A2_UINT = 0x19, + DXGI_FORMAT_R11G11B10_FLOAT = 0x1a, + DXGI_FORMAT_R8G8B8A8_TYPELESS = 0x1b, + DXGI_FORMAT_R8G8B8A8_UNORM = 0x1c, + DXGI_FORMAT_R8G8B8A8_UNORM_SRGB = 0x1d, + DXGI_FORMAT_R8G8B8A8_UINT = 0x1e, + DXGI_FORMAT_R8G8B8A8_SNORM = 0x1f, + DXGI_FORMAT_R8G8B8A8_SINT = 0x20, + DXGI_FORMAT_R16G16_TYPELESS = 0x21, + DXGI_FORMAT_R16G16_FLOAT = 0x22, + DXGI_FORMAT_R16G16_UNORM = 0x23, + DXGI_FORMAT_R16G16_UINT = 0x24, + DXGI_FORMAT_R16G16_SNORM = 0x25, + DXGI_FORMAT_R16G16_SINT = 0x26, + DXGI_FORMAT_R32_TYPELESS = 0x27, + DXGI_FORMAT_D32_FLOAT = 0x28, + DXGI_FORMAT_R32_FLOAT = 0x29, + DXGI_FORMAT_R32_UINT = 0x2a, + DXGI_FORMAT_R32_SINT = 0x2b, + DXGI_FORMAT_R24G8_TYPELESS = 0x2c, + DXGI_FORMAT_D24_UNORM_S8_UINT = 0x2d, + DXGI_FORMAT_R24_UNORM_X8_TYPELESS = 0x2e, + DXGI_FORMAT_X24_TYPELESS_G8_UINT = 0x2f, + DXGI_FORMAT_R8G8_TYPELESS = 0x30, + DXGI_FORMAT_R8G8_UNORM = 0x31, + DXGI_FORMAT_R8G8_UINT = 0x32, + DXGI_FORMAT_R8G8_SNORM = 0x33, + DXGI_FORMAT_R8G8_SINT = 0x34, + DXGI_FORMAT_R16_TYPELESS = 0x35, + DXGI_FORMAT_R16_FLOAT = 0x36, + DXGI_FORMAT_D16_UNORM = 0x37, + DXGI_FORMAT_R16_UNORM = 0x38, + DXGI_FORMAT_R16_UINT = 0x39, + DXGI_FORMAT_R16_SNORM = 0x3a, + DXGI_FORMAT_R16_SINT = 0x3b, + DXGI_FORMAT_R8_TYPELESS = 0x3c, + DXGI_FORMAT_R8_UNORM = 0x3d, + DXGI_FORMAT_R8_UINT = 0x3e, + DXGI_FORMAT_R8_SNORM = 0x3f, + DXGI_FORMAT_R8_SINT = 0x40, + DXGI_FORMAT_A8_UNORM = 0x41, + DXGI_FORMAT_R1_UNORM = 0x42, + DXGI_FORMAT_R9G9B9E5_SHAREDEXP = 0x43, + DXGI_FORMAT_R8G8_B8G8_UNORM = 0x44, + DXGI_FORMAT_G8R8_G8B8_UNORM = 0x45, + DXGI_FORMAT_BC1_TYPELESS = 0x46, + DXGI_FORMAT_BC1_UNORM = 0x47, + DXGI_FORMAT_BC1_UNORM_SRGB = 0x48, + DXGI_FORMAT_BC2_TYPELESS = 0x49, + DXGI_FORMAT_BC2_UNORM = 0x4a, + DXGI_FORMAT_BC2_UNORM_SRGB = 0x4b, + DXGI_FORMAT_BC3_TYPELESS = 0x4c, + DXGI_FORMAT_BC3_UNORM = 0x4d, + DXGI_FORMAT_BC3_UNORM_SRGB = 0x4e, + DXGI_FORMAT_BC4_TYPELESS = 0x4f, + DXGI_FORMAT_BC4_UNORM = 0x50, + DXGI_FORMAT_BC4_SNORM = 0x51, + DXGI_FORMAT_BC5_TYPELESS = 0x52, + DXGI_FORMAT_BC5_UNORM = 0x53, + DXGI_FORMAT_BC5_SNORM = 0x54, + DXGI_FORMAT_B5G6R5_UNORM = 0x55, + DXGI_FORMAT_B5G5R5A1_UNORM = 0x56, + DXGI_FORMAT_B8G8R8A8_UNORM = 0x57, + DXGI_FORMAT_B8G8R8X8_UNORM = 0x58, + DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM = 0x59, + DXGI_FORMAT_B8G8R8A8_TYPELESS = 0x5a, + DXGI_FORMAT_B8G8R8A8_UNORM_SRGB = 0x5b, + DXGI_FORMAT_B8G8R8X8_TYPELESS = 0x5c, + DXGI_FORMAT_B8G8R8X8_UNORM_SRGB = 0x5d, + DXGI_FORMAT_BC6H_TYPELESS = 0x5e, + DXGI_FORMAT_BC6H_UF16 = 0x5f, + DXGI_FORMAT_BC6H_SF16 = 0x60, + DXGI_FORMAT_BC7_TYPELESS = 0x61, + DXGI_FORMAT_BC7_UNORM = 0x62, + DXGI_FORMAT_BC7_UNORM_SRGB = 0x63, + DXGI_FORMAT_AYUV = 0x64, + DXGI_FORMAT_Y410 = 0x65, + DXGI_FORMAT_Y416 = 0x66, + DXGI_FORMAT_NV12 = 0x67, + DXGI_FORMAT_P010 = 0x68, + DXGI_FORMAT_P016 = 0x69, + DXGI_FORMAT_420_OPAQUE = 0x6a, + DXGI_FORMAT_YUY2 = 0x6b, + DXGI_FORMAT_Y210 = 0x6c, + DXGI_FORMAT_Y216 = 0x6d, + DXGI_FORMAT_NV11 = 0x6e, + DXGI_FORMAT_AI44 = 0x6f, + DXGI_FORMAT_IA44 = 0x70, + DXGI_FORMAT_P8 = 0x71, + DXGI_FORMAT_A8P8 = 0x72, + DXGI_FORMAT_B4G4R4A4_UNORM = 0x73, + + DXGI_FORMAT_P208 = 0x82, + DXGI_FORMAT_V208 = 0x83, + DXGI_FORMAT_V408 = 0x84, + + DXGI_FORMAT_FORCE_UINT = 0xffffffff, +} DXGI_FORMAT; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgitype.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgitype.h new file mode 100644 index 0000000..4c7e594 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgitype.h @@ -0,0 +1,95 @@ +/*** Autogenerated by WIDL 2.18 from dxgitype.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxgitype_h__ +#define __dxgitype_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef unsigned int UINT; +typedef LONG BOOL; +#endif +typedef enum DXGI_MODE_ROTATION { + DXGI_MODE_ROTATION_UNSPECIFIED = 0x0, + DXGI_MODE_ROTATION_IDENTITY = 0x1, + DXGI_MODE_ROTATION_ROTATE90 = 0x2, + DXGI_MODE_ROTATION_ROTATE180 = 0x3, + DXGI_MODE_ROTATION_ROTATE270 = 0x4 +} DXGI_MODE_ROTATION; +typedef enum DXGI_MODE_SCANLINE_ORDER { + DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0x0, + DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 0x1, + DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 0x2, + DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 0x3 +} DXGI_MODE_SCANLINE_ORDER; +typedef enum DXGI_MODE_SCALING { + DXGI_MODE_SCALING_UNSPECIFIED = 0x0, + DXGI_MODE_SCALING_CENTERED = 0x1, + DXGI_MODE_SCALING_STRETCHED = 0x2 +} DXGI_MODE_SCALING; +#ifndef D3DCOLORVALUE_DEFINED +#define D3DCOLORVALUE_DEFINED +typedef struct _D3DCOLORVALUE { + float r; + float g; + float b; + float a; +} D3DCOLORVALUE; +#endif +typedef D3DCOLORVALUE DXGI_RGBA; +typedef struct DXGI_MODE_DESC { + UINT Width; + UINT Height; + DXGI_RATIONAL RefreshRate; + DXGI_FORMAT Format; + DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; + DXGI_MODE_SCALING Scaling; +} DXGI_MODE_DESC; +typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES { + BOOL ScaleAndOffsetSupported; + float MaxConvertedValue; + float MinConvertedValue; + UINT NumGammaControlPoints; + float ControlPointPositions[1025]; +} DXGI_GAMMA_CONTROL_CAPABILITIES; +typedef struct DXGI_RGB { + float Red; + float Green; + float Blue; +} DXGI_RGB; +typedef struct DXGI_GAMMA_CONTROL { + DXGI_RGB Scale; + DXGI_RGB Offset; + DXGI_RGB GammaCurve[1025]; +} DXGI_GAMMA_CONTROL; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgitype_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgitype.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgitype.idl new file mode 100644 index 0000000..a9ed571 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxgitype.idl @@ -0,0 +1,94 @@ +/* + * Copyright 2007 Andras Kovacs + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgicommon.idl"; +import "dxgiformat.idl"; + +cpp_quote("#if 0") +typedef unsigned int UINT; +typedef long BOOL; +cpp_quote("#endif") + +typedef enum DXGI_MODE_ROTATION +{ + DXGI_MODE_ROTATION_UNSPECIFIED = 0x0, + DXGI_MODE_ROTATION_IDENTITY = 0x1, + DXGI_MODE_ROTATION_ROTATE90 = 0x2, + DXGI_MODE_ROTATION_ROTATE180 = 0x3, + DXGI_MODE_ROTATION_ROTATE270 = 0x4, +} DXGI_MODE_ROTATION; + +typedef enum DXGI_MODE_SCANLINE_ORDER +{ + DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0x0, + DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 0x1, + DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 0x2, + DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 0x3, +} DXGI_MODE_SCANLINE_ORDER; + +typedef enum DXGI_MODE_SCALING +{ + DXGI_MODE_SCALING_UNSPECIFIED = 0x0, + DXGI_MODE_SCALING_CENTERED = 0x1, + DXGI_MODE_SCALING_STRETCHED = 0x2, +} DXGI_MODE_SCALING; + +cpp_quote("#ifndef D3DCOLORVALUE_DEFINED") +cpp_quote("#define D3DCOLORVALUE_DEFINED") +typedef struct _D3DCOLORVALUE +{ + float r; + float g; + float b; + float a; +} D3DCOLORVALUE; +cpp_quote("#endif") +typedef D3DCOLORVALUE DXGI_RGBA; + +typedef struct DXGI_MODE_DESC +{ + UINT Width; + UINT Height; + DXGI_RATIONAL RefreshRate; + DXGI_FORMAT Format; + DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; + DXGI_MODE_SCALING Scaling; +} DXGI_MODE_DESC; + +typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES +{ + BOOL ScaleAndOffsetSupported; + float MaxConvertedValue; + float MinConvertedValue; + UINT NumGammaControlPoints; + float ControlPointPositions[1025]; +} DXGI_GAMMA_CONTROL_CAPABILITIES; + +typedef struct DXGI_RGB +{ + float Red; + float Green; + float Blue; +} DXGI_RGB; + +typedef struct DXGI_GAMMA_CONTROL +{ + DXGI_RGB Scale; + DXGI_RGB Offset; + DXGI_RGB GammaCurve[1025]; +} DXGI_GAMMA_CONTROL; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxva2api.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxva2api.h new file mode 100644 index 0000000..a1d9acf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxva2api.h @@ -0,0 +1,1339 @@ +/*** Autogenerated by WIDL 2.18 from dxva2api.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __dxva2api_h__ +#define __dxva2api_h__ + +/* Forward declarations */ + +#ifndef __IDirect3DDeviceManager9_FWD_DEFINED__ +#define __IDirect3DDeviceManager9_FWD_DEFINED__ +typedef interface IDirect3DDeviceManager9 IDirect3DDeviceManager9; +#ifdef __cplusplus +interface IDirect3DDeviceManager9; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoAccelerationService_FWD_DEFINED__ +#define __IDirectXVideoAccelerationService_FWD_DEFINED__ +typedef interface IDirectXVideoAccelerationService IDirectXVideoAccelerationService; +#ifdef __cplusplus +interface IDirectXVideoAccelerationService; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoDecoderService_FWD_DEFINED__ +#define __IDirectXVideoDecoderService_FWD_DEFINED__ +typedef interface IDirectXVideoDecoderService IDirectXVideoDecoderService; +#ifdef __cplusplus +interface IDirectXVideoDecoderService; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoDecoder_FWD_DEFINED__ +#define __IDirectXVideoDecoder_FWD_DEFINED__ +typedef interface IDirectXVideoDecoder IDirectXVideoDecoder; +#ifdef __cplusplus +interface IDirectXVideoDecoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoProcessorService_FWD_DEFINED__ +#define __IDirectXVideoProcessorService_FWD_DEFINED__ +typedef interface IDirectXVideoProcessorService IDirectXVideoProcessorService; +#ifdef __cplusplus +interface IDirectXVideoProcessorService; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoProcessor_FWD_DEFINED__ +#define __IDirectXVideoProcessor_FWD_DEFINED__ +typedef interface IDirectXVideoProcessor IDirectXVideoProcessor; +#ifdef __cplusplus +interface IDirectXVideoProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoMemoryConfiguration_FWD_DEFINED__ +#define __IDirectXVideoMemoryConfiguration_FWD_DEFINED__ +typedef interface IDirectXVideoMemoryConfiguration IDirectXVideoMemoryConfiguration; +#ifdef __cplusplus +interface IDirectXVideoMemoryConfiguration; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef DWORD IDirect3DDevice9; +typedef DWORD IDirect3DSurface9; +typedef DWORD D3DFORMAT; +typedef DWORD D3DPOOL; +#endif +DEFINE_GUID(DXVA2_ModeMPEG2_MoComp, 0xe6a9f44b, 0x61b0,0x4563, 0x9e,0xa4,0x63,0xd2,0xa3,0xc6,0xfe,0x66); +#define DXVA2_ModeMPEG2_MOCOMP DXVA2_ModeMPEG2_MoComp +DEFINE_GUID(DXVA2_ModeMPEG2_IDCT, 0xbf22ad00, 0x03ea,0x4690, 0x80,0x77,0x47,0x33,0x46,0x20,0x9b,0x7e); +DEFINE_GUID(DXVA2_ModeMPEG2_VLD, 0xee27417f, 0x5e28,0x4e65, 0xbe,0xea,0x1d,0x26,0xb5,0x08,0xad,0xc9); +DEFINE_GUID(DXVA2_ModeH264_A, 0x1b81be64, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeH264_MoComp_NoFGT DXVA2_ModeH264_A +DEFINE_GUID(DXVA2_ModeH264_B, 0x1b81be65, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeH264_MoComp_FGT DXVA2_ModeH264_B +DEFINE_GUID(DXVA2_ModeH264_C, 0x1b81be66, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeH264_IDCT_NoFGT DXVA2_ModeH264_C +DEFINE_GUID(DXVA2_ModeH264_D, 0x1b81be67, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeH264_IDCT_FGT DXVA2_ModeH264_D +DEFINE_GUID(DXVA2_ModeH264_E, 0x1b81be68, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeH264_VLD_NoFGT DXVA2_ModeH264_E +DEFINE_GUID(DXVA2_ModeH264_F, 0x1b81be69, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeH264_VLD_FGT DXVA2_ModeH264_F +DEFINE_GUID(DXVA2_ModeWMV8_A, 0x1b81be80, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeWMV8_PostProc DXVA2_ModeWMV8_A +DEFINE_GUID(DXVA2_ModeWMV8_B, 0x1b81be81, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeWMV8_MoComp DXVA2_ModeWMV8_B +DEFINE_GUID(DXVA2_ModeWMV9_A, 0x1b81be90, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeWMV9_PostProc DXVA2_ModeWMV9_A +DEFINE_GUID(DXVA2_ModeWMV9_B, 0x1b81be91, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeWMV9_MoComp DXVA2_ModeWMV9_B +DEFINE_GUID(DXVA2_ModeWMV9_C, 0x1b81be94, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeWMV9_IDCT DXVA2_ModeWMV9_C +DEFINE_GUID(DXVA2_ModeVC1_A, 0x1b81beA0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeVC1_PostProc DXVA2_ModeVC1_A +DEFINE_GUID(DXVA2_ModeVC1_B, 0x1b81beA1, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeVC1_MoComp DXVA2_ModeVC1_B +DEFINE_GUID(DXVA2_ModeVC1_C, 0x1b81beA2, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeVC1_IDCT DXVA2_ModeVC1_C +DEFINE_GUID(DXVA2_ModeVC1_D, 0x1b81beA3, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +#define DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D +DEFINE_GUID(DXVA_NoEncrypt, 0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); +typedef LONGLONG REFERENCE_TIME; +enum { + DXVA2_PictureParametersBufferType = 0, + DXVA2_MacroBlockControlBufferType = 1, + DXVA2_ResidualDifferenceBufferType = 2, + DXVA2_DeblockingControlBufferType = 3, + DXVA2_InverseQuantizationMatrixBufferType = 4, + DXVA2_SliceControlBufferType = 5, + DXVA2_BitStreamDateBufferType = 6, + DXVA2_MotionVectorBuffer = 7, + DXVA2_FilmGrainBuffer = 8 +}; +enum { + DXVA2_VideoDecoderRenderTarget = 0, + DXVA2_VideoProcessorRenderTarget = 1, + DXVA2_VideoSoftwareRenderTarget = 2 +}; +typedef struct _DXVA2_ExtendedFormat { + __C89_NAMELESS union { + __C89_NAMELESS struct { + UINT SampleFormat : 8; + UINT VideoChromaSubsampling : 4; + UINT NominalRange : 3; + UINT VideoTransferMatrix : 3; + UINT VideoLighting : 4; + UINT VideoPrimaries : 5; + UINT VideoTransferFunction : 5; + } __C89_NAMELESSSTRUCTNAME; + UINT value; + } __C89_NAMELESSUNIONNAME; +} DXVA2_ExtendedFormat; +typedef struct _DXVA2_Frequency { + UINT Numerator; + UINT Denominator; +} DXVA2_Frequency; +typedef struct _DXVA2_ConfigPictureDecode { + GUID guidConfigBitstreamEncryption; + GUID guidConfigMBcontrolEncryption; + GUID guidConfigResidDiffEncryption; + UINT ConfigBitstreamRaw; + UINT ConfigMBcontrolRasterOrder; + UINT ConfigResidDiffHost; + UINT ConfigSpatialResid8; + UINT ConfigResid8Subtraction; + UINT ConfigSpatialHost8or9Clipping; + UINT ConfigSpatialResidInterleaved; + UINT ConfigIntraResidUnsigned; + UINT ConfigResidDiffAccelerator; + UINT ConfigHostInverseScan; + UINT ConfigSpecificIDCT; + UINT Config4GroupedCoefs; + UINT ConfigMinRenderTargetBuffCount; + USHORT ConfigDecoderSpecific; +} DXVA2_ConfigPictureDecode; +typedef struct _DXVA2_VideoDesc { + UINT SampleWidth; + UINT SampleHeight; + DXVA2_ExtendedFormat SampleFormat; + D3DFORMAT Format; + DXVA2_Frequency InputSampleFreq; + DXVA2_Frequency OutputFrameFreq; + UINT UABProtectionLevel; + UINT Reserved; +} DXVA2_VideoDesc; +typedef struct _DXVA2_DecodeBufferDesc { + DWORD CompressedBufferType; + UINT BufferIndex; + UINT DataOffset; + UINT DataSize; + UINT FirstMBaddress; + UINT NumMBsInBuffer; + UINT Width; + UINT Height; + UINT Stride; + UINT ReservedBits; + PVOID pvPVPState; +} DXVA2_DecodeBufferDesc; +typedef struct _DXVA2_DecodeExtensionData { + UINT Function; + PVOID pPrivateInputData; + UINT PrivateInputDataSize; + PVOID pPrivateOutputData; + UINT PrivateOutputDataSize; +} DXVA2_DecodeExtensionData; +typedef struct _DXVA2_DecodeExecuteParams { + UINT NumCompBuffers; + DXVA2_DecodeBufferDesc *pCompressedBuffers; + DXVA2_DecodeExtensionData *pExtensionData; +} DXVA2_DecodeExecuteParams; +typedef struct _DXVA2_VideoProcessorCaps { + UINT DeviceCaps; + D3DPOOL InputPool; + UINT NumForwardRefSamples; + UINT NumBackwardRefSamples; + UINT Reserved; + UINT DeinterlaceTechnology; + UINT ProcAmpControlCaps; + UINT VideoProcessorOperations; + UINT NoiseFilterTechnology; + UINT DetailFilterTechnology; +} DXVA2_VideoProcessorCaps; +typedef struct _DXVA2_Fixed32 { + __C89_NAMELESS union { + __C89_NAMELESS struct { + USHORT Fraction; + SHORT Value; + } __C89_NAMELESSSTRUCTNAME; + LONG ll; + } __C89_NAMELESSUNIONNAME; +} DXVA2_Fixed32; +typedef struct _DXVA2_ValueRange { + DXVA2_Fixed32 MinValue; + DXVA2_Fixed32 MaxValue; + DXVA2_Fixed32 DefaultValue; + DXVA2_Fixed32 StepSize; +} DXVA2_ValueRange; +typedef struct _DXVA2_AYUVSample8 { + UCHAR Cr; + UCHAR Cb; + UCHAR Y; + UCHAR Alpha; +} DXVA2_AYUVSample8; +typedef struct _DXVA2_AYUVSample16 { + USHORT Cr; + USHORT Cb; + USHORT Y; + USHORT Alpha; +} DXVA2_AYUVSample16; +typedef struct _DXVA2_ProcAmpValues { + DXVA2_Fixed32 Brightness; + DXVA2_Fixed32 Contrast; + DXVA2_Fixed32 Hue; + DXVA2_Fixed32 Saturation; +} DXVA2_ProcAmpValues; +typedef struct _DXVA2_FilterValues { + DXVA2_Fixed32 Level; + DXVA2_Fixed32 Threshold; + DXVA2_Fixed32 Radius; +} DXVA2_FilterValues; +typedef struct _DXVA2_VideoProcessBltParams { + REFERENCE_TIME TargetFrame; + RECT TargetRect; + SIZE ConstrictionSize; + UINT StreamingFlags; + DXVA2_AYUVSample16 BackgroundColor; + DXVA2_ExtendedFormat DestFormat; + DXVA2_ProcAmpValues ProcAmpValues; + DXVA2_Fixed32 Alpha; + DXVA2_FilterValues NoiseFilterLuma; + DXVA2_FilterValues NoiseFilterChroma; + DXVA2_FilterValues DetailFilterLuma; + DXVA2_FilterValues DetailFilterChroma; + DWORD DestData; +} DXVA2_VideoProcessBltParams; +typedef struct _DXVA2_VideoSample { + REFERENCE_TIME Start; + REFERENCE_TIME End; + DXVA2_ExtendedFormat SampleFormat; + IDirect3DSurface9 *SrcSurface; + RECT SrcRect; + RECT DstRect; + DXVA2_AYUVSample8 Pal[16]; + DXVA2_Fixed32 PlanarAlpha; + DWORD SampleData; +} DXVA2_VideoSample; +typedef enum __WIDL_dxva2api_generated_name_00000002 { + DXVA2_SurfaceType_DecoderRenderTarget = 0, + DXVA2_SurfaceType_ProcessorRenderTarget = 1, + DXVA2_SurfaceType_D3DRenderTargetTexture = 2 +} DXVA2_SurfaceType; +#ifndef __IDirectXVideoDecoder_FWD_DEFINED__ +#define __IDirectXVideoDecoder_FWD_DEFINED__ +typedef interface IDirectXVideoDecoder IDirectXVideoDecoder; +#ifdef __cplusplus +interface IDirectXVideoDecoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectXVideoProcessor_FWD_DEFINED__ +#define __IDirectXVideoProcessor_FWD_DEFINED__ +typedef interface IDirectXVideoProcessor IDirectXVideoProcessor; +#ifdef __cplusplus +interface IDirectXVideoProcessor; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IDirect3DDeviceManager9 interface + */ +#ifndef __IDirect3DDeviceManager9_INTERFACE_DEFINED__ +#define __IDirect3DDeviceManager9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirect3DDeviceManager9, 0xa0cade0f, 0x06d5, 0x4cf4, 0xa1,0xc7, 0xf3,0xcd,0xd7,0x25,0xaa,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a0cade0f-06d5-4cf4-a1c7-f3cdd725aa75") +IDirect3DDeviceManager9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ResetDevice( + IDirect3DDevice9 *pDevice, + UINT resetToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenDeviceHandle( + HANDLE *phDevice) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseDeviceHandle( + HANDLE hDevice) = 0; + + virtual HRESULT STDMETHODCALLTYPE TestDevice( + HANDLE hDevice) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockDevice( + HANDLE hDevice, + IDirect3DDevice9 **ppDevice, + BOOL fBlock) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnlockDevice( + HANDLE hDevice, + BOOL fSaveState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoService( + HANDLE hDevice, + REFIID riid, + void **ppService) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirect3DDeviceManager9, 0xa0cade0f, 0x06d5, 0x4cf4, 0xa1,0xc7, 0xf3,0xcd,0xd7,0x25,0xaa,0x75) +#endif +#else +typedef struct IDirect3DDeviceManager9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirect3DDeviceManager9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirect3DDeviceManager9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirect3DDeviceManager9 *This); + + /*** IDirect3DDeviceManager9 methods ***/ + HRESULT (STDMETHODCALLTYPE *ResetDevice)( + IDirect3DDeviceManager9 *This, + IDirect3DDevice9 *pDevice, + UINT resetToken); + + HRESULT (STDMETHODCALLTYPE *OpenDeviceHandle)( + IDirect3DDeviceManager9 *This, + HANDLE *phDevice); + + HRESULT (STDMETHODCALLTYPE *CloseDeviceHandle)( + IDirect3DDeviceManager9 *This, + HANDLE hDevice); + + HRESULT (STDMETHODCALLTYPE *TestDevice)( + IDirect3DDeviceManager9 *This, + HANDLE hDevice); + + HRESULT (STDMETHODCALLTYPE *LockDevice)( + IDirect3DDeviceManager9 *This, + HANDLE hDevice, + IDirect3DDevice9 **ppDevice, + BOOL fBlock); + + HRESULT (STDMETHODCALLTYPE *UnlockDevice)( + IDirect3DDeviceManager9 *This, + HANDLE hDevice, + BOOL fSaveState); + + HRESULT (STDMETHODCALLTYPE *GetVideoService)( + IDirect3DDeviceManager9 *This, + HANDLE hDevice, + REFIID riid, + void **ppService); + + END_INTERFACE +} IDirect3DDeviceManager9Vtbl; + +interface IDirect3DDeviceManager9 { + CONST_VTBL IDirect3DDeviceManager9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirect3DDeviceManager9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirect3DDeviceManager9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirect3DDeviceManager9_Release(This) (This)->lpVtbl->Release(This) +/*** IDirect3DDeviceManager9 methods ***/ +#define IDirect3DDeviceManager9_ResetDevice(This,pDevice,resetToken) (This)->lpVtbl->ResetDevice(This,pDevice,resetToken) +#define IDirect3DDeviceManager9_OpenDeviceHandle(This,phDevice) (This)->lpVtbl->OpenDeviceHandle(This,phDevice) +#define IDirect3DDeviceManager9_CloseDeviceHandle(This,hDevice) (This)->lpVtbl->CloseDeviceHandle(This,hDevice) +#define IDirect3DDeviceManager9_TestDevice(This,hDevice) (This)->lpVtbl->TestDevice(This,hDevice) +#define IDirect3DDeviceManager9_LockDevice(This,hDevice,ppDevice,fBlock) (This)->lpVtbl->LockDevice(This,hDevice,ppDevice,fBlock) +#define IDirect3DDeviceManager9_UnlockDevice(This,hDevice,fSaveState) (This)->lpVtbl->UnlockDevice(This,hDevice,fSaveState) +#define IDirect3DDeviceManager9_GetVideoService(This,hDevice,riid,ppService) (This)->lpVtbl->GetVideoService(This,hDevice,riid,ppService) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirect3DDeviceManager9_QueryInterface(IDirect3DDeviceManager9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirect3DDeviceManager9_AddRef(IDirect3DDeviceManager9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirect3DDeviceManager9_Release(IDirect3DDeviceManager9* This) { + return This->lpVtbl->Release(This); +} +/*** IDirect3DDeviceManager9 methods ***/ +static FORCEINLINE HRESULT IDirect3DDeviceManager9_ResetDevice(IDirect3DDeviceManager9* This,IDirect3DDevice9 *pDevice,UINT resetToken) { + return This->lpVtbl->ResetDevice(This,pDevice,resetToken); +} +static FORCEINLINE HRESULT IDirect3DDeviceManager9_OpenDeviceHandle(IDirect3DDeviceManager9* This,HANDLE *phDevice) { + return This->lpVtbl->OpenDeviceHandle(This,phDevice); +} +static FORCEINLINE HRESULT IDirect3DDeviceManager9_CloseDeviceHandle(IDirect3DDeviceManager9* This,HANDLE hDevice) { + return This->lpVtbl->CloseDeviceHandle(This,hDevice); +} +static FORCEINLINE HRESULT IDirect3DDeviceManager9_TestDevice(IDirect3DDeviceManager9* This,HANDLE hDevice) { + return This->lpVtbl->TestDevice(This,hDevice); +} +static FORCEINLINE HRESULT IDirect3DDeviceManager9_LockDevice(IDirect3DDeviceManager9* This,HANDLE hDevice,IDirect3DDevice9 **ppDevice,BOOL fBlock) { + return This->lpVtbl->LockDevice(This,hDevice,ppDevice,fBlock); +} +static FORCEINLINE HRESULT IDirect3DDeviceManager9_UnlockDevice(IDirect3DDeviceManager9* This,HANDLE hDevice,BOOL fSaveState) { + return This->lpVtbl->UnlockDevice(This,hDevice,fSaveState); +} +static FORCEINLINE HRESULT IDirect3DDeviceManager9_GetVideoService(IDirect3DDeviceManager9* This,HANDLE hDevice,REFIID riid,void **ppService) { + return This->lpVtbl->GetVideoService(This,hDevice,riid,ppService); +} +#endif +#endif + +#endif + + +#endif /* __IDirect3DDeviceManager9_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectXVideoAccelerationService interface + */ +#ifndef __IDirectXVideoAccelerationService_INTERFACE_DEFINED__ +#define __IDirectXVideoAccelerationService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectXVideoAccelerationService, 0xfc51a550, 0xd5e7, 0x11d9, 0xaf,0x55, 0x00,0x05,0x4e,0x43,0xff,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fc51a550-d5e7-11d9-af55-00054e43ff02") +IDirectXVideoAccelerationService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateSurface( + UINT width, + UINT height, + UINT backBuffers, + D3DFORMAT format, + D3DPOOL pool, + DWORD usage, + DWORD dxvaType, + IDirect3DSurface9 **ppSurface, + HANDLE *pSharedHandle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectXVideoAccelerationService, 0xfc51a550, 0xd5e7, 0x11d9, 0xaf,0x55, 0x00,0x05,0x4e,0x43,0xff,0x02) +#endif +#else +typedef struct IDirectXVideoAccelerationServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectXVideoAccelerationService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectXVideoAccelerationService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectXVideoAccelerationService *This); + + /*** IDirectXVideoAccelerationService methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDirectXVideoAccelerationService *This, + UINT width, + UINT height, + UINT backBuffers, + D3DFORMAT format, + D3DPOOL pool, + DWORD usage, + DWORD dxvaType, + IDirect3DSurface9 **ppSurface, + HANDLE *pSharedHandle); + + END_INTERFACE +} IDirectXVideoAccelerationServiceVtbl; + +interface IDirectXVideoAccelerationService { + CONST_VTBL IDirectXVideoAccelerationServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectXVideoAccelerationService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectXVideoAccelerationService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectXVideoAccelerationService_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectXVideoAccelerationService methods ***/ +#define IDirectXVideoAccelerationService_CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle) (This)->lpVtbl->CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectXVideoAccelerationService_QueryInterface(IDirectXVideoAccelerationService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectXVideoAccelerationService_AddRef(IDirectXVideoAccelerationService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectXVideoAccelerationService_Release(IDirectXVideoAccelerationService* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectXVideoAccelerationService methods ***/ +static FORCEINLINE HRESULT IDirectXVideoAccelerationService_CreateSurface(IDirectXVideoAccelerationService* This,UINT width,UINT height,UINT backBuffers,D3DFORMAT format,D3DPOOL pool,DWORD usage,DWORD dxvaType,IDirect3DSurface9 **ppSurface,HANDLE *pSharedHandle) { + return This->lpVtbl->CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle); +} +#endif +#endif + +#endif + + +#endif /* __IDirectXVideoAccelerationService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectXVideoDecoderService interface + */ +#ifndef __IDirectXVideoDecoderService_INTERFACE_DEFINED__ +#define __IDirectXVideoDecoderService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectXVideoDecoderService, 0xfc51a551, 0xd5e7, 0x11d9, 0xaf,0x55, 0x00,0x05,0x4e,0x43,0xff,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fc51a551-d5e7-11d9-af55-00054e43ff02") +IDirectXVideoDecoderService : public IDirectXVideoAccelerationService +{ + virtual HRESULT STDMETHODCALLTYPE GetDecoderDeviceGuids( + UINT *count, + GUID **pGuids) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDecoderRenderTargets( + REFGUID guid, + UINT *pCount, + D3DFORMAT **pFormats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDecoderConfigurations( + REFGUID guid, + const DXVA2_VideoDesc *pVideoDesc, + IUnknown *pReserved, + UINT *pCount, + DXVA2_ConfigPictureDecode **ppConfigs) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoDecoder( + REFGUID guid, + const DXVA2_VideoDesc *pVideoDesc, + DXVA2_ConfigPictureDecode *pConfig, + IDirect3DSurface9 **ppDecoderRenderTargets, + UINT NumSurfaces, + IDirectXVideoDecoder **ppDecode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectXVideoDecoderService, 0xfc51a551, 0xd5e7, 0x11d9, 0xaf,0x55, 0x00,0x05,0x4e,0x43,0xff,0x02) +#endif +#else +typedef struct IDirectXVideoDecoderServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectXVideoDecoderService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectXVideoDecoderService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectXVideoDecoderService *This); + + /*** IDirectXVideoAccelerationService methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDirectXVideoDecoderService *This, + UINT width, + UINT height, + UINT backBuffers, + D3DFORMAT format, + D3DPOOL pool, + DWORD usage, + DWORD dxvaType, + IDirect3DSurface9 **ppSurface, + HANDLE *pSharedHandle); + + /*** IDirectXVideoDecoderService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDecoderDeviceGuids)( + IDirectXVideoDecoderService *This, + UINT *count, + GUID **pGuids); + + HRESULT (STDMETHODCALLTYPE *GetDecoderRenderTargets)( + IDirectXVideoDecoderService *This, + REFGUID guid, + UINT *pCount, + D3DFORMAT **pFormats); + + HRESULT (STDMETHODCALLTYPE *GetDecoderConfigurations)( + IDirectXVideoDecoderService *This, + REFGUID guid, + const DXVA2_VideoDesc *pVideoDesc, + IUnknown *pReserved, + UINT *pCount, + DXVA2_ConfigPictureDecode **ppConfigs); + + HRESULT (STDMETHODCALLTYPE *CreateVideoDecoder)( + IDirectXVideoDecoderService *This, + REFGUID guid, + const DXVA2_VideoDesc *pVideoDesc, + DXVA2_ConfigPictureDecode *pConfig, + IDirect3DSurface9 **ppDecoderRenderTargets, + UINT NumSurfaces, + IDirectXVideoDecoder **ppDecode); + + END_INTERFACE +} IDirectXVideoDecoderServiceVtbl; + +interface IDirectXVideoDecoderService { + CONST_VTBL IDirectXVideoDecoderServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectXVideoDecoderService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectXVideoDecoderService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectXVideoDecoderService_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectXVideoAccelerationService methods ***/ +#define IDirectXVideoDecoderService_CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle) (This)->lpVtbl->CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle) +/*** IDirectXVideoDecoderService methods ***/ +#define IDirectXVideoDecoderService_GetDecoderDeviceGuids(This,count,pGuids) (This)->lpVtbl->GetDecoderDeviceGuids(This,count,pGuids) +#define IDirectXVideoDecoderService_GetDecoderRenderTargets(This,guid,pCount,pFormats) (This)->lpVtbl->GetDecoderRenderTargets(This,guid,pCount,pFormats) +#define IDirectXVideoDecoderService_GetDecoderConfigurations(This,guid,pVideoDesc,pReserved,pCount,ppConfigs) (This)->lpVtbl->GetDecoderConfigurations(This,guid,pVideoDesc,pReserved,pCount,ppConfigs) +#define IDirectXVideoDecoderService_CreateVideoDecoder(This,guid,pVideoDesc,pConfig,ppDecoderRenderTargets,NumSurfaces,ppDecode) (This)->lpVtbl->CreateVideoDecoder(This,guid,pVideoDesc,pConfig,ppDecoderRenderTargets,NumSurfaces,ppDecode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectXVideoDecoderService_QueryInterface(IDirectXVideoDecoderService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectXVideoDecoderService_AddRef(IDirectXVideoDecoderService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectXVideoDecoderService_Release(IDirectXVideoDecoderService* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectXVideoAccelerationService methods ***/ +static FORCEINLINE HRESULT IDirectXVideoDecoderService_CreateSurface(IDirectXVideoDecoderService* This,UINT width,UINT height,UINT backBuffers,D3DFORMAT format,D3DPOOL pool,DWORD usage,DWORD dxvaType,IDirect3DSurface9 **ppSurface,HANDLE *pSharedHandle) { + return This->lpVtbl->CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle); +} +/*** IDirectXVideoDecoderService methods ***/ +static FORCEINLINE HRESULT IDirectXVideoDecoderService_GetDecoderDeviceGuids(IDirectXVideoDecoderService* This,UINT *count,GUID **pGuids) { + return This->lpVtbl->GetDecoderDeviceGuids(This,count,pGuids); +} +static FORCEINLINE HRESULT IDirectXVideoDecoderService_GetDecoderRenderTargets(IDirectXVideoDecoderService* This,REFGUID guid,UINT *pCount,D3DFORMAT **pFormats) { + return This->lpVtbl->GetDecoderRenderTargets(This,guid,pCount,pFormats); +} +static FORCEINLINE HRESULT IDirectXVideoDecoderService_GetDecoderConfigurations(IDirectXVideoDecoderService* This,REFGUID guid,const DXVA2_VideoDesc *pVideoDesc,IUnknown *pReserved,UINT *pCount,DXVA2_ConfigPictureDecode **ppConfigs) { + return This->lpVtbl->GetDecoderConfigurations(This,guid,pVideoDesc,pReserved,pCount,ppConfigs); +} +static FORCEINLINE HRESULT IDirectXVideoDecoderService_CreateVideoDecoder(IDirectXVideoDecoderService* This,REFGUID guid,const DXVA2_VideoDesc *pVideoDesc,DXVA2_ConfigPictureDecode *pConfig,IDirect3DSurface9 **ppDecoderRenderTargets,UINT NumSurfaces,IDirectXVideoDecoder **ppDecode) { + return This->lpVtbl->CreateVideoDecoder(This,guid,pVideoDesc,pConfig,ppDecoderRenderTargets,NumSurfaces,ppDecode); +} +#endif +#endif + +#endif + + +#endif /* __IDirectXVideoDecoderService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectXVideoDecoder interface + */ +#ifndef __IDirectXVideoDecoder_INTERFACE_DEFINED__ +#define __IDirectXVideoDecoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectXVideoDecoder, 0xf2b0810a, 0xfd00, 0x43c9, 0x91,0x8c, 0xdf,0x94,0xe2,0xd8,0xef,0x7d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f2b0810a-fd00-43c9-918c-df94e2d8ef7d") +IDirectXVideoDecoder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderService( + IDirectXVideoDecoderService **ppService) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCreationParameters( + GUID *pDeviceGuid, + DXVA2_VideoDesc *pVideoDesc, + DXVA2_ConfigPictureDecode *pConfig, + IDirect3DSurface9 ***pDecoderRenderTargets, + UINT *pNumSurfaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + UINT BufferType, + void **ppBuffer, + UINT *pBufferSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseBuffer( + UINT BufferType) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginFrame( + IDirect3DSurface9 *pRenderTarget, + void *pvPVPData) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndFrame( + HANDLE *pHandleComplete) = 0; + + virtual HRESULT STDMETHODCALLTYPE Execute( + const DXVA2_DecodeExecuteParams *pExecuteParams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectXVideoDecoder, 0xf2b0810a, 0xfd00, 0x43c9, 0x91,0x8c, 0xdf,0x94,0xe2,0xd8,0xef,0x7d) +#endif +#else +typedef struct IDirectXVideoDecoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectXVideoDecoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectXVideoDecoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectXVideoDecoder *This); + + /*** IDirectXVideoDecoder methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVideoDecoderService)( + IDirectXVideoDecoder *This, + IDirectXVideoDecoderService **ppService); + + HRESULT (STDMETHODCALLTYPE *GetCreationParameters)( + IDirectXVideoDecoder *This, + GUID *pDeviceGuid, + DXVA2_VideoDesc *pVideoDesc, + DXVA2_ConfigPictureDecode *pConfig, + IDirect3DSurface9 ***pDecoderRenderTargets, + UINT *pNumSurfaces); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IDirectXVideoDecoder *This, + UINT BufferType, + void **ppBuffer, + UINT *pBufferSize); + + HRESULT (STDMETHODCALLTYPE *ReleaseBuffer)( + IDirectXVideoDecoder *This, + UINT BufferType); + + HRESULT (STDMETHODCALLTYPE *BeginFrame)( + IDirectXVideoDecoder *This, + IDirect3DSurface9 *pRenderTarget, + void *pvPVPData); + + HRESULT (STDMETHODCALLTYPE *EndFrame)( + IDirectXVideoDecoder *This, + HANDLE *pHandleComplete); + + HRESULT (STDMETHODCALLTYPE *Execute)( + IDirectXVideoDecoder *This, + const DXVA2_DecodeExecuteParams *pExecuteParams); + + END_INTERFACE +} IDirectXVideoDecoderVtbl; + +interface IDirectXVideoDecoder { + CONST_VTBL IDirectXVideoDecoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectXVideoDecoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectXVideoDecoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectXVideoDecoder_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectXVideoDecoder methods ***/ +#define IDirectXVideoDecoder_GetVideoDecoderService(This,ppService) (This)->lpVtbl->GetVideoDecoderService(This,ppService) +#define IDirectXVideoDecoder_GetCreationParameters(This,pDeviceGuid,pVideoDesc,pConfig,pDecoderRenderTargets,pNumSurfaces) (This)->lpVtbl->GetCreationParameters(This,pDeviceGuid,pVideoDesc,pConfig,pDecoderRenderTargets,pNumSurfaces) +#define IDirectXVideoDecoder_GetBuffer(This,BufferType,ppBuffer,pBufferSize) (This)->lpVtbl->GetBuffer(This,BufferType,ppBuffer,pBufferSize) +#define IDirectXVideoDecoder_ReleaseBuffer(This,BufferType) (This)->lpVtbl->ReleaseBuffer(This,BufferType) +#define IDirectXVideoDecoder_BeginFrame(This,pRenderTarget,pvPVPData) (This)->lpVtbl->BeginFrame(This,pRenderTarget,pvPVPData) +#define IDirectXVideoDecoder_EndFrame(This,pHandleComplete) (This)->lpVtbl->EndFrame(This,pHandleComplete) +#define IDirectXVideoDecoder_Execute(This,pExecuteParams) (This)->lpVtbl->Execute(This,pExecuteParams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectXVideoDecoder_QueryInterface(IDirectXVideoDecoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectXVideoDecoder_AddRef(IDirectXVideoDecoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectXVideoDecoder_Release(IDirectXVideoDecoder* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectXVideoDecoder methods ***/ +static FORCEINLINE HRESULT IDirectXVideoDecoder_GetVideoDecoderService(IDirectXVideoDecoder* This,IDirectXVideoDecoderService **ppService) { + return This->lpVtbl->GetVideoDecoderService(This,ppService); +} +static FORCEINLINE HRESULT IDirectXVideoDecoder_GetCreationParameters(IDirectXVideoDecoder* This,GUID *pDeviceGuid,DXVA2_VideoDesc *pVideoDesc,DXVA2_ConfigPictureDecode *pConfig,IDirect3DSurface9 ***pDecoderRenderTargets,UINT *pNumSurfaces) { + return This->lpVtbl->GetCreationParameters(This,pDeviceGuid,pVideoDesc,pConfig,pDecoderRenderTargets,pNumSurfaces); +} +static FORCEINLINE HRESULT IDirectXVideoDecoder_GetBuffer(IDirectXVideoDecoder* This,UINT BufferType,void **ppBuffer,UINT *pBufferSize) { + return This->lpVtbl->GetBuffer(This,BufferType,ppBuffer,pBufferSize); +} +static FORCEINLINE HRESULT IDirectXVideoDecoder_ReleaseBuffer(IDirectXVideoDecoder* This,UINT BufferType) { + return This->lpVtbl->ReleaseBuffer(This,BufferType); +} +static FORCEINLINE HRESULT IDirectXVideoDecoder_BeginFrame(IDirectXVideoDecoder* This,IDirect3DSurface9 *pRenderTarget,void *pvPVPData) { + return This->lpVtbl->BeginFrame(This,pRenderTarget,pvPVPData); +} +static FORCEINLINE HRESULT IDirectXVideoDecoder_EndFrame(IDirectXVideoDecoder* This,HANDLE *pHandleComplete) { + return This->lpVtbl->EndFrame(This,pHandleComplete); +} +static FORCEINLINE HRESULT IDirectXVideoDecoder_Execute(IDirectXVideoDecoder* This,const DXVA2_DecodeExecuteParams *pExecuteParams) { + return This->lpVtbl->Execute(This,pExecuteParams); +} +#endif +#endif + +#endif + + +#endif /* __IDirectXVideoDecoder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectXVideoProcessorService interface + */ +#ifndef __IDirectXVideoProcessorService_INTERFACE_DEFINED__ +#define __IDirectXVideoProcessorService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectXVideoProcessorService, 0xfc51a552, 0xd5e7, 0x11d9, 0xaf,0x55, 0x00,0x05,0x4e,0x43,0xff,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fc51a552-d5e7-11d9-af55-00054e43ff02") +IDirectXVideoProcessorService : public IDirectXVideoAccelerationService +{ + virtual HRESULT STDMETHODCALLTYPE RegisterVideoProcessorSoftwareDevice( + void *pCallbacks) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorDeviceGuids( + const DXVA2_VideoDesc *pVideoDesc, + UINT *pCount, + GUID **pGuids) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorRenderTargets( + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + UINT *pCount, + D3DFORMAT **pFormats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorSubStreamFormats( + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + UINT *pCount, + D3DFORMAT **pFormats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps( + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + DXVA2_VideoProcessorCaps *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAmpRange( + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + UINT ProcAmpCap, + DXVA2_ValueRange *pRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilterPropertyRange( + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT renderTargetFormat, + UINT FilterSetting, + DXVA2_ValueRange *pRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessor( + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + UINT MaxNumSubStreams, + IDirectXVideoProcessor **ppVidProcess) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectXVideoProcessorService, 0xfc51a552, 0xd5e7, 0x11d9, 0xaf,0x55, 0x00,0x05,0x4e,0x43,0xff,0x02) +#endif +#else +typedef struct IDirectXVideoProcessorServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectXVideoProcessorService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectXVideoProcessorService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectXVideoProcessorService *This); + + /*** IDirectXVideoAccelerationService methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDirectXVideoProcessorService *This, + UINT width, + UINT height, + UINT backBuffers, + D3DFORMAT format, + D3DPOOL pool, + DWORD usage, + DWORD dxvaType, + IDirect3DSurface9 **ppSurface, + HANDLE *pSharedHandle); + + /*** IDirectXVideoProcessorService methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterVideoProcessorSoftwareDevice)( + IDirectXVideoProcessorService *This, + void *pCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorDeviceGuids)( + IDirectXVideoProcessorService *This, + const DXVA2_VideoDesc *pVideoDesc, + UINT *pCount, + GUID **pGuids); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorRenderTargets)( + IDirectXVideoProcessorService *This, + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + UINT *pCount, + D3DFORMAT **pFormats); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorSubStreamFormats)( + IDirectXVideoProcessorService *This, + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + UINT *pCount, + D3DFORMAT **pFormats); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)( + IDirectXVideoProcessorService *This, + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + DXVA2_VideoProcessorCaps *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetProcAmpRange)( + IDirectXVideoProcessorService *This, + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + UINT ProcAmpCap, + DXVA2_ValueRange *pRange); + + HRESULT (STDMETHODCALLTYPE *GetFilterPropertyRange)( + IDirectXVideoProcessorService *This, + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT renderTargetFormat, + UINT FilterSetting, + DXVA2_ValueRange *pRange); + + HRESULT (STDMETHODCALLTYPE *CreateVideoProcessor)( + IDirectXVideoProcessorService *This, + REFGUID VideoProcDeviceGuid, + const DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT RenderTargetFormat, + UINT MaxNumSubStreams, + IDirectXVideoProcessor **ppVidProcess); + + END_INTERFACE +} IDirectXVideoProcessorServiceVtbl; + +interface IDirectXVideoProcessorService { + CONST_VTBL IDirectXVideoProcessorServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectXVideoProcessorService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectXVideoProcessorService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectXVideoProcessorService_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectXVideoAccelerationService methods ***/ +#define IDirectXVideoProcessorService_CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle) (This)->lpVtbl->CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle) +/*** IDirectXVideoProcessorService methods ***/ +#define IDirectXVideoProcessorService_RegisterVideoProcessorSoftwareDevice(This,pCallbacks) (This)->lpVtbl->RegisterVideoProcessorSoftwareDevice(This,pCallbacks) +#define IDirectXVideoProcessorService_GetVideoProcessorDeviceGuids(This,pVideoDesc,pCount,pGuids) (This)->lpVtbl->GetVideoProcessorDeviceGuids(This,pVideoDesc,pCount,pGuids) +#define IDirectXVideoProcessorService_GetVideoProcessorRenderTargets(This,VideoProcDeviceGuid,pVideoDesc,pCount,pFormats) (This)->lpVtbl->GetVideoProcessorRenderTargets(This,VideoProcDeviceGuid,pVideoDesc,pCount,pFormats) +#define IDirectXVideoProcessorService_GetVideoProcessorSubStreamFormats(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,pCount,pFormats) (This)->lpVtbl->GetVideoProcessorSubStreamFormats(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,pCount,pFormats) +#define IDirectXVideoProcessorService_GetVideoProcessorCaps(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,pCaps) (This)->lpVtbl->GetVideoProcessorCaps(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,pCaps) +#define IDirectXVideoProcessorService_GetProcAmpRange(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,ProcAmpCap,pRange) (This)->lpVtbl->GetProcAmpRange(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,ProcAmpCap,pRange) +#define IDirectXVideoProcessorService_GetFilterPropertyRange(This,VideoProcDeviceGuid,pVideoDesc,renderTargetFormat,FilterSetting,pRange) (This)->lpVtbl->GetFilterPropertyRange(This,VideoProcDeviceGuid,pVideoDesc,renderTargetFormat,FilterSetting,pRange) +#define IDirectXVideoProcessorService_CreateVideoProcessor(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,MaxNumSubStreams,ppVidProcess) (This)->lpVtbl->CreateVideoProcessor(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,MaxNumSubStreams,ppVidProcess) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectXVideoProcessorService_QueryInterface(IDirectXVideoProcessorService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectXVideoProcessorService_AddRef(IDirectXVideoProcessorService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectXVideoProcessorService_Release(IDirectXVideoProcessorService* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectXVideoAccelerationService methods ***/ +static FORCEINLINE HRESULT IDirectXVideoProcessorService_CreateSurface(IDirectXVideoProcessorService* This,UINT width,UINT height,UINT backBuffers,D3DFORMAT format,D3DPOOL pool,DWORD usage,DWORD dxvaType,IDirect3DSurface9 **ppSurface,HANDLE *pSharedHandle) { + return This->lpVtbl->CreateSurface(This,width,height,backBuffers,format,pool,usage,dxvaType,ppSurface,pSharedHandle); +} +/*** IDirectXVideoProcessorService methods ***/ +static FORCEINLINE HRESULT IDirectXVideoProcessorService_RegisterVideoProcessorSoftwareDevice(IDirectXVideoProcessorService* This,void *pCallbacks) { + return This->lpVtbl->RegisterVideoProcessorSoftwareDevice(This,pCallbacks); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_GetVideoProcessorDeviceGuids(IDirectXVideoProcessorService* This,const DXVA2_VideoDesc *pVideoDesc,UINT *pCount,GUID **pGuids) { + return This->lpVtbl->GetVideoProcessorDeviceGuids(This,pVideoDesc,pCount,pGuids); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_GetVideoProcessorRenderTargets(IDirectXVideoProcessorService* This,REFGUID VideoProcDeviceGuid,const DXVA2_VideoDesc *pVideoDesc,UINT *pCount,D3DFORMAT **pFormats) { + return This->lpVtbl->GetVideoProcessorRenderTargets(This,VideoProcDeviceGuid,pVideoDesc,pCount,pFormats); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_GetVideoProcessorSubStreamFormats(IDirectXVideoProcessorService* This,REFGUID VideoProcDeviceGuid,const DXVA2_VideoDesc *pVideoDesc,D3DFORMAT RenderTargetFormat,UINT *pCount,D3DFORMAT **pFormats) { + return This->lpVtbl->GetVideoProcessorSubStreamFormats(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,pCount,pFormats); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_GetVideoProcessorCaps(IDirectXVideoProcessorService* This,REFGUID VideoProcDeviceGuid,const DXVA2_VideoDesc *pVideoDesc,D3DFORMAT RenderTargetFormat,DXVA2_VideoProcessorCaps *pCaps) { + return This->lpVtbl->GetVideoProcessorCaps(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,pCaps); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_GetProcAmpRange(IDirectXVideoProcessorService* This,REFGUID VideoProcDeviceGuid,const DXVA2_VideoDesc *pVideoDesc,D3DFORMAT RenderTargetFormat,UINT ProcAmpCap,DXVA2_ValueRange *pRange) { + return This->lpVtbl->GetProcAmpRange(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,ProcAmpCap,pRange); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_GetFilterPropertyRange(IDirectXVideoProcessorService* This,REFGUID VideoProcDeviceGuid,const DXVA2_VideoDesc *pVideoDesc,D3DFORMAT renderTargetFormat,UINT FilterSetting,DXVA2_ValueRange *pRange) { + return This->lpVtbl->GetFilterPropertyRange(This,VideoProcDeviceGuid,pVideoDesc,renderTargetFormat,FilterSetting,pRange); +} +static FORCEINLINE HRESULT IDirectXVideoProcessorService_CreateVideoProcessor(IDirectXVideoProcessorService* This,REFGUID VideoProcDeviceGuid,const DXVA2_VideoDesc *pVideoDesc,D3DFORMAT RenderTargetFormat,UINT MaxNumSubStreams,IDirectXVideoProcessor **ppVidProcess) { + return This->lpVtbl->CreateVideoProcessor(This,VideoProcDeviceGuid,pVideoDesc,RenderTargetFormat,MaxNumSubStreams,ppVidProcess); +} +#endif +#endif + +#endif + + +#endif /* __IDirectXVideoProcessorService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectXVideoProcessor interface + */ +#ifndef __IDirectXVideoProcessor_INTERFACE_DEFINED__ +#define __IDirectXVideoProcessor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectXVideoProcessor, 0x8c3a39f0, 0x916e, 0x4690, 0x80,0x4f, 0x4c,0x80,0x01,0x35,0x5d,0x25); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8c3a39f0-916e-4690-804f-4c8001355d25") +IDirectXVideoProcessor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorService( + IDirectXVideoProcessorService **ppService) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCreationParameters( + GUID *pDeviceGuid, + DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT *pRenderTargetFormat, + UINT *pMaxNumSubStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps( + DXVA2_VideoProcessorCaps *pCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAmpRange( + UINT ProcAmpCap, + DXVA2_ValueRange *pRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilterPropertyRange( + UINT FilterSetting, + DXVA2_ValueRange *pRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE VideoProcessBlt( + IDirect3DSurface9 *pRenderTarget, + const DXVA2_VideoProcessBltParams *pBltParams, + const DXVA2_VideoSample *pSamples, + UINT NumSamples, + HANDLE *pHandleCompleteIDirect3DDeviceManager9) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectXVideoProcessor, 0x8c3a39f0, 0x916e, 0x4690, 0x80,0x4f, 0x4c,0x80,0x01,0x35,0x5d,0x25) +#endif +#else +typedef struct IDirectXVideoProcessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectXVideoProcessor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectXVideoProcessor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectXVideoProcessor *This); + + /*** IDirectXVideoProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorService)( + IDirectXVideoProcessor *This, + IDirectXVideoProcessorService **ppService); + + HRESULT (STDMETHODCALLTYPE *GetCreationParameters)( + IDirectXVideoProcessor *This, + GUID *pDeviceGuid, + DXVA2_VideoDesc *pVideoDesc, + D3DFORMAT *pRenderTargetFormat, + UINT *pMaxNumSubStreams); + + HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)( + IDirectXVideoProcessor *This, + DXVA2_VideoProcessorCaps *pCaps); + + HRESULT (STDMETHODCALLTYPE *GetProcAmpRange)( + IDirectXVideoProcessor *This, + UINT ProcAmpCap, + DXVA2_ValueRange *pRange); + + HRESULT (STDMETHODCALLTYPE *GetFilterPropertyRange)( + IDirectXVideoProcessor *This, + UINT FilterSetting, + DXVA2_ValueRange *pRange); + + HRESULT (STDMETHODCALLTYPE *VideoProcessBlt)( + IDirectXVideoProcessor *This, + IDirect3DSurface9 *pRenderTarget, + const DXVA2_VideoProcessBltParams *pBltParams, + const DXVA2_VideoSample *pSamples, + UINT NumSamples, + HANDLE *pHandleCompleteIDirect3DDeviceManager9); + + END_INTERFACE +} IDirectXVideoProcessorVtbl; + +interface IDirectXVideoProcessor { + CONST_VTBL IDirectXVideoProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectXVideoProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectXVideoProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectXVideoProcessor_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectXVideoProcessor methods ***/ +#define IDirectXVideoProcessor_GetVideoProcessorService(This,ppService) (This)->lpVtbl->GetVideoProcessorService(This,ppService) +#define IDirectXVideoProcessor_GetCreationParameters(This,pDeviceGuid,pVideoDesc,pRenderTargetFormat,pMaxNumSubStreams) (This)->lpVtbl->GetCreationParameters(This,pDeviceGuid,pVideoDesc,pRenderTargetFormat,pMaxNumSubStreams) +#define IDirectXVideoProcessor_GetVideoProcessorCaps(This,pCaps) (This)->lpVtbl->GetVideoProcessorCaps(This,pCaps) +#define IDirectXVideoProcessor_GetProcAmpRange(This,ProcAmpCap,pRange) (This)->lpVtbl->GetProcAmpRange(This,ProcAmpCap,pRange) +#define IDirectXVideoProcessor_GetFilterPropertyRange(This,FilterSetting,pRange) (This)->lpVtbl->GetFilterPropertyRange(This,FilterSetting,pRange) +#define IDirectXVideoProcessor_VideoProcessBlt(This,pRenderTarget,pBltParams,pSamples,NumSamples,pHandleCompleteIDirect3DDeviceManager9) (This)->lpVtbl->VideoProcessBlt(This,pRenderTarget,pBltParams,pSamples,NumSamples,pHandleCompleteIDirect3DDeviceManager9) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectXVideoProcessor_QueryInterface(IDirectXVideoProcessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectXVideoProcessor_AddRef(IDirectXVideoProcessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectXVideoProcessor_Release(IDirectXVideoProcessor* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectXVideoProcessor methods ***/ +static FORCEINLINE HRESULT IDirectXVideoProcessor_GetVideoProcessorService(IDirectXVideoProcessor* This,IDirectXVideoProcessorService **ppService) { + return This->lpVtbl->GetVideoProcessorService(This,ppService); +} +static FORCEINLINE HRESULT IDirectXVideoProcessor_GetCreationParameters(IDirectXVideoProcessor* This,GUID *pDeviceGuid,DXVA2_VideoDesc *pVideoDesc,D3DFORMAT *pRenderTargetFormat,UINT *pMaxNumSubStreams) { + return This->lpVtbl->GetCreationParameters(This,pDeviceGuid,pVideoDesc,pRenderTargetFormat,pMaxNumSubStreams); +} +static FORCEINLINE HRESULT IDirectXVideoProcessor_GetVideoProcessorCaps(IDirectXVideoProcessor* This,DXVA2_VideoProcessorCaps *pCaps) { + return This->lpVtbl->GetVideoProcessorCaps(This,pCaps); +} +static FORCEINLINE HRESULT IDirectXVideoProcessor_GetProcAmpRange(IDirectXVideoProcessor* This,UINT ProcAmpCap,DXVA2_ValueRange *pRange) { + return This->lpVtbl->GetProcAmpRange(This,ProcAmpCap,pRange); +} +static FORCEINLINE HRESULT IDirectXVideoProcessor_GetFilterPropertyRange(IDirectXVideoProcessor* This,UINT FilterSetting,DXVA2_ValueRange *pRange) { + return This->lpVtbl->GetFilterPropertyRange(This,FilterSetting,pRange); +} +static FORCEINLINE HRESULT IDirectXVideoProcessor_VideoProcessBlt(IDirectXVideoProcessor* This,IDirect3DSurface9 *pRenderTarget,const DXVA2_VideoProcessBltParams *pBltParams,const DXVA2_VideoSample *pSamples,UINT NumSamples,HANDLE *pHandleCompleteIDirect3DDeviceManager9) { + return This->lpVtbl->VideoProcessBlt(This,pRenderTarget,pBltParams,pSamples,NumSamples,pHandleCompleteIDirect3DDeviceManager9); +} +#endif +#endif + +#endif + + +#endif /* __IDirectXVideoProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectXVideoMemoryConfiguration interface + */ +#ifndef __IDirectXVideoMemoryConfiguration_INTERFACE_DEFINED__ +#define __IDirectXVideoMemoryConfiguration_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectXVideoMemoryConfiguration, 0xb7f916dd, 0xdb3b, 0x49c1, 0x84,0xd7, 0xe4,0x5e,0xf9,0x9e,0xc7,0x26); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b7f916dd-db3b-49c1-84d7-e45ef99ec726") +IDirectXVideoMemoryConfiguration : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAvailableSurfaceTypeByIndex( + DWORD wTypeIndex, + DXVA2_SurfaceType *pdwType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSurfaceType( + DXVA2_SurfaceType dwType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectXVideoMemoryConfiguration, 0xb7f916dd, 0xdb3b, 0x49c1, 0x84,0xd7, 0xe4,0x5e,0xf9,0x9e,0xc7,0x26) +#endif +#else +typedef struct IDirectXVideoMemoryConfigurationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectXVideoMemoryConfiguration *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectXVideoMemoryConfiguration *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectXVideoMemoryConfiguration *This); + + /*** IDirectXVideoMemoryConfiguration methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAvailableSurfaceTypeByIndex)( + IDirectXVideoMemoryConfiguration *This, + DWORD wTypeIndex, + DXVA2_SurfaceType *pdwType); + + HRESULT (STDMETHODCALLTYPE *SetSurfaceType)( + IDirectXVideoMemoryConfiguration *This, + DXVA2_SurfaceType dwType); + + END_INTERFACE +} IDirectXVideoMemoryConfigurationVtbl; + +interface IDirectXVideoMemoryConfiguration { + CONST_VTBL IDirectXVideoMemoryConfigurationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectXVideoMemoryConfiguration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectXVideoMemoryConfiguration_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectXVideoMemoryConfiguration_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectXVideoMemoryConfiguration methods ***/ +#define IDirectXVideoMemoryConfiguration_GetAvailableSurfaceTypeByIndex(This,wTypeIndex,pdwType) (This)->lpVtbl->GetAvailableSurfaceTypeByIndex(This,wTypeIndex,pdwType) +#define IDirectXVideoMemoryConfiguration_SetSurfaceType(This,dwType) (This)->lpVtbl->SetSurfaceType(This,dwType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectXVideoMemoryConfiguration_QueryInterface(IDirectXVideoMemoryConfiguration* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectXVideoMemoryConfiguration_AddRef(IDirectXVideoMemoryConfiguration* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectXVideoMemoryConfiguration_Release(IDirectXVideoMemoryConfiguration* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectXVideoMemoryConfiguration methods ***/ +static FORCEINLINE HRESULT IDirectXVideoMemoryConfiguration_GetAvailableSurfaceTypeByIndex(IDirectXVideoMemoryConfiguration* This,DWORD wTypeIndex,DXVA2_SurfaceType *pdwType) { + return This->lpVtbl->GetAvailableSurfaceTypeByIndex(This,wTypeIndex,pdwType); +} +static FORCEINLINE HRESULT IDirectXVideoMemoryConfiguration_SetSurfaceType(IDirectXVideoMemoryConfiguration* This,DXVA2_SurfaceType dwType) { + return This->lpVtbl->SetSurfaceType(This,dwType); +} +#endif +#endif + +#endif + + +#endif /* __IDirectXVideoMemoryConfiguration_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxva2api_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxva2api.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxva2api.idl new file mode 100644 index 0000000..8739b82 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dxva2api.idl @@ -0,0 +1,552 @@ +/* + * Copyright 2014 Michael Müller for Pipelight + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +cpp_quote("#if 0") +typedef DWORD IDirect3DDevice9; +typedef DWORD IDirect3DSurface9; + +typedef DWORD D3DFORMAT; +typedef DWORD D3DPOOL; +cpp_quote("#endif") + +/* MPEG2 */ +cpp_quote("DEFINE_GUID(DXVA2_ModeMPEG2_MoComp, 0xe6a9f44b, 0x61b0,0x4563, 0x9e,0xa4,0x63,0xd2,0xa3,0xc6,0xfe,0x66);") +cpp_quote("#define DXVA2_ModeMPEG2_MOCOMP DXVA2_ModeMPEG2_MoComp") + +cpp_quote("DEFINE_GUID(DXVA2_ModeMPEG2_IDCT, 0xbf22ad00, 0x03ea,0x4690, 0x80,0x77,0x47,0x33,0x46,0x20,0x9b,0x7e);") + +cpp_quote("DEFINE_GUID(DXVA2_ModeMPEG2_VLD, 0xee27417f, 0x5e28,0x4e65, 0xbe,0xea,0x1d,0x26,0xb5,0x08,0xad,0xc9);") + +/* H264 */ +cpp_quote("DEFINE_GUID(DXVA2_ModeH264_A, 0x1b81be64, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeH264_MoComp_NoFGT DXVA2_ModeH264_A") + +cpp_quote("DEFINE_GUID(DXVA2_ModeH264_B, 0x1b81be65, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeH264_MoComp_FGT DXVA2_ModeH264_B") + +cpp_quote("DEFINE_GUID(DXVA2_ModeH264_C, 0x1b81be66, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeH264_IDCT_NoFGT DXVA2_ModeH264_C") + +cpp_quote("DEFINE_GUID(DXVA2_ModeH264_D, 0x1b81be67, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeH264_IDCT_FGT DXVA2_ModeH264_D") + +cpp_quote("DEFINE_GUID(DXVA2_ModeH264_E, 0x1b81be68, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeH264_VLD_NoFGT DXVA2_ModeH264_E") + +cpp_quote("DEFINE_GUID(DXVA2_ModeH264_F, 0x1b81be69, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeH264_VLD_FGT DXVA2_ModeH264_F") + +/* WMV8 */ +cpp_quote("DEFINE_GUID(DXVA2_ModeWMV8_A, 0x1b81be80, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeWMV8_PostProc DXVA2_ModeWMV8_A") + +cpp_quote("DEFINE_GUID(DXVA2_ModeWMV8_B, 0x1b81be81, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeWMV8_MoComp DXVA2_ModeWMV8_B") + +/* WMV9 */ +cpp_quote("DEFINE_GUID(DXVA2_ModeWMV9_A, 0x1b81be90, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeWMV9_PostProc DXVA2_ModeWMV9_A") + +cpp_quote("DEFINE_GUID(DXVA2_ModeWMV9_B, 0x1b81be91, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeWMV9_MoComp DXVA2_ModeWMV9_B") + +cpp_quote("DEFINE_GUID(DXVA2_ModeWMV9_C, 0x1b81be94, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeWMV9_IDCT DXVA2_ModeWMV9_C") + +/* VC1 */ +cpp_quote("DEFINE_GUID(DXVA2_ModeVC1_A, 0x1b81beA0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeVC1_PostProc DXVA2_ModeVC1_A") + +cpp_quote("DEFINE_GUID(DXVA2_ModeVC1_B, 0x1b81beA1, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeVC1_MoComp DXVA2_ModeVC1_B") + +cpp_quote("DEFINE_GUID(DXVA2_ModeVC1_C, 0x1b81beA2, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeVC1_IDCT DXVA2_ModeVC1_C") + +cpp_quote("DEFINE_GUID(DXVA2_ModeVC1_D, 0x1b81beA3, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") +cpp_quote("#define DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D") + +/* Encryption */ +cpp_quote("DEFINE_GUID(DXVA_NoEncrypt, 0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);") + +typedef LONGLONG REFERENCE_TIME; + +enum +{ + DXVA2_PictureParametersBufferType, + DXVA2_MacroBlockControlBufferType, + DXVA2_ResidualDifferenceBufferType, + DXVA2_DeblockingControlBufferType, + DXVA2_InverseQuantizationMatrixBufferType, + DXVA2_SliceControlBufferType, + DXVA2_BitStreamDateBufferType, + DXVA2_MotionVectorBuffer, + DXVA2_FilmGrainBuffer +}; + +enum +{ + DXVA2_VideoDecoderRenderTarget, + DXVA2_VideoProcessorRenderTarget, + DXVA2_VideoSoftwareRenderTarget +}; + +typedef struct _DXVA2_ExtendedFormat +{ + union + { + struct + { + UINT SampleFormat :8; + UINT VideoChromaSubsampling :4; + UINT NominalRange :3; + UINT VideoTransferMatrix :3; + UINT VideoLighting :4; + UINT VideoPrimaries :5; + UINT VideoTransferFunction :5; + }; + UINT value; + }; +} DXVA2_ExtendedFormat; + +typedef struct _DXVA2_Frequency +{ + UINT Numerator; + UINT Denominator; +} DXVA2_Frequency; + +typedef struct _DXVA2_ConfigPictureDecode +{ + GUID guidConfigBitstreamEncryption; + GUID guidConfigMBcontrolEncryption; + GUID guidConfigResidDiffEncryption; + UINT ConfigBitstreamRaw; + UINT ConfigMBcontrolRasterOrder; + UINT ConfigResidDiffHost; + UINT ConfigSpatialResid8; + UINT ConfigResid8Subtraction; + UINT ConfigSpatialHost8or9Clipping; + UINT ConfigSpatialResidInterleaved; + UINT ConfigIntraResidUnsigned; + UINT ConfigResidDiffAccelerator; + UINT ConfigHostInverseScan; + UINT ConfigSpecificIDCT; + UINT Config4GroupedCoefs; + UINT ConfigMinRenderTargetBuffCount; + USHORT ConfigDecoderSpecific; +} DXVA2_ConfigPictureDecode; + +typedef struct _DXVA2_VideoDesc +{ + UINT SampleWidth; + UINT SampleHeight; + DXVA2_ExtendedFormat SampleFormat; + D3DFORMAT Format; + DXVA2_Frequency InputSampleFreq; + DXVA2_Frequency OutputFrameFreq; + UINT UABProtectionLevel; + UINT Reserved; +} DXVA2_VideoDesc; + +typedef struct _DXVA2_DecodeBufferDesc +{ + DWORD CompressedBufferType; + UINT BufferIndex; + UINT DataOffset; + UINT DataSize; + UINT FirstMBaddress; + UINT NumMBsInBuffer; + UINT Width; + UINT Height; + UINT Stride; + UINT ReservedBits; + PVOID pvPVPState; +} DXVA2_DecodeBufferDesc; + +typedef struct _DXVA2_DecodeExtensionData +{ + UINT Function; + PVOID pPrivateInputData; + UINT PrivateInputDataSize; + PVOID pPrivateOutputData; + UINT PrivateOutputDataSize; +} DXVA2_DecodeExtensionData; + +typedef struct _DXVA2_DecodeExecuteParams +{ + UINT NumCompBuffers; + DXVA2_DecodeBufferDesc* pCompressedBuffers; + DXVA2_DecodeExtensionData* pExtensionData; +} DXVA2_DecodeExecuteParams; + +typedef struct _DXVA2_VideoProcessorCaps +{ + UINT DeviceCaps; + D3DPOOL InputPool; + UINT NumForwardRefSamples; + UINT NumBackwardRefSamples; + UINT Reserved; + UINT DeinterlaceTechnology; + UINT ProcAmpControlCaps; + UINT VideoProcessorOperations; + UINT NoiseFilterTechnology; + UINT DetailFilterTechnology; +} DXVA2_VideoProcessorCaps; + +typedef struct _DXVA2_Fixed32 +{ + union + { + struct + { + USHORT Fraction; + SHORT Value; + }; + LONG ll; + }; +} DXVA2_Fixed32; + +typedef struct _DXVA2_ValueRange +{ + DXVA2_Fixed32 MinValue; + DXVA2_Fixed32 MaxValue; + DXVA2_Fixed32 DefaultValue; + DXVA2_Fixed32 StepSize; +} DXVA2_ValueRange; + +typedef struct _DXVA2_AYUVSample8 +{ + UCHAR Cr; + UCHAR Cb; + UCHAR Y; + UCHAR Alpha; +} DXVA2_AYUVSample8; + +typedef struct _DXVA2_AYUVSample16 +{ + USHORT Cr; + USHORT Cb; + USHORT Y; + USHORT Alpha; +} DXVA2_AYUVSample16; + +typedef struct _DXVA2_ProcAmpValues +{ + DXVA2_Fixed32 Brightness; + DXVA2_Fixed32 Contrast; + DXVA2_Fixed32 Hue; + DXVA2_Fixed32 Saturation; +} DXVA2_ProcAmpValues; + +typedef struct _DXVA2_FilterValues +{ + DXVA2_Fixed32 Level; + DXVA2_Fixed32 Threshold; + DXVA2_Fixed32 Radius; +} DXVA2_FilterValues; + +typedef struct _DXVA2_VideoProcessBltParams +{ + REFERENCE_TIME TargetFrame; + RECT TargetRect; + SIZE ConstrictionSize; + UINT StreamingFlags; + DXVA2_AYUVSample16 BackgroundColor; + DXVA2_ExtendedFormat DestFormat; + DXVA2_ProcAmpValues ProcAmpValues; + DXVA2_Fixed32 Alpha; + DXVA2_FilterValues NoiseFilterLuma; + DXVA2_FilterValues NoiseFilterChroma; + DXVA2_FilterValues DetailFilterLuma; + DXVA2_FilterValues DetailFilterChroma; + DWORD DestData; +} DXVA2_VideoProcessBltParams; + +typedef struct _DXVA2_VideoSample +{ + REFERENCE_TIME Start; + REFERENCE_TIME End; + DXVA2_ExtendedFormat SampleFormat; + IDirect3DSurface9* SrcSurface; + RECT SrcRect; + RECT DstRect; + DXVA2_AYUVSample8 Pal[16]; + DXVA2_Fixed32 PlanarAlpha; + DWORD SampleData; +} DXVA2_VideoSample; + +typedef enum +{ + DXVA2_SurfaceType_DecoderRenderTarget, + DXVA2_SurfaceType_ProcessorRenderTarget, + DXVA2_SurfaceType_D3DRenderTargetTexture, +} DXVA2_SurfaceType; + +interface IDirectXVideoDecoder; +interface IDirectXVideoProcessor; + +/***************************************************************************** + * IDirect3DDeviceManager9 interface + */ +[ + object, + uuid(a0cade0f-06d5-4cf4-a1c7-f3cdd725aa75), + local +] +interface IDirect3DDeviceManager9 : IUnknown +{ + HRESULT ResetDevice( + [in] IDirect3DDevice9* pDevice, + [in] UINT resetToken); + + HRESULT OpenDeviceHandle( + [out] HANDLE* phDevice); + + HRESULT CloseDeviceHandle( + [in] HANDLE hDevice); + + HRESULT TestDevice( + [in] HANDLE hDevice); + + HRESULT LockDevice( + [in] HANDLE hDevice, + [out] IDirect3DDevice9** ppDevice, + [in] BOOL fBlock); + + HRESULT UnlockDevice( + [in] HANDLE hDevice, + [in] BOOL fSaveState); + + HRESULT GetVideoService( + [in] HANDLE hDevice, + [in] REFIID riid, + [out] void** ppService); +}; + +/***************************************************************************** + * IDirectXVideoAccelerationService interface + */ +[ + object, + uuid(fc51a550-d5e7-11d9-af55-00054e43ff02), + local +] +interface IDirectXVideoAccelerationService : IUnknown +{ + HRESULT CreateSurface( + [in] UINT width, + [in] UINT height, + [in] UINT backBuffers, + [in] D3DFORMAT format, + [in] D3DPOOL pool, + [in] DWORD usage, + [in] DWORD dxvaType, + [out] IDirect3DSurface9 **ppSurface, + [in, out] HANDLE *pSharedHandle); +}; + +/***************************************************************************** + * IDirectXVideoDecoderService interface + */ +[ + object, + uuid(fc51a551-d5e7-11d9-af55-00054e43ff02), + local +] +interface IDirectXVideoDecoderService : IDirectXVideoAccelerationService +{ + HRESULT GetDecoderDeviceGuids( + [out] UINT *count, + [out] GUID **pGuids); + + HRESULT GetDecoderRenderTargets( + [in] REFGUID guid, + [out] UINT *pCount, + [out] D3DFORMAT **pFormats); + + HRESULT GetDecoderConfigurations( + [in] REFGUID guid, + [in] const DXVA2_VideoDesc *pVideoDesc, + [in] IUnknown *pReserved, + [out] UINT *pCount, + [out] DXVA2_ConfigPictureDecode **ppConfigs); + + HRESULT CreateVideoDecoder( + [in] REFGUID guid, + [in] const DXVA2_VideoDesc *pVideoDesc, + [in] DXVA2_ConfigPictureDecode *pConfig, + [in] IDirect3DSurface9 **ppDecoderRenderTargets, + [in] UINT NumSurfaces, + [out] IDirectXVideoDecoder **ppDecode); +}; + +/***************************************************************************** + * IDirectXVideoDecoder interface + */ +[ + object, + uuid(f2b0810a-fd00-43c9-918c-df94e2d8ef7d), + local +] +interface IDirectXVideoDecoder : IUnknown +{ + HRESULT GetVideoDecoderService( + [out] IDirectXVideoDecoderService** ppService); + + HRESULT GetCreationParameters( + [out] GUID* pDeviceGuid, + [out] DXVA2_VideoDesc* pVideoDesc, + [out] DXVA2_ConfigPictureDecode* pConfig, + [out] IDirect3DSurface9*** pDecoderRenderTargets, + [out] UINT* pNumSurfaces); + + HRESULT GetBuffer( + [in] UINT BufferType, + [out] void** ppBuffer, + [out] UINT* pBufferSize); + + HRESULT ReleaseBuffer( + [in] UINT BufferType); + + HRESULT BeginFrame( + [in] IDirect3DSurface9* pRenderTarget, + [in] void* pvPVPData); + + HRESULT EndFrame( + [out] HANDLE* pHandleComplete); + + HRESULT Execute( + [in] const DXVA2_DecodeExecuteParams* pExecuteParams); +}; + +/***************************************************************************** + * IDirectXVideoProcessorService interface + */ +[ + object, + uuid(fc51a552-d5e7-11d9-af55-00054e43ff02), + local +] +interface IDirectXVideoProcessorService : IDirectXVideoAccelerationService +{ + HRESULT RegisterVideoProcessorSoftwareDevice( + [in] void* pCallbacks); + + HRESULT GetVideoProcessorDeviceGuids( + [in] const DXVA2_VideoDesc* pVideoDesc, + [out] UINT* pCount, + [out] GUID** pGuids); + + HRESULT GetVideoProcessorRenderTargets( + [in] REFGUID VideoProcDeviceGuid, + [in] const DXVA2_VideoDesc* pVideoDesc, + [out] UINT* pCount, + [out] D3DFORMAT** pFormats); + + HRESULT GetVideoProcessorSubStreamFormats( + [in] REFGUID VideoProcDeviceGuid, + [in] const DXVA2_VideoDesc* pVideoDesc, + [in] D3DFORMAT RenderTargetFormat, + [out] UINT* pCount, + [out] D3DFORMAT** pFormats); + + HRESULT GetVideoProcessorCaps( + [in] REFGUID VideoProcDeviceGuid, + [in] const DXVA2_VideoDesc* pVideoDesc, + [in] D3DFORMAT RenderTargetFormat, + [out] DXVA2_VideoProcessorCaps* pCaps); + + HRESULT GetProcAmpRange( + [in] REFGUID VideoProcDeviceGuid, + [in] const DXVA2_VideoDesc* pVideoDesc, + [in] D3DFORMAT RenderTargetFormat, + [in] UINT ProcAmpCap, + [out] DXVA2_ValueRange* pRange); + + HRESULT GetFilterPropertyRange( + [in] REFGUID VideoProcDeviceGuid, + [in] const DXVA2_VideoDesc* pVideoDesc, + [in] D3DFORMAT renderTargetFormat, + [in] UINT FilterSetting, + [out] DXVA2_ValueRange* pRange); + + HRESULT CreateVideoProcessor( + [in] REFGUID VideoProcDeviceGuid, + [in] const DXVA2_VideoDesc* pVideoDesc, + [in] D3DFORMAT RenderTargetFormat, + [in] UINT MaxNumSubStreams, + [out] IDirectXVideoProcessor** ppVidProcess); +}; + +/***************************************************************************** + * IDirectXVideoProcessor interface + */ +[ + object, + uuid(8c3a39f0-916e-4690-804f-4c8001355d25), + local +] +interface IDirectXVideoProcessor : IUnknown +{ + HRESULT GetVideoProcessorService( + [out] IDirectXVideoProcessorService** ppService); + + HRESULT GetCreationParameters( + [out] GUID* pDeviceGuid, + [out] DXVA2_VideoDesc* pVideoDesc, + [out] D3DFORMAT* pRenderTargetFormat, + [out] UINT* pMaxNumSubStreams); + + HRESULT GetVideoProcessorCaps( + [out] DXVA2_VideoProcessorCaps* pCaps); + + HRESULT GetProcAmpRange( + [in] UINT ProcAmpCap, + [out] DXVA2_ValueRange* pRange); + + HRESULT GetFilterPropertyRange( + [in] UINT FilterSetting, + [out] DXVA2_ValueRange* pRange); + + HRESULT VideoProcessBlt( + [in] IDirect3DSurface9* pRenderTarget, + [in] const DXVA2_VideoProcessBltParams* pBltParams, + [in] const DXVA2_VideoSample* pSamples, + [in] UINT NumSamples, + [out] HANDLE* pHandleCompleteIDirect3DDeviceManager9); +}; + +/***************************************************************************** + * IDirectXVideoMemoryConfiguration interface + */ +[ + object, + uuid(b7f916dd-db3b-49c1-84d7-e45ef99ec726), + local +] +interface IDirectXVideoMemoryConfiguration : IUnknown +{ + HRESULT GetAvailableSurfaceTypeByIndex( + [in] DWORD wTypeIndex, + [out] DXVA2_SurfaceType *pdwType); + + HRESULT SetSurfaceType( + [in] DXVA2_SurfaceType dwType); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dyngraph.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dyngraph.idl new file mode 100644 index 0000000..92f91e8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/dyngraph.idl @@ -0,0 +1,154 @@ +/* + * Copyright (C) 2002 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +interface IPinConnection; +interface IPinFlowControl; +interface IGraphConfig; +interface IGraphConfigCallback; + +[ + local, + object, + uuid(4a9a62d3-27d4-403d-91e9-89f540e55534), + pointer_default(unique) +] +interface IPinConnection : IUnknown +{ + HRESULT DynamicQueryAccept([in] const AM_MEDIA_TYPE *pmt); + + HRESULT NotifyEndOfStream([in] HANDLE hNotifyEvent); + + HRESULT IsEndPin(); + + HRESULT DynamicDisconnect(); +} + +[ + local, + object, + uuid(c56e9858-dbf3-4f6b-8119-384af2060deb), + pointer_default(unique) +] +interface IPinFlowControl : IUnknown +{ + HRESULT Block([in] DWORD dwBlockFlags, [in] HANDLE hEvent); +} + +enum _AM_PIN_FLOW_CONTROL_BLOCK_FLAGS +{ + AM_PIN_FLOW_CONTROL_BLOCK = 0x00000001, +}; + +typedef enum _AM_GRAPH_CONFIG_RECONNECT_FLAGS +{ + AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT = 0x00000001, + AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS = 0x00000002, + AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS = 0x00000004 +} AM_GRAPH_CONFIG_RECONNECT_FLAGS; + +enum _REM_FILTER_FLAGS +{ + REMFILTERF_LEAVECONNECTED = 0x00000001 +}; + +typedef enum _AM_FILTER_FLAGS +{ + AM_FILTER_FLAGS_REMOVABLE = 0x00000001 +} AM_FILTER_FLAGS; + +[ + local, + object, + uuid(03A1EB8E-32BF-4245-8502-114D08A9CB88), + pointer_default(unique) +] +interface IGraphConfig : IUnknown +{ + HRESULT Reconnect( + [in] IPin *pOutputPin, + [in] IPin *pInputPin, + [in] const AM_MEDIA_TYPE *pmtFirstConnection, + [in] IBaseFilter *pUsingFilter, + [in] HANDLE hAbortEvent, + [in] DWORD dwFlags); + + HRESULT Reconfigure( + [in] IGraphConfigCallback *pCallback, + [in] PVOID pvContext, + [in] DWORD dwFlags, + [in] HANDLE hAbortEvent); + + HRESULT AddFilterToCache([in] IBaseFilter *pFilter); + + HRESULT EnumCacheFilter([out] IEnumFilters **pEnum); + + HRESULT RemoveFilterFromCache([in]IBaseFilter *pFilter); + + HRESULT GetStartTime([out] REFERENCE_TIME *prtStart); + + HRESULT PushThroughData( + [in] IPin *pOutputPin, + [in] IPinConnection *pConnection, + [in] HANDLE hEventAbort); + + HRESULT SetFilterFlags([in] IBaseFilter *pFilter, [in] DWORD dwFlags); + + HRESULT GetFilterFlags([in] IBaseFilter *pFilter, [out] DWORD *pdwFlags); + + HRESULT RemoveFilterEx([in] IBaseFilter *pFilter, DWORD Flags); +} + +[ + local, + object, + uuid(ade0fd60-d19d-11d2-abf6-00a0c905f375), + pointer_default(unique) +] +interface IGraphConfigCallback : IUnknown +{ + HRESULT Reconfigure(PVOID pvContext, DWORD dwFlags); +} + +[ + local, + object, + uuid(DCFBDCF6-0DC2-45f5-9AB2-7C330EA09C29), + pointer_default(unique) +] +interface IFilterChain : IUnknown +{ + HRESULT StartChain( + [in] IBaseFilter *pStartFilter, + [in] IBaseFilter *pEndFilter); + + HRESULT PauseChain( + [in] IBaseFilter *pStartFilter, + [in] IBaseFilter *pEndFilter); + + HRESULT StopChain( + [in] IBaseFilter *pStartFilter, + [in] IBaseFilter *pEndFilter); + + HRESULT RemoveChain( + [in] IBaseFilter *pStartFilter, + [in] IBaseFilter *pEndFilter); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/endpointvolume.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/endpointvolume.h new file mode 100644 index 0000000..a0d9432 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/endpointvolume.h @@ -0,0 +1,712 @@ +/*** Autogenerated by WIDL 2.18 from endpointvolume.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __endpointvolume_h__ +#define __endpointvolume_h__ + +/* Forward declarations */ + +#ifndef __IAudioEndpointVolumeCallback_FWD_DEFINED__ +#define __IAudioEndpointVolumeCallback_FWD_DEFINED__ +typedef interface IAudioEndpointVolumeCallback IAudioEndpointVolumeCallback; +#ifdef __cplusplus +interface IAudioEndpointVolumeCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioEndpointVolume_FWD_DEFINED__ +#define __IAudioEndpointVolume_FWD_DEFINED__ +typedef interface IAudioEndpointVolume IAudioEndpointVolume; +#ifdef __cplusplus +interface IAudioEndpointVolume; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioEndpointVolumeEx_FWD_DEFINED__ +#define __IAudioEndpointVolumeEx_FWD_DEFINED__ +typedef interface IAudioEndpointVolumeEx IAudioEndpointVolumeEx; +#ifdef __cplusplus +interface IAudioEndpointVolumeEx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct AUDIO_VOLUME_NOTIFICATION_DATA { + GUID guidEventContext; + BOOL bMuted; + FLOAT fMasterVolume; + UINT nChannels; + FLOAT afChannelVolumes[1]; +} AUDIO_VOLUME_NOTIFICATION_DATA; +typedef struct AUDIO_VOLUME_NOTIFICATION_DATA *PAUDIO_VOLUME_NOTIFICATION_DATA; +#define ENDPOINT_HARDWARE_SUPPORT_VOLUME 0x1 +#define ENDPOINT_HARDWARE_SUPPORT_MUTE 0x2 +#define ENDPOINT_HARDWARE_SUPPORT_METER 0x4 +#ifndef __IAudioEndpointVolumeCallback_FWD_DEFINED__ +#define __IAudioEndpointVolumeCallback_FWD_DEFINED__ +typedef interface IAudioEndpointVolumeCallback IAudioEndpointVolumeCallback; +#ifdef __cplusplus +interface IAudioEndpointVolumeCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioEndpointVolume_FWD_DEFINED__ +#define __IAudioEndpointVolume_FWD_DEFINED__ +typedef interface IAudioEndpointVolume IAudioEndpointVolume; +#ifdef __cplusplus +interface IAudioEndpointVolume; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioEndpointVolumeEx_FWD_DEFINED__ +#define __IAudioEndpointVolumeEx_FWD_DEFINED__ +typedef interface IAudioEndpointVolumeEx IAudioEndpointVolumeEx; +#ifdef __cplusplus +interface IAudioEndpointVolumeEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IAudioMeterInformation_FWD_DEFINED__ +#define __IAudioMeterInformation_FWD_DEFINED__ +typedef interface IAudioMeterInformation IAudioMeterInformation; +#ifdef __cplusplus +interface IAudioMeterInformation; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IAudioEndpointVolumeCallback interface + */ +#ifndef __IAudioEndpointVolumeCallback_INTERFACE_DEFINED__ +#define __IAudioEndpointVolumeCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioEndpointVolumeCallback, 0x657804fa, 0xd6ad, 0x4496, 0x8a,0x60, 0x35,0x27,0x52,0xaf,0x4f,0x89); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("657804fa-d6ad-4496-8a60-352752af4f89") +IAudioEndpointVolumeCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnNotify( + AUDIO_VOLUME_NOTIFICATION_DATA *pNotify) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioEndpointVolumeCallback, 0x657804fa, 0xd6ad, 0x4496, 0x8a,0x60, 0x35,0x27,0x52,0xaf,0x4f,0x89) +#endif +#else +typedef struct IAudioEndpointVolumeCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioEndpointVolumeCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioEndpointVolumeCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioEndpointVolumeCallback *This); + + /*** IAudioEndpointVolumeCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnNotify)( + IAudioEndpointVolumeCallback *This, + AUDIO_VOLUME_NOTIFICATION_DATA *pNotify); + + END_INTERFACE +} IAudioEndpointVolumeCallbackVtbl; + +interface IAudioEndpointVolumeCallback { + CONST_VTBL IAudioEndpointVolumeCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioEndpointVolumeCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioEndpointVolumeCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioEndpointVolumeCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioEndpointVolumeCallback methods ***/ +#define IAudioEndpointVolumeCallback_OnNotify(This,pNotify) (This)->lpVtbl->OnNotify(This,pNotify) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolumeCallback_QueryInterface(IAudioEndpointVolumeCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioEndpointVolumeCallback_AddRef(IAudioEndpointVolumeCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioEndpointVolumeCallback_Release(IAudioEndpointVolumeCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioEndpointVolumeCallback methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolumeCallback_OnNotify(IAudioEndpointVolumeCallback* This,AUDIO_VOLUME_NOTIFICATION_DATA *pNotify) { + return This->lpVtbl->OnNotify(This,pNotify); +} +#endif +#endif + +#endif + + +#endif /* __IAudioEndpointVolumeCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioEndpointVolume interface + */ +#ifndef __IAudioEndpointVolume_INTERFACE_DEFINED__ +#define __IAudioEndpointVolume_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioEndpointVolume, 0x5cdf2c82, 0x841e, 0x4546, 0x97,0x22, 0x0c,0xf7,0x40,0x78,0x22,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5cdf2c82-841e-4546-9722-0cf74078229a") +IAudioEndpointVolume : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterControlChangeNotify( + IAudioEndpointVolumeCallback *pNotify) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterControlChangeNotify( + IAudioEndpointVolumeCallback *pNotify) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelCount( + UINT *pnChannelCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMasterVolumeLevel( + FLOAT fLevelDB, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMasterVolumeLevelScalar( + FLOAT fLevel, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMasterVolumeLevel( + FLOAT *fLevelDB) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMasterVolumeLevelScalar( + FLOAT *fLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolumeLevel( + UINT nChannel, + FLOAT fLevelDB, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolumeLevelScalar( + UINT nChannel, + FLOAT fLevel, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelVolumeLevel( + UINT nChannel, + FLOAT *fLevelDB) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelVolumeLevelScalar( + UINT nChannel, + FLOAT *fLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMute( + BOOL bMute, + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMute( + BOOL *bMute) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVolumeStepInfo( + UINT *pnStep, + UINT *pnStepCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE VolumeStepUp( + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE VolumeStepDown( + LPCGUID pguidEventContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryHardwareSupport( + DWORD *pdwHardwareSupportMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVolumeRange( + FLOAT *pflVolumeMindB, + FLOAT *pflVolumeMaxdB, + FLOAT *pflVolumeIncrementdB) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioEndpointVolume, 0x5cdf2c82, 0x841e, 0x4546, 0x97,0x22, 0x0c,0xf7,0x40,0x78,0x22,0x9a) +#endif +#else +typedef struct IAudioEndpointVolumeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioEndpointVolume *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioEndpointVolume *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioEndpointVolume *This); + + /*** IAudioEndpointVolume methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterControlChangeNotify)( + IAudioEndpointVolume *This, + IAudioEndpointVolumeCallback *pNotify); + + HRESULT (STDMETHODCALLTYPE *UnregisterControlChangeNotify)( + IAudioEndpointVolume *This, + IAudioEndpointVolumeCallback *pNotify); + + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioEndpointVolume *This, + UINT *pnChannelCount); + + HRESULT (STDMETHODCALLTYPE *SetMasterVolumeLevel)( + IAudioEndpointVolume *This, + FLOAT fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetMasterVolumeLevelScalar)( + IAudioEndpointVolume *This, + FLOAT fLevel, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetMasterVolumeLevel)( + IAudioEndpointVolume *This, + FLOAT *fLevelDB); + + HRESULT (STDMETHODCALLTYPE *GetMasterVolumeLevelScalar)( + IAudioEndpointVolume *This, + FLOAT *fLevel); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumeLevel)( + IAudioEndpointVolume *This, + UINT nChannel, + FLOAT fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumeLevelScalar)( + IAudioEndpointVolume *This, + UINT nChannel, + FLOAT fLevel, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetChannelVolumeLevel)( + IAudioEndpointVolume *This, + UINT nChannel, + FLOAT *fLevelDB); + + HRESULT (STDMETHODCALLTYPE *GetChannelVolumeLevelScalar)( + IAudioEndpointVolume *This, + UINT nChannel, + FLOAT *fLevel); + + HRESULT (STDMETHODCALLTYPE *SetMute)( + IAudioEndpointVolume *This, + BOOL bMute, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetMute)( + IAudioEndpointVolume *This, + BOOL *bMute); + + HRESULT (STDMETHODCALLTYPE *GetVolumeStepInfo)( + IAudioEndpointVolume *This, + UINT *pnStep, + UINT *pnStepCount); + + HRESULT (STDMETHODCALLTYPE *VolumeStepUp)( + IAudioEndpointVolume *This, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *VolumeStepDown)( + IAudioEndpointVolume *This, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *QueryHardwareSupport)( + IAudioEndpointVolume *This, + DWORD *pdwHardwareSupportMask); + + HRESULT (STDMETHODCALLTYPE *GetVolumeRange)( + IAudioEndpointVolume *This, + FLOAT *pflVolumeMindB, + FLOAT *pflVolumeMaxdB, + FLOAT *pflVolumeIncrementdB); + + END_INTERFACE +} IAudioEndpointVolumeVtbl; + +interface IAudioEndpointVolume { + CONST_VTBL IAudioEndpointVolumeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioEndpointVolume_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioEndpointVolume_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioEndpointVolume_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioEndpointVolume methods ***/ +#define IAudioEndpointVolume_RegisterControlChangeNotify(This,pNotify) (This)->lpVtbl->RegisterControlChangeNotify(This,pNotify) +#define IAudioEndpointVolume_UnregisterControlChangeNotify(This,pNotify) (This)->lpVtbl->UnregisterControlChangeNotify(This,pNotify) +#define IAudioEndpointVolume_GetChannelCount(This,pnChannelCount) (This)->lpVtbl->GetChannelCount(This,pnChannelCount) +#define IAudioEndpointVolume_SetMasterVolumeLevel(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetMasterVolumeLevel(This,fLevelDB,pguidEventContext) +#define IAudioEndpointVolume_SetMasterVolumeLevelScalar(This,fLevel,pguidEventContext) (This)->lpVtbl->SetMasterVolumeLevelScalar(This,fLevel,pguidEventContext) +#define IAudioEndpointVolume_GetMasterVolumeLevel(This,fLevelDB) (This)->lpVtbl->GetMasterVolumeLevel(This,fLevelDB) +#define IAudioEndpointVolume_GetMasterVolumeLevelScalar(This,fLevel) (This)->lpVtbl->GetMasterVolumeLevelScalar(This,fLevel) +#define IAudioEndpointVolume_SetChannelVolumeLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetChannelVolumeLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IAudioEndpointVolume_SetChannelVolumeLevelScalar(This,nChannel,fLevel,pguidEventContext) (This)->lpVtbl->SetChannelVolumeLevelScalar(This,nChannel,fLevel,pguidEventContext) +#define IAudioEndpointVolume_GetChannelVolumeLevel(This,nChannel,fLevelDB) (This)->lpVtbl->GetChannelVolumeLevel(This,nChannel,fLevelDB) +#define IAudioEndpointVolume_GetChannelVolumeLevelScalar(This,nChannel,fLevel) (This)->lpVtbl->GetChannelVolumeLevelScalar(This,nChannel,fLevel) +#define IAudioEndpointVolume_SetMute(This,bMute,pguidEventContext) (This)->lpVtbl->SetMute(This,bMute,pguidEventContext) +#define IAudioEndpointVolume_GetMute(This,bMute) (This)->lpVtbl->GetMute(This,bMute) +#define IAudioEndpointVolume_GetVolumeStepInfo(This,pnStep,pnStepCount) (This)->lpVtbl->GetVolumeStepInfo(This,pnStep,pnStepCount) +#define IAudioEndpointVolume_VolumeStepUp(This,pguidEventContext) (This)->lpVtbl->VolumeStepUp(This,pguidEventContext) +#define IAudioEndpointVolume_VolumeStepDown(This,pguidEventContext) (This)->lpVtbl->VolumeStepDown(This,pguidEventContext) +#define IAudioEndpointVolume_QueryHardwareSupport(This,pdwHardwareSupportMask) (This)->lpVtbl->QueryHardwareSupport(This,pdwHardwareSupportMask) +#define IAudioEndpointVolume_GetVolumeRange(This,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB) (This)->lpVtbl->GetVolumeRange(This,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolume_QueryInterface(IAudioEndpointVolume* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioEndpointVolume_AddRef(IAudioEndpointVolume* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioEndpointVolume_Release(IAudioEndpointVolume* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioEndpointVolume methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolume_RegisterControlChangeNotify(IAudioEndpointVolume* This,IAudioEndpointVolumeCallback *pNotify) { + return This->lpVtbl->RegisterControlChangeNotify(This,pNotify); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_UnregisterControlChangeNotify(IAudioEndpointVolume* This,IAudioEndpointVolumeCallback *pNotify) { + return This->lpVtbl->UnregisterControlChangeNotify(This,pNotify); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetChannelCount(IAudioEndpointVolume* This,UINT *pnChannelCount) { + return This->lpVtbl->GetChannelCount(This,pnChannelCount); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_SetMasterVolumeLevel(IAudioEndpointVolume* This,FLOAT fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMasterVolumeLevel(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_SetMasterVolumeLevelScalar(IAudioEndpointVolume* This,FLOAT fLevel,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMasterVolumeLevelScalar(This,fLevel,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetMasterVolumeLevel(IAudioEndpointVolume* This,FLOAT *fLevelDB) { + return This->lpVtbl->GetMasterVolumeLevel(This,fLevelDB); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetMasterVolumeLevelScalar(IAudioEndpointVolume* This,FLOAT *fLevel) { + return This->lpVtbl->GetMasterVolumeLevelScalar(This,fLevel); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_SetChannelVolumeLevel(IAudioEndpointVolume* This,UINT nChannel,FLOAT fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetChannelVolumeLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_SetChannelVolumeLevelScalar(IAudioEndpointVolume* This,UINT nChannel,FLOAT fLevel,LPCGUID pguidEventContext) { + return This->lpVtbl->SetChannelVolumeLevelScalar(This,nChannel,fLevel,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetChannelVolumeLevel(IAudioEndpointVolume* This,UINT nChannel,FLOAT *fLevelDB) { + return This->lpVtbl->GetChannelVolumeLevel(This,nChannel,fLevelDB); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetChannelVolumeLevelScalar(IAudioEndpointVolume* This,UINT nChannel,FLOAT *fLevel) { + return This->lpVtbl->GetChannelVolumeLevelScalar(This,nChannel,fLevel); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_SetMute(IAudioEndpointVolume* This,BOOL bMute,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMute(This,bMute,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetMute(IAudioEndpointVolume* This,BOOL *bMute) { + return This->lpVtbl->GetMute(This,bMute); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetVolumeStepInfo(IAudioEndpointVolume* This,UINT *pnStep,UINT *pnStepCount) { + return This->lpVtbl->GetVolumeStepInfo(This,pnStep,pnStepCount); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_VolumeStepUp(IAudioEndpointVolume* This,LPCGUID pguidEventContext) { + return This->lpVtbl->VolumeStepUp(This,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_VolumeStepDown(IAudioEndpointVolume* This,LPCGUID pguidEventContext) { + return This->lpVtbl->VolumeStepDown(This,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_QueryHardwareSupport(IAudioEndpointVolume* This,DWORD *pdwHardwareSupportMask) { + return This->lpVtbl->QueryHardwareSupport(This,pdwHardwareSupportMask); +} +static FORCEINLINE HRESULT IAudioEndpointVolume_GetVolumeRange(IAudioEndpointVolume* This,FLOAT *pflVolumeMindB,FLOAT *pflVolumeMaxdB,FLOAT *pflVolumeIncrementdB) { + return This->lpVtbl->GetVolumeRange(This,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB); +} +#endif +#endif + +#endif + + +#endif /* __IAudioEndpointVolume_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAudioEndpointVolumeEx interface + */ +#ifndef __IAudioEndpointVolumeEx_INTERFACE_DEFINED__ +#define __IAudioEndpointVolumeEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAudioEndpointVolumeEx, 0x66e11784, 0xf695, 0x4f28, 0xa5,0x05, 0xa7,0x08,0x00,0x81,0xa7,0x8f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("66e11784-f695-4f28-a505-a7080081a78f") +IAudioEndpointVolumeEx : public IAudioEndpointVolume +{ + virtual HRESULT STDMETHODCALLTYPE GetVolumeRangeChannel( + UINT iChannel, + FLOAT *pflVolumeMindB, + FLOAT *pflVolumeMaxdB, + FLOAT *pflVolumeIncrementdB) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAudioEndpointVolumeEx, 0x66e11784, 0xf695, 0x4f28, 0xa5,0x05, 0xa7,0x08,0x00,0x81,0xa7,0x8f) +#endif +#else +typedef struct IAudioEndpointVolumeExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAudioEndpointVolumeEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAudioEndpointVolumeEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAudioEndpointVolumeEx *This); + + /*** IAudioEndpointVolume methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterControlChangeNotify)( + IAudioEndpointVolumeEx *This, + IAudioEndpointVolumeCallback *pNotify); + + HRESULT (STDMETHODCALLTYPE *UnregisterControlChangeNotify)( + IAudioEndpointVolumeEx *This, + IAudioEndpointVolumeCallback *pNotify); + + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IAudioEndpointVolumeEx *This, + UINT *pnChannelCount); + + HRESULT (STDMETHODCALLTYPE *SetMasterVolumeLevel)( + IAudioEndpointVolumeEx *This, + FLOAT fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetMasterVolumeLevelScalar)( + IAudioEndpointVolumeEx *This, + FLOAT fLevel, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetMasterVolumeLevel)( + IAudioEndpointVolumeEx *This, + FLOAT *fLevelDB); + + HRESULT (STDMETHODCALLTYPE *GetMasterVolumeLevelScalar)( + IAudioEndpointVolumeEx *This, + FLOAT *fLevel); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumeLevel)( + IAudioEndpointVolumeEx *This, + UINT nChannel, + FLOAT fLevelDB, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumeLevelScalar)( + IAudioEndpointVolumeEx *This, + UINT nChannel, + FLOAT fLevel, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetChannelVolumeLevel)( + IAudioEndpointVolumeEx *This, + UINT nChannel, + FLOAT *fLevelDB); + + HRESULT (STDMETHODCALLTYPE *GetChannelVolumeLevelScalar)( + IAudioEndpointVolumeEx *This, + UINT nChannel, + FLOAT *fLevel); + + HRESULT (STDMETHODCALLTYPE *SetMute)( + IAudioEndpointVolumeEx *This, + BOOL bMute, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *GetMute)( + IAudioEndpointVolumeEx *This, + BOOL *bMute); + + HRESULT (STDMETHODCALLTYPE *GetVolumeStepInfo)( + IAudioEndpointVolumeEx *This, + UINT *pnStep, + UINT *pnStepCount); + + HRESULT (STDMETHODCALLTYPE *VolumeStepUp)( + IAudioEndpointVolumeEx *This, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *VolumeStepDown)( + IAudioEndpointVolumeEx *This, + LPCGUID pguidEventContext); + + HRESULT (STDMETHODCALLTYPE *QueryHardwareSupport)( + IAudioEndpointVolumeEx *This, + DWORD *pdwHardwareSupportMask); + + HRESULT (STDMETHODCALLTYPE *GetVolumeRange)( + IAudioEndpointVolumeEx *This, + FLOAT *pflVolumeMindB, + FLOAT *pflVolumeMaxdB, + FLOAT *pflVolumeIncrementdB); + + /*** IAudioEndpointVolumeEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVolumeRangeChannel)( + IAudioEndpointVolumeEx *This, + UINT iChannel, + FLOAT *pflVolumeMindB, + FLOAT *pflVolumeMaxdB, + FLOAT *pflVolumeIncrementdB); + + END_INTERFACE +} IAudioEndpointVolumeExVtbl; + +interface IAudioEndpointVolumeEx { + CONST_VTBL IAudioEndpointVolumeExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAudioEndpointVolumeEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAudioEndpointVolumeEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAudioEndpointVolumeEx_Release(This) (This)->lpVtbl->Release(This) +/*** IAudioEndpointVolume methods ***/ +#define IAudioEndpointVolumeEx_RegisterControlChangeNotify(This,pNotify) (This)->lpVtbl->RegisterControlChangeNotify(This,pNotify) +#define IAudioEndpointVolumeEx_UnregisterControlChangeNotify(This,pNotify) (This)->lpVtbl->UnregisterControlChangeNotify(This,pNotify) +#define IAudioEndpointVolumeEx_GetChannelCount(This,pnChannelCount) (This)->lpVtbl->GetChannelCount(This,pnChannelCount) +#define IAudioEndpointVolumeEx_SetMasterVolumeLevel(This,fLevelDB,pguidEventContext) (This)->lpVtbl->SetMasterVolumeLevel(This,fLevelDB,pguidEventContext) +#define IAudioEndpointVolumeEx_SetMasterVolumeLevelScalar(This,fLevel,pguidEventContext) (This)->lpVtbl->SetMasterVolumeLevelScalar(This,fLevel,pguidEventContext) +#define IAudioEndpointVolumeEx_GetMasterVolumeLevel(This,fLevelDB) (This)->lpVtbl->GetMasterVolumeLevel(This,fLevelDB) +#define IAudioEndpointVolumeEx_GetMasterVolumeLevelScalar(This,fLevel) (This)->lpVtbl->GetMasterVolumeLevelScalar(This,fLevel) +#define IAudioEndpointVolumeEx_SetChannelVolumeLevel(This,nChannel,fLevelDB,pguidEventContext) (This)->lpVtbl->SetChannelVolumeLevel(This,nChannel,fLevelDB,pguidEventContext) +#define IAudioEndpointVolumeEx_SetChannelVolumeLevelScalar(This,nChannel,fLevel,pguidEventContext) (This)->lpVtbl->SetChannelVolumeLevelScalar(This,nChannel,fLevel,pguidEventContext) +#define IAudioEndpointVolumeEx_GetChannelVolumeLevel(This,nChannel,fLevelDB) (This)->lpVtbl->GetChannelVolumeLevel(This,nChannel,fLevelDB) +#define IAudioEndpointVolumeEx_GetChannelVolumeLevelScalar(This,nChannel,fLevel) (This)->lpVtbl->GetChannelVolumeLevelScalar(This,nChannel,fLevel) +#define IAudioEndpointVolumeEx_SetMute(This,bMute,pguidEventContext) (This)->lpVtbl->SetMute(This,bMute,pguidEventContext) +#define IAudioEndpointVolumeEx_GetMute(This,bMute) (This)->lpVtbl->GetMute(This,bMute) +#define IAudioEndpointVolumeEx_GetVolumeStepInfo(This,pnStep,pnStepCount) (This)->lpVtbl->GetVolumeStepInfo(This,pnStep,pnStepCount) +#define IAudioEndpointVolumeEx_VolumeStepUp(This,pguidEventContext) (This)->lpVtbl->VolumeStepUp(This,pguidEventContext) +#define IAudioEndpointVolumeEx_VolumeStepDown(This,pguidEventContext) (This)->lpVtbl->VolumeStepDown(This,pguidEventContext) +#define IAudioEndpointVolumeEx_QueryHardwareSupport(This,pdwHardwareSupportMask) (This)->lpVtbl->QueryHardwareSupport(This,pdwHardwareSupportMask) +#define IAudioEndpointVolumeEx_GetVolumeRange(This,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB) (This)->lpVtbl->GetVolumeRange(This,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB) +/*** IAudioEndpointVolumeEx methods ***/ +#define IAudioEndpointVolumeEx_GetVolumeRangeChannel(This,iChannel,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB) (This)->lpVtbl->GetVolumeRangeChannel(This,iChannel,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_QueryInterface(IAudioEndpointVolumeEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAudioEndpointVolumeEx_AddRef(IAudioEndpointVolumeEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAudioEndpointVolumeEx_Release(IAudioEndpointVolumeEx* This) { + return This->lpVtbl->Release(This); +} +/*** IAudioEndpointVolume methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_RegisterControlChangeNotify(IAudioEndpointVolumeEx* This,IAudioEndpointVolumeCallback *pNotify) { + return This->lpVtbl->RegisterControlChangeNotify(This,pNotify); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_UnregisterControlChangeNotify(IAudioEndpointVolumeEx* This,IAudioEndpointVolumeCallback *pNotify) { + return This->lpVtbl->UnregisterControlChangeNotify(This,pNotify); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetChannelCount(IAudioEndpointVolumeEx* This,UINT *pnChannelCount) { + return This->lpVtbl->GetChannelCount(This,pnChannelCount); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_SetMasterVolumeLevel(IAudioEndpointVolumeEx* This,FLOAT fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMasterVolumeLevel(This,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_SetMasterVolumeLevelScalar(IAudioEndpointVolumeEx* This,FLOAT fLevel,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMasterVolumeLevelScalar(This,fLevel,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetMasterVolumeLevel(IAudioEndpointVolumeEx* This,FLOAT *fLevelDB) { + return This->lpVtbl->GetMasterVolumeLevel(This,fLevelDB); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetMasterVolumeLevelScalar(IAudioEndpointVolumeEx* This,FLOAT *fLevel) { + return This->lpVtbl->GetMasterVolumeLevelScalar(This,fLevel); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_SetChannelVolumeLevel(IAudioEndpointVolumeEx* This,UINT nChannel,FLOAT fLevelDB,LPCGUID pguidEventContext) { + return This->lpVtbl->SetChannelVolumeLevel(This,nChannel,fLevelDB,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_SetChannelVolumeLevelScalar(IAudioEndpointVolumeEx* This,UINT nChannel,FLOAT fLevel,LPCGUID pguidEventContext) { + return This->lpVtbl->SetChannelVolumeLevelScalar(This,nChannel,fLevel,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetChannelVolumeLevel(IAudioEndpointVolumeEx* This,UINT nChannel,FLOAT *fLevelDB) { + return This->lpVtbl->GetChannelVolumeLevel(This,nChannel,fLevelDB); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetChannelVolumeLevelScalar(IAudioEndpointVolumeEx* This,UINT nChannel,FLOAT *fLevel) { + return This->lpVtbl->GetChannelVolumeLevelScalar(This,nChannel,fLevel); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_SetMute(IAudioEndpointVolumeEx* This,BOOL bMute,LPCGUID pguidEventContext) { + return This->lpVtbl->SetMute(This,bMute,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetMute(IAudioEndpointVolumeEx* This,BOOL *bMute) { + return This->lpVtbl->GetMute(This,bMute); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetVolumeStepInfo(IAudioEndpointVolumeEx* This,UINT *pnStep,UINT *pnStepCount) { + return This->lpVtbl->GetVolumeStepInfo(This,pnStep,pnStepCount); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_VolumeStepUp(IAudioEndpointVolumeEx* This,LPCGUID pguidEventContext) { + return This->lpVtbl->VolumeStepUp(This,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_VolumeStepDown(IAudioEndpointVolumeEx* This,LPCGUID pguidEventContext) { + return This->lpVtbl->VolumeStepDown(This,pguidEventContext); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_QueryHardwareSupport(IAudioEndpointVolumeEx* This,DWORD *pdwHardwareSupportMask) { + return This->lpVtbl->QueryHardwareSupport(This,pdwHardwareSupportMask); +} +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetVolumeRange(IAudioEndpointVolumeEx* This,FLOAT *pflVolumeMindB,FLOAT *pflVolumeMaxdB,FLOAT *pflVolumeIncrementdB) { + return This->lpVtbl->GetVolumeRange(This,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB); +} +/*** IAudioEndpointVolumeEx methods ***/ +static FORCEINLINE HRESULT IAudioEndpointVolumeEx_GetVolumeRangeChannel(IAudioEndpointVolumeEx* This,UINT iChannel,FLOAT *pflVolumeMindB,FLOAT *pflVolumeMaxdB,FLOAT *pflVolumeIncrementdB) { + return This->lpVtbl->GetVolumeRangeChannel(This,iChannel,pflVolumeMindB,pflVolumeMaxdB,pflVolumeIncrementdB); +} +#endif +#endif + +#endif + + +#endif /* __IAudioEndpointVolumeEx_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __endpointvolume_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/endpointvolume.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/endpointvolume.idl new file mode 100644 index 0000000..eaf4f8a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/endpointvolume.idl @@ -0,0 +1,148 @@ +/* + * Copyright (C) 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "devicetopology.idl"; + +typedef struct AUDIO_VOLUME_NOTIFICATION_DATA +{ + GUID guidEventContext; + BOOL bMuted; + FLOAT fMasterVolume; + UINT nChannels; + FLOAT afChannelVolumes[1]; +} AUDIO_VOLUME_NOTIFICATION_DATA; + +cpp_quote("typedef struct AUDIO_VOLUME_NOTIFICATION_DATA *PAUDIO_VOLUME_NOTIFICATION_DATA;") + +cpp_quote("#define ENDPOINT_HARDWARE_SUPPORT_VOLUME 0x1") +cpp_quote("#define ENDPOINT_HARDWARE_SUPPORT_MUTE 0x2") +cpp_quote("#define ENDPOINT_HARDWARE_SUPPORT_METER 0x4") + +interface IAudioEndpointVolumeCallback; +interface IAudioEndpointVolume; +interface IAudioEndpointVolumeEx; +interface IAudioMeterInformation; + +[ + pointer_default(unique), + nonextensible, + uuid(657804fa-d6ad-4496-8a60-352752af4f89), + local, + object +] +interface IAudioEndpointVolumeCallback : IUnknown +{ + HRESULT OnNotify( + AUDIO_VOLUME_NOTIFICATION_DATA *pNotify + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(5cdf2c82-841e-4546-9722-0cf74078229a), + local, + object +] +interface IAudioEndpointVolume : IUnknown +{ + HRESULT RegisterControlChangeNotify( + [in] IAudioEndpointVolumeCallback *pNotify + ); + HRESULT UnregisterControlChangeNotify( + [in] IAudioEndpointVolumeCallback *pNotify + ); + HRESULT GetChannelCount( + [out] UINT *pnChannelCount + ); + HRESULT SetMasterVolumeLevel( + [in] FLOAT fLevelDB, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT SetMasterVolumeLevelScalar( + [in] FLOAT fLevel, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT GetMasterVolumeLevel( + [out] FLOAT *fLevelDB + ); + HRESULT GetMasterVolumeLevelScalar( + [out] FLOAT *fLevel + ); + HRESULT SetChannelVolumeLevel( + [in] UINT nChannel, + [in] FLOAT fLevelDB, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT SetChannelVolumeLevelScalar( + [in] UINT nChannel, + [in] FLOAT fLevel, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT GetChannelVolumeLevel( + [in] UINT nChannel, + [out] FLOAT *fLevelDB + ); + HRESULT GetChannelVolumeLevelScalar( + [in] UINT nChannel, + [out] FLOAT *fLevel + ); + HRESULT SetMute( + [in] BOOL bMute, + [unique,in] LPCGUID pguidEventContext + ); + HRESULT GetMute( + [out] BOOL *bMute + ); + HRESULT GetVolumeStepInfo( + [out] UINT *pnStep, + [out] UINT *pnStepCount + ); + HRESULT VolumeStepUp( + [unique,in] LPCGUID pguidEventContext + ); + HRESULT VolumeStepDown( + [unique,in] LPCGUID pguidEventContext + ); + HRESULT QueryHardwareSupport( + [out] DWORD *pdwHardwareSupportMask + ); + HRESULT GetVolumeRange( + [out] FLOAT *pflVolumeMindB, + [out] FLOAT *pflVolumeMaxdB, + [out] FLOAT *pflVolumeIncrementdB + ); +} + +[ + pointer_default(unique), + nonextensible, + uuid(66e11784-f695-4f28-a505-a7080081a78f), + local, + object +] +interface IAudioEndpointVolumeEx : IAudioEndpointVolume +{ + HRESULT GetVolumeRangeChannel( + [in] UINT iChannel, + [out] FLOAT *pflVolumeMindB, + [out] FLOAT *pflVolumeMaxdB, + [out] FLOAT *pflVolumeIncrementdB + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errorrep.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errorrep.h new file mode 100644 index 0000000..5af7bf6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errorrep.h @@ -0,0 +1,43 @@ +/* + * errorrep.h - error reporting APIs (implemented in faultrep.dll) + * + * Copyright 2007 Google (Mikolaj Zalewski) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ERRORREP_H +#define __WINE_ERRORREP_H + +typedef enum tagEFaultRepRetVal +{ + frrvOk, + frrvOkManifest, + frrvOkQueued, + frrvOkErr, + frrvErrNoDW, + frrvErrTimeout, + frrvLaunchDebugger, + frrvOkHeadless, + frrvErrAnotherInstance +} EFaultRepRetVal; + +EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS, DWORD); + +BOOL WINAPI AddERExcludedApplicationA(LPCSTR); +BOOL WINAPI AddERExcludedApplicationW(LPCWSTR); +#define AddERExcludedApplication WINELIB_NAME_AW(AddERExcludedApplication) + +#endif /* __WINE_ERORREP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errors.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errors.h new file mode 100644 index 0000000..c8c3067 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errors.h @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2006 Hans Leidekker + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __ERRORS__ +#define __ERRORS__ + +#ifdef __cplusplus +extern "C" { +#endif + +#define AMOVIEAPI + +#define VFW_FIRST_CODE 0x200 +#define MAX_ERROR_TEXT_LEN 160 + +#include + +typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT,char*,DWORD); +typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT,WCHAR*,DWORD); +DECL_WINELIB_TYPE_AW(AMGETERRORTEXTPROC) + +DWORD WINAPI AMGetErrorTextA(HRESULT,LPSTR,DWORD); +DWORD WINAPI AMGetErrorTextW(HRESULT,LPWSTR,DWORD); +#define AMGetErrorText WINELIB_NAME_AW(AMGetErrorText) + +#ifdef __cplusplus +} +#endif + +#endif /* __ERRORS__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errrec.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errrec.idl new file mode 100644 index 0000000..b7c7cbf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/errrec.idl @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a67-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IErrorRecords : IUnknown +{ + +cpp_quote("#define IDENTIFIER_SDK_MASK 0xF0000000") +cpp_quote("#define IDENTIFIER_SDK_ERROR 0x10000000") + +typedef struct tagERRORINFO +{ + HRESULT hrError; + DWORD dwMinor; + CLSID clsid; + IID iid; + DISPID dispid; +} ERRORINFO; + + [local] + HRESULT AddErrorRecord([in] ERRORINFO * pErrorInfo, [in] DWORD dwLookupID, [in] DISPPARAMS * pdispparams, + [in] IUnknown * punkCustomError, [in] DWORD dwDynamicErrorID); + + [call_as(AddErrorRecord)] + HRESULT RemoteAddErrorRecord([in] ERRORINFO * pErrorInfo, [in] DWORD dwLookupID, [in] DISPPARAMS * pdispparams, + [in] IUnknown * punkCustomError, [in] DWORD dwDynamicErrorID, [out] IErrorInfo ** ppErrorInfoRem); + + [local] + HRESULT GetBasicErrorInfo([in] ULONG ulRecordNum, [out] ERRORINFO * pErrorInfo); + + [call_as(GetBasicErrorInfo)] + HRESULT RemoteGetBasicErrorInfo([in] ULONG ulRecordNum, [out] ERRORINFO * pErrorInfo, [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetCustomErrorObject([in] ULONG ulRecordNum, [in] REFIID riid, [out] IUnknown ** ppObject); + + [call_as(GetCustomErrorObject)] + HRESULT RemoteGetCustomErrorObject([in] ULONG ulRecordNum, [in] REFIID riid, [out] IUnknown ** ppObject, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetErrorInfo([in] ULONG ulRecordNum, [in] LCID lcid, [out] IErrorInfo **ppErrorInfo); + + [call_as(GetErrorInfo)] + HRESULT RemoteGetErrorInfo([in] ULONG ulRecordNum, [in] LCID lcid, [out] IErrorInfo **ppErrorInfo, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetErrorParameters([in] ULONG ulRecordNum, [out] DISPPARAMS * pdispparams); + + [call_as(GetErrorParameters)] + HRESULT RemoteGetErrorParameters([in] ULONG ulRecordNum, [out] DISPPARAMS * pdispparams, [out] IErrorInfo ** ppErrorInfoRem); + + [local] + HRESULT GetRecordCount([out] ULONG *records); + + [call_as(GetRecordCount)] + HRESULT RemoteGetRecordCount([out] ULONG * pcRecords, [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evcode.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evcode.h new file mode 100644 index 0000000..b62ff6a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evcode.h @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2004 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_EVCODE_H +#define __WINE_EVCODE_H + +#define EC_SYSTEMBASE 0x00 +#define EC_USER 0x8000 + +#define EC_COMPLETE 0x01 +#define EC_USERABORT 0x02 +#define EC_ERRORABORT 0x03 +#define EC_TIME 0x04 +#define EC_REPAINT 0x05 +#define EC_STREAM_ERROR_STOPPED 0x06 +#define EC_STREAM_ERROR_STILLPLAYING 0x07 +#define EC_ERROR_STILLPLAYING 0x08 +#define EC_PALETTE_CHANGED 0x09 +#define EC_VIDEO_SIZE_CHANGED 0x0A +#define EC_QUALITY_CHANGE 0x0B +#define EC_SHUTTING_DOWN 0x0C +#define EC_CLOCK_CHANGED 0x0D +#define EC_PAUSED 0x0E +#define EC_OPENING_FILE 0x10 +#define EC_BUFFERING_DATA 0x11 +#define EC_FULLSCREEN_LOST 0x12 +#define EC_ACTIVATE 0x13 +#define EC_NEED_RESTART 0x14 +#define EC_WINDOW_DESTROYED 0x15 +#define EC_DISPLAY_CHANGED 0x16 +#define EC_STARVATION 0x17 +#define EC_OLE_EVENT 0x18 +#define EC_NOTIFY_WINDOW 0x19 +#define EC_STREAM_CONTROL_STOPPED 0x1A +#define EC_STREAM_CONTROL_STARTED 0x1B +#define EC_END_OF_SEGMENT 0x1C +#define EC_SEGMENT_STARTED 0x1D +#define EC_LENGTH_CHANGED 0x1E +#define EC_DEVICE_LOST 0x1F +#define EC_SAMPLE_NEEDED 0x20 +#define EC_PROCESSING_LATENCY 0x21 +#define EC_SAMPLE_LATENCY 0x22 +#define EC_SCRUB_TIME 0x23 +#define EC_STEP_COMPLETE 0x24 + +#define EC_NEW_PIN 0x20 +#define EC_RENDER_FINISHED 0x21 + +#define EC_TIMECODE_AVAILABLE 0x30 +#define EC_EXTDEVICE_MODE_CHANGE 0x31 +#define EC_STATE_CHANGE 0x32 + +#define EC_PLEASE_REOPEN 0x40 +#define EC_STATUS 0x41 +#define EC_MARKER_HIT 0x42 +#define EC_LOADSTATUS 0x43 +#define EC_FILE_CLOSED 0x44 +#define EC_ERRORABORTEX 0x45 +#define EC_EOS_SOON 0x46 +#define EC_CONTENTPROPERTY_CHANGED 0x47 +#define EC_BANDWIDTHCHANGE 0x48 +#define EC_VIDEOFRAMEREADY 0x49 +#define EC_GRAPH_CHANGED 0x50 +#define EC_CLOCK_UNSET 0x51 + +#define EC_VMR_RENDERDEVICE_SET 0x53 +#define EC_VMR_SURFACE_FLIPPED 0x54 +#define EC_VMR_RECONNECTION_FAILED 0x55 +#define EC_PREPROCESS_COMPLETE 0x56 +#define EC_CODECAPI_EVENT 0x57 + +#define EC_BUILT 0x300 +#define EC_UNBUILT 0x301 + +#define EC_WMT_EVENT_BASE 0x0251 +#define EC_WMT_INDEX_EVENT EC_WMT_EVENT_BASE +#define EC_WMT_EVENT EC_WMT_EVENT_BASE+1 + +#endif /* __WINE_EVCODE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evntprov.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evntprov.h new file mode 100644 index 0000000..a49fa79 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evntprov.h @@ -0,0 +1,82 @@ +/* + * Copyright 2010 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _EVNTPROV_H_ +#define _EVNTPROV_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define EVENT_LEVEL_MIN 0x00 +#define EVENT_LEVEL_MAX 0xff + +typedef ULONGLONG REGHANDLE, *PREGHANDLE; + +typedef struct _EVENT_DATA_DESCRIPTOR +{ + ULONGLONG Ptr; + ULONG Size; + ULONG Reserved; +} EVENT_DATA_DESCRIPTOR, *PEVENT_DATA_DESCRIPTOR; + +typedef struct _EVENT_DESCRIPTOR +{ + USHORT Id; + UCHAR Version; + UCHAR Channel; + UCHAR Level; + UCHAR Opcode; + USHORT Task; + ULONGLONG Keyword; +} EVENT_DESCRIPTOR; + +typedef EVENT_DESCRIPTOR *PEVENT_DESCRIPTOR; +typedef const EVENT_DESCRIPTOR *PCEVENT_DESCRIPTOR; + +typedef struct _EVENT_FILTER_DESCRIPTOR +{ + ULONGLONG Ptr; + ULONG Size; + ULONG Type; + +} EVENT_FILTER_DESCRIPTOR, *PEVENT_FILTER_DESCRIPTOR; + +typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PEVENT_FILTER_DESCRIPTOR,PVOID); + +typedef enum _EVENT_INFO_CLASS +{ + EventProviderBinaryTrackInfo = 0, + EventProviderSetTraits, + EventProviderUseDescriptorType, + MaxEventInfo +} EVENT_INFO_CLASS; + +BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR); +BOOLEAN WINAPI EventProviderEnabled(REGHANDLE, UCHAR, ULONGLONG); +ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE); +ULONG WINAPI EventSetInformation(REGHANDLE, EVENT_INFO_CLASS, PVOID, ULONG); +ULONG WINAPI EventUnregister(REGHANDLE); +ULONG WINAPI EventWrite(REGHANDLE,PCEVENT_DESCRIPTOR,ULONG,PEVENT_DATA_DESCRIPTOR); +ULONG WINAPI EventWriteTransfer(REGHANDLE,PCEVENT_DESCRIPTOR,LPCGUID,LPCGUID,ULONG,PEVENT_DATA_DESCRIPTOR); + +#ifdef __cplusplus +} +#endif + +#endif /* _EVNTPROV_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evntrace.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evntrace.h new file mode 100644 index 0000000..5722b28 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evntrace.h @@ -0,0 +1,294 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _EVNTRACE_ +#define _EVNTRACE_ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define EVENT_TRACE_CONTROL_QUERY 0 +#define EVENT_TRACE_CONTROL_STOP 1 +#define EVENT_TRACE_CONTROL_UPDATE 2 +#define EVENT_TRACE_CONTROL_FLUSH 3 + +#define TRACE_LEVEL_NONE 0 +#define TRACE_LEVEL_CRITICAL 1 +#define TRACE_LEVEL_FATAL 1 +#define TRACE_LEVEL_ERROR 2 +#define TRACE_LEVEL_WARNING 3 +#define TRACE_LEVEL_INFORMATION 4 +#define TRACE_LEVEL_VERBOSE 5 + +#define EVENT_TRACE_FILE_MODE_NONE 0x00000000 +#define EVENT_TRACE_FILE_MODE_SEQUENTIAL 0x00000001 +#define EVENT_TRACE_FILE_MODE_CIRCULAR 0x00000002 +#define EVENT_TRACE_FILE_MODE_APPEND 0x00000004 +#define EVENT_TRACE_FILE_MODE_NEWFILE 0x00000008 +#define EVENT_TRACE_FILE_MODE_PREALLOCATE 0x00000020 +#define EVENT_TRACE_NONSTOPPABLE_MODE 0x00000040 +#define EVENT_TRACE_SECURE_MODE 0x00000080 +#define EVENT_TRACE_REAL_TIME_MODE 0x00000100 +#define EVENT_TRACE_DELAY_OPEN_FILE_MODE 0x00000200 +#define EVENT_TRACE_BUFFERING_MODE 0x00000400 +#define EVENT_TRACE_PRIVATE_LOGGER_MODE 0x00000800 +#define EVENT_TRACE_ADD_HEADER_MODE 0x00001000 +#define EVENT_TRACE_USE_KBYTES_FOR_SIZE 0x00002000 +#define EVENT_TRACE_USE_GLOBAL_SEQUENCE 0x00004000 +#define EVENT_TRACE_USE_LOCAL_SEQUENCE 0x00008000 +#define EVENT_TRACE_RELOG_MODE 0x00010000 +#define EVENT_TRACE_PRIVATE_IN_PROC 0x00020000 +#define EVENT_TRACE_MODE_RESERVED 0x00100000 +#define EVENT_TRACE_STOP_ON_HYBRID_SHUTDOWN 0x00400000 +#define EVENT_TRACE_PERSIST_ON_HYBRID_SHUTDOWN 0x00800000 +#define EVENT_TRACE_USE_PAGED_MEMORY 0x01000000 +#define EVENT_TRACE_SYSTEM_LOGGER_MODE 0x02000000 +#define EVENT_TRACE_INDEPENDENT_SESSION_MODE 0x08000000 +#define EVENT_TRACE_NO_PER_PROCESSOR_BUFFERING 0x10000000 +#define EVENT_TRACE_ADDTO_TRIAGE_DUMP 0x80000000 + +DEFINE_GUID (SystemTraceControlGuid, 0x9e814aad, 0x3204, 0x11d2, 0x9a, 0x82, 0x00, 0x60, 0x08, 0xa8, 0x69, 0x39); + +typedef ULONG64 TRACEHANDLE, *PTRACEHANDLE; + +struct _EVENT_TRACE_LOGFILEA; +struct _EVENT_TRACE_LOGFILEW; + +typedef struct _EVENT_TRACE_LOGFILEA EVENT_TRACE_LOGFILEA, *PEVENT_TRACE_LOGFILEA; +typedef struct _EVENT_TRACE_LOGFILEW EVENT_TRACE_LOGFILEW, *PEVENT_TRACE_LOGFILEW; + +typedef ULONG (WINAPI * PEVENT_TRACE_BUFFER_CALLBACKA)( PEVENT_TRACE_LOGFILEA ); +typedef ULONG (WINAPI * PEVENT_TRACE_BUFFER_CALLBACKW)( PEVENT_TRACE_LOGFILEW ); + +typedef ULONG (WINAPI * WMIDPREQUEST)( WMIDPREQUESTCODE, PVOID, ULONG*, PVOID ); + +typedef struct _TRACE_GUID_REGISTRATION +{ + LPCGUID Guid; + HANDLE RegHandle; +} TRACE_GUID_REGISTRATION, *PTRACE_GUID_REGISTRATION; + +typedef struct _TRACE_GUID_PROPERTIES { + GUID Guid; + ULONG GuidType; + ULONG LoggerId; + ULONG EnableLevel; + ULONG EnableFlags; + BOOLEAN IsEnable; +} TRACE_GUID_PROPERTIES, *PTRACE_GUID_PROPERTIES; + +typedef struct _EVENT_TRACE_HEADER +{ + USHORT Size; + union + { + USHORT FieldTypeFlags; + struct + { + UCHAR HeaderType; + UCHAR MarkerFlags; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + union + { + ULONG Version; + struct + { + UCHAR Type; + UCHAR Level; + USHORT Version; + } Class; + } DUMMYUNIONNAME1; + ULONG ThreadId; + ULONG ProcessId; + LARGE_INTEGER TimeStamp; + union + { + GUID Guid; + ULONGLONG GuidPtr; + } DUMMYUNIONNAME2; + union + { + struct + { + ULONG ClientContext; + ULONG Flags; + } DUMMYSTRUCTNAME1; + struct + { + ULONG KernelTime; + ULONG UserTime; + } DUMMYSTRUCTNAME2; + } DUMMYUNIONNAME3; +} EVENT_TRACE_HEADER, *PEVENT_TRACE_HEADER; + +typedef struct _EVENT_TRACE +{ + EVENT_TRACE_HEADER Header; + ULONG InstanceId; + ULONG ParentInstanceId; + GUID ParentGuid; + PVOID MofData; + ULONG MofLength; + ULONG ClientContext; +} EVENT_TRACE, *PEVENT_TRACE; + +typedef VOID (WINAPI * PEVENT_CALLBACK)( PEVENT_TRACE ); + +typedef struct _TRACE_LOGFILE_HEADER +{ + ULONG BufferSize; + union + { + ULONG Version; + struct + { + UCHAR MajorVersion; + UCHAR MinorVersion; + UCHAR SubVersion; + UCHAR SubMinorVersion; + } VersionDetail; + } DUMMYUNIONNAME; + ULONG ProviderVersion; + ULONG NumberOfProcessors; + LARGE_INTEGER EndTime; + ULONG TimerResolution; + ULONG MaximumFileSize; + ULONG LogFileMode; + ULONG BuffersWritten; + union + { + GUID LogInstanceGuid; + struct + { + ULONG StartBuffers; + ULONG PointerSize; + ULONG EventsLost; + ULONG CpuSpeedInMHZ; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME1; + LPWSTR LoggerName; + LPWSTR LogFileName; + TIME_ZONE_INFORMATION TimeZone; + LARGE_INTEGER BootTime; + LARGE_INTEGER PerfFreq; + LARGE_INTEGER StartTime; + ULONG ReservedTime; + ULONG BuffersLost; +} TRACE_LOGFILE_HEADER, *PTRACE_LOGFILE_HEADER; + +struct _EVENT_TRACE_LOGFILEW +{ + LPWSTR LogFileName; + LPWSTR LoggerName; + LONGLONG CurrentTime; + ULONG LogFileMode; + EVENT_TRACE CurrentEvent; + TRACE_LOGFILE_HEADER LogfileHeader; + PEVENT_TRACE_BUFFER_CALLBACKW BufferCallback; + ULONG BufferSize; + ULONG Filled; + ULONG EventsLost; + PEVENT_CALLBACK EventCallback; + PVOID Context; +}; + +struct _EVENT_TRACE_LOGFILEA +{ + LPSTR LogFileName; + LPSTR LoggerName; + LONGLONG CurrentTime; + ULONG LogFileMode; + EVENT_TRACE CurrentEvent; + TRACE_LOGFILE_HEADER LogfileHeader; + PEVENT_TRACE_BUFFER_CALLBACKA BufferCallback; + ULONG BufferSize; + ULONG Filled; + ULONG EventsLost; + PEVENT_CALLBACK EventCallback; + PVOID Context; +}; + +typedef struct _EVENT_TRACE_PROPERTIES +{ + WNODE_HEADER Wnode; + ULONG BufferSize; + ULONG MinimumBuffers; + ULONG MaximumBuffers; + ULONG MaximumFileSize; + ULONG LogFileMode; + ULONG FlushTimer; + ULONG EnableFlags; + LONG AgeLimit; + ULONG NumberOfBuffers; + ULONG FreeBuffers; + ULONG EventsLost; + ULONG BuffersWritten; + ULONG LogBuffersLost; + ULONG RealTimeBuffersLost; + HANDLE LoggerThreadId; + ULONG LogFileNameOffset; + ULONG LoggerNameOffset; +} EVENT_TRACE_PROPERTIES, *PEVENT_TRACE_PROPERTIES; + +typedef struct _ENABLE_TRACE_PARAMETERS +{ + ULONG Version; + ULONG EnableProperty; + ULONG ControlFlags; + GUID SourceId; + struct _EVENT_FILTER_DESCRIPTOR *EnableFilterDesc; + ULONG FilterDescCount; +} ENABLE_TRACE_PARAMETERS, *PENABLE_TRACE_PARAMETERS; + +#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)~(ULONG_PTR)0) + +ULONG WINAPI CloseTrace(TRACEHANDLE); +ULONG WINAPI ControlTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES,ULONG); +ULONG WINAPI ControlTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES,ULONG); +#define ControlTrace WINELIB_NAME_AW(ControlTrace) +ULONG WINAPI EnableTrace(ULONG,ULONG,ULONG,LPCGUID,TRACEHANDLE); +ULONG WINAPI EnableTraceEx2(TRACEHANDLE,LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,ULONG,PENABLE_TRACE_PARAMETERS); +ULONG WINAPI FlushTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES); +ULONG WINAPI FlushTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES); +#define FlushTrace WINELIB_NAME_AW(FlushTrace) +ULONG WINAPI GetTraceEnableFlags(TRACEHANDLE); +UCHAR WINAPI GetTraceEnableLevel(TRACEHANDLE); +TRACEHANDLE WINAPI GetTraceLoggerHandle(PVOID); +ULONG WINAPI QueryAllTracesA(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG); +ULONG WINAPI QueryAllTracesW(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG); +#define QueryAllTraces WINELIB_NAME_AW(QueryAllTraces) +ULONG WINAPI RegisterTraceGuidsA(WMIDPREQUEST,PVOID,LPCGUID,ULONG,PTRACE_GUID_REGISTRATION,LPCSTR,LPCSTR,PTRACEHANDLE); +ULONG WINAPI RegisterTraceGuidsW(WMIDPREQUEST,PVOID,LPCGUID,ULONG,PTRACE_GUID_REGISTRATION,LPCWSTR,LPCWSTR,PTRACEHANDLE); +#define RegisterTraceGuids WINELIB_NAME_AW(RegisterTraceGuids) +ULONG WINAPI StartTraceA(PTRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES); +ULONG WINAPI StartTraceW(PTRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES); +#define StartTrace WINELIB_NAME_AW(StartTrace) +ULONG WINAPI TraceEvent(TRACEHANDLE,PEVENT_TRACE_HEADER); +ULONG WINAPIV TraceMessage(TRACEHANDLE,ULONG,LPGUID,USHORT,...); +ULONG WINAPI TraceMessageVa(TRACEHANDLE,ULONG,LPGUID,USHORT,__ms_va_list); +ULONG WINAPI UnregisterTraceGuids(TRACEHANDLE); + +#ifdef __cplusplus +} +#endif + +#endif /* _EVNTRACE_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evr.h new file mode 100644 index 0000000..c22ca21 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evr.h @@ -0,0 +1,473 @@ +/*** Autogenerated by WIDL 2.18 from evr.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __evr_h__ +#define __evr_h__ + +/* Forward declarations */ + +#ifndef __IMFVideoPresenter_FWD_DEFINED__ +#define __IMFVideoPresenter_FWD_DEFINED__ +typedef interface IMFVideoPresenter IMFVideoPresenter; +#ifdef __cplusplus +interface IMFVideoPresenter; +#endif /* __cplusplus */ +#endif + +#ifndef __IEVRFilterConfig_FWD_DEFINED__ +#define __IEVRFilterConfig_FWD_DEFINED__ +typedef interface IEVRFilterConfig IEVRFilterConfig; +#ifdef __cplusplus +interface IEVRFilterConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFVideoPositionMapper_FWD_DEFINED__ +#define __IMFVideoPositionMapper_FWD_DEFINED__ +typedef interface IMFVideoPositionMapper IMFVideoPositionMapper; +#ifdef __cplusplus +interface IMFVideoPositionMapper; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFVideoRenderer_FWD_DEFINED__ +#define __IMFVideoRenderer_FWD_DEFINED__ +typedef interface IMFVideoRenderer IMFVideoRenderer; +#ifdef __cplusplus +interface IMFVideoRenderer; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _MFVP_MESSAGE_TYPE { + MFVP_MESSAGE_FLUSH = 0, + MFVP_MESSAGE_INVALIDATEMEDIATYPE = 1, + MFVP_MESSAGE_PROCESSINPUTNOTIFY = 2, + MFVP_MESSAGE_BEGINSTREAMING = 3, + MFVP_MESSAGE_ENDSTREAMING = 4, + MFVP_MESSAGE_ENDOFSTREAM = 5, + MFVP_MESSAGE_STEP = 6, + MFVP_MESSAGE_CANCELSTEP = 7 +} MFVP_MESSAGE_TYPE; +/***************************************************************************** + * IMFVideoPresenter interface + */ +#ifndef __IMFVideoPresenter_INTERFACE_DEFINED__ +#define __IMFVideoPresenter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFVideoPresenter, 0x29aff080, 0x182a, 0x4a5d, 0xaf,0x3b, 0x44,0x8f,0x3a,0x63,0x46,0xcb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29aff080-182a-4a5d-af3b-448f3a6346cb") +IMFVideoPresenter : public IMFClockStateSink +{ + virtual HRESULT STDMETHODCALLTYPE ProcessMessage( + MFVP_MESSAGE_TYPE eMessage, + ULONG_PTR ulParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentMediaType( + IMFVideoMediaType **ppMediaType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFVideoPresenter, 0x29aff080, 0x182a, 0x4a5d, 0xaf,0x3b, 0x44,0x8f,0x3a,0x63,0x46,0xcb) +#endif +#else +typedef struct IMFVideoPresenterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFVideoPresenter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFVideoPresenter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFVideoPresenter *This); + + /*** IMFClockStateSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnClockStart)( + IMFVideoPresenter *This, + MFTIME hnsSystemTime, + LONGLONG llClockStartOffset); + + HRESULT (STDMETHODCALLTYPE *OnClockStop)( + IMFVideoPresenter *This, + MFTIME hnssSystemTime); + + HRESULT (STDMETHODCALLTYPE *OnClockPause)( + IMFVideoPresenter *This, + MFTIME hnsSystemTime); + + HRESULT (STDMETHODCALLTYPE *OnClockRestart)( + IMFVideoPresenter *This, + MFTIME hnsSystemTime); + + HRESULT (STDMETHODCALLTYPE *OnClockSetRate)( + IMFVideoPresenter *This, + MFTIME hnsSystemTime, + float flRate); + + /*** IMFVideoPresenter methods ***/ + HRESULT (STDMETHODCALLTYPE *ProcessMessage)( + IMFVideoPresenter *This, + MFVP_MESSAGE_TYPE eMessage, + ULONG_PTR ulParam); + + HRESULT (STDMETHODCALLTYPE *GetCurrentMediaType)( + IMFVideoPresenter *This, + IMFVideoMediaType **ppMediaType); + + END_INTERFACE +} IMFVideoPresenterVtbl; + +interface IMFVideoPresenter { + CONST_VTBL IMFVideoPresenterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFVideoPresenter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFVideoPresenter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFVideoPresenter_Release(This) (This)->lpVtbl->Release(This) +/*** IMFClockStateSink methods ***/ +#define IMFVideoPresenter_OnClockStart(This,hnsSystemTime,llClockStartOffset) (This)->lpVtbl->OnClockStart(This,hnsSystemTime,llClockStartOffset) +#define IMFVideoPresenter_OnClockStop(This,hnssSystemTime) (This)->lpVtbl->OnClockStop(This,hnssSystemTime) +#define IMFVideoPresenter_OnClockPause(This,hnsSystemTime) (This)->lpVtbl->OnClockPause(This,hnsSystemTime) +#define IMFVideoPresenter_OnClockRestart(This,hnsSystemTime) (This)->lpVtbl->OnClockRestart(This,hnsSystemTime) +#define IMFVideoPresenter_OnClockSetRate(This,hnsSystemTime,flRate) (This)->lpVtbl->OnClockSetRate(This,hnsSystemTime,flRate) +/*** IMFVideoPresenter methods ***/ +#define IMFVideoPresenter_ProcessMessage(This,eMessage,ulParam) (This)->lpVtbl->ProcessMessage(This,eMessage,ulParam) +#define IMFVideoPresenter_GetCurrentMediaType(This,ppMediaType) (This)->lpVtbl->GetCurrentMediaType(This,ppMediaType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFVideoPresenter_QueryInterface(IMFVideoPresenter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFVideoPresenter_AddRef(IMFVideoPresenter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFVideoPresenter_Release(IMFVideoPresenter* This) { + return This->lpVtbl->Release(This); +} +/*** IMFClockStateSink methods ***/ +static FORCEINLINE HRESULT IMFVideoPresenter_OnClockStart(IMFVideoPresenter* This,MFTIME hnsSystemTime,LONGLONG llClockStartOffset) { + return This->lpVtbl->OnClockStart(This,hnsSystemTime,llClockStartOffset); +} +static FORCEINLINE HRESULT IMFVideoPresenter_OnClockStop(IMFVideoPresenter* This,MFTIME hnssSystemTime) { + return This->lpVtbl->OnClockStop(This,hnssSystemTime); +} +static FORCEINLINE HRESULT IMFVideoPresenter_OnClockPause(IMFVideoPresenter* This,MFTIME hnsSystemTime) { + return This->lpVtbl->OnClockPause(This,hnsSystemTime); +} +static FORCEINLINE HRESULT IMFVideoPresenter_OnClockRestart(IMFVideoPresenter* This,MFTIME hnsSystemTime) { + return This->lpVtbl->OnClockRestart(This,hnsSystemTime); +} +static FORCEINLINE HRESULT IMFVideoPresenter_OnClockSetRate(IMFVideoPresenter* This,MFTIME hnsSystemTime,float flRate) { + return This->lpVtbl->OnClockSetRate(This,hnsSystemTime,flRate); +} +/*** IMFVideoPresenter methods ***/ +static FORCEINLINE HRESULT IMFVideoPresenter_ProcessMessage(IMFVideoPresenter* This,MFVP_MESSAGE_TYPE eMessage,ULONG_PTR ulParam) { + return This->lpVtbl->ProcessMessage(This,eMessage,ulParam); +} +static FORCEINLINE HRESULT IMFVideoPresenter_GetCurrentMediaType(IMFVideoPresenter* This,IMFVideoMediaType **ppMediaType) { + return This->lpVtbl->GetCurrentMediaType(This,ppMediaType); +} +#endif +#endif + +#endif + + +#endif /* __IMFVideoPresenter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEVRFilterConfig interface + */ +#ifndef __IEVRFilterConfig_INTERFACE_DEFINED__ +#define __IEVRFilterConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEVRFilterConfig, 0x83e91e85, 0x82c1, 0x4ea7, 0x80,0x1d, 0x85,0xdc,0x50,0xb7,0x50,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("83e91e85-82c1-4ea7-801d-85dc50b75086") +IEVRFilterConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetNumberOfStreams( + DWORD dwMaxStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( + DWORD *pdwMaxStreams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEVRFilterConfig, 0x83e91e85, 0x82c1, 0x4ea7, 0x80,0x1d, 0x85,0xdc,0x50,0xb7,0x50,0x86) +#endif +#else +typedef struct IEVRFilterConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEVRFilterConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEVRFilterConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEVRFilterConfig *This); + + /*** IEVRFilterConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetNumberOfStreams)( + IEVRFilterConfig *This, + DWORD dwMaxStreams); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfStreams)( + IEVRFilterConfig *This, + DWORD *pdwMaxStreams); + + END_INTERFACE +} IEVRFilterConfigVtbl; + +interface IEVRFilterConfig { + CONST_VTBL IEVRFilterConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEVRFilterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEVRFilterConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEVRFilterConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IEVRFilterConfig methods ***/ +#define IEVRFilterConfig_SetNumberOfStreams(This,dwMaxStreams) (This)->lpVtbl->SetNumberOfStreams(This,dwMaxStreams) +#define IEVRFilterConfig_GetNumberOfStreams(This,pdwMaxStreams) (This)->lpVtbl->GetNumberOfStreams(This,pdwMaxStreams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEVRFilterConfig_QueryInterface(IEVRFilterConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEVRFilterConfig_AddRef(IEVRFilterConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEVRFilterConfig_Release(IEVRFilterConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IEVRFilterConfig methods ***/ +static FORCEINLINE HRESULT IEVRFilterConfig_SetNumberOfStreams(IEVRFilterConfig* This,DWORD dwMaxStreams) { + return This->lpVtbl->SetNumberOfStreams(This,dwMaxStreams); +} +static FORCEINLINE HRESULT IEVRFilterConfig_GetNumberOfStreams(IEVRFilterConfig* This,DWORD *pdwMaxStreams) { + return This->lpVtbl->GetNumberOfStreams(This,pdwMaxStreams); +} +#endif +#endif + +#endif + + +#endif /* __IEVRFilterConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFVideoPositionMapper interface + */ +#ifndef __IMFVideoPositionMapper_INTERFACE_DEFINED__ +#define __IMFVideoPositionMapper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFVideoPositionMapper, 0x1f6a9f17, 0xe70b, 0x4e24, 0x8a,0xe4, 0x0b,0x2c,0x3b,0xa7,0xa4,0xae); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f6a9f17-e70b-4e24-8ae4-0b2c3ba7a4ae") +IMFVideoPositionMapper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE MapOutputCoordinateToInputStream( + float xOut, + float yOut, + DWORD dwOutputStreamIndex, + DWORD dwInputStreamIndex, + float *pxIn, + float *pyIn) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFVideoPositionMapper, 0x1f6a9f17, 0xe70b, 0x4e24, 0x8a,0xe4, 0x0b,0x2c,0x3b,0xa7,0xa4,0xae) +#endif +#else +typedef struct IMFVideoPositionMapperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFVideoPositionMapper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFVideoPositionMapper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFVideoPositionMapper *This); + + /*** IMFVideoPositionMapper methods ***/ + HRESULT (STDMETHODCALLTYPE *MapOutputCoordinateToInputStream)( + IMFVideoPositionMapper *This, + float xOut, + float yOut, + DWORD dwOutputStreamIndex, + DWORD dwInputStreamIndex, + float *pxIn, + float *pyIn); + + END_INTERFACE +} IMFVideoPositionMapperVtbl; + +interface IMFVideoPositionMapper { + CONST_VTBL IMFVideoPositionMapperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFVideoPositionMapper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFVideoPositionMapper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFVideoPositionMapper_Release(This) (This)->lpVtbl->Release(This) +/*** IMFVideoPositionMapper methods ***/ +#define IMFVideoPositionMapper_MapOutputCoordinateToInputStream(This,xOut,yOut,dwOutputStreamIndex,dwInputStreamIndex,pxIn,pyIn) (This)->lpVtbl->MapOutputCoordinateToInputStream(This,xOut,yOut,dwOutputStreamIndex,dwInputStreamIndex,pxIn,pyIn) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFVideoPositionMapper_QueryInterface(IMFVideoPositionMapper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFVideoPositionMapper_AddRef(IMFVideoPositionMapper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFVideoPositionMapper_Release(IMFVideoPositionMapper* This) { + return This->lpVtbl->Release(This); +} +/*** IMFVideoPositionMapper methods ***/ +static FORCEINLINE HRESULT IMFVideoPositionMapper_MapOutputCoordinateToInputStream(IMFVideoPositionMapper* This,float xOut,float yOut,DWORD dwOutputStreamIndex,DWORD dwInputStreamIndex,float *pxIn,float *pyIn) { + return This->lpVtbl->MapOutputCoordinateToInputStream(This,xOut,yOut,dwOutputStreamIndex,dwInputStreamIndex,pxIn,pyIn); +} +#endif +#endif + +#endif + + +#endif /* __IMFVideoPositionMapper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFVideoRenderer interface + */ +#ifndef __IMFVideoRenderer_INTERFACE_DEFINED__ +#define __IMFVideoRenderer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFVideoRenderer, 0xdfdfd197, 0xa9ca, 0x43d8, 0xb3,0x41, 0x6a,0xf3,0x50,0x37,0x92,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dfdfd197-a9ca-43d8-b341-6af3503792cd") +IMFVideoRenderer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitializeRenderer( + IMFTransform *pVideoMixer, + IMFVideoPresenter *pVideoPresenter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFVideoRenderer, 0xdfdfd197, 0xa9ca, 0x43d8, 0xb3,0x41, 0x6a,0xf3,0x50,0x37,0x92,0xcd) +#endif +#else +typedef struct IMFVideoRendererVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFVideoRenderer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFVideoRenderer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFVideoRenderer *This); + + /*** IMFVideoRenderer methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeRenderer)( + IMFVideoRenderer *This, + IMFTransform *pVideoMixer, + IMFVideoPresenter *pVideoPresenter); + + END_INTERFACE +} IMFVideoRendererVtbl; + +interface IMFVideoRenderer { + CONST_VTBL IMFVideoRendererVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFVideoRenderer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFVideoRenderer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFVideoRenderer_Release(This) (This)->lpVtbl->Release(This) +/*** IMFVideoRenderer methods ***/ +#define IMFVideoRenderer_InitializeRenderer(This,pVideoMixer,pVideoPresenter) (This)->lpVtbl->InitializeRenderer(This,pVideoMixer,pVideoPresenter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFVideoRenderer_QueryInterface(IMFVideoRenderer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFVideoRenderer_AddRef(IMFVideoRenderer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFVideoRenderer_Release(IMFVideoRenderer* This) { + return This->lpVtbl->Release(This); +} +/*** IMFVideoRenderer methods ***/ +static FORCEINLINE HRESULT IMFVideoRenderer_InitializeRenderer(IMFVideoRenderer* This,IMFTransform *pVideoMixer,IMFVideoPresenter *pVideoPresenter) { + return This->lpVtbl->InitializeRenderer(This,pVideoMixer,pVideoPresenter); +} +#endif +#endif + +#endif + + +#endif /* __IMFVideoRenderer_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __evr_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evr.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evr.idl new file mode 100644 index 0000000..22f745e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/evr.idl @@ -0,0 +1,98 @@ +/* + * COM Classes for evr + * + * Copyright 2017 Fabian Maurer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "propidl.idl"; +import "mfidl.idl"; +import "mftransform.idl"; +import "mediaobj.idl"; +import "strmif.idl"; + +typedef enum _MFVP_MESSAGE_TYPE { + MFVP_MESSAGE_FLUSH, + MFVP_MESSAGE_INVALIDATEMEDIATYPE, + MFVP_MESSAGE_PROCESSINPUTNOTIFY, + MFVP_MESSAGE_BEGINSTREAMING, + MFVP_MESSAGE_ENDSTREAMING, + MFVP_MESSAGE_ENDOFSTREAM, + MFVP_MESSAGE_STEP, + MFVP_MESSAGE_CANCELSTEP, +} MFVP_MESSAGE_TYPE; + +[ + object, + uuid(29aff080-182a-4a5d-af3b-448f3a6346cb), + local +] +interface IMFVideoPresenter : IMFClockStateSink +{ + HRESULT ProcessMessage( + [in] MFVP_MESSAGE_TYPE eMessage, + [in] ULONG_PTR ulParam + ); + HRESULT GetCurrentMediaType( + [out] IMFVideoMediaType **ppMediaType + ); +} + +[ + object, + uuid(83e91e85-82c1-4ea7-801d-85dc50b75086), + local +] +interface IEVRFilterConfig : IUnknown +{ + HRESULT SetNumberOfStreams( + [in] DWORD dwMaxStreams + ); + HRESULT GetNumberOfStreams( + [out] DWORD *pdwMaxStreams + ); +} + +[ + object, + uuid(1f6a9f17-e70b-4e24-8ae4-0b2c3ba7a4ae), + local +] +interface IMFVideoPositionMapper : IUnknown +{ + HRESULT MapOutputCoordinateToInputStream( + [in] float xOut, + [in] float yOut, + [in] DWORD dwOutputStreamIndex, + [in] DWORD dwInputStreamIndex, + [out] float *pxIn, + [out] float *pyIn + ); +} + +[ + object, + uuid(dfdfd197-a9ca-43d8-b341-6af3503792cd), + local +] +interface IMFVideoRenderer : IUnknown +{ + HRESULT InitializeRenderer( + [in] IMFTransform *pVideoMixer, + [in] IMFVideoPresenter *pVideoPresenter + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/excpt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/excpt.h new file mode 100644 index 0000000..3369f3b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/excpt.h @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2002 Peter Hunnisett + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_EXCPT_H +#define __WINE_EXCPT_H + +/* + * Return values from the actual exception handlers + */ +typedef enum _EXCEPTION_DISPOSITION +{ + ExceptionContinueExecution, + ExceptionContinueSearch, + ExceptionNestedException, + ExceptionCollidedUnwind +} EXCEPTION_DISPOSITION; + +/* + * Return values from filters in except() and from UnhandledExceptionFilter + */ +#define EXCEPTION_EXECUTE_HANDLER 1 +#define EXCEPTION_CONTINUE_SEARCH 0 +#define EXCEPTION_CONTINUE_EXECUTION -1 + + +#if defined(_MSC_VER) && defined(USE_COMPILER_EXCEPTIONS) +#define GetExceptionCode _exception_code +#define GetExceptionInformation (struct _EXCEPTION_POINTERS *)_exception_info +#define AbnormalTermination _abnormal_termination + +unsigned long __cdecl _exception_code(void); +void * __cdecl _exception_info(void); +int __cdecl _abnormal_termination(void); +#endif /* defined(_MSC_VER) && defined(USE_COMPILER_EXCEPTIONS) */ + +#endif /* __WINE_EXCPT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdisp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdisp.h new file mode 100644 index 0000000..aef89b4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdisp.h @@ -0,0 +1,6073 @@ +/*** Autogenerated by WIDL 2.18 from exdisp.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __exdisp_h__ +#define __exdisp_h__ + +/* Forward declarations */ + +#ifndef __IWebBrowser_FWD_DEFINED__ +#define __IWebBrowser_FWD_DEFINED__ +typedef interface IWebBrowser IWebBrowser; +#ifdef __cplusplus +interface IWebBrowser; +#endif /* __cplusplus */ +#endif + +#ifndef __DWebBrowserEvents_FWD_DEFINED__ +#define __DWebBrowserEvents_FWD_DEFINED__ +typedef interface DWebBrowserEvents DWebBrowserEvents; +#ifdef __cplusplus +interface DWebBrowserEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebBrowserApp_FWD_DEFINED__ +#define __IWebBrowserApp_FWD_DEFINED__ +typedef interface IWebBrowserApp IWebBrowserApp; +#ifdef __cplusplus +interface IWebBrowserApp; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebBrowser2_FWD_DEFINED__ +#define __IWebBrowser2_FWD_DEFINED__ +typedef interface IWebBrowser2 IWebBrowser2; +#ifdef __cplusplus +interface IWebBrowser2; +#endif /* __cplusplus */ +#endif + +#ifndef __DWebBrowserEvents2_FWD_DEFINED__ +#define __DWebBrowserEvents2_FWD_DEFINED__ +typedef interface DWebBrowserEvents2 DWebBrowserEvents2; +#ifdef __cplusplus +interface DWebBrowserEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __WebBrowser_V1_FWD_DEFINED__ +#define __WebBrowser_V1_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WebBrowser_V1 WebBrowser_V1; +#else +typedef struct WebBrowser_V1 WebBrowser_V1; +#endif /* defined __cplusplus */ +#endif /* defined __WebBrowser_V1_FWD_DEFINED__ */ + +#ifndef __WebBrowser_FWD_DEFINED__ +#define __WebBrowser_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WebBrowser WebBrowser; +#else +typedef struct WebBrowser WebBrowser; +#endif /* defined __cplusplus */ +#endif /* defined __WebBrowser_FWD_DEFINED__ */ + +#ifndef __InternetExplorer_FWD_DEFINED__ +#define __InternetExplorer_FWD_DEFINED__ +#ifdef __cplusplus +typedef class InternetExplorer InternetExplorer; +#else +typedef struct InternetExplorer InternetExplorer; +#endif /* defined __cplusplus */ +#endif /* defined __InternetExplorer_FWD_DEFINED__ */ + +#ifndef __ShellBrowserWindow_FWD_DEFINED__ +#define __ShellBrowserWindow_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellBrowserWindow ShellBrowserWindow; +#else +typedef struct ShellBrowserWindow ShellBrowserWindow; +#endif /* defined __cplusplus */ +#endif /* defined __ShellBrowserWindow_FWD_DEFINED__ */ + +#ifndef __DShellWindowsEvents_FWD_DEFINED__ +#define __DShellWindowsEvents_FWD_DEFINED__ +typedef interface DShellWindowsEvents DShellWindowsEvents; +#ifdef __cplusplus +interface DShellWindowsEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellWindows_FWD_DEFINED__ +#define __IShellWindows_FWD_DEFINED__ +typedef interface IShellWindows IShellWindows; +#ifdef __cplusplus +interface IShellWindows; +#endif /* __cplusplus */ +#endif + +#ifndef __ShellWindows_FWD_DEFINED__ +#define __ShellWindows_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellWindows ShellWindows; +#else +typedef struct ShellWindows ShellWindows; +#endif /* defined __cplusplus */ +#endif /* defined __ShellWindows_FWD_DEFINED__ */ + +#ifndef __IShellUIHelper_FWD_DEFINED__ +#define __IShellUIHelper_FWD_DEFINED__ +typedef interface IShellUIHelper IShellUIHelper; +#ifdef __cplusplus +interface IShellUIHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellUIHelper2_FWD_DEFINED__ +#define __IShellUIHelper2_FWD_DEFINED__ +typedef interface IShellUIHelper2 IShellUIHelper2; +#ifdef __cplusplus +interface IShellUIHelper2; +#endif /* __cplusplus */ +#endif + +#ifndef __ShellUIHelper_FWD_DEFINED__ +#define __ShellUIHelper_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellUIHelper ShellUIHelper; +#else +typedef struct ShellUIHelper ShellUIHelper; +#endif /* defined __cplusplus */ +#endif /* defined __ShellUIHelper_FWD_DEFINED__ */ + +#ifndef __DShellNameSpaceEvents_FWD_DEFINED__ +#define __DShellNameSpaceEvents_FWD_DEFINED__ +typedef interface DShellNameSpaceEvents DShellNameSpaceEvents; +#ifdef __cplusplus +interface DShellNameSpaceEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellFavoritesNameSpace_FWD_DEFINED__ +#define __IShellFavoritesNameSpace_FWD_DEFINED__ +typedef interface IShellFavoritesNameSpace IShellFavoritesNameSpace; +#ifdef __cplusplus +interface IShellFavoritesNameSpace; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellNameSpace_FWD_DEFINED__ +#define __IShellNameSpace_FWD_DEFINED__ +typedef interface IShellNameSpace IShellNameSpace; +#ifdef __cplusplus +interface IShellNameSpace; +#endif /* __cplusplus */ +#endif + +#ifndef __ShellShellNameSpace_FWD_DEFINED__ +#define __ShellShellNameSpace_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellShellNameSpace ShellShellNameSpace; +#else +typedef struct ShellShellNameSpace ShellShellNameSpace; +#endif /* defined __cplusplus */ +#endif /* defined __ShellShellNameSpace_FWD_DEFINED__ */ + +#ifndef __ShellNameSpace_FWD_DEFINED__ +#define __ShellNameSpace_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellNameSpace ShellNameSpace; +#else +typedef struct ShellNameSpace ShellNameSpace; +#endif /* defined __cplusplus */ +#endif /* defined __ShellNameSpace_FWD_DEFINED__ */ + +#ifndef __IScriptErrorList_FWD_DEFINED__ +#define __IScriptErrorList_FWD_DEFINED__ +typedef interface IScriptErrorList IScriptErrorList; +#ifdef __cplusplus +interface IScriptErrorList; +#endif /* __cplusplus */ +#endif + +#ifndef __CScriptErrorList_FWD_DEFINED__ +#define __CScriptErrorList_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CScriptErrorList CScriptErrorList; +#else +typedef struct CScriptErrorList CScriptErrorList; +#endif /* defined __cplusplus */ +#endif /* defined __CScriptErrorList_FWD_DEFINED__ */ + +#ifndef __ISearch_FWD_DEFINED__ +#define __ISearch_FWD_DEFINED__ +typedef interface ISearch ISearch; +#ifdef __cplusplus +interface ISearch; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearches_FWD_DEFINED__ +#define __ISearches_FWD_DEFINED__ +typedef interface ISearches ISearches; +#ifdef __cplusplus +interface ISearches; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearchAssistantOC_FWD_DEFINED__ +#define __ISearchAssistantOC_FWD_DEFINED__ +typedef interface ISearchAssistantOC ISearchAssistantOC; +#ifdef __cplusplus +interface ISearchAssistantOC; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearchAssistantOC2_FWD_DEFINED__ +#define __ISearchAssistantOC2_FWD_DEFINED__ +typedef interface ISearchAssistantOC2 ISearchAssistantOC2; +#ifdef __cplusplus +interface ISearchAssistantOC2; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearchAssistantOC3_FWD_DEFINED__ +#define __ISearchAssistantOC3_FWD_DEFINED__ +typedef interface ISearchAssistantOC3 ISearchAssistantOC3; +#ifdef __cplusplus +interface ISearchAssistantOC3; +#endif /* __cplusplus */ +#endif + +#ifndef ___SearchAssistantEvents_FWD_DEFINED__ +#define ___SearchAssistantEvents_FWD_DEFINED__ +typedef interface _SearchAssistantEvents _SearchAssistantEvents; +#ifdef __cplusplus +interface _SearchAssistantEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __ShellSearchAssistantOC_FWD_DEFINED__ +#define __ShellSearchAssistantOC_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellSearchAssistantOC ShellSearchAssistantOC; +#else +typedef struct ShellSearchAssistantOC ShellSearchAssistantOC; +#endif /* defined __cplusplus */ +#endif /* defined __ShellSearchAssistantOC_FWD_DEFINED__ */ + +#ifndef __SearchAssistantOC_FWD_DEFINED__ +#define __SearchAssistantOC_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SearchAssistantOC SearchAssistantOC; +#else +typedef struct SearchAssistantOC SearchAssistantOC; +#endif /* defined __cplusplus */ +#endif /* defined __SearchAssistantOC_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef FindText +#endif + +DEFINE_GUID(LIBID_SHDocVw, 0xeab22ac0, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b); + +/***************************************************************************** + * IWebBrowser interface + */ +#ifndef __IWebBrowser_INTERFACE_DEFINED__ +#define __IWebBrowser_INTERFACE_DEFINED__ + +typedef enum BrowserNavConstants { + navOpenInNewWindow = 0x1, + navNoHistory = 0x2, + navNoReadFromCache = 0x4, + navNoWriteToCache = 0x8, + navAllowAutosearch = 0x10, + navBrowserBar = 0x20, + navHyperlink = 0x40, + navEnforceRestricted = 0x80, + navNewWindowsManaged = 0x100, + navUntrustedForDownload = 0x200, + navTrustedForActiveX = 0x400, + navOpenInNewTab = 0x800, + navOpenInBackgroundTab = 0x1000, + navKeepWordWheelText = 0x2000, + navVirtualTab = 0x4000, + navBlockRedirectsXDomain = 0x8000, + navOpenNewForegroundTab = 0x10000, + navTravelLogScreenshot = 0x20000, + navDeferUnload = 0x40000, + navSpeculative = 0x80000, + navSuggestNewWindow = 0x100000, + navSuggestNewTab = 0x200000, + navReserved1 = 0x400000, + navHomepageNavigate = 0x800000, + navRefresh = 0x1000000, + navHostNavigation = 0x2000000, + navReserved2 = 0x4000000, + navReserved3 = 0x8000000, + navReserved4 = 0x10000000 +} BrowserNavConstants; +typedef enum RefreshConstants { + REFRESH_NORMAL = 0, + REFRESH_IFEXPIRED = 1, + REFRESH_COMPLETELY = 3 +} RefreshConstants; +DEFINE_GUID(IID_IWebBrowser, 0xeab22ac1, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eab22ac1-30c1-11cf-a7eb-0000c05bae0b") +IWebBrowser : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GoBack( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GoForward( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GoHome( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GoSearch( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Navigate( + BSTR URL, + VARIANT *Flags, + VARIANT *TargetFrameName, + VARIANT *PostData, + VARIANT *Headers) = 0; + + virtual HRESULT STDMETHODCALLTYPE Refresh( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Refresh2( + VARIANT *Level) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Container( + IDispatch **ppDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Document( + IDispatch **ppDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TopLevelContainer( + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + BSTR *Type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Left( + LONG *pl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Left( + LONG Left) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Top( + LONG *pl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Top( + LONG Top) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Width( + LONG *pl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Width( + LONG Width) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Height( + LONG *pl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Height( + LONG Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocationName( + BSTR *LocationName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocationURL( + BSTR *LocationURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Busy( + VARIANT_BOOL *pBool) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBrowser, 0xeab22ac1, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b) +#endif +#else +typedef struct IWebBrowserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBrowser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBrowser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBrowser *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWebBrowser *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWebBrowser *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWebBrowser *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWebBrowser *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWebBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *GoBack)( + IWebBrowser *This); + + HRESULT (STDMETHODCALLTYPE *GoForward)( + IWebBrowser *This); + + HRESULT (STDMETHODCALLTYPE *GoHome)( + IWebBrowser *This); + + HRESULT (STDMETHODCALLTYPE *GoSearch)( + IWebBrowser *This); + + HRESULT (STDMETHODCALLTYPE *Navigate)( + IWebBrowser *This, + BSTR URL, + VARIANT *Flags, + VARIANT *TargetFrameName, + VARIANT *PostData, + VARIANT *Headers); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IWebBrowser *This); + + HRESULT (STDMETHODCALLTYPE *Refresh2)( + IWebBrowser *This, + VARIANT *Level); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IWebBrowser *This); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + IWebBrowser *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IWebBrowser *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Container)( + IWebBrowser *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Document)( + IWebBrowser *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_TopLevelContainer)( + IWebBrowser *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IWebBrowser *This, + BSTR *Type); + + HRESULT (STDMETHODCALLTYPE *get_Left)( + IWebBrowser *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Left)( + IWebBrowser *This, + LONG Left); + + HRESULT (STDMETHODCALLTYPE *get_Top)( + IWebBrowser *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Top)( + IWebBrowser *This, + LONG Top); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IWebBrowser *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Width)( + IWebBrowser *This, + LONG Width); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IWebBrowser *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Height)( + IWebBrowser *This, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *get_LocationName)( + IWebBrowser *This, + BSTR *LocationName); + + HRESULT (STDMETHODCALLTYPE *get_LocationURL)( + IWebBrowser *This, + BSTR *LocationURL); + + HRESULT (STDMETHODCALLTYPE *get_Busy)( + IWebBrowser *This, + VARIANT_BOOL *pBool); + + END_INTERFACE +} IWebBrowserVtbl; + +interface IWebBrowser { + CONST_VTBL IWebBrowserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBrowser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBrowser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBrowser_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWebBrowser_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWebBrowser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWebBrowser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWebBrowser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWebBrowser methods ***/ +#define IWebBrowser_GoBack(This) (This)->lpVtbl->GoBack(This) +#define IWebBrowser_GoForward(This) (This)->lpVtbl->GoForward(This) +#define IWebBrowser_GoHome(This) (This)->lpVtbl->GoHome(This) +#define IWebBrowser_GoSearch(This) (This)->lpVtbl->GoSearch(This) +#define IWebBrowser_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) +#define IWebBrowser_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IWebBrowser_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level) +#define IWebBrowser_Stop(This) (This)->lpVtbl->Stop(This) +#define IWebBrowser_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp) +#define IWebBrowser_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp) +#define IWebBrowser_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp) +#define IWebBrowser_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp) +#define IWebBrowser_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool) +#define IWebBrowser_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type) +#define IWebBrowser_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl) +#define IWebBrowser_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left) +#define IWebBrowser_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl) +#define IWebBrowser_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top) +#define IWebBrowser_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl) +#define IWebBrowser_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width) +#define IWebBrowser_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl) +#define IWebBrowser_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height) +#define IWebBrowser_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName) +#define IWebBrowser_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL) +#define IWebBrowser_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBrowser_QueryInterface(IWebBrowser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBrowser_AddRef(IWebBrowser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBrowser_Release(IWebBrowser* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWebBrowser_GetTypeInfoCount(IWebBrowser* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWebBrowser_GetTypeInfo(IWebBrowser* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWebBrowser_GetIDsOfNames(IWebBrowser* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWebBrowser_Invoke(IWebBrowser* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWebBrowser methods ***/ +static FORCEINLINE HRESULT IWebBrowser_GoBack(IWebBrowser* This) { + return This->lpVtbl->GoBack(This); +} +static FORCEINLINE HRESULT IWebBrowser_GoForward(IWebBrowser* This) { + return This->lpVtbl->GoForward(This); +} +static FORCEINLINE HRESULT IWebBrowser_GoHome(IWebBrowser* This) { + return This->lpVtbl->GoHome(This); +} +static FORCEINLINE HRESULT IWebBrowser_GoSearch(IWebBrowser* This) { + return This->lpVtbl->GoSearch(This); +} +static FORCEINLINE HRESULT IWebBrowser_Navigate(IWebBrowser* This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) { + return This->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers); +} +static FORCEINLINE HRESULT IWebBrowser_Refresh(IWebBrowser* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IWebBrowser_Refresh2(IWebBrowser* This,VARIANT *Level) { + return This->lpVtbl->Refresh2(This,Level); +} +static FORCEINLINE HRESULT IWebBrowser_Stop(IWebBrowser* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IWebBrowser_get_Application(IWebBrowser* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Application(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser_get_Parent(IWebBrowser* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Parent(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser_get_Container(IWebBrowser* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Container(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser_get_Document(IWebBrowser* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Document(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser_get_TopLevelContainer(IWebBrowser* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_TopLevelContainer(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowser_get_Type(IWebBrowser* This,BSTR *Type) { + return This->lpVtbl->get_Type(This,Type); +} +static FORCEINLINE HRESULT IWebBrowser_get_Left(IWebBrowser* This,LONG *pl) { + return This->lpVtbl->get_Left(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser_put_Left(IWebBrowser* This,LONG Left) { + return This->lpVtbl->put_Left(This,Left); +} +static FORCEINLINE HRESULT IWebBrowser_get_Top(IWebBrowser* This,LONG *pl) { + return This->lpVtbl->get_Top(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser_put_Top(IWebBrowser* This,LONG Top) { + return This->lpVtbl->put_Top(This,Top); +} +static FORCEINLINE HRESULT IWebBrowser_get_Width(IWebBrowser* This,LONG *pl) { + return This->lpVtbl->get_Width(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser_put_Width(IWebBrowser* This,LONG Width) { + return This->lpVtbl->put_Width(This,Width); +} +static FORCEINLINE HRESULT IWebBrowser_get_Height(IWebBrowser* This,LONG *pl) { + return This->lpVtbl->get_Height(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser_put_Height(IWebBrowser* This,LONG Height) { + return This->lpVtbl->put_Height(This,Height); +} +static FORCEINLINE HRESULT IWebBrowser_get_LocationName(IWebBrowser* This,BSTR *LocationName) { + return This->lpVtbl->get_LocationName(This,LocationName); +} +static FORCEINLINE HRESULT IWebBrowser_get_LocationURL(IWebBrowser* This,BSTR *LocationURL) { + return This->lpVtbl->get_LocationURL(This,LocationURL); +} +static FORCEINLINE HRESULT IWebBrowser_get_Busy(IWebBrowser* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_Busy(This,pBool); +} +#endif +#endif + +#endif + + +#endif /* __IWebBrowser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DWebBrowserEvents dispinterface + */ +#ifndef __DWebBrowserEvents_DISPINTERFACE_DEFINED__ +#define __DWebBrowserEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DWebBrowserEvents, 0xeab22ac2, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eab22ac2-30c1-11cf-a7eb-0000c05bae0b") +DWebBrowserEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DWebBrowserEvents, 0xeab22ac2, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b) +#endif +#else +typedef struct DWebBrowserEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DWebBrowserEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DWebBrowserEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DWebBrowserEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DWebBrowserEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DWebBrowserEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DWebBrowserEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DWebBrowserEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DWebBrowserEventsVtbl; + +interface DWebBrowserEvents { + CONST_VTBL DWebBrowserEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DWebBrowserEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DWebBrowserEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DWebBrowserEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DWebBrowserEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DWebBrowserEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DWebBrowserEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DWebBrowserEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DWebBrowserEvents_QueryInterface(DWebBrowserEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DWebBrowserEvents_AddRef(DWebBrowserEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DWebBrowserEvents_Release(DWebBrowserEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DWebBrowserEvents_GetTypeInfoCount(DWebBrowserEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DWebBrowserEvents_GetTypeInfo(DWebBrowserEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DWebBrowserEvents_GetIDsOfNames(DWebBrowserEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DWebBrowserEvents_Invoke(DWebBrowserEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DWebBrowserEvents_DISPINTERFACE_DEFINED__ */ + +typedef enum CommandStateChangeConstants { + CSC_UPDATECOMMANDS = -1, + CSC_NAVIGATEFORWARD = 1, + CSC_NAVIGATEBACK = 2 +} CommandStateChangeConstants; +/***************************************************************************** + * IWebBrowserApp interface + */ +#ifndef __IWebBrowserApp_INTERFACE_DEFINED__ +#define __IWebBrowserApp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebBrowserApp, 0x0002df05, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002df05-0000-0000-c000-000000000046") +IWebBrowserApp : public IWebBrowser +{ + virtual HRESULT STDMETHODCALLTYPE Quit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClientToWindow( + int *pcx, + int *pcy) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutProperty( + BSTR Property, + VARIANT vtValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + BSTR Property, + VARIANT *pvtValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HWND( + SHANDLE_PTR *pHWND) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FullName( + BSTR *FullName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *Path) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Visible( + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Visible( + VARIANT_BOOL Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StatusBar( + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StatusBar( + VARIANT_BOOL Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StatusText( + BSTR *StatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StatusText( + BSTR StatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ToolBar( + int *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ToolBar( + int Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MenuBar( + VARIANT_BOOL *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MenuBar( + VARIANT_BOOL Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FullScreen( + VARIANT_BOOL *pbFullScreen) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FullScreen( + VARIANT_BOOL bFullScreen) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBrowserApp, 0x0002df05, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IWebBrowserAppVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBrowserApp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBrowserApp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBrowserApp *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWebBrowserApp *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWebBrowserApp *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWebBrowserApp *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWebBrowserApp *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWebBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *GoBack)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *GoForward)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *GoHome)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *GoSearch)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *Navigate)( + IWebBrowserApp *This, + BSTR URL, + VARIANT *Flags, + VARIANT *TargetFrameName, + VARIANT *PostData, + VARIANT *Headers); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *Refresh2)( + IWebBrowserApp *This, + VARIANT *Level); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + IWebBrowserApp *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IWebBrowserApp *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Container)( + IWebBrowserApp *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Document)( + IWebBrowserApp *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_TopLevelContainer)( + IWebBrowserApp *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IWebBrowserApp *This, + BSTR *Type); + + HRESULT (STDMETHODCALLTYPE *get_Left)( + IWebBrowserApp *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Left)( + IWebBrowserApp *This, + LONG Left); + + HRESULT (STDMETHODCALLTYPE *get_Top)( + IWebBrowserApp *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Top)( + IWebBrowserApp *This, + LONG Top); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IWebBrowserApp *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Width)( + IWebBrowserApp *This, + LONG Width); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IWebBrowserApp *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Height)( + IWebBrowserApp *This, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *get_LocationName)( + IWebBrowserApp *This, + BSTR *LocationName); + + HRESULT (STDMETHODCALLTYPE *get_LocationURL)( + IWebBrowserApp *This, + BSTR *LocationURL); + + HRESULT (STDMETHODCALLTYPE *get_Busy)( + IWebBrowserApp *This, + VARIANT_BOOL *pBool); + + /*** IWebBrowserApp methods ***/ + HRESULT (STDMETHODCALLTYPE *Quit)( + IWebBrowserApp *This); + + HRESULT (STDMETHODCALLTYPE *ClientToWindow)( + IWebBrowserApp *This, + int *pcx, + int *pcy); + + HRESULT (STDMETHODCALLTYPE *PutProperty)( + IWebBrowserApp *This, + BSTR Property, + VARIANT vtValue); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IWebBrowserApp *This, + BSTR Property, + VARIANT *pvtValue); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + IWebBrowserApp *This, + BSTR *Name); + + HRESULT (STDMETHODCALLTYPE *get_HWND)( + IWebBrowserApp *This, + SHANDLE_PTR *pHWND); + + HRESULT (STDMETHODCALLTYPE *get_FullName)( + IWebBrowserApp *This, + BSTR *FullName); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + IWebBrowserApp *This, + BSTR *Path); + + HRESULT (STDMETHODCALLTYPE *get_Visible)( + IWebBrowserApp *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *put_Visible)( + IWebBrowserApp *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_StatusBar)( + IWebBrowserApp *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *put_StatusBar)( + IWebBrowserApp *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_StatusText)( + IWebBrowserApp *This, + BSTR *StatusText); + + HRESULT (STDMETHODCALLTYPE *put_StatusText)( + IWebBrowserApp *This, + BSTR StatusText); + + HRESULT (STDMETHODCALLTYPE *get_ToolBar)( + IWebBrowserApp *This, + int *Value); + + HRESULT (STDMETHODCALLTYPE *put_ToolBar)( + IWebBrowserApp *This, + int Value); + + HRESULT (STDMETHODCALLTYPE *get_MenuBar)( + IWebBrowserApp *This, + VARIANT_BOOL *Value); + + HRESULT (STDMETHODCALLTYPE *put_MenuBar)( + IWebBrowserApp *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_FullScreen)( + IWebBrowserApp *This, + VARIANT_BOOL *pbFullScreen); + + HRESULT (STDMETHODCALLTYPE *put_FullScreen)( + IWebBrowserApp *This, + VARIANT_BOOL bFullScreen); + + END_INTERFACE +} IWebBrowserAppVtbl; + +interface IWebBrowserApp { + CONST_VTBL IWebBrowserAppVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBrowserApp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBrowserApp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBrowserApp_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWebBrowserApp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWebBrowserApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWebBrowserApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWebBrowserApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWebBrowser methods ***/ +#define IWebBrowserApp_GoBack(This) (This)->lpVtbl->GoBack(This) +#define IWebBrowserApp_GoForward(This) (This)->lpVtbl->GoForward(This) +#define IWebBrowserApp_GoHome(This) (This)->lpVtbl->GoHome(This) +#define IWebBrowserApp_GoSearch(This) (This)->lpVtbl->GoSearch(This) +#define IWebBrowserApp_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) +#define IWebBrowserApp_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IWebBrowserApp_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level) +#define IWebBrowserApp_Stop(This) (This)->lpVtbl->Stop(This) +#define IWebBrowserApp_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp) +#define IWebBrowserApp_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp) +#define IWebBrowserApp_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp) +#define IWebBrowserApp_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp) +#define IWebBrowserApp_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool) +#define IWebBrowserApp_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type) +#define IWebBrowserApp_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl) +#define IWebBrowserApp_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left) +#define IWebBrowserApp_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl) +#define IWebBrowserApp_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top) +#define IWebBrowserApp_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl) +#define IWebBrowserApp_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width) +#define IWebBrowserApp_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl) +#define IWebBrowserApp_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height) +#define IWebBrowserApp_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName) +#define IWebBrowserApp_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL) +#define IWebBrowserApp_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool) +/*** IWebBrowserApp methods ***/ +#define IWebBrowserApp_Quit(This) (This)->lpVtbl->Quit(This) +#define IWebBrowserApp_ClientToWindow(This,pcx,pcy) (This)->lpVtbl->ClientToWindow(This,pcx,pcy) +#define IWebBrowserApp_PutProperty(This,Property,vtValue) (This)->lpVtbl->PutProperty(This,Property,vtValue) +#define IWebBrowserApp_GetProperty(This,Property,pvtValue) (This)->lpVtbl->GetProperty(This,Property,pvtValue) +#define IWebBrowserApp_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name) +#define IWebBrowserApp_get_HWND(This,pHWND) (This)->lpVtbl->get_HWND(This,pHWND) +#define IWebBrowserApp_get_FullName(This,FullName) (This)->lpVtbl->get_FullName(This,FullName) +#define IWebBrowserApp_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path) +#define IWebBrowserApp_get_Visible(This,pBool) (This)->lpVtbl->get_Visible(This,pBool) +#define IWebBrowserApp_put_Visible(This,Value) (This)->lpVtbl->put_Visible(This,Value) +#define IWebBrowserApp_get_StatusBar(This,pBool) (This)->lpVtbl->get_StatusBar(This,pBool) +#define IWebBrowserApp_put_StatusBar(This,Value) (This)->lpVtbl->put_StatusBar(This,Value) +#define IWebBrowserApp_get_StatusText(This,StatusText) (This)->lpVtbl->get_StatusText(This,StatusText) +#define IWebBrowserApp_put_StatusText(This,StatusText) (This)->lpVtbl->put_StatusText(This,StatusText) +#define IWebBrowserApp_get_ToolBar(This,Value) (This)->lpVtbl->get_ToolBar(This,Value) +#define IWebBrowserApp_put_ToolBar(This,Value) (This)->lpVtbl->put_ToolBar(This,Value) +#define IWebBrowserApp_get_MenuBar(This,Value) (This)->lpVtbl->get_MenuBar(This,Value) +#define IWebBrowserApp_put_MenuBar(This,Value) (This)->lpVtbl->put_MenuBar(This,Value) +#define IWebBrowserApp_get_FullScreen(This,pbFullScreen) (This)->lpVtbl->get_FullScreen(This,pbFullScreen) +#define IWebBrowserApp_put_FullScreen(This,bFullScreen) (This)->lpVtbl->put_FullScreen(This,bFullScreen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBrowserApp_QueryInterface(IWebBrowserApp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBrowserApp_AddRef(IWebBrowserApp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBrowserApp_Release(IWebBrowserApp* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWebBrowserApp_GetTypeInfoCount(IWebBrowserApp* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWebBrowserApp_GetTypeInfo(IWebBrowserApp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWebBrowserApp_GetIDsOfNames(IWebBrowserApp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWebBrowserApp_Invoke(IWebBrowserApp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWebBrowser methods ***/ +static FORCEINLINE HRESULT IWebBrowserApp_GoBack(IWebBrowserApp* This) { + return This->lpVtbl->GoBack(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_GoForward(IWebBrowserApp* This) { + return This->lpVtbl->GoForward(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_GoHome(IWebBrowserApp* This) { + return This->lpVtbl->GoHome(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_GoSearch(IWebBrowserApp* This) { + return This->lpVtbl->GoSearch(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_Navigate(IWebBrowserApp* This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) { + return This->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers); +} +static FORCEINLINE HRESULT IWebBrowserApp_Refresh(IWebBrowserApp* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_Refresh2(IWebBrowserApp* This,VARIANT *Level) { + return This->lpVtbl->Refresh2(This,Level); +} +static FORCEINLINE HRESULT IWebBrowserApp_Stop(IWebBrowserApp* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Application(IWebBrowserApp* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Application(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Parent(IWebBrowserApp* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Parent(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Container(IWebBrowserApp* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Container(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Document(IWebBrowserApp* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Document(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_TopLevelContainer(IWebBrowserApp* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_TopLevelContainer(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Type(IWebBrowserApp* This,BSTR *Type) { + return This->lpVtbl->get_Type(This,Type); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Left(IWebBrowserApp* This,LONG *pl) { + return This->lpVtbl->get_Left(This,pl); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_Left(IWebBrowserApp* This,LONG Left) { + return This->lpVtbl->put_Left(This,Left); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Top(IWebBrowserApp* This,LONG *pl) { + return This->lpVtbl->get_Top(This,pl); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_Top(IWebBrowserApp* This,LONG Top) { + return This->lpVtbl->put_Top(This,Top); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Width(IWebBrowserApp* This,LONG *pl) { + return This->lpVtbl->get_Width(This,pl); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_Width(IWebBrowserApp* This,LONG Width) { + return This->lpVtbl->put_Width(This,Width); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Height(IWebBrowserApp* This,LONG *pl) { + return This->lpVtbl->get_Height(This,pl); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_Height(IWebBrowserApp* This,LONG Height) { + return This->lpVtbl->put_Height(This,Height); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_LocationName(IWebBrowserApp* This,BSTR *LocationName) { + return This->lpVtbl->get_LocationName(This,LocationName); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_LocationURL(IWebBrowserApp* This,BSTR *LocationURL) { + return This->lpVtbl->get_LocationURL(This,LocationURL); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Busy(IWebBrowserApp* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_Busy(This,pBool); +} +/*** IWebBrowserApp methods ***/ +static FORCEINLINE HRESULT IWebBrowserApp_Quit(IWebBrowserApp* This) { + return This->lpVtbl->Quit(This); +} +static FORCEINLINE HRESULT IWebBrowserApp_ClientToWindow(IWebBrowserApp* This,int *pcx,int *pcy) { + return This->lpVtbl->ClientToWindow(This,pcx,pcy); +} +static FORCEINLINE HRESULT IWebBrowserApp_PutProperty(IWebBrowserApp* This,BSTR Property,VARIANT vtValue) { + return This->lpVtbl->PutProperty(This,Property,vtValue); +} +static FORCEINLINE HRESULT IWebBrowserApp_GetProperty(IWebBrowserApp* This,BSTR Property,VARIANT *pvtValue) { + return This->lpVtbl->GetProperty(This,Property,pvtValue); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Name(IWebBrowserApp* This,BSTR *Name) { + return This->lpVtbl->get_Name(This,Name); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_HWND(IWebBrowserApp* This,SHANDLE_PTR *pHWND) { + return This->lpVtbl->get_HWND(This,pHWND); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_FullName(IWebBrowserApp* This,BSTR *FullName) { + return This->lpVtbl->get_FullName(This,FullName); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Path(IWebBrowserApp* This,BSTR *Path) { + return This->lpVtbl->get_Path(This,Path); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_Visible(IWebBrowserApp* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_Visible(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_Visible(IWebBrowserApp* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_Visible(This,Value); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_StatusBar(IWebBrowserApp* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_StatusBar(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_StatusBar(IWebBrowserApp* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_StatusBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_StatusText(IWebBrowserApp* This,BSTR *StatusText) { + return This->lpVtbl->get_StatusText(This,StatusText); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_StatusText(IWebBrowserApp* This,BSTR StatusText) { + return This->lpVtbl->put_StatusText(This,StatusText); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_ToolBar(IWebBrowserApp* This,int *Value) { + return This->lpVtbl->get_ToolBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_ToolBar(IWebBrowserApp* This,int Value) { + return This->lpVtbl->put_ToolBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_MenuBar(IWebBrowserApp* This,VARIANT_BOOL *Value) { + return This->lpVtbl->get_MenuBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_MenuBar(IWebBrowserApp* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_MenuBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowserApp_get_FullScreen(IWebBrowserApp* This,VARIANT_BOOL *pbFullScreen) { + return This->lpVtbl->get_FullScreen(This,pbFullScreen); +} +static FORCEINLINE HRESULT IWebBrowserApp_put_FullScreen(IWebBrowserApp* This,VARIANT_BOOL bFullScreen) { + return This->lpVtbl->put_FullScreen(This,bFullScreen); +} +#endif +#endif + +#endif + + +#endif /* __IWebBrowserApp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWebBrowser2 interface + */ +#ifndef __IWebBrowser2_INTERFACE_DEFINED__ +#define __IWebBrowser2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebBrowser2, 0xd30c1661, 0xcdaf, 0x11d0, 0x8a,0x3e, 0x00,0xc0,0x4f,0xc9,0xe2,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d30c1661-cdaf-11d0-8a3e-00c04fc9e26e") +IWebBrowser2 : public IWebBrowserApp +{ + virtual HRESULT STDMETHODCALLTYPE Navigate2( + VARIANT *URL, + VARIANT *Flags, + VARIANT *TargetFrameName, + VARIANT *PostData, + VARIANT *Headers) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStatusWB( + OLECMDID cmdID, + OLECMDF *pcmdf) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecWB( + OLECMDID cmdID, + OLECMDEXECOPT cmdexecopt, + VARIANT *pvaIn, + VARIANT *pvaOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowBrowserBar( + VARIANT *pvaClsid, + VARIANT *pvarShow, + VARIANT *pvarSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReadyState( + READYSTATE *plReadyState) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Offline( + VARIANT_BOOL *pbOffline) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Offline( + VARIANT_BOOL bOffline) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Silent( + VARIANT_BOOL *pbSilent) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Silent( + VARIANT_BOOL bSilent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RegisterAsBrowser( + VARIANT_BOOL *pbRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RegisterAsBrowser( + VARIANT_BOOL bRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RegisterAsDropTarget( + VARIANT_BOOL *pbRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RegisterAsDropTarget( + VARIANT_BOOL bRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TheaterMode( + VARIANT_BOOL *pbRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TheaterMode( + VARIANT_BOOL bRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AddressBar( + VARIANT_BOOL *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AddressBar( + VARIANT_BOOL Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Resizable( + VARIANT_BOOL *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Resizable( + VARIANT_BOOL Value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBrowser2, 0xd30c1661, 0xcdaf, 0x11d0, 0x8a,0x3e, 0x00,0xc0,0x4f,0xc9,0xe2,0x6e) +#endif +#else +typedef struct IWebBrowser2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBrowser2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBrowser2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBrowser2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWebBrowser2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWebBrowser2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWebBrowser2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWebBrowser2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWebBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *GoBack)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *GoForward)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *GoHome)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *GoSearch)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *Navigate)( + IWebBrowser2 *This, + BSTR URL, + VARIANT *Flags, + VARIANT *TargetFrameName, + VARIANT *PostData, + VARIANT *Headers); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *Refresh2)( + IWebBrowser2 *This, + VARIANT *Level); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + IWebBrowser2 *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IWebBrowser2 *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Container)( + IWebBrowser2 *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_Document)( + IWebBrowser2 *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *get_TopLevelContainer)( + IWebBrowser2 *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IWebBrowser2 *This, + BSTR *Type); + + HRESULT (STDMETHODCALLTYPE *get_Left)( + IWebBrowser2 *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Left)( + IWebBrowser2 *This, + LONG Left); + + HRESULT (STDMETHODCALLTYPE *get_Top)( + IWebBrowser2 *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Top)( + IWebBrowser2 *This, + LONG Top); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IWebBrowser2 *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Width)( + IWebBrowser2 *This, + LONG Width); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IWebBrowser2 *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *put_Height)( + IWebBrowser2 *This, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *get_LocationName)( + IWebBrowser2 *This, + BSTR *LocationName); + + HRESULT (STDMETHODCALLTYPE *get_LocationURL)( + IWebBrowser2 *This, + BSTR *LocationURL); + + HRESULT (STDMETHODCALLTYPE *get_Busy)( + IWebBrowser2 *This, + VARIANT_BOOL *pBool); + + /*** IWebBrowserApp methods ***/ + HRESULT (STDMETHODCALLTYPE *Quit)( + IWebBrowser2 *This); + + HRESULT (STDMETHODCALLTYPE *ClientToWindow)( + IWebBrowser2 *This, + int *pcx, + int *pcy); + + HRESULT (STDMETHODCALLTYPE *PutProperty)( + IWebBrowser2 *This, + BSTR Property, + VARIANT vtValue); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IWebBrowser2 *This, + BSTR Property, + VARIANT *pvtValue); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + IWebBrowser2 *This, + BSTR *Name); + + HRESULT (STDMETHODCALLTYPE *get_HWND)( + IWebBrowser2 *This, + SHANDLE_PTR *pHWND); + + HRESULT (STDMETHODCALLTYPE *get_FullName)( + IWebBrowser2 *This, + BSTR *FullName); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + IWebBrowser2 *This, + BSTR *Path); + + HRESULT (STDMETHODCALLTYPE *get_Visible)( + IWebBrowser2 *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *put_Visible)( + IWebBrowser2 *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_StatusBar)( + IWebBrowser2 *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *put_StatusBar)( + IWebBrowser2 *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_StatusText)( + IWebBrowser2 *This, + BSTR *StatusText); + + HRESULT (STDMETHODCALLTYPE *put_StatusText)( + IWebBrowser2 *This, + BSTR StatusText); + + HRESULT (STDMETHODCALLTYPE *get_ToolBar)( + IWebBrowser2 *This, + int *Value); + + HRESULT (STDMETHODCALLTYPE *put_ToolBar)( + IWebBrowser2 *This, + int Value); + + HRESULT (STDMETHODCALLTYPE *get_MenuBar)( + IWebBrowser2 *This, + VARIANT_BOOL *Value); + + HRESULT (STDMETHODCALLTYPE *put_MenuBar)( + IWebBrowser2 *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_FullScreen)( + IWebBrowser2 *This, + VARIANT_BOOL *pbFullScreen); + + HRESULT (STDMETHODCALLTYPE *put_FullScreen)( + IWebBrowser2 *This, + VARIANT_BOOL bFullScreen); + + /*** IWebBrowser2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Navigate2)( + IWebBrowser2 *This, + VARIANT *URL, + VARIANT *Flags, + VARIANT *TargetFrameName, + VARIANT *PostData, + VARIANT *Headers); + + HRESULT (STDMETHODCALLTYPE *QueryStatusWB)( + IWebBrowser2 *This, + OLECMDID cmdID, + OLECMDF *pcmdf); + + HRESULT (STDMETHODCALLTYPE *ExecWB)( + IWebBrowser2 *This, + OLECMDID cmdID, + OLECMDEXECOPT cmdexecopt, + VARIANT *pvaIn, + VARIANT *pvaOut); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)( + IWebBrowser2 *This, + VARIANT *pvaClsid, + VARIANT *pvarShow, + VARIANT *pvarSize); + + HRESULT (STDMETHODCALLTYPE *get_ReadyState)( + IWebBrowser2 *This, + READYSTATE *plReadyState); + + HRESULT (STDMETHODCALLTYPE *get_Offline)( + IWebBrowser2 *This, + VARIANT_BOOL *pbOffline); + + HRESULT (STDMETHODCALLTYPE *put_Offline)( + IWebBrowser2 *This, + VARIANT_BOOL bOffline); + + HRESULT (STDMETHODCALLTYPE *get_Silent)( + IWebBrowser2 *This, + VARIANT_BOOL *pbSilent); + + HRESULT (STDMETHODCALLTYPE *put_Silent)( + IWebBrowser2 *This, + VARIANT_BOOL bSilent); + + HRESULT (STDMETHODCALLTYPE *get_RegisterAsBrowser)( + IWebBrowser2 *This, + VARIANT_BOOL *pbRegister); + + HRESULT (STDMETHODCALLTYPE *put_RegisterAsBrowser)( + IWebBrowser2 *This, + VARIANT_BOOL bRegister); + + HRESULT (STDMETHODCALLTYPE *get_RegisterAsDropTarget)( + IWebBrowser2 *This, + VARIANT_BOOL *pbRegister); + + HRESULT (STDMETHODCALLTYPE *put_RegisterAsDropTarget)( + IWebBrowser2 *This, + VARIANT_BOOL bRegister); + + HRESULT (STDMETHODCALLTYPE *get_TheaterMode)( + IWebBrowser2 *This, + VARIANT_BOOL *pbRegister); + + HRESULT (STDMETHODCALLTYPE *put_TheaterMode)( + IWebBrowser2 *This, + VARIANT_BOOL bRegister); + + HRESULT (STDMETHODCALLTYPE *get_AddressBar)( + IWebBrowser2 *This, + VARIANT_BOOL *Value); + + HRESULT (STDMETHODCALLTYPE *put_AddressBar)( + IWebBrowser2 *This, + VARIANT_BOOL Value); + + HRESULT (STDMETHODCALLTYPE *get_Resizable)( + IWebBrowser2 *This, + VARIANT_BOOL *Value); + + HRESULT (STDMETHODCALLTYPE *put_Resizable)( + IWebBrowser2 *This, + VARIANT_BOOL Value); + + END_INTERFACE +} IWebBrowser2Vtbl; + +interface IWebBrowser2 { + CONST_VTBL IWebBrowser2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBrowser2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBrowser2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBrowser2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWebBrowser2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWebBrowser2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWebBrowser2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWebBrowser2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWebBrowser methods ***/ +#define IWebBrowser2_GoBack(This) (This)->lpVtbl->GoBack(This) +#define IWebBrowser2_GoForward(This) (This)->lpVtbl->GoForward(This) +#define IWebBrowser2_GoHome(This) (This)->lpVtbl->GoHome(This) +#define IWebBrowser2_GoSearch(This) (This)->lpVtbl->GoSearch(This) +#define IWebBrowser2_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) +#define IWebBrowser2_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IWebBrowser2_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level) +#define IWebBrowser2_Stop(This) (This)->lpVtbl->Stop(This) +#define IWebBrowser2_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp) +#define IWebBrowser2_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp) +#define IWebBrowser2_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp) +#define IWebBrowser2_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp) +#define IWebBrowser2_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool) +#define IWebBrowser2_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type) +#define IWebBrowser2_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl) +#define IWebBrowser2_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left) +#define IWebBrowser2_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl) +#define IWebBrowser2_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top) +#define IWebBrowser2_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl) +#define IWebBrowser2_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width) +#define IWebBrowser2_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl) +#define IWebBrowser2_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height) +#define IWebBrowser2_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName) +#define IWebBrowser2_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL) +#define IWebBrowser2_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool) +/*** IWebBrowserApp methods ***/ +#define IWebBrowser2_Quit(This) (This)->lpVtbl->Quit(This) +#define IWebBrowser2_ClientToWindow(This,pcx,pcy) (This)->lpVtbl->ClientToWindow(This,pcx,pcy) +#define IWebBrowser2_PutProperty(This,Property,vtValue) (This)->lpVtbl->PutProperty(This,Property,vtValue) +#define IWebBrowser2_GetProperty(This,Property,pvtValue) (This)->lpVtbl->GetProperty(This,Property,pvtValue) +#define IWebBrowser2_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name) +#define IWebBrowser2_get_HWND(This,pHWND) (This)->lpVtbl->get_HWND(This,pHWND) +#define IWebBrowser2_get_FullName(This,FullName) (This)->lpVtbl->get_FullName(This,FullName) +#define IWebBrowser2_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path) +#define IWebBrowser2_get_Visible(This,pBool) (This)->lpVtbl->get_Visible(This,pBool) +#define IWebBrowser2_put_Visible(This,Value) (This)->lpVtbl->put_Visible(This,Value) +#define IWebBrowser2_get_StatusBar(This,pBool) (This)->lpVtbl->get_StatusBar(This,pBool) +#define IWebBrowser2_put_StatusBar(This,Value) (This)->lpVtbl->put_StatusBar(This,Value) +#define IWebBrowser2_get_StatusText(This,StatusText) (This)->lpVtbl->get_StatusText(This,StatusText) +#define IWebBrowser2_put_StatusText(This,StatusText) (This)->lpVtbl->put_StatusText(This,StatusText) +#define IWebBrowser2_get_ToolBar(This,Value) (This)->lpVtbl->get_ToolBar(This,Value) +#define IWebBrowser2_put_ToolBar(This,Value) (This)->lpVtbl->put_ToolBar(This,Value) +#define IWebBrowser2_get_MenuBar(This,Value) (This)->lpVtbl->get_MenuBar(This,Value) +#define IWebBrowser2_put_MenuBar(This,Value) (This)->lpVtbl->put_MenuBar(This,Value) +#define IWebBrowser2_get_FullScreen(This,pbFullScreen) (This)->lpVtbl->get_FullScreen(This,pbFullScreen) +#define IWebBrowser2_put_FullScreen(This,bFullScreen) (This)->lpVtbl->put_FullScreen(This,bFullScreen) +/*** IWebBrowser2 methods ***/ +#define IWebBrowser2_Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) +#define IWebBrowser2_QueryStatusWB(This,cmdID,pcmdf) (This)->lpVtbl->QueryStatusWB(This,cmdID,pcmdf) +#define IWebBrowser2_ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut) +#define IWebBrowser2_ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize) (This)->lpVtbl->ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize) +#define IWebBrowser2_get_ReadyState(This,plReadyState) (This)->lpVtbl->get_ReadyState(This,plReadyState) +#define IWebBrowser2_get_Offline(This,pbOffline) (This)->lpVtbl->get_Offline(This,pbOffline) +#define IWebBrowser2_put_Offline(This,bOffline) (This)->lpVtbl->put_Offline(This,bOffline) +#define IWebBrowser2_get_Silent(This,pbSilent) (This)->lpVtbl->get_Silent(This,pbSilent) +#define IWebBrowser2_put_Silent(This,bSilent) (This)->lpVtbl->put_Silent(This,bSilent) +#define IWebBrowser2_get_RegisterAsBrowser(This,pbRegister) (This)->lpVtbl->get_RegisterAsBrowser(This,pbRegister) +#define IWebBrowser2_put_RegisterAsBrowser(This,bRegister) (This)->lpVtbl->put_RegisterAsBrowser(This,bRegister) +#define IWebBrowser2_get_RegisterAsDropTarget(This,pbRegister) (This)->lpVtbl->get_RegisterAsDropTarget(This,pbRegister) +#define IWebBrowser2_put_RegisterAsDropTarget(This,bRegister) (This)->lpVtbl->put_RegisterAsDropTarget(This,bRegister) +#define IWebBrowser2_get_TheaterMode(This,pbRegister) (This)->lpVtbl->get_TheaterMode(This,pbRegister) +#define IWebBrowser2_put_TheaterMode(This,bRegister) (This)->lpVtbl->put_TheaterMode(This,bRegister) +#define IWebBrowser2_get_AddressBar(This,Value) (This)->lpVtbl->get_AddressBar(This,Value) +#define IWebBrowser2_put_AddressBar(This,Value) (This)->lpVtbl->put_AddressBar(This,Value) +#define IWebBrowser2_get_Resizable(This,Value) (This)->lpVtbl->get_Resizable(This,Value) +#define IWebBrowser2_put_Resizable(This,Value) (This)->lpVtbl->put_Resizable(This,Value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBrowser2_QueryInterface(IWebBrowser2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBrowser2_AddRef(IWebBrowser2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBrowser2_Release(IWebBrowser2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWebBrowser2_GetTypeInfoCount(IWebBrowser2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWebBrowser2_GetTypeInfo(IWebBrowser2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWebBrowser2_GetIDsOfNames(IWebBrowser2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWebBrowser2_Invoke(IWebBrowser2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWebBrowser methods ***/ +static FORCEINLINE HRESULT IWebBrowser2_GoBack(IWebBrowser2* This) { + return This->lpVtbl->GoBack(This); +} +static FORCEINLINE HRESULT IWebBrowser2_GoForward(IWebBrowser2* This) { + return This->lpVtbl->GoForward(This); +} +static FORCEINLINE HRESULT IWebBrowser2_GoHome(IWebBrowser2* This) { + return This->lpVtbl->GoHome(This); +} +static FORCEINLINE HRESULT IWebBrowser2_GoSearch(IWebBrowser2* This) { + return This->lpVtbl->GoSearch(This); +} +static FORCEINLINE HRESULT IWebBrowser2_Navigate(IWebBrowser2* This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) { + return This->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers); +} +static FORCEINLINE HRESULT IWebBrowser2_Refresh(IWebBrowser2* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IWebBrowser2_Refresh2(IWebBrowser2* This,VARIANT *Level) { + return This->lpVtbl->Refresh2(This,Level); +} +static FORCEINLINE HRESULT IWebBrowser2_Stop(IWebBrowser2* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Application(IWebBrowser2* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Application(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Parent(IWebBrowser2* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Parent(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Container(IWebBrowser2* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Container(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Document(IWebBrowser2* This,IDispatch **ppDisp) { + return This->lpVtbl->get_Document(This,ppDisp); +} +static FORCEINLINE HRESULT IWebBrowser2_get_TopLevelContainer(IWebBrowser2* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_TopLevelContainer(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Type(IWebBrowser2* This,BSTR *Type) { + return This->lpVtbl->get_Type(This,Type); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Left(IWebBrowser2* This,LONG *pl) { + return This->lpVtbl->get_Left(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Left(IWebBrowser2* This,LONG Left) { + return This->lpVtbl->put_Left(This,Left); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Top(IWebBrowser2* This,LONG *pl) { + return This->lpVtbl->get_Top(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Top(IWebBrowser2* This,LONG Top) { + return This->lpVtbl->put_Top(This,Top); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Width(IWebBrowser2* This,LONG *pl) { + return This->lpVtbl->get_Width(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Width(IWebBrowser2* This,LONG Width) { + return This->lpVtbl->put_Width(This,Width); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Height(IWebBrowser2* This,LONG *pl) { + return This->lpVtbl->get_Height(This,pl); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Height(IWebBrowser2* This,LONG Height) { + return This->lpVtbl->put_Height(This,Height); +} +static FORCEINLINE HRESULT IWebBrowser2_get_LocationName(IWebBrowser2* This,BSTR *LocationName) { + return This->lpVtbl->get_LocationName(This,LocationName); +} +static FORCEINLINE HRESULT IWebBrowser2_get_LocationURL(IWebBrowser2* This,BSTR *LocationURL) { + return This->lpVtbl->get_LocationURL(This,LocationURL); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Busy(IWebBrowser2* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_Busy(This,pBool); +} +/*** IWebBrowserApp methods ***/ +static FORCEINLINE HRESULT IWebBrowser2_Quit(IWebBrowser2* This) { + return This->lpVtbl->Quit(This); +} +static FORCEINLINE HRESULT IWebBrowser2_ClientToWindow(IWebBrowser2* This,int *pcx,int *pcy) { + return This->lpVtbl->ClientToWindow(This,pcx,pcy); +} +static FORCEINLINE HRESULT IWebBrowser2_PutProperty(IWebBrowser2* This,BSTR Property,VARIANT vtValue) { + return This->lpVtbl->PutProperty(This,Property,vtValue); +} +static FORCEINLINE HRESULT IWebBrowser2_GetProperty(IWebBrowser2* This,BSTR Property,VARIANT *pvtValue) { + return This->lpVtbl->GetProperty(This,Property,pvtValue); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Name(IWebBrowser2* This,BSTR *Name) { + return This->lpVtbl->get_Name(This,Name); +} +static FORCEINLINE HRESULT IWebBrowser2_get_HWND(IWebBrowser2* This,SHANDLE_PTR *pHWND) { + return This->lpVtbl->get_HWND(This,pHWND); +} +static FORCEINLINE HRESULT IWebBrowser2_get_FullName(IWebBrowser2* This,BSTR *FullName) { + return This->lpVtbl->get_FullName(This,FullName); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Path(IWebBrowser2* This,BSTR *Path) { + return This->lpVtbl->get_Path(This,Path); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Visible(IWebBrowser2* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_Visible(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Visible(IWebBrowser2* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_Visible(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_get_StatusBar(IWebBrowser2* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_StatusBar(This,pBool); +} +static FORCEINLINE HRESULT IWebBrowser2_put_StatusBar(IWebBrowser2* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_StatusBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_get_StatusText(IWebBrowser2* This,BSTR *StatusText) { + return This->lpVtbl->get_StatusText(This,StatusText); +} +static FORCEINLINE HRESULT IWebBrowser2_put_StatusText(IWebBrowser2* This,BSTR StatusText) { + return This->lpVtbl->put_StatusText(This,StatusText); +} +static FORCEINLINE HRESULT IWebBrowser2_get_ToolBar(IWebBrowser2* This,int *Value) { + return This->lpVtbl->get_ToolBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_put_ToolBar(IWebBrowser2* This,int Value) { + return This->lpVtbl->put_ToolBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_get_MenuBar(IWebBrowser2* This,VARIANT_BOOL *Value) { + return This->lpVtbl->get_MenuBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_put_MenuBar(IWebBrowser2* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_MenuBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_get_FullScreen(IWebBrowser2* This,VARIANT_BOOL *pbFullScreen) { + return This->lpVtbl->get_FullScreen(This,pbFullScreen); +} +static FORCEINLINE HRESULT IWebBrowser2_put_FullScreen(IWebBrowser2* This,VARIANT_BOOL bFullScreen) { + return This->lpVtbl->put_FullScreen(This,bFullScreen); +} +/*** IWebBrowser2 methods ***/ +static FORCEINLINE HRESULT IWebBrowser2_Navigate2(IWebBrowser2* This,VARIANT *URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) { + return This->lpVtbl->Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers); +} +static FORCEINLINE HRESULT IWebBrowser2_QueryStatusWB(IWebBrowser2* This,OLECMDID cmdID,OLECMDF *pcmdf) { + return This->lpVtbl->QueryStatusWB(This,cmdID,pcmdf); +} +static FORCEINLINE HRESULT IWebBrowser2_ExecWB(IWebBrowser2* This,OLECMDID cmdID,OLECMDEXECOPT cmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) { + return This->lpVtbl->ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut); +} +static FORCEINLINE HRESULT IWebBrowser2_ShowBrowserBar(IWebBrowser2* This,VARIANT *pvaClsid,VARIANT *pvarShow,VARIANT *pvarSize) { + return This->lpVtbl->ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize); +} +static FORCEINLINE HRESULT IWebBrowser2_get_ReadyState(IWebBrowser2* This,READYSTATE *plReadyState) { + return This->lpVtbl->get_ReadyState(This,plReadyState); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Offline(IWebBrowser2* This,VARIANT_BOOL *pbOffline) { + return This->lpVtbl->get_Offline(This,pbOffline); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Offline(IWebBrowser2* This,VARIANT_BOOL bOffline) { + return This->lpVtbl->put_Offline(This,bOffline); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Silent(IWebBrowser2* This,VARIANT_BOOL *pbSilent) { + return This->lpVtbl->get_Silent(This,pbSilent); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Silent(IWebBrowser2* This,VARIANT_BOOL bSilent) { + return This->lpVtbl->put_Silent(This,bSilent); +} +static FORCEINLINE HRESULT IWebBrowser2_get_RegisterAsBrowser(IWebBrowser2* This,VARIANT_BOOL *pbRegister) { + return This->lpVtbl->get_RegisterAsBrowser(This,pbRegister); +} +static FORCEINLINE HRESULT IWebBrowser2_put_RegisterAsBrowser(IWebBrowser2* This,VARIANT_BOOL bRegister) { + return This->lpVtbl->put_RegisterAsBrowser(This,bRegister); +} +static FORCEINLINE HRESULT IWebBrowser2_get_RegisterAsDropTarget(IWebBrowser2* This,VARIANT_BOOL *pbRegister) { + return This->lpVtbl->get_RegisterAsDropTarget(This,pbRegister); +} +static FORCEINLINE HRESULT IWebBrowser2_put_RegisterAsDropTarget(IWebBrowser2* This,VARIANT_BOOL bRegister) { + return This->lpVtbl->put_RegisterAsDropTarget(This,bRegister); +} +static FORCEINLINE HRESULT IWebBrowser2_get_TheaterMode(IWebBrowser2* This,VARIANT_BOOL *pbRegister) { + return This->lpVtbl->get_TheaterMode(This,pbRegister); +} +static FORCEINLINE HRESULT IWebBrowser2_put_TheaterMode(IWebBrowser2* This,VARIANT_BOOL bRegister) { + return This->lpVtbl->put_TheaterMode(This,bRegister); +} +static FORCEINLINE HRESULT IWebBrowser2_get_AddressBar(IWebBrowser2* This,VARIANT_BOOL *Value) { + return This->lpVtbl->get_AddressBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_put_AddressBar(IWebBrowser2* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_AddressBar(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_get_Resizable(IWebBrowser2* This,VARIANT_BOOL *Value) { + return This->lpVtbl->get_Resizable(This,Value); +} +static FORCEINLINE HRESULT IWebBrowser2_put_Resizable(IWebBrowser2* This,VARIANT_BOOL Value) { + return This->lpVtbl->put_Resizable(This,Value); +} +#endif +#endif + +#endif + + +#endif /* __IWebBrowser2_INTERFACE_DEFINED__ */ + +typedef enum SecureLockIconConstants { + secureLockIconUnsecure = 0, + secureLockIconMixed = 1, + secureLockIconSecureUnknownBits = 2, + secureLockIconSecure40Bit = 3, + secureLockIconSecure56Bit = 4, + secureLockIconSecureFortezza = 5, + secureLockIconSecure128Bit = 6 +} SecureLockIconConstants; +/***************************************************************************** + * DWebBrowserEvents2 dispinterface + */ +#ifndef __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ +#define __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DWebBrowserEvents2, 0x34a715a0, 0x6587, 0x11d0, 0x92,0x4a, 0x00,0x20,0xaf,0xc7,0xac,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("34a715a0-6587-11d0-924a-0020afc7ac4d") +DWebBrowserEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DWebBrowserEvents2, 0x34a715a0, 0x6587, 0x11d0, 0x92,0x4a, 0x00,0x20,0xaf,0xc7,0xac,0x4d) +#endif +#else +typedef struct DWebBrowserEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DWebBrowserEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DWebBrowserEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DWebBrowserEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DWebBrowserEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DWebBrowserEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DWebBrowserEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DWebBrowserEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DWebBrowserEvents2Vtbl; + +interface DWebBrowserEvents2 { + CONST_VTBL DWebBrowserEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DWebBrowserEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DWebBrowserEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DWebBrowserEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DWebBrowserEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DWebBrowserEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DWebBrowserEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DWebBrowserEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DWebBrowserEvents2_QueryInterface(DWebBrowserEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DWebBrowserEvents2_AddRef(DWebBrowserEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DWebBrowserEvents2_Release(DWebBrowserEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DWebBrowserEvents2_GetTypeInfoCount(DWebBrowserEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DWebBrowserEvents2_GetTypeInfo(DWebBrowserEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DWebBrowserEvents2_GetIDsOfNames(DWebBrowserEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DWebBrowserEvents2_Invoke(DWebBrowserEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * WebBrowser_V1 coclass + */ + +DEFINE_GUID(CLSID_WebBrowser_V1, 0xeab22ac3, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("eab22ac3-30c1-11cf-a7eb-0000c05bae0b") WebBrowser_V1; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WebBrowser_V1, 0xeab22ac3, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b) +#endif +#endif + +/***************************************************************************** + * WebBrowser coclass + */ + +DEFINE_GUID(CLSID_WebBrowser, 0x8856f961, 0x340a, 0x11d0, 0xa9,0x6b, 0x00,0xc0,0x4f,0xd7,0x05,0xa2); + +#ifdef __cplusplus +class DECLSPEC_UUID("8856f961-340a-11d0-a96b-00c04fd705a2") WebBrowser; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WebBrowser, 0x8856f961, 0x340a, 0x11d0, 0xa9,0x6b, 0x00,0xc0,0x4f,0xd7,0x05,0xa2) +#endif +#endif + +/***************************************************************************** + * InternetExplorer coclass + */ + +DEFINE_GUID(CLSID_InternetExplorer, 0x0002df01, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); + +#ifdef __cplusplus +class DECLSPEC_UUID("0002df01-0000-0000-c000-000000000046") InternetExplorer; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(InternetExplorer, 0x0002df01, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#endif + +/***************************************************************************** + * ShellBrowserWindow coclass + */ + +DEFINE_GUID(CLSID_ShellBrowserWindow, 0xc08afd90, 0xf2a1, 0x11d1, 0x84,0x55, 0x00,0xa0,0xc9,0x1f,0x38,0x80); + +#ifdef __cplusplus +class DECLSPEC_UUID("c08afd90-f2a1-11d1-8455-00a0c91f3880") ShellBrowserWindow; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellBrowserWindow, 0xc08afd90, 0xf2a1, 0x11d1, 0x84,0x55, 0x00,0xa0,0xc9,0x1f,0x38,0x80) +#endif +#endif + +typedef enum ShellWindowTypeConstants { + SWC_EXPLORER = 0, + SWC_BROWSER = 1, + SWC_3RDPARTY = 2, + SWC_CALLBACK = 4, + SWC_DESKTOP = 8 +} ShellWindowTypeConstants; +typedef enum ShellWindowFindWindowOptions { + SWFO_NEEDDISPATCH = 1, + SWFO_INCLUDEPENDING = 2, + SWFO_COOKIEPASSED = 4 +} ShellWindowFindWindowOptions; +/***************************************************************************** + * DShellWindowsEvents dispinterface + */ +#ifndef __DShellWindowsEvents_DISPINTERFACE_DEFINED__ +#define __DShellWindowsEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DShellWindowsEvents, 0xfe4106e0, 0x399a, 0x11d0, 0xa4,0x8c, 0x00,0xa0,0xc9,0x0a,0x8f,0x39); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fe4106e0-399a-11d0-a48c-00a0c90a8f39") +DShellWindowsEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DShellWindowsEvents, 0xfe4106e0, 0x399a, 0x11d0, 0xa4,0x8c, 0x00,0xa0,0xc9,0x0a,0x8f,0x39) +#endif +#else +typedef struct DShellWindowsEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DShellWindowsEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DShellWindowsEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DShellWindowsEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DShellWindowsEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DShellWindowsEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DShellWindowsEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DShellWindowsEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DShellWindowsEventsVtbl; + +interface DShellWindowsEvents { + CONST_VTBL DShellWindowsEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DShellWindowsEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DShellWindowsEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DShellWindowsEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DShellWindowsEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DShellWindowsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DShellWindowsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DShellWindowsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DShellWindowsEvents_QueryInterface(DShellWindowsEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DShellWindowsEvents_AddRef(DShellWindowsEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DShellWindowsEvents_Release(DShellWindowsEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DShellWindowsEvents_GetTypeInfoCount(DShellWindowsEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DShellWindowsEvents_GetTypeInfo(DShellWindowsEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DShellWindowsEvents_GetIDsOfNames(DShellWindowsEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DShellWindowsEvents_Invoke(DShellWindowsEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DShellWindowsEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellWindows interface + */ +#ifndef __IShellWindows_INTERFACE_DEFINED__ +#define __IShellWindows_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellWindows, 0x85cb6900, 0x4d95, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("85cb6900-4d95-11cf-960c-0080c7f4ee85") +IShellWindows : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT index, + IDispatch **Folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE _NewEnum( + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Register( + IDispatch *pid, + LONG hWnd, + int swClass, + LONG *plCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterPending( + LONG lThreadId, + VARIANT *pvarloc, + VARIANT *pvarlocRoot, + int swClass, + LONG *plCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revoke( + LONG lCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNavigate( + LONG lCookie, + VARIANT *pvarLoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnActivated( + LONG lCookie, + VARIANT_BOOL fActive) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindWindowSW( + VARIANT *pvarLoc, + VARIANT *pvarLocRoot, + int swClass, + LONG *phwnd, + int swfwOptions, + IDispatch **ppdispOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnCreated( + LONG lCookie, + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessAttachDetach( + VARIANT_BOOL fAttach) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellWindows, 0x85cb6900, 0x4d95, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85) +#endif +#else +typedef struct IShellWindowsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellWindows *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellWindows *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellWindows *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellWindows *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellWindows *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellWindows *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellWindows *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellWindows methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IShellWindows *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *Item)( + IShellWindows *This, + VARIANT index, + IDispatch **Folder); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + IShellWindows *This, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *Register)( + IShellWindows *This, + IDispatch *pid, + LONG hWnd, + int swClass, + LONG *plCookie); + + HRESULT (STDMETHODCALLTYPE *RegisterPending)( + IShellWindows *This, + LONG lThreadId, + VARIANT *pvarloc, + VARIANT *pvarlocRoot, + int swClass, + LONG *plCookie); + + HRESULT (STDMETHODCALLTYPE *Revoke)( + IShellWindows *This, + LONG lCookie); + + HRESULT (STDMETHODCALLTYPE *OnNavigate)( + IShellWindows *This, + LONG lCookie, + VARIANT *pvarLoc); + + HRESULT (STDMETHODCALLTYPE *OnActivated)( + IShellWindows *This, + LONG lCookie, + VARIANT_BOOL fActive); + + HRESULT (STDMETHODCALLTYPE *FindWindowSW)( + IShellWindows *This, + VARIANT *pvarLoc, + VARIANT *pvarLocRoot, + int swClass, + LONG *phwnd, + int swfwOptions, + IDispatch **ppdispOut); + + HRESULT (STDMETHODCALLTYPE *OnCreated)( + IShellWindows *This, + LONG lCookie, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *ProcessAttachDetach)( + IShellWindows *This, + VARIANT_BOOL fAttach); + + END_INTERFACE +} IShellWindowsVtbl; + +interface IShellWindows { + CONST_VTBL IShellWindowsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellWindows_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellWindows_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellWindows_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellWindows_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellWindows_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellWindows_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellWindows_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellWindows methods ***/ +#define IShellWindows_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count) +#define IShellWindows_Item(This,index,Folder) (This)->lpVtbl->Item(This,index,Folder) +#define IShellWindows__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk) +#define IShellWindows_Register(This,pid,hWnd,swClass,plCookie) (This)->lpVtbl->Register(This,pid,hWnd,swClass,plCookie) +#define IShellWindows_RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie) (This)->lpVtbl->RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie) +#define IShellWindows_Revoke(This,lCookie) (This)->lpVtbl->Revoke(This,lCookie) +#define IShellWindows_OnNavigate(This,lCookie,pvarLoc) (This)->lpVtbl->OnNavigate(This,lCookie,pvarLoc) +#define IShellWindows_OnActivated(This,lCookie,fActive) (This)->lpVtbl->OnActivated(This,lCookie,fActive) +#define IShellWindows_FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut) (This)->lpVtbl->FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut) +#define IShellWindows_OnCreated(This,lCookie,punk) (This)->lpVtbl->OnCreated(This,lCookie,punk) +#define IShellWindows_ProcessAttachDetach(This,fAttach) (This)->lpVtbl->ProcessAttachDetach(This,fAttach) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellWindows_QueryInterface(IShellWindows* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellWindows_AddRef(IShellWindows* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellWindows_Release(IShellWindows* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellWindows_GetTypeInfoCount(IShellWindows* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellWindows_GetTypeInfo(IShellWindows* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellWindows_GetIDsOfNames(IShellWindows* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellWindows_Invoke(IShellWindows* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellWindows methods ***/ +static FORCEINLINE HRESULT IShellWindows_get_Count(IShellWindows* This,LONG *Count) { + return This->lpVtbl->get_Count(This,Count); +} +static FORCEINLINE HRESULT IShellWindows_Item(IShellWindows* This,VARIANT index,IDispatch **Folder) { + return This->lpVtbl->Item(This,index,Folder); +} +static FORCEINLINE HRESULT IShellWindows__NewEnum(IShellWindows* This,IUnknown **ppunk) { + return This->lpVtbl->_NewEnum(This,ppunk); +} +static FORCEINLINE HRESULT IShellWindows_Register(IShellWindows* This,IDispatch *pid,LONG hWnd,int swClass,LONG *plCookie) { + return This->lpVtbl->Register(This,pid,hWnd,swClass,plCookie); +} +static FORCEINLINE HRESULT IShellWindows_RegisterPending(IShellWindows* This,LONG lThreadId,VARIANT *pvarloc,VARIANT *pvarlocRoot,int swClass,LONG *plCookie) { + return This->lpVtbl->RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie); +} +static FORCEINLINE HRESULT IShellWindows_Revoke(IShellWindows* This,LONG lCookie) { + return This->lpVtbl->Revoke(This,lCookie); +} +static FORCEINLINE HRESULT IShellWindows_OnNavigate(IShellWindows* This,LONG lCookie,VARIANT *pvarLoc) { + return This->lpVtbl->OnNavigate(This,lCookie,pvarLoc); +} +static FORCEINLINE HRESULT IShellWindows_OnActivated(IShellWindows* This,LONG lCookie,VARIANT_BOOL fActive) { + return This->lpVtbl->OnActivated(This,lCookie,fActive); +} +static FORCEINLINE HRESULT IShellWindows_FindWindowSW(IShellWindows* This,VARIANT *pvarLoc,VARIANT *pvarLocRoot,int swClass,LONG *phwnd,int swfwOptions,IDispatch **ppdispOut) { + return This->lpVtbl->FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut); +} +static FORCEINLINE HRESULT IShellWindows_OnCreated(IShellWindows* This,LONG lCookie,IUnknown *punk) { + return This->lpVtbl->OnCreated(This,lCookie,punk); +} +static FORCEINLINE HRESULT IShellWindows_ProcessAttachDetach(IShellWindows* This,VARIANT_BOOL fAttach) { + return This->lpVtbl->ProcessAttachDetach(This,fAttach); +} +#endif +#endif + +#endif + + +#endif /* __IShellWindows_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ShellWindows coclass + */ + +DEFINE_GUID(CLSID_ShellWindows, 0x9ba05972, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39); + +#ifdef __cplusplus +class DECLSPEC_UUID("9ba05972-f6a8-11cf-a442-00a0c90a8f39") ShellWindows; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellWindows, 0x9ba05972, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39) +#endif +#endif + +/***************************************************************************** + * IShellUIHelper interface + */ +#ifndef __IShellUIHelper_INTERFACE_DEFINED__ +#define __IShellUIHelper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellUIHelper, 0x729fe2f8, 0x1ea8, 0x11d1, 0x8f,0x85, 0x00,0xc0,0x4f,0xc2,0xfb,0xe1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("729fe2f8-1ea8-11d1-8f85-00c04fc2fbe1") +IShellUIHelper : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE ResetFirstBootMode( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetSafeMode( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RefreshOfflineDesktop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFavorite( + BSTR URL, + VARIANT *Title) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddChannel( + BSTR URL) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddDesktopComponent( + BSTR URL, + BSTR Type, + VARIANT *Left, + VARIANT *Top, + VARIANT *Width, + VARIANT *Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSubscribed( + BSTR URL, + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE NavigateAndFind( + BSTR URL, + BSTR strQuery, + VARIANT *varTargetFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE ImportExportFavorites( + VARIANT_BOOL fImport, + BSTR strImpExpPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE AutoCompleteSaveForm( + VARIANT *Form) = 0; + + virtual HRESULT STDMETHODCALLTYPE AutoScan( + BSTR strSearch, + BSTR strFailureUrl, + VARIANT *pvarTargetFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE AutoCompleteAttach( + VARIANT *Reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowBrowserUI( + BSTR bstrName, + VARIANT *pvarIn, + VARIANT *pvarOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellUIHelper, 0x729fe2f8, 0x1ea8, 0x11d1, 0x8f,0x85, 0x00,0xc0,0x4f,0xc2,0xfb,0xe1) +#endif +#else +typedef struct IShellUIHelperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellUIHelper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellUIHelper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellUIHelper *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellUIHelper *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellUIHelper *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellUIHelper *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellUIHelper *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellUIHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *ResetFirstBootMode)( + IShellUIHelper *This); + + HRESULT (STDMETHODCALLTYPE *ResetSafeMode)( + IShellUIHelper *This); + + HRESULT (STDMETHODCALLTYPE *RefreshOfflineDesktop)( + IShellUIHelper *This); + + HRESULT (STDMETHODCALLTYPE *AddFavorite)( + IShellUIHelper *This, + BSTR URL, + VARIANT *Title); + + HRESULT (STDMETHODCALLTYPE *AddChannel)( + IShellUIHelper *This, + BSTR URL); + + HRESULT (STDMETHODCALLTYPE *AddDesktopComponent)( + IShellUIHelper *This, + BSTR URL, + BSTR Type, + VARIANT *Left, + VARIANT *Top, + VARIANT *Width, + VARIANT *Height); + + HRESULT (STDMETHODCALLTYPE *IsSubscribed)( + IShellUIHelper *This, + BSTR URL, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *NavigateAndFind)( + IShellUIHelper *This, + BSTR URL, + BSTR strQuery, + VARIANT *varTargetFrame); + + HRESULT (STDMETHODCALLTYPE *ImportExportFavorites)( + IShellUIHelper *This, + VARIANT_BOOL fImport, + BSTR strImpExpPath); + + HRESULT (STDMETHODCALLTYPE *AutoCompleteSaveForm)( + IShellUIHelper *This, + VARIANT *Form); + + HRESULT (STDMETHODCALLTYPE *AutoScan)( + IShellUIHelper *This, + BSTR strSearch, + BSTR strFailureUrl, + VARIANT *pvarTargetFrame); + + HRESULT (STDMETHODCALLTYPE *AutoCompleteAttach)( + IShellUIHelper *This, + VARIANT *Reserved); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserUI)( + IShellUIHelper *This, + BSTR bstrName, + VARIANT *pvarIn, + VARIANT *pvarOut); + + END_INTERFACE +} IShellUIHelperVtbl; + +interface IShellUIHelper { + CONST_VTBL IShellUIHelperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellUIHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellUIHelper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellUIHelper_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellUIHelper_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellUIHelper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellUIHelper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellUIHelper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellUIHelper methods ***/ +#define IShellUIHelper_ResetFirstBootMode(This) (This)->lpVtbl->ResetFirstBootMode(This) +#define IShellUIHelper_ResetSafeMode(This) (This)->lpVtbl->ResetSafeMode(This) +#define IShellUIHelper_RefreshOfflineDesktop(This) (This)->lpVtbl->RefreshOfflineDesktop(This) +#define IShellUIHelper_AddFavorite(This,URL,Title) (This)->lpVtbl->AddFavorite(This,URL,Title) +#define IShellUIHelper_AddChannel(This,URL) (This)->lpVtbl->AddChannel(This,URL) +#define IShellUIHelper_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) (This)->lpVtbl->AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) +#define IShellUIHelper_IsSubscribed(This,URL,pBool) (This)->lpVtbl->IsSubscribed(This,URL,pBool) +#define IShellUIHelper_NavigateAndFind(This,URL,strQuery,varTargetFrame) (This)->lpVtbl->NavigateAndFind(This,URL,strQuery,varTargetFrame) +#define IShellUIHelper_ImportExportFavorites(This,fImport,strImpExpPath) (This)->lpVtbl->ImportExportFavorites(This,fImport,strImpExpPath) +#define IShellUIHelper_AutoCompleteSaveForm(This,Form) (This)->lpVtbl->AutoCompleteSaveForm(This,Form) +#define IShellUIHelper_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) (This)->lpVtbl->AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) +#define IShellUIHelper_AutoCompleteAttach(This,Reserved) (This)->lpVtbl->AutoCompleteAttach(This,Reserved) +#define IShellUIHelper_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) (This)->lpVtbl->ShowBrowserUI(This,bstrName,pvarIn,pvarOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellUIHelper_QueryInterface(IShellUIHelper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellUIHelper_AddRef(IShellUIHelper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellUIHelper_Release(IShellUIHelper* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellUIHelper_GetTypeInfoCount(IShellUIHelper* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellUIHelper_GetTypeInfo(IShellUIHelper* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellUIHelper_GetIDsOfNames(IShellUIHelper* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellUIHelper_Invoke(IShellUIHelper* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellUIHelper methods ***/ +static FORCEINLINE HRESULT IShellUIHelper_ResetFirstBootMode(IShellUIHelper* This) { + return This->lpVtbl->ResetFirstBootMode(This); +} +static FORCEINLINE HRESULT IShellUIHelper_ResetSafeMode(IShellUIHelper* This) { + return This->lpVtbl->ResetSafeMode(This); +} +static FORCEINLINE HRESULT IShellUIHelper_RefreshOfflineDesktop(IShellUIHelper* This) { + return This->lpVtbl->RefreshOfflineDesktop(This); +} +static FORCEINLINE HRESULT IShellUIHelper_AddFavorite(IShellUIHelper* This,BSTR URL,VARIANT *Title) { + return This->lpVtbl->AddFavorite(This,URL,Title); +} +static FORCEINLINE HRESULT IShellUIHelper_AddChannel(IShellUIHelper* This,BSTR URL) { + return This->lpVtbl->AddChannel(This,URL); +} +static FORCEINLINE HRESULT IShellUIHelper_AddDesktopComponent(IShellUIHelper* This,BSTR URL,BSTR Type,VARIANT *Left,VARIANT *Top,VARIANT *Width,VARIANT *Height) { + return This->lpVtbl->AddDesktopComponent(This,URL,Type,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IShellUIHelper_IsSubscribed(IShellUIHelper* This,BSTR URL,VARIANT_BOOL *pBool) { + return This->lpVtbl->IsSubscribed(This,URL,pBool); +} +static FORCEINLINE HRESULT IShellUIHelper_NavigateAndFind(IShellUIHelper* This,BSTR URL,BSTR strQuery,VARIANT *varTargetFrame) { + return This->lpVtbl->NavigateAndFind(This,URL,strQuery,varTargetFrame); +} +static FORCEINLINE HRESULT IShellUIHelper_ImportExportFavorites(IShellUIHelper* This,VARIANT_BOOL fImport,BSTR strImpExpPath) { + return This->lpVtbl->ImportExportFavorites(This,fImport,strImpExpPath); +} +static FORCEINLINE HRESULT IShellUIHelper_AutoCompleteSaveForm(IShellUIHelper* This,VARIANT *Form) { + return This->lpVtbl->AutoCompleteSaveForm(This,Form); +} +static FORCEINLINE HRESULT IShellUIHelper_AutoScan(IShellUIHelper* This,BSTR strSearch,BSTR strFailureUrl,VARIANT *pvarTargetFrame) { + return This->lpVtbl->AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame); +} +static FORCEINLINE HRESULT IShellUIHelper_AutoCompleteAttach(IShellUIHelper* This,VARIANT *Reserved) { + return This->lpVtbl->AutoCompleteAttach(This,Reserved); +} +static FORCEINLINE HRESULT IShellUIHelper_ShowBrowserUI(IShellUIHelper* This,BSTR bstrName,VARIANT *pvarIn,VARIANT *pvarOut) { + return This->lpVtbl->ShowBrowserUI(This,bstrName,pvarIn,pvarOut); +} +#endif +#endif + +#endif + + +#endif /* __IShellUIHelper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellUIHelper2 interface + */ +#ifndef __IShellUIHelper2_INTERFACE_DEFINED__ +#define __IShellUIHelper2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellUIHelper2, 0xa7fe6eda, 0x1932, 0x4281, 0xb8,0x81, 0x87,0xb3,0x1b,0x8b,0xc5,0x2c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a7fe6eda-1932-4281-b881-87b31b8bc52c") +IShellUIHelper2 : public IShellUIHelper +{ + virtual HRESULT STDMETHODCALLTYPE AddSearchProvider( + BSTR URL) = 0; + + virtual HRESULT STDMETHODCALLTYPE RunOnceShown( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SkipRunOnce( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CustomizeSettings( + VARIANT_BOOL fSQM, + VARIANT_BOOL fPhishing, + BSTR bstrLocale) = 0; + + virtual HRESULT STDMETHODCALLTYPE SqmEnabled( + VARIANT_BOOL *pfEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE PhishingEnabled( + VARIANT_BOOL *pfEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE BrandImageUri( + BSTR *pbstrUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE SkipTabsWelcome( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DiagnoseConnection( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CustomizeClearType( + VARIANT_BOOL fSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSearchProviderInstalled( + BSTR URL, + DWORD *pdwResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSearchMigrated( + VARIANT_BOOL *pfMigrated) = 0; + + virtual HRESULT STDMETHODCALLTYPE DefaultSearchProvider( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE RunOnceRequiredSettingsComplete( + VARIANT_BOOL fComplete) = 0; + + virtual HRESULT STDMETHODCALLTYPE RunOnceHasShown( + VARIANT_BOOL *pfShown) = 0; + + virtual HRESULT STDMETHODCALLTYPE SearchGuideUrl( + BSTR *pbstrUrl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellUIHelper2, 0xa7fe6eda, 0x1932, 0x4281, 0xb8,0x81, 0x87,0xb3,0x1b,0x8b,0xc5,0x2c) +#endif +#else +typedef struct IShellUIHelper2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellUIHelper2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellUIHelper2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellUIHelper2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellUIHelper2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellUIHelper2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellUIHelper2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellUIHelper2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellUIHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *ResetFirstBootMode)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *ResetSafeMode)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *RefreshOfflineDesktop)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *AddFavorite)( + IShellUIHelper2 *This, + BSTR URL, + VARIANT *Title); + + HRESULT (STDMETHODCALLTYPE *AddChannel)( + IShellUIHelper2 *This, + BSTR URL); + + HRESULT (STDMETHODCALLTYPE *AddDesktopComponent)( + IShellUIHelper2 *This, + BSTR URL, + BSTR Type, + VARIANT *Left, + VARIANT *Top, + VARIANT *Width, + VARIANT *Height); + + HRESULT (STDMETHODCALLTYPE *IsSubscribed)( + IShellUIHelper2 *This, + BSTR URL, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *NavigateAndFind)( + IShellUIHelper2 *This, + BSTR URL, + BSTR strQuery, + VARIANT *varTargetFrame); + + HRESULT (STDMETHODCALLTYPE *ImportExportFavorites)( + IShellUIHelper2 *This, + VARIANT_BOOL fImport, + BSTR strImpExpPath); + + HRESULT (STDMETHODCALLTYPE *AutoCompleteSaveForm)( + IShellUIHelper2 *This, + VARIANT *Form); + + HRESULT (STDMETHODCALLTYPE *AutoScan)( + IShellUIHelper2 *This, + BSTR strSearch, + BSTR strFailureUrl, + VARIANT *pvarTargetFrame); + + HRESULT (STDMETHODCALLTYPE *AutoCompleteAttach)( + IShellUIHelper2 *This, + VARIANT *Reserved); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserUI)( + IShellUIHelper2 *This, + BSTR bstrName, + VARIANT *pvarIn, + VARIANT *pvarOut); + + /*** IShellUIHelper2 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddSearchProvider)( + IShellUIHelper2 *This, + BSTR URL); + + HRESULT (STDMETHODCALLTYPE *RunOnceShown)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *SkipRunOnce)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *CustomizeSettings)( + IShellUIHelper2 *This, + VARIANT_BOOL fSQM, + VARIANT_BOOL fPhishing, + BSTR bstrLocale); + + HRESULT (STDMETHODCALLTYPE *SqmEnabled)( + IShellUIHelper2 *This, + VARIANT_BOOL *pfEnabled); + + HRESULT (STDMETHODCALLTYPE *PhishingEnabled)( + IShellUIHelper2 *This, + VARIANT_BOOL *pfEnabled); + + HRESULT (STDMETHODCALLTYPE *BrandImageUri)( + IShellUIHelper2 *This, + BSTR *pbstrUri); + + HRESULT (STDMETHODCALLTYPE *SkipTabsWelcome)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *DiagnoseConnection)( + IShellUIHelper2 *This); + + HRESULT (STDMETHODCALLTYPE *CustomizeClearType)( + IShellUIHelper2 *This, + VARIANT_BOOL fSet); + + HRESULT (STDMETHODCALLTYPE *IsSearchProviderInstalled)( + IShellUIHelper2 *This, + BSTR URL, + DWORD *pdwResult); + + HRESULT (STDMETHODCALLTYPE *IsSearchMigrated)( + IShellUIHelper2 *This, + VARIANT_BOOL *pfMigrated); + + HRESULT (STDMETHODCALLTYPE *DefaultSearchProvider)( + IShellUIHelper2 *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete)( + IShellUIHelper2 *This, + VARIANT_BOOL fComplete); + + HRESULT (STDMETHODCALLTYPE *RunOnceHasShown)( + IShellUIHelper2 *This, + VARIANT_BOOL *pfShown); + + HRESULT (STDMETHODCALLTYPE *SearchGuideUrl)( + IShellUIHelper2 *This, + BSTR *pbstrUrl); + + END_INTERFACE +} IShellUIHelper2Vtbl; + +interface IShellUIHelper2 { + CONST_VTBL IShellUIHelper2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellUIHelper2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellUIHelper2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellUIHelper2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellUIHelper2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellUIHelper2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellUIHelper2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellUIHelper2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellUIHelper methods ***/ +#define IShellUIHelper2_ResetFirstBootMode(This) (This)->lpVtbl->ResetFirstBootMode(This) +#define IShellUIHelper2_ResetSafeMode(This) (This)->lpVtbl->ResetSafeMode(This) +#define IShellUIHelper2_RefreshOfflineDesktop(This) (This)->lpVtbl->RefreshOfflineDesktop(This) +#define IShellUIHelper2_AddFavorite(This,URL,Title) (This)->lpVtbl->AddFavorite(This,URL,Title) +#define IShellUIHelper2_AddChannel(This,URL) (This)->lpVtbl->AddChannel(This,URL) +#define IShellUIHelper2_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) (This)->lpVtbl->AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) +#define IShellUIHelper2_IsSubscribed(This,URL,pBool) (This)->lpVtbl->IsSubscribed(This,URL,pBool) +#define IShellUIHelper2_NavigateAndFind(This,URL,strQuery,varTargetFrame) (This)->lpVtbl->NavigateAndFind(This,URL,strQuery,varTargetFrame) +#define IShellUIHelper2_ImportExportFavorites(This,fImport,strImpExpPath) (This)->lpVtbl->ImportExportFavorites(This,fImport,strImpExpPath) +#define IShellUIHelper2_AutoCompleteSaveForm(This,Form) (This)->lpVtbl->AutoCompleteSaveForm(This,Form) +#define IShellUIHelper2_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) (This)->lpVtbl->AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) +#define IShellUIHelper2_AutoCompleteAttach(This,Reserved) (This)->lpVtbl->AutoCompleteAttach(This,Reserved) +#define IShellUIHelper2_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) (This)->lpVtbl->ShowBrowserUI(This,bstrName,pvarIn,pvarOut) +/*** IShellUIHelper2 methods ***/ +#define IShellUIHelper2_AddSearchProvider(This,URL) (This)->lpVtbl->AddSearchProvider(This,URL) +#define IShellUIHelper2_RunOnceShown(This) (This)->lpVtbl->RunOnceShown(This) +#define IShellUIHelper2_SkipRunOnce(This) (This)->lpVtbl->SkipRunOnce(This) +#define IShellUIHelper2_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) (This)->lpVtbl->CustomizeSettings(This,fSQM,fPhishing,bstrLocale) +#define IShellUIHelper2_SqmEnabled(This,pfEnabled) (This)->lpVtbl->SqmEnabled(This,pfEnabled) +#define IShellUIHelper2_PhishingEnabled(This,pfEnabled) (This)->lpVtbl->PhishingEnabled(This,pfEnabled) +#define IShellUIHelper2_BrandImageUri(This,pbstrUri) (This)->lpVtbl->BrandImageUri(This,pbstrUri) +#define IShellUIHelper2_SkipTabsWelcome(This) (This)->lpVtbl->SkipTabsWelcome(This) +#define IShellUIHelper2_DiagnoseConnection(This) (This)->lpVtbl->DiagnoseConnection(This) +#define IShellUIHelper2_CustomizeClearType(This,fSet) (This)->lpVtbl->CustomizeClearType(This,fSet) +#define IShellUIHelper2_IsSearchProviderInstalled(This,URL,pdwResult) (This)->lpVtbl->IsSearchProviderInstalled(This,URL,pdwResult) +#define IShellUIHelper2_IsSearchMigrated(This,pfMigrated) (This)->lpVtbl->IsSearchMigrated(This,pfMigrated) +#define IShellUIHelper2_DefaultSearchProvider(This,pbstrName) (This)->lpVtbl->DefaultSearchProvider(This,pbstrName) +#define IShellUIHelper2_RunOnceRequiredSettingsComplete(This,fComplete) (This)->lpVtbl->RunOnceRequiredSettingsComplete(This,fComplete) +#define IShellUIHelper2_RunOnceHasShown(This,pfShown) (This)->lpVtbl->RunOnceHasShown(This,pfShown) +#define IShellUIHelper2_SearchGuideUrl(This,pbstrUrl) (This)->lpVtbl->SearchGuideUrl(This,pbstrUrl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellUIHelper2_QueryInterface(IShellUIHelper2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellUIHelper2_AddRef(IShellUIHelper2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellUIHelper2_Release(IShellUIHelper2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellUIHelper2_GetTypeInfoCount(IShellUIHelper2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellUIHelper2_GetTypeInfo(IShellUIHelper2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellUIHelper2_GetIDsOfNames(IShellUIHelper2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellUIHelper2_Invoke(IShellUIHelper2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellUIHelper methods ***/ +static FORCEINLINE HRESULT IShellUIHelper2_ResetFirstBootMode(IShellUIHelper2* This) { + return This->lpVtbl->ResetFirstBootMode(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_ResetSafeMode(IShellUIHelper2* This) { + return This->lpVtbl->ResetSafeMode(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_RefreshOfflineDesktop(IShellUIHelper2* This) { + return This->lpVtbl->RefreshOfflineDesktop(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_AddFavorite(IShellUIHelper2* This,BSTR URL,VARIANT *Title) { + return This->lpVtbl->AddFavorite(This,URL,Title); +} +static FORCEINLINE HRESULT IShellUIHelper2_AddChannel(IShellUIHelper2* This,BSTR URL) { + return This->lpVtbl->AddChannel(This,URL); +} +static FORCEINLINE HRESULT IShellUIHelper2_AddDesktopComponent(IShellUIHelper2* This,BSTR URL,BSTR Type,VARIANT *Left,VARIANT *Top,VARIANT *Width,VARIANT *Height) { + return This->lpVtbl->AddDesktopComponent(This,URL,Type,Left,Top,Width,Height); +} +static FORCEINLINE HRESULT IShellUIHelper2_IsSubscribed(IShellUIHelper2* This,BSTR URL,VARIANT_BOOL *pBool) { + return This->lpVtbl->IsSubscribed(This,URL,pBool); +} +static FORCEINLINE HRESULT IShellUIHelper2_NavigateAndFind(IShellUIHelper2* This,BSTR URL,BSTR strQuery,VARIANT *varTargetFrame) { + return This->lpVtbl->NavigateAndFind(This,URL,strQuery,varTargetFrame); +} +static FORCEINLINE HRESULT IShellUIHelper2_ImportExportFavorites(IShellUIHelper2* This,VARIANT_BOOL fImport,BSTR strImpExpPath) { + return This->lpVtbl->ImportExportFavorites(This,fImport,strImpExpPath); +} +static FORCEINLINE HRESULT IShellUIHelper2_AutoCompleteSaveForm(IShellUIHelper2* This,VARIANT *Form) { + return This->lpVtbl->AutoCompleteSaveForm(This,Form); +} +static FORCEINLINE HRESULT IShellUIHelper2_AutoScan(IShellUIHelper2* This,BSTR strSearch,BSTR strFailureUrl,VARIANT *pvarTargetFrame) { + return This->lpVtbl->AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame); +} +static FORCEINLINE HRESULT IShellUIHelper2_AutoCompleteAttach(IShellUIHelper2* This,VARIANT *Reserved) { + return This->lpVtbl->AutoCompleteAttach(This,Reserved); +} +static FORCEINLINE HRESULT IShellUIHelper2_ShowBrowserUI(IShellUIHelper2* This,BSTR bstrName,VARIANT *pvarIn,VARIANT *pvarOut) { + return This->lpVtbl->ShowBrowserUI(This,bstrName,pvarIn,pvarOut); +} +/*** IShellUIHelper2 methods ***/ +static FORCEINLINE HRESULT IShellUIHelper2_AddSearchProvider(IShellUIHelper2* This,BSTR URL) { + return This->lpVtbl->AddSearchProvider(This,URL); +} +static FORCEINLINE HRESULT IShellUIHelper2_RunOnceShown(IShellUIHelper2* This) { + return This->lpVtbl->RunOnceShown(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_SkipRunOnce(IShellUIHelper2* This) { + return This->lpVtbl->SkipRunOnce(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_CustomizeSettings(IShellUIHelper2* This,VARIANT_BOOL fSQM,VARIANT_BOOL fPhishing,BSTR bstrLocale) { + return This->lpVtbl->CustomizeSettings(This,fSQM,fPhishing,bstrLocale); +} +static FORCEINLINE HRESULT IShellUIHelper2_SqmEnabled(IShellUIHelper2* This,VARIANT_BOOL *pfEnabled) { + return This->lpVtbl->SqmEnabled(This,pfEnabled); +} +static FORCEINLINE HRESULT IShellUIHelper2_PhishingEnabled(IShellUIHelper2* This,VARIANT_BOOL *pfEnabled) { + return This->lpVtbl->PhishingEnabled(This,pfEnabled); +} +static FORCEINLINE HRESULT IShellUIHelper2_BrandImageUri(IShellUIHelper2* This,BSTR *pbstrUri) { + return This->lpVtbl->BrandImageUri(This,pbstrUri); +} +static FORCEINLINE HRESULT IShellUIHelper2_SkipTabsWelcome(IShellUIHelper2* This) { + return This->lpVtbl->SkipTabsWelcome(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_DiagnoseConnection(IShellUIHelper2* This) { + return This->lpVtbl->DiagnoseConnection(This); +} +static FORCEINLINE HRESULT IShellUIHelper2_CustomizeClearType(IShellUIHelper2* This,VARIANT_BOOL fSet) { + return This->lpVtbl->CustomizeClearType(This,fSet); +} +static FORCEINLINE HRESULT IShellUIHelper2_IsSearchProviderInstalled(IShellUIHelper2* This,BSTR URL,DWORD *pdwResult) { + return This->lpVtbl->IsSearchProviderInstalled(This,URL,pdwResult); +} +static FORCEINLINE HRESULT IShellUIHelper2_IsSearchMigrated(IShellUIHelper2* This,VARIANT_BOOL *pfMigrated) { + return This->lpVtbl->IsSearchMigrated(This,pfMigrated); +} +static FORCEINLINE HRESULT IShellUIHelper2_DefaultSearchProvider(IShellUIHelper2* This,BSTR *pbstrName) { + return This->lpVtbl->DefaultSearchProvider(This,pbstrName); +} +static FORCEINLINE HRESULT IShellUIHelper2_RunOnceRequiredSettingsComplete(IShellUIHelper2* This,VARIANT_BOOL fComplete) { + return This->lpVtbl->RunOnceRequiredSettingsComplete(This,fComplete); +} +static FORCEINLINE HRESULT IShellUIHelper2_RunOnceHasShown(IShellUIHelper2* This,VARIANT_BOOL *pfShown) { + return This->lpVtbl->RunOnceHasShown(This,pfShown); +} +static FORCEINLINE HRESULT IShellUIHelper2_SearchGuideUrl(IShellUIHelper2* This,BSTR *pbstrUrl) { + return This->lpVtbl->SearchGuideUrl(This,pbstrUrl); +} +#endif +#endif + +#endif + + +#endif /* __IShellUIHelper2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ShellUIHelper coclass + */ + +DEFINE_GUID(CLSID_ShellUIHelper, 0x64ab4bb7, 0x111e, 0x11d1, 0x8f,0x79, 0x00,0xc0,0x4f,0xc2,0xfb,0xe1); + +#ifdef __cplusplus +class DECLSPEC_UUID("64ab4bb7-111e-11d1-8f79-00c04fc2fbe1") ShellUIHelper; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellUIHelper, 0x64ab4bb7, 0x111e, 0x11d1, 0x8f,0x79, 0x00,0xc0,0x4f,0xc2,0xfb,0xe1) +#endif +#endif + +/***************************************************************************** + * DShellNameSpaceEvents dispinterface + */ +#ifndef __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__ +#define __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DShellNameSpaceEvents, 0x55136806, 0xb2de, 0x11d1, 0xb9,0xf2, 0x00,0xa0,0xc9,0x8b,0xc5,0x47); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("55136806-b2de-11d1-b9f2-00a0c98bc547") +DShellNameSpaceEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DShellNameSpaceEvents, 0x55136806, 0xb2de, 0x11d1, 0xb9,0xf2, 0x00,0xa0,0xc9,0x8b,0xc5,0x47) +#endif +#else +typedef struct DShellNameSpaceEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DShellNameSpaceEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DShellNameSpaceEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DShellNameSpaceEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DShellNameSpaceEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DShellNameSpaceEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DShellNameSpaceEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DShellNameSpaceEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DShellNameSpaceEventsVtbl; + +interface DShellNameSpaceEvents { + CONST_VTBL DShellNameSpaceEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DShellNameSpaceEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DShellNameSpaceEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DShellNameSpaceEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DShellNameSpaceEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DShellNameSpaceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DShellNameSpaceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DShellNameSpaceEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DShellNameSpaceEvents_QueryInterface(DShellNameSpaceEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DShellNameSpaceEvents_AddRef(DShellNameSpaceEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DShellNameSpaceEvents_Release(DShellNameSpaceEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DShellNameSpaceEvents_GetTypeInfoCount(DShellNameSpaceEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DShellNameSpaceEvents_GetTypeInfo(DShellNameSpaceEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DShellNameSpaceEvents_GetIDsOfNames(DShellNameSpaceEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DShellNameSpaceEvents_Invoke(DShellNameSpaceEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellFavoritesNameSpace interface + */ +#ifndef __IShellFavoritesNameSpace_INTERFACE_DEFINED__ +#define __IShellFavoritesNameSpace_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellFavoritesNameSpace, 0x55136804, 0xb2de, 0x11d1, 0xb9,0xf2, 0x00,0xa0,0xc9,0x8b,0xc5,0x47); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("55136804-b2de-11d1-b9f2-00a0c98bc547") +IShellFavoritesNameSpace : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE MoveSelectionUp( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveSelectionDown( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetSort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewFolder( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Synchronize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Import( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Export( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeContextMenuCommand( + BSTR strCommand) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveSelectionTo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SubscriptionsEnabled( + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSubscriptionForSelection( + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteSubscriptionForSelection( + VARIANT_BOOL *pBool) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRoot( + BSTR bstrFullPath) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellFavoritesNameSpace, 0x55136804, 0xb2de, 0x11d1, 0xb9,0xf2, 0x00,0xa0,0xc9,0x8b,0xc5,0x47) +#endif +#else +typedef struct IShellFavoritesNameSpaceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellFavoritesNameSpace *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellFavoritesNameSpace *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellFavoritesNameSpace *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellFavoritesNameSpace *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellFavoritesNameSpace *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellFavoritesNameSpace *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellFavoritesNameSpace *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellFavoritesNameSpace methods ***/ + HRESULT (STDMETHODCALLTYPE *MoveSelectionUp)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *MoveSelectionDown)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *ResetSort)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *NewFolder)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *Synchronize)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *Import)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *Export)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *InvokeContextMenuCommand)( + IShellFavoritesNameSpace *This, + BSTR strCommand); + + HRESULT (STDMETHODCALLTYPE *MoveSelectionTo)( + IShellFavoritesNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *get_SubscriptionsEnabled)( + IShellFavoritesNameSpace *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *CreateSubscriptionForSelection)( + IShellFavoritesNameSpace *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *DeleteSubscriptionForSelection)( + IShellFavoritesNameSpace *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *SetRoot)( + IShellFavoritesNameSpace *This, + BSTR bstrFullPath); + + END_INTERFACE +} IShellFavoritesNameSpaceVtbl; + +interface IShellFavoritesNameSpace { + CONST_VTBL IShellFavoritesNameSpaceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellFavoritesNameSpace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellFavoritesNameSpace_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellFavoritesNameSpace_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellFavoritesNameSpace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellFavoritesNameSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellFavoritesNameSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellFavoritesNameSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellFavoritesNameSpace methods ***/ +#define IShellFavoritesNameSpace_MoveSelectionUp(This) (This)->lpVtbl->MoveSelectionUp(This) +#define IShellFavoritesNameSpace_MoveSelectionDown(This) (This)->lpVtbl->MoveSelectionDown(This) +#define IShellFavoritesNameSpace_ResetSort(This) (This)->lpVtbl->ResetSort(This) +#define IShellFavoritesNameSpace_NewFolder(This) (This)->lpVtbl->NewFolder(This) +#define IShellFavoritesNameSpace_Synchronize(This) (This)->lpVtbl->Synchronize(This) +#define IShellFavoritesNameSpace_Import(This) (This)->lpVtbl->Import(This) +#define IShellFavoritesNameSpace_Export(This) (This)->lpVtbl->Export(This) +#define IShellFavoritesNameSpace_InvokeContextMenuCommand(This,strCommand) (This)->lpVtbl->InvokeContextMenuCommand(This,strCommand) +#define IShellFavoritesNameSpace_MoveSelectionTo(This) (This)->lpVtbl->MoveSelectionTo(This) +#define IShellFavoritesNameSpace_get_SubscriptionsEnabled(This,pBool) (This)->lpVtbl->get_SubscriptionsEnabled(This,pBool) +#define IShellFavoritesNameSpace_CreateSubscriptionForSelection(This,pBool) (This)->lpVtbl->CreateSubscriptionForSelection(This,pBool) +#define IShellFavoritesNameSpace_DeleteSubscriptionForSelection(This,pBool) (This)->lpVtbl->DeleteSubscriptionForSelection(This,pBool) +#define IShellFavoritesNameSpace_SetRoot(This,bstrFullPath) (This)->lpVtbl->SetRoot(This,bstrFullPath) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellFavoritesNameSpace_QueryInterface(IShellFavoritesNameSpace* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellFavoritesNameSpace_AddRef(IShellFavoritesNameSpace* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellFavoritesNameSpace_Release(IShellFavoritesNameSpace* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellFavoritesNameSpace_GetTypeInfoCount(IShellFavoritesNameSpace* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_GetTypeInfo(IShellFavoritesNameSpace* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_GetIDsOfNames(IShellFavoritesNameSpace* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_Invoke(IShellFavoritesNameSpace* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellFavoritesNameSpace methods ***/ +static FORCEINLINE HRESULT IShellFavoritesNameSpace_MoveSelectionUp(IShellFavoritesNameSpace* This) { + return This->lpVtbl->MoveSelectionUp(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_MoveSelectionDown(IShellFavoritesNameSpace* This) { + return This->lpVtbl->MoveSelectionDown(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_ResetSort(IShellFavoritesNameSpace* This) { + return This->lpVtbl->ResetSort(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_NewFolder(IShellFavoritesNameSpace* This) { + return This->lpVtbl->NewFolder(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_Synchronize(IShellFavoritesNameSpace* This) { + return This->lpVtbl->Synchronize(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_Import(IShellFavoritesNameSpace* This) { + return This->lpVtbl->Import(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_Export(IShellFavoritesNameSpace* This) { + return This->lpVtbl->Export(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_InvokeContextMenuCommand(IShellFavoritesNameSpace* This,BSTR strCommand) { + return This->lpVtbl->InvokeContextMenuCommand(This,strCommand); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_MoveSelectionTo(IShellFavoritesNameSpace* This) { + return This->lpVtbl->MoveSelectionTo(This); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_get_SubscriptionsEnabled(IShellFavoritesNameSpace* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_SubscriptionsEnabled(This,pBool); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_CreateSubscriptionForSelection(IShellFavoritesNameSpace* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->CreateSubscriptionForSelection(This,pBool); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_DeleteSubscriptionForSelection(IShellFavoritesNameSpace* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->DeleteSubscriptionForSelection(This,pBool); +} +static FORCEINLINE HRESULT IShellFavoritesNameSpace_SetRoot(IShellFavoritesNameSpace* This,BSTR bstrFullPath) { + return This->lpVtbl->SetRoot(This,bstrFullPath); +} +#endif +#endif + +#endif + + +#endif /* __IShellFavoritesNameSpace_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellNameSpace interface + */ +#ifndef __IShellNameSpace_INTERFACE_DEFINED__ +#define __IShellNameSpace_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellNameSpace, 0xe572d3c9, 0x37be, 0x4ae2, 0x82,0x5d, 0xd5,0x21,0x76,0x3e,0x31,0x08); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e572d3c9-37be-4ae2-825d-d521763e3108") +IShellNameSpace : public IShellFavoritesNameSpace +{ + virtual HRESULT STDMETHODCALLTYPE get_EnumOptions( + LONG *pgrfEnumFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_EnumOptions( + LONG pgrfEnumFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SelectedItem( + IDispatch **pItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SelectedItem( + IDispatch *pItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Root( + VARIANT *pvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Root( + VARIANT pvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Depth( + int *piDepth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Depth( + int piDepth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Mode( + unsigned int *puMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Mode( + unsigned int puMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Flags( + ULONG *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Flags( + ULONG pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TVFlags( + ULONG dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TVFlags( + ULONG *dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Columns( + BSTR *bstrColumns) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Columns( + BSTR bstrColumns) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CountViewTypes( + int *piTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetViewType( + int iType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectedItems( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Expand( + VARIANT var, + int iDepth) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnselectAll( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellNameSpace, 0xe572d3c9, 0x37be, 0x4ae2, 0x82,0x5d, 0xd5,0x21,0x76,0x3e,0x31,0x08) +#endif +#else +typedef struct IShellNameSpaceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellNameSpace *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellNameSpace *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellNameSpace *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellNameSpace *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellNameSpace *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellNameSpace *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellNameSpace *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellFavoritesNameSpace methods ***/ + HRESULT (STDMETHODCALLTYPE *MoveSelectionUp)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *MoveSelectionDown)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *ResetSort)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *NewFolder)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *Synchronize)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *Import)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *Export)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *InvokeContextMenuCommand)( + IShellNameSpace *This, + BSTR strCommand); + + HRESULT (STDMETHODCALLTYPE *MoveSelectionTo)( + IShellNameSpace *This); + + HRESULT (STDMETHODCALLTYPE *get_SubscriptionsEnabled)( + IShellNameSpace *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *CreateSubscriptionForSelection)( + IShellNameSpace *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *DeleteSubscriptionForSelection)( + IShellNameSpace *This, + VARIANT_BOOL *pBool); + + HRESULT (STDMETHODCALLTYPE *SetRoot)( + IShellNameSpace *This, + BSTR bstrFullPath); + + /*** IShellNameSpace methods ***/ + HRESULT (STDMETHODCALLTYPE *get_EnumOptions)( + IShellNameSpace *This, + LONG *pgrfEnumFlags); + + HRESULT (STDMETHODCALLTYPE *put_EnumOptions)( + IShellNameSpace *This, + LONG pgrfEnumFlags); + + HRESULT (STDMETHODCALLTYPE *get_SelectedItem)( + IShellNameSpace *This, + IDispatch **pItem); + + HRESULT (STDMETHODCALLTYPE *put_SelectedItem)( + IShellNameSpace *This, + IDispatch *pItem); + + HRESULT (STDMETHODCALLTYPE *get_Root)( + IShellNameSpace *This, + VARIANT *pvar); + + HRESULT (STDMETHODCALLTYPE *put_Root)( + IShellNameSpace *This, + VARIANT pvar); + + HRESULT (STDMETHODCALLTYPE *get_Depth)( + IShellNameSpace *This, + int *piDepth); + + HRESULT (STDMETHODCALLTYPE *put_Depth)( + IShellNameSpace *This, + int piDepth); + + HRESULT (STDMETHODCALLTYPE *get_Mode)( + IShellNameSpace *This, + unsigned int *puMode); + + HRESULT (STDMETHODCALLTYPE *put_Mode)( + IShellNameSpace *This, + unsigned int puMode); + + HRESULT (STDMETHODCALLTYPE *get_Flags)( + IShellNameSpace *This, + ULONG *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *put_Flags)( + IShellNameSpace *This, + ULONG pdwFlags); + + HRESULT (STDMETHODCALLTYPE *put_TVFlags)( + IShellNameSpace *This, + ULONG dwFlags); + + HRESULT (STDMETHODCALLTYPE *get_TVFlags)( + IShellNameSpace *This, + ULONG *dwFlags); + + HRESULT (STDMETHODCALLTYPE *get_Columns)( + IShellNameSpace *This, + BSTR *bstrColumns); + + HRESULT (STDMETHODCALLTYPE *put_Columns)( + IShellNameSpace *This, + BSTR bstrColumns); + + HRESULT (STDMETHODCALLTYPE *get_CountViewTypes)( + IShellNameSpace *This, + int *piTypes); + + HRESULT (STDMETHODCALLTYPE *SetViewType)( + IShellNameSpace *This, + int iType); + + HRESULT (STDMETHODCALLTYPE *SelectedItems)( + IShellNameSpace *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Expand)( + IShellNameSpace *This, + VARIANT var, + int iDepth); + + HRESULT (STDMETHODCALLTYPE *UnselectAll)( + IShellNameSpace *This); + + END_INTERFACE +} IShellNameSpaceVtbl; + +interface IShellNameSpace { + CONST_VTBL IShellNameSpaceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellNameSpace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellNameSpace_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellNameSpace_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellNameSpace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellNameSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellNameSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellNameSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellFavoritesNameSpace methods ***/ +#define IShellNameSpace_MoveSelectionUp(This) (This)->lpVtbl->MoveSelectionUp(This) +#define IShellNameSpace_MoveSelectionDown(This) (This)->lpVtbl->MoveSelectionDown(This) +#define IShellNameSpace_ResetSort(This) (This)->lpVtbl->ResetSort(This) +#define IShellNameSpace_NewFolder(This) (This)->lpVtbl->NewFolder(This) +#define IShellNameSpace_Synchronize(This) (This)->lpVtbl->Synchronize(This) +#define IShellNameSpace_Import(This) (This)->lpVtbl->Import(This) +#define IShellNameSpace_Export(This) (This)->lpVtbl->Export(This) +#define IShellNameSpace_InvokeContextMenuCommand(This,strCommand) (This)->lpVtbl->InvokeContextMenuCommand(This,strCommand) +#define IShellNameSpace_MoveSelectionTo(This) (This)->lpVtbl->MoveSelectionTo(This) +#define IShellNameSpace_get_SubscriptionsEnabled(This,pBool) (This)->lpVtbl->get_SubscriptionsEnabled(This,pBool) +#define IShellNameSpace_CreateSubscriptionForSelection(This,pBool) (This)->lpVtbl->CreateSubscriptionForSelection(This,pBool) +#define IShellNameSpace_DeleteSubscriptionForSelection(This,pBool) (This)->lpVtbl->DeleteSubscriptionForSelection(This,pBool) +#define IShellNameSpace_SetRoot(This,bstrFullPath) (This)->lpVtbl->SetRoot(This,bstrFullPath) +/*** IShellNameSpace methods ***/ +#define IShellNameSpace_get_EnumOptions(This,pgrfEnumFlags) (This)->lpVtbl->get_EnumOptions(This,pgrfEnumFlags) +#define IShellNameSpace_put_EnumOptions(This,pgrfEnumFlags) (This)->lpVtbl->put_EnumOptions(This,pgrfEnumFlags) +#define IShellNameSpace_get_SelectedItem(This,pItem) (This)->lpVtbl->get_SelectedItem(This,pItem) +#define IShellNameSpace_put_SelectedItem(This,pItem) (This)->lpVtbl->put_SelectedItem(This,pItem) +#define IShellNameSpace_get_Root(This,pvar) (This)->lpVtbl->get_Root(This,pvar) +#define IShellNameSpace_put_Root(This,pvar) (This)->lpVtbl->put_Root(This,pvar) +#define IShellNameSpace_get_Depth(This,piDepth) (This)->lpVtbl->get_Depth(This,piDepth) +#define IShellNameSpace_put_Depth(This,piDepth) (This)->lpVtbl->put_Depth(This,piDepth) +#define IShellNameSpace_get_Mode(This,puMode) (This)->lpVtbl->get_Mode(This,puMode) +#define IShellNameSpace_put_Mode(This,puMode) (This)->lpVtbl->put_Mode(This,puMode) +#define IShellNameSpace_get_Flags(This,pdwFlags) (This)->lpVtbl->get_Flags(This,pdwFlags) +#define IShellNameSpace_put_Flags(This,pdwFlags) (This)->lpVtbl->put_Flags(This,pdwFlags) +#define IShellNameSpace_put_TVFlags(This,dwFlags) (This)->lpVtbl->put_TVFlags(This,dwFlags) +#define IShellNameSpace_get_TVFlags(This,dwFlags) (This)->lpVtbl->get_TVFlags(This,dwFlags) +#define IShellNameSpace_get_Columns(This,bstrColumns) (This)->lpVtbl->get_Columns(This,bstrColumns) +#define IShellNameSpace_put_Columns(This,bstrColumns) (This)->lpVtbl->put_Columns(This,bstrColumns) +#define IShellNameSpace_get_CountViewTypes(This,piTypes) (This)->lpVtbl->get_CountViewTypes(This,piTypes) +#define IShellNameSpace_SetViewType(This,iType) (This)->lpVtbl->SetViewType(This,iType) +#define IShellNameSpace_SelectedItems(This,ppid) (This)->lpVtbl->SelectedItems(This,ppid) +#define IShellNameSpace_Expand(This,var,iDepth) (This)->lpVtbl->Expand(This,var,iDepth) +#define IShellNameSpace_UnselectAll(This) (This)->lpVtbl->UnselectAll(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellNameSpace_QueryInterface(IShellNameSpace* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellNameSpace_AddRef(IShellNameSpace* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellNameSpace_Release(IShellNameSpace* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellNameSpace_GetTypeInfoCount(IShellNameSpace* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellNameSpace_GetTypeInfo(IShellNameSpace* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellNameSpace_GetIDsOfNames(IShellNameSpace* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellNameSpace_Invoke(IShellNameSpace* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellFavoritesNameSpace methods ***/ +static FORCEINLINE HRESULT IShellNameSpace_MoveSelectionUp(IShellNameSpace* This) { + return This->lpVtbl->MoveSelectionUp(This); +} +static FORCEINLINE HRESULT IShellNameSpace_MoveSelectionDown(IShellNameSpace* This) { + return This->lpVtbl->MoveSelectionDown(This); +} +static FORCEINLINE HRESULT IShellNameSpace_ResetSort(IShellNameSpace* This) { + return This->lpVtbl->ResetSort(This); +} +static FORCEINLINE HRESULT IShellNameSpace_NewFolder(IShellNameSpace* This) { + return This->lpVtbl->NewFolder(This); +} +static FORCEINLINE HRESULT IShellNameSpace_Synchronize(IShellNameSpace* This) { + return This->lpVtbl->Synchronize(This); +} +static FORCEINLINE HRESULT IShellNameSpace_Import(IShellNameSpace* This) { + return This->lpVtbl->Import(This); +} +static FORCEINLINE HRESULT IShellNameSpace_Export(IShellNameSpace* This) { + return This->lpVtbl->Export(This); +} +static FORCEINLINE HRESULT IShellNameSpace_InvokeContextMenuCommand(IShellNameSpace* This,BSTR strCommand) { + return This->lpVtbl->InvokeContextMenuCommand(This,strCommand); +} +static FORCEINLINE HRESULT IShellNameSpace_MoveSelectionTo(IShellNameSpace* This) { + return This->lpVtbl->MoveSelectionTo(This); +} +static FORCEINLINE HRESULT IShellNameSpace_get_SubscriptionsEnabled(IShellNameSpace* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->get_SubscriptionsEnabled(This,pBool); +} +static FORCEINLINE HRESULT IShellNameSpace_CreateSubscriptionForSelection(IShellNameSpace* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->CreateSubscriptionForSelection(This,pBool); +} +static FORCEINLINE HRESULT IShellNameSpace_DeleteSubscriptionForSelection(IShellNameSpace* This,VARIANT_BOOL *pBool) { + return This->lpVtbl->DeleteSubscriptionForSelection(This,pBool); +} +static FORCEINLINE HRESULT IShellNameSpace_SetRoot(IShellNameSpace* This,BSTR bstrFullPath) { + return This->lpVtbl->SetRoot(This,bstrFullPath); +} +/*** IShellNameSpace methods ***/ +static FORCEINLINE HRESULT IShellNameSpace_get_EnumOptions(IShellNameSpace* This,LONG *pgrfEnumFlags) { + return This->lpVtbl->get_EnumOptions(This,pgrfEnumFlags); +} +static FORCEINLINE HRESULT IShellNameSpace_put_EnumOptions(IShellNameSpace* This,LONG pgrfEnumFlags) { + return This->lpVtbl->put_EnumOptions(This,pgrfEnumFlags); +} +static FORCEINLINE HRESULT IShellNameSpace_get_SelectedItem(IShellNameSpace* This,IDispatch **pItem) { + return This->lpVtbl->get_SelectedItem(This,pItem); +} +static FORCEINLINE HRESULT IShellNameSpace_put_SelectedItem(IShellNameSpace* This,IDispatch *pItem) { + return This->lpVtbl->put_SelectedItem(This,pItem); +} +static FORCEINLINE HRESULT IShellNameSpace_get_Root(IShellNameSpace* This,VARIANT *pvar) { + return This->lpVtbl->get_Root(This,pvar); +} +static FORCEINLINE HRESULT IShellNameSpace_put_Root(IShellNameSpace* This,VARIANT pvar) { + return This->lpVtbl->put_Root(This,pvar); +} +static FORCEINLINE HRESULT IShellNameSpace_get_Depth(IShellNameSpace* This,int *piDepth) { + return This->lpVtbl->get_Depth(This,piDepth); +} +static FORCEINLINE HRESULT IShellNameSpace_put_Depth(IShellNameSpace* This,int piDepth) { + return This->lpVtbl->put_Depth(This,piDepth); +} +static FORCEINLINE HRESULT IShellNameSpace_get_Mode(IShellNameSpace* This,unsigned int *puMode) { + return This->lpVtbl->get_Mode(This,puMode); +} +static FORCEINLINE HRESULT IShellNameSpace_put_Mode(IShellNameSpace* This,unsigned int puMode) { + return This->lpVtbl->put_Mode(This,puMode); +} +static FORCEINLINE HRESULT IShellNameSpace_get_Flags(IShellNameSpace* This,ULONG *pdwFlags) { + return This->lpVtbl->get_Flags(This,pdwFlags); +} +static FORCEINLINE HRESULT IShellNameSpace_put_Flags(IShellNameSpace* This,ULONG pdwFlags) { + return This->lpVtbl->put_Flags(This,pdwFlags); +} +static FORCEINLINE HRESULT IShellNameSpace_put_TVFlags(IShellNameSpace* This,ULONG dwFlags) { + return This->lpVtbl->put_TVFlags(This,dwFlags); +} +static FORCEINLINE HRESULT IShellNameSpace_get_TVFlags(IShellNameSpace* This,ULONG *dwFlags) { + return This->lpVtbl->get_TVFlags(This,dwFlags); +} +static FORCEINLINE HRESULT IShellNameSpace_get_Columns(IShellNameSpace* This,BSTR *bstrColumns) { + return This->lpVtbl->get_Columns(This,bstrColumns); +} +static FORCEINLINE HRESULT IShellNameSpace_put_Columns(IShellNameSpace* This,BSTR bstrColumns) { + return This->lpVtbl->put_Columns(This,bstrColumns); +} +static FORCEINLINE HRESULT IShellNameSpace_get_CountViewTypes(IShellNameSpace* This,int *piTypes) { + return This->lpVtbl->get_CountViewTypes(This,piTypes); +} +static FORCEINLINE HRESULT IShellNameSpace_SetViewType(IShellNameSpace* This,int iType) { + return This->lpVtbl->SetViewType(This,iType); +} +static FORCEINLINE HRESULT IShellNameSpace_SelectedItems(IShellNameSpace* This,IDispatch **ppid) { + return This->lpVtbl->SelectedItems(This,ppid); +} +static FORCEINLINE HRESULT IShellNameSpace_Expand(IShellNameSpace* This,VARIANT var,int iDepth) { + return This->lpVtbl->Expand(This,var,iDepth); +} +static FORCEINLINE HRESULT IShellNameSpace_UnselectAll(IShellNameSpace* This) { + return This->lpVtbl->UnselectAll(This); +} +#endif +#endif + +#endif + + +#endif /* __IShellNameSpace_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ShellShellNameSpace coclass + */ + +DEFINE_GUID(CLSID_ShellShellNameSpace, 0x2f2f1f96, 0x2bc1, 0x4b1c, 0xbe,0x28, 0xea,0x37,0x74,0xf4,0x67,0x6a); + +#ifdef __cplusplus +class DECLSPEC_UUID("2f2f1f96-2bc1-4b1c-be28-ea3774f4676a") ShellShellNameSpace; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellShellNameSpace, 0x2f2f1f96, 0x2bc1, 0x4b1c, 0xbe,0x28, 0xea,0x37,0x74,0xf4,0x67,0x6a) +#endif +#endif + +/***************************************************************************** + * ShellNameSpace coclass + */ + +DEFINE_GUID(CLSID_ShellNameSpace, 0x55136805, 0xb2de, 0x11d1, 0xb9,0xf2, 0x00,0xa0,0xc9,0x8b,0xc5,0x47); + +#ifdef __cplusplus +class DECLSPEC_UUID("55136805-b2de-11d1-b9f2-00a0c98bc547") ShellNameSpace; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellNameSpace, 0x55136805, 0xb2de, 0x11d1, 0xb9,0xf2, 0x00,0xa0,0xc9,0x8b,0xc5,0x47) +#endif +#endif + +/***************************************************************************** + * IScriptErrorList interface + */ +#ifndef __IScriptErrorList_INTERFACE_DEFINED__ +#define __IScriptErrorList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IScriptErrorList, 0xf3470f24, 0x15fd, 0x11d2, 0xbb,0x2e, 0x00,0x80,0x5f,0xf7,0xef,0xca); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f3470f24-15fd-11d2-bb2e-00805ff7efca") +IScriptErrorList : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE advanceError( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE retreatError( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE canAdvanceError( + LONG *pfCanAdvance) = 0; + + virtual HRESULT STDMETHODCALLTYPE canRetreatError( + LONG *pfCanRetreat) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorLine( + LONG *plLine) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorChar( + LONG *plChar) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorCode( + LONG *plCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorMsg( + BSTR *pstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorUrl( + BSTR *pstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAlwaysShowLockState( + LONG *pfAlwaysShowLocked) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDetailsPaneOpen( + LONG *pfDetailsPaneOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE setDetailsPaneOpen( + LONG fDetailsPaneOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPerErrorDisplay( + LONG *pfPerErrorDisplay) = 0; + + virtual HRESULT STDMETHODCALLTYPE setPerErrorDisplay( + LONG fPerErrorDisplay) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IScriptErrorList, 0xf3470f24, 0x15fd, 0x11d2, 0xbb,0x2e, 0x00,0x80,0x5f,0xf7,0xef,0xca) +#endif +#else +typedef struct IScriptErrorListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IScriptErrorList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IScriptErrorList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IScriptErrorList *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IScriptErrorList *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IScriptErrorList *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IScriptErrorList *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IScriptErrorList *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IScriptErrorList methods ***/ + HRESULT (STDMETHODCALLTYPE *advanceError)( + IScriptErrorList *This); + + HRESULT (STDMETHODCALLTYPE *retreatError)( + IScriptErrorList *This); + + HRESULT (STDMETHODCALLTYPE *canAdvanceError)( + IScriptErrorList *This, + LONG *pfCanAdvance); + + HRESULT (STDMETHODCALLTYPE *canRetreatError)( + IScriptErrorList *This, + LONG *pfCanRetreat); + + HRESULT (STDMETHODCALLTYPE *getErrorLine)( + IScriptErrorList *This, + LONG *plLine); + + HRESULT (STDMETHODCALLTYPE *getErrorChar)( + IScriptErrorList *This, + LONG *plChar); + + HRESULT (STDMETHODCALLTYPE *getErrorCode)( + IScriptErrorList *This, + LONG *plCode); + + HRESULT (STDMETHODCALLTYPE *getErrorMsg)( + IScriptErrorList *This, + BSTR *pstr); + + HRESULT (STDMETHODCALLTYPE *getErrorUrl)( + IScriptErrorList *This, + BSTR *pstr); + + HRESULT (STDMETHODCALLTYPE *getAlwaysShowLockState)( + IScriptErrorList *This, + LONG *pfAlwaysShowLocked); + + HRESULT (STDMETHODCALLTYPE *getDetailsPaneOpen)( + IScriptErrorList *This, + LONG *pfDetailsPaneOpen); + + HRESULT (STDMETHODCALLTYPE *setDetailsPaneOpen)( + IScriptErrorList *This, + LONG fDetailsPaneOpen); + + HRESULT (STDMETHODCALLTYPE *getPerErrorDisplay)( + IScriptErrorList *This, + LONG *pfPerErrorDisplay); + + HRESULT (STDMETHODCALLTYPE *setPerErrorDisplay)( + IScriptErrorList *This, + LONG fPerErrorDisplay); + + END_INTERFACE +} IScriptErrorListVtbl; + +interface IScriptErrorList { + CONST_VTBL IScriptErrorListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IScriptErrorList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IScriptErrorList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IScriptErrorList_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IScriptErrorList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IScriptErrorList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IScriptErrorList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IScriptErrorList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IScriptErrorList methods ***/ +#define IScriptErrorList_advanceError(This) (This)->lpVtbl->advanceError(This) +#define IScriptErrorList_retreatError(This) (This)->lpVtbl->retreatError(This) +#define IScriptErrorList_canAdvanceError(This,pfCanAdvance) (This)->lpVtbl->canAdvanceError(This,pfCanAdvance) +#define IScriptErrorList_canRetreatError(This,pfCanRetreat) (This)->lpVtbl->canRetreatError(This,pfCanRetreat) +#define IScriptErrorList_getErrorLine(This,plLine) (This)->lpVtbl->getErrorLine(This,plLine) +#define IScriptErrorList_getErrorChar(This,plChar) (This)->lpVtbl->getErrorChar(This,plChar) +#define IScriptErrorList_getErrorCode(This,plCode) (This)->lpVtbl->getErrorCode(This,plCode) +#define IScriptErrorList_getErrorMsg(This,pstr) (This)->lpVtbl->getErrorMsg(This,pstr) +#define IScriptErrorList_getErrorUrl(This,pstr) (This)->lpVtbl->getErrorUrl(This,pstr) +#define IScriptErrorList_getAlwaysShowLockState(This,pfAlwaysShowLocked) (This)->lpVtbl->getAlwaysShowLockState(This,pfAlwaysShowLocked) +#define IScriptErrorList_getDetailsPaneOpen(This,pfDetailsPaneOpen) (This)->lpVtbl->getDetailsPaneOpen(This,pfDetailsPaneOpen) +#define IScriptErrorList_setDetailsPaneOpen(This,fDetailsPaneOpen) (This)->lpVtbl->setDetailsPaneOpen(This,fDetailsPaneOpen) +#define IScriptErrorList_getPerErrorDisplay(This,pfPerErrorDisplay) (This)->lpVtbl->getPerErrorDisplay(This,pfPerErrorDisplay) +#define IScriptErrorList_setPerErrorDisplay(This,fPerErrorDisplay) (This)->lpVtbl->setPerErrorDisplay(This,fPerErrorDisplay) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IScriptErrorList_QueryInterface(IScriptErrorList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IScriptErrorList_AddRef(IScriptErrorList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IScriptErrorList_Release(IScriptErrorList* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IScriptErrorList_GetTypeInfoCount(IScriptErrorList* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IScriptErrorList_GetTypeInfo(IScriptErrorList* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IScriptErrorList_GetIDsOfNames(IScriptErrorList* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IScriptErrorList_Invoke(IScriptErrorList* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IScriptErrorList methods ***/ +static FORCEINLINE HRESULT IScriptErrorList_advanceError(IScriptErrorList* This) { + return This->lpVtbl->advanceError(This); +} +static FORCEINLINE HRESULT IScriptErrorList_retreatError(IScriptErrorList* This) { + return This->lpVtbl->retreatError(This); +} +static FORCEINLINE HRESULT IScriptErrorList_canAdvanceError(IScriptErrorList* This,LONG *pfCanAdvance) { + return This->lpVtbl->canAdvanceError(This,pfCanAdvance); +} +static FORCEINLINE HRESULT IScriptErrorList_canRetreatError(IScriptErrorList* This,LONG *pfCanRetreat) { + return This->lpVtbl->canRetreatError(This,pfCanRetreat); +} +static FORCEINLINE HRESULT IScriptErrorList_getErrorLine(IScriptErrorList* This,LONG *plLine) { + return This->lpVtbl->getErrorLine(This,plLine); +} +static FORCEINLINE HRESULT IScriptErrorList_getErrorChar(IScriptErrorList* This,LONG *plChar) { + return This->lpVtbl->getErrorChar(This,plChar); +} +static FORCEINLINE HRESULT IScriptErrorList_getErrorCode(IScriptErrorList* This,LONG *plCode) { + return This->lpVtbl->getErrorCode(This,plCode); +} +static FORCEINLINE HRESULT IScriptErrorList_getErrorMsg(IScriptErrorList* This,BSTR *pstr) { + return This->lpVtbl->getErrorMsg(This,pstr); +} +static FORCEINLINE HRESULT IScriptErrorList_getErrorUrl(IScriptErrorList* This,BSTR *pstr) { + return This->lpVtbl->getErrorUrl(This,pstr); +} +static FORCEINLINE HRESULT IScriptErrorList_getAlwaysShowLockState(IScriptErrorList* This,LONG *pfAlwaysShowLocked) { + return This->lpVtbl->getAlwaysShowLockState(This,pfAlwaysShowLocked); +} +static FORCEINLINE HRESULT IScriptErrorList_getDetailsPaneOpen(IScriptErrorList* This,LONG *pfDetailsPaneOpen) { + return This->lpVtbl->getDetailsPaneOpen(This,pfDetailsPaneOpen); +} +static FORCEINLINE HRESULT IScriptErrorList_setDetailsPaneOpen(IScriptErrorList* This,LONG fDetailsPaneOpen) { + return This->lpVtbl->setDetailsPaneOpen(This,fDetailsPaneOpen); +} +static FORCEINLINE HRESULT IScriptErrorList_getPerErrorDisplay(IScriptErrorList* This,LONG *pfPerErrorDisplay) { + return This->lpVtbl->getPerErrorDisplay(This,pfPerErrorDisplay); +} +static FORCEINLINE HRESULT IScriptErrorList_setPerErrorDisplay(IScriptErrorList* This,LONG fPerErrorDisplay) { + return This->lpVtbl->setPerErrorDisplay(This,fPerErrorDisplay); +} +#endif +#endif + +#endif + + +#endif /* __IScriptErrorList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CScriptErrorList coclass + */ + +DEFINE_GUID(CLSID_CScriptErrorList, 0xefd01300, 0x160f, 0x11d2, 0xbb,0x2e, 0x00,0x80,0x5f,0xf7,0xef,0xca); + +#ifdef __cplusplus +class DECLSPEC_UUID("efd01300-160f-11d2-bb2e-00805ff7efca") CScriptErrorList; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CScriptErrorList, 0xefd01300, 0x160f, 0x11d2, 0xbb,0x2e, 0x00,0x80,0x5f,0xf7,0xef,0xca) +#endif +#endif + +/***************************************************************************** + * ISearch interface + */ +#ifndef __ISearch_INTERFACE_DEFINED__ +#define __ISearch_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearch, 0xba9239a4, 0x3dd5, 0x11d2, 0xbf,0x8b, 0x00,0xc0,0x4f,0xb9,0x36,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ba9239a4-3dd5-11d2-bf8b-00c04fb93661") +ISearch : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Title( + BSTR *pbstrTitle) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Id( + BSTR *pbstrId) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URL( + BSTR *pbstrUrl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearch, 0xba9239a4, 0x3dd5, 0x11d2, 0xbf,0x8b, 0x00,0xc0,0x4f,0xb9,0x36,0x61) +#endif +#else +typedef struct ISearchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearch *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearch *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearch *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearch *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearch *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Title)( + ISearch *This, + BSTR *pbstrTitle); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + ISearch *This, + BSTR *pbstrId); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + ISearch *This, + BSTR *pbstrUrl); + + END_INTERFACE +} ISearchVtbl; + +interface ISearch { + CONST_VTBL ISearchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearch_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearch methods ***/ +#define ISearch_get_Title(This,pbstrTitle) (This)->lpVtbl->get_Title(This,pbstrTitle) +#define ISearch_get_Id(This,pbstrId) (This)->lpVtbl->get_Id(This,pbstrId) +#define ISearch_get_URL(This,pbstrUrl) (This)->lpVtbl->get_URL(This,pbstrUrl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearch_QueryInterface(ISearch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearch_AddRef(ISearch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearch_Release(ISearch* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearch_GetTypeInfoCount(ISearch* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearch_GetTypeInfo(ISearch* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearch_GetIDsOfNames(ISearch* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearch_Invoke(ISearch* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearch methods ***/ +static FORCEINLINE HRESULT ISearch_get_Title(ISearch* This,BSTR *pbstrTitle) { + return This->lpVtbl->get_Title(This,pbstrTitle); +} +static FORCEINLINE HRESULT ISearch_get_Id(ISearch* This,BSTR *pbstrId) { + return This->lpVtbl->get_Id(This,pbstrId); +} +static FORCEINLINE HRESULT ISearch_get_URL(ISearch* This,BSTR *pbstrUrl) { + return This->lpVtbl->get_URL(This,pbstrUrl); +} +#endif +#endif + +#endif + + +#endif /* __ISearch_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearches interface + */ +#ifndef __ISearches_INTERFACE_DEFINED__ +#define __ISearches_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearches, 0x47c922a2, 0x3dd5, 0x11d2, 0xbf,0x8b, 0x00,0xc0,0x4f,0xb9,0x36,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("47c922a2-3dd5-11d2-bf8b-00c04fb93661") +ISearches : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Default( + BSTR *pbstrDefault) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT index, + ISearch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE _NewEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearches, 0x47c922a2, 0x3dd5, 0x11d2, 0xbf,0x8b, 0x00,0xc0,0x4f,0xb9,0x36,0x61) +#endif +#else +typedef struct ISearchesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearches *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearches *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearches *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearches *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearches *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearches *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearches *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearches methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISearches *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_Default)( + ISearches *This, + BSTR *pbstrDefault); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISearches *This, + VARIANT index, + ISearch **ppid); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + ISearches *This, + IUnknown **ppunk); + + END_INTERFACE +} ISearchesVtbl; + +interface ISearches { + CONST_VTBL ISearchesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearches_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearches_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearches_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearches_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearches_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearches_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearches_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearches methods ***/ +#define ISearches_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount) +#define ISearches_get_Default(This,pbstrDefault) (This)->lpVtbl->get_Default(This,pbstrDefault) +#define ISearches_Item(This,index,ppid) (This)->lpVtbl->Item(This,index,ppid) +#define ISearches__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearches_QueryInterface(ISearches* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearches_AddRef(ISearches* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearches_Release(ISearches* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearches_GetTypeInfoCount(ISearches* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearches_GetTypeInfo(ISearches* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearches_GetIDsOfNames(ISearches* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearches_Invoke(ISearches* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearches methods ***/ +static FORCEINLINE HRESULT ISearches_get_Count(ISearches* This,LONG *plCount) { + return This->lpVtbl->get_Count(This,plCount); +} +static FORCEINLINE HRESULT ISearches_get_Default(ISearches* This,BSTR *pbstrDefault) { + return This->lpVtbl->get_Default(This,pbstrDefault); +} +static FORCEINLINE HRESULT ISearches_Item(ISearches* This,VARIANT index,ISearch **ppid) { + return This->lpVtbl->Item(This,index,ppid); +} +static FORCEINLINE HRESULT ISearches__NewEnum(ISearches* This,IUnknown **ppunk) { + return This->lpVtbl->_NewEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __ISearches_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearchAssistantOC interface + */ +#ifndef __ISearchAssistantOC_INTERFACE_DEFINED__ +#define __ISearchAssistantOC_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearchAssistantOC, 0x72423e8f, 0x8011, 0x11d2, 0xbe,0x79, 0x00,0xa0,0xc9,0xa8,0x3d,0xa1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("72423e8f-8011-11d2-be79-00a0c9a83da1") +ISearchAssistantOC : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE AddNextMenuItem( + BSTR bstrText, + LONG idItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultSearchUrl( + BSTR bstrUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE NavigateToDefaultSearch( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRestricted( + BSTR bstrGuid, + VARIANT_BOOL *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ShellFeaturesEnabled( + VARIANT_BOOL *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SearchAssistantDefault( + VARIANT_BOOL *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Searches( + ISearches **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InWebFolder( + VARIANT_BOOL *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutProperty( + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR bstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR *pbstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_EventHandled( + VARIANT_BOOL rhs) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetNextMenu( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindOnWeb( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFilesOrFolders( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindComputer( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindPrinter( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindPeople( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSearchAssistantURL( + VARIANT_BOOL bSubstitute, + VARIANT_BOOL bCustomize, + BSTR *pbstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifySearchSettingsChanged( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ASProvider( + BSTR pProvider) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ASProvider( + BSTR *pProvider) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ASSetting( + int pSetting) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ASSetting( + int *pSetting) = 0; + + virtual HRESULT STDMETHODCALLTYPE NETDetectNextNavigate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutFindText( + BSTR FindText) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Version( + int *pVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE EncodeString( + BSTR bstrValue, + BSTR bstrCharSet, + VARIANT_BOOL bUseUTF8, + BSTR *pbstrResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearchAssistantOC, 0x72423e8f, 0x8011, 0x11d2, 0xbe,0x79, 0x00,0xa0,0xc9,0xa8,0x3d,0xa1) +#endif +#else +typedef struct ISearchAssistantOCVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearchAssistantOC *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearchAssistantOC *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearchAssistantOC *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearchAssistantOC *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearchAssistantOC *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearchAssistantOC *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearchAssistantOC *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearchAssistantOC methods ***/ + HRESULT (STDMETHODCALLTYPE *AddNextMenuItem)( + ISearchAssistantOC *This, + BSTR bstrText, + LONG idItem); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSearchUrl)( + ISearchAssistantOC *This, + BSTR bstrUrl); + + HRESULT (STDMETHODCALLTYPE *NavigateToDefaultSearch)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + ISearchAssistantOC *This, + BSTR bstrGuid, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_ShellFeaturesEnabled)( + ISearchAssistantOC *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_SearchAssistantDefault)( + ISearchAssistantOC *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_Searches)( + ISearchAssistantOC *This, + ISearches **ppid); + + HRESULT (STDMETHODCALLTYPE *get_InWebFolder)( + ISearchAssistantOC *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *PutProperty)( + ISearchAssistantOC *This, + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + ISearchAssistantOC *This, + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *put_EventHandled)( + ISearchAssistantOC *This, + VARIANT_BOOL rhs); + + HRESULT (STDMETHODCALLTYPE *ResetNextMenu)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *FindOnWeb)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *FindFilesOrFolders)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *FindPeople)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *GetSearchAssistantURL)( + ISearchAssistantOC *This, + VARIANT_BOOL bSubstitute, + VARIANT_BOOL bCustomize, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *NotifySearchSettingsChanged)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *put_ASProvider)( + ISearchAssistantOC *This, + BSTR pProvider); + + HRESULT (STDMETHODCALLTYPE *get_ASProvider)( + ISearchAssistantOC *This, + BSTR *pProvider); + + HRESULT (STDMETHODCALLTYPE *put_ASSetting)( + ISearchAssistantOC *This, + int pSetting); + + HRESULT (STDMETHODCALLTYPE *get_ASSetting)( + ISearchAssistantOC *This, + int *pSetting); + + HRESULT (STDMETHODCALLTYPE *NETDetectNextNavigate)( + ISearchAssistantOC *This); + + HRESULT (STDMETHODCALLTYPE *PutFindText)( + ISearchAssistantOC *This, + BSTR FindText); + + HRESULT (STDMETHODCALLTYPE *get_Version)( + ISearchAssistantOC *This, + int *pVersion); + + HRESULT (STDMETHODCALLTYPE *EncodeString)( + ISearchAssistantOC *This, + BSTR bstrValue, + BSTR bstrCharSet, + VARIANT_BOOL bUseUTF8, + BSTR *pbstrResult); + + END_INTERFACE +} ISearchAssistantOCVtbl; + +interface ISearchAssistantOC { + CONST_VTBL ISearchAssistantOCVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearchAssistantOC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearchAssistantOC_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearchAssistantOC_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearchAssistantOC_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearchAssistantOC_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearchAssistantOC_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearchAssistantOC_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearchAssistantOC methods ***/ +#define ISearchAssistantOC_AddNextMenuItem(This,bstrText,idItem) (This)->lpVtbl->AddNextMenuItem(This,bstrText,idItem) +#define ISearchAssistantOC_SetDefaultSearchUrl(This,bstrUrl) (This)->lpVtbl->SetDefaultSearchUrl(This,bstrUrl) +#define ISearchAssistantOC_NavigateToDefaultSearch(This) (This)->lpVtbl->NavigateToDefaultSearch(This) +#define ISearchAssistantOC_IsRestricted(This,bstrGuid,pVal) (This)->lpVtbl->IsRestricted(This,bstrGuid,pVal) +#define ISearchAssistantOC_get_ShellFeaturesEnabled(This,pVal) (This)->lpVtbl->get_ShellFeaturesEnabled(This,pVal) +#define ISearchAssistantOC_get_SearchAssistantDefault(This,pVal) (This)->lpVtbl->get_SearchAssistantDefault(This,pVal) +#define ISearchAssistantOC_get_Searches(This,ppid) (This)->lpVtbl->get_Searches(This,ppid) +#define ISearchAssistantOC_get_InWebFolder(This,pVal) (This)->lpVtbl->get_InWebFolder(This,pVal) +#define ISearchAssistantOC_PutProperty(This,bPerLocale,bstrName,bstrValue) (This)->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue) +#define ISearchAssistantOC_GetProperty(This,bPerLocale,bstrName,pbstrValue) (This)->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue) +#define ISearchAssistantOC_put_EventHandled(This,rhs) (This)->lpVtbl->put_EventHandled(This,rhs) +#define ISearchAssistantOC_ResetNextMenu(This) (This)->lpVtbl->ResetNextMenu(This) +#define ISearchAssistantOC_FindOnWeb(This) (This)->lpVtbl->FindOnWeb(This) +#define ISearchAssistantOC_FindFilesOrFolders(This) (This)->lpVtbl->FindFilesOrFolders(This) +#define ISearchAssistantOC_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define ISearchAssistantOC_FindPrinter(This) (This)->lpVtbl->FindPrinter(This) +#define ISearchAssistantOC_FindPeople(This) (This)->lpVtbl->FindPeople(This) +#define ISearchAssistantOC_GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) (This)->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) +#define ISearchAssistantOC_NotifySearchSettingsChanged(This) (This)->lpVtbl->NotifySearchSettingsChanged(This) +#define ISearchAssistantOC_put_ASProvider(This,pProvider) (This)->lpVtbl->put_ASProvider(This,pProvider) +#define ISearchAssistantOC_get_ASProvider(This,pProvider) (This)->lpVtbl->get_ASProvider(This,pProvider) +#define ISearchAssistantOC_put_ASSetting(This,pSetting) (This)->lpVtbl->put_ASSetting(This,pSetting) +#define ISearchAssistantOC_get_ASSetting(This,pSetting) (This)->lpVtbl->get_ASSetting(This,pSetting) +#define ISearchAssistantOC_NETDetectNextNavigate(This) (This)->lpVtbl->NETDetectNextNavigate(This) +#define ISearchAssistantOC_PutFindText(This,FindText) (This)->lpVtbl->PutFindText(This,FindText) +#define ISearchAssistantOC_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion) +#define ISearchAssistantOC_EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) (This)->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC_QueryInterface(ISearchAssistantOC* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearchAssistantOC_AddRef(ISearchAssistantOC* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearchAssistantOC_Release(ISearchAssistantOC* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC_GetTypeInfoCount(ISearchAssistantOC* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearchAssistantOC_GetTypeInfo(ISearchAssistantOC* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearchAssistantOC_GetIDsOfNames(ISearchAssistantOC* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearchAssistantOC_Invoke(ISearchAssistantOC* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearchAssistantOC methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC_AddNextMenuItem(ISearchAssistantOC* This,BSTR bstrText,LONG idItem) { + return This->lpVtbl->AddNextMenuItem(This,bstrText,idItem); +} +static FORCEINLINE HRESULT ISearchAssistantOC_SetDefaultSearchUrl(ISearchAssistantOC* This,BSTR bstrUrl) { + return This->lpVtbl->SetDefaultSearchUrl(This,bstrUrl); +} +static FORCEINLINE HRESULT ISearchAssistantOC_NavigateToDefaultSearch(ISearchAssistantOC* This) { + return This->lpVtbl->NavigateToDefaultSearch(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_IsRestricted(ISearchAssistantOC* This,BSTR bstrGuid,VARIANT_BOOL *pVal) { + return This->lpVtbl->IsRestricted(This,bstrGuid,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_ShellFeaturesEnabled(ISearchAssistantOC* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_ShellFeaturesEnabled(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_SearchAssistantDefault(ISearchAssistantOC* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_SearchAssistantDefault(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_Searches(ISearchAssistantOC* This,ISearches **ppid) { + return This->lpVtbl->get_Searches(This,ppid); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_InWebFolder(ISearchAssistantOC* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_InWebFolder(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC_PutProperty(ISearchAssistantOC* This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue) { + return This->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC_GetProperty(ISearchAssistantOC* This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue) { + return This->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC_put_EventHandled(ISearchAssistantOC* This,VARIANT_BOOL rhs) { + return This->lpVtbl->put_EventHandled(This,rhs); +} +static FORCEINLINE HRESULT ISearchAssistantOC_ResetNextMenu(ISearchAssistantOC* This) { + return This->lpVtbl->ResetNextMenu(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_FindOnWeb(ISearchAssistantOC* This) { + return This->lpVtbl->FindOnWeb(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_FindFilesOrFolders(ISearchAssistantOC* This) { + return This->lpVtbl->FindFilesOrFolders(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_FindComputer(ISearchAssistantOC* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_FindPrinter(ISearchAssistantOC* This) { + return This->lpVtbl->FindPrinter(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_FindPeople(ISearchAssistantOC* This) { + return This->lpVtbl->FindPeople(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_GetSearchAssistantURL(ISearchAssistantOC* This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue) { + return This->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC_NotifySearchSettingsChanged(ISearchAssistantOC* This) { + return This->lpVtbl->NotifySearchSettingsChanged(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_put_ASProvider(ISearchAssistantOC* This,BSTR pProvider) { + return This->lpVtbl->put_ASProvider(This,pProvider); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_ASProvider(ISearchAssistantOC* This,BSTR *pProvider) { + return This->lpVtbl->get_ASProvider(This,pProvider); +} +static FORCEINLINE HRESULT ISearchAssistantOC_put_ASSetting(ISearchAssistantOC* This,int pSetting) { + return This->lpVtbl->put_ASSetting(This,pSetting); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_ASSetting(ISearchAssistantOC* This,int *pSetting) { + return This->lpVtbl->get_ASSetting(This,pSetting); +} +static FORCEINLINE HRESULT ISearchAssistantOC_NETDetectNextNavigate(ISearchAssistantOC* This) { + return This->lpVtbl->NETDetectNextNavigate(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC_PutFindText(ISearchAssistantOC* This,BSTR FindText) { + return This->lpVtbl->PutFindText(This,FindText); +} +static FORCEINLINE HRESULT ISearchAssistantOC_get_Version(ISearchAssistantOC* This,int *pVersion) { + return This->lpVtbl->get_Version(This,pVersion); +} +static FORCEINLINE HRESULT ISearchAssistantOC_EncodeString(ISearchAssistantOC* This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult) { + return This->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult); +} +#endif +#endif + +#endif + + +#endif /* __ISearchAssistantOC_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearchAssistantOC2 interface + */ +#ifndef __ISearchAssistantOC2_INTERFACE_DEFINED__ +#define __ISearchAssistantOC2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearchAssistantOC2, 0x72423e8f, 0x8011, 0x11d2, 0xbe,0x79, 0x00,0xa0,0xc9,0xa8,0x3d,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("72423e8f-8011-11d2-be79-00a0c9a83da2") +ISearchAssistantOC2 : public ISearchAssistantOC +{ + virtual HRESULT STDMETHODCALLTYPE get_ShowFindPrinter( + VARIANT_BOOL *pbShowFindPrinter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearchAssistantOC2, 0x72423e8f, 0x8011, 0x11d2, 0xbe,0x79, 0x00,0xa0,0xc9,0xa8,0x3d,0xa2) +#endif +#else +typedef struct ISearchAssistantOC2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearchAssistantOC2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearchAssistantOC2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearchAssistantOC2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearchAssistantOC2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearchAssistantOC2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearchAssistantOC2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearchAssistantOC2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearchAssistantOC methods ***/ + HRESULT (STDMETHODCALLTYPE *AddNextMenuItem)( + ISearchAssistantOC2 *This, + BSTR bstrText, + LONG idItem); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSearchUrl)( + ISearchAssistantOC2 *This, + BSTR bstrUrl); + + HRESULT (STDMETHODCALLTYPE *NavigateToDefaultSearch)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + ISearchAssistantOC2 *This, + BSTR bstrGuid, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_ShellFeaturesEnabled)( + ISearchAssistantOC2 *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_SearchAssistantDefault)( + ISearchAssistantOC2 *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_Searches)( + ISearchAssistantOC2 *This, + ISearches **ppid); + + HRESULT (STDMETHODCALLTYPE *get_InWebFolder)( + ISearchAssistantOC2 *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *PutProperty)( + ISearchAssistantOC2 *This, + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + ISearchAssistantOC2 *This, + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *put_EventHandled)( + ISearchAssistantOC2 *This, + VARIANT_BOOL rhs); + + HRESULT (STDMETHODCALLTYPE *ResetNextMenu)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *FindOnWeb)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *FindFilesOrFolders)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *FindPeople)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *GetSearchAssistantURL)( + ISearchAssistantOC2 *This, + VARIANT_BOOL bSubstitute, + VARIANT_BOOL bCustomize, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *NotifySearchSettingsChanged)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *put_ASProvider)( + ISearchAssistantOC2 *This, + BSTR pProvider); + + HRESULT (STDMETHODCALLTYPE *get_ASProvider)( + ISearchAssistantOC2 *This, + BSTR *pProvider); + + HRESULT (STDMETHODCALLTYPE *put_ASSetting)( + ISearchAssistantOC2 *This, + int pSetting); + + HRESULT (STDMETHODCALLTYPE *get_ASSetting)( + ISearchAssistantOC2 *This, + int *pSetting); + + HRESULT (STDMETHODCALLTYPE *NETDetectNextNavigate)( + ISearchAssistantOC2 *This); + + HRESULT (STDMETHODCALLTYPE *PutFindText)( + ISearchAssistantOC2 *This, + BSTR FindText); + + HRESULT (STDMETHODCALLTYPE *get_Version)( + ISearchAssistantOC2 *This, + int *pVersion); + + HRESULT (STDMETHODCALLTYPE *EncodeString)( + ISearchAssistantOC2 *This, + BSTR bstrValue, + BSTR bstrCharSet, + VARIANT_BOOL bUseUTF8, + BSTR *pbstrResult); + + /*** ISearchAssistantOC2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ShowFindPrinter)( + ISearchAssistantOC2 *This, + VARIANT_BOOL *pbShowFindPrinter); + + END_INTERFACE +} ISearchAssistantOC2Vtbl; + +interface ISearchAssistantOC2 { + CONST_VTBL ISearchAssistantOC2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearchAssistantOC2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearchAssistantOC2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearchAssistantOC2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearchAssistantOC2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearchAssistantOC2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearchAssistantOC2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearchAssistantOC2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearchAssistantOC methods ***/ +#define ISearchAssistantOC2_AddNextMenuItem(This,bstrText,idItem) (This)->lpVtbl->AddNextMenuItem(This,bstrText,idItem) +#define ISearchAssistantOC2_SetDefaultSearchUrl(This,bstrUrl) (This)->lpVtbl->SetDefaultSearchUrl(This,bstrUrl) +#define ISearchAssistantOC2_NavigateToDefaultSearch(This) (This)->lpVtbl->NavigateToDefaultSearch(This) +#define ISearchAssistantOC2_IsRestricted(This,bstrGuid,pVal) (This)->lpVtbl->IsRestricted(This,bstrGuid,pVal) +#define ISearchAssistantOC2_get_ShellFeaturesEnabled(This,pVal) (This)->lpVtbl->get_ShellFeaturesEnabled(This,pVal) +#define ISearchAssistantOC2_get_SearchAssistantDefault(This,pVal) (This)->lpVtbl->get_SearchAssistantDefault(This,pVal) +#define ISearchAssistantOC2_get_Searches(This,ppid) (This)->lpVtbl->get_Searches(This,ppid) +#define ISearchAssistantOC2_get_InWebFolder(This,pVal) (This)->lpVtbl->get_InWebFolder(This,pVal) +#define ISearchAssistantOC2_PutProperty(This,bPerLocale,bstrName,bstrValue) (This)->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue) +#define ISearchAssistantOC2_GetProperty(This,bPerLocale,bstrName,pbstrValue) (This)->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue) +#define ISearchAssistantOC2_put_EventHandled(This,rhs) (This)->lpVtbl->put_EventHandled(This,rhs) +#define ISearchAssistantOC2_ResetNextMenu(This) (This)->lpVtbl->ResetNextMenu(This) +#define ISearchAssistantOC2_FindOnWeb(This) (This)->lpVtbl->FindOnWeb(This) +#define ISearchAssistantOC2_FindFilesOrFolders(This) (This)->lpVtbl->FindFilesOrFolders(This) +#define ISearchAssistantOC2_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define ISearchAssistantOC2_FindPrinter(This) (This)->lpVtbl->FindPrinter(This) +#define ISearchAssistantOC2_FindPeople(This) (This)->lpVtbl->FindPeople(This) +#define ISearchAssistantOC2_GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) (This)->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) +#define ISearchAssistantOC2_NotifySearchSettingsChanged(This) (This)->lpVtbl->NotifySearchSettingsChanged(This) +#define ISearchAssistantOC2_put_ASProvider(This,pProvider) (This)->lpVtbl->put_ASProvider(This,pProvider) +#define ISearchAssistantOC2_get_ASProvider(This,pProvider) (This)->lpVtbl->get_ASProvider(This,pProvider) +#define ISearchAssistantOC2_put_ASSetting(This,pSetting) (This)->lpVtbl->put_ASSetting(This,pSetting) +#define ISearchAssistantOC2_get_ASSetting(This,pSetting) (This)->lpVtbl->get_ASSetting(This,pSetting) +#define ISearchAssistantOC2_NETDetectNextNavigate(This) (This)->lpVtbl->NETDetectNextNavigate(This) +#define ISearchAssistantOC2_PutFindText(This,FindText) (This)->lpVtbl->PutFindText(This,FindText) +#define ISearchAssistantOC2_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion) +#define ISearchAssistantOC2_EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) (This)->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) +/*** ISearchAssistantOC2 methods ***/ +#define ISearchAssistantOC2_get_ShowFindPrinter(This,pbShowFindPrinter) (This)->lpVtbl->get_ShowFindPrinter(This,pbShowFindPrinter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC2_QueryInterface(ISearchAssistantOC2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearchAssistantOC2_AddRef(ISearchAssistantOC2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearchAssistantOC2_Release(ISearchAssistantOC2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC2_GetTypeInfoCount(ISearchAssistantOC2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_GetTypeInfo(ISearchAssistantOC2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_GetIDsOfNames(ISearchAssistantOC2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_Invoke(ISearchAssistantOC2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearchAssistantOC methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC2_AddNextMenuItem(ISearchAssistantOC2* This,BSTR bstrText,LONG idItem) { + return This->lpVtbl->AddNextMenuItem(This,bstrText,idItem); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_SetDefaultSearchUrl(ISearchAssistantOC2* This,BSTR bstrUrl) { + return This->lpVtbl->SetDefaultSearchUrl(This,bstrUrl); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_NavigateToDefaultSearch(ISearchAssistantOC2* This) { + return This->lpVtbl->NavigateToDefaultSearch(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_IsRestricted(ISearchAssistantOC2* This,BSTR bstrGuid,VARIANT_BOOL *pVal) { + return This->lpVtbl->IsRestricted(This,bstrGuid,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_ShellFeaturesEnabled(ISearchAssistantOC2* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_ShellFeaturesEnabled(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_SearchAssistantDefault(ISearchAssistantOC2* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_SearchAssistantDefault(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_Searches(ISearchAssistantOC2* This,ISearches **ppid) { + return This->lpVtbl->get_Searches(This,ppid); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_InWebFolder(ISearchAssistantOC2* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_InWebFolder(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_PutProperty(ISearchAssistantOC2* This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue) { + return This->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_GetProperty(ISearchAssistantOC2* This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue) { + return This->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_put_EventHandled(ISearchAssistantOC2* This,VARIANT_BOOL rhs) { + return This->lpVtbl->put_EventHandled(This,rhs); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_ResetNextMenu(ISearchAssistantOC2* This) { + return This->lpVtbl->ResetNextMenu(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_FindOnWeb(ISearchAssistantOC2* This) { + return This->lpVtbl->FindOnWeb(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_FindFilesOrFolders(ISearchAssistantOC2* This) { + return This->lpVtbl->FindFilesOrFolders(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_FindComputer(ISearchAssistantOC2* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_FindPrinter(ISearchAssistantOC2* This) { + return This->lpVtbl->FindPrinter(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_FindPeople(ISearchAssistantOC2* This) { + return This->lpVtbl->FindPeople(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_GetSearchAssistantURL(ISearchAssistantOC2* This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue) { + return This->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_NotifySearchSettingsChanged(ISearchAssistantOC2* This) { + return This->lpVtbl->NotifySearchSettingsChanged(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_put_ASProvider(ISearchAssistantOC2* This,BSTR pProvider) { + return This->lpVtbl->put_ASProvider(This,pProvider); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_ASProvider(ISearchAssistantOC2* This,BSTR *pProvider) { + return This->lpVtbl->get_ASProvider(This,pProvider); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_put_ASSetting(ISearchAssistantOC2* This,int pSetting) { + return This->lpVtbl->put_ASSetting(This,pSetting); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_ASSetting(ISearchAssistantOC2* This,int *pSetting) { + return This->lpVtbl->get_ASSetting(This,pSetting); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_NETDetectNextNavigate(ISearchAssistantOC2* This) { + return This->lpVtbl->NETDetectNextNavigate(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_PutFindText(ISearchAssistantOC2* This,BSTR FindText) { + return This->lpVtbl->PutFindText(This,FindText); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_get_Version(ISearchAssistantOC2* This,int *pVersion) { + return This->lpVtbl->get_Version(This,pVersion); +} +static FORCEINLINE HRESULT ISearchAssistantOC2_EncodeString(ISearchAssistantOC2* This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult) { + return This->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult); +} +/*** ISearchAssistantOC2 methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC2_get_ShowFindPrinter(ISearchAssistantOC2* This,VARIANT_BOOL *pbShowFindPrinter) { + return This->lpVtbl->get_ShowFindPrinter(This,pbShowFindPrinter); +} +#endif +#endif + +#endif + + +#endif /* __ISearchAssistantOC2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearchAssistantOC3 interface + */ +#ifndef __ISearchAssistantOC3_INTERFACE_DEFINED__ +#define __ISearchAssistantOC3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearchAssistantOC3, 0x72423e8f, 0x8011, 0x11d2, 0xbe,0x79, 0x00,0xa0,0xc9,0xa8,0x3d,0xa3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("72423e8f-8011-11d2-be79-00a0c9a83da3") +ISearchAssistantOC3 : public ISearchAssistantOC2 +{ + virtual HRESULT STDMETHODCALLTYPE get_SearchCompanionAvailable( + VARIANT_BOOL *pbAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_UseSearchCompanion( + VARIANT_BOOL pbUseSC) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UseSearchCompanion( + VARIANT_BOOL *pbUseSC) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearchAssistantOC3, 0x72423e8f, 0x8011, 0x11d2, 0xbe,0x79, 0x00,0xa0,0xc9,0xa8,0x3d,0xa3) +#endif +#else +typedef struct ISearchAssistantOC3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearchAssistantOC3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearchAssistantOC3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearchAssistantOC3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearchAssistantOC3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearchAssistantOC3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearchAssistantOC3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearchAssistantOC3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearchAssistantOC methods ***/ + HRESULT (STDMETHODCALLTYPE *AddNextMenuItem)( + ISearchAssistantOC3 *This, + BSTR bstrText, + LONG idItem); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSearchUrl)( + ISearchAssistantOC3 *This, + BSTR bstrUrl); + + HRESULT (STDMETHODCALLTYPE *NavigateToDefaultSearch)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + ISearchAssistantOC3 *This, + BSTR bstrGuid, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_ShellFeaturesEnabled)( + ISearchAssistantOC3 *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_SearchAssistantDefault)( + ISearchAssistantOC3 *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_Searches)( + ISearchAssistantOC3 *This, + ISearches **ppid); + + HRESULT (STDMETHODCALLTYPE *get_InWebFolder)( + ISearchAssistantOC3 *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *PutProperty)( + ISearchAssistantOC3 *This, + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + ISearchAssistantOC3 *This, + VARIANT_BOOL bPerLocale, + BSTR bstrName, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *put_EventHandled)( + ISearchAssistantOC3 *This, + VARIANT_BOOL rhs); + + HRESULT (STDMETHODCALLTYPE *ResetNextMenu)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *FindOnWeb)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *FindFilesOrFolders)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *FindPeople)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *GetSearchAssistantURL)( + ISearchAssistantOC3 *This, + VARIANT_BOOL bSubstitute, + VARIANT_BOOL bCustomize, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *NotifySearchSettingsChanged)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *put_ASProvider)( + ISearchAssistantOC3 *This, + BSTR pProvider); + + HRESULT (STDMETHODCALLTYPE *get_ASProvider)( + ISearchAssistantOC3 *This, + BSTR *pProvider); + + HRESULT (STDMETHODCALLTYPE *put_ASSetting)( + ISearchAssistantOC3 *This, + int pSetting); + + HRESULT (STDMETHODCALLTYPE *get_ASSetting)( + ISearchAssistantOC3 *This, + int *pSetting); + + HRESULT (STDMETHODCALLTYPE *NETDetectNextNavigate)( + ISearchAssistantOC3 *This); + + HRESULT (STDMETHODCALLTYPE *PutFindText)( + ISearchAssistantOC3 *This, + BSTR FindText); + + HRESULT (STDMETHODCALLTYPE *get_Version)( + ISearchAssistantOC3 *This, + int *pVersion); + + HRESULT (STDMETHODCALLTYPE *EncodeString)( + ISearchAssistantOC3 *This, + BSTR bstrValue, + BSTR bstrCharSet, + VARIANT_BOOL bUseUTF8, + BSTR *pbstrResult); + + /*** ISearchAssistantOC2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ShowFindPrinter)( + ISearchAssistantOC3 *This, + VARIANT_BOOL *pbShowFindPrinter); + + /*** ISearchAssistantOC3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SearchCompanionAvailable)( + ISearchAssistantOC3 *This, + VARIANT_BOOL *pbAvailable); + + HRESULT (STDMETHODCALLTYPE *put_UseSearchCompanion)( + ISearchAssistantOC3 *This, + VARIANT_BOOL pbUseSC); + + HRESULT (STDMETHODCALLTYPE *get_UseSearchCompanion)( + ISearchAssistantOC3 *This, + VARIANT_BOOL *pbUseSC); + + END_INTERFACE +} ISearchAssistantOC3Vtbl; + +interface ISearchAssistantOC3 { + CONST_VTBL ISearchAssistantOC3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearchAssistantOC3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearchAssistantOC3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearchAssistantOC3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearchAssistantOC3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearchAssistantOC3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearchAssistantOC3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearchAssistantOC3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearchAssistantOC methods ***/ +#define ISearchAssistantOC3_AddNextMenuItem(This,bstrText,idItem) (This)->lpVtbl->AddNextMenuItem(This,bstrText,idItem) +#define ISearchAssistantOC3_SetDefaultSearchUrl(This,bstrUrl) (This)->lpVtbl->SetDefaultSearchUrl(This,bstrUrl) +#define ISearchAssistantOC3_NavigateToDefaultSearch(This) (This)->lpVtbl->NavigateToDefaultSearch(This) +#define ISearchAssistantOC3_IsRestricted(This,bstrGuid,pVal) (This)->lpVtbl->IsRestricted(This,bstrGuid,pVal) +#define ISearchAssistantOC3_get_ShellFeaturesEnabled(This,pVal) (This)->lpVtbl->get_ShellFeaturesEnabled(This,pVal) +#define ISearchAssistantOC3_get_SearchAssistantDefault(This,pVal) (This)->lpVtbl->get_SearchAssistantDefault(This,pVal) +#define ISearchAssistantOC3_get_Searches(This,ppid) (This)->lpVtbl->get_Searches(This,ppid) +#define ISearchAssistantOC3_get_InWebFolder(This,pVal) (This)->lpVtbl->get_InWebFolder(This,pVal) +#define ISearchAssistantOC3_PutProperty(This,bPerLocale,bstrName,bstrValue) (This)->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue) +#define ISearchAssistantOC3_GetProperty(This,bPerLocale,bstrName,pbstrValue) (This)->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue) +#define ISearchAssistantOC3_put_EventHandled(This,rhs) (This)->lpVtbl->put_EventHandled(This,rhs) +#define ISearchAssistantOC3_ResetNextMenu(This) (This)->lpVtbl->ResetNextMenu(This) +#define ISearchAssistantOC3_FindOnWeb(This) (This)->lpVtbl->FindOnWeb(This) +#define ISearchAssistantOC3_FindFilesOrFolders(This) (This)->lpVtbl->FindFilesOrFolders(This) +#define ISearchAssistantOC3_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define ISearchAssistantOC3_FindPrinter(This) (This)->lpVtbl->FindPrinter(This) +#define ISearchAssistantOC3_FindPeople(This) (This)->lpVtbl->FindPeople(This) +#define ISearchAssistantOC3_GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) (This)->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) +#define ISearchAssistantOC3_NotifySearchSettingsChanged(This) (This)->lpVtbl->NotifySearchSettingsChanged(This) +#define ISearchAssistantOC3_put_ASProvider(This,pProvider) (This)->lpVtbl->put_ASProvider(This,pProvider) +#define ISearchAssistantOC3_get_ASProvider(This,pProvider) (This)->lpVtbl->get_ASProvider(This,pProvider) +#define ISearchAssistantOC3_put_ASSetting(This,pSetting) (This)->lpVtbl->put_ASSetting(This,pSetting) +#define ISearchAssistantOC3_get_ASSetting(This,pSetting) (This)->lpVtbl->get_ASSetting(This,pSetting) +#define ISearchAssistantOC3_NETDetectNextNavigate(This) (This)->lpVtbl->NETDetectNextNavigate(This) +#define ISearchAssistantOC3_PutFindText(This,FindText) (This)->lpVtbl->PutFindText(This,FindText) +#define ISearchAssistantOC3_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion) +#define ISearchAssistantOC3_EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) (This)->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) +/*** ISearchAssistantOC2 methods ***/ +#define ISearchAssistantOC3_get_ShowFindPrinter(This,pbShowFindPrinter) (This)->lpVtbl->get_ShowFindPrinter(This,pbShowFindPrinter) +/*** ISearchAssistantOC3 methods ***/ +#define ISearchAssistantOC3_get_SearchCompanionAvailable(This,pbAvailable) (This)->lpVtbl->get_SearchCompanionAvailable(This,pbAvailable) +#define ISearchAssistantOC3_put_UseSearchCompanion(This,pbUseSC) (This)->lpVtbl->put_UseSearchCompanion(This,pbUseSC) +#define ISearchAssistantOC3_get_UseSearchCompanion(This,pbUseSC) (This)->lpVtbl->get_UseSearchCompanion(This,pbUseSC) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC3_QueryInterface(ISearchAssistantOC3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearchAssistantOC3_AddRef(ISearchAssistantOC3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearchAssistantOC3_Release(ISearchAssistantOC3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC3_GetTypeInfoCount(ISearchAssistantOC3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_GetTypeInfo(ISearchAssistantOC3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_GetIDsOfNames(ISearchAssistantOC3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_Invoke(ISearchAssistantOC3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearchAssistantOC methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC3_AddNextMenuItem(ISearchAssistantOC3* This,BSTR bstrText,LONG idItem) { + return This->lpVtbl->AddNextMenuItem(This,bstrText,idItem); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_SetDefaultSearchUrl(ISearchAssistantOC3* This,BSTR bstrUrl) { + return This->lpVtbl->SetDefaultSearchUrl(This,bstrUrl); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_NavigateToDefaultSearch(ISearchAssistantOC3* This) { + return This->lpVtbl->NavigateToDefaultSearch(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_IsRestricted(ISearchAssistantOC3* This,BSTR bstrGuid,VARIANT_BOOL *pVal) { + return This->lpVtbl->IsRestricted(This,bstrGuid,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_ShellFeaturesEnabled(ISearchAssistantOC3* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_ShellFeaturesEnabled(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_SearchAssistantDefault(ISearchAssistantOC3* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_SearchAssistantDefault(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_Searches(ISearchAssistantOC3* This,ISearches **ppid) { + return This->lpVtbl->get_Searches(This,ppid); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_InWebFolder(ISearchAssistantOC3* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_InWebFolder(This,pVal); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_PutProperty(ISearchAssistantOC3* This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue) { + return This->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_GetProperty(ISearchAssistantOC3* This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue) { + return This->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_put_EventHandled(ISearchAssistantOC3* This,VARIANT_BOOL rhs) { + return This->lpVtbl->put_EventHandled(This,rhs); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_ResetNextMenu(ISearchAssistantOC3* This) { + return This->lpVtbl->ResetNextMenu(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_FindOnWeb(ISearchAssistantOC3* This) { + return This->lpVtbl->FindOnWeb(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_FindFilesOrFolders(ISearchAssistantOC3* This) { + return This->lpVtbl->FindFilesOrFolders(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_FindComputer(ISearchAssistantOC3* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_FindPrinter(ISearchAssistantOC3* This) { + return This->lpVtbl->FindPrinter(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_FindPeople(ISearchAssistantOC3* This) { + return This->lpVtbl->FindPeople(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_GetSearchAssistantURL(ISearchAssistantOC3* This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue) { + return This->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_NotifySearchSettingsChanged(ISearchAssistantOC3* This) { + return This->lpVtbl->NotifySearchSettingsChanged(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_put_ASProvider(ISearchAssistantOC3* This,BSTR pProvider) { + return This->lpVtbl->put_ASProvider(This,pProvider); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_ASProvider(ISearchAssistantOC3* This,BSTR *pProvider) { + return This->lpVtbl->get_ASProvider(This,pProvider); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_put_ASSetting(ISearchAssistantOC3* This,int pSetting) { + return This->lpVtbl->put_ASSetting(This,pSetting); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_ASSetting(ISearchAssistantOC3* This,int *pSetting) { + return This->lpVtbl->get_ASSetting(This,pSetting); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_NETDetectNextNavigate(ISearchAssistantOC3* This) { + return This->lpVtbl->NETDetectNextNavigate(This); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_PutFindText(ISearchAssistantOC3* This,BSTR FindText) { + return This->lpVtbl->PutFindText(This,FindText); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_Version(ISearchAssistantOC3* This,int *pVersion) { + return This->lpVtbl->get_Version(This,pVersion); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_EncodeString(ISearchAssistantOC3* This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult) { + return This->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult); +} +/*** ISearchAssistantOC2 methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC3_get_ShowFindPrinter(ISearchAssistantOC3* This,VARIANT_BOOL *pbShowFindPrinter) { + return This->lpVtbl->get_ShowFindPrinter(This,pbShowFindPrinter); +} +/*** ISearchAssistantOC3 methods ***/ +static FORCEINLINE HRESULT ISearchAssistantOC3_get_SearchCompanionAvailable(ISearchAssistantOC3* This,VARIANT_BOOL *pbAvailable) { + return This->lpVtbl->get_SearchCompanionAvailable(This,pbAvailable); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_put_UseSearchCompanion(ISearchAssistantOC3* This,VARIANT_BOOL pbUseSC) { + return This->lpVtbl->put_UseSearchCompanion(This,pbUseSC); +} +static FORCEINLINE HRESULT ISearchAssistantOC3_get_UseSearchCompanion(ISearchAssistantOC3* This,VARIANT_BOOL *pbUseSC) { + return This->lpVtbl->get_UseSearchCompanion(This,pbUseSC); +} +#endif +#endif + +#endif + + +#endif /* __ISearchAssistantOC3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * _SearchAssistantEvents dispinterface + */ +#ifndef ___SearchAssistantEvents_DISPINTERFACE_DEFINED__ +#define ___SearchAssistantEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID__SearchAssistantEvents, 0x1611fdda, 0x445b, 0x11d2, 0x85,0xde, 0x00,0xc0,0x4f,0xa3,0x5c,0x89); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1611fdda-445b-11d2-85de-00c04fa35c89") +_SearchAssistantEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(_SearchAssistantEvents, 0x1611fdda, 0x445b, 0x11d2, 0x85,0xde, 0x00,0xc0,0x4f,0xa3,0x5c,0x89) +#endif +#else +typedef struct _SearchAssistantEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + _SearchAssistantEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + _SearchAssistantEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + _SearchAssistantEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + _SearchAssistantEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + _SearchAssistantEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + _SearchAssistantEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + _SearchAssistantEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} _SearchAssistantEventsVtbl; + +interface _SearchAssistantEvents { + CONST_VTBL _SearchAssistantEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define _SearchAssistantEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define _SearchAssistantEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define _SearchAssistantEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define _SearchAssistantEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define _SearchAssistantEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define _SearchAssistantEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define _SearchAssistantEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT _SearchAssistantEvents_QueryInterface(_SearchAssistantEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG _SearchAssistantEvents_AddRef(_SearchAssistantEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG _SearchAssistantEvents_Release(_SearchAssistantEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT _SearchAssistantEvents_GetTypeInfoCount(_SearchAssistantEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT _SearchAssistantEvents_GetTypeInfo(_SearchAssistantEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT _SearchAssistantEvents_GetIDsOfNames(_SearchAssistantEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT _SearchAssistantEvents_Invoke(_SearchAssistantEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* ___SearchAssistantEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * ShellSearchAssistantOC coclass + */ + +DEFINE_GUID(CLSID_ShellSearchAssistantOC, 0x2e71fd0f, 0xaab1, 0x42c0, 0x91,0x46, 0x6d,0x2c,0x4e,0xdc,0xf0,0x7d); + +#ifdef __cplusplus +class DECLSPEC_UUID("2e71fd0f-aab1-42c0-9146-6d2c4edcf07d") ShellSearchAssistantOC; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellSearchAssistantOC, 0x2e71fd0f, 0xaab1, 0x42c0, 0x91,0x46, 0x6d,0x2c,0x4e,0xdc,0xf0,0x7d) +#endif +#endif + +/***************************************************************************** + * SearchAssistantOC coclass + */ + +DEFINE_GUID(CLSID_SearchAssistantOC, 0xb45ff030, 0x4447, 0x11d2, 0x85,0xde, 0x00,0xc0,0x4f,0xa3,0x5c,0x89); + +#ifdef __cplusplus +class DECLSPEC_UUID("b45ff030-4447-11d2-85de-00c04fa35c89") SearchAssistantOC; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SearchAssistantOC, 0xb45ff030, 0x4447, 0x11d2, 0x85,0xde, 0x00,0xc0,0x4f,0xa3,0x5c,0x89) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __exdisp_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdisp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdisp.idl new file mode 100644 index 0000000..90cc266 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdisp.idl @@ -0,0 +1,1081 @@ +/* + * Defines the COM interfaces and APIs related to the IE Web browser + * + * Copyright (C) 2001 John R. Sheets (for CodeWeavers) + * Copyright (C) 2003 Alexandre Julliard + * Copyright (C) 2004 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; +import "docobj.idl"; + +#include +#include + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef FindText") +cpp_quote("#endif") + +/***************************************************************************** + * SHDocVw library + */ +[ + uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B), + version(1.1), + helpstring("Microsoft Internet Controls") +] +library SHDocVw +{ + +importlib("stdole2.tlb"); + + +/***************************************************************************** + * IWebBrowser interface + */ +[ + object, + oleautomation, + uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b), + hidden, + dual +] +interface IWebBrowser : IDispatch +{ + typedef enum BrowserNavConstants + { + navOpenInNewWindow = 0x00000001, + navNoHistory = 0x00000002, + navNoReadFromCache = 0x00000004, + navNoWriteToCache = 0x00000008, + navAllowAutosearch = 0x00000010, + navBrowserBar = 0x00000020, + navHyperlink = 0x00000040, + navEnforceRestricted = 0x00000080, + navNewWindowsManaged = 0x00000100, + navUntrustedForDownload = 0x00000200, + navTrustedForActiveX = 0x00000400, + navOpenInNewTab = 0x00000800, + navOpenInBackgroundTab = 0x00001000, + navKeepWordWheelText = 0x00002000, + navVirtualTab = 0x00004000, + navBlockRedirectsXDomain = 0x00008000, + navOpenNewForegroundTab = 0x00010000, + navTravelLogScreenshot = 0x00020000, + navDeferUnload = 0x00040000, + navSpeculative = 0x00080000, + navSuggestNewWindow = 0x00100000, + navSuggestNewTab = 0x00200000, + navReserved1 = 0x00400000, + navHomepageNavigate = 0x00800000, + navRefresh = 0x01000000, + navHostNavigation = 0x02000000, + navReserved2 = 0x04000000, + navReserved3 = 0x08000000, + navReserved4 = 0x10000000, + } BrowserNavConstants; + + typedef enum RefreshConstants + { + REFRESH_NORMAL = 0, + REFRESH_IFEXPIRED = 1, + REFRESH_COMPLETELY = 3 + } RefreshConstants; + + [id(100)] HRESULT GoBack(); + [id(101)] HRESULT GoForward(); + [id(102)] HRESULT GoHome(); + [id(103)] HRESULT GoSearch(); + + [id(104)] + HRESULT Navigate( + [in] BSTR URL, + [in, optional] VARIANT *Flags, + [in, optional] VARIANT *TargetFrameName, + [in, optional] VARIANT *PostData, + [in, optional] VARIANT *Headers); + + [id(DISPID_REFRESH)] HRESULT Refresh(); + [id(105)] HRESULT Refresh2([in, optional] VARIANT *Level); + [id(106)] HRESULT Stop(); + [id(200), propget] HRESULT Application([out, retval] IDispatch** ppDisp); + [id(201), propget] HRESULT Parent([out, retval] IDispatch** ppDisp); + [id(202), propget] HRESULT Container([out, retval] IDispatch** ppDisp); + [id(203), propget] HRESULT Document([out, retval] IDispatch** ppDisp); + [id(204), propget] HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool); + [id(205), propget] HRESULT Type([out, retval] BSTR* Type); + [id(206), propget] HRESULT Left([out, retval] long *pl); + [id(206), propput] HRESULT Left([in] long Left); + [id(207), propget] HRESULT Top([out, retval] long *pl); + [id(207), propput] HRESULT Top([in] long Top); + [id(208), propget] HRESULT Width([out, retval] long *pl); + [id(208), propput] HRESULT Width([in] long Width); + [id(209), propget] HRESULT Height([out, retval] long *pl); + [id(209), propput] HRESULT Height([in] long Height); + [id(210), propget] HRESULT LocationName([out, retval] BSTR *LocationName); + [id(211), propget] HRESULT LocationURL([out, retval] BSTR *LocationURL); + [id(212), propget] HRESULT Busy([out, retval] VARIANT_BOOL *pBool); +} + +/***************************************************************************** + * DWebBrowserEvents dispinterface + */ +[ + uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b), + hidden +] +dispinterface DWebBrowserEvents +{ + properties: + methods: + [id(DISPID_BEFORENAVIGATE)] + void BeforeNavigate( + [in] BSTR URL, + long Flags, + BSTR TargetFrameName, + VARIANT *PostData, + BSTR Headers, + [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_NAVIGATECOMPLETE)] + void NavigateComplete([in] BSTR URL); + + [id(DISPID_STATUSTEXTCHANGE)] + void StatusTextChange([in] BSTR Text); + + [id(DISPID_PROGRESSCHANGE)] + void ProgressChange([in] long Progress, [in] long ProgressMax); + + [id(DISPID_DOWNLOADCOMPLETE)] + void DownloadComplete(); + + [id(DISPID_COMMANDSTATECHANGE)] + void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable); + + [id(DISPID_DOWNLOADBEGIN)] + void DownloadBegin(); + + [id(DISPID_NEWWINDOW)] + void NewWindow( + [in] BSTR URL, + [in] long Flags, + [in] BSTR TargetFrameName, + [in] VARIANT *PostData, + [in] BSTR Headers, + [in,out] VARIANT_BOOL *Processed); + + [id(DISPID_TITLECHANGE)] + void TitleChange([in] BSTR Text); + + [id(DISPID_FRAMEBEFORENAVIGATE)] + void FrameBeforeNavigate( + [in] BSTR URL, + long Flags, + BSTR TargetFrameName, + VARIANT *PostData, + BSTR Headers, + [in, out]VARIANT_BOOL *Cancel); + + [id(DISPID_FRAMENAVIGATECOMPLETE)] + void FrameNavigateComplete([in] BSTR URL); + + [id(DISPID_FRAMENEWWINDOW)] + void FrameNewWindow( + [in] BSTR URL, + [in] long Flags, + [in] BSTR TargetFrameName, + [in] VARIANT *PostData, + [in] BSTR Headers, + [in,out] VARIANT_BOOL *Processed); + + [id(DISPID_QUIT)] + void Quit([in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_WINDOWMOVE)] + void WindowMove(); + + [id(DISPID_WINDOWRESIZE)] + void WindowResize(); + + [id(DISPID_WINDOWACTIVATE)] + void WindowActivate(); + + [id(DISPID_PROPERTYCHANGE)] + void PropertyChange([in] BSTR Property); +} + +typedef +[ + uuid(34a226e0-df30-11cf-89a9-00a0c9054129) +] +enum CommandStateChangeConstants { + CSC_UPDATECOMMANDS = -1, + CSC_NAVIGATEFORWARD = 1, + CSC_NAVIGATEBACK = 2 +} CommandStateChangeConstants; + +/***************************************************************************** + * IWebBrowserApp interface + */ +[ + object, + oleautomation, + uuid(0002df05-0000-0000-c000-000000000046), + hidden, + dual +] +interface IWebBrowserApp : IWebBrowser +{ + [id(300)] HRESULT Quit(); + [id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy); + [id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue); + [id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue); + [id(DISPID_VALUE), propget] HRESULT Name([out, retval] BSTR* Name); + [id(DISPID_HWND), propget] HRESULT HWND([out, retval] SHANDLE_PTR *pHWND); + [id(400), propget] HRESULT FullName([out, retval] BSTR* FullName); + [id(401), propget] HRESULT Path([out, retval] BSTR* Path); + [id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool); + [id(402), propput] HRESULT Visible([in] VARIANT_BOOL Value); + [id(403), propget] HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool); + [id(403), propput] HRESULT StatusBar([in] VARIANT_BOOL Value); + [id(404), propget] HRESULT StatusText([out, retval] BSTR *StatusText); + [id(404), propput] HRESULT StatusText([in] BSTR StatusText); + [id(405), propget] HRESULT ToolBar([out, retval] int * Value); + [id(405), propput] HRESULT ToolBar([in] int Value); + [id(406), propget] HRESULT MenuBar([out, retval] VARIANT_BOOL *Value); + [id(406), propput] HRESULT MenuBar([in] VARIANT_BOOL Value); + [id(407), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL *pbFullScreen); + [id(407), propput] HRESULT FullScreen([in] VARIANT_BOOL bFullScreen); +} + +/***************************************************************************** + * IWebBrowser2 interface + */ +[ + object, + oleautomation, + uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e), + hidden, + dual +] +interface IWebBrowser2 : IWebBrowserApp +{ + [id(500)] HRESULT Navigate2( + [in] VARIANT *URL, + [in, optional] VARIANT *Flags, + [in, optional] VARIANT *TargetFrameName, + [in, optional] VARIANT *PostData, + [in, optional] VARIANT *Headers); + + [id(501)] HRESULT QueryStatusWB( + [in] OLECMDID cmdID, + [out, retval] OLECMDF *pcmdf); + + [id(502)] HRESULT ExecWB( + [in] OLECMDID cmdID, + [in] OLECMDEXECOPT cmdexecopt, + [in, optional] VARIANT *pvaIn, + [out, in, optional] VARIANT *pvaOut); + + [id(503)] HRESULT ShowBrowserBar( + [in] VARIANT *pvaClsid, + [in, optional] VARIANT *pvarShow, + [in, optional] VARIANT *pvarSize); + + [id(DISPID_READYSTATE), propget, bindable] + HRESULT ReadyState([out, retval] READYSTATE *plReadyState); + + [id(550), propget] HRESULT Offline([out, retval] VARIANT_BOOL *pbOffline); + [id(550), propput] HRESULT Offline([in] VARIANT_BOOL bOffline); + [id(551), propget] HRESULT Silent([out, retval] VARIANT_BOOL *pbSilent); + [id(551), propput] HRESULT Silent([in] VARIANT_BOOL bSilent); + [id(552), propget] HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL *pbRegister); + [id(552), propput] HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister); + [id(553), propget] HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL *pbRegister); + [id(553), propput] HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister); + [id(554), propget] HRESULT TheaterMode([out, retval] VARIANT_BOOL *pbRegister); + [id(554), propput] HRESULT TheaterMode([in] VARIANT_BOOL bRegister); + [id(555), propget] HRESULT AddressBar([out, retval] VARIANT_BOOL *Value); + [id(555), propput] HRESULT AddressBar([in] VARIANT_BOOL Value); + [id(556), propget] HRESULT Resizable([out, retval] VARIANT_BOOL *Value); + [id(556), propput] HRESULT Resizable([in] VARIANT_BOOL Value); +} + +typedef +[ + uuid(65507be0-91a8-11d3-a845-009027220e6d) +] +enum SecureLockIconConstants { + secureLockIconUnsecure = 0, + secureLockIconMixed = 1, + secureLockIconSecureUnknownBits = 2, + secureLockIconSecure40Bit = 3, + secureLockIconSecure56Bit = 4, + secureLockIconSecureFortezza = 5, + secureLockIconSecure128Bit = 6 +} SecureLockIconConstants; + +/***************************************************************************** + * DWebBrowserEvents2 dispinterface + */ +[ + uuid(34a715a0-6587-11d0-924a-0020afc7ac4d), + hidden +] +dispinterface DWebBrowserEvents2 +{ + properties: + methods: + [id(DISPID_STATUSTEXTCHANGE)] + void StatusTextChange([in] BSTR Text); + + [id(DISPID_PROGRESSCHANGE)] + void ProgressChange([in] long Progress, [in] long ProgressMax); + + [id(DISPID_COMMANDSTATECHANGE)] + void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable); + + [id(DISPID_DOWNLOADBEGIN)] + void DownloadBegin(); + + [id(DISPID_DOWNLOADCOMPLETE)] + void DownloadComplete(); + + [id(DISPID_TITLECHANGE)] + void TitleChange([in] BSTR Text); + + [id(DISPID_PROPERTYCHANGE)] + void PropertyChange([in] BSTR szProperty); + + [id(DISPID_BEFORENAVIGATE2)] + void BeforeNavigate2( + [in] IDispatch *pDisp, + [in] VARIANT *URL, + [in] VARIANT *Flags, + [in] VARIANT *TargetFrameName, + [in] VARIANT *PostData, + [in] VARIANT *Headers, + [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_NEWWINDOW2)] + void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_NAVIGATECOMPLETE2)] + void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL); + + [id(DISPID_DOCUMENTCOMPLETE)] + void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL); + + [id(DISPID_ONQUIT)] + void OnQuit(); + + [id(DISPID_ONVISIBLE)] + void OnVisible([in] VARIANT_BOOL Visible); + + [id(DISPID_ONTOOLBAR)] + void OnToolBar([in] VARIANT_BOOL ToolBar); + + [id(DISPID_ONMENUBAR)] + void OnMenuBar([in] VARIANT_BOOL MenuBar); + + [id(DISPID_ONSTATUSBAR)] + void OnStatusBar([in] VARIANT_BOOL StatusBar); + + [id(DISPID_ONFULLSCREEN)] + void OnFullScreen([in] VARIANT_BOOL FullScreen); + + [id(DISPID_ONTHEATERMODE)] + void OnTheaterMode([in] VARIANT_BOOL TheaterMode); + + [id(DISPID_WINDOWSETRESIZABLE)] + void WindowSetResizable([in] VARIANT_BOOL Resizable); + + [id(DISPID_WINDOWSETLEFT)] + void WindowSetLeft([in] long Left); + + [id(DISPID_WINDOWSETTOP)] + void WindowSetTop([in] long Top); + + [id(DISPID_WINDOWSETWIDTH)] + void WindowSetWidth([in] long Width); + + [id(DISPID_WINDOWSETHEIGHT)] + void WindowSetHeight([in] long Height); + + [id(DISPID_WINDOWCLOSING)] + void WindowClosing( + [in] VARIANT_BOOL IsChildWindow, + [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_CLIENTTOHOSTWINDOW)] + void ClientToHostWindow( + [in, out] long *CX, + [in, out] long *CY); + + [id(DISPID_SETSECURELOCKICON)] + void SetSecureLockIcon([in] long SecureLockIcon); + + [id(DISPID_FILEDOWNLOAD)] + void FileDownload( + [in] VARIANT_BOOL ActiveDocument, + [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_NAVIGATEERROR)] + void NavigateError( + [in] IDispatch *pDisp, + [in] VARIANT *URL, + [in] VARIANT *Frame, + [in] VARIANT *StatusCode, + [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_PRINTTEMPLATEINSTANTIATION)] + void PrintTemplateInstantiation([in] IDispatch *pDisp); + + [id(DISPID_PRINTTEMPLATETEARDOWN)] + void PrintTemplateTeardown([in] IDispatch *pDisp); + + [id(DISPID_UPDATEPAGESTATUS)] + void UpdatePageStatus( + [in] IDispatch *pDisp, + [in] VARIANT *nPage, + [in] VARIANT *fDone); + + [id(DISPID_PRIVACYIMPACTEDSTATECHANGE)] + void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted); + + [id(DISPID_NEWWINDOW3)] + void NewWindow3( + [in, out] IDispatch **ppDisp, + [in, out] VARIANT_BOOL *Cancel, + [in] DWORD dwFlags, + [in] BSTR bstrUrlContext, + [in] BSTR bstrUrl); + + [id(DISPID_SETPHISHINGFILTERSTATUS)] + void SetPhishingFilterStatus([in] long PhishingFilterStatus); + + [id(DISPID_WINDOWSTATECHANGED)] + void WindowStateChanged( + [in] DWORD dwWindowStateFlags, + [in] DWORD dwValidFlagsMask); + + [id(DISPID_NEWPROCESS)] + void NewProcess( + [in] long lCauseFlag, + [in] IDispatch *pWB2, + [in, out] VARIANT_BOOL *Cancel); + + [id(DISPID_THIRDPARTYURLBLOCKED)] + void ThirdPartyUrlBlocked( + [in] VARIANT *URL, + [in] DWORD dwCount); + + [id(DISPID_REDIRECTXDOMAINBLOCKED)] + void RedirectXDomainBlocked( + [in] IDispatch *pDisp, + [in] VARIANT *StartURL, + [in] VARIANT *RedirectURL, + [in] VARIANT *Frame, + [in] VARIANT *StatusCode); + + [id(DISPID_BEFORESCRIPTEXECUTE)] + void BeforeScriptExecute([in] IDispatch *pDispWindow); + + [id(DISPID_WEBWORKERSTARTED)] + void WebWorkerStarted( + [in] DWORD dwUniqueID, + [in] BSTR bstrWorkerLabel); + + [id(DISPID_WEBWORKERFINISHED)] + void WebWorkerFinished([in] DWORD dwUniqueID); +} + +[ + helpstring("Microsoft Web Browser Version 1"), + threading(apartment), + progid("Shell.Explorer.1"), + vi_progid("Shell.Explorer"), + uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b), + control +] +coclass WebBrowser_V1 +{ + interface IWebBrowser2; + [default] interface IWebBrowser; + [source] dispinterface DWebBrowserEvents2; + [default, source] dispinterface DWebBrowserEvents; +} + +[ + helpstring("Microsoft Web Browser"), + threading(apartment), + progid("Shell.Explorer.2"), + vi_progid("Shell.Explorer"), + uuid(8856f961-340a-11d0-a96b-00c04fd705a2), + control +] +coclass WebBrowser +{ + [default] interface IWebBrowser2; + interface IWebBrowser; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; +} + +[ + helpstring("Internet Explorer(Ver 1.0)"), + progid("InternetExplorer.Application.1"), + vi_progid("InternetExplorer.Application"), + uuid(0002df01-0000-0000-c000-000000000046) +] +coclass InternetExplorer +{ + [default] interface IWebBrowser2; + interface IWebBrowserApp; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; +} + +[ + uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880), + hidden +] +coclass ShellBrowserWindow +{ + [default] interface IWebBrowser2; + interface IWebBrowserApp; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; +} + +typedef +[ + uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5) +] +enum ShellWindowTypeConstants { + SWC_EXPLORER = 0, + SWC_BROWSER = 1, + SWC_3RDPARTY = 2, + SWC_CALLBACK = 4, + SWC_DESKTOP = 8 +} ShellWindowTypeConstants; + +typedef +[ + uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39) +] +enum ShellWindowFindWindowOptions { + SWFO_NEEDDISPATCH = 1, + SWFO_INCLUDEPENDING = 2, + SWFO_COOKIEPASSED = 4 +} ShellWindowFindWindowOptions; + +[ + uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39) +] +dispinterface DShellWindowsEvents { + properties: + methods: + [id(DISPID_WINDOWREGISTERED)] + void WindowRegistered([in] long lCookie); + + [id(DISPID_WINDOWREVOKED)] + void WindowRevoked([in] long lCookie); +} + +[ + object, + oleautomation, + uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85), + dual +] +interface IShellWindows : IDispatch +{ + [propget] HRESULT Count([out, retval] long *Count); + + [id(DISPID_VALUE)] + HRESULT Item( + [in, optional] VARIANT index, + [out, retval] IDispatch **Folder); + + [id(DISPID_NEWENUM)] + HRESULT _NewEnum([out, retval] IUnknown **ppunk); + + [hidden] HRESULT Register( + [in] IDispatch *pid, + [in] long hWnd, + [in] int swClass, + [out] long *plCookie); + + [hidden] HRESULT RegisterPending( + [in] long lThreadId, + [in] VARIANT *pvarloc, + [in] VARIANT *pvarlocRoot, + [in] int swClass, + [out] long *plCookie); + + [hidden] HRESULT Revoke([in] long lCookie); + [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc); + [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive); + [hidden] HRESULT FindWindowSW( + [in] VARIANT *pvarLoc, + [in] VARIANT *pvarLocRoot, + [in] int swClass, + [out] long *phwnd, + [in] int swfwOptions, + [out, retval] IDispatch **ppdispOut); + + [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk); + [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach); +} + +[ + threading(apartment), + uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39) +] +coclass ShellWindows +{ + [default] interface IShellWindows; + [default, source] dispinterface DShellWindowsEvents; +} + +[ + odl, + uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1), + dual, + oleautomation +] +interface IShellUIHelper : IDispatch { + [id(1), hidden] HRESULT ResetFirstBootMode(); + [id(2), hidden] HRESULT ResetSafeMode(); + [id(3), hidden] HRESULT RefreshOfflineDesktop(); + + [id(4)] HRESULT AddFavorite( + [in] BSTR URL, + [in, optional] VARIANT* Title); + + [id(5)] HRESULT AddChannel([in] BSTR URL); + + [id(6)] HRESULT AddDesktopComponent( + [in] BSTR URL, + [in] BSTR Type, + [in, optional] VARIANT *Left, + [in, optional] VARIANT *Top, + [in, optional] VARIANT *Width, + [in, optional] VARIANT *Height); + + [id(7)] HRESULT IsSubscribed( + [in] BSTR URL, + [out, retval] VARIANT_BOOL *pBool); + + [id(8)] HRESULT NavigateAndFind( + [in] BSTR URL, + [in] BSTR strQuery, + [in] VARIANT *varTargetFrame); + + [id(9)] HRESULT ImportExportFavorites( + [in] VARIANT_BOOL fImport, + [in] BSTR strImpExpPath); + + [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form); + + [id(11)] HRESULT AutoScan( + [in] BSTR strSearch, + [in] BSTR strFailureUrl, + [in, optional] VARIANT *pvarTargetFrame); + + [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved); + + [id(13)] HRESULT ShowBrowserUI( + [in] BSTR bstrName, + [in] VARIANT *pvarIn, + [out, retval] VARIANT *pvarOut); +} + +[ + uuid(a7fe6eda-1932-4281-b881-87b31b8bc52c), + oleautomation, + dual +] +interface IShellUIHelper2 : IShellUIHelper { + [id(DISPID_ADDSEARCHPROVIDER)] + HRESULT AddSearchProvider([in] BSTR URL); + + [id(DISPID_RUNONCESHOWN)] + HRESULT RunOnceShown(); + + [id(DISPID_SKIPRUNONCE)] + HRESULT SkipRunOnce(); + + [id(DISPID_CUSTOMIZESETTINGS)] HRESULT CustomizeSettings( + [in] VARIANT_BOOL fSQM, + [in] VARIANT_BOOL fPhishing, + [in] BSTR bstrLocale); + + [id(DISPID_SQMENABLED)] + HRESULT SqmEnabled([out, retval] VARIANT_BOOL *pfEnabled); + + [id(DISPID_PHISHINGENABLED)] + HRESULT PhishingEnabled([out, retval] VARIANT_BOOL *pfEnabled); + + [id(DISPID_BRANDIMAGEURI)] + HRESULT BrandImageUri([out, retval] BSTR *pbstrUri); + + [id(DISPID_SKIPTABSWELCOME)] + HRESULT SkipTabsWelcome(); + + [id(DISPID_DIAGNOSECONNECTION)] + HRESULT DiagnoseConnection(); + + [id(DISPID_CUSTOMIZECLEARTYPE)] + HRESULT CustomizeClearType([in] VARIANT_BOOL fSet); + + [id(DISPID_ISSEARCHPROVIDERINSTALLED)] + HRESULT IsSearchProviderInstalled( + [in] BSTR URL, + [out, retval] DWORD *pdwResult); + + [id(DISPID_ISSEARCHMIGRATED)] + HRESULT IsSearchMigrated([out, retval] VARIANT_BOOL *pfMigrated); + + [id(DISPID_DEFAULTSEARCHPROVIDER)] + HRESULT DefaultSearchProvider([out, retval] BSTR *pbstrName); + + [id(DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE)] + HRESULT RunOnceRequiredSettingsComplete([in] VARIANT_BOOL fComplete); + + [id(DISPID_RUNONCEHASSHOWN)] + HRESULT RunOnceHasShown([out, retval] VARIANT_BOOL *pfShown); + + [id(DISPID_SEARCHGUIDEURL)] + HRESULT SearchGuideUrl([out, retval] BSTR *pbstrUrl); +} + +[ + helpstring("Microsoft Shell UI Helper"), + threading(apartment), + progid("Shell.UIHelper.1"), + vi_progid("Shell.UIHelper"), + uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1) +] +coclass ShellUIHelper { + [default] interface IShellUIHelper2; +} + +[ + uuid(55136806-b2de-11d1-b9f2-00a0c98bc547) +] +dispinterface DShellNameSpaceEvents { + properties: + methods: + [id(1)] void FavoritesSelectionChange( + [in] long cItems, + [in] long hItem, + [in] BSTR strName, + [in] BSTR strUrl, + [in] long cVisits, + [in] BSTR strDate, + [in] long fAvailableOffline); + + [id(2)] void SelectionChange(); + [id(3)] void DoubleClick(); + [id(4)] void Initialized(); +} + +[ + odl, + uuid(55136804-b2de-11d1-b9f2-00a0c98bc547), + hidden, + dual, + oleautomation +] +interface IShellFavoritesNameSpace : IDispatch { + [id(1)] HRESULT MoveSelectionUp(); + [id(2)] HRESULT MoveSelectionDown(); + [id(3)] HRESULT ResetSort(); + [id(4)] HRESULT NewFolder(); + [id(5)] HRESULT Synchronize(); + [id(6)] HRESULT Import(); + [id(7)] HRESULT Export(); + [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand); + [id(9)] HRESULT MoveSelectionTo(); + [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool); + [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool); + [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool); + [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath); +} + +[ + odl, + uuid(e572d3c9-37be-4ae2-825d-d521763e3108), + hidden, + dual, + oleautomation +] +interface IShellNameSpace : IShellFavoritesNameSpace { + [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags); + [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags); + + [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem); + [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem); + + [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar); + [id(16), propput] HRESULT Root([in] VARIANT pvar); + + [id(17), propget] HRESULT Depth([out, retval] int *piDepth); + [id(17), propput] HRESULT Depth([in] int piDepth); + + [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode); + [id(18), propput] HRESULT Mode([in] unsigned int puMode); + + [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags); + [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags); + + [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags); + [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags); + + [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns); + [id(21), propput] HRESULT Columns([in] BSTR bstrColumns); + + [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes); + + [id(23)] HRESULT SetViewType([in] int iType); + [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid); + [id(25)] HRESULT Expand([in] VARIANT var, int iDepth); + [id(26)] HRESULT UnselectAll(); +} + +[ + helpstring("Shell Name Space"), + threading(apartment), + progid("ShellNameSpace.ShellNameSpace.1"), + vi_progid("ShellNameSpace.ShellNameSpace"), + uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a) +] +coclass ShellShellNameSpace { + [default] interface IShellNameSpace; + [default, source] dispinterface DShellNameSpaceEvents; +} + +[ + helpstring("Shell Name Space"), + threading(apartment), + progid("ShellNameSpace.ShellNameSpace.1"), + vi_progid("ShellNameSpace.ShellNameSpace"), + uuid(55136805-b2de-11d1-b9f2-00a0c98bc547) +] +coclass ShellNameSpace { + [default] interface IShellNameSpace; + [default, source] dispinterface DShellNameSpaceEvents; +} + +[ + odl, + uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca), + hidden, + dual, + oleautomation +] +interface IScriptErrorList : IDispatch { + [id(10)] HRESULT advanceError(); + [id(11)] HRESULT retreatError(); + [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance); + [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat); + [id(14)] HRESULT getErrorLine([out, retval] long *plLine); + [id(15)] HRESULT getErrorChar([out, retval] long *plChar); + [id(16)] HRESULT getErrorCode([out, retval] long *plCode); + [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr); + [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr); + [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked); + [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen); + [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen); + [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay); + [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay); +} + +[ + uuid(efd01300-160f-11d2-bb2e-00805ff7efca), + hidden, + noncreatable +] +coclass CScriptErrorList { + [default] interface IScriptErrorList; +} + +[ + odl, + uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661), + hidden, + dual, + oleautomation +] +interface ISearch : IDispatch { + [propget] HRESULT Title([out, retval] BSTR *pbstrTitle); + [propget] HRESULT Id([out, retval] BSTR *pbstrId); + [propget] HRESULT URL([out, retval] BSTR *pbstrUrl); +} + +[ + odl, + uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661), + hidden, + dual, + oleautomation +] +interface ISearches : IDispatch { + [propget] HRESULT Count([out, retval] long *plCount); + [propget] HRESULT Default([out, retval] BSTR *pbstrDefault); + + HRESULT Item( + [in, optional] VARIANT index, + [out, retval] ISearch **ppid); + + [id(DISPID_NEWENUM)] + HRESULT _NewEnum([out, retval] IUnknown **ppunk); +} + +[ + odl, + uuid(72423e8f-8011-11d2-be79-00a0c9a83da1), + hidden, + dual, + oleautomation +] +interface ISearchAssistantOC : IDispatch { + [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem); + [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl); + [id(3)] HRESULT NavigateToDefaultSearch(); + + [id(4)] HRESULT IsRestricted( + [in] BSTR bstrGuid, + [out, retval] VARIANT_BOOL *pVal); + + [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal); + [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal); + [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid); + [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal); + + [id(9)] HRESULT PutProperty( + [in] VARIANT_BOOL bPerLocale, + [in] BSTR bstrName, + [in] BSTR bstrValue); + + [id(10)] HRESULT GetProperty( + [in] VARIANT_BOOL bPerLocale, + [in] BSTR bstrName, + [out, retval] BSTR *pbstrValue); + + [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs); + [id(12)] HRESULT ResetNextMenu(); + [id(13)] HRESULT FindOnWeb(); + [id(14)] HRESULT FindFilesOrFolders(); + [id(15)] HRESULT FindComputer(); + [id(16)] HRESULT FindPrinter(); + [id(17)] HRESULT FindPeople(); + + [id(18)] HRESULT GetSearchAssistantURL( + [in] VARIANT_BOOL bSubstitute, + [in] VARIANT_BOOL bCustomize, + [out, retval] BSTR *pbstrValue); + + [id(19)] HRESULT NotifySearchSettingsChanged(); + + [id(20), propput] HRESULT ASProvider([in] BSTR pProvider); + [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider); + + [id(21), propput] HRESULT ASSetting([in] int pSetting); + [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting); + + [id(22)] HRESULT NETDetectNextNavigate(); + [id(23)] HRESULT PutFindText([in] BSTR FindText); + [id(24), propget] HRESULT Version([out, retval] int *pVersion); + + [id(25)] HRESULT EncodeString( + [in] BSTR bstrValue, + [in] BSTR bstrCharSet, + [in] VARIANT_BOOL bUseUTF8, + [out, retval] BSTR* pbstrResult); +} + +[ + odl, + uuid(72423e8f-8011-11d2-be79-00a0c9a83da2), + hidden, + dual, + oleautomation +] +interface ISearchAssistantOC2 : ISearchAssistantOC { + [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter); +} + +[ + odl, + uuid(72423e8f-8011-11d2-be79-00a0c9a83da3), + hidden, + dual, + oleautomation +] +interface ISearchAssistantOC3 : ISearchAssistantOC2 { + [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable); + + [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC); + [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC); +} + +[ + uuid(1611fdda-445b-11d2-85de-00C04fa35c89), + hidden +] +dispinterface _SearchAssistantEvents { + properties: + methods: + [id(1)] void OnNextMenuSelect([in] long idItem); + [id(2)] void OnNewSearch(); +} + +[ + helpstring("SearchAssistantOC"), + threading(apartment), + progid("SearchAssistantOC.SearchAssistantOC.1"), + vi_progid("SearchAssistantOC.SearchAssistantOC"), + uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d), + hidden +] +coclass ShellSearchAssistantOC { + [default] interface ISearchAssistantOC3; + [default, source] dispinterface _SearchAssistantEvents; +} + +[ + threading(apartment), + progid("SearchAssistantOC.SearchAssistantOC.1"), + vi_progid("SearchAssistantOC.SearchAssistantOC"), + uuid(b45ff030-4447-11d2-85de-00C04fa35c89), + hidden +] +coclass SearchAssistantOC { + [default] interface ISearchAssistantOC3; + [default, source] dispinterface _SearchAssistantEvents; +} + +} /* library */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdispid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdispid.h new file mode 100644 index 0000000..6902f99 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/exdispid.h @@ -0,0 +1,175 @@ +/* + * Copyright 2004 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef EXDISPID_H_ +#define EXDISPID_H_ + +#define DISPID_BEFORENAVIGATE 100 +#define DISPID_NAVIGATECOMPLETE 101 +#define DISPID_STATUSTEXTCHANGE 102 +#define DISPID_QUIT 103 +#define DISPID_DOWNLOADCOMPLETE 104 +#define DISPID_COMMANDSTATECHANGE 105 +#define DISPID_DOWNLOADBEGIN 106 +#define DISPID_NEWWINDOW 107 +#define DISPID_PROGRESSCHANGE 108 +#define DISPID_WINDOWMOVE 109 +#define DISPID_WINDOWRESIZE 110 +#define DISPID_WINDOWACTIVATE 111 +#define DISPID_PROPERTYCHANGE 112 +#define DISPID_TITLECHANGE 113 +#define DISPID_TITLEICONCHANGE 114 + +#define DISPID_FRAMEBEFORENAVIGATE 200 +#define DISPID_FRAMENAVIGATECOMPLETE 201 + +#define DISPID_FRAMENEWWINDOW 204 + +#define DISPID_BEFORENAVIGATE2 250 +#define DISPID_NEWWINDOW2 251 +#define DISPID_NAVIGATECOMPLETE2 252 +#define DISPID_ONQUIT 253 +#define DISPID_ONVISIBLE 254 +#define DISPID_ONTOOLBAR 255 +#define DISPID_ONMENUBAR 256 +#define DISPID_ONSTATUSBAR 257 +#define DISPID_ONFULLSCREEN 258 +#define DISPID_DOCUMENTCOMPLETE 259 +#define DISPID_ONTHEATERMODE 260 +#define DISPID_ONADDRESSBAR 261 +#define DISPID_WINDOWSETRESIZABLE 262 +#define DISPID_WINDOWCLOSING 263 +#define DISPID_WINDOWSETLEFT 264 +#define DISPID_WINDOWSETTOP 265 +#define DISPID_WINDOWSETWIDTH 266 +#define DISPID_WINDOWSETHEIGHT 267 +#define DISPID_CLIENTTOHOSTWINDOW 268 +#define DISPID_SETSECURELOCKICON 269 +#define DISPID_FILEDOWNLOAD 270 +#define DISPID_NAVIGATEERROR 271 +#define DISPID_PRIVACYIMPACTEDSTATECHANGE 272 +#define DISPID_NEWWINDOW3 273 +#define DISPID_VIEWUPDATE 281 +#define DISPID_SETPHISHINGFILTERSTATUS 282 +#define DISPID_WINDOWSTATECHANGED 283 +#define DISPID_NEWPROCESS 284 +#define DISPID_THIRDPARTYURLBLOCKED 285 +#define DISPID_REDIRECTXDOMAINBLOCKED 286 +#define DISPID_WEBWORKERSTARTED 288 +#define DISPID_WEBWORKERFINISHED 289 +#define DISPID_BEFORESCRIPTEXECUTE 290 + +#define DISPID_PRINTTEMPLATEINSTANTIATION 225 +#define DISPID_PRINTTEMPLATETEARDOWN 226 +#define DISPID_UPDATEPAGESTATUS 227 + +#define DISPID_WINDOWREGISTERED 200 +#define DISPID_WINDOWREVOKED 201 + +#define DISPID_RESETFIRSTBOOTMODE 1 +#define DISPID_RESETSAFEMODE 2 +#define DISPID_REFRESHOFFLINEDESKTOP 3 +#define DISPID_ADDFAVORITE 4 +#define DISPID_ADDCHANNEL 5 +#define DISPID_ADDDESKTOPCOMPONENT 6 +#define DISPID_ISSUBSCRIBED 7 +#define DISPID_NAVIGATEANDFIND 8 +#define DISPID_IMPORTEXPORTFAVORITES 9 +#define DISPID_AUTOCOMPLETESAVEFORM 10 +#define DISPID_AUTOSCAN 11 +#define DISPID_AUTOCOMPLETEATTACH 12 +#define DISPID_SHOWBROWSERUI 13 +#define DISPID_ADDSEARCHPROVIDER 14 +#define DISPID_RUNONCESHOWN 15 +#define DISPID_SKIPRUNONCE 16 +#define DISPID_CUSTOMIZESETTINGS 17 +#define DISPID_SQMENABLED 18 +#define DISPID_PHISHINGENABLED 19 +#define DISPID_BRANDIMAGEURI 20 +#define DISPID_SKIPTABSWELCOME 21 +#define DISPID_DIAGNOSECONNECTION 22 +#define DISPID_CUSTOMIZECLEARTYPE 23 +#define DISPID_ISSEARCHPROVIDERINSTALLED 24 +#define DISPID_ISSEARCHMIGRATED 25 +#define DISPID_DEFAULTSEARCHPROVIDER 26 +#define DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE 27 +#define DISPID_RUNONCEHASSHOWN 28 +#define DISPID_SEARCHGUIDEURL 29 +#define DISPID_ADDSERVICE 30 +#define DISPID_ISSERVICEINSTALLED 31 +#define DISPID_ADDTOFAVORITESBAR 32 +#define DISPID_BUILDNEWTABPAGE 33 +#define DISPID_SETRECENTLYCLOSEDVISIBLE 34 +#define DISPID_SETACTIVITIESVISIBLE 35 +#define DISPID_CONTENTDISCOVERYRESET 36 +#define DISPID_INPRIVATEFILTERINGENABLED 37 +#define DISPID_SUGGESTEDSITESENABLED 38 +#define DISPID_ENABLESUGGESTEDSITES 39 +#define DISPID_NAVIGATETOSUGGESTEDSITES 40 +#define DISPID_SHOWTABSHELP 41 +#define DISPID_SHOWINPRIVATEHELP 42 +#define DISPID_SHELLUIHELPERLAST 43 + +#define DISPID_ADVANCEERROR 10 +#define DISPID_RETREATERROR 11 +#define DISPID_CANADVANCEERROR 12 +#define DISPID_CANRETREATERROR 13 +#define DISPID_GETERRORLINE 14 +#define DISPID_GETERRORCHAR 15 +#define DISPID_GETERRORCODE 16 +#define DISPID_GETERRORMSG 17 +#define DISPID_GETERRORURL 18 +#define DISPID_GETDETAILSSTATE 19 +#define DISPID_SETDETAILSSTATE 20 +#define DISPID_GETPERERRSTATE 21 +#define DISPID_SETPERERRSTATE 22 +#define DISPID_GETALWAYSSHOWLOCKSTATE 23 + +#define DISPID_FAVSELECTIONCHANGE 1 +#define DISPID_SELECTIONCHANGE 2 +#define DISPID_DOUBLECLICK 3 +#define DISPID_INITIALIZED 4 + +#define DISPID_MOVESELECTIONUP 1 +#define DISPID_MOVESELECTIONDOWN 2 +#define DISPID_RESETSORT 3 +#define DISPID_NEWFOLDER 4 +#define DISPID_SYNCHRONIZE 5 +#define DISPID_IMPORT 6 +#define DISPID_EXPORT 7 +#define DISPID_INVOKECONTEXTMENU 8 +#define DISPID_MOVESELECTIONTO 9 +#define DISPID_SUBSCRIPTIONSENABLED 10 +#define DISPID_CREATESUBSCRIPTION 11 +#define DISPID_DELETESUBSCRIPTION 12 +#define DISPID_SETROOT 13 +#define DISPID_ENUMOPTIONS 14 +#define DISPID_SELECTEDITEM 15 +#define DISPID_ROOT 16 +#define DISPID_DEPTH 17 +#define DISPID_MODE 18 +#define DISPID_FLAGS 19 +#define DISPID_TVFLAGS 20 +#define DISPID_NSCOLUMNS 21 +#define DISPID_COUNTVIEWTYPES 22 +#define DISPID_SETVIEWTYPE 23 +#define DISPID_SELECTEDITEMS 24 +#define DISPID_EXPAND 25 +#define DISPID_UNSELECTALL 26 + +#endif /* EXDISPID_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fci.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fci.h new file mode 100644 index 0000000..da736bd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fci.h @@ -0,0 +1,263 @@ +/* + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_FCI_H +#define __WINE_FCI_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef _WIN64 +#include +#endif + +#ifndef INCLUDED_TYPES_FCI_FDI +#define INCLUDED_TYPES_FCI_FDI 1 + +/*********************************************************************** + * Common FCI/TDI declarations + */ + +typedef ULONG CHECKSUM; + +typedef ULONG UOFF; +typedef ULONG COFF; + +/**********************************************************************/ + +typedef struct { + int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */ + int erfType; /* Optional error value filled in by FCI/FDI. */ + BOOL fError; /* TRUE => error present */ +} ERF, *PERF; + +/**********************************************************************/ + +#define CB_MAX_CHUNK 32768U +#define CB_MAX_DISK __MSABI_LONG(0x7fffffff) +#define CB_MAX_FILENAME 256 +#define CB_MAX_CABINET_NAME 256 +#define CB_MAX_CAB_PATH 256 +#define CB_MAX_DISK_NAME 256 + +/**********************************************************************/ + +typedef unsigned short TCOMP; + +#define tcompMASK_TYPE 0x000F /* Mask for compression type */ +#define tcompTYPE_NONE 0x0000 /* No compression */ +#define tcompTYPE_MSZIP 0x0001 /* MSZIP */ +#define tcompTYPE_QUANTUM 0x0002 /* Quantum */ +#define tcompTYPE_LZX 0x0003 /* LZX */ +#define tcompBAD 0x000F /* Unspecified compression type */ + +#define tcompMASK_LZX_WINDOW 0x1F00 /* Mask for LZX Compression Memory */ +#define tcompLZX_WINDOW_LO 0x0F00 /* Lowest LZX Memory (15) */ +#define tcompLZX_WINDOW_HI 0x1500 /* Highest LZX Memory (21) */ +#define tcompSHIFT_LZX_WINDOW 8 /* Amount to shift over to get int */ + +#define tcompMASK_QUANTUM_LEVEL 0x00F0 /* Mask for Quantum Compression Level */ +#define tcompQUANTUM_LEVEL_LO 0x0010 /* Lowest Quantum Level (1) */ +#define tcompQUANTUM_LEVEL_HI 0x0070 /* Highest Quantum Level (7) */ +#define tcompSHIFT_QUANTUM_LEVEL 4 /* Amount to shift over to get int */ + +#define tcompMASK_QUANTUM_MEM 0x1F00 /* Mask for Quantum Compression Memory */ +#define tcompQUANTUM_MEM_LO 0x0A00 /* Lowest Quantum Memory (10) */ +#define tcompQUANTUM_MEM_HI 0x1500 /* Highest Quantum Memory (21) */ +#define tcompSHIFT_QUANTUM_MEM 8 /* Amount to shift over to get int */ + +#define tcompMASK_RESERVED 0xE000 /* Reserved bits (high 3 bits) */ + +/**********************************************************************/ + +#define CompressionTypeFromTCOMP(tc) \ + ((tc) & tcompMASK_TYPE) + +#define CompressionLevelFromTCOMP(tc) \ + (((tc) & tcompMASK_QUANTUM_LEVEL) >> tcompSHIFT_QUANTUM_LEVEL) + +#define CompressionMemoryFromTCOMP(tc) \ + (((tc) & tcompMASK_QUANTUM_MEM) >> tcompSHIFT_QUANTUM_MEM) + +#define TCOMPfromTypeLevelMemory(t, l, m) \ + (((m) << tcompSHIFT_QUANTUM_MEM ) | \ + ((l) << tcompSHIFT_QUANTUM_LEVEL) | \ + ( t )) + +#define LZXCompressionWindowFromTCOMP(tc) \ + (((tc) & tcompMASK_LZX_WINDOW) >> tcompSHIFT_LZX_WINDOW) + +#define TCOMPfromLZXWindow(w) \ + (((w) << tcompSHIFT_LZX_WINDOW) | \ + ( tcompTYPE_LZX )) + +#endif /* !defined(INCLUDED_TYPES_FCI_FDI) */ + +/*********************************************************************** + * FCI declarations + */ + +typedef enum { + FCIERR_NONE, + FCIERR_OPEN_SRC, + FCIERR_READ_SRC, + FCIERR_ALLOC_FAIL, + FCIERR_TEMP_FILE, + FCIERR_BAD_COMPR_TYPE, + FCIERR_CAB_FILE, + FCIERR_USER_ABORT, + FCIERR_MCI_FAIL, +} FCIERROR; + +/**********************************************************************/ + +#ifndef _A_NAME_IS_UTF +#define _A_NAME_IS_UTF 0x80 +#endif + +#ifndef _A_EXEC +#define _A_EXEC 0x40 +#endif + +/**********************************************************************/ + +typedef void *HFCI; + +/**********************************************************************/ + +typedef struct { + ULONG cb; /* Size available for cabinet on this media */ + ULONG cbFolderThresh; /* Threshold for forcing a new Folder */ + + UINT cbReserveCFHeader; /* Space to reserve in CFHEADER */ + UINT cbReserveCFFolder; /* Space to reserve in CFFOLDER */ + UINT cbReserveCFData; /* Space to reserve in CFDATA */ + int iCab; /* Sequential numbers for cabinets */ + int iDisk; /* Disk number */ +#ifndef REMOVE_CHICAGO_M6_HACK + int fFailOnIncompressible; /* TRUE => Fail if a block is incompressible */ +#endif + + USHORT setID; /* Cabinet set ID */ + + char szDisk[CB_MAX_DISK_NAME]; /* Current disk name */ + char szCab[CB_MAX_CABINET_NAME]; /* Current cabinet name */ + char szCabPath[CB_MAX_CAB_PATH]; /* Path for creating cabinet */ +} CCAB, *PCCAB; + +/**********************************************************************/ + +typedef void * (__cdecl __WINE_ALLOC_SIZE(1) *PFNFCIALLOC)(ULONG cb); +#define FNFCIALLOC(fn) void * __cdecl fn(ULONG cb) + +typedef void (__cdecl *PFNFCIFREE)(void *memory); +#define FNFCIFREE(fn) void __cdecl fn(void *memory) + +typedef INT_PTR (__cdecl *PFNFCIOPEN) (char *pszFile, int oflag, int pmode, int *err, void *pv); +#define FNFCIOPEN(fn) INT_PTR __cdecl fn(char *pszFile, int oflag, int pmode, int *err, void *pv) + +typedef UINT (__cdecl *PFNFCIREAD) (INT_PTR hf, void *memory, UINT cb, int *err, void *pv); +#define FNFCIREAD(fn) UINT __cdecl fn(INT_PTR hf, void *memory, UINT cb, int *err, void *pv) + +typedef UINT (__cdecl *PFNFCIWRITE)(INT_PTR hf, void *memory, UINT cb, int *err, void *pv); +#define FNFCIWRITE(fn) UINT __cdecl fn(INT_PTR hf, void *memory, UINT cb, int *err, void *pv) + +typedef int (__cdecl *PFNFCICLOSE)(INT_PTR hf, int *err, void *pv); +#define FNFCICLOSE(fn) int __cdecl fn(INT_PTR hf, int *err, void *pv) + +typedef LONG (__cdecl *PFNFCISEEK) (INT_PTR hf, LONG dist, int seektype, int *err, void *pv); +#define FNFCISEEK(fn) LONG __cdecl fn(INT_PTR hf, LONG dist, int seektype, int *err, void *pv) + +typedef int (__cdecl *PFNFCIDELETE) (char *pszFile, int *err, void *pv); +#define FNFCIDELETE(fn) int __cdecl fn(char *pszFile, int *err, void *pv) + +typedef BOOL (__cdecl *PFNFCIGETNEXTCABINET)(PCCAB pccab, ULONG cbPrevCab, void *pv); +#define FNFCIGETNEXTCABINET(fn) BOOL __cdecl fn(PCCAB pccab, \ + ULONG cbPrevCab, \ + void *pv) + +typedef int (__cdecl *PFNFCIFILEPLACED)(PCCAB pccab, + char *pszFile, + LONG cbFile, + BOOL fContinuation, + void *pv); +#define FNFCIFILEPLACED(fn) int __cdecl fn(PCCAB pccab, \ + char *pszFile, \ + LONG cbFile, \ + BOOL fContinuation, \ + void *pv) + +typedef INT_PTR (__cdecl *PFNFCIGETOPENINFO)(char *pszName, + USHORT *pdate, + USHORT *ptime, + USHORT *pattribs, + int *err, + void *pv); +#define FNFCIGETOPENINFO(fn) INT_PTR __cdecl fn(char *pszName, \ + USHORT *pdate, \ + USHORT *ptime, \ + USHORT *pattribs, \ + int *err, \ + void *pv) + +#define statusFile 0 /* Add File to Folder callback */ +#define statusFolder 1 /* Add Folder to Cabinet callback */ +#define statusCabinet 2 /* Write out a completed cabinet callback */ + +typedef LONG (__cdecl *PFNFCISTATUS)(UINT typeStatus, + ULONG cb1, + ULONG cb2, + void *pv); +#define FNFCISTATUS(fn) LONG __cdecl fn(UINT typeStatus, \ + ULONG cb1, \ + ULONG cb2, \ + void *pv) + +typedef BOOL (__cdecl *PFNFCIGETTEMPFILE)(char *pszTempName, + int cbTempName, + void *pv); +#define FNFCIGETTEMPFILE(fn) BOOL __cdecl fn(char *pszTempName, \ + int cbTempName, \ + void *pv) + +/**********************************************************************/ + +HFCI __cdecl FCICreate(PERF, PFNFCIFILEPLACED, PFNFCIALLOC, PFNFCIFREE, + PFNFCIOPEN, PFNFCIREAD, PFNFCIWRITE, PFNFCICLOSE, + PFNFCISEEK, PFNFCIDELETE, PFNFCIGETTEMPFILE, PCCAB, + void *); +BOOL __cdecl FCIAddFile(HFCI, char *, char *, BOOL, PFNFCIGETNEXTCABINET, + PFNFCISTATUS, PFNFCIGETOPENINFO, TCOMP); +BOOL __cdecl FCIFlushCabinet(HFCI, BOOL, PFNFCIGETNEXTCABINET, PFNFCISTATUS); +BOOL __cdecl FCIFlushFolder(HFCI, PFNFCIGETNEXTCABINET, PFNFCISTATUS); +BOOL __cdecl FCIDestroy(HFCI hfci); + +/**********************************************************************/ + +#ifndef _WIN64 +#include +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_FCI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fdi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fdi.h new file mode 100644 index 0000000..2044c59 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fdi.h @@ -0,0 +1,301 @@ +/* + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_FDI_H +#define __WINE_FDI_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef _WIN64 +#include +#endif + +#ifndef INCLUDED_TYPES_FCI_FDI +#define INCLUDED_TYPES_FCI_FDI 1 + +/*********************************************************************** + * Common FCI/TDI declarations + */ + +typedef ULONG CHECKSUM; + +typedef ULONG UOFF; +typedef ULONG COFF; + +/**********************************************************************/ + +typedef struct { + int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */ + int erfType; /* Optional error value filled in by FCI/FDI. */ + BOOL fError; /* TRUE => error present */ +} ERF, *PERF; + +/**********************************************************************/ + +#define CB_MAX_CHUNK 32768U +#define CB_MAX_DISK __MSABI_LONG(0x7fffffff) +#define CB_MAX_FILENAME 256 +#define CB_MAX_CABINET_NAME 256 +#define CB_MAX_CAB_PATH 256 +#define CB_MAX_DISK_NAME 256 + +/**********************************************************************/ + +typedef unsigned short TCOMP; + +#define tcompMASK_TYPE 0x000F /* Mask for compression type */ +#define tcompTYPE_NONE 0x0000 /* No compression */ +#define tcompTYPE_MSZIP 0x0001 /* MSZIP */ +#define tcompTYPE_QUANTUM 0x0002 /* Quantum */ +#define tcompTYPE_LZX 0x0003 /* LZX */ +#define tcompBAD 0x000F /* Unspecified compression type */ + +#define tcompMASK_LZX_WINDOW 0x1F00 /* Mask for LZX Compression Memory */ +#define tcompLZX_WINDOW_LO 0x0F00 /* Lowest LZX Memory (15) */ +#define tcompLZX_WINDOW_HI 0x1500 /* Highest LZX Memory (21) */ +#define tcompSHIFT_LZX_WINDOW 8 /* Amount to shift over to get int */ + +#define tcompMASK_QUANTUM_LEVEL 0x00F0 /* Mask for Quantum Compression Level */ +#define tcompQUANTUM_LEVEL_LO 0x0010 /* Lowest Quantum Level (1) */ +#define tcompQUANTUM_LEVEL_HI 0x0070 /* Highest Quantum Level (7) */ +#define tcompSHIFT_QUANTUM_LEVEL 4 /* Amount to shift over to get int */ + +#define tcompMASK_QUANTUM_MEM 0x1F00 /* Mask for Quantum Compression Memory */ +#define tcompQUANTUM_MEM_LO 0x0A00 /* Lowest Quantum Memory (10) */ +#define tcompQUANTUM_MEM_HI 0x1500 /* Highest Quantum Memory (21) */ +#define tcompSHIFT_QUANTUM_MEM 8 /* Amount to shift over to get int */ + +#define tcompMASK_RESERVED 0xE000 /* Reserved bits (high 3 bits) */ + +/**********************************************************************/ + +#define CompressionTypeFromTCOMP(tc) \ + ((tc) & tcompMASK_TYPE) + +#define CompressionLevelFromTCOMP(tc) \ + (((tc) & tcompMASK_QUANTUM_LEVEL) >> tcompSHIFT_QUANTUM_LEVEL) + +#define CompressionMemoryFromTCOMP(tc) \ + (((tc) & tcompMASK_QUANTUM_MEM) >> tcompSHIFT_QUANTUM_MEM) + +#define TCOMPfromTypeLevelMemory(t, l, m) \ + (((m) << tcompSHIFT_QUANTUM_MEM ) | \ + ((l) << tcompSHIFT_QUANTUM_LEVEL) | \ + ( t )) + +#define LZXCompressionWindowFromTCOMP(tc) \ + (((tc) & tcompMASK_LZX_WINDOW) >> tcompSHIFT_LZX_WINDOW) + +#define TCOMPfromLZXWindow(w) \ + (((w) << tcompSHIFT_LZX_WINDOW) | \ + ( tcompTYPE_LZX )) + +#endif /* !defined(INCLUDED_TYPES_FCI_FDI) */ + +/*********************************************************************** + * FDI declarations + */ + +typedef enum { + FDIERROR_NONE, + FDIERROR_CABINET_NOT_FOUND, + FDIERROR_NOT_A_CABINET, + FDIERROR_UNKNOWN_CABINET_VERSION, + FDIERROR_CORRUPT_CABINET, + FDIERROR_ALLOC_FAIL, + FDIERROR_BAD_COMPR_TYPE, + FDIERROR_MDI_FAIL, + FDIERROR_TARGET_FILE, + FDIERROR_RESERVE_MISMATCH, + FDIERROR_WRONG_CABINET, + FDIERROR_USER_ABORT, +} FDIERROR; + +/**********************************************************************/ + +#ifndef _A_NAME_IS_UTF +#define _A_NAME_IS_UTF 0x80 +#endif + +#ifndef _A_EXEC +#define _A_EXEC 0x40 +#endif + +/**********************************************************************/ + +typedef void *HFDI; + +/**********************************************************************/ + +typedef struct { + LONG cbCabinet; /* Total length of cabinet file */ + USHORT cFolders; /* Count of folders in cabinet */ + USHORT cFiles; /* Count of files in cabinet */ + USHORT setID; /* Cabinet set ID */ + USHORT iCabinet; /* Cabinet number in set (0 based) */ + BOOL fReserve; /* TRUE => RESERVE present in cabinet */ + BOOL hasprev; /* TRUE => Cabinet is chained prev */ + BOOL hasnext; /* TRUE => Cabinet is chained next */ +} FDICABINETINFO, *PFDICABINETINFO; /* pfdici */ + +/**********************************************************************/ + +typedef enum { + fdidtNEW_CABINET, /* New cabinet */ + fdidtNEW_FOLDER, /* New folder */ + fdidtDECRYPT, /* Decrypt a data block */ +} FDIDECRYPTTYPE; + +/**********************************************************************/ + +typedef struct { + FDIDECRYPTTYPE fdidt; /* Command type (selects union below) */ + + void *pvUser; /* Decryption context */ + + union { + struct { /* fdidtNEW_CABINET */ + void *pHeaderReserve; /* RESERVE section from CFHEADER */ + USHORT cbHeaderReserve; /* Size of pHeaderReserve */ + USHORT setID; /* Cabinet set ID */ + int iCabinet; /* Cabinet number in set (0 based) */ + } cabinet; + + struct { /* fdidtNEW_FOLDER */ + void *pFolderReserve; /* RESERVE section from CFFOLDER */ + USHORT cbFolderReserve; /* Size of pFolderReserve */ + USHORT iFolder; /* Folder number in cabinet (0 based) */ + } folder; + + struct { /* fdidtDECRYPT */ + void *pDataReserve; /* RESERVE section from CFDATA */ + USHORT cbDataReserve; /* Size of pDataReserve */ + void *pbData; /* Data buffer */ + USHORT cbData; /* Size of data buffer */ + BOOL fSplit; /* TRUE if this is a split data block */ + USHORT cbPartial; /* 0 if this is not a split block, or + * the first piece of a split block; + * Greater than 0 if this is the + * second piece of a split block. + */ + } decrypt; + } DUMMYUNIONNAME; +} FDIDECRYPT, *PFDIDECRYPT; + +/**********************************************************************/ + +typedef void * (__cdecl *PFNALLOC)(ULONG cb); +#define FNALLOC(fn) void * __cdecl fn(ULONG cb) + +typedef void (__cdecl *PFNFREE)(void *pv); +#define FNFREE(fn) void __cdecl fn(void *pv) + +typedef INT_PTR (__cdecl *PFNOPEN) (char *pszFile, int oflag, int pmode); +#define FNOPEN(fn) INT_PTR __cdecl fn(char *pszFile, int oflag, int pmode) + +typedef UINT (__cdecl *PFNREAD) (INT_PTR hf, void *pv, UINT cb); +#define FNREAD(fn) UINT __cdecl fn(INT_PTR hf, void *pv, UINT cb) + +typedef UINT (__cdecl *PFNWRITE)(INT_PTR hf, void *pv, UINT cb); +#define FNWRITE(fn) UINT __cdecl fn(INT_PTR hf, void *pv, UINT cb) + +typedef int (__cdecl *PFNCLOSE)(INT_PTR hf); +#define FNCLOSE(fn) int __cdecl fn(INT_PTR hf) + +typedef LONG (__cdecl *PFNSEEK) (INT_PTR hf, LONG dist, int seektype); +#define FNSEEK(fn) LONG __cdecl fn(INT_PTR hf, LONG dist, int seektype) + +typedef int (__cdecl *PFNFDIDECRYPT)(PFDIDECRYPT pfdid); +#define FNFDIDECRYPT(fn) int __cdecl fn(PFDIDECRYPT pfdid) + +typedef struct { + LONG cb; + char *psz1; + char *psz2; + char *psz3; /* Points to a 256 character buffer */ + void *pv; /* Value for client */ + + INT_PTR hf; + + USHORT date; + USHORT time; + USHORT attribs; + + USHORT setID; /* Cabinet set ID */ + USHORT iCabinet; /* Cabinet number (0-based) */ + USHORT iFolder; /* Folder number (0-based) */ + + FDIERROR fdie; +} FDINOTIFICATION, *PFDINOTIFICATION; + +typedef enum { + fdintCABINET_INFO, /* General information about cabinet */ + fdintPARTIAL_FILE, /* First file in cabinet is continuation */ + fdintCOPY_FILE, /* File to be copied */ + fdintCLOSE_FILE_INFO, /* Close the file, set relevant info */ + fdintNEXT_CABINET, /* File continued to next cabinet */ + fdintENUMERATE, /* Enumeration status */ +} FDINOTIFICATIONTYPE; + +typedef INT_PTR (__cdecl *PFNFDINOTIFY)(FDINOTIFICATIONTYPE fdint, + PFDINOTIFICATION pfdin); +#define FNFDINOTIFY(fn) INT_PTR __cdecl fn(FDINOTIFICATIONTYPE fdint, \ + PFDINOTIFICATION pfdin) + +#ifndef _WIN64 +#include +#endif + +typedef struct { + char ach[2]; /* Set to { '*', '\0' } */ + LONG cbFile; /* Required spill file size */ +} FDISPILLFILE, *PFDISPILLFILE; + +#ifndef _WIN64 +#include +#endif + +#define cpuUNKNOWN (-1) /* FDI does detection */ +#define cpu80286 (0) /* '286 opcodes only */ +#define cpu80386 (1) /* '386 opcodes used */ + +/**********************************************************************/ + +HFDI __cdecl FDICreate(PFNALLOC, PFNFREE, PFNOPEN, PFNREAD, PFNWRITE, + PFNCLOSE, PFNSEEK, int, PERF); +BOOL __cdecl FDIIsCabinet(HFDI, INT_PTR, PFDICABINETINFO); +BOOL __cdecl FDICopy(HFDI, char *, char *, int, PFNFDINOTIFY, + PFNFDIDECRYPT, void *pvUser); +BOOL __cdecl FDIDestroy(HFDI); +BOOL __cdecl FDITruncateCabinet(HFDI, char *, USHORT); + +/**********************************************************************/ + +#ifndef _WIN64 +#include +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_FDI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fileapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fileapi.h new file mode 100644 index 0000000..02bbbd4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fileapi.h @@ -0,0 +1,41 @@ +/* + * Copyright 2013 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_FILEAPI_H +#define __WINE_FILEAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _CREATEFILE2_EXTENDED_PARAMETERS { + DWORD dwSize; + DWORD dwFileAttributes; + DWORD dwFileFlags; + DWORD dwSecurityQosFlags; + LPSECURITY_ATTRIBUTES lpSecurityAttributes; + HANDLE hTemplateFile; +} CREATEFILE2_EXTENDED_PARAMETERS, *PCREATEFILE2_EXTENDED_PARAMETERS, *LPCREATEFILE2_EXTENDED_PARAMETERS; + +WINBASEAPI HANDLE WINAPI CreateFile2(LPCWSTR,DWORD,DWORD,DWORD,LPCREATEFILE2_EXTENDED_PARAMETERS); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_FILEAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fltdefs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fltdefs.h new file mode 100644 index 0000000..393dd58 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fltdefs.h @@ -0,0 +1,142 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ +#ifndef _FLTDEFS_H +#define _FLTDEFS_H + +typedef PVOID FILTER_HANDLE,*PFILTER_HANDLE; +typedef PVOID INTERFACE_HANDLE,*PINTERFACE_HANDLE; + +#ifdef __cplusplus +#define EXTERNCDECL EXTERN_C +#else +#define EXTERNCDECL +#endif + +#define PFAPIENTRY EXTERNCDECL DWORD WINAPI + +typedef enum _GlobalFilter { + GF_FRAGMENTS = 2,GF_STRONGHOST = 8,GF_FRAGCACHE = 9 +} GLOBAL_FILTER,*PGLOBAL_FILTER; + +typedef enum _PfForwardAction { + PF_ACTION_FORWARD = 0,PF_ACTION_DROP +} PFFORWARD_ACTION,*PPFFORWARD_ACTION; + +typedef enum _PfAddresType { + PF_IPV4,PF_IPV6 +} PFADDRESSTYPE,*PPFADDRESSTYPE; + +#define FILTER_PROTO(ProtoId) MAKELONG(MAKEWORD((ProtoId),0x00),0x00000) + +#define FILTER_PROTO_ANY FILTER_PROTO(0x00) +#define FILTER_PROTO_ICMP FILTER_PROTO(0x01) +#define FILTER_PROTO_TCP FILTER_PROTO(0x06) +#define FILTER_PROTO_UDP FILTER_PROTO(0x11) + +#define FILTER_TCPUDP_PORT_ANY (WORD)0x0000 + +#define FILTER_ICMP_TYPE_ANY (BYTE)0xff +#define FILTER_ICMP_CODE_ANY (BYTE)0xff + +typedef struct _PF_FILTER_DESCRIPTOR { + DWORD dwFilterFlags; + DWORD dwRule; + PFADDRESSTYPE pfatType; + PBYTE SrcAddr; + PBYTE SrcMask; + PBYTE DstAddr; + PBYTE DstMask; + DWORD dwProtocol; + DWORD fLateBound; + WORD wSrcPort; + WORD wDstPort; + WORD wSrcPortHighRange; + WORD wDstPortHighRange; +} PF_FILTER_DESCRIPTOR,*PPF_FILTER_DESCRIPTOR; + +typedef struct _PF_FILTER_STATS { + DWORD dwNumPacketsFiltered; + PF_FILTER_DESCRIPTOR info; +} PF_FILTER_STATS,*PPF_FILTER_STATS; + +typedef struct _PF_INTERFACE_STATS { + PVOID pvDriverContext; + DWORD dwFlags; + DWORD dwInDrops; + DWORD dwOutDrops; + PFFORWARD_ACTION eaInAction; + PFFORWARD_ACTION eaOutAction; + DWORD dwNumInFilters; + DWORD dwNumOutFilters; + DWORD dwFrag; + DWORD dwSpoof; + DWORD dwReserved1; + DWORD dwReserved2; + LARGE_INTEGER liSYN; + LARGE_INTEGER liTotalLogged; + DWORD dwLostLogEntries; + PF_FILTER_STATS FilterInfo[1]; +} PF_INTERFACE_STATS,*PPF_INTERFACE_STATS; + +#define FILTERSIZE (sizeof(PF_FILTER_DESCRIPTOR) - (DWORD)(&((PPF_FILTER_DESCRIPTOR)0)->SrcAddr)) + +#define FD_FLAGS_NOSYN 0x1 + +#define FD_FLAGS_ALLFLAGS FD_FLAGS_NOSYN + +#define LB_SRC_ADDR_USE_SRCADDR_FLAG 0x00000001 +#define LB_SRC_ADDR_USE_DSTADDR_FLAG 0x00000002 +#define LB_DST_ADDR_USE_SRCADDR_FLAG 0x00000004 +#define LB_DST_ADDR_USE_DSTADDR_FLAG 0x00000008 +#define LB_SRC_MASK_LATE_FLAG 0x00000010 +#define LB_DST_MASK_LATE_FLAG 0x00000020 + +typedef struct _PF_LATEBIND_INFO { + PBYTE SrcAddr; + PBYTE DstAddr; + PBYTE Mask; +} PF_LATEBIND_INFO,*PPF_LATEBIND_INFO; + +typedef enum _PfFrameType { + PFFT_FILTER = 1,PFFT_FRAG = 2,PFFT_SPOOF = 3 +} PFFRAMETYPE,*PPFFRAMETYPE; + +typedef struct _pfLogFrame { + LARGE_INTEGER Timestamp; + PFFRAMETYPE pfeTypeOfFrame; + DWORD dwTotalSizeUsed; + DWORD dwFilterRule; + WORD wSizeOfAdditionalData; + WORD wSizeOfIpHeader; + DWORD dwInterfaceName; + DWORD dwIPIndex; + BYTE bPacketData[1]; +} PFLOGFRAME,*PPFLOGFRAME; + +#define ERROR_BASE 23000 + +#define PFERROR_NO_PF_INTERFACE (ERROR_BASE + 0) +#define PFERROR_NO_FILTERS_GIVEN (ERROR_BASE + 1) +#define PFERROR_BUFFER_TOO_SMALL (ERROR_BASE + 2) +#define ERROR_IPV6_NOT_IMPLEMENTED (ERROR_BASE + 3) + +PFAPIENTRY PfCreateInterface(DWORD dwName,PFFORWARD_ACTION inAction,PFFORWARD_ACTION outAction,BOOL bUseLog,BOOL bMustBeUnique,INTERFACE_HANDLE *ppInterface); +PFAPIENTRY PfDeleteInterface(INTERFACE_HANDLE pInterface); +PFAPIENTRY PfAddFiltersToInterface(INTERFACE_HANDLE ih,DWORD cInFilters,PPF_FILTER_DESCRIPTOR pfiltIn,DWORD cOutFilters,PPF_FILTER_DESCRIPTOR pfiltOut,PFILTER_HANDLE pfHandle); +PFAPIENTRY PfRemoveFiltersFromInterface(INTERFACE_HANDLE ih,DWORD cInFilters,PPF_FILTER_DESCRIPTOR pfiltIn,DWORD cOutFilters,PPF_FILTER_DESCRIPTOR pfiltOut); +PFAPIENTRY PfRemoveFilterHandles(INTERFACE_HANDLE pInterface,DWORD cFilters,PFILTER_HANDLE pvHandles); +PFAPIENTRY PfUnBindInterface(INTERFACE_HANDLE pInterface); +PFAPIENTRY PfBindInterfaceToIndex(INTERFACE_HANDLE pInterface,DWORD dwIndex,PFADDRESSTYPE pfatLinkType,PBYTE LinkIPAddress); +PFAPIENTRY PfBindInterfaceToIPAddress(INTERFACE_HANDLE pInterface,PFADDRESSTYPE pfatType,PBYTE IPAddress); +PFAPIENTRY PfRebindFilters(INTERFACE_HANDLE pInterface,PPF_LATEBIND_INFO pLateBindInfo); +PFAPIENTRY PfAddGlobalFilterToInterface(INTERFACE_HANDLE pInterface,GLOBAL_FILTER gfFilter); +PFAPIENTRY PfRemoveGlobalFilterFromInterface(INTERFACE_HANDLE pInterface,GLOBAL_FILTER gfFilter); +PFAPIENTRY PfMakeLog(HANDLE hEvent); +PFAPIENTRY PfSetLogBuffer(PBYTE pbBuffer,DWORD dwSize,DWORD dwThreshold,DWORD dwEntries,PDWORD pdwLoggedEntries,PDWORD pdwLostEntries,PDWORD pdwSizeUsed); +PFAPIENTRY PfDeleteLog(VOID); +PFAPIENTRY PfGetInterfaceStatistics(INTERFACE_HANDLE pInterface,PPF_INTERFACE_STATS ppfStats,PDWORD pdwBufferSize,BOOL fResetCounters); +PFAPIENTRY PfTestPacket(INTERFACE_HANDLE pInInterface,INTERFACE_HANDLE pOutInterface,DWORD cBytes,PBYTE pbPacket,PPFFORWARD_ACTION ppAction); +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fontsub.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fontsub.h new file mode 100644 index 0000000..aa83f03 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fontsub.h @@ -0,0 +1,64 @@ +/* + * Copyright 2016 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_FONTSUB_H +#define __WINE_FONTSUB_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void *(__cdecl *CFP_ALLOCPROC)(size_t); +typedef void *(__cdecl *CFP_REALLOCPROC)(void *, size_t); +typedef void (__cdecl *CFP_FREEPROC)(void *); + +#define TTFCFP_SUBSET 0 +#define TTFCFP_SUBSET1 1 +#define TTFCFP_DELTA 2 + +#define TTFCFP_UNICODE_PLATFORMID 0 +#define TTFCFP_APPLE_PLATFORMID 1 +#define TTFCFP_ISO_PLATFORMID 2 +#define TTFCFP_MS_PLATFORMID 3 + +#define TTFCFP_STD_MAC_CHAR_SET 0 +#define TTFCFP_SYMBOL_CHAR_SET 0 +#define TTFCFP_UNICODE_CHAR_SET 1 +#define TTFCFP_DONT_CARE 0xffff + +#define TTFCFP_LANG_KEEP_ALL 0 + +#define TTFCFP_FLAGS_SUBSET 0x0001 +#define TTFCFP_FLAGS_COMPRESS 0x0002 +#define TTFCFP_FLAGS_TTC 0x0004 +#define TTFCFP_FLAGS_GLYPHLIST 0x0008 + +#define ERR_GENERIC 1000 +#define ERR_MEM 1005 + +ULONG __cdecl CreateFontPackage(const unsigned char *src, const ULONG src_len, unsigned char **dest, + ULONG *dest_len, ULONG *written, const unsigned short flags, const unsigned short face_index, + const unsigned short format, const unsigned short lang, const unsigned short platform, + const unsigned short encoding, const unsigned short *keep_list, const unsigned short keep_len, + CFP_ALLOCPROC allocproc, CFP_REALLOCPROC reallocproc, CFP_FREEPROC freeproc, void *reserved); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fusion.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fusion.h new file mode 100644 index 0000000..1dce807 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fusion.h @@ -0,0 +1,937 @@ +/*** Autogenerated by WIDL 2.18 from fusion.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __fusion_h__ +#define __fusion_h__ + +/* Forward declarations */ + +#ifndef __IAssemblyCache_FWD_DEFINED__ +#define __IAssemblyCache_FWD_DEFINED__ +typedef interface IAssemblyCache IAssemblyCache; +#ifdef __cplusplus +interface IAssemblyCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyCacheItem_FWD_DEFINED__ +#define __IAssemblyCacheItem_FWD_DEFINED__ +typedef interface IAssemblyCacheItem IAssemblyCacheItem; +#ifdef __cplusplus +interface IAssemblyCacheItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyName_FWD_DEFINED__ +#define __IAssemblyName_FWD_DEFINED__ +typedef interface IAssemblyName IAssemblyName; +#ifdef __cplusplus +interface IAssemblyName; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyEnum_FWD_DEFINED__ +#define __IAssemblyEnum_FWD_DEFINED__ +typedef interface IAssemblyEnum IAssemblyEnum; +#ifdef __cplusplus +interface IAssemblyEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallReferenceItem_FWD_DEFINED__ +#define __IInstallReferenceItem_FWD_DEFINED__ +typedef interface IInstallReferenceItem IInstallReferenceItem; +#ifdef __cplusplus +interface IInstallReferenceItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallReferenceEnum_FWD_DEFINED__ +#define __IInstallReferenceEnum_FWD_DEFINED__ +typedef interface IInstallReferenceEnum IInstallReferenceEnum; +#ifdef __cplusplus +interface IInstallReferenceEnum; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IAssemblyCache_FWD_DEFINED__ +#define __IAssemblyCache_FWD_DEFINED__ +typedef interface IAssemblyCache IAssemblyCache; +#ifdef __cplusplus +interface IAssemblyCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyCacheItem_FWD_DEFINED__ +#define __IAssemblyCacheItem_FWD_DEFINED__ +typedef interface IAssemblyCacheItem IAssemblyCacheItem; +#ifdef __cplusplus +interface IAssemblyCacheItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyEnum_FWD_DEFINED__ +#define __IAssemblyEnum_FWD_DEFINED__ +typedef interface IAssemblyEnum IAssemblyEnum; +#ifdef __cplusplus +interface IAssemblyEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyName_FWD_DEFINED__ +#define __IAssemblyName_FWD_DEFINED__ +typedef interface IAssemblyName IAssemblyName; +#ifdef __cplusplus +interface IAssemblyName; +#endif /* __cplusplus */ +#endif + +typedef enum __WIDL_fusion_generated_name_00000002 { + ASM_CACHE_ZAP = 0x1, + ASM_CACHE_GAC = 0x2, + ASM_CACHE_DOWNLOAD = 0x4, + ASM_CACHE_ROOT = 0x8, + ASM_CACHE_ROOT_EX = 0x80 +} ASM_CACHE_FLAGS; +typedef enum __WIDL_fusion_generated_name_00000003 { + peNone = 0x0, + peMSIL = 0x1, + peI386 = 0x2, + peIA64 = 0x3, + peAMD64 = 0x4, + peARM = 0x5, + peInvalid = 0xffffffff +} PEKIND; +typedef enum _tagAssemblyComparisonResult { + ACR_Unknown = 0, + ACR_EquivalentFullMatch = 1, + ACR_EquivalentWeakNamed = 2, + ACR_EquivalentFXUnified = 3, + ACR_EquivalentUnified = 4, + ACR_NonEquivalentVersion = 5, + ACR_NonEquivalent = 6, + ACR_EquivalentPartialMatch = 7, + ACR_EquivalentPartialWeakNamed = 8, + ACR_EquivalentPartialUnified = 9, + ACR_EquivalentPartialFXUnified = 10, + ACR_NonEquivalentPartialVersion = 11 +} AssemblyComparisonResult; +/***************************************************************************** + * IAssemblyCache interface + */ +#ifndef __IAssemblyCache_INTERFACE_DEFINED__ +#define __IAssemblyCache_INTERFACE_DEFINED__ + +typedef struct _FUSION_INSTALL_REFERENCE_ { + DWORD cbSize; + DWORD dwFlags; + GUID guidScheme; + LPCWSTR szIdentifier; + LPCWSTR szNonCannonicalData; +} FUSION_INSTALL_REFERENCE; +typedef struct _FUSION_INSTALL_REFERENCE_ *LPFUSION_INSTALL_REFERENCE; +typedef const FUSION_INSTALL_REFERENCE *LPCFUSION_INSTALL_REFERENCE; +typedef struct _ASSEMBLY_INFO { + ULONG cbAssemblyInfo; + DWORD dwAssemblyFlags; + ULARGE_INTEGER uliAssemblySizeInKB; + LPWSTR pszCurrentAssemblyPathBuf; + ULONG cchBuf; +} ASSEMBLY_INFO; +#define IASSEMBLYCACHE_INSTALL_FLAG_REFRESH 0x00000001 +#define IASSEMBLYCACHE_INSTALL_FLAG_FORCE_REFRESH 0x00000002 +#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED 1 +#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_STILL_IN_USE 2 +#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_ALREADY_UNINSTALLED 3 +#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_DELETE_PENDING 4 +#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_HAS_INSTALL_REFERENCES 5 +#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_REFERENCE_NOT_FOUND 6 +#define QUERYASMINFO_FLAG_VALIDATE 0x00000001 +#define QUERYASMINFO_FLAG_GETSIZE 0x00000002 +#define ASSEMBLYINFO_FLAG_INSTALLED 0x00000001 +#define ASSEMBLYINFO_FLAG_PAYLOADRESIDENT 0x00000002 +DEFINE_GUID(IID_IAssemblyCache, 0xe707dcde, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e707dcde-d1cd-11d2-bab9-00c04f8eceae") +IAssemblyCache : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE UninstallAssembly( + DWORD dwFlags, + LPCWSTR pszAssemblyName, + LPCFUSION_INSTALL_REFERENCE pRefData, + ULONG *pulDisposition) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAssemblyInfo( + DWORD dwFlags, + LPCWSTR pszAssemblyName, + ASSEMBLY_INFO *pAsmInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAssemblyCacheItem( + DWORD dwFlags, + PVOID pvReserved, + IAssemblyCacheItem **ppAsmItem, + LPCWSTR pszAssemblyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAssemblyScavenger( + IUnknown **ppUnkReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstallAssembly( + DWORD dwFlags, + LPCWSTR pszManifestFilePath, + LPCFUSION_INSTALL_REFERENCE pRefData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyCache, 0xe707dcde, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae) +#endif +#else +typedef struct IAssemblyCacheVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyCache *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyCache *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyCache *This); + + /*** IAssemblyCache methods ***/ + HRESULT (STDMETHODCALLTYPE *UninstallAssembly)( + IAssemblyCache *This, + DWORD dwFlags, + LPCWSTR pszAssemblyName, + LPCFUSION_INSTALL_REFERENCE pRefData, + ULONG *pulDisposition); + + HRESULT (STDMETHODCALLTYPE *QueryAssemblyInfo)( + IAssemblyCache *This, + DWORD dwFlags, + LPCWSTR pszAssemblyName, + ASSEMBLY_INFO *pAsmInfo); + + HRESULT (STDMETHODCALLTYPE *CreateAssemblyCacheItem)( + IAssemblyCache *This, + DWORD dwFlags, + PVOID pvReserved, + IAssemblyCacheItem **ppAsmItem, + LPCWSTR pszAssemblyName); + + HRESULT (STDMETHODCALLTYPE *CreateAssemblyScavenger)( + IAssemblyCache *This, + IUnknown **ppUnkReserved); + + HRESULT (STDMETHODCALLTYPE *InstallAssembly)( + IAssemblyCache *This, + DWORD dwFlags, + LPCWSTR pszManifestFilePath, + LPCFUSION_INSTALL_REFERENCE pRefData); + + END_INTERFACE +} IAssemblyCacheVtbl; + +interface IAssemblyCache { + CONST_VTBL IAssemblyCacheVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyCache_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyCache_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyCache methods ***/ +#define IAssemblyCache_UninstallAssembly(This,dwFlags,pszAssemblyName,pRefData,pulDisposition) (This)->lpVtbl->UninstallAssembly(This,dwFlags,pszAssemblyName,pRefData,pulDisposition) +#define IAssemblyCache_QueryAssemblyInfo(This,dwFlags,pszAssemblyName,pAsmInfo) (This)->lpVtbl->QueryAssemblyInfo(This,dwFlags,pszAssemblyName,pAsmInfo) +#define IAssemblyCache_CreateAssemblyCacheItem(This,dwFlags,pvReserved,ppAsmItem,pszAssemblyName) (This)->lpVtbl->CreateAssemblyCacheItem(This,dwFlags,pvReserved,ppAsmItem,pszAssemblyName) +#define IAssemblyCache_CreateAssemblyScavenger(This,ppUnkReserved) (This)->lpVtbl->CreateAssemblyScavenger(This,ppUnkReserved) +#define IAssemblyCache_InstallAssembly(This,dwFlags,pszManifestFilePath,pRefData) (This)->lpVtbl->InstallAssembly(This,dwFlags,pszManifestFilePath,pRefData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyCache_QueryInterface(IAssemblyCache* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyCache_AddRef(IAssemblyCache* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyCache_Release(IAssemblyCache* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyCache methods ***/ +static FORCEINLINE HRESULT IAssemblyCache_UninstallAssembly(IAssemblyCache* This,DWORD dwFlags,LPCWSTR pszAssemblyName,LPCFUSION_INSTALL_REFERENCE pRefData,ULONG *pulDisposition) { + return This->lpVtbl->UninstallAssembly(This,dwFlags,pszAssemblyName,pRefData,pulDisposition); +} +static FORCEINLINE HRESULT IAssemblyCache_QueryAssemblyInfo(IAssemblyCache* This,DWORD dwFlags,LPCWSTR pszAssemblyName,ASSEMBLY_INFO *pAsmInfo) { + return This->lpVtbl->QueryAssemblyInfo(This,dwFlags,pszAssemblyName,pAsmInfo); +} +static FORCEINLINE HRESULT IAssemblyCache_CreateAssemblyCacheItem(IAssemblyCache* This,DWORD dwFlags,PVOID pvReserved,IAssemblyCacheItem **ppAsmItem,LPCWSTR pszAssemblyName) { + return This->lpVtbl->CreateAssemblyCacheItem(This,dwFlags,pvReserved,ppAsmItem,pszAssemblyName); +} +static FORCEINLINE HRESULT IAssemblyCache_CreateAssemblyScavenger(IAssemblyCache* This,IUnknown **ppUnkReserved) { + return This->lpVtbl->CreateAssemblyScavenger(This,ppUnkReserved); +} +static FORCEINLINE HRESULT IAssemblyCache_InstallAssembly(IAssemblyCache* This,DWORD dwFlags,LPCWSTR pszManifestFilePath,LPCFUSION_INSTALL_REFERENCE pRefData) { + return This->lpVtbl->InstallAssembly(This,dwFlags,pszManifestFilePath,pRefData); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyCache_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssemblyCacheItem interface + */ +#ifndef __IAssemblyCacheItem_INTERFACE_DEFINED__ +#define __IAssemblyCacheItem_INTERFACE_DEFINED__ + +#define STREAM_FORMAT_COMPLIB_MODULE 0 +#define STREAM_FORMAT_COMPLIB_MANIFEST 1 +#define STREAM_FORMAT_WIN32_MODULE 2 +#define STREAM_FORMAT_WIN32_MANIFEST 4 +#define IASSEMBLYCACHEITEM_COMMIT_FLAG_REFRESH 0x00000001 +#define IASSEMBLYCACHEITEM_COMMIT_FLAG_FORCE_REFRESH 0x00000002 +#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_INSTALLED 1 +#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_REFRESHED 2 +#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_ALREADY_INSTALLED 3 +DEFINE_GUID(IID_IAssemblyCacheItem, 0x9e3aaeb4, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae") +IAssemblyCacheItem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateStream( + DWORD dwFlags, + LPCWSTR pszStreamName, + DWORD dwFormat, + DWORD dwFormatFlags, + IStream **ppIStream, + ULARGE_INTEGER *puliMaxSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + DWORD dwFlags, + ULONG *pulDisposition) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbortItem( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyCacheItem, 0x9e3aaeb4, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae) +#endif +#else +typedef struct IAssemblyCacheItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyCacheItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyCacheItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyCacheItem *This); + + /*** IAssemblyCacheItem methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStream)( + IAssemblyCacheItem *This, + DWORD dwFlags, + LPCWSTR pszStreamName, + DWORD dwFormat, + DWORD dwFormatFlags, + IStream **ppIStream, + ULARGE_INTEGER *puliMaxSize); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IAssemblyCacheItem *This, + DWORD dwFlags, + ULONG *pulDisposition); + + HRESULT (STDMETHODCALLTYPE *AbortItem)( + IAssemblyCacheItem *This); + + END_INTERFACE +} IAssemblyCacheItemVtbl; + +interface IAssemblyCacheItem { + CONST_VTBL IAssemblyCacheItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyCacheItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyCacheItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyCacheItem_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyCacheItem methods ***/ +#define IAssemblyCacheItem_CreateStream(This,dwFlags,pszStreamName,dwFormat,dwFormatFlags,ppIStream,puliMaxSize) (This)->lpVtbl->CreateStream(This,dwFlags,pszStreamName,dwFormat,dwFormatFlags,ppIStream,puliMaxSize) +#define IAssemblyCacheItem_Commit(This,dwFlags,pulDisposition) (This)->lpVtbl->Commit(This,dwFlags,pulDisposition) +#define IAssemblyCacheItem_AbortItem(This) (This)->lpVtbl->AbortItem(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyCacheItem_QueryInterface(IAssemblyCacheItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyCacheItem_AddRef(IAssemblyCacheItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyCacheItem_Release(IAssemblyCacheItem* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyCacheItem methods ***/ +static FORCEINLINE HRESULT IAssemblyCacheItem_CreateStream(IAssemblyCacheItem* This,DWORD dwFlags,LPCWSTR pszStreamName,DWORD dwFormat,DWORD dwFormatFlags,IStream **ppIStream,ULARGE_INTEGER *puliMaxSize) { + return This->lpVtbl->CreateStream(This,dwFlags,pszStreamName,dwFormat,dwFormatFlags,ppIStream,puliMaxSize); +} +static FORCEINLINE HRESULT IAssemblyCacheItem_Commit(IAssemblyCacheItem* This,DWORD dwFlags,ULONG *pulDisposition) { + return This->lpVtbl->Commit(This,dwFlags,pulDisposition); +} +static FORCEINLINE HRESULT IAssemblyCacheItem_AbortItem(IAssemblyCacheItem* This) { + return This->lpVtbl->AbortItem(This); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyCacheItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssemblyName interface + */ +#ifndef __IAssemblyName_INTERFACE_DEFINED__ +#define __IAssemblyName_INTERFACE_DEFINED__ + +typedef IAssemblyName *LPASSEMBLYNAME; +typedef enum __WIDL_fusion_generated_name_00000004 { + CANOF_PARSE_DISPLAY_NAME = 0x1, + CANOF_SET_DEFAULT_VALUES = 0x2, + CANOF_VERIFY_FRIEND_ASSEMBLYNAME = 0x4, + CANOF_PARSE_FRIEND_DISPLAY_NAME = CANOF_PARSE_DISPLAY_NAME | CANOF_VERIFY_FRIEND_ASSEMBLYNAME +} CREATE_ASM_NAME_OBJ_FLAGS; +typedef enum __WIDL_fusion_generated_name_00000005 { + ASM_NAME_PUBLIC_KEY = 0, + ASM_NAME_PUBLIC_KEY_TOKEN = 1, + ASM_NAME_HASH_VALUE = 2, + ASM_NAME_NAME = 3, + ASM_NAME_MAJOR_VERSION = 4, + ASM_NAME_MINOR_VERSION = 5, + ASM_NAME_BUILD_NUMBER = 6, + ASM_NAME_REVISION_NUMBER = 7, + ASM_NAME_CULTURE = 8, + ASM_NAME_PROCESSOR_ID_ARRAY = 9, + ASM_NAME_OSINFO_ARRAY = 10, + ASM_NAME_HASH_ALGID = 11, + ASM_NAME_ALIAS = 12, + ASM_NAME_CODEBASE_URL = 13, + ASM_NAME_CODEBASE_LASTMOD = 14, + ASM_NAME_NULL_PUBLIC_KEY = 15, + ASM_NAME_NULL_PUBLIC_KEY_TOKEN = 16, + ASM_NAME_CUSTOM = 17, + ASM_NAME_NULL_CUSTOM = 18, + ASM_NAME_MVID = 19, + ASM_NAME_FILE_MAJOR_VERSION = 20, + ASM_NAME_FILE_MINOR_VERSION = 21, + ASM_NAME_FILE_BUILD_NUMBER = 22, + ASM_NAME_FILE_REVISION_NUMBER = 23, + ASM_NAME_RETARGET = 24, + ASM_NAME_SIGNATURE_BLOB = 25, + ASM_NAME_CONFIG_MASK = 26, + ASM_NAME_ARCHITECTURE = 27, + ASM_NAME_MAX_PARAMS = 28 +} ASM_NAME; +typedef enum __WIDL_fusion_generated_name_00000006 { + ASM_DISPLAYF_VERSION = 0x1, + ASM_DISPLAYF_CULTURE = 0x2, + ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4, + ASM_DISPLAYF_PUBLIC_KEY = 0x8, + ASM_DISPLAYF_CUSTOM = 0x10, + ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20, + ASM_DISPLAYF_LANGUAGEID = 0x40, + ASM_DISPLAYF_RETARGET = 0x80, + ASM_DISPLAYF_CONFIG_MASK = 0x100, + ASM_DISPLAYF_MVID = 0x200, + ASM_DISPLAYF_FULL = (((ASM_DISPLAYF_VERSION | ASM_DISPLAYF_CULTURE) | ASM_DISPLAYF_PUBLIC_KEY_TOKEN) | ASM_DISPLAYF_RETARGET) | ASM_DISPLAYF_PROCESSORARCHITECTURE +} ASM_DISPLAY_FLAGS; +typedef enum __WIDL_fusion_generated_name_00000007 { + ASM_CMPF_NAME = 0x1, + ASM_CMPF_MAJOR_VERSION = 0x2, + ASM_CMPF_MINOR_VERSION = 0x4, + ASM_CMPF_BUILD_NUMBER = 0x8, + ASM_CMPF_REVISION_NUMBER = 0x10, + ASM_CMPF_VERSION = ((ASM_CMPF_MAJOR_VERSION | ASM_CMPF_MINOR_VERSION) | ASM_CMPF_BUILD_NUMBER) | ASM_CMPF_REVISION_NUMBER, + ASM_CMPF_PUBLIC_KEY_TOKEN = 0x20, + ASM_CMPF_CULTURE = 0x40, + ASM_CMPF_CUSTOM = 0x80, + ASM_CMPF_DEFAULT = 0x100, + ASM_CMPF_RETARGET = 0x200, + ASM_CMPF_ARCHITECTURE = 0x400, + ASM_CMPF_CONFIG_MASK = 0x800, + ASM_CMPF_MVID = 0x1000, + ASM_CMPF_SIGNATURE = 0x2000, + ASM_CMPF_IL_ALL = ((ASM_CMPF_NAME | ASM_CMPF_VERSION) | ASM_CMPF_PUBLIC_KEY_TOKEN) | ASM_CMPF_CULTURE, + ASM_CMPF_IL_NO_VERSION = (ASM_CMPF_NAME | ASM_CMPF_PUBLIC_KEY_TOKEN) | ASM_CMPF_CULTURE +} ASM_CMP_FLAGS; +DEFINE_GUID(IID_IAssemblyName, 0xcd193bc0, 0xb4bc, 0x11d2, 0x98,0x33, 0x00,0xc0,0x4f,0xc3,0x1d,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cd193bc0-b4bc-11d2-9833-00c04fc31d2e") +IAssemblyName : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetProperty( + DWORD PropertyId, + LPVOID pvProperty, + DWORD cbProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + DWORD PropertyId, + LPVOID pvProperty, + LPDWORD pcbProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finalize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPOLESTR szDisplayName, + LPDWORD pccDisplayName, + DWORD dwDisplayFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reserved( + REFIID refIID, + IUnknown *pUnkReserved1, + IUnknown *pUnkReserved2, + LPCOLESTR szReserved, + LONGLONG llReserved, + LPVOID pvReserved, + DWORD cbReserved, + LPVOID *ppReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + LPDWORD lpcwBuffer, + WCHAR *pwzName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVersion( + LPDWORD pdwVersionHi, + LPDWORD pdwVersionLow) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + IAssemblyName *pName, + DWORD dwCmpFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IAssemblyName **pName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyName, 0xcd193bc0, 0xb4bc, 0x11d2, 0x98,0x33, 0x00,0xc0,0x4f,0xc3,0x1d,0x2e) +#endif +#else +typedef struct IAssemblyNameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyName *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyName *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyName *This); + + /*** IAssemblyName methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IAssemblyName *This, + DWORD PropertyId, + LPVOID pvProperty, + DWORD cbProperty); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IAssemblyName *This, + DWORD PropertyId, + LPVOID pvProperty, + LPDWORD pcbProperty); + + HRESULT (STDMETHODCALLTYPE *Finalize)( + IAssemblyName *This); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IAssemblyName *This, + LPOLESTR szDisplayName, + LPDWORD pccDisplayName, + DWORD dwDisplayFlags); + + HRESULT (STDMETHODCALLTYPE *Reserved)( + IAssemblyName *This, + REFIID refIID, + IUnknown *pUnkReserved1, + IUnknown *pUnkReserved2, + LPCOLESTR szReserved, + LONGLONG llReserved, + LPVOID pvReserved, + DWORD cbReserved, + LPVOID *ppReserved); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IAssemblyName *This, + LPDWORD lpcwBuffer, + WCHAR *pwzName); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IAssemblyName *This, + LPDWORD pdwVersionHi, + LPDWORD pdwVersionLow); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IAssemblyName *This, + IAssemblyName *pName, + DWORD dwCmpFlags); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IAssemblyName *This, + IAssemblyName **pName); + + END_INTERFACE +} IAssemblyNameVtbl; + +interface IAssemblyName { + CONST_VTBL IAssemblyNameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyName_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyName_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyName methods ***/ +#define IAssemblyName_SetProperty(This,PropertyId,pvProperty,cbProperty) (This)->lpVtbl->SetProperty(This,PropertyId,pvProperty,cbProperty) +#define IAssemblyName_GetProperty(This,PropertyId,pvProperty,pcbProperty) (This)->lpVtbl->GetProperty(This,PropertyId,pvProperty,pcbProperty) +#define IAssemblyName_Finalize(This) (This)->lpVtbl->Finalize(This) +#define IAssemblyName_GetDisplayName(This,szDisplayName,pccDisplayName,dwDisplayFlags) (This)->lpVtbl->GetDisplayName(This,szDisplayName,pccDisplayName,dwDisplayFlags) +#define IAssemblyName_Reserved(This,refIID,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved) (This)->lpVtbl->Reserved(This,refIID,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved) +#define IAssemblyName_GetName(This,lpcwBuffer,pwzName) (This)->lpVtbl->GetName(This,lpcwBuffer,pwzName) +#define IAssemblyName_GetVersion(This,pdwVersionHi,pdwVersionLow) (This)->lpVtbl->GetVersion(This,pdwVersionHi,pdwVersionLow) +#define IAssemblyName_IsEqual(This,pName,dwCmpFlags) (This)->lpVtbl->IsEqual(This,pName,dwCmpFlags) +#define IAssemblyName_Clone(This,pName) (This)->lpVtbl->Clone(This,pName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyName_QueryInterface(IAssemblyName* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyName_AddRef(IAssemblyName* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyName_Release(IAssemblyName* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyName methods ***/ +static FORCEINLINE HRESULT IAssemblyName_SetProperty(IAssemblyName* This,DWORD PropertyId,LPVOID pvProperty,DWORD cbProperty) { + return This->lpVtbl->SetProperty(This,PropertyId,pvProperty,cbProperty); +} +static FORCEINLINE HRESULT IAssemblyName_GetProperty(IAssemblyName* This,DWORD PropertyId,LPVOID pvProperty,LPDWORD pcbProperty) { + return This->lpVtbl->GetProperty(This,PropertyId,pvProperty,pcbProperty); +} +static FORCEINLINE HRESULT IAssemblyName_Finalize(IAssemblyName* This) { + return This->lpVtbl->Finalize(This); +} +static FORCEINLINE HRESULT IAssemblyName_GetDisplayName(IAssemblyName* This,LPOLESTR szDisplayName,LPDWORD pccDisplayName,DWORD dwDisplayFlags) { + return This->lpVtbl->GetDisplayName(This,szDisplayName,pccDisplayName,dwDisplayFlags); +} +static FORCEINLINE HRESULT IAssemblyName_Reserved(IAssemblyName* This,REFIID refIID,IUnknown *pUnkReserved1,IUnknown *pUnkReserved2,LPCOLESTR szReserved,LONGLONG llReserved,LPVOID pvReserved,DWORD cbReserved,LPVOID *ppReserved) { + return This->lpVtbl->Reserved(This,refIID,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved); +} +static FORCEINLINE HRESULT IAssemblyName_GetName(IAssemblyName* This,LPDWORD lpcwBuffer,WCHAR *pwzName) { + return This->lpVtbl->GetName(This,lpcwBuffer,pwzName); +} +static FORCEINLINE HRESULT IAssemblyName_GetVersion(IAssemblyName* This,LPDWORD pdwVersionHi,LPDWORD pdwVersionLow) { + return This->lpVtbl->GetVersion(This,pdwVersionHi,pdwVersionLow); +} +static FORCEINLINE HRESULT IAssemblyName_IsEqual(IAssemblyName* This,IAssemblyName *pName,DWORD dwCmpFlags) { + return This->lpVtbl->IsEqual(This,pName,dwCmpFlags); +} +static FORCEINLINE HRESULT IAssemblyName_Clone(IAssemblyName* This,IAssemblyName **pName) { + return This->lpVtbl->Clone(This,pName); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyName_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssemblyEnum interface + */ +#ifndef __IAssemblyEnum_INTERFACE_DEFINED__ +#define __IAssemblyEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAssemblyEnum, 0x21b8916c, 0xf28e, 0x11d2, 0xa4,0x73, 0x00,0xc0,0x4f,0x8e,0xf4,0x48); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("21b8916c-f28e-11d2-a473-00c04f8ef448") +IAssemblyEnum : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNextAssembly( + LPVOID pvReserved, + IAssemblyName **ppName, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IAssemblyEnum **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyEnum, 0x21b8916c, 0xf28e, 0x11d2, 0xa4,0x73, 0x00,0xc0,0x4f,0x8e,0xf4,0x48) +#endif +#else +typedef struct IAssemblyEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyEnum *This); + + /*** IAssemblyEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNextAssembly)( + IAssemblyEnum *This, + LPVOID pvReserved, + IAssemblyName **ppName, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IAssemblyEnum *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IAssemblyEnum *This, + IAssemblyEnum **ppEnum); + + END_INTERFACE +} IAssemblyEnumVtbl; + +interface IAssemblyEnum { + CONST_VTBL IAssemblyEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyEnum_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyEnum methods ***/ +#define IAssemblyEnum_GetNextAssembly(This,pvReserved,ppName,dwFlags) (This)->lpVtbl->GetNextAssembly(This,pvReserved,ppName,dwFlags) +#define IAssemblyEnum_Reset(This) (This)->lpVtbl->Reset(This) +#define IAssemblyEnum_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyEnum_QueryInterface(IAssemblyEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyEnum_AddRef(IAssemblyEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyEnum_Release(IAssemblyEnum* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyEnum methods ***/ +static FORCEINLINE HRESULT IAssemblyEnum_GetNextAssembly(IAssemblyEnum* This,LPVOID pvReserved,IAssemblyName **ppName,DWORD dwFlags) { + return This->lpVtbl->GetNextAssembly(This,pvReserved,ppName,dwFlags); +} +static FORCEINLINE HRESULT IAssemblyEnum_Reset(IAssemblyEnum* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IAssemblyEnum_Clone(IAssemblyEnum* This,IAssemblyEnum **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyEnum_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallReferenceItem interface + */ +#ifndef __IInstallReferenceItem_INTERFACE_DEFINED__ +#define __IInstallReferenceItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallReferenceItem, 0x582dac66, 0xe678, 0x449f, 0xab,0xa6, 0x6f,0xaa,0xec,0x8a,0x93,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("582dac66-e678-449f-aba6-6faaec8a9394") +IInstallReferenceItem : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallReferenceItem, 0x582dac66, 0xe678, 0x449f, 0xab,0xa6, 0x6f,0xaa,0xec,0x8a,0x93,0x94) +#endif +#else +typedef struct IInstallReferenceItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallReferenceItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallReferenceItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallReferenceItem *This); + + END_INTERFACE +} IInstallReferenceItemVtbl; + +interface IInstallReferenceItem { + CONST_VTBL IInstallReferenceItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallReferenceItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallReferenceItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallReferenceItem_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallReferenceItem_QueryInterface(IInstallReferenceItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallReferenceItem_AddRef(IInstallReferenceItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallReferenceItem_Release(IInstallReferenceItem* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IInstallReferenceItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallReferenceEnum interface + */ +#ifndef __IInstallReferenceEnum_INTERFACE_DEFINED__ +#define __IInstallReferenceEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallReferenceEnum, 0x56b1a988, 0x7c0c, 0x4aa2, 0x86,0x39, 0xc3,0xeb,0x5a,0x90,0x22,0x6f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56b1a988-7c0c-4aa2-8639-c3eb5a90226f") +IInstallReferenceEnum : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallReferenceEnum, 0x56b1a988, 0x7c0c, 0x4aa2, 0x86,0x39, 0xc3,0xeb,0x5a,0x90,0x22,0x6f) +#endif +#else +typedef struct IInstallReferenceEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallReferenceEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallReferenceEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallReferenceEnum *This); + + END_INTERFACE +} IInstallReferenceEnumVtbl; + +interface IInstallReferenceEnum { + CONST_VTBL IInstallReferenceEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallReferenceEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallReferenceEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallReferenceEnum_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallReferenceEnum_QueryInterface(IInstallReferenceEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallReferenceEnum_AddRef(IInstallReferenceEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallReferenceEnum_Release(IInstallReferenceEnum* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IInstallReferenceEnum_INTERFACE_DEFINED__ */ + +HRESULT WINAPI ClearDownloadCache(void); +HRESULT WINAPI CompareAssemblyIdentity(LPCWSTR,BOOL,LPCWSTR,BOOL,BOOL*,AssemblyComparisonResult*); +HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD); +HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum**,IUnknown*,IAssemblyName*,DWORD,LPVOID); +HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME*,LPCWSTR,DWORD,LPVOID); +HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum**,IAssemblyName*,DWORD,LPVOID); +HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR,REFIID,IUnknown**); +HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS,LPWSTR,PDWORD); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __fusion_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fusion.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fusion.idl new file mode 100644 index 0000000..cff1e6c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/fusion.idl @@ -0,0 +1,356 @@ +/* + * Copyright 2008 James Hawkins + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + +interface IAssemblyCache; +interface IAssemblyCacheItem; +interface IAssemblyEnum; +interface IAssemblyName; + +typedef enum +{ + ASM_CACHE_ZAP = 0x1, + ASM_CACHE_GAC = 0x2, + ASM_CACHE_DOWNLOAD = 0x4, + ASM_CACHE_ROOT = 0x8, + ASM_CACHE_ROOT_EX = 0x80 +} ASM_CACHE_FLAGS; + +typedef enum +{ + peNone = 0x00000000, + peMSIL = 0x00000001, + peI386 = 0x00000002, + peIA64 = 0x00000003, + peAMD64 = 0x00000004, + peARM = 0x00000005, + peInvalid = 0xffffffff +} PEKIND; + +typedef enum _tagAssemblyComparisonResult +{ + ACR_Unknown, + ACR_EquivalentFullMatch, + ACR_EquivalentWeakNamed, + ACR_EquivalentFXUnified, + ACR_EquivalentUnified, + ACR_NonEquivalentVersion, + ACR_NonEquivalent, + ACR_EquivalentPartialMatch, + ACR_EquivalentPartialWeakNamed, + ACR_EquivalentPartialUnified, + ACR_EquivalentPartialFXUnified, + ACR_NonEquivalentPartialVersion +} AssemblyComparisonResult; + +[ + local, + object, + uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae), + pointer_default(unique) +] +interface IAssemblyCache : IUnknown +{ + typedef struct _FUSION_INSTALL_REFERENCE_ + { + DWORD cbSize; + DWORD dwFlags; + GUID guidScheme; + LPCWSTR szIdentifier; + LPCWSTR szNonCannonicalData; + } FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE; + + typedef const FUSION_INSTALL_REFERENCE *LPCFUSION_INSTALL_REFERENCE; + + typedef struct _ASSEMBLY_INFO + { + ULONG cbAssemblyInfo; + DWORD dwAssemblyFlags; + ULARGE_INTEGER uliAssemblySizeInKB; + LPWSTR pszCurrentAssemblyPathBuf; + ULONG cchBuf; + } ASSEMBLY_INFO; + + cpp_quote("#define IASSEMBLYCACHE_INSTALL_FLAG_REFRESH 0x00000001") + cpp_quote("#define IASSEMBLYCACHE_INSTALL_FLAG_FORCE_REFRESH 0x00000002") + + cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED 1") + cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_STILL_IN_USE 2") + cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_ALREADY_UNINSTALLED 3") + cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_DELETE_PENDING 4") + cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_HAS_INSTALL_REFERENCES 5") + cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_REFERENCE_NOT_FOUND 6") + + cpp_quote("#define QUERYASMINFO_FLAG_VALIDATE 0x00000001") + cpp_quote("#define QUERYASMINFO_FLAG_GETSIZE 0x00000002") + + cpp_quote("#define ASSEMBLYINFO_FLAG_INSTALLED 0x00000001") + cpp_quote("#define ASSEMBLYINFO_FLAG_PAYLOADRESIDENT 0x00000002") + + HRESULT UninstallAssembly( + [in] DWORD dwFlags, + [in] LPCWSTR pszAssemblyName, + [in] LPCFUSION_INSTALL_REFERENCE pRefData, + [out, optional] ULONG *pulDisposition); + + HRESULT QueryAssemblyInfo( + [in] DWORD dwFlags, + [in] LPCWSTR pszAssemblyName, + [in, out] ASSEMBLY_INFO *pAsmInfo); + + HRESULT CreateAssemblyCacheItem( + [in] DWORD dwFlags, + [in] PVOID pvReserved, + [out] IAssemblyCacheItem **ppAsmItem, + [in, optional] LPCWSTR pszAssemblyName); + + HRESULT CreateAssemblyScavenger([out] IUnknown **ppUnkReserved); + + HRESULT InstallAssembly( + [in] DWORD dwFlags, + [in] LPCWSTR pszManifestFilePath, + [in] LPCFUSION_INSTALL_REFERENCE pRefData); +} + +[ + local, + object, + uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae), + pointer_default(unique) +] +interface IAssemblyCacheItem : IUnknown +{ + cpp_quote("#define STREAM_FORMAT_COMPLIB_MODULE 0") + cpp_quote("#define STREAM_FORMAT_COMPLIB_MANIFEST 1") + cpp_quote("#define STREAM_FORMAT_WIN32_MODULE 2") + cpp_quote("#define STREAM_FORMAT_WIN32_MANIFEST 4") + + cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_FLAG_REFRESH 0x00000001") + cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_FLAG_FORCE_REFRESH 0x00000002") + + cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_INSTALLED 1") + cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_REFRESHED 2") + cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_ALREADY_INSTALLED 3") + + HRESULT CreateStream( + [in] DWORD dwFlags, + [in] LPCWSTR pszStreamName, + [in] DWORD dwFormat, + [in] DWORD dwFormatFlags, + [out] IStream **ppIStream, + [in, optional] ULARGE_INTEGER *puliMaxSize); + + HRESULT Commit( + [in] DWORD dwFlags, + [out, optional] ULONG *pulDisposition); + + HRESULT AbortItem(); +} + +[ + local, + object, + uuid(CD193BC0-B4BC-11d2-9833-00C04FC31D2E), + pointer_default(unique) +] +interface IAssemblyName: IUnknown +{ + typedef [unique] IAssemblyName *LPASSEMBLYNAME; + + typedef enum + { + CANOF_PARSE_DISPLAY_NAME = 0x1, + CANOF_SET_DEFAULT_VALUES = 0x2, + CANOF_VERIFY_FRIEND_ASSEMBLYNAME = 0x4, + CANOF_PARSE_FRIEND_DISPLAY_NAME = CANOF_PARSE_DISPLAY_NAME | + CANOF_VERIFY_FRIEND_ASSEMBLYNAME + } CREATE_ASM_NAME_OBJ_FLAGS; + + typedef enum + { + ASM_NAME_PUBLIC_KEY = 0, + ASM_NAME_PUBLIC_KEY_TOKEN, + ASM_NAME_HASH_VALUE, + ASM_NAME_NAME, + ASM_NAME_MAJOR_VERSION, + ASM_NAME_MINOR_VERSION, + ASM_NAME_BUILD_NUMBER, + ASM_NAME_REVISION_NUMBER, + ASM_NAME_CULTURE, + ASM_NAME_PROCESSOR_ID_ARRAY, + ASM_NAME_OSINFO_ARRAY, + ASM_NAME_HASH_ALGID, + ASM_NAME_ALIAS, + ASM_NAME_CODEBASE_URL, + ASM_NAME_CODEBASE_LASTMOD, + ASM_NAME_NULL_PUBLIC_KEY, + ASM_NAME_NULL_PUBLIC_KEY_TOKEN, + ASM_NAME_CUSTOM, + ASM_NAME_NULL_CUSTOM, + ASM_NAME_MVID, + ASM_NAME_FILE_MAJOR_VERSION, + ASM_NAME_FILE_MINOR_VERSION, + ASM_NAME_FILE_BUILD_NUMBER, + ASM_NAME_FILE_REVISION_NUMBER, + ASM_NAME_RETARGET, + ASM_NAME_SIGNATURE_BLOB, + ASM_NAME_CONFIG_MASK, + ASM_NAME_ARCHITECTURE, + ASM_NAME_MAX_PARAMS + } ASM_NAME; + + typedef enum + { + ASM_DISPLAYF_VERSION = 0x1, + ASM_DISPLAYF_CULTURE = 0x2, + ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4, + ASM_DISPLAYF_PUBLIC_KEY = 0x8, + ASM_DISPLAYF_CUSTOM = 0x10, + ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20, + ASM_DISPLAYF_LANGUAGEID = 0x40, + ASM_DISPLAYF_RETARGET = 0x80, + ASM_DISPLAYF_CONFIG_MASK = 0x100, + ASM_DISPLAYF_MVID = 0x200, + + ASM_DISPLAYF_FULL = ASM_DISPLAYF_VERSION | + ASM_DISPLAYF_CULTURE | + ASM_DISPLAYF_PUBLIC_KEY_TOKEN | + ASM_DISPLAYF_RETARGET | + ASM_DISPLAYF_PROCESSORARCHITECTURE, + } ASM_DISPLAY_FLAGS; + + typedef enum + { + ASM_CMPF_NAME = 0x1, + ASM_CMPF_MAJOR_VERSION = 0x2, + ASM_CMPF_MINOR_VERSION = 0x4, + ASM_CMPF_BUILD_NUMBER = 0x8, + ASM_CMPF_REVISION_NUMBER = 0x10, + ASM_CMPF_VERSION = ASM_CMPF_MAJOR_VERSION | + ASM_CMPF_MINOR_VERSION | + ASM_CMPF_BUILD_NUMBER | + ASM_CMPF_REVISION_NUMBER, + ASM_CMPF_PUBLIC_KEY_TOKEN = 0x20, + ASM_CMPF_CULTURE = 0x40, + ASM_CMPF_CUSTOM = 0x80, + ASM_CMPF_DEFAULT = 0x100, + ASM_CMPF_RETARGET = 0x200, + ASM_CMPF_ARCHITECTURE = 0x400, + ASM_CMPF_CONFIG_MASK = 0x800, + ASM_CMPF_MVID = 0x1000, + ASM_CMPF_SIGNATURE = 0x2000, + ASM_CMPF_IL_ALL = ASM_CMPF_NAME | + ASM_CMPF_VERSION | + ASM_CMPF_PUBLIC_KEY_TOKEN | + ASM_CMPF_CULTURE, + ASM_CMPF_IL_NO_VERSION = ASM_CMPF_NAME | + ASM_CMPF_PUBLIC_KEY_TOKEN | + ASM_CMPF_CULTURE + } ASM_CMP_FLAGS; + + HRESULT SetProperty( + [in] DWORD PropertyId, + [in] LPVOID pvProperty, + [in] DWORD cbProperty); + + HRESULT GetProperty( + [in] DWORD PropertyId, + [out] LPVOID pvProperty, + [in, out] LPDWORD pcbProperty); + + HRESULT Finalize(); + + HRESULT GetDisplayName( + [out] LPOLESTR szDisplayName, + [in, out] LPDWORD pccDisplayName, + [in] DWORD dwDisplayFlags); + + HRESULT Reserved( + [in] REFIID refIID, + [in] IUnknown *pUnkReserved1, + [in] IUnknown *pUnkReserved2, + [in] LPCOLESTR szReserved, + [in] LONGLONG llReserved, + [in] LPVOID pvReserved, + [in] DWORD cbReserved, + [out] LPVOID *ppReserved); + + HRESULT GetName( + [in, out] LPDWORD lpcwBuffer, + [out] WCHAR *pwzName); + + HRESULT GetVersion( + [out] LPDWORD pdwVersionHi, + [out] LPDWORD pdwVersionLow); + + HRESULT IsEqual( + [in] IAssemblyName *pName, + [in] DWORD dwCmpFlags); + + HRESULT Clone([out] IAssemblyName **pName); +} + +[ + local, + object, + uuid(21b8916c-f28e-11d2-a473-00c04f8ef448), + pointer_default(unique) +] +interface IAssemblyEnum : IUnknown +{ + HRESULT GetNextAssembly( + [in] LPVOID pvReserved, + [out] IAssemblyName **ppName, + [in] DWORD dwFlags); + + HRESULT Reset(void); + + HRESULT Clone([out] IAssemblyEnum **ppEnum); +} + +[ + local, + object, + uuid(582dac66-e678-449f-aba6-6faaec8a9394), + pointer_default(unique) +] +interface IInstallReferenceItem : IUnknown +{ + +} + +[ + local, + object, + uuid(56b1a988-7c0c-4aa2-8639-c3eb5a90226f), + pointer_default(unique) +] +interface IInstallReferenceEnum : IUnknown +{ + +} + +cpp_quote("HRESULT WINAPI ClearDownloadCache(void);") +cpp_quote("HRESULT WINAPI CompareAssemblyIdentity(LPCWSTR,BOOL,LPCWSTR,BOOL,BOOL*,AssemblyComparisonResult*);") +cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);") +cpp_quote("HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum**,IUnknown*,IAssemblyName*,DWORD,LPVOID);") +cpp_quote("HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME*,LPCWSTR,DWORD,LPVOID);") +cpp_quote("HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum**,IAssemblyName*,DWORD,LPVOID);") +cpp_quote("HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR,REFIID,IUnknown**);") +cpp_quote("HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS,LPWSTR,PDWORD);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gameux.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gameux.h new file mode 100644 index 0000000..23621be --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gameux.h @@ -0,0 +1,676 @@ +/*** Autogenerated by WIDL 2.18 from gameux.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __gameux_h__ +#define __gameux_h__ + +/* Forward declarations */ + +#ifndef __IGameExplorer_FWD_DEFINED__ +#define __IGameExplorer_FWD_DEFINED__ +typedef interface IGameExplorer IGameExplorer; +#ifdef __cplusplus +interface IGameExplorer; +#endif /* __cplusplus */ +#endif + +#ifndef __IGameStatistics_FWD_DEFINED__ +#define __IGameStatistics_FWD_DEFINED__ +typedef interface IGameStatistics IGameStatistics; +#ifdef __cplusplus +interface IGameStatistics; +#endif /* __cplusplus */ +#endif + +#ifndef __IGameStatisticsMgr_FWD_DEFINED__ +#define __IGameStatisticsMgr_FWD_DEFINED__ +typedef interface IGameStatisticsMgr IGameStatisticsMgr; +#ifdef __cplusplus +interface IGameStatisticsMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __IGameExplorer2_FWD_DEFINED__ +#define __IGameExplorer2_FWD_DEFINED__ +typedef interface IGameExplorer2 IGameExplorer2; +#ifdef __cplusplus +interface IGameExplorer2; +#endif /* __cplusplus */ +#endif + +#ifndef __GameExplorer_FWD_DEFINED__ +#define __GameExplorer_FWD_DEFINED__ +#ifdef __cplusplus +typedef class GameExplorer GameExplorer; +#else +typedef struct GameExplorer GameExplorer; +#endif /* defined __cplusplus */ +#endif /* defined __GameExplorer_FWD_DEFINED__ */ + +#ifndef __GameStatistics_FWD_DEFINED__ +#define __GameStatistics_FWD_DEFINED__ +#ifdef __cplusplus +typedef class GameStatistics GameStatistics; +#else +typedef struct GameStatistics GameStatistics; +#endif /* defined __cplusplus */ +#endif /* defined __GameStatistics_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_gameuxLib, 0x4f48a59c, 0x942d, 0x4f3c, 0x83,0xc9, 0x4e,0xff,0xe8,0x4e,0x49,0x59); + +#define ID_GDF_XML __GDF_XML +#define ID_GDF_THUMBNAIL __GDF_THUMBNAIL +#define ID_ICON_ICO __ICON_ICO +#if defined(__GNUC__) +#define ID_GDF_XML_STR (const WCHAR[]){'_','_','G','D','F','_','X','M','L',0} +#define ID_GDF_THUMBNAIL_STR (const WCHAR[]){'_','_','G','D','F','_','T','H','U','M','B','N','A','I','L',0} +#elif defined(_MSC_VER) +#define ID_GDF_XML_STR L"__GDF_XML" +#define ID_GDF_THUMBNAIL_STR L"__GDF_THUMBNAIL" +#endif +typedef enum __WIDL_gameux_generated_name_0000001C { + GIS_NOT_INSTALLED = 1, + GIS_CURRENT_USER = 2, + GIS_ALL_USERS = 3 +} GAME_INSTALL_SCOPE; +typedef enum __WIDL_gameux_generated_name_0000001D { + GAMESTATS_OPEN_OPENORCREATE = 0, + GAMESTATS_OPEN_OPENONLY = 1 +} GAMESTATS_OPEN_TYPE; +typedef enum __WIDL_gameux_generated_name_0000001E { + GAMESTATS_OPEN_CREATED = 0, + GAMESTATS_OPEN_OPENED = 1 +} GAMESTATS_OPEN_RESULT; +/***************************************************************************** + * IGameExplorer interface + */ +#ifndef __IGameExplorer_INTERFACE_DEFINED__ +#define __IGameExplorer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGameExplorer, 0xe7b2fb72, 0xd728, 0x49b3, 0xa5,0xf2, 0x18,0xeb,0xf5,0xf1,0x34,0x9e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e7b2fb72-d728-49b3-a5f2-18ebf5f1349e") +IGameExplorer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddGame( + BSTR sGDFBinaryPath, + BSTR sInstallDirectory, + GAME_INSTALL_SCOPE installScope, + GUID *pguidInstanceID) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveGame( + GUID instanceID) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateGame( + GUID instanceID) = 0; + + virtual HRESULT STDMETHODCALLTYPE VerifyAccess( + BSTR sGDFBinaryPath, + BOOL *pHasAccess) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGameExplorer, 0xe7b2fb72, 0xd728, 0x49b3, 0xa5,0xf2, 0x18,0xeb,0xf5,0xf1,0x34,0x9e) +#endif +#else +typedef struct IGameExplorerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGameExplorer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGameExplorer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGameExplorer *This); + + /*** IGameExplorer methods ***/ + HRESULT (STDMETHODCALLTYPE *AddGame)( + IGameExplorer *This, + BSTR sGDFBinaryPath, + BSTR sInstallDirectory, + GAME_INSTALL_SCOPE installScope, + GUID *pguidInstanceID); + + HRESULT (STDMETHODCALLTYPE *RemoveGame)( + IGameExplorer *This, + GUID instanceID); + + HRESULT (STDMETHODCALLTYPE *UpdateGame)( + IGameExplorer *This, + GUID instanceID); + + HRESULT (STDMETHODCALLTYPE *VerifyAccess)( + IGameExplorer *This, + BSTR sGDFBinaryPath, + BOOL *pHasAccess); + + END_INTERFACE +} IGameExplorerVtbl; + +interface IGameExplorer { + CONST_VTBL IGameExplorerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGameExplorer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGameExplorer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGameExplorer_Release(This) (This)->lpVtbl->Release(This) +/*** IGameExplorer methods ***/ +#define IGameExplorer_AddGame(This,sGDFBinaryPath,sInstallDirectory,installScope,pguidInstanceID) (This)->lpVtbl->AddGame(This,sGDFBinaryPath,sInstallDirectory,installScope,pguidInstanceID) +#define IGameExplorer_RemoveGame(This,instanceID) (This)->lpVtbl->RemoveGame(This,instanceID) +#define IGameExplorer_UpdateGame(This,instanceID) (This)->lpVtbl->UpdateGame(This,instanceID) +#define IGameExplorer_VerifyAccess(This,sGDFBinaryPath,pHasAccess) (This)->lpVtbl->VerifyAccess(This,sGDFBinaryPath,pHasAccess) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGameExplorer_QueryInterface(IGameExplorer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGameExplorer_AddRef(IGameExplorer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGameExplorer_Release(IGameExplorer* This) { + return This->lpVtbl->Release(This); +} +/*** IGameExplorer methods ***/ +static FORCEINLINE HRESULT IGameExplorer_AddGame(IGameExplorer* This,BSTR sGDFBinaryPath,BSTR sInstallDirectory,GAME_INSTALL_SCOPE installScope,GUID *pguidInstanceID) { + return This->lpVtbl->AddGame(This,sGDFBinaryPath,sInstallDirectory,installScope,pguidInstanceID); +} +static FORCEINLINE HRESULT IGameExplorer_RemoveGame(IGameExplorer* This,GUID instanceID) { + return This->lpVtbl->RemoveGame(This,instanceID); +} +static FORCEINLINE HRESULT IGameExplorer_UpdateGame(IGameExplorer* This,GUID instanceID) { + return This->lpVtbl->UpdateGame(This,instanceID); +} +static FORCEINLINE HRESULT IGameExplorer_VerifyAccess(IGameExplorer* This,BSTR sGDFBinaryPath,BOOL *pHasAccess) { + return This->lpVtbl->VerifyAccess(This,sGDFBinaryPath,pHasAccess); +} +#endif +#endif + +#endif + + +#endif /* __IGameExplorer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGameStatistics interface + */ +#ifndef __IGameStatistics_INTERFACE_DEFINED__ +#define __IGameStatistics_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGameStatistics, 0x3887c9ca, 0x04a0, 0x42ae, 0xbc,0x4c, 0x5f,0xa6,0xc7,0x72,0x11,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3887c9ca-04a0-42ae-bc4c-5fa6c7721145") +IGameStatistics : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMaxCategoryLength( + UINT *cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxNameLength( + UINT *cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxValueLength( + UINT *cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxCategories( + WORD *pMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxStatsPerCategory( + WORD *pMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCategoryTitle( + WORD categoryIndex, + LPCWSTR title) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCategoryTitle( + WORD categoryIndex, + LPWSTR *pTitle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatistic( + WORD categoryIndex, + WORD statIndex, + LPWSTR *pName, + LPWSTR *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStatistic( + WORD categoryIndex, + WORD statIndex, + LPCWSTR name, + LPCWSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + BOOL trackChanges) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLastPlayedCategory( + UINT categoryIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastPlayedCategory( + UINT *pCategoryIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGameStatistics, 0x3887c9ca, 0x04a0, 0x42ae, 0xbc,0x4c, 0x5f,0xa6,0xc7,0x72,0x11,0x45) +#endif +#else +typedef struct IGameStatisticsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGameStatistics *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGameStatistics *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGameStatistics *This); + + /*** IGameStatistics methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMaxCategoryLength)( + IGameStatistics *This, + UINT *cch); + + HRESULT (STDMETHODCALLTYPE *GetMaxNameLength)( + IGameStatistics *This, + UINT *cch); + + HRESULT (STDMETHODCALLTYPE *GetMaxValueLength)( + IGameStatistics *This, + UINT *cch); + + HRESULT (STDMETHODCALLTYPE *GetMaxCategories)( + IGameStatistics *This, + WORD *pMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStatsPerCategory)( + IGameStatistics *This, + WORD *pMax); + + HRESULT (STDMETHODCALLTYPE *SetCategoryTitle)( + IGameStatistics *This, + WORD categoryIndex, + LPCWSTR title); + + HRESULT (STDMETHODCALLTYPE *GetCategoryTitle)( + IGameStatistics *This, + WORD categoryIndex, + LPWSTR *pTitle); + + HRESULT (STDMETHODCALLTYPE *GetStatistic)( + IGameStatistics *This, + WORD categoryIndex, + WORD statIndex, + LPWSTR *pName, + LPWSTR *pValue); + + HRESULT (STDMETHODCALLTYPE *SetStatistic)( + IGameStatistics *This, + WORD categoryIndex, + WORD statIndex, + LPCWSTR name, + LPCWSTR value); + + HRESULT (STDMETHODCALLTYPE *Save)( + IGameStatistics *This, + BOOL trackChanges); + + HRESULT (STDMETHODCALLTYPE *SetLastPlayedCategory)( + IGameStatistics *This, + UINT categoryIndex); + + HRESULT (STDMETHODCALLTYPE *GetLastPlayedCategory)( + IGameStatistics *This, + UINT *pCategoryIndex); + + END_INTERFACE +} IGameStatisticsVtbl; + +interface IGameStatistics { + CONST_VTBL IGameStatisticsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGameStatistics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGameStatistics_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGameStatistics_Release(This) (This)->lpVtbl->Release(This) +/*** IGameStatistics methods ***/ +#define IGameStatistics_GetMaxCategoryLength(This,cch) (This)->lpVtbl->GetMaxCategoryLength(This,cch) +#define IGameStatistics_GetMaxNameLength(This,cch) (This)->lpVtbl->GetMaxNameLength(This,cch) +#define IGameStatistics_GetMaxValueLength(This,cch) (This)->lpVtbl->GetMaxValueLength(This,cch) +#define IGameStatistics_GetMaxCategories(This,pMax) (This)->lpVtbl->GetMaxCategories(This,pMax) +#define IGameStatistics_GetMaxStatsPerCategory(This,pMax) (This)->lpVtbl->GetMaxStatsPerCategory(This,pMax) +#define IGameStatistics_SetCategoryTitle(This,categoryIndex,title) (This)->lpVtbl->SetCategoryTitle(This,categoryIndex,title) +#define IGameStatistics_GetCategoryTitle(This,categoryIndex,pTitle) (This)->lpVtbl->GetCategoryTitle(This,categoryIndex,pTitle) +#define IGameStatistics_GetStatistic(This,categoryIndex,statIndex,pName,pValue) (This)->lpVtbl->GetStatistic(This,categoryIndex,statIndex,pName,pValue) +#define IGameStatistics_SetStatistic(This,categoryIndex,statIndex,name,value) (This)->lpVtbl->SetStatistic(This,categoryIndex,statIndex,name,value) +#define IGameStatistics_Save(This,trackChanges) (This)->lpVtbl->Save(This,trackChanges) +#define IGameStatistics_SetLastPlayedCategory(This,categoryIndex) (This)->lpVtbl->SetLastPlayedCategory(This,categoryIndex) +#define IGameStatistics_GetLastPlayedCategory(This,pCategoryIndex) (This)->lpVtbl->GetLastPlayedCategory(This,pCategoryIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGameStatistics_QueryInterface(IGameStatistics* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGameStatistics_AddRef(IGameStatistics* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGameStatistics_Release(IGameStatistics* This) { + return This->lpVtbl->Release(This); +} +/*** IGameStatistics methods ***/ +static FORCEINLINE HRESULT IGameStatistics_GetMaxCategoryLength(IGameStatistics* This,UINT *cch) { + return This->lpVtbl->GetMaxCategoryLength(This,cch); +} +static FORCEINLINE HRESULT IGameStatistics_GetMaxNameLength(IGameStatistics* This,UINT *cch) { + return This->lpVtbl->GetMaxNameLength(This,cch); +} +static FORCEINLINE HRESULT IGameStatistics_GetMaxValueLength(IGameStatistics* This,UINT *cch) { + return This->lpVtbl->GetMaxValueLength(This,cch); +} +static FORCEINLINE HRESULT IGameStatistics_GetMaxCategories(IGameStatistics* This,WORD *pMax) { + return This->lpVtbl->GetMaxCategories(This,pMax); +} +static FORCEINLINE HRESULT IGameStatistics_GetMaxStatsPerCategory(IGameStatistics* This,WORD *pMax) { + return This->lpVtbl->GetMaxStatsPerCategory(This,pMax); +} +static FORCEINLINE HRESULT IGameStatistics_SetCategoryTitle(IGameStatistics* This,WORD categoryIndex,LPCWSTR title) { + return This->lpVtbl->SetCategoryTitle(This,categoryIndex,title); +} +static FORCEINLINE HRESULT IGameStatistics_GetCategoryTitle(IGameStatistics* This,WORD categoryIndex,LPWSTR *pTitle) { + return This->lpVtbl->GetCategoryTitle(This,categoryIndex,pTitle); +} +static FORCEINLINE HRESULT IGameStatistics_GetStatistic(IGameStatistics* This,WORD categoryIndex,WORD statIndex,LPWSTR *pName,LPWSTR *pValue) { + return This->lpVtbl->GetStatistic(This,categoryIndex,statIndex,pName,pValue); +} +static FORCEINLINE HRESULT IGameStatistics_SetStatistic(IGameStatistics* This,WORD categoryIndex,WORD statIndex,LPCWSTR name,LPCWSTR value) { + return This->lpVtbl->SetStatistic(This,categoryIndex,statIndex,name,value); +} +static FORCEINLINE HRESULT IGameStatistics_Save(IGameStatistics* This,BOOL trackChanges) { + return This->lpVtbl->Save(This,trackChanges); +} +static FORCEINLINE HRESULT IGameStatistics_SetLastPlayedCategory(IGameStatistics* This,UINT categoryIndex) { + return This->lpVtbl->SetLastPlayedCategory(This,categoryIndex); +} +static FORCEINLINE HRESULT IGameStatistics_GetLastPlayedCategory(IGameStatistics* This,UINT *pCategoryIndex) { + return This->lpVtbl->GetLastPlayedCategory(This,pCategoryIndex); +} +#endif +#endif + +#endif + + +#endif /* __IGameStatistics_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGameStatisticsMgr interface + */ +#ifndef __IGameStatisticsMgr_INTERFACE_DEFINED__ +#define __IGameStatisticsMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGameStatisticsMgr, 0xaff3ea11, 0xe70e, 0x407d, 0x95,0xdd, 0x35,0xe6,0x12,0xc4,0x1c,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aff3ea11-e70e-407d-95dd-35e612c41ce2") +IGameStatisticsMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetGameStatistics( + LPCWSTR GDFBinaryPath, + GAMESTATS_OPEN_TYPE openType, + GAMESTATS_OPEN_RESULT *pOpenResult, + IGameStatistics **ppiStats) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveGameStatistics( + LPCWSTR GDFBinaryPath) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGameStatisticsMgr, 0xaff3ea11, 0xe70e, 0x407d, 0x95,0xdd, 0x35,0xe6,0x12,0xc4,0x1c,0xe2) +#endif +#else +typedef struct IGameStatisticsMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGameStatisticsMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGameStatisticsMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGameStatisticsMgr *This); + + /*** IGameStatisticsMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGameStatistics)( + IGameStatisticsMgr *This, + LPCWSTR GDFBinaryPath, + GAMESTATS_OPEN_TYPE openType, + GAMESTATS_OPEN_RESULT *pOpenResult, + IGameStatistics **ppiStats); + + HRESULT (STDMETHODCALLTYPE *RemoveGameStatistics)( + IGameStatisticsMgr *This, + LPCWSTR GDFBinaryPath); + + END_INTERFACE +} IGameStatisticsMgrVtbl; + +interface IGameStatisticsMgr { + CONST_VTBL IGameStatisticsMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGameStatisticsMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGameStatisticsMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGameStatisticsMgr_Release(This) (This)->lpVtbl->Release(This) +/*** IGameStatisticsMgr methods ***/ +#define IGameStatisticsMgr_GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats) (This)->lpVtbl->GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats) +#define IGameStatisticsMgr_RemoveGameStatistics(This,GDFBinaryPath) (This)->lpVtbl->RemoveGameStatistics(This,GDFBinaryPath) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGameStatisticsMgr_QueryInterface(IGameStatisticsMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGameStatisticsMgr_AddRef(IGameStatisticsMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGameStatisticsMgr_Release(IGameStatisticsMgr* This) { + return This->lpVtbl->Release(This); +} +/*** IGameStatisticsMgr methods ***/ +static FORCEINLINE HRESULT IGameStatisticsMgr_GetGameStatistics(IGameStatisticsMgr* This,LPCWSTR GDFBinaryPath,GAMESTATS_OPEN_TYPE openType,GAMESTATS_OPEN_RESULT *pOpenResult,IGameStatistics **ppiStats) { + return This->lpVtbl->GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats); +} +static FORCEINLINE HRESULT IGameStatisticsMgr_RemoveGameStatistics(IGameStatisticsMgr* This,LPCWSTR GDFBinaryPath) { + return This->lpVtbl->RemoveGameStatistics(This,GDFBinaryPath); +} +#endif +#endif + +#endif + + +#endif /* __IGameStatisticsMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGameExplorer2 interface + */ +#ifndef __IGameExplorer2_INTERFACE_DEFINED__ +#define __IGameExplorer2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGameExplorer2, 0x86874aa7, 0xa1ed, 0x450d, 0xa7,0xeb, 0xb8,0x9e,0x20,0xb2,0xff,0xf3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("86874aa7-a1ed-450d-a7eb-b89e20b2fff3") +IGameExplorer2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InstallGame( + LPCWSTR binaryGDFPath, + LPCWSTR installDirectory, + GAME_INSTALL_SCOPE installScope) = 0; + + virtual HRESULT STDMETHODCALLTYPE UninstallGame( + LPCWSTR binaryGDFPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckAccess( + LPCWSTR binaryGDFPath, + BOOL *pHasAccess) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGameExplorer2, 0x86874aa7, 0xa1ed, 0x450d, 0xa7,0xeb, 0xb8,0x9e,0x20,0xb2,0xff,0xf3) +#endif +#else +typedef struct IGameExplorer2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGameExplorer2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGameExplorer2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGameExplorer2 *This); + + /*** IGameExplorer2 methods ***/ + HRESULT (STDMETHODCALLTYPE *InstallGame)( + IGameExplorer2 *This, + LPCWSTR binaryGDFPath, + LPCWSTR installDirectory, + GAME_INSTALL_SCOPE installScope); + + HRESULT (STDMETHODCALLTYPE *UninstallGame)( + IGameExplorer2 *This, + LPCWSTR binaryGDFPath); + + HRESULT (STDMETHODCALLTYPE *CheckAccess)( + IGameExplorer2 *This, + LPCWSTR binaryGDFPath, + BOOL *pHasAccess); + + END_INTERFACE +} IGameExplorer2Vtbl; + +interface IGameExplorer2 { + CONST_VTBL IGameExplorer2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGameExplorer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGameExplorer2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGameExplorer2_Release(This) (This)->lpVtbl->Release(This) +/*** IGameExplorer2 methods ***/ +#define IGameExplorer2_InstallGame(This,binaryGDFPath,installDirectory,installScope) (This)->lpVtbl->InstallGame(This,binaryGDFPath,installDirectory,installScope) +#define IGameExplorer2_UninstallGame(This,binaryGDFPath) (This)->lpVtbl->UninstallGame(This,binaryGDFPath) +#define IGameExplorer2_CheckAccess(This,binaryGDFPath,pHasAccess) (This)->lpVtbl->CheckAccess(This,binaryGDFPath,pHasAccess) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGameExplorer2_QueryInterface(IGameExplorer2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGameExplorer2_AddRef(IGameExplorer2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGameExplorer2_Release(IGameExplorer2* This) { + return This->lpVtbl->Release(This); +} +/*** IGameExplorer2 methods ***/ +static FORCEINLINE HRESULT IGameExplorer2_InstallGame(IGameExplorer2* This,LPCWSTR binaryGDFPath,LPCWSTR installDirectory,GAME_INSTALL_SCOPE installScope) { + return This->lpVtbl->InstallGame(This,binaryGDFPath,installDirectory,installScope); +} +static FORCEINLINE HRESULT IGameExplorer2_UninstallGame(IGameExplorer2* This,LPCWSTR binaryGDFPath) { + return This->lpVtbl->UninstallGame(This,binaryGDFPath); +} +static FORCEINLINE HRESULT IGameExplorer2_CheckAccess(IGameExplorer2* This,LPCWSTR binaryGDFPath,BOOL *pHasAccess) { + return This->lpVtbl->CheckAccess(This,binaryGDFPath,pHasAccess); +} +#endif +#endif + +#endif + + +#endif /* __IGameExplorer2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * GameExplorer coclass + */ + +DEFINE_GUID(CLSID_GameExplorer, 0x9a5ea990, 0x3034, 0x4d6f, 0x91,0x28, 0x01,0xf3,0xc6,0x10,0x22,0xbc); + +#ifdef __cplusplus +class DECLSPEC_UUID("9a5ea990-3034-4d6f-9128-01f3c61022bc") GameExplorer; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(GameExplorer, 0x9a5ea990, 0x3034, 0x4d6f, 0x91,0x28, 0x01,0xf3,0xc6,0x10,0x22,0xbc) +#endif +#endif + +/***************************************************************************** + * GameStatistics coclass + */ + +DEFINE_GUID(CLSID_GameStatistics, 0xdbc85a2c, 0xc0dc, 0x4961, 0xb6,0xe2, 0xd2,0x8b,0x62,0xc1,0x1a,0xd4); + +#ifdef __cplusplus +class DECLSPEC_UUID("dbc85a2c-c0dc-4961-b6e2-d28b62c11ad4") GameStatistics; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(GameStatistics, 0xdbc85a2c, 0xc0dc, 0x4961, 0xb6,0xe2, 0xd2,0x8b,0x62,0xc1,0x1a,0xd4) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __gameux_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gameux.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gameux.idl new file mode 100644 index 0000000..31be9ca --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gameux.idl @@ -0,0 +1,201 @@ + /* + * Defines the COM interfaces of Game Explorer + * + * Copyright (C) 2008 Alistair Leslie-Hughes + * Copyright (C) 2010 Mariusz Pluciński + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "shobjidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + uuid(4F48A59C-942D-4F3C-83C9-4EFFE84E4959), + version(1.0), + helpstring("gameux public 1.0 Type Library") +] +library gameuxLib +{ + importlib("stdole2.tlb"); + + cpp_quote("#define ID_GDF_XML __GDF_XML") + cpp_quote("#define ID_GDF_THUMBNAIL __GDF_THUMBNAIL") + cpp_quote("#define ID_ICON_ICO __ICON_ICO") + + cpp_quote("#if defined(__GNUC__)") + cpp_quote("#define ID_GDF_XML_STR (const WCHAR[]){'_','_','G','D','F','_','X','M','L',0}") + cpp_quote("#define ID_GDF_THUMBNAIL_STR (const WCHAR[]){'_','_','G','D','F','_','T','H','U','M','B','N','A','I','L',0}") + cpp_quote("#elif defined(_MSC_VER)") + cpp_quote("#define ID_GDF_XML_STR L\"__GDF_XML\"") + cpp_quote("#define ID_GDF_THUMBNAIL_STR L\"__GDF_THUMBNAIL\"") + cpp_quote("#endif") + + typedef enum + { + GIS_NOT_INSTALLED = 1, + GIS_CURRENT_USER = 2, + GIS_ALL_USERS = 3 + } GAME_INSTALL_SCOPE; + + typedef enum + { + GAMESTATS_OPEN_OPENORCREATE = 0, + GAMESTATS_OPEN_OPENONLY = 1 + } GAMESTATS_OPEN_TYPE; + + typedef enum + { + GAMESTATS_OPEN_CREATED = 0, + GAMESTATS_OPEN_OPENED = 1 + } GAMESTATS_OPEN_RESULT; + + [ + object, + uuid(E7B2FB72-D728-49B3-A5F2-18EBF5F1349E) + ] + interface IGameExplorer : IUnknown + { + HRESULT AddGame([in] BSTR sGDFBinaryPath, + [in] BSTR sInstallDirectory, + [in] GAME_INSTALL_SCOPE installScope, + [in, out] GUID* pguidInstanceID); + + HRESULT RemoveGame([in] GUID instanceID); + + HRESULT UpdateGame([in] GUID instanceID); + + HRESULT VerifyAccess([in] BSTR sGDFBinaryPath, + [out] BOOL* pHasAccess); + }; + + [ + object, + uuid(3887C9CA-04A0-42ae-BC4C-5FA6C7721145) + ] + interface IGameStatistics : IUnknown + { + HRESULT GetMaxCategoryLength( + [retval, out] UINT* cch); + + HRESULT GetMaxNameLength( + [retval, out] UINT* cch); + + HRESULT GetMaxValueLength( + [retval, out] UINT* cch); + + HRESULT GetMaxCategories( + [retval, out] WORD* pMax); + + HRESULT GetMaxStatsPerCategory( + [retval, out] WORD* pMax); + + HRESULT SetCategoryTitle( + [in] WORD categoryIndex, + [string, in] LPCWSTR title); + + HRESULT GetCategoryTitle( + [in] WORD categoryIndex, + [retval, string, out] LPWSTR* pTitle); + + HRESULT GetStatistic( + [in] WORD categoryIndex, + [in] WORD statIndex, + [string, unique, out, in] LPWSTR* pName, + [string, unique, out, in] LPWSTR* pValue); + + HRESULT SetStatistic( + [in] WORD categoryIndex, + [in] WORD statIndex, + [string, in] LPCWSTR name, + [string, in] LPCWSTR value); + + HRESULT Save( + [in] BOOL trackChanges); + + HRESULT SetLastPlayedCategory( + [in] UINT categoryIndex); + + HRESULT GetLastPlayedCategory( + [retval, out] UINT* pCategoryIndex); + }; + + [ + object, + uuid(AFF3EA11-E70E-407d-95DD-35E612C41CE2) + ] + interface IGameStatisticsMgr : IUnknown + { + HRESULT GetGameStatistics( + [string, in] LPCWSTR GDFBinaryPath, + [in] GAMESTATS_OPEN_TYPE openType, + [out] GAMESTATS_OPEN_RESULT* pOpenResult, + [retval, out] IGameStatistics** ppiStats); + + HRESULT RemoveGameStatistics( + [string, in] LPCWSTR GDFBinaryPath); + }; + + [ + object, + uuid(86874AA7-A1ED-450d-A7EB-B89E20B2FFF3) + ] + interface IGameExplorer2 : IUnknown + { + HRESULT InstallGame( + [string, in] LPCWSTR binaryGDFPath, + [unique, in] LPCWSTR installDirectory, + [in] GAME_INSTALL_SCOPE installScope); + + HRESULT UninstallGame( + [string, in] LPCWSTR binaryGDFPath); + + HRESULT CheckAccess( + [string, in] LPCWSTR binaryGDFPath, + [retval, out] BOOL* pHasAccess); + + } + + [ + helpstring("GameExplorer Class"), + threading(both), + progid("gameux.GameExplorer.1"), + vi_progid("gameux.GameExplorer"), + uuid(9A5EA990-3034-4D6F-9128-01F3C61022BC) + ] + coclass GameExplorer + { + [default] interface IGameExplorer; + }; + + [ + helpstring("GameStatistics Class"), + threading(apartment), + progid("gameux.GameStatistics.1"), + vi_progid("gameux.GameStatistics"), + uuid(DBC85A2C-C0DC-4961-B6E2-D28B62C11AD4) + ] + coclass GameStatistics + { + [default] interface IGameStatistics; + }; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplus.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplus.h new file mode 100644 index 0000000..e85343b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplus.h @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUS_H +#define _GDIPLUS_H + +#ifdef __cplusplus + +namespace Gdiplus +{ + namespace DllExports + { +#include "gdiplusmem.h" + }; + +#include "gdiplusenums.h" +#include "gdiplustypes.h" +#include "gdiplusinit.h" +#include "gdipluspixelformats.h" +#include "gdiplusmetaheader.h" +#include "gdiplusimaging.h" +#include "gdipluscolor.h" +#include "gdipluscolormatrix.h" +#include "gdiplusgpstubs.h" +#include "gdipluseffects.h" + + namespace DllExports + { +#include "gdiplusflat.h" + }; +}; + +#else /* end c++ includes */ + +#include "gdiplusmem.h" + +#include "gdiplusenums.h" +#include "gdiplustypes.h" +#include "gdiplusinit.h" +#include "gdipluspixelformats.h" +#include "gdiplusmetaheader.h" +#include "gdiplusimaging.h" +#include "gdipluscolor.h" +#include "gdipluscolormatrix.h" +#include "gdiplusgpstubs.h" +#include "gdipluseffects.h" + +#include "gdiplusflat.h" + +#endif /* end c includes */ + +#endif /* _GDIPLUS_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluscolor.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluscolor.h new file mode 100644 index 0000000..39b7cb6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluscolor.h @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2808 Google (Lei Zhang) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSCOLOR_H +#define _GDIPLUSCOLOR_H + +enum ColorChannelFlags +{ + ColorChannelFlagsC, + ColorChannelFlagsM, + ColorChannelFlagsY, + ColorChannelFlagsK, + ColorChannelFlagsLast +}; + +#ifdef __cplusplus + +/* FIXME: missing the methods. */ +class Color +{ +protected: + ARGB Argb; +}; + +#else /* end of c++ typedefs */ + +typedef struct Color +{ + ARGB Argb; +} Color; + +typedef enum ColorChannelFlags ColorChannelFlags; + +#endif /* end of c typedefs */ + +#endif /* _GDIPLUSCOLOR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluscolormatrix.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluscolormatrix.h new file mode 100644 index 0000000..44016ff --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluscolormatrix.h @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSCOLORMATRIX_H +#define _GDIPLUSCOLORMATRIX_H + +struct ColorMatrix +{ + REAL m[5][5]; +}; + +enum ColorMatrixFlags +{ + ColorMatrixFlagsDefault = 0, + ColorMatrixFlagsSkipGrays = 1, + ColorMatrixFlagsAltGray = 2 +}; + +enum ColorAdjustType +{ + ColorAdjustTypeDefault, + ColorAdjustTypeBitmap, + ColorAdjustTypeBrush, + ColorAdjustTypePen, + ColorAdjustTypeText, + ColorAdjustTypeCount, + ColorAdjustTypeAny +}; + +struct ColorMap +{ + Color oldColor; + Color newColor; +}; + +enum HistogramFormat +{ + HistogramFormatARGB, + HistogramFormatPARGB, + HistogramFormatRGB, + HistogramFormatGray, + HistogramFormatB, + HistogramFormatG, + HistogramFormatR, + HistogramFormatA, +}; + +#ifndef __cplusplus + +typedef enum ColorAdjustType ColorAdjustType; +typedef enum ColorMatrixFlags ColorMatrixFlags; +typedef enum HistogramFormat HistogramFormat; +typedef struct ColorMatrix ColorMatrix; +typedef struct ColorMap ColorMap; + +#endif /* end of c typedefs */ + +#endif /* _GDIPLUSCOLORMATRIX_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluseffects.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluseffects.h new file mode 100644 index 0000000..d2d6a05 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluseffects.h @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2015 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSEFFECTS_H +#define _GDIPLUSEFFECTS_H + +DEFINE_GUID(BlurEffectGuid, 0x633c80a4, 0x1843, 0x482b, 0x9e, 0xf2, 0xbe, 0x28, 0x34, 0xc5, 0xfd, 0xd4); +DEFINE_GUID(SharpenEffectGuid, 0x63cbf3ee, 0xc526, 0x402c, 0x8f, 0x71, 0x62, 0xc5, 0x40, 0xbf, 0x51, 0x42); +DEFINE_GUID(ColorMatrixEffectGuid, 0x718f2615, 0x7933, 0x40e3, 0xa5, 0x11, 0x5f, 0x68, 0xfe, 0x14, 0xdd, 0x74); +DEFINE_GUID(ColorLUTEffectGuid, 0xa7ce72a9, 0x0f7f, 0x40d7, 0xb3, 0xcc, 0xd0, 0xc0, 0x2d, 0x5c, 0x32, 0x12); +DEFINE_GUID(BrightnessContrastEffectGuid, 0xd3a1dbe1, 0x8ec4, 0x4c17, 0x9f, 0x4c, 0xea, 0x97, 0xad, 0x1c, 0x34, 0x3d); +DEFINE_GUID(HueSaturationLightnessEffectGuid, 0x8b2dd6c3, 0xeb07, 0x4d87, 0xa5, 0xf0, 0x71, 0x08, 0xe2, 0x6a, 0x9c, 0x5f); +DEFINE_GUID(LevelsEffectGuid, 0x99c354ec, 0x2a31, 0x4f3a, 0x8c, 0x34, 0x17, 0xa8, 0x03, 0xb3, 0x3a, 0x25); +DEFINE_GUID(TintEffectGuid, 0x1077af00, 0x2848, 0x4441, 0x94, 0x89, 0x44, 0xad, 0x4c, 0x2d, 0x7a, 0x2c); +DEFINE_GUID(ColorBalanceEffectGuid, 0x537e597d, 0x251e, 0x48da, 0x96, 0x64, 0x29, 0xca, 0x49, 0x6b, 0x70, 0xf8); +DEFINE_GUID(RedEyeCorrectionEffectGuid, 0x74d29d05, 0x69a4, 0x4266, 0x95, 0x49, 0x3c, 0xc5, 0x28, 0x36, 0xb6, 0x32); +DEFINE_GUID(ColorCurveEffectGuid, 0xdd6a0022, 0x58e4, 0x4a67, 0x9d, 0x9b, 0xd4, 0x8e, 0xb8, 0x81, 0xa5, 0x3d); + +#ifdef __cplusplus +extern "C" { +#endif + +GpStatus WINGDIPAPI GdipCreateEffect(const GUID guid, CGpEffect **effect); +GpStatus WINGDIPAPI GdipDeleteEffect(CGpEffect *effect); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusenums.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusenums.h new file mode 100644 index 0000000..905a87a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusenums.h @@ -0,0 +1,764 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSENUMS_H +#define _GDIPLUSENUMS_H + +typedef UINT GraphicsState; +typedef UINT GraphicsContainer; + +enum Unit +{ + UnitWorld = 0, + UnitDisplay = 1, + UnitPixel = 2, + UnitPoint = 3, + UnitInch = 4, + UnitDocument = 5, + UnitMillimeter = 6 +}; + +enum BrushType +{ + BrushTypeSolidColor = 0, + BrushTypeHatchFill = 1, + BrushTypeTextureFill = 2, + BrushTypePathGradient = 3, + BrushTypeLinearGradient = 4 +}; + +enum DriverStringOptions +{ + DriverStringOptionsCmapLookup = 1, + DriverStringOptionsVertical = 2, + DriverStringOptionsRealizedAdvance = 4, + DriverStringOptionsLimitSubpixel = 8 +}; + +enum FillMode +{ + FillModeAlternate = 0, + FillModeWinding = 1 +}; + +enum LineCap +{ + LineCapFlat = 0x00, + LineCapSquare = 0x01, + LineCapRound = 0x02, + LineCapTriangle = 0x03, + + LineCapNoAnchor = 0x10, + LineCapSquareAnchor = 0x11, + LineCapRoundAnchor = 0x12, + LineCapDiamondAnchor = 0x13, + LineCapArrowAnchor = 0x14, + + LineCapCustom = 0xff, + LineCapAnchorMask = 0xf0 +}; + +enum CustomLineCapType +{ + CustomLineCapTypeDefault = 0, + CustomLineCapTypeAdjustableArrow = 1 +}; + +enum PathPointType{ + PathPointTypeStart = 0, /* start of a figure */ + PathPointTypeLine = 1, + PathPointTypeBezier = 3, + PathPointTypePathTypeMask = 7, + PathPointTypePathDashMode = 16, /* not used */ + PathPointTypePathMarker = 32, + PathPointTypeCloseSubpath = 128, /* end of a closed figure */ + PathPointTypeBezier3 = 3 +}; + +enum PenType +{ + PenTypeSolidColor = BrushTypeSolidColor, + PenTypeHatchFill = BrushTypeHatchFill, + PenTypeTextureFill = BrushTypeTextureFill, + PenTypePathGradient = BrushTypePathGradient, + PenTypeLinearGradient = BrushTypeLinearGradient, + PenTypeUnknown = -1 +}; + +enum LineJoin +{ + LineJoinMiter = 0, + LineJoinBevel = 1, + LineJoinRound = 2, + LineJoinMiterClipped = 3 +}; + +enum QualityMode +{ + QualityModeInvalid = -1, + QualityModeDefault = 0, + QualityModeLow = 1, + QualityModeHigh = 2 +}; + +enum SmoothingMode +{ + SmoothingModeInvalid = QualityModeInvalid, + SmoothingModeDefault = QualityModeDefault, + SmoothingModeHighSpeed = QualityModeLow, + SmoothingModeHighQuality = QualityModeHigh, + SmoothingModeNone, + SmoothingModeAntiAlias +}; + +enum CompositingQuality +{ + CompositingQualityInvalid = QualityModeInvalid, + CompositingQualityDefault = QualityModeDefault, + CompositingQualityHighSpeed = QualityModeLow, + CompositingQualityHighQuality = QualityModeHigh, + CompositingQualityGammaCorrected, + CompositingQualityAssumeLinear +}; + +enum InterpolationMode +{ + InterpolationModeInvalid = QualityModeInvalid, + InterpolationModeDefault = QualityModeDefault, + InterpolationModeLowQuality = QualityModeLow, + InterpolationModeHighQuality = QualityModeHigh, + InterpolationModeBilinear, + InterpolationModeBicubic, + InterpolationModeNearestNeighbor, + InterpolationModeHighQualityBilinear, + InterpolationModeHighQualityBicubic +}; + +enum PenAlignment +{ + PenAlignmentCenter = 0, + PenAlignmentInset = 1 +}; + +enum PixelOffsetMode +{ + PixelOffsetModeInvalid = QualityModeInvalid, + PixelOffsetModeDefault = QualityModeDefault, + PixelOffsetModeHighSpeed = QualityModeLow, + PixelOffsetModeHighQuality = QualityModeHigh, + PixelOffsetModeNone, + PixelOffsetModeHalf +}; + +enum DashCap +{ + DashCapFlat = 0, + DashCapRound = 2, + DashCapTriangle = 3 +}; + +enum DashStyle +{ + DashStyleSolid, + DashStyleDash, + DashStyleDot, + DashStyleDashDot, + DashStyleDashDotDot, + DashStyleCustom +}; + +enum MatrixOrder +{ + MatrixOrderPrepend = 0, + MatrixOrderAppend = 1 +}; + +enum ImageType +{ + ImageTypeUnknown, + ImageTypeBitmap, + ImageTypeMetafile +}; + +enum WarpMode { + WarpModePerspective, + WarpModeBilinear +}; + +enum WrapMode +{ + WrapModeTile, + WrapModeTileFlipX, + WrapModeTileFlipY, + WrapModeTileFlipXY, + WrapModeClamp +}; + +enum MetafileType +{ + MetafileTypeInvalid, + MetafileTypeWmf, + MetafileTypeWmfPlaceable, + MetafileTypeEmf, + MetafileTypeEmfPlusOnly, + MetafileTypeEmfPlusDual +}; + +enum LinearGradientMode +{ + LinearGradientModeHorizontal, + LinearGradientModeVertical, + LinearGradientModeForwardDiagonal, + LinearGradientModeBackwardDiagonal +}; + +enum EmfType +{ + EmfTypeEmfOnly = MetafileTypeEmf, + EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly, + EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual +}; + +enum CompositingMode +{ + CompositingModeSourceOver, + CompositingModeSourceCopy +}; + +enum TextRenderingHint +{ + TextRenderingHintSystemDefault = 0, + TextRenderingHintSingleBitPerPixelGridFit, + TextRenderingHintSingleBitPerPixel, + TextRenderingHintAntiAliasGridFit, + TextRenderingHintAntiAlias, + TextRenderingHintClearTypeGridFit +}; + +enum StringAlignment +{ + StringAlignmentNear = 0, + StringAlignmentCenter = 1, + StringAlignmentFar = 2 +}; + +enum StringDigitSubstitute +{ + StringDigitSubstituteUser = 0, + StringDigitSubstituteNone = 1, + StringDigitSubstituteNational = 2, + StringDigitSubstituteTraditional = 3 +}; + +enum StringFormatFlags +{ + StringFormatFlagsDirectionRightToLeft = 0x00000001, + StringFormatFlagsDirectionVertical = 0x00000002, + StringFormatFlagsNoFitBlackBox = 0x00000004, + StringFormatFlagsDisplayFormatControl = 0x00000020, + StringFormatFlagsNoFontFallback = 0x00000400, + StringFormatFlagsMeasureTrailingSpaces = 0x00000800, + StringFormatFlagsNoWrap = 0x00001000, + StringFormatFlagsLineLimit = 0x00002000, + StringFormatFlagsNoClip = 0x00004000 +}; + +enum StringTrimming +{ + StringTrimmingNone = 0, + StringTrimmingCharacter = 1, + StringTrimmingWord = 2, + StringTrimmingEllipsisCharacter = 3, + StringTrimmingEllipsisWord = 4, + StringTrimmingEllipsisPath = 5 +}; + +enum FontStyle +{ + FontStyleRegular = 0, + FontStyleBold = 1, + FontStyleItalic = 2, + FontStyleBoldItalic = 3, + FontStyleUnderline = 4, + FontStyleStrikeout = 8 +}; + +enum HotkeyPrefix +{ + HotkeyPrefixNone = 0, + HotkeyPrefixShow = 1, + HotkeyPrefixHide = 2 +}; + +enum ImageCodecFlags +{ + ImageCodecFlagsEncoder = 1, + ImageCodecFlagsDecoder = 2, + ImageCodecFlagsSupportBitmap = 4, + ImageCodecFlagsSupportVector = 8, + ImageCodecFlagsSeekableEncode = 16, + ImageCodecFlagsBlockingDecode = 32, + ImageCodecFlagsBuiltin = 65536, + ImageCodecFlagsSystem = 131072, + ImageCodecFlagsUser = 262144 +}; + +enum ImageFlags +{ + ImageFlagsNone = 0, + ImageFlagsScalable = 0x0001, + ImageFlagsHasAlpha = 0x0002, + ImageFlagsHasTranslucent = 0x0004, + ImageFlagsPartiallyScalable = 0x0008, + ImageFlagsColorSpaceRGB = 0x0010, + ImageFlagsColorSpaceCMYK = 0x0020, + ImageFlagsColorSpaceGRAY = 0x0040, + ImageFlagsColorSpaceYCBCR = 0x0080, + ImageFlagsColorSpaceYCCK = 0x0100, + ImageFlagsHasRealDPI = 0x1000, + ImageFlagsHasRealPixelSize = 0x2000, + ImageFlagsReadOnly = 0x00010000, + ImageFlagsCaching = 0x00020000 +}; + +enum CombineMode +{ + CombineModeReplace, + CombineModeIntersect, + CombineModeUnion, + CombineModeXor, + CombineModeExclude, + CombineModeComplement +}; + +enum FlushIntention +{ + FlushIntentionFlush = 0, + FlushIntentionSync = 1 +}; + +enum CoordinateSpace +{ + CoordinateSpaceWorld, + CoordinateSpacePage, + CoordinateSpaceDevice +}; + +enum GpTestControlEnum +{ + TestControlForceBilinear = 0, + TestControlNoICM = 1, + TestControlGetBuildNumber = 2 +}; + +enum MetafileFrameUnit +{ + MetafileFrameUnitPixel = UnitPixel, + MetafileFrameUnitPoint = UnitPoint, + MetafileFrameUnitInch = UnitInch, + MetafileFrameUnitDocument = UnitDocument, + MetafileFrameUnitMillimeter = UnitMillimeter, + MetafileFrameUnitGdi +}; + +enum HatchStyle +{ + HatchStyleHorizontal = 0, + HatchStyleVertical = 1, + HatchStyleForwardDiagonal = 2, + HatchStyleBackwardDiagonal = 3, + HatchStyleCross = 4, + HatchStyleDiagonalCross = 5, + HatchStyle05Percent = 6, + HatchStyle10Percent = 7, + HatchStyle20Percent = 8, + HatchStyle25Percent = 9, + HatchStyle30Percent = 10, + HatchStyle40Percent = 11, + HatchStyle50Percent = 12, + HatchStyle60Percent = 13, + HatchStyle70Percent = 14, + HatchStyle75Percent = 15, + HatchStyle80Percent = 16, + HatchStyle90Percent = 17, + HatchStyleLightDownwardDiagonal = 18, + HatchStyleLightUpwardDiagonal = 19, + HatchStyleDarkDownwardDiagonal = 20, + HatchStyleDarkUpwardDiagonal = 21, + HatchStyleWideDownwardDiagonal = 22, + HatchStyleWideUpwardDiagonal = 23, + HatchStyleLightVertical = 24, + HatchStyleLightHorizontal = 25, + HatchStyleNarrowVertical = 26, + HatchStyleNarrowHorizontal = 27, + HatchStyleDarkVertical = 28, + HatchStyleDarkHorizontal = 29, + HatchStyleDashedDownwardDiagonal = 30, + HatchStyleDashedUpwardDiagonal = 31, + HatchStyleDashedHorizontal = 32, + HatchStyleDashedVertical = 33, + HatchStyleSmallConfetti = 34, + HatchStyleLargeConfetti = 35, + HatchStyleZigZag = 36, + HatchStyleWave = 37, + HatchStyleDiagonalBrick = 38, + HatchStyleHorizontalBrick = 39, + HatchStyleWeave = 40, + HatchStylePlaid = 41, + HatchStyleDivot = 42, + HatchStyleDottedGrid = 43, + HatchStyleDottedDiamond = 44, + HatchStyleShingle = 45, + HatchStyleTrellis = 46, + HatchStyleSphere = 47, + HatchStyleSmallGrid = 48, + HatchStyleSmallCheckerBoard = 49, + HatchStyleLargeCheckerBoard = 50, + HatchStyleOutlinedDiamond = 51, + HatchStyleSolidDiamond = 52, + HatchStyleTotal = 53, + HatchStyleLargeGrid = HatchStyleCross, + HatchStyleMin = HatchStyleHorizontal, + HatchStyleMax = HatchStyleTotal - 1 +}; + +#define GDIP_EMFPLUS_RECORD_BASE 0x00004000 +#define GDIP_WMF_RECORD_BASE 0x00010000 +#define GDIP_WMF_RECORD_TO_EMFPLUS(x) ((x)|GDIP_WMF_RECORD_BASE) + +enum EmfPlusRecordType { + WmfRecordTypeSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR), + WmfRecordTypeSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE), + WmfRecordTypeSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE), + WmfRecordTypeSetROP2 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2), + WmfRecordTypeSetRelAbs = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS), + WmfRecordTypeSetPolyFillMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE), + WmfRecordTypeSetStretchBltMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE), + WmfRecordTypeSetTextCharExtra = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA), + WmfRecordTypeSetTextColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR), + WmfRecordTypeSetTextJustification = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION), + WmfRecordTypeSetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG), + WmfRecordTypeSetWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT), + WmfRecordTypeSetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG), + WmfRecordTypeSetViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT), + WmfRecordTypeOffsetWindowOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG), + WmfRecordTypeScaleWindowExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT), + WmfRecordTypeOffsetViewportOrg = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG), + WmfRecordTypeScaleViewportExt = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT), + WmfRecordTypeLineTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO), + WmfRecordTypeMoveTo = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO), + WmfRecordTypeExcludeClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT), + WmfRecordTypeIntersectClipRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT), + WmfRecordTypeArc = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC), + WmfRecordTypeEllipse = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE), + WmfRecordTypeFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL), + WmfRecordTypePie = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE), + WmfRecordTypeRectangle = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE), + WmfRecordTypeRoundRect = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT), + WmfRecordTypePatBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT), + WmfRecordTypeSaveDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC), + WmfRecordTypeSetPixel = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL), + WmfRecordTypeOffsetClipRgn = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN), + WmfRecordTypeTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT), + WmfRecordTypeBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT), + WmfRecordTypeStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT), + WmfRecordTypePolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON), + WmfRecordTypePolyline = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE), + WmfRecordTypeEscape = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE), + WmfRecordTypeRestoreDC = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC), + WmfRecordTypeFillRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION), + WmfRecordTypeFrameRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION), + WmfRecordTypeInvertRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION), + WmfRecordTypePaintRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION), + WmfRecordTypeSelectClipRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION), + WmfRecordTypeSelectObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT), + WmfRecordTypeSetTextAlign = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN), + WmfRecordTypeDrawText = GDIP_WMF_RECORD_TO_EMFPLUS(0x062F), + WmfRecordTypeChord = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD), + WmfRecordTypeSetMapperFlags = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS), + WmfRecordTypeExtTextOut = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT), + WmfRecordTypeSetDIBToDev = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV), + WmfRecordTypeSelectPalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE), + WmfRecordTypeRealizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE), + WmfRecordTypeAnimatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE), + WmfRecordTypeSetPalEntries = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES), + WmfRecordTypePolyPolygon = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON), + WmfRecordTypeResizePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE), + WmfRecordTypeDIBBitBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT), + WmfRecordTypeDIBStretchBlt = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT), + WmfRecordTypeDIBCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH), + WmfRecordTypeStretchDIB = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB), + WmfRecordTypeExtFloodFill = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL), + WmfRecordTypeSetLayout = GDIP_WMF_RECORD_TO_EMFPLUS(0x0149), + WmfRecordTypeResetDC = GDIP_WMF_RECORD_TO_EMFPLUS(0x014C), + WmfRecordTypeStartDoc = GDIP_WMF_RECORD_TO_EMFPLUS(0x014D), + WmfRecordTypeStartPage = GDIP_WMF_RECORD_TO_EMFPLUS(0x004F), + WmfRecordTypeEndPage = GDIP_WMF_RECORD_TO_EMFPLUS(0x0050), + WmfRecordTypeAbortDoc = GDIP_WMF_RECORD_TO_EMFPLUS(0x0052), + WmfRecordTypeEndDoc = GDIP_WMF_RECORD_TO_EMFPLUS(0x005E), + WmfRecordTypeDeleteObject = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT), + WmfRecordTypeCreatePalette = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE), + WmfRecordTypeCreateBrush = GDIP_WMF_RECORD_TO_EMFPLUS(0x00F8), + WmfRecordTypeCreatePatternBrush = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH), + WmfRecordTypeCreatePenIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT), + WmfRecordTypeCreateFontIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT), + WmfRecordTypeCreateBrushIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT), + WmfRecordTypeCreateBitmapIndirect = GDIP_WMF_RECORD_TO_EMFPLUS(0x02FD), + WmfRecordTypeCreateBitmap = GDIP_WMF_RECORD_TO_EMFPLUS(0x06FE), + WmfRecordTypeCreateRegion = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION), + EmfRecordTypeHeader = EMR_HEADER, + EmfRecordTypePolyBezier = EMR_POLYBEZIER, + EmfRecordTypePolygon = EMR_POLYGON, + EmfRecordTypePolyline = EMR_POLYLINE, + EmfRecordTypePolyBezierTo = EMR_POLYBEZIERTO, + EmfRecordTypePolyLineTo = EMR_POLYLINETO, + EmfRecordTypePolyPolyline = EMR_POLYPOLYLINE, + EmfRecordTypePolyPolygon = EMR_POLYPOLYGON, + EmfRecordTypeSetWindowExtEx = EMR_SETWINDOWEXTEX, + EmfRecordTypeSetWindowOrgEx = EMR_SETWINDOWORGEX, + EmfRecordTypeSetViewportExtEx = EMR_SETVIEWPORTEXTEX, + EmfRecordTypeSetViewportOrgEx = EMR_SETVIEWPORTORGEX, + EmfRecordTypeSetBrushOrgEx = EMR_SETBRUSHORGEX, + EmfRecordTypeEOF = EMR_EOF, + EmfRecordTypeSetPixelV = EMR_SETPIXELV, + EmfRecordTypeSetMapperFlags = EMR_SETMAPPERFLAGS, + EmfRecordTypeSetMapMode = EMR_SETMAPMODE, + EmfRecordTypeSetBkMode = EMR_SETBKMODE, + EmfRecordTypeSetPolyFillMode = EMR_SETPOLYFILLMODE, + EmfRecordTypeSetROP2 = EMR_SETROP2, + EmfRecordTypeSetStretchBltMode = EMR_SETSTRETCHBLTMODE, + EmfRecordTypeSetTextAlign = EMR_SETTEXTALIGN, + EmfRecordTypeSetColorAdjustment = EMR_SETCOLORADJUSTMENT, + EmfRecordTypeSetTextColor = EMR_SETTEXTCOLOR, + EmfRecordTypeSetBkColor = EMR_SETBKCOLOR, + EmfRecordTypeOffsetClipRgn = EMR_OFFSETCLIPRGN, + EmfRecordTypeMoveToEx = EMR_MOVETOEX, + EmfRecordTypeSetMetaRgn = EMR_SETMETARGN, + EmfRecordTypeExcludeClipRect = EMR_EXCLUDECLIPRECT, + EmfRecordTypeIntersectClipRect = EMR_INTERSECTCLIPRECT, + EmfRecordTypeScaleViewportExtEx = EMR_SCALEVIEWPORTEXTEX, + EmfRecordTypeScaleWindowExtEx = EMR_SCALEWINDOWEXTEX, + EmfRecordTypeSaveDC = EMR_SAVEDC, + EmfRecordTypeRestoreDC = EMR_RESTOREDC, + EmfRecordTypeSetWorldTransform = EMR_SETWORLDTRANSFORM, + EmfRecordTypeModifyWorldTransform = EMR_MODIFYWORLDTRANSFORM, + EmfRecordTypeSelectObject = EMR_SELECTOBJECT, + EmfRecordTypeCreatePen = EMR_CREATEPEN, + EmfRecordTypeCreateBrushIndirect = EMR_CREATEBRUSHINDIRECT, + EmfRecordTypeDeleteObject = EMR_DELETEOBJECT, + EmfRecordTypeAngleArc = EMR_ANGLEARC, + EmfRecordTypeEllipse = EMR_ELLIPSE, + EmfRecordTypeRectangle = EMR_RECTANGLE, + EmfRecordTypeRoundRect = EMR_ROUNDRECT, + EmfRecordTypeArc = EMR_ARC, + EmfRecordTypeChord = EMR_CHORD, + EmfRecordTypePie = EMR_PIE, + EmfRecordTypeSelectPalette = EMR_SELECTPALETTE, + EmfRecordTypeCreatePalette = EMR_CREATEPALETTE, + EmfRecordTypeSetPaletteEntries = EMR_SETPALETTEENTRIES, + EmfRecordTypeResizePalette = EMR_RESIZEPALETTE, + EmfRecordTypeRealizePalette = EMR_REALIZEPALETTE, + EmfRecordTypeExtFloodFill = EMR_EXTFLOODFILL, + EmfRecordTypeLineTo = EMR_LINETO, + EmfRecordTypeArcTo = EMR_ARCTO, + EmfRecordTypePolyDraw = EMR_POLYDRAW, + EmfRecordTypeSetArcDirection = EMR_SETARCDIRECTION, + EmfRecordTypeSetMiterLimit = EMR_SETMITERLIMIT, + EmfRecordTypeBeginPath = EMR_BEGINPATH, + EmfRecordTypeEndPath = EMR_ENDPATH, + EmfRecordTypeCloseFigure = EMR_CLOSEFIGURE, + EmfRecordTypeFillPath = EMR_FILLPATH, + EmfRecordTypeStrokeAndFillPath = EMR_STROKEANDFILLPATH, + EmfRecordTypeStrokePath = EMR_STROKEPATH, + EmfRecordTypeFlattenPath = EMR_FLATTENPATH, + EmfRecordTypeWidenPath = EMR_WIDENPATH, + EmfRecordTypeSelectClipPath = EMR_SELECTCLIPPATH, + EmfRecordTypeAbortPath = EMR_ABORTPATH, + EmfRecordTypeReserved_069 = 69, + EmfRecordTypeGdiComment = EMR_GDICOMMENT, + EmfRecordTypeFillRgn = EMR_FILLRGN, + EmfRecordTypeFrameRgn = EMR_FRAMERGN, + EmfRecordTypeInvertRgn = EMR_INVERTRGN, + EmfRecordTypePaintRgn = EMR_PAINTRGN, + EmfRecordTypeExtSelectClipRgn = EMR_EXTSELECTCLIPRGN, + EmfRecordTypeBitBlt = EMR_BITBLT, + EmfRecordTypeStretchBlt = EMR_STRETCHBLT, + EmfRecordTypeMaskBlt = EMR_MASKBLT, + EmfRecordTypePlgBlt = EMR_PLGBLT, + EmfRecordTypeSetDIBitsToDevice = 80, + EmfRecordTypeStretchDIBits = EMR_STRETCHDIBITS, + EmfRecordTypeExtCreateFontIndirect = EMR_EXTCREATEFONTINDIRECTW, + EmfRecordTypeExtTextOutA = EMR_EXTTEXTOUTA, + EmfRecordTypeExtTextOutW = EMR_EXTTEXTOUTW, + EmfRecordTypePolyBezier16 = EMR_POLYBEZIER16, + EmfRecordTypePolygon16 = EMR_POLYGON16, + EmfRecordTypePolyline16 = EMR_POLYLINE16, + EmfRecordTypePolyBezierTo16 = EMR_POLYBEZIERTO16, + EmfRecordTypePolylineTo16 = EMR_POLYLINETO16, + EmfRecordTypePolyPolyline16 = EMR_POLYPOLYLINE16, + EmfRecordTypePolyPolygon16 = EMR_POLYPOLYGON16, + EmfRecordTypePolyDraw16 = EMR_POLYDRAW16, + EmfRecordTypeCreateMonoBrush = EMR_CREATEMONOBRUSH, + EmfRecordTypeCreateDIBPatternBrushPt = EMR_CREATEDIBPATTERNBRUSHPT, + EmfRecordTypeExtCreatePen = EMR_EXTCREATEPEN, + EmfRecordTypePolyTextOutA = EMR_POLYTEXTOUTA, + EmfRecordTypePolyTextOutW = EMR_POLYTEXTOUTW, + EmfRecordTypeSetICMMode = 98, + EmfRecordTypeCreateColorSpace = 99, + EmfRecordTypeSetColorSpace = 100, + EmfRecordTypeDeleteColorSpace = 101, + EmfRecordTypeGLSRecord = 102, + EmfRecordTypeGLSBoundedRecord = 103, + EmfRecordTypePixelFormat = 104, + EmfRecordTypeDrawEscape = 105, + EmfRecordTypeExtEscape = 106, + EmfRecordTypeStartDoc = 107, + EmfRecordTypeSmallTextOut = 108, + EmfRecordTypeForceUFIMapping = 109, + EmfRecordTypeNamedEscape = 110, + EmfRecordTypeColorCorrectPalette = 111, + EmfRecordTypeSetICMProfileA = 112, + EmfRecordTypeSetICMProfileW = 113, + EmfRecordTypeAlphaBlend = 114, + EmfRecordTypeSetLayout = 115, + EmfRecordTypeTransparentBlt = 116, + EmfRecordTypeReserved_117 = 117, + EmfRecordTypeGradientFill = 118, + EmfRecordTypeSetLinkedUFIs = 119, + EmfRecordTypeSetTextJustification = 120, + EmfRecordTypeColorMatchToTargetW = 121, + EmfRecordTypeCreateColorSpaceW = 122, + EmfRecordTypeMax = 122, + EmfRecordTypeMin = 1, + EmfPlusRecordTypeInvalid = GDIP_EMFPLUS_RECORD_BASE, + EmfPlusRecordTypeHeader, + EmfPlusRecordTypeEndOfFile, + EmfPlusRecordTypeComment, + EmfPlusRecordTypeGetDC, + EmfPlusRecordTypeMultiFormatStart, + EmfPlusRecordTypeMultiFormatSection, + EmfPlusRecordTypeMultiFormatEnd, + EmfPlusRecordTypeObject, + EmfPlusRecordTypeClear, + EmfPlusRecordTypeFillRects, + EmfPlusRecordTypeDrawRects, + EmfPlusRecordTypeFillPolygon, + EmfPlusRecordTypeDrawLines, + EmfPlusRecordTypeFillEllipse, + EmfPlusRecordTypeDrawEllipse, + EmfPlusRecordTypeFillPie, + EmfPlusRecordTypeDrawPie, + EmfPlusRecordTypeDrawArc, + EmfPlusRecordTypeFillRegion, + EmfPlusRecordTypeFillPath, + EmfPlusRecordTypeDrawPath, + EmfPlusRecordTypeFillClosedCurve, + EmfPlusRecordTypeDrawClosedCurve, + EmfPlusRecordTypeDrawCurve, + EmfPlusRecordTypeDrawBeziers, + EmfPlusRecordTypeDrawImage, + EmfPlusRecordTypeDrawImagePoints, + EmfPlusRecordTypeDrawString, + EmfPlusRecordTypeSetRenderingOrigin, + EmfPlusRecordTypeSetAntiAliasMode, + EmfPlusRecordTypeSetTextRenderingHint, + EmfPlusRecordTypeSetTextContrast, + EmfPlusRecordTypeSetInterpolationMode, + EmfPlusRecordTypeSetPixelOffsetMode, + EmfPlusRecordTypeSetCompositingMode, + EmfPlusRecordTypeSetCompositingQuality, + EmfPlusRecordTypeSave, + EmfPlusRecordTypeRestore, + EmfPlusRecordTypeBeginContainer, + EmfPlusRecordTypeBeginContainerNoParams, + EmfPlusRecordTypeEndContainer, + EmfPlusRecordTypeSetWorldTransform, + EmfPlusRecordTypeResetWorldTransform, + EmfPlusRecordTypeMultiplyWorldTransform, + EmfPlusRecordTypeTranslateWorldTransform, + EmfPlusRecordTypeScaleWorldTransform, + EmfPlusRecordTypeRotateWorldTransform, + EmfPlusRecordTypeSetPageTransform, + EmfPlusRecordTypeResetClip, + EmfPlusRecordTypeSetClipRect, + EmfPlusRecordTypeSetClipPath, + EmfPlusRecordTypeSetClipRegion, + EmfPlusRecordTypeOffsetClip, + EmfPlusRecordTypeDrawDriverString, + EmfPlusRecordTypeStrokeFillPath, + EmfPlusRecordTypeSerializableObject, + EmfPlusRecordTypeSetTSGraphics, + EmfPlusRecordTypeSetTSClip, + EmfPlusRecordTotal, + EmfPlusRecordTypeMax = EmfPlusRecordTotal-1, + EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader +}; + +#define FlatnessDefault 0.25f + +#ifndef __cplusplus + +typedef enum Unit Unit; +typedef enum BrushType BrushType; +typedef enum DriverStringOptions DriverStringOptions; +typedef enum FillMode FillMode; +typedef enum LineCap LineCap; +typedef enum CustomLineCapType CustomLineCapType; +typedef enum PathPointType PathPointType; +typedef enum LineJoin LineJoin; +typedef enum QualityMode QualityMode; +typedef enum SmoothingMode SmoothingMode; +typedef enum CompositingQuality CompositingQuality; +typedef enum InterpolationMode InterpolationMode; +typedef enum PixelOffsetMode PixelOffsetMode; +typedef enum DashCap DashCap; +typedef enum DashStyle DashStyle; +typedef enum MatrixOrder MatrixOrder; +typedef enum ImageType ImageType; +typedef enum ImageFlags ImageFlags; +typedef enum WarpMode WarpMode; +typedef enum WrapMode WrapMode; +typedef enum MetafileType MetafileType; +typedef enum LinearGradientMode LinearGradientMode; +typedef enum EmfType EmfType; +typedef enum CompositingMode CompositingMode; +typedef enum TextRenderingHint TextRenderingHint; +typedef enum StringAlignment StringAlignment; +typedef enum StringDigitSubstitute StringDigitSubstitute; +typedef enum StringTrimming StringTrimming; +typedef enum FontStyle FontStyle; +typedef enum StringFormatFlags StringFormatFlags; +typedef enum HotkeyPrefix HotkeyPrefix; +typedef enum PenAlignment PenAlignment; +typedef enum PaletteFlags PaletteFlags; +typedef enum ImageCodecFlags ImageCodecFlags; +typedef enum CombineMode CombineMode; +typedef enum FlushIntention FlushIntention; +typedef enum CoordinateSpace CoordinateSpace; +typedef enum GpTestControlEnum GpTestControlEnum; +typedef enum MetafileFrameUnit MetafileFrameUnit; +typedef enum PenType PenType; +typedef enum HatchStyle HatchStyle; +typedef enum EmfPlusRecordType EmfPlusRecordType; + +#endif /* end of c typedefs */ + +#undef GDIP_WMF_RECORD_TO_EMFPLUS +#define GDIP_WMF_RECORD_TO_EMFPLUS(x) ((EmfPlusRecordType)((x)|GDIP_WMF_RECORD_BASE)) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusflat.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusflat.h new file mode 100644 index 0000000..8bfe8b8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusflat.h @@ -0,0 +1,755 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _FLATAPI_H +#define _FLATAPI_H + +#define WINGDIPAPI __stdcall + +#define GDIPCONST const + +#ifdef __cplusplus +extern "C" { +#endif + +/* AdjustableArrowCap */ +GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap(REAL,REAL,BOOL,GpAdjustableArrowCap**); +GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL*); +GpStatus WINGDIPAPI GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap*,REAL*); +GpStatus WINGDIPAPI GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,REAL*); +GpStatus WINGDIPAPI GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL*); +GpStatus WINGDIPAPI GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL); +GpStatus WINGDIPAPI GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap*,REAL); +GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,REAL); +GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL); + +/* Bitmap */ +GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*); +GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect(GpBitmap**,INT,CGpEffect*,RECT*,RECT*,GpBitmap**,BOOL,VOID**,INT*); +GpStatus WINGDIPAPI GdipBitmapGetHistogram(GpBitmap*,HistogramFormat,UINT,UINT*,UINT*,UINT*,UINT*); +GpStatus WINGDIPAPI GdipBitmapGetHistogramSize(HistogramFormat,UINT*); +GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*); +GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT, + PixelFormat,BitmapData*); +GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB); +GpStatus WINGDIPAPI GdipBitmapSetResolution(GpBitmap*,REAL,REAL); +GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*); +GpStatus WINGDIPAPI GdipCloneBitmapArea(REAL,REAL,REAL,REAL,PixelFormat,GpBitmap*,GpBitmap**); +GpStatus WINGDIPAPI GdipCloneBitmapAreaI(INT,INT,INT,INT,PixelFormat,GpBitmap*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO*,VOID*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromHICON(HICON, GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromResource(HINSTANCE,GDIPCONST WCHAR*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*, + GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**); +GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap(GpBitmap*,HBITMAP*,ARGB); +GpStatus WINGDIPAPI GdipCreateHICONFromBitmap(GpBitmap*,HICON*); +GpStatus WINGDIPAPI GdipDeleteEffect(CGpEffect*); +GpStatus WINGDIPAPI GdipSetEffectParameters(CGpEffect*,const VOID*,const UINT); + +/* Brush */ +GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**); +GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*); +GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*); + +/* CachedBitmap */ +GpStatus WINGDIPAPI GdipCreateCachedBitmap(GpBitmap*,GpGraphics*, + GpCachedBitmap**); +GpStatus WINGDIPAPI GdipDeleteCachedBitmap(GpCachedBitmap*); +GpStatus WINGDIPAPI GdipDrawCachedBitmap(GpGraphics*,GpCachedBitmap*,INT,INT); + +/* CustomLineCap */ +GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**); +GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL, + GpCustomLineCap**); +GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*); +GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*); +GpStatus WINGDIPAPI GdipSetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap); +GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap*,REAL*); +GpStatus WINGDIPAPI GdipSetCustomLineCapBaseInset(GpCustomLineCap*,REAL); +GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap, + GpLineCap); +GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin*); +GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin); +GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale(GpCustomLineCap*,REAL*); +GpStatus WINGDIPAPI GdipSetCustomLineCapWidthScale(GpCustomLineCap*,REAL); +GpStatus WINGDIPAPI GdipSetCustomLineCapBaseInset(GpCustomLineCap*,REAL); +GpStatus WINGDIPAPI GdipGetCustomLineCapType(GpCustomLineCap*,CustomLineCapType*); + +/* Font */ +GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**); +GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily*, REAL, INT, Unit, + GpFont**); +GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**); +GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**); +GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**); +GpStatus WINGDIPAPI GdipDeleteFont(GpFont*); +GpStatus WINGDIPAPI GdipGetLogFontA(GpFont*,GpGraphics*,LOGFONTA*); +GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*); +GpStatus WINGDIPAPI GdipGetFamily(GpFont*, GpFontFamily**); +GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*); +GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*); +GpStatus WINGDIPAPI GdipGetFontStyle(GpFont*, INT*); +GpStatus WINGDIPAPI GdipGetFontHeight(GDIPCONST GpFont*, GDIPCONST GpGraphics*, + REAL*); +GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*); + +/* FontCollection */ +GpStatus WINGDIPAPI GdipNewInstalledFontCollection(GpFontCollection**); +GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**); +GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection**); +GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection*, GDIPCONST WCHAR*); +GpStatus WINGDIPAPI GdipPrivateAddMemoryFont(GpFontCollection*, + GDIPCONST void*,INT); +GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection*, INT*); +GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(GpFontCollection*, INT, + GpFontFamily*[], INT*); + +/* FontFamily */ +GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**); +GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*, + GpFontCollection*, GpFontFamily**); +GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*); +GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID); +GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*); +GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*); +GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*); +GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**); +GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**); +GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**); +GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*); +GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*); + +/* Graphics */ +GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention); +GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics*,GDIPCONST GpRectF*,GDIPCONST GpRectF*,GpUnit,GraphicsContainer*); +GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics*,GraphicsContainer*); +GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics*,GDIPCONST GpRect*,GDIPCONST GpRect*,GpUnit,GraphicsContainer*); +GpStatus WINGDIPAPI GdipEndContainer(GpGraphics*,GraphicsContainer); +GpStatus WINGDIPAPI GdipComment(GpGraphics*,UINT,GDIPCONST BYTE*); +GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**); +GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**); +GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**); +GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND,GpGraphics**); +HPALETTE WINGDIPAPI GdipCreateHalftonePalette(void); +GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *); +GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL); +GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL); +GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL); +GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL); +GpStatus WINGDIPAPI GdipDrawCurve3(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,INT,INT,REAL); +GpStatus WINGDIPAPI GdipDrawCurve3I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,INT,INT,REAL); +GpStatus WINGDIPAPI GdipDrawDriverString(GpGraphics*,GDIPCONST UINT16*,INT, + GDIPCONST GpFont*,GDIPCONST GpBrush*,GDIPCONST PointF*,INT,GDIPCONST GpMatrix*); +GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics*,GpPen*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT); +GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL,REAL,REAL,GpUnit); +GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics*,GpImage*,INT,INT,INT,INT,INT,INT,GpUnit); +GpStatus WINGDIPAPI GdipDrawImagePoints(GpGraphics*,GpImage*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipDrawImagePointsI(GpGraphics*,GpImage*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*, + GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit, + GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*); +GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*, + GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit, + GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*); +GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics*,GpImage*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL, + REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort, + VOID*); +GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT, + INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort, + VOID*); +GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*); +GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics*,GpPen*,GDIPCONST GpPointF*, INT); +GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics*,GpPen*,GDIPCONST GpPoint*, INT); +GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT); +GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT); +GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT, + GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*, + GDIPCONST GpBrush*); +GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoint(GpGraphics*,GDIPCONST GpMetafile*, + GDIPCONST GpPointF*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*); +GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointI(GpGraphics*,GDIPCONST GpMetafile*, + GDIPCONST GpPoint*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*); +GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect(GpGraphics*,GDIPCONST GpMetafile*, + GDIPCONST GpRectF*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*); +GpStatus WINGDIPAPI GdipEnumerateMetafileDestRectI(GpGraphics*,GDIPCONST GpMetafile*, + GDIPCONST GpRect*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*); +GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoints(GpGraphics*, + GDIPCONST GpMetafile*,GDIPCONST GpPointF*,INT,GDIPCONST GpRectF*,Unit, + EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*); +GpStatus WINGDIPAPI GdipFillClosedCurve2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT, + REAL,GpFillMode); +GpStatus WINGDIPAPI GdipFillClosedCurve2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT, + REAL,GpFillMode); +GpStatus WINGDIPAPI GdipFillClosedCurve(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipFillClosedCurveI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics*,GpBrush*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*); +GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL); +GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*, + INT,GpFillMode); +GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*, + INT,GpFillMode); +GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics*,GpBrush*,GDIPCONST GpRectF*,INT); +GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics*,GpBrush*,GDIPCONST GpRect*,INT); +GpStatus WINGDIPAPI GdipFillRegion(GpGraphics*,GpBrush*,GpRegion*); +GpStatus WINGDIPAPI GdipGetClip(GpGraphics*,GpRegion*); +GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics*,GpRectF*); +GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics*,GpRect*); +GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*); +GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*); +GpStatus WINGDIPAPI GdipGetDC(GpGraphics*,HDC*); +GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*); +GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*); +GpStatus WINGDIPAPI GdipGetImageDecoders(UINT,UINT,ImageCodecInfo*); +GpStatus WINGDIPAPI GdipGetImageDecodersSize(UINT*,UINT*); +GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**); +GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*); +GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics*,ARGB*); +GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*); +GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*); +GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*); +GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*); +GpStatus WINGDIPAPI GdipGetTextContrast(GpGraphics*,UINT*); +GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*); +GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*); +GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics*,ARGB); +GpStatus WINGDIPAPI GdipGraphicsSetAbort(GpGraphics*,GdiplusAbort*); +GpStatus WINGDIPAPI GdipGetVisibleClipBounds(GpGraphics*,GpRectF*); +GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI(GpGraphics*,GpRect*); +GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics*, BOOL*); +GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics*,REAL,REAL,BOOL*); +GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics*,INT,INT,BOOL*); +GpStatus WINGDIPAPI GdipIsVisibleRect(GpGraphics*,REAL,REAL,REAL,REAL,BOOL*); +GpStatus WINGDIPAPI GdipIsVisibleRectI(GpGraphics*,INT,INT,INT,INT,BOOL*); +GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics*, GDIPCONST WCHAR*, + INT, GDIPCONST GpFont*, GDIPCONST RectF*, GDIPCONST GpStringFormat*, INT, + GpRegion**); +GpStatus WINGDIPAPI GdipMeasureDriverString(GpGraphics*,GDIPCONST UINT16*,INT, + GDIPCONST GpFont*,GDIPCONST PointF*,INT,GDIPCONST GpMatrix*,RectF*); +GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT, + GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*); +GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder); +GpStatus WINGDIPAPI GdipRecordMetafileFileName(GDIPCONST WCHAR*,HDC,EmfType, + GDIPCONST GpRectF*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipRecordMetafileFileNameI(GDIPCONST WCHAR*,HDC,EmfType, + GDIPCONST GpRect*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipRecordMetafileI(HDC,EmfType,GDIPCONST GpRect*, + MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics*,HDC); +GpStatus WINGDIPAPI GdipResetClip(GpGraphics*); +GpStatus WINGDIPAPI GdipResetWorldTransform(GpGraphics*); +GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState); +GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*); +GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipSetClipHrgn(GpGraphics*,HRGN,CombineMode); +GpStatus WINGDIPAPI GdipSetClipGraphics(GpGraphics*,GpGraphics*,CombineMode); +GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics*,GpPath*,CombineMode); +GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics*,REAL,REAL,REAL,REAL,CombineMode); +GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics*,INT,INT,INT,INT,CombineMode); +GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics*,GpRegion*,CombineMode); +GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode); +GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality); +GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode); +GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL); +GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit); +GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode); +GpStatus WINGDIPAPI GdipSetRenderingOrigin(GpGraphics*,INT,INT); +GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode); +GpStatus WINGDIPAPI GdipSetTextContrast(GpGraphics*,UINT); +GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint); +GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*); +GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace, + GpPointF *, INT); +GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace, + GpPoint *, INT); +GpStatus WINGDIPAPI GdipTranslateClip(GpGraphics*,REAL,REAL); +GpStatus WINGDIPAPI GdipTranslateClipI(GpGraphics*,INT,INT); +GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder); + +/* GraphicsPath */ +GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathArcI(GpPath*,INT,INT,INT,INT,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathBezier(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipAddPathClosedCurve(GpPath*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL); +GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL); +GpStatus WINGDIPAPI GdipAddPathCurve(GpPath*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL); +GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL); +GpStatus WINGDIPAPI GdipAddPathCurve3(GpPath*,GDIPCONST GpPointF*,INT,INT,INT,REAL); +GpStatus WINGDIPAPI GdipAddPathCurve3I(GpPath*,GDIPCONST GpPoint*,INT,INT,INT,REAL); +GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL); +GpStatus WINGDIPAPI GdipAddPathPie(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathPieI(GpPath*,INT,INT,INT,INT,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath*,GDIPCONST GpPointF*,INT); +GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath*,GDIPCONST GpPoint*,INT); +GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT); +GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT); +GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT); +GpStatus WINGDIPAPI GdipAddPathString(GpPath*,GDIPCONST WCHAR*,INT,GDIPCONST GpFontFamily*,INT,REAL,GDIPCONST RectF*,GDIPCONST GpStringFormat*); +GpStatus WINGDIPAPI GdipAddPathStringI(GpPath*,GDIPCONST WCHAR*,INT,GDIPCONST GpFontFamily*,INT,REAL,GDIPCONST Rect*,GDIPCONST GpStringFormat*); +GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*); +GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**); +GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*); +GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*); +GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**); +GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT, + GpFillMode,GpPath**); +GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**); +GpStatus WINGDIPAPI GdipDeletePath(GpPath*); +GpStatus WINGDIPAPI GdipFlattenPath(GpPath*,GpMatrix*,REAL); +GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*, + GpGraphics*,BOOL*); +GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*, + GpGraphics*,BOOL*); +GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath*,REAL,REAL,GpGraphics*,BOOL*); +GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath*,INT,INT,GpGraphics*,BOOL*); +GpStatus WINGDIPAPI GdipGetPathData(GpPath*,GpPathData*); +GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*); +GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath*,GpPointF*); +GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT); +GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT); +GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT); +GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*); +GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*); +GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*); +GpStatus WINGDIPAPI GdipResetPath(GpPath*); +GpStatus WINGDIPAPI GdipReversePath(GpPath*); +GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode); +GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*); +GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*); +GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*); +GpStatus WINGDIPAPI GdipWarpPath(GpPath*,GpMatrix*,GDIPCONST GpPointF*,INT,REAL, + REAL,REAL,REAL,WarpMode,REAL); +GpStatus WINGDIPAPI GdipWidenPath(GpPath*,GpPen*,GpMatrix*,REAL); + +/* HatchBrush */ +GpStatus WINGDIPAPI GdipCreateHatchBrush(GpHatchStyle,ARGB,ARGB,GpHatch**); +GpStatus WINGDIPAPI GdipGetHatchBackgroundColor(GpHatch*,ARGB*); +GpStatus WINGDIPAPI GdipGetHatchForegroundColor(GpHatch*,ARGB*); +GpStatus WINGDIPAPI GdipGetHatchStyle(GpHatch*,GpHatchStyle*); + +/* Image */ +GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**); +GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**); +GpStatus WINGDIPAPI GdipDisposeImage(GpImage*); +GpStatus WINGDIPAPI GdipEmfToWmfBits(HENHMETAFILE,UINT,LPBYTE,INT,INT); +GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*); +GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*); +GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage*,UINT,UINT,PropertyItem*); +GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*); +GpStatus WINGDIPAPI GdipGetImageDimension(GpImage*,REAL*,REAL*); +GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*); +GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*); +GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*); +GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*); +GpStatus WINGDIPAPI GdipGetImagePalette(GpImage*,ColorPalette*,INT); +GpStatus WINGDIPAPI GdipGetImagePaletteSize(GpImage*,INT*); +GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*); +GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*); +GpStatus WINGDIPAPI GdipGetImageThumbnail(GpImage*,UINT,UINT,GpImage**,GetThumbnailImageAbort,VOID*); +GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*); +GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*); +GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*); +GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage*,UINT*); +GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage*,UINT,PROPID*); +GpStatus WINGDIPAPI GdipGetPropertyItem(GpImage*,PROPID,UINT,PropertyItem*); +GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*); +GpStatus WINGDIPAPI GdipGetPropertySize(GpImage*,UINT*,UINT*); +GpStatus WINGDIPAPI GdipImageForceValidation(GpImage*); +GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*); +GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*); +GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT); +GpStatus WINGDIPAPI GdipImageRotateFlip(GpImage*,RotateFlipType); +GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT); +GpStatus WINGDIPAPI GdipImageSetAbort(GpImage*,GdiplusAbort*); +GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**); +GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**); +GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**); +GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**); +GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID); +GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*); +GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*, + GDIPCONST CLSID*,GDIPCONST EncoderParameters*); +GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*); +GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage*,GDIPCONST PropertyItem*); + +/* ImageAttributes */ +GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**); +GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*); +GpStatus WINGDIPAPI GdipGetImageAttributesAdjustedPalette(GpImageAttributes*, + ColorPalette*,ColorAdjustType); +GpStatus WINGDIPAPI GdipSetImageAttributesCachedBackground(GpImageAttributes*, + BOOL); +GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*, + ColorAdjustType,BOOL,ARGB,ARGB); +GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*, + ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*, + ColorMatrixFlags); +GpStatus WINGDIPAPI GdipSetImageAttributesGamma(GpImageAttributes*, + ColorAdjustType,BOOL,REAL); +GpStatus WINGDIPAPI GdipSetImageAttributesNoOp(GpImageAttributes*, + ColorAdjustType,BOOL); +GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannel(GpImageAttributes*, + ColorAdjustType,BOOL,ColorChannelFlags); +GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannelColorProfile( + GpImageAttributes*,ColorAdjustType,BOOL,GDIPCONST WCHAR*); +GpStatus WINGDIPAPI GdipSetImageAttributesRemapTable(GpImageAttributes*, + ColorAdjustType,BOOL,UINT,GDIPCONST ColorMap*); +GpStatus WINGDIPAPI GdipSetImageAttributesThreshold(GpImageAttributes*, + ColorAdjustType,BOOL,REAL); +GpStatus WINGDIPAPI GdipSetImageAttributesToIdentity(GpImageAttributes*, + ColorAdjustType); +GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode, + ARGB,BOOL); +GpStatus WINGDIPAPI GdipResetImageAttributes(GpImageAttributes*, + ColorAdjustType); + +/* LinearGradientBrush */ +GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*, + ARGB,ARGB,GpWrapMode,GpLineGradient**); +GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*, + ARGB,ARGB,GpWrapMode,GpLineGradient**); +GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB, + LinearGradientMode,GpWrapMode,GpLineGradient**); +GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB, + LinearGradientMode,GpWrapMode,GpLineGradient**); +GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF*, + ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**); +GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect*, + ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**); +GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*); +GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*); +GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*); +GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*); +GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*); +GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*, + GDIPCONST REAL*,INT); +GpStatus WINGDIPAPI GdipGetLineBlend(GpLineGradient*,REAL*,REAL*,INT); +GpStatus WINGDIPAPI GdipGetLineBlendCount(GpLineGradient*,INT*); +GpStatus WINGDIPAPI GdipSetLinePresetBlend(GpLineGradient*,GDIPCONST ARGB*, + GDIPCONST REAL*,INT); +GpStatus WINGDIPAPI GdipGetLinePresetBlend(GpLineGradient*,ARGB*,REAL*,INT); +GpStatus WINGDIPAPI GdipGetLinePresetBlendCount(GpLineGradient*,INT*); +GpStatus WINGDIPAPI GdipGetLineTransform(GpLineGradient*,GpMatrix*); +GpStatus WINGDIPAPI GdipMultiplyLineTransform(GpLineGradient*,GDIPCONST GpMatrix*,GpMatrixOrder); +GpStatus WINGDIPAPI GdipResetLineTransform(GpLineGradient*); +GpStatus WINGDIPAPI GdipRotateLineTransform(GpLineGradient*,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipScaleLineTransform(GpLineGradient*,REAL,REAL, + GpMatrixOrder); +GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient*,ARGB,ARGB); +GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL); +GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL); +GpStatus WINGDIPAPI GdipSetLineTransform(GpLineGradient*,GDIPCONST GpMatrix*); +GpStatus WINGDIPAPI GdipSetLineLinearBlend(GpLineGradient*,REAL,REAL); +GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode); +GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient*,REAL,REAL, + GpMatrixOrder); + +/* Matrix */ +GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**); +GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**); +GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**); +GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**); +GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**); +GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*); +GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*); +GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix*); +GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*); +GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*); +GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*); +GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GDIPCONST GpMatrix*,GpMatrixOrder); +GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL); +GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT); +GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT); +GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT); +GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT); + +/* Metafile */ +GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*, + EmfType,const WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**); +GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL, + GDIPCONST WmfPlaceableFileHeader*,GpMetafile**); +GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR*, GDIPCONST WmfPlaceableFileHeader*, + GpMetafile**); +GpStatus WINGDIPAPI GdipCreateMetafileFromFile(GDIPCONST WCHAR*,GpMetafile**); +GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream*,GpMetafile**); +GpStatus WINGDIPAPI GdipGetHemfFromMetafile(GpMetafile*,HENHMETAFILE*); +GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile*,EmfPlusRecordType,UINT,UINT,GDIPCONST BYTE*); +GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile*,UINT); +GpStatus WINGDIPAPI GdipRecordMetafile(HDC,EmfType,GDIPCONST GpRectF*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**); + +/* MetafileHeader */ +GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*); +GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*); +GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*); +GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*); +GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*); + +/* Notification */ +GpStatus WINAPI GdiplusNotificationHook(ULONG_PTR*); +void WINAPI GdiplusNotificationUnhook(ULONG_PTR); + +/* PathGradientBrush */ +GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**); +GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**); +GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*, + GpPathGradient**); +GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient*,REAL*,REAL*,INT); +GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient*,INT*); +GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*); +GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*); +GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*); +GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*); +GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*); +GpStatus WINGDIPAPI GdipGetPathGradientPath(GpPathGradient*,GpPath*); +GpStatus WINGDIPAPI GdipGetPathGradientPresetBlend(GpPathGradient*,ARGB*,REAL*,INT); +GpStatus WINGDIPAPI GdipGetPathGradientPresetBlendCount(GpPathGradient*,INT*); +GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*); +GpStatus WINGDIPAPI GdipSetPathGradientPresetBlend(GpPathGradient*, + GDIPCONST ARGB*,GDIPCONST REAL*,INT); +GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient*,GpRectF*); +GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient*,GpRect*); +GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*, + ARGB*,INT*); +GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*); +GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient*,GDIPCONST REAL*,GDIPCONST REAL*,INT); +GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB); +GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*); +GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient*,GpPoint*); +GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL); +GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL); +GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL); +GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*, + GDIPCONST ARGB*,INT*); +GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode); +GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount(GpPathGradient*,INT*); + +/* PathIterator */ +GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*); +GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*); +GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*, + INT,INT); +GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator*,INT*); +GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator*,INT*); +GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator*,INT*,GpPointF*,BYTE*,INT); +GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator*,BOOL*); +GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator*,BOOL*); +GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator*,INT*,INT*,INT*); +GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator*,INT*,GpPath*); +GpStatus WINGDIPAPI GdipPathIterNextPathType(GpPathIterator*,INT*,BYTE*,INT*,INT*); +GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*); +GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator*,INT*,GpPath*,BOOL*); +GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*); + +/* Pen */ +GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**); +GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**); +GpStatus WINGDIPAPI GdipCreatePen2(GpBrush*,REAL,GpUnit,GpPen**); +GpStatus WINGDIPAPI GdipDeletePen(GpPen*); +GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen*,GpBrush**); +GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*); +GpStatus WINGDIPAPI GdipGetPenCompoundCount(GpPen*,INT*); +GpStatus WINGDIPAPI GdipGetPenCustomStartCap(GpPen*,GpCustomLineCap**); +GpStatus WINGDIPAPI GdipGetPenCustomEndCap(GpPen*,GpCustomLineCap**); +GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT); +GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen*,INT*); +GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*); +GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*); +GpStatus WINGDIPAPI GdipGetPenMode(GpPen*,GpPenAlignment*); +GpStatus WINGDIPAPI GdipGetPenTransform(GpPen *, GpMatrix *); +GpStatus WINGDIPAPI GdipResetPenTransform(GpPen*); +GpStatus WINGDIPAPI GdipScalePenTransform(GpPen*,REAL,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*); +GpStatus WINGDIPAPI GdipSetPenColor(GpPen*,ARGB); +GpStatus WINGDIPAPI GdipSetPenCompoundArray(GpPen*,GDIPCONST REAL*,INT); +GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*); +GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen*,GpCustomLineCap*); +GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen*,GDIPCONST REAL*,INT); +GpStatus WINGDIPAPI GdipSetPenDashCap197819(GpPen*,GpDashCap); +GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen*,REAL); +GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle); +GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap); +GpStatus WINGDIPAPI GdipGetPenFillType(GpPen*,GpPenType*); +GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap); +GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin); +GpStatus WINGDIPAPI GdipSetPenMode(GpPen*,GpPenAlignment); +GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL); +GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap); +GpStatus WINGDIPAPI GdipSetPenTransform(GpPen *, GpMatrix *); +GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL); +GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen*,GpDashCap*); +GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*); +GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*); +GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*); +GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*); +GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*); +GpStatus WINGDIPAPI GdipGetPenWidth(GpPen*,REAL*); + +/* Region */ +GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *, GpRegion **); +GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode); +GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode); +GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode); +GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode); +GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **); +GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **); +GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **); +GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **); +GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **); +GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN, GpRegion **); +GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *); +GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *); +GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *); +GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *); +GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *, UINT *); +GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *); +GpStatus WINGDIPAPI GdipGetRegionScans(GpRegion *, GpRectF *, INT *, GpMatrix *); +GpStatus WINGDIPAPI GdipGetRegionScansI(GpRegion *, GpRect *, INT *, GpMatrix *); +GpStatus WINGDIPAPI GdipGetRegionScansCount(GpRegion *, UINT *, GpMatrix *); +GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipIsVisibleRegionPoint(GpRegion *, REAL, REAL, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipIsVisibleRegionPointI(GpRegion *, INT, INT, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipIsVisibleRegionRect(GpRegion *, REAL, REAL, REAL, REAL, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipIsVisibleRegionRectI(GpRegion *, INT, INT, INT, INT, GpGraphics *, BOOL *); +GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *); +GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *); +GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *, GpMatrix *); +GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL); +GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *, INT, INT); + +/* SolidBrush */ +GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**); +GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*); +GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB); + +/* StringFormat */ +GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**); +GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**); +GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*); +GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*); +GpStatus WINGDIPAPI GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat*,LANGID*, + StringDigitSubstitute*); +GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*); +GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*); +GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*); +GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount( + GDIPCONST GpStringFormat*, INT*); +GpStatus WINGDIPAPI GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat*,INT*); +GpStatus WINGDIPAPI GdipGetStringFormatTabStops(GDIPCONST GpStringFormat*,INT,REAL*,REAL*); +GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*); +GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment); +GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat*,LANGID,StringDigitSubstitute); +GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT); +GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment); +GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges( + GpStringFormat*, INT, GDIPCONST CharacterRange*); +GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat*,REAL,INT,GDIPCONST REAL*); +GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming); +GpStatus WINGDIPAPI GdipSetStringFormatFlags(GpStringFormat*, INT); +GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **); +GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic(GpStringFormat **); + +/* Texture */ +GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**); +GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**); +GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**); +GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*, + REAL,REAL,REAL,REAL,GpTexture**); +GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*, + INT,INT,INT,INT,GpTexture**); +GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*); +GpStatus WINGDIPAPI GdipGetTextureWrapMode(GpTexture*, GpWrapMode*); +GpStatus WINGDIPAPI GdipMultiplyTextureTransform(GpTexture*, + GDIPCONST GpMatrix*,GpMatrixOrder); +GpStatus WINGDIPAPI GdipResetTextureTransform(GpTexture*); +GpStatus WINGDIPAPI GdipRotateTextureTransform(GpTexture*,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipScaleTextureTransform(GpTexture*,REAL,REAL,GpMatrixOrder); +GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*); +GpStatus WINGDIPAPI GdipSetTextureWrapMode(GpTexture*, GpWrapMode); +GpStatus WINGDIPAPI GdipTranslateTextureTransform(GpTexture*,REAL,REAL, + GpMatrixOrder); + +/* Without wrapper methods */ +GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**); +GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size); +GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders); +GpStatus WINGDIPAPI GdipTestControl(GpTestControlEnum,void*); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusgpstubs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusgpstubs.h new file mode 100644 index 0000000..67b6ac1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusgpstubs.h @@ -0,0 +1,100 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSGPSTUBS_H +#define _GDIPLUSGPSTUBS_H + +#ifdef __cplusplus + +class GpGraphics {}; +class GpPen {}; +class GpBrush {}; +class GpHatch : public GpBrush {}; +class GpSolidFill : public GpBrush {}; +class GpPath {}; +class GpMatrix {}; +class GpPathIterator {}; +class GpCustomLineCap {}; +class GpAdjustableArrowCap : public GpCustomLineCap {}; +class GpImage {}; +class GpMetafile : public GpImage {}; +class GpImageAttributes {}; +class GpCachedBitmap {}; +class GpBitmap : public GpImage {}; +class GpPathGradient : public GpBrush {}; +class GpLineGradient : public GpBrush {}; +class GpTexture : public GpBrush {}; +class GpFont {}; +class GpFontCollection {}; +class GpFontFamily {}; +class GpStringFormat {}; +class GpRegion {}; +class CGpEffect {}; + +#else /* end of c++ declarations */ + +typedef struct GpGraphics GpGraphics; +typedef struct GpPen GpPen; +typedef struct GpBrush GpBrush; +typedef struct GpHatch GpHatch; +typedef struct GpSolidFill GpSolidFill; +typedef struct GpPath GpPath; +typedef struct GpMatrix GpMatrix; +typedef struct GpPathIterator GpPathIterator; +typedef struct GpCustomLineCap GpCustomLineCap; +typedef struct GpAdjustableArrowCap GpAdjustableArrowCap; +typedef struct GpImage GpImage; +typedef struct GpMetafile GpMetafile; +typedef struct GpImageAttributes GpImageAttributes; +typedef struct GpCachedBitmap GpCachedBitmap; +typedef struct GpBitmap GpBitmap; +typedef struct GpPathGradient GpPathGradient; +typedef struct GpLineGradient GpLineGradient; +typedef struct GpTexture GpTexture; +typedef struct GpFont GpFont; +typedef struct GpFontCollection GpFontCollection; +typedef struct GpFontFamily GpFontFamily; +typedef struct GpStringFormat GpStringFormat; +typedef struct GpRegion GpRegion; +typedef struct CGpEffect CGpEffect; + +#endif /* end of c declarations */ + +typedef Status GpStatus; +typedef Unit GpUnit; +typedef BrushType GpBrushType; +typedef PointF GpPointF; +typedef FillMode GpFillMode; +typedef PathData GpPathData; +typedef LineCap GpLineCap; +typedef RectF GpRectF; +typedef Rect GpRect; +typedef LineJoin GpLineJoin; +typedef DashCap GpDashCap; +typedef DashStyle GpDashStyle; +typedef MatrixOrder GpMatrixOrder; +typedef Point GpPoint; +typedef WrapMode GpWrapMode; +typedef Color GpColor; +typedef FlushIntention GpFlushIntention; +typedef CoordinateSpace GpCoordinateSpace; +typedef PenAlignment GpPenAlignment; +typedef PenType GpPenType; +typedef HatchStyle GpHatchStyle; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusimaging.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusimaging.h new file mode 100644 index 0000000..93114d9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusimaging.h @@ -0,0 +1,453 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSIMAGING_H +#define _GDIPLUSIMAGING_H + +DEFINE_GUID(ImageFormatUndefined, 0xb96b3ca9, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatMemoryBMP, 0xb96b3caa, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatBMP, 0xb96b3cab, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatEMF, 0xb96b3cac, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatWMF, 0xb96b3cad, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatJPEG, 0xb96b3cae, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatPNG, 0xb96b3caf, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatGIF, 0xb96b3cb0, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatTIFF, 0xb96b3cb1, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatEXIF, 0xb96b3cb2, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); +DEFINE_GUID(ImageFormatIcon, 0xb96b3cb5, 0x728, 0x11d3, 0x9d, 0x7b, 0, 0, 0xf8, 0x1e, 0xf3, 0x2e); + +DEFINE_GUID(FrameDimensionTime, 0x6aedbd6d, 0x3fb5, 0x418a, 0x83, 0xa6, 0x7f, 0x45, 0x22, 0x9d, 0xc8, 0x72); +DEFINE_GUID(FrameDimensionPage, 0x7462dc86, 0x6180, 0x4c7e, 0x8e, 0x3f, 0xee, 0x73, 0x33, 0xa7, 0xa4, 0x83); +DEFINE_GUID(FrameDimensionResolution, 0x84236f7b, 0x3bd3, 0x428f, 0x8d, 0xab, 0x4e, 0xa1, 0x43, 0x9c, 0xa3, 0x15); + +enum ImageLockMode +{ + ImageLockModeRead = 1, + ImageLockModeWrite = 2, + ImageLockModeUserInputBuf = 4 +}; + +enum RotateFlipType +{ + RotateNoneFlipNone = 0, + Rotate180FlipXY = RotateNoneFlipNone, + + Rotate90FlipNone = 1, + Rotate270FlipXY = Rotate90FlipNone, + + Rotate180FlipNone = 2, + RotateNoneFlipXY = Rotate180FlipNone, + + Rotate270FlipNone = 3, + Rotate90FlipXY = Rotate270FlipNone, + + RotateNoneFlipX = 4, + Rotate180FlipY = RotateNoneFlipX, + + Rotate90FlipX = 5, + Rotate270FlipY = Rotate90FlipX, + + Rotate180FlipX = 6, + RotateNoneFlipY = Rotate180FlipX, + + Rotate270FlipX = 7, + Rotate90FlipY = Rotate270FlipX +}; + +#ifdef __cplusplus +class EncoderParameter +{ +public: + GUID Guid; + ULONG NumberOfValues; + ULONG Type; + VOID* Value; +}; + +class EncoderParameters +{ +public: + UINT Count; + EncoderParameter Parameter[1]; +}; + +class ImageCodecInfo +{ +public: + CLSID Clsid; + GUID FormatID; + const WCHAR* CodecName; + const WCHAR* DllName; + const WCHAR* FormatDescription; + const WCHAR* FilenameExtension; + const WCHAR* MimeType; + DWORD Flags; + DWORD Version; + DWORD SigCount; + DWORD SigSize; + const BYTE* SigPattern; + const BYTE* SigMask; +}; + +class BitmapData +{ +public: + UINT Width; + UINT Height; + INT Stride; + Gdiplus::PixelFormat PixelFormat; + VOID* Scan0; + UINT_PTR Reserved; +}; + +class ImageItemData +{ +public: + UINT Size; + UINT Position; + VOID* Desc; + UINT DescSize; + VOID* Data; + UINT DataSize; + UINT Cookie; +}; + +class PropertyItem +{ +public: + PROPID id; + ULONG length; + WORD type; + VOID* value; +}; + +#else /* end of c++ typedefs */ + +typedef enum ImageLockMode ImageLockMode; +typedef enum RotateFlipType RotateFlipType; + +typedef struct EncoderParameter +{ + GUID Guid; + ULONG NumberOfValues; + ULONG Type; + VOID* Value; +} EncoderParameter; + +typedef struct EncoderParameters +{ + UINT Count; + EncoderParameter Parameter[1]; +} EncoderParameters; + +typedef struct ImageCodecInfo +{ + CLSID Clsid; + GUID FormatID; + const WCHAR* CodecName; + const WCHAR* DllName; + const WCHAR* FormatDescription; + const WCHAR* FilenameExtension; + const WCHAR* MimeType; + DWORD Flags; + DWORD Version; + DWORD SigCount; + DWORD SigSize; + const BYTE* SigPattern; + const BYTE* SigMask; +} ImageCodecInfo; + +typedef struct BitmapData +{ + UINT Width; + UINT Height; + INT Stride; + PixelFormat PixelFormat; + VOID* Scan0; + UINT_PTR Reserved; /* undocumented: stores the lock mode */ +} BitmapData; + +typedef struct ImageItemData +{ + UINT Size; + UINT Position; + VOID* Desc; + UINT DescSize; + VOID* Data; + UINT DataSize; + UINT Cookie; +} ImageItemData; + +typedef struct PropertyItem +{ + PROPID id; + ULONG length; + WORD type; + VOID* value; +} PropertyItem; + +#endif /* end of c typedefs */ + +/* property types */ +#define PropertyTagTypeByte 1 +#define PropertyTagTypeASCII 2 +#define PropertyTagTypeShort 3 +#define PropertyTagTypeLong 4 +#define PropertyTagTypeRational 5 +#define PropertyTagTypeUndefined 7 +#define PropertyTagTypeSLONG 9 +#define PropertyTagTypeSRational 10 + +/* property IDs */ +#define PropertyTagExifIFD 0x8769 +#define PropertyTagGpsIFD 0x8825 + +#define PropertyTagNewSubfileType 0x00FE +#define PropertyTagSubfileType 0x00FF +#define PropertyTagImageWidth 0x0100 +#define PropertyTagImageHeight 0x0101 +#define PropertyTagBitsPerSample 0x0102 +#define PropertyTagCompression 0x0103 +#define PropertyTagPhotometricInterp 0x0106 +#define PropertyTagThreshHolding 0x0107 +#define PropertyTagCellWidth 0x0108 +#define PropertyTagCellHeight 0x0109 +#define PropertyTagFillOrder 0x010A +#define PropertyTagDocumentName 0x010D +#define PropertyTagImageDescription 0x010E +#define PropertyTagEquipMake 0x010F +#define PropertyTagEquipModel 0x0110 +#define PropertyTagStripOffsets 0x0111 +#define PropertyTagOrientation 0x0112 +#define PropertyTagSamplesPerPixel 0x0115 +#define PropertyTagRowsPerStrip 0x0116 +#define PropertyTagStripBytesCount 0x0117 +#define PropertyTagMinSampleValue 0x0118 +#define PropertyTagMaxSampleValue 0x0119 +#define PropertyTagXResolution 0x011A +#define PropertyTagYResolution 0x011B +#define PropertyTagPlanarConfig 0x011C +#define PropertyTagPageName 0x011D +#define PropertyTagXPosition 0x011E +#define PropertyTagYPosition 0x011F +#define PropertyTagFreeOffset 0x0120 +#define PropertyTagFreeByteCounts 0x0121 +#define PropertyTagGrayResponseUnit 0x0122 +#define PropertyTagGrayResponseCurve 0x0123 +#define PropertyTagT4Option 0x0124 +#define PropertyTagT6Option 0x0125 +#define PropertyTagResolutionUnit 0x0128 +#define PropertyTagPageNumber 0x0129 +#define PropertyTagTransferFuncition 0x012D +#define PropertyTagSoftwareUsed 0x0131 +#define PropertyTagDateTime 0x0132 +#define PropertyTagArtist 0x013B +#define PropertyTagHostComputer 0x013C +#define PropertyTagPredictor 0x013D +#define PropertyTagWhitePoint 0x013E +#define PropertyTagPrimaryChromaticities 0x013F +#define PropertyTagColorMap 0x0140 +#define PropertyTagHalftoneHints 0x0141 +#define PropertyTagTileWidth 0x0142 +#define PropertyTagTileLength 0x0143 +#define PropertyTagTileOffset 0x0144 +#define PropertyTagTileByteCounts 0x0145 +#define PropertyTagInkSet 0x014C +#define PropertyTagInkNames 0x014D +#define PropertyTagNumberOfInks 0x014E +#define PropertyTagDotRange 0x0150 +#define PropertyTagTargetPrinter 0x0151 +#define PropertyTagExtraSamples 0x0152 +#define PropertyTagSampleFormat 0x0153 +#define PropertyTagSMinSampleValue 0x0154 +#define PropertyTagSMaxSampleValue 0x0155 +#define PropertyTagTransferRange 0x0156 + +#define PropertyTagJPEGProc 0x0200 +#define PropertyTagJPEGInterFormat 0x0201 +#define PropertyTagJPEGInterLength 0x0202 +#define PropertyTagJPEGRestartInterval 0x0203 +#define PropertyTagJPEGLosslessPredictors 0x0205 +#define PropertyTagJPEGPointTransforms 0x0206 +#define PropertyTagJPEGQTables 0x0207 +#define PropertyTagJPEGDCTables 0x0208 +#define PropertyTagJPEGACTables 0x0209 + +#define PropertyTagYCbCrCoefficients 0x0211 +#define PropertyTagYCbCrSubsampling 0x0212 +#define PropertyTagYCbCrPositioning 0x0213 +#define PropertyTagREFBlackWhite 0x0214 + +#define PropertyTagICCProfile 0x8773 + +#define PropertyTagGamma 0x0301 +#define PropertyTagICCProfileDescriptor 0x0302 +#define PropertyTagSRGBRenderingIntent 0x0303 + +#define PropertyTagImageTitle 0x0320 +#define PropertyTagCopyright 0x8298 + +#define PropertyTagResolutionXUnit 0x5001 +#define PropertyTagResolutionYUnit 0x5002 +#define PropertyTagResolutionXLengthUnit 0x5003 +#define PropertyTagResolutionYLengthUnit 0x5004 +#define PropertyTagPrintFlags 0x5005 +#define PropertyTagPrintFlagsVersion 0x5006 +#define PropertyTagPrintFlagsCrop 0x5007 +#define PropertyTagPrintFlagsBleedWidth 0x5008 +#define PropertyTagPrintFlagsBleedWidthScale 0x5009 +#define PropertyTagHalftoneLPI 0x500A +#define PropertyTagHalftoneLPIUnit 0x500B +#define PropertyTagHalftoneDegree 0x500C +#define PropertyTagHalftoneShape 0x500D +#define PropertyTagHalftoneMisc 0x500E +#define PropertyTagHalftoneScreen 0x500F +#define PropertyTagJPEGQuality 0x5010 +#define PropertyTagGridSize 0x5011 +#define PropertyTagThumbnailFormat 0x5012 +#define PropertyTagThumbnailWidth 0x5013 +#define PropertyTagThumbnailHeight 0x5014 +#define PropertyTagThumbnailColorDepth 0x5015 +#define PropertyTagThumbnailPlanes 0x5016 +#define PropertyTagThumbnailRawBytes 0x5017 +#define PropertyTagThumbnailSize 0x5018 +#define PropertyTagThumbnailCompressedSize 0x5019 +#define PropertyTagColorTransferFunction 0x501A +#define PropertyTagThumbnailData 0x501B + +#define PropertyTagThumbnailImageWidth 0x5020 +#define PropertyTagThumbnailImageHeight 0x5021 +#define PropertyTagThumbnailBitsPerSample 0x5022 +#define PropertyTagThumbnailCompression 0x5023 +#define PropertyTagThumbnailPhotometricInterp 0x5024 +#define PropertyTagThumbnailImageDescription 0x5025 +#define PropertyTagThumbnailEquipMake 0x5026 +#define PropertyTagThumbnailEquipModel 0x5027 +#define PropertyTagThumbnailStripOffsets 0x5028 +#define PropertyTagThumbnailOrientation 0x5029 +#define PropertyTagThumbnailSamplesPerPixel 0x502A +#define PropertyTagThumbnailRowsPerStrip 0x502B +#define PropertyTagThumbnailStripBytesCount 0x502C +#define PropertyTagThumbnailResolutionX 0x502D +#define PropertyTagThumbnailResolutionY 0x502E +#define PropertyTagThumbnailPlanarConfig 0x502F +#define PropertyTagThumbnailResolutionUnit 0x5030 +#define PropertyTagThumbnailTransferFunction 0x5031 +#define PropertyTagThumbnailSoftwareUsed 0x5032 +#define PropertyTagThumbnailDateTime 0x5033 +#define PropertyTagThumbnailArtist 0x5034 +#define PropertyTagThumbnailWhitePoint 0x5035 +#define PropertyTagThumbnailPrimaryChromaticities 0x5036 +#define PropertyTagThumbnailYCbCrCoefficients 0x5037 +#define PropertyTagThumbnailYCbCrSubsampling 0x5038 +#define PropertyTagThumbnailYCbCrPositioning 0x5039 +#define PropertyTagThumbnailRefBlackWhite 0x503A +#define PropertyTagThumbnailCopyRight 0x503B + +#define PropertyTagLuminanceTable 0x5090 +#define PropertyTagChrominanceTable 0x5091 + +#define PropertyTagFrameDelay 0x5100 +#define PropertyTagLoopCount 0x5101 +#define PropertyTagGlobalPalette 0x5102 +#define PropertyTagIndexBackground 0x5103 +#define PropertyTagIndexTransparent 0x5104 + +#define PropertyTagPixelUnit 0x5110 +#define PropertyTagPixelPerUnitX 0x5111 +#define PropertyTagPixelPerUnitY 0x5112 +#define PropertyTagPaletteHistogram 0x5113 + +#define PropertyTagExifExposureTime 0x829A +#define PropertyTagExifFNumber 0x829D + +#define PropertyTagExifExposureProg 0x8822 +#define PropertyTagExifSpectralSense 0x8824 +#define PropertyTagExifISOSpeed 0x8827 +#define PropertyTagExifOECF 0x8828 + +#define PropertyTagExifVer 0x9000 +#define PropertyTagExifDTOrig 0x9003 +#define PropertyTagExifDTDigitized 0x9004 + +#define PropertyTagExifCompConfig 0x9101 +#define PropertyTagExifCompBPP 0x9102 + +#define PropertyTagExifShutterSpeed 0x9201 +#define PropertyTagExifAperture 0x9202 +#define PropertyTagExifBrightness 0x9203 +#define PropertyTagExifExposureBias 0x9204 +#define PropertyTagExifMaxAperture 0x9205 +#define PropertyTagExifSubjectDist 0x9206 +#define PropertyTagExifMeteringMode 0x9207 +#define PropertyTagExifLightSource 0x9208 +#define PropertyTagExifFlash 0x9209 +#define PropertyTagExifFocalLength 0x920A +#define PropertyTagExifMakerNote 0x927C +#define PropertyTagExifUserComment 0x9286 +#define PropertyTagExifDTSubsec 0x9290 +#define PropertyTagExifDTOrigSS 0x9291 +#define PropertyTagExifDTDigSS 0x9292 + +#define PropertyTagExifFPXVer 0xA000 +#define PropertyTagExifColorSpace 0xA001 +#define PropertyTagExifPixXDim 0xA002 +#define PropertyTagExifPixYDim 0xA003 +#define PropertyTagExifRelatedWav 0xA004 +#define PropertyTagExifInterop 0xA005 +#define PropertyTagExifFlashEnergy 0xA20B +#define PropertyTagExifSpatialFR 0xA20C +#define PropertyTagExifFocalXRes 0xA20E +#define PropertyTagExifFocalYRes 0xA20F +#define PropertyTagExifFocalResUnit 0xA210 +#define PropertyTagExifSubjectLoc 0xA214 +#define PropertyTagExifExposureIndex 0xA215 +#define PropertyTagExifSensingMethod 0xA217 +#define PropertyTagExifFileSource 0xA300 +#define PropertyTagExifSceneType 0xA301 +#define PropertyTagExifCfaPattern 0xA302 + +#define PropertyTagGpsVer 0x0000 +#define PropertyTagGpsLatitudeRef 0x0001 +#define PropertyTagGpsLatitude 0x0002 +#define PropertyTagGpsLongitudeRef 0x0003 +#define PropertyTagGpsLongitude 0x0004 +#define PropertyTagGpsAltitudeRef 0x0005 +#define PropertyTagGpsAltitude 0x0006 +#define PropertyTagGpsGpsTime 0x0007 +#define PropertyTagGpsGpsSatellites 0x0008 +#define PropertyTagGpsGpsStatus 0x0009 +#define PropertyTagGpsGpsMeasureMode 0x000A +#define PropertyTagGpsGpsDop 0x000B +#define PropertyTagGpsSpeedRef 0x000C +#define PropertyTagGpsSpeed 0x000D +#define PropertyTagGpsTrackRef 0x000E +#define PropertyTagGpsTrack 0x000F +#define PropertyTagGpsImgDirRef 0x0010 +#define PropertyTagGpsImgDir 0x0011 +#define PropertyTagGpsMapDatum 0x0012 +#define PropertyTagGpsDestLatRef 0x0013 +#define PropertyTagGpsDestLat 0x0014 +#define PropertyTagGpsDestLongRef 0x0015 +#define PropertyTagGpsDestLong 0x0016 +#define PropertyTagGpsDestBearRef 0x0017 +#define PropertyTagGpsDestBear 0x0018 +#define PropertyTagGpsDestDistRef 0x0019 +#define PropertyTagGpsDestDist 0x001A + +#endif /* _GDIPLUSIMAGING_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusinit.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusinit.h new file mode 100644 index 0000000..22155b7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusinit.h @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSINIT_H +#define _GDIPLUSINIT_H + +enum DebugEventLevel +{ + DebugEventLevelFatal, + DebugEventLevelWarning +}; + +typedef VOID (WINAPI *DebugEventProc)(enum DebugEventLevel, CHAR *); +typedef Status (WINAPI *NotificationHookProc)(ULONG_PTR *); +typedef void (WINAPI *NotificationUnhookProc)(ULONG_PTR); + +struct GdiplusStartupInput +{ + UINT32 GdiplusVersion; + DebugEventProc DebugEventCallback; + BOOL SuppressBackgroundThread; + BOOL SuppressExternalCodecs; + +#ifdef __cplusplus + GdiplusStartupInput(DebugEventProc debugEventCallback = NULL, + BOOL suppressBackgroundThread = FALSE, + BOOL suppressExternalCodecs = FALSE) + { + GdiplusVersion = 1; + DebugEventCallback = debugEventCallback; + SuppressBackgroundThread = suppressBackgroundThread; + SuppressExternalCodecs = suppressExternalCodecs; + } +#endif +}; + +struct GdiplusStartupOutput +{ + NotificationHookProc NotificationHook; + NotificationUnhookProc NotificationUnhook; +}; + +#ifdef __cplusplus +extern "C" { +#endif + +Status WINAPI GdiplusStartup(ULONG_PTR *, const struct GdiplusStartupInput *, struct GdiplusStartupOutput *); +void WINAPI GdiplusShutdown(ULONG_PTR); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusmem.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusmem.h new file mode 100644 index 0000000..fad8ed6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusmem.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSMEM_H +#define _GDIPLUSMEM_H + +#define WINGDIPAPI __stdcall + +#ifdef __cplusplus +extern "C" { +#endif + +void* WINGDIPAPI GdipAlloc(SIZE_T) __WINE_ALLOC_SIZE(1); +void WINGDIPAPI GdipFree(void*); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusmetaheader.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusmetaheader.h new file mode 100644 index 0000000..e59ab09 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplusmetaheader.h @@ -0,0 +1,167 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSMETAHEADER_H +#define _GDIPLUSMETAHEADER_H + +typedef struct +{ + DWORD iType; + DWORD nSize; + RECTL rclBounds; + RECTL rclFrame; + DWORD dSignature; + DWORD nVersion; + DWORD nBytes; + DWORD nRecords; + WORD nHandles; + WORD sReserved; + DWORD nDescription; + DWORD offDescription; + DWORD nPalEntries; + SIZEL szlDevice; + SIZEL szlMillimeters; +} ENHMETAHEADER3; + +#include + +typedef struct +{ + INT16 Left; + INT16 Top; + INT16 Right; + INT16 Bottom; +} PWMFRect16; + +typedef struct +{ + UINT32 Key; + INT16 Hmf; + PWMFRect16 BoundingBox; + INT16 Inch; + UINT32 Reserved; + INT16 Checksum; +} WmfPlaceableFileHeader; + +#include + +#define GDIP_EMFPLUSFLAGS_DISPLAY 0x00000001 + +#ifdef __cplusplus +class MetafileHeader +{ +public: + MetafileType Type; + UINT Size; + UINT Version; + UINT EmfPlusFlags; + REAL DpiX; + REAL DpiY; + INT X; + INT Y; + INT Width; + INT Height; + union + { + METAHEADER WmfHeader; + ENHMETAHEADER3 EmfHeader; + }; + INT EmfPlusHeaderSize; + INT LogicalDpiX; + INT LogicalDpiY; + +public: + MetafileType GetType() const { return Type; } + + UINT GetMetafileSize() const { return Size; } + + UINT GetVersion() const { return Version; } + + UINT GetEmfPlusFlags() const { return EmfPlusFlags; } + + REAL GetDpiX() const { return DpiX; } + + REAL GetDpiY() const { return DpiY; } + + VOID GetBounds (OUT Rect *r) const + { + r->X = X; + r->Y = Y; + r->Width = Width; + r->Height = Height; + } + + BOOL IsWmf() const + { + return ((Type == MetafileTypeWmf) || (Type == MetafileTypeWmfPlaceable)); + } + + BOOL IsWmfPlaceable() const { return (Type == MetafileTypeWmfPlaceable); } + + BOOL IsEmf() const { return (Type == MetafileTypeEmf); } + + BOOL IsEmfOrEmfPlus() const { return (Type >= MetafileTypeEmf); } + + BOOL IsEmfPlus() const { return (Type >= MetafileTypeEmfPlusOnly); } + + BOOL IsEmfPlusDual() const { return (Type == MetafileTypeEmfPlusDual); } + + BOOL IsEmfPlusOnly() const { return (Type == MetafileTypeEmfPlusOnly); } + + BOOL IsDisplay() const + { + return IsEmfPlus() && ((EmfPlusFlags & GDIP_EMFPLUSFLAGS_DISPLAY) != 0); + } + + const METAHEADER * GetWmfHeader() const + { + return IsWmf() ? &WmfHeader : NULL; + } + + const ENHMETAHEADER3 * GetEmfHeader() const + { + return IsEmfOrEmfPlus() ? &EmfHeader : NULL; + } +}; +#else /* end of c++ typedefs */ + +typedef struct MetafileHeader +{ + MetafileType Type; + UINT Size; + UINT Version; + UINT EmfPlusFlags; + REAL DpiX; + REAL DpiY; + INT X; + INT Y; + INT Width; + INT Height; + union + { + METAHEADER WmfHeader; + ENHMETAHEADER3 EmfHeader; + } DUMMYUNIONNAME; + INT EmfPlusHeaderSize; + INT LogicalDpiX; + INT LogicalDpiY; +} MetafileHeader; + +#endif /* end of c typedefs */ + +#endif /* _GDIPLUSMETAHEADER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluspixelformats.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluspixelformats.h new file mode 100644 index 0000000..2a2a3cc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdipluspixelformats.h @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSPIXELFORMATS_H +#define _GDIPLUSPIXELFORMATS_H + +typedef DWORD ARGB; +typedef INT PixelFormat; + +#define PixelFormatIndexed 0x00010000 +#define PixelFormatGDI 0x00020000 +#define PixelFormatAlpha 0x00040000 +#define PixelFormatPAlpha 0x00080000 +#define PixelFormatExtended 0x00100000 +#define PixelFormatCanonical 0x00200000 + +#define PixelFormatUndefined 0 +#define PixelFormatDontCare 0 + +#define PixelFormat1bppIndexed (1 | ( 1 << 8) | PixelFormatIndexed | PixelFormatGDI) +#define PixelFormat4bppIndexed (2 | ( 4 << 8) | PixelFormatIndexed | PixelFormatGDI) +#define PixelFormat8bppIndexed (3 | ( 8 << 8) | PixelFormatIndexed | PixelFormatGDI) +#define PixelFormat16bppGrayScale (4 | (16 << 8) | PixelFormatExtended) +#define PixelFormat16bppRGB555 (5 | (16 << 8) | PixelFormatGDI) +#define PixelFormat16bppRGB565 (6 | (16 << 8) | PixelFormatGDI) +#define PixelFormat16bppARGB1555 (7 | (16 << 8) | PixelFormatAlpha | PixelFormatGDI) +#define PixelFormat24bppRGB (8 | (24 << 8) | PixelFormatGDI) +#define PixelFormat32bppRGB (9 | (32 << 8) | PixelFormatGDI) +#define PixelFormat32bppARGB (10 | (32 << 8) | PixelFormatAlpha | PixelFormatGDI | PixelFormatCanonical) +#define PixelFormat32bppPARGB (11 | (32 << 8) | PixelFormatAlpha | PixelFormatPAlpha | PixelFormatGDI) +#define PixelFormat48bppRGB (12 | (48 << 8) | PixelFormatExtended) +#define PixelFormat64bppARGB (13 | (64 << 8) | PixelFormatAlpha | PixelFormatCanonical | PixelFormatExtended) +#define PixelFormat64bppPARGB (14 | (64 << 8) | PixelFormatAlpha | PixelFormatPAlpha | PixelFormatExtended) +#define PixelFormat32bppCMYK (15 | (32 << 8)) +#define PixelFormatMax 16 + +static inline BOOL IsIndexedPixelFormat(PixelFormat format) +{ + return (format & PixelFormatIndexed) != 0; +} + +static inline BOOL IsAlphaPixelFormat(PixelFormat format) +{ + return (format & PixelFormatAlpha) != 0; +} + +static inline BOOL IsCanonicalPixelFormat(PixelFormat format) +{ + return (format & PixelFormatCanonical) != 0; +} + +static inline BOOL IsExtendedPixelFormat(PixelFormat format) +{ + return (format & PixelFormatExtended) != 0; +} + +static inline UINT GetPixelFormatSize(PixelFormat format) +{ + return (format >> 8) & 0xff; +} + +enum PaletteFlags +{ + PaletteFlagsHasAlpha = 1, + PaletteFlagsGrayScale = 2, + PaletteFlagsHalftone = 4 +}; + +#ifdef __cplusplus + +struct ColorPalette +{ +public: + UINT Flags; + UINT Count; + ARGB Entries[1]; +}; + +#else /* end of c++ typedefs */ + +typedef struct ColorPalette +{ + UINT Flags; + UINT Count; + ARGB Entries[1]; +} ColorPalette; + +#endif /* end of c typedefs */ + +typedef enum DitherType +{ + DitherTypeNone, + DitherTypeSolid, + DitherTypeOrdered4x4, + DitherTypeOrdered8x8, + DitherTypeOrdered16x16, + DitherTypeSpiral4x4, + DitherTypeSpiral8x8, + DitherTypeDualSpiral4x4, + DitherTypeDualSpiral8x8, + DitherTypeErrorDiffusion, + DitherTypeMax +} DitherType; + +typedef enum PaletteType +{ + PaletteTypeCustom, + PaletteTypeOptimal, + PaletteTypeFixedBW, + PaletteTypeFixedHalftone8, + PaletteTypeFixedHalftone27, + PaletteTypeFixedHalftone64, + PaletteTypeFixedHalftone125, + PaletteTypeFixedHalftone216, + PaletteTypeFixedHalftone252, + PaletteTypeFixedHalftone256 +} PaletteType; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplustypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplustypes.h new file mode 100644 index 0000000..80d5955 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/gdiplustypes.h @@ -0,0 +1,277 @@ +/* + * Copyright (C) 2007 Google (Evan Stade) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _GDIPLUSTYPES_H +#define _GDIPLUSTYPES_H + +typedef float REAL; + +enum Status{ + Ok = 0, + GenericError = 1, + InvalidParameter = 2, + OutOfMemory = 3, + ObjectBusy = 4, + InsufficientBuffer = 5, + NotImplemented = 6, + Win32Error = 7, + WrongState = 8, + Aborted = 9, + FileNotFound = 10, + ValueOverflow = 11, + AccessDenied = 12, + UnknownImageFormat = 13, + FontFamilyNotFound = 14, + FontStyleNotFound = 15, + NotTrueTypeFont = 16, + UnsupportedGdiplusVersion = 17, + GdiplusNotInitialized = 18, + PropertyNotFound = 19, + PropertyNotSupported = 20, + ProfileNotFound = 21 +}; + + +#ifdef __cplusplus +extern "C" { +#endif + +typedef BOOL (CALLBACK * ImageAbort)(VOID *); +typedef ImageAbort DrawImageAbort; +typedef ImageAbort GetThumbnailImageAbort; +typedef struct GdiplusAbort GdiplusAbort; + +typedef BOOL (CALLBACK * EnumerateMetafileProc)(EmfPlusRecordType,UINT,UINT,const BYTE*,VOID*); + +#ifdef __cplusplus +} +#endif + + +#ifdef __cplusplus + +class Point +{ +public: + Point() + { + X = Y = 0; + } + + Point(IN const Point &pt) + { + X = pt.X; + Y = pt.Y; + } + + /* FIXME: missing constructor that takes a Size */ + + Point(IN INT x, IN INT y) + { + X = x; + Y = y; + } + + Point operator+(IN const Point& pt) const + { + return Point(X + pt.X, Y + pt.Y); + } + + Point operator-(IN const Point& pt) const + { + return Point(X - pt.X, Y - pt.Y); + } + + BOOL Equals(IN const Point& pt) + { + return (X == pt.X) && (Y == pt.Y); + } + +public: + INT X; + INT Y; +}; + +class PointF +{ +public: + PointF() + { + X = Y = 0.0f; + } + + PointF(IN const PointF &pt) + { + X = pt.X; + Y = pt.Y; + } + + /* FIXME: missing constructor that takes a SizeF */ + + PointF(IN REAL x, IN REAL y) + { + X = x; + Y = y; + } + + PointF operator+(IN const PointF& pt) const + { + return PointF(X + pt.X, Y + pt.Y); + } + + PointF operator-(IN const PointF& pt) const + { + return PointF(X - pt.X, Y - pt.Y); + } + + BOOL Equals(IN const PointF& pt) + { + return (X == pt.X) && (Y == pt.Y); + } + +public: + REAL X; + REAL Y; +}; + +class PathData +{ +public: + PathData() + { + Count = 0; + Points = NULL; + Types = NULL; + } + + ~PathData() + { + if (Points != NULL) + { + delete Points; + } + + if (Types != NULL) + { + delete Types; + } + } + +private: + PathData(const PathData &); + PathData& operator=(const PathData &); + +public: + INT Count; + PointF* Points; + BYTE* Types; +}; + +/* FIXME: missing the methods. */ +class RectF +{ +public: + REAL X; + REAL Y; + REAL Width; + REAL Height; +}; + +/* FIXME: missing the methods. */ +class Rect +{ +public: + INT X; + INT Y; + INT Width; + INT Height; +}; + +class CharacterRange +{ +public: + CharacterRange() + { + First = Length = 0; + } + + CharacterRange(INT first, INT length) + { + First = first; + Length = length; + } + + CharacterRange& operator=(const CharacterRange& rhs) + { + First = rhs.First; + Length = rhs.Length; + return *this; + } +public: + INT First; + INT Length; +}; + +#else /* end of c++ typedefs */ + +typedef struct Point +{ + INT X; + INT Y; +} Point; + +typedef struct PointF +{ + REAL X; + REAL Y; +} PointF; + +typedef struct PathData +{ + INT Count; + PointF* Points; + BYTE* Types; +} PathData; + +typedef struct RectF +{ + REAL X; + REAL Y; + REAL Width; + REAL Height; +} RectF; + +typedef struct Rect +{ + INT X; + INT Y; + INT Width; + INT Height; +} Rect; + +typedef struct CharacterRange +{ + INT First; + INT Length; +} CharacterRange; + +typedef enum Status Status; + +#endif /* end of c typedefs */ + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/guiddef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/guiddef.h new file mode 100644 index 0000000..36c932c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/guiddef.h @@ -0,0 +1,160 @@ +/* + * Copyright (C) 2000 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef GUID_DEFINED +#define GUID_DEFINED + +#ifdef __WIDL__ +typedef struct +{ + unsigned long Data1; + unsigned short Data2; + unsigned short Data3; + byte Data4[ 8 ]; +} GUID; +#else +typedef struct _GUID +{ +#ifdef _MSC_VER + unsigned long Data1; +#else + unsigned int Data1; +#endif + unsigned short Data2; + unsigned short Data3; + unsigned char Data4[ 8 ]; +} GUID; +#endif + +/* Macros for __uuidof emulation */ +#if defined(__cplusplus) && !defined(_MSC_VER) + +extern "C++" { + template const GUID &__wine_uuidof(); +} + +#define __CRT_UUID_DECL(type,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ + extern "C++" { \ + template<> inline const GUID &__wine_uuidof() { \ + static const IID __uuid_inst = {l,w1,w2, {b1,b2,b3,b4,b5,b6,b7,b8}}; \ + return __uuid_inst; \ + } \ + template<> inline const GUID &__wine_uuidof() { \ + return __wine_uuidof(); \ + } \ + } + +#define __uuidof(type) __wine_uuidof() + +#else + +#define __CRT_UUID_DECL(type,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) + +#endif + +#endif + +#undef DEFINE_GUID + +#ifdef INITGUID +#ifdef __cplusplus +#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN; \ + EXTERN_C const GUID name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#else +#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + const GUID name DECLSPEC_HIDDEN; \ + const GUID name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#endif +#else +#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN +#endif + +#define DEFINE_OLEGUID(name, l, w1, w2) \ + DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46) + +#ifndef _GUIDDEF_H_ +#define _GUIDDEF_H_ + +#ifndef __LPGUID_DEFINED__ +#define __LPGUID_DEFINED__ +typedef GUID *LPGUID; +#endif + +#ifndef __LPCGUID_DEFINED__ +#define __LPCGUID_DEFINED__ +typedef const GUID *LPCGUID; +#endif + +#ifndef __IID_DEFINED__ +#define __IID_DEFINED__ + +typedef GUID IID,*LPIID; +typedef GUID CLSID,*LPCLSID; +typedef GUID FMTID,*LPFMTID; +#define IsEqualIID(riid1, riid2) IsEqualGUID(riid1, riid2) +#define IsEqualCLSID(rclsid1, rclsid2) IsEqualGUID(rclsid1, rclsid2) +#define IsEqualFMTID(rfmtid1, rfmtid2) IsEqualGUID(rfmtid1, rfmtid2) +#define IID_NULL GUID_NULL +#define CLSID_NULL GUID_NULL +#define FMTID_NULL GUID_NULL + +#ifdef __midl_proxy +#define __MIDL_CONST +#else +#define __MIDL_CONST const +#endif + +#endif /* ndef __IID_DEFINED__ */ + +#ifdef __cplusplus +#define REFGUID const GUID & +#define REFCLSID const CLSID & +#define REFIID const IID & +#define REFFMTID const FMTID & +#else /* !defined(__cplusplus) && !defined(CINTERFACE) */ +#define REFGUID const GUID* __MIDL_CONST +#define REFCLSID const CLSID* __MIDL_CONST +#define REFIID const IID* __MIDL_CONST +#define REFFMTID const FMTID* __MIDL_CONST +#endif /* !defined(__cplusplus) && !defined(CINTERFACE) */ + +#if defined(__cplusplus) && !defined(CINTERFACE) +#define IsEqualGUID(rguid1, rguid2) (!memcmp(&(rguid1), &(rguid2), sizeof(GUID))) +#else /* defined(__cplusplus) && !defined(CINTERFACE) */ +#define IsEqualGUID(rguid1, rguid2) (!memcmp(rguid1, rguid2, sizeof(GUID))) +#endif /* defined(__cplusplus) && !defined(CINTERFACE) */ + +#if defined(__cplusplus) && !defined(CINTERFACE) +#include +inline bool operator==(const GUID& guidOne, const GUID& guidOther) +{ + return !memcmp(&guidOne,&guidOther,sizeof(GUID)); +} +inline bool operator!=(const GUID& guidOne, const GUID& guidOther) +{ + return !(guidOne == guidOther); +} +#endif + +extern const IID GUID_NULL; + +#endif /* _GUIDDEF_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hidusage.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hidusage.h new file mode 100644 index 0000000..67d698e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hidusage.h @@ -0,0 +1,228 @@ +/* + * Copyright (C) 2015 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __HIDUSAGE_H +#define __HIDUSAGE_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef USHORT USAGE, *PUSAGE; + +#define HID_USAGE_GENERIC_POINTER ((USAGE) 0x01) +#define HID_USAGE_GENERIC_MOUSE ((USAGE) 0x02) +#define HID_USAGE_GENERIC_JOYSTICK ((USAGE) 0x04) +#define HID_USAGE_GENERIC_GAMEPAD ((USAGE) 0x05) +#define HID_USAGE_GENERIC_KEYBOARD ((USAGE) 0x06) +#define HID_USAGE_GENERIC_KEYPAD ((USAGE) 0x07) +#define HID_USAGE_GENERIC_SYSTEM_CTL ((USAGE) 0x80) +#define HID_USAGE_GENERIC_X ((USAGE) 0x30) +#define HID_USAGE_GENERIC_Y ((USAGE) 0x31) +#define HID_USAGE_GENERIC_Z ((USAGE) 0x32) +#define HID_USAGE_GENERIC_RX ((USAGE) 0x33) +#define HID_USAGE_GENERIC_RY ((USAGE) 0x34) +#define HID_USAGE_GENERIC_RZ ((USAGE) 0x35) +#define HID_USAGE_GENERIC_SLIDER ((USAGE) 0x36) +#define HID_USAGE_GENERIC_DIAL ((USAGE) 0x37) +#define HID_USAGE_GENERIC_WHEEL ((USAGE) 0x38) +#define HID_USAGE_GENERIC_HATSWITCH ((USAGE) 0x39) +#define HID_USAGE_GENERIC_COUNTED_BUFFER ((USAGE) 0x3A) +#define HID_USAGE_GENERIC_BYTE_COUNT ((USAGE) 0x3B) +#define HID_USAGE_GENERIC_MOTION_WAKEUP ((USAGE) 0x3C) +#define HID_USAGE_GENERIC_VX ((USAGE) 0x40) +#define HID_USAGE_GENERIC_VY ((USAGE) 0x41) +#define HID_USAGE_GENERIC_VZ ((USAGE) 0x42) +#define HID_USAGE_GENERIC_VBRX ((USAGE) 0x43) +#define HID_USAGE_GENERIC_VBRY ((USAGE) 0x44) +#define HID_USAGE_GENERIC_VBRZ ((USAGE) 0x45) +#define HID_USAGE_GENERIC_VNO ((USAGE) 0x46) +#define HID_USAGE_GENERIC_SYSCTL_POWER ((USAGE) 0x81) +#define HID_USAGE_GENERIC_SYSCTL_SLEEP ((USAGE) 0x82) +#define HID_USAGE_GENERIC_SYSCTL_WAKE ((USAGE) 0x83) +#define HID_USAGE_GENERIC_SYSCTL_CONTEXT_MENU ((USAGE) 0x84) +#define HID_USAGE_GENERIC_SYSCTL_MAIN_MENU ((USAGE) 0x85) +#define HID_USAGE_GENERIC_SYSCTL_APP_MENU ((USAGE) 0x86) +#define HID_USAGE_GENERIC_SYSCTL_HELP_MENU ((USAGE) 0x87) +#define HID_USAGE_GENERIC_SYSCTL_MENU_EXIT ((USAGE) 0x88) +#define HID_USAGE_GENERIC_SYSCTL_MENU_SELECT ((USAGE) 0x89) +#define HID_USAGE_GENERIC_SYSCTL_MENU_RIGHT ((USAGE) 0x8A) +#define HID_USAGE_GENERIC_SYSCTL_MENU_LEFT ((USAGE) 0x8B) +#define HID_USAGE_GENERIC_SYSCTL_MENU_UP ((USAGE) 0x8C) +#define HID_USAGE_GENERIC_SYSCTL_MENU_DOWN ((USAGE) 0x8D) + +#define HID_USAGE_KEYBOARD_NOEVENT ((USAGE) 0x00) +#define HID_USAGE_KEYBOARD_ROLLOVER ((USAGE) 0x01) +#define HID_USAGE_KEYBOARD_POSTFAIL ((USAGE) 0x02) +#define HID_USAGE_KEYBOARD_UNDEFINED ((USAGE) 0x03) +#define HID_USAGE_KEYBOARD_aA ((USAGE) 0x04) +#define HID_USAGE_KEYBOARD_zZ ((USAGE) 0x1D) +#define HID_USAGE_KEYBOARD_ONE ((USAGE) 0x1E) +#define HID_USAGE_KEYBOARD_ZERO ((USAGE) 0x27) +#define HID_USAGE_KEYBOARD_LCTRL ((USAGE) 0xE0) +#define HID_USAGE_KEYBOARD_LSHFT ((USAGE) 0xE1) +#define HID_USAGE_KEYBOARD_LALT ((USAGE) 0xE2) +#define HID_USAGE_KEYBOARD_LGUI ((USAGE) 0xE3) +#define HID_USAGE_KEYBOARD_RCTRL ((USAGE) 0xE4) +#define HID_USAGE_KEYBOARD_RSHFT ((USAGE) 0xE5) +#define HID_USAGE_KEYBOARD_RALT ((USAGE) 0xE6) +#define HID_USAGE_KEYBOARD_RGUI ((USAGE) 0xE7) +#define HID_USAGE_KEYBOARD_SCROLL_LOCK ((USAGE) 0x47) +#define HID_USAGE_KEYBOARD_NUM_LOCK ((USAGE) 0x53) +#define HID_USAGE_KEYBOARD_CAPS_LOCK ((USAGE) 0x39) +#define HID_USAGE_KEYBOARD_F1 ((USAGE) 0x3A) +#define HID_USAGE_KEYBOARD_F12 ((USAGE) 0x45) +#define HID_USAGE_KEYBOARD_RETURN ((USAGE) 0x28) +#define HID_USAGE_KEYBOARD_ESCAPE ((USAGE) 0x29) +#define HID_USAGE_KEYBOARD_DELETE ((USAGE) 0x2A) +#define HID_USAGE_KEYBOARD_PRINT_SCREEN ((USAGE) 0x46) + +#define HID_USAGE_LED_NUM_LOCK ((USAGE) 0x01) +#define HID_USAGE_LED_CAPS_LOCK ((USAGE) 0x02) +#define HID_USAGE_LED_SCROLL_LOCK ((USAGE) 0x03) +#define HID_USAGE_LED_COMPOSE ((USAGE) 0x04) +#define HID_USAGE_LED_KANA ((USAGE) 0x05) +#define HID_USAGE_LED_POWER ((USAGE) 0x06) +#define HID_USAGE_LED_SHIFT ((USAGE) 0x07) +#define HID_USAGE_LED_DO_NOT_DISTURB ((USAGE) 0x08) +#define HID_USAGE_LED_MUTE ((USAGE) 0x09) +#define HID_USAGE_LED_TONE_ENABLE ((USAGE) 0x0A) +#define HID_USAGE_LED_HIGH_CUT_FILTER ((USAGE) 0x0B) +#define HID_USAGE_LED_LOW_CUT_FILTER ((USAGE) 0x0C) +#define HID_USAGE_LED_EQUALIZER_ENABLE ((USAGE) 0x0D) +#define HID_USAGE_LED_SOUND_FIELD_ON ((USAGE) 0x0E) +#define HID_USAGE_LED_SURROUND_FIELD_ON ((USAGE) 0x0F) +#define HID_USAGE_LED_REPEAT ((USAGE) 0x10) +#define HID_USAGE_LED_STEREO ((USAGE) 0x11) +#define HID_USAGE_LED_SAMPLING_RATE_DETECT ((USAGE) 0x12) +#define HID_USAGE_LED_SPINNING ((USAGE) 0x13) +#define HID_USAGE_LED_CAV ((USAGE) 0x14) +#define HID_USAGE_LED_CLV ((USAGE) 0x15) +#define HID_USAGE_LED_RECORDING_FORMAT_DET ((USAGE) 0x16) +#define HID_USAGE_LED_OFF_HOOK ((USAGE) 0x17) +#define HID_USAGE_LED_RING ((USAGE) 0x18) +#define HID_USAGE_LED_MESSAGE_WAITING ((USAGE) 0x19) +#define HID_USAGE_LED_DATA_MODE ((USAGE) 0x1A) +#define HID_USAGE_LED_BATTERY_OPERATION ((USAGE) 0x1B) +#define HID_USAGE_LED_BATTERY_OK ((USAGE) 0x1C) +#define HID_USAGE_LED_BATTERY_LOW ((USAGE) 0x1D) +#define HID_USAGE_LED_SPEAKER ((USAGE) 0x1E) +#define HID_USAGE_LED_HEAD_SET ((USAGE) 0x1F) +#define HID_USAGE_LED_HOLD ((USAGE) 0x20) +#define HID_USAGE_LED_MICROPHONE ((USAGE) 0x21) +#define HID_USAGE_LED_COVERAGE ((USAGE) 0x22) +#define HID_USAGE_LED_NIGHT_MODE ((USAGE) 0x23) +#define HID_USAGE_LED_SEND_CALLS ((USAGE) 0x24) +#define HID_USAGE_LED_CALL_PICKUP ((USAGE) 0x25) +#define HID_USAGE_LED_CONFERENCE ((USAGE) 0x26) +#define HID_USAGE_LED_STAND_BY ((USAGE) 0x27) +#define HID_USAGE_LED_CAMERA_ON ((USAGE) 0x28) +#define HID_USAGE_LED_CAMERA_OFF ((USAGE) 0x29) +#define HID_USAGE_LED_ON_LINE ((USAGE) 0x2A) +#define HID_USAGE_LED_OFF_LINE ((USAGE) 0x2B) +#define HID_USAGE_LED_BUSY ((USAGE) 0x2C) +#define HID_USAGE_LED_READY ((USAGE) 0x2D) +#define HID_USAGE_LED_PAPER_OUT ((USAGE) 0x2E) +#define HID_USAGE_LED_PAPER_JAM ((USAGE) 0x2F) +#define HID_USAGE_LED_REMOTE ((USAGE) 0x30) +#define HID_USAGE_LED_FORWARD ((USAGE) 0x31) +#define HID_USAGE_LED_REVERSE ((USAGE) 0x32) +#define HID_USAGE_LED_STOP ((USAGE) 0x33) +#define HID_USAGE_LED_REWIND ((USAGE) 0x34) +#define HID_USAGE_LED_FAST_FORWARD ((USAGE) 0x35) +#define HID_USAGE_LED_PLAY ((USAGE) 0x36) +#define HID_USAGE_LED_PAUSE ((USAGE) 0x37) +#define HID_USAGE_LED_RECORD ((USAGE) 0x38) +#define HID_USAGE_LED_ERROR ((USAGE) 0x39) +#define HID_USAGE_LED_SELECTED_INDICATOR ((USAGE) 0x3A) +#define HID_USAGE_LED_IN_USE_INDICATOR ((USAGE) 0x3B) +#define HID_USAGE_LED_MULTI_MODE_INDICATOR ((USAGE) 0x3C) +#define HID_USAGE_LED_INDICATOR_ON ((USAGE) 0x3D) +#define HID_USAGE_LED_INDICATOR_FLASH ((USAGE) 0x3E) +#define HID_USAGE_LED_INDICATOR_SLOW_BLINK ((USAGE) 0x3F) +#define HID_USAGE_LED_INDICATOR_FAST_BLINK ((USAGE) 0x40) +#define HID_USAGE_LED_INDICATOR_OFF ((USAGE) 0x41) +#define HID_USAGE_LED_FLASH_ON_TIME ((USAGE) 0x42) +#define HID_USAGE_LED_SLOW_BLINK_ON_TIME ((USAGE) 0x43) +#define HID_USAGE_LED_SLOW_BLINK_OFF_TIME ((USAGE) 0x44) +#define HID_USAGE_LED_FAST_BLINK_ON_TIME ((USAGE) 0x45) +#define HID_USAGE_LED_FAST_BLINK_OFF_TIME ((USAGE) 0x46) +#define HID_USAGE_LED_INDICATOR_COLOR ((USAGE) 0x47) +#define HID_USAGE_LED_RED ((USAGE) 0x48) +#define HID_USAGE_LED_GREEN ((USAGE) 0x49) +#define HID_USAGE_LED_AMBER ((USAGE) 0x4A) +#define HID_USAGE_LED_GENERIC_INDICATOR ((USAGE) 0x3B) + +#define HID_USAGE_PAGE_UNDEFINED ((USAGE) 0x00) +#define HID_USAGE_PAGE_GENERIC ((USAGE) 0x01) +#define HID_USAGE_PAGE_SIMULATION ((USAGE) 0x02) +#define HID_USAGE_PAGE_VR ((USAGE) 0x03) +#define HID_USAGE_PAGE_SPORT ((USAGE) 0x04) +#define HID_USAGE_PAGE_GAME ((USAGE) 0x05) +#define HID_USAGE_PAGE_KEYBOARD ((USAGE) 0x07) +#define HID_USAGE_PAGE_LED ((USAGE) 0x08) +#define HID_USAGE_PAGE_BUTTON ((USAGE) 0x09) +#define HID_USAGE_PAGE_ORDINAL ((USAGE) 0x0A) +#define HID_USAGE_PAGE_TELEPHONY ((USAGE) 0x0B) +#define HID_USAGE_PAGE_CONSUMER ((USAGE) 0x0C) +#define HID_USAGE_PAGE_DIGITIZER ((USAGE) 0x0D) +#define HID_USAGE_PAGE_UNICODE ((USAGE) 0x10) +#define HID_USAGE_PAGE_ALPHANUMERIC ((USAGE) 0x14) + +#define HID_USAGE_TELEPHONY_PHONE ((USAGE) 0x01) +#define HID_USAGE_TELEPHONY_ANSWERING_MACHINE ((USAGE) 0x02) +#define HID_USAGE_TELEPHONY_MESSAGE_CONTROLS ((USAGE) 0x03) +#define HID_USAGE_TELEPHONY_HANDSET ((USAGE) 0x04) +#define HID_USAGE_TELEPHONY_HEADSET ((USAGE) 0x05) +#define HID_USAGE_TELEPHONY_KEYPAD ((USAGE) 0x06) +#define HID_USAGE_TELEPHONY_PROGRAMMABLE_BUTTON ((USAGE) 0x07) + +#define HID_USAGE_SIMULATION_RUDDER ((USAGE) 0xBA) +#define HID_USAGE_SIMULATION_THROTTLE ((USAGE) 0xBB) + +#define HID_USAGE_TELEPHONY_PHONE ((USAGE) 0x01) +#define HID_USAGE_TELEPHONY_ANSWERING_MACHINE ((USAGE) 0x02) +#define HID_USAGE_TELEPHONY_MESSAGE_CONTROLS ((USAGE) 0x03) +#define HID_USAGE_TELEPHONY_HANDSET ((USAGE) 0x04) +#define HID_USAGE_TELEPHONY_HEADSET ((USAGE) 0x05) +#define HID_USAGE_TELEPHONY_KEYPAD ((USAGE) 0x06) +#define HID_USAGE_TELEPHONY_PROGRAMMABLE_BUTTON ((USAGE) 0x07) +#define HID_USAGE_TELEPHONY_REDIAL ((USAGE) 0x24) +#define HID_USAGE_TELEPHONY_TRANSFER ((USAGE) 0x25) +#define HID_USAGE_TELEPHONY_DROP ((USAGE) 0x26) +#define HID_USAGE_TELEPHONY_LINE ((USAGE) 0x2A) +#define HID_USAGE_TELEPHONY_RING_ENABLE ((USAGE) 0x2D) +#define HID_USAGE_TELEPHONY_SEND ((USAGE) 0x31) +#define HID_USAGE_TELEPHONY_KEYPAD_0 ((USAGE) 0xB0) +#define HID_USAGE_TELEPHONY_KEYPAD_D ((USAGE) 0xBF) +#define HID_USAGE_TELEPHONY_HOST_AVAILABLE ((USAGE) 0xF1) + +#define HID_USAGE_MS_BTH_HF_DIALNUMBER ((USAGE) 0x21) +#define HID_USAGE_MS_BTH_HF_DIALMEMORY ((USAGE) 0x22) + +#define HID_USAGE_CONSUMERCTRL ((USAGE) 0x01) + +#define HID_USAGE_DIGITIZER_PEN ((USAGE) 0x02) +#define HID_USAGE_DIGITIZER_IN_RANGE ((USAGE) 0x32) +#define HID_USAGE_DIGITIZER_TIP_SWITCH ((USAGE) 0x42) +#define HID_USAGE_DIGITIZER_BARREL_SWITCH ((USAGE) 0x44) + +#ifdef __cplusplus +} +#endif + +#endif /* __HIDUSAGE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/highlevelmonitorconfigurationapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/highlevelmonitorconfigurationapi.h new file mode 100644 index 0000000..429b75d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/highlevelmonitorconfigurationapi.h @@ -0,0 +1,82 @@ +/* + * Copyright 2014 Michael Müller for Pipelight + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_HIGHLEVELMONITORCONFIGURATIONAPI_H +#define __WINE_HIGHLEVELMONITORCONFIGURATIONAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _MC_COLOR_TEMPERATURE +{ + MC_COLOR_TEMPERATURE_UNKNOWN, + MC_COLOR_TEMPERATURE_4000K, + MC_COLOR_TEMPERATURE_5000K, + MC_COLOR_TEMPERATURE_6500K, + MC_COLOR_TEMPERATURE_7500K, + MC_COLOR_TEMPERATURE_8200K, + MC_COLOR_TEMPERATURE_9300K, + MC_COLOR_TEMPERATURE_10000K, + MC_COLOR_TEMPERATURE_11500K +} MC_COLOR_TEMPERATURE, *LPMC_COLOR_TEMPERATURE; + +typedef enum _MC_POSITION_TYPE +{ + MC_HORIZONTAL_POSITION, + MC_VERTICAL_POSITION +} MC_POSITION_TYPE; + +typedef enum _MC_SIZE_TYPE +{ + MC_WIDTH, + MC_HEIGHT +} MC_SIZE_TYPE; + +typedef enum _MC_DRIVE_TYPE +{ + MC_RED_DRIVE, + MC_GREEN_DRIVE, + MC_BLUE_DRIVE +} MC_DRIVE_TYPE; + +typedef enum _MC_GAIN_TYPE +{ + MC_RED_GAIN, + MC_GREEN_GAIN, + MC_BLUE_GAIN +} MC_GAIN_TYPE; + +typedef enum _MC_DISPLAY_TECHNOLOGY_TYPE +{ + MC_SHADOW_MASK_CATHODE_RAY_TUBE, + MC_APERTURE_GRILL_CATHODE_RAY_TUBE, + MC_THIN_FILM_TRANSISTOR, + MC_LIQUID_CRYSTAL_ON_SILICON, + MC_PLASMA, + MC_ORGANIC_LIGHT_EMITTING_DIODE, + MC_ELECTROLUMINESCENT, + MC_MICROELECTROMECHANICAL, + MC_FIELD_EMISSION_DEVICE +} MC_DISPLAY_TECHNOLOGY_TYPE, *LPMC_DISPLAY_TECHNOLOGY_TYPE; + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_HIGHLEVELMONITORCONFIGURATIONAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlguids.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlguids.h new file mode 100644 index 0000000..7a45e66 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlguids.h @@ -0,0 +1,31 @@ +/* + * Implementation of hyperlinking (hlink.dll) + * + * Copyright 2005 Aric Stewart for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_HLGUIDS_H__ +#define __WINE_HLGUIDS_H__ + +DEFINE_GUID(CLSID_StdHlink, + 0x79eac9d0, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); +DEFINE_GUID(CLSID_StdHlinkBrowseContext, + 0x79eac9d1, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); +DEFINE_GUID(CLSID_IID_IExtensionServices, + 0x79eac9cb, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlink.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlink.h new file mode 100644 index 0000000..4f858ed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlink.h @@ -0,0 +1,1350 @@ +/*** Autogenerated by WIDL 2.18 from hlink.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __hlink_h__ +#define __hlink_h__ + +/* Forward declarations */ + +#ifndef __IHlink_FWD_DEFINED__ +#define __IHlink_FWD_DEFINED__ +typedef interface IHlink IHlink; +#ifdef __cplusplus +interface IHlink; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkSite_FWD_DEFINED__ +#define __IHlinkSite_FWD_DEFINED__ +typedef interface IHlinkSite IHlinkSite; +#ifdef __cplusplus +interface IHlinkSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumHLITEM_FWD_DEFINED__ +#define __IEnumHLITEM_FWD_DEFINED__ +typedef interface IEnumHLITEM IEnumHLITEM; +#ifdef __cplusplus +interface IEnumHLITEM; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkBrowseContext_FWD_DEFINED__ +#define __IHlinkBrowseContext_FWD_DEFINED__ +typedef interface IHlinkBrowseContext IHlinkBrowseContext; +#ifdef __cplusplus +interface IHlinkBrowseContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkTarget_FWD_DEFINED__ +#define __IHlinkTarget_FWD_DEFINED__ +typedef interface IHlinkTarget IHlinkTarget; +#ifdef __cplusplus +interface IHlinkTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkFrame_FWD_DEFINED__ +#define __IHlinkFrame_FWD_DEFINED__ +typedef interface IHlinkFrame IHlinkFrame; +#ifdef __cplusplus +interface IHlinkFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __IExtensionServices_FWD_DEFINED__ +#define __IExtensionServices_FWD_DEFINED__ +typedef interface IExtensionServices IExtensionServices; +#ifdef __cplusplus +interface IExtensionServices; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IHlink_FWD_DEFINED__ +#define __IHlink_FWD_DEFINED__ +typedef interface IHlink IHlink; +#ifdef __cplusplus +interface IHlink; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkSite_FWD_DEFINED__ +#define __IHlinkSite_FWD_DEFINED__ +typedef interface IHlinkSite IHlinkSite; +#ifdef __cplusplus +interface IHlinkSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkFrame_FWD_DEFINED__ +#define __IHlinkFrame_FWD_DEFINED__ +typedef interface IHlinkFrame IHlinkFrame; +#ifdef __cplusplus +interface IHlinkFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __IHlinkBrowseContext_FWD_DEFINED__ +#define __IHlinkBrowseContext_FWD_DEFINED__ +typedef interface IHlinkBrowseContext IHlinkBrowseContext; +#ifdef __cplusplus +interface IHlinkBrowseContext; +#endif /* __cplusplus */ +#endif + +HRESULT WINAPI HlinkCreateFromMoniker(IMoniker*, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**); +HRESULT WINAPI HlinkCreateFromString(LPCWSTR, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**); +HRESULT WINAPI HlinkCreateFromData(IDataObject*, IHlinkSite*, DWORD dwSiteData, IUnknown*, REFIID, void**); +HRESULT WINAPI HlinkCreateExtensionServices(LPCWSTR, HWND, LPCWSTR, LPCWSTR, IUnknown*, REFIID, void**); +HRESULT WINAPI HlinkQueryCreateFromData(IDataObject*); +HRESULT WINAPI HlinkClone(IHlink*, REFIID, IHlinkSite*, DWORD, void **); +HRESULT WINAPI HlinkCreateBrowseContext(IUnknown*, REFIID, void **); +HRESULT WINAPI HlinkNavigateToStringReference(LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*); +HRESULT WINAPI HlinkNavigate(IHlink*, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*); +HRESULT WINAPI HlinkOnNavigate(IHlinkFrame*, IHlinkBrowseContext*, DWORD, IMoniker*, LPCWSTR, LPCWSTR, ULONG*); +HRESULT WINAPI HlinkIsShortcut(LPCWSTR); +HRESULT WINAPI HlinkTranslateURL(LPCWSTR,DWORD,LPWSTR*); +HRESULT WINAPI HlinkParseDisplayName(LPBC,LPCWSTR,BOOL,ULONG*,IMoniker**); +HRESULT WINAPI HlinkResolveMonikerForData(LPMONIKER,DWORD,LPBC,ULONG,FORMATETC*,IBindStatusCallback*,LPMONIKER); +HRESULT WINAPI HlinkUpdateStackItem(IHlinkFrame*, IHlinkBrowseContext*, ULONG, IMoniker*, LPCWSTR, LPCWSTR); +typedef enum _HLSR_NOREDEF10 { + HLSR_HOME = 0, + HLSR_SEARCHPAGE = 1, + HLSR_HISTORYFOLDER = 2 +} HLSR; +HRESULT WINAPI HlinkSetSpecialReference(ULONG uReference, LPCWSTR pwzReference); +HRESULT WINAPI HlinkGetSpecialReference(ULONG uReference, LPWSTR *ppwzReference); +#define SID_SHlinkFrame IID_IHlinkFrame +/***************************************************************************** + * IHlink interface + */ +#ifndef __IHlink_INTERFACE_DEFINED__ +#define __IHlink_INTERFACE_DEFINED__ + +typedef IHlink *LPHLINK; +typedef enum __WIDL_hlink_generated_name_00000011 { + HLNF_INTERNALJUMP = 0x1, + HLNF_OPENINNEWWINDOW = 0x2, + HLNF_NAVIGATINGBACK = 0x4, + HLNF_NAVIGATINGFORWARD = 0x8, + HLNF_NAVIGATINGTOSTACKITEM = 0x10, + HLNF_CREATENOHISTORY = 0x20 +} HLNF; +typedef enum __WIDL_hlink_generated_name_00000012 { + HLINKGETREF_DEFAULT = 0, + HLINKGETREF_ABSOLUTE = 1, + HLINKGETREF_RELATIVE = 2 +} HLINKGETREF; +typedef enum __WIDL_hlink_generated_name_00000013 { + HLFNAMEF_DEFAULT = 0x0, + HLFNAMEF_TRYCACHE = 0x1, + HLFNAMEF_TRYPRETTYTARGET = 0x2, + HLFNAMEF_TRYFULLTARGET = 0x4, + HLFNAMEF_TRYWIN95SHORTCUT = 0x8 +} HLFNAMEF; +typedef enum __WIDL_hlink_generated_name_00000014 { + HLINKMISC_RELATIVE = 0x1 +} HLINKMISC; +typedef enum __WIDL_hlink_generated_name_00000015 { + HLINKSETF_TARGET = 0x1, + HLINKSETF_LOCATION = 0x2 +} HLINKSETF; +DEFINE_GUID(IID_IHlink, 0x79eac9c3, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c3-baf9-11ce-8c82-00aa004ba90b") +IHlink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetHlinkSite( + IHlinkSite *pihlSite, + DWORD dwSiteData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHlinkSite( + IHlinkSite **ppihlSite, + DWORD *pdwSiteData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMonikerReference( + DWORD grfHLSETF, + IMoniker *pimkTarget, + LPCWSTR pwzLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMonikerReference( + DWORD dwWhichRef, + IMoniker **ppimkTarget, + LPWSTR *ppwzLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStringReference( + DWORD grfHLSETF, + LPCWSTR pwzTarget, + LPCWSTR pwzLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringReference( + DWORD dwWhichRef, + LPWSTR *ppwzTarget, + LPWSTR *ppwzLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFriendlyName( + LPCWSTR pwzFriendlyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFriendlyName( + DWORD grfHLFNAMEF, + LPWSTR *ppwzFriendlyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTargetFrameName( + LPCWSTR pwzTargetFrameName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTargetFrameName( + LPWSTR *ppwzTargetFrameName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMiscStatus( + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Navigate( + DWORD grfHLNF, + LPBC pibc, + IBindStatusCallback *pibsc, + IHlinkBrowseContext *pihlbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAdditionalParams( + LPCWSTR pwzAdditionalParams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdditionalParams( + LPWSTR *ppwzAdditionalParams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHlink, 0x79eac9c3, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHlinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHlink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHlink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHlink *This); + + /*** IHlink methods ***/ + HRESULT (STDMETHODCALLTYPE *SetHlinkSite)( + IHlink *This, + IHlinkSite *pihlSite, + DWORD dwSiteData); + + HRESULT (STDMETHODCALLTYPE *GetHlinkSite)( + IHlink *This, + IHlinkSite **ppihlSite, + DWORD *pdwSiteData); + + HRESULT (STDMETHODCALLTYPE *SetMonikerReference)( + IHlink *This, + DWORD grfHLSETF, + IMoniker *pimkTarget, + LPCWSTR pwzLocation); + + HRESULT (STDMETHODCALLTYPE *GetMonikerReference)( + IHlink *This, + DWORD dwWhichRef, + IMoniker **ppimkTarget, + LPWSTR *ppwzLocation); + + HRESULT (STDMETHODCALLTYPE *SetStringReference)( + IHlink *This, + DWORD grfHLSETF, + LPCWSTR pwzTarget, + LPCWSTR pwzLocation); + + HRESULT (STDMETHODCALLTYPE *GetStringReference)( + IHlink *This, + DWORD dwWhichRef, + LPWSTR *ppwzTarget, + LPWSTR *ppwzLocation); + + HRESULT (STDMETHODCALLTYPE *SetFriendlyName)( + IHlink *This, + LPCWSTR pwzFriendlyName); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IHlink *This, + DWORD grfHLFNAMEF, + LPWSTR *ppwzFriendlyName); + + HRESULT (STDMETHODCALLTYPE *SetTargetFrameName)( + IHlink *This, + LPCWSTR pwzTargetFrameName); + + HRESULT (STDMETHODCALLTYPE *GetTargetFrameName)( + IHlink *This, + LPWSTR *ppwzTargetFrameName); + + HRESULT (STDMETHODCALLTYPE *GetMiscStatus)( + IHlink *This, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *Navigate)( + IHlink *This, + DWORD grfHLNF, + LPBC pibc, + IBindStatusCallback *pibsc, + IHlinkBrowseContext *pihlbc); + + HRESULT (STDMETHODCALLTYPE *SetAdditionalParams)( + IHlink *This, + LPCWSTR pwzAdditionalParams); + + HRESULT (STDMETHODCALLTYPE *GetAdditionalParams)( + IHlink *This, + LPWSTR *ppwzAdditionalParams); + + END_INTERFACE +} IHlinkVtbl; + +interface IHlink { + CONST_VTBL IHlinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHlink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHlink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHlink_Release(This) (This)->lpVtbl->Release(This) +/*** IHlink methods ***/ +#define IHlink_SetHlinkSite(This,pihlSite,dwSiteData) (This)->lpVtbl->SetHlinkSite(This,pihlSite,dwSiteData) +#define IHlink_GetHlinkSite(This,ppihlSite,pdwSiteData) (This)->lpVtbl->GetHlinkSite(This,ppihlSite,pdwSiteData) +#define IHlink_SetMonikerReference(This,grfHLSETF,pimkTarget,pwzLocation) (This)->lpVtbl->SetMonikerReference(This,grfHLSETF,pimkTarget,pwzLocation) +#define IHlink_GetMonikerReference(This,dwWhichRef,ppimkTarget,ppwzLocation) (This)->lpVtbl->GetMonikerReference(This,dwWhichRef,ppimkTarget,ppwzLocation) +#define IHlink_SetStringReference(This,grfHLSETF,pwzTarget,pwzLocation) (This)->lpVtbl->SetStringReference(This,grfHLSETF,pwzTarget,pwzLocation) +#define IHlink_GetStringReference(This,dwWhichRef,ppwzTarget,ppwzLocation) (This)->lpVtbl->GetStringReference(This,dwWhichRef,ppwzTarget,ppwzLocation) +#define IHlink_SetFriendlyName(This,pwzFriendlyName) (This)->lpVtbl->SetFriendlyName(This,pwzFriendlyName) +#define IHlink_GetFriendlyName(This,grfHLFNAMEF,ppwzFriendlyName) (This)->lpVtbl->GetFriendlyName(This,grfHLFNAMEF,ppwzFriendlyName) +#define IHlink_SetTargetFrameName(This,pwzTargetFrameName) (This)->lpVtbl->SetTargetFrameName(This,pwzTargetFrameName) +#define IHlink_GetTargetFrameName(This,ppwzTargetFrameName) (This)->lpVtbl->GetTargetFrameName(This,ppwzTargetFrameName) +#define IHlink_GetMiscStatus(This,pdwStatus) (This)->lpVtbl->GetMiscStatus(This,pdwStatus) +#define IHlink_Navigate(This,grfHLNF,pibc,pibsc,pihlbc) (This)->lpVtbl->Navigate(This,grfHLNF,pibc,pibsc,pihlbc) +#define IHlink_SetAdditionalParams(This,pwzAdditionalParams) (This)->lpVtbl->SetAdditionalParams(This,pwzAdditionalParams) +#define IHlink_GetAdditionalParams(This,ppwzAdditionalParams) (This)->lpVtbl->GetAdditionalParams(This,ppwzAdditionalParams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHlink_QueryInterface(IHlink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHlink_AddRef(IHlink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHlink_Release(IHlink* This) { + return This->lpVtbl->Release(This); +} +/*** IHlink methods ***/ +static FORCEINLINE HRESULT IHlink_SetHlinkSite(IHlink* This,IHlinkSite *pihlSite,DWORD dwSiteData) { + return This->lpVtbl->SetHlinkSite(This,pihlSite,dwSiteData); +} +static FORCEINLINE HRESULT IHlink_GetHlinkSite(IHlink* This,IHlinkSite **ppihlSite,DWORD *pdwSiteData) { + return This->lpVtbl->GetHlinkSite(This,ppihlSite,pdwSiteData); +} +static FORCEINLINE HRESULT IHlink_SetMonikerReference(IHlink* This,DWORD grfHLSETF,IMoniker *pimkTarget,LPCWSTR pwzLocation) { + return This->lpVtbl->SetMonikerReference(This,grfHLSETF,pimkTarget,pwzLocation); +} +static FORCEINLINE HRESULT IHlink_GetMonikerReference(IHlink* This,DWORD dwWhichRef,IMoniker **ppimkTarget,LPWSTR *ppwzLocation) { + return This->lpVtbl->GetMonikerReference(This,dwWhichRef,ppimkTarget,ppwzLocation); +} +static FORCEINLINE HRESULT IHlink_SetStringReference(IHlink* This,DWORD grfHLSETF,LPCWSTR pwzTarget,LPCWSTR pwzLocation) { + return This->lpVtbl->SetStringReference(This,grfHLSETF,pwzTarget,pwzLocation); +} +static FORCEINLINE HRESULT IHlink_GetStringReference(IHlink* This,DWORD dwWhichRef,LPWSTR *ppwzTarget,LPWSTR *ppwzLocation) { + return This->lpVtbl->GetStringReference(This,dwWhichRef,ppwzTarget,ppwzLocation); +} +static FORCEINLINE HRESULT IHlink_SetFriendlyName(IHlink* This,LPCWSTR pwzFriendlyName) { + return This->lpVtbl->SetFriendlyName(This,pwzFriendlyName); +} +static FORCEINLINE HRESULT IHlink_GetFriendlyName(IHlink* This,DWORD grfHLFNAMEF,LPWSTR *ppwzFriendlyName) { + return This->lpVtbl->GetFriendlyName(This,grfHLFNAMEF,ppwzFriendlyName); +} +static FORCEINLINE HRESULT IHlink_SetTargetFrameName(IHlink* This,LPCWSTR pwzTargetFrameName) { + return This->lpVtbl->SetTargetFrameName(This,pwzTargetFrameName); +} +static FORCEINLINE HRESULT IHlink_GetTargetFrameName(IHlink* This,LPWSTR *ppwzTargetFrameName) { + return This->lpVtbl->GetTargetFrameName(This,ppwzTargetFrameName); +} +static FORCEINLINE HRESULT IHlink_GetMiscStatus(IHlink* This,DWORD *pdwStatus) { + return This->lpVtbl->GetMiscStatus(This,pdwStatus); +} +static FORCEINLINE HRESULT IHlink_Navigate(IHlink* This,DWORD grfHLNF,LPBC pibc,IBindStatusCallback *pibsc,IHlinkBrowseContext *pihlbc) { + return This->lpVtbl->Navigate(This,grfHLNF,pibc,pibsc,pihlbc); +} +static FORCEINLINE HRESULT IHlink_SetAdditionalParams(IHlink* This,LPCWSTR pwzAdditionalParams) { + return This->lpVtbl->SetAdditionalParams(This,pwzAdditionalParams); +} +static FORCEINLINE HRESULT IHlink_GetAdditionalParams(IHlink* This,LPWSTR *ppwzAdditionalParams) { + return This->lpVtbl->GetAdditionalParams(This,ppwzAdditionalParams); +} +#endif +#endif + +#endif + + +#endif /* __IHlink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHlinkSite interface + */ +#ifndef __IHlinkSite_INTERFACE_DEFINED__ +#define __IHlinkSite_INTERFACE_DEFINED__ + +typedef IHlinkSite *LPHLINKSITE; +typedef enum __WIDL_hlink_generated_name_00000016 { + HLINKWHICHMK_CONTAINER = 1, + HLINKWHICHMK_BASE = 2 +} HLINKWHICHMK; +DEFINE_GUID(IID_IHlinkSite, 0x79eac9c2, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c2-baf9-11ce-8c82-00aa004ba90b") +IHlinkSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryService( + DWORD dwSiteData, + REFGUID guidService, + REFIID riid, + IUnknown **ppiunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMoniker( + DWORD dwSiteData, + DWORD dwAssign, + DWORD dwWhich, + IMoniker **ppimk) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadyToNavigate( + DWORD dwSiteData, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNavigationComplete( + DWORD dwSiteData, + DWORD dwreserved, + HRESULT hrError, + LPCWSTR pwzError) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHlinkSite, 0x79eac9c2, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHlinkSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHlinkSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHlinkSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHlinkSite *This); + + /*** IHlinkSite methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryService)( + IHlinkSite *This, + DWORD dwSiteData, + REFGUID guidService, + REFIID riid, + IUnknown **ppiunk); + + HRESULT (STDMETHODCALLTYPE *GetMoniker)( + IHlinkSite *This, + DWORD dwSiteData, + DWORD dwAssign, + DWORD dwWhich, + IMoniker **ppimk); + + HRESULT (STDMETHODCALLTYPE *ReadyToNavigate)( + IHlinkSite *This, + DWORD dwSiteData, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *OnNavigationComplete)( + IHlinkSite *This, + DWORD dwSiteData, + DWORD dwreserved, + HRESULT hrError, + LPCWSTR pwzError); + + END_INTERFACE +} IHlinkSiteVtbl; + +interface IHlinkSite { + CONST_VTBL IHlinkSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHlinkSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHlinkSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHlinkSite_Release(This) (This)->lpVtbl->Release(This) +/*** IHlinkSite methods ***/ +#define IHlinkSite_QueryService(This,dwSiteData,guidService,riid,ppiunk) (This)->lpVtbl->QueryService(This,dwSiteData,guidService,riid,ppiunk) +#define IHlinkSite_GetMoniker(This,dwSiteData,dwAssign,dwWhich,ppimk) (This)->lpVtbl->GetMoniker(This,dwSiteData,dwAssign,dwWhich,ppimk) +#define IHlinkSite_ReadyToNavigate(This,dwSiteData,dwReserved) (This)->lpVtbl->ReadyToNavigate(This,dwSiteData,dwReserved) +#define IHlinkSite_OnNavigationComplete(This,dwSiteData,dwreserved,hrError,pwzError) (This)->lpVtbl->OnNavigationComplete(This,dwSiteData,dwreserved,hrError,pwzError) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHlinkSite_QueryInterface(IHlinkSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHlinkSite_AddRef(IHlinkSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHlinkSite_Release(IHlinkSite* This) { + return This->lpVtbl->Release(This); +} +/*** IHlinkSite methods ***/ +static FORCEINLINE HRESULT IHlinkSite_QueryService(IHlinkSite* This,DWORD dwSiteData,REFGUID guidService,REFIID riid,IUnknown **ppiunk) { + return This->lpVtbl->QueryService(This,dwSiteData,guidService,riid,ppiunk); +} +static FORCEINLINE HRESULT IHlinkSite_GetMoniker(IHlinkSite* This,DWORD dwSiteData,DWORD dwAssign,DWORD dwWhich,IMoniker **ppimk) { + return This->lpVtbl->GetMoniker(This,dwSiteData,dwAssign,dwWhich,ppimk); +} +static FORCEINLINE HRESULT IHlinkSite_ReadyToNavigate(IHlinkSite* This,DWORD dwSiteData,DWORD dwReserved) { + return This->lpVtbl->ReadyToNavigate(This,dwSiteData,dwReserved); +} +static FORCEINLINE HRESULT IHlinkSite_OnNavigationComplete(IHlinkSite* This,DWORD dwSiteData,DWORD dwreserved,HRESULT hrError,LPCWSTR pwzError) { + return This->lpVtbl->OnNavigationComplete(This,dwSiteData,dwreserved,hrError,pwzError); +} +#endif +#endif + +#endif + + +#endif /* __IHlinkSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumHLITEM interface + */ +#ifndef __IEnumHLITEM_INTERFACE_DEFINED__ +#define __IEnumHLITEM_INTERFACE_DEFINED__ + +typedef IEnumHLITEM *LPENUMHLITEM; +typedef struct tagHLITEM { + ULONG uHLID; + LPWSTR pwzFriendlyName; +} HLITEM; +typedef HLITEM *LPHLITEM; +DEFINE_GUID(IID_IEnumHLITEM, 0x79eac9c6, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c6-baf9-11ce-8c82-00aa004ba90b") +IEnumHLITEM : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + HLITEM *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumHLITEM **ppienumhlitem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumHLITEM, 0x79eac9c6, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IEnumHLITEMVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumHLITEM *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumHLITEM *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumHLITEM *This); + + /*** IEnumHLITEM methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumHLITEM *This, + ULONG celt, + HLITEM *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumHLITEM *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumHLITEM *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumHLITEM *This, + IEnumHLITEM **ppienumhlitem); + + END_INTERFACE +} IEnumHLITEMVtbl; + +interface IEnumHLITEM { + CONST_VTBL IEnumHLITEMVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumHLITEM_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumHLITEM_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumHLITEM_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumHLITEM methods ***/ +#define IEnumHLITEM_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumHLITEM_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumHLITEM_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumHLITEM_Clone(This,ppienumhlitem) (This)->lpVtbl->Clone(This,ppienumhlitem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumHLITEM_QueryInterface(IEnumHLITEM* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumHLITEM_AddRef(IEnumHLITEM* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumHLITEM_Release(IEnumHLITEM* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumHLITEM methods ***/ +static FORCEINLINE HRESULT IEnumHLITEM_Next(IEnumHLITEM* This,ULONG celt,HLITEM *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumHLITEM_Skip(IEnumHLITEM* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumHLITEM_Reset(IEnumHLITEM* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumHLITEM_Clone(IEnumHLITEM* This,IEnumHLITEM **ppienumhlitem) { + return This->lpVtbl->Clone(This,ppienumhlitem); +} +#endif +#endif + +#endif + + +#endif /* __IEnumHLITEM_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHlinkBrowseContext interface + */ +#ifndef __IHlinkBrowseContext_INTERFACE_DEFINED__ +#define __IHlinkBrowseContext_INTERFACE_DEFINED__ + +typedef IHlinkBrowseContext *LPHLINKBROWSECONTEXT; +enum { + HLTB_DOCKEDLEFT = 0, + HLTB_DOCKEDTOP = 1, + HLTB_DOCKEDRIGHT = 2, + HLTB_DOCKEDBOTTOM = 3, + HLTB_FLOATING = 4 +}; +typedef struct _tagHLTBINFO { + ULONG uDockType; + RECT rcTbPos; +} HLTBINFO; +enum { + HLBWIF_HASFRAMEWNDINFO = 0x1, + HLBWIF_HASDOCWNDINFO = 0x2, + HLBWIF_FRAMEWNDMAXIMIZED = 0x4, + HLBWIF_DOCWNDMAXIMIZED = 0x8, + HLBWIF_HASWEBTOOLBARINFO = 0x10, + HLBWIF_WEBTOOLBARHIDDEN = 0x20 +}; +typedef struct _tagHLBWINFO { + ULONG cbSize; + DWORD grfHLBWIF; + RECT rcFramePos; + RECT rcDocPos; + HLTBINFO hltbinfo; +} HLBWINFO; +typedef HLBWINFO *LPHLBWINFO; +enum { + HLID_INVALID = 0x0, + HLID_PREVIOUS = 0xffffffff, + HLID_NEXT = 0xfffffffe, + HLID_CURRENT = 0xfffffffd, + HLID_STACKBOTTOM = 0xfffffffc, + HLID_STACKTOP = 0xfffffffb +}; +enum { + HLQF_ISVALID = 0x1, + HLQF_ISCURRENT = 0x2 +}; +#ifdef WINE_NO_UNICODE_MACROS +#undef GetObject +#endif +DEFINE_GUID(IID_IHlinkBrowseContext, 0x79eac9c7, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c7-baf9-11ce-8c82-00aa004ba90b") +IHlinkBrowseContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Register( + DWORD reserved, + IUnknown *piunk, + IMoniker *pimk, + DWORD *pdwRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + IMoniker *pimk, + BOOL fBindIfRootRegistered, + IUnknown **ppiunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revoke( + DWORD dwRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBrowseWindowInfo( + HLBWINFO *phlbwi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBrowseWindowInfo( + HLBWINFO *phlbwi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInitialHlink( + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNavigateHlink( + DWORD grfHLNF, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName, + ULONG *puHLID) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateHlink( + ULONG uHLID, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumNavigationStack( + DWORD dwReserved, + DWORD grfHLFNAMEF, + IEnumHLITEM **ppienumhlitem) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryHlink( + DWORD grfHLQF, + ULONG uHLID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHlink( + ULONG uHLID, + IHlink **ppihl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentHlink( + ULONG uHLID) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IUnknown *piunkOuter, + REFIID riid, + IUnknown **ppiunkObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + DWORD reserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHlinkBrowseContext, 0x79eac9c7, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHlinkBrowseContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHlinkBrowseContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHlinkBrowseContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHlinkBrowseContext *This); + + /*** IHlinkBrowseContext methods ***/ + HRESULT (STDMETHODCALLTYPE *Register)( + IHlinkBrowseContext *This, + DWORD reserved, + IUnknown *piunk, + IMoniker *pimk, + DWORD *pdwRegister); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IHlinkBrowseContext *This, + IMoniker *pimk, + BOOL fBindIfRootRegistered, + IUnknown **ppiunk); + + HRESULT (STDMETHODCALLTYPE *Revoke)( + IHlinkBrowseContext *This, + DWORD dwRegister); + + HRESULT (STDMETHODCALLTYPE *SetBrowseWindowInfo)( + IHlinkBrowseContext *This, + HLBWINFO *phlbwi); + + HRESULT (STDMETHODCALLTYPE *GetBrowseWindowInfo)( + IHlinkBrowseContext *This, + HLBWINFO *phlbwi); + + HRESULT (STDMETHODCALLTYPE *SetInitialHlink)( + IHlinkBrowseContext *This, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName); + + HRESULT (STDMETHODCALLTYPE *OnNavigateHlink)( + IHlinkBrowseContext *This, + DWORD grfHLNF, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName, + ULONG *puHLID); + + HRESULT (STDMETHODCALLTYPE *UpdateHlink)( + IHlinkBrowseContext *This, + ULONG uHLID, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName); + + HRESULT (STDMETHODCALLTYPE *EnumNavigationStack)( + IHlinkBrowseContext *This, + DWORD dwReserved, + DWORD grfHLFNAMEF, + IEnumHLITEM **ppienumhlitem); + + HRESULT (STDMETHODCALLTYPE *QueryHlink)( + IHlinkBrowseContext *This, + DWORD grfHLQF, + ULONG uHLID); + + HRESULT (STDMETHODCALLTYPE *GetHlink)( + IHlinkBrowseContext *This, + ULONG uHLID, + IHlink **ppihl); + + HRESULT (STDMETHODCALLTYPE *SetCurrentHlink)( + IHlinkBrowseContext *This, + ULONG uHLID); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IHlinkBrowseContext *This, + IUnknown *piunkOuter, + REFIID riid, + IUnknown **ppiunkObj); + + HRESULT (STDMETHODCALLTYPE *Close)( + IHlinkBrowseContext *This, + DWORD reserved); + + END_INTERFACE +} IHlinkBrowseContextVtbl; + +interface IHlinkBrowseContext { + CONST_VTBL IHlinkBrowseContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHlinkBrowseContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHlinkBrowseContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHlinkBrowseContext_Release(This) (This)->lpVtbl->Release(This) +/*** IHlinkBrowseContext methods ***/ +#define IHlinkBrowseContext_Register(This,reserved,piunk,pimk,pdwRegister) (This)->lpVtbl->Register(This,reserved,piunk,pimk,pdwRegister) +#define IHlinkBrowseContext_GetObject(This,pimk,fBindIfRootRegistered,ppiunk) (This)->lpVtbl->GetObject(This,pimk,fBindIfRootRegistered,ppiunk) +#define IHlinkBrowseContext_Revoke(This,dwRegister) (This)->lpVtbl->Revoke(This,dwRegister) +#define IHlinkBrowseContext_SetBrowseWindowInfo(This,phlbwi) (This)->lpVtbl->SetBrowseWindowInfo(This,phlbwi) +#define IHlinkBrowseContext_GetBrowseWindowInfo(This,phlbwi) (This)->lpVtbl->GetBrowseWindowInfo(This,phlbwi) +#define IHlinkBrowseContext_SetInitialHlink(This,pimkTarget,pwzLocation,pwzFriendlyName) (This)->lpVtbl->SetInitialHlink(This,pimkTarget,pwzLocation,pwzFriendlyName) +#define IHlinkBrowseContext_OnNavigateHlink(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,puHLID) (This)->lpVtbl->OnNavigateHlink(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,puHLID) +#define IHlinkBrowseContext_UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName) (This)->lpVtbl->UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName) +#define IHlinkBrowseContext_EnumNavigationStack(This,dwReserved,grfHLFNAMEF,ppienumhlitem) (This)->lpVtbl->EnumNavigationStack(This,dwReserved,grfHLFNAMEF,ppienumhlitem) +#define IHlinkBrowseContext_QueryHlink(This,grfHLQF,uHLID) (This)->lpVtbl->QueryHlink(This,grfHLQF,uHLID) +#define IHlinkBrowseContext_GetHlink(This,uHLID,ppihl) (This)->lpVtbl->GetHlink(This,uHLID,ppihl) +#define IHlinkBrowseContext_SetCurrentHlink(This,uHLID) (This)->lpVtbl->SetCurrentHlink(This,uHLID) +#define IHlinkBrowseContext_Clone(This,piunkOuter,riid,ppiunkObj) (This)->lpVtbl->Clone(This,piunkOuter,riid,ppiunkObj) +#define IHlinkBrowseContext_Close(This,reserved) (This)->lpVtbl->Close(This,reserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHlinkBrowseContext_QueryInterface(IHlinkBrowseContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHlinkBrowseContext_AddRef(IHlinkBrowseContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHlinkBrowseContext_Release(IHlinkBrowseContext* This) { + return This->lpVtbl->Release(This); +} +/*** IHlinkBrowseContext methods ***/ +static FORCEINLINE HRESULT IHlinkBrowseContext_Register(IHlinkBrowseContext* This,DWORD reserved,IUnknown *piunk,IMoniker *pimk,DWORD *pdwRegister) { + return This->lpVtbl->Register(This,reserved,piunk,pimk,pdwRegister); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_GetObject(IHlinkBrowseContext* This,IMoniker *pimk,BOOL fBindIfRootRegistered,IUnknown **ppiunk) { + return This->lpVtbl->GetObject(This,pimk,fBindIfRootRegistered,ppiunk); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_Revoke(IHlinkBrowseContext* This,DWORD dwRegister) { + return This->lpVtbl->Revoke(This,dwRegister); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_SetBrowseWindowInfo(IHlinkBrowseContext* This,HLBWINFO *phlbwi) { + return This->lpVtbl->SetBrowseWindowInfo(This,phlbwi); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_GetBrowseWindowInfo(IHlinkBrowseContext* This,HLBWINFO *phlbwi) { + return This->lpVtbl->GetBrowseWindowInfo(This,phlbwi); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_SetInitialHlink(IHlinkBrowseContext* This,IMoniker *pimkTarget,LPCWSTR pwzLocation,LPCWSTR pwzFriendlyName) { + return This->lpVtbl->SetInitialHlink(This,pimkTarget,pwzLocation,pwzFriendlyName); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_OnNavigateHlink(IHlinkBrowseContext* This,DWORD grfHLNF,IMoniker *pimkTarget,LPCWSTR pwzLocation,LPCWSTR pwzFriendlyName,ULONG *puHLID) { + return This->lpVtbl->OnNavigateHlink(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,puHLID); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_UpdateHlink(IHlinkBrowseContext* This,ULONG uHLID,IMoniker *pimkTarget,LPCWSTR pwzLocation,LPCWSTR pwzFriendlyName) { + return This->lpVtbl->UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_EnumNavigationStack(IHlinkBrowseContext* This,DWORD dwReserved,DWORD grfHLFNAMEF,IEnumHLITEM **ppienumhlitem) { + return This->lpVtbl->EnumNavigationStack(This,dwReserved,grfHLFNAMEF,ppienumhlitem); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_QueryHlink(IHlinkBrowseContext* This,DWORD grfHLQF,ULONG uHLID) { + return This->lpVtbl->QueryHlink(This,grfHLQF,uHLID); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_GetHlink(IHlinkBrowseContext* This,ULONG uHLID,IHlink **ppihl) { + return This->lpVtbl->GetHlink(This,uHLID,ppihl); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_SetCurrentHlink(IHlinkBrowseContext* This,ULONG uHLID) { + return This->lpVtbl->SetCurrentHlink(This,uHLID); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_Clone(IHlinkBrowseContext* This,IUnknown *piunkOuter,REFIID riid,IUnknown **ppiunkObj) { + return This->lpVtbl->Clone(This,piunkOuter,riid,ppiunkObj); +} +static FORCEINLINE HRESULT IHlinkBrowseContext_Close(IHlinkBrowseContext* This,DWORD reserved) { + return This->lpVtbl->Close(This,reserved); +} +#endif +#endif + +#endif + + +#endif /* __IHlinkBrowseContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHlinkTarget interface + */ +#ifndef __IHlinkTarget_INTERFACE_DEFINED__ +#define __IHlinkTarget_INTERFACE_DEFINED__ + +typedef IHlinkTarget *LPHLINKTARGET; +DEFINE_GUID(IID_IHlinkTarget, 0x79eac9c4, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c4-baf9-11ce-8c82-00aa004ba90b") +IHlinkTarget : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetBrowseContext( + IHlinkBrowseContext *pihlbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBrowseContext( + IHlinkBrowseContext **ppihlbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE Navigate( + DWORD grfHLNF, + LPCWSTR pwzJumpLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMoniker( + LPCWSTR pwzLocation, + DWORD dwAssign, + IMoniker **ppimkLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFriendlyName( + LPCWSTR pwzLocation, + LPWSTR *ppwzFriendlyName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHlinkTarget, 0x79eac9c4, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHlinkTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHlinkTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHlinkTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHlinkTarget *This); + + /*** IHlinkTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *SetBrowseContext)( + IHlinkTarget *This, + IHlinkBrowseContext *pihlbc); + + HRESULT (STDMETHODCALLTYPE *GetBrowseContext)( + IHlinkTarget *This, + IHlinkBrowseContext **ppihlbc); + + HRESULT (STDMETHODCALLTYPE *Navigate)( + IHlinkTarget *This, + DWORD grfHLNF, + LPCWSTR pwzJumpLocation); + + HRESULT (STDMETHODCALLTYPE *GetMoniker)( + IHlinkTarget *This, + LPCWSTR pwzLocation, + DWORD dwAssign, + IMoniker **ppimkLocation); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IHlinkTarget *This, + LPCWSTR pwzLocation, + LPWSTR *ppwzFriendlyName); + + END_INTERFACE +} IHlinkTargetVtbl; + +interface IHlinkTarget { + CONST_VTBL IHlinkTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHlinkTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHlinkTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHlinkTarget_Release(This) (This)->lpVtbl->Release(This) +/*** IHlinkTarget methods ***/ +#define IHlinkTarget_SetBrowseContext(This,pihlbc) (This)->lpVtbl->SetBrowseContext(This,pihlbc) +#define IHlinkTarget_GetBrowseContext(This,ppihlbc) (This)->lpVtbl->GetBrowseContext(This,ppihlbc) +#define IHlinkTarget_Navigate(This,grfHLNF,pwzJumpLocation) (This)->lpVtbl->Navigate(This,grfHLNF,pwzJumpLocation) +#define IHlinkTarget_GetMoniker(This,pwzLocation,dwAssign,ppimkLocation) (This)->lpVtbl->GetMoniker(This,pwzLocation,dwAssign,ppimkLocation) +#define IHlinkTarget_GetFriendlyName(This,pwzLocation,ppwzFriendlyName) (This)->lpVtbl->GetFriendlyName(This,pwzLocation,ppwzFriendlyName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHlinkTarget_QueryInterface(IHlinkTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHlinkTarget_AddRef(IHlinkTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHlinkTarget_Release(IHlinkTarget* This) { + return This->lpVtbl->Release(This); +} +/*** IHlinkTarget methods ***/ +static FORCEINLINE HRESULT IHlinkTarget_SetBrowseContext(IHlinkTarget* This,IHlinkBrowseContext *pihlbc) { + return This->lpVtbl->SetBrowseContext(This,pihlbc); +} +static FORCEINLINE HRESULT IHlinkTarget_GetBrowseContext(IHlinkTarget* This,IHlinkBrowseContext **ppihlbc) { + return This->lpVtbl->GetBrowseContext(This,ppihlbc); +} +static FORCEINLINE HRESULT IHlinkTarget_Navigate(IHlinkTarget* This,DWORD grfHLNF,LPCWSTR pwzJumpLocation) { + return This->lpVtbl->Navigate(This,grfHLNF,pwzJumpLocation); +} +static FORCEINLINE HRESULT IHlinkTarget_GetMoniker(IHlinkTarget* This,LPCWSTR pwzLocation,DWORD dwAssign,IMoniker **ppimkLocation) { + return This->lpVtbl->GetMoniker(This,pwzLocation,dwAssign,ppimkLocation); +} +static FORCEINLINE HRESULT IHlinkTarget_GetFriendlyName(IHlinkTarget* This,LPCWSTR pwzLocation,LPWSTR *ppwzFriendlyName) { + return This->lpVtbl->GetFriendlyName(This,pwzLocation,ppwzFriendlyName); +} +#endif +#endif + +#endif + + +#endif /* __IHlinkTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHlinkFrame interface + */ +#ifndef __IHlinkFrame_INTERFACE_DEFINED__ +#define __IHlinkFrame_INTERFACE_DEFINED__ + +typedef IHlinkFrame *LPHLINKFRAME; +DEFINE_GUID(IID_IHlinkFrame, 0x79eac9c5, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c5-baf9-11ce-8c82-00aa004ba90b") +IHlinkFrame : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetBrowseContext( + IHlinkBrowseContext *pihlbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBrowseContext( + IHlinkBrowseContext **ppihlbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE Navigate( + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + IHlink *pihlNavigate) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNavigate( + DWORD grfHLNF, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName, + DWORD dwreserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateHlink( + ULONG uHLID, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHlinkFrame, 0x79eac9c5, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHlinkFrameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHlinkFrame *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHlinkFrame *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHlinkFrame *This); + + /*** IHlinkFrame methods ***/ + HRESULT (STDMETHODCALLTYPE *SetBrowseContext)( + IHlinkFrame *This, + IHlinkBrowseContext *pihlbc); + + HRESULT (STDMETHODCALLTYPE *GetBrowseContext)( + IHlinkFrame *This, + IHlinkBrowseContext **ppihlbc); + + HRESULT (STDMETHODCALLTYPE *Navigate)( + IHlinkFrame *This, + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + IHlink *pihlNavigate); + + HRESULT (STDMETHODCALLTYPE *OnNavigate)( + IHlinkFrame *This, + DWORD grfHLNF, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName, + DWORD dwreserved); + + HRESULT (STDMETHODCALLTYPE *UpdateHlink)( + IHlinkFrame *This, + ULONG uHLID, + IMoniker *pimkTarget, + LPCWSTR pwzLocation, + LPCWSTR pwzFriendlyName); + + END_INTERFACE +} IHlinkFrameVtbl; + +interface IHlinkFrame { + CONST_VTBL IHlinkFrameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHlinkFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHlinkFrame_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHlinkFrame_Release(This) (This)->lpVtbl->Release(This) +/*** IHlinkFrame methods ***/ +#define IHlinkFrame_SetBrowseContext(This,pihlbc) (This)->lpVtbl->SetBrowseContext(This,pihlbc) +#define IHlinkFrame_GetBrowseContext(This,ppihlbc) (This)->lpVtbl->GetBrowseContext(This,ppihlbc) +#define IHlinkFrame_Navigate(This,grfHLNF,pbc,pibsc,pihlNavigate) (This)->lpVtbl->Navigate(This,grfHLNF,pbc,pibsc,pihlNavigate) +#define IHlinkFrame_OnNavigate(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,dwreserved) (This)->lpVtbl->OnNavigate(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,dwreserved) +#define IHlinkFrame_UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName) (This)->lpVtbl->UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHlinkFrame_QueryInterface(IHlinkFrame* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHlinkFrame_AddRef(IHlinkFrame* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHlinkFrame_Release(IHlinkFrame* This) { + return This->lpVtbl->Release(This); +} +/*** IHlinkFrame methods ***/ +static FORCEINLINE HRESULT IHlinkFrame_SetBrowseContext(IHlinkFrame* This,IHlinkBrowseContext *pihlbc) { + return This->lpVtbl->SetBrowseContext(This,pihlbc); +} +static FORCEINLINE HRESULT IHlinkFrame_GetBrowseContext(IHlinkFrame* This,IHlinkBrowseContext **ppihlbc) { + return This->lpVtbl->GetBrowseContext(This,ppihlbc); +} +static FORCEINLINE HRESULT IHlinkFrame_Navigate(IHlinkFrame* This,DWORD grfHLNF,LPBC pbc,IBindStatusCallback *pibsc,IHlink *pihlNavigate) { + return This->lpVtbl->Navigate(This,grfHLNF,pbc,pibsc,pihlNavigate); +} +static FORCEINLINE HRESULT IHlinkFrame_OnNavigate(IHlinkFrame* This,DWORD grfHLNF,IMoniker *pimkTarget,LPCWSTR pwzLocation,LPCWSTR pwzFriendlyName,DWORD dwreserved) { + return This->lpVtbl->OnNavigate(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,dwreserved); +} +static FORCEINLINE HRESULT IHlinkFrame_UpdateHlink(IHlinkFrame* This,ULONG uHLID,IMoniker *pimkTarget,LPCWSTR pwzLocation,LPCWSTR pwzFriendlyName) { + return This->lpVtbl->UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName); +} +#endif +#endif + +#endif + + +#endif /* __IHlinkFrame_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IExtensionServices interface + */ +#ifndef __IExtensionServices_INTERFACE_DEFINED__ +#define __IExtensionServices_INTERFACE_DEFINED__ + +typedef IExtensionServices *LPEXTENSIONSERVICES; +DEFINE_GUID(IID_IExtensionServices, 0x79eac9cb, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9cb-baf9-11ce-8c82-00aa004ba90b") +IExtensionServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAdditionalHeaders( + LPCWSTR pwzAdditionalHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAuthenticateData( + HWND phwnd, + LPCWSTR pwzUsername, + LPCWSTR pwzPassword) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExtensionServices, 0x79eac9cb, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IExtensionServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExtensionServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExtensionServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExtensionServices *This); + + /*** IExtensionServices methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAdditionalHeaders)( + IExtensionServices *This, + LPCWSTR pwzAdditionalHeaders); + + HRESULT (STDMETHODCALLTYPE *SetAuthenticateData)( + IExtensionServices *This, + HWND phwnd, + LPCWSTR pwzUsername, + LPCWSTR pwzPassword); + + END_INTERFACE +} IExtensionServicesVtbl; + +interface IExtensionServices { + CONST_VTBL IExtensionServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExtensionServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExtensionServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExtensionServices_Release(This) (This)->lpVtbl->Release(This) +/*** IExtensionServices methods ***/ +#define IExtensionServices_SetAdditionalHeaders(This,pwzAdditionalHeaders) (This)->lpVtbl->SetAdditionalHeaders(This,pwzAdditionalHeaders) +#define IExtensionServices_SetAuthenticateData(This,phwnd,pwzUsername,pwzPassword) (This)->lpVtbl->SetAuthenticateData(This,phwnd,pwzUsername,pwzPassword) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExtensionServices_QueryInterface(IExtensionServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExtensionServices_AddRef(IExtensionServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExtensionServices_Release(IExtensionServices* This) { + return This->lpVtbl->Release(This); +} +/*** IExtensionServices methods ***/ +static FORCEINLINE HRESULT IExtensionServices_SetAdditionalHeaders(IExtensionServices* This,LPCWSTR pwzAdditionalHeaders) { + return This->lpVtbl->SetAdditionalHeaders(This,pwzAdditionalHeaders); +} +static FORCEINLINE HRESULT IExtensionServices_SetAuthenticateData(IExtensionServices* This,HWND phwnd,LPCWSTR pwzUsername,LPCWSTR pwzPassword) { + return This->lpVtbl->SetAuthenticateData(This,phwnd,pwzUsername,pwzPassword); +} +#endif +#endif + +#endif + + +#endif /* __IExtensionServices_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __hlink_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlink.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlink.idl new file mode 100644 index 0000000..e735987 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hlink.idl @@ -0,0 +1,441 @@ +/* + * Copyright 2005 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "urlmon.idl"; + +interface IHlink; +interface IHlinkSite; +interface IHlinkFrame; +interface IHlinkBrowseContext; + +cpp_quote("HRESULT WINAPI HlinkCreateFromMoniker(IMoniker*, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") +cpp_quote("HRESULT WINAPI HlinkCreateFromString(LPCWSTR, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") +cpp_quote("HRESULT WINAPI HlinkCreateFromData(IDataObject*, IHlinkSite*, DWORD dwSiteData, IUnknown*, REFIID, void**);") +cpp_quote("HRESULT WINAPI HlinkCreateExtensionServices(LPCWSTR, HWND, LPCWSTR, LPCWSTR, IUnknown*, REFIID, void**);") +cpp_quote("HRESULT WINAPI HlinkQueryCreateFromData(IDataObject*);") +cpp_quote("HRESULT WINAPI HlinkClone(IHlink*, REFIID, IHlinkSite*, DWORD, void **);") +cpp_quote("HRESULT WINAPI HlinkCreateBrowseContext(IUnknown*, REFIID, void **);") +cpp_quote("HRESULT WINAPI HlinkNavigateToStringReference(LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*);") +cpp_quote("HRESULT WINAPI HlinkNavigate(IHlink*, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*);") +cpp_quote("HRESULT WINAPI HlinkOnNavigate(IHlinkFrame*, IHlinkBrowseContext*, DWORD, IMoniker*, LPCWSTR, LPCWSTR, ULONG*);") +cpp_quote("HRESULT WINAPI HlinkIsShortcut(LPCWSTR);") +cpp_quote("HRESULT WINAPI HlinkTranslateURL(LPCWSTR,DWORD,LPWSTR*);") +cpp_quote("HRESULT WINAPI HlinkParseDisplayName(LPBC,LPCWSTR,BOOL,ULONG*,IMoniker**);") +cpp_quote("HRESULT WINAPI HlinkResolveMonikerForData(LPMONIKER,DWORD,LPBC,ULONG,FORMATETC*,IBindStatusCallback*,LPMONIKER);") +cpp_quote("HRESULT WINAPI HlinkUpdateStackItem(IHlinkFrame*, IHlinkBrowseContext*, ULONG, IMoniker*, LPCWSTR, LPCWSTR);") + +typedef enum _HLSR_NOREDEF10 { + HLSR_HOME, + HLSR_SEARCHPAGE, + HLSR_HISTORYFOLDER +} HLSR; + +cpp_quote("HRESULT WINAPI HlinkSetSpecialReference(ULONG uReference, LPCWSTR pwzReference);") +cpp_quote("HRESULT WINAPI HlinkGetSpecialReference(ULONG uReference, LPWSTR *ppwzReference);") + +cpp_quote("#define SID_SHlinkFrame IID_IHlinkFrame") + +/***************************************************************************** + * IHlink interface + */ +[ + object, + uuid(79EAC9C3-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IHlink: IUnknown +{ + typedef [unique] IHlink *LPHLINK; + + typedef enum { + HLNF_INTERNALJUMP = 0x00000001, + HLNF_OPENINNEWWINDOW = 0x00000002, + HLNF_NAVIGATINGBACK = 0x00000004, + HLNF_NAVIGATINGFORWARD = 0x00000008, + HLNF_NAVIGATINGTOSTACKITEM = 0x00000010, + HLNF_CREATENOHISTORY = 0x00000020 + } HLNF; + + typedef enum { + HLINKGETREF_DEFAULT = 0, + HLINKGETREF_ABSOLUTE = 1, + HLINKGETREF_RELATIVE = 2, + } HLINKGETREF; + + typedef enum { + HLFNAMEF_DEFAULT = 0x00000000, + HLFNAMEF_TRYCACHE = 0x00000001, + HLFNAMEF_TRYPRETTYTARGET = 0x00000002, + HLFNAMEF_TRYFULLTARGET = 0x00000004, + HLFNAMEF_TRYWIN95SHORTCUT = 0x00000008 + } HLFNAMEF; + + typedef enum { + HLINKMISC_RELATIVE = 0x00000001, + } HLINKMISC; + + typedef enum { + HLINKSETF_TARGET = 0x00000001, + HLINKSETF_LOCATION = 0x00000002 + } HLINKSETF; + + HRESULT SetHlinkSite( + [in, unique] IHlinkSite *pihlSite, + [in] DWORD dwSiteData); + + HRESULT GetHlinkSite( + [out] IHlinkSite **ppihlSite, + [out] DWORD *pdwSiteData); + + HRESULT SetMonikerReference( + [in] DWORD grfHLSETF, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation); + + HRESULT GetMonikerReference( + [in] DWORD dwWhichRef, + [out] IMoniker **ppimkTarget, + [out] LPWSTR *ppwzLocation); + + HRESULT SetStringReference( + [in] DWORD grfHLSETF, + [in, unique] LPCWSTR pwzTarget, + [in, unique] LPCWSTR pwzLocation); + + HRESULT GetStringReference( + [in] DWORD dwWhichRef, + [out] LPWSTR *ppwzTarget, + [out] LPWSTR *ppwzLocation); + + HRESULT SetFriendlyName( + [in, unique] LPCWSTR pwzFriendlyName); + + HRESULT GetFriendlyName( + [in] DWORD grfHLFNAMEF, + [out] LPWSTR *ppwzFriendlyName); + + HRESULT SetTargetFrameName( + [in, unique] LPCWSTR pwzTargetFrameName); + + HRESULT GetTargetFrameName( + [out] LPWSTR *ppwzTargetFrameName); + + HRESULT GetMiscStatus( + [out] DWORD *pdwStatus); + + HRESULT Navigate( + [in] DWORD grfHLNF, + [in, unique] LPBC pibc, + [in, unique] IBindStatusCallback *pibsc, + [in, unique] IHlinkBrowseContext *pihlbc); + + HRESULT SetAdditionalParams( + [in, unique] LPCWSTR pwzAdditionalParams); + + HRESULT GetAdditionalParams( + [out] LPWSTR *ppwzAdditionalParams); +} + +/***************************************************************************** + * IHlinkSite interface + */ +[ + object, + uuid(79EAC9C2-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IHlinkSite: IUnknown +{ + typedef [unique] IHlinkSite *LPHLINKSITE; + + typedef enum { + HLINKWHICHMK_CONTAINER = 1, + HLINKWHICHMK_BASE = 2, + } HLINKWHICHMK; + + HRESULT QueryService( + [in] DWORD dwSiteData, + [in] REFGUID guidService, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppiunk); + + HRESULT GetMoniker( + [in] DWORD dwSiteData, + [in] DWORD dwAssign, + [in] DWORD dwWhich, + [out] IMoniker **ppimk); + + HRESULT ReadyToNavigate( + [in] DWORD dwSiteData, + [in] DWORD dwReserved); + + HRESULT OnNavigationComplete( + [in] DWORD dwSiteData, + [in] DWORD dwreserved, + [in] HRESULT hrError, + [in, unique] LPCWSTR pwzError); +} + +/***************************************************************************** + * IEnumHLITEM interface + */ +[ + local, + object, + uuid(79EAC9C6-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IEnumHLITEM : IUnknown +{ + typedef [unique] IEnumHLITEM *LPENUMHLITEM; + + typedef struct tagHLITEM { + ULONG uHLID; + LPWSTR pwzFriendlyName; + } HLITEM; + typedef [unique] HLITEM *LPHLITEM; + + HRESULT Next( + [in] ULONG celt, + [out] HLITEM *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumHLITEM **ppienumhlitem); +} + +/***************************************************************************** + * IHlinkBrowseContext interface + */ +[ + local, + object, + uuid(79EAC9C7-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IHlinkBrowseContext : IUnknown +{ + typedef [unique] IHlinkBrowseContext *LPHLINKBROWSECONTEXT; + + enum { + HLTB_DOCKEDLEFT = 0, + HLTB_DOCKEDTOP = 1, + HLTB_DOCKEDRIGHT = 2, + HLTB_DOCKEDBOTTOM = 3, + HLTB_FLOATING = 4 + }; + + typedef struct _tagHLTBINFO { + ULONG uDockType; + RECT rcTbPos; + } HLTBINFO; + + enum { + HLBWIF_HASFRAMEWNDINFO = 0x00000001, + HLBWIF_HASDOCWNDINFO = 0x00000002, + HLBWIF_FRAMEWNDMAXIMIZED = 0x00000004, + HLBWIF_DOCWNDMAXIMIZED = 0x00000008, + HLBWIF_HASWEBTOOLBARINFO = 0x00000010, + HLBWIF_WEBTOOLBARHIDDEN = 0x00000020 + }; + + typedef struct _tagHLBWINFO { + ULONG cbSize; + DWORD grfHLBWIF; + RECT rcFramePos; + RECT rcDocPos; + HLTBINFO hltbinfo; + } HLBWINFO; + + typedef [unique] HLBWINFO *LPHLBWINFO; + + enum { + HLID_INVALID = 0x00000000, + HLID_PREVIOUS = 0xFFFFFFFF, + HLID_NEXT = 0xFFFFFFFE, + HLID_CURRENT = 0xFFFFFFFD, + HLID_STACKBOTTOM = 0xFFFFFFFC, + HLID_STACKTOP = 0xFFFFFFFB + }; + + enum { + HLQF_ISVALID = 0x00000001, + HLQF_ISCURRENT = 0x00000002 + }; + + HRESULT Register( + [in] DWORD reserved, + [in, unique] IUnknown *piunk, + [in, unique] IMoniker *pimk, + [out] DWORD *pdwRegister); + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetObject") +cpp_quote("#endif") + + HRESULT GetObject( + [in, unique] IMoniker *pimk, + [in] BOOL fBindIfRootRegistered, + [out] IUnknown **ppiunk); + + HRESULT Revoke( + [in] DWORD dwRegister); + + HRESULT SetBrowseWindowInfo( + [in, unique] HLBWINFO *phlbwi); + + HRESULT GetBrowseWindowInfo( + [out] HLBWINFO *phlbwi); + + HRESULT SetInitialHlink( + [in, unique] IMoniker * pimkTarget, + [in, unique] LPCWSTR pwzLocation, + [in, unique] LPCWSTR pwzFriendlyName); + + HRESULT OnNavigateHlink( + [in] DWORD grfHLNF, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation, + [in, unique] LPCWSTR pwzFriendlyName, + [out] ULONG *puHLID); + + HRESULT UpdateHlink( + [in] ULONG uHLID, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation, + [in, unique] LPCWSTR pwzFriendlyName); + + HRESULT EnumNavigationStack( + [in] DWORD dwReserved, + [in] DWORD grfHLFNAMEF, + [out] IEnumHLITEM **ppienumhlitem); + + HRESULT QueryHlink( + [in] DWORD grfHLQF, + [in] ULONG uHLID); + + HRESULT GetHlink( + [in] ULONG uHLID, + [out] IHlink **ppihl); + + HRESULT SetCurrentHlink( + [in] ULONG uHLID); + + HRESULT Clone( + [in, unique] IUnknown *piunkOuter, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppiunkObj); + + HRESULT Close( + [in] DWORD reserved); +} + + +/***************************************************************************** + * IHlinkTarget interface + */ +[ + object, + uuid(79EAC9C4-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IHlinkTarget : IUnknown +{ + typedef [unique] IHlinkTarget *LPHLINKTARGET; + + HRESULT SetBrowseContext( + [in, unique] IHlinkBrowseContext *pihlbc); + + HRESULT GetBrowseContext( + [out] IHlinkBrowseContext **ppihlbc); + + HRESULT Navigate( + [in] DWORD grfHLNF, + [in, unique] LPCWSTR pwzJumpLocation); + + HRESULT GetMoniker( + [in,unique] LPCWSTR pwzLocation, + [in] DWORD dwAssign, + [out] IMoniker **ppimkLocation); + + HRESULT GetFriendlyName( + [in,unique] LPCWSTR pwzLocation, + [out] LPWSTR *ppwzFriendlyName); +} + +/***************************************************************************** + * IHlinkFrame interface + */ +[ + object, + uuid(79eac9c5-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] + +interface IHlinkFrame : IUnknown +{ + typedef IHlinkFrame *LPHLINKFRAME; + + HRESULT SetBrowseContext( + [in, unique] IHlinkBrowseContext * pihlbc); + HRESULT GetBrowseContext( + [out] IHlinkBrowseContext ** ppihlbc); + HRESULT Navigate( + [in] DWORD grfHLNF, + [in, unique] LPBC pbc, + [in, unique] IBindStatusCallback *pibsc, + [in, unique] IHlink *pihlNavigate); + HRESULT OnNavigate( + [in] DWORD grfHLNF, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation, + [in, unique] LPCWSTR pwzFriendlyName, + [in] DWORD dwreserved); + HRESULT UpdateHlink( + [in] ULONG uHLID, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation, + [in, unique] LPCWSTR pwzFriendlyName); +} + +/***************************************************************************** + * IExtensionServices interface + */ +[ + object, + uuid(79eac9cb-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] + +interface IExtensionServices: IUnknown +{ + typedef IExtensionServices *LPEXTENSIONSERVICES; + + HRESULT SetAdditionalHeaders( + [in] LPCWSTR pwzAdditionalHeaders); + + HRESULT SetAuthenticateData( + [in] HWND phwnd, + [in] LPCWSTR pwzUsername, + [in] LPCWSTR pwzPassword); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hstring.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hstring.h new file mode 100644 index 0000000..da855ce --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hstring.h @@ -0,0 +1,54 @@ +/*** Autogenerated by WIDL 2.18 from hstring.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __hstring_h__ +#define __hstring_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct HSTRING__ { + int unused; +} HSTRING__; +typedef HSTRING__ *HSTRING; +DECLARE_HANDLE(HSTRING_BUFFER); +typedef struct HSTRING_HEADER +{ + union + { + PVOID Reserved1; +#ifdef _WIN64 + char Reserved2[24]; +#else + char Reserved2[20]; +#endif + } Reserved; +} HSTRING_HEADER; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __hstring_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hstring.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hstring.idl new file mode 100644 index 0000000..2623f34 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/hstring.idl @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2014 Martin Storsjo + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; + +typedef struct HSTRING__ +{ + int unused; +} HSTRING__; + +typedef [wire_marshal(wireBSTR), unique] HSTRING__* HSTRING; + +cpp_quote("DECLARE_HANDLE(HSTRING_BUFFER);") + +cpp_quote("typedef struct HSTRING_HEADER") +cpp_quote("{") +cpp_quote(" union") +cpp_quote(" {") +cpp_quote(" PVOID Reserved1;") +cpp_quote("#ifdef _WIN64") +cpp_quote(" char Reserved2[24];") +cpp_quote("#else") +cpp_quote(" char Reserved2[20];") +cpp_quote("#endif") +cpp_quote(" } Reserved;") +cpp_quote("} HSTRING_HEADER;") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiface.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiface.h new file mode 100644 index 0000000..3179c5a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiface.h @@ -0,0 +1,618 @@ +/*** Autogenerated by WIDL 2.18 from htiface.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __htiface_h__ +#define __htiface_h__ + +/* Forward declarations */ + +#ifndef __ITargetFrame_FWD_DEFINED__ +#define __ITargetFrame_FWD_DEFINED__ +typedef interface ITargetFrame ITargetFrame; +#ifdef __cplusplus +interface ITargetFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __ITargetFramePriv_FWD_DEFINED__ +#define __ITargetFramePriv_FWD_DEFINED__ +typedef interface ITargetFramePriv ITargetFramePriv; +#ifdef __cplusplus +interface ITargetFramePriv; +#endif /* __cplusplus */ +#endif + +#ifndef __ITargetFramePriv2_FWD_DEFINED__ +#define __ITargetFramePriv2_FWD_DEFINED__ +typedef interface ITargetFramePriv2 ITargetFramePriv2; +#ifdef __cplusplus +interface ITargetFramePriv2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +/***************************************************************************** + * ITargetFrame interface + */ +#ifndef __ITargetFrame_INTERFACE_DEFINED__ +#define __ITargetFrame_INTERFACE_DEFINED__ + +typedef ITargetFrame *LPTARGETFRAME; +typedef enum __WIDL_htiface_generated_name_00000011 { + NAVIGATEFRAME_FL_RECORD = 0x1, + NAVIGATEFRAME_FL_POST = 0x2, + NAVIGATEFRAME_FL_NO_DOC_CACHE = 0x4, + NAVIGATEFRAME_FL_NO_IMAGE_CACHE = 0x8, + NAVIGATEFRAME_FL_AUTH_FAIL_CACHE_OK = 0x10, + NAVIGATEFRAME_FL_SENDING_FROM_FORM = 0x20, + NAVIGATEFRAME_FL_REALLY_SENDING_FROM_FORM = 0x40 +} NAVIGATEFRAME_FLAGS; +typedef struct tagNavigateData { + ULONG ulTarget; + ULONG ulURL; + ULONG ulRefURL; + ULONG ulPostData; + DWORD dwFlags; +} NAVIGATEDATA; +DEFINE_GUID(IID_ITargetFrame, 0xd5f78c80, 0x5252, 0x11cf, 0x90,0xfa, 0x00,0xaa,0x00,0x42,0x10,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d5f78c80-5252-11cf-90fa-00aa0042106e") +ITargetFrame : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFrameName( + LPCWSTR pszFrameName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameName( + LPWSTR *ppszFrameName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParentFrame( + IUnknown **ppunkParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFrame( + LPCWSTR pszTargetName, + IUnknown *ppunkContextFrame, + DWORD dwFlags, + IUnknown **ppunkTargetFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrameSrc( + LPCWSTR pszFrameSrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameSrc( + LPWSTR *ppszFrameSrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFramesContainer( + IOleContainer **ppContainer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrameOptions( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameOptions( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrameMargins( + DWORD dwWidth, + DWORD dwHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameMargins( + DWORD *pdwWidth, + DWORD *pdwHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoteNavigate( + ULONG cLength, + ULONG *pulData) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnChildFrameActivate( + IUnknown *pUnkChildFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnChildFrameDeactivate( + IUnknown *pUnkChildFrame) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetFrame, 0xd5f78c80, 0x5252, 0x11cf, 0x90,0xfa, 0x00,0xaa,0x00,0x42,0x10,0x6e) +#endif +#else +typedef struct ITargetFrameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetFrame *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetFrame *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetFrame *This); + + /*** ITargetFrame methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFrameName)( + ITargetFrame *This, + LPCWSTR pszFrameName); + + HRESULT (STDMETHODCALLTYPE *GetFrameName)( + ITargetFrame *This, + LPWSTR *ppszFrameName); + + HRESULT (STDMETHODCALLTYPE *GetParentFrame)( + ITargetFrame *This, + IUnknown **ppunkParent); + + HRESULT (STDMETHODCALLTYPE *FindFrame)( + ITargetFrame *This, + LPCWSTR pszTargetName, + IUnknown *ppunkContextFrame, + DWORD dwFlags, + IUnknown **ppunkTargetFrame); + + HRESULT (STDMETHODCALLTYPE *SetFrameSrc)( + ITargetFrame *This, + LPCWSTR pszFrameSrc); + + HRESULT (STDMETHODCALLTYPE *GetFrameSrc)( + ITargetFrame *This, + LPWSTR *ppszFrameSrc); + + HRESULT (STDMETHODCALLTYPE *GetFramesContainer)( + ITargetFrame *This, + IOleContainer **ppContainer); + + HRESULT (STDMETHODCALLTYPE *SetFrameOptions)( + ITargetFrame *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFrameOptions)( + ITargetFrame *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetFrameMargins)( + ITargetFrame *This, + DWORD dwWidth, + DWORD dwHeight); + + HRESULT (STDMETHODCALLTYPE *GetFrameMargins)( + ITargetFrame *This, + DWORD *pdwWidth, + DWORD *pdwHeight); + + HRESULT (STDMETHODCALLTYPE *RemoteNavigate)( + ITargetFrame *This, + ULONG cLength, + ULONG *pulData); + + HRESULT (STDMETHODCALLTYPE *OnChildFrameActivate)( + ITargetFrame *This, + IUnknown *pUnkChildFrame); + + HRESULT (STDMETHODCALLTYPE *OnChildFrameDeactivate)( + ITargetFrame *This, + IUnknown *pUnkChildFrame); + + END_INTERFACE +} ITargetFrameVtbl; + +interface ITargetFrame { + CONST_VTBL ITargetFrameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetFrame_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetFrame_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetFrame methods ***/ +#define ITargetFrame_SetFrameName(This,pszFrameName) (This)->lpVtbl->SetFrameName(This,pszFrameName) +#define ITargetFrame_GetFrameName(This,ppszFrameName) (This)->lpVtbl->GetFrameName(This,ppszFrameName) +#define ITargetFrame_GetParentFrame(This,ppunkParent) (This)->lpVtbl->GetParentFrame(This,ppunkParent) +#define ITargetFrame_FindFrame(This,pszTargetName,ppunkContextFrame,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrame(This,pszTargetName,ppunkContextFrame,dwFlags,ppunkTargetFrame) +#define ITargetFrame_SetFrameSrc(This,pszFrameSrc) (This)->lpVtbl->SetFrameSrc(This,pszFrameSrc) +#define ITargetFrame_GetFrameSrc(This,ppszFrameSrc) (This)->lpVtbl->GetFrameSrc(This,ppszFrameSrc) +#define ITargetFrame_GetFramesContainer(This,ppContainer) (This)->lpVtbl->GetFramesContainer(This,ppContainer) +#define ITargetFrame_SetFrameOptions(This,dwFlags) (This)->lpVtbl->SetFrameOptions(This,dwFlags) +#define ITargetFrame_GetFrameOptions(This,pdwFlags) (This)->lpVtbl->GetFrameOptions(This,pdwFlags) +#define ITargetFrame_SetFrameMargins(This,dwWidth,dwHeight) (This)->lpVtbl->SetFrameMargins(This,dwWidth,dwHeight) +#define ITargetFrame_GetFrameMargins(This,pdwWidth,pdwHeight) (This)->lpVtbl->GetFrameMargins(This,pdwWidth,pdwHeight) +#define ITargetFrame_RemoteNavigate(This,cLength,pulData) (This)->lpVtbl->RemoteNavigate(This,cLength,pulData) +#define ITargetFrame_OnChildFrameActivate(This,pUnkChildFrame) (This)->lpVtbl->OnChildFrameActivate(This,pUnkChildFrame) +#define ITargetFrame_OnChildFrameDeactivate(This,pUnkChildFrame) (This)->lpVtbl->OnChildFrameDeactivate(This,pUnkChildFrame) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetFrame_QueryInterface(ITargetFrame* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetFrame_AddRef(ITargetFrame* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetFrame_Release(ITargetFrame* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetFrame methods ***/ +static FORCEINLINE HRESULT ITargetFrame_SetFrameName(ITargetFrame* This,LPCWSTR pszFrameName) { + return This->lpVtbl->SetFrameName(This,pszFrameName); +} +static FORCEINLINE HRESULT ITargetFrame_GetFrameName(ITargetFrame* This,LPWSTR *ppszFrameName) { + return This->lpVtbl->GetFrameName(This,ppszFrameName); +} +static FORCEINLINE HRESULT ITargetFrame_GetParentFrame(ITargetFrame* This,IUnknown **ppunkParent) { + return This->lpVtbl->GetParentFrame(This,ppunkParent); +} +static FORCEINLINE HRESULT ITargetFrame_FindFrame(ITargetFrame* This,LPCWSTR pszTargetName,IUnknown *ppunkContextFrame,DWORD dwFlags,IUnknown **ppunkTargetFrame) { + return This->lpVtbl->FindFrame(This,pszTargetName,ppunkContextFrame,dwFlags,ppunkTargetFrame); +} +static FORCEINLINE HRESULT ITargetFrame_SetFrameSrc(ITargetFrame* This,LPCWSTR pszFrameSrc) { + return This->lpVtbl->SetFrameSrc(This,pszFrameSrc); +} +static FORCEINLINE HRESULT ITargetFrame_GetFrameSrc(ITargetFrame* This,LPWSTR *ppszFrameSrc) { + return This->lpVtbl->GetFrameSrc(This,ppszFrameSrc); +} +static FORCEINLINE HRESULT ITargetFrame_GetFramesContainer(ITargetFrame* This,IOleContainer **ppContainer) { + return This->lpVtbl->GetFramesContainer(This,ppContainer); +} +static FORCEINLINE HRESULT ITargetFrame_SetFrameOptions(ITargetFrame* This,DWORD dwFlags) { + return This->lpVtbl->SetFrameOptions(This,dwFlags); +} +static FORCEINLINE HRESULT ITargetFrame_GetFrameOptions(ITargetFrame* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFrameOptions(This,pdwFlags); +} +static FORCEINLINE HRESULT ITargetFrame_SetFrameMargins(ITargetFrame* This,DWORD dwWidth,DWORD dwHeight) { + return This->lpVtbl->SetFrameMargins(This,dwWidth,dwHeight); +} +static FORCEINLINE HRESULT ITargetFrame_GetFrameMargins(ITargetFrame* This,DWORD *pdwWidth,DWORD *pdwHeight) { + return This->lpVtbl->GetFrameMargins(This,pdwWidth,pdwHeight); +} +static FORCEINLINE HRESULT ITargetFrame_RemoteNavigate(ITargetFrame* This,ULONG cLength,ULONG *pulData) { + return This->lpVtbl->RemoteNavigate(This,cLength,pulData); +} +static FORCEINLINE HRESULT ITargetFrame_OnChildFrameActivate(ITargetFrame* This,IUnknown *pUnkChildFrame) { + return This->lpVtbl->OnChildFrameActivate(This,pUnkChildFrame); +} +static FORCEINLINE HRESULT ITargetFrame_OnChildFrameDeactivate(ITargetFrame* This,IUnknown *pUnkChildFrame) { + return This->lpVtbl->OnChildFrameDeactivate(This,pUnkChildFrame); +} +#endif +#endif + +#endif + + +#endif /* __ITargetFrame_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITargetFramePriv interface + */ +#ifndef __ITargetFramePriv_INTERFACE_DEFINED__ +#define __ITargetFramePriv_INTERFACE_DEFINED__ + +typedef ITargetFramePriv *LPTARGETFRAMEPRIV; +DEFINE_GUID(IID_ITargetFramePriv, 0x9216e421, 0x2bf5, 0x11d0, 0x82,0xb4, 0x00,0xa0,0xc9,0x0c,0x29,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9216e421-2bf5-11d0-82b4-00a0c90c29c5") +ITargetFramePriv : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FindFrameDownwards( + LPCWSTR pszTargetName, + DWORD dwFlags, + IUnknown **ppunkTargetFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFrameInContext( + LPCWSTR pszTargetName, + IUnknown *punkContextFrame, + DWORD dwFlags, + IUnknown **ppunkTargetFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnChildFrameActivate( + IUnknown *pUnkChildFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnChildFrameDeactivate( + IUnknown *pUnkChildFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE NavigateHack( + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + LPCWSTR pszTargetName, + LPCWSTR pszUrl, + LPCWSTR pszLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindBrowserByIndex( + DWORD dwID, + IUnknown **ppunkBrowser) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetFramePriv, 0x9216e421, 0x2bf5, 0x11d0, 0x82,0xb4, 0x00,0xa0,0xc9,0x0c,0x29,0xc5) +#endif +#else +typedef struct ITargetFramePrivVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetFramePriv *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetFramePriv *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetFramePriv *This); + + /*** ITargetFramePriv methods ***/ + HRESULT (STDMETHODCALLTYPE *FindFrameDownwards)( + ITargetFramePriv *This, + LPCWSTR pszTargetName, + DWORD dwFlags, + IUnknown **ppunkTargetFrame); + + HRESULT (STDMETHODCALLTYPE *FindFrameInContext)( + ITargetFramePriv *This, + LPCWSTR pszTargetName, + IUnknown *punkContextFrame, + DWORD dwFlags, + IUnknown **ppunkTargetFrame); + + HRESULT (STDMETHODCALLTYPE *OnChildFrameActivate)( + ITargetFramePriv *This, + IUnknown *pUnkChildFrame); + + HRESULT (STDMETHODCALLTYPE *OnChildFrameDeactivate)( + ITargetFramePriv *This, + IUnknown *pUnkChildFrame); + + HRESULT (STDMETHODCALLTYPE *NavigateHack)( + ITargetFramePriv *This, + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + LPCWSTR pszTargetName, + LPCWSTR pszUrl, + LPCWSTR pszLocation); + + HRESULT (STDMETHODCALLTYPE *FindBrowserByIndex)( + ITargetFramePriv *This, + DWORD dwID, + IUnknown **ppunkBrowser); + + END_INTERFACE +} ITargetFramePrivVtbl; + +interface ITargetFramePriv { + CONST_VTBL ITargetFramePrivVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetFramePriv_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetFramePriv_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetFramePriv_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetFramePriv methods ***/ +#define ITargetFramePriv_FindFrameDownwards(This,pszTargetName,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrameDownwards(This,pszTargetName,dwFlags,ppunkTargetFrame) +#define ITargetFramePriv_FindFrameInContext(This,pszTargetName,punkContextFrame,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrameInContext(This,pszTargetName,punkContextFrame,dwFlags,ppunkTargetFrame) +#define ITargetFramePriv_OnChildFrameActivate(This,pUnkChildFrame) (This)->lpVtbl->OnChildFrameActivate(This,pUnkChildFrame) +#define ITargetFramePriv_OnChildFrameDeactivate(This,pUnkChildFrame) (This)->lpVtbl->OnChildFrameDeactivate(This,pUnkChildFrame) +#define ITargetFramePriv_NavigateHack(This,grfHLNF,pbc,pibsc,pszTargetName,pszUrl,pszLocation) (This)->lpVtbl->NavigateHack(This,grfHLNF,pbc,pibsc,pszTargetName,pszUrl,pszLocation) +#define ITargetFramePriv_FindBrowserByIndex(This,dwID,ppunkBrowser) (This)->lpVtbl->FindBrowserByIndex(This,dwID,ppunkBrowser) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetFramePriv_QueryInterface(ITargetFramePriv* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetFramePriv_AddRef(ITargetFramePriv* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetFramePriv_Release(ITargetFramePriv* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetFramePriv methods ***/ +static FORCEINLINE HRESULT ITargetFramePriv_FindFrameDownwards(ITargetFramePriv* This,LPCWSTR pszTargetName,DWORD dwFlags,IUnknown **ppunkTargetFrame) { + return This->lpVtbl->FindFrameDownwards(This,pszTargetName,dwFlags,ppunkTargetFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv_FindFrameInContext(ITargetFramePriv* This,LPCWSTR pszTargetName,IUnknown *punkContextFrame,DWORD dwFlags,IUnknown **ppunkTargetFrame) { + return This->lpVtbl->FindFrameInContext(This,pszTargetName,punkContextFrame,dwFlags,ppunkTargetFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv_OnChildFrameActivate(ITargetFramePriv* This,IUnknown *pUnkChildFrame) { + return This->lpVtbl->OnChildFrameActivate(This,pUnkChildFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv_OnChildFrameDeactivate(ITargetFramePriv* This,IUnknown *pUnkChildFrame) { + return This->lpVtbl->OnChildFrameDeactivate(This,pUnkChildFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv_NavigateHack(ITargetFramePriv* This,DWORD grfHLNF,LPBC pbc,IBindStatusCallback *pibsc,LPCWSTR pszTargetName,LPCWSTR pszUrl,LPCWSTR pszLocation) { + return This->lpVtbl->NavigateHack(This,grfHLNF,pbc,pibsc,pszTargetName,pszUrl,pszLocation); +} +static FORCEINLINE HRESULT ITargetFramePriv_FindBrowserByIndex(ITargetFramePriv* This,DWORD dwID,IUnknown **ppunkBrowser) { + return This->lpVtbl->FindBrowserByIndex(This,dwID,ppunkBrowser); +} +#endif +#endif + +#endif + + +#endif /* __ITargetFramePriv_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITargetFramePriv2 interface + */ +#ifndef __ITargetFramePriv2_INTERFACE_DEFINED__ +#define __ITargetFramePriv2_INTERFACE_DEFINED__ + +typedef ITargetFramePriv2 *LPTARGETFRAMEPRIV2; +DEFINE_GUID(IID_ITargetFramePriv2, 0xb2c867e6, 0x69d6, 0x46f2, 0xa6,0x11, 0xde,0xd9,0xa4,0xbd,0x7f,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b2c867e6-69d6-46f2-a611-ded9a4bd7fef") +ITargetFramePriv2 : public ITargetFramePriv +{ + virtual HRESULT STDMETHODCALLTYPE AggregatedNavigation2( + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + LPCWSTR pszTargetName, + IUri *pUri, + LPCWSTR pszLocation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetFramePriv2, 0xb2c867e6, 0x69d6, 0x46f2, 0xa6,0x11, 0xde,0xd9,0xa4,0xbd,0x7f,0xef) +#endif +#else +typedef struct ITargetFramePriv2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetFramePriv2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetFramePriv2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetFramePriv2 *This); + + /*** ITargetFramePriv methods ***/ + HRESULT (STDMETHODCALLTYPE *FindFrameDownwards)( + ITargetFramePriv2 *This, + LPCWSTR pszTargetName, + DWORD dwFlags, + IUnknown **ppunkTargetFrame); + + HRESULT (STDMETHODCALLTYPE *FindFrameInContext)( + ITargetFramePriv2 *This, + LPCWSTR pszTargetName, + IUnknown *punkContextFrame, + DWORD dwFlags, + IUnknown **ppunkTargetFrame); + + HRESULT (STDMETHODCALLTYPE *OnChildFrameActivate)( + ITargetFramePriv2 *This, + IUnknown *pUnkChildFrame); + + HRESULT (STDMETHODCALLTYPE *OnChildFrameDeactivate)( + ITargetFramePriv2 *This, + IUnknown *pUnkChildFrame); + + HRESULT (STDMETHODCALLTYPE *NavigateHack)( + ITargetFramePriv2 *This, + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + LPCWSTR pszTargetName, + LPCWSTR pszUrl, + LPCWSTR pszLocation); + + HRESULT (STDMETHODCALLTYPE *FindBrowserByIndex)( + ITargetFramePriv2 *This, + DWORD dwID, + IUnknown **ppunkBrowser); + + /*** ITargetFramePriv2 methods ***/ + HRESULT (STDMETHODCALLTYPE *AggregatedNavigation2)( + ITargetFramePriv2 *This, + DWORD grfHLNF, + LPBC pbc, + IBindStatusCallback *pibsc, + LPCWSTR pszTargetName, + IUri *pUri, + LPCWSTR pszLocation); + + END_INTERFACE +} ITargetFramePriv2Vtbl; + +interface ITargetFramePriv2 { + CONST_VTBL ITargetFramePriv2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetFramePriv2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetFramePriv2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetFramePriv2_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetFramePriv methods ***/ +#define ITargetFramePriv2_FindFrameDownwards(This,pszTargetName,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrameDownwards(This,pszTargetName,dwFlags,ppunkTargetFrame) +#define ITargetFramePriv2_FindFrameInContext(This,pszTargetName,punkContextFrame,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrameInContext(This,pszTargetName,punkContextFrame,dwFlags,ppunkTargetFrame) +#define ITargetFramePriv2_OnChildFrameActivate(This,pUnkChildFrame) (This)->lpVtbl->OnChildFrameActivate(This,pUnkChildFrame) +#define ITargetFramePriv2_OnChildFrameDeactivate(This,pUnkChildFrame) (This)->lpVtbl->OnChildFrameDeactivate(This,pUnkChildFrame) +#define ITargetFramePriv2_NavigateHack(This,grfHLNF,pbc,pibsc,pszTargetName,pszUrl,pszLocation) (This)->lpVtbl->NavigateHack(This,grfHLNF,pbc,pibsc,pszTargetName,pszUrl,pszLocation) +#define ITargetFramePriv2_FindBrowserByIndex(This,dwID,ppunkBrowser) (This)->lpVtbl->FindBrowserByIndex(This,dwID,ppunkBrowser) +/*** ITargetFramePriv2 methods ***/ +#define ITargetFramePriv2_AggregatedNavigation2(This,grfHLNF,pbc,pibsc,pszTargetName,pUri,pszLocation) (This)->lpVtbl->AggregatedNavigation2(This,grfHLNF,pbc,pibsc,pszTargetName,pUri,pszLocation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetFramePriv2_QueryInterface(ITargetFramePriv2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetFramePriv2_AddRef(ITargetFramePriv2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetFramePriv2_Release(ITargetFramePriv2* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetFramePriv methods ***/ +static FORCEINLINE HRESULT ITargetFramePriv2_FindFrameDownwards(ITargetFramePriv2* This,LPCWSTR pszTargetName,DWORD dwFlags,IUnknown **ppunkTargetFrame) { + return This->lpVtbl->FindFrameDownwards(This,pszTargetName,dwFlags,ppunkTargetFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv2_FindFrameInContext(ITargetFramePriv2* This,LPCWSTR pszTargetName,IUnknown *punkContextFrame,DWORD dwFlags,IUnknown **ppunkTargetFrame) { + return This->lpVtbl->FindFrameInContext(This,pszTargetName,punkContextFrame,dwFlags,ppunkTargetFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv2_OnChildFrameActivate(ITargetFramePriv2* This,IUnknown *pUnkChildFrame) { + return This->lpVtbl->OnChildFrameActivate(This,pUnkChildFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv2_OnChildFrameDeactivate(ITargetFramePriv2* This,IUnknown *pUnkChildFrame) { + return This->lpVtbl->OnChildFrameDeactivate(This,pUnkChildFrame); +} +static FORCEINLINE HRESULT ITargetFramePriv2_NavigateHack(ITargetFramePriv2* This,DWORD grfHLNF,LPBC pbc,IBindStatusCallback *pibsc,LPCWSTR pszTargetName,LPCWSTR pszUrl,LPCWSTR pszLocation) { + return This->lpVtbl->NavigateHack(This,grfHLNF,pbc,pibsc,pszTargetName,pszUrl,pszLocation); +} +static FORCEINLINE HRESULT ITargetFramePriv2_FindBrowserByIndex(ITargetFramePriv2* This,DWORD dwID,IUnknown **ppunkBrowser) { + return This->lpVtbl->FindBrowserByIndex(This,dwID,ppunkBrowser); +} +/*** ITargetFramePriv2 methods ***/ +static FORCEINLINE HRESULT ITargetFramePriv2_AggregatedNavigation2(ITargetFramePriv2* This,DWORD grfHLNF,LPBC pbc,IBindStatusCallback *pibsc,LPCWSTR pszTargetName,IUri *pUri,LPCWSTR pszLocation) { + return This->lpVtbl->AggregatedNavigation2(This,grfHLNF,pbc,pibsc,pszTargetName,pUri,pszLocation); +} +#endif +#endif + +#endif + + +#endif /* __ITargetFramePriv2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __htiface_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiface.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiface.idl new file mode 100644 index 0000000..f267da0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiface.idl @@ -0,0 +1,146 @@ +/* + * Copyright 2006,2011 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; +import "urlmon.idl"; + +cpp_quote("#include ") + + +/***************************************************************************** + * ITargetFrame interface + */ +[ + object, + uuid(d5f78c80-5252-11cf-90fa-00aa0042106e), + pointer_default(unique) +] +interface ITargetFrame: IUnknown +{ + typedef [unique] ITargetFrame *LPTARGETFRAME; + + typedef enum { + NAVIGATEFRAME_FL_RECORD = 0x01, + NAVIGATEFRAME_FL_POST = 0x02, + NAVIGATEFRAME_FL_NO_DOC_CACHE = 0x04, + NAVIGATEFRAME_FL_NO_IMAGE_CACHE = 0x08, + NAVIGATEFRAME_FL_AUTH_FAIL_CACHE_OK = 0x10, + NAVIGATEFRAME_FL_SENDING_FROM_FORM = 0x20, + NAVIGATEFRAME_FL_REALLY_SENDING_FROM_FORM = 0x40 + } NAVIGATEFRAME_FLAGS; + + typedef struct tagNavigateData { + ULONG ulTarget; + ULONG ulURL; + ULONG ulRefURL; + ULONG ulPostData; + DWORD dwFlags; + } NAVIGATEDATA; + + HRESULT SetFrameName([in] LPCWSTR pszFrameName); + HRESULT GetFrameName([out] LPWSTR *ppszFrameName); + HRESULT GetParentFrame([out] IUnknown **ppunkParent); + + HRESULT FindFrame( + [in] LPCWSTR pszTargetName, + [in] IUnknown *ppunkContextFrame, + [in] DWORD dwFlags, + [out] IUnknown **ppunkTargetFrame); + + HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc); + HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc); + HRESULT GetFramesContainer([out] IOleContainer **ppContainer); + HRESULT SetFrameOptions([in] DWORD dwFlags); + HRESULT GetFrameOptions([out] DWORD *pdwFlags); + + HRESULT SetFrameMargins( + [in] DWORD dwWidth, + [in] DWORD dwHeight); + + HRESULT GetFrameMargins( + [out] DWORD *pdwWidth, + [out] DWORD *pdwHeight); + + HRESULT RemoteNavigate( + [in] ULONG cLength, + [in, size_is(cLength)] ULONG *pulData); + + HRESULT OnChildFrameActivate([in] IUnknown *pUnkChildFrame); + HRESULT OnChildFrameDeactivate([in] IUnknown *pUnkChildFrame); +} + +/***************************************************************************** + * ITargetFramePriv interface + */ +[ + object, + uuid(9216e421-2bf5-11d0-82b4-00a0c90c29c5), + pointer_default(unique) +] +interface ITargetFramePriv : IUnknown +{ + typedef [unique] ITargetFramePriv *LPTARGETFRAMEPRIV; + + HRESULT FindFrameDownwards( + [in] LPCWSTR pszTargetName, + [in] DWORD dwFlags, + [out] IUnknown **ppunkTargetFrame); + + HRESULT FindFrameInContext( + [in] LPCWSTR pszTargetName, + [in] IUnknown *punkContextFrame, + [in] DWORD dwFlags, + [out] IUnknown **ppunkTargetFrame); + + HRESULT OnChildFrameActivate([in] IUnknown *pUnkChildFrame); + HRESULT OnChildFrameDeactivate([in] IUnknown *pUnkChildFrame); + + HRESULT NavigateHack( + [in] DWORD grfHLNF, + [in, unique] LPBC pbc, + [in, unique] IBindStatusCallback *pibsc, + [in, unique] LPCWSTR pszTargetName, + [in] LPCWSTR pszUrl, + [in, unique] LPCWSTR pszLocation); + + HRESULT FindBrowserByIndex( + [in] DWORD dwID, + [out] IUnknown **ppunkBrowser); +} + +/***************************************************************************** + * ITargetFramePriv2 interface + */ +[ + object, + uuid(b2c867e6-69d6-46f2-a611-ded9a4bd7fef), + pointer_default(unique) +] +interface ITargetFramePriv2 : ITargetFramePriv +{ + typedef [unique] ITargetFramePriv2 *LPTARGETFRAMEPRIV2; + + HRESULT AggregatedNavigation2( + [in] DWORD grfHLNF, + [in, unique] LPBC pbc, + [in, unique] IBindStatusCallback *pibsc, + [in, unique] LPCWSTR pszTargetName, + [in] IUri *pUri, + [in, unique] LPCWSTR pszLocation); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiframe.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiframe.h new file mode 100644 index 0000000..1c5cc0f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiframe.h @@ -0,0 +1,575 @@ +/*** Autogenerated by WIDL 2.18 from htiframe.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __htiframe_h__ +#define __htiframe_h__ + +/* Forward declarations */ + +#ifndef __ITargetNotify_FWD_DEFINED__ +#define __ITargetNotify_FWD_DEFINED__ +typedef interface ITargetNotify ITargetNotify; +#ifdef __cplusplus +interface ITargetNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __ITargetNotify2_FWD_DEFINED__ +#define __ITargetNotify2_FWD_DEFINED__ +typedef interface ITargetNotify2 ITargetNotify2; +#ifdef __cplusplus +interface ITargetNotify2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITargetFrame2_FWD_DEFINED__ +#define __ITargetFrame2_FWD_DEFINED__ +typedef interface ITargetFrame2 ITargetFrame2; +#ifdef __cplusplus +interface ITargetFrame2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITargetContainer_FWD_DEFINED__ +#define __ITargetContainer_FWD_DEFINED__ +typedef interface ITargetContainer ITargetContainer; +#ifdef __cplusplus +interface ITargetContainer; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * ITargetNotify interface + */ +#ifndef __ITargetNotify_INTERFACE_DEFINED__ +#define __ITargetNotify_INTERFACE_DEFINED__ + +typedef ITargetNotify *LPTARGETNOTIFY; +DEFINE_GUID(IID_ITargetNotify, 0x863a99a0, 0x21bc, 0x11d0, 0x82,0xb4, 0x00,0xa0,0xc9,0x0c,0x29,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("863a99a0-21bc-11d0-82b4-00a0c90c29c5") +ITargetNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnCreate( + IUnknown *pUnkDestination, + ULONG cbCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnReuse( + IUnknown *pUnkDestination) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetNotify, 0x863a99a0, 0x21bc, 0x11d0, 0x82,0xb4, 0x00,0xa0,0xc9,0x0c,0x29,0xc5) +#endif +#else +typedef struct ITargetNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetNotify *This); + + /*** ITargetNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnCreate)( + ITargetNotify *This, + IUnknown *pUnkDestination, + ULONG cbCookie); + + HRESULT (STDMETHODCALLTYPE *OnReuse)( + ITargetNotify *This, + IUnknown *pUnkDestination); + + END_INTERFACE +} ITargetNotifyVtbl; + +interface ITargetNotify { + CONST_VTBL ITargetNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetNotify_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetNotify methods ***/ +#define ITargetNotify_OnCreate(This,pUnkDestination,cbCookie) (This)->lpVtbl->OnCreate(This,pUnkDestination,cbCookie) +#define ITargetNotify_OnReuse(This,pUnkDestination) (This)->lpVtbl->OnReuse(This,pUnkDestination) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetNotify_QueryInterface(ITargetNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetNotify_AddRef(ITargetNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetNotify_Release(ITargetNotify* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetNotify methods ***/ +static FORCEINLINE HRESULT ITargetNotify_OnCreate(ITargetNotify* This,IUnknown *pUnkDestination,ULONG cbCookie) { + return This->lpVtbl->OnCreate(This,pUnkDestination,cbCookie); +} +static FORCEINLINE HRESULT ITargetNotify_OnReuse(ITargetNotify* This,IUnknown *pUnkDestination) { + return This->lpVtbl->OnReuse(This,pUnkDestination); +} +#endif +#endif + +#endif + + +#endif /* __ITargetNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITargetNotify2 interface + */ +#ifndef __ITargetNotify2_INTERFACE_DEFINED__ +#define __ITargetNotify2_INTERFACE_DEFINED__ + +typedef ITargetNotify2 *LPTARGETNOTIFY2; +DEFINE_GUID(IID_ITargetNotify2, 0x3050f6b1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f6b1-98b5-11cf-bb82-00aa00bdce0b") +ITargetNotify2 : public ITargetNotify +{ + virtual HRESULT STDMETHODCALLTYPE GetOptionString( + BSTR *pbstrOptions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetNotify2, 0x3050f6b1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ITargetNotify2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetNotify2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetNotify2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetNotify2 *This); + + /*** ITargetNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnCreate)( + ITargetNotify2 *This, + IUnknown *pUnkDestination, + ULONG cbCookie); + + HRESULT (STDMETHODCALLTYPE *OnReuse)( + ITargetNotify2 *This, + IUnknown *pUnkDestination); + + /*** ITargetNotify2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetOptionString)( + ITargetNotify2 *This, + BSTR *pbstrOptions); + + END_INTERFACE +} ITargetNotify2Vtbl; + +interface ITargetNotify2 { + CONST_VTBL ITargetNotify2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetNotify2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetNotify2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetNotify2_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetNotify methods ***/ +#define ITargetNotify2_OnCreate(This,pUnkDestination,cbCookie) (This)->lpVtbl->OnCreate(This,pUnkDestination,cbCookie) +#define ITargetNotify2_OnReuse(This,pUnkDestination) (This)->lpVtbl->OnReuse(This,pUnkDestination) +/*** ITargetNotify2 methods ***/ +#define ITargetNotify2_GetOptionString(This,pbstrOptions) (This)->lpVtbl->GetOptionString(This,pbstrOptions) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetNotify2_QueryInterface(ITargetNotify2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetNotify2_AddRef(ITargetNotify2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetNotify2_Release(ITargetNotify2* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetNotify methods ***/ +static FORCEINLINE HRESULT ITargetNotify2_OnCreate(ITargetNotify2* This,IUnknown *pUnkDestination,ULONG cbCookie) { + return This->lpVtbl->OnCreate(This,pUnkDestination,cbCookie); +} +static FORCEINLINE HRESULT ITargetNotify2_OnReuse(ITargetNotify2* This,IUnknown *pUnkDestination) { + return This->lpVtbl->OnReuse(This,pUnkDestination); +} +/*** ITargetNotify2 methods ***/ +static FORCEINLINE HRESULT ITargetNotify2_GetOptionString(ITargetNotify2* This,BSTR *pbstrOptions) { + return This->lpVtbl->GetOptionString(This,pbstrOptions); +} +#endif +#endif + +#endif + + +#endif /* __ITargetNotify2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITargetFrame2 interface + */ +#ifndef __ITargetFrame2_INTERFACE_DEFINED__ +#define __ITargetFrame2_INTERFACE_DEFINED__ + +typedef ITargetFrame2 *LPTARGETFRAME2; +typedef enum __WIDL_htiframe_generated_name_00000002 { + FINDFRAME_NONE = 0, + FINDFRAME_JUSTTESTEXISTENCE = 1, + FINDFRAME_INTERNAL = 0x80000000 +} FINDFRAME_FLAGS; +typedef enum __WIDL_htiframe_generated_name_00000003 { + FRAMEOPTIONS_SCROLL_YES = 0x1, + FRAMEOPTIONS_SCROLL_NO = 0x2, + FRAMEOPTIONS_SCROLL_AUTO = 0x4, + FRAMEOPTIONS_NORESIZE = 0x8, + FRAMEOPTIONS_NO3DBORDER = 0x10, + FRAMEOPTIONS_DESKTOP = 0x20, + FRAMEOPTIONS_BROWSERBAND = 0x40 +} FRAMEOPTIONS_FLAGS; +DEFINE_GUID(IID_ITargetFrame2, 0x86d52e11, 0x94a8, 0x11d0, 0x82,0xaf, 0x00,0xc0,0x4f,0xd5,0xae,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("86d52e11-94a8-11d0-82af-00c04fd5ae38") +ITargetFrame2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFrameName( + LPCWSTR pszFrameName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameName( + LPWSTR *ppszFrameName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParentFrame( + IUnknown **ppunkParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrameSrc( + LPCWSTR pszFrameSrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameSrc( + LPWSTR *ppszFrameSrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFramesContainer( + IOleContainer **ppContainer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrameOptions( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameOptions( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrameMargins( + DWORD dwWidth, + DWORD dwHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameMargins( + DWORD *pdwWidth, + DWORD *pdwHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFrame( + LPCWSTR pszTargetName, + DWORD dwFlags, + IUnknown **ppunkTargetFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTargetAlias( + LPCWSTR pszTargetName, + LPWSTR *ppszTargetAlias) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetFrame2, 0x86d52e11, 0x94a8, 0x11d0, 0x82,0xaf, 0x00,0xc0,0x4f,0xd5,0xae,0x38) +#endif +#else +typedef struct ITargetFrame2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetFrame2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetFrame2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetFrame2 *This); + + /*** ITargetFrame2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFrameName)( + ITargetFrame2 *This, + LPCWSTR pszFrameName); + + HRESULT (STDMETHODCALLTYPE *GetFrameName)( + ITargetFrame2 *This, + LPWSTR *ppszFrameName); + + HRESULT (STDMETHODCALLTYPE *GetParentFrame)( + ITargetFrame2 *This, + IUnknown **ppunkParent); + + HRESULT (STDMETHODCALLTYPE *SetFrameSrc)( + ITargetFrame2 *This, + LPCWSTR pszFrameSrc); + + HRESULT (STDMETHODCALLTYPE *GetFrameSrc)( + ITargetFrame2 *This, + LPWSTR *ppszFrameSrc); + + HRESULT (STDMETHODCALLTYPE *GetFramesContainer)( + ITargetFrame2 *This, + IOleContainer **ppContainer); + + HRESULT (STDMETHODCALLTYPE *SetFrameOptions)( + ITargetFrame2 *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFrameOptions)( + ITargetFrame2 *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetFrameMargins)( + ITargetFrame2 *This, + DWORD dwWidth, + DWORD dwHeight); + + HRESULT (STDMETHODCALLTYPE *GetFrameMargins)( + ITargetFrame2 *This, + DWORD *pdwWidth, + DWORD *pdwHeight); + + HRESULT (STDMETHODCALLTYPE *FindFrame)( + ITargetFrame2 *This, + LPCWSTR pszTargetName, + DWORD dwFlags, + IUnknown **ppunkTargetFrame); + + HRESULT (STDMETHODCALLTYPE *GetTargetAlias)( + ITargetFrame2 *This, + LPCWSTR pszTargetName, + LPWSTR *ppszTargetAlias); + + END_INTERFACE +} ITargetFrame2Vtbl; + +interface ITargetFrame2 { + CONST_VTBL ITargetFrame2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetFrame2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetFrame2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetFrame2_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetFrame2 methods ***/ +#define ITargetFrame2_SetFrameName(This,pszFrameName) (This)->lpVtbl->SetFrameName(This,pszFrameName) +#define ITargetFrame2_GetFrameName(This,ppszFrameName) (This)->lpVtbl->GetFrameName(This,ppszFrameName) +#define ITargetFrame2_GetParentFrame(This,ppunkParent) (This)->lpVtbl->GetParentFrame(This,ppunkParent) +#define ITargetFrame2_SetFrameSrc(This,pszFrameSrc) (This)->lpVtbl->SetFrameSrc(This,pszFrameSrc) +#define ITargetFrame2_GetFrameSrc(This,ppszFrameSrc) (This)->lpVtbl->GetFrameSrc(This,ppszFrameSrc) +#define ITargetFrame2_GetFramesContainer(This,ppContainer) (This)->lpVtbl->GetFramesContainer(This,ppContainer) +#define ITargetFrame2_SetFrameOptions(This,dwFlags) (This)->lpVtbl->SetFrameOptions(This,dwFlags) +#define ITargetFrame2_GetFrameOptions(This,pdwFlags) (This)->lpVtbl->GetFrameOptions(This,pdwFlags) +#define ITargetFrame2_SetFrameMargins(This,dwWidth,dwHeight) (This)->lpVtbl->SetFrameMargins(This,dwWidth,dwHeight) +#define ITargetFrame2_GetFrameMargins(This,pdwWidth,pdwHeight) (This)->lpVtbl->GetFrameMargins(This,pdwWidth,pdwHeight) +#define ITargetFrame2_FindFrame(This,pszTargetName,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrame(This,pszTargetName,dwFlags,ppunkTargetFrame) +#define ITargetFrame2_GetTargetAlias(This,pszTargetName,ppszTargetAlias) (This)->lpVtbl->GetTargetAlias(This,pszTargetName,ppszTargetAlias) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetFrame2_QueryInterface(ITargetFrame2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetFrame2_AddRef(ITargetFrame2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetFrame2_Release(ITargetFrame2* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetFrame2 methods ***/ +static FORCEINLINE HRESULT ITargetFrame2_SetFrameName(ITargetFrame2* This,LPCWSTR pszFrameName) { + return This->lpVtbl->SetFrameName(This,pszFrameName); +} +static FORCEINLINE HRESULT ITargetFrame2_GetFrameName(ITargetFrame2* This,LPWSTR *ppszFrameName) { + return This->lpVtbl->GetFrameName(This,ppszFrameName); +} +static FORCEINLINE HRESULT ITargetFrame2_GetParentFrame(ITargetFrame2* This,IUnknown **ppunkParent) { + return This->lpVtbl->GetParentFrame(This,ppunkParent); +} +static FORCEINLINE HRESULT ITargetFrame2_SetFrameSrc(ITargetFrame2* This,LPCWSTR pszFrameSrc) { + return This->lpVtbl->SetFrameSrc(This,pszFrameSrc); +} +static FORCEINLINE HRESULT ITargetFrame2_GetFrameSrc(ITargetFrame2* This,LPWSTR *ppszFrameSrc) { + return This->lpVtbl->GetFrameSrc(This,ppszFrameSrc); +} +static FORCEINLINE HRESULT ITargetFrame2_GetFramesContainer(ITargetFrame2* This,IOleContainer **ppContainer) { + return This->lpVtbl->GetFramesContainer(This,ppContainer); +} +static FORCEINLINE HRESULT ITargetFrame2_SetFrameOptions(ITargetFrame2* This,DWORD dwFlags) { + return This->lpVtbl->SetFrameOptions(This,dwFlags); +} +static FORCEINLINE HRESULT ITargetFrame2_GetFrameOptions(ITargetFrame2* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFrameOptions(This,pdwFlags); +} +static FORCEINLINE HRESULT ITargetFrame2_SetFrameMargins(ITargetFrame2* This,DWORD dwWidth,DWORD dwHeight) { + return This->lpVtbl->SetFrameMargins(This,dwWidth,dwHeight); +} +static FORCEINLINE HRESULT ITargetFrame2_GetFrameMargins(ITargetFrame2* This,DWORD *pdwWidth,DWORD *pdwHeight) { + return This->lpVtbl->GetFrameMargins(This,pdwWidth,pdwHeight); +} +static FORCEINLINE HRESULT ITargetFrame2_FindFrame(ITargetFrame2* This,LPCWSTR pszTargetName,DWORD dwFlags,IUnknown **ppunkTargetFrame) { + return This->lpVtbl->FindFrame(This,pszTargetName,dwFlags,ppunkTargetFrame); +} +static FORCEINLINE HRESULT ITargetFrame2_GetTargetAlias(ITargetFrame2* This,LPCWSTR pszTargetName,LPWSTR *ppszTargetAlias) { + return This->lpVtbl->GetTargetAlias(This,pszTargetName,ppszTargetAlias); +} +#endif +#endif + +#endif + + +#endif /* __ITargetFrame2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITargetContainer interface + */ +#ifndef __ITargetContainer_INTERFACE_DEFINED__ +#define __ITargetContainer_INTERFACE_DEFINED__ + +typedef ITargetContainer *LPTARGETCONTAINER; +DEFINE_GUID(IID_ITargetContainer, 0x7847ec01, 0x2bec, 0x11d0, 0x82,0xb4, 0x00,0xa0,0xc9,0x0c,0x29,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7847ec01-2bec-11d0-82b4-00a0c90c29c5") +ITargetContainer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetFrameUrl( + LPWSTR *ppszFrameSrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFramesContainer( + IOleContainer **ppContainer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITargetContainer, 0x7847ec01, 0x2bec, 0x11d0, 0x82,0xb4, 0x00,0xa0,0xc9,0x0c,0x29,0xc5) +#endif +#else +typedef struct ITargetContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITargetContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITargetContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITargetContainer *This); + + /*** ITargetContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFrameUrl)( + ITargetContainer *This, + LPWSTR *ppszFrameSrc); + + HRESULT (STDMETHODCALLTYPE *GetFramesContainer)( + ITargetContainer *This, + IOleContainer **ppContainer); + + END_INTERFACE +} ITargetContainerVtbl; + +interface ITargetContainer { + CONST_VTBL ITargetContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITargetContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITargetContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITargetContainer_Release(This) (This)->lpVtbl->Release(This) +/*** ITargetContainer methods ***/ +#define ITargetContainer_GetFrameUrl(This,ppszFrameSrc) (This)->lpVtbl->GetFrameUrl(This,ppszFrameSrc) +#define ITargetContainer_GetFramesContainer(This,ppContainer) (This)->lpVtbl->GetFramesContainer(This,ppContainer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITargetContainer_QueryInterface(ITargetContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITargetContainer_AddRef(ITargetContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITargetContainer_Release(ITargetContainer* This) { + return This->lpVtbl->Release(This); +} +/*** ITargetContainer methods ***/ +static FORCEINLINE HRESULT ITargetContainer_GetFrameUrl(ITargetContainer* This,LPWSTR *ppszFrameSrc) { + return This->lpVtbl->GetFrameUrl(This,ppszFrameSrc); +} +static FORCEINLINE HRESULT ITargetContainer_GetFramesContainer(ITargetContainer* This,IOleContainer **ppContainer) { + return This->lpVtbl->GetFramesContainer(This,ppContainer); +} +#endif +#endif + +#endif + + +#endif /* __ITargetContainer_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __htiframe_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiframe.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiframe.idl new file mode 100644 index 0000000..a14de89 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htiframe.idl @@ -0,0 +1,134 @@ +/* + * Copyright 2006,2011 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; + +/***************************************************************************** + * ITargetNotify interface + */ +[ + object, + uuid(863a99a0-21bc-11d0-82b4-00a0c90c29c5), + pointer_default(unique) +] +interface ITargetNotify : IUnknown +{ + typedef [unique] ITargetNotify *LPTARGETNOTIFY; + + HRESULT OnCreate( + [in] IUnknown *pUnkDestination, + [in] ULONG cbCookie); + + HRESULT OnReuse([in] IUnknown *pUnkDestination); +} + +/***************************************************************************** + * ITargetNotify2 interface + */ +[ + object, + uuid(3050f6b1-98b5-11cf-bb82-00aa00bdce0b), + pointer_default(unique) +] +interface ITargetNotify2 : ITargetNotify +{ + typedef [unique] ITargetNotify2 *LPTARGETNOTIFY2; + + HRESULT GetOptionString([in,out] BSTR *pbstrOptions); +} + +/***************************************************************************** + * ITargetFrame2 interface + */ +[ + object, + uuid(86d52e11-94a8-11d0-82af-00c04fd5ae38), + pointer_default(unique) +] +interface ITargetFrame2 : IUnknown +{ + typedef [unique] ITargetFrame2 *LPTARGETFRAME2; + + typedef enum { + FINDFRAME_NONE = 0, + FINDFRAME_JUSTTESTEXISTENCE = 1, + FINDFRAME_INTERNAL = 0x80000000 + } FINDFRAME_FLAGS; + + typedef enum { + FRAMEOPTIONS_SCROLL_YES = 0x00000001, + FRAMEOPTIONS_SCROLL_NO = 0x00000002, + FRAMEOPTIONS_SCROLL_AUTO = 0x00000004, + FRAMEOPTIONS_NORESIZE = 0x00000008, + FRAMEOPTIONS_NO3DBORDER = 0x00000010, + FRAMEOPTIONS_DESKTOP = 0x00000020, + FRAMEOPTIONS_BROWSERBAND = 0x00000040 + } FRAMEOPTIONS_FLAGS; + + HRESULT SetFrameName([in] LPCWSTR pszFrameName); + + HRESULT GetFrameName([out] LPWSTR *ppszFrameName); + + HRESULT GetParentFrame([out] IUnknown **ppunkParent); + + HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc); + + HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc); + + HRESULT GetFramesContainer([out] IOleContainer **ppContainer); + + HRESULT SetFrameOptions([in] DWORD dwFlags); + + HRESULT GetFrameOptions([out] DWORD *pdwFlags); + + HRESULT SetFrameMargins( + [in] DWORD dwWidth, + [in] DWORD dwHeight); + + HRESULT GetFrameMargins( + [out] DWORD *pdwWidth, + [out] DWORD *pdwHeight); + + HRESULT FindFrame( + [in,unique] LPCWSTR pszTargetName, + [in] DWORD dwFlags, + [out] IUnknown **ppunkTargetFrame); + + HRESULT GetTargetAlias( + [in,unique] LPCWSTR pszTargetName, + [out] LPWSTR *ppszTargetAlias); +} + +/***************************************************************************** + * ITargetContainer interface + */ +[ + object, + uuid(7847ec01-2bec-11d0-82b4-00a0c90C29c5), + pointer_default(unique) +] +interface ITargetContainer : IUnknown +{ + typedef [unique] ITargetContainer *LPTARGETCONTAINER; + + HRESULT GetFrameUrl([out] LPWSTR *ppszFrameSrc); + + HRESULT GetFramesContainer([out] IOleContainer **ppContainer); + +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htmlhelp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htmlhelp.h new file mode 100644 index 0000000..0251765 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/htmlhelp.h @@ -0,0 +1,452 @@ +/* + * Copyright 2004 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __HTMLHELP_H__ +#define __HTMLHELP_H__ + +#define HH_DISPLAY_TOPIC 0x00 +#define HH_HELP_FINDER 0x00 +#define HH_DISPLAY_TOC 0x01 +#define HH_DISPLAY_INDEX 0x02 +#define HH_DISPLAY_SEARCH 0x03 +#define HH_SET_WIN_TYPE 0x04 +#define HH_GET_WIN_TYPE 0x05 +#define HH_GET_WIN_HANDLE 0x06 +#define HH_ENUM_INFO_TYPE 0x07 +#define HH_SET_INFO_TYPE 0x08 +#define HH_SYNC 0x09 +#define HH_RESERVED1 0x0A +#define HH_RESERVED2 0x0B +#define HH_RESERVED3 0x0C +#define HH_KEYWORD_LOOKUP 0x0D +#define HH_DISPLAY_TEXT_POPUP 0x0E +#define HH_HELP_CONTEXT 0x0F +#define HH_TP_HELP_CONTEXTMENU 0x10 +#define HH_TP_HELP_WM_HELP 0x11 +#define HH_CLOSE_ALL 0x12 +#define HH_ALINK_LOOKUP 0x13 +#define HH_GET_LAST_ERROR 0x14 +#define HH_ENUM_CATEGORY 0x15 +#define HH_ENUM_CATEGORY_IT 0x16 +#define HH_RESET_IT_FILTER 0x17 +#define HH_SET_INCLUSIVE_FILTER 0x18 +#define HH_SET_EXCLUSIVE_FILTER 0x19 +#define HH_INITIALIZE 0x1C +#define HH_UNINITIALIZE 0x1D +#define HH_SAFE_DISPLAY_TOPIC 0x20 +#define HH_PRETRANSLATEMESSAGE 0xFD +#define HH_SET_GLOBAL_PROPERTY 0xFC + +#define HHWIN_PROP_TAB_AUTOHIDESHOW 0x00000001 +#define HHWIN_PROP_ONTOP 0x00000002 +#define HHWIN_PROP_NOTITLEBAR 0x00000004 +#define HHWIN_PROP_NODEF_STYLES 0x00000008 +#define HHWIN_PROP_NODEF_EXSTYLES 0x00000010 +#define HHWIN_PROP_TRI_PANE 0x00000020 +#define HHWIN_PROP_NOTB_TEXT 0x00000040 +#define HHWIN_PROP_POST_QUIT 0x00000080 +#define HHWIN_PROP_AUTO_SYNC 0x00000100 +#define HHWIN_PROP_TRACKING 0x00000200 +#define HHWIN_PROP_TAB_SEARCH 0x00000400 +#define HHWIN_PROP_TAB_HISTORY 0x00000800 +#define HHWIN_PROP_TAB_FAVORITES 0x00001000 +#define HHWIN_PROP_CHANGE_TITLE 0x00002000 +#define HHWIN_PROP_NAV_ONLY_WIN 0x00004000 +#define HHWIN_PROP_NO_TOOLBAR 0x00008000 +#define HHWIN_PROP_MENU 0x00010000 +#define HHWIN_PROP_TAB_ADVSEARCH 0x00020000 +#define HHWIN_PROP_USER_POS 0x00040000 +#define HHWIN_PROP_TAB_CUSTOM1 0x00080000 +#define HHWIN_PROP_TAB_CUSTOM2 0x00100000 +#define HHWIN_PROP_TAB_CUSTOM3 0x00200000 +#define HHWIN_PROP_TAB_CUSTOM4 0x00400000 +#define HHWIN_PROP_TAB_CUSTOM5 0x00800000 +#define HHWIN_PROP_TAB_CUSTOM6 0x01000000 +#define HHWIN_PROP_TAB_CUSTOM7 0x02000000 +#define HHWIN_PROP_TAB_CUSTOM8 0x04000000 +#define HHWIN_PROP_TAB_CUSTOM9 0x08000000 +#define HHWIN_TB_MARGIN 0x10000000 + +#define HHWIN_PARAM_PROPERTIES 0x00000002 +#define HHWIN_PARAM_STYLES 0x00000004 +#define HHWIN_PARAM_EXSTYLES 0x00000008 +#define HHWIN_PARAM_RECT 0x00000010 +#define HHWIN_PARAM_NAV_WIDTH 0x00000020 +#define HHWIN_PARAM_SHOWSTATE 0x00000040 +#define HHWIN_PARAM_INFOTYPES 0x00000080 +#define HHWIN_PARAM_TB_FLAGS 0x00000100 +#define HHWIN_PARAM_EXPANSION 0x00000200 +#define HHWIN_PARAM_TABPOS 0x00000400 +#define HHWIN_PARAM_TABORDER 0x00000800 +#define HHWIN_PARAM_HISTORY_COUNT 0x00001000 +#define HHWIN_PARAM_CUR_TAB 0x00002000 + +#define HHWIN_BUTTON_EXPAND 0x00000002 +#define HHWIN_BUTTON_BACK 0x00000004 +#define HHWIN_BUTTON_FORWARD 0x00000008 +#define HHWIN_BUTTON_STOP 0x00000010 +#define HHWIN_BUTTON_REFRESH 0x00000020 +#define HHWIN_BUTTON_HOME 0x00000040 +#define HHWIN_BUTTON_BROWSE_FWD 0x00000080 +#define HHWIN_BUTTON_BROWSE_BCK 0x00000100 +#define HHWIN_BUTTON_NOTES 0x00000200 +#define HHWIN_BUTTON_CONTENTS 0x00000400 +#define HHWIN_BUTTON_SYNC 0x00000800 +#define HHWIN_BUTTON_OPTIONS 0x00001000 +#define HHWIN_BUTTON_PRINT 0x00002000 +#define HHWIN_BUTTON_INDEX 0x00004000 +#define HHWIN_BUTTON_SEARCH 0x00008000 +#define HHWIN_BUTTON_HISTORY 0x00010000 +#define HHWIN_BUTTON_FAVORITES 0x00020000 +#define HHWIN_BUTTON_JUMP1 0x00040000 +#define HHWIN_BUTTON_JUMP2 0x00080000 +#define HHWIN_BUTTON_ZOOM 0x00100000 +#define HHWIN_BUTTON_TOC_NEXT 0x00200000 +#define HHWIN_BUTTON_TOC_PREV 0x00400000 + +#define HHWIN_DEF_BUTTONS \ + (HHWIN_BUTTON_EXPAND | HHWIN_BUTTON_BACK | HHWIN_BUTTON_OPTIONS | HHWIN_BUTTON_PRINT) + +#define IDTB_EXPAND 200 +#define IDTB_CONTRACT 201 +#define IDTB_STOP 202 +#define IDTB_REFRESH 203 +#define IDTB_BACK 204 +#define IDTB_HOME 205 +#define IDTB_SYNC 206 +#define IDTB_PRINT 207 +#define IDTB_OPTIONS 208 +#define IDTB_FORWARD 209 +#define IDTB_NOTES 210 +#define IDTB_BROWSE_FWD 211 +#define IDTB_BROWSE_BACK 212 +#define IDTB_CONTENTS 213 +#define IDTB_INDEX 214 +#define IDTB_SEARCH 215 +#define IDTB_HISTORY 216 +#define IDTB_FAVORITES 217 +#define IDTB_JUMP1 218 +#define IDTB_JUMP2 219 +#define IDTB_CUSTOMIZE 221 +#define IDTB_ZOOM 222 +#define IDTB_TOC_NEXT 223 +#define IDTB_TOC_PREV 224 + +#define HHN_FIRST (0U-860U) +#define HHN_LAST (0U-879U) +#define HHN_NAVCOMPLETE HHN_FIRST +#define HHN_TRACK (HHN_FIRST-1) +#define HHN_WINDOW_CREATE (HHN_FIRST-2) + + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct tagHH_NOTIFY { + NMHDR hdr; + PCSTR pszurl; +} HH_NOTIFY; + +typedef struct tagHH_POPUPA { + int cbStruct; + HINSTANCE hinst; + UINT idString; + LPCSTR pszText; + POINT pt; + COLORREF clrForeground; + COLORREF clrBackground; + RECT rcMargins; + LPCSTR pszFont; +} HH_POPUPA; + +typedef struct tagHH_POPUPW { + int cbStruct; + HINSTANCE hinst; + UINT idString; + LPCWSTR pszText; + POINT pt; + COLORREF clrForeground; + COLORREF clrBackground; + RECT rcMargins; + LPCWSTR pszFont; +} HH_POPUPW; + +DECL_WINELIB_TYPE_AW(HH_POPUP) + +typedef struct tagHH_ALINKA { + int cbStruct; + BOOL fReserved; + LPCSTR pszKeywords; + LPCSTR pszUrl; + LPCSTR pszMsgText; + LPCSTR pszMsgTitle; + LPCSTR pszWindow; + BOOL fIndexOnFail; +} HH_ALINKA; + +typedef struct tagHH_ALINKW { + int cbStruct; + BOOL fReserved; + LPCWSTR pszKeywords; + LPCWSTR pszUrl; + LPCWSTR pszMsgText; + LPCWSTR pszMsgTitle; + LPCWSTR pszWindow; + BOOL fIndexOnFail; +} HH_ALINKW; + +DECL_WINELIB_TYPE_AW(HH_ALINK) + +enum { + HHWIN_NAVTYPE_TOC, + HHWIN_NAVTYPE_INDEX, + HHWIN_NAVTYPE_SEARCH, + HHWIN_NAVTYPE_FAVORITES, + HHWIN_NAVTYPE_HISTORY, + HHWIN_NAVTYPE_AUTHOR, + HHWIN_NAVTYPE_CUSTOM_FIRST = 11 +}; + +enum { + IT_INCLUSIVE, + IT_EXCLUSIVE, + IT_HIDDEN +}; + +typedef struct tagHH_ENUM_IT { + int cbStruct; + int iType; + LPCSTR pszCatName; + LPCSTR pszITName; + LPCSTR pszITDescription; +} HH_ENUM_IT, *PHH_ENUM_IT; + +typedef struct tagHH_ENUM_CAT { + int cbStruct; + LPCSTR pszCatName; + LPCSTR pszCatDescription; +} HH_ENUM_CAT, *PHH_ENUM_CAT; + +typedef struct tagHH_SET_INFOTYPE { + int cbStruct; + LPCSTR pszCatName; + LPCSTR pszInfoTypeName; +} HH_SET_INFOTYPE; + +typedef DWORD HH_INFOTYPE, *PHH_INFOTYPE; + +enum { + HHWIN_NAVTAB_TOP, + HHWIN_NAVTAB_LEFT, + HHWIN_NAVTAB_BOTTOM +}; + +#define HH_MAX_TABS 19 + +enum { + HH_TAB_CONTENTS, + HH_TAB_INDEX, + HH_TAB_SEARCH, + HH_TAB_FAVORITES, + HH_TAB_HISTORY, + HH_TAB_AUTHOR, + HH_TAB_CUSTOM_FIRST = 11, + HH_TAB_CUSTOM_LAST = HH_MAX_TABS +}; + +#define HH_MAX_TABS_CUSTOM (HH_TAB_CUSTOM_LAST-HH_TAB_CUSTOM_FIRST+1) +#define HH_FTS_DEFAULT_PROXIMITY -1 + +typedef struct tagHH_FTS_QUERYA { + int cbStruct; + BOOL fUniCodeStrings; + LPCSTR pszSearchQuery; + LONG iProximity; + BOOL fStemmedSearch; + BOOL fTitleOnly; + BOOL fExecute; + LPCSTR pszWindow; +} HH_FTS_QUERYA; + +typedef struct tagHH_FTS_QUERYW { + int cbStruct; + BOOL fUniCodeStrings; + LPCWSTR pszSearchQuery; + LONG iProximity; + BOOL fStemmedSearch; + BOOL fTitleOnly; + BOOL fExecute; + LPCWSTR pszWindow; +} HH_FTS_QUERYW; + +DECL_WINELIB_TYPE_AW(HH_FTS_QUERY) + +typedef struct tagHH_WINTYPEA { + int cbStruct; + BOOL fUniCodeStrings; + LPCSTR pszType; + DWORD fsValidMembers; + DWORD fsWinProperties; + LPCSTR pszCaption; + DWORD dwStyles; + DWORD dwExStyles; + RECT rcWindowPos; + int nShowState; + HWND hwndHelp; + HWND hwndCaller; + PHH_INFOTYPE paInfoTypes; + HWND hwndToolBar; + HWND hwndNavigation; + HWND hwndHTML; + int iNavWidth; + RECT rcHTML; + LPCSTR pszToc; + LPCSTR pszIndex; + LPCSTR pszFile; + LPCSTR pszHome; + DWORD fsToolBarFlags; + BOOL fNotExpanded; + int curNavType; + int tabpos; + int idNotify; + BYTE tabOrder[HH_MAX_TABS+1]; + int cHistory; + LPCSTR pszJump1; + LPCSTR pszJump2; + LPCSTR pszUrlJump1; + LPCSTR pszUrlJump2; + RECT rcMinSize; + int cbInfoTypes; + LPCSTR pszCustomTabs; +} HH_WINTYPEA, *PHH_WINTYPEA; + +typedef struct tagHH_WINTYPEW { + int cbStruct; + BOOL fUniCodeStrings; + LPCWSTR pszType; + DWORD fsValidMembers; + DWORD fsWinProperties; + LPCWSTR pszCaption; + DWORD dwStyles; + DWORD dwExStyles; + RECT rcWindowPos; + int nShowState; + HWND hwndHelp; + HWND hwndCaller; + PHH_INFOTYPE paInfoTypes; + HWND hwndToolBar; + HWND hwndNavigation; + HWND hwndHTML; + int iNavWidth; + RECT rcHTML; + LPCWSTR pszToc; + LPCWSTR pszIndex; + LPCWSTR pszFile; + LPCWSTR pszHome; + DWORD fsToolBarFlags; + BOOL fNotExpanded; + int curNavType; + int tabpos; + int idNotify; + BYTE tabOrder[HH_MAX_TABS+1]; + int cHistory; + LPCWSTR pszJump1; + LPCWSTR pszJump2; + LPCWSTR pszUrlJump1; + LPCWSTR pszUrlJump2; + RECT rcMinSize; + int cbInfoTypes; + LPCWSTR pszCustomTabs; +} HH_WINTYPEW, *PHH_WINTYPEW; + +DECL_WINELIB_TYPE_AW(HH_WINTYPE) + +enum { + HHACT_TAB_CONTENTS, + HHACT_TAB_INDEX, + HHACT_TAB_SEARCH, + HHACT_TAB_HISTORY, + HHACT_TAB_FAVORITES, + HHACT_EXPAND, + HHACT_CONTRACT, + HHACT_BACK, + HHACT_FORWARD, + HHACT_STOP, + HHACT_REFRESH, + HHACT_HOME, + HHACT_SYNC, + HHACT_OPTIONS, + HHACT_PRINT, + HHACT_HIGHLIGHT, + HHACT_CUSTOMIZE, + HHACT_JUMP1, + HHACT_JUMP2, + HHACT_ZOOM, + HHACT_TOC_NEXT, + HHACT_TOC_PREV, + HHACT_NOTES, + HHACT_LAST_ENUM +}; + +typedef struct tagHH_NTRACKA { + NMHDR hdr; + PCSTR pszCurUrl; + int idAction; + PHH_WINTYPEA phhWinType; +} HH_NTRACKA; + +typedef struct tagHH_NTRACKW { + NMHDR hdr; + PCSTR pszCurUrl; + int idAction; + PHH_WINTYPEW phhWinType; +} HH_NTRACKW; + +DECL_WINELIB_TYPE_AW(HH_NTRACK) + +HWND WINAPI HtmlHelpA(HWND,LPCSTR,UINT,DWORD_PTR); +HWND WINAPI HtmlHelpW(HWND,LPCWSTR,UINT,DWORD_PTR); +#define HtmlHelp WINELIB_NAME_AW(HtmlHelp) + +#define ATOM_HTMLHELP_API_ANSI (LPTSTR)14 +#define ATOM_HTMLHELP_API_UNICODE (LPTSTR)15 + +typedef enum tagHH_GPROPID { + HH_GPROPID_SINGLETHREAD = 1, + HH_GPROPID_TOOLBAR_MARGIN = 2, + HH_GPROPID_UI_LANGUAGE = 3, + HH_GPROPID_CURRENT_SUBSET = 4, + HH_GPROPID_CONTENT_LANGUAGE = 5 +} HH_GPROPID; + +#ifdef __oaidl_h__ + +typedef struct tagHH_GLOBAL_PROPERTY +{ + HH_GPROPID id; + VARIANT var; +} HH_GLOBAL_PROPERTY ; + +#endif /* __oaidl_h__ */ + +#ifdef __cplusplus +} +#endif + +#endif /* __HTMLHELP_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/http.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/http.h new file mode 100644 index 0000000..db8a3d4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/http.h @@ -0,0 +1,70 @@ +/* + * HTTP Server API definitions + * + * Copyright (C) 2009 Andrey Turkin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_HTTP_H +#define __WINE_HTTP_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _HTTPAPI_VERSION +{ + USHORT HttpApiMajorVersion; + USHORT HttpApiMinorVersion; +} HTTPAPI_VERSION, *PHTTPAPI_VERSION; + +#define HTTPAPI_VERSION_1 {1,0} +#define HTTPAPI_VERSION_2 {2,0} + +/* HttpInitialize and HttpTerminate flags */ +#define HTTP_INITIALIZE_SERVER 0x00000001 +#define HTTP_INITIALIZE_CONFIG 0x00000002 + +typedef enum _HTTP_SERVICE_CONFIG_ID +{ + HttpServiceConfigIPListenList, + HttpServiceConfigSSLCertInfo, + HttpServiceConfigUrlAclInfo, + HttpServiceConfigTimeout, + HttpServiceConfigMax +} HTTP_SERVICE_CONFIG_ID, *PHTTP_SERVICE_CONFIG_ID; + +typedef ULONGLONG HTTP_OPAQUE_ID, *PHTTP_OPAQUE_ID; +typedef HTTP_OPAQUE_ID HTTP_SERVER_SESSION_ID, *PHTTP_SERVER_SESSION_ID; + +ULONG WINAPI HttpInitialize(HTTPAPI_VERSION,ULONG,PVOID); +ULONG WINAPI HttpTerminate(ULONG,PVOID); + +ULONG WINAPI HttpAddUrl(HANDLE,PCWSTR,PVOID); +ULONG WINAPI HttpCreateHttpHandle(PHANDLE,ULONG); +ULONG WINAPI HttpCreateServerSession(HTTPAPI_VERSION,PHTTP_SERVER_SESSION_ID,ULONG); +ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); +ULONG WINAPI HttpQueryServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,PVOID,ULONG,PULONG,LPOVERLAPPED); +ULONG WINAPI HttpSetServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_HTTP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequest.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequest.h new file mode 100644 index 0000000..ecf1382 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequest.h @@ -0,0 +1,469 @@ +/*** Autogenerated by WIDL 2.18 from httprequest.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __httprequest_h__ +#define __httprequest_h__ + +/* Forward declarations */ + +#ifndef __IWinHttpRequest_FWD_DEFINED__ +#define __IWinHttpRequest_FWD_DEFINED__ +typedef interface IWinHttpRequest IWinHttpRequest; +#ifdef __cplusplus +interface IWinHttpRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __WinHttpRequest_FWD_DEFINED__ +#define __WinHttpRequest_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WinHttpRequest WinHttpRequest; +#else +typedef struct WinHttpRequest WinHttpRequest; +#endif /* defined __cplusplus */ +#endif /* defined __WinHttpRequest_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_WinHttp, 0x662901fc, 0x6951, 0x4854, 0x9e,0xb2, 0xd9,0xa2,0x57,0x0f,0x2b,0x2e); + +typedef LONG HTTPREQUEST_PROXY_SETTING; +#define HTTPREQUEST_PROXYSETTING_DEFAULT (0x0) + +#define HTTPREQUEST_PROXYSETTING_PRECONFIG (0x0) + +#define HTTPREQUEST_PROXYSETTING_DIRECT (0x1) + +#define HTTPREQUEST_PROXYSETTING_PROXY (0x2) + +typedef LONG HTTPREQUEST_SETCREDENTIALS_FLAGS; +#define HTTPREQUEST_SETCREDENTIALS_FOR_SERVER (0x0) + +#define HTTPREQUEST_SETCREDENTIALS_FOR_PROXY (0x1) + +typedef enum WinHttpRequestOption { + WinHttpRequestOption_UserAgentString = 0, + WinHttpRequestOption_URL = 1, + WinHttpRequestOption_URLCodePage = 2, + WinHttpRequestOption_EscapePercentInURL = 3, + WinHttpRequestOption_SslErrorIgnoreFlags = 4, + WinHttpRequestOption_SelectCertificate = 5, + WinHttpRequestOption_EnableRedirects = 6, + WinHttpRequestOption_UrlEscapeDisable = 7, + WinHttpRequestOption_UrlEscapeDisableQuery = 8, + WinHttpRequestOption_SecureProtocols = 9, + WinHttpRequestOption_EnableTracing = 10, + WinHttpRequestOption_RevertImpersonationOverSsl = 11, + WinHttpRequestOption_EnableHttpsToHttpRedirects = 12, + WinHttpRequestOption_EnablePassportAuthentication = 13, + WinHttpRequestOption_MaxAutomaticRedirects = 14, + WinHttpRequestOption_MaxResponseHeaderSize = 15, + WinHttpRequestOption_MaxResponseDrainSize = 16, + WinHttpRequestOption_EnableHttp1_1 = 17, + WinHttpRequestOption_EnableCertificateRevocationCheck = 18, + WinHttpRequestOption_RejectUserpwd = 19 +} WinHttpRequestOption; +typedef enum WinHttpRequestAutoLogonPolicy { + AutoLogonPolicy_Always = 0, + AutoLogonPolicy_OnlyIfBypassProxy = 1, + AutoLogonPolicy_Never = 2 +} WinHttpRequestAutoLogonPolicy; +/***************************************************************************** + * IWinHttpRequest interface + */ +#ifndef __IWinHttpRequest_INTERFACE_DEFINED__ +#define __IWinHttpRequest_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWinHttpRequest, 0x016fe2ec, 0xb2c8, 0x45f8, 0xb2,0x3b, 0x39,0xe5,0x3a,0x75,0x39,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("016fe2ec-b2c8-45f8-b23b-39e53a75396b") +IWinHttpRequest : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE SetProxy( + HTTPREQUEST_PROXY_SETTING proxy_setting, + VARIANT proxy_server, + VARIANT bypass_list) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCredentials( + BSTR username, + BSTR password, + HTTPREQUEST_SETCREDENTIALS_FLAGS flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Open( + BSTR method, + BSTR url, + VARIANT async) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRequestHeader( + BSTR header, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetResponseHeader( + BSTR header, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllResponseHeaders( + BSTR *headers) = 0; + + virtual HRESULT STDMETHODCALLTYPE Send( + VARIANT body) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Status( + LONG *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StatusText( + BSTR *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResponseText( + BSTR *body) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResponseBody( + VARIANT *body) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResponseStream( + VARIANT *body) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Option( + WinHttpRequestOption option, + VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Option( + WinHttpRequestOption option, + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForResponse( + VARIANT timeout, + VARIANT_BOOL *succeeded) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTimeouts( + LONG resolve_timeout, + LONG connect_timeout, + LONG send_timeout, + LONG receive_timeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClientCertificate( + BSTR certificate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAutoLogonPolicy( + WinHttpRequestAutoLogonPolicy policy) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWinHttpRequest, 0x016fe2ec, 0xb2c8, 0x45f8, 0xb2,0x3b, 0x39,0xe5,0x3a,0x75,0x39,0x6b) +#endif +#else +typedef struct IWinHttpRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWinHttpRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWinHttpRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWinHttpRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWinHttpRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWinHttpRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWinHttpRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWinHttpRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWinHttpRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProxy)( + IWinHttpRequest *This, + HTTPREQUEST_PROXY_SETTING proxy_setting, + VARIANT proxy_server, + VARIANT bypass_list); + + HRESULT (STDMETHODCALLTYPE *SetCredentials)( + IWinHttpRequest *This, + BSTR username, + BSTR password, + HTTPREQUEST_SETCREDENTIALS_FLAGS flags); + + HRESULT (STDMETHODCALLTYPE *Open)( + IWinHttpRequest *This, + BSTR method, + BSTR url, + VARIANT async); + + HRESULT (STDMETHODCALLTYPE *SetRequestHeader)( + IWinHttpRequest *This, + BSTR header, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *GetResponseHeader)( + IWinHttpRequest *This, + BSTR header, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *GetAllResponseHeaders)( + IWinHttpRequest *This, + BSTR *headers); + + HRESULT (STDMETHODCALLTYPE *Send)( + IWinHttpRequest *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *get_Status)( + IWinHttpRequest *This, + LONG *status); + + HRESULT (STDMETHODCALLTYPE *get_StatusText)( + IWinHttpRequest *This, + BSTR *status); + + HRESULT (STDMETHODCALLTYPE *get_ResponseText)( + IWinHttpRequest *This, + BSTR *body); + + HRESULT (STDMETHODCALLTYPE *get_ResponseBody)( + IWinHttpRequest *This, + VARIANT *body); + + HRESULT (STDMETHODCALLTYPE *get_ResponseStream)( + IWinHttpRequest *This, + VARIANT *body); + + HRESULT (STDMETHODCALLTYPE *get_Option)( + IWinHttpRequest *This, + WinHttpRequestOption option, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_Option)( + IWinHttpRequest *This, + WinHttpRequestOption option, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *WaitForResponse)( + IWinHttpRequest *This, + VARIANT timeout, + VARIANT_BOOL *succeeded); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IWinHttpRequest *This); + + HRESULT (STDMETHODCALLTYPE *SetTimeouts)( + IWinHttpRequest *This, + LONG resolve_timeout, + LONG connect_timeout, + LONG send_timeout, + LONG receive_timeout); + + HRESULT (STDMETHODCALLTYPE *SetClientCertificate)( + IWinHttpRequest *This, + BSTR certificate); + + HRESULT (STDMETHODCALLTYPE *SetAutoLogonPolicy)( + IWinHttpRequest *This, + WinHttpRequestAutoLogonPolicy policy); + + END_INTERFACE +} IWinHttpRequestVtbl; + +interface IWinHttpRequest { + CONST_VTBL IWinHttpRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWinHttpRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWinHttpRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWinHttpRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWinHttpRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWinHttpRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWinHttpRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWinHttpRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWinHttpRequest methods ***/ +#define IWinHttpRequest_SetProxy(This,proxy_setting,proxy_server,bypass_list) (This)->lpVtbl->SetProxy(This,proxy_setting,proxy_server,bypass_list) +#define IWinHttpRequest_SetCredentials(This,username,password,flags) (This)->lpVtbl->SetCredentials(This,username,password,flags) +#define IWinHttpRequest_Open(This,method,url,async) (This)->lpVtbl->Open(This,method,url,async) +#define IWinHttpRequest_SetRequestHeader(This,header,value) (This)->lpVtbl->SetRequestHeader(This,header,value) +#define IWinHttpRequest_GetResponseHeader(This,header,value) (This)->lpVtbl->GetResponseHeader(This,header,value) +#define IWinHttpRequest_GetAllResponseHeaders(This,headers) (This)->lpVtbl->GetAllResponseHeaders(This,headers) +#define IWinHttpRequest_Send(This,body) (This)->lpVtbl->Send(This,body) +#define IWinHttpRequest_get_Status(This,status) (This)->lpVtbl->get_Status(This,status) +#define IWinHttpRequest_get_StatusText(This,status) (This)->lpVtbl->get_StatusText(This,status) +#define IWinHttpRequest_get_ResponseText(This,body) (This)->lpVtbl->get_ResponseText(This,body) +#define IWinHttpRequest_get_ResponseBody(This,body) (This)->lpVtbl->get_ResponseBody(This,body) +#define IWinHttpRequest_get_ResponseStream(This,body) (This)->lpVtbl->get_ResponseStream(This,body) +#define IWinHttpRequest_get_Option(This,option,value) (This)->lpVtbl->get_Option(This,option,value) +#define IWinHttpRequest_put_Option(This,option,value) (This)->lpVtbl->put_Option(This,option,value) +#define IWinHttpRequest_WaitForResponse(This,timeout,succeeded) (This)->lpVtbl->WaitForResponse(This,timeout,succeeded) +#define IWinHttpRequest_Abort(This) (This)->lpVtbl->Abort(This) +#define IWinHttpRequest_SetTimeouts(This,resolve_timeout,connect_timeout,send_timeout,receive_timeout) (This)->lpVtbl->SetTimeouts(This,resolve_timeout,connect_timeout,send_timeout,receive_timeout) +#define IWinHttpRequest_SetClientCertificate(This,certificate) (This)->lpVtbl->SetClientCertificate(This,certificate) +#define IWinHttpRequest_SetAutoLogonPolicy(This,policy) (This)->lpVtbl->SetAutoLogonPolicy(This,policy) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWinHttpRequest_QueryInterface(IWinHttpRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWinHttpRequest_AddRef(IWinHttpRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWinHttpRequest_Release(IWinHttpRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWinHttpRequest_GetTypeInfoCount(IWinHttpRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWinHttpRequest_GetTypeInfo(IWinHttpRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWinHttpRequest_GetIDsOfNames(IWinHttpRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWinHttpRequest_Invoke(IWinHttpRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWinHttpRequest methods ***/ +static FORCEINLINE HRESULT IWinHttpRequest_SetProxy(IWinHttpRequest* This,HTTPREQUEST_PROXY_SETTING proxy_setting,VARIANT proxy_server,VARIANT bypass_list) { + return This->lpVtbl->SetProxy(This,proxy_setting,proxy_server,bypass_list); +} +static FORCEINLINE HRESULT IWinHttpRequest_SetCredentials(IWinHttpRequest* This,BSTR username,BSTR password,HTTPREQUEST_SETCREDENTIALS_FLAGS flags) { + return This->lpVtbl->SetCredentials(This,username,password,flags); +} +static FORCEINLINE HRESULT IWinHttpRequest_Open(IWinHttpRequest* This,BSTR method,BSTR url,VARIANT async) { + return This->lpVtbl->Open(This,method,url,async); +} +static FORCEINLINE HRESULT IWinHttpRequest_SetRequestHeader(IWinHttpRequest* This,BSTR header,BSTR value) { + return This->lpVtbl->SetRequestHeader(This,header,value); +} +static FORCEINLINE HRESULT IWinHttpRequest_GetResponseHeader(IWinHttpRequest* This,BSTR header,BSTR *value) { + return This->lpVtbl->GetResponseHeader(This,header,value); +} +static FORCEINLINE HRESULT IWinHttpRequest_GetAllResponseHeaders(IWinHttpRequest* This,BSTR *headers) { + return This->lpVtbl->GetAllResponseHeaders(This,headers); +} +static FORCEINLINE HRESULT IWinHttpRequest_Send(IWinHttpRequest* This,VARIANT body) { + return This->lpVtbl->Send(This,body); +} +static FORCEINLINE HRESULT IWinHttpRequest_get_Status(IWinHttpRequest* This,LONG *status) { + return This->lpVtbl->get_Status(This,status); +} +static FORCEINLINE HRESULT IWinHttpRequest_get_StatusText(IWinHttpRequest* This,BSTR *status) { + return This->lpVtbl->get_StatusText(This,status); +} +static FORCEINLINE HRESULT IWinHttpRequest_get_ResponseText(IWinHttpRequest* This,BSTR *body) { + return This->lpVtbl->get_ResponseText(This,body); +} +static FORCEINLINE HRESULT IWinHttpRequest_get_ResponseBody(IWinHttpRequest* This,VARIANT *body) { + return This->lpVtbl->get_ResponseBody(This,body); +} +static FORCEINLINE HRESULT IWinHttpRequest_get_ResponseStream(IWinHttpRequest* This,VARIANT *body) { + return This->lpVtbl->get_ResponseStream(This,body); +} +static FORCEINLINE HRESULT IWinHttpRequest_get_Option(IWinHttpRequest* This,WinHttpRequestOption option,VARIANT *value) { + return This->lpVtbl->get_Option(This,option,value); +} +static FORCEINLINE HRESULT IWinHttpRequest_put_Option(IWinHttpRequest* This,WinHttpRequestOption option,VARIANT value) { + return This->lpVtbl->put_Option(This,option,value); +} +static FORCEINLINE HRESULT IWinHttpRequest_WaitForResponse(IWinHttpRequest* This,VARIANT timeout,VARIANT_BOOL *succeeded) { + return This->lpVtbl->WaitForResponse(This,timeout,succeeded); +} +static FORCEINLINE HRESULT IWinHttpRequest_Abort(IWinHttpRequest* This) { + return This->lpVtbl->Abort(This); +} +static FORCEINLINE HRESULT IWinHttpRequest_SetTimeouts(IWinHttpRequest* This,LONG resolve_timeout,LONG connect_timeout,LONG send_timeout,LONG receive_timeout) { + return This->lpVtbl->SetTimeouts(This,resolve_timeout,connect_timeout,send_timeout,receive_timeout); +} +static FORCEINLINE HRESULT IWinHttpRequest_SetClientCertificate(IWinHttpRequest* This,BSTR certificate) { + return This->lpVtbl->SetClientCertificate(This,certificate); +} +static FORCEINLINE HRESULT IWinHttpRequest_SetAutoLogonPolicy(IWinHttpRequest* This,WinHttpRequestAutoLogonPolicy policy) { + return This->lpVtbl->SetAutoLogonPolicy(This,policy); +} +#endif +#endif + +#endif + + +#endif /* __IWinHttpRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * WinHttpRequest coclass + */ + +DEFINE_GUID(CLSID_WinHttpRequest, 0x2087c2f4, 0x2cef, 0x4953, 0xa8,0xab, 0x66,0x77,0x9b,0x67,0x04,0x95); + +#ifdef __cplusplus +class DECLSPEC_UUID("2087c2f4-2cef-4953-a8ab-66779b670495") WinHttpRequest; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WinHttpRequest, 0x2087c2f4, 0x2cef, 0x4953, 0xa8,0xab, 0x66,0x77,0x9b,0x67,0x04,0x95) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __httprequest_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequest.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequest.idl new file mode 100644 index 0000000..838ce26 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequest.idl @@ -0,0 +1,192 @@ +/* + * Copyright 2011 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "httprequestid.h" + +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + uuid(662901fc-6951-4854-9eb2-d9a2570f2b2e), + helpstring("Microsoft WinHTTP Services, version 5.1"), + lcid(0x0000), + version(5.1) +] +library WinHttp { + +importlib ("stdole2.tlb"); + +typedef [public] LONG HTTPREQUEST_PROXY_SETTING; +const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_DEFAULT = 0x00000000; +const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_PRECONFIG = 0x00000000; +const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_DIRECT = 0x00000001; +const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_PROXY = 0x00000002; + +typedef [public] LONG HTTPREQUEST_SETCREDENTIALS_FLAGS; +const HTTPREQUEST_SETCREDENTIALS_FLAGS HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0x00000000; +const HTTPREQUEST_SETCREDENTIALS_FLAGS HTTPREQUEST_SETCREDENTIALS_FOR_PROXY = 0x00000001; + +typedef +[uuid(12782009-fe90-4877-9730-e5e183669b19)] +enum WinHttpRequestOption +{ + WinHttpRequestOption_UserAgentString, + WinHttpRequestOption_URL, + WinHttpRequestOption_URLCodePage, + WinHttpRequestOption_EscapePercentInURL, + WinHttpRequestOption_SslErrorIgnoreFlags, + WinHttpRequestOption_SelectCertificate, + WinHttpRequestOption_EnableRedirects, + WinHttpRequestOption_UrlEscapeDisable, + WinHttpRequestOption_UrlEscapeDisableQuery, + WinHttpRequestOption_SecureProtocols, + WinHttpRequestOption_EnableTracing, + WinHttpRequestOption_RevertImpersonationOverSsl, + WinHttpRequestOption_EnableHttpsToHttpRedirects, + WinHttpRequestOption_EnablePassportAuthentication, + WinHttpRequestOption_MaxAutomaticRedirects, + WinHttpRequestOption_MaxResponseHeaderSize, + WinHttpRequestOption_MaxResponseDrainSize, + WinHttpRequestOption_EnableHttp1_1, + WinHttpRequestOption_EnableCertificateRevocationCheck, + WinHttpRequestOption_RejectUserpwd +} WinHttpRequestOption; + +typedef +[uuid(9d8a6df8-13de-4b1f-a330-67c719d62514)] +enum WinHttpRequestAutoLogonPolicy +{ + AutoLogonPolicy_Always, + AutoLogonPolicy_OnlyIfBypassProxy, + AutoLogonPolicy_Never +} WinHttpRequestAutoLogonPolicy; + +[ + object, + uuid(016fe2ec-b2c8-45f8-b23b-39e53a75396b), + odl, + dual, + oleautomation, + nonextensible, + pointer_default(unique) +] +interface IWinHttpRequest : IDispatch +{ + [id(DISPID_HTTPREQUEST_SETPROXY)] + HRESULT SetProxy( + [in] HTTPREQUEST_PROXY_SETTING proxy_setting, + [in, optional] VARIANT proxy_server, + [in, optional] VARIANT bypass_list); + + [id(DISPID_HTTPREQUEST_SETCREDENTIALS)] + HRESULT SetCredentials( + [in] BSTR username, + [in] BSTR password, + [in] HTTPREQUEST_SETCREDENTIALS_FLAGS flags); + + [id(DISPID_HTTPREQUEST_OPEN)] + HRESULT Open( + [in] BSTR method, + [in] BSTR url, + [in, optional] VARIANT async); + + [id(DISPID_HTTPREQUEST_SETREQUESTHEADER)] + HRESULT SetRequestHeader( + [in] BSTR header, + [in] BSTR value); + + [id(DISPID_HTTPREQUEST_GETRESPONSEHEADER)] + HRESULT GetResponseHeader( + [in] BSTR header, + [out, retval] BSTR *value); + + [id(DISPID_HTTPREQUEST_GETALLRESPONSEHEADERS)] + HRESULT GetAllResponseHeaders( + [out, retval] BSTR *headers); + + [id(DISPID_HTTPREQUEST_SEND)] + HRESULT Send( + [in, optional] VARIANT body); + + [propget, id(DISPID_HTTPREQUEST_STATUS)] + HRESULT Status( + [out, retval] LONG *status); + + [propget, id(DISPID_HTTPREQUEST_STATUSTEXT)] + HRESULT StatusText( + [out, retval] BSTR *status); + + [propget, id(DISPID_HTTPREQUEST_RESPONSETEXT)] + HRESULT ResponseText( + [out, retval] BSTR *body); + + [propget, id(DISPID_HTTPREQUEST_RESPONSEBODY)] + HRESULT ResponseBody( + [out, retval] VARIANT *body); + + [propget, id(DISPID_HTTPREQUEST_RESPONSESTREAM)] + HRESULT ResponseStream( + [out, retval] VARIANT *body); + + [propget, id(DISPID_HTTPREQUEST_OPTION)] + HRESULT Option( + [in] WinHttpRequestOption option, + [out, retval] VARIANT *value); + + [propput, id(DISPID_HTTPREQUEST_OPTION)] + HRESULT Option( + [in] WinHttpRequestOption option, + [in] VARIANT value); + + [id(DISPID_HTTPREQUEST_WAITFORRESPONSE)] + HRESULT WaitForResponse( + [in, optional] VARIANT timeout, + [out, retval] VARIANT_BOOL *succeeded); + + [id(DISPID_HTTPREQUEST_ABORT)] + HRESULT Abort(); + + [id(DISPID_HTTPREQUEST_SETTIMEOUTS)] + HRESULT SetTimeouts( + [in] LONG resolve_timeout, + [in] LONG connect_timeout, + [in] LONG send_timeout, + [in] LONG receive_timeout); + + [id(DISPID_HTTPREQUEST_SETCLIENTCERTIFICATE)] + HRESULT SetClientCertificate( + [in] BSTR certificate); + + [id(DISPID_HTTPREQUEST_SETAUTOLOGONPOLICY)] + HRESULT SetAutoLogonPolicy( + [in] WinHttpRequestAutoLogonPolicy policy); +} +[ + helpstring("WinHttpRequest Component version 5.1"), + threading(apartment), + progid("WinHttp.WinHttpRequest.5.1"), + uuid(2087c2f4-2cef-4953-a8ab-66779b670495) +] +coclass WinHttpRequest { interface IWinHttpRequest; } + +} /* WinHttp */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequestid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequestid.h new file mode 100644 index 0000000..9860b1f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/httprequestid.h @@ -0,0 +1,42 @@ +/* + * Copyright 2011 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_HTTPREQUESTID_H +#define __WINE_HTTPREQUESTID_H + +#define DISPID_HTTPREQUEST_BASE 1 +#define DISPID_HTTPREQUEST_OPEN (DISPID_HTTPREQUEST_BASE) +#define DISPID_HTTPREQUEST_SETREQUESTHEADER (DISPID_HTTPREQUEST_BASE + 1) +#define DISPID_HTTPREQUEST_GETRESPONSEHEADER (DISPID_HTTPREQUEST_BASE + 2) +#define DISPID_HTTPREQUEST_GETALLRESPONSEHEADERS (DISPID_HTTPREQUEST_BASE + 3) +#define DISPID_HTTPREQUEST_SEND (DISPID_HTTPREQUEST_BASE + 4) +#define DISPID_HTTPREQUEST_OPTION (DISPID_HTTPREQUEST_BASE + 5) +#define DISPID_HTTPREQUEST_STATUS (DISPID_HTTPREQUEST_BASE + 6) +#define DISPID_HTTPREQUEST_STATUSTEXT (DISPID_HTTPREQUEST_BASE + 7) +#define DISPID_HTTPREQUEST_RESPONSETEXT (DISPID_HTTPREQUEST_BASE + 8) +#define DISPID_HTTPREQUEST_RESPONSEBODY (DISPID_HTTPREQUEST_BASE + 9) +#define DISPID_HTTPREQUEST_RESPONSESTREAM (DISPID_HTTPREQUEST_BASE + 10) +#define DISPID_HTTPREQUEST_ABORT (DISPID_HTTPREQUEST_BASE + 11) +#define DISPID_HTTPREQUEST_SETPROXY (DISPID_HTTPREQUEST_BASE + 12) +#define DISPID_HTTPREQUEST_SETCREDENTIALS (DISPID_HTTPREQUEST_BASE + 13) +#define DISPID_HTTPREQUEST_WAITFORRESPONSE (DISPID_HTTPREQUEST_BASE + 14) +#define DISPID_HTTPREQUEST_SETTIMEOUTS (DISPID_HTTPREQUEST_BASE + 15) +#define DISPID_HTTPREQUEST_SETCLIENTCERTIFICATE (DISPID_HTTPREQUEST_BASE + 16) +#define DISPID_HTTPREQUEST_SETAUTOLOGONPOLICY (DISPID_HTTPREQUEST_BASE + 17) + +#endif /* __WINE_HTTPREQUESTID_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/i_cryptasn1tls.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/i_cryptasn1tls.h new file mode 100644 index 0000000..aee4adc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/i_cryptasn1tls.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_I_CRYPTASN1TLS_H +#define __WINE_I_CRYPTASN1TLS_H + +typedef void *ASN1decoding_t; +typedef void *ASN1encoding_t; +typedef void *ASN1module_t; +typedef DWORD HCRYPTASN1MODULE; + + +#ifdef __cplusplus +extern "C" { +#endif + +ASN1decoding_t WINAPI I_CryptGetAsn1Decoder(HCRYPTASN1MODULE); +ASN1encoding_t WINAPI I_CryptGetAsn1Encoder(HCRYPTASN1MODULE); +BOOL WINAPI I_CryptInstallAsn1Module(ASN1module_t, DWORD, void*); +BOOL WINAPI I_CryptUninstallAsn1Module(HCRYPTASN1MODULE); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_I_CRYPTASN1TLS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iads.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iads.h new file mode 100644 index 0000000..4830e12 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iads.h @@ -0,0 +1,2738 @@ +/*** Autogenerated by WIDL 2.18 from iads.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __iads_h__ +#define __iads_h__ + +/* Forward declarations */ + +#ifndef __IADsContainer_FWD_DEFINED__ +#define __IADsContainer_FWD_DEFINED__ +typedef interface IADsContainer IADsContainer; +#ifdef __cplusplus +interface IADsContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IADs_FWD_DEFINED__ +#define __IADs_FWD_DEFINED__ +typedef interface IADs IADs; +#ifdef __cplusplus +interface IADs; +#endif /* __cplusplus */ +#endif + +#ifndef __IADsMembers_FWD_DEFINED__ +#define __IADsMembers_FWD_DEFINED__ +typedef interface IADsMembers IADsMembers; +#ifdef __cplusplus +interface IADsMembers; +#endif /* __cplusplus */ +#endif + +#ifndef __IADsGroup_FWD_DEFINED__ +#define __IADsGroup_FWD_DEFINED__ +typedef interface IADsGroup IADsGroup; +#ifdef __cplusplus +interface IADsGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __IADsUser_FWD_DEFINED__ +#define __IADsUser_FWD_DEFINED__ +typedef interface IADsUser IADsUser; +#ifdef __cplusplus +interface IADsUser; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectorySearch_FWD_DEFINED__ +#define __IDirectorySearch_FWD_DEFINED__ +typedef interface IDirectorySearch IDirectorySearch; +#ifdef __cplusplus +interface IDirectorySearch; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum __WIDL_iads_generated_name_00000002 { + ADS_RIGHT_DS_CREATE_CHILD = 0x1, + ADS_RIGHT_DS_DELETE_CHILD = 0x2, + ADS_RIGHT_ACTRL_DS_LIST = 0x4, + ADS_RIGHT_DS_SELF = 0x8, + ADS_RIGHT_DS_READ_PROP = 0x10, + ADS_RIGHT_DS_WRITE_PROP = 0x20, + ADS_RIGHT_DS_DELETE_TREE = 0x40, + ADS_RIGHT_DS_LIST_OBJECT = 0x80, + ADS_RIGHT_DS_CONTROL_ACCESS = 0x100, + ADS_RIGHT_DELETE = 0x10000, + ADS_RIGHT_READ_CONTROL = 0x20000, + ADS_RIGHT_WRITE_DAC = 0x40000, + ADS_RIGHT_WRITE_OWNER = 0x80000, + ADS_RIGHT_SYNCHRONIZE = 0x100000, + ADS_RIGHT_ACCESS_SYSTEM_SECURITY = 0x200000, + ADS_RIGHT_GENERIC_ALL = 0x10000000, + ADS_RIGHT_GENERIC_EXECUTE = 0x20000000, + ADS_RIGHT_GENERIC_WRITE = 0x40000000, + ADS_RIGHT_GENERIC_READ = 0x80000000 +} ADS_RIGHTS_ENUM; +typedef enum __WIDL_iads_generated_name_00000003 { + ADS_SECURE_AUTHENTICATION = 0x1, + ADS_USE_ENCRYPTION = 0x2, + ADS_USE_SSL = 0x2, + ADS_READONLY_SERVER = 0x4, + ADS_PROMPT_CREDENTIALS = 0x8, + ADS_NO_AUTHENTICATION = 0x10, + ADS_FAST_BIND = 0x20, + ADS_USE_SIGNING = 0x40, + ADS_USE_SEALING = 0x80, + ADS_USE_DELEGATION = 0x100, + ADS_SERVER_BIND = 0x200, + ADS_NO_REFERRAL_CHASING = 0x400, + ADS_AUTH_RESERVED = 0x80000000 +} ADS_AUTHENTICATION_ENUM; +typedef enum __WIDL_iads_generated_name_00000004 { + ADS_SEARCHPREF_ASYNCHRONOUS = 0, + ADS_SEARCHPREF_DEREF_ALIASES = 1, + ADS_SEARCHPREF_SIZE_LIMIT = 2, + ADS_SEARCHPREF_TIME_LIMIT = 3, + ADS_SEARCHPREF_ATTRIBTYPES_ONLY = 4, + ADS_SEARCHPREF_SEARCH_SCOPE = 5, + ADS_SEARCHPREF_TIMEOUT = 6, + ADS_SEARCHPREF_PAGESIZE = 7, + ADS_SEARCHPREF_PAGED_TIME_LIMIT = 8, + ADS_SEARCHPREF_CHASE_REFERRALS = 9, + ADS_SEARCHPREF_SORT_ON = 10, + ADS_SEARCHPREF_CACHE_RESULTS = 11, + ADS_SEARCHPREF_DIRSYNC = 12, + ADS_SEARCHPREF_TOMBSTONE = 13, + ADS_SEARCHPREF_VLV = 14, + ADS_SEARCHPREF_ATTRIBUTE_QUERY = 15, + ADS_SEARCHPREF_SECURITY_MASK = 16, + ADS_SEARCHPREF_DIRSYNC_FLAG = 17, + ADS_SEARCHPREF_EXTENDED_DN = 18 +} ADS_SEARCHPREF_ENUM; +typedef ADS_SEARCHPREF_ENUM *PADS_SEARCHPREF_INFO; +typedef enum __WIDL_iads_generated_name_00000005 { + ADS_STATUS_S_OK = 0, + ADS_STATUS_INVALID_SEARCHPREF = 1, + ADS_STATUS_INVALID_SEARCHPREFVALUE = 2 +} ADS_STATUSENUM; +typedef enum __WIDL_iads_generated_name_00000006 { + ADSTYPE_INVALID = 0, + ADSTYPE_DN_STRING = 1, + ADSTYPE_CASE_EXACT_STRING = 2, + ADSTYPE_CASE_IGNORE_STRING = 3, + ADSTYPE_PRINTABLE_STRING = 4, + ADSTYPE_NUMERIC_STRING = 5, + ADSTYPE_BOOLEAN = 6, + ADSTYPE_INTEGER = 7, + ADSTYPE_OCTET_STRING = 8, + ADSTYPE_UTC_TIME = 9, + ADSTYPE_LARGE_INTEGER = 10, + ADSTYPE_PROV_SPECIFIC = 11, + ADSTYPE_OBJECT_CLASS = 12, + ADSTYPE_CASEIGNORE_LIST = 13, + ADSTYPE_OCTET_LIST = 14, + ADSTYPE_PATH = 15, + ADSTYPE_POSTALADDRESS = 16, + ADSTYPE_TIMESTAMP = 17, + ADSTYPE_BACKLINK = 18, + ADSTYPE_TYPEDNAME = 19, + ADSTYPE_HOLD = 20, + ADSTYPE_NETADDRESS = 21, + ADSTYPE_REPLICAPOINTER = 22, + ADSTYPE_FAXNUMBER = 23, + ADSTYPE_EMAIL = 24, + ADSTYPE_NT_SECURITY_DESCRIPTOR = 25, + ADSTYPE_UNKNOWN = 26, + ADSTYPE_DN_WITH_BINARY = 27, + ADSTYPE_DN_WITH_STRING = 28 +} ADSTYPEENUM; +typedef enum __WIDL_iads_generated_name_00000007 { + ADS_PASSWORD_ENCODE_REQUIRE_SSL = 0, + ADS_PASSWORD_ENCODE_CLEAR = 1 +} ADS_PASSWORD_ENCODING_ENUM; +typedef struct _ADS_CASEIGNORE_LIST { + struct _ADS_CASEIGNORE_LIST *Next; + LPWSTR String; +} ADS_CASEIGNORE_LIST; +typedef struct _ADS_OCTET_LIST { + struct _ADS_OCTET_LIST *Next; + DWORD Length; + BYTE *Data; +} ADS_OCTET_LIST; +typedef struct __WIDL_iads_generated_name_00000008 { + DWORD Type; + LPWSTR VolumeName; + LPWSTR Path; +} ADS_PATH; +typedef struct __WIDL_iads_generated_name_00000008 *PADS_PATH; +typedef struct __WIDL_iads_generated_name_00000009 { + DWORD WholeSeconds; + DWORD EventID; +} ADS_TIMESTAMP; +typedef ADSTYPEENUM ADSTYPE; +typedef LPWSTR ADS_DN_STRING; +typedef LPWSTR *PADS_DN_STRING; +typedef LPWSTR ADS_CASE_EXACT_STRING; +typedef LPWSTR *PADS_CASE_EXACT_STRING; +typedef LPWSTR ADS_CASE_IGNORE_STRING; +typedef LPWSTR *PADS_CASE_IGNORE_STRING; +typedef LPWSTR ADS_PRINTABLE_STRING; +typedef LPWSTR *PADS_PRINTABLE_STRING; +typedef LPWSTR ADS_NUMERIC_STRING; +typedef LPWSTR *PADS_NUMERIC_STRING; +typedef DWORD ADS_BOOLEAN; +typedef DWORD *LPNDS_BOOLEAN; +typedef DWORD ADS_INTEGER; +typedef DWORD *PADS_INTEGER; +typedef SYSTEMTIME ADS_UTC_TIME; +typedef SYSTEMTIME *PADS_UTC_TIME; +typedef LARGE_INTEGER ADS_LARGE_INTEGER; +typedef LARGE_INTEGER *PADS_LARGE_INTEGER; +typedef LPWSTR ADS_OBJECT_CLASS; +typedef LPWSTR *PADS_OBJECT_CLASS; +typedef struct _ADS_OCTET_LIST *PADS_OCTET_LIST; +typedef struct _ADS_CASEIGNORE_LIST *PADS_CASEIGNORE_LIST; +typedef ADS_STATUSENUM ADS_STATUS; +typedef ADS_SEARCHPREF_ENUM ADS_SEARCHPREF; +typedef HANDLE ADS_SEARCH_HANDLE; +typedef HANDLE *PADS_SEARCH_HANDLE; +typedef struct __WIDL_iads_generated_name_0000000A { + DWORD dwLength; + BYTE *lpValue; +} ADS_OCTET_STRING; +typedef struct __WIDL_iads_generated_name_0000000B { + DWORD dwLength; + BYTE *lpValue; +} ADS_PROV_SPECIFIC; +typedef struct __WIDL_iads_generated_name_0000000C { + LPWSTR PostalAddress[6]; +} ADS_POSTALADDRESS; +typedef struct __WIDL_iads_generated_name_0000000C *PADS_POSTALADDRESS; +typedef struct __WIDL_iads_generated_name_0000000D { + LPWSTR ObjectName; + DWORD Level; + DWORD Interval; +} ADS_TYPEDNAME; +typedef struct __WIDL_iads_generated_name_0000000D *PADS_TYPEDNAME; +typedef struct __WIDL_iads_generated_name_0000000E { + DWORD RemoteID; + LPWSTR ObjectName; +} ADS_BACKLINK; +typedef struct __WIDL_iads_generated_name_0000000F { + LPWSTR ObjectName; + DWORD Amount; +} ADS_HOLD; +typedef struct __WIDL_iads_generated_name_00000010 { + DWORD AddressType; + DWORD AddressLength; + BYTE *Address; +} ADS_NETADDRESS; +typedef struct __WIDL_iads_generated_name_00000010 *PADS_NETADDRESS; +typedef struct __WIDL_iads_generated_name_00000011 { + LPWSTR ServerName; + DWORD ReplicaType; + DWORD ReplicaNumber; + DWORD Count; + PADS_NETADDRESS ReplicaAddressHints; +} ADS_REPLICAPOINTER; +typedef struct __WIDL_iads_generated_name_00000011 *PADS_REPLICAPOINTER; +typedef struct __WIDL_iads_generated_name_00000012 { + LPWSTR TelephoneNumber; + DWORD NumberOfBits; + BYTE *Parameters; +} ADS_FAXNUMBER; +typedef struct __WIDL_iads_generated_name_00000012 *PADS_FAXNUMBER; +typedef struct __WIDL_iads_generated_name_00000013 { + LPWSTR Address; + DWORD Type; +} ADS_EMAIL; +typedef struct __WIDL_iads_generated_name_00000013 *PADS_EMAIL; +typedef struct __WIDL_iads_generated_name_00000014 { + DWORD dwLength; + BYTE *lpValue; +} ADS_NT_SECURITY_DESCRIPTOR; +typedef struct __WIDL_iads_generated_name_00000015 { + DWORD dwLength; + BYTE *lpBinaryValue; + LPWSTR pszDNString; +} ADS_DN_WITH_BINARY; +typedef struct __WIDL_iads_generated_name_00000015 *PADS_DN_WITH_BINARY; +typedef struct __WIDL_iads_generated_name_00000016 { + LPWSTR pszStringValue; + LPWSTR pszDNString; +} ADS_DN_WITH_STRING; +typedef struct __WIDL_iads_generated_name_00000016 *PADS_DN_WITH_STRING; +typedef struct _adsvalue { + ADSTYPE dwType; + __C89_NAMELESS union { + ADS_DN_STRING DNString; + ADS_CASE_EXACT_STRING CaseExactString; + ADS_CASE_IGNORE_STRING CaseIgnoreString; + ADS_PRINTABLE_STRING PrintableString; + ADS_NUMERIC_STRING NumericString; + ADS_BOOLEAN Boolean; + ADS_INTEGER Integer; + ADS_OCTET_STRING OctetString; + ADS_UTC_TIME UTCTime; + ADS_LARGE_INTEGER LargeInteger; + ADS_OBJECT_CLASS ClassName; + ADS_PROV_SPECIFIC ProviderSpecific; + PADS_CASEIGNORE_LIST pCaseIgnoreList; + PADS_OCTET_LIST pOctetList; + PADS_PATH pPath; + PADS_POSTALADDRESS pPostalAddress; + ADS_TIMESTAMP Timestamp; + ADS_BACKLINK BackLink; + PADS_TYPEDNAME pTypedName; + ADS_HOLD Hold; + PADS_NETADDRESS pNetAddress; + PADS_REPLICAPOINTER pReplicaPointer; + PADS_FAXNUMBER pFaxNumber; + ADS_EMAIL Email; + ADS_NT_SECURITY_DESCRIPTOR SecurityDescriptor; + PADS_DN_WITH_BINARY pDNWithBinary; + PADS_DN_WITH_STRING pDNWithString; + } __C89_NAMELESSUNIONNAME; +} ADSVALUE; +typedef struct _adsvalue *PADSVALUE; +typedef struct ads_searchpref_info { + ADS_SEARCHPREF dwSearchPref; + ADSVALUE vValue; + ADS_STATUS dwStatus; +} ADS_SEARCHPREF_INFO; +typedef struct ads_search_column { + LPWSTR pszAttrName; + ADSTYPE dwADsType; + PADSVALUE pADsValues; + DWORD dwNumValues; + HANDLE hReserved; +} ADS_SEARCH_COLUMN; +typedef struct ads_search_column *PADS_SEARCH_COLUMN; +/***************************************************************************** + * IADsContainer interface + */ +#ifndef __IADsContainer_INTERFACE_DEFINED__ +#define __IADsContainer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IADsContainer, 0x001677d0, 0xfd16, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("001677d0-fd16-11ce-abc4-02608c9e7553") +IADsContainer : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Filter( + VARIANT *pvFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Filter( + VARIANT vFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Hints( + VARIANT *pvHints) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Hints( + VARIANT vHints) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + BSTR bstrClassName, + BSTR bstrRelativeName, + IDispatch **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE Create( + BSTR bstrClassName, + BSTR bstrRelativeName, + IDispatch **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + BSTR bstrClassName, + BSTR bstrRelativeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyHere( + BSTR bstrSourceName, + BSTR bstrNewName, + IDispatch **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveHere( + BSTR bstrSourceName, + BSTR bstrNewName, + IDispatch **ppObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IADsContainer, 0x001677d0, 0xfd16, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53) +#endif +#else +typedef struct IADsContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IADsContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IADsContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IADsContainer *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IADsContainer *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IADsContainer *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IADsContainer *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IADsContainer *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IADsContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IADsContainer *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IADsContainer *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Filter)( + IADsContainer *This, + VARIANT *pvFilter); + + HRESULT (STDMETHODCALLTYPE *put_Filter)( + IADsContainer *This, + VARIANT vFilter); + + HRESULT (STDMETHODCALLTYPE *get_Hints)( + IADsContainer *This, + VARIANT *pvHints); + + HRESULT (STDMETHODCALLTYPE *put_Hints)( + IADsContainer *This, + VARIANT vHints); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IADsContainer *This, + BSTR bstrClassName, + BSTR bstrRelativeName, + IDispatch **ppObject); + + HRESULT (STDMETHODCALLTYPE *Create)( + IADsContainer *This, + BSTR bstrClassName, + BSTR bstrRelativeName, + IDispatch **ppObject); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IADsContainer *This, + BSTR bstrClassName, + BSTR bstrRelativeName); + + HRESULT (STDMETHODCALLTYPE *CopyHere)( + IADsContainer *This, + BSTR bstrSourceName, + BSTR bstrNewName, + IDispatch **ppObject); + + HRESULT (STDMETHODCALLTYPE *MoveHere)( + IADsContainer *This, + BSTR bstrSourceName, + BSTR bstrNewName, + IDispatch **ppObject); + + END_INTERFACE +} IADsContainerVtbl; + +interface IADsContainer { + CONST_VTBL IADsContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IADsContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IADsContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IADsContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IADsContainer_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IADsContainer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IADsContainer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IADsContainer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IADsContainer methods ***/ +#define IADsContainer_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#define IADsContainer_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define IADsContainer_get_Filter(This,pvFilter) (This)->lpVtbl->get_Filter(This,pvFilter) +#define IADsContainer_put_Filter(This,vFilter) (This)->lpVtbl->put_Filter(This,vFilter) +#define IADsContainer_get_Hints(This,pvHints) (This)->lpVtbl->get_Hints(This,pvHints) +#define IADsContainer_put_Hints(This,vHints) (This)->lpVtbl->put_Hints(This,vHints) +#define IADsContainer_GetObject(This,bstrClassName,bstrRelativeName,ppObject) (This)->lpVtbl->GetObject(This,bstrClassName,bstrRelativeName,ppObject) +#define IADsContainer_Create(This,bstrClassName,bstrRelativeName,ppObject) (This)->lpVtbl->Create(This,bstrClassName,bstrRelativeName,ppObject) +#define IADsContainer_Delete(This,bstrClassName,bstrRelativeName) (This)->lpVtbl->Delete(This,bstrClassName,bstrRelativeName) +#define IADsContainer_CopyHere(This,bstrSourceName,bstrNewName,ppObject) (This)->lpVtbl->CopyHere(This,bstrSourceName,bstrNewName,ppObject) +#define IADsContainer_MoveHere(This,bstrSourceName,bstrNewName,ppObject) (This)->lpVtbl->MoveHere(This,bstrSourceName,bstrNewName,ppObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IADsContainer_QueryInterface(IADsContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IADsContainer_AddRef(IADsContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IADsContainer_Release(IADsContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IADsContainer_GetTypeInfoCount(IADsContainer* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IADsContainer_GetTypeInfo(IADsContainer* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IADsContainer_GetIDsOfNames(IADsContainer* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IADsContainer_Invoke(IADsContainer* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IADsContainer methods ***/ +static FORCEINLINE HRESULT IADsContainer_get_Count(IADsContainer* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +static FORCEINLINE HRESULT IADsContainer_get__NewEnum(IADsContainer* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT IADsContainer_get_Filter(IADsContainer* This,VARIANT *pvFilter) { + return This->lpVtbl->get_Filter(This,pvFilter); +} +static FORCEINLINE HRESULT IADsContainer_put_Filter(IADsContainer* This,VARIANT vFilter) { + return This->lpVtbl->put_Filter(This,vFilter); +} +static FORCEINLINE HRESULT IADsContainer_get_Hints(IADsContainer* This,VARIANT *pvHints) { + return This->lpVtbl->get_Hints(This,pvHints); +} +static FORCEINLINE HRESULT IADsContainer_put_Hints(IADsContainer* This,VARIANT vHints) { + return This->lpVtbl->put_Hints(This,vHints); +} +static FORCEINLINE HRESULT IADsContainer_GetObject(IADsContainer* This,BSTR bstrClassName,BSTR bstrRelativeName,IDispatch **ppObject) { + return This->lpVtbl->GetObject(This,bstrClassName,bstrRelativeName,ppObject); +} +static FORCEINLINE HRESULT IADsContainer_Create(IADsContainer* This,BSTR bstrClassName,BSTR bstrRelativeName,IDispatch **ppObject) { + return This->lpVtbl->Create(This,bstrClassName,bstrRelativeName,ppObject); +} +static FORCEINLINE HRESULT IADsContainer_Delete(IADsContainer* This,BSTR bstrClassName,BSTR bstrRelativeName) { + return This->lpVtbl->Delete(This,bstrClassName,bstrRelativeName); +} +static FORCEINLINE HRESULT IADsContainer_CopyHere(IADsContainer* This,BSTR bstrSourceName,BSTR bstrNewName,IDispatch **ppObject) { + return This->lpVtbl->CopyHere(This,bstrSourceName,bstrNewName,ppObject); +} +static FORCEINLINE HRESULT IADsContainer_MoveHere(IADsContainer* This,BSTR bstrSourceName,BSTR bstrNewName,IDispatch **ppObject) { + return This->lpVtbl->MoveHere(This,bstrSourceName,bstrNewName,ppObject); +} +#endif +#endif + +#endif + + +#endif /* __IADsContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IADs interface + */ +#ifndef __IADs_INTERFACE_DEFINED__ +#define __IADs_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IADs, 0xfd8256d0, 0xfd15, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd8256d0-fd15-11ce-abc4-02608c9e7553") +IADs : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Class( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GUID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ADsPath( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Schema( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInfo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get( + BSTR bstrName, + VARIANT *pvProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE Put( + BSTR bstrName, + VARIANT vProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEx( + BSTR bstrName, + VARIANT *pvProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutEx( + LONG lnControlCode, + BSTR bstrName, + VARIANT vProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfoEx( + VARIANT vProperties, + LONG lnReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IADs, 0xfd8256d0, 0xfd15, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53) +#endif +#else +typedef struct IADsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IADs *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IADs *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IADs *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IADs *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IADs *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IADs *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IADs *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IADs methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IADs *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Class)( + IADs *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_GUID)( + IADs *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_ADsPath)( + IADs *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IADs *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Schema)( + IADs *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IADs *This); + + HRESULT (STDMETHODCALLTYPE *SetInfo)( + IADs *This); + + HRESULT (STDMETHODCALLTYPE *Get)( + IADs *This, + BSTR bstrName, + VARIANT *pvProp); + + HRESULT (STDMETHODCALLTYPE *Put)( + IADs *This, + BSTR bstrName, + VARIANT vProp); + + HRESULT (STDMETHODCALLTYPE *GetEx)( + IADs *This, + BSTR bstrName, + VARIANT *pvProp); + + HRESULT (STDMETHODCALLTYPE *PutEx)( + IADs *This, + LONG lnControlCode, + BSTR bstrName, + VARIANT vProp); + + HRESULT (STDMETHODCALLTYPE *GetInfoEx)( + IADs *This, + VARIANT vProperties, + LONG lnReserved); + + END_INTERFACE +} IADsVtbl; + +interface IADs { + CONST_VTBL IADsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IADs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IADs_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IADs_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IADs_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IADs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IADs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IADs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IADs methods ***/ +#define IADs_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval) +#define IADs_get_Class(This,retval) (This)->lpVtbl->get_Class(This,retval) +#define IADs_get_GUID(This,retval) (This)->lpVtbl->get_GUID(This,retval) +#define IADs_get_ADsPath(This,retval) (This)->lpVtbl->get_ADsPath(This,retval) +#define IADs_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval) +#define IADs_get_Schema(This,retval) (This)->lpVtbl->get_Schema(This,retval) +#define IADs_GetInfo(This) (This)->lpVtbl->GetInfo(This) +#define IADs_SetInfo(This) (This)->lpVtbl->SetInfo(This) +#define IADs_Get(This,bstrName,pvProp) (This)->lpVtbl->Get(This,bstrName,pvProp) +#define IADs_Put(This,bstrName,vProp) (This)->lpVtbl->Put(This,bstrName,vProp) +#define IADs_GetEx(This,bstrName,pvProp) (This)->lpVtbl->GetEx(This,bstrName,pvProp) +#define IADs_PutEx(This,lnControlCode,bstrName,vProp) (This)->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp) +#define IADs_GetInfoEx(This,vProperties,lnReserved) (This)->lpVtbl->GetInfoEx(This,vProperties,lnReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IADs_QueryInterface(IADs* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IADs_AddRef(IADs* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IADs_Release(IADs* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IADs_GetTypeInfoCount(IADs* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IADs_GetTypeInfo(IADs* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IADs_GetIDsOfNames(IADs* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IADs_Invoke(IADs* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IADs methods ***/ +static FORCEINLINE HRESULT IADs_get_Name(IADs* This,BSTR *retval) { + return This->lpVtbl->get_Name(This,retval); +} +static FORCEINLINE HRESULT IADs_get_Class(IADs* This,BSTR *retval) { + return This->lpVtbl->get_Class(This,retval); +} +static FORCEINLINE HRESULT IADs_get_GUID(IADs* This,BSTR *retval) { + return This->lpVtbl->get_GUID(This,retval); +} +static FORCEINLINE HRESULT IADs_get_ADsPath(IADs* This,BSTR *retval) { + return This->lpVtbl->get_ADsPath(This,retval); +} +static FORCEINLINE HRESULT IADs_get_Parent(IADs* This,BSTR *retval) { + return This->lpVtbl->get_Parent(This,retval); +} +static FORCEINLINE HRESULT IADs_get_Schema(IADs* This,BSTR *retval) { + return This->lpVtbl->get_Schema(This,retval); +} +static FORCEINLINE HRESULT IADs_GetInfo(IADs* This) { + return This->lpVtbl->GetInfo(This); +} +static FORCEINLINE HRESULT IADs_SetInfo(IADs* This) { + return This->lpVtbl->SetInfo(This); +} +static FORCEINLINE HRESULT IADs_Get(IADs* This,BSTR bstrName,VARIANT *pvProp) { + return This->lpVtbl->Get(This,bstrName,pvProp); +} +static FORCEINLINE HRESULT IADs_Put(IADs* This,BSTR bstrName,VARIANT vProp) { + return This->lpVtbl->Put(This,bstrName,vProp); +} +static FORCEINLINE HRESULT IADs_GetEx(IADs* This,BSTR bstrName,VARIANT *pvProp) { + return This->lpVtbl->GetEx(This,bstrName,pvProp); +} +static FORCEINLINE HRESULT IADs_PutEx(IADs* This,LONG lnControlCode,BSTR bstrName,VARIANT vProp) { + return This->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp); +} +static FORCEINLINE HRESULT IADs_GetInfoEx(IADs* This,VARIANT vProperties,LONG lnReserved) { + return This->lpVtbl->GetInfoEx(This,vProperties,lnReserved); +} +#endif +#endif + +#endif + + +#endif /* __IADs_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IADsMembers interface + */ +#ifndef __IADsMembers_INTERFACE_DEFINED__ +#define __IADsMembers_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IADsMembers, 0x451a0030, 0x72ec, 0x11cf, 0xb0,0x3b, 0x00,0xaa,0x00,0x6e,0x09,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("451a0030-72ec-11cf-b03b-00aa006e0975") +IADsMembers : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **ppEnumerator) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Filter( + VARIANT *pvFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Filter( + VARIANT pvFilter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IADsMembers, 0x451a0030, 0x72ec, 0x11cf, 0xb0,0x3b, 0x00,0xaa,0x00,0x6e,0x09,0x75) +#endif +#else +typedef struct IADsMembersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IADsMembers *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IADsMembers *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IADsMembers *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IADsMembers *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IADsMembers *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IADsMembers *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IADsMembers *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IADsMembers methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IADsMembers *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IADsMembers *This, + IUnknown **ppEnumerator); + + HRESULT (STDMETHODCALLTYPE *get_Filter)( + IADsMembers *This, + VARIANT *pvFilter); + + HRESULT (STDMETHODCALLTYPE *put_Filter)( + IADsMembers *This, + VARIANT pvFilter); + + END_INTERFACE +} IADsMembersVtbl; + +interface IADsMembers { + CONST_VTBL IADsMembersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IADsMembers_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IADsMembers_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IADsMembers_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IADsMembers_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IADsMembers_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IADsMembers_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IADsMembers_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IADsMembers methods ***/ +#define IADsMembers_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount) +#define IADsMembers_get__NewEnum(This,ppEnumerator) (This)->lpVtbl->get__NewEnum(This,ppEnumerator) +#define IADsMembers_get_Filter(This,pvFilter) (This)->lpVtbl->get_Filter(This,pvFilter) +#define IADsMembers_put_Filter(This,pvFilter) (This)->lpVtbl->put_Filter(This,pvFilter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IADsMembers_QueryInterface(IADsMembers* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IADsMembers_AddRef(IADsMembers* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IADsMembers_Release(IADsMembers* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IADsMembers_GetTypeInfoCount(IADsMembers* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IADsMembers_GetTypeInfo(IADsMembers* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IADsMembers_GetIDsOfNames(IADsMembers* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IADsMembers_Invoke(IADsMembers* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IADsMembers methods ***/ +static FORCEINLINE HRESULT IADsMembers_get_Count(IADsMembers* This,LONG *plCount) { + return This->lpVtbl->get_Count(This,plCount); +} +static FORCEINLINE HRESULT IADsMembers_get__NewEnum(IADsMembers* This,IUnknown **ppEnumerator) { + return This->lpVtbl->get__NewEnum(This,ppEnumerator); +} +static FORCEINLINE HRESULT IADsMembers_get_Filter(IADsMembers* This,VARIANT *pvFilter) { + return This->lpVtbl->get_Filter(This,pvFilter); +} +static FORCEINLINE HRESULT IADsMembers_put_Filter(IADsMembers* This,VARIANT pvFilter) { + return This->lpVtbl->put_Filter(This,pvFilter); +} +#endif +#endif + +#endif + + +#endif /* __IADsMembers_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IADsGroup interface + */ +#ifndef __IADsGroup_INTERFACE_DEFINED__ +#define __IADsGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IADsGroup, 0x27636b00, 0x410f, 0x11cf, 0xb1,0xff, 0x02,0x60,0x8c,0x9e,0x75,0x53); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("27636b00-410f-11cf-b1ff-02608c9e7553") +IADsGroup : public IADs +{ + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Description( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Members( + IADsMembers **ppMembers) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsMember( + BSTR bstrMember, + VARIANT_BOOL *bMember) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR bstrNewItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + BSTR bstrItemToBeRemoved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IADsGroup, 0x27636b00, 0x410f, 0x11cf, 0xb1,0xff, 0x02,0x60,0x8c,0x9e,0x75,0x53) +#endif +#else +typedef struct IADsGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IADsGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IADsGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IADsGroup *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IADsGroup *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IADsGroup *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IADsGroup *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IADsGroup *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IADs methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Class)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_GUID)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_ADsPath)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Schema)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IADsGroup *This); + + HRESULT (STDMETHODCALLTYPE *SetInfo)( + IADsGroup *This); + + HRESULT (STDMETHODCALLTYPE *Get)( + IADsGroup *This, + BSTR bstrName, + VARIANT *pvProp); + + HRESULT (STDMETHODCALLTYPE *Put)( + IADsGroup *This, + BSTR bstrName, + VARIANT vProp); + + HRESULT (STDMETHODCALLTYPE *GetEx)( + IADsGroup *This, + BSTR bstrName, + VARIANT *pvProp); + + HRESULT (STDMETHODCALLTYPE *PutEx)( + IADsGroup *This, + LONG lnControlCode, + BSTR bstrName, + VARIANT vProp); + + HRESULT (STDMETHODCALLTYPE *GetInfoEx)( + IADsGroup *This, + VARIANT vProperties, + LONG lnReserved); + + /*** IADsGroup methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Description)( + IADsGroup *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Description)( + IADsGroup *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *Members)( + IADsGroup *This, + IADsMembers **ppMembers); + + HRESULT (STDMETHODCALLTYPE *IsMember)( + IADsGroup *This, + BSTR bstrMember, + VARIANT_BOOL *bMember); + + HRESULT (STDMETHODCALLTYPE *Add)( + IADsGroup *This, + BSTR bstrNewItem); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IADsGroup *This, + BSTR bstrItemToBeRemoved); + + END_INTERFACE +} IADsGroupVtbl; + +interface IADsGroup { + CONST_VTBL IADsGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IADsGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IADsGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IADsGroup_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IADsGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IADsGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IADsGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IADsGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IADs methods ***/ +#define IADsGroup_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval) +#define IADsGroup_get_Class(This,retval) (This)->lpVtbl->get_Class(This,retval) +#define IADsGroup_get_GUID(This,retval) (This)->lpVtbl->get_GUID(This,retval) +#define IADsGroup_get_ADsPath(This,retval) (This)->lpVtbl->get_ADsPath(This,retval) +#define IADsGroup_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval) +#define IADsGroup_get_Schema(This,retval) (This)->lpVtbl->get_Schema(This,retval) +#define IADsGroup_GetInfo(This) (This)->lpVtbl->GetInfo(This) +#define IADsGroup_SetInfo(This) (This)->lpVtbl->SetInfo(This) +#define IADsGroup_Get(This,bstrName,pvProp) (This)->lpVtbl->Get(This,bstrName,pvProp) +#define IADsGroup_Put(This,bstrName,vProp) (This)->lpVtbl->Put(This,bstrName,vProp) +#define IADsGroup_GetEx(This,bstrName,pvProp) (This)->lpVtbl->GetEx(This,bstrName,pvProp) +#define IADsGroup_PutEx(This,lnControlCode,bstrName,vProp) (This)->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp) +#define IADsGroup_GetInfoEx(This,vProperties,lnReserved) (This)->lpVtbl->GetInfoEx(This,vProperties,lnReserved) +/*** IADsGroup methods ***/ +#define IADsGroup_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval) +#define IADsGroup_put_Description(This,retval) (This)->lpVtbl->put_Description(This,retval) +#define IADsGroup_Members(This,ppMembers) (This)->lpVtbl->Members(This,ppMembers) +#define IADsGroup_IsMember(This,bstrMember,bMember) (This)->lpVtbl->IsMember(This,bstrMember,bMember) +#define IADsGroup_Add(This,bstrNewItem) (This)->lpVtbl->Add(This,bstrNewItem) +#define IADsGroup_Remove(This,bstrItemToBeRemoved) (This)->lpVtbl->Remove(This,bstrItemToBeRemoved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IADsGroup_QueryInterface(IADsGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IADsGroup_AddRef(IADsGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IADsGroup_Release(IADsGroup* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IADsGroup_GetTypeInfoCount(IADsGroup* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IADsGroup_GetTypeInfo(IADsGroup* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IADsGroup_GetIDsOfNames(IADsGroup* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IADsGroup_Invoke(IADsGroup* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IADs methods ***/ +static FORCEINLINE HRESULT IADsGroup_get_Name(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_Name(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_get_Class(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_Class(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_get_GUID(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_GUID(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_get_ADsPath(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_ADsPath(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_get_Parent(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_Parent(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_get_Schema(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_Schema(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_GetInfo(IADsGroup* This) { + return This->lpVtbl->GetInfo(This); +} +static FORCEINLINE HRESULT IADsGroup_SetInfo(IADsGroup* This) { + return This->lpVtbl->SetInfo(This); +} +static FORCEINLINE HRESULT IADsGroup_Get(IADsGroup* This,BSTR bstrName,VARIANT *pvProp) { + return This->lpVtbl->Get(This,bstrName,pvProp); +} +static FORCEINLINE HRESULT IADsGroup_Put(IADsGroup* This,BSTR bstrName,VARIANT vProp) { + return This->lpVtbl->Put(This,bstrName,vProp); +} +static FORCEINLINE HRESULT IADsGroup_GetEx(IADsGroup* This,BSTR bstrName,VARIANT *pvProp) { + return This->lpVtbl->GetEx(This,bstrName,pvProp); +} +static FORCEINLINE HRESULT IADsGroup_PutEx(IADsGroup* This,LONG lnControlCode,BSTR bstrName,VARIANT vProp) { + return This->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp); +} +static FORCEINLINE HRESULT IADsGroup_GetInfoEx(IADsGroup* This,VARIANT vProperties,LONG lnReserved) { + return This->lpVtbl->GetInfoEx(This,vProperties,lnReserved); +} +/*** IADsGroup methods ***/ +static FORCEINLINE HRESULT IADsGroup_get_Description(IADsGroup* This,BSTR *retval) { + return This->lpVtbl->get_Description(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_put_Description(IADsGroup* This,BSTR retval) { + return This->lpVtbl->put_Description(This,retval); +} +static FORCEINLINE HRESULT IADsGroup_Members(IADsGroup* This,IADsMembers **ppMembers) { + return This->lpVtbl->Members(This,ppMembers); +} +static FORCEINLINE HRESULT IADsGroup_IsMember(IADsGroup* This,BSTR bstrMember,VARIANT_BOOL *bMember) { + return This->lpVtbl->IsMember(This,bstrMember,bMember); +} +static FORCEINLINE HRESULT IADsGroup_Add(IADsGroup* This,BSTR bstrNewItem) { + return This->lpVtbl->Add(This,bstrNewItem); +} +static FORCEINLINE HRESULT IADsGroup_Remove(IADsGroup* This,BSTR bstrItemToBeRemoved) { + return This->lpVtbl->Remove(This,bstrItemToBeRemoved); +} +#endif +#endif + +#endif + + +#endif /* __IADsGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IADsUser interface + */ +#ifndef __IADsUser_INTERFACE_DEFINED__ +#define __IADsUser_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IADsUser, 0x3e37e320, 0x17e2, 0x11cf, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3e37e320-17e2-11cf-abc4-02608c9e7553") +IADsUser : public IADs +{ + virtual HRESULT STDMETHODCALLTYPE get_BadLoginAddress( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BadLoginCount( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastLogin( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastLogoff( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastFailedLogin( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PasswordLastChanged( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Description( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Division( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Division( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Department( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Department( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EmployeeID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_EmployeeID( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FullName( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FullName( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FirstName( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FirstName( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastName( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LastName( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OtherName( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_OtherName( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NamePrefix( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_NamePrefix( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NameSuffix( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_NameSuffix( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Title( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Title( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Manager( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Manager( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TelephoneHome( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TelephoneHome( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TelephoneMobile( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TelephoneMobile( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TelephoneNumber( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TelephoneNumber( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TelephonePager( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_TelephonePager( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FaxNumber( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FaxNumber( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OfficeLocations( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_OfficeLocations( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PostalAddresses( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PostalAddresses( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PostalCodes( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PostalCodes( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SeeAlso( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SeeAlso( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AccountDisabled( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AccountDisabled( + VARIANT_BOOL retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AccountExpirationDate( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AccountExpirationDate( + DATE retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GraceLoginsAllowed( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_GraceLoginsAllowed( + LONG retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GraceLoginsRemaining( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_GraceLoginsRemaining( + LONG retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsAccountLocked( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IsAccountLocked( + VARIANT_BOOL retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LoginHours( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LoginHours( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LoginWorkstations( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LoginWorkstations( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MaxLogins( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MaxLogins( + LONG retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MaxStorage( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MaxStorage( + LONG retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PasswordExpirationDate( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PasswordExpirationDate( + DATE retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PasswordMinimumLength( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PasswordMinimumLength( + LONG retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PasswordRequired( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PasswordRequired( + VARIANT_BOOL retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RequireUniquePassword( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RequireUniquePassword( + VARIANT_BOOL retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EmailAddress( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_EmailAddress( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HomeDirectory( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_HomeDirectory( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Languages( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Languages( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Profile( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Profile( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LoginScript( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LoginScript( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Picture( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Picture( + VARIANT retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HomePage( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_HomePage( + BSTR retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Groups( + IADsMembers **ppGroups) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPassword( + BSTR NewPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangePassword( + BSTR bstrOldPassword, + BSTR bstrNewPassword) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IADsUser, 0x3e37e320, 0x17e2, 0x11cf, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53) +#endif +#else +typedef struct IADsUserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IADsUser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IADsUser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IADsUser *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IADsUser *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IADsUser *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IADsUser *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IADsUser *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IADs methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Class)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_GUID)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_ADsPath)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Schema)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IADsUser *This); + + HRESULT (STDMETHODCALLTYPE *SetInfo)( + IADsUser *This); + + HRESULT (STDMETHODCALLTYPE *Get)( + IADsUser *This, + BSTR bstrName, + VARIANT *pvProp); + + HRESULT (STDMETHODCALLTYPE *Put)( + IADsUser *This, + BSTR bstrName, + VARIANT vProp); + + HRESULT (STDMETHODCALLTYPE *GetEx)( + IADsUser *This, + BSTR bstrName, + VARIANT *pvProp); + + HRESULT (STDMETHODCALLTYPE *PutEx)( + IADsUser *This, + LONG lnControlCode, + BSTR bstrName, + VARIANT vProp); + + HRESULT (STDMETHODCALLTYPE *GetInfoEx)( + IADsUser *This, + VARIANT vProperties, + LONG lnReserved); + + /*** IADsUser methods ***/ + HRESULT (STDMETHODCALLTYPE *get_BadLoginAddress)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_BadLoginCount)( + IADsUser *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_LastLogin)( + IADsUser *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *get_LastLogoff)( + IADsUser *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *get_LastFailedLogin)( + IADsUser *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *get_PasswordLastChanged)( + IADsUser *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *get_Description)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Description)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_Division)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Division)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_Department)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Department)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_EmployeeID)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_EmployeeID)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_FullName)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_FullName)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_FirstName)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_FirstName)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_LastName)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_LastName)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_OtherName)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_OtherName)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_NamePrefix)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_NamePrefix)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_NameSuffix)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_NameSuffix)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_Title)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Title)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_Manager)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Manager)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_TelephoneHome)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_TelephoneHome)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_TelephoneMobile)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_TelephoneMobile)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_TelephoneNumber)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_TelephoneNumber)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_TelephonePager)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_TelephonePager)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_FaxNumber)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_FaxNumber)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_OfficeLocations)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_OfficeLocations)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_PostalAddresses)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_PostalAddresses)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_PostalCodes)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_PostalCodes)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_SeeAlso)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_SeeAlso)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_AccountDisabled)( + IADsUser *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_AccountDisabled)( + IADsUser *This, + VARIANT_BOOL retval); + + HRESULT (STDMETHODCALLTYPE *get_AccountExpirationDate)( + IADsUser *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *put_AccountExpirationDate)( + IADsUser *This, + DATE retval); + + HRESULT (STDMETHODCALLTYPE *get_GraceLoginsAllowed)( + IADsUser *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *put_GraceLoginsAllowed)( + IADsUser *This, + LONG retval); + + HRESULT (STDMETHODCALLTYPE *get_GraceLoginsRemaining)( + IADsUser *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *put_GraceLoginsRemaining)( + IADsUser *This, + LONG retval); + + HRESULT (STDMETHODCALLTYPE *get_IsAccountLocked)( + IADsUser *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_IsAccountLocked)( + IADsUser *This, + VARIANT_BOOL retval); + + HRESULT (STDMETHODCALLTYPE *get_LoginHours)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_LoginHours)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_LoginWorkstations)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_LoginWorkstations)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_MaxLogins)( + IADsUser *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *put_MaxLogins)( + IADsUser *This, + LONG retval); + + HRESULT (STDMETHODCALLTYPE *get_MaxStorage)( + IADsUser *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *put_MaxStorage)( + IADsUser *This, + LONG retval); + + HRESULT (STDMETHODCALLTYPE *get_PasswordExpirationDate)( + IADsUser *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *put_PasswordExpirationDate)( + IADsUser *This, + DATE retval); + + HRESULT (STDMETHODCALLTYPE *get_PasswordMinimumLength)( + IADsUser *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *put_PasswordMinimumLength)( + IADsUser *This, + LONG retval); + + HRESULT (STDMETHODCALLTYPE *get_PasswordRequired)( + IADsUser *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_PasswordRequired)( + IADsUser *This, + VARIANT_BOOL retval); + + HRESULT (STDMETHODCALLTYPE *get_RequireUniquePassword)( + IADsUser *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_RequireUniquePassword)( + IADsUser *This, + VARIANT_BOOL retval); + + HRESULT (STDMETHODCALLTYPE *get_EmailAddress)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_EmailAddress)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_HomeDirectory)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_HomeDirectory)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_Languages)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_Languages)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_Profile)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Profile)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_LoginScript)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_LoginScript)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *get_Picture)( + IADsUser *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *put_Picture)( + IADsUser *This, + VARIANT retval); + + HRESULT (STDMETHODCALLTYPE *get_HomePage)( + IADsUser *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_HomePage)( + IADsUser *This, + BSTR retval); + + HRESULT (STDMETHODCALLTYPE *Groups)( + IADsUser *This, + IADsMembers **ppGroups); + + HRESULT (STDMETHODCALLTYPE *SetPassword)( + IADsUser *This, + BSTR NewPassword); + + HRESULT (STDMETHODCALLTYPE *ChangePassword)( + IADsUser *This, + BSTR bstrOldPassword, + BSTR bstrNewPassword); + + END_INTERFACE +} IADsUserVtbl; + +interface IADsUser { + CONST_VTBL IADsUserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IADsUser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IADsUser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IADsUser_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IADsUser_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IADsUser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IADsUser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IADsUser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IADs methods ***/ +#define IADsUser_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval) +#define IADsUser_get_Class(This,retval) (This)->lpVtbl->get_Class(This,retval) +#define IADsUser_get_GUID(This,retval) (This)->lpVtbl->get_GUID(This,retval) +#define IADsUser_get_ADsPath(This,retval) (This)->lpVtbl->get_ADsPath(This,retval) +#define IADsUser_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval) +#define IADsUser_get_Schema(This,retval) (This)->lpVtbl->get_Schema(This,retval) +#define IADsUser_GetInfo(This) (This)->lpVtbl->GetInfo(This) +#define IADsUser_SetInfo(This) (This)->lpVtbl->SetInfo(This) +#define IADsUser_Get(This,bstrName,pvProp) (This)->lpVtbl->Get(This,bstrName,pvProp) +#define IADsUser_Put(This,bstrName,vProp) (This)->lpVtbl->Put(This,bstrName,vProp) +#define IADsUser_GetEx(This,bstrName,pvProp) (This)->lpVtbl->GetEx(This,bstrName,pvProp) +#define IADsUser_PutEx(This,lnControlCode,bstrName,vProp) (This)->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp) +#define IADsUser_GetInfoEx(This,vProperties,lnReserved) (This)->lpVtbl->GetInfoEx(This,vProperties,lnReserved) +/*** IADsUser methods ***/ +#define IADsUser_get_BadLoginAddress(This,retval) (This)->lpVtbl->get_BadLoginAddress(This,retval) +#define IADsUser_get_BadLoginCount(This,retval) (This)->lpVtbl->get_BadLoginCount(This,retval) +#define IADsUser_get_LastLogin(This,retval) (This)->lpVtbl->get_LastLogin(This,retval) +#define IADsUser_get_LastLogoff(This,retval) (This)->lpVtbl->get_LastLogoff(This,retval) +#define IADsUser_get_LastFailedLogin(This,retval) (This)->lpVtbl->get_LastFailedLogin(This,retval) +#define IADsUser_get_PasswordLastChanged(This,retval) (This)->lpVtbl->get_PasswordLastChanged(This,retval) +#define IADsUser_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval) +#define IADsUser_put_Description(This,retval) (This)->lpVtbl->put_Description(This,retval) +#define IADsUser_get_Division(This,retval) (This)->lpVtbl->get_Division(This,retval) +#define IADsUser_put_Division(This,retval) (This)->lpVtbl->put_Division(This,retval) +#define IADsUser_get_Department(This,retval) (This)->lpVtbl->get_Department(This,retval) +#define IADsUser_put_Department(This,retval) (This)->lpVtbl->put_Department(This,retval) +#define IADsUser_get_EmployeeID(This,retval) (This)->lpVtbl->get_EmployeeID(This,retval) +#define IADsUser_put_EmployeeID(This,retval) (This)->lpVtbl->put_EmployeeID(This,retval) +#define IADsUser_get_FullName(This,retval) (This)->lpVtbl->get_FullName(This,retval) +#define IADsUser_put_FullName(This,retval) (This)->lpVtbl->put_FullName(This,retval) +#define IADsUser_get_FirstName(This,retval) (This)->lpVtbl->get_FirstName(This,retval) +#define IADsUser_put_FirstName(This,retval) (This)->lpVtbl->put_FirstName(This,retval) +#define IADsUser_get_LastName(This,retval) (This)->lpVtbl->get_LastName(This,retval) +#define IADsUser_put_LastName(This,retval) (This)->lpVtbl->put_LastName(This,retval) +#define IADsUser_get_OtherName(This,retval) (This)->lpVtbl->get_OtherName(This,retval) +#define IADsUser_put_OtherName(This,retval) (This)->lpVtbl->put_OtherName(This,retval) +#define IADsUser_get_NamePrefix(This,retval) (This)->lpVtbl->get_NamePrefix(This,retval) +#define IADsUser_put_NamePrefix(This,retval) (This)->lpVtbl->put_NamePrefix(This,retval) +#define IADsUser_get_NameSuffix(This,retval) (This)->lpVtbl->get_NameSuffix(This,retval) +#define IADsUser_put_NameSuffix(This,retval) (This)->lpVtbl->put_NameSuffix(This,retval) +#define IADsUser_get_Title(This,retval) (This)->lpVtbl->get_Title(This,retval) +#define IADsUser_put_Title(This,retval) (This)->lpVtbl->put_Title(This,retval) +#define IADsUser_get_Manager(This,retval) (This)->lpVtbl->get_Manager(This,retval) +#define IADsUser_put_Manager(This,retval) (This)->lpVtbl->put_Manager(This,retval) +#define IADsUser_get_TelephoneHome(This,retval) (This)->lpVtbl->get_TelephoneHome(This,retval) +#define IADsUser_put_TelephoneHome(This,retval) (This)->lpVtbl->put_TelephoneHome(This,retval) +#define IADsUser_get_TelephoneMobile(This,retval) (This)->lpVtbl->get_TelephoneMobile(This,retval) +#define IADsUser_put_TelephoneMobile(This,retval) (This)->lpVtbl->put_TelephoneMobile(This,retval) +#define IADsUser_get_TelephoneNumber(This,retval) (This)->lpVtbl->get_TelephoneNumber(This,retval) +#define IADsUser_put_TelephoneNumber(This,retval) (This)->lpVtbl->put_TelephoneNumber(This,retval) +#define IADsUser_get_TelephonePager(This,retval) (This)->lpVtbl->get_TelephonePager(This,retval) +#define IADsUser_put_TelephonePager(This,retval) (This)->lpVtbl->put_TelephonePager(This,retval) +#define IADsUser_get_FaxNumber(This,retval) (This)->lpVtbl->get_FaxNumber(This,retval) +#define IADsUser_put_FaxNumber(This,retval) (This)->lpVtbl->put_FaxNumber(This,retval) +#define IADsUser_get_OfficeLocations(This,retval) (This)->lpVtbl->get_OfficeLocations(This,retval) +#define IADsUser_put_OfficeLocations(This,retval) (This)->lpVtbl->put_OfficeLocations(This,retval) +#define IADsUser_get_PostalAddresses(This,retval) (This)->lpVtbl->get_PostalAddresses(This,retval) +#define IADsUser_put_PostalAddresses(This,retval) (This)->lpVtbl->put_PostalAddresses(This,retval) +#define IADsUser_get_PostalCodes(This,retval) (This)->lpVtbl->get_PostalCodes(This,retval) +#define IADsUser_put_PostalCodes(This,retval) (This)->lpVtbl->put_PostalCodes(This,retval) +#define IADsUser_get_SeeAlso(This,retval) (This)->lpVtbl->get_SeeAlso(This,retval) +#define IADsUser_put_SeeAlso(This,retval) (This)->lpVtbl->put_SeeAlso(This,retval) +#define IADsUser_get_AccountDisabled(This,retval) (This)->lpVtbl->get_AccountDisabled(This,retval) +#define IADsUser_put_AccountDisabled(This,retval) (This)->lpVtbl->put_AccountDisabled(This,retval) +#define IADsUser_get_AccountExpirationDate(This,retval) (This)->lpVtbl->get_AccountExpirationDate(This,retval) +#define IADsUser_put_AccountExpirationDate(This,retval) (This)->lpVtbl->put_AccountExpirationDate(This,retval) +#define IADsUser_get_GraceLoginsAllowed(This,retval) (This)->lpVtbl->get_GraceLoginsAllowed(This,retval) +#define IADsUser_put_GraceLoginsAllowed(This,retval) (This)->lpVtbl->put_GraceLoginsAllowed(This,retval) +#define IADsUser_get_GraceLoginsRemaining(This,retval) (This)->lpVtbl->get_GraceLoginsRemaining(This,retval) +#define IADsUser_put_GraceLoginsRemaining(This,retval) (This)->lpVtbl->put_GraceLoginsRemaining(This,retval) +#define IADsUser_get_IsAccountLocked(This,retval) (This)->lpVtbl->get_IsAccountLocked(This,retval) +#define IADsUser_put_IsAccountLocked(This,retval) (This)->lpVtbl->put_IsAccountLocked(This,retval) +#define IADsUser_get_LoginHours(This,retval) (This)->lpVtbl->get_LoginHours(This,retval) +#define IADsUser_put_LoginHours(This,retval) (This)->lpVtbl->put_LoginHours(This,retval) +#define IADsUser_get_LoginWorkstations(This,retval) (This)->lpVtbl->get_LoginWorkstations(This,retval) +#define IADsUser_put_LoginWorkstations(This,retval) (This)->lpVtbl->put_LoginWorkstations(This,retval) +#define IADsUser_get_MaxLogins(This,retval) (This)->lpVtbl->get_MaxLogins(This,retval) +#define IADsUser_put_MaxLogins(This,retval) (This)->lpVtbl->put_MaxLogins(This,retval) +#define IADsUser_get_MaxStorage(This,retval) (This)->lpVtbl->get_MaxStorage(This,retval) +#define IADsUser_put_MaxStorage(This,retval) (This)->lpVtbl->put_MaxStorage(This,retval) +#define IADsUser_get_PasswordExpirationDate(This,retval) (This)->lpVtbl->get_PasswordExpirationDate(This,retval) +#define IADsUser_put_PasswordExpirationDate(This,retval) (This)->lpVtbl->put_PasswordExpirationDate(This,retval) +#define IADsUser_get_PasswordMinimumLength(This,retval) (This)->lpVtbl->get_PasswordMinimumLength(This,retval) +#define IADsUser_put_PasswordMinimumLength(This,retval) (This)->lpVtbl->put_PasswordMinimumLength(This,retval) +#define IADsUser_get_PasswordRequired(This,retval) (This)->lpVtbl->get_PasswordRequired(This,retval) +#define IADsUser_put_PasswordRequired(This,retval) (This)->lpVtbl->put_PasswordRequired(This,retval) +#define IADsUser_get_RequireUniquePassword(This,retval) (This)->lpVtbl->get_RequireUniquePassword(This,retval) +#define IADsUser_put_RequireUniquePassword(This,retval) (This)->lpVtbl->put_RequireUniquePassword(This,retval) +#define IADsUser_get_EmailAddress(This,retval) (This)->lpVtbl->get_EmailAddress(This,retval) +#define IADsUser_put_EmailAddress(This,retval) (This)->lpVtbl->put_EmailAddress(This,retval) +#define IADsUser_get_HomeDirectory(This,retval) (This)->lpVtbl->get_HomeDirectory(This,retval) +#define IADsUser_put_HomeDirectory(This,retval) (This)->lpVtbl->put_HomeDirectory(This,retval) +#define IADsUser_get_Languages(This,retval) (This)->lpVtbl->get_Languages(This,retval) +#define IADsUser_put_Languages(This,retval) (This)->lpVtbl->put_Languages(This,retval) +#define IADsUser_get_Profile(This,retval) (This)->lpVtbl->get_Profile(This,retval) +#define IADsUser_put_Profile(This,retval) (This)->lpVtbl->put_Profile(This,retval) +#define IADsUser_get_LoginScript(This,retval) (This)->lpVtbl->get_LoginScript(This,retval) +#define IADsUser_put_LoginScript(This,retval) (This)->lpVtbl->put_LoginScript(This,retval) +#define IADsUser_get_Picture(This,retval) (This)->lpVtbl->get_Picture(This,retval) +#define IADsUser_put_Picture(This,retval) (This)->lpVtbl->put_Picture(This,retval) +#define IADsUser_get_HomePage(This,retval) (This)->lpVtbl->get_HomePage(This,retval) +#define IADsUser_put_HomePage(This,retval) (This)->lpVtbl->put_HomePage(This,retval) +#define IADsUser_Groups(This,ppGroups) (This)->lpVtbl->Groups(This,ppGroups) +#define IADsUser_SetPassword(This,NewPassword) (This)->lpVtbl->SetPassword(This,NewPassword) +#define IADsUser_ChangePassword(This,bstrOldPassword,bstrNewPassword) (This)->lpVtbl->ChangePassword(This,bstrOldPassword,bstrNewPassword) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IADsUser_QueryInterface(IADsUser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IADsUser_AddRef(IADsUser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IADsUser_Release(IADsUser* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IADsUser_GetTypeInfoCount(IADsUser* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IADsUser_GetTypeInfo(IADsUser* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IADsUser_GetIDsOfNames(IADsUser* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IADsUser_Invoke(IADsUser* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IADs methods ***/ +static FORCEINLINE HRESULT IADsUser_get_Name(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Name(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Class(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Class(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_GUID(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_GUID(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_ADsPath(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_ADsPath(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Parent(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Parent(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Schema(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Schema(This,retval); +} +static FORCEINLINE HRESULT IADsUser_GetInfo(IADsUser* This) { + return This->lpVtbl->GetInfo(This); +} +static FORCEINLINE HRESULT IADsUser_SetInfo(IADsUser* This) { + return This->lpVtbl->SetInfo(This); +} +static FORCEINLINE HRESULT IADsUser_Get(IADsUser* This,BSTR bstrName,VARIANT *pvProp) { + return This->lpVtbl->Get(This,bstrName,pvProp); +} +static FORCEINLINE HRESULT IADsUser_Put(IADsUser* This,BSTR bstrName,VARIANT vProp) { + return This->lpVtbl->Put(This,bstrName,vProp); +} +static FORCEINLINE HRESULT IADsUser_GetEx(IADsUser* This,BSTR bstrName,VARIANT *pvProp) { + return This->lpVtbl->GetEx(This,bstrName,pvProp); +} +static FORCEINLINE HRESULT IADsUser_PutEx(IADsUser* This,LONG lnControlCode,BSTR bstrName,VARIANT vProp) { + return This->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp); +} +static FORCEINLINE HRESULT IADsUser_GetInfoEx(IADsUser* This,VARIANT vProperties,LONG lnReserved) { + return This->lpVtbl->GetInfoEx(This,vProperties,lnReserved); +} +/*** IADsUser methods ***/ +static FORCEINLINE HRESULT IADsUser_get_BadLoginAddress(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_BadLoginAddress(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_BadLoginCount(IADsUser* This,LONG *retval) { + return This->lpVtbl->get_BadLoginCount(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LastLogin(IADsUser* This,DATE *retval) { + return This->lpVtbl->get_LastLogin(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LastLogoff(IADsUser* This,DATE *retval) { + return This->lpVtbl->get_LastLogoff(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LastFailedLogin(IADsUser* This,DATE *retval) { + return This->lpVtbl->get_LastFailedLogin(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_PasswordLastChanged(IADsUser* This,DATE *retval) { + return This->lpVtbl->get_PasswordLastChanged(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Description(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Description(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Description(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_Description(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Division(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Division(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Division(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_Division(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Department(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Department(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Department(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_Department(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_EmployeeID(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_EmployeeID(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_EmployeeID(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_EmployeeID(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_FullName(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_FullName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_FullName(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_FullName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_FirstName(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_FirstName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_FirstName(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_FirstName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LastName(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_LastName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_LastName(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_LastName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_OtherName(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_OtherName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_OtherName(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_OtherName(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_NamePrefix(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_NamePrefix(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_NamePrefix(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_NamePrefix(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_NameSuffix(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_NameSuffix(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_NameSuffix(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_NameSuffix(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Title(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Title(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Title(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_Title(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Manager(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Manager(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Manager(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_Manager(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_TelephoneHome(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_TelephoneHome(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_TelephoneHome(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_TelephoneHome(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_TelephoneMobile(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_TelephoneMobile(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_TelephoneMobile(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_TelephoneMobile(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_TelephoneNumber(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_TelephoneNumber(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_TelephoneNumber(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_TelephoneNumber(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_TelephonePager(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_TelephonePager(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_TelephonePager(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_TelephonePager(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_FaxNumber(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_FaxNumber(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_FaxNumber(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_FaxNumber(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_OfficeLocations(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_OfficeLocations(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_OfficeLocations(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_OfficeLocations(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_PostalAddresses(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_PostalAddresses(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_PostalAddresses(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_PostalAddresses(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_PostalCodes(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_PostalCodes(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_PostalCodes(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_PostalCodes(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_SeeAlso(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_SeeAlso(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_SeeAlso(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_SeeAlso(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_AccountDisabled(IADsUser* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_AccountDisabled(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_AccountDisabled(IADsUser* This,VARIANT_BOOL retval) { + return This->lpVtbl->put_AccountDisabled(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_AccountExpirationDate(IADsUser* This,DATE *retval) { + return This->lpVtbl->get_AccountExpirationDate(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_AccountExpirationDate(IADsUser* This,DATE retval) { + return This->lpVtbl->put_AccountExpirationDate(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_GraceLoginsAllowed(IADsUser* This,LONG *retval) { + return This->lpVtbl->get_GraceLoginsAllowed(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_GraceLoginsAllowed(IADsUser* This,LONG retval) { + return This->lpVtbl->put_GraceLoginsAllowed(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_GraceLoginsRemaining(IADsUser* This,LONG *retval) { + return This->lpVtbl->get_GraceLoginsRemaining(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_GraceLoginsRemaining(IADsUser* This,LONG retval) { + return This->lpVtbl->put_GraceLoginsRemaining(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_IsAccountLocked(IADsUser* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsAccountLocked(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_IsAccountLocked(IADsUser* This,VARIANT_BOOL retval) { + return This->lpVtbl->put_IsAccountLocked(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LoginHours(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_LoginHours(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_LoginHours(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_LoginHours(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LoginWorkstations(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_LoginWorkstations(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_LoginWorkstations(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_LoginWorkstations(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_MaxLogins(IADsUser* This,LONG *retval) { + return This->lpVtbl->get_MaxLogins(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_MaxLogins(IADsUser* This,LONG retval) { + return This->lpVtbl->put_MaxLogins(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_MaxStorage(IADsUser* This,LONG *retval) { + return This->lpVtbl->get_MaxStorage(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_MaxStorage(IADsUser* This,LONG retval) { + return This->lpVtbl->put_MaxStorage(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_PasswordExpirationDate(IADsUser* This,DATE *retval) { + return This->lpVtbl->get_PasswordExpirationDate(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_PasswordExpirationDate(IADsUser* This,DATE retval) { + return This->lpVtbl->put_PasswordExpirationDate(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_PasswordMinimumLength(IADsUser* This,LONG *retval) { + return This->lpVtbl->get_PasswordMinimumLength(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_PasswordMinimumLength(IADsUser* This,LONG retval) { + return This->lpVtbl->put_PasswordMinimumLength(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_PasswordRequired(IADsUser* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_PasswordRequired(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_PasswordRequired(IADsUser* This,VARIANT_BOOL retval) { + return This->lpVtbl->put_PasswordRequired(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_RequireUniquePassword(IADsUser* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_RequireUniquePassword(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_RequireUniquePassword(IADsUser* This,VARIANT_BOOL retval) { + return This->lpVtbl->put_RequireUniquePassword(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_EmailAddress(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_EmailAddress(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_EmailAddress(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_EmailAddress(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_HomeDirectory(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_HomeDirectory(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_HomeDirectory(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_HomeDirectory(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Languages(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_Languages(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Languages(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_Languages(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Profile(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_Profile(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Profile(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_Profile(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_LoginScript(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_LoginScript(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_LoginScript(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_LoginScript(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_Picture(IADsUser* This,VARIANT *retval) { + return This->lpVtbl->get_Picture(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_Picture(IADsUser* This,VARIANT retval) { + return This->lpVtbl->put_Picture(This,retval); +} +static FORCEINLINE HRESULT IADsUser_get_HomePage(IADsUser* This,BSTR *retval) { + return This->lpVtbl->get_HomePage(This,retval); +} +static FORCEINLINE HRESULT IADsUser_put_HomePage(IADsUser* This,BSTR retval) { + return This->lpVtbl->put_HomePage(This,retval); +} +static FORCEINLINE HRESULT IADsUser_Groups(IADsUser* This,IADsMembers **ppGroups) { + return This->lpVtbl->Groups(This,ppGroups); +} +static FORCEINLINE HRESULT IADsUser_SetPassword(IADsUser* This,BSTR NewPassword) { + return This->lpVtbl->SetPassword(This,NewPassword); +} +static FORCEINLINE HRESULT IADsUser_ChangePassword(IADsUser* This,BSTR bstrOldPassword,BSTR bstrNewPassword) { + return This->lpVtbl->ChangePassword(This,bstrOldPassword,bstrNewPassword); +} +#endif +#endif + +#endif + + +#endif /* __IADsUser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectorySearch interface + */ +#ifndef __IDirectorySearch_INTERFACE_DEFINED__ +#define __IDirectorySearch_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectorySearch, 0x109ba8ec, 0x92f0, 0x11d0, 0xa7,0x90, 0x00,0xc0,0x4f,0xd8,0xd5,0xa8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("109ba8ec-92f0-11d0-a790-00c04fd8d5a8") +IDirectorySearch : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetSearchPreference( + PADS_SEARCHPREF_INFO pSearchPrefs, + DWORD dwNumPrefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecuteSearch( + LPWSTR pszSearchFilter, + LPWSTR *pAttributeNames, + DWORD dwNumberAttributes, + PADS_SEARCH_HANDLE phSearchResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbandonSearch( + ADS_SEARCH_HANDLE phSearchResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFirstRow( + ADS_SEARCH_HANDLE hSearchResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextRow( + ADS_SEARCH_HANDLE hSearchResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreviousRow( + ADS_SEARCH_HANDLE hSearchResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextColumnName( + ADS_SEARCH_HANDLE hSearchHandle, + LPWSTR *ppszColumnName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColumn( + ADS_SEARCH_HANDLE hSearchResult, + LPWSTR szColumnName, + PADS_SEARCH_COLUMN pSearchColumn) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeColumn( + PADS_SEARCH_COLUMN pSearchColumn) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseSearchHandle( + ADS_SEARCH_HANDLE hSearchResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectorySearch, 0x109ba8ec, 0x92f0, 0x11d0, 0xa7,0x90, 0x00,0xc0,0x4f,0xd8,0xd5,0xa8) +#endif +#else +typedef struct IDirectorySearchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectorySearch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectorySearch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectorySearch *This); + + /*** IDirectorySearch methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSearchPreference)( + IDirectorySearch *This, + PADS_SEARCHPREF_INFO pSearchPrefs, + DWORD dwNumPrefs); + + HRESULT (STDMETHODCALLTYPE *ExecuteSearch)( + IDirectorySearch *This, + LPWSTR pszSearchFilter, + LPWSTR *pAttributeNames, + DWORD dwNumberAttributes, + PADS_SEARCH_HANDLE phSearchResult); + + HRESULT (STDMETHODCALLTYPE *AbandonSearch)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE phSearchResult); + + HRESULT (STDMETHODCALLTYPE *GetFirstRow)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE hSearchResult); + + HRESULT (STDMETHODCALLTYPE *GetNextRow)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE hSearchResult); + + HRESULT (STDMETHODCALLTYPE *GetPreviousRow)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE hSearchResult); + + HRESULT (STDMETHODCALLTYPE *GetNextColumnName)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE hSearchHandle, + LPWSTR *ppszColumnName); + + HRESULT (STDMETHODCALLTYPE *GetColumn)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE hSearchResult, + LPWSTR szColumnName, + PADS_SEARCH_COLUMN pSearchColumn); + + HRESULT (STDMETHODCALLTYPE *FreeColumn)( + IDirectorySearch *This, + PADS_SEARCH_COLUMN pSearchColumn); + + HRESULT (STDMETHODCALLTYPE *CloseSearchHandle)( + IDirectorySearch *This, + ADS_SEARCH_HANDLE hSearchResult); + + END_INTERFACE +} IDirectorySearchVtbl; + +interface IDirectorySearch { + CONST_VTBL IDirectorySearchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectorySearch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectorySearch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectorySearch_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectorySearch methods ***/ +#define IDirectorySearch_SetSearchPreference(This,pSearchPrefs,dwNumPrefs) (This)->lpVtbl->SetSearchPreference(This,pSearchPrefs,dwNumPrefs) +#define IDirectorySearch_ExecuteSearch(This,pszSearchFilter,pAttributeNames,dwNumberAttributes,phSearchResult) (This)->lpVtbl->ExecuteSearch(This,pszSearchFilter,pAttributeNames,dwNumberAttributes,phSearchResult) +#define IDirectorySearch_AbandonSearch(This,phSearchResult) (This)->lpVtbl->AbandonSearch(This,phSearchResult) +#define IDirectorySearch_GetFirstRow(This,hSearchResult) (This)->lpVtbl->GetFirstRow(This,hSearchResult) +#define IDirectorySearch_GetNextRow(This,hSearchResult) (This)->lpVtbl->GetNextRow(This,hSearchResult) +#define IDirectorySearch_GetPreviousRow(This,hSearchResult) (This)->lpVtbl->GetPreviousRow(This,hSearchResult) +#define IDirectorySearch_GetNextColumnName(This,hSearchHandle,ppszColumnName) (This)->lpVtbl->GetNextColumnName(This,hSearchHandle,ppszColumnName) +#define IDirectorySearch_GetColumn(This,hSearchResult,szColumnName,pSearchColumn) (This)->lpVtbl->GetColumn(This,hSearchResult,szColumnName,pSearchColumn) +#define IDirectorySearch_FreeColumn(This,pSearchColumn) (This)->lpVtbl->FreeColumn(This,pSearchColumn) +#define IDirectorySearch_CloseSearchHandle(This,hSearchResult) (This)->lpVtbl->CloseSearchHandle(This,hSearchResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectorySearch_QueryInterface(IDirectorySearch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectorySearch_AddRef(IDirectorySearch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectorySearch_Release(IDirectorySearch* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectorySearch methods ***/ +static FORCEINLINE HRESULT IDirectorySearch_SetSearchPreference(IDirectorySearch* This,PADS_SEARCHPREF_INFO pSearchPrefs,DWORD dwNumPrefs) { + return This->lpVtbl->SetSearchPreference(This,pSearchPrefs,dwNumPrefs); +} +static FORCEINLINE HRESULT IDirectorySearch_ExecuteSearch(IDirectorySearch* This,LPWSTR pszSearchFilter,LPWSTR *pAttributeNames,DWORD dwNumberAttributes,PADS_SEARCH_HANDLE phSearchResult) { + return This->lpVtbl->ExecuteSearch(This,pszSearchFilter,pAttributeNames,dwNumberAttributes,phSearchResult); +} +static FORCEINLINE HRESULT IDirectorySearch_AbandonSearch(IDirectorySearch* This,ADS_SEARCH_HANDLE phSearchResult) { + return This->lpVtbl->AbandonSearch(This,phSearchResult); +} +static FORCEINLINE HRESULT IDirectorySearch_GetFirstRow(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) { + return This->lpVtbl->GetFirstRow(This,hSearchResult); +} +static FORCEINLINE HRESULT IDirectorySearch_GetNextRow(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) { + return This->lpVtbl->GetNextRow(This,hSearchResult); +} +static FORCEINLINE HRESULT IDirectorySearch_GetPreviousRow(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) { + return This->lpVtbl->GetPreviousRow(This,hSearchResult); +} +static FORCEINLINE HRESULT IDirectorySearch_GetNextColumnName(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchHandle,LPWSTR *ppszColumnName) { + return This->lpVtbl->GetNextColumnName(This,hSearchHandle,ppszColumnName); +} +static FORCEINLINE HRESULT IDirectorySearch_GetColumn(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult,LPWSTR szColumnName,PADS_SEARCH_COLUMN pSearchColumn) { + return This->lpVtbl->GetColumn(This,hSearchResult,szColumnName,pSearchColumn); +} +static FORCEINLINE HRESULT IDirectorySearch_FreeColumn(IDirectorySearch* This,PADS_SEARCH_COLUMN pSearchColumn) { + return This->lpVtbl->FreeColumn(This,pSearchColumn); +} +static FORCEINLINE HRESULT IDirectorySearch_CloseSearchHandle(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) { + return This->lpVtbl->CloseSearchHandle(This,hSearchResult); +} +#endif +#endif + +#endif + + +#endif /* __IDirectorySearch_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __iads_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iads.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iads.idl new file mode 100644 index 0000000..de5730d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iads.idl @@ -0,0 +1,779 @@ +/* + * Copyright 2005 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +typedef enum +{ + ADS_RIGHT_DS_CREATE_CHILD = 0x00000001, + ADS_RIGHT_DS_DELETE_CHILD = 0x00000002, + ADS_RIGHT_ACTRL_DS_LIST = 0x00000004, + ADS_RIGHT_DS_SELF = 0x00000008, + ADS_RIGHT_DS_READ_PROP = 0x00000010, + ADS_RIGHT_DS_WRITE_PROP = 0x00000020, + ADS_RIGHT_DS_DELETE_TREE = 0x00000040, + ADS_RIGHT_DS_LIST_OBJECT = 0x00000080, + ADS_RIGHT_DS_CONTROL_ACCESS = 0x00000100, + + ADS_RIGHT_DELETE = 0x00010000, + ADS_RIGHT_READ_CONTROL = 0x00020000, + ADS_RIGHT_WRITE_DAC = 0x00040000, + ADS_RIGHT_WRITE_OWNER = 0x00080000, + ADS_RIGHT_SYNCHRONIZE = 0x00100000, + ADS_RIGHT_ACCESS_SYSTEM_SECURITY = 0x00200000, + + ADS_RIGHT_GENERIC_ALL = 0x10000000, + ADS_RIGHT_GENERIC_EXECUTE = 0x20000000, + ADS_RIGHT_GENERIC_WRITE = 0x40000000, + ADS_RIGHT_GENERIC_READ = 0x80000000 +} ADS_RIGHTS_ENUM; + +typedef enum +{ + ADS_SECURE_AUTHENTICATION = 0x1, + ADS_USE_ENCRYPTION = 0x2, + ADS_USE_SSL = 0x2, + ADS_READONLY_SERVER = 0x4, + ADS_PROMPT_CREDENTIALS = 0x8, + ADS_NO_AUTHENTICATION = 0x10, + ADS_FAST_BIND = 0x20, + ADS_USE_SIGNING = 0x40, + ADS_USE_SEALING = 0x80, + ADS_USE_DELEGATION = 0x100, + ADS_SERVER_BIND = 0x200, + ADS_NO_REFERRAL_CHASING = 0x400, + ADS_AUTH_RESERVED = 0x80000000 +} ADS_AUTHENTICATION_ENUM; + +typedef enum +{ + ADS_SEARCHPREF_ASYNCHRONOUS, + ADS_SEARCHPREF_DEREF_ALIASES, + ADS_SEARCHPREF_SIZE_LIMIT, + ADS_SEARCHPREF_TIME_LIMIT, + ADS_SEARCHPREF_ATTRIBTYPES_ONLY, + ADS_SEARCHPREF_SEARCH_SCOPE, + ADS_SEARCHPREF_TIMEOUT, + ADS_SEARCHPREF_PAGESIZE, + ADS_SEARCHPREF_PAGED_TIME_LIMIT, + ADS_SEARCHPREF_CHASE_REFERRALS, + ADS_SEARCHPREF_SORT_ON, + ADS_SEARCHPREF_CACHE_RESULTS, + ADS_SEARCHPREF_DIRSYNC, + ADS_SEARCHPREF_TOMBSTONE, + ADS_SEARCHPREF_VLV, + ADS_SEARCHPREF_ATTRIBUTE_QUERY, + ADS_SEARCHPREF_SECURITY_MASK, + ADS_SEARCHPREF_DIRSYNC_FLAG, + ADS_SEARCHPREF_EXTENDED_DN +} ADS_SEARCHPREF_ENUM; + +typedef ADS_SEARCHPREF_ENUM *PADS_SEARCHPREF_INFO; + +typedef enum +{ + ADS_STATUS_S_OK, + ADS_STATUS_INVALID_SEARCHPREF, + ADS_STATUS_INVALID_SEARCHPREFVALUE +} ADS_STATUSENUM; + +typedef enum +{ + ADSTYPE_INVALID, + ADSTYPE_DN_STRING, + ADSTYPE_CASE_EXACT_STRING, + ADSTYPE_CASE_IGNORE_STRING, + ADSTYPE_PRINTABLE_STRING, + ADSTYPE_NUMERIC_STRING, + ADSTYPE_BOOLEAN, + ADSTYPE_INTEGER, + ADSTYPE_OCTET_STRING, + ADSTYPE_UTC_TIME, + ADSTYPE_LARGE_INTEGER, + ADSTYPE_PROV_SPECIFIC, + ADSTYPE_OBJECT_CLASS, + ADSTYPE_CASEIGNORE_LIST, + ADSTYPE_OCTET_LIST, + ADSTYPE_PATH, + ADSTYPE_POSTALADDRESS, + ADSTYPE_TIMESTAMP, + ADSTYPE_BACKLINK, + ADSTYPE_TYPEDNAME, + ADSTYPE_HOLD, + ADSTYPE_NETADDRESS, + ADSTYPE_REPLICAPOINTER, + ADSTYPE_FAXNUMBER, + ADSTYPE_EMAIL, + ADSTYPE_NT_SECURITY_DESCRIPTOR, + ADSTYPE_UNKNOWN, + ADSTYPE_DN_WITH_BINARY, + ADSTYPE_DN_WITH_STRING +} ADSTYPEENUM; + +typedef enum +{ + ADS_PASSWORD_ENCODE_REQUIRE_SSL, + ADS_PASSWORD_ENCODE_CLEAR +} ADS_PASSWORD_ENCODING_ENUM; + +typedef struct _ADS_CASEIGNORE_LIST +{ + struct _ADS_CASEIGNORE_LIST *Next; + LPWSTR String; +} ADS_CASEIGNORE_LIST; + +typedef struct _ADS_OCTET_LIST +{ + struct _ADS_OCTET_LIST *Next; + DWORD Length; + BYTE *Data; +} ADS_OCTET_LIST; + +typedef struct +{ + DWORD Type; + LPWSTR VolumeName; + LPWSTR Path; +} ADS_PATH, *PADS_PATH; + +typedef struct +{ + DWORD WholeSeconds; + DWORD EventID; +} ADS_TIMESTAMP; + + +typedef ADSTYPEENUM ADSTYPE; +typedef LPWSTR ADS_DN_STRING; +typedef LPWSTR *PADS_DN_STRING; +typedef LPWSTR ADS_CASE_EXACT_STRING; +typedef LPWSTR *PADS_CASE_EXACT_STRING; +typedef LPWSTR ADS_CASE_IGNORE_STRING; +typedef LPWSTR *PADS_CASE_IGNORE_STRING; +typedef LPWSTR ADS_PRINTABLE_STRING; +typedef LPWSTR *PADS_PRINTABLE_STRING; +typedef LPWSTR ADS_NUMERIC_STRING; +typedef LPWSTR *PADS_NUMERIC_STRING; +typedef DWORD ADS_BOOLEAN; +typedef DWORD *LPNDS_BOOLEAN; +typedef DWORD ADS_INTEGER; +typedef DWORD *PADS_INTEGER; +typedef SYSTEMTIME ADS_UTC_TIME; +typedef SYSTEMTIME *PADS_UTC_TIME; +typedef LARGE_INTEGER ADS_LARGE_INTEGER; +typedef LARGE_INTEGER *PADS_LARGE_INTEGER; +typedef LPWSTR ADS_OBJECT_CLASS; +typedef LPWSTR *PADS_OBJECT_CLASS; +typedef struct _ADS_OCTET_LIST *PADS_OCTET_LIST; +typedef struct _ADS_CASEIGNORE_LIST *PADS_CASEIGNORE_LIST; +typedef ADS_STATUSENUM ADS_STATUS; +typedef ADS_SEARCHPREF_ENUM ADS_SEARCHPREF; +typedef HANDLE ADS_SEARCH_HANDLE; +typedef HANDLE *PADS_SEARCH_HANDLE; + + +typedef struct +{ + DWORD dwLength; + BYTE *lpValue; +} ADS_OCTET_STRING; + +typedef struct +{ + DWORD dwLength; + BYTE *lpValue; +} ADS_PROV_SPECIFIC; + +typedef struct +{ + LPWSTR PostalAddress[ 6 ]; +} ADS_POSTALADDRESS, *PADS_POSTALADDRESS; + +typedef struct +{ + LPWSTR ObjectName; + DWORD Level; + DWORD Interval; +} ADS_TYPEDNAME, *PADS_TYPEDNAME; + +typedef struct +{ + DWORD RemoteID; + LPWSTR ObjectName; +} ADS_BACKLINK; + +typedef struct +{ + LPWSTR ObjectName; + DWORD Amount; +} ADS_HOLD; + +typedef struct +{ + DWORD AddressType; + DWORD AddressLength; + BYTE *Address; +} ADS_NETADDRESS, *PADS_NETADDRESS; + +typedef struct +{ + LPWSTR ServerName; + DWORD ReplicaType; + DWORD ReplicaNumber; + DWORD Count; + PADS_NETADDRESS ReplicaAddressHints; +} ADS_REPLICAPOINTER, *PADS_REPLICAPOINTER; + +typedef struct +{ + LPWSTR TelephoneNumber; + DWORD NumberOfBits; + BYTE *Parameters; +} ADS_FAXNUMBER, *PADS_FAXNUMBER; + + +typedef struct +{ + LPWSTR Address; + DWORD Type; +} ADS_EMAIL, *PADS_EMAIL; + +typedef struct +{ + DWORD dwLength; + BYTE *lpValue; +} ADS_NT_SECURITY_DESCRIPTOR; + +typedef struct +{ + DWORD dwLength; + BYTE *lpBinaryValue; + LPWSTR pszDNString; +} ADS_DN_WITH_BINARY, *PADS_DN_WITH_BINARY; + +typedef struct +{ + LPWSTR pszStringValue; + LPWSTR pszDNString; +} ADS_DN_WITH_STRING, *PADS_DN_WITH_STRING; + +typedef struct _adsvalue +{ + ADSTYPE dwType; + union + { + ADS_DN_STRING DNString; + ADS_CASE_EXACT_STRING CaseExactString; + ADS_CASE_IGNORE_STRING CaseIgnoreString; + ADS_PRINTABLE_STRING PrintableString; + ADS_NUMERIC_STRING NumericString; + ADS_BOOLEAN Boolean; + ADS_INTEGER Integer; + ADS_OCTET_STRING OctetString; + ADS_UTC_TIME UTCTime; + ADS_LARGE_INTEGER LargeInteger; + ADS_OBJECT_CLASS ClassName; + ADS_PROV_SPECIFIC ProviderSpecific; + PADS_CASEIGNORE_LIST pCaseIgnoreList; + PADS_OCTET_LIST pOctetList; + PADS_PATH pPath; + PADS_POSTALADDRESS pPostalAddress; + ADS_TIMESTAMP Timestamp; + ADS_BACKLINK BackLink; + PADS_TYPEDNAME pTypedName; + ADS_HOLD Hold; + PADS_NETADDRESS pNetAddress; + PADS_REPLICAPOINTER pReplicaPointer; + PADS_FAXNUMBER pFaxNumber; + ADS_EMAIL Email; + ADS_NT_SECURITY_DESCRIPTOR SecurityDescriptor; + PADS_DN_WITH_BINARY pDNWithBinary; + PADS_DN_WITH_STRING pDNWithString; + }; +} ADSVALUE, *PADSVALUE; + +typedef struct ads_searchpref_info +{ + ADS_SEARCHPREF dwSearchPref; + ADSVALUE vValue; + ADS_STATUS dwStatus; +} ADS_SEARCHPREF_INFO; + +typedef struct ads_search_column +{ + LPWSTR pszAttrName; + ADSTYPE dwADsType; + PADSVALUE pADsValues; + DWORD dwNumValues; + HANDLE hReserved; +} ADS_SEARCH_COLUMN, *PADS_SEARCH_COLUMN; + +/***************************************************************************** + * IADsContainer interface + */ +[ + object, + uuid(001677d0-fd16-11ce-abc4-02608c9e7553) +] +interface IADsContainer: IDispatch +{ + [propget] HRESULT Count( + [out, retval] long *retval); + [propget, restricted] HRESULT _NewEnum( + [out, retval] IUnknown **retval); + [propget] HRESULT Filter( + [out, retval] VARIANT *pvFilter); + [propput] HRESULT Filter( + [in] VARIANT vFilter); + [propget] HRESULT Hints( + [out, retval] VARIANT *pvHints); + [propput] HRESULT Hints( + [in] VARIANT vHints); + HRESULT GetObject( + [in] BSTR bstrClassName, + [in] BSTR bstrRelativeName, + [out, retval] IDispatch **ppObject); + HRESULT Create( + [in] BSTR bstrClassName, + [in] BSTR bstrRelativeName, + [out, retval] IDispatch **ppObject); + HRESULT Delete( + [in] BSTR bstrClassName, + [in] BSTR bstrRelativeName); + HRESULT CopyHere( + [in] BSTR bstrSourceName, + [in] BSTR bstrNewName, + [out, retval] IDispatch **ppObject); + HRESULT MoveHere( + [in] BSTR bstrSourceName, + [in] BSTR bstrNewName, + [out, retval] IDispatch **ppObject); +} + +/***************************************************************************** + * IADs interface + */ +[ + odl, + uuid(FD8256D0-FD15-11CE-ABC4-02608C9E7553), + dual, + oleautomation +] +interface IADs : IDispatch +{ + [id(0x00000002), propget] + HRESULT Name([out, retval] BSTR* retval); + + [id(0x00000003), propget] + HRESULT Class([out, retval] BSTR* retval); + + [id(0x00000004), propget] + HRESULT GUID([out, retval] BSTR* retval); + + [id(0x00000005), propget] + HRESULT ADsPath([out, retval] BSTR* retval); + + [id(0x00000006), propget] + HRESULT Parent([out, retval] BSTR* retval); + + [id(0x00000007), propget] + HRESULT Schema([out, retval] BSTR* retval); + + [id(0x00000008)] + HRESULT GetInfo(); + + [id(0x00000009)] + HRESULT SetInfo(); + + [id(0x0000000a)] + HRESULT Get([in] BSTR bstrName, [out, retval] VARIANT* pvProp); + + [id(0x0000000b)] + HRESULT Put([in] BSTR bstrName, [in] VARIANT vProp); + + [id(0x0000000c)] + HRESULT GetEx([in] BSTR bstrName, [out, retval] VARIANT* pvProp); + + [id(0x0000000d)] + HRESULT PutEx([in] long lnControlCode, [in] BSTR bstrName, [in] VARIANT vProp); + + [id(0x0000000e)] + HRESULT GetInfoEx( [in] VARIANT vProperties, [in] long lnReserved); +}; + +/***************************************************************************** + * IADsMembers interface + */ +[ + odl, + uuid(451A0030-72EC-11CF-B03B-00AA006E0975), + dual, + oleautomation +] +interface IADsMembers : IDispatch +{ + [id(0x00000002), propget] + HRESULT Count([out, retval] long* plCount); + + [id(0xfffffffc), propget] + HRESULT _NewEnum([out, retval] IUnknown** ppEnumerator); + + [id(0x00000003), propget] + HRESULT Filter([out, retval] VARIANT* pvFilter); + + [id(0x00000003), propput] + HRESULT Filter([in] VARIANT pvFilter); +}; + +/***************************************************************************** + * IADsGroup interface + */ +[ + odl, + uuid(27636B00-410F-11CF-B1FF-02608C9E7553), + dual, + oleautomation +] +interface IADsGroup : IADs { + [id(0x0000000f), propget] + HRESULT Description([out, retval] BSTR* retval); + + [id(0x0000000f), propput] + HRESULT Description([in] BSTR retval); + + [id(0x00000010)] + HRESULT Members([out, retval] IADsMembers** ppMembers); + + [id(0x00000011)] + HRESULT IsMember([in] BSTR bstrMember, [out, retval] VARIANT_BOOL* bMember); + + [id(0x00000012)] + HRESULT Add([in] BSTR bstrNewItem); + + [id(0x00000013)] + HRESULT Remove([in] BSTR bstrItemToBeRemoved); +}; + +/***************************************************************************** + * IADsUser interface + */ +[ + odl, + uuid(3E37E320-17E2-11CF-ABC4-02608C9E7553), + dual, + oleautomation +] +interface IADsUser : IADs +{ + [id(0x00000035), propget] + HRESULT BadLoginAddress([out, retval] BSTR* retval); + + [id(0x00000036), propget] + HRESULT BadLoginCount([out, retval] long* retval); + + [id(0x00000038), propget] + HRESULT LastLogin([out, retval] DATE* retval); + + [id(0x00000039), propget] + HRESULT LastLogoff([out, retval] DATE* retval); + + [id(0x0000003a), propget] + HRESULT LastFailedLogin([out, retval] DATE* retval); + + [id(0x0000003b), propget] + HRESULT PasswordLastChanged([out, retval] DATE* retval); + + [id(0x0000000f), propget] + HRESULT Description([out, retval] BSTR* retval); + + [id(0x0000000f), propput] + HRESULT Description([in] BSTR retval); + + [id(0x00000013), propget] + HRESULT Division([out, retval] BSTR* retval); + + [id(0x00000013), propput] + HRESULT Division([in] BSTR retval); + + [id(0x0000007a), propget] + HRESULT Department([out, retval] BSTR* retval); + + [id(0x0000007a), propput] + HRESULT Department([in] BSTR retval); + + [id(0x00000014), propget] + HRESULT EmployeeID([out, retval] BSTR* retval); + + [id(0x00000014), propput] + HRESULT EmployeeID([in] BSTR retval); + + [id(0x00000017), propget] + HRESULT FullName([out, retval] BSTR* retval); + + [id(0x00000017), propput] + HRESULT FullName([in] BSTR retval); + + [id(0x00000016), propget] + HRESULT FirstName([out, retval] BSTR* retval); + + [id(0x00000016), propput] + HRESULT FirstName([in] BSTR retval); + + [id(0x00000019), propget] + HRESULT LastName([out, retval] BSTR* retval); + + [id(0x00000019), propput] + HRESULT LastName([in] BSTR retval); + + [id(0x0000001b), propget] + HRESULT OtherName([out, retval] BSTR* retval); + + [id(0x0000001b), propput] + HRESULT OtherName([in] BSTR retval); + + [id(0x00000072), propget] + HRESULT NamePrefix([out, retval] BSTR* retval); + + [id(0x00000072), propput] + HRESULT NamePrefix([in] BSTR retval); + + [id(0x00000073), propget] + HRESULT NameSuffix([out, retval] BSTR* retval); + + [id(0x00000073), propput] + HRESULT NameSuffix([in] BSTR retval); + + [id(0x00000024), propget] + HRESULT Title([out, retval] BSTR* retval); + + [id(0x00000024), propput] + HRESULT Title([in] BSTR retval); + + [id(0x0000001a), propget] + HRESULT Manager([out, retval] BSTR* retval); + + [id(0x0000001a), propput] + HRESULT Manager([in] BSTR retval); + + [id(0x00000020), propget] + HRESULT TelephoneHome([out, retval] VARIANT* retval); + + [id(0x00000020), propput] + HRESULT TelephoneHome([in] VARIANT retval); + + [id(0x00000021), propget] + HRESULT TelephoneMobile([out, retval] VARIANT* retval); + + [id(0x00000021), propput] + HRESULT TelephoneMobile([in] VARIANT retval); + + [id(0x00000022), propget] + HRESULT TelephoneNumber([out, retval] VARIANT* retval); + + [id(0x00000022), propput] + HRESULT TelephoneNumber([in] VARIANT retval); + + [id(0x00000011), propget] + HRESULT TelephonePager([out, retval] VARIANT* retval); + + [id(0x00000011), propput] + HRESULT TelephonePager([in] VARIANT retval); + + [id(0x00000010), propget] + HRESULT FaxNumber([out, retval] VARIANT* retval); + + [id(0x00000010), propput] + HRESULT FaxNumber([in] VARIANT retval); + + [id(0x0000001c), propget] + HRESULT OfficeLocations([out, retval] VARIANT* retval); + + [id(0x0000001c), propput] + HRESULT OfficeLocations([in] VARIANT retval); + + [id(0x0000001e), propget] + HRESULT PostalAddresses([out, retval] VARIANT* retval); + + [id(0x0000001e), propput] + HRESULT PostalAddresses([in] VARIANT retval); + + [id(0x0000001f), propget] + HRESULT PostalCodes([out, retval] VARIANT* retval); + + [id(0x0000001f), propput] + HRESULT PostalCodes([in] VARIANT retval); + + [id(0x00000075), propget] + HRESULT SeeAlso([out, retval] VARIANT* retval); + + [id(0x00000075), propput] + HRESULT SeeAlso([in] VARIANT retval); + + [id(0x00000025), propget] + HRESULT AccountDisabled([out, retval] VARIANT_BOOL* retval); + + [id(0x00000025), propput] + HRESULT AccountDisabled([in] VARIANT_BOOL retval); + + [id(0x00000026), propget] + HRESULT AccountExpirationDate([out, retval] DATE* retval); + + [id(0x00000026), propput] + HRESULT AccountExpirationDate([in] DATE retval); + + [id(0x00000029), propget] + HRESULT GraceLoginsAllowed([out, retval] long* retval); + + [id(0x00000029), propput] + HRESULT GraceLoginsAllowed([in] long retval); + + [id(0x0000002a), propget] + HRESULT GraceLoginsRemaining([out, retval] long* retval); + + [id(0x0000002a), propput] + HRESULT GraceLoginsRemaining([in] long retval); + + [id(0x0000002b), propget] + HRESULT IsAccountLocked([out, retval] VARIANT_BOOL* retval); + + [id(0x0000002b), propput] + HRESULT IsAccountLocked([in] VARIANT_BOOL retval); + + [id(0x0000002d), propget] + HRESULT LoginHours([out, retval] VARIANT* retval); + + [id(0x0000002d), propput] + HRESULT LoginHours([in] VARIANT retval); + + [id(0x0000002e), propget] + HRESULT LoginWorkstations([out, retval] VARIANT* retval); + + [id(0x0000002e), propput] + HRESULT LoginWorkstations([in] VARIANT retval); + + [id(0x0000002f), propget] + HRESULT MaxLogins([out, retval] long* retval); + + [id(0x0000002f), propput] + HRESULT MaxLogins([in] long retval); + + [id(0x00000030), propget] + HRESULT MaxStorage([out, retval] long* retval); + + [id(0x00000030), propput] + HRESULT MaxStorage([in] long retval); + + [id(0x00000031), propget] + HRESULT PasswordExpirationDate([out, retval] DATE* retval); + + [id(0x00000031), propput] + HRESULT PasswordExpirationDate([in] DATE retval); + + [id(0x00000032), propget] + HRESULT PasswordMinimumLength([out, retval] long* retval); + + [id(0x00000032), propput] + HRESULT PasswordMinimumLength([in] long retval); + + [id(0x00000033), propget] + HRESULT PasswordRequired([out, retval] VARIANT_BOOL* retval); + + [id(0x00000033), propput] + HRESULT PasswordRequired([in] VARIANT_BOOL retval); + + [id(0x00000034), propget] + HRESULT RequireUniquePassword([out, retval] VARIANT_BOOL* retval); + + [id(0x00000034), propput] + HRESULT RequireUniquePassword([in] VARIANT_BOOL retval); + + [id(0x0000003c), propget] + HRESULT EmailAddress([out, retval] BSTR* retval); + + [id(0x0000003c), propput] + HRESULT EmailAddress([in] BSTR retval); + + [id(0x0000003d), propget] + HRESULT HomeDirectory([out, retval] BSTR* retval); + + [id(0x0000003d), propput] + HRESULT HomeDirectory([in] BSTR retval); + + [id(0x0000003e), propget] + HRESULT Languages([out, retval] VARIANT* retval); + + [id(0x0000003e), propput] + HRESULT Languages([in] VARIANT retval); + + [id(0x0000003f), propget] + HRESULT Profile([out, retval] BSTR* retval); + + [id(0x0000003f), propput] + HRESULT Profile([in] BSTR retval); + + [id(0x00000040), propget] + HRESULT LoginScript([out, retval] BSTR* retval); + + [id(0x00000040), propput] + HRESULT LoginScript([in] BSTR retval); + + [id(0x00000041), propget] + HRESULT Picture([out, retval] VARIANT* retval); + + [id(0x00000041), propput] + HRESULT Picture([in] VARIANT retval); + + [id(0x00000078), propget] + HRESULT HomePage([out, retval] BSTR* retval); + + [id(0x00000078), propput] + HRESULT HomePage([in] BSTR retval); + + [id(0x00000042)] + HRESULT Groups([out, retval] IADsMembers** ppGroups); + + [id(0x00000043)] + HRESULT SetPassword([in] BSTR NewPassword); + + [id(0x00000044)] + HRESULT ChangePassword([in] BSTR bstrOldPassword, [in] BSTR bstrNewPassword); +}; + +/***************************************************************************** + * IDirectorySearch interface + */ +[ + odl, + local, + uuid(109BA8EC-92F0-11D0-A790-00C04FD8D5A8) +] +interface IDirectorySearch : IUnknown +{ + HRESULT SetSearchPreference([in] PADS_SEARCHPREF_INFO pSearchPrefs, [in] DWORD dwNumPrefs); + HRESULT ExecuteSearch([in] LPWSTR pszSearchFilter, [in] LPWSTR* pAttributeNames, + [in] DWORD dwNumberAttributes, [out] PADS_SEARCH_HANDLE phSearchResult); + HRESULT AbandonSearch([in] ADS_SEARCH_HANDLE phSearchResult); + HRESULT GetFirstRow([in] ADS_SEARCH_HANDLE hSearchResult); + HRESULT GetNextRow([in] ADS_SEARCH_HANDLE hSearchResult); + HRESULT GetPreviousRow([in] ADS_SEARCH_HANDLE hSearchResult); + HRESULT GetNextColumnName([in] ADS_SEARCH_HANDLE hSearchHandle, [out] LPWSTR* ppszColumnName); + HRESULT GetColumn( [in] ADS_SEARCH_HANDLE hSearchResult, [in] LPWSTR szColumnName, + [out] PADS_SEARCH_COLUMN pSearchColumn); + HRESULT FreeColumn([in] PADS_SEARCH_COLUMN pSearchColumn); + HRESULT CloseSearchHandle([in] ADS_SEARCH_HANDLE hSearchResult); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icftypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icftypes.h new file mode 100644 index 0000000..fd05d74 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icftypes.h @@ -0,0 +1,93 @@ +/*** Autogenerated by WIDL 2.18 from icftypes.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __icftypes_h__ +#define __icftypes_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum NET_FW_PROFILE_TYPE_ { + NET_FW_PROFILE_DOMAIN = 0, + NET_FW_PROFILE_STANDARD = 1, + NET_FW_PROFILE_CURRENT = 2, + NET_FW_PROFILE_TYPE_MAX = 3 +} NET_FW_PROFILE_TYPE; +typedef enum NET_FW_PROFILE_TYPE2_ { + NET_FW_PROFILE2_DOMAIN = 0x1, + NET_FW_PROFILE2_PRIVATE = 0x2, + NET_FW_PROFILE2_PUBLIC = 0x4, + NET_FW_PROFILE2_ALL = 0x7fffffff +} NET_FW_PROFILE_TYPE2; +typedef enum NET_FW_IP_VERSION_ { + NET_FW_IP_VERSION_V4 = 0, + NET_FW_IP_VERSION_V6 = 1, + NET_FW_IP_VERSION_ANY = 2, + NET_FW_IP_VERSION_MAX = 3 +} NET_FW_IP_VERSION; +typedef enum NET_FW_POLICY_TYPE_ { + NET_FW_POLICY_GROUP = 0, + NET_FW_POLICY_LOCAL = 1, + NET_FW_POLICY_EFFECTIVE = 2, + NET_FW_POLICY_TYPE_MAX = 3 +} NET_FW_POLICY_TYPE; +typedef enum NET_FW_SCOPE_ { + NET_FW_SCOPE_ALL = 0, + NET_FW_SCOPE_LOCAL_SUBNET = 1, + NET_FW_SCOPE_CUSTOM = 2, + NET_FW_SCOPE_MAX = 3 +} NET_FW_SCOPE; +typedef enum NET_FW_SERVICE_TYPE_ { + NET_FW_SERVICE_FILE_AND_PRINT = 0, + NET_FW_SERVICE_UPNP = 1, + NET_FW_SERVICE_REMOTE_DESKTOP = 2, + NET_FW_SERVICE_NONE = 3, + NET_FW_SERVICE_TYPE_MAX = 4 +} NET_FW_SERVICE_TYPE; +typedef enum NET_FW_IP_PROTOCOL_ { + NET_FW_IP_PROTOCOL_TCP = 6, + NET_FW_IP_PROTOCOL_UDP = 17 +} NET_FW_IP_PROTOCOL; +typedef enum NET_FW_RULE_DIRECTION_ { + NET_FW_RULE_DIR_IN = 1, + NET_FW_RULE_DIR_OUT = 2, + NET_FW_RULE_DIR_MAX = 3 +} NET_FW_RULE_DIRECTION; +typedef enum NET_FW_ACTION_ { + NET_FW_ACTION_BLOCK = 0, + NET_FW_ACTION_ALLOW = 1, + NET_FW_ACTION_MAX = 2 +} NET_FW_ACTION; +typedef enum NET_FW_MODIFY_STATE_ { + NET_FW_MODIFY_STATE_OK = 0, + NET_FW_MODIFY_STATE_GP_OVERRIDE = 1, + NET_FW_MODIFY_STATE_INBOUND_BLOCKED = 2 +} NET_FW_MODIFY_STATE; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __icftypes_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icftypes.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icftypes.idl new file mode 100644 index 0000000..4b44fde --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icftypes.idl @@ -0,0 +1,98 @@ +/* + * Types for the ICF api + * + * Copyright 2007 Jeff Latimer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +import "wtypes.idl"; + +typedef enum NET_FW_PROFILE_TYPE_ +{ + NET_FW_PROFILE_DOMAIN, + NET_FW_PROFILE_STANDARD, + NET_FW_PROFILE_CURRENT, + NET_FW_PROFILE_TYPE_MAX +} NET_FW_PROFILE_TYPE; + +typedef enum NET_FW_PROFILE_TYPE2_ +{ + NET_FW_PROFILE2_DOMAIN = 0x0001, + NET_FW_PROFILE2_PRIVATE = 0x0002, + NET_FW_PROFILE2_PUBLIC = 0x0004, + NET_FW_PROFILE2_ALL = 0x7FFFFFFF +} NET_FW_PROFILE_TYPE2; + +typedef enum NET_FW_IP_VERSION_ +{ + NET_FW_IP_VERSION_V4, + NET_FW_IP_VERSION_V6, + NET_FW_IP_VERSION_ANY, + NET_FW_IP_VERSION_MAX +} NET_FW_IP_VERSION; + +typedef enum NET_FW_POLICY_TYPE_ +{ + NET_FW_POLICY_GROUP, + NET_FW_POLICY_LOCAL, + NET_FW_POLICY_EFFECTIVE, + NET_FW_POLICY_TYPE_MAX +} NET_FW_POLICY_TYPE; + +typedef enum NET_FW_SCOPE_ +{ + NET_FW_SCOPE_ALL, + NET_FW_SCOPE_LOCAL_SUBNET, + NET_FW_SCOPE_CUSTOM, + NET_FW_SCOPE_MAX +} NET_FW_SCOPE; + +typedef enum NET_FW_SERVICE_TYPE_ +{ + NET_FW_SERVICE_FILE_AND_PRINT, + NET_FW_SERVICE_UPNP, + NET_FW_SERVICE_REMOTE_DESKTOP, + NET_FW_SERVICE_NONE, + NET_FW_SERVICE_TYPE_MAX +} NET_FW_SERVICE_TYPE; + +typedef enum NET_FW_IP_PROTOCOL_ +{ + NET_FW_IP_PROTOCOL_TCP = 6, + NET_FW_IP_PROTOCOL_UDP = 17 +} NET_FW_IP_PROTOCOL; + +typedef enum NET_FW_RULE_DIRECTION_ +{ + NET_FW_RULE_DIR_IN = 1, + NET_FW_RULE_DIR_OUT, + NET_FW_RULE_DIR_MAX +} NET_FW_RULE_DIRECTION; + +typedef enum NET_FW_ACTION_ +{ + NET_FW_ACTION_BLOCK, + NET_FW_ACTION_ALLOW, + NET_FW_ACTION_MAX +} NET_FW_ACTION; + +typedef enum NET_FW_MODIFY_STATE_ +{ + NET_FW_MODIFY_STATE_OK, + NET_FW_MODIFY_STATE_GP_OVERRIDE, + NET_FW_MODIFY_STATE_INBOUND_BLOCKED +} NET_FW_MODIFY_STATE; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icm.h new file mode 100644 index 0000000..34b0b63 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icm.h @@ -0,0 +1,436 @@ +/* + * Copyright 2004 (C) Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ICM_H +#define __WINE_ICM_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef HANDLE HPROFILE; +typedef HPROFILE *PHPROFILE; +typedef HANDLE HTRANSFORM; + +typedef DWORD TAGTYPE, *PTAGTYPE, *LPTAGTYPE; + +typedef char COLOR_NAME[32]; +typedef COLOR_NAME *PCOLOR_NAME, *LPCOLOR_NAME; + +typedef struct tagNAMED_PROFILE_INFO +{ + DWORD dwFlags; + DWORD dwCount; + DWORD dwCountDevCoordinates; + COLOR_NAME szPrefix; + COLOR_NAME szSuffix; +} NAMED_PROFILE_INFO, *PNAMED_PROFILE_INFO, *LPNAMED_PROFILE_INFO; + +#define MAX_COLOR_CHANNELS 8 + +struct GRAYCOLOR +{ + WORD gray; +}; + +struct RGBCOLOR +{ + WORD red; + WORD green; + WORD blue; +}; + +struct CMYKCOLOR +{ + WORD cyan; + WORD magenta; + WORD yellow; + WORD black; +}; + +struct XYZCOLOR +{ + WORD X; + WORD Y; + WORD Z; +}; + +struct YxyCOLOR +{ + WORD Y; + WORD x; + WORD y; +}; + +struct LabCOLOR +{ + WORD L; + WORD a; + WORD b; +}; + +struct GENERIC3CHANNEL +{ + WORD ch1; + WORD ch2; + WORD ch3; +}; + +struct NAMEDCOLOR +{ + DWORD dwIndex; +}; + +struct HiFiCOLOR +{ + BYTE channel[MAX_COLOR_CHANNELS]; +}; + +typedef union tagCOLOR +{ + struct GRAYCOLOR gray; + struct RGBCOLOR rgb; + struct CMYKCOLOR cmyk; + struct XYZCOLOR XYZ; + struct YxyCOLOR Yxy; + struct LabCOLOR Lab; + struct GENERIC3CHANNEL gen3ch; + struct NAMEDCOLOR named; + struct HiFiCOLOR hifi; + struct + { + DWORD reserved1; + VOID *reserved2; + } DUMMYSTRUCTNAME; +} COLOR, *PCOLOR, *LPCOLOR; + +typedef enum +{ + COLOR_GRAY = 1, + COLOR_RGB, + COLOR_XYZ, + COLOR_Yxy, + COLOR_Lab, + COLOR_3_CHANNEL, + COLOR_CMYK, + COLOR_5_CHANNEL, + COLOR_6_CHANNEL, + COLOR_7_CHANNEL, + COLOR_8_CHANNEL, + COLOR_NAMED, +} COLORTYPE, *PCOLORTYPE, *LPCOLORTYPE; + +typedef enum +{ + BM_x555RGB = 0x00, + BM_565RGB = 0x01, + BM_RGBTRIPLETS = 0x02, + BM_BGRTRIPLETS = 0x04, + BM_xRGBQUADS = 0x08, + BM_10b_RGB = 0x09, + BM_16b_RGB = 0x0a, + BM_xBGRQUADS = 0x10, + BM_CMYKQUADS = 0x20, + BM_x555XYZ = 0x101, + BM_x555Yxz, + BM_x555Lab, + BM_x555G3CH, + BM_XYZTRIPLETS = 0x201, + BM_YxyTRIPLETS, + BM_LabTRIPLETS, + BM_G3CHTRIPLETS, + BM_5CHANNEL, + BM_6CHANNEL, + BM_7CHANNEL, + BM_8CHANNEL, + BM_GRAY, + BM_xXYZQUADS = 0x301, + BM_xYxyQUADS, + BM_xLabQUADS, + BM_xG3CHQUADS, + BM_KYMCQUADS, + BM_10b_XYZ = 0x401, + BM_10b_Yxy, + BM_10b_Lab, + BM_10b_G3CH, + BM_NAMED_INDEX, + BM_16b_XYZ = 0x501, + BM_16b_Yxy, + BM_16b_Lab, + BM_16b_G3CH, + BM_16b_GRAY, +} BMFORMAT, *PBMFORMAT, *LPBMFORMAT; + +typedef BOOL (CALLBACK *PBMCALLBACKFN)(ULONG,ULONG,LPARAM); +typedef PBMCALLBACKFN LPPBMCALLBACKFN; + +#define INTENT_PERCEPTUAL 0 +#define INTENT_RELATIVE_COLORIMETRIC 1 +#define INTENT_SATURATION 2 +#define INTENT_ABSOLUTE_COLORIMETRIC 3 + +typedef struct tagPROFILEHEADER +{ + DWORD phSize; + DWORD phCMMType; + DWORD phVersion; + DWORD phClass; + DWORD phDataColorSpace; + DWORD phConnectionSpace; + DWORD phDateTime[3]; + DWORD phSignature; + DWORD phPlatform; + DWORD phProfileFlags; + DWORD phManufacturer; + DWORD phModel; + DWORD phAttributes[2]; + DWORD phRenderingIntent; + CIEXYZ phIlluminant; + DWORD phCreator; + BYTE phReserved[44]; +} PROFILEHEADER, *PPROFILEHEADER, *LPPROFILEHEADER; + +typedef struct tagPROFILE +{ + DWORD dwType; + PVOID pProfileData; + DWORD cbDataSize; +} PROFILE, *PPROFILE, *LPPROFILE; + +#define ENUM_TYPE_VERSION 0x0300 + +typedef struct tagENUMTYPEA +{ + DWORD dwSize; + DWORD dwVersion; + DWORD dwFields; + PCSTR pDeviceName; + DWORD dwMediaType; + DWORD dwDitheringMode; + DWORD dwResolution[2]; + DWORD dwCMMType; + DWORD dwClass; + DWORD dwDataColorSpace; + DWORD dwConnectionSpace; + DWORD dwSignature; + DWORD dwPlatform; + DWORD dwProfileFlags; + DWORD dwManufacturer; + DWORD dwModel; + DWORD dwAttributes[2]; + DWORD dwRenderingIntent; + DWORD dwCreator; + DWORD dwDeviceClass; +} ENUMTYPEA, *PENUMTYPEA, *LPENUMTYPEA; + +typedef struct tagENUMTYPEW +{ + DWORD dwSize; + DWORD dwVersion; + DWORD dwFields; + PCWSTR pDeviceName; + DWORD dwMediaType; + DWORD dwDitheringMode; + DWORD dwResolution[2]; + DWORD dwCMMType; + DWORD dwClass; + DWORD dwDataColorSpace; + DWORD dwConnectionSpace; + DWORD dwSignature; + DWORD dwPlatform; + DWORD dwProfileFlags; + DWORD dwManufacturer; + DWORD dwModel; + DWORD dwAttributes[2]; + DWORD dwRenderingIntent; + DWORD dwCreator; + DWORD dwDeviceClass; +} ENUMTYPEW, *PENUMTYPEW, *LPENUMTYPEW; + +#define ET_DEVICENAME 0x00000001 +#define ET_MEDIATYPE 0x00000002 +#define ET_DITHERMODE 0x00000004 +#define ET_RESOLUTION 0x00000008 +#define ET_CMMTYPE 0x00000010 +#define ET_CLASS 0x00000020 +#define ET_DATACOLORSPACE 0x00000040 +#define ET_CONNECTIONSPACE 0x00000080 +#define ET_SIGNATURE 0x00000100 +#define ET_PLATFORM 0x00000200 +#define ET_PROFILEFLAGS 0x00000400 +#define ET_MANUFACTURER 0x00000800 +#define ET_MODEL 0x00001000 +#define ET_ATTRIBUTES 0x00002000 +#define ET_RENDERINGINTENT 0x00004000 +#define ET_CREATOR 0x00008000 +#define ET_DEVICECLASS 0x00010000 + +struct _tagCOLORMATCHSETUPA; +struct _tagCOLORMATCHSETUPW; + +typedef BOOL (WINAPI *PCMSCALLBACKA)(struct _tagCOLORMATCHSETUPA*,LPARAM); +typedef BOOL (WINAPI *PCMSCALLBACKW)(struct _tagCOLORMATCHSETUPW*,LPARAM); + +typedef struct _tagCOLORMATCHSETUPA +{ + DWORD dwSize; + DWORD dwVersion; + DWORD dwFlags; + HWND hwndOwner; + PCSTR pSourceName; + PCSTR pDisplayName; + PCSTR pPrinterName; + DWORD dwRenderIntent; + DWORD dwProofingIntent; + PSTR pMonitorProfile; + DWORD ccMonitorProfile; + PSTR pPrinterProfile; + DWORD ccPrinterProfile; + PSTR pTargetProfile; + DWORD ccTargetProfile; + DLGPROC lpfnHook; + LPARAM lParam; + PCMSCALLBACKA lpfnApplyCallback; + LPARAM lParamApplyCallback; +} COLORMATCHSETUPA, *PCOLORMATCHSETUPA, *LPCOLORMATCHSETUPA; + +typedef struct _tagCOLORMATCHSETUPW +{ + DWORD dwSize; + DWORD dwVersion; + DWORD dwFlags; + HWND hwndOwner; + PCWSTR pSourceName; + PCWSTR pDisplayName; + PCWSTR pPrinterName; + DWORD dwRenderIntent; + DWORD dwProofingIntent; + PWSTR pMonitorProfile; + DWORD ccMonitorProfile; + PWSTR pPrinterProfile; + DWORD ccPrinterProfile; + PWSTR pTargetProfile; + DWORD ccTargetProfile; + DLGPROC lpfnHook; + LPARAM lParam; + PCMSCALLBACKW lpfnApplyCallback; + LPARAM lParamApplyCallback; +} COLORMATCHSETUPW, *PCOLORMATCHSETUPW, *LPCOLORMATCHSETUPW; + +BOOL WINAPI AssociateColorProfileWithDeviceA(PCSTR,PCSTR,PCSTR); +BOOL WINAPI AssociateColorProfileWithDeviceW(PCWSTR,PCWSTR,PCWSTR); +#define AssociateColorProfileWithDevice WINELIB_NAME_AW(AssociateColorProfileWithDevice) +BOOL WINAPI CheckBitmapBits(HTRANSFORM,PVOID,BMFORMAT,DWORD,DWORD,DWORD,PBYTE,PBMCALLBACKFN,LPARAM); +BOOL WINAPI CheckColors(HTRANSFORM,PCOLOR,DWORD,COLORTYPE,PBYTE); +BOOL WINAPI ConvertColorNameToIndex(HPROFILE,PCOLOR_NAME,PDWORD,DWORD); +BOOL WINAPI ConvertIndexToColorName(HPROFILE,PDWORD,PCOLOR_NAME,DWORD); +BOOL WINAPI CloseColorProfile(HPROFILE); +HTRANSFORM WINAPI CreateColorTransformA(LPLOGCOLORSPACEA,HPROFILE,HPROFILE,DWORD); +HTRANSFORM WINAPI CreateColorTransformW(LPLOGCOLORSPACEW,HPROFILE,HPROFILE,DWORD); +#define CreateColorTransform WINELIB_NAME_AW(CreateColorTransform) +BOOL WINAPI CreateDeviceLinkProfile(PHPROFILE,DWORD,PDWORD,DWORD,DWORD,PBYTE*,DWORD); +HTRANSFORM WINAPI CreateMultiProfileTransform(PHPROFILE,DWORD,PDWORD,DWORD,DWORD,DWORD); +BOOL WINAPI CreateProfileFromLogColorSpaceA(LPLOGCOLORSPACEA,PBYTE*); +BOOL WINAPI CreateProfileFromLogColorSpaceW(LPLOGCOLORSPACEW,PBYTE*); +#define CreateProfileFromLogColorSpace WINELIB_NAME_AW(CreateProfileFromLogColorSpace) +BOOL WINAPI DeleteColorTransform(HTRANSFORM); +BOOL WINAPI DisassociateColorProfileFromDeviceA(PCSTR,PCSTR,PCSTR); +BOOL WINAPI DisassociateColorProfileFromDeviceW(PCWSTR,PCWSTR,PCWSTR); +#define DisassociateColorProfileFromDevice WINELIB_NAME_AW(DisassociateColorProfileFromDevice) +BOOL WINAPI EnumColorProfilesA(PCSTR,PENUMTYPEA,PBYTE,PDWORD,PDWORD); +BOOL WINAPI EnumColorProfilesW(PCWSTR,PENUMTYPEW,PBYTE,PDWORD,PDWORD); +#define EnumColorProfiles WINELIB_NAME_AW(EnumColorProfiles) +DWORD WINAPI GenerateCopyFilePaths(LPCWSTR,LPCWSTR,LPBYTE,DWORD,LPWSTR,LPDWORD,LPWSTR,LPDWORD,DWORD); +DWORD WINAPI GetCMMInfo(HTRANSFORM,DWORD); +BOOL WINAPI GetColorDirectoryA(PCSTR,PSTR,PDWORD); +BOOL WINAPI GetColorDirectoryW(PCWSTR,PWSTR,PDWORD); +#define GetColorDirectory WINELIB_NAME_AW(GetColorDirectory) +BOOL WINAPI GetColorProfileElement(HPROFILE,TAGTYPE,DWORD,PDWORD,PVOID,PBOOL); +BOOL WINAPI GetColorProfileElementTag(HPROFILE,DWORD,PTAGTYPE); +BOOL WINAPI GetColorProfileFromHandle(HPROFILE,PBYTE,PDWORD); +BOOL WINAPI GetColorProfileHeader(HPROFILE,PPROFILEHEADER); +BOOL WINAPI GetCountColorProfileElements(HPROFILE,PDWORD); +BOOL WINAPI GetNamedProfileInfo(HPROFILE,PNAMED_PROFILE_INFO); +BOOL WINAPI GetPS2ColorRenderingDictionary(HPROFILE,DWORD,PBYTE,PDWORD,PBOOL); +BOOL WINAPI GetPS2ColorRenderingIntent(HPROFILE,DWORD,PBYTE,PDWORD); +BOOL WINAPI GetPS2ColorSpaceArray(HPROFILE,DWORD,DWORD,PBYTE,PDWORD,PBOOL); +BOOL WINAPI GetStandardColorSpaceProfileA(PCSTR,DWORD,PSTR,PDWORD); +BOOL WINAPI GetStandardColorSpaceProfileW(PCWSTR,DWORD,PWSTR,PDWORD); +#define GetStandardColorSpaceProfile WINELIB_NAME_AW(GetStandardColorSpaceProfile) +BOOL WINAPI InstallColorProfileA(PCSTR,PCSTR); +BOOL WINAPI InstallColorProfileW(PCWSTR,PCWSTR); +#define InstallColorProfile WINELIB_NAME_AW(InstallColorProfile) +BOOL WINAPI IsColorProfileTagPresent(HPROFILE,TAGTYPE,PBOOL); +BOOL WINAPI IsColorProfileValid(HPROFILE,PBOOL); +HPROFILE WINAPI OpenColorProfileA(PPROFILE,DWORD,DWORD,DWORD); +HPROFILE WINAPI OpenColorProfileW(PPROFILE,DWORD,DWORD,DWORD); +#define OpenColorProfile WINELIB_NAME_AW(OpenColorProfile) +BOOL WINAPI RegisterCMMA(PCSTR,DWORD,PCSTR); +BOOL WINAPI RegisterCMMW(PCWSTR,DWORD,PCWSTR); +#define RegisterCMM WINELIB_NAME_AW(RegisterCMM) +BOOL WINAPI SelectCMM(DWORD id); +BOOL WINAPI SetColorProfileElement(HPROFILE,TAGTYPE,DWORD,PDWORD,PVOID); +BOOL WINAPI SetColorProfileElementReference(HPROFILE,TAGTYPE,TAGTYPE); +BOOL WINAPI SetColorProfileElementSize(HPROFILE,TAGTYPE,DWORD); +BOOL WINAPI SetColorProfileHeader(HPROFILE,PPROFILEHEADER); +BOOL WINAPI SetStandardColorSpaceProfileA(PCSTR,DWORD,PSTR); +BOOL WINAPI SetStandardColorSpaceProfileW(PCWSTR,DWORD,PWSTR); +#define SetStandardColorSpaceProfile WINELIB_NAME_AW(SetStandardColorSpaceProfile) +BOOL WINAPI SetupColorMatchingA(PCOLORMATCHSETUPA); +BOOL WINAPI SetupColorMatchingW(PCOLORMATCHSETUPW); +#define SetupColorMatching WINELIB_NAME_AW(SetupColorMatching) +BOOL WINAPI SpoolerCopyFileEvent(LPWSTR,LPWSTR,DWORD); +BOOL WINAPI TranslateBitmapBits(HTRANSFORM,PVOID,BMFORMAT,DWORD,DWORD,DWORD,PVOID,BMFORMAT,DWORD,PBMCALLBACKFN,ULONG); +BOOL WINAPI TranslateColors(HTRANSFORM,PCOLOR,DWORD,COLORTYPE,PCOLOR,COLORTYPE); +BOOL WINAPI UninstallColorProfileA(PCSTR,PCSTR,BOOL); +BOOL WINAPI UninstallColorProfileW(PCWSTR,PCWSTR,BOOL); +#define UninstallColorProfile WINELIB_NAME_AW(UninstallColorProfile) +BOOL WINAPI UnregisterCMMA(PCSTR,DWORD); +BOOL WINAPI UnregisterCMMW(PCWSTR,DWORD); +#define UnregisterCMM WINELIB_NAME_AW(UnregisterCMM) + +#define PROFILE_FILENAME 1 +#define PROFILE_MEMBUFFER 2 + +#define PROFILE_READ 1 +#define PROFILE_READWRITE 2 + +#define SPACE_XYZ 0x58595A20 /* 'XYZ ' */ +#define SPACE_Lab 0x4C616220 /* 'Lab ' */ +#define SPACE_Luv 0x4C757620 /* 'Luv ' */ +#define SPACE_YCbCr 0x59436272 /* 'YCbr' */ +#define SPACE_Yxy 0x59787920 /* 'Yxy ' */ +#define SPACE_RGB 0x52474220 /* 'RGB ' */ +#define SPACE_GRAY 0x47524159 /* 'GRAY' */ +#define SPACE_HSV 0x48535620 /* 'HSV ' */ +#define SPACE_HLS 0x484C5320 /* 'HLS ' */ +#define SPACE_CMYK 0x434D594B /* 'CMYK' */ +#define SPACE_CMY 0x434D5920 /* 'CMY ' */ +#define SPACE_2_CHANNEL 0x32434c52 /* '2CLR' */ +#define SPACE_3_CHANNEL 0x33434c52 /* '3CLR' */ +#define SPACE_4_CHANNEL 0x34434c52 /* '4CLR' */ +#define SPACE_5_CHANNEL 0x35434c52 /* '5CLR' */ +#define SPACE_6_CHANNEL 0x36434c52 /* '6CLR' */ +#define SPACE_7_CHANNEL 0x37434c52 /* '7CLR' */ +#define SPACE_8_CHANNEL 0x38434c52 /* '8CLR' */ + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ICM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icmpapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icmpapi.h new file mode 100644 index 0000000..102851a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/icmpapi.h @@ -0,0 +1,53 @@ +/* + * Interface to the ICMP functions. + * + * Copyright (C) 1999 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ICMPAPI_H +#define __WINE_ICMPAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + + +HANDLE WINAPI IcmpCreateFile( + VOID + ); + +BOOL WINAPI IcmpCloseHandle( + HANDLE IcmpHandle + ); + +DWORD WINAPI IcmpSendEcho( + HANDLE IcmpHandle, + IPAddr DestinationAddress, + LPVOID RequestData, + WORD RequestSize, + PIP_OPTION_INFORMATION RequestOptions, + LPVOID ReplyBuffer, + DWORD ReplySize, + DWORD Timeout + ); + + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ICMPAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/idispids.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/idispids.h new file mode 100644 index 0000000..faff55d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/idispids.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_IDISPIDS_H__ +#define __WINE_IDISPIDS_H__ + +#define DISPID_READYSTATE (-525) +#define DISPID_READYSTATECHANGE (-609) +#define DISPID_AMBIENT_TRANSFERPRIORITY (-728) +#define DISPID_AMBIENT_OFFLINEIFNOTCONNECTED (-5501) +#define DISPID_AMBIENT_SILENT (-5502) + +#ifndef DISPID_AMBIENT_CODEPAGE +#define DISPID_AMBIENT_CODEPAGE (-725) +#define DISPID_AMBIENT_CHARSET (-727) +#endif /* DISPID_AMBIENT_CODEPAGE */ + +#endif /* __WINE_IDISPIDS_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ieautomation.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ieautomation.h new file mode 100644 index 0000000..4d0329f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ieautomation.h @@ -0,0 +1,155 @@ +/*** Autogenerated by WIDL 2.18 from ieautomation.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __ieautomation_h__ +#define __ieautomation_h__ + +/* Forward declarations */ + +#ifndef __IInternetExplorerManager_FWD_DEFINED__ +#define __IInternetExplorerManager_FWD_DEFINED__ +typedef interface IInternetExplorerManager IInternetExplorerManager; +#ifdef __cplusplus +interface IInternetExplorerManager; +#endif /* __cplusplus */ +#endif + +#ifndef __InternetExplorerManager_FWD_DEFINED__ +#define __InternetExplorerManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class InternetExplorerManager InternetExplorerManager; +#else +typedef struct InternetExplorerManager InternetExplorerManager; +#endif /* defined __cplusplus */ +#endif /* defined __InternetExplorerManager_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum INTERNETEXPLORERCONFIGURATION { + INTERNETEXPLORERCONFIGURATION_HOST = 0x1, + INTERNETEXPLORERCONFIGURATION_WEB_DRIVER = 0x2, + INTERNETEXPLORERCONFIGURATION_WEB_DRIVER_EDGE = 0x4 +} INTERNETEXPLORERCONFIGURATION; +/***************************************************************************** + * IInternetExplorerManager interface + */ +#ifndef __IInternetExplorerManager_INTERFACE_DEFINED__ +#define __IInternetExplorerManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetExplorerManager, 0xacc84351, 0x04ff, 0x44f9, 0xb2,0x3f, 0x65,0x5e,0xd1,0x68,0xc6,0xd5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("acc84351-04ff-44f9-b23f-655ed168c6d5") +IInternetExplorerManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateObject( + DWORD config, + LPCWSTR url, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetExplorerManager, 0xacc84351, 0x04ff, 0x44f9, 0xb2,0x3f, 0x65,0x5e,0xd1,0x68,0xc6,0xd5) +#endif +#else +typedef struct IInternetExplorerManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetExplorerManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetExplorerManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetExplorerManager *This); + + /*** IInternetExplorerManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateObject)( + IInternetExplorerManager *This, + DWORD config, + LPCWSTR url, + REFIID riid, + void **ppv); + + END_INTERFACE +} IInternetExplorerManagerVtbl; + +interface IInternetExplorerManager { + CONST_VTBL IInternetExplorerManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetExplorerManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetExplorerManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetExplorerManager_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetExplorerManager methods ***/ +#define IInternetExplorerManager_CreateObject(This,config,url,riid,ppv) (This)->lpVtbl->CreateObject(This,config,url,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetExplorerManager_QueryInterface(IInternetExplorerManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetExplorerManager_AddRef(IInternetExplorerManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetExplorerManager_Release(IInternetExplorerManager* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetExplorerManager methods ***/ +static FORCEINLINE HRESULT IInternetExplorerManager_CreateObject(IInternetExplorerManager* This,DWORD config,LPCWSTR url,REFIID riid,void **ppv) { + return This->lpVtbl->CreateObject(This,config,url,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IInternetExplorerManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * InternetExplorerManager coclass + */ + +DEFINE_GUID(CLSID_InternetExplorerManager, 0xdf4fcc34, 0x067a, 0x4e0a, 0x83,0x52, 0x4a,0x1a,0x50,0x95,0x34,0x6e); + +#ifdef __cplusplus +class DECLSPEC_UUID("df4fcc34-067a-4e0a-8352-4a1a5095346e") InternetExplorerManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(InternetExplorerManager, 0xdf4fcc34, 0x067a, 0x4e0a, 0x83,0x52, 0x4a,0x1a,0x50,0x95,0x34,0x6e) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __ieautomation_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ieautomation.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ieautomation.idl new file mode 100644 index 0000000..6eb41f4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ieautomation.idl @@ -0,0 +1,47 @@ +/* + * Copyright 2017 Zebediah Figura for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; + +typedef +[ + uuid(44ec9b57-dcab-4cde-b373-ee94962950e3) +] +enum INTERNETEXPLORERCONFIGURATION { + INTERNETEXPLORERCONFIGURATION_HOST = 0x00000001, + INTERNETEXPLORERCONFIGURATION_WEB_DRIVER = 0x00000002, + INTERNETEXPLORERCONFIGURATION_WEB_DRIVER_EDGE = 0x00000004, +} INTERNETEXPLORERCONFIGURATION; + +[ + object, + uuid(acc84351-04ff-44f9-b23f-655ed168c6d5), + pointer_default(unique) +] +interface IInternetExplorerManager : IUnknown +{ + HRESULT CreateObject([in] DWORD config, [in, unique, string] LPCWSTR url, [in] REFIID riid, [out, iid_is(riid)] void **ppv); +} + +[ + uuid(df4fcc34-067a-4e0a-8352-4a1a5095346e) +] +coclass InternetExplorerManager +{ + [default] interface IInternetExplorerManager; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iextag.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iextag.h new file mode 100644 index 0000000..52bf2eb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iextag.h @@ -0,0 +1,437 @@ +/*** Autogenerated by WIDL 2.18 from iextag.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __iextag_h__ +#define __iextag_h__ + +/* Forward declarations */ + +#ifndef __IClientCaps_FWD_DEFINED__ +#define __IClientCaps_FWD_DEFINED__ +typedef interface IClientCaps IClientCaps; +#ifdef __cplusplus +interface IClientCaps; +#endif /* __cplusplus */ +#endif + +#ifndef __ClientCaps_FWD_DEFINED__ +#define __ClientCaps_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ClientCaps ClientCaps; +#else +typedef struct ClientCaps ClientCaps; +#endif /* defined __cplusplus */ +#endif /* defined __ClientCaps_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IClientCaps interface + */ +#ifndef __IClientCaps_INTERFACE_DEFINED__ +#define __IClientCaps_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IClientCaps, 0x7e8bc44d, 0xaeff, 0x11d1, 0x89,0xc2, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7e8bc44d-aeff-11d1-89c2-00c04fb6bfc4") +IClientCaps : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_javaEnabled( + VARIANT_BOOL *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cookieEnabled( + VARIANT_BOOL *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cpuClass( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemLanguage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_userLanguage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_platform( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_connectionSpeed( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onLine( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_colorDepth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bufferDepth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_availHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_availWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_connectionType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE isComponentInstalled( + BSTR bstrName, + BSTR bstrType, + BSTR bStrVer, + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getComponentVersion( + BSTR bstrName, + BSTR bstrType, + BSTR *pbstrVer) = 0; + + virtual HRESULT STDMETHODCALLTYPE compareVersions( + BSTR bstrVer1, + BSTR bstrVer2, + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addComponentRequest( + BSTR bstrName, + BSTR bstrType, + BSTR bstrVer = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE doComponentRequest( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE clearComponentRequest( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IClientCaps, 0x7e8bc44d, 0xaeff, 0x11d1, 0x89,0xc2, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4) +#endif +#else +typedef struct IClientCapsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IClientCaps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IClientCaps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IClientCaps *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IClientCaps *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IClientCaps *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IClientCaps *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IClientCaps *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IClientCaps methods ***/ + HRESULT (STDMETHODCALLTYPE *get_javaEnabled)( + IClientCaps *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_cookieEnabled)( + IClientCaps *This, + VARIANT_BOOL *pVal); + + HRESULT (STDMETHODCALLTYPE *get_cpuClass)( + IClientCaps *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_systemLanguage)( + IClientCaps *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_userLanguage)( + IClientCaps *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_platform)( + IClientCaps *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_connectionSpeed)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_onLine)( + IClientCaps *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_colorDepth)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_bufferDepth)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_availHeight)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_availWidth)( + IClientCaps *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_connectionType)( + IClientCaps *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *isComponentInstalled)( + IClientCaps *This, + BSTR bstrName, + BSTR bstrType, + BSTR bStrVer, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *getComponentVersion)( + IClientCaps *This, + BSTR bstrName, + BSTR bstrType, + BSTR *pbstrVer); + + HRESULT (STDMETHODCALLTYPE *compareVersions)( + IClientCaps *This, + BSTR bstrVer1, + BSTR bstrVer2, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *addComponentRequest)( + IClientCaps *This, + BSTR bstrName, + BSTR bstrType, + BSTR bstrVer); + + HRESULT (STDMETHODCALLTYPE *doComponentRequest)( + IClientCaps *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *clearComponentRequest)( + IClientCaps *This); + + END_INTERFACE +} IClientCapsVtbl; + +interface IClientCaps { + CONST_VTBL IClientCapsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IClientCaps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IClientCaps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IClientCaps_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IClientCaps_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IClientCaps_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IClientCaps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IClientCaps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IClientCaps methods ***/ +#define IClientCaps_get_javaEnabled(This,pVal) (This)->lpVtbl->get_javaEnabled(This,pVal) +#define IClientCaps_get_cookieEnabled(This,pVal) (This)->lpVtbl->get_cookieEnabled(This,pVal) +#define IClientCaps_get_cpuClass(This,p) (This)->lpVtbl->get_cpuClass(This,p) +#define IClientCaps_get_systemLanguage(This,p) (This)->lpVtbl->get_systemLanguage(This,p) +#define IClientCaps_get_userLanguage(This,p) (This)->lpVtbl->get_userLanguage(This,p) +#define IClientCaps_get_platform(This,p) (This)->lpVtbl->get_platform(This,p) +#define IClientCaps_get_connectionSpeed(This,p) (This)->lpVtbl->get_connectionSpeed(This,p) +#define IClientCaps_get_onLine(This,p) (This)->lpVtbl->get_onLine(This,p) +#define IClientCaps_get_colorDepth(This,p) (This)->lpVtbl->get_colorDepth(This,p) +#define IClientCaps_get_bufferDepth(This,p) (This)->lpVtbl->get_bufferDepth(This,p) +#define IClientCaps_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IClientCaps_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IClientCaps_get_availHeight(This,p) (This)->lpVtbl->get_availHeight(This,p) +#define IClientCaps_get_availWidth(This,p) (This)->lpVtbl->get_availWidth(This,p) +#define IClientCaps_get_connectionType(This,p) (This)->lpVtbl->get_connectionType(This,p) +#define IClientCaps_isComponentInstalled(This,bstrName,bstrType,bStrVer,p) (This)->lpVtbl->isComponentInstalled(This,bstrName,bstrType,bStrVer,p) +#define IClientCaps_getComponentVersion(This,bstrName,bstrType,pbstrVer) (This)->lpVtbl->getComponentVersion(This,bstrName,bstrType,pbstrVer) +#define IClientCaps_compareVersions(This,bstrVer1,bstrVer2,p) (This)->lpVtbl->compareVersions(This,bstrVer1,bstrVer2,p) +#define IClientCaps_addComponentRequest(This,bstrName,bstrType,bstrVer) (This)->lpVtbl->addComponentRequest(This,bstrName,bstrType,bstrVer) +#define IClientCaps_doComponentRequest(This,p) (This)->lpVtbl->doComponentRequest(This,p) +#define IClientCaps_clearComponentRequest(This) (This)->lpVtbl->clearComponentRequest(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IClientCaps_QueryInterface(IClientCaps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IClientCaps_AddRef(IClientCaps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IClientCaps_Release(IClientCaps* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IClientCaps_GetTypeInfoCount(IClientCaps* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IClientCaps_GetTypeInfo(IClientCaps* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IClientCaps_GetIDsOfNames(IClientCaps* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IClientCaps_Invoke(IClientCaps* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IClientCaps methods ***/ +static FORCEINLINE HRESULT IClientCaps_get_javaEnabled(IClientCaps* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_javaEnabled(This,pVal); +} +static FORCEINLINE HRESULT IClientCaps_get_cookieEnabled(IClientCaps* This,VARIANT_BOOL *pVal) { + return This->lpVtbl->get_cookieEnabled(This,pVal); +} +static FORCEINLINE HRESULT IClientCaps_get_cpuClass(IClientCaps* This,BSTR *p) { + return This->lpVtbl->get_cpuClass(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_systemLanguage(IClientCaps* This,BSTR *p) { + return This->lpVtbl->get_systemLanguage(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_userLanguage(IClientCaps* This,BSTR *p) { + return This->lpVtbl->get_userLanguage(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_platform(IClientCaps* This,BSTR *p) { + return This->lpVtbl->get_platform(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_connectionSpeed(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_connectionSpeed(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_onLine(IClientCaps* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_onLine(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_colorDepth(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_colorDepth(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_bufferDepth(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_bufferDepth(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_width(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_height(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_availHeight(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_availHeight(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_availWidth(IClientCaps* This,LONG *p) { + return This->lpVtbl->get_availWidth(This,p); +} +static FORCEINLINE HRESULT IClientCaps_get_connectionType(IClientCaps* This,BSTR *p) { + return This->lpVtbl->get_connectionType(This,p); +} +static FORCEINLINE HRESULT IClientCaps_isComponentInstalled(IClientCaps* This,BSTR bstrName,BSTR bstrType,BSTR bStrVer,VARIANT_BOOL *p) { + return This->lpVtbl->isComponentInstalled(This,bstrName,bstrType,bStrVer,p); +} +static FORCEINLINE HRESULT IClientCaps_getComponentVersion(IClientCaps* This,BSTR bstrName,BSTR bstrType,BSTR *pbstrVer) { + return This->lpVtbl->getComponentVersion(This,bstrName,bstrType,pbstrVer); +} +static FORCEINLINE HRESULT IClientCaps_compareVersions(IClientCaps* This,BSTR bstrVer1,BSTR bstrVer2,LONG *p) { + return This->lpVtbl->compareVersions(This,bstrVer1,bstrVer2,p); +} +static FORCEINLINE HRESULT IClientCaps_addComponentRequest(IClientCaps* This,BSTR bstrName,BSTR bstrType,BSTR bstrVer) { + return This->lpVtbl->addComponentRequest(This,bstrName,bstrType,bstrVer); +} +static FORCEINLINE HRESULT IClientCaps_doComponentRequest(IClientCaps* This,VARIANT_BOOL *p) { + return This->lpVtbl->doComponentRequest(This,p); +} +static FORCEINLINE HRESULT IClientCaps_clearComponentRequest(IClientCaps* This) { + return This->lpVtbl->clearComponentRequest(This); +} +#endif +#endif + +#endif + + +#endif /* __IClientCaps_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_IEXTagLib, 0x7e8bc440, 0xaeff, 0x11d1, 0x89,0xc2, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4); + +/***************************************************************************** + * ClientCaps coclass + */ + +DEFINE_GUID(CLSID_ClientCaps, 0x7e8bc44e, 0xaeff, 0x11d1, 0x89,0xc2, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4); + +#ifdef __cplusplus +class DECLSPEC_UUID("7e8bc44e-aeff-11d1-89c2-00c04fb6bfc4") ClientCaps; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ClientCaps, 0x7e8bc44e, 0xaeff, 0x11d1, 0x89,0xc2, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __iextag_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iextag.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iextag.idl new file mode 100644 index 0000000..6b25af5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iextag.idl @@ -0,0 +1,120 @@ +/* + * Copyright 2011 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +[ + object, + uuid(7e8bc44d-aeff-11d1-89c2-00c04fb6bfc4), + dual, + pointer_default(unique) + ] +interface IClientCaps : IDispatch +{ + [propget, id(1)] + HRESULT javaEnabled([out, retval] VARIANT_BOOL *pVal); + + [propget, id(2)] + HRESULT cookieEnabled([out, retval] VARIANT_BOOL *pVal); + + [propget, id(3)] + HRESULT cpuClass([out, retval] BSTR *p); + + [propget, id(4)] + HRESULT systemLanguage([out, retval] BSTR *p); + + [propget, id(6)] + HRESULT userLanguage([out, retval] BSTR *p); + + [propget, id(7)] + HRESULT platform([out, retval] BSTR *p); + + [propget, id(9)] + HRESULT connectionSpeed([out, retval] long *p); + + [propget, id(10)] + HRESULT onLine([out, retval] VARIANT_BOOL *p); + + [propget, id(11)] + HRESULT colorDepth([out, retval] long *p); + + [propget, id(12)] + HRESULT bufferDepth([out, retval] long *p); + + [propget, id(13)] + HRESULT width([out, retval] long *p); + + [propget, id(14)] + HRESULT height([out, retval] long *p); + + [propget, id(15)] + HRESULT availHeight([out, retval] long *p); + + [propget, id(16)] + HRESULT availWidth([out, retval] long *p); + + [propget, id(17)] + HRESULT connectionType([out, retval] BSTR *p); + + [id(18)] + HRESULT isComponentInstalled( + [in] BSTR bstrName, + [in] BSTR bstrType, + [in, defaultvalue("")] BSTR bStrVer, + [out, retval] VARIANT_BOOL *p); + + [id(19)] + HRESULT getComponentVersion( + [in] BSTR bstrName, + [in] BSTR bstrType, + [out, retval] BSTR *pbstrVer); + + [id(20)] + HRESULT compareVersions( + [in] BSTR bstrVer1, + [in] BSTR bstrVer2, + [out, retval] long *p); + + [id(21)] + HRESULT addComponentRequest( + [in] BSTR bstrName, + [in] BSTR bstrType, + [in, defaultvalue("")] BSTR bstrVer); + + [id(22)] + HRESULT doComponentRequest([out, retval] VARIANT_BOOL *p); + + [id(23)] + HRESULT clearComponentRequest(); +} + +[ + uuid(7e8bc440-aeff-11d1-89c2-00c04fb6bfc4), + version(1.0) +] +library IEXTagLib +{ + [ + uuid(7e8bc44e-aeff-11d1-89c2-00C04fb6bfc4) + ] + coclass ClientCaps + { + [default] interface IClientCaps; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ifdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ifdef.h new file mode 100644 index 0000000..bdda8a2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ifdef.h @@ -0,0 +1,229 @@ +/* WINE ifdef.h + * Copyright 2010 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef WINE_IFDEF_H +#define WINE_IFDEF_H + +#include + +typedef ULONG32 NET_IF_OBJECT_ID, *PNET_IF_OBJECT_ID; +typedef UINT32 NET_IF_COMPARTMENT_ID, *PNET_IF_COMPARTMENT_ID; +typedef GUID NET_IF_NETWORK_GUID, *PNET_IF_NETWORK_GUID; +typedef ULONG NET_IFINDEX, *PNET_IFINDEX; +typedef NET_IFINDEX IF_INDEX, *PIF_INDEX; +typedef UINT16 NET_IFTYPE, *PNET_IFTYPE; + +#define NET_IF_OPER_STATUS_DOWN_NOT_AUTHENTICATED 0x00000001 +#define NET_IF_OPER_STATUS_DOWN_NOT_MEDIA_CONNECTED 0x00000002 +#define NET_IF_OPER_STATUS_DORMANT_PAUSED 0x00000004 +#define NET_IF_OPER_STATUS_DORMANT_LOW_POWER 0x00000008 + +#define NET_IF_COMPARTMENT_ID_UNSPECIFIED 0 +#define NET_IF_COMPARTMENT_ID_PRIMARY 1 + +#define NET_IF_OID_IF_ALIAS 0x00000001 +#define NET_IF_OID_COMPARTMENT_ID 0x00000002 +#define NET_IF_OID_NETWORK_GUID 0x00000003 +#define NET_IF_OID_IF_ENTRY 0x00000004 + +#define NET_SET_UNSPECIFIED_NETWORK_GUID(x) +#define NET_IS_UNSPECIFIED_NETWORK_GUID(x) + +#define NET_SITEID_UNSPECIFIED 0 +#define NET_SITEID_MAXUSER 0x07ffffff +#define NET_SITEID_MAXSYSTEM 0x0fffffff + +#define NET_IFINDEX_UNSPECIFIED 0 +#define IFI_UNSPECIFIED NET_IFINDEX_UNSPECIFIED + +#define NET_IFLUID_UNSPECIFIED 0 + +#define NIIF_HARDWARE_INTERFACE 0x00000001 +#define NIIF_FILTER_INTERFACE 0x00000002 +#define NIIF_NDIS_WDM_INTERFACE 0x00000020 +#define NIIF_NDIS_ENDPOINT_INTERFACE 0x00000040 +#define NIIF_NDIS_ISCSI_INTERFACE 0x00000080 +#define NIIF_WAN_TUNNEL_TYPE_UNKNOWN 0xffffffff + +#define NET_BUS_NUMBER_UNKNOWN 0xffffffff +#define NET_SLOT_NUMBER_UNKNOWN 0xffffffff +#define NET_FUNCTION_NUMBER_UNKNOWN 0xffffffff + +#define IF_MAX_STRING_SIZE 256 +#define IF_MAX_PHYS_ADDRESS_LENGTH 32 + +typedef enum _NET_IF_ADMIN_STATUS { + NET_IF_ADMIN_STATUS_UP = 1, + NET_IF_ADMIN_STATUS_DOWN = 2, + NET_IF_ADMIN_STATUS_TESTING = 3 +} NET_IF_ADMIN_STATUS, *PNET_IF_ADMIN_STATUS; + +typedef enum _NET_IF_OPER_STATUS { + NET_IF_OPER_STATUS_UP = 1, + NET_IF_OPER_STATUS_DOWN = 2, + NET_IF_OPER_STATUS_TESTING = 3, + NET_IF_OPER_STATUS_UNKNOWN = 4, + NET_IF_OPER_STATUS_DORMANT = 5, + NET_IF_OPER_STATUS_NOT_PRESENT = 6, + NET_IF_OPER_STATUS_LOWER_LAYER_DOWN = 7 +} NET_IF_OPER_STATUS, *PNET_IF_OPER_STATUS; + +typedef enum _NET_IF_RCV_ADDRESS_TYPE { + NET_IF_RCV_ADDRESS_TYPE_OTHER = 1, + NET_IF_RCV_ADDRESS_TYPE_VOLATILE = 2, + NET_IF_RCV_ADDRESS_TYPE_NON_VOLATILE = 3 +} NET_IF_RCV_ADDRESS_TYPE, *PNET_IF_RCV_ADDRESS_TYPE; + +typedef struct _NET_IF_RCV_ADDRESS_LH { + NET_IF_RCV_ADDRESS_TYPE ifRcvAddressType; + USHORT ifRcvAddressLength; + USHORT ifRcvAddressOffset; +} NET_IF_RCV_ADDRESS_LH, *PNET_IF_RCV_ADDRESS_LH; +typedef NET_IF_RCV_ADDRESS_LH NET_IF_RCV_ADDRESS; +typedef NET_IF_RCV_ADDRESS_LH *PNET_IF_RCV_ADDRESS; + +typedef union _NET_LUID_LH { + ULONG64 Value; + struct { + ULONG64 Reserved : 24; + ULONG64 NetLuidIndex : 24; + ULONG64 IfType : 16; + } Info; +} NET_LUID_LH, *PNET_LUID_LH; +typedef NET_LUID_LH NET_LUID; +typedef NET_LUID *PNET_LUID; +typedef NET_LUID IF_LUID; +typedef NET_LUID *PIF_LUID; + +typedef enum _NET_IF_ACCESS_TYPE { + NET_IF_ACCESS_LOOPBACK = 1, + NET_IF_ACCESS_BROADCAST = 2, + NET_IF_ACCESS_POINT_TO_POINT = 2, + NET_IF_ACCESS_POINT_TO_MULTI_POINT = 4, + NET_IF_ACCESS_MAXIMUM = 5 +} NET_IF_ACCESS_TYPE, *PNET_IF_ACCESS_TYPE; + +typedef enum _NET_IF_DIRECTION_TYPE { + NET_IF_DIRECTION_SENDRECEIVE = 0, + NET_IF_DIRECTION_SENDONLY = 1, + NET_IF_DIRECTION_RECEIVEONLY = 2, + NET_IF_DIRECTION_MAXIMUM = 3 +} NET_IF_DIRECTION_TYPE, *PNET_IF_DIRECTION_TYPE; + +typedef enum _NET_IF_CONNECTION_TYPE { + NET_IF_CONNECTION_DEDICATED = 1, + NET_IF_CONNECTION_PASSIVE = 2, + NET_IF_CONNECTION_DEMAND = 3, + NET_IF_CONNECTION_MAXIMUM = 4, +} NET_IF_CONNECTION_TYPE, *PNET_IF_CONNECTION_TYPE; + +typedef enum _NET_IF_MEDIA_CONNECT_STATE { + MediaConnectStateUnknown = 0, + MediaConnectStateConnected = 1, + MediaConnectStateDisconnected = 2 +} NET_IF_MEDIA_CONNECT_STATE, *PNET_IF_MEDIA_CONNECT_STATE; + +typedef enum _NET_IF_MEDIA_DUPLEX_STATE { + MediaDuplexStateUnknown = 0, + MediaDuplexStateHalf = 1, + MediaDuplexStateFull = 2 +} NET_IF_MEDIA_DUPLEX_STATE, *PNET_IF_MEDIA_DUPLEX_STATE; + +typedef struct _NET_PHYSICAL_LOCATION_LH { + ULONG BusNumber; + ULONG SlotNumber; + ULONG FunctionNumber; +} NET_PHYSICAL_LOCATION_LH, *PNET_PHYSICAL_LOCATION_LH; +typedef NET_PHYSICAL_LOCATION_LH NET_PHYSICAL_LOCATION; +typedef NET_PHYSICAL_LOCATION *PNET_PHYSICAL_LOCATION; + +typedef struct _IF_COUNTED_STRING_LH { + USHORT Length; + WCHAR String[IF_MAX_STRING_SIZE + 1]; +} IF_COUNTED_STRING_LH, *PIF_COUNTED_STRING_LH; +typedef IF_COUNTED_STRING_LH IF_COUNTED_STRING; +typedef IF_COUNTED_STRING *PIF_COUNTED_STRING; + +typedef struct _IF_PHYSICAL_ADDRESS_LH { + USHORT Length; + UCHAR Address[IF_MAX_PHYS_ADDRESS_LENGTH]; +} IF_PHYSICAL_ADDRESS_LH, *PIF_PHYSICAL_ADDRESS_LH; +typedef IF_PHYSICAL_ADDRESS_LH IF_PHYSICAL_ADDRESS; +typedef IF_PHYSICAL_ADDRESS *PIF_PHYSICAL_ADDRESS; + +typedef enum { + TUNNEL_TYPE_NONE = 0, + TUNNEL_TYPE_OTHER = 1, + TUNNEL_TYPE_DIRECT = 2, + TUNNEL_TYPE_6TO4 = 11, + TUNNEL_TYPE_ISATAP = 13, + TUNNEL_TYPE_TEREDO = 14, + TUNNEL_TYPE_IPHTTPS = 15, +} TUNNEL_TYPE; + +typedef enum _IF_ADMINISTRATIVE_STATE { + IF_ADMINISTRATIVE_STATE_DISABLED = 0, + IF_ADMINISTRATIVE_STATE_ENABLED = 1, + IF_ADMINISTRATIVE_STATE_DEMANDDIAL = 2 +} IF_ADMINISTRATIVE_STATE, *PIF_ADMINISTRATIVE_STATE; + +typedef enum { + IfOperStatusUp = 1, + IfOperStatusDown, + IfOperStatusTesting, + IfOperStatusUnknown, + IfOperStatusDormant, + IfOperStatusNotPresent, + IfOperStatusLowerLayerDown +} IF_OPER_STATUS; + +typedef struct _NDIS_INTERFACE_INFORMATION { + NET_IF_OPER_STATUS ifOperStatus; + ULONG ifOperStatusFlags; + NET_IF_MEDIA_CONNECT_STATE MediaConnectState; + NET_IF_MEDIA_DUPLEX_STATE MediaDuplexState; + ULONG ifMtu; + BOOLEAN ifPromiscuousMode; + BOOLEAN ifDeviceWakeUpEnable; + ULONG64 XmitLinkSpeed; + ULONG64 RcvLinkSpeed; + ULONG64 ifLastChange; + ULONG64 ifCounterDiscontinuityTime; + ULONG64 ifInUnknownProtos; + ULONG64 ifInDiscards; + ULONG64 ifInErrors; + ULONG64 ifHCInOctets; + ULONG64 ifHCInUcastPkts; + ULONG64 ifHCInMulticastPkts; + ULONG64 ifHCInBroadcastPkts; + ULONG64 ifHCOutOctets; + ULONG64 ifHCOutUcastPkts; + ULONG64 ifHCOutMulticastPkts; + ULONG64 ifHCOutBroadcastPkts; + ULONG64 ifOutErrors; + ULONG64 ifOutDiscards; + ULONG64 ifHCInUcastOctets; + ULONG64 ifHCInMulticastOctets; + ULONG64 ifHCInBroadcastOctets; + ULONG64 ifHCOutUcastOctets; + ULONG64 ifHCOutMulticastOctets; + ULONG64 ifHCOutBroadcastOctets; + NET_IF_COMPARTMENT_ID CompartmentId; + ULONG SupportedStatistics; +} NDIS_INTERFACE_INFORMATION, *PNDIS_INTERFACE_INFORMATION; + +#endif /* WINE_IFDEF_H*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ifmib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ifmib.h new file mode 100644 index 0000000..440ed14 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ifmib.h @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_IFMIB_H +#define __WINE_IFMIB_H + +#include + +typedef struct _MIB_IFNUMBER +{ + DWORD dwValue; +} MIB_IFNUMBER, *PMIB_IFNUMBER; + + +/* Interface table */ + +#define MAX_INTERFACE_NAME_LEN 256 +#define MAXLEN_PHYSADDR 8 +#define MAXLEN_IFDESCR 256 + +typedef struct _MIB_IFROW +{ + WCHAR wszName[MAX_INTERFACE_NAME_LEN]; + DWORD dwIndex; + DWORD dwType; + DWORD dwMtu; + DWORD dwSpeed; + DWORD dwPhysAddrLen; + UCHAR bPhysAddr[MAXLEN_PHYSADDR]; + DWORD dwAdminStatus; + INTERNAL_IF_OPER_STATUS dwOperStatus; + DWORD dwLastChange; + DWORD dwInOctets; + DWORD dwInUcastPkts; + DWORD dwInNUcastPkts; + DWORD dwInDiscards; + DWORD dwInErrors; + DWORD dwInUnknownProtos; + DWORD dwOutOctets; + DWORD dwOutUcastPkts; + DWORD dwOutNUcastPkts; + DWORD dwOutDiscards; + DWORD dwOutErrors; + DWORD dwOutQLen; + DWORD dwDescrLen; + BYTE bDescr[MAXLEN_IFDESCR]; +} MIB_IFROW, *PMIB_IFROW; + +typedef struct _MIB_IFTABLE +{ + DWORD dwNumEntries; + MIB_IFROW table[1]; +} MIB_IFTABLE, *PMIB_IFTABLE; + + +#endif /* __WINE_IFMIB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iimgctx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iimgctx.h new file mode 100644 index 0000000..615cca8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iimgctx.h @@ -0,0 +1,287 @@ +/*** Autogenerated by WIDL 2.18 from iimgctx.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __iimgctx_h__ +#define __iimgctx_h__ + +/* Forward declarations */ + +#ifndef __IImgCtx_FWD_DEFINED__ +#define __IImgCtx_FWD_DEFINED__ +typedef interface IImgCtx IImgCtx; +#ifdef __cplusplus +interface IImgCtx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define IMGCHG_SIZE 0x0001 +#define IMGCHG_VIEW 0x0002 +#define IMGCHG_COMPLETE 0x0004 +#define IMGCHG_ANIMATE 0x0008 +#define IMGCHG_MASK 0x000f +#define IMGLOAD_NOTLOADED 0x00100000 +#define IMGLOAD_LOADING 0x00200000 +#define IMGLOAD_STOPPED 0x00400000 +#define IMGLOAD_ERROR 0x00800000 +#define IMGLOAD_COMPLETE 0x01000000 +#define IMGLOAD_MASK 0x01f00000 +#define IMGBITS_NONE 0x02000000 +#define IMGBITS_PARTIAL 0x04000000 +#define IMGBITS_TOTAL 0x08000000 +#define IMGBITS_MASK 0x0e000000 +#define IMGANIM_ANIMATED 0x10000000 +#define IMGANIM_MASK 0x10000000 +#define IMGTRANS_OPAQUE 0x20000000 +#define IMGTRANS_MASK 0x20000000 +#define DWN_COLORMODE 0x0000003f +#define DWN_DOWNLOADONLY 0x00000040 +#define DWN_FORCEDITHER 0x00000080 +#define DWN_RAWIMAGE 0x00000100 +#define DWN_MIRRORIMAGE 0x00000200 +typedef void (__stdcall *PFNIMGCTXCALLBACK)(void *a,void *b); +/***************************************************************************** + * IImgCtx interface + */ +#ifndef __IImgCtx_INTERFACE_DEFINED__ +#define __IImgCtx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImgCtx, 0x3050f3d7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3d7-98b5-11cf-bb82-00aa00bdce0b") +IImgCtx : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Load( + LPCWSTR url, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectChanges( + ULONG changeon, + ULONG changeoff, + BOOL signal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCallback( + void (__stdcall * fn)(void *a,void *b), + void *priv) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUpdateRects( + RECT *rect, + RECT *img, + LONG *pcrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStateInfo( + ULONG *state, + SIZE *size, + BOOL clear_changes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPalette( + HPALETTE *hpal) = 0; + + virtual HRESULT STDMETHODCALLTYPE Draw( + HDC hdc, + RECT *bounds) = 0; + + virtual HRESULT STDMETHODCALLTYPE Tile( + HDC hdc, + POINT *backorg, + RECT *clip, + SIZE *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE StretchBlt( + HDC hdc, + int dstX, + int dstY, + int dstXE, + int dstYE, + int srcX, + int srcY, + int srcXE, + int srcYE, + DWORD rop) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImgCtx, 0x3050f3d7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IImgCtxVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImgCtx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImgCtx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImgCtx *This); + + /*** IImgCtx methods ***/ + HRESULT (STDMETHODCALLTYPE *Load)( + IImgCtx *This, + LPCWSTR url, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *SelectChanges)( + IImgCtx *This, + ULONG changeon, + ULONG changeoff, + BOOL signal); + + HRESULT (STDMETHODCALLTYPE *SetCallback)( + IImgCtx *This, + void (__stdcall * fn)(void *a,void *b), + void *priv); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IImgCtx *This); + + HRESULT (STDMETHODCALLTYPE *GetUpdateRects)( + IImgCtx *This, + RECT *rect, + RECT *img, + LONG *pcrc); + + HRESULT (STDMETHODCALLTYPE *GetStateInfo)( + IImgCtx *This, + ULONG *state, + SIZE *size, + BOOL clear_changes); + + HRESULT (STDMETHODCALLTYPE *GetPalette)( + IImgCtx *This, + HPALETTE *hpal); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IImgCtx *This, + HDC hdc, + RECT *bounds); + + HRESULT (STDMETHODCALLTYPE *Tile)( + IImgCtx *This, + HDC hdc, + POINT *backorg, + RECT *clip, + SIZE *size); + + HRESULT (STDMETHODCALLTYPE *StretchBlt)( + IImgCtx *This, + HDC hdc, + int dstX, + int dstY, + int dstXE, + int dstYE, + int srcX, + int srcY, + int srcXE, + int srcYE, + DWORD rop); + + END_INTERFACE +} IImgCtxVtbl; + +interface IImgCtx { + CONST_VTBL IImgCtxVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImgCtx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImgCtx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImgCtx_Release(This) (This)->lpVtbl->Release(This) +/*** IImgCtx methods ***/ +#define IImgCtx_Load(This,url,flags) (This)->lpVtbl->Load(This,url,flags) +#define IImgCtx_SelectChanges(This,changeon,changeoff,signal) (This)->lpVtbl->SelectChanges(This,changeon,changeoff,signal) +#define IImgCtx_SetCallback(This,fn,priv) (This)->lpVtbl->SetCallback(This,fn,priv) +#define IImgCtx_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IImgCtx_GetUpdateRects(This,rect,img,pcrc) (This)->lpVtbl->GetUpdateRects(This,rect,img,pcrc) +#define IImgCtx_GetStateInfo(This,state,size,clear_changes) (This)->lpVtbl->GetStateInfo(This,state,size,clear_changes) +#define IImgCtx_GetPalette(This,hpal) (This)->lpVtbl->GetPalette(This,hpal) +#define IImgCtx_Draw(This,hdc,bounds) (This)->lpVtbl->Draw(This,hdc,bounds) +#define IImgCtx_Tile(This,hdc,backorg,clip,size) (This)->lpVtbl->Tile(This,hdc,backorg,clip,size) +#define IImgCtx_StretchBlt(This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,rop) (This)->lpVtbl->StretchBlt(This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,rop) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImgCtx_QueryInterface(IImgCtx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImgCtx_AddRef(IImgCtx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImgCtx_Release(IImgCtx* This) { + return This->lpVtbl->Release(This); +} +/*** IImgCtx methods ***/ +static FORCEINLINE HRESULT IImgCtx_Load(IImgCtx* This,LPCWSTR url,DWORD flags) { + return This->lpVtbl->Load(This,url,flags); +} +static FORCEINLINE HRESULT IImgCtx_SelectChanges(IImgCtx* This,ULONG changeon,ULONG changeoff,BOOL signal) { + return This->lpVtbl->SelectChanges(This,changeon,changeoff,signal); +} +static FORCEINLINE HRESULT IImgCtx_SetCallback(IImgCtx* This,void (__stdcall * fn)(void *a,void *b),void *priv) { + return This->lpVtbl->SetCallback(This,fn,priv); +} +static FORCEINLINE HRESULT IImgCtx_Disconnect(IImgCtx* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IImgCtx_GetUpdateRects(IImgCtx* This,RECT *rect,RECT *img,LONG *pcrc) { + return This->lpVtbl->GetUpdateRects(This,rect,img,pcrc); +} +static FORCEINLINE HRESULT IImgCtx_GetStateInfo(IImgCtx* This,ULONG *state,SIZE *size,BOOL clear_changes) { + return This->lpVtbl->GetStateInfo(This,state,size,clear_changes); +} +static FORCEINLINE HRESULT IImgCtx_GetPalette(IImgCtx* This,HPALETTE *hpal) { + return This->lpVtbl->GetPalette(This,hpal); +} +static FORCEINLINE HRESULT IImgCtx_Draw(IImgCtx* This,HDC hdc,RECT *bounds) { + return This->lpVtbl->Draw(This,hdc,bounds); +} +static FORCEINLINE HRESULT IImgCtx_Tile(IImgCtx* This,HDC hdc,POINT *backorg,RECT *clip,SIZE *size) { + return This->lpVtbl->Tile(This,hdc,backorg,clip,size); +} +static FORCEINLINE HRESULT IImgCtx_StretchBlt(IImgCtx* This,HDC hdc,int dstX,int dstY,int dstXE,int dstYE,int srcX,int srcY,int srcXE,int srcYE,DWORD rop) { + return This->lpVtbl->StretchBlt(This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,rop); +} +#endif +#endif + +#endif + + +#endif /* __IImgCtx_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __iimgctx_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iimgctx.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iimgctx.idl new file mode 100644 index 0000000..b30eadd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iimgctx.idl @@ -0,0 +1,70 @@ +/* + * Copyright 2015 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +cpp_quote("#define IMGCHG_SIZE 0x0001") +cpp_quote("#define IMGCHG_VIEW 0x0002") +cpp_quote("#define IMGCHG_COMPLETE 0x0004") +cpp_quote("#define IMGCHG_ANIMATE 0x0008") +cpp_quote("#define IMGCHG_MASK 0x000f") + +cpp_quote("#define IMGLOAD_NOTLOADED 0x00100000") +cpp_quote("#define IMGLOAD_LOADING 0x00200000") +cpp_quote("#define IMGLOAD_STOPPED 0x00400000") +cpp_quote("#define IMGLOAD_ERROR 0x00800000") +cpp_quote("#define IMGLOAD_COMPLETE 0x01000000") +cpp_quote("#define IMGLOAD_MASK 0x01f00000") + +cpp_quote("#define IMGBITS_NONE 0x02000000") +cpp_quote("#define IMGBITS_PARTIAL 0x04000000") +cpp_quote("#define IMGBITS_TOTAL 0x08000000") +cpp_quote("#define IMGBITS_MASK 0x0e000000") + +cpp_quote("#define IMGANIM_ANIMATED 0x10000000") +cpp_quote("#define IMGANIM_MASK 0x10000000") + +cpp_quote("#define IMGTRANS_OPAQUE 0x20000000") +cpp_quote("#define IMGTRANS_MASK 0x20000000") + +cpp_quote("#define DWN_COLORMODE 0x0000003f") +cpp_quote("#define DWN_DOWNLOADONLY 0x00000040") +cpp_quote("#define DWN_FORCEDITHER 0x00000080") +cpp_quote("#define DWN_RAWIMAGE 0x00000100") +cpp_quote("#define DWN_MIRRORIMAGE 0x00000200") + +typedef void (__stdcall *PFNIMGCTXCALLBACK)(void *, void *); + +[ + local, + object, + uuid(3050f3d7-98b5-11cf-bb82-00aa00bdce0b) +] +interface IImgCtx : IUnknown +{ + HRESULT Load(LPCWSTR url, DWORD flags); + HRESULT SelectChanges(ULONG changeon, ULONG changeoff, BOOL signal); + HRESULT SetCallback(PFNIMGCTXCALLBACK fn, void *priv); + HRESULT Disconnect(); + HRESULT GetUpdateRects(RECT *rect, RECT *img, LONG *pcrc); + HRESULT GetStateInfo(ULONG *state, SIZE *size, BOOL clear_changes); + HRESULT GetPalette(HPALETTE *hpal); + HRESULT Draw(HDC hdc, RECT *bounds); + HRESULT Tile(HDC hdc, POINT *backorg, RECT *clip, SIZE *size); + HRESULT StretchBlt(HDC hdc, int dstX, int dstY, int dstXE, int dstYE, int srcX, int srcY, int srcXE, int srcYE, DWORD rop); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imagehlp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imagehlp.h new file mode 100644 index 0000000..8c8250d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imagehlp.h @@ -0,0 +1,1400 @@ +/* + * Declarations for IMAGEHLP + * + * Copyright (C) 1998 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_IMAGEHLP_H +#define __WINE_IMAGEHLP_H + +#include + +/* A set of documentation macros (see also dbghelp.h) */ +#ifndef __deref_out +# define __deref_out +#endif +#ifndef __deref_out_opt +# define __deref_out_opt +#endif +#ifndef __deref_opt_out +# define __deref_opt_out +#endif +#ifndef __in +# define __in +#endif +#ifndef __in_opt +# define __in_opt +#endif +#ifndef __in_bcount +# define __in_bcount(x) +#endif +#ifndef __in_bcount_opt +# define __in_bcount_opt(x) +#endif +#ifndef __in_ecount +# define __in_ecount(x) +#endif +#ifndef __inout +# define __inout +#endif +#ifndef __inout_opt +# define __inout_opt +#endif +#ifndef __inout_bcount +# define __inout_bcount(x) +#endif +#ifndef __inout_ecount +# define __inout_ecount(x) +#endif +#ifndef __out +# define __out +#endif +#ifndef __out_opt +# define __out_opt +#endif +#ifndef __out_bcount +# define __out_bcount(x) +#endif +#ifndef __out_bcount_opt +# define __out_bcount_opt(x) +#endif +#ifndef __out_ecount +# define __out_ecount(x) +#endif +#ifndef __out_ecount_opt +# define __out_ecount_opt(x) +#endif +#ifndef __out_xcount +# define __out_xcount(x) +#endif + + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#define IMAGEAPI WINAPI +#define DBHLPAPI IMAGEAPI + +#define API_VERSION_NUMBER 7 /* 7 is the default */ + +/*********************************************************************** + * Types + */ + +typedef PVOID DIGEST_HANDLE; + +/*********************************************************************** + * Enums/Defines + */ + +typedef enum _IMAGEHLP_STATUS_REASON { + BindOutOfMemory, + BindRvaToVaFailed, + BindNoRoomInImage, + BindImportModuleFailed, + BindImportProcedureFailed, + BindImportModule, + BindImportProcedure, + BindForwarder, + BindForwarderNOT, + BindImageModified, + BindExpandFileHeaders, + BindImageComplete, + BindMismatchedSymbols, + BindSymbolsNotUpdated +} IMAGEHLP_STATUS_REASON; + +#define BIND_NO_BOUND_IMPORTS 0x00000001 +#define BIND_NO_UPDATE 0x00000002 +#define BIND_ALL_IMAGES 0x00000004 +#define BIND_CACHE_IMPORT_DLLS 0x00000008 + +#define CERT_PE_IMAGE_DIGEST_DEBUG_INFO 0x01 +#define CERT_PE_IMAGE_DIGEST_RESOURCES 0x02 +#define CERT_PE_IMAGE_DIGEST_ALL_IMPORT_INFO 0x04 +#define CERT_PE_IMAGE_DIGEST_NON_PE_INFO 0x08 + +#define CERT_SECTION_TYPE_ANY 0xFF + +#define SPLITSYM_REMOVE_PRIVATE 0x00000001 +#define SPLITSYM_EXTRACT_ALL 0x00000002 +#define SPLITSYM_SYMBOLPATH_IS_SRC 0x00000004 + +#define FRAME_FPO 0 +#define FRAME_TRAP 1 +#define FRAME_TSS 2 +#define FRAME_NONFPO 3 + +#define CHECKSUM_SUCCESS 0 +#define CHECKSUM_OPEN_FAILURE 1 +#define CHECKSUM_MAP_FAILURE 2 +#define CHECKSUM_MAPVIEW_FAILURE 3 +#define CHECKSUM_UNICODE_FAILURE 4 + +typedef enum _ADDRESS_MODE { + AddrMode1616, + AddrMode1632, + AddrModeReal, + AddrModeFlat +} ADDRESS_MODE; + +#define SYMOPT_CASE_INSENSITIVE 0x00000001 +#define SYMOPT_UNDNAME 0x00000002 +#define SYMOPT_DEFERRED_LOADS 0x00000004 +#define SYMOPT_NO_CPP 0x00000008 +#define SYMOPT_LOAD_LINES 0x00000010 +#define SYMOPT_OMAP_FIND_NEAREST 0x00000020 + +#define SYMF_OMAP_GENERATED 0x00000001 +#define SYMF_OMAP_MODIFIED 0x00000002 +/* 0x00000004 has been obsoleted */ +#define SYMF_REGISTER 0x00000008 +#define SYMF_REGREL 0x00000010 +#define SYMF_FRAMEREL 0x00000020 +#define SYMF_PARAMETER 0x00000040 +#define SYMF_LOCAL 0x00000080 +#define SYMF_CONSTANT 0x00000100 +#define SYMF_EXPORT 0x00000200 +#define SYMF_FORWARDER 0x00000400 +#define SYMF_FUNCTION 0x00000800 + +typedef enum { + SymNone, + SymCoff, + SymCv, + SymPdb, + SymExport, + SymDeferred, + SymSym, + SymDia, + SymVirtual, + NumSymTypes +} SYM_TYPE; + +#define UNDNAME_COMPLETE 0x0000 +#define UNDNAME_NO_LEADING_UNDERSCORES 0x0001 +#define UNDNAME_NO_MS_KEYWORDS 0x0002 +#define UNDNAME_NO_FUNCTION_RETURNS 0x0004 +#define UNDNAME_NO_ALLOCATION_MODEL 0x0008 +#define UNDNAME_NO_ALLOCATION_LANGUAGE 0x0010 +#define UNDNAME_NO_MS_THISTYPE 0x0020 +#define UNDNAME_NO_CV_THISTYPE 0x0040 +#define UNDNAME_NO_THISTYPE 0x0060 +#define UNDNAME_NO_ACCESS_SPECIFIERS 0x0080 +#define UNDNAME_NO_THROW_SIGNATURES 0x0100 +#define UNDNAME_NO_MEMBER_TYPE 0x0200 +#define UNDNAME_NO_RETURN_UDT_MODEL 0x0400 +#define UNDNAME_32_BIT_DECODE 0x0800 +#define UNDNAME_NAME_ONLY 0x1000 +#define UNDNAME_NO_ARGUMENTS 0x2000 +#define UNDNAME_NO_SPECIAL_SYMS 0x4000 + +#define CBA_DEFERRED_SYMBOL_LOAD_START 0x00000001 +#define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE 0x00000002 +#define CBA_DEFERRED_SYMBOL_LOAD_FAILURE 0x00000003 +#define CBA_SYMBOLS_UNLOADED 0x00000004 +#define CBA_DUPLICATE_SYMBOL 0x00000005 + +/*********************************************************************** + * Structures + */ + +typedef struct _LOADED_IMAGE +{ + PSTR ModuleName; + HANDLE hFile; + PUCHAR MappedAddress; + PIMAGE_NT_HEADERS FileHeader; + PIMAGE_SECTION_HEADER LastRvaSection; + ULONG NumberOfSections; + PIMAGE_SECTION_HEADER Sections; + ULONG Characteristics; + BOOLEAN fSystemImage; + BOOLEAN fDOSImage; + BOOLEAN fReadOnly; + UCHAR Version; + LIST_ENTRY Links; + ULONG SizeOfImage; +} LOADED_IMAGE, *PLOADED_IMAGE; + +typedef struct _API_VERSION { + USHORT MajorVersion; + USHORT MinorVersion; + USHORT Revision; + USHORT Reserved; +} API_VERSION, *LPAPI_VERSION; + +typedef struct _IMAGE_DEBUG_INFORMATION { + LIST_ENTRY List; + DWORD Size; + PVOID MappedBase; + USHORT Machine; + USHORT Characteristics; + DWORD CheckSum; + DWORD ImageBase; + DWORD SizeOfImage; + + DWORD NumberOfSections; + PIMAGE_SECTION_HEADER Sections; + + DWORD ExportedNamesSize; + PSTR ExportedNames; + + DWORD NumberOfFunctionTableEntries; + PIMAGE_FUNCTION_ENTRY FunctionTableEntries; + DWORD LowestFunctionStartingAddress; + DWORD HighestFunctionEndingAddress; + + DWORD NumberOfFpoTableEntries; + PFPO_DATA FpoTableEntries; + + DWORD SizeOfCoffSymbols; + PIMAGE_COFF_SYMBOLS_HEADER CoffSymbols; + + DWORD SizeOfCodeViewSymbols; + PVOID CodeViewSymbols; + + PSTR ImageFilePath; + PSTR ImageFileName; + PSTR DebugFilePath; + + DWORD TimeDateStamp; + + BOOL RomImage; + PIMAGE_DEBUG_DIRECTORY DebugDirectory; + DWORD NumberOfDebugDirectories; + + DWORD Reserved[3]; +} IMAGE_DEBUG_INFORMATION, *PIMAGE_DEBUG_INFORMATION; + +typedef struct _ADDRESS { + DWORD Offset; + WORD Segment; + ADDRESS_MODE Mode; +} ADDRESS, *LPADDRESS; + +typedef struct _ADDRESS64 { + DWORD64 Offset; + WORD Segment; + ADDRESS_MODE Mode; +} ADDRESS64, *LPADDRESS64; + +typedef struct _KDHELP { + DWORD Thread; + DWORD ThCallbackStack; + DWORD NextCallback; + DWORD FramePointer; + DWORD KiCallUserMode; + DWORD KeUserCallbackDispatcher; + DWORD SystemRangeStart; +} KDHELP, *PKDHELP; + +typedef struct _KDHELP64 { + DWORD64 Thread; + DWORD ThCallbackStack; + DWORD ThCallbackBStore; + DWORD NextCallback; + DWORD FramePointer; + DWORD64 KiCallUserMode; + DWORD64 KeUserCallbackDispatcher; + DWORD64 SystemRangeStart; + DWORD64 Reserved[8]; +} KDHELP64, *PKDHELP64; + +typedef struct _STACKFRAME { + ADDRESS AddrPC; + ADDRESS AddrReturn; + ADDRESS AddrFrame; + ADDRESS AddrStack; + PVOID FuncTableEntry; + DWORD Params[4]; + BOOL Far; + BOOL Virtual; + DWORD Reserved[3]; + KDHELP KdHelp; +} STACKFRAME, *LPSTACKFRAME; + +typedef struct _STACKFRAME64 { + ADDRESS64 AddrPC; + ADDRESS64 AddrReturn; + ADDRESS64 AddrFrame; + ADDRESS64 AddrStack; + ADDRESS64 AddrBStore; + PVOID FuncTableEntry; + DWORD64 Params[4]; + BOOL Far; + BOOL Virtual; + DWORD64 Reserved[3]; + KDHELP64 KdHelp; +} STACKFRAME64, *LPSTACKFRAME64; + +typedef struct _SOURCEFILE { + DWORD64 ModBase; + PCHAR FileName; +} SOURCEFILE, *PSOURCEFILE; + +typedef struct _SOURCEFILEW +{ + DWORD64 ModBase; + PWSTR FileName; +} SOURCEFILEW, *PSOURCEFILEW; + +typedef struct _IMAGEHLP_STACK_FRAME +{ + DWORD InstructionOffset; + DWORD ReturnOffset; + DWORD FrameOffset; + DWORD StackOffset; + DWORD BackingStoreOffset; + DWORD FuncTableEntry; + DWORD Params[4]; + DWORD Reserved[5]; + DWORD Virtual; + DWORD Reserved2; +} IMAGEHLP_STACK_FRAME, *PIMAGEHLP_STACK_FRAME; + +typedef VOID IMAGEHLP_CONTEXT, *PIMAGEHLP_CONTEXT; + +typedef struct _IMAGEHLP_SYMBOL { + DWORD SizeOfStruct; + DWORD Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + CHAR Name[ANYSIZE_ARRAY]; +} IMAGEHLP_SYMBOL, *PIMAGEHLP_SYMBOL; + +typedef struct _IMAGEHLP_SYMBOLW { + DWORD SizeOfStruct; + DWORD Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + WCHAR Name[ANYSIZE_ARRAY]; +} IMAGEHLP_SYMBOLW, *PIMAGEHLP_SYMBOLW; + +typedef struct _IMAGEHLP_SYMBOL64 +{ + DWORD SizeOfStruct; + DWORD64 Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + CHAR Name[1]; +} IMAGEHLP_SYMBOL64, *PIMAGEHLP_SYMBOL64; + +typedef struct _IMAGEHLP_SYMBOLW64 +{ + DWORD SizeOfStruct; + DWORD64 Address; + DWORD Size; + DWORD Flags; + DWORD MaxNameLength; + WCHAR Name[1]; +} IMAGEHLP_SYMBOLW64, *PIMAGEHLP_SYMBOLW64; + +typedef struct _IMAGEHLP_MODULE { + DWORD SizeOfStruct; + DWORD BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + CHAR ModuleName[32]; + CHAR ImageName[256]; + CHAR LoadedImageName[256]; +} IMAGEHLP_MODULE, *PIMAGEHLP_MODULE; + +typedef struct _IMAGEHLP_MODULEW { + DWORD SizeOfStruct; + DWORD BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + WCHAR ModuleName[32]; + WCHAR ImageName[256]; + WCHAR LoadedImageName[256]; +} IMAGEHLP_MODULEW, *PIMAGEHLP_MODULEW; + +typedef struct _IMAGEHLP_MODULE64 +{ + DWORD SizeOfStruct; + DWORD64 BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + CHAR ModuleName[32]; + CHAR ImageName[256]; + CHAR LoadedImageName[256]; + CHAR LoadedPdbName[256]; + DWORD CVSig; + CHAR CVData[MAX_PATH*3]; + DWORD PdbSig; + GUID PdbSig70; + DWORD PdbAge; + BOOL PdbUnmatched; + BOOL DbgUnmatched; + BOOL LineNumbers; + BOOL GlobalSymbols; + BOOL TypeInfo; + BOOL SourceIndexed; + BOOL Publics; +} IMAGEHLP_MODULE64, *PIMAGEHLP_MODULE64; + +typedef struct _IMAGEHLP_MODULEW64 +{ + DWORD SizeOfStruct; + DWORD64 BaseOfImage; + DWORD ImageSize; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD NumSyms; + SYM_TYPE SymType; + WCHAR ModuleName[32]; + WCHAR ImageName[256]; + WCHAR LoadedImageName[256]; + WCHAR LoadedPdbName[256]; + DWORD CVSig; + WCHAR CVData[MAX_PATH*3]; + DWORD PdbSig; + GUID PdbSig70; + DWORD PdbAge; + BOOL PdbUnmatched; + BOOL DbgUnmatched; + BOOL LineNumbers; + BOOL GlobalSymbols; + BOOL TypeInfo; + BOOL SourceIndexed; + BOOL Publics; +} IMAGEHLP_MODULEW64, *PIMAGEHLP_MODULEW64; + +typedef struct _IMAGEHLP_LINE { + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PCHAR FileName; + DWORD Address; +} IMAGEHLP_LINE, *PIMAGEHLP_LINE; + +typedef struct _IMAGEHLP_LINEW { + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PWSTR FileName; + DWORD Address; +} IMAGEHLP_LINEW, *PIMAGEHLP_LINEW; + +typedef struct _IMAGEHLP_LINE64 { + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PCHAR FileName; + DWORD64 Address; +} IMAGEHLP_LINE64, *PIMAGEHLP_LINE64; + +typedef struct _IMAGEHLP_LINEW64 { + DWORD SizeOfStruct; + PVOID Key; + DWORD LineNumber; + PWSTR FileName; + DWORD64 Address; +} IMAGEHLP_LINEW64, *PIMAGEHLP_LINEW64; + +typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD { + DWORD SizeOfStruct; + DWORD BaseOfImage; + DWORD CheckSum; + DWORD TimeDateStamp; + CHAR FileName[MAX_PATH]; + BOOLEAN Reparse; +} IMAGEHLP_DEFERRED_SYMBOL_LOAD, *PIMAGEHLP_DEFERRED_SYMBOL_LOAD; + +typedef struct _IMAGEHLP_DUPLICATE_SYMBOL { + DWORD SizeOfStruct; + DWORD NumberOfDups; + PIMAGEHLP_SYMBOL Symbol; + ULONG SelectedSymbol; +} IMAGEHLP_DUPLICATE_SYMBOL, *PIMAGEHLP_DUPLICATE_SYMBOL; + +typedef enum _IMAGEHLP_SYMBOL_TYPE_INFO +{ + TI_GET_SYMTAG, + TI_GET_SYMNAME, + TI_GET_LENGTH, + TI_GET_TYPE, + TI_GET_TYPEID, + TI_GET_BASETYPE, + TI_GET_ARRAYINDEXTYPEID, + TI_FINDCHILDREN, + TI_GET_DATAKIND, + TI_GET_ADDRESSOFFSET, + TI_GET_OFFSET, + TI_GET_VALUE, + TI_GET_COUNT, + TI_GET_CHILDRENCOUNT, + TI_GET_BITPOSITION, + TI_GET_VIRTUALBASECLASS, + TI_GET_VIRTUALTABLESHAPEID, + TI_GET_VIRTUALBASEPOINTEROFFSET, + TI_GET_CLASSPARENTID, + TI_GET_NESTED, + TI_GET_SYMINDEX, + TI_GET_LEXICALPARENT, + TI_GET_ADDRESS, + TI_GET_THISADJUST, + TI_GET_UDTKIND, + TI_IS_EQUIV_TO, + TI_GET_CALLING_CONVENTION, +} IMAGEHLP_SYMBOL_TYPE_INFO; + +#define IMAGEHLP_GET_TYPE_INFO_UNCACHED 0x00000001 +#define IMAGEHLP_GET_TYPE_INFO_CHILDREN 0x00000002 +typedef struct _IMAGEHLP_GET_TYPE_INFO_PARAMS +{ + ULONG SizeOfStruct; + ULONG Flags; + ULONG NumIds; + PULONG TypeIds; + ULONG64 TagFilter; + ULONG NumReqs; + IMAGEHLP_SYMBOL_TYPE_INFO* ReqKinds; + PULONG_PTR ReqOffsets; + PULONG ReqSizes; + ULONG_PTR ReqStride; + ULONG_PTR BufferSize; + PVOID Buffer; + ULONG EntriesMatched; + ULONG EntriesFilled; + ULONG64 TagsFound; + ULONG64 AllReqsValid; + ULONG NumReqsValid; + PULONG64 ReqsValid; +} IMAGEHLP_GET_TYPE_INFO_PARAMS, *PIMAGEHLP_GET_TYPE_INFO_PARAMS; + +#define IMAGEHLP_SYMBOL_INFO_VALUEPRESENT 1 +#define IMAGEHLP_SYMBOL_INFO_REGISTER SYMF_REGISTER +#define IMAGEHLP_SYMBOL_INFO_REGRELATIVE SYMF_REGREL +#define IMAGEHLP_SYMBOL_INFO_FRAMERELATIVE SYMF_FRAMEREL +#define IMAGEHLP_SYMBOL_INFO_PARAMETER SYMF_PARAMETER +#define IMAGEHLP_SYMBOL_INFO_LOCAL SYMF_LOCAL +#define IMAGEHLP_SYMBOL_INFO_CONSTANT SYMF_CONSTANT +#define IMAGEHLP_SYMBOL_FUNCTION SYMF_FUNCTION + +#define MAX_SYM_NAME 2000 + +typedef struct _SYMBOL_INFO { + ULONG SizeOfStruct; + ULONG TypeIndex; + ULONG64 Reserved[2]; + ULONG info; + ULONG Size; + ULONG64 ModBase; + ULONG Flags; + ULONG64 Value; + ULONG64 Address; + ULONG Register; + ULONG Scope; + ULONG Tag; + ULONG NameLen; + ULONG MaxNameLen; + CHAR Name[1]; +} SYMBOL_INFO, *PSYMBOL_INFO; + +typedef struct _SYMBOL_INFOW +{ + ULONG SizeOfStruct; + ULONG TypeIndex; + ULONG64 Reserved[2]; + ULONG Index; + ULONG Size; + ULONG64 ModBase; + ULONG Flags; + ULONG64 Value; + ULONG64 Address; + ULONG Register; + ULONG Scope; + ULONG Tag; + ULONG NameLen; + ULONG MaxNameLen; + WCHAR Name[1]; +} SYMBOL_INFOW, *PSYMBOL_INFOW; + +typedef struct _SYMBOL_INFO_PACKAGE +{ + SYMBOL_INFO si; + CHAR name[MAX_SYM_NAME+1]; +} SYMBOL_INFO_PACKAGE, *PSYMBOL_INFO_PACKAGE; + +typedef struct _SYMBOL_INFO_PACKAGEW +{ + SYMBOL_INFOW si; + WCHAR name[MAX_SYM_NAME+1]; +} SYMBOL_INFO_PACKAGEW, *PSYMBOL_INFO_PACKAGEW; + +#define DBHHEADER_DEBUGDIRS 0x1 +typedef struct _MODLOAD_DATA +{ + DWORD ssize; + DWORD ssig; + PVOID data; + DWORD size; + DWORD flags; +} MODLOAD_DATA, *PMODLOAD_DATA; + +typedef struct _SRCCODEINFO +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD64 ModBase; + CHAR Obj[MAX_PATH+1]; + CHAR FileName[MAX_PATH+1]; + DWORD LineNumber; + DWORD64 Address; +} SRCCODEINFO, *PSRCCODEINFO; + +typedef struct _SRCCODEINFOW +{ + DWORD SizeOfStruct; + PVOID Key; + DWORD64 ModBase; + WCHAR Obj[MAX_PATH+1]; + WCHAR FileName[MAX_PATH+1]; + DWORD LineNumber; + DWORD64 Address; +} SRCCODEINFOW, *PSRCCODEINFOW; + +/*********************************************************************** + * Callbacks + */ + +typedef BOOL (CALLBACK *PENUMDIRTREE_CALLBACK)( + PCSTR, PVOID +); +typedef BOOL (CALLBACK *PENUMDIRTREE_CALLBACKW)( + PCWSTR, PVOID +); + +typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK)( + PCSTR ModuleName, ULONG ModuleBase, ULONG ModuleSize, + PVOID UserContext +); +typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK64)( + PCSTR, DWORD64, ULONG, PVOID +); +typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACKW64)( + PCWSTR, DWORD64, ULONG, PVOID +); + +typedef BOOL (CALLBACK *PFIND_DEBUG_FILE_CALLBACK)( + HANDLE, PCSTR, PVOID +); +typedef BOOL (CALLBACK *PFIND_DEBUG_FILE_CALLBACKW)( + HANDLE, PCWSTR, PVOID +); + +typedef BOOL (CALLBACK *PFIND_EXE_FILE_CALLBACK)( + HANDLE, PCSTR, PVOID +); +typedef BOOL (CALLBACK *PFIND_EXE_FILE_CALLBACKW)( + HANDLE, PCWSTR, PVOID +); + +typedef BOOL (CALLBACK *PFINDFILEINPATHCALLBACK)( + PCSTR, PVOID +); +typedef BOOL (CALLBACK *PFINDFILEINPATHCALLBACKW)( + PCWSTR, PVOID +); + +typedef BOOL (CALLBACK *PIMAGEHLP_STATUS_ROUTINE)( + IMAGEHLP_STATUS_REASON Reason, PCSTR ImageName, PCSTR DllName, + ULONG_PTR Va, ULONG_PTR Parameter +); +typedef BOOL (CALLBACK *PIMAGEHLP_STATUS_ROUTINE32)( + IMAGEHLP_STATUS_REASON Reason, PCSTR ImageName, PCSTR DllName, + ULONG Va, ULONG_PTR Parameter +); +typedef BOOL (CALLBACK *PIMAGEHLP_STATUS_ROUTINE64)( + IMAGEHLP_STATUS_REASON Reason, PCSTR ImageName, PCSTR DllName, + ULONG64 Va, ULONG_PTR Parameter +); + +typedef BOOL (CALLBACK *PSYM_ENUMERATESYMBOLS_CALLBACK)( + PSYMBOL_INFO pSymInfo, ULONG SymbolSize, PVOID UserContext +); +typedef BOOL (CALLBACK *PSYM_ENUMERATESYMBOLS_CALLBACKW)( + PSYMBOL_INFOW pSymInfo, ULONG SymbolSize, PVOID UserContext +); + +typedef BOOL (CALLBACK* PSYM_ENUMLINES_CALLBACK)( + PSRCCODEINFO, PVOID +); +typedef BOOL (CALLBACK* PSYM_ENUMLINES_CALLBACKW)( + PSRCCODEINFOW, PVOID +); + +typedef BOOL (CALLBACK *PSYM_ENUMSOURCEFILES_CALLBACK)( + PSOURCEFILE pSourceFile, PVOID UserContext +); +typedef BOOL (CALLBACK *PSYM_ENUMSOURCEFILES_CALLBACKW)( + PSOURCEFILEW pSourceFile, PVOID UserContext +); + +typedef BOOL (CALLBACK *PSYM_ENUMMODULES_CALLBACK)( + PCSTR ModuleName, ULONG BaseOfDll, PVOID UserContext +); +typedef BOOL (CALLBACK *PSYM_ENUMMODULES_CALLBACK64)( + PCSTR, DWORD64, PVOID +); +typedef BOOL (CALLBACK *PSYM_ENUMMODULES_CALLBACKW64)( + PCWSTR, DWORD64, PVOID +); + +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACK)( + PCSTR, ULONG, ULONG, PVOID +); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACKW)( + PCWSTR, ULONG, ULONG, PVOID +); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACK64)( + PCSTR, DWORD64, ULONG, PVOID +); +typedef BOOL (CALLBACK *PSYM_ENUMSYMBOLS_CALLBACK64W)( + PCWSTR, DWORD64, ULONG, PVOID +); + +typedef PVOID (CALLBACK *PSYMBOL_FUNCENTRY_CALLBACK)( + HANDLE, DWORD, PVOID +); +typedef PVOID (CALLBACK *PSYMBOL_FUNCENTRY_CALLBACK64)( + HANDLE, ULONG64, ULONG64 +); + +typedef BOOL (CALLBACK *PSYMBOL_REGISTERED_CALLBACK)( + HANDLE hProcess, ULONG ActionCode, PVOID CallbackData, + PVOID UserContext +); +typedef BOOL (CALLBACK *PSYMBOL_REGISTERED_CALLBACK64)( + HANDLE, ULONG, ULONG64, ULONG64 +); + +typedef BOOL (CALLBACK *DIGEST_FUNCTION)( + DIGEST_HANDLE refdata, PBYTE pData, DWORD dwLength +); + +typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE)( + HANDLE hProcess, DWORD lpBaseAddress, PVOID lpBuffer, + DWORD nSize, PDWORD lpNumberOfBytesRead +); + +typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE64)( + HANDLE hProcess, DWORD64 lpBaseAddress, PVOID lpBuffer, + DWORD nSize, LPDWORD lpNumberOfBytesRead +); + +typedef PVOID (CALLBACK *PFUNCTION_TABLE_ACCESS_ROUTINE)( + HANDLE hProcess, DWORD AddrBase +); + +typedef PVOID (CALLBACK *PFUNCTION_TABLE_ACCESS_ROUTINE64)( + HANDLE hProcess, DWORD64 AddrBase +); + +typedef DWORD (CALLBACK *PGET_MODULE_BASE_ROUTINE)( + HANDLE hProcess, DWORD ReturnAddress); + +typedef DWORD (CALLBACK *PGET_MODULE_BASE_ROUTINE64)( + HANDLE hProcess, DWORD64 ReturnAddress); + +typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE)( + HANDLE hProcess, HANDLE hThread, LPADDRESS lpaddr +); + +typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE64)( + HANDLE hProcess, HANDLE hThread, LPADDRESS64 lpaddr +); + + +/*********************************************************************** + * Functions + */ + +BOOL WINAPI BindImage( + PCSTR ImageName, PCSTR DllPath, PCSTR SymbolPath +); +BOOL WINAPI BindImageEx( + DWORD Flags, PCSTR ImageName, PCSTR DllPath, PCSTR SymbolPath, + PIMAGEHLP_STATUS_ROUTINE StatusRoutine +); +PIMAGE_NT_HEADERS WINAPI CheckSumMappedFile( + LPVOID BaseAddress, DWORD FileLength, + LPDWORD HeaderSum, LPDWORD CheckSum +); +BOOL WINAPI EnumDirTree( + HANDLE, PCSTR, PCSTR, PSTR, PENUMDIRTREE_CALLBACK, PVOID +); +BOOL WINAPI EnumDirTreeW( + HANDLE, PCWSTR, PCWSTR, PWSTR, PENUMDIRTREE_CALLBACKW, PVOID +); +BOOL WINAPI EnumerateLoadedModules( + HANDLE hProcess, + PENUMLOADED_MODULES_CALLBACK EnumLoadedModulesCallback, + PVOID UserContext +); +BOOL WINAPI EnumerateLoadedModules64( + HANDLE, PENUMLOADED_MODULES_CALLBACK64, PVOID +); +BOOL WINAPI EnumerateLoadedModulesW64( + HANDLE, PENUMLOADED_MODULES_CALLBACKW64, PVOID +); +HANDLE WINAPI FindDebugInfoFile( + PCSTR FileName, PCSTR SymbolPath, PSTR DebugFilePath +); +HANDLE WINAPI FindDebugInfoFileEx( + PCSTR, PCSTR, PSTR, PFIND_DEBUG_FILE_CALLBACK, PVOID +); +HANDLE WINAPI FindDebugInfoFileExW( + PCWSTR, PCWSTR, PWSTR, PFIND_DEBUG_FILE_CALLBACKW, PVOID +); +HANDLE WINAPI FindExecutableImage( + PCSTR, PCSTR, PSTR +); +HANDLE WINAPI FindExecutableImageEx( + PCSTR, PCSTR, PSTR, PFIND_EXE_FILE_CALLBACK, PVOID +); +HANDLE WINAPI FindExecutableImageExW( + PCWSTR, PCWSTR, PWSTR, PFIND_EXE_FILE_CALLBACKW, PVOID +); +BOOL WINAPI FindFileInPath( + HANDLE, PCSTR, PCSTR, PVOID, DWORD, DWORD, DWORD, + PSTR, PFINDFILEINPATHCALLBACK, PVOID +); +BOOL WINAPI GetImageConfigInformation( + PLOADED_IMAGE LoadedImage, + PIMAGE_LOAD_CONFIG_DIRECTORY ImageConfigInformation +); +DWORD WINAPI GetImageUnusedHeaderBytes( + PLOADED_IMAGE LoadedImage, + LPDWORD SizeUnusedHeaderBytes +); +DWORD WINAPI GetTimestampForLoadedLibrary( + HMODULE Module +); +BOOL WINAPI ImageAddCertificate( + HANDLE FileHandle, LPWIN_CERTIFICATE Certificate, PDWORD Index +); +PVOID WINAPI ImageDirectoryEntryToData( + PVOID Base, BOOLEAN MappedAsImage, USHORT DirectoryEntry, PULONG Size +); +BOOL WINAPI ImageEnumerateCertificates( + HANDLE FileHandle, WORD TypeFilter, PDWORD CertificateCount, + PDWORD Indices, DWORD IndexCount +); +BOOL WINAPI ImageGetCertificateData( + HANDLE FileHandle, DWORD CertificateIndex, + LPWIN_CERTIFICATE Certificate, PDWORD RequiredLength +); +BOOL WINAPI ImageGetCertificateHeader( + HANDLE FileHandle, DWORD CertificateIndex, + LPWIN_CERTIFICATE Certificateheader +); +BOOL WINAPI ImageGetDigestStream( + HANDLE FileHandle, DWORD DigestLevel, + DIGEST_FUNCTION DigestFunction, DIGEST_HANDLE DigestHandle +); +PLOADED_IMAGE WINAPI ImageLoad( + PCSTR DllName, PCSTR DllPath +); +PIMAGE_NT_HEADERS WINAPI ImageNtHeader( + PVOID Base +); +BOOL WINAPI ImageRemoveCertificate( + HANDLE FileHandle, DWORD Index +); +PIMAGE_SECTION_HEADER WINAPI ImageRvaToSection( + PIMAGE_NT_HEADERS NtHeaders, PVOID Base, ULONG Rva +); +PVOID WINAPI ImageRvaToVa( + PIMAGE_NT_HEADERS NtHeaders, PVOID Base, ULONG Rva, + PIMAGE_SECTION_HEADER *LastRvaSection +); +BOOL WINAPI ImageUnload( + PLOADED_IMAGE LoadedImage +); +LPAPI_VERSION WINAPI ImagehlpApiVersion( + void +); +LPAPI_VERSION WINAPI ImagehlpApiVersionEx( + LPAPI_VERSION AppVersion +); +BOOL WINAPI MakeSureDirectoryPathExists( + PCSTR DirPath +); +BOOL WINAPI MapAndLoad( + PCSTR ImageName, PCSTR DllPath, PLOADED_IMAGE LoadedImage, + BOOL DotDll, BOOL ReadOnly +); +PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation( + HANDLE FileHandle, PCSTR FileName, + PCSTR SymbolPath, ULONG ImageBase +); +DWORD WINAPI MapFileAndCheckSumA( + PCSTR Filename, PDWORD HeaderSum, PDWORD CheckSum +); +DWORD WINAPI MapFileAndCheckSumW( + PCWSTR Filename, PDWORD HeaderSum, PDWORD CheckSum +); +BOOL WINAPI ReBaseImage( + PCSTR CurrentImageName, PCSTR SymbolPath, BOOL fReBase, + BOOL fRebaseSysfileOk, BOOL fGoingDown, ULONG CheckImageSize, + ULONG *OldImageSize, ULONG_PTR *OldImageBase, ULONG *NewImageSize, + ULONG_PTR *NewImageBase, ULONG TimeStamp +); +BOOL WINAPI ReBaseImage64( + PCSTR CurrentImageName, PCSTR SymbolPath, BOOL fReBase, + BOOL fRebaseSysfileOk, BOOL fGoingDown, ULONG CheckImageSize, + ULONG *OldImageSize, ULONG64 *OldImageBase, ULONG *NewImageSize, + ULONG64 *NewImageBase, ULONG TimeStamp +); +BOOL WINAPI RemovePrivateCvSymbolic( + PCHAR DebugData, PCHAR *NewDebugData, ULONG *NewDebugSize +); +BOOL WINAPI SearchTreeForFile( + PCSTR RootPath, PCSTR InputPathName, PSTR OutputPathBuffer +); +BOOL WINAPI SearchTreeForFileW( + PCWSTR RootPath, PCWSTR InputPathName, PWSTR OutputPathBuffer +); +BOOL WINAPI SetImageConfigInformation( + PLOADED_IMAGE LoadedImage, + PIMAGE_LOAD_CONFIG_DIRECTORY ImageConfigInformation +); +BOOL WINAPI SplitSymbols( + PSTR ImageName, PCSTR SymbolsPath, + PSTR SymbolFilePath, ULONG Flags +); +BOOL WINAPI StackWalk( + DWORD MachineType, HANDLE hProcess, HANDLE hThread, + LPSTACKFRAME StackFrame, PVOID ContextRecord, + PREAD_PROCESS_MEMORY_ROUTINE ReadMemoryRoutine, + PFUNCTION_TABLE_ACCESS_ROUTINE FunctionTableAccessRoutine, + PGET_MODULE_BASE_ROUTINE GetModuleBaseRoutine, + PTRANSLATE_ADDRESS_ROUTINE TranslateAddress +); +BOOL WINAPI StackWalk64( + DWORD MachineType, HANDLE hProcess, HANDLE hThread, + LPSTACKFRAME64 StackFrame, PVOID ContextRecord, + PREAD_PROCESS_MEMORY_ROUTINE64 ReadMemoryRoutine, + PFUNCTION_TABLE_ACCESS_ROUTINE64 FunctionTableAccessRoutine, + PGET_MODULE_BASE_ROUTINE64 GetModuleBaseRoutine, + PTRANSLATE_ADDRESS_ROUTINE64 TranslateAddress +); +BOOL WINAPI SymAddSymbol( + HANDLE, ULONG64, PCSTR, DWORD64, DWORD, DWORD +); +BOOL WINAPI SymAddSymbolW( + HANDLE, ULONG64, PCWSTR, DWORD64, DWORD, DWORD +); +BOOL WINAPI SymCleanup( + HANDLE hProcess +); +BOOL WINAPI SymDeleteSymbol( + HANDLE, ULONG64, PCSTR, DWORD64, DWORD +); +BOOL WINAPI SymDeleteSymbolW( + HANDLE, ULONG64, PCWSTR, DWORD64, DWORD +); +BOOL WINAPI SymEnumerateModules( + HANDLE hProcess, PSYM_ENUMMODULES_CALLBACK EnumModulesCallback, + PVOID UserContext +); +BOOL WINAPI SymEnumerateModules64( + HANDLE, PSYM_ENUMMODULES_CALLBACK64, PVOID +); +BOOL WINAPI SymEnumerateModulesW64( + HANDLE, PSYM_ENUMMODULES_CALLBACKW64, PVOID +); +BOOL WINAPI SymEnumerateSymbols( + HANDLE hProcess, DWORD BaseOfDll, + PSYM_ENUMSYMBOLS_CALLBACK EnumSymbolsCallback, PVOID UserContext +); +BOOL WINAPI SymEnumerateSymbolsW( + HANDLE hProcess, DWORD BaseOfDll, + PSYM_ENUMSYMBOLS_CALLBACKW EnumSymbolsCallback, PVOID UserContext +); +BOOL WINAPI SymEnumerateSymbols64( + HANDLE, ULONG64, PSYM_ENUMSYMBOLS_CALLBACK64, PVOID +); +BOOL WINAPI SymEnumerateSymbolsW64( + HANDLE, ULONG64, PSYM_ENUMSYMBOLS_CALLBACK64W, PVOID +); +BOOL WINAPI SymEnumLines( + HANDLE, ULONG64, PCSTR, PCSTR, PSYM_ENUMLINES_CALLBACK, PVOID +); +BOOL WINAPI SymEnumLinesW( + HANDLE, ULONG64, PCWSTR, PCWSTR, PSYM_ENUMLINES_CALLBACKW, PVOID +); +BOOL WINAPI SymEnumSourceFiles( + HANDLE hProcess, ULONG64 ModBase, PCSTR Mask, + PSYM_ENUMSOURCEFILES_CALLBACK cbSrcFiles, PVOID UserContext +); +BOOL WINAPI SymEnumSourceFilesW( + HANDLE hProcess, ULONG64 ModBase, PCWSTR Mask, + PSYM_ENUMSOURCEFILES_CALLBACKW cbSrcFiles, PVOID UserContext +); +BOOL WINAPI SymEnumSourceLines( + HANDLE, ULONG64, PCSTR, PCSTR, DWORD, DWORD, PSYM_ENUMLINES_CALLBACK, PVOID +); +BOOL WINAPI SymEnumSourceLinesW( + HANDLE, ULONG64, PCWSTR, PCWSTR, DWORD, DWORD, PSYM_ENUMLINES_CALLBACKW, PVOID +); +BOOL WINAPI SymEnumSymbols( + HANDLE hProcess, DWORD BaseOfDll, PCSTR Mask, + PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback, PVOID UserContext +); +BOOL WINAPI SymEnumSymbolsW( + HANDLE hProcess, DWORD BaseOfDll, PCWSTR Mask, + PSYM_ENUMERATESYMBOLS_CALLBACKW EnumSymbolsCallback, PVOID UserContext +); +BOOL WINAPI SymEnumSymbolsForAddr( + HANDLE, DWORD64, PSYM_ENUMERATESYMBOLS_CALLBACK, PVOID +); +BOOL WINAPI SymEnumSymbolsForAddrW( + HANDLE, DWORD64, PSYM_ENUMERATESYMBOLS_CALLBACKW, PVOID +); +BOOL WINAPI SymEnumTypes( + HANDLE, ULONG64, PSYM_ENUMERATESYMBOLS_CALLBACK, PVOID +); +BOOL WINAPI SymEnumTypesW( + HANDLE, ULONG64, PSYM_ENUMERATESYMBOLS_CALLBACKW, PVOID +); +HANDLE WINAPI SymFindExecutableImage( + HANDLE, PCSTR, PSTR, PFIND_EXE_FILE_CALLBACK, PVOID +); +HANDLE WINAPI SymFindExecutableImageW( + HANDLE, PCWSTR, PWSTR, PFIND_EXE_FILE_CALLBACKW, PVOID +); +BOOL WINAPI SymFindFileInPath( + HANDLE, PCSTR, PCSTR, PVOID, DWORD, DWORD, DWORD, + PSTR, PFINDFILEINPATHCALLBACK, PVOID +); +BOOL WINAPI SymFindFileInPathW( + HANDLE, PCWSTR, PCWSTR, PVOID, DWORD, DWORD, DWORD, + PWSTR, PFINDFILEINPATHCALLBACKW, PVOID +); +BOOL WINAPI SymFromAddr( + HANDLE, DWORD64, DWORD64*, SYMBOL_INFO* +); +BOOL WINAPI SymFromAddrW( + HANDLE, DWORD64, DWORD64*, SYMBOL_INFOW* +); +BOOL WINAPI SymFromIndex( + HANDLE, ULONG64, DWORD, PSYMBOL_INFO +); +BOOL WINAPI SymFromIndexW( + HANDLE, ULONG64, DWORD, PSYMBOL_INFOW +); +BOOL WINAPI SymFromName( + HANDLE, PCSTR, PSYMBOL_INFO +); +BOOL WINAPI SymFromNameW( + HANDLE, PCWSTR, PSYMBOL_INFOW +); +BOOL WINAPI SymFromToken( + HANDLE, DWORD64, DWORD, PSYMBOL_INFO +); +BOOL WINAPI SymFromTokenW( + HANDLE, DWORD64, DWORD, PSYMBOL_INFOW +); +PVOID WINAPI SymFunctionTableAccess( + HANDLE hProcess, DWORD AddrBase +); +PVOID WINAPI SymFunctionTableAccess64( + HANDLE hProcess, DWORD64 AddrBase +); +ULONG WINAPI SymGetFileLineOffsets64( + HANDLE, PCSTR, PCSTR, PDWORD64, ULONG +); +PCHAR WINAPI SymGetHomeDirectory( + DWORD, PSTR, size_t +); +PWSTR WINAPI SymGetHomeDirectoryW( + DWORD, PWSTR, size_t +); +BOOL WINAPI SymGetLineFromAddr( + HANDLE, DWORD, PDWORD, PIMAGEHLP_LINE +); +BOOL WINAPI SymGetLineFromAddrW( + HANDLE, DWORD, PDWORD, PIMAGEHLP_LINEW +); +BOOL WINAPI SymGetLineFromAddr64( + HANDLE, DWORD64, PDWORD, PIMAGEHLP_LINE64 +); +BOOL WINAPI SymGetLineFromAddrW64( + HANDLE, DWORD64, PDWORD, PIMAGEHLP_LINEW64 +); +BOOL WINAPI SymGetLineFromName( + HANDLE, PCSTR, PCSTR, DWORD, PLONG, PIMAGEHLP_LINE +); +BOOL WINAPI SymGetLineFromName64( + HANDLE, PCSTR, PCSTR, DWORD, PLONG, PIMAGEHLP_LINE64 +); +BOOL WINAPI SymGetLineFromNameW64( + HANDLE, PCWSTR, PCWSTR, DWORD, PLONG, PIMAGEHLP_LINEW64 +); +BOOL WINAPI SymGetLineNext( + HANDLE, PIMAGEHLP_LINE +); +BOOL WINAPI SymGetLineNextW( + HANDLE, PIMAGEHLP_LINEW +); +BOOL WINAPI SymGetLineNext64( + HANDLE, PIMAGEHLP_LINE64 +); +BOOL WINAPI SymGetLineNextW64( + HANDLE, PIMAGEHLP_LINEW64 +); +BOOL WINAPI SymGetLinePrev( + HANDLE, PIMAGEHLP_LINE +); +BOOL WINAPI SymGetLinePrevW( + HANDLE, PIMAGEHLP_LINEW +); +BOOL WINAPI SymGetLinePrev64( + HANDLE, PIMAGEHLP_LINE64 +); +BOOL WINAPI SymGetLinePrevW64( + HANDLE, PIMAGEHLP_LINEW64 +); +DWORD WINAPI SymGetModuleBase( + HANDLE hProcess, DWORD dwAddr +); +BOOL WINAPI SymGetModuleInfo( + HANDLE hProcess, DWORD dwAddr, + PIMAGEHLP_MODULE ModuleInfo +); +BOOL WINAPI SymGetModuleInfoW( + HANDLE, DWORD, PIMAGEHLP_MODULEW +); +BOOL WINAPI SymGetModuleInfo64( + HANDLE, DWORD64, PIMAGEHLP_MODULE64 +); +BOOL WINAPI SymGetModuleInfoW64( + HANDLE, DWORD64, PIMAGEHLP_MODULEW64 +); +DWORD WINAPI SymGetOptions( + void +); +BOOL WINAPI SymGetScope( + HANDLE, ULONG64, DWORD, PSYMBOL_INFO +); +BOOL WINAPI SymGetScopeW( + HANDLE, ULONG64, DWORD, PSYMBOL_INFOW +); +BOOL WINAPI SymGetSearchPath( + HANDLE hProcess, PSTR szSearchPath, DWORD SearchPathLength +); +BOOL WINAPI SymGetSearchPathW( + HANDLE hProcess, PWSTR szSearchPath, DWORD SearchPathLength +); +BOOL WINAPI SymGetSourceFile( + HANDLE, ULONG64, PCSTR, PCSTR, PSTR, DWORD +); +BOOL WINAPI SymGetSourceFileW( + HANDLE, ULONG64, PCWSTR, PCWSTR, PWSTR, DWORD +); +BOOL WINAPI SymGetSourceFileFromToken( + HANDLE, PVOID, PCSTR, PSTR, DWORD +); +BOOL WINAPI SymGetSourceFileFromTokenW( + HANDLE, PVOID, PCWSTR, PWSTR, DWORD +); +BOOL WINAPI SymGetSourceFileToken( + HANDLE, ULONG64, PCSTR, PVOID*, DWORD* +); +BOOL WINAPI SymGetSourceFileTokenW( + HANDLE, ULONG64, PCWSTR, PVOID*, DWORD* +); +BOOL WINAPI SymGetSourceVarFromToken( + HANDLE, PVOID, PCSTR, PCSTR, PSTR, DWORD +); +BOOL WINAPI SymGetSourceVarFromTokenW( + HANDLE, PVOID, PCWSTR, PCWSTR, PWSTR, DWORD +); +BOOL WINAPI SymGetSymFromAddr( + HANDLE hProcess, DWORD dwAddr, + PDWORD pdwDisplacement, PIMAGEHLP_SYMBOL Symbol +); +BOOL WINAPI SymGetSymFromAddr64( + HANDLE, DWORD64, PDWORD64, PIMAGEHLP_SYMBOL64 +); +BOOL WINAPI SymGetSymFromName( + HANDLE hProcess, PCSTR Name, PIMAGEHLP_SYMBOL Symbol +); +BOOL WINAPI SymGetSymFromName64( + HANDLE, PCSTR, PIMAGEHLP_SYMBOL64 +); +BOOL WINAPI SymGetSymNext( + HANDLE hProcess, PIMAGEHLP_SYMBOL Symbol +); +BOOL WINAPI SymGetSymNext64( + HANDLE, PIMAGEHLP_SYMBOL64 +); +BOOL WINAPI SymGetSymPrev( + HANDLE hProcess, PIMAGEHLP_SYMBOL Symbol +); +BOOL WINAPI SymGetSymPrev64( + HANDLE, PIMAGEHLP_SYMBOL64 +); +BOOL WINAPI SymGetTypeFromName( + HANDLE, ULONG64, PCSTR, PSYMBOL_INFO +); +BOOL WINAPI SymGetTypeFromNameW( + HANDLE, ULONG64, PCWSTR, PSYMBOL_INFOW +); +BOOL WINAPI SymGetTypeInfo( + HANDLE, DWORD64, ULONG, IMAGEHLP_SYMBOL_TYPE_INFO, PVOID +); +BOOL WINAPI SymGetTypeInfoEx( + HANDLE, DWORD64, PIMAGEHLP_GET_TYPE_INFO_PARAMS +); +BOOL WINAPI SymInitialize( + HANDLE hProcess, PCSTR UserSearchPath, BOOL fInvadeProcess +); +BOOL WINAPI SymInitializeW( + HANDLE hProcess, PCWSTR UserSearchPath, BOOL fInvadeProcess +); +DWORD WINAPI SymLoadModule( + HANDLE hProcess, HANDLE hFile, PCSTR ImageName, PCSTR ModuleName, + DWORD BaseOfDll, DWORD SizeOfDll +); +DWORD64 WINAPI SymLoadModule64( + HANDLE, HANDLE, PCSTR, PCSTR, DWORD64, DWORD +); +DWORD64 WINAPI SymLoadModuleEx( + HANDLE, HANDLE, PCSTR, PCSTR, DWORD64, DWORD, PMODLOAD_DATA, DWORD +); +DWORD64 WINAPI SymLoadModuleExW( + HANDLE, HANDLE, PCWSTR, PCWSTR, DWORD64, DWORD, PMODLOAD_DATA, DWORD +); +BOOL WINAPI SymMatchFileName( + PCSTR, PCSTR, PSTR*, PSTR* +); +BOOL WINAPI SymMatchFileNameW( + PCWSTR, PCWSTR, PWSTR*, PWSTR* +); +BOOL WINAPI SymMatchString( + PCSTR, PCSTR, BOOL +); +BOOL WINAPI SymMatchStringA( + PCSTR, PCSTR, BOOL +); +BOOL WINAPI SymMatchStringW( + PCWSTR, PCWSTR, BOOL +); +BOOL WINAPI SymRegisterCallback( + HANDLE hProcess, PSYMBOL_REGISTERED_CALLBACK CallbackFunction, + PVOID UserContext +); +BOOL WINAPI SymRegisterCallback64( + HANDLE, PSYMBOL_REGISTERED_CALLBACK64, ULONG64 +); +BOOL WINAPI SymRegisterCallbackW64( + HANDLE, PSYMBOL_REGISTERED_CALLBACK64, ULONG64 +); +BOOL WINAPI SymRegisterFunctionEntryCallback( + HANDLE, PSYMBOL_FUNCENTRY_CALLBACK, PVOID +); +BOOL WINAPI SymRegisterFunctionEntryCallback64( + HANDLE, PSYMBOL_FUNCENTRY_CALLBACK64, ULONG64 +); +BOOL WINAPI SymSearch( + HANDLE, ULONG64, DWORD, DWORD, PCSTR, DWORD64, + PSYM_ENUMERATESYMBOLS_CALLBACK, PVOID, DWORD +); +BOOL WINAPI SymSearchW( + HANDLE, ULONG64, DWORD, DWORD, PCWSTR, DWORD64, + PSYM_ENUMERATESYMBOLS_CALLBACKW, PVOID, DWORD +); +DWORD WINAPI SymSetContext( + HANDLE hProcess, PIMAGEHLP_STACK_FRAME StackFrame, + PIMAGEHLP_CONTEXT Context +); +PCHAR WINAPI SymSetHomeDirectory( + HANDLE, PCSTR +); +PWSTR WINAPI SymSetHomeDirectoryW( + HANDLE, PCWSTR +); +DWORD WINAPI SymSetOptions( + DWORD SymOptions +); +BOOL WINAPI SymSetParentWindow( + HWND +); +BOOL WINAPI SymSetSearchPath( + HANDLE hProcess, PCSTR szSearchPath +); +BOOL WINAPI SymSetSearchPathW( + HANDLE hProcess, PCWSTR szSearchPath +); +BOOL WINAPI SymUnDName( + PIMAGEHLP_SYMBOL sym, PSTR UnDecName, DWORD UnDecNameLength +); +BOOL WINAPI SymUnDName64( + PIMAGEHLP_SYMBOL64, PSTR, DWORD +); +BOOL WINAPI SymUnloadModule( + HANDLE hProcess, DWORD BaseOfDll +); +BOOL WINAPI TouchFileTimes( + HANDLE FileHandle, LPSYSTEMTIME lpSystemTime +); +DWORD WINAPI UnDecorateSymbolName( + PCSTR DecoratedName, PSTR UnDecoratedName, + DWORD UndecoratedLength, DWORD Flags +); +DWORD WINAPI UnDecorateSymbolNameW( + PCWSTR DecoratedName, PWSTR UnDecoratedName, + DWORD UndecoratedLength, DWORD Flags +); +BOOL WINAPI UnMapAndLoad( + PLOADED_IMAGE LoadedImage +); +BOOL WINAPI UnmapDebugInformation( + PIMAGE_DEBUG_INFORMATION DebugInfo +); +BOOL WINAPI UpdateDebugInfoFile( + PCSTR ImageFileName, PCSTR SymbolPath, + PSTR DebugFilePath, PIMAGE_NT_HEADERS32 NtHeaders +); +BOOL WINAPI UpdateDebugInfoFileEx( + PCSTR ImageFileName, PCSTR SymbolPath, PSTR DebugFilePath, + PIMAGE_NT_HEADERS32 NtHeaders, DWORD OldChecksum +); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_IMAGEHLP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ime.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ime.h new file mode 100644 index 0000000..9312e37 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ime.h @@ -0,0 +1,173 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ + +#ifndef _IME_ +#define _IME_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _WINDEF_ +typedef unsigned int UINT; +#endif + +#define IME_MAXPROCESS 32 + +LRESULT WINAPI SendIMEMessageExA(HWND,LPARAM); +LRESULT WINAPI SendIMEMessageExW(HWND,LPARAM); +#define SendIMEMessageEx WINELIB_NAME_AW(SendIMEMessageEx) + +typedef struct tagIMESTRUCT { + UINT fnc; + WPARAM wParam; + UINT wCount; + UINT dchSource; + UINT dchDest; + LPARAM lParam1; + LPARAM lParam2; + LPARAM lParam3; +} IMESTRUCT,*PIMESTRUCT,*NPIMESTRUCT,*LPIMESTRUCT; + +#define CP_HWND 0 +#define CP_OPEN 1 +#define CP_DIRECT 2 +#define CP_LEVEL 3 + +#if !defined(VK_DBE_ALPHANUMERIC) +#define VK_DBE_ALPHANUMERIC 0x0f0 +#define VK_DBE_KATAKANA 0x0f1 +#define VK_DBE_HIRAGANA 0x0f2 +#define VK_DBE_SBCSCHAR 0x0f3 +#define VK_DBE_DBCSCHAR 0x0f4 +#define VK_DBE_ROMAN 0x0f5 +#define VK_DBE_NOROMAN 0x0f6 +#define VK_DBE_ENTERWORDREGISTERMODE 0x0f7 +#define VK_DBE_ENTERIMECONFIGMODE 0x0f8 +#define VK_DBE_FLUSHSTRING 0x0f9 +#define VK_DBE_CODEINPUT 0x0fa +#define VK_DBE_NOCODEINPUT 0x0fb +#define VK_DBE_DETERMINESTRING 0x0fc +#define VK_DBE_ENTERDLGCONVERSIONMODE 0x0fd +#endif + +#define MCW_DEFAULT 0x00 +#define MCW_RECT 0x01 +#define MCW_WINDOW 0x02 +#define MCW_SCREEN 0x04 +#define MCW_VERTICAL 0x08 +#define MCW_HIDDEN 0x10 + +#define IME_MODE_ALPHANUMERIC 0x0001 + +#ifdef KOREA +#define IME_MODE_SBCSCHAR 0x0002 +#else +#define IME_MODE_SBCSCHAR 0x0008 +#endif + +#define IME_MODE_KATAKANA 0x0002 +#define IME_MODE_HIRAGANA 0x0004 +#define IME_MODE_HANJACONVERT 0x0004 +#define IME_MODE_DBCSCHAR 0x0010 +#define IME_MODE_ROMAN 0x0020 +#define IME_MODE_NOROMAN 0x0040 +#define IME_MODE_CODEINPUT 0x0080 +#define IME_MODE_NOCODEINPUT 0x0100 + +#define IME_GETIMECAPS 0x03 +#define IME_SETOPEN 0x04 +#define IME_GETOPEN 0x05 +#define IME_GETVERSION 0x07 +#define IME_SETCONVERSIONWINDOW 0x08 +#define IME_MOVEIMEWINDOW IME_SETCONVERSIONWINDOW +#define IME_SETCONVERSIONMODE 0x10 + +#define IME_GETCONVERSIONMODE 0x11 +#define IME_SET_MODE 0x12 +#define IME_SENDVKEY 0x13 +#define IME_ENTERWORDREGISTERMODE 0x18 +#define IME_SETCONVERSIONFONTEX 0x19 + +#define IME_BANJAtoJUNJA 0x13 +#define IME_JUNJAtoBANJA 0x14 +#define IME_JOHABtoKS 0x15 +#define IME_KStoJOHAB 0x16 + +#define IMEA_INIT 0x01 +#define IMEA_NEXT 0x02 +#define IMEA_PREV 0x03 + +#define IME_REQUEST_CONVERT 0x01 +#define IME_ENABLE_CONVERT 0x02 + +#define INTERIM_WINDOW 0x00 +#define MODE_WINDOW 0x01 +#define HANJA_WINDOW 0x02 + +#define IME_RS_ERROR 0x01 +#define IME_RS_NOIME 0x02 +#define IME_RS_TOOLONG 0x05 +#define IME_RS_ILLEGAL 0x06 +#define IME_RS_NOTFOUND 0x07 +#define IME_RS_NOROOM 0x0a +#define IME_RS_DISKERROR 0x0e +#define IME_RS_INVALID 0x11 +#define IME_RS_NEST 0x12 +#define IME_RS_SYSTEMMODAL 0x13 + +#define WM_IME_REPORT 0x0280 + +#define IR_STRINGSTART 0x100 +#define IR_STRINGEND 0x101 +#define IR_OPENCONVERT 0x120 +#define IR_CHANGECONVERT 0x121 +#define IR_CLOSECONVERT 0x122 +#define IR_FULLCONVERT 0x123 +#define IR_IMESELECT 0x130 +#define IR_STRING 0x140 +#define IR_DBCSCHAR 0x160 +#define IR_UNDETERMINE 0x170 +#define IR_STRINGEX 0x180 +#define IR_MODEINFO 0x190 + +#define WM_WNT_CONVERTREQUESTEX 0x0109 +#define WM_CONVERTREQUEST 0x010A +#define WM_CONVERTRESULT 0x010B +#define WM_INTERIM 0x010C + +#define WM_IMEKEYDOWN 0x290 +#define WM_IMEKEYUP 0x291 + +typedef struct tagUNDETERMINESTRUCT { + DWORD dwSize; + UINT uDefIMESize; + UINT uDefIMEPos; + UINT uUndetTextLen; + UINT uUndetTextPos; + UINT uUndetAttrPos; + UINT uCursorPos; + UINT uDeltaStart; + UINT uDetermineTextLen; + UINT uDetermineTextPos; + UINT uDetermineDelimPos; + UINT uYomiTextLen; + UINT uYomiTextPos; + UINT uYomiDelimPos; +} UNDETERMINESTRUCT,*PUNDETERMINESTRUCT,*NPUNDETERMINESTRUCT,*LPUNDETERMINESTRUCT; + +typedef struct tagSTRINGEXSTRUCT { + DWORD dwSize; + UINT uDeterminePos; + UINT uDetermineDelimPos; + UINT uYomiPos; + UINT uYomiDelimPos; +} STRINGEXSTRUCT,*NPSTRINGEXSTRUCT,*LPSTRINGEXSTRUCT; + +#ifdef __cplusplus +} +#endif +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imm.h new file mode 100644 index 0000000..aa2fa1d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imm.h @@ -0,0 +1,578 @@ +/* + * Declarations for IMM32 + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_IMM_H +#define __WINE_IMM_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef HANDLE HIMC; +typedef HANDLE HIMCC; + +typedef struct tagREGISTERWORDA { + LPSTR lpReading; + LPSTR lpWord; +} REGISTERWORDA, *PREGISTERWORDA, *NPREGISTERWORDA, *LPREGISTERWORDA; + +typedef struct tagREGISTERWORDW { + LPWSTR lpReading; + LPWSTR lpWord; +} REGISTERWORDW, *PREGISTERWORDW, *NPREGISTERWORDW, *LPREGISTERWORDW; + +typedef int (CALLBACK *REGISTERWORDENUMPROCA)(LPCSTR, DWORD, LPCSTR, LPVOID); +typedef int (CALLBACK *REGISTERWORDENUMPROCW)(LPCWSTR, DWORD, LPCWSTR, LPVOID); + +typedef struct tagCANDIDATEFORM +{ + DWORD dwIndex; + DWORD dwStyle; + POINT ptCurrentPos; + RECT rcArea; +} CANDIDATEFORM, *LPCANDIDATEFORM; + +typedef struct tagCANDIDATELIST +{ + DWORD dwSize; + DWORD dwStyle; + DWORD dwCount; + DWORD dwSelection; + DWORD dwPageStart; + DWORD dwPageSize; + DWORD dwOffset[1]; +} CANDIDATELIST, *LPCANDIDATELIST; + +typedef struct tagSTYLEBUFA +{ + DWORD dwStyle; + CHAR szDescription[32]; +} STYLEBUFA, *LPSTYLEBUFA; + +typedef struct tagSTYLEBUFW +{ + DWORD dwStyle; + WCHAR szDescription[32]; +} STYLEBUFW, *LPSTYLEBUFW; + +DECL_WINELIB_TYPE_AW(STYLEBUF) +DECL_WINELIB_TYPE_AW(LPSTYLEBUF) + +typedef struct tagRECONVERTSTRING +{ + DWORD dwSize; + DWORD dwVersion; + DWORD dwStrLen; + DWORD dwStrOffset; + DWORD dwCompStrLen; + DWORD dwCompStrOffset; + DWORD dwTargetStrLen; + DWORD dwTargetStrOffset; +} RECONVERTSTRING, *LPRECONVERTSTRING; + + +#define IMEMENUITEM_STRING_SIZE 80 + +typedef struct tagIMEMENUITEMINFOA +{ + UINT cbSize; + UINT fType; + UINT fState; + UINT wID; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + DWORD dwItemData; + CHAR szString[IMEMENUITEM_STRING_SIZE]; + HBITMAP hbmpItem; +} IMEMENUITEMINFOA, *LPIMEMENUITEMINFOA; + +typedef struct tagIMEMENUITEMINFOW +{ + UINT cbSize; + UINT fType; + UINT fState; + UINT wID; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + DWORD dwItemData; + WCHAR szString[IMEMENUITEM_STRING_SIZE]; + HBITMAP hbmpItem; +} IMEMENUITEMINFOW, *LPIMEMENUITEMINFOW; + +DECL_WINELIB_TYPE_AW(IMEMENUITEMINFO) +DECL_WINELIB_TYPE_AW(LPIMEMENUITEMINFO) + + +typedef struct _tagCOMPOSITIONFORM +{ + DWORD dwStyle; + POINT ptCurrentPos; + RECT rcArea; +} COMPOSITIONFORM, *LPCOMPOSITIONFORM; + +typedef BOOL (CALLBACK* IMCENUMPROC)(HIMC, LPARAM); + +typedef struct _tagIMECHARPOSITION +{ + DWORD dwSize; + DWORD dwCharPos; + POINT pt; + UINT cLineHeight; + RECT rcDocument; +} IMECHARPOSITION, *LPIMECHARPOSITION; + +/* wParam for WM_IME_CONTROL */ +#define IMC_GETCANDIDATEPOS 0x0007 +#define IMC_SETCANDIDATEPOS 0x0008 +#define IMC_GETCOMPOSITIONFONT 0x0009 +#define IMC_SETCOMPOSITIONFONT 0x000A +#define IMC_GETCOMPOSITIONWINDOW 0x000B +#define IMC_SETCOMPOSITIONWINDOW 0x000C +#define IMC_GETSTATUSWINDOWPOS 0x000F +#define IMC_SETSTATUSWINDOWPOS 0x0010 +#define IMC_CLOSESTATUSWINDOW 0x0021 +#define IMC_OPENSTATUSWINDOW 0x0022 + +/* + * wParam for WM_IME_CONTROL to the soft keyboard + * dwAction for ImmNotifyIME + */ +#define NI_OPENCANDIDATE 0x0010 +#define NI_CLOSECANDIDATE 0x0011 +#define NI_SELECTCANDIDATESTR 0x0012 +#define NI_CHANGECANDIDATELIST 0x0013 +#define NI_FINALIZECONVERSIONRESULT 0x0014 +#define NI_COMPOSITIONSTR 0x0015 +#define NI_SETCANDIDATE_PAGESTART 0x0016 +#define NI_SETCANDIDATE_PAGESIZE 0x0017 +#define NI_IMEMENUSELECTED 0x0018 + +/* lParam for WM_IME_SETCONTEXT */ +#define ISC_SHOWUICANDIDATEWINDOW 0x00000001 +#define ISC_SHOWUICOMPOSITIONWINDOW 0x80000000 +#define ISC_SHOWUIGUIDELINE 0x40000000 +#define ISC_SHOWUIALLCANDIDATEWINDOW 0x0000000F +#define ISC_SHOWUIALL 0xC000000F + + +/* dwIndex for ImmNotifyIME/NI_COMPOSITIONSTR */ +#define CPS_COMPLETE 0x0001 +#define CPS_CONVERT 0x0002 +#define CPS_REVERT 0x0003 +#define CPS_CANCEL 0x0004 + + +/* the modifiers of hot key */ +#define MOD_ALT 0x0001 +#define MOD_CONTROL 0x0002 +#define MOD_SHIFT 0x0004 + +#define MOD_LEFT 0x8000 +#define MOD_RIGHT 0x4000 + +#define MOD_ON_KEYUP 0x0800 +#define MOD_IGNORE_ALL_MODIFIER 0x0400 + + +/* Windows for Simplified Chinese Edition hot key ID from 0x10 - 0x2F */ +#define IME_CHOTKEY_IME_NONIME_TOGGLE 0x10 +#define IME_CHOTKEY_SHAPE_TOGGLE 0x11 +#define IME_CHOTKEY_SYMBOL_TOGGLE 0x12 + +/* Windows for Japanese Edition hot key ID from 0x30 - 0x4F */ +#define IME_JHOTKEY_CLOSE_OPEN 0x30 + +/* Windows for Korean Edition hot key ID from 0x50 - 0x6F */ +#define IME_KHOTKEY_SHAPE_TOGGLE 0x50 +#define IME_KHOTKEY_HANJACONVERT 0x51 +#define IME_KHOTKEY_ENGLISH 0x52 +/* Windows for Traditional Chinese Edition hot key ID from 0x70 - 0x8F */ +#define IME_THOTKEY_IME_NONIME_TOGGLE 0x70 +#define IME_THOTKEY_SHAPE_TOGGLE 0x71 +#define IME_THOTKEY_SYMBOL_TOGGLE 0x72 + +/* direct switch hot key ID from 0x100 - 0x11F */ +#define IME_HOTKEY_DSWITCH_FIRST 0x100 +#define IME_HOTKEY_DSWITCH_LAST 0x11F + +/* IME private hot key from 0x200 - 0x21F */ +#define IME_HOTKEY_PRIVATE_FIRST 0x200 +#define IME_ITHOTKEY_RESEND_RESULTSTR 0x200 +#define IME_ITHOTKEY_PREVIOUS_COMPOSITION 0x201 +#define IME_ITHOTKEY_UISTYLE_TOGGLE 0x202 +#define IME_ITHOTKEY_RECONVERTSTRING 0x203 +#define IME_HOTKEY_PRIVATE_LAST 0x21F + + +/* + * dwSystemInfoFlags bits + * parameter of ImmGetCompositionString + */ +#define GCS_COMPREADSTR 0x0001 +#define GCS_COMPREADATTR 0x0002 +#define GCS_COMPREADCLAUSE 0x0004 +#define GCS_COMPSTR 0x0008 +#define GCS_COMPATTR 0x0010 +#define GCS_COMPCLAUSE 0x0020 +#define GCS_CURSORPOS 0x0080 +#define GCS_DELTASTART 0x0100 +#define GCS_RESULTREADSTR 0x0200 +#define GCS_RESULTREADCLAUSE 0x0400 +#define GCS_RESULTSTR 0x0800 +#define GCS_RESULTCLAUSE 0x1000 + +/* style bit flags for WM_IME_COMPOSITION */ +#define CS_INSERTCHAR 0x2000 +#define CS_NOMOVECARET 0x4000 + + +/* + * bits of fdwInit of INPUTCONTEXT + * IME version constants + */ +#define IMEVER_0310 0x0003000A +#define IMEVER_0400 0x00040000 + + +/* IME property bits */ +#define IME_PROP_AT_CARET 0x00010000 +#define IME_PROP_SPECIAL_UI 0x00020000 +#define IME_PROP_CANDLIST_START_FROM_1 0x00040000 +#define IME_PROP_UNICODE 0x00080000 +#define IME_PROP_COMPLETE_ON_UNSELECT 0x00100000 + + +/* IME UICapability bits */ +#define UI_CAP_2700 0x00000001 +#define UI_CAP_ROT90 0x00000002 +#define UI_CAP_ROTANY 0x00000004 +/* ImmSetCompositionString Capability bits */ +#define SCS_CAP_COMPSTR 0x00000001 +#define SCS_CAP_MAKEREAD 0x00000002 +#define SCS_CAP_SETRECONVERTSTRING 0x00000004 + + +/* IME WM_IME_SELECT inheritance Capability bits */ +#define SELECT_CAP_CONVERSION 0x00000001 +#define SELECT_CAP_SENTENCE 0x00000002 + + +/* ID for deIndex of ImmGetGuideLine */ +#define GGL_LEVEL 0x00000001 +#define GGL_INDEX 0x00000002 +#define GGL_STRING 0x00000003 +#define GGL_PRIVATE 0x00000004 + +/* ID for dwLevel of GUIDELINE Structure */ +#define GL_LEVEL_NOGUIDELINE 0x00000000 +#define GL_LEVEL_FATAL 0x00000001 +#define GL_LEVEL_ERROR 0x00000002 +#define GL_LEVEL_WARNING 0x00000003 +#define GL_LEVEL_INFORMATION 0x00000004 + +/* ID for dwIndex of GUIDELINE Structure */ +#define GL_ID_UNKNOWN 0x00000000 +#define GL_ID_NOMODULE 0x00000001 +#define GL_ID_NODICTIONARY 0x00000010 +#define GL_ID_CANNOTSAVE 0x00000011 +#define GL_ID_NOCONVERT 0x00000020 +#define GL_ID_TYPINGERROR 0x00000021 +#define GL_ID_TOOMANYSTROKE 0x00000022 +#define GL_ID_READINGCONFLICT 0x00000023 +#define GL_ID_INPUTREADING 0x00000024 +#define GL_ID_INPUTRADICAL 0x00000025 +#define GL_ID_INPUTCODE 0x00000026 +#define GL_ID_INPUTSYMBOL 0x00000027 +#define GL_ID_CHOOSECANDIDATE 0x00000028 +#define GL_ID_REVERSECONVERSION 0x00000029 +#define GL_ID_PRIVATE_FIRST 0x00008000 +#define GL_ID_PRIVATE_LAST 0x0000FFFF + +/* ID for dwIndex of ImmGetProperty */ +#define IGP_GETIMEVERSION (DWORD)(-4) +#define IGP_PROPERTY 0x00000004 +#define IGP_CONVERSION 0x00000008 +#define IGP_SENTENCE 0x0000000c +#define IGP_UI 0x00000010 +#define IGP_SETCOMPSTR 0x00000014 +#define IGP_SELECT 0x00000018 + + +/* dwIndex for ImmSetCompositionString API */ +#define SCS_SETSTR (GCS_COMPREADSTR|GCS_COMPSTR) +#define SCS_CHANGEATTR (GCS_COMPREADATTR|GCS_COMPATTR) +#define SCS_CHANGECLAUSE (GCS_COMPREADCLAUSE|GCS_COMPCLAUSE) +#define SCS_SETRECONVERTSTRING 0x00010000 +#define SCS_QUERYRECONVERTSTRING 0x00020000 + +/* attribute for COMPOSITIONSTRING Structure */ +#define ATTR_INPUT 0x00 +#define ATTR_TARGET_CONVERTED 0x01 +#define ATTR_CONVERTED 0x02 +#define ATTR_TARGET_NOTCONVERTED 0x03 +#define ATTR_INPUT_ERROR 0x04 +#define ATTR_FIXEDCONVERTED 0x05 + + +/* bit field for IMC_SETCOMPOSITIONWINDOW, IMC_SETCANDIDATEWINDOW */ +#define CFS_DEFAULT 0x0000 +#define CFS_RECT 0x0001 +#define CFS_POINT 0x0002 +#define CFS_FORCE_POSITION 0x0020 +#define CFS_CANDIDATEPOS 0x0040 +#define CFS_EXCLUDE 0x0080 + +/* conversion direction for ImmGetConversionList */ +#define GCL_CONVERSION 0x0001 +#define GCL_REVERSECONVERSION 0x0002 +#define GCL_REVERSE_LENGTH 0x0003 + + +/* bit field for conversion mode */ +#define IME_CMODE_ALPHANUMERIC 0x0000 +#define IME_CMODE_NATIVE 0x0001 +#define IME_CMODE_CHINESE IME_CMODE_NATIVE +/* IME_CMODE_HANGEUL is old name of IME_CMODE_HANGUL. It will be gone eventually. */ +#define IME_CMODE_HANGEUL IME_CMODE_NATIVE +#define IME_CMODE_HANGUL IME_CMODE_NATIVE +#define IME_CMODE_JAPANESE IME_CMODE_NATIVE +#define IME_CMODE_KATAKANA 0x0002 /* only effect under IME_CMODE_NATIVE */ +#define IME_CMODE_LANGUAGE 0x0003 +#define IME_CMODE_FULLSHAPE 0x0008 +#define IME_CMODE_ROMAN 0x0010 +#define IME_CMODE_CHARCODE 0x0020 +#define IME_CMODE_HANJACONVERT 0x0040 +#define IME_CMODE_SOFTKBD 0x0080 +#define IME_CMODE_NOCONVERSION 0x0100 +#define IME_CMODE_EUDC 0x0200 +#define IME_CMODE_SYMBOL 0x0400 +#define IME_CMODE_FIXED 0x0800 + + +#define IME_SMODE_NONE 0x0000 +#define IME_SMODE_PLAURALCLAUSE 0x0001 +#define IME_SMODE_SINGLECONVERT 0x0002 +#define IME_SMODE_AUTOMATIC 0x0004 +#define IME_SMODE_PHRASEPREDICT 0x0008 +#define IME_SMODE_CONVERSATION 0x0010 + +/* style of candidate */ +#define IME_CAND_UNKNOWN 0x0000 +#define IME_CAND_READ 0x0001 +#define IME_CAND_CODE 0x0002 +#define IME_CAND_MEANING 0x0003 +#define IME_CAND_RADICAL 0x0004 +#define IME_CAND_STROKE 0x0005 + + +/* wParam of report message WM_IME_NOTIFY */ +#define IMN_CLOSESTATUSWINDOW 0x0001 +#define IMN_OPENSTATUSWINDOW 0x0002 +#define IMN_CHANGECANDIDATE 0x0003 +#define IMN_CLOSECANDIDATE 0x0004 +#define IMN_OPENCANDIDATE 0x0005 +#define IMN_SETCONVERSIONMODE 0x0006 +#define IMN_SETSENTENCEMODE 0x0007 +#define IMN_SETOPENSTATUS 0x0008 +#define IMN_SETCANDIDATEPOS 0x0009 +#define IMN_SETCOMPOSITIONFONT 0x000A +#define IMN_SETCOMPOSITIONWINDOW 0x000B +#define IMN_SETSTATUSWINDOWPOS 0x000C +#define IMN_GUIDELINE 0x000D +#define IMN_PRIVATE 0x000E + + +/* wParam of report message WM_IME_REQUEST */ +#define IMR_COMPOSITIONWINDOW 0x0001 +#define IMR_CANDIDATEWINDOW 0x0002 +#define IMR_COMPOSITIONFONT 0x0003 +#define IMR_RECONVERTSTRING 0x0004 +#define IMR_CONFIRMRECONVERTSTRING 0x0005 +#define IMR_QUERYCHARPOSITION 0x0006 +#define IMR_DOCUMENTFEED 0x0007 + + +/* error code of ImmGetCompositionString */ +#define IMM_ERROR_NODATA (-1) +#define IMM_ERROR_GENERAL (-2) + + +/* dialog mode of ImmConfigureIME */ +#define IME_CONFIG_GENERAL 1 +#define IME_CONFIG_REGISTERWORD 2 +#define IME_CONFIG_SELECTDICTIONARY 3 + +/* dialog mode of ImmEscape */ +#define IME_ESC_QUERY_SUPPORT 0x0003 +#define IME_ESC_RESERVED_FIRST 0x0004 +#define IME_ESC_RESERVED_LAST 0x07FF +#define IME_ESC_PRIVATE_FIRST 0x0800 +#define IME_ESC_PRIVATE_LAST 0x0FFF +#define IME_ESC_SEQUENCE_TO_INTERNAL 0x1001 +#define IME_ESC_GET_EUDC_DICTIONARY 0x1003 +#define IME_ESC_SET_EUDC_DICTIONARY 0x1004 +#define IME_ESC_MAX_KEY 0x1005 +#define IME_ESC_IME_NAME 0x1006 +#define IME_ESC_SYNC_HOTKEY 0x1007 +#define IME_ESC_HANJA_MODE 0x1008 +#define IME_ESC_AUTOMATA 0x1009 +#define IME_ESC_PRIVATE_HOTKEY 0x100a +#define IME_ESC_GETHELPFILENAME 0x100b + + +/* style of word registration */ +#define IME_REGWORD_STYLE_EUDC 0x00000001 +#define IME_REGWORD_STYLE_USER_FIRST 0x80000000 +#define IME_REGWORD_STYLE_USER_LAST 0xFFFFFFFF + + +/* dwFlags for ImmAssociateContextEx */ +#define IACE_CHILDREN 0x0001 +#define IACE_DEFAULT 0x0010 +#define IACE_IGNORENOCONTEXT 0x0020 + +/* dwFlags for ImmGetImeMenuItems */ +#define IGIMIF_RIGHTMENU 0x0001 + +/* dwType for ImmGetImeMenuItems */ +#define IGIMII_CMODE 0x0001 +#define IGIMII_SMODE 0x0002 +#define IGIMII_CONFIGURE 0x0004 +#define IGIMII_TOOLS 0x0008 +#define IGIMII_HELP 0x0010 +#define IGIMII_OTHER 0x0020 +#define IGIMII_INPUTTOOLS 0x0040 + +/* fType of IMEMENUITEMINFO structure */ +#define IMFT_RADIOCHECK 0x00001 +#define IMFT_SEPARATOR 0x00002 +#define IMFT_SUBMENU 0x00004 + +/* fState of IMEMENUITEMINFO structure */ +#define IMFS_GRAYED MFS_GRAYED +#define IMFS_DISABLED MFS_DISABLED +#define IMFS_CHECKED MFS_CHECKED +#define IMFS_HILITE MFS_HILITE +#define IMFS_ENABLED MFS_ENABLED +#define IMFS_UNCHECKED MFS_UNCHECKED +#define IMFS_UNHILITE MFS_UNHILITE +#define IMFS_DEFAULT MFS_DEFAULT + + +/* + * type of soft keyboard + * for Windows Traditional Chinese Edition + */ +#define SOFTKEYBOARD_TYPE_T1 0x0001 +/* for Windows Simplified Chinese Edition */ +#define SOFTKEYBOARD_TYPE_C1 0x0002 + + +HIMC WINAPI ImmAssociateContext(HWND, HIMC); +BOOL WINAPI ImmAssociateContextEx(HWND, HIMC, DWORD); +BOOL WINAPI ImmConfigureIMEA(HKL, HWND, DWORD, LPVOID); +BOOL WINAPI ImmConfigureIMEW(HKL, HWND, DWORD, LPVOID); +#define ImmConfigureIME WINELIB_NAME_AW(ImmConfigureIME) +HIMC WINAPI ImmCreateContext(void); +BOOL WINAPI ImmDestroyContext(HIMC hIMC); +BOOL WINAPI ImmDisableIME(DWORD idThread); +BOOL WINAPI ImmEnumInputContext(DWORD, IMCENUMPROC, LPARAM); +UINT WINAPI ImmEnumRegisterWordA(HKL, REGISTERWORDENUMPROCA, LPCSTR, DWORD, LPCSTR, LPVOID); +UINT WINAPI ImmEnumRegisterWordW(HKL, REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID); +#define ImmEnumRegisterWord WINELIB_NAME_AW(ImmEnumRegisterWord) +LRESULT WINAPI ImmEscapeA(HKL, HIMC, UINT, LPVOID); +LRESULT WINAPI ImmEscapeW(HKL, HIMC, UINT, LPVOID); +#define ImmEscape WINELIB_NAME_AW(ImmEscape) +DWORD WINAPI ImmGetCandidateListA(HIMC, DWORD, LPCANDIDATELIST, DWORD); +DWORD WINAPI ImmGetCandidateListW(HIMC, DWORD, LPCANDIDATELIST, DWORD); +#define ImmGetCandidateList WINELIB_NAME_AW(ImmGetCandidateList) +DWORD WINAPI ImmGetCandidateListCountA(HIMC, LPDWORD); +DWORD WINAPI ImmGetCandidateListCountW(HIMC, LPDWORD); +#define ImmGetCandidateListCount WINELIB_NAME_AW(ImmGetCandidateListCount) +BOOL WINAPI ImmGetCandidateWindow(HIMC, DWORD, LPCANDIDATEFORM); +#if defined(_WINGDI_) && !defined(NOGDI) +BOOL WINAPI ImmGetCompositionFontA(HIMC, LPLOGFONTA); +BOOL WINAPI ImmGetCompositionFontW(HIMC, LPLOGFONTW); +#define ImmGetCompositionFont WINELIB_NAME_AW(ImmGetCompositionFont) +BOOL WINAPI ImmSetCompositionFontA(HIMC, LPLOGFONTA); +BOOL WINAPI ImmSetCompositionFontW(HIMC, LPLOGFONTW); +#define ImmSetCompositionFont WINELIB_NAME_AW(ImmSetCompositionFont) +#endif +LONG WINAPI ImmGetCompositionStringA(HIMC, DWORD, LPVOID, DWORD); +LONG WINAPI ImmGetCompositionStringW(HIMC, DWORD, LPVOID, DWORD); +#define ImmGetCompositionString WINELIB_NAME_AW(ImmGetCompositionString) +BOOL WINAPI ImmGetCompositionWindow(HIMC, LPCOMPOSITIONFORM); +HIMC WINAPI ImmGetContext(HWND); +DWORD WINAPI ImmGetConversionListA(HKL, HIMC, LPCSTR, LPCANDIDATELIST, DWORD, UINT); +DWORD WINAPI ImmGetConversionListW(HKL, HIMC, LPCWSTR, LPCANDIDATELIST, DWORD, UINT); +#define ImmGetConversionList WINELIB_NAME_AW(ImmGetConversionList) +BOOL WINAPI ImmGetConversionStatus(HIMC, LPDWORD, LPDWORD); +HWND WINAPI ImmGetDefaultIMEWnd(HWND); +UINT WINAPI ImmGetDescriptionA(HKL, LPSTR, UINT); +UINT WINAPI ImmGetDescriptionW(HKL, LPWSTR, UINT); +#define ImmGetDescription WINELIB_NAME_AW(ImmGetDescription) +DWORD WINAPI ImmGetGuideLineA(HIMC, DWORD, LPSTR, DWORD); +DWORD WINAPI ImmGetGuideLineW(HIMC, DWORD, LPWSTR, DWORD); +#define ImmGetGuideLine WINELIB_NAME_AW(ImmGetGuideLine) +UINT WINAPI ImmGetIMEFileNameA(HKL, LPSTR, UINT); +UINT WINAPI ImmGetIMEFileNameW(HKL, LPWSTR, UINT); +#define ImmGetIMEFileName WINELIB_NAME_AW(ImmGetIMEFileName) +DWORD WINAPI ImmGetImeMenuItemsA(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOA, LPIMEMENUITEMINFOA, DWORD); +DWORD WINAPI ImmGetImeMenuItemsW(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD); +#define ImmGetImeMenuItems WINELIB_NAME_AW(ImmGetImeMenuItems) +BOOL WINAPI ImmGetOpenStatus(HIMC); +DWORD WINAPI ImmGetProperty(HKL, DWORD); +UINT WINAPI ImmGetRegisterWordStyleA(HKL, UINT, LPSTYLEBUFA); +UINT WINAPI ImmGetRegisterWordStyleW(HKL, UINT, LPSTYLEBUFW); +#define ImmGetRegisterWordStyle WINELIB_NAME_AW(ImmGetRegisterWordStyle) +BOOL WINAPI ImmGetStatusWindowPos(HIMC, LPPOINT); +UINT WINAPI ImmGetVirtualKey(HWND); +HKL WINAPI ImmInstallIMEA(LPCSTR, LPCSTR); +HKL WINAPI ImmInstallIMEW(LPCWSTR, LPCWSTR); +#define ImmInstallIME WINELIB_NAME_AW(ImmInstallIME) +BOOL WINAPI ImmIsIME(HKL); +BOOL WINAPI ImmIsUIMessageA(HWND, UINT, WPARAM, LPARAM); +BOOL WINAPI ImmIsUIMessageW(HWND, UINT, WPARAM, LPARAM); +#define ImmIsUIMessage WINELIB_NAME_AW(ImmIsUIMessage) +BOOL WINAPI ImmNotifyIME(HIMC, DWORD, DWORD, DWORD); +BOOL WINAPI ImmProcessKey(HWND, HKL, UINT, LPARAM, DWORD); +BOOL WINAPI ImmRegisterWordA(HKL, LPCSTR, DWORD, LPCSTR); +BOOL WINAPI ImmRegisterWordW(HKL, LPCWSTR, DWORD, LPCWSTR); +#define ImmRegisterWord WINELIB_NAME_AW(ImmRegisterWord) +BOOL WINAPI ImmReleaseContext(HWND, HIMC); +BOOL WINAPI ImmSetCandidateWindow(HIMC, LPCANDIDATEFORM); +BOOL WINAPI ImmSetCompositionStringA(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD); +BOOL WINAPI ImmSetCompositionStringW(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD); +#define ImmSetCompositionString WINELIB_NAME_AW(ImmSetCompositionString) +BOOL WINAPI ImmSetCompositionWindow(HIMC, LPCOMPOSITIONFORM); +BOOL WINAPI ImmSetConversionStatus(HIMC, DWORD, DWORD); +BOOL WINAPI ImmSetOpenStatus(HIMC, BOOL); +BOOL WINAPI ImmSetStatusWindowPos(HIMC, LPPOINT); +BOOL WINAPI ImmSimulateHotKey(HWND, DWORD); +BOOL WINAPI ImmUnregisterWordA(HKL, LPCSTR, DWORD, LPCSTR); +BOOL WINAPI ImmUnregisterWordW(HKL, LPCWSTR, DWORD, LPCWSTR); +#define ImmUnregisterWord WINELIB_NAME_AW(ImmUnregisterWord) + + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_IMM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnact.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnact.h new file mode 100644 index 0000000..b116a02 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnact.h @@ -0,0 +1,1305 @@ +/*** Autogenerated by WIDL 2.18 from imnact.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __imnact_h__ +#define __imnact_h__ + +/* Forward declarations */ + +#ifndef __IImnAdviseAccount_FWD_DEFINED__ +#define __IImnAdviseAccount_FWD_DEFINED__ +typedef interface IImnAdviseAccount IImnAdviseAccount; +#ifdef __cplusplus +interface IImnAdviseAccount; +#endif /* __cplusplus */ +#endif + +#ifndef __IImnAdviseMigrateServer_FWD_DEFINED__ +#define __IImnAdviseMigrateServer_FWD_DEFINED__ +typedef interface IImnAdviseMigrateServer IImnAdviseMigrateServer; +#ifdef __cplusplus +interface IImnAdviseMigrateServer; +#endif /* __cplusplus */ +#endif + +#ifndef __IImnEnumAccounts_FWD_DEFINED__ +#define __IImnEnumAccounts_FWD_DEFINED__ +typedef interface IImnEnumAccounts IImnEnumAccounts; +#ifdef __cplusplus +interface IImnEnumAccounts; +#endif /* __cplusplus */ +#endif + +#ifndef __IImnAccountManager_FWD_DEFINED__ +#define __IImnAccountManager_FWD_DEFINED__ +typedef interface IImnAccountManager IImnAccountManager; +#ifdef __cplusplus +interface IImnAccountManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IImnAccountManager2_FWD_DEFINED__ +#define __IImnAccountManager2_FWD_DEFINED__ +typedef interface IImnAccountManager2 IImnAccountManager2; +#ifdef __cplusplus +interface IImnAccountManager2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyContainer_FWD_DEFINED__ +#define __IPropertyContainer_FWD_DEFINED__ +typedef interface IPropertyContainer IPropertyContainer; +#ifdef __cplusplus +interface IPropertyContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IImnAccount_FWD_DEFINED__ +#define __IImnAccount_FWD_DEFINED__ +typedef interface IImnAccount IImnAccount; +#ifdef __cplusplus +interface IImnAccount; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IImnAccount_FWD_DEFINED__ +#define __IImnAccount_FWD_DEFINED__ +typedef interface IImnAccount IImnAccount; +#ifdef __cplusplus +interface IImnAccount; +#endif /* __cplusplus */ +#endif + +#ifndef HR_E +#define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n) +#endif +#ifndef HR_S +#define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n) +#endif +typedef enum tagSMTPAUTHTYPE { + SMTP_AUTH_NONE = 0, + SMTP_AUTH_SICILY = 1, + SMTP_AUTH_USE_POP3ORIMAP_SETTINGS = 2, + SMTP_AUTH_USE_SMTP_SETTINGS = 3 +} SMTPAUTHTYPE; +#define CCHMAX_ORG_NAME (256) + +#define CCHMAX_DISPLAY_NAME (256) + +#define CCHMAX_ACCOUNT_NAME (256) + +#define CCHMAX_SERVER_NAME (256) + +#define CCHMAX_PASSWORD (256) + +#define CCHMAX_USERNAME (256) + +#define CCHMAX_EMAIL_ADDRESS (256) + +#define CCHMAX_CONNECTOID (256) + +#define CCHMAX_SEARCH_BASE (256) + +#define CCHMAX_ROOT_FOLDER (256) + +#define CCHMAX_SIGNATURE (16) + +#define CCHMAX_SERVICE (256) + +/***************************************************************************** + * IImnAdviseAccount interface + */ +#ifndef __IImnAdviseAccount_INTERFACE_DEFINED__ +#define __IImnAdviseAccount_INTERFACE_DEFINED__ + +typedef enum __WIDL_imnact_generated_name_00000002 { + ACCT_NEWS = 0, + ACCT_MAIL = 1, + ACCT_DIR_SERV = 2, + ACCT_LAST = 3 +} ACCTTYPE; +typedef struct tagAccountContext { + ACCTTYPE AcctType; + LPSTR pszAccountID; + LPSTR pszOldName; + DWORD dwServerType; +} ACTX; +DEFINE_GUID(IID_IImnAdviseAccount, 0x0a06bd31, 0x166f, 0x11d0, 0x81,0xb9, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0a06bd31-166f-11d0-81b9-00c04fd85ab4") +IImnAdviseAccount : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseAccount( + DWORD dwAdviseType, + ACTX *pAcctCtx) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImnAdviseAccount, 0x0a06bd31, 0x166f, 0x11d0, 0x81,0xb9, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IImnAdviseAccountVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImnAdviseAccount *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImnAdviseAccount *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImnAdviseAccount *This); + + /*** IImnAdviseAccount methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseAccount)( + IImnAdviseAccount *This, + DWORD dwAdviseType, + ACTX *pAcctCtx); + + END_INTERFACE +} IImnAdviseAccountVtbl; + +interface IImnAdviseAccount { + CONST_VTBL IImnAdviseAccountVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImnAdviseAccount_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImnAdviseAccount_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImnAdviseAccount_Release(This) (This)->lpVtbl->Release(This) +/*** IImnAdviseAccount methods ***/ +#define IImnAdviseAccount_AdviseAccount(This,dwAdviseType,pAcctCtx) (This)->lpVtbl->AdviseAccount(This,dwAdviseType,pAcctCtx) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImnAdviseAccount_QueryInterface(IImnAdviseAccount* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImnAdviseAccount_AddRef(IImnAdviseAccount* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImnAdviseAccount_Release(IImnAdviseAccount* This) { + return This->lpVtbl->Release(This); +} +/*** IImnAdviseAccount methods ***/ +static FORCEINLINE HRESULT IImnAdviseAccount_AdviseAccount(IImnAdviseAccount* This,DWORD dwAdviseType,ACTX *pAcctCtx) { + return This->lpVtbl->AdviseAccount(This,dwAdviseType,pAcctCtx); +} +#endif +#endif + +#endif + + +#endif /* __IImnAdviseAccount_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImnAdviseMigrateServer interface + */ +#ifndef __IImnAdviseMigrateServer_INTERFACE_DEFINED__ +#define __IImnAdviseMigrateServer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImnAdviseMigrateServer, 0x8d0aed11, 0x1638, 0x11d0, 0x81,0xb9, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8d0aed11-1638-11d0-81b9-00c04fd85ab4") +IImnAdviseMigrateServer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE MigrateServer( + DWORD dwSrvType, + IImnAccount *pAccount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImnAdviseMigrateServer, 0x8d0aed11, 0x1638, 0x11d0, 0x81,0xb9, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IImnAdviseMigrateServerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImnAdviseMigrateServer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImnAdviseMigrateServer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImnAdviseMigrateServer *This); + + /*** IImnAdviseMigrateServer methods ***/ + HRESULT (STDMETHODCALLTYPE *MigrateServer)( + IImnAdviseMigrateServer *This, + DWORD dwSrvType, + IImnAccount *pAccount); + + END_INTERFACE +} IImnAdviseMigrateServerVtbl; + +interface IImnAdviseMigrateServer { + CONST_VTBL IImnAdviseMigrateServerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImnAdviseMigrateServer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImnAdviseMigrateServer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImnAdviseMigrateServer_Release(This) (This)->lpVtbl->Release(This) +/*** IImnAdviseMigrateServer methods ***/ +#define IImnAdviseMigrateServer_MigrateServer(This,dwSrvType,pAccount) (This)->lpVtbl->MigrateServer(This,dwSrvType,pAccount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImnAdviseMigrateServer_QueryInterface(IImnAdviseMigrateServer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImnAdviseMigrateServer_AddRef(IImnAdviseMigrateServer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImnAdviseMigrateServer_Release(IImnAdviseMigrateServer* This) { + return This->lpVtbl->Release(This); +} +/*** IImnAdviseMigrateServer methods ***/ +static FORCEINLINE HRESULT IImnAdviseMigrateServer_MigrateServer(IImnAdviseMigrateServer* This,DWORD dwSrvType,IImnAccount *pAccount) { + return This->lpVtbl->MigrateServer(This,dwSrvType,pAccount); +} +#endif +#endif + +#endif + + +#endif /* __IImnAdviseMigrateServer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImnEnumAccounts interface + */ +#ifndef __IImnEnumAccounts_INTERFACE_DEFINED__ +#define __IImnEnumAccounts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImnEnumAccounts, 0xfd465483, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd465483-1384-11d0-abbd-0020afdfd10a") +IImnEnumAccounts : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *pcItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE SortByAccountName( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNext( + IImnAccount **ppAccount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImnEnumAccounts, 0xfd465483, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a) +#endif +#else +typedef struct IImnEnumAccountsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImnEnumAccounts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImnEnumAccounts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImnEnumAccounts *This); + + /*** IImnEnumAccounts methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IImnEnumAccounts *This, + ULONG *pcItems); + + HRESULT (STDMETHODCALLTYPE *SortByAccountName)( + IImnEnumAccounts *This); + + HRESULT (STDMETHODCALLTYPE *GetNext)( + IImnEnumAccounts *This, + IImnAccount **ppAccount); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IImnEnumAccounts *This); + + END_INTERFACE +} IImnEnumAccountsVtbl; + +interface IImnEnumAccounts { + CONST_VTBL IImnEnumAccountsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImnEnumAccounts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImnEnumAccounts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImnEnumAccounts_Release(This) (This)->lpVtbl->Release(This) +/*** IImnEnumAccounts methods ***/ +#define IImnEnumAccounts_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IImnEnumAccounts_SortByAccountName(This) (This)->lpVtbl->SortByAccountName(This) +#define IImnEnumAccounts_GetNext(This,ppAccount) (This)->lpVtbl->GetNext(This,ppAccount) +#define IImnEnumAccounts_Reset(This) (This)->lpVtbl->Reset(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImnEnumAccounts_QueryInterface(IImnEnumAccounts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImnEnumAccounts_AddRef(IImnEnumAccounts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImnEnumAccounts_Release(IImnEnumAccounts* This) { + return This->lpVtbl->Release(This); +} +/*** IImnEnumAccounts methods ***/ +static FORCEINLINE HRESULT IImnEnumAccounts_GetCount(IImnEnumAccounts* This,ULONG *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IImnEnumAccounts_SortByAccountName(IImnEnumAccounts* This) { + return This->lpVtbl->SortByAccountName(This); +} +static FORCEINLINE HRESULT IImnEnumAccounts_GetNext(IImnEnumAccounts* This,IImnAccount **ppAccount) { + return This->lpVtbl->GetNext(This,ppAccount); +} +static FORCEINLINE HRESULT IImnEnumAccounts_Reset(IImnEnumAccounts* This) { + return This->lpVtbl->Reset(This); +} +#endif +#endif + +#endif + + +#endif /* __IImnEnumAccounts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImnAccountManager interface + */ +#ifndef __IImnAccountManager_INTERFACE_DEFINED__ +#define __IImnAccountManager_INTERFACE_DEFINED__ + +typedef struct tagACCTLISTINFO { + DWORD cbSize; + ACCTTYPE AcctTypeInit; + DWORD dwAcctFlags; + DWORD dwFlags; +} ACCTLISTINFO; +DEFINE_GUID(IID_IImnAccountManager, 0xfd465481, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd465481-1384-11d0-abbd-0020afdfd10a") +IImnAccountManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Init( + IImnAdviseMigrateServer *pAdviseMigrateServer) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAccountObject( + ACCTTYPE AcctType, + IImnAccount **ppAccount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enumerate( + DWORD dwSrvTypes, + IImnEnumAccounts **ppEnumAccounts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAccountCount( + ACCTTYPE AcctType, + ULONG *pcServers) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindAccount( + DWORD dwPropTag, + LPCSTR pszSearchData, + IImnAccount **ppAccount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultAccountName( + ACCTTYPE AcctType, + LPSTR pszAccount, + ULONG cchMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessNotification( + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateDefaultSendAccount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AccountListDialog( + HWND hwnd, + ACCTLISTINFO *pinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE Advise( + IImnAdviseAccount *pAdviseAccount, + DWORD *pdwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUniqueAccountName( + LPSTR szName, + UINT cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitEx( + IImnAdviseMigrateServer *pAdviseMigrateServer, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImnAccountManager, 0xfd465481, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a) +#endif +#else +typedef struct IImnAccountManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImnAccountManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImnAccountManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImnAccountManager *This); + + /*** IImnAccountManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + IImnAccountManager *This, + IImnAdviseMigrateServer *pAdviseMigrateServer); + + HRESULT (STDMETHODCALLTYPE *CreateAccountObject)( + IImnAccountManager *This, + ACCTTYPE AcctType, + IImnAccount **ppAccount); + + HRESULT (STDMETHODCALLTYPE *Enumerate)( + IImnAccountManager *This, + DWORD dwSrvTypes, + IImnEnumAccounts **ppEnumAccounts); + + HRESULT (STDMETHODCALLTYPE *GetAccountCount)( + IImnAccountManager *This, + ACCTTYPE AcctType, + ULONG *pcServers); + + HRESULT (STDMETHODCALLTYPE *FindAccount)( + IImnAccountManager *This, + DWORD dwPropTag, + LPCSTR pszSearchData, + IImnAccount **ppAccount); + + HRESULT (STDMETHODCALLTYPE *GetDefaultAccountName)( + IImnAccountManager *This, + ACCTTYPE AcctType, + LPSTR pszAccount, + ULONG cchMax); + + HRESULT (STDMETHODCALLTYPE *ProcessNotification)( + IImnAccountManager *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *ValidateDefaultSendAccount)( + IImnAccountManager *This); + + HRESULT (STDMETHODCALLTYPE *AccountListDialog)( + IImnAccountManager *This, + HWND hwnd, + ACCTLISTINFO *pinfo); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IImnAccountManager *This, + IImnAdviseAccount *pAdviseAccount, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IImnAccountManager *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *GetUniqueAccountName)( + IImnAccountManager *This, + LPSTR szName, + UINT cch); + + HRESULT (STDMETHODCALLTYPE *InitEx)( + IImnAccountManager *This, + IImnAdviseMigrateServer *pAdviseMigrateServer, + DWORD dwFlags); + + END_INTERFACE +} IImnAccountManagerVtbl; + +interface IImnAccountManager { + CONST_VTBL IImnAccountManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImnAccountManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImnAccountManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImnAccountManager_Release(This) (This)->lpVtbl->Release(This) +/*** IImnAccountManager methods ***/ +#define IImnAccountManager_Init(This,pAdviseMigrateServer) (This)->lpVtbl->Init(This,pAdviseMigrateServer) +#define IImnAccountManager_CreateAccountObject(This,AcctType,ppAccount) (This)->lpVtbl->CreateAccountObject(This,AcctType,ppAccount) +#define IImnAccountManager_Enumerate(This,dwSrvTypes,ppEnumAccounts) (This)->lpVtbl->Enumerate(This,dwSrvTypes,ppEnumAccounts) +#define IImnAccountManager_GetAccountCount(This,AcctType,pcServers) (This)->lpVtbl->GetAccountCount(This,AcctType,pcServers) +#define IImnAccountManager_FindAccount(This,dwPropTag,pszSearchData,ppAccount) (This)->lpVtbl->FindAccount(This,dwPropTag,pszSearchData,ppAccount) +#define IImnAccountManager_GetDefaultAccountName(This,AcctType,pszAccount,cchMax) (This)->lpVtbl->GetDefaultAccountName(This,AcctType,pszAccount,cchMax) +#define IImnAccountManager_ProcessNotification(This,uMsg,wParam,lParam) (This)->lpVtbl->ProcessNotification(This,uMsg,wParam,lParam) +#define IImnAccountManager_ValidateDefaultSendAccount(This) (This)->lpVtbl->ValidateDefaultSendAccount(This) +#define IImnAccountManager_AccountListDialog(This,hwnd,pinfo) (This)->lpVtbl->AccountListDialog(This,hwnd,pinfo) +#define IImnAccountManager_Advise(This,pAdviseAccount,pdwConnection) (This)->lpVtbl->Advise(This,pAdviseAccount,pdwConnection) +#define IImnAccountManager_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection) +#define IImnAccountManager_GetUniqueAccountName(This,szName,cch) (This)->lpVtbl->GetUniqueAccountName(This,szName,cch) +#define IImnAccountManager_InitEx(This,pAdviseMigrateServer,dwFlags) (This)->lpVtbl->InitEx(This,pAdviseMigrateServer,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImnAccountManager_QueryInterface(IImnAccountManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImnAccountManager_AddRef(IImnAccountManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImnAccountManager_Release(IImnAccountManager* This) { + return This->lpVtbl->Release(This); +} +/*** IImnAccountManager methods ***/ +static FORCEINLINE HRESULT IImnAccountManager_Init(IImnAccountManager* This,IImnAdviseMigrateServer *pAdviseMigrateServer) { + return This->lpVtbl->Init(This,pAdviseMigrateServer); +} +static FORCEINLINE HRESULT IImnAccountManager_CreateAccountObject(IImnAccountManager* This,ACCTTYPE AcctType,IImnAccount **ppAccount) { + return This->lpVtbl->CreateAccountObject(This,AcctType,ppAccount); +} +static FORCEINLINE HRESULT IImnAccountManager_Enumerate(IImnAccountManager* This,DWORD dwSrvTypes,IImnEnumAccounts **ppEnumAccounts) { + return This->lpVtbl->Enumerate(This,dwSrvTypes,ppEnumAccounts); +} +static FORCEINLINE HRESULT IImnAccountManager_GetAccountCount(IImnAccountManager* This,ACCTTYPE AcctType,ULONG *pcServers) { + return This->lpVtbl->GetAccountCount(This,AcctType,pcServers); +} +static FORCEINLINE HRESULT IImnAccountManager_FindAccount(IImnAccountManager* This,DWORD dwPropTag,LPCSTR pszSearchData,IImnAccount **ppAccount) { + return This->lpVtbl->FindAccount(This,dwPropTag,pszSearchData,ppAccount); +} +static FORCEINLINE HRESULT IImnAccountManager_GetDefaultAccountName(IImnAccountManager* This,ACCTTYPE AcctType,LPSTR pszAccount,ULONG cchMax) { + return This->lpVtbl->GetDefaultAccountName(This,AcctType,pszAccount,cchMax); +} +static FORCEINLINE HRESULT IImnAccountManager_ProcessNotification(IImnAccountManager* This,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->ProcessNotification(This,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT IImnAccountManager_ValidateDefaultSendAccount(IImnAccountManager* This) { + return This->lpVtbl->ValidateDefaultSendAccount(This); +} +static FORCEINLINE HRESULT IImnAccountManager_AccountListDialog(IImnAccountManager* This,HWND hwnd,ACCTLISTINFO *pinfo) { + return This->lpVtbl->AccountListDialog(This,hwnd,pinfo); +} +static FORCEINLINE HRESULT IImnAccountManager_Advise(IImnAccountManager* This,IImnAdviseAccount *pAdviseAccount,DWORD *pdwConnection) { + return This->lpVtbl->Advise(This,pAdviseAccount,pdwConnection); +} +static FORCEINLINE HRESULT IImnAccountManager_Unadvise(IImnAccountManager* This,DWORD dwConnection) { + return This->lpVtbl->Unadvise(This,dwConnection); +} +static FORCEINLINE HRESULT IImnAccountManager_GetUniqueAccountName(IImnAccountManager* This,LPSTR szName,UINT cch) { + return This->lpVtbl->GetUniqueAccountName(This,szName,cch); +} +static FORCEINLINE HRESULT IImnAccountManager_InitEx(IImnAccountManager* This,IImnAdviseMigrateServer *pAdviseMigrateServer,DWORD dwFlags) { + return This->lpVtbl->InitEx(This,pAdviseMigrateServer,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IImnAccountManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImnAccountManager2 interface + */ +#ifndef __IImnAccountManager2_INTERFACE_DEFINED__ +#define __IImnAccountManager2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImnAccountManager2, 0xc43dfc6f, 0x62bb, 0x11d2, 0xa7,0x27, 0x00,0xc0,0x4f,0x79,0xe7,0xc8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c43dfc6f-62bb-11d2-a727-00c04f79e7c8") +IImnAccountManager2 : public IImnAccountManager +{ + virtual HRESULT STDMETHODCALLTYPE InitUser( + IImnAdviseMigrateServer *pAdviseMigrateServer, + REFGUID rguidID, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIncompleteAccount( + ACCTTYPE AcctType, + LPSTR pszAccountId, + ULONG cchMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIncompleteAccount( + ACCTTYPE AcctType, + LPCSTR pszAccountId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImnAccountManager2, 0xc43dfc6f, 0x62bb, 0x11d2, 0xa7,0x27, 0x00,0xc0,0x4f,0x79,0xe7,0xc8) +#endif +#else +typedef struct IImnAccountManager2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImnAccountManager2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImnAccountManager2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImnAccountManager2 *This); + + /*** IImnAccountManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + IImnAccountManager2 *This, + IImnAdviseMigrateServer *pAdviseMigrateServer); + + HRESULT (STDMETHODCALLTYPE *CreateAccountObject)( + IImnAccountManager2 *This, + ACCTTYPE AcctType, + IImnAccount **ppAccount); + + HRESULT (STDMETHODCALLTYPE *Enumerate)( + IImnAccountManager2 *This, + DWORD dwSrvTypes, + IImnEnumAccounts **ppEnumAccounts); + + HRESULT (STDMETHODCALLTYPE *GetAccountCount)( + IImnAccountManager2 *This, + ACCTTYPE AcctType, + ULONG *pcServers); + + HRESULT (STDMETHODCALLTYPE *FindAccount)( + IImnAccountManager2 *This, + DWORD dwPropTag, + LPCSTR pszSearchData, + IImnAccount **ppAccount); + + HRESULT (STDMETHODCALLTYPE *GetDefaultAccountName)( + IImnAccountManager2 *This, + ACCTTYPE AcctType, + LPSTR pszAccount, + ULONG cchMax); + + HRESULT (STDMETHODCALLTYPE *ProcessNotification)( + IImnAccountManager2 *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *ValidateDefaultSendAccount)( + IImnAccountManager2 *This); + + HRESULT (STDMETHODCALLTYPE *AccountListDialog)( + IImnAccountManager2 *This, + HWND hwnd, + ACCTLISTINFO *pinfo); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IImnAccountManager2 *This, + IImnAdviseAccount *pAdviseAccount, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IImnAccountManager2 *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *GetUniqueAccountName)( + IImnAccountManager2 *This, + LPSTR szName, + UINT cch); + + HRESULT (STDMETHODCALLTYPE *InitEx)( + IImnAccountManager2 *This, + IImnAdviseMigrateServer *pAdviseMigrateServer, + DWORD dwFlags); + + /*** IImnAccountManager2 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitUser)( + IImnAccountManager2 *This, + IImnAdviseMigrateServer *pAdviseMigrateServer, + REFGUID rguidID, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetIncompleteAccount)( + IImnAccountManager2 *This, + ACCTTYPE AcctType, + LPSTR pszAccountId, + ULONG cchMax); + + HRESULT (STDMETHODCALLTYPE *SetIncompleteAccount)( + IImnAccountManager2 *This, + ACCTTYPE AcctType, + LPCSTR pszAccountId); + + END_INTERFACE +} IImnAccountManager2Vtbl; + +interface IImnAccountManager2 { + CONST_VTBL IImnAccountManager2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImnAccountManager2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImnAccountManager2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImnAccountManager2_Release(This) (This)->lpVtbl->Release(This) +/*** IImnAccountManager methods ***/ +#define IImnAccountManager2_Init(This,pAdviseMigrateServer) (This)->lpVtbl->Init(This,pAdviseMigrateServer) +#define IImnAccountManager2_CreateAccountObject(This,AcctType,ppAccount) (This)->lpVtbl->CreateAccountObject(This,AcctType,ppAccount) +#define IImnAccountManager2_Enumerate(This,dwSrvTypes,ppEnumAccounts) (This)->lpVtbl->Enumerate(This,dwSrvTypes,ppEnumAccounts) +#define IImnAccountManager2_GetAccountCount(This,AcctType,pcServers) (This)->lpVtbl->GetAccountCount(This,AcctType,pcServers) +#define IImnAccountManager2_FindAccount(This,dwPropTag,pszSearchData,ppAccount) (This)->lpVtbl->FindAccount(This,dwPropTag,pszSearchData,ppAccount) +#define IImnAccountManager2_GetDefaultAccountName(This,AcctType,pszAccount,cchMax) (This)->lpVtbl->GetDefaultAccountName(This,AcctType,pszAccount,cchMax) +#define IImnAccountManager2_ProcessNotification(This,uMsg,wParam,lParam) (This)->lpVtbl->ProcessNotification(This,uMsg,wParam,lParam) +#define IImnAccountManager2_ValidateDefaultSendAccount(This) (This)->lpVtbl->ValidateDefaultSendAccount(This) +#define IImnAccountManager2_AccountListDialog(This,hwnd,pinfo) (This)->lpVtbl->AccountListDialog(This,hwnd,pinfo) +#define IImnAccountManager2_Advise(This,pAdviseAccount,pdwConnection) (This)->lpVtbl->Advise(This,pAdviseAccount,pdwConnection) +#define IImnAccountManager2_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection) +#define IImnAccountManager2_GetUniqueAccountName(This,szName,cch) (This)->lpVtbl->GetUniqueAccountName(This,szName,cch) +#define IImnAccountManager2_InitEx(This,pAdviseMigrateServer,dwFlags) (This)->lpVtbl->InitEx(This,pAdviseMigrateServer,dwFlags) +/*** IImnAccountManager2 methods ***/ +#define IImnAccountManager2_InitUser(This,pAdviseMigrateServer,rguidID,dwFlags) (This)->lpVtbl->InitUser(This,pAdviseMigrateServer,rguidID,dwFlags) +#define IImnAccountManager2_GetIncompleteAccount(This,AcctType,pszAccountId,cchMax) (This)->lpVtbl->GetIncompleteAccount(This,AcctType,pszAccountId,cchMax) +#define IImnAccountManager2_SetIncompleteAccount(This,AcctType,pszAccountId) (This)->lpVtbl->SetIncompleteAccount(This,AcctType,pszAccountId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImnAccountManager2_QueryInterface(IImnAccountManager2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImnAccountManager2_AddRef(IImnAccountManager2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImnAccountManager2_Release(IImnAccountManager2* This) { + return This->lpVtbl->Release(This); +} +/*** IImnAccountManager methods ***/ +static FORCEINLINE HRESULT IImnAccountManager2_Init(IImnAccountManager2* This,IImnAdviseMigrateServer *pAdviseMigrateServer) { + return This->lpVtbl->Init(This,pAdviseMigrateServer); +} +static FORCEINLINE HRESULT IImnAccountManager2_CreateAccountObject(IImnAccountManager2* This,ACCTTYPE AcctType,IImnAccount **ppAccount) { + return This->lpVtbl->CreateAccountObject(This,AcctType,ppAccount); +} +static FORCEINLINE HRESULT IImnAccountManager2_Enumerate(IImnAccountManager2* This,DWORD dwSrvTypes,IImnEnumAccounts **ppEnumAccounts) { + return This->lpVtbl->Enumerate(This,dwSrvTypes,ppEnumAccounts); +} +static FORCEINLINE HRESULT IImnAccountManager2_GetAccountCount(IImnAccountManager2* This,ACCTTYPE AcctType,ULONG *pcServers) { + return This->lpVtbl->GetAccountCount(This,AcctType,pcServers); +} +static FORCEINLINE HRESULT IImnAccountManager2_FindAccount(IImnAccountManager2* This,DWORD dwPropTag,LPCSTR pszSearchData,IImnAccount **ppAccount) { + return This->lpVtbl->FindAccount(This,dwPropTag,pszSearchData,ppAccount); +} +static FORCEINLINE HRESULT IImnAccountManager2_GetDefaultAccountName(IImnAccountManager2* This,ACCTTYPE AcctType,LPSTR pszAccount,ULONG cchMax) { + return This->lpVtbl->GetDefaultAccountName(This,AcctType,pszAccount,cchMax); +} +static FORCEINLINE HRESULT IImnAccountManager2_ProcessNotification(IImnAccountManager2* This,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->ProcessNotification(This,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT IImnAccountManager2_ValidateDefaultSendAccount(IImnAccountManager2* This) { + return This->lpVtbl->ValidateDefaultSendAccount(This); +} +static FORCEINLINE HRESULT IImnAccountManager2_AccountListDialog(IImnAccountManager2* This,HWND hwnd,ACCTLISTINFO *pinfo) { + return This->lpVtbl->AccountListDialog(This,hwnd,pinfo); +} +static FORCEINLINE HRESULT IImnAccountManager2_Advise(IImnAccountManager2* This,IImnAdviseAccount *pAdviseAccount,DWORD *pdwConnection) { + return This->lpVtbl->Advise(This,pAdviseAccount,pdwConnection); +} +static FORCEINLINE HRESULT IImnAccountManager2_Unadvise(IImnAccountManager2* This,DWORD dwConnection) { + return This->lpVtbl->Unadvise(This,dwConnection); +} +static FORCEINLINE HRESULT IImnAccountManager2_GetUniqueAccountName(IImnAccountManager2* This,LPSTR szName,UINT cch) { + return This->lpVtbl->GetUniqueAccountName(This,szName,cch); +} +static FORCEINLINE HRESULT IImnAccountManager2_InitEx(IImnAccountManager2* This,IImnAdviseMigrateServer *pAdviseMigrateServer,DWORD dwFlags) { + return This->lpVtbl->InitEx(This,pAdviseMigrateServer,dwFlags); +} +/*** IImnAccountManager2 methods ***/ +static FORCEINLINE HRESULT IImnAccountManager2_InitUser(IImnAccountManager2* This,IImnAdviseMigrateServer *pAdviseMigrateServer,REFGUID rguidID,DWORD dwFlags) { + return This->lpVtbl->InitUser(This,pAdviseMigrateServer,rguidID,dwFlags); +} +static FORCEINLINE HRESULT IImnAccountManager2_GetIncompleteAccount(IImnAccountManager2* This,ACCTTYPE AcctType,LPSTR pszAccountId,ULONG cchMax) { + return This->lpVtbl->GetIncompleteAccount(This,AcctType,pszAccountId,cchMax); +} +static FORCEINLINE HRESULT IImnAccountManager2_SetIncompleteAccount(IImnAccountManager2* This,ACCTTYPE AcctType,LPCSTR pszAccountId) { + return This->lpVtbl->SetIncompleteAccount(This,AcctType,pszAccountId); +} +#endif +#endif + +#endif + + +#endif /* __IImnAccountManager2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyContainer interface + */ +#ifndef __IPropertyContainer_INTERFACE_DEFINED__ +#define __IPropertyContainer_INTERFACE_DEFINED__ + +typedef enum __WIDL_imnact_generated_name_00000003 { + TYPE_ERROR = 1000, + TYPE_DWORD = 1001, + TYPE_LONG = 1002, + TYPE_WORD = 1003, + TYPE_SHORT = 1004, + TYPE_BYTE = 1005, + TYPE_CHAR = 1006, + TYPE_FILETIME = 1007, + TYPE_STRING = 1008, + TYPE_BINARY = 1009, + TYPE_FLAGS = 1010, + TYPE_STREAM = 1011, + TYPE_WSTRING = 1012, + TYPE_BOOL = 1013, + TYPE_PASS = 1014, + TYPE_LAST = 1015 +} PROPTYPE; +#ifdef WINE_NO_UNICODE_MACROS +#undef GetProp +#undef SetProp +#endif +DEFINE_GUID(IID_IPropertyContainer, 0xfd465484, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd465484-1384-11d0-abbd-0020afdfd10a") +IPropertyContainer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProp( + DWORD dwPropTag, + BYTE *pb, + ULONG *pcb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropDw( + DWORD dwPropTag, + DWORD *pdw) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropSz( + DWORD dwPropTag, + LPSTR psz, + ULONG cchMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProp( + DWORD dwPropTag, + BYTE *pb, + ULONG cb) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropDw( + DWORD dwPropTag, + DWORD dw) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropSz( + DWORD dwPropTag, + LPSTR psz) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyContainer, 0xfd465484, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a) +#endif +#else +typedef struct IPropertyContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyContainer *This); + + /*** IPropertyContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProp)( + IPropertyContainer *This, + DWORD dwPropTag, + BYTE *pb, + ULONG *pcb); + + HRESULT (STDMETHODCALLTYPE *GetPropDw)( + IPropertyContainer *This, + DWORD dwPropTag, + DWORD *pdw); + + HRESULT (STDMETHODCALLTYPE *GetPropSz)( + IPropertyContainer *This, + DWORD dwPropTag, + LPSTR psz, + ULONG cchMax); + + HRESULT (STDMETHODCALLTYPE *SetProp)( + IPropertyContainer *This, + DWORD dwPropTag, + BYTE *pb, + ULONG cb); + + HRESULT (STDMETHODCALLTYPE *SetPropDw)( + IPropertyContainer *This, + DWORD dwPropTag, + DWORD dw); + + HRESULT (STDMETHODCALLTYPE *SetPropSz)( + IPropertyContainer *This, + DWORD dwPropTag, + LPSTR psz); + + END_INTERFACE +} IPropertyContainerVtbl; + +interface IPropertyContainer { + CONST_VTBL IPropertyContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyContainer methods ***/ +#define IPropertyContainer_GetProp(This,dwPropTag,pb,pcb) (This)->lpVtbl->GetProp(This,dwPropTag,pb,pcb) +#define IPropertyContainer_GetPropDw(This,dwPropTag,pdw) (This)->lpVtbl->GetPropDw(This,dwPropTag,pdw) +#define IPropertyContainer_GetPropSz(This,dwPropTag,psz,cchMax) (This)->lpVtbl->GetPropSz(This,dwPropTag,psz,cchMax) +#define IPropertyContainer_SetProp(This,dwPropTag,pb,cb) (This)->lpVtbl->SetProp(This,dwPropTag,pb,cb) +#define IPropertyContainer_SetPropDw(This,dwPropTag,dw) (This)->lpVtbl->SetPropDw(This,dwPropTag,dw) +#define IPropertyContainer_SetPropSz(This,dwPropTag,psz) (This)->lpVtbl->SetPropSz(This,dwPropTag,psz) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyContainer_QueryInterface(IPropertyContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyContainer_AddRef(IPropertyContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyContainer_Release(IPropertyContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyContainer methods ***/ +static FORCEINLINE HRESULT IPropertyContainer_GetProp(IPropertyContainer* This,DWORD dwPropTag,BYTE *pb,ULONG *pcb) { + return This->lpVtbl->GetProp(This,dwPropTag,pb,pcb); +} +static FORCEINLINE HRESULT IPropertyContainer_GetPropDw(IPropertyContainer* This,DWORD dwPropTag,DWORD *pdw) { + return This->lpVtbl->GetPropDw(This,dwPropTag,pdw); +} +static FORCEINLINE HRESULT IPropertyContainer_GetPropSz(IPropertyContainer* This,DWORD dwPropTag,LPSTR psz,ULONG cchMax) { + return This->lpVtbl->GetPropSz(This,dwPropTag,psz,cchMax); +} +static FORCEINLINE HRESULT IPropertyContainer_SetProp(IPropertyContainer* This,DWORD dwPropTag,BYTE *pb,ULONG cb) { + return This->lpVtbl->SetProp(This,dwPropTag,pb,cb); +} +static FORCEINLINE HRESULT IPropertyContainer_SetPropDw(IPropertyContainer* This,DWORD dwPropTag,DWORD dw) { + return This->lpVtbl->SetPropDw(This,dwPropTag,dw); +} +static FORCEINLINE HRESULT IPropertyContainer_SetPropSz(IPropertyContainer* This,DWORD dwPropTag,LPSTR psz) { + return This->lpVtbl->SetPropSz(This,dwPropTag,psz); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImnAccount interface + */ +#ifndef __IImnAccount_INTERFACE_DEFINED__ +#define __IImnAccount_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImnAccount, 0xfd465482, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd465482-1384-11d0-abbd-0020afdfd10a") +IImnAccount : public IPropertyContainer +{ + virtual HRESULT STDMETHODCALLTYPE Exist( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAsDefault( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveChanges( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAccountType( + ACCTTYPE *pAcctType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetServerTypes( + DWORD *pdwSrvTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowProperties( + HWND hwnd, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateProperty( + DWORD dwPropTag, + BYTE *pb, + ULONG cb) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoWizard( + HWND hwnd, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoImportWizard( + HWND hwnd, + CLSID clsid, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImnAccount, 0xfd465482, 0x1384, 0x11d0, 0xab,0xbd, 0x00,0x20,0xaf,0xdf,0xd1,0x0a) +#endif +#else +typedef struct IImnAccountVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImnAccount *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImnAccount *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImnAccount *This); + + /*** IPropertyContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProp)( + IImnAccount *This, + DWORD dwPropTag, + BYTE *pb, + ULONG *pcb); + + HRESULT (STDMETHODCALLTYPE *GetPropDw)( + IImnAccount *This, + DWORD dwPropTag, + DWORD *pdw); + + HRESULT (STDMETHODCALLTYPE *GetPropSz)( + IImnAccount *This, + DWORD dwPropTag, + LPSTR psz, + ULONG cchMax); + + HRESULT (STDMETHODCALLTYPE *SetProp)( + IImnAccount *This, + DWORD dwPropTag, + BYTE *pb, + ULONG cb); + + HRESULT (STDMETHODCALLTYPE *SetPropDw)( + IImnAccount *This, + DWORD dwPropTag, + DWORD dw); + + HRESULT (STDMETHODCALLTYPE *SetPropSz)( + IImnAccount *This, + DWORD dwPropTag, + LPSTR psz); + + /*** IImnAccount methods ***/ + HRESULT (STDMETHODCALLTYPE *Exist)( + IImnAccount *This); + + HRESULT (STDMETHODCALLTYPE *SetAsDefault)( + IImnAccount *This); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IImnAccount *This); + + HRESULT (STDMETHODCALLTYPE *SaveChanges)( + IImnAccount *This); + + HRESULT (STDMETHODCALLTYPE *GetAccountType)( + IImnAccount *This, + ACCTTYPE *pAcctType); + + HRESULT (STDMETHODCALLTYPE *GetServerTypes)( + IImnAccount *This, + DWORD *pdwSrvTypes); + + HRESULT (STDMETHODCALLTYPE *ShowProperties)( + IImnAccount *This, + HWND hwnd, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ValidateProperty)( + IImnAccount *This, + DWORD dwPropTag, + BYTE *pb, + ULONG cb); + + HRESULT (STDMETHODCALLTYPE *DoWizard)( + IImnAccount *This, + HWND hwnd, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DoImportWizard)( + IImnAccount *This, + HWND hwnd, + CLSID clsid, + DWORD dwFlags); + + END_INTERFACE +} IImnAccountVtbl; + +interface IImnAccount { + CONST_VTBL IImnAccountVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImnAccount_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImnAccount_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImnAccount_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyContainer methods ***/ +#define IImnAccount_GetProp(This,dwPropTag,pb,pcb) (This)->lpVtbl->GetProp(This,dwPropTag,pb,pcb) +#define IImnAccount_GetPropDw(This,dwPropTag,pdw) (This)->lpVtbl->GetPropDw(This,dwPropTag,pdw) +#define IImnAccount_GetPropSz(This,dwPropTag,psz,cchMax) (This)->lpVtbl->GetPropSz(This,dwPropTag,psz,cchMax) +#define IImnAccount_SetProp(This,dwPropTag,pb,cb) (This)->lpVtbl->SetProp(This,dwPropTag,pb,cb) +#define IImnAccount_SetPropDw(This,dwPropTag,dw) (This)->lpVtbl->SetPropDw(This,dwPropTag,dw) +#define IImnAccount_SetPropSz(This,dwPropTag,psz) (This)->lpVtbl->SetPropSz(This,dwPropTag,psz) +/*** IImnAccount methods ***/ +#define IImnAccount_Exist(This) (This)->lpVtbl->Exist(This) +#define IImnAccount_SetAsDefault(This) (This)->lpVtbl->SetAsDefault(This) +#define IImnAccount_Delete(This) (This)->lpVtbl->Delete(This) +#define IImnAccount_SaveChanges(This) (This)->lpVtbl->SaveChanges(This) +#define IImnAccount_GetAccountType(This,pAcctType) (This)->lpVtbl->GetAccountType(This,pAcctType) +#define IImnAccount_GetServerTypes(This,pdwSrvTypes) (This)->lpVtbl->GetServerTypes(This,pdwSrvTypes) +#define IImnAccount_ShowProperties(This,hwnd,dwFlags) (This)->lpVtbl->ShowProperties(This,hwnd,dwFlags) +#define IImnAccount_ValidateProperty(This,dwPropTag,pb,cb) (This)->lpVtbl->ValidateProperty(This,dwPropTag,pb,cb) +#define IImnAccount_DoWizard(This,hwnd,dwFlags) (This)->lpVtbl->DoWizard(This,hwnd,dwFlags) +#define IImnAccount_DoImportWizard(This,hwnd,clsid,dwFlags) (This)->lpVtbl->DoImportWizard(This,hwnd,clsid,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImnAccount_QueryInterface(IImnAccount* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImnAccount_AddRef(IImnAccount* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImnAccount_Release(IImnAccount* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyContainer methods ***/ +static FORCEINLINE HRESULT IImnAccount_GetProp(IImnAccount* This,DWORD dwPropTag,BYTE *pb,ULONG *pcb) { + return This->lpVtbl->GetProp(This,dwPropTag,pb,pcb); +} +static FORCEINLINE HRESULT IImnAccount_GetPropDw(IImnAccount* This,DWORD dwPropTag,DWORD *pdw) { + return This->lpVtbl->GetPropDw(This,dwPropTag,pdw); +} +static FORCEINLINE HRESULT IImnAccount_GetPropSz(IImnAccount* This,DWORD dwPropTag,LPSTR psz,ULONG cchMax) { + return This->lpVtbl->GetPropSz(This,dwPropTag,psz,cchMax); +} +static FORCEINLINE HRESULT IImnAccount_SetProp(IImnAccount* This,DWORD dwPropTag,BYTE *pb,ULONG cb) { + return This->lpVtbl->SetProp(This,dwPropTag,pb,cb); +} +static FORCEINLINE HRESULT IImnAccount_SetPropDw(IImnAccount* This,DWORD dwPropTag,DWORD dw) { + return This->lpVtbl->SetPropDw(This,dwPropTag,dw); +} +static FORCEINLINE HRESULT IImnAccount_SetPropSz(IImnAccount* This,DWORD dwPropTag,LPSTR psz) { + return This->lpVtbl->SetPropSz(This,dwPropTag,psz); +} +/*** IImnAccount methods ***/ +static FORCEINLINE HRESULT IImnAccount_Exist(IImnAccount* This) { + return This->lpVtbl->Exist(This); +} +static FORCEINLINE HRESULT IImnAccount_SetAsDefault(IImnAccount* This) { + return This->lpVtbl->SetAsDefault(This); +} +static FORCEINLINE HRESULT IImnAccount_Delete(IImnAccount* This) { + return This->lpVtbl->Delete(This); +} +static FORCEINLINE HRESULT IImnAccount_SaveChanges(IImnAccount* This) { + return This->lpVtbl->SaveChanges(This); +} +static FORCEINLINE HRESULT IImnAccount_GetAccountType(IImnAccount* This,ACCTTYPE *pAcctType) { + return This->lpVtbl->GetAccountType(This,pAcctType); +} +static FORCEINLINE HRESULT IImnAccount_GetServerTypes(IImnAccount* This,DWORD *pdwSrvTypes) { + return This->lpVtbl->GetServerTypes(This,pdwSrvTypes); +} +static FORCEINLINE HRESULT IImnAccount_ShowProperties(IImnAccount* This,HWND hwnd,DWORD dwFlags) { + return This->lpVtbl->ShowProperties(This,hwnd,dwFlags); +} +static FORCEINLINE HRESULT IImnAccount_ValidateProperty(IImnAccount* This,DWORD dwPropTag,BYTE *pb,ULONG cb) { + return This->lpVtbl->ValidateProperty(This,dwPropTag,pb,cb); +} +static FORCEINLINE HRESULT IImnAccount_DoWizard(IImnAccount* This,HWND hwnd,DWORD dwFlags) { + return This->lpVtbl->DoWizard(This,hwnd,dwFlags); +} +static FORCEINLINE HRESULT IImnAccount_DoImportWizard(IImnAccount* This,HWND hwnd,CLSID clsid,DWORD dwFlags) { + return This->lpVtbl->DoImportWizard(This,hwnd,clsid,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IImnAccount_INTERFACE_DEFINED__ */ + +HRESULT WINAPI HrCreateAccountManager(IImnAccountManager **ppAccountManager); +HRESULT WINAPI ValidEmailAddress(LPSTR lpAddress); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __imnact_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnact.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnact.idl new file mode 100644 index 0000000..ee2460a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnact.idl @@ -0,0 +1,299 @@ +/* + * Copyright 2006 Robert Shearman for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + +interface IImnAccount; + +cpp_quote("#ifndef HR_E") +cpp_quote("#define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n)") +cpp_quote("#endif") +cpp_quote("#ifndef HR_S") +cpp_quote("#define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n)") +cpp_quote("#endif") + +typedef enum tagSMTPAUTHTYPE +{ + SMTP_AUTH_NONE, + SMTP_AUTH_SICILY, + SMTP_AUTH_USE_POP3ORIMAP_SETTINGS, + SMTP_AUTH_USE_SMTP_SETTINGS, +} SMTPAUTHTYPE; + +const SHORT CCHMAX_ORG_NAME = 256; +const SHORT CCHMAX_DISPLAY_NAME = 256; +const SHORT CCHMAX_ACCOUNT_NAME = 256; +const SHORT CCHMAX_SERVER_NAME = 256; +const SHORT CCHMAX_PASSWORD = 256; +const SHORT CCHMAX_USERNAME = 256; +const SHORT CCHMAX_EMAIL_ADDRESS = 256; +const SHORT CCHMAX_CONNECTOID = 256; +const SHORT CCHMAX_SEARCH_BASE = 256; +const SHORT CCHMAX_ROOT_FOLDER = 256; +const SHORT CCHMAX_SIGNATURE = 16; +const SHORT CCHMAX_SERVICE = 256; + +[ + object, + uuid(0A06BD31-166F-11D0-81B9-00C04FD85AB4), + pointer_default(unique) +] +interface IImnAdviseAccount : IUnknown +{ + typedef enum + { + ACCT_NEWS, + ACCT_MAIL, + ACCT_DIR_SERV, + ACCT_LAST + } ACCTTYPE; + + typedef struct tagAccountContext + { + ACCTTYPE AcctType; + LPSTR pszAccountID; + LPSTR pszOldName; + DWORD dwServerType; + } ACTX; + + HRESULT AdviseAccount( + [in] DWORD dwAdviseType, + [in] ACTX *pAcctCtx); +} + +[ + object, + uuid(8D0AED11-1638-11D0-81B9-00C04FD85AB4), + pointer_default(unique) +] +interface IImnAdviseMigrateServer : IUnknown +{ + HRESULT MigrateServer( + [in] DWORD dwSrvType, + [in] IImnAccount *pAccount); +} + +[ + object, + uuid(FD465483-1384-11D0-ABBD-0020AFDFD10A), + pointer_default(unique) +] +interface IImnEnumAccounts : IUnknown +{ + HRESULT GetCount( + [out] ULONG *pcItems); + + HRESULT SortByAccountName(); + + HRESULT GetNext( + [out] IImnAccount **ppAccount); + + HRESULT Reset(); +} + +[ + object, + uuid(FD465481-1384-11D0-ABBD-0020AFDFD10A), + pointer_default(unique) +] +interface IImnAccountManager : IUnknown +{ + typedef struct tagACCTLISTINFO + { + DWORD cbSize; + ACCTTYPE AcctTypeInit; + DWORD dwAcctFlags; + DWORD dwFlags; + } ACCTLISTINFO; + + HRESULT Init( + [in] IImnAdviseMigrateServer *pAdviseMigrateServer); + + HRESULT CreateAccountObject( + [in] ACCTTYPE AcctType, + [out] IImnAccount **ppAccount); + + HRESULT Enumerate( + [in] DWORD dwSrvTypes, + [out] IImnEnumAccounts **ppEnumAccounts); + + HRESULT GetAccountCount( + [in] ACCTTYPE AcctType, + [out] ULONG *pcServers); + + HRESULT FindAccount( + [in] DWORD dwPropTag, + [in] LPCSTR pszSearchData, + [out] IImnAccount **ppAccount); + + HRESULT GetDefaultAccountName( + [in] ACCTTYPE AcctType, + [in,ref] LPSTR pszAccount, + [in] ULONG cchMax); + + HRESULT ProcessNotification( + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT ValidateDefaultSendAccount(); + + HRESULT AccountListDialog( + [in] HWND hwnd, + [in] ACCTLISTINFO *pinfo); + + HRESULT Advise( + [in] IImnAdviseAccount *pAdviseAccount, + [out] DWORD *pdwConnection); + + HRESULT Unadvise( + [in] DWORD dwConnection); + + HRESULT GetUniqueAccountName( + [in] LPSTR szName, + [in] UINT cch); + + HRESULT InitEx( + [in] IImnAdviseMigrateServer *pAdviseMigrateServer, + [in] DWORD dwFlags); +} + +[ + object, + uuid(C43DFC6F-62BB-11D2-A727-00C04F79E7C8), + pointer_default(unique) +] +interface IImnAccountManager2 : IImnAccountManager +{ + HRESULT InitUser( + [in] IImnAdviseMigrateServer *pAdviseMigrateServer, + [in] REFGUID rguidID, + [in] DWORD dwFlags); + + HRESULT GetIncompleteAccount( + [in] ACCTTYPE AcctType, + [in,ref] LPSTR pszAccountId, + [in] ULONG cchMax); + + HRESULT SetIncompleteAccount( + [in] ACCTTYPE AcctType, + [in] LPCSTR pszAccountId); +} + +[ + object, + uuid(FD465484-1384-11D0-ABBD-0020AFDFD10A), + pointer_default(unique) +] +interface IPropertyContainer : IUnknown +{ + typedef enum + { + TYPE_ERROR = 1000, + TYPE_DWORD, + TYPE_LONG, + TYPE_WORD, + TYPE_SHORT, + TYPE_BYTE, + TYPE_CHAR, + TYPE_FILETIME, + TYPE_STRING, + TYPE_BINARY, + TYPE_FLAGS, + TYPE_STREAM, + TYPE_WSTRING, + TYPE_BOOL, + TYPE_PASS, + TYPE_LAST + } PROPTYPE; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetProp") +cpp_quote("#undef SetProp") +cpp_quote("#endif") + + HRESULT GetProp( + [in] DWORD dwPropTag, + [in,size_is(*pcb),ref] BYTE *pb, + [in] ULONG *pcb); + + HRESULT GetPropDw( + [in] DWORD dwPropTag, + [out] DWORD *pdw); + + HRESULT GetPropSz( + [in] DWORD dwPropTag, + [in,ref] LPSTR psz, + [in] ULONG cchMax); + + HRESULT SetProp( + [in] DWORD dwPropTag, + [in,size_is(cb)] BYTE *pb, + [in] ULONG cb); + + HRESULT SetPropDw( + [in] DWORD dwPropTag, + [in] DWORD dw); + + HRESULT SetPropSz( + [in] DWORD dwPropTag, + [in] LPSTR psz); +} + +[ + object, + uuid(FD465482-1384-11D0-ABBD-0020AFDFD10A), + pointer_default(unique) +] +interface IImnAccount : IPropertyContainer +{ + HRESULT Exist(); + + HRESULT SetAsDefault(); + + HRESULT Delete(); + + HRESULT SaveChanges(); + + HRESULT GetAccountType( + [out] ACCTTYPE *pAcctType); + + HRESULT GetServerTypes( + [out] DWORD *pdwSrvTypes); + + HRESULT ShowProperties( + [in] HWND hwnd, + [in] DWORD dwFlags); + + HRESULT ValidateProperty( + [in] DWORD dwPropTag, + [in,size_is(cb)] BYTE *pb, + [in] ULONG cb); + + HRESULT DoWizard( + [in] HWND hwnd, + [in] DWORD dwFlags); + + HRESULT DoImportWizard( + [in] HWND hwnd, + [in] CLSID clsid, + [in] DWORD dwFlags); +} + +cpp_quote("HRESULT WINAPI HrCreateAccountManager(IImnAccountManager **ppAccountManager);") +cpp_quote("HRESULT WINAPI ValidEmailAddress(LPSTR lpAddress);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnxport.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnxport.h new file mode 100644 index 0000000..530e28b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnxport.h @@ -0,0 +1,3290 @@ +/*** Autogenerated by WIDL 2.18 from imnxport.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __imnxport_h__ +#define __imnxport_h__ + +/* Forward declarations */ + +#ifndef __ITransportCallbackService_FWD_DEFINED__ +#define __ITransportCallbackService_FWD_DEFINED__ +typedef interface ITransportCallbackService ITransportCallbackService; +#ifdef __cplusplus +interface ITransportCallbackService; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransportCallback_FWD_DEFINED__ +#define __ITransportCallback_FWD_DEFINED__ +typedef interface ITransportCallback ITransportCallback; +#ifdef __cplusplus +interface ITransportCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetTransport_FWD_DEFINED__ +#define __IInternetTransport_FWD_DEFINED__ +typedef interface IInternetTransport IInternetTransport; +#ifdef __cplusplus +interface IInternetTransport; +#endif /* __cplusplus */ +#endif + +#ifndef __ISMTPCallback_FWD_DEFINED__ +#define __ISMTPCallback_FWD_DEFINED__ +typedef interface ISMTPCallback ISMTPCallback; +#ifdef __cplusplus +interface ISMTPCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __ISMTPTransport_FWD_DEFINED__ +#define __ISMTPTransport_FWD_DEFINED__ +typedef interface ISMTPTransport ISMTPTransport; +#ifdef __cplusplus +interface ISMTPTransport; +#endif /* __cplusplus */ +#endif + +#ifndef __ISMTPTransport2_FWD_DEFINED__ +#define __ISMTPTransport2_FWD_DEFINED__ +typedef interface ISMTPTransport2 ISMTPTransport2; +#ifdef __cplusplus +interface ISMTPTransport2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPOP3Callback_FWD_DEFINED__ +#define __IPOP3Callback_FWD_DEFINED__ +typedef interface IPOP3Callback IPOP3Callback; +#ifdef __cplusplus +interface IPOP3Callback; +#endif /* __cplusplus */ +#endif + +#ifndef __IPOP3Transport_FWD_DEFINED__ +#define __IPOP3Transport_FWD_DEFINED__ +typedef interface IPOP3Transport IPOP3Transport; +#ifdef __cplusplus +interface IPOP3Transport; +#endif /* __cplusplus */ +#endif + +#ifndef __IRangeList_FWD_DEFINED__ +#define __IRangeList_FWD_DEFINED__ +typedef interface IRangeList IRangeList; +#ifdef __cplusplus +interface IRangeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IIMAPCallback_FWD_DEFINED__ +#define __IIMAPCallback_FWD_DEFINED__ +typedef interface IIMAPCallback IIMAPCallback; +#ifdef __cplusplus +interface IIMAPCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IIMAPTransport_FWD_DEFINED__ +#define __IIMAPTransport_FWD_DEFINED__ +typedef interface IIMAPTransport IIMAPTransport; +#ifdef __cplusplus +interface IIMAPTransport; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IInternetTransport_FWD_DEFINED__ +#define __IInternetTransport_FWD_DEFINED__ +typedef interface IInternetTransport IInternetTransport; +#ifdef __cplusplus +interface IInternetTransport; +#endif /* __cplusplus */ +#endif + +#ifndef __ISMTPTransport_FWD_DEFINED__ +#define __ISMTPTransport_FWD_DEFINED__ +typedef interface ISMTPTransport ISMTPTransport; +#ifdef __cplusplus +interface ISMTPTransport; +#endif /* __cplusplus */ +#endif + +#ifndef __IPOP3Transport_FWD_DEFINED__ +#define __IPOP3Transport_FWD_DEFINED__ +typedef interface IPOP3Transport IPOP3Transport; +#ifdef __cplusplus +interface IPOP3Transport; +#endif /* __cplusplus */ +#endif + +#ifndef __IIMAPTransport_FWD_DEFINED__ +#define __IIMAPTransport_FWD_DEFINED__ +typedef interface IIMAPTransport IIMAPTransport; +#ifdef __cplusplus +interface IIMAPTransport; +#endif /* __cplusplus */ +#endif + +DEFINE_GUID(CLSID_IInternetMessageUrl, 0xca30cc91, 0xb1b3, 0x11d0, 0x85, 0xd0, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_ISMTPTransport, 0xfd853ce6, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_ISMTPTransport2, 0xdf2c7eC, 0x3435, 0x11d0, 0x81, 0xd0, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IPOP3Transport, 0xfd853ce7, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_INNTPTransport, 0xfd853ce8, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IRASTransport, 0xfd853ce9, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IRangeList, 0xfd853cea, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IIMAPTransport, 0xfd853ceb, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IHTTPMailTransport, 0x5a580c11, 0xe5eb, 0x11d1, 0xa8, 0x6e, 0x00, 0x00, 0xf8, 0x08, 0x4f, 0x96); +DEFINE_GUID(CLSID_IPropFindRequest, 0xbb847b8a, 0x054a, 0x11d2, 0xa8, 0x94, 0x00, 0x00, 0xf8, 0x08, 0x4f, 0x96); +DEFINE_GUID(CLSID_IPropPatchRequest, 0xea678830, 0x235d, 0x11d2, 0xa8, 0xb6, 0x00, 0x00, 0xf8, 0x08, 0x4f, 0x96); +#ifndef HR_E +#define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n) +#endif +#ifndef HR_S +#define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n) +#endif +#define IXP_E_LOAD_SICILY_FAILED HR_E(0xCC00) +#define IXP_E_INVALID_CERT_CN HR_E(0xCC01) +#define IXP_E_INVALID_CERT_DATE HR_E(0xCC02) +#define IXP_E_ALREADY_CONNECTED HR_E(0xCC03) +#define IXP_E_CONN HR_E(0xCC04) +#define IXP_E_NOT_CONNECTED HR_E(0xCC05) +#define IXP_E_CONN_SEND HR_E(0xCC06) +#define IXP_E_WOULD_BLOCK HR_E(0xCC07) +#define IXP_E_INVALID_STATE HR_E(0xCC08) +#define IXP_E_CONN_RECV HR_E(0xCC09) +#define IXP_E_INCOMPLETE HR_E(0xCC0A) +#define IXP_E_BUSY HR_E(0xCC0B) +#define IXP_E_NOT_INIT HR_E(0xCC0C) +#define IXP_E_CANT_FIND_HOST HR_E(0xCC0D) +#define IXP_E_FAILED_TO_CONNECT HR_E(0xCC0E) +#define IXP_E_CONNECTION_DROPPED HR_E(0xCC0F) +#define IXP_E_INVALID_ADDRESS HR_E(0xCC10) +#define IXP_E_INVALID_ADDRESS_LIST HR_E(0xCC11) +#define IXP_E_SOCKET_READ_ERROR HR_E(0xCC12) +#define IXP_E_SOCKET_WRITE_ERROR HR_E(0xCC13) +#define IXP_E_SCOKET_INIT_ERROR HR_E(0xCC14) +#define IXP_E_SOCKET_CONNECT_ERROR HR_E(0xCC15) +#define IXP_E_INVALID_ACCOUNT HR_E(0xCC16) +#define IXP_E_USER_CANCEL HR_E(0xCC17) +#define IXP_E_SICILY_LOGON_FAILED HR_E(0xCC18) +#define IXP_E_TIMEOUT HR_E(0xCC19) +#define IXP_E_SECURE_CONNECT_FAILED HR_E(0xCC1A) +#define IXP_E_SMTP_RESPONSE_ERROR HR_E(0xCC60) +#define IXP_E_SMTP_UNKNOWN_RESPONSE_CODE HR_E(0xCC61) +#define IXP_E_SMTP_500_SYNTAX_ERROR HR_E(0xCC62) +#define IXP_E_SMTP_501_PARAM_SYNTAX HR_E(0xCC63) +#define IXP_E_SMTP_502_COMMAND_NOTIMPL HR_E(0xCC64) +#define IXP_E_SMTP_503_COMMAND_SEQ HR_E(0xCC65) +#define IXP_E_SMTP_504_COMMAND_PARAM_NOTIMPL HR_E(0xCC66) +#define IXP_E_SMTP_421_NOT_AVAILABLE HR_E(0xCC67) +#define IXP_E_SMTP_450_MAILBOX_BUSY HR_E(0xCC68) +#define IXP_E_SMTP_550_MAILBOX_NOT_FOUND HR_E(0xCC69) +#define IXP_E_SMTP_451_ERROR_PROCESSING HR_E(0xCC6A) +#define IXP_E_SMTP_551_USER_NOT_LOCAL HR_E(0xCC6B) +#define IXP_E_SMTP_452_NO_SYSTEM_STORAGE HR_E(0xCC6C) +#define IXP_E_SMTP_552_STORAGE_OVERFLOW HR_E(0xCC6D) +#define IXP_E_SMTP_553_MAILBOX_NAME_SYNTAX HR_E(0xCC6E) +#define IXP_E_SMTP_554_TRANSACT_FAILED HR_E(0xCC6F) +#define IXP_E_SMTP_211_SYSTEM_STATUS HR_S(0xCC70) +#define IXP_E_SMTP_214_HELP_MESSAGE HR_S(0xCC71) +#define IXP_E_SMTP_220_READY HR_S(0xCC72) +#define IXP_E_SMTP_221_CLOSING HR_S(0xCC73) +#define IXP_E_SMTP_250_MAIL_ACTION_OKAY HR_S(0xCC74) +#define IXP_E_SMTP_251_FORWARDING_MAIL HR_S(0xCC75) +#define IXP_E_SMTP_354_START_MAIL_INPUT HR_S(0xCC76) +#define IXP_E_SMTP_CONTINUE HR_S(0xCC77) +#define IXP_E_SMTP_334_AUTH_READY_RESPONSE HR_S(0xCC78) +#define IXP_E_SMTP_245_AUTH_SUCCESS HR_S(0xCC79) +#define IXP_E_SMTP_REJECTED_SENDER HR_E(0xCC78) +#define IXP_E_SMTP_REJECTED_RECIPIENTS HR_E(0xCC79) +#define IXP_E_SMTP_NO_SENDER HR_E(0xCC7A) +#define IXP_E_SMTP_NO_RECIPIENTS HR_E(0xCC7B) +#define IXP_E_SMTP_530_STARTTLS_REQUIRED HR_E(0xCC7C) +#define IXP_E_SMTP_NO_STARTTLS_SUPPORT HR_E(0xCC7D) +#define IXP_E_SMTP_NO_DSN_SUPPORT HR_E(0xCC7E) +#define IXP_E_SMTP_454_STARTTLS_FAILED HR_E(0xCC7F) +#define CCHMAX_DOMAIN (256) + +#define CCHMAX_PHONE_NUMBER (128) + +#define DEFAULT_IMAP_PORT (143) + +#define DEFAULT_POP3_PORT (110) + +#define DEFAULT_SMTP_PORT (25) + +#define DEFAULT_NNTP_PORT (119) + +typedef enum tagINETADDRTYPE { + ADDR_TO = 0, + ADDR_FROM = 1, + ADDR_DSN_NEVER = 16, + ADDR_DSN_SUCCESS = 32, + ADDR_DSN_FAILURE = 64, + ADDR_DSN_DELAY = 128 +} INETADDRTYPE; +#define ADDR_TOFROM_MASK (0x1) + +#define ADDR_DSN_MASK (0xf0) + +typedef enum tagDSNRET { + DSNRET_DEFAULT = 0, + DSNRET_HDRS = 1, + DSNRET_FULL = 2 +} DSNRET; +typedef struct tagINETADDR { + INETADDRTYPE addrtype; + CHAR szEmail[256]; +} INETADDR; +typedef struct tagINETADDR *LPINETADDR; +typedef struct tagINETADDRLIST { + ULONG cAddress; + LPINETADDR prgAddress; +} INETADDRLIST; +typedef struct tagINETADDRLIST *LPINETADDRLIST; +typedef enum tagRASCONNTYPE { + RAS_CONNECT_LAN = 0, + RAS_CONNECT_MANUAL = 1, + RAS_CONNECT_RAS = 2 +} RASCONNTYPE; +typedef enum tagHTTPMAILPROPTYPE { + HTTPMAIL_PROP_INVALID = 0, + HTTPMAIL_PROP_ADBAR = 1, + HTTPMAIL_PROP_CONTACTS = 2, + HTTPMAIL_PROP_INBOX = 3, + HTTPMAIL_PROP_OUTBOX = 4, + HTTPMAIL_PROP_SENDMSG = 5, + HTTPMAIL_PROP_SENTITEMS = 6, + HTTPMAIL_PROP_DELETEDITEMS = 7, + HTTPMAIL_PROP_DRAFTS = 8, + HTTPMAIL_PROP_MSGFOLDERROOT = 9, + HTTPMAIL_PROP_SIG = 10, + HTTPMAIL_PROP_LAST = 11 +} HTTPMAILPROPTYPE; +typedef enum tagHTTPMAILSPECIALFOLDER { + HTTPMAIL_SF_NONE = 0, + HTTPMAIL_SF_UNRECOGNIZED = 1, + HTTPMAIL_SF_INBOX = 2, + HTTPMAIL_SF_DELETEDITEMS = 3, + HTTPMAIL_SF_DRAFTS = 4, + HTTPMAIL_SF_OUTBOX = 5, + HTTPMAIL_SF_SENTITEMS = 6, + HTTPMAIL_SF_CONTACTS = 7, + HTTPMAIL_SF_CALENDAR = 8, + HTTPMAIL_SF_MSNPROMO = 9, + HTTPMAIL_SF_LAST = 10 +} HTTPMAILSPECIALFOLDER; +typedef enum tagHTTPMAILCONTACTTYPE { + HTTPMAIL_CT_CONTACT = 0, + HTTPMAIL_CT_GROUP = 1, + HTTPMAIL_CT_LAST = 2 +} HTTPMAILCONTACTTYPE; +#define DAVNAMESPACE_UNKNOWN (0xffffffff) + +#define DAVNAMESPACE_DAV (0) + +#define DAVNAMESPACE_HOTMAIL (1) + +#define DAVNAMESPACE_HTTPMAIL (2) + +#define DAVNAMESPACE_MAIL (3) + +#define DAVNAMESPACE_CONTACTS (4) + +#define ISF_SMTP_USEIPFORHELO 0x01 +#define ISF_ALWAYSPROMPTFORPASSWORD 0x02 +#define ISF_SSLONSAMEPORT 0x04 +#define ISF_QUERYDSNSUPPORT 0x08 +#define ISF_QUERYAUTHSUPPORT 0x10 +typedef struct INETSERVER { + CHAR szAccount[256]; + CHAR szUserName[256]; + CHAR szPassword[256]; + CHAR szServerName[256]; + CHAR szConnectoid[256]; + RASCONNTYPE rasconntype; + DWORD dwPort; + BOOL fSSL; + BOOL fTrySicily; + DWORD dwTimeout; + DWORD dwFlags; +} INETSERVER; +typedef struct INETSERVER *LPINETSERVER; +typedef enum tagIXPTYPE { + IXP_NNTP = 0, + IXP_SMTP = 1, + IXP_POP3 = 2, + IXP_IMAP = 3, + IXP_RAS = 4, + IXP_HTTPMail = 5 +} IXPTYPE; +typedef enum tagIXPSTATUS { + IXP_FINDINGHOST = 0, + IXP_CONNECTING = 1, + IXP_SECURING = 2, + IXP_CONNECTED = 3, + IXP_AUTHORIZING = 4, + IXP_AUTHRETRY = 5, + IXP_AUTHORIZED = 6, + IXP_DISCONNECTING = 7, + IXP_DISCONNECTED = 8, + IXP_LAST = 9 +} IXPSTATUS; +#define DEPTH_INFINITY (0xfffffffe) + +typedef DWORD MEMBERINFOFLAGS; +#define HTTP_MEMBERINFO_COMMONPROPS (0x0) + +#define HTTP_MEMBERINFO_FOLDERPROPS (0x1) + +#define HTTP_MEMBERINFO_MESSAGEPROPS (0x2) + +#define HTTP_MEMBERINFO_ALLPROPS (HTTP_MEMBERINFO_FOLDERPROPS | HTTP_MEMBERINFO_MESSAGEPROPS) + +typedef DWORD IMAP_MSGFLAGS; +#define IMAP_MSG_NOFLAGS (0x0) + +#define IMAP_MSG_ANSWERED (0x1) + +#define IMAP_MSG_FLAGGED (0x2) + +#define IMAP_MSG_DELETED (0x4) + +#define IMAP_MSG_SEEN (0x8) + +#define IMAP_MSG_DRAFT (0x10) + +#define IMAP_MSG_ALLFLAGS (0x1f) + +/***************************************************************************** + * ITransportCallbackService interface + */ +#ifndef __ITransportCallbackService_INTERFACE_DEFINED__ +#define __ITransportCallbackService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransportCallbackService, 0xca30f3ff, 0xc9ac, 0x11d1, 0x9a,0x3a, 0x00,0xc0,0x4f,0xa3,0x09,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ca30f3ff-c9ac-11d1-9a3a-00c04fa309d4") +ITransportCallbackService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetParentWindow( + DWORD dwReserved, + HWND *phwndParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAccount( + LPDWORD pdwServerType, + IImnAccount **ppAccount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransportCallbackService, 0xca30f3ff, 0xc9ac, 0x11d1, 0x9a,0x3a, 0x00,0xc0,0x4f,0xa3,0x09,0xd4) +#endif +#else +typedef struct ITransportCallbackServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransportCallbackService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransportCallbackService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransportCallbackService *This); + + /*** ITransportCallbackService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetParentWindow)( + ITransportCallbackService *This, + DWORD dwReserved, + HWND *phwndParent); + + HRESULT (STDMETHODCALLTYPE *GetAccount)( + ITransportCallbackService *This, + LPDWORD pdwServerType, + IImnAccount **ppAccount); + + END_INTERFACE +} ITransportCallbackServiceVtbl; + +interface ITransportCallbackService { + CONST_VTBL ITransportCallbackServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransportCallbackService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransportCallbackService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransportCallbackService_Release(This) (This)->lpVtbl->Release(This) +/*** ITransportCallbackService methods ***/ +#define ITransportCallbackService_GetParentWindow(This,dwReserved,phwndParent) (This)->lpVtbl->GetParentWindow(This,dwReserved,phwndParent) +#define ITransportCallbackService_GetAccount(This,pdwServerType,ppAccount) (This)->lpVtbl->GetAccount(This,pdwServerType,ppAccount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransportCallbackService_QueryInterface(ITransportCallbackService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransportCallbackService_AddRef(ITransportCallbackService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransportCallbackService_Release(ITransportCallbackService* This) { + return This->lpVtbl->Release(This); +} +/*** ITransportCallbackService methods ***/ +static FORCEINLINE HRESULT ITransportCallbackService_GetParentWindow(ITransportCallbackService* This,DWORD dwReserved,HWND *phwndParent) { + return This->lpVtbl->GetParentWindow(This,dwReserved,phwndParent); +} +static FORCEINLINE HRESULT ITransportCallbackService_GetAccount(ITransportCallbackService* This,LPDWORD pdwServerType,IImnAccount **ppAccount) { + return This->lpVtbl->GetAccount(This,pdwServerType,ppAccount); +} +#endif +#endif + +#endif + + +#endif /* __ITransportCallbackService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransportCallback interface + */ +#ifndef __ITransportCallback_INTERFACE_DEFINED__ +#define __ITransportCallback_INTERFACE_DEFINED__ + +typedef struct tagIXPRESULT { + HRESULT hrResult; + LPSTR pszResponse; + UINT uiServerError; + HRESULT hrServerError; + DWORD dwSocketError; + LPSTR pszProblem; +} IXPRESULT; +typedef struct tagIXPRESULT *LPIXPRESULT; +typedef enum tagCMDTYPE { + CMD_SEND = 0, + CMD_RESP = 1 +} CMDTYPE; +DEFINE_GUID(IID_ITransportCallback, 0x0df2c7e1, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0df2c7e1-3435-11d0-81d0-00c04fd85ab4") +ITransportCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnTimeout( + DWORD *pdwTimeout, + IInternetTransport *pTransport) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnLogonPrompt( + LPINETSERVER pInetServer, + IInternetTransport *pTransport) = 0; + + virtual INT STDMETHODCALLTYPE OnPrompt( + HRESULT hrError, + LPCSTR pszText, + LPCSTR pszCaption, + UINT uType, + IInternetTransport *pTransport) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStatus( + IXPSTATUS ixpstatus, + IInternetTransport *pTransport) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnError( + IXPSTATUS ixpstatus, + LPIXPRESULT pResult, + IInternetTransport *pTransport) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnCommand( + CMDTYPE cmdtype, + LPSTR pszLine, + HRESULT hrResponse, + IInternetTransport *pTransport) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransportCallback, 0x0df2c7e1, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct ITransportCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransportCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransportCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransportCallback *This); + + /*** ITransportCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTimeout)( + ITransportCallback *This, + DWORD *pdwTimeout, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnLogonPrompt)( + ITransportCallback *This, + LPINETSERVER pInetServer, + IInternetTransport *pTransport); + + INT (STDMETHODCALLTYPE *OnPrompt)( + ITransportCallback *This, + HRESULT hrError, + LPCSTR pszText, + LPCSTR pszCaption, + UINT uType, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnStatus)( + ITransportCallback *This, + IXPSTATUS ixpstatus, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnError)( + ITransportCallback *This, + IXPSTATUS ixpstatus, + LPIXPRESULT pResult, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnCommand)( + ITransportCallback *This, + CMDTYPE cmdtype, + LPSTR pszLine, + HRESULT hrResponse, + IInternetTransport *pTransport); + + END_INTERFACE +} ITransportCallbackVtbl; + +interface ITransportCallback { + CONST_VTBL ITransportCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransportCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransportCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransportCallback_Release(This) (This)->lpVtbl->Release(This) +/*** ITransportCallback methods ***/ +#define ITransportCallback_OnTimeout(This,pdwTimeout,pTransport) (This)->lpVtbl->OnTimeout(This,pdwTimeout,pTransport) +#define ITransportCallback_OnLogonPrompt(This,pInetServer,pTransport) (This)->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport) +#define ITransportCallback_OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) (This)->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) +#define ITransportCallback_OnStatus(This,ixpstatus,pTransport) (This)->lpVtbl->OnStatus(This,ixpstatus,pTransport) +#define ITransportCallback_OnError(This,ixpstatus,pResult,pTransport) (This)->lpVtbl->OnError(This,ixpstatus,pResult,pTransport) +#define ITransportCallback_OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) (This)->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransportCallback_QueryInterface(ITransportCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransportCallback_AddRef(ITransportCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransportCallback_Release(ITransportCallback* This) { + return This->lpVtbl->Release(This); +} +/*** ITransportCallback methods ***/ +static FORCEINLINE HRESULT ITransportCallback_OnTimeout(ITransportCallback* This,DWORD *pdwTimeout,IInternetTransport *pTransport) { + return This->lpVtbl->OnTimeout(This,pdwTimeout,pTransport); +} +static FORCEINLINE HRESULT ITransportCallback_OnLogonPrompt(ITransportCallback* This,LPINETSERVER pInetServer,IInternetTransport *pTransport) { + return This->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport); +} +static FORCEINLINE INT ITransportCallback_OnPrompt(ITransportCallback* This,HRESULT hrError,LPCSTR pszText,LPCSTR pszCaption,UINT uType,IInternetTransport *pTransport) { + return This->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport); +} +static FORCEINLINE HRESULT ITransportCallback_OnStatus(ITransportCallback* This,IXPSTATUS ixpstatus,IInternetTransport *pTransport) { + return This->lpVtbl->OnStatus(This,ixpstatus,pTransport); +} +static FORCEINLINE HRESULT ITransportCallback_OnError(ITransportCallback* This,IXPSTATUS ixpstatus,LPIXPRESULT pResult,IInternetTransport *pTransport) { + return This->lpVtbl->OnError(This,ixpstatus,pResult,pTransport); +} +static FORCEINLINE HRESULT ITransportCallback_OnCommand(ITransportCallback* This,CMDTYPE cmdtype,LPSTR pszLine,HRESULT hrResponse,IInternetTransport *pTransport) { + return This->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport); +} +#endif +#endif + +#endif + + +#endif /* __ITransportCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetTransport interface + */ +#ifndef __IInternetTransport_INTERFACE_DEFINED__ +#define __IInternetTransport_INTERFACE_DEFINED__ + +#define iitAUTHENTICATE (TRUE) + +#define iitDONT_AUTHENTICATe (FALSE) + +#define iitENABLE_ONCOMMAND (TRUE) + +#define iitDISABLE_ONCOMMAND (FALSE) + +typedef enum tagIXPISSTATE { + IXP_IS_CONNECTED = 0, + IXP_IS_BUSY = 1, + IXP_IS_READY = 2, + IXP_IS_AUTHENTICATED = 3 +} IXPISSTATE; +DEFINE_GUID(IID_IInternetTransport, 0x1f636c01, 0x364e, 0x11d0, 0x81,0xd3, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f636c01-364e-11d0-81d3-00c04fd85ab4") +IInternetTransport : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetServerInfo( + LPINETSERVER pInetServer) = 0; + + virtual IXPTYPE STDMETHODCALLTYPE GetIXPType( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsState( + IXPISSTATE isstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE InetServerFromAccount( + IImnAccount *pAccount, + LPINETSERVER pInetServer) = 0; + + virtual HRESULT STDMETHODCALLTYPE Connect( + LPINETSERVER pInetServer, + boolean fAuthenticate, + boolean fCommandLogging) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandsOffCallback( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DropConnection( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + IXPSTATUS *pCurrentStatus) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetTransport, 0x1f636c01, 0x364e, 0x11d0, 0x81,0xd3, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IInternetTransportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetTransport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetTransport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetTransport *This); + + /*** IInternetTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *GetServerInfo)( + IInternetTransport *This, + LPINETSERVER pInetServer); + + IXPTYPE (STDMETHODCALLTYPE *GetIXPType)( + IInternetTransport *This); + + HRESULT (STDMETHODCALLTYPE *IsState)( + IInternetTransport *This, + IXPISSTATE isstate); + + HRESULT (STDMETHODCALLTYPE *InetServerFromAccount)( + IInternetTransport *This, + IImnAccount *pAccount, + LPINETSERVER pInetServer); + + HRESULT (STDMETHODCALLTYPE *Connect)( + IInternetTransport *This, + LPINETSERVER pInetServer, + boolean fAuthenticate, + boolean fCommandLogging); + + HRESULT (STDMETHODCALLTYPE *HandsOffCallback)( + IInternetTransport *This); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IInternetTransport *This); + + HRESULT (STDMETHODCALLTYPE *DropConnection)( + IInternetTransport *This); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IInternetTransport *This, + IXPSTATUS *pCurrentStatus); + + END_INTERFACE +} IInternetTransportVtbl; + +interface IInternetTransport { + CONST_VTBL IInternetTransportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetTransport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetTransport_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetTransport methods ***/ +#define IInternetTransport_GetServerInfo(This,pInetServer) (This)->lpVtbl->GetServerInfo(This,pInetServer) +#define IInternetTransport_GetIXPType(This) (This)->lpVtbl->GetIXPType(This) +#define IInternetTransport_IsState(This,isstate) (This)->lpVtbl->IsState(This,isstate) +#define IInternetTransport_InetServerFromAccount(This,pAccount,pInetServer) (This)->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer) +#define IInternetTransport_Connect(This,pInetServer,fAuthenticate,fCommandLogging) (This)->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging) +#define IInternetTransport_HandsOffCallback(This) (This)->lpVtbl->HandsOffCallback(This) +#define IInternetTransport_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IInternetTransport_DropConnection(This) (This)->lpVtbl->DropConnection(This) +#define IInternetTransport_GetStatus(This,pCurrentStatus) (This)->lpVtbl->GetStatus(This,pCurrentStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetTransport_QueryInterface(IInternetTransport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetTransport_AddRef(IInternetTransport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetTransport_Release(IInternetTransport* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetTransport methods ***/ +static FORCEINLINE HRESULT IInternetTransport_GetServerInfo(IInternetTransport* This,LPINETSERVER pInetServer) { + return This->lpVtbl->GetServerInfo(This,pInetServer); +} +static FORCEINLINE IXPTYPE IInternetTransport_GetIXPType(IInternetTransport* This) { + return This->lpVtbl->GetIXPType(This); +} +static FORCEINLINE HRESULT IInternetTransport_IsState(IInternetTransport* This,IXPISSTATE isstate) { + return This->lpVtbl->IsState(This,isstate); +} +static FORCEINLINE HRESULT IInternetTransport_InetServerFromAccount(IInternetTransport* This,IImnAccount *pAccount,LPINETSERVER pInetServer) { + return This->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer); +} +static FORCEINLINE HRESULT IInternetTransport_Connect(IInternetTransport* This,LPINETSERVER pInetServer,boolean fAuthenticate,boolean fCommandLogging) { + return This->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging); +} +static FORCEINLINE HRESULT IInternetTransport_HandsOffCallback(IInternetTransport* This) { + return This->lpVtbl->HandsOffCallback(This); +} +static FORCEINLINE HRESULT IInternetTransport_Disconnect(IInternetTransport* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IInternetTransport_DropConnection(IInternetTransport* This) { + return This->lpVtbl->DropConnection(This); +} +static FORCEINLINE HRESULT IInternetTransport_GetStatus(IInternetTransport* This,IXPSTATUS *pCurrentStatus) { + return This->lpVtbl->GetStatus(This,pCurrentStatus); +} +#endif +#endif + +#endif + + +#endif /* __IInternetTransport_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISMTPCallback interface + */ +#ifndef __ISMTPCallback_INTERFACE_DEFINED__ +#define __ISMTPCallback_INTERFACE_DEFINED__ + +typedef enum tagSMTPCOMMAND { + SMTP_NONE = 0, + SMTP_BANNER = 1, + SMTP_CONNECTED = 2, + SMTP_SEND_MESSAGE = 3, + SMTP_AUTH = 4, + SMTP_EHLO = 5, + SMTP_HELO = 6, + SMTP_MAIL = 7, + SMTP_RCPT = 8, + SMTP_RSET = 9, + SMTP_QUIT = 10, + SMTP_DATA = 11, + SMTP_DOT = 12, + SMTP_SEND_STREAM = 13, + SMTP_CUSTOM = 14 +} SMTPCOMMAND; +typedef struct tagSMTPSTREAM { + DWORD cbIncrement; + DWORD cbCurrent; + DWORD cbTotal; +} SMTPSTREAM; +typedef struct tagSMTPSTREAM *LPSMTPSTREAM; +typedef struct tagSMTPRESPONSE { + SMTPCOMMAND command; + BOOL fDone; + IXPRESULT rIxpResult; + ISMTPTransport *pTransport; + __C89_NAMELESS union { + SMTPSTREAM rStreamInfo; + } __C89_NAMELESSUNIONNAME; +} SMTPRESPONSE; +typedef struct tagSMTPRESPONSE *LPSMTPRESPONSE; +DEFINE_GUID(IID_ISMTPCallback, 0x1f636c02, 0x364e, 0x11d0, 0x81,0xd3, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f636c02-364e-11d0-81d3-00c04fd85ab4") +ISMTPCallback : public ITransportCallback +{ + virtual HRESULT STDMETHODCALLTYPE OnResponse( + LPSMTPRESPONSE pResponse) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISMTPCallback, 0x1f636c02, 0x364e, 0x11d0, 0x81,0xd3, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct ISMTPCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISMTPCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISMTPCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISMTPCallback *This); + + /*** ITransportCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTimeout)( + ISMTPCallback *This, + DWORD *pdwTimeout, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnLogonPrompt)( + ISMTPCallback *This, + LPINETSERVER pInetServer, + IInternetTransport *pTransport); + + INT (STDMETHODCALLTYPE *OnPrompt)( + ISMTPCallback *This, + HRESULT hrError, + LPCSTR pszText, + LPCSTR pszCaption, + UINT uType, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnStatus)( + ISMTPCallback *This, + IXPSTATUS ixpstatus, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnError)( + ISMTPCallback *This, + IXPSTATUS ixpstatus, + LPIXPRESULT pResult, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnCommand)( + ISMTPCallback *This, + CMDTYPE cmdtype, + LPSTR pszLine, + HRESULT hrResponse, + IInternetTransport *pTransport); + + /*** ISMTPCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnResponse)( + ISMTPCallback *This, + LPSMTPRESPONSE pResponse); + + END_INTERFACE +} ISMTPCallbackVtbl; + +interface ISMTPCallback { + CONST_VTBL ISMTPCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISMTPCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISMTPCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISMTPCallback_Release(This) (This)->lpVtbl->Release(This) +/*** ITransportCallback methods ***/ +#define ISMTPCallback_OnTimeout(This,pdwTimeout,pTransport) (This)->lpVtbl->OnTimeout(This,pdwTimeout,pTransport) +#define ISMTPCallback_OnLogonPrompt(This,pInetServer,pTransport) (This)->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport) +#define ISMTPCallback_OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) (This)->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) +#define ISMTPCallback_OnStatus(This,ixpstatus,pTransport) (This)->lpVtbl->OnStatus(This,ixpstatus,pTransport) +#define ISMTPCallback_OnError(This,ixpstatus,pResult,pTransport) (This)->lpVtbl->OnError(This,ixpstatus,pResult,pTransport) +#define ISMTPCallback_OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) (This)->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) +/*** ISMTPCallback methods ***/ +#define ISMTPCallback_OnResponse(This,pResponse) (This)->lpVtbl->OnResponse(This,pResponse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISMTPCallback_QueryInterface(ISMTPCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISMTPCallback_AddRef(ISMTPCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISMTPCallback_Release(ISMTPCallback* This) { + return This->lpVtbl->Release(This); +} +/*** ITransportCallback methods ***/ +static FORCEINLINE HRESULT ISMTPCallback_OnTimeout(ISMTPCallback* This,DWORD *pdwTimeout,IInternetTransport *pTransport) { + return This->lpVtbl->OnTimeout(This,pdwTimeout,pTransport); +} +static FORCEINLINE HRESULT ISMTPCallback_OnLogonPrompt(ISMTPCallback* This,LPINETSERVER pInetServer,IInternetTransport *pTransport) { + return This->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport); +} +static FORCEINLINE INT ISMTPCallback_OnPrompt(ISMTPCallback* This,HRESULT hrError,LPCSTR pszText,LPCSTR pszCaption,UINT uType,IInternetTransport *pTransport) { + return This->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport); +} +static FORCEINLINE HRESULT ISMTPCallback_OnStatus(ISMTPCallback* This,IXPSTATUS ixpstatus,IInternetTransport *pTransport) { + return This->lpVtbl->OnStatus(This,ixpstatus,pTransport); +} +static FORCEINLINE HRESULT ISMTPCallback_OnError(ISMTPCallback* This,IXPSTATUS ixpstatus,LPIXPRESULT pResult,IInternetTransport *pTransport) { + return This->lpVtbl->OnError(This,ixpstatus,pResult,pTransport); +} +static FORCEINLINE HRESULT ISMTPCallback_OnCommand(ISMTPCallback* This,CMDTYPE cmdtype,LPSTR pszLine,HRESULT hrResponse,IInternetTransport *pTransport) { + return This->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport); +} +/*** ISMTPCallback methods ***/ +static FORCEINLINE HRESULT ISMTPCallback_OnResponse(ISMTPCallback* This,LPSMTPRESPONSE pResponse) { + return This->lpVtbl->OnResponse(This,pResponse); +} +#endif +#endif + +#endif + + +#endif /* __ISMTPCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISMTPTransport interface + */ +#ifndef __ISMTPTransport_INTERFACE_DEFINED__ +#define __ISMTPTransport_INTERFACE_DEFINED__ + +typedef struct tagSMTPMESSAGE { + ULONG cbSize; + LPSTREAM pstmMsg; + INETADDRLIST rAddressList; +} SMTPMESSAGE; +typedef struct tagSMTPMESSAGE *LPSMTPMESSAGE; +#ifdef WINE_NO_UNICODE_MACROS +#undef SendMessage +#endif +DEFINE_GUID(IID_ISMTPTransport, 0x0df2c7e2, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0df2c7e2-3435-11d0-81d0-00c04fd85ab4") +ISMTPTransport : public IInternetTransport +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + LPSTR pszLogFilePath, + ISMTPCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendMessage( + LPSMTPMESSAGE pMessage) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandMAIL( + LPSTR pszEmailFrom) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandRCPT( + LPSTR pszEmailTo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandEHLO( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandHELO( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandAUTH( + LPSTR pszAuthType) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandQUIT( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandRSET( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandDOT( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendDataStream( + IStream *pStream, + ULONG cbSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISMTPTransport, 0x0df2c7e2, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct ISMTPTransportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISMTPTransport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISMTPTransport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISMTPTransport *This); + + /*** IInternetTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *GetServerInfo)( + ISMTPTransport *This, + LPINETSERVER pInetServer); + + IXPTYPE (STDMETHODCALLTYPE *GetIXPType)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *IsState)( + ISMTPTransport *This, + IXPISSTATE isstate); + + HRESULT (STDMETHODCALLTYPE *InetServerFromAccount)( + ISMTPTransport *This, + IImnAccount *pAccount, + LPINETSERVER pInetServer); + + HRESULT (STDMETHODCALLTYPE *Connect)( + ISMTPTransport *This, + LPINETSERVER pInetServer, + boolean fAuthenticate, + boolean fCommandLogging); + + HRESULT (STDMETHODCALLTYPE *HandsOffCallback)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *DropConnection)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + ISMTPTransport *This, + IXPSTATUS *pCurrentStatus); + + /*** ISMTPTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + ISMTPTransport *This, + LPSTR pszLogFilePath, + ISMTPCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *SendMessage)( + ISMTPTransport *This, + LPSMTPMESSAGE pMessage); + + HRESULT (STDMETHODCALLTYPE *CommandMAIL)( + ISMTPTransport *This, + LPSTR pszEmailFrom); + + HRESULT (STDMETHODCALLTYPE *CommandRCPT)( + ISMTPTransport *This, + LPSTR pszEmailTo); + + HRESULT (STDMETHODCALLTYPE *CommandEHLO)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *CommandHELO)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *CommandAUTH)( + ISMTPTransport *This, + LPSTR pszAuthType); + + HRESULT (STDMETHODCALLTYPE *CommandQUIT)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *CommandRSET)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *CommandDATA)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *CommandDOT)( + ISMTPTransport *This); + + HRESULT (STDMETHODCALLTYPE *SendDataStream)( + ISMTPTransport *This, + IStream *pStream, + ULONG cbSize); + + END_INTERFACE +} ISMTPTransportVtbl; + +interface ISMTPTransport { + CONST_VTBL ISMTPTransportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISMTPTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISMTPTransport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISMTPTransport_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetTransport methods ***/ +#define ISMTPTransport_GetServerInfo(This,pInetServer) (This)->lpVtbl->GetServerInfo(This,pInetServer) +#define ISMTPTransport_GetIXPType(This) (This)->lpVtbl->GetIXPType(This) +#define ISMTPTransport_IsState(This,isstate) (This)->lpVtbl->IsState(This,isstate) +#define ISMTPTransport_InetServerFromAccount(This,pAccount,pInetServer) (This)->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer) +#define ISMTPTransport_Connect(This,pInetServer,fAuthenticate,fCommandLogging) (This)->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging) +#define ISMTPTransport_HandsOffCallback(This) (This)->lpVtbl->HandsOffCallback(This) +#define ISMTPTransport_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define ISMTPTransport_DropConnection(This) (This)->lpVtbl->DropConnection(This) +#define ISMTPTransport_GetStatus(This,pCurrentStatus) (This)->lpVtbl->GetStatus(This,pCurrentStatus) +/*** ISMTPTransport methods ***/ +#define ISMTPTransport_InitNew(This,pszLogFilePath,pCallback) (This)->lpVtbl->InitNew(This,pszLogFilePath,pCallback) +#define ISMTPTransport_SendMessage(This,pMessage) (This)->lpVtbl->SendMessage(This,pMessage) +#define ISMTPTransport_CommandMAIL(This,pszEmailFrom) (This)->lpVtbl->CommandMAIL(This,pszEmailFrom) +#define ISMTPTransport_CommandRCPT(This,pszEmailTo) (This)->lpVtbl->CommandRCPT(This,pszEmailTo) +#define ISMTPTransport_CommandEHLO(This) (This)->lpVtbl->CommandEHLO(This) +#define ISMTPTransport_CommandHELO(This) (This)->lpVtbl->CommandHELO(This) +#define ISMTPTransport_CommandAUTH(This,pszAuthType) (This)->lpVtbl->CommandAUTH(This,pszAuthType) +#define ISMTPTransport_CommandQUIT(This) (This)->lpVtbl->CommandQUIT(This) +#define ISMTPTransport_CommandRSET(This) (This)->lpVtbl->CommandRSET(This) +#define ISMTPTransport_CommandDATA(This) (This)->lpVtbl->CommandDATA(This) +#define ISMTPTransport_CommandDOT(This) (This)->lpVtbl->CommandDOT(This) +#define ISMTPTransport_SendDataStream(This,pStream,cbSize) (This)->lpVtbl->SendDataStream(This,pStream,cbSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISMTPTransport_QueryInterface(ISMTPTransport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISMTPTransport_AddRef(ISMTPTransport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISMTPTransport_Release(ISMTPTransport* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetTransport methods ***/ +static FORCEINLINE HRESULT ISMTPTransport_GetServerInfo(ISMTPTransport* This,LPINETSERVER pInetServer) { + return This->lpVtbl->GetServerInfo(This,pInetServer); +} +static FORCEINLINE IXPTYPE ISMTPTransport_GetIXPType(ISMTPTransport* This) { + return This->lpVtbl->GetIXPType(This); +} +static FORCEINLINE HRESULT ISMTPTransport_IsState(ISMTPTransport* This,IXPISSTATE isstate) { + return This->lpVtbl->IsState(This,isstate); +} +static FORCEINLINE HRESULT ISMTPTransport_InetServerFromAccount(ISMTPTransport* This,IImnAccount *pAccount,LPINETSERVER pInetServer) { + return This->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer); +} +static FORCEINLINE HRESULT ISMTPTransport_Connect(ISMTPTransport* This,LPINETSERVER pInetServer,boolean fAuthenticate,boolean fCommandLogging) { + return This->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging); +} +static FORCEINLINE HRESULT ISMTPTransport_HandsOffCallback(ISMTPTransport* This) { + return This->lpVtbl->HandsOffCallback(This); +} +static FORCEINLINE HRESULT ISMTPTransport_Disconnect(ISMTPTransport* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT ISMTPTransport_DropConnection(ISMTPTransport* This) { + return This->lpVtbl->DropConnection(This); +} +static FORCEINLINE HRESULT ISMTPTransport_GetStatus(ISMTPTransport* This,IXPSTATUS *pCurrentStatus) { + return This->lpVtbl->GetStatus(This,pCurrentStatus); +} +/*** ISMTPTransport methods ***/ +static FORCEINLINE HRESULT ISMTPTransport_InitNew(ISMTPTransport* This,LPSTR pszLogFilePath,ISMTPCallback *pCallback) { + return This->lpVtbl->InitNew(This,pszLogFilePath,pCallback); +} +static FORCEINLINE HRESULT ISMTPTransport_SendMessage(ISMTPTransport* This,LPSMTPMESSAGE pMessage) { + return This->lpVtbl->SendMessage(This,pMessage); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandMAIL(ISMTPTransport* This,LPSTR pszEmailFrom) { + return This->lpVtbl->CommandMAIL(This,pszEmailFrom); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandRCPT(ISMTPTransport* This,LPSTR pszEmailTo) { + return This->lpVtbl->CommandRCPT(This,pszEmailTo); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandEHLO(ISMTPTransport* This) { + return This->lpVtbl->CommandEHLO(This); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandHELO(ISMTPTransport* This) { + return This->lpVtbl->CommandHELO(This); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandAUTH(ISMTPTransport* This,LPSTR pszAuthType) { + return This->lpVtbl->CommandAUTH(This,pszAuthType); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandQUIT(ISMTPTransport* This) { + return This->lpVtbl->CommandQUIT(This); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandRSET(ISMTPTransport* This) { + return This->lpVtbl->CommandRSET(This); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandDATA(ISMTPTransport* This) { + return This->lpVtbl->CommandDATA(This); +} +static FORCEINLINE HRESULT ISMTPTransport_CommandDOT(ISMTPTransport* This) { + return This->lpVtbl->CommandDOT(This); +} +static FORCEINLINE HRESULT ISMTPTransport_SendDataStream(ISMTPTransport* This,IStream *pStream,ULONG cbSize) { + return This->lpVtbl->SendDataStream(This,pStream,cbSize); +} +#endif +#endif + +#endif + + +#endif /* __ISMTPTransport_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISMTPTransport2 interface + */ +#ifndef __ISMTPTransport2_INTERFACE_DEFINED__ +#define __ISMTPTransport2_INTERFACE_DEFINED__ + +typedef struct tagSMTPMESSAGE2 { + SMTPMESSAGE smtpMsg; + LPSTR pszDSNENVID; + DSNRET dsnRet; + DWORD dwReserved; + DWORD dwReserved2; +} SMTPMESSAGE2; +typedef struct tagSMTPMESSAGE2 *LPSMTPMESSAGE2; +DEFINE_GUID(IID_ISMTPTransport2, 0x0df2c7ec, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0df2c7ec-3435-11d0-81d0-00c04fd85ab4") +ISMTPTransport2 : public ISMTPTransport +{ + virtual HRESULT STDMETHODCALLTYPE SetWindow( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetWindow( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendMessage2( + LPSMTPMESSAGE2 pMessage) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandRCPT2( + LPSTR pszEmailTo, + INETADDRTYPE atDSN) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISMTPTransport2, 0x0df2c7ec, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct ISMTPTransport2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISMTPTransport2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISMTPTransport2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISMTPTransport2 *This); + + /*** IInternetTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *GetServerInfo)( + ISMTPTransport2 *This, + LPINETSERVER pInetServer); + + IXPTYPE (STDMETHODCALLTYPE *GetIXPType)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *IsState)( + ISMTPTransport2 *This, + IXPISSTATE isstate); + + HRESULT (STDMETHODCALLTYPE *InetServerFromAccount)( + ISMTPTransport2 *This, + IImnAccount *pAccount, + LPINETSERVER pInetServer); + + HRESULT (STDMETHODCALLTYPE *Connect)( + ISMTPTransport2 *This, + LPINETSERVER pInetServer, + boolean fAuthenticate, + boolean fCommandLogging); + + HRESULT (STDMETHODCALLTYPE *HandsOffCallback)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *DropConnection)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + ISMTPTransport2 *This, + IXPSTATUS *pCurrentStatus); + + /*** ISMTPTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + ISMTPTransport2 *This, + LPSTR pszLogFilePath, + ISMTPCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *SendMessage)( + ISMTPTransport2 *This, + LPSMTPMESSAGE pMessage); + + HRESULT (STDMETHODCALLTYPE *CommandMAIL)( + ISMTPTransport2 *This, + LPSTR pszEmailFrom); + + HRESULT (STDMETHODCALLTYPE *CommandRCPT)( + ISMTPTransport2 *This, + LPSTR pszEmailTo); + + HRESULT (STDMETHODCALLTYPE *CommandEHLO)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *CommandHELO)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *CommandAUTH)( + ISMTPTransport2 *This, + LPSTR pszAuthType); + + HRESULT (STDMETHODCALLTYPE *CommandQUIT)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *CommandRSET)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *CommandDATA)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *CommandDOT)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *SendDataStream)( + ISMTPTransport2 *This, + IStream *pStream, + ULONG cbSize); + + /*** ISMTPTransport2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetWindow)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *ResetWindow)( + ISMTPTransport2 *This); + + HRESULT (STDMETHODCALLTYPE *SendMessage2)( + ISMTPTransport2 *This, + LPSMTPMESSAGE2 pMessage); + + HRESULT (STDMETHODCALLTYPE *CommandRCPT2)( + ISMTPTransport2 *This, + LPSTR pszEmailTo, + INETADDRTYPE atDSN); + + END_INTERFACE +} ISMTPTransport2Vtbl; + +interface ISMTPTransport2 { + CONST_VTBL ISMTPTransport2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISMTPTransport2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISMTPTransport2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISMTPTransport2_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetTransport methods ***/ +#define ISMTPTransport2_GetServerInfo(This,pInetServer) (This)->lpVtbl->GetServerInfo(This,pInetServer) +#define ISMTPTransport2_GetIXPType(This) (This)->lpVtbl->GetIXPType(This) +#define ISMTPTransport2_IsState(This,isstate) (This)->lpVtbl->IsState(This,isstate) +#define ISMTPTransport2_InetServerFromAccount(This,pAccount,pInetServer) (This)->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer) +#define ISMTPTransport2_Connect(This,pInetServer,fAuthenticate,fCommandLogging) (This)->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging) +#define ISMTPTransport2_HandsOffCallback(This) (This)->lpVtbl->HandsOffCallback(This) +#define ISMTPTransport2_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define ISMTPTransport2_DropConnection(This) (This)->lpVtbl->DropConnection(This) +#define ISMTPTransport2_GetStatus(This,pCurrentStatus) (This)->lpVtbl->GetStatus(This,pCurrentStatus) +/*** ISMTPTransport methods ***/ +#define ISMTPTransport2_InitNew(This,pszLogFilePath,pCallback) (This)->lpVtbl->InitNew(This,pszLogFilePath,pCallback) +#define ISMTPTransport2_SendMessage(This,pMessage) (This)->lpVtbl->SendMessage(This,pMessage) +#define ISMTPTransport2_CommandMAIL(This,pszEmailFrom) (This)->lpVtbl->CommandMAIL(This,pszEmailFrom) +#define ISMTPTransport2_CommandRCPT(This,pszEmailTo) (This)->lpVtbl->CommandRCPT(This,pszEmailTo) +#define ISMTPTransport2_CommandEHLO(This) (This)->lpVtbl->CommandEHLO(This) +#define ISMTPTransport2_CommandHELO(This) (This)->lpVtbl->CommandHELO(This) +#define ISMTPTransport2_CommandAUTH(This,pszAuthType) (This)->lpVtbl->CommandAUTH(This,pszAuthType) +#define ISMTPTransport2_CommandQUIT(This) (This)->lpVtbl->CommandQUIT(This) +#define ISMTPTransport2_CommandRSET(This) (This)->lpVtbl->CommandRSET(This) +#define ISMTPTransport2_CommandDATA(This) (This)->lpVtbl->CommandDATA(This) +#define ISMTPTransport2_CommandDOT(This) (This)->lpVtbl->CommandDOT(This) +#define ISMTPTransport2_SendDataStream(This,pStream,cbSize) (This)->lpVtbl->SendDataStream(This,pStream,cbSize) +/*** ISMTPTransport2 methods ***/ +#define ISMTPTransport2_SetWindow(This) (This)->lpVtbl->SetWindow(This) +#define ISMTPTransport2_ResetWindow(This) (This)->lpVtbl->ResetWindow(This) +#define ISMTPTransport2_SendMessage2(This,pMessage) (This)->lpVtbl->SendMessage2(This,pMessage) +#define ISMTPTransport2_CommandRCPT2(This,pszEmailTo,atDSN) (This)->lpVtbl->CommandRCPT2(This,pszEmailTo,atDSN) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISMTPTransport2_QueryInterface(ISMTPTransport2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISMTPTransport2_AddRef(ISMTPTransport2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISMTPTransport2_Release(ISMTPTransport2* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetTransport methods ***/ +static FORCEINLINE HRESULT ISMTPTransport2_GetServerInfo(ISMTPTransport2* This,LPINETSERVER pInetServer) { + return This->lpVtbl->GetServerInfo(This,pInetServer); +} +static FORCEINLINE IXPTYPE ISMTPTransport2_GetIXPType(ISMTPTransport2* This) { + return This->lpVtbl->GetIXPType(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_IsState(ISMTPTransport2* This,IXPISSTATE isstate) { + return This->lpVtbl->IsState(This,isstate); +} +static FORCEINLINE HRESULT ISMTPTransport2_InetServerFromAccount(ISMTPTransport2* This,IImnAccount *pAccount,LPINETSERVER pInetServer) { + return This->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer); +} +static FORCEINLINE HRESULT ISMTPTransport2_Connect(ISMTPTransport2* This,LPINETSERVER pInetServer,boolean fAuthenticate,boolean fCommandLogging) { + return This->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging); +} +static FORCEINLINE HRESULT ISMTPTransport2_HandsOffCallback(ISMTPTransport2* This) { + return This->lpVtbl->HandsOffCallback(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_Disconnect(ISMTPTransport2* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_DropConnection(ISMTPTransport2* This) { + return This->lpVtbl->DropConnection(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_GetStatus(ISMTPTransport2* This,IXPSTATUS *pCurrentStatus) { + return This->lpVtbl->GetStatus(This,pCurrentStatus); +} +/*** ISMTPTransport methods ***/ +static FORCEINLINE HRESULT ISMTPTransport2_InitNew(ISMTPTransport2* This,LPSTR pszLogFilePath,ISMTPCallback *pCallback) { + return This->lpVtbl->InitNew(This,pszLogFilePath,pCallback); +} +static FORCEINLINE HRESULT ISMTPTransport2_SendMessage(ISMTPTransport2* This,LPSMTPMESSAGE pMessage) { + return This->lpVtbl->SendMessage(This,pMessage); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandMAIL(ISMTPTransport2* This,LPSTR pszEmailFrom) { + return This->lpVtbl->CommandMAIL(This,pszEmailFrom); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandRCPT(ISMTPTransport2* This,LPSTR pszEmailTo) { + return This->lpVtbl->CommandRCPT(This,pszEmailTo); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandEHLO(ISMTPTransport2* This) { + return This->lpVtbl->CommandEHLO(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandHELO(ISMTPTransport2* This) { + return This->lpVtbl->CommandHELO(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandAUTH(ISMTPTransport2* This,LPSTR pszAuthType) { + return This->lpVtbl->CommandAUTH(This,pszAuthType); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandQUIT(ISMTPTransport2* This) { + return This->lpVtbl->CommandQUIT(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandRSET(ISMTPTransport2* This) { + return This->lpVtbl->CommandRSET(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandDATA(ISMTPTransport2* This) { + return This->lpVtbl->CommandDATA(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandDOT(ISMTPTransport2* This) { + return This->lpVtbl->CommandDOT(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_SendDataStream(ISMTPTransport2* This,IStream *pStream,ULONG cbSize) { + return This->lpVtbl->SendDataStream(This,pStream,cbSize); +} +/*** ISMTPTransport2 methods ***/ +static FORCEINLINE HRESULT ISMTPTransport2_SetWindow(ISMTPTransport2* This) { + return This->lpVtbl->SetWindow(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_ResetWindow(ISMTPTransport2* This) { + return This->lpVtbl->ResetWindow(This); +} +static FORCEINLINE HRESULT ISMTPTransport2_SendMessage2(ISMTPTransport2* This,LPSMTPMESSAGE2 pMessage) { + return This->lpVtbl->SendMessage2(This,pMessage); +} +static FORCEINLINE HRESULT ISMTPTransport2_CommandRCPT2(ISMTPTransport2* This,LPSTR pszEmailTo,INETADDRTYPE atDSN) { + return This->lpVtbl->CommandRCPT2(This,pszEmailTo,atDSN); +} +#endif +#endif + +#endif + + +#endif /* __ISMTPTransport2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPOP3Callback interface + */ +#ifndef __IPOP3Callback_INTERFACE_DEFINED__ +#define __IPOP3Callback_INTERFACE_DEFINED__ + +typedef enum tagPOP3COMMAND { + POP3_NONE = 0, + POP3_BANNER = 1, + POP3_CONNECTED = 2, + POP3_USER = 3, + POP3_PASS = 4, + POP3_AUTH = 5, + POP3_UIDL = 6, + POP3_STAT = 7, + POP3_LIST = 8, + POP3_DELE = 9, + POP3_RETR = 10, + POP3_TOP = 11, + POP3_NOOP = 12, + POP3_QUIT = 13, + POP3_RSET = 14, + POP3_CUSTOM = 15 +} POP3COMMAND; +typedef struct tagPOP3RETR { + BOOL fHeader; + BOOL fBody; + DWORD dwPopId; + DWORD cbSoFar; + LPSTR pszLines; + ULONG cbLines; +} POP3RETR; +typedef struct tagPOP3RETR *LPPOP3RETR; +typedef struct tagPOP3TOP { + BOOL fHeader; + BOOL fBody; + DWORD dwPopId; + DWORD cPreviewLines; + DWORD cbSoFar; + LPSTR pszLines; + ULONG cbLines; +} POP3TOP; +typedef struct tagPOP3TOP *LPPOP3TOP; +typedef struct tagPOP3LIST { + DWORD dwPopId; + DWORD cbSize; +} POP3LIST; +typedef struct tagPOP3LIST *LPPOP3LIST; +typedef struct tagPOP3UIDL { + DWORD dwPopId; + LPSTR pszUidl; +} POP3UIDL; +typedef struct tagPOP3UIDL *LPPOP3UIDL; +typedef struct tagPOP3STAT { + DWORD cMessages; + DWORD cbMessages; +} POP3STAT; +typedef struct tagPOP3STAT *LPPOP3STAT; +typedef struct tagPOP3RESPONSE { + POP3COMMAND command; + BOOL fDone; + IXPRESULT rIxpResult; + IPOP3Transport *pTransport; + BOOL fValidInfo; + __C89_NAMELESS union { + POP3UIDL rUidlInfo; + POP3STAT rStatInfo; + POP3LIST rListInfo; + DWORD dwPopId; + POP3RETR rRetrInfo; + POP3TOP rTopInfo; + } __C89_NAMELESSUNIONNAME; +} POP3RESPONSE; +typedef struct tagPOP3RESPONSE *LPPOP3RESPONSE; +DEFINE_GUID(IID_IPOP3Callback, 0x0df2c7e3, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0df2c7e3-3435-11d0-81d0-00c04fd85ab4") +IPOP3Callback : public ITransportCallback +{ + virtual HRESULT STDMETHODCALLTYPE OnResponse( + LPPOP3RESPONSE pResponse) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPOP3Callback, 0x0df2c7e3, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IPOP3CallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPOP3Callback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPOP3Callback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPOP3Callback *This); + + /*** ITransportCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTimeout)( + IPOP3Callback *This, + DWORD *pdwTimeout, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnLogonPrompt)( + IPOP3Callback *This, + LPINETSERVER pInetServer, + IInternetTransport *pTransport); + + INT (STDMETHODCALLTYPE *OnPrompt)( + IPOP3Callback *This, + HRESULT hrError, + LPCSTR pszText, + LPCSTR pszCaption, + UINT uType, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnStatus)( + IPOP3Callback *This, + IXPSTATUS ixpstatus, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnError)( + IPOP3Callback *This, + IXPSTATUS ixpstatus, + LPIXPRESULT pResult, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnCommand)( + IPOP3Callback *This, + CMDTYPE cmdtype, + LPSTR pszLine, + HRESULT hrResponse, + IInternetTransport *pTransport); + + /*** IPOP3Callback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnResponse)( + IPOP3Callback *This, + LPPOP3RESPONSE pResponse); + + END_INTERFACE +} IPOP3CallbackVtbl; + +interface IPOP3Callback { + CONST_VTBL IPOP3CallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPOP3Callback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPOP3Callback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPOP3Callback_Release(This) (This)->lpVtbl->Release(This) +/*** ITransportCallback methods ***/ +#define IPOP3Callback_OnTimeout(This,pdwTimeout,pTransport) (This)->lpVtbl->OnTimeout(This,pdwTimeout,pTransport) +#define IPOP3Callback_OnLogonPrompt(This,pInetServer,pTransport) (This)->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport) +#define IPOP3Callback_OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) (This)->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) +#define IPOP3Callback_OnStatus(This,ixpstatus,pTransport) (This)->lpVtbl->OnStatus(This,ixpstatus,pTransport) +#define IPOP3Callback_OnError(This,ixpstatus,pResult,pTransport) (This)->lpVtbl->OnError(This,ixpstatus,pResult,pTransport) +#define IPOP3Callback_OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) (This)->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) +/*** IPOP3Callback methods ***/ +#define IPOP3Callback_OnResponse(This,pResponse) (This)->lpVtbl->OnResponse(This,pResponse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPOP3Callback_QueryInterface(IPOP3Callback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPOP3Callback_AddRef(IPOP3Callback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPOP3Callback_Release(IPOP3Callback* This) { + return This->lpVtbl->Release(This); +} +/*** ITransportCallback methods ***/ +static FORCEINLINE HRESULT IPOP3Callback_OnTimeout(IPOP3Callback* This,DWORD *pdwTimeout,IInternetTransport *pTransport) { + return This->lpVtbl->OnTimeout(This,pdwTimeout,pTransport); +} +static FORCEINLINE HRESULT IPOP3Callback_OnLogonPrompt(IPOP3Callback* This,LPINETSERVER pInetServer,IInternetTransport *pTransport) { + return This->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport); +} +static FORCEINLINE INT IPOP3Callback_OnPrompt(IPOP3Callback* This,HRESULT hrError,LPCSTR pszText,LPCSTR pszCaption,UINT uType,IInternetTransport *pTransport) { + return This->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport); +} +static FORCEINLINE HRESULT IPOP3Callback_OnStatus(IPOP3Callback* This,IXPSTATUS ixpstatus,IInternetTransport *pTransport) { + return This->lpVtbl->OnStatus(This,ixpstatus,pTransport); +} +static FORCEINLINE HRESULT IPOP3Callback_OnError(IPOP3Callback* This,IXPSTATUS ixpstatus,LPIXPRESULT pResult,IInternetTransport *pTransport) { + return This->lpVtbl->OnError(This,ixpstatus,pResult,pTransport); +} +static FORCEINLINE HRESULT IPOP3Callback_OnCommand(IPOP3Callback* This,CMDTYPE cmdtype,LPSTR pszLine,HRESULT hrResponse,IInternetTransport *pTransport) { + return This->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport); +} +/*** IPOP3Callback methods ***/ +static FORCEINLINE HRESULT IPOP3Callback_OnResponse(IPOP3Callback* This,LPPOP3RESPONSE pResponse) { + return This->lpVtbl->OnResponse(This,pResponse); +} +#endif +#endif + +#endif + + +#endif /* __IPOP3Callback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPOP3Transport interface + */ +#ifndef __IPOP3Transport_INTERFACE_DEFINED__ +#define __IPOP3Transport_INTERFACE_DEFINED__ + +typedef enum tagPOP3CMDTYPE { + POP3CMD_GET_POPID = 0, + POP3CMD_GET_MARKED = 1, + POP3CMD_GET_ALL = 2 +} POP3CMDTYPE; +typedef enum tagPOP3MARKTYPE { + POP3_MARK_FOR_TOP = 0x1, + POP3_MARK_FOR_RETR = 0x2, + POP3_MARK_FOR_DELE = 0x4, + POP3_MARK_FOR_UIDL = 0x8, + POP3_MARK_FOR_LIST = 0x10 +} POP3MARKTYPE; +DEFINE_GUID(IID_IPOP3Transport, 0x0df2c7e4, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0df2c7e4-3435-11d0-81d0-00c04fd85ab4") +IPOP3Transport : public IInternetTransport +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + LPSTR pszLogFilePath, + IPOP3Callback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE MarkItem( + POP3MARKTYPE marktype, + DWORD dwPopId, + boolean fMarked) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandAUTH( + LPSTR pszAuthType) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandUSER( + LPSTR pszUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandPASS( + LPSTR pszPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandLIST( + POP3CMDTYPE cmdtype, + DWORD dwPopId) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandTOP( + POP3CMDTYPE cmdtype, + DWORD dwPopId, + DWORD cPreviewLines) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandQUIT( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandSTAT( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandNOOP( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandRSET( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandUIDL( + POP3CMDTYPE cmdtype, + DWORD dwPopId) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandDELE( + POP3CMDTYPE cmdtype, + DWORD dwPopId) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommandRETR( + POP3CMDTYPE cmdtype, + DWORD dwPopId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPOP3Transport, 0x0df2c7e4, 0x3435, 0x11d0, 0x81,0xd0, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IPOP3TransportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPOP3Transport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPOP3Transport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPOP3Transport *This); + + /*** IInternetTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *GetServerInfo)( + IPOP3Transport *This, + LPINETSERVER pInetServer); + + IXPTYPE (STDMETHODCALLTYPE *GetIXPType)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *IsState)( + IPOP3Transport *This, + IXPISSTATE isstate); + + HRESULT (STDMETHODCALLTYPE *InetServerFromAccount)( + IPOP3Transport *This, + IImnAccount *pAccount, + LPINETSERVER pInetServer); + + HRESULT (STDMETHODCALLTYPE *Connect)( + IPOP3Transport *This, + LPINETSERVER pInetServer, + boolean fAuthenticate, + boolean fCommandLogging); + + HRESULT (STDMETHODCALLTYPE *HandsOffCallback)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *DropConnection)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IPOP3Transport *This, + IXPSTATUS *pCurrentStatus); + + /*** IPOP3Transport methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPOP3Transport *This, + LPSTR pszLogFilePath, + IPOP3Callback *pCallback); + + HRESULT (STDMETHODCALLTYPE *MarkItem)( + IPOP3Transport *This, + POP3MARKTYPE marktype, + DWORD dwPopId, + boolean fMarked); + + HRESULT (STDMETHODCALLTYPE *CommandAUTH)( + IPOP3Transport *This, + LPSTR pszAuthType); + + HRESULT (STDMETHODCALLTYPE *CommandUSER)( + IPOP3Transport *This, + LPSTR pszUserName); + + HRESULT (STDMETHODCALLTYPE *CommandPASS)( + IPOP3Transport *This, + LPSTR pszPassword); + + HRESULT (STDMETHODCALLTYPE *CommandLIST)( + IPOP3Transport *This, + POP3CMDTYPE cmdtype, + DWORD dwPopId); + + HRESULT (STDMETHODCALLTYPE *CommandTOP)( + IPOP3Transport *This, + POP3CMDTYPE cmdtype, + DWORD dwPopId, + DWORD cPreviewLines); + + HRESULT (STDMETHODCALLTYPE *CommandQUIT)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *CommandSTAT)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *CommandNOOP)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *CommandRSET)( + IPOP3Transport *This); + + HRESULT (STDMETHODCALLTYPE *CommandUIDL)( + IPOP3Transport *This, + POP3CMDTYPE cmdtype, + DWORD dwPopId); + + HRESULT (STDMETHODCALLTYPE *CommandDELE)( + IPOP3Transport *This, + POP3CMDTYPE cmdtype, + DWORD dwPopId); + + HRESULT (STDMETHODCALLTYPE *CommandRETR)( + IPOP3Transport *This, + POP3CMDTYPE cmdtype, + DWORD dwPopId); + + END_INTERFACE +} IPOP3TransportVtbl; + +interface IPOP3Transport { + CONST_VTBL IPOP3TransportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPOP3Transport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPOP3Transport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPOP3Transport_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetTransport methods ***/ +#define IPOP3Transport_GetServerInfo(This,pInetServer) (This)->lpVtbl->GetServerInfo(This,pInetServer) +#define IPOP3Transport_GetIXPType(This) (This)->lpVtbl->GetIXPType(This) +#define IPOP3Transport_IsState(This,isstate) (This)->lpVtbl->IsState(This,isstate) +#define IPOP3Transport_InetServerFromAccount(This,pAccount,pInetServer) (This)->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer) +#define IPOP3Transport_Connect(This,pInetServer,fAuthenticate,fCommandLogging) (This)->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging) +#define IPOP3Transport_HandsOffCallback(This) (This)->lpVtbl->HandsOffCallback(This) +#define IPOP3Transport_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IPOP3Transport_DropConnection(This) (This)->lpVtbl->DropConnection(This) +#define IPOP3Transport_GetStatus(This,pCurrentStatus) (This)->lpVtbl->GetStatus(This,pCurrentStatus) +/*** IPOP3Transport methods ***/ +#define IPOP3Transport_InitNew(This,pszLogFilePath,pCallback) (This)->lpVtbl->InitNew(This,pszLogFilePath,pCallback) +#define IPOP3Transport_MarkItem(This,marktype,dwPopId,fMarked) (This)->lpVtbl->MarkItem(This,marktype,dwPopId,fMarked) +#define IPOP3Transport_CommandAUTH(This,pszAuthType) (This)->lpVtbl->CommandAUTH(This,pszAuthType) +#define IPOP3Transport_CommandUSER(This,pszUserName) (This)->lpVtbl->CommandUSER(This,pszUserName) +#define IPOP3Transport_CommandPASS(This,pszPassword) (This)->lpVtbl->CommandPASS(This,pszPassword) +#define IPOP3Transport_CommandLIST(This,cmdtype,dwPopId) (This)->lpVtbl->CommandLIST(This,cmdtype,dwPopId) +#define IPOP3Transport_CommandTOP(This,cmdtype,dwPopId,cPreviewLines) (This)->lpVtbl->CommandTOP(This,cmdtype,dwPopId,cPreviewLines) +#define IPOP3Transport_CommandQUIT(This) (This)->lpVtbl->CommandQUIT(This) +#define IPOP3Transport_CommandSTAT(This) (This)->lpVtbl->CommandSTAT(This) +#define IPOP3Transport_CommandNOOP(This) (This)->lpVtbl->CommandNOOP(This) +#define IPOP3Transport_CommandRSET(This) (This)->lpVtbl->CommandRSET(This) +#define IPOP3Transport_CommandUIDL(This,cmdtype,dwPopId) (This)->lpVtbl->CommandUIDL(This,cmdtype,dwPopId) +#define IPOP3Transport_CommandDELE(This,cmdtype,dwPopId) (This)->lpVtbl->CommandDELE(This,cmdtype,dwPopId) +#define IPOP3Transport_CommandRETR(This,cmdtype,dwPopId) (This)->lpVtbl->CommandRETR(This,cmdtype,dwPopId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPOP3Transport_QueryInterface(IPOP3Transport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPOP3Transport_AddRef(IPOP3Transport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPOP3Transport_Release(IPOP3Transport* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetTransport methods ***/ +static FORCEINLINE HRESULT IPOP3Transport_GetServerInfo(IPOP3Transport* This,LPINETSERVER pInetServer) { + return This->lpVtbl->GetServerInfo(This,pInetServer); +} +static FORCEINLINE IXPTYPE IPOP3Transport_GetIXPType(IPOP3Transport* This) { + return This->lpVtbl->GetIXPType(This); +} +static FORCEINLINE HRESULT IPOP3Transport_IsState(IPOP3Transport* This,IXPISSTATE isstate) { + return This->lpVtbl->IsState(This,isstate); +} +static FORCEINLINE HRESULT IPOP3Transport_InetServerFromAccount(IPOP3Transport* This,IImnAccount *pAccount,LPINETSERVER pInetServer) { + return This->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer); +} +static FORCEINLINE HRESULT IPOP3Transport_Connect(IPOP3Transport* This,LPINETSERVER pInetServer,boolean fAuthenticate,boolean fCommandLogging) { + return This->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging); +} +static FORCEINLINE HRESULT IPOP3Transport_HandsOffCallback(IPOP3Transport* This) { + return This->lpVtbl->HandsOffCallback(This); +} +static FORCEINLINE HRESULT IPOP3Transport_Disconnect(IPOP3Transport* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IPOP3Transport_DropConnection(IPOP3Transport* This) { + return This->lpVtbl->DropConnection(This); +} +static FORCEINLINE HRESULT IPOP3Transport_GetStatus(IPOP3Transport* This,IXPSTATUS *pCurrentStatus) { + return This->lpVtbl->GetStatus(This,pCurrentStatus); +} +/*** IPOP3Transport methods ***/ +static FORCEINLINE HRESULT IPOP3Transport_InitNew(IPOP3Transport* This,LPSTR pszLogFilePath,IPOP3Callback *pCallback) { + return This->lpVtbl->InitNew(This,pszLogFilePath,pCallback); +} +static FORCEINLINE HRESULT IPOP3Transport_MarkItem(IPOP3Transport* This,POP3MARKTYPE marktype,DWORD dwPopId,boolean fMarked) { + return This->lpVtbl->MarkItem(This,marktype,dwPopId,fMarked); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandAUTH(IPOP3Transport* This,LPSTR pszAuthType) { + return This->lpVtbl->CommandAUTH(This,pszAuthType); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandUSER(IPOP3Transport* This,LPSTR pszUserName) { + return This->lpVtbl->CommandUSER(This,pszUserName); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandPASS(IPOP3Transport* This,LPSTR pszPassword) { + return This->lpVtbl->CommandPASS(This,pszPassword); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandLIST(IPOP3Transport* This,POP3CMDTYPE cmdtype,DWORD dwPopId) { + return This->lpVtbl->CommandLIST(This,cmdtype,dwPopId); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandTOP(IPOP3Transport* This,POP3CMDTYPE cmdtype,DWORD dwPopId,DWORD cPreviewLines) { + return This->lpVtbl->CommandTOP(This,cmdtype,dwPopId,cPreviewLines); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandQUIT(IPOP3Transport* This) { + return This->lpVtbl->CommandQUIT(This); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandSTAT(IPOP3Transport* This) { + return This->lpVtbl->CommandSTAT(This); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandNOOP(IPOP3Transport* This) { + return This->lpVtbl->CommandNOOP(This); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandRSET(IPOP3Transport* This) { + return This->lpVtbl->CommandRSET(This); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandUIDL(IPOP3Transport* This,POP3CMDTYPE cmdtype,DWORD dwPopId) { + return This->lpVtbl->CommandUIDL(This,cmdtype,dwPopId); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandDELE(IPOP3Transport* This,POP3CMDTYPE cmdtype,DWORD dwPopId) { + return This->lpVtbl->CommandDELE(This,cmdtype,dwPopId); +} +static FORCEINLINE HRESULT IPOP3Transport_CommandRETR(IPOP3Transport* This,POP3CMDTYPE cmdtype,DWORD dwPopId) { + return This->lpVtbl->CommandRETR(This,cmdtype,dwPopId); +} +#endif +#endif + +#endif + + +#endif /* __IPOP3Transport_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRangeList interface + */ +#ifndef __IRangeList_INTERFACE_DEFINED__ +#define __IRangeList_INTERFACE_DEFINED__ + +#define RL_RANGE_ERROR ((ULONG)-1) + +#define RL_LAST_MESSAGE ((ULONG)-1) + +DEFINE_GUID(IID_IRangeList, 0x8c438160, 0x4ef6, 0x11d0, 0x87,0x4f, 0x00,0xaa,0x00,0x53,0x0e,0xe9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8c438160-4ef6-11d0-874f-00aa00530ee9") +IRangeList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsInRange( + const ULONG value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Min( + ULONG *pulMin) = 0; + + virtual HRESULT STDMETHODCALLTYPE Max( + ULONG *pulMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + byte **ppbDestination, + ULONG *pulSizeOfDestination) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + byte *pbSource, + const ULONG ulSizeOfSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRange( + const ULONG low, + const ULONG high) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSingleValue( + const ULONG value) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRangeList( + const IRangeList *prl) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteRange( + const ULONG low, + const ULONG high) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteSingleValue( + const ULONG value) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteRangeList( + const IRangeList *prl) = 0; + + virtual HRESULT STDMETHODCALLTYPE MinOfRange( + const ULONG value, + ULONG *pulMinOfRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE MaxOfRange( + const ULONG value, + ULONG *pulMaxOfRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE RangeToIMAPString( + LPSTR *ppszDestination, + LPDWORD pdwLengthOfDestination) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + const ULONG current, + ULONG *pulNext) = 0; + + virtual HRESULT STDMETHODCALLTYPE Prev( + const ULONG current, + ULONG *pulPrev) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cardinality( + ULONG *pulCardinality) = 0; + + virtual HRESULT STDMETHODCALLTYPE CardinalityFrom( + const ULONG ulStartPoint, + ULONG *pulCardinalityFrom) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRangeList, 0x8c438160, 0x4ef6, 0x11d0, 0x87,0x4f, 0x00,0xaa,0x00,0x53,0x0e,0xe9) +#endif +#else +typedef struct IRangeListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRangeList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRangeList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRangeList *This); + + /*** IRangeList methods ***/ + HRESULT (STDMETHODCALLTYPE *Clear)( + IRangeList *This); + + HRESULT (STDMETHODCALLTYPE *IsInRange)( + IRangeList *This, + const ULONG value); + + HRESULT (STDMETHODCALLTYPE *Min)( + IRangeList *This, + ULONG *pulMin); + + HRESULT (STDMETHODCALLTYPE *Max)( + IRangeList *This, + ULONG *pulMax); + + HRESULT (STDMETHODCALLTYPE *Save)( + IRangeList *This, + byte **ppbDestination, + ULONG *pulSizeOfDestination); + + HRESULT (STDMETHODCALLTYPE *Load)( + IRangeList *This, + byte *pbSource, + const ULONG ulSizeOfSource); + + HRESULT (STDMETHODCALLTYPE *AddRange)( + IRangeList *This, + const ULONG low, + const ULONG high); + + HRESULT (STDMETHODCALLTYPE *AddSingleValue)( + IRangeList *This, + const ULONG value); + + HRESULT (STDMETHODCALLTYPE *AddRangeList)( + IRangeList *This, + const IRangeList *prl); + + HRESULT (STDMETHODCALLTYPE *DeleteRange)( + IRangeList *This, + const ULONG low, + const ULONG high); + + HRESULT (STDMETHODCALLTYPE *DeleteSingleValue)( + IRangeList *This, + const ULONG value); + + HRESULT (STDMETHODCALLTYPE *DeleteRangeList)( + IRangeList *This, + const IRangeList *prl); + + HRESULT (STDMETHODCALLTYPE *MinOfRange)( + IRangeList *This, + const ULONG value, + ULONG *pulMinOfRange); + + HRESULT (STDMETHODCALLTYPE *MaxOfRange)( + IRangeList *This, + const ULONG value, + ULONG *pulMaxOfRange); + + HRESULT (STDMETHODCALLTYPE *RangeToIMAPString)( + IRangeList *This, + LPSTR *ppszDestination, + LPDWORD pdwLengthOfDestination); + + HRESULT (STDMETHODCALLTYPE *Next)( + IRangeList *This, + const ULONG current, + ULONG *pulNext); + + HRESULT (STDMETHODCALLTYPE *Prev)( + IRangeList *This, + const ULONG current, + ULONG *pulPrev); + + HRESULT (STDMETHODCALLTYPE *Cardinality)( + IRangeList *This, + ULONG *pulCardinality); + + HRESULT (STDMETHODCALLTYPE *CardinalityFrom)( + IRangeList *This, + const ULONG ulStartPoint, + ULONG *pulCardinalityFrom); + + END_INTERFACE +} IRangeListVtbl; + +interface IRangeList { + CONST_VTBL IRangeListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRangeList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRangeList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRangeList_Release(This) (This)->lpVtbl->Release(This) +/*** IRangeList methods ***/ +#define IRangeList_Clear(This) (This)->lpVtbl->Clear(This) +#define IRangeList_IsInRange(This,value) (This)->lpVtbl->IsInRange(This,value) +#define IRangeList_Min(This,pulMin) (This)->lpVtbl->Min(This,pulMin) +#define IRangeList_Max(This,pulMax) (This)->lpVtbl->Max(This,pulMax) +#define IRangeList_Save(This,ppbDestination,pulSizeOfDestination) (This)->lpVtbl->Save(This,ppbDestination,pulSizeOfDestination) +#define IRangeList_Load(This,pbSource,ulSizeOfSource) (This)->lpVtbl->Load(This,pbSource,ulSizeOfSource) +#define IRangeList_AddRange(This,low,high) (This)->lpVtbl->AddRange(This,low,high) +#define IRangeList_AddSingleValue(This,value) (This)->lpVtbl->AddSingleValue(This,value) +#define IRangeList_AddRangeList(This,prl) (This)->lpVtbl->AddRangeList(This,prl) +#define IRangeList_DeleteRange(This,low,high) (This)->lpVtbl->DeleteRange(This,low,high) +#define IRangeList_DeleteSingleValue(This,value) (This)->lpVtbl->DeleteSingleValue(This,value) +#define IRangeList_DeleteRangeList(This,prl) (This)->lpVtbl->DeleteRangeList(This,prl) +#define IRangeList_MinOfRange(This,value,pulMinOfRange) (This)->lpVtbl->MinOfRange(This,value,pulMinOfRange) +#define IRangeList_MaxOfRange(This,value,pulMaxOfRange) (This)->lpVtbl->MaxOfRange(This,value,pulMaxOfRange) +#define IRangeList_RangeToIMAPString(This,ppszDestination,pdwLengthOfDestination) (This)->lpVtbl->RangeToIMAPString(This,ppszDestination,pdwLengthOfDestination) +#define IRangeList_Next(This,current,pulNext) (This)->lpVtbl->Next(This,current,pulNext) +#define IRangeList_Prev(This,current,pulPrev) (This)->lpVtbl->Prev(This,current,pulPrev) +#define IRangeList_Cardinality(This,pulCardinality) (This)->lpVtbl->Cardinality(This,pulCardinality) +#define IRangeList_CardinalityFrom(This,ulStartPoint,pulCardinalityFrom) (This)->lpVtbl->CardinalityFrom(This,ulStartPoint,pulCardinalityFrom) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRangeList_QueryInterface(IRangeList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRangeList_AddRef(IRangeList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRangeList_Release(IRangeList* This) { + return This->lpVtbl->Release(This); +} +/*** IRangeList methods ***/ +static FORCEINLINE HRESULT IRangeList_Clear(IRangeList* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IRangeList_IsInRange(IRangeList* This,const ULONG value) { + return This->lpVtbl->IsInRange(This,value); +} +static FORCEINLINE HRESULT IRangeList_Min(IRangeList* This,ULONG *pulMin) { + return This->lpVtbl->Min(This,pulMin); +} +static FORCEINLINE HRESULT IRangeList_Max(IRangeList* This,ULONG *pulMax) { + return This->lpVtbl->Max(This,pulMax); +} +static FORCEINLINE HRESULT IRangeList_Save(IRangeList* This,byte **ppbDestination,ULONG *pulSizeOfDestination) { + return This->lpVtbl->Save(This,ppbDestination,pulSizeOfDestination); +} +static FORCEINLINE HRESULT IRangeList_Load(IRangeList* This,byte *pbSource,const ULONG ulSizeOfSource) { + return This->lpVtbl->Load(This,pbSource,ulSizeOfSource); +} +static FORCEINLINE HRESULT IRangeList_AddRange(IRangeList* This,const ULONG low,const ULONG high) { + return This->lpVtbl->AddRange(This,low,high); +} +static FORCEINLINE HRESULT IRangeList_AddSingleValue(IRangeList* This,const ULONG value) { + return This->lpVtbl->AddSingleValue(This,value); +} +static FORCEINLINE HRESULT IRangeList_AddRangeList(IRangeList* This,const IRangeList *prl) { + return This->lpVtbl->AddRangeList(This,prl); +} +static FORCEINLINE HRESULT IRangeList_DeleteRange(IRangeList* This,const ULONG low,const ULONG high) { + return This->lpVtbl->DeleteRange(This,low,high); +} +static FORCEINLINE HRESULT IRangeList_DeleteSingleValue(IRangeList* This,const ULONG value) { + return This->lpVtbl->DeleteSingleValue(This,value); +} +static FORCEINLINE HRESULT IRangeList_DeleteRangeList(IRangeList* This,const IRangeList *prl) { + return This->lpVtbl->DeleteRangeList(This,prl); +} +static FORCEINLINE HRESULT IRangeList_MinOfRange(IRangeList* This,const ULONG value,ULONG *pulMinOfRange) { + return This->lpVtbl->MinOfRange(This,value,pulMinOfRange); +} +static FORCEINLINE HRESULT IRangeList_MaxOfRange(IRangeList* This,const ULONG value,ULONG *pulMaxOfRange) { + return This->lpVtbl->MaxOfRange(This,value,pulMaxOfRange); +} +static FORCEINLINE HRESULT IRangeList_RangeToIMAPString(IRangeList* This,LPSTR *ppszDestination,LPDWORD pdwLengthOfDestination) { + return This->lpVtbl->RangeToIMAPString(This,ppszDestination,pdwLengthOfDestination); +} +static FORCEINLINE HRESULT IRangeList_Next(IRangeList* This,const ULONG current,ULONG *pulNext) { + return This->lpVtbl->Next(This,current,pulNext); +} +static FORCEINLINE HRESULT IRangeList_Prev(IRangeList* This,const ULONG current,ULONG *pulPrev) { + return This->lpVtbl->Prev(This,current,pulPrev); +} +static FORCEINLINE HRESULT IRangeList_Cardinality(IRangeList* This,ULONG *pulCardinality) { + return This->lpVtbl->Cardinality(This,pulCardinality); +} +static FORCEINLINE HRESULT IRangeList_CardinalityFrom(IRangeList* This,const ULONG ulStartPoint,ULONG *pulCardinalityFrom) { + return This->lpVtbl->CardinalityFrom(This,ulStartPoint,pulCardinalityFrom); +} +#endif +#endif + +#endif + + +#endif /* __IRangeList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IIMAPCallback interface + */ +#ifndef __IIMAPCallback_INTERFACE_DEFINED__ +#define __IIMAPCallback_INTERFACE_DEFINED__ + +typedef DWORD IMAP_MBOXFLAGS; +#define IMAP_MBOX_NOFLAGS (0x0) + +#define IMAP_MBOX_MARKED (0x1) + +#define IMAP_MBOX_NOINFERIORS (0x2) + +#define IMAP_MBOX_NOSELECT (0x4) + +#define IMAP_MBOX_UNMARKED (0x8) + +#define IMAP_MBOX_ALLFLAGS (0xf) + +typedef enum tagIMAP_RESPONSE_TYPE { + irtERROR_NOTIFICATION = 0, + irtCOMMAND_COMPLETION = 1, + irtSERVER_ALERT = 2, + irtPARSE_ERROR = 3, + irtMAILBOX_UPDATE = 4, + irtDELETED_MSG = 5, + irtFETCH_BODY = 6, + irtUPDATE_MSG = 7, + irtAPPLICABLE_FLAGS = 8, + irtPERMANENT_FLAGS = 9, + irtUIDVALIDITY = 10, + irtREADWRITE_STATUS = 11, + irtTRYCREATE = 12, + irtSEARCH = 13, + irtMAILBOX_LISTING = 14, + irtMAILBOX_STATUS = 15, + irtAPPEND_PROGRESS = 16, + irtUPDATE_MSG_EX = 17 +} IMAP_RESPONSE_TYPE; +typedef struct tagFETCH_BODY_PART { + DWORD dwMsgSeqNum; + LPSTR pszBodyTag; + DWORD dwTotalBytes; + DWORD dwSizeOfData; + DWORD dwOffset; + BOOL fDone; + LPSTR pszData; + LPARAM lpFetchCookie1; + LPARAM lpFetchCookie2; +} FETCH_BODY_PART; +typedef struct tagFETCH_CMD_RESULTS { + DWORD dwMsgSeqNum; + BOOL bMsgFlags; + IMAP_MSGFLAGS mfMsgFlags; + BOOL bRFC822Size; + DWORD dwRFC822Size; + BOOL bUID; + DWORD dwUID; + BOOL bInternalDate; + FILETIME ftInternalDate; + LPARAM lpFetchCookie1; + LPARAM lpFetchCookie2; +} FETCH_CMD_RESULTS; +typedef struct tagIMAPADDR { + LPSTR pszName; + LPSTR pszADL; + LPSTR pszMailbox; + LPSTR pszHost; + struct tagIMAPADDR *pNext; +} IMAPADDR; +typedef struct tagFETCH_CMD_RESULTS_EX { + DWORD dwMsgSeqNum; + BOOL bMsgFlags; + IMAP_MSGFLAGS mfMsgFlags; + BOOL bRFC822Size; + DWORD dwRFC822Size; + BOOL bUID; + DWORD dwUID; + BOOL bInternalDate; + FILETIME ftInternalDate; + LPARAM lpFetchCookie1; + LPARAM lpFetchCookie2; + BOOL bEnvelope; + FILETIME ftENVDate; + LPSTR pszENVSubject; + IMAPADDR *piaENVFrom; + IMAPADDR *piaENVSender; + IMAPADDR *piaENVReplyTo; + IMAPADDR *piaENVTo; + IMAPADDR *piaENVCc; + IMAPADDR *piaENVBcc; + LPSTR pszENVInReplyTo; + LPSTR pszENVMessageID; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; +} FETCH_CMD_RESULTS_EX; +typedef struct tagMBOX_MSGCOUNT { + BOOL bGotExistsResponse; + DWORD dwExists; + BOOL bGotRecentResponse; + DWORD dwRecent; + BOOL bGotUnseenResponse; + DWORD dwUnseen; +} MBOX_MSGCOUNT; +typedef struct tagIMAP_LISTLSUB_RESPONSE { + LPSTR pszMailboxName; + IMAP_MBOXFLAGS imfMboxFlags; + char cHierarchyChar; +} IMAP_LISTLSUB_RESPONSE; +typedef struct tagIMAP_STATUS_RESPONSE { + LPSTR pszMailboxName; + BOOL fMessages; + DWORD dwMessages; + BOOL fRecent; + DWORD dwRecent; + BOOL fUIDNext; + DWORD dwUIDNext; + BOOL fUIDValidity; + DWORD dwUIDValidity; + BOOL fUnseen; + DWORD dwUnseen; +} IMAP_STATUS_RESPONSE; +typedef struct tagAPPEND_PROGRESS { + DWORD dwUploaded; + DWORD dwTotal; +} APPEND_PROGRESS; +typedef union tagIMAP_RESPONSE_DATA { + MBOX_MSGCOUNT *pmcMsgCount; + DWORD dwDeletedMsgSeqNum; + FETCH_BODY_PART *pFetchBodyPart; + FETCH_CMD_RESULTS *pFetchResults; + IMAP_MSGFLAGS imfImapMessageFlags; + DWORD dwUIDValidity; + BOOL bReadWrite; + IRangeList *prlSearchResults; + IMAP_LISTLSUB_RESPONSE illrdMailboxListing; + IMAP_STATUS_RESPONSE *pisrStatusResponse; + APPEND_PROGRESS *papAppendProgress; + FETCH_CMD_RESULTS_EX *pFetchResultsEx; +} IMAP_RESPONSE_DATA; +typedef struct tagIMAP_RESPONSE { + WPARAM wParam; + LPARAM lParam; + HRESULT hrResult; + LPSTR lpszResponseText; + IMAP_RESPONSE_TYPE irtResponseType; + IMAP_RESPONSE_DATA irdResponseData; +} IMAP_RESPONSE; +DEFINE_GUID(IID_IIMAPCallback, 0xe9e9d8a3, 0x4edd, 0x11d0, 0x87,0x4f, 0x00,0xaa,0x00,0x53,0x0e,0xe9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e9e9d8a3-4edd-11d0-874f-00aa00530ee9") +IIMAPCallback : public ITransportCallback +{ + virtual HRESULT STDMETHODCALLTYPE OnResponse( + const IMAP_RESPONSE *pirIMAPResponse) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IIMAPCallback, 0xe9e9d8a3, 0x4edd, 0x11d0, 0x87,0x4f, 0x00,0xaa,0x00,0x53,0x0e,0xe9) +#endif +#else +typedef struct IIMAPCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IIMAPCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IIMAPCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IIMAPCallback *This); + + /*** ITransportCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTimeout)( + IIMAPCallback *This, + DWORD *pdwTimeout, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnLogonPrompt)( + IIMAPCallback *This, + LPINETSERVER pInetServer, + IInternetTransport *pTransport); + + INT (STDMETHODCALLTYPE *OnPrompt)( + IIMAPCallback *This, + HRESULT hrError, + LPCSTR pszText, + LPCSTR pszCaption, + UINT uType, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnStatus)( + IIMAPCallback *This, + IXPSTATUS ixpstatus, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnError)( + IIMAPCallback *This, + IXPSTATUS ixpstatus, + LPIXPRESULT pResult, + IInternetTransport *pTransport); + + HRESULT (STDMETHODCALLTYPE *OnCommand)( + IIMAPCallback *This, + CMDTYPE cmdtype, + LPSTR pszLine, + HRESULT hrResponse, + IInternetTransport *pTransport); + + /*** IIMAPCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnResponse)( + IIMAPCallback *This, + const IMAP_RESPONSE *pirIMAPResponse); + + END_INTERFACE +} IIMAPCallbackVtbl; + +interface IIMAPCallback { + CONST_VTBL IIMAPCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IIMAPCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IIMAPCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IIMAPCallback_Release(This) (This)->lpVtbl->Release(This) +/*** ITransportCallback methods ***/ +#define IIMAPCallback_OnTimeout(This,pdwTimeout,pTransport) (This)->lpVtbl->OnTimeout(This,pdwTimeout,pTransport) +#define IIMAPCallback_OnLogonPrompt(This,pInetServer,pTransport) (This)->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport) +#define IIMAPCallback_OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) (This)->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport) +#define IIMAPCallback_OnStatus(This,ixpstatus,pTransport) (This)->lpVtbl->OnStatus(This,ixpstatus,pTransport) +#define IIMAPCallback_OnError(This,ixpstatus,pResult,pTransport) (This)->lpVtbl->OnError(This,ixpstatus,pResult,pTransport) +#define IIMAPCallback_OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) (This)->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport) +/*** IIMAPCallback methods ***/ +#define IIMAPCallback_OnResponse(This,pirIMAPResponse) (This)->lpVtbl->OnResponse(This,pirIMAPResponse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IIMAPCallback_QueryInterface(IIMAPCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IIMAPCallback_AddRef(IIMAPCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IIMAPCallback_Release(IIMAPCallback* This) { + return This->lpVtbl->Release(This); +} +/*** ITransportCallback methods ***/ +static FORCEINLINE HRESULT IIMAPCallback_OnTimeout(IIMAPCallback* This,DWORD *pdwTimeout,IInternetTransport *pTransport) { + return This->lpVtbl->OnTimeout(This,pdwTimeout,pTransport); +} +static FORCEINLINE HRESULT IIMAPCallback_OnLogonPrompt(IIMAPCallback* This,LPINETSERVER pInetServer,IInternetTransport *pTransport) { + return This->lpVtbl->OnLogonPrompt(This,pInetServer,pTransport); +} +static FORCEINLINE INT IIMAPCallback_OnPrompt(IIMAPCallback* This,HRESULT hrError,LPCSTR pszText,LPCSTR pszCaption,UINT uType,IInternetTransport *pTransport) { + return This->lpVtbl->OnPrompt(This,hrError,pszText,pszCaption,uType,pTransport); +} +static FORCEINLINE HRESULT IIMAPCallback_OnStatus(IIMAPCallback* This,IXPSTATUS ixpstatus,IInternetTransport *pTransport) { + return This->lpVtbl->OnStatus(This,ixpstatus,pTransport); +} +static FORCEINLINE HRESULT IIMAPCallback_OnError(IIMAPCallback* This,IXPSTATUS ixpstatus,LPIXPRESULT pResult,IInternetTransport *pTransport) { + return This->lpVtbl->OnError(This,ixpstatus,pResult,pTransport); +} +static FORCEINLINE HRESULT IIMAPCallback_OnCommand(IIMAPCallback* This,CMDTYPE cmdtype,LPSTR pszLine,HRESULT hrResponse,IInternetTransport *pTransport) { + return This->lpVtbl->OnCommand(This,cmdtype,pszLine,hrResponse,pTransport); +} +/*** IIMAPCallback methods ***/ +static FORCEINLINE HRESULT IIMAPCallback_OnResponse(IIMAPCallback* This,const IMAP_RESPONSE *pirIMAPResponse) { + return This->lpVtbl->OnResponse(This,pirIMAPResponse); +} +#endif +#endif + +#endif + + +#endif /* __IIMAPCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IIMAPTransport interface + */ +#ifndef __IIMAPTransport_INTERFACE_DEFINED__ +#define __IIMAPTransport_INTERFACE_DEFINED__ + +#define IMAP_CAPABILITY_IMAP4 (0x1) + +#define IMAP_CAPABILITY_IMAP4rev1 (0x2) + +#define IMAP_CAPABILITY_IDLE (0x4) + +#define IMAP_CAPABILITY_ALLFLAGS (0x7) + +DEFINE_GUID(IID_IIMAPTransport, 0xe9e9d8a8, 0x4edd, 0x11d0, 0x87,0x4f, 0x00,0xaa,0x00,0x53,0x0e,0xe9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e9e9d8a8-4edd-11d0-874f-00aa00530ee9") +IIMAPTransport : public IInternetTransport +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + LPSTR pszLogFilePath, + IIMAPCallback *pCBHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewIRangeList( + IRangeList **pprlNewRangeList) = 0; + + virtual HRESULT STDMETHODCALLTYPE Capability( + DWORD *pdwCapabilityFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Select( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Examine( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Create( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rename( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName, + LPSTR lpszNewMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Subscribe( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unsubscribe( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE List( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxNameReference, + LPSTR lpszMailboxNamePattern) = 0; + + virtual HRESULT STDMETHODCALLTYPE Lsub( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxNameReference, + LPSTR lpszMailboxNamePattern) = 0; + + virtual HRESULT STDMETHODCALLTYPE Append( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName, + LPSTR lpszMessageFlags, + FILETIME ftMessageDateTime, + LPSTREAM lpstmMessageToSave) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE Expunge( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE Search( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszSearchCriteria, + boolean bReturnUIDs, + IRangeList *pMsgRange, + boolean bUIDRangeList) = 0; + + virtual HRESULT STDMETHODCALLTYPE Fetch( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + IRangeList *pMsgRange, + boolean bUIDMsgRange, + LPSTR lpszFetchArgs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Store( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + IRangeList *pMsgRange, + boolean bUIDRangeList, + LPSTR lpszStoreArgs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Copy( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + IRangeList *pMsgRange, + boolean bUIDRangeList, + LPSTR lpszMailboxName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Noop( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeMsgSeqNumTable( + DWORD dwSizeOfMbox) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateSeqNumToUID( + DWORD dwMsgSeqNum, + DWORD dwUID) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveSequenceNum( + DWORD dwDeletedMsgSeqNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE MsgSeqNumToUID( + DWORD dwMsgSeqNum, + DWORD *pdwUID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMsgSeqNumToUIDArray( + DWORD **ppdwMsgSeqNumToUIDArray, + DWORD *pdwNumberOfElements) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHighestMsgSeqNum( + DWORD *pdwHighestMSN) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetMsgSeqNumToUID( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultCBHandler( + IIMAPCallback *pCBHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE Status( + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR pszMailboxName, + LPSTR pszStatusCmdArgs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IIMAPTransport, 0xe9e9d8a8, 0x4edd, 0x11d0, 0x87,0x4f, 0x00,0xaa,0x00,0x53,0x0e,0xe9) +#endif +#else +typedef struct IIMAPTransportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IIMAPTransport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IIMAPTransport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IIMAPTransport *This); + + /*** IInternetTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *GetServerInfo)( + IIMAPTransport *This, + LPINETSERVER pInetServer); + + IXPTYPE (STDMETHODCALLTYPE *GetIXPType)( + IIMAPTransport *This); + + HRESULT (STDMETHODCALLTYPE *IsState)( + IIMAPTransport *This, + IXPISSTATE isstate); + + HRESULT (STDMETHODCALLTYPE *InetServerFromAccount)( + IIMAPTransport *This, + IImnAccount *pAccount, + LPINETSERVER pInetServer); + + HRESULT (STDMETHODCALLTYPE *Connect)( + IIMAPTransport *This, + LPINETSERVER pInetServer, + boolean fAuthenticate, + boolean fCommandLogging); + + HRESULT (STDMETHODCALLTYPE *HandsOffCallback)( + IIMAPTransport *This); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IIMAPTransport *This); + + HRESULT (STDMETHODCALLTYPE *DropConnection)( + IIMAPTransport *This); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IIMAPTransport *This, + IXPSTATUS *pCurrentStatus); + + /*** IIMAPTransport methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IIMAPTransport *This, + LPSTR pszLogFilePath, + IIMAPCallback *pCBHandler); + + HRESULT (STDMETHODCALLTYPE *NewIRangeList)( + IIMAPTransport *This, + IRangeList **pprlNewRangeList); + + HRESULT (STDMETHODCALLTYPE *Capability)( + IIMAPTransport *This, + DWORD *pdwCapabilityFlags); + + HRESULT (STDMETHODCALLTYPE *Select)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *Examine)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *Create)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *Rename)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName, + LPSTR lpszNewMailboxName); + + HRESULT (STDMETHODCALLTYPE *Subscribe)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *Unsubscribe)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *List)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxNameReference, + LPSTR lpszMailboxNamePattern); + + HRESULT (STDMETHODCALLTYPE *Lsub)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxNameReference, + LPSTR lpszMailboxNamePattern); + + HRESULT (STDMETHODCALLTYPE *Append)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszMailboxName, + LPSTR lpszMessageFlags, + FILETIME ftMessageDateTime, + LPSTREAM lpstmMessageToSave); + + HRESULT (STDMETHODCALLTYPE *Close)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler); + + HRESULT (STDMETHODCALLTYPE *Expunge)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler); + + HRESULT (STDMETHODCALLTYPE *Search)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR lpszSearchCriteria, + boolean bReturnUIDs, + IRangeList *pMsgRange, + boolean bUIDRangeList); + + HRESULT (STDMETHODCALLTYPE *Fetch)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + IRangeList *pMsgRange, + boolean bUIDMsgRange, + LPSTR lpszFetchArgs); + + HRESULT (STDMETHODCALLTYPE *Store)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + IRangeList *pMsgRange, + boolean bUIDRangeList, + LPSTR lpszStoreArgs); + + HRESULT (STDMETHODCALLTYPE *Copy)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + IRangeList *pMsgRange, + boolean bUIDRangeList, + LPSTR lpszMailboxName); + + HRESULT (STDMETHODCALLTYPE *Noop)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler); + + HRESULT (STDMETHODCALLTYPE *ResizeMsgSeqNumTable)( + IIMAPTransport *This, + DWORD dwSizeOfMbox); + + HRESULT (STDMETHODCALLTYPE *UpdateSeqNumToUID)( + IIMAPTransport *This, + DWORD dwMsgSeqNum, + DWORD dwUID); + + HRESULT (STDMETHODCALLTYPE *RemoveSequenceNum)( + IIMAPTransport *This, + DWORD dwDeletedMsgSeqNum); + + HRESULT (STDMETHODCALLTYPE *MsgSeqNumToUID)( + IIMAPTransport *This, + DWORD dwMsgSeqNum, + DWORD *pdwUID); + + HRESULT (STDMETHODCALLTYPE *GetMsgSeqNumToUIDArray)( + IIMAPTransport *This, + DWORD **ppdwMsgSeqNumToUIDArray, + DWORD *pdwNumberOfElements); + + HRESULT (STDMETHODCALLTYPE *GetHighestMsgSeqNum)( + IIMAPTransport *This, + DWORD *pdwHighestMSN); + + HRESULT (STDMETHODCALLTYPE *ResetMsgSeqNumToUID)( + IIMAPTransport *This); + + HRESULT (STDMETHODCALLTYPE *SetDefaultCBHandler)( + IIMAPTransport *This, + IIMAPCallback *pCBHandler); + + HRESULT (STDMETHODCALLTYPE *Status)( + IIMAPTransport *This, + WPARAM wParam, + LPARAM lParam, + IIMAPCallback *pCBHandler, + LPSTR pszMailboxName, + LPSTR pszStatusCmdArgs); + + END_INTERFACE +} IIMAPTransportVtbl; + +interface IIMAPTransport { + CONST_VTBL IIMAPTransportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IIMAPTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IIMAPTransport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IIMAPTransport_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetTransport methods ***/ +#define IIMAPTransport_GetServerInfo(This,pInetServer) (This)->lpVtbl->GetServerInfo(This,pInetServer) +#define IIMAPTransport_GetIXPType(This) (This)->lpVtbl->GetIXPType(This) +#define IIMAPTransport_IsState(This,isstate) (This)->lpVtbl->IsState(This,isstate) +#define IIMAPTransport_InetServerFromAccount(This,pAccount,pInetServer) (This)->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer) +#define IIMAPTransport_Connect(This,pInetServer,fAuthenticate,fCommandLogging) (This)->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging) +#define IIMAPTransport_HandsOffCallback(This) (This)->lpVtbl->HandsOffCallback(This) +#define IIMAPTransport_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IIMAPTransport_DropConnection(This) (This)->lpVtbl->DropConnection(This) +#define IIMAPTransport_GetStatus(This,pCurrentStatus) (This)->lpVtbl->GetStatus(This,pCurrentStatus) +/*** IIMAPTransport methods ***/ +#define IIMAPTransport_InitNew(This,pszLogFilePath,pCBHandler) (This)->lpVtbl->InitNew(This,pszLogFilePath,pCBHandler) +#define IIMAPTransport_NewIRangeList(This,pprlNewRangeList) (This)->lpVtbl->NewIRangeList(This,pprlNewRangeList) +#define IIMAPTransport_Capability(This,pdwCapabilityFlags) (This)->lpVtbl->Capability(This,pdwCapabilityFlags) +#define IIMAPTransport_Select(This,wParam,lParam,pCBHandler,lpszMailboxName) (This)->lpVtbl->Select(This,wParam,lParam,pCBHandler,lpszMailboxName) +#define IIMAPTransport_Examine(This,wParam,lParam,pCBHandler,lpszMailboxName) (This)->lpVtbl->Examine(This,wParam,lParam,pCBHandler,lpszMailboxName) +#define IIMAPTransport_Create(This,wParam,lParam,pCBHandler,lpszMailboxName) (This)->lpVtbl->Create(This,wParam,lParam,pCBHandler,lpszMailboxName) +#define IIMAPTransport_Delete(This,wParam,lParam,pCBHandler,lpszMailboxName) (This)->lpVtbl->Delete(This,wParam,lParam,pCBHandler,lpszMailboxName) +#define IIMAPTransport_Rename(This,wParam,lParam,pCBHandler,lpszMailboxName,lpszNewMailboxName) (This)->lpVtbl->Rename(This,wParam,lParam,pCBHandler,lpszMailboxName,lpszNewMailboxName) +#define IIMAPTransport_Subscribe(This,wParam,lParam,pCBHandler,lpszMailboxName) (This)->lpVtbl->Subscribe(This,wParam,lParam,pCBHandler,lpszMailboxName) +#define IIMAPTransport_Unsubscribe(This,wParam,lParam,pCBHandler,lpszMailboxName) (This)->lpVtbl->Unsubscribe(This,wParam,lParam,pCBHandler,lpszMailboxName) +#define IIMAPTransport_List(This,wParam,lParam,pCBHandler,lpszMailboxNameReference,lpszMailboxNamePattern) (This)->lpVtbl->List(This,wParam,lParam,pCBHandler,lpszMailboxNameReference,lpszMailboxNamePattern) +#define IIMAPTransport_Lsub(This,wParam,lParam,pCBHandler,lpszMailboxNameReference,lpszMailboxNamePattern) (This)->lpVtbl->Lsub(This,wParam,lParam,pCBHandler,lpszMailboxNameReference,lpszMailboxNamePattern) +#define IIMAPTransport_Append(This,wParam,lParam,pCBHandler,lpszMailboxName,lpszMessageFlags,ftMessageDateTime,lpstmMessageToSave) (This)->lpVtbl->Append(This,wParam,lParam,pCBHandler,lpszMailboxName,lpszMessageFlags,ftMessageDateTime,lpstmMessageToSave) +#define IIMAPTransport_Close(This,wParam,lParam,pCBHandler) (This)->lpVtbl->Close(This,wParam,lParam,pCBHandler) +#define IIMAPTransport_Expunge(This,wParam,lParam,pCBHandler) (This)->lpVtbl->Expunge(This,wParam,lParam,pCBHandler) +#define IIMAPTransport_Search(This,wParam,lParam,pCBHandler,lpszSearchCriteria,bReturnUIDs,pMsgRange,bUIDRangeList) (This)->lpVtbl->Search(This,wParam,lParam,pCBHandler,lpszSearchCriteria,bReturnUIDs,pMsgRange,bUIDRangeList) +#define IIMAPTransport_Fetch(This,wParam,lParam,pCBHandler,pMsgRange,bUIDMsgRange,lpszFetchArgs) (This)->lpVtbl->Fetch(This,wParam,lParam,pCBHandler,pMsgRange,bUIDMsgRange,lpszFetchArgs) +#define IIMAPTransport_Store(This,wParam,lParam,pCBHandler,pMsgRange,bUIDRangeList,lpszStoreArgs) (This)->lpVtbl->Store(This,wParam,lParam,pCBHandler,pMsgRange,bUIDRangeList,lpszStoreArgs) +#define IIMAPTransport_Copy(This,wParam,lParam,pCBHandler,pMsgRange,bUIDRangeList,lpszMailboxName) (This)->lpVtbl->Copy(This,wParam,lParam,pCBHandler,pMsgRange,bUIDRangeList,lpszMailboxName) +#define IIMAPTransport_Noop(This,wParam,lParam,pCBHandler) (This)->lpVtbl->Noop(This,wParam,lParam,pCBHandler) +#define IIMAPTransport_ResizeMsgSeqNumTable(This,dwSizeOfMbox) (This)->lpVtbl->ResizeMsgSeqNumTable(This,dwSizeOfMbox) +#define IIMAPTransport_UpdateSeqNumToUID(This,dwMsgSeqNum,dwUID) (This)->lpVtbl->UpdateSeqNumToUID(This,dwMsgSeqNum,dwUID) +#define IIMAPTransport_RemoveSequenceNum(This,dwDeletedMsgSeqNum) (This)->lpVtbl->RemoveSequenceNum(This,dwDeletedMsgSeqNum) +#define IIMAPTransport_MsgSeqNumToUID(This,dwMsgSeqNum,pdwUID) (This)->lpVtbl->MsgSeqNumToUID(This,dwMsgSeqNum,pdwUID) +#define IIMAPTransport_GetMsgSeqNumToUIDArray(This,ppdwMsgSeqNumToUIDArray,pdwNumberOfElements) (This)->lpVtbl->GetMsgSeqNumToUIDArray(This,ppdwMsgSeqNumToUIDArray,pdwNumberOfElements) +#define IIMAPTransport_GetHighestMsgSeqNum(This,pdwHighestMSN) (This)->lpVtbl->GetHighestMsgSeqNum(This,pdwHighestMSN) +#define IIMAPTransport_ResetMsgSeqNumToUID(This) (This)->lpVtbl->ResetMsgSeqNumToUID(This) +#define IIMAPTransport_SetDefaultCBHandler(This,pCBHandler) (This)->lpVtbl->SetDefaultCBHandler(This,pCBHandler) +#define IIMAPTransport_Status(This,wParam,lParam,pCBHandler,pszMailboxName,pszStatusCmdArgs) (This)->lpVtbl->Status(This,wParam,lParam,pCBHandler,pszMailboxName,pszStatusCmdArgs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IIMAPTransport_QueryInterface(IIMAPTransport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IIMAPTransport_AddRef(IIMAPTransport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IIMAPTransport_Release(IIMAPTransport* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetTransport methods ***/ +static FORCEINLINE HRESULT IIMAPTransport_GetServerInfo(IIMAPTransport* This,LPINETSERVER pInetServer) { + return This->lpVtbl->GetServerInfo(This,pInetServer); +} +static FORCEINLINE IXPTYPE IIMAPTransport_GetIXPType(IIMAPTransport* This) { + return This->lpVtbl->GetIXPType(This); +} +static FORCEINLINE HRESULT IIMAPTransport_IsState(IIMAPTransport* This,IXPISSTATE isstate) { + return This->lpVtbl->IsState(This,isstate); +} +static FORCEINLINE HRESULT IIMAPTransport_InetServerFromAccount(IIMAPTransport* This,IImnAccount *pAccount,LPINETSERVER pInetServer) { + return This->lpVtbl->InetServerFromAccount(This,pAccount,pInetServer); +} +static FORCEINLINE HRESULT IIMAPTransport_Connect(IIMAPTransport* This,LPINETSERVER pInetServer,boolean fAuthenticate,boolean fCommandLogging) { + return This->lpVtbl->Connect(This,pInetServer,fAuthenticate,fCommandLogging); +} +static FORCEINLINE HRESULT IIMAPTransport_HandsOffCallback(IIMAPTransport* This) { + return This->lpVtbl->HandsOffCallback(This); +} +static FORCEINLINE HRESULT IIMAPTransport_Disconnect(IIMAPTransport* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IIMAPTransport_DropConnection(IIMAPTransport* This) { + return This->lpVtbl->DropConnection(This); +} +static FORCEINLINE HRESULT IIMAPTransport_GetStatus(IIMAPTransport* This,IXPSTATUS *pCurrentStatus) { + return This->lpVtbl->GetStatus(This,pCurrentStatus); +} +/*** IIMAPTransport methods ***/ +static FORCEINLINE HRESULT IIMAPTransport_InitNew(IIMAPTransport* This,LPSTR pszLogFilePath,IIMAPCallback *pCBHandler) { + return This->lpVtbl->InitNew(This,pszLogFilePath,pCBHandler); +} +static FORCEINLINE HRESULT IIMAPTransport_NewIRangeList(IIMAPTransport* This,IRangeList **pprlNewRangeList) { + return This->lpVtbl->NewIRangeList(This,pprlNewRangeList); +} +static FORCEINLINE HRESULT IIMAPTransport_Capability(IIMAPTransport* This,DWORD *pdwCapabilityFlags) { + return This->lpVtbl->Capability(This,pdwCapabilityFlags); +} +static FORCEINLINE HRESULT IIMAPTransport_Select(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName) { + return This->lpVtbl->Select(This,wParam,lParam,pCBHandler,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Examine(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName) { + return This->lpVtbl->Examine(This,wParam,lParam,pCBHandler,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Create(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName) { + return This->lpVtbl->Create(This,wParam,lParam,pCBHandler,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Delete(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName) { + return This->lpVtbl->Delete(This,wParam,lParam,pCBHandler,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Rename(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName,LPSTR lpszNewMailboxName) { + return This->lpVtbl->Rename(This,wParam,lParam,pCBHandler,lpszMailboxName,lpszNewMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Subscribe(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName) { + return This->lpVtbl->Subscribe(This,wParam,lParam,pCBHandler,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Unsubscribe(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName) { + return This->lpVtbl->Unsubscribe(This,wParam,lParam,pCBHandler,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_List(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxNameReference,LPSTR lpszMailboxNamePattern) { + return This->lpVtbl->List(This,wParam,lParam,pCBHandler,lpszMailboxNameReference,lpszMailboxNamePattern); +} +static FORCEINLINE HRESULT IIMAPTransport_Lsub(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxNameReference,LPSTR lpszMailboxNamePattern) { + return This->lpVtbl->Lsub(This,wParam,lParam,pCBHandler,lpszMailboxNameReference,lpszMailboxNamePattern); +} +static FORCEINLINE HRESULT IIMAPTransport_Append(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszMailboxName,LPSTR lpszMessageFlags,FILETIME ftMessageDateTime,LPSTREAM lpstmMessageToSave) { + return This->lpVtbl->Append(This,wParam,lParam,pCBHandler,lpszMailboxName,lpszMessageFlags,ftMessageDateTime,lpstmMessageToSave); +} +static FORCEINLINE HRESULT IIMAPTransport_Close(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler) { + return This->lpVtbl->Close(This,wParam,lParam,pCBHandler); +} +static FORCEINLINE HRESULT IIMAPTransport_Expunge(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler) { + return This->lpVtbl->Expunge(This,wParam,lParam,pCBHandler); +} +static FORCEINLINE HRESULT IIMAPTransport_Search(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR lpszSearchCriteria,boolean bReturnUIDs,IRangeList *pMsgRange,boolean bUIDRangeList) { + return This->lpVtbl->Search(This,wParam,lParam,pCBHandler,lpszSearchCriteria,bReturnUIDs,pMsgRange,bUIDRangeList); +} +static FORCEINLINE HRESULT IIMAPTransport_Fetch(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,IRangeList *pMsgRange,boolean bUIDMsgRange,LPSTR lpszFetchArgs) { + return This->lpVtbl->Fetch(This,wParam,lParam,pCBHandler,pMsgRange,bUIDMsgRange,lpszFetchArgs); +} +static FORCEINLINE HRESULT IIMAPTransport_Store(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,IRangeList *pMsgRange,boolean bUIDRangeList,LPSTR lpszStoreArgs) { + return This->lpVtbl->Store(This,wParam,lParam,pCBHandler,pMsgRange,bUIDRangeList,lpszStoreArgs); +} +static FORCEINLINE HRESULT IIMAPTransport_Copy(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,IRangeList *pMsgRange,boolean bUIDRangeList,LPSTR lpszMailboxName) { + return This->lpVtbl->Copy(This,wParam,lParam,pCBHandler,pMsgRange,bUIDRangeList,lpszMailboxName); +} +static FORCEINLINE HRESULT IIMAPTransport_Noop(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler) { + return This->lpVtbl->Noop(This,wParam,lParam,pCBHandler); +} +static FORCEINLINE HRESULT IIMAPTransport_ResizeMsgSeqNumTable(IIMAPTransport* This,DWORD dwSizeOfMbox) { + return This->lpVtbl->ResizeMsgSeqNumTable(This,dwSizeOfMbox); +} +static FORCEINLINE HRESULT IIMAPTransport_UpdateSeqNumToUID(IIMAPTransport* This,DWORD dwMsgSeqNum,DWORD dwUID) { + return This->lpVtbl->UpdateSeqNumToUID(This,dwMsgSeqNum,dwUID); +} +static FORCEINLINE HRESULT IIMAPTransport_RemoveSequenceNum(IIMAPTransport* This,DWORD dwDeletedMsgSeqNum) { + return This->lpVtbl->RemoveSequenceNum(This,dwDeletedMsgSeqNum); +} +static FORCEINLINE HRESULT IIMAPTransport_MsgSeqNumToUID(IIMAPTransport* This,DWORD dwMsgSeqNum,DWORD *pdwUID) { + return This->lpVtbl->MsgSeqNumToUID(This,dwMsgSeqNum,pdwUID); +} +static FORCEINLINE HRESULT IIMAPTransport_GetMsgSeqNumToUIDArray(IIMAPTransport* This,DWORD **ppdwMsgSeqNumToUIDArray,DWORD *pdwNumberOfElements) { + return This->lpVtbl->GetMsgSeqNumToUIDArray(This,ppdwMsgSeqNumToUIDArray,pdwNumberOfElements); +} +static FORCEINLINE HRESULT IIMAPTransport_GetHighestMsgSeqNum(IIMAPTransport* This,DWORD *pdwHighestMSN) { + return This->lpVtbl->GetHighestMsgSeqNum(This,pdwHighestMSN); +} +static FORCEINLINE HRESULT IIMAPTransport_ResetMsgSeqNumToUID(IIMAPTransport* This) { + return This->lpVtbl->ResetMsgSeqNumToUID(This); +} +static FORCEINLINE HRESULT IIMAPTransport_SetDefaultCBHandler(IIMAPTransport* This,IIMAPCallback *pCBHandler) { + return This->lpVtbl->SetDefaultCBHandler(This,pCBHandler); +} +static FORCEINLINE HRESULT IIMAPTransport_Status(IIMAPTransport* This,WPARAM wParam,LPARAM lParam,IIMAPCallback *pCBHandler,LPSTR pszMailboxName,LPSTR pszStatusCmdArgs) { + return This->lpVtbl->Status(This,wParam,lParam,pCBHandler,pszMailboxName,pszStatusCmdArgs); +} +#endif +#endif + +#endif + + +#endif /* __IIMAPTransport_INTERFACE_DEFINED__ */ + +HRESULT WINAPI CreateRangeList(IRangeList **ppRangeList); +HRESULT WINAPI CreateSMTPTransport(ISMTPTransport **ppTransport); +HRESULT WINAPI CreatePOP3Transport(IPOP3Transport **ppTransport); +HRESULT WINAPI CreateIMAPTransport(IIMAPTransport **ppTransport); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __imnxport_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnxport.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnxport.idl new file mode 100644 index 0000000..bd85ff4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/imnxport.idl @@ -0,0 +1,1114 @@ +/* + * Copyright 2006 Robert Shearman for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "imnact.idl"; + +interface IInternetTransport; +interface ISMTPTransport; +interface IPOP3Transport; +interface IIMAPTransport; + +/* CLSIDs */ + +cpp_quote("DEFINE_GUID(CLSID_IInternetMessageUrl, 0xca30cc91, 0xb1b3, 0x11d0, 0x85, 0xd0, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_ISMTPTransport, 0xfd853ce6, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_ISMTPTransport2, 0xdf2c7eC, 0x3435, 0x11d0, 0x81, 0xd0, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IPOP3Transport, 0xfd853ce7, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_INNTPTransport, 0xfd853ce8, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IRASTransport, 0xfd853ce9, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IRangeList, 0xfd853cea, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IIMAPTransport, 0xfd853ceb, 0x7f86, 0x11d0, 0x82, 0x52, 0x00, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IHTTPMailTransport, 0x5a580c11, 0xe5eb, 0x11d1, 0xa8, 0x6e, 0x00, 0x00, 0xf8, 0x08, 0x4f, 0x96);") +cpp_quote("DEFINE_GUID(CLSID_IPropFindRequest, 0xbb847b8a, 0x054a, 0x11d2, 0xa8, 0x94, 0x00, 0x00, 0xf8, 0x08, 0x4f, 0x96);") +cpp_quote("DEFINE_GUID(CLSID_IPropPatchRequest, 0xea678830, 0x235d, 0x11d2, 0xa8, 0xb6, 0x00, 0x00, 0xf8, 0x08, 0x4f, 0x96);") + +/* Error Codes */ + +cpp_quote("#ifndef HR_E") +cpp_quote("#define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n)") +cpp_quote("#endif") +cpp_quote("#ifndef HR_S") +cpp_quote("#define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n)") +cpp_quote("#endif") + +/* General Error Codes */ +cpp_quote("#define IXP_E_LOAD_SICILY_FAILED HR_E(0xCC00)") +cpp_quote("#define IXP_E_INVALID_CERT_CN HR_E(0xCC01)") +cpp_quote("#define IXP_E_INVALID_CERT_DATE HR_E(0xCC02)") +cpp_quote("#define IXP_E_ALREADY_CONNECTED HR_E(0xCC03)") +cpp_quote("#define IXP_E_CONN HR_E(0xCC04)") +cpp_quote("#define IXP_E_NOT_CONNECTED HR_E(0xCC05)") +cpp_quote("#define IXP_E_CONN_SEND HR_E(0xCC06)") +cpp_quote("#define IXP_E_WOULD_BLOCK HR_E(0xCC07)") +cpp_quote("#define IXP_E_INVALID_STATE HR_E(0xCC08)") +cpp_quote("#define IXP_E_CONN_RECV HR_E(0xCC09)") +cpp_quote("#define IXP_E_INCOMPLETE HR_E(0xCC0A)") +cpp_quote("#define IXP_E_BUSY HR_E(0xCC0B)") +cpp_quote("#define IXP_E_NOT_INIT HR_E(0xCC0C)") +cpp_quote("#define IXP_E_CANT_FIND_HOST HR_E(0xCC0D)") +cpp_quote("#define IXP_E_FAILED_TO_CONNECT HR_E(0xCC0E)") +cpp_quote("#define IXP_E_CONNECTION_DROPPED HR_E(0xCC0F)") +cpp_quote("#define IXP_E_INVALID_ADDRESS HR_E(0xCC10)") +cpp_quote("#define IXP_E_INVALID_ADDRESS_LIST HR_E(0xCC11)") +cpp_quote("#define IXP_E_SOCKET_READ_ERROR HR_E(0xCC12)") +cpp_quote("#define IXP_E_SOCKET_WRITE_ERROR HR_E(0xCC13)") +cpp_quote("#define IXP_E_SCOKET_INIT_ERROR HR_E(0xCC14)") +cpp_quote("#define IXP_E_SOCKET_CONNECT_ERROR HR_E(0xCC15)") +cpp_quote("#define IXP_E_INVALID_ACCOUNT HR_E(0xCC16)") +cpp_quote("#define IXP_E_USER_CANCEL HR_E(0xCC17)") +cpp_quote("#define IXP_E_SICILY_LOGON_FAILED HR_E(0xCC18)") +cpp_quote("#define IXP_E_TIMEOUT HR_E(0xCC19)") +cpp_quote("#define IXP_E_SECURE_CONNECT_FAILED HR_E(0xCC1A)") + +/* SMTP Failure Statuses */ +cpp_quote("#define IXP_E_SMTP_RESPONSE_ERROR HR_E(0xCC60)") +cpp_quote("#define IXP_E_SMTP_UNKNOWN_RESPONSE_CODE HR_E(0xCC61)") +cpp_quote("#define IXP_E_SMTP_500_SYNTAX_ERROR HR_E(0xCC62)") +cpp_quote("#define IXP_E_SMTP_501_PARAM_SYNTAX HR_E(0xCC63)") +cpp_quote("#define IXP_E_SMTP_502_COMMAND_NOTIMPL HR_E(0xCC64)") +cpp_quote("#define IXP_E_SMTP_503_COMMAND_SEQ HR_E(0xCC65)") +cpp_quote("#define IXP_E_SMTP_504_COMMAND_PARAM_NOTIMPL HR_E(0xCC66)") +cpp_quote("#define IXP_E_SMTP_421_NOT_AVAILABLE HR_E(0xCC67)") +cpp_quote("#define IXP_E_SMTP_450_MAILBOX_BUSY HR_E(0xCC68)") +cpp_quote("#define IXP_E_SMTP_550_MAILBOX_NOT_FOUND HR_E(0xCC69)") +cpp_quote("#define IXP_E_SMTP_451_ERROR_PROCESSING HR_E(0xCC6A)") +cpp_quote("#define IXP_E_SMTP_551_USER_NOT_LOCAL HR_E(0xCC6B)") +cpp_quote("#define IXP_E_SMTP_452_NO_SYSTEM_STORAGE HR_E(0xCC6C)") +cpp_quote("#define IXP_E_SMTP_552_STORAGE_OVERFLOW HR_E(0xCC6D)") +cpp_quote("#define IXP_E_SMTP_553_MAILBOX_NAME_SYNTAX HR_E(0xCC6E)") +cpp_quote("#define IXP_E_SMTP_554_TRANSACT_FAILED HR_E(0xCC6F)") + +/* SMTP Success Statuses */ +cpp_quote("#define IXP_E_SMTP_211_SYSTEM_STATUS HR_S(0xCC70)") +cpp_quote("#define IXP_E_SMTP_214_HELP_MESSAGE HR_S(0xCC71)") +cpp_quote("#define IXP_E_SMTP_220_READY HR_S(0xCC72)") +cpp_quote("#define IXP_E_SMTP_221_CLOSING HR_S(0xCC73)") +cpp_quote("#define IXP_E_SMTP_250_MAIL_ACTION_OKAY HR_S(0xCC74)") +cpp_quote("#define IXP_E_SMTP_251_FORWARDING_MAIL HR_S(0xCC75)") +cpp_quote("#define IXP_E_SMTP_354_START_MAIL_INPUT HR_S(0xCC76)") +cpp_quote("#define IXP_E_SMTP_CONTINUE HR_S(0xCC77)") +cpp_quote("#define IXP_E_SMTP_334_AUTH_READY_RESPONSE HR_S(0xCC78)") +cpp_quote("#define IXP_E_SMTP_245_AUTH_SUCCESS HR_S(0xCC79)") + +/* More SMTP Failure Statuses */ +cpp_quote("#define IXP_E_SMTP_REJECTED_SENDER HR_E(0xCC78)") +cpp_quote("#define IXP_E_SMTP_REJECTED_RECIPIENTS HR_E(0xCC79)") +cpp_quote("#define IXP_E_SMTP_NO_SENDER HR_E(0xCC7A)") +cpp_quote("#define IXP_E_SMTP_NO_RECIPIENTS HR_E(0xCC7B)") +cpp_quote("#define IXP_E_SMTP_530_STARTTLS_REQUIRED HR_E(0xCC7C)") +cpp_quote("#define IXP_E_SMTP_NO_STARTTLS_SUPPORT HR_E(0xCC7D)") +cpp_quote("#define IXP_E_SMTP_NO_DSN_SUPPORT HR_E(0xCC7E)") +cpp_quote("#define IXP_E_SMTP_454_STARTTLS_FAILED HR_E(0xCC7F)") + +const SHORT CCHMAX_DOMAIN = 256; +const SHORT CCHMAX_PHONE_NUMBER = 128; + +const DWORD DEFAULT_IMAP_PORT = 143; +const DWORD DEFAULT_POP3_PORT = 110; +const DWORD DEFAULT_SMTP_PORT = 25; +const DWORD DEFAULT_NNTP_PORT = 119; + +typedef enum tagINETADDRTYPE +{ + ADDR_TO, + ADDR_FROM, + ADDR_DSN_NEVER = 16, + ADDR_DSN_SUCCESS = 32, + ADDR_DSN_FAILURE = 64, + ADDR_DSN_DELAY = 128 +} INETADDRTYPE; + +const DWORD ADDR_TOFROM_MASK = 0x1; +const DWORD ADDR_DSN_MASK = 0xf0; + +typedef enum tagDSNRET +{ + DSNRET_DEFAULT, + DSNRET_HDRS, + DSNRET_FULL, +} DSNRET; + +typedef struct tagINETADDR +{ + INETADDRTYPE addrtype; + CHAR szEmail[CCHMAX_EMAIL_ADDRESS]; +} INETADDR, *LPINETADDR; + +typedef struct tagINETADDRLIST +{ + ULONG cAddress; + LPINETADDR prgAddress; +} INETADDRLIST, *LPINETADDRLIST; + +typedef enum tagRASCONNTYPE +{ + RAS_CONNECT_LAN, + RAS_CONNECT_MANUAL, + RAS_CONNECT_RAS +} RASCONNTYPE; + +typedef enum tagHTTPMAILPROPTYPE +{ + HTTPMAIL_PROP_INVALID, + HTTPMAIL_PROP_ADBAR, + HTTPMAIL_PROP_CONTACTS, + HTTPMAIL_PROP_INBOX, + HTTPMAIL_PROP_OUTBOX, + HTTPMAIL_PROP_SENDMSG, + HTTPMAIL_PROP_SENTITEMS, + HTTPMAIL_PROP_DELETEDITEMS, + HTTPMAIL_PROP_DRAFTS, + HTTPMAIL_PROP_MSGFOLDERROOT, + HTTPMAIL_PROP_SIG, + HTTPMAIL_PROP_LAST +} HTTPMAILPROPTYPE; + +typedef enum tagHTTPMAILSPECIALFOLDER +{ + HTTPMAIL_SF_NONE, + HTTPMAIL_SF_UNRECOGNIZED, + HTTPMAIL_SF_INBOX, + HTTPMAIL_SF_DELETEDITEMS, + HTTPMAIL_SF_DRAFTS, + HTTPMAIL_SF_OUTBOX, + HTTPMAIL_SF_SENTITEMS, + HTTPMAIL_SF_CONTACTS, + HTTPMAIL_SF_CALENDAR, + HTTPMAIL_SF_MSNPROMO, + HTTPMAIL_SF_LAST +} HTTPMAILSPECIALFOLDER; + +typedef enum tagHTTPMAILCONTACTTYPE +{ + HTTPMAIL_CT_CONTACT, + HTTPMAIL_CT_GROUP, + HTTPMAIL_CT_LAST +} HTTPMAILCONTACTTYPE; + +const DWORD DAVNAMESPACE_UNKNOWN = 0xFFFFFFFF; +const DWORD DAVNAMESPACE_DAV = 0; +const DWORD DAVNAMESPACE_HOTMAIL = 1; +const DWORD DAVNAMESPACE_HTTPMAIL = 2; +const DWORD DAVNAMESPACE_MAIL = 3; +const DWORD DAVNAMESPACE_CONTACTS = 4; + +cpp_quote("#define ISF_SMTP_USEIPFORHELO 0x01") +cpp_quote("#define ISF_ALWAYSPROMPTFORPASSWORD 0x02") +/* for SMTP - send EHLO and use STARTTLS if available: */ +cpp_quote("#define ISF_SSLONSAMEPORT 0x04") +cpp_quote("#define ISF_QUERYDSNSUPPORT 0x08") +/* for SMTP - send EHLO and use AUTH if available: */ +cpp_quote("#define ISF_QUERYAUTHSUPPORT 0x10") + +typedef struct INETSERVER +{ + CHAR szAccount[CCHMAX_ACCOUNT_NAME]; + CHAR szUserName[CCHMAX_USERNAME]; + CHAR szPassword[CCHMAX_PASSWORD]; + CHAR szServerName[CCHMAX_SERVER_NAME]; + CHAR szConnectoid[CCHMAX_CONNECTOID]; + RASCONNTYPE rasconntype; + DWORD dwPort; + BOOL fSSL; + BOOL fTrySicily; + DWORD dwTimeout; + DWORD dwFlags; +} INETSERVER, *LPINETSERVER; + +typedef enum tagIXPTYPE +{ + IXP_NNTP, + IXP_SMTP, + IXP_POP3, + IXP_IMAP, + IXP_RAS, + IXP_HTTPMail +} IXPTYPE; + +typedef enum tagIXPSTATUS +{ + IXP_FINDINGHOST, + IXP_CONNECTING, + IXP_SECURING, + IXP_CONNECTED, + IXP_AUTHORIZING, + IXP_AUTHRETRY, + IXP_AUTHORIZED, + IXP_DISCONNECTING, + IXP_DISCONNECTED, + IXP_LAST +} IXPSTATUS; + +const DWORD DEPTH_INFINITY = 0xFFFFFFFE; + +typedef DWORD MEMBERINFOFLAGS; + +const MEMBERINFOFLAGS HTTP_MEMBERINFO_COMMONPROPS = 0x0; +const MEMBERINFOFLAGS HTTP_MEMBERINFO_FOLDERPROPS = 0x1; +const MEMBERINFOFLAGS HTTP_MEMBERINFO_MESSAGEPROPS = 0x2; +const MEMBERINFOFLAGS HTTP_MEMBERINFO_ALLPROPS = HTTP_MEMBERINFO_FOLDERPROPS | HTTP_MEMBERINFO_MESSAGEPROPS; + +typedef DWORD IMAP_MSGFLAGS; + +const IMAP_MSGFLAGS IMAP_MSG_NOFLAGS = 0x00; +const IMAP_MSGFLAGS IMAP_MSG_ANSWERED = 0x01; +const IMAP_MSGFLAGS IMAP_MSG_FLAGGED = 0x02; +const IMAP_MSGFLAGS IMAP_MSG_DELETED = 0x04; +const IMAP_MSGFLAGS IMAP_MSG_SEEN = 0x08; +const IMAP_MSGFLAGS IMAP_MSG_DRAFT = 0x10; +const IMAP_MSGFLAGS IMAP_MSG_ALLFLAGS = 0x1f; + +[ + object, + uuid(CA30F3FF-C9AC-11D1-9A3A-00C04FA309D4), + local +] +interface ITransportCallbackService : IUnknown +{ + HRESULT GetParentWindow( + [in] DWORD dwReserved, + [out] HWND *phwndParent); + + HRESULT GetAccount( + [out] LPDWORD pdwServerType, + [out] IImnAccount **ppAccount); +} + +[ + object, + uuid(0DF2C7E1-3435-11D0-81D0-00C04FD85AB4), + local +] +interface ITransportCallback : IUnknown +{ + typedef struct tagIXPRESULT + { + HRESULT hrResult; + LPSTR pszResponse; + UINT uiServerError; + HRESULT hrServerError; + DWORD dwSocketError; + LPSTR pszProblem; + } IXPRESULT, *LPIXPRESULT; + + typedef enum tagCMDTYPE + { + CMD_SEND, + CMD_RESP + } CMDTYPE; + + HRESULT OnTimeout( + [in,out] DWORD *pdwTimeout, + [in] IInternetTransport *pTransport); + + HRESULT OnLogonPrompt( + [in,out] LPINETSERVER pInetServer, + [in] IInternetTransport *pTransport); + + INT OnPrompt( + [in] HRESULT hrError, + [in] LPCSTR pszText, + [in] LPCSTR pszCaption, + [in] UINT uType, + [in] IInternetTransport *pTransport); + + HRESULT OnStatus( + [in] IXPSTATUS ixpstatus, + [in] IInternetTransport *pTransport); + + HRESULT OnError( + [in] IXPSTATUS ixpstatus, + [in] LPIXPRESULT pResult, + [in] IInternetTransport *pTransport); + + HRESULT OnCommand( + [in] CMDTYPE cmdtype, + [in] LPSTR pszLine, + [in] HRESULT hrResponse, + [in] IInternetTransport *pTransport); +} + +[ + object, + uuid(1F636C01-364E-11D0-81D3-00C04FD85AB4), + local +] +interface IInternetTransport : IUnknown +{ + const boolean iitAUTHENTICATE = TRUE; + const boolean iitDONT_AUTHENTICATe = FALSE; + const boolean iitENABLE_ONCOMMAND = TRUE; + const boolean iitDISABLE_ONCOMMAND = FALSE; + + typedef enum tagIXPISSTATE + { + IXP_IS_CONNECTED, + IXP_IS_BUSY, + IXP_IS_READY, + IXP_IS_AUTHENTICATED + } IXPISSTATE; + + HRESULT GetServerInfo( + [in,out] LPINETSERVER pInetServer); + + IXPTYPE GetIXPType(); + + HRESULT IsState( + [in] IXPISSTATE isstate); + + HRESULT InetServerFromAccount( + [in] IImnAccount *pAccount, + [in,out] LPINETSERVER pInetServer); + + HRESULT Connect( + [in] LPINETSERVER pInetServer, + [in] boolean fAuthenticate, + [in] boolean fCommandLogging); + + HRESULT HandsOffCallback(); + + HRESULT Disconnect(); + + HRESULT DropConnection(); + + HRESULT GetStatus( + [out] IXPSTATUS *pCurrentStatus); +} + +[ + object, + uuid(1F636C02-364E-11D0-81D3-00C04FD85AB4), + local +] +interface ISMTPCallback : ITransportCallback +{ + typedef enum tagSMTPCOMMAND + { + SMTP_NONE, + SMTP_BANNER, + SMTP_CONNECTED, + SMTP_SEND_MESSAGE, + SMTP_AUTH, + SMTP_EHLO, + SMTP_HELO, + SMTP_MAIL, + SMTP_RCPT, + SMTP_RSET, + SMTP_QUIT, + SMTP_DATA, + SMTP_DOT, + SMTP_SEND_STREAM, + SMTP_CUSTOM + } SMTPCOMMAND; + + typedef struct tagSMTPSTREAM + { + DWORD cbIncrement; + DWORD cbCurrent; + DWORD cbTotal; + } SMTPSTREAM, *LPSMTPSTREAM; + + typedef struct tagSMTPRESPONSE + { + SMTPCOMMAND command; + BOOL fDone; + IXPRESULT rIxpResult; + ISMTPTransport *pTransport; + + [switch_type(SMTPCOMMAND), switch_is(command)] + union + { + [case(SMTP_SEND_STREAM)] SMTPSTREAM rStreamInfo; + [default]; + }; + } SMTPRESPONSE, *LPSMTPRESPONSE; + + HRESULT OnResponse( + [in] LPSMTPRESPONSE pResponse); +} + +[ + object, + uuid(0DF2C7E2-3435-11D0-81D0-00C04FD85AB4), + local +] +interface ISMTPTransport : IInternetTransport +{ + typedef struct tagSMTPMESSAGE + { + ULONG cbSize; + LPSTREAM pstmMsg; + INETADDRLIST rAddressList; + } SMTPMESSAGE, *LPSMTPMESSAGE; + + HRESULT InitNew( + [in] LPSTR pszLogFilePath, + [in] ISMTPCallback *pCallback); + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef SendMessage") +cpp_quote("#endif") + + HRESULT SendMessage( + [in] LPSMTPMESSAGE pMessage); + + HRESULT CommandMAIL( + [in] LPSTR pszEmailFrom); + + HRESULT CommandRCPT( + [in] LPSTR pszEmailTo); + + HRESULT CommandEHLO(); + + HRESULT CommandHELO(); + + HRESULT CommandAUTH( + [in] LPSTR pszAuthType); + + HRESULT CommandQUIT(); + + HRESULT CommandRSET(); + + HRESULT CommandDATA(); + + HRESULT CommandDOT(); + + HRESULT SendDataStream( + [in] IStream *pStream, + [in] ULONG cbSize); +} + +[ + object, + uuid(0DF2C7EC-3435-11D0-81D0-00C04FD85AB4), + local +] +interface ISMTPTransport2 : ISMTPTransport +{ + typedef struct tagSMTPMESSAGE2 + { + SMTPMESSAGE smtpMsg; + LPSTR pszDSNENVID; + DSNRET dsnRet; + DWORD dwReserved; + DWORD dwReserved2; + } SMTPMESSAGE2, *LPSMTPMESSAGE2; + + HRESULT SetWindow(); + + HRESULT ResetWindow(); + + HRESULT SendMessage2( + [in] LPSMTPMESSAGE2 pMessage); + + HRESULT CommandRCPT2( + [in] LPSTR pszEmailTo, + [in] INETADDRTYPE atDSN); +} + +/* FIXME: IDAVNamespaceArbiter, IPropPatchRequest, IPropFindRequest, IPropFindMultiResponse, IPropFindResponse, IHTTPMailCallback, IHTTPMailTransport */ + +[ + object, + uuid(0DF2C7E3-3435-11D0-81D0-00C04FD85AB4), + local +] +interface IPOP3Callback : ITransportCallback +{ + typedef enum tagPOP3COMMAND + { + POP3_NONE, + POP3_BANNER, + POP3_CONNECTED, + POP3_USER, + POP3_PASS, + POP3_AUTH, + POP3_UIDL, + POP3_STAT, + POP3_LIST, + POP3_DELE, + POP3_RETR, + POP3_TOP, + POP3_NOOP, + POP3_QUIT, + POP3_RSET, + POP3_CUSTOM + } POP3COMMAND; + + typedef struct tagPOP3RETR + { + BOOL fHeader; + BOOL fBody; + DWORD dwPopId; + DWORD cbSoFar; + LPSTR pszLines; + ULONG cbLines; + } POP3RETR, *LPPOP3RETR; + + typedef struct tagPOP3TOP + { + BOOL fHeader; + BOOL fBody; + DWORD dwPopId; + DWORD cPreviewLines; + DWORD cbSoFar; + LPSTR pszLines; + ULONG cbLines; + } POP3TOP, *LPPOP3TOP; + + typedef struct tagPOP3LIST + { + DWORD dwPopId; + DWORD cbSize; + } POP3LIST, *LPPOP3LIST; + + typedef struct tagPOP3UIDL + { + DWORD dwPopId; + LPSTR pszUidl; + } POP3UIDL, *LPPOP3UIDL; + + typedef struct tagPOP3STAT + { + DWORD cMessages; + DWORD cbMessages; + } POP3STAT, *LPPOP3STAT; + + typedef struct tagPOP3RESPONSE + { + POP3COMMAND command; + BOOL fDone; + IXPRESULT rIxpResult; + IPOP3Transport *pTransport; + BOOL fValidInfo; + [switch_type(POP3COMMAND), switch_is(command)] + union + { + [case(POP3_UIDL)] POP3UIDL rUidlInfo; + [case(POP3_STAT)] POP3STAT rStatInfo; + [case(POP3_LIST)] POP3LIST rListInfo; + [case(POP3_DELE)] DWORD dwPopId; + [case(POP3_RETR)] POP3RETR rRetrInfo; + [case(POP3_TOP)] POP3TOP rTopInfo; + [default]; + }; + } POP3RESPONSE, *LPPOP3RESPONSE; + + HRESULT OnResponse( + [in] LPPOP3RESPONSE pResponse); +} + +[ + object, + uuid(0DF2C7E4-3435-11D0-81D0-00C04FD85AB4), + local +] +interface IPOP3Transport : IInternetTransport +{ + typedef enum tagPOP3CMDTYPE + { + POP3CMD_GET_POPID, + POP3CMD_GET_MARKED, + POP3CMD_GET_ALL + } POP3CMDTYPE; + + typedef enum tagPOP3MARKTYPE + { + POP3_MARK_FOR_TOP = 0x01, + POP3_MARK_FOR_RETR = 0x02, + POP3_MARK_FOR_DELE = 0x04, + POP3_MARK_FOR_UIDL = 0x08, + POP3_MARK_FOR_LIST = 0x10 + } POP3MARKTYPE; + + HRESULT InitNew( + [in] LPSTR pszLogFilePath, + [in] IPOP3Callback *pCallback); + + HRESULT MarkItem( + [in] POP3MARKTYPE marktype, + [in] DWORD dwPopId, + [in] boolean fMarked); + + HRESULT CommandAUTH( + [in] LPSTR pszAuthType); + + HRESULT CommandUSER( + [in] LPSTR pszUserName); + + HRESULT CommandPASS( + [in] LPSTR pszPassword); + + HRESULT CommandLIST( + [in] POP3CMDTYPE cmdtype, + [in] DWORD dwPopId); + + HRESULT CommandTOP( + [in] POP3CMDTYPE cmdtype, + [in] DWORD dwPopId, + [in] DWORD cPreviewLines); + + HRESULT CommandQUIT(); + + HRESULT CommandSTAT(); + + HRESULT CommandNOOP(); + + HRESULT CommandRSET(); + + HRESULT CommandUIDL( + [in] POP3CMDTYPE cmdtype, + [in] DWORD dwPopId); + + HRESULT CommandDELE( + [in] POP3CMDTYPE cmdtype, + [in] DWORD dwPopId); + + HRESULT CommandRETR( + [in] POP3CMDTYPE cmdtype, + [in] DWORD dwPopId); +} + +/* FIXME: INNTPCallback, INNTPTransport */ + +[ + object, + uuid(8C438160-4EF6-11d0-874F-00AA00530EE9), + local, +] +interface IRangeList : IUnknown +{ + const ULONG RL_RANGE_ERROR = ((ULONG)-1); + const ULONG RL_LAST_MESSAGE = ((ULONG)-1); + + HRESULT Clear(); + + HRESULT IsInRange( + [in] const ULONG value); + + HRESULT Min( + [out] ULONG *pulMin); + + HRESULT Max( + [out] ULONG *pulMax); + + HRESULT Save( + [out] byte **ppbDestination, + [out] ULONG *pulSizeOfDestination); + + HRESULT Load( + [in, size_is(ulSizeOfSource)] byte *pbSource, + [in] const ULONG ulSizeOfSource); + + HRESULT AddRange( + [in] const ULONG low, + [in] const ULONG high); + + HRESULT AddSingleValue( + [in] const ULONG value); + + HRESULT AddRangeList( + [in] const IRangeList *prl); + + HRESULT DeleteRange( + [in] const ULONG low, + [in] const ULONG high); + + HRESULT DeleteSingleValue( + [in] const ULONG value); + + HRESULT DeleteRangeList( + [in] const IRangeList *prl); + + HRESULT MinOfRange( + [in] const ULONG value, + [out] ULONG *pulMinOfRange); + + HRESULT MaxOfRange( + [in] const ULONG value, + [out] ULONG *pulMaxOfRange); + + HRESULT RangeToIMAPString( + [out] LPSTR *ppszDestination, + [out] LPDWORD pdwLengthOfDestination); + + HRESULT Next( + [in] const ULONG current, + [out] ULONG *pulNext); + + HRESULT Prev( + [in] const ULONG current, + [out] ULONG *pulPrev); + + HRESULT Cardinality( + [out] ULONG *pulCardinality); + + HRESULT CardinalityFrom( + [in] const ULONG ulStartPoint, + [out] ULONG *pulCardinalityFrom); +} + +[ + object, + uuid(E9E9D8A3-4EDD-11d0-874F-00AA00530EE9), + local +] +interface IIMAPCallback : ITransportCallback +{ + typedef DWORD IMAP_MBOXFLAGS; + const IMAP_MBOXFLAGS IMAP_MBOX_NOFLAGS = 0x0; + const IMAP_MBOXFLAGS IMAP_MBOX_MARKED = 0x1; + const IMAP_MBOXFLAGS IMAP_MBOX_NOINFERIORS = 0x2; + const IMAP_MBOXFLAGS IMAP_MBOX_NOSELECT = 0x4; + const IMAP_MBOXFLAGS IMAP_MBOX_UNMARKED = 0x8; + const IMAP_MBOXFLAGS IMAP_MBOX_ALLFLAGS = 0xf; + + typedef enum tagIMAP_RESPONSE_TYPE + { + irtERROR_NOTIFICATION, + irtCOMMAND_COMPLETION, + irtSERVER_ALERT, + irtPARSE_ERROR, + irtMAILBOX_UPDATE, + irtDELETED_MSG, + irtFETCH_BODY, + irtUPDATE_MSG, + irtAPPLICABLE_FLAGS, + irtPERMANENT_FLAGS, + irtUIDVALIDITY, + irtREADWRITE_STATUS, + irtTRYCREATE, + irtSEARCH, + irtMAILBOX_LISTING, + irtMAILBOX_STATUS, + irtAPPEND_PROGRESS, + irtUPDATE_MSG_EX + } IMAP_RESPONSE_TYPE; + + typedef struct tagFETCH_BODY_PART + { + DWORD dwMsgSeqNum; + LPSTR pszBodyTag; + DWORD dwTotalBytes; + DWORD dwSizeOfData; + DWORD dwOffset; + BOOL fDone; + LPSTR pszData; + LPARAM lpFetchCookie1; + LPARAM lpFetchCookie2; + } FETCH_BODY_PART; + + typedef struct tagFETCH_CMD_RESULTS + { + DWORD dwMsgSeqNum; + BOOL bMsgFlags; + IMAP_MSGFLAGS mfMsgFlags; + BOOL bRFC822Size; + DWORD dwRFC822Size; + BOOL bUID; + DWORD dwUID; + BOOL bInternalDate; + FILETIME ftInternalDate; + LPARAM lpFetchCookie1; + LPARAM lpFetchCookie2; + } FETCH_CMD_RESULTS; + + typedef struct tagIMAPADDR + { + LPSTR pszName; + LPSTR pszADL; + LPSTR pszMailbox; + LPSTR pszHost; + struct tagIMAPADDR *pNext; + } IMAPADDR; + + typedef struct tagFETCH_CMD_RESULTS_EX + { + DWORD dwMsgSeqNum; + BOOL bMsgFlags; + IMAP_MSGFLAGS mfMsgFlags; + BOOL bRFC822Size; + DWORD dwRFC822Size; + BOOL bUID; + DWORD dwUID; + BOOL bInternalDate; + FILETIME ftInternalDate; + LPARAM lpFetchCookie1; + LPARAM lpFetchCookie2; + BOOL bEnvelope; + FILETIME ftENVDate; + LPSTR pszENVSubject; + IMAPADDR *piaENVFrom; + IMAPADDR *piaENVSender; + IMAPADDR *piaENVReplyTo; + IMAPADDR *piaENVTo; + IMAPADDR *piaENVCc; + IMAPADDR *piaENVBcc; + LPSTR pszENVInReplyTo; + LPSTR pszENVMessageID; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + } FETCH_CMD_RESULTS_EX; + + typedef struct tagMBOX_MSGCOUNT + { + BOOL bGotExistsResponse; + DWORD dwExists; + BOOL bGotRecentResponse; + DWORD dwRecent; + BOOL bGotUnseenResponse; + DWORD dwUnseen; + } MBOX_MSGCOUNT; + + typedef struct tagIMAP_LISTLSUB_RESPONSE + { + LPSTR pszMailboxName; + IMAP_MBOXFLAGS imfMboxFlags; + char cHierarchyChar; + } IMAP_LISTLSUB_RESPONSE; + + typedef struct tagIMAP_STATUS_RESPONSE + { + LPSTR pszMailboxName; + BOOL fMessages; + DWORD dwMessages; + BOOL fRecent; + DWORD dwRecent; + BOOL fUIDNext; + DWORD dwUIDNext; + BOOL fUIDValidity; + DWORD dwUIDValidity; + BOOL fUnseen; + DWORD dwUnseen; + } IMAP_STATUS_RESPONSE; + + typedef struct tagAPPEND_PROGRESS + { + DWORD dwUploaded; + DWORD dwTotal; + } APPEND_PROGRESS; + + typedef [switch_type(IMAP_RESPONSE_TYPE)] union tagIMAP_RESPONSE_DATA + { + [case (irtMAILBOX_UPDATE)] MBOX_MSGCOUNT *pmcMsgCount; + [case (irtDELETED_MSG)] DWORD dwDeletedMsgSeqNum; + [case (irtFETCH_BODY)] FETCH_BODY_PART *pFetchBodyPart; + [case (irtUPDATE_MSG)] FETCH_CMD_RESULTS *pFetchResults; + [case (irtAPPLICABLE_FLAGS, irtPERMANENT_FLAGS)] IMAP_MSGFLAGS imfImapMessageFlags; + [case (irtUIDVALIDITY)] DWORD dwUIDValidity; + [case (irtREADWRITE_STATUS)] BOOL bReadWrite; + [case (irtSEARCH)] IRangeList *prlSearchResults; + [case (irtMAILBOX_LISTING)] IMAP_LISTLSUB_RESPONSE illrdMailboxListing; + [case (irtMAILBOX_STATUS)] IMAP_STATUS_RESPONSE *pisrStatusResponse; + [case (irtAPPEND_PROGRESS)] APPEND_PROGRESS *papAppendProgress; + [case (irtUPDATE_MSG_EX)] FETCH_CMD_RESULTS_EX *pFetchResultsEx; + } IMAP_RESPONSE_DATA; + + typedef struct tagIMAP_RESPONSE + { + WPARAM wParam; + LPARAM lParam; + HRESULT hrResult; + LPSTR lpszResponseText; + IMAP_RESPONSE_TYPE irtResponseType; + [switch_is(irtResponseType)] IMAP_RESPONSE_DATA irdResponseData; + } IMAP_RESPONSE; + + HRESULT OnResponse([in] const IMAP_RESPONSE *pirIMAPResponse); +} + +[ +object, +uuid(E9E9D8A8-4EDD-11d0-874F-00AA00530EE9), +local, +] +interface IIMAPTransport : IInternetTransport +{ + const DWORD IMAP_CAPABILITY_IMAP4 = 0x1; + const DWORD IMAP_CAPABILITY_IMAP4rev1 = 0x2; + const DWORD IMAP_CAPABILITY_IDLE = 0x4; + const DWORD IMAP_CAPABILITY_ALLFLAGS = 0x7; + + HRESULT InitNew( + [in] LPSTR pszLogFilePath, + [in] IIMAPCallback *pCBHandler); + + HRESULT NewIRangeList( + [out] IRangeList **pprlNewRangeList); + + HRESULT Capability( + [out] DWORD *pdwCapabilityFlags); + + HRESULT Select( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName); + + HRESULT Examine( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName); + + HRESULT Create( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName); + + HRESULT Delete( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName); + + HRESULT Rename( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName, + [in] LPSTR lpszNewMailboxName); + + HRESULT Subscribe( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName); + + HRESULT Unsubscribe( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName); + + HRESULT List( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxNameReference, + [in] LPSTR lpszMailboxNamePattern); + + HRESULT Lsub( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxNameReference, + [in] LPSTR lpszMailboxNamePattern); + + HRESULT Append( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszMailboxName, + [in] LPSTR lpszMessageFlags, + [in] FILETIME ftMessageDateTime, + [in] LPSTREAM lpstmMessageToSave); + + HRESULT Close( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler); + + HRESULT Expunge( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler); + + HRESULT Search( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR lpszSearchCriteria, + [in] boolean bReturnUIDs, + [in] IRangeList *pMsgRange, + [in] boolean bUIDRangeList); + + HRESULT Fetch( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] IRangeList *pMsgRange, + [in] boolean bUIDMsgRange, + [in] LPSTR lpszFetchArgs); + + HRESULT Store( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] IRangeList *pMsgRange, + [in] boolean bUIDRangeList, + [in] LPSTR lpszStoreArgs); + + HRESULT Copy( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] IRangeList *pMsgRange, + [in] boolean bUIDRangeList, + [in] LPSTR lpszMailboxName); + + HRESULT Noop( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler); + + HRESULT ResizeMsgSeqNumTable( + [in] DWORD dwSizeOfMbox); + + HRESULT UpdateSeqNumToUID( + [in] DWORD dwMsgSeqNum, + [in] DWORD dwUID); + + HRESULT RemoveSequenceNum( + [in] DWORD dwDeletedMsgSeqNum); + + HRESULT MsgSeqNumToUID( + [in] DWORD dwMsgSeqNum, + [out] DWORD *pdwUID); + + HRESULT GetMsgSeqNumToUIDArray( + [out] DWORD **ppdwMsgSeqNumToUIDArray, + [out] DWORD *pdwNumberOfElements); + + HRESULT GetHighestMsgSeqNum( + [out] DWORD *pdwHighestMSN); + + HRESULT ResetMsgSeqNumToUID(); + + HRESULT SetDefaultCBHandler( + [in] IIMAPCallback *pCBHandler); + + HRESULT Status( + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] IIMAPCallback *pCBHandler, + [in] LPSTR pszMailboxName, + [in] LPSTR pszStatusCmdArgs); +} + +#if 0 +cpp_quote("HRESULT WINAPI CreateRASTransport(IRASTransport **ppTransport);") +cpp_quote("HRESULT WINAPI CreateNNTPTransport(INNTPTransport **ppTransport);") +cpp_quote("HRESULT WINAPI CreateIMAPTransport2(IIMAPTransport2 **ppTransport);") +#endif +cpp_quote("HRESULT WINAPI CreateRangeList(IRangeList **ppRangeList);") +cpp_quote("HRESULT WINAPI CreateSMTPTransport(ISMTPTransport **ppTransport);") +cpp_quote("HRESULT WINAPI CreatePOP3Transport(IPOP3Transport **ppTransport);") +cpp_quote("HRESULT WINAPI CreateIMAPTransport(IIMAPTransport **ppTransport);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/in6addr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/in6addr.h new file mode 100644 index 0000000..a745bd2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/in6addr.h @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2009 Jeff Latimer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __IN6ADDR__ +#define __IN6ADDR__ + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +typedef struct WS(in6_addr) { + union { + UCHAR Byte[16]; + USHORT Word[8]; + } u; +} IN6_ADDR, *PIN6_ADDR, *LPIN6_ADDR; + +#define in_addr6 WS(in6_addr) + +#ifdef USE_WS_PREFIX +#define WS__S6_un u +#define WS__S6_u8 Byte +#define WS_s6_addr WS__S6_un.WS__S6_u8 +#else +#define _S6_un u +#define _S6_u8 Byte +#define s6_addr _S6_un._S6_u8 +#endif + +#define s6_bytes u.Byte +#define s6_words u.Word + +#undef WS + +#endif /* __IN6ADDR__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inaddr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inaddr.h new file mode 100644 index 0000000..72a5028 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inaddr.h @@ -0,0 +1,60 @@ +/* + * Copyright 2010 Detlef Riekenberg + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef __INADDR_H__ +#define __INADDR_H__ + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +typedef struct WS(in_addr) +{ + union { + struct { + UCHAR s_b1,s_b2,s_b3,s_b4; + } S_un_b; + struct { + USHORT s_w1,s_w2; + } S_un_w; + ULONG S_addr; + } S_un; +} IN_ADDR, *PIN_ADDR, *LPIN_ADDR; + +#undef WS + +#ifndef USE_WS_PREFIX +#define s_addr S_un.S_addr +#define s_net S_un.S_un_b.s_b1 +#define s_host S_un.S_un_b.s_b2 +#define s_lh S_un.S_un_b.s_b3 +#define s_impno S_un.S_un_b.s_b4 +#define s_imp S_un.S_un_w.s_w2 +#else +#define WS_s_addr S_un.S_addr +#define WS_s_net S_un.S_un_b.s_b1 +#define WS_s_host S_un.S_un_b.s_b2 +#define WS_s_lh S_un.S_un_b.s_b3 +#define WS_s_impno S_un.S_un_b.s_b4 +#define WS_s_imp S_un.S_un_w.s_w2 +#endif /* USE_WS_PREFIX */ + +#endif /* __INADDR_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/indexsrv.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/indexsrv.h new file mode 100644 index 0000000..0ffd04d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/indexsrv.h @@ -0,0 +1,437 @@ +/*** Autogenerated by WIDL 2.18 from indexsrv.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __indexsrv_h__ +#define __indexsrv_h__ + +/* Forward declarations */ + +#ifndef __IWordSink_FWD_DEFINED__ +#define __IWordSink_FWD_DEFINED__ +typedef interface IWordSink IWordSink; +#ifdef __cplusplus +interface IWordSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IPhraseSink_FWD_DEFINED__ +#define __IPhraseSink_FWD_DEFINED__ +typedef interface IPhraseSink IPhraseSink; +#ifdef __cplusplus +interface IPhraseSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IWordBreaker_FWD_DEFINED__ +#define __IWordBreaker_FWD_DEFINED__ +typedef interface IWordBreaker IWordBreaker; +#ifdef __cplusplus +interface IWordBreaker; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +struct tagTEXT_SOURCE; +typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource); +#if 0 +typedef void *PFNFILLTEXTBUFFER; +#endif +typedef struct tagTEXT_SOURCE { + PFNFILLTEXTBUFFER pfnFillTextBuffer; + const WCHAR *awcBuffer; + ULONG iEnd; + ULONG iCur; +} TEXT_SOURCE; +typedef enum tagWORDREP_BREAK_TYPE { + WORDREP_BREAK_EOW = 0, + WORDREP_BREAK_EOS = 1, + WORDREP_BREAK_EOP = 2, + WORDREP_BREAK_EOC = 3 +} WORDREP_BREAK_TYPE; +/***************************************************************************** + * IWordSink interface + */ +#ifndef __IWordSink_INTERFACE_DEFINED__ +#define __IWordSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWordSink, 0xcc907054, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc907054-c058-101a-b554-08002b33b0e6") +IWordSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PutWord( + ULONG cwc, + const WCHAR *pwcInBuf, + ULONG cwcSrcLen, + ULONG cwcSrcPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutAltWord( + ULONG cwc, + const WCHAR *pwcInBuf, + ULONG cwcSrcLen, + ULONG cwcSrcPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartAltPhrase( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndAltPhrase( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutBreak( + WORDREP_BREAK_TYPE breakType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWordSink, 0xcc907054, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6) +#endif +#else +typedef struct IWordSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWordSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWordSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWordSink *This); + + /*** IWordSink methods ***/ + HRESULT (STDMETHODCALLTYPE *PutWord)( + IWordSink *This, + ULONG cwc, + const WCHAR *pwcInBuf, + ULONG cwcSrcLen, + ULONG cwcSrcPos); + + HRESULT (STDMETHODCALLTYPE *PutAltWord)( + IWordSink *This, + ULONG cwc, + const WCHAR *pwcInBuf, + ULONG cwcSrcLen, + ULONG cwcSrcPos); + + HRESULT (STDMETHODCALLTYPE *StartAltPhrase)( + IWordSink *This); + + HRESULT (STDMETHODCALLTYPE *EndAltPhrase)( + IWordSink *This); + + HRESULT (STDMETHODCALLTYPE *PutBreak)( + IWordSink *This, + WORDREP_BREAK_TYPE breakType); + + END_INTERFACE +} IWordSinkVtbl; + +interface IWordSink { + CONST_VTBL IWordSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWordSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWordSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWordSink_Release(This) (This)->lpVtbl->Release(This) +/*** IWordSink methods ***/ +#define IWordSink_PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) (This)->lpVtbl->PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) +#define IWordSink_PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) (This)->lpVtbl->PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) +#define IWordSink_StartAltPhrase(This) (This)->lpVtbl->StartAltPhrase(This) +#define IWordSink_EndAltPhrase(This) (This)->lpVtbl->EndAltPhrase(This) +#define IWordSink_PutBreak(This,breakType) (This)->lpVtbl->PutBreak(This,breakType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWordSink_QueryInterface(IWordSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWordSink_AddRef(IWordSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWordSink_Release(IWordSink* This) { + return This->lpVtbl->Release(This); +} +/*** IWordSink methods ***/ +static FORCEINLINE HRESULT IWordSink_PutWord(IWordSink* This,ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos) { + return This->lpVtbl->PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos); +} +static FORCEINLINE HRESULT IWordSink_PutAltWord(IWordSink* This,ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos) { + return This->lpVtbl->PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos); +} +static FORCEINLINE HRESULT IWordSink_StartAltPhrase(IWordSink* This) { + return This->lpVtbl->StartAltPhrase(This); +} +static FORCEINLINE HRESULT IWordSink_EndAltPhrase(IWordSink* This) { + return This->lpVtbl->EndAltPhrase(This); +} +static FORCEINLINE HRESULT IWordSink_PutBreak(IWordSink* This,WORDREP_BREAK_TYPE breakType) { + return This->lpVtbl->PutBreak(This,breakType); +} +#endif +#endif + +#endif + + +#endif /* __IWordSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPhraseSink interface + */ +#ifndef __IPhraseSink_INTERFACE_DEFINED__ +#define __IPhraseSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPhraseSink, 0xcc906ff0, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cc906ff0-c058-101a-b554-08002b33b0e6") +IPhraseSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PutSmallPhrase( + const WCHAR *pwcNoun, + ULONG cwcNoun, + const WCHAR *pwcModifier, + ULONG cwcModifier, + ULONG ulAttachmentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutPhrase( + const WCHAR *pwcPhrase, + ULONG cwcPhrase) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPhraseSink, 0xcc906ff0, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6) +#endif +#else +typedef struct IPhraseSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPhraseSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPhraseSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPhraseSink *This); + + /*** IPhraseSink methods ***/ + HRESULT (STDMETHODCALLTYPE *PutSmallPhrase)( + IPhraseSink *This, + const WCHAR *pwcNoun, + ULONG cwcNoun, + const WCHAR *pwcModifier, + ULONG cwcModifier, + ULONG ulAttachmentType); + + HRESULT (STDMETHODCALLTYPE *PutPhrase)( + IPhraseSink *This, + const WCHAR *pwcPhrase, + ULONG cwcPhrase); + + END_INTERFACE +} IPhraseSinkVtbl; + +interface IPhraseSink { + CONST_VTBL IPhraseSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPhraseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPhraseSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPhraseSink_Release(This) (This)->lpVtbl->Release(This) +/*** IPhraseSink methods ***/ +#define IPhraseSink_PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType) (This)->lpVtbl->PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType) +#define IPhraseSink_PutPhrase(This,pwcPhrase,cwcPhrase) (This)->lpVtbl->PutPhrase(This,pwcPhrase,cwcPhrase) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPhraseSink_QueryInterface(IPhraseSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPhraseSink_AddRef(IPhraseSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPhraseSink_Release(IPhraseSink* This) { + return This->lpVtbl->Release(This); +} +/*** IPhraseSink methods ***/ +static FORCEINLINE HRESULT IPhraseSink_PutSmallPhrase(IPhraseSink* This,const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType) { + return This->lpVtbl->PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType); +} +static FORCEINLINE HRESULT IPhraseSink_PutPhrase(IPhraseSink* This,const WCHAR *pwcPhrase,ULONG cwcPhrase) { + return This->lpVtbl->PutPhrase(This,pwcPhrase,cwcPhrase); +} +#endif +#endif + +#endif + + +#endif /* __IPhraseSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWordBreaker interface + */ +#ifndef __IWordBreaker_INTERFACE_DEFINED__ +#define __IWordBreaker_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWordBreaker, 0xd53552c8, 0x77e3, 0x101a, 0xb5,0x52, 0x08,0x00,0x2b,0x33,0xb0,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d53552c8-77e3-101a-b552-08002b33b0e6") +IWordBreaker : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Init( + BOOL fQuery, + ULONG ulMaxTokenSize, + BOOL *pfLicense) = 0; + + virtual HRESULT STDMETHODCALLTYPE BreakText( + TEXT_SOURCE *pTextSource, + IWordSink *pWordSink, + IPhraseSink *pPhraseSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComposePhrase( + const WCHAR *pwcNoun, + ULONG cwcNoun, + const WCHAR *pwcModifier, + ULONG cwcModifier, + ULONG ulAttachmentType, + WCHAR *pwcPhrase, + ULONG *pcwcPhrase) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLicenseToUse( + const WCHAR **ppwcsLicense) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWordBreaker, 0xd53552c8, 0x77e3, 0x101a, 0xb5,0x52, 0x08,0x00,0x2b,0x33,0xb0,0xe6) +#endif +#else +typedef struct IWordBreakerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWordBreaker *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWordBreaker *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWordBreaker *This); + + /*** IWordBreaker methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + IWordBreaker *This, + BOOL fQuery, + ULONG ulMaxTokenSize, + BOOL *pfLicense); + + HRESULT (STDMETHODCALLTYPE *BreakText)( + IWordBreaker *This, + TEXT_SOURCE *pTextSource, + IWordSink *pWordSink, + IPhraseSink *pPhraseSink); + + HRESULT (STDMETHODCALLTYPE *ComposePhrase)( + IWordBreaker *This, + const WCHAR *pwcNoun, + ULONG cwcNoun, + const WCHAR *pwcModifier, + ULONG cwcModifier, + ULONG ulAttachmentType, + WCHAR *pwcPhrase, + ULONG *pcwcPhrase); + + HRESULT (STDMETHODCALLTYPE *GetLicenseToUse)( + IWordBreaker *This, + const WCHAR **ppwcsLicense); + + END_INTERFACE +} IWordBreakerVtbl; + +interface IWordBreaker { + CONST_VTBL IWordBreakerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWordBreaker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWordBreaker_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWordBreaker_Release(This) (This)->lpVtbl->Release(This) +/*** IWordBreaker methods ***/ +#define IWordBreaker_Init(This,fQuery,ulMaxTokenSize,pfLicense) (This)->lpVtbl->Init(This,fQuery,ulMaxTokenSize,pfLicense) +#define IWordBreaker_BreakText(This,pTextSource,pWordSink,pPhraseSink) (This)->lpVtbl->BreakText(This,pTextSource,pWordSink,pPhraseSink) +#define IWordBreaker_ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase) (This)->lpVtbl->ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase) +#define IWordBreaker_GetLicenseToUse(This,ppwcsLicense) (This)->lpVtbl->GetLicenseToUse(This,ppwcsLicense) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWordBreaker_QueryInterface(IWordBreaker* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWordBreaker_AddRef(IWordBreaker* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWordBreaker_Release(IWordBreaker* This) { + return This->lpVtbl->Release(This); +} +/*** IWordBreaker methods ***/ +static FORCEINLINE HRESULT IWordBreaker_Init(IWordBreaker* This,BOOL fQuery,ULONG ulMaxTokenSize,BOOL *pfLicense) { + return This->lpVtbl->Init(This,fQuery,ulMaxTokenSize,pfLicense); +} +static FORCEINLINE HRESULT IWordBreaker_BreakText(IWordBreaker* This,TEXT_SOURCE *pTextSource,IWordSink *pWordSink,IPhraseSink *pPhraseSink) { + return This->lpVtbl->BreakText(This,pTextSource,pWordSink,pPhraseSink); +} +static FORCEINLINE HRESULT IWordBreaker_ComposePhrase(IWordBreaker* This,const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType,WCHAR *pwcPhrase,ULONG *pcwcPhrase) { + return This->lpVtbl->ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase); +} +static FORCEINLINE HRESULT IWordBreaker_GetLicenseToUse(IWordBreaker* This,const WCHAR **ppwcsLicense) { + return This->lpVtbl->GetLicenseToUse(This,ppwcsLicense); +} +#endif +#endif + +#endif + + +#endif /* __IWordBreaker_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __indexsrv_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/indexsrv.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/indexsrv.idl new file mode 100644 index 0000000..3a272df --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/indexsrv.idl @@ -0,0 +1,124 @@ +/* + * Copyright 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +/* FIXME: import "filter.idl"; */ + +/* + * widl doesn't like the declaration of PFNFILLTEXTBUFFER, so work around it... + * Not sure that function pointers are even legal in idl. + */ +cpp_quote("struct tagTEXT_SOURCE;") +cpp_quote("typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource);") +cpp_quote("#if 0") +typedef void* PFNFILLTEXTBUFFER; +cpp_quote("#endif") + +typedef struct tagTEXT_SOURCE +{ + PFNFILLTEXTBUFFER pfnFillTextBuffer; + const WCHAR *awcBuffer; + ULONG iEnd; + ULONG iCur; +} TEXT_SOURCE; + +typedef enum tagWORDREP_BREAK_TYPE +{ + WORDREP_BREAK_EOW = 0, + WORDREP_BREAK_EOS = 1, + WORDREP_BREAK_EOP = 2, + WORDREP_BREAK_EOC = 3 +} WORDREP_BREAK_TYPE; + + +/***************************************************************************** + * IWordSink interface + */ +[ + uuid(cc907054-c058-101a-b554-08002b33b0e6), + object, + local +] +interface IWordSink : IUnknown +{ + HRESULT PutWord( + [in] ULONG cwc, + [size_is(cwcSrcLen)][in] const WCHAR *pwcInBuf, + [in] ULONG cwcSrcLen, + [in] ULONG cwcSrcPos); + HRESULT PutAltWord( + [in] ULONG cwc, + [size_is(cwcSrcLen)][in] const WCHAR *pwcInBuf, + [in] ULONG cwcSrcLen, + [in] ULONG cwcSrcPos); + HRESULT StartAltPhrase(void); + HRESULT EndAltPhrase(void); + HRESULT PutBreak( + [in] WORDREP_BREAK_TYPE breakType); +} + +/***************************************************************************** + * IPhraseSink interface + */ +[ + uuid(cc906ff0-c058-101a-b554-08002b33b0e6), + object, + local +] +interface IPhraseSink: IUnknown +{ + HRESULT PutSmallPhrase( + [size_is(cwcNoun)][in] const WCHAR *pwcNoun, + [in] ULONG cwcNoun, + [size_is(cwcModifier)][in] const WCHAR *pwcModifier, + [in] ULONG cwcModifier, + [in] ULONG ulAttachmentType); + HRESULT PutPhrase( + [size_is(cwcPhrase)][in] const WCHAR *pwcPhrase, + [in] ULONG cwcPhrase); +} + +/***************************************************************************** + * IWordBreaker interface + */ +[ + uuid(d53552c8-77e3-101a-b552-08002b33b0e6), + object, + local +] +interface IWordBreaker: IUnknown +{ + HRESULT Init( + [in] BOOL fQuery, + [in] ULONG ulMaxTokenSize, + [out] BOOL *pfLicense); + HRESULT BreakText( + [in] TEXT_SOURCE *pTextSource, + [in] IWordSink *pWordSink, + [in] IPhraseSink *pPhraseSink); + HRESULT ComposePhrase( + [size_is(cwcNoun)][in] const WCHAR *pwcNoun, + [in] ULONG cwcNoun, + [size_is(cwcModifier)][in] const WCHAR *pwcModifier, + [in] ULONG cwcModifier, + [in] ULONG ulAttachmentType, + [size_is(*pcwcPhrase)][out] WCHAR *pwcPhrase, + [out][in] ULONG *pcwcPhrase); + HRESULT GetLicenseToUse( + [string][out] const WCHAR **ppwcsLicense); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/initguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/initguid.h new file mode 100644 index 0000000..4983217 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/initguid.h @@ -0,0 +1,26 @@ +/* + * Defines a minimum set of macros create GUID's to keep the size + * small + * + * This file should be included into "only GUID definition *.h" like + * shlguid.h + * + * Copyright (C) 1999 Juergen Schmied + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define INITGUID +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inputscope.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inputscope.h new file mode 100644 index 0000000..31f19d7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inputscope.h @@ -0,0 +1,242 @@ +/*** Autogenerated by WIDL 2.18 from inputscope.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __inputscope_h__ +#define __inputscope_h__ + +/* Forward declarations */ + +#ifndef __ITfInputScope_FWD_DEFINED__ +#define __ITfInputScope_FWD_DEFINED__ +typedef interface ITfInputScope ITfInputScope; +#ifdef __cplusplus +interface ITfInputScope; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum __WIDL_inputscope_generated_name_00000011 { + IS_DEFAULT = 0, + IS_URL = 1, + IS_FILE_FULLFILEPATH = 2, + IS_FILE_FILENAME = 3, + IS_EMAIL_USERNAME = 4, + IS_EMAIL_SMTPEMAILADDRESS = 5, + IS_LOGINNAME = 6, + IS_PERSONALNAME_FULLNAME = 7, + IS_PERSONALNAME_PREFIX = 8, + IS_PERSONALNAME_GIVENNAME = 9, + IS_PERSONALNAME_MIDDLENAME = 10, + IS_PERSONALNAME_SURNAME = 11, + IS_PERSONALNAME_SUFFIX = 12, + IS_ADDRESS_FULLPOSTALADDRESS = 13, + IS_ADDRESS_POSTALCODE = 14, + IS_ADDRESS_STREET = 15, + IS_ADDRESS_STATEORPROVINCE = 16, + IS_ADDRESS_CITY = 17, + IS_ADDRESS_COUNTRYNAME = 18, + IS_ADDRESS_COUNTRYSHORTNAME = 19, + IS_CURRENCY_AMOUNTANDSYMBOL = 20, + IS_CURRENCY_AMOUNT = 21, + IS_DATE_FULLDATE = 22, + IS_DATE_MONTH = 23, + IS_DATE_DAY = 24, + IS_DATE_YEAR = 25, + IS_DATE_MONTHNAME = 26, + IS_DATE_DAYNAME = 27, + IS_DIGITS = 28, + IS_NUMBER = 29, + IS_ONECHAR = 30, + IS_PASSWORD = 31, + IS_TELEPHONE_FULLTELEPHONENUMBER = 32, + IS_TELEPHONE_COUNTRYCODE = 33, + IS_TELEPHONE_AREACODE = 34, + IS_TELEPHONE_LOCALNUMBER = 35, + IS_TIME_FULLTIME = 36, + IS_TIME_HOUR = 37, + IS_TIME_MINORSEC = 38, + IS_NUMBER_FULLWIDTH = 39, + IS_ALPHANUMERIC_HALFWIDTH = 40, + IS_ALPHANUMERIC_FULLWIDTH = 41, + IS_CURRENCY_CHINESE = 42, + IS_BOPOMOFO = 43, + IS_HIRAGANA = 44, + IS_KATAKANA_HALFWIDTH = 45, + IS_KATAKANA_FULLWIDTH = 46, + IS_HANJA = 47, + IS_HANGUL_HALFWIDTH = 48, + IS_HANGUL_FULLWIDTH = 49, + IS_SEARCH = 50, + IS_FORMULA = 51, + IS_SEARCH_INCREMENTAL = 52, + IS_CHINESE_HALFWIDTH = 53, + IS_CHINESE_FULLWIDTH = 54, + IS_NATIVE_SCRIPT = 55, + IS_PHRASELIST = -1, + IS_REGULAREXPRESSION = -2, + IS_SRGS = -3, + IS_XML = -4, + IS_ENUMSTRING = -5 +} InputScope; +HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope); +HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS); +HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML); +DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d); +/***************************************************************************** + * ITfInputScope interface + */ +#ifndef __ITfInputScope_INTERFACE_DEFINED__ +#define __ITfInputScope_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fde1eaee-6924-4cdf-91e7-da38cff5559d") +ITfInputScope : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetInputScopes( + InputScope **pprgInputScopes, + UINT *pcCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPhrase( + BSTR **ppbstrPhrases, + UINT *pcCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegularExpression( + BSTR *pbstrRegExp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSRGS( + BSTR *pbstrSRGS) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetXML( + BSTR *pbstrXML) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d) +#endif +#else +typedef struct ITfInputScopeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfInputScope *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfInputScope *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfInputScope *This); + + /*** ITfInputScope methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInputScopes)( + ITfInputScope *This, + InputScope **pprgInputScopes, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetPhrase)( + ITfInputScope *This, + BSTR **ppbstrPhrases, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetRegularExpression)( + ITfInputScope *This, + BSTR *pbstrRegExp); + + HRESULT (STDMETHODCALLTYPE *GetSRGS)( + ITfInputScope *This, + BSTR *pbstrSRGS); + + HRESULT (STDMETHODCALLTYPE *GetXML)( + ITfInputScope *This, + BSTR *pbstrXML); + + END_INTERFACE +} ITfInputScopeVtbl; + +interface ITfInputScope { + CONST_VTBL ITfInputScopeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfInputScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfInputScope_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfInputScope_Release(This) (This)->lpVtbl->Release(This) +/*** ITfInputScope methods ***/ +#define ITfInputScope_GetInputScopes(This,pprgInputScopes,pcCount) (This)->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount) +#define ITfInputScope_GetPhrase(This,ppbstrPhrases,pcCount) (This)->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount) +#define ITfInputScope_GetRegularExpression(This,pbstrRegExp) (This)->lpVtbl->GetRegularExpression(This,pbstrRegExp) +#define ITfInputScope_GetSRGS(This,pbstrSRGS) (This)->lpVtbl->GetSRGS(This,pbstrSRGS) +#define ITfInputScope_GetXML(This,pbstrXML) (This)->lpVtbl->GetXML(This,pbstrXML) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfInputScope_QueryInterface(ITfInputScope* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfInputScope_AddRef(ITfInputScope* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfInputScope_Release(ITfInputScope* This) { + return This->lpVtbl->Release(This); +} +/*** ITfInputScope methods ***/ +static FORCEINLINE HRESULT ITfInputScope_GetInputScopes(ITfInputScope* This,InputScope **pprgInputScopes,UINT *pcCount) { + return This->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount); +} +static FORCEINLINE HRESULT ITfInputScope_GetPhrase(ITfInputScope* This,BSTR **ppbstrPhrases,UINT *pcCount) { + return This->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount); +} +static FORCEINLINE HRESULT ITfInputScope_GetRegularExpression(ITfInputScope* This,BSTR *pbstrRegExp) { + return This->lpVtbl->GetRegularExpression(This,pbstrRegExp); +} +static FORCEINLINE HRESULT ITfInputScope_GetSRGS(ITfInputScope* This,BSTR *pbstrSRGS) { + return This->lpVtbl->GetSRGS(This,pbstrSRGS); +} +static FORCEINLINE HRESULT ITfInputScope_GetXML(ITfInputScope* This,BSTR *pbstrXML) { + return This->lpVtbl->GetXML(This,pbstrXML); +} +#endif +#endif + +#endif + + +#endif /* __ITfInputScope_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __inputscope_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inputscope.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inputscope.idl new file mode 100644 index 0000000..059b6f8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inputscope.idl @@ -0,0 +1,93 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given. + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +typedef enum { + IS_DEFAULT = 0, + IS_URL = 1, + IS_FILE_FULLFILEPATH = 2, + IS_FILE_FILENAME = 3, + IS_EMAIL_USERNAME = 4, + IS_EMAIL_SMTPEMAILADDRESS = 5, + IS_LOGINNAME = 6, + IS_PERSONALNAME_FULLNAME = 7, + IS_PERSONALNAME_PREFIX = 8, + IS_PERSONALNAME_GIVENNAME = 9, + IS_PERSONALNAME_MIDDLENAME = 10, + IS_PERSONALNAME_SURNAME = 11, + IS_PERSONALNAME_SUFFIX = 12, + IS_ADDRESS_FULLPOSTALADDRESS = 13, + IS_ADDRESS_POSTALCODE = 14, + IS_ADDRESS_STREET = 15, + IS_ADDRESS_STATEORPROVINCE = 16, + IS_ADDRESS_CITY = 17, + IS_ADDRESS_COUNTRYNAME = 18, + IS_ADDRESS_COUNTRYSHORTNAME = 19, + IS_CURRENCY_AMOUNTANDSYMBOL = 20, + IS_CURRENCY_AMOUNT = 21, + IS_DATE_FULLDATE = 22, + IS_DATE_MONTH = 23, + IS_DATE_DAY = 24, + IS_DATE_YEAR = 25, + IS_DATE_MONTHNAME = 26, + IS_DATE_DAYNAME = 27, + IS_DIGITS = 28, + IS_NUMBER = 29, + IS_ONECHAR = 30, + IS_PASSWORD = 31, + IS_TELEPHONE_FULLTELEPHONENUMBER = 32, + IS_TELEPHONE_COUNTRYCODE = 33, + IS_TELEPHONE_AREACODE = 34, + IS_TELEPHONE_LOCALNUMBER = 35, + IS_TIME_FULLTIME = 36, + IS_TIME_HOUR = 37, + IS_TIME_MINORSEC = 38, + IS_NUMBER_FULLWIDTH = 39, + IS_ALPHANUMERIC_HALFWIDTH = 40, + IS_ALPHANUMERIC_FULLWIDTH = 41, + IS_CURRENCY_CHINESE = 42, + IS_BOPOMOFO = 43, + IS_HIRAGANA = 44, + IS_KATAKANA_HALFWIDTH = 45, + IS_KATAKANA_FULLWIDTH = 46, + IS_HANJA = 47, + IS_HANGUL_HALFWIDTH = 48, + IS_HANGUL_FULLWIDTH = 49, + IS_SEARCH = 50, + IS_FORMULA = 51, + IS_SEARCH_INCREMENTAL = 52, + IS_CHINESE_HALFWIDTH = 53, + IS_CHINESE_FULLWIDTH = 54, + IS_NATIVE_SCRIPT = 55, + + IS_PHRASELIST = -1, + IS_REGULAREXPRESSION = -2, + IS_SRGS = -3, + IS_XML = -4, + IS_ENUMSTRING = -5 +} InputScope; + +cpp_quote("HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope);") +cpp_quote("HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS);") +cpp_quote("HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML);") + +cpp_quote("DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d);") + +[ + object, + uuid(fde1eaee-6924-4cdf-91e7-da38cff5559d), + pointer_default(unique) +] +interface ITfInputScope : IUnknown +{ + HRESULT GetInputScopes([out, size_is(,*pcCount)] InputScope **pprgInputScopes, [out] UINT *pcCount); + HRESULT GetPhrase([out, size_is(,*pcCount)] BSTR **ppbstrPhrases, [out] UINT *pcCount); + HRESULT GetRegularExpression([out] BSTR *pbstrRegExp); + HRESULT GetSRGS([out] BSTR *pbstrSRGS); + HRESULT GetXML([out] BSTR *pbstrXML); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inseng.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inseng.h new file mode 100644 index 0000000..8e3ed22 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inseng.h @@ -0,0 +1,1134 @@ +/*** Autogenerated by WIDL 2.18 from inseng.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __inseng_h__ +#define __inseng_h__ + +/* Forward declarations */ + +#ifndef __ICifFile_FWD_DEFINED__ +#define __ICifFile_FWD_DEFINED__ +typedef interface ICifFile ICifFile; +#ifdef __cplusplus +interface ICifFile; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallEngineCallback_FWD_DEFINED__ +#define __IInstallEngineCallback_FWD_DEFINED__ +typedef interface IInstallEngineCallback IInstallEngineCallback; +#ifdef __cplusplus +interface IInstallEngineCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallEngine_FWD_DEFINED__ +#define __IInstallEngine_FWD_DEFINED__ +typedef interface IInstallEngine IInstallEngine; +#ifdef __cplusplus +interface IInstallEngine; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallEngine2_FWD_DEFINED__ +#define __IInstallEngine2_FWD_DEFINED__ +typedef interface IInstallEngine2 IInstallEngine2; +#ifdef __cplusplus +interface IInstallEngine2; +#endif /* __cplusplus */ +#endif + +#ifndef __InstallEngine_FWD_DEFINED__ +#define __InstallEngine_FWD_DEFINED__ +#ifdef __cplusplus +typedef class InstallEngine InstallEngine; +#else +typedef struct InstallEngine InstallEngine; +#endif /* defined __cplusplus */ +#endif /* defined __InstallEngine_FWD_DEFINED__ */ + +#ifndef __DownloadSiteMgr_FWD_DEFINED__ +#define __DownloadSiteMgr_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DownloadSiteMgr DownloadSiteMgr; +#else +typedef struct DownloadSiteMgr DownloadSiteMgr; +#endif /* defined __cplusplus */ +#endif /* defined __DownloadSiteMgr_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +#endif +#ifndef __IStream_FWD_DEFINED__ +#define __IStream_FWD_DEFINED__ +typedef interface IStream IStream; +#ifdef __cplusplus +interface IStream; +#endif /* __cplusplus */ +#endif + +#ifndef __ICifComponent_FWD_DEFINED__ +#define __ICifComponent_FWD_DEFINED__ +typedef interface ICifComponent ICifComponent; +#ifdef __cplusplus +interface ICifComponent; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumCifComponents_FWD_DEFINED__ +#define __IEnumCifComponents_FWD_DEFINED__ +typedef interface IEnumCifComponents IEnumCifComponents; +#ifdef __cplusplus +interface IEnumCifComponents; +#endif /* __cplusplus */ +#endif + +#ifndef __ICifGroup_FWD_DEFINED__ +#define __ICifGroup_FWD_DEFINED__ +typedef interface ICifGroup ICifGroup; +#ifdef __cplusplus +interface ICifGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumCifGroups_FWD_DEFINED__ +#define __IEnumCifGroups_FWD_DEFINED__ +typedef interface IEnumCifGroups IEnumCifGroups; +#ifdef __cplusplus +interface IEnumCifGroups; +#endif /* __cplusplus */ +#endif + +#ifndef __ICifMode_FWD_DEFINED__ +#define __ICifMode_FWD_DEFINED__ +typedef interface ICifMode ICifMode; +#ifdef __cplusplus +interface ICifMode; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumCifModes_FWD_DEFINED__ +#define __IEnumCifModes_FWD_DEFINED__ +typedef interface IEnumCifModes IEnumCifModes; +#ifdef __cplusplus +interface IEnumCifModes; +#endif /* __cplusplus */ +#endif + +typedef struct __WIDL_inseng_generated_name_00000002 { + DWORD cbSize; + DWORD dwInstallSize; + DWORD dwWinDriveSize; + DWORD dwDownloadSize; + DWORD dwDependancySize; + DWORD dwInstallDriveReq; + DWORD dwWinDriveReq; + DWORD dwDownloadDriveReq; + char chWinDrive; + char chInstallDrive; + char chDownloadDrive; + DWORD dwTotalDownloadSize; +} COMPONENT_SIZES; +/***************************************************************************** + * ICifFile interface + */ +#ifndef __ICifFile_INTERFACE_DEFINED__ +#define __ICifFile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICifFile, 0x6e449688, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6e449688-c509-11cf-aafa-00aa00b6015c") +ICifFile : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumComponents( + IEnumCifComponents **enum_components, + DWORD filter, + void *pv) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindComponent( + const char *id, + ICifComponent **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumGroups( + IEnumCifGroups **enum_groups, + DWORD filter, + void *pv) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindGroup( + const char *id, + ICifGroup **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumModes( + IEnumCifModes **cuf_modes, + DWORD filter, + void *pv) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindMode( + const char *id, + ICifMode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + char *desc, + DWORD size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDetDlls( + char **dlls, + DWORD size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICifFile, 0x6e449688, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c) +#endif +#else +typedef struct ICifFileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICifFile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICifFile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICifFile *This); + + /*** ICifFile methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumComponents)( + ICifFile *This, + IEnumCifComponents **enum_components, + DWORD filter, + void *pv); + + HRESULT (STDMETHODCALLTYPE *FindComponent)( + ICifFile *This, + const char *id, + ICifComponent **p); + + HRESULT (STDMETHODCALLTYPE *EnumGroups)( + ICifFile *This, + IEnumCifGroups **enum_groups, + DWORD filter, + void *pv); + + HRESULT (STDMETHODCALLTYPE *FindGroup)( + ICifFile *This, + const char *id, + ICifGroup **p); + + HRESULT (STDMETHODCALLTYPE *EnumModes)( + ICifFile *This, + IEnumCifModes **cuf_modes, + DWORD filter, + void *pv); + + HRESULT (STDMETHODCALLTYPE *FindMode)( + ICifFile *This, + const char *id, + ICifMode **p); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + ICifFile *This, + char *desc, + DWORD size); + + HRESULT (STDMETHODCALLTYPE *GetDetDlls)( + ICifFile *This, + char **dlls, + DWORD size); + + END_INTERFACE +} ICifFileVtbl; + +interface ICifFile { + CONST_VTBL ICifFileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICifFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICifFile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICifFile_Release(This) (This)->lpVtbl->Release(This) +/*** ICifFile methods ***/ +#define ICifFile_EnumComponents(This,enum_components,filter,pv) (This)->lpVtbl->EnumComponents(This,enum_components,filter,pv) +#define ICifFile_FindComponent(This,id,p) (This)->lpVtbl->FindComponent(This,id,p) +#define ICifFile_EnumGroups(This,enum_groups,filter,pv) (This)->lpVtbl->EnumGroups(This,enum_groups,filter,pv) +#define ICifFile_FindGroup(This,id,p) (This)->lpVtbl->FindGroup(This,id,p) +#define ICifFile_EnumModes(This,cuf_modes,filter,pv) (This)->lpVtbl->EnumModes(This,cuf_modes,filter,pv) +#define ICifFile_FindMode(This,id,p) (This)->lpVtbl->FindMode(This,id,p) +#define ICifFile_GetDescription(This,desc,size) (This)->lpVtbl->GetDescription(This,desc,size) +#define ICifFile_GetDetDlls(This,dlls,size) (This)->lpVtbl->GetDetDlls(This,dlls,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICifFile_QueryInterface(ICifFile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICifFile_AddRef(ICifFile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICifFile_Release(ICifFile* This) { + return This->lpVtbl->Release(This); +} +/*** ICifFile methods ***/ +static FORCEINLINE HRESULT ICifFile_EnumComponents(ICifFile* This,IEnumCifComponents **enum_components,DWORD filter,void *pv) { + return This->lpVtbl->EnumComponents(This,enum_components,filter,pv); +} +static FORCEINLINE HRESULT ICifFile_FindComponent(ICifFile* This,const char *id,ICifComponent **p) { + return This->lpVtbl->FindComponent(This,id,p); +} +static FORCEINLINE HRESULT ICifFile_EnumGroups(ICifFile* This,IEnumCifGroups **enum_groups,DWORD filter,void *pv) { + return This->lpVtbl->EnumGroups(This,enum_groups,filter,pv); +} +static FORCEINLINE HRESULT ICifFile_FindGroup(ICifFile* This,const char *id,ICifGroup **p) { + return This->lpVtbl->FindGroup(This,id,p); +} +static FORCEINLINE HRESULT ICifFile_EnumModes(ICifFile* This,IEnumCifModes **cuf_modes,DWORD filter,void *pv) { + return This->lpVtbl->EnumModes(This,cuf_modes,filter,pv); +} +static FORCEINLINE HRESULT ICifFile_FindMode(ICifFile* This,const char *id,ICifMode **p) { + return This->lpVtbl->FindMode(This,id,p); +} +static FORCEINLINE HRESULT ICifFile_GetDescription(ICifFile* This,char *desc,DWORD size) { + return This->lpVtbl->GetDescription(This,desc,size); +} +static FORCEINLINE HRESULT ICifFile_GetDetDlls(ICifFile* This,char **dlls,DWORD size) { + return This->lpVtbl->GetDetDlls(This,dlls,size); +} +#endif +#endif + +#endif + + +#endif /* __ICifFile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallEngineCallback interface + */ +#ifndef __IInstallEngineCallback_INTERFACE_DEFINED__ +#define __IInstallEngineCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallEngineCallback, 0x6e449685, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6e449685-c509-11cf-aafa-00aa00b6015c") +IInstallEngineCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnEngineStatusChange( + DWORD status, + DWORD substatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStartInstall( + DWORD dl_size, + DWORD install_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStartComponent( + const char *id, + DWORD dl_size, + DWORD install_size, + const char *string) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnComponentProgress( + const char *id, + DWORD phrase, + const char *string, + const char *msg_string, + ULONG progress, + ULONG max) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStopComponent( + const char *id, + HRESULT error, + DWORD phrase, + const char *string, + DWORD status) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStopInstall( + HRESULT error, + const char *error_string, + DWORD status) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEngineProblem( + DWORD problem, + LPDWORD action) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallEngineCallback, 0x6e449685, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c) +#endif +#else +typedef struct IInstallEngineCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallEngineCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallEngineCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallEngineCallback *This); + + /*** IInstallEngineCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnEngineStatusChange)( + IInstallEngineCallback *This, + DWORD status, + DWORD substatus); + + HRESULT (STDMETHODCALLTYPE *OnStartInstall)( + IInstallEngineCallback *This, + DWORD dl_size, + DWORD install_size); + + HRESULT (STDMETHODCALLTYPE *OnStartComponent)( + IInstallEngineCallback *This, + const char *id, + DWORD dl_size, + DWORD install_size, + const char *string); + + HRESULT (STDMETHODCALLTYPE *OnComponentProgress)( + IInstallEngineCallback *This, + const char *id, + DWORD phrase, + const char *string, + const char *msg_string, + ULONG progress, + ULONG max); + + HRESULT (STDMETHODCALLTYPE *OnStopComponent)( + IInstallEngineCallback *This, + const char *id, + HRESULT error, + DWORD phrase, + const char *string, + DWORD status); + + HRESULT (STDMETHODCALLTYPE *OnStopInstall)( + IInstallEngineCallback *This, + HRESULT error, + const char *error_string, + DWORD status); + + HRESULT (STDMETHODCALLTYPE *OnEngineProblem)( + IInstallEngineCallback *This, + DWORD problem, + LPDWORD action); + + END_INTERFACE +} IInstallEngineCallbackVtbl; + +interface IInstallEngineCallback { + CONST_VTBL IInstallEngineCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallEngineCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallEngineCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallEngineCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IInstallEngineCallback methods ***/ +#define IInstallEngineCallback_OnEngineStatusChange(This,status,substatus) (This)->lpVtbl->OnEngineStatusChange(This,status,substatus) +#define IInstallEngineCallback_OnStartInstall(This,dl_size,install_size) (This)->lpVtbl->OnStartInstall(This,dl_size,install_size) +#define IInstallEngineCallback_OnStartComponent(This,id,dl_size,install_size,string) (This)->lpVtbl->OnStartComponent(This,id,dl_size,install_size,string) +#define IInstallEngineCallback_OnComponentProgress(This,id,phrase,string,msg_string,progress,max) (This)->lpVtbl->OnComponentProgress(This,id,phrase,string,msg_string,progress,max) +#define IInstallEngineCallback_OnStopComponent(This,id,error,phrase,string,status) (This)->lpVtbl->OnStopComponent(This,id,error,phrase,string,status) +#define IInstallEngineCallback_OnStopInstall(This,error,error_string,status) (This)->lpVtbl->OnStopInstall(This,error,error_string,status) +#define IInstallEngineCallback_OnEngineProblem(This,problem,action) (This)->lpVtbl->OnEngineProblem(This,problem,action) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallEngineCallback_QueryInterface(IInstallEngineCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallEngineCallback_AddRef(IInstallEngineCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallEngineCallback_Release(IInstallEngineCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IInstallEngineCallback methods ***/ +static FORCEINLINE HRESULT IInstallEngineCallback_OnEngineStatusChange(IInstallEngineCallback* This,DWORD status,DWORD substatus) { + return This->lpVtbl->OnEngineStatusChange(This,status,substatus); +} +static FORCEINLINE HRESULT IInstallEngineCallback_OnStartInstall(IInstallEngineCallback* This,DWORD dl_size,DWORD install_size) { + return This->lpVtbl->OnStartInstall(This,dl_size,install_size); +} +static FORCEINLINE HRESULT IInstallEngineCallback_OnStartComponent(IInstallEngineCallback* This,const char *id,DWORD dl_size,DWORD install_size,const char *string) { + return This->lpVtbl->OnStartComponent(This,id,dl_size,install_size,string); +} +static FORCEINLINE HRESULT IInstallEngineCallback_OnComponentProgress(IInstallEngineCallback* This,const char *id,DWORD phrase,const char *string,const char *msg_string,ULONG progress,ULONG max) { + return This->lpVtbl->OnComponentProgress(This,id,phrase,string,msg_string,progress,max); +} +static FORCEINLINE HRESULT IInstallEngineCallback_OnStopComponent(IInstallEngineCallback* This,const char *id,HRESULT error,DWORD phrase,const char *string,DWORD status) { + return This->lpVtbl->OnStopComponent(This,id,error,phrase,string,status); +} +static FORCEINLINE HRESULT IInstallEngineCallback_OnStopInstall(IInstallEngineCallback* This,HRESULT error,const char *error_string,DWORD status) { + return This->lpVtbl->OnStopInstall(This,error,error_string,status); +} +static FORCEINLINE HRESULT IInstallEngineCallback_OnEngineProblem(IInstallEngineCallback* This,DWORD problem,LPDWORD action) { + return This->lpVtbl->OnEngineProblem(This,problem,action); +} +#endif +#endif + +#endif + + +#endif /* __IInstallEngineCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallEngine interface + */ +#ifndef __IInstallEngine_INTERFACE_DEFINED__ +#define __IInstallEngine_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallEngine, 0x6e449684, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6e449684-c509-11cf-aafa-00aa00b6015c") +IInstallEngine : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetEngineStatus( + DWORD *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCifFile( + const char *cab_name, + const char *cif_name) = 0; + + virtual HRESULT STDMETHODCALLTYPE DownloadComponents( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstallComponents( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumInstallIDs( + UINT index, + char **id) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumDownloadIDs( + UINT index, + char **id) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsComponentInstalled( + const char *id, + DWORD *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterInstallEngineCallback( + IInstallEngineCallback *callback) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterInstallEngineCallback( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAction( + const char *id, + DWORD action, + DWORD priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSizes( + const char *id, + COMPONENT_SIZES *sizes) = 0; + + virtual HRESULT STDMETHODCALLTYPE LaunchExtraCommand( + const char *inf_name, + const char *section) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + const char *id, + const char *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBaseUrl( + const char *base_name) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDownloadDir( + const char *download_dir) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInstallDrive( + char drive) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInstallOptions( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHWND( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIStream( + IStream *stream) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abort( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallEngine, 0x6e449684, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c) +#endif +#else +typedef struct IInstallEngineVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallEngine *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallEngine *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallEngine *This); + + /*** IInstallEngine methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEngineStatus)( + IInstallEngine *This, + DWORD *status); + + HRESULT (STDMETHODCALLTYPE *SetCifFile)( + IInstallEngine *This, + const char *cab_name, + const char *cif_name); + + HRESULT (STDMETHODCALLTYPE *DownloadComponents)( + IInstallEngine *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *InstallComponents)( + IInstallEngine *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *EnumInstallIDs)( + IInstallEngine *This, + UINT index, + char **id); + + HRESULT (STDMETHODCALLTYPE *EnumDownloadIDs)( + IInstallEngine *This, + UINT index, + char **id); + + HRESULT (STDMETHODCALLTYPE *IsComponentInstalled)( + IInstallEngine *This, + const char *id, + DWORD *status); + + HRESULT (STDMETHODCALLTYPE *RegisterInstallEngineCallback)( + IInstallEngine *This, + IInstallEngineCallback *callback); + + HRESULT (STDMETHODCALLTYPE *UnregisterInstallEngineCallback)( + IInstallEngine *This); + + HRESULT (STDMETHODCALLTYPE *SetAction)( + IInstallEngine *This, + const char *id, + DWORD action, + DWORD priority); + + HRESULT (STDMETHODCALLTYPE *GetSizes)( + IInstallEngine *This, + const char *id, + COMPONENT_SIZES *sizes); + + HRESULT (STDMETHODCALLTYPE *LaunchExtraCommand)( + IInstallEngine *This, + const char *inf_name, + const char *section); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IInstallEngine *This, + const char *id, + const char *name); + + HRESULT (STDMETHODCALLTYPE *SetBaseUrl)( + IInstallEngine *This, + const char *base_name); + + HRESULT (STDMETHODCALLTYPE *SetDownloadDir)( + IInstallEngine *This, + const char *download_dir); + + HRESULT (STDMETHODCALLTYPE *SetInstallDrive)( + IInstallEngine *This, + char drive); + + HRESULT (STDMETHODCALLTYPE *SetInstallOptions)( + IInstallEngine *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *SetHWND)( + IInstallEngine *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SetIStream)( + IInstallEngine *This, + IStream *stream); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IInstallEngine *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IInstallEngine *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IInstallEngine *This); + + END_INTERFACE +} IInstallEngineVtbl; + +interface IInstallEngine { + CONST_VTBL IInstallEngineVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallEngine_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallEngine_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallEngine_Release(This) (This)->lpVtbl->Release(This) +/*** IInstallEngine methods ***/ +#define IInstallEngine_GetEngineStatus(This,status) (This)->lpVtbl->GetEngineStatus(This,status) +#define IInstallEngine_SetCifFile(This,cab_name,cif_name) (This)->lpVtbl->SetCifFile(This,cab_name,cif_name) +#define IInstallEngine_DownloadComponents(This,flags) (This)->lpVtbl->DownloadComponents(This,flags) +#define IInstallEngine_InstallComponents(This,flags) (This)->lpVtbl->InstallComponents(This,flags) +#define IInstallEngine_EnumInstallIDs(This,index,id) (This)->lpVtbl->EnumInstallIDs(This,index,id) +#define IInstallEngine_EnumDownloadIDs(This,index,id) (This)->lpVtbl->EnumDownloadIDs(This,index,id) +#define IInstallEngine_IsComponentInstalled(This,id,status) (This)->lpVtbl->IsComponentInstalled(This,id,status) +#define IInstallEngine_RegisterInstallEngineCallback(This,callback) (This)->lpVtbl->RegisterInstallEngineCallback(This,callback) +#define IInstallEngine_UnregisterInstallEngineCallback(This) (This)->lpVtbl->UnregisterInstallEngineCallback(This) +#define IInstallEngine_SetAction(This,id,action,priority) (This)->lpVtbl->SetAction(This,id,action,priority) +#define IInstallEngine_GetSizes(This,id,sizes) (This)->lpVtbl->GetSizes(This,id,sizes) +#define IInstallEngine_LaunchExtraCommand(This,inf_name,section) (This)->lpVtbl->LaunchExtraCommand(This,inf_name,section) +#define IInstallEngine_GetDisplayName(This,id,name) (This)->lpVtbl->GetDisplayName(This,id,name) +#define IInstallEngine_SetBaseUrl(This,base_name) (This)->lpVtbl->SetBaseUrl(This,base_name) +#define IInstallEngine_SetDownloadDir(This,download_dir) (This)->lpVtbl->SetDownloadDir(This,download_dir) +#define IInstallEngine_SetInstallDrive(This,drive) (This)->lpVtbl->SetInstallDrive(This,drive) +#define IInstallEngine_SetInstallOptions(This,flags) (This)->lpVtbl->SetInstallOptions(This,flags) +#define IInstallEngine_SetHWND(This,hwnd) (This)->lpVtbl->SetHWND(This,hwnd) +#define IInstallEngine_SetIStream(This,stream) (This)->lpVtbl->SetIStream(This,stream) +#define IInstallEngine_Abort(This,flags) (This)->lpVtbl->Abort(This,flags) +#define IInstallEngine_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IInstallEngine_Resume(This) (This)->lpVtbl->Resume(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallEngine_QueryInterface(IInstallEngine* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallEngine_AddRef(IInstallEngine* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallEngine_Release(IInstallEngine* This) { + return This->lpVtbl->Release(This); +} +/*** IInstallEngine methods ***/ +static FORCEINLINE HRESULT IInstallEngine_GetEngineStatus(IInstallEngine* This,DWORD *status) { + return This->lpVtbl->GetEngineStatus(This,status); +} +static FORCEINLINE HRESULT IInstallEngine_SetCifFile(IInstallEngine* This,const char *cab_name,const char *cif_name) { + return This->lpVtbl->SetCifFile(This,cab_name,cif_name); +} +static FORCEINLINE HRESULT IInstallEngine_DownloadComponents(IInstallEngine* This,DWORD flags) { + return This->lpVtbl->DownloadComponents(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine_InstallComponents(IInstallEngine* This,DWORD flags) { + return This->lpVtbl->InstallComponents(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine_EnumInstallIDs(IInstallEngine* This,UINT index,char **id) { + return This->lpVtbl->EnumInstallIDs(This,index,id); +} +static FORCEINLINE HRESULT IInstallEngine_EnumDownloadIDs(IInstallEngine* This,UINT index,char **id) { + return This->lpVtbl->EnumDownloadIDs(This,index,id); +} +static FORCEINLINE HRESULT IInstallEngine_IsComponentInstalled(IInstallEngine* This,const char *id,DWORD *status) { + return This->lpVtbl->IsComponentInstalled(This,id,status); +} +static FORCEINLINE HRESULT IInstallEngine_RegisterInstallEngineCallback(IInstallEngine* This,IInstallEngineCallback *callback) { + return This->lpVtbl->RegisterInstallEngineCallback(This,callback); +} +static FORCEINLINE HRESULT IInstallEngine_UnregisterInstallEngineCallback(IInstallEngine* This) { + return This->lpVtbl->UnregisterInstallEngineCallback(This); +} +static FORCEINLINE HRESULT IInstallEngine_SetAction(IInstallEngine* This,const char *id,DWORD action,DWORD priority) { + return This->lpVtbl->SetAction(This,id,action,priority); +} +static FORCEINLINE HRESULT IInstallEngine_GetSizes(IInstallEngine* This,const char *id,COMPONENT_SIZES *sizes) { + return This->lpVtbl->GetSizes(This,id,sizes); +} +static FORCEINLINE HRESULT IInstallEngine_LaunchExtraCommand(IInstallEngine* This,const char *inf_name,const char *section) { + return This->lpVtbl->LaunchExtraCommand(This,inf_name,section); +} +static FORCEINLINE HRESULT IInstallEngine_GetDisplayName(IInstallEngine* This,const char *id,const char *name) { + return This->lpVtbl->GetDisplayName(This,id,name); +} +static FORCEINLINE HRESULT IInstallEngine_SetBaseUrl(IInstallEngine* This,const char *base_name) { + return This->lpVtbl->SetBaseUrl(This,base_name); +} +static FORCEINLINE HRESULT IInstallEngine_SetDownloadDir(IInstallEngine* This,const char *download_dir) { + return This->lpVtbl->SetDownloadDir(This,download_dir); +} +static FORCEINLINE HRESULT IInstallEngine_SetInstallDrive(IInstallEngine* This,char drive) { + return This->lpVtbl->SetInstallDrive(This,drive); +} +static FORCEINLINE HRESULT IInstallEngine_SetInstallOptions(IInstallEngine* This,DWORD flags) { + return This->lpVtbl->SetInstallOptions(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine_SetHWND(IInstallEngine* This,HWND hwnd) { + return This->lpVtbl->SetHWND(This,hwnd); +} +static FORCEINLINE HRESULT IInstallEngine_SetIStream(IInstallEngine* This,IStream *stream) { + return This->lpVtbl->SetIStream(This,stream); +} +static FORCEINLINE HRESULT IInstallEngine_Abort(IInstallEngine* This,DWORD flags) { + return This->lpVtbl->Abort(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine_Suspend(IInstallEngine* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IInstallEngine_Resume(IInstallEngine* This) { + return This->lpVtbl->Resume(This); +} +#endif +#endif + +#endif + + +#endif /* __IInstallEngine_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallEngine2 interface + */ +#ifndef __IInstallEngine2_INTERFACE_DEFINED__ +#define __IInstallEngine2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallEngine2, 0x6e449689, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6e449689-c509-11cf-aafa-00aa00b6015c") +IInstallEngine2 : public IInstallEngine +{ + virtual HRESULT STDMETHODCALLTYPE SetLocalCif( + const char *cif) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetICifFile( + ICifFile **cif_file) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallEngine2, 0x6e449689, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c) +#endif +#else +typedef struct IInstallEngine2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallEngine2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallEngine2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallEngine2 *This); + + /*** IInstallEngine methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEngineStatus)( + IInstallEngine2 *This, + DWORD *status); + + HRESULT (STDMETHODCALLTYPE *SetCifFile)( + IInstallEngine2 *This, + const char *cab_name, + const char *cif_name); + + HRESULT (STDMETHODCALLTYPE *DownloadComponents)( + IInstallEngine2 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *InstallComponents)( + IInstallEngine2 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *EnumInstallIDs)( + IInstallEngine2 *This, + UINT index, + char **id); + + HRESULT (STDMETHODCALLTYPE *EnumDownloadIDs)( + IInstallEngine2 *This, + UINT index, + char **id); + + HRESULT (STDMETHODCALLTYPE *IsComponentInstalled)( + IInstallEngine2 *This, + const char *id, + DWORD *status); + + HRESULT (STDMETHODCALLTYPE *RegisterInstallEngineCallback)( + IInstallEngine2 *This, + IInstallEngineCallback *callback); + + HRESULT (STDMETHODCALLTYPE *UnregisterInstallEngineCallback)( + IInstallEngine2 *This); + + HRESULT (STDMETHODCALLTYPE *SetAction)( + IInstallEngine2 *This, + const char *id, + DWORD action, + DWORD priority); + + HRESULT (STDMETHODCALLTYPE *GetSizes)( + IInstallEngine2 *This, + const char *id, + COMPONENT_SIZES *sizes); + + HRESULT (STDMETHODCALLTYPE *LaunchExtraCommand)( + IInstallEngine2 *This, + const char *inf_name, + const char *section); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IInstallEngine2 *This, + const char *id, + const char *name); + + HRESULT (STDMETHODCALLTYPE *SetBaseUrl)( + IInstallEngine2 *This, + const char *base_name); + + HRESULT (STDMETHODCALLTYPE *SetDownloadDir)( + IInstallEngine2 *This, + const char *download_dir); + + HRESULT (STDMETHODCALLTYPE *SetInstallDrive)( + IInstallEngine2 *This, + char drive); + + HRESULT (STDMETHODCALLTYPE *SetInstallOptions)( + IInstallEngine2 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *SetHWND)( + IInstallEngine2 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SetIStream)( + IInstallEngine2 *This, + IStream *stream); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IInstallEngine2 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IInstallEngine2 *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IInstallEngine2 *This); + + /*** IInstallEngine2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetLocalCif)( + IInstallEngine2 *This, + const char *cif); + + HRESULT (STDMETHODCALLTYPE *GetICifFile)( + IInstallEngine2 *This, + ICifFile **cif_file); + + END_INTERFACE +} IInstallEngine2Vtbl; + +interface IInstallEngine2 { + CONST_VTBL IInstallEngine2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallEngine2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallEngine2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallEngine2_Release(This) (This)->lpVtbl->Release(This) +/*** IInstallEngine methods ***/ +#define IInstallEngine2_GetEngineStatus(This,status) (This)->lpVtbl->GetEngineStatus(This,status) +#define IInstallEngine2_SetCifFile(This,cab_name,cif_name) (This)->lpVtbl->SetCifFile(This,cab_name,cif_name) +#define IInstallEngine2_DownloadComponents(This,flags) (This)->lpVtbl->DownloadComponents(This,flags) +#define IInstallEngine2_InstallComponents(This,flags) (This)->lpVtbl->InstallComponents(This,flags) +#define IInstallEngine2_EnumInstallIDs(This,index,id) (This)->lpVtbl->EnumInstallIDs(This,index,id) +#define IInstallEngine2_EnumDownloadIDs(This,index,id) (This)->lpVtbl->EnumDownloadIDs(This,index,id) +#define IInstallEngine2_IsComponentInstalled(This,id,status) (This)->lpVtbl->IsComponentInstalled(This,id,status) +#define IInstallEngine2_RegisterInstallEngineCallback(This,callback) (This)->lpVtbl->RegisterInstallEngineCallback(This,callback) +#define IInstallEngine2_UnregisterInstallEngineCallback(This) (This)->lpVtbl->UnregisterInstallEngineCallback(This) +#define IInstallEngine2_SetAction(This,id,action,priority) (This)->lpVtbl->SetAction(This,id,action,priority) +#define IInstallEngine2_GetSizes(This,id,sizes) (This)->lpVtbl->GetSizes(This,id,sizes) +#define IInstallEngine2_LaunchExtraCommand(This,inf_name,section) (This)->lpVtbl->LaunchExtraCommand(This,inf_name,section) +#define IInstallEngine2_GetDisplayName(This,id,name) (This)->lpVtbl->GetDisplayName(This,id,name) +#define IInstallEngine2_SetBaseUrl(This,base_name) (This)->lpVtbl->SetBaseUrl(This,base_name) +#define IInstallEngine2_SetDownloadDir(This,download_dir) (This)->lpVtbl->SetDownloadDir(This,download_dir) +#define IInstallEngine2_SetInstallDrive(This,drive) (This)->lpVtbl->SetInstallDrive(This,drive) +#define IInstallEngine2_SetInstallOptions(This,flags) (This)->lpVtbl->SetInstallOptions(This,flags) +#define IInstallEngine2_SetHWND(This,hwnd) (This)->lpVtbl->SetHWND(This,hwnd) +#define IInstallEngine2_SetIStream(This,stream) (This)->lpVtbl->SetIStream(This,stream) +#define IInstallEngine2_Abort(This,flags) (This)->lpVtbl->Abort(This,flags) +#define IInstallEngine2_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IInstallEngine2_Resume(This) (This)->lpVtbl->Resume(This) +/*** IInstallEngine2 methods ***/ +#define IInstallEngine2_SetLocalCif(This,cif) (This)->lpVtbl->SetLocalCif(This,cif) +#define IInstallEngine2_GetICifFile(This,cif_file) (This)->lpVtbl->GetICifFile(This,cif_file) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallEngine2_QueryInterface(IInstallEngine2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallEngine2_AddRef(IInstallEngine2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallEngine2_Release(IInstallEngine2* This) { + return This->lpVtbl->Release(This); +} +/*** IInstallEngine methods ***/ +static FORCEINLINE HRESULT IInstallEngine2_GetEngineStatus(IInstallEngine2* This,DWORD *status) { + return This->lpVtbl->GetEngineStatus(This,status); +} +static FORCEINLINE HRESULT IInstallEngine2_SetCifFile(IInstallEngine2* This,const char *cab_name,const char *cif_name) { + return This->lpVtbl->SetCifFile(This,cab_name,cif_name); +} +static FORCEINLINE HRESULT IInstallEngine2_DownloadComponents(IInstallEngine2* This,DWORD flags) { + return This->lpVtbl->DownloadComponents(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine2_InstallComponents(IInstallEngine2* This,DWORD flags) { + return This->lpVtbl->InstallComponents(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine2_EnumInstallIDs(IInstallEngine2* This,UINT index,char **id) { + return This->lpVtbl->EnumInstallIDs(This,index,id); +} +static FORCEINLINE HRESULT IInstallEngine2_EnumDownloadIDs(IInstallEngine2* This,UINT index,char **id) { + return This->lpVtbl->EnumDownloadIDs(This,index,id); +} +static FORCEINLINE HRESULT IInstallEngine2_IsComponentInstalled(IInstallEngine2* This,const char *id,DWORD *status) { + return This->lpVtbl->IsComponentInstalled(This,id,status); +} +static FORCEINLINE HRESULT IInstallEngine2_RegisterInstallEngineCallback(IInstallEngine2* This,IInstallEngineCallback *callback) { + return This->lpVtbl->RegisterInstallEngineCallback(This,callback); +} +static FORCEINLINE HRESULT IInstallEngine2_UnregisterInstallEngineCallback(IInstallEngine2* This) { + return This->lpVtbl->UnregisterInstallEngineCallback(This); +} +static FORCEINLINE HRESULT IInstallEngine2_SetAction(IInstallEngine2* This,const char *id,DWORD action,DWORD priority) { + return This->lpVtbl->SetAction(This,id,action,priority); +} +static FORCEINLINE HRESULT IInstallEngine2_GetSizes(IInstallEngine2* This,const char *id,COMPONENT_SIZES *sizes) { + return This->lpVtbl->GetSizes(This,id,sizes); +} +static FORCEINLINE HRESULT IInstallEngine2_LaunchExtraCommand(IInstallEngine2* This,const char *inf_name,const char *section) { + return This->lpVtbl->LaunchExtraCommand(This,inf_name,section); +} +static FORCEINLINE HRESULT IInstallEngine2_GetDisplayName(IInstallEngine2* This,const char *id,const char *name) { + return This->lpVtbl->GetDisplayName(This,id,name); +} +static FORCEINLINE HRESULT IInstallEngine2_SetBaseUrl(IInstallEngine2* This,const char *base_name) { + return This->lpVtbl->SetBaseUrl(This,base_name); +} +static FORCEINLINE HRESULT IInstallEngine2_SetDownloadDir(IInstallEngine2* This,const char *download_dir) { + return This->lpVtbl->SetDownloadDir(This,download_dir); +} +static FORCEINLINE HRESULT IInstallEngine2_SetInstallDrive(IInstallEngine2* This,char drive) { + return This->lpVtbl->SetInstallDrive(This,drive); +} +static FORCEINLINE HRESULT IInstallEngine2_SetInstallOptions(IInstallEngine2* This,DWORD flags) { + return This->lpVtbl->SetInstallOptions(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine2_SetHWND(IInstallEngine2* This,HWND hwnd) { + return This->lpVtbl->SetHWND(This,hwnd); +} +static FORCEINLINE HRESULT IInstallEngine2_SetIStream(IInstallEngine2* This,IStream *stream) { + return This->lpVtbl->SetIStream(This,stream); +} +static FORCEINLINE HRESULT IInstallEngine2_Abort(IInstallEngine2* This,DWORD flags) { + return This->lpVtbl->Abort(This,flags); +} +static FORCEINLINE HRESULT IInstallEngine2_Suspend(IInstallEngine2* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IInstallEngine2_Resume(IInstallEngine2* This) { + return This->lpVtbl->Resume(This); +} +/*** IInstallEngine2 methods ***/ +static FORCEINLINE HRESULT IInstallEngine2_SetLocalCif(IInstallEngine2* This,const char *cif) { + return This->lpVtbl->SetLocalCif(This,cif); +} +static FORCEINLINE HRESULT IInstallEngine2_GetICifFile(IInstallEngine2* This,ICifFile **cif_file) { + return This->lpVtbl->GetICifFile(This,cif_file); +} +#endif +#endif + +#endif + + +#endif /* __IInstallEngine2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * InstallEngine coclass + */ + +DEFINE_GUID(CLSID_InstallEngine, 0x6e449686, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c); + +#ifdef __cplusplus +class DECLSPEC_UUID("6e449686-c509-11cf-aafa-00aa00b6015c") InstallEngine; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(InstallEngine, 0x6e449686, 0xc509, 0x11cf, 0xaa,0xfa, 0x00,0xaa,0x00,0xb6,0x01,0x5c) +#endif +#endif + +/***************************************************************************** + * DownloadSiteMgr coclass + */ + +DEFINE_GUID(CLSID_DownloadSiteMgr, 0xbfc880f1, 0x7484, 0x11d0, 0x83,0x09, 0x00,0xaa,0x00,0xb6,0x01,0x5c); + +#ifdef __cplusplus +class DECLSPEC_UUID("bfc880f1-7484-11d0-8309-00aa00b6015c") DownloadSiteMgr; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DownloadSiteMgr, 0xbfc880f1, 0x7484, 0x11d0, 0x83,0x09, 0x00,0xaa,0x00,0xb6,0x01,0x5c) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __inseng_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inseng.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inseng.idl new file mode 100644 index 0000000..8a3f4c4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inseng.idl @@ -0,0 +1,136 @@ +/* + * Copyright 2015 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WIDL__ +#define threading(model) +#endif + +cpp_quote("#if 0") +import "unknwn.idl"; +cpp_quote("#endif") + +interface IStream; + +/* FIXME: Add full declarations. */ +interface ICifComponent; +interface IEnumCifComponents; +interface ICifGroup; +interface IEnumCifGroups; +interface ICifMode; +interface IEnumCifModes; + +typedef struct { + DWORD cbSize; + DWORD dwInstallSize; + DWORD dwWinDriveSize; + DWORD dwDownloadSize; + DWORD dwDependancySize; + DWORD dwInstallDriveReq; + DWORD dwWinDriveReq; + DWORD dwDownloadDriveReq; + char chWinDrive; + char chInstallDrive; + char chDownloadDrive; + DWORD dwTotalDownloadSize; +} COMPONENT_SIZES; + +[ + uuid(6e449688-c509-11cf-aafa-00aa00b6015c), + local +] +interface ICifFile : IUnknown +{ + HRESULT EnumComponents(IEnumCifComponents **enum_components, DWORD filter, void *pv); + HRESULT FindComponent(const char *id, ICifComponent **p); + HRESULT EnumGroups(IEnumCifGroups **enum_groups, DWORD filter, void *pv); + HRESULT FindGroup(const char *id, ICifGroup **p); + HRESULT EnumModes(IEnumCifModes **cuf_modes, DWORD filter, void *pv); + HRESULT FindMode(const char *id, ICifMode **p); + HRESULT GetDescription(char *desc, DWORD size); + HRESULT GetDetDlls(char **dlls, DWORD size); +} + +[ + uuid(6e449685-c509-11cf-aafa-00aa00b6015c), + local +] +interface IInstallEngineCallback : IUnknown +{ + HRESULT OnEngineStatusChange(DWORD status, DWORD substatus); + HRESULT OnStartInstall(DWORD dl_size, DWORD install_size); + HRESULT OnStartComponent(const char *id, DWORD dl_size, DWORD install_size, const char *string); + HRESULT OnComponentProgress(const char *id, DWORD phrase, const char *string, + const char *msg_string, ULONG progress, ULONG max); + HRESULT OnStopComponent(const char *id, HRESULT error, DWORD phrase, const char *string, DWORD status); + HRESULT OnStopInstall(HRESULT error, const char *error_string, DWORD status); + HRESULT OnEngineProblem(DWORD problem, LPDWORD action); +} + +[ + uuid(6e449684-c509-11cf-aafa-00aa00b6015c), + local +] +interface IInstallEngine : IUnknown +{ + HRESULT GetEngineStatus(DWORD *status); + HRESULT SetCifFile(const char *cab_name, const char *cif_name); + HRESULT DownloadComponents(DWORD flags); + HRESULT InstallComponents(DWORD flags); + HRESULT EnumInstallIDs(UINT index, char **id); + HRESULT EnumDownloadIDs(UINT index, char **id); + HRESULT IsComponentInstalled(const char *id, DWORD *status); + HRESULT RegisterInstallEngineCallback(IInstallEngineCallback *callback); + HRESULT UnregisterInstallEngineCallback(); + HRESULT SetAction(const char *id, DWORD action, DWORD priority); + HRESULT GetSizes(const char *id, COMPONENT_SIZES *sizes); + HRESULT LaunchExtraCommand(const char *inf_name, const char *section); + HRESULT GetDisplayName(const char *id, const char *name); + HRESULT SetBaseUrl(const char *base_name); + HRESULT SetDownloadDir(const char *download_dir); + HRESULT SetInstallDrive(char drive); + HRESULT SetInstallOptions(DWORD flags); + HRESULT SetHWND(HWND hwnd); + HRESULT SetIStream(IStream *stream); + HRESULT Abort(DWORD flags); + HRESULT Suspend(); + HRESULT Resume(); +} + +[ + uuid(6e449689-c509-11cf-aafa-00aa00b6015c), + local +] +interface IInstallEngine2 : IInstallEngine +{ + HRESULT SetLocalCif(const char *cif); + HRESULT GetICifFile(ICifFile **cif_file); +} + +[ + helpstring("Microsoft Active Setup Engine"), + threading(apartment), + uuid(6e449686-c509-11cf-aafa-00aa00b6015c) +] +coclass InstallEngine { } + +[ + helpstring("Download Site Manager"), + threading(apartment), + uuid(bfc880f1-7484-11d0-8309-00aa00b6015c) +] +coclass DownloadSiteMgr { } diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inspectable.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inspectable.h new file mode 100644 index 0000000..ccc5919 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inspectable.h @@ -0,0 +1,158 @@ +/*** Autogenerated by WIDL 2.18 from inspectable.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __inspectable_h__ +#define __inspectable_h__ + +/* Forward declarations */ + +#ifndef __IInspectable_FWD_DEFINED__ +#define __IInspectable_FWD_DEFINED__ +typedef interface IInspectable IInspectable; +#ifdef __cplusplus +interface IInspectable; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum TrustLevel { + BaseTrust = 0, + PartialTrust = 1, + FullTrust = 2 +} TrustLevel; +/***************************************************************************** + * IInspectable interface + */ +#ifndef __IInspectable_INTERFACE_DEFINED__ +#define __IInspectable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInspectable, 0xaf86e2e0, 0xb12d, 0x4c6a, 0x9c,0x5a, 0xd7,0xaa,0x65,0x10,0x1e,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("af86e2e0-b12d-4c6a-9c5a-d7aa65101e90") +IInspectable : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIids( + ULONG *iidCount, + IID **iids) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRuntimeClassName( + HSTRING *className) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTrustLevel( + TrustLevel *trustLevel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInspectable, 0xaf86e2e0, 0xb12d, 0x4c6a, 0x9c,0x5a, 0xd7,0xaa,0x65,0x10,0x1e,0x90) +#endif +#else +typedef struct IInspectableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInspectable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInspectable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInspectable *This); + + /*** IInspectable methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIids)( + IInspectable *This, + ULONG *iidCount, + IID **iids); + + HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( + IInspectable *This, + HSTRING *className); + + HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( + IInspectable *This, + TrustLevel *trustLevel); + + END_INTERFACE +} IInspectableVtbl; + +interface IInspectable { + CONST_VTBL IInspectableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInspectable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInspectable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInspectable_Release(This) (This)->lpVtbl->Release(This) +/*** IInspectable methods ***/ +#define IInspectable_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) +#define IInspectable_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) +#define IInspectable_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInspectable_QueryInterface(IInspectable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInspectable_AddRef(IInspectable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInspectable_Release(IInspectable* This) { + return This->lpVtbl->Release(This); +} +/*** IInspectable methods ***/ +static FORCEINLINE HRESULT IInspectable_GetIids(IInspectable* This,ULONG *iidCount,IID **iids) { + return This->lpVtbl->GetIids(This,iidCount,iids); +} +static FORCEINLINE HRESULT IInspectable_GetRuntimeClassName(IInspectable* This,HSTRING *className) { + return This->lpVtbl->GetRuntimeClassName(This,className); +} +static FORCEINLINE HRESULT IInspectable_GetTrustLevel(IInspectable* This,TrustLevel *trustLevel) { + return This->lpVtbl->GetTrustLevel(This,trustLevel); +} +#endif +#endif + +#endif + + +#endif /* __IInspectable_INTERFACE_DEFINED__ */ + +typedef IInspectable *LPINSPECTABLE; +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *); +unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *); +unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *); +void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __inspectable_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inspectable.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inspectable.idl new file mode 100644 index 0000000..847d21d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/inspectable.idl @@ -0,0 +1,41 @@ +/* + * Copyright 2015 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; +import "unknwn.idl"; +import "hstring.idl"; + +typedef [v1_enum] enum TrustLevel { + BaseTrust, + PartialTrust, + FullTrust +} TrustLevel; + +[ + object, + uuid(af86e2e0-b12d-4c6a-9c5a-d7aa65101e90), + pointer_default(unique) +] +interface IInspectable : IUnknown +{ + HRESULT GetIids([out] ULONG *iidCount, [out, size_is(,*iidCount)] IID **iids); + HRESULT GetRuntimeClassName([out] HSTRING *className); + HRESULT GetTrustLevel([out] TrustLevel *trustLevel); +} + +typedef [unique] IInspectable *LPINSPECTABLE; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/intshcut.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/intshcut.h new file mode 100644 index 0000000..842a9c0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/intshcut.h @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_INTSHCUT_H +#define __WINE_INTSHCUT_H + +#include + +#define INTSHCUTAPI + +#ifdef __cplusplus +extern "C" { +#endif + +#define E_FLAGS MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x1000) +#define IS_E_EXEC_FAILED MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x2002) +#define URL_E_INVALID_SYNTAX MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x1001) +#define URL_E_UNREGISTERED_PROTOCOL MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x1002) + +typedef enum iurl_seturl_flags { + IURL_SETURL_FL_GUESS_PROTOCOL=1, + IURL_SETURL_FL_USE_DEFAULT_PROTOCOL, + ALL_IURL_SETURL_FLAGS=(IURL_SETURL_FL_GUESS_PROTOCOL|IURL_SETURL_FL_USE_DEFAULT_PROTOCOL) +} IURL_SETURL_FLAGS; + +typedef enum iurl_invokecommand_flags { + IURL_INVOKECOMMAND_FL_ALLOW_UI=1, + IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB, + ALL_IURL_INVOKECOMMAND_FLAGS=(IURL_INVOKECOMMAND_FL_ALLOW_UI|IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB) +} IURL_INVOKECOMMAND_FLAGS; + +typedef struct urlinvokecommandinfoA { + DWORD dwcbSize; + DWORD dwFlags; + HWND hwndParent; + LPCSTR pcszVerb; +} URLINVOKECOMMANDINFOA, *PURLINVOKECOMMANDINFOA; +typedef const URLINVOKECOMMANDINFOA CURLINVOKECOMMANDINFOA; +typedef const URLINVOKECOMMANDINFOA *PCURLINVOKECOMMANDINFOA; + +typedef struct urlinvokecommandinfoW { + DWORD dwcbSize; + DWORD dwFlags; + HWND hwndParent; + LPCWSTR pcszVerb; +} URLINVOKECOMMANDINFOW, *PURLINVOKECOMMANDINFOW; +typedef const URLINVOKECOMMANDINFOW CURLINVOKECOMMANDINFOW; +typedef const URLINVOKECOMMANDINFOW *PCURLINVOKECOMMANDINFOW; + +#define INTERFACE IUniformResourceLocatorA +DECLARE_INTERFACE_(IUniformResourceLocatorA,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, VOID **ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IUniformResourceLocatorA methods ***/ + STDMETHOD(SetURL)(THIS_ LPCSTR pcszURL, DWORD dwInFlags) PURE; + STDMETHOD(GetURL)(THIS_ LPSTR *ppszURL) PURE; + STDMETHOD(InvokeCommand)(THIS_ PURLINVOKECOMMANDINFOA pURLCommandInfo) PURE; +}; +#undef INTERFACE + +#define INTERFACE IUniformResourceLocatorW +DECLARE_INTERFACE_(IUniformResourceLocatorW,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, VOID **ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IUniformResourceLocatorW methods ***/ + STDMETHOD(SetURL)(THIS_ LPCWSTR pcszURL, DWORD dwInFlags) PURE; + STDMETHOD(GetURL)(THIS_ LPWSTR *ppszURL) PURE; + STDMETHOD(InvokeCommand)(THIS_ PURLINVOKECOMMANDINFOW pURLCommandInfo) PURE; +}; +#undef INTERFACE + +DECL_WINELIB_TYPE_AW(URLINVOKECOMMANDINFO) +DECL_WINELIB_TYPE_AW(PURLINVOKECOMMANDINFO) +DECL_WINELIB_TYPE_AW(CURLINVOKECOMMANDINFO) +DECL_WINELIB_TYPE_AW(PCURLINVOKECOMMANDINFO) + + +typedef enum translateurl_in_flags { + TRANSLATEURL_FL_GUESS_PROTOCOL=1, + TRANSLATEURL_FL_USE_DEFAULT_PROTOCOL +} TRANSLATEURL_IN_FLAGS; + +HRESULT WINAPI TranslateURLA(LPCSTR, DWORD, LPSTR *); +HRESULT WINAPI TranslateURLW(LPCWSTR, DWORD, LPWSTR *); +#define TranslateURL WINELIB_NAME_AW(TranslateURL) + +BOOL WINAPI InetIsOffline(DWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_INTSHCUT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipexport.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipexport.h new file mode 100644 index 0000000..a0e30ba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipexport.h @@ -0,0 +1,119 @@ +/* + * Defines the types and macros used by the ICMP API, see icmpapi.h. + * + * Copyright (C) 1999 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_IPEXPORT_H +#define __WINE_IPEXPORT_H + +#include +#include + +typedef ULONG IPAddr; +typedef ULONG IPMask; +typedef ULONG IP_STATUS; + +struct ip_option_information +{ + unsigned char Ttl; + unsigned char Tos; + unsigned char Flags; + unsigned char OptionsSize; + unsigned char* OptionsData; +}; + +#define IP_FLAG_DF 0x2 + +#define IP_OPT_EOL 0 +#define IP_OPT_NOP 1 +#define IP_OPT_SECURITY 0x82 +#define IP_OPT_LSRR 0x83 +#define IP_OPT_SSRR 0x89 +#define IP_OPT_RR 0x7 +#define IP_OPT_TS 0x44 +#define IP_OPT_SID 0x88 + +#define MAX_OPT_SIZE 40 + + +struct icmp_echo_reply +{ + IPAddr Address; + ULONG Status; + ULONG RoundTripTime; + unsigned short DataSize; + unsigned short Reserved; + void* Data; + struct ip_option_information Options; +}; + +typedef struct ip_option_information IP_OPTION_INFORMATION, *PIP_OPTION_INFORMATION; + +typedef struct icmp_echo_reply ICMP_ECHO_REPLY, *PICMP_ECHO_REPLY; + + +#define IP_STATUS_BASE 11000 + +#define IP_SUCCESS 0 +#define IP_BUF_TOO_SMALL (IP_STATUS_BASE + 1) +#define IP_DEST_NET_UNREACHABLE (IP_STATUS_BASE + 2) +#define IP_DEST_HOST_UNREACHABLE (IP_STATUS_BASE + 3) +#define IP_DEST_PROT_UNREACHABLE (IP_STATUS_BASE + 4) +#define IP_DEST_PORT_UNREACHABLE (IP_STATUS_BASE + 5) +#define IP_NO_RESOURCES (IP_STATUS_BASE + 6) +#define IP_BAD_OPTION (IP_STATUS_BASE + 7) +#define IP_HW_ERROR (IP_STATUS_BASE + 8) +#define IP_PACKET_TOO_BIG (IP_STATUS_BASE + 9) +#define IP_REQ_TIMED_OUT (IP_STATUS_BASE + 10) +#define IP_BAD_REQ (IP_STATUS_BASE + 11) +#define IP_BAD_ROUTE (IP_STATUS_BASE + 12) +#define IP_TTL_EXPIRED_TRANSIT (IP_STATUS_BASE + 13) +#define IP_TTL_EXPIRED_REASSEM (IP_STATUS_BASE + 14) +#define IP_PARAM_PROBLEM (IP_STATUS_BASE + 15) +#define IP_SOURCE_QUENCH (IP_STATUS_BASE + 16) +#define IP_OPTION_TOO_BIG (IP_STATUS_BASE + 17) +#define IP_BAD_DESTINATION (IP_STATUS_BASE + 18) + +#define IP_ADDR_DELETED (IP_STATUS_BASE + 19) +#define IP_SPEC_MTU_CHANGE (IP_STATUS_BASE + 20) +#define IP_MTU_CHANGE (IP_STATUS_BASE + 21) +#define IP_UNLOAD (IP_STATUS_BASE + 22) + +#define IP_GENERAL_FAILURE (IP_STATUS_BASE + 50) +#define MAX_IP_STATUS IP_GENERAL_FAILURE +#define IP_PENDING (IP_STATUS_BASE + 255) + + +#define MAX_ADAPTER_NAME 128 + +typedef struct _IP_ADAPTER_INDEX_MAP { + ULONG Index; + WCHAR Name[MAX_ADAPTER_NAME]; +} IP_ADAPTER_INDEX_MAP, *PIP_ADAPTER_INDEX_MAP; + +typedef struct _IP_INTERFACE_INFO { + LONG NumAdapters; + IP_ADAPTER_INDEX_MAP Adapter[1]; +} IP_INTERFACE_INFO,*PIP_INTERFACE_INFO; + +typedef struct _IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { + ULONG NumAdapters; + IPAddr Address[1]; +} IP_UNIDIRECTIONAL_ADAPTER_ADDRESS, *PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS; + +#endif /* __WINE_IPEXPORT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iphlpapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iphlpapi.h new file mode 100644 index 0000000..ca8e48f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iphlpapi.h @@ -0,0 +1,161 @@ +/* WINE iphlpapi.h + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef WINE_IPHLPAPI_H__ +#define WINE_IPHLPAPI_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +DWORD WINAPI GetExtendedTcpTable(PVOID pTcpTable, PDWORD pdwSize, BOOL bOrder, + ULONG ulAf, TCP_TABLE_CLASS TableClass, ULONG Reserved); + +DWORD WINAPI GetExtendedUdpTable(PVOID pUdpTable, PDWORD pdwSize, BOOL bOrder, + ULONG ulAf, UDP_TABLE_CLASS TableClass, ULONG Reserved); + +DWORD WINAPI GetNumberOfInterfaces(PDWORD pdwNumIf); + +DWORD WINAPI GetIfEntry(PMIB_IFROW pIfRow); + +DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable, PULONG pdwSize, BOOL bOrder); + +DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, PULONG pdwSize, + BOOL bOrder); + +DWORD WINAPI GetIpNetTable(PMIB_IPNETTABLE pIpNetTable, PULONG pdwSize, + BOOL bOrder); + +DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, + PULONG pdwSize, BOOL bOrder); + +DWORD WINAPI GetTcpTable(PMIB_TCPTABLE pTcpTable, PDWORD pdwSize, BOOL bOrder); + +DWORD WINAPI GetUdpTable(PMIB_UDPTABLE pUdpTable, PDWORD pdwSize, BOOL bOrder); + +DWORD WINAPI GetIpStatistics(PMIB_IPSTATS pStats); + +DWORD WINAPI GetIpStatisticsEx(PMIB_IPSTATS pStats, DWORD dwFamily); + +DWORD WINAPI GetIcmpStatistics(PMIB_ICMP pStats); + +DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats); + +DWORD WINAPI GetTcpStatisticsEx(PMIB_TCPSTATS pStats, DWORD dwFamily); + +DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats); + +DWORD WINAPI GetUdpStatisticsEx(PMIB_UDPSTATS pStats, DWORD dwFamily); + +DWORD WINAPI SetIfEntry(PMIB_IFROW pIfRow); + +DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW pRoute); + +DWORD WINAPI SetIpForwardEntry(PMIB_IPFORWARDROW pRoute); + +DWORD WINAPI DeleteIpForwardEntry(PMIB_IPFORWARDROW pRoute); + +DWORD WINAPI SetIpStatistics(PMIB_IPSTATS pIpStats); + +DWORD WINAPI SetIpTTL(UINT nTTL); + +DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW pArpEntry); + +DWORD WINAPI SetIpNetEntry(PMIB_IPNETROW pArpEntry); + +DWORD WINAPI DeleteIpNetEntry(PMIB_IPNETROW pArpEntry); + +DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex); + +DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask, + DWORD dwIfIndex); + +DWORD WINAPI DeleteProxyArpEntry(DWORD dwAddress, DWORD dwMask, + DWORD dwIfIndex); + +DWORD WINAPI SetTcpEntry(PMIB_TCPROW pTcpRow); + +DWORD WINAPI GetInterfaceInfo(PIP_INTERFACE_INFO pIfTable, PULONG dwOutBufLen); + +DWORD WINAPI GetUniDirectionalAdapterInfo( + PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo, PULONG dwOutBufLen); + +DWORD WINAPI GetBestInterface(IPAddr dwDestAddr, PDWORD pdwBestIfIndex); + +#ifdef __WINE_WINSOCKAPI_STDLIB_H +DWORD WINAPI GetBestInterfaceEx( +#ifdef USE_WS_PREFIX + struct WS_sockaddr *pDestAddr, +#else + struct sockaddr *pDestAddr, +#endif + PDWORD pdwBestIfIndex); +#endif + +DWORD WINAPI GetBestRoute(DWORD dwDestAddr, DWORD dwSourceAddr, + PMIB_IPFORWARDROW pBestRoute); + +DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped); + +DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped); + +BOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED overlapped); + +DWORD WINAPI GetAdapterIndex(IN LPWSTR AdapterName, OUT PULONG IfIndex); + +DWORD WINAPI AddIPAddress(IPAddr Address, IPMask IpMask, DWORD IfIndex, + PULONG NTEContext, PULONG NTEInstance); + +DWORD WINAPI DeleteIPAddress(ULONG NTEContext); + +DWORD WINAPI GetNetworkParams(PFIXED_INFO pFixedInfo, PULONG pOutBufLen); + +DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen); + +DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex, + PIP_PER_ADAPTER_INFO pPerAdapterInfo, PULONG pOutBufLen); + +DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo); + +DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo); + +DWORD WINAPI SendARP(IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr, + PULONG PhyAddrLen); + +BOOL WINAPI GetRTTAndHopCount(IPAddr DestIpAddress, PULONG HopCount, + ULONG MaxHops, PULONG RTT); + +DWORD WINAPI GetFriendlyIfIndex(DWORD IfIndex); + +DWORD WINAPI EnableRouter(HANDLE* pHandle, OVERLAPPED* pOverlapped); + +DWORD WINAPI UnenableRouter(OVERLAPPED* pOverlapped, LPDWORD lpdwEnableCount); + +#ifdef _WINSOCK2API_ +ULONG WINAPI GetAdaptersAddresses(ULONG family, ULONG flags, PVOID reserved, + PIP_ADAPTER_ADDRESSES aa, PULONG buflen); +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* WINE_IPHLPAPI_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipifcons.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipifcons.h new file mode 100644 index 0000000..a29ddb2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipifcons.h @@ -0,0 +1,246 @@ +/* WINE ipifcons.h + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef WINE_IPIFCONS_H__ +#define WINE_IPIFCONS_H__ + +#define IF_TYPE_OTHER 1 +#define IF_TYPE_REGULAR_1822 2 +#define IF_TYPE_HDH_1822 3 +#define IF_TYPE_DDN_X25 4 +#define IF_TYPE_RFC877_X25 5 +#define IF_TYPE_ETHERNET_CSMACD 6 +#define IF_TYPE_IS088023_CSMACD 7 +#define IF_TYPE_ISO88024_TOKENBUS 8 +#define IF_TYPE_ISO88025_TOKENRING 9 +#define IF_TYPE_ISO88026_MAN 10 +#define IF_TYPE_STARLAN 11 +#define IF_TYPE_PROTEON_10MBIT 12 +#define IF_TYPE_PROTEON_80MBIT 13 +#define IF_TYPE_HYPERCHANNEL 14 +#define IF_TYPE_FDDI 15 +#define IF_TYPE_LAP_B 16 +#define IF_TYPE_SDLC 17 +#define IF_TYPE_DS1 18 +#define IF_TYPE_E1 19 +#define IF_TYPE_BASIC_ISDN 20 +#define IF_TYPE_PRIMARY_ISDN 21 +#define IF_TYPE_PROP_POINT2POINT_SERIAL 22 +#define IF_TYPE_PPP 23 +#define IF_TYPE_SOFTWARE_LOOPBACK 24 +#define IF_TYPE_EON 25 +#define IF_TYPE_ETHERNET_3MBIT 26 +#define IF_TYPE_NSIP 27 +#define IF_TYPE_SLIP 28 +#define IF_TYPE_ULTRA 29 +#define IF_TYPE_DS3 30 +#define IF_TYPE_SIP 31 +#define IF_TYPE_FRAMERELAY 32 +#define IF_TYPE_RS232 33 +#define IF_TYPE_PARA 34 +#define IF_TYPE_ARCNET 35 +#define IF_TYPE_ARCNET_PLUS 36 +#define IF_TYPE_ATM 37 +#define IF_TYPE_MIO_X25 38 +#define IF_TYPE_SONET 39 +#define IF_TYPE_X25_PLE 40 +#define IF_TYPE_ISO88022_LLC 41 +#define IF_TYPE_LOCALTALK 42 +#define IF_TYPE_SMDS_DXI 43 +#define IF_TYPE_FRAMERELAY_SERVICE 44 +#define IF_TYPE_V35 45 +#define IF_TYPE_HSSI 46 +#define IF_TYPE_HIPPI 47 +#define IF_TYPE_MODEM 48 +#define IF_TYPE_AAL5 49 +#define IF_TYPE_SONET_PATH 50 +#define IF_TYPE_SONET_VT 51 +#define IF_TYPE_SMDS_ICIP 52 +#define IF_TYPE_PROP_VIRTUAL 53 +#define IF_TYPE_PROP_MULTIPLEXOR 54 +#define IF_TYPE_IEEE80212 55 +#define IF_TYPE_FIBRECHANNEL 56 +#define IF_TYPE_HIPPIINTERFACE 57 +#define IF_TYPE_FRAMERELAY_INTERCONNECT 58 +#define IF_TYPE_AFLANE_8023 59 +#define IF_TYPE_AFLANE_8025 60 +#define IF_TYPE_CCTEMUL 61 +#define IF_TYPE_FASTETHER 62 +#define IF_TYPE_ISDN 63 +#define IF_TYPE_V11 64 +#define IF_TYPE_V36 65 +#define IF_TYPE_G703_64K 66 +#define IF_TYPE_G703_2MB 67 +#define IF_TYPE_QLLC 68 +#define IF_TYPE_FASTETHER_FX 69 +#define IF_TYPE_CHANNEL 70 +#define IF_TYPE_IEEE80211 71 +#define IF_TYPE_IBM370PARCHAN 72 +#define IF_TYPE_ESCON 73 +#define IF_TYPE_DLSW 74 +#define IF_TYPE_ISDN_S 75 +#define IF_TYPE_ISDN_U 76 +#define IF_TYPE_LAP_D 77 +#define IF_TYPE_IPSWITCH 78 +#define IF_TYPE_RSRB 79 +#define IF_TYPE_ATM_LOGICAL 80 +#define IF_TYPE_DS0 81 +#define IF_TYPE_DS0_BUNDLE 82 +#define IF_TYPE_BSC 83 +#define IF_TYPE_ASYNC 84 +#define IF_TYPE_CNR 85 +#define IF_TYPE_ISO88025R_DTR 86 +#define IF_TYPE_EPLRS 87 +#define IF_TYPE_ARAP 88 +#define IF_TYPE_PROP_CNLS 89 +#define IF_TYPE_HOSTPAD 90 +#define IF_TYPE_TERMPAD 91 +#define IF_TYPE_FRAMERELAY_MPI 92 +#define IF_TYPE_X213 93 +#define IF_TYPE_ADSL 94 +#define IF_TYPE_RADSL 95 +#define IF_TYPE_SDSL 96 +#define IF_TYPE_VDSL 97 +#define IF_TYPE_ISO88025_CRFPRINT 98 +#define IF_TYPE_MYRINET 99 +#define IF_TYPE_VOICE_EM 100 +#define IF_TYPE_VOICE_FXO 101 +#define IF_TYPE_VOICE_FXS 102 +#define IF_TYPE_VOICE_ENCAP 103 +#define IF_TYPE_VOICE_OVERIP 104 +#define IF_TYPE_ATM_DXI 105 +#define IF_TYPE_ATM_FUNI 106 +#define IF_TYPE_ATM_IMA 107 +#define IF_TYPE_PPPMULTILINKBUNDLE 108 +#define IF_TYPE_IPOVER_CDLC 109 +#define IF_TYPE_IPOVER_CLAW 110 +#define IF_TYPE_STACKTOSTACK 111 +#define IF_TYPE_VIRTUALIPADDRESS 112 +#define IF_TYPE_MPC 113 +#define IF_TYPE_IPOVER_ATM 114 +#define IF_TYPE_ISO88025_FIBER 115 +#define IF_TYPE_TDLC 116 +#define IF_TYPE_GIGABITETHERNET 117 +#define IF_TYPE_HDLC 118 +#define IF_TYPE_LAP_F 119 +#define IF_TYPE_V37 120 +#define IF_TYPE_X25_MLP 121 +#define IF_TYPE_X25_HUNTGROUP 122 +#define IF_TYPE_TRANSPHDLC 123 +#define IF_TYPE_INTERLEAVE 124 +#define IF_TYPE_FAST 125 +#define IF_TYPE_IP 126 +#define IF_TYPE_DOCSCABLE_MACLAYER 127 +#define IF_TYPE_DOCSCABLE_DOWNSTREAM 128 +#define IF_TYPE_DOCSCABLE_UPSTREAM 129 +#define IF_TYPE_A12MPPSWITCH 130 +#define IF_TYPE_TUNNEL 131 +#define IF_TYPE_COFFEE 132 +#define IF_TYPE_CES 133 +#define IF_TYPE_ATM_SUBINTERFACE 134 +#define IF_TYPE_L2_VLAN 135 +#define IF_TYPE_L3_IPVLAN 136 +#define IF_TYPE_L3_IPXVLAN 137 +#define IF_TYPE_DIGITALPOWERLINE 138 +#define IF_TYPE_MEDIAMAILOVERIP 139 +#define IF_TYPE_DTM 140 +#define IF_TYPE_DCN 141 +#define IF_TYPE_IPFORWARD 142 +#define IF_TYPE_MSDSL 143 +#define IF_TYPE_IEEE1394 144 +#define IF_TYPE_IF_GSN 145 +#define IF_TYPE_DVBRCC_MACLAYER 146 +#define IF_TYPE_DVBRCC_DOWNSTREAM 147 +#define IF_TYPE_DVBRCC_UPSTREAM 148 +#define IF_TYPE_ATM_VIRTUAL 149 +#define IF_TYPE_MPLS_TUNNEL 150 +#define IF_TYPE_SRP 151 +#define IF_TYPE_VOICEOVERATM 152 +#define IF_TYPE_VOICEOVERFRAMERELAY 153 +#define IF_TYPE_IDSL 154 +#define IF_TYPE_COMPOSITELINK 155 +#define IF_TYPE_SS7_SIGLINK 156 +#define IF_TYPE_PROP_WIRELESS_P2P 157 +#define IF_TYPE_FR_FORWARD 158 +#define IF_TYPE_RFC1483 159 +#define IF_TYPE_USB 160 +#define IF_TYPE_IEEE8023AD_LAG 161 +#define IF_TYPE_BGP_POLICY_ACCOUNTING 162 +#define IF_TYPE_FRF16_MFR_BUNDLE 163 +#define IF_TYPE_H323_GATEKEEPER 164 +#define IF_TYPE_H323_PROXY 165 +#define IF_TYPE_MPLS 166 +#define IF_TYPE_MF_SIGLINK 167 +#define IF_TYPE_HDSL2 168 +#define IF_TYPE_SHDSL 169 +#define IF_TYPE_DS1_FDL 170 +#define IF_TYPE_POS 171 +#define IF_TYPE_DVB_ASI_IN 172 +#define IF_TYPE_DVB_ASI_OUT 173 +#define IF_TYPE_PLC 175 +#define IF_TYPE_NFAS 175 +#define IF_TYPE_TR008 176 +#define IF_TYPE_GR303_RDT 177 +#define IF_TYPE_GR303_IDT 178 +#define IF_TYPE_ISUP 179 +#define IF_TYPE_PROP_DOCS_WIRELESS_MACLAYER 180 +#define IF_TYPE_PROP_DOCS_WIRELESS_DOWNSTREAM 181 +#define IF_TYPE_PROP_DOCS_WIRELESS_UPSTREAM 182 +#define IF_TYPE_HIPERLAN2 183 +#define IF_TYPE_PROP_BWA_P2MP 184 +#define IF_TYPE_SONET_OVERHEAD_CHANNEL 185 +#define IF_TYPE_DIGITAL_WRAPPER_OVERHEAD_CHANNEL 186 +#define IF_TYPE_AAL2 187 +#define IF_TYPE_RADIO_MAC 188 +#define IF_TYPE_ATM_RADIO 189 +#define IF_TYPE_IMT 190 +#define IF_TYPE_MVL 191 +#define IF_TYPE_REACH_DSL 192 +#define IF_TYPE_FR_DLCI_ENDPT 193 +#define IF_TYPE_ATM_VCI_ENDPT 194 +#define IF_TYPE_OPTICAL_CHANNEL 195 +#define IF_TYPE_OPTICAL_TRANSPORT 196 +#define IF_TYPE_IEEE80216_WANN 237 +#define IF_TYPE_WWANPP 243 +#define IF_TYPE_WWANPP2 244 +#define MAX_IF_TYPE 244 + +#define MIB_IF_TYPE_OTHER 1 +#define MIB_IF_TYPE_ETHERNET 6 +#define MIB_IF_TYPE_TOKENRING 9 +#define MIB_IF_TYPE_FDDI 15 +#define MIB_IF_TYPE_PPP 23 +#define MIB_IF_TYPE_LOOPBACK 24 +#define MIB_IF_TYPE_SLIP 28 + +typedef ULONG IFTYPE; + +#define MIB_IF_ADMIN_STATUS_UP 1 +#define MIB_IF_ADMIN_STATUS_DOWN 2 +#define MIB_IF_ADMIN_STATUS_TESTING 3 + +typedef enum _INTERNAL_IF_OPER_STATUS +{ + MIB_IF_OPER_STATUS_NON_OPERATIONAL = 0, + MIB_IF_OPER_STATUS_UNREACHABLE = 1, + MIB_IF_OPER_STATUS_DISCONNECTED = 2, + MIB_IF_OPER_STATUS_CONNECTING = 3, + MIB_IF_OPER_STATUS_CONNECTED = 4, + MIB_IF_OPER_STATUS_OPERATIONAL = 5, +} INTERNAL_IF_OPER_STATUS; + +#endif /* WINE_IPIFCONS_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipmib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipmib.h new file mode 100644 index 0000000..d85ee5a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ipmib.h @@ -0,0 +1,251 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_IPMIB_H +#define __WINE_IPMIB_H + +#include +#include + +/* Flags used in the wType field from MIB_IPADDRROW */ + +#define MIB_IPADDR_PRIMARY 0x0001 +#define MIB_IPADDR_DYNAMIC 0x0004 +#define MIB_IPADDR_DISCONNECTED 0x0008 +#define MIB_IPADDR_DELETED 0x0040 +#define MIB_IPADDR_TRANSIENT 0x0080 + +/* IPADDR table */ + +typedef struct _MIB_IPADDRROW +{ + DWORD dwAddr; + IF_INDEX dwIndex; + DWORD dwMask; + DWORD dwBCastAddr; + DWORD dwReasmSize; + unsigned short unused1; + unsigned short wType; +} MIB_IPADDRROW, *PMIB_IPADDRROW; + +typedef struct _MIB_IPADDRTABLE +{ + DWORD dwNumEntries; + MIB_IPADDRROW table[1]; +} MIB_IPADDRTABLE, *PMIB_IPADDRTABLE; + + +/* IPFORWARD table */ + +typedef struct _MIB_IPFORWARDNUMBER +{ + DWORD dwValue; +} MIB_IPFORWARDNUMBER, *PMIB_IPFORWARDNUMBER; + +typedef enum +{ + MIB_IPROUTE_TYPE_OTHER = 1, + MIB_IPROUTE_TYPE_INVALID = 2, + MIB_IPROUTE_TYPE_DIRECT = 3, + MIB_IPROUTE_TYPE_INDIRECT = 4, +} MIB_IPFORWARD_TYPE; + +typedef NL_ROUTE_PROTOCOL MIB_IPFORWARD_PROTO; + +typedef struct _MIB_IPFORWARDROW +{ + DWORD dwForwardDest; + DWORD dwForwardMask; + DWORD dwForwardPolicy; + DWORD dwForwardNextHop; + IF_INDEX dwForwardIfIndex; + union + { + DWORD dwForwardType; + MIB_IPFORWARD_TYPE ForwardType; + } DUMMYUNIONNAME1; + union + { + DWORD dwForwardProto; + MIB_IPFORWARD_PROTO ForwardProto; + } DUMMYUNIONNAME2; + DWORD dwForwardAge; + DWORD dwForwardNextHopAS; + DWORD dwForwardMetric1; + DWORD dwForwardMetric2; + DWORD dwForwardMetric3; + DWORD dwForwardMetric4; + DWORD dwForwardMetric5; +} MIB_IPFORWARDROW, *PMIB_IPFORWARDROW; + +typedef struct _MIB_IPFORWARDTABLE +{ + DWORD dwNumEntries; + MIB_IPFORWARDROW table[1]; +} MIB_IPFORWARDTABLE, *PMIB_IPFORWARDTABLE; + + +/* IPNET table */ + +typedef enum +{ + MIB_IPNET_TYPE_OTHER = 1, + MIB_IPNET_TYPE_INVALID = 2, + MIB_IPNET_TYPE_DYNAMIC = 3, + MIB_IPNET_TYPE_STATIC = 4, +} MIB_IPNET_TYPE; + +typedef struct _MIB_IPNETROW +{ + DWORD dwIndex; + DWORD dwPhysAddrLen; + BYTE bPhysAddr[MAXLEN_PHYSADDR]; + DWORD dwAddr; + union + { + DWORD dwType; + MIB_IPNET_TYPE Type; + } DUMMYUNIONNAME; +} MIB_IPNETROW, *PMIB_IPNETROW; + +typedef struct _MIB_IPNETTABLE +{ + DWORD dwNumEntries; + MIB_IPNETROW table[1]; +} MIB_IPNETTABLE, *PMIB_IPNETTABLE; + + +/* IP statistics */ + +typedef enum +{ + MIB_IP_FORWARDING = 1, + MIB_IP_NOT_FORWARDING = 2, +} MIB_IPSTATS_FORWARDING, *PMIB_IPSTATS_FORWARDING; + +typedef struct _MIB_IPSTATS +{ + union + { + DWORD dwForwarding; + MIB_IPSTATS_FORWARDING Forwarding; + } DUMMYUNIONNAME; + DWORD dwDefaultTTL; + DWORD dwInReceives; + DWORD dwInHdrErrors; + DWORD dwInAddrErrors; + DWORD dwForwDatagrams; + DWORD dwInUnknownProtos; + DWORD dwInDiscards; + DWORD dwInDelivers; + DWORD dwOutRequests; + DWORD dwRoutingDiscards; + DWORD dwOutDiscards; + DWORD dwOutNoRoutes; + DWORD dwReasmTimeout; + DWORD dwReasmReqds; + DWORD dwReasmOks; + DWORD dwReasmFails; + DWORD dwFragOks; + DWORD dwFragFails; + DWORD dwFragCreates; + DWORD dwNumIf; + DWORD dwNumAddr; + DWORD dwNumRoutes; +} MIB_IPSTATS, *PMIB_IPSTATS; + + +/* ICMP statistics */ + +typedef struct _MIBICMPSTATS +{ + DWORD dwMsgs; + DWORD dwErrors; + DWORD dwDestUnreachs; + DWORD dwTimeExcds; + DWORD dwParmProbs; + DWORD dwSrcQuenchs; + DWORD dwRedirects; + DWORD dwEchos; + DWORD dwEchoReps; + DWORD dwTimestamps; + DWORD dwTimestampReps; + DWORD dwAddrMasks; + DWORD dwAddrMaskReps; +} MIBICMPSTATS, *PMIBICMPSTATS; + +typedef struct _MIBICMPINFO +{ + MIBICMPSTATS icmpInStats; + MIBICMPSTATS icmpOutStats; +} MIBICMPINFO; + +typedef struct _MIB_ICMP +{ + MIBICMPINFO stats; +} MIB_ICMP, *PMIB_ICMP; + +typedef enum +{ + ICMP4_ECHO_REPLY = 0, + ICMP4_DST_UNREACH = 3, + ICMP4_SOURCE_QUENCH = 4, + ICMP4_REDIRECT = 5, + ICMP4_ECHO_REQUEST = 8, + ICMP4_ROUTER_ADVERT = 9, + ICMP4_ROUTER_SOLICIT = 10, + ICMP4_TIME_EXCEEDED = 11, + ICMP4_PARAM_PROB = 12, + ICMP4_TIMESTAMP_REQUEST = 13, + ICMP4_TIMESTAMP_REPLY = 14, + ICMP4_MASK_REQUEST = 17, + ICMP4_MASK_REPLY = 18, +} ICMP4_TYPE, *PICMP4_TYPE; + +typedef enum +{ + ICMP6_DST_UNREACH = 1, + ICMP6_PACKET_TOO_BIG = 2, + ICMP6_TIME_EXCEEDED = 3, + ICMP6_PARAM_PROB = 4, + ICMP6_ECHO_REQUEST = 128, + ICMP6_ECHO_REPLY = 129, + ICMP6_MEMBERSHIP_QUERY = 130, + ICMP6_MEMBERSHIP_REPORT = 131, + ICMP6_MEMBERSHIP_REDUCTION = 132, + ND_ROUTER_SOLICIT = 133, + ND_ROUTER_ADVERT = 134, + ND_NEIGHBOR_SOLICIT = 135, + ND_NEIGHBOR_ADVERT = 136, + ND_REDIRECT = 137, + ICMP6_V2_MEMBERSHIP_REPORT = 143, +} ICMP6_TYPE, *PICMP6_TYPE; + +typedef struct _MIBICMPSTATS_EX +{ + DWORD dwMsgs; + DWORD dwErrors; + DWORD rgdwTypeCount[256]; +} MIBICMPSTATS_EX, *PMIBICMPSTATS_EX; + +typedef struct _MIB_ICMP_EX +{ + MIBICMPSTATS_EX icmpInStats; + MIBICMPSTATS_EX icmpOutStats; +} MIB_ICMP_EX, *PMIB_ICMP_EX; + +#endif /* __WINE_IPMIB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iprtrmib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iprtrmib.h new file mode 100644 index 0000000..977b117 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iprtrmib.h @@ -0,0 +1,48 @@ +/* WINE iprtrmib.h + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef WINE_IPRTRMIB_H__ +#define WINE_IPRTRMIB_H__ + +#include +#include + +#include +#include +#include + +typedef enum _TCP_TABLE_CLASS +{ + TCP_TABLE_BASIC_LISTENER, + TCP_TABLE_BASIC_CONNECTIONS, + TCP_TABLE_BASIC_ALL, + TCP_TABLE_OWNER_PID_LISTENER, + TCP_TABLE_OWNER_PID_CONNECTIONS, + TCP_TABLE_OWNER_PID_ALL, + TCP_TABLE_OWNER_MODULE_LISTENER, + TCP_TABLE_OWNER_MODULE_CONNECTIONS, + TCP_TABLE_OWNER_MODULE_ALL +} TCP_TABLE_CLASS, *PTCP_TABLE_CLASS; + +typedef enum _UDP_TABLE_CLASS +{ + UDP_TABLE_BASIC, + UDP_TABLE_OWNER_PID, + UDP_TABLE_OWNER_MODULE +} UDP_TABLE_CLASS, *PUDP_TABLE_CLASS; + +#endif /* WINE_IPRTRMIB_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iptypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iptypes.h new file mode 100644 index 0000000..c1a253d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/iptypes.h @@ -0,0 +1,332 @@ +/* WINE iptypes.h + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef WINE_IPTYPES_H_ +#define WINE_IPTYPES_H_ + +#include +#include +#include + +#define MAX_ADAPTER_DESCRIPTION_LENGTH 128 +#define MAX_ADAPTER_NAME_LENGTH 256 +#define MAX_ADAPTER_ADDRESS_LENGTH 8 +#define MAX_HOSTNAME_LEN 128 +#define MAX_DOMAIN_NAME_LEN 128 +#define MAX_SCOPE_ID_LEN 256 +#define MAX_DHCPV6_DUID_LENGTH 130 +#define MAX_DNS_SUFFIX_STRING_LENGTH 256 + +#define BROADCAST_NODETYPE 1 +#define PEER_TO_PEER_NODETYPE 2 +#define MIXED_NODETYPE 4 +#define HYBRID_NODETYPE 8 + +typedef struct { + char String[4 * 4]; +} IP_ADDRESS_STRING, *PIP_ADDRESS_STRING, IP_MASK_STRING, *PIP_MASK_STRING; + +typedef struct _IP_ADDR_STRING { + struct _IP_ADDR_STRING* Next; + IP_ADDRESS_STRING IpAddress; + IP_MASK_STRING IpMask; + DWORD Context; +} IP_ADDR_STRING, *PIP_ADDR_STRING; + +typedef struct _IP_ADAPTER_INFO { + struct _IP_ADAPTER_INFO* Next; + DWORD ComboIndex; + char AdapterName[MAX_ADAPTER_NAME_LENGTH + 4]; + char Description[MAX_ADAPTER_DESCRIPTION_LENGTH + 4]; + UINT AddressLength; + BYTE Address[MAX_ADAPTER_ADDRESS_LENGTH]; + DWORD Index; + UINT Type; + UINT DhcpEnabled; + PIP_ADDR_STRING CurrentIpAddress; + IP_ADDR_STRING IpAddressList; + IP_ADDR_STRING GatewayList; + IP_ADDR_STRING DhcpServer; + BOOL HaveWins; + IP_ADDR_STRING PrimaryWinsServer; + IP_ADDR_STRING SecondaryWinsServer; + time_t LeaseObtained; + time_t LeaseExpires; +} IP_ADAPTER_INFO, *PIP_ADAPTER_INFO; + +typedef struct _IP_PER_ADAPTER_INFO { + UINT AutoconfigEnabled; + UINT AutoconfigActive; + PIP_ADDR_STRING CurrentDnsServer; + IP_ADDR_STRING DnsServerList; +} IP_PER_ADAPTER_INFO, *PIP_PER_ADAPTER_INFO; + +typedef struct { + char HostName[MAX_HOSTNAME_LEN + 4] ; + char DomainName[MAX_DOMAIN_NAME_LEN + 4]; + PIP_ADDR_STRING CurrentDnsServer; + IP_ADDR_STRING DnsServerList; + UINT NodeType; + char ScopeId[MAX_SCOPE_ID_LEN + 4]; + UINT EnableRouting; + UINT EnableProxy; + UINT EnableDns; +} FIXED_INFO, *PFIXED_INFO; + +typedef NL_PREFIX_ORIGIN IP_PREFIX_ORIGIN; +typedef NL_SUFFIX_ORIGIN IP_SUFFIX_ORIGIN; +typedef NL_DAD_STATE IP_DAD_STATE; + +#ifdef _WINSOCK2API_ + +typedef struct _IP_ADAPTER_UNICAST_ADDRESS_LH { + union { + struct { + ULONG Length; + DWORD Flags; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_UNICAST_ADDRESS_LH *Next; + SOCKET_ADDRESS Address; + IP_PREFIX_ORIGIN PrefixOrigin; + IP_SUFFIX_ORIGIN SuffixOrigin; + IP_DAD_STATE DadState; + ULONG ValidLifetime; + ULONG PreferredLifetime; + ULONG LeaseLifetime; + UINT8 OnLinkPrefixLength; +} IP_ADAPTER_UNICAST_ADDRESS_LH, *PIP_ADAPTER_UNICAST_ADDRESS_LH; + +typedef struct _IP_ADAPTER_UNICAST_ADDRESS_XP { + union { + struct { + ULONG Length; + DWORD Flags; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_UNICAST_ADDRESS_XP *Next; + SOCKET_ADDRESS Address; + IP_PREFIX_ORIGIN PrefixOrigin; + IP_SUFFIX_ORIGIN SuffixOrigin; + IP_DAD_STATE DadState; + ULONG ValidLifetime; + ULONG PreferredLifetime; + ULONG LeaseLifetime; +} IP_ADAPTER_UNICAST_ADDRESS_XP, *PIP_ADAPTER_UNICAST_ADDRESS_XP; + +typedef IP_ADAPTER_UNICAST_ADDRESS_LH IP_ADAPTER_UNICAST_ADDRESS; +typedef IP_ADAPTER_UNICAST_ADDRESS_LH *PIP_ADAPTER_UNICAST_ADDRESS; + +typedef struct _IP_ADAPTER_ANYCAST_ADDRESS { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD Flags; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_ANYCAST_ADDRESS *Next; + SOCKET_ADDRESS Address; +} IP_ADAPTER_ANYCAST_ADDRESS, *PIP_ADAPTER_ANYCAST_ADDRESS; + +typedef struct _IP_ADAPTER_MULTICAST_ADDRESS { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD Flags; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_MULTICAST_ADDRESS *Next; + SOCKET_ADDRESS Address; +} IP_ADAPTER_MULTICAST_ADDRESS, *PIP_ADAPTER_MULTICAST_ADDRESS; + +typedef struct _IP_ADAPTER_DNS_SERVER_ADDRESS { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD Reserved; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_DNS_SERVER_ADDRESS *Next; + SOCKET_ADDRESS Address; +} IP_ADAPTER_DNS_SERVER_ADDRESS, *PIP_ADAPTER_DNS_SERVER_ADDRESS; + +typedef struct _IP_ADAPTER_PREFIX { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD Flags; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_PREFIX *Next; + SOCKET_ADDRESS Address; + ULONG PrefixLength; +} IP_ADAPTER_PREFIX, *PIP_ADAPTER_PREFIX; + +typedef struct _IP_ADAPTER_WINS_SERVER_ADDRESS_LH { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD Reserved; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_WINS_SERVER_ADDRESS_LH *Next; + SOCKET_ADDRESS Address; +} IP_ADAPTER_WINS_SERVER_ADDRESS_LH, *PIP_ADAPTER_WINS_SERVER_ADDRESS_LH; +typedef IP_ADAPTER_WINS_SERVER_ADDRESS_LH IP_ADAPTER_WINS_SERVER_ADDRESS; +typedef IP_ADAPTER_WINS_SERVER_ADDRESS_LH *PIP_ADAPTER_WINS_SERVER_ADDRESS; + +typedef struct _IP_ADAPTER_GATEWAY_ADDRESS_LH { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD Reserved; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_GATEWAY_ADDRESS_LH *Next; + SOCKET_ADDRESS Address; +} IP_ADAPTER_GATEWAY_ADDRESS_LH, *PIP_ADAPTER_GATEWAY_ADDRESS_LH; +typedef IP_ADAPTER_GATEWAY_ADDRESS_LH IP_ADAPTER_GATEWAY_ADDRESS; +typedef IP_ADAPTER_GATEWAY_ADDRESS_LH *PIP_ADAPTER_GATEWAY_ADDRESS; + +typedef struct _IP_ADAPTER_DNS_SUFFIX { + struct _IP_ADAPTER_DNS_SUFFIX *Next; + WCHAR String[MAX_DNS_SUFFIX_STRING_LENGTH]; +} IP_ADAPTER_DNS_SUFFIX, *PIP_ADAPTER_DNS_SUFFIX; + +#define IP_ADAPTER_DDNS_ENABLED 0x1 +#define IP_ADAPTER_REGISTER_ADAPTER_SUFFIX 0x2 +#define IP_ADAPTER_DHCP_ENABLED 0x4 +#define IP_ADAPTER_RECEIVE_ONLY 0x8 +#define IP_ADAPTER_NO_MULTICAST 0x10 +#define IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG 0x20 +#define IP_ADAPTER_NETBIOS_OVER_TCPIP_ENABLED 0x40 +#define IP_ADAPTER_IPV4_ENABLED 0x80 +#define IP_ADAPTER_IPV6_ENABLED 0x100 +#define IP_ADAPTER_IPV6_MANAGE_ADDRESS_CONFIG 0x200 + +typedef struct _IP_ADAPTER_ADDRESSES_LH { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD IfIndex; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_ADDRESSES_LH *Next; + PCHAR AdapterName; + PIP_ADAPTER_UNICAST_ADDRESS FirstUnicastAddress; + PIP_ADAPTER_ANYCAST_ADDRESS FirstAnycastAddress; + PIP_ADAPTER_MULTICAST_ADDRESS FirstMulticastAddress; + PIP_ADAPTER_DNS_SERVER_ADDRESS FirstDnsServerAddress; + PWCHAR DnsSuffix; + PWCHAR Description; + PWCHAR FriendlyName; + BYTE PhysicalAddress[MAX_ADAPTER_ADDRESS_LENGTH]; + DWORD PhysicalAddressLength; + union { + DWORD Flags; + struct { + DWORD DdnsEnabled : 1; + DWORD RegisterAdapterSuffix : 1; + DWORD Dhcpv4Enabled : 1; + DWORD ReceiveOnly : 1; + DWORD NoMulticast : 1; + DWORD Ipv6OtherStatefulConfig : 1; + DWORD NetbiosOverTcpipEnabled : 1; + DWORD Ipv4Enabled : 1; + DWORD Ipv6Enabled : 1; + DWORD Ipv6ManagedAddressConfigurationSupported : 1; + } DUMMYSTRUCTNAME1; + } DUMMYUNIONNAME1; + DWORD Mtu; + DWORD IfType; + IF_OPER_STATUS OperStatus; + DWORD Ipv6IfIndex; + DWORD ZoneIndices[16]; + PIP_ADAPTER_PREFIX FirstPrefix; + ULONG64 TransmitLinkSpeed; + ULONG64 ReceiveLinkSpeed; + PIP_ADAPTER_WINS_SERVER_ADDRESS_LH FirstWinsServerAddress; + PIP_ADAPTER_GATEWAY_ADDRESS_LH FirstGatewayAddress; + ULONG Ipv4Metric; + ULONG Ipv6Metric; + IF_LUID Luid; + SOCKET_ADDRESS Dhcpv4Server; + NET_IF_COMPARTMENT_ID CompartmentId; + NET_IF_NETWORK_GUID NetworkGuid; + NET_IF_CONNECTION_TYPE ConnectionType; + TUNNEL_TYPE TunnelType; + SOCKET_ADDRESS Dhcpv6Server; + BYTE Dhcpv6ClientDuid[MAX_DHCPV6_DUID_LENGTH]; + ULONG Dhcpv6ClientDuidLength; + ULONG Dhcpv6Iaid; + PIP_ADAPTER_DNS_SUFFIX FirstDnsSuffix; +} IP_ADAPTER_ADDRESSES_LH, *PIP_ADAPTER_ADDRESSES_LH; + +typedef struct _IP_ADAPTER_ADDRESSES_XP { + union { + ULONGLONG Alignment; + struct { + ULONG Length; + DWORD IfIndex; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + struct _IP_ADAPTER_ADDRESSES_XP *Next; + PCHAR AdapterName; + PIP_ADAPTER_UNICAST_ADDRESS FirstUnicastAddress; + PIP_ADAPTER_ANYCAST_ADDRESS FirstAnycastAddress; + PIP_ADAPTER_MULTICAST_ADDRESS FirstMulticastAddress; + PIP_ADAPTER_DNS_SERVER_ADDRESS FirstDnsServerAddress; + PWCHAR DnsSuffix; + PWCHAR Description; + PWCHAR FriendlyName; + BYTE PhysicalAddress[MAX_ADAPTER_ADDRESS_LENGTH]; + DWORD PhysicalAddressLength; + DWORD Flags; + DWORD Mtu; + DWORD IfType; + IF_OPER_STATUS OperStatus; + DWORD Ipv6IfIndex; + DWORD ZoneIndices[16]; + PIP_ADAPTER_PREFIX FirstPrefix; +} IP_ADAPTER_ADDRESSES_XP, *PIP_ADAPTER_ADDRESSES_XP; + +typedef IP_ADAPTER_ADDRESSES_LH IP_ADAPTER_ADDRESSES; +typedef IP_ADAPTER_ADDRESSES_LH *PIP_ADAPTER_ADDRESSES; + +#define GAA_FLAG_SKIP_UNICAST 0x00000001 +#define GAA_FLAG_SKIP_ANYCAST 0x00000002 +#define GAA_FLAG_SKIP_MULTICAST 0x00000004 +#define GAA_FLAG_SKIP_DNS_SERVER 0x00000008 +#define GAA_FLAG_INCLUDE_PREFIX 0x00000010 +#define GAA_FLAG_SKIP_FRIENDLY_NAME 0x00000020 +#define GAA_FLAG_INCLUDE_WINS_INFO 0x00000040 +#define GAA_FLAG_INCLUDE_ALL_GATEWAYS 0x00000080 +#define GAA_FLAG_INCLUDE_ALL_INTERFACES 0x00000100 +#define GAA_FLAG_INCLUDE_ALL_COMPARTMENTS 0x00000200 +#define GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER 0x00000400 + +#endif /* _WINSOCK2API_ */ + +#endif /* WINE_IPTYPES_H_*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/isguids.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/isguids.h new file mode 100644 index 0000000..daf5600 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/isguids.h @@ -0,0 +1,28 @@ +/* + * Copyright 2007 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _ISGUIDS_H_ +#define _ISGUIDS_H_ + +DEFINE_GUID(CLSID_InternetShortcut, 0xfbf23b40,0xe3f0,0x101b,0x84,0x88,0x00,0xaa,0x00,0x3e,0x56,0xf8); + +DEFINE_GUID(IID_IUniformResourceLocatorA, 0xfbf23b80,0xe3f0,0x101b,0x84,0x88,0x00,0xaa,0x00,0x3e,0x56,0xf8); +DEFINE_GUID(IID_IUniformResourceLocatorW, 0xcabb0da0,0xda57,0x11cf,0x99,0x74,0x00,0x20,0xaf,0xd7,0x97,0x62); +#define IID_IUniformResourceLocator WINELIB_NAME_AW(IID_IUniformResourceLocator) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/knownfolders.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/knownfolders.h new file mode 100644 index 0000000..28e867c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/knownfolders.h @@ -0,0 +1,147 @@ +/* + * Copyright 2010 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_KNOWNFOLDERS_H +#define __WINE_KNOWNFOLDERS_H + +#ifdef DEFINE_KNOWN_FOLDER +#undef DEFINE_KNOWN_FOLDER +#endif + +#ifdef INITGUID +#ifdef __cplusplus +#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN; \ + EXTERN_C const GUID name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#else +#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + const GUID name DECLSPEC_HIDDEN; \ + const GUID name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#endif +#else +#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN +#endif + +DEFINE_KNOWN_FOLDER(FOLDERID_AddNewPrograms, 0xde61d971, 0x5ebc, 0x4f02, 0xa3, 0xa9, 0x6c, 0x82, 0x89, 0x5e, 0x5c, 0x04); +DEFINE_KNOWN_FOLDER(FOLDERID_AdminTools, 0x724ef170, 0xa42d, 0x4fef, 0x9f, 0x26, 0xb6, 0x0e, 0x84, 0x6f, 0xba, 0x4f); +DEFINE_KNOWN_FOLDER(FOLDERID_AppUpdates, 0xa305ce99, 0xf527, 0x492b, 0x8b, 0x1a, 0x7e, 0x76, 0xfa, 0x98, 0xd6, 0xe4); +DEFINE_KNOWN_FOLDER(FOLDERID_CDBurning, 0x9e52ab10, 0xf80d, 0x49df, 0xac, 0xb8, 0x43, 0x30, 0xf5, 0x68, 0x78, 0x55); +DEFINE_KNOWN_FOLDER(FOLDERID_ChangeRemovePrograms, 0xdf7266ac, 0x9274, 0x4867, 0x8d, 0x55, 0x3b, 0xd6, 0x61, 0xde, 0x87, 0x2d); +DEFINE_KNOWN_FOLDER(FOLDERID_CommonAdminTools, 0xd0384e7d, 0xbac3, 0x4797, 0x8f, 0x14, 0xcb, 0xa2, 0x29, 0xb3, 0x92, 0xb5); +DEFINE_KNOWN_FOLDER(FOLDERID_CommonOEMLinks, 0xc1bae2d0, 0x10df, 0x4334, 0xbe, 0xdd, 0x7a, 0xa2, 0x0b, 0x22, 0x7a, 0x9d); +DEFINE_KNOWN_FOLDER(FOLDERID_CommonPrograms, 0x0139d44e, 0x6afe, 0x49f2, 0x86, 0x90, 0x3d, 0xaf, 0xca, 0xe6, 0xff, 0xb8); +DEFINE_KNOWN_FOLDER(FOLDERID_CommonStartMenu, 0xa4115719, 0xd62e, 0x491d, 0xaa, 0x7c, 0xe7, 0x4b, 0x8b, 0xe3, 0xb0, 0x67); +DEFINE_KNOWN_FOLDER(FOLDERID_CommonStartup, 0x82a5ea35, 0xd9cd, 0x47c5, 0x96, 0x29, 0xe1, 0x5d, 0x2f, 0x71, 0x4e, 0x6e); +DEFINE_KNOWN_FOLDER(FOLDERID_CommonTemplates, 0xb94237e7, 0x57ac, 0x4347, 0x91, 0x51, 0xb0, 0x8c, 0x6c, 0x32, 0xd1, 0xf7); +DEFINE_KNOWN_FOLDER(FOLDERID_ComputerFolder, 0x0ac0837c, 0xbbf8, 0x452a, 0x85, 0x0d, 0x79, 0xd0, 0x8e, 0x66, 0x7c, 0xa7); +DEFINE_KNOWN_FOLDER(FOLDERID_ConflictFolder, 0x4bfefb45, 0x347d, 0x4006, 0xa5, 0xbe, 0xac, 0x0c, 0xb0, 0x56, 0x71, 0x92); +DEFINE_KNOWN_FOLDER(FOLDERID_ConnectionsFolder, 0x6f0cd92b, 0x2e97, 0x45d1, 0x88, 0xff, 0xb0, 0xd1, 0x86, 0xb8, 0xde, 0xdd); +DEFINE_KNOWN_FOLDER(FOLDERID_Contacts, 0x56784854, 0xc6cb, 0x462b, 0x81, 0x69, 0x88, 0xe3, 0x50, 0xac, 0xb8, 0x82); +DEFINE_KNOWN_FOLDER(FOLDERID_ControlPanelFolder, 0x82a74aeb, 0xaeb4, 0x465c, 0xa0, 0x14, 0xd0, 0x97, 0xee, 0x34, 0x6d, 0x63); +DEFINE_KNOWN_FOLDER(FOLDERID_Cookies, 0x2b0f765d, 0xc0e9, 0x4171, 0x90, 0x8e, 0x08, 0xa6, 0x11, 0xb8, 0x4f, 0xf6); +DEFINE_KNOWN_FOLDER(FOLDERID_Desktop, 0xb4bfcc3a, 0xdb2c, 0x424c, 0xb0, 0x29, 0x7f, 0xe9, 0x9a, 0x87, 0xc6, 0x41); +DEFINE_KNOWN_FOLDER(FOLDERID_DeviceMetadataStore, 0x5ce4a5e9, 0xe4eb, 0x479d, 0xb8, 0x9f, 0x13, 0x0c, 0x02, 0x88, 0x61, 0x55); +DEFINE_KNOWN_FOLDER(FOLDERID_Documents, 0xfdd39ad0, 0x238f, 0x46af, 0xad, 0xb4, 0x6c, 0x85, 0x48, 0x03, 0x69, 0xc7); +DEFINE_KNOWN_FOLDER(FOLDERID_DocumentsLibrary, 0x7b0db17d, 0x9cd2, 0x4a93, 0x97, 0x33, 0x46, 0xcc, 0x89, 0x02, 0x2e, 0x7c); +DEFINE_KNOWN_FOLDER(FOLDERID_Downloads, 0x374de290, 0x123f, 0x4565, 0x91, 0x64, 0x39, 0xc4, 0x92, 0x5e, 0x46, 0x7b); +DEFINE_KNOWN_FOLDER(FOLDERID_Favorites, 0x1777f761, 0x68ad, 0x4d8a, 0x87, 0xbd, 0x30, 0xb7, 0x59, 0xfa, 0x33, 0xdd); +DEFINE_KNOWN_FOLDER(FOLDERID_Fonts, 0xfd228cb7, 0xae11, 0x4ae3, 0x86, 0x4c, 0x16, 0xf3, 0x91, 0x0a, 0xb8, 0xfe); +DEFINE_KNOWN_FOLDER(FOLDERID_Games, 0xcac52c1a, 0xb53d, 0x4edc, 0x92, 0xd7, 0x6b, 0x2e, 0x8a, 0xc1, 0x94, 0x34); +DEFINE_KNOWN_FOLDER(FOLDERID_GameTasks, 0x054fae61, 0x4dd8, 0x4787, 0x80, 0xb6, 0x09, 0x02, 0x20, 0xc4, 0xb7, 0x00); +DEFINE_KNOWN_FOLDER(FOLDERID_History, 0xd9dc8a3b, 0xb784, 0x432e, 0xa7, 0x81, 0x5a, 0x11, 0x30, 0xa7, 0x59, 0x63); +DEFINE_KNOWN_FOLDER(FOLDERID_HomeGroup, 0x52528a6b, 0xb9e3, 0x4add, 0xb6, 0x0d, 0x58, 0x8c, 0x2d, 0xba, 0x84, 0x2d); +DEFINE_KNOWN_FOLDER(FOLDERID_ImplicitAppShortcuts, 0xbcb5256f, 0x79f6, 0x4cee, 0xb7, 0x25, 0xdc, 0x34, 0xe4, 0x02, 0xfd, 0x46); +DEFINE_KNOWN_FOLDER(FOLDERID_InternetCache, 0x352481e8, 0x33be, 0x4251, 0xba, 0x85, 0x60, 0x07, 0xca, 0xed, 0xcf, 0x9d); +DEFINE_KNOWN_FOLDER(FOLDERID_InternetFolder, 0x4d9f7874, 0x4e0c, 0x4904, 0x96, 0x7b, 0x40, 0xb0, 0xd2, 0x0c, 0x3e, 0x4b); +DEFINE_KNOWN_FOLDER(FOLDERID_Libraries, 0x1b3ea5dc, 0xb587, 0x4786, 0xb4, 0xef, 0xbd, 0x1d, 0xc3, 0x32, 0xae, 0xae); +DEFINE_KNOWN_FOLDER(FOLDERID_Links, 0xbfb9d5e0, 0xc6a9, 0x404c, 0xb2, 0xb2, 0xae, 0x6d, 0xb6, 0xaf, 0x49, 0x68); +DEFINE_KNOWN_FOLDER(FOLDERID_LocalAppData, 0xf1b32785, 0x6fba, 0x4fcf, 0x9d, 0x55, 0x7b, 0x8e, 0x7f, 0x15, 0x70, 0x91); +DEFINE_KNOWN_FOLDER(FOLDERID_LocalAppDataLow, 0xa520a1a4, 0x1780, 0x4ff6, 0xbd, 0x18, 0x16, 0x73, 0x43, 0xc5, 0xaf, 0x16); +DEFINE_KNOWN_FOLDER(FOLDERID_LocalizedResourcesDir, 0x2a00375e, 0x224c, 0x49de, 0xb8, 0xd1, 0x44, 0x0d, 0xf7, 0xef, 0x3d, 0xdc); +DEFINE_KNOWN_FOLDER(FOLDERID_Music, 0x4bd8d571, 0x6d19, 0x48d3, 0xbe, 0x97, 0x42, 0x22, 0x20, 0x08, 0x0e, 0x43); +DEFINE_KNOWN_FOLDER(FOLDERID_MusicLibrary, 0x2112ab0a, 0xc86a, 0x4ffe, 0xa3, 0x68, 0x0d, 0xe9, 0x6e, 0x47, 0x01, 0x2e); +DEFINE_KNOWN_FOLDER(FOLDERID_NetHood, 0xc5abbf53, 0xe17f, 0x4121, 0x89, 0x00, 0x86, 0x62, 0x6f, 0xc2, 0xc9, 0x73); +DEFINE_KNOWN_FOLDER(FOLDERID_NetworkFolder, 0xd20beec4, 0x5ca8, 0x4905, 0xae, 0x3b, 0xbf, 0x25, 0x1e, 0xa0, 0x9b, 0x53); +DEFINE_KNOWN_FOLDER(FOLDERID_OriginalImages, 0x2c36c0aa, 0x5812, 0x4b87, 0xbf, 0xd0, 0x4c, 0xd0, 0xdf, 0xb1, 0x9b, 0x39); +DEFINE_KNOWN_FOLDER(FOLDERID_PhotoAlbums, 0x69d2cf90, 0xfc33, 0x4fb7, 0x9a, 0x0c, 0xeb, 0xb0, 0xf0, 0xfc, 0xb4, 0x3c); +DEFINE_KNOWN_FOLDER(FOLDERID_Pictures, 0x33e28130, 0x4e1e, 0x4676, 0x83, 0x5a, 0x98, 0x39, 0x5c, 0x3b, 0xc3, 0xbb); +DEFINE_KNOWN_FOLDER(FOLDERID_PicturesLibrary, 0xa990ae9f, 0xa03b, 0x4e80, 0x94, 0xbc, 0x99, 0x12, 0xd7, 0x50, 0x41, 0x04); +DEFINE_KNOWN_FOLDER(FOLDERID_Playlists, 0xde92c1c7, 0x837f, 0x4f69, 0xa3, 0xbb, 0x86, 0xe6, 0x31, 0x20, 0x4a, 0x23); +DEFINE_KNOWN_FOLDER(FOLDERID_PrintersFolder, 0x76fc4e2d, 0xd6ad, 0x4519, 0xa6, 0x63, 0x37, 0xbd, 0x56, 0x06, 0x81, 0x85); +DEFINE_KNOWN_FOLDER(FOLDERID_PrintHood, 0x9274bd8d, 0xcfd1, 0x41c3, 0xb3, 0x5e, 0xb1, 0x3f, 0x55, 0xa7, 0x58, 0xf4); +DEFINE_KNOWN_FOLDER(FOLDERID_Profile, 0x5e6c858f, 0x0e22, 0x4760, 0x9a, 0xfe, 0xea, 0x33, 0x17, 0xb6, 0x71, 0x73); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramData, 0x62ab5d82, 0xfdc1, 0x4dc3, 0xa9, 0xdd, 0x07, 0x0d, 0x1d, 0x49, 0x5d, 0x97); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramFiles, 0x905e63b6, 0xc1bf, 0x494e, 0xb2, 0x9c, 0x65, 0xb7, 0x32, 0xd3, 0xd2, 0x1a); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramFilesCommon, 0xf7f1ed05, 0x9f6d, 0x47a2, 0xaa, 0xae, 0x29, 0xd3, 0x17, 0xc6, 0xf0, 0x66); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramFilesCommonX64, 0x6365d5a7, 0x0f0d, 0x45e5, 0x87, 0xf6, 0x0d, 0xa5, 0x6b, 0x6a, 0x4f, 0x7d); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramFilesCommonX86, 0xde974d24, 0xd9c6, 0x4d3e, 0xbf, 0x91, 0xf4, 0x45, 0x51, 0x20, 0xb9, 0x17); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramFilesX64, 0x6d809377, 0x6af0, 0x444b, 0x89, 0x57, 0xa3, 0x77, 0x3f, 0x02, 0x20, 0x0e); +DEFINE_KNOWN_FOLDER(FOLDERID_ProgramFilesX86, 0x7c5a40ef, 0xa0fb, 0x4bfc, 0x87, 0x4a, 0xc0, 0xf2, 0xe0, 0xb9, 0xfa, 0x8e); +DEFINE_KNOWN_FOLDER(FOLDERID_Programs, 0xa77f5d77, 0x2e2b, 0x44c3, 0xa6, 0xa2, 0xab, 0xa6, 0x01, 0x05, 0x4a, 0x51); +DEFINE_KNOWN_FOLDER(FOLDERID_Public, 0xdfdf76a2, 0xc82a, 0x4d63, 0x90, 0x6a, 0x56, 0x44, 0xac, 0x45, 0x73, 0x85); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicDesktop, 0xc4aa340d, 0xf20f, 0x4863, 0xaf, 0xef, 0xf8, 0x7e, 0xf2, 0xe6, 0xba, 0x25); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicDocuments, 0xed4824af, 0xdce4, 0x45a8, 0x81, 0xe2, 0xfc, 0x79, 0x65, 0x08, 0x36, 0x34); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicDownloads, 0x3d644c9b, 0x1fb8, 0x4f30, 0x9b, 0x45, 0xf6, 0x70, 0x23, 0x5f, 0x79, 0xc0); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicGameTasks, 0xdebf2536, 0xe1a8, 0x4c59, 0xb6, 0xa2, 0x41, 0x45, 0x86, 0x47, 0x6a, 0xea); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicLibraries, 0x48daf80b, 0xe6cf, 0x4f4e, 0xb8, 0x00, 0x0e, 0x69, 0xd8, 0x4e, 0xe3, 0x84); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicMusic, 0x3214fab5, 0x9757, 0x4298, 0xbb, 0x61, 0x92, 0xa9, 0xde, 0xaa, 0x44, 0xff); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicPictures, 0xb6ebfb86, 0x6907, 0x413c, 0x9a, 0xf7, 0x4f, 0xc2, 0xab, 0xf0, 0x7c, 0xc5); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicRingtones, 0xe555ab60, 0x153b, 0x4d17, 0x9f, 0x04, 0xa5, 0xfe, 0x99, 0xfc, 0x15, 0xec); +DEFINE_KNOWN_FOLDER(FOLDERID_PublicVideos, 0x2400183a, 0x6185, 0x49fb, 0xa2, 0xd8, 0x4a, 0x39, 0x2a, 0x60, 0x2b, 0xa3); +DEFINE_KNOWN_FOLDER(FOLDERID_QuickLaunch, 0x52a4f021, 0x7b75, 0x48a9, 0x9f, 0x6b, 0x4b, 0x87, 0xa2, 0x10, 0xbc, 0x8f); +DEFINE_KNOWN_FOLDER(FOLDERID_Recent, 0xae50c081, 0xebd2, 0x438a, 0x86, 0x55, 0x8a, 0x09, 0x2e, 0x34, 0x98, 0x7a); +DEFINE_KNOWN_FOLDER(FOLDERID_RecordedTV, 0xbd85e001, 0x112e, 0x431e, 0x98, 0x3b, 0x7b, 0x15, 0xac, 0x09, 0xff, 0xf1); +DEFINE_KNOWN_FOLDER(FOLDERID_RecordedTVLibrary, 0x1a6fdba2, 0xf42d, 0x4358, 0xa7, 0x98, 0xb7, 0x4d, 0x74, 0x59, 0x26, 0xc5); +DEFINE_KNOWN_FOLDER(FOLDERID_RecycleBinFolder, 0xb7534046, 0x3ecb, 0x4c18, 0xbe, 0x4e, 0x64, 0xcd, 0x4c, 0xb7, 0xd6, 0xac); +DEFINE_KNOWN_FOLDER(FOLDERID_ResourceDir, 0x8ad10c31, 0x2adb, 0x4296, 0xa8, 0xf7, 0xe4, 0x70, 0x12, 0x32, 0xc9, 0x72); +DEFINE_KNOWN_FOLDER(FOLDERID_Ringtones, 0xc870044b, 0xf49e, 0x4126, 0xa9, 0xc3, 0xb5, 0x2a, 0x1f, 0xf4, 0x11, 0xe8); +DEFINE_KNOWN_FOLDER(FOLDERID_RoamingAppData, 0x3eb685db, 0x65f9, 0x4cf6, 0xa0, 0x3a, 0xe3, 0xef, 0x65, 0x72, 0x9f, 0x3d); +DEFINE_KNOWN_FOLDER(FOLDERID_SampleMusic, 0xb250c668, 0xf57d, 0x4ee1, 0xa6, 0x3c, 0x29, 0x0e, 0xe7, 0xd1, 0xaa, 0x1f); +DEFINE_KNOWN_FOLDER(FOLDERID_SamplePictures, 0xc4900540, 0x2379, 0x4c75, 0x84, 0x4b, 0x64, 0xe6, 0xfa, 0xf8, 0x71, 0x6b); +DEFINE_KNOWN_FOLDER(FOLDERID_SamplePlaylists, 0x15ca69b3, 0x30ee, 0x49c1, 0xac, 0xe1, 0x6b, 0x5e, 0xc3, 0x72, 0xaf, 0xb5); +DEFINE_KNOWN_FOLDER(FOLDERID_SampleVideos, 0x859ead94, 0x2e85, 0x48ad, 0xa7, 0x1a, 0x09, 0x69, 0xcb, 0x56, 0xa6, 0xcd); +DEFINE_KNOWN_FOLDER(FOLDERID_SavedGames, 0x4c5c32ff, 0xbb9d, 0x43b0, 0xb5, 0xb4, 0x2d, 0x72, 0xe5, 0x4e, 0xaa, 0xa4); +DEFINE_KNOWN_FOLDER(FOLDERID_SavedSearches, 0x7d1d3a04, 0xdebb, 0x4115, 0x95, 0xcf, 0x2f, 0x29, 0xda, 0x29, 0x20, 0xda); +DEFINE_KNOWN_FOLDER(FOLDERID_SEARCH_CSC, 0xee32e446, 0x31ca, 0x4aba, 0x81, 0x4f, 0xa5, 0xeb, 0xd2, 0xfd, 0x6d, 0x5e); +DEFINE_KNOWN_FOLDER(FOLDERID_SearchHome, 0x190337d1, 0xb8ca, 0x4121, 0xa6, 0x39, 0x6d, 0x47, 0x2d, 0x16, 0x97, 0x2a); +DEFINE_KNOWN_FOLDER(FOLDERID_SEARCH_MAPI, 0x98ec0e18, 0x2098, 0x4d44, 0x86, 0x44, 0x66, 0x97, 0x93, 0x15, 0xa2, 0x81); +DEFINE_KNOWN_FOLDER(FOLDERID_SendTo, 0x8983036c, 0x27c0, 0x404b, 0x8f, 0x08, 0x10, 0x2d, 0x10, 0xdc, 0xfd, 0x74); +DEFINE_KNOWN_FOLDER(FOLDERID_SidebarDefaultParts, 0x7b396e54, 0x9ec5, 0x4300, 0xbe, 0x0a, 0x24, 0x82, 0xeb, 0xae, 0x1a, 0x26); +DEFINE_KNOWN_FOLDER(FOLDERID_SidebarParts, 0xa75d362e, 0x50fc, 0x4fb7, 0xac, 0x2c, 0xa8, 0xbe, 0xaa, 0x31, 0x44, 0x93); +DEFINE_KNOWN_FOLDER(FOLDERID_StartMenu, 0x625b53c3, 0xab48, 0x4ec1, 0xba, 0x1f, 0xa1, 0xef, 0x41, 0x46, 0xfc, 0x19); +DEFINE_KNOWN_FOLDER(FOLDERID_Startup, 0xb97d20bb, 0xf46a, 0x4c97, 0xba, 0x10, 0x5e, 0x36, 0x08, 0x43, 0x08, 0x54); +DEFINE_KNOWN_FOLDER(FOLDERID_SyncManagerFolder, 0x43668bf8, 0xc14e, 0x49b2, 0x97, 0xc9, 0x74, 0x77, 0x84, 0xd7, 0x84, 0xb7); +DEFINE_KNOWN_FOLDER(FOLDERID_SyncResultsFolder, 0x289a9a43, 0xbe44, 0x4057, 0xa4, 0x1b, 0x58, 0x7a, 0x76, 0xd7, 0xe7, 0xf9); +DEFINE_KNOWN_FOLDER(FOLDERID_SyncSetupFolder, 0x0f214138, 0xb1d3, 0x4a90, 0xbb, 0xa9, 0x27, 0xcb, 0xc0, 0xc5, 0x38, 0x9a); +DEFINE_KNOWN_FOLDER(FOLDERID_System, 0x1ac14e77, 0x02e7, 0x4e5d, 0xb7, 0x44, 0x2e, 0xb1, 0xae, 0x51, 0x98, 0xb7); +DEFINE_KNOWN_FOLDER(FOLDERID_SystemX86, 0xd65231b0, 0xb2f1, 0x4857, 0xa4, 0xce, 0xa8, 0xe7, 0xc6, 0xea, 0x7d, 0x27); +DEFINE_KNOWN_FOLDER(FOLDERID_Templates, 0xa63293e8, 0x664e, 0x48db, 0xa0, 0x79, 0xdf, 0x75, 0x9e, 0x05, 0x09, 0xf7); +DEFINE_KNOWN_FOLDER(FOLDERID_UserPinned, 0x9e3995ab, 0x1f9c, 0x4f13, 0xb8, 0x27, 0x48, 0xb2, 0x4b, 0x6c, 0x71, 0x74); +DEFINE_KNOWN_FOLDER(FOLDERID_UserProfiles, 0x0762d272, 0xc50a, 0x4bb0, 0xa3, 0x82, 0x69, 0x7d, 0xcd, 0x72, 0x9b, 0x80); +DEFINE_KNOWN_FOLDER(FOLDERID_UserProgramFiles, 0x5cd7aee2, 0x2219, 0x4a67, 0xb8, 0x5d, 0x6c, 0x9c, 0xe1, 0x56, 0x60, 0xcb); +DEFINE_KNOWN_FOLDER(FOLDERID_UserProgramFilesCommon, 0xbcbd3057, 0xca5c, 0x4622, 0xb4, 0x2d, 0xbc, 0x56, 0xdb, 0x0a, 0xe5, 0x16); +DEFINE_KNOWN_FOLDER(FOLDERID_UsersFiles, 0xf3ce0f7c, 0x4901, 0x4acc, 0x86, 0x48, 0xd5, 0xd4, 0x4b, 0x04, 0xef, 0x8f); +DEFINE_KNOWN_FOLDER(FOLDERID_UsersLibraries, 0xa302545d, 0xdeff, 0x464b, 0xab, 0xe8, 0x61, 0xc8, 0x64, 0x8d, 0x93, 0x9b); +DEFINE_KNOWN_FOLDER(FOLDERID_Videos, 0x18989b1d, 0x99b5, 0x455b, 0x84, 0x1c, 0xab, 0x7c, 0x74, 0xe4, 0xdd, 0xfc); +DEFINE_KNOWN_FOLDER(FOLDERID_VideosLibrary, 0x491e922f, 0x5643, 0x4af4, 0xa7, 0xeb, 0x4e, 0x7a, 0x13, 0x8d, 0x81, 0x74); +DEFINE_KNOWN_FOLDER(FOLDERID_Windows, 0xf38bf404, 0x1d43, 0x42f2, 0x93, 0x05, 0x67, 0xde, 0x0b, 0x28, 0xfc, 0x23); + +#endif /* __WINE_KNOWNFOLDERS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ks.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ks.h new file mode 100644 index 0000000..168357e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ks.h @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2004 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _KS_ +#define _KS_ + +typedef union tagKSIDENTIFIER +{ + struct + { + GUID Set; + ULONG Id; + ULONG Flags; + } DUMMYSTRUCTNAME; + LONGLONG Alignment; +} KSIDENTIFIER; + +typedef KSIDENTIFIER KSPROPERTY, *PKSPROPERTY, KSMETHOD, *PKSMETHOD, KSEVENT, *PKSEVENT; + +typedef enum +{ + KSPIN_DATAFLOW_IN = 1, + KSPIN_DATAFLOW_OUT +} KSPIN_DATAFLOW, *PKSPIN_DATAFLOW; + +#define KSDATAFORMAT_BIT_TEMPORAL_COMPRESSION 0 +#define KSDATAFORMAT_BIT_ATTRIBUTES 1 +#define KSDATAFORMAT_TEMPORAL_COMPRESSION (1 << 0) +#define KSDATAFORMAT_ATTRIBUTES 1 (1 << 1) + +#define KSDATARANGE_BIT_ATTRIBUTES 1 +#define KSDATARANGE_BIT_REQUIRED_ATTRIBUTES 2 +#define KSDATARANGE_ATTRIBUTES (1 << 1) +#define KSDATARANGE_REQUIRED_ATTRIBUTES (1 << 2) + +typedef union unionKSDATAFORMAT +{ + struct + { + ULONG FormatSize; + ULONG Flags; + ULONG SampleSize; + ULONG Reserved; + GUID MajorFormat; + GUID SubFormat; + GUID Specifier; + } DUMMYSTRUCTNAME; + LONGLONG Alignment; +} KSDATAFORMAT, *PKSDATAFORMAT, KSDATARANGE, *PKSDATARANGE; + +#endif /* _KS_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksguid.h new file mode 100644 index 0000000..abed1c3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksguid.h @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2004 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define INITGUID +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksmedia.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksmedia.h new file mode 100644 index 0000000..ae95249 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksmedia.h @@ -0,0 +1,146 @@ +/* + * Copyright (C) 2004 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _KS_ +#error must include ks.h before ksmedia.h +#endif + +#ifndef _KSMEDIA_ +#define _KSMEDIA_ + +DEFINE_GUID(KSDATAFORMAT_TYPE_AUDIO, 0x73647561, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); + +DEFINE_GUID(KSDATAFORMAT_SUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); +DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); +DEFINE_GUID(KSDATAFORMAT_SUBTYPE_MULAW, 0x00000007, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); +DEFINE_GUID(KSDATAFORMAT_SUBTYPE_ALAW, 0x00000006, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); + +#define KSAUDIO_SPEAKER_DIRECTOUT 0 +#define KSAUDIO_SPEAKER_MONO SPEAKER_FRONT_CENTER +#define KSAUDIO_SPEAKER_STEREO (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT) +#define KSAUDIO_SPEAKER_QUAD (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT) +#define KSAUDIO_SPEAKER_SURROUND (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_BACK_CENTER) +#define KSAUDIO_SPEAKER_5POINT1 (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOW_FREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT) +/* 5:1 SIDE or BACK is not distinguished, only 0x3F shall be used (BACK) */ +#define KSAUDIO_SPEAKER_5POINT1_SURROUND (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOW_FREQUENCY | SPEAKER_SIDE_LEFT | SPEAKER_SIDE_RIGHT) +#define KSAUDIO_SPEAKER_7POINT1 (KSAUDIO_SPEAKER_5POINT1 | SPEAKER_FRONT_LEFT_OF_CENTER | SPEAKER_FRONT_RIGHT_OF_CENTER) +/* 7:1 home theater 0x63F */ +#define KSAUDIO_SPEAKER_7POINT1_SURROUND (KSAUDIO_SPEAKER_5POINT1 | SPEAKER_SIDE_LEFT | SPEAKER_SIDE_RIGHT) + +#ifndef REFERENCE_TIME_DEFINED +#define REFERENCE_TIME_DEFINED +typedef LONGLONG REFERENCE_TIME; +#endif + +typedef enum +{ + eConnTypeUnknown = 0, + eConnType3Point5mm, + eConnTypeQuarter, + eConnTypeAtapiInternal, + eConnTypeRCA, + eConnTypeOptical, + eConnTypeOtherDigital, + eConnTypeOtherAnalog, + eConnTypeMultichannelAnalogDIN, + eConnTypeXlrProfessional, + eConnTypeRJ11Modem, + eConnTypeCombination +} EPcxConnectionType; + +typedef enum +{ + eGeoLocRear = 1, + eGeoLocFront, + eGeoLocLeft, + eGeoLocRight, + eGeoLocTop, + eGeoLocBottom, + eGeoLocRearPanel, + eGeoLocRiser, + eGeoLocInsideMobileLid, + eGeoLocDrivebay, + eGeoLocHDMI, + eGeoLocOutsideMobileLid, + eGeoLocATAPI, + eGeoLocReserved5, + eGeoLocReserved6 +} EPcxGeoLocation; + +typedef enum +{ + eGenLocPrimaryBox = 0, + eGenLocInternal, + eGenLocSeparate, + eGenLocOther +} EPcxGenLocation; + +typedef enum +{ + ePortConnJack = 0, + ePortConnIntegratedDevice, + ePortConnBothIntegratedAndJack, + ePortConnUnknown +} EPxcPortConnection; + +typedef struct +{ + DWORD ChannelMapping; + COLORREF Color; + EPcxConnectionType ConnectionType; + EPcxGeoLocation GeoLocation; + EPcxGenLocation GenLocation; + EPxcPortConnection PortConnection; + BOOL IsConnected; +} KSJACK_DESCRIPTION; + +typedef KSJACK_DESCRIPTION *PKSJACK_DESCRIPTION; + +typedef enum +{ + KSJACK_SINK_CONNECTIONTYPE_HDMI = 0, + KSJACK_SINK_CONNECTIONTYPE_DISPLAYPORT +} KSJACK_SINK_CONNECTIONTYPE; + +#define MAX_SINK_DESCRIPTION_NAME_LENGTH 32 + +typedef struct _tagKSJACK_SINK_INFORMATION +{ + KSJACK_SINK_CONNECTIONTYPE ConnType; + WORD ManufacturerId; + WORD ProductId; + WORD AudioLatency; + BOOL HDCPCapable; + BOOL AICapable; + UCHAR SinkDescriptionLength; + WCHAR SinkDescription[MAX_SINK_DESCRIPTION_NAME_LENGTH]; + LUID PortId; +} KSJACK_SINK_INFORMATION; + +#define JACKDESC2_PRESENCE_DETECT_CAPABILITY 0x1 +#define JACKDESC2_DYNAMIC_FORMAT_CHANGE_CAPABILITY 0x2 + +typedef struct _tagKSJACK_DESCRIPTION2 +{ + DWORD DeviceStateInfo; + DWORD JackCapabilities; +} KSJACK_DESCRIPTION2; + +typedef struct _tagKSJACK_DESCRIPTION2 *PKSJACK_DESCRIPTION2; + +#endif /* _KSMEDIA_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksuuids.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksuuids.h new file mode 100644 index 0000000..6af2189 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ksuuids.h @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2014 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +OUR_GUID_ENTRY(AM_INTERFACESETID_Standard, 0x1a8766a0, 0x62ce, 0x11cf, 0xa5, 0xd6, 0x28, 0xdb, 0x04, 0xc1, 0x00, 0x00) +OUR_GUID_ENTRY(AM_KSCATEGORY_AUDIO, 0x6994ad04, 0x93ef, 0x11d0, 0xa3, 0xcc, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(AM_KSCATEGORY_CAPTURE, 0x65e8773d, 0x8f56, 0x11d0, 0xa3, 0xb9, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(AM_KSCATEGORY_CROSSBAR, 0xa799a801, 0xa46d, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0x24, 0x01, 0xdc, 0xd4) +OUR_GUID_ENTRY(AM_KSCATEGORY_DATACOMPRESSOR, 0x1e84c900, 0x7e70, 0x11d0, 0xa5, 0xd6, 0x28, 0xdb, 0x04, 0xc1, 0x00, 0x00) +OUR_GUID_ENTRY(AM_KSCATEGORY_RENDER, 0x65e8773e, 0x8f56, 0x11d0, 0xa3, 0xb9, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(AM_KSCATEGORY_SPLITTER, 0x0a4252a0, 0x7e70, 0x11d0, 0xa5, 0xd6, 0x28, 0xdb, 0x04, 0xc1, 0x00, 0x00) +OUR_GUID_ENTRY(AM_KSCATEGORY_TVAUDIO, 0xa799a802, 0xa46d, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0x24, 0x01, 0xdc, 0xd4) +OUR_GUID_ENTRY(AM_KSCATEGORY_TVTUNER, 0xa799a800, 0xa46d, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0x24, 0x01, 0xdc, 0xd4) +OUR_GUID_ENTRY(AM_KSCATEGORY_VBICODEC, 0x07dad660, 0x22f1, 0x11d1, 0xa9, 0xf4, 0x00, 0xc0, 0x4f, 0xbb, 0xde, 0x8f) +OUR_GUID_ENTRY(AM_KSCATEGORY_VBICODEC_MI, 0x9c24a977, 0x0951, 0x451a, 0x80, 0x06, 0x0e, 0x49, 0xbd, 0x28, 0xcd, 0x5f) +OUR_GUID_ENTRY(AM_KSCATEGORY_VIDEO, 0x6994ad05, 0x93ef, 0x11d0, 0xa3, 0xcc, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(AM_KSPROPSETID_AC3, 0xbfabe720, 0x6e1f, 0x11d0, 0xbc, 0xf2, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00) +OUR_GUID_ENTRY(AM_KSPROPSETID_CopyProt, 0x0e8a0a40, 0x6aef, 0x11d0, 0x9e, 0xd0, 0x00, 0xa0, 0x24, 0xca, 0x19, 0xb3) +OUR_GUID_ENTRY(AM_KSPROPSETID_DVD_RateChange, 0x3577eb09, 0x9582, 0x477f, 0xb2, 0x9c, 0xb0, 0xc4, 0x52, 0xa4, 0xff, 0x9a) +OUR_GUID_ENTRY(AM_KSPROPSETID_DvdKaraoke, 0xae4720ae, 0xaa71, 0x42d8, 0xb8, 0x2a, 0xff, 0xfd, 0xf5, 0x8b, 0x76, 0xfd) +OUR_GUID_ENTRY(AM_KSPROPSETID_DvdSubPic, 0xac390460, 0x43af, 0x11d0, 0xbd, 0x6a, 0x00, 0x35, 0x05, 0xc1, 0x03, 0xa9) +OUR_GUID_ENTRY(AM_KSPROPSETID_FrameStep, 0xc830acbd, 0xab07, 0x492f, 0x88, 0x52, 0x45, 0xb6, 0x98, 0x7c, 0x29, 0x79) +OUR_GUID_ENTRY(AM_KSPROPSETID_MPEG4_MediaType_Attributes, 0xff6c4bfa, 0x07a9, 0x4c7b, 0xa2, 0x37, 0x67, 0x2f, 0x9d, 0x68, 0x06, 0x5f) +OUR_GUID_ENTRY(AM_KSPROPSETID_TSRateChange, 0xa503c5c0, 0x1d1d, 0x11d1, 0xad, 0x80, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00) +OUR_GUID_ENTRY(FORMAT_DVD_LPCMAudio, 0xe06d80e6, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(FORMAT_DolbyAC3, 0xe06d80e4, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(FORMAT_Image, 0x692fa379, 0xd3e8, 0x4651, 0xb5, 0xb4, 0x0b, 0x94, 0xb0, 0x13, 0xee, 0xaf) +OUR_GUID_ENTRY(FORMAT_JPEGImage, 0x692fa379, 0xd3e8, 0x4651, 0xb5, 0xb4, 0x0b, 0x94, 0xb0, 0x13, 0xee, 0xaf) +OUR_GUID_ENTRY(FORMAT_MPEG2Audio, 0xe06d80e5, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(FORMAT_MPEG2Video, 0xe06d80e3, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(FORMAT_MPEG2_VIDEO, 0xe06d80e3, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(FORMAT_UVCH264Video, 0x2017be05, 0x6629, 0x4248, 0xaa, 0xed, 0x7e, 0x1a, 0x47, 0xbc, 0x9b, 0x9c) +OUR_GUID_ENTRY(FORMAT_VIDEOINFO2, 0xf72a76a0, 0xeb0a, 0x11d0, 0xac, 0xe4, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(IID_IKsDataTypeHandler, 0x5ffbaa02, 0x49a3, 0x11d0, 0x9f, 0x36, 0x00, 0xaa, 0x00, 0xa2, 0x16, 0xa1) +OUR_GUID_ENTRY(IID_IKsInterfaceHandler, 0xd3abc7e0, 0x9a61, 0x11d0, 0xa4, 0x0d, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(IID_IKsPin, 0xb61178d1, 0xa2d9, 0x11cf, 0x9e, 0x53, 0x00, 0xaa, 0x00, 0xa2, 0x16, 0xa1) +OUR_GUID_ENTRY(IID_IKsPinFactory, 0xcd5ebe6b, 0x8b6e, 0x11d1, 0x8a, 0xe0, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(MEDIASUBTYPE_ATSC_SI, 0xb3c7397c, 0xd303, 0x414d, 0xb3, 0x3c, 0x4e, 0xd2, 0xc9, 0xd2, 0x97, 0x33) +OUR_GUID_ENTRY(MEDIASUBTYPE_DOLBY_AC3, 0xe06d802c, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_DTS, 0xe06d8033, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVB_SI, 0xe9dd31a3, 0x221d, 0x4adb, 0x85, 0x32, 0x9a, 0xf3, 0x09, 0xc1, 0xa4, 0x08) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_LPCM_AUDIO, 0xe06d8032, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_NAVIGATION_DSI, 0xe06d8030, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_NAVIGATION_PCI, 0xe06d802f, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_NAVIGATION_PROVIDER, 0xe06d8031, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_SUBPICTURE, 0xe06d802d, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_ISDB_SI, 0xe89ad298, 0x3601, 0x4b06, 0xaa, 0xec, 0x9d, 0xde, 0xed, 0xcc, 0x5b, 0xd0) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2DATA, 0xc892e55b, 0x252d, 0x42b5, 0xa3, 0x16, 0xd9, 0x97, 0xe7, 0xa5, 0xd9, 0x95) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_AUDIO, 0xe06d802b, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_PBDA_TRANSPORT_PROCESSED, 0xaf748dd4, 0x0d80, 0x11db, 0x97, 0x05, 0x00, 0x50, 0x56, 0xc0, 0x00, 0x08) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_PBDA_TRANSPORT_RAW, 0x0d7aed42, 0xcb9a, 0x11db, 0x97, 0x05, 0x00, 0x50, 0x56, 0xc0, 0x00, 0x08) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_PROGRAM, 0xe06d8022, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_TRANSPORT, 0xe06d8023, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE, 0x138aa9a4, 0x1ee2, 0x4c5b, 0x98, 0x8e, 0x19, 0xab, 0xfd, 0xbc, 0x8a, 0x11) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_UDCR_TRANSPORT, 0x18bec4ea, 0x4676, 0x450e, 0xb4, 0x78, 0x0c, 0xd8, 0x4c, 0x54, 0xb3, 0x27) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_VERSIONED_TABLES, 0x1ed988b0, 0x3ffc, 0x4523, 0x87, 0x25, 0x34, 0x7b, 0xee, 0xc1, 0xa8, 0xa0) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_VIDEO, 0xe06d8026, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_WMDRM_TRANSPORT, 0x18bec4ea, 0x4676, 0x450e, 0xb4, 0x78, 0x0c, 0xd8, 0x4c, 0x54, 0xb3, 0x27) +OUR_GUID_ENTRY(MEDIASUBTYPE_SDDS, 0xe06d8034, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIASUBTYPE_TIF_SI, 0xec232eb2, 0xcb96, 0x4191, 0xb2, 0x26, 0x0e, 0xa1, 0x29, 0xf3, 0x82, 0x50) +OUR_GUID_ENTRY(MEDIATYPE_DVD_ENCRYPTED_PACK, 0xed0b916a, 0x044d, 0x11d1, 0xaa, 0x78, 0x00, 0xc0, 0x4f, 0xc3, 0x1d, 0x60) +OUR_GUID_ENTRY(MEDIATYPE_DVD_NAVIGATION, 0xe06d802e, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIATYPE_MPEG2_PACK, 0x36523b13, 0x8ee5, 0x11d1, 0x8c, 0xa3, 0x00, 0x60, 0xb0, 0x57, 0x66, 0x4a) +OUR_GUID_ENTRY(MEDIATYPE_MPEG2_PES, 0xe06d8020, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea) +OUR_GUID_ENTRY(MEDIATYPE_MPEG2_SECTIONS, 0x455f176c, 0x4b06, 0x47ce, 0x9a, 0xef, 0x8c, 0xae, 0xf7, 0x3d, 0xf7, 0xb5) +/* FIXME: conflicts with devicetopology.h */ +/* OUR_GUID_ENTRY(IID_IKsControl, 0x28f54685, 0x06fd, 0x11d2, 0xb2, 0x7a, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/libloaderapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/libloaderapi.h new file mode 100644 index 0000000..8f112a7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/libloaderapi.h @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2017 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _APISETLIBLOADER_ +#define _APISETLIBLOADER_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void *DLL_DIRECTORY_COOKIE, **PDLL_DIRECTORY_COOKIE; + +WINBASEAPI DLL_DIRECTORY_COOKIE WINAPI AddDllDirectory(const WCHAR *); +WINBASEAPI BOOL WINAPI RemoveDllDirectory(DLL_DIRECTORY_COOKIE); +WINBASEAPI BOOL WINAPI SetDefaultDllDirectories(DWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* _APISETLIBLOADER_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lm.h new file mode 100644 index 0000000..86a2d5a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lm.h @@ -0,0 +1,46 @@ +/* + * Copyright 2002 Andriy Palamarchuk + * + * General lm header which includes other lm headers. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LM_H +#define __WINE_LM_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +/* FIXME: #include */ +/* FIXME: #include */ +/* FIXME: #include */ +/* FIXME: #include */ +/* FIXME: #include */ +/* FIXME: #include */ +/* FIXME: #include */ + +/* The following are obsolete headers */ +#include + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmaccess.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmaccess.h new file mode 100644 index 0000000..5042f04 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmaccess.h @@ -0,0 +1,489 @@ +/* + * Copyright 2002 Andriy Palamarchuk + * + * User information Net API. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMACCESS_H +#define __WINE_LMACCESS_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#define ACCESS_NONE 0x0000 +#define ACCESS_READ 0x0001 +#define ACCESS_WRITE 0x0002 +#define ACCESS_CREATE 0x0004 +#define ACCESS_EXEC 0x0008 +#define ACCESS_DELETE 0x0010 +#define ACCESS_ATRIB 0x0020 +#define ACCESS_PERM 0x0040 +#define ACCESS_GROUP 0x8000 +#define ACCESS_ALL (ACCESS_READ|ACCESS_WRITE|ACCESS_CREATE|ACCESS_EXEC|ACCESS_DELETE|ACCESS_ATRIB|ACCESS_PERM) + +#define UF_SCRIPT 0x000001 +#define UF_ACCOUNTDISABLE 0x000002 +#define UF_HOMEDIR_REQUIRED 0x000008 +#define UF_LOCKOUT 0x000010 +#define UF_PASSWD_NOTREQD 0x000020 +#define UF_PASSWD_CANT_CHANGE 0x000040 +#define UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED 0x000080 +#define UF_TEMP_DUPLICATE_ACCOUNT 0x000100 +#define UF_NORMAL_ACCOUNT 0x000200 +#define UF_INTERDOMAIN_TRUST_ACCOUNT 0x000800 +#define UF_WORKSTATION_TRUST_ACCOUNT 0x001000 +#define UF_SERVER_TRUST_ACCOUNT 0x002000 +#define UF_DONT_EXPIRE_PASSWD 0x010000 +#define UF_MNS_LOGON_ACCOUNT 0x020000 +#define UF_SMARTCARD_REQUIRED 0x040000 +#define UF_TRUSTED_FOR_DELEGATION 0x080000 +#define UF_NOT_DELEGATED 0x100000 +#define UF_USE_DES_KEY_ONLY 0x200000 +#define UF_DONT_REQUIRE_PREAUTH 0x400000 +#define UF_PASSWORD_EXPIRED 0x800000 + + +#define UF_MACHINE_ACCOUNT_MASK ( \ + UF_INTERDOMAIN_TRUST_ACCOUNT | \ + UF_WORKSTATION_TRUST_ACCOUNT | \ + UF_SERVER_TRUST_ACCOUNT) + +#define UF_ACCOUNT_TYPE_MASK ( \ + UF_TEMP_DUPLICATE_ACCOUNT | \ + UF_NORMAL_ACCOUNT | \ + UF_INTERDOMAIN_TRUST_ACCOUNT | \ + UF_WORKSTATION_TRUST_ACCOUNT | \ + UF_SERVER_TRUST_ACCOUNT) + +#define UF_SETTABLE_BITS ( \ + UF_SCRIPT | \ + UF_ACCOUNTDISABLE | \ + UF_LOCKOUT | \ + UF_HOMEDIR_REQUIRED | \ + UF_PASSWD_NOTREQD | \ + UF_PASSWD_CANT_CHANGE | \ + UF_ACCOUNT_TYPE_MASK | \ + UF_DONT_EXPIRE_PASSWD | \ + UF_MNS_LOGON_ACCOUNT |\ + UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED |\ + UF_SMARTCARD_REQUIRED | \ + UF_TRUSTED_FOR_DELEGATION | \ + UF_NOT_DELEGATED | \ + UF_USE_DES_KEY_ONLY | \ + UF_DONT_REQUIRE_PREAUTH |\ + UF_PASSWORD_EXPIRED) + +#if defined(__GNUC__) +# define GROUP_SPECIALGRP_USERS (const WCHAR []){ 'U','S','E','R','S',0 } +#elif defined(_MSC_VER) +# define GROUP_SPECIALGRP_USERS L"USERS" +#else +static const WCHAR GROUP_SPECIALGRP_USERS[] = { 'U','S','E','R','S',0 }; +#endif + +#if defined(__GNUC__) +# define GROUP_SPECIALGRP_ADMINS (const WCHAR []){ 'A','D','M','I','N','S',0 } +#elif defined(_MSC_VER) +# define GROUP_SPECIALGRP_ADMINS L"ADMINS" +#else +static const WCHAR GROUP_SPECIALGRP_ADMINS[] = { 'A','D','M','I','N','S',0 }; +#endif + +#if defined(__GNUC__) +# define GROUP_SPECIALGRP_GUESTS (const WCHAR []){ 'G','U','E','S','T','S',0 } +#elif defined(_MSC_VER) +# define GROUP_SPECIALGRP_GUESTS L"GUESTS" +#else +static const WCHAR GROUP_SPECIALGRP_GUESTS[] = { 'G','U','E','S','T','S',0 }; +#endif + +#if defined(__GNUC__) +# define GROUP_SPECIALGRP_LOCAL (const WCHAR []){ 'L','O','C','A','L',0 } +#elif defined(_MSC_VER) +# define GROUP_SPECIALGRP_LOCAL L"LOCAL" +#else +static const WCHAR GROUP_SPECIALGRP_LOCAL[] = { 'L','O','C','A','L',0 }; +#endif + +#ifndef WINE_NTSTATUS_DECLARED +#define WINE_NTSTATUS_DECLARED +typedef LONG NTSTATUS; +#endif +#ifndef WINE_PNTSTATUS_DECLARED +#define WINE_PNTSTATUS_DECLARED +typedef NTSTATUS *PNTSTATUS; +#endif + +/* NetGetUserInfo structures */ +typedef struct _USER_INFO_0 { + LPWSTR usri0_name; +} USER_INFO_0, *PUSER_INFO_0, *LPUSER_INFO_0; + +typedef struct _USER_INFO_1 { + LPWSTR usri1_name; + LPWSTR usri1_password; + DWORD usri1_password_age; + DWORD usri1_priv; + LPWSTR usri1_home_dir; + LPWSTR usri1_comment; + DWORD usri1_flags; + LPWSTR usri1_script_path; +} USER_INFO_1, *PUSER_INFO_1, *LPUSER_INFO_1; + +typedef struct _USER_INFO_2 { + LPWSTR usri2_name; + LPWSTR usri2_password; + DWORD usri2_password_age; + DWORD usri2_priv; + LPWSTR usri2_home_dir; + LPWSTR usri2_comment; + DWORD usri2_flags; + LPWSTR usri2_script_path; + DWORD usri2_auth_flags; + LPWSTR usri2_full_name; + LPWSTR usri2_usr_comment; + LPWSTR usri2_parms; + LPWSTR usri2_workstations; + DWORD usri2_last_logon; + DWORD usri2_last_logoff; + DWORD usri2_acct_expires; + DWORD usri2_max_storage; + DWORD usri2_units_per_week; + PBYTE usri2_logon_hours; + DWORD usri2_bad_pw_count; + DWORD usri2_num_logons; + LPWSTR usri2_logon_server; + DWORD usri2_country_code; + DWORD usri2_code_page; +} USER_INFO_2, *PUSER_INFO_2, *LPUSER_INFO_2; + +typedef struct _USER_INFO_3 { + LPWSTR usri3_name; + LPWSTR usri3_password; + DWORD usri3_password_age; + DWORD usri3_priv; + LPWSTR usri3_home_dir; + LPWSTR usri3_comment; + DWORD usri3_flags; + LPWSTR usri3_script_path; + DWORD usri3_auth_flags; + LPWSTR usri3_full_name; + LPWSTR usri3_usr_comment; + LPWSTR usri3_parms; + LPWSTR usri3_workstations; + DWORD usri3_last_logon; + DWORD usri3_last_logoff; + DWORD usri3_acct_expires; + DWORD usri3_max_storage; + DWORD usri3_units_per_week; + PBYTE usri3_logon_hours; + DWORD usri3_bad_pw_count; + DWORD usri3_num_logons; + LPWSTR usri3_logon_server; + DWORD usri3_country_code; + DWORD usri3_code_page; + DWORD usri3_user_id; + DWORD usri3_primary_group_id; + LPWSTR usri3_profile; + LPWSTR usri3_home_dir_drive; + DWORD usri3_password_expired; +} USER_INFO_3, *PUSER_INFO_3, *LPUSER_INFO_3; + +typedef struct _USER_INFO_4 { + LPWSTR usri4_name; + LPWSTR usri4_password; + DWORD usri4_password_age; + DWORD usri4_priv; + LPWSTR usri4_home_dir; + LPWSTR usri4_comment; + DWORD usri4_flags; + LPWSTR usri4_script_path; + DWORD usri4_auth_flags; + LPWSTR usri4_full_name; + LPWSTR usri4_usr_comment; + LPWSTR usri4_parms; + LPWSTR usri4_workstations; + DWORD usri4_last_logon; + DWORD usri4_last_logoff; + DWORD usri4_acct_expires; + DWORD usri4_max_storage; + DWORD usri4_units_per_week; + PBYTE usri4_logon_hours; + DWORD usri4_bad_pw_count; + DWORD usri4_num_logons; + LPWSTR usri4_logon_server; + DWORD usri4_country_code; + DWORD usri4_code_page; + PSID usri4_user_sid; + DWORD usri4_primary_group_id; + LPWSTR usri4_profile; + LPWSTR usri4_home_dir_drive; + DWORD usri4_password_expired; +} USER_INFO_4, *PUSER_INFO_4, *LPUSER_INFO_4; + +typedef struct _USER_INFO_10 { + LPWSTR usri10_name; + LPWSTR usri10_comment; + LPWSTR usri10_usr_comment; + LPWSTR usri10_full_name; +} USER_INFO_10, *PUSER_INFO_10, *LPUSER_INFO_10; + +typedef struct _USER_INFO_11 { + LPWSTR usri11_name; + LPWSTR usri11_comment; + LPWSTR usri11_usr_comment; + LPWSTR usri11_full_name; + DWORD usri11_priv; + DWORD usri11_auth_flags; + DWORD usri11_password_age; + LPWSTR usri11_home_dir; + LPWSTR usri11_parms; + DWORD usri11_last_logon; + DWORD usri11_last_logoff; + DWORD usri11_bad_pw_count; + DWORD usri11_num_logons; + LPWSTR usri11_logon_server; + DWORD usri11_country_code; + LPWSTR usri11_workstations; + DWORD usri11_max_storage; + DWORD usri11_units_per_week; + PBYTE usri11_logon_hours; + DWORD usri11_code_page; +} USER_INFO_11, *PUSER_INFO_11, *LPUSER_INFO_11; + +typedef struct _USER_INFO_20 { + LPWSTR usri20_name; + LPWSTR usri20_full_name; + LPWSTR usri20_comment; + DWORD usri20_flags; + DWORD usri20_user_id; +} USER_INFO_20, *PUSER_INFO_20, *LPUSER_INFO_20; + +typedef struct _USER_INFO_23 { + LPWSTR usri23_name; + LPWSTR usri23_full_name; + LPWSTR usri23_comment; + DWORD usri23_flags; + PSID usri23_user_sid; +} USER_INFO_23, *PUSER_INFO_23, *LPUSER_INFO_23; + +typedef struct _USER_INFO_1003 { + LPWSTR usri1003_password; +} USER_INFO_1003, *PUSER_INFO_1003, *LPUSER_INFO_1003; + +typedef struct _USER_INFO_1005 { + DWORD usri1005_priv; +} USER_INFO_1005, *PUSER_INFO_1005, *LPUSER_INFO_1005; + +typedef struct _USER_INFO_1006 { + LPWSTR usri1006_home_dir; +} USER_INFO_1006, *PUSER_INFO_1006, *LPUSER_INFO_1006; + +typedef struct _USER_INFO_1007 { + LPWSTR usri1007_comment; +} USER_INFO_1007, *PUSER_INFO_1007, *LPUSER_INFO_1007; + +typedef struct _USER_INFO_1008 { + DWORD usri1008_flags; +} USER_INFO_1008, *PUSER_INFO_1008, *LPUSER_INFO_1008; + +typedef struct _USER_INFO_1009 { + LPWSTR usri1009_script_path; +} USER_INFO_1009, *PUSER_INFO_1009, *LPUSER_INFO_1009; + +typedef struct _USER_INFO_1010 { + DWORD usri1010_auth_flags; +} USER_INFO_1010, *PUSER_INFO_1010, *LPUSER_INFO_1010; + +typedef struct _USER_INFO_1011 { + LPWSTR usri1011_full_name; +} USER_INFO_1011, *PUSER_INFO_1011, *LPUSER_INFO_1011; + +typedef struct _USER_INFO_1012 { + LPWSTR usri1012_usr_comment; +} USER_INFO_1012, *PUSER_INFO_1012, *LPUSER_INFO_1012; + +typedef struct _USER_INFO_1013 { + LPWSTR usri1013_parms; +} USER_INFO_1013, *PUSER_INFO_1013, *LPUSER_INFO_1013; + +typedef struct _USER_INFO_1014 { + LPWSTR usri1014_workstations; +} USER_INFO_1014, *PUSER_INFO_1014, *LPUSER_INFO_1014; + +typedef struct _USER_INFO_1017 { + DWORD usri1017_acct_expires; +} USER_INFO_1017, *PUSER_INFO_1017, *LPUSER_INFO_1017; + +typedef struct _USER_INFO_1018 { + DWORD usri1018_max_storage; +} USER_INFO_1018, *PUSER_INFO_1018, *LPUSER_INFO_1018; + +typedef struct _USER_INFO_1020 { + DWORD usri1020_units_per_week; + LPBYTE usri1020_logon_hours; +} USER_INFO_1020, *PUSER_INFO_1020, *LPUSER_INFO_1020; + +typedef struct _USER_INFO_1023 { + LPWSTR usri1023_logon_server; +} USER_INFO_1023, *PUSER_INFO_1023, *LPUSER_INFO_1023; + +typedef struct _USER_INFO_1024 { + DWORD usri1024_country_code; +} USER_INFO_1024, *PUSER_INFO_1024, *LPUSER_INFO_1024; + +typedef struct _USER_INFO_1025 { + DWORD usri1025_code_page; +} USER_INFO_1025, *PUSER_INFO_1025, *LPUSER_INFO_1025; + +typedef struct _USER_INFO_1051 { + DWORD usri1051_primary_group_id; +} USER_INFO_1051, *PUSER_INFO_1051, *LPUSER_INFO_1051; + +typedef struct _USER_INFO_1052 { + LPWSTR usri1052_profile; +} USER_INFO_1052, *PUSER_INFO_1052, *LPUSER_INFO_1052; + +typedef struct _USER_INFO_1053 { + LPWSTR usri1053_home_dir_drive; +} USER_INFO_1053, *PUSER_INFO_1053, *LPUSER_INFO_1053; + +typedef struct _USER_MODALS_INFO_0 { + DWORD usrmod0_min_passwd_len; + DWORD usrmod0_max_passwd_age; + DWORD usrmod0_min_passwd_age; + DWORD usrmod0_force_logoff; + DWORD usrmod0_password_hist_len; +} USER_MODALS_INFO_0, *PUSER_MODALS_INFO_0, *LPUSER_MODALS_INFO_0; + +typedef struct _USER_MODALS_INFO_1 { + DWORD usrmod1_role; + LPWSTR usrmod1_primary; +} USER_MODALS_INFO_1, *PUSER_MODALS_INFO_1, *LPUSER_MODALS_INFO_1; + +typedef struct _USER_MODALS_INFO_2 { + LPWSTR usrmod2_domain_name; + PSID usrmod2_domain_id; +} USER_MODALS_INFO_2, *PUSER_MODALS_INFO_2, *LPUSER_MODALS_INFO_2; + +typedef struct _USER_MODALS_INFO_3 { + DWORD usrmod3_lockout_duration; + DWORD usrmod3_lockout_observation_window; + DWORD usrmod3_lockout_threshold; +} USER_MODALS_INFO_3, *PUSER_MODALS_INFO_3, *LPUSER_MODALS_INFO_3; + +typedef struct _NET_DISPLAY_USER { + LPWSTR usri1_name; + LPWSTR usri1_comment; + DWORD usri1_flags; + LPWSTR usri1_full_name; + DWORD usri1_user_id; + DWORD usri1_next_index; +} NET_DISPLAY_USER, *PNET_DISPLAY_USER; + +typedef struct _NET_DISPLAY_MACHINE { + LPWSTR usri2_name; + LPWSTR usri2_comment; + DWORD usri2_flags; + DWORD usri2_user_id; + DWORD usri2_next_index; +} NET_DISPLAY_MACHINE, *PNET_DISPLAY_MACHINE; + +typedef struct _NET_DISPLAY_GROUP { + LPWSTR grpi3_name; + LPWSTR grpi3_comment; + DWORD grpi3_group_id; + DWORD grpi3_attributes; + DWORD grpi3_next_index; +} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP; + +typedef struct _LOCALGROUP_INFO_0 { + LPWSTR lgrpi0_name; +} LOCALGROUP_INFO_0, *PLOCALGROUP_INFO_0, *LPLOCALGROUP_INFO_0; + +typedef struct _LOCALGROUP_INFO_1 { + LPWSTR lgrpi1_name; + LPWSTR lgrpi1_comment; +} LOCALGROUP_INFO_1, *PLOCALGROUP_INFO_1, *LPLOCALGROUP_INFO_1; + +typedef struct _LOCALGROUP_INFO_1002 { + LPWSTR lgrpi1002_comment; +} LOCALGROUP_INFO_1002, *PLOCALGROUP_INFO_1002, *LPLOCALGROUP_INFO_1002; + +typedef struct _LOCALGROUP_MEMBERS_INFO_0 { + PSID lgrmi0_sid; +} LOCALGROUP_MEMBERS_INFO_0, *PLOCALGROUP_MEMBERS_INFO_0, *LPLOCALGROUP_MEMBERS_INFO_0; + +typedef struct _LOCALGROUP_MEMBERS_INFO_1 { + PSID lgrmi1_sid; + SID_NAME_USE lgrmi1_sidusage; + LPWSTR lgrmi1_name; +} LOCALGROUP_MEMBERS_INFO_1, *PLOCALGROUP_MEMBERS_INFO_1, *LPLOCALGROUP_MEMBERS_INFO_1; + +typedef struct _LOCALGROUP_MEMBERS_INFO_2 { + PSID lgrmi2_sid; + SID_NAME_USE lgrmi2_sidusage; + LPWSTR lgrmi2_domainandname; +} LOCALGROUP_MEMBERS_INFO_2, *PLOCALGROUP_MEMBERS_INFO_2, *LPLOCALGROUP_MEMBERS_INFO_2; + +typedef struct _LOCALGROUP_MEMBERS_INFO_3 { + LPWSTR lgrmi3_domainandname; +} LOCALGROUP_MEMBERS_INFO_3, *PLOCALGROUP_MEMBERS_INFO_3, *LPLOCALGROUP_MEMBERS_INFO_3; + +typedef struct _LOCALGROUP_USERS_INFO_0 { + LPWSTR lgrui0_name; +} LOCALGROUP_USERS_INFO_0, *PLOCALGROUP_USERS_INFO_0, *LPLOCALGROUP_USERS_INFO_0; + +#define USER_PRIV_GUEST 0 +#define USER_PRIV_USER 1 +#define USER_PRIV_ADMIN 2 +#define USER_PRIV_MASK 3 + +#define LOCALGROUP_NAME_PARMNUM 1 +#define LOCALGROUP_COMMENT_PARMNUM 2 + +NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,LPBYTE*); +NET_API_STATUS WINAPI NetGroupEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR,LPCWSTR,PSID); +NET_API_STATUS WINAPI NetLocalGroupAddMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE,DWORD); +NET_API_STATUS WINAPI NetLocalGroupDel(LPCWSTR,LPCWSTR); +NET_API_STATUS WINAPI NetLocalGroupDelMember(LPCWSTR,LPCWSTR,PSID); +NET_API_STATUS WINAPI NetLocalGroupDelMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE,DWORD); +NET_API_STATUS WINAPI NetLocalGroupEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,PDWORD_PTR); +NET_API_STATUS WINAPI NetLocalGroupGetInfo(LPCWSTR,LPCWSTR,DWORD,LPBYTE*); +NET_API_STATUS WINAPI NetLocalGroupGetMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,PDWORD_PTR); +NET_API_STATUS WINAPI NetLocalGroupSetInfo(LPCWSTR,LPCWSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetLocalGroupSetMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE,DWORD); +NET_API_STATUS WINAPI NetQueryDisplayInformation(LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPDWORD,PVOID*); +NET_API_STATUS WINAPI NetUserAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetUserChangePassword(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); +NET_API_STATUS WINAPI NetUserDel(LPCWSTR,LPCWSTR); +NET_API_STATUS WINAPI NetUserEnum(LPCWSTR,DWORD,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR,LPCWSTR,DWORD,LPBYTE*); +NET_API_STATUS WINAPI NetUserGetGroups(LPCWSTR,LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetUserGetLocalGroups(LPCWSTR,LPCWSTR,DWORD,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR,DWORD,LPBYTE*); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmapibuf.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmapibuf.h new file mode 100644 index 0000000..2362d08 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmapibuf.h @@ -0,0 +1,40 @@ +/* + * Copyright 2002 Andriy Palamarchuk + * + * Net API buffer calls + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMAPIBUF_H +#define __WINE_LMAPIBUF_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Buffer functions */ +NET_API_STATUS WINAPI NetApiBufferAllocate(DWORD ByteCount, LPVOID* Buffer); +NET_API_STATUS WINAPI NetApiBufferFree(LPVOID Buffer); +NET_API_STATUS WINAPI NetApiBufferReallocate(LPVOID OldBuffer, DWORD NewByteCount, + LPVOID* NewBuffer); +NET_API_STATUS WINAPI NetApiBufferSize(LPVOID Buffer, LPDWORD ByteCount); +NET_API_STATUS WINAPI NetapipBufferAllocate(DWORD ByteCount, LPVOID* Buffer); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmat.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmat.h new file mode 100644 index 0000000..da9691a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmat.h @@ -0,0 +1,36 @@ +/* + * Schedule Service Functions + * + * Copyright (C) 2011 Louis Lenders + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMAT_H +#define __WINE_LMAT_H + +#ifdef __cplusplus +extern "C" { +#endif + +NET_API_STATUS WINAPI NetScheduleJobAdd(LPCWSTR,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetScheduleJobDel(LPCWSTR,DWORD,DWORD); +NET_API_STATUS WINAPI NetScheduleJobEnum(LPCWSTR,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_LMAT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmbrowsr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmbrowsr.h new file mode 100644 index 0000000..67fd8f3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmbrowsr.h @@ -0,0 +1,47 @@ +/* + * Copyright 2002 Andriy Palamarchuk + * + * Browser NET API calls + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMBROWSR_H +#define __WINE_LMBROWSR_H + + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _BROWSER_EMULATED_DOMAIN { + LPWSTR DomainName; + LPWSTR EmulatedServerName; + DWORD Role; +} BROWSER_EMULATED_DOMAIN, *PBROWSER_EMULATED_DOMAIN; + +NET_API_STATUS WINAPI I_BrowserSetNetlogonState( + LPWSTR ServerName, LPWSTR DomainName, LPWSTR EmulatedServerName, + DWORD Role); + +NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains( + LPWSTR ServerName, PBROWSER_EMULATED_DOMAIN *EmulatedDomains, + LPDWORD EntriesRead); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmcons.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmcons.h new file mode 100644 index 0000000..5a0a2fe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmcons.h @@ -0,0 +1,70 @@ +/* + * Copyright (C) 1999 Rein Klazes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMCONS_H +#define __WINE_LMCONS_H + +/* Types */ + +#define NET_API_STATUS DWORD +#define API_RET_TYPE NET_API_STATUS +#define NET_API_FUNCTION WINAPI + +#define MAX_PREFERRED_LENGTH ((DWORD) -1) + +/* Lan manager API defines */ + +#define UNLEN 256 +#define LM20_UNLEN 20 +#define GNLEN UNLEN +#define LM20_GNLEN LM20_UNLEN +#define PWLEN 256 +#define LM20_PWLEN 14 +#define SHPWLEN 8 +#define CNLEN 15 +#define LM20_CNLEN CNLEN +#define DNLEN CNLEN +#define LM20_DNLEN DNLEN +#define UNCLEN (CNLEN+2) +#define LM20_UNCLEN (LM20_CNLEN+2) +#define NNLEN 80 +#define LM20_NNLEN 12 +#define RMLEN (UNCLEN+1+NNLEN) +#define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN) +#define SNLEN 80 +#define LM20_SNLEN 15 +#define STXTLEN 256 +#define LM20_STXTLEN 63 +#define PATHLEN 256 +#define LM20_PATHLEN 256 +#define DEVLEN 80 +#define LM20_DEVLEN 8 +#define EVLEN 16 +#define CLTYPE_LEN 12 + +/* platform IDs */ +#define PLATFORM_ID_DOS 300 +#define PLATFORM_ID_OS2 400 +#define PLATFORM_ID_NT 500 +#define PLATFORM_ID_OSF 600 +#define PLATFORM_ID_VMS 700 + +#define LMSTR LPWSTR +#define LMCSTR LPCWSTR + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmerr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmerr.h new file mode 100644 index 0000000..47b869c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmerr.h @@ -0,0 +1,318 @@ +/* + * Copyright 2002 Andriy Palamarchuk + * + * NERR error codes. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMERR_H +#define __WINE_LMERR_H + +#include + +#define NERR_Success 0 + +#define NERR_BASE 2100 + +#define NERR_NetNotStarted (NERR_BASE + 2) +#define NERR_UnknownServer (NERR_BASE + 3) +#define NERR_ShareMem (NERR_BASE + 4) +#define NERR_NoNetworkResource (NERR_BASE + 5) +#define NERR_RemoteOnly (NERR_BASE + 6) +#define NERR_DevNotRedirected (NERR_BASE + 7) +#define NERR_ServerNotStarted (NERR_BASE + 14) +#define NERR_ItemNotFound (NERR_BASE + 15) +#define NERR_UnknownDevDir (NERR_BASE + 16) +#define NERR_RedirectedPath (NERR_BASE + 17) +#define NERR_DuplicateShare (NERR_BASE + 18) +#define NERR_NoRoom (NERR_BASE + 19) +#define NERR_TooManyItems (NERR_BASE + 21) +#define NERR_InvalidMaxUsers (NERR_BASE + 22) +#define NERR_BufTooSmall (NERR_BASE + 23) +#define NERR_RemoteErr (NERR_BASE + 27) +#define NERR_LanmanIniError (NERR_BASE + 31) +#define NERR_NetworkError (NERR_BASE + 36) +#define NERR_WkstaInconsistentState (NERR_BASE + 37) +#define NERR_WkstaNotStarted (NERR_BASE + 38) +#define NERR_BrowserNotStarted (NERR_BASE + 39) +#define NERR_InternalError (NERR_BASE + 40) +#define NERR_BadTransactConfig (NERR_BASE + 41) +#define NERR_InvalidAPI (NERR_BASE + 42) +#define NERR_BadEventName (NERR_BASE + 43) +#define NERR_DupNameReboot (NERR_BASE + 44) +#define NERR_CfgCompNotFound (NERR_BASE + 46) +#define NERR_CfgParamNotFound (NERR_BASE + 47) +#define NERR_LineTooLong (NERR_BASE + 49) +#define NERR_QNotFound (NERR_BASE + 50) +#define NERR_JobNotFound (NERR_BASE + 51) +#define NERR_DestNotFound (NERR_BASE + 52) +#define NERR_DestExists (NERR_BASE + 53) +#define NERR_QExists (NERR_BASE + 54) +#define NERR_QNoRoom (NERR_BASE + 55) +#define NERR_JobNoRoom (NERR_BASE + 56) +#define NERR_DestNoRoom (NERR_BASE + 57) +#define NERR_DestIdle (NERR_BASE + 58) +#define NERR_DestInvalidOp (NERR_BASE + 59) +#define NERR_ProcNoRespond (NERR_BASE + 60) +#define NERR_SpoolerNotLoaded (NERR_BASE + 61) +#define NERR_DestInvalidState (NERR_BASE + 62) +#define NERR_QInvalidState (NERR_BASE + 63) +#define NERR_JobInvalidState (NERR_BASE + 64) +#define NERR_SpoolNoMemory (NERR_BASE + 65) +#define NERR_DriverNotFound (NERR_BASE + 66) +#define NERR_DataTypeInvalid (NERR_BASE + 67) +#define NERR_ProcNotFound (NERR_BASE + 68) +#define NERR_ServiceTableLocked (NERR_BASE + 80) +#define NERR_ServiceTableFull (NERR_BASE + 81) +#define NERR_ServiceInstalled (NERR_BASE + 82) +#define NERR_ServiceEntryLocked (NERR_BASE + 83) +#define NERR_ServiceNotInstalled (NERR_BASE + 84) +#define NERR_BadServiceName (NERR_BASE + 85) +#define NERR_ServiceCtlTimeout (NERR_BASE + 86) +#define NERR_ServiceCtlBusy (NERR_BASE + 87) +#define NERR_BadServiceProgName (NERR_BASE + 88) +#define NERR_ServiceNotCtrl (NERR_BASE + 89) +#define NERR_ServiceKillProc (NERR_BASE + 90) +#define NERR_ServiceCtlNotValid (NERR_BASE + 91) +#define NERR_NotInDispatchTbl (NERR_BASE + 92) +#define NERR_BadControlRecv (NERR_BASE + 93) +#define NERR_ServiceNotStarting (NERR_BASE + 94) +#define NERR_AlreadyLoggedOn (NERR_BASE + 100) +#define NERR_NotLoggedOn (NERR_BASE + 101) +#define NERR_BadUsername (NERR_BASE + 102) +#define NERR_BadPassword (NERR_BASE + 103) +#define NERR_UnableToAddName_W (NERR_BASE + 104) +#define NERR_UnableToAddName_F (NERR_BASE + 105) +#define NERR_UnableToDelName_W (NERR_BASE + 106) +#define NERR_UnableToDelName_F (NERR_BASE + 107) +#define NERR_LogonsPaused (NERR_BASE + 109) +#define NERR_LogonServerConflict (NERR_BASE + 110) +#define NERR_LogonNoUserPath (NERR_BASE + 111) +#define NERR_LogonScriptError (NERR_BASE + 112) +#define NERR_StandaloneLogon (NERR_BASE + 114) +#define NERR_LogonServerNotFound (NERR_BASE + 115) +#define NERR_LogonDomainExists (NERR_BASE + 116) +#define NERR_NonValidatedLogon (NERR_BASE + 117) +#define NERR_ACFNotFound (NERR_BASE + 119) +#define NERR_GroupNotFound (NERR_BASE + 120) +#define NERR_UserNotFound (NERR_BASE + 121) +#define NERR_ResourceNotFound (NERR_BASE + 122) +#define NERR_GroupExists (NERR_BASE + 123) +#define NERR_UserExists (NERR_BASE + 124) +#define NERR_ResourceExists (NERR_BASE + 125) +#define NERR_NotPrimary (NERR_BASE + 126) +#define NERR_ACFNotLoaded (NERR_BASE + 127) +#define NERR_ACFNoRoom (NERR_BASE + 128) +#define NERR_ACFFileIOFail (NERR_BASE + 129) +#define NERR_ACFTooManyLists (NERR_BASE + 130) +#define NERR_UserLogon (NERR_BASE + 131) +#define NERR_ACFNoParent (NERR_BASE + 132) +#define NERR_CanNotGrowSegment (NERR_BASE + 133) +#define NERR_SpeGroupOp (NERR_BASE + 134) +#define NERR_NotInCache (NERR_BASE + 135) +#define NERR_UserInGroup (NERR_BASE + 136) +#define NERR_UserNotInGroup (NERR_BASE + 137) +#define NERR_AccountUndefined (NERR_BASE + 138) +#define NERR_AccountExpired (NERR_BASE + 139) +#define NERR_InvalidWorkstation (NERR_BASE + 140) +#define NERR_InvalidLogonHours (NERR_BASE + 141) +#define NERR_PasswordExpired (NERR_BASE + 142) +#define NERR_PasswordCantChange (NERR_BASE + 143) +#define NERR_PasswordHistConflict (NERR_BASE + 144) +#define NERR_PasswordTooShort (NERR_BASE + 145) +#define NERR_PasswordTooRecent (NERR_BASE + 146) +#define NERR_InvalidDatabase (NERR_BASE + 147) +#define NERR_DatabaseUpToDate (NERR_BASE + 148) +#define NERR_SyncRequired (NERR_BASE + 149) +#define NERR_UseNotFound (NERR_BASE + 150) +#define NERR_BadAsgType (NERR_BASE + 151) +#define NERR_DeviceIsShared (NERR_BASE + 152) +#define NERR_NoComputerName (NERR_BASE + 170) +#define NERR_MsgAlreadyStarted (NERR_BASE + 171) +#define NERR_MsgInitFailed (NERR_BASE + 172) +#define NERR_NameNotFound (NERR_BASE + 173) +#define NERR_AlreadyForwarded (NERR_BASE + 174) +#define NERR_AddForwarded (NERR_BASE + 175) +#define NERR_AlreadyExists (NERR_BASE + 176) +#define NERR_TooManyNames (NERR_BASE + 177) +#define NERR_DelComputerName (NERR_BASE + 178) +#define NERR_LocalForward (NERR_BASE + 179) +#define NERR_GrpMsgProcessor (NERR_BASE + 180) +#define NERR_PausedRemote (NERR_BASE + 181) +#define NERR_BadReceive (NERR_BASE + 182) +#define NERR_NameInUse (NERR_BASE + 183) +#define NERR_MsgNotStarted (NERR_BASE + 184) +#define NERR_NotLocalName (NERR_BASE + 185) +#define NERR_NoForwardName (NERR_BASE + 186) +#define NERR_RemoteFull (NERR_BASE + 187) +#define NERR_NameNotForwarded (NERR_BASE + 188) +#define NERR_TruncatedBroadcast (NERR_BASE + 189) +#define NERR_InvalidDevice (NERR_BASE + 194) +#define NERR_WriteFault (NERR_BASE + 195) +#define NERR_DuplicateName (NERR_BASE + 197) +#define NERR_DeleteLater (NERR_BASE + 198) +#define NERR_IncompleteDel (NERR_BASE + 199) +#define NERR_MultipleNets (NERR_BASE + 200) +#define NERR_NetNameNotFound (NERR_BASE + 210) +#define NERR_DeviceNotShared (NERR_BASE + 211) +#define NERR_ClientNameNotFound (NERR_BASE + 212) +#define NERR_FileIdNotFound (NERR_BASE + 214) +#define NERR_ExecFailure (NERR_BASE + 215) +#define NERR_TmpFile (NERR_BASE + 216) +#define NERR_TooMuchData (NERR_BASE + 217) +#define NERR_DeviceShareConflict (NERR_BASE + 218) +#define NERR_BrowserTableIncomplete (NERR_BASE + 219) +#define NERR_NotLocalDomain (NERR_BASE + 220) +#define NERR_IsDfsShare (NERR_BASE + 221) +#define NERR_DevInvalidOpCode (NERR_BASE + 231) +#define NERR_DevNotFound (NERR_BASE + 232) +#define NERR_DevNotOpen (NERR_BASE + 233) +#define NERR_BadQueueDevString (NERR_BASE + 234) +#define NERR_BadQueuePriority (NERR_BASE + 235) +#define NERR_NoCommDevs (NERR_BASE + 237) +#define NERR_QueueNotFound (NERR_BASE + 238) +#define NERR_BadDevString (NERR_BASE + 240) +#define NERR_BadDev (NERR_BASE + 241) +#define NERR_InUseBySpooler (NERR_BASE + 242) +#define NERR_CommDevInUse (NERR_BASE + 243) +#define NERR_InvalidComputer (NERR_BASE + 251) +#define NERR_MaxLenExceeded (NERR_BASE + 254) +#define NERR_BadComponent (NERR_BASE + 256) +#define NERR_CantType (NERR_BASE + 257) +#define NERR_TooManyEntries (NERR_BASE + 262) +#define NERR_ProfileFileTooBig (NERR_BASE + 270) +#define NERR_ProfileOffset (NERR_BASE + 271) +#define NERR_ProfileCleanup (NERR_BASE + 272) +#define NERR_ProfileUnknownCmd (NERR_BASE + 273) +#define NERR_ProfileLoadErr (NERR_BASE + 274) +#define NERR_ProfileSaveErr (NERR_BASE + 275) +#define NERR_LogOverflow (NERR_BASE + 277) +#define NERR_LogFileChanged (NERR_BASE + 278) +#define NERR_LogFileCorrupt (NERR_BASE + 279) +#define NERR_SourceIsDir (NERR_BASE + 280) +#define NERR_BadSource (NERR_BASE + 281) +#define NERR_BadDest (NERR_BASE + 282) +#define NERR_DifferentServers (NERR_BASE + 283) +#define NERR_RunSrvPaused (NERR_BASE + 285) +#define NERR_ErrCommRunSrv (NERR_BASE + 289) +#define NERR_ErrorExecingGhost (NERR_BASE + 291) +#define NERR_ShareNotFound (NERR_BASE + 292) +#define NERR_InvalidLana (NERR_BASE + 300) +#define NERR_OpenFiles (NERR_BASE + 301) +#define NERR_ActiveConns (NERR_BASE + 302) +#define NERR_BadPasswordCore (NERR_BASE + 303) +#define NERR_DevInUse (NERR_BASE + 304) +#define NERR_LocalDrive (NERR_BASE + 305) +#define NERR_AlertExists (NERR_BASE + 330) +#define NERR_TooManyAlerts (NERR_BASE + 331) +#define NERR_NoSuchAlert (NERR_BASE + 332) +#define NERR_BadRecipient (NERR_BASE + 333) +#define NERR_AcctLimitExceeded (NERR_BASE + 334) +#define NERR_InvalidLogSeek (NERR_BASE + 340) +#define NERR_BadUasConfig (NERR_BASE + 350) +#define NERR_InvalidUASOp (NERR_BASE + 351) +#define NERR_LastAdmin (NERR_BASE + 352) +#define NERR_DCNotFound (NERR_BASE + 353) +#define NERR_LogonTrackingError (NERR_BASE + 354) +#define NERR_NetlogonNotStarted (NERR_BASE + 355) +#define NERR_CanNotGrowUASFile (NERR_BASE + 356) +#define NERR_TimeDiffAtDC (NERR_BASE + 357) +#define NERR_PasswordMismatch (NERR_BASE + 358) +#define NERR_NoSuchServer (NERR_BASE + 360) +#define NERR_NoSuchSession (NERR_BASE + 361) +#define NERR_NoSuchConnection (NERR_BASE + 362) +#define NERR_TooManyServers (NERR_BASE + 363) +#define NERR_TooManySessions (NERR_BASE + 364) +#define NERR_TooManyConnections (NERR_BASE + 365) +#define NERR_TooManyFiles (NERR_BASE + 366) +#define NERR_NoAlternateServers (NERR_BASE + 367) +#define NERR_TryDownLevel (NERR_BASE + 370) +#define NERR_UPSDriverNotStarted (NERR_BASE + 380) +#define NERR_UPSInvalidConfig (NERR_BASE + 381) +#define NERR_UPSInvalidCommPort (NERR_BASE + 382) +#define NERR_UPSSignalAsserted (NERR_BASE + 383) +#define NERR_UPSShutdownFailed (NERR_BASE + 384) +#define NERR_BadDosRetCode (NERR_BASE + 400) +#define NERR_ProgNeedsExtraMem (NERR_BASE + 401) +#define NERR_BadDosFunction (NERR_BASE + 402) +#define NERR_RemoteBootFailed (NERR_BASE + 403) +#define NERR_BadFileCheckSum (NERR_BASE + 404) +#define NERR_NoRplBootSystem (NERR_BASE + 405) +#define NERR_RplLoadrNetBiosErr (NERR_BASE + 406) +#define NERR_RplLoadrDiskErr (NERR_BASE + 407) +#define NERR_ImageParamErr (NERR_BASE + 408) +#define NERR_TooManyImageParams (NERR_BASE + 409) +#define NERR_NonDosFloppyUsed (NERR_BASE + 410) +#define NERR_RplBootRestart (NERR_BASE + 411) +#define NERR_RplSrvrCallFailed (NERR_BASE + 412) +#define NERR_CantConnectRplSrvr (NERR_BASE + 413) +#define NERR_CantOpenImageFile (NERR_BASE + 414) +#define NERR_CallingRplSrvr (NERR_BASE + 415) +#define NERR_StartingRplBoot (NERR_BASE + 416) +#define NERR_RplBootServiceTerm (NERR_BASE + 417) +#define NERR_RplBootStartFailed (NERR_BASE + 418) +#define NERR_RPL_CONNECTED (NERR_BASE + 419) +#define NERR_BrowserConfiguredToNotRun (NERR_BASE + 450) +#define NERR_RplNoAdaptersStarted (NERR_BASE + 510) +#define NERR_RplBadRegistry (NERR_BASE + 511) +#define NERR_RplBadDatabase (NERR_BASE + 512) +#define NERR_RplRplfilesShare (NERR_BASE + 513) +#define NERR_RplNotRplServer (NERR_BASE + 514) +#define NERR_RplCannotEnum (NERR_BASE + 515) +#define NERR_RplWkstaInfoCorrupted (NERR_BASE + 516) +#define NERR_RplWkstaNotFound (NERR_BASE + 517) +#define NERR_RplWkstaNameUnavailable (NERR_BASE + 518) +#define NERR_RplProfileInfoCorrupted (NERR_BASE + 519) +#define NERR_RplProfileNotFound (NERR_BASE + 520) +#define NERR_RplProfileNameUnavailable (NERR_BASE + 521) +#define NERR_RplProfileNotEmpty (NERR_BASE + 522) +#define NERR_RplConfigInfoCorrupted (NERR_BASE + 523) +#define NERR_RplConfigNotFound (NERR_BASE + 524) +#define NERR_RplAdapterInfoCorrupted (NERR_BASE + 525) +#define NERR_RplInternal (NERR_BASE + 526) +#define NERR_RplVendorInfoCorrupted (NERR_BASE + 527) +#define NERR_RplBootInfoCorrupted (NERR_BASE + 528) +#define NERR_RplWkstaNeedsUserAcct (NERR_BASE + 529) +#define NERR_RplNeedsRPLUSERAcct (NERR_BASE + 530) +#define NERR_RplBootNotFound (NERR_BASE + 531) +#define NERR_RplIncompatibleProfile (NERR_BASE + 532) +#define NERR_RplAdapterNameUnavailable (NERR_BASE + 533) +#define NERR_RplConfigNotEmpty (NERR_BASE + 534) +#define NERR_RplBootInUse (NERR_BASE + 535) +#define NERR_RplBackupDatabase (NERR_BASE + 536) +#define NERR_RplAdapterNotFound (NERR_BASE + 537) +#define NERR_RplVendorNotFound (NERR_BASE + 538) +#define NERR_RplVendorNameUnavailable (NERR_BASE + 539) +#define NERR_RplBootNameUnavailable (NERR_BASE + 540) +#define NERR_RplConfigNameUnavailable (NERR_BASE + 541) +#define NERR_DfsInternalCorruption (NERR_BASE + 560) +#define NERR_DfsVolumeDataCorrupt (NERR_BASE + 561) +#define NERR_DfsNoSuchVolume (NERR_BASE + 562) +#define NERR_DfsVolumeAlreadyExists (NERR_BASE + 563) +#define NERR_DfsAlreadyShared (NERR_BASE + 564) +#define NERR_DfsNoSuchShare (NERR_BASE + 565) +#define NERR_DfsNotALeafVolume (NERR_BASE + 566) +#define NERR_DfsLeafVolume (NERR_BASE + 567) +#define NERR_DfsVolumeHasMultipleServers (NERR_BASE + 568) +#define NERR_DfsCantCreateJunctionPoint (NERR_BASE + 569) +#define NERR_DfsServerNotDfsAware (NERR_BASE + 570) +#define NERR_DfsBadRenamePath (NERR_BASE + 571) +#define NERR_DfsVolumeIsOffline (NERR_BASE + 572) +#define NERR_DfsInternalError (NERR_BASE + 590) + +#define MAX_NERR (NERR_BASE + 899) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmjoin.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmjoin.h new file mode 100644 index 0000000..cf0896d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmjoin.h @@ -0,0 +1,43 @@ +/* + * Copyright 2005 Ulrich Czekalla (For CodeWeavers) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMJOIN_H +#define __WINE_LMJOIN_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum tagNETSETUP_JOIN_STATUS +{ + NetSetupUnknownStatus = 0, + NetSetupUnjoined, + NetSetupWorkgroupName, + NetSetupDomainName +} NETSETUP_JOIN_STATUS, *PNETSETUP_JOIN_STATUS; + +NET_API_STATUS NET_API_FUNCTION NetGetJoinInformation( + LPCWSTR Server, + LPWSTR *Name, + PNETSETUP_JOIN_STATUS type); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmmsg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmmsg.h new file mode 100644 index 0000000..a6b395b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmmsg.h @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2006 Robert Reif + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _LMMSG_ +#define _LMMSG_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define MSGNAME_NOT_FORWARDED 0x00 +#define MSGNAME_FORWARDED_TO 0x04 +#define MSGNAME_FORWARDED_FROM 0x10 + +typedef struct _MSG_INFO_0 +{ + LPWSTR msgi0_name; +} MSG_INFO_0, *PMSG_INFO_0, *LPMSG_INFO_0; + +typedef struct _MSG_INFO_1 +{ + LPWSTR msgi1_name; + DWORD msgi1_forward_flag; + LPWSTR msgi1_forward; +} MSG_INFO_1, *PMSG_INFO_1, *LPMSG_INFO_1; + +NET_API_STATUS NET_API_FUNCTION NetMessageBufferSend(LPCWSTR,LPCWSTR,LPCWSTR,LPBYTE,DWORD); +NET_API_STATUS NET_API_FUNCTION NetMessageNameAdd(LPCWSTR,LPCWSTR); +NET_API_STATUS NET_API_FUNCTION NetMessageNameDel(LPCWSTR,LPCWSTR); +NET_API_STATUS NET_API_FUNCTION NetMessageNameEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS NET_API_FUNCTION NetMessageNameGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmserver.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmserver.h new file mode 100644 index 0000000..08b09a7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmserver.h @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _LMSERVER_ +#define _LMSERVER_ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _SERVER_INFO_100 { + DWORD sv100_platform_id; + LMSTR sv100_name; +} SERVER_INFO_100, *PSERVER_INFO_100, *LPSERVER_INFO_100; + +typedef struct _SERVER_INFO_101 { + DWORD sv101_platform_id; + LMSTR sv101_name; + DWORD sv101_version_major; + DWORD sv101_version_minor; + DWORD sv101_type; + LMSTR sv101_comment; +} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101; + +NET_API_STATUS WINAPI NetServerEnum(LMCSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LMCSTR,LPDWORD); +NET_API_STATUS WINAPI NetServerEnumEx(LMCSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LMCSTR,LMCSTR); +NET_API_STATUS WINAPI NetServerGetInfo(LMSTR,DWORD,LPBYTE*); +BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL); + +#define SV_TYPE_WORKSTATION 0x00000001 +#define SV_TYPE_SERVER 0x00000002 +#define SV_TYPE_SQLSERVER 0x00000004 +#define SV_TYPE_DOMAIN_CTRL 0x00000008 +#define SV_TYPE_DOMAIN_BAKCTRL 0x00000010 +#define SV_TYPE_TIME_SOURCE 0x00000020 +#define SV_TYPE_AFP 0x00000040 +#define SV_TYPE_NOVELL 0x00000080 +#define SV_TYPE_DOMAIN_MEMBER 0x00000100 +#define SV_TYPE_PRINTQ_SERVER 0x00000200 +#define SV_TYPE_DIALIN_SERVER 0x00000400 +#define SV_TYPE_XENIX_SERVER 0x00000800 +#define SV_TYPE_SERVER_UNIX SV_TYPE_XENIX_SERVER +#define SV_TYPE_NT 0x00001000 +#define SV_TYPE_WFW 0x00002000 +#define SV_TYPE_SERVER_MFPN 0x00004000 +#define SV_TYPE_SERVER_NT 0x00008000 +#define SV_TYPE_POTENTIAL_BROWSER 0x00010000 +#define SV_TYPE_BACKUP_BROWSER 0x00020000 +#define SV_TYPE_MASTER_BROWSER 0x00040000 +#define SV_TYPE_DOMAIN_MASTER 0x00080000 +#define SV_TYPE_SERVER_OSF 0x00100000 +#define SV_TYPE_SERVER_VMS 0x00200000 +#define SV_TYPE_WINDOWS 0x00400000 +#define SV_TYPE_DFS 0x00800000 +#define SV_TYPE_CLUSTER_NT 0x01000000 +#define SV_TYPE_TERMINALSERVER 0x02000000 +#define SV_TYPE_CLUSTER_VS_NT 0x04000000 +#define SV_TYPE_DCE 0x10000000 +#define SV_TYPE_ALTERNATE_XPORT 0x20000000 +#define SV_TYPE_LOCAL_LIST_ONLY 0x40000000 +#define SV_TYPE_DOMAIN_ENUM 0x80000000 +#define SV_TYPE_ALL 0xFFFFFFFF + +#ifdef __cplusplus +} +#endif + +#endif /* ndef _LMSERVER_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmshare.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmshare.h new file mode 100644 index 0000000..442cf5e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmshare.h @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _LMSHARE_H +#define _LMSHARE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +typedef struct _SHARE_INFO_0 { + LMSTR shi0_netname; +} SHARE_INFO_0, *PSHARE_INFO_0, *LPSHARE_INFO_0; + +typedef struct _SHARE_INFO_1 { + LMSTR shi1_netname; + DWORD shi1_type; + LMSTR shi1_remark; +} SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1; + +typedef struct _SHARE_INFO_2 { + LMSTR shi2_netname; + DWORD shi2_type; + LMSTR shi2_remark; + DWORD shi2_permissions; + DWORD shi2_max_uses; + DWORD shi2_current_uses; + LMSTR shi2_path; + LMSTR shi2_passwd; +} SHARE_INFO_2, *PSHARE_INFO_2, *LPSHARE_INFO_2; + +typedef struct _SHARE_INFO_502 { + LMSTR shi502_netname; + DWORD shi502_type; + LMSTR shi502_remark; + DWORD shi502_permissions; + DWORD shi502_max_uses; + DWORD shi502_current_uses; + LMSTR shi502_path; + LMSTR shi502_passwd; + DWORD shi502_reserved; + PSECURITY_DESCRIPTOR shi502_security_descriptor; +} SHARE_INFO_502, *PSHARE_INFO_502, *LPSHARE_INFO_502; + +NET_API_STATUS WINAPI NetShareAdd(LMSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetShareCheck(LMSTR,LMSTR,LPDWORD); +NET_API_STATUS WINAPI NetShareDel(LMSTR,LMSTR,DWORD); +NET_API_STATUS WINAPI NetShareDelEx(LMSTR,DWORD,LPBYTE); +NET_API_STATUS WINAPI NetShareDelSticky(LMSTR,LMSTR,DWORD); +NET_API_STATUS WINAPI NetShareEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetShareEnumSticky(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetShareGetInfo(LMSTR,LMSTR,DWORD,LPBYTE*); +NET_API_STATUS WINAPI NetShareSetInfo(LMSTR,LMSTR,DWORD,LPBYTE,LPDWORD); + +#define STYPE_DISKTREE 0 +#define STYPE_PRINTQ 1 +#define STYPE_DEVICE 2 +#define STYPE_IPC 3 +#define STYPE_SPECIAL 0x80000000 + +NET_API_STATUS WINAPI NetSessionDel(LMSTR,LMSTR,LMSTR); +NET_API_STATUS WINAPI NetSessionEnum(LMSTR,LMSTR,LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetSessionGetInfo(LMSTR,LMSTR,LMSTR,DWORD,LPBYTE*); + +#ifdef __cplusplus +} +#endif + +#endif /* ndef _LMSHARE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmstats.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmstats.h new file mode 100644 index 0000000..82071a8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmstats.h @@ -0,0 +1,98 @@ +/* + * Copyright 2003 Geoff Thorpe + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMSTATS_H +#define __WINE_LMSTATS_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _STAT_WORKSTATION_0 { + LARGE_INTEGER StatisticsStartTime; + LARGE_INTEGER BytesReceived; + LARGE_INTEGER SmbsReceived; + LARGE_INTEGER PagingReadBytesRequested; + LARGE_INTEGER NonPagingReadBytesRequested; + LARGE_INTEGER CacheReadBytesRequested; + LARGE_INTEGER NetworkReadBytesRequested; + LARGE_INTEGER BytesTransmitted; + LARGE_INTEGER SmbsTransmitted; + LARGE_INTEGER PagingWriteBytesRequested; + LARGE_INTEGER NonPagingWriteBytesRequested; + LARGE_INTEGER CacheWriteBytesRequested; + LARGE_INTEGER NetworkWriteBytesRequested; + DWORD InitiallyFailedOperations; + DWORD FailedCompletionOperations; + DWORD ReadOperations; + DWORD RandomReadOperations; + DWORD ReadSmbs; + DWORD LargeReadSmbs; + DWORD SmallReadSmbs; + DWORD WriteOperations; + DWORD RandomWriteOperations; + DWORD WriteSmbs; + DWORD LargeWriteSmbs; + DWORD SmallWriteSmbs; + DWORD RawReadsDenied; + DWORD RawWritesDenied; + DWORD NetworkErrors; + DWORD Sessions; + DWORD FailedSessions; + DWORD Reconnects; + DWORD CoreConnects; + DWORD Lanman20Connects; + DWORD Lanman21Connects; + DWORD LanmanNtConnects; + DWORD ServerDisconnects; + DWORD HungSessions; + DWORD UseCount; + DWORD FailedUseCount; + DWORD CurrentCommands; +} STAT_WORKSTATION_0, *PSTAT_WORKSTATION_0, *LPSTAT_WORKSTATION_0; + +typedef struct _STAT_SERVER_0 { + DWORD sts0_start; + DWORD sts0_fopens; + DWORD sts0_devopens; + DWORD sts0_jobsqueued; + DWORD sts0_sopens; + DWORD sts0_stimedout; + DWORD sts0_serrorout; + DWORD sts0_pwerrors; + DWORD sts0_permerrors; + DWORD sts0_syserrors; + DWORD sts0_bytessent_low; + DWORD sts0_bytessent_high; + DWORD sts0_bytesrcvd_low; + DWORD sts0_bytesrcvd_high; + DWORD sts0_avresponse; + DWORD sts0_reqbufneed; + DWORD sts0_bigbufneed; +} STAT_SERVER_0, *PSTAT_SERVER_0, *LPSTAT_SERVER_0; + +NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR server, LPWSTR service, DWORD level, + DWORD options, LPBYTE *bufptr); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmuse.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmuse.h new file mode 100644 index 0000000..66b3627 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmuse.h @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2007 Tim Schwartz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _LMUSE_H +#define _LMUSE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "lmcons.h" +#include "lmuseflg.h" + + +#define USE_LOCAL_PARMNUM 1 +#define USE_REMOTE_PARMNUM 2 +#define USE_PASSWORD_PARMNUM 3 +#define USE_ASGTYPE_PARMNUM 4 +#define USE_USERNAME_PARMNUM 5 +#define USE_DOMAINNAME_PARMNUM 6 + +#define USE_OK 0 +#define USE_PAUSED 1 +#define USE_SESSLOST 2 +#define USE_DISCONN USE_SESSLOST +#define USE_NETERR 3 +#define USE_CONN 4 +#define USE_RECONN 5 + +#define USE_WILDCARD ((DWORD)-1) +#define USE_DISKDEV 0 +#define USE_SPOOLDEV 1 +#define USE_CHARDEV 2 +#define USE_IPC 3 + +typedef struct _USE_INFO_1 +{ + LMSTR ui1_local; + LMSTR ui1_remote; + LMSTR ui1_password; + DWORD ui1_status; + DWORD ui1_asg_type; + DWORD ui1_refcount; + DWORD ui1_usecount; +} USE_INFO_1, *PUSE_INFO_1, *LPUSE_INFO_1; + +typedef struct _USE_INFO_2 +{ + LMSTR ui2_local; + LMSTR ui2_remote; + LMSTR ui2_password; + DWORD ui2_status; + DWORD ui2_asg_type; + DWORD ui2_refcount; + DWORD ui2_usecount; + LMSTR ui2_username; + LMSTR ui2_domainname; +} USE_INFO_2, *PUSE_INFO_2, *LPUSE_INFO_2; + +NET_API_STATUS WINAPI NetUseAdd(LMSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetUseDel(LMSTR,LMSTR,DWORD); +NET_API_STATUS WINAPI NetUseEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetUseGetInfo(LMSTR,LMSTR,DWORD,LPBYTE*); + +#ifdef __cplusplus +} +#endif + +#endif /* _LMUSE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmuseflg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmuseflg.h new file mode 100644 index 0000000..cf00317 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmuseflg.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMUSEFLG_H +#define __WINE_LMUSEFLG_H + +#define USE_NOFORCE 0 +#define USE_FORCE 1 +#define USE_LOTS_OF_FORCE 2 + +#endif /* __WINE_LMUSEFLG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmwksta.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmwksta.h new file mode 100644 index 0000000..b35f28a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lmwksta.h @@ -0,0 +1,93 @@ +/* + * Copyright 2002 Andriy Palamarchuk + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LMWKSTA_H +#define __WINE_LMWKSTA_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _WKSTA_TRANSPORT_INFO_0 { + DWORD wkti0_quality_of_service; + DWORD wkti0_number_of_vcs; + LMSTR wkti0_transport_name; + LMSTR wkti0_transport_address; + BOOL wkti0_wan_ish; +} WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0, *LPWKSTA_TRANSPORT_INFO_0; + +typedef struct _WKSTA_USER_INFO_0 { + LMSTR wkui0_username; +} WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0; + +typedef struct _WKSTA_USER_INFO_1 { + LMSTR wkui1_username; + LMSTR wkui1_logon_domain; + LMSTR wkui1_oth_domains; + LMSTR wkui1_logon_server; +} WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1; + +typedef struct _WKSTA_USER_INFO_1101 { + LMSTR wkui1101_oth_domains; +} WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101, *LPWKSTA_USER_INFO_1101; + +typedef struct _WKSTA_INFO_100 { + DWORD wki100_platform_id; + LMSTR wki100_computername; + LMSTR wki100_langroup; + DWORD wki100_ver_major; + DWORD wki100_ver_minor; +} WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100; + +typedef struct _WKSTA_INFO_101 { + DWORD wki101_platform_id; + LMSTR wki101_computername; + LMSTR wki101_langroup; + DWORD wki101_ver_major; + DWORD wki101_ver_minor; + LMSTR wki101_lanroot; +} WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101; + +typedef struct _WKSTA_INFO_102 { + DWORD wki102_platform_id; + LMSTR wki102_computername; + LMSTR wki102_langroup; + DWORD wki102_ver_major; + DWORD wki102_ver_minor; + LMSTR wki102_lanroot; + DWORD wki102_logged_on_users; +} WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102; + +/* workstation */ +NET_API_STATUS WINAPI NetWkstaGetInfo(LMSTR,DWORD,LPBYTE*); +NET_API_STATUS WINAPI NetWkstaSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetWkstaTransportAdd(LMSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetWkstaTransportDel(LMSTR,LMSTR,DWORD); +NET_API_STATUS WINAPI NetWkstaTransportEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +NET_API_STATUS WINAPI NetWkstaUserGetInfo(LMSTR,DWORD,LPBYTE*); +NET_API_STATUS WINAPI NetWkstaUserSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD); +NET_API_STATUS WINAPI NetWkstaUserEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/loadperf.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/loadperf.h new file mode 100644 index 0000000..40de444 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/loadperf.h @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2009 Andrey Turkin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LOADPERF_H +#define __WINE_LOADPERF_H + +#ifdef __cplusplus +extern "C" { +#endif + +DWORD WINAPI InstallPerfDllA(LPCSTR, LPCSTR, ULONG_PTR); +DWORD WINAPI InstallPerfDllW(LPCWSTR, LPCWSTR, ULONG_PTR); +#define InstallPerfDll WINELIB_NAME_AW(InstallPerfDll) + +DWORD WINAPI LoadPerfCounterTextStringsA(LPCSTR, BOOL); +DWORD WINAPI LoadPerfCounterTextStringsW(LPCWSTR, BOOL); +#define LoadPerfCounterTextStrings WINELIB_NAME_AW(LoadPerfCounterTextStrings) + +DWORD WINAPI UnloadPerfCounterTextStringsA(LPCSTR, BOOL); +DWORD WINAPI UnloadPerfCounterTextStringsW(LPCWSTR, BOOL); +#define UnloadPerfCounterTextStrings WINELIB_NAME_AW(UnloadPerfCounterTextStrings) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_LOADPERF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lowlevelmonitorconfigurationapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lowlevelmonitorconfigurationapi.h new file mode 100644 index 0000000..aeedf4b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lowlevelmonitorconfigurationapi.h @@ -0,0 +1,43 @@ +/* + * Copyright 2014 Michael Müller for Pipelight + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LOWLEVELMONITORCONFIGURATIONAPI_H +#define __WINE_LOWLEVELMONITORCONFIGURATIONAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _MC_TIMING_REPORT +{ + BYTE bTimingStatusByte; + DWORD dwHorizontalFrequencyInHZ; + DWORD dwVerticalFrequencyInHZ; +} MC_TIMING_REPORT, *LPMC_TIMING_REPORT; + +typedef enum _MC_VCP_CODE_TYPE +{ + MC_MOMENTARY, + MC_SET_PARAMETER +} MC_VCP_CODE_TYPE, *LPMC_VCP_CODE_TYPE; + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_LOWLEVELMONITORCONFIGURATIONAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lzexpand.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lzexpand.h new file mode 100644 index 0000000..bc01391 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/lzexpand.h @@ -0,0 +1,55 @@ +/* Includefile for the decompression library, lzexpand + * + * Copyright 1996 Marcus Meissner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_LZEXPAND_H +#define __WINE_LZEXPAND_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#define LZERROR_BADINHANDLE -1 /* -1 */ +#define LZERROR_BADOUTHANDLE -2 /* -2 */ +#define LZERROR_READ -3 /* -3 */ +#define LZERROR_WRITE -4 /* -4 */ +#define LZERROR_GLOBALLOC -5 /* -5 */ +#define LZERROR_GLOBLOCK -6 /* -6 */ +#define LZERROR_BADVALUE -7 /* -7 */ +#define LZERROR_UNKNOWNALG -8 /* -8 */ + +VOID WINAPI LZDone(void); +LONG WINAPI CopyLZFile(HFILE,HFILE); +HFILE WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD); +HFILE WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD); +#define LZOpenFile WINELIB_NAME_AW(LZOpenFile) +INT WINAPI LZRead(INT,LPSTR,INT); +INT WINAPI LZStart(void); +void WINAPI LZClose(HFILE); +LONG WINAPI LZCopy(HFILE,HFILE); +HFILE WINAPI LZInit(HFILE); +LONG WINAPI LZSeek(HFILE,LONG,INT); +INT WINAPI GetExpandedNameA(LPSTR,LPSTR); +INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR); +#define GetExpandedName WINELIB_NAME_AW(GetExpandedName) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_LZEXPAND_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapi.h new file mode 100644 index 0000000..c8475a1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapi.h @@ -0,0 +1,245 @@ +/* + * Copyright (C) 2000 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPI_H +#define MAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Some types */ + +#ifndef __LHANDLE +#define __LHANDLE +typedef ULONG_PTR LHANDLE, *LPLHANDLE; +#endif +#define lhSessionNull ((LHANDLE)0) + +#ifndef WINE_FLAGS_DEFINED +#define WINE_FLAGS_DEFINED +typedef ULONG FLAGS; +#endif +typedef ULONG *LPULONG; + +typedef struct +{ + ULONG ulReserved; + ULONG flFlags; + ULONG nPosition; + LPSTR lpszPathName; + LPSTR lpszFileName; + LPVOID lpFileType; +} MapiFileDesc, *lpMapiFileDesc; + +typedef struct +{ + ULONG ulReserved; + ULONG flFlags; + ULONG nPosition; + PWSTR lpszPathName; + PWSTR lpszFileName; + PVOID lpFileType; +} MapiFileDescW, *lpMapiFileDescW; + +#ifndef MAPI_ORIG +#define MAPI_ORIG 0 +#define MAPI_TO 1 +#define MAPI_CC 2 +#define MAPI_BCC 3 +#endif + +typedef struct +{ + ULONG ulReserved; + ULONG ulRecipClass; + LPSTR lpszName; + LPSTR lpszAddress; + ULONG ulEIDSize; + LPVOID lpEntryID; +} MapiRecipDesc, *lpMapiRecipDesc; + +typedef struct +{ + ULONG ulReserved; + ULONG ulRecipClass; + PWSTR lpszName; + PWSTR lpszAddress; + ULONG ulEIDSize; + PVOID lpEntryID; +} MapiRecipDescW, *lpMapiRecipDescW; + +typedef struct +{ + ULONG ulReserved; + LPSTR lpszSubject; + LPSTR lpszNoteText; + LPSTR lpszMessageType; + LPSTR lpszDateReceived; + LPSTR lpszConversationID; + FLAGS flFlags; + lpMapiRecipDesc lpOriginator; + ULONG nRecipCount; + lpMapiRecipDesc lpRecips; + ULONG nFileCount; + lpMapiFileDesc lpFiles; +} MapiMessage, *lpMapiMessage; + +typedef struct +{ + ULONG ulReserved; + PWSTR lpszSubject; + PWSTR lpszNoteText; + PWSTR lpszMessageType; + PWSTR lpszDateReceived; + PWSTR lpszConversationID; + FLAGS flFlags; + lpMapiRecipDescW lpOriginator; + ULONG nRecipCount; + lpMapiRecipDescW lpRecips; + ULONG nFileCount; + lpMapiFileDescW lpFiles; +} MapiMessageW, *lpMapiMessageW; + +/* Error codes */ + +#ifndef SUCCESS_SUCCESS +#define SUCCESS_SUCCESS 0 +#endif + +#define MAPI_USER_ABORT 1 +#define MAPI_E_USER_ABORT MAPI_USER_ABORT +#define MAPI_E_FAILURE 2 +#define MAPI_E_LOGON_FAILURE 3 +#define MAPI_E_LOGIN_FAILURE MAPI_E_LOGON_FAILURE +#define MAPI_E_DISK_FULL 4 +#define MAPI_E_INSUFFICIENT_MEMORY 5 +#define MAPI_E_ACCESS_DENIED 6 +#define MAPI_E_TOO_MANY_SESSIONS 8 +#define MAPI_E_TOO_MANY_FILES 9 +#define MAPI_E_TOO_MANY_RECIPIENTS 10 +#define MAPI_E_ATTACHMENT_NOT_FOUND 11 +#define MAPI_E_ATTACHMENT_OPEN_FAILURE 12 +#define MAPI_E_ATTACHMENT_WRITE_FAILURE 13 +#define MAPI_E_UNKNOWN_RECIPIENT 14 +#define MAPI_E_BAD_RECIPTYPE 15 +#define MAPI_E_NO_MESSAGES 16 +#define MAPI_E_INVALID_MESSAGE 17 +#define MAPI_E_TEXT_TOO_LARGE 18 +#define MAPI_E_INVALID_SESSION 19 +#define MAPI_E_TYPE_NOT_SUPPORTED 20 +#define MAPI_E_AMBIGUOUS_RECIPIENT 21 +#define MAPI_E_AMBIG_RECIP MAPI_E_AMBIGUOUS_RECIPIENT +#define MAPI_E_MESSAGE_IN_USE 22 +#define MAPI_E_NETWORK_FAILURE 23 +#define MAPI_E_INVALID_EDITFIELDS 24 +#define MAPI_E_INVALID_RECIPS 25 +#define MAPI_E_NOT_SUPPORTED 26 +#define MAPI_E_UNICODE_NOT_SUPPORTED 27 + + +/* MAPILogon */ + +#ifndef MAPI_LOGON_UI +#define MAPI_LOGON_UI 0x00000001 +#endif +#ifndef MAPI_NEW_SESSION +#define MAPI_NEW_SESSION 0x00000002 +#endif +#ifndef MAPI_EXTENDED +#define MAPI_EXTENDED 0x00000020 +#endif +#ifndef MAPI_FORCE_DOWNLOAD +#define MAPI_FORCE_DOWNLOAD 0x00001000 +#endif +#ifndef MAPI_PASSWORD_UI +#define MAPI_PASSWORD_UI 0x00020000 +#endif + + +/* MAPISendMail */ + +#define MAPI_DIALOG 0x00000008 + +/* MAPISendMailW */ + +#define MAPI_FORCE_UNICODE 0x00040000 + + +/* API typedefs and prototypes */ + +typedef ULONG (WINAPI MAPIADDRESS)(LHANDLE,ULONG_PTR,LPSTR,ULONG,LPSTR,ULONG,lpMapiRecipDesc,FLAGS,ULONG,LPULONG,lpMapiRecipDesc*); +typedef MAPIADDRESS *LPMAPIADDRESS; +MAPIADDRESS MAPIAddress; + +typedef ULONG (WINAPI MAPIDELETEMAIL)(LHANDLE,ULONG_PTR,LPSTR,FLAGS,ULONG); +typedef MAPIDELETEMAIL *LPMAPIDELETEMAIL; +MAPIDELETEMAIL MAPIDeleteMail; + +typedef ULONG (WINAPI MAPIDETAILS)(LHANDLE,ULONG_PTR,lpMapiRecipDesc,FLAGS,ULONG); +typedef MAPIDETAILS *LPMAPIDETAILS; +MAPIDETAILS MAPIDetails; + +typedef ULONG (WINAPI MAPIFINDNEXT)(LHANDLE,ULONG_PTR,LPSTR,LPSTR,FLAGS,ULONG,LPSTR); +typedef MAPIFINDNEXT *LPMAPIFINDNEXT; +MAPIFINDNEXT MAPIFindNext; + +#ifndef MAPIFREEBUFFER_DEFINED +#define MAPIFREEBUFFER_DEFINED +typedef ULONG (WINAPI MAPIFREEBUFFER)(LPVOID); +typedef MAPIFREEBUFFER *LPMAPIFREEBUFFER; +MAPIFREEBUFFER MAPIFreeBuffer; +#endif + +typedef ULONG (WINAPI MAPILOGOFF)(LHANDLE,ULONG_PTR,FLAGS,ULONG); +typedef MAPILOGOFF *LPMAPILOGOFF; +MAPILOGOFF MAPILogoff; + +typedef ULONG (WINAPI MAPILOGON)(ULONG_PTR,LPSTR,LPSTR,FLAGS,ULONG,LPLHANDLE); +typedef MAPILOGON *LPMAPILOGON; +MAPILOGON MAPILogon; + +typedef ULONG (WINAPI MAPIREADMAIL)(LHANDLE,ULONG_PTR,LPSTR,FLAGS,ULONG,lpMapiMessage); +typedef MAPIREADMAIL *LPMAPIREADMAIL; +MAPIREADMAIL MAPIReadMail; + +typedef ULONG (WINAPI MAPIRESOLVENAME)(LHANDLE,ULONG_PTR,LPSTR,FLAGS,ULONG,lpMapiRecipDesc*); +typedef MAPIRESOLVENAME *LPMAPIRESOLVENAME; +MAPIRESOLVENAME MAPIResolveName; + +typedef ULONG (WINAPI MAPISAVEMAIL)(LHANDLE,ULONG_PTR,lpMapiMessage,FLAGS,ULONG,LPSTR); +typedef MAPISAVEMAIL *LPMAPISAVEMAIL; +MAPISAVEMAIL MAPISaveMail; + +typedef ULONG (WINAPI MAPISENDDOCUMENTS)(ULONG_PTR,LPSTR,LPSTR,LPSTR,ULONG); +typedef MAPISENDDOCUMENTS *LPMAPISENDDOCUMENTS; +MAPISENDDOCUMENTS MAPISendDocuments; + +typedef ULONG (WINAPI MAPISENDMAIL)(LHANDLE,ULONG_PTR,lpMapiMessage,FLAGS,ULONG); +typedef MAPISENDMAIL *LPMAPISENDMAIL; +MAPISENDMAIL MAPISendMail; + +typedef ULONG (WINAPI MAPISENDMAILW)(LHANDLE,ULONG_PTR,lpMapiMessageW,FLAGS,ULONG); +typedef MAPISENDMAILW *LPMAPISENDMAILW; +MAPISENDMAILW MAPISendMailW; + +#ifdef __cplusplus +} +#endif + +#endif /* MAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapicode.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapicode.h new file mode 100644 index 0000000..b5bf686 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapicode.h @@ -0,0 +1,114 @@ +/* + * Status codes returned by MAPI + * + * Copyright (C) 2002 Aric Stewart + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPICODE_H +#define MAPICODE_H + +#include + +#define MAKE_MAPI_SCODE(sev,fac,code) \ + ((SCODE)(((ULONG)(sev)<<31)|((ULONG)(fac)<<16)|((ULONG)(code)))) + +#define MAKE_MAPI_E(e) (MAKE_MAPI_SCODE(1,FACILITY_ITF,(e))) +#define MAKE_MAPI_S(e) (MAKE_MAPI_SCODE(0,FACILITY_ITF,(e))) + +#ifndef SUCCESS_SUCCESS +#define SUCCESS_SUCCESS __MSABI_LONG(0) +#endif + +/* Errors */ +#define MAPI_E_ACCOUNT_DISABLED ((SCODE)0x80040124) +#define MAPI_E_AMBIGUOUS_RECIP ((SCODE)0x80040700) +#define MAPI_E_BAD_CHARWIDTH ((SCODE)0x80040103) +#define MAPI_E_BAD_COLUMN ((SCODE)0x80040118) +#define MAPI_E_BAD_VALUE ((SCODE)0x80040301) +#define MAPI_E_BUSY ((SCODE)0x8004010B) +#define MAPI_E_CALL_FAILED E_FAIL +#define MAPI_E_CANCEL ((SCODE)0x80040501) +#define MAPI_E_COLLISION ((SCODE)0x80040604) +#define MAPI_E_COMPUTED ((SCODE)0x8004011A) +#define MAPI_E_CORRUPT_DATA ((SCODE)0x8004011B) +#define MAPI_E_CORRUPT_STORE ((SCODE)0x80040600) +#define MAPI_E_DECLINE_COPY ((SCODE)0x80040306) +#define MAPI_E_DISK_ERROR ((SCODE)0x80040116) +#define MAPI_E_END_OF_SESSION ((SCODE)0x80040200) +#define MAPI_E_EXTENDED_ERROR ((SCODE)0x80040119) +#define MAPI_E_FAILONEPROVIDER ((SCODE)0x8004011D) +#define MAPI_E_FOLDER_CYCLE ((SCODE)0x8004060B) +#define MAPI_E_HAS_FOLDERS ((SCODE)0x80040609) +#define MAPI_E_HAS_MESSAGES ((SCODE)0x8004060A) +#define MAPI_E_INTERFACE_NOT_SUPPORTED E_NOINTERFACE +#define MAPI_E_INVALID_ACCESS_TIME ((SCODE)0x80040123) +#define MAPI_E_INVALID_BOOKMARK ((SCODE)0x80040405) +#define MAPI_E_INVALID_ENTRYID ((SCODE)0x80040107) +#define MAPI_E_INVALID_OBJECT ((SCODE)0x80040108) +#define MAPI_E_INVALID_PARAMETER E_INVALIDARG +#define MAPI_E_INVALID_TYPE ((SCODE)0x80040302) +#define MAPI_E_INVALID_WORKSTATION_ACCOUNT ((SCODE)0x80040122) +#define MAPI_E_LOGON_FAILED ((SCODE)0x80040111) +#define MAPI_E_MISSING_REQUIRED_COLUMN ((SCODE)0x80040202) +#define MAPI_E_NETWORK_ERROR ((SCODE)0x80040115) +#define MAPI_E_NO_ACCESS E_ACCESSDENIED +#define MAPI_E_NON_STANDARD ((SCODE)0x80040606) +#define MAPI_E_NO_RECIPIENTS ((SCODE)0x80040607) +#define MAPI_E_NO_SUPPORT ((SCODE)0x80040102) +#define MAPI_E_NO_SUPPRESS ((SCODE)0x80040602) +#define MAPI_E_NOT_ENOUGH_DISK ((SCODE)0x8004010D) +#define MAPI_E_NOT_ENOUGH_MEMORY E_OUTOFMEMORY +#define MAPI_E_NOT_ENOUGH_RESOURCES ((SCODE)0x8004010E) +#define MAPI_E_NOT_FOUND ((SCODE)0x8004010F) +#define MAPI_E_NOT_INITIALIZED ((SCODE)0x80040605) +#define MAPI_E_NOT_IN_QUEUE ((SCODE)0x80040601) +#define MAPI_E_NOT_ME ((SCODE)0x80040502) +#define MAPI_E_OBJECT_CHANGED ((SCODE)0x80040109) +#define MAPI_E_OBJECT_DELETED ((SCODE)0x8004010A) +#define MAPI_E_PASSWORD_CHANGE_REQUIRED ((SCODE)0x80040120) +#define MAPI_E_PASSWORD_EXPIRED ((SCODE)0x80040121) +#define MAPI_E_SESSION_LIMIT ((SCODE)0x80040112) +#define MAPI_E_STRING_TOO_LONG ((SCODE)0x80040105) +#define MAPI_E_SUBMITTED ((SCODE)0x80040608) +#define MAPI_E_TABLE_EMPTY ((SCODE)0x80040402) +#define MAPI_E_TABLE_TOO_BIG ((SCODE)0x80040403) +#define MAPI_E_TIMEOUT ((SCODE)0x80040401) +#define MAPI_E_TOO_BIG ((SCODE)0x80040305) +#define MAPI_E_TOO_COMPLEX ((SCODE)0x80040117) +#define MAPI_E_TYPE_NO_SUPPORT ((SCODE)0x80040303) +#define MAPI_E_UNABLE_TO_ABORT ((SCODE)0x80040114) +#define MAPI_E_UNABLE_TO_COMPLETE ((SCODE)0x80040400) +#define MAPI_E_UNCONFIGURED ((SCODE)0x8004011C) +#define MAPI_E_UNEXPECTED_ID ((SCODE)0x80040307) +#define MAPI_E_UNEXPECTED_TYPE ((SCODE)0x80040304) +#define MAPI_E_UNKNOWN_CPID ((SCODE)0x8004011E) +#define MAPI_E_UNKNOWN_ENTRYID ((SCODE)0x80040201) +#define MAPI_E_UNKNOWN_FLAGS ((SCODE)0x80040106) +#define MAPI_E_UNKNOWN_LCID ((SCODE)0x8004011F) +#define MAPI_E_USER_CANCEL ((SCODE)0x80040113) +#define MAPI_E_VERSION ((SCODE)0x80040110) +#define MAPI_E_WAIT ((SCODE)0x80040500) + +/* Warnings */ +#define MAPI_W_APPROX_COUNT ((SCODE)0x00040482) +#define MAPI_W_CANCEL_MESSAGE ((SCODE)0x00040580) +#define MAPI_W_ERRORS_RETURNED ((SCODE)0x00040380) +#define MAPI_W_NO_SERVICE ((SCODE)0x00040203) +#define MAPI_W_PARTIAL_COMPLETION ((SCODE)0x00040680) +#define MAPI_W_POSITION_CHANGED ((SCODE)0x00040481) + +#endif /* MAPICODE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapidefs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapidefs.h new file mode 100644 index 0000000..84e0f2d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapidefs.h @@ -0,0 +1,1323 @@ +/* + * Copyright (C) 1998 Justin Bradford + * Copyright (c) 2009 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPIDEFS_H +#define MAPIDEFS_H + +#include +#include +#include +#include + +/* Some types from other headers */ +#ifndef __LHANDLE +#define __LHANDLE +typedef ULONG_PTR LHANDLE, *LPLHANDLE; +#endif + +#ifndef _tagCY_DEFINED +#define _tagCY_DEFINED +typedef union tagCY +{ + struct + { +#ifdef WORDS_BIGENDIAN + LONG Hi; + ULONG Lo; +#else + ULONG Lo; + LONG Hi; +#endif + } DUMMYSTRUCTNAME; + LONGLONG int64; +} CY; +typedef CY CURRENCY; +#endif /* _tagCY_DEFINED */ + + +#ifndef _FILETIME_ +#define _FILETIME_ +typedef struct _FILETIME +{ +#ifdef WORDS_BIGENDIAN + DWORD dwHighDateTime; + DWORD dwLowDateTime; +#else + DWORD dwLowDateTime; + DWORD dwHighDateTime; +#endif +} FILETIME, *PFILETIME, *LPFILETIME; +#endif + +/* Memory allocation routines */ +typedef SCODE (WINAPI ALLOCATEBUFFER)(ULONG,LPVOID*); +typedef SCODE (WINAPI ALLOCATEMORE)(ULONG,LPVOID,LPVOID*); +typedef ULONG (WINAPI FREEBUFFER)(LPVOID); + +typedef ALLOCATEBUFFER *LPALLOCATEBUFFER; +typedef ALLOCATEMORE *LPALLOCATEMORE; +typedef FREEBUFFER *LPFREEBUFFER; + +/* MAPI exposed interfaces */ +typedef const IID *LPCIID; + +typedef struct IAddrBook IAddrBook; +typedef IAddrBook *LPADRBOOK; +typedef struct IABContainer IABContainer; +typedef IABContainer *LPABCONT; +typedef struct IAttach *LPATTACH; +typedef struct IDistList IDistList; +typedef IDistList *LPDISTLIST; +typedef struct IMailUser IMailUser; +typedef IMailUser *LPMAILUSER; +typedef struct IMAPIAdviseSink *LPMAPIADVISESINK; +typedef struct IMAPIContainer *LPMAPICONTAINER; +typedef struct IMAPIFolder *LPMAPIFOLDER; +typedef struct IMAPIProgress IMAPIProgress; +typedef IMAPIProgress *LPMAPIPROGRESS; +typedef struct IMAPIStatus IMAPIStatus; +typedef IMAPIStatus *LPMAPISTATUS; +typedef struct IMessage *LPMESSAGE; +typedef struct IProfSect IProfSect; +typedef IProfSect *LPPROFSECT; +typedef struct IProviderAdmin IProviderAdmin; +typedef IProviderAdmin *LPPROVIDERADMIN; + +#ifndef MAPI_DIM +# define MAPI_DIM 1 /* Default to one dimension for variable length arrays */ +#endif + +/* Flags for abFlags[0] */ +#define MAPI_NOTRESERVED 0x08 +#define MAPI_NOW 0x10 +#define MAPI_THISSESSION 0x20 +#define MAPI_NOTRECIP 0x40 +#define MAPI_SHORTTERM 0x80 + +/* Flags for abFlags[1] */ +#define MAPI_COMPOUND 0x80 + +typedef struct _ENTRYID +{ + BYTE abFlags[4]; + BYTE ab[MAPI_DIM]; +} ENTRYID, *LPENTRYID; + +/* MAPI GUID's */ +typedef struct _MAPIUID +{ + BYTE ab[sizeof(GUID)]; +} MAPIUID, *LPMAPIUID; + +#define IsEqualMAPIUID(pl,pr) (!memcmp((pl),(pr),sizeof(MAPIUID))) + +#define MAPI_ONE_OFF_UID { 0x81,0x2b,0x1f,0xa4,0xbe,0xa3,0x10,0x19,0x9d,0x6e, \ + 0x00,0xdd,0x01,0x0f,0x54,0x02 } +#define MAPI_ONE_OFF_UNICODE 0x8000 +#define MAPI_ONE_OFF_NO_RICH_INFO 0x0001 + +/* Object types */ +#define MAPI_STORE 1U +#define MAPI_ADDRBOOK 2U +#define MAPI_FOLDER 3U +#define MAPI_ABCONT 4U +#define MAPI_MESSAGE 5U +#define MAPI_MAILUSER 6U +#define MAPI_ATTACH 7U +#define MAPI_DISTLIST 8U +#define MAPI_PROFSECT 9U +#define MAPI_STATUS 10U +#define MAPI_SESSION 11U +#define MAPI_FORMINFO 12U + +/* Flags for various calls */ +#define MAPI_MODIFY 0x00000001U /* Object can be modified */ +#define MAPI_CREATE 0x00000002U /* Object can be created */ +#define MAPI_ACCESS_MODIFY MAPI_MODIFY /* Want write access */ +#define MAPI_ACCESS_READ 0x00000002U /* Want read access */ +#define MAPI_ACCESS_DELETE 0x00000004U /* Want delete access */ +#define MAPI_ACCESS_CREATE_HIERARCHY 0x00000008U +#define MAPI_ACCESS_CREATE_CONTENTS 0x00000010U +#define MAPI_ACCESS_CREATE_ASSOCIATED 0x00000020U +#define MAPI_USE_DEFAULT 0x00000040U +#define MAPI_UNICODE 0x80000000U /* Strings in this call are Unicode */ + +#if defined (UNICODE) || defined (__WINESRC__) +#define fMapiUnicode MAPI_UNICODE +#else +#define fMapiUnicode 0U +#endif + +/* IMAPISession::OpenMessageStore() flags */ +#define MDB_NO_DIALOG 0x00000001 + +/* Types of message receivers */ +#ifndef MAPI_ORIG +#define MAPI_ORIG 0 /* The original author */ +#define MAPI_TO 1 /* The primary message receiver */ +#define MAPI_CC 2 /* A carbon copy receiver */ +#define MAPI_BCC 3 /* A blind carbon copy receiver */ +#define MAPI_P1 0x10000000 /* A message resend */ +#define MAPI_SUBMITTED 0x80000000 /* This message has already been sent */ +#endif + +#ifndef cchProfileNameMax +#define cchProfileNameMax 64 /* Maximum length of a profile name */ +#define cchProfilePassMax 64 /* Maximum length of a profile password */ +#endif + +/* Properties: These are the contents of cells in MAPI tables, as well as the + * values returned when object properties are queried. + */ + +/* Property types */ +#define PT_UNSPECIFIED 0U +#define PT_NULL 1U +#define PT_I2 2U +#define PT_SHORT PT_I2 +#define PT_LONG 3U +#define PT_I4 PT_LONG +#define PT_R4 4U +#define PT_FLOAT PT_R4 +#define PT_DOUBLE 5U +#define PT_R8 PT_DOUBLE +#define PT_CURRENCY 6U +#define PT_APPTIME 7U +#define PT_ERROR 10U +#define PT_BOOLEAN 11U +#define PT_OBJECT 13U +#define PT_I8 20U +#define PT_LONGLONG PT_I8 +#define PT_STRING8 30U +#define PT_UNICODE 31U +#define PT_SYSTIME 64U +#define PT_CLSID 72U +#define PT_BINARY 258U + +#define MV_FLAG 0x1000 /* This property type is multi-valued (an array) */ +#define MV_INSTANCE 0x2000 +#define MVI_FLAG (MV_FLAG|MV_INSTANCE) +#define MVI_PROP(t) ((t)|MVI_FLAG) + +#ifndef WINE_NO_UNICODE_MACROS +# ifdef UNICODE +# define PT_TSTRING PT_UNICODE +# define PT_MV_TSTRING (MV_FLAG|PT_UNICODE) +# define LPSZ lpszW +# define LPPSZ lppszW +# define MVSZ MVszW +# else +# define PT_TSTRING PT_STRING8 +# define PT_MV_TSTRING (MV_FLAG|PT_STRING8) +# define LPSZ lpszA +# define LPPSZ lppszA +# define MVSZ MVszA +# endif +#endif + +#define PROP_TYPE_MASK 0xFFFFU +#define PROP_TYPE(t) ((t) & PROP_TYPE_MASK) +#define PROP_ID(t) ((t) >> 16) +#define PROP_TAG(t,id) (((id) << 16) | t) +#define PROP_ID_NULL 0 +#define PROP_ID_INVALID 0xFFFF +#define PR_NULL PROP_TAG(PT_NULL, PROP_ID_NULL) + +#define CHANGE_PROP_TYPE(t,typ) ((0xFFFF0000 & t) | typ) + +/* Multi-valued property types */ +#define PT_MV_I2 (MV_FLAG|PT_I2) +#define PT_MV_SHORT PT_MV_I2 +#define PT_MV_LONG (MV_FLAG|PT_LONG) +#define PT_MV_I4 PT_MV_LONG +#define PT_MV_R4 (MV_FLAG|PT_R4) +#define PT_MV_FLOAT PT_MV_R4 +#define PT_MV_DOUBLE (MV_FLAG|PT_DOUBLE) +#define PT_MV_R8 PT_MV_DOUBLE +#define PT_MV_CURRENCY (MV_FLAG|PT_CURRENCY) +#define PT_MV_APPTIME (MV_FLAG|PT_APPTIME) +#define PT_MV_SYSTIME (MV_FLAG|PT_SYSTIME) +#define PT_MV_STRING8 (MV_FLAG|PT_STRING8) +#define PT_MV_BINARY (MV_FLAG|PT_BINARY) +#define PT_MV_UNICODE (MV_FLAG|PT_UNICODE) +#define PT_MV_CLSID (MV_FLAG|PT_CLSID) +#define PT_MV_I8 (MV_FLAG|PT_I8) +#define PT_MV_LONGLONG PT_MV_I8 + + +/* The property tag structure. This describes a list of columns */ +typedef struct _SPropTagArray +{ + ULONG cValues; /* Number of elements in aulPropTag */ + ULONG aulPropTag[MAPI_DIM]; /* Property tags */ +} SPropTagArray, *LPSPropTagArray; + +#define CbNewSPropTagArray(c) (offsetof(SPropTagArray,aulPropTag)+(c)*sizeof(ULONG)) +#define CbSPropTagArray(p) CbNewSPropTagArray((p)->cValues) +#define SizedSPropTagArray(n,id) \ + struct _SPropTagArray_##id { ULONG cValues; ULONG aulPropTag[n]; } id + +/* Multi-valued PT_APPTIME property value */ +typedef struct _SAppTimeArray +{ + ULONG cValues; /* Number of doubles in lpat */ + double *lpat; /* Pointer to double array of length cValues */ +} SAppTimeArray; + +/* PT_BINARY property value */ +typedef struct _SBinary +{ + ULONG cb; /* Number of bytes in lpb */ + LPBYTE lpb; /* Pointer to byte array of length cb */ +} SBinary, *LPSBinary; + +/* Multi-valued PT_BINARY property value */ +typedef struct _SBinaryArray +{ + ULONG cValues; /* Number of SBinarys in lpbin */ + SBinary *lpbin; /* Pointer to SBinary array of length cValues */ +} SBinaryArray; + +typedef SBinaryArray ENTRYLIST, *LPENTRYLIST; + +/* Multi-valued PT_CY property value */ +typedef struct _SCurrencyArray +{ + ULONG cValues; /* Number of CYs in lpcu */ + CY *lpcur; /* Pointer to CY array of length cValues */ +} SCurrencyArray; + +/* Multi-valued PT_SYSTIME property value */ +typedef struct _SDateTimeArray +{ + ULONG cValues; /* Number of FILETIMEs in lpft */ + FILETIME *lpft; /* Pointer to FILETIME array of length cValues */ +} SDateTimeArray; + +/* Multi-valued PT_DOUBLE property value */ +typedef struct _SDoubleArray +{ + ULONG cValues; /* Number of doubles in lpdbl */ + double *lpdbl; /* Pointer to double array of length cValues */ +} SDoubleArray; + +/* Multi-valued PT_CLSID property value */ +typedef struct _SGuidArray +{ + ULONG cValues; /* Number of GUIDs in lpguid */ + GUID *lpguid; /* Pointer to GUID array of length cValues */ +} SGuidArray; + +/* Multi-valued PT_LONGLONG property value */ +typedef struct _SLargeIntegerArray +{ + ULONG cValues; /* Number of long64s in lpli */ + LARGE_INTEGER *lpli; /* Pointer to long64 array of length cValues */ +} SLargeIntegerArray; + +/* Multi-valued PT_LONG property value */ +typedef struct _SLongArray +{ + ULONG cValues; /* Number of longs in lpl */ + LONG *lpl; /* Pointer to long array of length cValues */ +} SLongArray; + +/* Multi-valued PT_STRING8 property value */ +typedef struct _SLPSTRArray +{ + ULONG cValues; /* Number of Ascii strings in lppszA */ + LPSTR *lppszA; /* Pointer to Ascii string array of length cValues */ +} SLPSTRArray; + +/* Multi-valued PT_FLOAT property value */ +typedef struct _SRealArray +{ + ULONG cValues; /* Number of floats in lpflt */ + float *lpflt; /* Pointer to float array of length cValues */ +} SRealArray; + +/* Multi-valued PT_SHORT property value */ +typedef struct _SShortArray +{ + ULONG cValues; /* Number of shorts in lpb */ + short int *lpi; /* Pointer to short array of length cValues */ +} SShortArray; + +/* Multi-valued PT_UNICODE property value */ +typedef struct _SWStringArray +{ + ULONG cValues; /* Number of Unicode strings in lppszW */ + LPWSTR *lppszW; /* Pointer to Unicode string array of length cValues */ +} SWStringArray; + +/* A property value */ +typedef union _PV +{ + short int i; + LONG l; + ULONG ul; + float flt; + double dbl; + unsigned short b; + CY cur; + double at; + FILETIME ft; + LPSTR lpszA; + SBinary bin; + LPWSTR lpszW; + LPGUID lpguid; + LARGE_INTEGER li; + SShortArray MVi; + SLongArray MVl; + SRealArray MVflt; + SDoubleArray MVdbl; + SCurrencyArray MVcur; + SAppTimeArray MVat; + SDateTimeArray MVft; + SBinaryArray MVbin; + SLPSTRArray MVszA; + SWStringArray MVszW; + SGuidArray MVguid; + SLargeIntegerArray MVli; + SCODE err; + LONG x; +} __UPV; + +/* Property value structure. This is essentially a mini-Variant */ +typedef struct _SPropValue +{ + ULONG ulPropTag; /* The property type */ + ULONG dwAlignPad; /* Alignment, treat as reserved */ + union _PV Value; /* The property value */ +} SPropValue, *LPSPropValue; + +/* Structure describing a table row (a collection of property values) */ +typedef struct _SRow +{ + ULONG ulAdrEntryPad; /* Padding, treat as reserved */ + ULONG cValues; /* Count of property values in lpProbs */ + LPSPropValue lpProps; /* Pointer to an array of property values of length cValues */ +} SRow, *LPSRow; + +/* Structure describing a set of table rows */ +typedef struct _SRowSet +{ + ULONG cRows; /* Count of rows in aRow */ + SRow aRow[MAPI_DIM]; /* Array of rows of length cRows */ +} SRowSet, *LPSRowSet; + +#define CbNewSRowSet(c) (offsetof(SRowSet,aRow)+(c)*sizeof(SRow)) +#define CbSRowSet(p) CbNewSRowSet((p)->cRows) +#define SizedSRowSet(n,id) \ + struct _SRowSet_##id { ULONG cRows; SRow aRow[n]; } id + +/* Structure describing a problem with a property */ +typedef struct _SPropProblem +{ + ULONG ulIndex; /* Index of the property */ + ULONG ulPropTag; /* Property tag of the property */ + SCODE scode; /* Error code of the problem */ +} SPropProblem, *LPSPropProblem; + +/* A collection of property problems */ +typedef struct _SPropProblemArray +{ + ULONG cProblem; /* Number of problems in aProblem */ + SPropProblem aProblem[MAPI_DIM]; /* Array of problems of length cProblem */ +} SPropProblemArray, *LPSPropProblemArray; + +/* FPropContainsProp flags */ +#define FL_FULLSTRING ((ULONG)0x00000) /* Exact string match */ +#define FL_SUBSTRING ((ULONG)0x00001) /* Substring match */ +#define FL_PREFIX ((ULONG)0x00002) /* Prefix match */ +#define FL_IGNORECASE ((ULONG)0x10000) /* Case insensitive */ +#define FL_IGNORENONSPACE ((ULONG)0x20000) /* Ignore non spacing characters */ +#define FL_LOOSE ((ULONG)0x40000) /* Try very hard to match */ + + +/* Table types returned by IMAPITable_GetStatus() */ +#define TBLTYPE_SNAPSHOT 0U /* Table is fixed at creation time and contents do not change */ +#define TBLTYPE_KEYSET 1U /* Table has a fixed number of rows, but row values may change */ +#define TBLTYPE_DYNAMIC 2U /* Table values and the number of rows may change */ + +/* Table status returned by IMAPITable_GetStatus() */ +#define TBLSTAT_COMPLETE 0U /* All operations have completed (normal status) */ +#define TBLSTAT_QCHANGED 7U /* Table data has changed as expected */ +#define TBLSTAT_SORTING 9U /* Table is being asynchronously sorted */ +#define TBLSTAT_SORT_ERROR 10U /* An error occurred while sorting the table */ +#define TBLSTAT_SETTING_COLS 11U /* Table columns are being asynchronously changed */ +#define TBLSTAT_SETCOL_ERROR 13U /* An error occurred during column changing */ +#define TBLSTAT_RESTRICTING 14U /* Table rows are being asynchronously restricted */ +#define TBLSTAT_RESTRICT_ERROR 15U /* An error occurred during row restriction */ + +/* Flags for IMAPITable operations that can be asynchronous */ +#define TBL_NOWAIT 1U /* Perform the operation asynchronously */ +#define TBL_BATCH 2U /* Perform the operation when the results are needed */ +#define TBL_ASYNC TBL_NOWAIT /* Synonym for TBL_NOWAIT */ + +/* Flags for IMAPITable_FindRow() */ +#define DIR_BACKWARD 1U /* Read rows backwards from the start bookmark */ + +/* Table bookmarks */ +typedef ULONG BOOKMARK; + +#define BOOKMARK_BEGINNING ((BOOKMARK)0) /* The first row */ +#define BOOKMARK_CURRENT ((BOOKMARK)1) /* The current table row */ +#define BOOKMARK_END ((BOOKMARK)2) /* The last row */ + +/* Row restrictions */ +typedef struct _SRestriction* LPSRestriction; + +typedef struct _SAndRestriction +{ + ULONG cRes; + LPSRestriction lpRes; +} SAndRestriction; + +typedef struct _SBitMaskRestriction +{ + ULONG relBMR; + ULONG ulPropTag; + ULONG ulMask; +} SBitMaskRestriction; + +typedef struct _SCommentRestriction +{ + ULONG cValues; + LPSRestriction lpRes; + LPSPropValue lpProp; +} SCommentRestriction; + +#define RELOP_LT 0U +#define RELOP_LE 1U +#define RELOP_GT 2U +#define RELOP_GE 3U +#define RELOP_EQ 4U +#define RELOP_NE 5U +#define RELOP_RE 6U + +typedef struct _SComparePropsRestriction +{ + ULONG relop; + ULONG ulPropTag1; + ULONG ulPropTag2; +} SComparePropsRestriction; + +typedef struct _SContentRestriction +{ + ULONG ulFuzzyLevel; + ULONG ulPropTag; + LPSPropValue lpProp; +} SContentRestriction; + +typedef struct _SExistRestriction +{ + ULONG ulReserved1; + ULONG ulPropTag; + ULONG ulReserved2; +} SExistRestriction; + +typedef struct _SNotRestriction +{ + ULONG ulReserved; + LPSRestriction lpRes; +} SNotRestriction; + +typedef struct _SOrRestriction +{ + ULONG cRes; + LPSRestriction lpRes; +} SOrRestriction; + +typedef struct _SPropertyRestriction +{ + ULONG relop; + ULONG ulPropTag; + LPSPropValue lpProp; +} SPropertyRestriction; + +typedef struct _SSizeRestriction +{ + ULONG relop; + ULONG ulPropTag; + ULONG cb; +} SSizeRestriction; + +typedef struct _SSubRestriction +{ + ULONG ulSubObject; + LPSRestriction lpRes; +} SSubRestriction; + +/* Restriction types */ +#define RES_AND 0U +#define RES_OR 1U +#define RES_NOT 2U +#define RES_CONTENT 3U +#define RES_PROPERTY 4U +#define RES_COMPAREPROPS 5U +#define RES_BITMASK 6U +#define RES_SIZE 7U +#define RES_EXIST 8U +#define RES_SUBRESTRICTION 9U +#define RES_COMMENT 10U + +typedef struct _SRestriction +{ + ULONG rt; + union + { + SAndRestriction resAnd; + SBitMaskRestriction resBitMask; + SCommentRestriction resComment; + SComparePropsRestriction resCompareProps; + SContentRestriction resContent; + SExistRestriction resExist; + SNotRestriction resNot; + SOrRestriction resOr; + SPropertyRestriction resProperty; + SSizeRestriction resSize; + SSubRestriction resSub; + } res; +} SRestriction; + +/* Errors */ +typedef struct _MAPIERROR +{ + ULONG ulVersion; /* Mapi version */ +#if defined (UNICODE) || defined (__WINESRC__) + LPWSTR lpszError; /* Error and component strings. These are Ascii */ + LPWSTR lpszComponent; /* unless the MAPI_UNICODE flag is passed in */ +#else + LPSTR lpszError; + LPSTR lpszComponent; +#endif + ULONG ulLowLevelError; + ULONG ulContext; +} MAPIERROR, *LPMAPIERROR; + +/* Sorting */ +#define TABLE_SORT_ASCEND 0U +#define TABLE_SORT_DESCEND 1U +#define TABLE_SORT_COMBINE 2U + +typedef struct _SSortOrder +{ + ULONG ulPropTag; + ULONG ulOrder; +} SSortOrder, *LPSSortOrder; + +typedef struct _SSortOrderSet +{ + ULONG cSorts; + ULONG cCategories; + ULONG cExpanded; + SSortOrder aSort[MAPI_DIM]; +} SSortOrderSet, * LPSSortOrderSet; + +#define MNID_ID 0 +#define MNID_STRING 1 + +typedef struct _MAPINAMEID +{ + LPGUID lpguid; + ULONG ulKind; + union + { + LONG lID; + LPWSTR lpwstrName; + } Kind; +} MAPINAMEID, *LPMAPINAMEID; + +/* Desired notification types (bitflags) */ +#define fnevCriticalError ((ULONG)0x00000001) +#define fnevNewMail ((ULONG)0x00000002) +#define fnevObjectCreated ((ULONG)0x00000004) +#define fnevObjectDeleted ((ULONG)0x00000008) +#define fnevObjectModified ((ULONG)0x00000010) +#define fnevObjectMoved ((ULONG)0x00000020) +#define fnevObjectCopied ((ULONG)0x00000040) +#define fnevSearchComplete ((ULONG)0x00000080) +#define fnevTableModified ((ULONG)0x00000100) +#define fnevStatusObjectModified ((ULONG)0x00000200) +#define fnevReservedForMapi ((ULONG)0x40000000) +#define fnevExtended ((ULONG)0x80000000) + +/* Type of notification event */ +#define TABLE_CHANGED 1U +#define TABLE_ERROR 2U +#define TABLE_ROW_ADDED 3U +#define TABLE_ROW_DELETED 4U +#define TABLE_ROW_MODIFIED 5U +#define TABLE_SORT_DONE 6U +#define TABLE_RESTRICT_DONE 7U +#define TABLE_SETCOL_DONE 8U +#define TABLE_RELOAD 9U + +/* fnevCriticalError notification */ +typedef struct _ERROR_NOTIFICATION +{ + ULONG cbEntryID; + LPENTRYID lpEntryID; + SCODE scode; + ULONG ulFlags; + LPMAPIERROR lpMAPIError; +} ERROR_NOTIFICATION; + +/* fnevNewMail notification */ +typedef struct _NEWMAIL_NOTIFICATION +{ + ULONG cbEntryID; + LPENTRYID lpEntryID; + ULONG cbParentID; + LPENTRYID lpParentID; + ULONG ulFlags; +#if defined (UNICODE) || defined (__WINESRC__) + LPWSTR lpszMessageClass; +#else + LPSTR lpszMessageClass; +#endif + ULONG ulMessageFlags; +} NEWMAIL_NOTIFICATION; + +/* fnevObjectCreated/Deleted/Modified/Moved/Copied notification */ +typedef struct _OBJECT_NOTIFICATION +{ + ULONG cbEntryID; + LPENTRYID lpEntryID; + ULONG ulObjType; + ULONG cbParentID; + LPENTRYID lpParentID; + ULONG cbOldID; + LPENTRYID lpOldID; + ULONG cbOldParentID; + LPENTRYID lpOldParentID; + LPSPropTagArray lpPropTagArray; +} OBJECT_NOTIFICATION; + +/* fnevTableModified notification */ +typedef struct _TABLE_NOTIFICATION +{ + ULONG ulTableEvent; + HRESULT hResult; + SPropValue propIndex; + SPropValue propPrior; + SRow row; + ULONG ulPad; +} TABLE_NOTIFICATION; + +/* fnevExtended notification */ +typedef struct _EXTENDED_NOTIFICATION +{ + ULONG ulEvent; + ULONG cb; + LPBYTE pbEventParameters; +} EXTENDED_NOTIFICATION; + +/* fnevStatusObjectModified notification */ +typedef struct +{ + ULONG cbEntryID; + LPENTRYID lpEntryID; + ULONG cValues; + LPSPropValue lpPropVals; +} STATUS_OBJECT_NOTIFICATION; + +/* The notification structure passed to advise sinks */ +typedef struct _NOTIFICATION +{ + ULONG ulEventType; + ULONG ulAlignPad; + union + { + ERROR_NOTIFICATION err; + NEWMAIL_NOTIFICATION newmail; + OBJECT_NOTIFICATION obj; + TABLE_NOTIFICATION tab; + EXTENDED_NOTIFICATION ext; + STATUS_OBJECT_NOTIFICATION statobj; + } info; +} NOTIFICATION, *LPNOTIFICATION; + +typedef LONG (WINAPI NOTIFCALLBACK)(LPVOID,ULONG,LPNOTIFICATION); +typedef NOTIFCALLBACK *LPNOTIFCALLBACK; + +/* IMAPIContainer::OpenEntry flags */ +#define MAPI_BEST_ACCESS 0x00000010 + +/***************************************************************************** + * IMAPITable interface + * + * This is the read-only 'view' over an I(MAPI)TableData object. + */ +#define INTERFACE IMAPITable +DECLARE_INTERFACE_(IMAPITable,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPITable methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppError) PURE; + STDMETHOD(Advise)(THIS_ ULONG ulMask, LPMAPIADVISESINK lpSink, ULONG *lpCxn) PURE; + STDMETHOD(Unadvise)(THIS_ ULONG ulCxn) PURE; + STDMETHOD(GetStatus)(THIS_ ULONG *lpStatus, ULONG *lpType) PURE; + STDMETHOD(SetColumns)(THIS_ LPSPropTagArray lpProps, ULONG ulFlags) PURE; + STDMETHOD(QueryColumns)(THIS_ ULONG ulFlags, LPSPropTagArray *lpCols) PURE; + STDMETHOD(GetRowCount)(THIS_ ULONG ulFlags, ULONG *lpCount) PURE; + STDMETHOD(SeekRow)(THIS_ BOOKMARK lpStart, LONG lRows, LONG *lpSeeked) PURE; + STDMETHOD(SeekRowApprox)(THIS_ ULONG ulNum, ULONG ulDenom) PURE; + STDMETHOD(QueryPosition)(THIS_ ULONG *lpRow, ULONG *lpNum, ULONG *lpDenom) PURE; + STDMETHOD(FindRow)(THIS_ LPSRestriction lpRestrict, BOOKMARK lpOrigin, ULONG ulFlags) PURE; + STDMETHOD(Restrict)(THIS_ LPSRestriction lpRestrict, ULONG ulFlags) PURE; + STDMETHOD(CreateBookmark)(THIS_ BOOKMARK *lppPos) PURE; + STDMETHOD(FreeBookmark)(THIS_ BOOKMARK lpPos) PURE; + STDMETHOD(SortTable)(THIS_ LPSSortOrderSet lpSortOpts, ULONG ulFlags) PURE; + STDMETHOD(QuerySortOrder)(THIS_ LPSSortOrderSet *lppSortOpts) PURE; + STDMETHOD(QueryRows)(THIS_ LONG lRows, ULONG ulFlags, LPSRowSet *lppRows) PURE; + STDMETHOD(Abort) (THIS) PURE; + STDMETHOD(ExpandRow)(THIS_ ULONG cbKey, LPBYTE lpKey, ULONG ulRows, + ULONG ulFlags, LPSRowSet *lppRows, ULONG *lpMore) PURE; + STDMETHOD(CollapseRow)(THIS_ ULONG cbKey, LPBYTE lpKey, ULONG ulFlags, ULONG *lpRows) PURE; + STDMETHOD(WaitForCompletion)(THIS_ ULONG ulFlags, ULONG ulTime, ULONG *lpState) PURE; + STDMETHOD(GetCollapseState)(THIS_ ULONG ulFlags, ULONG cbKey, LPBYTE lpKey, + ULONG *lpStateLen, LPBYTE *lpState) PURE; + STDMETHOD(SetCollapseState)(THIS_ ULONG ulFlags, ULONG ulLen, + LPBYTE lpStart, BOOKMARK *lppWhere) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMAPITable_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMAPITable_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMAPITable_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPITable methods ***/ +#define IMAPITable_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMAPITable_Advise(p,a,b,c) (p)->lpVtbl->Advise(p,a,b,c) +#define IMAPITable_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a) +#define IMAPITable_GetStatus(p,a,b) (p)->lpVtbl->GetStatus(p,a,b) +#define IMAPITable_SetColumns(p,a,b) (p)->lpVtbl->SetColumns(p,a,b) +#define IMAPITable_QueryColumns(p,a,b) (p)->lpVtbl->QueryColumns(p,a,b) +#define IMAPITable_GetRowCount(p,a,b) (p)->lpVtbl->GetRowCount(p,a,b) +#define IMAPITable_SeekRow(p,a,b) (p)->lpVtbl->SeekRow(p,a,b) +#define IMAPITable_SeekRowApprox(p,a,b) (p)->lpVtbl->SeekRowApprox(p,a,b) +#define IMAPITable_QueryPosition(p,a,b) (p)->lpVtbl->QueryPosition(p,a,b) +#define IMAPITable_FindRow(p,a,b,c) (p)->lpVtbl->FindRow(p,a,b,c) +#define IMAPITable_Restrict(p,a,b) (p)->lpVtbl->Recstrict(p,a,b) +#define IMAPITable_CreateBookmark(p,a) (p)->lpVtbl->CreateBookmark(p,a) +#define IMAPITable_FreeBookmark(p,a) (p)->lpVtbl->FreeBookmark(p,a) +#define IMAPITable_SortTable(p,a,b) (p)->lpVtbl->SortTable(p,a,b) +#define IMAPITable_QuerySortOrder(p,a) (p)->lpVtbl->QuerySortOrder(p,a) +#define IMAPITable_QueryRows(p,a,b,c) (p)->lpVtbl->QueryRows(p,a,b,c) +#define IMAPITable_Abort(p) (p)->lpVtbl->Abort(p) +#define IMAPITable_ExpandRow(p,a,b,c,d,e,f) (p)->lpVtbl->ExpandRow(p,a,b,c,d,e,f) +#define IMAPITable_CollapseRow(p,a,b,c,d) (p)->lpVtbl->CollapseRow(p,a,b,c,d) +#define IMAPITable_WaitForCompletion(p,a,b,c) (p)->lpVtbl->WaitForCompletion(p,a,b,c) +#define IMAPITable_GetCollapseState(p,a,b,c,d,e) (p)->lpVtbl->GetCollapseState(p,a,b,c,d,e) +#define IMAPITable_SetCollapseState(p,a,b,c,d) (p)->lpVtbl->SetCollapseState(p,a,b,c,d) +#endif + +typedef IMAPITable *LPMAPITABLE; + +/***************************************************************************** + * IMAPIAdviseSink interface + */ +#define INTERFACE IMAPIAdviseSink +DECLARE_INTERFACE_(IMAPIAdviseSink,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIAdviseSink methods ***/ + STDMETHOD(OnNotify)(THIS_ ULONG NumNotif, LPNOTIFICATION lpNotif) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMAPIAdviseSink_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMAPIAdviseSink_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMAPIAdviseSink_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIAdviseSink methods ***/ +#define IMAPIAdviseSink_OnNotify(p,a,b) (p)->lpVtbl->OnNotify(p,a,b) +#endif + +/***************************************************************************** + * IMAPIProp interface + */ +#define INTERFACE IMAPIProp +DECLARE_INTERFACE_(IMAPIProp,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMAPIProp_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMAPIProp_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMAPIProp_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IMAPIProp_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMAPIProp_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IMAPIProp_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IMAPIProp_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IMAPIProp_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IMAPIProp_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IMAPIProp_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IMAPIProp_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IMAPIProp_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IMAPIProp_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IMAPIProp_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) +#endif + +typedef IMAPIProp *LPMAPIPROP; + +#define KEEP_OPEN_READONLY (0x00000001U) +#define KEEP_OPEN_READWRITE (0x00000002U) +#define FORCE_SAVE (0x00000004U) + +/***************************************************************************** + * IMsgStore interface + */ +#define INTERFACE IMsgStore +DECLARE_INTERFACE_(IMsgStore,IMAPIProp) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; + /*** IMsgStore methods ***/ + STDMETHOD(Advise)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, ULONG ulEventMask, LPMAPIADVISESINK lpAdviseSink, + ULONG * lpulConnection) PURE; + STDMETHOD(Unadvise)(THIS_ ULONG ulConnection) PURE; + STDMETHOD(CompareEntryIDs)(THIS_ ULONG cbEntryID1, LPENTRYID lpEntryID1, ULONG cbEntryID2, LPENTRYID lpEntryID2, + ULONG ulFlags, ULONG * lpulResult) PURE; + STDMETHOD(OpenEntry)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, LPCIID lpInterface, ULONG ulFlags, ULONG *lpulObjType, + LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetReceiveFolder)(THIS_ LPSTR lpszMessageClass, ULONG ulFlags, ULONG cbEntryID, LPENTRYID lpEntryID) PURE; + STDMETHOD(GetReceiveFolder)(THIS_ LPSTR lpszMessageClass, ULONG ulFlags, ULONG * lpcbEntryID, LPENTRYID *lppEntryID, + LPSTR *lppszExplicitClass) PURE; + STDMETHOD(GetReceiveFolderTable)(THIS_ ULONG ulFlags, LPMAPITABLE * lppTable) PURE; + STDMETHOD(StoreLogoff)(THIS_ ULONG * lpulFlags) PURE; + STDMETHOD(AbortSubmit)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, ULONG ulFlags) PURE; + STDMETHOD(GetOutgoingQueue)(THIS_ ULONG ulFlags, LPMAPITABLE * lppTable) PURE; + STDMETHOD(SetLockState)(THIS_ LPMESSAGE lpMessage, ULONG ulLockState) PURE; + STDMETHOD(FinishedMsg)(THIS_ ULONG ulFlags, ULONG cbEntryID, LPENTRYID lpEntryID) PURE; + STDMETHOD(NotifyNewMail)(THIS_ LPNOTIFICATION lpNotification) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMsgStore_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMsgStore_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMsgStore_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IMsgStore_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMsgStore_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IMsgStore_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IMsgStore_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IMsgStore_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IMsgStore_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IMsgStore_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IMsgStore_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IMsgStore_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IMsgStore_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IMsgStore_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) + /*** IMsgStore methods ***/ +#define IMsgStore_Advise(p,a,b,c,d,e) (p)->lpVtbl->Advise(p,a,b,c,d,e) +#define IMsgStore_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a) +#define IMsgStore_CompareEntryIDs(p,a,b,c,d,e,f) (p)->lpVtbl->CompareEntryIDs(p,a,b,c,d,e,f) +#define IMsgStore_OpenEntry(p,a,b,c,d,e,f) (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f) +#define IMsgStore_SetReceiveFolder(p,a,b,c,d) (p)->lpVtbl->SetReceiveFolder(p,a,b,c,d) +#define IMsgStore_GetReceiveFolder(p,a,b,c,d,e) (p)->lpVtbl->GetReceiveFolder(p,a,b,c,d,e) +#define IMsgStore_GetReceiveFolderTable(p,a,b) (p)->lpVtbl->GetReceiveFolderTable(p,a,b) +#define IMsgStore_StoreLogoff(p,a) (p)->lpVtbl->StoreLogoff(p,a) +#define IMsgStore_AbortSubmit(p,a,b,c) (p)->lpVtbl->AbortSubmit(p,a,b,c) +#define IMsgStore_GetOutgoingQueue(p,a,b) (p)->lpVtbl->GetOutgoingQueue(p,a,b) +#define IMsgStore_SetLockState(p,a,b) (p)->lpVtbl->SetLockState(p,a,b) +#define IMsgStore_FinishedMsg(p,a,b,c) (p)->lpVtbl->FinishedMsg(p,a,b,c) +#define IMsgStore_NotifyNewMail(p,a) (p)->lpVtbl->NotifyNewMail(p,a) + +#endif + +typedef IMsgStore *LPMDB; + +/***************************************************************************** + * IMAPIContainer interface + */ +#define INTERFACE IMAPIContainer +DECLARE_INTERFACE_(IMAPIContainer,IMAPIProp) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; + /*** IMAPIContainer methods ***/ + STDMETHOD(GetContentsTable)(THIS_ ULONG ulFlags, LPMAPITABLE * lppTable) PURE; + STDMETHOD(GetHierarchyTable)(THIS_ ULONG ulFlags, LPMAPITABLE * lppTable) PURE; + STDMETHOD(OpenEntry)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, LPCIID lpInterface, ULONG ulFlags, + ULONG * lpulObjType, LPUNKNOWN * lppUnk) PURE; + STDMETHOD(SetSearchCriteria)(THIS_ LPSRestriction lpRestriction, LPENTRYLIST lpContainerList, ULONG ulSearchFlags) PURE; + STDMETHOD(GetSearchCriteria)(THIS_ ULONG ulFlags, LPSRestriction * lppRestriction, LPENTRYLIST * lppContainerList, + ULONG * lpulSearchState) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMAPIContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMAPIContainer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMAPIContainer_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IMAPIContainer_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMAPIContainer_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IMAPIContainer_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IMAPIContainer_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IMAPIContainer_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IMAPIContainer_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IMAPIContainer_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IMAPIContainer_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IMAPIContainer_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IMAPIContainer_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IMAPIContainer_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) + /*** IMAPIContainer methods ***/ +#define IMAPIContainer_GetContentsTable(p,a,b) (p)->lpVtbl->GetContentsTable(p,a,b) +#define IMAPIContainer_GetHierarchyTable(p,a,b) (p)->lpVtbl->GetHierarchyTable(p,a,b) +#define IMAPIContainer_OpenEntry(p,a,b,c,d,e,f) (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f) +#define IMAPIContainer_SetSearchCriteria(p,a,b,c) (p)->lpVtbl->SetSearchCriteria(p,a,b,c) +#define IMAPIContainer_GetSearchCriteria(p,a,b,c,d) (p)->lpVtbl->GetSearchCriteria(p,a,b,c,d) + +#endif + +/***************************************************************************** + * IMAPIFolder interface + */ +#define INTERFACE IMAPIFolder +DECLARE_INTERFACE_(IMAPIFolder,IMAPIContainer) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; + /*** IMAPIContainer methods ***/ + STDMETHOD(GetContentsTable)(THIS_ ULONG ulFlags, LPMAPITABLE * lppTable) PURE; + STDMETHOD(GetHierarchyTable)(THIS_ ULONG ulFlags, LPMAPITABLE * lppTable) PURE; + STDMETHOD(OpenEntry)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, LPCIID lpInterface, ULONG ulFlags, + ULONG * lpulObjType, LPUNKNOWN * lppUnk) PURE; + STDMETHOD(SetSearchCriteria)(THIS_ LPSRestriction lpRestriction, LPENTRYLIST lpContainerList, ULONG ulSearchFlags) PURE; + STDMETHOD(GetSearchCriteria)(THIS_ ULONG ulFlags, LPSRestriction * lppRestriction, LPENTRYLIST * lppContainerList, + ULONG * lpulSearchState) PURE; + /*** IMAPIFolder methods ***/ + STDMETHOD(CreateMessage)(THIS_ LPCIID lpInterface, ULONG ulFlags, LPMESSAGE *lppMessage) PURE; + STDMETHOD(CopyMessages)(THIS_ LPENTRYLIST lpMsgList, LPCIID lpInterface, LPVOID lpDestFolder, ULONG ulUIParam, + LPMAPIPROGRESS lpProgress, ULONG ulFlags) PURE; + STDMETHOD(DeleteMessages)(THIS_ LPENTRYLIST lpMsgList, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, ULONG ulFlags) PURE; + STDMETHOD(CreateFolder)(THIS_ ULONG ulFolderType, LPSTR lpszFolderName, LPSTR lpszFolderComment, LPCIID lpInterface, + ULONG ulFlags, LPMAPIFOLDER lppFolder) PURE; + STDMETHOD(CopyFolder)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, LPCIID lpInterface, LPVOID lpDestFolder, + LPSTR lpszNewFolderName, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, ULONG ulFlags) PURE; + STDMETHOD(DeleteFolder)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, + ULONG ulFlags) PURE; + STDMETHOD(SetReadFlags)(THIS_ LPENTRYLIST lpMsgList, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, ULONG ulFlags) PURE; + STDMETHOD(GetMessageStatus)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, ULONG ulFlags, ULONG * lpulMessageStatus) PURE; + STDMETHOD(SetMessageStatus)(THIS_ ULONG cbEntryID, LPENTRYID lpEntryID, ULONG ulNewStatus, + ULONG ulNewStatusMask, ULONG * lpulOldStatus) PURE; + STDMETHOD(SaveContentsSort)(THIS_ LPSSortOrderSet lpSortCriteria, ULONG ulFlags) PURE; + STDMETHOD(EmptyFolder) (THIS_ ULONG ulUIParam, LPMAPIPROGRESS lpProgress, ULONG ulFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMAPIFolder_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMAPIFolder_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMAPIFolder_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IMAPIFolder_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMAPIFolder_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IMAPIFolder_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IMAPIFolder_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IMAPIFolder_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IMAPIFolder_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IMAPIFolder_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IMAPIFolder_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IMAPIFolder_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IMAPIFolder_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IMAPIFolder_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) + /*** IMAPIContainer methods ***/ +#define IMAPIFolder_GetContentsTable(p,a,b) (p)->lpVtbl->GetContentsTable(p,a,b) +#define IMAPIFolder_GetHierarchyTable(p,a,b) (p)->lpVtbl->GetHierarchyTable(p,a,b) +#define IMAPIFolder_OpenEntry(p,a,b,c,d,e,f) (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f) +#define IMAPIFolder_SetSearchCriteria(p,a,b,c) (p)->lpVtbl->SetSearchCriteria(p,a,b,c) +#define IMAPIFolder_GetSearchCriteria(p,a,b,c,d) (p)->lpVtbl->GetSearchCriteria(p,a,b,c,d) + /*** IMAPIFolder methods ***/ +#define IMAPIFolder_CreateMessage(p,a,b,c) (p)->lpVtbl->CreateMessage(p,a,b,c) +#define IMAPIFolder_CopyMessages(p,a,b,c,d,e,f) (p)->lpVtbl->CopyMessages(p,a,b,c,d,e,f) +#define IMAPIFolder_DeleteMessages(p,a,b,c,d) (p)->lpVtbl->DeleteMessages(p,a,b,c,d) +#define IMAPIFolder_CreateFolder(p,a,b,c,d,e,f) (p)->lpVtbl->CreateFolder(p,a,b,c,d,e,f) +#define IMAPIFolder_CopyFolder(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CopyFolder(p,a,b,c,d,e,f,g,h) +#define IMAPIFolder_DeleteFolder(p,a,b,c,d,e) (p)->lpVtbl->CreateFolder(p,a,b,c,d,e) +#define IMAPIFolder_SetReadFlags(p,a,b,c,d) (p)->lpVtbl->SetReadFlags(p,a,b,c,d) +#define IMAPIFolder_GetMessageStatus(p,a,b,c,d) (p)->lpVtbl->GetMessageStatus(p,a,b,c,d) +#define IMAPIFolder_SetMessageStatus(p,a,b,c,d,e) (p)->lpVtbl->SetMessageStatus(p,a,b,c,d,e) +#define IMAPIFolder_SaveContentsSort(p,a,b) (p)->lpVtbl->SaveContentsSort(p,a,b) +#define IMAPIFolder_EmptyFolder(p,a,b,c) (p)->lpVtbl->EmptyFolder(p,a,b,c) + +#endif + +typedef struct +{ + ULONG cb; + BYTE abEntry[MAPI_DIM]; +} FLATENTRY, *LPFLATENTRY; + +typedef struct +{ + ULONG cEntries; + ULONG cbEntries; + BYTE abEntries[MAPI_DIM]; +} FLATENTRYLIST, *LPFLATENTRYLIST; + +typedef struct +{ + ULONG cb; + BYTE ab[MAPI_DIM]; +} MTSID, *LPMTSID; + +typedef struct +{ + ULONG cMTSIDs; + ULONG cbMTSIDs; + BYTE abMTSIDs[MAPI_DIM]; +} FLATMTSIDLIST, *LPFLATMTSIDLIST; + +typedef struct _ADRENTRY +{ + ULONG ulReserved1; + ULONG cValues; + LPSPropValue rgPropVals; +} ADRENTRY, *LPADRENTRY; + +typedef struct _ADRLIST +{ + ULONG cEntries; + ADRENTRY aEntries[MAPI_DIM]; +} ADRLIST, *LPADRLIST; + +/***************************************************************************** + * IMessage interface + */ +#define INTERFACE IMessage +DECLARE_INTERFACE_(IMessage,IMAPIProp) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; + /*** IMessage methods ***/ + STDMETHOD(GetAttachmentTable)(THIS_ ULONG ulFlags, LPMAPITABLE *lppTable) PURE; + STDMETHOD(OpenAttach)(THIS_ ULONG ulAttachmentNum, LPCIID lpInterface, ULONG ulFlags, LPATTACH *lppAttach) PURE; + STDMETHOD(CreateAttach)(THIS_ LPCIID lpInterface, ULONG ulFlags, ULONG *lpulAttachmentNum, LPATTACH *lppAttach) PURE; + STDMETHOD(DeleteAttach)(THIS_ ULONG ulAttachmentNum, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, ULONG ulFlags) PURE; + STDMETHOD(GetRecipientTable)(THIS_ ULONG ulFlags, LPMAPITABLE *lppTable) PURE; + STDMETHOD(ModifyRecipients)(THIS_ ULONG ulFlags, LPADRLIST lpMods) PURE; + STDMETHOD(SubmitMessage)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(SetReadFlag)(THIS_ ULONG ulFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMessage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMessage_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMessage_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IMessage_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMessage_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IMessage_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IMessage_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IMessage_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IMessage_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IMessage_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IMessage_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IMessage_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IMessage_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IMessage_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) + /*** IMessage methods ***/ +#define IMessage_GetAttachmentTable(p,a,b) (p)->lpVtbl->GetAttachmentTable(p,a,b) +#define IMessage_OpenAttach(p,a,b,c,d) (p)->lpVtbl->OpenAttach(p,a,b,c,d) +#define IMessage_CreateAttach(p,a,b,c,d) (p)->lpVtbl->CreateAttach(p,a,b,c,d) +#define IMessage_DeleteAttach(p,a,b,c,d) (p)->lpVtbl->DeleteAttach(p,a,b,c,d) +#define IMessage_GetRecipientTable(p,a,b) (p)->lpVtbl->GetRecipientTable(p,a,b) +#define IMessage_ModifyRecipients(p,a,b) (p)->lpVtbl->ModifyRecipients(p,a,b) +#define IMessage_SubmitMessage(p,a) (p)->lpVtbl->SubmitMessage(p,a) +#define IMessage_SetReadFlag(p,a) (p)->lpVtbl->SetReadFlag(p,a) + +#endif + +/* Message flags (PR_MESSAGE_FLAGS) */ + +#define MSGFLAG_READ 0x00000001U +#define MSGFLAG_UNMODIFIED 0x00000002U +#define MSGFLAG_SUBMIT 0x00000004U +#define MSGFLAG_UNSENT 0x00000008U +#define MSGFLAG_HASATTACH 0x00000010U +#define MSGFLAG_FROMME 0x00000020U + +/***************************************************************************** + * IAttach interface + */ +#define INTERFACE IAttach +DECLARE_INTERFACE_(IAttach,IMAPIProp) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IAttach_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IAttach_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IAttach_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IAttach_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IAttach_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IAttach_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IAttach_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IAttach_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IAttach_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IAttach_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IAttach_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IAttach_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IAttach_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IAttach_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) +#endif + +/* Attachment flags */ + +#define NO_ATTACHMENT 0x00000000U +#define ATTACH_BY_VALUE 0x00000001U + +#endif /*MAPIDEFS_H*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiform.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiform.h new file mode 100644 index 0000000..d9375ce --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiform.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 1998 Justin Bradford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPIFORM_H +#define MAPIFORM_H + +#include +#include +#include +#include + + +typedef ULONG HFRMREG; +#define HFRMREG_DEFAULT 0 +#define HFRMREG_LOCAL 1 +#define HFRMREG_PERSONAL 2 +#define HFRMREG_FOLDER 3 + +typedef const char **LPPCSTR; + + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI MAPIOpenLocalFormContainer(LPVOID*); + +#ifdef __cplusplus +} +#endif + +#endif /* MAPIFORM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiguid.h new file mode 100644 index 0000000..26af255 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiguid.h @@ -0,0 +1,81 @@ +/* + * Copyright 2004 Jon Griffiths + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPIGUID_H +#define MAPIGUID_H + +#define DEFINE_MAPIGUID(n,l,w1,w2) DEFINE_OLEGUID(n,l,w1,w2) + +DEFINE_MAPIGUID(IID_IABContainer,0x2030D,0,0); +DEFINE_MAPIGUID(IID_IABLogon,0x20314,0,0); +DEFINE_MAPIGUID(IID_IABProvider,0x20311,0,0); +DEFINE_MAPIGUID(IID_IAddrBook,0x20309,0,0); +DEFINE_MAPIGUID(IID_IAttachment,0x20308,0,0); +DEFINE_MAPIGUID(IID_IDistList,0x2030E,0,0); +DEFINE_MAPIGUID(IID_IEnumMAPIFormProp,0x20323,0,0); +DEFINE_MAPIGUID(IID_IMailUser,0x2030A,0,0); +DEFINE_MAPIGUID(IID_IMAPIAdviseSink,0x20302,0,0); +DEFINE_MAPIGUID(IID_IMAPIContainer,0x2030B,0,0); +DEFINE_MAPIGUID(IID_IMAPIControl,0x2031B,0,0); +DEFINE_MAPIGUID(IID_IMAPIFolder,0x2030C,0,0); +DEFINE_MAPIGUID(IID_IMAPIForm,0x20327,0,0); +DEFINE_MAPIGUID(IID_IMAPIFormAdviseSink,0x2032F,0,0); +DEFINE_MAPIGUID(IID_IMAPIFormContainer,0x2032E,0,0); +DEFINE_MAPIGUID(IID_IMAPIFormFactory,0x20350,0,0); +DEFINE_MAPIGUID(IID_IMAPIFormInfo,0x20324,0,0); +DEFINE_MAPIGUID(IID_IMAPIFormMgr,0x20322,0,0); +DEFINE_MAPIGUID(IID_IMAPIFormProp,0x2032D,0,0); +DEFINE_MAPIGUID(IID_IMAPIMessageSite,0x20370,0,0); +DEFINE_MAPIGUID(IID_IMAPIProgress,0x2031F,0,0); +DEFINE_MAPIGUID(IID_IMAPIProp,0x20303,0,0); +DEFINE_MAPIGUID(IID_IMAPIPropData,0x2031A,0,0); +DEFINE_MAPIGUID(IID_IMAPISession,0x20300,0,0); +DEFINE_MAPIGUID(IID_IMAPISpoolerInit,0x20317,0,0); +DEFINE_MAPIGUID(IID_IMAPISpoolerService,0x2031E,0,0); +DEFINE_MAPIGUID(IID_IMAPISpoolerSession,0x20318,0,0); +DEFINE_MAPIGUID(IID_IMAPIStatus,0x20305,0,0); +DEFINE_MAPIGUID(IID_IMAPISup,0x2030F,0,0); +DEFINE_MAPIGUID(IID_IMAPITable,0x20301,0,0); +DEFINE_MAPIGUID(IID_IMAPITableData,0x20316,0,0); +DEFINE_MAPIGUID(IID_IMAPIViewAdviseSink,0x2032B,0,0); +DEFINE_MAPIGUID(IID_IMAPIViewContext,0x20321,0,0); +DEFINE_MAPIGUID(IID_IMessage,0x20307,0,0); +DEFINE_MAPIGUID(IID_IMsgServiceAdmin,0x2031D,0,0); +DEFINE_MAPIGUID(IID_IMsgStore,0x20306,0,0); +DEFINE_MAPIGUID(IID_IMSLogon,0x20313,0,0); +DEFINE_MAPIGUID(IID_IMSProvider,0x20310,0,0); +DEFINE_MAPIGUID(IID_IPersistMessage,0x2032A,0,0); +DEFINE_MAPIGUID(IID_IProfAdmin,0x2031C,0,0); +DEFINE_MAPIGUID(IID_IProfSect,0x20304,0,0); +DEFINE_MAPIGUID(IID_IProviderAdmin,0x20325,0,0); +DEFINE_MAPIGUID(IID_ISpoolerHook,0x20320,0,0); +DEFINE_MAPIGUID(IID_IStreamDocfile,0x2032C,0,0); +DEFINE_MAPIGUID(IID_IStreamTnef,0x20330,0,0); +DEFINE_MAPIGUID(IID_ITNEF,0x20319,0,0); +DEFINE_MAPIGUID(IID_IXPLogon,0x20315,0,0); +DEFINE_MAPIGUID(IID_IXPProvider,0x20312,0,0); +DEFINE_MAPIGUID(MUID_PROFILE_INSTANCE,0x20385,0,0); +DEFINE_MAPIGUID(PS_MAPI,0x20328,0,0); +DEFINE_MAPIGUID(PS_PUBLIC_STRINGS,0x20329,0,0); +DEFINE_MAPIGUID(PS_ROUTING_ADDRTYPE,0x20381,0,0); +DEFINE_MAPIGUID(PS_ROUTING_DISPLAY_NAME,0x20382,0,0); +DEFINE_MAPIGUID(PS_ROUTING_EMAIL_ADDRESSES,0x20380,0,0); +DEFINE_MAPIGUID(PS_ROUTING_ENTRYID,0x20383,0,0); +DEFINE_MAPIGUID(PS_ROUTING_SEARCH_KEY,0x20384,0,0); + +#endif/* MAPIGUID_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapitags.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapitags.h new file mode 100644 index 0000000..54ec8b0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapitags.h @@ -0,0 +1,814 @@ +/* + * MAPI property tag declarations + * + * Copyright 2004 Jon Griffiths + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef MAPITAGS_H +#define MAPITAGS_H + +#define FIsTransmittable(t) (PROP_ID(t) < 0x0E00 || PROP_ID(t) >= 0x8000 || \ + (PROP_ID(t) >= 0x1000 && PROP_ID(t) < 0x6000) || \ + (PROP_ID(t) >= 0x6800 && PROP_ID(t) < 0x7C00)) + +#define PR_ACKNOWLEDGEMENT_MODE PROP_TAG(PT_I4,0x01) +#define PR_ALTERNATE_RECIPIENT_ALLOWED PROP_TAG(PT_BOOLEAN,0x02) +#define PR_AUTHORIZING_USERS PROP_TAG(PT_BINARY,0x03) +/* Comment on an automatically forwarded message */ +#define PR_AUTO_FORWARD_COMMENT_W PROP_TAG(PT_UNICODE,0x04) +#define PR_AUTO_FORWARD_COMMENT_A PROP_TAG(PT_STRING8,0x04) +#define PR_AUTO_FORWARD_COMMENT WINELIB_NAME_AW(PR_AUTO_FORWARD_COMMENT_) +/* Whether a message has been automatically forwarded */ +#define PR_AUTO_FORWARDED PROP_TAG(PT_BOOLEAN,0x05) +#define PR_CONTENT_CONFIDENTIALITY_ALGORITHM_ID PROP_TAG(PT_BINARY,0x06) +#define PR_CONTENT_CORRELATOR PROP_TAG(PT_BINARY,0x07) +#define PR_CONTENT_IDENTIFIER_W PROP_TAG(PT_UNICODE,0x08) +#define PR_CONTENT_IDENTIFIER_A PROP_TAG(PT_STRING8,0x08) +#define PR_CONTENT_IDENTIFIER WINELIB_NAME_AW(PR_CONTENT_IDENTIFIER_) +/* MIME content length */ +#define PR_CONTENT_LENGTH PROP_TAG(PT_I4,0x09) +#define PR_CONTENT_RETURN_REQUESTED PROP_TAG(PT_BOOLEAN,0x0A) +#define PR_CONVERSATION_KEY PROP_TAG(PT_BINARY,0x0B) +#define PR_CONVERSION_EITS PROP_TAG(PT_BINARY,0x0C) +#define PR_CONVERSION_WITH_LOSS_PROHIBITED PROP_TAG(PT_BOOLEAN,0x0D) +#define PR_CONVERTED_EITS PROP_TAG(PT_BINARY,0x0E) +/* Time to deliver for delayed delivery messages */ +#define PR_DEFERRED_DELIVERY_TIME PROP_TAG(PT_SYSTIME,0x0F) +#define PR_DELIVER_TIME PROP_TAG(PT_SYSTIME,0x10) +/* Reason a message was discarded */ +#define PR_DISCARD_REASON PROP_TAG(PT_I4,0x11) +#define PR_DISCLOSURE_OF_RECIPIENTS PROP_TAG(PT_BOOLEAN,0x12) +#define PR_DL_EXPANSION_HISTORY PROP_TAG(PT_BINARY,0x13) +#define PR_DL_EXPANSION_PROHIBITED PROP_TAG(PT_BOOLEAN,0x14) +#define PR_EXPIRY_TIME PROP_TAG(PT_SYSTIME,0x15) +#define PR_IMPLICIT_CONVERSION_PROHIBITED PROP_TAG(PT_BOOLEAN,0x16) +/* Message importance */ +#define PR_IMPORTANCE PROP_TAG(PT_I4,0x17) +#define PR_IPM_ID PROP_TAG(PT_BINARY,0x18) +#define PR_LATEST_DELIVERY_TIME PROP_TAG(PT_SYSTIME,0x19) +#define PR_MESSAGE_CLASS_W PROP_TAG(PT_UNICODE,0x1A) +#define PR_MESSAGE_CLASS_A PROP_TAG(PT_STRING8,0x1A) +#define PR_MESSAGE_CLASS WINELIB_NAME_AW(PR_MESSAGE_CLASS_) +#define PR_MESSAGE_DELIVERY_ID PROP_TAG(PT_BINARY,0x1B) +#define PR_MESSAGE_SECURITY_LABEL PROP_TAG(PT_BINARY,0x1E) +#define PR_OBSOLETED_IPMS PROP_TAG(PT_BINARY,0x1F) +/* Person a message was originally for */ +#define PR_ORIGINALLY_INTENDED_RECIPIENT_NAME PROP_TAG(PT_BINARY,0x20) +#define PR_ORIGINAL_EITS PROP_TAG(PT_BINARY,0x21) +#define PR_ORIGINATOR_CERTIFICATE PROP_TAG(PT_BINARY,0x22) +#define PR_ORIGINATOR_DELIVERY_REPORT_REQUESTED PROP_TAG(PT_BOOLEAN,0x23) +/* Address of the message sender */ +#define PR_ORIGINATOR_RETURN_ADDRESS PROP_TAG(PT_BINARY,0x24) +#define PR_PARENT_KEY PROP_TAG(PT_BINARY,0x25) +#define PR_PRIORITY PROP_TAG(PT_I4,0x26) +#define PR_ORIGIN_CHECK PROP_TAG(PT_BINARY,0x27) +#define PR_PROOF_OF_SUBMISSION_REQUESTED PROP_TAG(PT_BOOLEAN,0x28) +/* Whether a read receipt is desired */ +#define PR_READ_RECEIPT_REQUESTED PROP_TAG(PT_BOOLEAN,0x29) +/* Time a message was received */ +#define PR_RECEIPT_TIME PROP_TAG(PT_SYSTIME,0x2A) +#define PR_RECIPIENT_REASSIGNMENT_PROHIBITED PROP_TAG(PT_BOOLEAN,0x2B) +#define PR_REDIRECTION_HISTORY PROP_TAG(PT_BINARY,0x2C) +#define PR_RELATED_IPMS PROP_TAG(PT_BINARY,0x2D) +/* Sensitivity of the original message */ +#define PR_ORIGINAL_SENSITIVITY PROP_TAG(PT_I4,0x2E) +#define PR_LANGUAGES_W PROP_TAG(PT_UNICODE,0x2F) +#define PR_LANGUAGES_A PROP_TAG(PT_STRING8,0x2F) +#define PR_LANGUAGES WINELIB_NAME_AW(PR_LANGUAGES_) +#define PR_REPLY_TIME PROP_TAG(PT_SYSTIME,0x30) +#define PR_REPORT_TAG PROP_TAG(PT_BINARY,0x31) +#define PR_REPORT_TIME PROP_TAG(PT_SYSTIME,0x32) +#define PR_RETURNED_IPM PROP_TAG(PT_BOOLEAN,0x33) +#define PR_SECURITY PROP_TAG(PT_I4,0x34) +#define PR_INCOMPLETE_COPY PROP_TAG(PT_BOOLEAN,0x35) +#define PR_SENSITIVITY PROP_TAG(PT_I4,0x36) +/* The message subject */ +#define PR_SUBJECT_W PROP_TAG(PT_UNICODE,0x37) +#define PR_SUBJECT_A PROP_TAG(PT_STRING8,0x37) +#define PR_SUBJECT WINELIB_NAME_AW(PR_SUBJECT_) +#define PR_SUBJECT_IPM PROP_TAG(PT_BINARY,0x38) +#define PR_CLIENT_SUBMIT_TIME PROP_TAG(PT_SYSTIME,0x39) +#define PR_REPORT_NAME_W PROP_TAG(PT_UNICODE,0x3A) +#define PR_REPORT_NAME_A PROP_TAG(PT_STRING8,0x3A) +#define PR_REPORT_NAME WINELIB_NAME_AW(PR_REPORT_NAME_) +#define PR_SENT_REPRESENTING_SEARCH_KEY PROP_TAG(PT_BINARY,0x3B) +#define PR_X400_CONTENT_TYPE PROP_TAG(PT_BINARY,0x3C) +#define PR_SUBJECT_PREFIX_W PROP_TAG(PT_UNICODE,0x3D) +#define PR_SUBJECT_PREFIX_A PROP_TAG(PT_STRING8,0x3D) +#define PR_SUBJECT_PREFIX WINELIB_NAME_AW(PR_SUBJECT_PREFIX_) +#define PR_NON_RECEIPT_REASON PROP_TAG(PT_I4,0x3E) +#define PR_RECEIVED_BY_ENTRYID PROP_TAG(PT_BINARY,0x3F) +/* Received by: entry */ +#define PR_RECEIVED_BY_NAME_W PROP_TAG(PT_UNICODE,0x40) +#define PR_RECEIVED_BY_NAME_A PROP_TAG(PT_STRING8,0x40) +#define PR_RECEIVED_BY_NAME WINELIB_NAME_AW(PR_RECEIVED_BY_NAME_) +#define PR_SENT_REPRESENTING_ENTRYID PROP_TAG(PT_BINARY,0x41) +#define PR_SENT_REPRESENTING_NAME_W PROP_TAG(PT_UNICODE,0x42) +#define PR_SENT_REPRESENTING_NAME_A PROP_TAG(PT_STRING8,0x42) +#define PR_SENT_REPRESENTING_NAME WINELIB_NAME_AW(PR_SENT_REPRESENTING_NAME_) +#define PR_RCVD_REPRESENTING_ENTRYID PROP_TAG(PT_BINARY,0x43) +#define PR_RCVD_REPRESENTING_NAME_W PROP_TAG(PT_UNICODE,0x44) +#define PR_RCVD_REPRESENTING_NAME_A PROP_TAG(PT_STRING8,0x44) +#define PR_RCVD_REPRESENTING_NAME WINELIB_NAME_AW(PR_RCVD_REPRESENTING_NAME_) +#define PR_REPORT_ENTRYID PROP_TAG(PT_BINARY,0x45) +#define PR_READ_RECEIPT_ENTRYID PROP_TAG(PT_BINARY,0x46) +#define PR_MESSAGE_SUBMISSION_ID PROP_TAG(PT_BINARY,0x47) +#define PR_PROVIDER_SUBMIT_TIME PROP_TAG(PT_SYSTIME,0x48) +/* Subject of the original message */ +#define PR_ORIGINAL_SUBJECT_W PROP_TAG(PT_UNICODE,0x49) +#define PR_ORIGINAL_SUBJECT_A PROP_TAG(PT_STRING8,0x49) +#define PR_ORIGINAL_SUBJECT WINELIB_NAME_AW(PR_ORIGINAL_SUBJECT_) +#define PR_DISC_VAL PROP_TAG(PT_BOOLEAN,0x4A) +#define PR_ORIG_MESSAGE_CLASS_W PROP_TAG(PT_UNICODE,0x4B) +#define PR_ORIG_MESSAGE_CLASS_A PROP_TAG(PT_STRING8,0x4B) +#define PR_ORIG_MESSAGE_CLASS WINELIB_NAME_AW(PR_ORIG_MESSAGE_CLASS_) +#define PR_ORIGINAL_AUTHOR_ENTRYID PROP_TAG(PT_BINARY,0x4C) +/* Author of the original message */ +#define PR_ORIGINAL_AUTHOR_NAME_W PROP_TAG(PT_UNICODE,0x4D) +#define PR_ORIGINAL_AUTHOR_NAME_A PROP_TAG(PT_STRING8,0x4D) +#define PR_ORIGINAL_AUTHOR_NAME WINELIB_NAME_AW(PR_ORIGINAL_AUTHOR_NAME_) +/* Time the original message was submitted */ +#define PR_ORIGINAL_SUBMIT_TIME PROP_TAG(PT_SYSTIME,0x4E) +#define PR_REPLY_RECIPIENT_ENTRIES PROP_TAG(PT_BINARY,0x4F) +#define PR_REPLY_RECIPIENT_NAMES_W PROP_TAG(PT_UNICODE,0x50) +#define PR_REPLY_RECIPIENT_NAMES_A PROP_TAG(PT_STRING8,0x50) +#define PR_REPLY_RECIPIENT_NAMES WINELIB_NAME_AW(PR_REPLY_RECIPIENT_NAMES_) +#define PR_RECEIVED_BY_SEARCH_KEY PROP_TAG(PT_BINARY,0x51) +#define PR_RCVD_REPRESENTING_SEARCH_KEY PROP_TAG(PT_BINARY,0x52) +#define PR_READ_RECEIPT_SEARCH_KEY PROP_TAG(PT_BINARY,0x53) +#define PR_REPORT_SEARCH_KEY PROP_TAG(PT_BINARY,0x54) +#define PR_ORIGINAL_DELIVERY_TIME PROP_TAG(PT_SYSTIME,0x55) +#define PR_ORIGINAL_AUTHOR_SEARCH_KEY PROP_TAG(PT_BINARY,0x56) +#define PR_MESSAGE_TO_ME PROP_TAG(PT_BOOLEAN,0x57) +#define PR_MESSAGE_CC_ME PROP_TAG(PT_BOOLEAN,0x58) +#define PR_MESSAGE_RECIP_ME PROP_TAG(PT_BOOLEAN,0x59) +/* Sender of the original message */ +#define PR_ORIGINAL_SENDER_NAME_W PROP_TAG(PT_UNICODE,0x5A) +#define PR_ORIGINAL_SENDER_NAME_A PROP_TAG(PT_STRING8,0x5A) +#define PR_ORIGINAL_SENDER_NAME WINELIB_NAME_AW(PR_ORIGINAL_SENDER_NAME_) +#define PR_ORIGINAL_SENDER_ENTRYID PROP_TAG(PT_BINARY,0x5B) +#define PR_ORIGINAL_SENDER_SEARCH_KEY PROP_TAG(PT_BINARY,0x5C) +#define PR_ORIGINAL_SENT_REPRESENTING_NAME_W PROP_TAG(PT_UNICODE,0x5D) +#define PR_ORIGINAL_SENT_REPRESENTING_NAME_A PROP_TAG(PT_STRING8,0x5D) +#define PR_ORIGINAL_SENT_REPRESENTING_NAME WINELIB_NAME_AW(PR_ORIGINAL_SENT_REPRESENTING_NAME_) +#define PR_ORIGINAL_SENT_REPRESENTING_ENTRYID PROP_TAG(PT_BINARY,0x5E) +#define PR_ORIGINAL_SENT_REPRESENTING_SEARCH_KEY PROP_TAG(PT_BINARY,0x5F) +#define PR_START_DATE PROP_TAG(PT_SYSTIME,0x60) +#define PR_END_DATE PROP_TAG(PT_SYSTIME,0x61) +#define PR_OWNER_APPT_ID PROP_TAG(PT_I4,0x62) +/* Whether a response to the message is desired */ +#define PR_RESPONSE_REQUESTED PROP_TAG(PT_BOOLEAN,0x63) +#define PR_SENT_REPRESENTING_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x64) +#define PR_SENT_REPRESENTING_ADDRTYPE_A PROP_TAG(PT_STRING8,0x64) +#define PR_SENT_REPRESENTING_ADDRTYPE WINELIB_NAME_AW(PR_SENT_REPRESENTING_ADDRTYPE_) +#define PR_SENT_REPRESENTING_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x65) +#define PR_SENT_REPRESENTING_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x65) +#define PR_SENT_REPRESENTING_EMAIL_ADDRESS WINELIB_NAME_AW(PR_SENT_REPRESENTING_EMAIL_ADDRESS_) +#define PR_ORIGINAL_SENDER_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x66) +#define PR_ORIGINAL_SENDER_ADDRTYPE_A PROP_TAG(PT_STRING8,0x66) +#define PR_ORIGINAL_SENDER_ADDRTYPE WINELIB_NAME_AW(PR_ORIGINAL_SENDER_ADDRTYPE_) +/* Email of the original message sender */ +#define PR_ORIGINAL_SENDER_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x67) +#define PR_ORIGINAL_SENDER_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x67) +#define PR_ORIGINAL_SENDER_EMAIL_ADDRESS WINELIB_NAME_AW(PR_ORIGINAL_SENDER_EMAIL_ADDRESS_) +#define PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x68) +#define PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_A PROP_TAG(PT_STRING8,0x68) +#define PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE WINELIB_NAME_AW(PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_) +#define PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x69) +#define PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x69) +#define PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS WINELIB_NAME_AW(PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_) +#define PR_CONVERSATION_TOPIC_W PROP_TAG(PT_UNICODE,0x70) +#define PR_CONVERSATION_TOPIC_A PROP_TAG(PT_STRING8,0x70) +#define PR_CONVERSATION_TOPIC WINELIB_NAME_AW(PR_CONVERSATION_TOPIC_) +#define PR_CONVERSATION_INDEX PROP_TAG(PT_BINARY,0x71) +#define PR_ORIGINAL_DISPLAY_BCC_W PROP_TAG(PT_UNICODE,0x72) +#define PR_ORIGINAL_DISPLAY_BCC_A PROP_TAG(PT_STRING8,0x72) +#define PR_ORIGINAL_DISPLAY_BCC WINELIB_NAME_AW(PR_ORIGINAL_DISPLAY_BCC_) +#define PR_ORIGINAL_DISPLAY_CC_W PROP_TAG(PT_UNICODE,0x73) +#define PR_ORIGINAL_DISPLAY_CC_A PROP_TAG(PT_STRING8,0x73) +#define PR_ORIGINAL_DISPLAY_CC WINELIB_NAME_AW(PR_ORIGINAL_DISPLAY_CC_) +#define PR_ORIGINAL_DISPLAY_TO_W PROP_TAG(PT_UNICODE,0x74) +#define PR_ORIGINAL_DISPLAY_TO_A PROP_TAG(PT_STRING8,0x74) +#define PR_ORIGINAL_DISPLAY_TO WINELIB_NAME_AW(PR_ORIGINAL_DISPLAY_TO_) +#define PR_RECEIVED_BY_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x75) +#define PR_RECEIVED_BY_ADDRTYPE_A PROP_TAG(PT_STRING8,0x75) +#define PR_RECEIVED_BY_ADDRTYPE WINELIB_NAME_AW(PR_RECEIVED_BY_ADDRTYPE_) +#define PR_RECEIVED_BY_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x76) +#define PR_RECEIVED_BY_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x76) +#define PR_RECEIVED_BY_EMAIL_ADDRESS WINELIB_NAME_AW(PR_RECEIVED_BY_EMAIL_ADDRESS_) +#define PR_RCVD_REPRESENTING_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x77) +#define PR_RCVD_REPRESENTING_ADDRTYPE_A PROP_TAG(PT_STRING8,0x77) +#define PR_RCVD_REPRESENTING_ADDRTYPE WINELIB_NAME_AW(PR_RCVD_REPRESENTING_ADDRTYPE_) +#define PR_RCVD_REPRESENTING_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x78) +#define PR_RCVD_REPRESENTING_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x78) +#define PR_RCVD_REPRESENTING_EMAIL_ADDRESS WINELIB_NAME_AW(PR_RCVD_REPRESENTING_EMAIL_ADDRESS_) +#define PR_ORIGINAL_AUTHOR_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x79) +#define PR_ORIGINAL_AUTHOR_ADDRTYPE_A PROP_TAG(PT_STRING8,0x79) +#define PR_ORIGINAL_AUTHOR_ADDRTYPE WINELIB_NAME_AW(PR_ORIGINAL_AUTHOR_ADDRTYPE_) +#define PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x7A) +#define PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x7A) +#define PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS WINELIB_NAME_AW(PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_) +#define PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x7B) +#define PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_A PROP_TAG(PT_STRING8,0x7B) +#define PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE WINELIB_NAME_AW(PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_) +#define PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x7C) +#define PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x7C) +#define PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS WINELIB_NAME_AW(PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_) +#define PR_TRANSPORT_MESSAGE_HEADERS_W PROP_TAG(PT_UNICODE,0x7D) +#define PR_TRANSPORT_MESSAGE_HEADERS_A PROP_TAG(PT_STRING8,0x7D) +#define PR_TRANSPORT_MESSAGE_HEADERS WINELIB_NAME_AW(PR_TRANSPORT_MESSAGE_HEADERS_) +#define PR_DELEGATION PROP_TAG(PT_BINARY,0x7E) +#define PR_TNEF_CORRELATION_KEY PROP_TAG(PT_BINARY,0x7F) +#define PR_BODY_W PROP_TAG(PT_UNICODE,0x1000) +#define PR_BODY_A PROP_TAG(PT_STRING8,0x1000) +#define PR_BODY WINELIB_NAME_AW(PR_BODY_) +#define PR_REPORT_TEXT_W PROP_TAG(PT_UNICODE,0x1001) +#define PR_REPORT_TEXT_A PROP_TAG(PT_STRING8,0x1001) +#define PR_REPORT_TEXT WINELIB_NAME_AW(PR_REPORT_TEXT_) +#define PR_ORIGINATOR_AND_DL_EXPANSION_HISTORY PROP_TAG(PT_BINARY,0x1002) +#define PR_REPORTING_DL_NAME PROP_TAG(PT_BINARY,0x1003) +#define PR_REPORTING_MTA_CERTIFICATE PROP_TAG(PT_BINARY,0x1004) +#define PR_RTF_SYNC_BODY_CRC PROP_TAG(PT_I4,0x1006) +#define PR_RTF_SYNC_BODY_COUNT PROP_TAG(PT_I4,0x1007) +#define PR_RTF_SYNC_BODY_TAG_W PROP_TAG(PT_UNICODE,0x1008) +#define PR_RTF_SYNC_BODY_TAG_A PROP_TAG(PT_STRING8,0x1008) +#define PR_RTF_SYNC_BODY_TAG WINELIB_NAME_AW(PR_RTF_SYNC_BODY_TAG_) +#define PR_RTF_COMPRESSED PROP_TAG(PT_BINARY,0x1009) +#define PR_RTF_SYNC_PREFIX_COUNT PROP_TAG(PT_I4,0x1010) +#define PR_RTF_SYNC_TRAILING_COUNT PROP_TAG(PT_I4,0x1011) +#define PR_ORIGINALLY_INTENDED_RECIP_ENTRYID PROP_TAG(PT_BINARY,0x1012) +#define PR_CONTENT_INTEGRITY_CHECK PROP_TAG(PT_BINARY,0x0C00) +#define PR_EXPLICIT_CONVERSION PROP_TAG(PT_I4,0x0C01) +#define PR_IPM_RETURN_REQUESTED PROP_TAG(PT_BOOLEAN,0x0C02) +#define PR_MESSAGE_TOKEN PROP_TAG(PT_BINARY,0x0C03) +#define PR_NDR_REASON_CODE PROP_TAG(PT_I4,0x0C04) +#define PR_NDR_DIAG_CODE PROP_TAG(PT_I4,0x0C05) +#define PR_NON_RECEIPT_NOTIFICATION_REQUESTED PROP_TAG(PT_BOOLEAN,0x0C06) +#define PR_DELIVERY_POINT PROP_TAG(PT_I4,0x0C07) +#define PR_ORIGINATOR_NON_DELIVERY_REPORT_REQUESTED PROP_TAG(PT_BOOLEAN,0x0C08) +#define PR_ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT PROP_TAG(PT_BINARY,0x0C09) +#define PR_PHYSICAL_DELIVERY_BUREAU_FAX_DELIVERY PROP_TAG(PT_BOOLEAN,0x0C0A) +#define PR_PHYSICAL_DELIVERY_MODE PROP_TAG(PT_I4,0x0C0B) +#define PR_PHYSICAL_DELIVERY_REPORT_REQUEST PROP_TAG(PT_I4,0x0C0C) +#define PR_PHYSICAL_FORWARDING_ADDRESS PROP_TAG(PT_BINARY,0x0C0D) +#define PR_PHYSICAL_FORWARDING_ADDRESS_REQUESTED PROP_TAG(PT_BOOLEAN,0x0C0E) +#define PR_PHYSICAL_FORWARDING_PROHIBITED PROP_TAG(PT_BOOLEAN,0x0C0F) +#define PR_PHYSICAL_RENDITION_ATTRIBUTES PROP_TAG(PT_BINARY,0x0C10) +#define PR_PROOF_OF_DELIVERY PROP_TAG(PT_BINARY,0x0C11) +#define PR_PROOF_OF_DELIVERY_REQUESTED PROP_TAG(PT_BOOLEAN,0x0C12) +#define PR_RECIPIENT_CERTIFICATE PROP_TAG(PT_BINARY,0x0C13) +#define PR_RECIPIENT_NUMBER_FOR_ADVICE_W PROP_TAG(PT_UNICODE,0x0C14) +#define PR_RECIPIENT_NUMBER_FOR_ADVICE_A PROP_TAG(PT_STRING8,0x0C14) +#define PR_RECIPIENT_NUMBER_FOR_ADVICE WINELIB_NAME_AW(PR_RECIPIENT_NUMBER_FOR_ADVICE_) +#define PR_RECIPIENT_TYPE PROP_TAG(PT_I4,0x0C15) +#define PR_REGISTERED_MAIL_TYPE PROP_TAG(PT_I4,0x0C16) +#define PR_REPLY_REQUESTED PROP_TAG(PT_BOOLEAN,0x0C17) +#define PR_REQUESTED_DELIVERY_METHOD PROP_TAG(PT_I4,0x0C18) +#define PR_SENDER_ENTRYID PROP_TAG(PT_BINARY,0x0C19) +#define PR_SENDER_NAME_W PROP_TAG(PT_UNICODE,0x0C1A) +#define PR_SENDER_NAME_A PROP_TAG(PT_STRING8,0x0C1A) +#define PR_SENDER_NAME WINELIB_NAME_AW(PR_SENDER_NAME_) +#define PR_SUPPLEMENTARY_INFO_W PROP_TAG(PT_UNICODE,0x0C1B) +#define PR_SUPPLEMENTARY_INFO_A PROP_TAG(PT_STRING8,0x0C1B) +#define PR_SUPPLEMENTARY_INFO WINELIB_NAME_AW(PR_SUPPLEMENTARY_INFO_) +#define PR_TYPE_OF_MTS_USER PROP_TAG(PT_I4,0x0C1C) +#define PR_SENDER_SEARCH_KEY PROP_TAG(PT_BINARY,0x0C1D) +#define PR_SENDER_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x0C1E) +#define PR_SENDER_ADDRTYPE_A PROP_TAG(PT_STRING8,0x0C1E) +#define PR_SENDER_ADDRTYPE WINELIB_NAME_AW(PR_SENDER_ADDRTYPE_) +#define PR_SENDER_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x0C1F) +#define PR_SENDER_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x0C1F) +#define PR_SENDER_EMAIL_ADDRESS WINELIB_NAME_AW(PR_SENDER_EMAIL_ADDRESS_) +#define PR_CURRENT_VERSION PROP_TAG(PT_I8,0x0E00) +#define PR_DELETE_AFTER_SUBMIT PROP_TAG(PT_BOOLEAN,0x0E01) +#define PR_DISPLAY_BCC_W PROP_TAG(PT_UNICODE,0x0E02) +#define PR_DISPLAY_BCC_A PROP_TAG(PT_STRING8,0x0E02) +#define PR_DISPLAY_BCC WINELIB_NAME_AW(PR_DISPLAY_BCC_) +#define PR_DISPLAY_CC_W PROP_TAG(PT_UNICODE,0x0E03) +#define PR_DISPLAY_CC_A PROP_TAG(PT_STRING8,0x0E03) +#define PR_DISPLAY_CC WINELIB_NAME_AW(PR_DISPLAY_CC_) +#define PR_DISPLAY_TO_W PROP_TAG(PT_UNICODE,0x0E04) +#define PR_DISPLAY_TO_A PROP_TAG(PT_STRING8,0x0E04) +#define PR_DISPLAY_TO WINELIB_NAME_AW(PR_DISPLAY_TO_) +#define PR_PARENT_DISPLAY_W PROP_TAG(PT_UNICODE,0x0E05) +#define PR_PARENT_DISPLAY_A PROP_TAG(PT_STRING8,0x0E05) +#define PR_PARENT_DISPLAY WINELIB_NAME_AW(PR_PARENT_DISPLAY_) +#define PR_MESSAGE_DELIVERY_TIME PROP_TAG(PT_SYSTIME,0x0E06) +#define PR_MESSAGE_FLAGS PROP_TAG(PT_I4,0x0E07) +#define PR_MESSAGE_SIZE PROP_TAG(PT_I4,0x0E08) +#define PR_PARENT_ENTRYID PROP_TAG(PT_BINARY,0x0E09) +#define PR_SENTMAIL_ENTRYID PROP_TAG(PT_BINARY,0x0E0A) +#define PR_CORRELATE PROP_TAG(PT_BOOLEAN,0x0E0C) +#define PR_CORRELATE_MTSID PROP_TAG(PT_BINARY,0x0E0D) +#define PR_DISCRETE_VALUES PROP_TAG(PT_BOOLEAN,0x0E0E) +#define PR_RESPONSIBILITY PROP_TAG(PT_BOOLEAN,0x0E0F) +#define PR_SPOOLER_STATUS PROP_TAG(PT_I4,0x0E10) +#define PR_TRANSPORT_STATUS PROP_TAG(PT_I4,0x0E11) +#define PR_MESSAGE_RECIPIENTS PROP_TAG(PT_OBJECT,0x0E12) +#define PR_MESSAGE_ATTACHMENTS PROP_TAG(PT_OBJECT,0x0E13) +#define PR_SUBMIT_FLAGS PROP_TAG(PT_I4,0x0E14) +#define PR_RECIPIENT_STATUS PROP_TAG(PT_I4,0x0E15) +#define PR_TRANSPORT_KEY PROP_TAG(PT_I4,0x0E16) +#define PR_MSG_STATUS PROP_TAG(PT_I4,0x0E17) +#define PR_MESSAGE_DOWNLOAD_TIME PROP_TAG(PT_I4,0x0E18) +#define PR_CREATION_VERSION PROP_TAG(PT_I8,0x0E19) +#define PR_MODIFY_VERSION PROP_TAG(PT_I8,0x0E1A) +#define PR_HASATTACH PROP_TAG(PT_BOOLEAN,0x0E1B) +#define PR_BODY_CRC PROP_TAG(PT_I4, 0x0E1C) +#define PR_NORMALIZED_SUBJECT_W PROP_TAG(PT_UNICODE,0x0E1D) +#define PR_NORMALIZED_SUBJECT_A PROP_TAG(PT_STRING8,0x0E1D) +#define PR_NORMALIZED_SUBJECT WINELIB_NAME_AW(PR_NORMALIZED_SUBJECT_) +#define PR_RTF_IN_SYNC PROP_TAG(PT_BOOLEAN,0x0E1F) +#define PR_ATTACH_SIZE PROP_TAG(PT_I4,0x0E20) +#define PR_ATTACH_NUM PROP_TAG(PT_I4,0x0E21) +#define PR_PREPROCESS PROP_TAG(PT_BOOLEAN,0x0E22) +#define PR_ORIGINATING_MTA_CERTIFICATE PROP_TAG(PT_BINARY,0x0E25) +#define PR_PROOF_OF_SUBMISSION PROP_TAG(PT_BINARY,0x0E26) +/* A unique identifier for editing the properties of a MAPI object */ +#define PR_ENTRYID PROP_TAG(PT_BINARY,0x0FFF) +/* The type of an object */ +#define PR_OBJECT_TYPE PROP_TAG(PT_I4,0x0FFE) +#define PR_ICON PROP_TAG(PT_BINARY,0x0FFD) +#define PR_MINI_ICON PROP_TAG(PT_BINARY,0x0FFC) +#define PR_STORE_ENTRYID PROP_TAG(PT_BINARY,0x0FFB) +#define PR_STORE_RECORD_KEY PROP_TAG(PT_BINARY,0x0FFA) +/* Binary identifier for an individual object */ +#define PR_RECORD_KEY PROP_TAG(PT_BINARY,0x0FF9) +#define PR_MAPPING_SIGNATURE PROP_TAG(PT_BINARY,0x0FF8) +#define PR_ACCESS_LEVEL PROP_TAG(PT_I4,0x0FF7) +/* The primary key of a column in a table */ +#define PR_INSTANCE_KEY PROP_TAG(PT_BINARY,0x0FF6) +#define PR_ROW_TYPE PROP_TAG(PT_I4,0x0FF5) +#define PR_ACCESS PROP_TAG(PT_I4,0x0FF4) +#define PR_ROWID PROP_TAG(PT_I4,0x3000) +/* The name to display for a given MAPI object */ +#define PR_DISPLAY_NAME_W PROP_TAG(PT_UNICODE,0x3001) +#define PR_DISPLAY_NAME_A PROP_TAG(PT_STRING8,0x3001) +#define PR_DISPLAY_NAME WINELIB_NAME_AW(PR_DISPLAY_NAME_) +#define PR_ADDRTYPE_W PROP_TAG(PT_UNICODE,0x3002) +#define PR_ADDRTYPE_A PROP_TAG(PT_STRING8,0x3002) +#define PR_ADDRTYPE WINELIB_NAME_AW(PR_ADDRTYPE_) +/* An email address */ +#define PR_EMAIL_ADDRESS_W PROP_TAG(PT_UNICODE,0x3003) +#define PR_EMAIL_ADDRESS_A PROP_TAG(PT_STRING8,0x3003) +#define PR_EMAIL_ADDRESS WINELIB_NAME_AW(PR_EMAIL_ADDRESS_) +/* A comment field */ +#define PR_COMMENT_W PROP_TAG(PT_UNICODE,0x3004) +#define PR_COMMENT_A PROP_TAG(PT_STRING8,0x3004) +#define PR_COMMENT WINELIB_NAME_AW(PR_COMMENT_) +#define PR_DEPTH PROP_TAG(PT_I4,0x3005) +/* Provider-defined display name for a service provider */ +#define PR_PROVIDER_DISPLAY_W PROP_TAG(PT_UNICODE,0x3006) +#define PR_PROVIDER_DISPLAY_A PROP_TAG(PT_STRING8,0x3006) +#define PR_PROVIDER_DISPLAY WINELIB_NAME_AW(PR_PROVIDER_DISPLAY_) +/* The time an object was created */ +#define PR_CREATION_TIME PROP_TAG(PT_SYSTIME,0x3007) +/* The time an object was last modified */ +#define PR_LAST_MODIFICATION_TIME PROP_TAG(PT_SYSTIME,0x3008) +/* Flags describing a service provider, message service, or status object */ +#define PR_RESOURCE_FLAGS PROP_TAG(PT_I4,0x3009) +/* The name of a provider dll, minus any "32" suffix and ".dll" */ +#define PR_PROVIDER_DLL_NAME_W PROP_TAG(PT_UNICODE,0x300A) +#define PR_PROVIDER_DLL_NAME_A PROP_TAG(PT_STRING8,0x300A) +#define PR_PROVIDER_DLL_NAME WINELIB_NAME_AW(PR_PROVIDER_DLL_NAME_) +#define PR_SEARCH_KEY PROP_TAG(PT_BINARY,0x300B) +#define PR_PROVIDER_UID PROP_TAG(PT_BINARY,0x300C) +#define PR_PROVIDER_ORDINAL PROP_TAG(PT_I4,0x300D) +#define PR_FORM_VERSION_W PROP_TAG(PT_UNICODE,0x3301) +#define PR_FORM_VERSION_A PROP_TAG(PT_STRING8,0x3301) +#define PR_FORM_VERSION WINELIB_NAME_AW(PR_FORM_VERSION_) +#define PR_FORM_CLSID PROP_TAG(PT_CLSID,0x3302) +#define PR_FORM_CONTACT_NAME_W PROP_TAG(PT_UNICODE,0x3303) +#define PR_FORM_CONTACT_NAME_A PROP_TAG(PT_STRING8,0x3303) +#define PR_FORM_CONTACT_NAME WINELIB_NAME_AW(PR_FORM_CONTACT_NAME_) +#define PR_FORM_CATEGORY_W PROP_TAG(PT_UNICODE,0x3304) +#define PR_FORM_CATEGORY_A PROP_TAG(PT_STRING8,0x3304) +#define PR_FORM_CATEGORY WINELIB_NAME_AW(PR_FORM_CATEGORY_) +#define PR_FORM_CATEGORY_SUB_W PROP_TAG(PT_UNICODE,0x3305) +#define PR_FORM_CATEGORY_SUB_A PROP_TAG(PT_STRING8,0x3305) +#define PR_FORM_CATEGORY_SUB WINELIB_NAME_AW(PR_FORM_CATEGORY_SUB_) +#define PR_FORM_HOST_MAP PROP_TAG(PT_MV_LONG,0x3306) +#define PR_FORM_HIDDEN PROP_TAG(PT_BOOLEAN,0x3307) +#define PR_FORM_DESIGNER_NAME_W PROP_TAG(PT_UNICODE,0x3308) +#define PR_FORM_DESIGNER_NAME_A PROP_TAG(PT_STRING8,0x3308) +#define PR_FORM_DESIGNER_NAME WINELIB_NAME_AW(PR_FORM_DESIGNER_NAME_) +#define PR_FORM_DESIGNER_GUID PROP_TAG(PT_CLSID,0x3309) +#define PR_FORM_MESSAGE_BEHAVIOR PROP_TAG(PT_I4,0x330A) +/* Is this row the default message store? */ +#define PR_DEFAULT_STORE PROP_TAG(PT_BOOLEAN,0x3400) +#define PR_STORE_SUPPORT_MASK PROP_TAG(PT_I4,0x340D) +#define PR_STORE_STATE PROP_TAG(PT_I4,0x340E) +#define PR_IPM_SUBTREE_SEARCH_KEY PROP_TAG(PT_BINARY,0x3410) +#define PR_IPM_OUTBOX_SEARCH_KEY PROP_TAG(PT_BINARY,0x3411) +#define PR_IPM_WASTEBASKET_SEARCH_KEY PROP_TAG(PT_BINARY,0x3412) +#define PR_IPM_SENTMAIL_SEARCH_KEY PROP_TAG(PT_BINARY,0x3413) +/* Provider-defined message store type */ +#define PR_MDB_PROVIDER PROP_TAG(PT_BINARY,0x3414) +#define PR_RECEIVE_FOLDER_SETTINGS PROP_TAG(PT_OBJECT,0x3415) +#define PR_VALID_FOLDER_MASK PROP_TAG(PT_I4,0x35DF) +#define PR_IPM_SUBTREE_ENTRYID PROP_TAG(PT_BINARY,0x35E0) +#define PR_IPM_OUTBOX_ENTRYID PROP_TAG(PT_BINARY,0x35E2) +#define PR_IPM_WASTEBASKET_ENTRYID PROP_TAG(PT_BINARY,0x35E3) +#define PR_IPM_SENTMAIL_ENTRYID PROP_TAG(PT_BINARY,0x35E4) +#define PR_VIEWS_ENTRYID PROP_TAG(PT_BINARY,0x35E5) +#define PR_COMMON_VIEWS_ENTRYID PROP_TAG(PT_BINARY,0x35E6) +#define PR_FINDER_ENTRYID PROP_TAG(PT_BINARY,0x35E7) +#define PR_CONTAINER_FLAGS PROP_TAG(PT_I4,0x3600) +#define PR_FOLDER_TYPE PROP_TAG(PT_I4,0x3601) +#define PR_CONTENT_COUNT PROP_TAG(PT_I4,0x3602) +#define PR_CONTENT_UNREAD PROP_TAG(PT_I4,0x3603) +#define PR_CREATE_TEMPLATES PROP_TAG(PT_OBJECT,0x3604) +#define PR_DETAILS_TABLE PROP_TAG(PT_OBJECT,0x3605) +#define PR_SEARCH PROP_TAG(PT_OBJECT,0x3607) +#define PR_SELECTABLE PROP_TAG(PT_BOOLEAN,0x3609) +#define PR_SUBFOLDERS PROP_TAG(PT_BOOLEAN,0x360A) +#define PR_STATUS PROP_TAG(PT_I4,0x360B) +#define PR_ANR_W PROP_TAG(PT_UNICODE,0x360C) +#define PR_ANR_A PROP_TAG(PT_STRING8,0x360C) +#define PR_ANR WINELIB_NAME_AW(PR_ANR_) +#define PR_CONTENTS_SORT_ORDER PROP_TAG(PT_MV_LONG,0x360D) +#define PR_CONTAINER_HIERARCHY PROP_TAG(PT_OBJECT,0x360E) +#define PR_CONTAINER_CONTENTS PROP_TAG(PT_OBJECT,0x360F) +#define PR_FOLDER_ASSOCIATED_CONTENTS PROP_TAG(PT_OBJECT,0x3610) +#define PR_DEF_CREATE_DL PROP_TAG(PT_BINARY,0x3611) +#define PR_DEF_CREATE_MAILUSER PROP_TAG(PT_BINARY,0x3612) +#define PR_CONTAINER_CLASS_W PROP_TAG(PT_UNICODE,0x3613) +#define PR_CONTAINER_CLASS_A PROP_TAG(PT_STRING8,0x3613) +#define PR_CONTAINER_CLASS WINELIB_NAME_AW(PR_CONTAINER_CLASS_) +#define PR_CONTAINER_MODIFY_VERSION PROP_TAG(PT_I8,0x3614) +#define PR_AB_PROVIDER_ID PROP_TAG(PT_BINARY,0x3615) +#define PR_DEFAULT_VIEW_ENTRYID PROP_TAG(PT_BINARY,0x3616) +#define PR_ASSOC_CONTENT_COUNT PROP_TAG(PT_I4,0x3617) +#define PR_IPM_DRAFTS_ENTRYID PROP_TAG(PT_BINARY,0x36D7) +#define PR_ATTACHMENT_X400_PARAMETERS PROP_TAG(PT_BINARY,0x3700) +#define PR_ATTACH_DATA_OBJ PROP_TAG(PT_OBJECT,0x3701) +#define PR_ATTACH_DATA_BIN PROP_TAG(PT_BINARY,0x3701) +#define PR_ATTACH_ENCODING PROP_TAG(PT_BINARY,0x3702) +#define PR_ATTACH_EXTENSION_W PROP_TAG(PT_UNICODE,0x3703) +#define PR_ATTACH_EXTENSION_A PROP_TAG(PT_STRING8,0x3703) +#define PR_ATTACH_EXTENSION WINELIB_NAME_AW(PR_ATTACH_EXTENSION_) +#define PR_ATTACH_FILENAME_W PROP_TAG(PT_UNICODE,0x3704) +#define PR_ATTACH_FILENAME_A PROP_TAG(PT_STRING8,0x3704) +#define PR_ATTACH_FILENAME WINELIB_NAME_AW(PR_ATTACH_FILENAME_) +#define PR_ATTACH_METHOD PROP_TAG(PT_I4,0x3705) +#define PR_ATTACH_LONG_FILENAME_W PROP_TAG(PT_UNICODE,0x3707) +#define PR_ATTACH_LONG_FILENAME_A PROP_TAG(PT_STRING8,0x3707) +#define PR_ATTACH_LONG_FILENAME WINELIB_NAME_AW(PR_ATTACH_LONG_FILENAME_) +#define PR_ATTACH_PATHNAME_W PROP_TAG(PT_UNICODE,0x3708) +#define PR_ATTACH_PATHNAME_A PROP_TAG(PT_STRING8,0x3708) +#define PR_ATTACH_PATHNAME WINELIB_NAME_AW(PR_ATTACH_PATHNAME_) +#define PR_ATTACH_RENDERING PROP_TAG(PT_BINARY, 0x3709) +#define PR_ATTACH_TAG PROP_TAG(PT_BINARY,0x370A) +#define PR_RENDERING_POSITION PROP_TAG(PT_I4,0x370B) +#define PR_ATTACH_TRANSPORT_NAME_W PROP_TAG(PT_UNICODE,0x370C) +#define PR_ATTACH_TRANSPORT_NAME_A PROP_TAG(PT_STRING8,0x370C) +#define PR_ATTACH_TRANSPORT_NAME WINELIB_NAME_AW(PR_ATTACH_TRANSPORT_NAME_) +#define PR_ATTACH_LONG_PATHNAME_W PROP_TAG(PT_UNICODE,0x370D) +#define PR_ATTACH_LONG_PATHNAME_A PROP_TAG(PT_STRING8,0x370D) +#define PR_ATTACH_LONG_PATHNAME WINELIB_NAME_AW(PR_ATTACH_LONG_PATHNAME_) +#define PR_ATTACH_MIME_TAG_W PROP_TAG(PT_UNICODE,0x370E) +#define PR_ATTACH_MIME_TAG_A PROP_TAG(PT_STRING8,0x370E) +#define PR_ATTACH_MIME_TAG WINELIB_NAME_AW(PR_ATTACH_MIME_TAG_) +#define PR_ATTACH_ADDITIONAL_INFO PROP_TAG(PT_BINARY,0x370F) +#define PR_DISPLAY_TYPE PROP_TAG(PT_I4,0x3900) +#define PR_TEMPLATEID PROP_TAG(PT_BINARY,0x3902) +#define PR_PRIMARY_CAPABILITY PROP_TAG(PT_BINARY,0x3904) +#define PR_7BIT_DISPLAY_NAME PROP_TAG(PT_STRING8,0x39FF) +#define PR_ACCOUNT_W PROP_TAG(PT_UNICODE,0x3A00) +#define PR_ACCOUNT_A PROP_TAG(PT_STRING8,0x3A00) +#define PR_ACCOUNT WINELIB_NAME_AW(PR_ACCOUNT_) +#define PR_ALTERNATE_RECIPIENT PROP_TAG(PT_BINARY,0x3A01) +#define PR_CALLBACK_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A02) +#define PR_CALLBACK_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A02) +#define PR_CALLBACK_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_CALLBACK_TELEPHONE_NUMBER_) +#define PR_CONVERSION_PROHIBITED PROP_TAG(PT_BOOLEAN,0x3A03) +#define PR_DISCLOSE_RECIPIENTS PROP_TAG(PT_BOOLEAN,0x3A04) +#define PR_GENERATION_W PROP_TAG(PT_UNICODE,0x3A05) +#define PR_GENERATION_A PROP_TAG(PT_STRING8,0x3A05) +#define PR_GENERATION WINELIB_NAME_AW(PR_GENERATION_) +#define PR_GIVEN_NAME_W PROP_TAG(PT_UNICODE,0x3A06) +#define PR_GIVEN_NAME_A PROP_TAG(PT_STRING8,0x3A06) +#define PR_GIVEN_NAME WINELIB_NAME_AW(PR_GIVEN_NAME_) +#define PR_GOVERNMENT_ID_NUMBER_W PROP_TAG(PT_UNICODE,0x3A07) +#define PR_GOVERNMENT_ID_NUMBER_A PROP_TAG(PT_STRING8,0x3A07) +#define PR_GOVERNMENT_ID_NUMBER WINELIB_NAME_AW(PR_GOVERNMENT_ID_NUMBER_) +#define PR_BUSINESS_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A08) +#define PR_BUSINESS_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A08) +#define PR_BUSINESS_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_BUSINESS_TELEPHONE_NUMBER_) +#define PR_OFFICE_TELEPHONE_NUMBER_W PR_BUSINESS_TELEPHONE_NUMBER_W +#define PR_OFFICE_TELEPHONE_NUMBER_A PR_BUSINESS_TELEPHONE_NUMBER_A +#define PR_OFFICE_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_OFFICE_TELEPHONE_NUMBER_) +#define PR_HOME_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A09) +#define PR_HOME_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A09) +#define PR_HOME_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_HOME_TELEPHONE_NUMBER_) +#define PR_INITIALS_W PROP_TAG(PT_UNICODE,0x3A0A) +#define PR_INITIALS_A PROP_TAG(PT_STRING8,0x3A0A) +#define PR_INITIALS WINELIB_NAME_AW(PR_INITIALS_) +#define PR_KEYWORD_W PROP_TAG(PT_UNICODE,0x3A0B) +#define PR_KEYWORD_A PROP_TAG(PT_STRING8,0x3A0B) +#define PR_KEYWORD WINELIB_NAME_AW(PR_KEYWORD_) +#define PR_LANGUAGE_W PROP_TAG(PT_UNICODE,0x3A0C) +#define PR_LANGUAGE_A PROP_TAG(PT_STRING8,0x3A0C) +#define PR_LANGUAGE WINELIB_NAME_AW(PR_LANGUAGE_) +#define PR_LOCATION_W PROP_TAG(PT_UNICODE,0x3A0D) +#define PR_LOCATION_A PROP_TAG(PT_STRING8,0x3A0D) +#define PR_LOCATION WINELIB_NAME_AW(PR_LOCATION_) +#define PR_MAIL_PERMISSION PROP_TAG(PT_BOOLEAN,0x3A0E) +#define PR_MHS_COMMON_NAME_W PROP_TAG(PT_UNICODE,0x3A0F) +#define PR_MHS_COMMON_NAME_A PROP_TAG(PT_STRING8,0x3A0F) +#define PR_MHS_COMMON_NAME WINELIB_NAME_AW(PR_MHS_COMMON_NAME_) +#define PR_ORGANIZATIONAL_ID_NUMBER_W PROP_TAG(PT_UNICODE,0x3A10) +#define PR_ORGANIZATIONAL_ID_NUMBER_A PROP_TAG(PT_STRING8,0x3A10) +#define PR_ORGANIZATIONAL_ID_NUMBER WINELIB_NAME_AW(PR_ORGANIZATIONAL_ID_NUMBER_) +#define PR_SURNAME_W PROP_TAG(PT_UNICODE,0x3A11) +#define PR_SURNAME_A PROP_TAG(PT_STRING8,0x3A11) +#define PR_SURNAME WINELIB_NAME_AW(PR_SURNAME_) +#define PR_ORIGINAL_ENTRYID PROP_TAG(PT_BINARY,0x3A12) +#define PR_ORIGINAL_DISPLAY_NAME_W PROP_TAG(PT_UNICODE,0x3A13) +#define PR_ORIGINAL_DISPLAY_NAME_A PROP_TAG(PT_STRING8,0x3A13) +#define PR_ORIGINAL_DISPLAY_NAME WINELIB_NAME_AW(PR_ORIGINAL_DISPLAY_NAME_) +#define PR_ORIGINAL_SEARCH_KEY PROP_TAG(PT_BINARY,0x3A14) +#define PR_POSTAL_ADDRESS_W PROP_TAG(PT_UNICODE,0x3A15) +#define PR_POSTAL_ADDRESS_A PROP_TAG(PT_STRING8,0x3A15) +#define PR_POSTAL_ADDRESS WINELIB_NAME_AW(PR_POSTAL_ADDRESS_) +#define PR_COMPANY_NAME_W PROP_TAG(PT_UNICODE,0x3A16) +#define PR_COMPANY_NAME_A PROP_TAG(PT_STRING8,0x3A16) +#define PR_COMPANY_NAME WINELIB_NAME_AW(PR_COMPANY_NAME_) +#define PR_TITLE_W PROP_TAG(PT_UNICODE,0x3A17) +#define PR_TITLE_A PROP_TAG(PT_STRING8,0x3A17) +#define PR_TITLE WINELIB_NAME_AW(PR_TITLE_) +#define PR_DEPARTMENT_NAME_W PROP_TAG(PT_UNICODE,0x3A18) +#define PR_DEPARTMENT_NAME_A PROP_TAG(PT_STRING8,0x3A18) +#define PR_DEPARTMENT_NAME WINELIB_NAME_AW(PR_DEPARTMENT_NAME_) +#define PR_OFFICE_LOCATION_W PROP_TAG(PT_UNICODE,0x3A19) +#define PR_OFFICE_LOCATION_A PROP_TAG(PT_STRING8,0x3A19) +#define PR_OFFICE_LOCATION WINELIB_NAME_AW(PR_OFFICE_LOCATION_) +#define PR_PRIMARY_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A1A) +#define PR_PRIMARY_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A1A) +#define PR_PRIMARY_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_PRIMARY_TELEPHONE_NUMBER_) +#define PR_BUSINESS2_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A1B) +#define PR_BUSINESS2_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A1B) +#define PR_BUSINESS2_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_BUSINESS2_TELEPHONE_NUMBER_) +#define PR_OFFICE2_TELEPHONE_NUMBER_W PR_BUSINESS2_TELEPHONE_NUMBER_W +#define PR_OFFICE2_TELEPHONE_NUMBER_A PR_BUSINESS2_TELEPHONE_NUMBER_A +#define PR_OFFICE2_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_OFFICE2_TELEPHONE_NUMBER_) +#define PR_MOBILE_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A1C) +#define PR_MOBILE_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A1C) +#define PR_MOBILE_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_MOBILE_TELEPHONE_NUMBER_) +#define PR_CELLULAR_TELEPHONE_NUMBER_W PR_MOBILE_TELEPHONE_NUMBER_W +#define PR_CELLULAR_TELEPHONE_NUMBER_A PR_MOBILE_TELEPHONE_NUMBER_A +#define PR_CELLULAR_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_CELLULAR_TELEPHONE_NUMBER_) +#define PR_RADIO_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A1D) +#define PR_RADIO_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A1D) +#define PR_RADIO_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_RADIO_TELEPHONE_NUMBER_) +#define PR_CAR_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A1E) +#define PR_CAR_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A1E) +#define PR_CAR_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_CAR_TELEPHONE_NUMBER_) +#define PR_OTHER_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A1F) +#define PR_OTHER_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A1F) +#define PR_OTHER_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_OTHER_TELEPHONE_NUMBER_) +#define PR_TRANSMITABLE_DISPLAY_NAME_W PROP_TAG(PT_UNICODE,0x3A20) +#define PR_TRANSMITABLE_DISPLAY_NAME_A PROP_TAG(PT_STRING8,0x3A20) +#define PR_TRANSMITABLE_DISPLAY_NAME WINELIB_NAME_AW(PR_TRANSMITABLE_DISPLAY_NAME_) +#define PR_PAGER_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A21) +#define PR_PAGER_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A21) +#define PR_PAGER_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_PAGER_TELEPHONE_NUMBER_) +#define PR_BEEPER_TELEPHONE_NUMBER_W PR_PAGER_TELEPHONE_NUMBER_W +#define PR_BEEPER_TELEPHONE_NUMBER_A PR_PAGER_TELEPHONE_NUMBER_A +#define PR_BEEPER_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_BEEPER_TELEPHONE_NUMBER_) +#define PR_USER_CERTIFICATE PROP_TAG(PT_BINARY,0x3A22) +#define PR_PRIMARY_FAX_NUMBER_W PROP_TAG(PT_UNICODE,0x3A23) +#define PR_PRIMARY_FAX_NUMBER_A PROP_TAG(PT_STRING8,0x3A23) +#define PR_PRIMARY_FAX_NUMBER WINELIB_NAME_AW(PR_PRIMARY_FAX_NUMBER_) +#define PR_BUSINESS_FAX_NUMBER_W PROP_TAG(PT_UNICODE,0x3A24) +#define PR_BUSINESS_FAX_NUMBER_A PROP_TAG(PT_STRING8,0x3A24) +#define PR_BUSINESS_FAX_NUMBER WINELIB_NAME_AW(PR_BUSINESS_FAX_NUMBER_) +#define PR_HOME_FAX_NUMBER_W PROP_TAG(PT_UNICODE,0x3A25) +#define PR_HOME_FAX_NUMBER_A PROP_TAG(PT_STRING8,0x3A25) +#define PR_HOME_FAX_NUMBER WINELIB_NAME_AW(PR_HOME_FAX_NUMBER_) +#define PR_COUNTRY_W PROP_TAG(PT_UNICODE,0x3A26) +#define PR_COUNTRY_A PROP_TAG(PT_STRING8,0x3A26) +#define PR_COUNTRY WINELIB_NAME_AW(PR_COUNTRY_) +#define PR_BUSINESS_ADDRESS_COUNTRY_W PR_COUNTRY_W +#define PR_BUSINESS_ADDRESS_COUNTRY_A PR_COUNTRY_A +#define PR_BUSINESS_ADDRESS_COUNTRY WINELIB_NAME_AW(PR_BUSINESS_ADDRESS_COUNTRY_) +#define PR_LOCALITY_W PROP_TAG(PT_UNICODE,0x3A27) +#define PR_LOCALITY_A PROP_TAG(PT_STRING8,0x3A27) +#define PR_LOCALITY WINELIB_NAME_AW(PR_LOCALITY_) +#define PR_BUSINESS_ADDRESS_CITY_W PR_LOCALITY_W +#define PR_BUSINESS_ADDRESS_CITY_A PR_LOCALITY_A +#define PR_BUSINESS_ADDRESS_CITY WINELIB_NAME_AW(PR_BUSINESS_ADDRESS_CITY_) +#define PR_STATE_OR_PROVINCE_W PROP_TAG(PT_UNICODE,0x3A28) +#define PR_STATE_OR_PROVINCE_A PROP_TAG(PT_STRING8,0x3A28) +#define PR_STATE_OR_PROVINCE WINELIB_NAME_AW(PR_STATE_OR_PROVINCE_) +#define PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_W PR_STATE_OR_PROVINCE_W +#define PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_A PR_STATE_OR_PROVINCE_A +#define PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE WINELIB_NAME_AW(PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_) +#define PR_STREET_ADDRESS_W PROP_TAG(PT_UNICODE,0x3A29) +#define PR_STREET_ADDRESS_A PROP_TAG(PT_STRING8,0x3A29) +#define PR_STREET_ADDRESS WINELIB_NAME_AW(PR_STREET_ADDRESS_) +#define PR_BUSINESS_ADDRESS_STREET_W PR_STREET_ADDRESS_W +#define PR_BUSINESS_ADDRESS_STREET_A PR_STREET_ADDRESS_A +#define PR_BUSINESS_ADDRESS_STREET WINELIB_NAME_AW(PR_BUSINESS_ADDRESS_STREET_) +#define PR_POSTAL_CODE_W PROP_TAG(PT_UNICODE,0x3A2A) +#define PR_POSTAL_CODE_A PROP_TAG(PT_STRING8,0x3A2A) +#define PR_POSTAL_CODE WINELIB_NAME_AW(PR_POSTAL_CODE_) +#define PR_BUSINESS_ADDRESS_POSTAL_CODE_W PR_POSTAL_CODE_W +#define PR_BUSINESS_ADDRESS_POSTAL_CODE_A PR_POSTAL_CODE_A +#define PR_BUSINESS_ADDRESS_POSTAL_CODE WINELIB_NAME_AW(PR_BUSINESS_ADDRESS_POSTAL_CODE_) +#define PR_POST_OFFICE_BOX_W PROP_TAG(PT_UNICODE,0x3A2B) +#define PR_POST_OFFICE_BOX_A PROP_TAG(PT_STRING8,0x3A2B) +#define PR_POST_OFFICE_BOX WINELIB_NAME_AW(PR_POST_OFFICE_BOX_) +#define PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_W PR_POST_OFFICE_BOX_W +#define PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_A PR_POST_OFFICE_BOX_A +#define PR_BUSINESS_ADDRESS_POST_OFFICE_BOX WINELIB_NAME_AW(PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_) +#define PR_TELEX_NUMBER_W PROP_TAG(PT_UNICODE,0x3A2C) +#define PR_TELEX_NUMBER_A PROP_TAG(PT_STRING8,0x3A2C) +#define PR_TELEX_NUMBER WINELIB_NAME_AW(PR_TELEX_NUMBER_) +#define PR_ISDN_NUMBER_W PROP_TAG(PT_UNICODE,0x3A2D) +#define PR_ISDN_NUMBER_A PROP_TAG(PT_STRING8,0x3A2D) +#define PR_ISDN_NUMBER WINELIB_NAME_AW(PR_ISDN_NUMBER_) +#define PR_ASSISTANT_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A2E) +#define PR_ASSISTANT_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A2E) +#define PR_ASSISTANT_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_ASSISTANT_TELEPHONE_NUMBER_) +#define PR_HOME2_TELEPHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A2F) +#define PR_HOME2_TELEPHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A2F) +#define PR_HOME2_TELEPHONE_NUMBER WINELIB_NAME_AW(PR_HOME2_TELEPHONE_NUMBER_) +#define PR_ASSISTANT_W PROP_TAG(PT_UNICODE,0x3A30) +#define PR_ASSISTANT_A PROP_TAG(PT_STRING8,0x3A30) +#define PR_ASSISTANT WINELIB_NAME_AW(PR_ASSISTANT_) +#define PR_SEND_RICH_INFO PROP_TAG(PT_BOOLEAN,0x3A40) +#define PR_WEDDING_ANNIVERSARY PROP_TAG(PT_SYSTIME,0x3A41) +#define PR_BIRTHDAY PROP_TAG(PT_SYSTIME,0x3A42) +#define PR_HOBBIES_W PROP_TAG(PT_UNICODE,0x3A43) +#define PR_HOBBIES_A PROP_TAG(PT_STRING8,0x3A43) +#define PR_HOBBIES WINELIB_NAME_AW(PR_HOBBIES_) +#define PR_MIDDLE_NAME_W PROP_TAG(PT_UNICODE,0x3A44) +#define PR_MIDDLE_NAME_A PROP_TAG(PT_STRING8,0x3A44) +#define PR_MIDDLE_NAME WINELIB_NAME_AW(PR_MIDDLE_NAME_) +#define PR_DISPLAY_NAME_PREFIX_W PROP_TAG(PT_UNICODE,0x3A45) +#define PR_DISPLAY_NAME_PREFIX_A PROP_TAG(PT_STRING8,0x3A45) +#define PR_DISPLAY_NAME_PREFIX WINELIB_NAME_AW(PR_DISPLAY_NAME_PREFIX_) +#define PR_PROFESSION_W PROP_TAG(PT_UNICODE,0x3A46) +#define PR_PROFESSION_A PROP_TAG(PT_STRING8,0x3A46) +#define PR_PROFESSION WINELIB_NAME_AW(PR_PROFESSION_) +#define PR_PREFERRED_BY_NAME_W PROP_TAG(PT_UNICODE,0x3A47) +#define PR_PREFERRED_BY_NAME_A PROP_TAG(PT_STRING8,0x3A47) +#define PR_PREFERRED_BY_NAME WINELIB_NAME_AW(PR_PREFERRED_BY_NAME_) +#define PR_SPOUSE_NAME_W PROP_TAG(PT_UNICODE,0x3A48) +#define PR_SPOUSE_NAME_A PROP_TAG(PT_STRING8,0x3A48) +#define PR_SPOUSE_NAME WINELIB_NAME_AW(PR_SPOUSE_NAME_) +#define PR_COMPUTER_NETWORK_NAME_W PROP_TAG(PT_UNICODE,0x3A49) +#define PR_COMPUTER_NETWORK_NAME_A PROP_TAG(PT_STRING8,0x3A49) +#define PR_COMPUTER_NETWORK_NAME WINELIB_NAME_AW(PR_COMPUTER_NETWORK_NAME_) +#define PR_CUSTOMER_ID_W PROP_TAG(PT_UNICODE,0x3A4A) +#define PR_CUSTOMER_ID_A PROP_TAG(PT_STRING8,0x3A4A) +#define PR_CUSTOMER_ID WINELIB_NAME_AW(PR_CUSTOMER_ID_) +#define PR_TTYTDD_PHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A4B) +#define PR_TTYTDD_PHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A4B) +#define PR_TTYTDD_PHONE_NUMBER WINELIB_NAME_AW(PR_TTYTDD_PHONE_NUMBER_) +#define PR_FTP_SITE_W PROP_TAG(PT_UNICODE,0x3A4C) +#define PR_FTP_SITE_A PROP_TAG(PT_STRING8,0x3A4C) +#define PR_FTP_SITE WINELIB_NAME_AW(PR_FTP_SITE_) +#define PR_GENDER PROP_TAG(PT_I2,0x3A4D) +#define PR_MANAGER_NAME_W PROP_TAG(PT_UNICODE,0x3A4E) +#define PR_MANAGER_NAME_A PROP_TAG(PT_STRING8,0x3A4E) +#define PR_MANAGER_NAME WINELIB_NAME_AW(PR_MANAGER_NAME_) +#define PR_NICKNAME_W PROP_TAG(PT_UNICODE,0x3A4F) +#define PR_NICKNAME_A PROP_TAG(PT_STRING8,0x3A4F) +#define PR_NICKNAME WINELIB_NAME_AW(PR_NICKNAME_) +#define PR_PERSONAL_HOME_PAGE_W PROP_TAG(PT_UNICODE,0x3A50) +#define PR_PERSONAL_HOME_PAGE_A PROP_TAG(PT_STRING8,0x3A50) +#define PR_PERSONAL_HOME_PAGE WINELIB_NAME_AW(PR_PERSONAL_HOME_PAGE_) +#define PR_BUSINESS_HOME_PAGE_W PROP_TAG(PT_UNICODE,0x3A51) +#define PR_BUSINESS_HOME_PAGE_A PROP_TAG(PT_STRING8,0x3A51) +#define PR_BUSINESS_HOME_PAGE WINELIB_NAME_AW(PR_BUSINESS_HOME_PAGE_) +#define PR_CONTACT_VERSION PROP_TAG(PT_CLSID,0x3A52) +#define PR_CONTACT_ENTRYIDS PROP_TAG(PT_MV_BINARY,0x3A53) +#define PR_CONTACT_ADDRTYPES_W PROP_TAG(PT_MV_UNICODE,0x3A54) +#define PR_CONTACT_ADDRTYPES_A PROP_TAG(PT_MV_STRING8,0x3A54) +#define PR_CONTACT_ADDRTYPES WINELIB_NAME_AW(PR_CONTACT_ADDRTYPES_) +#define PR_CONTACT_DEFAULT_ADDRESS_INDEX PROP_TAG(PT_I4,0x3A55) +#define PR_CONTACT_EMAIL_ADDRESSES_W PROP_TAG(PT_MV_UNICODE,0x3A56) +#define PR_CONTACT_EMAIL_ADDRESSES_A PROP_TAG(PT_MV_STRING8,0x3A56) +#define PR_CONTACT_EMAIL_ADDRESSES WINELIB_NAME_AW(PR_CONTACT_EMAIL_ADDRESSES_) +#define PR_COMPANY_MAIN_PHONE_NUMBER_W PROP_TAG(PT_UNICODE,0x3A57) +#define PR_COMPANY_MAIN_PHONE_NUMBER_A PROP_TAG(PT_STRING8,0x3A57) +#define PR_COMPANY_MAIN_PHONE_NUMBER WINELIB_NAME_AW(PR_COMPANY_MAIN_PHONE_NUMBER_) +#define PR_CHILDRENS_NAMES_W PROP_TAG(PT_MV_UNICODE,0x3A58) +#define PR_CHILDRENS_NAMES_A PROP_TAG(PT_MV_STRING8,0x3A58) +#define PR_CHILDRENS_NAMES WINELIB_NAME_AW(PR_CHILDRENS_NAMES_) +#define PR_HOME_ADDRESS_CITY_W PROP_TAG(PT_UNICODE,0x3A59) +#define PR_HOME_ADDRESS_CITY_A PROP_TAG(PT_STRING8,0x3A59) +#define PR_HOME_ADDRESS_CITY WINELIB_NAME_AW(PR_HOME_ADDRESS_CITY_) +#define PR_HOME_ADDRESS_COUNTRY_W PROP_TAG(PT_UNICODE,0x3A5A) +#define PR_HOME_ADDRESS_COUNTRY_A PROP_TAG(PT_STRING8,0x3A5A) +#define PR_HOME_ADDRESS_COUNTRY WINELIB_NAME_AW(PR_HOME_ADDRESS_COUNTRY_) +#define PR_HOME_ADDRESS_POSTAL_CODE_W PROP_TAG(PT_UNICODE,0x3A5B) +#define PR_HOME_ADDRESS_POSTAL_CODE_A PROP_TAG(PT_STRING8,0x3A5B) +#define PR_HOME_ADDRESS_POSTAL_CODE WINELIB_NAME_AW(PR_HOME_ADDRESS_POSTAL_CODE_) +#define PR_HOME_ADDRESS_STATE_OR_PROVINCE_W PROP_TAG(PT_UNICODE,0x3A5C) +#define PR_HOME_ADDRESS_STATE_OR_PROVINCE_A PROP_TAG(PT_STRING8,0x3A5C) +#define PR_HOME_ADDRESS_STATE_OR_PROVINCE WINELIB_NAME_AW(PR_HOME_ADDRESS_STATE_OR_PROVINCE_) +#define PR_HOME_ADDRESS_STREET_W PROP_TAG(PT_UNICODE,0x3A5D) +#define PR_HOME_ADDRESS_STREET_A PROP_TAG(PT_STRING8,0x3A5D) +#define PR_HOME_ADDRESS_STREET WINELIB_NAME_AW(PR_HOME_ADDRESS_STREET_) +#define PR_HOME_ADDRESS_POST_OFFICE_BOX_W PROP_TAG(PT_UNICODE,0x3A5E) +#define PR_HOME_ADDRESS_POST_OFFICE_BOX_A PROP_TAG(PT_STRING8,0x3A5E) +#define PR_HOME_ADDRESS_POST_OFFICE_BOX WINELIB_NAME_AW(PR_HOME_ADDRESS_POST_OFFICE_BOX_) +#define PR_OTHER_ADDRESS_CITY_W PROP_TAG(PT_UNICODE,0x3A5F) +#define PR_OTHER_ADDRESS_CITY_A PROP_TAG(PT_STRING8,0x3A5F) +#define PR_OTHER_ADDRESS_CITY WINELIB_NAME_AW(PR_OTHER_ADDRESS_CITY_) +#define PR_OTHER_ADDRESS_COUNTRY_W PROP_TAG(PT_UNICODE,0x3A60) +#define PR_OTHER_ADDRESS_COUNTRY_A PROP_TAG(PT_STRING8,0x3A60) +#define PR_OTHER_ADDRESS_COUNTRY WINELIB_NAME_AW(PR_OTHER_ADDRESS_COUNTRY_) +#define PR_OTHER_ADDRESS_POSTAL_CODE_W PROP_TAG(PT_UNICODE,0x3A61) +#define PR_OTHER_ADDRESS_POSTAL_CODE_A PROP_TAG(PT_STRING8,0x3A61) +#define PR_OTHER_ADDRESS_POSTAL_CODE WINELIB_NAME_AW(PR_OTHER_ADDRESS_POSTAL_CODE_) +#define PR_OTHER_ADDRESS_STATE_OR_PROVINCE_W PROP_TAG(PT_UNICODE,0x3A62) +#define PR_OTHER_ADDRESS_STATE_OR_PROVINCE_A PROP_TAG(PT_STRING8,0x3A62) +#define PR_OTHER_ADDRESS_STATE_OR_PROVINCE WINELIB_NAME_AW(PR_OTHER_ADDRESS_STATE_OR_PROVINCE_) +#define PR_OTHER_ADDRESS_STREET_W PROP_TAG(PT_UNICODE,0x3A63) +#define PR_OTHER_ADDRESS_STREET_A PROP_TAG(PT_STRING8,0x3A63) +#define PR_OTHER_ADDRESS_STREET WINELIB_NAME_AW(PR_OTHER_ADDRESS_STREET_) +#define PR_OTHER_ADDRESS_POST_OFFICE_BOX_W PROP_TAG(PT_UNICODE,0x3A64) +#define PR_OTHER_ADDRESS_POST_OFFICE_BOX_A PROP_TAG(PT_STRING8,0x3A64) +#define PR_OTHER_ADDRESS_POST_OFFICE_BOX WINELIB_NAME_AW(PR_OTHER_ADDRESS_POST_OFFICE_BOX_) +#define PR_STORE_PROVIDERS PROP_TAG(PT_BINARY,0x3D00) +#define PR_AB_PROVIDERS PROP_TAG(PT_BINARY,0x3D01) +#define PR_TRANSPORT_PROVIDERS PROP_TAG(PT_BINARY,0x3D02) +#define PR_DEFAULT_PROFILE PROP_TAG(PT_BOOLEAN,0x3D04) +#define PR_AB_SEARCH_PATH PROP_TAG(PT_MV_BINARY,0x3D05) +#define PR_AB_DEFAULT_DIR PROP_TAG(PT_BINARY,0x3D06) +#define PR_AB_DEFAULT_PAB PROP_TAG(PT_BINARY,0x3D07) +#define PR_FILTERING_HOOKS PROP_TAG(PT_BINARY, 0x3D08) +#define PR_SERVICE_NAME_W PROP_TAG(PT_UNICODE,0x3D09) +#define PR_SERVICE_NAME_A PROP_TAG(PT_STRING8,0x3D09) +#define PR_SERVICE_NAME WINELIB_NAME_AW(PR_SERVICE_NAME_) +#define PR_SERVICE_DLL_NAME_W PROP_TAG(PT_UNICODE,0x3D0A) +#define PR_SERVICE_DLL_NAME_A PROP_TAG(PT_STRING8,0x3D0A) +#define PR_SERVICE_DLL_NAME WINELIB_NAME_AW(PR_SERVICE_DLL_NAME_) +#define PR_SERVICE_ENTRY_NAME PROP_TAG(PT_STRING8,0x3D0B) +#define PR_SERVICE_UID PROP_TAG(PT_BINARY,0x3D0C) +#define PR_SERVICE_EXTRA_UIDS PROP_TAG(PT_BINARY,0x3D0D) +#define PR_SERVICES PROP_TAG(PT_BINARY,0x3D0E) +#define PR_SERVICE_SUPPORT_FILES_W PROP_TAG(PT_MV_UNICODE,0x3D0F) +#define PR_SERVICE_SUPPORT_FILES_A PROP_TAG(PT_MV_STRING8,0x3D0F) +#define PR_SERVICE_SUPPORT_FILES WINELIB_NAME_AW(PR_SERVICE_SUPPORT_FILES_) +#define PR_SERVICE_DELETE_FILES_W PROP_TAG(PT_MV_UNICODE,0x3D10) +#define PR_SERVICE_DELETE_FILES_A PROP_TAG(PT_MV_STRING8,0x3D10) +#define PR_SERVICE_DELETE_FILES WINELIB_NAME_AW(PR_SERVICE_DELETE_FILES_) +#define PR_AB_SEARCH_PATH_UPDATE PROP_TAG(PT_BINARY,0x3D11) +#define PR_PROFILE_NAME_A PROP_TAG(PT_STRING8,0x3D12) +#define PR_PROFILE_NAME_W PROP_TAG(PT_UNICODE,0x3D12) +#define PR_PROFILE_NAME WINELIB_NAME_AW(PR_PROFILE_NAME_) +#define PR_IDENTITY_DISPLAY_W PROP_TAG(PT_UNICODE,0x3E00) +#define PR_IDENTITY_DISPLAY_A PROP_TAG(PT_STRING8,0x3E00) +#define PR_IDENTITY_DISPLAY WINELIB_NAME_AW(PR_IDENTITY_DISPLAY_) +#define PR_IDENTITY_ENTRYID PROP_TAG(PT_BINARY,0x3E01) +#define PR_RESOURCE_METHODS PROP_TAG(PT_I4,0x3E02) +/* Service provider type */ +#define PR_RESOURCE_TYPE PROP_TAG(PT_I4,0x3E03) +#define PR_STATUS_CODE PROP_TAG(PT_I4,0x3E04) +#define PR_IDENTITY_SEARCH_KEY PROP_TAG(PT_BINARY,0x3E05) +#define PR_OWN_STORE_ENTRYID PROP_TAG(PT_BINARY,0x3E06) +#define PR_RESOURCE_PATH_W PROP_TAG(PT_UNICODE,0x3E07) +#define PR_RESOURCE_PATH_A PROP_TAG(PT_STRING8,0x3E07) +#define PR_RESOURCE_PATH WINELIB_NAME_AW(PR_RESOURCE_PATH_) +#define PR_STATUS_STRING_W PROP_TAG(PT_UNICODE,0x3E08) +#define PR_STATUS_STRING_A PROP_TAG(PT_STRING8,0x3E08) +#define PR_STATUS_STRING WINELIB_NAME_AW(PR_STATUS_STRING_) +#define PR_X400_DEFERRED_DELIVERY_CANCEL PROP_TAG(PT_BOOLEAN,0x3E09) +#define PR_HEADER_FOLDER_ENTRYID PROP_TAG(PT_BINARY,0x3E0A) +#define PR_REMOTE_PROGRESS PROP_TAG(PT_I4,0x3E0B) +#define PR_REMOTE_PROGRESS_TEXT_W PROP_TAG(PT_UNICODE,0x3E0C) +#define PR_REMOTE_PROGRESS_TEXT_A PROP_TAG(PT_STRING8,0x3E0C) +#define PR_REMOTE_PROGRESS_TEXT WINELIB_NAME_AW(PR_REMOTE_PROGRESS_TEXT_) +#define PR_REMOTE_VALIDATE_OK PROP_TAG(PT_BOOLEAN,0x3E0D) +#define PR_CONTROL_FLAGS PROP_TAG(PT_I4,0x3F00) +#define PR_CONTROL_STRUCTURE PROP_TAG(PT_BINARY,0x3F01) +#define PR_CONTROL_TYPE PROP_TAG(PT_I4,0x3F02) +#define PR_DELTAX PROP_TAG(PT_I4,0x3F03) +#define PR_DELTAY PROP_TAG(PT_I4,0x3F04) +#define PR_XPOS PROP_TAG(PT_I4,0x3F05) +#define PR_YPOS PROP_TAG(PT_I4,0x3F06) +#define PR_CONTROL_ID PROP_TAG(PT_BINARY,0x3F07) +#define PR_INITIAL_DETAILS_PANE PROP_TAG(PT_I4,0x3F08) + +#define PROP_ID_SECURE_MIN 0x67F0 +#define PROP_ID_SECURE_MAX 0x67FF + +#endif /* MAPITAGS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiutil.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiutil.h new file mode 100644 index 0000000..8c53a1c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapiutil.h @@ -0,0 +1,277 @@ +/* + * Copyright 2004 Jon Griffiths + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPIUTIL_H_ +#define MAPIUTIL_H_ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define TAD_ALL_ROWS 1 /* Delete all rows */ + +LPMALLOC WINAPI MAPIGetDefaultMalloc(void); + +#define SOF_UNIQUEFILENAME 0x80000000U /* Create a unique (temporary) filename */ + +#if defined (UNICODE) || defined (__WINESRC__) +typedef HRESULT (WINAPI * LPOPENSTREAMONFILE)(LPALLOCATEBUFFER,LPFREEBUFFER, + ULONG,LPWSTR,LPWSTR,LPSTREAM*); +HRESULT WINAPI OpenStreamOnFile(LPALLOCATEBUFFER,LPFREEBUFFER, + ULONG,LPWSTR,LPWSTR,LPSTREAM*); +#else +typedef HRESULT (WINAPI * LPOPENSTREAMONFILE)(LPALLOCATEBUFFER,LPFREEBUFFER, + ULONG,LPSTR,LPSTR,LPSTREAM*); +HRESULT WINAPI OpenStreamOnFile(LPALLOCATEBUFFER,LPFREEBUFFER, + ULONG,LPSTR,LPSTR,LPSTREAM*); +#endif +#define OPENSTREAMONFILE "OpenStreamOnFile" + +BOOL WINAPI FEqualNames(LPMAPINAMEID,LPMAPINAMEID); + +typedef struct IPropData *LPPROPDATA; + +#define IPROP_READONLY 0x00001U +#define IPROP_READWRITE 0x00002U +#define IPROP_CLEAN 0x10000U +#define IPROP_DIRTY 0x20000U + +SCODE WINAPI CreateIProp(LPCIID,ALLOCATEBUFFER*,ALLOCATEMORE*,FREEBUFFER*, + LPVOID,LPPROPDATA*); +SCODE WINAPI PropCopyMore(LPSPropValue,LPSPropValue,ALLOCATEMORE*,LPVOID); +ULONG WINAPI UlPropSize(LPSPropValue); +VOID WINAPI GetInstance(LPSPropValue,LPSPropValue,ULONG); +BOOL WINAPI FPropContainsProp(LPSPropValue,LPSPropValue,ULONG); +BOOL WINAPI FPropCompareProp(LPSPropValue,ULONG,LPSPropValue); +LONG WINAPI LPropCompareProp(LPSPropValue,LPSPropValue); + +HRESULT WINAPI HrAddColumns(LPMAPITABLE,LPSPropTagArray,LPALLOCATEBUFFER,LPFREEBUFFER); +HRESULT WINAPI HrAddColumnsEx(LPMAPITABLE,LPSPropTagArray,LPALLOCATEBUFFER, + LPFREEBUFFER,void (*)(LPSPropTagArray)); +HRESULT WINAPI HrAllocAdviseSink(LPNOTIFCALLBACK,LPVOID,LPMAPIADVISESINK*); +HRESULT WINAPI HrThisThreadAdviseSink(LPMAPIADVISESINK,LPMAPIADVISESINK*); +HRESULT WINAPI HrDispatchNotifications (ULONG); + +ULONG WINAPI UlAddRef(void*); +ULONG WINAPI UlRelease(void*); + +HRESULT WINAPI HrGetOneProp(LPMAPIPROP,ULONG,LPSPropValue*); +HRESULT WINAPI HrSetOneProp(LPMAPIPROP,LPSPropValue); +BOOL WINAPI FPropExists(LPMAPIPROP,ULONG); +void WINAPI FreePadrlist(LPADRLIST); +void WINAPI FreeProws(LPSRowSet); +HRESULT WINAPI HrQueryAllRows(LPMAPITABLE,LPSPropTagArray,LPSRestriction, + LPSSortOrderSet,LONG,LPSRowSet*); +LPSPropValue WINAPI PpropFindProp(LPSPropValue,ULONG,ULONG); + +#if defined (UNICODE) || defined (__WINESRC__) +BOOL WINAPI FBinFromHex(LPWSTR,LPBYTE); +SCODE WINAPI ScBinFromHexBounded(LPWSTR,LPBYTE,ULONG); +void WINAPI HexFromBin(LPBYTE,int,LPWSTR); +ULONG WINAPI UlFromSzHex(LPCWSTR); +LPWSTR WINAPI SzFindCh(LPCWSTR,USHORT); +LPWSTR WINAPI SzFindLastCh(LPCWSTR,USHORT); +LPWSTR WINAPI SzFindSz(LPCWSTR,LPCWSTR); +UINT WINAPI UFromSz(LPCSTR); +#else +BOOL WINAPI FBinFromHex(LPSTR,LPBYTE); +SCODE WINAPI ScBinFromHexBounded(LPSTR,LPBYTE,ULONG); +void WINAPI HexFromBin(LPBYTE,int,LPSTR); +ULONG WINAPI UlFromSzHex(LPCSTR); +LPSTR WINAPI SzFindCh(LPCSTR,USHORT); +LPSTR WINAPI SzFindLastCh(LPCSTR,USHORT); +LPSTR WINAPI SzFindSz(LPCSTR,LPCSTR); +UINT WINAPI UFromSz(LPCSTR); +#endif + +SCODE WINAPI ScInitMapiUtil(ULONG); +void WINAPI DeinitMapiUtil(void); + +#define szHrDispatchNotifications "_HrDispatchNotifications@4" +#define szScCreateConversationIndex "_ScCreateConversationIndex@16" + +typedef HRESULT (WINAPI DISPATCHNOTIFICATIONS)(ULONG); +typedef DISPATCHNOTIFICATIONS *LPDISPATCHNOTIFICATIONS; +typedef SCODE (WINAPI CREATECONVERSATIONINDEX)(ULONG,LPBYTE,ULONG*,LPBYTE*); +typedef CREATECONVERSATIONINDEX *LPCREATECONVERSATIONINDEX; + +typedef struct ITableData *LPTABLEDATA; + +typedef void (WINAPI CALLERRELEASE)(ULONG,LPTABLEDATA,LPMAPITABLE); + +/***************************************************************************** + * ITableData interface + * + * The underlying table data structure for IMAPITable. + */ +#define INTERFACE ITableData +DECLARE_INTERFACE_(ITableData,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** ITableData methods ***/ + STDMETHOD(HrGetView)(THIS_ LPSSortOrderSet lpSort, CALLERRELEASE *lpRel, + ULONG ulData, LPMAPITABLE *lppTable) PURE; + STDMETHOD(HrModifyRow)(THIS_ LPSRow lpRow) PURE; + STDMETHOD(HrDeleteRow)(THIS_ LPSPropValue lpKey) PURE; + STDMETHOD(HrQueryRow)(THIS_ LPSPropValue lpKey, LPSRow *lppRow, ULONG *lpRowNum) PURE; + STDMETHOD(HrEnumRow)(THIS_ ULONG ulRowNum, LPSRow *lppRow) PURE; + STDMETHOD(HrNotify)(THIS_ ULONG ulFlags, ULONG cValues, LPSPropValue lpValues) PURE; + STDMETHOD(HrInsertRow)(THIS_ ULONG ulRow, LPSRow lpRow) PURE; + STDMETHOD(HrModifyRows)(THIS_ ULONG ulFlags, LPSRowSet lpRows) PURE; + STDMETHOD(HrDeleteRows)(THIS_ ULONG ulFlags, LPSRowSet lpRows, ULONG *lpCount) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define ITableData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ITableData_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ITableData_Release(p) (p)->lpVtbl->Release(p) + /*** ITableData methods ***/ +#define ITableData_HrGetView(p,a,b,c,d) (p)->lpVtbl->HrGetView(p,a,b,c,d) +#define ITableData_HrModifyRow(p,a) (p)->lpVtbl->HrModifyRow(p,a) +#define ITableData_HrDeleteRow(p,a) (p)->lpVtbl->HrDeleteRow(p,a) +#define ITableData_HrQueryRow(p,a,b,c) (p)->lpVtbl->HrQueryRow(p,a,b,c) +#define ITableData_HrEnumRow(p,a,b) (p)->lpVtbl->HrEnumRow(p,a,b) +#define ITableData_HrNotify(p,a,b,c) (p)->lpVtbl->HrNotify(p,a,b,c) +#define ITableData_HrInsertRow(p,a,b) (p)->lpVtbl->HrInsertRow(p,a,b) +#define ITableData_HrModifyRows(p,a,b) (p)->lpVtbl->HrModifyRows(p,a,b) +#define ITableData_HrDeleteRows(p,a,b,c) (p)->lpVtbl->HrDeleteRows(p,a,b,c) +#endif + +SCODE WINAPI CreateTable(LPCIID,ALLOCATEBUFFER*,ALLOCATEMORE*,FREEBUFFER*, + LPVOID,ULONG,ULONG,LPSPropTagArray,LPTABLEDATA*); + +SCODE WINAPI ScCountNotifications(int,LPNOTIFICATION,ULONG*); +SCODE WINAPI ScCountProps(int,LPSPropValue,ULONG*); +SCODE WINAPI ScCopyNotifications(int,LPNOTIFICATION,LPVOID,ULONG*); +SCODE WINAPI ScCopyProps(int,LPSPropValue,LPVOID,ULONG*); +SCODE WINAPI ScDupPropset(int,LPSPropValue,LPALLOCATEBUFFER,LPSPropValue*); +SCODE WINAPI ScRelocNotifications(int,LPNOTIFICATION,LPVOID,LPVOID,ULONG*); +SCODE WINAPI ScRelocProps(int,LPSPropValue,LPVOID,LPVOID,ULONG*); + +LPSPropValue WINAPI LpValFindProp(ULONG,ULONG,LPSPropValue); + +static inline FILETIME FtAddFt(FILETIME ftLeft, FILETIME ftRight) +{ + LONG64 *pl = (LONG64*)&ftLeft, *pr = (LONG64*)&ftRight; + union { FILETIME ft; LONG64 ll; } ftmap; + ftmap.ll = *pl + *pr; + return ftmap.ft; +} + +static inline FILETIME FtSubFt(FILETIME ftLeft, FILETIME ftRight) +{ + LONG64 *pl = (LONG64*)&ftLeft, *pr = (LONG64*)&ftRight; + union { FILETIME ft; LONG64 ll; } ftmap; + ftmap.ll = *pl - *pr; + return ftmap.ft; +} + +static inline FILETIME FtNegFt(FILETIME ftLeft) +{ + LONG64 *p = (LONG64*)&ftLeft; + union { FILETIME ft; LONG64 ll; } ftmap; + ftmap.ll = -*p; + return ftmap.ft; +} + +static inline FILETIME FtMulDw(DWORD dwLeft, FILETIME ftRight) +{ + LONG64 l = (LONG64)dwLeft, *pr = (LONG64*)&ftRight; + union { FILETIME ft; LONG64 ll; } ftmap; + ftmap.ll = l * (*pr); + return ftmap.ft; +} + +static inline FILETIME FtMulDwDw(DWORD dwLeft, DWORD dwRight) +{ + LONG64 l = (LONG64)dwLeft, r = (LONG64)dwRight; + union { FILETIME ft; LONG64 ll; } ftmap; + ftmap.ll = l * r; + return ftmap.ft; +} + +/***************************************************************************** + * IPropData interface + * + */ +#define INTERFACE IPropData +DECLARE_INTERFACE_(IPropData,IMAPIProp) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPIProp methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE; + STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE; + STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE; + STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE; + STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam, + LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags, + LPSPropProblemArray *lppProbs) PURE; + STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress, + LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE; + STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount, + LPMAPINAMEID **lpppNames) PURE; + STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE; + /*** IPropData methods ***/ + STDMETHOD(HrSetObjAccess)(THIS_ ULONG ulAccess) PURE; + STDMETHOD(HrSetPropAccess)(THIS_ LPSPropTagArray lpPropTags, ULONG *lpAccess) PURE; + STDMETHOD(HrGetPropAccess)(THIS_ LPSPropTagArray *lppPropTags, ULONG **lppAccess) PURE; + STDMETHOD(HrAddObjProps)(THIS_ LPSPropTagArray lppPropTags, LPSPropProblemArray *lppProbs) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IPropData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IPropData_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IPropData_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPIProp methods ***/ +#define IPropData_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IPropData_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a) +#define IPropData_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d) +#define IPropData_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b) +#define IPropData_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e) +#define IPropData_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c) +#define IPropData_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b) +#define IPropData_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i) +#define IPropData_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g) +#define IPropData_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e) +#define IPropData_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d) +#define IPropData_HrSetObjAccess(p,a) (p)->lpVtbl->HrSetObjAccess(p,a) +#define IPropData_HrSetPropAccess(p,a,b) (p)->lpVtbl->HrSetPropAccess(p,a,b) +#define IPropData_HrGetPropAccess(p,a,b) (p)->lpVtbl->HrGetPropAccess(p,a,b) +#define IPropData_HrAddObjProps(p,a,b) (p)->lpVtbl->HrAddObjProps(p,a,b) +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* MAPIUTIL_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapival.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapival.h new file mode 100644 index 0000000..e44c21e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapival.h @@ -0,0 +1,121 @@ +/* + * Copyright 2004 Jon Griffiths + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPIVAL_H +#define MAPIVAL_H + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI FBadRglpszW(LPWSTR*,ULONG); +BOOL WINAPI FBadRowSet(LPSRowSet); +BOOL WINAPI FBadRglpNameID(LPMAPINAMEID*,ULONG); +BOOL WINAPI FBadEntryList(LPENTRYLIST); +ULONG WINAPI FBadRestriction(LPSRestriction); +ULONG WINAPI FBadPropTag(ULONG); +ULONG WINAPI FBadRow(LPSRow); +ULONG WINAPI FBadProp(LPSPropValue); +ULONG WINAPI FBadSortOrderSet(LPSSortOrderSet); +ULONG WINAPI FBadColumnSet(LPSPropTagArray); + +#define FBadRgPropVal(p,n) FAILED(ScCountProps((n),(p),NULL)) +#define FBadPropVal(p) FBadRgPropVal(1,(p)) +#define FBadAdrList(p) FBadRowSet((LPSRowSet)(p)) + +#define BAD_STANDARD_OBJ(a,b,c,d) FALSE +#define FBadUnknown(a) FALSE +#define FBadQueryInterface(a,b,c) FALSE +#define FBadAddRef(a) FALSE +#define FBadRelease(a) FALSE +#define FBadGetLastError(a,b,c,d) FALSE +#define FBadSaveChanges(a,b) FALSE +#define FBadGetProps(a,b,c,d) FALSE +#define FBadGetPropList(a,b) FALSE +#define FBadOpenProperty(a,b,c,d,e,f) FALSE +#define FBadSetProps(a,b,c,d) FALSE +#define FBadDeleteProps(a,b,c) FALSE +#define FBadCopyTo(a,b,c,d,e,f,g,h,i,j) FALSE +#define FBadCopyProps(a,b,c,d,e,f,g,h) FALSE +#define FBadGetNamesFromIDs(a,b,c,d,e,f) FALSE +#define FBadGetIDsFromNames(a,b,c,d,e) FALSE + +#define ValidateParms(x) do { } while(0) +#define UlValidateParms(x) do { } while(0) +#define CheckParms(x) do { } while(0) + +#define ValidateParameters1(a,b) do { } while(0) +#define ValidateParameters2(a,b,c) do { } while(0) +#define ValidateParameters3(a,b,c,d) do { } while(0) +#define ValidateParameters4(a,b,c,d,e) do { } while(0) +#define ValidateParameters5(a,b,c,d,e,f) do { } while(0) +#define ValidateParameters6(a,b,c,d,e,f,g) do { } while(0) +#define ValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0) +#define ValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0) +#define ValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0) +#define ValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0) +#define ValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0) +#define ValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0) +#define ValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0) +#define ValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0) +#define ValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0) +#define ValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0) + +#define UlValidateParameters1(a,b) do { } while(0) +#define UlValidateParameters2(a,b,c) do { } while(0) +#define UlValidateParameters3(a,b,c,d) do { } while(0) +#define UlValidateParameters4(a,b,c,d,e) do { } while(0) +#define UlValidateParameters5(a,b,c,d,e,f) do { } while(0) +#define UlValidateParameters6(a,b,c,d,e,f,g) do { } while(0) +#define UlValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0) +#define UlValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0) +#define UlValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0) +#define UlValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0) +#define UlValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0) +#define UlValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0) +#define UlValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0) +#define UlValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0) +#define UlValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0) +#define UlValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0) + +#define CheckParameters1(a,b) do { } while(0) +#define CheckParameters2(a,b,c) do { } while(0) +#define CheckParameters3(a,b,c,d) do { } while(0) +#define CheckParameters4(a,b,c,d,e) do { } while(0) +#define CheckParameters5(a,b,c,d,e,f) do { } while(0) +#define CheckParameters6(a,b,c,d,e,f,g) do { } while(0) +#define CheckParameters7(a,b,c,d,e,f,g,h) do { } while(0) +#define CheckParameters8(a,b,c,d,e,f,g,h,i) do { } while(0) +#define CheckParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0) +#define CheckParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0) +#define CheckParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0) +#define CheckParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0) +#define CheckParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0) +#define CheckParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0) +#define CheckParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0) +#define CheckParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0) + +#ifdef __cplusplus +} +#endif + +#endif /* MAPIVAL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapix.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapix.h new file mode 100644 index 0000000..8066062 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mapix.h @@ -0,0 +1,190 @@ +/* + * Copyright 2004 Jon Griffiths + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef MAPIX_H +#define MAPIX_H + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct IProfAdmin IProfAdmin; +typedef IProfAdmin *LPPROFADMIN; +typedef struct IMsgServiceAdmin IMsgServiceAdmin; +typedef IMsgServiceAdmin *LPSERVICEADMIN; +typedef struct IMAPISession *LPMAPISESSION; + +#ifndef WINE_FLAGS_DEFINED +#define WINE_FLAGS_DEFINED +typedef ULONG FLAGS; +#endif + +/* Flags for MAPILogon and MAPILogonEx */ +#ifndef MAPI_LOGON_UI +#define MAPI_LOGON_UI 0x00000001 +#endif +#ifndef MAPI_NEW_SESSION +#define MAPI_NEW_SESSION 0x00000002 +#endif +#define MAPI_ALLOW_OTHERS 0x00000008 +#define MAPI_EXPLICIT_PROFILE 0x00000010 +#ifndef MAPI_EXTENDED +#define MAPI_EXTENDED 0x00000020 +#endif +#ifndef MAPI_FORCE_DOWNLOAD +#define MAPI_FORCE_DOWNLOAD 0x00001000 +#endif +#ifndef MAPI_PASSWORD_UI +#define MAPI_PASSWORD_UI 0x00020000 +#endif +#define MAPI_SERVICE_UI_ALWAYS 0x00002000 +#define MAPI_NO_MAIL 0x00008000 +#define MAPI_NT_SERVICE 0x00010000 +#define MAPI_TIMEOUT_SHORT 0x00100000 + +#define MAPI_SIMPLE_DEFAULT (MAPI_LOGON_UI|MAPI_ALLOW_OTHERS|MAPI_FORCE_DOWNLOAD) +#define MAPI_SIMPLE_EXPLICIT (MAPI_NEW_SESSION|MAPI_EXPLICIT_PROFILE|MAPI_FORCE_DOWNLOAD) + +#define MAPI_MULTITHREAD_NOTIFICATIONS 0x00000001 +#define MAPI_NO_COINIT 0x00000008 + +typedef struct tagMAPIINIT_0 +{ + ULONG ulVersion; + ULONG ulFlags; +} MAPIINIT_0, *LPMAPIINIT_0; + +typedef MAPIINIT_0 MAPIINIT, *LPMAPIINIT; + +#define MAPI_INIT_VERSION 0U + +typedef HRESULT (WINAPI MAPIINITIALIZE)(void*); +typedef MAPIINITIALIZE *LPMAPIINITIALIZE; +MAPIINITIALIZE MAPIInitialize; + +typedef void (WINAPI MAPIUNINITIALIZE)(void); +typedef MAPIUNINITIALIZE *LPMAPIUNINITIALIZE; +MAPIUNINITIALIZE MAPIUninitialize; + +#if defined (UNICODE) || defined (__WINESRC__) +typedef HRESULT (STDMETHODCALLTYPE MAPILOGONEX)(ULONG_PTR,LPWSTR,LPWSTR,ULONG,LPMAPISESSION*); +#else +typedef HRESULT (STDMETHODCALLTYPE MAPILOGONEX)(ULONG_PTR,LPSTR,LPSTR,ULONG,LPMAPISESSION *); +#endif +typedef MAPILOGONEX *LPMAPILOGONEX; +MAPILOGONEX MAPILogonEx; + +typedef SCODE (WINAPI MAPIALLOCATEBUFFER)(ULONG,LPVOID*); +typedef MAPIALLOCATEBUFFER *LPMAPIALLOCATEBUFFER; +MAPIALLOCATEBUFFER MAPIAllocateBuffer; + +typedef SCODE (WINAPI MAPIALLOCATEMORE)(ULONG,LPVOID,LPVOID*); +typedef MAPIALLOCATEMORE *LPMAPIALLOCATEMORE; +MAPIALLOCATEMORE MAPIAllocateMore; + +#ifndef MAPIFREEBUFFER_DEFINED +#define MAPIFREEBUFFER_DEFINED +typedef ULONG (WINAPI MAPIFREEBUFFER)(LPVOID); +typedef MAPIFREEBUFFER *LPMAPIFREEBUFFER; +MAPIFREEBUFFER MAPIFreeBuffer; +#endif + +typedef HRESULT (WINAPI MAPIADMINPROFILES)(ULONG,LPPROFADMIN*); +typedef MAPIADMINPROFILES *LPMAPIADMINPROFILES; +MAPIADMINPROFILES MAPIAdminProfiles; + +/***************************************************************************** + * IMAPISession interface + */ +#define INTERFACE IMAPISession +DECLARE_INTERFACE_(IMAPISession,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IMAPISession methods ***/ + STDMETHOD(GetLastError)(THIS_ HRESULT hResult, ULONG ulFlags, LPMAPIERROR *lppMAPIError) PURE; + STDMETHOD(GetMsgStoresTable)(THIS_ ULONG ulFlags, LPMAPITABLE *lppTable) PURE; + STDMETHOD(OpenMsgStore)(THIS_ ULONG_PTR ulUIParam, ULONG cbId, + LPENTRYID lpId, LPCIID lpIFace, ULONG ulFlags, LPMDB *lppMDB) PURE; + STDMETHOD(OpenAddressBook)(THIS_ ULONG_PTR ulUIParam, LPCIID iid, ULONG ulFlags, LPADRBOOK *lppAdrBook) PURE; + STDMETHOD(OpenProfileSection)(THIS_ LPMAPIUID lpUID, LPCIID iid, ULONG ulFlags, LPPROFSECT *lppProf) PURE; + STDMETHOD(GetStatusTable)(THIS_ ULONG ulFlags, LPMAPITABLE *lppTable) PURE; + STDMETHOD(OpenEntry)(THIS_ ULONG cbId, LPENTRYID lpId, LPCIID iid, + ULONG ulFlags, ULONG *lpType, LPUNKNOWN *lppUnk) PURE; + STDMETHOD(CompareEntryIDs)(THIS_ ULONG cbLID, LPENTRYID lpLID, ULONG cbRID, + LPENTRYID lpRID, ULONG ulFlags, ULONG *lpRes) PURE; + STDMETHOD(Advise)(THIS_ ULONG cbId, LPENTRYID lpId, ULONG ulMask, + LPMAPIADVISESINK lpSink, ULONG *lpCxn) PURE; + STDMETHOD(Unadvise)(THIS_ ULONG ulConnection) PURE; + STDMETHOD(MessageOptions)(THIS_ ULONG_PTR ulUIParam, ULONG ulFlags, LPSTR lpszAddr, LPMESSAGE lpMsg) PURE; + STDMETHOD(QueryDefaultMessageOpt)(THIS_ LPSTR lpszAddr, ULONG ulFlags, + ULONG *lpcVals, LPSPropValue *lppOpts) PURE; + STDMETHOD(EnumAdrTypes)(THIS_ ULONG ulFlags, ULONG *lpcTypes, LPSTR **lpppszTypes) PURE; + STDMETHOD(QueryIdentity)(THIS_ ULONG *lpcbId, LPENTRYID *lppEntryID) PURE; + STDMETHOD(Logoff)(THIS_ ULONG_PTR ulUIParam, ULONG ulFlags, ULONG ulReserved) PURE; + STDMETHOD(SetDefaultStore)(THIS_ ULONG ulFlags, ULONG cbId, LPENTRYID lpId) PURE; + STDMETHOD(AdminServices)(THIS_ ULONG ulFlags, LPSERVICEADMIN *lppAdmin) PURE; + STDMETHOD(ShowForm)(THIS_ ULONG_PTR ulUIParam, LPMDB lpStore, + LPMAPIFOLDER lpParent, LPCIID iid, ULONG ulToken, + LPMESSAGE lpSent, ULONG ulFlags, ULONG ulStatus, + ULONG ulMsgFlags, ULONG ulAccess, LPSTR lpszClass) PURE; + STDMETHOD(PrepareForm)(THIS_ LPCIID lpIFace, LPMESSAGE lpMsg, ULONG *lpToken) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) + /*** IUnknown methods ***/ +#define IMAPISession_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IMAPISession_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IMAPISession_Release(p) (p)->lpVtbl->Release(p) + /*** IMAPISession methods ***/ +#define IMAPISession_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c) +#define IMAPISession_GetMsgStoresTable(p,a,b) (p)->lpVtbl->GetMsgStoresTable(p,a,b) +#define IMAPISession_OpenMsgStore(p,a,b,c,d,e,f) (p)->lpVtbl->OpenMsgStore(p,a,b,c,d,e,f) +#define IMAPISession_OpenAddressBook(p,a,b,c,d) (p)->lpVtbl->OpenAddressBook(p,a,b,c,d) +#define IMAPISession_OpenProfileSection(p,a,b,c,d) (p)->lpVtbl->OpenProfileSection(p,a,b,c,d) +#define IMAPISession_GetStatusTable(p,a,b) (p)->lpVtbl->GetStatusTable(p,a,b) +#define IMAPISession_OpenEntry(p,a,b,c,d,e,f) (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f) +#define IMAPISession_CompareEntryIDs(p,a,b,c,d,e,f) (p)->lpVtbl->CompareEntryIDs(p,a,b,c,d,e,f) +#define IMAPISession_Advise(p,a,b,c,d,e) (p)->lpVtbl->Advise(p,a,b,c,d,e) +#define IMAPISession_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a) +#define IMAPISession_MessageOptions(p,a,b,c,d) (p)->lpVtbl->MessageOptions)(p,a,b,c,d) +#define IMAPISession_QueryDefaultMessageOpt(p,a,b,c,d) \ + (p)->lpVtbl->QueryDefaultMessageOpt(p,a,b,c,d) +#define IMAPISession_EnumAdrTypes(p,a,b,c) (p)->lpVtbl->EnumAdrTypes(p,a,b,c) +#define IMAPISession_QueryIdentity(p,a,b) (p)->lpVtbl->QueryIdentity(p,a,b) +#define IMAPISession_Logoff(p,a,b,c) (p)->lpVtbl->Logoff(p,a,b,c) +#define IMAPISession_SetDefaultStore(p,a,b,c) (p)->lpVtbl->SetDefaultStore(p,a,b,c) +#define IMAPISession_AdminServices(p,a,b) (p)->lpVtbl->AdminServices(p,a,b) +#define IMAPISession_ShowForm(p,a,b,c,d,e,f,g,h,i,j,k) \ + (p)->lpVtbl->ShowForm(p,a,b,c,d,e,f,g,h,i,j,k) +#define IMAPISession_PrepareForm(p,a,b,c) (p)->lpVtbl->PrepareForm(p,a,b,c) +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* MAPIX_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mciavi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mciavi.h new file mode 100644 index 0000000..7a546e2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mciavi.h @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2001 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define MCI_MCIAVI_PLAY_WINDOW __MSABI_LONG(0x01000000) +#define MCI_MCIAVI_PLAY_FULLSCREEN __MSABI_LONG(0x02000000) +#define MCI_MCIAVI_PLAY_FULLBY2 __MSABI_LONG(0x04000000) + +#define MCI_AVI_STATUS_FRAMES_SKIPPED __MSABI_LONG(0x8001) + +#define MCI_AVI_STATUS_LAST_PLAY_SPEED __MSABI_LONG(0x8002) + +#define MCI_AVI_STATUS_AUDIO_BREAKS __MSABI_LONG(0x8003) + +#define MCI_AVI_SETVIDEO_DRAW_PROCEDURE __MSABI_LONG(0x8000) + +#define MCI_AVI_SETVIDEO_PALETTE_COLOR __MSABI_LONG(0x8100) + +#define MCI_AVI_SETVIDEO_PALETTE_HALFTONE __MSABI_LONG(0x0000FFFF) + +#define MCIERR_AVI_OLDAVIFORMAT (MCIERR_CUSTOM_DRIVER_BASE + 100) +#define MCIERR_AVI_NOTINTERLEAVED (MCIERR_CUSTOM_DRIVER_BASE + 101) +#define MCIERR_AVI_NODISPDIB (MCIERR_CUSTOM_DRIVER_BASE + 102) +#define MCIERR_AVI_CANTPLAYFULLSCREEN (MCIERR_CUSTOM_DRIVER_BASE + 103) +#define MCIERR_AVI_TOOBIGFORVGA (MCIERR_CUSTOM_DRIVER_BASE + 104) +#define MCIERR_AVI_NOCOMPRESSOR (MCIERR_CUSTOM_DRIVER_BASE + 105) +#define MCIERR_AVI_DISPLAYERROR (MCIERR_CUSTOM_DRIVER_BASE + 106) +#define MCIERR_AVI_AUDIOERROR (MCIERR_CUSTOM_DRIVER_BASE + 107) +#define MCIERR_AVI_BADPALETTE (MCIERR_CUSTOM_DRIVER_BASE + 108) diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mcx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mcx.h new file mode 100644 index 0000000..a03e5f3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mcx.h @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2000 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MCX_H +#define __WINE_MCX_H + +typedef struct tagMODEMDEVCAPS { + DWORD dwActualSize; + DWORD dwRequiredSize; + DWORD dwDevSpecificOffset; + DWORD dwDevSpecificSize; + DWORD dwModemProviderVersion; + DWORD dwModemManufacturerOffset; + DWORD dwModemManufacturerSize; + DWORD dwModemModelOffset; + DWORD dwModemModelSize; + DWORD dwModemVersionOffset; + DWORD dwModemVersionSize; + DWORD dwDialOptions; + DWORD dwCallSetupFailTimer; + DWORD dwInactivityTimeout; + DWORD dwSpeakerVolume; + DWORD dwSpeakerMode; + DWORD dwModemoptions; + DWORD dwMaxDTERate; + DWORD dwMaxDCERate; + BYTE abVariablePortion[1]; +} MODEMDEVCAPS, *LPMODEMDEVCAPS; + +typedef struct tagMODEMSETTINGS { + DWORD dwActualSize; + DWORD dwRequiredSize; + DWORD dwDevSpecificOffset; + DWORD dwDevSpecificSize; + DWORD dwCallSetupFailTimer; + DWORD dwInactivityTimeout; + DWORD dwSpeakerVolume; + DWORD dwSpeakerMode; + DWORD dwPreferredModemOptions; + DWORD dwNegotiatedModemOptions; + DWORD dwNegotiatedDCERate; + BYTE abVariablePortion[1]; +} MODEMSETTINGS, *LPMODEMSETTINGS; + +#endif /* __WINE_MCX_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaerr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaerr.h new file mode 100644 index 0000000..f998a3b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaerr.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _MEDIAERR_H_ +#define _MEDIAERR_H_ + +#define DMO_E_INVALIDSTREAMINDEX 0x80040201 +#define DMO_E_INVALIDTYPE 0x80040202 +#define DMO_E_TYPE_NOT_SET 0x80040203 +#define DMO_E_NOTACCEPTING 0x80040204 +#define DMO_E_TYPE_NOT_ACCEPTED 0x80040205 +#define DMO_E_NO_MORE_ITEMS 0x80040206 + +#endif /* _MEDIAERR_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaobj.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaobj.h new file mode 100644 index 0000000..c1ab184 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaobj.h @@ -0,0 +1,780 @@ +/*** Autogenerated by WIDL 2.18 from mediaobj.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mediaobj_h__ +#define __mediaobj_h__ + +/* Forward declarations */ + +#ifndef __IEnumDMO_FWD_DEFINED__ +#define __IEnumDMO_FWD_DEFINED__ +typedef interface IEnumDMO IEnumDMO; +#ifdef __cplusplus +interface IEnumDMO; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaBuffer_FWD_DEFINED__ +#define __IMediaBuffer_FWD_DEFINED__ +typedef interface IMediaBuffer IMediaBuffer; +#ifdef __cplusplus +interface IMediaBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaObject_FWD_DEFINED__ +#define __IMediaObject_FWD_DEFINED__ +typedef interface IMediaObject IMediaObject; +#ifdef __cplusplus +interface IMediaObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaObjectInPlace_FWD_DEFINED__ +#define __IMediaObjectInPlace_FWD_DEFINED__ +typedef interface IMediaObjectInPlace IMediaObjectInPlace; +#ifdef __cplusplus +interface IMediaObjectInPlace; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IDMOQualityControl_FWD_DEFINED__ +#define __IDMOQualityControl_FWD_DEFINED__ +typedef interface IDMOQualityControl IDMOQualityControl; +#ifdef __cplusplus +interface IDMOQualityControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IDMOVideoOutputOptimizations_FWD_DEFINED__ +#define __IDMOVideoOutputOptimizations_FWD_DEFINED__ +typedef interface IDMOVideoOutputOptimizations IDMOVideoOutputOptimizations; +#ifdef __cplusplus +interface IDMOVideoOutputOptimizations; +#endif /* __cplusplus */ +#endif + +typedef struct _DMOMediaType { + GUID majortype; + GUID subtype; + BOOL bFixedSizeSamples; + BOOL bTemporalCompression; + ULONG lSampleSize; + GUID formattype; + IUnknown *pUnk; + ULONG cbFormat; + BYTE *pbFormat; +} DMO_MEDIA_TYPE; +/***************************************************************************** + * IEnumDMO interface + */ +#ifndef __IEnumDMO_INTERFACE_DEFINED__ +#define __IEnumDMO_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumDMO, 0x2c3cd98a, 0x2bfa, 0x4a53, 0x9c,0x27, 0x52,0x49,0xba,0x64,0xba,0x0f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2c3cd98a-2bfa-4a53-9c27-5249ba64ba0f") +IEnumDMO : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + DWORD cItemsToFetch, + CLSID *pCLSID, + WCHAR **Names, + DWORD *pcItemsFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + DWORD cItemsToSkip) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumDMO **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumDMO, 0x2c3cd98a, 0x2bfa, 0x4a53, 0x9c,0x27, 0x52,0x49,0xba,0x64,0xba,0x0f) +#endif +#else +typedef struct IEnumDMOVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumDMO *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumDMO *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumDMO *This); + + /*** IEnumDMO methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumDMO *This, + DWORD cItemsToFetch, + CLSID *pCLSID, + WCHAR **Names, + DWORD *pcItemsFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumDMO *This, + DWORD cItemsToSkip); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumDMO *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumDMO *This, + IEnumDMO **ppEnum); + + END_INTERFACE +} IEnumDMOVtbl; + +interface IEnumDMO { + CONST_VTBL IEnumDMOVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumDMO_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumDMO_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumDMO_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumDMO methods ***/ +#define IEnumDMO_Next(This,cItemsToFetch,pCLSID,Names,pcItemsFetched) (This)->lpVtbl->Next(This,cItemsToFetch,pCLSID,Names,pcItemsFetched) +#define IEnumDMO_Skip(This,cItemsToSkip) (This)->lpVtbl->Skip(This,cItemsToSkip) +#define IEnumDMO_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumDMO_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumDMO_QueryInterface(IEnumDMO* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumDMO_AddRef(IEnumDMO* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumDMO_Release(IEnumDMO* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumDMO methods ***/ +static FORCEINLINE HRESULT IEnumDMO_Next(IEnumDMO* This,DWORD cItemsToFetch,CLSID *pCLSID,WCHAR **Names,DWORD *pcItemsFetched) { + return This->lpVtbl->Next(This,cItemsToFetch,pCLSID,Names,pcItemsFetched); +} +static FORCEINLINE HRESULT IEnumDMO_Skip(IEnumDMO* This,DWORD cItemsToSkip) { + return This->lpVtbl->Skip(This,cItemsToSkip); +} +static FORCEINLINE HRESULT IEnumDMO_Reset(IEnumDMO* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumDMO_Clone(IEnumDMO* This,IEnumDMO **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumDMO_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaBuffer interface + */ +#ifndef __IMediaBuffer_INTERFACE_DEFINED__ +#define __IMediaBuffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaBuffer, 0x59eff8b9, 0x938c, 0x4a26, 0x82,0xf2, 0x95,0xcb,0x84,0xcd,0xc8,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("59eff8b9-938c-4a26-82f2-95cb84cdc837") +IMediaBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetLength( + DWORD cbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxLength( + DWORD *pcbMaxLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferAndLength( + BYTE **ppBuffer, + DWORD *pcbLength) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaBuffer, 0x59eff8b9, 0x938c, 0x4a26, 0x82,0xf2, 0x95,0xcb,0x84,0xcd,0xc8,0x37) +#endif +#else +typedef struct IMediaBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaBuffer *This); + + /*** IMediaBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *SetLength)( + IMediaBuffer *This, + DWORD cbLength); + + HRESULT (STDMETHODCALLTYPE *GetMaxLength)( + IMediaBuffer *This, + DWORD *pcbMaxLength); + + HRESULT (STDMETHODCALLTYPE *GetBufferAndLength)( + IMediaBuffer *This, + BYTE **ppBuffer, + DWORD *pcbLength); + + END_INTERFACE +} IMediaBufferVtbl; + +interface IMediaBuffer { + CONST_VTBL IMediaBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaBuffer methods ***/ +#define IMediaBuffer_SetLength(This,cbLength) (This)->lpVtbl->SetLength(This,cbLength) +#define IMediaBuffer_GetMaxLength(This,pcbMaxLength) (This)->lpVtbl->GetMaxLength(This,pcbMaxLength) +#define IMediaBuffer_GetBufferAndLength(This,ppBuffer,pcbLength) (This)->lpVtbl->GetBufferAndLength(This,ppBuffer,pcbLength) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaBuffer_QueryInterface(IMediaBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaBuffer_AddRef(IMediaBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaBuffer_Release(IMediaBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaBuffer methods ***/ +static FORCEINLINE HRESULT IMediaBuffer_SetLength(IMediaBuffer* This,DWORD cbLength) { + return This->lpVtbl->SetLength(This,cbLength); +} +static FORCEINLINE HRESULT IMediaBuffer_GetMaxLength(IMediaBuffer* This,DWORD *pcbMaxLength) { + return This->lpVtbl->GetMaxLength(This,pcbMaxLength); +} +static FORCEINLINE HRESULT IMediaBuffer_GetBufferAndLength(IMediaBuffer* This,BYTE **ppBuffer,DWORD *pcbLength) { + return This->lpVtbl->GetBufferAndLength(This,ppBuffer,pcbLength); +} +#endif +#endif + +#endif + + +#endif /* __IMediaBuffer_INTERFACE_DEFINED__ */ + +typedef struct _DMO_OUTPUT_DATA_BUFFER { + IMediaBuffer *pBuffer; + DWORD dwStatus; + REFERENCE_TIME rtTimestamp; + REFERENCE_TIME rtTimelength; +} DMO_OUTPUT_DATA_BUFFER; +typedef struct _DMO_OUTPUT_DATA_BUFFER *PDMO_OUTPUT_DATA_BUFFER; +enum _DMO_INPLACE_PROCESS_FLAGS { + DMO_INPLACE_NORMAL = 0x0, + DMO_INPLACE_ZERO = 0x1 +}; +/***************************************************************************** + * IMediaObject interface + */ +#ifndef __IMediaObject_INTERFACE_DEFINED__ +#define __IMediaObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaObject, 0xd8ad0f58, 0x5494, 0x4102, 0x97,0xc5, 0xec,0x79,0x8e,0x59,0xbc,0xf4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d8ad0f58-5494-4102-97c5-ec798e59bcf4") +IMediaObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamCount( + DWORD *pcInputStreams, + DWORD *pcOutputStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputStreamInfo( + DWORD dwInputStreamIndex, + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputStreamInfo( + DWORD dwOutputStreamIndex, + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputType( + DWORD dwInputStreamIndex, + DWORD dwTypeIndex, + DMO_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputType( + DWORD dwOutputStreamIndex, + DWORD dwTypeIndex, + DMO_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputType( + DWORD dwInputStreamIndex, + const DMO_MEDIA_TYPE *pmt, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputType( + DWORD dwOutputStreamIndex, + const DMO_MEDIA_TYPE *pmt, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputCurrentType( + DWORD dwInputStreamIndex, + DMO_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputCurrentType( + DWORD dwOutputStreamIndex, + DMO_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputSizeInfo( + DWORD dwInputStreamIndex, + DWORD *pcbSize, + DWORD *pcbMaxLookahead, + DWORD *pcbAlignment) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputSizeInfo( + DWORD dwOutputStreamIndex, + DWORD *pcbSize, + DWORD *pcbAlignment) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputMaxLatency( + DWORD dwInputStreamIndex, + REFERENCE_TIME *prtMaxLatency) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputMaxLatency( + DWORD dwInputStreamIndex, + REFERENCE_TIME rtMaxLatency) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Discontinuity( + DWORD dwInputStreamIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocateStreamingResources( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeStreamingResources( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputStatus( + DWORD dwInputStreamIndex, + DWORD *dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessInput( + DWORD dwInputStreamIndex, + IMediaBuffer *pBuffer, + DWORD dwFlags, + REFERENCE_TIME rtTimestamp, + REFERENCE_TIME rtTimelength) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessOutput( + DWORD dwFlags, + DWORD cOutputBufferCount, + DMO_OUTPUT_DATA_BUFFER *pOutputBuffers, + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Lock( + LONG bLock) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaObject, 0xd8ad0f58, 0x5494, 0x4102, 0x97,0xc5, 0xec,0x79,0x8e,0x59,0xbc,0xf4) +#endif +#else +typedef struct IMediaObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaObject *This); + + /*** IMediaObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamCount)( + IMediaObject *This, + DWORD *pcInputStreams, + DWORD *pcOutputStreams); + + HRESULT (STDMETHODCALLTYPE *GetInputStreamInfo)( + IMediaObject *This, + DWORD dwInputStreamIndex, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *GetOutputStreamInfo)( + IMediaObject *This, + DWORD dwOutputStreamIndex, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *GetInputType)( + IMediaObject *This, + DWORD dwInputStreamIndex, + DWORD dwTypeIndex, + DMO_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetOutputType)( + IMediaObject *This, + DWORD dwOutputStreamIndex, + DWORD dwTypeIndex, + DMO_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *SetInputType)( + IMediaObject *This, + DWORD dwInputStreamIndex, + const DMO_MEDIA_TYPE *pmt, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *SetOutputType)( + IMediaObject *This, + DWORD dwOutputStreamIndex, + const DMO_MEDIA_TYPE *pmt, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetInputCurrentType)( + IMediaObject *This, + DWORD dwInputStreamIndex, + DMO_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetOutputCurrentType)( + IMediaObject *This, + DWORD dwOutputStreamIndex, + DMO_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetInputSizeInfo)( + IMediaObject *This, + DWORD dwInputStreamIndex, + DWORD *pcbSize, + DWORD *pcbMaxLookahead, + DWORD *pcbAlignment); + + HRESULT (STDMETHODCALLTYPE *GetOutputSizeInfo)( + IMediaObject *This, + DWORD dwOutputStreamIndex, + DWORD *pcbSize, + DWORD *pcbAlignment); + + HRESULT (STDMETHODCALLTYPE *GetInputMaxLatency)( + IMediaObject *This, + DWORD dwInputStreamIndex, + REFERENCE_TIME *prtMaxLatency); + + HRESULT (STDMETHODCALLTYPE *SetInputMaxLatency)( + IMediaObject *This, + DWORD dwInputStreamIndex, + REFERENCE_TIME rtMaxLatency); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IMediaObject *This); + + HRESULT (STDMETHODCALLTYPE *Discontinuity)( + IMediaObject *This, + DWORD dwInputStreamIndex); + + HRESULT (STDMETHODCALLTYPE *AllocateStreamingResources)( + IMediaObject *This); + + HRESULT (STDMETHODCALLTYPE *FreeStreamingResources)( + IMediaObject *This); + + HRESULT (STDMETHODCALLTYPE *GetInputStatus)( + IMediaObject *This, + DWORD dwInputStreamIndex, + DWORD *dwFlags); + + HRESULT (STDMETHODCALLTYPE *ProcessInput)( + IMediaObject *This, + DWORD dwInputStreamIndex, + IMediaBuffer *pBuffer, + DWORD dwFlags, + REFERENCE_TIME rtTimestamp, + REFERENCE_TIME rtTimelength); + + HRESULT (STDMETHODCALLTYPE *ProcessOutput)( + IMediaObject *This, + DWORD dwFlags, + DWORD cOutputBufferCount, + DMO_OUTPUT_DATA_BUFFER *pOutputBuffers, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *Lock)( + IMediaObject *This, + LONG bLock); + + END_INTERFACE +} IMediaObjectVtbl; + +interface IMediaObject { + CONST_VTBL IMediaObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaObject_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaObject methods ***/ +#define IMediaObject_GetStreamCount(This,pcInputStreams,pcOutputStreams) (This)->lpVtbl->GetStreamCount(This,pcInputStreams,pcOutputStreams) +#define IMediaObject_GetInputStreamInfo(This,dwInputStreamIndex,pdwFlags) (This)->lpVtbl->GetInputStreamInfo(This,dwInputStreamIndex,pdwFlags) +#define IMediaObject_GetOutputStreamInfo(This,dwOutputStreamIndex,pdwFlags) (This)->lpVtbl->GetOutputStreamInfo(This,dwOutputStreamIndex,pdwFlags) +#define IMediaObject_GetInputType(This,dwInputStreamIndex,dwTypeIndex,pmt) (This)->lpVtbl->GetInputType(This,dwInputStreamIndex,dwTypeIndex,pmt) +#define IMediaObject_GetOutputType(This,dwOutputStreamIndex,dwTypeIndex,pmt) (This)->lpVtbl->GetOutputType(This,dwOutputStreamIndex,dwTypeIndex,pmt) +#define IMediaObject_SetInputType(This,dwInputStreamIndex,pmt,dwFlags) (This)->lpVtbl->SetInputType(This,dwInputStreamIndex,pmt,dwFlags) +#define IMediaObject_SetOutputType(This,dwOutputStreamIndex,pmt,dwFlags) (This)->lpVtbl->SetOutputType(This,dwOutputStreamIndex,pmt,dwFlags) +#define IMediaObject_GetInputCurrentType(This,dwInputStreamIndex,pmt) (This)->lpVtbl->GetInputCurrentType(This,dwInputStreamIndex,pmt) +#define IMediaObject_GetOutputCurrentType(This,dwOutputStreamIndex,pmt) (This)->lpVtbl->GetOutputCurrentType(This,dwOutputStreamIndex,pmt) +#define IMediaObject_GetInputSizeInfo(This,dwInputStreamIndex,pcbSize,pcbMaxLookahead,pcbAlignment) (This)->lpVtbl->GetInputSizeInfo(This,dwInputStreamIndex,pcbSize,pcbMaxLookahead,pcbAlignment) +#define IMediaObject_GetOutputSizeInfo(This,dwOutputStreamIndex,pcbSize,pcbAlignment) (This)->lpVtbl->GetOutputSizeInfo(This,dwOutputStreamIndex,pcbSize,pcbAlignment) +#define IMediaObject_GetInputMaxLatency(This,dwInputStreamIndex,prtMaxLatency) (This)->lpVtbl->GetInputMaxLatency(This,dwInputStreamIndex,prtMaxLatency) +#define IMediaObject_SetInputMaxLatency(This,dwInputStreamIndex,rtMaxLatency) (This)->lpVtbl->SetInputMaxLatency(This,dwInputStreamIndex,rtMaxLatency) +#define IMediaObject_Flush(This) (This)->lpVtbl->Flush(This) +#define IMediaObject_Discontinuity(This,dwInputStreamIndex) (This)->lpVtbl->Discontinuity(This,dwInputStreamIndex) +#define IMediaObject_AllocateStreamingResources(This) (This)->lpVtbl->AllocateStreamingResources(This) +#define IMediaObject_FreeStreamingResources(This) (This)->lpVtbl->FreeStreamingResources(This) +#define IMediaObject_GetInputStatus(This,dwInputStreamIndex,dwFlags) (This)->lpVtbl->GetInputStatus(This,dwInputStreamIndex,dwFlags) +#define IMediaObject_ProcessInput(This,dwInputStreamIndex,pBuffer,dwFlags,rtTimestamp,rtTimelength) (This)->lpVtbl->ProcessInput(This,dwInputStreamIndex,pBuffer,dwFlags,rtTimestamp,rtTimelength) +#define IMediaObject_ProcessOutput(This,dwFlags,cOutputBufferCount,pOutputBuffers,pdwStatus) (This)->lpVtbl->ProcessOutput(This,dwFlags,cOutputBufferCount,pOutputBuffers,pdwStatus) +#define IMediaObject_Lock(This,bLock) (This)->lpVtbl->Lock(This,bLock) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaObject_QueryInterface(IMediaObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaObject_AddRef(IMediaObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaObject_Release(IMediaObject* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaObject methods ***/ +static FORCEINLINE HRESULT IMediaObject_GetStreamCount(IMediaObject* This,DWORD *pcInputStreams,DWORD *pcOutputStreams) { + return This->lpVtbl->GetStreamCount(This,pcInputStreams,pcOutputStreams); +} +static FORCEINLINE HRESULT IMediaObject_GetInputStreamInfo(IMediaObject* This,DWORD dwInputStreamIndex,DWORD *pdwFlags) { + return This->lpVtbl->GetInputStreamInfo(This,dwInputStreamIndex,pdwFlags); +} +static FORCEINLINE HRESULT IMediaObject_GetOutputStreamInfo(IMediaObject* This,DWORD dwOutputStreamIndex,DWORD *pdwFlags) { + return This->lpVtbl->GetOutputStreamInfo(This,dwOutputStreamIndex,pdwFlags); +} +static FORCEINLINE HRESULT IMediaObject_GetInputType(IMediaObject* This,DWORD dwInputStreamIndex,DWORD dwTypeIndex,DMO_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetInputType(This,dwInputStreamIndex,dwTypeIndex,pmt); +} +static FORCEINLINE HRESULT IMediaObject_GetOutputType(IMediaObject* This,DWORD dwOutputStreamIndex,DWORD dwTypeIndex,DMO_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetOutputType(This,dwOutputStreamIndex,dwTypeIndex,pmt); +} +static FORCEINLINE HRESULT IMediaObject_SetInputType(IMediaObject* This,DWORD dwInputStreamIndex,const DMO_MEDIA_TYPE *pmt,DWORD dwFlags) { + return This->lpVtbl->SetInputType(This,dwInputStreamIndex,pmt,dwFlags); +} +static FORCEINLINE HRESULT IMediaObject_SetOutputType(IMediaObject* This,DWORD dwOutputStreamIndex,const DMO_MEDIA_TYPE *pmt,DWORD dwFlags) { + return This->lpVtbl->SetOutputType(This,dwOutputStreamIndex,pmt,dwFlags); +} +static FORCEINLINE HRESULT IMediaObject_GetInputCurrentType(IMediaObject* This,DWORD dwInputStreamIndex,DMO_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetInputCurrentType(This,dwInputStreamIndex,pmt); +} +static FORCEINLINE HRESULT IMediaObject_GetOutputCurrentType(IMediaObject* This,DWORD dwOutputStreamIndex,DMO_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetOutputCurrentType(This,dwOutputStreamIndex,pmt); +} +static FORCEINLINE HRESULT IMediaObject_GetInputSizeInfo(IMediaObject* This,DWORD dwInputStreamIndex,DWORD *pcbSize,DWORD *pcbMaxLookahead,DWORD *pcbAlignment) { + return This->lpVtbl->GetInputSizeInfo(This,dwInputStreamIndex,pcbSize,pcbMaxLookahead,pcbAlignment); +} +static FORCEINLINE HRESULT IMediaObject_GetOutputSizeInfo(IMediaObject* This,DWORD dwOutputStreamIndex,DWORD *pcbSize,DWORD *pcbAlignment) { + return This->lpVtbl->GetOutputSizeInfo(This,dwOutputStreamIndex,pcbSize,pcbAlignment); +} +static FORCEINLINE HRESULT IMediaObject_GetInputMaxLatency(IMediaObject* This,DWORD dwInputStreamIndex,REFERENCE_TIME *prtMaxLatency) { + return This->lpVtbl->GetInputMaxLatency(This,dwInputStreamIndex,prtMaxLatency); +} +static FORCEINLINE HRESULT IMediaObject_SetInputMaxLatency(IMediaObject* This,DWORD dwInputStreamIndex,REFERENCE_TIME rtMaxLatency) { + return This->lpVtbl->SetInputMaxLatency(This,dwInputStreamIndex,rtMaxLatency); +} +static FORCEINLINE HRESULT IMediaObject_Flush(IMediaObject* This) { + return This->lpVtbl->Flush(This); +} +static FORCEINLINE HRESULT IMediaObject_Discontinuity(IMediaObject* This,DWORD dwInputStreamIndex) { + return This->lpVtbl->Discontinuity(This,dwInputStreamIndex); +} +static FORCEINLINE HRESULT IMediaObject_AllocateStreamingResources(IMediaObject* This) { + return This->lpVtbl->AllocateStreamingResources(This); +} +static FORCEINLINE HRESULT IMediaObject_FreeStreamingResources(IMediaObject* This) { + return This->lpVtbl->FreeStreamingResources(This); +} +static FORCEINLINE HRESULT IMediaObject_GetInputStatus(IMediaObject* This,DWORD dwInputStreamIndex,DWORD *dwFlags) { + return This->lpVtbl->GetInputStatus(This,dwInputStreamIndex,dwFlags); +} +static FORCEINLINE HRESULT IMediaObject_ProcessInput(IMediaObject* This,DWORD dwInputStreamIndex,IMediaBuffer *pBuffer,DWORD dwFlags,REFERENCE_TIME rtTimestamp,REFERENCE_TIME rtTimelength) { + return This->lpVtbl->ProcessInput(This,dwInputStreamIndex,pBuffer,dwFlags,rtTimestamp,rtTimelength); +} +static FORCEINLINE HRESULT IMediaObject_ProcessOutput(IMediaObject* This,DWORD dwFlags,DWORD cOutputBufferCount,DMO_OUTPUT_DATA_BUFFER *pOutputBuffers,DWORD *pdwStatus) { + return This->lpVtbl->ProcessOutput(This,dwFlags,cOutputBufferCount,pOutputBuffers,pdwStatus); +} +static FORCEINLINE HRESULT IMediaObject_Lock(IMediaObject* This,LONG bLock) { + return This->lpVtbl->Lock(This,bLock); +} +#endif +#endif + +#endif + + +#endif /* __IMediaObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaObjectInPlace interface + */ +#ifndef __IMediaObjectInPlace_INTERFACE_DEFINED__ +#define __IMediaObjectInPlace_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaObjectInPlace, 0x651b9ad0, 0x0fc7, 0x4aa9, 0x95,0x38, 0xd8,0x99,0x31,0x01,0x07,0x41); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("651b9ad0-0fc7-4aa9-9538-d89931010741") +IMediaObjectInPlace : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Process( + ULONG ulSize, + BYTE *pData, + REFERENCE_TIME refTimeStart, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IMediaObjectInPlace **ppMediaObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLatency( + REFERENCE_TIME *pLatencyTime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaObjectInPlace, 0x651b9ad0, 0x0fc7, 0x4aa9, 0x95,0x38, 0xd8,0x99,0x31,0x01,0x07,0x41) +#endif +#else +typedef struct IMediaObjectInPlaceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaObjectInPlace *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaObjectInPlace *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaObjectInPlace *This); + + /*** IMediaObjectInPlace methods ***/ + HRESULT (STDMETHODCALLTYPE *Process)( + IMediaObjectInPlace *This, + ULONG ulSize, + BYTE *pData, + REFERENCE_TIME refTimeStart, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IMediaObjectInPlace *This, + IMediaObjectInPlace **ppMediaObject); + + HRESULT (STDMETHODCALLTYPE *GetLatency)( + IMediaObjectInPlace *This, + REFERENCE_TIME *pLatencyTime); + + END_INTERFACE +} IMediaObjectInPlaceVtbl; + +interface IMediaObjectInPlace { + CONST_VTBL IMediaObjectInPlaceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaObjectInPlace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaObjectInPlace_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaObjectInPlace_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaObjectInPlace methods ***/ +#define IMediaObjectInPlace_Process(This,ulSize,pData,refTimeStart,dwFlags) (This)->lpVtbl->Process(This,ulSize,pData,refTimeStart,dwFlags) +#define IMediaObjectInPlace_Clone(This,ppMediaObject) (This)->lpVtbl->Clone(This,ppMediaObject) +#define IMediaObjectInPlace_GetLatency(This,pLatencyTime) (This)->lpVtbl->GetLatency(This,pLatencyTime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaObjectInPlace_QueryInterface(IMediaObjectInPlace* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaObjectInPlace_AddRef(IMediaObjectInPlace* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaObjectInPlace_Release(IMediaObjectInPlace* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaObjectInPlace methods ***/ +static FORCEINLINE HRESULT IMediaObjectInPlace_Process(IMediaObjectInPlace* This,ULONG ulSize,BYTE *pData,REFERENCE_TIME refTimeStart,DWORD dwFlags) { + return This->lpVtbl->Process(This,ulSize,pData,refTimeStart,dwFlags); +} +static FORCEINLINE HRESULT IMediaObjectInPlace_Clone(IMediaObjectInPlace* This,IMediaObjectInPlace **ppMediaObject) { + return This->lpVtbl->Clone(This,ppMediaObject); +} +static FORCEINLINE HRESULT IMediaObjectInPlace_GetLatency(IMediaObjectInPlace* This,REFERENCE_TIME *pLatencyTime) { + return This->lpVtbl->GetLatency(This,pLatencyTime); +} +#endif +#endif + +#endif + + +#endif /* __IMediaObjectInPlace_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mediaobj_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaobj.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaobj.idl new file mode 100644 index 0000000..04c82e8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mediaobj.idl @@ -0,0 +1,242 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * Copyright (C) 2004 Vincent Béron + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "objidl.idl"; +import "strmif.idl"; + +interface IDMOQualityControl; +interface IDMOVideoOutputOptimizations; + +typedef struct _DMOMediaType +{ + GUID majortype; + GUID subtype; + BOOL bFixedSizeSamples; + BOOL bTemporalCompression; + ULONG lSampleSize; + GUID formattype; + IUnknown *pUnk; + ULONG cbFormat; + BYTE *pbFormat; +} DMO_MEDIA_TYPE; + +/***************************************************************************** + * IEnumDMO interface + */ +[ + object, + uuid(2C3CD98A-2BFA-4A53-9C27-5249BA64BA0F), + pointer_default(unique) +] +interface IEnumDMO : IUnknown +{ + [local] + HRESULT Next( + [in] DWORD cItemsToFetch, + [out] CLSID *pCLSID, + [out] WCHAR **Names, + [out] DWORD *pcItemsFetched + ); + + HRESULT Skip( + [in] DWORD cItemsToSkip + ); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumDMO **ppEnum + ); +} + +/***************************************************************************** + * IMediaBuffer interface + */ +[ + object, + uuid(59eff8b9-938c-4a26-82f2-95cb84cdc837), + local +] +interface IMediaBuffer : IUnknown +{ + HRESULT SetLength( + DWORD cbLength + ); + + HRESULT GetMaxLength( + [out] DWORD *pcbMaxLength + ); + + HRESULT GetBufferAndLength( + [out] BYTE **ppBuffer, + [out] DWORD *pcbLength + ); +} + +typedef struct _DMO_OUTPUT_DATA_BUFFER { + IMediaBuffer *pBuffer; + DWORD dwStatus; + REFERENCE_TIME rtTimestamp; + REFERENCE_TIME rtTimelength; +} DMO_OUTPUT_DATA_BUFFER, *PDMO_OUTPUT_DATA_BUFFER; + +enum _DMO_INPLACE_PROCESS_FLAGS { + DMO_INPLACE_NORMAL = 0x00000000, + DMO_INPLACE_ZERO = 0x00000001 +}; + +/***************************************************************************** + * IMediaObject interface + */ +[ + object, + uuid(d8ad0f58-5494-4102-97c5-ec798e59bcf4), + local +] +interface IMediaObject : IUnknown +{ + HRESULT GetStreamCount( + [out] DWORD *pcInputStreams, + [out] DWORD *pcOutputStreams + ); + + HRESULT GetInputStreamInfo( + DWORD dwInputStreamIndex, + [out] DWORD *pdwFlags + ); + + HRESULT GetOutputStreamInfo( + DWORD dwOutputStreamIndex, + [out] DWORD *pdwFlags + ); + + HRESULT GetInputType( + DWORD dwInputStreamIndex, + DWORD dwTypeIndex, + [out] DMO_MEDIA_TYPE *pmt + ); + + HRESULT GetOutputType( + DWORD dwOutputStreamIndex, + DWORD dwTypeIndex, + [out] DMO_MEDIA_TYPE *pmt + ); + + HRESULT SetInputType( + DWORD dwInputStreamIndex, + [in] const DMO_MEDIA_TYPE *pmt, + DWORD dwFlags + ); + + HRESULT SetOutputType( + DWORD dwOutputStreamIndex, + [in] const DMO_MEDIA_TYPE *pmt, + DWORD dwFlags + ); + + HRESULT GetInputCurrentType( + DWORD dwInputStreamIndex, + [out] DMO_MEDIA_TYPE *pmt + ); + + HRESULT GetOutputCurrentType( + DWORD dwOutputStreamIndex, + [out] DMO_MEDIA_TYPE *pmt + ); + + HRESULT GetInputSizeInfo( + DWORD dwInputStreamIndex, + [out] DWORD *pcbSize, + [out] DWORD *pcbMaxLookahead, + [out] DWORD *pcbAlignment + ); + + HRESULT GetOutputSizeInfo( + DWORD dwOutputStreamIndex, + [out] DWORD *pcbSize, + [out] DWORD *pcbAlignment + ); + + HRESULT GetInputMaxLatency( + DWORD dwInputStreamIndex, + [out] REFERENCE_TIME *prtMaxLatency + ); + + HRESULT SetInputMaxLatency( + DWORD dwInputStreamIndex, + REFERENCE_TIME rtMaxLatency + ); + + HRESULT Flush(); + + HRESULT Discontinuity(DWORD dwInputStreamIndex); + + HRESULT AllocateStreamingResources(); + + HRESULT FreeStreamingResources(); + + HRESULT GetInputStatus( + DWORD dwInputStreamIndex, + [out] DWORD *dwFlags + ); + + HRESULT ProcessInput( + DWORD dwInputStreamIndex, + IMediaBuffer *pBuffer, + DWORD dwFlags, + REFERENCE_TIME rtTimestamp, + REFERENCE_TIME rtTimelength + ); + + HRESULT ProcessOutput( + DWORD dwFlags, + DWORD cOutputBufferCount, + [in,out] DMO_OUTPUT_DATA_BUFFER *pOutputBuffers, + [out] DWORD *pdwStatus + ); + + HRESULT Lock(LONG bLock); +}; + +/***************************************************************************** + * IMediaObjectInPlace interface + */ + +[ + object, + uuid(651b9ad0-0fc7-4aa9-9538-d89931010741), + local +] +interface IMediaObjectInPlace : IUnknown { + HRESULT Process( + [in] ULONG ulSize, + [in,out] BYTE* pData, + [in] REFERENCE_TIME refTimeStart, + [in] DWORD dwFlags + ); + + HRESULT Clone( + [out] IMediaObjectInPlace **ppMediaObject + ); + + HRESULT GetLatency( + [out] REFERENCE_TIME *pLatencyTime + ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/metahost.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/metahost.h new file mode 100644 index 0000000..afe9f4c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/metahost.h @@ -0,0 +1,789 @@ +/*** Autogenerated by WIDL 2.18 from metahost.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __metahost_h__ +#define __metahost_h__ + +/* Forward declarations */ + +#ifndef __ICLRRuntimeInfo_FWD_DEFINED__ +#define __ICLRRuntimeInfo_FWD_DEFINED__ +typedef interface ICLRRuntimeInfo ICLRRuntimeInfo; +#ifdef __cplusplus +interface ICLRRuntimeInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ICLRMetaHost_FWD_DEFINED__ +#define __ICLRMetaHost_FWD_DEFINED__ +typedef interface ICLRMetaHost ICLRMetaHost; +#ifdef __cplusplus +interface ICLRMetaHost; +#endif /* __cplusplus */ +#endif + +#ifndef __ICLRMetaHostPolicy_FWD_DEFINED__ +#define __ICLRMetaHostPolicy_FWD_DEFINED__ +typedef interface ICLRMetaHostPolicy ICLRMetaHostPolicy; +#ifdef __cplusplus +interface ICLRMetaHostPolicy; +#endif /* __cplusplus */ +#endif + +#ifndef __CLRMetaHostPolicy_FWD_DEFINED__ +#define __CLRMetaHostPolicy_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CLRMetaHostPolicy CLRMetaHostPolicy; +#else +typedef struct CLRMetaHostPolicy CLRMetaHostPolicy; +#endif /* defined __cplusplus */ +#endif /* defined __CLRMetaHostPolicy_FWD_DEFINED__ */ + +#ifndef __ICLRDebuggingLibraryProvider_FWD_DEFINED__ +#define __ICLRDebuggingLibraryProvider_FWD_DEFINED__ +typedef interface ICLRDebuggingLibraryProvider ICLRDebuggingLibraryProvider; +#ifdef __cplusplus +interface ICLRDebuggingLibraryProvider; +#endif /* __cplusplus */ +#endif + +#ifndef __ICLRDebugging_FWD_DEFINED__ +#define __ICLRDebugging_FWD_DEFINED__ +typedef interface ICLRDebugging ICLRDebugging; +#ifdef __cplusplus +interface ICLRDebugging; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef LoadLibrary +#endif +typedef enum __WIDL_metahost_generated_name_00000011 { + METAHOST_POLICY_HIGHCOMPAT = 0, + METAHOST_POLICY_APPLY_UPGRADE_POLICY = 0x8, + METAHOST_POLICY_EMULATE_EXE_LAUNCH = 0x10, + METAHOST_POLICY_SHOW_ERROR_DIALOG = 0x20, + METAHOST_POLICY_USE_PROCESS_IMAGE_PATH = 0x40, + METAHOST_POLICY_ENSURE_SKU_SUPPORTED = 0x80 +} METAHOST_POLICY_FLAGS; +typedef enum __WIDL_metahost_generated_name_00000012 { + CLR_DEBUGGING_MANAGED_EVENT_PENDING = 1 +} CLR_DEBUGGING_PROCESS_FLAGS; +typedef struct _CLR_DEBUGGING_VERSION { + WORD wStructVersion; + WORD wMajor; + WORD wMinor; + WORD wBuild; + WORD wRevision; +} CLR_DEBUGGING_VERSION; +/***************************************************************************** + * ICLRRuntimeInfo interface + */ +#ifndef __ICLRRuntimeInfo_INTERFACE_DEFINED__ +#define __ICLRRuntimeInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRRuntimeInfo, 0xbd39d1d2, 0xba2f, 0x486a, 0x89,0xb0, 0xb4,0xb0,0xcb,0x46,0x68,0x91); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bd39d1d2-ba2f-486a-89b0-b4b0cb466891") +ICLRRuntimeInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetVersionString( + LPWSTR pwzBuffer, + DWORD *pcchBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRuntimeDirectory( + LPWSTR pwzBuffer, + DWORD *pcchBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsLoaded( + HANDLE hndProcess, + BOOL *pbLoaded) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadErrorString( + UINT iResourceID, + LPWSTR pwzBuffer, + DWORD *pcchBuffer, + LONG iLocaleid) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadLibrary( + LPCWSTR pwzDllName, + HMODULE *phndModule) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAddress( + LPCSTR pszProcName, + LPVOID *ppProc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInterface( + REFCLSID rclsid, + REFIID riid, + LPVOID *ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsLoadable( + BOOL *pbLoadable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultStartupFlags( + DWORD dwStartupFlags, + LPCWSTR pwzHostConfigFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultStartupFlags( + DWORD *pdwStartupFlags, + LPWSTR pwzHostConfigFile, + DWORD *pcchHostConfigFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindAsLegacyV2Runtime( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsStarted( + BOOL *pbStarted, + DWORD *pdwStartupFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRRuntimeInfo, 0xbd39d1d2, 0xba2f, 0x486a, 0x89,0xb0, 0xb4,0xb0,0xcb,0x46,0x68,0x91) +#endif +#else +typedef struct ICLRRuntimeInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRRuntimeInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRRuntimeInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRRuntimeInfo *This); + + /*** ICLRRuntimeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVersionString)( + ICLRRuntimeInfo *This, + LPWSTR pwzBuffer, + DWORD *pcchBuffer); + + HRESULT (STDMETHODCALLTYPE *GetRuntimeDirectory)( + ICLRRuntimeInfo *This, + LPWSTR pwzBuffer, + DWORD *pcchBuffer); + + HRESULT (STDMETHODCALLTYPE *IsLoaded)( + ICLRRuntimeInfo *This, + HANDLE hndProcess, + BOOL *pbLoaded); + + HRESULT (STDMETHODCALLTYPE *LoadErrorString)( + ICLRRuntimeInfo *This, + UINT iResourceID, + LPWSTR pwzBuffer, + DWORD *pcchBuffer, + LONG iLocaleid); + + HRESULT (STDMETHODCALLTYPE *LoadLibrary)( + ICLRRuntimeInfo *This, + LPCWSTR pwzDllName, + HMODULE *phndModule); + + HRESULT (STDMETHODCALLTYPE *GetProcAddress)( + ICLRRuntimeInfo *This, + LPCSTR pszProcName, + LPVOID *ppProc); + + HRESULT (STDMETHODCALLTYPE *GetInterface)( + ICLRRuntimeInfo *This, + REFCLSID rclsid, + REFIID riid, + LPVOID *ppUnk); + + HRESULT (STDMETHODCALLTYPE *IsLoadable)( + ICLRRuntimeInfo *This, + BOOL *pbLoadable); + + HRESULT (STDMETHODCALLTYPE *SetDefaultStartupFlags)( + ICLRRuntimeInfo *This, + DWORD dwStartupFlags, + LPCWSTR pwzHostConfigFile); + + HRESULT (STDMETHODCALLTYPE *GetDefaultStartupFlags)( + ICLRRuntimeInfo *This, + DWORD *pdwStartupFlags, + LPWSTR pwzHostConfigFile, + DWORD *pcchHostConfigFile); + + HRESULT (STDMETHODCALLTYPE *BindAsLegacyV2Runtime)( + ICLRRuntimeInfo *This); + + HRESULT (STDMETHODCALLTYPE *IsStarted)( + ICLRRuntimeInfo *This, + BOOL *pbStarted, + DWORD *pdwStartupFlags); + + END_INTERFACE +} ICLRRuntimeInfoVtbl; + +interface ICLRRuntimeInfo { + CONST_VTBL ICLRRuntimeInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRRuntimeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRRuntimeInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRRuntimeInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRRuntimeInfo methods ***/ +#define ICLRRuntimeInfo_GetVersionString(This,pwzBuffer,pcchBuffer) (This)->lpVtbl->GetVersionString(This,pwzBuffer,pcchBuffer) +#define ICLRRuntimeInfo_GetRuntimeDirectory(This,pwzBuffer,pcchBuffer) (This)->lpVtbl->GetRuntimeDirectory(This,pwzBuffer,pcchBuffer) +#define ICLRRuntimeInfo_IsLoaded(This,hndProcess,pbLoaded) (This)->lpVtbl->IsLoaded(This,hndProcess,pbLoaded) +#define ICLRRuntimeInfo_LoadErrorString(This,iResourceID,pwzBuffer,pcchBuffer,iLocaleid) (This)->lpVtbl->LoadErrorString(This,iResourceID,pwzBuffer,pcchBuffer,iLocaleid) +#define ICLRRuntimeInfo_LoadLibrary(This,pwzDllName,phndModule) (This)->lpVtbl->LoadLibrary(This,pwzDllName,phndModule) +#define ICLRRuntimeInfo_GetProcAddress(This,pszProcName,ppProc) (This)->lpVtbl->GetProcAddress(This,pszProcName,ppProc) +#define ICLRRuntimeInfo_GetInterface(This,rclsid,riid,ppUnk) (This)->lpVtbl->GetInterface(This,rclsid,riid,ppUnk) +#define ICLRRuntimeInfo_IsLoadable(This,pbLoadable) (This)->lpVtbl->IsLoadable(This,pbLoadable) +#define ICLRRuntimeInfo_SetDefaultStartupFlags(This,dwStartupFlags,pwzHostConfigFile) (This)->lpVtbl->SetDefaultStartupFlags(This,dwStartupFlags,pwzHostConfigFile) +#define ICLRRuntimeInfo_GetDefaultStartupFlags(This,pdwStartupFlags,pwzHostConfigFile,pcchHostConfigFile) (This)->lpVtbl->GetDefaultStartupFlags(This,pdwStartupFlags,pwzHostConfigFile,pcchHostConfigFile) +#define ICLRRuntimeInfo_BindAsLegacyV2Runtime(This) (This)->lpVtbl->BindAsLegacyV2Runtime(This) +#define ICLRRuntimeInfo_IsStarted(This,pbStarted,pdwStartupFlags) (This)->lpVtbl->IsStarted(This,pbStarted,pdwStartupFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRRuntimeInfo_QueryInterface(ICLRRuntimeInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRRuntimeInfo_AddRef(ICLRRuntimeInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRRuntimeInfo_Release(ICLRRuntimeInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRRuntimeInfo methods ***/ +static FORCEINLINE HRESULT ICLRRuntimeInfo_GetVersionString(ICLRRuntimeInfo* This,LPWSTR pwzBuffer,DWORD *pcchBuffer) { + return This->lpVtbl->GetVersionString(This,pwzBuffer,pcchBuffer); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_GetRuntimeDirectory(ICLRRuntimeInfo* This,LPWSTR pwzBuffer,DWORD *pcchBuffer) { + return This->lpVtbl->GetRuntimeDirectory(This,pwzBuffer,pcchBuffer); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_IsLoaded(ICLRRuntimeInfo* This,HANDLE hndProcess,BOOL *pbLoaded) { + return This->lpVtbl->IsLoaded(This,hndProcess,pbLoaded); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_LoadErrorString(ICLRRuntimeInfo* This,UINT iResourceID,LPWSTR pwzBuffer,DWORD *pcchBuffer,LONG iLocaleid) { + return This->lpVtbl->LoadErrorString(This,iResourceID,pwzBuffer,pcchBuffer,iLocaleid); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_LoadLibrary(ICLRRuntimeInfo* This,LPCWSTR pwzDllName,HMODULE *phndModule) { + return This->lpVtbl->LoadLibrary(This,pwzDllName,phndModule); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_GetProcAddress(ICLRRuntimeInfo* This,LPCSTR pszProcName,LPVOID *ppProc) { + return This->lpVtbl->GetProcAddress(This,pszProcName,ppProc); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_GetInterface(ICLRRuntimeInfo* This,REFCLSID rclsid,REFIID riid,LPVOID *ppUnk) { + return This->lpVtbl->GetInterface(This,rclsid,riid,ppUnk); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_IsLoadable(ICLRRuntimeInfo* This,BOOL *pbLoadable) { + return This->lpVtbl->IsLoadable(This,pbLoadable); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_SetDefaultStartupFlags(ICLRRuntimeInfo* This,DWORD dwStartupFlags,LPCWSTR pwzHostConfigFile) { + return This->lpVtbl->SetDefaultStartupFlags(This,dwStartupFlags,pwzHostConfigFile); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_GetDefaultStartupFlags(ICLRRuntimeInfo* This,DWORD *pdwStartupFlags,LPWSTR pwzHostConfigFile,DWORD *pcchHostConfigFile) { + return This->lpVtbl->GetDefaultStartupFlags(This,pdwStartupFlags,pwzHostConfigFile,pcchHostConfigFile); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_BindAsLegacyV2Runtime(ICLRRuntimeInfo* This) { + return This->lpVtbl->BindAsLegacyV2Runtime(This); +} +static FORCEINLINE HRESULT ICLRRuntimeInfo_IsStarted(ICLRRuntimeInfo* This,BOOL *pbStarted,DWORD *pdwStartupFlags) { + return This->lpVtbl->IsStarted(This,pbStarted,pdwStartupFlags); +} +#endif +#endif + +#endif + + +#endif /* __ICLRRuntimeInfo_INTERFACE_DEFINED__ */ + +typedef HRESULT (__stdcall *CallbackThreadSetFnPtr)(void); +typedef HRESULT (__stdcall *CallbackThreadUnsetFnPtr)(void); +typedef void (__stdcall *RuntimeLoadedCallbackFnPtr)(ICLRRuntimeInfo *pRuntimeInfo,HRESULT (__stdcall * pfnCallbackThreadSet)(void),HRESULT (__stdcall * pfnCallbackThreadUnset)(void)); +DEFINE_GUID(CLSID_CLRDebuggingLegacy, 0xDF8395B5,0xA4BA,0x450b,0xA7,0x7C,0xA9,0xA4,0x77,0x62,0xC5,0x20); +DEFINE_GUID(CLSID_CLRMetaHost, 0x9280188d,0x0e8e,0x4867,0xb3,0x0c,0x7f,0xa8,0x38,0x84,0xe8,0xde); +/***************************************************************************** + * ICLRMetaHost interface + */ +#ifndef __ICLRMetaHost_INTERFACE_DEFINED__ +#define __ICLRMetaHost_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRMetaHost, 0xd332db9e, 0xb9b3, 0x4125, 0x82,0x07, 0xa1,0x48,0x84,0xf5,0x32,0x16); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d332db9e-b9b3-4125-8207-a14884f53216") +ICLRMetaHost : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRuntime( + LPCWSTR pwzVersion, + REFIID iid, + LPVOID *ppRuntime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVersionFromFile( + LPCWSTR pwzFilePath, + LPWSTR pwzBuffer, + DWORD *pcchBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateInstalledRuntimes( + IEnumUnknown **ppEnumerator) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateLoadedRuntimes( + HANDLE hndProcess, + IEnumUnknown **ppEnumerator) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestRuntimeLoadedNotification( + void (__stdcall * pCallbackFunction)(ICLRRuntimeInfo *pRuntimeInfo,HRESULT (__stdcall * pfnCallbackThreadSet)(void),HRESULT (__stdcall * pfnCallbackThreadUnset)(void))) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryLegacyV2RuntimeBinding( + REFIID riid, + LPVOID *ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitProcess( + INT32 iExitCode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRMetaHost, 0xd332db9e, 0xb9b3, 0x4125, 0x82,0x07, 0xa1,0x48,0x84,0xf5,0x32,0x16) +#endif +#else +typedef struct ICLRMetaHostVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRMetaHost *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRMetaHost *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRMetaHost *This); + + /*** ICLRMetaHost methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRuntime)( + ICLRMetaHost *This, + LPCWSTR pwzVersion, + REFIID iid, + LPVOID *ppRuntime); + + HRESULT (STDMETHODCALLTYPE *GetVersionFromFile)( + ICLRMetaHost *This, + LPCWSTR pwzFilePath, + LPWSTR pwzBuffer, + DWORD *pcchBuffer); + + HRESULT (STDMETHODCALLTYPE *EnumerateInstalledRuntimes)( + ICLRMetaHost *This, + IEnumUnknown **ppEnumerator); + + HRESULT (STDMETHODCALLTYPE *EnumerateLoadedRuntimes)( + ICLRMetaHost *This, + HANDLE hndProcess, + IEnumUnknown **ppEnumerator); + + HRESULT (STDMETHODCALLTYPE *RequestRuntimeLoadedNotification)( + ICLRMetaHost *This, + void (__stdcall * pCallbackFunction)(ICLRRuntimeInfo *pRuntimeInfo,HRESULT (__stdcall * pfnCallbackThreadSet)(void),HRESULT (__stdcall * pfnCallbackThreadUnset)(void))); + + HRESULT (STDMETHODCALLTYPE *QueryLegacyV2RuntimeBinding)( + ICLRMetaHost *This, + REFIID riid, + LPVOID *ppUnk); + + HRESULT (STDMETHODCALLTYPE *ExitProcess)( + ICLRMetaHost *This, + INT32 iExitCode); + + END_INTERFACE +} ICLRMetaHostVtbl; + +interface ICLRMetaHost { + CONST_VTBL ICLRMetaHostVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRMetaHost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRMetaHost_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRMetaHost_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRMetaHost methods ***/ +#define ICLRMetaHost_GetRuntime(This,pwzVersion,iid,ppRuntime) (This)->lpVtbl->GetRuntime(This,pwzVersion,iid,ppRuntime) +#define ICLRMetaHost_GetVersionFromFile(This,pwzFilePath,pwzBuffer,pcchBuffer) (This)->lpVtbl->GetVersionFromFile(This,pwzFilePath,pwzBuffer,pcchBuffer) +#define ICLRMetaHost_EnumerateInstalledRuntimes(This,ppEnumerator) (This)->lpVtbl->EnumerateInstalledRuntimes(This,ppEnumerator) +#define ICLRMetaHost_EnumerateLoadedRuntimes(This,hndProcess,ppEnumerator) (This)->lpVtbl->EnumerateLoadedRuntimes(This,hndProcess,ppEnumerator) +#define ICLRMetaHost_RequestRuntimeLoadedNotification(This,pCallbackFunction) (This)->lpVtbl->RequestRuntimeLoadedNotification(This,pCallbackFunction) +#define ICLRMetaHost_QueryLegacyV2RuntimeBinding(This,riid,ppUnk) (This)->lpVtbl->QueryLegacyV2RuntimeBinding(This,riid,ppUnk) +#define ICLRMetaHost_ExitProcess(This,iExitCode) (This)->lpVtbl->ExitProcess(This,iExitCode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRMetaHost_QueryInterface(ICLRMetaHost* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRMetaHost_AddRef(ICLRMetaHost* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRMetaHost_Release(ICLRMetaHost* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRMetaHost methods ***/ +static FORCEINLINE HRESULT ICLRMetaHost_GetRuntime(ICLRMetaHost* This,LPCWSTR pwzVersion,REFIID iid,LPVOID *ppRuntime) { + return This->lpVtbl->GetRuntime(This,pwzVersion,iid,ppRuntime); +} +static FORCEINLINE HRESULT ICLRMetaHost_GetVersionFromFile(ICLRMetaHost* This,LPCWSTR pwzFilePath,LPWSTR pwzBuffer,DWORD *pcchBuffer) { + return This->lpVtbl->GetVersionFromFile(This,pwzFilePath,pwzBuffer,pcchBuffer); +} +static FORCEINLINE HRESULT ICLRMetaHost_EnumerateInstalledRuntimes(ICLRMetaHost* This,IEnumUnknown **ppEnumerator) { + return This->lpVtbl->EnumerateInstalledRuntimes(This,ppEnumerator); +} +static FORCEINLINE HRESULT ICLRMetaHost_EnumerateLoadedRuntimes(ICLRMetaHost* This,HANDLE hndProcess,IEnumUnknown **ppEnumerator) { + return This->lpVtbl->EnumerateLoadedRuntimes(This,hndProcess,ppEnumerator); +} +static FORCEINLINE HRESULT ICLRMetaHost_RequestRuntimeLoadedNotification(ICLRMetaHost* This,void (__stdcall * pCallbackFunction)(ICLRRuntimeInfo *pRuntimeInfo,HRESULT (__stdcall * pfnCallbackThreadSet)(void),HRESULT (__stdcall * pfnCallbackThreadUnset)(void))) { + return This->lpVtbl->RequestRuntimeLoadedNotification(This,pCallbackFunction); +} +static FORCEINLINE HRESULT ICLRMetaHost_QueryLegacyV2RuntimeBinding(ICLRMetaHost* This,REFIID riid,LPVOID *ppUnk) { + return This->lpVtbl->QueryLegacyV2RuntimeBinding(This,riid,ppUnk); +} +static FORCEINLINE HRESULT ICLRMetaHost_ExitProcess(ICLRMetaHost* This,INT32 iExitCode) { + return This->lpVtbl->ExitProcess(This,iExitCode); +} +#endif +#endif + +#endif + + +#endif /* __ICLRMetaHost_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICLRMetaHostPolicy interface + */ +#ifndef __ICLRMetaHostPolicy_INTERFACE_DEFINED__ +#define __ICLRMetaHostPolicy_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRMetaHostPolicy, 0xe2190695, 0x77b2, 0x492e, 0x8e,0x14, 0xc4,0xb3,0xa7,0xfd,0xd5,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e2190695-77b2-492e-8e14-c4b3a7fdd593") +ICLRMetaHostPolicy : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRequestedRuntime( + METAHOST_POLICY_FLAGS dwPolicyFlags, + LPCWSTR pwzBinary, + IStream *pCfgStream, + LPWSTR pwzVersion, + DWORD *pcchVersion, + LPWSTR pwzImageVersion, + DWORD *pcchImageVersion, + DWORD *pdwConfigFlags, + REFIID riid, + LPVOID *ppRuntime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRMetaHostPolicy, 0xe2190695, 0x77b2, 0x492e, 0x8e,0x14, 0xc4,0xb3,0xa7,0xfd,0xd5,0x93) +#endif +#else +typedef struct ICLRMetaHostPolicyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRMetaHostPolicy *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRMetaHostPolicy *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRMetaHostPolicy *This); + + /*** ICLRMetaHostPolicy methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRequestedRuntime)( + ICLRMetaHostPolicy *This, + METAHOST_POLICY_FLAGS dwPolicyFlags, + LPCWSTR pwzBinary, + IStream *pCfgStream, + LPWSTR pwzVersion, + DWORD *pcchVersion, + LPWSTR pwzImageVersion, + DWORD *pcchImageVersion, + DWORD *pdwConfigFlags, + REFIID riid, + LPVOID *ppRuntime); + + END_INTERFACE +} ICLRMetaHostPolicyVtbl; + +interface ICLRMetaHostPolicy { + CONST_VTBL ICLRMetaHostPolicyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRMetaHostPolicy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRMetaHostPolicy_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRMetaHostPolicy_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRMetaHostPolicy methods ***/ +#define ICLRMetaHostPolicy_GetRequestedRuntime(This,dwPolicyFlags,pwzBinary,pCfgStream,pwzVersion,pcchVersion,pwzImageVersion,pcchImageVersion,pdwConfigFlags,riid,ppRuntime) (This)->lpVtbl->GetRequestedRuntime(This,dwPolicyFlags,pwzBinary,pCfgStream,pwzVersion,pcchVersion,pwzImageVersion,pcchImageVersion,pdwConfigFlags,riid,ppRuntime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRMetaHostPolicy_QueryInterface(ICLRMetaHostPolicy* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRMetaHostPolicy_AddRef(ICLRMetaHostPolicy* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRMetaHostPolicy_Release(ICLRMetaHostPolicy* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRMetaHostPolicy methods ***/ +static FORCEINLINE HRESULT ICLRMetaHostPolicy_GetRequestedRuntime(ICLRMetaHostPolicy* This,METAHOST_POLICY_FLAGS dwPolicyFlags,LPCWSTR pwzBinary,IStream *pCfgStream,LPWSTR pwzVersion,DWORD *pcchVersion,LPWSTR pwzImageVersion,DWORD *pcchImageVersion,DWORD *pdwConfigFlags,REFIID riid,LPVOID *ppRuntime) { + return This->lpVtbl->GetRequestedRuntime(This,dwPolicyFlags,pwzBinary,pCfgStream,pwzVersion,pcchVersion,pwzImageVersion,pcchImageVersion,pdwConfigFlags,riid,ppRuntime); +} +#endif +#endif + +#endif + + +#endif /* __ICLRMetaHostPolicy_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CLRMetaHostPolicy coclass + */ + +DEFINE_GUID(CLSID_CLRMetaHostPolicy, 0x2ebcd49a, 0x1b47, 0x4a61, 0xb1,0x3a, 0x4a,0x03,0x70,0x1e,0x59,0x4b); + +#ifdef __cplusplus +class DECLSPEC_UUID("2ebcd49a-1b47-4a61-b13a-4a03701e594b") CLRMetaHostPolicy; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CLRMetaHostPolicy, 0x2ebcd49a, 0x1b47, 0x4a61, 0xb1,0x3a, 0x4a,0x03,0x70,0x1e,0x59,0x4b) +#endif +#endif + +/***************************************************************************** + * ICLRDebuggingLibraryProvider interface + */ +#ifndef __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__ +#define __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRDebuggingLibraryProvider, 0x3151c08d, 0x4d09, 0x4f9b, 0x88,0x38, 0x28,0x80,0xbf,0x18,0xfe,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3151c08d-4d09-4f9b-8838-2880bf18fe51") +ICLRDebuggingLibraryProvider : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ProvideLibrary( + const WCHAR *pwszFileName, + DWORD dwTimestamp, + DWORD dwSizeOfImage, + HMODULE *phModule) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRDebuggingLibraryProvider, 0x3151c08d, 0x4d09, 0x4f9b, 0x88,0x38, 0x28,0x80,0xbf,0x18,0xfe,0x51) +#endif +#else +typedef struct ICLRDebuggingLibraryProviderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRDebuggingLibraryProvider *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRDebuggingLibraryProvider *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRDebuggingLibraryProvider *This); + + /*** ICLRDebuggingLibraryProvider methods ***/ + HRESULT (STDMETHODCALLTYPE *ProvideLibrary)( + ICLRDebuggingLibraryProvider *This, + const WCHAR *pwszFileName, + DWORD dwTimestamp, + DWORD dwSizeOfImage, + HMODULE *phModule); + + END_INTERFACE +} ICLRDebuggingLibraryProviderVtbl; + +interface ICLRDebuggingLibraryProvider { + CONST_VTBL ICLRDebuggingLibraryProviderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRDebuggingLibraryProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRDebuggingLibraryProvider_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRDebuggingLibraryProvider_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRDebuggingLibraryProvider methods ***/ +#define ICLRDebuggingLibraryProvider_ProvideLibrary(This,pwszFileName,dwTimestamp,dwSizeOfImage,phModule) (This)->lpVtbl->ProvideLibrary(This,pwszFileName,dwTimestamp,dwSizeOfImage,phModule) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRDebuggingLibraryProvider_QueryInterface(ICLRDebuggingLibraryProvider* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRDebuggingLibraryProvider_AddRef(ICLRDebuggingLibraryProvider* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRDebuggingLibraryProvider_Release(ICLRDebuggingLibraryProvider* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRDebuggingLibraryProvider methods ***/ +static FORCEINLINE HRESULT ICLRDebuggingLibraryProvider_ProvideLibrary(ICLRDebuggingLibraryProvider* This,const WCHAR *pwszFileName,DWORD dwTimestamp,DWORD dwSizeOfImage,HMODULE *phModule) { + return This->lpVtbl->ProvideLibrary(This,pwszFileName,dwTimestamp,dwSizeOfImage,phModule); +} +#endif +#endif + +#endif + + +#endif /* __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICLRDebugging interface + */ +#ifndef __ICLRDebugging_INTERFACE_DEFINED__ +#define __ICLRDebugging_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRDebugging, 0xd28f3c5a, 0x9634, 0x4206, 0xa5,0x09, 0x47,0x75,0x52,0xee,0xfb,0x10); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d28f3c5a-9634-4206-a509-477552eefb10") +ICLRDebugging : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OpenVirtualProcess( + ULONG64 moduleBaseAddress, + IUnknown *pDataTarget, + ICLRDebuggingLibraryProvider *pLibraryProvider, + CLR_DEBUGGING_VERSION *pMaxDebuggerSupportedVersion, + REFIID riidProcess, + IUnknown **ppProcess, + CLR_DEBUGGING_VERSION *pVersion, + CLR_DEBUGGING_PROCESS_FLAGS *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanUnloadNow( + HMODULE hModule) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRDebugging, 0xd28f3c5a, 0x9634, 0x4206, 0xa5,0x09, 0x47,0x75,0x52,0xee,0xfb,0x10) +#endif +#else +typedef struct ICLRDebuggingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRDebugging *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRDebugging *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRDebugging *This); + + /*** ICLRDebugging methods ***/ + HRESULT (STDMETHODCALLTYPE *OpenVirtualProcess)( + ICLRDebugging *This, + ULONG64 moduleBaseAddress, + IUnknown *pDataTarget, + ICLRDebuggingLibraryProvider *pLibraryProvider, + CLR_DEBUGGING_VERSION *pMaxDebuggerSupportedVersion, + REFIID riidProcess, + IUnknown **ppProcess, + CLR_DEBUGGING_VERSION *pVersion, + CLR_DEBUGGING_PROCESS_FLAGS *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *CanUnloadNow)( + ICLRDebugging *This, + HMODULE hModule); + + END_INTERFACE +} ICLRDebuggingVtbl; + +interface ICLRDebugging { + CONST_VTBL ICLRDebuggingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRDebugging_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRDebugging_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRDebugging_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRDebugging methods ***/ +#define ICLRDebugging_OpenVirtualProcess(This,moduleBaseAddress,pDataTarget,pLibraryProvider,pMaxDebuggerSupportedVersion,riidProcess,ppProcess,pVersion,pdwFlags) (This)->lpVtbl->OpenVirtualProcess(This,moduleBaseAddress,pDataTarget,pLibraryProvider,pMaxDebuggerSupportedVersion,riidProcess,ppProcess,pVersion,pdwFlags) +#define ICLRDebugging_CanUnloadNow(This,hModule) (This)->lpVtbl->CanUnloadNow(This,hModule) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRDebugging_QueryInterface(ICLRDebugging* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRDebugging_AddRef(ICLRDebugging* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRDebugging_Release(ICLRDebugging* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRDebugging methods ***/ +static FORCEINLINE HRESULT ICLRDebugging_OpenVirtualProcess(ICLRDebugging* This,ULONG64 moduleBaseAddress,IUnknown *pDataTarget,ICLRDebuggingLibraryProvider *pLibraryProvider,CLR_DEBUGGING_VERSION *pMaxDebuggerSupportedVersion,REFIID riidProcess,IUnknown **ppProcess,CLR_DEBUGGING_VERSION *pVersion,CLR_DEBUGGING_PROCESS_FLAGS *pdwFlags) { + return This->lpVtbl->OpenVirtualProcess(This,moduleBaseAddress,pDataTarget,pLibraryProvider,pMaxDebuggerSupportedVersion,riidProcess,ppProcess,pVersion,pdwFlags); +} +static FORCEINLINE HRESULT ICLRDebugging_CanUnloadNow(ICLRDebugging* This,HMODULE hModule) { + return This->lpVtbl->CanUnloadNow(This,hModule); +} +#endif +#endif + +#endif + + +#endif /* __ICLRDebugging_INTERFACE_DEFINED__ */ + +HRESULT WINAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, LPVOID *ppInterface); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __metahost_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/metahost.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/metahost.idl new file mode 100644 index 0000000..549d664 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/metahost.idl @@ -0,0 +1,206 @@ +/* + * Copyright 2010 Vincent Povirk for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "oaidl.idl"; +import "ocidl.idl"; +import "mscoree.idl"; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef LoadLibrary") +cpp_quote("#endif") + +typedef enum +{ + METAHOST_POLICY_HIGHCOMPAT = 0, + METAHOST_POLICY_APPLY_UPGRADE_POLICY = 0x08, + METAHOST_POLICY_EMULATE_EXE_LAUNCH = 0x10, + METAHOST_POLICY_SHOW_ERROR_DIALOG = 0x20, + METAHOST_POLICY_USE_PROCESS_IMAGE_PATH = 0x40, + METAHOST_POLICY_ENSURE_SKU_SUPPORTED = 0x80 +} METAHOST_POLICY_FLAGS; + +typedef enum +{ + CLR_DEBUGGING_MANAGED_EVENT_PENDING = 1 +} CLR_DEBUGGING_PROCESS_FLAGS; + +typedef struct _CLR_DEBUGGING_VERSION +{ + WORD wStructVersion; + WORD wMajor; + WORD wMinor; + WORD wBuild; + WORD wRevision; +} CLR_DEBUGGING_VERSION; + +[ + object, + local, + uuid(bd39d1d2-ba2f-486a-89b0-b4b0cb466891) +] +interface ICLRRuntimeInfo : IUnknown +{ + HRESULT GetVersionString( + [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, + [in, out] DWORD *pcchBuffer); + + HRESULT GetRuntimeDirectory( + [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, + [in, out] DWORD *pcchBuffer); + + HRESULT IsLoaded( + [in] HANDLE hndProcess, + [out, retval] BOOL *pbLoaded); + + HRESULT LoadErrorString( + [in] UINT iResourceID, + [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, + [in, out] DWORD *pcchBuffer, + [in] LONG iLocaleid); + + HRESULT LoadLibrary( + [in] LPCWSTR pwzDllName, + [out, retval] HMODULE *phndModule); + + HRESULT GetProcAddress( + [in] LPCSTR pszProcName, + [out, retval] LPVOID *ppProc); + + HRESULT GetInterface( + [in] REFCLSID rclsid, + [in] REFIID riid, + [out, iid_is(riid), retval] LPVOID *ppUnk); + + HRESULT IsLoadable( + [out, retval] BOOL *pbLoadable); + + HRESULT SetDefaultStartupFlags( + [in] DWORD dwStartupFlags, + [in] LPCWSTR pwzHostConfigFile); + + HRESULT GetDefaultStartupFlags( + [out] DWORD *pdwStartupFlags, + [out, size_is(*pcchHostConfigFile)] LPWSTR pwzHostConfigFile, + [in, out] DWORD *pcchHostConfigFile); + + HRESULT BindAsLegacyV2Runtime(); + + HRESULT IsStarted( + [out] BOOL *pbStarted, + [out] DWORD *pdwStartupFlags); +}; + +typedef HRESULT (__stdcall *CallbackThreadSetFnPtr)(); +typedef HRESULT (__stdcall *CallbackThreadUnsetFnPtr)(); + +typedef void (__stdcall *RuntimeLoadedCallbackFnPtr)( + ICLRRuntimeInfo *pRuntimeInfo, + CallbackThreadSetFnPtr pfnCallbackThreadSet, + CallbackThreadUnsetFnPtr pfnCallbackThreadUnset); + +cpp_quote("DEFINE_GUID(CLSID_CLRDebuggingLegacy, 0xDF8395B5,0xA4BA,0x450b,0xA7,0x7C,0xA9,0xA4,0x77,0x62,0xC5,0x20);") +cpp_quote("DEFINE_GUID(CLSID_CLRMetaHost, 0x9280188d,0x0e8e,0x4867,0xb3,0x0c,0x7f,0xa8,0x38,0x84,0xe8,0xde);") + +[ + object, + local, + uuid(d332db9e-b9b3-4125-8207-a14884f53216) +] +interface ICLRMetaHost : IUnknown +{ + HRESULT GetRuntime( + [in] LPCWSTR pwzVersion, + [in] REFIID iid, + [out, iid_is(iid), retval] LPVOID *ppRuntime); + + HRESULT GetVersionFromFile( + [in] LPCWSTR pwzFilePath, + [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, + [in, out] DWORD *pcchBuffer); + + HRESULT EnumerateInstalledRuntimes( + [out, retval] IEnumUnknown **ppEnumerator); + + HRESULT EnumerateLoadedRuntimes( + [in] HANDLE hndProcess, + [out, retval] IEnumUnknown **ppEnumerator); + + HRESULT RequestRuntimeLoadedNotification( + [in] RuntimeLoadedCallbackFnPtr pCallbackFunction); + + HRESULT QueryLegacyV2RuntimeBinding( + [in] REFIID riid, + [out, iid_is(riid), retval] LPVOID *ppUnk); + + HRESULT ExitProcess( + [in] INT32 iExitCode); +}; + +[ + object, + local, + uuid(e2190695-77b2-492e-8e14-c4b3a7fdd593) +] +interface ICLRMetaHostPolicy : IUnknown +{ + HRESULT GetRequestedRuntime([in] METAHOST_POLICY_FLAGS dwPolicyFlags, + [in] LPCWSTR pwzBinary, [in] IStream *pCfgStream, + [in, out] LPWSTR pwzVersion, [in, out] DWORD *pcchVersion, + [out] LPWSTR pwzImageVersion, [out, in] DWORD *pcchImageVersion, + [out] DWORD *pdwConfigFlags, [in] REFIID riid, [retval, out] LPVOID *ppRuntime); +} + +[ + uuid(2ebcd49a-1b47-4a61-b13a-4a03701e594b) +] +coclass CLRMetaHostPolicy +{ + [default] interface ICLRMetaHostPolicy; +} + +[ + object, + local, + uuid(3151c08d-4d09-4f9b-8838-2880bf18fe51) +] +interface ICLRDebuggingLibraryProvider : IUnknown +{ + HRESULT ProvideLibrary([in] const WCHAR *pwszFileName, + [in] DWORD dwTimestamp, [in] DWORD dwSizeOfImage, + [out] HMODULE *phModule); +} + +[ + object, + local, + uuid(d28f3c5a-9634-4206-a509-477552eefb10) +] +interface ICLRDebugging : IUnknown +{ + HRESULT OpenVirtualProcess([in] ULONG64 moduleBaseAddress, + [in] IUnknown *pDataTarget, [in] ICLRDebuggingLibraryProvider *pLibraryProvider, + [in] CLR_DEBUGGING_VERSION *pMaxDebuggerSupportedVersion, + [in] REFIID riidProcess, [out] IUnknown **ppProcess, + [out, in] CLR_DEBUGGING_VERSION *pVersion, + [out] CLR_DEBUGGING_PROCESS_FLAGS *pdwFlags); + + HRESULT CanUnloadNow(HMODULE hModule); +} + +cpp_quote("HRESULT WINAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, LPVOID *ppInterface);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfapi.h new file mode 100644 index 0000000..5aead1e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfapi.h @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2015 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MFAPI_H +#define __WINE_MFAPI_H + +#include +#include +#include + +#if !defined(MF_VERSION) +/* Default to Windows XP */ +#define MF_SDK_VERSION 0x0001 +#define MF_API_VERSION 0x0070 +#define MF_VERSION (MF_SDK_VERSION << 16 | MF_API_VERSION) +#endif + +#define MFSTARTUP_NOSOCKET 0x1 +#define MFSTARTUP_LITE (MFSTARTUP_NOSOCKET) +#define MFSTARTUP_FULL 0 + +#ifndef MAKEFOURCC +#define MAKEFOURCC(ch0, ch1, ch2, ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 )) +#endif + +#define DEFINE_MEDIATYPE_GUID(name, format) \ + DEFINE_GUID(name, format, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); + +#ifndef DIRECT3D_VERSION +#define D3DFMT_X8R8G8B8 22 +#endif + +DEFINE_MEDIATYPE_GUID(MFVideoFormat_WMV3, MAKEFOURCC('W','M','V','3')); +DEFINE_MEDIATYPE_GUID(MFVideoFormat_RGB32, D3DFMT_X8R8G8B8); + + +DEFINE_GUID(MF_MT_AVG_BITRATE, 0x20332624, 0xfb0d, 0x4d9e, 0xbd, 0x0d, 0xcb, 0xf6, 0x78, 0x6c, 0x10, 0x2e); +DEFINE_GUID(MF_MT_FRAME_RATE, 0xc459a2e8, 0x3d2c, 0x4e44, 0xb1, 0x32, 0xfe, 0xe5, 0x15, 0x6c, 0x7b, 0xb0); +DEFINE_GUID(MF_MT_FRAME_SIZE, 0x1652c33d, 0xd6b2, 0x4012, 0xb8, 0x34, 0x72, 0x03, 0x08, 0x49, 0xa3, 0x7d); +DEFINE_GUID(MF_MT_INTERLACE_MODE, 0xe2724bb8, 0xe676, 0x4806, 0xb4, 0xb2, 0xa8, 0xd6, 0xef, 0xb4, 0x4c, 0xcd); +DEFINE_GUID(MF_MT_MAJOR_TYPE, 0x48eba18e, 0xf8c9, 0x4687, 0xbf, 0x11, 0x0a, 0x74, 0xc9, 0xf9, 0x6a, 0x8f); +DEFINE_GUID(MF_MT_PIXEL_ASPECT_RATIO, 0xc6376a1e, 0x8d0a, 0x4027, 0xbe, 0x45, 0x6d, 0x9a, 0x0a, 0xd3, 0x9b, 0xb6); +DEFINE_GUID(MF_MT_SUBTYPE, 0xf7e34c9a, 0x42e8, 0x4714, 0xb7, 0x4b, 0xcb, 0x29, 0xd7, 0x2c, 0x35, 0xe5); + +DEFINE_GUID(MFMediaType_Video, 0x73646976, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); + +typedef unsigned __int64 MFWORKITEM_KEY; + +HRESULT WINAPI MFCancelWorkItem(MFWORKITEM_KEY key); +HRESULT WINAPI MFCreateAttributes(IMFAttributes **attributes, UINT32 size); +HRESULT WINAPI MFCreateEventQueue(IMFMediaEventQueue **queue); +HRESULT WINAPI MFCreateMediaType(IMFMediaType **type); +HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity); +HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *input_type, + MFT_REGISTER_TYPE_INFO *output_type, IMFAttributes *attributes, + CLSID **pclsids, UINT32 *pcount); +HRESULT WINAPI MFTEnumEx(GUID category, UINT32 flags, const MFT_REGISTER_TYPE_INFO *input_type, + const MFT_REGISTER_TYPE_INFO *output_type, IMFActivate ***activate, + UINT32 *pcount); +HRESULT WINAPI MFLockPlatform(void); +HRESULT WINAPI MFTRegister(CLSID clsid, GUID category, LPWSTR name, UINT32 flags, UINT32 cinput, + MFT_REGISTER_TYPE_INFO *input_types, UINT32 coutput, + MFT_REGISTER_TYPE_INFO *output_types, IMFAttributes *attributes); +HRESULT WINAPI MFShutdown(void); +HRESULT WINAPI MFStartup(ULONG version, DWORD flags); +HRESULT WINAPI MFUnlockPlatform(void); +HRESULT WINAPI MFTUnregister(CLSID clsid); +HRESULT WINAPI MFGetPluginControl(IMFPluginControl**); + +#endif /* __WINE_MFAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mferror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mferror.h new file mode 100644 index 0000000..1f5ae98 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mferror.h @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2014 Sebastian Lackner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MFERROR_H +#define __WINE_MFERROR_H + +#define MF_E_PLATFORM_NOT_INITIALIZED _HRESULT_TYPEDEF_(0xc00d36b0) +#define MF_E_BUFFERTOOSMALL _HRESULT_TYPEDEF_(0xc00d36b1) +#define MF_E_INVALIDREQUEST _HRESULT_TYPEDEF_(0xc00d36b2) +#define MF_E_INVALIDSTREAMNUMBER _HRESULT_TYPEDEF_(0xc00d36b3) +#define MF_E_INVALIDMEDIATYPE _HRESULT_TYPEDEF_(0xc00d36b4) +#define MF_E_NOTACCEPTING _HRESULT_TYPEDEF_(0xc00d36b5) +#define MF_E_NOT_INITIALIZED _HRESULT_TYPEDEF_(0xc00d36b6) +#define MF_E_UNSUPPORTED_REPRESENTATION _HRESULT_TYPEDEF_(0xc00d36b7) +#define MF_E_NO_MORE_TYPES _HRESULT_TYPEDEF_(0xc00d36b9) +#define MF_E_UNSUPPORTED_SERVICE _HRESULT_TYPEDEF_(0xc00d36ba) +#define MF_E_UNEXPECTED _HRESULT_TYPEDEF_(0xc00d36bb) +#define MF_E_INVALIDNAME _HRESULT_TYPEDEF_(0xc00d36bc) +#define MF_E_INVALIDTYPE _HRESULT_TYPEDEF_(0xc00d36bd) +#define MF_E_INVALID_FILE_FORMAT _HRESULT_TYPEDEF_(0xc00d36be) +#define MF_E_INVALIDINDEX _HRESULT_TYPEDEF_(0xc00d36bf) +#define MF_E_INVALID_TIMESTAMP _HRESULT_TYPEDEF_(0xc00d36c0) +#define MF_E_UNSUPPORTED_SCHEME _HRESULT_TYPEDEF_(0xc00d36c3) +#define MF_E_UNSUPPORTED_BYTESTREAM_TYPE _HRESULT_TYPEDEF_(0xc00d36c4) +#define MF_E_UNSUPPORTED_TIME_FORMAT _HRESULT_TYPEDEF_(0xc00d36c5) +#define MF_E_NO_SAMPLE_TIMESTAMP _HRESULT_TYPEDEF_(0xc00d36c8) +#define MF_E_NO_SAMPLE_DURATION _HRESULT_TYPEDEF_(0xc00d36c9) +#define MF_E_INVALID_STREAM_DATA _HRESULT_TYPEDEF_(0xc00d36cb) +#define MF_E_RT_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d36cf) +#define MF_E_UNSUPPORTED_RATE _HRESULT_TYPEDEF_(0xc00d36d0) +#define MF_E_THINNING_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d36d1) +#define MF_E_REVERSE_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d36d2) +#define MF_E_UNSUPPORTED_RATE_TRANSITION _HRESULT_TYPEDEF_(0xc00d36d3) +#define MF_E_RATE_CHANGE_PREEMPTED _HRESULT_TYPEDEF_(0xc00d36d4) +#define MF_E_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d36d5) +#define MF_E_NOT_AVAILABLE _HRESULT_TYPEDEF_(0xc00d36d6) +#define MF_E_NO_CLOCK _HRESULT_TYPEDEF_(0xc00d36d7) +#define MF_S_MULTIPLE_BEGIN _HRESULT_TYPEDEF_(0x000d36d8) +#define MF_E_MULTIPLE_BEGIN _HRESULT_TYPEDEF_(0xc00d36d9) +#define MF_E_MULTIPLE_SUBSCRIBERS _HRESULT_TYPEDEF_(0xc00d36da) +#define MF_E_TIMER_ORPHANED _HRESULT_TYPEDEF_(0xc00d36db) +#define MF_E_STATE_TRANSITION_PENDING _HRESULT_TYPEDEF_(0xc00d36dc) +#define MF_E_UNSUPPORTED_STATE_TRANSITION _HRESULT_TYPEDEF_(0xc00d36dd) +#define MF_E_UNRECOVERABLE_ERROR_OCCURRED _HRESULT_TYPEDEF_(0xc00d36de) +#define MF_E_SAMPLE_HAS_TOO_MANY_BUFFERS _HRESULT_TYPEDEF_(0xc00d36df) +#define MF_E_SAMPLE_NOT_WRITABLE _HRESULT_TYPEDEF_(0xc00d36e0) +#define MF_E_INVALID_KEY _HRESULT_TYPEDEF_(0xc00d36e2) +#define MF_E_BAD_STARTUP_VERSION _HRESULT_TYPEDEF_(0xc00d36e3) +#define MF_E_UNSUPPORTED_CAPTION _HRESULT_TYPEDEF_(0xc00d36e4) +#define MF_E_INVALID_POSITION _HRESULT_TYPEDEF_(0xc00d36e5) +#define MF_E_ATTRIBUTENOTFOUND _HRESULT_TYPEDEF_(0xc00d36e6) +#define MF_E_PROPERTY_TYPE_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d36e7) + +#define MF_E_TOPO_INVALID_OPTIONAL_NODE _HRESULT_TYPEDEF_(0xc00d520e) +#define MF_E_TOPO_CANNOT_FIND_DECRYPTOR _HRESULT_TYPEDEF_(0xc00d5211) +#define MF_E_TOPO_CODEC_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d5212) +#define MF_E_TOPO_CANNOT_CONNECT _HRESULT_TYPEDEF_(0xc00d5213) +#define MF_E_TOPO_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d5214) +#define MF_E_TOPO_INVALID_TIME_ATTRIBUTES _HRESULT_TYPEDEF_(0xc00d5215) +#define MF_E_TOPO_LOOPS_IN_TOPOLOGY _HRESULT_TYPEDEF_(0xC00d5216) +#define MF_E_TOPO_MISSING_PRESENTATION_DESCRIPTOR _HRESULT_TYPEDEF_(0xc00d5217) +#define MF_E_TOPO_MISSING_STREAM_DESCRIPTOR _HRESULT_TYPEDEF_(0xc00d5218) +#define MF_E_TOPO_STREAM_DESCRIPTOR_NOT_SELECTED _HRESULT_TYPEDEF_(0xc00d5219) +#define MF_E_TOPO_MISSING_SOURCE _HRESULT_TYPEDEF_(0xc00d521a) +#define MF_E_TOPO_SINK_ACTIVATES_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d521b) + +#endif /* __WINE_MFERROR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfidl.h new file mode 100644 index 0000000..43035c9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfidl.h @@ -0,0 +1,2588 @@ +/*** Autogenerated by WIDL 2.18 from mfidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mfidl_h__ +#define __mfidl_h__ + +/* Forward declarations */ + +#ifndef __IMFClock_FWD_DEFINED__ +#define __IMFClock_FWD_DEFINED__ +typedef interface IMFClock IMFClock; +#ifdef __cplusplus +interface IMFClock; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFTopologyNode_FWD_DEFINED__ +#define __IMFTopologyNode_FWD_DEFINED__ +typedef interface IMFTopologyNode IMFTopologyNode; +#ifdef __cplusplus +interface IMFTopologyNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFTopology_FWD_DEFINED__ +#define __IMFTopology_FWD_DEFINED__ +typedef interface IMFTopology IMFTopology; +#ifdef __cplusplus +interface IMFTopology; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaSession_FWD_DEFINED__ +#define __IMFMediaSession_FWD_DEFINED__ +typedef interface IMFMediaSession IMFMediaSession; +#ifdef __cplusplus +interface IMFMediaSession; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFSourceResolver_FWD_DEFINED__ +#define __IMFSourceResolver_FWD_DEFINED__ +typedef interface IMFSourceResolver IMFSourceResolver; +#ifdef __cplusplus +interface IMFSourceResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaTypeHandler_FWD_DEFINED__ +#define __IMFMediaTypeHandler_FWD_DEFINED__ +typedef interface IMFMediaTypeHandler IMFMediaTypeHandler; +#ifdef __cplusplus +interface IMFMediaTypeHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFStreamDescriptor_FWD_DEFINED__ +#define __IMFStreamDescriptor_FWD_DEFINED__ +typedef interface IMFStreamDescriptor IMFStreamDescriptor; +#ifdef __cplusplus +interface IMFStreamDescriptor; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFClockStateSink_FWD_DEFINED__ +#define __IMFClockStateSink_FWD_DEFINED__ +typedef interface IMFClockStateSink IMFClockStateSink; +#ifdef __cplusplus +interface IMFClockStateSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFGetService_FWD_DEFINED__ +#define __IMFGetService_FWD_DEFINED__ +typedef interface IMFGetService IMFGetService; +#ifdef __cplusplus +interface IMFGetService; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef UINT64 TOPOID; +typedef LONGLONG MFTIME; +typedef enum MF_TOPOLOGY_TYPE { + MF_TOPOLOGY_OUTPUT_NODE = 0, + MF_TOPOLOGY_SOURCESTREAM_NODE = 1, + MF_TOPOLOGY_TRANSFORM_NODE = 2, + MF_TOPOLOGY_TEE_NODE = 3, + MF_TOPOLOGY_MAX = 0xffffffff +} MF_TOPOLOGY_TYPE; +typedef enum _MFCLOCK_STATE { + MFCLOCK_STATE_INVALID = 0, + MFCLOCK_STATE_RUNNING = 1, + MFCLOCK_STATE_STOPPED = 2, + MFCLOCK_STATE_PAUSED = 3 +} MFCLOCK_STATE; +typedef enum MF_OBJECT_TYPE { + MF_OBJECT_MEDIASOURCE = 0, + MF_OBJECT_BYTESTREAM = 1, + MF_OBJECT_INVALID = 2 +} MF_OBJECT_TYPE; +typedef struct _MFCLOCK_PROPERTIES { + UINT64 qwCorrelationRate; + GUID guidClockId; + DWORD dwClockFlags; + UINT64 qwClockFrequency; + DWORD dwClockTolerance; + DWORD dwClockJitter; +} MFCLOCK_PROPERTIES; +/***************************************************************************** + * IMFClock interface + */ +#ifndef __IMFClock_INTERFACE_DEFINED__ +#define __IMFClock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFClock, 0x2eb1e945, 0x18b8, 0x4139, 0x9b,0x1a, 0xd5,0xd5,0x84,0x81,0x85,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2eb1e945-18b8-4139-9b1a-d5d584818530") +IMFClock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClockCharacteristics( + DWORD *characteristics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCorrelatedTime( + DWORD reserved, + LONGLONG *clock_time, + MFTIME *system_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContinuityKey( + DWORD *key) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + DWORD reserved, + MFCLOCK_STATE *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperties( + MFCLOCK_PROPERTIES *props) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFClock, 0x2eb1e945, 0x18b8, 0x4139, 0x9b,0x1a, 0xd5,0xd5,0x84,0x81,0x85,0x30) +#endif +#else +typedef struct IMFClockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFClock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFClock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFClock *This); + + /*** IMFClock methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClockCharacteristics)( + IMFClock *This, + DWORD *characteristics); + + HRESULT (STDMETHODCALLTYPE *GetCorrelatedTime)( + IMFClock *This, + DWORD reserved, + LONGLONG *clock_time, + MFTIME *system_time); + + HRESULT (STDMETHODCALLTYPE *GetContinuityKey)( + IMFClock *This, + DWORD *key); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IMFClock *This, + DWORD reserved, + MFCLOCK_STATE *state); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IMFClock *This, + MFCLOCK_PROPERTIES *props); + + END_INTERFACE +} IMFClockVtbl; + +interface IMFClock { + CONST_VTBL IMFClockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFClock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFClock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFClock_Release(This) (This)->lpVtbl->Release(This) +/*** IMFClock methods ***/ +#define IMFClock_GetClockCharacteristics(This,characteristics) (This)->lpVtbl->GetClockCharacteristics(This,characteristics) +#define IMFClock_GetCorrelatedTime(This,reserved,clock_time,system_time) (This)->lpVtbl->GetCorrelatedTime(This,reserved,clock_time,system_time) +#define IMFClock_GetContinuityKey(This,key) (This)->lpVtbl->GetContinuityKey(This,key) +#define IMFClock_GetState(This,reserved,state) (This)->lpVtbl->GetState(This,reserved,state) +#define IMFClock_GetProperties(This,props) (This)->lpVtbl->GetProperties(This,props) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFClock_QueryInterface(IMFClock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFClock_AddRef(IMFClock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFClock_Release(IMFClock* This) { + return This->lpVtbl->Release(This); +} +/*** IMFClock methods ***/ +static FORCEINLINE HRESULT IMFClock_GetClockCharacteristics(IMFClock* This,DWORD *characteristics) { + return This->lpVtbl->GetClockCharacteristics(This,characteristics); +} +static FORCEINLINE HRESULT IMFClock_GetCorrelatedTime(IMFClock* This,DWORD reserved,LONGLONG *clock_time,MFTIME *system_time) { + return This->lpVtbl->GetCorrelatedTime(This,reserved,clock_time,system_time); +} +static FORCEINLINE HRESULT IMFClock_GetContinuityKey(IMFClock* This,DWORD *key) { + return This->lpVtbl->GetContinuityKey(This,key); +} +static FORCEINLINE HRESULT IMFClock_GetState(IMFClock* This,DWORD reserved,MFCLOCK_STATE *state) { + return This->lpVtbl->GetState(This,reserved,state); +} +static FORCEINLINE HRESULT IMFClock_GetProperties(IMFClock* This,MFCLOCK_PROPERTIES *props) { + return This->lpVtbl->GetProperties(This,props); +} +#endif +#endif + +#endif + + +#endif /* __IMFClock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFTopologyNode interface + */ +#ifndef __IMFTopologyNode_INTERFACE_DEFINED__ +#define __IMFTopologyNode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFTopologyNode, 0x83cf873a, 0xf6da, 0x4bc8, 0x82,0x3f, 0xba,0xcf,0xd5,0x5d,0xc4,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("83cf873a-f6da-4bc8-823f-bacfd55dc430") +IMFTopologyNode : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE SetObject( + IUnknown *object) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + IUnknown **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeType( + MF_TOPOLOGY_TYPE *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTopoNodeID( + TOPOID *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTopoNodeID( + TOPOID id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputCount( + DWORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputCount( + DWORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectOutput( + DWORD output_index, + IMFTopologyNode *node, + DWORD input_index) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisconnectOutput( + DWORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInput( + DWORD input_index, + IMFTopologyNode **node, + DWORD *output_index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutput( + DWORD output_index, + IMFTopologyNode **node, + DWORD *input_index) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputPrefType( + DWORD index, + IMFMediaType *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputPrefType( + DWORD output_index, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputPrefType( + DWORD index, + IMFMediaType *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputPrefType( + DWORD index, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloneFrom( + IMFTopologyNode *node) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFTopologyNode, 0x83cf873a, 0xf6da, 0x4bc8, 0x82,0x3f, 0xba,0xcf,0xd5,0x5d,0xc4,0x30) +#endif +#else +typedef struct IMFTopologyNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFTopologyNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFTopologyNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFTopologyNode *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFTopologyNode *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFTopologyNode *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFTopologyNode *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFTopologyNode *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFTopologyNode *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFTopologyNode *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFTopologyNode *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFTopologyNode *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFTopologyNode *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFTopologyNode *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFTopologyNode *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFTopologyNode *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFTopologyNode *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFTopologyNode *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFTopologyNode *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFTopologyNode *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFTopologyNode *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFTopologyNode *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFTopologyNode *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFTopologyNode *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFTopologyNode *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFTopologyNode *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFTopologyNode *This, + IMFAttributes *pDest); + + /*** IMFTopologyNode methods ***/ + HRESULT (STDMETHODCALLTYPE *SetObject)( + IMFTopologyNode *This, + IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IMFTopologyNode *This, + IUnknown **object); + + HRESULT (STDMETHODCALLTYPE *GetNodeType)( + IMFTopologyNode *This, + MF_TOPOLOGY_TYPE *type); + + HRESULT (STDMETHODCALLTYPE *GetTopoNodeID)( + IMFTopologyNode *This, + TOPOID *id); + + HRESULT (STDMETHODCALLTYPE *SetTopoNodeID)( + IMFTopologyNode *This, + TOPOID id); + + HRESULT (STDMETHODCALLTYPE *GetInputCount)( + IMFTopologyNode *This, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *GetOutputCount)( + IMFTopologyNode *This, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *ConnectOutput)( + IMFTopologyNode *This, + DWORD output_index, + IMFTopologyNode *node, + DWORD input_index); + + HRESULT (STDMETHODCALLTYPE *DisconnectOutput)( + IMFTopologyNode *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *GetInput)( + IMFTopologyNode *This, + DWORD input_index, + IMFTopologyNode **node, + DWORD *output_index); + + HRESULT (STDMETHODCALLTYPE *GetOutput)( + IMFTopologyNode *This, + DWORD output_index, + IMFTopologyNode **node, + DWORD *input_index); + + HRESULT (STDMETHODCALLTYPE *SetOutputPrefType)( + IMFTopologyNode *This, + DWORD index, + IMFMediaType *type); + + HRESULT (STDMETHODCALLTYPE *GetOutputPrefType)( + IMFTopologyNode *This, + DWORD output_index, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *SetInputPrefType)( + IMFTopologyNode *This, + DWORD index, + IMFMediaType *type); + + HRESULT (STDMETHODCALLTYPE *GetInputPrefType)( + IMFTopologyNode *This, + DWORD index, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *CloneFrom)( + IMFTopologyNode *This, + IMFTopologyNode *node); + + END_INTERFACE +} IMFTopologyNodeVtbl; + +interface IMFTopologyNode { + CONST_VTBL IMFTopologyNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFTopologyNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFTopologyNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFTopologyNode_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFTopologyNode_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFTopologyNode_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFTopologyNode_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFTopologyNode_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFTopologyNode_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFTopologyNode_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFTopologyNode_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFTopologyNode_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFTopologyNode_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFTopologyNode_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFTopologyNode_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFTopologyNode_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFTopologyNode_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFTopologyNode_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFTopologyNode_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFTopologyNode_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFTopologyNode_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFTopologyNode_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFTopologyNode_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFTopologyNode_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFTopologyNode_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFTopologyNode_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFTopologyNode_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFTopologyNode_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFTopologyNode_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFTopologyNode_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFTopologyNode_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFTopologyNode_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFTopologyNode_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFTopologyNode_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFTopologyNode methods ***/ +#define IMFTopologyNode_SetObject(This,object) (This)->lpVtbl->SetObject(This,object) +#define IMFTopologyNode_GetObject(This,object) (This)->lpVtbl->GetObject(This,object) +#define IMFTopologyNode_GetNodeType(This,type) (This)->lpVtbl->GetNodeType(This,type) +#define IMFTopologyNode_GetTopoNodeID(This,id) (This)->lpVtbl->GetTopoNodeID(This,id) +#define IMFTopologyNode_SetTopoNodeID(This,id) (This)->lpVtbl->SetTopoNodeID(This,id) +#define IMFTopologyNode_GetInputCount(This,count) (This)->lpVtbl->GetInputCount(This,count) +#define IMFTopologyNode_GetOutputCount(This,count) (This)->lpVtbl->GetOutputCount(This,count) +#define IMFTopologyNode_ConnectOutput(This,output_index,node,input_index) (This)->lpVtbl->ConnectOutput(This,output_index,node,input_index) +#define IMFTopologyNode_DisconnectOutput(This,index) (This)->lpVtbl->DisconnectOutput(This,index) +#define IMFTopologyNode_GetInput(This,input_index,node,output_index) (This)->lpVtbl->GetInput(This,input_index,node,output_index) +#define IMFTopologyNode_GetOutput(This,output_index,node,input_index) (This)->lpVtbl->GetOutput(This,output_index,node,input_index) +#define IMFTopologyNode_SetOutputPrefType(This,index,type) (This)->lpVtbl->SetOutputPrefType(This,index,type) +#define IMFTopologyNode_GetOutputPrefType(This,output_index,type) (This)->lpVtbl->GetOutputPrefType(This,output_index,type) +#define IMFTopologyNode_SetInputPrefType(This,index,type) (This)->lpVtbl->SetInputPrefType(This,index,type) +#define IMFTopologyNode_GetInputPrefType(This,index,type) (This)->lpVtbl->GetInputPrefType(This,index,type) +#define IMFTopologyNode_CloneFrom(This,node) (This)->lpVtbl->CloneFrom(This,node) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFTopologyNode_QueryInterface(IMFTopologyNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFTopologyNode_AddRef(IMFTopologyNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFTopologyNode_Release(IMFTopologyNode* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFTopologyNode_GetItem(IMFTopologyNode* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetItemType(IMFTopologyNode* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFTopologyNode_CompareItem(IMFTopologyNode* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFTopologyNode_Compare(IMFTopologyNode* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetUINT32(IMFTopologyNode* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetUINT64(IMFTopologyNode* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetDouble(IMFTopologyNode* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetGUID(IMFTopologyNode* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetStringLength(IMFTopologyNode* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetString(IMFTopologyNode* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetAllocatedString(IMFTopologyNode* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetBlobSize(IMFTopologyNode* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetBlob(IMFTopologyNode* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetAllocatedBlob(IMFTopologyNode* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetUnknown(IMFTopologyNode* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetItem(IMFTopologyNode* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFTopologyNode_DeleteItem(IMFTopologyNode* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFTopologyNode_DeleteAllItems(IMFTopologyNode* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetUINT32(IMFTopologyNode* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetUINT64(IMFTopologyNode* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetDouble(IMFTopologyNode* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetGUID(IMFTopologyNode* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetString(IMFTopologyNode* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetBlob(IMFTopologyNode* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetUnknown(IMFTopologyNode* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFTopologyNode_LockStore(IMFTopologyNode* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFTopologyNode_UnlockStore(IMFTopologyNode* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetCount(IMFTopologyNode* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetItemByIndex(IMFTopologyNode* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFTopologyNode_CopyAllItems(IMFTopologyNode* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFTopologyNode methods ***/ +static FORCEINLINE HRESULT IMFTopologyNode_SetObject(IMFTopologyNode* This,IUnknown *object) { + return This->lpVtbl->SetObject(This,object); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetObject(IMFTopologyNode* This,IUnknown **object) { + return This->lpVtbl->GetObject(This,object); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetNodeType(IMFTopologyNode* This,MF_TOPOLOGY_TYPE *type) { + return This->lpVtbl->GetNodeType(This,type); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetTopoNodeID(IMFTopologyNode* This,TOPOID *id) { + return This->lpVtbl->GetTopoNodeID(This,id); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetTopoNodeID(IMFTopologyNode* This,TOPOID id) { + return This->lpVtbl->SetTopoNodeID(This,id); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetInputCount(IMFTopologyNode* This,DWORD *count) { + return This->lpVtbl->GetInputCount(This,count); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetOutputCount(IMFTopologyNode* This,DWORD *count) { + return This->lpVtbl->GetOutputCount(This,count); +} +static FORCEINLINE HRESULT IMFTopologyNode_ConnectOutput(IMFTopologyNode* This,DWORD output_index,IMFTopologyNode *node,DWORD input_index) { + return This->lpVtbl->ConnectOutput(This,output_index,node,input_index); +} +static FORCEINLINE HRESULT IMFTopologyNode_DisconnectOutput(IMFTopologyNode* This,DWORD index) { + return This->lpVtbl->DisconnectOutput(This,index); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetInput(IMFTopologyNode* This,DWORD input_index,IMFTopologyNode **node,DWORD *output_index) { + return This->lpVtbl->GetInput(This,input_index,node,output_index); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetOutput(IMFTopologyNode* This,DWORD output_index,IMFTopologyNode **node,DWORD *input_index) { + return This->lpVtbl->GetOutput(This,output_index,node,input_index); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetOutputPrefType(IMFTopologyNode* This,DWORD index,IMFMediaType *type) { + return This->lpVtbl->SetOutputPrefType(This,index,type); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetOutputPrefType(IMFTopologyNode* This,DWORD output_index,IMFMediaType **type) { + return This->lpVtbl->GetOutputPrefType(This,output_index,type); +} +static FORCEINLINE HRESULT IMFTopologyNode_SetInputPrefType(IMFTopologyNode* This,DWORD index,IMFMediaType *type) { + return This->lpVtbl->SetInputPrefType(This,index,type); +} +static FORCEINLINE HRESULT IMFTopologyNode_GetInputPrefType(IMFTopologyNode* This,DWORD index,IMFMediaType **type) { + return This->lpVtbl->GetInputPrefType(This,index,type); +} +static FORCEINLINE HRESULT IMFTopologyNode_CloneFrom(IMFTopologyNode* This,IMFTopologyNode *node) { + return This->lpVtbl->CloneFrom(This,node); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IMFTopologyNode_RemoteGetOutputPrefType_Proxy( + IMFTopologyNode* This, + DWORD index, + DWORD *length, + BYTE **data); +void __RPC_STUB IMFTopologyNode_RemoteGetOutputPrefType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFTopologyNode_RemoteGetInputPrefType_Proxy( + IMFTopologyNode* This, + DWORD index, + DWORD *length, + BYTE **data); +void __RPC_STUB IMFTopologyNode_RemoteGetInputPrefType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IMFTopologyNode_GetOutputPrefType_Proxy( + IMFTopologyNode* This, + DWORD output_index, + IMFMediaType **type); +HRESULT __RPC_STUB IMFTopologyNode_GetOutputPrefType_Stub( + IMFTopologyNode* This, + DWORD index, + DWORD *length, + BYTE **data); +HRESULT CALLBACK IMFTopologyNode_GetInputPrefType_Proxy( + IMFTopologyNode* This, + DWORD index, + IMFMediaType **type); +HRESULT __RPC_STUB IMFTopologyNode_GetInputPrefType_Stub( + IMFTopologyNode* This, + DWORD index, + DWORD *length, + BYTE **data); + +#endif /* __IMFTopologyNode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFTopology interface + */ +#ifndef __IMFTopology_INTERFACE_DEFINED__ +#define __IMFTopology_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFTopology, 0x83cf873a, 0xf6da, 0x4bc8, 0x82,0x3f, 0xba,0xcf,0xd5,0x5d,0xc4,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("83cf873a-f6da-4bc8-823f-bacfd55dc433") +IMFTopology : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE GetTopologyID( + TOPOID *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddNode( + IMFTopologyNode *node) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveNode( + IMFTopologyNode *node) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeCount( + WORD *nodes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNode( + WORD index, + IMFTopologyNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloneFrom( + IMFTopology *topology) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeByID( + TOPOID id, + IMFTopologyNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceNodeCollection( + IMFCollection **collection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputNodeCollection( + IMFCollection **collection) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFTopology, 0x83cf873a, 0xf6da, 0x4bc8, 0x82,0x3f, 0xba,0xcf,0xd5,0x5d,0xc4,0x33) +#endif +#else +typedef struct IMFTopologyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFTopology *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFTopology *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFTopology *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFTopology *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFTopology *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFTopology *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFTopology *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFTopology *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFTopology *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFTopology *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFTopology *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFTopology *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFTopology *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFTopology *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFTopology *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFTopology *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFTopology *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFTopology *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFTopology *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFTopology *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFTopology *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFTopology *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFTopology *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFTopology *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFTopology *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFTopology *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFTopology *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFTopology *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFTopology *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFTopology *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFTopology *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFTopology *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFTopology *This, + IMFAttributes *pDest); + + /*** IMFTopology methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTopologyID)( + IMFTopology *This, + TOPOID *id); + + HRESULT (STDMETHODCALLTYPE *AddNode)( + IMFTopology *This, + IMFTopologyNode *node); + + HRESULT (STDMETHODCALLTYPE *RemoveNode)( + IMFTopology *This, + IMFTopologyNode *node); + + HRESULT (STDMETHODCALLTYPE *GetNodeCount)( + IMFTopology *This, + WORD *nodes); + + HRESULT (STDMETHODCALLTYPE *GetNode)( + IMFTopology *This, + WORD index, + IMFTopologyNode **node); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IMFTopology *This); + + HRESULT (STDMETHODCALLTYPE *CloneFrom)( + IMFTopology *This, + IMFTopology *topology); + + HRESULT (STDMETHODCALLTYPE *GetNodeByID)( + IMFTopology *This, + TOPOID id, + IMFTopologyNode **node); + + HRESULT (STDMETHODCALLTYPE *GetSourceNodeCollection)( + IMFTopology *This, + IMFCollection **collection); + + HRESULT (STDMETHODCALLTYPE *GetOutputNodeCollection)( + IMFTopology *This, + IMFCollection **collection); + + END_INTERFACE +} IMFTopologyVtbl; + +interface IMFTopology { + CONST_VTBL IMFTopologyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFTopology_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFTopology_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFTopology_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFTopology_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFTopology_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFTopology_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFTopology_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFTopology_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFTopology_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFTopology_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFTopology_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFTopology_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFTopology_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFTopology_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFTopology_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFTopology_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFTopology_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFTopology_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFTopology_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFTopology_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFTopology_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFTopology_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFTopology_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFTopology_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFTopology_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFTopology_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFTopology_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFTopology_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFTopology_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFTopology_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFTopology_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFTopology_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFTopology_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFTopology methods ***/ +#define IMFTopology_GetTopologyID(This,id) (This)->lpVtbl->GetTopologyID(This,id) +#define IMFTopology_AddNode(This,node) (This)->lpVtbl->AddNode(This,node) +#define IMFTopology_RemoveNode(This,node) (This)->lpVtbl->RemoveNode(This,node) +#define IMFTopology_GetNodeCount(This,nodes) (This)->lpVtbl->GetNodeCount(This,nodes) +#define IMFTopology_GetNode(This,index,node) (This)->lpVtbl->GetNode(This,index,node) +#define IMFTopology_Clear(This) (This)->lpVtbl->Clear(This) +#define IMFTopology_CloneFrom(This,topology) (This)->lpVtbl->CloneFrom(This,topology) +#define IMFTopology_GetNodeByID(This,id,node) (This)->lpVtbl->GetNodeByID(This,id,node) +#define IMFTopology_GetSourceNodeCollection(This,collection) (This)->lpVtbl->GetSourceNodeCollection(This,collection) +#define IMFTopology_GetOutputNodeCollection(This,collection) (This)->lpVtbl->GetOutputNodeCollection(This,collection) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFTopology_QueryInterface(IMFTopology* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFTopology_AddRef(IMFTopology* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFTopology_Release(IMFTopology* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFTopology_GetItem(IMFTopology* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFTopology_GetItemType(IMFTopology* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFTopology_CompareItem(IMFTopology* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFTopology_Compare(IMFTopology* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFTopology_GetUINT32(IMFTopology* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFTopology_GetUINT64(IMFTopology* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFTopology_GetDouble(IMFTopology* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFTopology_GetGUID(IMFTopology* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFTopology_GetStringLength(IMFTopology* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFTopology_GetString(IMFTopology* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFTopology_GetAllocatedString(IMFTopology* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFTopology_GetBlobSize(IMFTopology* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFTopology_GetBlob(IMFTopology* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFTopology_GetAllocatedBlob(IMFTopology* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFTopology_GetUnknown(IMFTopology* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFTopology_SetItem(IMFTopology* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFTopology_DeleteItem(IMFTopology* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFTopology_DeleteAllItems(IMFTopology* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFTopology_SetUINT32(IMFTopology* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFTopology_SetUINT64(IMFTopology* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFTopology_SetDouble(IMFTopology* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFTopology_SetGUID(IMFTopology* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFTopology_SetString(IMFTopology* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFTopology_SetBlob(IMFTopology* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFTopology_SetUnknown(IMFTopology* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFTopology_LockStore(IMFTopology* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFTopology_UnlockStore(IMFTopology* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFTopology_GetCount(IMFTopology* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFTopology_GetItemByIndex(IMFTopology* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFTopology_CopyAllItems(IMFTopology* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFTopology methods ***/ +static FORCEINLINE HRESULT IMFTopology_GetTopologyID(IMFTopology* This,TOPOID *id) { + return This->lpVtbl->GetTopologyID(This,id); +} +static FORCEINLINE HRESULT IMFTopology_AddNode(IMFTopology* This,IMFTopologyNode *node) { + return This->lpVtbl->AddNode(This,node); +} +static FORCEINLINE HRESULT IMFTopology_RemoveNode(IMFTopology* This,IMFTopologyNode *node) { + return This->lpVtbl->RemoveNode(This,node); +} +static FORCEINLINE HRESULT IMFTopology_GetNodeCount(IMFTopology* This,WORD *nodes) { + return This->lpVtbl->GetNodeCount(This,nodes); +} +static FORCEINLINE HRESULT IMFTopology_GetNode(IMFTopology* This,WORD index,IMFTopologyNode **node) { + return This->lpVtbl->GetNode(This,index,node); +} +static FORCEINLINE HRESULT IMFTopology_Clear(IMFTopology* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IMFTopology_CloneFrom(IMFTopology* This,IMFTopology *topology) { + return This->lpVtbl->CloneFrom(This,topology); +} +static FORCEINLINE HRESULT IMFTopology_GetNodeByID(IMFTopology* This,TOPOID id,IMFTopologyNode **node) { + return This->lpVtbl->GetNodeByID(This,id,node); +} +static FORCEINLINE HRESULT IMFTopology_GetSourceNodeCollection(IMFTopology* This,IMFCollection **collection) { + return This->lpVtbl->GetSourceNodeCollection(This,collection); +} +static FORCEINLINE HRESULT IMFTopology_GetOutputNodeCollection(IMFTopology* This,IMFCollection **collection) { + return This->lpVtbl->GetOutputNodeCollection(This,collection); +} +#endif +#endif + +#endif + + +#endif /* __IMFTopology_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFMediaSession interface + */ +#ifndef __IMFMediaSession_INTERFACE_DEFINED__ +#define __IMFMediaSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaSession, 0x90377834, 0x21d0, 0x4dee, 0x82,0x14, 0xba,0x2e,0x3e,0x6c,0x11,0x27); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("90377834-21d0-4dee-8214-ba2e3e6c1127") +IMFMediaSession : public IMFMediaEventGenerator +{ + virtual HRESULT STDMETHODCALLTYPE SetTopology( + DWORD flags, + IMFTopology *topology) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearTopologies( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( + const GUID *format, + const PROPVARIANT *start) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Shutdown( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClock( + IMFClock **clock) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSessionCapabilities( + DWORD *caps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFullTopology( + DWORD flags, + TOPOID id, + IMFTopology **topology) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaSession, 0x90377834, 0x21d0, 0x4dee, 0x82,0x14, 0xba,0x2e,0x3e,0x6c,0x11,0x27) +#endif +#else +typedef struct IMFMediaSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaSession *This); + + /*** IMFMediaEventGenerator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEvent)( + IMFMediaSession *This, + DWORD dwFlags, + IMFMediaEvent **ppEvent); + + HRESULT (STDMETHODCALLTYPE *BeginGetEvent)( + IMFMediaSession *This, + IMFAsyncCallback *pCallback, + IUnknown *punkState); + + HRESULT (STDMETHODCALLTYPE *EndGetEvent)( + IMFMediaSession *This, + IMFAsyncResult *pResult, + IMFMediaEvent **ppEvent); + + HRESULT (STDMETHODCALLTYPE *QueueEvent)( + IMFMediaSession *This, + MediaEventType met, + REFGUID guidExtendedType, + HRESULT hrStatus, + const PROPVARIANT *pvValue); + + /*** IMFMediaSession methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTopology)( + IMFMediaSession *This, + DWORD flags, + IMFTopology *topology); + + HRESULT (STDMETHODCALLTYPE *ClearTopologies)( + IMFMediaSession *This); + + HRESULT (STDMETHODCALLTYPE *Start)( + IMFMediaSession *This, + const GUID *format, + const PROPVARIANT *start); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IMFMediaSession *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IMFMediaSession *This); + + HRESULT (STDMETHODCALLTYPE *Close)( + IMFMediaSession *This); + + HRESULT (STDMETHODCALLTYPE *Shutdown)( + IMFMediaSession *This); + + HRESULT (STDMETHODCALLTYPE *GetClock)( + IMFMediaSession *This, + IMFClock **clock); + + HRESULT (STDMETHODCALLTYPE *GetSessionCapabilities)( + IMFMediaSession *This, + DWORD *caps); + + HRESULT (STDMETHODCALLTYPE *GetFullTopology)( + IMFMediaSession *This, + DWORD flags, + TOPOID id, + IMFTopology **topology); + + END_INTERFACE +} IMFMediaSessionVtbl; + +interface IMFMediaSession { + CONST_VTBL IMFMediaSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaSession_Release(This) (This)->lpVtbl->Release(This) +/*** IMFMediaEventGenerator methods ***/ +#define IMFMediaSession_GetEvent(This,dwFlags,ppEvent) (This)->lpVtbl->GetEvent(This,dwFlags,ppEvent) +#define IMFMediaSession_BeginGetEvent(This,pCallback,punkState) (This)->lpVtbl->BeginGetEvent(This,pCallback,punkState) +#define IMFMediaSession_EndGetEvent(This,pResult,ppEvent) (This)->lpVtbl->EndGetEvent(This,pResult,ppEvent) +#define IMFMediaSession_QueueEvent(This,met,guidExtendedType,hrStatus,pvValue) (This)->lpVtbl->QueueEvent(This,met,guidExtendedType,hrStatus,pvValue) +/*** IMFMediaSession methods ***/ +#define IMFMediaSession_SetTopology(This,flags,topology) (This)->lpVtbl->SetTopology(This,flags,topology) +#define IMFMediaSession_ClearTopologies(This) (This)->lpVtbl->ClearTopologies(This) +#define IMFMediaSession_Start(This,format,start) (This)->lpVtbl->Start(This,format,start) +#define IMFMediaSession_Pause(This) (This)->lpVtbl->Pause(This) +#define IMFMediaSession_Stop(This) (This)->lpVtbl->Stop(This) +#define IMFMediaSession_Close(This) (This)->lpVtbl->Close(This) +#define IMFMediaSession_Shutdown(This) (This)->lpVtbl->Shutdown(This) +#define IMFMediaSession_GetClock(This,clock) (This)->lpVtbl->GetClock(This,clock) +#define IMFMediaSession_GetSessionCapabilities(This,caps) (This)->lpVtbl->GetSessionCapabilities(This,caps) +#define IMFMediaSession_GetFullTopology(This,flags,id,topology) (This)->lpVtbl->GetFullTopology(This,flags,id,topology) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaSession_QueryInterface(IMFMediaSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaSession_AddRef(IMFMediaSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaSession_Release(IMFMediaSession* This) { + return This->lpVtbl->Release(This); +} +/*** IMFMediaEventGenerator methods ***/ +static FORCEINLINE HRESULT IMFMediaSession_GetEvent(IMFMediaSession* This,DWORD dwFlags,IMFMediaEvent **ppEvent) { + return This->lpVtbl->GetEvent(This,dwFlags,ppEvent); +} +static FORCEINLINE HRESULT IMFMediaSession_BeginGetEvent(IMFMediaSession* This,IMFAsyncCallback *pCallback,IUnknown *punkState) { + return This->lpVtbl->BeginGetEvent(This,pCallback,punkState); +} +static FORCEINLINE HRESULT IMFMediaSession_EndGetEvent(IMFMediaSession* This,IMFAsyncResult *pResult,IMFMediaEvent **ppEvent) { + return This->lpVtbl->EndGetEvent(This,pResult,ppEvent); +} +static FORCEINLINE HRESULT IMFMediaSession_QueueEvent(IMFMediaSession* This,MediaEventType met,REFGUID guidExtendedType,HRESULT hrStatus,const PROPVARIANT *pvValue) { + return This->lpVtbl->QueueEvent(This,met,guidExtendedType,hrStatus,pvValue); +} +/*** IMFMediaSession methods ***/ +static FORCEINLINE HRESULT IMFMediaSession_SetTopology(IMFMediaSession* This,DWORD flags,IMFTopology *topology) { + return This->lpVtbl->SetTopology(This,flags,topology); +} +static FORCEINLINE HRESULT IMFMediaSession_ClearTopologies(IMFMediaSession* This) { + return This->lpVtbl->ClearTopologies(This); +} +static FORCEINLINE HRESULT IMFMediaSession_Start(IMFMediaSession* This,const GUID *format,const PROPVARIANT *start) { + return This->lpVtbl->Start(This,format,start); +} +static FORCEINLINE HRESULT IMFMediaSession_Pause(IMFMediaSession* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IMFMediaSession_Stop(IMFMediaSession* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IMFMediaSession_Close(IMFMediaSession* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IMFMediaSession_Shutdown(IMFMediaSession* This) { + return This->lpVtbl->Shutdown(This); +} +static FORCEINLINE HRESULT IMFMediaSession_GetClock(IMFMediaSession* This,IMFClock **clock) { + return This->lpVtbl->GetClock(This,clock); +} +static FORCEINLINE HRESULT IMFMediaSession_GetSessionCapabilities(IMFMediaSession* This,DWORD *caps) { + return This->lpVtbl->GetSessionCapabilities(This,caps); +} +static FORCEINLINE HRESULT IMFMediaSession_GetFullTopology(IMFMediaSession* This,DWORD flags,TOPOID id,IMFTopology **topology) { + return This->lpVtbl->GetFullTopology(This,flags,id,topology); +} +#endif +#endif + +#endif + + +#endif /* __IMFMediaSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFSourceResolver interface + */ +#ifndef __IMFSourceResolver_INTERFACE_DEFINED__ +#define __IMFSourceResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFSourceResolver, 0xfbe5a32d, 0xa497, 0x4b61, 0xbb,0x85, 0x97,0xb1,0xa8,0x48,0xa6,0xe3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fbe5a32d-a497-4b61-bb85-97b1a848a6e3") +IMFSourceResolver : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateObjectFromURL( + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + MF_OBJECT_TYPE *obj_type, + IUnknown **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateObjectFromByteStream( + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + MF_OBJECT_TYPE *obj_type, + IUnknown **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginCreateObjectFromURL( + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IUnknown **cancel_cookie, + IMFAsyncCallback *callback, + IUnknown *unk_state) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndCreateObjectFromURL( + IMFAsyncResult *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginCreateObjectFromByteStream( + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IUnknown **cancel_cookie, + IMFAsyncCallback *callback, + IUnknown *unk_state) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndCreateObjectFromByteStream( + IMFAsyncResult *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanceObjectCreation( + IUnknown *cancel_cookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFSourceResolver, 0xfbe5a32d, 0xa497, 0x4b61, 0xbb,0x85, 0x97,0xb1,0xa8,0x48,0xa6,0xe3) +#endif +#else +typedef struct IMFSourceResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFSourceResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFSourceResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFSourceResolver *This); + + /*** IMFSourceResolver methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateObjectFromURL)( + IMFSourceResolver *This, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); + + HRESULT (STDMETHODCALLTYPE *CreateObjectFromByteStream)( + IMFSourceResolver *This, + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); + + HRESULT (STDMETHODCALLTYPE *BeginCreateObjectFromURL)( + IMFSourceResolver *This, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IUnknown **cancel_cookie, + IMFAsyncCallback *callback, + IUnknown *unk_state); + + HRESULT (STDMETHODCALLTYPE *EndCreateObjectFromURL)( + IMFSourceResolver *This, + IMFAsyncResult *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); + + HRESULT (STDMETHODCALLTYPE *BeginCreateObjectFromByteStream)( + IMFSourceResolver *This, + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IUnknown **cancel_cookie, + IMFAsyncCallback *callback, + IUnknown *unk_state); + + HRESULT (STDMETHODCALLTYPE *EndCreateObjectFromByteStream)( + IMFSourceResolver *This, + IMFAsyncResult *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); + + HRESULT (STDMETHODCALLTYPE *CanceObjectCreation)( + IMFSourceResolver *This, + IUnknown *cancel_cookie); + + END_INTERFACE +} IMFSourceResolverVtbl; + +interface IMFSourceResolver { + CONST_VTBL IMFSourceResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFSourceResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFSourceResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFSourceResolver_Release(This) (This)->lpVtbl->Release(This) +/*** IMFSourceResolver methods ***/ +#define IMFSourceResolver_CreateObjectFromURL(This,url,flags,props,obj_type,object) (This)->lpVtbl->CreateObjectFromURL(This,url,flags,props,obj_type,object) +#define IMFSourceResolver_CreateObjectFromByteStream(This,stream,url,flags,props,obj_type,object) (This)->lpVtbl->CreateObjectFromByteStream(This,stream,url,flags,props,obj_type,object) +#define IMFSourceResolver_BeginCreateObjectFromURL(This,url,flags,props,cancel_cookie,callback,unk_state) (This)->lpVtbl->BeginCreateObjectFromURL(This,url,flags,props,cancel_cookie,callback,unk_state) +#define IMFSourceResolver_EndCreateObjectFromURL(This,result,obj_type,object) (This)->lpVtbl->EndCreateObjectFromURL(This,result,obj_type,object) +#define IMFSourceResolver_BeginCreateObjectFromByteStream(This,stream,url,flags,props,cancel_cookie,callback,unk_state) (This)->lpVtbl->BeginCreateObjectFromByteStream(This,stream,url,flags,props,cancel_cookie,callback,unk_state) +#define IMFSourceResolver_EndCreateObjectFromByteStream(This,result,obj_type,object) (This)->lpVtbl->EndCreateObjectFromByteStream(This,result,obj_type,object) +#define IMFSourceResolver_CanceObjectCreation(This,cancel_cookie) (This)->lpVtbl->CanceObjectCreation(This,cancel_cookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFSourceResolver_QueryInterface(IMFSourceResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFSourceResolver_AddRef(IMFSourceResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFSourceResolver_Release(IMFSourceResolver* This) { + return This->lpVtbl->Release(This); +} +/*** IMFSourceResolver methods ***/ +static FORCEINLINE HRESULT IMFSourceResolver_CreateObjectFromURL(IMFSourceResolver* This,const WCHAR *url,DWORD flags,IPropertyStore *props,MF_OBJECT_TYPE *obj_type,IUnknown **object) { + return This->lpVtbl->CreateObjectFromURL(This,url,flags,props,obj_type,object); +} +static FORCEINLINE HRESULT IMFSourceResolver_CreateObjectFromByteStream(IMFSourceResolver* This,IMFByteStream *stream,const WCHAR *url,DWORD flags,IPropertyStore *props,MF_OBJECT_TYPE *obj_type,IUnknown **object) { + return This->lpVtbl->CreateObjectFromByteStream(This,stream,url,flags,props,obj_type,object); +} +static FORCEINLINE HRESULT IMFSourceResolver_BeginCreateObjectFromURL(IMFSourceResolver* This,const WCHAR *url,DWORD flags,IPropertyStore *props,IUnknown **cancel_cookie,IMFAsyncCallback *callback,IUnknown *unk_state) { + return This->lpVtbl->BeginCreateObjectFromURL(This,url,flags,props,cancel_cookie,callback,unk_state); +} +static FORCEINLINE HRESULT IMFSourceResolver_EndCreateObjectFromURL(IMFSourceResolver* This,IMFAsyncResult *result,MF_OBJECT_TYPE *obj_type,IUnknown **object) { + return This->lpVtbl->EndCreateObjectFromURL(This,result,obj_type,object); +} +static FORCEINLINE HRESULT IMFSourceResolver_BeginCreateObjectFromByteStream(IMFSourceResolver* This,IMFByteStream *stream,const WCHAR *url,DWORD flags,IPropertyStore *props,IUnknown **cancel_cookie,IMFAsyncCallback *callback,IUnknown *unk_state) { + return This->lpVtbl->BeginCreateObjectFromByteStream(This,stream,url,flags,props,cancel_cookie,callback,unk_state); +} +static FORCEINLINE HRESULT IMFSourceResolver_EndCreateObjectFromByteStream(IMFSourceResolver* This,IMFAsyncResult *result,MF_OBJECT_TYPE *obj_type,IUnknown **object) { + return This->lpVtbl->EndCreateObjectFromByteStream(This,result,obj_type,object); +} +static FORCEINLINE HRESULT IMFSourceResolver_CanceObjectCreation(IMFSourceResolver* This,IUnknown *cancel_cookie) { + return This->lpVtbl->CanceObjectCreation(This,cancel_cookie); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IMFSourceResolver_RemoteBeginCreateObjectFromURL_Proxy( + IMFSourceResolver* This, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IMFRemoteAsyncCallback *callback); +void __RPC_STUB IMFSourceResolver_RemoteBeginCreateObjectFromURL_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFSourceResolver_RemoteEndCreateObjectFromURL_Proxy( + IMFSourceResolver* This, + IUnknown *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); +void __RPC_STUB IMFSourceResolver_RemoteEndCreateObjectFromURL_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFSourceResolver_RemoteBeginCreateObjectFromByteStream_Proxy( + IMFSourceResolver* This, + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IMFRemoteAsyncCallback *callback); +void __RPC_STUB IMFSourceResolver_RemoteBeginCreateObjectFromByteStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFSourceResolver_RemoteEndCreateObjectFromByteStream_Proxy( + IMFSourceResolver* This, + IUnknown *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); +void __RPC_STUB IMFSourceResolver_RemoteEndCreateObjectFromByteStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IMFSourceResolver_BeginCreateObjectFromURL_Proxy( + IMFSourceResolver* This, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IUnknown **cancel_cookie, + IMFAsyncCallback *callback, + IUnknown *unk_state); +HRESULT __RPC_STUB IMFSourceResolver_BeginCreateObjectFromURL_Stub( + IMFSourceResolver* This, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IMFRemoteAsyncCallback *callback); +HRESULT CALLBACK IMFSourceResolver_EndCreateObjectFromURL_Proxy( + IMFSourceResolver* This, + IMFAsyncResult *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); +HRESULT __RPC_STUB IMFSourceResolver_EndCreateObjectFromURL_Stub( + IMFSourceResolver* This, + IUnknown *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); +HRESULT CALLBACK IMFSourceResolver_BeginCreateObjectFromByteStream_Proxy( + IMFSourceResolver* This, + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IUnknown **cancel_cookie, + IMFAsyncCallback *callback, + IUnknown *unk_state); +HRESULT __RPC_STUB IMFSourceResolver_BeginCreateObjectFromByteStream_Stub( + IMFSourceResolver* This, + IMFByteStream *stream, + const WCHAR *url, + DWORD flags, + IPropertyStore *props, + IMFRemoteAsyncCallback *callback); +HRESULT CALLBACK IMFSourceResolver_EndCreateObjectFromByteStream_Proxy( + IMFSourceResolver* This, + IMFAsyncResult *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); +HRESULT __RPC_STUB IMFSourceResolver_EndCreateObjectFromByteStream_Stub( + IMFSourceResolver* This, + IUnknown *result, + MF_OBJECT_TYPE *obj_type, + IUnknown **object); + +#endif /* __IMFSourceResolver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFMediaTypeHandler interface + */ +#ifndef __IMFMediaTypeHandler_INTERFACE_DEFINED__ +#define __IMFMediaTypeHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaTypeHandler, 0xe93dcf6c, 0x4b07, 0x4e1e, 0x81,0x23, 0xaa,0x16,0xed,0x6e,0xad,0xf5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e93dcf6c-4b07-4e1e-8123-aa16ed6eadf5") +IMFMediaTypeHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsMediaTypeSupported( + IMFMediaType *in_type, + IMFMediaType **out_type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaTypeCount( + DWORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaTypeByIndex( + DWORD index, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentMediaType( + IMFMediaType *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentMediaType( + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMajorType( + GUID *type) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaTypeHandler, 0xe93dcf6c, 0x4b07, 0x4e1e, 0x81,0x23, 0xaa,0x16,0xed,0x6e,0xad,0xf5) +#endif +#else +typedef struct IMFMediaTypeHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaTypeHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaTypeHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaTypeHandler *This); + + /*** IMFMediaTypeHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *IsMediaTypeSupported)( + IMFMediaTypeHandler *This, + IMFMediaType *in_type, + IMFMediaType **out_type); + + HRESULT (STDMETHODCALLTYPE *GetMediaTypeCount)( + IMFMediaTypeHandler *This, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *GetMediaTypeByIndex)( + IMFMediaTypeHandler *This, + DWORD index, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *SetCurrentMediaType)( + IMFMediaTypeHandler *This, + IMFMediaType *type); + + HRESULT (STDMETHODCALLTYPE *GetCurrentMediaType)( + IMFMediaTypeHandler *This, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *GetMajorType)( + IMFMediaTypeHandler *This, + GUID *type); + + END_INTERFACE +} IMFMediaTypeHandlerVtbl; + +interface IMFMediaTypeHandler { + CONST_VTBL IMFMediaTypeHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaTypeHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaTypeHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaTypeHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IMFMediaTypeHandler methods ***/ +#define IMFMediaTypeHandler_IsMediaTypeSupported(This,in_type,out_type) (This)->lpVtbl->IsMediaTypeSupported(This,in_type,out_type) +#define IMFMediaTypeHandler_GetMediaTypeCount(This,count) (This)->lpVtbl->GetMediaTypeCount(This,count) +#define IMFMediaTypeHandler_GetMediaTypeByIndex(This,index,type) (This)->lpVtbl->GetMediaTypeByIndex(This,index,type) +#define IMFMediaTypeHandler_SetCurrentMediaType(This,type) (This)->lpVtbl->SetCurrentMediaType(This,type) +#define IMFMediaTypeHandler_GetCurrentMediaType(This,type) (This)->lpVtbl->GetCurrentMediaType(This,type) +#define IMFMediaTypeHandler_GetMajorType(This,type) (This)->lpVtbl->GetMajorType(This,type) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaTypeHandler_QueryInterface(IMFMediaTypeHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaTypeHandler_AddRef(IMFMediaTypeHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaTypeHandler_Release(IMFMediaTypeHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IMFMediaTypeHandler methods ***/ +static FORCEINLINE HRESULT IMFMediaTypeHandler_IsMediaTypeSupported(IMFMediaTypeHandler* This,IMFMediaType *in_type,IMFMediaType **out_type) { + return This->lpVtbl->IsMediaTypeSupported(This,in_type,out_type); +} +static FORCEINLINE HRESULT IMFMediaTypeHandler_GetMediaTypeCount(IMFMediaTypeHandler* This,DWORD *count) { + return This->lpVtbl->GetMediaTypeCount(This,count); +} +static FORCEINLINE HRESULT IMFMediaTypeHandler_GetMediaTypeByIndex(IMFMediaTypeHandler* This,DWORD index,IMFMediaType **type) { + return This->lpVtbl->GetMediaTypeByIndex(This,index,type); +} +static FORCEINLINE HRESULT IMFMediaTypeHandler_SetCurrentMediaType(IMFMediaTypeHandler* This,IMFMediaType *type) { + return This->lpVtbl->SetCurrentMediaType(This,type); +} +static FORCEINLINE HRESULT IMFMediaTypeHandler_GetCurrentMediaType(IMFMediaTypeHandler* This,IMFMediaType **type) { + return This->lpVtbl->GetCurrentMediaType(This,type); +} +static FORCEINLINE HRESULT IMFMediaTypeHandler_GetMajorType(IMFMediaTypeHandler* This,GUID *type) { + return This->lpVtbl->GetMajorType(This,type); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IMFMediaTypeHandler_RemoteIsMediaTypeSupported_Proxy( + IMFMediaTypeHandler* This, + BYTE *data, + DWORD size, + BYTE **match, + DWORD *match_count); +void __RPC_STUB IMFMediaTypeHandler_RemoteIsMediaTypeSupported_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFMediaTypeHandler_RemoteGetMediaTypeByIndex_Proxy( + IMFMediaTypeHandler* This, + DWORD index, + BYTE **data, + DWORD *count); +void __RPC_STUB IMFMediaTypeHandler_RemoteGetMediaTypeByIndex_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFMediaTypeHandler_RemoteSetCurrentMediaType_Proxy( + IMFMediaTypeHandler* This, + BYTE *data, + DWORD count); +void __RPC_STUB IMFMediaTypeHandler_RemoteSetCurrentMediaType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFMediaTypeHandler_RemoteGetCurrentMediaType_Proxy( + IMFMediaTypeHandler* This, + BYTE **data, + DWORD *count); +void __RPC_STUB IMFMediaTypeHandler_RemoteGetCurrentMediaType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IMFMediaTypeHandler_IsMediaTypeSupported_Proxy( + IMFMediaTypeHandler* This, + IMFMediaType *in_type, + IMFMediaType **out_type); +HRESULT __RPC_STUB IMFMediaTypeHandler_IsMediaTypeSupported_Stub( + IMFMediaTypeHandler* This, + BYTE *data, + DWORD size, + BYTE **match, + DWORD *match_count); +HRESULT CALLBACK IMFMediaTypeHandler_GetMediaTypeByIndex_Proxy( + IMFMediaTypeHandler* This, + DWORD index, + IMFMediaType **type); +HRESULT __RPC_STUB IMFMediaTypeHandler_GetMediaTypeByIndex_Stub( + IMFMediaTypeHandler* This, + DWORD index, + BYTE **data, + DWORD *count); +HRESULT CALLBACK IMFMediaTypeHandler_SetCurrentMediaType_Proxy( + IMFMediaTypeHandler* This, + IMFMediaType *type); +HRESULT __RPC_STUB IMFMediaTypeHandler_SetCurrentMediaType_Stub( + IMFMediaTypeHandler* This, + BYTE *data, + DWORD count); +HRESULT CALLBACK IMFMediaTypeHandler_GetCurrentMediaType_Proxy( + IMFMediaTypeHandler* This, + IMFMediaType **type); +HRESULT __RPC_STUB IMFMediaTypeHandler_GetCurrentMediaType_Stub( + IMFMediaTypeHandler* This, + BYTE **data, + DWORD *count); + +#endif /* __IMFMediaTypeHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFStreamDescriptor interface + */ +#ifndef __IMFStreamDescriptor_INTERFACE_DEFINED__ +#define __IMFStreamDescriptor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFStreamDescriptor, 0x56c03d9c, 0x9dbb, 0x45f5, 0xab,0x4b, 0xd8,0x0f,0x47,0xc0,0x59,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56c03d9c-9dbb-45f5-ab4b-d80f47c05938") +IMFStreamDescriptor : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamIdentifier( + DWORD *identifier) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaTypeHandler( + IMFMediaTypeHandler **handler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFStreamDescriptor, 0x56c03d9c, 0x9dbb, 0x45f5, 0xab,0x4b, 0xd8,0x0f,0x47,0xc0,0x59,0x38) +#endif +#else +typedef struct IMFStreamDescriptorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFStreamDescriptor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFStreamDescriptor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFStreamDescriptor *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFStreamDescriptor *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFStreamDescriptor *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFStreamDescriptor *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFStreamDescriptor *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFStreamDescriptor *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFStreamDescriptor *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFStreamDescriptor *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFStreamDescriptor *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFStreamDescriptor *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFStreamDescriptor *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFStreamDescriptor *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFStreamDescriptor *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFStreamDescriptor *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFStreamDescriptor *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFStreamDescriptor *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFStreamDescriptor *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFStreamDescriptor *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFStreamDescriptor *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFStreamDescriptor *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFStreamDescriptor *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFStreamDescriptor *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFStreamDescriptor *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFStreamDescriptor *This, + IMFAttributes *pDest); + + /*** IMFStreamDescriptor methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamIdentifier)( + IMFStreamDescriptor *This, + DWORD *identifier); + + HRESULT (STDMETHODCALLTYPE *GetMediaTypeHandler)( + IMFStreamDescriptor *This, + IMFMediaTypeHandler **handler); + + END_INTERFACE +} IMFStreamDescriptorVtbl; + +interface IMFStreamDescriptor { + CONST_VTBL IMFStreamDescriptorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFStreamDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFStreamDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFStreamDescriptor_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFStreamDescriptor_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFStreamDescriptor_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFStreamDescriptor_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFStreamDescriptor_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFStreamDescriptor_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFStreamDescriptor_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFStreamDescriptor_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFStreamDescriptor_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFStreamDescriptor_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFStreamDescriptor_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFStreamDescriptor_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFStreamDescriptor_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFStreamDescriptor_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFStreamDescriptor_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFStreamDescriptor_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFStreamDescriptor_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFStreamDescriptor_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFStreamDescriptor_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFStreamDescriptor_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFStreamDescriptor_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFStreamDescriptor_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFStreamDescriptor_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFStreamDescriptor_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFStreamDescriptor_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFStreamDescriptor_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFStreamDescriptor_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFStreamDescriptor_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFStreamDescriptor_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFStreamDescriptor_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFStreamDescriptor_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFStreamDescriptor methods ***/ +#define IMFStreamDescriptor_GetStreamIdentifier(This,identifier) (This)->lpVtbl->GetStreamIdentifier(This,identifier) +#define IMFStreamDescriptor_GetMediaTypeHandler(This,handler) (This)->lpVtbl->GetMediaTypeHandler(This,handler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFStreamDescriptor_QueryInterface(IMFStreamDescriptor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFStreamDescriptor_AddRef(IMFStreamDescriptor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFStreamDescriptor_Release(IMFStreamDescriptor* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFStreamDescriptor_GetItem(IMFStreamDescriptor* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetItemType(IMFStreamDescriptor* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_CompareItem(IMFStreamDescriptor* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_Compare(IMFStreamDescriptor* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetUINT32(IMFStreamDescriptor* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetUINT64(IMFStreamDescriptor* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetDouble(IMFStreamDescriptor* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetGUID(IMFStreamDescriptor* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetStringLength(IMFStreamDescriptor* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetString(IMFStreamDescriptor* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetAllocatedString(IMFStreamDescriptor* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetBlobSize(IMFStreamDescriptor* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetBlob(IMFStreamDescriptor* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetAllocatedBlob(IMFStreamDescriptor* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetUnknown(IMFStreamDescriptor* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetItem(IMFStreamDescriptor* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_DeleteItem(IMFStreamDescriptor* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_DeleteAllItems(IMFStreamDescriptor* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetUINT32(IMFStreamDescriptor* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetUINT64(IMFStreamDescriptor* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetDouble(IMFStreamDescriptor* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetGUID(IMFStreamDescriptor* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetString(IMFStreamDescriptor* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetBlob(IMFStreamDescriptor* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_SetUnknown(IMFStreamDescriptor* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_LockStore(IMFStreamDescriptor* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_UnlockStore(IMFStreamDescriptor* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetCount(IMFStreamDescriptor* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetItemByIndex(IMFStreamDescriptor* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_CopyAllItems(IMFStreamDescriptor* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFStreamDescriptor methods ***/ +static FORCEINLINE HRESULT IMFStreamDescriptor_GetStreamIdentifier(IMFStreamDescriptor* This,DWORD *identifier) { + return This->lpVtbl->GetStreamIdentifier(This,identifier); +} +static FORCEINLINE HRESULT IMFStreamDescriptor_GetMediaTypeHandler(IMFStreamDescriptor* This,IMFMediaTypeHandler **handler) { + return This->lpVtbl->GetMediaTypeHandler(This,handler); +} +#endif +#endif + +#endif + + +#endif /* __IMFStreamDescriptor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFClockStateSink interface + */ +#ifndef __IMFClockStateSink_INTERFACE_DEFINED__ +#define __IMFClockStateSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFClockStateSink, 0xf6696e82, 0x74f7, 0x4f3d, 0xa1,0x78, 0x8a,0x5e,0x09,0xc3,0x65,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f6696e82-74f7-4f3d-a178-8a5e09c3659f") +IMFClockStateSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnClockStart( + MFTIME hnsSystemTime, + LONGLONG llClockStartOffset) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnClockStop( + MFTIME hnssSystemTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnClockPause( + MFTIME hnsSystemTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnClockRestart( + MFTIME hnsSystemTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnClockSetRate( + MFTIME hnsSystemTime, + float flRate) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFClockStateSink, 0xf6696e82, 0x74f7, 0x4f3d, 0xa1,0x78, 0x8a,0x5e,0x09,0xc3,0x65,0x9f) +#endif +#else +typedef struct IMFClockStateSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFClockStateSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFClockStateSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFClockStateSink *This); + + /*** IMFClockStateSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnClockStart)( + IMFClockStateSink *This, + MFTIME hnsSystemTime, + LONGLONG llClockStartOffset); + + HRESULT (STDMETHODCALLTYPE *OnClockStop)( + IMFClockStateSink *This, + MFTIME hnssSystemTime); + + HRESULT (STDMETHODCALLTYPE *OnClockPause)( + IMFClockStateSink *This, + MFTIME hnsSystemTime); + + HRESULT (STDMETHODCALLTYPE *OnClockRestart)( + IMFClockStateSink *This, + MFTIME hnsSystemTime); + + HRESULT (STDMETHODCALLTYPE *OnClockSetRate)( + IMFClockStateSink *This, + MFTIME hnsSystemTime, + float flRate); + + END_INTERFACE +} IMFClockStateSinkVtbl; + +interface IMFClockStateSink { + CONST_VTBL IMFClockStateSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFClockStateSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFClockStateSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFClockStateSink_Release(This) (This)->lpVtbl->Release(This) +/*** IMFClockStateSink methods ***/ +#define IMFClockStateSink_OnClockStart(This,hnsSystemTime,llClockStartOffset) (This)->lpVtbl->OnClockStart(This,hnsSystemTime,llClockStartOffset) +#define IMFClockStateSink_OnClockStop(This,hnssSystemTime) (This)->lpVtbl->OnClockStop(This,hnssSystemTime) +#define IMFClockStateSink_OnClockPause(This,hnsSystemTime) (This)->lpVtbl->OnClockPause(This,hnsSystemTime) +#define IMFClockStateSink_OnClockRestart(This,hnsSystemTime) (This)->lpVtbl->OnClockRestart(This,hnsSystemTime) +#define IMFClockStateSink_OnClockSetRate(This,hnsSystemTime,flRate) (This)->lpVtbl->OnClockSetRate(This,hnsSystemTime,flRate) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFClockStateSink_QueryInterface(IMFClockStateSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFClockStateSink_AddRef(IMFClockStateSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFClockStateSink_Release(IMFClockStateSink* This) { + return This->lpVtbl->Release(This); +} +/*** IMFClockStateSink methods ***/ +static FORCEINLINE HRESULT IMFClockStateSink_OnClockStart(IMFClockStateSink* This,MFTIME hnsSystemTime,LONGLONG llClockStartOffset) { + return This->lpVtbl->OnClockStart(This,hnsSystemTime,llClockStartOffset); +} +static FORCEINLINE HRESULT IMFClockStateSink_OnClockStop(IMFClockStateSink* This,MFTIME hnssSystemTime) { + return This->lpVtbl->OnClockStop(This,hnssSystemTime); +} +static FORCEINLINE HRESULT IMFClockStateSink_OnClockPause(IMFClockStateSink* This,MFTIME hnsSystemTime) { + return This->lpVtbl->OnClockPause(This,hnsSystemTime); +} +static FORCEINLINE HRESULT IMFClockStateSink_OnClockRestart(IMFClockStateSink* This,MFTIME hnsSystemTime) { + return This->lpVtbl->OnClockRestart(This,hnsSystemTime); +} +static FORCEINLINE HRESULT IMFClockStateSink_OnClockSetRate(IMFClockStateSink* This,MFTIME hnsSystemTime,float flRate) { + return This->lpVtbl->OnClockSetRate(This,hnsSystemTime,flRate); +} +#endif +#endif + +#endif + + +#endif /* __IMFClockStateSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFGetService interface + */ +#ifndef __IMFGetService_INTERFACE_DEFINED__ +#define __IMFGetService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFGetService, 0xfa993888, 0x4383, 0x415a, 0xa9,0x30, 0xdd,0x47,0x2a,0x8c,0xf6,0xf7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fa993888-4383-415a-a930-dd472a8cf6f7") +IMFGetService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetService( + REFGUID guidService, + REFIID riid, + LPVOID *ppvObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFGetService, 0xfa993888, 0x4383, 0x415a, 0xa9,0x30, 0xdd,0x47,0x2a,0x8c,0xf6,0xf7) +#endif +#else +typedef struct IMFGetServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFGetService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFGetService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFGetService *This); + + /*** IMFGetService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetService)( + IMFGetService *This, + REFGUID guidService, + REFIID riid, + LPVOID *ppvObject); + + END_INTERFACE +} IMFGetServiceVtbl; + +interface IMFGetService { + CONST_VTBL IMFGetServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFGetService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFGetService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFGetService_Release(This) (This)->lpVtbl->Release(This) +/*** IMFGetService methods ***/ +#define IMFGetService_GetService(This,guidService,riid,ppvObject) (This)->lpVtbl->GetService(This,guidService,riid,ppvObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFGetService_QueryInterface(IMFGetService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFGetService_AddRef(IMFGetService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFGetService_Release(IMFGetService* This) { + return This->lpVtbl->Release(This); +} +/*** IMFGetService methods ***/ +static FORCEINLINE HRESULT IMFGetService_GetService(IMFGetService* This,REFGUID guidService,REFIID riid,LPVOID *ppvObject) { + return This->lpVtbl->GetService(This,guidService,riid,ppvObject); +} +#endif +#endif + +#endif + + +#endif /* __IMFGetService_INTERFACE_DEFINED__ */ + +HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session); +HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver); +HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes, + IMFMediaType **types, IMFStreamDescriptor **descriptor); +HRESULT WINAPI MFCreateTopology(IMFTopology **topology); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mfidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfidl.idl new file mode 100644 index 0000000..80fa5ec --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfidl.idl @@ -0,0 +1,257 @@ +/* + * Copyright 2016 Michael Müller + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "mfobjects.idl"; +import "mftransform.idl"; + +typedef unsigned __int64 TOPOID; +typedef LONGLONG MFTIME; + +typedef enum MF_TOPOLOGY_TYPE +{ + MF_TOPOLOGY_OUTPUT_NODE, + MF_TOPOLOGY_SOURCESTREAM_NODE, + MF_TOPOLOGY_TRANSFORM_NODE, + MF_TOPOLOGY_TEE_NODE, + MF_TOPOLOGY_MAX = 0xffffffff +} MF_TOPOLOGY_TYPE; + +typedef enum _MFCLOCK_STATE +{ + MFCLOCK_STATE_INVALID, + MFCLOCK_STATE_RUNNING, + MFCLOCK_STATE_STOPPED, + MFCLOCK_STATE_PAUSED +} MFCLOCK_STATE; + +typedef enum MF_OBJECT_TYPE +{ + MF_OBJECT_MEDIASOURCE, + MF_OBJECT_BYTESTREAM, + MF_OBJECT_INVALID +} MF_OBJECT_TYPE; + +typedef struct _MFCLOCK_PROPERTIES +{ + unsigned __int64 qwCorrelationRate; + GUID guidClockId; + DWORD dwClockFlags; + unsigned __int64 qwClockFrequency; + DWORD dwClockTolerance; + DWORD dwClockJitter; +} MFCLOCK_PROPERTIES; + +[ + object, + uuid(2eb1e945-18b8-4139-9b1a-d5d584818530), +] +interface IMFClock : IUnknown +{ + HRESULT GetClockCharacteristics([out] DWORD *characteristics); + HRESULT GetCorrelatedTime([in] DWORD reserved, [out] LONGLONG *clock_time, [out] MFTIME *system_time); + HRESULT GetContinuityKey([out] DWORD *key); + HRESULT GetState([in] DWORD reserved, [out] MFCLOCK_STATE *state); + HRESULT GetProperties([out] MFCLOCK_PROPERTIES *props); +} + +[ + object, + uuid(83cf873a-f6da-4bc8-823f-bacfd55dc430), +] +interface IMFTopologyNode : IMFAttributes +{ + HRESULT SetObject([in] IUnknown *object); + HRESULT GetObject([out] IUnknown **object); + HRESULT GetNodeType([out] MF_TOPOLOGY_TYPE *type); + HRESULT GetTopoNodeID([out] TOPOID *id); + HRESULT SetTopoNodeID([in] TOPOID id); + HRESULT GetInputCount([out] DWORD *count); + HRESULT GetOutputCount([out] DWORD *count); + [local] HRESULT ConnectOutput([in] DWORD output_index, [in] IMFTopologyNode *node, [in] DWORD input_index); + [local] HRESULT DisconnectOutput([in] DWORD index); + HRESULT GetInput([in] DWORD input_index, [out] IMFTopologyNode **node, [out] DWORD *output_index); + HRESULT GetOutput([in] DWORD output_index, [out] IMFTopologyNode **node, [out] DWORD *input_index); + [local] HRESULT SetOutputPrefType([in] DWORD index, [in] IMFMediaType *type); + [local] HRESULT GetOutputPrefType([in] DWORD output_index, [out] IMFMediaType **type); + [call_as(GetOutputPrefType)] HRESULT RemoteGetOutputPrefType([in] DWORD index, [out] DWORD *length, + [out, size_is(, *length)] BYTE **data); + [local] HRESULT SetInputPrefType([in] DWORD index, [in] IMFMediaType *type); + [local] HRESULT GetInputPrefType([in] DWORD index, [out] IMFMediaType **type); + [call_as(GetInputPrefType)] HRESULT RemoteGetInputPrefType([in] DWORD index, [out] DWORD *length, + [out, size_is(, *length)] BYTE **data); + HRESULT CloneFrom([in] IMFTopologyNode *node); +} + +[ + object, + uuid(83cf873a-f6da-4bc8-823f-bacfd55dc433), +] +interface IMFTopology : IMFAttributes +{ + HRESULT GetTopologyID([out] TOPOID *id); + [local] HRESULT AddNode([in] IMFTopologyNode *node); + [local] HRESULT RemoveNode([in] IMFTopologyNode *node); + HRESULT GetNodeCount([out] WORD *nodes); + HRESULT GetNode([in] WORD index, [out] IMFTopologyNode **node); + [local] HRESULT Clear(); + HRESULT CloneFrom([in] IMFTopology *topology); + HRESULT GetNodeByID([in] TOPOID id, [out] IMFTopologyNode **node); + HRESULT GetSourceNodeCollection([out] IMFCollection **collection); + HRESULT GetOutputNodeCollection([out] IMFCollection **collection); +} + +[ + object, + uuid(90377834-21d0-4dee-8214-ba2e3e6c1127), +] +interface IMFMediaSession : IMFMediaEventGenerator +{ + HRESULT SetTopology([in] DWORD flags, [in] IMFTopology *topology); + HRESULT ClearTopologies(); + HRESULT Start([in, unique] const GUID *format, [in, unique] const PROPVARIANT *start); + HRESULT Pause(); + HRESULT Stop(); + HRESULT Close(); + HRESULT Shutdown(); + HRESULT GetClock([out] IMFClock **clock); + HRESULT GetSessionCapabilities([out] DWORD *caps); + HRESULT GetFullTopology([in] DWORD flags, [in] TOPOID id, [out] IMFTopology **topology); +} + +[ + object, + uuid(fbe5a32d-a497-4b61-bb85-97b1a848a6e3) +] +interface IMFSourceResolver : IUnknown +{ + [local] HRESULT CreateObjectFromURL([in] const WCHAR *url, [in] DWORD flags, [in] IPropertyStore *props, + [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object); + [local] HRESULT CreateObjectFromByteStream([in] IMFByteStream *stream, [in] const WCHAR *url, [in] DWORD flags, + [in] IPropertyStore *props, [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object); + [local] HRESULT BeginCreateObjectFromURL([in] const WCHAR *url, [in] DWORD flags, [in] IPropertyStore *props, + [out] IUnknown **cancel_cookie, [in] IMFAsyncCallback *callback, [in] IUnknown *unk_state); + [call_as(BeginCreateObjectFromURL)] HRESULT RemoteBeginCreateObjectFromURL([in, string] const WCHAR *url, + [in] DWORD flags, [in] IPropertyStore *props, [in] IMFRemoteAsyncCallback *callback); + [local] HRESULT EndCreateObjectFromURL([in] IMFAsyncResult *result, [out] MF_OBJECT_TYPE *obj_type, + [out] IUnknown **object); + [call_as(EndCreateObjectFromURL)] HRESULT RemoteEndCreateObjectFromURL([in] IUnknown *result, + [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object); + [local] HRESULT BeginCreateObjectFromByteStream([in] IMFByteStream *stream, [in] const WCHAR *url, + [in] DWORD flags, [in] IPropertyStore *props, [out] IUnknown **cancel_cookie, + [in] IMFAsyncCallback *callback, [in] IUnknown *unk_state); + [call_as(BeginCreateObjectFromByteStream)] HRESULT RemoteBeginCreateObjectFromByteStream([in] IMFByteStream *stream, + [in, unique] const WCHAR *url, [in] DWORD flags, [in, unique] IPropertyStore *props, + [in] IMFRemoteAsyncCallback *callback); + [local] HRESULT EndCreateObjectFromByteStream([in] IMFAsyncResult *result, [out] MF_OBJECT_TYPE *obj_type, + [out] IUnknown **object); + [call_as(EndCreateObjectFromByteStream)] HRESULT RemoteEndCreateObjectFromByteStream([in] IUnknown *result, + [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object); + [local] HRESULT CanceObjectCreation([in] IUnknown *cancel_cookie); +} + +[ + object, + uuid(e93dcf6c-4b07-4e1e-8123-aa16ed6eadf5) +] +interface IMFMediaTypeHandler : IUnknown +{ + [local] + HRESULT IsMediaTypeSupported([in] IMFMediaType *in_type, [out] IMFMediaType **out_type); + + [call_as(IsMediaTypeSupported)] + HRESULT RemoteIsMediaTypeSupported([in, size_is(size)] BYTE *data, [in] DWORD size, + [out, size_is(, *match_count)] BYTE **match, [out] DWORD *match_count); + + HRESULT GetMediaTypeCount([out] DWORD *count); + + [local] + HRESULT GetMediaTypeByIndex([in] DWORD index, [out] IMFMediaType **type); + + [call_as(GetMediaTypeByIndex)] + HRESULT RemoteGetMediaTypeByIndex([in] DWORD index, [out, size_is(, *count)] BYTE **data, + [out] DWORD *count); + + [local] + HRESULT SetCurrentMediaType([in] IMFMediaType *type); + + [call_as(SetCurrentMediaType)] + HRESULT RemoteSetCurrentMediaType([in, size_is(count)] BYTE *data, [in] DWORD count); + + [local] + HRESULT GetCurrentMediaType([out] IMFMediaType **type); + + [call_as(GetCurrentMediaType)] + HRESULT RemoteGetCurrentMediaType([out, size_is(, *count)] BYTE **data, [out] DWORD *count); + + HRESULT GetMajorType([out] GUID *type); +} + +[ + object, + uuid(56c03d9c-9dbb-45f5-ab4b-d80f47c05938) +] +interface IMFStreamDescriptor : IMFAttributes +{ + HRESULT GetStreamIdentifier([out] DWORD *identifier); + + HRESULT GetMediaTypeHandler([out] IMFMediaTypeHandler **handler); +} + +[ + object, + uuid(f6696e82-74f7-4f3d-a178-8a5e09c3659f) +] +interface IMFClockStateSink : IUnknown +{ + HRESULT OnClockStart( + [in] MFTIME hnsSystemTime, + [in] LONGLONG llClockStartOffset + ); + HRESULT OnClockStop( + [in] MFTIME hnssSystemTime + ); + HRESULT OnClockPause( + [in] MFTIME hnsSystemTime + ); + HRESULT OnClockRestart( + [in] MFTIME hnsSystemTime + ); + HRESULT OnClockSetRate( + [in] MFTIME hnsSystemTime, + [in] float flRate + ); +} + +[ + object, + uuid(fa993888-4383-415a-a930-dd472a8cf6f7) +] +interface IMFGetService : IUnknown +{ + HRESULT GetService( + [in] REFGUID guidService, + [in] REFIID riid, + [out, iid_is(riid)] LPVOID *ppvObject + ); +} + +cpp_quote("HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session);") +cpp_quote("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);") +cpp_quote("HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes,") +cpp_quote(" IMFMediaType **types, IMFStreamDescriptor **descriptor);") +cpp_quote("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfobjects.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfobjects.h new file mode 100644 index 0000000..9d3f6ab --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfobjects.h @@ -0,0 +1,4826 @@ +/*** Autogenerated by WIDL 2.18 from mfobjects.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mfobjects_h__ +#define __mfobjects_h__ + +/* Forward declarations */ + +#ifndef __IMFAttributes_FWD_DEFINED__ +#define __IMFAttributes_FWD_DEFINED__ +typedef interface IMFAttributes IMFAttributes; +#ifdef __cplusplus +interface IMFAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaBuffer_FWD_DEFINED__ +#define __IMFMediaBuffer_FWD_DEFINED__ +typedef interface IMFMediaBuffer IMFMediaBuffer; +#ifdef __cplusplus +interface IMFMediaBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFSample_FWD_DEFINED__ +#define __IMFSample_FWD_DEFINED__ +typedef interface IMFSample IMFSample; +#ifdef __cplusplus +interface IMFSample; +#endif /* __cplusplus */ +#endif + +#ifndef __IMF2DBuffer_FWD_DEFINED__ +#define __IMF2DBuffer_FWD_DEFINED__ +typedef interface IMF2DBuffer IMF2DBuffer; +#ifdef __cplusplus +interface IMF2DBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaType_FWD_DEFINED__ +#define __IMFMediaType_FWD_DEFINED__ +typedef interface IMFMediaType IMFMediaType; +#ifdef __cplusplus +interface IMFMediaType; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFAudioMediaType_FWD_DEFINED__ +#define __IMFAudioMediaType_FWD_DEFINED__ +typedef interface IMFAudioMediaType IMFAudioMediaType; +#ifdef __cplusplus +interface IMFAudioMediaType; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFVideoMediaType_FWD_DEFINED__ +#define __IMFVideoMediaType_FWD_DEFINED__ +typedef interface IMFVideoMediaType IMFVideoMediaType; +#ifdef __cplusplus +interface IMFVideoMediaType; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFAsyncResult_FWD_DEFINED__ +#define __IMFAsyncResult_FWD_DEFINED__ +typedef interface IMFAsyncResult IMFAsyncResult; +#ifdef __cplusplus +interface IMFAsyncResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFAsyncCallback_FWD_DEFINED__ +#define __IMFAsyncCallback_FWD_DEFINED__ +typedef interface IMFAsyncCallback IMFAsyncCallback; +#ifdef __cplusplus +interface IMFAsyncCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFRemoteAsyncCallback_FWD_DEFINED__ +#define __IMFRemoteAsyncCallback_FWD_DEFINED__ +typedef interface IMFRemoteAsyncCallback IMFRemoteAsyncCallback; +#ifdef __cplusplus +interface IMFRemoteAsyncCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaEvent_FWD_DEFINED__ +#define __IMFMediaEvent_FWD_DEFINED__ +typedef interface IMFMediaEvent IMFMediaEvent; +#ifdef __cplusplus +interface IMFMediaEvent; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaEventGenerator_FWD_DEFINED__ +#define __IMFMediaEventGenerator_FWD_DEFINED__ +typedef interface IMFMediaEventGenerator IMFMediaEventGenerator; +#ifdef __cplusplus +interface IMFMediaEventGenerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFByteStream_FWD_DEFINED__ +#define __IMFByteStream_FWD_DEFINED__ +typedef interface IMFByteStream IMFByteStream; +#ifdef __cplusplus +interface IMFByteStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFCollection_FWD_DEFINED__ +#define __IMFCollection_FWD_DEFINED__ +typedef interface IMFCollection IMFCollection; +#ifdef __cplusplus +interface IMFCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFActivate_FWD_DEFINED__ +#define __IMFActivate_FWD_DEFINED__ +typedef interface IMFActivate IMFActivate; +#ifdef __cplusplus +interface IMFActivate; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFPluginControl_FWD_DEFINED__ +#define __IMFPluginControl_FWD_DEFINED__ +typedef interface IMFPluginControl IMFPluginControl; +#ifdef __cplusplus +interface IMFPluginControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFMediaEventQueue_FWD_DEFINED__ +#define __IMFMediaEventQueue_FWD_DEFINED__ +typedef interface IMFMediaEventQueue IMFMediaEventQueue; +#ifdef __cplusplus +interface IMFMediaEventQueue; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#if 0 +typedef struct tWAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; + BYTE pExtraBytes[1]; +} WAVEFORMATEX; +typedef struct tWAVEFORMATEX *PWAVEFORMATEX; +typedef struct tWAVEFORMATEX *NPWAVEFORMATEX; +typedef struct tWAVEFORMATEX *LPWAVEFORMATEX; +typedef struct __WIDL_mfobjects_generated_name_0000001C { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; + WORD wValidBitsPerSample; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE; +typedef struct __WIDL_mfobjects_generated_name_0000001C *PWAVEFORMATEXTENSIBLE; +#endif +typedef ULONGLONG QWORD; +typedef enum _MF_ATTRIBUTE_TYPE { + MF_ATTRIBUTE_UINT32 = VT_UI4, + MF_ATTRIBUTE_UINT64 = VT_UI8, + MF_ATTRIBUTE_DOUBLE = VT_R8, + MF_ATTRIBUTE_GUID = VT_CLSID, + MF_ATTRIBUTE_STRING = VT_LPWSTR, + MF_ATTRIBUTE_BLOB = VT_VECTOR | VT_UI1, + MF_ATTRIBUTE_IUNKNOWN = VT_UNKNOWN +} MF_ATTRIBUTE_TYPE; +typedef enum _MF_ATTRIBUTES_MATCH_TYPE { + MF_ATTRIBUTES_MATCH_OUR_ITEMS = 0, + MF_ATTRIBUTES_MATCH_THEIR_ITEMS = 1, + MF_ATTRIBUTES_MATCH_ALL_ITEMS = 2, + MF_ATTRIBUTES_MATCH_INTERSECTION = 3, + MF_ATTRIBUTES_MATCH_SMALLER = 4 +} MF_ATTRIBUTES_MATCH_TYPE; +/***************************************************************************** + * IMFAttributes interface + */ +#ifndef __IMFAttributes_INTERFACE_DEFINED__ +#define __IMFAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFAttributes, 0x2cd2d921, 0xc447, 0x44a7, 0xa1,0x3c, 0x4a,0xda,0xbf,0xc2,0x47,0xe3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd2d921-c447-44a7-a13c-4adabfc247e3") +IMFAttributes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetItem( + REFGUID guidKey, + PROPVARIANT *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemType( + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareItem( + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE Compare( + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUINT32( + REFGUID guidKey, + UINT32 *punValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUINT64( + REFGUID guidKey, + UINT64 *punValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDouble( + REFGUID guidKey, + double *pfValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGUID( + REFGUID guidKey, + GUID *pguidValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringLength( + REFGUID guidKey, + UINT32 *pcchLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetString( + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllocatedString( + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBlobSize( + REFGUID guidKey, + UINT32 *pcbBlobSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBlob( + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllocatedBlob( + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUnknown( + REFGUID guidKey, + REFIID riid, + LPVOID *ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetItem( + REFGUID guidKey, + REFPROPVARIANT Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteItem( + REFGUID guidKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAllItems( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUINT32( + REFGUID guidKey, + UINT32 unValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUINT64( + REFGUID guidKey, + UINT64 unValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDouble( + REFGUID guidKey, + double fValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGUID( + REFGUID guidKey, + REFGUID guidValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetString( + REFGUID guidKey, + LPCWSTR wszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBlob( + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUnknown( + REFGUID guidKey, + IUnknown *pUnknown) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockStore( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnlockStore( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT32 *pcItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemByIndex( + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyAllItems( + IMFAttributes *pDest) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFAttributes, 0x2cd2d921, 0xc447, 0x44a7, 0xa1,0x3c, 0x4a,0xda,0xbf,0xc2,0x47,0xe3) +#endif +#else +typedef struct IMFAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFAttributes *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFAttributes *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFAttributes *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFAttributes *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFAttributes *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFAttributes *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFAttributes *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFAttributes *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFAttributes *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFAttributes *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFAttributes *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFAttributes *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFAttributes *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFAttributes *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFAttributes *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFAttributes *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFAttributes *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFAttributes *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFAttributes *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFAttributes *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFAttributes *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFAttributes *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFAttributes *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFAttributes *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFAttributes *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFAttributes *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFAttributes *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFAttributes *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFAttributes *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFAttributes *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFAttributes *This, + IMFAttributes *pDest); + + END_INTERFACE +} IMFAttributesVtbl; + +interface IMFAttributes { + CONST_VTBL IMFAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFAttributes_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFAttributes_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFAttributes_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFAttributes_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFAttributes_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFAttributes_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFAttributes_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFAttributes_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFAttributes_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFAttributes_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFAttributes_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFAttributes_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFAttributes_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFAttributes_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFAttributes_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFAttributes_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFAttributes_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFAttributes_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFAttributes_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFAttributes_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFAttributes_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFAttributes_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFAttributes_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFAttributes_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFAttributes_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFAttributes_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFAttributes_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFAttributes_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFAttributes_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFAttributes_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFAttributes_QueryInterface(IMFAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFAttributes_AddRef(IMFAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFAttributes_Release(IMFAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFAttributes_GetItem(IMFAttributes* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFAttributes_GetItemType(IMFAttributes* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFAttributes_CompareItem(IMFAttributes* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFAttributes_Compare(IMFAttributes* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFAttributes_GetUINT32(IMFAttributes* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFAttributes_GetUINT64(IMFAttributes* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFAttributes_GetDouble(IMFAttributes* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFAttributes_GetGUID(IMFAttributes* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFAttributes_GetStringLength(IMFAttributes* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFAttributes_GetString(IMFAttributes* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFAttributes_GetAllocatedString(IMFAttributes* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFAttributes_GetBlobSize(IMFAttributes* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFAttributes_GetBlob(IMFAttributes* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFAttributes_GetAllocatedBlob(IMFAttributes* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFAttributes_GetUnknown(IMFAttributes* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFAttributes_SetItem(IMFAttributes* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFAttributes_DeleteItem(IMFAttributes* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFAttributes_DeleteAllItems(IMFAttributes* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFAttributes_SetUINT32(IMFAttributes* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFAttributes_SetUINT64(IMFAttributes* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFAttributes_SetDouble(IMFAttributes* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFAttributes_SetGUID(IMFAttributes* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFAttributes_SetString(IMFAttributes* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFAttributes_SetBlob(IMFAttributes* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFAttributes_SetUnknown(IMFAttributes* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFAttributes_LockStore(IMFAttributes* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFAttributes_UnlockStore(IMFAttributes* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFAttributes_GetCount(IMFAttributes* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFAttributes_GetItemByIndex(IMFAttributes* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFAttributes_CopyAllItems(IMFAttributes* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +#endif +#endif + +#endif + + +#endif /* __IMFAttributes_INTERFACE_DEFINED__ */ + +enum MF_ATTRIBUTE_SERIALIZE_OPTIONS { + MF_ATTRIBUTE_SERIALIZE_UNKNOWN_BYREF = 0x1 +}; +/***************************************************************************** + * IMFMediaBuffer interface + */ +#ifndef __IMFMediaBuffer_INTERFACE_DEFINED__ +#define __IMFMediaBuffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaBuffer, 0x045fa593, 0x8799, 0x42b8, 0xbc,0x8d, 0x89,0x68,0xc6,0x45,0x35,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("045fa593-8799-42b8-bc8d-8968c6453507") +IMFMediaBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Lock( + BYTE **ppbBuffer, + DWORD *pcbMaxLength, + DWORD *pcbCurrentLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unlock( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentLength( + DWORD *pcbCurrentLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentLength( + DWORD cbCurrentLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxLength( + DWORD *pcbMaxLength) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaBuffer, 0x045fa593, 0x8799, 0x42b8, 0xbc,0x8d, 0x89,0x68,0xc6,0x45,0x35,0x07) +#endif +#else +typedef struct IMFMediaBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaBuffer *This); + + /*** IMFMediaBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *Lock)( + IMFMediaBuffer *This, + BYTE **ppbBuffer, + DWORD *pcbMaxLength, + DWORD *pcbCurrentLength); + + HRESULT (STDMETHODCALLTYPE *Unlock)( + IMFMediaBuffer *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentLength)( + IMFMediaBuffer *This, + DWORD *pcbCurrentLength); + + HRESULT (STDMETHODCALLTYPE *SetCurrentLength)( + IMFMediaBuffer *This, + DWORD cbCurrentLength); + + HRESULT (STDMETHODCALLTYPE *GetMaxLength)( + IMFMediaBuffer *This, + DWORD *pcbMaxLength); + + END_INTERFACE +} IMFMediaBufferVtbl; + +interface IMFMediaBuffer { + CONST_VTBL IMFMediaBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IMFMediaBuffer methods ***/ +#define IMFMediaBuffer_Lock(This,ppbBuffer,pcbMaxLength,pcbCurrentLength) (This)->lpVtbl->Lock(This,ppbBuffer,pcbMaxLength,pcbCurrentLength) +#define IMFMediaBuffer_Unlock(This) (This)->lpVtbl->Unlock(This) +#define IMFMediaBuffer_GetCurrentLength(This,pcbCurrentLength) (This)->lpVtbl->GetCurrentLength(This,pcbCurrentLength) +#define IMFMediaBuffer_SetCurrentLength(This,cbCurrentLength) (This)->lpVtbl->SetCurrentLength(This,cbCurrentLength) +#define IMFMediaBuffer_GetMaxLength(This,pcbMaxLength) (This)->lpVtbl->GetMaxLength(This,pcbMaxLength) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaBuffer_QueryInterface(IMFMediaBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaBuffer_AddRef(IMFMediaBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaBuffer_Release(IMFMediaBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IMFMediaBuffer methods ***/ +static FORCEINLINE HRESULT IMFMediaBuffer_Lock(IMFMediaBuffer* This,BYTE **ppbBuffer,DWORD *pcbMaxLength,DWORD *pcbCurrentLength) { + return This->lpVtbl->Lock(This,ppbBuffer,pcbMaxLength,pcbCurrentLength); +} +static FORCEINLINE HRESULT IMFMediaBuffer_Unlock(IMFMediaBuffer* This) { + return This->lpVtbl->Unlock(This); +} +static FORCEINLINE HRESULT IMFMediaBuffer_GetCurrentLength(IMFMediaBuffer* This,DWORD *pcbCurrentLength) { + return This->lpVtbl->GetCurrentLength(This,pcbCurrentLength); +} +static FORCEINLINE HRESULT IMFMediaBuffer_SetCurrentLength(IMFMediaBuffer* This,DWORD cbCurrentLength) { + return This->lpVtbl->SetCurrentLength(This,cbCurrentLength); +} +static FORCEINLINE HRESULT IMFMediaBuffer_GetMaxLength(IMFMediaBuffer* This,DWORD *pcbMaxLength) { + return This->lpVtbl->GetMaxLength(This,pcbMaxLength); +} +#endif +#endif + +#endif + + +#endif /* __IMFMediaBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFSample interface + */ +#ifndef __IMFSample_INTERFACE_DEFINED__ +#define __IMFSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFSample, 0xc40a00f2, 0xb93a, 0x4d80, 0xae,0x8c, 0x5a,0x1c,0x63,0x4f,0x58,0xe4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c40a00f2-b93a-4d80-ae8c-5a1c634f58e4") +IMFSample : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE GetSampleFlags( + DWORD *pdwSampleFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSampleFlags( + DWORD dwSampleFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSampleTime( + LONGLONG *phnsSampleTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSampleTime( + LONGLONG hnsSampleTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSampleDuration( + LONGLONG *phnsSampleDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSampleDuration( + LONGLONG hnsSampleDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferCount( + DWORD *pdwBufferCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferByIndex( + DWORD dwIndex, + IMFMediaBuffer **ppBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertToContiguousBuffer( + IMFMediaBuffer **ppBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddBuffer( + IMFMediaBuffer *pBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveBufferByIndex( + DWORD dwIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllBuffers( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTotalLength( + DWORD *pcbTotalLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyToBuffer( + IMFMediaBuffer *pBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFSample, 0xc40a00f2, 0xb93a, 0x4d80, 0xae,0x8c, 0x5a,0x1c,0x63,0x4f,0x58,0xe4) +#endif +#else +typedef struct IMFSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFSample *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFSample *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFSample *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFSample *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFSample *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFSample *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFSample *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFSample *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFSample *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFSample *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFSample *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFSample *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFSample *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFSample *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFSample *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFSample *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFSample *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFSample *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFSample *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFSample *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFSample *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFSample *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFSample *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFSample *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFSample *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFSample *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFSample *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFSample *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFSample *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFSample *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFSample *This, + IMFAttributes *pDest); + + /*** IMFSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSampleFlags)( + IMFSample *This, + DWORD *pdwSampleFlags); + + HRESULT (STDMETHODCALLTYPE *SetSampleFlags)( + IMFSample *This, + DWORD dwSampleFlags); + + HRESULT (STDMETHODCALLTYPE *GetSampleTime)( + IMFSample *This, + LONGLONG *phnsSampleTime); + + HRESULT (STDMETHODCALLTYPE *SetSampleTime)( + IMFSample *This, + LONGLONG hnsSampleTime); + + HRESULT (STDMETHODCALLTYPE *GetSampleDuration)( + IMFSample *This, + LONGLONG *phnsSampleDuration); + + HRESULT (STDMETHODCALLTYPE *SetSampleDuration)( + IMFSample *This, + LONGLONG hnsSampleDuration); + + HRESULT (STDMETHODCALLTYPE *GetBufferCount)( + IMFSample *This, + DWORD *pdwBufferCount); + + HRESULT (STDMETHODCALLTYPE *GetBufferByIndex)( + IMFSample *This, + DWORD dwIndex, + IMFMediaBuffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *ConvertToContiguousBuffer)( + IMFSample *This, + IMFMediaBuffer **ppBuffer); + + HRESULT (STDMETHODCALLTYPE *AddBuffer)( + IMFSample *This, + IMFMediaBuffer *pBuffer); + + HRESULT (STDMETHODCALLTYPE *RemoveBufferByIndex)( + IMFSample *This, + DWORD dwIndex); + + HRESULT (STDMETHODCALLTYPE *RemoveAllBuffers)( + IMFSample *This); + + HRESULT (STDMETHODCALLTYPE *GetTotalLength)( + IMFSample *This, + DWORD *pcbTotalLength); + + HRESULT (STDMETHODCALLTYPE *CopyToBuffer)( + IMFSample *This, + IMFMediaBuffer *pBuffer); + + END_INTERFACE +} IMFSampleVtbl; + +interface IMFSample { + CONST_VTBL IMFSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFSample_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFSample_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFSample_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFSample_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFSample_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFSample_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFSample_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFSample_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFSample_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFSample_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFSample_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFSample_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFSample_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFSample_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFSample_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFSample_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFSample_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFSample_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFSample_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFSample_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFSample_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFSample_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFSample_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFSample_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFSample_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFSample_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFSample_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFSample_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFSample_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFSample_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFSample_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFSample methods ***/ +#define IMFSample_GetSampleFlags(This,pdwSampleFlags) (This)->lpVtbl->GetSampleFlags(This,pdwSampleFlags) +#define IMFSample_SetSampleFlags(This,dwSampleFlags) (This)->lpVtbl->SetSampleFlags(This,dwSampleFlags) +#define IMFSample_GetSampleTime(This,phnsSampleTime) (This)->lpVtbl->GetSampleTime(This,phnsSampleTime) +#define IMFSample_SetSampleTime(This,hnsSampleTime) (This)->lpVtbl->SetSampleTime(This,hnsSampleTime) +#define IMFSample_GetSampleDuration(This,phnsSampleDuration) (This)->lpVtbl->GetSampleDuration(This,phnsSampleDuration) +#define IMFSample_SetSampleDuration(This,hnsSampleDuration) (This)->lpVtbl->SetSampleDuration(This,hnsSampleDuration) +#define IMFSample_GetBufferCount(This,pdwBufferCount) (This)->lpVtbl->GetBufferCount(This,pdwBufferCount) +#define IMFSample_GetBufferByIndex(This,dwIndex,ppBuffer) (This)->lpVtbl->GetBufferByIndex(This,dwIndex,ppBuffer) +#define IMFSample_ConvertToContiguousBuffer(This,ppBuffer) (This)->lpVtbl->ConvertToContiguousBuffer(This,ppBuffer) +#define IMFSample_AddBuffer(This,pBuffer) (This)->lpVtbl->AddBuffer(This,pBuffer) +#define IMFSample_RemoveBufferByIndex(This,dwIndex) (This)->lpVtbl->RemoveBufferByIndex(This,dwIndex) +#define IMFSample_RemoveAllBuffers(This) (This)->lpVtbl->RemoveAllBuffers(This) +#define IMFSample_GetTotalLength(This,pcbTotalLength) (This)->lpVtbl->GetTotalLength(This,pcbTotalLength) +#define IMFSample_CopyToBuffer(This,pBuffer) (This)->lpVtbl->CopyToBuffer(This,pBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFSample_QueryInterface(IMFSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFSample_AddRef(IMFSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFSample_Release(IMFSample* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFSample_GetItem(IMFSample* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFSample_GetItemType(IMFSample* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFSample_CompareItem(IMFSample* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFSample_Compare(IMFSample* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFSample_GetUINT32(IMFSample* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFSample_GetUINT64(IMFSample* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFSample_GetDouble(IMFSample* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFSample_GetGUID(IMFSample* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFSample_GetStringLength(IMFSample* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFSample_GetString(IMFSample* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFSample_GetAllocatedString(IMFSample* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFSample_GetBlobSize(IMFSample* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFSample_GetBlob(IMFSample* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFSample_GetAllocatedBlob(IMFSample* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFSample_GetUnknown(IMFSample* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFSample_SetItem(IMFSample* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFSample_DeleteItem(IMFSample* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFSample_DeleteAllItems(IMFSample* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFSample_SetUINT32(IMFSample* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFSample_SetUINT64(IMFSample* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFSample_SetDouble(IMFSample* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFSample_SetGUID(IMFSample* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFSample_SetString(IMFSample* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFSample_SetBlob(IMFSample* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFSample_SetUnknown(IMFSample* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFSample_LockStore(IMFSample* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFSample_UnlockStore(IMFSample* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFSample_GetCount(IMFSample* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFSample_GetItemByIndex(IMFSample* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFSample_CopyAllItems(IMFSample* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFSample methods ***/ +static FORCEINLINE HRESULT IMFSample_GetSampleFlags(IMFSample* This,DWORD *pdwSampleFlags) { + return This->lpVtbl->GetSampleFlags(This,pdwSampleFlags); +} +static FORCEINLINE HRESULT IMFSample_SetSampleFlags(IMFSample* This,DWORD dwSampleFlags) { + return This->lpVtbl->SetSampleFlags(This,dwSampleFlags); +} +static FORCEINLINE HRESULT IMFSample_GetSampleTime(IMFSample* This,LONGLONG *phnsSampleTime) { + return This->lpVtbl->GetSampleTime(This,phnsSampleTime); +} +static FORCEINLINE HRESULT IMFSample_SetSampleTime(IMFSample* This,LONGLONG hnsSampleTime) { + return This->lpVtbl->SetSampleTime(This,hnsSampleTime); +} +static FORCEINLINE HRESULT IMFSample_GetSampleDuration(IMFSample* This,LONGLONG *phnsSampleDuration) { + return This->lpVtbl->GetSampleDuration(This,phnsSampleDuration); +} +static FORCEINLINE HRESULT IMFSample_SetSampleDuration(IMFSample* This,LONGLONG hnsSampleDuration) { + return This->lpVtbl->SetSampleDuration(This,hnsSampleDuration); +} +static FORCEINLINE HRESULT IMFSample_GetBufferCount(IMFSample* This,DWORD *pdwBufferCount) { + return This->lpVtbl->GetBufferCount(This,pdwBufferCount); +} +static FORCEINLINE HRESULT IMFSample_GetBufferByIndex(IMFSample* This,DWORD dwIndex,IMFMediaBuffer **ppBuffer) { + return This->lpVtbl->GetBufferByIndex(This,dwIndex,ppBuffer); +} +static FORCEINLINE HRESULT IMFSample_ConvertToContiguousBuffer(IMFSample* This,IMFMediaBuffer **ppBuffer) { + return This->lpVtbl->ConvertToContiguousBuffer(This,ppBuffer); +} +static FORCEINLINE HRESULT IMFSample_AddBuffer(IMFSample* This,IMFMediaBuffer *pBuffer) { + return This->lpVtbl->AddBuffer(This,pBuffer); +} +static FORCEINLINE HRESULT IMFSample_RemoveBufferByIndex(IMFSample* This,DWORD dwIndex) { + return This->lpVtbl->RemoveBufferByIndex(This,dwIndex); +} +static FORCEINLINE HRESULT IMFSample_RemoveAllBuffers(IMFSample* This) { + return This->lpVtbl->RemoveAllBuffers(This); +} +static FORCEINLINE HRESULT IMFSample_GetTotalLength(IMFSample* This,DWORD *pcbTotalLength) { + return This->lpVtbl->GetTotalLength(This,pcbTotalLength); +} +static FORCEINLINE HRESULT IMFSample_CopyToBuffer(IMFSample* This,IMFMediaBuffer *pBuffer) { + return This->lpVtbl->CopyToBuffer(This,pBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IMFSample_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMF2DBuffer interface + */ +#ifndef __IMF2DBuffer_INTERFACE_DEFINED__ +#define __IMF2DBuffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMF2DBuffer, 0x7dc9d5f9, 0x9ed9, 0x44ec, 0x9b,0xbf, 0x06,0x00,0xbb,0x58,0x9f,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7dc9d5f9-9ed9-44ec-9bbf-0600bb589fbb") +IMF2DBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Lock2D( + BYTE **pbScanline0, + LONG *plPitch) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unlock2D( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScanline0AndPitch( + BYTE **pbScanline0, + LONG *plPitch) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsContiguousFormat( + BOOL *pfIsContiguous) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContiguousLength( + DWORD *pcbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE ContiguousCopyTo( + BYTE *pbDestBuffer, + DWORD cbDestBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ContiguousCopyFrom( + const BYTE *pbSrcBuffer, + DWORD cbSrcBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMF2DBuffer, 0x7dc9d5f9, 0x9ed9, 0x44ec, 0x9b,0xbf, 0x06,0x00,0xbb,0x58,0x9f,0xbb) +#endif +#else +typedef struct IMF2DBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMF2DBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMF2DBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMF2DBuffer *This); + + /*** IMF2DBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *Lock2D)( + IMF2DBuffer *This, + BYTE **pbScanline0, + LONG *plPitch); + + HRESULT (STDMETHODCALLTYPE *Unlock2D)( + IMF2DBuffer *This); + + HRESULT (STDMETHODCALLTYPE *GetScanline0AndPitch)( + IMF2DBuffer *This, + BYTE **pbScanline0, + LONG *plPitch); + + HRESULT (STDMETHODCALLTYPE *IsContiguousFormat)( + IMF2DBuffer *This, + BOOL *pfIsContiguous); + + HRESULT (STDMETHODCALLTYPE *GetContiguousLength)( + IMF2DBuffer *This, + DWORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *ContiguousCopyTo)( + IMF2DBuffer *This, + BYTE *pbDestBuffer, + DWORD cbDestBuffer); + + HRESULT (STDMETHODCALLTYPE *ContiguousCopyFrom)( + IMF2DBuffer *This, + const BYTE *pbSrcBuffer, + DWORD cbSrcBuffer); + + END_INTERFACE +} IMF2DBufferVtbl; + +interface IMF2DBuffer { + CONST_VTBL IMF2DBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMF2DBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMF2DBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMF2DBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IMF2DBuffer methods ***/ +#define IMF2DBuffer_Lock2D(This,pbScanline0,plPitch) (This)->lpVtbl->Lock2D(This,pbScanline0,plPitch) +#define IMF2DBuffer_Unlock2D(This) (This)->lpVtbl->Unlock2D(This) +#define IMF2DBuffer_GetScanline0AndPitch(This,pbScanline0,plPitch) (This)->lpVtbl->GetScanline0AndPitch(This,pbScanline0,plPitch) +#define IMF2DBuffer_IsContiguousFormat(This,pfIsContiguous) (This)->lpVtbl->IsContiguousFormat(This,pfIsContiguous) +#define IMF2DBuffer_GetContiguousLength(This,pcbLength) (This)->lpVtbl->GetContiguousLength(This,pcbLength) +#define IMF2DBuffer_ContiguousCopyTo(This,pbDestBuffer,cbDestBuffer) (This)->lpVtbl->ContiguousCopyTo(This,pbDestBuffer,cbDestBuffer) +#define IMF2DBuffer_ContiguousCopyFrom(This,pbSrcBuffer,cbSrcBuffer) (This)->lpVtbl->ContiguousCopyFrom(This,pbSrcBuffer,cbSrcBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMF2DBuffer_QueryInterface(IMF2DBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMF2DBuffer_AddRef(IMF2DBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMF2DBuffer_Release(IMF2DBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IMF2DBuffer methods ***/ +static FORCEINLINE HRESULT IMF2DBuffer_Lock2D(IMF2DBuffer* This,BYTE **pbScanline0,LONG *plPitch) { + return This->lpVtbl->Lock2D(This,pbScanline0,plPitch); +} +static FORCEINLINE HRESULT IMF2DBuffer_Unlock2D(IMF2DBuffer* This) { + return This->lpVtbl->Unlock2D(This); +} +static FORCEINLINE HRESULT IMF2DBuffer_GetScanline0AndPitch(IMF2DBuffer* This,BYTE **pbScanline0,LONG *plPitch) { + return This->lpVtbl->GetScanline0AndPitch(This,pbScanline0,plPitch); +} +static FORCEINLINE HRESULT IMF2DBuffer_IsContiguousFormat(IMF2DBuffer* This,BOOL *pfIsContiguous) { + return This->lpVtbl->IsContiguousFormat(This,pfIsContiguous); +} +static FORCEINLINE HRESULT IMF2DBuffer_GetContiguousLength(IMF2DBuffer* This,DWORD *pcbLength) { + return This->lpVtbl->GetContiguousLength(This,pcbLength); +} +static FORCEINLINE HRESULT IMF2DBuffer_ContiguousCopyTo(IMF2DBuffer* This,BYTE *pbDestBuffer,DWORD cbDestBuffer) { + return This->lpVtbl->ContiguousCopyTo(This,pbDestBuffer,cbDestBuffer); +} +static FORCEINLINE HRESULT IMF2DBuffer_ContiguousCopyFrom(IMF2DBuffer* This,const BYTE *pbSrcBuffer,DWORD cbSrcBuffer) { + return This->lpVtbl->ContiguousCopyFrom(This,pbSrcBuffer,cbSrcBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IMF2DBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFMediaType interface + */ +#ifndef __IMFMediaType_INTERFACE_DEFINED__ +#define __IMFMediaType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaType, 0x44ae0fa8, 0xea31, 0x4109, 0x8d,0x2e, 0x4c,0xae,0x49,0x97,0xc5,0x55); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("44ae0fa8-ea31-4109-8d2e-4cae4997c555") +IMFMediaType : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE GetMajorType( + GUID *pguidMajorType) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsCompressedFormat( + BOOL *pfCompressed) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + IMFMediaType *pIMediaType, + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRepresentation( + GUID guidRepresentation, + LPVOID *ppvRepresentation) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeRepresentation( + GUID guidRepresentation, + LPVOID pvRepresentation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaType, 0x44ae0fa8, 0xea31, 0x4109, 0x8d,0x2e, 0x4c,0xae,0x49,0x97,0xc5,0x55) +#endif +#else +typedef struct IMFMediaTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaType *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFMediaType *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFMediaType *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFMediaType *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFMediaType *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFMediaType *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFMediaType *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFMediaType *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFMediaType *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFMediaType *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFMediaType *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFMediaType *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFMediaType *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFMediaType *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFMediaType *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFMediaType *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFMediaType *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFMediaType *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFMediaType *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFMediaType *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFMediaType *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFMediaType *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFMediaType *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFMediaType *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFMediaType *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFMediaType *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFMediaType *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFMediaType *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFMediaType *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFMediaType *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFMediaType *This, + IMFAttributes *pDest); + + /*** IMFMediaType methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMajorType)( + IMFMediaType *This, + GUID *pguidMajorType); + + HRESULT (STDMETHODCALLTYPE *IsCompressedFormat)( + IMFMediaType *This, + BOOL *pfCompressed); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IMFMediaType *This, + IMFMediaType *pIMediaType, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *GetRepresentation)( + IMFMediaType *This, + GUID guidRepresentation, + LPVOID *ppvRepresentation); + + HRESULT (STDMETHODCALLTYPE *FreeRepresentation)( + IMFMediaType *This, + GUID guidRepresentation, + LPVOID pvRepresentation); + + END_INTERFACE +} IMFMediaTypeVtbl; + +interface IMFMediaType { + CONST_VTBL IMFMediaTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaType_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFMediaType_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFMediaType_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFMediaType_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFMediaType_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFMediaType_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFMediaType_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFMediaType_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFMediaType_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFMediaType_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFMediaType_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFMediaType_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFMediaType_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFMediaType_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFMediaType_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFMediaType_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFMediaType_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFMediaType_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFMediaType_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFMediaType_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFMediaType_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFMediaType_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFMediaType_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFMediaType_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFMediaType_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFMediaType_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFMediaType_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFMediaType_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFMediaType_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFMediaType_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFMediaType_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFMediaType methods ***/ +#define IMFMediaType_GetMajorType(This,pguidMajorType) (This)->lpVtbl->GetMajorType(This,pguidMajorType) +#define IMFMediaType_IsCompressedFormat(This,pfCompressed) (This)->lpVtbl->IsCompressedFormat(This,pfCompressed) +#define IMFMediaType_IsEqual(This,pIMediaType,pdwFlags) (This)->lpVtbl->IsEqual(This,pIMediaType,pdwFlags) +#define IMFMediaType_GetRepresentation(This,guidRepresentation,ppvRepresentation) (This)->lpVtbl->GetRepresentation(This,guidRepresentation,ppvRepresentation) +#define IMFMediaType_FreeRepresentation(This,guidRepresentation,pvRepresentation) (This)->lpVtbl->FreeRepresentation(This,guidRepresentation,pvRepresentation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaType_QueryInterface(IMFMediaType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaType_AddRef(IMFMediaType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaType_Release(IMFMediaType* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFMediaType_GetItem(IMFMediaType* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFMediaType_GetItemType(IMFMediaType* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFMediaType_CompareItem(IMFMediaType* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFMediaType_Compare(IMFMediaType* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFMediaType_GetUINT32(IMFMediaType* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFMediaType_GetUINT64(IMFMediaType* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFMediaType_GetDouble(IMFMediaType* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFMediaType_GetGUID(IMFMediaType* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFMediaType_GetStringLength(IMFMediaType* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFMediaType_GetString(IMFMediaType* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFMediaType_GetAllocatedString(IMFMediaType* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFMediaType_GetBlobSize(IMFMediaType* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFMediaType_GetBlob(IMFMediaType* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFMediaType_GetAllocatedBlob(IMFMediaType* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFMediaType_GetUnknown(IMFMediaType* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFMediaType_SetItem(IMFMediaType* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFMediaType_DeleteItem(IMFMediaType* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFMediaType_DeleteAllItems(IMFMediaType* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFMediaType_SetUINT32(IMFMediaType* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFMediaType_SetUINT64(IMFMediaType* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFMediaType_SetDouble(IMFMediaType* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFMediaType_SetGUID(IMFMediaType* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFMediaType_SetString(IMFMediaType* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFMediaType_SetBlob(IMFMediaType* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFMediaType_SetUnknown(IMFMediaType* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFMediaType_LockStore(IMFMediaType* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFMediaType_UnlockStore(IMFMediaType* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFMediaType_GetCount(IMFMediaType* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFMediaType_GetItemByIndex(IMFMediaType* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFMediaType_CopyAllItems(IMFMediaType* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFMediaType methods ***/ +static FORCEINLINE HRESULT IMFMediaType_GetMajorType(IMFMediaType* This,GUID *pguidMajorType) { + return This->lpVtbl->GetMajorType(This,pguidMajorType); +} +static FORCEINLINE HRESULT IMFMediaType_IsCompressedFormat(IMFMediaType* This,BOOL *pfCompressed) { + return This->lpVtbl->IsCompressedFormat(This,pfCompressed); +} +static FORCEINLINE HRESULT IMFMediaType_IsEqual(IMFMediaType* This,IMFMediaType *pIMediaType,DWORD *pdwFlags) { + return This->lpVtbl->IsEqual(This,pIMediaType,pdwFlags); +} +static FORCEINLINE HRESULT IMFMediaType_GetRepresentation(IMFMediaType* This,GUID guidRepresentation,LPVOID *ppvRepresentation) { + return This->lpVtbl->GetRepresentation(This,guidRepresentation,ppvRepresentation); +} +static FORCEINLINE HRESULT IMFMediaType_FreeRepresentation(IMFMediaType* This,GUID guidRepresentation,LPVOID pvRepresentation) { + return This->lpVtbl->FreeRepresentation(This,guidRepresentation,pvRepresentation); +} +#endif +#endif + +#endif + + +#endif /* __IMFMediaType_INTERFACE_DEFINED__ */ + +#define MF_MEDIATYPE_EQUAL_MAJOR_TYPES 0x00000001 +#define MF_MEDIATYPE_EQUAL_FORMAT_TYPES 0x00000002 +#define MF_MEDIATYPE_EQUAL_FORMAT_DATA 0x00000004 +#define MF_MEDIATYPE_EQUAL_FORMAT_USER_DATA 0x00000008 +/***************************************************************************** + * IMFAudioMediaType interface + */ +#ifndef __IMFAudioMediaType_INTERFACE_DEFINED__ +#define __IMFAudioMediaType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFAudioMediaType, 0x26a0adc3, 0xce26, 0x4672, 0x93,0x04, 0x69,0x55,0x2e,0xdd,0x3f,0xaf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("26a0adc3-ce26-4672-9304-69552edd3faf") +IMFAudioMediaType : public IMFMediaType +{ + virtual const WAVEFORMATEX * STDMETHODCALLTYPE GetAudioFormat( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFAudioMediaType, 0x26a0adc3, 0xce26, 0x4672, 0x93,0x04, 0x69,0x55,0x2e,0xdd,0x3f,0xaf) +#endif +#else +typedef struct IMFAudioMediaTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFAudioMediaType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFAudioMediaType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFAudioMediaType *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFAudioMediaType *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFAudioMediaType *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFAudioMediaType *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFAudioMediaType *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFAudioMediaType *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFAudioMediaType *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFAudioMediaType *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFAudioMediaType *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFAudioMediaType *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFAudioMediaType *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFAudioMediaType *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFAudioMediaType *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFAudioMediaType *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFAudioMediaType *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFAudioMediaType *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFAudioMediaType *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFAudioMediaType *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFAudioMediaType *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFAudioMediaType *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFAudioMediaType *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFAudioMediaType *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFAudioMediaType *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFAudioMediaType *This, + IMFAttributes *pDest); + + /*** IMFMediaType methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMajorType)( + IMFAudioMediaType *This, + GUID *pguidMajorType); + + HRESULT (STDMETHODCALLTYPE *IsCompressedFormat)( + IMFAudioMediaType *This, + BOOL *pfCompressed); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IMFAudioMediaType *This, + IMFMediaType *pIMediaType, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *GetRepresentation)( + IMFAudioMediaType *This, + GUID guidRepresentation, + LPVOID *ppvRepresentation); + + HRESULT (STDMETHODCALLTYPE *FreeRepresentation)( + IMFAudioMediaType *This, + GUID guidRepresentation, + LPVOID pvRepresentation); + + /*** IMFAudioMediaType methods ***/ + const WAVEFORMATEX * (STDMETHODCALLTYPE *GetAudioFormat)( + IMFAudioMediaType *This); + + END_INTERFACE +} IMFAudioMediaTypeVtbl; + +interface IMFAudioMediaType { + CONST_VTBL IMFAudioMediaTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFAudioMediaType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFAudioMediaType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFAudioMediaType_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFAudioMediaType_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFAudioMediaType_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFAudioMediaType_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFAudioMediaType_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFAudioMediaType_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFAudioMediaType_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFAudioMediaType_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFAudioMediaType_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFAudioMediaType_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFAudioMediaType_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFAudioMediaType_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFAudioMediaType_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFAudioMediaType_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFAudioMediaType_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFAudioMediaType_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFAudioMediaType_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFAudioMediaType_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFAudioMediaType_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFAudioMediaType_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFAudioMediaType_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFAudioMediaType_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFAudioMediaType_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFAudioMediaType_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFAudioMediaType_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFAudioMediaType_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFAudioMediaType_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFAudioMediaType_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFAudioMediaType_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFAudioMediaType_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFAudioMediaType_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFMediaType methods ***/ +#define IMFAudioMediaType_GetMajorType(This,pguidMajorType) (This)->lpVtbl->GetMajorType(This,pguidMajorType) +#define IMFAudioMediaType_IsCompressedFormat(This,pfCompressed) (This)->lpVtbl->IsCompressedFormat(This,pfCompressed) +#define IMFAudioMediaType_IsEqual(This,pIMediaType,pdwFlags) (This)->lpVtbl->IsEqual(This,pIMediaType,pdwFlags) +#define IMFAudioMediaType_GetRepresentation(This,guidRepresentation,ppvRepresentation) (This)->lpVtbl->GetRepresentation(This,guidRepresentation,ppvRepresentation) +#define IMFAudioMediaType_FreeRepresentation(This,guidRepresentation,pvRepresentation) (This)->lpVtbl->FreeRepresentation(This,guidRepresentation,pvRepresentation) +/*** IMFAudioMediaType methods ***/ +#define IMFAudioMediaType_GetAudioFormat(This) (This)->lpVtbl->GetAudioFormat(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFAudioMediaType_QueryInterface(IMFAudioMediaType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFAudioMediaType_AddRef(IMFAudioMediaType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFAudioMediaType_Release(IMFAudioMediaType* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFAudioMediaType_GetItem(IMFAudioMediaType* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetItemType(IMFAudioMediaType* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFAudioMediaType_CompareItem(IMFAudioMediaType* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFAudioMediaType_Compare(IMFAudioMediaType* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetUINT32(IMFAudioMediaType* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetUINT64(IMFAudioMediaType* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetDouble(IMFAudioMediaType* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetGUID(IMFAudioMediaType* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetStringLength(IMFAudioMediaType* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetString(IMFAudioMediaType* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetAllocatedString(IMFAudioMediaType* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetBlobSize(IMFAudioMediaType* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetBlob(IMFAudioMediaType* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetAllocatedBlob(IMFAudioMediaType* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetUnknown(IMFAudioMediaType* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetItem(IMFAudioMediaType* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFAudioMediaType_DeleteItem(IMFAudioMediaType* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFAudioMediaType_DeleteAllItems(IMFAudioMediaType* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetUINT32(IMFAudioMediaType* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetUINT64(IMFAudioMediaType* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetDouble(IMFAudioMediaType* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetGUID(IMFAudioMediaType* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetString(IMFAudioMediaType* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetBlob(IMFAudioMediaType* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFAudioMediaType_SetUnknown(IMFAudioMediaType* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFAudioMediaType_LockStore(IMFAudioMediaType* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFAudioMediaType_UnlockStore(IMFAudioMediaType* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetCount(IMFAudioMediaType* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetItemByIndex(IMFAudioMediaType* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFAudioMediaType_CopyAllItems(IMFAudioMediaType* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFMediaType methods ***/ +static FORCEINLINE HRESULT IMFAudioMediaType_GetMajorType(IMFAudioMediaType* This,GUID *pguidMajorType) { + return This->lpVtbl->GetMajorType(This,pguidMajorType); +} +static FORCEINLINE HRESULT IMFAudioMediaType_IsCompressedFormat(IMFAudioMediaType* This,BOOL *pfCompressed) { + return This->lpVtbl->IsCompressedFormat(This,pfCompressed); +} +static FORCEINLINE HRESULT IMFAudioMediaType_IsEqual(IMFAudioMediaType* This,IMFMediaType *pIMediaType,DWORD *pdwFlags) { + return This->lpVtbl->IsEqual(This,pIMediaType,pdwFlags); +} +static FORCEINLINE HRESULT IMFAudioMediaType_GetRepresentation(IMFAudioMediaType* This,GUID guidRepresentation,LPVOID *ppvRepresentation) { + return This->lpVtbl->GetRepresentation(This,guidRepresentation,ppvRepresentation); +} +static FORCEINLINE HRESULT IMFAudioMediaType_FreeRepresentation(IMFAudioMediaType* This,GUID guidRepresentation,LPVOID pvRepresentation) { + return This->lpVtbl->FreeRepresentation(This,guidRepresentation,pvRepresentation); +} +/*** IMFAudioMediaType methods ***/ +static FORCEINLINE const WAVEFORMATEX * IMFAudioMediaType_GetAudioFormat(IMFAudioMediaType* This) { + return This->lpVtbl->GetAudioFormat(This); +} +#endif +#endif + +#endif + + +#endif /* __IMFAudioMediaType_INTERFACE_DEFINED__ */ + +typedef struct __WIDL_mfobjects_generated_name_0000001D { + GUID guidMajorType; + GUID guidSubtype; +} MFT_REGISTER_TYPE_INFO; +typedef enum _MFVideoFlags { + MFVideoFlag_PAD_TO_Mask = 0x3, + MFVideoFlag_PAD_TO_None = 0, + MFVideoFlag_PAD_TO_4x3 = 0x1, + MFVideoFlag_PAD_TO_16x9 = 0x2, + MFVideoFlag_SrcContentHintMask = 0x1c, + MFVideoFlag_SrcContentHintNone = 0, + MFVideoFlag_SrcContentHint16x9 = 0x4, + MFVideoFlag_SrcContentHint235_1 = 0x8, + MFVideoFlag_AnalogProtected = 0x20, + MFVideoFlag_DigitallyProtected = 0x40, + MFVideoFlag_ProgressiveContent = 0x80, + MFVideoFlag_FieldRepeatCountMask = 0x700, + MFVideoFlag_FieldRepeatCountShift = 8, + MFVideoFlag_ProgressiveSeqReset = 0x800, + MFVideoFlag_PanScanEnabled = 0x20000, + MFVideoFlag_LowerFieldFirst = 0x40000, + MFVideoFlag_BottomUpLinearRep = 0x80000, + MFVideoFlags_DXVASurface = 0x100000, + MFVideoFlags_RenderTargetSurface = 0x400000, + MFVideoFlags_ForceQWORD = 0x7fffffff +} MFVideoFlags; +typedef struct _MFRatio { + DWORD Numerator; + DWORD Denominator; +} MFRatio; +typedef struct _MFOffset { + WORD fract; + short value; +} MFOffset; +typedef struct _MFVideoArea { + MFOffset OffsetX; + MFOffset OffsetY; + SIZE Area; +} MFVideoArea; +typedef enum _MFVideoChromaSubsampling { + MFVideoChromaSubsampling_Unknown = 0, + MFVideoChromaSubsampling_ProgressiveChroma = 0x8, + MFVideoChromaSubsampling_Horizontally_Cosited = 0x4, + MFVideoChromaSubsampling_Vertically_Cosited = 0x2, + MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes = 0x1, + MFVideoChromaSubsampling_MPEG2 = MFVideoChromaSubsampling_Horizontally_Cosited | MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes, + MFVideoChromaSubsampling_MPEG1 = MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes, + MFVideoChromaSubsampling_DV_PAL = MFVideoChromaSubsampling_Horizontally_Cosited | MFVideoChromaSubsampling_Vertically_Cosited, + MFVideoChromaSubsampling_Cosited = (MFVideoChromaSubsampling_Horizontally_Cosited | MFVideoChromaSubsampling_Vertically_Cosited) | MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes, + MFVideoChromaSubsampling_Last = MFVideoChromaSubsampling_Cosited + 1, + MFVideoChromaSubsampling_ForceDWORD = 0x7fffffff +} MFVideoChromaSubsampling; +typedef enum _MFVideoInterlaceMode { + MFVideoInterlace_Unknown = 0, + MFVideoInterlace_Progressive = 2, + MFVideoInterlace_FieldInterleavedUpperFirst = 3, + MFVideoInterlace_FieldInterleavedLowerFirst = 4, + MFVideoInterlace_FieldSingleUpper = 5, + MFVideoInterlace_FieldSingleLower = 6, + MFVideoInterlace_MixedInterlaceOrProgressive = 7, + MFVideoInterlace_Last = 8, + MFVideoInterlace_ForceDWORD = 0x7fffffff +} MFVideoInterlaceMode; +typedef enum _MFVideoTransferFunction { + MFVideoTransFunc_Unknown = 0, + MFVideoTransFunc_10 = 1, + MFVideoTransFunc_18 = 2, + MFVideoTransFunc_20 = 3, + MFVideoTransFunc_22 = 4, + MFVideoTransFunc_709 = 5, + MFVideoTransFunc_240M = 6, + MFVideoTransFunc_sRGB = 7, + MFVideoTransFunc_28 = 8, + MFVideoTransFunc_Log_100 = 9, + MFVideoTransFunc_Log_316 = 10, + MFVideoTransFunc_709_sym = 11, + MFVideoTransFunc_Last = 12, + MFVideoTransFunc_ForceDWORD = 0x7fffffff +} MFVideoTransferFunction; +typedef enum _MFVideoTransferMatrix { + MFVideoTransferMatrix_Unknown = 0, + MFVideoTransferMatrix_BT709 = 1, + MFVideoTransferMatrix_BT601 = 2, + MFVideoTransferMatrix_SMPTE240M = 3, + MFVideoTransferMatrix_Last = 4, + MFVideoTransferMatrix_ForceDWORD = 0x7fffffff +} MFVideoTransferMatrix; +typedef enum _MFVideoPrimaries { + MFVideoPrimaries_Unknown = 0, + MFVideoPrimaries_reserved = 1, + MFVideoPrimaries_BT709 = 2, + MFVideoPrimaries_BT470_2_SysM = 3, + MFVideoPrimaries_BT470_2_SysBG = 4, + MFVideoPrimaries_SMPTE170M = 5, + MFVideoPrimaries_SMPTE240M = 6, + MFVideoPrimaries_EBU3213 = 7, + MFVideoPrimaries_SMPTE_C = 8, + MFVideoPrimaries_Last = 9, + MFVideoPrimaries_ForceDWORD = 0x7fffffff +} MFVideoPrimaries; +typedef enum _MFVideoLighting { + MFVideoLighting_Unknown = 0, + MFVideoLighting_bright = 1, + MFVideoLighting_office = 2, + MFVideoLighting_dim = 3, + MFVideoLighting_dark = 4, + MFVideoLighting_Last = 5, + MFVideoLighting_ForceDWORD = 0x7fffffff +} MFVideoLighting; +typedef enum _MFNominalRange { + MFNominalRange_Unknown = 0, + MFNominalRange_Normal = 1, + MFNominalRange_Wide = 2, + MFNominalRange_0_255 = 1, + MFNominalRange_16_235 = 2, + MFNominalRange_48_208 = 3, + MFNominalRange_64_127 = 4 +} MFNominalRange; +typedef struct _MFVideoInfo { + DWORD dwWidth; + DWORD dwHeight; + MFRatio PixelAspectRatio; + MFVideoChromaSubsampling SourceChromaSubsampling; + MFVideoInterlaceMode InterlaceMode; + MFVideoTransferFunction TransferFunction; + MFVideoPrimaries ColorPrimaries; + MFVideoTransferMatrix TransferMatrix; + MFVideoLighting SourceLighting; + MFRatio FramesPerSecond; + MFNominalRange NominalRange; + MFVideoArea GeometricAperture; + MFVideoArea MinimumDisplayAperture; + MFVideoArea PanScanAperture; + UINT64 VideoFlags; +} MFVideoInfo; +typedef struct _MFVideoCompressedInfo { + LONGLONG AvgBitrate; + LONGLONG AvgBitErrorRate; + DWORD MaxKeyFrameSpacing; +} MFVideoCompressedInfo; +typedef struct _MFARGB { + BYTE rgbBlue; + BYTE rgbGreen; + BYTE rgbRed; + BYTE rgbAlpha; +} MFARGB; +typedef struct __MFAYUVSample { + BYTE bCrValue; + BYTE bCbValue; + BYTE bYValue; + BYTE bSampleAlpha8; +} MFAYUVSample; +typedef union _MFPaletteEntry { + MFARGB ARGB; + MFAYUVSample AYCbCr; +} MFPaletteEntry; +typedef struct _MFVideoSurfaceInfo { + DWORD Format; + DWORD PaletteEntries; + MFPaletteEntry Palette[1]; +} MFVideoSurfaceInfo; +typedef struct _MFVIDEOFORMAT { + DWORD dwSize; + MFVideoInfo videoInfo; + GUID guidFormat; + MFVideoCompressedInfo compressedInfo; + MFVideoSurfaceInfo surfaceInfo; +} MFVIDEOFORMAT; +typedef enum _MFStandardVideoFormat { + MFStdVideoFormat_reserved = 0, + MFStdVideoFormat_NTSC = 1, + MFStdVideoFormat_PAL = 2, + MFStdVideoFormat_DVD_NTSC = 3, + MFStdVideoFormat_DVD_PAL = 4, + MFStdVideoFormat_DV_PAL = 5, + MFStdVideoFormat_DV_NTSC = 6, + MFStdVideoFormat_ATSC_SD480i = 7, + MFStdVideoFormat_ATSC_HD1080i = 8, + MFStdVideoFormat_ATSC_HD720p = 9 +} MFStandardVideoFormat; +/***************************************************************************** + * IMFVideoMediaType interface + */ +#ifndef __IMFVideoMediaType_INTERFACE_DEFINED__ +#define __IMFVideoMediaType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFVideoMediaType, 0xb99f381f, 0xa8f9, 0x47a2, 0xa5,0xaf, 0xca,0x3a,0x22,0x5a,0x38,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b99f381f-a8f9-47a2-a5af-ca3a225a3890") +IMFVideoMediaType : public IMFMediaType +{ + virtual const MFVIDEOFORMAT * STDMETHODCALLTYPE GetVideoFormat( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoRepresentation( + GUID guidRepresentation, + LPVOID *ppvRepresentation, + LONG lStride) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFVideoMediaType, 0xb99f381f, 0xa8f9, 0x47a2, 0xa5,0xaf, 0xca,0x3a,0x22,0x5a,0x38,0x90) +#endif +#else +typedef struct IMFVideoMediaTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFVideoMediaType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFVideoMediaType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFVideoMediaType *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFVideoMediaType *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFVideoMediaType *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFVideoMediaType *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFVideoMediaType *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFVideoMediaType *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFVideoMediaType *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFVideoMediaType *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFVideoMediaType *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFVideoMediaType *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFVideoMediaType *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFVideoMediaType *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFVideoMediaType *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFVideoMediaType *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFVideoMediaType *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFVideoMediaType *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFVideoMediaType *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFVideoMediaType *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFVideoMediaType *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFVideoMediaType *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFVideoMediaType *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFVideoMediaType *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFVideoMediaType *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFVideoMediaType *This, + IMFAttributes *pDest); + + /*** IMFMediaType methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMajorType)( + IMFVideoMediaType *This, + GUID *pguidMajorType); + + HRESULT (STDMETHODCALLTYPE *IsCompressedFormat)( + IMFVideoMediaType *This, + BOOL *pfCompressed); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IMFVideoMediaType *This, + IMFMediaType *pIMediaType, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *GetRepresentation)( + IMFVideoMediaType *This, + GUID guidRepresentation, + LPVOID *ppvRepresentation); + + HRESULT (STDMETHODCALLTYPE *FreeRepresentation)( + IMFVideoMediaType *This, + GUID guidRepresentation, + LPVOID pvRepresentation); + + /*** IMFVideoMediaType methods ***/ + const MFVIDEOFORMAT * (STDMETHODCALLTYPE *GetVideoFormat)( + IMFVideoMediaType *This); + + HRESULT (STDMETHODCALLTYPE *GetVideoRepresentation)( + IMFVideoMediaType *This, + GUID guidRepresentation, + LPVOID *ppvRepresentation, + LONG lStride); + + END_INTERFACE +} IMFVideoMediaTypeVtbl; + +interface IMFVideoMediaType { + CONST_VTBL IMFVideoMediaTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFVideoMediaType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFVideoMediaType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFVideoMediaType_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFVideoMediaType_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFVideoMediaType_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFVideoMediaType_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFVideoMediaType_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFVideoMediaType_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFVideoMediaType_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFVideoMediaType_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFVideoMediaType_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFVideoMediaType_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFVideoMediaType_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFVideoMediaType_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFVideoMediaType_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFVideoMediaType_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFVideoMediaType_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFVideoMediaType_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFVideoMediaType_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFVideoMediaType_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFVideoMediaType_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFVideoMediaType_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFVideoMediaType_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFVideoMediaType_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFVideoMediaType_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFVideoMediaType_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFVideoMediaType_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFVideoMediaType_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFVideoMediaType_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFVideoMediaType_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFVideoMediaType_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFVideoMediaType_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFVideoMediaType_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFMediaType methods ***/ +#define IMFVideoMediaType_GetMajorType(This,pguidMajorType) (This)->lpVtbl->GetMajorType(This,pguidMajorType) +#define IMFVideoMediaType_IsCompressedFormat(This,pfCompressed) (This)->lpVtbl->IsCompressedFormat(This,pfCompressed) +#define IMFVideoMediaType_IsEqual(This,pIMediaType,pdwFlags) (This)->lpVtbl->IsEqual(This,pIMediaType,pdwFlags) +#define IMFVideoMediaType_GetRepresentation(This,guidRepresentation,ppvRepresentation) (This)->lpVtbl->GetRepresentation(This,guidRepresentation,ppvRepresentation) +#define IMFVideoMediaType_FreeRepresentation(This,guidRepresentation,pvRepresentation) (This)->lpVtbl->FreeRepresentation(This,guidRepresentation,pvRepresentation) +/*** IMFVideoMediaType methods ***/ +#define IMFVideoMediaType_GetVideoFormat(This) (This)->lpVtbl->GetVideoFormat(This) +#define IMFVideoMediaType_GetVideoRepresentation(This,guidRepresentation,ppvRepresentation,lStride) (This)->lpVtbl->GetVideoRepresentation(This,guidRepresentation,ppvRepresentation,lStride) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFVideoMediaType_QueryInterface(IMFVideoMediaType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFVideoMediaType_AddRef(IMFVideoMediaType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFVideoMediaType_Release(IMFVideoMediaType* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFVideoMediaType_GetItem(IMFVideoMediaType* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetItemType(IMFVideoMediaType* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFVideoMediaType_CompareItem(IMFVideoMediaType* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFVideoMediaType_Compare(IMFVideoMediaType* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetUINT32(IMFVideoMediaType* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetUINT64(IMFVideoMediaType* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetDouble(IMFVideoMediaType* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetGUID(IMFVideoMediaType* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetStringLength(IMFVideoMediaType* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetString(IMFVideoMediaType* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetAllocatedString(IMFVideoMediaType* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetBlobSize(IMFVideoMediaType* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetBlob(IMFVideoMediaType* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetAllocatedBlob(IMFVideoMediaType* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetUnknown(IMFVideoMediaType* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetItem(IMFVideoMediaType* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFVideoMediaType_DeleteItem(IMFVideoMediaType* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFVideoMediaType_DeleteAllItems(IMFVideoMediaType* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetUINT32(IMFVideoMediaType* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetUINT64(IMFVideoMediaType* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetDouble(IMFVideoMediaType* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetGUID(IMFVideoMediaType* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetString(IMFVideoMediaType* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetBlob(IMFVideoMediaType* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFVideoMediaType_SetUnknown(IMFVideoMediaType* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFVideoMediaType_LockStore(IMFVideoMediaType* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFVideoMediaType_UnlockStore(IMFVideoMediaType* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetCount(IMFVideoMediaType* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetItemByIndex(IMFVideoMediaType* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFVideoMediaType_CopyAllItems(IMFVideoMediaType* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFMediaType methods ***/ +static FORCEINLINE HRESULT IMFVideoMediaType_GetMajorType(IMFVideoMediaType* This,GUID *pguidMajorType) { + return This->lpVtbl->GetMajorType(This,pguidMajorType); +} +static FORCEINLINE HRESULT IMFVideoMediaType_IsCompressedFormat(IMFVideoMediaType* This,BOOL *pfCompressed) { + return This->lpVtbl->IsCompressedFormat(This,pfCompressed); +} +static FORCEINLINE HRESULT IMFVideoMediaType_IsEqual(IMFVideoMediaType* This,IMFMediaType *pIMediaType,DWORD *pdwFlags) { + return This->lpVtbl->IsEqual(This,pIMediaType,pdwFlags); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetRepresentation(IMFVideoMediaType* This,GUID guidRepresentation,LPVOID *ppvRepresentation) { + return This->lpVtbl->GetRepresentation(This,guidRepresentation,ppvRepresentation); +} +static FORCEINLINE HRESULT IMFVideoMediaType_FreeRepresentation(IMFVideoMediaType* This,GUID guidRepresentation,LPVOID pvRepresentation) { + return This->lpVtbl->FreeRepresentation(This,guidRepresentation,pvRepresentation); +} +/*** IMFVideoMediaType methods ***/ +static FORCEINLINE const MFVIDEOFORMAT * IMFVideoMediaType_GetVideoFormat(IMFVideoMediaType* This) { + return This->lpVtbl->GetVideoFormat(This); +} +static FORCEINLINE HRESULT IMFVideoMediaType_GetVideoRepresentation(IMFVideoMediaType* This,GUID guidRepresentation,LPVOID *ppvRepresentation,LONG lStride) { + return This->lpVtbl->GetVideoRepresentation(This,guidRepresentation,ppvRepresentation,lStride); +} +#endif +#endif + +#endif + + +#endif /* __IMFVideoMediaType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFAsyncResult interface + */ +#ifndef __IMFAsyncResult_INTERFACE_DEFINED__ +#define __IMFAsyncResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFAsyncResult, 0xac6b7889, 0x0740, 0x4d51, 0x86,0x19, 0x90,0x59,0x94,0xa5,0x5c,0xc6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ac6b7889-0740-4d51-8619-905994a55cc6") +IMFAsyncResult : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetState( + IUnknown **ppunkState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStatus( + HRESULT hrStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + IUnknown **ppObject) = 0; + + virtual IUnknown * STDMETHODCALLTYPE GetStateNoAddRef( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFAsyncResult, 0xac6b7889, 0x0740, 0x4d51, 0x86,0x19, 0x90,0x59,0x94,0xa5,0x5c,0xc6) +#endif +#else +typedef struct IMFAsyncResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFAsyncResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFAsyncResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFAsyncResult *This); + + /*** IMFAsyncResult methods ***/ + HRESULT (STDMETHODCALLTYPE *GetState)( + IMFAsyncResult *This, + IUnknown **ppunkState); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IMFAsyncResult *This); + + HRESULT (STDMETHODCALLTYPE *SetStatus)( + IMFAsyncResult *This, + HRESULT hrStatus); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IMFAsyncResult *This, + IUnknown **ppObject); + + IUnknown * (STDMETHODCALLTYPE *GetStateNoAddRef)( + IMFAsyncResult *This); + + END_INTERFACE +} IMFAsyncResultVtbl; + +interface IMFAsyncResult { + CONST_VTBL IMFAsyncResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFAsyncResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFAsyncResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFAsyncResult_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAsyncResult methods ***/ +#define IMFAsyncResult_GetState(This,ppunkState) (This)->lpVtbl->GetState(This,ppunkState) +#define IMFAsyncResult_GetStatus(This) (This)->lpVtbl->GetStatus(This) +#define IMFAsyncResult_SetStatus(This,hrStatus) (This)->lpVtbl->SetStatus(This,hrStatus) +#define IMFAsyncResult_GetObject(This,ppObject) (This)->lpVtbl->GetObject(This,ppObject) +#define IMFAsyncResult_GetStateNoAddRef(This) (This)->lpVtbl->GetStateNoAddRef(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFAsyncResult_QueryInterface(IMFAsyncResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFAsyncResult_AddRef(IMFAsyncResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFAsyncResult_Release(IMFAsyncResult* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAsyncResult methods ***/ +static FORCEINLINE HRESULT IMFAsyncResult_GetState(IMFAsyncResult* This,IUnknown **ppunkState) { + return This->lpVtbl->GetState(This,ppunkState); +} +static FORCEINLINE HRESULT IMFAsyncResult_GetStatus(IMFAsyncResult* This) { + return This->lpVtbl->GetStatus(This); +} +static FORCEINLINE HRESULT IMFAsyncResult_SetStatus(IMFAsyncResult* This,HRESULT hrStatus) { + return This->lpVtbl->SetStatus(This,hrStatus); +} +static FORCEINLINE HRESULT IMFAsyncResult_GetObject(IMFAsyncResult* This,IUnknown **ppObject) { + return This->lpVtbl->GetObject(This,ppObject); +} +static FORCEINLINE IUnknown * IMFAsyncResult_GetStateNoAddRef(IMFAsyncResult* This) { + return This->lpVtbl->GetStateNoAddRef(This); +} +#endif +#endif + +#endif + + +#endif /* __IMFAsyncResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFAsyncCallback interface + */ +#ifndef __IMFAsyncCallback_INTERFACE_DEFINED__ +#define __IMFAsyncCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFAsyncCallback, 0xa27003cf, 0x2354, 0x4f2a, 0x8d,0x6a, 0xab,0x7c,0xff,0x15,0x43,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a27003cf-2354-4f2a-8d6a-ab7cff15437e") +IMFAsyncCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetParameters( + DWORD *pdwFlags, + DWORD *pdwQueue) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invoke( + IMFAsyncResult *pAsyncResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFAsyncCallback, 0xa27003cf, 0x2354, 0x4f2a, 0x8d,0x6a, 0xab,0x7c,0xff,0x15,0x43,0x7e) +#endif +#else +typedef struct IMFAsyncCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFAsyncCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFAsyncCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFAsyncCallback *This); + + /*** IMFAsyncCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *GetParameters)( + IMFAsyncCallback *This, + DWORD *pdwFlags, + DWORD *pdwQueue); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMFAsyncCallback *This, + IMFAsyncResult *pAsyncResult); + + END_INTERFACE +} IMFAsyncCallbackVtbl; + +interface IMFAsyncCallback { + CONST_VTBL IMFAsyncCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFAsyncCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFAsyncCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFAsyncCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAsyncCallback methods ***/ +#define IMFAsyncCallback_GetParameters(This,pdwFlags,pdwQueue) (This)->lpVtbl->GetParameters(This,pdwFlags,pdwQueue) +#define IMFAsyncCallback_Invoke(This,pAsyncResult) (This)->lpVtbl->Invoke(This,pAsyncResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFAsyncCallback_QueryInterface(IMFAsyncCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFAsyncCallback_AddRef(IMFAsyncCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFAsyncCallback_Release(IMFAsyncCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAsyncCallback methods ***/ +static FORCEINLINE HRESULT IMFAsyncCallback_GetParameters(IMFAsyncCallback* This,DWORD *pdwFlags,DWORD *pdwQueue) { + return This->lpVtbl->GetParameters(This,pdwFlags,pdwQueue); +} +static FORCEINLINE HRESULT IMFAsyncCallback_Invoke(IMFAsyncCallback* This,IMFAsyncResult *pAsyncResult) { + return This->lpVtbl->Invoke(This,pAsyncResult); +} +#endif +#endif + +#endif + + +#endif /* __IMFAsyncCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFRemoteAsyncCallback interface + */ +#ifndef __IMFRemoteAsyncCallback_INTERFACE_DEFINED__ +#define __IMFRemoteAsyncCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFRemoteAsyncCallback, 0xa27003d0, 0x2354, 0x4f2a, 0x8d,0x6a, 0xab,0x7c,0xff,0x15,0x43,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a27003d0-2354-4f2a-8d6a-ab7cff15437e") +IMFRemoteAsyncCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Invoke( + HRESULT hr, + IUnknown *pRemoteResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFRemoteAsyncCallback, 0xa27003d0, 0x2354, 0x4f2a, 0x8d,0x6a, 0xab,0x7c,0xff,0x15,0x43,0x7e) +#endif +#else +typedef struct IMFRemoteAsyncCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFRemoteAsyncCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFRemoteAsyncCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFRemoteAsyncCallback *This); + + /*** IMFRemoteAsyncCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMFRemoteAsyncCallback *This, + HRESULT hr, + IUnknown *pRemoteResult); + + END_INTERFACE +} IMFRemoteAsyncCallbackVtbl; + +interface IMFRemoteAsyncCallback { + CONST_VTBL IMFRemoteAsyncCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFRemoteAsyncCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFRemoteAsyncCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFRemoteAsyncCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IMFRemoteAsyncCallback methods ***/ +#define IMFRemoteAsyncCallback_Invoke(This,hr,pRemoteResult) (This)->lpVtbl->Invoke(This,hr,pRemoteResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFRemoteAsyncCallback_QueryInterface(IMFRemoteAsyncCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFRemoteAsyncCallback_AddRef(IMFRemoteAsyncCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFRemoteAsyncCallback_Release(IMFRemoteAsyncCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IMFRemoteAsyncCallback methods ***/ +static FORCEINLINE HRESULT IMFRemoteAsyncCallback_Invoke(IMFRemoteAsyncCallback* This,HRESULT hr,IUnknown *pRemoteResult) { + return This->lpVtbl->Invoke(This,hr,pRemoteResult); +} +#endif +#endif + +#endif + + +#endif /* __IMFRemoteAsyncCallback_INTERFACE_DEFINED__ */ + +#define MFASYNC_FAST_IO_PROCESSING_CALLBACK 0x0001 +#define MFASYNC_SIGNAL_CALLBACK 0x0002 +#define MFASYNC_CALLBACK_QUEUE_UNDEFINED 0x00000000 +#define MFASYNC_CALLBACK_QUEUE_STANDARD 0x00000001 +#define MFASYNC_CALLBACK_QUEUE_RT 0x00000002 +#define MFASYNC_CALLBACK_QUEUE_IO 0x00000003 +#define MFASYNC_CALLBACK_QUEUE_TIMER 0x00000004 +#define MFASYNC_CALLBACK_QUEUE_LONG_FUNCTION 0x00000007 +#define MFASYNC_CALLBACK_QUEUE_PRIVATE_MASK 0xffff0000 +#define MFASYNC_CALLBACK_QUEUE_ALL 0xffffffff +typedef DWORD MediaEventType; +/***************************************************************************** + * IMFMediaEvent interface + */ +#ifndef __IMFMediaEvent_INTERFACE_DEFINED__ +#define __IMFMediaEvent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaEvent, 0xdf598932, 0xf10c, 0x4e39, 0xbb,0xa2, 0xc3,0x08,0xf1,0x01,0xda,0xa3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("df598932-f10c-4e39-bba2-c308f101daa3") +IMFMediaEvent : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + MediaEventType *pmet) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExtendedType( + GUID *pguidExtendedType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + HRESULT *phrStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + PROPVARIANT *pvValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaEvent, 0xdf598932, 0xf10c, 0x4e39, 0xbb,0xa2, 0xc3,0x08,0xf1,0x01,0xda,0xa3) +#endif +#else +typedef struct IMFMediaEventVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaEvent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaEvent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaEvent *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFMediaEvent *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFMediaEvent *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFMediaEvent *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFMediaEvent *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFMediaEvent *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFMediaEvent *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFMediaEvent *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFMediaEvent *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFMediaEvent *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFMediaEvent *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFMediaEvent *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFMediaEvent *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFMediaEvent *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFMediaEvent *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFMediaEvent *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFMediaEvent *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFMediaEvent *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFMediaEvent *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFMediaEvent *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFMediaEvent *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFMediaEvent *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFMediaEvent *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFMediaEvent *This, + IMFAttributes *pDest); + + /*** IMFMediaEvent methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IMFMediaEvent *This, + MediaEventType *pmet); + + HRESULT (STDMETHODCALLTYPE *GetExtendedType)( + IMFMediaEvent *This, + GUID *pguidExtendedType); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IMFMediaEvent *This, + HRESULT *phrStatus); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IMFMediaEvent *This, + PROPVARIANT *pvValue); + + END_INTERFACE +} IMFMediaEventVtbl; + +interface IMFMediaEvent { + CONST_VTBL IMFMediaEventVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaEvent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaEvent_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFMediaEvent_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFMediaEvent_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFMediaEvent_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFMediaEvent_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFMediaEvent_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFMediaEvent_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFMediaEvent_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFMediaEvent_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFMediaEvent_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFMediaEvent_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFMediaEvent_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFMediaEvent_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFMediaEvent_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFMediaEvent_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFMediaEvent_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFMediaEvent_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFMediaEvent_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFMediaEvent_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFMediaEvent_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFMediaEvent_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFMediaEvent_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFMediaEvent_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFMediaEvent_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFMediaEvent_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFMediaEvent_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFMediaEvent_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFMediaEvent_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFMediaEvent_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFMediaEvent_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFMediaEvent_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFMediaEvent methods ***/ +#define IMFMediaEvent_GetType(This,pmet) (This)->lpVtbl->GetType(This,pmet) +#define IMFMediaEvent_GetExtendedType(This,pguidExtendedType) (This)->lpVtbl->GetExtendedType(This,pguidExtendedType) +#define IMFMediaEvent_GetStatus(This,phrStatus) (This)->lpVtbl->GetStatus(This,phrStatus) +#define IMFMediaEvent_GetValue(This,pvValue) (This)->lpVtbl->GetValue(This,pvValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaEvent_QueryInterface(IMFMediaEvent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaEvent_AddRef(IMFMediaEvent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaEvent_Release(IMFMediaEvent* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFMediaEvent_GetItem(IMFMediaEvent* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetItemType(IMFMediaEvent* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFMediaEvent_CompareItem(IMFMediaEvent* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFMediaEvent_Compare(IMFMediaEvent* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetUINT32(IMFMediaEvent* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetUINT64(IMFMediaEvent* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetDouble(IMFMediaEvent* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetGUID(IMFMediaEvent* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetStringLength(IMFMediaEvent* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetString(IMFMediaEvent* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetAllocatedString(IMFMediaEvent* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetBlobSize(IMFMediaEvent* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetBlob(IMFMediaEvent* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetAllocatedBlob(IMFMediaEvent* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetUnknown(IMFMediaEvent* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetItem(IMFMediaEvent* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFMediaEvent_DeleteItem(IMFMediaEvent* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFMediaEvent_DeleteAllItems(IMFMediaEvent* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetUINT32(IMFMediaEvent* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetUINT64(IMFMediaEvent* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetDouble(IMFMediaEvent* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetGUID(IMFMediaEvent* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetString(IMFMediaEvent* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetBlob(IMFMediaEvent* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFMediaEvent_SetUnknown(IMFMediaEvent* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFMediaEvent_LockStore(IMFMediaEvent* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFMediaEvent_UnlockStore(IMFMediaEvent* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetCount(IMFMediaEvent* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetItemByIndex(IMFMediaEvent* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFMediaEvent_CopyAllItems(IMFMediaEvent* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFMediaEvent methods ***/ +static FORCEINLINE HRESULT IMFMediaEvent_GetType(IMFMediaEvent* This,MediaEventType *pmet) { + return This->lpVtbl->GetType(This,pmet); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetExtendedType(IMFMediaEvent* This,GUID *pguidExtendedType) { + return This->lpVtbl->GetExtendedType(This,pguidExtendedType); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetStatus(IMFMediaEvent* This,HRESULT *phrStatus) { + return This->lpVtbl->GetStatus(This,phrStatus); +} +static FORCEINLINE HRESULT IMFMediaEvent_GetValue(IMFMediaEvent* This,PROPVARIANT *pvValue) { + return This->lpVtbl->GetValue(This,pvValue); +} +#endif +#endif + +#endif + + +#endif /* __IMFMediaEvent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFMediaEventGenerator interface + */ +#ifndef __IMFMediaEventGenerator_INTERFACE_DEFINED__ +#define __IMFMediaEventGenerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaEventGenerator, 0x2cd0bd52, 0xbcd5, 0x4b89, 0xb6,0x2c, 0xea,0xdc,0x0c,0x03,0x1e,0x7d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd0bd52-bcd5-4b89-b62c-eadc0c031e7d") +IMFMediaEventGenerator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetEvent( + DWORD dwFlags, + IMFMediaEvent **ppEvent) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginGetEvent( + IMFAsyncCallback *pCallback, + IUnknown *punkState) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndGetEvent( + IMFAsyncResult *pResult, + IMFMediaEvent **ppEvent) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueueEvent( + MediaEventType met, + REFGUID guidExtendedType, + HRESULT hrStatus, + const PROPVARIANT *pvValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaEventGenerator, 0x2cd0bd52, 0xbcd5, 0x4b89, 0xb6,0x2c, 0xea,0xdc,0x0c,0x03,0x1e,0x7d) +#endif +#else +typedef struct IMFMediaEventGeneratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaEventGenerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaEventGenerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaEventGenerator *This); + + /*** IMFMediaEventGenerator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEvent)( + IMFMediaEventGenerator *This, + DWORD dwFlags, + IMFMediaEvent **ppEvent); + + HRESULT (STDMETHODCALLTYPE *BeginGetEvent)( + IMFMediaEventGenerator *This, + IMFAsyncCallback *pCallback, + IUnknown *punkState); + + HRESULT (STDMETHODCALLTYPE *EndGetEvent)( + IMFMediaEventGenerator *This, + IMFAsyncResult *pResult, + IMFMediaEvent **ppEvent); + + HRESULT (STDMETHODCALLTYPE *QueueEvent)( + IMFMediaEventGenerator *This, + MediaEventType met, + REFGUID guidExtendedType, + HRESULT hrStatus, + const PROPVARIANT *pvValue); + + END_INTERFACE +} IMFMediaEventGeneratorVtbl; + +interface IMFMediaEventGenerator { + CONST_VTBL IMFMediaEventGeneratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaEventGenerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaEventGenerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaEventGenerator_Release(This) (This)->lpVtbl->Release(This) +/*** IMFMediaEventGenerator methods ***/ +#define IMFMediaEventGenerator_GetEvent(This,dwFlags,ppEvent) (This)->lpVtbl->GetEvent(This,dwFlags,ppEvent) +#define IMFMediaEventGenerator_BeginGetEvent(This,pCallback,punkState) (This)->lpVtbl->BeginGetEvent(This,pCallback,punkState) +#define IMFMediaEventGenerator_EndGetEvent(This,pResult,ppEvent) (This)->lpVtbl->EndGetEvent(This,pResult,ppEvent) +#define IMFMediaEventGenerator_QueueEvent(This,met,guidExtendedType,hrStatus,pvValue) (This)->lpVtbl->QueueEvent(This,met,guidExtendedType,hrStatus,pvValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaEventGenerator_QueryInterface(IMFMediaEventGenerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaEventGenerator_AddRef(IMFMediaEventGenerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaEventGenerator_Release(IMFMediaEventGenerator* This) { + return This->lpVtbl->Release(This); +} +/*** IMFMediaEventGenerator methods ***/ +static FORCEINLINE HRESULT IMFMediaEventGenerator_GetEvent(IMFMediaEventGenerator* This,DWORD dwFlags,IMFMediaEvent **ppEvent) { + return This->lpVtbl->GetEvent(This,dwFlags,ppEvent); +} +static FORCEINLINE HRESULT IMFMediaEventGenerator_BeginGetEvent(IMFMediaEventGenerator* This,IMFAsyncCallback *pCallback,IUnknown *punkState) { + return This->lpVtbl->BeginGetEvent(This,pCallback,punkState); +} +static FORCEINLINE HRESULT IMFMediaEventGenerator_EndGetEvent(IMFMediaEventGenerator* This,IMFAsyncResult *pResult,IMFMediaEvent **ppEvent) { + return This->lpVtbl->EndGetEvent(This,pResult,ppEvent); +} +static FORCEINLINE HRESULT IMFMediaEventGenerator_QueueEvent(IMFMediaEventGenerator* This,MediaEventType met,REFGUID guidExtendedType,HRESULT hrStatus,const PROPVARIANT *pvValue) { + return This->lpVtbl->QueueEvent(This,met,guidExtendedType,hrStatus,pvValue); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IMFMediaEventGenerator_RemoteBeginGetEvent_Proxy( + IMFMediaEventGenerator* This, + IMFRemoteAsyncCallback *pCallback); +void __RPC_STUB IMFMediaEventGenerator_RemoteBeginGetEvent_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMFMediaEventGenerator_RemoteEndGetEvent_Proxy( + IMFMediaEventGenerator* This, + IUnknown *pResult, + DWORD *pcbEvent, + BYTE **ppbEvent); +void __RPC_STUB IMFMediaEventGenerator_RemoteEndGetEvent_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IMFMediaEventGenerator_BeginGetEvent_Proxy( + IMFMediaEventGenerator* This, + IMFAsyncCallback *pCallback, + IUnknown *punkState); +HRESULT __RPC_STUB IMFMediaEventGenerator_BeginGetEvent_Stub( + IMFMediaEventGenerator* This, + IMFRemoteAsyncCallback *pCallback); +HRESULT CALLBACK IMFMediaEventGenerator_EndGetEvent_Proxy( + IMFMediaEventGenerator* This, + IMFAsyncResult *pResult, + IMFMediaEvent **ppEvent); +HRESULT __RPC_STUB IMFMediaEventGenerator_EndGetEvent_Stub( + IMFMediaEventGenerator* This, + IUnknown *pResult, + DWORD *pcbEvent, + BYTE **ppbEvent); + +#endif /* __IMFMediaEventGenerator_INTERFACE_DEFINED__ */ + +typedef enum _MFBYTESTREAM_SEEK_ORIGIN { + msoBegin = 0, + msoCurrent = 1 +} MFBYTESTREAM_SEEK_ORIGIN; +/***************************************************************************** + * IMFByteStream interface + */ +#ifndef __IMFByteStream_INTERFACE_DEFINED__ +#define __IMFByteStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFByteStream, 0xad4c1b00, 0x4bf7, 0x422f, 0x91,0x75, 0x75,0x66,0x93,0xd9,0x13,0x0d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ad4c1b00-4bf7-422f-9175-756693d9130d") +IMFByteStream : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCapabilities( + DWORD *pdwCapabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLength( + QWORD *pqwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLength( + QWORD qwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentPosition( + QWORD *pqwPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentPosition( + QWORD qwPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEndOfStream( + BOOL *pfEndOfStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE Read( + BYTE *pb, + ULONG cb, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginRead( + BYTE *pb, + ULONG cb, + IMFAsyncCallback *pCallback, + IUnknown *punkState) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndRead( + IMFAsyncResult *pResult, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE Write( + const BYTE *pb, + ULONG cb, + ULONG *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginWrite( + const BYTE *pb, + ULONG cb, + IMFAsyncCallback *pCallback, + IUnknown *punkState) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndWrite( + IMFAsyncResult *pResult, + ULONG *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE Seek( + MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, + LONGLONG llSeekOffset, + DWORD dwSeekFlags, + QWORD *pqwCurrentPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFByteStream, 0xad4c1b00, 0x4bf7, 0x422f, 0x91,0x75, 0x75,0x66,0x93,0xd9,0x13,0x0d) +#endif +#else +typedef struct IMFByteStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFByteStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFByteStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFByteStream *This); + + /*** IMFByteStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCapabilities)( + IMFByteStream *This, + DWORD *pdwCapabilities); + + HRESULT (STDMETHODCALLTYPE *GetLength)( + IMFByteStream *This, + QWORD *pqwLength); + + HRESULT (STDMETHODCALLTYPE *SetLength)( + IMFByteStream *This, + QWORD qwLength); + + HRESULT (STDMETHODCALLTYPE *GetCurrentPosition)( + IMFByteStream *This, + QWORD *pqwPosition); + + HRESULT (STDMETHODCALLTYPE *SetCurrentPosition)( + IMFByteStream *This, + QWORD qwPosition); + + HRESULT (STDMETHODCALLTYPE *IsEndOfStream)( + IMFByteStream *This, + BOOL *pfEndOfStream); + + HRESULT (STDMETHODCALLTYPE *Read)( + IMFByteStream *This, + BYTE *pb, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *BeginRead)( + IMFByteStream *This, + BYTE *pb, + ULONG cb, + IMFAsyncCallback *pCallback, + IUnknown *punkState); + + HRESULT (STDMETHODCALLTYPE *EndRead)( + IMFByteStream *This, + IMFAsyncResult *pResult, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Write)( + IMFByteStream *This, + const BYTE *pb, + ULONG cb, + ULONG *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *BeginWrite)( + IMFByteStream *This, + const BYTE *pb, + ULONG cb, + IMFAsyncCallback *pCallback, + IUnknown *punkState); + + HRESULT (STDMETHODCALLTYPE *EndWrite)( + IMFByteStream *This, + IMFAsyncResult *pResult, + ULONG *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *Seek)( + IMFByteStream *This, + MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, + LONGLONG llSeekOffset, + DWORD dwSeekFlags, + QWORD *pqwCurrentPosition); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IMFByteStream *This); + + HRESULT (STDMETHODCALLTYPE *Close)( + IMFByteStream *This); + + END_INTERFACE +} IMFByteStreamVtbl; + +interface IMFByteStream { + CONST_VTBL IMFByteStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFByteStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFByteStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFByteStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMFByteStream methods ***/ +#define IMFByteStream_GetCapabilities(This,pdwCapabilities) (This)->lpVtbl->GetCapabilities(This,pdwCapabilities) +#define IMFByteStream_GetLength(This,pqwLength) (This)->lpVtbl->GetLength(This,pqwLength) +#define IMFByteStream_SetLength(This,qwLength) (This)->lpVtbl->SetLength(This,qwLength) +#define IMFByteStream_GetCurrentPosition(This,pqwPosition) (This)->lpVtbl->GetCurrentPosition(This,pqwPosition) +#define IMFByteStream_SetCurrentPosition(This,qwPosition) (This)->lpVtbl->SetCurrentPosition(This,qwPosition) +#define IMFByteStream_IsEndOfStream(This,pfEndOfStream) (This)->lpVtbl->IsEndOfStream(This,pfEndOfStream) +#define IMFByteStream_Read(This,pb,cb,pcbRead) (This)->lpVtbl->Read(This,pb,cb,pcbRead) +#define IMFByteStream_BeginRead(This,pb,cb,pCallback,punkState) (This)->lpVtbl->BeginRead(This,pb,cb,pCallback,punkState) +#define IMFByteStream_EndRead(This,pResult,pcbRead) (This)->lpVtbl->EndRead(This,pResult,pcbRead) +#define IMFByteStream_Write(This,pb,cb,pcbWritten) (This)->lpVtbl->Write(This,pb,cb,pcbWritten) +#define IMFByteStream_BeginWrite(This,pb,cb,pCallback,punkState) (This)->lpVtbl->BeginWrite(This,pb,cb,pCallback,punkState) +#define IMFByteStream_EndWrite(This,pResult,pcbWritten) (This)->lpVtbl->EndWrite(This,pResult,pcbWritten) +#define IMFByteStream_Seek(This,SeekOrigin,llSeekOffset,dwSeekFlags,pqwCurrentPosition) (This)->lpVtbl->Seek(This,SeekOrigin,llSeekOffset,dwSeekFlags,pqwCurrentPosition) +#define IMFByteStream_Flush(This) (This)->lpVtbl->Flush(This) +#define IMFByteStream_Close(This) (This)->lpVtbl->Close(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFByteStream_QueryInterface(IMFByteStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFByteStream_AddRef(IMFByteStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFByteStream_Release(IMFByteStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMFByteStream methods ***/ +static FORCEINLINE HRESULT IMFByteStream_GetCapabilities(IMFByteStream* This,DWORD *pdwCapabilities) { + return This->lpVtbl->GetCapabilities(This,pdwCapabilities); +} +static FORCEINLINE HRESULT IMFByteStream_GetLength(IMFByteStream* This,QWORD *pqwLength) { + return This->lpVtbl->GetLength(This,pqwLength); +} +static FORCEINLINE HRESULT IMFByteStream_SetLength(IMFByteStream* This,QWORD qwLength) { + return This->lpVtbl->SetLength(This,qwLength); +} +static FORCEINLINE HRESULT IMFByteStream_GetCurrentPosition(IMFByteStream* This,QWORD *pqwPosition) { + return This->lpVtbl->GetCurrentPosition(This,pqwPosition); +} +static FORCEINLINE HRESULT IMFByteStream_SetCurrentPosition(IMFByteStream* This,QWORD qwPosition) { + return This->lpVtbl->SetCurrentPosition(This,qwPosition); +} +static FORCEINLINE HRESULT IMFByteStream_IsEndOfStream(IMFByteStream* This,BOOL *pfEndOfStream) { + return This->lpVtbl->IsEndOfStream(This,pfEndOfStream); +} +static FORCEINLINE HRESULT IMFByteStream_Read(IMFByteStream* This,BYTE *pb,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->Read(This,pb,cb,pcbRead); +} +static FORCEINLINE HRESULT IMFByteStream_BeginRead(IMFByteStream* This,BYTE *pb,ULONG cb,IMFAsyncCallback *pCallback,IUnknown *punkState) { + return This->lpVtbl->BeginRead(This,pb,cb,pCallback,punkState); +} +static FORCEINLINE HRESULT IMFByteStream_EndRead(IMFByteStream* This,IMFAsyncResult *pResult,ULONG *pcbRead) { + return This->lpVtbl->EndRead(This,pResult,pcbRead); +} +static FORCEINLINE HRESULT IMFByteStream_Write(IMFByteStream* This,const BYTE *pb,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->Write(This,pb,cb,pcbWritten); +} +static FORCEINLINE HRESULT IMFByteStream_BeginWrite(IMFByteStream* This,const BYTE *pb,ULONG cb,IMFAsyncCallback *pCallback,IUnknown *punkState) { + return This->lpVtbl->BeginWrite(This,pb,cb,pCallback,punkState); +} +static FORCEINLINE HRESULT IMFByteStream_EndWrite(IMFByteStream* This,IMFAsyncResult *pResult,ULONG *pcbWritten) { + return This->lpVtbl->EndWrite(This,pResult,pcbWritten); +} +static FORCEINLINE HRESULT IMFByteStream_Seek(IMFByteStream* This,MFBYTESTREAM_SEEK_ORIGIN SeekOrigin,LONGLONG llSeekOffset,DWORD dwSeekFlags,QWORD *pqwCurrentPosition) { + return This->lpVtbl->Seek(This,SeekOrigin,llSeekOffset,dwSeekFlags,pqwCurrentPosition); +} +static FORCEINLINE HRESULT IMFByteStream_Flush(IMFByteStream* This) { + return This->lpVtbl->Flush(This); +} +static FORCEINLINE HRESULT IMFByteStream_Close(IMFByteStream* This) { + return This->lpVtbl->Close(This); +} +#endif +#endif + +#endif + + +#endif /* __IMFByteStream_INTERFACE_DEFINED__ */ + +#define MFBYTESTREAM_IS_READABLE 0x00000001 +#define MFBYTESTREAM_IS_WRITABLE 0x00000002 +#define MFBYTESTREAM_IS_SEEKABLE 0x00000004 +#define MFBYTESTREAM_IS_REMOTE 0x00000008 +#define MFBYTESTREAM_IS_DIRECTORY 0x00000080 +#define MFBYTESTREAM_HAS_SLOW_SEEK 0x00000100 +#define MFBYTESTREAM_IS_PARTIALLY_DOWNLOADED 0x00000200 +#define MFBYTESTREAM_SHARE_WRITE 0x00000400 +#define MFBYTESTREAM_SEEK_FLAG_CANCEL_PENDING_IO 0x00000001 +EXTERN_GUID(MF_BYTESTREAM_ORIGIN_NAME, 0xfc358288,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a); +EXTERN_GUID(MF_BYTESTREAM_CONTENT_TYPE, 0xfc358289,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a); +EXTERN_GUID(MF_BYTESTREAM_DURATION, 0xfc35828a,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a); +EXTERN_GUID(MF_BYTESTREAM_LAST_MODIFIED_TIME, 0xfc35828b,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a); +EXTERN_GUID(MF_BYTESTREAM_IFO_FILE_URI, 0xfc35828c,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a); +EXTERN_GUID(MF_BYTESTREAM_DLNA_PROFILE_ID, 0xfc35828d,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a); +typedef enum MF_FILE_ACCESSMODE { + MF_ACCESSMODE_READ = 1, + MF_ACCESSMODE_WRITE = 2, + MF_ACCESSMODE_READWRITE = 3 +} MF_FILE_ACCESSMODE; +typedef enum __WIDL_mfobjects_generated_name_0000001E { + MF_OPENMODE_FAIL_IF_NOT_EXIST = 0, + MF_OPENMODE_FAIL_IF_EXIST = 1, + MF_OPENMODE_RESET_IF_EXIST = 2, + MF_OPENMODE_APPEND_IF_EXIST = 3, + MF_OPENMODE_DELETE_IF_EXIST = 4 +} MF_FILE_OPENMODE; +typedef enum __WIDL_mfobjects_generated_name_0000001F { + MF_FILEFLAGS_NONE = 0x0, + MF_FILEFLAGS_NOBUFFERING = 0x1, + MF_FILEFLAGS_ALLOW_WRITE_SHARING = 0x2 +} MF_FILE_FLAGS; +/***************************************************************************** + * IMFCollection interface + */ +#ifndef __IMFCollection_INTERFACE_DEFINED__ +#define __IMFCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFCollection, 0x5bc8a76b, 0x869a, 0x46a3, 0x9b,0x03, 0xfa,0x21,0x8a,0x66,0xae,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5bc8a76b-869a-46a3-9b03-fa218a66aebe") +IMFCollection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetElementCount( + DWORD *pcElements) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetElement( + DWORD dwElementIndex, + IUnknown **ppUnkElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddElement( + IUnknown *pUnkElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveElement( + DWORD dwElementIndex, + IUnknown **ppUnkElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertElementAt( + DWORD dwIndex, + IUnknown *pUnknown) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllElements( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFCollection, 0x5bc8a76b, 0x869a, 0x46a3, 0x9b,0x03, 0xfa,0x21,0x8a,0x66,0xae,0xbe) +#endif +#else +typedef struct IMFCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFCollection *This); + + /*** IMFCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *GetElementCount)( + IMFCollection *This, + DWORD *pcElements); + + HRESULT (STDMETHODCALLTYPE *GetElement)( + IMFCollection *This, + DWORD dwElementIndex, + IUnknown **ppUnkElement); + + HRESULT (STDMETHODCALLTYPE *AddElement)( + IMFCollection *This, + IUnknown *pUnkElement); + + HRESULT (STDMETHODCALLTYPE *RemoveElement)( + IMFCollection *This, + DWORD dwElementIndex, + IUnknown **ppUnkElement); + + HRESULT (STDMETHODCALLTYPE *InsertElementAt)( + IMFCollection *This, + DWORD dwIndex, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *RemoveAllElements)( + IMFCollection *This); + + END_INTERFACE +} IMFCollectionVtbl; + +interface IMFCollection { + CONST_VTBL IMFCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IMFCollection methods ***/ +#define IMFCollection_GetElementCount(This,pcElements) (This)->lpVtbl->GetElementCount(This,pcElements) +#define IMFCollection_GetElement(This,dwElementIndex,ppUnkElement) (This)->lpVtbl->GetElement(This,dwElementIndex,ppUnkElement) +#define IMFCollection_AddElement(This,pUnkElement) (This)->lpVtbl->AddElement(This,pUnkElement) +#define IMFCollection_RemoveElement(This,dwElementIndex,ppUnkElement) (This)->lpVtbl->RemoveElement(This,dwElementIndex,ppUnkElement) +#define IMFCollection_InsertElementAt(This,dwIndex,pUnknown) (This)->lpVtbl->InsertElementAt(This,dwIndex,pUnknown) +#define IMFCollection_RemoveAllElements(This) (This)->lpVtbl->RemoveAllElements(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFCollection_QueryInterface(IMFCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFCollection_AddRef(IMFCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFCollection_Release(IMFCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IMFCollection methods ***/ +static FORCEINLINE HRESULT IMFCollection_GetElementCount(IMFCollection* This,DWORD *pcElements) { + return This->lpVtbl->GetElementCount(This,pcElements); +} +static FORCEINLINE HRESULT IMFCollection_GetElement(IMFCollection* This,DWORD dwElementIndex,IUnknown **ppUnkElement) { + return This->lpVtbl->GetElement(This,dwElementIndex,ppUnkElement); +} +static FORCEINLINE HRESULT IMFCollection_AddElement(IMFCollection* This,IUnknown *pUnkElement) { + return This->lpVtbl->AddElement(This,pUnkElement); +} +static FORCEINLINE HRESULT IMFCollection_RemoveElement(IMFCollection* This,DWORD dwElementIndex,IUnknown **ppUnkElement) { + return This->lpVtbl->RemoveElement(This,dwElementIndex,ppUnkElement); +} +static FORCEINLINE HRESULT IMFCollection_InsertElementAt(IMFCollection* This,DWORD dwIndex,IUnknown *pUnknown) { + return This->lpVtbl->InsertElementAt(This,dwIndex,pUnknown); +} +static FORCEINLINE HRESULT IMFCollection_RemoveAllElements(IMFCollection* This) { + return This->lpVtbl->RemoveAllElements(This); +} +#endif +#endif + +#endif + + +#endif /* __IMFCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFActivate interface + */ +#ifndef __IMFActivate_INTERFACE_DEFINED__ +#define __IMFActivate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFActivate, 0x7fee9e9a, 0x4a89, 0x47a6, 0x89,0x9c, 0xb6,0xa5,0x3a,0x70,0xfb,0x67); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7fee9e9a-4a89-47a6-899c-b6a53a70fb67") +IMFActivate : public IMFAttributes +{ + virtual HRESULT STDMETHODCALLTYPE ActivateObject( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShutdownObject( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DetachObject( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFActivate, 0x7fee9e9a, 0x4a89, 0x47a6, 0x89,0x9c, 0xb6,0xa5,0x3a,0x70,0xfb,0x67) +#endif +#else +typedef struct IMFActivateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFActivate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFActivate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFActivate *This); + + /*** IMFAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *GetItem)( + IMFActivate *This, + REFGUID guidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *GetItemType)( + IMFActivate *This, + REFGUID guidKey, + MF_ATTRIBUTE_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *CompareItem)( + IMFActivate *This, + REFGUID guidKey, + REFPROPVARIANT Value, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IMFActivate *This, + IMFAttributes *pTheirs, + MF_ATTRIBUTES_MATCH_TYPE MatchType, + BOOL *pbResult); + + HRESULT (STDMETHODCALLTYPE *GetUINT32)( + IMFActivate *This, + REFGUID guidKey, + UINT32 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetUINT64)( + IMFActivate *This, + REFGUID guidKey, + UINT64 *punValue); + + HRESULT (STDMETHODCALLTYPE *GetDouble)( + IMFActivate *This, + REFGUID guidKey, + double *pfValue); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IMFActivate *This, + REFGUID guidKey, + GUID *pguidValue); + + HRESULT (STDMETHODCALLTYPE *GetStringLength)( + IMFActivate *This, + REFGUID guidKey, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IMFActivate *This, + REFGUID guidKey, + LPWSTR pwszValue, + UINT32 cchBufSize, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedString)( + IMFActivate *This, + REFGUID guidKey, + LPWSTR *ppwszValue, + UINT32 *pcchLength); + + HRESULT (STDMETHODCALLTYPE *GetBlobSize)( + IMFActivate *This, + REFGUID guidKey, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetBlob)( + IMFActivate *This, + REFGUID guidKey, + UINT8 *pBuf, + UINT32 cbBufSize, + UINT32 *pcbBlobSize); + + HRESULT (STDMETHODCALLTYPE *GetAllocatedBlob)( + IMFActivate *This, + REFGUID guidKey, + UINT8 **ppBuf, + UINT32 *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetUnknown)( + IMFActivate *This, + REFGUID guidKey, + REFIID riid, + LPVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *SetItem)( + IMFActivate *This, + REFGUID guidKey, + REFPROPVARIANT Value); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IMFActivate *This, + REFGUID guidKey); + + HRESULT (STDMETHODCALLTYPE *DeleteAllItems)( + IMFActivate *This); + + HRESULT (STDMETHODCALLTYPE *SetUINT32)( + IMFActivate *This, + REFGUID guidKey, + UINT32 unValue); + + HRESULT (STDMETHODCALLTYPE *SetUINT64)( + IMFActivate *This, + REFGUID guidKey, + UINT64 unValue); + + HRESULT (STDMETHODCALLTYPE *SetDouble)( + IMFActivate *This, + REFGUID guidKey, + double fValue); + + HRESULT (STDMETHODCALLTYPE *SetGUID)( + IMFActivate *This, + REFGUID guidKey, + REFGUID guidValue); + + HRESULT (STDMETHODCALLTYPE *SetString)( + IMFActivate *This, + REFGUID guidKey, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SetBlob)( + IMFActivate *This, + REFGUID guidKey, + const UINT8 *pBuf, + UINT32 cbBufSize); + + HRESULT (STDMETHODCALLTYPE *SetUnknown)( + IMFActivate *This, + REFGUID guidKey, + IUnknown *pUnknown); + + HRESULT (STDMETHODCALLTYPE *LockStore)( + IMFActivate *This); + + HRESULT (STDMETHODCALLTYPE *UnlockStore)( + IMFActivate *This); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMFActivate *This, + UINT32 *pcItems); + + HRESULT (STDMETHODCALLTYPE *GetItemByIndex)( + IMFActivate *This, + UINT32 unIndex, + GUID *pguidKey, + PROPVARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *CopyAllItems)( + IMFActivate *This, + IMFAttributes *pDest); + + /*** IMFActivate methods ***/ + HRESULT (STDMETHODCALLTYPE *ActivateObject)( + IMFActivate *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *ShutdownObject)( + IMFActivate *This); + + HRESULT (STDMETHODCALLTYPE *DetachObject)( + IMFActivate *This); + + END_INTERFACE +} IMFActivateVtbl; + +interface IMFActivate { + CONST_VTBL IMFActivateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFActivate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFActivate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFActivate_Release(This) (This)->lpVtbl->Release(This) +/*** IMFAttributes methods ***/ +#define IMFActivate_GetItem(This,guidKey,pValue) (This)->lpVtbl->GetItem(This,guidKey,pValue) +#define IMFActivate_GetItemType(This,guidKey,pType) (This)->lpVtbl->GetItemType(This,guidKey,pType) +#define IMFActivate_CompareItem(This,guidKey,Value,pbResult) (This)->lpVtbl->CompareItem(This,guidKey,Value,pbResult) +#define IMFActivate_Compare(This,pTheirs,MatchType,pbResult) (This)->lpVtbl->Compare(This,pTheirs,MatchType,pbResult) +#define IMFActivate_GetUINT32(This,guidKey,punValue) (This)->lpVtbl->GetUINT32(This,guidKey,punValue) +#define IMFActivate_GetUINT64(This,guidKey,punValue) (This)->lpVtbl->GetUINT64(This,guidKey,punValue) +#define IMFActivate_GetDouble(This,guidKey,pfValue) (This)->lpVtbl->GetDouble(This,guidKey,pfValue) +#define IMFActivate_GetGUID(This,guidKey,pguidValue) (This)->lpVtbl->GetGUID(This,guidKey,pguidValue) +#define IMFActivate_GetStringLength(This,guidKey,pcchLength) (This)->lpVtbl->GetStringLength(This,guidKey,pcchLength) +#define IMFActivate_GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) (This)->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength) +#define IMFActivate_GetAllocatedString(This,guidKey,ppwszValue,pcchLength) (This)->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength) +#define IMFActivate_GetBlobSize(This,guidKey,pcbBlobSize) (This)->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize) +#define IMFActivate_GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) (This)->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize) +#define IMFActivate_GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) (This)->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize) +#define IMFActivate_GetUnknown(This,guidKey,riid,ppv) (This)->lpVtbl->GetUnknown(This,guidKey,riid,ppv) +#define IMFActivate_SetItem(This,guidKey,Value) (This)->lpVtbl->SetItem(This,guidKey,Value) +#define IMFActivate_DeleteItem(This,guidKey) (This)->lpVtbl->DeleteItem(This,guidKey) +#define IMFActivate_DeleteAllItems(This) (This)->lpVtbl->DeleteAllItems(This) +#define IMFActivate_SetUINT32(This,guidKey,unValue) (This)->lpVtbl->SetUINT32(This,guidKey,unValue) +#define IMFActivate_SetUINT64(This,guidKey,unValue) (This)->lpVtbl->SetUINT64(This,guidKey,unValue) +#define IMFActivate_SetDouble(This,guidKey,fValue) (This)->lpVtbl->SetDouble(This,guidKey,fValue) +#define IMFActivate_SetGUID(This,guidKey,guidValue) (This)->lpVtbl->SetGUID(This,guidKey,guidValue) +#define IMFActivate_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue) +#define IMFActivate_SetBlob(This,guidKey,pBuf,cbBufSize) (This)->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize) +#define IMFActivate_SetUnknown(This,guidKey,pUnknown) (This)->lpVtbl->SetUnknown(This,guidKey,pUnknown) +#define IMFActivate_LockStore(This) (This)->lpVtbl->LockStore(This) +#define IMFActivate_UnlockStore(This) (This)->lpVtbl->UnlockStore(This) +#define IMFActivate_GetCount(This,pcItems) (This)->lpVtbl->GetCount(This,pcItems) +#define IMFActivate_GetItemByIndex(This,unIndex,pguidKey,pValue) (This)->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue) +#define IMFActivate_CopyAllItems(This,pDest) (This)->lpVtbl->CopyAllItems(This,pDest) +/*** IMFActivate methods ***/ +#define IMFActivate_ActivateObject(This,riid,ppv) (This)->lpVtbl->ActivateObject(This,riid,ppv) +#define IMFActivate_ShutdownObject(This) (This)->lpVtbl->ShutdownObject(This) +#define IMFActivate_DetachObject(This) (This)->lpVtbl->DetachObject(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFActivate_QueryInterface(IMFActivate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFActivate_AddRef(IMFActivate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFActivate_Release(IMFActivate* This) { + return This->lpVtbl->Release(This); +} +/*** IMFAttributes methods ***/ +static FORCEINLINE HRESULT IMFActivate_GetItem(IMFActivate* This,REFGUID guidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItem(This,guidKey,pValue); +} +static FORCEINLINE HRESULT IMFActivate_GetItemType(IMFActivate* This,REFGUID guidKey,MF_ATTRIBUTE_TYPE *pType) { + return This->lpVtbl->GetItemType(This,guidKey,pType); +} +static FORCEINLINE HRESULT IMFActivate_CompareItem(IMFActivate* This,REFGUID guidKey,REFPROPVARIANT Value,BOOL *pbResult) { + return This->lpVtbl->CompareItem(This,guidKey,Value,pbResult); +} +static FORCEINLINE HRESULT IMFActivate_Compare(IMFActivate* This,IMFAttributes *pTheirs,MF_ATTRIBUTES_MATCH_TYPE MatchType,BOOL *pbResult) { + return This->lpVtbl->Compare(This,pTheirs,MatchType,pbResult); +} +static FORCEINLINE HRESULT IMFActivate_GetUINT32(IMFActivate* This,REFGUID guidKey,UINT32 *punValue) { + return This->lpVtbl->GetUINT32(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFActivate_GetUINT64(IMFActivate* This,REFGUID guidKey,UINT64 *punValue) { + return This->lpVtbl->GetUINT64(This,guidKey,punValue); +} +static FORCEINLINE HRESULT IMFActivate_GetDouble(IMFActivate* This,REFGUID guidKey,double *pfValue) { + return This->lpVtbl->GetDouble(This,guidKey,pfValue); +} +static FORCEINLINE HRESULT IMFActivate_GetGUID(IMFActivate* This,REFGUID guidKey,GUID *pguidValue) { + return This->lpVtbl->GetGUID(This,guidKey,pguidValue); +} +static FORCEINLINE HRESULT IMFActivate_GetStringLength(IMFActivate* This,REFGUID guidKey,UINT32 *pcchLength) { + return This->lpVtbl->GetStringLength(This,guidKey,pcchLength); +} +static FORCEINLINE HRESULT IMFActivate_GetString(IMFActivate* This,REFGUID guidKey,LPWSTR pwszValue,UINT32 cchBufSize,UINT32 *pcchLength) { + return This->lpVtbl->GetString(This,guidKey,pwszValue,cchBufSize,pcchLength); +} +static FORCEINLINE HRESULT IMFActivate_GetAllocatedString(IMFActivate* This,REFGUID guidKey,LPWSTR *ppwszValue,UINT32 *pcchLength) { + return This->lpVtbl->GetAllocatedString(This,guidKey,ppwszValue,pcchLength); +} +static FORCEINLINE HRESULT IMFActivate_GetBlobSize(IMFActivate* This,REFGUID guidKey,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlobSize(This,guidKey,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFActivate_GetBlob(IMFActivate* This,REFGUID guidKey,UINT8 *pBuf,UINT32 cbBufSize,UINT32 *pcbBlobSize) { + return This->lpVtbl->GetBlob(This,guidKey,pBuf,cbBufSize,pcbBlobSize); +} +static FORCEINLINE HRESULT IMFActivate_GetAllocatedBlob(IMFActivate* This,REFGUID guidKey,UINT8 **ppBuf,UINT32 *pcbSize) { + return This->lpVtbl->GetAllocatedBlob(This,guidKey,ppBuf,pcbSize); +} +static FORCEINLINE HRESULT IMFActivate_GetUnknown(IMFActivate* This,REFGUID guidKey,REFIID riid,LPVOID *ppv) { + return This->lpVtbl->GetUnknown(This,guidKey,riid,ppv); +} +static FORCEINLINE HRESULT IMFActivate_SetItem(IMFActivate* This,REFGUID guidKey,REFPROPVARIANT Value) { + return This->lpVtbl->SetItem(This,guidKey,Value); +} +static FORCEINLINE HRESULT IMFActivate_DeleteItem(IMFActivate* This,REFGUID guidKey) { + return This->lpVtbl->DeleteItem(This,guidKey); +} +static FORCEINLINE HRESULT IMFActivate_DeleteAllItems(IMFActivate* This) { + return This->lpVtbl->DeleteAllItems(This); +} +static FORCEINLINE HRESULT IMFActivate_SetUINT32(IMFActivate* This,REFGUID guidKey,UINT32 unValue) { + return This->lpVtbl->SetUINT32(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFActivate_SetUINT64(IMFActivate* This,REFGUID guidKey,UINT64 unValue) { + return This->lpVtbl->SetUINT64(This,guidKey,unValue); +} +static FORCEINLINE HRESULT IMFActivate_SetDouble(IMFActivate* This,REFGUID guidKey,double fValue) { + return This->lpVtbl->SetDouble(This,guidKey,fValue); +} +static FORCEINLINE HRESULT IMFActivate_SetGUID(IMFActivate* This,REFGUID guidKey,REFGUID guidValue) { + return This->lpVtbl->SetGUID(This,guidKey,guidValue); +} +static FORCEINLINE HRESULT IMFActivate_SetString(IMFActivate* This,REFGUID guidKey,LPCWSTR wszValue) { + return This->lpVtbl->SetString(This,guidKey,wszValue); +} +static FORCEINLINE HRESULT IMFActivate_SetBlob(IMFActivate* This,REFGUID guidKey,const UINT8 *pBuf,UINT32 cbBufSize) { + return This->lpVtbl->SetBlob(This,guidKey,pBuf,cbBufSize); +} +static FORCEINLINE HRESULT IMFActivate_SetUnknown(IMFActivate* This,REFGUID guidKey,IUnknown *pUnknown) { + return This->lpVtbl->SetUnknown(This,guidKey,pUnknown); +} +static FORCEINLINE HRESULT IMFActivate_LockStore(IMFActivate* This) { + return This->lpVtbl->LockStore(This); +} +static FORCEINLINE HRESULT IMFActivate_UnlockStore(IMFActivate* This) { + return This->lpVtbl->UnlockStore(This); +} +static FORCEINLINE HRESULT IMFActivate_GetCount(IMFActivate* This,UINT32 *pcItems) { + return This->lpVtbl->GetCount(This,pcItems); +} +static FORCEINLINE HRESULT IMFActivate_GetItemByIndex(IMFActivate* This,UINT32 unIndex,GUID *pguidKey,PROPVARIANT *pValue) { + return This->lpVtbl->GetItemByIndex(This,unIndex,pguidKey,pValue); +} +static FORCEINLINE HRESULT IMFActivate_CopyAllItems(IMFActivate* This,IMFAttributes *pDest) { + return This->lpVtbl->CopyAllItems(This,pDest); +} +/*** IMFActivate methods ***/ +static FORCEINLINE HRESULT IMFActivate_ActivateObject(IMFActivate* This,REFIID riid,void **ppv) { + return This->lpVtbl->ActivateObject(This,riid,ppv); +} +static FORCEINLINE HRESULT IMFActivate_ShutdownObject(IMFActivate* This) { + return This->lpVtbl->ShutdownObject(This); +} +static FORCEINLINE HRESULT IMFActivate_DetachObject(IMFActivate* This) { + return This->lpVtbl->DetachObject(This); +} +#endif +#endif + +#endif + + +#endif /* __IMFActivate_INTERFACE_DEFINED__ */ + +typedef enum _MF_Plugin_Type { + MF_Plugin_Type_MFT = 0, + MF_Plugin_Type_MediaSource = 1 +} MF_Plugin_Type; +/***************************************************************************** + * IMFPluginControl interface + */ +#ifndef __IMFPluginControl_INTERFACE_DEFINED__ +#define __IMFPluginControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFPluginControl, 0x5c6c44bf, 0x1db6, 0x435b, 0x92,0x49, 0xe8,0xcd,0x10,0xfd,0xec,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5c6c44bf-1db6-435b-9249-e8cd10fdec96") +IMFPluginControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPreferredClsid( + DWORD pluginType, + LPCWSTR selector, + CLSID *clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreferredClsidByIndex( + DWORD pluginType, + DWORD index, + LPWSTR *selector, + CLSID *clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPreferredClsid( + DWORD pluginType, + LPCWSTR selector, + const CLSID *clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDisabled( + DWORD pluginType, + REFCLSID clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisabledByIndex( + DWORD pluginType, + DWORD index, + CLSID *clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDisabled( + DWORD pluginType, + REFCLSID clsid, + BOOL disabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFPluginControl, 0x5c6c44bf, 0x1db6, 0x435b, 0x92,0x49, 0xe8,0xcd,0x10,0xfd,0xec,0x96) +#endif +#else +typedef struct IMFPluginControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFPluginControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFPluginControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFPluginControl *This); + + /*** IMFPluginControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPreferredClsid)( + IMFPluginControl *This, + DWORD pluginType, + LPCWSTR selector, + CLSID *clsid); + + HRESULT (STDMETHODCALLTYPE *GetPreferredClsidByIndex)( + IMFPluginControl *This, + DWORD pluginType, + DWORD index, + LPWSTR *selector, + CLSID *clsid); + + HRESULT (STDMETHODCALLTYPE *SetPreferredClsid)( + IMFPluginControl *This, + DWORD pluginType, + LPCWSTR selector, + const CLSID *clsid); + + HRESULT (STDMETHODCALLTYPE *IsDisabled)( + IMFPluginControl *This, + DWORD pluginType, + REFCLSID clsid); + + HRESULT (STDMETHODCALLTYPE *GetDisabledByIndex)( + IMFPluginControl *This, + DWORD pluginType, + DWORD index, + CLSID *clsid); + + HRESULT (STDMETHODCALLTYPE *SetDisabled)( + IMFPluginControl *This, + DWORD pluginType, + REFCLSID clsid, + BOOL disabled); + + END_INTERFACE +} IMFPluginControlVtbl; + +interface IMFPluginControl { + CONST_VTBL IMFPluginControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFPluginControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFPluginControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFPluginControl_Release(This) (This)->lpVtbl->Release(This) +/*** IMFPluginControl methods ***/ +#define IMFPluginControl_GetPreferredClsid(This,pluginType,selector,clsid) (This)->lpVtbl->GetPreferredClsid(This,pluginType,selector,clsid) +#define IMFPluginControl_GetPreferredClsidByIndex(This,pluginType,index,selector,clsid) (This)->lpVtbl->GetPreferredClsidByIndex(This,pluginType,index,selector,clsid) +#define IMFPluginControl_SetPreferredClsid(This,pluginType,selector,clsid) (This)->lpVtbl->SetPreferredClsid(This,pluginType,selector,clsid) +#define IMFPluginControl_IsDisabled(This,pluginType,clsid) (This)->lpVtbl->IsDisabled(This,pluginType,clsid) +#define IMFPluginControl_GetDisabledByIndex(This,pluginType,index,clsid) (This)->lpVtbl->GetDisabledByIndex(This,pluginType,index,clsid) +#define IMFPluginControl_SetDisabled(This,pluginType,clsid,disabled) (This)->lpVtbl->SetDisabled(This,pluginType,clsid,disabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFPluginControl_QueryInterface(IMFPluginControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFPluginControl_AddRef(IMFPluginControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFPluginControl_Release(IMFPluginControl* This) { + return This->lpVtbl->Release(This); +} +/*** IMFPluginControl methods ***/ +static FORCEINLINE HRESULT IMFPluginControl_GetPreferredClsid(IMFPluginControl* This,DWORD pluginType,LPCWSTR selector,CLSID *clsid) { + return This->lpVtbl->GetPreferredClsid(This,pluginType,selector,clsid); +} +static FORCEINLINE HRESULT IMFPluginControl_GetPreferredClsidByIndex(IMFPluginControl* This,DWORD pluginType,DWORD index,LPWSTR *selector,CLSID *clsid) { + return This->lpVtbl->GetPreferredClsidByIndex(This,pluginType,index,selector,clsid); +} +static FORCEINLINE HRESULT IMFPluginControl_SetPreferredClsid(IMFPluginControl* This,DWORD pluginType,LPCWSTR selector,const CLSID *clsid) { + return This->lpVtbl->SetPreferredClsid(This,pluginType,selector,clsid); +} +static FORCEINLINE HRESULT IMFPluginControl_IsDisabled(IMFPluginControl* This,DWORD pluginType,REFCLSID clsid) { + return This->lpVtbl->IsDisabled(This,pluginType,clsid); +} +static FORCEINLINE HRESULT IMFPluginControl_GetDisabledByIndex(IMFPluginControl* This,DWORD pluginType,DWORD index,CLSID *clsid) { + return This->lpVtbl->GetDisabledByIndex(This,pluginType,index,clsid); +} +static FORCEINLINE HRESULT IMFPluginControl_SetDisabled(IMFPluginControl* This,DWORD pluginType,REFCLSID clsid,BOOL disabled) { + return This->lpVtbl->SetDisabled(This,pluginType,clsid,disabled); +} +#endif +#endif + +#endif + + +#endif /* __IMFPluginControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFMediaEventQueue interface + */ +#ifndef __IMFMediaEventQueue_INTERFACE_DEFINED__ +#define __IMFMediaEventQueue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFMediaEventQueue, 0x36f846fc, 0x2256, 0x48b6, 0xb5,0x8e, 0xe2,0xb6,0x38,0x31,0x65,0x81); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36f846fc-2256-48b6-b58e-e2b638316581") +IMFMediaEventQueue : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetEvent( + DWORD flags, + IMFMediaEvent **event) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginGetEvent( + IMFAsyncCallback *callback, + IUnknown *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndGetEvent( + IMFAsyncResult *result, + IMFMediaEvent **event) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueueEvent( + IMFMediaEvent *event) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueueEventParamVar( + MediaEventType met, + REFGUID type, + HRESULT status, + const PROPVARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueueEventParamUnk( + MediaEventType met, + REFGUID type, + HRESULT status, + IUnknown *unk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Shutdown( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFMediaEventQueue, 0x36f846fc, 0x2256, 0x48b6, 0xb5,0x8e, 0xe2,0xb6,0x38,0x31,0x65,0x81) +#endif +#else +typedef struct IMFMediaEventQueueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFMediaEventQueue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFMediaEventQueue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFMediaEventQueue *This); + + /*** IMFMediaEventQueue methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEvent)( + IMFMediaEventQueue *This, + DWORD flags, + IMFMediaEvent **event); + + HRESULT (STDMETHODCALLTYPE *BeginGetEvent)( + IMFMediaEventQueue *This, + IMFAsyncCallback *callback, + IUnknown *state); + + HRESULT (STDMETHODCALLTYPE *EndGetEvent)( + IMFMediaEventQueue *This, + IMFAsyncResult *result, + IMFMediaEvent **event); + + HRESULT (STDMETHODCALLTYPE *QueueEvent)( + IMFMediaEventQueue *This, + IMFMediaEvent *event); + + HRESULT (STDMETHODCALLTYPE *QueueEventParamVar)( + IMFMediaEventQueue *This, + MediaEventType met, + REFGUID type, + HRESULT status, + const PROPVARIANT *value); + + HRESULT (STDMETHODCALLTYPE *QueueEventParamUnk)( + IMFMediaEventQueue *This, + MediaEventType met, + REFGUID type, + HRESULT status, + IUnknown *unk); + + HRESULT (STDMETHODCALLTYPE *Shutdown)( + IMFMediaEventQueue *This); + + END_INTERFACE +} IMFMediaEventQueueVtbl; + +interface IMFMediaEventQueue { + CONST_VTBL IMFMediaEventQueueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFMediaEventQueue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFMediaEventQueue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFMediaEventQueue_Release(This) (This)->lpVtbl->Release(This) +/*** IMFMediaEventQueue methods ***/ +#define IMFMediaEventQueue_GetEvent(This,flags,event) (This)->lpVtbl->GetEvent(This,flags,event) +#define IMFMediaEventQueue_BeginGetEvent(This,callback,state) (This)->lpVtbl->BeginGetEvent(This,callback,state) +#define IMFMediaEventQueue_EndGetEvent(This,result,event) (This)->lpVtbl->EndGetEvent(This,result,event) +#define IMFMediaEventQueue_QueueEvent(This,event) (This)->lpVtbl->QueueEvent(This,event) +#define IMFMediaEventQueue_QueueEventParamVar(This,met,type,status,value) (This)->lpVtbl->QueueEventParamVar(This,met,type,status,value) +#define IMFMediaEventQueue_QueueEventParamUnk(This,met,type,status,unk) (This)->lpVtbl->QueueEventParamUnk(This,met,type,status,unk) +#define IMFMediaEventQueue_Shutdown(This) (This)->lpVtbl->Shutdown(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFMediaEventQueue_QueryInterface(IMFMediaEventQueue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFMediaEventQueue_AddRef(IMFMediaEventQueue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFMediaEventQueue_Release(IMFMediaEventQueue* This) { + return This->lpVtbl->Release(This); +} +/*** IMFMediaEventQueue methods ***/ +static FORCEINLINE HRESULT IMFMediaEventQueue_GetEvent(IMFMediaEventQueue* This,DWORD flags,IMFMediaEvent **event) { + return This->lpVtbl->GetEvent(This,flags,event); +} +static FORCEINLINE HRESULT IMFMediaEventQueue_BeginGetEvent(IMFMediaEventQueue* This,IMFAsyncCallback *callback,IUnknown *state) { + return This->lpVtbl->BeginGetEvent(This,callback,state); +} +static FORCEINLINE HRESULT IMFMediaEventQueue_EndGetEvent(IMFMediaEventQueue* This,IMFAsyncResult *result,IMFMediaEvent **event) { + return This->lpVtbl->EndGetEvent(This,result,event); +} +static FORCEINLINE HRESULT IMFMediaEventQueue_QueueEvent(IMFMediaEventQueue* This,IMFMediaEvent *event) { + return This->lpVtbl->QueueEvent(This,event); +} +static FORCEINLINE HRESULT IMFMediaEventQueue_QueueEventParamVar(IMFMediaEventQueue* This,MediaEventType met,REFGUID type,HRESULT status,const PROPVARIANT *value) { + return This->lpVtbl->QueueEventParamVar(This,met,type,status,value); +} +static FORCEINLINE HRESULT IMFMediaEventQueue_QueueEventParamUnk(IMFMediaEventQueue* This,MediaEventType met,REFGUID type,HRESULT status,IUnknown *unk) { + return This->lpVtbl->QueueEventParamUnk(This,met,type,status,unk); +} +static FORCEINLINE HRESULT IMFMediaEventQueue_Shutdown(IMFMediaEventQueue* This) { + return This->lpVtbl->Shutdown(This); +} +#endif +#endif + +#endif + + +#endif /* __IMFMediaEventQueue_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mfobjects_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfobjects.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfobjects.idl new file mode 100644 index 0000000..67055d3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfobjects.idl @@ -0,0 +1,603 @@ +/* + * Copyright 2015 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "propsys.idl"; +import "mediaobj.idl"; + +cpp_quote("#include ") +#include + +typedef ULONGLONG QWORD; + +typedef enum _MF_ATTRIBUTE_TYPE { + MF_ATTRIBUTE_UINT32 = VT_UI4, + MF_ATTRIBUTE_UINT64 = VT_UI8, + MF_ATTRIBUTE_DOUBLE = VT_R8, + MF_ATTRIBUTE_GUID = VT_CLSID, + MF_ATTRIBUTE_STRING = VT_LPWSTR, + MF_ATTRIBUTE_BLOB = VT_VECTOR | VT_UI1, + MF_ATTRIBUTE_IUNKNOWN = VT_UNKNOWN +} MF_ATTRIBUTE_TYPE; + +typedef enum _MF_ATTRIBUTES_MATCH_TYPE { + MF_ATTRIBUTES_MATCH_OUR_ITEMS = 0, + MF_ATTRIBUTES_MATCH_THEIR_ITEMS = 1, + MF_ATTRIBUTES_MATCH_ALL_ITEMS = 2, + MF_ATTRIBUTES_MATCH_INTERSECTION = 3, + MF_ATTRIBUTES_MATCH_SMALLER = 4 +} MF_ATTRIBUTES_MATCH_TYPE; + +[ + object, + uuid(2cd2d921-c447-44a7-a13c-4adabfc247e3) +] +interface IMFAttributes : IUnknown +{ + HRESULT GetItem(REFGUID guidKey, [in, out, ptr] PROPVARIANT *pValue); + HRESULT GetItemType(REFGUID guidKey, [out] MF_ATTRIBUTE_TYPE *pType); + HRESULT CompareItem(REFGUID guidKey, REFPROPVARIANT Value, [out] BOOL *pbResult); + HRESULT Compare(IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, [out] BOOL *pbResult); + HRESULT GetUINT32(REFGUID guidKey, [out] UINT32 *punValue); + HRESULT GetUINT64(REFGUID guidKey, [out] UINT64 *punValue); + HRESULT GetDouble(REFGUID guidKey, [out] double *pfValue); + HRESULT GetGUID(REFGUID guidKey, [out] GUID *pguidValue); + HRESULT GetStringLength(REFGUID guidKey, [out] UINT32 *pcchLength); + HRESULT GetString(REFGUID guidKey, [out, size_is(cchBufSize)] LPWSTR pwszValue, UINT32 cchBufSize, + [in, out, ptr] UINT32 *pcchLength); + HRESULT GetAllocatedString(REFGUID guidKey, [out, size_is(,*pcchLength+1)] LPWSTR *ppwszValue, + [out] UINT32 *pcchLength); + HRESULT GetBlobSize(REFGUID guidKey, [out] UINT32 *pcbBlobSize); + HRESULT GetBlob(REFGUID guidKey, [out, size_is(cbBufSize)] UINT8 *pBuf, UINT32 cbBufSize, + [in, out, ptr] UINT32 *pcbBlobSize); + HRESULT GetAllocatedBlob(REFGUID guidKey, [out, size_is(,*pcbSize)] UINT8 **ppBuf, [out] UINT32 *pcbSize); + HRESULT GetUnknown(REFGUID guidKey, REFIID riid, [out, iid_is(riid)] LPVOID *ppv); + HRESULT SetItem(REFGUID guidKey, REFPROPVARIANT Value); + HRESULT DeleteItem(REFGUID guidKey); + HRESULT DeleteAllItems(); + HRESULT SetUINT32(REFGUID guidKey, UINT32 unValue); + HRESULT SetUINT64(REFGUID guidKey, UINT64 unValue); + HRESULT SetDouble(REFGUID guidKey, double fValue); + HRESULT SetGUID(REFGUID guidKey, REFGUID guidValue); + HRESULT SetString(REFGUID guidKey, [in, string] LPCWSTR wszValue); + HRESULT SetBlob(REFGUID guidKey, [in, size_is(cbBufSize)] const UINT8* pBuf, UINT32 cbBufSize); + HRESULT SetUnknown(REFGUID guidKey, [in] IUnknown *pUnknown); + HRESULT LockStore(); + HRESULT UnlockStore(); + HRESULT GetCount([out] UINT32 *pcItems); + HRESULT GetItemByIndex(UINT32 unIndex, [out] GUID *pguidKey, [in, out, ptr] PROPVARIANT *pValue); + HRESULT CopyAllItems([in] IMFAttributes *pDest); +} + +enum MF_ATTRIBUTE_SERIALIZE_OPTIONS { + MF_ATTRIBUTE_SERIALIZE_UNKNOWN_BYREF = 0x00000001 +}; + +[ + object, + uuid(045fa593-8799-42b8-bc8d-8968c6453507), + local +] +interface IMFMediaBuffer : IUnknown +{ + HRESULT Lock([out] BYTE **ppbBuffer, [out] DWORD *pcbMaxLength, [out] DWORD *pcbCurrentLength); + HRESULT Unlock(); + HRESULT GetCurrentLength([out] DWORD *pcbCurrentLength); + HRESULT SetCurrentLength([in] DWORD cbCurrentLength); + HRESULT GetMaxLength([out] DWORD *pcbMaxLength); +} + +[ + object, + uuid(c40a00f2-b93a-4d80-ae8c-5a1c634f58e4), + local +] +interface IMFSample : IMFAttributes +{ + HRESULT GetSampleFlags([out] DWORD *pdwSampleFlags); + HRESULT SetSampleFlags([in] DWORD dwSampleFlags); + HRESULT GetSampleTime([out] LONGLONG *phnsSampleTime); + HRESULT SetSampleTime([in] LONGLONG hnsSampleTime); + HRESULT GetSampleDuration([out] LONGLONG *phnsSampleDuration); + HRESULT SetSampleDuration([in] LONGLONG hnsSampleDuration); + HRESULT GetBufferCount([out] DWORD *pdwBufferCount); + HRESULT GetBufferByIndex([in] DWORD dwIndex, [out] IMFMediaBuffer **ppBuffer); + HRESULT ConvertToContiguousBuffer([out] IMFMediaBuffer **ppBuffer); + HRESULT AddBuffer([in] IMFMediaBuffer *pBuffer); + HRESULT RemoveBufferByIndex([in] DWORD dwIndex); + HRESULT RemoveAllBuffers(); + HRESULT GetTotalLength([out] DWORD *pcbTotalLength); + HRESULT CopyToBuffer([in] IMFMediaBuffer *pBuffer); +} + +[ + object, + uuid(7dc9d5f9-9ed9-44ec-9bbf-0600bb589fbb), + local +] +interface IMF2DBuffer : IUnknown +{ + HRESULT Lock2D([out] BYTE **pbScanline0, [out] LONG *plPitch); + HRESULT Unlock2D(); + HRESULT GetScanline0AndPitch([out] BYTE **pbScanline0, [out] LONG *plPitch); + HRESULT IsContiguousFormat([out] BOOL *pfIsContiguous); + HRESULT GetContiguousLength([out] DWORD *pcbLength); + HRESULT ContiguousCopyTo([out, size_is(cbDestBuffer)] BYTE *pbDestBuffer, [in] DWORD cbDestBuffer); + HRESULT ContiguousCopyFrom([in, size_is(cbSrcBuffer)] const BYTE *pbSrcBuffer, [in] DWORD cbSrcBuffer); +} + +[ + object, + uuid(44ae0fa8-ea31-4109-8d2e-4cae4997c555), + local +] +interface IMFMediaType : IMFAttributes +{ + HRESULT GetMajorType([out] GUID *pguidMajorType); + HRESULT IsCompressedFormat([out] BOOL *pfCompressed); + HRESULT IsEqual([in] IMFMediaType *pIMediaType, [out] DWORD *pdwFlags); + HRESULT GetRepresentation([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation); + HRESULT FreeRepresentation([in] GUID guidRepresentation, [in] LPVOID pvRepresentation); +} + +cpp_quote("#define MF_MEDIATYPE_EQUAL_MAJOR_TYPES 0x00000001") +cpp_quote("#define MF_MEDIATYPE_EQUAL_FORMAT_TYPES 0x00000002") +cpp_quote("#define MF_MEDIATYPE_EQUAL_FORMAT_DATA 0x00000004") +cpp_quote("#define MF_MEDIATYPE_EQUAL_FORMAT_USER_DATA 0x00000008") + +[ + object, + uuid(26a0adc3-ce26-4672-9304-69552edd3faf), + local +] +interface IMFAudioMediaType : IMFMediaType +{ + const WAVEFORMATEX *GetAudioFormat(); +} + +typedef struct { + GUID guidMajorType; + GUID guidSubtype; +} MFT_REGISTER_TYPE_INFO; + +typedef enum _MFVideoFlags { + MFVideoFlag_PAD_TO_Mask = 0x00000003, + MFVideoFlag_PAD_TO_None = 0, + MFVideoFlag_PAD_TO_4x3 = 0x00000001, + MFVideoFlag_PAD_TO_16x9 = 0x00000002, + MFVideoFlag_SrcContentHintMask = 0x0000001c, + MFVideoFlag_SrcContentHintNone = 0, + MFVideoFlag_SrcContentHint16x9 = 0x00000004, + MFVideoFlag_SrcContentHint235_1 = 0x00000008, + MFVideoFlag_AnalogProtected = 0x00000020, + MFVideoFlag_DigitallyProtected = 0x00000040, + MFVideoFlag_ProgressiveContent = 0x00000080, + MFVideoFlag_FieldRepeatCountMask = 0x00000700, + MFVideoFlag_FieldRepeatCountShift = 8, + MFVideoFlag_ProgressiveSeqReset = 0x00000800, + MFVideoFlag_PanScanEnabled = 0x00020000, + MFVideoFlag_LowerFieldFirst = 0x00040000, + MFVideoFlag_BottomUpLinearRep = 0x00080000, + MFVideoFlags_DXVASurface = 0x00100000, + MFVideoFlags_RenderTargetSurface = 0x00400000, + MFVideoFlags_ForceQWORD = 0x7fffffff +} MFVideoFlags; + +typedef struct _MFRatio { + DWORD Numerator; + DWORD Denominator; +} MFRatio; + +typedef struct _MFOffset { + WORD fract; + short value; +} MFOffset; + +typedef struct _MFVideoArea { + MFOffset OffsetX; + MFOffset OffsetY; + SIZE Area; +} MFVideoArea; + +typedef enum _MFVideoChromaSubsampling { + MFVideoChromaSubsampling_Unknown = 0, + MFVideoChromaSubsampling_ProgressiveChroma = 0x8, + MFVideoChromaSubsampling_Horizontally_Cosited = 0x4, + MFVideoChromaSubsampling_Vertically_Cosited = 0x2, + MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes = 0x1, + MFVideoChromaSubsampling_MPEG2 + = MFVideoChromaSubsampling_Horizontally_Cosited + | MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes, + MFVideoChromaSubsampling_MPEG1 + = MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes, + MFVideoChromaSubsampling_DV_PAL + = MFVideoChromaSubsampling_Horizontally_Cosited + | MFVideoChromaSubsampling_Vertically_Cosited, + MFVideoChromaSubsampling_Cosited + = MFVideoChromaSubsampling_Horizontally_Cosited + | MFVideoChromaSubsampling_Vertically_Cosited + | MFVideoChromaSubsampling_Vertically_AlignedChromaPlanes, + MFVideoChromaSubsampling_Last = MFVideoChromaSubsampling_Cosited + 1, + MFVideoChromaSubsampling_ForceDWORD = 0x7fffffff +} MFVideoChromaSubsampling; + +typedef enum _MFVideoInterlaceMode { + MFVideoInterlace_Unknown = 0, + MFVideoInterlace_Progressive = 2, + MFVideoInterlace_FieldInterleavedUpperFirst = 3, + MFVideoInterlace_FieldInterleavedLowerFirst = 4, + MFVideoInterlace_FieldSingleUpper = 5, + MFVideoInterlace_FieldSingleLower = 6, + MFVideoInterlace_MixedInterlaceOrProgressive = 7, + MFVideoInterlace_Last, + MFVideoInterlace_ForceDWORD = 0x7fffffff +} MFVideoInterlaceMode; + +typedef enum _MFVideoTransferFunction { + MFVideoTransFunc_Unknown = 0, + MFVideoTransFunc_10 = 1, + MFVideoTransFunc_18 = 2, + MFVideoTransFunc_20 = 3, + MFVideoTransFunc_22 = 4, + MFVideoTransFunc_709 = 5, + MFVideoTransFunc_240M = 6, + MFVideoTransFunc_sRGB = 7, + MFVideoTransFunc_28 = 8, + MFVideoTransFunc_Log_100 = 9, + MFVideoTransFunc_Log_316 = 10, + MFVideoTransFunc_709_sym = 11, + MFVideoTransFunc_Last, + MFVideoTransFunc_ForceDWORD = 0x7fffffff +} MFVideoTransferFunction; + +typedef enum _MFVideoTransferMatrix { + MFVideoTransferMatrix_Unknown = 0, + MFVideoTransferMatrix_BT709 = 1, + MFVideoTransferMatrix_BT601 = 2, + MFVideoTransferMatrix_SMPTE240M = 3, + MFVideoTransferMatrix_Last, + MFVideoTransferMatrix_ForceDWORD = 0x7fffffff +} MFVideoTransferMatrix; + +typedef enum _MFVideoPrimaries { + MFVideoPrimaries_Unknown = 0, + MFVideoPrimaries_reserved = 1, + MFVideoPrimaries_BT709 = 2, + MFVideoPrimaries_BT470_2_SysM = 3, + MFVideoPrimaries_BT470_2_SysBG = 4, + MFVideoPrimaries_SMPTE170M = 5, + MFVideoPrimaries_SMPTE240M = 6, + MFVideoPrimaries_EBU3213 = 7, + MFVideoPrimaries_SMPTE_C = 8, + MFVideoPrimaries_Last, + MFVideoPrimaries_ForceDWORD = 0x7fffffff +} MFVideoPrimaries; + +typedef enum _MFVideoLighting { + MFVideoLighting_Unknown = 0, + MFVideoLighting_bright = 1, + MFVideoLighting_office = 2, + MFVideoLighting_dim = 3, + MFVideoLighting_dark = 4, + MFVideoLighting_Last, + MFVideoLighting_ForceDWORD = 0x7fffffff +} MFVideoLighting; + +typedef enum _MFNominalRange { + MFNominalRange_Unknown = 0, + MFNominalRange_Normal = 1, + MFNominalRange_Wide = 2, + MFNominalRange_0_255 = 1, + MFNominalRange_16_235 = 2, + MFNominalRange_48_208 = 3, + MFNominalRange_64_127 = 4 +} MFNominalRange; + +typedef struct _MFVideoInfo { + DWORD dwWidth; + DWORD dwHeight; + MFRatio PixelAspectRatio; + MFVideoChromaSubsampling SourceChromaSubsampling; + MFVideoInterlaceMode InterlaceMode; + MFVideoTransferFunction TransferFunction; + MFVideoPrimaries ColorPrimaries; + MFVideoTransferMatrix TransferMatrix; + MFVideoLighting SourceLighting; + MFRatio FramesPerSecond; + MFNominalRange NominalRange; + MFVideoArea GeometricAperture; + MFVideoArea MinimumDisplayAperture; + MFVideoArea PanScanAperture; + unsigned __int64 VideoFlags; +} MFVideoInfo; + +typedef struct _MFVideoCompressedInfo { + LONGLONG AvgBitrate; + LONGLONG AvgBitErrorRate; + DWORD MaxKeyFrameSpacing; +} MFVideoCompressedInfo; + +typedef struct _MFARGB { + BYTE rgbBlue; + BYTE rgbGreen; + BYTE rgbRed; + BYTE rgbAlpha; +} MFARGB; + +typedef struct __MFAYUVSample { + BYTE bCrValue; + BYTE bCbValue; + BYTE bYValue; + BYTE bSampleAlpha8; +} MFAYUVSample; + +typedef union _MFPaletteEntry { + MFARGB ARGB; + MFAYUVSample AYCbCr; +} MFPaletteEntry; + +typedef struct _MFVideoSurfaceInfo { + DWORD Format; + DWORD PaletteEntries; + MFPaletteEntry Palette[]; +} MFVideoSurfaceInfo; + +typedef struct _MFVIDEOFORMAT { + DWORD dwSize; + MFVideoInfo videoInfo; + GUID guidFormat; + MFVideoCompressedInfo compressedInfo; + MFVideoSurfaceInfo surfaceInfo; +} MFVIDEOFORMAT; + +typedef enum _MFStandardVideoFormat { + MFStdVideoFormat_reserved = 0, + MFStdVideoFormat_NTSC, + MFStdVideoFormat_PAL, + MFStdVideoFormat_DVD_NTSC, + MFStdVideoFormat_DVD_PAL, + MFStdVideoFormat_DV_PAL, + MFStdVideoFormat_DV_NTSC, + MFStdVideoFormat_ATSC_SD480i, + MFStdVideoFormat_ATSC_HD1080i, + MFStdVideoFormat_ATSC_HD720p +} MFStandardVideoFormat; + +[ + object, + uuid(b99f381f-a8f9-47a2-a5af-ca3a225a3890), + local +] +interface IMFVideoMediaType : IMFMediaType +{ + const MFVIDEOFORMAT *GetVideoFormat(); + + HRESULT GetVideoRepresentation([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation, + [in] LONG lStride); +} + +[ + object, + uuid(ac6b7889-0740-4d51-8619-905994a55cc6) +] +interface IMFAsyncResult : IUnknown +{ + HRESULT GetState([out] IUnknown **ppunkState); + HRESULT GetStatus(); + HRESULT SetStatus([in] HRESULT hrStatus); + HRESULT GetObject([out] IUnknown **ppObject); + [local] IUnknown *GetStateNoAddRef(); +} + +[ + object, + uuid(a27003cf-2354-4f2a-8d6a-ab7cff15437e), +] +interface IMFAsyncCallback : IUnknown +{ + HRESULT GetParameters([out] DWORD *pdwFlags, [out] DWORD *pdwQueue); + HRESULT Invoke([in] IMFAsyncResult *pAsyncResult); +} + +[ + object, + uuid(a27003d0-2354-4f2a-8d6a-ab7cff15437e), +] +interface IMFRemoteAsyncCallback : IUnknown +{ + HRESULT Invoke([in] HRESULT hr, [in] IUnknown *pRemoteResult); +} + +cpp_quote("#define MFASYNC_FAST_IO_PROCESSING_CALLBACK 0x0001") +cpp_quote("#define MFASYNC_SIGNAL_CALLBACK 0x0002" ) + +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_UNDEFINED 0x00000000") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_STANDARD 0x00000001") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_RT 0x00000002") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_IO 0x00000003") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_TIMER 0x00000004") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_LONG_FUNCTION 0x00000007") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_PRIVATE_MASK 0xffff0000") +cpp_quote("#define MFASYNC_CALLBACK_QUEUE_ALL 0xffffffff") + +typedef DWORD MediaEventType; + +[ + object, + uuid(df598932-f10c-4e39-bba2-c308f101daa3) +] +interface IMFMediaEvent : IMFAttributes +{ + HRESULT GetType([out] MediaEventType *pmet); + HRESULT GetExtendedType([out] GUID *pguidExtendedType); + HRESULT GetStatus([out] HRESULT *phrStatus); + HRESULT GetValue([out] PROPVARIANT *pvValue); +} + +[ + object, + uuid(2cd0bd52-bcd5-4b89-b62c-eadc0c031e7d) +] +interface IMFMediaEventGenerator : IUnknown +{ + HRESULT GetEvent([in] DWORD dwFlags, [out] IMFMediaEvent **ppEvent); + + [local] HRESULT BeginGetEvent([in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState); + [call_as(BeginGetEvent)] HRESULT RemoteBeginGetEvent([in] IMFRemoteAsyncCallback *pCallback); + + [local] HRESULT EndGetEvent([in] IMFAsyncResult *pResult, [out] IMFMediaEvent **ppEvent); + [call_as(EndGetEvent)] HRESULT RemoteEndGetEvent([in] IUnknown *pResult, [out] DWORD *pcbEvent, + [out, size_is(,*pcbEvent)] BYTE **ppbEvent); + + HRESULT QueueEvent([in] MediaEventType met, [in] REFGUID guidExtendedType, [in] HRESULT hrStatus, + [in, unique] const PROPVARIANT *pvValue); +} + +typedef enum _MFBYTESTREAM_SEEK_ORIGIN { + msoBegin, + msoCurrent +} MFBYTESTREAM_SEEK_ORIGIN; + +[ + object, + uuid(ad4c1b00-4bf7-422f-9175-756693d9130d), +] +interface IMFByteStream : IUnknown +{ + HRESULT GetCapabilities([out] DWORD *pdwCapabilities); + HRESULT GetLength([out] QWORD *pqwLength); + HRESULT SetLength([in] QWORD qwLength); + HRESULT GetCurrentPosition([out] QWORD *pqwPosition); + HRESULT SetCurrentPosition([in] QWORD qwPosition); + HRESULT IsEndOfStream([out] BOOL *pfEndOfStream); + + [local] HRESULT Read([in] BYTE* pb, [in] ULONG cb, [out] ULONG *pcbRead); + [local] HRESULT BeginRead([in] BYTE *pb, [in] ULONG cb, [in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState); + [local] HRESULT EndRead([in] IMFAsyncResult *pResult, [out] ULONG *pcbRead); + [local] HRESULT Write([in] const BYTE *pb, [in] ULONG cb, [out] ULONG *pcbWritten); + [local] HRESULT BeginWrite([in] const BYTE *pb, [in] ULONG cb, [in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState); + [local] HRESULT EndWrite([in] IMFAsyncResult *pResult, [out] ULONG *pcbWritten); + [local] HRESULT Seek([in] MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, [in] LONGLONG llSeekOffset, [in] DWORD dwSeekFlags, + [out] QWORD *pqwCurrentPosition); + + HRESULT Flush(); + HRESULT Close(); +} + +cpp_quote("#define MFBYTESTREAM_IS_READABLE 0x00000001") +cpp_quote("#define MFBYTESTREAM_IS_WRITABLE 0x00000002") +cpp_quote("#define MFBYTESTREAM_IS_SEEKABLE 0x00000004") +cpp_quote("#define MFBYTESTREAM_IS_REMOTE 0x00000008") +cpp_quote("#define MFBYTESTREAM_IS_DIRECTORY 0x00000080") +cpp_quote("#define MFBYTESTREAM_HAS_SLOW_SEEK 0x00000100") +cpp_quote("#define MFBYTESTREAM_IS_PARTIALLY_DOWNLOADED 0x00000200") +cpp_quote("#define MFBYTESTREAM_SHARE_WRITE 0x00000400") + +cpp_quote("#define MFBYTESTREAM_SEEK_FLAG_CANCEL_PENDING_IO 0x00000001") + +cpp_quote("EXTERN_GUID(MF_BYTESTREAM_ORIGIN_NAME, 0xfc358288,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);") +cpp_quote("EXTERN_GUID(MF_BYTESTREAM_CONTENT_TYPE, 0xfc358289,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);") +cpp_quote("EXTERN_GUID(MF_BYTESTREAM_DURATION, 0xfc35828a,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);") +cpp_quote("EXTERN_GUID(MF_BYTESTREAM_LAST_MODIFIED_TIME, 0xfc35828b,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);") +cpp_quote("EXTERN_GUID(MF_BYTESTREAM_IFO_FILE_URI, 0xfc35828c,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);") +cpp_quote("EXTERN_GUID(MF_BYTESTREAM_DLNA_PROFILE_ID, 0xfc35828d,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);") + +typedef enum MF_FILE_ACCESSMODE { + MF_ACCESSMODE_READ = 1, + MF_ACCESSMODE_WRITE = 2, + MF_ACCESSMODE_READWRITE = 3 +} MF_FILE_ACCESSMODE; + +typedef enum { + MF_OPENMODE_FAIL_IF_NOT_EXIST = 0, + MF_OPENMODE_FAIL_IF_EXIST = 1, + MF_OPENMODE_RESET_IF_EXIST = 2, + MF_OPENMODE_APPEND_IF_EXIST = 3, + MF_OPENMODE_DELETE_IF_EXIST = 4 +} MF_FILE_OPENMODE; + +typedef enum { + MF_FILEFLAGS_NONE = 0x00000000, + MF_FILEFLAGS_NOBUFFERING = 0x00000001, + MF_FILEFLAGS_ALLOW_WRITE_SHARING = 0x00000002 +} MF_FILE_FLAGS; + +[ + object, + uuid(5bc8a76b-869a-46a3-9b03-fa218a66aebe) +] +interface IMFCollection : IUnknown +{ + HRESULT GetElementCount([out] DWORD *pcElements); + HRESULT GetElement([in] DWORD dwElementIndex, [out] IUnknown **ppUnkElement); + HRESULT AddElement([in] IUnknown *pUnkElement); + HRESULT RemoveElement([in] DWORD dwElementIndex, [out] IUnknown **ppUnkElement); + HRESULT InsertElementAt([in] DWORD dwIndex, [in] IUnknown *pUnknown); + HRESULT RemoveAllElements(); +} + +[ + object, + uuid(7fee9e9a-4a89-47a6-899c-b6a53a70fb67), + pointer_default(unique) +] +interface IMFActivate : IMFAttributes +{ + HRESULT ActivateObject([in] REFIID riid, [out, iid_is(riid), retval] void **ppv); + HRESULT ShutdownObject(); + HRESULT DetachObject(); +} + +typedef enum _MF_Plugin_Type { + MF_Plugin_Type_MFT = 0, + MF_Plugin_Type_MediaSource = 1 +} MF_Plugin_Type; + +[ + object, + local, + uuid(5c6c44bf-1db6-435b-9249-e8cd10fdec96), + pointer_default(unique) +] +interface IMFPluginControl : IUnknown +{ + HRESULT GetPreferredClsid(DWORD pluginType, LPCWSTR selector, CLSID *clsid); + HRESULT GetPreferredClsidByIndex(DWORD pluginType, DWORD index, LPWSTR *selector, CLSID *clsid); + HRESULT SetPreferredClsid(DWORD pluginType, LPCWSTR selector, const CLSID *clsid); + HRESULT IsDisabled(DWORD pluginType, REFCLSID clsid); + HRESULT GetDisabledByIndex(DWORD pluginType, DWORD index, CLSID *clsid); + HRESULT SetDisabled(DWORD pluginType, REFCLSID clsid, BOOL disabled); +} + +[ + object, + uuid(36f846fc-2256-48b6-b58e-e2b638316581), + local +] +interface IMFMediaEventQueue : IUnknown +{ + HRESULT GetEvent([in] DWORD flags, [out] IMFMediaEvent **event); + HRESULT BeginGetEvent([in] IMFAsyncCallback *callback, [in] IUnknown *state); + HRESULT EndGetEvent([in] IMFAsyncResult *result, [out] IMFMediaEvent **event); + HRESULT QueueEvent([in] IMFMediaEvent *event); + HRESULT QueueEventParamVar([in] MediaEventType met, [in] REFGUID type, + [in] HRESULT status, [in, unique] const PROPVARIANT *value); + HRESULT QueueEventParamUnk([in] MediaEventType met, [in] REFGUID type, + [in] HRESULT status, [in, unique] IUnknown *unk); + HRESULT Shutdown(); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfreadwrite.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfreadwrite.h new file mode 100644 index 0000000..91ff7d0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfreadwrite.h @@ -0,0 +1,723 @@ +/*** Autogenerated by WIDL 2.18 from mfreadwrite.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mfreadwrite_h__ +#define __mfreadwrite_h__ + +/* Forward declarations */ + +#ifndef __IMFSourceReader_FWD_DEFINED__ +#define __IMFSourceReader_FWD_DEFINED__ +typedef interface IMFSourceReader IMFSourceReader; +#ifdef __cplusplus +interface IMFSourceReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFSinkWriter_FWD_DEFINED__ +#define __IMFSinkWriter_FWD_DEFINED__ +typedef interface IMFSinkWriter IMFSinkWriter; +#ifdef __cplusplus +interface IMFSinkWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IMFSinkWriterEx_FWD_DEFINED__ +#define __IMFSinkWriterEx_FWD_DEFINED__ +typedef interface IMFSinkWriterEx IMFSinkWriterEx; +#ifdef __cplusplus +interface IMFSinkWriterEx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + MF_SOURCE_READER_INVALID_STREAM_INDEX = 0xffffffff, + MF_SOURCE_READER_ALL_STREAMS = 0xfffffffe, + MF_SOURCE_READER_ANY_STREAM = 0xfffffffe, + MF_SOURCE_READER_FIRST_AUDIO_STREAM = 0xfffffffd, + MF_SOURCE_READER_FIRST_VIDEO_STREAM = 0xfffffffc, + MF_SOURCE_READER_MEDIASOURCE = 0xffffffff, + MF_SOURCE_READER_CURRENT_TYPE_INDEX = 0xffffffff +}; +typedef enum MF_SOURCE_READER_FLAG { + MF_SOURCE_READERF_ERROR = 0x1, + MF_SOURCE_READERF_ENDOFSTREAM = 0x2, + MF_SOURCE_READERF_NEWSTREAM = 0x4, + MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x10, + MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x20, + MF_SOURCE_READERF_STREAMTICK = 0x100, + MF_SOURCE_READERF_ALLEFFECTSREMOVED = 0x200 +} MF_SOURCE_READER_FLAG; +typedef struct _MF_SINK_WRITER_STATISTICS { + DWORD cb; + LONGLONG llLastTimestampReceived; + LONGLONG llLastTimestampEncoded; + LONGLONG llLastTimestampProcessed; + LONGLONG llLastStreamTickReceived; + LONGLONG llLastSinkSampleRequest; + QWORD qwNumSamplesReceived; + QWORD qwNumSamplesEncoded; + QWORD qwNumSamplesProcessed; + QWORD qwNumStreamTicksReceived; + DWORD dwByteCountQueued; + QWORD qwByteCountProcessed; + DWORD dwNumOutstandingSinkSampleRequests; + DWORD dwAverageSampleRateReceived; + DWORD dwAverageSampleRateEncoded; + DWORD dwAverageSampleRateProcessed; +} MF_SINK_WRITER_STATISTICS; +EXTERN_GUID(CLSID_MFReadWriteClassFactory, 0x48e2ed0f, 0x98c2, 0x4a37, 0xbe, 0xd5, 0x16, 0x63, 0x12, 0xdd, 0xd8, 0x3f); +EXTERN_GUID(CLSID_MFSourceReader, 0x1777133c, 0x0881, 0x411b, 0xa5, 0x77, 0xad, 0x54, 0x5f, 0x07, 0x14, 0xc4); +EXTERN_GUID(CLSID_MFSinkWriter, 0xa3bbfb17, 0x8273, 0x4e52, 0x9e, 0x0e, 0x97, 0x39, 0xdc, 0x88, 0x79, 0x90); +EXTERN_GUID(MF_SINK_WRITER_ASYNC_CALLBACK, 0x48cb183e, 0x7b0b, 0x46f4, 0x82, 0x2e, 0x5e, 0x1d, 0x2d, 0xda, 0x43, 0x54); +EXTERN_GUID(MF_SINK_WRITER_DISABLE_THROTTLING, 0x08b845d8, 0x2b74, 0x4afe, 0x9d, 0x53, 0xbe, 0x16, 0xd2, 0xd5, 0xae, 0x4f); +EXTERN_GUID(MF_SINK_WRITER_D3D_MANAGER, 0xec822da2, 0xe1e9, 0x4b29, 0xa0, 0xd8, 0x56, 0x3c, 0x71, 0x9f, 0x52, 0x69); +EXTERN_GUID(MF_SINK_WRITER_ENCODER_CONFIG, 0xad91cd04, 0xa7cc, 0x4ac7, 0x99, 0xb6, 0xa5, 0x7b, 0x9a, 0x4a, 0x7c, 0x70); +EXTERN_GUID(MF_READWRITE_DISABLE_CONVERTERS, 0x98d5b065, 0x1374, 0x4847, 0x8d, 0x5d, 0x31, 0x52, 0x0f, 0xee, 0x71, 0x56); +EXTERN_GUID(MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS, 0xa634a91c, 0x822b, 0x41b9, 0xa4, 0x94, 0x4d, 0xe4, 0x64, 0x36, 0x12, 0xb0); +EXTERN_GUID(MF_READWRITE_MMCSS_CLASS, 0x39384300, 0xd0eb, 0x40b1, 0x87, 0xa0, 0x33, 0x18, 0x87, 0x1b, 0x5a, 0x53); +EXTERN_GUID(MF_READWRITE_MMCSS_PRIORITY, 0x43ad19ce, 0xf33f, 0x4ba9, 0xa5, 0x80, 0xe4, 0xcd, 0x12, 0xf2, 0xd1, 0x44); +EXTERN_GUID(MF_READWRITE_MMCSS_CLASS_AUDIO, 0x430847da, 0x0890, 0x4b0e, 0x93, 0x8c, 0x05, 0x43, 0x32, 0xc5, 0x47, 0xe1); +EXTERN_GUID(MF_READWRITE_MMCSS_PRIORITY_AUDIO, 0x273db885, 0x2de2, 0x4db2, 0xa6, 0xa7, 0xfd, 0xb6, 0x6f, 0xb4, 0x0b, 0x61); +EXTERN_GUID(MF_READWRITE_D3D_OPTIONAL, 0x216479d9, 0x3071, 0x42ca, 0xbb, 0x6c, 0x4c, 0x22, 0x10, 0x2e, 0x1d, 0x18); +#ifndef __IMFMediaSource_FWD_DEFINED__ +#define __IMFMediaSource_FWD_DEFINED__ +typedef interface IMFMediaSource IMFMediaSource; +#ifdef __cplusplus +interface IMFMediaSource; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IMFSourceReader interface + */ +#ifndef __IMFSourceReader_INTERFACE_DEFINED__ +#define __IMFSourceReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFSourceReader, 0x70ae66f2, 0xc809, 0x4e4f, 0x89,0x15, 0xbd,0xcb,0x40,0x6b,0x79,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70ae66f2-c809-4e4f-8915-bdcb406b7993") +IMFSourceReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamSelection( + DWORD index, + BOOL *selected) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamSelection( + DWORD index, + BOOL selected) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNativeMediaType( + DWORD index, + DWORD typeindex, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentMediaType( + DWORD index, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentMediaType( + DWORD index, + DWORD *reserved, + IMFMediaType *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentPosition( + REFGUID format, + REFPROPVARIANT position) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadSample( + DWORD index, + DWORD flags, + DWORD *actualindex, + DWORD *sampleflags, + LONGLONG *timestamp, + IMFSample **sample) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + DWORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetServiceForStream( + DWORD index, + REFGUID service, + REFIID riid, + void **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPresentationAttribute( + DWORD index, + REFGUID guid, + PROPVARIANT *attr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFSourceReader, 0x70ae66f2, 0xc809, 0x4e4f, 0x89,0x15, 0xbd,0xcb,0x40,0x6b,0x79,0x93) +#endif +#else +typedef struct IMFSourceReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFSourceReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFSourceReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFSourceReader *This); + + /*** IMFSourceReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamSelection)( + IMFSourceReader *This, + DWORD index, + BOOL *selected); + + HRESULT (STDMETHODCALLTYPE *SetStreamSelection)( + IMFSourceReader *This, + DWORD index, + BOOL selected); + + HRESULT (STDMETHODCALLTYPE *GetNativeMediaType)( + IMFSourceReader *This, + DWORD index, + DWORD typeindex, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *GetCurrentMediaType)( + IMFSourceReader *This, + DWORD index, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *SetCurrentMediaType)( + IMFSourceReader *This, + DWORD index, + DWORD *reserved, + IMFMediaType *type); + + HRESULT (STDMETHODCALLTYPE *SetCurrentPosition)( + IMFSourceReader *This, + REFGUID format, + REFPROPVARIANT position); + + HRESULT (STDMETHODCALLTYPE *ReadSample)( + IMFSourceReader *This, + DWORD index, + DWORD flags, + DWORD *actualindex, + DWORD *sampleflags, + LONGLONG *timestamp, + IMFSample **sample); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IMFSourceReader *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *GetServiceForStream)( + IMFSourceReader *This, + DWORD index, + REFGUID service, + REFIID riid, + void **object); + + HRESULT (STDMETHODCALLTYPE *GetPresentationAttribute)( + IMFSourceReader *This, + DWORD index, + REFGUID guid, + PROPVARIANT *attr); + + END_INTERFACE +} IMFSourceReaderVtbl; + +interface IMFSourceReader { + CONST_VTBL IMFSourceReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFSourceReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFSourceReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFSourceReader_Release(This) (This)->lpVtbl->Release(This) +/*** IMFSourceReader methods ***/ +#define IMFSourceReader_GetStreamSelection(This,index,selected) (This)->lpVtbl->GetStreamSelection(This,index,selected) +#define IMFSourceReader_SetStreamSelection(This,index,selected) (This)->lpVtbl->SetStreamSelection(This,index,selected) +#define IMFSourceReader_GetNativeMediaType(This,index,typeindex,type) (This)->lpVtbl->GetNativeMediaType(This,index,typeindex,type) +#define IMFSourceReader_GetCurrentMediaType(This,index,type) (This)->lpVtbl->GetCurrentMediaType(This,index,type) +#define IMFSourceReader_SetCurrentMediaType(This,index,reserved,type) (This)->lpVtbl->SetCurrentMediaType(This,index,reserved,type) +#define IMFSourceReader_SetCurrentPosition(This,format,position) (This)->lpVtbl->SetCurrentPosition(This,format,position) +#define IMFSourceReader_ReadSample(This,index,flags,actualindex,sampleflags,timestamp,sample) (This)->lpVtbl->ReadSample(This,index,flags,actualindex,sampleflags,timestamp,sample) +#define IMFSourceReader_Flush(This,index) (This)->lpVtbl->Flush(This,index) +#define IMFSourceReader_GetServiceForStream(This,index,service,riid,object) (This)->lpVtbl->GetServiceForStream(This,index,service,riid,object) +#define IMFSourceReader_GetPresentationAttribute(This,index,guid,attr) (This)->lpVtbl->GetPresentationAttribute(This,index,guid,attr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFSourceReader_QueryInterface(IMFSourceReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFSourceReader_AddRef(IMFSourceReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFSourceReader_Release(IMFSourceReader* This) { + return This->lpVtbl->Release(This); +} +/*** IMFSourceReader methods ***/ +static FORCEINLINE HRESULT IMFSourceReader_GetStreamSelection(IMFSourceReader* This,DWORD index,BOOL *selected) { + return This->lpVtbl->GetStreamSelection(This,index,selected); +} +static FORCEINLINE HRESULT IMFSourceReader_SetStreamSelection(IMFSourceReader* This,DWORD index,BOOL selected) { + return This->lpVtbl->SetStreamSelection(This,index,selected); +} +static FORCEINLINE HRESULT IMFSourceReader_GetNativeMediaType(IMFSourceReader* This,DWORD index,DWORD typeindex,IMFMediaType **type) { + return This->lpVtbl->GetNativeMediaType(This,index,typeindex,type); +} +static FORCEINLINE HRESULT IMFSourceReader_GetCurrentMediaType(IMFSourceReader* This,DWORD index,IMFMediaType **type) { + return This->lpVtbl->GetCurrentMediaType(This,index,type); +} +static FORCEINLINE HRESULT IMFSourceReader_SetCurrentMediaType(IMFSourceReader* This,DWORD index,DWORD *reserved,IMFMediaType *type) { + return This->lpVtbl->SetCurrentMediaType(This,index,reserved,type); +} +static FORCEINLINE HRESULT IMFSourceReader_SetCurrentPosition(IMFSourceReader* This,REFGUID format,REFPROPVARIANT position) { + return This->lpVtbl->SetCurrentPosition(This,format,position); +} +static FORCEINLINE HRESULT IMFSourceReader_ReadSample(IMFSourceReader* This,DWORD index,DWORD flags,DWORD *actualindex,DWORD *sampleflags,LONGLONG *timestamp,IMFSample **sample) { + return This->lpVtbl->ReadSample(This,index,flags,actualindex,sampleflags,timestamp,sample); +} +static FORCEINLINE HRESULT IMFSourceReader_Flush(IMFSourceReader* This,DWORD index) { + return This->lpVtbl->Flush(This,index); +} +static FORCEINLINE HRESULT IMFSourceReader_GetServiceForStream(IMFSourceReader* This,DWORD index,REFGUID service,REFIID riid,void **object) { + return This->lpVtbl->GetServiceForStream(This,index,service,riid,object); +} +static FORCEINLINE HRESULT IMFSourceReader_GetPresentationAttribute(IMFSourceReader* This,DWORD index,REFGUID guid,PROPVARIANT *attr) { + return This->lpVtbl->GetPresentationAttribute(This,index,guid,attr); +} +#endif +#endif + +#endif + + +#endif /* __IMFSourceReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFSinkWriter interface + */ +#ifndef __IMFSinkWriter_INTERFACE_DEFINED__ +#define __IMFSinkWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFSinkWriter, 0x3137f1cd, 0xfe5e, 0x4805, 0xa5,0xd8, 0xfb,0x47,0x74,0x48,0xcb,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3137f1cd-fe5e-4805-a5d8-fb477448cb3d") +IMFSinkWriter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddStream( + IMFMediaType *type, + DWORD *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputMediaType( + DWORD index, + IMFMediaType *type, + IMFAttributes *parameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginWriting( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteSample( + DWORD index, + IMFSample *sample) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendStreamTick( + DWORD index, + LONGLONG timestamp) = 0; + + virtual HRESULT STDMETHODCALLTYPE PlaceMarker( + DWORD index, + void *context) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyEndOfSegment( + DWORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + DWORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finalize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetServiceForStream( + DWORD index, + REFGUID service, + REFIID riid, + void **object) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatistics( + DWORD index, + MF_SINK_WRITER_STATISTICS *stats) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFSinkWriter, 0x3137f1cd, 0xfe5e, 0x4805, 0xa5,0xd8, 0xfb,0x47,0x74,0x48,0xcb,0x3d) +#endif +#else +typedef struct IMFSinkWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFSinkWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFSinkWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFSinkWriter *This); + + /*** IMFSinkWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *AddStream)( + IMFSinkWriter *This, + IMFMediaType *type, + DWORD *index); + + HRESULT (STDMETHODCALLTYPE *SetInputMediaType)( + IMFSinkWriter *This, + DWORD index, + IMFMediaType *type, + IMFAttributes *parameters); + + HRESULT (STDMETHODCALLTYPE *BeginWriting)( + IMFSinkWriter *This); + + HRESULT (STDMETHODCALLTYPE *WriteSample)( + IMFSinkWriter *This, + DWORD index, + IMFSample *sample); + + HRESULT (STDMETHODCALLTYPE *SendStreamTick)( + IMFSinkWriter *This, + DWORD index, + LONGLONG timestamp); + + HRESULT (STDMETHODCALLTYPE *PlaceMarker)( + IMFSinkWriter *This, + DWORD index, + void *context); + + HRESULT (STDMETHODCALLTYPE *NotifyEndOfSegment)( + IMFSinkWriter *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IMFSinkWriter *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *Finalize)( + IMFSinkWriter *This); + + HRESULT (STDMETHODCALLTYPE *GetServiceForStream)( + IMFSinkWriter *This, + DWORD index, + REFGUID service, + REFIID riid, + void **object); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IMFSinkWriter *This, + DWORD index, + MF_SINK_WRITER_STATISTICS *stats); + + END_INTERFACE +} IMFSinkWriterVtbl; + +interface IMFSinkWriter { + CONST_VTBL IMFSinkWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFSinkWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFSinkWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFSinkWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IMFSinkWriter methods ***/ +#define IMFSinkWriter_AddStream(This,type,index) (This)->lpVtbl->AddStream(This,type,index) +#define IMFSinkWriter_SetInputMediaType(This,index,type,parameters) (This)->lpVtbl->SetInputMediaType(This,index,type,parameters) +#define IMFSinkWriter_BeginWriting(This) (This)->lpVtbl->BeginWriting(This) +#define IMFSinkWriter_WriteSample(This,index,sample) (This)->lpVtbl->WriteSample(This,index,sample) +#define IMFSinkWriter_SendStreamTick(This,index,timestamp) (This)->lpVtbl->SendStreamTick(This,index,timestamp) +#define IMFSinkWriter_PlaceMarker(This,index,context) (This)->lpVtbl->PlaceMarker(This,index,context) +#define IMFSinkWriter_NotifyEndOfSegment(This,index) (This)->lpVtbl->NotifyEndOfSegment(This,index) +#define IMFSinkWriter_Flush(This,index) (This)->lpVtbl->Flush(This,index) +#define IMFSinkWriter_Finalize(This) (This)->lpVtbl->Finalize(This) +#define IMFSinkWriter_GetServiceForStream(This,index,service,riid,object) (This)->lpVtbl->GetServiceForStream(This,index,service,riid,object) +#define IMFSinkWriter_GetStatistics(This,index,stats) (This)->lpVtbl->GetStatistics(This,index,stats) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFSinkWriter_QueryInterface(IMFSinkWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFSinkWriter_AddRef(IMFSinkWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFSinkWriter_Release(IMFSinkWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IMFSinkWriter methods ***/ +static FORCEINLINE HRESULT IMFSinkWriter_AddStream(IMFSinkWriter* This,IMFMediaType *type,DWORD *index) { + return This->lpVtbl->AddStream(This,type,index); +} +static FORCEINLINE HRESULT IMFSinkWriter_SetInputMediaType(IMFSinkWriter* This,DWORD index,IMFMediaType *type,IMFAttributes *parameters) { + return This->lpVtbl->SetInputMediaType(This,index,type,parameters); +} +static FORCEINLINE HRESULT IMFSinkWriter_BeginWriting(IMFSinkWriter* This) { + return This->lpVtbl->BeginWriting(This); +} +static FORCEINLINE HRESULT IMFSinkWriter_WriteSample(IMFSinkWriter* This,DWORD index,IMFSample *sample) { + return This->lpVtbl->WriteSample(This,index,sample); +} +static FORCEINLINE HRESULT IMFSinkWriter_SendStreamTick(IMFSinkWriter* This,DWORD index,LONGLONG timestamp) { + return This->lpVtbl->SendStreamTick(This,index,timestamp); +} +static FORCEINLINE HRESULT IMFSinkWriter_PlaceMarker(IMFSinkWriter* This,DWORD index,void *context) { + return This->lpVtbl->PlaceMarker(This,index,context); +} +static FORCEINLINE HRESULT IMFSinkWriter_NotifyEndOfSegment(IMFSinkWriter* This,DWORD index) { + return This->lpVtbl->NotifyEndOfSegment(This,index); +} +static FORCEINLINE HRESULT IMFSinkWriter_Flush(IMFSinkWriter* This,DWORD index) { + return This->lpVtbl->Flush(This,index); +} +static FORCEINLINE HRESULT IMFSinkWriter_Finalize(IMFSinkWriter* This) { + return This->lpVtbl->Finalize(This); +} +static FORCEINLINE HRESULT IMFSinkWriter_GetServiceForStream(IMFSinkWriter* This,DWORD index,REFGUID service,REFIID riid,void **object) { + return This->lpVtbl->GetServiceForStream(This,index,service,riid,object); +} +static FORCEINLINE HRESULT IMFSinkWriter_GetStatistics(IMFSinkWriter* This,DWORD index,MF_SINK_WRITER_STATISTICS *stats) { + return This->lpVtbl->GetStatistics(This,index,stats); +} +#endif +#endif + +#endif + + +#endif /* __IMFSinkWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMFSinkWriterEx interface + */ +#ifndef __IMFSinkWriterEx_INTERFACE_DEFINED__ +#define __IMFSinkWriterEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFSinkWriterEx, 0x588d72ab, 0x5bc1, 0x496a, 0x87,0x14, 0xb7,0x06,0x17,0x14,0x1b,0x25); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("588d72ab-5bc1-496a-8714-b70617141b25") +IMFSinkWriterEx : public IMFSinkWriter +{ + virtual HRESULT STDMETHODCALLTYPE GetTransformForStream( + DWORD index, + DWORD tindex, + GUID *category, + IMFTransform **transform) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFSinkWriterEx, 0x588d72ab, 0x5bc1, 0x496a, 0x87,0x14, 0xb7,0x06,0x17,0x14,0x1b,0x25) +#endif +#else +typedef struct IMFSinkWriterExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFSinkWriterEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFSinkWriterEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFSinkWriterEx *This); + + /*** IMFSinkWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *AddStream)( + IMFSinkWriterEx *This, + IMFMediaType *type, + DWORD *index); + + HRESULT (STDMETHODCALLTYPE *SetInputMediaType)( + IMFSinkWriterEx *This, + DWORD index, + IMFMediaType *type, + IMFAttributes *parameters); + + HRESULT (STDMETHODCALLTYPE *BeginWriting)( + IMFSinkWriterEx *This); + + HRESULT (STDMETHODCALLTYPE *WriteSample)( + IMFSinkWriterEx *This, + DWORD index, + IMFSample *sample); + + HRESULT (STDMETHODCALLTYPE *SendStreamTick)( + IMFSinkWriterEx *This, + DWORD index, + LONGLONG timestamp); + + HRESULT (STDMETHODCALLTYPE *PlaceMarker)( + IMFSinkWriterEx *This, + DWORD index, + void *context); + + HRESULT (STDMETHODCALLTYPE *NotifyEndOfSegment)( + IMFSinkWriterEx *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IMFSinkWriterEx *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *Finalize)( + IMFSinkWriterEx *This); + + HRESULT (STDMETHODCALLTYPE *GetServiceForStream)( + IMFSinkWriterEx *This, + DWORD index, + REFGUID service, + REFIID riid, + void **object); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IMFSinkWriterEx *This, + DWORD index, + MF_SINK_WRITER_STATISTICS *stats); + + /*** IMFSinkWriterEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTransformForStream)( + IMFSinkWriterEx *This, + DWORD index, + DWORD tindex, + GUID *category, + IMFTransform **transform); + + END_INTERFACE +} IMFSinkWriterExVtbl; + +interface IMFSinkWriterEx { + CONST_VTBL IMFSinkWriterExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFSinkWriterEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFSinkWriterEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFSinkWriterEx_Release(This) (This)->lpVtbl->Release(This) +/*** IMFSinkWriter methods ***/ +#define IMFSinkWriterEx_AddStream(This,type,index) (This)->lpVtbl->AddStream(This,type,index) +#define IMFSinkWriterEx_SetInputMediaType(This,index,type,parameters) (This)->lpVtbl->SetInputMediaType(This,index,type,parameters) +#define IMFSinkWriterEx_BeginWriting(This) (This)->lpVtbl->BeginWriting(This) +#define IMFSinkWriterEx_WriteSample(This,index,sample) (This)->lpVtbl->WriteSample(This,index,sample) +#define IMFSinkWriterEx_SendStreamTick(This,index,timestamp) (This)->lpVtbl->SendStreamTick(This,index,timestamp) +#define IMFSinkWriterEx_PlaceMarker(This,index,context) (This)->lpVtbl->PlaceMarker(This,index,context) +#define IMFSinkWriterEx_NotifyEndOfSegment(This,index) (This)->lpVtbl->NotifyEndOfSegment(This,index) +#define IMFSinkWriterEx_Flush(This,index) (This)->lpVtbl->Flush(This,index) +#define IMFSinkWriterEx_Finalize(This) (This)->lpVtbl->Finalize(This) +#define IMFSinkWriterEx_GetServiceForStream(This,index,service,riid,object) (This)->lpVtbl->GetServiceForStream(This,index,service,riid,object) +#define IMFSinkWriterEx_GetStatistics(This,index,stats) (This)->lpVtbl->GetStatistics(This,index,stats) +/*** IMFSinkWriterEx methods ***/ +#define IMFSinkWriterEx_GetTransformForStream(This,index,tindex,category,transform) (This)->lpVtbl->GetTransformForStream(This,index,tindex,category,transform) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFSinkWriterEx_QueryInterface(IMFSinkWriterEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFSinkWriterEx_AddRef(IMFSinkWriterEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFSinkWriterEx_Release(IMFSinkWriterEx* This) { + return This->lpVtbl->Release(This); +} +/*** IMFSinkWriter methods ***/ +static FORCEINLINE HRESULT IMFSinkWriterEx_AddStream(IMFSinkWriterEx* This,IMFMediaType *type,DWORD *index) { + return This->lpVtbl->AddStream(This,type,index); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_SetInputMediaType(IMFSinkWriterEx* This,DWORD index,IMFMediaType *type,IMFAttributes *parameters) { + return This->lpVtbl->SetInputMediaType(This,index,type,parameters); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_BeginWriting(IMFSinkWriterEx* This) { + return This->lpVtbl->BeginWriting(This); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_WriteSample(IMFSinkWriterEx* This,DWORD index,IMFSample *sample) { + return This->lpVtbl->WriteSample(This,index,sample); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_SendStreamTick(IMFSinkWriterEx* This,DWORD index,LONGLONG timestamp) { + return This->lpVtbl->SendStreamTick(This,index,timestamp); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_PlaceMarker(IMFSinkWriterEx* This,DWORD index,void *context) { + return This->lpVtbl->PlaceMarker(This,index,context); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_NotifyEndOfSegment(IMFSinkWriterEx* This,DWORD index) { + return This->lpVtbl->NotifyEndOfSegment(This,index); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_Flush(IMFSinkWriterEx* This,DWORD index) { + return This->lpVtbl->Flush(This,index); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_Finalize(IMFSinkWriterEx* This) { + return This->lpVtbl->Finalize(This); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_GetServiceForStream(IMFSinkWriterEx* This,DWORD index,REFGUID service,REFIID riid,void **object) { + return This->lpVtbl->GetServiceForStream(This,index,service,riid,object); +} +static FORCEINLINE HRESULT IMFSinkWriterEx_GetStatistics(IMFSinkWriterEx* This,DWORD index,MF_SINK_WRITER_STATISTICS *stats) { + return This->lpVtbl->GetStatistics(This,index,stats); +} +/*** IMFSinkWriterEx methods ***/ +static FORCEINLINE HRESULT IMFSinkWriterEx_GetTransformForStream(IMFSinkWriterEx* This,DWORD index,DWORD tindex,GUID *category,IMFTransform **transform) { + return This->lpVtbl->GetTransformForStream(This,index,tindex,category,transform); +} +#endif +#endif + +#endif + + +#endif /* __IMFSinkWriterEx_INTERFACE_DEFINED__ */ + +HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes, + IMFSourceReader **reader); +HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes, + IMFSourceReader **reader); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mfreadwrite_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfreadwrite.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfreadwrite.idl new file mode 100644 index 0000000..834aa09 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mfreadwrite.idl @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "mfobjects.idl"; +import "mftransform.idl"; + +enum +{ + MF_SOURCE_READER_INVALID_STREAM_INDEX = 0xffffffff, + MF_SOURCE_READER_ALL_STREAMS = 0xfffffffe, + MF_SOURCE_READER_ANY_STREAM = 0xfffffffe, + MF_SOURCE_READER_FIRST_AUDIO_STREAM = 0xfffffffd, + MF_SOURCE_READER_FIRST_VIDEO_STREAM = 0xfffffffc, + MF_SOURCE_READER_MEDIASOURCE = 0xffffffff, + MF_SOURCE_READER_CURRENT_TYPE_INDEX = 0xffffffff +}; + +typedef enum MF_SOURCE_READER_FLAG +{ + MF_SOURCE_READERF_ERROR = 0x001, + MF_SOURCE_READERF_ENDOFSTREAM = 0x002, + MF_SOURCE_READERF_NEWSTREAM = 0x004, + MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x010, + MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x020, + MF_SOURCE_READERF_STREAMTICK = 0x100, + MF_SOURCE_READERF_ALLEFFECTSREMOVED = 0x200 +} MF_SOURCE_READER_FLAG; + +typedef struct _MF_SINK_WRITER_STATISTICS +{ + DWORD cb; + LONGLONG llLastTimestampReceived; + LONGLONG llLastTimestampEncoded; + LONGLONG llLastTimestampProcessed; + LONGLONG llLastStreamTickReceived; + LONGLONG llLastSinkSampleRequest; + QWORD qwNumSamplesReceived; + QWORD qwNumSamplesEncoded; + QWORD qwNumSamplesProcessed; + QWORD qwNumStreamTicksReceived; + DWORD dwByteCountQueued; + QWORD qwByteCountProcessed; + DWORD dwNumOutstandingSinkSampleRequests; + DWORD dwAverageSampleRateReceived; + DWORD dwAverageSampleRateEncoded; + DWORD dwAverageSampleRateProcessed; +} MF_SINK_WRITER_STATISTICS; + +cpp_quote("EXTERN_GUID(CLSID_MFReadWriteClassFactory, 0x48e2ed0f, 0x98c2, 0x4a37, 0xbe, 0xd5, 0x16, 0x63, 0x12, 0xdd, 0xd8, 0x3f);") +cpp_quote("EXTERN_GUID(CLSID_MFSourceReader, 0x1777133c, 0x0881, 0x411b, 0xa5, 0x77, 0xad, 0x54, 0x5f, 0x07, 0x14, 0xc4);") +cpp_quote("EXTERN_GUID(CLSID_MFSinkWriter, 0xa3bbfb17, 0x8273, 0x4e52, 0x9e, 0x0e, 0x97, 0x39, 0xdc, 0x88, 0x79, 0x90);") + +cpp_quote("EXTERN_GUID(MF_SINK_WRITER_ASYNC_CALLBACK, 0x48cb183e, 0x7b0b, 0x46f4, 0x82, 0x2e, 0x5e, 0x1d, 0x2d, 0xda, 0x43, 0x54);") +cpp_quote("EXTERN_GUID(MF_SINK_WRITER_DISABLE_THROTTLING, 0x08b845d8, 0x2b74, 0x4afe, 0x9d, 0x53, 0xbe, 0x16, 0xd2, 0xd5, 0xae, 0x4f);") +cpp_quote("EXTERN_GUID(MF_SINK_WRITER_D3D_MANAGER, 0xec822da2, 0xe1e9, 0x4b29, 0xa0, 0xd8, 0x56, 0x3c, 0x71, 0x9f, 0x52, 0x69);") +cpp_quote("EXTERN_GUID(MF_SINK_WRITER_ENCODER_CONFIG, 0xad91cd04, 0xa7cc, 0x4ac7, 0x99, 0xb6, 0xa5, 0x7b, 0x9a, 0x4a, 0x7c, 0x70);") + +cpp_quote("EXTERN_GUID(MF_READWRITE_DISABLE_CONVERTERS, 0x98d5b065, 0x1374, 0x4847, 0x8d, 0x5d, 0x31, 0x52, 0x0f, 0xee, 0x71, 0x56);") +cpp_quote("EXTERN_GUID(MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS, 0xa634a91c, 0x822b, 0x41b9, 0xa4, 0x94, 0x4d, 0xe4, 0x64, 0x36, 0x12, 0xb0);") +cpp_quote("EXTERN_GUID(MF_READWRITE_MMCSS_CLASS, 0x39384300, 0xd0eb, 0x40b1, 0x87, 0xa0, 0x33, 0x18, 0x87, 0x1b, 0x5a, 0x53);") +cpp_quote("EXTERN_GUID(MF_READWRITE_MMCSS_PRIORITY, 0x43ad19ce, 0xf33f, 0x4ba9, 0xa5, 0x80, 0xe4, 0xcd, 0x12, 0xf2, 0xd1, 0x44);") +cpp_quote("EXTERN_GUID(MF_READWRITE_MMCSS_CLASS_AUDIO, 0x430847da, 0x0890, 0x4b0e, 0x93, 0x8c, 0x05, 0x43, 0x32, 0xc5, 0x47, 0xe1);") +cpp_quote("EXTERN_GUID(MF_READWRITE_MMCSS_PRIORITY_AUDIO, 0x273db885, 0x2de2, 0x4db2, 0xa6, 0xa7, 0xfd, 0xb6, 0x6f, 0xb4, 0x0b, 0x61);") +cpp_quote("EXTERN_GUID(MF_READWRITE_D3D_OPTIONAL, 0x216479d9, 0x3071, 0x42ca, 0xbb, 0x6c, 0x4c, 0x22, 0x10, 0x2e, 0x1d, 0x18);") + +interface IMFMediaSource; + +[ + object, + uuid(70ae66f2-c809-4e4f-8915-bdcb406b7993), + local +] +interface IMFSourceReader : IUnknown +{ + HRESULT GetStreamSelection([in] DWORD index, [out] BOOL *selected); + HRESULT SetStreamSelection([in] DWORD index, [in] BOOL selected); + HRESULT GetNativeMediaType([in] DWORD index, [in] DWORD typeindex, [out] IMFMediaType **type); + HRESULT GetCurrentMediaType([in] DWORD index, [out] IMFMediaType **type); + HRESULT SetCurrentMediaType([in] DWORD index, [in, out] DWORD *reserved, [in] IMFMediaType *type); + HRESULT SetCurrentPosition([in] REFGUID format, [in] REFPROPVARIANT position); + HRESULT ReadSample([in] DWORD index, [in] DWORD flags, [out] DWORD *actualindex, [out] DWORD *sampleflags, + [out] LONGLONG *timestamp, [out] IMFSample **sample); + HRESULT Flush([in] DWORD index); + HRESULT GetServiceForStream([in] DWORD index, [in] REFGUID service, [in] REFIID riid, [out] void **object); + HRESULT GetPresentationAttribute([in] DWORD index, [in] REFGUID guid, [out] PROPVARIANT *attr); +}; + +[ + object, + uuid(3137f1cd-fe5e-4805-a5d8-fb477448cb3d), + local +] +interface IMFSinkWriter : IUnknown +{ + HRESULT AddStream([in] IMFMediaType *type, [out] DWORD *index); + HRESULT SetInputMediaType([in] DWORD index, [in] IMFMediaType *type, [in] IMFAttributes *parameters); + HRESULT BeginWriting(void); + HRESULT WriteSample([in] DWORD index, [in] IMFSample *sample); + HRESULT SendStreamTick([in] DWORD index, [in] LONGLONG timestamp); + HRESULT PlaceMarker([in] DWORD index, [in] void *context); + HRESULT NotifyEndOfSegment([in] DWORD index); + HRESULT Flush([in] DWORD index); + HRESULT Finalize(void); + HRESULT GetServiceForStream([in] DWORD index, [in] REFGUID service, [in] REFIID riid, [out] void **object); + HRESULT GetStatistics([in] DWORD index, [out] MF_SINK_WRITER_STATISTICS *stats); +}; + +[ + object, + uuid(588d72ab-5Bc1-496a-8714-b70617141b25), + local +] +interface IMFSinkWriterEx : IMFSinkWriter +{ + HRESULT GetTransformForStream([in] DWORD index, [in] DWORD tindex, [out] GUID *category, + [out] IMFTransform **transform); +} + +cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes," ) +cpp_quote( " IMFSourceReader **reader);" ) +cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes," ) +cpp_quote( " IMFSourceReader **reader);" ) diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mftransform.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mftransform.h new file mode 100644 index 0000000..ce3ab04 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mftransform.h @@ -0,0 +1,457 @@ +/*** Autogenerated by WIDL 2.18 from mftransform.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mftransform_h__ +#define __mftransform_h__ + +/* Forward declarations */ + +#ifndef __IMFTransform_FWD_DEFINED__ +#define __IMFTransform_FWD_DEFINED__ +typedef interface IMFTransform IMFTransform; +#ifdef __cplusplus +interface IMFTransform; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _MFT_INPUT_STREAM_INFO { + LONGLONG hnsMaxLatency; + DWORD dwFlags; + DWORD cbSize; + DWORD cbMaxLookahead; + DWORD cbAlignment; +} MFT_INPUT_STREAM_INFO; +typedef struct _MFT_OUTPUT_STREAM_INFO { + DWORD dwFlags; + DWORD cbSize; + DWORD cbAlignment; +} MFT_OUTPUT_STREAM_INFO; +typedef struct _MFT_OUTPUT_DATA_BUFFER { + DWORD dwStreamID; + IMFSample *pSample; + DWORD dwStatus; + IMFCollection *pEvents; +} MFT_OUTPUT_DATA_BUFFER; +typedef struct _MFT_OUTPUT_DATA_BUFFER *PMFT_OUTPUT_DATA_BUFFER; +typedef enum _MFT_MESSAGE_TYPE { + MFT_MESSAGE_COMMAND_FLUSH = 0x0, + MFT_MESSAGE_COMMAND_DRAIN = 0x1, + MFT_MESSAGE_SET_D3D_MANAGER = 0x2, + MFT_MESSAGE_DROP_SAMPLES = 0x3, + MFT_MESSAGE_COMMAND_TICK = 0x4, + MFT_MESSAGE_NOTIFY_BEGIN_STREAMING = 0x10000000, + MFT_MESSAGE_NOTIFY_END_STREAMING = 0x10000001, + MFT_MESSAGE_NOTIFY_END_OF_STREAM = 0x10000002, + MFT_MESSAGE_NOTIFY_START_OF_STREAM = 0x10000003, + MFT_MESSAGE_COMMAND_MARKER = 0x20000000 +} MFT_MESSAGE_TYPE; +/***************************************************************************** + * IMFTransform interface + */ +#ifndef __IMFTransform_INTERFACE_DEFINED__ +#define __IMFTransform_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMFTransform, 0xbf94c121, 0x5b05, 0x4e6f, 0x80,0x00, 0xba,0x59,0x89,0x61,0x41,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bf94c121-5b05-4e6f-8000-ba598961414d") +IMFTransform : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamLimits( + DWORD *input_minimum, + DWORD *input_maximum, + DWORD *output_minimum, + DWORD *output_maximum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamCount( + DWORD *inputs, + DWORD *outputs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamIDs( + DWORD input_size, + DWORD *inputs, + DWORD output_size, + DWORD *outputs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputStreamInfo( + DWORD id, + MFT_INPUT_STREAM_INFO *info) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputStreamInfo( + DWORD id, + MFT_OUTPUT_STREAM_INFO *info) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributes( + IMFAttributes **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputStreamAttributes( + DWORD id, + IMFAttributes **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputStreamAttributes( + DWORD id, + IMFAttributes **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteInputStream( + DWORD id) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddInputStreams( + DWORD streams, + DWORD *ids) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputAvailableType( + DWORD id, + DWORD index, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputAvailableType( + DWORD id, + DWORD index, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputType( + DWORD id, + IMFMediaType *type, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputType( + DWORD id, + IMFMediaType *type, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputCurrentType( + DWORD id, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputCurrentType( + DWORD id, + IMFMediaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputStatus( + DWORD id, + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputStatus( + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputBounds( + LONGLONG lower, + LONGLONG upper) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessEvent( + DWORD id, + IMFMediaEvent *event) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessMessage( + MFT_MESSAGE_TYPE message, + ULONG_PTR param) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessInput( + DWORD id, + IMFSample *sample, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessOutput( + DWORD flags, + DWORD count, + MFT_OUTPUT_DATA_BUFFER *samples, + DWORD *status) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMFTransform, 0xbf94c121, 0x5b05, 0x4e6f, 0x80,0x00, 0xba,0x59,0x89,0x61,0x41,0x4d) +#endif +#else +typedef struct IMFTransformVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMFTransform *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMFTransform *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMFTransform *This); + + /*** IMFTransform methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamLimits)( + IMFTransform *This, + DWORD *input_minimum, + DWORD *input_maximum, + DWORD *output_minimum, + DWORD *output_maximum); + + HRESULT (STDMETHODCALLTYPE *GetStreamCount)( + IMFTransform *This, + DWORD *inputs, + DWORD *outputs); + + HRESULT (STDMETHODCALLTYPE *GetStreamIDs)( + IMFTransform *This, + DWORD input_size, + DWORD *inputs, + DWORD output_size, + DWORD *outputs); + + HRESULT (STDMETHODCALLTYPE *GetInputStreamInfo)( + IMFTransform *This, + DWORD id, + MFT_INPUT_STREAM_INFO *info); + + HRESULT (STDMETHODCALLTYPE *GetOutputStreamInfo)( + IMFTransform *This, + DWORD id, + MFT_OUTPUT_STREAM_INFO *info); + + HRESULT (STDMETHODCALLTYPE *GetAttributes)( + IMFTransform *This, + IMFAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *GetInputStreamAttributes)( + IMFTransform *This, + DWORD id, + IMFAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *GetOutputStreamAttributes)( + IMFTransform *This, + DWORD id, + IMFAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *DeleteInputStream)( + IMFTransform *This, + DWORD id); + + HRESULT (STDMETHODCALLTYPE *AddInputStreams)( + IMFTransform *This, + DWORD streams, + DWORD *ids); + + HRESULT (STDMETHODCALLTYPE *GetInputAvailableType)( + IMFTransform *This, + DWORD id, + DWORD index, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *GetOutputAvailableType)( + IMFTransform *This, + DWORD id, + DWORD index, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *SetInputType)( + IMFTransform *This, + DWORD id, + IMFMediaType *type, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *SetOutputType)( + IMFTransform *This, + DWORD id, + IMFMediaType *type, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *GetInputCurrentType)( + IMFTransform *This, + DWORD id, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *GetOutputCurrentType)( + IMFTransform *This, + DWORD id, + IMFMediaType **type); + + HRESULT (STDMETHODCALLTYPE *GetInputStatus)( + IMFTransform *This, + DWORD id, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *GetOutputStatus)( + IMFTransform *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *SetOutputBounds)( + IMFTransform *This, + LONGLONG lower, + LONGLONG upper); + + HRESULT (STDMETHODCALLTYPE *ProcessEvent)( + IMFTransform *This, + DWORD id, + IMFMediaEvent *event); + + HRESULT (STDMETHODCALLTYPE *ProcessMessage)( + IMFTransform *This, + MFT_MESSAGE_TYPE message, + ULONG_PTR param); + + HRESULT (STDMETHODCALLTYPE *ProcessInput)( + IMFTransform *This, + DWORD id, + IMFSample *sample, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *ProcessOutput)( + IMFTransform *This, + DWORD flags, + DWORD count, + MFT_OUTPUT_DATA_BUFFER *samples, + DWORD *status); + + END_INTERFACE +} IMFTransformVtbl; + +interface IMFTransform { + CONST_VTBL IMFTransformVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMFTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMFTransform_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMFTransform_Release(This) (This)->lpVtbl->Release(This) +/*** IMFTransform methods ***/ +#define IMFTransform_GetStreamLimits(This,input_minimum,input_maximum,output_minimum,output_maximum) (This)->lpVtbl->GetStreamLimits(This,input_minimum,input_maximum,output_minimum,output_maximum) +#define IMFTransform_GetStreamCount(This,inputs,outputs) (This)->lpVtbl->GetStreamCount(This,inputs,outputs) +#define IMFTransform_GetStreamIDs(This,input_size,inputs,output_size,outputs) (This)->lpVtbl->GetStreamIDs(This,input_size,inputs,output_size,outputs) +#define IMFTransform_GetInputStreamInfo(This,id,info) (This)->lpVtbl->GetInputStreamInfo(This,id,info) +#define IMFTransform_GetOutputStreamInfo(This,id,info) (This)->lpVtbl->GetOutputStreamInfo(This,id,info) +#define IMFTransform_GetAttributes(This,attributes) (This)->lpVtbl->GetAttributes(This,attributes) +#define IMFTransform_GetInputStreamAttributes(This,id,attributes) (This)->lpVtbl->GetInputStreamAttributes(This,id,attributes) +#define IMFTransform_GetOutputStreamAttributes(This,id,attributes) (This)->lpVtbl->GetOutputStreamAttributes(This,id,attributes) +#define IMFTransform_DeleteInputStream(This,id) (This)->lpVtbl->DeleteInputStream(This,id) +#define IMFTransform_AddInputStreams(This,streams,ids) (This)->lpVtbl->AddInputStreams(This,streams,ids) +#define IMFTransform_GetInputAvailableType(This,id,index,type) (This)->lpVtbl->GetInputAvailableType(This,id,index,type) +#define IMFTransform_GetOutputAvailableType(This,id,index,type) (This)->lpVtbl->GetOutputAvailableType(This,id,index,type) +#define IMFTransform_SetInputType(This,id,type,flags) (This)->lpVtbl->SetInputType(This,id,type,flags) +#define IMFTransform_SetOutputType(This,id,type,flags) (This)->lpVtbl->SetOutputType(This,id,type,flags) +#define IMFTransform_GetInputCurrentType(This,id,type) (This)->lpVtbl->GetInputCurrentType(This,id,type) +#define IMFTransform_GetOutputCurrentType(This,id,type) (This)->lpVtbl->GetOutputCurrentType(This,id,type) +#define IMFTransform_GetInputStatus(This,id,flags) (This)->lpVtbl->GetInputStatus(This,id,flags) +#define IMFTransform_GetOutputStatus(This,flags) (This)->lpVtbl->GetOutputStatus(This,flags) +#define IMFTransform_SetOutputBounds(This,lower,upper) (This)->lpVtbl->SetOutputBounds(This,lower,upper) +#define IMFTransform_ProcessEvent(This,id,event) (This)->lpVtbl->ProcessEvent(This,id,event) +#define IMFTransform_ProcessMessage(This,message,param) (This)->lpVtbl->ProcessMessage(This,message,param) +#define IMFTransform_ProcessInput(This,id,sample,flags) (This)->lpVtbl->ProcessInput(This,id,sample,flags) +#define IMFTransform_ProcessOutput(This,flags,count,samples,status) (This)->lpVtbl->ProcessOutput(This,flags,count,samples,status) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMFTransform_QueryInterface(IMFTransform* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMFTransform_AddRef(IMFTransform* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMFTransform_Release(IMFTransform* This) { + return This->lpVtbl->Release(This); +} +/*** IMFTransform methods ***/ +static FORCEINLINE HRESULT IMFTransform_GetStreamLimits(IMFTransform* This,DWORD *input_minimum,DWORD *input_maximum,DWORD *output_minimum,DWORD *output_maximum) { + return This->lpVtbl->GetStreamLimits(This,input_minimum,input_maximum,output_minimum,output_maximum); +} +static FORCEINLINE HRESULT IMFTransform_GetStreamCount(IMFTransform* This,DWORD *inputs,DWORD *outputs) { + return This->lpVtbl->GetStreamCount(This,inputs,outputs); +} +static FORCEINLINE HRESULT IMFTransform_GetStreamIDs(IMFTransform* This,DWORD input_size,DWORD *inputs,DWORD output_size,DWORD *outputs) { + return This->lpVtbl->GetStreamIDs(This,input_size,inputs,output_size,outputs); +} +static FORCEINLINE HRESULT IMFTransform_GetInputStreamInfo(IMFTransform* This,DWORD id,MFT_INPUT_STREAM_INFO *info) { + return This->lpVtbl->GetInputStreamInfo(This,id,info); +} +static FORCEINLINE HRESULT IMFTransform_GetOutputStreamInfo(IMFTransform* This,DWORD id,MFT_OUTPUT_STREAM_INFO *info) { + return This->lpVtbl->GetOutputStreamInfo(This,id,info); +} +static FORCEINLINE HRESULT IMFTransform_GetAttributes(IMFTransform* This,IMFAttributes **attributes) { + return This->lpVtbl->GetAttributes(This,attributes); +} +static FORCEINLINE HRESULT IMFTransform_GetInputStreamAttributes(IMFTransform* This,DWORD id,IMFAttributes **attributes) { + return This->lpVtbl->GetInputStreamAttributes(This,id,attributes); +} +static FORCEINLINE HRESULT IMFTransform_GetOutputStreamAttributes(IMFTransform* This,DWORD id,IMFAttributes **attributes) { + return This->lpVtbl->GetOutputStreamAttributes(This,id,attributes); +} +static FORCEINLINE HRESULT IMFTransform_DeleteInputStream(IMFTransform* This,DWORD id) { + return This->lpVtbl->DeleteInputStream(This,id); +} +static FORCEINLINE HRESULT IMFTransform_AddInputStreams(IMFTransform* This,DWORD streams,DWORD *ids) { + return This->lpVtbl->AddInputStreams(This,streams,ids); +} +static FORCEINLINE HRESULT IMFTransform_GetInputAvailableType(IMFTransform* This,DWORD id,DWORD index,IMFMediaType **type) { + return This->lpVtbl->GetInputAvailableType(This,id,index,type); +} +static FORCEINLINE HRESULT IMFTransform_GetOutputAvailableType(IMFTransform* This,DWORD id,DWORD index,IMFMediaType **type) { + return This->lpVtbl->GetOutputAvailableType(This,id,index,type); +} +static FORCEINLINE HRESULT IMFTransform_SetInputType(IMFTransform* This,DWORD id,IMFMediaType *type,DWORD flags) { + return This->lpVtbl->SetInputType(This,id,type,flags); +} +static FORCEINLINE HRESULT IMFTransform_SetOutputType(IMFTransform* This,DWORD id,IMFMediaType *type,DWORD flags) { + return This->lpVtbl->SetOutputType(This,id,type,flags); +} +static FORCEINLINE HRESULT IMFTransform_GetInputCurrentType(IMFTransform* This,DWORD id,IMFMediaType **type) { + return This->lpVtbl->GetInputCurrentType(This,id,type); +} +static FORCEINLINE HRESULT IMFTransform_GetOutputCurrentType(IMFTransform* This,DWORD id,IMFMediaType **type) { + return This->lpVtbl->GetOutputCurrentType(This,id,type); +} +static FORCEINLINE HRESULT IMFTransform_GetInputStatus(IMFTransform* This,DWORD id,DWORD *flags) { + return This->lpVtbl->GetInputStatus(This,id,flags); +} +static FORCEINLINE HRESULT IMFTransform_GetOutputStatus(IMFTransform* This,DWORD *flags) { + return This->lpVtbl->GetOutputStatus(This,flags); +} +static FORCEINLINE HRESULT IMFTransform_SetOutputBounds(IMFTransform* This,LONGLONG lower,LONGLONG upper) { + return This->lpVtbl->SetOutputBounds(This,lower,upper); +} +static FORCEINLINE HRESULT IMFTransform_ProcessEvent(IMFTransform* This,DWORD id,IMFMediaEvent *event) { + return This->lpVtbl->ProcessEvent(This,id,event); +} +static FORCEINLINE HRESULT IMFTransform_ProcessMessage(IMFTransform* This,MFT_MESSAGE_TYPE message,ULONG_PTR param) { + return This->lpVtbl->ProcessMessage(This,message,param); +} +static FORCEINLINE HRESULT IMFTransform_ProcessInput(IMFTransform* This,DWORD id,IMFSample *sample,DWORD flags) { + return This->lpVtbl->ProcessInput(This,id,sample,flags); +} +static FORCEINLINE HRESULT IMFTransform_ProcessOutput(IMFTransform* This,DWORD flags,DWORD count,MFT_OUTPUT_DATA_BUFFER *samples,DWORD *status) { + return This->lpVtbl->ProcessOutput(This,flags,count,samples,status); +} +#endif +#endif + +#endif + + +#endif /* __IMFTransform_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mftransform_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mftransform.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mftransform.idl new file mode 100644 index 0000000..165cad4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mftransform.idl @@ -0,0 +1,113 @@ +/* + * Copyright 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "mfobjects.idl"; + +typedef struct _MFT_INPUT_STREAM_INFO +{ + LONGLONG hnsMaxLatency; + DWORD dwFlags; + DWORD cbSize; + DWORD cbMaxLookahead; + DWORD cbAlignment; +} MFT_INPUT_STREAM_INFO; + +typedef struct _MFT_OUTPUT_STREAM_INFO +{ + DWORD dwFlags; + DWORD cbSize; + DWORD cbAlignment; +} MFT_OUTPUT_STREAM_INFO; + +typedef struct _MFT_OUTPUT_DATA_BUFFER +{ + DWORD dwStreamID; + IMFSample *pSample; + DWORD dwStatus; + IMFCollection *pEvents; +} MFT_OUTPUT_DATA_BUFFER, *PMFT_OUTPUT_DATA_BUFFER; + +typedef enum _MFT_MESSAGE_TYPE +{ + MFT_MESSAGE_COMMAND_FLUSH = 0x00000000, + MFT_MESSAGE_COMMAND_DRAIN = 0x00000001, + MFT_MESSAGE_SET_D3D_MANAGER = 0x00000002, + MFT_MESSAGE_DROP_SAMPLES = 0x00000003, + MFT_MESSAGE_COMMAND_TICK = 0x00000004, + MFT_MESSAGE_NOTIFY_BEGIN_STREAMING = 0x10000000, + MFT_MESSAGE_NOTIFY_END_STREAMING = 0x10000001, + MFT_MESSAGE_NOTIFY_END_OF_STREAM = 0x10000002, + MFT_MESSAGE_NOTIFY_START_OF_STREAM = 0x10000003, + MFT_MESSAGE_COMMAND_MARKER = 0x20000000 +} MFT_MESSAGE_TYPE; + +[ + object, + uuid(bf94c121-5b05-4e6f-8000-ba598961414d) +] +interface IMFTransform : IUnknown +{ + HRESULT GetStreamLimits([out] DWORD *input_minimum, [out] DWORD *input_maximum, [out] DWORD *output_minimum, + [out] DWORD *output_maximum); + + HRESULT GetStreamCount([out] DWORD *inputs, [out] DWORD *outputs); + + HRESULT GetStreamIDs([in] DWORD input_size, [out,size_is(input_size)] DWORD *inputs, + [in] DWORD output_size, [out,size_is(output_size)] DWORD *outputs); + + HRESULT GetInputStreamInfo([in] DWORD id, [out] MFT_INPUT_STREAM_INFO *info); + + HRESULT GetOutputStreamInfo([in] DWORD id, [out] MFT_OUTPUT_STREAM_INFO *info); + + HRESULT GetAttributes([out] IMFAttributes **attributes); + + HRESULT GetInputStreamAttributes([in] DWORD id, [out] IMFAttributes **attributes); + + HRESULT GetOutputStreamAttributes([in] DWORD id, [out] IMFAttributes **attributes); + + HRESULT DeleteInputStream([in] DWORD id); + + HRESULT AddInputStreams([in] DWORD streams, [in] DWORD *ids); + + HRESULT GetInputAvailableType([in] DWORD id, [in] DWORD index, [out] IMFMediaType **type); + + HRESULT GetOutputAvailableType([in] DWORD id, [in] DWORD index, [out] IMFMediaType **type); + + HRESULT SetInputType(DWORD id, [in] IMFMediaType *type, [in] DWORD flags); + + HRESULT SetOutputType(DWORD id, [in] IMFMediaType *type, [in] DWORD flags); + + HRESULT GetInputCurrentType([in] DWORD id, [out] IMFMediaType **type); + + HRESULT GetOutputCurrentType([in] DWORD id, [out] IMFMediaType **type); + + HRESULT GetInputStatus([in] DWORD id, [out] DWORD *flags); + + HRESULT GetOutputStatus([out] DWORD *flags); + + HRESULT SetOutputBounds([in] LONGLONG lower, [in] LONGLONG upper); + + HRESULT ProcessEvent([in] DWORD id, [in] IMFMediaEvent *event); + + HRESULT ProcessMessage([in] MFT_MESSAGE_TYPE message, [in] ULONG_PTR param); + + [local] HRESULT ProcessInput([in] DWORD id, [in] IMFSample *sample, [in] DWORD flags); + + [local] HRESULT ProcessOutput([in] DWORD flags, [in] DWORD count, [in,out,size_is(count)] MFT_OUTPUT_DATA_BUFFER *samples, + [out] DWORD *status); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/midles.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/midles.h new file mode 100644 index 0000000..4cf3ddc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/midles.h @@ -0,0 +1,134 @@ +/* + * NDR Serialization Services + * + * Copyright (c) 2007 Robert Shearman for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MIDLES_H__ +#define __WINE_MIDLES_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum +{ + MES_ENCODE, + MES_DECODE, + MES_ENCODE_NDR64 +} MIDL_ES_CODE; + +typedef enum +{ + MES_INCREMENTAL_HANDLE, + MES_FIXED_BUFFER_HANDLE, + MES_DYNAMIC_BUFFER_HANDLE +} MIDL_ES_HANDLE_STYLE; + +typedef void (__RPC_USER * MIDL_ES_ALLOC)(void *,char **,unsigned int *); +typedef void (__RPC_USER * MIDL_ES_WRITE)(void *,char *,unsigned int); +typedef void (__RPC_USER * MIDL_ES_READ)(void *,char **,unsigned int *); + +typedef struct _MIDL_ES_MESSAGE +{ + MIDL_STUB_MESSAGE StubMsg; + MIDL_ES_CODE Operation; + void *UserState; + ULONG MesVersion : 8; + ULONG HandleStyle : 8; + ULONG HandleFlags : 8; + ULONG Reserve : 8; + MIDL_ES_ALLOC Alloc; + MIDL_ES_WRITE Write; + MIDL_ES_READ Read; + unsigned char *Buffer; + ULONG BufferSize; + unsigned char **pDynBuffer; + ULONG *pEncodedSize; + RPC_SYNTAX_IDENTIFIER InterfaceId; + ULONG ProcNumber; + ULONG AlienDataRep; + ULONG IncrDataSize; + ULONG ByteCount; +} MIDL_ES_MESSAGE, *PMIDL_ES_MESSAGE; + +typedef PMIDL_ES_MESSAGE MIDL_ES_HANDLE; + +typedef struct _MIDL_TYPE_PICKLING_INFO +{ + ULONG Version; + ULONG Flags; + UINT_PTR Reserved[3]; +} MIDL_TYPE_PICKLING_INFO, *PMIDL_TYPE_PICKLING_INFO; + +RPC_STATUS RPC_ENTRY + MesEncodeIncrementalHandleCreate(void *,MIDL_ES_ALLOC,MIDL_ES_WRITE,handle_t *); +RPC_STATUS RPC_ENTRY + MesDecodeIncrementalHandleCreate(void *,MIDL_ES_READ,handle_t *); +RPC_STATUS RPC_ENTRY + MesIncrementalHandleReset(handle_t,void *,MIDL_ES_ALLOC,MIDL_ES_WRITE,MIDL_ES_READ,MIDL_ES_CODE); + +RPC_STATUS RPC_ENTRY + MesEncodeFixedBufferHandleCreate(char *,ULONG,ULONG *,handle_t *); +RPC_STATUS RPC_ENTRY + MesEncodeDynBufferHandleCreate(char **,ULONG *,handle_t *); +RPC_STATUS RPC_ENTRY + MesDecodeBufferHandleCreate(char *,ULONG,handle_t *); +RPC_STATUS RPC_ENTRY + MesBufferHandleReset(handle_t,ULONG,MIDL_ES_CODE,char **,ULONG,ULONG *); + +RPC_STATUS RPC_ENTRY + MesHandleFree(handle_t); + +RPC_STATUS RPC_ENTRY + MesInqProcEncodingId(handle_t,PRPC_SYNTAX_IDENTIFIER,ULONG *); + +SIZE_T RPC_ENTRY + NdrMesSimpleTypeAlignSize(handle_t); +void RPC_ENTRY + NdrMesSimpleTypeDecode(handle_t,void *,short); +void RPC_ENTRY + NdrMesSimpleTypeEncode(handle_t,const MIDL_STUB_DESC *,const void *,short); + +SIZE_T RPC_ENTRY + NdrMesTypeAlignSize(handle_t,const MIDL_STUB_DESC *,PFORMAT_STRING,const void *); +void RPC_ENTRY + NdrMesTypeEncode(handle_t,const MIDL_STUB_DESC *,PFORMAT_STRING,const void *); +void RPC_ENTRY + NdrMesTypeDecode(handle_t,const MIDL_STUB_DESC *,PFORMAT_STRING,void *); + +SIZE_T RPC_ENTRY + NdrMesTypeAlignSize2(handle_t,const MIDL_TYPE_PICKLING_INFO *,const MIDL_STUB_DESC *,PFORMAT_STRING,const void *); +void RPC_ENTRY + NdrMesTypeEncode2(handle_t,const MIDL_TYPE_PICKLING_INFO *,const MIDL_STUB_DESC *,PFORMAT_STRING,const void *); +void RPC_ENTRY + NdrMesTypeDecode2(handle_t,const MIDL_TYPE_PICKLING_INFO *,const MIDL_STUB_DESC *,PFORMAT_STRING,void *); +void RPC_ENTRY + NdrMesTypeFree2(handle_t,const MIDL_TYPE_PICKLING_INFO *,const MIDL_STUB_DESC *,PFORMAT_STRING,void *); + +void RPC_VAR_ENTRY + NdrMesProcEncodeDecode(handle_t,const MIDL_STUB_DESC *,PFORMAT_STRING,...); +CLIENT_CALL_RETURN RPC_VAR_ENTRY + NdrMesProcEncodeDeocde2(handle_t,const MIDL_STUB_DESC *,PFORMAT_STRING,...); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MIDLES_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeinfo.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeinfo.h new file mode 100644 index 0000000..4b6dbee --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeinfo.h @@ -0,0 +1,128 @@ +/*** Autogenerated by WIDL 2.18 from mimeinfo.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mimeinfo_h__ +#define __mimeinfo_h__ + +/* Forward declarations */ + +#ifndef __IMimeInfo_FWD_DEFINED__ +#define __IMimeInfo_FWD_DEFINED__ +typedef interface IMimeInfo IMimeInfo; +#ifdef __cplusplus +interface IMimeInfo; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IMimeInfo interface + */ +#ifndef __IMimeInfo_INTERFACE_DEFINED__ +#define __IMimeInfo_INTERFACE_DEFINED__ + +typedef IMimeInfo *LPMIMEINFO; +DEFINE_GUID(IID_IMimeInfo, 0xf77459a0, 0xbf9a, 0x11cf, 0xba,0x4e, 0x00,0xc0,0x4f,0xd7,0x08,0x16); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f77459a0-bf9a-11cf-ba4e-00c04fd70816") +IMimeInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMimeCLSIDMapping( + UINT *pcTypes, + LPCSTR **ppszTypes, + CLSID **ppclsID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeInfo, 0xf77459a0, 0xbf9a, 0x11cf, 0xba,0x4e, 0x00,0xc0,0x4f,0xd7,0x08,0x16) +#endif +#else +typedef struct IMimeInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeInfo *This); + + /*** IMimeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMimeCLSIDMapping)( + IMimeInfo *This, + UINT *pcTypes, + LPCSTR **ppszTypes, + CLSID **ppclsID); + + END_INTERFACE +} IMimeInfoVtbl; + +interface IMimeInfo { + CONST_VTBL IMimeInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IMimeInfo methods ***/ +#define IMimeInfo_GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID) (This)->lpVtbl->GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeInfo_QueryInterface(IMimeInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeInfo_AddRef(IMimeInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeInfo_Release(IMimeInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IMimeInfo methods ***/ +static FORCEINLINE HRESULT IMimeInfo_GetMimeCLSIDMapping(IMimeInfo* This,UINT *pcTypes,LPCSTR **ppszTypes,CLSID **ppclsID) { + return This->lpVtbl->GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID); +} +#endif +#endif + +#endif + + +#endif /* __IMimeInfo_INTERFACE_DEFINED__ */ + +#define SID_IMimeInfo IID_IMimeInfo +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mimeinfo_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeinfo.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeinfo.idl new file mode 100644 index 0000000..5925719 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeinfo.idl @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + +[ + local, + object, + uuid(f77459a0-bf9a-11cf-ba4e-00c04fd70816), + pointer_default(unique) +] +interface IMimeInfo : IUnknown +{ + typedef [unique] IMimeInfo *LPMIMEINFO; + + HRESULT GetMimeCLSIDMapping( [out] UINT *pcTypes, + [out] LPCSTR * *ppszTypes, + [out] CLSID * *ppclsID ); +} + +cpp_quote("#define SID_IMimeInfo IID_IMimeInfo") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeole.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeole.h new file mode 100644 index 0000000..f16a443 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeole.h @@ -0,0 +1,5226 @@ +/*** Autogenerated by WIDL 2.18 from mimeole.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mimeole_h__ +#define __mimeole_h__ + +/* Forward declarations */ + +#ifndef __IMimeInternational_FWD_DEFINED__ +#define __IMimeInternational_FWD_DEFINED__ +typedef interface IMimeInternational IMimeInternational; +#ifdef __cplusplus +interface IMimeInternational; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeSecurity_FWD_DEFINED__ +#define __IMimeSecurity_FWD_DEFINED__ +typedef interface IMimeSecurity IMimeSecurity; +#ifdef __cplusplus +interface IMimeSecurity; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeHeaderTable_FWD_DEFINED__ +#define __IMimeHeaderTable_FWD_DEFINED__ +typedef interface IMimeHeaderTable IMimeHeaderTable; +#ifdef __cplusplus +interface IMimeHeaderTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimePropertySchema_FWD_DEFINED__ +#define __IMimePropertySchema_FWD_DEFINED__ +typedef interface IMimePropertySchema IMimePropertySchema; +#ifdef __cplusplus +interface IMimePropertySchema; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimePropertySet_FWD_DEFINED__ +#define __IMimePropertySet_FWD_DEFINED__ +typedef interface IMimePropertySet IMimePropertySet; +#ifdef __cplusplus +interface IMimePropertySet; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeAddressTable_FWD_DEFINED__ +#define __IMimeAddressTable_FWD_DEFINED__ +typedef interface IMimeAddressTable IMimeAddressTable; +#ifdef __cplusplus +interface IMimeAddressTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeWebDocument_FWD_DEFINED__ +#define __IMimeWebDocument_FWD_DEFINED__ +typedef interface IMimeWebDocument IMimeWebDocument; +#ifdef __cplusplus +interface IMimeWebDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeBody_FWD_DEFINED__ +#define __IMimeBody_FWD_DEFINED__ +typedef interface IMimeBody IMimeBody; +#ifdef __cplusplus +interface IMimeBody; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeMessageTree_FWD_DEFINED__ +#define __IMimeMessageTree_FWD_DEFINED__ +typedef interface IMimeMessageTree IMimeMessageTree; +#ifdef __cplusplus +interface IMimeMessageTree; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeMessage_FWD_DEFINED__ +#define __IMimeMessage_FWD_DEFINED__ +typedef interface IMimeMessage IMimeMessage; +#ifdef __cplusplus +interface IMimeMessage; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeMessageCallback_FWD_DEFINED__ +#define __IMimeMessageCallback_FWD_DEFINED__ +typedef interface IMimeMessageCallback IMimeMessageCallback; +#ifdef __cplusplus +interface IMimeMessageCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistMime_FWD_DEFINED__ +#define __IPersistMime_FWD_DEFINED__ +typedef interface IPersistMime IPersistMime; +#ifdef __cplusplus +interface IPersistMime; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeMessageParts_FWD_DEFINED__ +#define __IMimeMessageParts_FWD_DEFINED__ +typedef interface IMimeMessageParts IMimeMessageParts; +#ifdef __cplusplus +interface IMimeMessageParts; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEnumHeaderRows_FWD_DEFINED__ +#define __IMimeEnumHeaderRows_FWD_DEFINED__ +typedef interface IMimeEnumHeaderRows IMimeEnumHeaderRows; +#ifdef __cplusplus +interface IMimeEnumHeaderRows; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEnumProperties_FWD_DEFINED__ +#define __IMimeEnumProperties_FWD_DEFINED__ +typedef interface IMimeEnumProperties IMimeEnumProperties; +#ifdef __cplusplus +interface IMimeEnumProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEnumAddressTypes_FWD_DEFINED__ +#define __IMimeEnumAddressTypes_FWD_DEFINED__ +typedef interface IMimeEnumAddressTypes IMimeEnumAddressTypes; +#ifdef __cplusplus +interface IMimeEnumAddressTypes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEnumMessageParts_FWD_DEFINED__ +#define __IMimeEnumMessageParts_FWD_DEFINED__ +typedef interface IMimeEnumMessageParts IMimeEnumMessageParts; +#ifdef __cplusplus +interface IMimeEnumMessageParts; +#endif /* __cplusplus */ +#endif + +#ifndef __IHashTable_FWD_DEFINED__ +#define __IHashTable_FWD_DEFINED__ +typedef interface IHashTable IHashTable; +#ifdef __cplusplus +interface IHashTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeAllocator_FWD_DEFINED__ +#define __IMimeAllocator_FWD_DEFINED__ +typedef interface IMimeAllocator IMimeAllocator; +#ifdef __cplusplus +interface IMimeAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeObjResolver_FWD_DEFINED__ +#define __IMimeObjResolver_FWD_DEFINED__ +typedef interface IMimeObjResolver IMimeObjResolver; +#ifdef __cplusplus +interface IMimeObjResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IFontCache_FWD_DEFINED__ +#define __IFontCache_FWD_DEFINED__ +typedef interface IFontCache IFontCache; +#ifdef __cplusplus +interface IFontCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IFontCacheNotify_FWD_DEFINED__ +#define __IFontCacheNotify_FWD_DEFINED__ +typedef interface IFontCacheNotify IFontCacheNotify; +#ifdef __cplusplus +interface IFontCacheNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEditTag_FWD_DEFINED__ +#define __IMimeEditTag_FWD_DEFINED__ +typedef interface IMimeEditTag IMimeEditTag; +#ifdef __cplusplus +interface IMimeEditTag; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEditTagCollection_FWD_DEFINED__ +#define __IMimeEditTagCollection_FWD_DEFINED__ +typedef interface IMimeEditTagCollection IMimeEditTagCollection; +#ifdef __cplusplus +interface IMimeEditTagCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeSecurityCallback_FWD_DEFINED__ +#define __IMimeSecurityCallback_FWD_DEFINED__ +typedef interface IMimeSecurityCallback IMimeSecurityCallback; +#ifdef __cplusplus +interface IMimeSecurityCallback; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IMimeMessageCallback_FWD_DEFINED__ +#define __IMimeMessageCallback_FWD_DEFINED__ +typedef interface IMimeMessageCallback IMimeMessageCallback; +#ifdef __cplusplus +interface IMimeMessageCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEnumAddressTypes_FWD_DEFINED__ +#define __IMimeEnumAddressTypes_FWD_DEFINED__ +typedef interface IMimeEnumAddressTypes IMimeEnumAddressTypes; +#ifdef __cplusplus +interface IMimeEnumAddressTypes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeMessageParts_FWD_DEFINED__ +#define __IMimeMessageParts_FWD_DEFINED__ +typedef interface IMimeMessageParts IMimeMessageParts; +#ifdef __cplusplus +interface IMimeMessageParts; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeMessageTree_FWD_DEFINED__ +#define __IMimeMessageTree_FWD_DEFINED__ +typedef interface IMimeMessageTree IMimeMessageTree; +#ifdef __cplusplus +interface IMimeMessageTree; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeBody_FWD_DEFINED__ +#define __IMimeBody_FWD_DEFINED__ +typedef interface IMimeBody IMimeBody; +#ifdef __cplusplus +interface IMimeBody; +#endif /* __cplusplus */ +#endif + +#ifndef __IMimeEnumProperties_FWD_DEFINED__ +#define __IMimeEnumProperties_FWD_DEFINED__ +typedef interface IMimeEnumProperties IMimeEnumProperties; +#ifdef __cplusplus +interface IMimeEnumProperties; +#endif /* __cplusplus */ +#endif + +DEFINE_GUID(CLSID_IMimeBody, 0xfd853cdb, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IMimeAllocator, 0xfd853cdd, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IMimeMessage, 0xfd853ce3, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IMimeSecurity, 0xfd853cde, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IVirtualStream, 0xfd853cdf, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_IMimeHtmlProtocol,0x5300401,0xbcbc, 0x11d0, 0x85, 0xe3, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4); +DEFINE_GUID(CLSID_MimeEdit, 0x1c82ead9, 0x508e, 0x11d1, 0x8d, 0xcf, 0x0, 0xc0, 0x4f, 0xb9, 0x51, 0xf9); +#define MIME_E_REG_CREATE_KEY 0x800cce01 +#define MIME_E_REG_QUERY_INFO 0x800cce02 +#define MIME_E_INVALID_ENCTYPE 0x800cce03 +#define MIME_E_BOUNDARY_MISMATCH 0x800cce04 +#define MIME_E_NOT_FOUND 0x800cce05 +#define MIME_E_NO_DATA 0x800cce05 +#define MIME_E_BUFFER_TOO_SMALL 0x800cce06 +#define MIME_E_INVALID_ITEM_FLAGS 0x800cce07 +#define MIME_E_ONE_LINE_ITEME 0x800cce08 +#define MIME_E_INVALID_HANDLE 0x800cce09 +#define MIME_E_CHARSET_TRANSLATE 0x800cce0a +#define MIME_E_NOT_INITIALIZED 0x800cce0b +#define MIME_E_INVALID_OPTION_VALUE 0x800cce1f +#define MIME_E_INVALID_OPTION_ID 0x800cce20 +#define MIME_E_INVALID_HEADER_NAME 0x800cce21 +#define MIME_E_NOT_BOUND 0x800cce22 +#define MIME_E_MAX_SIZE_TOO_SMALL 0x800cce23 +#define MIME_E_MULTIPART_HAS_CHILDREN 0x800cce25 +#define MIME_E_INVALID_PROP_FLAGS 0x800cce26 +#define MIME_E_INVALID_ADDRESS_TYPE 0x800cce27 +#define MIME_E_INVALID_OBJECT_IID 0x800cce28 +#define MIME_E_MLANG_DLL_NOT_FOUND 0x800cce29 +#define MIME_E_ROOT_NOT_EMPTY 0x800cce2a +#define MIME_E_MLANG_BAD_DLL 0x800cce2b +#define MIME_E_REG_OPEN_KEY 0x800cce2c +#define MIME_E_INVALID_INET_DATE 0x800cce2d +#define MIME_E_INVALID_BODYTYPE 0x800cce2e +#define MIME_E_INVALID_DELETE_TYPE 0x800cce2f +#define MIME_E_OPTION_HAS_NO_VALUE 0x800cce30 +#define MIME_E_INVALID_CHARSET_TYPE 0x800cce31 +#define MIME_E_INVALID_TEXT_TYPE 0x800cce38 +#define MIME_E_SECURITY_NOOP 0x800cceb1 +#define MIME_S_SECURITY_NOOP 0x000cceb1 +typedef enum tagMIMEPROPID { + PID_HDR_NEWSGROUP = 2, + PID_HDR_NEWSGROUPS = 3, + PID_HDR_REFS = 4, + PID_HDR_SUBJECT = 5, + PID_HDR_FROM = 6, + PID_HDR_MESSAGEID = 7, + PID_HDR_RETURNPATH = 8, + PID_HDR_RR = 9, + PID_HDR_RETRCPTO = 10, + PID_HDR_APPARTO = 11, + PID_HDR_DATE = 12, + PID_HDR_RECEIVED = 13, + PID_HDR_REPLYTO = 14, + PID_HDR_XMAILER = 15, + PID_HDR_BCC = 16, + PID_HDR_MIMEVER = 17, + PID_HDR_CNTTYPE = 18, + PID_HDR_CNTXFER = 19, + PID_HDR_CNTID = 20, + PID_HDR_CNTDESC = 21, + PID_HDR_CNTDISP = 22, + PID_HDR_CNTBASE = 23, + PID_HDR_CNTLOC = 24, + PID_HDR_TO = 25, + PID_HDR_PATH = 26, + PID_HDR_FOLLOWUPTO = 27, + PID_HDR_EXPIRES = 28, + PID_HDR_CC = 29, + PID_HDR_CONTROL = 30, + PID_HDR_DISTRIB = 31, + PID_HDR_KEYWORDS = 32, + PID_HDR_SUMMARY = 33, + PID_HDR_APPROVED = 34, + PID_HDR_LINES = 35, + PID_HDR_XREF = 36, + PID_HDR_ORG = 37, + PID_HDR_XNEWSRDR = 38, + PID_HDR_XPRI = 39, + PID_HDR_XMSPRI = 40, + PID_PAR_FILENAME = 41, + PID_PAR_BOUNDARY = 42, + PID_PAR_CHARSET = 43, + PID_PAR_NAME = 44, + PID_ATT_FILENAME = 45, + PID_ATT_GENFNAME = 46, + PID_ATT_PRITYPE = 47, + PID_ATT_SUBTYPE = 48, + PID_ATT_NORMSUBJ = 49, + PID_ATT_ILLEGAL = 50, + PID_ATT_RENDERED = 51, + PID_ATT_SENTTIME = 52, + PID_ATT_RECVTIME = 53, + PID_ATT_PRIORITY = 54, + PID_HDR_COMMENT = 55, + PID_HDR_ENCODING = 56, + PID_HDR_ENCRYPTED = 57, + PID_HDR_OFFSETS = 58, + PID_HDR_XUNSENT = 59, + PID_HDR_ARTICLEID = 60, + PID_HDR_SENDER = 61, + PID_ATT_SERVER = 62, + PID_ATT_ACCOUNT = 63, + PID_ATT_UIDL = 64, + PID_ATT_STOREMSGID = 65, + PID_ATT_USERNAME = 66, + PID_ATT_FORWARDTO = 67, + PID_ATT_STOREFOLDERID = 68, + PID_ATT_GHOSTED = 69, + PID_ATT_UNCACHEDSIZE = 70, + PID_ATT_COMBINED = 71, + PID_ATT_AUTOINLINED = 72, + PID_HDR_DISP_NOTIFICATION_TO = 73, + PID_PAR_REPLYTYPE = 74, + PID_PAR_FORMAT = 75, + PID_ATT_FORMAT = 76, + PID_HDR_INREPLYTO = 77, + PID_ATT_ACCOUNTNAME = 78, + PID_LAST = 79, +} MIMEPROPID; +#define ISPIDSTR(_name) (((DWORD_PTR)(_name) >> 16) == 0) +#define STRTOPID(_name) ((DWORD)((DWORD_PTR)((LPCSTR)(_name)))) +#define PIDTOSTR(_id) ((LPCSTR)((DWORD_PTR)(_id))) +#define TYPEDID_ID(_typedid) (((ULONG)(_typedid))>>16) +#define TYPEDID_MASK ((ULONG)0xffff) +#define TYPEDID_TYPE(t) ((VARTYPE)((t) & TYPEDID_MASK)) +#define OID_ALLOW_8BIT_HEADER (0x00010000 | VT_BOOL) +#define OID_CBMAX_HEADER_LINE (0x00020000 | VT_UI4) +#define OID_SAVE_FORMAT (0x00030000 | VT_UI4) +#define OID_WRAP_BODY_TEXT (0x00040000 | VT_BOOL) +#define OID_CBMAX_BODY_LINE (0x00050000 | VT_UI4) +#define OID_TRANSMIT_BODY_ENCODING (0x00060000 | VT_UI4) +#define OID_TRANSMIT_TEXT_ENCODING (0x00070000 | VT_UI4) +#define OID_GENERATE_MESSAGE_ID (0x00080000 | VT_BOOL) +#define OID_HIDE_TNEF_ATTACHMENTS (0x000e0000 | VT_BOOL) +#define OID_CLEANUP_TREE_ON_SAVE (0x000f0000 | VT_BOOL) +#define OID_BODY_REMOVE_NBSP (0x00140000 | VT_BOOL) +#define OID_DEFAULT_BODY_CHARSET (0x00150000 | VT_UI4) +#define OID_DEFAULT_HEADER_CHARSET (0x00160000 | VT_UI4) +#define OID_DBCS_ESCAPE_IS_8BIT (0x00170000 | VT_BOOL) +#define OID_SECURITY_TYPE (0x00180000 | VT_UI4) +#define OID_SECURITY_HWND_OWNER (0x00320000 | VT_UI4) +#define OID_HEADER_RELOAD_TYPE (0x00370000 | VT_UI4) +#define OID_CAN_INLINE_TEXT_BODIES (0x00380000 | VT_BOOL) +#define OID_SHOW_MACBINARY (0x00390000 | VT_BOOL) +#define OID_SAVEBODY_KEEPBOUNDARY (0x00400000 | VT_BOOL) +#define OID_SECURITY_2KEY_CERT_BAG (0x00590000 | VT_VECTOR | VT_UI4) +#define OID_SECURITY_2KEY_CERT_BAG_64 (0x00590000 | VT_VECTOR | VT_UI8) + +DEFINE_GUID(LIBID_MIMEOLE, 0xe4b28371, 0x83b0, 0x11d0, 0x82,0x59, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); + +typedef void *HCHARSET; +typedef void *HBODY; +typedef void *HHEADERROW; +typedef HCHARSET *LPHCHARSET; +typedef HBODY *LPHBODY; +typedef HHEADERROW *LPHHEADERROW; +typedef DWORD TYPEDID; +typedef const PROPVARIANT *LPCPROPVARIANT; +typedef const BLOB *LPCBLOB; +typedef enum tagRELOADTYPE { + RELOAD_HEADER_NONE = 0, + RELOAD_HEADER_RESET = 1, + RELOAD_HEADER_APPEND = 2, + RELOAD_HEADER_REPLACE = 3 +} RELOADTYPE; +typedef enum tagMIMESAVETYPE { + SAVE_RFC822 = 0, + SAVE_RFC1521 = 1 +} MIMESAVETYPE; +typedef enum tagCSETAPPLYTYPE { + CSET_APPLY_UNTAGGED = 0, + CSET_APPLY_ALL = 1, + CSET_APPLY_TAG_ALL = 2 +} CSETAPPLYTYPE; +typedef enum tagENCODINGTYPE { + IET_BINARY = 0, + IET_BASE64 = 1, + IET_UUENCODE = 2, + IET_QP = 3, + IET_7BIT = 4, + IET_8BIT = 5, + IET_INETCSET = 6, + IET_UNICODE = 7, + IET_RFC1522 = 8, + IET_ENCODED = 9, + IET_CURRENT = 10, + IET_UNKNOWN = 11, + IET_BINHEX40 = 12, + IET_LAST = 13 +} ENCODINGTYPE; +#define IET_DECODED (IET_BINARY) + +#define CCHMAX_HEADER_LINE (1000) + +/***************************************************************************** + * IMimeInternational interface + */ +#ifndef __IMimeInternational_INTERFACE_DEFINED__ +#define __IMimeInternational_INTERFACE_DEFINED__ + +typedef IMimeInternational *LPMIMEINTERNATIONAL; +typedef DWORD CODEPAGEID; +#define CP_USASCII (1252) + +#define CP_UNICODE (1200) + +#define CP_JAUTODETECT (50932) + +#define CP_KAUTODETECT (50949) + +#define CP_ISO2022JPESC (50221) + +#define CP_ISO2022JPSIO (50222) + +#define CCHMAX_CSET_NAME (128) + +#define CCHMAX_LANG_NAME (128) + +#define CCHMAX_FACE_NAME (128) + +typedef struct tagINETCSETINFO { + CHAR szName[128]; + HCHARSET hCharset; + CODEPAGEID cpiWindows; + CODEPAGEID cpiInternet; + DWORD dwReserved1; +} INETCSETINFO; +typedef struct tagINETCSETINFO *LPINETCSETINFO; +typedef enum tagINETLANGMASK { + ILM_FAMILY = 0x1, + ILM_NAME = 0x2, + ILM_BODYCSET = 0x4, + ILM_HEADERCSET = 0x8, + ILM_WEBCSET = 0x10, + ILM_FIXEDFONT = 0x20, + ILM_VARIABLEFONT = 0x40 +} INETLANGMASK; +typedef struct tagCODEPAGEINFO { + DWORD dwMask; + CODEPAGEID cpiCodePage; + BOOL fIsValidCodePage; + ULONG ulMaxCharSize; + BOOL fInternetCP; + CODEPAGEID cpiFamily; + CHAR szName[128]; + CHAR szBodyCset[128]; + CHAR szHeaderCset[128]; + CHAR szWebCset[128]; + CHAR szFixedFont[128]; + CHAR szVariableFont[128]; + ENCODINGTYPE ietNewsDefault; + ENCODINGTYPE ietMailDefault; + DWORD dwReserved1; +} CODEPAGEINFO; +typedef struct tagCODEPAGEINFO *LPCODEPAGEINFO; +typedef struct tagRFC1522INFO { + BOOL fRfc1522Allowed; + BOOL fRfc1522Used; + BOOL fAllow8bit; + HCHARSET hRfc1522Cset; +} RFC1522INFO; +typedef struct tagRFC1522INFO *LPRFC1522INFO; +typedef enum tagCHARSETTYPE { + CHARSET_BODY = 0, + CHARSET_HEADER = 1, + CHARSET_WEB = 2 +} CHARSETTYPE; +DEFINE_GUID(IID_IMimeInternational, 0xc5588349, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c5588349-7f86-11d0-8252-00c04fd85ab4") +IMimeInternational : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetDefaultCharset( + HCHARSET hCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultCharset( + LPHCHARSET phCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodePageCharset( + CODEPAGEID cpiCodePage, + CHARSETTYPE ctCsetType, + LPHCHARSET phCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindCharset( + LPCSTR pszCharset, + LPHCHARSET phCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharsetInfo( + HCHARSET hCharset, + LPINETCSETINFO pCsetInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodePageInfo( + CODEPAGEID cpiCodePage, + LPCODEPAGEINFO pCodePageInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanConvertCodePages( + CODEPAGEID cpiSource, + CODEPAGEID cpiDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecodeHeader( + HCHARSET hCharset, + LPCSTR pszData, + LPPROPVARIANT pDecoded, + LPRFC1522INFO pRfc1522Info) = 0; + + virtual HRESULT STDMETHODCALLTYPE EncodeHeader( + HCHARSET hCharset, + LPPROPVARIANT pData, + LPSTR *ppszEncoded, + LPRFC1522INFO pRfc1522Info) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertBuffer( + CODEPAGEID cpiSource, + CODEPAGEID cpiDest, + LPBLOB pIn, + LPBLOB pOut, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertString( + CODEPAGEID cpiSource, + CODEPAGEID cpiDest, + LPPROPVARIANT pIn, + LPPROPVARIANT pOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE MLANG_ConvertInetReset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MLANG_ConvertInetString( + CODEPAGEID cpiSource, + CODEPAGEID cpiDest, + LPCSTR pSource, + int *pnSizeOfSource, + LPSTR pDestination, + int *pnDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rfc1522Decode( + LPCSTR pszValue, + LPSTR pszCharset, + ULONG cchmax, + LPSTR *ppszDecoded) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rfc1522Encode( + LPCSTR pszValue, + HCHARSET hCharset, + LPSTR *ppszEncoded) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeInternational, 0xc5588349, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeInternationalVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeInternational *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeInternational *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeInternational *This); + + /*** IMimeInternational methods ***/ + HRESULT (STDMETHODCALLTYPE *SetDefaultCharset)( + IMimeInternational *This, + HCHARSET hCharset); + + HRESULT (STDMETHODCALLTYPE *GetDefaultCharset)( + IMimeInternational *This, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *GetCodePageCharset)( + IMimeInternational *This, + CODEPAGEID cpiCodePage, + CHARSETTYPE ctCsetType, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *FindCharset)( + IMimeInternational *This, + LPCSTR pszCharset, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *GetCharsetInfo)( + IMimeInternational *This, + HCHARSET hCharset, + LPINETCSETINFO pCsetInfo); + + HRESULT (STDMETHODCALLTYPE *GetCodePageInfo)( + IMimeInternational *This, + CODEPAGEID cpiCodePage, + LPCODEPAGEINFO pCodePageInfo); + + HRESULT (STDMETHODCALLTYPE *CanConvertCodePages)( + IMimeInternational *This, + CODEPAGEID cpiSource, + CODEPAGEID cpiDest); + + HRESULT (STDMETHODCALLTYPE *DecodeHeader)( + IMimeInternational *This, + HCHARSET hCharset, + LPCSTR pszData, + LPPROPVARIANT pDecoded, + LPRFC1522INFO pRfc1522Info); + + HRESULT (STDMETHODCALLTYPE *EncodeHeader)( + IMimeInternational *This, + HCHARSET hCharset, + LPPROPVARIANT pData, + LPSTR *ppszEncoded, + LPRFC1522INFO pRfc1522Info); + + HRESULT (STDMETHODCALLTYPE *ConvertBuffer)( + IMimeInternational *This, + CODEPAGEID cpiSource, + CODEPAGEID cpiDest, + LPBLOB pIn, + LPBLOB pOut, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *ConvertString)( + IMimeInternational *This, + CODEPAGEID cpiSource, + CODEPAGEID cpiDest, + LPPROPVARIANT pIn, + LPPROPVARIANT pOut); + + HRESULT (STDMETHODCALLTYPE *MLANG_ConvertInetReset)( + IMimeInternational *This); + + HRESULT (STDMETHODCALLTYPE *MLANG_ConvertInetString)( + IMimeInternational *This, + CODEPAGEID cpiSource, + CODEPAGEID cpiDest, + LPCSTR pSource, + int *pnSizeOfSource, + LPSTR pDestination, + int *pnDstSize); + + HRESULT (STDMETHODCALLTYPE *Rfc1522Decode)( + IMimeInternational *This, + LPCSTR pszValue, + LPSTR pszCharset, + ULONG cchmax, + LPSTR *ppszDecoded); + + HRESULT (STDMETHODCALLTYPE *Rfc1522Encode)( + IMimeInternational *This, + LPCSTR pszValue, + HCHARSET hCharset, + LPSTR *ppszEncoded); + + END_INTERFACE +} IMimeInternationalVtbl; + +interface IMimeInternational { + CONST_VTBL IMimeInternationalVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeInternational_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeInternational_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeInternational_Release(This) (This)->lpVtbl->Release(This) +/*** IMimeInternational methods ***/ +#define IMimeInternational_SetDefaultCharset(This,hCharset) (This)->lpVtbl->SetDefaultCharset(This,hCharset) +#define IMimeInternational_GetDefaultCharset(This,phCharset) (This)->lpVtbl->GetDefaultCharset(This,phCharset) +#define IMimeInternational_GetCodePageCharset(This,cpiCodePage,ctCsetType,phCharset) (This)->lpVtbl->GetCodePageCharset(This,cpiCodePage,ctCsetType,phCharset) +#define IMimeInternational_FindCharset(This,pszCharset,phCharset) (This)->lpVtbl->FindCharset(This,pszCharset,phCharset) +#define IMimeInternational_GetCharsetInfo(This,hCharset,pCsetInfo) (This)->lpVtbl->GetCharsetInfo(This,hCharset,pCsetInfo) +#define IMimeInternational_GetCodePageInfo(This,cpiCodePage,pCodePageInfo) (This)->lpVtbl->GetCodePageInfo(This,cpiCodePage,pCodePageInfo) +#define IMimeInternational_CanConvertCodePages(This,cpiSource,cpiDest) (This)->lpVtbl->CanConvertCodePages(This,cpiSource,cpiDest) +#define IMimeInternational_DecodeHeader(This,hCharset,pszData,pDecoded,pRfc1522Info) (This)->lpVtbl->DecodeHeader(This,hCharset,pszData,pDecoded,pRfc1522Info) +#define IMimeInternational_EncodeHeader(This,hCharset,pData,ppszEncoded,pRfc1522Info) (This)->lpVtbl->EncodeHeader(This,hCharset,pData,ppszEncoded,pRfc1522Info) +#define IMimeInternational_ConvertBuffer(This,cpiSource,cpiDest,pIn,pOut,pcbRead) (This)->lpVtbl->ConvertBuffer(This,cpiSource,cpiDest,pIn,pOut,pcbRead) +#define IMimeInternational_ConvertString(This,cpiSource,cpiDest,pIn,pOut) (This)->lpVtbl->ConvertString(This,cpiSource,cpiDest,pIn,pOut) +#define IMimeInternational_MLANG_ConvertInetReset(This) (This)->lpVtbl->MLANG_ConvertInetReset(This) +#define IMimeInternational_MLANG_ConvertInetString(This,cpiSource,cpiDest,pSource,pnSizeOfSource,pDestination,pnDstSize) (This)->lpVtbl->MLANG_ConvertInetString(This,cpiSource,cpiDest,pSource,pnSizeOfSource,pDestination,pnDstSize) +#define IMimeInternational_Rfc1522Decode(This,pszValue,pszCharset,cchmax,ppszDecoded) (This)->lpVtbl->Rfc1522Decode(This,pszValue,pszCharset,cchmax,ppszDecoded) +#define IMimeInternational_Rfc1522Encode(This,pszValue,hCharset,ppszEncoded) (This)->lpVtbl->Rfc1522Encode(This,pszValue,hCharset,ppszEncoded) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeInternational_QueryInterface(IMimeInternational* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeInternational_AddRef(IMimeInternational* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeInternational_Release(IMimeInternational* This) { + return This->lpVtbl->Release(This); +} +/*** IMimeInternational methods ***/ +static FORCEINLINE HRESULT IMimeInternational_SetDefaultCharset(IMimeInternational* This,HCHARSET hCharset) { + return This->lpVtbl->SetDefaultCharset(This,hCharset); +} +static FORCEINLINE HRESULT IMimeInternational_GetDefaultCharset(IMimeInternational* This,LPHCHARSET phCharset) { + return This->lpVtbl->GetDefaultCharset(This,phCharset); +} +static FORCEINLINE HRESULT IMimeInternational_GetCodePageCharset(IMimeInternational* This,CODEPAGEID cpiCodePage,CHARSETTYPE ctCsetType,LPHCHARSET phCharset) { + return This->lpVtbl->GetCodePageCharset(This,cpiCodePage,ctCsetType,phCharset); +} +static FORCEINLINE HRESULT IMimeInternational_FindCharset(IMimeInternational* This,LPCSTR pszCharset,LPHCHARSET phCharset) { + return This->lpVtbl->FindCharset(This,pszCharset,phCharset); +} +static FORCEINLINE HRESULT IMimeInternational_GetCharsetInfo(IMimeInternational* This,HCHARSET hCharset,LPINETCSETINFO pCsetInfo) { + return This->lpVtbl->GetCharsetInfo(This,hCharset,pCsetInfo); +} +static FORCEINLINE HRESULT IMimeInternational_GetCodePageInfo(IMimeInternational* This,CODEPAGEID cpiCodePage,LPCODEPAGEINFO pCodePageInfo) { + return This->lpVtbl->GetCodePageInfo(This,cpiCodePage,pCodePageInfo); +} +static FORCEINLINE HRESULT IMimeInternational_CanConvertCodePages(IMimeInternational* This,CODEPAGEID cpiSource,CODEPAGEID cpiDest) { + return This->lpVtbl->CanConvertCodePages(This,cpiSource,cpiDest); +} +static FORCEINLINE HRESULT IMimeInternational_DecodeHeader(IMimeInternational* This,HCHARSET hCharset,LPCSTR pszData,LPPROPVARIANT pDecoded,LPRFC1522INFO pRfc1522Info) { + return This->lpVtbl->DecodeHeader(This,hCharset,pszData,pDecoded,pRfc1522Info); +} +static FORCEINLINE HRESULT IMimeInternational_EncodeHeader(IMimeInternational* This,HCHARSET hCharset,LPPROPVARIANT pData,LPSTR *ppszEncoded,LPRFC1522INFO pRfc1522Info) { + return This->lpVtbl->EncodeHeader(This,hCharset,pData,ppszEncoded,pRfc1522Info); +} +static FORCEINLINE HRESULT IMimeInternational_ConvertBuffer(IMimeInternational* This,CODEPAGEID cpiSource,CODEPAGEID cpiDest,LPBLOB pIn,LPBLOB pOut,ULONG *pcbRead) { + return This->lpVtbl->ConvertBuffer(This,cpiSource,cpiDest,pIn,pOut,pcbRead); +} +static FORCEINLINE HRESULT IMimeInternational_ConvertString(IMimeInternational* This,CODEPAGEID cpiSource,CODEPAGEID cpiDest,LPPROPVARIANT pIn,LPPROPVARIANT pOut) { + return This->lpVtbl->ConvertString(This,cpiSource,cpiDest,pIn,pOut); +} +static FORCEINLINE HRESULT IMimeInternational_MLANG_ConvertInetReset(IMimeInternational* This) { + return This->lpVtbl->MLANG_ConvertInetReset(This); +} +static FORCEINLINE HRESULT IMimeInternational_MLANG_ConvertInetString(IMimeInternational* This,CODEPAGEID cpiSource,CODEPAGEID cpiDest,LPCSTR pSource,int *pnSizeOfSource,LPSTR pDestination,int *pnDstSize) { + return This->lpVtbl->MLANG_ConvertInetString(This,cpiSource,cpiDest,pSource,pnSizeOfSource,pDestination,pnDstSize); +} +static FORCEINLINE HRESULT IMimeInternational_Rfc1522Decode(IMimeInternational* This,LPCSTR pszValue,LPSTR pszCharset,ULONG cchmax,LPSTR *ppszDecoded) { + return This->lpVtbl->Rfc1522Decode(This,pszValue,pszCharset,cchmax,ppszDecoded); +} +static FORCEINLINE HRESULT IMimeInternational_Rfc1522Encode(IMimeInternational* This,LPCSTR pszValue,HCHARSET hCharset,LPSTR *ppszEncoded) { + return This->lpVtbl->Rfc1522Encode(This,pszValue,hCharset,ppszEncoded); +} +#endif +#endif + +#endif + + +#endif /* __IMimeInternational_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeSecurity interface + */ +#ifndef __IMimeSecurity_INTERFACE_DEFINED__ +#define __IMimeSecurity_INTERFACE_DEFINED__ + +typedef IMimeSecurity *LPMIMESECURITY; +#ifdef __WINE_WINCRYPT_H +typedef PCCERT_CONTEXT PCX509CERT; +#else +typedef const void *PCX509CERT; +typedef void *HCERTSTORE; +#endif +typedef BLOB THUMBBLOB; +typedef void *HCAPICERTSTORE; +#define MST_NONE 0x00000000 +#define MST_THIS_SIGN 0x00000001 +#define MST_THIS_ENCRYPT 0x00000002 +#define MST_BLOB_FLAG 0x00000004 +#define MST_THIS_BLOBSIGN (MST_BLOB_FLAG | MST_THIS_SIGN) +#define MST_CHILD_SIGN 0x00000100 +#define MST_CHILD_ENCRYPT 0x00000200 +#define MST_SUBMSG_SIGN 0x00001000 +#define MST_SUBMSG_ENCRYPT 0x00002000 +#define MST_RECEIPT_REQUEST 0x00010000 +#define MST_CLASS_SMIME_V1 0x00000000 +#define MST_CLASS_PGP 0x01000000 +typedef enum tagCERTSTATE { + CERTIFICATE_OK = 0, + CERTIFICATE_NOT_PRESENT = 1, + CERTIFICATE_EXPIRED = 2, + CERTIFICATE_CHAIN_TOO_LONG = 3, + CERTIFICATE_MISSING_ISSUER = 4, + CERTIFICATE_CRL_LISTED = 5, + CERTIFICATE_NOT_TRUSTED = 6, + CERTIFICATE_INVALID = 7, + CERTIFICATE_ERROR = 8, + CERTIFICATE_NOPRINT = 9, + CERTIFICATE_UNKNOWN = 10 +} CERTSTATE; +typedef enum tagCERTNAMETYPE { + SIMPLE = 0, + OID = 1, + X500 = 2 +} CERTNAMETYPE; +typedef enum tagCERTDATAID { + CDID_EMAIL = 0, + CDID_MAX = 1 +} CERTDATAID; +typedef struct tagX509CERTRESULT { + DWORD cEntries; + CERTSTATE *rgcs; + PCX509CERT *rgpCert; +} X509CERTRESULT; +typedef struct tagX509CERTRESULT *PX509CERTRESULT; +typedef const X509CERTRESULT *PCX509CERTRESULT; +DEFINE_GUID(IID_IMimeSecurity, 0xc5588353, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c5588353-7f86-11d0-8252-00c04fd85ab4") +IMimeSecurity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckInit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EncodeMessage( + IMimeMessageTree *pTree, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE EncodeBody( + IMimeMessageTree *pTree, + HBODY hEncodeRoot, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecodeMessage( + IMimeMessageTree *pTree, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecodeBody( + IMimeMessageTree *pTree, + HBODY hDecodeRoot, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCertificates( + HCAPICERTSTORE hc, + DWORD dwUsage, + PCX509CERT pPrev, + PCX509CERT *ppCert) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCertificateName( + const PCX509CERT pX509Cert, + const CERTNAMETYPE cn, + LPSTR *ppszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessageType( + const HWND hwndParent, + IMimeBody *pBody, + DWORD *pdwSecType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCertData( + const PCX509CERT pX509Cert, + const CERTDATAID dataid, + LPPROPVARIANT pValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeSecurity, 0xc5588353, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeSecurityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeSecurity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeSecurity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeSecurity *This); + + /*** IMimeSecurity methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IMimeSecurity *This); + + HRESULT (STDMETHODCALLTYPE *CheckInit)( + IMimeSecurity *This); + + HRESULT (STDMETHODCALLTYPE *EncodeMessage)( + IMimeSecurity *This, + IMimeMessageTree *pTree, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *EncodeBody)( + IMimeSecurity *This, + IMimeMessageTree *pTree, + HBODY hEncodeRoot, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DecodeMessage)( + IMimeSecurity *This, + IMimeMessageTree *pTree, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DecodeBody)( + IMimeSecurity *This, + IMimeMessageTree *pTree, + HBODY hDecodeRoot, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *EnumCertificates)( + IMimeSecurity *This, + HCAPICERTSTORE hc, + DWORD dwUsage, + PCX509CERT pPrev, + PCX509CERT *ppCert); + + HRESULT (STDMETHODCALLTYPE *GetCertificateName)( + IMimeSecurity *This, + const PCX509CERT pX509Cert, + const CERTNAMETYPE cn, + LPSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetMessageType)( + IMimeSecurity *This, + const HWND hwndParent, + IMimeBody *pBody, + DWORD *pdwSecType); + + HRESULT (STDMETHODCALLTYPE *GetCertData)( + IMimeSecurity *This, + const PCX509CERT pX509Cert, + const CERTDATAID dataid, + LPPROPVARIANT pValue); + + END_INTERFACE +} IMimeSecurityVtbl; + +interface IMimeSecurity { + CONST_VTBL IMimeSecurityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeSecurity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeSecurity_Release(This) (This)->lpVtbl->Release(This) +/*** IMimeSecurity methods ***/ +#define IMimeSecurity_InitNew(This) (This)->lpVtbl->InitNew(This) +#define IMimeSecurity_CheckInit(This) (This)->lpVtbl->CheckInit(This) +#define IMimeSecurity_EncodeMessage(This,pTree,dwFlags) (This)->lpVtbl->EncodeMessage(This,pTree,dwFlags) +#define IMimeSecurity_EncodeBody(This,pTree,hEncodeRoot,dwFlags) (This)->lpVtbl->EncodeBody(This,pTree,hEncodeRoot,dwFlags) +#define IMimeSecurity_DecodeMessage(This,pTree,dwFlags) (This)->lpVtbl->DecodeMessage(This,pTree,dwFlags) +#define IMimeSecurity_DecodeBody(This,pTree,hDecodeRoot,dwFlags) (This)->lpVtbl->DecodeBody(This,pTree,hDecodeRoot,dwFlags) +#define IMimeSecurity_EnumCertificates(This,hc,dwUsage,pPrev,ppCert) (This)->lpVtbl->EnumCertificates(This,hc,dwUsage,pPrev,ppCert) +#define IMimeSecurity_GetCertificateName(This,pX509Cert,cn,ppszName) (This)->lpVtbl->GetCertificateName(This,pX509Cert,cn,ppszName) +#define IMimeSecurity_GetMessageType(This,hwndParent,pBody,pdwSecType) (This)->lpVtbl->GetMessageType(This,hwndParent,pBody,pdwSecType) +#define IMimeSecurity_GetCertData(This,pX509Cert,dataid,pValue) (This)->lpVtbl->GetCertData(This,pX509Cert,dataid,pValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeSecurity_QueryInterface(IMimeSecurity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeSecurity_AddRef(IMimeSecurity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeSecurity_Release(IMimeSecurity* This) { + return This->lpVtbl->Release(This); +} +/*** IMimeSecurity methods ***/ +static FORCEINLINE HRESULT IMimeSecurity_InitNew(IMimeSecurity* This) { + return This->lpVtbl->InitNew(This); +} +static FORCEINLINE HRESULT IMimeSecurity_CheckInit(IMimeSecurity* This) { + return This->lpVtbl->CheckInit(This); +} +static FORCEINLINE HRESULT IMimeSecurity_EncodeMessage(IMimeSecurity* This,IMimeMessageTree *pTree,DWORD dwFlags) { + return This->lpVtbl->EncodeMessage(This,pTree,dwFlags); +} +static FORCEINLINE HRESULT IMimeSecurity_EncodeBody(IMimeSecurity* This,IMimeMessageTree *pTree,HBODY hEncodeRoot,DWORD dwFlags) { + return This->lpVtbl->EncodeBody(This,pTree,hEncodeRoot,dwFlags); +} +static FORCEINLINE HRESULT IMimeSecurity_DecodeMessage(IMimeSecurity* This,IMimeMessageTree *pTree,DWORD dwFlags) { + return This->lpVtbl->DecodeMessage(This,pTree,dwFlags); +} +static FORCEINLINE HRESULT IMimeSecurity_DecodeBody(IMimeSecurity* This,IMimeMessageTree *pTree,HBODY hDecodeRoot,DWORD dwFlags) { + return This->lpVtbl->DecodeBody(This,pTree,hDecodeRoot,dwFlags); +} +static FORCEINLINE HRESULT IMimeSecurity_EnumCertificates(IMimeSecurity* This,HCAPICERTSTORE hc,DWORD dwUsage,PCX509CERT pPrev,PCX509CERT *ppCert) { + return This->lpVtbl->EnumCertificates(This,hc,dwUsage,pPrev,ppCert); +} +static FORCEINLINE HRESULT IMimeSecurity_GetCertificateName(IMimeSecurity* This,const PCX509CERT pX509Cert,const CERTNAMETYPE cn,LPSTR *ppszName) { + return This->lpVtbl->GetCertificateName(This,pX509Cert,cn,ppszName); +} +static FORCEINLINE HRESULT IMimeSecurity_GetMessageType(IMimeSecurity* This,const HWND hwndParent,IMimeBody *pBody,DWORD *pdwSecType) { + return This->lpVtbl->GetMessageType(This,hwndParent,pBody,pdwSecType); +} +static FORCEINLINE HRESULT IMimeSecurity_GetCertData(IMimeSecurity* This,const PCX509CERT pX509Cert,const CERTDATAID dataid,LPPROPVARIANT pValue) { + return This->lpVtbl->GetCertData(This,pX509Cert,dataid,pValue); +} +#endif +#endif + +#endif + + +#endif /* __IMimeSecurity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeHeaderTable interface + */ +#ifndef __IMimeHeaderTable_INTERFACE_DEFINED__ +#define __IMimeHeaderTable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeHeaderTable, 0xfd853cd1, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd853cd1-7f86-11d0-8252-00c04fd85ab4") +IMimeHeaderTable : public IPersistStream +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeHeaderTable, 0xfd853cd1, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeHeaderTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeHeaderTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeHeaderTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeHeaderTable *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMimeHeaderTable *This, + CLSID *pClassID); + + /*** IPersistStream methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IMimeHeaderTable *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IMimeHeaderTable *This, + IStream *pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IMimeHeaderTable *This, + IStream *pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IMimeHeaderTable *This, + ULARGE_INTEGER *pcbSize); + + END_INTERFACE +} IMimeHeaderTableVtbl; + +interface IMimeHeaderTable { + CONST_VTBL IMimeHeaderTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeHeaderTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeHeaderTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeHeaderTable_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMimeHeaderTable_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStream methods ***/ +#define IMimeHeaderTable_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IMimeHeaderTable_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IMimeHeaderTable_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IMimeHeaderTable_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeHeaderTable_QueryInterface(IMimeHeaderTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeHeaderTable_AddRef(IMimeHeaderTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeHeaderTable_Release(IMimeHeaderTable* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMimeHeaderTable_GetClassID(IMimeHeaderTable* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStream methods ***/ +static FORCEINLINE HRESULT IMimeHeaderTable_IsDirty(IMimeHeaderTable* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IMimeHeaderTable_Load(IMimeHeaderTable* This,IStream *pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IMimeHeaderTable_Save(IMimeHeaderTable* This,IStream *pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IMimeHeaderTable_GetSizeMax(IMimeHeaderTable* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +#endif +#endif + +#endif + + +#endif /* __IMimeHeaderTable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimePropertySchema interface + */ +#ifndef __IMimePropertySchema_INTERFACE_DEFINED__ +#define __IMimePropertySchema_INTERFACE_DEFINED__ + +typedef IMimePropertySchema *LPMIMEPROPERTYSCHEMA; +typedef enum tagMIMEPROPFLAGS { + MPF_INETCSET = 0x1, + MPF_RFC1522 = 0x2, + MPF_ADDRESS = 0x4, + MPF_HASPARAMS = 0x8, + MPF_MIME = 0x10, + MPF_READONLY = 0x20 +} MIMEPROPFLAGS; +DEFINE_GUID(IID_IMimePropertySchema, 0xfd853cec, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd853cec-7f86-11d0-8252-00c04fd85ab4") +IMimePropertySchema : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterProperty( + const char *name, + DWORD flags, + DWORD rownumber, + VARTYPE vtdefault, + DWORD *propid) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyProperty( + const char *name, + DWORD flags, + DWORD rownumber, + VARTYPE vtdefault) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyId( + const char *name, + DWORD *propid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyName( + DWORD propid, + char **name) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterAddressType( + const char *name, + DWORD *adrtype) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimePropertySchema, 0xfd853cec, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimePropertySchemaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimePropertySchema *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimePropertySchema *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimePropertySchema *This); + + /*** IMimePropertySchema methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterProperty)( + IMimePropertySchema *This, + const char *name, + DWORD flags, + DWORD rownumber, + VARTYPE vtdefault, + DWORD *propid); + + HRESULT (STDMETHODCALLTYPE *ModifyProperty)( + IMimePropertySchema *This, + const char *name, + DWORD flags, + DWORD rownumber, + VARTYPE vtdefault); + + HRESULT (STDMETHODCALLTYPE *GetPropertyId)( + IMimePropertySchema *This, + const char *name, + DWORD *propid); + + HRESULT (STDMETHODCALLTYPE *GetPropertyName)( + IMimePropertySchema *This, + DWORD propid, + char **name); + + HRESULT (STDMETHODCALLTYPE *RegisterAddressType)( + IMimePropertySchema *This, + const char *name, + DWORD *adrtype); + + END_INTERFACE +} IMimePropertySchemaVtbl; + +interface IMimePropertySchema { + CONST_VTBL IMimePropertySchemaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimePropertySchema_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimePropertySchema_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimePropertySchema_Release(This) (This)->lpVtbl->Release(This) +/*** IMimePropertySchema methods ***/ +#define IMimePropertySchema_RegisterProperty(This,name,flags,rownumber,vtdefault,propid) (This)->lpVtbl->RegisterProperty(This,name,flags,rownumber,vtdefault,propid) +#define IMimePropertySchema_ModifyProperty(This,name,flags,rownumber,vtdefault) (This)->lpVtbl->ModifyProperty(This,name,flags,rownumber,vtdefault) +#define IMimePropertySchema_GetPropertyId(This,name,propid) (This)->lpVtbl->GetPropertyId(This,name,propid) +#define IMimePropertySchema_GetPropertyName(This,propid,name) (This)->lpVtbl->GetPropertyName(This,propid,name) +#define IMimePropertySchema_RegisterAddressType(This,name,adrtype) (This)->lpVtbl->RegisterAddressType(This,name,adrtype) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimePropertySchema_QueryInterface(IMimePropertySchema* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimePropertySchema_AddRef(IMimePropertySchema* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimePropertySchema_Release(IMimePropertySchema* This) { + return This->lpVtbl->Release(This); +} +/*** IMimePropertySchema methods ***/ +static FORCEINLINE HRESULT IMimePropertySchema_RegisterProperty(IMimePropertySchema* This,const char *name,DWORD flags,DWORD rownumber,VARTYPE vtdefault,DWORD *propid) { + return This->lpVtbl->RegisterProperty(This,name,flags,rownumber,vtdefault,propid); +} +static FORCEINLINE HRESULT IMimePropertySchema_ModifyProperty(IMimePropertySchema* This,const char *name,DWORD flags,DWORD rownumber,VARTYPE vtdefault) { + return This->lpVtbl->ModifyProperty(This,name,flags,rownumber,vtdefault); +} +static FORCEINLINE HRESULT IMimePropertySchema_GetPropertyId(IMimePropertySchema* This,const char *name,DWORD *propid) { + return This->lpVtbl->GetPropertyId(This,name,propid); +} +static FORCEINLINE HRESULT IMimePropertySchema_GetPropertyName(IMimePropertySchema* This,DWORD propid,char **name) { + return This->lpVtbl->GetPropertyName(This,propid,name); +} +static FORCEINLINE HRESULT IMimePropertySchema_RegisterAddressType(IMimePropertySchema* This,const char *name,DWORD *adrtype) { + return This->lpVtbl->RegisterAddressType(This,name,adrtype); +} +#endif +#endif + +#endif + + +#endif /* __IMimePropertySchema_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimePropertySet interface + */ +#ifndef __IMimePropertySet_INTERFACE_DEFINED__ +#define __IMimePropertySet_INTERFACE_DEFINED__ + +typedef IMimePropertySet *LPMIMEPROPERTYSET; +#define PDF_ENCODED 0x00000001 +#define PDF_NAMEINDATA 0x00000002 +#define PDF_HEADERFORMAT (0x00000004 | PDF_ENCODED) +#define PDF_NOCOMMENTS 0x00000008 +#define PDF_SAVENOENCODE 0x00000010 +#define PDF_VECTOR 0x00000020 +typedef struct tagMIMEPARAMINFO { + LPSTR pszName; + LPSTR pszData; +} MIMEPARAMINFO; +typedef struct tagMIMEPARAMINFO *LPMIMEPARAMINFO; +typedef enum tagPROPINFOMASK { + PIM_CHARSET = 0x1, + PIM_ENCODINGTYPE = 0x2, + PIM_ROWNUMBER = 0x4, + PIM_FLAGS = 0x8, + PIM_PROPID = 0x10, + PIM_VALUES = 0x20, + PIM_VTDEFAULT = 0x40, + PIM_VTCURRENT = 0x80 +} PROPINFOMASK; +typedef struct tagMIMEPROPINFO { + DWORD dwMask; + HCHARSET hCharset; + ENCODINGTYPE ietEncoding; + DWORD dwRowNumber; + DWORD dwFlags; + DWORD dwPropId; + DWORD cValues; + VARTYPE vtDefault; + VARTYPE vtCurrent; +} MIMEPROPINFO; +typedef struct tagMIMEPROPINFO *LPMIMEPROPINFO; +typedef const MIMEPROPINFO *LPCMIMEPROPINFO; +#ifdef WINE_NO_UNICODE_MACROS +#undef GetProp +#undef SetProp +#undef EnumProps +#endif +#define EPF_NONAME 0x00000001 +DEFINE_GUID(IID_IMimePropertySet, 0xfd853cd3, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd853cd3-7f86-11d0-8252-00c04fd85ab4") +IMimePropertySet : public IPersistStreamInit +{ + virtual HRESULT STDMETHODCALLTYPE GetPropInfo( + LPCSTR pszName, + LPMIMEPROPINFO pInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropInfo( + LPCSTR pszName, + LPCMIMEPROPINFO pInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProp( + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProp( + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendProp( + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteProp( + LPCSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyProps( + ULONG cNames, + LPCSTR *prgszName, + IMimePropertySet *pPropertySet) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveProps( + ULONG cNames, + LPCSTR *prgszName, + IMimePropertySet *pPropertySet) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteExcept( + ULONG cNames, + LPCSTR *prgszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryProp( + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharset( + LPHCHARSET phCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCharset( + HCHARSET hCharset, + CSETAPPLYTYPE applytype) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParameters( + LPCSTR pszName, + ULONG *pcParams, + LPMIMEPARAMINFO *pprgParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsContentType( + LPCSTR pszPriType, + LPCSTR pszSubType) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToObject( + REFIID riid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IMimePropertySet **ppPropertySet) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOption( + const TYPEDID oid, + LPCPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOption( + const TYPEDID oid, + LPPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumProps( + DWORD dwFlags, + IMimeEnumProperties **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimePropertySet, 0xfd853cd3, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimePropertySetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimePropertySet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimePropertySet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimePropertySet *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMimePropertySet *This, + CLSID *pClassID); + + /*** IPersistStreamInit methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IMimePropertySet *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IMimePropertySet *This, + LPSTREAM pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IMimePropertySet *This, + LPSTREAM pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IMimePropertySet *This, + ULARGE_INTEGER *pcbSize); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IMimePropertySet *This); + + /*** IMimePropertySet methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropInfo)( + IMimePropertySet *This, + LPCSTR pszName, + LPMIMEPROPINFO pInfo); + + HRESULT (STDMETHODCALLTYPE *SetPropInfo)( + IMimePropertySet *This, + LPCSTR pszName, + LPCMIMEPROPINFO pInfo); + + HRESULT (STDMETHODCALLTYPE *GetProp)( + IMimePropertySet *This, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *SetProp)( + IMimePropertySet *This, + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *AppendProp)( + IMimePropertySet *This, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *DeleteProp)( + IMimePropertySet *This, + LPCSTR pszName); + + HRESULT (STDMETHODCALLTYPE *CopyProps)( + IMimePropertySet *This, + ULONG cNames, + LPCSTR *prgszName, + IMimePropertySet *pPropertySet); + + HRESULT (STDMETHODCALLTYPE *MoveProps)( + IMimePropertySet *This, + ULONG cNames, + LPCSTR *prgszName, + IMimePropertySet *pPropertySet); + + HRESULT (STDMETHODCALLTYPE *DeleteExcept)( + IMimePropertySet *This, + ULONG cNames, + LPCSTR *prgszName); + + HRESULT (STDMETHODCALLTYPE *QueryProp)( + IMimePropertySet *This, + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive); + + HRESULT (STDMETHODCALLTYPE *GetCharset)( + IMimePropertySet *This, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *SetCharset)( + IMimePropertySet *This, + HCHARSET hCharset, + CSETAPPLYTYPE applytype); + + HRESULT (STDMETHODCALLTYPE *GetParameters)( + IMimePropertySet *This, + LPCSTR pszName, + ULONG *pcParams, + LPMIMEPARAMINFO *pprgParam); + + HRESULT (STDMETHODCALLTYPE *IsContentType)( + IMimePropertySet *This, + LPCSTR pszPriType, + LPCSTR pszSubType); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IMimePropertySet *This, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IMimePropertySet *This, + IMimePropertySet **ppPropertySet); + + HRESULT (STDMETHODCALLTYPE *SetOption)( + IMimePropertySet *This, + const TYPEDID oid, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *GetOption)( + IMimePropertySet *This, + const TYPEDID oid, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *EnumProps)( + IMimePropertySet *This, + DWORD dwFlags, + IMimeEnumProperties **ppEnum); + + END_INTERFACE +} IMimePropertySetVtbl; + +interface IMimePropertySet { + CONST_VTBL IMimePropertySetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimePropertySet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimePropertySet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimePropertySet_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMimePropertySet_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStreamInit methods ***/ +#define IMimePropertySet_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IMimePropertySet_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IMimePropertySet_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IMimePropertySet_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#define IMimePropertySet_InitNew(This) (This)->lpVtbl->InitNew(This) +/*** IMimePropertySet methods ***/ +#define IMimePropertySet_GetPropInfo(This,pszName,pInfo) (This)->lpVtbl->GetPropInfo(This,pszName,pInfo) +#define IMimePropertySet_SetPropInfo(This,pszName,pInfo) (This)->lpVtbl->SetPropInfo(This,pszName,pInfo) +#define IMimePropertySet_GetProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->GetProp(This,pszName,dwFlags,pValue) +#define IMimePropertySet_SetProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->SetProp(This,pszName,dwFlags,pValue) +#define IMimePropertySet_AppendProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->AppendProp(This,pszName,dwFlags,pValue) +#define IMimePropertySet_DeleteProp(This,pszName) (This)->lpVtbl->DeleteProp(This,pszName) +#define IMimePropertySet_CopyProps(This,cNames,prgszName,pPropertySet) (This)->lpVtbl->CopyProps(This,cNames,prgszName,pPropertySet) +#define IMimePropertySet_MoveProps(This,cNames,prgszName,pPropertySet) (This)->lpVtbl->MoveProps(This,cNames,prgszName,pPropertySet) +#define IMimePropertySet_DeleteExcept(This,cNames,prgszName) (This)->lpVtbl->DeleteExcept(This,cNames,prgszName) +#define IMimePropertySet_QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive) (This)->lpVtbl->QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive) +#define IMimePropertySet_GetCharset(This,phCharset) (This)->lpVtbl->GetCharset(This,phCharset) +#define IMimePropertySet_SetCharset(This,hCharset,applytype) (This)->lpVtbl->SetCharset(This,hCharset,applytype) +#define IMimePropertySet_GetParameters(This,pszName,pcParams,pprgParam) (This)->lpVtbl->GetParameters(This,pszName,pcParams,pprgParam) +#define IMimePropertySet_IsContentType(This,pszPriType,pszSubType) (This)->lpVtbl->IsContentType(This,pszPriType,pszSubType) +#define IMimePropertySet_BindToObject(This,riid,ppvObject) (This)->lpVtbl->BindToObject(This,riid,ppvObject) +#define IMimePropertySet_Clone(This,ppPropertySet) (This)->lpVtbl->Clone(This,ppPropertySet) +#define IMimePropertySet_SetOption(This,oid,pValue) (This)->lpVtbl->SetOption(This,oid,pValue) +#define IMimePropertySet_GetOption(This,oid,pValue) (This)->lpVtbl->GetOption(This,oid,pValue) +#define IMimePropertySet_EnumProps(This,dwFlags,ppEnum) (This)->lpVtbl->EnumProps(This,dwFlags,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimePropertySet_QueryInterface(IMimePropertySet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimePropertySet_AddRef(IMimePropertySet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimePropertySet_Release(IMimePropertySet* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMimePropertySet_GetClassID(IMimePropertySet* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStreamInit methods ***/ +static FORCEINLINE HRESULT IMimePropertySet_IsDirty(IMimePropertySet* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IMimePropertySet_Load(IMimePropertySet* This,LPSTREAM pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IMimePropertySet_Save(IMimePropertySet* This,LPSTREAM pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IMimePropertySet_GetSizeMax(IMimePropertySet* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +static FORCEINLINE HRESULT IMimePropertySet_InitNew(IMimePropertySet* This) { + return This->lpVtbl->InitNew(This); +} +/*** IMimePropertySet methods ***/ +static FORCEINLINE HRESULT IMimePropertySet_GetPropInfo(IMimePropertySet* This,LPCSTR pszName,LPMIMEPROPINFO pInfo) { + return This->lpVtbl->GetPropInfo(This,pszName,pInfo); +} +static FORCEINLINE HRESULT IMimePropertySet_SetPropInfo(IMimePropertySet* This,LPCSTR pszName,LPCMIMEPROPINFO pInfo) { + return This->lpVtbl->SetPropInfo(This,pszName,pInfo); +} +static FORCEINLINE HRESULT IMimePropertySet_GetProp(IMimePropertySet* This,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->GetProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimePropertySet_SetProp(IMimePropertySet* This,LPCSTR pszName,DWORD dwFlags,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimePropertySet_AppendProp(IMimePropertySet* This,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->AppendProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimePropertySet_DeleteProp(IMimePropertySet* This,LPCSTR pszName) { + return This->lpVtbl->DeleteProp(This,pszName); +} +static FORCEINLINE HRESULT IMimePropertySet_CopyProps(IMimePropertySet* This,ULONG cNames,LPCSTR *prgszName,IMimePropertySet *pPropertySet) { + return This->lpVtbl->CopyProps(This,cNames,prgszName,pPropertySet); +} +static FORCEINLINE HRESULT IMimePropertySet_MoveProps(IMimePropertySet* This,ULONG cNames,LPCSTR *prgszName,IMimePropertySet *pPropertySet) { + return This->lpVtbl->MoveProps(This,cNames,prgszName,pPropertySet); +} +static FORCEINLINE HRESULT IMimePropertySet_DeleteExcept(IMimePropertySet* This,ULONG cNames,LPCSTR *prgszName) { + return This->lpVtbl->DeleteExcept(This,cNames,prgszName); +} +static FORCEINLINE HRESULT IMimePropertySet_QueryProp(IMimePropertySet* This,LPCSTR pszName,LPCSTR pszCriteria,boolean fSubString,boolean fCaseSensitive) { + return This->lpVtbl->QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive); +} +static FORCEINLINE HRESULT IMimePropertySet_GetCharset(IMimePropertySet* This,LPHCHARSET phCharset) { + return This->lpVtbl->GetCharset(This,phCharset); +} +static FORCEINLINE HRESULT IMimePropertySet_SetCharset(IMimePropertySet* This,HCHARSET hCharset,CSETAPPLYTYPE applytype) { + return This->lpVtbl->SetCharset(This,hCharset,applytype); +} +static FORCEINLINE HRESULT IMimePropertySet_GetParameters(IMimePropertySet* This,LPCSTR pszName,ULONG *pcParams,LPMIMEPARAMINFO *pprgParam) { + return This->lpVtbl->GetParameters(This,pszName,pcParams,pprgParam); +} +static FORCEINLINE HRESULT IMimePropertySet_IsContentType(IMimePropertySet* This,LPCSTR pszPriType,LPCSTR pszSubType) { + return This->lpVtbl->IsContentType(This,pszPriType,pszSubType); +} +static FORCEINLINE HRESULT IMimePropertySet_BindToObject(IMimePropertySet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->BindToObject(This,riid,ppvObject); +} +static FORCEINLINE HRESULT IMimePropertySet_Clone(IMimePropertySet* This,IMimePropertySet **ppPropertySet) { + return This->lpVtbl->Clone(This,ppPropertySet); +} +static FORCEINLINE HRESULT IMimePropertySet_SetOption(IMimePropertySet* This,const TYPEDID oid,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetOption(This,oid,pValue); +} +static FORCEINLINE HRESULT IMimePropertySet_GetOption(IMimePropertySet* This,const TYPEDID oid,LPPROPVARIANT pValue) { + return This->lpVtbl->GetOption(This,oid,pValue); +} +static FORCEINLINE HRESULT IMimePropertySet_EnumProps(IMimePropertySet* This,DWORD dwFlags,IMimeEnumProperties **ppEnum) { + return This->lpVtbl->EnumProps(This,dwFlags,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IMimePropertySet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeAddressTable interface + */ +#ifndef __IMimeAddressTable_INTERFACE_DEFINED__ +#define __IMimeAddressTable_INTERFACE_DEFINED__ + +typedef IMimeAddressTable *LPMIMEADDRESSTABLE; +typedef void *HADDRESS; +typedef HADDRESS *LPHADDRESS; +typedef DWORD IADDRESSTYPE; +typedef enum tagADDRESSFORMAT { + AFT_DISPLAY_FRIENDLY = 0, + AFT_DISPLAY_EMAIL = 1, + AFT_DISPLAY_BOTH = 2, + AFT_RFC822_DECODED = 3, + AFT_RFC822_ENCODED = 4, + AFT_RFC822_TRANSMIT = 5 +} ADDRESSFORMAT; +#define IAT_UNKNOWN 0x00000000 +#define IAT_FROM 0x00000001 +#define IAT_SENDER 0x00000002 +#define IAT_TO 0x00000004 +#define IAT_CC 0x00000008 +#define IAT_BCC 0x00000010 +#define IAT_REPLYTO 0x00000020 +#define IAT_RETURNPATH 0x00000040 +#define IAT_RETRCPTTO 0x00000080 +#define IAT_RR 0x00000100 +#define IAT_APPARTO 0x00000200 +#define IAT_DISP_NOTIFICATION_TO 0x00000400 +#define IAT_ALL 0xffffffff +#define IAT_KNOWN (IAT_FROM | IAT_TO | IAT_CC | IAT_BCC | IAT_REPLYTO | IAT_SENDER) +#define IAT_RECIPS (IAT_TO | IAT_CC | IAT_BCC) +typedef struct tagADDRESSPROPS { + DWORD dwProps; + HADDRESS hAddress; + ENCODINGTYPE ietFriendly; + HCHARSET hCharset; + DWORD dwAdrType; + LPSTR pszFriendly; + LPWSTR pwszReserved; + LPSTR pszEmail; + CERTSTATE certstate; + THUMBBLOB tbSigning; + THUMBBLOB tbEncryption; + DWORD dwCookie; + DWORD dwReserved1; + DWORD dwReserved2; +} ADDRESSPROPS; +typedef struct tagADDRESSPROPS *LPADDRESSPROPS; +#define IAP_CHARSET 0x00000001 +#define IAP_HANDLE 0x00000002 +#define IAP_ADRTYPE 0x00000004 +#define IAP_FRIENDLY 0x00000008 +#define IAP_EMAIL 0x00000020 +#define IAP_CERTSTATE 0x00000100 +#define IAP_SIGNING_PRINT 0x00000200 +#define IAP_ENCRYPTION_PRINT 0x00000400 +#define IAP_ENCODING 0x00000800 +#define IAP_COOKIE 0x00001000 +#define IAP_FRIENDLYW 0x00002000 +#define IAP_ALL 0xffffffff +typedef struct tagADDRESSLIST { + ULONG cAdrs; + LPADDRESSPROPS prgAdr; +} ADDRESSLIST; +typedef struct tagADDRESSLIST *LPADDRESSLIST; +DEFINE_GUID(IID_IMimeAddressTable, 0xc558834a, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c558834a-7f86-11d0-8252-00c04fd85ab4") +IMimeAddressTable : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Append( + DWORD addrtype, + ENCODINGTYPE encoding, + const char *friendly, + const char *email, + HADDRESS *address) = 0; + + virtual HRESULT STDMETHODCALLTYPE Insert( + ADDRESSPROPS *addressprop, + HADDRESS *address) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProps( + HADDRESS address, + ADDRESSPROPS *addressprop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProps( + HADDRESS address, + ADDRESSPROPS *addressprop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSender( + ADDRESSPROPS *addressprop) = 0; + + virtual HRESULT STDMETHODCALLTYPE CountTypes( + DWORD addrtype, + ULONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypes( + DWORD addrtype, + DWORD dwProps, + ADDRESSLIST *list) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumTypes( + DWORD addrtype, + DWORD props, + IMimeEnumAddressTypes **types) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + HADDRESS hAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteTypes( + DWORD addrtype) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFormat( + DWORD addrtype, + ADDRESSFORMAT addrformat, + char **format) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendRfc822( + DWORD addrtype, + ENCODINGTYPE encoding, + const char *rfcaddr) = 0; + + virtual HRESULT STDMETHODCALLTYPE ParseRfc822( + DWORD addrtype, + ENCODINGTYPE encoding, + const char *rfcaddr, + ADDRESSLIST *list) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IMimeAddressTable **table) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToObject( + REFIID riid, + void **obj) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeAddressTable, 0xc558834a, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeAddressTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeAddressTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeAddressTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeAddressTable *This); + + /*** IMimeAddressTable methods ***/ + HRESULT (STDMETHODCALLTYPE *Append)( + IMimeAddressTable *This, + DWORD addrtype, + ENCODINGTYPE encoding, + const char *friendly, + const char *email, + HADDRESS *address); + + HRESULT (STDMETHODCALLTYPE *Insert)( + IMimeAddressTable *This, + ADDRESSPROPS *addressprop, + HADDRESS *address); + + HRESULT (STDMETHODCALLTYPE *SetProps)( + IMimeAddressTable *This, + HADDRESS address, + ADDRESSPROPS *addressprop); + + HRESULT (STDMETHODCALLTYPE *GetProps)( + IMimeAddressTable *This, + HADDRESS address, + ADDRESSPROPS *addressprop); + + HRESULT (STDMETHODCALLTYPE *GetSender)( + IMimeAddressTable *This, + ADDRESSPROPS *addressprop); + + HRESULT (STDMETHODCALLTYPE *CountTypes)( + IMimeAddressTable *This, + DWORD addrtype, + ULONG *count); + + HRESULT (STDMETHODCALLTYPE *GetTypes)( + IMimeAddressTable *This, + DWORD addrtype, + DWORD dwProps, + ADDRESSLIST *list); + + HRESULT (STDMETHODCALLTYPE *EnumTypes)( + IMimeAddressTable *This, + DWORD addrtype, + DWORD props, + IMimeEnumAddressTypes **types); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IMimeAddressTable *This, + HADDRESS hAddress); + + HRESULT (STDMETHODCALLTYPE *DeleteTypes)( + IMimeAddressTable *This, + DWORD addrtype); + + HRESULT (STDMETHODCALLTYPE *GetFormat)( + IMimeAddressTable *This, + DWORD addrtype, + ADDRESSFORMAT addrformat, + char **format); + + HRESULT (STDMETHODCALLTYPE *AppendRfc822)( + IMimeAddressTable *This, + DWORD addrtype, + ENCODINGTYPE encoding, + const char *rfcaddr); + + HRESULT (STDMETHODCALLTYPE *ParseRfc822)( + IMimeAddressTable *This, + DWORD addrtype, + ENCODINGTYPE encoding, + const char *rfcaddr, + ADDRESSLIST *list); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IMimeAddressTable *This, + IMimeAddressTable **table); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IMimeAddressTable *This, + REFIID riid, + void **obj); + + END_INTERFACE +} IMimeAddressTableVtbl; + +interface IMimeAddressTable { + CONST_VTBL IMimeAddressTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeAddressTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeAddressTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeAddressTable_Release(This) (This)->lpVtbl->Release(This) +/*** IMimeAddressTable methods ***/ +#define IMimeAddressTable_Append(This,addrtype,encoding,friendly,email,address) (This)->lpVtbl->Append(This,addrtype,encoding,friendly,email,address) +#define IMimeAddressTable_Insert(This,addressprop,address) (This)->lpVtbl->Insert(This,addressprop,address) +#define IMimeAddressTable_SetProps(This,address,addressprop) (This)->lpVtbl->SetProps(This,address,addressprop) +#define IMimeAddressTable_GetProps(This,address,addressprop) (This)->lpVtbl->GetProps(This,address,addressprop) +#define IMimeAddressTable_GetSender(This,addressprop) (This)->lpVtbl->GetSender(This,addressprop) +#define IMimeAddressTable_CountTypes(This,addrtype,count) (This)->lpVtbl->CountTypes(This,addrtype,count) +#define IMimeAddressTable_GetTypes(This,addrtype,dwProps,list) (This)->lpVtbl->GetTypes(This,addrtype,dwProps,list) +#define IMimeAddressTable_EnumTypes(This,addrtype,props,types) (This)->lpVtbl->EnumTypes(This,addrtype,props,types) +#define IMimeAddressTable_Delete(This,hAddress) (This)->lpVtbl->Delete(This,hAddress) +#define IMimeAddressTable_DeleteTypes(This,addrtype) (This)->lpVtbl->DeleteTypes(This,addrtype) +#define IMimeAddressTable_GetFormat(This,addrtype,addrformat,format) (This)->lpVtbl->GetFormat(This,addrtype,addrformat,format) +#define IMimeAddressTable_AppendRfc822(This,addrtype,encoding,rfcaddr) (This)->lpVtbl->AppendRfc822(This,addrtype,encoding,rfcaddr) +#define IMimeAddressTable_ParseRfc822(This,addrtype,encoding,rfcaddr,list) (This)->lpVtbl->ParseRfc822(This,addrtype,encoding,rfcaddr,list) +#define IMimeAddressTable_Clone(This,table) (This)->lpVtbl->Clone(This,table) +#define IMimeAddressTable_BindToObject(This,riid,obj) (This)->lpVtbl->BindToObject(This,riid,obj) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeAddressTable_QueryInterface(IMimeAddressTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeAddressTable_AddRef(IMimeAddressTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeAddressTable_Release(IMimeAddressTable* This) { + return This->lpVtbl->Release(This); +} +/*** IMimeAddressTable methods ***/ +static FORCEINLINE HRESULT IMimeAddressTable_Append(IMimeAddressTable* This,DWORD addrtype,ENCODINGTYPE encoding,const char *friendly,const char *email,HADDRESS *address) { + return This->lpVtbl->Append(This,addrtype,encoding,friendly,email,address); +} +static FORCEINLINE HRESULT IMimeAddressTable_Insert(IMimeAddressTable* This,ADDRESSPROPS *addressprop,HADDRESS *address) { + return This->lpVtbl->Insert(This,addressprop,address); +} +static FORCEINLINE HRESULT IMimeAddressTable_SetProps(IMimeAddressTable* This,HADDRESS address,ADDRESSPROPS *addressprop) { + return This->lpVtbl->SetProps(This,address,addressprop); +} +static FORCEINLINE HRESULT IMimeAddressTable_GetProps(IMimeAddressTable* This,HADDRESS address,ADDRESSPROPS *addressprop) { + return This->lpVtbl->GetProps(This,address,addressprop); +} +static FORCEINLINE HRESULT IMimeAddressTable_GetSender(IMimeAddressTable* This,ADDRESSPROPS *addressprop) { + return This->lpVtbl->GetSender(This,addressprop); +} +static FORCEINLINE HRESULT IMimeAddressTable_CountTypes(IMimeAddressTable* This,DWORD addrtype,ULONG *count) { + return This->lpVtbl->CountTypes(This,addrtype,count); +} +static FORCEINLINE HRESULT IMimeAddressTable_GetTypes(IMimeAddressTable* This,DWORD addrtype,DWORD dwProps,ADDRESSLIST *list) { + return This->lpVtbl->GetTypes(This,addrtype,dwProps,list); +} +static FORCEINLINE HRESULT IMimeAddressTable_EnumTypes(IMimeAddressTable* This,DWORD addrtype,DWORD props,IMimeEnumAddressTypes **types) { + return This->lpVtbl->EnumTypes(This,addrtype,props,types); +} +static FORCEINLINE HRESULT IMimeAddressTable_Delete(IMimeAddressTable* This,HADDRESS hAddress) { + return This->lpVtbl->Delete(This,hAddress); +} +static FORCEINLINE HRESULT IMimeAddressTable_DeleteTypes(IMimeAddressTable* This,DWORD addrtype) { + return This->lpVtbl->DeleteTypes(This,addrtype); +} +static FORCEINLINE HRESULT IMimeAddressTable_GetFormat(IMimeAddressTable* This,DWORD addrtype,ADDRESSFORMAT addrformat,char **format) { + return This->lpVtbl->GetFormat(This,addrtype,addrformat,format); +} +static FORCEINLINE HRESULT IMimeAddressTable_AppendRfc822(IMimeAddressTable* This,DWORD addrtype,ENCODINGTYPE encoding,const char *rfcaddr) { + return This->lpVtbl->AppendRfc822(This,addrtype,encoding,rfcaddr); +} +static FORCEINLINE HRESULT IMimeAddressTable_ParseRfc822(IMimeAddressTable* This,DWORD addrtype,ENCODINGTYPE encoding,const char *rfcaddr,ADDRESSLIST *list) { + return This->lpVtbl->ParseRfc822(This,addrtype,encoding,rfcaddr,list); +} +static FORCEINLINE HRESULT IMimeAddressTable_Clone(IMimeAddressTable* This,IMimeAddressTable **table) { + return This->lpVtbl->Clone(This,table); +} +static FORCEINLINE HRESULT IMimeAddressTable_BindToObject(IMimeAddressTable* This,REFIID riid,void **obj) { + return This->lpVtbl->BindToObject(This,riid,obj); +} +#endif +#endif + +#endif + + +#endif /* __IMimeAddressTable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeWebDocument interface + */ +#ifndef __IMimeWebDocument_INTERFACE_DEFINED__ +#define __IMimeWebDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeWebDocument, 0xee519f11, 0x851a, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ee519f11-851a-11d0-8252-00c04fd85ab4") +IMimeWebDocument : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeWebDocument, 0xee519f11, 0x851a, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeWebDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeWebDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeWebDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeWebDocument *This); + + END_INTERFACE +} IMimeWebDocumentVtbl; + +interface IMimeWebDocument { + CONST_VTBL IMimeWebDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeWebDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeWebDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeWebDocument_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeWebDocument_QueryInterface(IMimeWebDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeWebDocument_AddRef(IMimeWebDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeWebDocument_Release(IMimeWebDocument* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeWebDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeBody interface + */ +#ifndef __IMimeBody_INTERFACE_DEFINED__ +#define __IMimeBody_INTERFACE_DEFINED__ + +typedef IMimeBody *LPMIMEBODY; +typedef enum tagIMSGBODYTYPE { + IBT_SECURE = 0, + IBT_ATTACHMENT = 1, + IBT_EMPTY = 2, + IBT_CSETTAGGED = 3, + IBT_AUTOATTACH = 4 +} IMSGBODYTYPE; +typedef struct tagBODYOFFSETS { + DWORD cbBoundaryStart; + DWORD cbHeaderStart; + DWORD cbBodyStart; + DWORD cbBodyEnd; +} BODYOFFSETS; +typedef struct tagBODYOFFSETS *LPBODYOFFSETS; +typedef struct tagTRANSMITINFO { + ENCODINGTYPE ietCurrent; + ENCODINGTYPE ietXmitMime; + ENCODINGTYPE ietXmit822; + ULONG cbLongestLine; + ULONG cExtended; + ULONG ulPercentExt; + ULONG cbSize; + ULONG cLines; +} TRANSMITINFO; +typedef struct tagTRANSMITINFO *LPTRANSMITINFO; +DEFINE_GUID(IID_IMimeBody, 0xc558834c, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c558834c-7f86-11d0-8252-00c04fd85ab4") +IMimeBody : public IMimePropertySet +{ + virtual HRESULT STDMETHODCALLTYPE IsType( + IMSGBODYTYPE bodytype) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDisplayName( + LPCSTR pszDisplay) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPSTR *ppszDisplay) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOffsets( + LPBODYOFFSETS pOffsets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentEncoding( + ENCODINGTYPE *pietEncoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentEncoding( + ENCODINGTYPE ietEncoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEstimatedSize( + ENCODINGTYPE ietEncoding, + ULONG *pcbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataHere( + ENCODINGTYPE ietEncoding, + IStream *pStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetData( + ENCODINGTYPE ietEncoding, + IStream **ppStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetData( + ENCODINGTYPE ietEncoding, + LPCSTR pszPriType, + LPCSTR pszSubType, + REFIID riid, + LPVOID pvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE EmptyData( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyTo( + IMimeBody *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransmitInfo( + LPTRANSMITINFO pTransmitInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveToFile( + ENCODINGTYPE ietEncoding, + LPCSTR pszFilePath) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHandle( + LPHBODY phBody) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeBody, 0xc558834c, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeBodyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeBody *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeBody *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeBody *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMimeBody *This, + CLSID *pClassID); + + /*** IPersistStreamInit methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IMimeBody *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IMimeBody *This, + LPSTREAM pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IMimeBody *This, + LPSTREAM pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IMimeBody *This, + ULARGE_INTEGER *pcbSize); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IMimeBody *This); + + /*** IMimePropertySet methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropInfo)( + IMimeBody *This, + LPCSTR pszName, + LPMIMEPROPINFO pInfo); + + HRESULT (STDMETHODCALLTYPE *SetPropInfo)( + IMimeBody *This, + LPCSTR pszName, + LPCMIMEPROPINFO pInfo); + + HRESULT (STDMETHODCALLTYPE *GetProp)( + IMimeBody *This, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *SetProp)( + IMimeBody *This, + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *AppendProp)( + IMimeBody *This, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *DeleteProp)( + IMimeBody *This, + LPCSTR pszName); + + HRESULT (STDMETHODCALLTYPE *CopyProps)( + IMimeBody *This, + ULONG cNames, + LPCSTR *prgszName, + IMimePropertySet *pPropertySet); + + HRESULT (STDMETHODCALLTYPE *MoveProps)( + IMimeBody *This, + ULONG cNames, + LPCSTR *prgszName, + IMimePropertySet *pPropertySet); + + HRESULT (STDMETHODCALLTYPE *DeleteExcept)( + IMimeBody *This, + ULONG cNames, + LPCSTR *prgszName); + + HRESULT (STDMETHODCALLTYPE *QueryProp)( + IMimeBody *This, + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive); + + HRESULT (STDMETHODCALLTYPE *GetCharset)( + IMimeBody *This, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *SetCharset)( + IMimeBody *This, + HCHARSET hCharset, + CSETAPPLYTYPE applytype); + + HRESULT (STDMETHODCALLTYPE *GetParameters)( + IMimeBody *This, + LPCSTR pszName, + ULONG *pcParams, + LPMIMEPARAMINFO *pprgParam); + + HRESULT (STDMETHODCALLTYPE *IsContentType)( + IMimeBody *This, + LPCSTR pszPriType, + LPCSTR pszSubType); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IMimeBody *This, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IMimeBody *This, + IMimePropertySet **ppPropertySet); + + HRESULT (STDMETHODCALLTYPE *SetOption)( + IMimeBody *This, + const TYPEDID oid, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *GetOption)( + IMimeBody *This, + const TYPEDID oid, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *EnumProps)( + IMimeBody *This, + DWORD dwFlags, + IMimeEnumProperties **ppEnum); + + /*** IMimeBody methods ***/ + HRESULT (STDMETHODCALLTYPE *IsType)( + IMimeBody *This, + IMSGBODYTYPE bodytype); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + IMimeBody *This, + LPCSTR pszDisplay); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IMimeBody *This, + LPSTR *ppszDisplay); + + HRESULT (STDMETHODCALLTYPE *GetOffsets)( + IMimeBody *This, + LPBODYOFFSETS pOffsets); + + HRESULT (STDMETHODCALLTYPE *GetCurrentEncoding)( + IMimeBody *This, + ENCODINGTYPE *pietEncoding); + + HRESULT (STDMETHODCALLTYPE *SetCurrentEncoding)( + IMimeBody *This, + ENCODINGTYPE ietEncoding); + + HRESULT (STDMETHODCALLTYPE *GetEstimatedSize)( + IMimeBody *This, + ENCODINGTYPE ietEncoding, + ULONG *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetDataHere)( + IMimeBody *This, + ENCODINGTYPE ietEncoding, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *GetData)( + IMimeBody *This, + ENCODINGTYPE ietEncoding, + IStream **ppStream); + + HRESULT (STDMETHODCALLTYPE *SetData)( + IMimeBody *This, + ENCODINGTYPE ietEncoding, + LPCSTR pszPriType, + LPCSTR pszSubType, + REFIID riid, + LPVOID pvObject); + + HRESULT (STDMETHODCALLTYPE *EmptyData)( + IMimeBody *This); + + HRESULT (STDMETHODCALLTYPE *CopyTo)( + IMimeBody *This, + IMimeBody *pBody); + + HRESULT (STDMETHODCALLTYPE *GetTransmitInfo)( + IMimeBody *This, + LPTRANSMITINFO pTransmitInfo); + + HRESULT (STDMETHODCALLTYPE *SaveToFile)( + IMimeBody *This, + ENCODINGTYPE ietEncoding, + LPCSTR pszFilePath); + + HRESULT (STDMETHODCALLTYPE *GetHandle)( + IMimeBody *This, + LPHBODY phBody); + + END_INTERFACE +} IMimeBodyVtbl; + +interface IMimeBody { + CONST_VTBL IMimeBodyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeBody_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeBody_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeBody_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMimeBody_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStreamInit methods ***/ +#define IMimeBody_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IMimeBody_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IMimeBody_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IMimeBody_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#define IMimeBody_InitNew(This) (This)->lpVtbl->InitNew(This) +/*** IMimePropertySet methods ***/ +#define IMimeBody_GetPropInfo(This,pszName,pInfo) (This)->lpVtbl->GetPropInfo(This,pszName,pInfo) +#define IMimeBody_SetPropInfo(This,pszName,pInfo) (This)->lpVtbl->SetPropInfo(This,pszName,pInfo) +#define IMimeBody_GetProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->GetProp(This,pszName,dwFlags,pValue) +#define IMimeBody_SetProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->SetProp(This,pszName,dwFlags,pValue) +#define IMimeBody_AppendProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->AppendProp(This,pszName,dwFlags,pValue) +#define IMimeBody_DeleteProp(This,pszName) (This)->lpVtbl->DeleteProp(This,pszName) +#define IMimeBody_CopyProps(This,cNames,prgszName,pPropertySet) (This)->lpVtbl->CopyProps(This,cNames,prgszName,pPropertySet) +#define IMimeBody_MoveProps(This,cNames,prgszName,pPropertySet) (This)->lpVtbl->MoveProps(This,cNames,prgszName,pPropertySet) +#define IMimeBody_DeleteExcept(This,cNames,prgszName) (This)->lpVtbl->DeleteExcept(This,cNames,prgszName) +#define IMimeBody_QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive) (This)->lpVtbl->QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive) +#define IMimeBody_GetCharset(This,phCharset) (This)->lpVtbl->GetCharset(This,phCharset) +#define IMimeBody_SetCharset(This,hCharset,applytype) (This)->lpVtbl->SetCharset(This,hCharset,applytype) +#define IMimeBody_GetParameters(This,pszName,pcParams,pprgParam) (This)->lpVtbl->GetParameters(This,pszName,pcParams,pprgParam) +#define IMimeBody_IsContentType(This,pszPriType,pszSubType) (This)->lpVtbl->IsContentType(This,pszPriType,pszSubType) +#define IMimeBody_BindToObject(This,riid,ppvObject) (This)->lpVtbl->BindToObject(This,riid,ppvObject) +#define IMimeBody_Clone(This,ppPropertySet) (This)->lpVtbl->Clone(This,ppPropertySet) +#define IMimeBody_SetOption(This,oid,pValue) (This)->lpVtbl->SetOption(This,oid,pValue) +#define IMimeBody_GetOption(This,oid,pValue) (This)->lpVtbl->GetOption(This,oid,pValue) +#define IMimeBody_EnumProps(This,dwFlags,ppEnum) (This)->lpVtbl->EnumProps(This,dwFlags,ppEnum) +/*** IMimeBody methods ***/ +#define IMimeBody_IsType(This,bodytype) (This)->lpVtbl->IsType(This,bodytype) +#define IMimeBody_SetDisplayName(This,pszDisplay) (This)->lpVtbl->SetDisplayName(This,pszDisplay) +#define IMimeBody_GetDisplayName(This,ppszDisplay) (This)->lpVtbl->GetDisplayName(This,ppszDisplay) +#define IMimeBody_GetOffsets(This,pOffsets) (This)->lpVtbl->GetOffsets(This,pOffsets) +#define IMimeBody_GetCurrentEncoding(This,pietEncoding) (This)->lpVtbl->GetCurrentEncoding(This,pietEncoding) +#define IMimeBody_SetCurrentEncoding(This,ietEncoding) (This)->lpVtbl->SetCurrentEncoding(This,ietEncoding) +#define IMimeBody_GetEstimatedSize(This,ietEncoding,pcbSize) (This)->lpVtbl->GetEstimatedSize(This,ietEncoding,pcbSize) +#define IMimeBody_GetDataHere(This,ietEncoding,pStream) (This)->lpVtbl->GetDataHere(This,ietEncoding,pStream) +#define IMimeBody_GetData(This,ietEncoding,ppStream) (This)->lpVtbl->GetData(This,ietEncoding,ppStream) +#define IMimeBody_SetData(This,ietEncoding,pszPriType,pszSubType,riid,pvObject) (This)->lpVtbl->SetData(This,ietEncoding,pszPriType,pszSubType,riid,pvObject) +#define IMimeBody_EmptyData(This) (This)->lpVtbl->EmptyData(This) +#define IMimeBody_CopyTo(This,pBody) (This)->lpVtbl->CopyTo(This,pBody) +#define IMimeBody_GetTransmitInfo(This,pTransmitInfo) (This)->lpVtbl->GetTransmitInfo(This,pTransmitInfo) +#define IMimeBody_SaveToFile(This,ietEncoding,pszFilePath) (This)->lpVtbl->SaveToFile(This,ietEncoding,pszFilePath) +#define IMimeBody_GetHandle(This,phBody) (This)->lpVtbl->GetHandle(This,phBody) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeBody_QueryInterface(IMimeBody* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeBody_AddRef(IMimeBody* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeBody_Release(IMimeBody* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMimeBody_GetClassID(IMimeBody* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStreamInit methods ***/ +static FORCEINLINE HRESULT IMimeBody_IsDirty(IMimeBody* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IMimeBody_Load(IMimeBody* This,LPSTREAM pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IMimeBody_Save(IMimeBody* This,LPSTREAM pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IMimeBody_GetSizeMax(IMimeBody* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +static FORCEINLINE HRESULT IMimeBody_InitNew(IMimeBody* This) { + return This->lpVtbl->InitNew(This); +} +/*** IMimePropertySet methods ***/ +static FORCEINLINE HRESULT IMimeBody_GetPropInfo(IMimeBody* This,LPCSTR pszName,LPMIMEPROPINFO pInfo) { + return This->lpVtbl->GetPropInfo(This,pszName,pInfo); +} +static FORCEINLINE HRESULT IMimeBody_SetPropInfo(IMimeBody* This,LPCSTR pszName,LPCMIMEPROPINFO pInfo) { + return This->lpVtbl->SetPropInfo(This,pszName,pInfo); +} +static FORCEINLINE HRESULT IMimeBody_GetProp(IMimeBody* This,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->GetProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeBody_SetProp(IMimeBody* This,LPCSTR pszName,DWORD dwFlags,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeBody_AppendProp(IMimeBody* This,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->AppendProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeBody_DeleteProp(IMimeBody* This,LPCSTR pszName) { + return This->lpVtbl->DeleteProp(This,pszName); +} +static FORCEINLINE HRESULT IMimeBody_CopyProps(IMimeBody* This,ULONG cNames,LPCSTR *prgszName,IMimePropertySet *pPropertySet) { + return This->lpVtbl->CopyProps(This,cNames,prgszName,pPropertySet); +} +static FORCEINLINE HRESULT IMimeBody_MoveProps(IMimeBody* This,ULONG cNames,LPCSTR *prgszName,IMimePropertySet *pPropertySet) { + return This->lpVtbl->MoveProps(This,cNames,prgszName,pPropertySet); +} +static FORCEINLINE HRESULT IMimeBody_DeleteExcept(IMimeBody* This,ULONG cNames,LPCSTR *prgszName) { + return This->lpVtbl->DeleteExcept(This,cNames,prgszName); +} +static FORCEINLINE HRESULT IMimeBody_QueryProp(IMimeBody* This,LPCSTR pszName,LPCSTR pszCriteria,boolean fSubString,boolean fCaseSensitive) { + return This->lpVtbl->QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive); +} +static FORCEINLINE HRESULT IMimeBody_GetCharset(IMimeBody* This,LPHCHARSET phCharset) { + return This->lpVtbl->GetCharset(This,phCharset); +} +static FORCEINLINE HRESULT IMimeBody_SetCharset(IMimeBody* This,HCHARSET hCharset,CSETAPPLYTYPE applytype) { + return This->lpVtbl->SetCharset(This,hCharset,applytype); +} +static FORCEINLINE HRESULT IMimeBody_GetParameters(IMimeBody* This,LPCSTR pszName,ULONG *pcParams,LPMIMEPARAMINFO *pprgParam) { + return This->lpVtbl->GetParameters(This,pszName,pcParams,pprgParam); +} +static FORCEINLINE HRESULT IMimeBody_IsContentType(IMimeBody* This,LPCSTR pszPriType,LPCSTR pszSubType) { + return This->lpVtbl->IsContentType(This,pszPriType,pszSubType); +} +static FORCEINLINE HRESULT IMimeBody_BindToObject(IMimeBody* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->BindToObject(This,riid,ppvObject); +} +static FORCEINLINE HRESULT IMimeBody_Clone(IMimeBody* This,IMimePropertySet **ppPropertySet) { + return This->lpVtbl->Clone(This,ppPropertySet); +} +static FORCEINLINE HRESULT IMimeBody_SetOption(IMimeBody* This,const TYPEDID oid,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetOption(This,oid,pValue); +} +static FORCEINLINE HRESULT IMimeBody_GetOption(IMimeBody* This,const TYPEDID oid,LPPROPVARIANT pValue) { + return This->lpVtbl->GetOption(This,oid,pValue); +} +static FORCEINLINE HRESULT IMimeBody_EnumProps(IMimeBody* This,DWORD dwFlags,IMimeEnumProperties **ppEnum) { + return This->lpVtbl->EnumProps(This,dwFlags,ppEnum); +} +/*** IMimeBody methods ***/ +static FORCEINLINE HRESULT IMimeBody_IsType(IMimeBody* This,IMSGBODYTYPE bodytype) { + return This->lpVtbl->IsType(This,bodytype); +} +static FORCEINLINE HRESULT IMimeBody_SetDisplayName(IMimeBody* This,LPCSTR pszDisplay) { + return This->lpVtbl->SetDisplayName(This,pszDisplay); +} +static FORCEINLINE HRESULT IMimeBody_GetDisplayName(IMimeBody* This,LPSTR *ppszDisplay) { + return This->lpVtbl->GetDisplayName(This,ppszDisplay); +} +static FORCEINLINE HRESULT IMimeBody_GetOffsets(IMimeBody* This,LPBODYOFFSETS pOffsets) { + return This->lpVtbl->GetOffsets(This,pOffsets); +} +static FORCEINLINE HRESULT IMimeBody_GetCurrentEncoding(IMimeBody* This,ENCODINGTYPE *pietEncoding) { + return This->lpVtbl->GetCurrentEncoding(This,pietEncoding); +} +static FORCEINLINE HRESULT IMimeBody_SetCurrentEncoding(IMimeBody* This,ENCODINGTYPE ietEncoding) { + return This->lpVtbl->SetCurrentEncoding(This,ietEncoding); +} +static FORCEINLINE HRESULT IMimeBody_GetEstimatedSize(IMimeBody* This,ENCODINGTYPE ietEncoding,ULONG *pcbSize) { + return This->lpVtbl->GetEstimatedSize(This,ietEncoding,pcbSize); +} +static FORCEINLINE HRESULT IMimeBody_GetDataHere(IMimeBody* This,ENCODINGTYPE ietEncoding,IStream *pStream) { + return This->lpVtbl->GetDataHere(This,ietEncoding,pStream); +} +static FORCEINLINE HRESULT IMimeBody_GetData(IMimeBody* This,ENCODINGTYPE ietEncoding,IStream **ppStream) { + return This->lpVtbl->GetData(This,ietEncoding,ppStream); +} +static FORCEINLINE HRESULT IMimeBody_SetData(IMimeBody* This,ENCODINGTYPE ietEncoding,LPCSTR pszPriType,LPCSTR pszSubType,REFIID riid,LPVOID pvObject) { + return This->lpVtbl->SetData(This,ietEncoding,pszPriType,pszSubType,riid,pvObject); +} +static FORCEINLINE HRESULT IMimeBody_EmptyData(IMimeBody* This) { + return This->lpVtbl->EmptyData(This); +} +static FORCEINLINE HRESULT IMimeBody_CopyTo(IMimeBody* This,IMimeBody *pBody) { + return This->lpVtbl->CopyTo(This,pBody); +} +static FORCEINLINE HRESULT IMimeBody_GetTransmitInfo(IMimeBody* This,LPTRANSMITINFO pTransmitInfo) { + return This->lpVtbl->GetTransmitInfo(This,pTransmitInfo); +} +static FORCEINLINE HRESULT IMimeBody_SaveToFile(IMimeBody* This,ENCODINGTYPE ietEncoding,LPCSTR pszFilePath) { + return This->lpVtbl->SaveToFile(This,ietEncoding,pszFilePath); +} +static FORCEINLINE HRESULT IMimeBody_GetHandle(IMimeBody* This,LPHBODY phBody) { + return This->lpVtbl->GetHandle(This,phBody); +} +#endif +#endif + +#endif + + +#endif /* __IMimeBody_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeMessageTree interface + */ +#ifndef __IMimeMessageTree_INTERFACE_DEFINED__ +#define __IMimeMessageTree_INTERFACE_DEFINED__ + +typedef IMimeMessageTree *LPMIMEMESSAGETREE; +#define HBODY_ROOT ((HBODY)-1) + +typedef enum tagBODYLOCATION { + IBL_ROOT = 0, + IBL_PARENT = 1, + IBL_FIRST = 2, + IBL_LAST = 3, + IBL_NEXT = 4, + IBL_PREVIOUS = 5 +} BODYLOCATION; +typedef struct tagFINDBODY { + LPSTR pszPriType; + LPSTR pszSubType; + DWORD dwReserved; +} FINDBODY; +typedef struct tagFINDBODY *LPFINDBODY; +DEFINE_GUID(IID_IMimeMessageTree, 0xfd853cd4, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd853cd4-7f86-11d0-8252-00c04fd85ab4") +IMimeMessageTree : public IPersistStreamInit +{ + virtual HRESULT STDMETHODCALLTYPE GetMessageSource( + IStream **ppStream, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessageSize( + ULONG *pcbSize, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadOffsetTable( + IStream *pStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveOffsetTable( + IStream *pStream, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlags( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandsOffStorage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToObject( + const HBODY hBody, + REFIID riid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveBody( + HBODY hBody, + DWORD dwFlags, + IStream *pStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertBody( + BODYLOCATION location, + HBODY hPivot, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBody( + BODYLOCATION location, + HBODY hPivot, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteBody( + HBODY hBody, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveBody( + HBODY hBody, + BODYLOCATION location) = 0; + + virtual HRESULT STDMETHODCALLTYPE CountBodies( + HBODY hParent, + boolean fRecurse, + ULONG *pcBodies) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFirst( + LPFINDBODY pFindBody, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindNext( + LPFINDBODY pFindBody, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResolveURL( + HBODY hRelated, + LPCSTR pszBase, + LPCSTR pszURL, + DWORD dwFlags, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE ToMultipart( + HBODY hBody, + LPCSTR pszSubType, + LPHBODY phMultipart) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBodyOffsets( + HBODY hBody, + LPBODYOFFSETS pOffsets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharset( + LPHCHARSET phCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCharset( + HCHARSET hCharset, + CSETAPPLYTYPE applytype) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsBodyType( + HBODY hBody, + IMSGBODYTYPE bodytype) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsContentType( + HBODY hBody, + LPCSTR pszPriType, + LPCSTR pszSubType) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryBodyProp( + HBODY hBody, + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBodyProp( + HBODY hBody, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBodyProp( + HBODY hBody, + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteBodyProp( + HBODY hBody, + LPCSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOption( + const TYPEDID oid, + LPCPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOption( + const TYPEDID oid, + LPPROPVARIANT pValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeMessageTree, 0xfd853cd4, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeMessageTreeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeMessageTree *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeMessageTree *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeMessageTree *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMimeMessageTree *This, + CLSID *pClassID); + + /*** IPersistStreamInit methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IMimeMessageTree *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IMimeMessageTree *This, + LPSTREAM pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IMimeMessageTree *This, + LPSTREAM pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IMimeMessageTree *This, + ULARGE_INTEGER *pcbSize); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IMimeMessageTree *This); + + /*** IMimeMessageTree methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMessageSource)( + IMimeMessageTree *This, + IStream **ppStream, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetMessageSize)( + IMimeMessageTree *This, + ULONG *pcbSize, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *LoadOffsetTable)( + IMimeMessageTree *This, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *SaveOffsetTable)( + IMimeMessageTree *This, + IStream *pStream, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + IMimeMessageTree *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IMimeMessageTree *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *HandsOffStorage)( + IMimeMessageTree *This); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IMimeMessageTree *This, + const HBODY hBody, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *SaveBody)( + IMimeMessageTree *This, + HBODY hBody, + DWORD dwFlags, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *InsertBody)( + IMimeMessageTree *This, + BODYLOCATION location, + HBODY hPivot, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *GetBody)( + IMimeMessageTree *This, + BODYLOCATION location, + HBODY hPivot, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *DeleteBody)( + IMimeMessageTree *This, + HBODY hBody, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *MoveBody)( + IMimeMessageTree *This, + HBODY hBody, + BODYLOCATION location); + + HRESULT (STDMETHODCALLTYPE *CountBodies)( + IMimeMessageTree *This, + HBODY hParent, + boolean fRecurse, + ULONG *pcBodies); + + HRESULT (STDMETHODCALLTYPE *FindFirst)( + IMimeMessageTree *This, + LPFINDBODY pFindBody, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *FindNext)( + IMimeMessageTree *This, + LPFINDBODY pFindBody, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *ResolveURL)( + IMimeMessageTree *This, + HBODY hRelated, + LPCSTR pszBase, + LPCSTR pszURL, + DWORD dwFlags, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *ToMultipart)( + IMimeMessageTree *This, + HBODY hBody, + LPCSTR pszSubType, + LPHBODY phMultipart); + + HRESULT (STDMETHODCALLTYPE *GetBodyOffsets)( + IMimeMessageTree *This, + HBODY hBody, + LPBODYOFFSETS pOffsets); + + HRESULT (STDMETHODCALLTYPE *GetCharset)( + IMimeMessageTree *This, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *SetCharset)( + IMimeMessageTree *This, + HCHARSET hCharset, + CSETAPPLYTYPE applytype); + + HRESULT (STDMETHODCALLTYPE *IsBodyType)( + IMimeMessageTree *This, + HBODY hBody, + IMSGBODYTYPE bodytype); + + HRESULT (STDMETHODCALLTYPE *IsContentType)( + IMimeMessageTree *This, + HBODY hBody, + LPCSTR pszPriType, + LPCSTR pszSubType); + + HRESULT (STDMETHODCALLTYPE *QueryBodyProp)( + IMimeMessageTree *This, + HBODY hBody, + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive); + + HRESULT (STDMETHODCALLTYPE *GetBodyProp)( + IMimeMessageTree *This, + HBODY hBody, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *SetBodyProp)( + IMimeMessageTree *This, + HBODY hBody, + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *DeleteBodyProp)( + IMimeMessageTree *This, + HBODY hBody, + LPCSTR pszName); + + HRESULT (STDMETHODCALLTYPE *SetOption)( + IMimeMessageTree *This, + const TYPEDID oid, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *GetOption)( + IMimeMessageTree *This, + const TYPEDID oid, + LPPROPVARIANT pValue); + + END_INTERFACE +} IMimeMessageTreeVtbl; + +interface IMimeMessageTree { + CONST_VTBL IMimeMessageTreeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeMessageTree_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeMessageTree_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeMessageTree_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMimeMessageTree_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStreamInit methods ***/ +#define IMimeMessageTree_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IMimeMessageTree_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IMimeMessageTree_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IMimeMessageTree_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#define IMimeMessageTree_InitNew(This) (This)->lpVtbl->InitNew(This) +/*** IMimeMessageTree methods ***/ +#define IMimeMessageTree_GetMessageSource(This,ppStream,dwFlags) (This)->lpVtbl->GetMessageSource(This,ppStream,dwFlags) +#define IMimeMessageTree_GetMessageSize(This,pcbSize,dwFlags) (This)->lpVtbl->GetMessageSize(This,pcbSize,dwFlags) +#define IMimeMessageTree_LoadOffsetTable(This,pStream) (This)->lpVtbl->LoadOffsetTable(This,pStream) +#define IMimeMessageTree_SaveOffsetTable(This,pStream,dwFlags) (This)->lpVtbl->SaveOffsetTable(This,pStream,dwFlags) +#define IMimeMessageTree_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define IMimeMessageTree_Commit(This,dwFlags) (This)->lpVtbl->Commit(This,dwFlags) +#define IMimeMessageTree_HandsOffStorage(This) (This)->lpVtbl->HandsOffStorage(This) +#define IMimeMessageTree_BindToObject(This,hBody,riid,ppvObject) (This)->lpVtbl->BindToObject(This,hBody,riid,ppvObject) +#define IMimeMessageTree_SaveBody(This,hBody,dwFlags,pStream) (This)->lpVtbl->SaveBody(This,hBody,dwFlags,pStream) +#define IMimeMessageTree_InsertBody(This,location,hPivot,phBody) (This)->lpVtbl->InsertBody(This,location,hPivot,phBody) +#define IMimeMessageTree_GetBody(This,location,hPivot,phBody) (This)->lpVtbl->GetBody(This,location,hPivot,phBody) +#define IMimeMessageTree_DeleteBody(This,hBody,dwFlags) (This)->lpVtbl->DeleteBody(This,hBody,dwFlags) +#define IMimeMessageTree_MoveBody(This,hBody,location) (This)->lpVtbl->MoveBody(This,hBody,location) +#define IMimeMessageTree_CountBodies(This,hParent,fRecurse,pcBodies) (This)->lpVtbl->CountBodies(This,hParent,fRecurse,pcBodies) +#define IMimeMessageTree_FindFirst(This,pFindBody,phBody) (This)->lpVtbl->FindFirst(This,pFindBody,phBody) +#define IMimeMessageTree_FindNext(This,pFindBody,phBody) (This)->lpVtbl->FindNext(This,pFindBody,phBody) +#define IMimeMessageTree_ResolveURL(This,hRelated,pszBase,pszURL,dwFlags,phBody) (This)->lpVtbl->ResolveURL(This,hRelated,pszBase,pszURL,dwFlags,phBody) +#define IMimeMessageTree_ToMultipart(This,hBody,pszSubType,phMultipart) (This)->lpVtbl->ToMultipart(This,hBody,pszSubType,phMultipart) +#define IMimeMessageTree_GetBodyOffsets(This,hBody,pOffsets) (This)->lpVtbl->GetBodyOffsets(This,hBody,pOffsets) +#define IMimeMessageTree_GetCharset(This,phCharset) (This)->lpVtbl->GetCharset(This,phCharset) +#define IMimeMessageTree_SetCharset(This,hCharset,applytype) (This)->lpVtbl->SetCharset(This,hCharset,applytype) +#define IMimeMessageTree_IsBodyType(This,hBody,bodytype) (This)->lpVtbl->IsBodyType(This,hBody,bodytype) +#define IMimeMessageTree_IsContentType(This,hBody,pszPriType,pszSubType) (This)->lpVtbl->IsContentType(This,hBody,pszPriType,pszSubType) +#define IMimeMessageTree_QueryBodyProp(This,hBody,pszName,pszCriteria,fSubString,fCaseSensitive) (This)->lpVtbl->QueryBodyProp(This,hBody,pszName,pszCriteria,fSubString,fCaseSensitive) +#define IMimeMessageTree_GetBodyProp(This,hBody,pszName,dwFlags,pValue) (This)->lpVtbl->GetBodyProp(This,hBody,pszName,dwFlags,pValue) +#define IMimeMessageTree_SetBodyProp(This,hBody,pszName,dwFlags,pValue) (This)->lpVtbl->SetBodyProp(This,hBody,pszName,dwFlags,pValue) +#define IMimeMessageTree_DeleteBodyProp(This,hBody,pszName) (This)->lpVtbl->DeleteBodyProp(This,hBody,pszName) +#define IMimeMessageTree_SetOption(This,oid,pValue) (This)->lpVtbl->SetOption(This,oid,pValue) +#define IMimeMessageTree_GetOption(This,oid,pValue) (This)->lpVtbl->GetOption(This,oid,pValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeMessageTree_QueryInterface(IMimeMessageTree* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeMessageTree_AddRef(IMimeMessageTree* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeMessageTree_Release(IMimeMessageTree* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMimeMessageTree_GetClassID(IMimeMessageTree* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStreamInit methods ***/ +static FORCEINLINE HRESULT IMimeMessageTree_IsDirty(IMimeMessageTree* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IMimeMessageTree_Load(IMimeMessageTree* This,LPSTREAM pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IMimeMessageTree_Save(IMimeMessageTree* This,LPSTREAM pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetSizeMax(IMimeMessageTree* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +static FORCEINLINE HRESULT IMimeMessageTree_InitNew(IMimeMessageTree* This) { + return This->lpVtbl->InitNew(This); +} +/*** IMimeMessageTree methods ***/ +static FORCEINLINE HRESULT IMimeMessageTree_GetMessageSource(IMimeMessageTree* This,IStream **ppStream,DWORD dwFlags) { + return This->lpVtbl->GetMessageSource(This,ppStream,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetMessageSize(IMimeMessageTree* This,ULONG *pcbSize,DWORD dwFlags) { + return This->lpVtbl->GetMessageSize(This,pcbSize,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessageTree_LoadOffsetTable(IMimeMessageTree* This,IStream *pStream) { + return This->lpVtbl->LoadOffsetTable(This,pStream); +} +static FORCEINLINE HRESULT IMimeMessageTree_SaveOffsetTable(IMimeMessageTree* This,IStream *pStream,DWORD dwFlags) { + return This->lpVtbl->SaveOffsetTable(This,pStream,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetFlags(IMimeMessageTree* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT IMimeMessageTree_Commit(IMimeMessageTree* This,DWORD dwFlags) { + return This->lpVtbl->Commit(This,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessageTree_HandsOffStorage(IMimeMessageTree* This) { + return This->lpVtbl->HandsOffStorage(This); +} +static FORCEINLINE HRESULT IMimeMessageTree_BindToObject(IMimeMessageTree* This,const HBODY hBody,REFIID riid,void **ppvObject) { + return This->lpVtbl->BindToObject(This,hBody,riid,ppvObject); +} +static FORCEINLINE HRESULT IMimeMessageTree_SaveBody(IMimeMessageTree* This,HBODY hBody,DWORD dwFlags,IStream *pStream) { + return This->lpVtbl->SaveBody(This,hBody,dwFlags,pStream); +} +static FORCEINLINE HRESULT IMimeMessageTree_InsertBody(IMimeMessageTree* This,BODYLOCATION location,HBODY hPivot,LPHBODY phBody) { + return This->lpVtbl->InsertBody(This,location,hPivot,phBody); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetBody(IMimeMessageTree* This,BODYLOCATION location,HBODY hPivot,LPHBODY phBody) { + return This->lpVtbl->GetBody(This,location,hPivot,phBody); +} +static FORCEINLINE HRESULT IMimeMessageTree_DeleteBody(IMimeMessageTree* This,HBODY hBody,DWORD dwFlags) { + return This->lpVtbl->DeleteBody(This,hBody,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessageTree_MoveBody(IMimeMessageTree* This,HBODY hBody,BODYLOCATION location) { + return This->lpVtbl->MoveBody(This,hBody,location); +} +static FORCEINLINE HRESULT IMimeMessageTree_CountBodies(IMimeMessageTree* This,HBODY hParent,boolean fRecurse,ULONG *pcBodies) { + return This->lpVtbl->CountBodies(This,hParent,fRecurse,pcBodies); +} +static FORCEINLINE HRESULT IMimeMessageTree_FindFirst(IMimeMessageTree* This,LPFINDBODY pFindBody,LPHBODY phBody) { + return This->lpVtbl->FindFirst(This,pFindBody,phBody); +} +static FORCEINLINE HRESULT IMimeMessageTree_FindNext(IMimeMessageTree* This,LPFINDBODY pFindBody,LPHBODY phBody) { + return This->lpVtbl->FindNext(This,pFindBody,phBody); +} +static FORCEINLINE HRESULT IMimeMessageTree_ResolveURL(IMimeMessageTree* This,HBODY hRelated,LPCSTR pszBase,LPCSTR pszURL,DWORD dwFlags,LPHBODY phBody) { + return This->lpVtbl->ResolveURL(This,hRelated,pszBase,pszURL,dwFlags,phBody); +} +static FORCEINLINE HRESULT IMimeMessageTree_ToMultipart(IMimeMessageTree* This,HBODY hBody,LPCSTR pszSubType,LPHBODY phMultipart) { + return This->lpVtbl->ToMultipart(This,hBody,pszSubType,phMultipart); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetBodyOffsets(IMimeMessageTree* This,HBODY hBody,LPBODYOFFSETS pOffsets) { + return This->lpVtbl->GetBodyOffsets(This,hBody,pOffsets); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetCharset(IMimeMessageTree* This,LPHCHARSET phCharset) { + return This->lpVtbl->GetCharset(This,phCharset); +} +static FORCEINLINE HRESULT IMimeMessageTree_SetCharset(IMimeMessageTree* This,HCHARSET hCharset,CSETAPPLYTYPE applytype) { + return This->lpVtbl->SetCharset(This,hCharset,applytype); +} +static FORCEINLINE HRESULT IMimeMessageTree_IsBodyType(IMimeMessageTree* This,HBODY hBody,IMSGBODYTYPE bodytype) { + return This->lpVtbl->IsBodyType(This,hBody,bodytype); +} +static FORCEINLINE HRESULT IMimeMessageTree_IsContentType(IMimeMessageTree* This,HBODY hBody,LPCSTR pszPriType,LPCSTR pszSubType) { + return This->lpVtbl->IsContentType(This,hBody,pszPriType,pszSubType); +} +static FORCEINLINE HRESULT IMimeMessageTree_QueryBodyProp(IMimeMessageTree* This,HBODY hBody,LPCSTR pszName,LPCSTR pszCriteria,boolean fSubString,boolean fCaseSensitive) { + return This->lpVtbl->QueryBodyProp(This,hBody,pszName,pszCriteria,fSubString,fCaseSensitive); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetBodyProp(IMimeMessageTree* This,HBODY hBody,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->GetBodyProp(This,hBody,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeMessageTree_SetBodyProp(IMimeMessageTree* This,HBODY hBody,LPCSTR pszName,DWORD dwFlags,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetBodyProp(This,hBody,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeMessageTree_DeleteBodyProp(IMimeMessageTree* This,HBODY hBody,LPCSTR pszName) { + return This->lpVtbl->DeleteBodyProp(This,hBody,pszName); +} +static FORCEINLINE HRESULT IMimeMessageTree_SetOption(IMimeMessageTree* This,const TYPEDID oid,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetOption(This,oid,pValue); +} +static FORCEINLINE HRESULT IMimeMessageTree_GetOption(IMimeMessageTree* This,const TYPEDID oid,LPPROPVARIANT pValue) { + return This->lpVtbl->GetOption(This,oid,pValue); +} +#endif +#endif + +#endif + + +#endif /* __IMimeMessageTree_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeMessage interface + */ +#ifndef __IMimeMessage_INTERFACE_DEFINED__ +#define __IMimeMessage_INTERFACE_DEFINED__ + +typedef IMimeMessage *LPMIMEMESSAGE; +typedef DWORD TEXTTYPE; +typedef enum tagIMSGFLAGS { + IMF_ATTACHMENTS = 0x1, + IMF_MULTIPART = 0x2, + IMF_SUBMULTIPART = 0x4, + IMF_MIME = 0x8, + IMF_HTML = 0x10, + IMF_PLAIN = 0x20, + IMF_PARTIAL = 0x40, + IMF_SIGNED = 0x80, + IMF_ENCRYPTED = 0x100, + IMF_TNEF = 0x200, + IMF_MHTML = 0x400, + IMF_SECURE = 0x800, + IMF_TEXT = 0x1000, + IMF_CSETTAGGED = 0x2000, + IMF_NEWS = 0x4000, + IMF_VOICEMAIL = 0x8000, + IMF_HASVCARD = 0x10000, + IMF_RFC1154 = 0x20000 +} IMSGFLAGS; +typedef enum tagIMSGPRIORITY { + IMSG_PRI_LOW = 5, + IMSG_PRI_NORMAL = 3, + IMSG_PRI_HIGH = 1 +} IMSGPRIORITY; +#define WPF_HTML 0x00000001 +#define WPF_AUTOINLINE 0x00000002 +#define WPF_SLIDESHOW 0x00000004 +#define WPF_ATTACHLINKS 0x00000008 +#define WPF_IMAGESONLY 0x00000010 +#define WPF_NOMETACHARSET 0x00000020 +typedef struct tagWEPAGEOPTIONS { + DWORD cbSize; + DWORD dwFlags; + DWORD dwDelay; + WCHAR wchQuote; +} WEBPAGEOPTIONS; +typedef struct tagWEPAGEOPTIONS *LPWEBPAGEOPTIONS; +#define TXT_PLAIN 1 +#define TXT_HTML 2 +DEFINE_GUID(IID_IMimeMessage, 0xfd853cd5, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd853cd5-7f86-11d0-8252-00c04fd85ab4") +IMimeMessage : public IMimeMessageTree +{ + virtual HRESULT STDMETHODCALLTYPE CreateWebPage( + IStream *pRootStm, + LPWEBPAGEOPTIONS pOptions, + IMimeMessageCallback *pCallback, + IMoniker **ppMoniker) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProp( + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProp( + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteProp( + LPCSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryProp( + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextBody( + DWORD dwTxtType, + ENCODINGTYPE ietEncoding, + IStream **pStream, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTextBody( + DWORD dwTxtType, + ENCODINGTYPE ietEncoding, + HBODY hAlternative, + IStream *pStream, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE AttachObject( + REFIID riid, + void *pvObject, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE AttachFile( + LPCSTR pszFilePath, + IStream *pstmFile, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE AttachURL( + LPCSTR pszBase, + LPCSTR pszURL, + DWORD dwFlags, + IStream *pstmURL, + LPSTR *ppszCIDURL, + LPHBODY phBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttachments( + ULONG *pcAttach, + LPHBODY *pprghAttach) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAddressTable( + IMimeAddressTable **ppTable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSender( + LPADDRESSPROPS pAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAddressTypes( + DWORD dwAdrTypes, + DWORD dwProps, + LPADDRESSLIST pList) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAddressFormat( + DWORD dwAdrTypes, + ADDRESSFORMAT format, + LPSTR *ppszFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumAddressTypes( + DWORD dwAdrTypes, + DWORD dwProps, + IMimeEnumAddressTypes **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SplitMessage( + ULONG cbMaxPart, + IMimeMessageParts **ppParts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootMoniker( + IMoniker **ppMoniker) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeMessage, 0xfd853cd5, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeMessageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeMessage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeMessage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeMessage *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMimeMessage *This, + CLSID *pClassID); + + /*** IPersistStreamInit methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IMimeMessage *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IMimeMessage *This, + LPSTREAM pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IMimeMessage *This, + LPSTREAM pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IMimeMessage *This, + ULARGE_INTEGER *pcbSize); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IMimeMessage *This); + + /*** IMimeMessageTree methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMessageSource)( + IMimeMessage *This, + IStream **ppStream, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetMessageSize)( + IMimeMessage *This, + ULONG *pcbSize, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *LoadOffsetTable)( + IMimeMessage *This, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *SaveOffsetTable)( + IMimeMessage *This, + IStream *pStream, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + IMimeMessage *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IMimeMessage *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *HandsOffStorage)( + IMimeMessage *This); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IMimeMessage *This, + const HBODY hBody, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *SaveBody)( + IMimeMessage *This, + HBODY hBody, + DWORD dwFlags, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *InsertBody)( + IMimeMessage *This, + BODYLOCATION location, + HBODY hPivot, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *GetBody)( + IMimeMessage *This, + BODYLOCATION location, + HBODY hPivot, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *DeleteBody)( + IMimeMessage *This, + HBODY hBody, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *MoveBody)( + IMimeMessage *This, + HBODY hBody, + BODYLOCATION location); + + HRESULT (STDMETHODCALLTYPE *CountBodies)( + IMimeMessage *This, + HBODY hParent, + boolean fRecurse, + ULONG *pcBodies); + + HRESULT (STDMETHODCALLTYPE *FindFirst)( + IMimeMessage *This, + LPFINDBODY pFindBody, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *FindNext)( + IMimeMessage *This, + LPFINDBODY pFindBody, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *ResolveURL)( + IMimeMessage *This, + HBODY hRelated, + LPCSTR pszBase, + LPCSTR pszURL, + DWORD dwFlags, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *ToMultipart)( + IMimeMessage *This, + HBODY hBody, + LPCSTR pszSubType, + LPHBODY phMultipart); + + HRESULT (STDMETHODCALLTYPE *GetBodyOffsets)( + IMimeMessage *This, + HBODY hBody, + LPBODYOFFSETS pOffsets); + + HRESULT (STDMETHODCALLTYPE *GetCharset)( + IMimeMessage *This, + LPHCHARSET phCharset); + + HRESULT (STDMETHODCALLTYPE *SetCharset)( + IMimeMessage *This, + HCHARSET hCharset, + CSETAPPLYTYPE applytype); + + HRESULT (STDMETHODCALLTYPE *IsBodyType)( + IMimeMessage *This, + HBODY hBody, + IMSGBODYTYPE bodytype); + + HRESULT (STDMETHODCALLTYPE *IsContentType)( + IMimeMessage *This, + HBODY hBody, + LPCSTR pszPriType, + LPCSTR pszSubType); + + HRESULT (STDMETHODCALLTYPE *QueryBodyProp)( + IMimeMessage *This, + HBODY hBody, + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive); + + HRESULT (STDMETHODCALLTYPE *GetBodyProp)( + IMimeMessage *This, + HBODY hBody, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *SetBodyProp)( + IMimeMessage *This, + HBODY hBody, + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *DeleteBodyProp)( + IMimeMessage *This, + HBODY hBody, + LPCSTR pszName); + + HRESULT (STDMETHODCALLTYPE *SetOption)( + IMimeMessage *This, + const TYPEDID oid, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *GetOption)( + IMimeMessage *This, + const TYPEDID oid, + LPPROPVARIANT pValue); + + /*** IMimeMessage methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateWebPage)( + IMimeMessage *This, + IStream *pRootStm, + LPWEBPAGEOPTIONS pOptions, + IMimeMessageCallback *pCallback, + IMoniker **ppMoniker); + + HRESULT (STDMETHODCALLTYPE *GetProp)( + IMimeMessage *This, + LPCSTR pszName, + DWORD dwFlags, + LPPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *SetProp)( + IMimeMessage *This, + LPCSTR pszName, + DWORD dwFlags, + LPCPROPVARIANT pValue); + + HRESULT (STDMETHODCALLTYPE *DeleteProp)( + IMimeMessage *This, + LPCSTR pszName); + + HRESULT (STDMETHODCALLTYPE *QueryProp)( + IMimeMessage *This, + LPCSTR pszName, + LPCSTR pszCriteria, + boolean fSubString, + boolean fCaseSensitive); + + HRESULT (STDMETHODCALLTYPE *GetTextBody)( + IMimeMessage *This, + DWORD dwTxtType, + ENCODINGTYPE ietEncoding, + IStream **pStream, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *SetTextBody)( + IMimeMessage *This, + DWORD dwTxtType, + ENCODINGTYPE ietEncoding, + HBODY hAlternative, + IStream *pStream, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *AttachObject)( + IMimeMessage *This, + REFIID riid, + void *pvObject, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *AttachFile)( + IMimeMessage *This, + LPCSTR pszFilePath, + IStream *pstmFile, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *AttachURL)( + IMimeMessage *This, + LPCSTR pszBase, + LPCSTR pszURL, + DWORD dwFlags, + IStream *pstmURL, + LPSTR *ppszCIDURL, + LPHBODY phBody); + + HRESULT (STDMETHODCALLTYPE *GetAttachments)( + IMimeMessage *This, + ULONG *pcAttach, + LPHBODY *pprghAttach); + + HRESULT (STDMETHODCALLTYPE *GetAddressTable)( + IMimeMessage *This, + IMimeAddressTable **ppTable); + + HRESULT (STDMETHODCALLTYPE *GetSender)( + IMimeMessage *This, + LPADDRESSPROPS pAddress); + + HRESULT (STDMETHODCALLTYPE *GetAddressTypes)( + IMimeMessage *This, + DWORD dwAdrTypes, + DWORD dwProps, + LPADDRESSLIST pList); + + HRESULT (STDMETHODCALLTYPE *GetAddressFormat)( + IMimeMessage *This, + DWORD dwAdrTypes, + ADDRESSFORMAT format, + LPSTR *ppszFormat); + + HRESULT (STDMETHODCALLTYPE *EnumAddressTypes)( + IMimeMessage *This, + DWORD dwAdrTypes, + DWORD dwProps, + IMimeEnumAddressTypes **ppEnum); + + HRESULT (STDMETHODCALLTYPE *SplitMessage)( + IMimeMessage *This, + ULONG cbMaxPart, + IMimeMessageParts **ppParts); + + HRESULT (STDMETHODCALLTYPE *GetRootMoniker)( + IMimeMessage *This, + IMoniker **ppMoniker); + + END_INTERFACE +} IMimeMessageVtbl; + +interface IMimeMessage { + CONST_VTBL IMimeMessageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeMessage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeMessage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeMessage_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMimeMessage_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStreamInit methods ***/ +#define IMimeMessage_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IMimeMessage_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IMimeMessage_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IMimeMessage_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#define IMimeMessage_InitNew(This) (This)->lpVtbl->InitNew(This) +/*** IMimeMessageTree methods ***/ +#define IMimeMessage_GetMessageSource(This,ppStream,dwFlags) (This)->lpVtbl->GetMessageSource(This,ppStream,dwFlags) +#define IMimeMessage_GetMessageSize(This,pcbSize,dwFlags) (This)->lpVtbl->GetMessageSize(This,pcbSize,dwFlags) +#define IMimeMessage_LoadOffsetTable(This,pStream) (This)->lpVtbl->LoadOffsetTable(This,pStream) +#define IMimeMessage_SaveOffsetTable(This,pStream,dwFlags) (This)->lpVtbl->SaveOffsetTable(This,pStream,dwFlags) +#define IMimeMessage_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define IMimeMessage_Commit(This,dwFlags) (This)->lpVtbl->Commit(This,dwFlags) +#define IMimeMessage_HandsOffStorage(This) (This)->lpVtbl->HandsOffStorage(This) +#define IMimeMessage_BindToObject(This,hBody,riid,ppvObject) (This)->lpVtbl->BindToObject(This,hBody,riid,ppvObject) +#define IMimeMessage_SaveBody(This,hBody,dwFlags,pStream) (This)->lpVtbl->SaveBody(This,hBody,dwFlags,pStream) +#define IMimeMessage_InsertBody(This,location,hPivot,phBody) (This)->lpVtbl->InsertBody(This,location,hPivot,phBody) +#define IMimeMessage_GetBody(This,location,hPivot,phBody) (This)->lpVtbl->GetBody(This,location,hPivot,phBody) +#define IMimeMessage_DeleteBody(This,hBody,dwFlags) (This)->lpVtbl->DeleteBody(This,hBody,dwFlags) +#define IMimeMessage_MoveBody(This,hBody,location) (This)->lpVtbl->MoveBody(This,hBody,location) +#define IMimeMessage_CountBodies(This,hParent,fRecurse,pcBodies) (This)->lpVtbl->CountBodies(This,hParent,fRecurse,pcBodies) +#define IMimeMessage_FindFirst(This,pFindBody,phBody) (This)->lpVtbl->FindFirst(This,pFindBody,phBody) +#define IMimeMessage_FindNext(This,pFindBody,phBody) (This)->lpVtbl->FindNext(This,pFindBody,phBody) +#define IMimeMessage_ResolveURL(This,hRelated,pszBase,pszURL,dwFlags,phBody) (This)->lpVtbl->ResolveURL(This,hRelated,pszBase,pszURL,dwFlags,phBody) +#define IMimeMessage_ToMultipart(This,hBody,pszSubType,phMultipart) (This)->lpVtbl->ToMultipart(This,hBody,pszSubType,phMultipart) +#define IMimeMessage_GetBodyOffsets(This,hBody,pOffsets) (This)->lpVtbl->GetBodyOffsets(This,hBody,pOffsets) +#define IMimeMessage_GetCharset(This,phCharset) (This)->lpVtbl->GetCharset(This,phCharset) +#define IMimeMessage_SetCharset(This,hCharset,applytype) (This)->lpVtbl->SetCharset(This,hCharset,applytype) +#define IMimeMessage_IsBodyType(This,hBody,bodytype) (This)->lpVtbl->IsBodyType(This,hBody,bodytype) +#define IMimeMessage_IsContentType(This,hBody,pszPriType,pszSubType) (This)->lpVtbl->IsContentType(This,hBody,pszPriType,pszSubType) +#define IMimeMessage_QueryBodyProp(This,hBody,pszName,pszCriteria,fSubString,fCaseSensitive) (This)->lpVtbl->QueryBodyProp(This,hBody,pszName,pszCriteria,fSubString,fCaseSensitive) +#define IMimeMessage_GetBodyProp(This,hBody,pszName,dwFlags,pValue) (This)->lpVtbl->GetBodyProp(This,hBody,pszName,dwFlags,pValue) +#define IMimeMessage_SetBodyProp(This,hBody,pszName,dwFlags,pValue) (This)->lpVtbl->SetBodyProp(This,hBody,pszName,dwFlags,pValue) +#define IMimeMessage_DeleteBodyProp(This,hBody,pszName) (This)->lpVtbl->DeleteBodyProp(This,hBody,pszName) +#define IMimeMessage_SetOption(This,oid,pValue) (This)->lpVtbl->SetOption(This,oid,pValue) +#define IMimeMessage_GetOption(This,oid,pValue) (This)->lpVtbl->GetOption(This,oid,pValue) +/*** IMimeMessage methods ***/ +#define IMimeMessage_CreateWebPage(This,pRootStm,pOptions,pCallback,ppMoniker) (This)->lpVtbl->CreateWebPage(This,pRootStm,pOptions,pCallback,ppMoniker) +#define IMimeMessage_GetProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->GetProp(This,pszName,dwFlags,pValue) +#define IMimeMessage_SetProp(This,pszName,dwFlags,pValue) (This)->lpVtbl->SetProp(This,pszName,dwFlags,pValue) +#define IMimeMessage_DeleteProp(This,pszName) (This)->lpVtbl->DeleteProp(This,pszName) +#define IMimeMessage_QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive) (This)->lpVtbl->QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive) +#define IMimeMessage_GetTextBody(This,dwTxtType,ietEncoding,pStream,phBody) (This)->lpVtbl->GetTextBody(This,dwTxtType,ietEncoding,pStream,phBody) +#define IMimeMessage_SetTextBody(This,dwTxtType,ietEncoding,hAlternative,pStream,phBody) (This)->lpVtbl->SetTextBody(This,dwTxtType,ietEncoding,hAlternative,pStream,phBody) +#define IMimeMessage_AttachObject(This,riid,pvObject,phBody) (This)->lpVtbl->AttachObject(This,riid,pvObject,phBody) +#define IMimeMessage_AttachFile(This,pszFilePath,pstmFile,phBody) (This)->lpVtbl->AttachFile(This,pszFilePath,pstmFile,phBody) +#define IMimeMessage_AttachURL(This,pszBase,pszURL,dwFlags,pstmURL,ppszCIDURL,phBody) (This)->lpVtbl->AttachURL(This,pszBase,pszURL,dwFlags,pstmURL,ppszCIDURL,phBody) +#define IMimeMessage_GetAttachments(This,pcAttach,pprghAttach) (This)->lpVtbl->GetAttachments(This,pcAttach,pprghAttach) +#define IMimeMessage_GetAddressTable(This,ppTable) (This)->lpVtbl->GetAddressTable(This,ppTable) +#define IMimeMessage_GetSender(This,pAddress) (This)->lpVtbl->GetSender(This,pAddress) +#define IMimeMessage_GetAddressTypes(This,dwAdrTypes,dwProps,pList) (This)->lpVtbl->GetAddressTypes(This,dwAdrTypes,dwProps,pList) +#define IMimeMessage_GetAddressFormat(This,dwAdrTypes,format,ppszFormat) (This)->lpVtbl->GetAddressFormat(This,dwAdrTypes,format,ppszFormat) +#define IMimeMessage_EnumAddressTypes(This,dwAdrTypes,dwProps,ppEnum) (This)->lpVtbl->EnumAddressTypes(This,dwAdrTypes,dwProps,ppEnum) +#define IMimeMessage_SplitMessage(This,cbMaxPart,ppParts) (This)->lpVtbl->SplitMessage(This,cbMaxPart,ppParts) +#define IMimeMessage_GetRootMoniker(This,ppMoniker) (This)->lpVtbl->GetRootMoniker(This,ppMoniker) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeMessage_QueryInterface(IMimeMessage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeMessage_AddRef(IMimeMessage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeMessage_Release(IMimeMessage* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMimeMessage_GetClassID(IMimeMessage* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStreamInit methods ***/ +static FORCEINLINE HRESULT IMimeMessage_IsDirty(IMimeMessage* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IMimeMessage_Load(IMimeMessage* This,LPSTREAM pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IMimeMessage_Save(IMimeMessage* This,LPSTREAM pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IMimeMessage_GetSizeMax(IMimeMessage* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +static FORCEINLINE HRESULT IMimeMessage_InitNew(IMimeMessage* This) { + return This->lpVtbl->InitNew(This); +} +/*** IMimeMessageTree methods ***/ +static FORCEINLINE HRESULT IMimeMessage_GetMessageSource(IMimeMessage* This,IStream **ppStream,DWORD dwFlags) { + return This->lpVtbl->GetMessageSource(This,ppStream,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessage_GetMessageSize(IMimeMessage* This,ULONG *pcbSize,DWORD dwFlags) { + return This->lpVtbl->GetMessageSize(This,pcbSize,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessage_LoadOffsetTable(IMimeMessage* This,IStream *pStream) { + return This->lpVtbl->LoadOffsetTable(This,pStream); +} +static FORCEINLINE HRESULT IMimeMessage_SaveOffsetTable(IMimeMessage* This,IStream *pStream,DWORD dwFlags) { + return This->lpVtbl->SaveOffsetTable(This,pStream,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessage_GetFlags(IMimeMessage* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT IMimeMessage_Commit(IMimeMessage* This,DWORD dwFlags) { + return This->lpVtbl->Commit(This,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessage_HandsOffStorage(IMimeMessage* This) { + return This->lpVtbl->HandsOffStorage(This); +} +static FORCEINLINE HRESULT IMimeMessage_BindToObject(IMimeMessage* This,const HBODY hBody,REFIID riid,void **ppvObject) { + return This->lpVtbl->BindToObject(This,hBody,riid,ppvObject); +} +static FORCEINLINE HRESULT IMimeMessage_SaveBody(IMimeMessage* This,HBODY hBody,DWORD dwFlags,IStream *pStream) { + return This->lpVtbl->SaveBody(This,hBody,dwFlags,pStream); +} +static FORCEINLINE HRESULT IMimeMessage_InsertBody(IMimeMessage* This,BODYLOCATION location,HBODY hPivot,LPHBODY phBody) { + return This->lpVtbl->InsertBody(This,location,hPivot,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_GetBody(IMimeMessage* This,BODYLOCATION location,HBODY hPivot,LPHBODY phBody) { + return This->lpVtbl->GetBody(This,location,hPivot,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_DeleteBody(IMimeMessage* This,HBODY hBody,DWORD dwFlags) { + return This->lpVtbl->DeleteBody(This,hBody,dwFlags); +} +static FORCEINLINE HRESULT IMimeMessage_MoveBody(IMimeMessage* This,HBODY hBody,BODYLOCATION location) { + return This->lpVtbl->MoveBody(This,hBody,location); +} +static FORCEINLINE HRESULT IMimeMessage_CountBodies(IMimeMessage* This,HBODY hParent,boolean fRecurse,ULONG *pcBodies) { + return This->lpVtbl->CountBodies(This,hParent,fRecurse,pcBodies); +} +static FORCEINLINE HRESULT IMimeMessage_FindFirst(IMimeMessage* This,LPFINDBODY pFindBody,LPHBODY phBody) { + return This->lpVtbl->FindFirst(This,pFindBody,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_FindNext(IMimeMessage* This,LPFINDBODY pFindBody,LPHBODY phBody) { + return This->lpVtbl->FindNext(This,pFindBody,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_ResolveURL(IMimeMessage* This,HBODY hRelated,LPCSTR pszBase,LPCSTR pszURL,DWORD dwFlags,LPHBODY phBody) { + return This->lpVtbl->ResolveURL(This,hRelated,pszBase,pszURL,dwFlags,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_ToMultipart(IMimeMessage* This,HBODY hBody,LPCSTR pszSubType,LPHBODY phMultipart) { + return This->lpVtbl->ToMultipart(This,hBody,pszSubType,phMultipart); +} +static FORCEINLINE HRESULT IMimeMessage_GetBodyOffsets(IMimeMessage* This,HBODY hBody,LPBODYOFFSETS pOffsets) { + return This->lpVtbl->GetBodyOffsets(This,hBody,pOffsets); +} +static FORCEINLINE HRESULT IMimeMessage_GetCharset(IMimeMessage* This,LPHCHARSET phCharset) { + return This->lpVtbl->GetCharset(This,phCharset); +} +static FORCEINLINE HRESULT IMimeMessage_SetCharset(IMimeMessage* This,HCHARSET hCharset,CSETAPPLYTYPE applytype) { + return This->lpVtbl->SetCharset(This,hCharset,applytype); +} +static FORCEINLINE HRESULT IMimeMessage_IsBodyType(IMimeMessage* This,HBODY hBody,IMSGBODYTYPE bodytype) { + return This->lpVtbl->IsBodyType(This,hBody,bodytype); +} +static FORCEINLINE HRESULT IMimeMessage_IsContentType(IMimeMessage* This,HBODY hBody,LPCSTR pszPriType,LPCSTR pszSubType) { + return This->lpVtbl->IsContentType(This,hBody,pszPriType,pszSubType); +} +static FORCEINLINE HRESULT IMimeMessage_QueryBodyProp(IMimeMessage* This,HBODY hBody,LPCSTR pszName,LPCSTR pszCriteria,boolean fSubString,boolean fCaseSensitive) { + return This->lpVtbl->QueryBodyProp(This,hBody,pszName,pszCriteria,fSubString,fCaseSensitive); +} +static FORCEINLINE HRESULT IMimeMessage_GetBodyProp(IMimeMessage* This,HBODY hBody,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->GetBodyProp(This,hBody,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeMessage_SetBodyProp(IMimeMessage* This,HBODY hBody,LPCSTR pszName,DWORD dwFlags,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetBodyProp(This,hBody,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeMessage_DeleteBodyProp(IMimeMessage* This,HBODY hBody,LPCSTR pszName) { + return This->lpVtbl->DeleteBodyProp(This,hBody,pszName); +} +static FORCEINLINE HRESULT IMimeMessage_SetOption(IMimeMessage* This,const TYPEDID oid,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetOption(This,oid,pValue); +} +static FORCEINLINE HRESULT IMimeMessage_GetOption(IMimeMessage* This,const TYPEDID oid,LPPROPVARIANT pValue) { + return This->lpVtbl->GetOption(This,oid,pValue); +} +/*** IMimeMessage methods ***/ +static FORCEINLINE HRESULT IMimeMessage_CreateWebPage(IMimeMessage* This,IStream *pRootStm,LPWEBPAGEOPTIONS pOptions,IMimeMessageCallback *pCallback,IMoniker **ppMoniker) { + return This->lpVtbl->CreateWebPage(This,pRootStm,pOptions,pCallback,ppMoniker); +} +static FORCEINLINE HRESULT IMimeMessage_GetProp(IMimeMessage* This,LPCSTR pszName,DWORD dwFlags,LPPROPVARIANT pValue) { + return This->lpVtbl->GetProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeMessage_SetProp(IMimeMessage* This,LPCSTR pszName,DWORD dwFlags,LPCPROPVARIANT pValue) { + return This->lpVtbl->SetProp(This,pszName,dwFlags,pValue); +} +static FORCEINLINE HRESULT IMimeMessage_DeleteProp(IMimeMessage* This,LPCSTR pszName) { + return This->lpVtbl->DeleteProp(This,pszName); +} +static FORCEINLINE HRESULT IMimeMessage_QueryProp(IMimeMessage* This,LPCSTR pszName,LPCSTR pszCriteria,boolean fSubString,boolean fCaseSensitive) { + return This->lpVtbl->QueryProp(This,pszName,pszCriteria,fSubString,fCaseSensitive); +} +static FORCEINLINE HRESULT IMimeMessage_GetTextBody(IMimeMessage* This,DWORD dwTxtType,ENCODINGTYPE ietEncoding,IStream **pStream,LPHBODY phBody) { + return This->lpVtbl->GetTextBody(This,dwTxtType,ietEncoding,pStream,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_SetTextBody(IMimeMessage* This,DWORD dwTxtType,ENCODINGTYPE ietEncoding,HBODY hAlternative,IStream *pStream,LPHBODY phBody) { + return This->lpVtbl->SetTextBody(This,dwTxtType,ietEncoding,hAlternative,pStream,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_AttachObject(IMimeMessage* This,REFIID riid,void *pvObject,LPHBODY phBody) { + return This->lpVtbl->AttachObject(This,riid,pvObject,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_AttachFile(IMimeMessage* This,LPCSTR pszFilePath,IStream *pstmFile,LPHBODY phBody) { + return This->lpVtbl->AttachFile(This,pszFilePath,pstmFile,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_AttachURL(IMimeMessage* This,LPCSTR pszBase,LPCSTR pszURL,DWORD dwFlags,IStream *pstmURL,LPSTR *ppszCIDURL,LPHBODY phBody) { + return This->lpVtbl->AttachURL(This,pszBase,pszURL,dwFlags,pstmURL,ppszCIDURL,phBody); +} +static FORCEINLINE HRESULT IMimeMessage_GetAttachments(IMimeMessage* This,ULONG *pcAttach,LPHBODY *pprghAttach) { + return This->lpVtbl->GetAttachments(This,pcAttach,pprghAttach); +} +static FORCEINLINE HRESULT IMimeMessage_GetAddressTable(IMimeMessage* This,IMimeAddressTable **ppTable) { + return This->lpVtbl->GetAddressTable(This,ppTable); +} +static FORCEINLINE HRESULT IMimeMessage_GetSender(IMimeMessage* This,LPADDRESSPROPS pAddress) { + return This->lpVtbl->GetSender(This,pAddress); +} +static FORCEINLINE HRESULT IMimeMessage_GetAddressTypes(IMimeMessage* This,DWORD dwAdrTypes,DWORD dwProps,LPADDRESSLIST pList) { + return This->lpVtbl->GetAddressTypes(This,dwAdrTypes,dwProps,pList); +} +static FORCEINLINE HRESULT IMimeMessage_GetAddressFormat(IMimeMessage* This,DWORD dwAdrTypes,ADDRESSFORMAT format,LPSTR *ppszFormat) { + return This->lpVtbl->GetAddressFormat(This,dwAdrTypes,format,ppszFormat); +} +static FORCEINLINE HRESULT IMimeMessage_EnumAddressTypes(IMimeMessage* This,DWORD dwAdrTypes,DWORD dwProps,IMimeEnumAddressTypes **ppEnum) { + return This->lpVtbl->EnumAddressTypes(This,dwAdrTypes,dwProps,ppEnum); +} +static FORCEINLINE HRESULT IMimeMessage_SplitMessage(IMimeMessage* This,ULONG cbMaxPart,IMimeMessageParts **ppParts) { + return This->lpVtbl->SplitMessage(This,cbMaxPart,ppParts); +} +static FORCEINLINE HRESULT IMimeMessage_GetRootMoniker(IMimeMessage* This,IMoniker **ppMoniker) { + return This->lpVtbl->GetRootMoniker(This,ppMoniker); +} +#endif +#endif + +#endif + + +#endif /* __IMimeMessage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeMessageCallback interface + */ +#ifndef __IMimeMessageCallback_INTERFACE_DEFINED__ +#define __IMimeMessageCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeMessageCallback, 0x761aa741, 0x7bda, 0x11d1, 0x8a,0xa9, 0x00,0xc0,0x4f,0xb9,0x51,0xf3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("761aa741-7bda-11d1-8aa9-00c04fb951f3") +IMimeMessageCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnWebPageSplitter( + DWORD cInlined, + IStream *ppStream) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeMessageCallback, 0x761aa741, 0x7bda, 0x11d1, 0x8a,0xa9, 0x00,0xc0,0x4f,0xb9,0x51,0xf3) +#endif +#else +typedef struct IMimeMessageCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeMessageCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeMessageCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeMessageCallback *This); + + /*** IMimeMessageCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnWebPageSplitter)( + IMimeMessageCallback *This, + DWORD cInlined, + IStream *ppStream); + + END_INTERFACE +} IMimeMessageCallbackVtbl; + +interface IMimeMessageCallback { + CONST_VTBL IMimeMessageCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeMessageCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeMessageCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeMessageCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IMimeMessageCallback methods ***/ +#define IMimeMessageCallback_OnWebPageSplitter(This,cInlined,ppStream) (This)->lpVtbl->OnWebPageSplitter(This,cInlined,ppStream) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeMessageCallback_QueryInterface(IMimeMessageCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeMessageCallback_AddRef(IMimeMessageCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeMessageCallback_Release(IMimeMessageCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IMimeMessageCallback methods ***/ +static FORCEINLINE HRESULT IMimeMessageCallback_OnWebPageSplitter(IMimeMessageCallback* This,DWORD cInlined,IStream *ppStream) { + return This->lpVtbl->OnWebPageSplitter(This,cInlined,ppStream); +} +#endif +#endif + +#endif + + +#endif /* __IMimeMessageCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistMime interface + */ +#ifndef __IPersistMime_INTERFACE_DEFINED__ +#define __IPersistMime_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPersistMime, 0xde4ad8da, 0x555f, 0x11d1, 0x8d,0xd0, 0x00,0xc0,0x4f,0xb9,0x51,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("de4ad8da-555f-11d1-8dd0-00c04fb951f9") +IPersistMime : public IPersist +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistMime, 0xde4ad8da, 0x555f, 0x11d1, 0x8d,0xd0, 0x00,0xc0,0x4f,0xb9,0x51,0xf9) +#endif +#else +typedef struct IPersistMimeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistMime *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistMime *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistMime *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistMime *This, + CLSID *pClassID); + + END_INTERFACE +} IPersistMimeVtbl; + +interface IPersistMime { + CONST_VTBL IPersistMimeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistMime_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistMime_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistMime_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistMime_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistMime_QueryInterface(IPersistMime* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistMime_AddRef(IPersistMime* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistMime_Release(IPersistMime* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistMime_GetClassID(IPersistMime* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +#endif +#endif + +#endif + + +#endif /* __IPersistMime_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeMessageParts interface + */ +#ifndef __IMimeMessageParts_INTERFACE_DEFINED__ +#define __IMimeMessageParts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeMessageParts, 0xc558834f, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c558834f-7f86-11d0-8252-00c04fd85ab4") +IMimeMessageParts : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeMessageParts, 0xc558834f, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeMessagePartsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeMessageParts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeMessageParts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeMessageParts *This); + + END_INTERFACE +} IMimeMessagePartsVtbl; + +interface IMimeMessageParts { + CONST_VTBL IMimeMessagePartsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeMessageParts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeMessageParts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeMessageParts_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeMessageParts_QueryInterface(IMimeMessageParts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeMessageParts_AddRef(IMimeMessageParts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeMessageParts_Release(IMimeMessageParts* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeMessageParts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeEnumHeaderRows interface + */ +#ifndef __IMimeEnumHeaderRows_INTERFACE_DEFINED__ +#define __IMimeEnumHeaderRows_INTERFACE_DEFINED__ + +typedef struct tagENUMHEADERROW { + HHEADERROW hRow; + LPSTR pszHeader; + LPSTR pszData; + ULONG cchData; + DWORD_PTR dwReserved; +} ENUMHEADERROW; +typedef struct tagENUMHEADERROW *LPENUMHEADERROW; +DEFINE_GUID(IID_IMimeEnumHeaderRows, 0xc558834d, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c558834d-7f86-11d0-8252-00c04fd85ab4") +IMimeEnumHeaderRows : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeEnumHeaderRows, 0xc558834d, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeEnumHeaderRowsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeEnumHeaderRows *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeEnumHeaderRows *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeEnumHeaderRows *This); + + END_INTERFACE +} IMimeEnumHeaderRowsVtbl; + +interface IMimeEnumHeaderRows { + CONST_VTBL IMimeEnumHeaderRowsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeEnumHeaderRows_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeEnumHeaderRows_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeEnumHeaderRows_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeEnumHeaderRows_QueryInterface(IMimeEnumHeaderRows* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeEnumHeaderRows_AddRef(IMimeEnumHeaderRows* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeEnumHeaderRows_Release(IMimeEnumHeaderRows* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeEnumHeaderRows_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeEnumProperties interface + */ +#ifndef __IMimeEnumProperties_INTERFACE_DEFINED__ +#define __IMimeEnumProperties_INTERFACE_DEFINED__ + +typedef IMimeEnumProperties *LPMIMEENUMPROPERTIES; +typedef struct tagENUMPROPERTY { + LPSTR pszName; + HHEADERROW hRow; + DWORD dwPropId; +} ENUMPROPERTY; +typedef struct tagENUMPROPERTY *LPENUMPROPERTY; +DEFINE_GUID(IID_IMimeEnumProperties, 0xfd853cee, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fd853cee-7f86-11d0-8252-00c04fd85ab4") +IMimeEnumProperties : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cFetch, + LPENUMPROPERTY prgProp, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IMimeEnumProperties **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Count( + ULONG *pcItems) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeEnumProperties, 0xfd853cee, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeEnumPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeEnumProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeEnumProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeEnumProperties *This); + + /*** IMimeEnumProperties methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IMimeEnumProperties *This, + ULONG cFetch, + LPENUMPROPERTY prgProp, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IMimeEnumProperties *This, + ULONG cItems); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IMimeEnumProperties *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IMimeEnumProperties *This, + IMimeEnumProperties **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Count)( + IMimeEnumProperties *This, + ULONG *pcItems); + + END_INTERFACE +} IMimeEnumPropertiesVtbl; + +interface IMimeEnumProperties { + CONST_VTBL IMimeEnumPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeEnumProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeEnumProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeEnumProperties_Release(This) (This)->lpVtbl->Release(This) +/*** IMimeEnumProperties methods ***/ +#define IMimeEnumProperties_Next(This,cFetch,prgProp,pcFetched) (This)->lpVtbl->Next(This,cFetch,prgProp,pcFetched) +#define IMimeEnumProperties_Skip(This,cItems) (This)->lpVtbl->Skip(This,cItems) +#define IMimeEnumProperties_Reset(This) (This)->lpVtbl->Reset(This) +#define IMimeEnumProperties_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IMimeEnumProperties_Count(This,pcItems) (This)->lpVtbl->Count(This,pcItems) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeEnumProperties_QueryInterface(IMimeEnumProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeEnumProperties_AddRef(IMimeEnumProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeEnumProperties_Release(IMimeEnumProperties* This) { + return This->lpVtbl->Release(This); +} +/*** IMimeEnumProperties methods ***/ +static FORCEINLINE HRESULT IMimeEnumProperties_Next(IMimeEnumProperties* This,ULONG cFetch,LPENUMPROPERTY prgProp,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cFetch,prgProp,pcFetched); +} +static FORCEINLINE HRESULT IMimeEnumProperties_Skip(IMimeEnumProperties* This,ULONG cItems) { + return This->lpVtbl->Skip(This,cItems); +} +static FORCEINLINE HRESULT IMimeEnumProperties_Reset(IMimeEnumProperties* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IMimeEnumProperties_Clone(IMimeEnumProperties* This,IMimeEnumProperties **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IMimeEnumProperties_Count(IMimeEnumProperties* This,ULONG *pcItems) { + return This->lpVtbl->Count(This,pcItems); +} +#endif +#endif + +#endif + + +#endif /* __IMimeEnumProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeEnumAddressTypes interface + */ +#ifndef __IMimeEnumAddressTypes_INTERFACE_DEFINED__ +#define __IMimeEnumAddressTypes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeEnumAddressTypes, 0xc5588354, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c5588354-7f86-11d0-8252-00c04fd85ab4") +IMimeEnumAddressTypes : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeEnumAddressTypes, 0xc5588354, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeEnumAddressTypesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeEnumAddressTypes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeEnumAddressTypes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeEnumAddressTypes *This); + + END_INTERFACE +} IMimeEnumAddressTypesVtbl; + +interface IMimeEnumAddressTypes { + CONST_VTBL IMimeEnumAddressTypesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeEnumAddressTypes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeEnumAddressTypes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeEnumAddressTypes_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeEnumAddressTypes_QueryInterface(IMimeEnumAddressTypes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeEnumAddressTypes_AddRef(IMimeEnumAddressTypes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeEnumAddressTypes_Release(IMimeEnumAddressTypes* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeEnumAddressTypes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeEnumMessageParts interface + */ +#ifndef __IMimeEnumMessageParts_INTERFACE_DEFINED__ +#define __IMimeEnumMessageParts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeEnumMessageParts, 0xc5588350, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c5588350-7f86-11d0-8252-00c04fd85ab4") +IMimeEnumMessageParts : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeEnumMessageParts, 0xc5588350, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeEnumMessagePartsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeEnumMessageParts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeEnumMessageParts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeEnumMessageParts *This); + + END_INTERFACE +} IMimeEnumMessagePartsVtbl; + +interface IMimeEnumMessageParts { + CONST_VTBL IMimeEnumMessagePartsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeEnumMessageParts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeEnumMessageParts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeEnumMessageParts_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeEnumMessageParts_QueryInterface(IMimeEnumMessageParts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeEnumMessageParts_AddRef(IMimeEnumMessageParts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeEnumMessageParts_Release(IMimeEnumMessageParts* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeEnumMessageParts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHashTable interface + */ +#ifndef __IHashTable_INTERFACE_DEFINED__ +#define __IHashTable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHashTable, 0x64577981, 0x86d7, 0x11d1, 0xbd,0xfc, 0x00,0xc0,0x4f,0xa3,0x10,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("64577981-86d7-11d1-bdfc-00c04fa31009") +IHashTable : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHashTable, 0x64577981, 0x86d7, 0x11d1, 0xbd,0xfc, 0x00,0xc0,0x4f,0xa3,0x10,0x09) +#endif +#else +typedef struct IHashTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHashTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHashTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHashTable *This); + + END_INTERFACE +} IHashTableVtbl; + +interface IHashTable { + CONST_VTBL IHashTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHashTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHashTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHashTable_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHashTable_QueryInterface(IHashTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHashTable_AddRef(IHashTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHashTable_Release(IHashTable* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IHashTable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeAllocator interface + */ +#ifndef __IMimeAllocator_INTERFACE_DEFINED__ +#define __IMimeAllocator_INTERFACE_DEFINED__ + +typedef IMimeAllocator *LPMIMEALLOCATOR; +DEFINE_GUID(IID_IMimeAllocator, 0xc5588351, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c5588351-7f86-11d0-8252-00c04fd85ab4") +IMimeAllocator : public IMalloc +{ + virtual HRESULT STDMETHODCALLTYPE FreeParamInfoArray( + ULONG cParams, + LPMIMEPARAMINFO prgParam, + boolean fFreeArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeAddressList( + LPADDRESSLIST pList) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeAddressProps( + LPADDRESSPROPS pAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseObjects( + ULONG cObjects, + IUnknown **prgpUnknown, + boolean fFreeArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeEnumHeaderRowArray( + ULONG cRows, + LPENUMHEADERROW prgRow, + boolean fFreeArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeEnumPropertyArray( + ULONG cProps, + LPENUMPROPERTY prgProp, + boolean fFreeArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeThumbprint( + THUMBBLOB *pthumbprint) = 0; + + virtual HRESULT STDMETHODCALLTYPE PropVariantClear( + LPPROPVARIANT pProp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeAllocator, 0xc5588351, 0x7f86, 0x11d0, 0x82,0x52, 0x00,0xc0,0x4f,0xd8,0x5a,0xb4) +#endif +#else +typedef struct IMimeAllocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeAllocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeAllocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeAllocator *This); + + /*** IMalloc methods ***/ + LPVOID (STDMETHODCALLTYPE *Alloc)( + IMimeAllocator *This, + SIZE_T cb); + + LPVOID (STDMETHODCALLTYPE *Realloc)( + IMimeAllocator *This, + LPVOID pv, + SIZE_T cb); + + void (STDMETHODCALLTYPE *Free)( + IMimeAllocator *This, + LPVOID pv); + + SIZE_T (STDMETHODCALLTYPE *GetSize)( + IMimeAllocator *This, + LPVOID pv); + + int (STDMETHODCALLTYPE *DidAlloc)( + IMimeAllocator *This, + LPVOID pv); + + void (STDMETHODCALLTYPE *HeapMinimize)( + IMimeAllocator *This); + + /*** IMimeAllocator methods ***/ + HRESULT (STDMETHODCALLTYPE *FreeParamInfoArray)( + IMimeAllocator *This, + ULONG cParams, + LPMIMEPARAMINFO prgParam, + boolean fFreeArray); + + HRESULT (STDMETHODCALLTYPE *FreeAddressList)( + IMimeAllocator *This, + LPADDRESSLIST pList); + + HRESULT (STDMETHODCALLTYPE *FreeAddressProps)( + IMimeAllocator *This, + LPADDRESSPROPS pAddress); + + HRESULT (STDMETHODCALLTYPE *ReleaseObjects)( + IMimeAllocator *This, + ULONG cObjects, + IUnknown **prgpUnknown, + boolean fFreeArray); + + HRESULT (STDMETHODCALLTYPE *FreeEnumHeaderRowArray)( + IMimeAllocator *This, + ULONG cRows, + LPENUMHEADERROW prgRow, + boolean fFreeArray); + + HRESULT (STDMETHODCALLTYPE *FreeEnumPropertyArray)( + IMimeAllocator *This, + ULONG cProps, + LPENUMPROPERTY prgProp, + boolean fFreeArray); + + HRESULT (STDMETHODCALLTYPE *FreeThumbprint)( + IMimeAllocator *This, + THUMBBLOB *pthumbprint); + + HRESULT (STDMETHODCALLTYPE *PropVariantClear)( + IMimeAllocator *This, + LPPROPVARIANT pProp); + + END_INTERFACE +} IMimeAllocatorVtbl; + +interface IMimeAllocator { + CONST_VTBL IMimeAllocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeAllocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeAllocator_Release(This) (This)->lpVtbl->Release(This) +/*** IMalloc methods ***/ +#define IMimeAllocator_Alloc(This,cb) (This)->lpVtbl->Alloc(This,cb) +#define IMimeAllocator_Realloc(This,pv,cb) (This)->lpVtbl->Realloc(This,pv,cb) +#define IMimeAllocator_Free(This,pv) (This)->lpVtbl->Free(This,pv) +#define IMimeAllocator_GetSize(This,pv) (This)->lpVtbl->GetSize(This,pv) +#define IMimeAllocator_DidAlloc(This,pv) (This)->lpVtbl->DidAlloc(This,pv) +#define IMimeAllocator_HeapMinimize(This) (This)->lpVtbl->HeapMinimize(This) +/*** IMimeAllocator methods ***/ +#define IMimeAllocator_FreeParamInfoArray(This,cParams,prgParam,fFreeArray) (This)->lpVtbl->FreeParamInfoArray(This,cParams,prgParam,fFreeArray) +#define IMimeAllocator_FreeAddressList(This,pList) (This)->lpVtbl->FreeAddressList(This,pList) +#define IMimeAllocator_FreeAddressProps(This,pAddress) (This)->lpVtbl->FreeAddressProps(This,pAddress) +#define IMimeAllocator_ReleaseObjects(This,cObjects,prgpUnknown,fFreeArray) (This)->lpVtbl->ReleaseObjects(This,cObjects,prgpUnknown,fFreeArray) +#define IMimeAllocator_FreeEnumHeaderRowArray(This,cRows,prgRow,fFreeArray) (This)->lpVtbl->FreeEnumHeaderRowArray(This,cRows,prgRow,fFreeArray) +#define IMimeAllocator_FreeEnumPropertyArray(This,cProps,prgProp,fFreeArray) (This)->lpVtbl->FreeEnumPropertyArray(This,cProps,prgProp,fFreeArray) +#define IMimeAllocator_FreeThumbprint(This,pthumbprint) (This)->lpVtbl->FreeThumbprint(This,pthumbprint) +#define IMimeAllocator_PropVariantClear(This,pProp) (This)->lpVtbl->PropVariantClear(This,pProp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeAllocator_QueryInterface(IMimeAllocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeAllocator_AddRef(IMimeAllocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeAllocator_Release(IMimeAllocator* This) { + return This->lpVtbl->Release(This); +} +/*** IMalloc methods ***/ +static FORCEINLINE LPVOID IMimeAllocator_Alloc(IMimeAllocator* This,SIZE_T cb) { + return This->lpVtbl->Alloc(This,cb); +} +static FORCEINLINE LPVOID IMimeAllocator_Realloc(IMimeAllocator* This,LPVOID pv,SIZE_T cb) { + return This->lpVtbl->Realloc(This,pv,cb); +} +static FORCEINLINE void IMimeAllocator_Free(IMimeAllocator* This,LPVOID pv) { + This->lpVtbl->Free(This,pv); +} +static FORCEINLINE SIZE_T IMimeAllocator_GetSize(IMimeAllocator* This,LPVOID pv) { + return This->lpVtbl->GetSize(This,pv); +} +static FORCEINLINE int IMimeAllocator_DidAlloc(IMimeAllocator* This,LPVOID pv) { + return This->lpVtbl->DidAlloc(This,pv); +} +static FORCEINLINE void IMimeAllocator_HeapMinimize(IMimeAllocator* This) { + This->lpVtbl->HeapMinimize(This); +} +/*** IMimeAllocator methods ***/ +static FORCEINLINE HRESULT IMimeAllocator_FreeParamInfoArray(IMimeAllocator* This,ULONG cParams,LPMIMEPARAMINFO prgParam,boolean fFreeArray) { + return This->lpVtbl->FreeParamInfoArray(This,cParams,prgParam,fFreeArray); +} +static FORCEINLINE HRESULT IMimeAllocator_FreeAddressList(IMimeAllocator* This,LPADDRESSLIST pList) { + return This->lpVtbl->FreeAddressList(This,pList); +} +static FORCEINLINE HRESULT IMimeAllocator_FreeAddressProps(IMimeAllocator* This,LPADDRESSPROPS pAddress) { + return This->lpVtbl->FreeAddressProps(This,pAddress); +} +static FORCEINLINE HRESULT IMimeAllocator_ReleaseObjects(IMimeAllocator* This,ULONG cObjects,IUnknown **prgpUnknown,boolean fFreeArray) { + return This->lpVtbl->ReleaseObjects(This,cObjects,prgpUnknown,fFreeArray); +} +static FORCEINLINE HRESULT IMimeAllocator_FreeEnumHeaderRowArray(IMimeAllocator* This,ULONG cRows,LPENUMHEADERROW prgRow,boolean fFreeArray) { + return This->lpVtbl->FreeEnumHeaderRowArray(This,cRows,prgRow,fFreeArray); +} +static FORCEINLINE HRESULT IMimeAllocator_FreeEnumPropertyArray(IMimeAllocator* This,ULONG cProps,LPENUMPROPERTY prgProp,boolean fFreeArray) { + return This->lpVtbl->FreeEnumPropertyArray(This,cProps,prgProp,fFreeArray); +} +static FORCEINLINE HRESULT IMimeAllocator_FreeThumbprint(IMimeAllocator* This,THUMBBLOB *pthumbprint) { + return This->lpVtbl->FreeThumbprint(This,pthumbprint); +} +static FORCEINLINE HRESULT IMimeAllocator_PropVariantClear(IMimeAllocator* This,LPPROPVARIANT pProp) { + return This->lpVtbl->PropVariantClear(This,pProp); +} +#endif +#endif + +#endif + + +#endif /* __IMimeAllocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeObjResolver interface + */ +#ifndef __IMimeObjResolver_INTERFACE_DEFINED__ +#define __IMimeObjResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeObjResolver, 0xfeceaffd, 0xc441, 0x11d1, 0x96,0x0e, 0x00,0xc0,0x4f,0xbd,0x7c,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("feceaffd-c441-11d1-960e-00c04fbd7c09") +IMimeObjResolver : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeObjResolver, 0xfeceaffd, 0xc441, 0x11d1, 0x96,0x0e, 0x00,0xc0,0x4f,0xbd,0x7c,0x09) +#endif +#else +typedef struct IMimeObjResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeObjResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeObjResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeObjResolver *This); + + END_INTERFACE +} IMimeObjResolverVtbl; + +interface IMimeObjResolver { + CONST_VTBL IMimeObjResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeObjResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeObjResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeObjResolver_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeObjResolver_QueryInterface(IMimeObjResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeObjResolver_AddRef(IMimeObjResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeObjResolver_Release(IMimeObjResolver* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeObjResolver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFontCache interface + */ +#ifndef __IFontCache_INTERFACE_DEFINED__ +#define __IFontCache_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFontCache, 0xb0d17fc2, 0x7bc4, 0x11d1, 0xbd,0xfa, 0x00,0xc0,0x4f,0xa3,0x10,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b0d17fc2-7bc4-11d1-bdfa-00c04fa31009") +IFontCache : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFontCache, 0xb0d17fc2, 0x7bc4, 0x11d1, 0xbd,0xfa, 0x00,0xc0,0x4f,0xa3,0x10,0x09) +#endif +#else +typedef struct IFontCacheVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFontCache *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFontCache *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFontCache *This); + + END_INTERFACE +} IFontCacheVtbl; + +interface IFontCache { + CONST_VTBL IFontCacheVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFontCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFontCache_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFontCache_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFontCache_QueryInterface(IFontCache* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFontCache_AddRef(IFontCache* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFontCache_Release(IFontCache* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IFontCache_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFontCacheNotify interface + */ +#ifndef __IFontCacheNotify_INTERFACE_DEFINED__ +#define __IFontCacheNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFontCacheNotify, 0xb0d17fc5, 0x7bc4, 0x11d1, 0xbd,0xfa, 0x00,0xc0,0x4f,0xa3,0x10,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b0d17fc5-7bc4-11d1-bdfa-00c04fa31009") +IFontCacheNotify : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFontCacheNotify, 0xb0d17fc5, 0x7bc4, 0x11d1, 0xbd,0xfa, 0x00,0xc0,0x4f,0xa3,0x10,0x09) +#endif +#else +typedef struct IFontCacheNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFontCacheNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFontCacheNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFontCacheNotify *This); + + END_INTERFACE +} IFontCacheNotifyVtbl; + +interface IFontCacheNotify { + CONST_VTBL IFontCacheNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFontCacheNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFontCacheNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFontCacheNotify_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFontCacheNotify_QueryInterface(IFontCacheNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFontCacheNotify_AddRef(IFontCacheNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFontCacheNotify_Release(IFontCacheNotify* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IFontCacheNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeEditTag interface + */ +#ifndef __IMimeEditTag_INTERFACE_DEFINED__ +#define __IMimeEditTag_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeEditTag, 0x70183210, 0x7b36, 0x11d2, 0x8c,0x12, 0x00,0xc0,0x4f,0xa3,0x10,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70183210-7b36-11d2-8c12-00c04fa31009") +IMimeEditTag : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeEditTag, 0x70183210, 0x7b36, 0x11d2, 0x8c,0x12, 0x00,0xc0,0x4f,0xa3,0x10,0x09) +#endif +#else +typedef struct IMimeEditTagVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeEditTag *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeEditTag *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeEditTag *This); + + END_INTERFACE +} IMimeEditTagVtbl; + +interface IMimeEditTag { + CONST_VTBL IMimeEditTagVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeEditTag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeEditTag_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeEditTag_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeEditTag_QueryInterface(IMimeEditTag* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeEditTag_AddRef(IMimeEditTag* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeEditTag_Release(IMimeEditTag* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeEditTag_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeEditTagCollection interface + */ +#ifndef __IMimeEditTagCollection_INTERFACE_DEFINED__ +#define __IMimeEditTagCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMimeEditTagCollection, 0xd09ee528, 0x7b38, 0x11d2, 0x8c,0x12, 0x00,0xc0,0x4f,0xa3,0x10,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d09ee528-7b38-11d2-8c12-00c04fa31009") +IMimeEditTagCollection : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeEditTagCollection, 0xd09ee528, 0x7b38, 0x11d2, 0x8c,0x12, 0x00,0xc0,0x4f,0xa3,0x10,0x09) +#endif +#else +typedef struct IMimeEditTagCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeEditTagCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeEditTagCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeEditTagCollection *This); + + END_INTERFACE +} IMimeEditTagCollectionVtbl; + +interface IMimeEditTagCollection { + CONST_VTBL IMimeEditTagCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeEditTagCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeEditTagCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeEditTagCollection_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeEditTagCollection_QueryInterface(IMimeEditTagCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeEditTagCollection_AddRef(IMimeEditTagCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeEditTagCollection_Release(IMimeEditTagCollection* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeEditTagCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMimeSecurityCallback interface + */ +#ifndef __IMimeSecurityCallback_INTERFACE_DEFINED__ +#define __IMimeSecurityCallback_INTERFACE_DEFINED__ + +#define CMS_RECIPIENT_INFO_TYPE_UNKNOWN 0 +#define CMS_RECIPIENT_INFO_TYPE_KEYTRANS 1 +#define CMS_RECIPIENT_INFO_TYPE_KEYAGREE 2 +#define CMS_RECIPIENT_INFO_TYPE_MAIL_LIST 3 +#define CMS_RECIPIENT_INFO_PUBKEY_CERTIFICATE 0 +#define CMS_RECIPIENT_INFO_PUBKEY_KEYTRANS 1 +#define CMS_RECIPIENT_INFO_PUBKEY_PROVIDER 2 +#define CMS_RECIPIENT_INFO_PUBKEY_EPHEMERAL_KEYAGREE 3 +#define CMS_RECIPIENT_INFO_PUBKEY_STATIC_KEYAGREE 4 +#define CMS_RECIPIENT_INFO_KEYID_CERTIFICATE 0 +#define CMS_RECIPIENT_INFO_KEYID_ISSUERSERIAL 1 +#define CMS_RECIPIENT_INFO_KEYID_KEY_ID 2 +DEFINE_GUID(IID_IMimeSecurityCallback, 0xba715ae0, 0xa740, 0x11d2, 0x8b,0x22, 0x00,0x80,0xc7,0x6b,0x34,0xc6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ba715ae0-a740-11d2-8b22-0080c76b34c6") +IMimeSecurityCallback : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMimeSecurityCallback, 0xba715ae0, 0xa740, 0x11d2, 0x8b,0x22, 0x00,0x80,0xc7,0x6b,0x34,0xc6) +#endif +#else +typedef struct IMimeSecurityCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMimeSecurityCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMimeSecurityCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMimeSecurityCallback *This); + + END_INTERFACE +} IMimeSecurityCallbackVtbl; + +interface IMimeSecurityCallback { + CONST_VTBL IMimeSecurityCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMimeSecurityCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMimeSecurityCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMimeSecurityCallback_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMimeSecurityCallback_QueryInterface(IMimeSecurityCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMimeSecurityCallback_AddRef(IMimeSecurityCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMimeSecurityCallback_Release(IMimeSecurityCallback* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IMimeSecurityCallback_INTERFACE_DEFINED__ */ + +#ifdef __cplusplus + extern "C" { +#endif + +HRESULT WINAPI MimeOleSetCompatMode(DWORD); +HRESULT WINAPI MimeOleContentTypeFromUrl(LPCSTR,LPCSTR,LPSTR*); +HRESULT WINAPI MimeOleParseMhtmlUrl(LPSTR,LPSTR*,LPSTR*); +HRESULT WINAPI MimeOleObjectFromUrl(LPCSTR,BOOL,REFIID,LPVOID*,IUnknown**); +HRESULT WINAPI MimeOleObjectFromMoniker(BINDF,IMoniker*,IBindCtx*,REFIID,LPVOID*,IMoniker**); +HRESULT WINAPI MimeOleCombineURL(LPCSTR,ULONG,LPCSTR,ULONG,BOOL,LPSTR*); +HRESULT WINAPI MimeOleGetSubjectFileName(IMimePropertySet*,ULONG*,ULONG*,LPSTR,ULONG); +HRESULT WINAPI MimeOleCreateWebDocument(LPCSTR,LPCSTR,IMimeWebDocument**); +HRESULT WINAPI MimeOleGetRelatedSection(IMimeMessageTree*,boolean,LPHBODY,boolean*); +HRESULT WINAPI MimeOleGetMixedSection(IMimeMessageTree*,boolean,LPHBODY,boolean*); +HRESULT WINAPI MimeOleGetAlternativeSection(IMimeMessageTree*,LPHBODY,boolean*); +HRESULT WINAPI MimeOleGenerateCID(LPSTR,ULONG,boolean); +HRESULT WINAPI MimeOleGenerateMID(LPSTR,ULONG,boolean); +HRESULT WINAPI MimeOleCreateByteStream(IStream**); +HRESULT WINAPI MimeOlGetPropertySchema(IMimePropertySchema**); +HRESULT WINAPI MimeOleQueryString(LPCSTR,LPCSTR,boolean,boolean); +HRESULT WINAPI MimeOleGetPropA(IMimePropertySet*,LPCSTR,DWORD,LPSTR*); +HRESULT WINAPI MimeOleSetPropA(IMimePropertySet*,LPCSTR,DWORD,LPCSTR); +HRESULT WINAPI MimeOleGetPropW(IMimePropertySet*,LPCSTR,DWORD,LPWSTR*); +HRESULT WINAPI MimeOleSetPropW(IMimePropertySet*,LPCSTR,DWORD,LPCWSTR); +HRESULT WINAPI MimeOleGetBodyPropA(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPSTR*); +HRESULT WINAPI MimeOleSetBodyPropA(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPCSTR); +HRESULT WINAPI MimeOleGetBodyPropW(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPWSTR*); +HRESULT WINAPI MimeOleSetBodyPropW(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPCWSTR); +HRESULT WINAPI MimeOleCreateHeaderTable(IMimeHeaderTable**); +HRESULT WINAPI MimeOleVariantFree(LPPROPVARIANT); +HRESULT WINAPI MimeOleVariantCopy(LPPROPVARIANT,LPPROPVARIANT); +HRESULT WINAPI MimeOleGetExtClassId(LPCSTR,LPCLSID); +HRESULT WINAPI MimeOleEncodeHeader(HCHARSET,LPPROPVARIANT,LPSTR*,LPRFC1522INFO); +HRESULT WINAPI MimeOleDecodeHeader(HCHARSET,LPCSTR,LPPROPVARIANT,LPRFC1522INFO); +HRESULT WINAPI MimeOleRfc1522Decode(LPCSTR,LPSTR,ULONG,LPSTR*); +HRESULT WINAPI MimeOleRfc1522Encode(LPCSTR,HCHARSET,LPSTR*); +HRESULT WINAPI MimeOleGetInternat(IMimeInternational**); +HRESULT WINAPI MimeOleFindCharset(LPCSTR,LPHCHARSET); +HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET,LPINETCSETINFO); +HRESULT WINAPI MimeOleGetCodePageInfo(HCHARSET,LPCODEPAGEINFO); +HRESULT WINAPI MimeOleGetDefaultCharset(LPHCHARSET); +HRESULT WINAPI MimeOleSetDefaultCharset(HCHARSET); +HRESULT WINAPI MimeOleGetCodePageCharset(CODEPAGEID,CHARSETTYPE,LPHCHARSET); +HRESULT WINAPI MimeOleCreateVirtualStream(IStream**); +HRESULT WINAPI MimeOleOpenFileStream(LPCSTR,DWORD,DWORD,IStream**); +HRESULT WINAPI MimeOleIsTnefStream(IStream*); +HRESULT WINAPI MimeOleGenerateFileName(LPCSTR,LPCSTR,LPCSTR,LPSTR*); +HRESULT WINAPI MimeOleGetFileExtension(LPCSTR,LPSTR,ULONG); +HRESULT WINAPI MimeOleCreateSecurity(IMimeSecurity**); +HRESULT WINAPI MimeOleInetDateToFileTime(LPCSTR,LPFILETIME); +HRESULT WINAPI MimeOleFileTimeToInetDate(LPFILETIME,LPSTR,ULONG); +HRESULT WINAPI MimeOleCreateMessageParts(IMimeMessageParts**); +HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator**); +HRESULT WINAPI MimeOleParseRfc822Address(DWORD,ENCODINGTYPE,LPCSTR,LPADDRESSLIST); +HRESULT WINAPI MimeOleCreateMessage(IUnknown*,IMimeMessage**); +HRESULT WINAPI MimeOleMergePartialHeaders(IStream*,IStream*); +HRESULT WINAPI MimeOleEscapeString(CODEPAGEID,LPCSTR,LPSTR*); +HRESULT WINAPI MimeOleGetExtContentType(LPCSTR,LPSTR*); +HRESULT WINAPI MimeOleGetContentTypeExt(LPCSTR,LPSTR*); +HRESULT WINAPI MimeOleGetFileInfo(LPSTR,LPSTR*,LPSTR*,LPSTR*,LPSTR*,LPSTR*); +HRESULT WINAPI MimeOleCreateBody(IMimeBody**); +HRESULT WINAPI MimeOleCreatePropertySet(IUnknown*,IMimePropertySet**); +HRESULT WINAPI MimeOleCreateMessageTree(IUnknown*,IMimeMessageTree**); +HRESULT WINAPI MimeOleGetCertsFromThumbprints(THUMBBLOB*,X509CERTRESULT*,const HCERTSTORE*,DWORD); +HRESULT WINAPI MimeOleSplitMessage(IMimeMessage*,ULONG,IMimeMessageParts**); +HRESULT WINAPI MimeOleClearDirtyTree(IMimeMessageTree*); +HRESULT WINAPI MimeOleConvertEnrichedToHTML(CODEPAGEID,IStream*,IStream*); +HRESULT WINAPI MimeOleSMimeCapsToDlg(LPBYTE,DWORD,DWORD,PCX509CERT*,HWND,DWORD,DWORD,DWORD); +HRESULT WINAPI MimeOleSMimeCapsFromDlg(HWND,DWORD,DWORD,DWORD,LPBYTE,DWORD*); +HRESULT WINAPI MimeOleSMimeCapInit(LPBYTE,DWORD,LPVOID*); +HRESULT WINAPI MimeOleSMimeCapAddSMimeCap(LPBYTE,DWORD,LPVOID); +HRESULT WINAPI MimeOleSMimeCapAddCert(LPBYTE,DWORD,BOOL,LPVOID); +HRESULT WINAPI MimeOleSMimeCapGetEncAlg(LPVOID,LPBYTE,DWORD*,DWORD*); +HRESULT WINAPI MimeOleSMimeCapGetHashAlg(LPVOID,LPBYTE,DWORD*,DWORD*); +HRESULT WINAPI MimeOleSMimeCapRelease(LPVOID); +HRESULT WINAPI MimeOleAlgNameFromSMimeap(LPBYTE,DWORD,LPCSTR*); +HRESULT WINAPI MimeOleAlgStrengthFromSMimeCap(LPBYTE,DWORD,BOOL,DWORD*); +HRESULT WINAPI MimeOleSMimeCapsFull(LPVOID,BOOL,BOOL,LPBYTE,DWORD*); +HRESULT WINAPI MimeOleCreateHashTable(DWORD,BOOL,IHashTable**); +HRESULT WINAPI MimeOleStripHeaders(IMimeMessage*,HBODY,LPCSTR,LPCSTR,IStream**); +HRESULT WINAPI MimeEditViewSource(HWND,IMimeMessage*); +HRESULT WINAPI MimeEditIsSafeToRun(HWND,LPCSTR); +HRESULT WINAPI MimeEditVerifyTrust(HWND,LPCSTR,LPCSTR); +HRESULT WINAPI MimeEditCreateMimeDocument(IUnknown*,IMimeMessage*,DWORD,IMimeMessage**); +HRESULT WINAPI MimeEditGetBackgroundImageUrl(IUnknown*,BSTR*); +HRESULT WINAPI MimeEditDocumentFromStream(IStream*,REFIID,void**); +HRESULT WINAPI MimeOleGetPropertySchema(IMimePropertySchema**); +HRESULT WINAPI MimeGetAddressFormatW(REFIID,void*,DWORD,ADDRESSFORMAT,WCHAR**); +#ifdef __cplusplus +} +#endif +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mimeole_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeole.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeole.idl new file mode 100644 index 0000000..29bead2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mimeole.idl @@ -0,0 +1,1543 @@ +/* + * Copyright 2007 Robert Shearman for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; +import "objidl.idl"; +import "propidl.idl"; + +#define DECLARE_HANDLE(name) typedef void *name + +interface IMimeMessageCallback; +interface IMimeEnumAddressTypes; +interface IMimeMessageParts; +interface IMimeMessageTree; +interface IMimeBody; +interface IMimeEnumProperties; + +cpp_quote("DEFINE_GUID(CLSID_IMimeBody, 0xfd853cdb, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IMimeAllocator, 0xfd853cdd, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IMimeMessage, 0xfd853ce3, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IMimeSecurity, 0xfd853cde, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IVirtualStream, 0xfd853cdf, 0x7f86, 0x11d0, 0x82, 0x52, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_IMimeHtmlProtocol,0x5300401,0xbcbc, 0x11d0, 0x85, 0xe3, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);") +cpp_quote("DEFINE_GUID(CLSID_MimeEdit, 0x1c82ead9, 0x508e, 0x11d1, 0x8d, 0xcf, 0x0, 0xc0, 0x4f, 0xb9, 0x51, 0xf9);") + +cpp_quote("#define MIME_E_REG_CREATE_KEY 0x800cce01") +cpp_quote("#define MIME_E_REG_QUERY_INFO 0x800cce02") +cpp_quote("#define MIME_E_INVALID_ENCTYPE 0x800cce03") +cpp_quote("#define MIME_E_BOUNDARY_MISMATCH 0x800cce04") +cpp_quote("#define MIME_E_NOT_FOUND 0x800cce05") +cpp_quote("#define MIME_E_NO_DATA 0x800cce05") +cpp_quote("#define MIME_E_BUFFER_TOO_SMALL 0x800cce06") +cpp_quote("#define MIME_E_INVALID_ITEM_FLAGS 0x800cce07") +cpp_quote("#define MIME_E_ONE_LINE_ITEME 0x800cce08") +cpp_quote("#define MIME_E_INVALID_HANDLE 0x800cce09") +cpp_quote("#define MIME_E_CHARSET_TRANSLATE 0x800cce0a") +cpp_quote("#define MIME_E_NOT_INITIALIZED 0x800cce0b") + +cpp_quote("#define MIME_E_INVALID_OPTION_VALUE 0x800cce1f") +cpp_quote("#define MIME_E_INVALID_OPTION_ID 0x800cce20") +cpp_quote("#define MIME_E_INVALID_HEADER_NAME 0x800cce21") +cpp_quote("#define MIME_E_NOT_BOUND 0x800cce22") +cpp_quote("#define MIME_E_MAX_SIZE_TOO_SMALL 0x800cce23") +cpp_quote("#define MIME_E_MULTIPART_HAS_CHILDREN 0x800cce25") +cpp_quote("#define MIME_E_INVALID_PROP_FLAGS 0x800cce26") +cpp_quote("#define MIME_E_INVALID_ADDRESS_TYPE 0x800cce27") +cpp_quote("#define MIME_E_INVALID_OBJECT_IID 0x800cce28") +cpp_quote("#define MIME_E_MLANG_DLL_NOT_FOUND 0x800cce29") +cpp_quote("#define MIME_E_ROOT_NOT_EMPTY 0x800cce2a") +cpp_quote("#define MIME_E_MLANG_BAD_DLL 0x800cce2b") +cpp_quote("#define MIME_E_REG_OPEN_KEY 0x800cce2c") +cpp_quote("#define MIME_E_INVALID_INET_DATE 0x800cce2d") +cpp_quote("#define MIME_E_INVALID_BODYTYPE 0x800cce2e") +cpp_quote("#define MIME_E_INVALID_DELETE_TYPE 0x800cce2f") +cpp_quote("#define MIME_E_OPTION_HAS_NO_VALUE 0x800cce30") +cpp_quote("#define MIME_E_INVALID_CHARSET_TYPE 0x800cce31") + +cpp_quote("#define MIME_E_INVALID_TEXT_TYPE 0x800cce38") + +cpp_quote("#define MIME_E_SECURITY_NOOP 0x800cceb1") +cpp_quote("#define MIME_S_SECURITY_NOOP 0x000cceb1") + +cpp_quote("typedef enum tagMIMEPROPID {") +cpp_quote(" PID_HDR_NEWSGROUP = 2,") +cpp_quote(" PID_HDR_NEWSGROUPS = 3,") +cpp_quote(" PID_HDR_REFS = 4,") +cpp_quote(" PID_HDR_SUBJECT = 5,") +cpp_quote(" PID_HDR_FROM = 6,") +cpp_quote(" PID_HDR_MESSAGEID = 7,") +cpp_quote(" PID_HDR_RETURNPATH = 8,") +cpp_quote(" PID_HDR_RR = 9,") +cpp_quote(" PID_HDR_RETRCPTO = 10,") +cpp_quote(" PID_HDR_APPARTO = 11,") +cpp_quote(" PID_HDR_DATE = 12,") +cpp_quote(" PID_HDR_RECEIVED = 13,") +cpp_quote(" PID_HDR_REPLYTO = 14,") +cpp_quote(" PID_HDR_XMAILER = 15,") +cpp_quote(" PID_HDR_BCC = 16,") +cpp_quote(" PID_HDR_MIMEVER = 17,") +cpp_quote(" PID_HDR_CNTTYPE = 18,") +cpp_quote(" PID_HDR_CNTXFER = 19,") +cpp_quote(" PID_HDR_CNTID = 20,") +cpp_quote(" PID_HDR_CNTDESC = 21,") +cpp_quote(" PID_HDR_CNTDISP = 22,") +cpp_quote(" PID_HDR_CNTBASE = 23,") +cpp_quote(" PID_HDR_CNTLOC = 24,") +cpp_quote(" PID_HDR_TO = 25,") +cpp_quote(" PID_HDR_PATH = 26,") +cpp_quote(" PID_HDR_FOLLOWUPTO = 27,") +cpp_quote(" PID_HDR_EXPIRES = 28,") +cpp_quote(" PID_HDR_CC = 29,") +cpp_quote(" PID_HDR_CONTROL = 30,") +cpp_quote(" PID_HDR_DISTRIB = 31,") +cpp_quote(" PID_HDR_KEYWORDS = 32,") +cpp_quote(" PID_HDR_SUMMARY = 33,") +cpp_quote(" PID_HDR_APPROVED = 34,") +cpp_quote(" PID_HDR_LINES = 35,") +cpp_quote(" PID_HDR_XREF = 36,") +cpp_quote(" PID_HDR_ORG = 37,") +cpp_quote(" PID_HDR_XNEWSRDR = 38,") +cpp_quote(" PID_HDR_XPRI = 39,") +cpp_quote(" PID_HDR_XMSPRI = 40,") +cpp_quote(" PID_PAR_FILENAME = 41,") +cpp_quote(" PID_PAR_BOUNDARY = 42,") +cpp_quote(" PID_PAR_CHARSET = 43,") +cpp_quote(" PID_PAR_NAME = 44,") +cpp_quote(" PID_ATT_FILENAME = 45,") +cpp_quote(" PID_ATT_GENFNAME = 46,") +cpp_quote(" PID_ATT_PRITYPE = 47,") +cpp_quote(" PID_ATT_SUBTYPE = 48,") +cpp_quote(" PID_ATT_NORMSUBJ = 49,") +cpp_quote(" PID_ATT_ILLEGAL = 50,") +cpp_quote(" PID_ATT_RENDERED = 51,") +cpp_quote(" PID_ATT_SENTTIME = 52,") +cpp_quote(" PID_ATT_RECVTIME = 53,") +cpp_quote(" PID_ATT_PRIORITY = 54,") +cpp_quote(" PID_HDR_COMMENT = 55,") +cpp_quote(" PID_HDR_ENCODING = 56,") +cpp_quote(" PID_HDR_ENCRYPTED = 57,") +cpp_quote(" PID_HDR_OFFSETS = 58,") +cpp_quote(" PID_HDR_XUNSENT = 59,") +cpp_quote(" PID_HDR_ARTICLEID = 60,") +cpp_quote(" PID_HDR_SENDER = 61,") +cpp_quote(" PID_ATT_SERVER = 62,") +cpp_quote(" PID_ATT_ACCOUNT = 63,") +cpp_quote(" PID_ATT_UIDL = 64,") +cpp_quote(" PID_ATT_STOREMSGID = 65,") +cpp_quote(" PID_ATT_USERNAME = 66,") +cpp_quote(" PID_ATT_FORWARDTO = 67,") +cpp_quote(" PID_ATT_STOREFOLDERID = 68,") +cpp_quote(" PID_ATT_GHOSTED = 69,") +cpp_quote(" PID_ATT_UNCACHEDSIZE = 70,") +cpp_quote(" PID_ATT_COMBINED = 71,") +cpp_quote(" PID_ATT_AUTOINLINED = 72,") +cpp_quote(" PID_HDR_DISP_NOTIFICATION_TO = 73,") +cpp_quote(" PID_PAR_REPLYTYPE = 74,") +cpp_quote(" PID_PAR_FORMAT = 75,") +cpp_quote(" PID_ATT_FORMAT = 76,") +cpp_quote(" PID_HDR_INREPLYTO = 77,") +cpp_quote(" PID_ATT_ACCOUNTNAME = 78,") +cpp_quote(" PID_LAST = 79,") +cpp_quote("} MIMEPROPID;") + +cpp_quote("#define ISPIDSTR(_name) (((DWORD_PTR)(_name) >> 16) == 0)") +cpp_quote("#define STRTOPID(_name) ((DWORD)((DWORD_PTR)((LPCSTR)(_name))))") +cpp_quote("#define PIDTOSTR(_id) ((LPCSTR)((DWORD_PTR)(_id)))") + +cpp_quote("#define TYPEDID_ID(_typedid) (((ULONG)(_typedid))>>16)") +cpp_quote("#define TYPEDID_MASK ((ULONG)0xffff)") +cpp_quote("#define TYPEDID_TYPE(t) ((VARTYPE)((t) & TYPEDID_MASK))") + +cpp_quote("#define OID_ALLOW_8BIT_HEADER (0x00010000 | VT_BOOL)") +cpp_quote("#define OID_CBMAX_HEADER_LINE (0x00020000 | VT_UI4)") +cpp_quote("#define OID_SAVE_FORMAT (0x00030000 | VT_UI4)") +cpp_quote("#define OID_WRAP_BODY_TEXT (0x00040000 | VT_BOOL)") +cpp_quote("#define OID_CBMAX_BODY_LINE (0x00050000 | VT_UI4)") +cpp_quote("#define OID_TRANSMIT_BODY_ENCODING (0x00060000 | VT_UI4)") +cpp_quote("#define OID_TRANSMIT_TEXT_ENCODING (0x00070000 | VT_UI4)") +cpp_quote("#define OID_GENERATE_MESSAGE_ID (0x00080000 | VT_BOOL)") +cpp_quote("#define OID_HIDE_TNEF_ATTACHMENTS (0x000e0000 | VT_BOOL)") +cpp_quote("#define OID_CLEANUP_TREE_ON_SAVE (0x000f0000 | VT_BOOL)") +cpp_quote("#define OID_BODY_REMOVE_NBSP (0x00140000 | VT_BOOL)") +cpp_quote("#define OID_DEFAULT_BODY_CHARSET (0x00150000 | VT_UI4)") +cpp_quote("#define OID_DEFAULT_HEADER_CHARSET (0x00160000 | VT_UI4)") +cpp_quote("#define OID_DBCS_ESCAPE_IS_8BIT (0x00170000 | VT_BOOL)") +cpp_quote("#define OID_SECURITY_TYPE (0x00180000 | VT_UI4)") +cpp_quote("#define OID_SECURITY_HWND_OWNER (0x00320000 | VT_UI4)") +cpp_quote("#define OID_HEADER_RELOAD_TYPE (0x00370000 | VT_UI4)") +cpp_quote("#define OID_CAN_INLINE_TEXT_BODIES (0x00380000 | VT_BOOL)") +cpp_quote("#define OID_SHOW_MACBINARY (0x00390000 | VT_BOOL)") +cpp_quote("#define OID_SAVEBODY_KEEPBOUNDARY (0x00400000 | VT_BOOL)") + +cpp_quote("#define OID_SECURITY_2KEY_CERT_BAG (0x00590000 | VT_VECTOR | VT_UI4)") +cpp_quote("#define OID_SECURITY_2KEY_CERT_BAG_64 (0x00590000 | VT_VECTOR | VT_UI8)") + +[ + uuid(e4b28371-83b0-11d0-8259-00c04fd85ab4), + version(1.0) +] +library MIMEOLE +{ + importlib("stdole2.tlb"); + + DECLARE_HANDLE(HCHARSET); + DECLARE_HANDLE(HBODY); + DECLARE_HANDLE(HHEADERROW); + + typedef HCHARSET *LPHCHARSET; + typedef HBODY *LPHBODY; + typedef HHEADERROW *LPHHEADERROW; + typedef DWORD TYPEDID; + typedef const PROPVARIANT *LPCPROPVARIANT; + typedef const BLOB *LPCBLOB; + + typedef enum tagRELOADTYPE + { + RELOAD_HEADER_NONE, + RELOAD_HEADER_RESET, + RELOAD_HEADER_APPEND, + RELOAD_HEADER_REPLACE, + } RELOADTYPE; + + typedef enum tagMIMESAVETYPE + { + SAVE_RFC822, + SAVE_RFC1521, + } MIMESAVETYPE; + + typedef enum tagCSETAPPLYTYPE + { + CSET_APPLY_UNTAGGED, + CSET_APPLY_ALL, + CSET_APPLY_TAG_ALL, + } CSETAPPLYTYPE; + + typedef enum tagENCODINGTYPE + { + IET_BINARY, + IET_BASE64, + IET_UUENCODE, + IET_QP, + IET_7BIT, + IET_8BIT, + IET_INETCSET, + IET_UNICODE, + IET_RFC1522, + IET_ENCODED, + IET_CURRENT, + IET_UNKNOWN, + IET_BINHEX40, + IET_LAST + } ENCODINGTYPE; + + const SHORT IET_DECODED = IET_BINARY; + + const SHORT CCHMAX_HEADER_LINE = 1000; + + [ + uuid(c5588349-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeInternational : IUnknown + { + typedef [unique] IMimeInternational *LPMIMEINTERNATIONAL; + typedef DWORD CODEPAGEID; + + const CODEPAGEID CP_USASCII = 1252; + const CODEPAGEID CP_UNICODE = 1200; + const CODEPAGEID CP_JAUTODETECT = 50932; + const CODEPAGEID CP_KAUTODETECT = 50949; + const CODEPAGEID CP_ISO2022JPESC = 50221; + const CODEPAGEID CP_ISO2022JPSIO = 50222; + + const SHORT CCHMAX_CSET_NAME = 128; + const SHORT CCHMAX_LANG_NAME = 128; + const SHORT CCHMAX_FACE_NAME = 128; + + typedef struct tagINETCSETINFO + { + CHAR szName[CCHMAX_CSET_NAME]; + HCHARSET hCharset; + CODEPAGEID cpiWindows; + CODEPAGEID cpiInternet; + DWORD dwReserved1; + } INETCSETINFO, *LPINETCSETINFO; + + typedef enum tagINETLANGMASK + { + ILM_FAMILY = 0x01, + ILM_NAME = 0x02, + ILM_BODYCSET = 0x04, + ILM_HEADERCSET = 0x08, + ILM_WEBCSET = 0x10, + ILM_FIXEDFONT = 0x20, + ILM_VARIABLEFONT = 0x40, + } INETLANGMASK; + + typedef struct tagCODEPAGEINFO + { + DWORD dwMask; + CODEPAGEID cpiCodePage; + BOOL fIsValidCodePage; + ULONG ulMaxCharSize; + BOOL fInternetCP; + CODEPAGEID cpiFamily; + CHAR szName[CCHMAX_LANG_NAME]; + CHAR szBodyCset[CCHMAX_CSET_NAME]; + CHAR szHeaderCset[CCHMAX_CSET_NAME]; + CHAR szWebCset[CCHMAX_CSET_NAME]; + CHAR szFixedFont[CCHMAX_FACE_NAME]; + CHAR szVariableFont[CCHMAX_FACE_NAME]; + ENCODINGTYPE ietNewsDefault; + ENCODINGTYPE ietMailDefault; + DWORD dwReserved1; + } CODEPAGEINFO, *LPCODEPAGEINFO; + + typedef struct tagRFC1522INFO + { + BOOL fRfc1522Allowed; + BOOL fRfc1522Used; + BOOL fAllow8bit; + HCHARSET hRfc1522Cset; + } RFC1522INFO, *LPRFC1522INFO; + + typedef enum tagCHARSETTYPE + { + CHARSET_BODY, + CHARSET_HEADER, + CHARSET_WEB, + } CHARSETTYPE; + + + HRESULT SetDefaultCharset( + [in] HCHARSET hCharset); + HRESULT GetDefaultCharset( + [out] LPHCHARSET phCharset); + HRESULT GetCodePageCharset( + [in] CODEPAGEID cpiCodePage, + [in] CHARSETTYPE ctCsetType, + [out] LPHCHARSET phCharset); + HRESULT FindCharset( + [in] LPCSTR pszCharset, + [out] LPHCHARSET phCharset); + HRESULT GetCharsetInfo( + [in] HCHARSET hCharset, + [in, out] LPINETCSETINFO pCsetInfo); + HRESULT GetCodePageInfo( + [in] CODEPAGEID cpiCodePage, + [in, out] LPCODEPAGEINFO pCodePageInfo); + HRESULT CanConvertCodePages( + [in] CODEPAGEID cpiSource, + [in] CODEPAGEID cpiDest); + HRESULT DecodeHeader( + [in] HCHARSET hCharset, + [in] LPCSTR pszData, + [in, out] LPPROPVARIANT pDecoded, + [in, out] LPRFC1522INFO pRfc1522Info); + HRESULT EncodeHeader( + [in] HCHARSET hCharset, + [in] LPPROPVARIANT pData, + [out] LPSTR *ppszEncoded, + [in, out] LPRFC1522INFO pRfc1522Info); + HRESULT ConvertBuffer( + [in] CODEPAGEID cpiSource, + [in] CODEPAGEID cpiDest, + [in] LPBLOB pIn, + [in, out] LPBLOB pOut, + [out] ULONG *pcbRead); + HRESULT ConvertString( + [in] CODEPAGEID cpiSource, + [in] CODEPAGEID cpiDest, + [in] LPPROPVARIANT pIn, + [in, out] LPPROPVARIANT pOut); + HRESULT MLANG_ConvertInetReset(void); + HRESULT MLANG_ConvertInetString( + [in] CODEPAGEID cpiSource, + [in] CODEPAGEID cpiDest, + [in] LPCSTR pSource, + [in] int *pnSizeOfSource, + [in,out,unique] LPSTR pDestination, + [in] int *pnDstSize); + HRESULT Rfc1522Decode( + [in] LPCSTR pszValue, + [in,ref] LPSTR pszCharset, + [in] ULONG cchmax, + [out] LPSTR *ppszDecoded); + HRESULT Rfc1522Encode( + [in] LPCSTR pszValue, + [in] HCHARSET hCharset, + [out] LPSTR *ppszEncoded); + } + + [ + uuid(c5588353-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeSecurity : IUnknown + { + typedef [unique] IMimeSecurity *LPMIMESECURITY; + + cpp_quote("#ifdef __WINE_WINCRYPT_H") + cpp_quote("typedef PCCERT_CONTEXT PCX509CERT;") + cpp_quote("#else") + typedef const void *PCX509CERT; + typedef void *HCERTSTORE; + cpp_quote("#endif") + + typedef BLOB THUMBBLOB; + typedef void *HCAPICERTSTORE; + + cpp_quote("#define MST_NONE 0x00000000") + cpp_quote("#define MST_THIS_SIGN 0x00000001") + cpp_quote("#define MST_THIS_ENCRYPT 0x00000002") + cpp_quote("#define MST_BLOB_FLAG 0x00000004") + cpp_quote("#define MST_THIS_BLOBSIGN (MST_BLOB_FLAG | MST_THIS_SIGN)") + cpp_quote("#define MST_CHILD_SIGN 0x00000100") + cpp_quote("#define MST_CHILD_ENCRYPT 0x00000200") + cpp_quote("#define MST_SUBMSG_SIGN 0x00001000") + cpp_quote("#define MST_SUBMSG_ENCRYPT 0x00002000") + cpp_quote("#define MST_RECEIPT_REQUEST 0x00010000") + cpp_quote("#define MST_CLASS_SMIME_V1 0x00000000") + cpp_quote("#define MST_CLASS_PGP 0x01000000") + + typedef enum tagCERTSTATE + { + CERTIFICATE_OK, + CERTIFICATE_NOT_PRESENT, + CERTIFICATE_EXPIRED, + CERTIFICATE_CHAIN_TOO_LONG, + CERTIFICATE_MISSING_ISSUER, + CERTIFICATE_CRL_LISTED, + CERTIFICATE_NOT_TRUSTED, + CERTIFICATE_INVALID, + CERTIFICATE_ERROR, + CERTIFICATE_NOPRINT, + CERTIFICATE_UNKNOWN + } CERTSTATE; + + typedef enum tagCERTNAMETYPE + { + SIMPLE, + OID, + X500, + } CERTNAMETYPE; + + typedef enum tagCERTDATAID + { + CDID_EMAIL, + CDID_MAX + } CERTDATAID; + + typedef struct tagX509CERTRESULT + { + DWORD cEntries; + CERTSTATE *rgcs; + PCX509CERT *rgpCert; + } X509CERTRESULT, *PX509CERTRESULT; + typedef const X509CERTRESULT *PCX509CERTRESULT; + + HRESULT InitNew(void); + + HRESULT CheckInit(void); + + HRESULT EncodeMessage( + [in] IMimeMessageTree */*const*/ pTree, + [in] DWORD dwFlags); + + HRESULT EncodeBody( + [in] IMimeMessageTree */*const*/ pTree, + [in] HBODY hEncodeRoot, + [in] DWORD dwFlags); + + HRESULT DecodeMessage( + [in] IMimeMessageTree */*const*/ pTree, + [in] DWORD dwFlags); + + HRESULT DecodeBody( + [in] IMimeMessageTree */*const*/ pTree, + [in] HBODY hDecodeRoot, + [in] DWORD dwFlags); + + HRESULT EnumCertificates( + [in] HCAPICERTSTORE hc, + [in] DWORD dwUsage, + [in] PCX509CERT pPrev, + [out] PCX509CERT *ppCert); + + HRESULT GetCertificateName( + [in] const PCX509CERT pX509Cert, + [in] const CERTNAMETYPE cn, + [out] LPSTR *ppszName); + + HRESULT GetMessageType( + [in] const HWND hwndParent, + [in] IMimeBody */*const*/ pBody, + [out] DWORD */*const*/ pdwSecType); + + HRESULT GetCertData( + [in] const PCX509CERT pX509Cert, + [in] const CERTDATAID dataid, + [out, ref] LPPROPVARIANT pValue); + } + + [ + uuid(fd853cd1-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeHeaderTable : IPersistStream + { + /* FIXME: fill this in */ + } + + [ + uuid(fd853cec-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimePropertySchema : IUnknown + { + typedef [unique] IMimePropertySchema *LPMIMEPROPERTYSCHEMA; + + typedef enum tagMIMEPROPFLAGS + { + MPF_INETCSET = 0x01, + MPF_RFC1522 = 0x02, + MPF_ADDRESS = 0x04, + MPF_HASPARAMS = 0x08, + MPF_MIME = 0x10, + MPF_READONLY = 0x20 + } MIMEPROPFLAGS; + + HRESULT RegisterProperty( + [in] const char *name, + [in] DWORD flags, + [in] DWORD rownumber, + [in] VARTYPE vtdefault, + [out] DWORD *propid); + + HRESULT ModifyProperty( + [in] const char *name, + [in] DWORD flags, + [in] DWORD rownumber, + [in] VARTYPE vtdefault); + + HRESULT GetPropertyId( + [in] const char *name, + [out] DWORD *propid); + + HRESULT GetPropertyName( + [in] DWORD propid, + [out] char **name); + + HRESULT RegisterAddressType( + [in] const char *name, + [out] DWORD *adrtype); + } + + [ + uuid(fd853cd3-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimePropertySet : IPersistStreamInit + { + typedef [unique] IMimePropertySet *LPMIMEPROPERTYSET; + + cpp_quote("#define PDF_ENCODED 0x00000001") + cpp_quote("#define PDF_NAMEINDATA 0x00000002") + cpp_quote("#define PDF_HEADERFORMAT (0x00000004 | PDF_ENCODED)") + cpp_quote("#define PDF_NOCOMMENTS 0x00000008") + cpp_quote("#define PDF_SAVENOENCODE 0x00000010") + cpp_quote("#define PDF_VECTOR 0x00000020") + + typedef struct tagMIMEPARAMINFO + { + LPSTR pszName; + LPSTR pszData; + } MIMEPARAMINFO, *LPMIMEPARAMINFO; + + typedef enum tagPROPINFOMASK + { + PIM_CHARSET = 0x01, + PIM_ENCODINGTYPE = 0x02, + PIM_ROWNUMBER = 0x04, + PIM_FLAGS = 0x08, + PIM_PROPID = 0x10, + PIM_VALUES = 0x20, + PIM_VTDEFAULT = 0x40, + PIM_VTCURRENT = 0x80 + } PROPINFOMASK; + + typedef struct tagMIMEPROPINFO + { + DWORD dwMask; + HCHARSET hCharset; + ENCODINGTYPE ietEncoding; + DWORD dwRowNumber; + DWORD dwFlags; + DWORD dwPropId; + DWORD cValues; + VARTYPE vtDefault; + VARTYPE vtCurrent; + } MIMEPROPINFO, *LPMIMEPROPINFO; + typedef const MIMEPROPINFO *LPCMIMEPROPINFO; + + HRESULT GetPropInfo( + [in] LPCSTR pszName, + [in,out] LPMIMEPROPINFO pInfo); + + HRESULT SetPropInfo( + [in] LPCSTR pszName, + [in] LPCMIMEPROPINFO pInfo); + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetProp") +cpp_quote("#undef SetProp") +cpp_quote("#undef EnumProps") +cpp_quote("#endif") + HRESULT GetProp( + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in,out] LPPROPVARIANT pValue); + + HRESULT SetProp( + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in] LPCPROPVARIANT pValue); + + HRESULT AppendProp( + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in] LPPROPVARIANT pValue); + + HRESULT DeleteProp( + [in] LPCSTR pszName); + + HRESULT CopyProps( + [in] ULONG cNames, + [in,unique] LPCSTR *prgszName, + [in] IMimePropertySet *pPropertySet); + + HRESULT MoveProps( + [in] ULONG cNames, + [in] LPCSTR *prgszName, + [in] IMimePropertySet *pPropertySet); + + HRESULT DeleteExcept( + [in] ULONG cNames, + [in] LPCSTR *prgszName); + + HRESULT QueryProp( + [in] LPCSTR pszName, + [in] LPCSTR pszCriteria, + [in] boolean fSubString, + [in] boolean fCaseSensitive); + + HRESULT GetCharset( + [out] LPHCHARSET phCharset); + + HRESULT SetCharset( + [in] HCHARSET hCharset, + [in] CSETAPPLYTYPE applytype); + + HRESULT GetParameters( + [in] LPCSTR pszName, + [out] ULONG *pcParams, + [out] LPMIMEPARAMINFO *pprgParam); + + HRESULT IsContentType( + [in] LPCSTR pszPriType, + [in,unique] LPCSTR pszSubType); + + HRESULT BindToObject( + [in] REFIID riid, + [out,iid_is(riid)] void **ppvObject); + + HRESULT Clone( + [out] IMimePropertySet **ppPropertySet); + + HRESULT SetOption( + [in] const TYPEDID oid, + [in] LPCPROPVARIANT pValue); + + HRESULT GetOption( + [in] const TYPEDID oid, + [in,out] LPPROPVARIANT pValue); + + cpp_quote("#define EPF_NONAME 0x00000001") + + HRESULT EnumProps( + [in] DWORD dwFlags, + [out] IMimeEnumProperties **ppEnum); + + } + + [ + uuid(c558834a-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeAddressTable : IUnknown + { + typedef [unique] IMimeAddressTable *LPMIMEADDRESSTABLE; + + DECLARE_HANDLE(HADDRESS); + typedef HADDRESS *LPHADDRESS; + typedef DWORD IADDRESSTYPE; + + typedef enum tagADDRESSFORMAT + { + AFT_DISPLAY_FRIENDLY, + AFT_DISPLAY_EMAIL, + AFT_DISPLAY_BOTH, + AFT_RFC822_DECODED, + AFT_RFC822_ENCODED, + AFT_RFC822_TRANSMIT, + } ADDRESSFORMAT; + + cpp_quote("#define IAT_UNKNOWN 0x00000000") + cpp_quote("#define IAT_FROM 0x00000001") + cpp_quote("#define IAT_SENDER 0x00000002") + cpp_quote("#define IAT_TO 0x00000004") + cpp_quote("#define IAT_CC 0x00000008") + cpp_quote("#define IAT_BCC 0x00000010") + cpp_quote("#define IAT_REPLYTO 0x00000020") + cpp_quote("#define IAT_RETURNPATH 0x00000040") + cpp_quote("#define IAT_RETRCPTTO 0x00000080") + cpp_quote("#define IAT_RR 0x00000100") + cpp_quote("#define IAT_APPARTO 0x00000200") + cpp_quote("#define IAT_DISP_NOTIFICATION_TO 0x00000400") + cpp_quote("#define IAT_ALL 0xffffffff") + cpp_quote("#define IAT_KNOWN (IAT_FROM | IAT_TO | IAT_CC | IAT_BCC | IAT_REPLYTO | IAT_SENDER)") + cpp_quote("#define IAT_RECIPS (IAT_TO | IAT_CC | IAT_BCC)") + + typedef struct tagADDRESSPROPS + { + DWORD dwProps; + HADDRESS hAddress; + ENCODINGTYPE ietFriendly; + HCHARSET hCharset; + DWORD dwAdrType; + LPSTR pszFriendly; + LPWSTR pwszReserved; + LPSTR pszEmail; + CERTSTATE certstate; + THUMBBLOB tbSigning; + THUMBBLOB tbEncryption; + DWORD dwCookie; + DWORD dwReserved1; + DWORD dwReserved2; + } ADDRESSPROPS, *LPADDRESSPROPS; + + cpp_quote("#define IAP_CHARSET 0x00000001") + cpp_quote("#define IAP_HANDLE 0x00000002") + cpp_quote("#define IAP_ADRTYPE 0x00000004") + cpp_quote("#define IAP_FRIENDLY 0x00000008") + cpp_quote("#define IAP_EMAIL 0x00000020") + cpp_quote("#define IAP_CERTSTATE 0x00000100") + cpp_quote("#define IAP_SIGNING_PRINT 0x00000200") + cpp_quote("#define IAP_ENCRYPTION_PRINT 0x00000400") + cpp_quote("#define IAP_ENCODING 0x00000800") + cpp_quote("#define IAP_COOKIE 0x00001000") + cpp_quote("#define IAP_FRIENDLYW 0x00002000") + cpp_quote("#define IAP_ALL 0xffffffff") + + typedef struct tagADDRESSLIST + { + ULONG cAdrs; + LPADDRESSPROPS prgAdr; + } ADDRESSLIST, *LPADDRESSLIST; + + HRESULT Append( + [in] DWORD addrtype, + [in] ENCODINGTYPE encoding, + [in] const char *friendly, + [in,unique] const char *email, + [in,out,unique] HADDRESS *address); + + HRESULT Insert( + [in] ADDRESSPROPS *addressprop, + [in,out,unique] HADDRESS *address); + + HRESULT SetProps( + [in] HADDRESS address, + [in] ADDRESSPROPS *addressprop); + + HRESULT GetProps( + [in] HADDRESS address, + [in] ADDRESSPROPS *addressprop); + + HRESULT GetSender( + [in,out] ADDRESSPROPS *addressprop); + + HRESULT CountTypes( + [in] DWORD addrtype, + [out] ULONG *count); + + HRESULT GetTypes( + [in] DWORD addrtype, + [in] DWORD dwProps, + [in,out] ADDRESSLIST *list); + + HRESULT EnumTypes( + [in] DWORD addrtype, + [in] DWORD props, + [out] IMimeEnumAddressTypes **types); + + HRESULT Delete( + [in] HADDRESS hAddress); + + HRESULT DeleteTypes( + [in] DWORD addrtype); + + HRESULT GetFormat( + [in] DWORD addrtype, + [in] ADDRESSFORMAT addrformat, + [out] char **format); + + HRESULT AppendRfc822( + [in] DWORD addrtype, + [in] ENCODINGTYPE encoding, + [in] const char *rfcaddr); + + HRESULT ParseRfc822( + [in] DWORD addrtype, + [in] ENCODINGTYPE encoding, + [in] const char *rfcaddr, + [in,out] ADDRESSLIST *list); + + HRESULT Clone( + [out] IMimeAddressTable **table); + + HRESULT BindToObject( + [in] REFIID riid, + [out, iid_is(riid)] void **obj); + } + + [ + uuid(ee519f11-851a-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeWebDocument : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(c558834c-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeBody : IMimePropertySet + { + typedef [unique] IMimeBody *LPMIMEBODY; + + typedef enum tagIMSGBODYTYPE + { + IBT_SECURE, + IBT_ATTACHMENT, + IBT_EMPTY, + IBT_CSETTAGGED, + IBT_AUTOATTACH, + } IMSGBODYTYPE; + + typedef struct tagBODYOFFSETS + { + DWORD cbBoundaryStart; + DWORD cbHeaderStart; + DWORD cbBodyStart; + DWORD cbBodyEnd; + } BODYOFFSETS, *LPBODYOFFSETS; + + typedef struct tagTRANSMITINFO + { + ENCODINGTYPE ietCurrent; + ENCODINGTYPE ietXmitMime; + ENCODINGTYPE ietXmit822; + ULONG cbLongestLine; + ULONG cExtended; + ULONG ulPercentExt; + ULONG cbSize; + ULONG cLines; + } TRANSMITINFO, *LPTRANSMITINFO; + + HRESULT IsType( + [in] IMSGBODYTYPE bodytype); + + HRESULT SetDisplayName( + [in] LPCSTR pszDisplay); + + HRESULT GetDisplayName( + [out] LPSTR *ppszDisplay); + + HRESULT GetOffsets( + [out] LPBODYOFFSETS pOffsets); + + HRESULT GetCurrentEncoding( + [out] ENCODINGTYPE *pietEncoding); + + HRESULT SetCurrentEncoding( + [in] ENCODINGTYPE ietEncoding); + + HRESULT GetEstimatedSize( + [in] ENCODINGTYPE ietEncoding, + [out] ULONG *pcbSize); + + HRESULT GetDataHere( + [in] ENCODINGTYPE ietEncoding, + [in] IStream *pStream); + + HRESULT GetData( + [in] ENCODINGTYPE ietEncoding, + [out] IStream **ppStream); + + HRESULT SetData( + [in] ENCODINGTYPE ietEncoding, + [in,unique] LPCSTR pszPriType, + [in,unique] LPCSTR pszSubType, + [in] REFIID riid, + [in,iid_is(riid)] LPVOID pvObject); + + HRESULT EmptyData(void); + + HRESULT CopyTo( + [in] IMimeBody *pBody); + + HRESULT GetTransmitInfo( + [in,out] LPTRANSMITINFO pTransmitInfo); + + HRESULT SaveToFile( + [in] ENCODINGTYPE ietEncoding, + [in] LPCSTR pszFilePath); + + HRESULT GetHandle( + [out] LPHBODY phBody); + + } + + [ + uuid(fd853cd4-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeMessageTree : IPersistStreamInit + { + typedef [unique] IMimeMessageTree *LPMIMEMESSAGETREE; + + const HBODY HBODY_ROOT = (HBODY)-1; + + typedef enum tagBODYLOCATION + { + IBL_ROOT, + IBL_PARENT, + IBL_FIRST, + IBL_LAST, + IBL_NEXT, + IBL_PREVIOUS, + } BODYLOCATION; + + typedef struct tagFINDBODY + { + LPSTR pszPriType; + LPSTR pszSubType; + DWORD dwReserved; + } FINDBODY, *LPFINDBODY; + + HRESULT GetMessageSource( + [out] IStream **ppStream, + [in] DWORD dwFlags); + + HRESULT GetMessageSize( + [out] ULONG *pcbSize, + [in] DWORD dwFlags); + + HRESULT LoadOffsetTable( + [in] IStream *pStream); + + HRESULT SaveOffsetTable( + [in] IStream *pStream, + [in] DWORD dwFlags); + + HRESULT GetFlags( + [out] DWORD *pdwFlags); + + HRESULT Commit( + [in] DWORD dwFlags); + + HRESULT HandsOffStorage(); + + HRESULT BindToObject( + [in] const HBODY hBody, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObject); + + HRESULT SaveBody( + [in] HBODY hBody, + [in] DWORD dwFlags, + [in] IStream *pStream); + + HRESULT InsertBody( + [in] BODYLOCATION location, + [in] HBODY hPivot, + [out] LPHBODY phBody); + + HRESULT GetBody( + [in] BODYLOCATION location, + [in] HBODY hPivot, + [out] LPHBODY phBody); + + HRESULT DeleteBody( + [in] HBODY hBody, + [in] DWORD dwFlags); + + HRESULT MoveBody( + [in] HBODY hBody, + [in] BODYLOCATION location); + + HRESULT CountBodies( + [in] HBODY hParent, + [in] boolean fRecurse, + [out] ULONG *pcBodies); + + HRESULT FindFirst( + [in, out] LPFINDBODY pFindBody, + [out] LPHBODY phBody); + + HRESULT FindNext( + [in, out] LPFINDBODY pFindBody, + [out] LPHBODY phBody); + + HRESULT ResolveURL( + [in] HBODY hRelated, + [in] LPCSTR pszBase, + [in] LPCSTR pszURL, + [in] DWORD dwFlags, + [out] LPHBODY phBody); + + HRESULT ToMultipart( + [in] HBODY hBody, + [in] LPCSTR pszSubType, + [out] LPHBODY phMultipart); + + HRESULT GetBodyOffsets( + [in] HBODY hBody, + [in, out] LPBODYOFFSETS pOffsets); + + HRESULT GetCharset( + [out] LPHCHARSET phCharset); + + HRESULT SetCharset( + [in] HCHARSET hCharset, + [in] CSETAPPLYTYPE applytype); + + HRESULT IsBodyType( + [in] HBODY hBody, + [in] IMSGBODYTYPE bodytype); + + HRESULT IsContentType( + [in] HBODY hBody, + [in] LPCSTR pszPriType, + [in] LPCSTR pszSubType); + + HRESULT QueryBodyProp( + [in] HBODY hBody, + [in] LPCSTR pszName, + [in] LPCSTR pszCriteria, + [in] boolean fSubString, + [in] boolean fCaseSensitive); + + HRESULT GetBodyProp( + [in] HBODY hBody, + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in, out] LPPROPVARIANT pValue); + + HRESULT SetBodyProp( + [in] HBODY hBody, + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in] LPCPROPVARIANT pValue); + + HRESULT DeleteBodyProp( + [in] HBODY hBody, + [in] LPCSTR pszName); + + HRESULT SetOption( + [in] const TYPEDID oid, + [in] LPCPROPVARIANT pValue); + + HRESULT GetOption( + [in] const TYPEDID oid, + [in, out] LPPROPVARIANT pValue); + } + + [ + uuid(fd853cd5-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeMessage : IMimeMessageTree + { + typedef [unique] IMimeMessage *LPMIMEMESSAGE; + + typedef DWORD TEXTTYPE; + + typedef enum tagIMSGFLAGS + { + IMF_ATTACHMENTS = 0x00000001, + IMF_MULTIPART = 0x00000002, + IMF_SUBMULTIPART = 0x00000004, + IMF_MIME = 0x00000008, + IMF_HTML = 0x00000010, + IMF_PLAIN = 0x00000020, + IMF_PARTIAL = 0x00000040, + IMF_SIGNED = 0x00000080, + IMF_ENCRYPTED = 0x00000100, + IMF_TNEF = 0x00000200, + IMF_MHTML = 0x00000400, + IMF_SECURE = 0x00000800, + IMF_TEXT = 0x00001000, + IMF_CSETTAGGED = 0x00002000, + IMF_NEWS = 0x00004000, + IMF_VOICEMAIL = 0x00008000, + IMF_HASVCARD = 0x00010000, + IMF_RFC1154 = 0x00020000, + } IMSGFLAGS; + + typedef enum tagIMSGPRIORITY + { + IMSG_PRI_LOW = 5, + IMSG_PRI_NORMAL = 3, + IMSG_PRI_HIGH = 1, + } IMSGPRIORITY; + + cpp_quote("#define WPF_HTML 0x00000001") + cpp_quote("#define WPF_AUTOINLINE 0x00000002") + cpp_quote("#define WPF_SLIDESHOW 0x00000004") + cpp_quote("#define WPF_ATTACHLINKS 0x00000008") + cpp_quote("#define WPF_IMAGESONLY 0x00000010") + cpp_quote("#define WPF_NOMETACHARSET 0x00000020") + + typedef struct tagWEPAGEOPTIONS + { + DWORD cbSize; + DWORD dwFlags; + DWORD dwDelay; + WCHAR wchQuote; + } WEBPAGEOPTIONS, *LPWEBPAGEOPTIONS; + + cpp_quote("#define TXT_PLAIN 1") + cpp_quote("#define TXT_HTML 2") + + HRESULT CreateWebPage( + [in] IStream *pRootStm, + [in] LPWEBPAGEOPTIONS pOptions, + [in] IMimeMessageCallback *pCallback, + [out] IMoniker **ppMoniker); + + HRESULT GetProp( + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in,out] LPPROPVARIANT pValue); + + HRESULT SetProp( + [in] LPCSTR pszName, + [in] DWORD dwFlags, + [in] LPCPROPVARIANT pValue); + + HRESULT DeleteProp( + [in] LPCSTR pszName); + + HRESULT QueryProp( + [in] LPCSTR pszName, + [in] LPCSTR pszCriteria, + [in] boolean fSubString, + [in] boolean fCaseSensitive); + + HRESULT GetTextBody( + [in] DWORD dwTxtType, + [in] ENCODINGTYPE ietEncoding, + [out] IStream **pStream, + [out] LPHBODY phBody); + + HRESULT SetTextBody( + [in] DWORD dwTxtType, + [in] ENCODINGTYPE ietEncoding, + [in] HBODY hAlternative, + [in] IStream *pStream, + [out] LPHBODY phBody); + + HRESULT AttachObject( + [in] REFIID riid, + [in, iid_is(riid)] void *pvObject, + [out] LPHBODY phBody); + + HRESULT AttachFile( + [in] LPCSTR pszFilePath, + [in] IStream *pstmFile, + [out] LPHBODY phBody); + + HRESULT AttachURL( + [in] LPCSTR pszBase, + [in] LPCSTR pszURL, + [in] DWORD dwFlags, + [in] IStream *pstmURL, + [out] LPSTR *ppszCIDURL, + [out] LPHBODY phBody); + + HRESULT GetAttachments( + [out] ULONG *pcAttach, + [out] LPHBODY *pprghAttach); + + HRESULT GetAddressTable( + [out] IMimeAddressTable **ppTable); + + HRESULT GetSender( + [in, out] LPADDRESSPROPS pAddress); + + HRESULT GetAddressTypes( + [in] DWORD dwAdrTypes, + [in] DWORD dwProps, + [in, out] LPADDRESSLIST pList); + + HRESULT GetAddressFormat( + [in] DWORD dwAdrTypes, + [in] ADDRESSFORMAT format, + [out] LPSTR *ppszFormat); + + HRESULT EnumAddressTypes( + [in] DWORD dwAdrTypes, + [in] DWORD dwProps, + [out] IMimeEnumAddressTypes **ppEnum); + + HRESULT SplitMessage( + [in] ULONG cbMaxPart, + [out] IMimeMessageParts **ppParts); + + HRESULT GetRootMoniker( + [out] IMoniker **ppMoniker); + } + + [ + uuid(761aa741-7bda-11d1-8aa9-00c04fb951f3), + object + ] + interface IMimeMessageCallback : IUnknown + { + HRESULT OnWebPageSplitter( + [in] DWORD cInlined, + [in] IStream *ppStream); + } + + [ + uuid(de4ad8da-555f-11d1-8dd0-00c04fb951f9), + object + ] + interface IPersistMime : IPersist + { + /* FIXME: fill this in */ + } + + [ + uuid(c558834f-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeMessageParts : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(c558834d-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeEnumHeaderRows : IUnknown + { + typedef struct tagENUMHEADERROW + { + HHEADERROW hRow; + LPSTR pszHeader; + LPSTR pszData; + ULONG cchData; + DWORD_PTR dwReserved; + } ENUMHEADERROW, *LPENUMHEADERROW; + + /* FIXME: fill this in */ + } + + [ + uuid(fd853cee-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeEnumProperties : IUnknown + { + typedef [unique] IMimeEnumProperties *LPMIMEENUMPROPERTIES; + + typedef struct tagENUMPROPERTY + { + LPSTR pszName; + HHEADERROW hRow; + DWORD dwPropId; + } ENUMPROPERTY, *LPENUMPROPERTY; + + HRESULT Next( + [in] ULONG cFetch, + [in, out] LPENUMPROPERTY prgProp, + [out] ULONG *pcFetched); + + HRESULT Skip( + [in] ULONG cItems); + + HRESULT Reset(void); + + HRESULT Clone( + [out] IMimeEnumProperties **ppEnum); + + HRESULT Count( + [out] ULONG *pcItems); + + } + + [ + uuid(c5588354-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeEnumAddressTypes : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(c5588350-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeEnumMessageParts : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(64577981-86d7-11d1-bdfc-00c04fa31009), + object + ] + interface IHashTable : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(c5588351-7f86-11d0-8252-00c04fd85ab4), + object + ] + interface IMimeAllocator : IMalloc + { + typedef [unique] IMimeAllocator *LPMIMEALLOCATOR; + + HRESULT FreeParamInfoArray( + [in] ULONG cParams, + [in] LPMIMEPARAMINFO prgParam, + [in] boolean fFreeArray); + + HRESULT FreeAddressList( + [in,out] LPADDRESSLIST pList); + + HRESULT FreeAddressProps( + [in,out] LPADDRESSPROPS pAddress); + + HRESULT ReleaseObjects( + [in] ULONG cObjects, + [in] IUnknown **prgpUnknown, + [in] boolean fFreeArray); + + HRESULT FreeEnumHeaderRowArray( + [in] ULONG cRows, + [in] LPENUMHEADERROW prgRow, + [in] boolean fFreeArray); + + HRESULT FreeEnumPropertyArray( + [in] ULONG cProps, + [in] LPENUMPROPERTY prgProp, + [in] boolean fFreeArray); + + HRESULT FreeThumbprint( + [in] THUMBBLOB *pthumbprint); + + HRESULT PropVariantClear( + [in] LPPROPVARIANT pProp); + + } + + [ + uuid(feceaffd-c441-11d1-960e-00c04fbd7c09), + object + ] + interface IMimeObjResolver : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(b0d17fc2-7bc4-11d1-bdfa-00c04fa31009), + object + ] + interface IFontCache : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(b0d17fc5-7bc4-11d1-bdfa-00c04fa31009), + object + ] + interface IFontCacheNotify : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(70183210-7b36-11d2-8c12-00c04fa31009), + object + ] + interface IMimeEditTag : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(d09ee528-7b38-11d2-8c12-00c04fa31009), + object + ] + interface IMimeEditTagCollection : IUnknown + { + /* FIXME: fill this in */ + } + + [ + uuid(ba715ae0-a740-11d2-8b22-0080c76b34c6), + local + ] + interface IMimeSecurityCallback : IUnknown + { + /* FIXME: fill this in */ + + cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_UNKNOWN 0") + cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_KEYTRANS 1") + cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_KEYAGREE 2") + cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_MAIL_LIST 3") + + cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_CERTIFICATE 0") + cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_KEYTRANS 1") + cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_PROVIDER 2") + cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_EPHEMERAL_KEYAGREE 3") + cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_STATIC_KEYAGREE 4") + + cpp_quote("#define CMS_RECIPIENT_INFO_KEYID_CERTIFICATE 0") + cpp_quote("#define CMS_RECIPIENT_INFO_KEYID_ISSUERSERIAL 1") + cpp_quote("#define CMS_RECIPIENT_INFO_KEYID_KEY_ID 2") + + } +} + +cpp_quote("#ifdef __cplusplus") +cpp_quote(" extern \"C\" {") +cpp_quote("#endif") + +cpp_quote("") +cpp_quote("HRESULT WINAPI MimeOleSetCompatMode(DWORD);") +cpp_quote("HRESULT WINAPI MimeOleContentTypeFromUrl(LPCSTR,LPCSTR,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleParseMhtmlUrl(LPSTR,LPSTR*,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleObjectFromUrl(LPCSTR,BOOL,REFIID,LPVOID*,IUnknown**);") +cpp_quote("HRESULT WINAPI MimeOleObjectFromMoniker(BINDF,IMoniker*,IBindCtx*,REFIID,LPVOID*,IMoniker**);") +cpp_quote("HRESULT WINAPI MimeOleCombineURL(LPCSTR,ULONG,LPCSTR,ULONG,BOOL,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleGetSubjectFileName(IMimePropertySet*,ULONG*,ULONG*,LPSTR,ULONG);") +cpp_quote("HRESULT WINAPI MimeOleCreateWebDocument(LPCSTR,LPCSTR,IMimeWebDocument**);") +cpp_quote("HRESULT WINAPI MimeOleGetRelatedSection(IMimeMessageTree*,boolean,LPHBODY,boolean*);") +cpp_quote("HRESULT WINAPI MimeOleGetMixedSection(IMimeMessageTree*,boolean,LPHBODY,boolean*);") +cpp_quote("HRESULT WINAPI MimeOleGetAlternativeSection(IMimeMessageTree*,LPHBODY,boolean*);") +cpp_quote("HRESULT WINAPI MimeOleGenerateCID(LPSTR,ULONG,boolean);") +cpp_quote("HRESULT WINAPI MimeOleGenerateMID(LPSTR,ULONG,boolean);") +cpp_quote("HRESULT WINAPI MimeOleCreateByteStream(IStream**);") +cpp_quote("HRESULT WINAPI MimeOlGetPropertySchema(IMimePropertySchema**);") +cpp_quote("HRESULT WINAPI MimeOleQueryString(LPCSTR,LPCSTR,boolean,boolean);") +cpp_quote("HRESULT WINAPI MimeOleGetPropA(IMimePropertySet*,LPCSTR,DWORD,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleSetPropA(IMimePropertySet*,LPCSTR,DWORD,LPCSTR);") +cpp_quote("HRESULT WINAPI MimeOleGetPropW(IMimePropertySet*,LPCSTR,DWORD,LPWSTR*);") +cpp_quote("HRESULT WINAPI MimeOleSetPropW(IMimePropertySet*,LPCSTR,DWORD,LPCWSTR);") +cpp_quote("HRESULT WINAPI MimeOleGetBodyPropA(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleSetBodyPropA(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPCSTR);") +cpp_quote("HRESULT WINAPI MimeOleGetBodyPropW(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPWSTR*);") +cpp_quote("HRESULT WINAPI MimeOleSetBodyPropW(IMimeMessageTree*,HBODY,LPCSTR,DWORD,LPCWSTR);") +cpp_quote("HRESULT WINAPI MimeOleCreateHeaderTable(IMimeHeaderTable**);") +cpp_quote("HRESULT WINAPI MimeOleVariantFree(LPPROPVARIANT);") +cpp_quote("HRESULT WINAPI MimeOleVariantCopy(LPPROPVARIANT,LPPROPVARIANT);") +cpp_quote("HRESULT WINAPI MimeOleGetExtClassId(LPCSTR,LPCLSID);") +cpp_quote("HRESULT WINAPI MimeOleEncodeHeader(HCHARSET,LPPROPVARIANT,LPSTR*,LPRFC1522INFO);") +cpp_quote("HRESULT WINAPI MimeOleDecodeHeader(HCHARSET,LPCSTR,LPPROPVARIANT,LPRFC1522INFO);") +cpp_quote("HRESULT WINAPI MimeOleRfc1522Decode(LPCSTR,LPSTR,ULONG,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleRfc1522Encode(LPCSTR,HCHARSET,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleGetInternat(IMimeInternational**);") +cpp_quote("HRESULT WINAPI MimeOleFindCharset(LPCSTR,LPHCHARSET);") +cpp_quote("HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET,LPINETCSETINFO);") +cpp_quote("HRESULT WINAPI MimeOleGetCodePageInfo(HCHARSET,LPCODEPAGEINFO);") +cpp_quote("HRESULT WINAPI MimeOleGetDefaultCharset(LPHCHARSET);") +cpp_quote("HRESULT WINAPI MimeOleSetDefaultCharset(HCHARSET);") +cpp_quote("HRESULT WINAPI MimeOleGetCodePageCharset(CODEPAGEID,CHARSETTYPE,LPHCHARSET);") +cpp_quote("HRESULT WINAPI MimeOleCreateVirtualStream(IStream**);") +cpp_quote("HRESULT WINAPI MimeOleOpenFileStream(LPCSTR,DWORD,DWORD,IStream**);") +cpp_quote("HRESULT WINAPI MimeOleIsTnefStream(IStream*);") +cpp_quote("HRESULT WINAPI MimeOleGenerateFileName(LPCSTR,LPCSTR,LPCSTR,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleGetFileExtension(LPCSTR,LPSTR,ULONG);") +cpp_quote("HRESULT WINAPI MimeOleCreateSecurity(IMimeSecurity**);") +cpp_quote("HRESULT WINAPI MimeOleInetDateToFileTime(LPCSTR,LPFILETIME);") +cpp_quote("HRESULT WINAPI MimeOleFileTimeToInetDate(LPFILETIME,LPSTR,ULONG);") +cpp_quote("HRESULT WINAPI MimeOleCreateMessageParts(IMimeMessageParts**);") +cpp_quote("HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator**);") +cpp_quote("HRESULT WINAPI MimeOleParseRfc822Address(DWORD,ENCODINGTYPE,LPCSTR,LPADDRESSLIST);") +cpp_quote("HRESULT WINAPI MimeOleCreateMessage(IUnknown*,IMimeMessage**);") +cpp_quote("HRESULT WINAPI MimeOleMergePartialHeaders(IStream*,IStream*);") +cpp_quote("HRESULT WINAPI MimeOleEscapeString(CODEPAGEID,LPCSTR,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleGetExtContentType(LPCSTR,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleGetContentTypeExt(LPCSTR,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleGetFileInfo(LPSTR,LPSTR*,LPSTR*,LPSTR*,LPSTR*,LPSTR*);") +cpp_quote("HRESULT WINAPI MimeOleCreateBody(IMimeBody**);") +cpp_quote("HRESULT WINAPI MimeOleCreatePropertySet(IUnknown*,IMimePropertySet**);") +cpp_quote("HRESULT WINAPI MimeOleCreateMessageTree(IUnknown*,IMimeMessageTree**);") +cpp_quote("HRESULT WINAPI MimeOleGetCertsFromThumbprints(THUMBBLOB*,X509CERTRESULT*,const HCERTSTORE*,DWORD);") +cpp_quote("HRESULT WINAPI MimeOleSplitMessage(IMimeMessage*,ULONG,IMimeMessageParts**);") +cpp_quote("HRESULT WINAPI MimeOleClearDirtyTree(IMimeMessageTree*);") +cpp_quote("HRESULT WINAPI MimeOleConvertEnrichedToHTML(CODEPAGEID,IStream*,IStream*);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapsToDlg(LPBYTE,DWORD,DWORD,PCX509CERT*,HWND,DWORD,DWORD,DWORD);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapsFromDlg(HWND,DWORD,DWORD,DWORD,LPBYTE,DWORD*);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapInit(LPBYTE,DWORD,LPVOID*);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapAddSMimeCap(LPBYTE,DWORD,LPVOID);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapAddCert(LPBYTE,DWORD,BOOL,LPVOID);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapGetEncAlg(LPVOID,LPBYTE,DWORD*,DWORD*);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapGetHashAlg(LPVOID,LPBYTE,DWORD*,DWORD*);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapRelease(LPVOID);") +cpp_quote("HRESULT WINAPI MimeOleAlgNameFromSMimeap(LPBYTE,DWORD,LPCSTR*);") +cpp_quote("HRESULT WINAPI MimeOleAlgStrengthFromSMimeCap(LPBYTE,DWORD,BOOL,DWORD*);") +cpp_quote("HRESULT WINAPI MimeOleSMimeCapsFull(LPVOID,BOOL,BOOL,LPBYTE,DWORD*);") +cpp_quote("HRESULT WINAPI MimeOleCreateHashTable(DWORD,BOOL,IHashTable**);") +cpp_quote("HRESULT WINAPI MimeOleStripHeaders(IMimeMessage*,HBODY,LPCSTR,LPCSTR,IStream**);") + +cpp_quote("HRESULT WINAPI MimeEditViewSource(HWND,IMimeMessage*);") +cpp_quote("HRESULT WINAPI MimeEditIsSafeToRun(HWND,LPCSTR);") +cpp_quote("HRESULT WINAPI MimeEditVerifyTrust(HWND,LPCSTR,LPCSTR);") +cpp_quote("HRESULT WINAPI MimeEditCreateMimeDocument(IUnknown*,IMimeMessage*,DWORD,IMimeMessage**);") +cpp_quote("HRESULT WINAPI MimeEditGetBackgroundImageUrl(IUnknown*,BSTR*);") +cpp_quote("HRESULT WINAPI MimeEditDocumentFromStream(IStream*,REFIID,void**);") + +cpp_quote("HRESULT WINAPI MimeOleGetPropertySchema(IMimePropertySchema**);") +cpp_quote("HRESULT WINAPI MimeGetAddressFormatW(REFIID,void*,DWORD,ADDRESSFORMAT,WCHAR**);") +cpp_quote("#ifdef __cplusplus") +cpp_quote("}") +cpp_quote("#endif") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/minmax.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/minmax.h new file mode 100644 index 0000000..07fd056 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/minmax.h @@ -0,0 +1,31 @@ +/* + * min/max macros + * + * Copyright 2001 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MINMAX_H +#define __WINE_MINMAX_H + +#ifndef max +#define max(a,b) (((a) > (b)) ? (a) : (b)) +#endif +#ifndef min +#define min(a,b) (((a) < (b)) ? (a) : (b)) +#endif + +#endif /* __WINE_MINMAX_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mlang.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mlang.h new file mode 100644 index 0000000..557e5c0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mlang.h @@ -0,0 +1,2812 @@ +/*** Autogenerated by WIDL 2.18 from mlang.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mlang_h__ +#define __mlang_h__ + +/* Forward declarations */ + +#ifndef __IMLangCodePages_FWD_DEFINED__ +#define __IMLangCodePages_FWD_DEFINED__ +typedef interface IMLangCodePages IMLangCodePages; +#ifdef __cplusplus +interface IMLangCodePages; +#endif /* __cplusplus */ +#endif + +#ifndef __IMLangFontLink_FWD_DEFINED__ +#define __IMLangFontLink_FWD_DEFINED__ +typedef interface IMLangFontLink IMLangFontLink; +#ifdef __cplusplus +interface IMLangFontLink; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumScript_FWD_DEFINED__ +#define __IEnumScript_FWD_DEFINED__ +typedef interface IEnumScript IEnumScript; +#ifdef __cplusplus +interface IEnumScript; +#endif /* __cplusplus */ +#endif + +#ifndef __IMLangFontLink2_FWD_DEFINED__ +#define __IMLangFontLink2_FWD_DEFINED__ +typedef interface IMLangFontLink2 IMLangFontLink2; +#ifdef __cplusplus +interface IMLangFontLink2; +#endif /* __cplusplus */ +#endif + +#ifndef __IMLangString_FWD_DEFINED__ +#define __IMLangString_FWD_DEFINED__ +typedef interface IMLangString IMLangString; +#ifdef __cplusplus +interface IMLangString; +#endif /* __cplusplus */ +#endif + +#ifndef __IMLangLineBreakConsole_FWD_DEFINED__ +#define __IMLangLineBreakConsole_FWD_DEFINED__ +typedef interface IMLangLineBreakConsole IMLangLineBreakConsole; +#ifdef __cplusplus +interface IMLangLineBreakConsole; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumCodePage_FWD_DEFINED__ +#define __IEnumCodePage_FWD_DEFINED__ +typedef interface IEnumCodePage IEnumCodePage; +#ifdef __cplusplus +interface IEnumCodePage; +#endif /* __cplusplus */ +#endif + +#ifndef __IMLangConvertCharset_FWD_DEFINED__ +#define __IMLangConvertCharset_FWD_DEFINED__ +typedef interface IMLangConvertCharset IMLangConvertCharset; +#ifdef __cplusplus +interface IMLangConvertCharset; +#endif /* __cplusplus */ +#endif + +#ifndef __CMLangConvertCharset_FWD_DEFINED__ +#define __CMLangConvertCharset_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CMLangConvertCharset CMLangConvertCharset; +#else +typedef struct CMLangConvertCharset CMLangConvertCharset; +#endif /* defined __cplusplus */ +#endif /* defined __CMLangConvertCharset_FWD_DEFINED__ */ + +#ifndef __IEnumRfc1766_FWD_DEFINED__ +#define __IEnumRfc1766_FWD_DEFINED__ +typedef interface IEnumRfc1766 IEnumRfc1766; +#ifdef __cplusplus +interface IEnumRfc1766; +#endif /* __cplusplus */ +#endif + +#ifndef __IMultiLanguage_FWD_DEFINED__ +#define __IMultiLanguage_FWD_DEFINED__ +typedef interface IMultiLanguage IMultiLanguage; +#ifdef __cplusplus +interface IMultiLanguage; +#endif /* __cplusplus */ +#endif + +#ifndef __IMultiLanguage2_FWD_DEFINED__ +#define __IMultiLanguage2_FWD_DEFINED__ +typedef interface IMultiLanguage2 IMultiLanguage2; +#ifdef __cplusplus +interface IMultiLanguage2; +#endif /* __cplusplus */ +#endif + +#ifndef __IMultiLanguage3_FWD_DEFINED__ +#define __IMultiLanguage3_FWD_DEFINED__ +typedef interface IMultiLanguage3 IMultiLanguage3; +#ifdef __cplusplus +interface IMultiLanguage3; +#endif /* __cplusplus */ +#endif + +#ifndef __CMultiLanguage_FWD_DEFINED__ +#define __CMultiLanguage_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CMultiLanguage CMultiLanguage; +#else +typedef struct CMultiLanguage CMultiLanguage; +#endif /* defined __cplusplus */ +#endif /* defined __CMultiLanguage_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IStream_FWD_DEFINED__ +#define __IStream_FWD_DEFINED__ +typedef interface IStream IStream; +#ifdef __cplusplus +interface IStream; +#endif /* __cplusplus */ +#endif + +#define CPIOD_PEEK 0x40000000 +#define CPIOD_FORCE_PROMPT 0x80000000 +/***************************************************************************** + * IMLangCodePages interface + */ +#ifndef __IMLangCodePages_INTERFACE_DEFINED__ +#define __IMLangCodePages_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMLangCodePages, 0x359f3443, 0xbd4a, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("359f3443-bd4a-11d0-b188-00aa0038c969") +IMLangCodePages : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCharCodePages( + WCHAR chSrc, + DWORD *pdwCodePages) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStrCodePages( + const WCHAR *pszSrc, + LONG cchSrc, + DWORD dwPriorityCodePages, + DWORD *pdwCodePages, + LONG *pcchCodePages) = 0; + + virtual HRESULT STDMETHODCALLTYPE CodePageToCodePages( + UINT uCodePage, + DWORD *pdwCodePages) = 0; + + virtual HRESULT STDMETHODCALLTYPE CodePagesToCodePage( + DWORD dwCodePages, + UINT uDefaultCodePage, + UINT *puCodePage) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMLangCodePages, 0x359f3443, 0xbd4a, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69) +#endif +#else +typedef struct IMLangCodePagesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMLangCodePages *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMLangCodePages *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMLangCodePages *This); + + /*** IMLangCodePages methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCharCodePages)( + IMLangCodePages *This, + WCHAR chSrc, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *GetStrCodePages)( + IMLangCodePages *This, + const WCHAR *pszSrc, + LONG cchSrc, + DWORD dwPriorityCodePages, + DWORD *pdwCodePages, + LONG *pcchCodePages); + + HRESULT (STDMETHODCALLTYPE *CodePageToCodePages)( + IMLangCodePages *This, + UINT uCodePage, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *CodePagesToCodePage)( + IMLangCodePages *This, + DWORD dwCodePages, + UINT uDefaultCodePage, + UINT *puCodePage); + + END_INTERFACE +} IMLangCodePagesVtbl; + +interface IMLangCodePages { + CONST_VTBL IMLangCodePagesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMLangCodePages_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMLangCodePages_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMLangCodePages_Release(This) (This)->lpVtbl->Release(This) +/*** IMLangCodePages methods ***/ +#define IMLangCodePages_GetCharCodePages(This,chSrc,pdwCodePages) (This)->lpVtbl->GetCharCodePages(This,chSrc,pdwCodePages) +#define IMLangCodePages_GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages) (This)->lpVtbl->GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages) +#define IMLangCodePages_CodePageToCodePages(This,uCodePage,pdwCodePages) (This)->lpVtbl->CodePageToCodePages(This,uCodePage,pdwCodePages) +#define IMLangCodePages_CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage) (This)->lpVtbl->CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMLangCodePages_QueryInterface(IMLangCodePages* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMLangCodePages_AddRef(IMLangCodePages* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMLangCodePages_Release(IMLangCodePages* This) { + return This->lpVtbl->Release(This); +} +/*** IMLangCodePages methods ***/ +static FORCEINLINE HRESULT IMLangCodePages_GetCharCodePages(IMLangCodePages* This,WCHAR chSrc,DWORD *pdwCodePages) { + return This->lpVtbl->GetCharCodePages(This,chSrc,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangCodePages_GetStrCodePages(IMLangCodePages* This,const WCHAR *pszSrc,LONG cchSrc,DWORD dwPriorityCodePages,DWORD *pdwCodePages,LONG *pcchCodePages) { + return This->lpVtbl->GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages); +} +static FORCEINLINE HRESULT IMLangCodePages_CodePageToCodePages(IMLangCodePages* This,UINT uCodePage,DWORD *pdwCodePages) { + return This->lpVtbl->CodePageToCodePages(This,uCodePage,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangCodePages_CodePagesToCodePage(IMLangCodePages* This,DWORD dwCodePages,UINT uDefaultCodePage,UINT *puCodePage) { + return This->lpVtbl->CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage); +} +#endif +#endif + +#endif + + +#endif /* __IMLangCodePages_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMLangFontLink interface + */ +#ifndef __IMLangFontLink_INTERFACE_DEFINED__ +#define __IMLangFontLink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMLangFontLink, 0x359f3441, 0xbd4a, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("359f3441-bd4a-11d0-b188-00aa0038c969") +IMLangFontLink : public IMLangCodePages +{ + virtual HRESULT STDMETHODCALLTYPE GetFontCodePages( + HDC hDC, + HFONT hFont, + DWORD *pdwCodePages) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapFont( + HDC hDC, + DWORD dwCodePages, + HFONT hSrcFont, + HFONT *phDestFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseFont( + HFONT hFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetFontMapping( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMLangFontLink, 0x359f3441, 0xbd4a, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69) +#endif +#else +typedef struct IMLangFontLinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMLangFontLink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMLangFontLink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMLangFontLink *This); + + /*** IMLangCodePages methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCharCodePages)( + IMLangFontLink *This, + WCHAR chSrc, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *GetStrCodePages)( + IMLangFontLink *This, + const WCHAR *pszSrc, + LONG cchSrc, + DWORD dwPriorityCodePages, + DWORD *pdwCodePages, + LONG *pcchCodePages); + + HRESULT (STDMETHODCALLTYPE *CodePageToCodePages)( + IMLangFontLink *This, + UINT uCodePage, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *CodePagesToCodePage)( + IMLangFontLink *This, + DWORD dwCodePages, + UINT uDefaultCodePage, + UINT *puCodePage); + + /*** IMLangFontLink methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontCodePages)( + IMLangFontLink *This, + HDC hDC, + HFONT hFont, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *MapFont)( + IMLangFontLink *This, + HDC hDC, + DWORD dwCodePages, + HFONT hSrcFont, + HFONT *phDestFont); + + HRESULT (STDMETHODCALLTYPE *ReleaseFont)( + IMLangFontLink *This, + HFONT hFont); + + HRESULT (STDMETHODCALLTYPE *ResetFontMapping)( + IMLangFontLink *This); + + END_INTERFACE +} IMLangFontLinkVtbl; + +interface IMLangFontLink { + CONST_VTBL IMLangFontLinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMLangFontLink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMLangFontLink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMLangFontLink_Release(This) (This)->lpVtbl->Release(This) +/*** IMLangCodePages methods ***/ +#define IMLangFontLink_GetCharCodePages(This,chSrc,pdwCodePages) (This)->lpVtbl->GetCharCodePages(This,chSrc,pdwCodePages) +#define IMLangFontLink_GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages) (This)->lpVtbl->GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages) +#define IMLangFontLink_CodePageToCodePages(This,uCodePage,pdwCodePages) (This)->lpVtbl->CodePageToCodePages(This,uCodePage,pdwCodePages) +#define IMLangFontLink_CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage) (This)->lpVtbl->CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage) +/*** IMLangFontLink methods ***/ +#define IMLangFontLink_GetFontCodePages(This,hDC,hFont,pdwCodePages) (This)->lpVtbl->GetFontCodePages(This,hDC,hFont,pdwCodePages) +#define IMLangFontLink_MapFont(This,hDC,dwCodePages,hSrcFont,phDestFont) (This)->lpVtbl->MapFont(This,hDC,dwCodePages,hSrcFont,phDestFont) +#define IMLangFontLink_ReleaseFont(This,hFont) (This)->lpVtbl->ReleaseFont(This,hFont) +#define IMLangFontLink_ResetFontMapping(This) (This)->lpVtbl->ResetFontMapping(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMLangFontLink_QueryInterface(IMLangFontLink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMLangFontLink_AddRef(IMLangFontLink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMLangFontLink_Release(IMLangFontLink* This) { + return This->lpVtbl->Release(This); +} +/*** IMLangCodePages methods ***/ +static FORCEINLINE HRESULT IMLangFontLink_GetCharCodePages(IMLangFontLink* This,WCHAR chSrc,DWORD *pdwCodePages) { + return This->lpVtbl->GetCharCodePages(This,chSrc,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink_GetStrCodePages(IMLangFontLink* This,const WCHAR *pszSrc,LONG cchSrc,DWORD dwPriorityCodePages,DWORD *pdwCodePages,LONG *pcchCodePages) { + return This->lpVtbl->GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink_CodePageToCodePages(IMLangFontLink* This,UINT uCodePage,DWORD *pdwCodePages) { + return This->lpVtbl->CodePageToCodePages(This,uCodePage,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink_CodePagesToCodePage(IMLangFontLink* This,DWORD dwCodePages,UINT uDefaultCodePage,UINT *puCodePage) { + return This->lpVtbl->CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage); +} +/*** IMLangFontLink methods ***/ +static FORCEINLINE HRESULT IMLangFontLink_GetFontCodePages(IMLangFontLink* This,HDC hDC,HFONT hFont,DWORD *pdwCodePages) { + return This->lpVtbl->GetFontCodePages(This,hDC,hFont,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink_MapFont(IMLangFontLink* This,HDC hDC,DWORD dwCodePages,HFONT hSrcFont,HFONT *phDestFont) { + return This->lpVtbl->MapFont(This,hDC,dwCodePages,hSrcFont,phDestFont); +} +static FORCEINLINE HRESULT IMLangFontLink_ReleaseFont(IMLangFontLink* This,HFONT hFont) { + return This->lpVtbl->ReleaseFont(This,hFont); +} +static FORCEINLINE HRESULT IMLangFontLink_ResetFontMapping(IMLangFontLink* This) { + return This->lpVtbl->ResetFontMapping(This); +} +#endif +#endif + +#endif + + +#endif /* __IMLangFontLink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumScript interface + */ +#ifndef __IEnumScript_INTERFACE_DEFINED__ +#define __IEnumScript_INTERFACE_DEFINED__ + +#define MAX_SCRIPT_NAME (48) + +#define MAX_MIMEFACE_NAME (32) + +typedef BYTE SCRIPT_ID; +typedef INT64 SCRIPT_IDS; +typedef enum tagSCRIPTCONTF { + sidDefault = 0, + sidMerge = sidDefault + 1, + sidAsciiSym = sidMerge + 1, + sidAsciiLatin = sidAsciiSym + 1, + sidLatin = sidAsciiLatin + 1, + sidGreek = sidLatin + 1, + sidCyrillic = sidGreek + 1, + sidArmenian = sidCyrillic + 1, + sidHebrew = sidArmenian + 1, + sidArabic = sidHebrew + 1, + sidDevanagari = sidArabic + 1, + sidBengali = sidDevanagari + 1, + sidGurmukhi = sidBengali + 1, + sidGujarati = sidGurmukhi + 1, + sidOriya = sidGujarati + 1, + sidTamil = sidOriya + 1, + sidTelugu = sidTamil + 1, + sidKannada = sidTelugu + 1, + sidMalayalam = sidKannada + 1, + sidThai = sidMalayalam + 1, + sidLao = sidThai + 1, + sidTibetan = sidLao + 1, + sidGeorgian = sidTibetan + 1, + sidHangul = sidGeorgian + 1, + sidKana = sidHangul + 1, + sidBopomofo = sidKana + 1, + sidHan = sidBopomofo + 1, + sidEthiopic = sidHan + 1, + sidCanSyllabic = sidEthiopic + 1, + sidCherokee = sidCanSyllabic + 1, + sidYi = sidCherokee + 1, + sidBraille = sidYi + 1, + sidRunic = sidBraille + 1, + sidOgham = sidRunic + 1, + sidSinhala = sidOgham + 1, + sidSyriac = sidSinhala + 1, + sidBurmese = sidSyriac + 1, + sidKhmer = sidBurmese + 1, + sidThaana = sidKhmer + 1, + sidMongolian = sidThaana + 1, + sidUserDefined = sidMongolian + 1, + sidLim = sidUserDefined + 1, + sidFEFirst = sidHangul, + sidFELast = sidHan +} SCRIPTCONTF; +typedef enum tagSCRIPTFONTCONTF { + SCRIPTCONTF_FIXED_FONT = 0x1, + SCRIPTCONTF_PROPORTIONAL_FONT = 0x2, + SCRIPTCONTF_SCRIPT_USER = 0x10000, + SCRIPTCONTF_SCRIPT_HIDE = 0x20000, + SCRIPTCONTF_SCRIPT_SYSTEM = 0x40000 +} SCRIPTFONTCONTF; +typedef struct tagSCRIPFONTINFO { + SCRIPT_IDS scripts; + WCHAR wszFont[32]; +} SCRIPTFONTINFO; +typedef struct tagSCRIPFONTINFO *PSCRIPTFONTINFO; +typedef struct tagSCRIPTINFO { + SCRIPT_ID ScriptId; + UINT uiCodePage; + WCHAR wszDescription[48]; + WCHAR wszFixedWidthFont[32]; + WCHAR wszProportionalFont[32]; +} SCRIPTINFO; +typedef struct tagSCRIPTINFO *PSCRIPTINFO; +DEFINE_GUID(IID_IEnumScript, 0xae5f1430, 0x388b, 0x11d2, 0x83,0x80, 0x00,0xc0,0x4f,0x8f,0x5d,0xa1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae5f1430-388b-11d2-8380-00c04f8f5da1") +IEnumScript : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumScript **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + PSCRIPTINFO rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumScript, 0xae5f1430, 0x388b, 0x11d2, 0x83,0x80, 0x00,0xc0,0x4f,0x8f,0x5d,0xa1) +#endif +#else +typedef struct IEnumScriptVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumScript *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumScript *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumScript *This); + + /*** IEnumScript methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumScript *This, + IEnumScript **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumScript *This, + ULONG celt, + PSCRIPTINFO rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumScript *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumScript *This, + ULONG celt); + + END_INTERFACE +} IEnumScriptVtbl; + +interface IEnumScript { + CONST_VTBL IEnumScriptVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumScript_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumScript_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumScript_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumScript methods ***/ +#define IEnumScript_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumScript_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumScript_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumScript_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumScript_QueryInterface(IEnumScript* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumScript_AddRef(IEnumScript* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumScript_Release(IEnumScript* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumScript methods ***/ +static FORCEINLINE HRESULT IEnumScript_Clone(IEnumScript* This,IEnumScript **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumScript_Next(IEnumScript* This,ULONG celt,PSCRIPTINFO rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumScript_Reset(IEnumScript* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumScript_Skip(IEnumScript* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumScript_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMLangFontLink2 interface + */ +#ifndef __IMLangFontLink2_INTERFACE_DEFINED__ +#define __IMLangFontLink2_INTERFACE_DEFINED__ + +typedef struct tagUNICODERANGE { + WCHAR wcFrom; + WCHAR wcTo; +} UNICODERANGE; +typedef IMLangFontLink2 *PMLANGFONTLINK2; +DEFINE_GUID(IID_IMLangFontLink2, 0xdccfc162, 0x2b38, 0x11d2, 0xb7,0xec, 0x00,0xc0,0x4f,0x8f,0x5d,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dccfc162-2b38-11d2-b7ec-00c04f8f5d9a") +IMLangFontLink2 : public IMLangCodePages +{ + virtual HRESULT STDMETHODCALLTYPE GetFontCodePages( + HDC hDC, + HFONT hFont, + DWORD *pdwCodePages) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseFont( + HFONT hFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetFontMapping( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapFont( + HDC hDC, + DWORD dwCodePages, + WCHAR chSrc, + HFONT *pFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFontUnicodeRanges( + HDC hDC, + UINT *puiRanges, + UNICODERANGE *pUranges) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptFontInfo( + SCRIPT_ID sid, + DWORD dwFlags, + UINT *puiFonts, + SCRIPTFONTINFO *pScriptFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE CodePageToScriptID( + UINT uiCodePage, + SCRIPT_ID *pSid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMLangFontLink2, 0xdccfc162, 0x2b38, 0x11d2, 0xb7,0xec, 0x00,0xc0,0x4f,0x8f,0x5d,0x9a) +#endif +#else +typedef struct IMLangFontLink2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMLangFontLink2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMLangFontLink2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMLangFontLink2 *This); + + /*** IMLangCodePages methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCharCodePages)( + IMLangFontLink2 *This, + WCHAR chSrc, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *GetStrCodePages)( + IMLangFontLink2 *This, + const WCHAR *pszSrc, + LONG cchSrc, + DWORD dwPriorityCodePages, + DWORD *pdwCodePages, + LONG *pcchCodePages); + + HRESULT (STDMETHODCALLTYPE *CodePageToCodePages)( + IMLangFontLink2 *This, + UINT uCodePage, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *CodePagesToCodePage)( + IMLangFontLink2 *This, + DWORD dwCodePages, + UINT uDefaultCodePage, + UINT *puCodePage); + + /*** IMLangFontLink2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFontCodePages)( + IMLangFontLink2 *This, + HDC hDC, + HFONT hFont, + DWORD *pdwCodePages); + + HRESULT (STDMETHODCALLTYPE *ReleaseFont)( + IMLangFontLink2 *This, + HFONT hFont); + + HRESULT (STDMETHODCALLTYPE *ResetFontMapping)( + IMLangFontLink2 *This); + + HRESULT (STDMETHODCALLTYPE *MapFont)( + IMLangFontLink2 *This, + HDC hDC, + DWORD dwCodePages, + WCHAR chSrc, + HFONT *pFont); + + HRESULT (STDMETHODCALLTYPE *GetFontUnicodeRanges)( + IMLangFontLink2 *This, + HDC hDC, + UINT *puiRanges, + UNICODERANGE *pUranges); + + HRESULT (STDMETHODCALLTYPE *GetScriptFontInfo)( + IMLangFontLink2 *This, + SCRIPT_ID sid, + DWORD dwFlags, + UINT *puiFonts, + SCRIPTFONTINFO *pScriptFont); + + HRESULT (STDMETHODCALLTYPE *CodePageToScriptID)( + IMLangFontLink2 *This, + UINT uiCodePage, + SCRIPT_ID *pSid); + + END_INTERFACE +} IMLangFontLink2Vtbl; + +interface IMLangFontLink2 { + CONST_VTBL IMLangFontLink2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMLangFontLink2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMLangFontLink2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMLangFontLink2_Release(This) (This)->lpVtbl->Release(This) +/*** IMLangCodePages methods ***/ +#define IMLangFontLink2_GetCharCodePages(This,chSrc,pdwCodePages) (This)->lpVtbl->GetCharCodePages(This,chSrc,pdwCodePages) +#define IMLangFontLink2_GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages) (This)->lpVtbl->GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages) +#define IMLangFontLink2_CodePageToCodePages(This,uCodePage,pdwCodePages) (This)->lpVtbl->CodePageToCodePages(This,uCodePage,pdwCodePages) +#define IMLangFontLink2_CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage) (This)->lpVtbl->CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage) +/*** IMLangFontLink2 methods ***/ +#define IMLangFontLink2_GetFontCodePages(This,hDC,hFont,pdwCodePages) (This)->lpVtbl->GetFontCodePages(This,hDC,hFont,pdwCodePages) +#define IMLangFontLink2_ReleaseFont(This,hFont) (This)->lpVtbl->ReleaseFont(This,hFont) +#define IMLangFontLink2_ResetFontMapping(This) (This)->lpVtbl->ResetFontMapping(This) +#define IMLangFontLink2_MapFont(This,hDC,dwCodePages,chSrc,pFont) (This)->lpVtbl->MapFont(This,hDC,dwCodePages,chSrc,pFont) +#define IMLangFontLink2_GetFontUnicodeRanges(This,hDC,puiRanges,pUranges) (This)->lpVtbl->GetFontUnicodeRanges(This,hDC,puiRanges,pUranges) +#define IMLangFontLink2_GetScriptFontInfo(This,sid,dwFlags,puiFonts,pScriptFont) (This)->lpVtbl->GetScriptFontInfo(This,sid,dwFlags,puiFonts,pScriptFont) +#define IMLangFontLink2_CodePageToScriptID(This,uiCodePage,pSid) (This)->lpVtbl->CodePageToScriptID(This,uiCodePage,pSid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMLangFontLink2_QueryInterface(IMLangFontLink2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMLangFontLink2_AddRef(IMLangFontLink2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMLangFontLink2_Release(IMLangFontLink2* This) { + return This->lpVtbl->Release(This); +} +/*** IMLangCodePages methods ***/ +static FORCEINLINE HRESULT IMLangFontLink2_GetCharCodePages(IMLangFontLink2* This,WCHAR chSrc,DWORD *pdwCodePages) { + return This->lpVtbl->GetCharCodePages(This,chSrc,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink2_GetStrCodePages(IMLangFontLink2* This,const WCHAR *pszSrc,LONG cchSrc,DWORD dwPriorityCodePages,DWORD *pdwCodePages,LONG *pcchCodePages) { + return This->lpVtbl->GetStrCodePages(This,pszSrc,cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink2_CodePageToCodePages(IMLangFontLink2* This,UINT uCodePage,DWORD *pdwCodePages) { + return This->lpVtbl->CodePageToCodePages(This,uCodePage,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink2_CodePagesToCodePage(IMLangFontLink2* This,DWORD dwCodePages,UINT uDefaultCodePage,UINT *puCodePage) { + return This->lpVtbl->CodePagesToCodePage(This,dwCodePages,uDefaultCodePage,puCodePage); +} +/*** IMLangFontLink2 methods ***/ +static FORCEINLINE HRESULT IMLangFontLink2_GetFontCodePages(IMLangFontLink2* This,HDC hDC,HFONT hFont,DWORD *pdwCodePages) { + return This->lpVtbl->GetFontCodePages(This,hDC,hFont,pdwCodePages); +} +static FORCEINLINE HRESULT IMLangFontLink2_ReleaseFont(IMLangFontLink2* This,HFONT hFont) { + return This->lpVtbl->ReleaseFont(This,hFont); +} +static FORCEINLINE HRESULT IMLangFontLink2_ResetFontMapping(IMLangFontLink2* This) { + return This->lpVtbl->ResetFontMapping(This); +} +static FORCEINLINE HRESULT IMLangFontLink2_MapFont(IMLangFontLink2* This,HDC hDC,DWORD dwCodePages,WCHAR chSrc,HFONT *pFont) { + return This->lpVtbl->MapFont(This,hDC,dwCodePages,chSrc,pFont); +} +static FORCEINLINE HRESULT IMLangFontLink2_GetFontUnicodeRanges(IMLangFontLink2* This,HDC hDC,UINT *puiRanges,UNICODERANGE *pUranges) { + return This->lpVtbl->GetFontUnicodeRanges(This,hDC,puiRanges,pUranges); +} +static FORCEINLINE HRESULT IMLangFontLink2_GetScriptFontInfo(IMLangFontLink2* This,SCRIPT_ID sid,DWORD dwFlags,UINT *puiFonts,SCRIPTFONTINFO *pScriptFont) { + return This->lpVtbl->GetScriptFontInfo(This,sid,dwFlags,puiFonts,pScriptFont); +} +static FORCEINLINE HRESULT IMLangFontLink2_CodePageToScriptID(IMLangFontLink2* This,UINT uiCodePage,SCRIPT_ID *pSid) { + return This->lpVtbl->CodePageToScriptID(This,uiCodePage,pSid); +} +#endif +#endif + +#endif + + +#endif /* __IMLangFontLink2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMLangString interface + */ +#ifndef __IMLangString_INTERFACE_DEFINED__ +#define __IMLangString_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMLangString, 0xc04d65ce, 0xb70d, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c04d65ce-b70d-11d0-b188-00aa0038c969") +IMLangString : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Sync( + BOOL fNoAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLength( + LONG *plLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMLStr( + LONG lDestPos, + LONG lDestLen, + IUnknown *pSrcMLStr, + LONG lSrcPos, + LONG lSrcLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMLStr( + LONG lSrcPos, + LONG lSrcLen, + IUnknown *pUnkOuter, + DWORD dwClsContext, + const IID *piid, + IUnknown **ppDestMLStr, + LONG *plDestPos, + LONG *plDestLen) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMLangString, 0xc04d65ce, 0xb70d, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69) +#endif +#else +typedef struct IMLangStringVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMLangString *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMLangString *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMLangString *This); + + /*** IMLangString methods ***/ + HRESULT (STDMETHODCALLTYPE *Sync)( + IMLangString *This, + BOOL fNoAccess); + + HRESULT (STDMETHODCALLTYPE *GetLength)( + IMLangString *This, + LONG *plLen); + + HRESULT (STDMETHODCALLTYPE *SetMLStr)( + IMLangString *This, + LONG lDestPos, + LONG lDestLen, + IUnknown *pSrcMLStr, + LONG lSrcPos, + LONG lSrcLen); + + HRESULT (STDMETHODCALLTYPE *GetMLStr)( + IMLangString *This, + LONG lSrcPos, + LONG lSrcLen, + IUnknown *pUnkOuter, + DWORD dwClsContext, + const IID *piid, + IUnknown **ppDestMLStr, + LONG *plDestPos, + LONG *plDestLen); + + END_INTERFACE +} IMLangStringVtbl; + +interface IMLangString { + CONST_VTBL IMLangStringVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMLangString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMLangString_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMLangString_Release(This) (This)->lpVtbl->Release(This) +/*** IMLangString methods ***/ +#define IMLangString_Sync(This,fNoAccess) (This)->lpVtbl->Sync(This,fNoAccess) +#define IMLangString_GetLength(This,plLen) (This)->lpVtbl->GetLength(This,plLen) +#define IMLangString_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen) (This)->lpVtbl->SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen) +#define IMLangString_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen) (This)->lpVtbl->GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMLangString_QueryInterface(IMLangString* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMLangString_AddRef(IMLangString* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMLangString_Release(IMLangString* This) { + return This->lpVtbl->Release(This); +} +/*** IMLangString methods ***/ +static FORCEINLINE HRESULT IMLangString_Sync(IMLangString* This,BOOL fNoAccess) { + return This->lpVtbl->Sync(This,fNoAccess); +} +static FORCEINLINE HRESULT IMLangString_GetLength(IMLangString* This,LONG *plLen) { + return This->lpVtbl->GetLength(This,plLen); +} +static FORCEINLINE HRESULT IMLangString_SetMLStr(IMLangString* This,LONG lDestPos,LONG lDestLen,IUnknown *pSrcMLStr,LONG lSrcPos,LONG lSrcLen) { + return This->lpVtbl->SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen); +} +static FORCEINLINE HRESULT IMLangString_GetMLStr(IMLangString* This,LONG lSrcPos,LONG lSrcLen,IUnknown *pUnkOuter,DWORD dwClsContext,const IID *piid,IUnknown **ppDestMLStr,LONG *plDestPos,LONG *plDestLen) { + return This->lpVtbl->GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen); +} +#endif +#endif + +#endif + + +#endif /* __IMLangString_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMLangLineBreakConsole interface + */ +#ifndef __IMLangLineBreakConsole_INTERFACE_DEFINED__ +#define __IMLangLineBreakConsole_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMLangLineBreakConsole, 0xf5be2ee1, 0xbfd7, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f5be2ee1-bfd7-11d0-b188-00aa0038c969") +IMLangLineBreakConsole : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BreakLineML( + IMLangString *pSrcMLStr, + LONG lSrcPos, + LONG lSrcLen, + LONG cMinColumns, + LONG cMaxColumns, + LONG *plLineLen, + LONG *plSkipLen) = 0; + + virtual HRESULT STDMETHODCALLTYPE BreakLineW( + LCID locale, + const WCHAR *pszSrc, + LONG cchSrc, + LONG cMaxColumns, + LONG *pcchLine, + LONG *pcchSkip) = 0; + + virtual HRESULT STDMETHODCALLTYPE BreakLineA( + LCID locale, + UINT uCodePage, + const CHAR *pszSrc, + LONG cchSrc, + LONG cMaxColumns, + LONG *pcchLine, + LONG *pcchSkip) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMLangLineBreakConsole, 0xf5be2ee1, 0xbfd7, 0x11d0, 0xb1,0x88, 0x00,0xaa,0x00,0x38,0xc9,0x69) +#endif +#else +typedef struct IMLangLineBreakConsoleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMLangLineBreakConsole *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMLangLineBreakConsole *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMLangLineBreakConsole *This); + + /*** IMLangLineBreakConsole methods ***/ + HRESULT (STDMETHODCALLTYPE *BreakLineML)( + IMLangLineBreakConsole *This, + IMLangString *pSrcMLStr, + LONG lSrcPos, + LONG lSrcLen, + LONG cMinColumns, + LONG cMaxColumns, + LONG *plLineLen, + LONG *plSkipLen); + + HRESULT (STDMETHODCALLTYPE *BreakLineW)( + IMLangLineBreakConsole *This, + LCID locale, + const WCHAR *pszSrc, + LONG cchSrc, + LONG cMaxColumns, + LONG *pcchLine, + LONG *pcchSkip); + + HRESULT (STDMETHODCALLTYPE *BreakLineA)( + IMLangLineBreakConsole *This, + LCID locale, + UINT uCodePage, + const CHAR *pszSrc, + LONG cchSrc, + LONG cMaxColumns, + LONG *pcchLine, + LONG *pcchSkip); + + END_INTERFACE +} IMLangLineBreakConsoleVtbl; + +interface IMLangLineBreakConsole { + CONST_VTBL IMLangLineBreakConsoleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMLangLineBreakConsole_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMLangLineBreakConsole_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMLangLineBreakConsole_Release(This) (This)->lpVtbl->Release(This) +/*** IMLangLineBreakConsole methods ***/ +#define IMLangLineBreakConsole_BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen) (This)->lpVtbl->BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen) +#define IMLangLineBreakConsole_BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip) (This)->lpVtbl->BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip) +#define IMLangLineBreakConsole_BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip) (This)->lpVtbl->BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMLangLineBreakConsole_QueryInterface(IMLangLineBreakConsole* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMLangLineBreakConsole_AddRef(IMLangLineBreakConsole* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMLangLineBreakConsole_Release(IMLangLineBreakConsole* This) { + return This->lpVtbl->Release(This); +} +/*** IMLangLineBreakConsole methods ***/ +static FORCEINLINE HRESULT IMLangLineBreakConsole_BreakLineML(IMLangLineBreakConsole* This,IMLangString *pSrcMLStr,LONG lSrcPos,LONG lSrcLen,LONG cMinColumns,LONG cMaxColumns,LONG *plLineLen,LONG *plSkipLen) { + return This->lpVtbl->BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen); +} +static FORCEINLINE HRESULT IMLangLineBreakConsole_BreakLineW(IMLangLineBreakConsole* This,LCID locale,const WCHAR *pszSrc,LONG cchSrc,LONG cMaxColumns,LONG *pcchLine,LONG *pcchSkip) { + return This->lpVtbl->BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip); +} +static FORCEINLINE HRESULT IMLangLineBreakConsole_BreakLineA(IMLangLineBreakConsole* This,LCID locale,UINT uCodePage,const CHAR *pszSrc,LONG cchSrc,LONG cMaxColumns,LONG *pcchLine,LONG *pcchSkip) { + return This->lpVtbl->BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip); +} +#endif +#endif + +#endif + + +#endif /* __IMLangLineBreakConsole_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumCodePage interface + */ +#ifndef __IEnumCodePage_INTERFACE_DEFINED__ +#define __IEnumCodePage_INTERFACE_DEFINED__ + +#define MAX_MIMECP_NAME (64) + +#define MAX_MIMECSET_NAME (50) + +typedef enum tagMIMECONTF { + MIMECONTF_MAILNEWS = 0x1, + MIMECONTF_BROWSER = 0x2, + MIMECONTF_MINIMAL = 0x4, + MIMECONTF_IMPORT = 0x8, + MIMECONTF_SAVABLE_MAILNEWS = 0x100, + MIMECONTF_SAVABLE_BROWSER = 0x200, + MIMECONTF_EXPORT = 0x400, + MIMECONTF_PRIVCONVERTER = 0x10000, + MIMECONTF_VALID = 0x20000, + MIMECONTF_VALID_NLS = 0x40000, + MIMECONTF_MIME_IE4 = 0x10000000, + MIMECONTF_MIME_LATEST = 0x20000000, + MIMECONTF_MIME_REGISTRY = 0x40000000 +} MIMECONTF; +typedef struct tagMIMECPINFO { + DWORD dwFlags; + UINT uiCodePage; + UINT uiFamilyCodePage; + WCHAR wszDescription[64]; + WCHAR wszWebCharset[50]; + WCHAR wszHeaderCharset[50]; + WCHAR wszBodyCharset[50]; + WCHAR wszFixedWidthFont[32]; + WCHAR wszProportionalFont[32]; + BYTE bGDICharset; +} MIMECPINFO; +typedef struct tagMIMECPINFO *PMIMECPINFO; +typedef struct tagMIMECSETINFO { + UINT uiCodePage; + UINT uiInternetEncoding; + WCHAR wszCharset[50]; +} MIMECSETINFO; +typedef struct tagMIMECSETINFO *PMIMECSETINFO; +DEFINE_GUID(IID_IEnumCodePage, 0x275c23e3, 0x3747, 0x11d0, 0x9f,0xea, 0x00,0xaa,0x00,0x3f,0x86,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("275c23e3-3747-11d0-9fea-00aa003f8646") +IEnumCodePage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumCodePage **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + PMIMECPINFO rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumCodePage, 0x275c23e3, 0x3747, 0x11d0, 0x9f,0xea, 0x00,0xaa,0x00,0x3f,0x86,0x46) +#endif +#else +typedef struct IEnumCodePageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumCodePage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumCodePage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumCodePage *This); + + /*** IEnumCodePage methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumCodePage *This, + IEnumCodePage **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumCodePage *This, + ULONG celt, + PMIMECPINFO rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumCodePage *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumCodePage *This, + ULONG celt); + + END_INTERFACE +} IEnumCodePageVtbl; + +interface IEnumCodePage { + CONST_VTBL IEnumCodePageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumCodePage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumCodePage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumCodePage_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumCodePage methods ***/ +#define IEnumCodePage_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumCodePage_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumCodePage_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumCodePage_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumCodePage_QueryInterface(IEnumCodePage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumCodePage_AddRef(IEnumCodePage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumCodePage_Release(IEnumCodePage* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumCodePage methods ***/ +static FORCEINLINE HRESULT IEnumCodePage_Clone(IEnumCodePage* This,IEnumCodePage **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumCodePage_Next(IEnumCodePage* This,ULONG celt,PMIMECPINFO rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumCodePage_Reset(IEnumCodePage* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumCodePage_Skip(IEnumCodePage* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumCodePage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMLangConvertCharset interface + */ +#ifndef __IMLangConvertCharset_INTERFACE_DEFINED__ +#define __IMLangConvertCharset_INTERFACE_DEFINED__ + +typedef enum tagMLCONVCHARF { + MLCONVCHARF_AUTODETECT = 1, + MLCONVCHARF_ENTITIZE = 2, + MLCONVCHARF_NCR_ENTITIZE = 2, + MLCONVCHARF_NAME_ENTITIZE = 4, + MLCONVCHARF_USEDEFCHAR = 8, + MLCONVCHARF_NOBESTFITCHARS = 16, + MLCONVCHARF_DETECTJPN = 32 +} MLCONVCHAR; +typedef enum tagMLCPF { + MLDETECTF_MAILNEWS = 0x1, + MLDETECTF_BROWSER = 0x2, + MLDETECTF_VALID = 0x4, + MLDETECTF_VALID_NLS = 0x8, + MLDETECTF_PRESERVE_ORDER = 0x10, + MLDETECTF_PREFERRED_ONLY = 0x20, + MLDETECTF_FILTER_SPECIALCHAR = 0x40, + MLDETECTF_EURO_UTF8 = 0x80 +} MLCP; +DEFINE_GUID(IID_IMLangConvertCharset, 0xd66d6f98, 0xcdaa, 0x11d0, 0xb8,0x22, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d66d6f98-cdaa-11d0-b822-00c04fc9b31f") +IMLangConvertCharset : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceCodePage( + UINT *puiSrcCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDestinationCodePage( + UINT *puiDstCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + DWORD *pdwProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoConversion( + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoConversionToUnicode( + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoConversionFromUnicode( + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMLangConvertCharset, 0xd66d6f98, 0xcdaa, 0x11d0, 0xb8,0x22, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f) +#endif +#else +typedef struct IMLangConvertCharsetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMLangConvertCharset *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMLangConvertCharset *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMLangConvertCharset *This); + + /*** IMLangConvertCharset methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IMLangConvertCharset *This, + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty); + + HRESULT (STDMETHODCALLTYPE *GetSourceCodePage)( + IMLangConvertCharset *This, + UINT *puiSrcCodePage); + + HRESULT (STDMETHODCALLTYPE *GetDestinationCodePage)( + IMLangConvertCharset *This, + UINT *puiDstCodePage); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IMLangConvertCharset *This, + DWORD *pdwProperty); + + HRESULT (STDMETHODCALLTYPE *DoConversion)( + IMLangConvertCharset *This, + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *DoConversionToUnicode)( + IMLangConvertCharset *This, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *DoConversionFromUnicode)( + IMLangConvertCharset *This, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize); + + END_INTERFACE +} IMLangConvertCharsetVtbl; + +interface IMLangConvertCharset { + CONST_VTBL IMLangConvertCharsetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMLangConvertCharset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMLangConvertCharset_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMLangConvertCharset_Release(This) (This)->lpVtbl->Release(This) +/*** IMLangConvertCharset methods ***/ +#define IMLangConvertCharset_Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty) (This)->lpVtbl->Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty) +#define IMLangConvertCharset_GetSourceCodePage(This,puiSrcCodePage) (This)->lpVtbl->GetSourceCodePage(This,puiSrcCodePage) +#define IMLangConvertCharset_GetDestinationCodePage(This,puiDstCodePage) (This)->lpVtbl->GetDestinationCodePage(This,puiDstCodePage) +#define IMLangConvertCharset_GetProperty(This,pdwProperty) (This)->lpVtbl->GetProperty(This,pdwProperty) +#define IMLangConvertCharset_DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMLangConvertCharset_DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMLangConvertCharset_DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMLangConvertCharset_QueryInterface(IMLangConvertCharset* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMLangConvertCharset_AddRef(IMLangConvertCharset* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMLangConvertCharset_Release(IMLangConvertCharset* This) { + return This->lpVtbl->Release(This); +} +/*** IMLangConvertCharset methods ***/ +static FORCEINLINE HRESULT IMLangConvertCharset_Initialize(IMLangConvertCharset* This,UINT uiSrcCodePage,UINT uiDstCodePage,DWORD dwProperty) { + return This->lpVtbl->Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty); +} +static FORCEINLINE HRESULT IMLangConvertCharset_GetSourceCodePage(IMLangConvertCharset* This,UINT *puiSrcCodePage) { + return This->lpVtbl->GetSourceCodePage(This,puiSrcCodePage); +} +static FORCEINLINE HRESULT IMLangConvertCharset_GetDestinationCodePage(IMLangConvertCharset* This,UINT *puiDstCodePage) { + return This->lpVtbl->GetDestinationCodePage(This,puiDstCodePage); +} +static FORCEINLINE HRESULT IMLangConvertCharset_GetProperty(IMLangConvertCharset* This,DWORD *pdwProperty) { + return This->lpVtbl->GetProperty(This,pdwProperty); +} +static FORCEINLINE HRESULT IMLangConvertCharset_DoConversion(IMLangConvertCharset* This,BYTE *pSrcStr,UINT *pcSrcSize,BYTE *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMLangConvertCharset_DoConversionToUnicode(IMLangConvertCharset* This,CHAR *pSrcStr,UINT *pcSrcSize,WCHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMLangConvertCharset_DoConversionFromUnicode(IMLangConvertCharset* This,WCHAR *pSrcStr,UINT *pcSrcSize,CHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +#endif +#endif + +#endif + + +#endif /* __IMLangConvertCharset_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CMLangConvertCharset coclass + */ + +DEFINE_GUID(CLSID_CMLangConvertCharset, 0xd66d6f99, 0xcdaa, 0x11d0, 0xb8,0x22, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f); + +#ifdef __cplusplus +class DECLSPEC_UUID("d66d6f99-cdaa-11d0-b822-00c04fc9b31f") CMLangConvertCharset; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CMLangConvertCharset, 0xd66d6f99, 0xcdaa, 0x11d0, 0xb8,0x22, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f) +#endif +#endif + +/***************************************************************************** + * IEnumRfc1766 interface + */ +#ifndef __IEnumRfc1766_INTERFACE_DEFINED__ +#define __IEnumRfc1766_INTERFACE_DEFINED__ + +#define MAX_RFC1766_NAME (6) + +#define MAX_LOCALE_NAME (32) + +typedef struct tagRFC1766INFO { + LCID lcid; + WCHAR wszRfc1766[6]; + WCHAR wszLocaleName[32]; +} RFC1766INFO; +typedef struct tagRFC1766INFO *PRFC1766INFO; +DEFINE_GUID(IID_IEnumRfc1766, 0x3dc39d1d, 0xc030, 0x11d0, 0xb8,0x1b, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3dc39d1d-c030-11d0-b81b-00c04fc9b31f") +IEnumRfc1766 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumRfc1766 **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + PRFC1766INFO rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumRfc1766, 0x3dc39d1d, 0xc030, 0x11d0, 0xb8,0x1b, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f) +#endif +#else +typedef struct IEnumRfc1766Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumRfc1766 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumRfc1766 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumRfc1766 *This); + + /*** IEnumRfc1766 methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumRfc1766 *This, + IEnumRfc1766 **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumRfc1766 *This, + ULONG celt, + PRFC1766INFO rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumRfc1766 *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumRfc1766 *This, + ULONG celt); + + END_INTERFACE +} IEnumRfc1766Vtbl; + +interface IEnumRfc1766 { + CONST_VTBL IEnumRfc1766Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumRfc1766_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumRfc1766_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumRfc1766_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumRfc1766 methods ***/ +#define IEnumRfc1766_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumRfc1766_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumRfc1766_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumRfc1766_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumRfc1766_QueryInterface(IEnumRfc1766* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumRfc1766_AddRef(IEnumRfc1766* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumRfc1766_Release(IEnumRfc1766* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumRfc1766 methods ***/ +static FORCEINLINE HRESULT IEnumRfc1766_Clone(IEnumRfc1766* This,IEnumRfc1766 **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumRfc1766_Next(IEnumRfc1766* This,ULONG celt,PRFC1766INFO rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumRfc1766_Reset(IEnumRfc1766* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumRfc1766_Skip(IEnumRfc1766* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumRfc1766_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMultiLanguage interface + */ +#ifndef __IMultiLanguage_INTERFACE_DEFINED__ +#define __IMultiLanguage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMultiLanguage, 0x275c23e1, 0x3747, 0x11d0, 0x9f,0xea, 0x00,0xaa,0x00,0x3f,0x86,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("275c23e1-3747-11d0-9fea-00aa003f8646") +IMultiLanguage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNumberOfCodePageInfo( + UINT *pcCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodePageInfo( + UINT uiCodePage, + PMIMECPINFO pCodePageInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFamilyCodePage( + UINT uiCodePage, + UINT *puiFamilyCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodePages( + DWORD grfFlags, + IEnumCodePage **ppEnumCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharsetInfo( + BSTR Charset, + PMIMECSETINFO pCharsetInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsConvertible( + DWORD dwSrcEncoding, + DWORD dwDstEncoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertString( + DWORD *pdwMode, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringToUnicode( + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringFromUnicode( + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringReset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRfc1766FromLcid( + LCID Locale, + BSTR *pbstrRfc1766) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLcidFromRfc1766( + LCID *pLocale, + BSTR bstrRfc1766) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRfc1766( + IEnumRfc1766 **ppEnumRfc1766) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRfc1766Info( + LCID Locale, + PRFC1766INFO pRfc1766Info) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateConvertCharset( + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty, + IMLangConvertCharset **ppMLangConvertCharset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMultiLanguage, 0x275c23e1, 0x3747, 0x11d0, 0x9f,0xea, 0x00,0xaa,0x00,0x3f,0x86,0x46) +#endif +#else +typedef struct IMultiLanguageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMultiLanguage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMultiLanguage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMultiLanguage *This); + + /*** IMultiLanguage methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNumberOfCodePageInfo)( + IMultiLanguage *This, + UINT *pcCodePage); + + HRESULT (STDMETHODCALLTYPE *GetCodePageInfo)( + IMultiLanguage *This, + UINT uiCodePage, + PMIMECPINFO pCodePageInfo); + + HRESULT (STDMETHODCALLTYPE *GetFamilyCodePage)( + IMultiLanguage *This, + UINT uiCodePage, + UINT *puiFamilyCodePage); + + HRESULT (STDMETHODCALLTYPE *EnumCodePages)( + IMultiLanguage *This, + DWORD grfFlags, + IEnumCodePage **ppEnumCodePage); + + HRESULT (STDMETHODCALLTYPE *GetCharsetInfo)( + IMultiLanguage *This, + BSTR Charset, + PMIMECSETINFO pCharsetInfo); + + HRESULT (STDMETHODCALLTYPE *IsConvertible)( + IMultiLanguage *This, + DWORD dwSrcEncoding, + DWORD dwDstEncoding); + + HRESULT (STDMETHODCALLTYPE *ConvertString)( + IMultiLanguage *This, + DWORD *pdwMode, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringToUnicode)( + IMultiLanguage *This, + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringFromUnicode)( + IMultiLanguage *This, + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringReset)( + IMultiLanguage *This); + + HRESULT (STDMETHODCALLTYPE *GetRfc1766FromLcid)( + IMultiLanguage *This, + LCID Locale, + BSTR *pbstrRfc1766); + + HRESULT (STDMETHODCALLTYPE *GetLcidFromRfc1766)( + IMultiLanguage *This, + LCID *pLocale, + BSTR bstrRfc1766); + + HRESULT (STDMETHODCALLTYPE *EnumRfc1766)( + IMultiLanguage *This, + IEnumRfc1766 **ppEnumRfc1766); + + HRESULT (STDMETHODCALLTYPE *GetRfc1766Info)( + IMultiLanguage *This, + LCID Locale, + PRFC1766INFO pRfc1766Info); + + HRESULT (STDMETHODCALLTYPE *CreateConvertCharset)( + IMultiLanguage *This, + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty, + IMLangConvertCharset **ppMLangConvertCharset); + + END_INTERFACE +} IMultiLanguageVtbl; + +interface IMultiLanguage { + CONST_VTBL IMultiLanguageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMultiLanguage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMultiLanguage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMultiLanguage_Release(This) (This)->lpVtbl->Release(This) +/*** IMultiLanguage methods ***/ +#define IMultiLanguage_GetNumberOfCodePageInfo(This,pcCodePage) (This)->lpVtbl->GetNumberOfCodePageInfo(This,pcCodePage) +#define IMultiLanguage_GetCodePageInfo(This,uiCodePage,pCodePageInfo) (This)->lpVtbl->GetCodePageInfo(This,uiCodePage,pCodePageInfo) +#define IMultiLanguage_GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage) (This)->lpVtbl->GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage) +#define IMultiLanguage_EnumCodePages(This,grfFlags,ppEnumCodePage) (This)->lpVtbl->EnumCodePages(This,grfFlags,ppEnumCodePage) +#define IMultiLanguage_GetCharsetInfo(This,Charset,pCharsetInfo) (This)->lpVtbl->GetCharsetInfo(This,Charset,pCharsetInfo) +#define IMultiLanguage_IsConvertible(This,dwSrcEncoding,dwDstEncoding) (This)->lpVtbl->IsConvertible(This,dwSrcEncoding,dwDstEncoding) +#define IMultiLanguage_ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage_ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage_ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage_ConvertStringReset(This) (This)->lpVtbl->ConvertStringReset(This) +#define IMultiLanguage_GetRfc1766FromLcid(This,Locale,pbstrRfc1766) (This)->lpVtbl->GetRfc1766FromLcid(This,Locale,pbstrRfc1766) +#define IMultiLanguage_GetLcidFromRfc1766(This,pLocale,bstrRfc1766) (This)->lpVtbl->GetLcidFromRfc1766(This,pLocale,bstrRfc1766) +#define IMultiLanguage_EnumRfc1766(This,ppEnumRfc1766) (This)->lpVtbl->EnumRfc1766(This,ppEnumRfc1766) +#define IMultiLanguage_GetRfc1766Info(This,Locale,pRfc1766Info) (This)->lpVtbl->GetRfc1766Info(This,Locale,pRfc1766Info) +#define IMultiLanguage_CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset) (This)->lpVtbl->CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMultiLanguage_QueryInterface(IMultiLanguage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMultiLanguage_AddRef(IMultiLanguage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMultiLanguage_Release(IMultiLanguage* This) { + return This->lpVtbl->Release(This); +} +/*** IMultiLanguage methods ***/ +static FORCEINLINE HRESULT IMultiLanguage_GetNumberOfCodePageInfo(IMultiLanguage* This,UINT *pcCodePage) { + return This->lpVtbl->GetNumberOfCodePageInfo(This,pcCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage_GetCodePageInfo(IMultiLanguage* This,UINT uiCodePage,PMIMECPINFO pCodePageInfo) { + return This->lpVtbl->GetCodePageInfo(This,uiCodePage,pCodePageInfo); +} +static FORCEINLINE HRESULT IMultiLanguage_GetFamilyCodePage(IMultiLanguage* This,UINT uiCodePage,UINT *puiFamilyCodePage) { + return This->lpVtbl->GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage_EnumCodePages(IMultiLanguage* This,DWORD grfFlags,IEnumCodePage **ppEnumCodePage) { + return This->lpVtbl->EnumCodePages(This,grfFlags,ppEnumCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage_GetCharsetInfo(IMultiLanguage* This,BSTR Charset,PMIMECSETINFO pCharsetInfo) { + return This->lpVtbl->GetCharsetInfo(This,Charset,pCharsetInfo); +} +static FORCEINLINE HRESULT IMultiLanguage_IsConvertible(IMultiLanguage* This,DWORD dwSrcEncoding,DWORD dwDstEncoding) { + return This->lpVtbl->IsConvertible(This,dwSrcEncoding,dwDstEncoding); +} +static FORCEINLINE HRESULT IMultiLanguage_ConvertString(IMultiLanguage* This,DWORD *pdwMode,DWORD dwSrcEncoding,DWORD dwDstEncoding,BYTE *pSrcStr,UINT *pcSrcSize,BYTE *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage_ConvertStringToUnicode(IMultiLanguage* This,DWORD *pdwMode,DWORD dwEncoding,CHAR *pSrcStr,UINT *pcSrcSize,WCHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage_ConvertStringFromUnicode(IMultiLanguage* This,DWORD *pdwMode,DWORD dwEncoding,WCHAR *pSrcStr,UINT *pcSrcSize,CHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage_ConvertStringReset(IMultiLanguage* This) { + return This->lpVtbl->ConvertStringReset(This); +} +static FORCEINLINE HRESULT IMultiLanguage_GetRfc1766FromLcid(IMultiLanguage* This,LCID Locale,BSTR *pbstrRfc1766) { + return This->lpVtbl->GetRfc1766FromLcid(This,Locale,pbstrRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage_GetLcidFromRfc1766(IMultiLanguage* This,LCID *pLocale,BSTR bstrRfc1766) { + return This->lpVtbl->GetLcidFromRfc1766(This,pLocale,bstrRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage_EnumRfc1766(IMultiLanguage* This,IEnumRfc1766 **ppEnumRfc1766) { + return This->lpVtbl->EnumRfc1766(This,ppEnumRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage_GetRfc1766Info(IMultiLanguage* This,LCID Locale,PRFC1766INFO pRfc1766Info) { + return This->lpVtbl->GetRfc1766Info(This,Locale,pRfc1766Info); +} +static FORCEINLINE HRESULT IMultiLanguage_CreateConvertCharset(IMultiLanguage* This,UINT uiSrcCodePage,UINT uiDstCodePage,DWORD dwProperty,IMLangConvertCharset **ppMLangConvertCharset) { + return This->lpVtbl->CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset); +} +#endif +#endif + +#endif + + +#endif /* __IMultiLanguage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMultiLanguage2 interface + */ +#ifndef __IMultiLanguage2_INTERFACE_DEFINED__ +#define __IMultiLanguage2_INTERFACE_DEFINED__ + +typedef struct tagDetectEncodingInfo { + UINT nLangID; + UINT nCodePage; + INT nDocPercent; + INT nConfidence; +} DetectEncodingInfo; +typedef struct tagDetectEncodingInfo *pDetectEncodingInfo; +DEFINE_GUID(IID_IMultiLanguage2, 0xdccfc164, 0x2b38, 0x11d2, 0xb7,0xec, 0x00,0xc0,0x4f,0x8f,0x5d,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dccfc164-2b38-11d2-b7ec-00c04f8f5d9a") +IMultiLanguage2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNumberOfCodePageInfo( + UINT *pcCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodePageInfo( + UINT uiCodePage, + LANGID LangId, + PMIMECPINFO pCodePageInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFamilyCodePage( + UINT uiCodePage, + UINT *puiFamilyCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodePages( + DWORD grfFlags, + LANGID LangId, + IEnumCodePage **ppEnumCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharsetInfo( + BSTR Charset, + PMIMECSETINFO pCharsetInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsConvertible( + DWORD dwSrcEncoding, + DWORD dwDstEncoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertString( + DWORD *pdwMode, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringToUnicode( + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringFromUnicode( + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringReset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRfc1766FromLcid( + LCID Locale, + BSTR *pbstrRfc1766) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLcidFromRfc1766( + LCID *pLocale, + BSTR bstrRfc1766) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRfc1766( + LANGID LangId, + IEnumRfc1766 **ppEnumRfc1766) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRfc1766Info( + LCID Locale, + LANGID LangId, + PRFC1766INFO pRfc1766Info) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateConvertCharset( + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty, + IMLangConvertCharset **ppMLangConvertCharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringInIStream( + DWORD *pdwMode, + DWORD dwFlag, + WCHAR *lpFallBack, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + IStream *pstmIn, + IStream *pstmOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringToUnicodeEx( + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize, + DWORD dwFlag, + WCHAR *lpFallBack) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertStringFromUnicodeEx( + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize, + DWORD dwFlag, + WCHAR *lpFallBack) = 0; + + virtual HRESULT STDMETHODCALLTYPE DetectCodepageInIStream( + DWORD dwFlag, + DWORD dwPrefWinCodePage, + IStream *pstmIn, + DetectEncodingInfo *lpEncoding, + INT *pnScores) = 0; + + virtual HRESULT STDMETHODCALLTYPE DetectInputCodepage( + DWORD dwFlag, + DWORD dwPrefWinCodePage, + CHAR *pSrcStr, + INT *pcSrcSize, + DetectEncodingInfo *lpEncoding, + INT *pnScores) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateCodePage( + UINT uiCodePage, + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodePageDescription( + UINT uiCodePage, + LCID lcid, + LPWSTR lpWideCharStr, + int cchWideChar) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsCodePageInstallable( + UINT uiCodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMimeDBSource( + MIMECONTF dwSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfScripts( + UINT *pnScripts) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumScripts( + DWORD dwFlags, + LANGID LangId, + IEnumScript **ppEnumScript) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateCodePageEx( + UINT uiCodePage, + HWND hwnd, + DWORD dwfIODControl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMultiLanguage2, 0xdccfc164, 0x2b38, 0x11d2, 0xb7,0xec, 0x00,0xc0,0x4f,0x8f,0x5d,0x9a) +#endif +#else +typedef struct IMultiLanguage2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMultiLanguage2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMultiLanguage2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMultiLanguage2 *This); + + /*** IMultiLanguage2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNumberOfCodePageInfo)( + IMultiLanguage2 *This, + UINT *pcCodePage); + + HRESULT (STDMETHODCALLTYPE *GetCodePageInfo)( + IMultiLanguage2 *This, + UINT uiCodePage, + LANGID LangId, + PMIMECPINFO pCodePageInfo); + + HRESULT (STDMETHODCALLTYPE *GetFamilyCodePage)( + IMultiLanguage2 *This, + UINT uiCodePage, + UINT *puiFamilyCodePage); + + HRESULT (STDMETHODCALLTYPE *EnumCodePages)( + IMultiLanguage2 *This, + DWORD grfFlags, + LANGID LangId, + IEnumCodePage **ppEnumCodePage); + + HRESULT (STDMETHODCALLTYPE *GetCharsetInfo)( + IMultiLanguage2 *This, + BSTR Charset, + PMIMECSETINFO pCharsetInfo); + + HRESULT (STDMETHODCALLTYPE *IsConvertible)( + IMultiLanguage2 *This, + DWORD dwSrcEncoding, + DWORD dwDstEncoding); + + HRESULT (STDMETHODCALLTYPE *ConvertString)( + IMultiLanguage2 *This, + DWORD *pdwMode, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringToUnicode)( + IMultiLanguage2 *This, + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringFromUnicode)( + IMultiLanguage2 *This, + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringReset)( + IMultiLanguage2 *This); + + HRESULT (STDMETHODCALLTYPE *GetRfc1766FromLcid)( + IMultiLanguage2 *This, + LCID Locale, + BSTR *pbstrRfc1766); + + HRESULT (STDMETHODCALLTYPE *GetLcidFromRfc1766)( + IMultiLanguage2 *This, + LCID *pLocale, + BSTR bstrRfc1766); + + HRESULT (STDMETHODCALLTYPE *EnumRfc1766)( + IMultiLanguage2 *This, + LANGID LangId, + IEnumRfc1766 **ppEnumRfc1766); + + HRESULT (STDMETHODCALLTYPE *GetRfc1766Info)( + IMultiLanguage2 *This, + LCID Locale, + LANGID LangId, + PRFC1766INFO pRfc1766Info); + + HRESULT (STDMETHODCALLTYPE *CreateConvertCharset)( + IMultiLanguage2 *This, + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty, + IMLangConvertCharset **ppMLangConvertCharset); + + HRESULT (STDMETHODCALLTYPE *ConvertStringInIStream)( + IMultiLanguage2 *This, + DWORD *pdwMode, + DWORD dwFlag, + WCHAR *lpFallBack, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + IStream *pstmIn, + IStream *pstmOut); + + HRESULT (STDMETHODCALLTYPE *ConvertStringToUnicodeEx)( + IMultiLanguage2 *This, + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize, + DWORD dwFlag, + WCHAR *lpFallBack); + + HRESULT (STDMETHODCALLTYPE *ConvertStringFromUnicodeEx)( + IMultiLanguage2 *This, + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize, + DWORD dwFlag, + WCHAR *lpFallBack); + + HRESULT (STDMETHODCALLTYPE *DetectCodepageInIStream)( + IMultiLanguage2 *This, + DWORD dwFlag, + DWORD dwPrefWinCodePage, + IStream *pstmIn, + DetectEncodingInfo *lpEncoding, + INT *pnScores); + + HRESULT (STDMETHODCALLTYPE *DetectInputCodepage)( + IMultiLanguage2 *This, + DWORD dwFlag, + DWORD dwPrefWinCodePage, + CHAR *pSrcStr, + INT *pcSrcSize, + DetectEncodingInfo *lpEncoding, + INT *pnScores); + + HRESULT (STDMETHODCALLTYPE *ValidateCodePage)( + IMultiLanguage2 *This, + UINT uiCodePage, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *GetCodePageDescription)( + IMultiLanguage2 *This, + UINT uiCodePage, + LCID lcid, + LPWSTR lpWideCharStr, + int cchWideChar); + + HRESULT (STDMETHODCALLTYPE *IsCodePageInstallable)( + IMultiLanguage2 *This, + UINT uiCodePage); + + HRESULT (STDMETHODCALLTYPE *SetMimeDBSource)( + IMultiLanguage2 *This, + MIMECONTF dwSource); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfScripts)( + IMultiLanguage2 *This, + UINT *pnScripts); + + HRESULT (STDMETHODCALLTYPE *EnumScripts)( + IMultiLanguage2 *This, + DWORD dwFlags, + LANGID LangId, + IEnumScript **ppEnumScript); + + HRESULT (STDMETHODCALLTYPE *ValidateCodePageEx)( + IMultiLanguage2 *This, + UINT uiCodePage, + HWND hwnd, + DWORD dwfIODControl); + + END_INTERFACE +} IMultiLanguage2Vtbl; + +interface IMultiLanguage2 { + CONST_VTBL IMultiLanguage2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMultiLanguage2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMultiLanguage2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMultiLanguage2_Release(This) (This)->lpVtbl->Release(This) +/*** IMultiLanguage2 methods ***/ +#define IMultiLanguage2_GetNumberOfCodePageInfo(This,pcCodePage) (This)->lpVtbl->GetNumberOfCodePageInfo(This,pcCodePage) +#define IMultiLanguage2_GetCodePageInfo(This,uiCodePage,LangId,pCodePageInfo) (This)->lpVtbl->GetCodePageInfo(This,uiCodePage,LangId,pCodePageInfo) +#define IMultiLanguage2_GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage) (This)->lpVtbl->GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage) +#define IMultiLanguage2_EnumCodePages(This,grfFlags,LangId,ppEnumCodePage) (This)->lpVtbl->EnumCodePages(This,grfFlags,LangId,ppEnumCodePage) +#define IMultiLanguage2_GetCharsetInfo(This,Charset,pCharsetInfo) (This)->lpVtbl->GetCharsetInfo(This,Charset,pCharsetInfo) +#define IMultiLanguage2_IsConvertible(This,dwSrcEncoding,dwDstEncoding) (This)->lpVtbl->IsConvertible(This,dwSrcEncoding,dwDstEncoding) +#define IMultiLanguage2_ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage2_ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage2_ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage2_ConvertStringReset(This) (This)->lpVtbl->ConvertStringReset(This) +#define IMultiLanguage2_GetRfc1766FromLcid(This,Locale,pbstrRfc1766) (This)->lpVtbl->GetRfc1766FromLcid(This,Locale,pbstrRfc1766) +#define IMultiLanguage2_GetLcidFromRfc1766(This,pLocale,bstrRfc1766) (This)->lpVtbl->GetLcidFromRfc1766(This,pLocale,bstrRfc1766) +#define IMultiLanguage2_EnumRfc1766(This,LangId,ppEnumRfc1766) (This)->lpVtbl->EnumRfc1766(This,LangId,ppEnumRfc1766) +#define IMultiLanguage2_GetRfc1766Info(This,Locale,LangId,pRfc1766Info) (This)->lpVtbl->GetRfc1766Info(This,Locale,LangId,pRfc1766Info) +#define IMultiLanguage2_CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset) (This)->lpVtbl->CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset) +#define IMultiLanguage2_ConvertStringInIStream(This,pdwMode,dwFlag,lpFallBack,dwSrcEncoding,dwDstEncoding,pstmIn,pstmOut) (This)->lpVtbl->ConvertStringInIStream(This,pdwMode,dwFlag,lpFallBack,dwSrcEncoding,dwDstEncoding,pstmIn,pstmOut) +#define IMultiLanguage2_ConvertStringToUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) (This)->lpVtbl->ConvertStringToUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) +#define IMultiLanguage2_ConvertStringFromUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) (This)->lpVtbl->ConvertStringFromUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) +#define IMultiLanguage2_DetectCodepageInIStream(This,dwFlag,dwPrefWinCodePage,pstmIn,lpEncoding,pnScores) (This)->lpVtbl->DetectCodepageInIStream(This,dwFlag,dwPrefWinCodePage,pstmIn,lpEncoding,pnScores) +#define IMultiLanguage2_DetectInputCodepage(This,dwFlag,dwPrefWinCodePage,pSrcStr,pcSrcSize,lpEncoding,pnScores) (This)->lpVtbl->DetectInputCodepage(This,dwFlag,dwPrefWinCodePage,pSrcStr,pcSrcSize,lpEncoding,pnScores) +#define IMultiLanguage2_ValidateCodePage(This,uiCodePage,hwnd) (This)->lpVtbl->ValidateCodePage(This,uiCodePage,hwnd) +#define IMultiLanguage2_GetCodePageDescription(This,uiCodePage,lcid,lpWideCharStr,cchWideChar) (This)->lpVtbl->GetCodePageDescription(This,uiCodePage,lcid,lpWideCharStr,cchWideChar) +#define IMultiLanguage2_IsCodePageInstallable(This,uiCodePage) (This)->lpVtbl->IsCodePageInstallable(This,uiCodePage) +#define IMultiLanguage2_SetMimeDBSource(This,dwSource) (This)->lpVtbl->SetMimeDBSource(This,dwSource) +#define IMultiLanguage2_GetNumberOfScripts(This,pnScripts) (This)->lpVtbl->GetNumberOfScripts(This,pnScripts) +#define IMultiLanguage2_EnumScripts(This,dwFlags,LangId,ppEnumScript) (This)->lpVtbl->EnumScripts(This,dwFlags,LangId,ppEnumScript) +#define IMultiLanguage2_ValidateCodePageEx(This,uiCodePage,hwnd,dwfIODControl) (This)->lpVtbl->ValidateCodePageEx(This,uiCodePage,hwnd,dwfIODControl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMultiLanguage2_QueryInterface(IMultiLanguage2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMultiLanguage2_AddRef(IMultiLanguage2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMultiLanguage2_Release(IMultiLanguage2* This) { + return This->lpVtbl->Release(This); +} +/*** IMultiLanguage2 methods ***/ +static FORCEINLINE HRESULT IMultiLanguage2_GetNumberOfCodePageInfo(IMultiLanguage2* This,UINT *pcCodePage) { + return This->lpVtbl->GetNumberOfCodePageInfo(This,pcCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetCodePageInfo(IMultiLanguage2* This,UINT uiCodePage,LANGID LangId,PMIMECPINFO pCodePageInfo) { + return This->lpVtbl->GetCodePageInfo(This,uiCodePage,LangId,pCodePageInfo); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetFamilyCodePage(IMultiLanguage2* This,UINT uiCodePage,UINT *puiFamilyCodePage) { + return This->lpVtbl->GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage2_EnumCodePages(IMultiLanguage2* This,DWORD grfFlags,LANGID LangId,IEnumCodePage **ppEnumCodePage) { + return This->lpVtbl->EnumCodePages(This,grfFlags,LangId,ppEnumCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetCharsetInfo(IMultiLanguage2* This,BSTR Charset,PMIMECSETINFO pCharsetInfo) { + return This->lpVtbl->GetCharsetInfo(This,Charset,pCharsetInfo); +} +static FORCEINLINE HRESULT IMultiLanguage2_IsConvertible(IMultiLanguage2* This,DWORD dwSrcEncoding,DWORD dwDstEncoding) { + return This->lpVtbl->IsConvertible(This,dwSrcEncoding,dwDstEncoding); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertString(IMultiLanguage2* This,DWORD *pdwMode,DWORD dwSrcEncoding,DWORD dwDstEncoding,BYTE *pSrcStr,UINT *pcSrcSize,BYTE *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertStringToUnicode(IMultiLanguage2* This,DWORD *pdwMode,DWORD dwEncoding,CHAR *pSrcStr,UINT *pcSrcSize,WCHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertStringFromUnicode(IMultiLanguage2* This,DWORD *pdwMode,DWORD dwEncoding,WCHAR *pSrcStr,UINT *pcSrcSize,CHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertStringReset(IMultiLanguage2* This) { + return This->lpVtbl->ConvertStringReset(This); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetRfc1766FromLcid(IMultiLanguage2* This,LCID Locale,BSTR *pbstrRfc1766) { + return This->lpVtbl->GetRfc1766FromLcid(This,Locale,pbstrRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetLcidFromRfc1766(IMultiLanguage2* This,LCID *pLocale,BSTR bstrRfc1766) { + return This->lpVtbl->GetLcidFromRfc1766(This,pLocale,bstrRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage2_EnumRfc1766(IMultiLanguage2* This,LANGID LangId,IEnumRfc1766 **ppEnumRfc1766) { + return This->lpVtbl->EnumRfc1766(This,LangId,ppEnumRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetRfc1766Info(IMultiLanguage2* This,LCID Locale,LANGID LangId,PRFC1766INFO pRfc1766Info) { + return This->lpVtbl->GetRfc1766Info(This,Locale,LangId,pRfc1766Info); +} +static FORCEINLINE HRESULT IMultiLanguage2_CreateConvertCharset(IMultiLanguage2* This,UINT uiSrcCodePage,UINT uiDstCodePage,DWORD dwProperty,IMLangConvertCharset **ppMLangConvertCharset) { + return This->lpVtbl->CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertStringInIStream(IMultiLanguage2* This,DWORD *pdwMode,DWORD dwFlag,WCHAR *lpFallBack,DWORD dwSrcEncoding,DWORD dwDstEncoding,IStream *pstmIn,IStream *pstmOut) { + return This->lpVtbl->ConvertStringInIStream(This,pdwMode,dwFlag,lpFallBack,dwSrcEncoding,dwDstEncoding,pstmIn,pstmOut); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertStringToUnicodeEx(IMultiLanguage2* This,DWORD *pdwMode,DWORD dwEncoding,CHAR *pSrcStr,UINT *pcSrcSize,WCHAR *pDstStr,UINT *pcDstSize,DWORD dwFlag,WCHAR *lpFallBack) { + return This->lpVtbl->ConvertStringToUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack); +} +static FORCEINLINE HRESULT IMultiLanguage2_ConvertStringFromUnicodeEx(IMultiLanguage2* This,DWORD *pdwMode,DWORD dwEncoding,WCHAR *pSrcStr,UINT *pcSrcSize,CHAR *pDstStr,UINT *pcDstSize,DWORD dwFlag,WCHAR *lpFallBack) { + return This->lpVtbl->ConvertStringFromUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack); +} +static FORCEINLINE HRESULT IMultiLanguage2_DetectCodepageInIStream(IMultiLanguage2* This,DWORD dwFlag,DWORD dwPrefWinCodePage,IStream *pstmIn,DetectEncodingInfo *lpEncoding,INT *pnScores) { + return This->lpVtbl->DetectCodepageInIStream(This,dwFlag,dwPrefWinCodePage,pstmIn,lpEncoding,pnScores); +} +static FORCEINLINE HRESULT IMultiLanguage2_DetectInputCodepage(IMultiLanguage2* This,DWORD dwFlag,DWORD dwPrefWinCodePage,CHAR *pSrcStr,INT *pcSrcSize,DetectEncodingInfo *lpEncoding,INT *pnScores) { + return This->lpVtbl->DetectInputCodepage(This,dwFlag,dwPrefWinCodePage,pSrcStr,pcSrcSize,lpEncoding,pnScores); +} +static FORCEINLINE HRESULT IMultiLanguage2_ValidateCodePage(IMultiLanguage2* This,UINT uiCodePage,HWND hwnd) { + return This->lpVtbl->ValidateCodePage(This,uiCodePage,hwnd); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetCodePageDescription(IMultiLanguage2* This,UINT uiCodePage,LCID lcid,LPWSTR lpWideCharStr,int cchWideChar) { + return This->lpVtbl->GetCodePageDescription(This,uiCodePage,lcid,lpWideCharStr,cchWideChar); +} +static FORCEINLINE HRESULT IMultiLanguage2_IsCodePageInstallable(IMultiLanguage2* This,UINT uiCodePage) { + return This->lpVtbl->IsCodePageInstallable(This,uiCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage2_SetMimeDBSource(IMultiLanguage2* This,MIMECONTF dwSource) { + return This->lpVtbl->SetMimeDBSource(This,dwSource); +} +static FORCEINLINE HRESULT IMultiLanguage2_GetNumberOfScripts(IMultiLanguage2* This,UINT *pnScripts) { + return This->lpVtbl->GetNumberOfScripts(This,pnScripts); +} +static FORCEINLINE HRESULT IMultiLanguage2_EnumScripts(IMultiLanguage2* This,DWORD dwFlags,LANGID LangId,IEnumScript **ppEnumScript) { + return This->lpVtbl->EnumScripts(This,dwFlags,LangId,ppEnumScript); +} +static FORCEINLINE HRESULT IMultiLanguage2_ValidateCodePageEx(IMultiLanguage2* This,UINT uiCodePage,HWND hwnd,DWORD dwfIODControl) { + return This->lpVtbl->ValidateCodePageEx(This,uiCodePage,hwnd,dwfIODControl); +} +#endif +#endif + +#endif + + +#endif /* __IMultiLanguage2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMultiLanguage3 interface + */ +#ifndef __IMultiLanguage3_INTERFACE_DEFINED__ +#define __IMultiLanguage3_INTERFACE_DEFINED__ + +typedef IMultiLanguage3 *LPMULTILANGUAGE3; +DEFINE_GUID(IID_IMultiLanguage3, 0x4e5868ab, 0xb157, 0x4623, 0x9a,0xcc, 0x6a,0x1d,0x9c,0xae,0xbe,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4e5868ab-b157-4623-9acc-6a1d9caebe04") +IMultiLanguage3 : public IMultiLanguage2 +{ + virtual HRESULT STDMETHODCALLTYPE DetectOutboundCodePage( + DWORD dwFlags, + LPCWSTR lpWideCharStr, + UINT cchWideChar, + UINT *puiPreferredCodePages, + UINT nPreferredCodePages, + UINT *puiDetectedCodePages, + UINT *pnDetectedCodePages, + WCHAR *lpSpecialChar) = 0; + + virtual HRESULT STDMETHODCALLTYPE DetectOutboundCodePageInIStream( + DWORD dwFlags, + IStream *pStrIn, + UINT *puiPreferredCodePages, + UINT nPreferredCodePages, + UINT *puiDetectedCodePages, + UINT *pnDetectedCodePages, + WCHAR *lpSpecialChar) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMultiLanguage3, 0x4e5868ab, 0xb157, 0x4623, 0x9a,0xcc, 0x6a,0x1d,0x9c,0xae,0xbe,0x04) +#endif +#else +typedef struct IMultiLanguage3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMultiLanguage3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMultiLanguage3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMultiLanguage3 *This); + + /*** IMultiLanguage2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNumberOfCodePageInfo)( + IMultiLanguage3 *This, + UINT *pcCodePage); + + HRESULT (STDMETHODCALLTYPE *GetCodePageInfo)( + IMultiLanguage3 *This, + UINT uiCodePage, + LANGID LangId, + PMIMECPINFO pCodePageInfo); + + HRESULT (STDMETHODCALLTYPE *GetFamilyCodePage)( + IMultiLanguage3 *This, + UINT uiCodePage, + UINT *puiFamilyCodePage); + + HRESULT (STDMETHODCALLTYPE *EnumCodePages)( + IMultiLanguage3 *This, + DWORD grfFlags, + LANGID LangId, + IEnumCodePage **ppEnumCodePage); + + HRESULT (STDMETHODCALLTYPE *GetCharsetInfo)( + IMultiLanguage3 *This, + BSTR Charset, + PMIMECSETINFO pCharsetInfo); + + HRESULT (STDMETHODCALLTYPE *IsConvertible)( + IMultiLanguage3 *This, + DWORD dwSrcEncoding, + DWORD dwDstEncoding); + + HRESULT (STDMETHODCALLTYPE *ConvertString)( + IMultiLanguage3 *This, + DWORD *pdwMode, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + BYTE *pSrcStr, + UINT *pcSrcSize, + BYTE *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringToUnicode)( + IMultiLanguage3 *This, + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringFromUnicode)( + IMultiLanguage3 *This, + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize); + + HRESULT (STDMETHODCALLTYPE *ConvertStringReset)( + IMultiLanguage3 *This); + + HRESULT (STDMETHODCALLTYPE *GetRfc1766FromLcid)( + IMultiLanguage3 *This, + LCID Locale, + BSTR *pbstrRfc1766); + + HRESULT (STDMETHODCALLTYPE *GetLcidFromRfc1766)( + IMultiLanguage3 *This, + LCID *pLocale, + BSTR bstrRfc1766); + + HRESULT (STDMETHODCALLTYPE *EnumRfc1766)( + IMultiLanguage3 *This, + LANGID LangId, + IEnumRfc1766 **ppEnumRfc1766); + + HRESULT (STDMETHODCALLTYPE *GetRfc1766Info)( + IMultiLanguage3 *This, + LCID Locale, + LANGID LangId, + PRFC1766INFO pRfc1766Info); + + HRESULT (STDMETHODCALLTYPE *CreateConvertCharset)( + IMultiLanguage3 *This, + UINT uiSrcCodePage, + UINT uiDstCodePage, + DWORD dwProperty, + IMLangConvertCharset **ppMLangConvertCharset); + + HRESULT (STDMETHODCALLTYPE *ConvertStringInIStream)( + IMultiLanguage3 *This, + DWORD *pdwMode, + DWORD dwFlag, + WCHAR *lpFallBack, + DWORD dwSrcEncoding, + DWORD dwDstEncoding, + IStream *pstmIn, + IStream *pstmOut); + + HRESULT (STDMETHODCALLTYPE *ConvertStringToUnicodeEx)( + IMultiLanguage3 *This, + DWORD *pdwMode, + DWORD dwEncoding, + CHAR *pSrcStr, + UINT *pcSrcSize, + WCHAR *pDstStr, + UINT *pcDstSize, + DWORD dwFlag, + WCHAR *lpFallBack); + + HRESULT (STDMETHODCALLTYPE *ConvertStringFromUnicodeEx)( + IMultiLanguage3 *This, + DWORD *pdwMode, + DWORD dwEncoding, + WCHAR *pSrcStr, + UINT *pcSrcSize, + CHAR *pDstStr, + UINT *pcDstSize, + DWORD dwFlag, + WCHAR *lpFallBack); + + HRESULT (STDMETHODCALLTYPE *DetectCodepageInIStream)( + IMultiLanguage3 *This, + DWORD dwFlag, + DWORD dwPrefWinCodePage, + IStream *pstmIn, + DetectEncodingInfo *lpEncoding, + INT *pnScores); + + HRESULT (STDMETHODCALLTYPE *DetectInputCodepage)( + IMultiLanguage3 *This, + DWORD dwFlag, + DWORD dwPrefWinCodePage, + CHAR *pSrcStr, + INT *pcSrcSize, + DetectEncodingInfo *lpEncoding, + INT *pnScores); + + HRESULT (STDMETHODCALLTYPE *ValidateCodePage)( + IMultiLanguage3 *This, + UINT uiCodePage, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *GetCodePageDescription)( + IMultiLanguage3 *This, + UINT uiCodePage, + LCID lcid, + LPWSTR lpWideCharStr, + int cchWideChar); + + HRESULT (STDMETHODCALLTYPE *IsCodePageInstallable)( + IMultiLanguage3 *This, + UINT uiCodePage); + + HRESULT (STDMETHODCALLTYPE *SetMimeDBSource)( + IMultiLanguage3 *This, + MIMECONTF dwSource); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfScripts)( + IMultiLanguage3 *This, + UINT *pnScripts); + + HRESULT (STDMETHODCALLTYPE *EnumScripts)( + IMultiLanguage3 *This, + DWORD dwFlags, + LANGID LangId, + IEnumScript **ppEnumScript); + + HRESULT (STDMETHODCALLTYPE *ValidateCodePageEx)( + IMultiLanguage3 *This, + UINT uiCodePage, + HWND hwnd, + DWORD dwfIODControl); + + /*** IMultiLanguage3 methods ***/ + HRESULT (STDMETHODCALLTYPE *DetectOutboundCodePage)( + IMultiLanguage3 *This, + DWORD dwFlags, + LPCWSTR lpWideCharStr, + UINT cchWideChar, + UINT *puiPreferredCodePages, + UINT nPreferredCodePages, + UINT *puiDetectedCodePages, + UINT *pnDetectedCodePages, + WCHAR *lpSpecialChar); + + HRESULT (STDMETHODCALLTYPE *DetectOutboundCodePageInIStream)( + IMultiLanguage3 *This, + DWORD dwFlags, + IStream *pStrIn, + UINT *puiPreferredCodePages, + UINT nPreferredCodePages, + UINT *puiDetectedCodePages, + UINT *pnDetectedCodePages, + WCHAR *lpSpecialChar); + + END_INTERFACE +} IMultiLanguage3Vtbl; + +interface IMultiLanguage3 { + CONST_VTBL IMultiLanguage3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMultiLanguage3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMultiLanguage3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMultiLanguage3_Release(This) (This)->lpVtbl->Release(This) +/*** IMultiLanguage2 methods ***/ +#define IMultiLanguage3_GetNumberOfCodePageInfo(This,pcCodePage) (This)->lpVtbl->GetNumberOfCodePageInfo(This,pcCodePage) +#define IMultiLanguage3_GetCodePageInfo(This,uiCodePage,LangId,pCodePageInfo) (This)->lpVtbl->GetCodePageInfo(This,uiCodePage,LangId,pCodePageInfo) +#define IMultiLanguage3_GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage) (This)->lpVtbl->GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage) +#define IMultiLanguage3_EnumCodePages(This,grfFlags,LangId,ppEnumCodePage) (This)->lpVtbl->EnumCodePages(This,grfFlags,LangId,ppEnumCodePage) +#define IMultiLanguage3_GetCharsetInfo(This,Charset,pCharsetInfo) (This)->lpVtbl->GetCharsetInfo(This,Charset,pCharsetInfo) +#define IMultiLanguage3_IsConvertible(This,dwSrcEncoding,dwDstEncoding) (This)->lpVtbl->IsConvertible(This,dwSrcEncoding,dwDstEncoding) +#define IMultiLanguage3_ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage3_ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage3_ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) (This)->lpVtbl->ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize) +#define IMultiLanguage3_ConvertStringReset(This) (This)->lpVtbl->ConvertStringReset(This) +#define IMultiLanguage3_GetRfc1766FromLcid(This,Locale,pbstrRfc1766) (This)->lpVtbl->GetRfc1766FromLcid(This,Locale,pbstrRfc1766) +#define IMultiLanguage3_GetLcidFromRfc1766(This,pLocale,bstrRfc1766) (This)->lpVtbl->GetLcidFromRfc1766(This,pLocale,bstrRfc1766) +#define IMultiLanguage3_EnumRfc1766(This,LangId,ppEnumRfc1766) (This)->lpVtbl->EnumRfc1766(This,LangId,ppEnumRfc1766) +#define IMultiLanguage3_GetRfc1766Info(This,Locale,LangId,pRfc1766Info) (This)->lpVtbl->GetRfc1766Info(This,Locale,LangId,pRfc1766Info) +#define IMultiLanguage3_CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset) (This)->lpVtbl->CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset) +#define IMultiLanguage3_ConvertStringInIStream(This,pdwMode,dwFlag,lpFallBack,dwSrcEncoding,dwDstEncoding,pstmIn,pstmOut) (This)->lpVtbl->ConvertStringInIStream(This,pdwMode,dwFlag,lpFallBack,dwSrcEncoding,dwDstEncoding,pstmIn,pstmOut) +#define IMultiLanguage3_ConvertStringToUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) (This)->lpVtbl->ConvertStringToUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) +#define IMultiLanguage3_ConvertStringFromUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) (This)->lpVtbl->ConvertStringFromUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack) +#define IMultiLanguage3_DetectCodepageInIStream(This,dwFlag,dwPrefWinCodePage,pstmIn,lpEncoding,pnScores) (This)->lpVtbl->DetectCodepageInIStream(This,dwFlag,dwPrefWinCodePage,pstmIn,lpEncoding,pnScores) +#define IMultiLanguage3_DetectInputCodepage(This,dwFlag,dwPrefWinCodePage,pSrcStr,pcSrcSize,lpEncoding,pnScores) (This)->lpVtbl->DetectInputCodepage(This,dwFlag,dwPrefWinCodePage,pSrcStr,pcSrcSize,lpEncoding,pnScores) +#define IMultiLanguage3_ValidateCodePage(This,uiCodePage,hwnd) (This)->lpVtbl->ValidateCodePage(This,uiCodePage,hwnd) +#define IMultiLanguage3_GetCodePageDescription(This,uiCodePage,lcid,lpWideCharStr,cchWideChar) (This)->lpVtbl->GetCodePageDescription(This,uiCodePage,lcid,lpWideCharStr,cchWideChar) +#define IMultiLanguage3_IsCodePageInstallable(This,uiCodePage) (This)->lpVtbl->IsCodePageInstallable(This,uiCodePage) +#define IMultiLanguage3_SetMimeDBSource(This,dwSource) (This)->lpVtbl->SetMimeDBSource(This,dwSource) +#define IMultiLanguage3_GetNumberOfScripts(This,pnScripts) (This)->lpVtbl->GetNumberOfScripts(This,pnScripts) +#define IMultiLanguage3_EnumScripts(This,dwFlags,LangId,ppEnumScript) (This)->lpVtbl->EnumScripts(This,dwFlags,LangId,ppEnumScript) +#define IMultiLanguage3_ValidateCodePageEx(This,uiCodePage,hwnd,dwfIODControl) (This)->lpVtbl->ValidateCodePageEx(This,uiCodePage,hwnd,dwfIODControl) +/*** IMultiLanguage3 methods ***/ +#define IMultiLanguage3_DetectOutboundCodePage(This,dwFlags,lpWideCharStr,cchWideChar,puiPreferredCodePages,nPreferredCodePages,puiDetectedCodePages,pnDetectedCodePages,lpSpecialChar) (This)->lpVtbl->DetectOutboundCodePage(This,dwFlags,lpWideCharStr,cchWideChar,puiPreferredCodePages,nPreferredCodePages,puiDetectedCodePages,pnDetectedCodePages,lpSpecialChar) +#define IMultiLanguage3_DetectOutboundCodePageInIStream(This,dwFlags,pStrIn,puiPreferredCodePages,nPreferredCodePages,puiDetectedCodePages,pnDetectedCodePages,lpSpecialChar) (This)->lpVtbl->DetectOutboundCodePageInIStream(This,dwFlags,pStrIn,puiPreferredCodePages,nPreferredCodePages,puiDetectedCodePages,pnDetectedCodePages,lpSpecialChar) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMultiLanguage3_QueryInterface(IMultiLanguage3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMultiLanguage3_AddRef(IMultiLanguage3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMultiLanguage3_Release(IMultiLanguage3* This) { + return This->lpVtbl->Release(This); +} +/*** IMultiLanguage2 methods ***/ +static FORCEINLINE HRESULT IMultiLanguage3_GetNumberOfCodePageInfo(IMultiLanguage3* This,UINT *pcCodePage) { + return This->lpVtbl->GetNumberOfCodePageInfo(This,pcCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetCodePageInfo(IMultiLanguage3* This,UINT uiCodePage,LANGID LangId,PMIMECPINFO pCodePageInfo) { + return This->lpVtbl->GetCodePageInfo(This,uiCodePage,LangId,pCodePageInfo); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetFamilyCodePage(IMultiLanguage3* This,UINT uiCodePage,UINT *puiFamilyCodePage) { + return This->lpVtbl->GetFamilyCodePage(This,uiCodePage,puiFamilyCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage3_EnumCodePages(IMultiLanguage3* This,DWORD grfFlags,LANGID LangId,IEnumCodePage **ppEnumCodePage) { + return This->lpVtbl->EnumCodePages(This,grfFlags,LangId,ppEnumCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetCharsetInfo(IMultiLanguage3* This,BSTR Charset,PMIMECSETINFO pCharsetInfo) { + return This->lpVtbl->GetCharsetInfo(This,Charset,pCharsetInfo); +} +static FORCEINLINE HRESULT IMultiLanguage3_IsConvertible(IMultiLanguage3* This,DWORD dwSrcEncoding,DWORD dwDstEncoding) { + return This->lpVtbl->IsConvertible(This,dwSrcEncoding,dwDstEncoding); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertString(IMultiLanguage3* This,DWORD *pdwMode,DWORD dwSrcEncoding,DWORD dwDstEncoding,BYTE *pSrcStr,UINT *pcSrcSize,BYTE *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertString(This,pdwMode,dwSrcEncoding,dwDstEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertStringToUnicode(IMultiLanguage3* This,DWORD *pdwMode,DWORD dwEncoding,CHAR *pSrcStr,UINT *pcSrcSize,WCHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertStringToUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertStringFromUnicode(IMultiLanguage3* This,DWORD *pdwMode,DWORD dwEncoding,WCHAR *pSrcStr,UINT *pcSrcSize,CHAR *pDstStr,UINT *pcDstSize) { + return This->lpVtbl->ConvertStringFromUnicode(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertStringReset(IMultiLanguage3* This) { + return This->lpVtbl->ConvertStringReset(This); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetRfc1766FromLcid(IMultiLanguage3* This,LCID Locale,BSTR *pbstrRfc1766) { + return This->lpVtbl->GetRfc1766FromLcid(This,Locale,pbstrRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetLcidFromRfc1766(IMultiLanguage3* This,LCID *pLocale,BSTR bstrRfc1766) { + return This->lpVtbl->GetLcidFromRfc1766(This,pLocale,bstrRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage3_EnumRfc1766(IMultiLanguage3* This,LANGID LangId,IEnumRfc1766 **ppEnumRfc1766) { + return This->lpVtbl->EnumRfc1766(This,LangId,ppEnumRfc1766); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetRfc1766Info(IMultiLanguage3* This,LCID Locale,LANGID LangId,PRFC1766INFO pRfc1766Info) { + return This->lpVtbl->GetRfc1766Info(This,Locale,LangId,pRfc1766Info); +} +static FORCEINLINE HRESULT IMultiLanguage3_CreateConvertCharset(IMultiLanguage3* This,UINT uiSrcCodePage,UINT uiDstCodePage,DWORD dwProperty,IMLangConvertCharset **ppMLangConvertCharset) { + return This->lpVtbl->CreateConvertCharset(This,uiSrcCodePage,uiDstCodePage,dwProperty,ppMLangConvertCharset); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertStringInIStream(IMultiLanguage3* This,DWORD *pdwMode,DWORD dwFlag,WCHAR *lpFallBack,DWORD dwSrcEncoding,DWORD dwDstEncoding,IStream *pstmIn,IStream *pstmOut) { + return This->lpVtbl->ConvertStringInIStream(This,pdwMode,dwFlag,lpFallBack,dwSrcEncoding,dwDstEncoding,pstmIn,pstmOut); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertStringToUnicodeEx(IMultiLanguage3* This,DWORD *pdwMode,DWORD dwEncoding,CHAR *pSrcStr,UINT *pcSrcSize,WCHAR *pDstStr,UINT *pcDstSize,DWORD dwFlag,WCHAR *lpFallBack) { + return This->lpVtbl->ConvertStringToUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack); +} +static FORCEINLINE HRESULT IMultiLanguage3_ConvertStringFromUnicodeEx(IMultiLanguage3* This,DWORD *pdwMode,DWORD dwEncoding,WCHAR *pSrcStr,UINT *pcSrcSize,CHAR *pDstStr,UINT *pcDstSize,DWORD dwFlag,WCHAR *lpFallBack) { + return This->lpVtbl->ConvertStringFromUnicodeEx(This,pdwMode,dwEncoding,pSrcStr,pcSrcSize,pDstStr,pcDstSize,dwFlag,lpFallBack); +} +static FORCEINLINE HRESULT IMultiLanguage3_DetectCodepageInIStream(IMultiLanguage3* This,DWORD dwFlag,DWORD dwPrefWinCodePage,IStream *pstmIn,DetectEncodingInfo *lpEncoding,INT *pnScores) { + return This->lpVtbl->DetectCodepageInIStream(This,dwFlag,dwPrefWinCodePage,pstmIn,lpEncoding,pnScores); +} +static FORCEINLINE HRESULT IMultiLanguage3_DetectInputCodepage(IMultiLanguage3* This,DWORD dwFlag,DWORD dwPrefWinCodePage,CHAR *pSrcStr,INT *pcSrcSize,DetectEncodingInfo *lpEncoding,INT *pnScores) { + return This->lpVtbl->DetectInputCodepage(This,dwFlag,dwPrefWinCodePage,pSrcStr,pcSrcSize,lpEncoding,pnScores); +} +static FORCEINLINE HRESULT IMultiLanguage3_ValidateCodePage(IMultiLanguage3* This,UINT uiCodePage,HWND hwnd) { + return This->lpVtbl->ValidateCodePage(This,uiCodePage,hwnd); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetCodePageDescription(IMultiLanguage3* This,UINT uiCodePage,LCID lcid,LPWSTR lpWideCharStr,int cchWideChar) { + return This->lpVtbl->GetCodePageDescription(This,uiCodePage,lcid,lpWideCharStr,cchWideChar); +} +static FORCEINLINE HRESULT IMultiLanguage3_IsCodePageInstallable(IMultiLanguage3* This,UINT uiCodePage) { + return This->lpVtbl->IsCodePageInstallable(This,uiCodePage); +} +static FORCEINLINE HRESULT IMultiLanguage3_SetMimeDBSource(IMultiLanguage3* This,MIMECONTF dwSource) { + return This->lpVtbl->SetMimeDBSource(This,dwSource); +} +static FORCEINLINE HRESULT IMultiLanguage3_GetNumberOfScripts(IMultiLanguage3* This,UINT *pnScripts) { + return This->lpVtbl->GetNumberOfScripts(This,pnScripts); +} +static FORCEINLINE HRESULT IMultiLanguage3_EnumScripts(IMultiLanguage3* This,DWORD dwFlags,LANGID LangId,IEnumScript **ppEnumScript) { + return This->lpVtbl->EnumScripts(This,dwFlags,LangId,ppEnumScript); +} +static FORCEINLINE HRESULT IMultiLanguage3_ValidateCodePageEx(IMultiLanguage3* This,UINT uiCodePage,HWND hwnd,DWORD dwfIODControl) { + return This->lpVtbl->ValidateCodePageEx(This,uiCodePage,hwnd,dwfIODControl); +} +/*** IMultiLanguage3 methods ***/ +static FORCEINLINE HRESULT IMultiLanguage3_DetectOutboundCodePage(IMultiLanguage3* This,DWORD dwFlags,LPCWSTR lpWideCharStr,UINT cchWideChar,UINT *puiPreferredCodePages,UINT nPreferredCodePages,UINT *puiDetectedCodePages,UINT *pnDetectedCodePages,WCHAR *lpSpecialChar) { + return This->lpVtbl->DetectOutboundCodePage(This,dwFlags,lpWideCharStr,cchWideChar,puiPreferredCodePages,nPreferredCodePages,puiDetectedCodePages,pnDetectedCodePages,lpSpecialChar); +} +static FORCEINLINE HRESULT IMultiLanguage3_DetectOutboundCodePageInIStream(IMultiLanguage3* This,DWORD dwFlags,IStream *pStrIn,UINT *puiPreferredCodePages,UINT nPreferredCodePages,UINT *puiDetectedCodePages,UINT *pnDetectedCodePages,WCHAR *lpSpecialChar) { + return This->lpVtbl->DetectOutboundCodePageInIStream(This,dwFlags,pStrIn,puiPreferredCodePages,nPreferredCodePages,puiDetectedCodePages,pnDetectedCodePages,lpSpecialChar); +} +#endif +#endif + +#endif + + +#endif /* __IMultiLanguage3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CMultiLanguage coclass + */ + +DEFINE_GUID(CLSID_CMultiLanguage, 0x275c23e2, 0x3747, 0x11d0, 0x9f,0xea, 0x00,0xaa,0x00,0x3f,0x86,0x46); + +#ifdef __cplusplus +class DECLSPEC_UUID("275c23e2-3747-11d0-9fea-00aa003f8646") CMultiLanguage; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CMultiLanguage, 0x275c23e2, 0x3747, 0x11d0, 0x9f,0xea, 0x00,0xaa,0x00,0x3f,0x86,0x46) +#endif +#endif + +STDAPI LcidToRfc1766A(LCID, LPSTR, INT); +STDAPI LcidToRfc1766W(LCID, LPWSTR, INT); +#define LcidToRfc1766 WINELIB_NAME_AW(LcidToRfc1766) +STDAPI Rfc1766ToLcidA(LCID *, LPCSTR); +STDAPI Rfc1766ToLcidW(LCID *, LPCWSTR); +#define Rfc1766ToLcid WINELIB_NAME_AW(Rfc1766ToLcid) +STDAPI GetGlobalFontLinkObject(void **unknown); +STDAPI IsConvertINetStringAvailable(DWORD, DWORD); +STDAPI ConvertINetString(LPDWORD, DWORD, DWORD, LPCSTR, LPINT, LPSTR, LPINT); +STDAPI ConvertINetMultiByteToUnicode(LPDWORD, DWORD, LPCSTR, LPINT, LPWSTR, LPINT); +STDAPI ConvertINetUnicodeToMultiByte(LPDWORD, DWORD, LPCWSTR, LPINT, LPSTR, LPINT); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HDC_UserSize (ULONG *, ULONG, HDC *); +unsigned char * __RPC_USER HDC_UserMarshal (ULONG *, unsigned char *, HDC *); +unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *); +void __RPC_USER HDC_UserFree (ULONG *, HDC *); +ULONG __RPC_USER HFONT_UserSize (ULONG *, ULONG, HFONT *); +unsigned char * __RPC_USER HFONT_UserMarshal (ULONG *, unsigned char *, HFONT *); +unsigned char * __RPC_USER HFONT_UserUnmarshal(ULONG *, unsigned char *, HFONT *); +void __RPC_USER HFONT_UserFree (ULONG *, HFONT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mlang_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mlang.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mlang.idl new file mode 100644 index 0000000..a497092 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mlang.idl @@ -0,0 +1,769 @@ +/* + * Copyright (C) 2004 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +#endif + +interface IStream; + +cpp_quote("#define CPIOD_PEEK 0x40000000") +cpp_quote("#define CPIOD_FORCE_PROMPT 0x80000000") + +[ + object, + uuid(359f3443-bd4a-11d0-b188-00aa0038c969), + pointer_default(unique) +] +interface IMLangCodePages : IUnknown +{ + HRESULT GetCharCodePages( + [in] WCHAR chSrc, + [out] DWORD *pdwCodePages); + HRESULT GetStrCodePages( + [in, size_is(cchSrc)] const WCHAR *pszSrc, + [in] LONG cchSrc, + [in] DWORD dwPriorityCodePages, + [out] DWORD *pdwCodePages, + [out] LONG *pcchCodePages); + HRESULT CodePageToCodePages( + [in] UINT uCodePage, + [out] DWORD *pdwCodePages); + HRESULT CodePagesToCodePage( + [in] DWORD dwCodePages, + [in] UINT uDefaultCodePage, + [out] UINT *puCodePage); +} + +[ + object, + uuid(359f3441-bd4a-11d0-b188-00aa0038c969), + pointer_default(unique) +] +interface IMLangFontLink : IMLangCodePages +{ + HRESULT GetFontCodePages( + [in] HDC hDC, + [in] HFONT hFont, + [out] DWORD *pdwCodePages ); + + HRESULT MapFont( + [in] HDC hDC, + [in] DWORD dwCodePages, + [in] HFONT hSrcFont, + [out] HFONT *phDestFont); + + HRESULT ReleaseFont( + [in] HFONT hFont); + + HRESULT ResetFontMapping(); +} + +[ + object, + uuid(ae5f1430-388b-11d2-8380-00c04f8f5da1), + pointer_default(unique) +] +interface IEnumScript : IUnknown +{ + const USHORT MAX_SCRIPT_NAME = 48; + const USHORT MAX_MIMEFACE_NAME = 32; + + typedef BYTE SCRIPT_ID; + typedef __int64 SCRIPT_IDS; + + typedef enum tagSCRIPTCONTF + { + sidDefault = 0, + sidMerge = sidDefault + 1, + sidAsciiSym = sidMerge + 1, + sidAsciiLatin = sidAsciiSym + 1, + sidLatin = sidAsciiLatin + 1, + sidGreek = sidLatin + 1, + sidCyrillic = sidGreek + 1, + sidArmenian = sidCyrillic + 1, + sidHebrew = sidArmenian + 1, + sidArabic = sidHebrew + 1, + sidDevanagari = sidArabic + 1, + sidBengali = sidDevanagari + 1, + sidGurmukhi = sidBengali + 1, + sidGujarati = sidGurmukhi + 1, + sidOriya = sidGujarati + 1, + sidTamil = sidOriya + 1, + sidTelugu = sidTamil + 1, + sidKannada = sidTelugu + 1, + sidMalayalam = sidKannada + 1, + sidThai = sidMalayalam + 1, + sidLao = sidThai + 1, + sidTibetan = sidLao + 1, + sidGeorgian = sidTibetan + 1, + sidHangul = sidGeorgian + 1, + sidKana = sidHangul + 1, + sidBopomofo = sidKana + 1, + sidHan = sidBopomofo + 1, + sidEthiopic = sidHan + 1, + sidCanSyllabic = sidEthiopic + 1, + sidCherokee = sidCanSyllabic + 1, + sidYi = sidCherokee + 1, + sidBraille = sidYi + 1, + sidRunic = sidBraille + 1, + sidOgham = sidRunic + 1, + sidSinhala = sidOgham + 1, + sidSyriac = sidSinhala + 1, + sidBurmese = sidSyriac + 1, + sidKhmer = sidBurmese + 1, + sidThaana = sidKhmer + 1, + sidMongolian = sidThaana + 1, + sidUserDefined = sidMongolian + 1, + sidLim = sidUserDefined + 1, + sidFEFirst = sidHangul, + sidFELast = sidHan + } SCRIPTCONTF; + + typedef enum tagSCRIPTFONTCONTF + { + SCRIPTCONTF_FIXED_FONT = 0x1, + SCRIPTCONTF_PROPORTIONAL_FONT = 0x2, + SCRIPTCONTF_SCRIPT_USER = 0x10000, + SCRIPTCONTF_SCRIPT_HIDE = 0x20000, + SCRIPTCONTF_SCRIPT_SYSTEM = 0x40000 + } SCRIPTFONTCONTF; + + typedef struct tagSCRIPFONTINFO + { + SCRIPT_IDS scripts; + WCHAR wszFont[MAX_MIMEFACE_NAME]; + } SCRIPTFONTINFO, *PSCRIPTFONTINFO; + + typedef struct tagSCRIPTINFO { + SCRIPT_ID ScriptId; + UINT uiCodePage; + WCHAR wszDescription[MAX_SCRIPT_NAME]; + WCHAR wszFixedWidthFont[MAX_MIMEFACE_NAME]; + WCHAR wszProportionalFont[MAX_MIMEFACE_NAME]; + } SCRIPTINFO, *PSCRIPTINFO; + + HRESULT Clone( + [out] IEnumScript **ppEnum); + + HRESULT Next( + [in] ULONG celt, + [out] PSCRIPTINFO rgelt, + [out] ULONG *pceltFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG celt); +} + +[ + object, + uuid(dccfc162-2b38-11d2-b7ec-00c04f8f5d9a), + pointer_default(unique) +] +interface IMLangFontLink2 : IMLangCodePages +{ + typedef struct tagUNICODERANGE + { + WCHAR wcFrom; + WCHAR wcTo; + } UNICODERANGE; + + typedef [unique] IMLangFontLink2 *PMLANGFONTLINK2; + + HRESULT GetFontCodePages( + [in] HDC hDC, + [in] HFONT hFont, + [out] DWORD *pdwCodePages ); + + HRESULT ReleaseFont( + [in] HFONT hFont); + + HRESULT ResetFontMapping(); + + HRESULT MapFont( + [in] HDC hDC, + [in] DWORD dwCodePages, + [in] WCHAR chSrc, + [out] HFONT *pFont); + + HRESULT GetFontUnicodeRanges( + [in] HDC hDC, + [in,out] UINT *puiRanges, + [out] UNICODERANGE* pUranges); + + HRESULT GetScriptFontInfo( + [in] SCRIPT_ID sid, + [in] DWORD dwFlags, + [in,out] UINT *puiFonts, + [out] SCRIPTFONTINFO* pScriptFont); + + HRESULT CodePageToScriptID( + [in] UINT uiCodePage, + [out] SCRIPT_ID *pSid); +} + +[ + object, + uuid(c04d65ce-b70d-11d0-b188-00aa0038c969), + pointer_default(unique) +] +interface IMLangString : IUnknown +{ +#ifdef NEWMLSTR + HRESULT LockMLStr( + [in] LONG lPos, + [in] DWORD dwFlags, + [out] DWORD* pdwCookie, + [out] LONG* plActualPos, + [out] LONG* plActualLen); + + HRESULT UnlockMLStr( + [in] DWORD dwCookie); +#else + HRESULT Sync( + [in] BOOL fNoAccess); +#endif + HRESULT GetLength( + [out, retval] LONG* plLen); + HRESULT SetMLStr( + [in] LONG lDestPos, + [in] LONG lDestLen, + [in] IUnknown *pSrcMLStr, + [in] LONG lSrcPos, + [in] LONG lSrcLen); +#ifdef NEWMLSTR + HRESULT RegisterAttr( + [in] IUnknown *pUnk, + [out] DWORD* pdwCookie); + HRESULT UnregisterAttr( + [in] DWORD dwCookie); + HRESULT EnumAttr( + [out] IEnumUnknown **ppEnumUnk); + HRESULT FindAttr( + [in] REFIID riid, + [in] LPARAM lParam, + [out] IUnknown **ppUnk); +#else + HRESULT GetMLStr( + [in] LONG lSrcPos, + [in] LONG lSrcLen, + [in] IUnknown *pUnkOuter, + [in] DWORD dwClsContext, + [in] const IID* piid, + [out] IUnknown** ppDestMLStr, + [out] LONG* plDestPos, + [out] LONG* plDestLen); +#endif +} + +[ + object, + uuid(f5be2ee1-bfd7-11d0-b188-00aa0038c969), + pointer_default(unique) +] +interface IMLangLineBreakConsole : IUnknown +{ + HRESULT BreakLineML( + [in] IMLangString* pSrcMLStr, + [in] LONG lSrcPos, + [in] LONG lSrcLen, + [in] LONG cMinColumns, + [in] LONG cMaxColumns, + [out] LONG* plLineLen, + [out] LONG* plSkipLen); + + HRESULT BreakLineW( + [in] LCID locale, + [in, size_is(cchSrc)] const WCHAR* pszSrc, + [in] LONG cchSrc, + [in] LONG cMaxColumns, + [out] LONG* pcchLine, + [out] LONG* pcchSkip ); + + HRESULT BreakLineA( + [in] LCID locale, + [in] UINT uCodePage, + [in, size_is(cchSrc)] const CHAR* pszSrc, + [in] LONG cchSrc, + [in] LONG cMaxColumns, + [out] LONG* pcchLine, + [out] LONG* pcchSkip); +} + +[ + object, + uuid(275c23e3-3747-11d0-9fea-00aa003f8646), + pointer_default(unique) +] +interface IEnumCodePage : IUnknown +{ + const USHORT MAX_MIMECP_NAME = 64; + const USHORT MAX_MIMECSET_NAME = 50; + + typedef enum tagMIMECONTF + { + MIMECONTF_MAILNEWS = 0x00000001, + MIMECONTF_BROWSER = 0x00000002, + MIMECONTF_MINIMAL = 0x00000004, + MIMECONTF_IMPORT = 0x00000008, + MIMECONTF_SAVABLE_MAILNEWS = 0x00000100, + MIMECONTF_SAVABLE_BROWSER = 0x00000200, + MIMECONTF_EXPORT = 0x00000400, + MIMECONTF_PRIVCONVERTER = 0x00010000, + MIMECONTF_VALID = 0x00020000, + MIMECONTF_VALID_NLS = 0x00040000, + MIMECONTF_MIME_IE4 = 0x10000000, + MIMECONTF_MIME_LATEST = 0x20000000, + MIMECONTF_MIME_REGISTRY = 0x40000000 + } MIMECONTF; + + typedef struct tagMIMECPINFO { + DWORD dwFlags; + UINT uiCodePage; + UINT uiFamilyCodePage; + WCHAR wszDescription[MAX_MIMECP_NAME]; + WCHAR wszWebCharset[MAX_MIMECSET_NAME]; + WCHAR wszHeaderCharset[MAX_MIMECSET_NAME]; + WCHAR wszBodyCharset[MAX_MIMECSET_NAME]; + WCHAR wszFixedWidthFont[MAX_MIMEFACE_NAME]; + WCHAR wszProportionalFont[MAX_MIMEFACE_NAME]; + BYTE bGDICharset; + } MIMECPINFO, *PMIMECPINFO; + + typedef struct tagMIMECSETINFO + { + UINT uiCodePage; + UINT uiInternetEncoding; + WCHAR wszCharset[MAX_MIMECSET_NAME]; + } MIMECSETINFO, *PMIMECSETINFO; + + HRESULT Clone( + [out] IEnumCodePage **ppEnum); + + HRESULT Next( + [in] ULONG celt, + [out] PMIMECPINFO rgelt, + [out] ULONG *pceltFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG celt); +} + +[ + object, + uuid(d66d6f98-cdaa-11d0-b822-00c04fc9b31f), + pointer_default(unique) +] +interface IMLangConvertCharset : IUnknown +{ + typedef enum tagMLCONVCHARF + { + MLCONVCHARF_AUTODETECT = 1, + MLCONVCHARF_ENTITIZE = 2, + MLCONVCHARF_NCR_ENTITIZE = 2, + MLCONVCHARF_NAME_ENTITIZE = 4, + MLCONVCHARF_USEDEFCHAR = 8, + MLCONVCHARF_NOBESTFITCHARS = 16, + MLCONVCHARF_DETECTJPN = 32 + } MLCONVCHAR; + + typedef enum tagMLCPF + { + MLDETECTF_MAILNEWS = 0x0001, + MLDETECTF_BROWSER = 0x0002, + MLDETECTF_VALID = 0x0004, + MLDETECTF_VALID_NLS = 0x0008, + MLDETECTF_PRESERVE_ORDER = 0x0010, + MLDETECTF_PREFERRED_ONLY = 0x0020, + MLDETECTF_FILTER_SPECIALCHAR = 0x0040, + MLDETECTF_EURO_UTF8 = 0x0080 + } MLCP; + + HRESULT Initialize( + [in] UINT uiSrcCodePage, + [in] UINT uiDstCodePage, + [in] DWORD dwProperty); + + HRESULT GetSourceCodePage( + [out] UINT *puiSrcCodePage); + + HRESULT GetDestinationCodePage( + [out] UINT *puiDstCodePage); + + HRESULT GetProperty( + [out] DWORD *pdwProperty); + + HRESULT DoConversion( + [in] BYTE *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] BYTE *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT DoConversionToUnicode( + [in] CHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] WCHAR *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT DoConversionFromUnicode( + [in] WCHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] CHAR *pDstStr, + [in,out] UINT *pcDstSize); +} + +[ + uuid(d66d6f99-cdaa-11d0-b822-00c04fc9b31f) +] +coclass CMLangConvertCharset +{ + [default] interface IMLangConvertCharset; +}; + +[ + object, + uuid(3dc39d1d-c030-11d0-b81b-00c04fc9b31f), + pointer_default(unique) +] +interface IEnumRfc1766 : IUnknown +{ + const USHORT MAX_RFC1766_NAME = 6; + const USHORT MAX_LOCALE_NAME = 32; + + typedef struct tagRFC1766INFO + { + LCID lcid; + WCHAR wszRfc1766[MAX_RFC1766_NAME]; + WCHAR wszLocaleName[MAX_LOCALE_NAME]; + } RFC1766INFO, *PRFC1766INFO; + + HRESULT Clone( + [out] IEnumRfc1766 **ppEnum); + + HRESULT Next( + [in] ULONG celt, + [out] PRFC1766INFO rgelt, + [out] ULONG *pceltFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG celt); +} + +[ + object, + uuid(275c23e1-3747-11d0-9fea-00aa003f8646), + pointer_default(unique) +] +interface IMultiLanguage : IUnknown +{ + HRESULT GetNumberOfCodePageInfo( + [out] UINT *pcCodePage); + + HRESULT GetCodePageInfo( + [in] UINT uiCodePage, + [out] PMIMECPINFO pCodePageInfo); + + HRESULT GetFamilyCodePage( + [in] UINT uiCodePage, + [out] UINT *puiFamilyCodePage); + + HRESULT EnumCodePages( + [in] DWORD grfFlags, + [out] IEnumCodePage **ppEnumCodePage); + + HRESULT GetCharsetInfo( + [in] BSTR Charset, + [in] PMIMECSETINFO pCharsetInfo); + + HRESULT IsConvertible( + [in] DWORD dwSrcEncoding, + [in] DWORD dwDstEncoding); + + HRESULT ConvertString( + [in,out] DWORD *pdwMode, + [in] DWORD dwSrcEncoding, + [in] DWORD dwDstEncoding, + [in] BYTE *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] BYTE *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT ConvertStringToUnicode( + [in,out] DWORD *pdwMode, + [in] DWORD dwEncoding, + [in] CHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] WCHAR *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT ConvertStringFromUnicode( + [in,out] DWORD *pdwMode, + [in] DWORD dwEncoding, + [in] WCHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] CHAR *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT ConvertStringReset(); + + HRESULT GetRfc1766FromLcid( + [in] LCID Locale, + [out] BSTR *pbstrRfc1766); + + HRESULT GetLcidFromRfc1766( + [out] LCID *pLocale, + [in] BSTR bstrRfc1766); + + HRESULT EnumRfc1766( + [out] IEnumRfc1766 **ppEnumRfc1766); + + HRESULT GetRfc1766Info( + [in] LCID Locale, + [out] PRFC1766INFO pRfc1766Info); + + HRESULT CreateConvertCharset( + [in] UINT uiSrcCodePage, + [in] UINT uiDstCodePage, + [in] DWORD dwProperty, + [out] IMLangConvertCharset **ppMLangConvertCharset); + +} + +[ + object, + uuid(dccfc164-2b38-11d2-b7ec-00c04f8f5d9a), + pointer_default(unique) +] +interface IMultiLanguage2 : IUnknown +{ + typedef struct tagDetectEncodingInfo + { + UINT nLangID; + UINT nCodePage; + INT nDocPercent; + INT nConfidence; + } DetectEncodingInfo, *pDetectEncodingInfo; + + HRESULT GetNumberOfCodePageInfo( + [out] UINT *pcCodePage); + + HRESULT GetCodePageInfo( + [in] UINT uiCodePage, + [in] LANGID LangId, + [out] PMIMECPINFO pCodePageInfo); + + HRESULT GetFamilyCodePage( + [in] UINT uiCodePage, + [out] UINT *puiFamilyCodePage); + + HRESULT EnumCodePages( + [in] DWORD grfFlags, + [in] LANGID LangId, + [out] IEnumCodePage **ppEnumCodePage); + + HRESULT GetCharsetInfo( + [in] BSTR Charset, + [in] PMIMECSETINFO pCharsetInfo); + + HRESULT IsConvertible( + [in] DWORD dwSrcEncoding, + [in] DWORD dwDstEncoding); + + HRESULT ConvertString( + [in,out] DWORD *pdwMode, + [in] DWORD dwSrcEncoding, + [in] DWORD dwDstEncoding, + [in] BYTE *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] BYTE *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT ConvertStringToUnicode( + [in,out] DWORD *pdwMode, + [in] DWORD dwEncoding, + [in] CHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] WCHAR *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT ConvertStringFromUnicode( + [in,out] DWORD *pdwMode, + [in] DWORD dwEncoding, + [in] WCHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] CHAR *pDstStr, + [in,out] UINT *pcDstSize); + + HRESULT ConvertStringReset(); + + HRESULT GetRfc1766FromLcid( + [in] LCID Locale, + [out] BSTR *pbstrRfc1766); + + HRESULT GetLcidFromRfc1766( + [out] LCID *pLocale, + [in] BSTR bstrRfc1766); + + HRESULT EnumRfc1766( + [in] LANGID LangId, + [out] IEnumRfc1766 **ppEnumRfc1766); + + HRESULT GetRfc1766Info( + [in] LCID Locale, + [in] LANGID LangId, + [out] PRFC1766INFO pRfc1766Info); + + HRESULT CreateConvertCharset( + [in] UINT uiSrcCodePage, + [in] UINT uiDstCodePage, + [in] DWORD dwProperty, + [out] IMLangConvertCharset **ppMLangConvertCharset); + + HRESULT ConvertStringInIStream( + [in,out] DWORD *pdwMode, + [in] DWORD dwFlag, + [in] WCHAR *lpFallBack, + [in] DWORD dwSrcEncoding, + [in] DWORD dwDstEncoding, + [in] IStream *pstmIn, + [in] IStream *pstmOut); + + HRESULT ConvertStringToUnicodeEx( + [in,out] DWORD *pdwMode, + [in] DWORD dwEncoding, + [in] CHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] WCHAR *pDstStr, + [in,out] UINT *pcDstSize, + [in] DWORD dwFlag, + [in] WCHAR *lpFallBack); + + HRESULT ConvertStringFromUnicodeEx( + [in,out] DWORD *pdwMode, + [in] DWORD dwEncoding, + [in] WCHAR *pSrcStr, + [in,out] UINT *pcSrcSize, + [in] CHAR *pDstStr, + [in,out] UINT *pcDstSize, + [in] DWORD dwFlag, + [in] WCHAR *lpFallBack); + + HRESULT DetectCodepageInIStream( + [in] DWORD dwFlag, + [in] DWORD dwPrefWinCodePage, + [in] IStream *pstmIn, + [in,out] DetectEncodingInfo *lpEncoding, + [in,out] INT *pnScores); + + HRESULT DetectInputCodepage( + [in] DWORD dwFlag, + [in] DWORD dwPrefWinCodePage, + [in] CHAR *pSrcStr, + [in,out] INT *pcSrcSize, + [in,out] DetectEncodingInfo *lpEncoding, + [in,out] INT *pnScores); + + HRESULT ValidateCodePage( + [in] UINT uiCodePage, + [in] HWND hwnd); + + HRESULT GetCodePageDescription( + [in] UINT uiCodePage, + [in] LCID lcid, + [in,out,size_is(cchWideChar)] LPWSTR lpWideCharStr, + [in] int cchWideChar); + + HRESULT IsCodePageInstallable( + [in] UINT uiCodePage); + + HRESULT SetMimeDBSource( + [in] MIMECONTF dwSource); + + HRESULT GetNumberOfScripts( + [out] UINT *pnScripts); + + HRESULT EnumScripts( + [in] DWORD dwFlags, + [in] LANGID LangId, + [out] IEnumScript **ppEnumScript); + + HRESULT ValidateCodePageEx( /* undocumented on MSDN */ + [in] UINT uiCodePage, + [in] HWND hwnd, + [in] DWORD dwfIODControl); +} + +[ + object, + uuid(4e5868ab-b157-4623-9acc-6a1d9caebe04), + pointer_default(unique) +] +interface IMultiLanguage3 : IMultiLanguage2 +{ + typedef [unique] IMultiLanguage3 *LPMULTILANGUAGE3; + HRESULT DetectOutboundCodePage( + [in] DWORD dwFlags, + [in] LPCWSTR lpWideCharStr, + [in] UINT cchWideChar, + [in] UINT *puiPreferredCodePages, + [in] UINT nPreferredCodePages, + [in] UINT *puiDetectedCodePages, + [in, out] UINT *pnDetectedCodePages, + [in] WCHAR *lpSpecialChar); + + HRESULT DetectOutboundCodePageInIStream( + [in] DWORD dwFlags, + [in] IStream *pStrIn, + [in] UINT *puiPreferredCodePages, + [in] UINT nPreferredCodePages, + [in] UINT *puiDetectedCodePages, + [in, out] UINT *pnDetectedCodePages, + [in] WCHAR *lpSpecialChar); +} + +[ + uuid(275C23E2-3747-11d0-9FEA-00AA003f8646) +] +coclass CMultiLanguage +{ + [default] interface IMultiLanguage; + interface IMLangCodePages; + interface IMLangFontLink; + /* interface IMLangLineBreakConsole; */ + interface IMLangFontLink2; +} + +cpp_quote("STDAPI LcidToRfc1766A(LCID, LPSTR, INT);") +cpp_quote("STDAPI LcidToRfc1766W(LCID, LPWSTR, INT);") +cpp_quote("#define LcidToRfc1766 WINELIB_NAME_AW(LcidToRfc1766)") + +cpp_quote("STDAPI Rfc1766ToLcidA(LCID *, LPCSTR);") +cpp_quote("STDAPI Rfc1766ToLcidW(LCID *, LPCWSTR);") +cpp_quote("#define Rfc1766ToLcid WINELIB_NAME_AW(Rfc1766ToLcid)") + +cpp_quote("STDAPI GetGlobalFontLinkObject(void **unknown);") +cpp_quote("STDAPI IsConvertINetStringAvailable(DWORD, DWORD);") +cpp_quote("STDAPI ConvertINetString(LPDWORD, DWORD, DWORD, LPCSTR, LPINT, LPSTR, LPINT);") +cpp_quote("STDAPI ConvertINetMultiByteToUnicode(LPDWORD, DWORD, LPCSTR, LPINT, LPWSTR, LPINT);") +cpp_quote("STDAPI ConvertINetUnicodeToMultiByte(LPDWORD, DWORD, LPCWSTR, LPINT, LPSTR, LPINT);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmc.h new file mode 100644 index 0000000..9711262 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmc.h @@ -0,0 +1,150 @@ +/*** Autogenerated by WIDL 2.18 from mmc.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mmc_h__ +#define __mmc_h__ + +/* Forward declarations */ + +#ifndef __IMMCVersionInfo_FWD_DEFINED__ +#define __IMMCVersionInfo_FWD_DEFINED__ +typedef interface IMMCVersionInfo IMMCVersionInfo; +#ifdef __cplusplus +interface IMMCVersionInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __MMCVersionInfo_FWD_DEFINED__ +#define __MMCVersionInfo_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MMCVersionInfo MMCVersionInfo; +#else +typedef struct MMCVersionInfo MMCVersionInfo; +#endif /* defined __cplusplus */ +#endif /* defined __MMCVersionInfo_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IMMCVersionInfo interface + */ +#ifndef __IMMCVersionInfo_INTERFACE_DEFINED__ +#define __IMMCVersionInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMCVersionInfo, 0xa8d2c5fe, 0xcdcb, 0x4b9d, 0xbd,0xe5, 0xa2,0x73,0x43,0xff,0x54,0xbc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a8d2c5fe-cdcb-4b9d-bde5-a27343ff54bc") +IMMCVersionInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMMCVersion( + LONG *pVersionMajor, + LONG *pVersionMinor) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMCVersionInfo, 0xa8d2c5fe, 0xcdcb, 0x4b9d, 0xbd,0xe5, 0xa2,0x73,0x43,0xff,0x54,0xbc) +#endif +#else +typedef struct IMMCVersionInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMCVersionInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMCVersionInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMCVersionInfo *This); + + /*** IMMCVersionInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMMCVersion)( + IMMCVersionInfo *This, + LONG *pVersionMajor, + LONG *pVersionMinor); + + END_INTERFACE +} IMMCVersionInfoVtbl; + +interface IMMCVersionInfo { + CONST_VTBL IMMCVersionInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMCVersionInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMCVersionInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMCVersionInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IMMCVersionInfo methods ***/ +#define IMMCVersionInfo_GetMMCVersion(This,pVersionMajor,pVersionMinor) (This)->lpVtbl->GetMMCVersion(This,pVersionMajor,pVersionMinor) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMCVersionInfo_QueryInterface(IMMCVersionInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMCVersionInfo_AddRef(IMMCVersionInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMCVersionInfo_Release(IMMCVersionInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IMMCVersionInfo methods ***/ +static FORCEINLINE HRESULT IMMCVersionInfo_GetMMCVersion(IMMCVersionInfo* This,LONG *pVersionMajor,LONG *pVersionMinor) { + return This->lpVtbl->GetMMCVersion(This,pVersionMajor,pVersionMinor); +} +#endif +#endif + +#endif + + +#endif /* __IMMCVersionInfo_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_MMCVersionLib, 0x9eecdd85, 0xb715, 0x4188, 0x8a,0x72, 0x61,0x15,0x9a,0xbd,0xb8,0xc4); + +/***************************************************************************** + * MMCVersionInfo coclass + */ + +DEFINE_GUID(CLSID_MMCVersionInfo, 0xd6fedb1d, 0xcf21, 0x4bd9, 0xaf,0x3b, 0xc5,0x46,0x8e,0x9c,0x66,0x84); + +#ifdef __cplusplus +class DECLSPEC_UUID("d6fedb1d-cf21-4bd9-af3b-c5468e9c6684") MMCVersionInfo; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MMCVersionInfo, 0xd6fedb1d, 0xcf21, 0x4bd9, 0xaf,0x3b, 0xc5,0x46,0x8e,0x9c,0x66,0x84) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mmc_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmc.idl new file mode 100644 index 0000000..b0443b2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmc.idl @@ -0,0 +1,58 @@ +/* + * + * Copyright 2011 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "basetsd.h"; +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + uuid(A8D2C5FE-CDCB-4B9D-BDE5-A27343FF54BC), +] +interface IMMCVersionInfo : IUnknown +{ + HRESULT GetMMCVersion([out] long * pVersionMajor, [out] long * pVersionMinor); +} + + +[ + uuid(9EECDD85-B715-4188-8A72-61159ABDB8C4), + version(1.0), +] +library MMCVersionLib +{ + importlib("stdole2.tlb"); + + [ + helpstring("MMCVersionInfo 1.0 Object"), + uuid(D6FEDB1D-CF21-4BD9-AF3B-C5468E9C6684), + threading(apartment), + progid("NODEMGR.MMCVersionInfo.1"), + vi_progid("NODEMGR.MMCVersionInfo") + ] + coclass MMCVersionInfo + { + [default] interface IMMCVersionInfo; + } + +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmddk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmddk.h new file mode 100644 index 0000000..d4217f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmddk.h @@ -0,0 +1,471 @@ +/* + * Copyright 1998, Luiz Otavio L. Zorzella + * 1999, Eric Pouech + * + * Purpose: multimedia declarations (external to WINMM & MMSYSTEM DLLs + * for other DLLs (MCI, drivers...)) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __MMDDK_H +#define __MMDDK_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define MAX_MIDIINDRV (16) +/* For now I'm making 16 the maximum number of midi devices one can + * have. This should be more than enough for everybody. But as a purist, + * I intend to make it unbounded in the future, as soon as I figure + * a good way to do so. + */ +#define MAX_MIDIOUTDRV (16) + +/* ================================== + * Multimedia DDK compatible part + * ================================== */ + +#include + +#define DRVM_INIT 100 +#define DRVM_EXIT 101 +#define DRVM_DISABLE 102 +#define DRVM_ENABLE 103 + +/* messages that have IOCTL format + * dw1 = NULL or handle + * dw2 = NULL or ptr to DRVM_IOCTL_DATA + * return is MMRESULT + */ +#define DRVM_IOCTL 0x100 +#define DRVM_ADD_THRU (DRVM_IOCTL+1) +#define DRVM_REMOVE_THRU (DRVM_IOCTL+2) +#define DRVM_IOCTL_LAST (DRVM_IOCTL+5) +typedef struct { + DWORD dwSize; /* size of this structure */ + DWORD dwCmd; /* IOCTL command code, 0x80000000 and above reserved for system */ +} DRVM_IOCTL_DATA, *LPDRVM_IOCTL_DATA; + +/* command code ranges for dwCmd field of DRVM_IOCTL message + * - codes from 0 to 0x7FFFFFFF are user defined + * - codes from 0x80000000 to 0xFFFFFFFF are reserved for future definition by microsoft + */ +#define DRVM_IOCTL_CMD_USER __MSABI_LONG(0x00000000) +#define DRVM_IOCTL_CMD_SYSTEM __MSABI_LONG(0x80000000) + +#define DRVM_MAPPER 0x2000 +#define DRVM_USER 0x4000 +#define DRVM_MAPPER_STATUS (DRVM_MAPPER+0) +#define DRVM_MAPPER_RECONFIGURE (DRVM_MAPPER+1) +#define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21) +#define DRVM_MAPPER_CONSOLEVOICECOM_GET (DRVM_MAPPER+23) + +#define DRV_QUERYDRVENTRY (DRV_RESERVED + 1) +#define DRV_QUERYDEVNODE (DRV_RESERVED + 2) +#define DRV_QUERYNAME (DRV_RESERVED + 3) +#define DRV_QUERYDRIVERIDS (DRV_RESERVED + 4) +#define DRV_QUERYMAPPABLE (DRV_RESERVED + 5) +#define DRV_QUERYMODULE (DRV_RESERVED + 9) +#define DRV_PNPINSTALL (DRV_RESERVED + 11) +#define DRV_QUERYDEVICEINTERFACE (DRV_RESERVED + 12) +#define DRV_QUERYDEVICEINTERFACESIZE (DRV_RESERVED + 13) +#define DRV_QUERYSTRINGID (DRV_RESERVED + 14) +#define DRV_QUERYSTRINGIDSIZE (DRV_RESERVED + 15) +#define DRV_QUERYIDFROMSTRINGID (DRV_RESERVED + 16) +#define DRV_QUERYFUNCTIONINSTANCEID (DRV_RESERVED + 17) +#define DRV_QUERYFUNCTIONINSTANCEIDSIZE (DRV_RESERVED + 18) + +#define DRVM_MAPPER_PREFERRED_FLAGS_PREFERREDONLY 0x00000001 + +#define WODM_INIT DRVM_INIT +#define WODM_GETNUMDEVS 3 +#define WODM_GETDEVCAPS 4 +#define WODM_OPEN 5 +#define WODM_CLOSE 6 +#define WODM_PREPARE 7 +#define WODM_UNPREPARE 8 +#define WODM_WRITE 9 +#define WODM_PAUSE 10 +#define WODM_RESTART 11 +#define WODM_RESET 12 +#define WODM_GETPOS 13 +#define WODM_GETPITCH 14 +#define WODM_SETPITCH 15 +#define WODM_GETVOLUME 16 +#define WODM_SETVOLUME 17 +#define WODM_GETPLAYBACKRATE 18 +#define WODM_SETPLAYBACKRATE 19 +#define WODM_BREAKLOOP 20 +#define WODM_PREFERRED 21 + +#define WODM_MAPPER_STATUS (DRVM_MAPPER_STATUS + 0) +#define WAVEOUT_MAPPER_STATUS_DEVICE 0 +#define WAVEOUT_MAPPER_STATUS_MAPPED 1 +#define WAVEOUT_MAPPER_STATUS_FORMAT 2 + +#define WODM_BUSY 21 + +#define WIDM_INIT DRVM_INIT +#define WIDM_GETNUMDEVS 50 +#define WIDM_GETDEVCAPS 51 +#define WIDM_OPEN 52 +#define WIDM_CLOSE 53 +#define WIDM_PREPARE 54 +#define WIDM_UNPREPARE 55 +#define WIDM_ADDBUFFER 56 +#define WIDM_START 57 +#define WIDM_STOP 58 +#define WIDM_RESET 59 +#define WIDM_GETPOS 60 +#define WIDM_PREFERRED 61 +#define WIDM_MAPPER_STATUS (DRVM_MAPPER_STATUS + 0) +#define WAVEIN_MAPPER_STATUS_DEVICE 0 +#define WAVEIN_MAPPER_STATUS_MAPPED 1 +#define WAVEIN_MAPPER_STATUS_FORMAT 2 + +#define MODM_INIT DRVM_INIT +#define MODM_GETNUMDEVS 1 +#define MODM_GETDEVCAPS 2 +#define MODM_OPEN 3 +#define MODM_CLOSE 4 +#define MODM_PREPARE 5 +#define MODM_UNPREPARE 6 +#define MODM_DATA 7 +#define MODM_LONGDATA 8 +#define MODM_RESET 9 +#define MODM_GETVOLUME 10 +#define MODM_SETVOLUME 11 +#define MODM_CACHEPATCHES 12 +#define MODM_CACHEDRUMPATCHES 13 + +#define MIDM_INIT DRVM_INIT +#define MIDM_GETNUMDEVS 53 +#define MIDM_GETDEVCAPS 54 +#define MIDM_OPEN 55 +#define MIDM_CLOSE 56 +#define MIDM_PREPARE 57 +#define MIDM_UNPREPARE 58 +#define MIDM_ADDBUFFER 59 +#define MIDM_START 60 +#define MIDM_STOP 61 +#define MIDM_RESET 62 + + +#define AUXM_INIT DRVM_INIT +#define AUXDM_GETNUMDEVS 3 +#define AUXDM_GETDEVCAPS 4 +#define AUXDM_GETVOLUME 5 +#define AUXDM_SETVOLUME 6 + +#define MXDM_INIT DRVM_INIT +#define MXDM_USER DRVM_USER +#define MXDM_MAPPER DRVM_MAPPER + +#define MXDM_GETNUMDEVS 1 +#define MXDM_GETDEVCAPS 2 +#define MXDM_OPEN 3 +#define MXDM_CLOSE 4 +#define MXDM_GETLINEINFO 5 +#define MXDM_GETLINECONTROLS 6 +#define MXDM_GETCONTROLDETAILS 7 +#define MXDM_SETCONTROLDETAILS 8 + +/* pre-defined joystick types */ +#define JOY_HW_NONE 0 +#define JOY_HW_CUSTOM 1 +#define JOY_HW_2A_2B_GENERIC 2 +#define JOY_HW_2A_4B_GENERIC 3 +#define JOY_HW_2B_GAMEPAD 4 +#define JOY_HW_2B_FLIGHTYOKE 5 +#define JOY_HW_2B_FLIGHTYOKETHROTTLE 6 +#define JOY_HW_3A_2B_GENERIC 7 +#define JOY_HW_3A_4B_GENERIC 8 +#define JOY_HW_4B_GAMEPAD 9 +#define JOY_HW_4B_FLIGHTYOKE 10 +#define JOY_HW_4B_FLIGHTYOKETHROTTLE 11 +#define JOY_HW_LASTENTRY 12 + +/* calibration flags */ +#define JOY_ISCAL_XY __MSABI_LONG(0x00000001) /* XY are calibrated */ +#define JOY_ISCAL_Z __MSABI_LONG(0x00000002) /* Z is calibrated */ +#define JOY_ISCAL_R __MSABI_LONG(0x00000004) /* R is calibrated */ +#define JOY_ISCAL_U __MSABI_LONG(0x00000008) /* U is calibrated */ +#define JOY_ISCAL_V __MSABI_LONG(0x00000010) /* V is calibrated */ +#define JOY_ISCAL_POV __MSABI_LONG(0x00000020) /* POV is calibrated */ + +/* point of view constants */ +#define JOY_POV_NUMDIRS 4 +#define JOY_POVVAL_FORWARD 0 +#define JOY_POVVAL_BACKWARD 1 +#define JOY_POVVAL_LEFT 2 +#define JOY_POVVAL_RIGHT 3 + +/* Specific settings for joystick hardware */ +#define JOY_HWS_HASZ __MSABI_LONG(0x00000001) /* has Z info? */ +#define JOY_HWS_HASPOV __MSABI_LONG(0x00000002) /* point of view hat present */ +#define JOY_HWS_POVISBUTTONCOMBOS __MSABI_LONG(0x00000004) /* pov done through combo of buttons */ +#define JOY_HWS_POVISPOLL __MSABI_LONG(0x00000008) /* pov done through polling */ +#define JOY_HWS_ISYOKE __MSABI_LONG(0x00000010) /* joystick is a flight yoke */ +#define JOY_HWS_ISGAMEPAD __MSABI_LONG(0x00000020) /* joystick is a game pad */ +#define JOY_HWS_ISCARCTRL __MSABI_LONG(0x00000040) /* joystick is a car controller */ +/* X defaults to J1 X axis */ +#define JOY_HWS_XISJ1Y __MSABI_LONG(0x00000080) /* X is on J1 Y axis */ +#define JOY_HWS_XISJ2X __MSABI_LONG(0x00000100) /* X is on J2 X axis */ +#define JOY_HWS_XISJ2Y __MSABI_LONG(0x00000200) /* X is on J2 Y axis */ +/* Y defaults to J1 Y axis */ +#define JOY_HWS_YISJ1X __MSABI_LONG(0x00000400) /* Y is on J1 X axis */ +#define JOY_HWS_YISJ2X __MSABI_LONG(0x00000800) /* Y is on J2 X axis */ +#define JOY_HWS_YISJ2Y __MSABI_LONG(0x00001000) /* Y is on J2 Y axis */ +/* Z defaults to J2 Y axis */ +#define JOY_HWS_ZISJ1X __MSABI_LONG(0x00002000) /* Z is on J1 X axis */ +#define JOY_HWS_ZISJ1Y __MSABI_LONG(0x00004000) /* Z is on J1 Y axis */ +#define JOY_HWS_ZISJ2X __MSABI_LONG(0x00008000) /* Z is on J2 X axis */ +/* POV defaults to J2 Y axis, if it is not button based */ +#define JOY_HWS_POVISJ1X __MSABI_LONG(0x00010000) /* pov done through J1 X axis */ +#define JOY_HWS_POVISJ1Y __MSABI_LONG(0x00020000) /* pov done through J1 Y axis */ +#define JOY_HWS_POVISJ2X __MSABI_LONG(0x00040000) /* pov done through J2 X axis */ +/* R defaults to J2 X axis */ +#define JOY_HWS_HASR __MSABI_LONG(0x00080000) /* has R (4th axis) info */ +#define JOY_HWS_RISJ1X __MSABI_LONG(0x00100000) /* R done through J1 X axis */ +#define JOY_HWS_RISJ1Y __MSABI_LONG(0x00200000) /* R done through J1 Y axis */ +#define JOY_HWS_RISJ2Y __MSABI_LONG(0x00400000) /* R done through J2 X axis */ +/* U & V for future hardware */ +#define JOY_HWS_HASU __MSABI_LONG(0x00800000) /* has U (5th axis) info */ +#define JOY_HWS_HASV __MSABI_LONG(0x01000000) /* has V (6th axis) info */ + +/* Usage settings */ +#define JOY_US_HASRUDDER __MSABI_LONG(0x00000001) /* joystick configured with rudder */ +#define JOY_US_PRESENT __MSABI_LONG(0x00000002) /* is joystick actually present? */ +#define JOY_US_ISOEM __MSABI_LONG(0x00000004) /* joystick is an OEM defined type */ + + +/* struct for storing x,y, z, and rudder values */ +typedef struct joypos_tag { + DWORD dwX; + DWORD dwY; + DWORD dwZ; + DWORD dwR; + DWORD dwU; + DWORD dwV; +} JOYPOS, *LPJOYPOS; + +/* struct for storing ranges */ +typedef struct joyrange_tag { + JOYPOS jpMin; + JOYPOS jpMax; + JOYPOS jpCenter; +} JOYRANGE,*LPJOYRANGE; + +typedef struct joyreguservalues_tag { + DWORD dwTimeOut; /* value at which to timeout joystick polling */ + JOYRANGE jrvRanges; /* range of values app wants returned for axes */ + JOYPOS jpDeadZone; /* area around center to be considered + as "dead". specified as a percentage + (0-100). Only X & Y handled by system driver */ +} JOYREGUSERVALUES, *LPJOYREGUSERVALUES; + +typedef struct joyreghwsettings_tag { + DWORD dwFlags; + DWORD dwNumButtons; /* number of buttons */ +} JOYREGHWSETTINGS, *LPJOYHWSETTINGS; + +/* range of values returned by the hardware (filled in by calibration) */ +typedef struct joyreghwvalues_tag { + JOYRANGE jrvHardware; /* values returned by hardware */ + DWORD dwPOVValues[JOY_POV_NUMDIRS];/* POV values returned by hardware */ + DWORD dwCalFlags; /* what has been calibrated */ +} JOYREGHWVALUES, *LPJOYREGHWVALUES; + +/* hardware configuration */ +typedef struct joyreghwconfig_tag { + JOYREGHWSETTINGS hws; /* hardware settings */ + DWORD dwUsageSettings;/* usage settings */ + JOYREGHWVALUES hwv; /* values returned by hardware */ + DWORD dwType; /* type of joystick */ + DWORD dwReserved; /* reserved for OEM drivers */ +} JOYREGHWCONFIG, *LPJOYREGHWCONFIG; + +/* joystick calibration info structure */ +typedef struct joycalibrate_tag { + UINT wXbase; + UINT wXdelta; + UINT wYbase; + UINT wYdelta; + UINT wZbase; + UINT wZdelta; +} JOYCALIBRATE; +typedef JOYCALIBRATE *LPJOYCALIBRATE; + +/* prototype for joystick message function */ +typedef UINT (CALLBACK * JOYDEVMSGPROC)(DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2); +typedef JOYDEVMSGPROC *LPJOYDEVMSGPROC; + +/* messages sent to joystick driver's DriverProc() function */ +#define JDD_GETNUMDEVS (DRV_RESERVED + 0x0001) +#define JDD_GETDEVCAPS (DRV_RESERVED + 0x0002) +#define JDD_GETPOS (DRV_RESERVED + 0x0101) +#define JDD_SETCALIBRATION (DRV_RESERVED + 0x0102) +#define JDD_CONFIGCHANGED (DRV_RESERVED + 0x0103) +#define JDD_GETPOSEX (DRV_RESERVED + 0x0104) + +#define MCI_MAX_DEVICE_TYPE_LENGTH 80 + +#define MCI_FALSE (MCI_STRING_OFFSET + 19) +#define MCI_TRUE (MCI_STRING_OFFSET + 20) + +#define MCI_FORMAT_RETURN_BASE MCI_FORMAT_MILLISECONDS_S +#define MCI_FORMAT_MILLISECONDS_S (MCI_STRING_OFFSET + 21) +#define MCI_FORMAT_HMS_S (MCI_STRING_OFFSET + 22) +#define MCI_FORMAT_MSF_S (MCI_STRING_OFFSET + 23) +#define MCI_FORMAT_FRAMES_S (MCI_STRING_OFFSET + 24) +#define MCI_FORMAT_SMPTE_24_S (MCI_STRING_OFFSET + 25) +#define MCI_FORMAT_SMPTE_25_S (MCI_STRING_OFFSET + 26) +#define MCI_FORMAT_SMPTE_30_S (MCI_STRING_OFFSET + 27) +#define MCI_FORMAT_SMPTE_30DROP_S (MCI_STRING_OFFSET + 28) +#define MCI_FORMAT_BYTES_S (MCI_STRING_OFFSET + 29) +#define MCI_FORMAT_SAMPLES_S (MCI_STRING_OFFSET + 30) +#define MCI_FORMAT_TMSF_S (MCI_STRING_OFFSET + 31) + +#define MCI_VD_FORMAT_TRACK_S (MCI_VD_OFFSET + 5) + +#define WAVE_FORMAT_PCM_S (MCI_WAVE_OFFSET + 0) +#define WAVE_MAPPER_S (MCI_WAVE_OFFSET + 1) + +#define MCI_SEQ_MAPPER_S (MCI_SEQ_OFFSET + 5) +#define MCI_SEQ_FILE_S (MCI_SEQ_OFFSET + 6) +#define MCI_SEQ_MIDI_S (MCI_SEQ_OFFSET + 7) +#define MCI_SEQ_SMPTE_S (MCI_SEQ_OFFSET + 8) +#define MCI_SEQ_FORMAT_SONGPTR_S (MCI_SEQ_OFFSET + 9) +#define MCI_SEQ_NONE_S (MCI_SEQ_OFFSET + 10) +#define MIDIMAPPER_S (MCI_SEQ_OFFSET + 11) + +#define MCI_RESOURCE_RETURNED 0x00010000 /* resource ID */ +#define MCI_COLONIZED3_RETURN 0x00020000 /* colonized ID, 3 bytes data */ +#define MCI_COLONIZED4_RETURN 0x00040000 /* colonized ID, 4 bytes data */ +#define MCI_INTEGER_RETURNED 0x00080000 /* integer conversion needed */ +#define MCI_RESOURCE_DRIVER 0x00100000 /* driver owns returned resource */ + +#define MCI_NO_COMMAND_TABLE 0xFFFF + +#define MCI_COMMAND_HEAD 0 +#define MCI_STRING 1 +#define MCI_INTEGER 2 +#define MCI_END_COMMAND 3 +#define MCI_RETURN 4 +#define MCI_FLAG 5 +#define MCI_END_COMMAND_LIST 6 +#define MCI_RECT 7 +#define MCI_CONSTANT 8 +#define MCI_END_CONSTANT 9 +#define MCI_HWND 10 +#define MCI_HPAL 11 +#define MCI_HDC 12 + +#ifdef _WIN64 +#define MCI_INTEGER64 13 +#endif /* _WIN64 */ + +#define MAKEMCIRESOURCE(wRet, wRes) MAKELRESULT((wRet), (wRes)) + +typedef struct { + HWAVE hWave; + LPWAVEFORMATEX lpFormat; + DWORD_PTR dwCallback; + DWORD_PTR dwInstance; + UINT uMappedDeviceID; + DWORD_PTR dnDevNode; +} WAVEOPENDESC, *LPWAVEOPENDESC; + +typedef struct { + DWORD dwStreamID; + WORD wDeviceID; +} MIDIOPENSTRMID; + +typedef struct { + HMIDI hMidi; + DWORD_PTR dwCallback; + DWORD_PTR dwInstance; + DWORD_PTR dnDevNode; + DWORD cIds; + MIDIOPENSTRMID rgIds; +} MIDIOPENDESC, *LPMIDIOPENDESC; + +typedef struct tMIXEROPENDESC +{ + HMIXEROBJ hmx; + LPVOID pReserved0; + DWORD_PTR dwCallback; + DWORD_PTR dwInstance; + DWORD_PTR dnDevNode; +} MIXEROPENDESC, *LPMIXEROPENDESC; + +typedef struct { + UINT wDeviceID; /* device ID */ + LPSTR lpstrParams; /* parameter string for entry in SYSTEM.INI */ + UINT wCustomCommandTable; /* custom command table (0xFFFF if none) * filled in by the driver */ + UINT wType; /* driver type (filled in by the driver) */ +} MCI_OPEN_DRIVER_PARMSA, *LPMCI_OPEN_DRIVER_PARMSA; + +typedef struct { + UINT wDeviceID; /* device ID */ + LPWSTR lpstrParams; /* parameter string for entry in SYSTEM.INI */ + UINT wCustomCommandTable; /* custom command table (0xFFFF if none) * filled in by the driver */ + UINT wType; /* driver type (filled in by the driver) */ +} MCI_OPEN_DRIVER_PARMSW, *LPMCI_OPEN_DRIVER_PARMSW; +DECL_WINELIB_TYPE_AW(MCI_OPEN_DRIVER_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_OPEN_DRIVER_PARMS) + +DWORD_PTR WINAPI mciGetDriverData(UINT uDeviceID); +BOOL WINAPI mciSetDriverData(UINT uDeviceID, DWORD_PTR dwData); +UINT WINAPI mciDriverYield(UINT uDeviceID); +BOOL WINAPI mciDriverNotify(HWND hwndCallback, UINT uDeviceID, + UINT uStatus); +UINT WINAPI mciLoadCommandResource(HINSTANCE hInstance, + LPCWSTR lpResName, UINT uType); +BOOL WINAPI mciFreeCommandResource(UINT uTable); + +#define DCB_NULL 0x0000 +#define DCB_WINDOW 0x0001 /* dwCallback is a HWND */ +#define DCB_TASK 0x0002 /* dwCallback is a HTASK */ +#define DCB_FUNCTION 0x0003 /* dwCallback is a FARPROC */ +#define DCB_EVENT 0x0005 /* dwCallback is an EVENT Handler */ +#define DCB_TYPEMASK 0x0007 +#define DCB_NOSWITCH 0x0008 /* don't switch stacks for callback */ + +BOOL WINAPI DriverCallback(DWORD_PTR dwCallBack, DWORD uFlags, HDRVR hDev, + DWORD wMsg, DWORD_PTR dwUser, DWORD_PTR dwParam1, DWORD_PTR dwParam2); + +typedef VOID (*LPTASKCALLBACK)(DWORD_PTR dwInst); + +#define TASKERR_NOTASKSUPPORT 1 +#define TASKERR_OUTOFMEMORY 2 +UINT WINAPI mmTaskCreate(LPTASKCALLBACK, HANDLE*, DWORD_PTR); +VOID WINAPI mmTaskBlock(DWORD); +BOOL WINAPI mmTaskSignal(DWORD); +VOID WINAPI mmTaskYield(VOID); +DWORD WINAPI mmGetCurrentTask(VOID); + +#include + +#ifdef __cplusplus +} +#endif + +#endif /* __MMDDK_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmdeviceapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmdeviceapi.h new file mode 100644 index 0000000..232067d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmdeviceapi.h @@ -0,0 +1,802 @@ +/*** Autogenerated by WIDL 2.18 from mmdeviceapi.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mmdeviceapi_h__ +#define __mmdeviceapi_h__ + +/* Forward declarations */ + +#ifndef __IMMNotificationClient_FWD_DEFINED__ +#define __IMMNotificationClient_FWD_DEFINED__ +typedef interface IMMNotificationClient IMMNotificationClient; +#ifdef __cplusplus +interface IMMNotificationClient; +#endif /* __cplusplus */ +#endif + +#ifndef __IMMDevice_FWD_DEFINED__ +#define __IMMDevice_FWD_DEFINED__ +typedef interface IMMDevice IMMDevice; +#ifdef __cplusplus +interface IMMDevice; +#endif /* __cplusplus */ +#endif + +#ifndef __IMMDeviceCollection_FWD_DEFINED__ +#define __IMMDeviceCollection_FWD_DEFINED__ +typedef interface IMMDeviceCollection IMMDeviceCollection; +#ifdef __cplusplus +interface IMMDeviceCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IMMEndpoint_FWD_DEFINED__ +#define __IMMEndpoint_FWD_DEFINED__ +typedef interface IMMEndpoint IMMEndpoint; +#ifdef __cplusplus +interface IMMEndpoint; +#endif /* __cplusplus */ +#endif + +#ifndef __IMMDeviceEnumerator_FWD_DEFINED__ +#define __IMMDeviceEnumerator_FWD_DEFINED__ +typedef interface IMMDeviceEnumerator IMMDeviceEnumerator; +#ifdef __cplusplus +interface IMMDeviceEnumerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IMMDeviceActivator_FWD_DEFINED__ +#define __IMMDeviceActivator_FWD_DEFINED__ +typedef interface IMMDeviceActivator IMMDeviceActivator; +#ifdef __cplusplus +interface IMMDeviceActivator; +#endif /* __cplusplus */ +#endif + +#ifndef __MMDeviceEnumerator_FWD_DEFINED__ +#define __MMDeviceEnumerator_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MMDeviceEnumerator MMDeviceEnumerator; +#else +typedef struct MMDeviceEnumerator MMDeviceEnumerator; +#endif /* defined __cplusplus */ +#endif /* defined __MMDeviceEnumerator_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef E_NOTFOUND +#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND) +#endif +#ifndef E_UNSUPPORTED_TYPE +#define E_UNSUPPORTED_TYPE HRESULT_FROM_WIN32(ERROR_UNSUPPORTED_TYPE) +#endif +#define DEVICE_STATE_ACTIVE 0x1 +#define DEVICE_STATE_DISABLED 0x2 +#define DEVICE_STATE_NOTPRESENT 0x4 +#define DEVICE_STATE_UNPLUGGED 0x8 +#define DEVICE_STATEMASK_ALL 0xf +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FormFactor,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,0); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_ControlPanelPageProvider,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,1); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Association,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,2); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_PhysicalSpeakers,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,3); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,4); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Disable_SysFx,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,5); +#define ENDPOINT_SYSFX_ENABLED 0 +#define ENDPOINT_SYSFX_DISABLED 1 +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FullRangeSpeakers,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,6); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Supports_EventDriven_Mode,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,7); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_JackSubType,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,8); +DEFINE_PROPERTYKEY(PKEY_AudioEngine_DeviceFormat,0xf19f064d,0x082c,0x4e27,0xbc,0x73,0x68,0x82,0xa1,0xbb,0x8e,0x4c,0); +DEFINE_PROPERTYKEY(PKEY_AudioEngine_OEMFormat,0xe4870e26,0x3cc5,0x4cd2,0xba,0x46,0xca,0x0a,0x9a,0x70,0xed,0x04,3); +typedef struct tagDIRECTX_AUDIO_ACTIVATION_PARAMS { + DWORD cbDirectXAudioActivationParams; + GUID guidAudioSession; + DWORD dwAudioStreamFlags; +} DIRECTX_AUDIO_ACTIVATION_PARAMS; +typedef struct tagDIRECTX_AUDIO_ACTIVATION_PARAMS *PDIRECTX_AUDIO_ACTIVATION_PARAMS; +typedef enum _EDataFlow { + eRender = 0, + eCapture = 1, + eAll = 2, + EDataFlow_enum_count = 3 +} EDataFlow; +typedef enum _ERole { + eConsole = 0, + eMultimedia = 1, + eCommunications = 2, + ERole_enum_count = 3 +} ERole; +typedef enum _EndpointFormFactor { + RemoteNetworkDevice = 0, + Speakers = 1, + LineLevel = 2, + Headphones = 3, + Microphone = 4, + Headset = 5, + Handset = 6, + UnknownDigitalPassthrough = 7, + SPDIF = 8, + DigitalAudioDisplayDevice = 9, + UnknownFormFactor = 10, + EndpointFormFactor_enum_count = 11 +} EndpointFormFactor; +#define HDMI DigitalAudioDisplayDevice +/***************************************************************************** + * IMMNotificationClient interface + */ +#ifndef __IMMNotificationClient_INTERFACE_DEFINED__ +#define __IMMNotificationClient_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMNotificationClient, 0x7991eec9, 0x7e89, 0x4d85, 0x83,0x90, 0x6c,0x70,0x3c,0xec,0x60,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7991eec9-7e89-4d85-8390-6c703cec60c0") +IMMNotificationClient : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnDeviceStateChanged( + LPCWSTR pwstrDeviceId, + DWORD dwNewState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDeviceAdded( + LPCWSTR pwstrDeviceId) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDeviceRemoved( + LPCWSTR pwstrDeviceId) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDefaultDeviceChanged( + EDataFlow flow, + ERole role, + LPCWSTR pwstrDeviceId) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPropertyValueChanged( + LPCWSTR pwstrDeviceId, + const PROPERTYKEY key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMNotificationClient, 0x7991eec9, 0x7e89, 0x4d85, 0x83,0x90, 0x6c,0x70,0x3c,0xec,0x60,0xc0) +#endif +#else +typedef struct IMMNotificationClientVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMNotificationClient *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMNotificationClient *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMNotificationClient *This); + + /*** IMMNotificationClient methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDeviceStateChanged)( + IMMNotificationClient *This, + LPCWSTR pwstrDeviceId, + DWORD dwNewState); + + HRESULT (STDMETHODCALLTYPE *OnDeviceAdded)( + IMMNotificationClient *This, + LPCWSTR pwstrDeviceId); + + HRESULT (STDMETHODCALLTYPE *OnDeviceRemoved)( + IMMNotificationClient *This, + LPCWSTR pwstrDeviceId); + + HRESULT (STDMETHODCALLTYPE *OnDefaultDeviceChanged)( + IMMNotificationClient *This, + EDataFlow flow, + ERole role, + LPCWSTR pwstrDeviceId); + + HRESULT (STDMETHODCALLTYPE *OnPropertyValueChanged)( + IMMNotificationClient *This, + LPCWSTR pwstrDeviceId, + const PROPERTYKEY key); + + END_INTERFACE +} IMMNotificationClientVtbl; + +interface IMMNotificationClient { + CONST_VTBL IMMNotificationClientVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMNotificationClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMNotificationClient_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMNotificationClient_Release(This) (This)->lpVtbl->Release(This) +/*** IMMNotificationClient methods ***/ +#define IMMNotificationClient_OnDeviceStateChanged(This,pwstrDeviceId,dwNewState) (This)->lpVtbl->OnDeviceStateChanged(This,pwstrDeviceId,dwNewState) +#define IMMNotificationClient_OnDeviceAdded(This,pwstrDeviceId) (This)->lpVtbl->OnDeviceAdded(This,pwstrDeviceId) +#define IMMNotificationClient_OnDeviceRemoved(This,pwstrDeviceId) (This)->lpVtbl->OnDeviceRemoved(This,pwstrDeviceId) +#define IMMNotificationClient_OnDefaultDeviceChanged(This,flow,role,pwstrDeviceId) (This)->lpVtbl->OnDefaultDeviceChanged(This,flow,role,pwstrDeviceId) +#define IMMNotificationClient_OnPropertyValueChanged(This,pwstrDeviceId,key) (This)->lpVtbl->OnPropertyValueChanged(This,pwstrDeviceId,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMNotificationClient_QueryInterface(IMMNotificationClient* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMNotificationClient_AddRef(IMMNotificationClient* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMNotificationClient_Release(IMMNotificationClient* This) { + return This->lpVtbl->Release(This); +} +/*** IMMNotificationClient methods ***/ +static FORCEINLINE HRESULT IMMNotificationClient_OnDeviceStateChanged(IMMNotificationClient* This,LPCWSTR pwstrDeviceId,DWORD dwNewState) { + return This->lpVtbl->OnDeviceStateChanged(This,pwstrDeviceId,dwNewState); +} +static FORCEINLINE HRESULT IMMNotificationClient_OnDeviceAdded(IMMNotificationClient* This,LPCWSTR pwstrDeviceId) { + return This->lpVtbl->OnDeviceAdded(This,pwstrDeviceId); +} +static FORCEINLINE HRESULT IMMNotificationClient_OnDeviceRemoved(IMMNotificationClient* This,LPCWSTR pwstrDeviceId) { + return This->lpVtbl->OnDeviceRemoved(This,pwstrDeviceId); +} +static FORCEINLINE HRESULT IMMNotificationClient_OnDefaultDeviceChanged(IMMNotificationClient* This,EDataFlow flow,ERole role,LPCWSTR pwstrDeviceId) { + return This->lpVtbl->OnDefaultDeviceChanged(This,flow,role,pwstrDeviceId); +} +static FORCEINLINE HRESULT IMMNotificationClient_OnPropertyValueChanged(IMMNotificationClient* This,LPCWSTR pwstrDeviceId,const PROPERTYKEY key) { + return This->lpVtbl->OnPropertyValueChanged(This,pwstrDeviceId,key); +} +#endif +#endif + +#endif + + +#endif /* __IMMNotificationClient_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMMDevice interface + */ +#ifndef __IMMDevice_INTERFACE_DEFINED__ +#define __IMMDevice_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMDevice, 0xd666063f, 0x1587, 0x4e43, 0x81,0xf1, 0xb9,0x48,0xe8,0x07,0x36,0x3f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d666063f-1587-4e43-81f1-b948e807363f") +IMMDevice : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Activate( + REFIID iid, + DWORD dwClsCtx, + PROPVARIANT *pActivationParams, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenPropertyStore( + DWORD stgmAccess, + IPropertyStore **ppProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetId( + LPWSTR *ppstrId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + DWORD *pdwState) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMDevice, 0xd666063f, 0x1587, 0x4e43, 0x81,0xf1, 0xb9,0x48,0xe8,0x07,0x36,0x3f) +#endif +#else +typedef struct IMMDeviceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMDevice *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMDevice *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMDevice *This); + + /*** IMMDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + IMMDevice *This, + REFIID iid, + DWORD dwClsCtx, + PROPVARIANT *pActivationParams, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *OpenPropertyStore)( + IMMDevice *This, + DWORD stgmAccess, + IPropertyStore **ppProperties); + + HRESULT (STDMETHODCALLTYPE *GetId)( + IMMDevice *This, + LPWSTR *ppstrId); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IMMDevice *This, + DWORD *pdwState); + + END_INTERFACE +} IMMDeviceVtbl; + +interface IMMDevice { + CONST_VTBL IMMDeviceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMDevice_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMDevice_Release(This) (This)->lpVtbl->Release(This) +/*** IMMDevice methods ***/ +#define IMMDevice_Activate(This,iid,dwClsCtx,pActivationParams,ppv) (This)->lpVtbl->Activate(This,iid,dwClsCtx,pActivationParams,ppv) +#define IMMDevice_OpenPropertyStore(This,stgmAccess,ppProperties) (This)->lpVtbl->OpenPropertyStore(This,stgmAccess,ppProperties) +#define IMMDevice_GetId(This,ppstrId) (This)->lpVtbl->GetId(This,ppstrId) +#define IMMDevice_GetState(This,pdwState) (This)->lpVtbl->GetState(This,pdwState) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMDevice_QueryInterface(IMMDevice* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMDevice_AddRef(IMMDevice* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMDevice_Release(IMMDevice* This) { + return This->lpVtbl->Release(This); +} +/*** IMMDevice methods ***/ +static FORCEINLINE HRESULT IMMDevice_Activate(IMMDevice* This,REFIID iid,DWORD dwClsCtx,PROPVARIANT *pActivationParams,void **ppv) { + return This->lpVtbl->Activate(This,iid,dwClsCtx,pActivationParams,ppv); +} +static FORCEINLINE HRESULT IMMDevice_OpenPropertyStore(IMMDevice* This,DWORD stgmAccess,IPropertyStore **ppProperties) { + return This->lpVtbl->OpenPropertyStore(This,stgmAccess,ppProperties); +} +static FORCEINLINE HRESULT IMMDevice_GetId(IMMDevice* This,LPWSTR *ppstrId) { + return This->lpVtbl->GetId(This,ppstrId); +} +static FORCEINLINE HRESULT IMMDevice_GetState(IMMDevice* This,DWORD *pdwState) { + return This->lpVtbl->GetState(This,pdwState); +} +#endif +#endif + +#endif + + +#endif /* __IMMDevice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMMDeviceCollection interface + */ +#ifndef __IMMDeviceCollection_INTERFACE_DEFINED__ +#define __IMMDeviceCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMDeviceCollection, 0x0bd7a1be, 0x7a1a, 0x44db, 0x83,0x97, 0xcc,0x53,0x92,0x38,0x7b,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0bd7a1be-7a1a-44db-8397-cc5392387b5e") +IMMDeviceCollection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pcDevices) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + UINT nDevice, + IMMDevice **ppdevice) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMDeviceCollection, 0x0bd7a1be, 0x7a1a, 0x44db, 0x83,0x97, 0xcc,0x53,0x92,0x38,0x7b,0x5e) +#endif +#else +typedef struct IMMDeviceCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMDeviceCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMDeviceCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMDeviceCollection *This); + + /*** IMMDeviceCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IMMDeviceCollection *This, + UINT *pcDevices); + + HRESULT (STDMETHODCALLTYPE *Item)( + IMMDeviceCollection *This, + UINT nDevice, + IMMDevice **ppdevice); + + END_INTERFACE +} IMMDeviceCollectionVtbl; + +interface IMMDeviceCollection { + CONST_VTBL IMMDeviceCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMDeviceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMDeviceCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMDeviceCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IMMDeviceCollection methods ***/ +#define IMMDeviceCollection_GetCount(This,pcDevices) (This)->lpVtbl->GetCount(This,pcDevices) +#define IMMDeviceCollection_Item(This,nDevice,ppdevice) (This)->lpVtbl->Item(This,nDevice,ppdevice) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMDeviceCollection_QueryInterface(IMMDeviceCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMDeviceCollection_AddRef(IMMDeviceCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMDeviceCollection_Release(IMMDeviceCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IMMDeviceCollection methods ***/ +static FORCEINLINE HRESULT IMMDeviceCollection_GetCount(IMMDeviceCollection* This,UINT *pcDevices) { + return This->lpVtbl->GetCount(This,pcDevices); +} +static FORCEINLINE HRESULT IMMDeviceCollection_Item(IMMDeviceCollection* This,UINT nDevice,IMMDevice **ppdevice) { + return This->lpVtbl->Item(This,nDevice,ppdevice); +} +#endif +#endif + +#endif + + +#endif /* __IMMDeviceCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMMEndpoint interface + */ +#ifndef __IMMEndpoint_INTERFACE_DEFINED__ +#define __IMMEndpoint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMEndpoint, 0x1be09788, 0x6894, 0x4089, 0x85,0x86, 0x9a,0x2a,0x6c,0x26,0x5a,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1be09788-6894-4089-8586-9a2a6c265ac5") +IMMEndpoint : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDataFlow( + EDataFlow *pDataFlow) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMEndpoint, 0x1be09788, 0x6894, 0x4089, 0x85,0x86, 0x9a,0x2a,0x6c,0x26,0x5a,0xc5) +#endif +#else +typedef struct IMMEndpointVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMEndpoint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMEndpoint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMEndpoint *This); + + /*** IMMEndpoint methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDataFlow)( + IMMEndpoint *This, + EDataFlow *pDataFlow); + + END_INTERFACE +} IMMEndpointVtbl; + +interface IMMEndpoint { + CONST_VTBL IMMEndpointVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMEndpoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMEndpoint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMEndpoint_Release(This) (This)->lpVtbl->Release(This) +/*** IMMEndpoint methods ***/ +#define IMMEndpoint_GetDataFlow(This,pDataFlow) (This)->lpVtbl->GetDataFlow(This,pDataFlow) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMEndpoint_QueryInterface(IMMEndpoint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMEndpoint_AddRef(IMMEndpoint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMEndpoint_Release(IMMEndpoint* This) { + return This->lpVtbl->Release(This); +} +/*** IMMEndpoint methods ***/ +static FORCEINLINE HRESULT IMMEndpoint_GetDataFlow(IMMEndpoint* This,EDataFlow *pDataFlow) { + return This->lpVtbl->GetDataFlow(This,pDataFlow); +} +#endif +#endif + +#endif + + +#endif /* __IMMEndpoint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMMDeviceEnumerator interface + */ +#ifndef __IMMDeviceEnumerator_INTERFACE_DEFINED__ +#define __IMMDeviceEnumerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMDeviceEnumerator, 0xa95664d2, 0x9614, 0x4f35, 0xa7,0x46, 0xde,0x8d,0xb6,0x36,0x17,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a95664d2-9614-4f35-a746-de8db63617e6") +IMMDeviceEnumerator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumAudioEndpoints( + EDataFlow dataFlow, + DWORD dwStateMask, + IMMDeviceCollection **ppDevices) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultAudioEndpoint( + EDataFlow dataFlow, + ERole role, + IMMDevice **ppEndpoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDevice( + LPCWSTR pwstrId, + IMMDevice **ppDevice) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEndpointNotificationCallback( + IMMNotificationClient *pClient) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterEndpointNotificationCallback( + IMMNotificationClient *pClient) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMDeviceEnumerator, 0xa95664d2, 0x9614, 0x4f35, 0xa7,0x46, 0xde,0x8d,0xb6,0x36,0x17,0xe6) +#endif +#else +typedef struct IMMDeviceEnumeratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMDeviceEnumerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMDeviceEnumerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMDeviceEnumerator *This); + + /*** IMMDeviceEnumerator methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumAudioEndpoints)( + IMMDeviceEnumerator *This, + EDataFlow dataFlow, + DWORD dwStateMask, + IMMDeviceCollection **ppDevices); + + HRESULT (STDMETHODCALLTYPE *GetDefaultAudioEndpoint)( + IMMDeviceEnumerator *This, + EDataFlow dataFlow, + ERole role, + IMMDevice **ppEndpoint); + + HRESULT (STDMETHODCALLTYPE *GetDevice)( + IMMDeviceEnumerator *This, + LPCWSTR pwstrId, + IMMDevice **ppDevice); + + HRESULT (STDMETHODCALLTYPE *RegisterEndpointNotificationCallback)( + IMMDeviceEnumerator *This, + IMMNotificationClient *pClient); + + HRESULT (STDMETHODCALLTYPE *UnregisterEndpointNotificationCallback)( + IMMDeviceEnumerator *This, + IMMNotificationClient *pClient); + + END_INTERFACE +} IMMDeviceEnumeratorVtbl; + +interface IMMDeviceEnumerator { + CONST_VTBL IMMDeviceEnumeratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMDeviceEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMDeviceEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMDeviceEnumerator_Release(This) (This)->lpVtbl->Release(This) +/*** IMMDeviceEnumerator methods ***/ +#define IMMDeviceEnumerator_EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices) (This)->lpVtbl->EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices) +#define IMMDeviceEnumerator_GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint) (This)->lpVtbl->GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint) +#define IMMDeviceEnumerator_GetDevice(This,pwstrId,ppDevice) (This)->lpVtbl->GetDevice(This,pwstrId,ppDevice) +#define IMMDeviceEnumerator_RegisterEndpointNotificationCallback(This,pClient) (This)->lpVtbl->RegisterEndpointNotificationCallback(This,pClient) +#define IMMDeviceEnumerator_UnregisterEndpointNotificationCallback(This,pClient) (This)->lpVtbl->UnregisterEndpointNotificationCallback(This,pClient) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMDeviceEnumerator_QueryInterface(IMMDeviceEnumerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMDeviceEnumerator_AddRef(IMMDeviceEnumerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMDeviceEnumerator_Release(IMMDeviceEnumerator* This) { + return This->lpVtbl->Release(This); +} +/*** IMMDeviceEnumerator methods ***/ +static FORCEINLINE HRESULT IMMDeviceEnumerator_EnumAudioEndpoints(IMMDeviceEnumerator* This,EDataFlow dataFlow,DWORD dwStateMask,IMMDeviceCollection **ppDevices) { + return This->lpVtbl->EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices); +} +static FORCEINLINE HRESULT IMMDeviceEnumerator_GetDefaultAudioEndpoint(IMMDeviceEnumerator* This,EDataFlow dataFlow,ERole role,IMMDevice **ppEndpoint) { + return This->lpVtbl->GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint); +} +static FORCEINLINE HRESULT IMMDeviceEnumerator_GetDevice(IMMDeviceEnumerator* This,LPCWSTR pwstrId,IMMDevice **ppDevice) { + return This->lpVtbl->GetDevice(This,pwstrId,ppDevice); +} +static FORCEINLINE HRESULT IMMDeviceEnumerator_RegisterEndpointNotificationCallback(IMMDeviceEnumerator* This,IMMNotificationClient *pClient) { + return This->lpVtbl->RegisterEndpointNotificationCallback(This,pClient); +} +static FORCEINLINE HRESULT IMMDeviceEnumerator_UnregisterEndpointNotificationCallback(IMMDeviceEnumerator* This,IMMNotificationClient *pClient) { + return This->lpVtbl->UnregisterEndpointNotificationCallback(This,pClient); +} +#endif +#endif + +#endif + + +#endif /* __IMMDeviceEnumerator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMMDeviceActivator interface + */ +#ifndef __IMMDeviceActivator_INTERFACE_DEFINED__ +#define __IMMDeviceActivator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMMDeviceActivator, 0x3b0d0ea4, 0xd0a9, 0x4b0e, 0x93,0x5b, 0x09,0x51,0x67,0x46,0xfa,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3b0d0ea4-d0a9-4b0e-935b-09516746fac0") +IMMDeviceActivator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Activate( + REFIID iid, + IMMDevice *pDevice, + PROPVARIANT *pActivationParams, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMMDeviceActivator, 0x3b0d0ea4, 0xd0a9, 0x4b0e, 0x93,0x5b, 0x09,0x51,0x67,0x46,0xfa,0xc0) +#endif +#else +typedef struct IMMDeviceActivatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMMDeviceActivator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMMDeviceActivator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMMDeviceActivator *This); + + /*** IMMDeviceActivator methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + IMMDeviceActivator *This, + REFIID iid, + IMMDevice *pDevice, + PROPVARIANT *pActivationParams, + void **ppv); + + END_INTERFACE +} IMMDeviceActivatorVtbl; + +interface IMMDeviceActivator { + CONST_VTBL IMMDeviceActivatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMMDeviceActivator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMMDeviceActivator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMMDeviceActivator_Release(This) (This)->lpVtbl->Release(This) +/*** IMMDeviceActivator methods ***/ +#define IMMDeviceActivator_Activate(This,iid,pDevice,pActivationParams,ppv) (This)->lpVtbl->Activate(This,iid,pDevice,pActivationParams,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMMDeviceActivator_QueryInterface(IMMDeviceActivator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMMDeviceActivator_AddRef(IMMDeviceActivator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMMDeviceActivator_Release(IMMDeviceActivator* This) { + return This->lpVtbl->Release(This); +} +/*** IMMDeviceActivator methods ***/ +static FORCEINLINE HRESULT IMMDeviceActivator_Activate(IMMDeviceActivator* This,REFIID iid,IMMDevice *pDevice,PROPVARIANT *pActivationParams,void **ppv) { + return This->lpVtbl->Activate(This,iid,pDevice,pActivationParams,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IMMDeviceActivator_INTERFACE_DEFINED__ */ + +typedef struct _AudioExtensionParams { + LPARAM AddPageParam; + IMMDevice *pEndPoint; + IMMDevice *pPnpInterface; + IMMDevice *pPnpDevnode; +} AudioExtensionParams; + +DEFINE_GUID(LIBID_MMDeviceAPILib, 0x2fdaafa3, 0x7523, 0x4f66, 0x99,0x57, 0x9d,0x5e,0x7f,0xe6,0x98,0xf6); + +/***************************************************************************** + * MMDeviceEnumerator coclass + */ + +DEFINE_GUID(CLSID_MMDeviceEnumerator, 0xbcde0395, 0xe52f, 0x467c, 0x8e,0x3d, 0xc4,0x57,0x92,0x91,0x69,0x2e); + +#ifdef __cplusplus +class DECLSPEC_UUID("bcde0395-e52f-467c-8e3d-c4579291692e") MMDeviceEnumerator; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MMDeviceEnumerator, 0xbcde0395, 0xe52f, 0x467c, 0x8e,0x3d, 0xc4,0x57,0x92,0x91,0x69,0x2e) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mmdeviceapi_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmdeviceapi.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmdeviceapi.idl new file mode 100644 index 0000000..d1fb6ae --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmdeviceapi.idl @@ -0,0 +1,250 @@ +/* + * Copyright (C) 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "propsys.idl"; + +cpp_quote("#ifndef E_NOTFOUND") +cpp_quote("#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND)") +cpp_quote("#endif") +cpp_quote("#ifndef E_UNSUPPORTED_TYPE") +cpp_quote("#define E_UNSUPPORTED_TYPE HRESULT_FROM_WIN32(ERROR_UNSUPPORTED_TYPE)") +cpp_quote("#endif") + + +cpp_quote("#define DEVICE_STATE_ACTIVE 0x1") +cpp_quote("#define DEVICE_STATE_DISABLED 0x2") +cpp_quote("#define DEVICE_STATE_NOTPRESENT 0x4") +cpp_quote("#define DEVICE_STATE_UNPLUGGED 0x8") +cpp_quote("#define DEVICE_STATEMASK_ALL 0xf") + +/* Generic PKEY_AudioEndPoint ID for grepping: {1da5d803-d492-4edd-8c23-e0c0ffee7f0e} */ +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FormFactor,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,0);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_ControlPanelPageProvider,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,1);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Association,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,2);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_PhysicalSpeakers,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,3);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,4);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Disable_SysFx,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,5);") + +cpp_quote("#define ENDPOINT_SYSFX_ENABLED 0") +cpp_quote("#define ENDPOINT_SYSFX_DISABLED 1") + +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FullRangeSpeakers,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,6);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Supports_EventDriven_Mode,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,7);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_JackSubType,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,8);") + +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEngine_DeviceFormat,0xf19f064d,0x082c,0x4e27,0xbc,0x73,0x68,0x82,0xa1,0xbb,0x8e,0x4c,0);") +cpp_quote("DEFINE_PROPERTYKEY(PKEY_AudioEngine_OEMFormat,0xe4870e26,0x3cc5,0x4cd2,0xba,0x46,0xca,0x0a,0x9a,0x70,0xed,0x04,3);") + +typedef struct tagDIRECTX_AUDIO_ACTIVATION_PARAMS +{ + DWORD cbDirectXAudioActivationParams; + GUID guidAudioSession; + DWORD dwAudioStreamFlags; +} DIRECTX_AUDIO_ACTIVATION_PARAMS, *PDIRECTX_AUDIO_ACTIVATION_PARAMS; + +typedef enum _EDataFlow +{ + eRender, + eCapture, + eAll, + EDataFlow_enum_count +} EDataFlow; + +typedef enum _ERole +{ + eConsole, + eMultimedia, + eCommunications, + ERole_enum_count +} ERole; + +typedef enum _EndpointFormFactor +{ + RemoteNetworkDevice, + Speakers, + LineLevel, + Headphones, + Microphone, + Headset, + Handset, + UnknownDigitalPassthrough, + SPDIF, + DigitalAudioDisplayDevice, + UnknownFormFactor, + EndpointFormFactor_enum_count +} EndpointFormFactor; + +cpp_quote("#define HDMI DigitalAudioDisplayDevice") + +[ + object, + local, + uuid(7991eec9-7e89-4d85-8390-6c703cec60c0), + nonextensible, + pointer_default(unique) +] +interface IMMNotificationClient : IUnknown +{ + [id(1)] HRESULT OnDeviceStateChanged( + [in] LPCWSTR pwstrDeviceId, + [in] DWORD dwNewState + ); + [id(2)] HRESULT OnDeviceAdded( + [in] LPCWSTR pwstrDeviceId + ); + [id(3)] HRESULT OnDeviceRemoved( + [in] LPCWSTR pwstrDeviceId + ); + [id(4)] HRESULT OnDefaultDeviceChanged( + [in] EDataFlow flow, + [in] ERole role, + [in] LPCWSTR pwstrDeviceId + ); + [id(5)] HRESULT OnPropertyValueChanged( + [in] LPCWSTR pwstrDeviceId, + [in] const PROPERTYKEY key + ); +} + +[ + object, + local, + uuid(d666063f-1587-4e43-81f1-b948e807363f), + nonextensible, + pointer_default(unique) +] +interface IMMDevice : IUnknown +{ + [id(1)] HRESULT Activate( + [in] REFIID iid, + [in] DWORD dwClsCtx, + [in,unique] PROPVARIANT *pActivationParams, + [out,iid_is(iid)] void **ppv + ); + [id(2)] HRESULT OpenPropertyStore( + [in] DWORD stgmAccess, + [out] IPropertyStore **ppProperties + ); + [id(3)] HRESULT GetId( + [out] LPWSTR *ppstrId + ); + [id(4)] HRESULT GetState( + [out] DWORD *pdwState + ); +} + +[ + object, + local, + uuid(0bd7a1be-7a1a-44db-8397-cc5392387b5e), + nonextensible, + pointer_default(unique) +] +interface IMMDeviceCollection : IUnknown +{ + [id(1)] HRESULT GetCount( + [out] UINT *pcDevices + ); + [id(2)] HRESULT Item( + [in] UINT nDevice, + [out] IMMDevice **ppdevice + ); +} + +[ + object, + local, + uuid(1be09788-6894-4089-8586-9a2a6c265ac5), + nonextensible, + pointer_default(unique) +] +interface IMMEndpoint : IUnknown +{ + [id(1)] HRESULT GetDataFlow( + [out] EDataFlow *pDataFlow + ); +} + +[ + object, + local, + uuid(a95664d2-9614-4f35-a746-de8db63617e6), + nonextensible, + pointer_default(unique) +] +interface IMMDeviceEnumerator : IUnknown +{ + [id(1)] HRESULT EnumAudioEndpoints( + [in] EDataFlow dataFlow, + [in] DWORD dwStateMask, + [out] IMMDeviceCollection **ppDevices + ); + [id(2)] HRESULT GetDefaultAudioEndpoint( + [in] EDataFlow dataFlow, + [in] ERole role, + [out] IMMDevice **ppEndpoint + ); + [id(3)] HRESULT GetDevice( + [in] LPCWSTR pwstrId, + [out] IMMDevice **ppDevice + ); + [id(4)] HRESULT RegisterEndpointNotificationCallback( + [in] IMMNotificationClient *pClient + ); + [id(5)] HRESULT UnregisterEndpointNotificationCallback( + [in] IMMNotificationClient *pClient + ); +} + +[ + object, + local, + uuid(3b0d0ea4-d0a9-4b0e-935b-09516746fac0), + nonextensible, + pointer_default(unique) +] +interface IMMDeviceActivator : IUnknown +{ + [id(1)] HRESULT Activate( + [in] REFIID iid, + [in] IMMDevice *pDevice, + [in] PROPVARIANT *pActivationParams, + [out,iid_is(iid)] void **ppv + ); +} + +typedef struct _AudioExtensionParams +{ + LPARAM AddPageParam; + IMMDevice *pEndPoint; + IMMDevice *pPnpInterface; + IMMDevice *pPnpDevnode; +} AudioExtensionParams; + +[ + uuid(2fdaafa3-7523-4f66-9957-9d5e7fe698f6), + version(1.0) +] +library MMDeviceAPILib +{ + [ uuid(bcde0395-e52f-467c-8e3d-c4579291692e) ] coclass MMDeviceEnumerator + { + [default] interface IMMDeviceEnumerator; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmreg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmreg.h new file mode 100644 index 0000000..8bb581d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmreg.h @@ -0,0 +1,553 @@ +/* + * Declarations for MultiMedia-REGistration + * + * Copyright (C) 1999 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WIDL__ + +#ifndef __WINE_MMREG_H +#define __WINE_MMREG_H + +#include + +/*********************************************************************** + * Defines/Enums + */ + +#ifndef _ACM_WAVEFILTER +#define _ACM_WAVEFILTER + +#define WAVE_FILTER_UNKNOWN 0x0000 +#define WAVE_FILTER_DEVELOPMENT 0xFFFF + +typedef struct _WAVEFILTER { + DWORD cbStruct; + DWORD dwFilterTag; + DWORD fdwFilter; + DWORD dwReserved[5]; +} WAVEFILTER, *PWAVEFILTER, *NPWAVEFILTER, *LPWAVEFILTER; +#endif /* _ACM_WAVEFILTER */ + +#ifndef WAVE_FILTER_VOLUME +#define WAVE_FILTER_VOLUME 0x0001 + +typedef struct _WAVEFILTER_VOLUME { + WAVEFILTER wfltr; + DWORD dwVolume; +} VOLUMEWAVEFILTER, *PVOLUMEWAVEFILTER, *NPVOLUMEWAVEFILTER, *LPVOLUMEWAVEFILTER; +#endif /* WAVE_FILTER_VOLUME */ + +#ifndef WAVE_FILTER_ECHO +#define WAVE_FILTER_ECHO 0x0002 + +typedef struct WAVEFILTER_ECHO { + WAVEFILTER wfltr; + DWORD dwVolume; + DWORD dwDelay; +} ECHOWAVEFILTER, *PECHOWAVEFILTER, *NPECHOWAVEFILTER, *LPECHOWAVEFILTER; +#endif /* WAVEFILTER_ECHO */ + +#ifndef _WAVEFORMATEX_ +#define _WAVEFORMATEX_ +typedef struct _WAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX; +#endif /* _WAVEFORMATEX_ */ + +/* WAVE form wFormatTag IDs */ +#define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */ +#define WAVE_FORMAT_ADPCM 0x0002 /* Microsoft Corporation */ +#define WAVE_FORMAT_IEEE_FLOAT 0x0003 /* Microsoft Corporation */ +#define WAVE_FORMAT_IBM_CVSD 0x0005 /* IBM Corporation */ +#define WAVE_FORMAT_ALAW 0x0006 /* Microsoft Corporation */ +#define WAVE_FORMAT_MULAW 0x0007 /* Microsoft Corporation */ +#define WAVE_FORMAT_OKI_ADPCM 0x0010 /* OKI */ +#define WAVE_FORMAT_DVI_ADPCM 0x0011 /* Intel Corporation */ +#define WAVE_FORMAT_IMA_ADPCM (WAVE_FORMAT_DVI_ADPCM) /* Intel Corporation */ +#define WAVE_FORMAT_MEDIASPACE_ADPCM 0x0012 /* Videologic */ +#define WAVE_FORMAT_SIERRA_ADPCM 0x0013 /* Sierra Semiconductor Corp */ +#define WAVE_FORMAT_G723_ADPCM 0x0014 /* Antex Electronics Corporation */ +#define WAVE_FORMAT_DIGISTD 0x0015 /* DSP Solutions, Inc. */ +#define WAVE_FORMAT_DIGIFIX 0x0016 /* DSP Solutions, Inc. */ +#define WAVE_FORMAT_DIALOGIC_OKI_ADPCM 0x0017 /* Dialogic Corporation */ +#define WAVE_FORMAT_YAMAHA_ADPCM 0x0020 /* Yamaha Corporation of America */ +#define WAVE_FORMAT_SONARC 0x0021 /* Speech Compression */ +#define WAVE_FORMAT_DSPGROUP_TRUESPEECH 0x0022 /* DSP Group, Inc */ +#define WAVE_FORMAT_ECHOSC1 0x0023 /* Echo Speech Corporation */ +#define WAVE_FORMAT_AUDIOFILE_AF36 0x0024 /* */ +#define WAVE_FORMAT_APTX 0x0025 /* Audio Processing Technology */ +#define WAVE_FORMAT_AUDIOFILE_AF10 0x0026 /* */ +#define WAVE_FORMAT_DOLBY_AC2 0x0030 /* Dolby Laboratories */ +#define WAVE_FORMAT_GSM610 0x0031 /* Microsoft Corporation */ +#define WAVE_FORMAT_ANTEX_ADPCME 0x0033 /* Antex Electronics Corporation */ +#define WAVE_FORMAT_CONTROL_RES_VQLPC 0x0034 /* Control Resources Limited */ +#define WAVE_FORMAT_DIGIREAL 0x0035 /* DSP Solutions, Inc. */ +#define WAVE_FORMAT_DIGIADPCM 0x0036 /* DSP Solutions, Inc. */ +#define WAVE_FORMAT_CONTROL_RES_CR10 0x0037 /* Control Resources Limited */ +#define WAVE_FORMAT_NMS_VBXADPCM 0x0038 /* Natural MicroSystems */ +#define WAVE_FORMAT_G721_ADPCM 0x0040 /* Antex Electronics Corporation */ +#define WAVE_FORMAT_MPEG 0x0050 /* Microsoft Corporation */ +#define WAVE_FORMAT_MPEGLAYER3 0x0055 +#define WAVE_FORMAT_MSRT24 0x0082 /* Microsoft Corporation */ +#define WAVE_FORMAT_CREATIVE_ADPCM 0x0200 /* Creative Labs, Inc */ +#define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202 /* Creative Labs, Inc */ +#define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203 /* Creative Labs, Inc */ +#define WAVE_FORMAT_FM_TOWNS_SND 0x0300 /* Fujitsu Corp. */ +#define WAVE_FORMAT_OLIGSM 0x1000 /* Ing C. Olivetti & C., S.p.A. */ +#define WAVE_FORMAT_OLIADPCM 0x1001 /* Ing C. Olivetti & C., S.p.A. */ +#define WAVE_FORMAT_OLICELP 0x1002 /* Ing C. Olivetti & C., S.p.A. */ +#define WAVE_FORMAT_OLISBC 0x1003 /* Ing C. Olivetti & C., S.p.A. */ +#define WAVE_FORMAT_OLIOPR 0x1004 /* Ing C. Olivetti & C., S.p.A. */ + +#ifndef MM_MICROSOFT +#define MM_MICROSOFT 0x01 +#endif +#define MM_MSFT_ACM_MSADPCM 0x21 +#define MM_MSFT_ACM_IMAADPCM 0x22 +#define MM_MSFT_ACM_GSM610 0x24 +#define MM_MSFT_ACM_G711 0x25 +#define MM_MSFT_ACM_PCM 0x26 + +#define MM_FRAUNHOFER_IIS 0xAC +#define MM_FHGIIS_MPEGLAYER3_DECODE 0x09 +#define MM_FHGIIS_MPEGLAYER3_PROFESSIONAL 0x0d + +#if !defined(WAVE_FORMAT_EXTENSIBLE) +#define WAVE_FORMAT_EXTENSIBLE 0xFFFE /* Microsoft */ +#endif + +#define WAVE_FORMAT_DEVELOPMENT (0xFFFF) + +typedef struct adpcmcoef_tag { + short iCoef1; + short iCoef2; +} ADPCMCOEFSET; +typedef ADPCMCOEFSET *PADPCMCOEFSET, + *NPADPCMCOEFSET, *LPADPCMCOEFSET; + +typedef struct adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; + WORD wNumCoef; + /* FIXME: this should be aCoef[0] */ + ADPCMCOEFSET aCoef[1]; +} ADPCMWAVEFORMAT; +typedef ADPCMWAVEFORMAT *PADPCMWAVEFORMAT, + *NPADPCMWAVEFORMAT, *LPADPCMWAVEFORMAT; + +typedef struct dvi_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} DVIADPCMWAVEFORMAT; +typedef DVIADPCMWAVEFORMAT *PDVIADPCMWAVEFORMAT, + *NPDVIADPCMWAVEFORMAT, *LPDVIADPCMWAVEFORMAT; + +typedef struct ima_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} IMAADPCMWAVEFORMAT; +typedef IMAADPCMWAVEFORMAT *PIMAADPCMWAVEFORMAT, *NPIMAADPCMWAVEFORMAT, + *LPIMAADPCMWAVEFORMAT; + +typedef struct mediaspace_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wRevision; +} MEDIASPACEADPCMWAVEFORMAT; +typedef MEDIASPACEADPCMWAVEFORMAT *PMEDIASPACEADPCMWAVEFORMAT, + *NPMEDIASPACEADPCMWAVEFORMAT, *LPMEDIASPACEADPCMWAVEFORMAT; + +typedef struct sierra_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wRevision; +} SIERRAADPCMWAVEFORMAT; +typedef SIERRAADPCMWAVEFORMAT *PSIERRAADPCMWAVEFORMAT, + *NPSIERRAADPCMWAVEFORMAT, *LPSIERRAADPCMWAVEFORMAT; + +typedef struct g723_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD cbExtraSize; + WORD nAuxBlockSize; +} G723_ADPCMWAVEFORMAT; +typedef G723_ADPCMWAVEFORMAT *PG723_ADPCMWAVEFORMAT, + *NPG723_ADPCMWAVEFORMAT, *LPG723_ADPCMWAVEFORMAT; + +typedef struct digistdwaveformat_tag { + WAVEFORMATEX wfx; +} DIGISTDWAVEFORMAT; +typedef DIGISTDWAVEFORMAT *PDIGISTDWAVEFORMAT, + *NPDIGISTDWAVEFORMAT, *LPDIGISTDWAVEFORMAT; + +typedef struct digifixwaveformat_tag { + WAVEFORMATEX wfx; +} DIGIFIXWAVEFORMAT; +typedef DIGIFIXWAVEFORMAT *PDIGIFIXWAVEFORMAT, + *NPDIGIFIXWAVEFORMAT, *LPDIGIFIXWAVEFORMAT; + +typedef struct creative_fastspeechformat_tag { + WAVEFORMATEX ewf; +} DIALOGICOKIADPCMWAVEFORMAT; +typedef DIALOGICOKIADPCMWAVEFORMAT *PDIALOGICOKIADPCMWAVEFORMAT, + *NPDIALOGICOKIADPCMWAVEFORMAT, *LPDIALOGICOKIADPCMWAVEFORMAT; + +typedef struct yamaha_adpmcwaveformat_tag { + WAVEFORMATEX wfx; +} YAMAHA_ADPCMWAVEFORMAT; +typedef YAMAHA_ADPCMWAVEFORMAT *PYAMAHA_ADPCMWAVEFORMAT, + *NPYAMAHA_ADPCMWAVEFORMAT, *LPYAMAHA_ADPCMWAVEFORMAT; + +typedef struct sonarcwaveformat_tag { + WAVEFORMATEX wfx; + WORD wCompType; +} SONARCWAVEFORMAT; +typedef SONARCWAVEFORMAT *PSONARCWAVEFORMAT, + *NPSONARCWAVEFORMAT,*LPSONARCWAVEFORMAT; + +typedef struct truespeechwaveformat_tag { + WAVEFORMATEX wfx; + WORD wRevision; + WORD nSamplesPerBlock; + BYTE abReserved[28]; +} TRUESPEECHWAVEFORMAT; +typedef TRUESPEECHWAVEFORMAT *PTRUESPEECHWAVEFORMAT, + *NPTRUESPEECHWAVEFORMAT, *LPTRUESPEECHWAVEFORMAT; + +typedef struct echosc1waveformat_tag { + WAVEFORMATEX wfx; +} ECHOSC1WAVEFORMAT; +typedef ECHOSC1WAVEFORMAT *PECHOSC1WAVEFORMAT, + *NPECHOSC1WAVEFORMAT, *LPECHOSC1WAVEFORMAT; + +typedef struct audiofile_af36waveformat_tag { + WAVEFORMATEX wfx; +} AUDIOFILE_AF36WAVEFORMAT; +typedef AUDIOFILE_AF36WAVEFORMAT *PAUDIOFILE_AF36WAVEFORMAT, + *NPAUDIOFILE_AF36WAVEFORMAT, *LPAUDIOFILE_AF36WAVEFORMAT; + +typedef struct aptxwaveformat_tag { + WAVEFORMATEX wfx; +} APTXWAVEFORMAT; +typedef APTXWAVEFORMAT *PAPTXWAVEFORMAT, + *NPAPTXWAVEFORMAT, *LPAPTXWAVEFORMAT; + +typedef struct audiofile_af10waveformat_tag { + WAVEFORMATEX wfx; +} AUDIOFILE_AF10WAVEFORMAT; +typedef AUDIOFILE_AF10WAVEFORMAT *PAUDIOFILE_AF10WAVEFORMAT, + *NPAUDIOFILE_AF10WAVEFORMAT, *LPAUDIOFILE_AF10WAVEFORMAT; + +typedef struct dolbyac2waveformat_tag { + WAVEFORMATEX wfx; + WORD nAuxBitsCode; +} DOLBYAC2WAVEFORMAT; + +typedef struct gsm610waveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} GSM610WAVEFORMAT; +typedef GSM610WAVEFORMAT *PGSM610WAVEFORMAT, + *NPGSM610WAVEFORMAT, *LPGSM610WAVEFORMAT; + +typedef struct adpcmewaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} ADPCMEWAVEFORMAT; +typedef ADPCMEWAVEFORMAT *PADPCMEWAVEFORMAT, + *NPADPCMEWAVEFORMAT, *LPADPCMEWAVEFORMAT; + +typedef struct contres_vqlpcwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} CONTRESVQLPCWAVEFORMAT; +typedef CONTRESVQLPCWAVEFORMAT *PCONTRESVQLPCWAVEFORMAT, + *NPCONTRESVQLPCWAVEFORMAT, *LPCONTRESVQLPCWAVEFORMAT; + +typedef struct digirealwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} DIGIREALWAVEFORMAT; +typedef DIGIREALWAVEFORMAT *PDIGIREALWAVEFORMAT, + *NPDIGIREALWAVEFORMAT, *LPDIGIREALWAVEFORMAT; + +typedef struct digiadpcmmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} DIGIADPCMWAVEFORMAT; +typedef DIGIADPCMWAVEFORMAT *PDIGIADPCMWAVEFORMAT, + *NPDIGIADPCMWAVEFORMAT, *LPDIGIADPCMWAVEFORMAT; + +typedef struct contres_cr10waveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} CONTRESCR10WAVEFORMAT; +typedef CONTRESCR10WAVEFORMAT *PCONTRESCR10WAVEFORMAT, + *NPCONTRESCR10WAVEFORMAT, *LPCONTRESCR10WAVEFORMAT; + +typedef struct nms_vbxadpcmmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wSamplesPerBlock; +} NMS_VBXADPCMWAVEFORMAT; +typedef NMS_VBXADPCMWAVEFORMAT *PNMS_VBXADPCMWAVEFORMAT, + *NPNMS_VBXADPCMWAVEFORMAT, *LPNMS_VBXADPCMWAVEFORMAT; + +typedef struct g721_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD nAuxBlockSize; +} G721_ADPCMWAVEFORMAT; +typedef G721_ADPCMWAVEFORMAT *PG721_ADPCMWAVEFORMAT, + *NG721_ADPCMWAVEFORMAT, *LPG721_ADPCMWAVEFORMAT; + +typedef struct creative_adpcmwaveformat_tag { + WAVEFORMATEX wfx; + WORD wRevision; +} CREATIVEADPCMWAVEFORMAT; +typedef CREATIVEADPCMWAVEFORMAT *PCREATIVEADPCMWAVEFORMAT, + *NPCREATIVEADPCMWAVEFORMAT, *LPCREATIVEADPCMWAVEFORMAT; + +typedef struct creative_fastspeech8format_tag { + WAVEFORMATEX wfx; + WORD wRevision; +} CREATIVEFASTSPEECH8WAVEFORMAT; +typedef CREATIVEFASTSPEECH8WAVEFORMAT *PCREATIVEFASTSPEECH8WAVEFORMAT, + *NPCREATIVEFASTSPEECH8WAVEFORMAT, *LPCREATIVEFASTSPEECH8WAVEFORMAT; + +typedef struct creative_fastspeech10format_tag { + WAVEFORMATEX wfx; + WORD wRevision; +} CREATIVEFASTSPEECH10WAVEFORMAT; +typedef CREATIVEFASTSPEECH10WAVEFORMAT *PCREATIVEFASTSPEECH10WAVEFORMAT, + *NPCREATIVEFASTSPEECH10WAVEFORMAT, *LPCREATIVEFASTSPEECH10WAVEFORMAT; + +typedef struct fmtowns_snd_waveformat_tag { + WAVEFORMATEX wfx; + WORD wRevision; +} FMTOWNS_SND_WAVEFORMAT; +typedef FMTOWNS_SND_WAVEFORMAT *PFMTOWNS_SND_WAVEFORMAT, + *NPFMTOWNS_SND_WAVEFORMAT, *LPFMTOWNS_SND_WAVEFORMAT; + +typedef struct oligsmwaveformat_tag { + WAVEFORMATEX wfx; +} OLIGSMWAVEFORMAT; +typedef OLIGSMWAVEFORMAT *POLIGSMWAVEFORMAT, + *NPOLIGSMWAVEFORMAT, *LPOLIGSMWAVEFORMAT; + +typedef struct oliadpcmwaveformat_tag { + WAVEFORMATEX wfx; +} OLIADPCMWAVEFORMAT; +typedef OLIADPCMWAVEFORMAT *POLIADPCMWAVEFORMAT, + *NPOLIADPCMWAVEFORMAT, *LPOLIADPCMWAVEFORMAT; + +typedef struct olicelpwaveformat_tag { + WAVEFORMATEX wfx; +} OLICELPWAVEFORMAT; +typedef OLICELPWAVEFORMAT *POLICELPWAVEFORMAT, + *NPOLICELPWAVEFORMAT, *LPOLICELPWAVEFORMAT; + +typedef struct olisbcwaveformat_tag { + WAVEFORMATEX wfx; +} OLISBCWAVEFORMAT; +typedef OLISBCWAVEFORMAT *POLISBCWAVEFORMAT, + *NPOLISBCWAVEFORMAT, *LPOLISBCWAVEFORMAT; + +typedef struct olioprwaveformat_tag { + WAVEFORMATEX wfx; +} OLIOPRWAVEFORMAT; +typedef OLIOPRWAVEFORMAT *POLIOPRWAVEFORMAT, + *NPOLIOPRWAVEFORMAT, *LPOLIOPRWAVEFORMAT; + +typedef struct csimaadpcmwaveformat_tag { + WAVEFORMATEX wfx; +} CSIMAADPCMWAVEFORMAT; +typedef CSIMAADPCMWAVEFORMAT *PCSIMAADPCMWAVEFORMAT, + *NPCSIMAADPCMWAVEFORMAT, *LPCSIMAADPCMWAVEFORMAT; + +typedef struct mpeg1waveformat_tag { + WAVEFORMATEX wfx; + WORD fwHeadLayer; + DWORD dwHeadBitrate; + WORD fwHeadMode; + WORD fwHeadModeExt; + WORD wHeadEmphasis; + WORD fwHeadFlags; + DWORD dwPTSLow; + DWORD dwPTSHigh; +} MPEG1WAVEFORMAT,* PMPEG1WAVEFORMAT; + +#define ACM_MPEG_LAYER1 0x0001 +#define ACM_MPEG_LAYER2 0x0002 +#define ACM_MPEG_LAYER3 0x0004 + +#define ACM_MPEG_STEREO 0x0001 +#define ACM_MPEG_JOINTSTEREO 0x0002 +#define ACM_MPEG_DUALCHANNEL 0x0004 +#define ACM_MPEG_SINGLECHANNEL 0x0008 +#define ACM_MPEG_PRIVATEBIT 0x0001 +#define ACM_MPEG_COPYRIGHT 0x0002 +#define ACM_MPEG_ORIGINALHOME 0x0004 +#define ACM_MPEG_PROTECTIONBIT 0x0008 +#define ACM_MPEG_ID_MPEG1 0x0010 + +typedef struct mpeglayer3waveformat_tag { + WAVEFORMATEX wfx; + WORD wID; + DWORD fdwFlags; + WORD nBlockSize; + WORD nFramesPerBlock; + WORD nCodecDelay; +} MPEGLAYER3WAVEFORMAT; + +#define MPEGLAYER3_WFX_EXTRA_BYTES 12 + +#define MPEGLAYER3_ID_UNKNOWN 0 +#define MPEGLAYER3_ID_MPEG 1 +#define MPEGLAYER3_ID_CONSTANTFRAMESIZE 2 + +#define MPEGLAYER3_FLAG_PADDING_ISO 0x00000000 +#define MPEGLAYER3_FLAG_PADDING_ON 0x00000001 +#define MPEGLAYER3_FLAG_PADDING_OFF 0x00000002 + +#ifdef GUID_DEFINED + +#ifndef _WAVEFORMATEXTENSIBLE_ +#define _WAVEFORMATEXTENSIBLE_ +typedef struct { + WAVEFORMATEX Format; + union { + WORD wValidBitsPerSample; + WORD wSamplesPerBlock; + WORD wReserved; + } Samples; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; +#endif /* _WAVEFORMATEXTENSIBLE_ */ + +#endif /* GUID_DEFINED */ + +typedef WAVEFORMATEXTENSIBLE WAVEFORMATPCMEX; +typedef WAVEFORMATPCMEX* PWAVEFORMATPCMEX; +typedef WAVEFORMATPCMEX* NPWAVEFORMATPCMEX; +typedef WAVEFORMATPCMEX* LPWAVEFORMATPCMEX; + +typedef WAVEFORMATEXTENSIBLE WAVEFORMATIEEEFLOATEX; +typedef WAVEFORMATIEEEFLOATEX* PWAVEFORMATIEEEFLOATEX; +typedef WAVEFORMATIEEEFLOATEX* NPWAVEFORMATIEEEFLOATEX; +typedef WAVEFORMATIEEEFLOATEX* LPWAVEFORMATIEEEFLOATEX; + +#ifndef _SPEAKER_POSITIONS_ +#define _SPEAKER_POSITIONS_ + +#define SPEAKER_FRONT_LEFT 0x00000001 +#define SPEAKER_FRONT_RIGHT 0x00000002 +#define SPEAKER_FRONT_CENTER 0x00000004 +#define SPEAKER_LOW_FREQUENCY 0x00000008 +#define SPEAKER_BACK_LEFT 0x00000010 +#define SPEAKER_BACK_RIGHT 0x00000020 +#define SPEAKER_FRONT_LEFT_OF_CENTER 0x00000040 +#define SPEAKER_FRONT_RIGHT_OF_CENTER 0x00000080 +#define SPEAKER_BACK_CENTER 0x00000100 +#define SPEAKER_SIDE_LEFT 0x00000200 +#define SPEAKER_SIDE_RIGHT 0x00000400 +#define SPEAKER_TOP_CENTER 0x00000800 +#define SPEAKER_TOP_FRONT_LEFT 0x00001000 +#define SPEAKER_TOP_FRONT_CENTER 0x00002000 +#define SPEAKER_TOP_FRONT_RIGHT 0x00004000 +#define SPEAKER_TOP_BACK_LEFT 0x00008000 +#define SPEAKER_TOP_BACK_CENTER 0x00010000 +#define SPEAKER_TOP_BACK_RIGHT 0x00020000 +#define SPEAKER_RESERVED 0x7FFC0000 +#define SPEAKER_ALL 0x80000000 + +#endif /* _SPEAKER_POSITIONS_ */ + + +/* DIB stuff */ + +#ifndef BI_BITFIELDS +#define BI_BITFIELDS 3 +#endif + +#ifndef QUERYDIBSUPPORT +#define QUERYDIBSUPPORT 3073 +#define QDI_SETDIBITS 1 +#define QDI_GETDIBITS 2 +#define QDI_DIBTOSCREEN 4 +#define QDI_STRETCHDIB 8 +#endif + +#ifndef NOBITMAP +typedef struct tagEXBMINFOHEADER { + BITMAPINFOHEADER bmi; + DWORD biExtDataOffset; +} EXBMINFOHEADER; +#endif + + +/* Video stuff */ + +#ifndef NONEWIC + +#ifndef ICTYPE_VIDEO +#define ICTYPE_VIDEO mmioFOURCC('v', 'i', 'd', 'c') +#define ICTYPE_AUDIO mmioFOURCC('a', 'u', 'd', 'c') +#endif + +#endif + +#include + +#endif /* __WINE_MMREG_H */ + +#else /* __WIDL__ */ + +cpp_quote("#if 0") +#pragma pack(push, 1) + +typedef struct tWAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; + [size_is(cbSize)] BYTE pExtraBytes[]; +} WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX; + +typedef struct { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; + WORD wValidBitsPerSample; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; + +#pragma pack(pop) +cpp_quote("#endif") + +#endif /* __WIDL__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmstream.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmstream.h new file mode 100644 index 0000000..fee6d21 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmstream.h @@ -0,0 +1,579 @@ +/*** Autogenerated by WIDL 2.18 from mmstream.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mmstream_h__ +#define __mmstream_h__ + +/* Forward declarations */ + +#ifndef __IMultiMediaStream_FWD_DEFINED__ +#define __IMultiMediaStream_FWD_DEFINED__ +typedef interface IMultiMediaStream IMultiMediaStream; +#ifdef __cplusplus +interface IMultiMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaStream_FWD_DEFINED__ +#define __IMediaStream_FWD_DEFINED__ +typedef interface IMediaStream IMediaStream; +#ifdef __cplusplus +interface IMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IStreamSample_FWD_DEFINED__ +#define __IStreamSample_FWD_DEFINED__ +typedef interface IStreamSample IStreamSample; +#ifdef __cplusplus +interface IStreamSample; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define MS_ERROR_CODE(x) MAKE_HRESULT(1, FACILITY_ITF, (x) + 0x400) +#define MS_SUCCESS_CODE(x) MAKE_HRESULT(0, FACILITY_ITF, x) +#define MS_S_PENDING MS_SUCCESS_CODE(1) +#define MS_S_NOUPDATE MS_SUCCESS_CODE(2) +#define MS_S_ENDOFSTREAM MS_SUCCESS_CODE(3) +#define MS_E_SAMPLEALLOC MS_ERROR_CODE(1) +#define MS_E_PURPOSEID MS_ERROR_CODE(2) +#define MS_E_NOSTREAM MS_ERROR_CODE(3) +#define MS_E_NOSEEKING MS_ERROR_CODE(4) +#define MS_E_INCOMPATIBLE MS_ERROR_CODE(5) +#define MS_E_BUSY MS_ERROR_CODE(6) +#define MS_E_NOTINIT MS_ERROR_CODE(7) +#define MS_E_SOURCEALREADYDEFINED MS_ERROR_CODE(8) +#define MS_E_INVALIDSTREAMTYPE MS_ERROR_CODE(9) +#define MS_E_NOTRUNNING MS_ERROR_CODE(10) +DEFINE_GUID(MSPID_PrimaryVideo, 0xa35ff56a, 0x9fda, 0x11d0, 0x8f, 0xdf, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0x9d); +DEFINE_GUID(MSPID_PrimaryAudio, 0xa35ff56b, 0x9fda, 0x11d0, 0x8f, 0xdf, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0x9d); +#if 0 +typedef void *PAPCFUNC; +#endif +typedef LONGLONG STREAM_TIME; +typedef GUID MSPID; +typedef REFGUID REFMSPID; +typedef enum __WIDL_mmstream_generated_name_00000002 { + STREAMTYPE_READ = 0, + STREAMTYPE_WRITE = 1, + STREAMTYPE_TRANSFORM = 2 +} STREAM_TYPE; +typedef enum __WIDL_mmstream_generated_name_00000003 { + STREAMSTATE_STOP = 0, + STREAMSTATE_RUN = 1 +} STREAM_STATE; +typedef enum __WIDL_mmstream_generated_name_00000004 { + COMPSTAT_NOUPDATEOK = 0x1, + COMPSTAT_WAIT = 0x2, + COMPSTAT_ABORT = 0x4 +} COMPLETION_STATUS_FLAGS; +enum { + MMSSF_HASCLOCK = 0x1, + MMSSF_SUPPORTSEEK = 0x2, + MMSSF_ASYNCHRONOUS = 0x4 +}; +enum { + SSUPDATE_ASYNC = 0x1, + SSUPDATE_CONTINUOUS = 0x2 +}; +#ifndef __IMultiMediaStream_FWD_DEFINED__ +#define __IMultiMediaStream_FWD_DEFINED__ +typedef interface IMultiMediaStream IMultiMediaStream; +#ifdef __cplusplus +interface IMultiMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaStream_FWD_DEFINED__ +#define __IMediaStream_FWD_DEFINED__ +typedef interface IMediaStream IMediaStream; +#ifdef __cplusplus +interface IMediaStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IStreamSample_FWD_DEFINED__ +#define __IStreamSample_FWD_DEFINED__ +typedef interface IStreamSample IStreamSample; +#ifdef __cplusplus +interface IStreamSample; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IMultiMediaStream interface + */ +#ifndef __IMultiMediaStream_INTERFACE_DEFINED__ +#define __IMultiMediaStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMultiMediaStream, 0xb502d1bc, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b502d1bc-9a57-11d0-8fde-00c04fd9189d") +IMultiMediaStream : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetInformation( + DWORD *pdwFlags, + STREAM_TYPE *pStreamType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaStream( + REFMSPID idPurpose, + IMediaStream **ppMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumMediaStreams( + LONG Index, + IMediaStream **ppMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + STREAM_STATE *pCurrentState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetState( + STREAM_STATE NewState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTime( + STREAM_TIME *pCurrentTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDuration( + STREAM_TIME *pDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE Seek( + STREAM_TIME SeekTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEndOfStreamEventHandle( + HANDLE *phEOS) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMultiMediaStream, 0xb502d1bc, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IMultiMediaStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMultiMediaStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMultiMediaStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMultiMediaStream *This); + + /*** IMultiMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IMultiMediaStream *This, + DWORD *pdwFlags, + STREAM_TYPE *pStreamType); + + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IMultiMediaStream *This, + REFMSPID idPurpose, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *EnumMediaStreams)( + IMultiMediaStream *This, + LONG Index, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IMultiMediaStream *This, + STREAM_STATE *pCurrentState); + + HRESULT (STDMETHODCALLTYPE *SetState)( + IMultiMediaStream *This, + STREAM_STATE NewState); + + HRESULT (STDMETHODCALLTYPE *GetTime)( + IMultiMediaStream *This, + STREAM_TIME *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *GetDuration)( + IMultiMediaStream *This, + STREAM_TIME *pDuration); + + HRESULT (STDMETHODCALLTYPE *Seek)( + IMultiMediaStream *This, + STREAM_TIME SeekTime); + + HRESULT (STDMETHODCALLTYPE *GetEndOfStreamEventHandle)( + IMultiMediaStream *This, + HANDLE *phEOS); + + END_INTERFACE +} IMultiMediaStreamVtbl; + +interface IMultiMediaStream { + CONST_VTBL IMultiMediaStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMultiMediaStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMultiMediaStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMultiMediaStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMultiMediaStream methods ***/ +#define IMultiMediaStream_GetInformation(This,pdwFlags,pStreamType) (This)->lpVtbl->GetInformation(This,pdwFlags,pStreamType) +#define IMultiMediaStream_GetMediaStream(This,idPurpose,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,idPurpose,ppMediaStream) +#define IMultiMediaStream_EnumMediaStreams(This,Index,ppMediaStream) (This)->lpVtbl->EnumMediaStreams(This,Index,ppMediaStream) +#define IMultiMediaStream_GetState(This,pCurrentState) (This)->lpVtbl->GetState(This,pCurrentState) +#define IMultiMediaStream_SetState(This,NewState) (This)->lpVtbl->SetState(This,NewState) +#define IMultiMediaStream_GetTime(This,pCurrentTime) (This)->lpVtbl->GetTime(This,pCurrentTime) +#define IMultiMediaStream_GetDuration(This,pDuration) (This)->lpVtbl->GetDuration(This,pDuration) +#define IMultiMediaStream_Seek(This,SeekTime) (This)->lpVtbl->Seek(This,SeekTime) +#define IMultiMediaStream_GetEndOfStreamEventHandle(This,phEOS) (This)->lpVtbl->GetEndOfStreamEventHandle(This,phEOS) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMultiMediaStream_QueryInterface(IMultiMediaStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMultiMediaStream_AddRef(IMultiMediaStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMultiMediaStream_Release(IMultiMediaStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMultiMediaStream methods ***/ +static FORCEINLINE HRESULT IMultiMediaStream_GetInformation(IMultiMediaStream* This,DWORD *pdwFlags,STREAM_TYPE *pStreamType) { + return This->lpVtbl->GetInformation(This,pdwFlags,pStreamType); +} +static FORCEINLINE HRESULT IMultiMediaStream_GetMediaStream(IMultiMediaStream* This,REFMSPID idPurpose,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,idPurpose,ppMediaStream); +} +static FORCEINLINE HRESULT IMultiMediaStream_EnumMediaStreams(IMultiMediaStream* This,LONG Index,IMediaStream **ppMediaStream) { + return This->lpVtbl->EnumMediaStreams(This,Index,ppMediaStream); +} +static FORCEINLINE HRESULT IMultiMediaStream_GetState(IMultiMediaStream* This,STREAM_STATE *pCurrentState) { + return This->lpVtbl->GetState(This,pCurrentState); +} +static FORCEINLINE HRESULT IMultiMediaStream_SetState(IMultiMediaStream* This,STREAM_STATE NewState) { + return This->lpVtbl->SetState(This,NewState); +} +static FORCEINLINE HRESULT IMultiMediaStream_GetTime(IMultiMediaStream* This,STREAM_TIME *pCurrentTime) { + return This->lpVtbl->GetTime(This,pCurrentTime); +} +static FORCEINLINE HRESULT IMultiMediaStream_GetDuration(IMultiMediaStream* This,STREAM_TIME *pDuration) { + return This->lpVtbl->GetDuration(This,pDuration); +} +static FORCEINLINE HRESULT IMultiMediaStream_Seek(IMultiMediaStream* This,STREAM_TIME SeekTime) { + return This->lpVtbl->Seek(This,SeekTime); +} +static FORCEINLINE HRESULT IMultiMediaStream_GetEndOfStreamEventHandle(IMultiMediaStream* This,HANDLE *phEOS) { + return This->lpVtbl->GetEndOfStreamEventHandle(This,phEOS); +} +#endif +#endif + +#endif + + +#endif /* __IMultiMediaStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaStream interface + */ +#ifndef __IMediaStream_INTERFACE_DEFINED__ +#define __IMediaStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaStream, 0xb502d1bd, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b502d1bd-9a57-11d0-8fde-00c04fd9189d") +IMediaStream : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMultiMediaStream( + IMultiMediaStream **ppMultiMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInformation( + MSPID *pPurposeId, + STREAM_TYPE *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSameFormat( + IMediaStream *pStreamThatHasDesiredFormat, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocateSample( + DWORD dwFlags, + IStreamSample **ppSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSharedSample( + IStreamSample *pExistingSample, + DWORD dwFlags, + IStreamSample **ppNewSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendEndOfStream( + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaStream, 0xb502d1bd, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IMediaStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaStream *This); + + /*** IMediaStream methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)( + IMediaStream *This, + IMultiMediaStream **ppMultiMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetInformation)( + IMediaStream *This, + MSPID *pPurposeId, + STREAM_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *SetSameFormat)( + IMediaStream *This, + IMediaStream *pStreamThatHasDesiredFormat, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *AllocateSample)( + IMediaStream *This, + DWORD dwFlags, + IStreamSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *CreateSharedSample)( + IMediaStream *This, + IStreamSample *pExistingSample, + DWORD dwFlags, + IStreamSample **ppNewSample); + + HRESULT (STDMETHODCALLTYPE *SendEndOfStream)( + IMediaStream *This, + DWORD dwFlags); + + END_INTERFACE +} IMediaStreamVtbl; + +interface IMediaStream { + CONST_VTBL IMediaStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaStream_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaStream methods ***/ +#define IMediaStream_GetMultiMediaStream(This,ppMultiMediaStream) (This)->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream) +#define IMediaStream_GetInformation(This,pPurposeId,pType) (This)->lpVtbl->GetInformation(This,pPurposeId,pType) +#define IMediaStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) (This)->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) +#define IMediaStream_AllocateSample(This,dwFlags,ppSample) (This)->lpVtbl->AllocateSample(This,dwFlags,ppSample) +#define IMediaStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) (This)->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) +#define IMediaStream_SendEndOfStream(This,dwFlags) (This)->lpVtbl->SendEndOfStream(This,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaStream_QueryInterface(IMediaStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaStream_AddRef(IMediaStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaStream_Release(IMediaStream* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaStream methods ***/ +static FORCEINLINE HRESULT IMediaStream_GetMultiMediaStream(IMediaStream* This,IMultiMediaStream **ppMultiMediaStream) { + return This->lpVtbl->GetMultiMediaStream(This,ppMultiMediaStream); +} +static FORCEINLINE HRESULT IMediaStream_GetInformation(IMediaStream* This,MSPID *pPurposeId,STREAM_TYPE *pType) { + return This->lpVtbl->GetInformation(This,pPurposeId,pType); +} +static FORCEINLINE HRESULT IMediaStream_SetSameFormat(IMediaStream* This,IMediaStream *pStreamThatHasDesiredFormat,DWORD dwFlags) { + return This->lpVtbl->SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags); +} +static FORCEINLINE HRESULT IMediaStream_AllocateSample(IMediaStream* This,DWORD dwFlags,IStreamSample **ppSample) { + return This->lpVtbl->AllocateSample(This,dwFlags,ppSample); +} +static FORCEINLINE HRESULT IMediaStream_CreateSharedSample(IMediaStream* This,IStreamSample *pExistingSample,DWORD dwFlags,IStreamSample **ppNewSample) { + return This->lpVtbl->CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample); +} +static FORCEINLINE HRESULT IMediaStream_SendEndOfStream(IMediaStream* This,DWORD dwFlags) { + return This->lpVtbl->SendEndOfStream(This,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IMediaStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IStreamSample interface + */ +#ifndef __IStreamSample_INTERFACE_DEFINED__ +#define __IStreamSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IStreamSample, 0xb502d1be, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b502d1be-9a57-11d0-8fde-00c04fd9189d") +IStreamSample : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMediaStream( + IMediaStream **ppMediaStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSampleTimes( + STREAM_TIME *pStartTime, + STREAM_TIME *pEndTime, + STREAM_TIME *pCurrentTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSampleTimes( + const STREAM_TIME *pStartTime, + const STREAM_TIME *pEndTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE Update( + DWORD dwFlags, + HANDLE hEvent, + PAPCFUNC pfnAPC, + DWORD dwAPCData) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompletionStatus( + DWORD dwFlags, + DWORD dwMilliseconds) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IStreamSample, 0xb502d1be, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d) +#endif +#else +typedef struct IStreamSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IStreamSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IStreamSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IStreamSample *This); + + /*** IStreamSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMediaStream)( + IStreamSample *This, + IMediaStream **ppMediaStream); + + HRESULT (STDMETHODCALLTYPE *GetSampleTimes)( + IStreamSample *This, + STREAM_TIME *pStartTime, + STREAM_TIME *pEndTime, + STREAM_TIME *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *SetSampleTimes)( + IStreamSample *This, + const STREAM_TIME *pStartTime, + const STREAM_TIME *pEndTime); + + HRESULT (STDMETHODCALLTYPE *Update)( + IStreamSample *This, + DWORD dwFlags, + HANDLE hEvent, + PAPCFUNC pfnAPC, + DWORD dwAPCData); + + HRESULT (STDMETHODCALLTYPE *CompletionStatus)( + IStreamSample *This, + DWORD dwFlags, + DWORD dwMilliseconds); + + END_INTERFACE +} IStreamSampleVtbl; + +interface IStreamSample { + CONST_VTBL IStreamSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IStreamSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IStreamSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IStreamSample_Release(This) (This)->lpVtbl->Release(This) +/*** IStreamSample methods ***/ +#define IStreamSample_GetMediaStream(This,ppMediaStream) (This)->lpVtbl->GetMediaStream(This,ppMediaStream) +#define IStreamSample_GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) (This)->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) +#define IStreamSample_SetSampleTimes(This,pStartTime,pEndTime) (This)->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime) +#define IStreamSample_Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) (This)->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) +#define IStreamSample_CompletionStatus(This,dwFlags,dwMilliseconds) (This)->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IStreamSample_QueryInterface(IStreamSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IStreamSample_AddRef(IStreamSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IStreamSample_Release(IStreamSample* This) { + return This->lpVtbl->Release(This); +} +/*** IStreamSample methods ***/ +static FORCEINLINE HRESULT IStreamSample_GetMediaStream(IStreamSample* This,IMediaStream **ppMediaStream) { + return This->lpVtbl->GetMediaStream(This,ppMediaStream); +} +static FORCEINLINE HRESULT IStreamSample_GetSampleTimes(IStreamSample* This,STREAM_TIME *pStartTime,STREAM_TIME *pEndTime,STREAM_TIME *pCurrentTime) { + return This->lpVtbl->GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime); +} +static FORCEINLINE HRESULT IStreamSample_SetSampleTimes(IStreamSample* This,const STREAM_TIME *pStartTime,const STREAM_TIME *pEndTime) { + return This->lpVtbl->SetSampleTimes(This,pStartTime,pEndTime); +} +static FORCEINLINE HRESULT IStreamSample_Update(IStreamSample* This,DWORD dwFlags,HANDLE hEvent,PAPCFUNC pfnAPC,DWORD dwAPCData) { + return This->lpVtbl->Update(This,dwFlags,hEvent,pfnAPC,dwAPCData); +} +static FORCEINLINE HRESULT IStreamSample_CompletionStatus(IStreamSample* This,DWORD dwFlags,DWORD dwMilliseconds) { + return This->lpVtbl->CompletionStatus(This,dwFlags,dwMilliseconds); +} +#endif +#endif + +#endif + + +#endif /* __IStreamSample_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mmstream_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmstream.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmstream.idl new file mode 100644 index 0000000..9730ee2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmstream.idl @@ -0,0 +1,184 @@ +/* + * Copyright 2004 Christian Costa + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +cpp_quote("#define MS_ERROR_CODE(x) MAKE_HRESULT(1, FACILITY_ITF, (x) + 0x400)") +cpp_quote("#define MS_SUCCESS_CODE(x) MAKE_HRESULT(0, FACILITY_ITF, x)") +cpp_quote("#define MS_S_PENDING MS_SUCCESS_CODE(1)") +cpp_quote("#define MS_S_NOUPDATE MS_SUCCESS_CODE(2)") +cpp_quote("#define MS_S_ENDOFSTREAM MS_SUCCESS_CODE(3)") + +cpp_quote("#define MS_E_SAMPLEALLOC MS_ERROR_CODE(1)") +cpp_quote("#define MS_E_PURPOSEID MS_ERROR_CODE(2)") +cpp_quote("#define MS_E_NOSTREAM MS_ERROR_CODE(3)") +cpp_quote("#define MS_E_NOSEEKING MS_ERROR_CODE(4)") +cpp_quote("#define MS_E_INCOMPATIBLE MS_ERROR_CODE(5)") +cpp_quote("#define MS_E_BUSY MS_ERROR_CODE(6)") +cpp_quote("#define MS_E_NOTINIT MS_ERROR_CODE(7)") +cpp_quote("#define MS_E_SOURCEALREADYDEFINED MS_ERROR_CODE(8)") +cpp_quote("#define MS_E_INVALIDSTREAMTYPE MS_ERROR_CODE(9)") +cpp_quote("#define MS_E_NOTRUNNING MS_ERROR_CODE(10)") + +cpp_quote("DEFINE_GUID(MSPID_PrimaryVideo, 0xa35ff56a, 0x9fda, 0x11d0, 0x8f, 0xdf, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);") +cpp_quote("DEFINE_GUID(MSPID_PrimaryAudio, 0xa35ff56b, 0x9fda, 0x11d0, 0x8f, 0xdf, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);") + +cpp_quote("#if 0") +typedef void* PAPCFUNC; +cpp_quote("#endif") + +typedef LONGLONG STREAM_TIME; + +typedef GUID MSPID; +typedef REFGUID REFMSPID; + +typedef enum { + STREAMTYPE_READ = 0, + STREAMTYPE_WRITE = 1, + STREAMTYPE_TRANSFORM = 2 +} STREAM_TYPE; + +typedef enum { + STREAMSTATE_STOP = 0, + STREAMSTATE_RUN = 1 +} STREAM_STATE; + + +typedef enum { + COMPSTAT_NOUPDATEOK = 0x00000001, + COMPSTAT_WAIT = 0x00000002, + COMPSTAT_ABORT = 0x00000004 +} COMPLETION_STATUS_FLAGS; + +enum { + MMSSF_HASCLOCK = 0x00000001, + MMSSF_SUPPORTSEEK = 0x00000002, + MMSSF_ASYNCHRONOUS = 0x00000004 +}; + +enum { + SSUPDATE_ASYNC = 0x00000001, + SSUPDATE_CONTINUOUS = 0x00000002 +}; + +interface IMultiMediaStream; +interface IMediaStream; +interface IStreamSample; + + +[ +object, +local, +uuid(B502D1BC-9A57-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IMultiMediaStream : IUnknown { + + HRESULT GetInformation( + [out, optional] DWORD *pdwFlags, + [out, optional] STREAM_TYPE *pStreamType); + + HRESULT GetMediaStream( + [in] REFMSPID idPurpose, + [out] IMediaStream **ppMediaStream); + + HRESULT EnumMediaStreams( + [in] long Index, + [out] IMediaStream **ppMediaStream); + + HRESULT GetState( + [out] STREAM_STATE *pCurrentState); + + HRESULT SetState( + [in] STREAM_STATE NewState); + + HRESULT GetTime( + [out] STREAM_TIME *pCurrentTime); + + HRESULT GetDuration( + [out] STREAM_TIME *pDuration); + + HRESULT Seek( + [in] STREAM_TIME SeekTime); + + HRESULT GetEndOfStreamEventHandle( + [out] HANDLE *phEOS); +} + + +[ +object, +uuid(B502D1BD-9A57-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IMediaStream : IUnknown { + + HRESULT GetMultiMediaStream( + [out] IMultiMediaStream **ppMultiMediaStream); + + HRESULT GetInformation( + [out, optional] MSPID *pPurposeId, + [out, optional] STREAM_TYPE *pType); + + HRESULT SetSameFormat( + [in] IMediaStream *pStreamThatHasDesiredFormat, + [in] DWORD dwFlags); + + HRESULT AllocateSample( + [in] DWORD dwFlags, + [out] IStreamSample **ppSample); + + HRESULT CreateSharedSample( + [in] IStreamSample *pExistingSample, + [in] DWORD dwFlags, + [out] IStreamSample **ppNewSample); + + HRESULT SendEndOfStream(DWORD dwFlags); +} + + +[ +object, +local, +uuid(B502D1BE-9A57-11d0-8FDE-00C04FD9189D), +pointer_default(unique) +] +interface IStreamSample : IUnknown { + + HRESULT GetMediaStream( + [in] IMediaStream **ppMediaStream); + + HRESULT GetSampleTimes( + [out, optional] STREAM_TIME * pStartTime, + [out, optional] STREAM_TIME * pEndTime, + [out, optional] STREAM_TIME * pCurrentTime); + + HRESULT SetSampleTimes( + [in, optional] const STREAM_TIME *pStartTime, + [in, optional] const STREAM_TIME *pEndTime); + + HRESULT Update( + [in] DWORD dwFlags, + [in, optional] HANDLE hEvent, + [in, optional] PAPCFUNC pfnAPC, + [in, optional] DWORD dwAPCData); + + HRESULT CompletionStatus( + [in] DWORD dwFlags, + [in, optional] DWORD dwMilliseconds); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmsystem.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmsystem.h new file mode 100644 index 0000000..721e5e6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mmsystem.h @@ -0,0 +1,2523 @@ +/* + * MMSYSTEM - Multimedia Wine Extension ... :-) + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MMSYSTEM_H +#define __WINE_MMSYSTEM_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef LPSTR HPSTR; /* a huge version of LPSTR */ +typedef LPCSTR HPCSTR; /* a huge version of LPCSTR */ +typedef UINT* LPUINT; + +DECLARE_HANDLE(HDRVR); +DECLARE_HANDLE(HWAVE); +DECLARE_HANDLE(HWAVEIN); +DECLARE_HANDLE(HWAVEOUT); +DECLARE_HANDLE(HMIDI); +DECLARE_HANDLE(HMIDIIN); +DECLARE_HANDLE(HMIDIOUT); +DECLARE_HANDLE(HMIDISTRM); +DECLARE_HANDLE(HMIXER); +DECLARE_HANDLE(HMIXEROBJ); +DECLARE_HANDLE(HMMIO); + +typedef HMIDI *LPHMIDI; +typedef HMIDIIN *LPHMIDIIN; +typedef HMIDIOUT *LPHMIDIOUT; +typedef HMIDISTRM *LPHMIDISTRM; +typedef HMIXER *LPHMIXER; +typedef HMIXEROBJ *LPHMIXEROBJ; +typedef HWAVEIN *LPHWAVEIN; +typedef HWAVEOUT *LPHWAVEOUT; + +#include + +typedef LRESULT (CALLBACK *DRIVERPROC)(DWORD_PTR,HDRVR,UINT,LPARAM,LPARAM); + +#define MAXWAVEDRIVERS 10 +#define MAXMIDIDRIVERS 10 +#define MAXAUXDRIVERS 10 +#define MAXMCIDRIVERS 32 +#define MAXMIXERDRIVERS 10 + +#define MAXPNAMELEN 32 /* max product name length (including NULL) */ +#define MAXERRORLENGTH 256 /* max error text length (including NULL) */ +#define MAX_JOYSTICKOEMVXDNAME 260 + +#ifndef _MCIERROR_ +#define _MCIERROR_ +typedef DWORD MCIERROR; +#endif +typedef UINT MMVERSION; +#ifndef _MCIDEVICEID_ +#define _MCIDEVICEID_ +typedef UINT MCIDEVICEID; +#endif +typedef UINT MMRESULT; + +typedef struct mmtime_tag { + UINT wType; + union { + DWORD ms; + DWORD sample; + DWORD cb; + DWORD ticks; + struct { + BYTE hour; + BYTE min; + BYTE sec; + BYTE frame; + BYTE fps; + BYTE dummy; + BYTE pad[2]; + } smpte; + struct { + DWORD songptrpos; + } midi; + } u; +} MMTIME, *PMMTIME, *LPMMTIME; + +#define TIME_MS 0x0001 /* time in milliseconds */ +#define TIME_SAMPLES 0x0002 /* number of wave samples */ +#define TIME_BYTES 0x0004 /* current byte offset */ +#define TIME_SMPTE 0x0008 /* SMPTE time */ +#define TIME_MIDI 0x0010 /* MIDI time */ +#define TIME_TICKS 0x0020 /* MIDI ticks */ + +#define MM_JOY1MOVE 0x3A0 /* joystick */ +#define MM_JOY2MOVE 0x3A1 +#define MM_JOY1ZMOVE 0x3A2 +#define MM_JOY2ZMOVE 0x3A3 +#define MM_JOY1BUTTONDOWN 0x3B5 +#define MM_JOY2BUTTONDOWN 0x3B6 +#define MM_JOY1BUTTONUP 0x3B7 +#define MM_JOY2BUTTONUP 0x3B8 + +#define MM_MCINOTIFY 0x3B9 /* MCI */ + +#define MM_WOM_OPEN 0x3BB /* waveform output */ +#define MM_WOM_CLOSE 0x3BC +#define MM_WOM_DONE 0x3BD + +#define MM_WIM_OPEN 0x3BE /* waveform input */ +#define MM_WIM_CLOSE 0x3BF +#define MM_WIM_DATA 0x3C0 + +#define MM_MIM_OPEN 0x3C1 /* MIDI input */ +#define MM_MIM_CLOSE 0x3C2 +#define MM_MIM_DATA 0x3C3 +#define MM_MIM_LONGDATA 0x3C4 +#define MM_MIM_ERROR 0x3C5 +#define MM_MIM_LONGERROR 0x3C6 + +#define MM_MOM_OPEN 0x3C7 /* MIDI output */ +#define MM_MOM_CLOSE 0x3C8 +#define MM_MOM_DONE 0x3C9 +#define MM_MOM_POSITIONCB 0x3CA + +#define MM_MIM_MOREDATA 0x3CC + +#define MM_MIXM_LINE_CHANGE 0x3D0 +#define MM_MIXM_CONTROL_CHANGE 0x3D1 + +#define MMSYSERR_BASE 0 +#define WAVERR_BASE 32 +#define MIDIERR_BASE 64 +#define TIMERR_BASE 96 +#define JOYERR_BASE 160 +#define MCIERR_BASE 256 + +#define MCI_STRING_OFFSET 512 +#define MCI_VD_OFFSET 1024 +#define MCI_CD_OFFSET 1088 +#define MCI_WAVE_OFFSET 1152 +#define MCI_SEQ_OFFSET 1216 + +#define MMSYSERR_NOERROR 0 +#define MMSYSERR_ERROR (MMSYSERR_BASE + 1) +#define MMSYSERR_BADDEVICEID (MMSYSERR_BASE + 2) +#define MMSYSERR_NOTENABLED (MMSYSERR_BASE + 3) +#define MMSYSERR_ALLOCATED (MMSYSERR_BASE + 4) +#define MMSYSERR_INVALHANDLE (MMSYSERR_BASE + 5) +#define MMSYSERR_NODRIVER (MMSYSERR_BASE + 6) +#define MMSYSERR_NOMEM (MMSYSERR_BASE + 7) +#define MMSYSERR_NOTSUPPORTED (MMSYSERR_BASE + 8) +#define MMSYSERR_BADERRNUM (MMSYSERR_BASE + 9) +#define MMSYSERR_INVALFLAG (MMSYSERR_BASE + 10) +#define MMSYSERR_INVALPARAM (MMSYSERR_BASE + 11) +#define MMSYSERR_HANDLEBUSY (MMSYSERR_BASE + 12) +#define MMSYSERR_INVALIDALIAS (MMSYSERR_BASE + 13) +#define MMSYSERR_BADDB (MMSYSERR_BASE + 14) +#define MMSYSERR_KEYNOTFOUND (MMSYSERR_BASE + 15) +#define MMSYSERR_READERROR (MMSYSERR_BASE + 16) +#define MMSYSERR_WRITEERROR (MMSYSERR_BASE + 17) +#define MMSYSERR_DELETEERROR (MMSYSERR_BASE + 18) +#define MMSYSERR_VALNOTFOUND (MMSYSERR_BASE + 19) +#define MMSYSERR_NODRIVERCB (MMSYSERR_BASE + 20) +#define MMSYSERR_MOREDATA (MMSYSERR_BASE + 21) +#define MMSYSERR_LASTERROR (MMSYSERR_BASE + 21) + +#define CALLBACK_TYPEMASK __MSABI_LONG(0x00070000) /* callback type mask */ +#define CALLBACK_NULL __MSABI_LONG(0x00000000) /* no callback */ +#define CALLBACK_WINDOW __MSABI_LONG(0x00010000) /* dwCallback is a HWND */ +#define CALLBACK_TASK __MSABI_LONG(0x00020000) /* dwCallback is a HTASK */ +#define CALLBACK_THREAD (CALLBACK_TASK) /* dwCallback is a thread ID */ +#define CALLBACK_FUNCTION __MSABI_LONG(0x00030000) /* dwCallback is a FARPROC */ +#define CALLBACK_EVENT __MSABI_LONG(0x00050000) /* dwCallback is an EVENT Handler */ + +#define DRV_LOAD 0x0001 +#define DRV_ENABLE 0x0002 +#define DRV_OPEN 0x0003 +#define DRV_CLOSE 0x0004 +#define DRV_DISABLE 0x0005 +#define DRV_FREE 0x0006 +#define DRV_CONFIGURE 0x0007 +#define DRV_QUERYCONFIGURE 0x0008 +#define DRV_INSTALL 0x0009 +#define DRV_REMOVE 0x000A +#define DRV_EXITSESSION 0x000B +#define DRV_EXITAPPLICATION 0x000C +#define DRV_POWER 0x000F + +#define DRV_RESERVED 0x0800 +#define DRV_MCI_FIRST DRV_RESERVED +#define DRV_MCI_LAST (0xFFF + DRV_MCI_FIRST) +#define DRV_USER 0x4000 + +#define DRVCNF_CANCEL 0x0000 +#define DRVCNF_OK 0x0001 +#define DRVCNF_RESTART 0x0002 + +#define DRVEA_NORMALEXIT 0x0001 +#define DRVEA_ABNORMALEXIT 0x0002 + +#define DRV_SUCCESS 0x0001 +#define DRV_FAILURE 0x0000 + +#define GND_FIRSTINSTANCEONLY 0x00000001 + +#define GND_FORWARD 0x00000000 +#define GND_REVERSE 0x00000002 + +typedef struct tagDRVCONFIGINFO { + DWORD dwDCISize; + LPCWSTR lpszDCISectionName; + LPCWSTR lpszDCIAliasName; +} DRVCONFIGINFO, *LPDRVCONFIGINFO; + + +LRESULT WINAPI DefDriverProc(DWORD_PTR,HDRVR,UINT,LPARAM,LPARAM); +/* this sounds odd, but it's the way it is. OpenDriverA even disappeared + * from latest SDK + */ +HDRVR WINAPI OpenDriverA(LPCSTR szDriverName, LPCSTR szSectionName, + LPARAM lParam2); +HDRVR WINAPI OpenDriver(LPCWSTR szDriverName, LPCWSTR szSectionName, + LPARAM lParam2); +LRESULT WINAPI CloseDriver(HDRVR hDriver, LPARAM lParam1, LPARAM lParam2); +LRESULT WINAPI SendDriverMessage(HDRVR hDriver, UINT message, + LPARAM lParam1, LPARAM lParam2); +HMODULE WINAPI GetDriverModuleHandle(HDRVR hDriver); + +DWORD WINAPI GetDriverFlags(HDRVR hDriver); + +typedef void (CALLBACK *LPDRVCALLBACK)(HDRVR,UINT,DWORD_PTR,DWORD_PTR,DWORD_PTR); + +#ifndef MM_MICROSOFT +#define MM_MICROSOFT 1 /* Microsoft Corp. */ +#endif + +#define MM_MIDI_MAPPER 1 /* MIDI Mapper */ +#define MM_WAVE_MAPPER 2 /* Wave Mapper */ + +#define MM_SNDBLST_MIDIOUT 3 /* Sound Blaster MIDI output port */ +#define MM_SNDBLST_MIDIIN 4 /* Sound Blaster MIDI input port */ +#define MM_SNDBLST_SYNTH 5 /* Sound Blaster internal synthesizer */ +#define MM_SNDBLST_WAVEOUT 6 /* Sound Blaster waveform output */ +#define MM_SNDBLST_WAVEIN 7 /* Sound Blaster waveform input */ + +#define MM_ADLIB 9 /* Ad Lib-compatible synthesizer */ + +#define MM_MPU401_MIDIOUT 10 /* MPU401-compatible MIDI output port */ +#define MM_MPU401_MIDIIN 11 /* MPU401-compatible MIDI input port */ + +#define MM_PC_JOYSTICK 12 /* Joystick adapter */ + +#define MM_CREATIVE_SBP16_WAVEOUT 104 + +UINT WINAPI mmsystemGetVersion(void); +BOOL WINAPI sndPlaySoundA(LPCSTR lpszSound, UINT fuSound); +BOOL WINAPI sndPlaySoundW(LPCWSTR lpszSound, UINT fuSound); +#define sndPlaySound WINELIB_NAME_AW(sndPlaySound) +BOOL WINAPI PlaySoundA(LPCSTR pszSound, HMODULE hmod, DWORD fdwSound); +BOOL WINAPI PlaySoundW(LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound); +#define PlaySound WINELIB_NAME_AW(PlaySound) + +#define SND_SYNC 0x0000 /* play synchronously (default) */ +#define SND_ASYNC 0x0001 /* play asynchronously */ +#define SND_NODEFAULT 0x0002 /* don't use default sound */ +#define SND_MEMORY 0x0004 /* lpszSoundName points to a memory file */ +#define SND_LOOP 0x0008 /* loop the sound until next sndPlaySound */ +#define SND_NOSTOP 0x0010 /* don't stop any currently playing sound */ + +#define SND_NOWAIT __MSABI_LONG(0x00002000) /* don't wait if the driver is busy */ +#define SND_ALIAS __MSABI_LONG(0x00010000) /* name is a registry alias */ +#define SND_ALIAS_ID __MSABI_LONG(0x00110000) /* alias is a predefined ID */ +#define SND_FILENAME __MSABI_LONG(0x00020000) /* name is file name */ +#define SND_RESOURCE __MSABI_LONG(0x00040004) /* name is resource name or atom */ +#define SND_PURGE __MSABI_LONG(0x00000040) /* purge all sounds */ +#define SND_APPLICATION __MSABI_LONG(0x00000080) /* look for application specific association */ + +#define SND_ALIAS_START 0 + +#define sndAlias(ch0, ch1) (SND_ALIAS_START + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8))) + +#define SND_ALIAS_SYSTEMASTERISK sndAlias('S', '*') +#define SND_ALIAS_SYSTEMQUESTION sndAlias('S', '?') +#define SND_ALIAS_SYSTEMHAND sndAlias('S', 'H') +#define SND_ALIAS_SYSTEMEXIT sndAlias('S', 'E') +#define SND_ALIAS_SYSTEMSTART sndAlias('S', 'S') +#define SND_ALIAS_SYSTEMWELCOME sndAlias('S', 'W') +#define SND_ALIAS_SYSTEMEXCLAMATION sndAlias('S', '!') +#define SND_ALIAS_SYSTEMDEFAULT sndAlias('S', 'D') + +/* waveform audio error return values */ +#define WAVERR_BADFORMAT (WAVERR_BASE + 0) /* unsupported wave format */ +#define WAVERR_STILLPLAYING (WAVERR_BASE + 1) /* still something playing */ +#define WAVERR_UNPREPARED (WAVERR_BASE + 2) /* header not prepared */ +#define WAVERR_SYNC (WAVERR_BASE + 3) /* device is synchronous */ +#define WAVERR_LASTERROR (WAVERR_BASE + 3) /* last error in range */ + +typedef LPDRVCALLBACK LPWAVECALLBACK; + +#define WOM_OPEN MM_WOM_OPEN +#define WOM_CLOSE MM_WOM_CLOSE +#define WOM_DONE MM_WOM_DONE +#define WIM_OPEN MM_WIM_OPEN +#define WIM_CLOSE MM_WIM_CLOSE +#define WIM_DATA MM_WIM_DATA + +#define WAVE_MAPPER (-1) + +#define WAVE_FORMAT_QUERY 0x0001 +#define WAVE_ALLOWSYNC 0x0002 +#define WAVE_MAPPED 0x0004 +#define WAVE_FORMAT_DIRECT 0x0008 +#define WAVE_FORMAT_DIRECT_QUERY (WAVE_FORMAT_QUERY | WAVE_FORMAT_DIRECT) + +typedef struct wavehdr_tag { + LPSTR lpData; + DWORD dwBufferLength; + DWORD dwBytesRecorded; + DWORD_PTR dwUser; + DWORD dwFlags; + DWORD dwLoops; + struct wavehdr_tag *lpNext; + DWORD_PTR reserved; +} WAVEHDR, *PWAVEHDR, *NPWAVEHDR, *LPWAVEHDR; + +#define WHDR_DONE 0x00000001 +#define WHDR_PREPARED 0x00000002 +#define WHDR_BEGINLOOP 0x00000004 +#define WHDR_ENDLOOP 0x00000008 +#define WHDR_INQUEUE 0x00000010 + +typedef struct tagWAVEOUTCAPSA { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; + DWORD dwSupport; +} WAVEOUTCAPSA, *LPWAVEOUTCAPSA; + +typedef struct tagWAVEOUTCAPSW { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; + DWORD dwSupport; +} WAVEOUTCAPSW, *LPWAVEOUTCAPSW; +DECL_WINELIB_TYPE_AW(WAVEOUTCAPS) +DECL_WINELIB_TYPE_AW(LPWAVEOUTCAPS) + +typedef struct tagWAVEOUTCAPS2A { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} WAVEOUTCAPS2A, *LPWAVEOUTCAPS2A; + +typedef struct tagWAVEOUTCAPS2W { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} WAVEOUTCAPS2W, *LPWAVEOUTCAPS2W; +DECL_WINELIB_TYPE_AW(WAVEOUTCAPS2) +DECL_WINELIB_TYPE_AW(LPWAVEOUTCAPS2) + +#define WAVECAPS_PITCH 0x0001 /* supports pitch control */ +#define WAVECAPS_PLAYBACKRATE 0x0002 /* supports playback rate control */ +#define WAVECAPS_VOLUME 0x0004 /* supports volume control */ +#define WAVECAPS_LRVOLUME 0x0008 /* separate left-right volume control */ +#define WAVECAPS_SYNC 0x0010 /* driver is synchronous and playing is blocking */ +#define WAVECAPS_SAMPLEACCURATE 0x0020 /* position is sample accurate */ +#define WAVECAPS_DIRECTSOUND 0x0040 /* ? */ + +typedef struct tagWAVEINCAPSA { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; +} WAVEINCAPSA, *LPWAVEINCAPSA; +typedef struct tagWAVEINCAPSW { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; +} WAVEINCAPSW, *LPWAVEINCAPSW; +DECL_WINELIB_TYPE_AW(WAVEINCAPS) +DECL_WINELIB_TYPE_AW(LPWAVEINCAPS) + +typedef struct tagWAVEINCAPS2A { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} WAVEINCAPS2A, *LPWAVEINCAPS2A; +typedef struct tagWAVEINCAPS2W { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD dwFormats; + WORD wChannels; + WORD wReserved1; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} WAVEINCAPS2W, *LPWAVEINCAPS2W; +DECL_WINELIB_TYPE_AW(WAVEINCAPS2) +DECL_WINELIB_TYPE_AW(LPWAVEINCAPS2) + +#define WAVE_INVALIDFORMAT 0x00000000 /* invalid format */ +#define WAVE_FORMAT_1M08 0x00000001 /* 11.025 kHz, Mono, 8-bit */ +#define WAVE_FORMAT_1S08 0x00000002 /* 11.025 kHz, Stereo, 8-bit */ +#define WAVE_FORMAT_1M16 0x00000004 /* 11.025 kHz, Mono, 16-bit */ +#define WAVE_FORMAT_1S16 0x00000008 /* 11.025 kHz, Stereo, 16-bit */ +#define WAVE_FORMAT_2M08 0x00000010 /* 22.05 kHz, Mono, 8-bit */ +#define WAVE_FORMAT_2S08 0x00000020 /* 22.05 kHz, Stereo, 8-bit */ +#define WAVE_FORMAT_2M16 0x00000040 /* 22.05 kHz, Mono, 16-bit */ +#define WAVE_FORMAT_2S16 0x00000080 /* 22.05 kHz, Stereo, 16-bit */ +#define WAVE_FORMAT_4M08 0x00000100 /* 44.1 kHz, Mono, 8-bit */ +#define WAVE_FORMAT_4S08 0x00000200 /* 44.1 kHz, Stereo, 8-bit */ +#define WAVE_FORMAT_4M16 0x00000400 /* 44.1 kHz, Mono, 16-bit */ +#define WAVE_FORMAT_4S16 0x00000800 /* 44.1 kHz, Stereo, 16-bit */ +#define WAVE_FORMAT_48M08 0x00001000 /* 48 kHz, Mono, 8-bit */ +#define WAVE_FORMAT_48S08 0x00002000 /* 48 kHz, Stereo, 8-bit */ +#define WAVE_FORMAT_48M16 0x00004000 /* 48 kHz, Mono, 16-bit */ +#define WAVE_FORMAT_48S16 0x00008000 /* 48 kHz, Stereo, 16-bit */ +#define WAVE_FORMAT_96M08 0x00010000 /* 96 kHz, Mono, 8-bit */ +#define WAVE_FORMAT_96S08 0x00020000 /* 96 kHz, Stereo, 8-bit */ +#define WAVE_FORMAT_96M16 0x00040000 /* 96 kHz, Mono, 16-bit */ +#define WAVE_FORMAT_96S16 0x00080000 /* 96 kHz, Stereo, 16-bit */ + +/* General format structure common to all formats, same for Win16 and Win32 */ +typedef struct waveformat_tag { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; +} WAVEFORMAT, *LPWAVEFORMAT; + +#define WAVE_FORMAT_PCM 1 + +typedef struct pcmwaveformat_tag { + WAVEFORMAT wf; + WORD wBitsPerSample; +} PCMWAVEFORMAT, *LPPCMWAVEFORMAT; + +#ifndef _WAVEFORMATEX_ +#define _WAVEFORMATEX_ +/* ditto same for Win16 / Win32 */ +typedef struct tWAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX, *LPWAVEFORMATEX, *NPWAVEFORMATEX, *PWAVEFORMATEX; +#endif +typedef const WAVEFORMATEX *LPCWAVEFORMATEX; + +UINT WINAPI waveOutGetNumDevs(void); +UINT WINAPI waveOutGetDevCapsA(UINT_PTR,LPWAVEOUTCAPSA,UINT); +UINT WINAPI waveOutGetDevCapsW(UINT_PTR,LPWAVEOUTCAPSW,UINT); +#define waveOutGetDevCaps WINELIB_NAME_AW(waveOutGetDevCaps) +UINT WINAPI waveOutGetVolume(HWAVEOUT,DWORD*); +UINT WINAPI waveOutSetVolume(HWAVEOUT,DWORD); +UINT WINAPI waveOutGetErrorTextA(UINT,LPSTR,UINT); +UINT WINAPI waveOutGetErrorTextW(UINT,LPWSTR,UINT); +#define waveOutGetErrorText WINELIB_NAME_AW(waveOutGetErrorText) +MMRESULT WINAPI waveOutOpen(HWAVEOUT*,UINT,LPCWAVEFORMATEX,DWORD_PTR,DWORD_PTR,DWORD); +UINT WINAPI waveOutClose(HWAVEOUT); +UINT WINAPI waveOutPrepareHeader(HWAVEOUT,WAVEHDR*,UINT); +UINT WINAPI waveOutUnprepareHeader(HWAVEOUT,WAVEHDR*,UINT); +UINT WINAPI waveOutWrite(HWAVEOUT,WAVEHDR*,UINT); +UINT WINAPI waveOutPause(HWAVEOUT); +UINT WINAPI waveOutRestart(HWAVEOUT); +UINT WINAPI waveOutReset(HWAVEOUT); +UINT WINAPI waveOutBreakLoop(HWAVEOUT); +UINT WINAPI waveOutGetPosition(HWAVEOUT,LPMMTIME,UINT); +UINT WINAPI waveOutGetPitch(HWAVEOUT,DWORD*); +UINT WINAPI waveOutSetPitch(HWAVEOUT,DWORD); +UINT WINAPI waveOutGetPlaybackRate(HWAVEOUT,DWORD*); +UINT WINAPI waveOutSetPlaybackRate(HWAVEOUT,DWORD); +UINT WINAPI waveOutGetID(HWAVEOUT,UINT*); +UINT WINAPI waveOutMessage(HWAVEOUT,UINT,DWORD_PTR,DWORD_PTR); +UINT WINAPI waveInGetNumDevs(void); +UINT WINAPI waveInGetDevCapsA(UINT_PTR,LPWAVEINCAPSA,UINT); +UINT WINAPI waveInGetDevCapsW(UINT_PTR,LPWAVEINCAPSW,UINT); +#define waveInGetDevCaps WINELIB_NAME_AW(waveInGetDevCaps) +UINT WINAPI waveInGetErrorTextA(UINT,LPSTR,UINT); +UINT WINAPI waveInGetErrorTextW(UINT,LPWSTR,UINT); +#define waveInGetErrorText WINELIB_NAME_AW(waveInGetErrorText) +MMRESULT WINAPI waveInOpen(HWAVEIN*,UINT,LPCWAVEFORMATEX,DWORD_PTR,DWORD_PTR,DWORD); +UINT WINAPI waveInClose(HWAVEIN); +UINT WINAPI waveInPrepareHeader(HWAVEIN,WAVEHDR*,UINT); +UINT WINAPI waveInUnprepareHeader(HWAVEIN,WAVEHDR*,UINT); +UINT WINAPI waveInAddBuffer(HWAVEIN,WAVEHDR*,UINT); +UINT WINAPI waveInStart(HWAVEIN); +UINT WINAPI waveInStop(HWAVEIN); +UINT WINAPI waveInReset(HWAVEIN); +UINT WINAPI waveInGetPosition(HWAVEIN,LPMMTIME,UINT); +UINT WINAPI waveInGetID(HWAVEIN,UINT*); +UINT WINAPI waveInMessage(HWAVEIN,UINT,DWORD_PTR,DWORD_PTR); + +#define MIDIERR_UNPREPARED (MIDIERR_BASE + 0) +#define MIDIERR_STILLPLAYING (MIDIERR_BASE + 1) +#define MIDIERR_NOMAP (MIDIERR_BASE + 2) +#define MIDIERR_NOTREADY (MIDIERR_BASE + 3) +#define MIDIERR_NODEVICE (MIDIERR_BASE + 4) +#define MIDIERR_INVALIDSETUP (MIDIERR_BASE + 5) +#define MIDIERR_BADOPENMODE (MIDIERR_BASE + 6) +#define MIDIERR_DONT_CONTINUE (MIDIERR_BASE + 7) +#define MIDIERR_LASTERROR (MIDIERR_BASE + 7) + +typedef LPDRVCALLBACK LPMIDICALLBACK; +#define MIDIPATCHSIZE 128 +typedef WORD PATCHARRAY[MIDIPATCHSIZE]; +typedef WORD *LPPATCHARRAY; +typedef WORD KEYARRAY[MIDIPATCHSIZE]; +typedef WORD *LPKEYARRAY; + +#define MIM_OPEN MM_MIM_OPEN +#define MIM_CLOSE MM_MIM_CLOSE +#define MIM_DATA MM_MIM_DATA +#define MIM_LONGDATA MM_MIM_LONGDATA +#define MIM_ERROR MM_MIM_ERROR +#define MIM_LONGERROR MM_MIM_LONGERROR +#define MIM_MOREDATA MM_MIM_MOREDATA + +#define MOM_OPEN MM_MOM_OPEN +#define MOM_CLOSE MM_MOM_CLOSE +#define MOM_DONE MM_MOM_DONE +#define MOM_POSITIONCB MM_MOM_POSITIONCB + +/* device ID for MIDI mapper */ + +#define MIDIMAPPER (-1) +#define MIDI_MAPPER (-1) + +/* Only on Win95 and up */ +#define MIDI_IO_STATUS __MSABI_LONG(0x00000020) + +/* flags for wFlags parm of + midiOutCachePatches(), + midiOutCacheDrumPatches() */ +#define MIDI_CACHE_ALL 1 +#define MIDI_CACHE_BESTFIT 2 +#define MIDI_CACHE_QUERY 3 +#define MIDI_UNCACHE 4 + +typedef struct tagMIDIOUTCAPSA { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wVoices; + WORD wNotes; + WORD wChannelMask; + DWORD dwSupport; +} MIDIOUTCAPSA, *LPMIDIOUTCAPSA; + +typedef struct tagMIDIOUTCAPSW { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wVoices; + WORD wNotes; + WORD wChannelMask; + DWORD dwSupport; +} MIDIOUTCAPSW, *LPMIDIOUTCAPSW; + +DECL_WINELIB_TYPE_AW(MIDIOUTCAPS) +DECL_WINELIB_TYPE_AW(LPMIDIOUTCAPS) + +typedef struct tagMIDIOUTCAPS2A { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wVoices; + WORD wNotes; + WORD wChannelMask; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} MIDIOUTCAPS2A, *LPMIDIOUTCAPS2A; + +typedef struct tagMIDIOUTCAPS2W { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wVoices; + WORD wNotes; + WORD wChannelMask; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} MIDIOUTCAPS2W, *LPMIDIOUTCAPS2W; + +DECL_WINELIB_TYPE_AW(MIDIOUTCAPS2) +DECL_WINELIB_TYPE_AW(LPMIDIOUTCAPS2) + +#define MOD_MIDIPORT 1 /* output port */ +#define MOD_SYNTH 2 /* generic internal synth */ +#define MOD_SQSYNTH 3 /* square wave internal synth */ +#define MOD_FMSYNTH 4 /* FM internal synth */ +#define MOD_MAPPER 5 /* MIDI mapper */ +#define MOD_WAVETABLE 6 /* hardware wavetable internal synth */ +#define MOD_SWSYNTH 7 /* software synth */ + +#define MIDICAPS_VOLUME 0x0001 /* supports volume control */ +#define MIDICAPS_LRVOLUME 0x0002 /* separate left-right volume control */ +#define MIDICAPS_CACHE 0x0004 +#define MIDICAPS_STREAM 0x0008 /* capable of supporting stream buffer */ + +typedef struct tagMIDIINCAPSA { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD dwSupport; +} MIDIINCAPSA, *LPMIDIINCAPSA; + +typedef struct tagMIDIINCAPSW { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD dwSupport; +} MIDIINCAPSW, *LPMIDIINCAPSW; + +DECL_WINELIB_TYPE_AW(MIDIINCAPS) +DECL_WINELIB_TYPE_AW(LPMIDIINCAPS) + +typedef struct tagMIDIINCAPS2A { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} MIDIINCAPS2A, *LPMIDIINCAPS2A; + +typedef struct tagMIDIINCAPS2W { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} MIDIINCAPS2W, *LPMIDIINCAPS2W; + +DECL_WINELIB_TYPE_AW(MIDIINCAPS2) +DECL_WINELIB_TYPE_AW(LPMIDIINCAPS2) + +/* It seems that Win32 has a slightly different structure than Win 16. + * sigh.... + */ +typedef struct midihdr_tag { + LPSTR lpData; + DWORD dwBufferLength; + DWORD dwBytesRecorded; + DWORD_PTR dwUser; + DWORD dwFlags; + struct midihdr_tag *lpNext; + DWORD_PTR reserved; + /* Win 32 extended the structure with these 2 fields */ + DWORD dwOffset; + DWORD_PTR dwReserved[8]; +} MIDIHDR, *LPMIDIHDR; + +#define MHDR_DONE 0x00000001 /* done bit */ +#define MHDR_PREPARED 0x00000002 /* set if header prepared */ +#define MHDR_INQUEUE 0x00000004 /* reserved for driver */ +#define MHDR_ISSTRM 0x00000008 /* data is sent by Stream functions */ + +typedef struct midiproptempo_tag { + DWORD cbStruct; + DWORD dwTempo; +} MIDIPROPTEMPO, *LPMIDIPROPTEMPO; + +typedef struct midiproptimediv_tag { + DWORD cbStruct; + DWORD dwTimeDiv; +} MIDIPROPTIMEDIV, *LPMIDIPROPTIMEDIV; + +#define MIDIPROP_GET 0x40000000 +#define MIDIPROP_SET 0x80000000 +#define MIDIPROP_TEMPO 0x00000002 +#define MIDIPROP_TIMEDIV 0x00000001 + +typedef struct midievent_tag { + DWORD dwDeltaTime; /* Time, in MIDI ticks, between the previous + * event and the current event. */ + DWORD dwStreamID; /* Reserved; must be zero. */ + DWORD dwEvent; /* event => see MEVT_XXX macros */ + DWORD dwParms[1]; /* extra pmts to dwEvent if F_LONG is set */ +} MIDIEVENT, *LPMIDIEVENT; + +#define MEVT_EVENTTYPE(x) ((BYTE) (((x)>>24)&0xFF)) +#define MEVT_EVENTPARM(x) ((DWORD) ((x)&0x00FFFFFF)) + +#define MEVT_F_CALLBACK __MSABI_LONG(0x40000000) +#define MEVT_F_LONG __MSABI_LONG(0x80000000) +#define MEVT_F_SHORT __MSABI_LONG(0x00000000) +#define MEVT_COMMENT ((BYTE)0x82) +#define MEVT_LONGMSG ((BYTE)0x80) +#define MEVT_NOP ((BYTE)0x02) +#define MEVT_SHORTMSG ((BYTE)0x00) +#define MEVT_TEMPO ((BYTE)0x01) +#define MEVT_VERSION ((BYTE)0x84) + +UINT WINAPI midiOutGetNumDevs(void); +UINT WINAPI midiOutGetDevCapsA(UINT_PTR,LPMIDIOUTCAPSA,UINT); +UINT WINAPI midiOutGetDevCapsW(UINT_PTR,LPMIDIOUTCAPSW,UINT); +#define midiOutGetDevCaps WINELIB_NAME_AW(midiOutGetDevCaps) +UINT WINAPI midiOutGetVolume(HMIDIOUT,DWORD*); +UINT WINAPI midiOutSetVolume(HMIDIOUT,DWORD); +UINT WINAPI midiOutGetErrorTextA(UINT,LPSTR,UINT); +UINT WINAPI midiOutGetErrorTextW(UINT,LPWSTR,UINT); +#define midiOutGetErrorText WINELIB_NAME_AW(midiOutGetErrorText) +MMRESULT WINAPI midiOutOpen(LPHMIDIOUT,UINT,DWORD_PTR,DWORD_PTR,DWORD); +UINT WINAPI midiOutClose(HMIDIOUT); +UINT WINAPI midiOutPrepareHeader(HMIDIOUT,MIDIHDR*,UINT); +UINT WINAPI midiOutUnprepareHeader(HMIDIOUT,MIDIHDR*,UINT); +UINT WINAPI midiOutShortMsg(HMIDIOUT,DWORD); +UINT WINAPI midiOutLongMsg(HMIDIOUT,MIDIHDR*,UINT); +UINT WINAPI midiOutReset(HMIDIOUT); +UINT WINAPI midiOutCachePatches(HMIDIOUT,UINT,WORD*,UINT); +UINT WINAPI midiOutCacheDrumPatches(HMIDIOUT,UINT,WORD*,UINT); +UINT WINAPI midiOutGetID(HMIDIOUT,UINT*); +UINT WINAPI midiOutMessage(HMIDIOUT,UINT,DWORD_PTR,DWORD_PTR); + +UINT WINAPI midiInGetNumDevs(void); +UINT WINAPI midiInGetDevCapsA(UINT_PTR,LPMIDIINCAPSA,UINT); +UINT WINAPI midiInGetDevCapsW(UINT_PTR,LPMIDIINCAPSW,UINT); +#define midiInGetDevCaps WINELIB_NAME_AW(midiInGetDevCaps) +UINT WINAPI midiInGetErrorTextA(UINT,LPSTR,UINT); +UINT WINAPI midiInGetErrorTextW(UINT,LPWSTR,UINT); +#define midiInGetErrorText WINELIB_NAME_AW(midiInGetErrorText) +MMRESULT WINAPI midiInOpen(LPHMIDIIN,UINT,DWORD_PTR,DWORD_PTR,DWORD); +UINT WINAPI midiInClose(HMIDIIN); +UINT WINAPI midiInPrepareHeader(HMIDIIN,MIDIHDR*,UINT); +UINT WINAPI midiInUnprepareHeader(HMIDIIN,MIDIHDR*,UINT); +UINT WINAPI midiInAddBuffer(HMIDIIN,MIDIHDR*,UINT); +UINT WINAPI midiInStart(HMIDIIN); +UINT WINAPI midiInStop(HMIDIIN); +UINT WINAPI midiInReset(HMIDIIN); +UINT WINAPI midiInGetID(HMIDIIN,UINT*); +UINT WINAPI midiInMessage(HMIDIIN,UINT,DWORD_PTR,DWORD_PTR); +MMRESULT WINAPI midiStreamClose(HMIDISTRM hms); +MMRESULT WINAPI midiStreamOpen(LPHMIDISTRM,LPUINT,DWORD,DWORD_PTR,DWORD_PTR,DWORD); +MMRESULT WINAPI midiStreamOut(HMIDISTRM hms, LPMIDIHDR lpMidiHdr, UINT cbMidiHdr); +MMRESULT WINAPI midiStreamPause(HMIDISTRM hms); +MMRESULT WINAPI midiStreamPosition(HMIDISTRM hms, LPMMTIME lpmmt, UINT cbmmt); +MMRESULT WINAPI midiStreamProperty(HMIDISTRM hms, LPBYTE lpPropData, DWORD dwProperty); +MMRESULT WINAPI midiStreamRestart(HMIDISTRM hms); +MMRESULT WINAPI midiStreamStop(HMIDISTRM hms); + +#define AUX_MAPPER (-1) + +typedef struct tagAUXCAPSA { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wReserved1; + DWORD dwSupport; +} AUXCAPSA, *LPAUXCAPSA; + +typedef struct tagAUXCAPSW { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wReserved1; + DWORD dwSupport; +} AUXCAPSW, *LPAUXCAPSW; + +DECL_WINELIB_TYPE_AW(AUXCAPS) +DECL_WINELIB_TYPE_AW(LPAUXCAPS) + +typedef struct tagAUXCAPS2A { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wReserved1; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} AUXCAPS2A, *LPAUXCAPS2A; + +typedef struct tagAUXCAPS2W { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + WORD wTechnology; + WORD wReserved1; + DWORD dwSupport; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} AUXCAPS2W, *LPAUXCAPS2W; + +DECL_WINELIB_TYPE_AW(AUXCAPS2) +DECL_WINELIB_TYPE_AW(LPAUXCAPS2) + +#define AUXCAPS_CDAUDIO 1 /* audio from internal CD-ROM drive */ +#define AUXCAPS_AUXIN 2 /* audio from auxiliary input jacks */ + +#define AUXCAPS_VOLUME 0x0001 /* supports volume control */ +#define AUXCAPS_LRVOLUME 0x0002 /* separate left-right volume control */ + +UINT WINAPI auxGetNumDevs(void); +UINT WINAPI auxGetDevCapsA(UINT_PTR,LPAUXCAPSA,UINT); +UINT WINAPI auxGetDevCapsW(UINT_PTR,LPAUXCAPSW,UINT); +#define auxGetDevCaps WINELIB_NAME_AW(auxGetDevCaps) +UINT WINAPI auxSetVolume(UINT,DWORD); +UINT WINAPI auxGetVolume(UINT,LPDWORD); +UINT WINAPI auxOutMessage(UINT,UINT,DWORD_PTR,DWORD_PTR); + +#define TIMERR_NOERROR (0) /* no error */ +#define TIMERR_NOCANDO (TIMERR_BASE+1) /* request not completed */ +#define TIMERR_STRUCT (TIMERR_BASE+33) /* time struct size */ + +typedef void (CALLBACK *LPTIMECALLBACK)(UINT,UINT,DWORD_PTR,DWORD_PTR,DWORD_PTR); + +#define TIME_ONESHOT 0x0000 /* program timer for single event */ +#define TIME_PERIODIC 0x0001 /* program for continuous periodic event */ +#define TIME_CALLBACK_FUNCTION 0x0000 /* callback is function */ +#define TIME_CALLBACK_EVENT_SET 0x0010 /* callback is event - use SetEvent */ +#define TIME_CALLBACK_EVENT_PULSE 0x0020 /* callback is event - use PulseEvent */ +#define TIME_KILL_SYNCHRONOUS 0x0100 + +typedef struct timecaps_tag { + UINT wPeriodMin; + UINT wPeriodMax; +} TIMECAPS, *LPTIMECAPS; + + +MMRESULT WINAPI timeGetSystemTime(LPMMTIME,UINT); +DWORD WINAPI timeGetTime(void); /* same for win32/win16 */ +MMRESULT WINAPI timeSetEvent(UINT,UINT,LPTIMECALLBACK,DWORD_PTR,UINT); +MMRESULT WINAPI timeKillEvent(UINT); +MMRESULT WINAPI timeGetDevCaps(LPTIMECAPS,UINT); +MMRESULT WINAPI timeBeginPeriod(UINT); +MMRESULT WINAPI timeEndPeriod(UINT); + +#define JOYERR_NOERROR (0) /* no error */ +#define JOYERR_PARMS (JOYERR_BASE+5) /* bad parameters */ +#define JOYERR_NOCANDO (JOYERR_BASE+6) /* request not completed */ +#define JOYERR_UNPLUGGED (JOYERR_BASE+7) /* joystick is unplugged */ + +/* JOYINFO, JOYINFOEX, MM_JOY* */ +#define JOY_BUTTON1 0x0001 +#define JOY_BUTTON2 0x0002 +#define JOY_BUTTON3 0x0004 +#define JOY_BUTTON4 0x0008 +#define JOY_BUTTON1CHG 0x0100 +#define JOY_BUTTON2CHG 0x0200 +#define JOY_BUTTON3CHG 0x0400 +#define JOY_BUTTON4CHG 0x0800 + +#define JOYSTICKID1 0 +#define JOYSTICKID2 1 + +/* JOYCAPS.wCaps */ +#define JOYCAPS_HASZ 0x0001 +#define JOYCAPS_HASR 0x0002 +#define JOYCAPS_HASU 0x0004 +#define JOYCAPS_HASV 0x0008 +#define JOYCAPS_HASPOV 0x0010 +#define JOYCAPS_POV4DIR 0x0020 +#define JOYCAPS_POVCTS 0x0040 + +/* JOYINFOEX stuff */ +#define JOY_POVCENTERED (WORD) -1 +#define JOY_POVFORWARD 0 +#define JOY_POVRIGHT 9000 +#define JOY_POVBACKWARD 18000 +#define JOY_POVLEFT 27000 + +#define JOY_RETURNX 0x00000001 +#define JOY_RETURNY 0x00000002 +#define JOY_RETURNZ 0x00000004 +#define JOY_RETURNR 0x00000008 +#define JOY_RETURNU 0x00000010 +#define JOY_RETURNV 0x00000020 +#define JOY_RETURNPOV 0x00000040 +#define JOY_RETURNBUTTONS 0x00000080 +#define JOY_RETURNRAWDATA 0x00000100 +#define JOY_RETURNPOVCTS 0x00000200 +#define JOY_RETURNCENTERED 0x00000400 +#define JOY_USEDEADZONE 0x00000800 +#define JOY_RETURNALL (JOY_RETURNX | JOY_RETURNY | JOY_RETURNZ | \ + JOY_RETURNR | JOY_RETURNU | JOY_RETURNV | \ + JOY_RETURNPOV | JOY_RETURNBUTTONS) +#define JOY_CAL_READALWAYS 0x00010000 +#define JOY_CAL_READXYONLY 0x00020000 +#define JOY_CAL_READ3 0x00040000 +#define JOY_CAL_READ4 0x00080000 +#define JOY_CAL_READXONLY 0x00100000 +#define JOY_CAL_READYONLY 0x00200000 +#define JOY_CAL_READ5 0x00400000 +#define JOY_CAL_READ6 0x00800000 +#define JOY_CAL_READZONLY 0x01000000 +#define JOY_CAL_READRONLY 0x02000000 +#define JOY_CAL_READUONLY 0x04000000 +#define JOY_CAL_READVONLY 0x08000000 + +typedef struct tagJOYCAPSA { + WORD wMid; + WORD wPid; + CHAR szPname[MAXPNAMELEN]; + UINT wXmin; + UINT wXmax; + UINT wYmin; + UINT wYmax; + UINT wZmin; + UINT wZmax; + UINT wNumButtons; + UINT wPeriodMin; + UINT wPeriodMax; + UINT wRmin; + UINT wRmax; + UINT wUmin; + UINT wUmax; + UINT wVmin; + UINT wVmax; + UINT wCaps; + UINT wMaxAxes; + UINT wNumAxes; + UINT wMaxButtons; + CHAR szRegKey[MAXPNAMELEN]; + CHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]; +} JOYCAPSA, *LPJOYCAPSA; + +typedef struct tagJOYCAPSW { + WORD wMid; + WORD wPid; + WCHAR szPname[MAXPNAMELEN]; + UINT wXmin; + UINT wXmax; + UINT wYmin; + UINT wYmax; + UINT wZmin; + UINT wZmax; + UINT wNumButtons; + UINT wPeriodMin; + UINT wPeriodMax; + UINT wRmin; + UINT wRmax; + UINT wUmin; + UINT wUmax; + UINT wVmin; + UINT wVmax; + UINT wCaps; + UINT wMaxAxes; + UINT wNumAxes; + UINT wMaxButtons; + WCHAR szRegKey[MAXPNAMELEN]; + WCHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]; +} JOYCAPSW, *LPJOYCAPSW; +DECL_WINELIB_TYPE_AW(JOYCAPS) +DECL_WINELIB_TYPE_AW(LPJOYCAPS) + +typedef struct tagJOYCAPS2A { + WORD wMid; + WORD wPid; + CHAR szPname[MAXPNAMELEN]; + UINT wXmin; + UINT wXmax; + UINT wYmin; + UINT wYmax; + UINT wZmin; + UINT wZmax; + UINT wNumButtons; + UINT wPeriodMin; + UINT wPeriodMax; + UINT wRmin; + UINT wRmax; + UINT wUmin; + UINT wUmax; + UINT wVmin; + UINT wVmax; + UINT wCaps; + UINT wMaxAxes; + UINT wNumAxes; + UINT wMaxButtons; + CHAR szRegKey[MAXPNAMELEN]; + CHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} JOYCAPS2A, *LPJOYCAPS2A; + +typedef struct tagJOYCAPS2W { + WORD wMid; + WORD wPid; + WCHAR szPname[MAXPNAMELEN]; + UINT wXmin; + UINT wXmax; + UINT wYmin; + UINT wYmax; + UINT wZmin; + UINT wZmax; + UINT wNumButtons; + UINT wPeriodMin; + UINT wPeriodMax; + UINT wRmin; + UINT wRmax; + UINT wUmin; + UINT wUmax; + UINT wVmin; + UINT wVmax; + UINT wCaps; + UINT wMaxAxes; + UINT wNumAxes; + UINT wMaxButtons; + WCHAR szRegKey[MAXPNAMELEN]; + WCHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} JOYCAPS2W, *LPJOYCAPS2W; +DECL_WINELIB_TYPE_AW(JOYCAPS2) +DECL_WINELIB_TYPE_AW(LPJOYCAPS2) + +typedef struct joyinfo_tag { + UINT wXpos; + UINT wYpos; + UINT wZpos; + UINT wButtons; +} JOYINFO, *LPJOYINFO; + +typedef struct joyinfoex_tag { + DWORD dwSize; + DWORD dwFlags; + DWORD dwXpos; + DWORD dwYpos; + DWORD dwZpos; + DWORD dwRpos; + DWORD dwUpos; + DWORD dwVpos; + DWORD dwButtons; + DWORD dwButtonNumber; + DWORD dwPOV; + DWORD dwReserved1; + DWORD dwReserved2; +} JOYINFOEX,*LPJOYINFOEX; + + +MMRESULT WINAPI joyGetDevCapsA(UINT_PTR,LPJOYCAPSA,UINT); +MMRESULT WINAPI joyGetDevCapsW(UINT_PTR,LPJOYCAPSW,UINT); +#define joyGetDevCaps WINELIB_NAME_AW(joyGetDevCaps) +UINT WINAPI joyGetNumDevs(void); +MMRESULT WINAPI joyGetPos(UINT,LPJOYINFO); +MMRESULT WINAPI joyGetPosEx(UINT,LPJOYINFOEX); +MMRESULT WINAPI joyGetThreshold(UINT,UINT*); +MMRESULT WINAPI joyReleaseCapture(UINT); +MMRESULT WINAPI joySetCapture(HWND,UINT,UINT,BOOL); +MMRESULT WINAPI joySetThreshold(UINT,UINT); + +#define MIXERR_BASE 1024 +#define MIXERR_INVALLINE (MIXERR_BASE + 0) +#define MIXERR_INVALCONTROL (MIXERR_BASE + 1) +#define MIXERR_INVALVALUE (MIXERR_BASE + 2) +#define MIXERR_LASTERROR (MIXERR_BASE + 2) + +typedef struct tagMIXERCAPSA { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD fdwSupport; + DWORD cDestinations; +} MIXERCAPSA,*LPMIXERCAPSA; + +typedef struct tagMIXERCAPSW { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD fdwSupport; + DWORD cDestinations; +} MIXERCAPSW,*LPMIXERCAPSW; + +DECL_WINELIB_TYPE_AW(MIXERCAPS) +DECL_WINELIB_TYPE_AW(LPMIXERCAPS) + +typedef struct tagMIXERCAPS2A { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + DWORD fdwSupport; + DWORD cDestinations; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} MIXERCAPS2A,*LPMIXERCAPS2A; + +typedef struct tagMIXERCAPS2W { + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + DWORD fdwSupport; + DWORD cDestinations; + GUID ManufacturerGuid; + GUID ProductGuid; + GUID NameGuid; +} MIXERCAPS2W,*LPMIXERCAPS2W; + +DECL_WINELIB_TYPE_AW(MIXERCAPS2) +DECL_WINELIB_TYPE_AW(LPMIXERCAPS2) + +#define MIXER_SHORT_NAME_CHARS 16 +#define MIXER_LONG_NAME_CHARS 64 + +/* MIXERLINE.fdwLine */ +#define MIXERLINE_LINEF_ACTIVE 0x00000001 +#define MIXERLINE_LINEF_DISCONNECTED 0x00008000 +#define MIXERLINE_LINEF_SOURCE 0x80000000 + +/* Mixer flags */ +#define MIXER_OBJECTF_HANDLE __MSABI_LONG(0x80000000) +#define MIXER_OBJECTF_MIXER __MSABI_LONG(0x00000000) +#define MIXER_OBJECTF_HMIXER (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIXER) +#define MIXER_OBJECTF_WAVEOUT __MSABI_LONG(0x10000000) +#define MIXER_OBJECTF_HWAVEOUT (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEOUT) +#define MIXER_OBJECTF_WAVEIN __MSABI_LONG(0x20000000) +#define MIXER_OBJECTF_HWAVEIN (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEIN) +#define MIXER_OBJECTF_MIDIOUT __MSABI_LONG(0x30000000) +#define MIXER_OBJECTF_HMIDIOUT (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIOUT) +#define MIXER_OBJECTF_MIDIIN __MSABI_LONG(0x40000000) +#define MIXER_OBJECTF_HMIDIIN (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIIN) +#define MIXER_OBJECTF_AUX __MSABI_LONG(0x50000000) + +/* MIXERLINE.dwComponentType */ +/* component types for destinations and sources */ +#define MIXERLINE_COMPONENTTYPE_DST_FIRST __MSABI_LONG(0x00000000) +#define MIXERLINE_COMPONENTTYPE_DST_UNDEFINED (MIXERLINE_COMPONENTTYPE_DST_FIRST + 0) +#define MIXERLINE_COMPONENTTYPE_DST_DIGITAL (MIXERLINE_COMPONENTTYPE_DST_FIRST + 1) +#define MIXERLINE_COMPONENTTYPE_DST_LINE (MIXERLINE_COMPONENTTYPE_DST_FIRST + 2) +#define MIXERLINE_COMPONENTTYPE_DST_MONITOR (MIXERLINE_COMPONENTTYPE_DST_FIRST + 3) +#define MIXERLINE_COMPONENTTYPE_DST_SPEAKERS (MIXERLINE_COMPONENTTYPE_DST_FIRST + 4) +#define MIXERLINE_COMPONENTTYPE_DST_HEADPHONES (MIXERLINE_COMPONENTTYPE_DST_FIRST + 5) +#define MIXERLINE_COMPONENTTYPE_DST_TELEPHONE (MIXERLINE_COMPONENTTYPE_DST_FIRST + 6) +#define MIXERLINE_COMPONENTTYPE_DST_WAVEIN (MIXERLINE_COMPONENTTYPE_DST_FIRST + 7) +#define MIXERLINE_COMPONENTTYPE_DST_VOICEIN (MIXERLINE_COMPONENTTYPE_DST_FIRST + 8) +#define MIXERLINE_COMPONENTTYPE_DST_LAST (MIXERLINE_COMPONENTTYPE_DST_FIRST + 8) + +#define MIXERLINE_COMPONENTTYPE_SRC_FIRST __MSABI_LONG(0x00001000) +#define MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 0) +#define MIXERLINE_COMPONENTTYPE_SRC_DIGITAL (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 1) +#define MIXERLINE_COMPONENTTYPE_SRC_LINE (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 2) +#define MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 3) +#define MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 4) +#define MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 5) +#define MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 6) +#define MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 7) +#define MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 8) +#define MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 9) +#define MIXERLINE_COMPONENTTYPE_SRC_ANALOG (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10) +#define MIXERLINE_COMPONENTTYPE_SRC_LAST (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10) + +/* MIXERLINE.Target.dwType */ +#define MIXERLINE_TARGETTYPE_UNDEFINED 0 +#define MIXERLINE_TARGETTYPE_WAVEOUT 1 +#define MIXERLINE_TARGETTYPE_WAVEIN 2 +#define MIXERLINE_TARGETTYPE_MIDIOUT 3 +#define MIXERLINE_TARGETTYPE_MIDIIN 4 +#define MIXERLINE_TARGETTYPE_AUX 5 + +typedef struct tagMIXERLINEA { + DWORD cbStruct; + DWORD dwDestination; + DWORD dwSource; + DWORD dwLineID; + DWORD fdwLine; + DWORD_PTR dwUser; + DWORD dwComponentType; + DWORD cChannels; + DWORD cConnections; + DWORD cControls; + CHAR szShortName[MIXER_SHORT_NAME_CHARS]; + CHAR szName[MIXER_LONG_NAME_CHARS]; + struct { + DWORD dwType; + DWORD dwDeviceID; + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + CHAR szPname[MAXPNAMELEN]; + } Target; +} MIXERLINEA, *LPMIXERLINEA; + +typedef struct tagMIXERLINEW { + DWORD cbStruct; + DWORD dwDestination; + DWORD dwSource; + DWORD dwLineID; + DWORD fdwLine; + DWORD_PTR dwUser; + DWORD dwComponentType; + DWORD cChannels; + DWORD cConnections; + DWORD cControls; + WCHAR szShortName[MIXER_SHORT_NAME_CHARS]; + WCHAR szName[MIXER_LONG_NAME_CHARS]; + struct { + DWORD dwType; + DWORD dwDeviceID; + WORD wMid; + WORD wPid; + MMVERSION vDriverVersion; + WCHAR szPname[MAXPNAMELEN]; + } Target; +} MIXERLINEW, *LPMIXERLINEW; + +DECL_WINELIB_TYPE_AW(MIXERLINE) +DECL_WINELIB_TYPE_AW(LPMIXERLINE) + +/* MIXERCONTROL.fdwControl */ +#define MIXERCONTROL_CONTROLF_UNIFORM __MSABI_LONG(0x00000001) +#define MIXERCONTROL_CONTROLF_MULTIPLE __MSABI_LONG(0x00000002) +#define MIXERCONTROL_CONTROLF_DISABLED __MSABI_LONG(0x80000000) + +/* MIXERCONTROL_CONTROLTYPE_xxx building block defines */ +#define MIXERCONTROL_CT_CLASS_MASK __MSABI_LONG(0xF0000000) +#define MIXERCONTROL_CT_CLASS_CUSTOM __MSABI_LONG(0x00000000) +#define MIXERCONTROL_CT_CLASS_METER __MSABI_LONG(0x10000000) +#define MIXERCONTROL_CT_CLASS_SWITCH __MSABI_LONG(0x20000000) +#define MIXERCONTROL_CT_CLASS_NUMBER __MSABI_LONG(0x30000000) +#define MIXERCONTROL_CT_CLASS_SLIDER __MSABI_LONG(0x40000000) +#define MIXERCONTROL_CT_CLASS_FADER __MSABI_LONG(0x50000000) +#define MIXERCONTROL_CT_CLASS_TIME __MSABI_LONG(0x60000000) +#define MIXERCONTROL_CT_CLASS_LIST __MSABI_LONG(0x70000000) + +#define MIXERCONTROL_CT_SUBCLASS_MASK __MSABI_LONG(0x0F000000) + +#define MIXERCONTROL_CT_SC_SWITCH_BOOLEAN __MSABI_LONG(0x00000000) +#define MIXERCONTROL_CT_SC_SWITCH_BUTTON __MSABI_LONG(0x01000000) + +#define MIXERCONTROL_CT_SC_METER_POLLED __MSABI_LONG(0x00000000) + +#define MIXERCONTROL_CT_SC_TIME_MICROSECS __MSABI_LONG(0x00000000) +#define MIXERCONTROL_CT_SC_TIME_MILLISECS __MSABI_LONG(0x01000000) + +#define MIXERCONTROL_CT_SC_LIST_SINGLE __MSABI_LONG(0x00000000) +#define MIXERCONTROL_CT_SC_LIST_MULTIPLE __MSABI_LONG(0x01000000) + +#define MIXERCONTROL_CT_UNITS_MASK __MSABI_LONG(0x00FF0000) +#define MIXERCONTROL_CT_UNITS_CUSTOM __MSABI_LONG(0x00000000) +#define MIXERCONTROL_CT_UNITS_BOOLEAN __MSABI_LONG(0x00010000) +#define MIXERCONTROL_CT_UNITS_SIGNED __MSABI_LONG(0x00020000) +#define MIXERCONTROL_CT_UNITS_UNSIGNED __MSABI_LONG(0x00030000) +#define MIXERCONTROL_CT_UNITS_DECIBELS __MSABI_LONG(0x00040000) /* in 10ths */ +#define MIXERCONTROL_CT_UNITS_PERCENT __MSABI_LONG(0x00050000) /* in 10ths */ + +/* Commonly used control types for specifying MIXERCONTROL.dwControlType */ +#define MIXERCONTROL_CONTROLTYPE_CUSTOM (MIXERCONTROL_CT_CLASS_CUSTOM | MIXERCONTROL_CT_UNITS_CUSTOM) +#define MIXERCONTROL_CONTROLTYPE_BOOLEANMETER (MIXERCONTROL_CT_CLASS_METER | MIXERCONTROL_CT_SC_METER_POLLED | MIXERCONTROL_CT_UNITS_BOOLEAN) +#define MIXERCONTROL_CONTROLTYPE_SIGNEDMETER (MIXERCONTROL_CT_CLASS_METER | MIXERCONTROL_CT_SC_METER_POLLED | MIXERCONTROL_CT_UNITS_SIGNED) +#define MIXERCONTROL_CONTROLTYPE_PEAKMETER (MIXERCONTROL_CONTROLTYPE_SIGNEDMETER + 1) +#define MIXERCONTROL_CONTROLTYPE_UNSIGNEDMETER (MIXERCONTROL_CT_CLASS_METER | MIXERCONTROL_CT_SC_METER_POLLED | MIXERCONTROL_CT_UNITS_UNSIGNED) +#define MIXERCONTROL_CONTROLTYPE_BOOLEAN (MIXERCONTROL_CT_CLASS_SWITCH | MIXERCONTROL_CT_SC_SWITCH_BOOLEAN | MIXERCONTROL_CT_UNITS_BOOLEAN) +#define MIXERCONTROL_CONTROLTYPE_ONOFF (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 1) +#define MIXERCONTROL_CONTROLTYPE_MUTE (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 2) +#define MIXERCONTROL_CONTROLTYPE_MONO (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 3) +#define MIXERCONTROL_CONTROLTYPE_LOUDNESS (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 4) +#define MIXERCONTROL_CONTROLTYPE_STEREOENH (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 5) +#define MIXERCONTROL_CONTROLTYPE_BASS_BOOST (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 0x00002277) +#define MIXERCONTROL_CONTROLTYPE_BUTTON (MIXERCONTROL_CT_CLASS_SWITCH | MIXERCONTROL_CT_SC_SWITCH_BUTTON | MIXERCONTROL_CT_UNITS_BOOLEAN) +#define MIXERCONTROL_CONTROLTYPE_DECIBELS (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_DECIBELS) +#define MIXERCONTROL_CONTROLTYPE_SIGNED (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_SIGNED) +#define MIXERCONTROL_CONTROLTYPE_UNSIGNED (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_UNSIGNED) +#define MIXERCONTROL_CONTROLTYPE_PERCENT (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_PERCENT) +#define MIXERCONTROL_CONTROLTYPE_SLIDER (MIXERCONTROL_CT_CLASS_SLIDER | MIXERCONTROL_CT_UNITS_SIGNED) +#define MIXERCONTROL_CONTROLTYPE_PAN (MIXERCONTROL_CONTROLTYPE_SLIDER + 1) +#define MIXERCONTROL_CONTROLTYPE_QSOUNDPAN (MIXERCONTROL_CONTROLTYPE_SLIDER + 2) +#define MIXERCONTROL_CONTROLTYPE_FADER (MIXERCONTROL_CT_CLASS_FADER | MIXERCONTROL_CT_UNITS_UNSIGNED) +#define MIXERCONTROL_CONTROLTYPE_VOLUME (MIXERCONTROL_CONTROLTYPE_FADER + 1) +#define MIXERCONTROL_CONTROLTYPE_BASS (MIXERCONTROL_CONTROLTYPE_FADER + 2) +#define MIXERCONTROL_CONTROLTYPE_TREBLE (MIXERCONTROL_CONTROLTYPE_FADER + 3) +#define MIXERCONTROL_CONTROLTYPE_EQUALIZER (MIXERCONTROL_CONTROLTYPE_FADER + 4) +#define MIXERCONTROL_CONTROLTYPE_SINGLESELECT (MIXERCONTROL_CT_CLASS_LIST | MIXERCONTROL_CT_SC_LIST_SINGLE | MIXERCONTROL_CT_UNITS_BOOLEAN) +#define MIXERCONTROL_CONTROLTYPE_MUX (MIXERCONTROL_CONTROLTYPE_SINGLESELECT + 1) +#define MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT (MIXERCONTROL_CT_CLASS_LIST | MIXERCONTROL_CT_SC_LIST_MULTIPLE | MIXERCONTROL_CT_UNITS_BOOLEAN) +#define MIXERCONTROL_CONTROLTYPE_MIXER (MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT + 1) +#define MIXERCONTROL_CONTROLTYPE_MICROTIME (MIXERCONTROL_CT_CLASS_TIME | MIXERCONTROL_CT_SC_TIME_MICROSECS | MIXERCONTROL_CT_UNITS_UNSIGNED) +#define MIXERCONTROL_CONTROLTYPE_MILLITIME (MIXERCONTROL_CT_CLASS_TIME | MIXERCONTROL_CT_SC_TIME_MILLISECS | MIXERCONTROL_CT_UNITS_UNSIGNED) + + +typedef struct tagMIXERCONTROLA { + DWORD cbStruct; + DWORD dwControlID; + DWORD dwControlType; + DWORD fdwControl; + DWORD cMultipleItems; + CHAR szShortName[MIXER_SHORT_NAME_CHARS]; + CHAR szName[MIXER_LONG_NAME_CHARS]; + union { + struct { + LONG lMinimum; + LONG lMaximum; + } DUMMYSTRUCTNAME; + struct { + DWORD dwMinimum; + DWORD dwMaximum; + } DUMMYSTRUCTNAME1; + DWORD dwReserved[6]; + } Bounds; + union { + DWORD cSteps; + DWORD cbCustomData; + DWORD dwReserved[6]; + } Metrics; +} MIXERCONTROLA, *LPMIXERCONTROLA; + +typedef struct MIXERCONTROLW { + DWORD cbStruct; + DWORD dwControlID; + DWORD dwControlType; + DWORD fdwControl; + DWORD cMultipleItems; + WCHAR szShortName[MIXER_SHORT_NAME_CHARS]; + WCHAR szName[MIXER_LONG_NAME_CHARS]; + union { + struct { + LONG lMinimum; + LONG lMaximum; + } DUMMYSTRUCTNAME; + struct { + DWORD dwMinimum; + DWORD dwMaximum; + } DUMMYSTRUCTNAME1; + DWORD dwReserved[6]; + } Bounds; + union { + DWORD cSteps; + DWORD cbCustomData; + DWORD dwReserved[6]; + } Metrics; +} MIXERCONTROLW, *LPMIXERCONTROLW; + +DECL_WINELIB_TYPE_AW(MIXERCONTROL) +DECL_WINELIB_TYPE_AW(LPMIXERCONTROL) + +typedef struct tagMIXERLINECONTROLSA { + DWORD cbStruct; + DWORD dwLineID; + union { + DWORD dwControlID; + DWORD dwControlType; + } DUMMYUNIONNAME; + DWORD cControls; + DWORD cbmxctrl; + LPMIXERCONTROLA pamxctrl; +} MIXERLINECONTROLSA, *LPMIXERLINECONTROLSA; + +typedef struct tagMIXERLINECONTROLSW { + DWORD cbStruct; + DWORD dwLineID; + union { + DWORD dwControlID; + DWORD dwControlType; + } DUMMYUNIONNAME; + DWORD cControls; + DWORD cbmxctrl; + LPMIXERCONTROLW pamxctrl; +} MIXERLINECONTROLSW, *LPMIXERLINECONTROLSW; + +DECL_WINELIB_TYPE_AW(MIXERLINECONTROLS) +DECL_WINELIB_TYPE_AW(LPMIXERLINECONTROLS) + +typedef struct tMIXERCONTROLDETAILS { + DWORD cbStruct; + DWORD dwControlID; + DWORD cChannels; + union { + HWND hwndOwner; + DWORD cMultipleItems; + } DUMMYUNIONNAME; + DWORD cbDetails; + LPVOID paDetails; +} MIXERCONTROLDETAILS,*LPMIXERCONTROLDETAILS; + +typedef struct tagMIXERCONTROLDETAILS_LISTTEXTA { + DWORD dwParam1; + DWORD dwParam2; + CHAR szName[MIXER_LONG_NAME_CHARS]; +} MIXERCONTROLDETAILS_LISTTEXTA,*LPMIXERCONTROLDETAILS_LISTTEXTA; + +typedef struct tagMIXERCONTROLDETAILS_LISTTEXTW { + DWORD dwParam1; + DWORD dwParam2; + WCHAR szName[MIXER_LONG_NAME_CHARS]; +} MIXERCONTROLDETAILS_LISTTEXTW,*LPMIXERCONTROLDETAILS_LISTTEXTW; + +DECL_WINELIB_TYPE_AW(MIXERCONTROLDETAILS_LISTTEXT) +DECL_WINELIB_TYPE_AW(LPMIXERCONTROLDETAILS_LISTTEXT) + +/* MIXER_GETCONTROLDETAILSF_VALUE */ +typedef struct { + LONG fValue; +} MIXERCONTROLDETAILS_BOOLEAN,*LPMIXERCONTROLDETAILS_BOOLEAN; + +typedef struct { + LONG lValue; +} MIXERCONTROLDETAILS_SIGNED,*LPMIXERCONTROLDETAILS_SIGNED; + +typedef struct { + DWORD dwValue; +} MIXERCONTROLDETAILS_UNSIGNED,*LPMIXERCONTROLDETAILS_UNSIGNED; + +/* bits passed to mixerGetLineInfo.fdwInfo */ +#define MIXER_GETLINEINFOF_DESTINATION __MSABI_LONG(0x00000000) +#define MIXER_GETLINEINFOF_SOURCE __MSABI_LONG(0x00000001) +#define MIXER_GETLINEINFOF_LINEID __MSABI_LONG(0x00000002) +#define MIXER_GETLINEINFOF_COMPONENTTYPE __MSABI_LONG(0x00000003) +#define MIXER_GETLINEINFOF_TARGETTYPE __MSABI_LONG(0x00000004) +#define MIXER_GETLINEINFOF_QUERYMASK __MSABI_LONG(0x0000000F) + +/* bitmask passed to mixerGetLineControl */ +#define MIXER_GETLINECONTROLSF_ALL __MSABI_LONG(0x00000000) +#define MIXER_GETLINECONTROLSF_ONEBYID __MSABI_LONG(0x00000001) +#define MIXER_GETLINECONTROLSF_ONEBYTYPE __MSABI_LONG(0x00000002) +#define MIXER_GETLINECONTROLSF_QUERYMASK __MSABI_LONG(0x0000000F) + +/* bitmask passed to mixerGetControlDetails */ +#define MIXER_GETCONTROLDETAILSF_VALUE __MSABI_LONG(0x00000000) +#define MIXER_GETCONTROLDETAILSF_LISTTEXT __MSABI_LONG(0x00000001) +#define MIXER_GETCONTROLDETAILSF_QUERYMASK __MSABI_LONG(0x0000000F) + +/* bitmask passed to mixerSetControlDetails */ +#define MIXER_SETCONTROLDETAILSF_VALUE __MSABI_LONG(0x00000000) +#define MIXER_SETCONTROLDETAILSF_CUSTOM __MSABI_LONG(0x00000001) +#define MIXER_SETCONTROLDETAILSF_QUERYMASK __MSABI_LONG(0x0000000F) + +UINT WINAPI mixerGetNumDevs(void); +UINT WINAPI mixerOpen(LPHMIXER,UINT,DWORD_PTR,DWORD_PTR,DWORD); +UINT WINAPI mixerClose(HMIXER); +DWORD WINAPI mixerMessage(HMIXER,UINT,DWORD_PTR,DWORD_PTR); +UINT WINAPI mixerGetDevCapsA(UINT_PTR,LPMIXERCAPSA,UINT); +UINT WINAPI mixerGetDevCapsW(UINT_PTR,LPMIXERCAPSW,UINT); +#define mixerGetDevCaps WINELIB_NAME_AW(mixerGetDevCaps) +UINT WINAPI mixerGetLineInfoA(HMIXEROBJ,LPMIXERLINEA,DWORD); +UINT WINAPI mixerGetLineInfoW(HMIXEROBJ,LPMIXERLINEW,DWORD); +#define mixerGetLineInfo WINELIB_NAME_AW(mixerGetLineInfo) +UINT WINAPI mixerGetID(HMIXEROBJ,LPUINT,DWORD); +UINT WINAPI mixerGetLineControlsA(HMIXEROBJ,LPMIXERLINECONTROLSA,DWORD); +UINT WINAPI mixerGetLineControlsW(HMIXEROBJ,LPMIXERLINECONTROLSW,DWORD); +#define mixerGetLineControls WINELIB_NAME_AW(mixerGetLineControls) +UINT WINAPI mixerGetControlDetailsA(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); +UINT WINAPI mixerGetControlDetailsW(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); +#define mixerGetControlDetails WINELIB_NAME_AW(mixerGetControlDetails) +UINT WINAPI mixerSetControlDetails(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); + +#define MMIOERR_BASE 256 +#define MMIOERR_FILENOTFOUND (MMIOERR_BASE + 1) /* file not found */ +#define MMIOERR_OUTOFMEMORY (MMIOERR_BASE + 2) /* out of memory */ +#define MMIOERR_CANNOTOPEN (MMIOERR_BASE + 3) /* cannot open */ +#define MMIOERR_CANNOTCLOSE (MMIOERR_BASE + 4) /* cannot close */ +#define MMIOERR_CANNOTREAD (MMIOERR_BASE + 5) /* cannot read */ +#define MMIOERR_CANNOTWRITE (MMIOERR_BASE + 6) /* cannot write */ +#define MMIOERR_CANNOTSEEK (MMIOERR_BASE + 7) /* cannot seek */ +#define MMIOERR_CANNOTEXPAND (MMIOERR_BASE + 8) /* cannot expand file */ +#define MMIOERR_CHUNKNOTFOUND (MMIOERR_BASE + 9) /* chunk not found */ +#define MMIOERR_UNBUFFERED (MMIOERR_BASE + 10) /* file is unbuffered */ +#define MMIOERR_PATHNOTFOUND (MMIOERR_BASE + 11) +#define MMIOERR_ACCESSDENIED (MMIOERR_BASE + 12) +#define MMIOERR_SHARINGVIOLATION (MMIOERR_BASE + 13) +#define MMIOERR_NETWORKERROR (MMIOERR_BASE + 14) +#define MMIOERR_TOOMANYOPENFILES (MMIOERR_BASE + 15) +#define MMIOERR_INVALIDFILE (MMIOERR_BASE + 16) + +#define CFSEPCHAR '+' /* compound file name separator char. */ + +typedef DWORD FOURCC; /* a four character code */ +typedef LRESULT (CALLBACK *LPMMIOPROC) (LPSTR lpmmioinfo, UINT uMessage, + LPARAM lParam1, LPARAM lParam2); + +typedef struct _MMIOINFO { + DWORD dwFlags; + FOURCC fccIOProc; + LPMMIOPROC pIOProc; + UINT wErrorRet; + HTASK hTask; + /* fields maintained by MMIO functions during buffered I/O */ + LONG cchBuffer; + HPSTR pchBuffer; + HPSTR pchNext; + HPSTR pchEndRead; + HPSTR pchEndWrite; + LONG lBufOffset; + /* fields maintained by I/O procedure */ + LONG lDiskOffset; + DWORD adwInfo[3]; + /* other fields maintained by MMIO */ + DWORD dwReserved1; + DWORD dwReserved2; + HMMIO hmmio; +} MMIOINFO, *PMMIOINFO, *LPMMIOINFO; + + +typedef struct _MMCKINFO +{ + FOURCC ckid; /* chunk ID */ + DWORD cksize; /* chunk size */ + FOURCC fccType; /* form type or list type */ + DWORD dwDataOffset; /* offset of data portion of chunk */ + DWORD dwFlags; /* flags used by MMIO functions */ +} MMCKINFO, *LPMMCKINFO; + +#define MMIO_RWMODE 0x00000003 /* open file for reading/writing/both */ +#define MMIO_SHAREMODE 0x00000070 /* file sharing mode number */ + +#define MMIO_CREATE 0x00001000 /* create new file (or truncate file) */ +#define MMIO_PARSE 0x00000100 /* parse new file returning path */ +#define MMIO_DELETE 0x00000200 /* create new file (or truncate file) */ +#define MMIO_EXIST 0x00004000 /* checks for existence of file */ +#define MMIO_ALLOCBUF 0x00010000 /* mmioOpen() should allocate a buffer */ +#define MMIO_GETTEMP 0x00020000 /* mmioOpen() should retrieve temp name */ + +#define MMIO_DIRTY 0x10000000 /* I/O buffer is dirty */ + +#define MMIO_READ 0x00000000 /* open file for reading only */ +#define MMIO_WRITE 0x00000001 /* open file for writing only */ +#define MMIO_READWRITE 0x00000002 /* open file for reading and writing */ + +#define MMIO_COMPAT 0x00000000 /* compatibility mode */ +#define MMIO_EXCLUSIVE 0x00000010 /* exclusive-access mode */ +#define MMIO_DENYWRITE 0x00000020 /* deny writing to other processes */ +#define MMIO_DENYREAD 0x00000030 /* deny reading to other processes */ +#define MMIO_DENYNONE 0x00000040 /* deny nothing to other processes */ + +#define MMIO_FHOPEN 0x0010 /* mmioClose: keep file handle open */ +#define MMIO_EMPTYBUF 0x0010 /* mmioFlush: empty the I/O buffer */ +#define MMIO_TOUPPER 0x0010 /* mmioStringToFOURCC: to u-case */ +#define MMIO_INSTALLPROC 0x00010000 /* mmioInstallIOProc: install MMIOProc */ +#define MMIO_GLOBALPROC 0x10000000 /* mmioInstallIOProc: install globally */ +#define MMIO_REMOVEPROC 0x00020000 /* mmioInstallIOProc: remove MMIOProc */ +#define MMIO_FINDPROC 0x00040000 /* mmioInstallIOProc: find an MMIOProc */ +#define MMIO_FINDCHUNK 0x0010 /* mmioDescend: find a chunk by ID */ +#define MMIO_FINDRIFF 0x0020 /* mmioDescend: find a LIST chunk */ +#define MMIO_FINDLIST 0x0040 /* mmioDescend: find a RIFF chunk */ +#define MMIO_CREATERIFF 0x0020 /* mmioCreateChunk: make a LIST chunk */ +#define MMIO_CREATELIST 0x0040 /* mmioCreateChunk: make a RIFF chunk */ + +#ifndef SEEK_SET +#define SEEK_SET 0 +#define SEEK_CUR 1 +#define SEEK_END 2 +#endif /* SEEK_SET */ + +#define MMIOM_READ MMIO_READ /* read */ +#define MMIOM_WRITE MMIO_WRITE /* write */ +#define MMIOM_SEEK 2 /* seek to a new position in file */ +#define MMIOM_OPEN 3 /* open file */ +#define MMIOM_CLOSE 4 /* close file */ +#define MMIOM_WRITEFLUSH 5 /* write and flush */ + +#define MMIOM_RENAME 6 /* rename specified file */ + +#define MMIOM_USER 0x8000 /* beginning of user-defined messages */ + +#define FOURCC_RIFF mmioFOURCC('R', 'I', 'F', 'F') +#define FOURCC_LIST mmioFOURCC('L', 'I', 'S', 'T') + +#define FOURCC_DOS mmioFOURCC('D', 'O', 'S', ' ') +#define FOURCC_MEM mmioFOURCC('M', 'E', 'M', ' ') + +#define MMIO_DEFAULTBUFFER 8192 /* default buffer size */ + +#define mmioFOURCC( ch0, ch1, ch2, ch3 ) \ + ( (DWORD)(BYTE)(ch0) | ( (DWORD)(BYTE)(ch1) << 8 ) | \ + ( (DWORD)(BYTE)(ch2) << 16 ) | ( (DWORD)(BYTE)(ch3) << 24 ) ) + +LPMMIOPROC WINAPI mmioInstallIOProcA(FOURCC,LPMMIOPROC,DWORD); +LPMMIOPROC WINAPI mmioInstallIOProcW(FOURCC,LPMMIOPROC,DWORD); +#define mmioInstallIOProc WINELIB_NAME_AW(mmioInstallIOProc) + +FOURCC WINAPI mmioStringToFOURCCA(LPCSTR,UINT); +FOURCC WINAPI mmioStringToFOURCCW(LPCWSTR,UINT); +#define mmioStringToFOURCC WINELIB_NAME_AW(mmioStringToFOURCC) +HMMIO WINAPI mmioOpenA(LPSTR,MMIOINFO*,DWORD); +HMMIO WINAPI mmioOpenW(LPWSTR,MMIOINFO*,DWORD); +#define mmioOpen WINELIB_NAME_AW(mmioOpen) + +MMRESULT WINAPI mmioRenameA(LPCSTR szFileName, LPCSTR szNewFileName, + const MMIOINFO * lpmmioinfo, DWORD dwRenameFlags); +MMRESULT WINAPI mmioRenameW(LPCWSTR szFileName, LPCWSTR szNewFileName, + const MMIOINFO * lpmmioinfo, DWORD dwRenameFlags); +#define mmioRename WINELIB_NAME_AW(mmioRename) + +MMRESULT WINAPI mmioClose(HMMIO,UINT); +LONG WINAPI mmioRead(HMMIO,HPSTR,LONG); +LONG WINAPI mmioWrite(HMMIO,HPCSTR,LONG); +LONG WINAPI mmioSeek(HMMIO,LONG,INT); +MMRESULT WINAPI mmioGetInfo(HMMIO,MMIOINFO*,UINT); +MMRESULT WINAPI mmioSetInfo(HMMIO,const MMIOINFO*,UINT); +MMRESULT WINAPI mmioSetBuffer(HMMIO,LPSTR,LONG,UINT); +MMRESULT WINAPI mmioFlush(HMMIO,UINT); +MMRESULT WINAPI mmioAdvance(HMMIO,MMIOINFO*,UINT); +LRESULT WINAPI mmioSendMessage(HMMIO,UINT,LPARAM,LPARAM); +MMRESULT WINAPI mmioDescend(HMMIO,MMCKINFO*,const MMCKINFO*,UINT); +MMRESULT WINAPI mmioAscend(HMMIO,MMCKINFO*,UINT); +MMRESULT WINAPI mmioCreateChunk(HMMIO,MMCKINFO*,UINT); + +typedef UINT (CALLBACK *YIELDPROC)(MCIDEVICEID,DWORD); + +BOOL WINAPI mciExecute(LPCSTR); +DWORD WINAPI mciSendCommandA(MCIDEVICEID,UINT,DWORD_PTR,DWORD_PTR); +DWORD WINAPI mciSendCommandW(MCIDEVICEID,UINT,DWORD_PTR,DWORD_PTR); +#define mciSendCommand WINELIB_NAME_AW(mciSendCommand) +DWORD WINAPI mciSendStringA(LPCSTR,LPSTR,UINT,HWND); +DWORD WINAPI mciSendStringW(LPCWSTR,LPWSTR,UINT,HWND); +#define mciSendString WINELIB_NAME_AW(mciSendString) +MCIDEVICEID WINAPI mciGetDeviceIDA(LPCSTR); +MCIDEVICEID WINAPI mciGetDeviceIDW(LPCWSTR); +#define mciGetDeviceID WINELIB_NAME_AW(mciGetDeviceID) +MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDA(DWORD,LPCSTR); +MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDW(DWORD,LPCWSTR); +#define mciGetDeviceIDFromElementID WINELIB_NAME_AW(mciGetDeviceIDFromElementID) +BOOL WINAPI mciGetErrorStringA(MCIERROR,LPSTR,UINT); +BOOL WINAPI mciGetErrorStringW(MCIERROR,LPWSTR,UINT); +#define mciGetErrorString WINELIB_NAME_AW(mciGetErrorString) +BOOL WINAPI mciSetYieldProc(MCIDEVICEID,YIELDPROC,DWORD); +HTASK WINAPI mciGetCreatorTask(MCIDEVICEID); +YIELDPROC WINAPI mciGetYieldProc(MCIDEVICEID,DWORD*); + +#define MCIERR_INVALID_DEVICE_ID (MCIERR_BASE + 1) +#define MCIERR_UNRECOGNIZED_KEYWORD (MCIERR_BASE + 3) +#define MCIERR_UNRECOGNIZED_COMMAND (MCIERR_BASE + 5) +#define MCIERR_HARDWARE (MCIERR_BASE + 6) +#define MCIERR_INVALID_DEVICE_NAME (MCIERR_BASE + 7) +#define MCIERR_OUT_OF_MEMORY (MCIERR_BASE + 8) +#define MCIERR_DEVICE_OPEN (MCIERR_BASE + 9) +#define MCIERR_CANNOT_LOAD_DRIVER (MCIERR_BASE + 10) +#define MCIERR_MISSING_COMMAND_STRING (MCIERR_BASE + 11) +#define MCIERR_PARAM_OVERFLOW (MCIERR_BASE + 12) +#define MCIERR_MISSING_STRING_ARGUMENT (MCIERR_BASE + 13) +#define MCIERR_BAD_INTEGER (MCIERR_BASE + 14) +#define MCIERR_PARSER_INTERNAL (MCIERR_BASE + 15) +#define MCIERR_DRIVER_INTERNAL (MCIERR_BASE + 16) +#define MCIERR_MISSING_PARAMETER (MCIERR_BASE + 17) +#define MCIERR_UNSUPPORTED_FUNCTION (MCIERR_BASE + 18) +#define MCIERR_FILE_NOT_FOUND (MCIERR_BASE + 19) +#define MCIERR_DEVICE_NOT_READY (MCIERR_BASE + 20) +#define MCIERR_INTERNAL (MCIERR_BASE + 21) +#define MCIERR_DRIVER (MCIERR_BASE + 22) +#define MCIERR_CANNOT_USE_ALL (MCIERR_BASE + 23) +#define MCIERR_MULTIPLE (MCIERR_BASE + 24) +#define MCIERR_EXTENSION_NOT_FOUND (MCIERR_BASE + 25) +#define MCIERR_OUTOFRANGE (MCIERR_BASE + 26) +#define MCIERR_FLAGS_NOT_COMPATIBLE (MCIERR_BASE + 28) +#define MCIERR_FILE_NOT_SAVED (MCIERR_BASE + 30) +#define MCIERR_DEVICE_TYPE_REQUIRED (MCIERR_BASE + 31) +#define MCIERR_DEVICE_LOCKED (MCIERR_BASE + 32) +#define MCIERR_DUPLICATE_ALIAS (MCIERR_BASE + 33) +#define MCIERR_BAD_CONSTANT (MCIERR_BASE + 34) +#define MCIERR_MUST_USE_SHAREABLE (MCIERR_BASE + 35) +#define MCIERR_MISSING_DEVICE_NAME (MCIERR_BASE + 36) +#define MCIERR_BAD_TIME_FORMAT (MCIERR_BASE + 37) +#define MCIERR_NO_CLOSING_QUOTE (MCIERR_BASE + 38) +#define MCIERR_DUPLICATE_FLAGS (MCIERR_BASE + 39) +#define MCIERR_INVALID_FILE (MCIERR_BASE + 40) +#define MCIERR_NULL_PARAMETER_BLOCK (MCIERR_BASE + 41) +#define MCIERR_UNNAMED_RESOURCE (MCIERR_BASE + 42) +#define MCIERR_NEW_REQUIRES_ALIAS (MCIERR_BASE + 43) +#define MCIERR_NOTIFY_ON_AUTO_OPEN (MCIERR_BASE + 44) +#define MCIERR_NO_ELEMENT_ALLOWED (MCIERR_BASE + 45) +#define MCIERR_NONAPPLICABLE_FUNCTION (MCIERR_BASE + 46) +#define MCIERR_ILLEGAL_FOR_AUTO_OPEN (MCIERR_BASE + 47) +#define MCIERR_FILENAME_REQUIRED (MCIERR_BASE + 48) +#define MCIERR_EXTRA_CHARACTERS (MCIERR_BASE + 49) +#define MCIERR_DEVICE_NOT_INSTALLED (MCIERR_BASE + 50) +#define MCIERR_GET_CD (MCIERR_BASE + 51) +#define MCIERR_SET_CD (MCIERR_BASE + 52) +#define MCIERR_SET_DRIVE (MCIERR_BASE + 53) +#define MCIERR_DEVICE_LENGTH (MCIERR_BASE + 54) +#define MCIERR_DEVICE_ORD_LENGTH (MCIERR_BASE + 55) +#define MCIERR_NO_INTEGER (MCIERR_BASE + 56) + +#define MCIERR_WAVE_OUTPUTSINUSE (MCIERR_BASE + 64) +#define MCIERR_WAVE_SETOUTPUTINUSE (MCIERR_BASE + 65) +#define MCIERR_WAVE_INPUTSINUSE (MCIERR_BASE + 66) +#define MCIERR_WAVE_SETINPUTINUSE (MCIERR_BASE + 67) +#define MCIERR_WAVE_OUTPUTUNSPECIFIED (MCIERR_BASE + 68) +#define MCIERR_WAVE_INPUTUNSPECIFIED (MCIERR_BASE + 69) +#define MCIERR_WAVE_OUTPUTSUNSUITABLE (MCIERR_BASE + 70) +#define MCIERR_WAVE_SETOUTPUTUNSUITABLE (MCIERR_BASE + 71) +#define MCIERR_WAVE_INPUTSUNSUITABLE (MCIERR_BASE + 72) +#define MCIERR_WAVE_SETINPUTUNSUITABLE (MCIERR_BASE + 73) + +#define MCIERR_SEQ_DIV_INCOMPATIBLE (MCIERR_BASE + 80) +#define MCIERR_SEQ_PORT_INUSE (MCIERR_BASE + 81) +#define MCIERR_SEQ_PORT_NONEXISTENT (MCIERR_BASE + 82) +#define MCIERR_SEQ_PORT_MAPNODEVICE (MCIERR_BASE + 83) +#define MCIERR_SEQ_PORT_MISCERROR (MCIERR_BASE + 84) +#define MCIERR_SEQ_TIMER (MCIERR_BASE + 85) +#define MCIERR_SEQ_PORTUNSPECIFIED (MCIERR_BASE + 86) +#define MCIERR_SEQ_NOMIDIPRESENT (MCIERR_BASE + 87) + +#define MCIERR_NO_WINDOW (MCIERR_BASE + 90) +#define MCIERR_CREATEWINDOW (MCIERR_BASE + 91) +#define MCIERR_FILE_READ (MCIERR_BASE + 92) +#define MCIERR_FILE_WRITE (MCIERR_BASE + 93) + +#define MCIERR_NO_IDENTITY (MCIERR_BASE + 94) + +#define MCIERR_CUSTOM_DRIVER_BASE (MCIERR_BASE + 256) + +#define MCI_OPEN_DRIVER 0x0801 +#define MCI_CLOSE_DRIVER 0x0802 +#define MCI_OPEN 0x0803 +#define MCI_CLOSE 0x0804 +#define MCI_ESCAPE 0x0805 +#define MCI_PLAY 0x0806 +#define MCI_SEEK 0x0807 +#define MCI_STOP 0x0808 +#define MCI_PAUSE 0x0809 +#define MCI_INFO 0x080A +#define MCI_GETDEVCAPS 0x080B +#define MCI_SPIN 0x080C +#define MCI_SET 0x080D +#define MCI_STEP 0x080E +#define MCI_RECORD 0x080F +#define MCI_SYSINFO 0x0810 +#define MCI_BREAK 0x0811 +#define MCI_SOUND 0x0812 +#define MCI_SAVE 0x0813 +#define MCI_STATUS 0x0814 +#define MCI_CUE 0x0830 +#define MCI_REALIZE 0x0840 +#define MCI_WINDOW 0x0841 +#define MCI_PUT 0x0842 +#define MCI_WHERE 0x0843 +#define MCI_FREEZE 0x0844 +#define MCI_UNFREEZE 0x0845 +#define MCI_LOAD 0x0850 +#define MCI_CUT 0x0851 +#define MCI_COPY 0x0852 +#define MCI_PASTE 0x0853 +#define MCI_UPDATE 0x0854 +#define MCI_RESUME 0x0855 +#define MCI_DELETE 0x0856 + +#define MCI_USER_MESSAGES (0x400 + DRV_MCI_FIRST) + +#define MCI_ALL_DEVICE_ID 0xFFFFFFFF + +#define MCI_DEVTYPE_VCR (MCI_STRING_OFFSET + 1) +#define MCI_DEVTYPE_VIDEODISC (MCI_STRING_OFFSET + 2) +#define MCI_DEVTYPE_OVERLAY (MCI_STRING_OFFSET + 3) +#define MCI_DEVTYPE_CD_AUDIO (MCI_STRING_OFFSET + 4) +#define MCI_DEVTYPE_DAT (MCI_STRING_OFFSET + 5) +#define MCI_DEVTYPE_SCANNER (MCI_STRING_OFFSET + 6) +#define MCI_DEVTYPE_ANIMATION (MCI_STRING_OFFSET + 7) +#define MCI_DEVTYPE_DIGITAL_VIDEO (MCI_STRING_OFFSET + 8) +#define MCI_DEVTYPE_OTHER (MCI_STRING_OFFSET + 9) +#define MCI_DEVTYPE_WAVEFORM_AUDIO (MCI_STRING_OFFSET + 10) +#define MCI_DEVTYPE_SEQUENCER (MCI_STRING_OFFSET + 11) + +#define MCI_DEVTYPE_FIRST MCI_DEVTYPE_VCR +#define MCI_DEVTYPE_LAST MCI_DEVTYPE_SEQUENCER + +#define MCI_MODE_NOT_READY (MCI_STRING_OFFSET + 12) +#define MCI_MODE_STOP (MCI_STRING_OFFSET + 13) +#define MCI_MODE_PLAY (MCI_STRING_OFFSET + 14) +#define MCI_MODE_RECORD (MCI_STRING_OFFSET + 15) +#define MCI_MODE_SEEK (MCI_STRING_OFFSET + 16) +#define MCI_MODE_PAUSE (MCI_STRING_OFFSET + 17) +#define MCI_MODE_OPEN (MCI_STRING_OFFSET + 18) + +#define MCI_FORMAT_MILLISECONDS 0 +#define MCI_FORMAT_HMS 1 +#define MCI_FORMAT_MSF 2 +#define MCI_FORMAT_FRAMES 3 +#define MCI_FORMAT_SMPTE_24 4 +#define MCI_FORMAT_SMPTE_25 5 +#define MCI_FORMAT_SMPTE_30 6 +#define MCI_FORMAT_SMPTE_30DROP 7 +#define MCI_FORMAT_BYTES 8 +#define MCI_FORMAT_SAMPLES 9 +#define MCI_FORMAT_TMSF 10 + +#define MCI_MSF_MINUTE(msf) ((BYTE)(msf)) +#define MCI_MSF_SECOND(msf) ((BYTE)(((WORD)(msf)) >> 8)) +#define MCI_MSF_FRAME(msf) ((BYTE)((msf)>>16)) + +#define MCI_MAKE_MSF(m, s, f) ((DWORD)(((BYTE)(m) | \ + ((WORD)(s)<<8)) | \ + (((DWORD)(BYTE)(f))<<16))) + +#define MCI_TMSF_TRACK(tmsf) ((BYTE)(tmsf)) +#define MCI_TMSF_MINUTE(tmsf) ((BYTE)(((WORD)(tmsf)) >> 8)) +#define MCI_TMSF_SECOND(tmsf) ((BYTE)((tmsf)>>16)) +#define MCI_TMSF_FRAME(tmsf) ((BYTE)((tmsf)>>24)) + +#define MCI_MAKE_TMSF(t, m, s, f) ((DWORD)(((BYTE)(t) | \ + ((WORD)(m)<<8)) | \ + (((DWORD)(BYTE)(s) | \ + ((WORD)(f)<<8))<<16))) + +#define MCI_HMS_HOUR(hms) ((BYTE)(hms)) +#define MCI_HMS_MINUTE(hms) ((BYTE)(((WORD)(hms)) >> 8)) +#define MCI_HMS_SECOND(hms) ((BYTE)((hms)>>16)) + +#define MCI_MAKE_HMS(h, m, s) ((DWORD)(((BYTE)(h) | \ + ((WORD)(m)<<8)) | \ + (((DWORD)(BYTE)(s))<<16))) + +#define MCI_NOTIFY_SUCCESSFUL 0x0001 +#define MCI_NOTIFY_SUPERSEDED 0x0002 +#define MCI_NOTIFY_ABORTED 0x0004 +#define MCI_NOTIFY_FAILURE 0x0008 + +#define MCI_NOTIFY __MSABI_LONG(0x00000001) +#define MCI_WAIT __MSABI_LONG(0x00000002) +#define MCI_FROM __MSABI_LONG(0x00000004) +#define MCI_TO __MSABI_LONG(0x00000008) +#define MCI_TRACK __MSABI_LONG(0x00000010) + +#define MCI_OPEN_SHAREABLE __MSABI_LONG(0x00000100) +#define MCI_OPEN_ELEMENT __MSABI_LONG(0x00000200) +#define MCI_OPEN_ALIAS __MSABI_LONG(0x00000400) +#define MCI_OPEN_ELEMENT_ID __MSABI_LONG(0x00000800) +#define MCI_OPEN_TYPE_ID __MSABI_LONG(0x00001000) +#define MCI_OPEN_TYPE __MSABI_LONG(0x00002000) + +#define MCI_SEEK_TO_START __MSABI_LONG(0x00000100) +#define MCI_SEEK_TO_END __MSABI_LONG(0x00000200) + +#define MCI_STATUS_ITEM __MSABI_LONG(0x00000100) +#define MCI_STATUS_START __MSABI_LONG(0x00000200) + +#define MCI_STATUS_LENGTH __MSABI_LONG(0x00000001) +#define MCI_STATUS_POSITION __MSABI_LONG(0x00000002) +#define MCI_STATUS_NUMBER_OF_TRACKS __MSABI_LONG(0x00000003) +#define MCI_STATUS_MODE __MSABI_LONG(0x00000004) +#define MCI_STATUS_MEDIA_PRESENT __MSABI_LONG(0x00000005) +#define MCI_STATUS_TIME_FORMAT __MSABI_LONG(0x00000006) +#define MCI_STATUS_READY __MSABI_LONG(0x00000007) +#define MCI_STATUS_CURRENT_TRACK __MSABI_LONG(0x00000008) + +#define MCI_INFO_PRODUCT __MSABI_LONG(0x00000100) +#define MCI_INFO_FILE __MSABI_LONG(0x00000200) +#define MCI_INFO_MEDIA_UPC __MSABI_LONG(0x00000400) +#define MCI_INFO_MEDIA_IDENTITY __MSABI_LONG(0x00000800) +#define MCI_INFO_NAME __MSABI_LONG(0x00001000) +#define MCI_INFO_COPYRIGHT __MSABI_LONG(0x00002000) + +#define MCI_GETDEVCAPS_ITEM __MSABI_LONG(0x00000100) + +#define MCI_GETDEVCAPS_CAN_RECORD __MSABI_LONG(0x00000001) +#define MCI_GETDEVCAPS_HAS_AUDIO __MSABI_LONG(0x00000002) +#define MCI_GETDEVCAPS_HAS_VIDEO __MSABI_LONG(0x00000003) +#define MCI_GETDEVCAPS_DEVICE_TYPE __MSABI_LONG(0x00000004) +#define MCI_GETDEVCAPS_USES_FILES __MSABI_LONG(0x00000005) +#define MCI_GETDEVCAPS_COMPOUND_DEVICE __MSABI_LONG(0x00000006) +#define MCI_GETDEVCAPS_CAN_EJECT __MSABI_LONG(0x00000007) +#define MCI_GETDEVCAPS_CAN_PLAY __MSABI_LONG(0x00000008) +#define MCI_GETDEVCAPS_CAN_SAVE __MSABI_LONG(0x00000009) + +#define MCI_SYSINFO_QUANTITY __MSABI_LONG(0x00000100) +#define MCI_SYSINFO_OPEN __MSABI_LONG(0x00000200) +#define MCI_SYSINFO_NAME __MSABI_LONG(0x00000400) +#define MCI_SYSINFO_INSTALLNAME __MSABI_LONG(0x00000800) + +#define MCI_SET_DOOR_OPEN __MSABI_LONG(0x00000100) +#define MCI_SET_DOOR_CLOSED __MSABI_LONG(0x00000200) +#define MCI_SET_TIME_FORMAT __MSABI_LONG(0x00000400) +#define MCI_SET_AUDIO __MSABI_LONG(0x00000800) +#define MCI_SET_VIDEO __MSABI_LONG(0x00001000) +#define MCI_SET_ON __MSABI_LONG(0x00002000) +#define MCI_SET_OFF __MSABI_LONG(0x00004000) + +#define MCI_SET_AUDIO_ALL __MSABI_LONG(0x00000000) +#define MCI_SET_AUDIO_LEFT __MSABI_LONG(0x00000001) +#define MCI_SET_AUDIO_RIGHT __MSABI_LONG(0x00000002) + +#define MCI_BREAK_KEY __MSABI_LONG(0x00000100) +#define MCI_BREAK_HWND __MSABI_LONG(0x00000200) +#define MCI_BREAK_OFF __MSABI_LONG(0x00000400) + +#define MCI_RECORD_INSERT __MSABI_LONG(0x00000100) +#define MCI_RECORD_OVERWRITE __MSABI_LONG(0x00000200) + +#define MCI_SOUND_NAME __MSABI_LONG(0x00000100) + +#define MCI_SAVE_FILE __MSABI_LONG(0x00000100) + +#define MCI_LOAD_FILE __MSABI_LONG(0x00000100) + +typedef struct tagMCI_GENERIC_PARMS { + DWORD_PTR dwCallback; +} MCI_GENERIC_PARMS, *LPMCI_GENERIC_PARMS; + +typedef struct tagMCI_OPEN_PARMSA { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCSTR lpstrDeviceType; + LPCSTR lpstrElementName; + LPCSTR lpstrAlias; +} MCI_OPEN_PARMSA, *LPMCI_OPEN_PARMSA; + +typedef struct tagMCI_OPEN_PARMSW { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCWSTR lpstrDeviceType; + LPCWSTR lpstrElementName; + LPCWSTR lpstrAlias; +} MCI_OPEN_PARMSW, *LPMCI_OPEN_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_OPEN_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_OPEN_PARMS) + +typedef struct tagMCI_PLAY_PARMS{ + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; +} MCI_PLAY_PARMS, *LPMCI_PLAY_PARMS; + +typedef struct tagMCI_SEEK_PARMS { + DWORD_PTR dwCallback; + DWORD dwTo; +} MCI_SEEK_PARMS, *LPMCI_SEEK_PARMS; + +typedef struct tagMCI_STATUS_PARMS { + DWORD_PTR dwCallback; + DWORD_PTR dwReturn; + DWORD dwItem; + DWORD dwTrack; +} MCI_STATUS_PARMS, *LPMCI_STATUS_PARMS; + +typedef struct tagMCI_INFO_PARMSA { + DWORD_PTR dwCallback; + LPSTR lpstrReturn; + DWORD dwRetSize; +} MCI_INFO_PARMSA, *LPMCI_INFO_PARMSA; + +typedef struct tagMCI_INFO_PARMSW { + DWORD_PTR dwCallback; + LPWSTR lpstrReturn; + DWORD dwRetSize; +} MCI_INFO_PARMSW, *LPMCI_INFO_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_INFO_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_INFO_PARMS) + +typedef struct tagMCI_GETDEVCAPS_PARMS { + DWORD_PTR dwCallback; + DWORD dwReturn; + DWORD dwItem; +} MCI_GETDEVCAPS_PARMS, *LPMCI_GETDEVCAPS_PARMS; + +typedef struct tagMCI_SYSINFO_PARMSA { + DWORD_PTR dwCallback; + LPSTR lpstrReturn; + DWORD dwRetSize; + DWORD dwNumber; + UINT wDeviceType; +} MCI_SYSINFO_PARMSA, *LPMCI_SYSINFO_PARMSA; + +typedef struct tagMCI_SYSINFO_PARMSW { + DWORD_PTR dwCallback; + LPWSTR lpstrReturn; + DWORD dwRetSize; + DWORD dwNumber; + UINT wDeviceType; +} MCI_SYSINFO_PARMSW, *LPMCI_SYSINFO_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_SYSINFO_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_SYSINFO_PARMS) + +typedef struct tagMCI_SET_PARMS { + DWORD_PTR dwCallback; + DWORD dwTimeFormat; + DWORD dwAudio; +} MCI_SET_PARMS, *LPMCI_SET_PARMS; + +typedef struct tagMCI_BREAK_PARMS { + DWORD_PTR dwCallback; + INT nVirtKey; + HWND hwndBreak; +} MCI_BREAK_PARMS, *LPMCI_BREAK_PARMS; + + +typedef struct tagMCI_SOUND_PARMSA { + DWORD_PTR dwCallback; + LPCSTR lpstrSoundName; +} MCI_SOUND_PARMSA, *LPMCI_SOUND_PARMSA; + +typedef struct tagMCI_SOUND_PARMSW { + DWORD_PTR dwCallback; + LPCWSTR lpstrSoundName; +} MCI_SOUND_PARMSW, *LPMCI_SOUND_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_SOUND_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_SOUND_PARMS) + +typedef struct tagMCI_SAVE_PARMSA { + DWORD_PTR dwCallback; + LPCSTR lpfilename; +} MCI_SAVE_PARMSA, *LPMCI_SAVE_PARMSA; + +typedef struct tagMCI_SAVE_PARMSW { + DWORD_PTR dwCallback; + LPCWSTR lpfilename; +} MCI_SAVE_PARMSW, *LPMCI_SAVE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_SAVE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_SAVE_PARMS) + +typedef struct tagMCI_LOAD_PARMSA { + DWORD_PTR dwCallback; + LPCSTR lpfilename; +} MCI_LOAD_PARMSA, *LPMCI_LOAD_PARMSA; + +typedef struct tagMCI_LOAD_PARMSW { + DWORD_PTR dwCallback; + LPCWSTR lpfilename; +} MCI_LOAD_PARMSW, *LPMCI_LOAD_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_LOAD_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_LOAD_PARMS) + +typedef struct tagMCI_RECORD_PARMS { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; +} MCI_RECORD_PARMS, *LPMCI_RECORD_PARMS; + +#define MCI_CDA_STATUS_TYPE_TRACK 0x00004001 + +#define MCI_CDA_TRACK_AUDIO (MCI_CD_OFFSET + 0) +#define MCI_CDA_TRACK_OTHER (MCI_CD_OFFSET + 1) + +#define MCI_VD_MODE_PARK (MCI_VD_OFFSET + 1) + +#define MCI_VD_MEDIA_CLV (MCI_VD_OFFSET + 2) +#define MCI_VD_MEDIA_CAV (MCI_VD_OFFSET + 3) +#define MCI_VD_MEDIA_OTHER (MCI_VD_OFFSET + 4) + +#define MCI_VD_FORMAT_TRACK 0x4001 + +#define MCI_VD_PLAY_REVERSE __MSABI_LONG(0x00010000) +#define MCI_VD_PLAY_FAST __MSABI_LONG(0x00020000) +#define MCI_VD_PLAY_SPEED __MSABI_LONG(0x00040000) +#define MCI_VD_PLAY_SCAN __MSABI_LONG(0x00080000) +#define MCI_VD_PLAY_SLOW __MSABI_LONG(0x00100000) + +#define MCI_VD_SEEK_REVERSE __MSABI_LONG(0x00010000) + +#define MCI_VD_STATUS_SPEED __MSABI_LONG(0x00004002) +#define MCI_VD_STATUS_FORWARD __MSABI_LONG(0x00004003) +#define MCI_VD_STATUS_MEDIA_TYPE __MSABI_LONG(0x00004004) +#define MCI_VD_STATUS_SIDE __MSABI_LONG(0x00004005) +#define MCI_VD_STATUS_DISC_SIZE __MSABI_LONG(0x00004006) + +#define MCI_VD_GETDEVCAPS_CLV __MSABI_LONG(0x00010000) +#define MCI_VD_GETDEVCAPS_CAV __MSABI_LONG(0x00020000) + +#define MCI_VD_SPIN_UP __MSABI_LONG(0x00010000) +#define MCI_VD_SPIN_DOWN __MSABI_LONG(0x00020000) + +#define MCI_VD_GETDEVCAPS_CAN_REVERSE __MSABI_LONG(0x00004002) +#define MCI_VD_GETDEVCAPS_FAST_RATE __MSABI_LONG(0x00004003) +#define MCI_VD_GETDEVCAPS_SLOW_RATE __MSABI_LONG(0x00004004) +#define MCI_VD_GETDEVCAPS_NORMAL_RATE __MSABI_LONG(0x00004005) + +#define MCI_VD_STEP_FRAMES __MSABI_LONG(0x00010000) +#define MCI_VD_STEP_REVERSE __MSABI_LONG(0x00020000) + +#define MCI_VD_ESCAPE_STRING __MSABI_LONG(0x00000100) + +typedef struct tagMCI_VD_PLAY_PARMS { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; + DWORD dwSpeed; +} MCI_VD_PLAY_PARMS, *LPMCI_VD_PLAY_PARMS; + +typedef struct tagMCI_VD_STEP_PARMS { + DWORD_PTR dwCallback; + DWORD dwFrames; +} MCI_VD_STEP_PARMS, *LPMCI_VD_STEP_PARMS; + +typedef struct tagMCI_VD_ESCAPE_PARMSA { + DWORD_PTR dwCallback; + LPCSTR lpstrCommand; +} MCI_VD_ESCAPE_PARMSA, *LPMCI_VD_ESCAPE_PARMSA; + +typedef struct tagMCI_VD_ESCAPE_PARMSW { + DWORD_PTR dwCallback; + LPCWSTR lpstrCommand; +} MCI_VD_ESCAPE_PARMSW, *LPMCI_VD_ESCAPE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_VD_ESCAPE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_VD_ESCAPE_PARMS) + +#define MCI_WAVE_OPEN_BUFFER __MSABI_LONG(0x00010000) + +#define MCI_WAVE_SET_FORMATTAG __MSABI_LONG(0x00010000) +#define MCI_WAVE_SET_CHANNELS __MSABI_LONG(0x00020000) +#define MCI_WAVE_SET_SAMPLESPERSEC __MSABI_LONG(0x00040000) +#define MCI_WAVE_SET_AVGBYTESPERSEC __MSABI_LONG(0x00080000) +#define MCI_WAVE_SET_BLOCKALIGN __MSABI_LONG(0x00100000) +#define MCI_WAVE_SET_BITSPERSAMPLE __MSABI_LONG(0x00200000) + +#define MCI_WAVE_INPUT __MSABI_LONG(0x00400000) +#define MCI_WAVE_OUTPUT __MSABI_LONG(0x00800000) + +#define MCI_WAVE_STATUS_FORMATTAG __MSABI_LONG(0x00004001) +#define MCI_WAVE_STATUS_CHANNELS __MSABI_LONG(0x00004002) +#define MCI_WAVE_STATUS_SAMPLESPERSEC __MSABI_LONG(0x00004003) +#define MCI_WAVE_STATUS_AVGBYTESPERSEC __MSABI_LONG(0x00004004) +#define MCI_WAVE_STATUS_BLOCKALIGN __MSABI_LONG(0x00004005) +#define MCI_WAVE_STATUS_BITSPERSAMPLE __MSABI_LONG(0x00004006) +#define MCI_WAVE_STATUS_LEVEL __MSABI_LONG(0x00004007) + +#define MCI_WAVE_SET_ANYINPUT __MSABI_LONG(0x04000000) +#define MCI_WAVE_SET_ANYOUTPUT __MSABI_LONG(0x08000000) + +#define MCI_WAVE_GETDEVCAPS_INPUTS __MSABI_LONG(0x00004001) +#define MCI_WAVE_GETDEVCAPS_OUTPUTS __MSABI_LONG(0x00004002) + +typedef struct tagMCI_WAVE_OPEN_PARMSA { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCSTR lpstrDeviceType; + LPCSTR lpstrElementName; + LPCSTR lpstrAlias; + DWORD dwBufferSeconds; +} MCI_WAVE_OPEN_PARMSA, *LPMCI_WAVE_OPEN_PARMSA; + +typedef struct tagMCI_WAVE_OPEN_PARMSW { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCWSTR lpstrDeviceType; + LPCWSTR lpstrElementName; + LPCWSTR lpstrAlias; + DWORD dwBufferSeconds; +} MCI_WAVE_OPEN_PARMSW, *LPMCI_WAVE_OPEN_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_WAVE_OPEN_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_WAVE_OPEN_PARMS) + +typedef struct tagMCI_WAVE_DELETE_PARMS { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; +} MCI_WAVE_DELETE_PARMS, *LPMCI_WAVE_DELETE_PARMS; + +typedef struct tagMCI_WAVE_SET_PARMS { + DWORD_PTR dwCallback; + DWORD dwTimeFormat; + DWORD dwAudio; + UINT wInput; + UINT wOutput; + UINT wFormatTag; + UINT nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + UINT nBlockAlign; + UINT wBitsPerSample; +} MCI_WAVE_SET_PARMS, * LPMCI_WAVE_SET_PARMS; + + +#define MCI_SEQ_DIV_PPQN (0 + MCI_SEQ_OFFSET) +#define MCI_SEQ_DIV_SMPTE_24 (1 + MCI_SEQ_OFFSET) +#define MCI_SEQ_DIV_SMPTE_25 (2 + MCI_SEQ_OFFSET) +#define MCI_SEQ_DIV_SMPTE_30DROP (3 + MCI_SEQ_OFFSET) +#define MCI_SEQ_DIV_SMPTE_30 (4 + MCI_SEQ_OFFSET) + +#define MCI_SEQ_FORMAT_SONGPTR 0x4001 +#define MCI_SEQ_FILE 0x4002 +#define MCI_SEQ_MIDI 0x4003 +#define MCI_SEQ_SMPTE 0x4004 +#define MCI_SEQ_NONE 65533 + +#define MCI_SEQ_STATUS_TEMPO __MSABI_LONG(0x00004002) +#define MCI_SEQ_STATUS_PORT __MSABI_LONG(0x00004003) +#define MCI_SEQ_STATUS_SLAVE __MSABI_LONG(0x00004007) +#define MCI_SEQ_STATUS_MASTER __MSABI_LONG(0x00004008) +#define MCI_SEQ_STATUS_OFFSET __MSABI_LONG(0x00004009) +#define MCI_SEQ_STATUS_DIVTYPE __MSABI_LONG(0x0000400A) + +#define MCI_SEQ_SET_TEMPO __MSABI_LONG(0x00010000) +#define MCI_SEQ_SET_PORT __MSABI_LONG(0x00020000) +#define MCI_SEQ_SET_SLAVE __MSABI_LONG(0x00040000) +#define MCI_SEQ_SET_MASTER __MSABI_LONG(0x00080000) +#define MCI_SEQ_SET_OFFSET __MSABI_LONG(0x01000000) + +typedef struct tagMCI_SEQ_SET_PARMS { + DWORD_PTR dwCallback; + DWORD dwTimeFormat; + DWORD dwAudio; + DWORD dwTempo; + DWORD dwPort; + DWORD dwSlave; + DWORD dwMaster; + DWORD dwOffset; +} MCI_SEQ_SET_PARMS, *LPMCI_SEQ_SET_PARMS; + +#define MCI_ANIM_OPEN_WS __MSABI_LONG(0x00010000) +#define MCI_ANIM_OPEN_PARENT __MSABI_LONG(0x00020000) +#define MCI_ANIM_OPEN_NOSTATIC __MSABI_LONG(0x00040000) + +#define MCI_ANIM_PLAY_SPEED __MSABI_LONG(0x00010000) +#define MCI_ANIM_PLAY_REVERSE __MSABI_LONG(0x00020000) +#define MCI_ANIM_PLAY_FAST __MSABI_LONG(0x00040000) +#define MCI_ANIM_PLAY_SLOW __MSABI_LONG(0x00080000) +#define MCI_ANIM_PLAY_SCAN __MSABI_LONG(0x00100000) + +#define MCI_ANIM_STEP_REVERSE __MSABI_LONG(0x00010000) +#define MCI_ANIM_STEP_FRAMES __MSABI_LONG(0x00020000) + +#define MCI_ANIM_STATUS_SPEED __MSABI_LONG(0x00004001) +#define MCI_ANIM_STATUS_FORWARD __MSABI_LONG(0x00004002) +#define MCI_ANIM_STATUS_HWND __MSABI_LONG(0x00004003) +#define MCI_ANIM_STATUS_HPAL __MSABI_LONG(0x00004004) +#define MCI_ANIM_STATUS_STRETCH __MSABI_LONG(0x00004005) + +#define MCI_ANIM_INFO_TEXT __MSABI_LONG(0x00010000) + +#define MCI_ANIM_GETDEVCAPS_CAN_REVERSE __MSABI_LONG(0x00004001) +#define MCI_ANIM_GETDEVCAPS_FAST_RATE __MSABI_LONG(0x00004002) +#define MCI_ANIM_GETDEVCAPS_SLOW_RATE __MSABI_LONG(0x00004003) +#define MCI_ANIM_GETDEVCAPS_NORMAL_RATE __MSABI_LONG(0x00004004) +#define MCI_ANIM_GETDEVCAPS_PALETTES __MSABI_LONG(0x00004006) +#define MCI_ANIM_GETDEVCAPS_CAN_STRETCH __MSABI_LONG(0x00004007) +#define MCI_ANIM_GETDEVCAPS_MAX_WINDOWS __MSABI_LONG(0x00004008) + +#define MCI_ANIM_REALIZE_NORM __MSABI_LONG(0x00010000) +#define MCI_ANIM_REALIZE_BKGD __MSABI_LONG(0x00020000) + +#define MCI_ANIM_WINDOW_HWND __MSABI_LONG(0x00010000) +#define MCI_ANIM_WINDOW_STATE __MSABI_LONG(0x00040000) +#define MCI_ANIM_WINDOW_TEXT __MSABI_LONG(0x00080000) +#define MCI_ANIM_WINDOW_ENABLE_STRETCH __MSABI_LONG(0x00100000) +#define MCI_ANIM_WINDOW_DISABLE_STRETCH __MSABI_LONG(0x00200000) + +#define MCI_ANIM_WINDOW_DEFAULT __MSABI_LONG(0x00000000) + +#define MCI_ANIM_RECT __MSABI_LONG(0x00010000) +#define MCI_ANIM_PUT_SOURCE __MSABI_LONG(0x00020000) +#define MCI_ANIM_PUT_DESTINATION __MSABI_LONG(0x00040000) + +#define MCI_ANIM_WHERE_SOURCE __MSABI_LONG(0x00020000) +#define MCI_ANIM_WHERE_DESTINATION __MSABI_LONG(0x00040000) + +#define MCI_ANIM_UPDATE_HDC __MSABI_LONG(0x00020000) + +typedef struct tagMCI_ANIM_OPEN_PARMSA { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCSTR lpstrDeviceType; + LPCSTR lpstrElementName; + LPCSTR lpstrAlias; + DWORD dwStyle; + HWND hWndParent; +} MCI_ANIM_OPEN_PARMSA, *LPMCI_ANIM_OPEN_PARMSA; + +typedef struct tagMCI_ANIM_OPEN_PARMSW { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCWSTR lpstrDeviceType; + LPCWSTR lpstrElementName; + LPCWSTR lpstrAlias; + DWORD dwStyle; + HWND hWndParent; +} MCI_ANIM_OPEN_PARMSW, *LPMCI_ANIM_OPEN_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_ANIM_OPEN_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_ANIM_OPEN_PARMS) + +typedef struct tagMCI_ANIM_PLAY_PARMS { + DWORD_PTR dwCallback; + DWORD dwFrom; + DWORD dwTo; + DWORD dwSpeed; +} MCI_ANIM_PLAY_PARMS, *LPMCI_ANIM_PLAY_PARMS; + +typedef struct tagMCI_ANIM_STEP_PARMS { + DWORD_PTR dwCallback; + DWORD dwFrames; +} MCI_ANIM_STEP_PARMS, *LPMCI_ANIM_STEP_PARMS; + +typedef struct tagMCI_ANIM_WINDOW_PARMSA { + DWORD_PTR dwCallback; + HWND hWnd; + UINT nCmdShow; + LPCSTR lpstrText; +} MCI_ANIM_WINDOW_PARMSA, *LPMCI_ANIM_WINDOW_PARMSA; + +typedef struct tagMCI_ANIM_WINDOW_PARMSW { + DWORD_PTR dwCallback; + HWND hWnd; + UINT nCmdShow; + LPCWSTR lpstrText; +} MCI_ANIM_WINDOW_PARMSW, *LPMCI_ANIM_WINDOW_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_ANIM_WINDOW_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_ANIM_WINDOW_PARMS) + +typedef struct tagMCI_ANIM_RECT_PARMS { + DWORD_PTR dwCallback; +#ifdef MCI_USE_OFFEXT + POINT ptOffset; + POINT ptExtent; +#else /* ifdef MCI_USE_OFFEXT */ + RECT rc; +#endif /* ifdef MCI_USE_OFFEXT */ +} MCI_ANIM_RECT_PARMS, *LPMCI_ANIM_RECT_PARMS; + + +typedef struct tagMCI_ANIM_UPDATE_PARMS { + DWORD_PTR dwCallback; + RECT rc; + HDC hDC; +} MCI_ANIM_UPDATE_PARMS, *LPMCI_ANIM_UPDATE_PARMS; + + +#define MCI_OVLY_OPEN_WS __MSABI_LONG(0x00010000) +#define MCI_OVLY_OPEN_PARENT __MSABI_LONG(0x00020000) + +#define MCI_OVLY_STATUS_HWND __MSABI_LONG(0x00004001) +#define MCI_OVLY_STATUS_STRETCH __MSABI_LONG(0x00004002) + +#define MCI_OVLY_INFO_TEXT __MSABI_LONG(0x00010000) + +#define MCI_OVLY_GETDEVCAPS_CAN_STRETCH __MSABI_LONG(0x00004001) +#define MCI_OVLY_GETDEVCAPS_CAN_FREEZE __MSABI_LONG(0x00004002) +#define MCI_OVLY_GETDEVCAPS_MAX_WINDOWS __MSABI_LONG(0x00004003) + +#define MCI_OVLY_WINDOW_HWND __MSABI_LONG(0x00010000) +#define MCI_OVLY_WINDOW_STATE __MSABI_LONG(0x00040000) +#define MCI_OVLY_WINDOW_TEXT __MSABI_LONG(0x00080000) +#define MCI_OVLY_WINDOW_ENABLE_STRETCH __MSABI_LONG(0x00100000) +#define MCI_OVLY_WINDOW_DISABLE_STRETCH __MSABI_LONG(0x00200000) + +#define MCI_OVLY_WINDOW_DEFAULT __MSABI_LONG(0x00000000) + +#define MCI_OVLY_RECT __MSABI_LONG(0x00010000) +#define MCI_OVLY_PUT_SOURCE __MSABI_LONG(0x00020000) +#define MCI_OVLY_PUT_DESTINATION __MSABI_LONG(0x00040000) +#define MCI_OVLY_PUT_FRAME __MSABI_LONG(0x00080000) +#define MCI_OVLY_PUT_VIDEO __MSABI_LONG(0x00100000) + +#define MCI_OVLY_WHERE_SOURCE __MSABI_LONG(0x00020000) +#define MCI_OVLY_WHERE_DESTINATION __MSABI_LONG(0x00040000) +#define MCI_OVLY_WHERE_FRAME __MSABI_LONG(0x00080000) +#define MCI_OVLY_WHERE_VIDEO __MSABI_LONG(0x00100000) + +typedef struct tagMCI_OVLY_OPEN_PARMSA { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCSTR lpstrDeviceType; + LPCSTR lpstrElementName; + LPCSTR lpstrAlias; + DWORD dwStyle; + HWND hWndParent; +} MCI_OVLY_OPEN_PARMSA, *LPMCI_OVLY_OPEN_PARMSA; + +typedef struct tagMCI_OVLY_OPEN_PARMSW { + DWORD_PTR dwCallback; + MCIDEVICEID wDeviceID; + LPCWSTR lpstrDeviceType; + LPCWSTR lpstrElementName; + LPCWSTR lpstrAlias; + DWORD dwStyle; + HWND hWndParent; +} MCI_OVLY_OPEN_PARMSW, *LPMCI_OVLY_OPEN_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_OVLY_OPEN_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_OVLY_OPEN_PARMS) + +typedef struct tagMCI_OVLY_WINDOW_PARMSA { + DWORD_PTR dwCallback; + HWND hWnd; + UINT nCmdShow; + LPCSTR lpstrText; +} MCI_OVLY_WINDOW_PARMSA, *LPMCI_OVLY_WINDOW_PARMSA; + +typedef struct tagMCI_OVLY_WINDOW_PARMSW { + DWORD_PTR dwCallback; + HWND hWnd; + UINT nCmdShow; + LPCWSTR lpstrText; +} MCI_OVLY_WINDOW_PARMSW, *LPMCI_OVLY_WINDOW_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_OVLY_WINDOW_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_OVLY_WINDOW_PARMS) + +typedef struct tagMCI_OVLY_RECT_PARMS { + DWORD_PTR dwCallback; +#ifdef MCI_USE_OFFEXT + POINT ptOffset; + POINT ptExtent; +#else /* ifdef MCI_USE_OFFEXT */ + RECT rc; +#endif /* ifdef MCI_USE_OFFEXT */ +} MCI_OVLY_RECT_PARMS, *LPMCI_OVLY_RECT_PARMS; + + +typedef struct tagMCI_OVLY_SAVE_PARMSA { + DWORD_PTR dwCallback; + LPCSTR lpfilename; + RECT rc; +} MCI_OVLY_SAVE_PARMSA, *LPMCI_OVLY_SAVE_PARMSA; + +typedef struct tagMCI_OVLY_SAVE_PARMSW { + DWORD_PTR dwCallback; + LPCWSTR lpfilename; + RECT rc; +} MCI_OVLY_SAVE_PARMSW, *LPMCI_OVLY_SAVE_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_OVLY_SAVE_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_OVLY_SAVE_PARMS) + +typedef struct tagMCI_OVLY_LOAD_PARMSA { + DWORD_PTR dwCallback; + LPCSTR lpfilename; + RECT rc; +} MCI_OVLY_LOAD_PARMSA, *LPMCI_OVLY_LOAD_PARMSA; + +typedef struct tagMCI_OVLY_LOAD_PARMSW { + DWORD_PTR dwCallback; + LPCWSTR lpfilename; + RECT rc; +} MCI_OVLY_LOAD_PARMSW, *LPMCI_OVLY_LOAD_PARMSW; + +DECL_WINELIB_TYPE_AW(MCI_OVLY_LOAD_PARMS) +DECL_WINELIB_TYPE_AW(LPMCI_OVLY_LOAD_PARMS) + +#ifndef NEWTRANSPARENT +#define NEWTRANSPARENT 3 +#define QUERYROPSUPPORT 40 +#endif + +#define SELECTDIB 41 +#define DIBINDEX(n) MAKELONG((n),0x10FF) + +#ifndef SC_SCREENSAVE +#define SC_SCREENSAVE 0xf140 +#endif + +#include + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MMSYSTEM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mprapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mprapi.h new file mode 100644 index 0000000..4e67ff0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mprapi.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2006 Dmitry Timoshkov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MPRAPI_H +#define __WINE_MPRAPI_H + +#include +#include +#include +#include + +#define MAX_DEVICE_NAME 128 +#define MAX_DEVICETYPE_NAME 16 +#define MAX_INTERFACE_NAME_LEN 256 +#define MAX_MEDIA_NAME 16 +#define MAX_PHONE_NUMBER_LEN 128 +#define MAX_PORT_NAME 16 +#define MAX_TRANSPORT_NAME_LEN 40 + + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MPRAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mprerror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mprerror.h new file mode 100644 index 0000000..ac87e81 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mprerror.h @@ -0,0 +1,74 @@ +/* + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given: + * The w64 mingw-runtime package and its code is distributed in the hope that it + * will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR + * IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to + * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef _MPRERROR_H_ +#define _MPRERROR_H_ + +#define ROUTEBASE 900 +#define SUCCESS 0 + +#define ERROR_ROUTER_STOPPED (ROUTEBASE+0) +#define ERROR_ALREADY_CONNECTED (ROUTEBASE+1) +#define ERROR_UNKNOWN_PROTOCOL_ID (ROUTEBASE+2) +#define ERROR_DDM_NOT_RUNNING (ROUTEBASE+3) +#define ERROR_INTERFACE_ALREADY_EXISTS (ROUTEBASE+4) +#define ERROR_NO_SUCH_INTERFACE (ROUTEBASE+5) +#define ERROR_INTERFACE_NOT_CONNECTED (ROUTEBASE+6) +#define ERROR_PROTOCOL_STOP_PENDING (ROUTEBASE+7) +#define ERROR_INTERFACE_CONNECTED (ROUTEBASE+8) +#define ERROR_NO_INTERFACE_CREDENTIALS_SET (ROUTEBASE+9) +#define ERROR_ALREADY_CONNECTING (ROUTEBASE+10) +#define ERROR_UPDATE_IN_PROGRESS (ROUTEBASE+11) +#define ERROR_INTERFACE_CONFIGURATION (ROUTEBASE+12) +#define ERROR_NOT_CLIENT_PORT (ROUTEBASE+13) +#define ERROR_NOT_ROUTER_PORT (ROUTEBASE+14) +#define ERROR_CLIENT_INTERFACE_ALREADY_EXISTS (ROUTEBASE+15) +#define ERROR_INTERFACE_DISABLED (ROUTEBASE+16) +#define ERROR_AUTH_PROTOCOL_REJECTED (ROUTEBASE+17) +#define ERROR_NO_AUTH_PROTOCOL_AVAILABLE (ROUTEBASE+18) +#define ERROR_PEER_REFUSED_AUTH (ROUTEBASE+19) +#define ERROR_REMOTE_NO_DIALIN_PERMISSION (ROUTEBASE+20) +#define ERROR_REMOTE_PASSWD_EXPIRED (ROUTEBASE+21) +#define ERROR_REMOTE_ACCT_DISABLED (ROUTEBASE+22) +#define ERROR_REMOTE_RESTRICTED_LOGON_HOURS (ROUTEBASE+23) +#define ERROR_REMOTE_AUTHENTICATION_FAILURE (ROUTEBASE+24) +#define ERROR_INTERFACE_HAS_NO_DEVICES (ROUTEBASE+25) +#define ERROR_IDLE_DISCONNECTED (ROUTEBASE+26) +#define ERROR_INTERFACE_UNREACHABLE (ROUTEBASE+27) +#define ERROR_SERVICE_IS_PAUSED (ROUTEBASE+28) +#define ERROR_INTERFACE_DISCONNECTED (ROUTEBASE+29) +#define ERROR_AUTH_SERVER_TIMEOUT (ROUTEBASE+30) +#define ERROR_PORT_LIMIT_REACHED (ROUTEBASE+31) +#define ERROR_PPP_SESSION_TIMEOUT (ROUTEBASE+32) +#define ERROR_MAX_LAN_INTERFACE_LIMIT (ROUTEBASE+33) +#define ERROR_MAX_WAN_INTERFACE_LIMIT (ROUTEBASE+34) +#define ERROR_MAX_CLIENT_INTERFACE_LIMIT (ROUTEBASE+35) +#define ERROR_BAP_DISCONNECTED (ROUTEBASE+36) +#define ERROR_USER_LIMIT (ROUTEBASE+37) +#define ERROR_NO_RADIUS_SERVERS (ROUTEBASE+38) +#define ERROR_INVALID_RADIUS_RESPONSE (ROUTEBASE+39) +#define ERROR_DIALIN_HOURS_RESTRICTION (ROUTEBASE+40) +#define ERROR_ALLOWED_PORT_TYPE_RESTRICTION (ROUTEBASE+41) +#define ERROR_AUTH_PROTOCOL_RESTRICTION (ROUTEBASE+42) +#define ERROR_BAP_REQUIRED (ROUTEBASE+43) +#define ERROR_DIALOUT_HOURS_RESTRICTION (ROUTEBASE+44) +#define ERROR_ROUTER_CONFIG_INCOMPATIBLE (ROUTEBASE+45) +#define WARNING_NO_MD5_MIGRATION (ROUTEBASE+46) +#define ERROR_PROTOCOL_ALREADY_INSTALLED (ROUTEBASE+48) +#define ERROR_INVALID_SIGNATURE_LENGTH (ROUTEBASE+49) +#define ERROR_INVALID_SIGNATURE (ROUTEBASE+50) +#define ERROR_NO_SIGNATURE (ROUTEBASE+51) +#define ERROR_INVALID_PACKET_LENGTH_OR_ID (ROUTEBASE+52) +#define ERROR_INVALID_ATTRIBUTE_LENGTH (ROUTEBASE+53) +#define ERROR_INVALID_PACKET (ROUTEBASE+54) +#define ERROR_AUTHENTICATOR_MISMATCH (ROUTEBASE+55) +#define ROUTEBASEEND (ROUTEBASE+56) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacm.h new file mode 100644 index 0000000..eaa39d2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacm.h @@ -0,0 +1,792 @@ +/* + * Declarations for MSACM + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSACM_H +#define __WINE_MSACM_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#include + +#define ACMAPI WINAPI + +/*********************************************************************** + * Defines/Enums + */ +#define ACMERR_BASE 512 +#define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0) +#define ACMERR_BUSY (ACMERR_BASE + 1) +#define ACMERR_UNPREPARED (ACMERR_BASE + 2) +#define ACMERR_CANCELED (ACMERR_BASE + 3) + +#define MM_ACM_OPEN MM_STREAM_OPEN +#define MM_ACM_CLOSE MM_STREAM_CLOSE +#define MM_ACM_DONE MM_STREAM_DONE + +#define ACM_DRIVERADDF_NAME __MSABI_LONG(0x00000001) +#define ACM_DRIVERADDF_FUNCTION __MSABI_LONG(0x00000003) +#define ACM_DRIVERADDF_NOTIFYHWND __MSABI_LONG(0x00000004) +#define ACM_DRIVERADDF_TYPEMASK __MSABI_LONG(0x00000007) +#define ACM_DRIVERADDF_LOCAL __MSABI_LONG(0x00000000) +#define ACM_DRIVERADDF_GLOBAL __MSABI_LONG(0x00000008) + +#define ACMDRIVERDETAILS_SHORTNAME_CHARS 32 +#define ACMDRIVERDETAILS_LONGNAME_CHARS 128 +#define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80 +#define ACMDRIVERDETAILS_LICENSING_CHARS 128 +#define ACMDRIVERDETAILS_FEATURES_CHARS 512 + +#define ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC mmioFOURCC('a', 'u', 'd', 'c') +#define ACMDRIVERDETAILS_FCCCOMP_UNDEFINED mmioFOURCC('\0', '\0', '\0', '\0') + +#define ACMDRIVERDETAILS_SUPPORTF_CODEC __MSABI_LONG(0x00000001) +#define ACMDRIVERDETAILS_SUPPORTF_CONVERTER __MSABI_LONG(0x00000002) +#define ACMDRIVERDETAILS_SUPPORTF_FILTER __MSABI_LONG(0x00000004) +#define ACMDRIVERDETAILS_SUPPORTF_HARDWARE __MSABI_LONG(0x00000008) +#define ACMDRIVERDETAILS_SUPPORTF_ASYNC __MSABI_LONG(0x00000010) +#define ACMDRIVERDETAILS_SUPPORTF_LOCAL __MSABI_LONG(0x40000000) +#define ACMDRIVERDETAILS_SUPPORTF_DISABLED __MSABI_LONG(0x80000000) + +#define ACM_DRIVERENUMF_NOLOCAL __MSABI_LONG(0x40000000) +#define ACM_DRIVERENUMF_DISABLED __MSABI_LONG(0x80000000) + +#define ACM_DRIVERPRIORITYF_ENABLE __MSABI_LONG(0x00000001) +#define ACM_DRIVERPRIORITYF_DISABLE __MSABI_LONG(0x00000002) +#define ACM_DRIVERPRIORITYF_ABLEMASK __MSABI_LONG(0x00000003) +#define ACM_DRIVERPRIORITYF_BEGIN __MSABI_LONG(0x00010000) +#define ACM_DRIVERPRIORITYF_END __MSABI_LONG(0x00020000) +#define ACM_DRIVERPRIORITYF_DEFERMASK __MSABI_LONG(0x00030000) + +#define MM_ACM_FILTERCHOOSE 0x8000 + +#define FILTERCHOOSE_MESSAGE 0 +#define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0) +#define FILTERCHOOSE_FILTER_VERIFY (FILTERCHOOSE_MESSAGE+1) +#define FILTERCHOOSE_CUSTOM_VERIFY (FILTERCHOOSE_MESSAGE+2) + +#define ACMFILTERCHOOSE_STYLEF_SHOWHELP __MSABI_LONG(0x00000004) +#define ACMFILTERCHOOSE_STYLEF_ENABLEHOOK __MSABI_LONG(0x00000008) +#define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATE __MSABI_LONG(0x00000010) +#define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATEHANDLE __MSABI_LONG(0x00000020) +#define ACMFILTERCHOOSE_STYLEF_INITTOFILTERSTRUCT __MSABI_LONG(0x00000040) +#define ACMFILTERCHOOSE_STYLEF_CONTEXTHELP __MSABI_LONG(0x00000080) + +#define ACMFILTERDETAILS_FILTER_CHARS 128 + +#define ACM_FILTERDETAILSF_INDEX __MSABI_LONG(0x00000000) +#define ACM_FILTERDETAILSF_FILTER __MSABI_LONG(0x00000001) +#define ACM_FILTERDETAILSF_QUERYMASK __MSABI_LONG(0x0000000F) + +#define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48 + +#define ACM_FILTERTAGDETAILSF_INDEX __MSABI_LONG(0x00000000) +#define ACM_FILTERTAGDETAILSF_FILTERTAG __MSABI_LONG(0x00000001) +#define ACM_FILTERTAGDETAILSF_LARGESTSIZE __MSABI_LONG(0x00000002) +#define ACM_FILTERTAGDETAILSF_QUERYMASK __MSABI_LONG(0x0000000F) + +#define ACM_FILTERENUMF_DWFILTERTAG __MSABI_LONG(0x00010000) + +#define ACMHELPMSGSTRINGA "acmchoose_help" +#if defined(__GNUC__) +# define ACMHELPMSGSTRINGW (const WCHAR []){ 'a','c','m', \ + 'c','h','o','o','s','e','_','h','e','l','p',0 } +#elif defined(_MSC_VER) +# define ACMHELPMSGSTRINGW L"acmchoose_help" +#else +static const WCHAR ACMHELPMSGSTRINGW[] = { 'a','c','m', + 'c','h','o','o','s','e','_','h','e','l','p',0 }; +#endif +#define ACMHELPMSGSTRING WINELIB_NAME_AW(ACMHELPMSGSTRING) + +#define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu" +#if defined(__GNUC__) +# define ACMHELPMSGCONTEXTMENUW (const WCHAR []){ 'a','c','m', \ + 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 } +#elif defined(_MSC_VER) +# define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu" +#else +static const WCHAR ACMHELPMSGCONTEXTMENUW[] = { 'a','c','m', + 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 }; +#endif +#define ACMHELPMSGCONTEXTMENU WINELIB_NAME_AW(ACMHELPMSGCONTEXTMENU) + +#define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp" +#if defined(__GNUC__) +# define ACMHELPMSGCONTEXTHELPW (const WCHAR []){ 'a','c','m', \ + 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 } +#elif defined(_MSC_VER) +# define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp" +#else +static const WCHAR ACMHELPMSGCONTEXTHELPW[] = { 'a','c','m', + 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 }; +#endif +#define ACMHELPMSGCONTEXTHELP WINELIB_NAME_AW(ACMHELPMSGCONTEXTHELP) + +#define MM_ACM_FORMATCHOOSE 0x8000 + +#define FORMATCHOOSE_MESSAGE 0 +#define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0) +#define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1) +#define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2) + +#define ACMFORMATCHOOSE_STYLEF_SHOWHELP __MSABI_LONG(0x00000004) +#define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK __MSABI_LONG(0x00000008) +#define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE __MSABI_LONG(0x00000010) +#define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE __MSABI_LONG(0x00000020) +#define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT __MSABI_LONG(0x00000040) +#define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP __MSABI_LONG(0x00000080) + +#define ACMFORMATDETAILS_FORMAT_CHARS 128 + +#define ACM_FORMATDETAILSF_INDEX __MSABI_LONG(0x00000000) +#define ACM_FORMATDETAILSF_FORMAT __MSABI_LONG(0x00000001) +#define ACM_FORMATDETAILSF_QUERYMASK __MSABI_LONG(0x0000000F) + +#define ACM_FORMATENUMF_WFORMATTAG __MSABI_LONG(0x00010000) +#define ACM_FORMATENUMF_NCHANNELS __MSABI_LONG(0x00020000) +#define ACM_FORMATENUMF_NSAMPLESPERSEC __MSABI_LONG(0x00040000) +#define ACM_FORMATENUMF_WBITSPERSAMPLE __MSABI_LONG(0x00080000) +#define ACM_FORMATENUMF_CONVERT __MSABI_LONG(0x00100000) +#define ACM_FORMATENUMF_SUGGEST __MSABI_LONG(0x00200000) +#define ACM_FORMATENUMF_HARDWARE __MSABI_LONG(0x00400000) +#define ACM_FORMATENUMF_INPUT __MSABI_LONG(0x00800000) +#define ACM_FORMATENUMF_OUTPUT __MSABI_LONG(0x01000000) + +#define ACM_FORMATSUGGESTF_WFORMATTAG __MSABI_LONG(0x00010000) +#define ACM_FORMATSUGGESTF_NCHANNELS __MSABI_LONG(0x00020000) +#define ACM_FORMATSUGGESTF_NSAMPLESPERSEC __MSABI_LONG(0x00040000) +#define ACM_FORMATSUGGESTF_WBITSPERSAMPLE __MSABI_LONG(0x00080000) +#define ACM_FORMATSUGGESTF_TYPEMASK __MSABI_LONG(0x00FF0000) + +#define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48 + +#define ACM_FORMATTAGDETAILSF_INDEX __MSABI_LONG(0x00000000) +#define ACM_FORMATTAGDETAILSF_FORMATTAG __MSABI_LONG(0x00000001) +#define ACM_FORMATTAGDETAILSF_LARGESTSIZE __MSABI_LONG(0x00000002) +#define ACM_FORMATTAGDETAILSF_QUERYMASK __MSABI_LONG(0x0000000F) + +#define ACM_METRIC_COUNT_DRIVERS 1 +#define ACM_METRIC_COUNT_CODECS 2 +#define ACM_METRIC_COUNT_CONVERTERS 3 +#define ACM_METRIC_COUNT_FILTERS 4 +#define ACM_METRIC_COUNT_DISABLED 5 +#define ACM_METRIC_COUNT_HARDWARE 6 +#define ACM_METRIC_COUNT_LOCAL_DRIVERS 20 +#define ACM_METRIC_COUNT_LOCAL_CODECS 21 +#define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22 +#define ACM_METRIC_COUNT_LOCAL_FILTERS 23 +#define ACM_METRIC_COUNT_LOCAL_DISABLED 24 +#define ACM_METRIC_HARDWARE_WAVE_INPUT 30 +#define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31 +#define ACM_METRIC_MAX_SIZE_FORMAT 50 +#define ACM_METRIC_MAX_SIZE_FILTER 51 +#define ACM_METRIC_DRIVER_SUPPORT 100 +#define ACM_METRIC_DRIVER_PRIORITY 101 + +#define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004 +#define ACM_STREAMCONVERTF_START 0x00000010 +#define ACM_STREAMCONVERTF_END 0x00000020 + +#define ACMSTREAMHEADER_STATUSF_DONE __MSABI_LONG(0x00010000) +#define ACMSTREAMHEADER_STATUSF_PREPARED __MSABI_LONG(0x00020000) +#define ACMSTREAMHEADER_STATUSF_INQUEUE __MSABI_LONG(0x00100000) + +#define ACM_STREAMOPENF_QUERY 0x00000001 +#define ACM_STREAMOPENF_ASYNC 0x00000002 +#define ACM_STREAMOPENF_NONREALTIME 0x00000004 + +#define ACM_STREAMSIZEF_SOURCE __MSABI_LONG(0x00000000) +#define ACM_STREAMSIZEF_DESTINATION __MSABI_LONG(0x00000001) +#define ACM_STREAMSIZEF_QUERYMASK __MSABI_LONG(0x0000000F) + +#define ACMDM_USER (DRV_USER + 0x0000) +#define ACMDM_RESERVED_LOW (DRV_USER + 0x2000) +#define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF) + +#define ACMDM_BASE ACMDM_RESERVED_LOW + +#define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11) + +/* handles */ + +DECLARE_HANDLE(HACMDRIVERID); +DECLARE_HANDLE(HACMDRIVER); +DECLARE_HANDLE(HACMSTREAM); +DECLARE_HANDLE(HACMOBJ); +typedef HACMDRIVERID *PHACMDRIVERID, *LPHACMDRIVERID; +typedef HACMDRIVER *PHACMDRIVER, *LPHACMDRIVER; +typedef HACMSTREAM *PHACMSTREAM, *LPHACMSTREAM; +typedef HACMOBJ *PHACMOBJ, *LPHACMOBJ; + +/*********************************************************************** + * Callbacks + */ + +typedef BOOL (CALLBACK *ACMDRIVERENUMCB)( + HACMDRIVERID hadid, DWORD_PTR dwInstance, DWORD fdwSupport +); + +typedef UINT (CALLBACK *ACMFILTERCHOOSEHOOKPROCA)( + HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam +); + +typedef UINT (CALLBACK *ACMFILTERCHOOSEHOOKPROCW)( + HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam +); +#define ACMFILTERCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFILTERCHOOSEHOOKPROC) + +typedef UINT (CALLBACK *ACMFORMATCHOOSEHOOKPROCA)( + HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam +); + +typedef UINT (CALLBACK *ACMFORMATCHOOSEHOOKPROCW)( + HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam +); +#define ACMFORMATCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFORMATCHOOSEHOOKPROC) + +/*********************************************************************** + * Structures + */ + +typedef struct _ACMDRIVERDETAILSA +{ + DWORD cbStruct; + + FOURCC fccType; + FOURCC fccComp; + + WORD wMid; + WORD wPid; + + DWORD vdwACM; + DWORD vdwDriver; + + DWORD fdwSupport; + DWORD cFormatTags; + DWORD cFilterTags; + + HICON hicon; + + CHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS]; + CHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS]; + CHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS]; + CHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS]; + CHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS]; +} ACMDRIVERDETAILSA, *PACMDRIVERDETAILSA, *LPACMDRIVERDETAILSA; + +typedef struct _ACMDRIVERDETAILSW +{ + DWORD cbStruct; + + FOURCC fccType; + FOURCC fccComp; + + WORD wMid; + WORD wPid; + + DWORD vdwACM; + DWORD vdwDriver; + + DWORD fdwSupport; + DWORD cFormatTags; + DWORD cFilterTags; + + HICON hicon; + + WCHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS]; + WCHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS]; + WCHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS]; + WCHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS]; + WCHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS]; +} ACMDRIVERDETAILSW, *PACMDRIVERDETAILSW, *LPACMDRIVERDETAILSW; + +DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS) +DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS) +DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS) + +typedef struct _ACMFILTERCHOOSEA +{ + DWORD cbStruct; + DWORD fdwStyle; + + HWND hwndOwner; + + PWAVEFILTER pwfltr; + DWORD cbwfltr; + + LPCSTR pszTitle; + + CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS]; + CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS]; + LPSTR pszName; + DWORD cchName; + + DWORD fdwEnum; + PWAVEFILTER pwfltrEnum; + + HINSTANCE hInstance; + LPCSTR pszTemplateName; + LPARAM lCustData; + ACMFILTERCHOOSEHOOKPROCA pfnHook; +} ACMFILTERCHOOSEA, *PACMFILTERCHOOSEA, *LPACMFILTERCHOOSEA; + +typedef struct _ACMFILTERCHOOSEW +{ + DWORD cbStruct; + DWORD fdwStyle; + + HWND hwndOwner; + + PWAVEFILTER pwfltr; + DWORD cbwfltr; + + LPCWSTR pszTitle; + + WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS]; + WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS]; + LPWSTR pszName; + DWORD cchName; + + DWORD fdwEnum; + PWAVEFILTER pwfltrEnum; + + HINSTANCE hInstance; + LPCWSTR pszTemplateName; + LPARAM lCustData; + ACMFILTERCHOOSEHOOKPROCW pfnHook; +} ACMFILTERCHOOSEW, *PACMFILTERCHOOSEW, *LPACMFILTERCHOOSEW; + +DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE) +DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE) +DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE) + +typedef struct _ACMFILTERDETAILSA +{ + DWORD cbStruct; + DWORD dwFilterIndex; + DWORD dwFilterTag; + DWORD fdwSupport; + PWAVEFILTER pwfltr; + DWORD cbwfltr; + CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS]; +} ACMFILTERDETAILSA, *PACMFILTERDETAILSA, *LPACMFILTERDETAILSA; + +typedef struct _ACMFILTERDETAILSW +{ + DWORD cbStruct; + DWORD dwFilterIndex; + DWORD dwFilterTag; + DWORD fdwSupport; + PWAVEFILTER pwfltr; + DWORD cbwfltr; + WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS]; +} ACMFILTERDETAILSW, *PACMFILTERDETAILSW, *LPACMFILTERDETAILSW; + +DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS) +DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS) +DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS) + +typedef struct _ACMFILTERTAGDETAILSA +{ + DWORD cbStruct; + DWORD dwFilterTagIndex; + DWORD dwFilterTag; + DWORD cbFilterSize; + DWORD fdwSupport; + DWORD cStandardFilters; + CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS]; +} ACMFILTERTAGDETAILSA, *PACMFILTERTAGDETAILSA, *LPACMFILTERTAGDETAILSA; + +typedef struct _ACMFILTERTAGDETAILSW +{ + DWORD cbStruct; + DWORD dwFilterTagIndex; + DWORD dwFilterTag; + DWORD cbFilterSize; + DWORD fdwSupport; + DWORD cStandardFilters; + WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS]; +} ACMFILTERTAGDETAILSW, *PACMFILTERTAGDETAILSW, *LPACMFILTERTAGDETAILSW; + +DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS) +DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS) +DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS) + +typedef struct _ACMFORMATCHOOSEA +{ + DWORD cbStruct; + DWORD fdwStyle; + + HWND hwndOwner; + + PWAVEFORMATEX pwfx; + DWORD cbwfx; + LPCSTR pszTitle; + + CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS]; + CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS]; + + LPSTR pszName; + DWORD cchName; + + DWORD fdwEnum; + PWAVEFORMATEX pwfxEnum; + + HINSTANCE hInstance; + LPCSTR pszTemplateName; + LPARAM lCustData; + ACMFORMATCHOOSEHOOKPROCA pfnHook; +} ACMFORMATCHOOSEA, *PACMFORMATCHOOSEA, *LPACMFORMATCHOOSEA; + +typedef struct _ACMFORMATCHOOSEW +{ + DWORD cbStruct; + DWORD fdwStyle; + + HWND hwndOwner; + + PWAVEFORMATEX pwfx; + DWORD cbwfx; + LPCWSTR pszTitle; + + WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS]; + WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS]; + + LPWSTR pszName; + DWORD cchName; + + DWORD fdwEnum; + LPWAVEFORMATEX pwfxEnum; + + HINSTANCE hInstance; + LPCWSTR pszTemplateName; + LPARAM lCustData; + ACMFORMATCHOOSEHOOKPROCW pfnHook; +} ACMFORMATCHOOSEW, *PACMFORMATCHOOSEW, *LPACMFORMATCHOOSEW; + +DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE) +DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE) +DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE) + +typedef struct _ACMFORMATDETAILSA +{ + DWORD cbStruct; + DWORD dwFormatIndex; + DWORD dwFormatTag; + DWORD fdwSupport; + PWAVEFORMATEX pwfx; + DWORD cbwfx; + CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS]; +} ACMFORMATDETAILSA, *PACMFORMATDETAILSA, *LPACMFORMATDETAILSA; + +typedef struct _ACMFORMATDETAILSW +{ + DWORD cbStruct; + DWORD dwFormatIndex; + DWORD dwFormatTag; + DWORD fdwSupport; + PWAVEFORMATEX pwfx; + DWORD cbwfx; + WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS]; +} ACMFORMATDETAILSW, *PACMFORMATDETAILSW, *LPACMFORMATDETAILSW; + +DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS) +DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS) +DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS) + +typedef struct _ACMFORMATTAGDETAILSA +{ + DWORD cbStruct; + DWORD dwFormatTagIndex; + DWORD dwFormatTag; + DWORD cbFormatSize; + DWORD fdwSupport; + DWORD cStandardFormats; + CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS]; +} ACMFORMATTAGDETAILSA, *PACMFORMATTAGDETAILSA, *LPACMFORMATTAGDETAILSA; + +typedef struct _ACMFORMATTAGDETAILSW +{ + DWORD cbStruct; + DWORD dwFormatTagIndex; + DWORD dwFormatTag; + DWORD cbFormatSize; + DWORD fdwSupport; + DWORD cStandardFormats; + WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS]; +} ACMFORMATTAGDETAILSW, *PACMFORMATTAGDETAILSW, *LPACMFORMATTAGDETAILSW; + +DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS) +DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS) +DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS) + +#ifdef _WIN64 +# define _ACMSTREAMHEADERRESERVE 15 +#else +# define _ACMSTREAMHEADERRESERVE 10 +#endif + +typedef struct _ACMSTREAMHEADER +{ + DWORD cbStruct; + DWORD fdwStatus; + DWORD_PTR dwUser; + LPBYTE pbSrc; + DWORD cbSrcLength; + DWORD cbSrcLengthUsed; + DWORD_PTR dwSrcUser; + LPBYTE pbDst; + DWORD cbDstLength; + DWORD cbDstLengthUsed; + DWORD_PTR dwDstUser; + DWORD dwReservedDriver[_ACMSTREAMHEADERRESERVE]; +} ACMSTREAMHEADER, *PACMSTREAMHEADER, *LPACMSTREAMHEADER; + +#undef _ACMSTREAMHEADERRESERVE + +/*********************************************************************** + * Callbacks 2 + */ + +typedef BOOL (CALLBACK *ACMFILTERENUMCBA)( + HACMDRIVERID hadid, PACMFILTERDETAILSA pafd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +typedef BOOL (CALLBACK *ACMFILTERENUMCBW)( + HACMDRIVERID hadid, PACMFILTERDETAILSW pafd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +#define ACMFILTERENUMCB WINELIB_NAME_AW(ACMFILTERENUMCB) + +typedef BOOL (CALLBACK *ACMFILTERTAGENUMCBA)( + HACMDRIVERID hadid, PACMFILTERTAGDETAILSA paftd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +typedef BOOL (CALLBACK *ACMFILTERTAGENUMCBW)( + HACMDRIVERID hadid, PACMFILTERTAGDETAILSW paftd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +#define ACMFILTERTAGENUMCB WINELIB_NAME_AW(ACMFILTERTAGENUMCB) + +typedef BOOL (CALLBACK *ACMFORMATENUMCBA)( + HACMDRIVERID hadid, PACMFORMATDETAILSA pafd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +typedef BOOL (CALLBACK *ACMFORMATENUMCBW)( + HACMDRIVERID hadid, PACMFORMATDETAILSW pafd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +#define ACMFORMATENUMCB WINELIB_NAME_AW(ACMFORMATENUMCB) + +typedef BOOL (CALLBACK *ACMFORMATTAGENUMCBA)( + HACMDRIVERID hadid, PACMFORMATTAGDETAILSA paftd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +typedef BOOL (CALLBACK *ACMFORMATTAGENUMCBW)( + HACMDRIVERID hadid, PACMFORMATTAGDETAILSW paftd, + DWORD_PTR dwInstance, DWORD fdwSupport +); + +#define ACMFORMATTAGENUMCB WINELIB_NAME_AW(ACMFORMATTAGENUMCB) + +/*********************************************************************** + * Functions - Win32 + */ + +MMRESULT WINAPI acmDriverAddA( + PHACMDRIVERID phadid, HINSTANCE hinstModule, + LPARAM lParam, DWORD dwPriority, DWORD fdwAdd +); +MMRESULT WINAPI acmDriverAddW( + PHACMDRIVERID phadid, HINSTANCE hinstModule, + LPARAM lParam, DWORD dwPriority, DWORD fdwAdd +); +#define acmDriverAdd WINELIB_NAME_AW(acmDriverAdd) + +MMRESULT WINAPI acmDriverClose( + HACMDRIVER had, DWORD fdwClose +); +MMRESULT WINAPI acmDriverDetailsA( + HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, DWORD fdwDetails +); +MMRESULT WINAPI acmDriverDetailsW( + HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, DWORD fdwDetails +); +#define acmDriverDetails WINELIB_NAME_AW(acmDriverDetails) + +MMRESULT WINAPI acmDriverEnum( + ACMDRIVERENUMCB fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +MMRESULT WINAPI acmDriverID( + HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID +); +LRESULT WINAPI acmDriverMessage( + HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARAM lParam2 +); +MMRESULT WINAPI acmDriverOpen( + PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpen +); +MMRESULT WINAPI acmDriverPriority( + HACMDRIVERID hadid, DWORD dwPriority, DWORD fdwPriority +); +MMRESULT WINAPI acmDriverRemove( + HACMDRIVERID hadid, DWORD fdwRemove +); +MMRESULT WINAPI acmFilterChooseA( + PACMFILTERCHOOSEA pafltrc +); +MMRESULT WINAPI acmFilterChooseW( + PACMFILTERCHOOSEW pafltrc +); +#define acmFilterChoose WINELIB_NAME_AW(acmFilterChoose) + +MMRESULT WINAPI acmFilterDetailsA( + HACMDRIVER had, PACMFILTERDETAILSA pafd, DWORD fdwDetails +); +MMRESULT WINAPI acmFilterDetailsW( + HACMDRIVER had, PACMFILTERDETAILSW pafd, DWORD fdwDetails +); +#define acmFilterDetails WINELIB_NAME_AW(acmFilterDetails) + +MMRESULT WINAPI acmFilterEnumA( + HACMDRIVER had, PACMFILTERDETAILSA pafd, + ACMFILTERENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +MMRESULT WINAPI acmFilterEnumW( + HACMDRIVER had, PACMFILTERDETAILSW pafd, + ACMFILTERENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +#define acmFilterEnum WINELIB_NAME_AW(acmFilterEnum) + +MMRESULT WINAPI acmFilterTagDetailsA( + HACMDRIVER had, PACMFILTERTAGDETAILSA paftd, DWORD fdwDetails +); +MMRESULT WINAPI acmFilterTagDetailsW( + HACMDRIVER had, PACMFILTERTAGDETAILSW paftd, DWORD fdwDetails +); +#define acmFilterTagDetails WINELIB_NAME_AW(acmFilterTagDetails) + +MMRESULT WINAPI acmFilterTagEnumA( + HACMDRIVER had, PACMFILTERTAGDETAILSA paftd, + ACMFILTERTAGENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +MMRESULT WINAPI acmFilterTagEnumW( + HACMDRIVER had, PACMFILTERTAGDETAILSW paftd, + ACMFILTERTAGENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +#define acmFilterTagEnum WINELIB_NAME_AW(acmFilterTagEnum) + +MMRESULT WINAPI acmFormatChooseA( + PACMFORMATCHOOSEA pafmtc +); +MMRESULT WINAPI acmFormatChooseW( + PACMFORMATCHOOSEW pafmtc +); +#define acmFormatChoose WINELIB_NAME_AW(acmFormatChoose) + +MMRESULT WINAPI acmFormatDetailsA( + HACMDRIVER had, PACMFORMATDETAILSA pafd, DWORD fdwDetails +); +MMRESULT WINAPI acmFormatDetailsW( + HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD fdwDetails +); +#define acmFormatDetails WINELIB_NAME_AW(acmFormatDetails) + +MMRESULT WINAPI acmFormatEnumA( + HACMDRIVER had, PACMFORMATDETAILSA pafd, + ACMFORMATENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +MMRESULT WINAPI acmFormatEnumW( + HACMDRIVER had, PACMFORMATDETAILSW pafd, + ACMFORMATENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +#define acmFormatEnum WINELIB_NAME_AW(acmFormatEnum) + +MMRESULT WINAPI acmFormatSuggest( + HACMDRIVER had, PWAVEFORMATEX pwfxSrc, PWAVEFORMATEX pwfxDst, + DWORD cbwfxDst, DWORD fdwSuggest +); +MMRESULT WINAPI acmFormatTagDetailsA( + HACMDRIVER had, PACMFORMATTAGDETAILSA paftd, DWORD fdwDetails +); +MMRESULT WINAPI acmFormatTagDetailsW( + HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, DWORD fdwDetails +); +#define acmFormatTagDetails WINELIB_NAME_AW(acmFormatTagDetails) + +MMRESULT WINAPI acmFormatTagEnumA( + HACMDRIVER had, PACMFORMATTAGDETAILSA paftd, + ACMFORMATTAGENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +MMRESULT WINAPI acmFormatTagEnumW( + HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, + ACMFORMATTAGENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum +); +#define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum) + +DWORD WINAPI acmGetVersion(void +); +MMRESULT WINAPI acmMetrics( + HACMOBJ hao, UINT uMetric, LPVOID pMetric +); +MMRESULT WINAPI acmStreamClose( + HACMSTREAM has, DWORD fdwClose +); +MMRESULT WINAPI acmStreamConvert( + HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert +); +MMRESULT WINAPI acmStreamMessage( + HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2 +); +MMRESULT WINAPI acmStreamOpen( + PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc, + PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD_PTR dwCallback, + DWORD_PTR dwInstance, DWORD fdwOpen +); +MMRESULT WINAPI acmStreamPrepareHeader( + HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare +); +MMRESULT WINAPI acmStreamReset( + HACMSTREAM has, DWORD fdwReset +); +MMRESULT WINAPI acmStreamSize( + HACMSTREAM has, DWORD cbInput, + LPDWORD pdwOutputBytes, DWORD fdwSize +); +MMRESULT WINAPI acmStreamUnprepareHeader( + HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare +); + +#include + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_MSACM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacmdlg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacmdlg.h new file mode 100644 index 0000000..d58b107 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacmdlg.h @@ -0,0 +1,36 @@ +/* + * definitions for MSACM dialog boxes + * + * Copyright (C) 2001 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define DLG_ACMFORMATCHOOSE_ID 70 +#define IDD_ACMFORMATCHOOSE_BTN_HELP 9 +#define IDD_ACMFORMATCHOOSE_CMB_CUSTOM 100 +#define IDD_ACMFORMATCHOOSE_CMB_FORMATTAG 101 +#define IDD_ACMFORMATCHOOSE_CMB_FORMAT 102 +#define IDD_ACMFORMATCHOOSE_BTN_SETNAME 103 +#define IDD_ACMFORMATCHOOSE_BTN_DELNAME 104 + +#define DLG_ACMFILTERCHOOSE_ID 71 +#define IDD_ACMFILTERCHOOSE_BTN_HELP 9 +#define IDD_ACMFILTERCHOOSE_CMB_CUSTOM 100 +#define IDD_ACMFILTERCHOOSE_CMB_FILTERTAG 101 +#define IDD_ACMFILTERCHOOSE_CMB_FILTER 102 +#define IDD_ACMFILTERCHOOSE_BTN_SETNAME 103 +#define IDD_ACMFILTERCHOOSE_BTN_DELNAME 104 + diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacmdrv.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacmdrv.h new file mode 100644 index 0000000..09249fc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msacmdrv.h @@ -0,0 +1,160 @@ +/* + * Declarations for MSACM driver + * + * Copyright 1998 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSACMDRV_H +#define __WINE_MSACMDRV_H + +#include + +#include +#include +#include +#include +#include + +/*********************************************************************** + * Types + */ + +/*********************************************************************** + * Defines/Enums + */ + +#define MAKE_ACM_VERSION(mjr, mnr, bld) \ + (((LONG)(mjr)<<24) | ((LONG)(mnr)<<16) | ((LONG)bld)) + +#define ACMDRVOPENDESC_SECTIONNAME_CHARS + +#define ACMDM_DRIVER_NOTIFY (ACMDM_BASE + 1) +#define ACMDM_DRIVER_DETAILS (ACMDM_BASE + 10) +#define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11) + +#define ACMDM_HARDWARE_WAVE_CAPS_INPUT (ACMDM_BASE + 20) +#define ACMDM_HARDWARE_WAVE_CAPS_OUTPUT (ACMDM_BASE + 21) + +#define ACMDM_FORMATTAG_DETAILS (ACMDM_BASE + 25) +#define ACMDM_FORMAT_DETAILS (ACMDM_BASE + 26) +#define ACMDM_FORMAT_SUGGEST (ACMDM_BASE + 27) + +#define ACMDM_FILTERTAG_DETAILS (ACMDM_BASE + 50) +#define ACMDM_FILTER_DETAILS (ACMDM_BASE + 51) + +#define ACMDM_STREAM_OPEN (ACMDM_BASE + 76) +#define ACMDM_STREAM_CLOSE (ACMDM_BASE + 77) +#define ACMDM_STREAM_SIZE (ACMDM_BASE + 78) +#define ACMDM_STREAM_CONVERT (ACMDM_BASE + 79) +#define ACMDM_STREAM_RESET (ACMDM_BASE + 80) +#define ACMDM_STREAM_PREPARE (ACMDM_BASE + 81) +#define ACMDM_STREAM_UNPREPARE (ACMDM_BASE + 82) +#define ACMDM_STREAM_UPDATE (ACMDM_BASE + 83) + +/*********************************************************************** + * Structures + */ + +typedef struct _ACMDRVOPENDESCA +{ + DWORD cbStruct; + FOURCC fccType; + FOURCC fccComp; + DWORD dwVersion; + DWORD dwFlags; + DWORD dwError; + LPCSTR pszSectionName; + LPCSTR pszAliasName; + DWORD dnDevNode; +} ACMDRVOPENDESCA, *PACMDRVOPENDESCA; + +typedef struct _ACMDRVOPENDESCW +{ + DWORD cbStruct; + FOURCC fccType; + FOURCC fccComp; + DWORD dwVersion; + DWORD dwFlags; + DWORD dwError; + LPCWSTR pszSectionName; + LPCWSTR pszAliasName; + DWORD dnDevNode; +} ACMDRVOPENDESCW, *PACMDRVOPENDESCW; + +typedef struct _ACMDRVSTREAMINSTANCE +{ + DWORD cbStruct; + PWAVEFORMATEX pwfxSrc; + PWAVEFORMATEX pwfxDst; + PWAVEFILTER pwfltr; + DWORD_PTR dwCallback; + DWORD_PTR dwInstance; + DWORD fdwOpen; + DWORD fdwDriver; + DWORD_PTR dwDriver; + HACMSTREAM has; +} ACMDRVSTREAMINSTANCE, *PACMDRVSTREAMINSTANCE; + +typedef struct _ACMDRVSTREAMHEADER *PACMDRVSTREAMHEADER; +#include +typedef struct _ACMDRVSTREAMHEADER { + DWORD cbStruct; + DWORD fdwStatus; + DWORD_PTR dwUser; + LPBYTE pbSrc; + DWORD cbSrcLength; + DWORD cbSrcLengthUsed; + DWORD_PTR dwSrcUser; + LPBYTE pbDst; + DWORD cbDstLength; + DWORD cbDstLengthUsed; + DWORD_PTR dwDstUser; + + DWORD fdwConvert; + PACMDRVSTREAMHEADER *padshNext; + DWORD fdwDriver; + DWORD_PTR dwDriver; + + /* Internal fields for ACM */ + DWORD fdwPrepared; + DWORD_PTR dwPrepared; + LPBYTE pbPreparedSrc; + DWORD cbPreparedSrcLength; + LPBYTE pbPreparedDst; + DWORD cbPreparedDstLength; +} ACMDRVSTREAMHEADER; +#include + +typedef struct _ACMDRVSTREAMSIZE +{ + DWORD cbStruct; + DWORD fdwSize; + DWORD cbSrcLength; + DWORD cbDstLength; +} ACMDRVSTREAMSIZE, *PACMDRVSTREAMSIZE; + +typedef struct _ACMDRVFORMATSUGGEST +{ + DWORD cbStruct; + DWORD fdwSuggest; + PWAVEFORMATEX pwfxSrc; + DWORD cbwfxSrc; + PWAVEFORMATEX pwfxDst; + DWORD cbwfxDst; +} ACMDRVFORMATSUGGEST, *PACMDRVFORMATSUGGEST; + +#endif /* __WINE_MSACMDRV_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msasn1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msasn1.h new file mode 100644 index 0000000..89a6255 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msasn1.h @@ -0,0 +1,290 @@ +/* + * Copyright (C) 2015 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __MS_ASN1_H__ +#define __MS_ASN1_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef char ASN1char_t; +typedef signed char ASN1int8_t; +typedef unsigned char ASN1uint8_t; +typedef unsigned short ASN1uint16_t; +typedef signed short ASN1int16_t; +typedef ULONG ASN1uint32_t; +typedef LONG ASN1int32_t; + +typedef ASN1uint16_t ASN1char16_t; +typedef ASN1uint32_t ASN1char32_t; + +typedef ASN1char_t *ASN1ztcharstring_t; +typedef ASN1char16_t *ASN1ztchar16string_t; +typedef ASN1char32_t *ASN1ztchar32string_t; +typedef ASN1int32_t ASN1enum_t; +typedef ASN1uint8_t ASN1octet_t; +typedef ASN1uint8_t ASN1bool_t; +typedef ASN1uint16_t ASN1choice_t; +typedef ASN1uint32_t ASN1magic_t; +typedef ASN1ztcharstring_t ASN1objectdescriptor_t; + +typedef void (WINAPI *ASN1FreeFun_t)(void *data); +typedef void (WINAPI *ASN1GenericFun_t)(void); + +typedef struct ASN1encoding_s *ASN1encoding_t; +typedef struct ASN1decoding_s *ASN1decoding_t; +typedef ASN1int32_t (WINAPI *ASN1PerEncFun_t)(ASN1encoding_t enc,void *data); +typedef ASN1int32_t (WINAPI *ASN1PerDecFun_t)(ASN1decoding_t enc,void *data); + +typedef struct tagASN1PerFunArr_t { + const ASN1PerEncFun_t *apfnEncoder; + const ASN1PerDecFun_t *apfnDecoder; +} ASN1PerFunArr_t; + +typedef ASN1int32_t (WINAPI *ASN1BerEncFun_t)(ASN1encoding_t enc,ASN1uint32_t tag,void *data); +typedef ASN1int32_t (WINAPI *ASN1BerDecFun_t)(ASN1decoding_t enc,ASN1uint32_t tag,void *data); + +typedef struct tagASN1BerFunArr_t { + const ASN1BerEncFun_t *apfnEncoder; + const ASN1BerDecFun_t *apfnDecoder; +} ASN1BerFunArr_t; + +typedef struct tagASN1bitstring_t +{ + ASN1uint32_t length; + ASN1octet_t *value; +} ASN1bitstring_t; + +typedef enum tagASN1blocktype_e +{ + ASN1_DER_SET_OF_BLOCK, +} ASN1blocktype_e; + +typedef struct tagASN1charstring_t +{ + ASN1uint32_t length; + ASN1char_t *value; +} ASN1charstring_t; + +typedef struct tagASN1char16string_t +{ + ASN1uint32_t length; + ASN1char16_t *value; +} ASN1char16string_t; + +typedef struct tagASN1char32string_t +{ + ASN1uint32_t length; + ASN1char32_t *value; +} ASN1char32string_t; + +typedef struct tagASN1encodedOID_t +{ + ASN1uint16_t length; + ASN1octet_t *value; +} ASN1encodedOID_t; + +typedef enum { + ASN1_PER_RULE_ALIGNED = 0x0001,ASN1_PER_RULE_UNALIGNED = 0x0002,ASN1_PER_RULE = ASN1_PER_RULE_ALIGNED | ASN1_PER_RULE_UNALIGNED, + ASN1_BER_RULE_BER = 0x0100,ASN1_BER_RULE_CER = 0x0200,ASN1_BER_RULE_DER = 0x0400, + ASN1_BER_RULE = ASN1_BER_RULE_BER | ASN1_BER_RULE_CER | ASN1_BER_RULE_DER +} ASN1encodingrule_e; + +typedef enum tagASN1error_e +{ + ASN1_SUCCESS = 0, + ASN1_ERR_INTERNAL = -1001, + ASN1_ERR_EOD = -1002, + ASN1_ERR_CORRUPT = -1003, + ASN1_ERR_LARGE = -1004, + ASN1_ERR_CONSTRAINT = -1005, + ASN1_ERR_MEMORY = -1006, + ASN1_ERR_OVERFLOW = -1007, + ASN1_ERR_BADPDU = -1008, + ASN1_ERR_BADARGS = -1009, + ASN1_ERR_BADREAL = -1010, + ASN1_ERR_BADTAG = -1011, + ASN1_ERR_CHOICE = -1012, + ASN1_ERR_RULE = -1013, + ASN1_ERR_UTF8 = -1014, + ASN1_ERR_PDU_TYPE = -1051, + ASN1_ERR_NYI = -1052, + ASN1_WRN_EXTENDED = 1001, + ASN1_WRN_NOEOD = 1002, +} ASN1error_e; + +typedef struct tagASN1generalizedtime_t +{ + ASN1uint16_t year; + ASN1uint8_t month; + ASN1uint8_t day; + ASN1uint8_t hour; + ASN1uint8_t minute; + ASN1uint8_t second; + ASN1uint16_t millisecond; + ASN1bool_t universal; + ASN1int16_t diff; +} ASN1generalizedtime_t; + +typedef struct tagASN1intx_t +{ + ASN1uint32_t length; + ASN1octet_t *value; +} ASN1intx_t; + +typedef struct tagASN1module_t { + ASN1magic_t nModuleName; + ASN1encodingrule_e eRule; + ASN1uint32_t dwFlags; + ASN1uint32_t cPDUs; + const ASN1FreeFun_t *apfnFreeMemory; + const ASN1uint32_t *acbStructSize; + union { + ASN1PerFunArr_t PER; + ASN1BerFunArr_t BER; + }; +} *ASN1module_t; + +typedef struct ASN1objectidentifier_s +{ + struct ASN1objectidentifier_s *next; + ASN1uint32_t value; +} *ASN1objectidentifier_t; + +typedef struct tagASN1objectidentifier2_t +{ + ASN1uint16_t count; + ASN1uint32_t value[16]; +} ASN1objectidentifier2_t; + +typedef struct tagASN1octetstring_t +{ + ASN1uint32_t length; + ASN1octet_t *value; +} ASN1octetstring_t; + +typedef struct tagASN1open_t +{ + ASN1uint32_t length; + union + { + void *encoded; + void *value; + }; +} ASN1open_t; + +typedef enum tagASN1option_e +{ + ASN1OPT_CHANGE_RULE = 0x101, + ASN1OPT_GET_RULE = 0x201, + ASN1OPT_NOT_REUSE_BUFFER = 0x301, + ASN1OPT_REWIND_BUFFER = 0x302, + ASN1OPT_SET_DECODED_BUFFER = 0x501, + ASN1OPT_DEL_DECODED_BUFFER = 0x502, + ASN1OPT_GET_DECODED_BUFFER_SIZE = 0x601, +} ASN1option_e; + +typedef struct tagASN1optionparam_t { + ASN1option_e eOption; + union + { + ASN1encodingrule_e eRule; + ASN1uint32_t cbRequiredDecodedBufSize; + struct + { + ASN1octet_t* pbBuf; + ASN1uint32_t cbBufSize; + } Buffer; + }; +} ASN1optionparam_t, ASN1optionparam_s; + +typedef struct tagASN1utctime_t +{ + ASN1uint8_t year; + ASN1uint8_t month; + ASN1uint8_t day; + ASN1uint8_t hour; + ASN1uint8_t minute; + ASN1uint8_t second; + ASN1bool_t universal; + ASN1int16_t diff; +} ASN1utctime_t; + +typedef struct tagASN1wstring_t +{ + ASN1uint32_t length; + WCHAR *value; +} ASN1wstring_t; + +void WINAPI ASN1_CloseDecoder(ASN1decoding_t); +void WINAPI ASN1_CloseEncoder(ASN1encoding_t); +void WINAPI ASN1_CloseEncoder2(ASN1encoding_t); +void WINAPI ASN1_CloseModule(ASN1module_t); +ASN1error_e WINAPI ASN1_CreateDecoder(ASN1module_t, ASN1decoding_t*,ASN1octet_t*, ASN1uint32_t, ASN1decoding_t); +ASN1error_e WINAPI ASN1_CreateEncoder(ASN1module_t, ASN1encoding_t*, ASN1octet_t*, ASN1uint32_t, ASN1encoding_t); +ASN1module_t WINAPI ASN1_CreateModule(ASN1uint32_t,ASN1encodingrule_e,ASN1uint32_t,ASN1uint32_t,const ASN1GenericFun_t [],const ASN1GenericFun_t [],const ASN1FreeFun_t [],const ASN1uint32_t [],ASN1magic_t); +ASN1error_e WINAPI ASN1_Decode(ASN1decoding_t, void** , ASN1uint32_t, ASN1uint32_t, ASN1octet_t*, ASN1uint32_t); +ASN1error_e WINAPI ASN1_Encode(ASN1encoding_t, void*, ASN1uint32_t, ASN1uint32_t, ASN1octet_t*, ASN1uint32_t); +void WINAPI ASN1_FreeDecoded(ASN1decoding_t, void*, ASN1uint32_t); +void WINAPI ASN1_FreeEncoded(ASN1encoding_t, void*); +ASN1error_e WINAPI ASN1_GetDecoderOption(ASN1decoding_t, ASN1optionparam_t*); +ASN1error_e WINAPI ASN1_GetEncoderOption(ASN1encoding_t, ASN1optionparam_t*); +ASN1error_e WINAPI ASN1_SetDecoderOption(ASN1decoding_t, ASN1optionparam_t*); +ASN1error_e WINAPI ASN1_SetEncoderOption(ASN1encoding_t, ASN1optionparam_t*); +int WINAPI ASN1bitstring_cmp(ASN1bitstring_t*,ASN1bitstring_t*); +void WINAPI ASN1bitstring_free(ASN1bitstring_t*); +int WINAPI ASN1char16string_cmp(ASN1char16string_t*,ASN1char16string_t*); +void WINAPI ASN1char16string_free(ASN1char16string_t*); +int WINAPI ASN1char32string_cmp(ASN1char32string_t*,ASN1char32string_t*); +void WINAPI ASN1char32string_free(ASN1char32string_t*); +int WINAPI ASN1charstring_cmp(ASN1charstring_t*,ASN1charstring_t*); +void WINAPI ASN1charstring_free(ASN1charstring_t*); +LPVOID WINAPI ASN1DecAlloc(ASN1decoding_t,ASN1uint32_t); +LPVOID WINAPI ASN1DecRealloc(ASN1decoding_t,LPVOID,ASN1uint32_t); +ASN1error_e WINAPI ASN1DecSetError(ASN1decoding_t,ASN1error_e); +ASN1error_e WINAPI ASN1EncSetError(ASN1encoding_t,ASN1error_e); +void WINAPI ASN1Free(LPVOID); +int WINAPI ASN1generalizedtime_cmp(ASN1generalizedtime_t*,ASN1generalizedtime_t*); +int WINAPI ASN1intx_cmp(ASN1intx_t*,ASN1intx_t*); +void WINAPI ASN1intx_free(ASN1intx_t*); +void WINAPI ASN1intx_setuint32(ASN1intx_t*,ASN1uint32_t); +ASN1uint32_t WINAPI ASN1intx_uoctets(ASN1intx_t*); +ASN1int32_t WINAPI ASN1intx2int32(ASN1intx_t*); +ASN1uint32_t WINAPI ASN1intx2uint32(ASN1intx_t*); +int WINAPI ASN1intxisuint32(ASN1intx_t*); +int WINAPI ASN1objectidentifier_cmp(ASN1objectidentifier_t*,ASN1objectidentifier_t*); +void WINAPI ASN1objectidentifier_free(ASN1objectidentifier_t*); +int WINAPI ASN1objectidentifier2_cmp(ASN1objectidentifier2_t*,ASN1objectidentifier2_t*); +int WINAPI ASN1octetstring_cmp(ASN1octetstring_t*,ASN1octetstring_t*); +void WINAPI ASN1octetstring_free(ASN1octetstring_t*); +int WINAPI ASN1open_cmp(ASN1open_t*,ASN1open_t*); +void WINAPI ASN1open_free(ASN1open_t*); +ASN1uint32_t WINAPI ASN1uint32_uoctets(ASN1uint32_t); +void WINAPI ASN1utf8string_free(ASN1wstring_t*); +int WINAPI ASN1utctime_cmp(ASN1utctime_t*,ASN1utctime_t*); +int WINAPI ASN1ztchar16string_cmp(ASN1ztchar16string_t*,ASN1ztchar16string_t*); +void WINAPI ASN1ztchar16string_free(ASN1ztchar16string_t*); +void WINAPI ASN1ztchar32string_free(ASN1ztchar32string_t*); +int WINAPI ASN1ztcharstring_cmp(ASN1ztcharstring_t*,ASN1ztcharstring_t*); +void WINAPI ASN1ztcharstring_free(ASN1charstring_t*); + +#ifdef __cplusplus +} +#endif + +#endif /* __MS_ASN1_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscat.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscat.h new file mode 100644 index 0000000..7c5c86b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscat.h @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2004 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSCAT_H +#define __WINE_MSCAT_H + +#include + +typedef HANDLE HCATADMIN; +typedef HANDLE HCATINFO; + +#ifdef __cplusplus +extern "C" { +#endif + +#define CRYPTCAT_OPEN_CREATENEW 0x00000001 +#define CRYPTCAT_OPEN_ALWAYS 0x00000002 +#define CRYPTCAT_OPEN_EXISTING 0x00000004 +#define CRYPTCAT_OPEN_EXCLUDE_PAGE_HASHES 0x00010000 +#define CRYPTCAT_OPEN_INCLUDE_PAGE_HASHES 0x00020000 +#define CRYPTCAT_OPEN_VERIFYSIGHASH 0x10000000 +#define CRYPTCAT_OPEN_NO_CONTENT_HCRYPTMSG 0x20000000 +#define CRYPTCAT_OPEN_SORTED 0x40000000 +#define CRYPTCAT_OPEN_FLAGS_MASK 0xffff0000 + +#define CRYPTCAT_E_AREA_HEADER 0x00000000 +#define CRYPTCAT_E_AREA_MEMBER 0x00010000 +#define CRYPTCAT_E_AREA_ATTRIBUTE 0x00020000 + +#define CRYPTCAT_E_CDF_UNSUPPORTED 0x00000001 +#define CRYPTCAT_E_CDF_DUPLICATE 0x00000002 +#define CRYPTCAT_E_CDF_TAGNOTFOUND 0x00000004 + +#define CRYPTCAT_E_CDF_MEMBER_FILE_PATH 0x00010001 +#define CRYPTCAT_E_CDF_MEMBER_INDIRECTDATA 0x00010002 +#define CRYPTCAT_E_CDF_MEMBER_FILENOTFOUND 0x00010004 + +#define CRYPTCAT_E_CDF_BAD_GUID_CONV 0x00020001 +#define CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES 0x00020002 +#define CRYPTCAT_E_CDF_ATTR_TYPECOMBO 0x00020004 + +#include + +typedef struct CRYPTCATATTRIBUTE_ +{ + DWORD cbStruct; + LPWSTR pwszReferenceTag; + DWORD dwAttrTypeAndAction; + DWORD cbValue; + BYTE *pbValue; + DWORD dwReserved; +} CRYPTCATATTRIBUTE; + +typedef struct CRYPTCATMEMBER_ +{ + DWORD cbStruct; + LPWSTR pwszReferenceTag; + LPWSTR pwszFileName; + GUID gSubjectType; + DWORD fdwMemberFlags; + struct SIP_INDIRECT_DATA_* pIndirectData; + DWORD dwCertVersion; + DWORD dwReserved; + HANDLE hReserved; + CRYPT_ATTR_BLOB sEncodedIndirectData; + CRYPT_ATTR_BLOB sEncodedMemberInfo; +} CRYPTCATMEMBER; + +typedef struct CATALOG_INFO_ +{ + DWORD cbStruct; + WCHAR wszCatalogFile[MAX_PATH]; +} CATALOG_INFO; + +typedef struct CRYPTCATCDF_ +{ + DWORD cbStruct; + HANDLE hFile; + DWORD dwCurFilePos; + DWORD dwLastMemberOffset; + BOOL fEOF; + LPWSTR pwszResultDir; + HANDLE hCATStore; +} CRYPTCATCDF; + +#include + +typedef void (WINAPI *PFN_CDF_PARSE_ERROR_CALLBACK)(DWORD, DWORD, WCHAR *); + +BOOL WINAPI CryptCATAdminAcquireContext(HCATADMIN*,const GUID*,DWORD); +HCATINFO WINAPI CryptCATAdminAddCatalog(HCATADMIN,PWSTR,PWSTR,DWORD); +BOOL WINAPI CryptCATAdminCalcHashFromFileHandle(HANDLE,DWORD*,BYTE*,DWORD); +HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash(HCATADMIN,BYTE*,DWORD,DWORD,HCATINFO*); +BOOL WINAPI CryptCATAdminReleaseCatalogContext(HCATADMIN,HCATINFO,DWORD); +BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN,DWORD); +BOOL WINAPI CryptCATAdminRemoveCatalog(HCATADMIN,LPCWSTR,DWORD); +BOOL WINAPI CryptCATAdminResolveCatalogPath(HCATADMIN, WCHAR *, CATALOG_INFO *, DWORD); +BOOL WINAPI CryptCATCatalogInfoFromContext(HCATINFO, CATALOG_INFO *, DWORD); +BOOL WINAPI CryptCATCDFClose(CRYPTCATCDF *); +CRYPTCATATTRIBUTE * WINAPI CryptCATCDFEnumCatAttributes(CRYPTCATCDF *, CRYPTCATATTRIBUTE *, + PFN_CDF_PARSE_ERROR_CALLBACK); +LPWSTR WINAPI CryptCATCDFEnumMembersByCDFTagEx(CRYPTCATCDF *, LPWSTR, + PFN_CDF_PARSE_ERROR_CALLBACK, + CRYPTCATMEMBER **, BOOL, LPVOID); +CRYPTCATCDF * WINAPI CryptCATCDFOpen(LPWSTR, PFN_CDF_PARSE_ERROR_CALLBACK); +BOOL WINAPI CryptCATClose(HANDLE); +CRYPTCATATTRIBUTE * WINAPI CryptCATEnumerateAttr(HANDLE, CRYPTCATMEMBER *, CRYPTCATATTRIBUTE *); +CRYPTCATATTRIBUTE * WINAPI CryptCATEnumerateCatAttr(HANDLE, CRYPTCATATTRIBUTE *); +CRYPTCATMEMBER * WINAPI CryptCATEnumerateMember(HANDLE,CRYPTCATMEMBER *); +CRYPTCATATTRIBUTE * WINAPI CryptCATGetAttrInfo(HANDLE, CRYPTCATMEMBER *, LPWSTR); +CRYPTCATATTRIBUTE * WINAPI CryptCATGetCatAttrInfo(HANDLE, LPWSTR); +CRYPTCATMEMBER * WINAPI CryptCATGetMemberInfo(HANDLE, LPWSTR); +HANDLE WINAPI CryptCATOpen(LPWSTR,DWORD,HCRYPTPROV,DWORD,DWORD); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscoree.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscoree.h new file mode 100644 index 0000000..634c2c1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscoree.h @@ -0,0 +1,1267 @@ +/*** Autogenerated by WIDL 2.18 from mscoree.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mscoree_h__ +#define __mscoree_h__ + +/* Forward declarations */ + +#ifndef __IGCThreadControl_FWD_DEFINED__ +#define __IGCThreadControl_FWD_DEFINED__ +typedef interface IGCThreadControl IGCThreadControl; +#ifdef __cplusplus +interface IGCThreadControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IGCHostControl_FWD_DEFINED__ +#define __IGCHostControl_FWD_DEFINED__ +typedef interface IGCHostControl IGCHostControl; +#ifdef __cplusplus +interface IGCHostControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IDebuggerThreadControl_FWD_DEFINED__ +#define __IDebuggerThreadControl_FWD_DEFINED__ +typedef interface IDebuggerThreadControl IDebuggerThreadControl; +#ifdef __cplusplus +interface IDebuggerThreadControl; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorConfiguration_FWD_DEFINED__ +#define __ICorConfiguration_FWD_DEFINED__ +typedef interface ICorConfiguration ICorConfiguration; +#ifdef __cplusplus +interface ICorConfiguration; +#endif /* __cplusplus */ +#endif + +#ifndef __ICLRControl_FWD_DEFINED__ +#define __ICLRControl_FWD_DEFINED__ +typedef interface ICLRControl ICLRControl; +#ifdef __cplusplus +interface ICLRControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IHostControl_FWD_DEFINED__ +#define __IHostControl_FWD_DEFINED__ +typedef interface IHostControl IHostControl; +#ifdef __cplusplus +interface IHostControl; +#endif /* __cplusplus */ +#endif + +#ifndef __ICorRuntimeHost_FWD_DEFINED__ +#define __ICorRuntimeHost_FWD_DEFINED__ +typedef interface ICorRuntimeHost ICorRuntimeHost; +#ifdef __cplusplus +interface ICorRuntimeHost; +#endif /* __cplusplus */ +#endif + +#ifndef __ICLRRuntimeHost_FWD_DEFINED__ +#define __ICLRRuntimeHost_FWD_DEFINED__ +typedef interface ICLRRuntimeHost ICLRRuntimeHost; +#ifdef __cplusplus +interface ICLRRuntimeHost; +#endif /* __cplusplus */ +#endif + +#ifndef __IManagedObject_FWD_DEFINED__ +#define __IManagedObject_FWD_DEFINED__ +typedef interface IManagedObject IManagedObject; +#ifdef __cplusplus +interface IManagedObject; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* FIXME: #include */ +/* FIXME: #include */ +HRESULT WINAPI CorBindToRuntimeHost(LPCWSTR,LPCWSTR,LPCWSTR,VOID*,DWORD,REFCLSID,REFIID,LPVOID*); +void WINAPI CorExitProcess(int); +HRESULT WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*); +HRESULT WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*); +HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*); +HRESULT WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*); +#ifdef WINE_STRICT_PROTOTYPES +typedef HRESULT (__stdcall *FLockClrVersionCallback)(void); +#else +typedef HRESULT (__stdcall *FLockClrVersionCallback)(); +#endif +HRESULT WINAPI LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*); +typedef void *HDOMAINENUM; +typedef enum RUNTIME_INFO_FLAGS { + RUNTIME_INFO_UPGRADE_VERSION = 0x1, + RUNTIME_INFO_REQUEST_IA64 = 0x2, + RUNTIME_INFO_REQUEST_AMD64 = 0x4, + RUNTIME_INFO_REQUEST_X86 = 0x8, + RUNTIME_INFO_DONT_RETURN_DIRECTORY = 0x10, + RUNTIME_INFO_DONT_RETURN_VERSION = 0x20, + RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG = 0x40 +} RUNTIME_INFO_FLAGS; +typedef HRESULT (__stdcall *FExecuteInAppDomainCallback)(void *cookie); +/***************************************************************************** + * IGCThreadControl interface + */ +#ifndef __IGCThreadControl_INTERFACE_DEFINED__ +#define __IGCThreadControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGCThreadControl, 0xf31d1788, 0xc397, 0x4725, 0x87,0xa5, 0x6a,0xf3,0x47,0x2c,0x27,0x91); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f31d1788-c397-4725-87a5-6af3472c2791") +IGCThreadControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForSuspension( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SuspensionStarting( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SuspensionEnding( + DWORD generation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGCThreadControl, 0xf31d1788, 0xc397, 0x4725, 0x87,0xa5, 0x6a,0xf3,0x47,0x2c,0x27,0x91) +#endif +#else +typedef struct IGCThreadControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGCThreadControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGCThreadControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGCThreadControl *This); + + /*** IGCThreadControl methods ***/ + HRESULT (STDMETHODCALLTYPE *ThreadIsBlockingForSuspension)( + IGCThreadControl *This); + + HRESULT (STDMETHODCALLTYPE *SuspensionStarting)( + IGCThreadControl *This); + + HRESULT (STDMETHODCALLTYPE *SuspensionEnding)( + IGCThreadControl *This, + DWORD generation); + + END_INTERFACE +} IGCThreadControlVtbl; + +interface IGCThreadControl { + CONST_VTBL IGCThreadControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGCThreadControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGCThreadControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGCThreadControl_Release(This) (This)->lpVtbl->Release(This) +/*** IGCThreadControl methods ***/ +#define IGCThreadControl_ThreadIsBlockingForSuspension(This) (This)->lpVtbl->ThreadIsBlockingForSuspension(This) +#define IGCThreadControl_SuspensionStarting(This) (This)->lpVtbl->SuspensionStarting(This) +#define IGCThreadControl_SuspensionEnding(This,generation) (This)->lpVtbl->SuspensionEnding(This,generation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGCThreadControl_QueryInterface(IGCThreadControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGCThreadControl_AddRef(IGCThreadControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGCThreadControl_Release(IGCThreadControl* This) { + return This->lpVtbl->Release(This); +} +/*** IGCThreadControl methods ***/ +static FORCEINLINE HRESULT IGCThreadControl_ThreadIsBlockingForSuspension(IGCThreadControl* This) { + return This->lpVtbl->ThreadIsBlockingForSuspension(This); +} +static FORCEINLINE HRESULT IGCThreadControl_SuspensionStarting(IGCThreadControl* This) { + return This->lpVtbl->SuspensionStarting(This); +} +static FORCEINLINE HRESULT IGCThreadControl_SuspensionEnding(IGCThreadControl* This,DWORD generation) { + return This->lpVtbl->SuspensionEnding(This,generation); +} +#endif +#endif + +#endif + + +#endif /* __IGCThreadControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGCHostControl interface + */ +#ifndef __IGCHostControl_INTERFACE_DEFINED__ +#define __IGCHostControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGCHostControl, 0x5513d564, 0x8374, 0x4cb9, 0xae,0xd9, 0x00,0x83,0xf4,0x16,0x0a,0x1d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5513d564-8374-4cb9-aed9-0083f4160a1d") +IGCHostControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RequestVirtualMemLimit( + SIZE_T nMaxVirtualMemMB, + SIZE_T *nNewMaxVirtualMemMB) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGCHostControl, 0x5513d564, 0x8374, 0x4cb9, 0xae,0xd9, 0x00,0x83,0xf4,0x16,0x0a,0x1d) +#endif +#else +typedef struct IGCHostControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGCHostControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGCHostControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGCHostControl *This); + + /*** IGCHostControl methods ***/ + HRESULT (STDMETHODCALLTYPE *RequestVirtualMemLimit)( + IGCHostControl *This, + SIZE_T nMaxVirtualMemMB, + SIZE_T *nNewMaxVirtualMemMB); + + END_INTERFACE +} IGCHostControlVtbl; + +interface IGCHostControl { + CONST_VTBL IGCHostControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGCHostControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGCHostControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGCHostControl_Release(This) (This)->lpVtbl->Release(This) +/*** IGCHostControl methods ***/ +#define IGCHostControl_RequestVirtualMemLimit(This,nMaxVirtualMemMB,nNewMaxVirtualMemMB) (This)->lpVtbl->RequestVirtualMemLimit(This,nMaxVirtualMemMB,nNewMaxVirtualMemMB) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGCHostControl_QueryInterface(IGCHostControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGCHostControl_AddRef(IGCHostControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGCHostControl_Release(IGCHostControl* This) { + return This->lpVtbl->Release(This); +} +/*** IGCHostControl methods ***/ +static FORCEINLINE HRESULT IGCHostControl_RequestVirtualMemLimit(IGCHostControl* This,SIZE_T nMaxVirtualMemMB,SIZE_T *nNewMaxVirtualMemMB) { + return This->lpVtbl->RequestVirtualMemLimit(This,nMaxVirtualMemMB,nNewMaxVirtualMemMB); +} +#endif +#endif + +#endif + + +#endif /* __IGCHostControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDebuggerThreadControl interface + */ +#ifndef __IDebuggerThreadControl_INTERFACE_DEFINED__ +#define __IDebuggerThreadControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDebuggerThreadControl, 0x23d86786, 0x0bb5, 0x4774, 0x8f,0xb5, 0xe3,0x52,0x2a,0xdd,0x62,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("23d86786-0bb5-4774-8fb5-e3522add6246") +IDebuggerThreadControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForDebugger( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseAllRuntimeThreads( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartBlockingForDebugger( + DWORD dwUnused) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDebuggerThreadControl, 0x23d86786, 0x0bb5, 0x4774, 0x8f,0xb5, 0xe3,0x52,0x2a,0xdd,0x62,0x46) +#endif +#else +typedef struct IDebuggerThreadControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDebuggerThreadControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDebuggerThreadControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDebuggerThreadControl *This); + + /*** IDebuggerThreadControl methods ***/ + HRESULT (STDMETHODCALLTYPE *ThreadIsBlockingForDebugger)( + IDebuggerThreadControl *This); + + HRESULT (STDMETHODCALLTYPE *ReleaseAllRuntimeThreads)( + IDebuggerThreadControl *This); + + HRESULT (STDMETHODCALLTYPE *StartBlockingForDebugger)( + IDebuggerThreadControl *This, + DWORD dwUnused); + + END_INTERFACE +} IDebuggerThreadControlVtbl; + +interface IDebuggerThreadControl { + CONST_VTBL IDebuggerThreadControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDebuggerThreadControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDebuggerThreadControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDebuggerThreadControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDebuggerThreadControl methods ***/ +#define IDebuggerThreadControl_ThreadIsBlockingForDebugger(This) (This)->lpVtbl->ThreadIsBlockingForDebugger(This) +#define IDebuggerThreadControl_ReleaseAllRuntimeThreads(This) (This)->lpVtbl->ReleaseAllRuntimeThreads(This) +#define IDebuggerThreadControl_StartBlockingForDebugger(This,dwUnused) (This)->lpVtbl->StartBlockingForDebugger(This,dwUnused) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDebuggerThreadControl_QueryInterface(IDebuggerThreadControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDebuggerThreadControl_AddRef(IDebuggerThreadControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDebuggerThreadControl_Release(IDebuggerThreadControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDebuggerThreadControl methods ***/ +static FORCEINLINE HRESULT IDebuggerThreadControl_ThreadIsBlockingForDebugger(IDebuggerThreadControl* This) { + return This->lpVtbl->ThreadIsBlockingForDebugger(This); +} +static FORCEINLINE HRESULT IDebuggerThreadControl_ReleaseAllRuntimeThreads(IDebuggerThreadControl* This) { + return This->lpVtbl->ReleaseAllRuntimeThreads(This); +} +static FORCEINLINE HRESULT IDebuggerThreadControl_StartBlockingForDebugger(IDebuggerThreadControl* This,DWORD dwUnused) { + return This->lpVtbl->StartBlockingForDebugger(This,dwUnused); +} +#endif +#endif + +#endif + + +#endif /* __IDebuggerThreadControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICorConfiguration interface + */ +#ifndef __ICorConfiguration_INTERFACE_DEFINED__ +#define __ICorConfiguration_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorConfiguration, 0x5c2b07a5, 0x1e98, 0x11d3, 0x87,0x2f, 0x00,0xc0,0x4f,0x79,0xed,0x0d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5c2b07a5-1e98-11d3-872f-00c04f79ed0d") +ICorConfiguration : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetGCThreadControl( + IGCThreadControl *GCThreadControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGCHostControl( + IGCHostControl *GCHostControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDebuggerThreadControl( + IDebuggerThreadControl *debuggerThreadControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddDebuggerSpecialThread( + DWORD specialThreadId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorConfiguration, 0x5c2b07a5, 0x1e98, 0x11d3, 0x87,0x2f, 0x00,0xc0,0x4f,0x79,0xed,0x0d) +#endif +#else +typedef struct ICorConfigurationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorConfiguration *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorConfiguration *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorConfiguration *This); + + /*** ICorConfiguration methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGCThreadControl)( + ICorConfiguration *This, + IGCThreadControl *GCThreadControl); + + HRESULT (STDMETHODCALLTYPE *SetGCHostControl)( + ICorConfiguration *This, + IGCHostControl *GCHostControl); + + HRESULT (STDMETHODCALLTYPE *SetDebuggerThreadControl)( + ICorConfiguration *This, + IDebuggerThreadControl *debuggerThreadControl); + + HRESULT (STDMETHODCALLTYPE *AddDebuggerSpecialThread)( + ICorConfiguration *This, + DWORD specialThreadId); + + END_INTERFACE +} ICorConfigurationVtbl; + +interface ICorConfiguration { + CONST_VTBL ICorConfigurationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorConfiguration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorConfiguration_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorConfiguration_Release(This) (This)->lpVtbl->Release(This) +/*** ICorConfiguration methods ***/ +#define ICorConfiguration_SetGCThreadControl(This,GCThreadControl) (This)->lpVtbl->SetGCThreadControl(This,GCThreadControl) +#define ICorConfiguration_SetGCHostControl(This,GCHostControl) (This)->lpVtbl->SetGCHostControl(This,GCHostControl) +#define ICorConfiguration_SetDebuggerThreadControl(This,debuggerThreadControl) (This)->lpVtbl->SetDebuggerThreadControl(This,debuggerThreadControl) +#define ICorConfiguration_AddDebuggerSpecialThread(This,specialThreadId) (This)->lpVtbl->AddDebuggerSpecialThread(This,specialThreadId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorConfiguration_QueryInterface(ICorConfiguration* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorConfiguration_AddRef(ICorConfiguration* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorConfiguration_Release(ICorConfiguration* This) { + return This->lpVtbl->Release(This); +} +/*** ICorConfiguration methods ***/ +static FORCEINLINE HRESULT ICorConfiguration_SetGCThreadControl(ICorConfiguration* This,IGCThreadControl *GCThreadControl) { + return This->lpVtbl->SetGCThreadControl(This,GCThreadControl); +} +static FORCEINLINE HRESULT ICorConfiguration_SetGCHostControl(ICorConfiguration* This,IGCHostControl *GCHostControl) { + return This->lpVtbl->SetGCHostControl(This,GCHostControl); +} +static FORCEINLINE HRESULT ICorConfiguration_SetDebuggerThreadControl(ICorConfiguration* This,IDebuggerThreadControl *debuggerThreadControl) { + return This->lpVtbl->SetDebuggerThreadControl(This,debuggerThreadControl); +} +static FORCEINLINE HRESULT ICorConfiguration_AddDebuggerSpecialThread(ICorConfiguration* This,DWORD specialThreadId) { + return This->lpVtbl->AddDebuggerSpecialThread(This,specialThreadId); +} +#endif +#endif + +#endif + + +#endif /* __ICorConfiguration_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICLRControl interface + */ +#ifndef __ICLRControl_INTERFACE_DEFINED__ +#define __ICLRControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRControl, 0x9065597e, 0xd1a1, 0x4fb2, 0xb6,0xba, 0x7e,0x1f,0xce,0x23,0x0f,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9065597e-d1a1-4fb2-b6ba-7e1fce230f61") +ICLRControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCLRManager( + REFIID riid, + void **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType( + LPCWSTR appDomainManagerAssembly, + LPCWSTR appDomainManagerType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRControl, 0x9065597e, 0xd1a1, 0x4fb2, 0xb6,0xba, 0x7e,0x1f,0xce,0x23,0x0f,0x61) +#endif +#else +typedef struct ICLRControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRControl *This); + + /*** ICLRControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCLRManager)( + ICLRControl *This, + REFIID riid, + void **ppObject); + + HRESULT (STDMETHODCALLTYPE *SetAppDomainManagerType)( + ICLRControl *This, + LPCWSTR appDomainManagerAssembly, + LPCWSTR appDomainManagerType); + + END_INTERFACE +} ICLRControlVtbl; + +interface ICLRControl { + CONST_VTBL ICLRControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRControl_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRControl methods ***/ +#define ICLRControl_GetCLRManager(This,riid,ppObject) (This)->lpVtbl->GetCLRManager(This,riid,ppObject) +#define ICLRControl_SetAppDomainManagerType(This,appDomainManagerAssembly,appDomainManagerType) (This)->lpVtbl->SetAppDomainManagerType(This,appDomainManagerAssembly,appDomainManagerType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRControl_QueryInterface(ICLRControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRControl_AddRef(ICLRControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRControl_Release(ICLRControl* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRControl methods ***/ +static FORCEINLINE HRESULT ICLRControl_GetCLRManager(ICLRControl* This,REFIID riid,void **ppObject) { + return This->lpVtbl->GetCLRManager(This,riid,ppObject); +} +static FORCEINLINE HRESULT ICLRControl_SetAppDomainManagerType(ICLRControl* This,LPCWSTR appDomainManagerAssembly,LPCWSTR appDomainManagerType) { + return This->lpVtbl->SetAppDomainManagerType(This,appDomainManagerAssembly,appDomainManagerType); +} +#endif +#endif + +#endif + + +#endif /* __ICLRControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHostControl interface + */ +#ifndef __IHostControl_INTERFACE_DEFINED__ +#define __IHostControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHostControl, 0x02ca073c, 0x7079, 0x4860, 0x88,0x0a, 0xc2,0xf7,0xa4,0x49,0xc9,0x91); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("02ca073c-7079-4860-880a-c2f7a449c991") +IHostControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetHostManager( + REFIID riid, + void **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAppDomainManager( + DWORD appDomainID, + IUnknown *appDomainManager) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHostControl, 0x02ca073c, 0x7079, 0x4860, 0x88,0x0a, 0xc2,0xf7,0xa4,0x49,0xc9,0x91) +#endif +#else +typedef struct IHostControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHostControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHostControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHostControl *This); + + /*** IHostControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetHostManager)( + IHostControl *This, + REFIID riid, + void **ppObject); + + HRESULT (STDMETHODCALLTYPE *SetAppDomainManager)( + IHostControl *This, + DWORD appDomainID, + IUnknown *appDomainManager); + + END_INTERFACE +} IHostControlVtbl; + +interface IHostControl { + CONST_VTBL IHostControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHostControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHostControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHostControl_Release(This) (This)->lpVtbl->Release(This) +/*** IHostControl methods ***/ +#define IHostControl_GetHostManager(This,riid,ppObject) (This)->lpVtbl->GetHostManager(This,riid,ppObject) +#define IHostControl_SetAppDomainManager(This,appDomainID,appDomainManager) (This)->lpVtbl->SetAppDomainManager(This,appDomainID,appDomainManager) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHostControl_QueryInterface(IHostControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHostControl_AddRef(IHostControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHostControl_Release(IHostControl* This) { + return This->lpVtbl->Release(This); +} +/*** IHostControl methods ***/ +static FORCEINLINE HRESULT IHostControl_GetHostManager(IHostControl* This,REFIID riid,void **ppObject) { + return This->lpVtbl->GetHostManager(This,riid,ppObject); +} +static FORCEINLINE HRESULT IHostControl_SetAppDomainManager(IHostControl* This,DWORD appDomainID,IUnknown *appDomainManager) { + return This->lpVtbl->SetAppDomainManager(This,appDomainID,appDomainManager); +} +#endif +#endif + +#endif + + +#endif /* __IHostControl_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_CorRuntimeHost, 0xcb2f6723,0xab3a,0x11d2,0x9c,0x40,0x00,0xc0,0x4f,0xa3,0x0a,0x3e); +/***************************************************************************** + * ICorRuntimeHost interface + */ +#ifndef __ICorRuntimeHost_INTERFACE_DEFINED__ +#define __ICorRuntimeHost_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICorRuntimeHost, 0xcb2f6722, 0xab3a, 0x11d2, 0x9c,0x40, 0x00,0xc0,0x4f,0xa3,0x0a,0x3e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cb2f6722-ab3a-11d2-9c40-00c04fa30a3e") +ICorRuntimeHost : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateLogicalThreadState( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteLogicalThreadState( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SwitchInLogicalThreadState( + DWORD *fiberCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE SwitchOutLogicalThreadState( + DWORD **fiberCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE LocksHeldByLogicalThread( + DWORD *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapFile( + HANDLE hFile, + HMODULE *mapAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConfiguration( + ICorConfiguration **pConfiguration) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDomain( + LPCWSTR friendlyName, + IUnknown *identityArray, + IUnknown **appDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultDomain( + IUnknown **pAppDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumDomains( + HDOMAINENUM *hEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE NextDomain( + HDOMAINENUM hEnum, + IUnknown **appDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseEnum( + HDOMAINENUM hEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDomainEx( + LPCWSTR friendlyName, + IUnknown *setup, + IUnknown *evidence, + IUnknown **appDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDomainSetup( + IUnknown **appDomainSetup) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateEvidence( + IUnknown **evidence) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnloadDomain( + IUnknown *appDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE CurrentDomain( + IUnknown **appDomain) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICorRuntimeHost, 0xcb2f6722, 0xab3a, 0x11d2, 0x9c,0x40, 0x00,0xc0,0x4f,0xa3,0x0a,0x3e) +#endif +#else +typedef struct ICorRuntimeHostVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICorRuntimeHost *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICorRuntimeHost *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICorRuntimeHost *This); + + /*** ICorRuntimeHost methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateLogicalThreadState)( + ICorRuntimeHost *This); + + HRESULT (STDMETHODCALLTYPE *DeleteLogicalThreadState)( + ICorRuntimeHost *This); + + HRESULT (STDMETHODCALLTYPE *SwitchInLogicalThreadState)( + ICorRuntimeHost *This, + DWORD *fiberCookie); + + HRESULT (STDMETHODCALLTYPE *SwitchOutLogicalThreadState)( + ICorRuntimeHost *This, + DWORD **fiberCookie); + + HRESULT (STDMETHODCALLTYPE *LocksHeldByLogicalThread)( + ICorRuntimeHost *This, + DWORD *pCount); + + HRESULT (STDMETHODCALLTYPE *MapFile)( + ICorRuntimeHost *This, + HANDLE hFile, + HMODULE *mapAddress); + + HRESULT (STDMETHODCALLTYPE *GetConfiguration)( + ICorRuntimeHost *This, + ICorConfiguration **pConfiguration); + + HRESULT (STDMETHODCALLTYPE *Start)( + ICorRuntimeHost *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + ICorRuntimeHost *This); + + HRESULT (STDMETHODCALLTYPE *CreateDomain)( + ICorRuntimeHost *This, + LPCWSTR friendlyName, + IUnknown *identityArray, + IUnknown **appDomain); + + HRESULT (STDMETHODCALLTYPE *GetDefaultDomain)( + ICorRuntimeHost *This, + IUnknown **pAppDomain); + + HRESULT (STDMETHODCALLTYPE *EnumDomains)( + ICorRuntimeHost *This, + HDOMAINENUM *hEnum); + + HRESULT (STDMETHODCALLTYPE *NextDomain)( + ICorRuntimeHost *This, + HDOMAINENUM hEnum, + IUnknown **appDomain); + + HRESULT (STDMETHODCALLTYPE *CloseEnum)( + ICorRuntimeHost *This, + HDOMAINENUM hEnum); + + HRESULT (STDMETHODCALLTYPE *CreateDomainEx)( + ICorRuntimeHost *This, + LPCWSTR friendlyName, + IUnknown *setup, + IUnknown *evidence, + IUnknown **appDomain); + + HRESULT (STDMETHODCALLTYPE *CreateDomainSetup)( + ICorRuntimeHost *This, + IUnknown **appDomainSetup); + + HRESULT (STDMETHODCALLTYPE *CreateEvidence)( + ICorRuntimeHost *This, + IUnknown **evidence); + + HRESULT (STDMETHODCALLTYPE *UnloadDomain)( + ICorRuntimeHost *This, + IUnknown *appDomain); + + HRESULT (STDMETHODCALLTYPE *CurrentDomain)( + ICorRuntimeHost *This, + IUnknown **appDomain); + + END_INTERFACE +} ICorRuntimeHostVtbl; + +interface ICorRuntimeHost { + CONST_VTBL ICorRuntimeHostVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICorRuntimeHost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICorRuntimeHost_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICorRuntimeHost_Release(This) (This)->lpVtbl->Release(This) +/*** ICorRuntimeHost methods ***/ +#define ICorRuntimeHost_CreateLogicalThreadState(This) (This)->lpVtbl->CreateLogicalThreadState(This) +#define ICorRuntimeHost_DeleteLogicalThreadState(This) (This)->lpVtbl->DeleteLogicalThreadState(This) +#define ICorRuntimeHost_SwitchInLogicalThreadState(This,fiberCookie) (This)->lpVtbl->SwitchInLogicalThreadState(This,fiberCookie) +#define ICorRuntimeHost_SwitchOutLogicalThreadState(This,fiberCookie) (This)->lpVtbl->SwitchOutLogicalThreadState(This,fiberCookie) +#define ICorRuntimeHost_LocksHeldByLogicalThread(This,pCount) (This)->lpVtbl->LocksHeldByLogicalThread(This,pCount) +#define ICorRuntimeHost_MapFile(This,hFile,mapAddress) (This)->lpVtbl->MapFile(This,hFile,mapAddress) +#define ICorRuntimeHost_GetConfiguration(This,pConfiguration) (This)->lpVtbl->GetConfiguration(This,pConfiguration) +#define ICorRuntimeHost_Start(This) (This)->lpVtbl->Start(This) +#define ICorRuntimeHost_Stop(This) (This)->lpVtbl->Stop(This) +#define ICorRuntimeHost_CreateDomain(This,friendlyName,identityArray,appDomain) (This)->lpVtbl->CreateDomain(This,friendlyName,identityArray,appDomain) +#define ICorRuntimeHost_GetDefaultDomain(This,pAppDomain) (This)->lpVtbl->GetDefaultDomain(This,pAppDomain) +#define ICorRuntimeHost_EnumDomains(This,hEnum) (This)->lpVtbl->EnumDomains(This,hEnum) +#define ICorRuntimeHost_NextDomain(This,hEnum,appDomain) (This)->lpVtbl->NextDomain(This,hEnum,appDomain) +#define ICorRuntimeHost_CloseEnum(This,hEnum) (This)->lpVtbl->CloseEnum(This,hEnum) +#define ICorRuntimeHost_CreateDomainEx(This,friendlyName,setup,evidence,appDomain) (This)->lpVtbl->CreateDomainEx(This,friendlyName,setup,evidence,appDomain) +#define ICorRuntimeHost_CreateDomainSetup(This,appDomainSetup) (This)->lpVtbl->CreateDomainSetup(This,appDomainSetup) +#define ICorRuntimeHost_CreateEvidence(This,evidence) (This)->lpVtbl->CreateEvidence(This,evidence) +#define ICorRuntimeHost_UnloadDomain(This,appDomain) (This)->lpVtbl->UnloadDomain(This,appDomain) +#define ICorRuntimeHost_CurrentDomain(This,appDomain) (This)->lpVtbl->CurrentDomain(This,appDomain) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICorRuntimeHost_QueryInterface(ICorRuntimeHost* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICorRuntimeHost_AddRef(ICorRuntimeHost* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICorRuntimeHost_Release(ICorRuntimeHost* This) { + return This->lpVtbl->Release(This); +} +/*** ICorRuntimeHost methods ***/ +static FORCEINLINE HRESULT ICorRuntimeHost_CreateLogicalThreadState(ICorRuntimeHost* This) { + return This->lpVtbl->CreateLogicalThreadState(This); +} +static FORCEINLINE HRESULT ICorRuntimeHost_DeleteLogicalThreadState(ICorRuntimeHost* This) { + return This->lpVtbl->DeleteLogicalThreadState(This); +} +static FORCEINLINE HRESULT ICorRuntimeHost_SwitchInLogicalThreadState(ICorRuntimeHost* This,DWORD *fiberCookie) { + return This->lpVtbl->SwitchInLogicalThreadState(This,fiberCookie); +} +static FORCEINLINE HRESULT ICorRuntimeHost_SwitchOutLogicalThreadState(ICorRuntimeHost* This,DWORD **fiberCookie) { + return This->lpVtbl->SwitchOutLogicalThreadState(This,fiberCookie); +} +static FORCEINLINE HRESULT ICorRuntimeHost_LocksHeldByLogicalThread(ICorRuntimeHost* This,DWORD *pCount) { + return This->lpVtbl->LocksHeldByLogicalThread(This,pCount); +} +static FORCEINLINE HRESULT ICorRuntimeHost_MapFile(ICorRuntimeHost* This,HANDLE hFile,HMODULE *mapAddress) { + return This->lpVtbl->MapFile(This,hFile,mapAddress); +} +static FORCEINLINE HRESULT ICorRuntimeHost_GetConfiguration(ICorRuntimeHost* This,ICorConfiguration **pConfiguration) { + return This->lpVtbl->GetConfiguration(This,pConfiguration); +} +static FORCEINLINE HRESULT ICorRuntimeHost_Start(ICorRuntimeHost* This) { + return This->lpVtbl->Start(This); +} +static FORCEINLINE HRESULT ICorRuntimeHost_Stop(ICorRuntimeHost* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT ICorRuntimeHost_CreateDomain(ICorRuntimeHost* This,LPCWSTR friendlyName,IUnknown *identityArray,IUnknown **appDomain) { + return This->lpVtbl->CreateDomain(This,friendlyName,identityArray,appDomain); +} +static FORCEINLINE HRESULT ICorRuntimeHost_GetDefaultDomain(ICorRuntimeHost* This,IUnknown **pAppDomain) { + return This->lpVtbl->GetDefaultDomain(This,pAppDomain); +} +static FORCEINLINE HRESULT ICorRuntimeHost_EnumDomains(ICorRuntimeHost* This,HDOMAINENUM *hEnum) { + return This->lpVtbl->EnumDomains(This,hEnum); +} +static FORCEINLINE HRESULT ICorRuntimeHost_NextDomain(ICorRuntimeHost* This,HDOMAINENUM hEnum,IUnknown **appDomain) { + return This->lpVtbl->NextDomain(This,hEnum,appDomain); +} +static FORCEINLINE HRESULT ICorRuntimeHost_CloseEnum(ICorRuntimeHost* This,HDOMAINENUM hEnum) { + return This->lpVtbl->CloseEnum(This,hEnum); +} +static FORCEINLINE HRESULT ICorRuntimeHost_CreateDomainEx(ICorRuntimeHost* This,LPCWSTR friendlyName,IUnknown *setup,IUnknown *evidence,IUnknown **appDomain) { + return This->lpVtbl->CreateDomainEx(This,friendlyName,setup,evidence,appDomain); +} +static FORCEINLINE HRESULT ICorRuntimeHost_CreateDomainSetup(ICorRuntimeHost* This,IUnknown **appDomainSetup) { + return This->lpVtbl->CreateDomainSetup(This,appDomainSetup); +} +static FORCEINLINE HRESULT ICorRuntimeHost_CreateEvidence(ICorRuntimeHost* This,IUnknown **evidence) { + return This->lpVtbl->CreateEvidence(This,evidence); +} +static FORCEINLINE HRESULT ICorRuntimeHost_UnloadDomain(ICorRuntimeHost* This,IUnknown *appDomain) { + return This->lpVtbl->UnloadDomain(This,appDomain); +} +static FORCEINLINE HRESULT ICorRuntimeHost_CurrentDomain(ICorRuntimeHost* This,IUnknown **appDomain) { + return This->lpVtbl->CurrentDomain(This,appDomain); +} +#endif +#endif + +#endif + + +#endif /* __ICorRuntimeHost_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_CLRRuntimeHost, 0x90f1a06e,0x7712,0x4762,0x86,0xb5,0x7a,0x5e,0xba,0x6b,0xdb,0x02); +/***************************************************************************** + * ICLRRuntimeHost interface + */ +#ifndef __ICLRRuntimeHost_INTERFACE_DEFINED__ +#define __ICLRRuntimeHost_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICLRRuntimeHost, 0x90f1a06c, 0x7712, 0x4762, 0x86,0xb5, 0x7a,0x5e,0xba,0x6b,0xdb,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("90f1a06c-7712-4762-86b5-7a5eba6bdb02") +ICLRRuntimeHost : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHostControl( + IHostControl *pHostControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCLRControl( + ICLRControl **pCLRControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain( + DWORD dwAppDomainId, + BOOL fWaitUntilDone) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecuteInAppDomain( + DWORD dwAppDomainId, + HRESULT (__stdcall * pCallback)(void *cookie), + void *cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentAppDomainId( + DWORD *pdwAppDomainId) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecuteApplication( + LPCWSTR pwzAppFullName, + DWORD dwManifestPaths, + LPCWSTR *ppwzManifestPaths, + DWORD dwActivationData, + LPCWSTR *ppwzActivationData, + int *pReturnValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecuteInDefaultAppDomain( + LPCWSTR pwzAssemblyPath, + LPCWSTR pwzTypeName, + LPCWSTR pwzMethodName, + LPCWSTR pwzArgument, + DWORD *pReturnValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICLRRuntimeHost, 0x90f1a06c, 0x7712, 0x4762, 0x86,0xb5, 0x7a,0x5e,0xba,0x6b,0xdb,0x02) +#endif +#else +typedef struct ICLRRuntimeHostVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICLRRuntimeHost *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICLRRuntimeHost *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICLRRuntimeHost *This); + + /*** ICLRRuntimeHost methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + ICLRRuntimeHost *This); + + HRESULT (STDMETHODCALLTYPE *Stop)( + ICLRRuntimeHost *This); + + HRESULT (STDMETHODCALLTYPE *SetHostControl)( + ICLRRuntimeHost *This, + IHostControl *pHostControl); + + HRESULT (STDMETHODCALLTYPE *GetCLRControl)( + ICLRRuntimeHost *This, + ICLRControl **pCLRControl); + + HRESULT (STDMETHODCALLTYPE *UnloadAppDomain)( + ICLRRuntimeHost *This, + DWORD dwAppDomainId, + BOOL fWaitUntilDone); + + HRESULT (STDMETHODCALLTYPE *ExecuteInAppDomain)( + ICLRRuntimeHost *This, + DWORD dwAppDomainId, + HRESULT (__stdcall * pCallback)(void *cookie), + void *cookie); + + HRESULT (STDMETHODCALLTYPE *GetCurrentAppDomainId)( + ICLRRuntimeHost *This, + DWORD *pdwAppDomainId); + + HRESULT (STDMETHODCALLTYPE *ExecuteApplication)( + ICLRRuntimeHost *This, + LPCWSTR pwzAppFullName, + DWORD dwManifestPaths, + LPCWSTR *ppwzManifestPaths, + DWORD dwActivationData, + LPCWSTR *ppwzActivationData, + int *pReturnValue); + + HRESULT (STDMETHODCALLTYPE *ExecuteInDefaultAppDomain)( + ICLRRuntimeHost *This, + LPCWSTR pwzAssemblyPath, + LPCWSTR pwzTypeName, + LPCWSTR pwzMethodName, + LPCWSTR pwzArgument, + DWORD *pReturnValue); + + END_INTERFACE +} ICLRRuntimeHostVtbl; + +interface ICLRRuntimeHost { + CONST_VTBL ICLRRuntimeHostVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICLRRuntimeHost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICLRRuntimeHost_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICLRRuntimeHost_Release(This) (This)->lpVtbl->Release(This) +/*** ICLRRuntimeHost methods ***/ +#define ICLRRuntimeHost_Start(This) (This)->lpVtbl->Start(This) +#define ICLRRuntimeHost_Stop(This) (This)->lpVtbl->Stop(This) +#define ICLRRuntimeHost_SetHostControl(This,pHostControl) (This)->lpVtbl->SetHostControl(This,pHostControl) +#define ICLRRuntimeHost_GetCLRControl(This,pCLRControl) (This)->lpVtbl->GetCLRControl(This,pCLRControl) +#define ICLRRuntimeHost_UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) (This)->lpVtbl->UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) +#define ICLRRuntimeHost_ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) (This)->lpVtbl->ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) +#define ICLRRuntimeHost_GetCurrentAppDomainId(This,pdwAppDomainId) (This)->lpVtbl->GetCurrentAppDomainId(This,pdwAppDomainId) +#define ICLRRuntimeHost_ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) (This)->lpVtbl->ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) +#define ICLRRuntimeHost_ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) (This)->lpVtbl->ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICLRRuntimeHost_QueryInterface(ICLRRuntimeHost* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICLRRuntimeHost_AddRef(ICLRRuntimeHost* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICLRRuntimeHost_Release(ICLRRuntimeHost* This) { + return This->lpVtbl->Release(This); +} +/*** ICLRRuntimeHost methods ***/ +static FORCEINLINE HRESULT ICLRRuntimeHost_Start(ICLRRuntimeHost* This) { + return This->lpVtbl->Start(This); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_Stop(ICLRRuntimeHost* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_SetHostControl(ICLRRuntimeHost* This,IHostControl *pHostControl) { + return This->lpVtbl->SetHostControl(This,pHostControl); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_GetCLRControl(ICLRRuntimeHost* This,ICLRControl **pCLRControl) { + return This->lpVtbl->GetCLRControl(This,pCLRControl); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_UnloadAppDomain(ICLRRuntimeHost* This,DWORD dwAppDomainId,BOOL fWaitUntilDone) { + return This->lpVtbl->UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_ExecuteInAppDomain(ICLRRuntimeHost* This,DWORD dwAppDomainId,HRESULT (__stdcall * pCallback)(void *cookie),void *cookie) { + return This->lpVtbl->ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_GetCurrentAppDomainId(ICLRRuntimeHost* This,DWORD *pdwAppDomainId) { + return This->lpVtbl->GetCurrentAppDomainId(This,pdwAppDomainId); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_ExecuteApplication(ICLRRuntimeHost* This,LPCWSTR pwzAppFullName,DWORD dwManifestPaths,LPCWSTR *ppwzManifestPaths,DWORD dwActivationData,LPCWSTR *ppwzActivationData,int *pReturnValue) { + return This->lpVtbl->ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue); +} +static FORCEINLINE HRESULT ICLRRuntimeHost_ExecuteInDefaultAppDomain(ICLRRuntimeHost* This,LPCWSTR pwzAssemblyPath,LPCWSTR pwzTypeName,LPCWSTR pwzMethodName,LPCWSTR pwzArgument,DWORD *pReturnValue) { + return This->lpVtbl->ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue); +} +#endif +#endif + +#endif + + +#endif /* __ICLRRuntimeHost_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IManagedObject interface + */ +#ifndef __IManagedObject_INTERFACE_DEFINED__ +#define __IManagedObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IManagedObject, 0xc3fcc19e, 0xa970, 0x11d2, 0x8b,0x5a, 0x00,0xa0,0xc9,0xb7,0xc9,0xc4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4") +IManagedObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSerializedBuffer( + BSTR *pBSTR) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectIdentity( + BSTR *pBSTRGUID, + int *AppDomainID, + int *pCCW) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IManagedObject, 0xc3fcc19e, 0xa970, 0x11d2, 0x8b,0x5a, 0x00,0xa0,0xc9,0xb7,0xc9,0xc4) +#endif +#else +typedef struct IManagedObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IManagedObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IManagedObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IManagedObject *This); + + /*** IManagedObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSerializedBuffer)( + IManagedObject *This, + BSTR *pBSTR); + + HRESULT (STDMETHODCALLTYPE *GetObjectIdentity)( + IManagedObject *This, + BSTR *pBSTRGUID, + int *AppDomainID, + int *pCCW); + + END_INTERFACE +} IManagedObjectVtbl; + +interface IManagedObject { + CONST_VTBL IManagedObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IManagedObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IManagedObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IManagedObject_Release(This) (This)->lpVtbl->Release(This) +/*** IManagedObject methods ***/ +#define IManagedObject_GetSerializedBuffer(This,pBSTR) (This)->lpVtbl->GetSerializedBuffer(This,pBSTR) +#define IManagedObject_GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) (This)->lpVtbl->GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IManagedObject_QueryInterface(IManagedObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IManagedObject_AddRef(IManagedObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IManagedObject_Release(IManagedObject* This) { + return This->lpVtbl->Release(This); +} +/*** IManagedObject methods ***/ +static FORCEINLINE HRESULT IManagedObject_GetSerializedBuffer(IManagedObject* This,BSTR *pBSTR) { + return This->lpVtbl->GetSerializedBuffer(This,pBSTR); +} +static FORCEINLINE HRESULT IManagedObject_GetObjectIdentity(IManagedObject* This,BSTR *pBSTRGUID,int *AppDomainID,int *pCCW) { + return This->lpVtbl->GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW); +} +#endif +#endif + +#endif + + +#endif /* __IManagedObject_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mscoree_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscoree.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscoree.idl new file mode 100644 index 0000000..4160264 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mscoree.idl @@ -0,0 +1,240 @@ +/* + * Copyright (C) 2007 Francois Gouget + * Copyright (C) 2008 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +cpp_quote("/* FIXME: #include */") +cpp_quote("/* FIXME: #include */") + +cpp_quote("HRESULT WINAPI CorBindToRuntimeHost(LPCWSTR,LPCWSTR,LPCWSTR,VOID*,DWORD,REFCLSID,REFIID,LPVOID*);") +cpp_quote("void WINAPI CorExitProcess(int);") +cpp_quote("HRESULT WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);") +cpp_quote("HRESULT WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);") +cpp_quote("HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);") +cpp_quote("HRESULT WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);") +cpp_quote("#ifdef WINE_STRICT_PROTOTYPES") +cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)(void);") +cpp_quote("#else") +cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)();") +cpp_quote("#endif") +cpp_quote("HRESULT WINAPI LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*);") + +typedef void* HDOMAINENUM; + +typedef enum RUNTIME_INFO_FLAGS { + RUNTIME_INFO_UPGRADE_VERSION = 0x1, + RUNTIME_INFO_REQUEST_IA64 = 0x2, + RUNTIME_INFO_REQUEST_AMD64 = 0x4, + RUNTIME_INFO_REQUEST_X86 = 0x8, + RUNTIME_INFO_DONT_RETURN_DIRECTORY = 0x10, + RUNTIME_INFO_DONT_RETURN_VERSION = 0x20, + RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG = 0x40 +} RUNTIME_INFO_FLAGS; + +typedef HRESULT (__stdcall *FExecuteInAppDomainCallback)([in] void* cookie); + +[ + uuid(F31D1788-C397-4725-87A5-6AF3472C2791), + version(1.0), + object, + local +] +interface IGCThreadControl : IUnknown +{ + HRESULT ThreadIsBlockingForSuspension(); + + HRESULT SuspensionStarting(); + + HRESULT SuspensionEnding(DWORD generation); +} + +[ + uuid(5513D564-8374-4cb9-AED9-0083F4160A1D), + version(1.1), + local, + object +] +interface IGCHostControl : IUnknown +{ + HRESULT RequestVirtualMemLimit([in] SIZE_T nMaxVirtualMemMB, + [in, out] SIZE_T* nNewMaxVirtualMemMB); +} + +[ + uuid(23D86786-0BB5-4774-8FB5-E3522ADD6246), + version(1.0), + local, + object +] +interface IDebuggerThreadControl : IUnknown +{ + HRESULT ThreadIsBlockingForDebugger(); + + HRESULT ReleaseAllRuntimeThreads(); + + HRESULT StartBlockingForDebugger(DWORD dwUnused); +} + +[ + uuid(5C2B07A5-1E98-11d3-872F-00C04F79ED0D), + version(1.0), + local, + object +] +interface ICorConfiguration : IUnknown +{ + HRESULT SetGCThreadControl([in] IGCThreadControl* GCThreadControl); + + HRESULT SetGCHostControl([in] IGCHostControl* GCHostControl); + + HRESULT SetDebuggerThreadControl([in] IDebuggerThreadControl* debuggerThreadControl); + + HRESULT AddDebuggerSpecialThread([in] DWORD specialThreadId); +} + +[ + uuid(9065597E-D1A1-4fb2-B6BA-7E1FCE230F61), + version(1.0), + local +] +interface ICLRControl : IUnknown +{ + HRESULT GetCLRManager([in] REFIID riid, [out] void **ppObject); + + HRESULT SetAppDomainManagerType([in] LPCWSTR appDomainManagerAssembly, + [in] LPCWSTR appDomainManagerType); +} + +[ + uuid(02CA073C-7079-4860-880A-C2F7A449C991), + version(1.0), + local +] +interface IHostControl : IUnknown +{ + HRESULT GetHostManager( [in] REFIID riid, [out] void **ppObject); + + HRESULT SetAppDomainManager([in] DWORD appDomainID, + [in] IUnknown* appDomainManager); +} + +cpp_quote("DEFINE_GUID(CLSID_CorRuntimeHost, 0xcb2f6723,0xab3a,0x11d2,0x9c,0x40,0x00,0xc0,0x4f,0xa3,0x0a,0x3e);") + +[ + uuid(CB2F6722-AB3A-11d2-9C40-00C04FA30A3E), + version(1.0), + local, + object +] +interface ICorRuntimeHost : IUnknown +{ + HRESULT CreateLogicalThreadState(); + HRESULT DeleteLogicalThreadState(); + HRESULT SwitchInLogicalThreadState([in] DWORD *fiberCookie); + + HRESULT SwitchOutLogicalThreadState([out] DWORD **fiberCookie); + + HRESULT LocksHeldByLogicalThread( [out] DWORD *pCount ); + + HRESULT MapFile([in] HANDLE hFile, [out] HMODULE* mapAddress); + + HRESULT GetConfiguration([out] ICorConfiguration** pConfiguration); + + HRESULT Start(); + + HRESULT Stop(); + + HRESULT CreateDomain([in] LPCWSTR friendlyName, + [in] IUnknown* identityArray, + [out] IUnknown** appDomain); + + HRESULT GetDefaultDomain([out] IUnknown** pAppDomain); + + HRESULT EnumDomains([out] HDOMAINENUM *hEnum); + + HRESULT NextDomain([in] HDOMAINENUM hEnum, [out] IUnknown** appDomain); + + HRESULT CloseEnum([in] HDOMAINENUM hEnum); + + HRESULT CreateDomainEx([in] LPCWSTR friendlyName, + [in] IUnknown* setup, + [in] IUnknown* evidence, + [out] IUnknown** appDomain); + + HRESULT CreateDomainSetup([out] IUnknown** appDomainSetup); + + HRESULT CreateEvidence([out] IUnknown** evidence); + + HRESULT UnloadDomain([in] IUnknown* appDomain); + + HRESULT CurrentDomain([out] IUnknown** appDomain); +}; + +cpp_quote("DEFINE_GUID(CLSID_CLRRuntimeHost, 0x90f1a06e,0x7712,0x4762,0x86,0xb5,0x7a,0x5e,0xba,0x6b,0xdb,0x02);") + +[ + uuid(90f1a06c-7712-4762-86b5-7a5eba6bdb02), + local, + object +] +interface ICLRRuntimeHost : IUnknown +{ + HRESULT Start(); + + HRESULT Stop(); + + HRESULT SetHostControl([in] IHostControl *pHostControl); + + HRESULT GetCLRControl([out] ICLRControl **pCLRControl); + + HRESULT UnloadAppDomain([in] DWORD dwAppDomainId, + [in] BOOL fWaitUntilDone); + + HRESULT ExecuteInAppDomain([in] DWORD dwAppDomainId, + [in] FExecuteInAppDomainCallback pCallback, + [in] void *cookie); + + HRESULT GetCurrentAppDomainId([out] DWORD *pdwAppDomainId); + + HRESULT ExecuteApplication([in] LPCWSTR pwzAppFullName, + [in] DWORD dwManifestPaths, + [in] LPCWSTR *ppwzManifestPaths, + [in] DWORD dwActivationData, + [in] LPCWSTR *ppwzActivationData, + [out] int *pReturnValue); + + HRESULT ExecuteInDefaultAppDomain([in] LPCWSTR pwzAssemblyPath, + [in] LPCWSTR pwzTypeName, + [in] LPCWSTR pwzMethodName, + [in] LPCWSTR pwzArgument, + [out] DWORD *pReturnValue); +} + +[ + uuid(C3FCC19E-A970-11d2-8B5A-00A0C9B7C9C4), + local, + object +] +interface IManagedObject : IUnknown +{ + HRESULT GetSerializedBuffer([out] BSTR *pBSTR); + + HRESULT GetObjectIdentity([out] BSTR *pBSTRGUID, + [out] int *AppDomainID, + [out] int *pCCW); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msctf.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msctf.h new file mode 100644 index 0000000..dec7dc5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msctf.h @@ -0,0 +1,9008 @@ +/*** Autogenerated by WIDL 2.18 from msctf.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msctf_h__ +#define __msctf_h__ + +/* Forward declarations */ + +#ifndef __ITfFunctionProvider_FWD_DEFINED__ +#define __ITfFunctionProvider_FWD_DEFINED__ +typedef interface ITfFunctionProvider ITfFunctionProvider; +#ifdef __cplusplus +interface ITfFunctionProvider; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfFunctionProviders_FWD_DEFINED__ +#define __IEnumTfFunctionProviders_FWD_DEFINED__ +typedef interface IEnumTfFunctionProviders IEnumTfFunctionProviders; +#ifdef __cplusplus +interface IEnumTfFunctionProviders; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfThreadMgr_FWD_DEFINED__ +#define __ITfThreadMgr_FWD_DEFINED__ +typedef interface ITfThreadMgr ITfThreadMgr; +#ifdef __cplusplus +interface ITfThreadMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfThreadMgrEx_FWD_DEFINED__ +#define __ITfThreadMgrEx_FWD_DEFINED__ +typedef interface ITfThreadMgrEx ITfThreadMgrEx; +#ifdef __cplusplus +interface ITfThreadMgrEx; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompositionView_FWD_DEFINED__ +#define __ITfCompositionView_FWD_DEFINED__ +typedef interface ITfCompositionView ITfCompositionView; +#ifdef __cplusplus +interface ITfCompositionView; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfDocumentMgr_FWD_DEFINED__ +#define __ITfDocumentMgr_FWD_DEFINED__ +typedef interface ITfDocumentMgr ITfDocumentMgr; +#ifdef __cplusplus +interface ITfDocumentMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContextView_FWD_DEFINED__ +#define __ITfContextView_FWD_DEFINED__ +typedef interface ITfContextView ITfContextView; +#ifdef __cplusplus +interface ITfContextView; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfContextViews_FWD_DEFINED__ +#define __IEnumTfContextViews_FWD_DEFINED__ +typedef interface IEnumTfContextViews IEnumTfContextViews; +#ifdef __cplusplus +interface IEnumTfContextViews; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfProperties_FWD_DEFINED__ +#define __IEnumTfProperties_FWD_DEFINED__ +typedef interface IEnumTfProperties IEnumTfProperties; +#ifdef __cplusplus +interface IEnumTfProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfRangeBackup_FWD_DEFINED__ +#define __ITfRangeBackup_FWD_DEFINED__ +typedef interface ITfRangeBackup ITfRangeBackup; +#ifdef __cplusplus +interface ITfRangeBackup; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextStoreACPServices_FWD_DEFINED__ +#define __ITextStoreACPServices_FWD_DEFINED__ +typedef interface ITextStoreACPServices ITextStoreACPServices; +#ifdef __cplusplus +interface ITextStoreACPServices; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContext_FWD_DEFINED__ +#define __ITfContext_FWD_DEFINED__ +typedef interface ITfContext ITfContext; +#ifdef __cplusplus +interface ITfContext; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfSource_FWD_DEFINED__ +#define __ITfSource_FWD_DEFINED__ +typedef interface ITfSource ITfSource; +#ifdef __cplusplus +interface ITfSource; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfInputProcessorProfiles_FWD_DEFINED__ +#define __ITfInputProcessorProfiles_FWD_DEFINED__ +typedef interface ITfInputProcessorProfiles ITfInputProcessorProfiles; +#ifdef __cplusplus +interface ITfInputProcessorProfiles; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfInputProcessorProfiles_FWD_DEFINED__ +#define __IEnumTfInputProcessorProfiles_FWD_DEFINED__ +typedef interface IEnumTfInputProcessorProfiles IEnumTfInputProcessorProfiles; +#ifdef __cplusplus +interface IEnumTfInputProcessorProfiles; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfInputProcessorProfileMgr_FWD_DEFINED__ +#define __ITfInputProcessorProfileMgr_FWD_DEFINED__ +typedef interface ITfInputProcessorProfileMgr ITfInputProcessorProfileMgr; +#ifdef __cplusplus +interface ITfInputProcessorProfileMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfDisplayAttributeInfo_FWD_DEFINED__ +#define __ITfDisplayAttributeInfo_FWD_DEFINED__ +typedef interface ITfDisplayAttributeInfo ITfDisplayAttributeInfo; +#ifdef __cplusplus +interface ITfDisplayAttributeInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfDisplayAttributeInfo_FWD_DEFINED__ +#define __IEnumTfDisplayAttributeInfo_FWD_DEFINED__ +typedef interface IEnumTfDisplayAttributeInfo IEnumTfDisplayAttributeInfo; +#ifdef __cplusplus +interface IEnumTfDisplayAttributeInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfDisplayAttributeMgr_FWD_DEFINED__ +#define __ITfDisplayAttributeMgr_FWD_DEFINED__ +typedef interface ITfDisplayAttributeMgr ITfDisplayAttributeMgr; +#ifdef __cplusplus +interface ITfDisplayAttributeMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCategoryMgr_FWD_DEFINED__ +#define __ITfCategoryMgr_FWD_DEFINED__ +typedef interface ITfCategoryMgr ITfCategoryMgr; +#ifdef __cplusplus +interface ITfCategoryMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfRanges_FWD_DEFINED__ +#define __IEnumTfRanges_FWD_DEFINED__ +typedef interface IEnumTfRanges IEnumTfRanges; +#ifdef __cplusplus +interface IEnumTfRanges; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfEditRecord_FWD_DEFINED__ +#define __ITfEditRecord_FWD_DEFINED__ +typedef interface ITfEditRecord ITfEditRecord; +#ifdef __cplusplus +interface ITfEditRecord; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfTextEditSink_FWD_DEFINED__ +#define __ITfTextEditSink_FWD_DEFINED__ +typedef interface ITfTextEditSink ITfTextEditSink; +#ifdef __cplusplus +interface ITfTextEditSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContextOwnerCompositionSink_FWD_DEFINED__ +#define __ITfContextOwnerCompositionSink_FWD_DEFINED__ +typedef interface ITfContextOwnerCompositionSink ITfContextOwnerCompositionSink; +#ifdef __cplusplus +interface ITfContextOwnerCompositionSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__ +#define __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__ +typedef interface ITfActiveLanguageProfileNotifySink ITfActiveLanguageProfileNotifySink; +#ifdef __cplusplus +interface ITfActiveLanguageProfileNotifySink; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfLanguageProfiles_FWD_DEFINED__ +#define __IEnumTfLanguageProfiles_FWD_DEFINED__ +typedef interface IEnumTfLanguageProfiles IEnumTfLanguageProfiles; +#ifdef __cplusplus +interface IEnumTfLanguageProfiles; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfTextInputProcessor_FWD_DEFINED__ +#define __ITfTextInputProcessor_FWD_DEFINED__ +typedef interface ITfTextInputProcessor ITfTextInputProcessor; +#ifdef __cplusplus +interface ITfTextInputProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfThreadMgrEventSink_FWD_DEFINED__ +#define __ITfThreadMgrEventSink_FWD_DEFINED__ +typedef interface ITfThreadMgrEventSink ITfThreadMgrEventSink; +#ifdef __cplusplus +interface ITfThreadMgrEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfKeystrokeMgr_FWD_DEFINED__ +#define __ITfKeystrokeMgr_FWD_DEFINED__ +typedef interface ITfKeystrokeMgr ITfKeystrokeMgr; +#ifdef __cplusplus +interface ITfKeystrokeMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfKeyEventSink_FWD_DEFINED__ +#define __ITfKeyEventSink_FWD_DEFINED__ +typedef interface ITfKeyEventSink ITfKeyEventSink; +#ifdef __cplusplus +interface ITfKeyEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfMessagePump_FWD_DEFINED__ +#define __ITfMessagePump_FWD_DEFINED__ +typedef interface ITfMessagePump ITfMessagePump; +#ifdef __cplusplus +interface ITfMessagePump; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfClientId_FWD_DEFINED__ +#define __ITfClientId_FWD_DEFINED__ +typedef interface ITfClientId ITfClientId; +#ifdef __cplusplus +interface ITfClientId; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfLanguageProfileNotifySink_FWD_DEFINED__ +#define __ITfLanguageProfileNotifySink_FWD_DEFINED__ +typedef interface ITfLanguageProfileNotifySink ITfLanguageProfileNotifySink; +#ifdef __cplusplus +interface ITfLanguageProfileNotifySink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfEditSession_FWD_DEFINED__ +#define __ITfEditSession_FWD_DEFINED__ +typedef interface ITfEditSession ITfEditSession; +#ifdef __cplusplus +interface ITfEditSession; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfRange_FWD_DEFINED__ +#define __ITfRange_FWD_DEFINED__ +typedef interface ITfRange ITfRange; +#ifdef __cplusplus +interface ITfRange; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfRangeACP_FWD_DEFINED__ +#define __ITfRangeACP_FWD_DEFINED__ +typedef interface ITfRangeACP ITfRangeACP; +#ifdef __cplusplus +interface ITfRangeACP; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfInsertAtSelection_FWD_DEFINED__ +#define __ITfInsertAtSelection_FWD_DEFINED__ +typedef interface ITfInsertAtSelection ITfInsertAtSelection; +#ifdef __cplusplus +interface ITfInsertAtSelection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfPropertyStore_FWD_DEFINED__ +#define __ITfPropertyStore_FWD_DEFINED__ +typedef interface ITfPropertyStore ITfPropertyStore; +#ifdef __cplusplus +interface ITfPropertyStore; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumITfCompositionView_FWD_DEFINED__ +#define __IEnumITfCompositionView_FWD_DEFINED__ +typedef interface IEnumITfCompositionView IEnumITfCompositionView; +#ifdef __cplusplus +interface IEnumITfCompositionView; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfComposition_FWD_DEFINED__ +#define __ITfComposition_FWD_DEFINED__ +typedef interface ITfComposition ITfComposition; +#ifdef __cplusplus +interface ITfComposition; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompositionSink_FWD_DEFINED__ +#define __ITfCompositionSink_FWD_DEFINED__ +typedef interface ITfCompositionSink ITfCompositionSink; +#ifdef __cplusplus +interface ITfCompositionSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContextComposition_FWD_DEFINED__ +#define __ITfContextComposition_FWD_DEFINED__ +typedef interface ITfContextComposition ITfContextComposition; +#ifdef __cplusplus +interface ITfContextComposition; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContextOwnerCompositionServices_FWD_DEFINED__ +#define __ITfContextOwnerCompositionServices_FWD_DEFINED__ +typedef interface ITfContextOwnerCompositionServices ITfContextOwnerCompositionServices; +#ifdef __cplusplus +interface ITfContextOwnerCompositionServices; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ +#define __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ +typedef interface ITfPersistentPropertyLoaderACP ITfPersistentPropertyLoaderACP; +#ifdef __cplusplus +interface ITfPersistentPropertyLoaderACP; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContextOwnerServices_FWD_DEFINED__ +#define __ITfContextOwnerServices_FWD_DEFINED__ +typedef interface ITfContextOwnerServices ITfContextOwnerServices; +#ifdef __cplusplus +interface ITfContextOwnerServices; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfReadOnlyProperty_FWD_DEFINED__ +#define __ITfReadOnlyProperty_FWD_DEFINED__ +typedef interface ITfReadOnlyProperty ITfReadOnlyProperty; +#ifdef __cplusplus +interface ITfReadOnlyProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfProperty_FWD_DEFINED__ +#define __ITfProperty_FWD_DEFINED__ +typedef interface ITfProperty ITfProperty; +#ifdef __cplusplus +interface ITfProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompartment_FWD_DEFINED__ +#define __ITfCompartment_FWD_DEFINED__ +typedef interface ITfCompartment ITfCompartment; +#ifdef __cplusplus +interface ITfCompartment; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompartmentMgr_FWD_DEFINED__ +#define __ITfCompartmentMgr_FWD_DEFINED__ +typedef interface ITfCompartmentMgr ITfCompartmentMgr; +#ifdef __cplusplus +interface ITfCompartmentMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompartmentEventSink_FWD_DEFINED__ +#define __ITfCompartmentEventSink_FWD_DEFINED__ +typedef interface ITfCompartmentEventSink ITfCompartmentEventSink; +#ifdef __cplusplus +interface ITfCompartmentEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfContexts_FWD_DEFINED__ +#define __IEnumTfContexts_FWD_DEFINED__ +typedef interface IEnumTfContexts IEnumTfContexts; +#ifdef __cplusplus +interface IEnumTfContexts; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfDocumentMgrs_FWD_DEFINED__ +#define __IEnumTfDocumentMgrs_FWD_DEFINED__ +typedef interface IEnumTfDocumentMgrs IEnumTfDocumentMgrs; +#ifdef __cplusplus +interface IEnumTfDocumentMgrs; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfUIElement_FWD_DEFINED__ +#define __ITfUIElement_FWD_DEFINED__ +typedef interface ITfUIElement ITfUIElement; +#ifdef __cplusplus +interface ITfUIElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfUIElements_FWD_DEFINED__ +#define __IEnumTfUIElements_FWD_DEFINED__ +typedef interface IEnumTfUIElements IEnumTfUIElements; +#ifdef __cplusplus +interface IEnumTfUIElements; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfUIElementMgr_FWD_DEFINED__ +#define __ITfUIElementMgr_FWD_DEFINED__ +typedef interface ITfUIElementMgr ITfUIElementMgr; +#ifdef __cplusplus +interface ITfUIElementMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfSourceSingle_FWD_DEFINED__ +#define __ITfSourceSingle_FWD_DEFINED__ +typedef interface ITfSourceSingle ITfSourceSingle; +#ifdef __cplusplus +interface ITfSourceSingle; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfThreadFocusSink_FWD_DEFINED__ +#define __ITfThreadFocusSink_FWD_DEFINED__ +typedef interface ITfThreadFocusSink ITfThreadFocusSink; +#ifdef __cplusplus +interface ITfThreadFocusSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfInputProcessorProfileActivationSink_FWD_DEFINED__ +#define __ITfInputProcessorProfileActivationSink_FWD_DEFINED__ +typedef interface ITfInputProcessorProfileActivationSink ITfInputProcessorProfileActivationSink; +#ifdef __cplusplus +interface ITfInputProcessorProfileActivationSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfMouseSink_FWD_DEFINED__ +#define __ITfMouseSink_FWD_DEFINED__ +typedef interface ITfMouseSink ITfMouseSink; +#ifdef __cplusplus +interface ITfMouseSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfMouseTracker_FWD_DEFINED__ +#define __ITfMouseTracker_FWD_DEFINED__ +typedef interface ITfMouseTracker ITfMouseTracker; +#ifdef __cplusplus +interface ITfMouseTracker; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfMouseTrackerACP_FWD_DEFINED__ +#define __ITfMouseTrackerACP_FWD_DEFINED__ +typedef interface ITfMouseTrackerACP ITfMouseTrackerACP; +#ifdef __cplusplus +interface ITfMouseTrackerACP; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfTransitoryExtensionSink_FWD_DEFINED__ +#define __ITfTransitoryExtensionSink_FWD_DEFINED__ +typedef interface ITfTransitoryExtensionSink ITfTransitoryExtensionSink; +#ifdef __cplusplus +interface ITfTransitoryExtensionSink; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501) +#define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504) +#define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506) +#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201) +HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim); +HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim); +HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr); +HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm); +HRESULT WINAPI TF_CreateLangBarItemMgr(ITfLangBarItemMgr **pplbim); +HRESULT WINAPI TF_InvalidAssemblyListCacheIfExist(void); +EXTERN_C const GUID GUID_PROP_TEXTOWNER; +DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5); +EXTERN_C const GUID GUID_PROP_LANGID; +EXTERN_C const GUID GUID_PROP_READING; +EXTERN_C const GUID GUID_PROP_COMPOSING; +EXTERN_C const CLSID CLSID_TF_ThreadMgr; +EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles; +EXTERN_C const CLSID CLSID_TF_LangBarMgr; +EXTERN_C const CLSID CLSID_TF_CategoryMgr; +EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr; +EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED; +EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_OPENCLOSE; +EXTERN_C const GUID GUID_COMPARTMENT_HANDWRITING_OPENCLOSE; +EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DISABLED; +EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_OPENCLOSE; +EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_GLOBALSTATE; +EXTERN_C const GUID GUID_COMPARTMENT_PERSISTMENUENABLED; +EXTERN_C const GUID GUID_COMPARTMENT_EMPTYCONTEXT; +EXTERN_C const GUID GUID_COMPARTMENT_TIPUISTATUS; +EXTERN_C const GUID GUID_TFCAT_TIP_KEYBOARD; +EXTERN_C const GUID GUID_TFCAT_TIP_SPEECH; +EXTERN_C const GUID GUID_TFCAT_TIP_HANDWRITING; +EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER; +typedef DWORD TfEditCookie; +typedef DWORD TfClientId; +typedef DWORD TfGuidAtom; +#define TF_MOD_ALT 0x0001 +#define TF_MOD_CONTROL 0x0002 +#define TF_MOD_SHIFT 0x0004 +#define TF_MOD_RALT 0x0008 +#define TF_MOD_RCONTROL 0x0010 +#define TF_MOD_RSHIFT 0x0020 +#define TF_MOD_LALT 0x0040 +#define TF_MOD_LCONTROL 0x0080 +#define TF_MOD_LSHIFT 0x0100 +#define TF_MOD_ON_KEYUP 0x0200 +#define TF_MOD_IGNORE_ALL_MODIFIER 0x0400 +#define TF_PROFILETYPE_INPUTPROCESSOR 0x0001 +#define TF_PROFILETYPE_KEYBOARDLAYOUT 0x0002 +#define TF_IPSINK_FLAG_ACTIVE 0x0001 +#ifndef __ITfDocumentMgr_FWD_DEFINED__ +#define __ITfDocumentMgr_FWD_DEFINED__ +typedef interface ITfDocumentMgr ITfDocumentMgr; +#ifdef __cplusplus +interface ITfDocumentMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfContext_FWD_DEFINED__ +#define __ITfContext_FWD_DEFINED__ +typedef interface ITfContext ITfContext; +#ifdef __cplusplus +interface ITfContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfDocumentMgrs_FWD_DEFINED__ +#define __IEnumTfDocumentMgrs_FWD_DEFINED__ +typedef interface IEnumTfDocumentMgrs IEnumTfDocumentMgrs; +#ifdef __cplusplus +interface IEnumTfDocumentMgrs; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfContexts_FWD_DEFINED__ +#define __IEnumTfContexts_FWD_DEFINED__ +typedef interface IEnumTfContexts IEnumTfContexts; +#ifdef __cplusplus +interface IEnumTfContexts; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompartmentMgr_FWD_DEFINED__ +#define __ITfCompartmentMgr_FWD_DEFINED__ +typedef interface ITfCompartmentMgr ITfCompartmentMgr; +#ifdef __cplusplus +interface ITfCompartmentMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfEditSession_FWD_DEFINED__ +#define __ITfEditSession_FWD_DEFINED__ +typedef interface ITfEditSession ITfEditSession; +#ifdef __cplusplus +interface ITfEditSession; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfRange_FWD_DEFINED__ +#define __ITfRange_FWD_DEFINED__ +typedef interface ITfRange ITfRange; +#ifdef __cplusplus +interface ITfRange; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfProperty_FWD_DEFINED__ +#define __ITfProperty_FWD_DEFINED__ +typedef interface ITfProperty ITfProperty; +#ifdef __cplusplus +interface ITfProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfReadOnlyProperty_FWD_DEFINED__ +#define __ITfReadOnlyProperty_FWD_DEFINED__ +typedef interface ITfReadOnlyProperty ITfReadOnlyProperty; +#ifdef __cplusplus +interface ITfReadOnlyProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumTfLanguageProfiles_FWD_DEFINED__ +#define __IEnumTfLanguageProfiles_FWD_DEFINED__ +typedef interface IEnumTfLanguageProfiles IEnumTfLanguageProfiles; +#ifdef __cplusplus +interface IEnumTfLanguageProfiles; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfCompositionView_FWD_DEFINED__ +#define __ITfCompositionView_FWD_DEFINED__ +typedef interface ITfCompositionView ITfCompositionView; +#ifdef __cplusplus +interface ITfCompositionView; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfKeyEventSink_FWD_DEFINED__ +#define __ITfKeyEventSink_FWD_DEFINED__ +typedef interface ITfKeyEventSink ITfKeyEventSink; +#ifdef __cplusplus +interface ITfKeyEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ +#define __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ +typedef interface ITfPersistentPropertyLoaderACP ITfPersistentPropertyLoaderACP; +#ifdef __cplusplus +interface ITfPersistentPropertyLoaderACP; +#endif /* __cplusplus */ +#endif + +#ifndef __ITfRangeACP_FWD_DEFINED__ +#define __ITfRangeACP_FWD_DEFINED__ +typedef interface ITfRangeACP ITfRangeACP; +#ifdef __cplusplus +interface ITfRangeACP; +#endif /* __cplusplus */ +#endif + +#if 0 +typedef UINT_PTR HKL; +#endif +typedef struct TF_PERSISTENT_PROPERTY_HEADER_ACP { + GUID guidType; + LONG ichStart; + LONG cch; + ULONG cb; + DWORD dwPrivate; + CLSID clsidTIP; +} TF_PERSISTENT_PROPERTY_HEADER_ACP; +typedef struct TF_LANGUAGEPROFILE { + CLSID clsid; + LANGID langid; + GUID catid; + BOOL fActive; + GUID guidProfile; +} TF_LANGUAGEPROFILE; +typedef struct TF_PRESERVEDKEY { + UINT uVKey; + UINT uModifiers; +} TF_PRESERVEDKEY; +typedef enum __WIDL_msctf_generated_name_00000005 { + TF_ANCHOR_START = 0, + TF_ANCHOR_END = 1 +} TfAnchor; +/***************************************************************************** + * ITfFunctionProvider interface + */ +#ifndef __ITfFunctionProvider_INTERFACE_DEFINED__ +#define __ITfFunctionProvider_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfFunctionProvider, 0x101d6610, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("101d6610-0990-11d3-8df0-00105a2799b5") +ITfFunctionProvider : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunction( + REFGUID guid, + REFIID riid, + IUnknown **func) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfFunctionProvider, 0x101d6610, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfFunctionProviderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfFunctionProvider *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfFunctionProvider *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfFunctionProvider *This); + + /*** ITfFunctionProvider methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ITfFunctionProvider *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + ITfFunctionProvider *This, + BSTR *desc); + + HRESULT (STDMETHODCALLTYPE *GetFunction)( + ITfFunctionProvider *This, + REFGUID guid, + REFIID riid, + IUnknown **func); + + END_INTERFACE +} ITfFunctionProviderVtbl; + +interface ITfFunctionProvider { + CONST_VTBL ITfFunctionProviderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfFunctionProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfFunctionProvider_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfFunctionProvider_Release(This) (This)->lpVtbl->Release(This) +/*** ITfFunctionProvider methods ***/ +#define ITfFunctionProvider_GetType(This,guid) (This)->lpVtbl->GetType(This,guid) +#define ITfFunctionProvider_GetDescription(This,desc) (This)->lpVtbl->GetDescription(This,desc) +#define ITfFunctionProvider_GetFunction(This,guid,riid,func) (This)->lpVtbl->GetFunction(This,guid,riid,func) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfFunctionProvider_QueryInterface(ITfFunctionProvider* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfFunctionProvider_AddRef(ITfFunctionProvider* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfFunctionProvider_Release(ITfFunctionProvider* This) { + return This->lpVtbl->Release(This); +} +/*** ITfFunctionProvider methods ***/ +static FORCEINLINE HRESULT ITfFunctionProvider_GetType(ITfFunctionProvider* This,GUID *guid) { + return This->lpVtbl->GetType(This,guid); +} +static FORCEINLINE HRESULT ITfFunctionProvider_GetDescription(ITfFunctionProvider* This,BSTR *desc) { + return This->lpVtbl->GetDescription(This,desc); +} +static FORCEINLINE HRESULT ITfFunctionProvider_GetFunction(ITfFunctionProvider* This,REFGUID guid,REFIID riid,IUnknown **func) { + return This->lpVtbl->GetFunction(This,guid,riid,func); +} +#endif +#endif + +#endif + + +#endif /* __ITfFunctionProvider_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfFunctionProviders interface + */ +#ifndef __IEnumTfFunctionProviders_INTERFACE_DEFINED__ +#define __IEnumTfFunctionProviders_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfFunctionProviders, 0xe4b24db0, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e4b24db0-0990-11d3-8df0-00105a2799b5") +IEnumTfFunctionProviders : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfFunctionProviders **ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG count, + ITfFunctionProvider **prov, + ULONG *fetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfFunctionProviders, 0xe4b24db0, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct IEnumTfFunctionProvidersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfFunctionProviders *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfFunctionProviders *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfFunctionProviders *This); + + /*** IEnumTfFunctionProviders methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfFunctionProviders *This, + IEnumTfFunctionProviders **ret); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfFunctionProviders *This, + ULONG count, + ITfFunctionProvider **prov, + ULONG *fetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfFunctionProviders *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfFunctionProviders *This, + ULONG count); + + END_INTERFACE +} IEnumTfFunctionProvidersVtbl; + +interface IEnumTfFunctionProviders { + CONST_VTBL IEnumTfFunctionProvidersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfFunctionProviders_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfFunctionProviders_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfFunctionProviders_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfFunctionProviders methods ***/ +#define IEnumTfFunctionProviders_Clone(This,ret) (This)->lpVtbl->Clone(This,ret) +#define IEnumTfFunctionProviders_Next(This,count,prov,fetched) (This)->lpVtbl->Next(This,count,prov,fetched) +#define IEnumTfFunctionProviders_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfFunctionProviders_Skip(This,count) (This)->lpVtbl->Skip(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfFunctionProviders_QueryInterface(IEnumTfFunctionProviders* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfFunctionProviders_AddRef(IEnumTfFunctionProviders* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfFunctionProviders_Release(IEnumTfFunctionProviders* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfFunctionProviders methods ***/ +static FORCEINLINE HRESULT IEnumTfFunctionProviders_Clone(IEnumTfFunctionProviders* This,IEnumTfFunctionProviders **ret) { + return This->lpVtbl->Clone(This,ret); +} +static FORCEINLINE HRESULT IEnumTfFunctionProviders_Next(IEnumTfFunctionProviders* This,ULONG count,ITfFunctionProvider **prov,ULONG *fetched) { + return This->lpVtbl->Next(This,count,prov,fetched); +} +static FORCEINLINE HRESULT IEnumTfFunctionProviders_Reset(IEnumTfFunctionProviders* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfFunctionProviders_Skip(IEnumTfFunctionProviders* This,ULONG count) { + return This->lpVtbl->Skip(This,count); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfFunctionProviders_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfThreadMgr interface + */ +#ifndef __ITfThreadMgr_INTERFACE_DEFINED__ +#define __ITfThreadMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfThreadMgr, 0xaa80e801, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e801-2021-11d2-93e0-0060b067b86e") +ITfThreadMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Activate( + TfClientId *ptid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Deactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDocumentMgr( + ITfDocumentMgr **ppdim) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumDocumentMgrs( + IEnumTfDocumentMgrs **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFocus( + ITfDocumentMgr **ppdimFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFocus( + ITfDocumentMgr *pdimFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE AssociateFocus( + HWND hwnd, + ITfDocumentMgr *pdimNew, + ITfDocumentMgr **ppdimPrev) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsThreadFocus( + BOOL *pfThreadFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFunctionProvider( + REFCLSID clsid, + ITfFunctionProvider **ppFuncProv) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumFunctionProviders( + IEnumTfFunctionProviders **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGlobalCompartment( + ITfCompartmentMgr **ppCompMgr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfThreadMgr, 0xaa80e801, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfThreadMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfThreadMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfThreadMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfThreadMgr *This); + + /*** ITfThreadMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ITfThreadMgr *This, + TfClientId *ptid); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + ITfThreadMgr *This); + + HRESULT (STDMETHODCALLTYPE *CreateDocumentMgr)( + ITfThreadMgr *This, + ITfDocumentMgr **ppdim); + + HRESULT (STDMETHODCALLTYPE *EnumDocumentMgrs)( + ITfThreadMgr *This, + IEnumTfDocumentMgrs **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetFocus)( + ITfThreadMgr *This, + ITfDocumentMgr **ppdimFocus); + + HRESULT (STDMETHODCALLTYPE *SetFocus)( + ITfThreadMgr *This, + ITfDocumentMgr *pdimFocus); + + HRESULT (STDMETHODCALLTYPE *AssociateFocus)( + ITfThreadMgr *This, + HWND hwnd, + ITfDocumentMgr *pdimNew, + ITfDocumentMgr **ppdimPrev); + + HRESULT (STDMETHODCALLTYPE *IsThreadFocus)( + ITfThreadMgr *This, + BOOL *pfThreadFocus); + + HRESULT (STDMETHODCALLTYPE *GetFunctionProvider)( + ITfThreadMgr *This, + REFCLSID clsid, + ITfFunctionProvider **ppFuncProv); + + HRESULT (STDMETHODCALLTYPE *EnumFunctionProviders)( + ITfThreadMgr *This, + IEnumTfFunctionProviders **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetGlobalCompartment)( + ITfThreadMgr *This, + ITfCompartmentMgr **ppCompMgr); + + END_INTERFACE +} ITfThreadMgrVtbl; + +interface ITfThreadMgr { + CONST_VTBL ITfThreadMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfThreadMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfThreadMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfThreadMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfThreadMgr methods ***/ +#define ITfThreadMgr_Activate(This,ptid) (This)->lpVtbl->Activate(This,ptid) +#define ITfThreadMgr_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#define ITfThreadMgr_CreateDocumentMgr(This,ppdim) (This)->lpVtbl->CreateDocumentMgr(This,ppdim) +#define ITfThreadMgr_EnumDocumentMgrs(This,ppEnum) (This)->lpVtbl->EnumDocumentMgrs(This,ppEnum) +#define ITfThreadMgr_GetFocus(This,ppdimFocus) (This)->lpVtbl->GetFocus(This,ppdimFocus) +#define ITfThreadMgr_SetFocus(This,pdimFocus) (This)->lpVtbl->SetFocus(This,pdimFocus) +#define ITfThreadMgr_AssociateFocus(This,hwnd,pdimNew,ppdimPrev) (This)->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev) +#define ITfThreadMgr_IsThreadFocus(This,pfThreadFocus) (This)->lpVtbl->IsThreadFocus(This,pfThreadFocus) +#define ITfThreadMgr_GetFunctionProvider(This,clsid,ppFuncProv) (This)->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv) +#define ITfThreadMgr_EnumFunctionProviders(This,ppEnum) (This)->lpVtbl->EnumFunctionProviders(This,ppEnum) +#define ITfThreadMgr_GetGlobalCompartment(This,ppCompMgr) (This)->lpVtbl->GetGlobalCompartment(This,ppCompMgr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfThreadMgr_QueryInterface(ITfThreadMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfThreadMgr_AddRef(ITfThreadMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfThreadMgr_Release(ITfThreadMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfThreadMgr methods ***/ +static FORCEINLINE HRESULT ITfThreadMgr_Activate(ITfThreadMgr* This,TfClientId *ptid) { + return This->lpVtbl->Activate(This,ptid); +} +static FORCEINLINE HRESULT ITfThreadMgr_Deactivate(ITfThreadMgr* This) { + return This->lpVtbl->Deactivate(This); +} +static FORCEINLINE HRESULT ITfThreadMgr_CreateDocumentMgr(ITfThreadMgr* This,ITfDocumentMgr **ppdim) { + return This->lpVtbl->CreateDocumentMgr(This,ppdim); +} +static FORCEINLINE HRESULT ITfThreadMgr_EnumDocumentMgrs(ITfThreadMgr* This,IEnumTfDocumentMgrs **ppEnum) { + return This->lpVtbl->EnumDocumentMgrs(This,ppEnum); +} +static FORCEINLINE HRESULT ITfThreadMgr_GetFocus(ITfThreadMgr* This,ITfDocumentMgr **ppdimFocus) { + return This->lpVtbl->GetFocus(This,ppdimFocus); +} +static FORCEINLINE HRESULT ITfThreadMgr_SetFocus(ITfThreadMgr* This,ITfDocumentMgr *pdimFocus) { + return This->lpVtbl->SetFocus(This,pdimFocus); +} +static FORCEINLINE HRESULT ITfThreadMgr_AssociateFocus(ITfThreadMgr* This,HWND hwnd,ITfDocumentMgr *pdimNew,ITfDocumentMgr **ppdimPrev) { + return This->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev); +} +static FORCEINLINE HRESULT ITfThreadMgr_IsThreadFocus(ITfThreadMgr* This,BOOL *pfThreadFocus) { + return This->lpVtbl->IsThreadFocus(This,pfThreadFocus); +} +static FORCEINLINE HRESULT ITfThreadMgr_GetFunctionProvider(ITfThreadMgr* This,REFCLSID clsid,ITfFunctionProvider **ppFuncProv) { + return This->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv); +} +static FORCEINLINE HRESULT ITfThreadMgr_EnumFunctionProviders(ITfThreadMgr* This,IEnumTfFunctionProviders **ppEnum) { + return This->lpVtbl->EnumFunctionProviders(This,ppEnum); +} +static FORCEINLINE HRESULT ITfThreadMgr_GetGlobalCompartment(ITfThreadMgr* This,ITfCompartmentMgr **ppCompMgr) { + return This->lpVtbl->GetGlobalCompartment(This,ppCompMgr); +} +#endif +#endif + +#endif + + +#endif /* __ITfThreadMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfThreadMgrEx interface + */ +#ifndef __ITfThreadMgrEx_INTERFACE_DEFINED__ +#define __ITfThreadMgrEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfThreadMgrEx, 0x3e90ade3, 0x7594, 0x4cb0, 0xbb,0x58, 0x69,0x62,0x8f,0x5f,0x45,0x8c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3e90ade3-7594-4cb0-bb58-69628f5f458c") +ITfThreadMgrEx : public ITfThreadMgr +{ + virtual HRESULT STDMETHODCALLTYPE ActivateEx( + TfClientId *id, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveFlags( + DWORD *flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfThreadMgrEx, 0x3e90ade3, 0x7594, 0x4cb0, 0xbb,0x58, 0x69,0x62,0x8f,0x5f,0x45,0x8c) +#endif +#else +typedef struct ITfThreadMgrExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfThreadMgrEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfThreadMgrEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfThreadMgrEx *This); + + /*** ITfThreadMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ITfThreadMgrEx *This, + TfClientId *ptid); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + ITfThreadMgrEx *This); + + HRESULT (STDMETHODCALLTYPE *CreateDocumentMgr)( + ITfThreadMgrEx *This, + ITfDocumentMgr **ppdim); + + HRESULT (STDMETHODCALLTYPE *EnumDocumentMgrs)( + ITfThreadMgrEx *This, + IEnumTfDocumentMgrs **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetFocus)( + ITfThreadMgrEx *This, + ITfDocumentMgr **ppdimFocus); + + HRESULT (STDMETHODCALLTYPE *SetFocus)( + ITfThreadMgrEx *This, + ITfDocumentMgr *pdimFocus); + + HRESULT (STDMETHODCALLTYPE *AssociateFocus)( + ITfThreadMgrEx *This, + HWND hwnd, + ITfDocumentMgr *pdimNew, + ITfDocumentMgr **ppdimPrev); + + HRESULT (STDMETHODCALLTYPE *IsThreadFocus)( + ITfThreadMgrEx *This, + BOOL *pfThreadFocus); + + HRESULT (STDMETHODCALLTYPE *GetFunctionProvider)( + ITfThreadMgrEx *This, + REFCLSID clsid, + ITfFunctionProvider **ppFuncProv); + + HRESULT (STDMETHODCALLTYPE *EnumFunctionProviders)( + ITfThreadMgrEx *This, + IEnumTfFunctionProviders **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetGlobalCompartment)( + ITfThreadMgrEx *This, + ITfCompartmentMgr **ppCompMgr); + + /*** ITfThreadMgrEx methods ***/ + HRESULT (STDMETHODCALLTYPE *ActivateEx)( + ITfThreadMgrEx *This, + TfClientId *id, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *GetActiveFlags)( + ITfThreadMgrEx *This, + DWORD *flags); + + END_INTERFACE +} ITfThreadMgrExVtbl; + +interface ITfThreadMgrEx { + CONST_VTBL ITfThreadMgrExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfThreadMgrEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfThreadMgrEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfThreadMgrEx_Release(This) (This)->lpVtbl->Release(This) +/*** ITfThreadMgr methods ***/ +#define ITfThreadMgrEx_Activate(This,ptid) (This)->lpVtbl->Activate(This,ptid) +#define ITfThreadMgrEx_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#define ITfThreadMgrEx_CreateDocumentMgr(This,ppdim) (This)->lpVtbl->CreateDocumentMgr(This,ppdim) +#define ITfThreadMgrEx_EnumDocumentMgrs(This,ppEnum) (This)->lpVtbl->EnumDocumentMgrs(This,ppEnum) +#define ITfThreadMgrEx_GetFocus(This,ppdimFocus) (This)->lpVtbl->GetFocus(This,ppdimFocus) +#define ITfThreadMgrEx_SetFocus(This,pdimFocus) (This)->lpVtbl->SetFocus(This,pdimFocus) +#define ITfThreadMgrEx_AssociateFocus(This,hwnd,pdimNew,ppdimPrev) (This)->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev) +#define ITfThreadMgrEx_IsThreadFocus(This,pfThreadFocus) (This)->lpVtbl->IsThreadFocus(This,pfThreadFocus) +#define ITfThreadMgrEx_GetFunctionProvider(This,clsid,ppFuncProv) (This)->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv) +#define ITfThreadMgrEx_EnumFunctionProviders(This,ppEnum) (This)->lpVtbl->EnumFunctionProviders(This,ppEnum) +#define ITfThreadMgrEx_GetGlobalCompartment(This,ppCompMgr) (This)->lpVtbl->GetGlobalCompartment(This,ppCompMgr) +/*** ITfThreadMgrEx methods ***/ +#define ITfThreadMgrEx_ActivateEx(This,id,flags) (This)->lpVtbl->ActivateEx(This,id,flags) +#define ITfThreadMgrEx_GetActiveFlags(This,flags) (This)->lpVtbl->GetActiveFlags(This,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfThreadMgrEx_QueryInterface(ITfThreadMgrEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfThreadMgrEx_AddRef(ITfThreadMgrEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfThreadMgrEx_Release(ITfThreadMgrEx* This) { + return This->lpVtbl->Release(This); +} +/*** ITfThreadMgr methods ***/ +static FORCEINLINE HRESULT ITfThreadMgrEx_Activate(ITfThreadMgrEx* This,TfClientId *ptid) { + return This->lpVtbl->Activate(This,ptid); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_Deactivate(ITfThreadMgrEx* This) { + return This->lpVtbl->Deactivate(This); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_CreateDocumentMgr(ITfThreadMgrEx* This,ITfDocumentMgr **ppdim) { + return This->lpVtbl->CreateDocumentMgr(This,ppdim); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_EnumDocumentMgrs(ITfThreadMgrEx* This,IEnumTfDocumentMgrs **ppEnum) { + return This->lpVtbl->EnumDocumentMgrs(This,ppEnum); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_GetFocus(ITfThreadMgrEx* This,ITfDocumentMgr **ppdimFocus) { + return This->lpVtbl->GetFocus(This,ppdimFocus); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_SetFocus(ITfThreadMgrEx* This,ITfDocumentMgr *pdimFocus) { + return This->lpVtbl->SetFocus(This,pdimFocus); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_AssociateFocus(ITfThreadMgrEx* This,HWND hwnd,ITfDocumentMgr *pdimNew,ITfDocumentMgr **ppdimPrev) { + return This->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_IsThreadFocus(ITfThreadMgrEx* This,BOOL *pfThreadFocus) { + return This->lpVtbl->IsThreadFocus(This,pfThreadFocus); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_GetFunctionProvider(ITfThreadMgrEx* This,REFCLSID clsid,ITfFunctionProvider **ppFuncProv) { + return This->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_EnumFunctionProviders(ITfThreadMgrEx* This,IEnumTfFunctionProviders **ppEnum) { + return This->lpVtbl->EnumFunctionProviders(This,ppEnum); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_GetGlobalCompartment(ITfThreadMgrEx* This,ITfCompartmentMgr **ppCompMgr) { + return This->lpVtbl->GetGlobalCompartment(This,ppCompMgr); +} +/*** ITfThreadMgrEx methods ***/ +static FORCEINLINE HRESULT ITfThreadMgrEx_ActivateEx(ITfThreadMgrEx* This,TfClientId *id,DWORD flags) { + return This->lpVtbl->ActivateEx(This,id,flags); +} +static FORCEINLINE HRESULT ITfThreadMgrEx_GetActiveFlags(ITfThreadMgrEx* This,DWORD *flags) { + return This->lpVtbl->GetActiveFlags(This,flags); +} +#endif +#endif + +#endif + + +#endif /* __ITfThreadMgrEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfCompositionView interface + */ +#ifndef __ITfCompositionView_INTERFACE_DEFINED__ +#define __ITfCompositionView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfCompositionView, 0xd7540241, 0xf9a1, 0x4364, 0xbe,0xfc, 0xdb,0xcd,0x2c,0x43,0x95,0xb7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d7540241-f9a1-4364-befc-dbcd2c4395b7") +ITfCompositionView : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetOwnerClsid( + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRange( + ITfRange **ppRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfCompositionView, 0xd7540241, 0xf9a1, 0x4364, 0xbe,0xfc, 0xdb,0xcd,0x2c,0x43,0x95,0xb7) +#endif +#else +typedef struct ITfCompositionViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfCompositionView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfCompositionView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfCompositionView *This); + + /*** ITfCompositionView methods ***/ + HRESULT (STDMETHODCALLTYPE *GetOwnerClsid)( + ITfCompositionView *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetRange)( + ITfCompositionView *This, + ITfRange **ppRange); + + END_INTERFACE +} ITfCompositionViewVtbl; + +interface ITfCompositionView { + CONST_VTBL ITfCompositionViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfCompositionView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfCompositionView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfCompositionView_Release(This) (This)->lpVtbl->Release(This) +/*** ITfCompositionView methods ***/ +#define ITfCompositionView_GetOwnerClsid(This,pclsid) (This)->lpVtbl->GetOwnerClsid(This,pclsid) +#define ITfCompositionView_GetRange(This,ppRange) (This)->lpVtbl->GetRange(This,ppRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfCompositionView_QueryInterface(ITfCompositionView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfCompositionView_AddRef(ITfCompositionView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfCompositionView_Release(ITfCompositionView* This) { + return This->lpVtbl->Release(This); +} +/*** ITfCompositionView methods ***/ +static FORCEINLINE HRESULT ITfCompositionView_GetOwnerClsid(ITfCompositionView* This,CLSID *pclsid) { + return This->lpVtbl->GetOwnerClsid(This,pclsid); +} +static FORCEINLINE HRESULT ITfCompositionView_GetRange(ITfCompositionView* This,ITfRange **ppRange) { + return This->lpVtbl->GetRange(This,ppRange); +} +#endif +#endif + +#endif + + +#endif /* __ITfCompositionView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfDocumentMgr interface + */ +#ifndef __ITfDocumentMgr_INTERFACE_DEFINED__ +#define __ITfDocumentMgr_INTERFACE_DEFINED__ + +#define TF_POPF_ALL (0x1) + +DEFINE_GUID(IID_ITfDocumentMgr, 0xaa80e7f4, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e7f4-2021-11d2-93e0-0060b067b86e") +ITfDocumentMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateContext( + TfClientId tidOwner, + DWORD dwFlags, + IUnknown *punk, + ITfContext **ppic, + TfEditCookie *pecTextStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE Push( + ITfContext *pic) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pop( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTop( + ITfContext **ppic) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBase( + ITfContext **ppic) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumContexts( + IEnumTfContexts **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfDocumentMgr, 0xaa80e7f4, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfDocumentMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfDocumentMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfDocumentMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfDocumentMgr *This); + + /*** ITfDocumentMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateContext)( + ITfDocumentMgr *This, + TfClientId tidOwner, + DWORD dwFlags, + IUnknown *punk, + ITfContext **ppic, + TfEditCookie *pecTextStore); + + HRESULT (STDMETHODCALLTYPE *Push)( + ITfDocumentMgr *This, + ITfContext *pic); + + HRESULT (STDMETHODCALLTYPE *Pop)( + ITfDocumentMgr *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetTop)( + ITfDocumentMgr *This, + ITfContext **ppic); + + HRESULT (STDMETHODCALLTYPE *GetBase)( + ITfDocumentMgr *This, + ITfContext **ppic); + + HRESULT (STDMETHODCALLTYPE *EnumContexts)( + ITfDocumentMgr *This, + IEnumTfContexts **ppEnum); + + END_INTERFACE +} ITfDocumentMgrVtbl; + +interface ITfDocumentMgr { + CONST_VTBL ITfDocumentMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfDocumentMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfDocumentMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfDocumentMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfDocumentMgr methods ***/ +#define ITfDocumentMgr_CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore) (This)->lpVtbl->CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore) +#define ITfDocumentMgr_Push(This,pic) (This)->lpVtbl->Push(This,pic) +#define ITfDocumentMgr_Pop(This,dwFlags) (This)->lpVtbl->Pop(This,dwFlags) +#define ITfDocumentMgr_GetTop(This,ppic) (This)->lpVtbl->GetTop(This,ppic) +#define ITfDocumentMgr_GetBase(This,ppic) (This)->lpVtbl->GetBase(This,ppic) +#define ITfDocumentMgr_EnumContexts(This,ppEnum) (This)->lpVtbl->EnumContexts(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfDocumentMgr_QueryInterface(ITfDocumentMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfDocumentMgr_AddRef(ITfDocumentMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfDocumentMgr_Release(ITfDocumentMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfDocumentMgr methods ***/ +static FORCEINLINE HRESULT ITfDocumentMgr_CreateContext(ITfDocumentMgr* This,TfClientId tidOwner,DWORD dwFlags,IUnknown *punk,ITfContext **ppic,TfEditCookie *pecTextStore) { + return This->lpVtbl->CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore); +} +static FORCEINLINE HRESULT ITfDocumentMgr_Push(ITfDocumentMgr* This,ITfContext *pic) { + return This->lpVtbl->Push(This,pic); +} +static FORCEINLINE HRESULT ITfDocumentMgr_Pop(ITfDocumentMgr* This,DWORD dwFlags) { + return This->lpVtbl->Pop(This,dwFlags); +} +static FORCEINLINE HRESULT ITfDocumentMgr_GetTop(ITfDocumentMgr* This,ITfContext **ppic) { + return This->lpVtbl->GetTop(This,ppic); +} +static FORCEINLINE HRESULT ITfDocumentMgr_GetBase(ITfDocumentMgr* This,ITfContext **ppic) { + return This->lpVtbl->GetBase(This,ppic); +} +static FORCEINLINE HRESULT ITfDocumentMgr_EnumContexts(ITfDocumentMgr* This,IEnumTfContexts **ppEnum) { + return This->lpVtbl->EnumContexts(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __ITfDocumentMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfContextView interface + */ +#ifndef __ITfContextView_INTERFACE_DEFINED__ +#define __ITfContextView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfContextView, 0x2433bf8e, 0x0f9b, 0x435c, 0xba,0x2c, 0x18,0x06,0x11,0x97,0x8c,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2433bf8e-0f9b-435c-ba2c-180611978c30") +ITfContextView : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRangeFromPoint( + TfEditCookie cookie, + const POINT *pt, + DWORD flags, + ITfRange **range) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextExt( + TfEditCookie cookie, + ITfRange *range, + RECT *rect, + BOOL *clipped) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScreenExt( + RECT *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWnd( + HWND *hwnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfContextView, 0x2433bf8e, 0x0f9b, 0x435c, 0xba,0x2c, 0x18,0x06,0x11,0x97,0x8c,0x30) +#endif +#else +typedef struct ITfContextViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfContextView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfContextView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfContextView *This); + + /*** ITfContextView methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRangeFromPoint)( + ITfContextView *This, + TfEditCookie cookie, + const POINT *pt, + DWORD flags, + ITfRange **range); + + HRESULT (STDMETHODCALLTYPE *GetTextExt)( + ITfContextView *This, + TfEditCookie cookie, + ITfRange *range, + RECT *rect, + BOOL *clipped); + + HRESULT (STDMETHODCALLTYPE *GetScreenExt)( + ITfContextView *This, + RECT *rect); + + HRESULT (STDMETHODCALLTYPE *GetWnd)( + ITfContextView *This, + HWND *hwnd); + + END_INTERFACE +} ITfContextViewVtbl; + +interface ITfContextView { + CONST_VTBL ITfContextViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfContextView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfContextView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfContextView_Release(This) (This)->lpVtbl->Release(This) +/*** ITfContextView methods ***/ +#define ITfContextView_GetRangeFromPoint(This,cookie,pt,flags,range) (This)->lpVtbl->GetRangeFromPoint(This,cookie,pt,flags,range) +#define ITfContextView_GetTextExt(This,cookie,range,rect,clipped) (This)->lpVtbl->GetTextExt(This,cookie,range,rect,clipped) +#define ITfContextView_GetScreenExt(This,rect) (This)->lpVtbl->GetScreenExt(This,rect) +#define ITfContextView_GetWnd(This,hwnd) (This)->lpVtbl->GetWnd(This,hwnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfContextView_QueryInterface(ITfContextView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfContextView_AddRef(ITfContextView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfContextView_Release(ITfContextView* This) { + return This->lpVtbl->Release(This); +} +/*** ITfContextView methods ***/ +static FORCEINLINE HRESULT ITfContextView_GetRangeFromPoint(ITfContextView* This,TfEditCookie cookie,const POINT *pt,DWORD flags,ITfRange **range) { + return This->lpVtbl->GetRangeFromPoint(This,cookie,pt,flags,range); +} +static FORCEINLINE HRESULT ITfContextView_GetTextExt(ITfContextView* This,TfEditCookie cookie,ITfRange *range,RECT *rect,BOOL *clipped) { + return This->lpVtbl->GetTextExt(This,cookie,range,rect,clipped); +} +static FORCEINLINE HRESULT ITfContextView_GetScreenExt(ITfContextView* This,RECT *rect) { + return This->lpVtbl->GetScreenExt(This,rect); +} +static FORCEINLINE HRESULT ITfContextView_GetWnd(ITfContextView* This,HWND *hwnd) { + return This->lpVtbl->GetWnd(This,hwnd); +} +#endif +#endif + +#endif + + +#endif /* __ITfContextView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfContextViews interface + */ +#ifndef __IEnumTfContextViews_INTERFACE_DEFINED__ +#define __IEnumTfContextViews_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfContextViews, 0xf0c0f8dd, 0xcf38, 0x44e1, 0xbb,0x0f, 0x68,0xcf,0x0d,0x55,0x1c,0x78); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78") +IEnumTfContextViews : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfContextViews **ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG count, + ITfContextView **views, + ULONG *fetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfContextViews, 0xf0c0f8dd, 0xcf38, 0x44e1, 0xbb,0x0f, 0x68,0xcf,0x0d,0x55,0x1c,0x78) +#endif +#else +typedef struct IEnumTfContextViewsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfContextViews *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfContextViews *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfContextViews *This); + + /*** IEnumTfContextViews methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfContextViews *This, + IEnumTfContextViews **ret); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfContextViews *This, + ULONG count, + ITfContextView **views, + ULONG *fetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfContextViews *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfContextViews *This, + ULONG count); + + END_INTERFACE +} IEnumTfContextViewsVtbl; + +interface IEnumTfContextViews { + CONST_VTBL IEnumTfContextViewsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfContextViews_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfContextViews_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfContextViews_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfContextViews methods ***/ +#define IEnumTfContextViews_Clone(This,ret) (This)->lpVtbl->Clone(This,ret) +#define IEnumTfContextViews_Next(This,count,views,fetched) (This)->lpVtbl->Next(This,count,views,fetched) +#define IEnumTfContextViews_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfContextViews_Skip(This,count) (This)->lpVtbl->Skip(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfContextViews_QueryInterface(IEnumTfContextViews* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfContextViews_AddRef(IEnumTfContextViews* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfContextViews_Release(IEnumTfContextViews* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfContextViews methods ***/ +static FORCEINLINE HRESULT IEnumTfContextViews_Clone(IEnumTfContextViews* This,IEnumTfContextViews **ret) { + return This->lpVtbl->Clone(This,ret); +} +static FORCEINLINE HRESULT IEnumTfContextViews_Next(IEnumTfContextViews* This,ULONG count,ITfContextView **views,ULONG *fetched) { + return This->lpVtbl->Next(This,count,views,fetched); +} +static FORCEINLINE HRESULT IEnumTfContextViews_Reset(IEnumTfContextViews* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfContextViews_Skip(IEnumTfContextViews* This,ULONG count) { + return This->lpVtbl->Skip(This,count); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfContextViews_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfProperties interface + */ +#ifndef __IEnumTfProperties_INTERFACE_DEFINED__ +#define __IEnumTfProperties_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfProperties, 0x19188cb0, 0xaca9, 0x11d2, 0xaf,0xc5, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("19188cb0-aca9-11d2-afc5-00105a2799b5") +IEnumTfProperties : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfProperties **ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG count, + ITfProperty **props, + ULONG *fetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfProperties, 0x19188cb0, 0xaca9, 0x11d2, 0xaf,0xc5, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct IEnumTfPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfProperties *This); + + /*** IEnumTfProperties methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfProperties *This, + IEnumTfProperties **ret); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfProperties *This, + ULONG count, + ITfProperty **props, + ULONG *fetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfProperties *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfProperties *This, + ULONG count); + + END_INTERFACE +} IEnumTfPropertiesVtbl; + +interface IEnumTfProperties { + CONST_VTBL IEnumTfPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfProperties_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfProperties methods ***/ +#define IEnumTfProperties_Clone(This,ret) (This)->lpVtbl->Clone(This,ret) +#define IEnumTfProperties_Next(This,count,props,fetched) (This)->lpVtbl->Next(This,count,props,fetched) +#define IEnumTfProperties_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfProperties_Skip(This,count) (This)->lpVtbl->Skip(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfProperties_QueryInterface(IEnumTfProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfProperties_AddRef(IEnumTfProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfProperties_Release(IEnumTfProperties* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfProperties methods ***/ +static FORCEINLINE HRESULT IEnumTfProperties_Clone(IEnumTfProperties* This,IEnumTfProperties **ret) { + return This->lpVtbl->Clone(This,ret); +} +static FORCEINLINE HRESULT IEnumTfProperties_Next(IEnumTfProperties* This,ULONG count,ITfProperty **props,ULONG *fetched) { + return This->lpVtbl->Next(This,count,props,fetched); +} +static FORCEINLINE HRESULT IEnumTfProperties_Reset(IEnumTfProperties* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfProperties_Skip(IEnumTfProperties* This,ULONG count) { + return This->lpVtbl->Skip(This,count); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfRangeBackup interface + */ +#ifndef __ITfRangeBackup_INTERFACE_DEFINED__ +#define __ITfRangeBackup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfRangeBackup, 0x463a506d, 0x6992, 0x49d2, 0x9b,0x88, 0x93,0xd5,0x5e,0x70,0xbb,0x16); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("463a506d-6992-49d2-9b88-93d55e70bb16") +ITfRangeBackup : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Restore( + TfEditCookie cookie, + ITfRange *range) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfRangeBackup, 0x463a506d, 0x6992, 0x49d2, 0x9b,0x88, 0x93,0xd5,0x5e,0x70,0xbb,0x16) +#endif +#else +typedef struct ITfRangeBackupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfRangeBackup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfRangeBackup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfRangeBackup *This); + + /*** ITfRangeBackup methods ***/ + HRESULT (STDMETHODCALLTYPE *Restore)( + ITfRangeBackup *This, + TfEditCookie cookie, + ITfRange *range); + + END_INTERFACE +} ITfRangeBackupVtbl; + +interface ITfRangeBackup { + CONST_VTBL ITfRangeBackupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfRangeBackup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfRangeBackup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfRangeBackup_Release(This) (This)->lpVtbl->Release(This) +/*** ITfRangeBackup methods ***/ +#define ITfRangeBackup_Restore(This,cookie,range) (This)->lpVtbl->Restore(This,cookie,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfRangeBackup_QueryInterface(ITfRangeBackup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfRangeBackup_AddRef(ITfRangeBackup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfRangeBackup_Release(ITfRangeBackup* This) { + return This->lpVtbl->Release(This); +} +/*** ITfRangeBackup methods ***/ +static FORCEINLINE HRESULT ITfRangeBackup_Restore(ITfRangeBackup* This,TfEditCookie cookie,ITfRange *range) { + return This->lpVtbl->Restore(This,cookie,range); +} +#endif +#endif + +#endif + + +#endif /* __ITfRangeBackup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITextStoreACPServices interface + */ +#ifndef __ITextStoreACPServices_INTERFACE_DEFINED__ +#define __ITextStoreACPServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextStoreACPServices, 0xaa80e901, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e901-2021-11d2-93e0-0060b067b86e") +ITextStoreACPServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Serialize( + ITfProperty *prop, + ITfRange *range, + TF_PERSISTENT_PROPERTY_HEADER_ACP *header, + IStream *stream) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unserialize( + ITfProperty *prop, + const TF_PERSISTENT_PROPERTY_HEADER_ACP *header, + IStream *stream, + ITfPersistentPropertyLoaderACP *loader) = 0; + + virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty( + ITfProperty *prop) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRange( + LONG start, + LONG end, + ITfRangeACP **range) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextStoreACPServices, 0xaa80e901, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITextStoreACPServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextStoreACPServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextStoreACPServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextStoreACPServices *This); + + /*** ITextStoreACPServices methods ***/ + HRESULT (STDMETHODCALLTYPE *Serialize)( + ITextStoreACPServices *This, + ITfProperty *prop, + ITfRange *range, + TF_PERSISTENT_PROPERTY_HEADER_ACP *header, + IStream *stream); + + HRESULT (STDMETHODCALLTYPE *Unserialize)( + ITextStoreACPServices *This, + ITfProperty *prop, + const TF_PERSISTENT_PROPERTY_HEADER_ACP *header, + IStream *stream, + ITfPersistentPropertyLoaderACP *loader); + + HRESULT (STDMETHODCALLTYPE *ForceLoadProperty)( + ITextStoreACPServices *This, + ITfProperty *prop); + + HRESULT (STDMETHODCALLTYPE *CreateRange)( + ITextStoreACPServices *This, + LONG start, + LONG end, + ITfRangeACP **range); + + END_INTERFACE +} ITextStoreACPServicesVtbl; + +interface ITextStoreACPServices { + CONST_VTBL ITextStoreACPServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextStoreACPServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextStoreACPServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextStoreACPServices_Release(This) (This)->lpVtbl->Release(This) +/*** ITextStoreACPServices methods ***/ +#define ITextStoreACPServices_Serialize(This,prop,range,header,stream) (This)->lpVtbl->Serialize(This,prop,range,header,stream) +#define ITextStoreACPServices_Unserialize(This,prop,header,stream,loader) (This)->lpVtbl->Unserialize(This,prop,header,stream,loader) +#define ITextStoreACPServices_ForceLoadProperty(This,prop) (This)->lpVtbl->ForceLoadProperty(This,prop) +#define ITextStoreACPServices_CreateRange(This,start,end,range) (This)->lpVtbl->CreateRange(This,start,end,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextStoreACPServices_QueryInterface(ITextStoreACPServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextStoreACPServices_AddRef(ITextStoreACPServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextStoreACPServices_Release(ITextStoreACPServices* This) { + return This->lpVtbl->Release(This); +} +/*** ITextStoreACPServices methods ***/ +static FORCEINLINE HRESULT ITextStoreACPServices_Serialize(ITextStoreACPServices* This,ITfProperty *prop,ITfRange *range,TF_PERSISTENT_PROPERTY_HEADER_ACP *header,IStream *stream) { + return This->lpVtbl->Serialize(This,prop,range,header,stream); +} +static FORCEINLINE HRESULT ITextStoreACPServices_Unserialize(ITextStoreACPServices* This,ITfProperty *prop,const TF_PERSISTENT_PROPERTY_HEADER_ACP *header,IStream *stream,ITfPersistentPropertyLoaderACP *loader) { + return This->lpVtbl->Unserialize(This,prop,header,stream,loader); +} +static FORCEINLINE HRESULT ITextStoreACPServices_ForceLoadProperty(ITextStoreACPServices* This,ITfProperty *prop) { + return This->lpVtbl->ForceLoadProperty(This,prop); +} +static FORCEINLINE HRESULT ITextStoreACPServices_CreateRange(ITextStoreACPServices* This,LONG start,LONG end,ITfRangeACP **range) { + return This->lpVtbl->CreateRange(This,start,end,range); +} +#endif +#endif + +#endif + + +#endif /* __ITextStoreACPServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfContext interface + */ +#ifndef __ITfContext_INTERFACE_DEFINED__ +#define __ITfContext_INTERFACE_DEFINED__ + +#define TF_ES_ASYNCDONTCARE (0x0) + +#define TF_ES_SYNC (0x1) + +#define TF_ES_READ (0x2) + +#define TF_ES_READWRITE (0x6) + +#define TF_ES_ASYNC (0x8) + +typedef enum __WIDL_msctf_generated_name_00000006 { + TF_AE_NONE = 0, + TF_AE_START = 1, + TF_AE_END = 2 +} TfActiveSelEnd; +typedef struct TF_SELECTIONSTYLE { + TfActiveSelEnd ase; + BOOL fInterimChar; +} TF_SELECTIONSTYLE; +typedef struct TF_SELECTION { + ITfRange *range; + TF_SELECTIONSTYLE style; +} TF_SELECTION; +#define TF_DEFAULT_SELECTION (TS_DEFAULT_SELECTION) + +typedef TS_STATUS TF_STATUS; +#define TF_SD_READONLY (TS_SD_READONLY) + +#define TF_SD_LOADING (TS_SD_LOADING) + +#define TF_SS_DISJOINTSEL (TS_SS_DISJOINTSEL) + +#define TF_SS_REGIONS (TS_SS_REGIONS) + +#define TF_SS_TRANSITORY (TS_SS_TRANSITORY) + +DEFINE_GUID(IID_ITfContext, 0xaa80e7fd, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e7fd-2021-11d2-93e0-0060b067b86e") +ITfContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RequestEditSession( + TfClientId tid, + ITfEditSession *pes, + DWORD dwFlags, + HRESULT *phrSession) = 0; + + virtual HRESULT STDMETHODCALLTYPE InWriteSession( + TfClientId tid, + BOOL *pfWriteSession) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelection( + TfEditCookie ec, + ULONG ulIndex, + ULONG ulCount, + TF_SELECTION *pSelection, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSelection( + TfEditCookie ec, + ULONG ulCount, + const TF_SELECTION *pSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStart( + TfEditCookie ec, + ITfRange **ppStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnd( + TfEditCookie ec, + ITfRange **ppEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveView( + ITfContextView **ppView) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumViews( + IEnumTfContextViews **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + TF_STATUS *pdcs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + REFGUID guidProp, + ITfProperty **ppProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAppProperty( + REFGUID guidProp, + ITfReadOnlyProperty **ppProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE TrackProperties( + const GUID **prgProp, + ULONG cProp, + const GUID **prgAppProp, + ULONG cAppProp, + ITfReadOnlyProperty **ppProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumProperties( + IEnumTfProperties **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocumentMgr( + ITfDocumentMgr **ppDm) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRangeBackup( + TfEditCookie ec, + ITfRange *pRange, + ITfRangeBackup **ppBackup) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfContext, 0xaa80e7fd, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfContext *This); + + /*** ITfContext methods ***/ + HRESULT (STDMETHODCALLTYPE *RequestEditSession)( + ITfContext *This, + TfClientId tid, + ITfEditSession *pes, + DWORD dwFlags, + HRESULT *phrSession); + + HRESULT (STDMETHODCALLTYPE *InWriteSession)( + ITfContext *This, + TfClientId tid, + BOOL *pfWriteSession); + + HRESULT (STDMETHODCALLTYPE *GetSelection)( + ITfContext *This, + TfEditCookie ec, + ULONG ulIndex, + ULONG ulCount, + TF_SELECTION *pSelection, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *SetSelection)( + ITfContext *This, + TfEditCookie ec, + ULONG ulCount, + const TF_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *GetStart)( + ITfContext *This, + TfEditCookie ec, + ITfRange **ppStart); + + HRESULT (STDMETHODCALLTYPE *GetEnd)( + ITfContext *This, + TfEditCookie ec, + ITfRange **ppEnd); + + HRESULT (STDMETHODCALLTYPE *GetActiveView)( + ITfContext *This, + ITfContextView **ppView); + + HRESULT (STDMETHODCALLTYPE *EnumViews)( + ITfContext *This, + IEnumTfContextViews **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + ITfContext *This, + TF_STATUS *pdcs); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + ITfContext *This, + REFGUID guidProp, + ITfProperty **ppProp); + + HRESULT (STDMETHODCALLTYPE *GetAppProperty)( + ITfContext *This, + REFGUID guidProp, + ITfReadOnlyProperty **ppProp); + + HRESULT (STDMETHODCALLTYPE *TrackProperties)( + ITfContext *This, + const GUID **prgProp, + ULONG cProp, + const GUID **prgAppProp, + ULONG cAppProp, + ITfReadOnlyProperty **ppProperty); + + HRESULT (STDMETHODCALLTYPE *EnumProperties)( + ITfContext *This, + IEnumTfProperties **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetDocumentMgr)( + ITfContext *This, + ITfDocumentMgr **ppDm); + + HRESULT (STDMETHODCALLTYPE *CreateRangeBackup)( + ITfContext *This, + TfEditCookie ec, + ITfRange *pRange, + ITfRangeBackup **ppBackup); + + END_INTERFACE +} ITfContextVtbl; + +interface ITfContext { + CONST_VTBL ITfContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfContext_Release(This) (This)->lpVtbl->Release(This) +/*** ITfContext methods ***/ +#define ITfContext_RequestEditSession(This,tid,pes,dwFlags,phrSession) (This)->lpVtbl->RequestEditSession(This,tid,pes,dwFlags,phrSession) +#define ITfContext_InWriteSession(This,tid,pfWriteSession) (This)->lpVtbl->InWriteSession(This,tid,pfWriteSession) +#define ITfContext_GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched) (This)->lpVtbl->GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched) +#define ITfContext_SetSelection(This,ec,ulCount,pSelection) (This)->lpVtbl->SetSelection(This,ec,ulCount,pSelection) +#define ITfContext_GetStart(This,ec,ppStart) (This)->lpVtbl->GetStart(This,ec,ppStart) +#define ITfContext_GetEnd(This,ec,ppEnd) (This)->lpVtbl->GetEnd(This,ec,ppEnd) +#define ITfContext_GetActiveView(This,ppView) (This)->lpVtbl->GetActiveView(This,ppView) +#define ITfContext_EnumViews(This,ppEnum) (This)->lpVtbl->EnumViews(This,ppEnum) +#define ITfContext_GetStatus(This,pdcs) (This)->lpVtbl->GetStatus(This,pdcs) +#define ITfContext_GetProperty(This,guidProp,ppProp) (This)->lpVtbl->GetProperty(This,guidProp,ppProp) +#define ITfContext_GetAppProperty(This,guidProp,ppProp) (This)->lpVtbl->GetAppProperty(This,guidProp,ppProp) +#define ITfContext_TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty) (This)->lpVtbl->TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty) +#define ITfContext_EnumProperties(This,ppEnum) (This)->lpVtbl->EnumProperties(This,ppEnum) +#define ITfContext_GetDocumentMgr(This,ppDm) (This)->lpVtbl->GetDocumentMgr(This,ppDm) +#define ITfContext_CreateRangeBackup(This,ec,pRange,ppBackup) (This)->lpVtbl->CreateRangeBackup(This,ec,pRange,ppBackup) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfContext_QueryInterface(ITfContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfContext_AddRef(ITfContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfContext_Release(ITfContext* This) { + return This->lpVtbl->Release(This); +} +/*** ITfContext methods ***/ +static FORCEINLINE HRESULT ITfContext_RequestEditSession(ITfContext* This,TfClientId tid,ITfEditSession *pes,DWORD dwFlags,HRESULT *phrSession) { + return This->lpVtbl->RequestEditSession(This,tid,pes,dwFlags,phrSession); +} +static FORCEINLINE HRESULT ITfContext_InWriteSession(ITfContext* This,TfClientId tid,BOOL *pfWriteSession) { + return This->lpVtbl->InWriteSession(This,tid,pfWriteSession); +} +static FORCEINLINE HRESULT ITfContext_GetSelection(ITfContext* This,TfEditCookie ec,ULONG ulIndex,ULONG ulCount,TF_SELECTION *pSelection,ULONG *pcFetched) { + return This->lpVtbl->GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched); +} +static FORCEINLINE HRESULT ITfContext_SetSelection(ITfContext* This,TfEditCookie ec,ULONG ulCount,const TF_SELECTION *pSelection) { + return This->lpVtbl->SetSelection(This,ec,ulCount,pSelection); +} +static FORCEINLINE HRESULT ITfContext_GetStart(ITfContext* This,TfEditCookie ec,ITfRange **ppStart) { + return This->lpVtbl->GetStart(This,ec,ppStart); +} +static FORCEINLINE HRESULT ITfContext_GetEnd(ITfContext* This,TfEditCookie ec,ITfRange **ppEnd) { + return This->lpVtbl->GetEnd(This,ec,ppEnd); +} +static FORCEINLINE HRESULT ITfContext_GetActiveView(ITfContext* This,ITfContextView **ppView) { + return This->lpVtbl->GetActiveView(This,ppView); +} +static FORCEINLINE HRESULT ITfContext_EnumViews(ITfContext* This,IEnumTfContextViews **ppEnum) { + return This->lpVtbl->EnumViews(This,ppEnum); +} +static FORCEINLINE HRESULT ITfContext_GetStatus(ITfContext* This,TF_STATUS *pdcs) { + return This->lpVtbl->GetStatus(This,pdcs); +} +static FORCEINLINE HRESULT ITfContext_GetProperty(ITfContext* This,REFGUID guidProp,ITfProperty **ppProp) { + return This->lpVtbl->GetProperty(This,guidProp,ppProp); +} +static FORCEINLINE HRESULT ITfContext_GetAppProperty(ITfContext* This,REFGUID guidProp,ITfReadOnlyProperty **ppProp) { + return This->lpVtbl->GetAppProperty(This,guidProp,ppProp); +} +static FORCEINLINE HRESULT ITfContext_TrackProperties(ITfContext* This,const GUID **prgProp,ULONG cProp,const GUID **prgAppProp,ULONG cAppProp,ITfReadOnlyProperty **ppProperty) { + return This->lpVtbl->TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty); +} +static FORCEINLINE HRESULT ITfContext_EnumProperties(ITfContext* This,IEnumTfProperties **ppEnum) { + return This->lpVtbl->EnumProperties(This,ppEnum); +} +static FORCEINLINE HRESULT ITfContext_GetDocumentMgr(ITfContext* This,ITfDocumentMgr **ppDm) { + return This->lpVtbl->GetDocumentMgr(This,ppDm); +} +static FORCEINLINE HRESULT ITfContext_CreateRangeBackup(ITfContext* This,TfEditCookie ec,ITfRange *pRange,ITfRangeBackup **ppBackup) { + return This->lpVtbl->CreateRangeBackup(This,ec,pRange,ppBackup); +} +#endif +#endif + +#endif + + +#endif /* __ITfContext_INTERFACE_DEFINED__ */ + +#define TF_INVALID_COOKIE (0xffffffff) + +/***************************************************************************** + * ITfSource interface + */ +#ifndef __ITfSource_INTERFACE_DEFINED__ +#define __ITfSource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfSource, 0x4ea48a35, 0x60ae, 0x446f, 0x8f,0xd6, 0xe6,0xa8,0xd8,0x24,0x59,0xf7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4ea48a35-60ae-446f-8fd6-e6a8d82459f7") +ITfSource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseSink( + REFIID riid, + IUnknown *punk, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseSink( + DWORD dwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfSource, 0x4ea48a35, 0x60ae, 0x446f, 0x8f,0xd6, 0xe6,0xa8,0xd8,0x24,0x59,0xf7) +#endif +#else +typedef struct ITfSourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfSource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfSource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfSource *This); + + /*** ITfSource methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseSink)( + ITfSource *This, + REFIID riid, + IUnknown *punk, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *UnadviseSink)( + ITfSource *This, + DWORD dwCookie); + + END_INTERFACE +} ITfSourceVtbl; + +interface ITfSource { + CONST_VTBL ITfSourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfSource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfSource_Release(This) (This)->lpVtbl->Release(This) +/*** ITfSource methods ***/ +#define ITfSource_AdviseSink(This,riid,punk,pdwCookie) (This)->lpVtbl->AdviseSink(This,riid,punk,pdwCookie) +#define ITfSource_UnadviseSink(This,dwCookie) (This)->lpVtbl->UnadviseSink(This,dwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfSource_QueryInterface(ITfSource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfSource_AddRef(ITfSource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfSource_Release(ITfSource* This) { + return This->lpVtbl->Release(This); +} +/*** ITfSource methods ***/ +static FORCEINLINE HRESULT ITfSource_AdviseSink(ITfSource* This,REFIID riid,IUnknown *punk,DWORD *pdwCookie) { + return This->lpVtbl->AdviseSink(This,riid,punk,pdwCookie); +} +static FORCEINLINE HRESULT ITfSource_UnadviseSink(ITfSource* This,DWORD dwCookie) { + return This->lpVtbl->UnadviseSink(This,dwCookie); +} +#endif +#endif + +#endif + + +#endif /* __ITfSource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfInputProcessorProfiles interface + */ +#ifndef __ITfInputProcessorProfiles_INTERFACE_DEFINED__ +#define __ITfInputProcessorProfiles_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfInputProcessorProfiles, 0x1f02b6c5, 0x7842, 0x4ee6, 0x8a,0x0b, 0x9a,0x24,0x18,0x3a,0x95,0xca); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f02b6c5-7842-4ee6-8a0b-9a24183a95ca") +ITfInputProcessorProfiles : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Register( + REFCLSID rclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unregister( + REFCLSID rclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddLanguageProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + const WCHAR *pchDesc, + ULONG cchDesc, + const WCHAR *pchIconFile, + ULONG cchFile, + ULONG uIconIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveLanguageProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumInputProcessorInfo( + IEnumGUID **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultLanguageProfile( + LANGID langid, + REFGUID catid, + CLSID *pclsid, + GUID *pguidProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultLanguageProfile( + LANGID langid, + REFCLSID rclsid, + REFGUID guidProfiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE ActivateLanguageProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveLanguageProfile( + REFCLSID rclsid, + LANGID *plangid, + GUID *pguidProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLanguageProfileDescription( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BSTR *pbstrProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentLanguage( + LANGID *plangid) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangeCurrentLanguage( + LANGID langid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLanguageList( + LANGID **ppLangId, + ULONG *pulCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumLanguageProfiles( + LANGID langid, + IEnumTfLanguageProfiles **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableLanguageProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BOOL fEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEnabledLanguageProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BOOL *pfEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableLanguageProfileByDefault( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BOOL fEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubstituteKeyboardLayout( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + HKL hKL) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfInputProcessorProfiles, 0x1f02b6c5, 0x7842, 0x4ee6, 0x8a,0x0b, 0x9a,0x24,0x18,0x3a,0x95,0xca) +#endif +#else +typedef struct ITfInputProcessorProfilesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfInputProcessorProfiles *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfInputProcessorProfiles *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfInputProcessorProfiles *This); + + /*** ITfInputProcessorProfiles methods ***/ + HRESULT (STDMETHODCALLTYPE *Register)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid); + + HRESULT (STDMETHODCALLTYPE *Unregister)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid); + + HRESULT (STDMETHODCALLTYPE *AddLanguageProfile)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + const WCHAR *pchDesc, + ULONG cchDesc, + const WCHAR *pchIconFile, + ULONG cchFile, + ULONG uIconIndex); + + HRESULT (STDMETHODCALLTYPE *RemoveLanguageProfile)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile); + + HRESULT (STDMETHODCALLTYPE *EnumInputProcessorInfo)( + ITfInputProcessorProfiles *This, + IEnumGUID **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetDefaultLanguageProfile)( + ITfInputProcessorProfiles *This, + LANGID langid, + REFGUID catid, + CLSID *pclsid, + GUID *pguidProfile); + + HRESULT (STDMETHODCALLTYPE *SetDefaultLanguageProfile)( + ITfInputProcessorProfiles *This, + LANGID langid, + REFCLSID rclsid, + REFGUID guidProfiles); + + HRESULT (STDMETHODCALLTYPE *ActivateLanguageProfile)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfiles); + + HRESULT (STDMETHODCALLTYPE *GetActiveLanguageProfile)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID *plangid, + GUID *pguidProfile); + + HRESULT (STDMETHODCALLTYPE *GetLanguageProfileDescription)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BSTR *pbstrProfile); + + HRESULT (STDMETHODCALLTYPE *GetCurrentLanguage)( + ITfInputProcessorProfiles *This, + LANGID *plangid); + + HRESULT (STDMETHODCALLTYPE *ChangeCurrentLanguage)( + ITfInputProcessorProfiles *This, + LANGID langid); + + HRESULT (STDMETHODCALLTYPE *GetLanguageList)( + ITfInputProcessorProfiles *This, + LANGID **ppLangId, + ULONG *pulCount); + + HRESULT (STDMETHODCALLTYPE *EnumLanguageProfiles)( + ITfInputProcessorProfiles *This, + LANGID langid, + IEnumTfLanguageProfiles **ppEnum); + + HRESULT (STDMETHODCALLTYPE *EnableLanguageProfile)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *IsEnabledLanguageProfile)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BOOL *pfEnable); + + HRESULT (STDMETHODCALLTYPE *EnableLanguageProfileByDefault)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *SubstituteKeyboardLayout)( + ITfInputProcessorProfiles *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + HKL hKL); + + END_INTERFACE +} ITfInputProcessorProfilesVtbl; + +interface ITfInputProcessorProfiles { + CONST_VTBL ITfInputProcessorProfilesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfInputProcessorProfiles_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfInputProcessorProfiles_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfInputProcessorProfiles_Release(This) (This)->lpVtbl->Release(This) +/*** ITfInputProcessorProfiles methods ***/ +#define ITfInputProcessorProfiles_Register(This,rclsid) (This)->lpVtbl->Register(This,rclsid) +#define ITfInputProcessorProfiles_Unregister(This,rclsid) (This)->lpVtbl->Unregister(This,rclsid) +#define ITfInputProcessorProfiles_AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex) (This)->lpVtbl->AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex) +#define ITfInputProcessorProfiles_RemoveLanguageProfile(This,rclsid,langid,guidProfile) (This)->lpVtbl->RemoveLanguageProfile(This,rclsid,langid,guidProfile) +#define ITfInputProcessorProfiles_EnumInputProcessorInfo(This,ppEnum) (This)->lpVtbl->EnumInputProcessorInfo(This,ppEnum) +#define ITfInputProcessorProfiles_GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile) (This)->lpVtbl->GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile) +#define ITfInputProcessorProfiles_SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles) (This)->lpVtbl->SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles) +#define ITfInputProcessorProfiles_ActivateLanguageProfile(This,rclsid,langid,guidProfiles) (This)->lpVtbl->ActivateLanguageProfile(This,rclsid,langid,guidProfiles) +#define ITfInputProcessorProfiles_GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile) (This)->lpVtbl->GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile) +#define ITfInputProcessorProfiles_GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile) (This)->lpVtbl->GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile) +#define ITfInputProcessorProfiles_GetCurrentLanguage(This,plangid) (This)->lpVtbl->GetCurrentLanguage(This,plangid) +#define ITfInputProcessorProfiles_ChangeCurrentLanguage(This,langid) (This)->lpVtbl->ChangeCurrentLanguage(This,langid) +#define ITfInputProcessorProfiles_GetLanguageList(This,ppLangId,pulCount) (This)->lpVtbl->GetLanguageList(This,ppLangId,pulCount) +#define ITfInputProcessorProfiles_EnumLanguageProfiles(This,langid,ppEnum) (This)->lpVtbl->EnumLanguageProfiles(This,langid,ppEnum) +#define ITfInputProcessorProfiles_EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable) (This)->lpVtbl->EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable) +#define ITfInputProcessorProfiles_IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable) (This)->lpVtbl->IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable) +#define ITfInputProcessorProfiles_EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable) (This)->lpVtbl->EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable) +#define ITfInputProcessorProfiles_SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL) (This)->lpVtbl->SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfInputProcessorProfiles_QueryInterface(ITfInputProcessorProfiles* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfInputProcessorProfiles_AddRef(ITfInputProcessorProfiles* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfInputProcessorProfiles_Release(ITfInputProcessorProfiles* This) { + return This->lpVtbl->Release(This); +} +/*** ITfInputProcessorProfiles methods ***/ +static FORCEINLINE HRESULT ITfInputProcessorProfiles_Register(ITfInputProcessorProfiles* This,REFCLSID rclsid) { + return This->lpVtbl->Register(This,rclsid); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_Unregister(ITfInputProcessorProfiles* This,REFCLSID rclsid) { + return This->lpVtbl->Unregister(This,rclsid); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_AddLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,const WCHAR *pchDesc,ULONG cchDesc,const WCHAR *pchIconFile,ULONG cchFile,ULONG uIconIndex) { + return This->lpVtbl->AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_RemoveLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile) { + return This->lpVtbl->RemoveLanguageProfile(This,rclsid,langid,guidProfile); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnumInputProcessorInfo(ITfInputProcessorProfiles* This,IEnumGUID **ppEnum) { + return This->lpVtbl->EnumInputProcessorInfo(This,ppEnum); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetDefaultLanguageProfile(ITfInputProcessorProfiles* This,LANGID langid,REFGUID catid,CLSID *pclsid,GUID *pguidProfile) { + return This->lpVtbl->GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_SetDefaultLanguageProfile(ITfInputProcessorProfiles* This,LANGID langid,REFCLSID rclsid,REFGUID guidProfiles) { + return This->lpVtbl->SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_ActivateLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfiles) { + return This->lpVtbl->ActivateLanguageProfile(This,rclsid,langid,guidProfiles); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetActiveLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID *plangid,GUID *pguidProfile) { + return This->lpVtbl->GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetLanguageProfileDescription(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,BSTR *pbstrProfile) { + return This->lpVtbl->GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetCurrentLanguage(ITfInputProcessorProfiles* This,LANGID *plangid) { + return This->lpVtbl->GetCurrentLanguage(This,plangid); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_ChangeCurrentLanguage(ITfInputProcessorProfiles* This,LANGID langid) { + return This->lpVtbl->ChangeCurrentLanguage(This,langid); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetLanguageList(ITfInputProcessorProfiles* This,LANGID **ppLangId,ULONG *pulCount) { + return This->lpVtbl->GetLanguageList(This,ppLangId,pulCount); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnumLanguageProfiles(ITfInputProcessorProfiles* This,LANGID langid,IEnumTfLanguageProfiles **ppEnum) { + return This->lpVtbl->EnumLanguageProfiles(This,langid,ppEnum); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnableLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,BOOL fEnable) { + return This->lpVtbl->EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_IsEnabledLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,BOOL *pfEnable) { + return This->lpVtbl->IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnableLanguageProfileByDefault(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,BOOL fEnable) { + return This->lpVtbl->EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable); +} +static FORCEINLINE HRESULT ITfInputProcessorProfiles_SubstituteKeyboardLayout(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,HKL hKL) { + return This->lpVtbl->SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL); +} +#endif +#endif + +#endif + + +#endif /* __ITfInputProcessorProfiles_INTERFACE_DEFINED__ */ + +typedef struct TF_INPUTPROCESSORPROFILE { + DWORD dwProfileType; + LANGID langid; + CLSID clsid; + GUID guidProfile; + GUID catid; + HKL hklSubstitute; + DWORD dwCaps; + HKL hkl; + DWORD dwFlags; +} TF_INPUTPROCESSORPROFILE; +/***************************************************************************** + * IEnumTfInputProcessorProfiles interface + */ +#ifndef __IEnumTfInputProcessorProfiles_INTERFACE_DEFINED__ +#define __IEnumTfInputProcessorProfiles_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfInputProcessorProfiles, 0x71c6e74d, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71c6e74d-0f28-11d8-a82a-00065b84435c") +IEnumTfInputProcessorProfiles : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfInputProcessorProfiles **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + TF_INPUTPROCESSORPROFILE *pProfile, + ULONG *pcFetch) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfInputProcessorProfiles, 0x71c6e74d, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c) +#endif +#else +typedef struct IEnumTfInputProcessorProfilesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfInputProcessorProfiles *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfInputProcessorProfiles *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfInputProcessorProfiles *This); + + /*** IEnumTfInputProcessorProfiles methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfInputProcessorProfiles *This, + IEnumTfInputProcessorProfiles **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfInputProcessorProfiles *This, + ULONG ulCount, + TF_INPUTPROCESSORPROFILE *pProfile, + ULONG *pcFetch); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfInputProcessorProfiles *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfInputProcessorProfiles *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfInputProcessorProfilesVtbl; + +interface IEnumTfInputProcessorProfiles { + CONST_VTBL IEnumTfInputProcessorProfilesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfInputProcessorProfiles_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfInputProcessorProfiles_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfInputProcessorProfiles_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfInputProcessorProfiles methods ***/ +#define IEnumTfInputProcessorProfiles_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfInputProcessorProfiles_Next(This,ulCount,pProfile,pcFetch) (This)->lpVtbl->Next(This,ulCount,pProfile,pcFetch) +#define IEnumTfInputProcessorProfiles_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfInputProcessorProfiles_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_QueryInterface(IEnumTfInputProcessorProfiles* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfInputProcessorProfiles_AddRef(IEnumTfInputProcessorProfiles* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfInputProcessorProfiles_Release(IEnumTfInputProcessorProfiles* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfInputProcessorProfiles methods ***/ +static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_Clone(IEnumTfInputProcessorProfiles* This,IEnumTfInputProcessorProfiles **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_Next(IEnumTfInputProcessorProfiles* This,ULONG ulCount,TF_INPUTPROCESSORPROFILE *pProfile,ULONG *pcFetch) { + return This->lpVtbl->Next(This,ulCount,pProfile,pcFetch); +} +static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_Reset(IEnumTfInputProcessorProfiles* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_Skip(IEnumTfInputProcessorProfiles* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfInputProcessorProfiles_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfInputProcessorProfileMgr interface + */ +#ifndef __ITfInputProcessorProfileMgr_INTERFACE_DEFINED__ +#define __ITfInputProcessorProfileMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfInputProcessorProfileMgr, 0x71c6e74c, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71c6e74c-0f28-11d8-a82a-00065b84435c") +ITfInputProcessorProfileMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ActivateProfile( + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID guidProfile, + HKL hkl, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeactivateProfile( + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID guidProfile, + HKL hkl, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProfile( + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID guidProfile, + HKL hkl, + TF_INPUTPROCESSORPROFILE *pProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumProfiles( + LANGID langid, + IEnumTfInputProcessorProfiles **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseInputProcessor( + REFCLSID rclsid, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + const WCHAR *pchDesc, + ULONG cchDesc, + const WCHAR *pchIconFile, + ULONG cchFile, + ULONG uIconIndex, + HKL hklsubstitute, + DWORD dwPreferredLayout, + BOOL bEnabledByDefault, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterProfile( + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveProfile( + REFGUID catid, + TF_INPUTPROCESSORPROFILE *pProfile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfInputProcessorProfileMgr, 0x71c6e74c, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c) +#endif +#else +typedef struct ITfInputProcessorProfileMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfInputProcessorProfileMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfInputProcessorProfileMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfInputProcessorProfileMgr *This); + + /*** ITfInputProcessorProfileMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *ActivateProfile)( + ITfInputProcessorProfileMgr *This, + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID guidProfile, + HKL hkl, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DeactivateProfile)( + ITfInputProcessorProfileMgr *This, + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID guidProfile, + HKL hkl, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetProfile)( + ITfInputProcessorProfileMgr *This, + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID guidProfile, + HKL hkl, + TF_INPUTPROCESSORPROFILE *pProfile); + + HRESULT (STDMETHODCALLTYPE *EnumProfiles)( + ITfInputProcessorProfileMgr *This, + LANGID langid, + IEnumTfInputProcessorProfiles **ppEnum); + + HRESULT (STDMETHODCALLTYPE *ReleaseInputProcessor)( + ITfInputProcessorProfileMgr *This, + REFCLSID rclsid, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *RegisterProfile)( + ITfInputProcessorProfileMgr *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + const WCHAR *pchDesc, + ULONG cchDesc, + const WCHAR *pchIconFile, + ULONG cchFile, + ULONG uIconIndex, + HKL hklsubstitute, + DWORD dwPreferredLayout, + BOOL bEnabledByDefault, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *UnregisterProfile)( + ITfInputProcessorProfileMgr *This, + REFCLSID rclsid, + LANGID langid, + REFGUID guidProfile, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetActiveProfile)( + ITfInputProcessorProfileMgr *This, + REFGUID catid, + TF_INPUTPROCESSORPROFILE *pProfile); + + END_INTERFACE +} ITfInputProcessorProfileMgrVtbl; + +interface ITfInputProcessorProfileMgr { + CONST_VTBL ITfInputProcessorProfileMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfInputProcessorProfileMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfInputProcessorProfileMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfInputProcessorProfileMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfInputProcessorProfileMgr methods ***/ +#define ITfInputProcessorProfileMgr_ActivateProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,dwFlags) (This)->lpVtbl->ActivateProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,dwFlags) +#define ITfInputProcessorProfileMgr_DeactivateProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,dwFlags) (This)->lpVtbl->DeactivateProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,dwFlags) +#define ITfInputProcessorProfileMgr_GetProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,pProfile) (This)->lpVtbl->GetProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,pProfile) +#define ITfInputProcessorProfileMgr_EnumProfiles(This,langid,ppEnum) (This)->lpVtbl->EnumProfiles(This,langid,ppEnum) +#define ITfInputProcessorProfileMgr_ReleaseInputProcessor(This,rclsid,dwFlags) (This)->lpVtbl->ReleaseInputProcessor(This,rclsid,dwFlags) +#define ITfInputProcessorProfileMgr_RegisterProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex,hklsubstitute,dwPreferredLayout,bEnabledByDefault,dwFlags) (This)->lpVtbl->RegisterProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex,hklsubstitute,dwPreferredLayout,bEnabledByDefault,dwFlags) +#define ITfInputProcessorProfileMgr_UnregisterProfile(This,rclsid,langid,guidProfile,dwFlags) (This)->lpVtbl->UnregisterProfile(This,rclsid,langid,guidProfile,dwFlags) +#define ITfInputProcessorProfileMgr_GetActiveProfile(This,catid,pProfile) (This)->lpVtbl->GetActiveProfile(This,catid,pProfile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_QueryInterface(ITfInputProcessorProfileMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfInputProcessorProfileMgr_AddRef(ITfInputProcessorProfileMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfInputProcessorProfileMgr_Release(ITfInputProcessorProfileMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfInputProcessorProfileMgr methods ***/ +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_ActivateProfile(ITfInputProcessorProfileMgr* This,DWORD dwProfileType,LANGID langid,REFCLSID clsid,REFGUID guidProfile,HKL hkl,DWORD dwFlags) { + return This->lpVtbl->ActivateProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,dwFlags); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_DeactivateProfile(ITfInputProcessorProfileMgr* This,DWORD dwProfileType,LANGID langid,REFCLSID clsid,REFGUID guidProfile,HKL hkl,DWORD dwFlags) { + return This->lpVtbl->DeactivateProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,dwFlags); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_GetProfile(ITfInputProcessorProfileMgr* This,DWORD dwProfileType,LANGID langid,REFCLSID clsid,REFGUID guidProfile,HKL hkl,TF_INPUTPROCESSORPROFILE *pProfile) { + return This->lpVtbl->GetProfile(This,dwProfileType,langid,clsid,guidProfile,hkl,pProfile); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_EnumProfiles(ITfInputProcessorProfileMgr* This,LANGID langid,IEnumTfInputProcessorProfiles **ppEnum) { + return This->lpVtbl->EnumProfiles(This,langid,ppEnum); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_ReleaseInputProcessor(ITfInputProcessorProfileMgr* This,REFCLSID rclsid,DWORD dwFlags) { + return This->lpVtbl->ReleaseInputProcessor(This,rclsid,dwFlags); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_RegisterProfile(ITfInputProcessorProfileMgr* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,const WCHAR *pchDesc,ULONG cchDesc,const WCHAR *pchIconFile,ULONG cchFile,ULONG uIconIndex,HKL hklsubstitute,DWORD dwPreferredLayout,BOOL bEnabledByDefault,DWORD dwFlags) { + return This->lpVtbl->RegisterProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex,hklsubstitute,dwPreferredLayout,bEnabledByDefault,dwFlags); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_UnregisterProfile(ITfInputProcessorProfileMgr* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,DWORD dwFlags) { + return This->lpVtbl->UnregisterProfile(This,rclsid,langid,guidProfile,dwFlags); +} +static FORCEINLINE HRESULT ITfInputProcessorProfileMgr_GetActiveProfile(ITfInputProcessorProfileMgr* This,REFGUID catid,TF_INPUTPROCESSORPROFILE *pProfile) { + return This->lpVtbl->GetActiveProfile(This,catid,pProfile); +} +#endif +#endif + +#endif + + +#endif /* __ITfInputProcessorProfileMgr_INTERFACE_DEFINED__ */ + +typedef enum __WIDL_msctf_generated_name_00000007 { + TF_LS_NONE = 0, + TF_LS_SOLID = 1, + TF_LS_DOT = 2, + TF_LS_DASH = 3, + TF_LS_SQUIGGLE = 4 +} TF_DA_LINESTYLE; +typedef enum __WIDL_msctf_generated_name_00000008 { + TF_CT_NONE = 0, + TF_CT_SYSCOLOR = 1, + TF_CT_COLORREF = 2 +} TF_DA_COLORTYPE; +typedef struct TF_DA_COLOR { + TF_DA_COLORTYPE type; + __C89_NAMELESS union { + int nIndex; + COLORREF cr; + } __C89_NAMELESSUNIONNAME; +} TF_DA_COLOR; +typedef enum __WIDL_msctf_generated_name_00000009 { + TF_ATTR_INPUT = 0, + TF_ATTR_TARGET_CONVERTED = 1, + TF_ATTR_CONVERTED = 2, + TF_ATTR_TARGET_NOTCONVERTED = 3, + TF_ATTR_INPUT_ERROR = 4, + TF_ATTR_FIXEDCONVERTED = 5, + TF_ATTR_OTHER = -1 +} TF_DA_ATTR_INFO; +typedef struct TF_DISPLAYATTRIBUTE { + TF_DA_COLOR crText; + TF_DA_COLOR crBk; + TF_DA_LINESTYLE lsStyle; + BOOL fBoldLine; + TF_DA_COLOR crLine; + TF_DA_ATTR_INFO bAttr; +} TF_DISPLAYATTRIBUTE; +/***************************************************************************** + * ITfDisplayAttributeInfo interface + */ +#ifndef __ITfDisplayAttributeInfo_INTERFACE_DEFINED__ +#define __ITfDisplayAttributeInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfDisplayAttributeInfo, 0x70528852, 0x2f26, 0x4aea, 0x8c,0x96, 0x21,0x51,0x50,0x57,0x89,0x32); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70528852-2f26-4aea-8c96-215150578932") +ITfDisplayAttributeInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetGUID( + GUID *pguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *pbstrDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributeInfo( + TF_DISPLAYATTRIBUTE *pda) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAttributeInfo( + const TF_DISPLAYATTRIBUTE *pda) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfDisplayAttributeInfo, 0x70528852, 0x2f26, 0x4aea, 0x8c,0x96, 0x21,0x51,0x50,0x57,0x89,0x32) +#endif +#else +typedef struct ITfDisplayAttributeInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfDisplayAttributeInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfDisplayAttributeInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfDisplayAttributeInfo *This); + + /*** ITfDisplayAttributeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGUID)( + ITfDisplayAttributeInfo *This, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + ITfDisplayAttributeInfo *This, + BSTR *pbstrDesc); + + HRESULT (STDMETHODCALLTYPE *GetAttributeInfo)( + ITfDisplayAttributeInfo *This, + TF_DISPLAYATTRIBUTE *pda); + + HRESULT (STDMETHODCALLTYPE *SetAttributeInfo)( + ITfDisplayAttributeInfo *This, + const TF_DISPLAYATTRIBUTE *pda); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ITfDisplayAttributeInfo *This); + + END_INTERFACE +} ITfDisplayAttributeInfoVtbl; + +interface ITfDisplayAttributeInfo { + CONST_VTBL ITfDisplayAttributeInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfDisplayAttributeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfDisplayAttributeInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfDisplayAttributeInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ITfDisplayAttributeInfo methods ***/ +#define ITfDisplayAttributeInfo_GetGUID(This,pguid) (This)->lpVtbl->GetGUID(This,pguid) +#define ITfDisplayAttributeInfo_GetDescription(This,pbstrDesc) (This)->lpVtbl->GetDescription(This,pbstrDesc) +#define ITfDisplayAttributeInfo_GetAttributeInfo(This,pda) (This)->lpVtbl->GetAttributeInfo(This,pda) +#define ITfDisplayAttributeInfo_SetAttributeInfo(This,pda) (This)->lpVtbl->SetAttributeInfo(This,pda) +#define ITfDisplayAttributeInfo_Reset(This) (This)->lpVtbl->Reset(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfDisplayAttributeInfo_QueryInterface(ITfDisplayAttributeInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfDisplayAttributeInfo_AddRef(ITfDisplayAttributeInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfDisplayAttributeInfo_Release(ITfDisplayAttributeInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ITfDisplayAttributeInfo methods ***/ +static FORCEINLINE HRESULT ITfDisplayAttributeInfo_GetGUID(ITfDisplayAttributeInfo* This,GUID *pguid) { + return This->lpVtbl->GetGUID(This,pguid); +} +static FORCEINLINE HRESULT ITfDisplayAttributeInfo_GetDescription(ITfDisplayAttributeInfo* This,BSTR *pbstrDesc) { + return This->lpVtbl->GetDescription(This,pbstrDesc); +} +static FORCEINLINE HRESULT ITfDisplayAttributeInfo_GetAttributeInfo(ITfDisplayAttributeInfo* This,TF_DISPLAYATTRIBUTE *pda) { + return This->lpVtbl->GetAttributeInfo(This,pda); +} +static FORCEINLINE HRESULT ITfDisplayAttributeInfo_SetAttributeInfo(ITfDisplayAttributeInfo* This,const TF_DISPLAYATTRIBUTE *pda) { + return This->lpVtbl->SetAttributeInfo(This,pda); +} +static FORCEINLINE HRESULT ITfDisplayAttributeInfo_Reset(ITfDisplayAttributeInfo* This) { + return This->lpVtbl->Reset(This); +} +#endif +#endif + +#endif + + +#endif /* __ITfDisplayAttributeInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfDisplayAttributeInfo interface + */ +#ifndef __IEnumTfDisplayAttributeInfo_INTERFACE_DEFINED__ +#define __IEnumTfDisplayAttributeInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfDisplayAttributeInfo, 0x7cef04d7, 0xcb75, 0x4e80, 0xa7,0xab, 0x5f,0x5b,0xc7,0xd3,0x32,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7cef04d7-cb75-4e80-a7ab-5f5bc7d332de") +IEnumTfDisplayAttributeInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfDisplayAttributeInfo **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + ITfDisplayAttributeInfo **rgInfo, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfDisplayAttributeInfo, 0x7cef04d7, 0xcb75, 0x4e80, 0xa7,0xab, 0x5f,0x5b,0xc7,0xd3,0x32,0xde) +#endif +#else +typedef struct IEnumTfDisplayAttributeInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfDisplayAttributeInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfDisplayAttributeInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfDisplayAttributeInfo *This); + + /*** IEnumTfDisplayAttributeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfDisplayAttributeInfo *This, + IEnumTfDisplayAttributeInfo **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfDisplayAttributeInfo *This, + ULONG ulCount, + ITfDisplayAttributeInfo **rgInfo, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfDisplayAttributeInfo *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfDisplayAttributeInfo *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfDisplayAttributeInfoVtbl; + +interface IEnumTfDisplayAttributeInfo { + CONST_VTBL IEnumTfDisplayAttributeInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfDisplayAttributeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfDisplayAttributeInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfDisplayAttributeInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfDisplayAttributeInfo methods ***/ +#define IEnumTfDisplayAttributeInfo_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfDisplayAttributeInfo_Next(This,ulCount,rgInfo,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgInfo,pcFetched) +#define IEnumTfDisplayAttributeInfo_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfDisplayAttributeInfo_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfDisplayAttributeInfo_QueryInterface(IEnumTfDisplayAttributeInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfDisplayAttributeInfo_AddRef(IEnumTfDisplayAttributeInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfDisplayAttributeInfo_Release(IEnumTfDisplayAttributeInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfDisplayAttributeInfo methods ***/ +static FORCEINLINE HRESULT IEnumTfDisplayAttributeInfo_Clone(IEnumTfDisplayAttributeInfo* This,IEnumTfDisplayAttributeInfo **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfDisplayAttributeInfo_Next(IEnumTfDisplayAttributeInfo* This,ULONG ulCount,ITfDisplayAttributeInfo **rgInfo,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgInfo,pcFetched); +} +static FORCEINLINE HRESULT IEnumTfDisplayAttributeInfo_Reset(IEnumTfDisplayAttributeInfo* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfDisplayAttributeInfo_Skip(IEnumTfDisplayAttributeInfo* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfDisplayAttributeInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfDisplayAttributeMgr interface + */ +#ifndef __ITfDisplayAttributeMgr_INTERFACE_DEFINED__ +#define __ITfDisplayAttributeMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfDisplayAttributeMgr, 0x8ded7393, 0x5db1, 0x475c, 0x9e,0x71, 0xa3,0x91,0x11,0xb0,0xff,0x67); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8ded7393-5db1-475c-9e71-a39111b0ff67") +ITfDisplayAttributeMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnUpdateInfo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumDisplayAttributeInfo( + IEnumTfDisplayAttributeInfo **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayAttributeInfo( + REFGUID guid, + ITfDisplayAttributeInfo **ppInfo, + CLSID *pclsidOwner) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfDisplayAttributeMgr, 0x8ded7393, 0x5db1, 0x475c, 0x9e,0x71, 0xa3,0x91,0x11,0xb0,0xff,0x67) +#endif +#else +typedef struct ITfDisplayAttributeMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfDisplayAttributeMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfDisplayAttributeMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfDisplayAttributeMgr *This); + + /*** ITfDisplayAttributeMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *OnUpdateInfo)( + ITfDisplayAttributeMgr *This); + + HRESULT (STDMETHODCALLTYPE *EnumDisplayAttributeInfo)( + ITfDisplayAttributeMgr *This, + IEnumTfDisplayAttributeInfo **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetDisplayAttributeInfo)( + ITfDisplayAttributeMgr *This, + REFGUID guid, + ITfDisplayAttributeInfo **ppInfo, + CLSID *pclsidOwner); + + END_INTERFACE +} ITfDisplayAttributeMgrVtbl; + +interface ITfDisplayAttributeMgr { + CONST_VTBL ITfDisplayAttributeMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfDisplayAttributeMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfDisplayAttributeMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfDisplayAttributeMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfDisplayAttributeMgr methods ***/ +#define ITfDisplayAttributeMgr_OnUpdateInfo(This) (This)->lpVtbl->OnUpdateInfo(This) +#define ITfDisplayAttributeMgr_EnumDisplayAttributeInfo(This,ppEnum) (This)->lpVtbl->EnumDisplayAttributeInfo(This,ppEnum) +#define ITfDisplayAttributeMgr_GetDisplayAttributeInfo(This,guid,ppInfo,pclsidOwner) (This)->lpVtbl->GetDisplayAttributeInfo(This,guid,ppInfo,pclsidOwner) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfDisplayAttributeMgr_QueryInterface(ITfDisplayAttributeMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfDisplayAttributeMgr_AddRef(ITfDisplayAttributeMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfDisplayAttributeMgr_Release(ITfDisplayAttributeMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfDisplayAttributeMgr methods ***/ +static FORCEINLINE HRESULT ITfDisplayAttributeMgr_OnUpdateInfo(ITfDisplayAttributeMgr* This) { + return This->lpVtbl->OnUpdateInfo(This); +} +static FORCEINLINE HRESULT ITfDisplayAttributeMgr_EnumDisplayAttributeInfo(ITfDisplayAttributeMgr* This,IEnumTfDisplayAttributeInfo **ppEnum) { + return This->lpVtbl->EnumDisplayAttributeInfo(This,ppEnum); +} +static FORCEINLINE HRESULT ITfDisplayAttributeMgr_GetDisplayAttributeInfo(ITfDisplayAttributeMgr* This,REFGUID guid,ITfDisplayAttributeInfo **ppInfo,CLSID *pclsidOwner) { + return This->lpVtbl->GetDisplayAttributeInfo(This,guid,ppInfo,pclsidOwner); +} +#endif +#endif + +#endif + + +#endif /* __ITfDisplayAttributeMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfCategoryMgr interface + */ +#ifndef __ITfCategoryMgr_INTERFACE_DEFINED__ +#define __ITfCategoryMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfCategoryMgr, 0xc3acefb5, 0xf69d, 0x4905, 0x93,0x8f, 0xfc,0xad,0xcf,0x4b,0xe8,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c3acefb5-f69d-4905-938f-fcadcf4be830") +ITfCategoryMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterCategory( + REFCLSID rclsid, + REFGUID rcatid, + REFGUID rguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterCategory( + REFCLSID rclsid, + REFGUID rcatid, + REFGUID rguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCategoriesInItem( + REFGUID rguid, + IEnumGUID **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumItemsInCategory( + REFGUID rcatid, + IEnumGUID **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindClosestCategory( + REFGUID rguid, + GUID *pcatid, + const GUID **ppcatidList, + ULONG ulCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterGUIDDescription( + REFCLSID rclsid, + REFGUID rguid, + const WCHAR *pchDesc, + ULONG cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterGUIDDescription( + REFCLSID rclsid, + REFGUID rguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGUIDDescription( + REFGUID rguid, + BSTR *pbstrDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterGUIDDWORD( + REFCLSID rclsid, + REFGUID rguid, + DWORD dw) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterGUIDDWORD( + REFCLSID rclsid, + REFGUID rguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGUIDDWORD( + REFGUID rguid, + DWORD *pdw) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterGUID( + REFGUID rguid, + TfGuidAtom *pguidatom) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGUID( + TfGuidAtom guidatom, + GUID *pguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqualTfGuidAtom( + TfGuidAtom guidatom, + REFGUID rguid, + BOOL *pfEqual) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfCategoryMgr, 0xc3acefb5, 0xf69d, 0x4905, 0x93,0x8f, 0xfc,0xad,0xcf,0x4b,0xe8,0x30) +#endif +#else +typedef struct ITfCategoryMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfCategoryMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfCategoryMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfCategoryMgr *This); + + /*** ITfCategoryMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterCategory)( + ITfCategoryMgr *This, + REFCLSID rclsid, + REFGUID rcatid, + REFGUID rguid); + + HRESULT (STDMETHODCALLTYPE *UnregisterCategory)( + ITfCategoryMgr *This, + REFCLSID rclsid, + REFGUID rcatid, + REFGUID rguid); + + HRESULT (STDMETHODCALLTYPE *EnumCategoriesInItem)( + ITfCategoryMgr *This, + REFGUID rguid, + IEnumGUID **ppEnum); + + HRESULT (STDMETHODCALLTYPE *EnumItemsInCategory)( + ITfCategoryMgr *This, + REFGUID rcatid, + IEnumGUID **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindClosestCategory)( + ITfCategoryMgr *This, + REFGUID rguid, + GUID *pcatid, + const GUID **ppcatidList, + ULONG ulCount); + + HRESULT (STDMETHODCALLTYPE *RegisterGUIDDescription)( + ITfCategoryMgr *This, + REFCLSID rclsid, + REFGUID rguid, + const WCHAR *pchDesc, + ULONG cch); + + HRESULT (STDMETHODCALLTYPE *UnregisterGUIDDescription)( + ITfCategoryMgr *This, + REFCLSID rclsid, + REFGUID rguid); + + HRESULT (STDMETHODCALLTYPE *GetGUIDDescription)( + ITfCategoryMgr *This, + REFGUID rguid, + BSTR *pbstrDesc); + + HRESULT (STDMETHODCALLTYPE *RegisterGUIDDWORD)( + ITfCategoryMgr *This, + REFCLSID rclsid, + REFGUID rguid, + DWORD dw); + + HRESULT (STDMETHODCALLTYPE *UnregisterGUIDDWORD)( + ITfCategoryMgr *This, + REFCLSID rclsid, + REFGUID rguid); + + HRESULT (STDMETHODCALLTYPE *GetGUIDDWORD)( + ITfCategoryMgr *This, + REFGUID rguid, + DWORD *pdw); + + HRESULT (STDMETHODCALLTYPE *RegisterGUID)( + ITfCategoryMgr *This, + REFGUID rguid, + TfGuidAtom *pguidatom); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + ITfCategoryMgr *This, + TfGuidAtom guidatom, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *IsEqualTfGuidAtom)( + ITfCategoryMgr *This, + TfGuidAtom guidatom, + REFGUID rguid, + BOOL *pfEqual); + + END_INTERFACE +} ITfCategoryMgrVtbl; + +interface ITfCategoryMgr { + CONST_VTBL ITfCategoryMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfCategoryMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfCategoryMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfCategoryMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfCategoryMgr methods ***/ +#define ITfCategoryMgr_RegisterCategory(This,rclsid,rcatid,rguid) (This)->lpVtbl->RegisterCategory(This,rclsid,rcatid,rguid) +#define ITfCategoryMgr_UnregisterCategory(This,rclsid,rcatid,rguid) (This)->lpVtbl->UnregisterCategory(This,rclsid,rcatid,rguid) +#define ITfCategoryMgr_EnumCategoriesInItem(This,rguid,ppEnum) (This)->lpVtbl->EnumCategoriesInItem(This,rguid,ppEnum) +#define ITfCategoryMgr_EnumItemsInCategory(This,rcatid,ppEnum) (This)->lpVtbl->EnumItemsInCategory(This,rcatid,ppEnum) +#define ITfCategoryMgr_FindClosestCategory(This,rguid,pcatid,ppcatidList,ulCount) (This)->lpVtbl->FindClosestCategory(This,rguid,pcatid,ppcatidList,ulCount) +#define ITfCategoryMgr_RegisterGUIDDescription(This,rclsid,rguid,pchDesc,cch) (This)->lpVtbl->RegisterGUIDDescription(This,rclsid,rguid,pchDesc,cch) +#define ITfCategoryMgr_UnregisterGUIDDescription(This,rclsid,rguid) (This)->lpVtbl->UnregisterGUIDDescription(This,rclsid,rguid) +#define ITfCategoryMgr_GetGUIDDescription(This,rguid,pbstrDesc) (This)->lpVtbl->GetGUIDDescription(This,rguid,pbstrDesc) +#define ITfCategoryMgr_RegisterGUIDDWORD(This,rclsid,rguid,dw) (This)->lpVtbl->RegisterGUIDDWORD(This,rclsid,rguid,dw) +#define ITfCategoryMgr_UnregisterGUIDDWORD(This,rclsid,rguid) (This)->lpVtbl->UnregisterGUIDDWORD(This,rclsid,rguid) +#define ITfCategoryMgr_GetGUIDDWORD(This,rguid,pdw) (This)->lpVtbl->GetGUIDDWORD(This,rguid,pdw) +#define ITfCategoryMgr_RegisterGUID(This,rguid,pguidatom) (This)->lpVtbl->RegisterGUID(This,rguid,pguidatom) +#define ITfCategoryMgr_GetGUID(This,guidatom,pguid) (This)->lpVtbl->GetGUID(This,guidatom,pguid) +#define ITfCategoryMgr_IsEqualTfGuidAtom(This,guidatom,rguid,pfEqual) (This)->lpVtbl->IsEqualTfGuidAtom(This,guidatom,rguid,pfEqual) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfCategoryMgr_QueryInterface(ITfCategoryMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfCategoryMgr_AddRef(ITfCategoryMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfCategoryMgr_Release(ITfCategoryMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfCategoryMgr methods ***/ +static FORCEINLINE HRESULT ITfCategoryMgr_RegisterCategory(ITfCategoryMgr* This,REFCLSID rclsid,REFGUID rcatid,REFGUID rguid) { + return This->lpVtbl->RegisterCategory(This,rclsid,rcatid,rguid); +} +static FORCEINLINE HRESULT ITfCategoryMgr_UnregisterCategory(ITfCategoryMgr* This,REFCLSID rclsid,REFGUID rcatid,REFGUID rguid) { + return This->lpVtbl->UnregisterCategory(This,rclsid,rcatid,rguid); +} +static FORCEINLINE HRESULT ITfCategoryMgr_EnumCategoriesInItem(ITfCategoryMgr* This,REFGUID rguid,IEnumGUID **ppEnum) { + return This->lpVtbl->EnumCategoriesInItem(This,rguid,ppEnum); +} +static FORCEINLINE HRESULT ITfCategoryMgr_EnumItemsInCategory(ITfCategoryMgr* This,REFGUID rcatid,IEnumGUID **ppEnum) { + return This->lpVtbl->EnumItemsInCategory(This,rcatid,ppEnum); +} +static FORCEINLINE HRESULT ITfCategoryMgr_FindClosestCategory(ITfCategoryMgr* This,REFGUID rguid,GUID *pcatid,const GUID **ppcatidList,ULONG ulCount) { + return This->lpVtbl->FindClosestCategory(This,rguid,pcatid,ppcatidList,ulCount); +} +static FORCEINLINE HRESULT ITfCategoryMgr_RegisterGUIDDescription(ITfCategoryMgr* This,REFCLSID rclsid,REFGUID rguid,const WCHAR *pchDesc,ULONG cch) { + return This->lpVtbl->RegisterGUIDDescription(This,rclsid,rguid,pchDesc,cch); +} +static FORCEINLINE HRESULT ITfCategoryMgr_UnregisterGUIDDescription(ITfCategoryMgr* This,REFCLSID rclsid,REFGUID rguid) { + return This->lpVtbl->UnregisterGUIDDescription(This,rclsid,rguid); +} +static FORCEINLINE HRESULT ITfCategoryMgr_GetGUIDDescription(ITfCategoryMgr* This,REFGUID rguid,BSTR *pbstrDesc) { + return This->lpVtbl->GetGUIDDescription(This,rguid,pbstrDesc); +} +static FORCEINLINE HRESULT ITfCategoryMgr_RegisterGUIDDWORD(ITfCategoryMgr* This,REFCLSID rclsid,REFGUID rguid,DWORD dw) { + return This->lpVtbl->RegisterGUIDDWORD(This,rclsid,rguid,dw); +} +static FORCEINLINE HRESULT ITfCategoryMgr_UnregisterGUIDDWORD(ITfCategoryMgr* This,REFCLSID rclsid,REFGUID rguid) { + return This->lpVtbl->UnregisterGUIDDWORD(This,rclsid,rguid); +} +static FORCEINLINE HRESULT ITfCategoryMgr_GetGUIDDWORD(ITfCategoryMgr* This,REFGUID rguid,DWORD *pdw) { + return This->lpVtbl->GetGUIDDWORD(This,rguid,pdw); +} +static FORCEINLINE HRESULT ITfCategoryMgr_RegisterGUID(ITfCategoryMgr* This,REFGUID rguid,TfGuidAtom *pguidatom) { + return This->lpVtbl->RegisterGUID(This,rguid,pguidatom); +} +static FORCEINLINE HRESULT ITfCategoryMgr_GetGUID(ITfCategoryMgr* This,TfGuidAtom guidatom,GUID *pguid) { + return This->lpVtbl->GetGUID(This,guidatom,pguid); +} +static FORCEINLINE HRESULT ITfCategoryMgr_IsEqualTfGuidAtom(ITfCategoryMgr* This,TfGuidAtom guidatom,REFGUID rguid,BOOL *pfEqual) { + return This->lpVtbl->IsEqualTfGuidAtom(This,guidatom,rguid,pfEqual); +} +#endif +#endif + +#endif + + +#endif /* __ITfCategoryMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfRanges interface + */ +#ifndef __IEnumTfRanges_INTERFACE_DEFINED__ +#define __IEnumTfRanges_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfRanges, 0xf99d3f40, 0x8e32, 0x11d2, 0xbf,0x46, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f99d3f40-8e32-11d2-bf46-00105a2799b5") +IEnumTfRanges : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfRanges **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + ITfRange **ppRange, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfRanges, 0xf99d3f40, 0x8e32, 0x11d2, 0xbf,0x46, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct IEnumTfRangesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfRanges *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfRanges *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfRanges *This); + + /*** IEnumTfRanges methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfRanges *This, + IEnumTfRanges **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfRanges *This, + ULONG ulCount, + ITfRange **ppRange, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfRanges *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfRanges *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfRangesVtbl; + +interface IEnumTfRanges { + CONST_VTBL IEnumTfRangesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfRanges_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfRanges_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfRanges_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfRanges methods ***/ +#define IEnumTfRanges_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfRanges_Next(This,ulCount,ppRange,pcFetched) (This)->lpVtbl->Next(This,ulCount,ppRange,pcFetched) +#define IEnumTfRanges_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfRanges_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfRanges_QueryInterface(IEnumTfRanges* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfRanges_AddRef(IEnumTfRanges* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfRanges_Release(IEnumTfRanges* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfRanges methods ***/ +static FORCEINLINE HRESULT IEnumTfRanges_Clone(IEnumTfRanges* This,IEnumTfRanges **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfRanges_Next(IEnumTfRanges* This,ULONG ulCount,ITfRange **ppRange,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,ppRange,pcFetched); +} +static FORCEINLINE HRESULT IEnumTfRanges_Reset(IEnumTfRanges* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfRanges_Skip(IEnumTfRanges* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfRanges_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfEditRecord interface + */ +#ifndef __ITfEditRecord_INTERFACE_DEFINED__ +#define __ITfEditRecord_INTERFACE_DEFINED__ + +#define TF_GTP_INCL_TEXT (0x1) + +DEFINE_GUID(IID_ITfEditRecord, 0x42d4d099, 0x7c1a, 0x4a89, 0xb8,0x36, 0x6c,0x6f,0x22,0x16,0x0d,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("42d4d099-7c1a-4a89-b836-6c6f22160df0") +ITfEditRecord : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSelectionStatus( + BOOL *changed) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextAndPropertyUpdates( + DWORD flags, + const GUID **props, + ULONG count, + IEnumTfRanges **ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfEditRecord, 0x42d4d099, 0x7c1a, 0x4a89, 0xb8,0x36, 0x6c,0x6f,0x22,0x16,0x0d,0xf0) +#endif +#else +typedef struct ITfEditRecordVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfEditRecord *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfEditRecord *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfEditRecord *This); + + /*** ITfEditRecord methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSelectionStatus)( + ITfEditRecord *This, + BOOL *changed); + + HRESULT (STDMETHODCALLTYPE *GetTextAndPropertyUpdates)( + ITfEditRecord *This, + DWORD flags, + const GUID **props, + ULONG count, + IEnumTfRanges **ret); + + END_INTERFACE +} ITfEditRecordVtbl; + +interface ITfEditRecord { + CONST_VTBL ITfEditRecordVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfEditRecord_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfEditRecord_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfEditRecord_Release(This) (This)->lpVtbl->Release(This) +/*** ITfEditRecord methods ***/ +#define ITfEditRecord_GetSelectionStatus(This,changed) (This)->lpVtbl->GetSelectionStatus(This,changed) +#define ITfEditRecord_GetTextAndPropertyUpdates(This,flags,props,count,ret) (This)->lpVtbl->GetTextAndPropertyUpdates(This,flags,props,count,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfEditRecord_QueryInterface(ITfEditRecord* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfEditRecord_AddRef(ITfEditRecord* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfEditRecord_Release(ITfEditRecord* This) { + return This->lpVtbl->Release(This); +} +/*** ITfEditRecord methods ***/ +static FORCEINLINE HRESULT ITfEditRecord_GetSelectionStatus(ITfEditRecord* This,BOOL *changed) { + return This->lpVtbl->GetSelectionStatus(This,changed); +} +static FORCEINLINE HRESULT ITfEditRecord_GetTextAndPropertyUpdates(ITfEditRecord* This,DWORD flags,const GUID **props,ULONG count,IEnumTfRanges **ret) { + return This->lpVtbl->GetTextAndPropertyUpdates(This,flags,props,count,ret); +} +#endif +#endif + +#endif + + +#endif /* __ITfEditRecord_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfTextEditSink interface + */ +#ifndef __ITfTextEditSink_INTERFACE_DEFINED__ +#define __ITfTextEditSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfTextEditSink, 0x8127d409, 0xccd3, 0x4683, 0x96,0x7a, 0xb4,0x3d,0x5b,0x48,0x2b,0xf7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8127d409-ccd3-4683-967a-b43d5b482bf7") +ITfTextEditSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnEndEdit( + ITfContext *pic, + TfEditCookie ecReadOnly, + ITfEditRecord *pEditRecord) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfTextEditSink, 0x8127d409, 0xccd3, 0x4683, 0x96,0x7a, 0xb4,0x3d,0x5b,0x48,0x2b,0xf7) +#endif +#else +typedef struct ITfTextEditSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfTextEditSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfTextEditSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfTextEditSink *This); + + /*** ITfTextEditSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnEndEdit)( + ITfTextEditSink *This, + ITfContext *pic, + TfEditCookie ecReadOnly, + ITfEditRecord *pEditRecord); + + END_INTERFACE +} ITfTextEditSinkVtbl; + +interface ITfTextEditSink { + CONST_VTBL ITfTextEditSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfTextEditSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfTextEditSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfTextEditSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfTextEditSink methods ***/ +#define ITfTextEditSink_OnEndEdit(This,pic,ecReadOnly,pEditRecord) (This)->lpVtbl->OnEndEdit(This,pic,ecReadOnly,pEditRecord) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfTextEditSink_QueryInterface(ITfTextEditSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfTextEditSink_AddRef(ITfTextEditSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfTextEditSink_Release(ITfTextEditSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfTextEditSink methods ***/ +static FORCEINLINE HRESULT ITfTextEditSink_OnEndEdit(ITfTextEditSink* This,ITfContext *pic,TfEditCookie ecReadOnly,ITfEditRecord *pEditRecord) { + return This->lpVtbl->OnEndEdit(This,pic,ecReadOnly,pEditRecord); +} +#endif +#endif + +#endif + + +#endif /* __ITfTextEditSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfContextOwnerCompositionSink interface + */ +#ifndef __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__ +#define __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfContextOwnerCompositionSink, 0x5f20aa40, 0xb57a, 0x4f34, 0x96,0xab, 0x35,0x76,0xf3,0x77,0xcc,0x79); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5f20aa40-b57a-4f34-96ab-3576f377cc79") +ITfContextOwnerCompositionSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnStartComposition( + ITfCompositionView *pComposition, + BOOL *pfOk) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnUpdateComposition( + ITfCompositionView *pComposition, + ITfRange *pRangeNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEndComposition( + ITfCompositionView *pComposition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfContextOwnerCompositionSink, 0x5f20aa40, 0xb57a, 0x4f34, 0x96,0xab, 0x35,0x76,0xf3,0x77,0xcc,0x79) +#endif +#else +typedef struct ITfContextOwnerCompositionSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfContextOwnerCompositionSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfContextOwnerCompositionSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfContextOwnerCompositionSink *This); + + /*** ITfContextOwnerCompositionSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStartComposition)( + ITfContextOwnerCompositionSink *This, + ITfCompositionView *pComposition, + BOOL *pfOk); + + HRESULT (STDMETHODCALLTYPE *OnUpdateComposition)( + ITfContextOwnerCompositionSink *This, + ITfCompositionView *pComposition, + ITfRange *pRangeNew); + + HRESULT (STDMETHODCALLTYPE *OnEndComposition)( + ITfContextOwnerCompositionSink *This, + ITfCompositionView *pComposition); + + END_INTERFACE +} ITfContextOwnerCompositionSinkVtbl; + +interface ITfContextOwnerCompositionSink { + CONST_VTBL ITfContextOwnerCompositionSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfContextOwnerCompositionSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfContextOwnerCompositionSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfContextOwnerCompositionSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfContextOwnerCompositionSink methods ***/ +#define ITfContextOwnerCompositionSink_OnStartComposition(This,pComposition,pfOk) (This)->lpVtbl->OnStartComposition(This,pComposition,pfOk) +#define ITfContextOwnerCompositionSink_OnUpdateComposition(This,pComposition,pRangeNew) (This)->lpVtbl->OnUpdateComposition(This,pComposition,pRangeNew) +#define ITfContextOwnerCompositionSink_OnEndComposition(This,pComposition) (This)->lpVtbl->OnEndComposition(This,pComposition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerCompositionSink_QueryInterface(ITfContextOwnerCompositionSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfContextOwnerCompositionSink_AddRef(ITfContextOwnerCompositionSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfContextOwnerCompositionSink_Release(ITfContextOwnerCompositionSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfContextOwnerCompositionSink methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerCompositionSink_OnStartComposition(ITfContextOwnerCompositionSink* This,ITfCompositionView *pComposition,BOOL *pfOk) { + return This->lpVtbl->OnStartComposition(This,pComposition,pfOk); +} +static FORCEINLINE HRESULT ITfContextOwnerCompositionSink_OnUpdateComposition(ITfContextOwnerCompositionSink* This,ITfCompositionView *pComposition,ITfRange *pRangeNew) { + return This->lpVtbl->OnUpdateComposition(This,pComposition,pRangeNew); +} +static FORCEINLINE HRESULT ITfContextOwnerCompositionSink_OnEndComposition(ITfContextOwnerCompositionSink* This,ITfCompositionView *pComposition) { + return This->lpVtbl->OnEndComposition(This,pComposition); +} +#endif +#endif + +#endif + + +#endif /* __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfActiveLanguageProfileNotifySink interface + */ +#ifndef __ITfActiveLanguageProfileNotifySink_INTERFACE_DEFINED__ +#define __ITfActiveLanguageProfileNotifySink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfActiveLanguageProfileNotifySink, 0xb246cb75, 0xa93e, 0x4652, 0xbf,0x8c, 0xb3,0xfe,0x0c,0xfd,0x7e,0x57); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b246cb75-a93e-4652-bf8c-b3fe0cfd7e57") +ITfActiveLanguageProfileNotifySink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnActivated( + REFCLSID clsid, + REFGUID guidProfile, + BOOL fActivated) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfActiveLanguageProfileNotifySink, 0xb246cb75, 0xa93e, 0x4652, 0xbf,0x8c, 0xb3,0xfe,0x0c,0xfd,0x7e,0x57) +#endif +#else +typedef struct ITfActiveLanguageProfileNotifySinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfActiveLanguageProfileNotifySink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfActiveLanguageProfileNotifySink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfActiveLanguageProfileNotifySink *This); + + /*** ITfActiveLanguageProfileNotifySink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnActivated)( + ITfActiveLanguageProfileNotifySink *This, + REFCLSID clsid, + REFGUID guidProfile, + BOOL fActivated); + + END_INTERFACE +} ITfActiveLanguageProfileNotifySinkVtbl; + +interface ITfActiveLanguageProfileNotifySink { + CONST_VTBL ITfActiveLanguageProfileNotifySinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfActiveLanguageProfileNotifySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfActiveLanguageProfileNotifySink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfActiveLanguageProfileNotifySink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfActiveLanguageProfileNotifySink methods ***/ +#define ITfActiveLanguageProfileNotifySink_OnActivated(This,clsid,guidProfile,fActivated) (This)->lpVtbl->OnActivated(This,clsid,guidProfile,fActivated) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfActiveLanguageProfileNotifySink_QueryInterface(ITfActiveLanguageProfileNotifySink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfActiveLanguageProfileNotifySink_AddRef(ITfActiveLanguageProfileNotifySink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfActiveLanguageProfileNotifySink_Release(ITfActiveLanguageProfileNotifySink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfActiveLanguageProfileNotifySink methods ***/ +static FORCEINLINE HRESULT ITfActiveLanguageProfileNotifySink_OnActivated(ITfActiveLanguageProfileNotifySink* This,REFCLSID clsid,REFGUID guidProfile,BOOL fActivated) { + return This->lpVtbl->OnActivated(This,clsid,guidProfile,fActivated); +} +#endif +#endif + +#endif + + +#endif /* __ITfActiveLanguageProfileNotifySink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfLanguageProfiles interface + */ +#ifndef __IEnumTfLanguageProfiles_INTERFACE_DEFINED__ +#define __IEnumTfLanguageProfiles_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfLanguageProfiles, 0x3d61bf11, 0xac5f, 0x42c8, 0xa4,0xcb, 0x93,0x1b,0xcc,0x28,0xc7,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d61bf11-ac5f-42c8-a4cb-931bcc28c744") +IEnumTfLanguageProfiles : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfLanguageProfiles **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + TF_LANGUAGEPROFILE *pProfile, + ULONG *pcFetch) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfLanguageProfiles, 0x3d61bf11, 0xac5f, 0x42c8, 0xa4,0xcb, 0x93,0x1b,0xcc,0x28,0xc7,0x44) +#endif +#else +typedef struct IEnumTfLanguageProfilesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfLanguageProfiles *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfLanguageProfiles *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfLanguageProfiles *This); + + /*** IEnumTfLanguageProfiles methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfLanguageProfiles *This, + IEnumTfLanguageProfiles **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfLanguageProfiles *This, + ULONG ulCount, + TF_LANGUAGEPROFILE *pProfile, + ULONG *pcFetch); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfLanguageProfiles *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfLanguageProfiles *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfLanguageProfilesVtbl; + +interface IEnumTfLanguageProfiles { + CONST_VTBL IEnumTfLanguageProfilesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfLanguageProfiles_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfLanguageProfiles_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfLanguageProfiles_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfLanguageProfiles methods ***/ +#define IEnumTfLanguageProfiles_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfLanguageProfiles_Next(This,ulCount,pProfile,pcFetch) (This)->lpVtbl->Next(This,ulCount,pProfile,pcFetch) +#define IEnumTfLanguageProfiles_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfLanguageProfiles_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfLanguageProfiles_QueryInterface(IEnumTfLanguageProfiles* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfLanguageProfiles_AddRef(IEnumTfLanguageProfiles* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfLanguageProfiles_Release(IEnumTfLanguageProfiles* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfLanguageProfiles methods ***/ +static FORCEINLINE HRESULT IEnumTfLanguageProfiles_Clone(IEnumTfLanguageProfiles* This,IEnumTfLanguageProfiles **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfLanguageProfiles_Next(IEnumTfLanguageProfiles* This,ULONG ulCount,TF_LANGUAGEPROFILE *pProfile,ULONG *pcFetch) { + return This->lpVtbl->Next(This,ulCount,pProfile,pcFetch); +} +static FORCEINLINE HRESULT IEnumTfLanguageProfiles_Reset(IEnumTfLanguageProfiles* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfLanguageProfiles_Skip(IEnumTfLanguageProfiles* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfLanguageProfiles_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfTextInputProcessor interface + */ +#ifndef __ITfTextInputProcessor_INTERFACE_DEFINED__ +#define __ITfTextInputProcessor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfTextInputProcessor, 0xaa80e7f7, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e7f7-2021-11d2-93e0-0060b067b86e") +ITfTextInputProcessor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Activate( + ITfThreadMgr *ptim, + TfClientId tid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Deactivate( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfTextInputProcessor, 0xaa80e7f7, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfTextInputProcessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfTextInputProcessor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfTextInputProcessor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfTextInputProcessor *This); + + /*** ITfTextInputProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *Activate)( + ITfTextInputProcessor *This, + ITfThreadMgr *ptim, + TfClientId tid); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + ITfTextInputProcessor *This); + + END_INTERFACE +} ITfTextInputProcessorVtbl; + +interface ITfTextInputProcessor { + CONST_VTBL ITfTextInputProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfTextInputProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfTextInputProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfTextInputProcessor_Release(This) (This)->lpVtbl->Release(This) +/*** ITfTextInputProcessor methods ***/ +#define ITfTextInputProcessor_Activate(This,ptim,tid) (This)->lpVtbl->Activate(This,ptim,tid) +#define ITfTextInputProcessor_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfTextInputProcessor_QueryInterface(ITfTextInputProcessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfTextInputProcessor_AddRef(ITfTextInputProcessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfTextInputProcessor_Release(ITfTextInputProcessor* This) { + return This->lpVtbl->Release(This); +} +/*** ITfTextInputProcessor methods ***/ +static FORCEINLINE HRESULT ITfTextInputProcessor_Activate(ITfTextInputProcessor* This,ITfThreadMgr *ptim,TfClientId tid) { + return This->lpVtbl->Activate(This,ptim,tid); +} +static FORCEINLINE HRESULT ITfTextInputProcessor_Deactivate(ITfTextInputProcessor* This) { + return This->lpVtbl->Deactivate(This); +} +#endif +#endif + +#endif + + +#endif /* __ITfTextInputProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfThreadMgrEventSink interface + */ +#ifndef __ITfThreadMgrEventSink_INTERFACE_DEFINED__ +#define __ITfThreadMgrEventSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfThreadMgrEventSink, 0xaa80e80e, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e80e-2021-11d2-93e0-0060b067b86e") +ITfThreadMgrEventSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnInitDocumentMgr( + ITfDocumentMgr *pdim) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnUninitDocumentMgr( + ITfDocumentMgr *pdim) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSetFocus( + ITfDocumentMgr *pdimFocus, + ITfDocumentMgr *pdimPrevFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPushContext( + ITfContext *pic) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPopContext( + ITfContext *pic) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfThreadMgrEventSink, 0xaa80e80e, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfThreadMgrEventSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfThreadMgrEventSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfThreadMgrEventSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfThreadMgrEventSink *This); + + /*** ITfThreadMgrEventSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnInitDocumentMgr)( + ITfThreadMgrEventSink *This, + ITfDocumentMgr *pdim); + + HRESULT (STDMETHODCALLTYPE *OnUninitDocumentMgr)( + ITfThreadMgrEventSink *This, + ITfDocumentMgr *pdim); + + HRESULT (STDMETHODCALLTYPE *OnSetFocus)( + ITfThreadMgrEventSink *This, + ITfDocumentMgr *pdimFocus, + ITfDocumentMgr *pdimPrevFocus); + + HRESULT (STDMETHODCALLTYPE *OnPushContext)( + ITfThreadMgrEventSink *This, + ITfContext *pic); + + HRESULT (STDMETHODCALLTYPE *OnPopContext)( + ITfThreadMgrEventSink *This, + ITfContext *pic); + + END_INTERFACE +} ITfThreadMgrEventSinkVtbl; + +interface ITfThreadMgrEventSink { + CONST_VTBL ITfThreadMgrEventSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfThreadMgrEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfThreadMgrEventSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfThreadMgrEventSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfThreadMgrEventSink methods ***/ +#define ITfThreadMgrEventSink_OnInitDocumentMgr(This,pdim) (This)->lpVtbl->OnInitDocumentMgr(This,pdim) +#define ITfThreadMgrEventSink_OnUninitDocumentMgr(This,pdim) (This)->lpVtbl->OnUninitDocumentMgr(This,pdim) +#define ITfThreadMgrEventSink_OnSetFocus(This,pdimFocus,pdimPrevFocus) (This)->lpVtbl->OnSetFocus(This,pdimFocus,pdimPrevFocus) +#define ITfThreadMgrEventSink_OnPushContext(This,pic) (This)->lpVtbl->OnPushContext(This,pic) +#define ITfThreadMgrEventSink_OnPopContext(This,pic) (This)->lpVtbl->OnPopContext(This,pic) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfThreadMgrEventSink_QueryInterface(ITfThreadMgrEventSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfThreadMgrEventSink_AddRef(ITfThreadMgrEventSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfThreadMgrEventSink_Release(ITfThreadMgrEventSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfThreadMgrEventSink methods ***/ +static FORCEINLINE HRESULT ITfThreadMgrEventSink_OnInitDocumentMgr(ITfThreadMgrEventSink* This,ITfDocumentMgr *pdim) { + return This->lpVtbl->OnInitDocumentMgr(This,pdim); +} +static FORCEINLINE HRESULT ITfThreadMgrEventSink_OnUninitDocumentMgr(ITfThreadMgrEventSink* This,ITfDocumentMgr *pdim) { + return This->lpVtbl->OnUninitDocumentMgr(This,pdim); +} +static FORCEINLINE HRESULT ITfThreadMgrEventSink_OnSetFocus(ITfThreadMgrEventSink* This,ITfDocumentMgr *pdimFocus,ITfDocumentMgr *pdimPrevFocus) { + return This->lpVtbl->OnSetFocus(This,pdimFocus,pdimPrevFocus); +} +static FORCEINLINE HRESULT ITfThreadMgrEventSink_OnPushContext(ITfThreadMgrEventSink* This,ITfContext *pic) { + return This->lpVtbl->OnPushContext(This,pic); +} +static FORCEINLINE HRESULT ITfThreadMgrEventSink_OnPopContext(ITfThreadMgrEventSink* This,ITfContext *pic) { + return This->lpVtbl->OnPopContext(This,pic); +} +#endif +#endif + +#endif + + +#endif /* __ITfThreadMgrEventSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfKeystrokeMgr interface + */ +#ifndef __ITfKeystrokeMgr_INTERFACE_DEFINED__ +#define __ITfKeystrokeMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfKeystrokeMgr, 0xaa80e7f0, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e7f0-2021-11d2-93e0-0060b067b86e") +ITfKeystrokeMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseKeyEventSink( + TfClientId tid, + ITfKeyEventSink *pSink, + BOOL fForeground) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseKeyEventSink( + TfClientId tid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetForeground( + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE TestKeyDown( + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE TestKeyUp( + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE KeyDown( + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE KeyUp( + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreservedKey( + ITfContext *pic, + const TF_PRESERVEDKEY *pprekey, + GUID *pguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPreservedKey( + REFGUID rguid, + const TF_PRESERVEDKEY *pprekey, + BOOL *pfRegistered) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreserveKey( + TfClientId tid, + REFGUID rguid, + const TF_PRESERVEDKEY *prekey, + const WCHAR *pchDesc, + ULONG cchDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnpreserveKey( + REFGUID rguid, + const TF_PRESERVEDKEY *pprekey) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPreservedKeyDescription( + REFGUID rguid, + const WCHAR *pchDesc, + ULONG cchDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreservedKeyDescription( + REFGUID rguid, + BSTR *pbstrDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SimulatePreservedKey( + ITfContext *pic, + REFGUID rguid, + BOOL *pfEaten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfKeystrokeMgr, 0xaa80e7f0, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfKeystrokeMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfKeystrokeMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfKeystrokeMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfKeystrokeMgr *This); + + /*** ITfKeystrokeMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseKeyEventSink)( + ITfKeystrokeMgr *This, + TfClientId tid, + ITfKeyEventSink *pSink, + BOOL fForeground); + + HRESULT (STDMETHODCALLTYPE *UnadviseKeyEventSink)( + ITfKeystrokeMgr *This, + TfClientId tid); + + HRESULT (STDMETHODCALLTYPE *GetForeground)( + ITfKeystrokeMgr *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *TestKeyDown)( + ITfKeystrokeMgr *This, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *TestKeyUp)( + ITfKeystrokeMgr *This, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *KeyDown)( + ITfKeystrokeMgr *This, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *KeyUp)( + ITfKeystrokeMgr *This, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *GetPreservedKey)( + ITfKeystrokeMgr *This, + ITfContext *pic, + const TF_PRESERVEDKEY *pprekey, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *IsPreservedKey)( + ITfKeystrokeMgr *This, + REFGUID rguid, + const TF_PRESERVEDKEY *pprekey, + BOOL *pfRegistered); + + HRESULT (STDMETHODCALLTYPE *PreserveKey)( + ITfKeystrokeMgr *This, + TfClientId tid, + REFGUID rguid, + const TF_PRESERVEDKEY *prekey, + const WCHAR *pchDesc, + ULONG cchDesc); + + HRESULT (STDMETHODCALLTYPE *UnpreserveKey)( + ITfKeystrokeMgr *This, + REFGUID rguid, + const TF_PRESERVEDKEY *pprekey); + + HRESULT (STDMETHODCALLTYPE *SetPreservedKeyDescription)( + ITfKeystrokeMgr *This, + REFGUID rguid, + const WCHAR *pchDesc, + ULONG cchDesc); + + HRESULT (STDMETHODCALLTYPE *GetPreservedKeyDescription)( + ITfKeystrokeMgr *This, + REFGUID rguid, + BSTR *pbstrDesc); + + HRESULT (STDMETHODCALLTYPE *SimulatePreservedKey)( + ITfKeystrokeMgr *This, + ITfContext *pic, + REFGUID rguid, + BOOL *pfEaten); + + END_INTERFACE +} ITfKeystrokeMgrVtbl; + +interface ITfKeystrokeMgr { + CONST_VTBL ITfKeystrokeMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfKeystrokeMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfKeystrokeMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfKeystrokeMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfKeystrokeMgr methods ***/ +#define ITfKeystrokeMgr_AdviseKeyEventSink(This,tid,pSink,fForeground) (This)->lpVtbl->AdviseKeyEventSink(This,tid,pSink,fForeground) +#define ITfKeystrokeMgr_UnadviseKeyEventSink(This,tid) (This)->lpVtbl->UnadviseKeyEventSink(This,tid) +#define ITfKeystrokeMgr_GetForeground(This,pclsid) (This)->lpVtbl->GetForeground(This,pclsid) +#define ITfKeystrokeMgr_TestKeyDown(This,wParam,lParam,pfEaten) (This)->lpVtbl->TestKeyDown(This,wParam,lParam,pfEaten) +#define ITfKeystrokeMgr_TestKeyUp(This,wParam,lParam,pfEaten) (This)->lpVtbl->TestKeyUp(This,wParam,lParam,pfEaten) +#define ITfKeystrokeMgr_KeyDown(This,wParam,lParam,pfEaten) (This)->lpVtbl->KeyDown(This,wParam,lParam,pfEaten) +#define ITfKeystrokeMgr_KeyUp(This,wParam,lParam,pfEaten) (This)->lpVtbl->KeyUp(This,wParam,lParam,pfEaten) +#define ITfKeystrokeMgr_GetPreservedKey(This,pic,pprekey,pguid) (This)->lpVtbl->GetPreservedKey(This,pic,pprekey,pguid) +#define ITfKeystrokeMgr_IsPreservedKey(This,rguid,pprekey,pfRegistered) (This)->lpVtbl->IsPreservedKey(This,rguid,pprekey,pfRegistered) +#define ITfKeystrokeMgr_PreserveKey(This,tid,rguid,prekey,pchDesc,cchDesc) (This)->lpVtbl->PreserveKey(This,tid,rguid,prekey,pchDesc,cchDesc) +#define ITfKeystrokeMgr_UnpreserveKey(This,rguid,pprekey) (This)->lpVtbl->UnpreserveKey(This,rguid,pprekey) +#define ITfKeystrokeMgr_SetPreservedKeyDescription(This,rguid,pchDesc,cchDesc) (This)->lpVtbl->SetPreservedKeyDescription(This,rguid,pchDesc,cchDesc) +#define ITfKeystrokeMgr_GetPreservedKeyDescription(This,rguid,pbstrDesc) (This)->lpVtbl->GetPreservedKeyDescription(This,rguid,pbstrDesc) +#define ITfKeystrokeMgr_SimulatePreservedKey(This,pic,rguid,pfEaten) (This)->lpVtbl->SimulatePreservedKey(This,pic,rguid,pfEaten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfKeystrokeMgr_QueryInterface(ITfKeystrokeMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfKeystrokeMgr_AddRef(ITfKeystrokeMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfKeystrokeMgr_Release(ITfKeystrokeMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfKeystrokeMgr methods ***/ +static FORCEINLINE HRESULT ITfKeystrokeMgr_AdviseKeyEventSink(ITfKeystrokeMgr* This,TfClientId tid,ITfKeyEventSink *pSink,BOOL fForeground) { + return This->lpVtbl->AdviseKeyEventSink(This,tid,pSink,fForeground); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_UnadviseKeyEventSink(ITfKeystrokeMgr* This,TfClientId tid) { + return This->lpVtbl->UnadviseKeyEventSink(This,tid); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_GetForeground(ITfKeystrokeMgr* This,CLSID *pclsid) { + return This->lpVtbl->GetForeground(This,pclsid); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_TestKeyDown(ITfKeystrokeMgr* This,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->TestKeyDown(This,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_TestKeyUp(ITfKeystrokeMgr* This,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->TestKeyUp(This,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_KeyDown(ITfKeystrokeMgr* This,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->KeyDown(This,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_KeyUp(ITfKeystrokeMgr* This,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->KeyUp(This,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_GetPreservedKey(ITfKeystrokeMgr* This,ITfContext *pic,const TF_PRESERVEDKEY *pprekey,GUID *pguid) { + return This->lpVtbl->GetPreservedKey(This,pic,pprekey,pguid); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_IsPreservedKey(ITfKeystrokeMgr* This,REFGUID rguid,const TF_PRESERVEDKEY *pprekey,BOOL *pfRegistered) { + return This->lpVtbl->IsPreservedKey(This,rguid,pprekey,pfRegistered); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_PreserveKey(ITfKeystrokeMgr* This,TfClientId tid,REFGUID rguid,const TF_PRESERVEDKEY *prekey,const WCHAR *pchDesc,ULONG cchDesc) { + return This->lpVtbl->PreserveKey(This,tid,rguid,prekey,pchDesc,cchDesc); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_UnpreserveKey(ITfKeystrokeMgr* This,REFGUID rguid,const TF_PRESERVEDKEY *pprekey) { + return This->lpVtbl->UnpreserveKey(This,rguid,pprekey); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_SetPreservedKeyDescription(ITfKeystrokeMgr* This,REFGUID rguid,const WCHAR *pchDesc,ULONG cchDesc) { + return This->lpVtbl->SetPreservedKeyDescription(This,rguid,pchDesc,cchDesc); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_GetPreservedKeyDescription(ITfKeystrokeMgr* This,REFGUID rguid,BSTR *pbstrDesc) { + return This->lpVtbl->GetPreservedKeyDescription(This,rguid,pbstrDesc); +} +static FORCEINLINE HRESULT ITfKeystrokeMgr_SimulatePreservedKey(ITfKeystrokeMgr* This,ITfContext *pic,REFGUID rguid,BOOL *pfEaten) { + return This->lpVtbl->SimulatePreservedKey(This,pic,rguid,pfEaten); +} +#endif +#endif + +#endif + + +#endif /* __ITfKeystrokeMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfKeyEventSink interface + */ +#ifndef __ITfKeyEventSink_INTERFACE_DEFINED__ +#define __ITfKeyEventSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfKeyEventSink, 0xaa80e7f5, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e7f5-2021-11d2-93e0-0060b067b86e") +ITfKeyEventSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnSetFocus( + BOOL fForeground) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnTestKeyDown( + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnTestKeyUp( + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnKeyDown( + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnKeyUp( + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPreservedKey( + ITfContext *pic, + REFGUID rguid, + BOOL *pfEaten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfKeyEventSink, 0xaa80e7f5, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfKeyEventSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfKeyEventSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfKeyEventSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfKeyEventSink *This); + + /*** ITfKeyEventSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnSetFocus)( + ITfKeyEventSink *This, + BOOL fForeground); + + HRESULT (STDMETHODCALLTYPE *OnTestKeyDown)( + ITfKeyEventSink *This, + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *OnTestKeyUp)( + ITfKeyEventSink *This, + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *OnKeyDown)( + ITfKeyEventSink *This, + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *OnKeyUp)( + ITfKeyEventSink *This, + ITfContext *pic, + WPARAM wParam, + LPARAM lParam, + BOOL *pfEaten); + + HRESULT (STDMETHODCALLTYPE *OnPreservedKey)( + ITfKeyEventSink *This, + ITfContext *pic, + REFGUID rguid, + BOOL *pfEaten); + + END_INTERFACE +} ITfKeyEventSinkVtbl; + +interface ITfKeyEventSink { + CONST_VTBL ITfKeyEventSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfKeyEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfKeyEventSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfKeyEventSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfKeyEventSink methods ***/ +#define ITfKeyEventSink_OnSetFocus(This,fForeground) (This)->lpVtbl->OnSetFocus(This,fForeground) +#define ITfKeyEventSink_OnTestKeyDown(This,pic,wParam,lParam,pfEaten) (This)->lpVtbl->OnTestKeyDown(This,pic,wParam,lParam,pfEaten) +#define ITfKeyEventSink_OnTestKeyUp(This,pic,wParam,lParam,pfEaten) (This)->lpVtbl->OnTestKeyUp(This,pic,wParam,lParam,pfEaten) +#define ITfKeyEventSink_OnKeyDown(This,pic,wParam,lParam,pfEaten) (This)->lpVtbl->OnKeyDown(This,pic,wParam,lParam,pfEaten) +#define ITfKeyEventSink_OnKeyUp(This,pic,wParam,lParam,pfEaten) (This)->lpVtbl->OnKeyUp(This,pic,wParam,lParam,pfEaten) +#define ITfKeyEventSink_OnPreservedKey(This,pic,rguid,pfEaten) (This)->lpVtbl->OnPreservedKey(This,pic,rguid,pfEaten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfKeyEventSink_QueryInterface(ITfKeyEventSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfKeyEventSink_AddRef(ITfKeyEventSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfKeyEventSink_Release(ITfKeyEventSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfKeyEventSink methods ***/ +static FORCEINLINE HRESULT ITfKeyEventSink_OnSetFocus(ITfKeyEventSink* This,BOOL fForeground) { + return This->lpVtbl->OnSetFocus(This,fForeground); +} +static FORCEINLINE HRESULT ITfKeyEventSink_OnTestKeyDown(ITfKeyEventSink* This,ITfContext *pic,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->OnTestKeyDown(This,pic,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeyEventSink_OnTestKeyUp(ITfKeyEventSink* This,ITfContext *pic,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->OnTestKeyUp(This,pic,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeyEventSink_OnKeyDown(ITfKeyEventSink* This,ITfContext *pic,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->OnKeyDown(This,pic,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeyEventSink_OnKeyUp(ITfKeyEventSink* This,ITfContext *pic,WPARAM wParam,LPARAM lParam,BOOL *pfEaten) { + return This->lpVtbl->OnKeyUp(This,pic,wParam,lParam,pfEaten); +} +static FORCEINLINE HRESULT ITfKeyEventSink_OnPreservedKey(ITfKeyEventSink* This,ITfContext *pic,REFGUID rguid,BOOL *pfEaten) { + return This->lpVtbl->OnPreservedKey(This,pic,rguid,pfEaten); +} +#endif +#endif + +#endif + + +#endif /* __ITfKeyEventSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfMessagePump interface + */ +#ifndef __ITfMessagePump_INTERFACE_DEFINED__ +#define __ITfMessagePump_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfMessagePump, 0x8f1b8ad8, 0x0b6b, 0x4874, 0x90,0xc5, 0xbd,0x76,0x01,0x1e,0x8f,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f1b8ad8-0b6b-4874-90c5-bd76011e8f7c") +ITfMessagePump : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PeekMessageA( + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + UINT wRemoveMsg, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessageA( + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE PeekMessageW( + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + UINT wRemoveMsg, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessageW( + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + BOOL *pfResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfMessagePump, 0x8f1b8ad8, 0x0b6b, 0x4874, 0x90,0xc5, 0xbd,0x76,0x01,0x1e,0x8f,0x7c) +#endif +#else +typedef struct ITfMessagePumpVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfMessagePump *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfMessagePump *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfMessagePump *This); + + /*** ITfMessagePump methods ***/ + HRESULT (STDMETHODCALLTYPE *PeekMessageA)( + ITfMessagePump *This, + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + UINT wRemoveMsg, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *GetMessageA)( + ITfMessagePump *This, + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *PeekMessageW)( + ITfMessagePump *This, + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + UINT wRemoveMsg, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *GetMessageW)( + ITfMessagePump *This, + LPMSG pMsg, + HWND hwnd, + UINT wMsgFilterMin, + UINT wMsgFilterMax, + BOOL *pfResult); + + END_INTERFACE +} ITfMessagePumpVtbl; + +interface ITfMessagePump { + CONST_VTBL ITfMessagePumpVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfMessagePump_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfMessagePump_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfMessagePump_Release(This) (This)->lpVtbl->Release(This) +/*** ITfMessagePump methods ***/ +#define ITfMessagePump_PeekMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult) (This)->lpVtbl->PeekMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult) +#define ITfMessagePump_GetMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult) (This)->lpVtbl->GetMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult) +#define ITfMessagePump_PeekMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult) (This)->lpVtbl->PeekMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult) +#define ITfMessagePump_GetMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult) (This)->lpVtbl->GetMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfMessagePump_QueryInterface(ITfMessagePump* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfMessagePump_AddRef(ITfMessagePump* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfMessagePump_Release(ITfMessagePump* This) { + return This->lpVtbl->Release(This); +} +/*** ITfMessagePump methods ***/ +static FORCEINLINE HRESULT ITfMessagePump_PeekMessageA(ITfMessagePump* This,LPMSG pMsg,HWND hwnd,UINT wMsgFilterMin,UINT wMsgFilterMax,UINT wRemoveMsg,BOOL *pfResult) { + return This->lpVtbl->PeekMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult); +} +static FORCEINLINE HRESULT ITfMessagePump_GetMessageA(ITfMessagePump* This,LPMSG pMsg,HWND hwnd,UINT wMsgFilterMin,UINT wMsgFilterMax,BOOL *pfResult) { + return This->lpVtbl->GetMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult); +} +static FORCEINLINE HRESULT ITfMessagePump_PeekMessageW(ITfMessagePump* This,LPMSG pMsg,HWND hwnd,UINT wMsgFilterMin,UINT wMsgFilterMax,UINT wRemoveMsg,BOOL *pfResult) { + return This->lpVtbl->PeekMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult); +} +static FORCEINLINE HRESULT ITfMessagePump_GetMessageW(ITfMessagePump* This,LPMSG pMsg,HWND hwnd,UINT wMsgFilterMin,UINT wMsgFilterMax,BOOL *pfResult) { + return This->lpVtbl->GetMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult); +} +#endif +#endif + +#endif + + +#endif /* __ITfMessagePump_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfClientId interface + */ +#ifndef __ITfClientId_INTERFACE_DEFINED__ +#define __ITfClientId_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfClientId, 0xd60a7b49, 0x1b9f, 0x4be2, 0xb7,0x02, 0x47,0xe9,0xdc,0x05,0xde,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d60a7b49-1b9f-4be2-b702-47e9dc05dec3") +ITfClientId : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClientId( + REFCLSID rclsid, + TfClientId *ptid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfClientId, 0xd60a7b49, 0x1b9f, 0x4be2, 0xb7,0x02, 0x47,0xe9,0xdc,0x05,0xde,0xc3) +#endif +#else +typedef struct ITfClientIdVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfClientId *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfClientId *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfClientId *This); + + /*** ITfClientId methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClientId)( + ITfClientId *This, + REFCLSID rclsid, + TfClientId *ptid); + + END_INTERFACE +} ITfClientIdVtbl; + +interface ITfClientId { + CONST_VTBL ITfClientIdVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfClientId_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfClientId_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfClientId_Release(This) (This)->lpVtbl->Release(This) +/*** ITfClientId methods ***/ +#define ITfClientId_GetClientId(This,rclsid,ptid) (This)->lpVtbl->GetClientId(This,rclsid,ptid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfClientId_QueryInterface(ITfClientId* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfClientId_AddRef(ITfClientId* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfClientId_Release(ITfClientId* This) { + return This->lpVtbl->Release(This); +} +/*** ITfClientId methods ***/ +static FORCEINLINE HRESULT ITfClientId_GetClientId(ITfClientId* This,REFCLSID rclsid,TfClientId *ptid) { + return This->lpVtbl->GetClientId(This,rclsid,ptid); +} +#endif +#endif + +#endif + + +#endif /* __ITfClientId_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfLanguageProfileNotifySink interface + */ +#ifndef __ITfLanguageProfileNotifySink_INTERFACE_DEFINED__ +#define __ITfLanguageProfileNotifySink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfLanguageProfileNotifySink, 0x43c9fe15, 0xf494, 0x4c17, 0x9d,0xe2, 0xb8,0xa4,0xac,0x35,0x0a,0xa8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("43c9fe15-f494-4c17-9de2-b8a4ac350aa8") +ITfLanguageProfileNotifySink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnLanguageChange( + LANGID langid, + BOOL *pfAccept) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnLanguageChanged( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfLanguageProfileNotifySink, 0x43c9fe15, 0xf494, 0x4c17, 0x9d,0xe2, 0xb8,0xa4,0xac,0x35,0x0a,0xa8) +#endif +#else +typedef struct ITfLanguageProfileNotifySinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfLanguageProfileNotifySink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfLanguageProfileNotifySink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfLanguageProfileNotifySink *This); + + /*** ITfLanguageProfileNotifySink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnLanguageChange)( + ITfLanguageProfileNotifySink *This, + LANGID langid, + BOOL *pfAccept); + + HRESULT (STDMETHODCALLTYPE *OnLanguageChanged)( + ITfLanguageProfileNotifySink *This); + + END_INTERFACE +} ITfLanguageProfileNotifySinkVtbl; + +interface ITfLanguageProfileNotifySink { + CONST_VTBL ITfLanguageProfileNotifySinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfLanguageProfileNotifySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfLanguageProfileNotifySink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfLanguageProfileNotifySink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfLanguageProfileNotifySink methods ***/ +#define ITfLanguageProfileNotifySink_OnLanguageChange(This,langid,pfAccept) (This)->lpVtbl->OnLanguageChange(This,langid,pfAccept) +#define ITfLanguageProfileNotifySink_OnLanguageChanged(This) (This)->lpVtbl->OnLanguageChanged(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfLanguageProfileNotifySink_QueryInterface(ITfLanguageProfileNotifySink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfLanguageProfileNotifySink_AddRef(ITfLanguageProfileNotifySink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfLanguageProfileNotifySink_Release(ITfLanguageProfileNotifySink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfLanguageProfileNotifySink methods ***/ +static FORCEINLINE HRESULT ITfLanguageProfileNotifySink_OnLanguageChange(ITfLanguageProfileNotifySink* This,LANGID langid,BOOL *pfAccept) { + return This->lpVtbl->OnLanguageChange(This,langid,pfAccept); +} +static FORCEINLINE HRESULT ITfLanguageProfileNotifySink_OnLanguageChanged(ITfLanguageProfileNotifySink* This) { + return This->lpVtbl->OnLanguageChanged(This); +} +#endif +#endif + +#endif + + +#endif /* __ITfLanguageProfileNotifySink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfEditSession interface + */ +#ifndef __ITfEditSession_INTERFACE_DEFINED__ +#define __ITfEditSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfEditSession, 0xaa80e803, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e803-2021-11d2-93e0-0060b067b86e") +ITfEditSession : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DoEditSession( + TfEditCookie ec) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfEditSession, 0xaa80e803, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfEditSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfEditSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfEditSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfEditSession *This); + + /*** ITfEditSession methods ***/ + HRESULT (STDMETHODCALLTYPE *DoEditSession)( + ITfEditSession *This, + TfEditCookie ec); + + END_INTERFACE +} ITfEditSessionVtbl; + +interface ITfEditSession { + CONST_VTBL ITfEditSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfEditSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfEditSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfEditSession_Release(This) (This)->lpVtbl->Release(This) +/*** ITfEditSession methods ***/ +#define ITfEditSession_DoEditSession(This,ec) (This)->lpVtbl->DoEditSession(This,ec) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfEditSession_QueryInterface(ITfEditSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfEditSession_AddRef(ITfEditSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfEditSession_Release(ITfEditSession* This) { + return This->lpVtbl->Release(This); +} +/*** ITfEditSession methods ***/ +static FORCEINLINE HRESULT ITfEditSession_DoEditSession(ITfEditSession* This,TfEditCookie ec) { + return This->lpVtbl->DoEditSession(This,ec); +} +#endif +#endif + +#endif + + +#endif /* __ITfEditSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfRange interface + */ +#ifndef __ITfRange_INTERFACE_DEFINED__ +#define __ITfRange_INTERFACE_DEFINED__ + +#define TF_CHAR_EMBEDDED (TS_CHAR_EMBEDDED) + +typedef enum __WIDL_msctf_generated_name_0000000A { + TF_GRAVITY_BACKWARD = 0, + TF_GRAVITY_FORWARD = 1 +} TfGravity; +typedef enum __WIDL_msctf_generated_name_0000000B { + TF_SD_BACKWARD = 0, + TF_SD_FORWARD = 1 +} TfShiftDir; +#define TF_HF_OBJECT (1) + +#define TF_TF_MOVESTART (1) + +#define TF_TF_IGNOREEND (2) + +#define TF_ST_CORRECTION (1) + +#define TF_IE_CORRECTION (1) + +typedef struct TF_HALTCOND { + ITfRange *pHaltRange; + TfAnchor aHaltPos; + DWORD dwFlags; +} TF_HALTCOND; +DEFINE_GUID(IID_ITfRange, 0xaa80e7ff, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e7ff-2021-11d2-93e0-0060b067b86e") +ITfRange : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetText( + TfEditCookie ec, + DWORD dwFlags, + WCHAR *pchText, + ULONG cchMax, + ULONG *pcch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetText( + TfEditCookie ec, + DWORD dwFlags, + const WCHAR *pchText, + LONG cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFormattedText( + TfEditCookie ec, + IDataObject **ppDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEmbedded( + TfEditCookie ec, + REFGUID rguidService, + REFIID riid, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertEmbedded( + TfEditCookie ec, + DWORD dwFlags, + IDataObject *pDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftStart( + TfEditCookie ec, + LONG cchReq, + LONG *pcch, + const TF_HALTCOND *pHalt) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftEnd( + TfEditCookie ec, + LONG cchReq, + LONG *pcch, + const TF_HALTCOND *pHalt) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftStartToRange( + TfEditCookie ec, + ITfRange *pRange, + TfAnchor aPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftEndToRange( + TfEditCookie ec, + ITfRange *pRange, + TfAnchor aPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftStartRegion( + TfEditCookie ec, + TfShiftDir dir, + BOOL *pfNoRegion) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftEndRegion( + TfEditCookie ec, + TfShiftDir dir, + BOOL *pfNoRegion) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEmpty( + TfEditCookie ec, + BOOL *pfEmpty) = 0; + + virtual HRESULT STDMETHODCALLTYPE Collapse( + TfEditCookie ec, + TfAnchor aPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqualStart( + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + BOOL *pfEqual) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqualEnd( + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + BOOL *pfEqual) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareStart( + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + LONG *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareEnd( + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + LONG *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdjustForInsert( + TfEditCookie ec, + ULONG cchInsert, + BOOL *pfInsertOk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGravity( + TfGravity *pgStart, + TfGravity *pgEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGravity( + TfEditCookie ec, + TfGravity gStart, + TfGravity gEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + ITfRange **ppClone) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContext( + ITfContext **ppContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfRange, 0xaa80e7ff, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct ITfRangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfRange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfRange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfRange *This); + + /*** ITfRange methods ***/ + HRESULT (STDMETHODCALLTYPE *GetText)( + ITfRange *This, + TfEditCookie ec, + DWORD dwFlags, + WCHAR *pchText, + ULONG cchMax, + ULONG *pcch); + + HRESULT (STDMETHODCALLTYPE *SetText)( + ITfRange *This, + TfEditCookie ec, + DWORD dwFlags, + const WCHAR *pchText, + LONG cch); + + HRESULT (STDMETHODCALLTYPE *GetFormattedText)( + ITfRange *This, + TfEditCookie ec, + IDataObject **ppDataObject); + + HRESULT (STDMETHODCALLTYPE *GetEmbedded)( + ITfRange *This, + TfEditCookie ec, + REFGUID rguidService, + REFIID riid, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *InsertEmbedded)( + ITfRange *This, + TfEditCookie ec, + DWORD dwFlags, + IDataObject *pDataObject); + + HRESULT (STDMETHODCALLTYPE *ShiftStart)( + ITfRange *This, + TfEditCookie ec, + LONG cchReq, + LONG *pcch, + const TF_HALTCOND *pHalt); + + HRESULT (STDMETHODCALLTYPE *ShiftEnd)( + ITfRange *This, + TfEditCookie ec, + LONG cchReq, + LONG *pcch, + const TF_HALTCOND *pHalt); + + HRESULT (STDMETHODCALLTYPE *ShiftStartToRange)( + ITfRange *This, + TfEditCookie ec, + ITfRange *pRange, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *ShiftEndToRange)( + ITfRange *This, + TfEditCookie ec, + ITfRange *pRange, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *ShiftStartRegion)( + ITfRange *This, + TfEditCookie ec, + TfShiftDir dir, + BOOL *pfNoRegion); + + HRESULT (STDMETHODCALLTYPE *ShiftEndRegion)( + ITfRange *This, + TfEditCookie ec, + TfShiftDir dir, + BOOL *pfNoRegion); + + HRESULT (STDMETHODCALLTYPE *IsEmpty)( + ITfRange *This, + TfEditCookie ec, + BOOL *pfEmpty); + + HRESULT (STDMETHODCALLTYPE *Collapse)( + ITfRange *This, + TfEditCookie ec, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *IsEqualStart)( + ITfRange *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + BOOL *pfEqual); + + HRESULT (STDMETHODCALLTYPE *IsEqualEnd)( + ITfRange *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + BOOL *pfEqual); + + HRESULT (STDMETHODCALLTYPE *CompareStart)( + ITfRange *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + LONG *plResult); + + HRESULT (STDMETHODCALLTYPE *CompareEnd)( + ITfRange *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + LONG *plResult); + + HRESULT (STDMETHODCALLTYPE *AdjustForInsert)( + ITfRange *This, + TfEditCookie ec, + ULONG cchInsert, + BOOL *pfInsertOk); + + HRESULT (STDMETHODCALLTYPE *GetGravity)( + ITfRange *This, + TfGravity *pgStart, + TfGravity *pgEnd); + + HRESULT (STDMETHODCALLTYPE *SetGravity)( + ITfRange *This, + TfEditCookie ec, + TfGravity gStart, + TfGravity gEnd); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ITfRange *This, + ITfRange **ppClone); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ITfRange *This, + ITfContext **ppContext); + + END_INTERFACE +} ITfRangeVtbl; + +interface ITfRange { + CONST_VTBL ITfRangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfRange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfRange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfRange_Release(This) (This)->lpVtbl->Release(This) +/*** ITfRange methods ***/ +#define ITfRange_GetText(This,ec,dwFlags,pchText,cchMax,pcch) (This)->lpVtbl->GetText(This,ec,dwFlags,pchText,cchMax,pcch) +#define ITfRange_SetText(This,ec,dwFlags,pchText,cch) (This)->lpVtbl->SetText(This,ec,dwFlags,pchText,cch) +#define ITfRange_GetFormattedText(This,ec,ppDataObject) (This)->lpVtbl->GetFormattedText(This,ec,ppDataObject) +#define ITfRange_GetEmbedded(This,ec,rguidService,riid,ppunk) (This)->lpVtbl->GetEmbedded(This,ec,rguidService,riid,ppunk) +#define ITfRange_InsertEmbedded(This,ec,dwFlags,pDataObject) (This)->lpVtbl->InsertEmbedded(This,ec,dwFlags,pDataObject) +#define ITfRange_ShiftStart(This,ec,cchReq,pcch,pHalt) (This)->lpVtbl->ShiftStart(This,ec,cchReq,pcch,pHalt) +#define ITfRange_ShiftEnd(This,ec,cchReq,pcch,pHalt) (This)->lpVtbl->ShiftEnd(This,ec,cchReq,pcch,pHalt) +#define ITfRange_ShiftStartToRange(This,ec,pRange,aPos) (This)->lpVtbl->ShiftStartToRange(This,ec,pRange,aPos) +#define ITfRange_ShiftEndToRange(This,ec,pRange,aPos) (This)->lpVtbl->ShiftEndToRange(This,ec,pRange,aPos) +#define ITfRange_ShiftStartRegion(This,ec,dir,pfNoRegion) (This)->lpVtbl->ShiftStartRegion(This,ec,dir,pfNoRegion) +#define ITfRange_ShiftEndRegion(This,ec,dir,pfNoRegion) (This)->lpVtbl->ShiftEndRegion(This,ec,dir,pfNoRegion) +#define ITfRange_IsEmpty(This,ec,pfEmpty) (This)->lpVtbl->IsEmpty(This,ec,pfEmpty) +#define ITfRange_Collapse(This,ec,aPos) (This)->lpVtbl->Collapse(This,ec,aPos) +#define ITfRange_IsEqualStart(This,ec,pWith,aPos,pfEqual) (This)->lpVtbl->IsEqualStart(This,ec,pWith,aPos,pfEqual) +#define ITfRange_IsEqualEnd(This,ec,pWith,aPos,pfEqual) (This)->lpVtbl->IsEqualEnd(This,ec,pWith,aPos,pfEqual) +#define ITfRange_CompareStart(This,ec,pWith,aPos,plResult) (This)->lpVtbl->CompareStart(This,ec,pWith,aPos,plResult) +#define ITfRange_CompareEnd(This,ec,pWith,aPos,plResult) (This)->lpVtbl->CompareEnd(This,ec,pWith,aPos,plResult) +#define ITfRange_AdjustForInsert(This,ec,cchInsert,pfInsertOk) (This)->lpVtbl->AdjustForInsert(This,ec,cchInsert,pfInsertOk) +#define ITfRange_GetGravity(This,pgStart,pgEnd) (This)->lpVtbl->GetGravity(This,pgStart,pgEnd) +#define ITfRange_SetGravity(This,ec,gStart,gEnd) (This)->lpVtbl->SetGravity(This,ec,gStart,gEnd) +#define ITfRange_Clone(This,ppClone) (This)->lpVtbl->Clone(This,ppClone) +#define ITfRange_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfRange_QueryInterface(ITfRange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfRange_AddRef(ITfRange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfRange_Release(ITfRange* This) { + return This->lpVtbl->Release(This); +} +/*** ITfRange methods ***/ +static FORCEINLINE HRESULT ITfRange_GetText(ITfRange* This,TfEditCookie ec,DWORD dwFlags,WCHAR *pchText,ULONG cchMax,ULONG *pcch) { + return This->lpVtbl->GetText(This,ec,dwFlags,pchText,cchMax,pcch); +} +static FORCEINLINE HRESULT ITfRange_SetText(ITfRange* This,TfEditCookie ec,DWORD dwFlags,const WCHAR *pchText,LONG cch) { + return This->lpVtbl->SetText(This,ec,dwFlags,pchText,cch); +} +static FORCEINLINE HRESULT ITfRange_GetFormattedText(ITfRange* This,TfEditCookie ec,IDataObject **ppDataObject) { + return This->lpVtbl->GetFormattedText(This,ec,ppDataObject); +} +static FORCEINLINE HRESULT ITfRange_GetEmbedded(ITfRange* This,TfEditCookie ec,REFGUID rguidService,REFIID riid,IUnknown **ppunk) { + return This->lpVtbl->GetEmbedded(This,ec,rguidService,riid,ppunk); +} +static FORCEINLINE HRESULT ITfRange_InsertEmbedded(ITfRange* This,TfEditCookie ec,DWORD dwFlags,IDataObject *pDataObject) { + return This->lpVtbl->InsertEmbedded(This,ec,dwFlags,pDataObject); +} +static FORCEINLINE HRESULT ITfRange_ShiftStart(ITfRange* This,TfEditCookie ec,LONG cchReq,LONG *pcch,const TF_HALTCOND *pHalt) { + return This->lpVtbl->ShiftStart(This,ec,cchReq,pcch,pHalt); +} +static FORCEINLINE HRESULT ITfRange_ShiftEnd(ITfRange* This,TfEditCookie ec,LONG cchReq,LONG *pcch,const TF_HALTCOND *pHalt) { + return This->lpVtbl->ShiftEnd(This,ec,cchReq,pcch,pHalt); +} +static FORCEINLINE HRESULT ITfRange_ShiftStartToRange(ITfRange* This,TfEditCookie ec,ITfRange *pRange,TfAnchor aPos) { + return This->lpVtbl->ShiftStartToRange(This,ec,pRange,aPos); +} +static FORCEINLINE HRESULT ITfRange_ShiftEndToRange(ITfRange* This,TfEditCookie ec,ITfRange *pRange,TfAnchor aPos) { + return This->lpVtbl->ShiftEndToRange(This,ec,pRange,aPos); +} +static FORCEINLINE HRESULT ITfRange_ShiftStartRegion(ITfRange* This,TfEditCookie ec,TfShiftDir dir,BOOL *pfNoRegion) { + return This->lpVtbl->ShiftStartRegion(This,ec,dir,pfNoRegion); +} +static FORCEINLINE HRESULT ITfRange_ShiftEndRegion(ITfRange* This,TfEditCookie ec,TfShiftDir dir,BOOL *pfNoRegion) { + return This->lpVtbl->ShiftEndRegion(This,ec,dir,pfNoRegion); +} +static FORCEINLINE HRESULT ITfRange_IsEmpty(ITfRange* This,TfEditCookie ec,BOOL *pfEmpty) { + return This->lpVtbl->IsEmpty(This,ec,pfEmpty); +} +static FORCEINLINE HRESULT ITfRange_Collapse(ITfRange* This,TfEditCookie ec,TfAnchor aPos) { + return This->lpVtbl->Collapse(This,ec,aPos); +} +static FORCEINLINE HRESULT ITfRange_IsEqualStart(ITfRange* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,BOOL *pfEqual) { + return This->lpVtbl->IsEqualStart(This,ec,pWith,aPos,pfEqual); +} +static FORCEINLINE HRESULT ITfRange_IsEqualEnd(ITfRange* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,BOOL *pfEqual) { + return This->lpVtbl->IsEqualEnd(This,ec,pWith,aPos,pfEqual); +} +static FORCEINLINE HRESULT ITfRange_CompareStart(ITfRange* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,LONG *plResult) { + return This->lpVtbl->CompareStart(This,ec,pWith,aPos,plResult); +} +static FORCEINLINE HRESULT ITfRange_CompareEnd(ITfRange* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,LONG *plResult) { + return This->lpVtbl->CompareEnd(This,ec,pWith,aPos,plResult); +} +static FORCEINLINE HRESULT ITfRange_AdjustForInsert(ITfRange* This,TfEditCookie ec,ULONG cchInsert,BOOL *pfInsertOk) { + return This->lpVtbl->AdjustForInsert(This,ec,cchInsert,pfInsertOk); +} +static FORCEINLINE HRESULT ITfRange_GetGravity(ITfRange* This,TfGravity *pgStart,TfGravity *pgEnd) { + return This->lpVtbl->GetGravity(This,pgStart,pgEnd); +} +static FORCEINLINE HRESULT ITfRange_SetGravity(ITfRange* This,TfEditCookie ec,TfGravity gStart,TfGravity gEnd) { + return This->lpVtbl->SetGravity(This,ec,gStart,gEnd); +} +static FORCEINLINE HRESULT ITfRange_Clone(ITfRange* This,ITfRange **ppClone) { + return This->lpVtbl->Clone(This,ppClone); +} +static FORCEINLINE HRESULT ITfRange_GetContext(ITfRange* This,ITfContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +#endif +#endif + +#endif + + +#endif /* __ITfRange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfRangeACP interface + */ +#ifndef __ITfRangeACP_INTERFACE_DEFINED__ +#define __ITfRangeACP_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfRangeACP, 0x057a6296, 0x029b, 0x4154, 0xb7,0x9a, 0x0d,0x46,0x1d,0x4e,0xa9,0x4c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("057a6296-029b-4154-b79a-0d461d4ea94c") +ITfRangeACP : public ITfRange +{ + virtual HRESULT STDMETHODCALLTYPE GetExtent( + LONG *pacpAnchor, + LONG *pcch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetExtent( + LONG acpAnchor, + LONG cch) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfRangeACP, 0x057a6296, 0x029b, 0x4154, 0xb7,0x9a, 0x0d,0x46,0x1d,0x4e,0xa9,0x4c) +#endif +#else +typedef struct ITfRangeACPVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfRangeACP *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfRangeACP *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfRangeACP *This); + + /*** ITfRange methods ***/ + HRESULT (STDMETHODCALLTYPE *GetText)( + ITfRangeACP *This, + TfEditCookie ec, + DWORD dwFlags, + WCHAR *pchText, + ULONG cchMax, + ULONG *pcch); + + HRESULT (STDMETHODCALLTYPE *SetText)( + ITfRangeACP *This, + TfEditCookie ec, + DWORD dwFlags, + const WCHAR *pchText, + LONG cch); + + HRESULT (STDMETHODCALLTYPE *GetFormattedText)( + ITfRangeACP *This, + TfEditCookie ec, + IDataObject **ppDataObject); + + HRESULT (STDMETHODCALLTYPE *GetEmbedded)( + ITfRangeACP *This, + TfEditCookie ec, + REFGUID rguidService, + REFIID riid, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *InsertEmbedded)( + ITfRangeACP *This, + TfEditCookie ec, + DWORD dwFlags, + IDataObject *pDataObject); + + HRESULT (STDMETHODCALLTYPE *ShiftStart)( + ITfRangeACP *This, + TfEditCookie ec, + LONG cchReq, + LONG *pcch, + const TF_HALTCOND *pHalt); + + HRESULT (STDMETHODCALLTYPE *ShiftEnd)( + ITfRangeACP *This, + TfEditCookie ec, + LONG cchReq, + LONG *pcch, + const TF_HALTCOND *pHalt); + + HRESULT (STDMETHODCALLTYPE *ShiftStartToRange)( + ITfRangeACP *This, + TfEditCookie ec, + ITfRange *pRange, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *ShiftEndToRange)( + ITfRangeACP *This, + TfEditCookie ec, + ITfRange *pRange, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *ShiftStartRegion)( + ITfRangeACP *This, + TfEditCookie ec, + TfShiftDir dir, + BOOL *pfNoRegion); + + HRESULT (STDMETHODCALLTYPE *ShiftEndRegion)( + ITfRangeACP *This, + TfEditCookie ec, + TfShiftDir dir, + BOOL *pfNoRegion); + + HRESULT (STDMETHODCALLTYPE *IsEmpty)( + ITfRangeACP *This, + TfEditCookie ec, + BOOL *pfEmpty); + + HRESULT (STDMETHODCALLTYPE *Collapse)( + ITfRangeACP *This, + TfEditCookie ec, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *IsEqualStart)( + ITfRangeACP *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + BOOL *pfEqual); + + HRESULT (STDMETHODCALLTYPE *IsEqualEnd)( + ITfRangeACP *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + BOOL *pfEqual); + + HRESULT (STDMETHODCALLTYPE *CompareStart)( + ITfRangeACP *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + LONG *plResult); + + HRESULT (STDMETHODCALLTYPE *CompareEnd)( + ITfRangeACP *This, + TfEditCookie ec, + ITfRange *pWith, + TfAnchor aPos, + LONG *plResult); + + HRESULT (STDMETHODCALLTYPE *AdjustForInsert)( + ITfRangeACP *This, + TfEditCookie ec, + ULONG cchInsert, + BOOL *pfInsertOk); + + HRESULT (STDMETHODCALLTYPE *GetGravity)( + ITfRangeACP *This, + TfGravity *pgStart, + TfGravity *pgEnd); + + HRESULT (STDMETHODCALLTYPE *SetGravity)( + ITfRangeACP *This, + TfEditCookie ec, + TfGravity gStart, + TfGravity gEnd); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ITfRangeACP *This, + ITfRange **ppClone); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ITfRangeACP *This, + ITfContext **ppContext); + + /*** ITfRangeACP methods ***/ + HRESULT (STDMETHODCALLTYPE *GetExtent)( + ITfRangeACP *This, + LONG *pacpAnchor, + LONG *pcch); + + HRESULT (STDMETHODCALLTYPE *SetExtent)( + ITfRangeACP *This, + LONG acpAnchor, + LONG cch); + + END_INTERFACE +} ITfRangeACPVtbl; + +interface ITfRangeACP { + CONST_VTBL ITfRangeACPVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfRangeACP_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfRangeACP_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfRangeACP_Release(This) (This)->lpVtbl->Release(This) +/*** ITfRange methods ***/ +#define ITfRangeACP_GetText(This,ec,dwFlags,pchText,cchMax,pcch) (This)->lpVtbl->GetText(This,ec,dwFlags,pchText,cchMax,pcch) +#define ITfRangeACP_SetText(This,ec,dwFlags,pchText,cch) (This)->lpVtbl->SetText(This,ec,dwFlags,pchText,cch) +#define ITfRangeACP_GetFormattedText(This,ec,ppDataObject) (This)->lpVtbl->GetFormattedText(This,ec,ppDataObject) +#define ITfRangeACP_GetEmbedded(This,ec,rguidService,riid,ppunk) (This)->lpVtbl->GetEmbedded(This,ec,rguidService,riid,ppunk) +#define ITfRangeACP_InsertEmbedded(This,ec,dwFlags,pDataObject) (This)->lpVtbl->InsertEmbedded(This,ec,dwFlags,pDataObject) +#define ITfRangeACP_ShiftStart(This,ec,cchReq,pcch,pHalt) (This)->lpVtbl->ShiftStart(This,ec,cchReq,pcch,pHalt) +#define ITfRangeACP_ShiftEnd(This,ec,cchReq,pcch,pHalt) (This)->lpVtbl->ShiftEnd(This,ec,cchReq,pcch,pHalt) +#define ITfRangeACP_ShiftStartToRange(This,ec,pRange,aPos) (This)->lpVtbl->ShiftStartToRange(This,ec,pRange,aPos) +#define ITfRangeACP_ShiftEndToRange(This,ec,pRange,aPos) (This)->lpVtbl->ShiftEndToRange(This,ec,pRange,aPos) +#define ITfRangeACP_ShiftStartRegion(This,ec,dir,pfNoRegion) (This)->lpVtbl->ShiftStartRegion(This,ec,dir,pfNoRegion) +#define ITfRangeACP_ShiftEndRegion(This,ec,dir,pfNoRegion) (This)->lpVtbl->ShiftEndRegion(This,ec,dir,pfNoRegion) +#define ITfRangeACP_IsEmpty(This,ec,pfEmpty) (This)->lpVtbl->IsEmpty(This,ec,pfEmpty) +#define ITfRangeACP_Collapse(This,ec,aPos) (This)->lpVtbl->Collapse(This,ec,aPos) +#define ITfRangeACP_IsEqualStart(This,ec,pWith,aPos,pfEqual) (This)->lpVtbl->IsEqualStart(This,ec,pWith,aPos,pfEqual) +#define ITfRangeACP_IsEqualEnd(This,ec,pWith,aPos,pfEqual) (This)->lpVtbl->IsEqualEnd(This,ec,pWith,aPos,pfEqual) +#define ITfRangeACP_CompareStart(This,ec,pWith,aPos,plResult) (This)->lpVtbl->CompareStart(This,ec,pWith,aPos,plResult) +#define ITfRangeACP_CompareEnd(This,ec,pWith,aPos,plResult) (This)->lpVtbl->CompareEnd(This,ec,pWith,aPos,plResult) +#define ITfRangeACP_AdjustForInsert(This,ec,cchInsert,pfInsertOk) (This)->lpVtbl->AdjustForInsert(This,ec,cchInsert,pfInsertOk) +#define ITfRangeACP_GetGravity(This,pgStart,pgEnd) (This)->lpVtbl->GetGravity(This,pgStart,pgEnd) +#define ITfRangeACP_SetGravity(This,ec,gStart,gEnd) (This)->lpVtbl->SetGravity(This,ec,gStart,gEnd) +#define ITfRangeACP_Clone(This,ppClone) (This)->lpVtbl->Clone(This,ppClone) +#define ITfRangeACP_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +/*** ITfRangeACP methods ***/ +#define ITfRangeACP_GetExtent(This,pacpAnchor,pcch) (This)->lpVtbl->GetExtent(This,pacpAnchor,pcch) +#define ITfRangeACP_SetExtent(This,acpAnchor,cch) (This)->lpVtbl->SetExtent(This,acpAnchor,cch) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfRangeACP_QueryInterface(ITfRangeACP* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfRangeACP_AddRef(ITfRangeACP* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfRangeACP_Release(ITfRangeACP* This) { + return This->lpVtbl->Release(This); +} +/*** ITfRange methods ***/ +static FORCEINLINE HRESULT ITfRangeACP_GetText(ITfRangeACP* This,TfEditCookie ec,DWORD dwFlags,WCHAR *pchText,ULONG cchMax,ULONG *pcch) { + return This->lpVtbl->GetText(This,ec,dwFlags,pchText,cchMax,pcch); +} +static FORCEINLINE HRESULT ITfRangeACP_SetText(ITfRangeACP* This,TfEditCookie ec,DWORD dwFlags,const WCHAR *pchText,LONG cch) { + return This->lpVtbl->SetText(This,ec,dwFlags,pchText,cch); +} +static FORCEINLINE HRESULT ITfRangeACP_GetFormattedText(ITfRangeACP* This,TfEditCookie ec,IDataObject **ppDataObject) { + return This->lpVtbl->GetFormattedText(This,ec,ppDataObject); +} +static FORCEINLINE HRESULT ITfRangeACP_GetEmbedded(ITfRangeACP* This,TfEditCookie ec,REFGUID rguidService,REFIID riid,IUnknown **ppunk) { + return This->lpVtbl->GetEmbedded(This,ec,rguidService,riid,ppunk); +} +static FORCEINLINE HRESULT ITfRangeACP_InsertEmbedded(ITfRangeACP* This,TfEditCookie ec,DWORD dwFlags,IDataObject *pDataObject) { + return This->lpVtbl->InsertEmbedded(This,ec,dwFlags,pDataObject); +} +static FORCEINLINE HRESULT ITfRangeACP_ShiftStart(ITfRangeACP* This,TfEditCookie ec,LONG cchReq,LONG *pcch,const TF_HALTCOND *pHalt) { + return This->lpVtbl->ShiftStart(This,ec,cchReq,pcch,pHalt); +} +static FORCEINLINE HRESULT ITfRangeACP_ShiftEnd(ITfRangeACP* This,TfEditCookie ec,LONG cchReq,LONG *pcch,const TF_HALTCOND *pHalt) { + return This->lpVtbl->ShiftEnd(This,ec,cchReq,pcch,pHalt); +} +static FORCEINLINE HRESULT ITfRangeACP_ShiftStartToRange(ITfRangeACP* This,TfEditCookie ec,ITfRange *pRange,TfAnchor aPos) { + return This->lpVtbl->ShiftStartToRange(This,ec,pRange,aPos); +} +static FORCEINLINE HRESULT ITfRangeACP_ShiftEndToRange(ITfRangeACP* This,TfEditCookie ec,ITfRange *pRange,TfAnchor aPos) { + return This->lpVtbl->ShiftEndToRange(This,ec,pRange,aPos); +} +static FORCEINLINE HRESULT ITfRangeACP_ShiftStartRegion(ITfRangeACP* This,TfEditCookie ec,TfShiftDir dir,BOOL *pfNoRegion) { + return This->lpVtbl->ShiftStartRegion(This,ec,dir,pfNoRegion); +} +static FORCEINLINE HRESULT ITfRangeACP_ShiftEndRegion(ITfRangeACP* This,TfEditCookie ec,TfShiftDir dir,BOOL *pfNoRegion) { + return This->lpVtbl->ShiftEndRegion(This,ec,dir,pfNoRegion); +} +static FORCEINLINE HRESULT ITfRangeACP_IsEmpty(ITfRangeACP* This,TfEditCookie ec,BOOL *pfEmpty) { + return This->lpVtbl->IsEmpty(This,ec,pfEmpty); +} +static FORCEINLINE HRESULT ITfRangeACP_Collapse(ITfRangeACP* This,TfEditCookie ec,TfAnchor aPos) { + return This->lpVtbl->Collapse(This,ec,aPos); +} +static FORCEINLINE HRESULT ITfRangeACP_IsEqualStart(ITfRangeACP* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,BOOL *pfEqual) { + return This->lpVtbl->IsEqualStart(This,ec,pWith,aPos,pfEqual); +} +static FORCEINLINE HRESULT ITfRangeACP_IsEqualEnd(ITfRangeACP* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,BOOL *pfEqual) { + return This->lpVtbl->IsEqualEnd(This,ec,pWith,aPos,pfEqual); +} +static FORCEINLINE HRESULT ITfRangeACP_CompareStart(ITfRangeACP* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,LONG *plResult) { + return This->lpVtbl->CompareStart(This,ec,pWith,aPos,plResult); +} +static FORCEINLINE HRESULT ITfRangeACP_CompareEnd(ITfRangeACP* This,TfEditCookie ec,ITfRange *pWith,TfAnchor aPos,LONG *plResult) { + return This->lpVtbl->CompareEnd(This,ec,pWith,aPos,plResult); +} +static FORCEINLINE HRESULT ITfRangeACP_AdjustForInsert(ITfRangeACP* This,TfEditCookie ec,ULONG cchInsert,BOOL *pfInsertOk) { + return This->lpVtbl->AdjustForInsert(This,ec,cchInsert,pfInsertOk); +} +static FORCEINLINE HRESULT ITfRangeACP_GetGravity(ITfRangeACP* This,TfGravity *pgStart,TfGravity *pgEnd) { + return This->lpVtbl->GetGravity(This,pgStart,pgEnd); +} +static FORCEINLINE HRESULT ITfRangeACP_SetGravity(ITfRangeACP* This,TfEditCookie ec,TfGravity gStart,TfGravity gEnd) { + return This->lpVtbl->SetGravity(This,ec,gStart,gEnd); +} +static FORCEINLINE HRESULT ITfRangeACP_Clone(ITfRangeACP* This,ITfRange **ppClone) { + return This->lpVtbl->Clone(This,ppClone); +} +static FORCEINLINE HRESULT ITfRangeACP_GetContext(ITfRangeACP* This,ITfContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +/*** ITfRangeACP methods ***/ +static FORCEINLINE HRESULT ITfRangeACP_GetExtent(ITfRangeACP* This,LONG *pacpAnchor,LONG *pcch) { + return This->lpVtbl->GetExtent(This,pacpAnchor,pcch); +} +static FORCEINLINE HRESULT ITfRangeACP_SetExtent(ITfRangeACP* This,LONG acpAnchor,LONG cch) { + return This->lpVtbl->SetExtent(This,acpAnchor,cch); +} +#endif +#endif + +#endif + + +#endif /* __ITfRangeACP_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfInsertAtSelection interface + */ +#ifndef __ITfInsertAtSelection_INTERFACE_DEFINED__ +#define __ITfInsertAtSelection_INTERFACE_DEFINED__ + +#define TF_IAS_NOQUERY (0x1) + +#define TF_IAS_QUERYONLY (0x2) + +#define TF_IAS_NO_DEFAULT_COMPOSITION (0x80000000) + +DEFINE_GUID(IID_ITfInsertAtSelection, 0x55ce16ba, 0x3014, 0x41c1, 0x9c,0xeb, 0xfa,0xde,0x14,0x46,0xac,0x6c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("55ce16ba-3014-41c1-9ceb-fade1446ac6c") +ITfInsertAtSelection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InsertTextAtSelection( + TfEditCookie ec, + DWORD dwFlags, + const WCHAR *pchText, + LONG cch, + ITfRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertEmbeddedAtSelection( + TfEditCookie ec, + DWORD dwFlags, + IDataObject *pDataObject, + ITfRange **ppRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfInsertAtSelection, 0x55ce16ba, 0x3014, 0x41c1, 0x9c,0xeb, 0xfa,0xde,0x14,0x46,0xac,0x6c) +#endif +#else +typedef struct ITfInsertAtSelectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfInsertAtSelection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfInsertAtSelection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfInsertAtSelection *This); + + /*** ITfInsertAtSelection methods ***/ + HRESULT (STDMETHODCALLTYPE *InsertTextAtSelection)( + ITfInsertAtSelection *This, + TfEditCookie ec, + DWORD dwFlags, + const WCHAR *pchText, + LONG cch, + ITfRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *InsertEmbeddedAtSelection)( + ITfInsertAtSelection *This, + TfEditCookie ec, + DWORD dwFlags, + IDataObject *pDataObject, + ITfRange **ppRange); + + END_INTERFACE +} ITfInsertAtSelectionVtbl; + +interface ITfInsertAtSelection { + CONST_VTBL ITfInsertAtSelectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfInsertAtSelection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfInsertAtSelection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfInsertAtSelection_Release(This) (This)->lpVtbl->Release(This) +/*** ITfInsertAtSelection methods ***/ +#define ITfInsertAtSelection_InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange) (This)->lpVtbl->InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange) +#define ITfInsertAtSelection_InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange) (This)->lpVtbl->InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfInsertAtSelection_QueryInterface(ITfInsertAtSelection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfInsertAtSelection_AddRef(ITfInsertAtSelection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfInsertAtSelection_Release(ITfInsertAtSelection* This) { + return This->lpVtbl->Release(This); +} +/*** ITfInsertAtSelection methods ***/ +static FORCEINLINE HRESULT ITfInsertAtSelection_InsertTextAtSelection(ITfInsertAtSelection* This,TfEditCookie ec,DWORD dwFlags,const WCHAR *pchText,LONG cch,ITfRange **ppRange) { + return This->lpVtbl->InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange); +} +static FORCEINLINE HRESULT ITfInsertAtSelection_InsertEmbeddedAtSelection(ITfInsertAtSelection* This,TfEditCookie ec,DWORD dwFlags,IDataObject *pDataObject,ITfRange **ppRange) { + return This->lpVtbl->InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange); +} +#endif +#endif + +#endif + + +#endif /* __ITfInsertAtSelection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfPropertyStore interface + */ +#ifndef __ITfPropertyStore_INTERFACE_DEFINED__ +#define __ITfPropertyStore_INTERFACE_DEFINED__ + +#define TF_TU_CORRECTION (0x1) + +DEFINE_GUID(IID_ITfPropertyStore, 0x6834b120, 0x88cb, 0x11d2, 0xbf,0x45, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6834b120-88cb-11d2-bf45-00105a2799b5") +ITfPropertyStore : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *pguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataType( + DWORD *pdwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetData( + VARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnTextUpdated( + DWORD dwFlags, + ITfRange *pRangeNew, + BOOL *pfAccept) = 0; + + virtual HRESULT STDMETHODCALLTYPE Shrink( + ITfRange *pRangeNew, + BOOL *pfFree) = 0; + + virtual HRESULT STDMETHODCALLTYPE Divide( + ITfRange *pRangeThis, + ITfRange *pRangeNew, + ITfPropertyStore **ppPropStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + ITfPropertyStore **pPropStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyRangeCreator( + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Serialize( + IStream *pStream, + ULONG *pcb) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfPropertyStore, 0x6834b120, 0x88cb, 0x11d2, 0xbf,0x45, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfPropertyStoreVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfPropertyStore *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfPropertyStore *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfPropertyStore *This); + + /*** ITfPropertyStore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ITfPropertyStore *This, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *GetDataType)( + ITfPropertyStore *This, + DWORD *pdwReserved); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ITfPropertyStore *This, + VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *OnTextUpdated)( + ITfPropertyStore *This, + DWORD dwFlags, + ITfRange *pRangeNew, + BOOL *pfAccept); + + HRESULT (STDMETHODCALLTYPE *Shrink)( + ITfPropertyStore *This, + ITfRange *pRangeNew, + BOOL *pfFree); + + HRESULT (STDMETHODCALLTYPE *Divide)( + ITfPropertyStore *This, + ITfRange *pRangeThis, + ITfRange *pRangeNew, + ITfPropertyStore **ppPropStore); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ITfPropertyStore *This, + ITfPropertyStore **pPropStore); + + HRESULT (STDMETHODCALLTYPE *GetPropertyRangeCreator)( + ITfPropertyStore *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *Serialize)( + ITfPropertyStore *This, + IStream *pStream, + ULONG *pcb); + + END_INTERFACE +} ITfPropertyStoreVtbl; + +interface ITfPropertyStore { + CONST_VTBL ITfPropertyStoreVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfPropertyStore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfPropertyStore_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfPropertyStore_Release(This) (This)->lpVtbl->Release(This) +/*** ITfPropertyStore methods ***/ +#define ITfPropertyStore_GetType(This,pguid) (This)->lpVtbl->GetType(This,pguid) +#define ITfPropertyStore_GetDataType(This,pdwReserved) (This)->lpVtbl->GetDataType(This,pdwReserved) +#define ITfPropertyStore_GetData(This,pvarValue) (This)->lpVtbl->GetData(This,pvarValue) +#define ITfPropertyStore_OnTextUpdated(This,dwFlags,pRangeNew,pfAccept) (This)->lpVtbl->OnTextUpdated(This,dwFlags,pRangeNew,pfAccept) +#define ITfPropertyStore_Shrink(This,pRangeNew,pfFree) (This)->lpVtbl->Shrink(This,pRangeNew,pfFree) +#define ITfPropertyStore_Divide(This,pRangeThis,pRangeNew,ppPropStore) (This)->lpVtbl->Divide(This,pRangeThis,pRangeNew,ppPropStore) +#define ITfPropertyStore_Clone(This,pPropStore) (This)->lpVtbl->Clone(This,pPropStore) +#define ITfPropertyStore_GetPropertyRangeCreator(This,pclsid) (This)->lpVtbl->GetPropertyRangeCreator(This,pclsid) +#define ITfPropertyStore_Serialize(This,pStream,pcb) (This)->lpVtbl->Serialize(This,pStream,pcb) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfPropertyStore_QueryInterface(ITfPropertyStore* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfPropertyStore_AddRef(ITfPropertyStore* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfPropertyStore_Release(ITfPropertyStore* This) { + return This->lpVtbl->Release(This); +} +/*** ITfPropertyStore methods ***/ +static FORCEINLINE HRESULT ITfPropertyStore_GetType(ITfPropertyStore* This,GUID *pguid) { + return This->lpVtbl->GetType(This,pguid); +} +static FORCEINLINE HRESULT ITfPropertyStore_GetDataType(ITfPropertyStore* This,DWORD *pdwReserved) { + return This->lpVtbl->GetDataType(This,pdwReserved); +} +static FORCEINLINE HRESULT ITfPropertyStore_GetData(ITfPropertyStore* This,VARIANT *pvarValue) { + return This->lpVtbl->GetData(This,pvarValue); +} +static FORCEINLINE HRESULT ITfPropertyStore_OnTextUpdated(ITfPropertyStore* This,DWORD dwFlags,ITfRange *pRangeNew,BOOL *pfAccept) { + return This->lpVtbl->OnTextUpdated(This,dwFlags,pRangeNew,pfAccept); +} +static FORCEINLINE HRESULT ITfPropertyStore_Shrink(ITfPropertyStore* This,ITfRange *pRangeNew,BOOL *pfFree) { + return This->lpVtbl->Shrink(This,pRangeNew,pfFree); +} +static FORCEINLINE HRESULT ITfPropertyStore_Divide(ITfPropertyStore* This,ITfRange *pRangeThis,ITfRange *pRangeNew,ITfPropertyStore **ppPropStore) { + return This->lpVtbl->Divide(This,pRangeThis,pRangeNew,ppPropStore); +} +static FORCEINLINE HRESULT ITfPropertyStore_Clone(ITfPropertyStore* This,ITfPropertyStore **pPropStore) { + return This->lpVtbl->Clone(This,pPropStore); +} +static FORCEINLINE HRESULT ITfPropertyStore_GetPropertyRangeCreator(ITfPropertyStore* This,CLSID *pclsid) { + return This->lpVtbl->GetPropertyRangeCreator(This,pclsid); +} +static FORCEINLINE HRESULT ITfPropertyStore_Serialize(ITfPropertyStore* This,IStream *pStream,ULONG *pcb) { + return This->lpVtbl->Serialize(This,pStream,pcb); +} +#endif +#endif + +#endif + + +#endif /* __ITfPropertyStore_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumITfCompositionView interface + */ +#ifndef __IEnumITfCompositionView_INTERFACE_DEFINED__ +#define __IEnumITfCompositionView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumITfCompositionView, 0x5efd22ba, 0x7838, 0x46cb, 0x88,0xe2, 0xca,0xdb,0x14,0x12,0x4f,0x8f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5efd22ba-7838-46cb-88e2-cadb14124f8f") +IEnumITfCompositionView : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumITfCompositionView **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + ITfCompositionView **rgCompositionView, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumITfCompositionView, 0x5efd22ba, 0x7838, 0x46cb, 0x88,0xe2, 0xca,0xdb,0x14,0x12,0x4f,0x8f) +#endif +#else +typedef struct IEnumITfCompositionViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumITfCompositionView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumITfCompositionView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumITfCompositionView *This); + + /*** IEnumITfCompositionView methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumITfCompositionView *This, + IEnumITfCompositionView **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumITfCompositionView *This, + ULONG ulCount, + ITfCompositionView **rgCompositionView, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumITfCompositionView *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumITfCompositionView *This, + ULONG ulCount); + + END_INTERFACE +} IEnumITfCompositionViewVtbl; + +interface IEnumITfCompositionView { + CONST_VTBL IEnumITfCompositionViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumITfCompositionView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumITfCompositionView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumITfCompositionView_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumITfCompositionView methods ***/ +#define IEnumITfCompositionView_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumITfCompositionView_Next(This,ulCount,rgCompositionView,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgCompositionView,pcFetched) +#define IEnumITfCompositionView_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumITfCompositionView_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumITfCompositionView_QueryInterface(IEnumITfCompositionView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumITfCompositionView_AddRef(IEnumITfCompositionView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumITfCompositionView_Release(IEnumITfCompositionView* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumITfCompositionView methods ***/ +static FORCEINLINE HRESULT IEnumITfCompositionView_Clone(IEnumITfCompositionView* This,IEnumITfCompositionView **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumITfCompositionView_Next(IEnumITfCompositionView* This,ULONG ulCount,ITfCompositionView **rgCompositionView,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgCompositionView,pcFetched); +} +static FORCEINLINE HRESULT IEnumITfCompositionView_Reset(IEnumITfCompositionView* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumITfCompositionView_Skip(IEnumITfCompositionView* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumITfCompositionView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfComposition interface + */ +#ifndef __ITfComposition_INTERFACE_DEFINED__ +#define __ITfComposition_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfComposition, 0x20168d64, 0x5a8f, 0x4a5a, 0xb7,0xbd, 0xcf,0xa2,0x9f,0x4d,0x0f,0xd9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("20168d64-5a8f-4a5a-b7bd-cfa29f4d0fd9") +ITfComposition : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRange( + ITfRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftStart( + TfEditCookie ecWrite, + ITfRange *pNewStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShiftEnd( + TfEditCookie ecWrite, + ITfRange *pNewEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndComposition( + TfEditCookie ecWrite) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfComposition, 0x20168d64, 0x5a8f, 0x4a5a, 0xb7,0xbd, 0xcf,0xa2,0x9f,0x4d,0x0f,0xd9) +#endif +#else +typedef struct ITfCompositionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfComposition *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfComposition *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfComposition *This); + + /*** ITfComposition methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRange)( + ITfComposition *This, + ITfRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *ShiftStart)( + ITfComposition *This, + TfEditCookie ecWrite, + ITfRange *pNewStart); + + HRESULT (STDMETHODCALLTYPE *ShiftEnd)( + ITfComposition *This, + TfEditCookie ecWrite, + ITfRange *pNewEnd); + + HRESULT (STDMETHODCALLTYPE *EndComposition)( + ITfComposition *This, + TfEditCookie ecWrite); + + END_INTERFACE +} ITfCompositionVtbl; + +interface ITfComposition { + CONST_VTBL ITfCompositionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfComposition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfComposition_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfComposition_Release(This) (This)->lpVtbl->Release(This) +/*** ITfComposition methods ***/ +#define ITfComposition_GetRange(This,ppRange) (This)->lpVtbl->GetRange(This,ppRange) +#define ITfComposition_ShiftStart(This,ecWrite,pNewStart) (This)->lpVtbl->ShiftStart(This,ecWrite,pNewStart) +#define ITfComposition_ShiftEnd(This,ecWrite,pNewEnd) (This)->lpVtbl->ShiftEnd(This,ecWrite,pNewEnd) +#define ITfComposition_EndComposition(This,ecWrite) (This)->lpVtbl->EndComposition(This,ecWrite) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfComposition_QueryInterface(ITfComposition* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfComposition_AddRef(ITfComposition* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfComposition_Release(ITfComposition* This) { + return This->lpVtbl->Release(This); +} +/*** ITfComposition methods ***/ +static FORCEINLINE HRESULT ITfComposition_GetRange(ITfComposition* This,ITfRange **ppRange) { + return This->lpVtbl->GetRange(This,ppRange); +} +static FORCEINLINE HRESULT ITfComposition_ShiftStart(ITfComposition* This,TfEditCookie ecWrite,ITfRange *pNewStart) { + return This->lpVtbl->ShiftStart(This,ecWrite,pNewStart); +} +static FORCEINLINE HRESULT ITfComposition_ShiftEnd(ITfComposition* This,TfEditCookie ecWrite,ITfRange *pNewEnd) { + return This->lpVtbl->ShiftEnd(This,ecWrite,pNewEnd); +} +static FORCEINLINE HRESULT ITfComposition_EndComposition(ITfComposition* This,TfEditCookie ecWrite) { + return This->lpVtbl->EndComposition(This,ecWrite); +} +#endif +#endif + +#endif + + +#endif /* __ITfComposition_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfCompositionSink interface + */ +#ifndef __ITfCompositionSink_INTERFACE_DEFINED__ +#define __ITfCompositionSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfCompositionSink, 0xa781718c, 0x579a, 0x4b15, 0xa2,0x80, 0x32,0xb8,0x57,0x7a,0xcc,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a781718c-579a-4b15-a280-32b8577acc5e") +ITfCompositionSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnCompositionTerminated( + TfEditCookie ecWrite, + ITfComposition *pComposition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfCompositionSink, 0xa781718c, 0x579a, 0x4b15, 0xa2,0x80, 0x32,0xb8,0x57,0x7a,0xcc,0x5e) +#endif +#else +typedef struct ITfCompositionSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfCompositionSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfCompositionSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfCompositionSink *This); + + /*** ITfCompositionSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnCompositionTerminated)( + ITfCompositionSink *This, + TfEditCookie ecWrite, + ITfComposition *pComposition); + + END_INTERFACE +} ITfCompositionSinkVtbl; + +interface ITfCompositionSink { + CONST_VTBL ITfCompositionSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfCompositionSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfCompositionSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfCompositionSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfCompositionSink methods ***/ +#define ITfCompositionSink_OnCompositionTerminated(This,ecWrite,pComposition) (This)->lpVtbl->OnCompositionTerminated(This,ecWrite,pComposition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfCompositionSink_QueryInterface(ITfCompositionSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfCompositionSink_AddRef(ITfCompositionSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfCompositionSink_Release(ITfCompositionSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfCompositionSink methods ***/ +static FORCEINLINE HRESULT ITfCompositionSink_OnCompositionTerminated(ITfCompositionSink* This,TfEditCookie ecWrite,ITfComposition *pComposition) { + return This->lpVtbl->OnCompositionTerminated(This,ecWrite,pComposition); +} +#endif +#endif + +#endif + + +#endif /* __ITfCompositionSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfContextComposition interface + */ +#ifndef __ITfContextComposition_INTERFACE_DEFINED__ +#define __ITfContextComposition_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfContextComposition, 0xd40c8aae, 0xac92, 0x4fc7, 0x9a,0x11, 0x0e,0xe0,0xe2,0x3a,0xa3,0x9b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d40c8aae-ac92-4fc7-9a11-0ee0e23aa39b") +ITfContextComposition : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartComposition( + TfEditCookie ecWrite, + ITfRange *pCompositionRange, + ITfCompositionSink *pSink, + ITfComposition **ppComposition) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCompositions( + IEnumITfCompositionView **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindComposition( + TfEditCookie ecRead, + ITfRange *pTestRange, + IEnumITfCompositionView **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE TakeOwnership( + TfEditCookie ecWrite, + ITfCompositionView *pComposition, + ITfCompositionSink *pSink, + ITfComposition **ppComposition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfContextComposition, 0xd40c8aae, 0xac92, 0x4fc7, 0x9a,0x11, 0x0e,0xe0,0xe2,0x3a,0xa3,0x9b) +#endif +#else +typedef struct ITfContextCompositionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfContextComposition *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfContextComposition *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfContextComposition *This); + + /*** ITfContextComposition methods ***/ + HRESULT (STDMETHODCALLTYPE *StartComposition)( + ITfContextComposition *This, + TfEditCookie ecWrite, + ITfRange *pCompositionRange, + ITfCompositionSink *pSink, + ITfComposition **ppComposition); + + HRESULT (STDMETHODCALLTYPE *EnumCompositions)( + ITfContextComposition *This, + IEnumITfCompositionView **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindComposition)( + ITfContextComposition *This, + TfEditCookie ecRead, + ITfRange *pTestRange, + IEnumITfCompositionView **ppEnum); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + ITfContextComposition *This, + TfEditCookie ecWrite, + ITfCompositionView *pComposition, + ITfCompositionSink *pSink, + ITfComposition **ppComposition); + + END_INTERFACE +} ITfContextCompositionVtbl; + +interface ITfContextComposition { + CONST_VTBL ITfContextCompositionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfContextComposition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfContextComposition_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfContextComposition_Release(This) (This)->lpVtbl->Release(This) +/*** ITfContextComposition methods ***/ +#define ITfContextComposition_StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition) (This)->lpVtbl->StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition) +#define ITfContextComposition_EnumCompositions(This,ppEnum) (This)->lpVtbl->EnumCompositions(This,ppEnum) +#define ITfContextComposition_FindComposition(This,ecRead,pTestRange,ppEnum) (This)->lpVtbl->FindComposition(This,ecRead,pTestRange,ppEnum) +#define ITfContextComposition_TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition) (This)->lpVtbl->TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfContextComposition_QueryInterface(ITfContextComposition* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfContextComposition_AddRef(ITfContextComposition* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfContextComposition_Release(ITfContextComposition* This) { + return This->lpVtbl->Release(This); +} +/*** ITfContextComposition methods ***/ +static FORCEINLINE HRESULT ITfContextComposition_StartComposition(ITfContextComposition* This,TfEditCookie ecWrite,ITfRange *pCompositionRange,ITfCompositionSink *pSink,ITfComposition **ppComposition) { + return This->lpVtbl->StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition); +} +static FORCEINLINE HRESULT ITfContextComposition_EnumCompositions(ITfContextComposition* This,IEnumITfCompositionView **ppEnum) { + return This->lpVtbl->EnumCompositions(This,ppEnum); +} +static FORCEINLINE HRESULT ITfContextComposition_FindComposition(ITfContextComposition* This,TfEditCookie ecRead,ITfRange *pTestRange,IEnumITfCompositionView **ppEnum) { + return This->lpVtbl->FindComposition(This,ecRead,pTestRange,ppEnum); +} +static FORCEINLINE HRESULT ITfContextComposition_TakeOwnership(ITfContextComposition* This,TfEditCookie ecWrite,ITfCompositionView *pComposition,ITfCompositionSink *pSink,ITfComposition **ppComposition) { + return This->lpVtbl->TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition); +} +#endif +#endif + +#endif + + +#endif /* __ITfContextComposition_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfContextOwnerCompositionServices interface + */ +#ifndef __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__ +#define __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfContextOwnerCompositionServices, 0x86462810, 0x593b, 0x4916, 0x97,0x64, 0x19,0xc0,0x8e,0x9c,0xe1,0x10); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("86462810-593b-4916-9764-19c08e9ce110") +ITfContextOwnerCompositionServices : public ITfContextComposition +{ + virtual HRESULT STDMETHODCALLTYPE TerminateComposition( + ITfCompositionView *pComposition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfContextOwnerCompositionServices, 0x86462810, 0x593b, 0x4916, 0x97,0x64, 0x19,0xc0,0x8e,0x9c,0xe1,0x10) +#endif +#else +typedef struct ITfContextOwnerCompositionServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfContextOwnerCompositionServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfContextOwnerCompositionServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfContextOwnerCompositionServices *This); + + /*** ITfContextComposition methods ***/ + HRESULT (STDMETHODCALLTYPE *StartComposition)( + ITfContextOwnerCompositionServices *This, + TfEditCookie ecWrite, + ITfRange *pCompositionRange, + ITfCompositionSink *pSink, + ITfComposition **ppComposition); + + HRESULT (STDMETHODCALLTYPE *EnumCompositions)( + ITfContextOwnerCompositionServices *This, + IEnumITfCompositionView **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindComposition)( + ITfContextOwnerCompositionServices *This, + TfEditCookie ecRead, + ITfRange *pTestRange, + IEnumITfCompositionView **ppEnum); + + HRESULT (STDMETHODCALLTYPE *TakeOwnership)( + ITfContextOwnerCompositionServices *This, + TfEditCookie ecWrite, + ITfCompositionView *pComposition, + ITfCompositionSink *pSink, + ITfComposition **ppComposition); + + /*** ITfContextOwnerCompositionServices methods ***/ + HRESULT (STDMETHODCALLTYPE *TerminateComposition)( + ITfContextOwnerCompositionServices *This, + ITfCompositionView *pComposition); + + END_INTERFACE +} ITfContextOwnerCompositionServicesVtbl; + +interface ITfContextOwnerCompositionServices { + CONST_VTBL ITfContextOwnerCompositionServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfContextOwnerCompositionServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfContextOwnerCompositionServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfContextOwnerCompositionServices_Release(This) (This)->lpVtbl->Release(This) +/*** ITfContextComposition methods ***/ +#define ITfContextOwnerCompositionServices_StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition) (This)->lpVtbl->StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition) +#define ITfContextOwnerCompositionServices_EnumCompositions(This,ppEnum) (This)->lpVtbl->EnumCompositions(This,ppEnum) +#define ITfContextOwnerCompositionServices_FindComposition(This,ecRead,pTestRange,ppEnum) (This)->lpVtbl->FindComposition(This,ecRead,pTestRange,ppEnum) +#define ITfContextOwnerCompositionServices_TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition) (This)->lpVtbl->TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition) +/*** ITfContextOwnerCompositionServices methods ***/ +#define ITfContextOwnerCompositionServices_TerminateComposition(This,pComposition) (This)->lpVtbl->TerminateComposition(This,pComposition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerCompositionServices_QueryInterface(ITfContextOwnerCompositionServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfContextOwnerCompositionServices_AddRef(ITfContextOwnerCompositionServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfContextOwnerCompositionServices_Release(ITfContextOwnerCompositionServices* This) { + return This->lpVtbl->Release(This); +} +/*** ITfContextComposition methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerCompositionServices_StartComposition(ITfContextOwnerCompositionServices* This,TfEditCookie ecWrite,ITfRange *pCompositionRange,ITfCompositionSink *pSink,ITfComposition **ppComposition) { + return This->lpVtbl->StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition); +} +static FORCEINLINE HRESULT ITfContextOwnerCompositionServices_EnumCompositions(ITfContextOwnerCompositionServices* This,IEnumITfCompositionView **ppEnum) { + return This->lpVtbl->EnumCompositions(This,ppEnum); +} +static FORCEINLINE HRESULT ITfContextOwnerCompositionServices_FindComposition(ITfContextOwnerCompositionServices* This,TfEditCookie ecRead,ITfRange *pTestRange,IEnumITfCompositionView **ppEnum) { + return This->lpVtbl->FindComposition(This,ecRead,pTestRange,ppEnum); +} +static FORCEINLINE HRESULT ITfContextOwnerCompositionServices_TakeOwnership(ITfContextOwnerCompositionServices* This,TfEditCookie ecWrite,ITfCompositionView *pComposition,ITfCompositionSink *pSink,ITfComposition **ppComposition) { + return This->lpVtbl->TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition); +} +/*** ITfContextOwnerCompositionServices methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerCompositionServices_TerminateComposition(ITfContextOwnerCompositionServices* This,ITfCompositionView *pComposition) { + return This->lpVtbl->TerminateComposition(This,pComposition); +} +#endif +#endif + +#endif + + +#endif /* __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfPersistentPropertyLoaderACP interface + */ +#ifndef __ITfPersistentPropertyLoaderACP_INTERFACE_DEFINED__ +#define __ITfPersistentPropertyLoaderACP_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfPersistentPropertyLoaderACP, 0x4ef89150, 0x0807, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4ef89150-0807-11d3-8df0-00105a2799b5") +ITfPersistentPropertyLoaderACP : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE LoadProperty( + const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + IStream **ppStream) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfPersistentPropertyLoaderACP, 0x4ef89150, 0x0807, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfPersistentPropertyLoaderACPVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfPersistentPropertyLoaderACP *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfPersistentPropertyLoaderACP *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfPersistentPropertyLoaderACP *This); + + /*** ITfPersistentPropertyLoaderACP methods ***/ + HRESULT (STDMETHODCALLTYPE *LoadProperty)( + ITfPersistentPropertyLoaderACP *This, + const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + IStream **ppStream); + + END_INTERFACE +} ITfPersistentPropertyLoaderACPVtbl; + +interface ITfPersistentPropertyLoaderACP { + CONST_VTBL ITfPersistentPropertyLoaderACPVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfPersistentPropertyLoaderACP_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfPersistentPropertyLoaderACP_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfPersistentPropertyLoaderACP_Release(This) (This)->lpVtbl->Release(This) +/*** ITfPersistentPropertyLoaderACP methods ***/ +#define ITfPersistentPropertyLoaderACP_LoadProperty(This,pHdr,ppStream) (This)->lpVtbl->LoadProperty(This,pHdr,ppStream) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfPersistentPropertyLoaderACP_QueryInterface(ITfPersistentPropertyLoaderACP* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfPersistentPropertyLoaderACP_AddRef(ITfPersistentPropertyLoaderACP* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfPersistentPropertyLoaderACP_Release(ITfPersistentPropertyLoaderACP* This) { + return This->lpVtbl->Release(This); +} +/*** ITfPersistentPropertyLoaderACP methods ***/ +static FORCEINLINE HRESULT ITfPersistentPropertyLoaderACP_LoadProperty(ITfPersistentPropertyLoaderACP* This,const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,IStream **ppStream) { + return This->lpVtbl->LoadProperty(This,pHdr,ppStream); +} +#endif +#endif + +#endif + + +#endif /* __ITfPersistentPropertyLoaderACP_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfContextOwnerServices interface + */ +#ifndef __ITfContextOwnerServices_INTERFACE_DEFINED__ +#define __ITfContextOwnerServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfContextOwnerServices, 0xb23eb630, 0x3e1c, 0x11d3, 0xa7,0x45, 0x00,0x50,0x04,0x0a,0xb4,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b23eb630-3e1c-11d3-a745-0050040ab407") +ITfContextOwnerServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnLayoutChange( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStatusChange( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnAttributeChange( + REFGUID rguidAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE Serialize( + ITfProperty *pProp, + ITfRange *pRange, + TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + IStream *pStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unserialize( + ITfProperty *pProp, + const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + IStream *pStream, + ITfPersistentPropertyLoaderACP *pLoader) = 0; + + virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty( + ITfProperty *pProp) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateRange( + LONG acpStart, + LONG acpEnd, + ITfRangeACP **ppRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfContextOwnerServices, 0xb23eb630, 0x3e1c, 0x11d3, 0xa7,0x45, 0x00,0x50,0x04,0x0a,0xb4,0x07) +#endif +#else +typedef struct ITfContextOwnerServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfContextOwnerServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfContextOwnerServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfContextOwnerServices *This); + + /*** ITfContextOwnerServices methods ***/ + HRESULT (STDMETHODCALLTYPE *OnLayoutChange)( + ITfContextOwnerServices *This); + + HRESULT (STDMETHODCALLTYPE *OnStatusChange)( + ITfContextOwnerServices *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *OnAttributeChange)( + ITfContextOwnerServices *This, + REFGUID rguidAttribute); + + HRESULT (STDMETHODCALLTYPE *Serialize)( + ITfContextOwnerServices *This, + ITfProperty *pProp, + ITfRange *pRange, + TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *Unserialize)( + ITfContextOwnerServices *This, + ITfProperty *pProp, + const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + IStream *pStream, + ITfPersistentPropertyLoaderACP *pLoader); + + HRESULT (STDMETHODCALLTYPE *ForceLoadProperty)( + ITfContextOwnerServices *This, + ITfProperty *pProp); + + HRESULT (STDMETHODCALLTYPE *CreateRange)( + ITfContextOwnerServices *This, + LONG acpStart, + LONG acpEnd, + ITfRangeACP **ppRange); + + END_INTERFACE +} ITfContextOwnerServicesVtbl; + +interface ITfContextOwnerServices { + CONST_VTBL ITfContextOwnerServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfContextOwnerServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfContextOwnerServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfContextOwnerServices_Release(This) (This)->lpVtbl->Release(This) +/*** ITfContextOwnerServices methods ***/ +#define ITfContextOwnerServices_OnLayoutChange(This) (This)->lpVtbl->OnLayoutChange(This) +#define ITfContextOwnerServices_OnStatusChange(This,dwFlags) (This)->lpVtbl->OnStatusChange(This,dwFlags) +#define ITfContextOwnerServices_OnAttributeChange(This,rguidAttribute) (This)->lpVtbl->OnAttributeChange(This,rguidAttribute) +#define ITfContextOwnerServices_Serialize(This,pProp,pRange,pHdr,pStream) (This)->lpVtbl->Serialize(This,pProp,pRange,pHdr,pStream) +#define ITfContextOwnerServices_Unserialize(This,pProp,pHdr,pStream,pLoader) (This)->lpVtbl->Unserialize(This,pProp,pHdr,pStream,pLoader) +#define ITfContextOwnerServices_ForceLoadProperty(This,pProp) (This)->lpVtbl->ForceLoadProperty(This,pProp) +#define ITfContextOwnerServices_CreateRange(This,acpStart,acpEnd,ppRange) (This)->lpVtbl->CreateRange(This,acpStart,acpEnd,ppRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerServices_QueryInterface(ITfContextOwnerServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfContextOwnerServices_AddRef(ITfContextOwnerServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfContextOwnerServices_Release(ITfContextOwnerServices* This) { + return This->lpVtbl->Release(This); +} +/*** ITfContextOwnerServices methods ***/ +static FORCEINLINE HRESULT ITfContextOwnerServices_OnLayoutChange(ITfContextOwnerServices* This) { + return This->lpVtbl->OnLayoutChange(This); +} +static FORCEINLINE HRESULT ITfContextOwnerServices_OnStatusChange(ITfContextOwnerServices* This,DWORD dwFlags) { + return This->lpVtbl->OnStatusChange(This,dwFlags); +} +static FORCEINLINE HRESULT ITfContextOwnerServices_OnAttributeChange(ITfContextOwnerServices* This,REFGUID rguidAttribute) { + return This->lpVtbl->OnAttributeChange(This,rguidAttribute); +} +static FORCEINLINE HRESULT ITfContextOwnerServices_Serialize(ITfContextOwnerServices* This,ITfProperty *pProp,ITfRange *pRange,TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,IStream *pStream) { + return This->lpVtbl->Serialize(This,pProp,pRange,pHdr,pStream); +} +static FORCEINLINE HRESULT ITfContextOwnerServices_Unserialize(ITfContextOwnerServices* This,ITfProperty *pProp,const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,IStream *pStream,ITfPersistentPropertyLoaderACP *pLoader) { + return This->lpVtbl->Unserialize(This,pProp,pHdr,pStream,pLoader); +} +static FORCEINLINE HRESULT ITfContextOwnerServices_ForceLoadProperty(ITfContextOwnerServices* This,ITfProperty *pProp) { + return This->lpVtbl->ForceLoadProperty(This,pProp); +} +static FORCEINLINE HRESULT ITfContextOwnerServices_CreateRange(ITfContextOwnerServices* This,LONG acpStart,LONG acpEnd,ITfRangeACP **ppRange) { + return This->lpVtbl->CreateRange(This,acpStart,acpEnd,ppRange); +} +#endif +#endif + +#endif + + +#endif /* __ITfContextOwnerServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfReadOnlyProperty interface + */ +#ifndef __ITfReadOnlyProperty_INTERFACE_DEFINED__ +#define __ITfReadOnlyProperty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfReadOnlyProperty, 0x17d49a3d, 0xf8b8, 0x4b2f, 0xb2,0x54, 0x52,0x31,0x9d,0xd6,0x4c,0x53); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("17d49a3d-f8b8-4b2f-b254-52319dd64c53") +ITfReadOnlyProperty : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *pguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRanges( + TfEditCookie ec, + IEnumTfRanges **ppEnum, + ITfRange *pTargetRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + TfEditCookie ec, + ITfRange *pRange, + VARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContext( + ITfContext **ppContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfReadOnlyProperty, 0x17d49a3d, 0xf8b8, 0x4b2f, 0xb2,0x54, 0x52,0x31,0x9d,0xd6,0x4c,0x53) +#endif +#else +typedef struct ITfReadOnlyPropertyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfReadOnlyProperty *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfReadOnlyProperty *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfReadOnlyProperty *This); + + /*** ITfReadOnlyProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ITfReadOnlyProperty *This, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *EnumRanges)( + ITfReadOnlyProperty *This, + TfEditCookie ec, + IEnumTfRanges **ppEnum, + ITfRange *pTargetRange); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + ITfReadOnlyProperty *This, + TfEditCookie ec, + ITfRange *pRange, + VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ITfReadOnlyProperty *This, + ITfContext **ppContext); + + END_INTERFACE +} ITfReadOnlyPropertyVtbl; + +interface ITfReadOnlyProperty { + CONST_VTBL ITfReadOnlyPropertyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfReadOnlyProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfReadOnlyProperty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfReadOnlyProperty_Release(This) (This)->lpVtbl->Release(This) +/*** ITfReadOnlyProperty methods ***/ +#define ITfReadOnlyProperty_GetType(This,pguid) (This)->lpVtbl->GetType(This,pguid) +#define ITfReadOnlyProperty_EnumRanges(This,ec,ppEnum,pTargetRange) (This)->lpVtbl->EnumRanges(This,ec,ppEnum,pTargetRange) +#define ITfReadOnlyProperty_GetValue(This,ec,pRange,pvarValue) (This)->lpVtbl->GetValue(This,ec,pRange,pvarValue) +#define ITfReadOnlyProperty_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfReadOnlyProperty_QueryInterface(ITfReadOnlyProperty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfReadOnlyProperty_AddRef(ITfReadOnlyProperty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfReadOnlyProperty_Release(ITfReadOnlyProperty* This) { + return This->lpVtbl->Release(This); +} +/*** ITfReadOnlyProperty methods ***/ +static FORCEINLINE HRESULT ITfReadOnlyProperty_GetType(ITfReadOnlyProperty* This,GUID *pguid) { + return This->lpVtbl->GetType(This,pguid); +} +static FORCEINLINE HRESULT ITfReadOnlyProperty_EnumRanges(ITfReadOnlyProperty* This,TfEditCookie ec,IEnumTfRanges **ppEnum,ITfRange *pTargetRange) { + return This->lpVtbl->EnumRanges(This,ec,ppEnum,pTargetRange); +} +static FORCEINLINE HRESULT ITfReadOnlyProperty_GetValue(ITfReadOnlyProperty* This,TfEditCookie ec,ITfRange *pRange,VARIANT *pvarValue) { + return This->lpVtbl->GetValue(This,ec,pRange,pvarValue); +} +static FORCEINLINE HRESULT ITfReadOnlyProperty_GetContext(ITfReadOnlyProperty* This,ITfContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +#endif +#endif + +#endif + + +#endif /* __ITfReadOnlyProperty_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfProperty interface + */ +#ifndef __ITfProperty_INTERFACE_DEFINED__ +#define __ITfProperty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfProperty, 0xe2449660, 0x9542, 0x11d2, 0xbf,0x46, 0x00,0x10,0x5a,0x27,0x99,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e2449660-9542-11d2-bf46-00105a2799b5") +ITfProperty : public ITfReadOnlyProperty +{ + virtual HRESULT STDMETHODCALLTYPE FindRange( + TfEditCookie ec, + ITfRange *pRange, + ITfRange **ppRange, + TfAnchor aPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValueStore( + TfEditCookie ec, + ITfRange *pRange, + ITfPropertyStore *pPropStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValue( + TfEditCookie ec, + ITfRange *pRange, + const VARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + TfEditCookie ec, + ITfRange *pRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfProperty, 0xe2449660, 0x9542, 0x11d2, 0xbf,0x46, 0x00,0x10,0x5a,0x27,0x99,0xb5) +#endif +#else +typedef struct ITfPropertyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfProperty *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfProperty *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfProperty *This); + + /*** ITfReadOnlyProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + ITfProperty *This, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *EnumRanges)( + ITfProperty *This, + TfEditCookie ec, + IEnumTfRanges **ppEnum, + ITfRange *pTargetRange); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + ITfProperty *This, + TfEditCookie ec, + ITfRange *pRange, + VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetContext)( + ITfProperty *This, + ITfContext **ppContext); + + /*** ITfProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *FindRange)( + ITfProperty *This, + TfEditCookie ec, + ITfRange *pRange, + ITfRange **ppRange, + TfAnchor aPos); + + HRESULT (STDMETHODCALLTYPE *SetValueStore)( + ITfProperty *This, + TfEditCookie ec, + ITfRange *pRange, + ITfPropertyStore *pPropStore); + + HRESULT (STDMETHODCALLTYPE *SetValue)( + ITfProperty *This, + TfEditCookie ec, + ITfRange *pRange, + const VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *Clear)( + ITfProperty *This, + TfEditCookie ec, + ITfRange *pRange); + + END_INTERFACE +} ITfPropertyVtbl; + +interface ITfProperty { + CONST_VTBL ITfPropertyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfProperty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfProperty_Release(This) (This)->lpVtbl->Release(This) +/*** ITfReadOnlyProperty methods ***/ +#define ITfProperty_GetType(This,pguid) (This)->lpVtbl->GetType(This,pguid) +#define ITfProperty_EnumRanges(This,ec,ppEnum,pTargetRange) (This)->lpVtbl->EnumRanges(This,ec,ppEnum,pTargetRange) +#define ITfProperty_GetValue(This,ec,pRange,pvarValue) (This)->lpVtbl->GetValue(This,ec,pRange,pvarValue) +#define ITfProperty_GetContext(This,ppContext) (This)->lpVtbl->GetContext(This,ppContext) +/*** ITfProperty methods ***/ +#define ITfProperty_FindRange(This,ec,pRange,ppRange,aPos) (This)->lpVtbl->FindRange(This,ec,pRange,ppRange,aPos) +#define ITfProperty_SetValueStore(This,ec,pRange,pPropStore) (This)->lpVtbl->SetValueStore(This,ec,pRange,pPropStore) +#define ITfProperty_SetValue(This,ec,pRange,pvarValue) (This)->lpVtbl->SetValue(This,ec,pRange,pvarValue) +#define ITfProperty_Clear(This,ec,pRange) (This)->lpVtbl->Clear(This,ec,pRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfProperty_QueryInterface(ITfProperty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfProperty_AddRef(ITfProperty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfProperty_Release(ITfProperty* This) { + return This->lpVtbl->Release(This); +} +/*** ITfReadOnlyProperty methods ***/ +static FORCEINLINE HRESULT ITfProperty_GetType(ITfProperty* This,GUID *pguid) { + return This->lpVtbl->GetType(This,pguid); +} +static FORCEINLINE HRESULT ITfProperty_EnumRanges(ITfProperty* This,TfEditCookie ec,IEnumTfRanges **ppEnum,ITfRange *pTargetRange) { + return This->lpVtbl->EnumRanges(This,ec,ppEnum,pTargetRange); +} +static FORCEINLINE HRESULT ITfProperty_GetValue(ITfProperty* This,TfEditCookie ec,ITfRange *pRange,VARIANT *pvarValue) { + return This->lpVtbl->GetValue(This,ec,pRange,pvarValue); +} +static FORCEINLINE HRESULT ITfProperty_GetContext(ITfProperty* This,ITfContext **ppContext) { + return This->lpVtbl->GetContext(This,ppContext); +} +/*** ITfProperty methods ***/ +static FORCEINLINE HRESULT ITfProperty_FindRange(ITfProperty* This,TfEditCookie ec,ITfRange *pRange,ITfRange **ppRange,TfAnchor aPos) { + return This->lpVtbl->FindRange(This,ec,pRange,ppRange,aPos); +} +static FORCEINLINE HRESULT ITfProperty_SetValueStore(ITfProperty* This,TfEditCookie ec,ITfRange *pRange,ITfPropertyStore *pPropStore) { + return This->lpVtbl->SetValueStore(This,ec,pRange,pPropStore); +} +static FORCEINLINE HRESULT ITfProperty_SetValue(ITfProperty* This,TfEditCookie ec,ITfRange *pRange,const VARIANT *pvarValue) { + return This->lpVtbl->SetValue(This,ec,pRange,pvarValue); +} +static FORCEINLINE HRESULT ITfProperty_Clear(ITfProperty* This,TfEditCookie ec,ITfRange *pRange) { + return This->lpVtbl->Clear(This,ec,pRange); +} +#endif +#endif + +#endif + + +#endif /* __ITfProperty_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfCompartment interface + */ +#ifndef __ITfCompartment_INTERFACE_DEFINED__ +#define __ITfCompartment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfCompartment, 0xbb08f7a9, 0x607a, 0x4384, 0x86,0x23, 0x05,0x68,0x92,0xb6,0x43,0x71); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb08f7a9-607a-4384-8623-056892b64371") +ITfCompartment : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetValue( + TfClientId tid, + const VARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + VARIANT *pvarValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfCompartment, 0xbb08f7a9, 0x607a, 0x4384, 0x86,0x23, 0x05,0x68,0x92,0xb6,0x43,0x71) +#endif +#else +typedef struct ITfCompartmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfCompartment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfCompartment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfCompartment *This); + + /*** ITfCompartment methods ***/ + HRESULT (STDMETHODCALLTYPE *SetValue)( + ITfCompartment *This, + TfClientId tid, + const VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + ITfCompartment *This, + VARIANT *pvarValue); + + END_INTERFACE +} ITfCompartmentVtbl; + +interface ITfCompartment { + CONST_VTBL ITfCompartmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfCompartment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfCompartment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfCompartment_Release(This) (This)->lpVtbl->Release(This) +/*** ITfCompartment methods ***/ +#define ITfCompartment_SetValue(This,tid,pvarValue) (This)->lpVtbl->SetValue(This,tid,pvarValue) +#define ITfCompartment_GetValue(This,pvarValue) (This)->lpVtbl->GetValue(This,pvarValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfCompartment_QueryInterface(ITfCompartment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfCompartment_AddRef(ITfCompartment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfCompartment_Release(ITfCompartment* This) { + return This->lpVtbl->Release(This); +} +/*** ITfCompartment methods ***/ +static FORCEINLINE HRESULT ITfCompartment_SetValue(ITfCompartment* This,TfClientId tid,const VARIANT *pvarValue) { + return This->lpVtbl->SetValue(This,tid,pvarValue); +} +static FORCEINLINE HRESULT ITfCompartment_GetValue(ITfCompartment* This,VARIANT *pvarValue) { + return This->lpVtbl->GetValue(This,pvarValue); +} +#endif +#endif + +#endif + + +#endif /* __ITfCompartment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfCompartmentMgr interface + */ +#ifndef __ITfCompartmentMgr_INTERFACE_DEFINED__ +#define __ITfCompartmentMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfCompartmentMgr, 0x7dcf57ac, 0x18ad, 0x438b, 0x82,0x4d, 0x97,0x9b,0xff,0xb7,0x4b,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7dcf57ac-18ad-438b-824d-979bffb74b7c") +ITfCompartmentMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCompartment( + REFGUID rguid, + ITfCompartment **ppcomp) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearCompartment( + TfClientId tid, + REFGUID rguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCompartments( + IEnumGUID **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfCompartmentMgr, 0x7dcf57ac, 0x18ad, 0x438b, 0x82,0x4d, 0x97,0x9b,0xff,0xb7,0x4b,0x7c) +#endif +#else +typedef struct ITfCompartmentMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfCompartmentMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfCompartmentMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfCompartmentMgr *This); + + /*** ITfCompartmentMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCompartment)( + ITfCompartmentMgr *This, + REFGUID rguid, + ITfCompartment **ppcomp); + + HRESULT (STDMETHODCALLTYPE *ClearCompartment)( + ITfCompartmentMgr *This, + TfClientId tid, + REFGUID rguid); + + HRESULT (STDMETHODCALLTYPE *EnumCompartments)( + ITfCompartmentMgr *This, + IEnumGUID **ppEnum); + + END_INTERFACE +} ITfCompartmentMgrVtbl; + +interface ITfCompartmentMgr { + CONST_VTBL ITfCompartmentMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfCompartmentMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfCompartmentMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfCompartmentMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfCompartmentMgr methods ***/ +#define ITfCompartmentMgr_GetCompartment(This,rguid,ppcomp) (This)->lpVtbl->GetCompartment(This,rguid,ppcomp) +#define ITfCompartmentMgr_ClearCompartment(This,tid,rguid) (This)->lpVtbl->ClearCompartment(This,tid,rguid) +#define ITfCompartmentMgr_EnumCompartments(This,ppEnum) (This)->lpVtbl->EnumCompartments(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfCompartmentMgr_QueryInterface(ITfCompartmentMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfCompartmentMgr_AddRef(ITfCompartmentMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfCompartmentMgr_Release(ITfCompartmentMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfCompartmentMgr methods ***/ +static FORCEINLINE HRESULT ITfCompartmentMgr_GetCompartment(ITfCompartmentMgr* This,REFGUID rguid,ITfCompartment **ppcomp) { + return This->lpVtbl->GetCompartment(This,rguid,ppcomp); +} +static FORCEINLINE HRESULT ITfCompartmentMgr_ClearCompartment(ITfCompartmentMgr* This,TfClientId tid,REFGUID rguid) { + return This->lpVtbl->ClearCompartment(This,tid,rguid); +} +static FORCEINLINE HRESULT ITfCompartmentMgr_EnumCompartments(ITfCompartmentMgr* This,IEnumGUID **ppEnum) { + return This->lpVtbl->EnumCompartments(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __ITfCompartmentMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfCompartmentEventSink interface + */ +#ifndef __ITfCompartmentEventSink_INTERFACE_DEFINED__ +#define __ITfCompartmentEventSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfCompartmentEventSink, 0x743abd5f, 0xf26d, 0x48df, 0x8c,0xc5, 0x23,0x84,0x92,0x41,0x9b,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("743abd5f-f26d-48df-8cc5-238492419b64") +ITfCompartmentEventSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnChange( + REFGUID rguid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfCompartmentEventSink, 0x743abd5f, 0xf26d, 0x48df, 0x8c,0xc5, 0x23,0x84,0x92,0x41,0x9b,0x64) +#endif +#else +typedef struct ITfCompartmentEventSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfCompartmentEventSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfCompartmentEventSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfCompartmentEventSink *This); + + /*** ITfCompartmentEventSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnChange)( + ITfCompartmentEventSink *This, + REFGUID rguid); + + END_INTERFACE +} ITfCompartmentEventSinkVtbl; + +interface ITfCompartmentEventSink { + CONST_VTBL ITfCompartmentEventSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfCompartmentEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfCompartmentEventSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfCompartmentEventSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfCompartmentEventSink methods ***/ +#define ITfCompartmentEventSink_OnChange(This,rguid) (This)->lpVtbl->OnChange(This,rguid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfCompartmentEventSink_QueryInterface(ITfCompartmentEventSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfCompartmentEventSink_AddRef(ITfCompartmentEventSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfCompartmentEventSink_Release(ITfCompartmentEventSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfCompartmentEventSink methods ***/ +static FORCEINLINE HRESULT ITfCompartmentEventSink_OnChange(ITfCompartmentEventSink* This,REFGUID rguid) { + return This->lpVtbl->OnChange(This,rguid); +} +#endif +#endif + +#endif + + +#endif /* __ITfCompartmentEventSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfContexts interface + */ +#ifndef __IEnumTfContexts_INTERFACE_DEFINED__ +#define __IEnumTfContexts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfContexts, 0x8f1a7ea6, 0x1654, 0x4502, 0xa8,0x6e, 0xb2,0x90,0x23,0x44,0xd5,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f1a7ea6-1654-4502-a86e-b2902344d507") +IEnumTfContexts : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfContexts **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + ITfContext **rgContext, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfContexts, 0x8f1a7ea6, 0x1654, 0x4502, 0xa8,0x6e, 0xb2,0x90,0x23,0x44,0xd5,0x07) +#endif +#else +typedef struct IEnumTfContextsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfContexts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfContexts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfContexts *This); + + /*** IEnumTfContexts methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfContexts *This, + IEnumTfContexts **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfContexts *This, + ULONG ulCount, + ITfContext **rgContext, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfContexts *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfContexts *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfContextsVtbl; + +interface IEnumTfContexts { + CONST_VTBL IEnumTfContextsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfContexts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfContexts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfContexts_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfContexts methods ***/ +#define IEnumTfContexts_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfContexts_Next(This,ulCount,rgContext,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgContext,pcFetched) +#define IEnumTfContexts_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfContexts_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfContexts_QueryInterface(IEnumTfContexts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfContexts_AddRef(IEnumTfContexts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfContexts_Release(IEnumTfContexts* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfContexts methods ***/ +static FORCEINLINE HRESULT IEnumTfContexts_Clone(IEnumTfContexts* This,IEnumTfContexts **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfContexts_Next(IEnumTfContexts* This,ULONG ulCount,ITfContext **rgContext,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgContext,pcFetched); +} +static FORCEINLINE HRESULT IEnumTfContexts_Reset(IEnumTfContexts* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfContexts_Skip(IEnumTfContexts* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfContexts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfDocumentMgrs interface + */ +#ifndef __IEnumTfDocumentMgrs_INTERFACE_DEFINED__ +#define __IEnumTfDocumentMgrs_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfDocumentMgrs, 0xaa80e808, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa80e808-2021-11d2-93e0-0060b067b86e") +IEnumTfDocumentMgrs : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfDocumentMgrs **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG ulCount, + ITfDocumentMgr **rgDocumentMgr, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG ulCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfDocumentMgrs, 0xaa80e808, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) +#endif +#else +typedef struct IEnumTfDocumentMgrsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfDocumentMgrs *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfDocumentMgrs *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfDocumentMgrs *This); + + /*** IEnumTfDocumentMgrs methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfDocumentMgrs *This, + IEnumTfDocumentMgrs **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfDocumentMgrs *This, + ULONG ulCount, + ITfDocumentMgr **rgDocumentMgr, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfDocumentMgrs *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfDocumentMgrs *This, + ULONG ulCount); + + END_INTERFACE +} IEnumTfDocumentMgrsVtbl; + +interface IEnumTfDocumentMgrs { + CONST_VTBL IEnumTfDocumentMgrsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfDocumentMgrs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfDocumentMgrs_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfDocumentMgrs_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfDocumentMgrs methods ***/ +#define IEnumTfDocumentMgrs_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumTfDocumentMgrs_Next(This,ulCount,rgDocumentMgr,pcFetched) (This)->lpVtbl->Next(This,ulCount,rgDocumentMgr,pcFetched) +#define IEnumTfDocumentMgrs_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfDocumentMgrs_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfDocumentMgrs_QueryInterface(IEnumTfDocumentMgrs* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfDocumentMgrs_AddRef(IEnumTfDocumentMgrs* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfDocumentMgrs_Release(IEnumTfDocumentMgrs* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfDocumentMgrs methods ***/ +static FORCEINLINE HRESULT IEnumTfDocumentMgrs_Clone(IEnumTfDocumentMgrs* This,IEnumTfDocumentMgrs **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumTfDocumentMgrs_Next(IEnumTfDocumentMgrs* This,ULONG ulCount,ITfDocumentMgr **rgDocumentMgr,ULONG *pcFetched) { + return This->lpVtbl->Next(This,ulCount,rgDocumentMgr,pcFetched); +} +static FORCEINLINE HRESULT IEnumTfDocumentMgrs_Reset(IEnumTfDocumentMgrs* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfDocumentMgrs_Skip(IEnumTfDocumentMgrs* This,ULONG ulCount) { + return This->lpVtbl->Skip(This,ulCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfDocumentMgrs_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfUIElement interface + */ +#ifndef __ITfUIElement_INTERFACE_DEFINED__ +#define __ITfUIElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfUIElement, 0xea1ea137, 0x19df, 0x11d7, 0xa6,0xd2, 0x00,0x06,0x5b,0x84,0x43,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ea1ea137-19df-11d7-a6d2-00065b84435c") +ITfUIElement : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *description) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGUID( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Show( + BOOL show) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsShown( + BOOL *show) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfUIElement, 0xea1ea137, 0x19df, 0x11d7, 0xa6,0xd2, 0x00,0x06,0x5b,0x84,0x43,0x5c) +#endif +#else +typedef struct ITfUIElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfUIElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfUIElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfUIElement *This); + + /*** ITfUIElement methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDescription)( + ITfUIElement *This, + BSTR *description); + + HRESULT (STDMETHODCALLTYPE *GetGUID)( + ITfUIElement *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *Show)( + ITfUIElement *This, + BOOL show); + + HRESULT (STDMETHODCALLTYPE *IsShown)( + ITfUIElement *This, + BOOL *show); + + END_INTERFACE +} ITfUIElementVtbl; + +interface ITfUIElement { + CONST_VTBL ITfUIElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfUIElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfUIElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfUIElement_Release(This) (This)->lpVtbl->Release(This) +/*** ITfUIElement methods ***/ +#define ITfUIElement_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description) +#define ITfUIElement_GetGUID(This,guid) (This)->lpVtbl->GetGUID(This,guid) +#define ITfUIElement_Show(This,show) (This)->lpVtbl->Show(This,show) +#define ITfUIElement_IsShown(This,show) (This)->lpVtbl->IsShown(This,show) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfUIElement_QueryInterface(ITfUIElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfUIElement_AddRef(ITfUIElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfUIElement_Release(ITfUIElement* This) { + return This->lpVtbl->Release(This); +} +/*** ITfUIElement methods ***/ +static FORCEINLINE HRESULT ITfUIElement_GetDescription(ITfUIElement* This,BSTR *description) { + return This->lpVtbl->GetDescription(This,description); +} +static FORCEINLINE HRESULT ITfUIElement_GetGUID(ITfUIElement* This,GUID *guid) { + return This->lpVtbl->GetGUID(This,guid); +} +static FORCEINLINE HRESULT ITfUIElement_Show(ITfUIElement* This,BOOL show) { + return This->lpVtbl->Show(This,show); +} +static FORCEINLINE HRESULT ITfUIElement_IsShown(ITfUIElement* This,BOOL *show) { + return This->lpVtbl->IsShown(This,show); +} +#endif +#endif + +#endif + + +#endif /* __ITfUIElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumTfUIElements interface + */ +#ifndef __IEnumTfUIElements_INTERFACE_DEFINED__ +#define __IEnumTfUIElements_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumTfUIElements, 0x887aa91e, 0xacba, 0x4931, 0x84,0xda, 0x3c,0x52,0x08,0xcf,0x54,0x3f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("887aa91e-acba-4931-84da-3c5208cf543f") +IEnumTfUIElements : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumTfUIElements **enum_elements) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG count, + ITfUIElement **element, + ULONG fetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumTfUIElements, 0x887aa91e, 0xacba, 0x4931, 0x84,0xda, 0x3c,0x52,0x08,0xcf,0x54,0x3f) +#endif +#else +typedef struct IEnumTfUIElementsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumTfUIElements *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumTfUIElements *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumTfUIElements *This); + + /*** IEnumTfUIElements methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumTfUIElements *This, + IEnumTfUIElements **enum_elements); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumTfUIElements *This, + ULONG count, + ITfUIElement **element, + ULONG fetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumTfUIElements *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumTfUIElements *This, + ULONG count); + + END_INTERFACE +} IEnumTfUIElementsVtbl; + +interface IEnumTfUIElements { + CONST_VTBL IEnumTfUIElementsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumTfUIElements_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumTfUIElements_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumTfUIElements_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumTfUIElements methods ***/ +#define IEnumTfUIElements_Clone(This,enum_elements) (This)->lpVtbl->Clone(This,enum_elements) +#define IEnumTfUIElements_Next(This,count,element,fetched) (This)->lpVtbl->Next(This,count,element,fetched) +#define IEnumTfUIElements_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumTfUIElements_Skip(This,count) (This)->lpVtbl->Skip(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumTfUIElements_QueryInterface(IEnumTfUIElements* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumTfUIElements_AddRef(IEnumTfUIElements* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumTfUIElements_Release(IEnumTfUIElements* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumTfUIElements methods ***/ +static FORCEINLINE HRESULT IEnumTfUIElements_Clone(IEnumTfUIElements* This,IEnumTfUIElements **enum_elements) { + return This->lpVtbl->Clone(This,enum_elements); +} +static FORCEINLINE HRESULT IEnumTfUIElements_Next(IEnumTfUIElements* This,ULONG count,ITfUIElement **element,ULONG fetched) { + return This->lpVtbl->Next(This,count,element,fetched); +} +static FORCEINLINE HRESULT IEnumTfUIElements_Reset(IEnumTfUIElements* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumTfUIElements_Skip(IEnumTfUIElements* This,ULONG count) { + return This->lpVtbl->Skip(This,count); +} +#endif +#endif + +#endif + + +#endif /* __IEnumTfUIElements_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfUIElementMgr interface + */ +#ifndef __ITfUIElementMgr_INTERFACE_DEFINED__ +#define __ITfUIElementMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfUIElementMgr, 0xea1ea135, 0x19df, 0x11d7, 0xa6,0xd2, 0x00,0x06,0x5b,0x84,0x43,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ea1ea135-19df-11d7-a6d2-00065b84435c") +ITfUIElementMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BeginUIElement( + ITfUIElement *element, + BOOL *show, + DWORD *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateUIElement( + DWORD id) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndUIElement( + DWORD id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUIElement( + DWORD id, + ITfUIElement **element) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumUIElements( + IEnumTfUIElements **enum_elements) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfUIElementMgr, 0xea1ea135, 0x19df, 0x11d7, 0xa6,0xd2, 0x00,0x06,0x5b,0x84,0x43,0x5c) +#endif +#else +typedef struct ITfUIElementMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfUIElementMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfUIElementMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfUIElementMgr *This); + + /*** ITfUIElementMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *BeginUIElement)( + ITfUIElementMgr *This, + ITfUIElement *element, + BOOL *show, + DWORD *id); + + HRESULT (STDMETHODCALLTYPE *UpdateUIElement)( + ITfUIElementMgr *This, + DWORD id); + + HRESULT (STDMETHODCALLTYPE *EndUIElement)( + ITfUIElementMgr *This, + DWORD id); + + HRESULT (STDMETHODCALLTYPE *GetUIElement)( + ITfUIElementMgr *This, + DWORD id, + ITfUIElement **element); + + HRESULT (STDMETHODCALLTYPE *EnumUIElements)( + ITfUIElementMgr *This, + IEnumTfUIElements **enum_elements); + + END_INTERFACE +} ITfUIElementMgrVtbl; + +interface ITfUIElementMgr { + CONST_VTBL ITfUIElementMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfUIElementMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfUIElementMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfUIElementMgr_Release(This) (This)->lpVtbl->Release(This) +/*** ITfUIElementMgr methods ***/ +#define ITfUIElementMgr_BeginUIElement(This,element,show,id) (This)->lpVtbl->BeginUIElement(This,element,show,id) +#define ITfUIElementMgr_UpdateUIElement(This,id) (This)->lpVtbl->UpdateUIElement(This,id) +#define ITfUIElementMgr_EndUIElement(This,id) (This)->lpVtbl->EndUIElement(This,id) +#define ITfUIElementMgr_GetUIElement(This,id,element) (This)->lpVtbl->GetUIElement(This,id,element) +#define ITfUIElementMgr_EnumUIElements(This,enum_elements) (This)->lpVtbl->EnumUIElements(This,enum_elements) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfUIElementMgr_QueryInterface(ITfUIElementMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfUIElementMgr_AddRef(ITfUIElementMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfUIElementMgr_Release(ITfUIElementMgr* This) { + return This->lpVtbl->Release(This); +} +/*** ITfUIElementMgr methods ***/ +static FORCEINLINE HRESULT ITfUIElementMgr_BeginUIElement(ITfUIElementMgr* This,ITfUIElement *element,BOOL *show,DWORD *id) { + return This->lpVtbl->BeginUIElement(This,element,show,id); +} +static FORCEINLINE HRESULT ITfUIElementMgr_UpdateUIElement(ITfUIElementMgr* This,DWORD id) { + return This->lpVtbl->UpdateUIElement(This,id); +} +static FORCEINLINE HRESULT ITfUIElementMgr_EndUIElement(ITfUIElementMgr* This,DWORD id) { + return This->lpVtbl->EndUIElement(This,id); +} +static FORCEINLINE HRESULT ITfUIElementMgr_GetUIElement(ITfUIElementMgr* This,DWORD id,ITfUIElement **element) { + return This->lpVtbl->GetUIElement(This,id,element); +} +static FORCEINLINE HRESULT ITfUIElementMgr_EnumUIElements(ITfUIElementMgr* This,IEnumTfUIElements **enum_elements) { + return This->lpVtbl->EnumUIElements(This,enum_elements); +} +#endif +#endif + +#endif + + +#endif /* __ITfUIElementMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfSourceSingle interface + */ +#ifndef __ITfSourceSingle_INTERFACE_DEFINED__ +#define __ITfSourceSingle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfSourceSingle, 0x73131f9c, 0x56a9, 0x49dd, 0xb0,0xee, 0xd0,0x46,0x63,0x3f,0x75,0x28); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("73131f9c-56a9-49dd-b0ee-d046633f7528") +ITfSourceSingle : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseSingleSink( + TfClientId tid, + REFIID riid, + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseSingleSink( + TfClientId tid, + REFIID riid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfSourceSingle, 0x73131f9c, 0x56a9, 0x49dd, 0xb0,0xee, 0xd0,0x46,0x63,0x3f,0x75,0x28) +#endif +#else +typedef struct ITfSourceSingleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfSourceSingle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfSourceSingle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfSourceSingle *This); + + /*** ITfSourceSingle methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseSingleSink)( + ITfSourceSingle *This, + TfClientId tid, + REFIID riid, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *UnadviseSingleSink)( + ITfSourceSingle *This, + TfClientId tid, + REFIID riid); + + END_INTERFACE +} ITfSourceSingleVtbl; + +interface ITfSourceSingle { + CONST_VTBL ITfSourceSingleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfSourceSingle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfSourceSingle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfSourceSingle_Release(This) (This)->lpVtbl->Release(This) +/*** ITfSourceSingle methods ***/ +#define ITfSourceSingle_AdviseSingleSink(This,tid,riid,punk) (This)->lpVtbl->AdviseSingleSink(This,tid,riid,punk) +#define ITfSourceSingle_UnadviseSingleSink(This,tid,riid) (This)->lpVtbl->UnadviseSingleSink(This,tid,riid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfSourceSingle_QueryInterface(ITfSourceSingle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfSourceSingle_AddRef(ITfSourceSingle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfSourceSingle_Release(ITfSourceSingle* This) { + return This->lpVtbl->Release(This); +} +/*** ITfSourceSingle methods ***/ +static FORCEINLINE HRESULT ITfSourceSingle_AdviseSingleSink(ITfSourceSingle* This,TfClientId tid,REFIID riid,IUnknown *punk) { + return This->lpVtbl->AdviseSingleSink(This,tid,riid,punk); +} +static FORCEINLINE HRESULT ITfSourceSingle_UnadviseSingleSink(ITfSourceSingle* This,TfClientId tid,REFIID riid) { + return This->lpVtbl->UnadviseSingleSink(This,tid,riid); +} +#endif +#endif + +#endif + + +#endif /* __ITfSourceSingle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfThreadFocusSink interface + */ +#ifndef __ITfThreadFocusSink_INTERFACE_DEFINED__ +#define __ITfThreadFocusSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfThreadFocusSink, 0xc0f1db0c, 0x3a20, 0x405c, 0xa3,0x03, 0x96,0xb6,0x01,0x0a,0x88,0x5f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0f1db0c-3a20-405c-a303-96b6010a885f") +ITfThreadFocusSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnSetThreadFocus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnKillThreadFocus( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfThreadFocusSink, 0xc0f1db0c, 0x3a20, 0x405c, 0xa3,0x03, 0x96,0xb6,0x01,0x0a,0x88,0x5f) +#endif +#else +typedef struct ITfThreadFocusSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfThreadFocusSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfThreadFocusSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfThreadFocusSink *This); + + /*** ITfThreadFocusSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnSetThreadFocus)( + ITfThreadFocusSink *This); + + HRESULT (STDMETHODCALLTYPE *OnKillThreadFocus)( + ITfThreadFocusSink *This); + + END_INTERFACE +} ITfThreadFocusSinkVtbl; + +interface ITfThreadFocusSink { + CONST_VTBL ITfThreadFocusSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfThreadFocusSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfThreadFocusSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfThreadFocusSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfThreadFocusSink methods ***/ +#define ITfThreadFocusSink_OnSetThreadFocus(This) (This)->lpVtbl->OnSetThreadFocus(This) +#define ITfThreadFocusSink_OnKillThreadFocus(This) (This)->lpVtbl->OnKillThreadFocus(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfThreadFocusSink_QueryInterface(ITfThreadFocusSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfThreadFocusSink_AddRef(ITfThreadFocusSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfThreadFocusSink_Release(ITfThreadFocusSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfThreadFocusSink methods ***/ +static FORCEINLINE HRESULT ITfThreadFocusSink_OnSetThreadFocus(ITfThreadFocusSink* This) { + return This->lpVtbl->OnSetThreadFocus(This); +} +static FORCEINLINE HRESULT ITfThreadFocusSink_OnKillThreadFocus(ITfThreadFocusSink* This) { + return This->lpVtbl->OnKillThreadFocus(This); +} +#endif +#endif + +#endif + + +#endif /* __ITfThreadFocusSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfInputProcessorProfileActivationSink interface + */ +#ifndef __ITfInputProcessorProfileActivationSink_INTERFACE_DEFINED__ +#define __ITfInputProcessorProfileActivationSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfInputProcessorProfileActivationSink, 0x71c6e74e, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71c6e74e-0f28-11d8-a82a-00065b84435c") +ITfInputProcessorProfileActivationSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnActivated( + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID catid, + REFGUID guidProfile, + HKL hkl, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfInputProcessorProfileActivationSink, 0x71c6e74e, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c) +#endif +#else +typedef struct ITfInputProcessorProfileActivationSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfInputProcessorProfileActivationSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfInputProcessorProfileActivationSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfInputProcessorProfileActivationSink *This); + + /*** ITfInputProcessorProfileActivationSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnActivated)( + ITfInputProcessorProfileActivationSink *This, + DWORD dwProfileType, + LANGID langid, + REFCLSID clsid, + REFGUID catid, + REFGUID guidProfile, + HKL hkl, + DWORD dwFlags); + + END_INTERFACE +} ITfInputProcessorProfileActivationSinkVtbl; + +interface ITfInputProcessorProfileActivationSink { + CONST_VTBL ITfInputProcessorProfileActivationSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfInputProcessorProfileActivationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfInputProcessorProfileActivationSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfInputProcessorProfileActivationSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfInputProcessorProfileActivationSink methods ***/ +#define ITfInputProcessorProfileActivationSink_OnActivated(This,dwProfileType,langid,clsid,catid,guidProfile,hkl,dwFlags) (This)->lpVtbl->OnActivated(This,dwProfileType,langid,clsid,catid,guidProfile,hkl,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfInputProcessorProfileActivationSink_QueryInterface(ITfInputProcessorProfileActivationSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfInputProcessorProfileActivationSink_AddRef(ITfInputProcessorProfileActivationSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfInputProcessorProfileActivationSink_Release(ITfInputProcessorProfileActivationSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfInputProcessorProfileActivationSink methods ***/ +static FORCEINLINE HRESULT ITfInputProcessorProfileActivationSink_OnActivated(ITfInputProcessorProfileActivationSink* This,DWORD dwProfileType,LANGID langid,REFCLSID clsid,REFGUID catid,REFGUID guidProfile,HKL hkl,DWORD dwFlags) { + return This->lpVtbl->OnActivated(This,dwProfileType,langid,clsid,catid,guidProfile,hkl,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __ITfInputProcessorProfileActivationSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfMouseSink interface + */ +#ifndef __ITfMouseSink_INTERFACE_DEFINED__ +#define __ITfMouseSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfMouseSink, 0xa1adaaa2, 0x3a24, 0x449d, 0xac,0x96, 0x51,0x83,0xe7,0xf5,0xc2,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a1adaaa2-3a24-449d-ac96-5183e7f5c217") +ITfMouseSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnMouseEvent( + ULONG uEdge, + ULONG uQuadrant, + DWORD dwBtnStatus, + BOOL *pfEaten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfMouseSink, 0xa1adaaa2, 0x3a24, 0x449d, 0xac,0x96, 0x51,0x83,0xe7,0xf5,0xc2,0x17) +#endif +#else +typedef struct ITfMouseSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfMouseSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfMouseSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfMouseSink *This); + + /*** ITfMouseSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnMouseEvent)( + ITfMouseSink *This, + ULONG uEdge, + ULONG uQuadrant, + DWORD dwBtnStatus, + BOOL *pfEaten); + + END_INTERFACE +} ITfMouseSinkVtbl; + +interface ITfMouseSink { + CONST_VTBL ITfMouseSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfMouseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfMouseSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfMouseSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfMouseSink methods ***/ +#define ITfMouseSink_OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten) (This)->lpVtbl->OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfMouseSink_QueryInterface(ITfMouseSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfMouseSink_AddRef(ITfMouseSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfMouseSink_Release(ITfMouseSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfMouseSink methods ***/ +static FORCEINLINE HRESULT ITfMouseSink_OnMouseEvent(ITfMouseSink* This,ULONG uEdge,ULONG uQuadrant,DWORD dwBtnStatus,BOOL *pfEaten) { + return This->lpVtbl->OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten); +} +#endif +#endif + +#endif + + +#endif /* __ITfMouseSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfMouseTracker interface + */ +#ifndef __ITfMouseTracker_INTERFACE_DEFINED__ +#define __ITfMouseTracker_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfMouseTracker, 0x09d146cd, 0xa544, 0x4132, 0x92,0x5b, 0x7a,0xfa,0x8e,0xf3,0x22,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("09d146cd-a544-4132-925b-7afa8ef322d0") +ITfMouseTracker : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink( + ITfRange *range, + ITfMouseSink *pSink, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink( + DWORD dwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfMouseTracker, 0x09d146cd, 0xa544, 0x4132, 0x92,0x5b, 0x7a,0xfa,0x8e,0xf3,0x22,0xd0) +#endif +#else +typedef struct ITfMouseTrackerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfMouseTracker *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfMouseTracker *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfMouseTracker *This); + + /*** ITfMouseTracker methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseMouseSink)( + ITfMouseTracker *This, + ITfRange *range, + ITfMouseSink *pSink, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *UnadviseMouseSink)( + ITfMouseTracker *This, + DWORD dwCookie); + + END_INTERFACE +} ITfMouseTrackerVtbl; + +interface ITfMouseTracker { + CONST_VTBL ITfMouseTrackerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfMouseTracker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfMouseTracker_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfMouseTracker_Release(This) (This)->lpVtbl->Release(This) +/*** ITfMouseTracker methods ***/ +#define ITfMouseTracker_AdviseMouseSink(This,range,pSink,pdwCookie) (This)->lpVtbl->AdviseMouseSink(This,range,pSink,pdwCookie) +#define ITfMouseTracker_UnadviseMouseSink(This,dwCookie) (This)->lpVtbl->UnadviseMouseSink(This,dwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfMouseTracker_QueryInterface(ITfMouseTracker* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfMouseTracker_AddRef(ITfMouseTracker* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfMouseTracker_Release(ITfMouseTracker* This) { + return This->lpVtbl->Release(This); +} +/*** ITfMouseTracker methods ***/ +static FORCEINLINE HRESULT ITfMouseTracker_AdviseMouseSink(ITfMouseTracker* This,ITfRange *range,ITfMouseSink *pSink,DWORD *pdwCookie) { + return This->lpVtbl->AdviseMouseSink(This,range,pSink,pdwCookie); +} +static FORCEINLINE HRESULT ITfMouseTracker_UnadviseMouseSink(ITfMouseTracker* This,DWORD dwCookie) { + return This->lpVtbl->UnadviseMouseSink(This,dwCookie); +} +#endif +#endif + +#endif + + +#endif /* __ITfMouseTracker_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfMouseTrackerACP interface + */ +#ifndef __ITfMouseTrackerACP_INTERFACE_DEFINED__ +#define __ITfMouseTrackerACP_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfMouseTrackerACP, 0x3bdd78e2, 0xc16e, 0x47fd, 0xb8,0x83, 0xce,0x6f,0xac,0xc1,0xa2,0x08); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3bdd78e2-c16e-47fd-b883-ce6facc1a208") +ITfMouseTrackerACP : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink( + ITfRangeACP *range, + ITfMouseSink *pSink, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink( + DWORD dwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfMouseTrackerACP, 0x3bdd78e2, 0xc16e, 0x47fd, 0xb8,0x83, 0xce,0x6f,0xac,0xc1,0xa2,0x08) +#endif +#else +typedef struct ITfMouseTrackerACPVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfMouseTrackerACP *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfMouseTrackerACP *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfMouseTrackerACP *This); + + /*** ITfMouseTrackerACP methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseMouseSink)( + ITfMouseTrackerACP *This, + ITfRangeACP *range, + ITfMouseSink *pSink, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *UnadviseMouseSink)( + ITfMouseTrackerACP *This, + DWORD dwCookie); + + END_INTERFACE +} ITfMouseTrackerACPVtbl; + +interface ITfMouseTrackerACP { + CONST_VTBL ITfMouseTrackerACPVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfMouseTrackerACP_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfMouseTrackerACP_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfMouseTrackerACP_Release(This) (This)->lpVtbl->Release(This) +/*** ITfMouseTrackerACP methods ***/ +#define ITfMouseTrackerACP_AdviseMouseSink(This,range,pSink,pdwCookie) (This)->lpVtbl->AdviseMouseSink(This,range,pSink,pdwCookie) +#define ITfMouseTrackerACP_UnadviseMouseSink(This,dwCookie) (This)->lpVtbl->UnadviseMouseSink(This,dwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfMouseTrackerACP_QueryInterface(ITfMouseTrackerACP* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfMouseTrackerACP_AddRef(ITfMouseTrackerACP* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfMouseTrackerACP_Release(ITfMouseTrackerACP* This) { + return This->lpVtbl->Release(This); +} +/*** ITfMouseTrackerACP methods ***/ +static FORCEINLINE HRESULT ITfMouseTrackerACP_AdviseMouseSink(ITfMouseTrackerACP* This,ITfRangeACP *range,ITfMouseSink *pSink,DWORD *pdwCookie) { + return This->lpVtbl->AdviseMouseSink(This,range,pSink,pdwCookie); +} +static FORCEINLINE HRESULT ITfMouseTrackerACP_UnadviseMouseSink(ITfMouseTrackerACP* This,DWORD dwCookie) { + return This->lpVtbl->UnadviseMouseSink(This,dwCookie); +} +#endif +#endif + +#endif + + +#endif /* __ITfMouseTrackerACP_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITfTransitoryExtensionSink interface + */ +#ifndef __ITfTransitoryExtensionSink_INTERFACE_DEFINED__ +#define __ITfTransitoryExtensionSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITfTransitoryExtensionSink, 0xa615096f, 0x1c57, 0x4813, 0x8a,0x15, 0x55,0xee,0x6e,0x5a,0x83,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a615096f-1c57-4813-8a15-55ee6e5a839c") +ITfTransitoryExtensionSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnTransitoryExtensionUpdated( + ITfContext *pic, + TfEditCookie ecReadOnly, + ITfRange *pResultRange, + ITfRange *pCompositionRange, + BOOL *pfDeleteResultRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITfTransitoryExtensionSink, 0xa615096f, 0x1c57, 0x4813, 0x8a,0x15, 0x55,0xee,0x6e,0x5a,0x83,0x9c) +#endif +#else +typedef struct ITfTransitoryExtensionSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITfTransitoryExtensionSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITfTransitoryExtensionSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITfTransitoryExtensionSink *This); + + /*** ITfTransitoryExtensionSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTransitoryExtensionUpdated)( + ITfTransitoryExtensionSink *This, + ITfContext *pic, + TfEditCookie ecReadOnly, + ITfRange *pResultRange, + ITfRange *pCompositionRange, + BOOL *pfDeleteResultRange); + + END_INTERFACE +} ITfTransitoryExtensionSinkVtbl; + +interface ITfTransitoryExtensionSink { + CONST_VTBL ITfTransitoryExtensionSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITfTransitoryExtensionSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITfTransitoryExtensionSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITfTransitoryExtensionSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITfTransitoryExtensionSink methods ***/ +#define ITfTransitoryExtensionSink_OnTransitoryExtensionUpdated(This,pic,ecReadOnly,pResultRange,pCompositionRange,pfDeleteResultRange) (This)->lpVtbl->OnTransitoryExtensionUpdated(This,pic,ecReadOnly,pResultRange,pCompositionRange,pfDeleteResultRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITfTransitoryExtensionSink_QueryInterface(ITfTransitoryExtensionSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITfTransitoryExtensionSink_AddRef(ITfTransitoryExtensionSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITfTransitoryExtensionSink_Release(ITfTransitoryExtensionSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITfTransitoryExtensionSink methods ***/ +static FORCEINLINE HRESULT ITfTransitoryExtensionSink_OnTransitoryExtensionUpdated(ITfTransitoryExtensionSink* This,ITfContext *pic,TfEditCookie ecReadOnly,ITfRange *pResultRange,ITfRange *pCompositionRange,BOOL *pfDeleteResultRange) { + return This->lpVtbl->OnTransitoryExtensionUpdated(This,pic,ecReadOnly,pResultRange,pCompositionRange,pfDeleteResultRange); +} +#endif +#endif + +#endif + + +#endif /* __ITfTransitoryExtensionSink_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msctf_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msctf.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msctf.idl new file mode 100644 index 0000000..0b96faa --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msctf.idl @@ -0,0 +1,1863 @@ +/* + * Copyright 2008 Aric Stewart, CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "oaidl.idl"; +import "comcat.idl"; +import "textstor.idl"; +import "ctfutb.idl"; +#endif + +cpp_quote("#define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)") +cpp_quote("#define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504)") +cpp_quote("#define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)") +cpp_quote("#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)") + +cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);") +cpp_quote("HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);") +cpp_quote("HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);") +cpp_quote("HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm);") +cpp_quote("HRESULT WINAPI TF_CreateLangBarItemMgr(ITfLangBarItemMgr **pplbim);") +cpp_quote("HRESULT WINAPI TF_InvalidAssemblyListCacheIfExist(void);") + +cpp_quote("EXTERN_C const GUID GUID_PROP_TEXTOWNER;") +cpp_quote("DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);") +cpp_quote("EXTERN_C const GUID GUID_PROP_LANGID;") +cpp_quote("EXTERN_C const GUID GUID_PROP_READING;") +cpp_quote("EXTERN_C const GUID GUID_PROP_COMPOSING;") + +cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;") +cpp_quote("EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;") +cpp_quote("EXTERN_C const CLSID CLSID_TF_LangBarMgr;") +cpp_quote("EXTERN_C const CLSID CLSID_TF_CategoryMgr;") +cpp_quote("EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr;") + +/* GUIDs for Compartments */ +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_OPENCLOSE;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_HANDWRITING_OPENCLOSE;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DISABLED;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_OPENCLOSE;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_GLOBALSTATE;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_PERSISTMENUENABLED;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_EMPTYCONTEXT;") +cpp_quote("EXTERN_C const GUID GUID_COMPARTMENT_TIPUISTATUS;") + +/* GUIDs for Categories */ +cpp_quote("EXTERN_C const GUID GUID_TFCAT_TIP_KEYBOARD;") +cpp_quote("EXTERN_C const GUID GUID_TFCAT_TIP_SPEECH;") +cpp_quote("EXTERN_C const GUID GUID_TFCAT_TIP_HANDWRITING;") +cpp_quote("EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER;") + +typedef [uuid(7213778c-7bb0-4270-b050-6189ee594e97)] DWORD TfEditCookie; +typedef [uuid(de403c21-89fd-4f85-8b87-64584d063fbc)] DWORD TfClientId; +typedef [uuid(88a9c478-f3ec-4763-8345-cd9250443f8d)] DWORD TfGuidAtom; + +cpp_quote("#define TF_MOD_ALT 0x0001") +cpp_quote("#define TF_MOD_CONTROL 0x0002") +cpp_quote("#define TF_MOD_SHIFT 0x0004") +cpp_quote("#define TF_MOD_RALT 0x0008") +cpp_quote("#define TF_MOD_RCONTROL 0x0010") +cpp_quote("#define TF_MOD_RSHIFT 0x0020") +cpp_quote("#define TF_MOD_LALT 0x0040") +cpp_quote("#define TF_MOD_LCONTROL 0x0080") +cpp_quote("#define TF_MOD_LSHIFT 0x0100") +cpp_quote("#define TF_MOD_ON_KEYUP 0x0200") +cpp_quote("#define TF_MOD_IGNORE_ALL_MODIFIER 0x0400") + +cpp_quote("#define TF_PROFILETYPE_INPUTPROCESSOR 0x0001") +cpp_quote("#define TF_PROFILETYPE_KEYBOARDLAYOUT 0x0002") + +cpp_quote("#define TF_IPSINK_FLAG_ACTIVE 0x0001") + +interface ITfDocumentMgr; +interface ITfContext; +interface IEnumTfDocumentMgrs; +interface IEnumTfContexts; +interface ITfCompartmentMgr; +interface ITfEditSession; +interface ITfRange; +interface ITfProperty; +interface ITfReadOnlyProperty; +interface IEnumTfLanguageProfiles; +interface ITfCompositionView; +interface ITfKeyEventSink; +interface ITfPersistentPropertyLoaderACP; +interface ITfRangeACP; + +cpp_quote("#if 0") +typedef [uuid(4f5d560f-5ab5-4dde-8c4d-404592857ab0)] UINT_PTR HKL; +cpp_quote("#endif") + +typedef [uuid(e26d9e1d-691e-4f29-90d7-338dcf1f8cef)] struct TF_PERSISTENT_PROPERTY_HEADER_ACP +{ + GUID guidType; + LONG ichStart; + LONG cch; + ULONG cb; + DWORD dwPrivate; + CLSID clsidTIP; +} TF_PERSISTENT_PROPERTY_HEADER_ACP; + +typedef [uuid(e1b5808d-1e46-4c19-84dc-68c5f5978cc8)] struct TF_LANGUAGEPROFILE +{ + CLSID clsid; + LANGID langid; + GUID catid; + BOOL fActive; + GUID guidProfile; +} TF_LANGUAGEPROFILE; + +typedef [uuid(77c12f95-b783-450d-879f-1cd2362c6521)] struct TF_PRESERVEDKEY +{ + UINT uVKey; + UINT uModifiers; +} TF_PRESERVEDKEY; + +typedef [uuid(5a886226-ae9a-489b-b991-2b1e25ee59a9)] enum { TF_ANCHOR_START = 0, TF_ANCHOR_END = 1 } TfAnchor; + +[ + object, + uuid(101d6610-0990-11d3-8df0-00105a2799b5), + pointer_default(unique) +] +interface ITfFunctionProvider : IUnknown +{ + HRESULT GetType( + [out] GUID *guid); + + HRESULT GetDescription( + [out] BSTR *desc); + + HRESULT GetFunction( + [in] REFGUID guid, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **func); +} + +[ + object, + uuid(e4b24db0-0990-11d3-8df0-00105a2799b5), + pointer_default(unique) +] +interface IEnumTfFunctionProviders : IUnknown +{ + HRESULT Clone( + [out] IEnumTfFunctionProviders **ret); + + HRESULT Next( + [in] ULONG count, + [out, size_is(count), length_is(*fetched)] ITfFunctionProvider **prov, + [out] ULONG *fetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG count); +} + +[ + object, + uuid(aa80e801-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfThreadMgr: IUnknown +{ + HRESULT Activate( + [out] TfClientId *ptid); + + HRESULT Deactivate(); + + HRESULT CreateDocumentMgr( + [out] ITfDocumentMgr **ppdim); + + HRESULT EnumDocumentMgrs( + [out] IEnumTfDocumentMgrs **ppEnum); + + HRESULT GetFocus( + [out] ITfDocumentMgr **ppdimFocus); + + HRESULT SetFocus( + [in] ITfDocumentMgr *pdimFocus); + + HRESULT AssociateFocus( + [in] HWND hwnd, + [in, unique] ITfDocumentMgr *pdimNew, + [out] ITfDocumentMgr **ppdimPrev); + + HRESULT IsThreadFocus( + [out] BOOL *pfThreadFocus); + + HRESULT GetFunctionProvider( + [in] REFCLSID clsid, + [out] ITfFunctionProvider **ppFuncProv); + + HRESULT EnumFunctionProviders( + [out] IEnumTfFunctionProviders **ppEnum); + + HRESULT GetGlobalCompartment( + [out] ITfCompartmentMgr **ppCompMgr); +} + +[ + object, + uuid(3e90ade3-7594-4cb0-bb58-69628f5f458c), + pointer_default(unique) +] +interface ITfThreadMgrEx : ITfThreadMgr +{ + HRESULT ActivateEx( + [out] TfClientId *id, + [in] DWORD flags); + HRESULT GetActiveFlags( + [out] DWORD *flags); +} + +[ + object, + uuid(d7540241-f9a1-4364-befc-dbcd2c4395b7), + pointer_default(unique) +] +interface ITfCompositionView : IUnknown +{ + HRESULT GetOwnerClsid([out] CLSID *pclsid); + + HRESULT GetRange([out] ITfRange **ppRange); +} + +[ + object, + uuid(aa80e7f4-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfDocumentMgr: IUnknown +{ + HRESULT CreateContext( + [in] TfClientId tidOwner, + [in] DWORD dwFlags, + [in, unique] IUnknown *punk, + [out] ITfContext **ppic, + [out] TfEditCookie *pecTextStore); + + HRESULT Push( + [in] ITfContext *pic); + + const DWORD TF_POPF_ALL = 0x0001; + + HRESULT Pop( + [in] DWORD dwFlags); + + HRESULT GetTop( + [out] ITfContext **ppic); + + HRESULT GetBase( + [out] ITfContext **ppic); + + HRESULT EnumContexts( + [out] IEnumTfContexts **ppEnum); +} + +[ + object, + uuid(2433bf8e-0f9b-435c-ba2c-180611978c30), + pointer_default(unique) +] +interface ITfContextView : IUnknown +{ + HRESULT GetRangeFromPoint( + [in] TfEditCookie cookie, + [in] const POINT *pt, + [in] DWORD flags, + [out] ITfRange **range); + + HRESULT GetTextExt( + [in] TfEditCookie cookie, + [in] ITfRange *range, + [out] RECT *rect, + [out] BOOL *clipped); + + HRESULT GetScreenExt( + [out] RECT *rect); + + HRESULT GetWnd( + [out] HWND *hwnd); +} + +[ + object, + uuid(f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78), + pointer_default(unique) +] +interface IEnumTfContextViews : IUnknown +{ + HRESULT Clone( + [out] IEnumTfContextViews **ret); + + HRESULT Next( + [in] ULONG count, + [out, size_is(count), length_is(*fetched)] ITfContextView **views, + [out] ULONG *fetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG count); +} + +[ + object, + uuid(19188cb0-aca9-11d2-afc5-00105a2799b5), + pointer_default(unique) +] +interface IEnumTfProperties : IUnknown +{ + HRESULT Clone( + [out] IEnumTfProperties **ret); + + HRESULT Next( + [in] ULONG count, + [out, size_is(count), length_is(*fetched)] ITfProperty **props, + [out] ULONG *fetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG count); +} + +[ + object, + uuid(463a506d-6992-49d2-9b88-93d55e70bb16), + pointer_default(unique) +] +interface ITfRangeBackup : IUnknown +{ + HRESULT Restore( + [in] TfEditCookie cookie, + [in] ITfRange *range); +} + +[ + object, + uuid(aa80e901-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITextStoreACPServices : IUnknown +{ + HRESULT Serialize( + [in] ITfProperty *prop, + [in] ITfRange *range, + [out] TF_PERSISTENT_PROPERTY_HEADER_ACP *header, + [in] IStream *stream); + + HRESULT Unserialize( + [in] ITfProperty *prop, + [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *header, + [in] IStream *stream, + [in] ITfPersistentPropertyLoaderACP *loader); + + HRESULT ForceLoadProperty( + [in] ITfProperty *prop); + + HRESULT CreateRange( + [in] LONG start, + [in] LONG end, + [out] ITfRangeACP **range); +} + +[ + object, + uuid(aa80e7fd-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfContext : IUnknown +{ + const DWORD TF_ES_ASYNCDONTCARE = 0x0; + const DWORD TF_ES_SYNC = 0x1; + const DWORD TF_ES_READ = 0x2; + const DWORD TF_ES_READWRITE = 0x6; + const DWORD TF_ES_ASYNC = 0x8; + + HRESULT RequestEditSession( + [in] TfClientId tid, + [in] ITfEditSession *pes, + [in] DWORD dwFlags, + [out] HRESULT *phrSession); + + HRESULT InWriteSession( + [in] TfClientId tid, + [out] BOOL *pfWriteSession); + + typedef [uuid(1690be9b-d3e9-49f6-8d8b-51b905af4c43)] enum { TF_AE_NONE, TF_AE_START, TF_AE_END } TfActiveSelEnd; + + typedef [uuid(36ae42a4-6989-4bdc-b48a-6137b7bf2e42)] struct TF_SELECTIONSTYLE + { + TfActiveSelEnd ase; + BOOL fInterimChar; + } TF_SELECTIONSTYLE; + + typedef [uuid(75eb22f2-b0bf-46a8-8006-975a3b6efcf1)] struct TF_SELECTION + { + ITfRange *range; + TF_SELECTIONSTYLE style; + } TF_SELECTION; + + const ULONG TF_DEFAULT_SELECTION = TS_DEFAULT_SELECTION; + + HRESULT GetSelection( + [in] TfEditCookie ec, + [in] ULONG ulIndex, + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] TF_SELECTION *pSelection, + [out] ULONG *pcFetched); + + HRESULT SetSelection( + [in] TfEditCookie ec, + [in] ULONG ulCount, + [in, size_is(ulCount)] const TF_SELECTION *pSelection); + + HRESULT GetStart( + [in] TfEditCookie ec, + [out] ITfRange **ppStart); + + HRESULT GetEnd( + [in] TfEditCookie ec, + [out] ITfRange **ppEnd); + + typedef [uuid(bc7d979a-846a-444d-afef-0a9bfa82b961)] TS_STATUS TF_STATUS; + const DWORD TF_SD_READONLY = TS_SD_READONLY; + const DWORD TF_SD_LOADING = TS_SD_LOADING; + const DWORD TF_SS_DISJOINTSEL = TS_SS_DISJOINTSEL; + const DWORD TF_SS_REGIONS = TS_SS_REGIONS; + const DWORD TF_SS_TRANSITORY = TS_SS_TRANSITORY; + + + HRESULT GetActiveView( + [out] ITfContextView **ppView); + + HRESULT EnumViews( + [out] IEnumTfContextViews **ppEnum); + + HRESULT GetStatus( + [out] TF_STATUS *pdcs); + + HRESULT GetProperty( + [in] REFGUID guidProp, + [out] ITfProperty **ppProp); + + HRESULT GetAppProperty( + [in] REFGUID guidProp, + [out] ITfReadOnlyProperty **ppProp); + + HRESULT TrackProperties( + [in, size_is(cProp)] const GUID **prgProp, + [in] ULONG cProp, + [in, size_is(cAppProp)] const GUID **prgAppProp, + [in] ULONG cAppProp, + [out] ITfReadOnlyProperty **ppProperty); + + HRESULT EnumProperties( + [out] IEnumTfProperties **ppEnum); + + HRESULT GetDocumentMgr( + [out] ITfDocumentMgr **ppDm); + + HRESULT CreateRangeBackup( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [out] ITfRangeBackup **ppBackup); +} + +const DWORD TF_INVALID_COOKIE = 0xffffffff; + +[ + object, + uuid(4ea48a35-60ae-446f-8fd6-e6a8d82459f7), + pointer_default(unique) +] +interface ITfSource : IUnknown +{ + HRESULT AdviseSink( + [in] REFIID riid, + [in, iid_is(riid)] IUnknown *punk, + [out] DWORD *pdwCookie); + + HRESULT UnadviseSink( + [in] DWORD dwCookie); +} + +[ + object, + local, + uuid(1F02B6C5-7842-4EE6-8A0B-9A24183A95CA), + pointer_default(unique) +] +interface ITfInputProcessorProfiles : IUnknown +{ + HRESULT Register( + [in] REFCLSID rclsid); + + HRESULT Unregister( + [in] REFCLSID rclsid); + + HRESULT AddLanguageProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [in, size_is(cchDesc)] const WCHAR *pchDesc, + [in] ULONG cchDesc, + [in, size_is(cchFile)] const WCHAR *pchIconFile, + [in] ULONG cchFile, + [in] ULONG uIconIndex); + + HRESULT RemoveLanguageProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile); + + HRESULT EnumInputProcessorInfo( + [out] IEnumGUID **ppEnum); + + HRESULT GetDefaultLanguageProfile( + [in] LANGID langid, + [in] REFGUID catid, + [out] CLSID *pclsid, + [out] GUID *pguidProfile); + + HRESULT SetDefaultLanguageProfile( + [in] LANGID langid, + [in] REFCLSID rclsid, + [in] REFGUID guidProfiles); + + HRESULT ActivateLanguageProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfiles); + + HRESULT GetActiveLanguageProfile( + [in] REFCLSID rclsid, + [out] LANGID *plangid, + [out] GUID *pguidProfile); + + HRESULT GetLanguageProfileDescription( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [out] BSTR *pbstrProfile); + + HRESULT GetCurrentLanguage( + [out] LANGID *plangid); + + HRESULT ChangeCurrentLanguage( + [in] LANGID langid); + + HRESULT GetLanguageList( + [out] LANGID **ppLangId, + [out] ULONG *pulCount); + + HRESULT EnumLanguageProfiles( + [in] LANGID langid, + [out] IEnumTfLanguageProfiles **ppEnum); + + HRESULT EnableLanguageProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [in] BOOL fEnable); + + HRESULT IsEnabledLanguageProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [out] BOOL *pfEnable); + + HRESULT EnableLanguageProfileByDefault( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [in] BOOL fEnable); + + HRESULT SubstituteKeyboardLayout( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [in] HKL hKL); +} + +typedef [uuid(44d2825a-10e5-43b2-877f-6cb2f43b7e7e)] +struct TF_INPUTPROCESSORPROFILE { + DWORD dwProfileType; + LANGID langid; + CLSID clsid; + GUID guidProfile; + GUID catid; + HKL hklSubstitute; + DWORD dwCaps; + HKL hkl; + DWORD dwFlags; +} TF_INPUTPROCESSORPROFILE; + +[ + object, + uuid(71c6e74d-0f28-11d8-a82a-00065b84435c), + pointer_default(unique) +] +interface IEnumTfInputProcessorProfiles : IUnknown +{ + HRESULT Clone( + [out] IEnumTfInputProcessorProfiles **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetch)] TF_INPUTPROCESSORPROFILE *pProfile, + [out] ULONG *pcFetch); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + uuid(71c6e74c-0f28-11d8-a82a-00065b84435c), + pointer_default(unique) +] +interface ITfInputProcessorProfileMgr : IUnknown +{ + HRESULT ActivateProfile( + [in] DWORD dwProfileType, + [in] LANGID langid, + [in] REFCLSID clsid, + [in] REFGUID guidProfile, + [in] HKL hkl, + [in] DWORD dwFlags); + + HRESULT DeactivateProfile( + [in] DWORD dwProfileType, + [in] LANGID langid, + [in] REFCLSID clsid, + [in] REFGUID guidProfile, + [in] HKL hkl, + [in] DWORD dwFlags); + + HRESULT GetProfile( + [in] DWORD dwProfileType, + [in] LANGID langid, + [in] REFCLSID clsid, + [in] REFGUID guidProfile, + [in] HKL hkl, + [out] TF_INPUTPROCESSORPROFILE *pProfile); + + + HRESULT EnumProfiles( + [in] LANGID langid, + [out] IEnumTfInputProcessorProfiles **ppEnum); + + HRESULT ReleaseInputProcessor( + [in] REFCLSID rclsid, + [in] DWORD dwFlags); + + HRESULT RegisterProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [in, size_is(cchDesc)] const WCHAR *pchDesc, + [in] ULONG cchDesc, + [in, size_is(cchFile)] const WCHAR *pchIconFile, + [in] ULONG cchFile, + [in] ULONG uIconIndex, + [in] HKL hklsubstitute, + [in] DWORD dwPreferredLayout, + [in] BOOL bEnabledByDefault, + [in] DWORD dwFlags); + + HRESULT UnregisterProfile( + [in] REFCLSID rclsid, + [in] LANGID langid, + [in] REFGUID guidProfile, + [in] DWORD dwFlags); + + HRESULT GetActiveProfile( + [in] REFGUID catid, + [out] TF_INPUTPROCESSORPROFILE *pProfile); +} + +typedef [uuid(c4cc07f1-80cc-4a7b-bc54-98512782cbe3)] +enum { + TF_LS_NONE = 0, + TF_LS_SOLID = 1, + TF_LS_DOT = 2, + TF_LS_DASH = 3, + TF_LS_SQUIGGLE = 4 +} TF_DA_LINESTYLE; + +typedef [uuid(d9b92e21-084a-401b-9c64-1e6dad91a1ab)] +enum { + TF_CT_NONE = 0, + TF_CT_SYSCOLOR = 1, + TF_CT_COLORREF = 2 +} TF_DA_COLORTYPE; + +typedef [uuid(90d0cb5e-6520-4a0f-b47c-c39bd955f0d6)] +struct TF_DA_COLOR { + TF_DA_COLORTYPE type; + [switch_type(TF_DA_COLORTYPE), switch_is(type)] + union { + [case(TF_CT_SYSCOLOR)] int nIndex; + [case(TF_CT_COLORREF)] COLORREF cr; + }; +} TF_DA_COLOR; + +typedef [uuid(33d2fe4b-6c24-4f67-8d75-3bc1819e4126)] +enum { + TF_ATTR_INPUT = 0, + TF_ATTR_TARGET_CONVERTED = 1, + TF_ATTR_CONVERTED = 2, + TF_ATTR_TARGET_NOTCONVERTED = 3, + TF_ATTR_INPUT_ERROR = 4, + TF_ATTR_FIXEDCONVERTED = 5, + TF_ATTR_OTHER = -1 +} TF_DA_ATTR_INFO; + +typedef [uuid(1bf1c305-419b-4182-a4d2-9bfadc3f021f)] +struct TF_DISPLAYATTRIBUTE { + TF_DA_COLOR crText; + TF_DA_COLOR crBk; + TF_DA_LINESTYLE lsStyle; + BOOL fBoldLine; + TF_DA_COLOR crLine; + TF_DA_ATTR_INFO bAttr; +} TF_DISPLAYATTRIBUTE; + +[ + object, + uuid(70528852-2f26-4aea-8c96-215150578932), + pointer_default(unique) +] +interface ITfDisplayAttributeInfo : IUnknown +{ + HRESULT GetGUID([out] GUID *pguid); + + HRESULT GetDescription([out] BSTR *pbstrDesc); + + HRESULT GetAttributeInfo([out] TF_DISPLAYATTRIBUTE *pda); + + HRESULT SetAttributeInfo([in] const TF_DISPLAYATTRIBUTE *pda); + + HRESULT Reset(); +} + +[ + object, + uuid(7cef04d7-cb75-4e80-a7ab-5f5bc7d332de), + pointer_default(unique) +] +interface IEnumTfDisplayAttributeInfo : IUnknown +{ + HRESULT Clone([out] IEnumTfDisplayAttributeInfo **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] ITfDisplayAttributeInfo **rgInfo, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip([in] ULONG ulCount); +} + +[ + object, + local, + uuid(8ded7393-5db1-475c-9e71-a39111b0ff67), + pointer_default(unique) +] +interface ITfDisplayAttributeMgr : IUnknown +{ + HRESULT OnUpdateInfo(); + + HRESULT EnumDisplayAttributeInfo([out] IEnumTfDisplayAttributeInfo **ppEnum); + + HRESULT GetDisplayAttributeInfo( + [in] REFGUID guid, + [out] ITfDisplayAttributeInfo **ppInfo, + [out] CLSID *pclsidOwner); + +} + +[ + object, + local, + uuid(c3acefb5-f69d-4905-938f-fcadcf4be830), + pointer_default(unique) +] +interface ITfCategoryMgr : IUnknown +{ + HRESULT RegisterCategory([in] REFCLSID rclsid, + [in] REFGUID rcatid, + [in] REFGUID rguid); + + HRESULT UnregisterCategory([in] REFCLSID rclsid, + [in] REFGUID rcatid, + [in] REFGUID rguid); + + HRESULT EnumCategoriesInItem([in] REFGUID rguid, + [out] IEnumGUID **ppEnum); + + HRESULT EnumItemsInCategory([in] REFGUID rcatid, + [out] IEnumGUID **ppEnum); + + HRESULT FindClosestCategory([in] REFGUID rguid, + [out] GUID *pcatid, + [in, size_is(ulCount)] const GUID **ppcatidList, + [in] ULONG ulCount); + + HRESULT RegisterGUIDDescription([in] REFCLSID rclsid, + [in] REFGUID rguid, + [in, size_is(cch)] const WCHAR *pchDesc, + [in] ULONG cch); + + HRESULT UnregisterGUIDDescription([in] REFCLSID rclsid, + [in] REFGUID rguid); + + HRESULT GetGUIDDescription([in] REFGUID rguid, + [out] BSTR *pbstrDesc); + + HRESULT RegisterGUIDDWORD([in] REFCLSID rclsid, + [in] REFGUID rguid, + [in] DWORD dw); + + HRESULT UnregisterGUIDDWORD([in] REFCLSID rclsid, + [in] REFGUID rguid); + + HRESULT GetGUIDDWORD([in] REFGUID rguid, + [out] DWORD *pdw); + + HRESULT RegisterGUID([in] REFGUID rguid, + [out] TfGuidAtom *pguidatom); + + HRESULT GetGUID([in] TfGuidAtom guidatom, + [out] GUID *pguid); + + HRESULT IsEqualTfGuidAtom([in] TfGuidAtom guidatom, + [in] REFGUID rguid, + [out] BOOL *pfEqual); +} + +[ + object, + uuid(f99d3f40-8e32-11d2-bf46-00105a2799b5), + pointer_default(unique) +] +interface IEnumTfRanges : IUnknown +{ + HRESULT Clone([out] IEnumTfRanges **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] ITfRange **ppRange, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip(ULONG ulCount); +} + +[ + object, + uuid(42d4d099-7c1a-4a89-b836-6c6f22160df0), + pointer_default(unique) +] +interface ITfEditRecord : IUnknown +{ + const DWORD TF_GTP_INCL_TEXT = 0x1; + + HRESULT GetSelectionStatus( + [out] BOOL *changed); + + HRESULT GetTextAndPropertyUpdates( + [in] DWORD flags, + [in, size_is(count)] const GUID **props, + [in] ULONG count, + [out] IEnumTfRanges **ret); +} + +[ + object, + uuid(8127d409-ccd3-4683-967a-b43d5b482bf7), + pointer_default(unique) +] +interface ITfTextEditSink : IUnknown +{ + HRESULT OnEndEdit( + [in] ITfContext *pic, + [in] TfEditCookie ecReadOnly, + [in] ITfEditRecord *pEditRecord); +} + +[ + object, + uuid(5F20AA40-B57A-4F34-96AB-3576F377CC79), + pointer_default(unique) +] +interface ITfContextOwnerCompositionSink : IUnknown +{ + HRESULT OnStartComposition( + [in] ITfCompositionView *pComposition, + [out] BOOL *pfOk); + + HRESULT OnUpdateComposition( + [in] ITfCompositionView *pComposition, + [in] ITfRange *pRangeNew); + + HRESULT OnEndComposition( + [in] ITfCompositionView *pComposition); +} + +[ + object, + uuid(b246cb75-a93e-4652-bf8c-b3fe0cfd7e57), + pointer_default(unique) +] +interface ITfActiveLanguageProfileNotifySink : IUnknown +{ + HRESULT OnActivated( + [in] REFCLSID clsid, + [in] REFGUID guidProfile, + [in] BOOL fActivated); +} + +[ + object, + uuid(3d61bf11-ac5f-42c8-a4cb-931bcc28c744), + pointer_default(unique) +] +interface IEnumTfLanguageProfiles : IUnknown +{ + HRESULT Clone( + [out] IEnumTfLanguageProfiles **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetch)] TF_LANGUAGEPROFILE *pProfile, + [out] ULONG *pcFetch); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + local, + uuid(aa80e7f7-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfTextInputProcessor : IUnknown +{ + HRESULT Activate( + [in] ITfThreadMgr *ptim, + [in] TfClientId tid); + + HRESULT Deactivate(); +} + +[ + object, + uuid(aa80e80e-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfThreadMgrEventSink : IUnknown +{ + HRESULT OnInitDocumentMgr( + [in] ITfDocumentMgr *pdim); + + HRESULT OnUninitDocumentMgr( + [in] ITfDocumentMgr *pdim); + + HRESULT OnSetFocus( + [in] ITfDocumentMgr *pdimFocus, + [in] ITfDocumentMgr *pdimPrevFocus); + + HRESULT OnPushContext( + [in] ITfContext *pic); + + HRESULT OnPopContext( + [in] ITfContext *pic); +} + +[ + object, + local, + uuid(aa80e7f0-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfKeystrokeMgr : IUnknown +{ + HRESULT AdviseKeyEventSink( + [in] TfClientId tid, + [in] ITfKeyEventSink *pSink, + [in] BOOL fForeground); + + HRESULT UnadviseKeyEventSink( + [in] TfClientId tid); + + HRESULT GetForeground( + [out] CLSID *pclsid); + + HRESULT TestKeyDown( + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT TestKeyUp( + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT KeyDown( + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT KeyUp( + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT GetPreservedKey( + [in] ITfContext *pic, + [in] const TF_PRESERVEDKEY *pprekey, + [out] GUID *pguid); + + HRESULT IsPreservedKey( + [in] REFGUID rguid, + [in] const TF_PRESERVEDKEY *pprekey, + [out] BOOL *pfRegistered); + + HRESULT PreserveKey( + [in] TfClientId tid, + [in] REFGUID rguid, + [in] const TF_PRESERVEDKEY *prekey, + [in, size_is(cchDesc)] const WCHAR *pchDesc, + [in] ULONG cchDesc); + + HRESULT UnpreserveKey( + [in] REFGUID rguid, + [in] const TF_PRESERVEDKEY *pprekey); + + HRESULT SetPreservedKeyDescription( + [in] REFGUID rguid, + [in, size_is(cchDesc)] const WCHAR *pchDesc, + [in] ULONG cchDesc); + + HRESULT GetPreservedKeyDescription( + [in] REFGUID rguid, + [out] BSTR *pbstrDesc); + + HRESULT SimulatePreservedKey( + [in] ITfContext *pic, + [in] REFGUID rguid, + [out] BOOL *pfEaten); +} + +[ + object, + local, + uuid(aa80e7f5-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfKeyEventSink : IUnknown +{ + HRESULT OnSetFocus( + [in] BOOL fForeground); + + HRESULT OnTestKeyDown( + [in] ITfContext *pic, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT OnTestKeyUp( + [in] ITfContext *pic, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT OnKeyDown( + [in] ITfContext *pic, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT OnKeyUp( + [in] ITfContext *pic, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] BOOL *pfEaten); + + HRESULT OnPreservedKey( + [in] ITfContext *pic, + [in] REFGUID rguid, + [out] BOOL *pfEaten); +} + +[ + object, + local, + uuid(8f1b8ad8-0b6b-4874-90c5-bd76011e8f7c), + pointer_default(unique) +] +interface ITfMessagePump : IUnknown +{ + HRESULT PeekMessageA( + [out] LPMSG pMsg, + [in] HWND hwnd, + [in] UINT wMsgFilterMin, + [in] UINT wMsgFilterMax, + [in] UINT wRemoveMsg, + [out] BOOL *pfResult); + + HRESULT GetMessageA( + [out] LPMSG pMsg, + [in] HWND hwnd, + [in] UINT wMsgFilterMin, + [in] UINT wMsgFilterMax, + [out] BOOL *pfResult); + + HRESULT PeekMessageW( + [out] LPMSG pMsg, + [in] HWND hwnd, + [in] UINT wMsgFilterMin, + [in] UINT wMsgFilterMax, + [in] UINT wRemoveMsg, + [out] BOOL *pfResult); + + HRESULT GetMessageW( + [out] LPMSG pMsg, + [in] HWND hwnd, + [in] UINT wMsgFilterMin, + [in] UINT wMsgFilterMax, + [out] BOOL *pfResult); +} + +[ + object, + local, + uuid(d60a7b49-1b9f-4be2-b702-47e9dc05dec3), + pointer_default(unique) +] +interface ITfClientId : IUnknown +{ + HRESULT GetClientId( + [in] REFCLSID rclsid, + [out] TfClientId *ptid); +} + +[ + object, + uuid(43c9fe15-f494-4c17-9de2-b8a4ac350aa8), + pointer_default(unique) +] +interface ITfLanguageProfileNotifySink : IUnknown +{ + HRESULT OnLanguageChange( + [in] LANGID langid, + [out] BOOL *pfAccept); + + HRESULT OnLanguageChanged(); +} + +[ + object, + uuid(aa80e803-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfEditSession : IUnknown +{ + HRESULT DoEditSession( + [in] TfEditCookie ec); +} + +[ + object, + uuid(aa80e7ff-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface ITfRange : IUnknown +{ + const WCHAR TF_CHAR_EMBEDDED = TS_CHAR_EMBEDDED; + + typedef [uuid(cf610f06-2882-46f6-abe5-298568b664c4)] enum { TF_GRAVITY_BACKWARD = 0, TF_GRAVITY_FORWARD = 1 } TfGravity; + + typedef [uuid(1e512533-bbdc-4530-9a8e-a1dc0af67468)] enum { TF_SD_BACKWARD = 0, TF_SD_FORWARD = 1 } TfShiftDir; + + const DWORD TF_HF_OBJECT = 1; + const DWORD TF_TF_MOVESTART = 1; + const DWORD TF_TF_IGNOREEND = 2; + const DWORD TF_ST_CORRECTION = 1; + const DWORD TF_IE_CORRECTION = 1; + + typedef [uuid(49930d51-7d93-448c-a48c-fea5dac192b1)] struct TF_HALTCOND + { + ITfRange *pHaltRange; + TfAnchor aHaltPos; + DWORD dwFlags; + } TF_HALTCOND; + + HRESULT GetText( + [in] TfEditCookie ec, + [in] DWORD dwFlags, + [out, size_is(cchMax), length_is(*pcch)] WCHAR *pchText, + [in] ULONG cchMax, + [out] ULONG *pcch); + + HRESULT SetText( + [in] TfEditCookie ec, + [in] DWORD dwFlags, + [in, size_is(cch), unique] const WCHAR *pchText, + [in] LONG cch); + + HRESULT GetFormattedText( + [in] TfEditCookie ec, + [out] IDataObject **ppDataObject); + + HRESULT GetEmbedded( + [in] TfEditCookie ec, + [in] REFGUID rguidService, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppunk); + + HRESULT InsertEmbedded( + [in] TfEditCookie ec, + [in] DWORD dwFlags, + [in] IDataObject *pDataObject); + + HRESULT ShiftStart( + [in] TfEditCookie ec, + [in] LONG cchReq, + [out] LONG *pcch, + [in, unique] const TF_HALTCOND *pHalt); + + HRESULT ShiftEnd( + [in] TfEditCookie ec, + [in] LONG cchReq, + [out] LONG *pcch, + [in, unique] const TF_HALTCOND *pHalt); + + HRESULT ShiftStartToRange( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [in] TfAnchor aPos); + + HRESULT ShiftEndToRange( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [in] TfAnchor aPos); + + HRESULT ShiftStartRegion( + [in] TfEditCookie ec, + [in] TfShiftDir dir, + [out] BOOL *pfNoRegion); + + HRESULT ShiftEndRegion( + [in] TfEditCookie ec, + [in] TfShiftDir dir, + [out] BOOL *pfNoRegion); + + HRESULT IsEmpty( + [in] TfEditCookie ec, + [out] BOOL *pfEmpty); + + HRESULT Collapse( + [in] TfEditCookie ec, + [in] TfAnchor aPos); + + HRESULT IsEqualStart( + [in] TfEditCookie ec, + [in] ITfRange *pWith, + [in] TfAnchor aPos, + [out] BOOL *pfEqual); + + HRESULT IsEqualEnd( + [in] TfEditCookie ec, + [in] ITfRange *pWith, + [in] TfAnchor aPos, + [out] BOOL *pfEqual); + + HRESULT CompareStart( + [in] TfEditCookie ec, + [in] ITfRange *pWith, + [in] TfAnchor aPos, + [out] LONG *plResult); + + HRESULT CompareEnd( + [in] TfEditCookie ec, + [in] ITfRange *pWith, + [in] TfAnchor aPos, + [out] LONG *plResult); + + HRESULT AdjustForInsert( + [in] TfEditCookie ec, + [in] ULONG cchInsert, + [out] BOOL *pfInsertOk); + + HRESULT GetGravity( + [out] TfGravity *pgStart, + [out] TfGravity *pgEnd); + + HRESULT SetGravity( + [in] TfEditCookie ec, + [in] TfGravity gStart, + [in] TfGravity gEnd); + + HRESULT Clone( + [out] ITfRange **ppClone); + + HRESULT GetContext( + [out] ITfContext **ppContext); +} + +[ + object, + uuid(057a6296-029b-4154-b79a-0d461d4ea94c), + pointer_default(unique) +] +interface ITfRangeACP : ITfRange +{ + HRESULT GetExtent([out] LONG *pacpAnchor, + [out] LONG *pcch); + + HRESULT SetExtent([in] LONG acpAnchor, + [in] LONG cch); +} + +[ + object, + uuid(55ce16ba-3014-41c1-9ceb-fade1446ac6c), + pointer_default(unique) +] +interface ITfInsertAtSelection : IUnknown +{ + const DWORD TF_IAS_NOQUERY = 0x1; + const DWORD TF_IAS_QUERYONLY = 0x2; + const DWORD TF_IAS_NO_DEFAULT_COMPOSITION = 0x80000000; + + HRESULT InsertTextAtSelection( + [in] TfEditCookie ec, + [in] DWORD dwFlags, + [in, size_is(cch)] const WCHAR *pchText, + [in] LONG cch, + [out] ITfRange **ppRange); + + HRESULT InsertEmbeddedAtSelection( + [in] TfEditCookie ec, + [in] DWORD dwFlags, + [in] IDataObject *pDataObject, + [out] ITfRange **ppRange); +} + +[ + object, + uuid(6834b120-88cb-11d2-bf45-00105a2799b5), + pointer_default(unique) +] +interface ITfPropertyStore : IUnknown +{ + const DWORD TF_TU_CORRECTION = 0x1; + + HRESULT GetType([out] GUID *pguid); + + HRESULT GetDataType([out] DWORD *pdwReserved); + + HRESULT GetData([out] VARIANT *pvarValue); + + HRESULT OnTextUpdated( + [in] DWORD dwFlags, + [in] ITfRange *pRangeNew, + [out] BOOL *pfAccept); + + HRESULT Shrink( + [in] ITfRange *pRangeNew, + [out] BOOL *pfFree); + + HRESULT Divide( + [in] ITfRange *pRangeThis, + [in] ITfRange *pRangeNew, + [out] ITfPropertyStore **ppPropStore); + + HRESULT Clone( + [out] ITfPropertyStore **pPropStore); + + HRESULT GetPropertyRangeCreator( + [out] CLSID *pclsid); + + HRESULT Serialize( + [in] IStream *pStream, + [out] ULONG *pcb); +} + +[ + object, + uuid(5efd22Ba-7838-46cb-88e2-cadb14124f8f), + pointer_default(unique) +] +interface IEnumITfCompositionView : IUnknown +{ + HRESULT Clone([out] IEnumITfCompositionView **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] ITfCompositionView **rgCompositionView, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip([in] ULONG ulCount); +} + +[ + object, + uuid(20168d64-5a8f-4a5a-b7bd-cfa29f4D0fd9), + pointer_default(unique) +] +interface ITfComposition : IUnknown +{ + HRESULT GetRange([out] ITfRange **ppRange); + + HRESULT ShiftStart( + [in] TfEditCookie ecWrite, + [in] ITfRange *pNewStart); + + HRESULT ShiftEnd( + [in] TfEditCookie ecWrite, + [in] ITfRange *pNewEnd); + + HRESULT EndComposition([in] TfEditCookie ecWrite); +} + +[ + object, + uuid(a781718c-579a-4b15-a280-32b8577acc5e), + pointer_default(unique) +] +interface ITfCompositionSink : IUnknown +{ + HRESULT OnCompositionTerminated( + [in] TfEditCookie ecWrite, + [in] ITfComposition *pComposition); +} + +[ + object, + uuid(d40C8aae-aC92-4fc7-9a11-0ee0e23aa39b), + pointer_default(unique) +] +interface ITfContextComposition : IUnknown +{ + HRESULT StartComposition( + [in] TfEditCookie ecWrite, + [in] ITfRange *pCompositionRange, + [in] ITfCompositionSink *pSink, + [out] ITfComposition **ppComposition); + + HRESULT EnumCompositions([out] IEnumITfCompositionView **ppEnum); + + HRESULT FindComposition( + [in] TfEditCookie ecRead, + [in] ITfRange *pTestRange, + [out] IEnumITfCompositionView **ppEnum); + + HRESULT TakeOwnership( + [in] TfEditCookie ecWrite, + [in] ITfCompositionView *pComposition, + [in] ITfCompositionSink *pSink, + [out] ITfComposition **ppComposition); +} + +[ + object, + uuid(86462810-593b-4916-9764-19c08e9ce110), + pointer_default(unique) +] +interface ITfContextOwnerCompositionServices : ITfContextComposition +{ + HRESULT TerminateComposition([in] ITfCompositionView *pComposition); +} + +[ + object, + uuid(4ef89150-0807-11d3-8df0-00105a2799b5), + pointer_default(unique) +] +interface ITfPersistentPropertyLoaderACP : IUnknown +{ + HRESULT LoadProperty( + [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + [out] IStream **ppStream); +} + +[ + object, + uuid(b23eb630-3e1c-11d3-a745-0050040ab407), + pointer_default(unique) +] +interface ITfContextOwnerServices : IUnknown +{ + HRESULT OnLayoutChange(); + + HRESULT OnStatusChange([in] DWORD dwFlags); + + HRESULT OnAttributeChange([in] REFGUID rguidAttribute); + + HRESULT Serialize( + [in] ITfProperty *pProp, + [in] ITfRange *pRange, + [out] TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + [in] IStream *pStream); + + HRESULT Unserialize( + [in] ITfProperty *pProp, + [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, + [in] IStream *pStream, + [in] ITfPersistentPropertyLoaderACP *pLoader); + + HRESULT ForceLoadProperty([in] ITfProperty *pProp); + + HRESULT CreateRange( + [in] LONG acpStart, + [in] LONG acpEnd, + [out] ITfRangeACP **ppRange); +} + +[ + object, + uuid(17d49a3d-f8b8-4b2f-b254-52319dd64c53), + pointer_default(unique) +] +interface ITfReadOnlyProperty : IUnknown +{ + HRESULT GetType([out] GUID *pguid); + + HRESULT EnumRanges( + [in] TfEditCookie ec, + [out] IEnumTfRanges **ppEnum, + [in] ITfRange *pTargetRange); + + HRESULT GetValue( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [out] VARIANT *pvarValue); + + HRESULT GetContext([out] ITfContext **ppContext); +} + +[ + object, + uuid(e2449660-9542-11d2-bf46-00105a2799b5), + pointer_default(unique) +] +interface ITfProperty : ITfReadOnlyProperty +{ + HRESULT FindRange( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [out] ITfRange **ppRange, + [in] TfAnchor aPos); + + HRESULT SetValueStore( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [in] ITfPropertyStore *pPropStore); + + HRESULT SetValue( + [in] TfEditCookie ec, + [in] ITfRange *pRange, + [in] const VARIANT *pvarValue); + + HRESULT Clear( + [in] TfEditCookie ec, + [in] ITfRange *pRange); +} + +[ + object, + uuid(bb08f7a9-607a-4384-8623-056892b64371), + pointer_default(unique) +] +interface ITfCompartment : IUnknown +{ + HRESULT SetValue( + [in] TfClientId tid, + [in] const VARIANT *pvarValue); + + HRESULT GetValue( + [out] VARIANT *pvarValue); +} + +[ + object, + uuid(7dcf57ac-18ad-438b-824d-979bffb74b7c), + pointer_default(unique) +] +interface ITfCompartmentMgr : IUnknown +{ + HRESULT GetCompartment( + [in] REFGUID rguid, + [out] ITfCompartment **ppcomp); + + HRESULT ClearCompartment( + [in] TfClientId tid, + [in] REFGUID rguid); + + HRESULT EnumCompartments( + [out] IEnumGUID **ppEnum); +} + +[ + object, + uuid(743abd5f-f26d-48df-8cc5-238492419b64), + pointer_default(unique) +] +interface ITfCompartmentEventSink : IUnknown +{ + HRESULT OnChange( + [in] REFGUID rguid); +} + +[ + object, + uuid(8f1a7ea6-1654-4502-a86e-b2902344d507), + pointer_default(unique) +] +interface IEnumTfContexts : IUnknown +{ + HRESULT Clone( + [out] IEnumTfContexts **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] ITfContext **rgContext, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + uuid(aa80e808-2021-11d2-93e0-0060b067b86e), + pointer_default(unique) +] +interface IEnumTfDocumentMgrs : IUnknown +{ + HRESULT Clone( + [out] IEnumTfDocumentMgrs **ppEnum); + + HRESULT Next( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] ITfDocumentMgr **rgDocumentMgr, + [out] ULONG *pcFetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG ulCount); +} + +[ + object, + local, + uuid(ea1ea137-19df-11d7-a6d2-00065b84435c), + pointer_default(unique) +] +interface ITfUIElement : IUnknown +{ + HRESULT GetDescription( + [out] BSTR *description); + + HRESULT GetGUID( + [out] GUID *guid); + + HRESULT Show( + [in] BOOL show); + + HRESULT IsShown( + [out] BOOL *show); +} + +[ + object, + local, + uuid(887aa91e-acba-4931-84da-3c5208cf543f), + pointer_default(unique) +] +interface IEnumTfUIElements : IUnknown +{ + HRESULT Clone( + [out] IEnumTfUIElements **enum_elements); + + HRESULT Next( + [in] ULONG count, + [out, size_is(count), length_is(fetched)] ITfUIElement **element, + [out] ULONG fetched); + + HRESULT Reset(); + + HRESULT Skip( + [in] ULONG count); +} + +[ + object, + local, + uuid(ea1ea135-19df-11d7-a6d2-00065b84435c), + pointer_default(unique) +] +interface ITfUIElementMgr : IUnknown +{ + HRESULT BeginUIElement( + [in] ITfUIElement *element, + [in, out] BOOL *show, + [out] DWORD *id); + + HRESULT UpdateUIElement( + [in] DWORD id); + + HRESULT EndUIElement( + [in] DWORD id); + + HRESULT GetUIElement( + [in] DWORD id, + [out] ITfUIElement **element); + + HRESULT EnumUIElements( + [out] IEnumTfUIElements **enum_elements); +} + +[ + object, + uuid(73131f9c-56a9-49dd-b0ee-d046633f7528), + pointer_default(unique) +] +interface ITfSourceSingle : IUnknown +{ + HRESULT AdviseSingleSink( + [in] TfClientId tid, + [in] REFIID riid, + [in, iid_is(riid)] IUnknown *punk); + + HRESULT UnadviseSingleSink( + [in] TfClientId tid, + [in] REFIID riid); +} + +[ + object, + local, + uuid(c0f1db0c-3a20-405c-a303-96b6010a885f), + pointer_default(unique) +] +interface ITfThreadFocusSink : IUnknown +{ + HRESULT OnSetThreadFocus(); + + HRESULT OnKillThreadFocus(); +} + +[ + object, + uuid(71c6e74e-0f28-11d8-a82a-00065b84435c), + pointer_default(unique) +] +interface ITfInputProcessorProfileActivationSink : IUnknown +{ + HRESULT OnActivated( + [in] DWORD dwProfileType, + [in] LANGID langid, + [in] REFCLSID clsid, + [in] REFGUID catid, + [in] REFGUID guidProfile, + [in] HKL hkl, + [in] DWORD dwFlags); +} + +[ + object, + local, + uuid(a1adaaa2-3a24-449d-ac96-5183e7f5c217), + pointer_default(unique) +] +interface ITfMouseSink : IUnknown +{ + HRESULT OnMouseEvent( + [in] ULONG uEdge, + [in] ULONG uQuadrant, + [in] DWORD dwBtnStatus, + [out] BOOL *pfEaten); +} + +[ + object, + uuid(09d146cd-a544-4132-925b-7afa8ef322d0), + pointer_default(unique) +] +interface ITfMouseTracker : IUnknown +{ + HRESULT AdviseMouseSink( + [in] ITfRange *range, + [in] ITfMouseSink *pSink, + [out] DWORD *pdwCookie); + + HRESULT UnadviseMouseSink([in] DWORD dwCookie); +} + +[ + object, + uuid(3bdd78e2-c16e-47fd-b883-ce6facc1a208), + pointer_default(unique) +] +interface ITfMouseTrackerACP : IUnknown +{ + HRESULT AdviseMouseSink( + [in] ITfRangeACP *range, + [in] ITfMouseSink *pSink, + [out] DWORD *pdwCookie); + + HRESULT UnadviseMouseSink([in] DWORD dwCookie); +} + +[ + object, + local, + uuid(a615096f-1c57-4813-8a15-55ee6e5a839c), + pointer_default(unique) +] +interface ITfTransitoryExtensionSink : IUnknown +{ + HRESULT OnTransitoryExtensionUpdated( + [in] ITfContext *pic, + [in] TfEditCookie ecReadOnly, + [in] ITfRange *pResultRange, + [in] ITfRange *pCompositionRange, + [out] BOOL *pfDeleteResultRange); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdadc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdadc.h new file mode 100644 index 0000000..81a1e4f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdadc.h @@ -0,0 +1,300 @@ +/*** Autogenerated by WIDL 2.18 from msdadc.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msdadc_h__ +#define __msdadc_h__ + +/* Forward declarations */ + +#ifndef __IDataConvert_FWD_DEFINED__ +#define __IDataConvert_FWD_DEFINED__ +typedef interface IDataConvert IDataConvert; +#ifdef __cplusplus +interface IDataConvert; +#endif /* __cplusplus */ +#endif + +#ifndef __IDCInfo_FWD_DEFINED__ +#define __IDCInfo_FWD_DEFINED__ +typedef interface IDCInfo IDCInfo; +#ifdef __cplusplus +interface IDCInfo; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IDataConvert interface + */ +#ifndef __IDataConvert_INTERFACE_DEFINED__ +#define __IDataConvert_INTERFACE_DEFINED__ + +typedef DWORD DBDATACONVERT; +enum DBDATACONVERTENUM { + DBDATACONVERT_DEFAULT = 0, + DBDATACONVERT_SETDATABEHAVIOR = 1, + DBDATACONVERT_LENGTHFROMNTS = 2, + DBDATACONVERT_DSTISFIXEDLENGTH = 4, + DBDATACONVERT_DECIMALSCALE = 8 +}; +DEFINE_GUID(IID_IDataConvert, 0x0c733a8d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a8d-2a1c-11ce-ade5-00aa0044773d") +IDataConvert : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DataConvert( + DBTYPE wSrcType, + DBTYPE wDstType, + DBLENGTH cbSrcLength, + DBLENGTH *pcbDstLength, + void *pSrc, + void *pDst, + DBLENGTH cbDstMaxLength, + DBSTATUS dbsSrcStatus, + DBSTATUS *pdbsDstStatus, + BYTE bPrecision, + BYTE bScale, + DBDATACONVERT dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanConvert( + DBTYPE wSrcType, + DBTYPE wDstType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversionSize( + DBTYPE wSrcType, + DBTYPE wDstType, + DBLENGTH *pcbSrcLength, + DBLENGTH *pcbDstLength, + void *pSrc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDataConvert, 0x0c733a8d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDataConvertVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDataConvert *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDataConvert *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDataConvert *This); + + /*** IDataConvert methods ***/ + HRESULT (STDMETHODCALLTYPE *DataConvert)( + IDataConvert *This, + DBTYPE wSrcType, + DBTYPE wDstType, + DBLENGTH cbSrcLength, + DBLENGTH *pcbDstLength, + void *pSrc, + void *pDst, + DBLENGTH cbDstMaxLength, + DBSTATUS dbsSrcStatus, + DBSTATUS *pdbsDstStatus, + BYTE bPrecision, + BYTE bScale, + DBDATACONVERT dwFlags); + + HRESULT (STDMETHODCALLTYPE *CanConvert)( + IDataConvert *This, + DBTYPE wSrcType, + DBTYPE wDstType); + + HRESULT (STDMETHODCALLTYPE *GetConversionSize)( + IDataConvert *This, + DBTYPE wSrcType, + DBTYPE wDstType, + DBLENGTH *pcbSrcLength, + DBLENGTH *pcbDstLength, + void *pSrc); + + END_INTERFACE +} IDataConvertVtbl; + +interface IDataConvert { + CONST_VTBL IDataConvertVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDataConvert_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDataConvert_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDataConvert_Release(This) (This)->lpVtbl->Release(This) +/*** IDataConvert methods ***/ +#define IDataConvert_DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsDstStatus,bPrecision,bScale,dwFlags) (This)->lpVtbl->DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsDstStatus,bPrecision,bScale,dwFlags) +#define IDataConvert_CanConvert(This,wSrcType,wDstType) (This)->lpVtbl->CanConvert(This,wSrcType,wDstType) +#define IDataConvert_GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc) (This)->lpVtbl->GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDataConvert_QueryInterface(IDataConvert* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDataConvert_AddRef(IDataConvert* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDataConvert_Release(IDataConvert* This) { + return This->lpVtbl->Release(This); +} +/*** IDataConvert methods ***/ +static FORCEINLINE HRESULT IDataConvert_DataConvert(IDataConvert* This,DBTYPE wSrcType,DBTYPE wDstType,DBLENGTH cbSrcLength,DBLENGTH *pcbDstLength,void *pSrc,void *pDst,DBLENGTH cbDstMaxLength,DBSTATUS dbsSrcStatus,DBSTATUS *pdbsDstStatus,BYTE bPrecision,BYTE bScale,DBDATACONVERT dwFlags) { + return This->lpVtbl->DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsDstStatus,bPrecision,bScale,dwFlags); +} +static FORCEINLINE HRESULT IDataConvert_CanConvert(IDataConvert* This,DBTYPE wSrcType,DBTYPE wDstType) { + return This->lpVtbl->CanConvert(This,wSrcType,wDstType); +} +static FORCEINLINE HRESULT IDataConvert_GetConversionSize(IDataConvert* This,DBTYPE wSrcType,DBTYPE wDstType,DBLENGTH *pcbSrcLength,DBLENGTH *pcbDstLength,void *pSrc) { + return This->lpVtbl->GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc); +} +#endif +#endif + +#endif + + +#endif /* __IDataConvert_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDCInfo interface + */ +#ifndef __IDCInfo_INTERFACE_DEFINED__ +#define __IDCInfo_INTERFACE_DEFINED__ + +typedef DWORD DCINFOTYPE; +enum DCINFOTYPEENUM { + DCINFOTYPE_VERSION = 1 +}; +typedef struct tagDCINFO { + DCINFOTYPE eInfoType; + VARIANT vData; +} DCINFO; +DEFINE_GUID(IID_IDCInfo, 0x0c733a9c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a9c-2a1c-11ce-ade5-00aa0044773d") +IDCInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetInfo( + ULONG cInfo, + DCINFOTYPE rgeInfoType[], + DCINFO **prgInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInfo( + ULONG cInfo, + DCINFO prgInfo[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDCInfo, 0x0c733a9c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDCInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDCInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDCInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDCInfo *This); + + /*** IDCInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IDCInfo *This, + ULONG cInfo, + DCINFOTYPE rgeInfoType[], + DCINFO **prgInfo); + + HRESULT (STDMETHODCALLTYPE *SetInfo)( + IDCInfo *This, + ULONG cInfo, + DCINFO prgInfo[]); + + END_INTERFACE +} IDCInfoVtbl; + +interface IDCInfo { + CONST_VTBL IDCInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDCInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDCInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDCInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IDCInfo methods ***/ +#define IDCInfo_GetInfo(This,cInfo,rgeInfoType,prgInfo) (This)->lpVtbl->GetInfo(This,cInfo,rgeInfoType,prgInfo) +#define IDCInfo_SetInfo(This,cInfo,prgInfo) (This)->lpVtbl->SetInfo(This,cInfo,prgInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDCInfo_QueryInterface(IDCInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDCInfo_AddRef(IDCInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDCInfo_Release(IDCInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IDCInfo methods ***/ +static FORCEINLINE HRESULT IDCInfo_GetInfo(IDCInfo* This,ULONG cInfo,DCINFOTYPE rgeInfoType[],DCINFO **prgInfo) { + return This->lpVtbl->GetInfo(This,cInfo,rgeInfoType,prgInfo); +} +static FORCEINLINE HRESULT IDCInfo_SetInfo(IDCInfo* This,ULONG cInfo,DCINFO prgInfo[]) { + return This->lpVtbl->SetInfo(This,cInfo,prgInfo); +} +#endif +#endif + +#endif + + +#endif /* __IDCInfo_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msdadc_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdadc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdadc.idl new file mode 100644 index 0000000..b1954c2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdadc.idl @@ -0,0 +1,92 @@ +/* + * Copyright 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "oledb.idl"; + +[ + object, + pointer_default(unique), + uuid(0c733a8d-2a1c-11ce-ade5-00aa0044773d) +] +interface IDataConvert : IUnknown +{ + typedef DWORD DBDATACONVERT; + + enum DBDATACONVERTENUM + { + DBDATACONVERT_DEFAULT = 0, + DBDATACONVERT_SETDATABEHAVIOR = 1, + DBDATACONVERT_LENGTHFROMNTS = 2, + DBDATACONVERT_DSTISFIXEDLENGTH = 4, + DBDATACONVERT_DECIMALSCALE = 8 + }; + + [local] HRESULT DataConvert([in] DBTYPE wSrcType, + [in] DBTYPE wDstType, + [in] DBLENGTH cbSrcLength, + [in, out] DBLENGTH *pcbDstLength, + [in] void *pSrc, + [out] void *pDst, + [in] DBLENGTH cbDstMaxLength, + [in] DBSTATUS dbsSrcStatus, + [out] DBSTATUS *pdbsDstStatus, + [in] BYTE bPrecision, + [in] BYTE bScale, + [in] DBDATACONVERT dwFlags); + + + HRESULT CanConvert([in] DBTYPE wSrcType, + [in] DBTYPE wDstType); + + + [local] HRESULT GetConversionSize([in] DBTYPE wSrcType, + [in] DBTYPE wDstType, + [in] DBLENGTH *pcbSrcLength, + [out] DBLENGTH *pcbDstLength, + [in, size_is(*pcbSrcLength)] void *pSrc); +}; + +[ + object, + pointer_default(unique), + uuid(0c733a9c-2a1c-11ce-ade5-00aa0044773d) +] +interface IDCInfo : IUnknown +{ + typedef DWORD DCINFOTYPE; + + enum DCINFOTYPEENUM + { + DCINFOTYPE_VERSION = 1 + }; + + typedef struct tagDCINFO + { + DCINFOTYPE eInfoType; + VARIANT vData; + } DCINFO; + + HRESULT GetInfo([in] ULONG cInfo, + [in, size_is(cInfo)] DCINFOTYPE rgeInfoType[], + [out, size_is(cInfo)] DCINFO **prgInfo); + + HRESULT SetInfo([in] ULONG cInfo, + [in, size_is(cInfo)] DCINFO prgInfo[]); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdaguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdaguid.h new file mode 100644 index 0000000..d86ac23 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdaguid.h @@ -0,0 +1,27 @@ +/* + * Copyright 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSDAGUID_H +#define __WINE_MSDAGUID_H + +DEFINE_GUID(CLSID_EXTENDEDERRORINFO, 0xc8b522cf, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_GUID(CLSID_OLEDB_ENUMERATOR, 0xc8b522d0, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_GUID(CLSID_OLEDB_CONVERSIONLIBRARY, 0xc8b522d1, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_GUID(CLSID_OLEDB_ROWPOSITIONLIBRARY,0x2048eee6, 0x7fa2, 0x11d0, 0x9e, 0x6a, 0x00, 0xa0, 0xc9, 0x13, 0x8c, 0x29); + +#endif /*__WINE_MSDAGUID_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdasc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdasc.h new file mode 100644 index 0000000..c8c4399 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdasc.h @@ -0,0 +1,602 @@ +/*** Autogenerated by WIDL 2.18 from msdasc.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msdasc_h__ +#define __msdasc_h__ + +/* Forward declarations */ + +#ifndef __IDataSourceLocator_FWD_DEFINED__ +#define __IDataSourceLocator_FWD_DEFINED__ +typedef interface IDataSourceLocator IDataSourceLocator; +#ifdef __cplusplus +interface IDataSourceLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBPromptInitialize_FWD_DEFINED__ +#define __IDBPromptInitialize_FWD_DEFINED__ +typedef interface IDBPromptInitialize IDBPromptInitialize; +#ifdef __cplusplus +interface IDBPromptInitialize; +#endif /* __cplusplus */ +#endif + +#ifndef __IDataInitialize_FWD_DEFINED__ +#define __IDataInitialize_FWD_DEFINED__ +typedef interface IDataInitialize IDataInitialize; +#ifdef __cplusplus +interface IDataInitialize; +#endif /* __cplusplus */ +#endif + +#ifndef __MSDAINITIALIZE_FWD_DEFINED__ +#define __MSDAINITIALIZE_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MSDAINITIALIZE MSDAINITIALIZE; +#else +typedef struct MSDAINITIALIZE MSDAINITIALIZE; +#endif /* defined __cplusplus */ +#endif /* defined __MSDAINITIALIZE_FWD_DEFINED__ */ + +#ifndef __DataLinks_FWD_DEFINED__ +#define __DataLinks_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DataLinks DataLinks; +#else +typedef struct DataLinks DataLinks; +#endif /* defined __cplusplus */ +#endif /* defined __DataLinks_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef LONG_PTR COMPATIBLE_LONG; + +DEFINE_GUID(LIBID_MSDASC, 0x2206ceb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29); + +typedef DWORD DBPROMPTOPTIONS; +typedef enum tagDBPROMPTOPTIONSENUM { + DBPROMPTOPTIONS_NONE = 0x0, + DBPROMPTOPTIONS_WIZARDSHEET = 0x1, + DBPROMPTOPTIONS_PROPERTYSHEET = 0x2, + DBPROMPTOPTIONS_BROWSEONLY = 0x8, + DBPROMPTOPTIONS_DISABLE_PROVIDER_SELECTION = 0x10, + DBPROMPTOPTIONS_DISABLESAVEPASSWORD = 0x20 +} DBPROMPTOPTIONSENUM; +/***************************************************************************** + * IDataSourceLocator interface + */ +#ifndef __IDataSourceLocator_INTERFACE_DEFINED__ +#define __IDataSourceLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDataSourceLocator, 0x2206ccb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2206ccb2-19c1-11d1-89e0-00c04fd7a829") +IDataSourceLocator : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_hWnd( + COMPATIBLE_LONG *phwndParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hWnd( + COMPATIBLE_LONG hwndParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE PromptNew( + IDispatch **ppADOConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE PromptEdit( + IDispatch **ppADOConnection, + VARIANT_BOOL *pbSuccess) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDataSourceLocator, 0x2206ccb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29) +#endif +#else +typedef struct IDataSourceLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDataSourceLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDataSourceLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDataSourceLocator *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDataSourceLocator *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDataSourceLocator *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDataSourceLocator *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDataSourceLocator *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDataSourceLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *get_hWnd)( + IDataSourceLocator *This, + COMPATIBLE_LONG *phwndParent); + + HRESULT (STDMETHODCALLTYPE *put_hWnd)( + IDataSourceLocator *This, + COMPATIBLE_LONG hwndParent); + + HRESULT (STDMETHODCALLTYPE *PromptNew)( + IDataSourceLocator *This, + IDispatch **ppADOConnection); + + HRESULT (STDMETHODCALLTYPE *PromptEdit)( + IDataSourceLocator *This, + IDispatch **ppADOConnection, + VARIANT_BOOL *pbSuccess); + + END_INTERFACE +} IDataSourceLocatorVtbl; + +interface IDataSourceLocator { + CONST_VTBL IDataSourceLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDataSourceLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDataSourceLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDataSourceLocator_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDataSourceLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDataSourceLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDataSourceLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDataSourceLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDataSourceLocator methods ***/ +#define IDataSourceLocator_get_hWnd(This,phwndParent) (This)->lpVtbl->get_hWnd(This,phwndParent) +#define IDataSourceLocator_put_hWnd(This,hwndParent) (This)->lpVtbl->put_hWnd(This,hwndParent) +#define IDataSourceLocator_PromptNew(This,ppADOConnection) (This)->lpVtbl->PromptNew(This,ppADOConnection) +#define IDataSourceLocator_PromptEdit(This,ppADOConnection,pbSuccess) (This)->lpVtbl->PromptEdit(This,ppADOConnection,pbSuccess) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDataSourceLocator_QueryInterface(IDataSourceLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDataSourceLocator_AddRef(IDataSourceLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDataSourceLocator_Release(IDataSourceLocator* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDataSourceLocator_GetTypeInfoCount(IDataSourceLocator* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDataSourceLocator_GetTypeInfo(IDataSourceLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDataSourceLocator_GetIDsOfNames(IDataSourceLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDataSourceLocator_Invoke(IDataSourceLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDataSourceLocator methods ***/ +static FORCEINLINE HRESULT IDataSourceLocator_get_hWnd(IDataSourceLocator* This,COMPATIBLE_LONG *phwndParent) { + return This->lpVtbl->get_hWnd(This,phwndParent); +} +static FORCEINLINE HRESULT IDataSourceLocator_put_hWnd(IDataSourceLocator* This,COMPATIBLE_LONG hwndParent) { + return This->lpVtbl->put_hWnd(This,hwndParent); +} +static FORCEINLINE HRESULT IDataSourceLocator_PromptNew(IDataSourceLocator* This,IDispatch **ppADOConnection) { + return This->lpVtbl->PromptNew(This,ppADOConnection); +} +static FORCEINLINE HRESULT IDataSourceLocator_PromptEdit(IDataSourceLocator* This,IDispatch **ppADOConnection,VARIANT_BOOL *pbSuccess) { + return This->lpVtbl->PromptEdit(This,ppADOConnection,pbSuccess); +} +#endif +#endif + +#endif + + +#endif /* __IDataSourceLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBPromptInitialize interface + */ +#ifndef __IDBPromptInitialize_INTERFACE_DEFINED__ +#define __IDBPromptInitialize_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBPromptInitialize, 0x2206ccb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2206ccb0-19c1-11d1-89e0-00c04fd7a829") +IDBPromptInitialize : public IUnknown +{ + virtual HRESULT __stdcall PromptDataSource( + IUnknown *pUnkOuter, + HWND hWndParent, + DBPROMPTOPTIONS dwPromptOptions, + ULONG cSourceTypeFilter, + DBSOURCETYPE *rgSourceTypeFilter, + LPWSTR pwszszzProviderFilter, + GUID *riid, + IUnknown **ppDataSource) = 0; + + virtual HRESULT __stdcall PromptFileName( + HWND hWndParent, + ULONG dwPromptOptions, + LPWSTR pwszInitialDirectory, + LPWSTR pwszInitialFile, + LPWSTR *ppwszSelectedFile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBPromptInitialize, 0x2206ccb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29) +#endif +#else +typedef struct IDBPromptInitializeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBPromptInitialize *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBPromptInitialize *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBPromptInitialize *This); + + /*** IDBPromptInitialize methods ***/ + HRESULT (__stdcall *PromptDataSource)( + IDBPromptInitialize *This, + IUnknown *pUnkOuter, + HWND hWndParent, + DBPROMPTOPTIONS dwPromptOptions, + ULONG cSourceTypeFilter, + DBSOURCETYPE *rgSourceTypeFilter, + LPWSTR pwszszzProviderFilter, + GUID *riid, + IUnknown **ppDataSource); + + HRESULT (__stdcall *PromptFileName)( + IDBPromptInitialize *This, + HWND hWndParent, + ULONG dwPromptOptions, + LPWSTR pwszInitialDirectory, + LPWSTR pwszInitialFile, + LPWSTR *ppwszSelectedFile); + + END_INTERFACE +} IDBPromptInitializeVtbl; + +interface IDBPromptInitialize { + CONST_VTBL IDBPromptInitializeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBPromptInitialize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBPromptInitialize_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBPromptInitialize_Release(This) (This)->lpVtbl->Release(This) +/*** IDBPromptInitialize methods ***/ +#define IDBPromptInitialize_PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource) (This)->lpVtbl->PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource) +#define IDBPromptInitialize_PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile) (This)->lpVtbl->PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBPromptInitialize_QueryInterface(IDBPromptInitialize* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBPromptInitialize_AddRef(IDBPromptInitialize* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBPromptInitialize_Release(IDBPromptInitialize* This) { + return This->lpVtbl->Release(This); +} +/*** IDBPromptInitialize methods ***/ +static FORCEINLINE HRESULT IDBPromptInitialize_PromptDataSource(IDBPromptInitialize* This,IUnknown *pUnkOuter,HWND hWndParent,DBPROMPTOPTIONS dwPromptOptions,ULONG cSourceTypeFilter,DBSOURCETYPE *rgSourceTypeFilter,LPWSTR pwszszzProviderFilter,GUID *riid,IUnknown **ppDataSource) { + return This->lpVtbl->PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource); +} +static FORCEINLINE HRESULT IDBPromptInitialize_PromptFileName(IDBPromptInitialize* This,HWND hWndParent,ULONG dwPromptOptions,LPWSTR pwszInitialDirectory,LPWSTR pwszInitialFile,LPWSTR *ppwszSelectedFile) { + return This->lpVtbl->PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile); +} +#endif +#endif + +#endif + + +#endif /* __IDBPromptInitialize_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDataInitialize interface + */ +#ifndef __IDataInitialize_INTERFACE_DEFINED__ +#define __IDataInitialize_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDataInitialize, 0x2206ccb1, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2206ccb1-19c1-11d1-89e0-00c04fd7a829") +IDataInitialize : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDataSource( + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszInitializationString, + REFIID riid, + IUnknown **ppDataSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInitializationString( + IUnknown *pDataSource, + boolean fIncludePassword, + LPWSTR *ppwszInitString) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDBInstance( + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + REFIID riid, + IUnknown **ppDataSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDBInstanceEx( + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + COSERVERINFO *pServerInfo, + DWORD cmq, + MULTI_QI *results) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadStringFromStorage( + LPWSTR pwszFileName, + LPWSTR *ppwszInitializationString) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteStringToStorage( + LPWSTR pwszFileName, + LPWSTR pwszInitializationString, + DWORD dwCreationDisposition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDataInitialize, 0x2206ccb1, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29) +#endif +#else +typedef struct IDataInitializeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDataInitialize *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDataInitialize *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDataInitialize *This); + + /*** IDataInitialize methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDataSource)( + IDataInitialize *This, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszInitializationString, + REFIID riid, + IUnknown **ppDataSource); + + HRESULT (STDMETHODCALLTYPE *GetInitializationString)( + IDataInitialize *This, + IUnknown *pDataSource, + boolean fIncludePassword, + LPWSTR *ppwszInitString); + + HRESULT (STDMETHODCALLTYPE *CreateDBInstance)( + IDataInitialize *This, + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + REFIID riid, + IUnknown **ppDataSource); + + HRESULT (STDMETHODCALLTYPE *CreateDBInstanceEx)( + IDataInitialize *This, + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + COSERVERINFO *pServerInfo, + DWORD cmq, + MULTI_QI *results); + + HRESULT (STDMETHODCALLTYPE *LoadStringFromStorage)( + IDataInitialize *This, + LPWSTR pwszFileName, + LPWSTR *ppwszInitializationString); + + HRESULT (STDMETHODCALLTYPE *WriteStringToStorage)( + IDataInitialize *This, + LPWSTR pwszFileName, + LPWSTR pwszInitializationString, + DWORD dwCreationDisposition); + + END_INTERFACE +} IDataInitializeVtbl; + +interface IDataInitialize { + CONST_VTBL IDataInitializeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDataInitialize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDataInitialize_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDataInitialize_Release(This) (This)->lpVtbl->Release(This) +/*** IDataInitialize methods ***/ +#define IDataInitialize_GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource) (This)->lpVtbl->GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource) +#define IDataInitialize_GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString) (This)->lpVtbl->GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString) +#define IDataInitialize_CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource) (This)->lpVtbl->CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource) +#define IDataInitialize_CreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,results) (This)->lpVtbl->CreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,results) +#define IDataInitialize_LoadStringFromStorage(This,pwszFileName,ppwszInitializationString) (This)->lpVtbl->LoadStringFromStorage(This,pwszFileName,ppwszInitializationString) +#define IDataInitialize_WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition) (This)->lpVtbl->WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDataInitialize_QueryInterface(IDataInitialize* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDataInitialize_AddRef(IDataInitialize* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDataInitialize_Release(IDataInitialize* This) { + return This->lpVtbl->Release(This); +} +/*** IDataInitialize methods ***/ +static FORCEINLINE HRESULT IDataInitialize_GetDataSource(IDataInitialize* This,IUnknown *pUnkOuter,DWORD dwClsCtx,LPWSTR pwszInitializationString,REFIID riid,IUnknown **ppDataSource) { + return This->lpVtbl->GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource); +} +static FORCEINLINE HRESULT IDataInitialize_GetInitializationString(IDataInitialize* This,IUnknown *pDataSource,boolean fIncludePassword,LPWSTR *ppwszInitString) { + return This->lpVtbl->GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString); +} +static FORCEINLINE HRESULT IDataInitialize_CreateDBInstance(IDataInitialize* This,REFCLSID clsidProvider,IUnknown *pUnkOuter,DWORD dwClsCtx,LPWSTR pwszReserved,REFIID riid,IUnknown **ppDataSource) { + return This->lpVtbl->CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource); +} +static FORCEINLINE HRESULT IDataInitialize_CreateDBInstanceEx(IDataInitialize* This,REFCLSID clsidProvider,IUnknown *pUnkOuter,DWORD dwClsCtx,LPWSTR pwszReserved,COSERVERINFO *pServerInfo,DWORD cmq,MULTI_QI *results) { + return This->lpVtbl->CreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,results); +} +static FORCEINLINE HRESULT IDataInitialize_LoadStringFromStorage(IDataInitialize* This,LPWSTR pwszFileName,LPWSTR *ppwszInitializationString) { + return This->lpVtbl->LoadStringFromStorage(This,pwszFileName,ppwszInitializationString); +} +static FORCEINLINE HRESULT IDataInitialize_WriteStringToStorage(IDataInitialize* This,LPWSTR pwszFileName,LPWSTR pwszInitializationString,DWORD dwCreationDisposition) { + return This->lpVtbl->WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDataInitialize_RemoteCreateDBInstanceEx_Proxy( + IDataInitialize* This, + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + COSERVERINFO *pServerInfo, + DWORD cmq, + const IID **iids, + IUnknown **ifs, + HRESULT *hr); +void __RPC_STUB IDataInitialize_RemoteCreateDBInstanceEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDataInitialize_CreateDBInstanceEx_Proxy( + IDataInitialize* This, + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + COSERVERINFO *pServerInfo, + DWORD cmq, + MULTI_QI *results); +HRESULT __RPC_STUB IDataInitialize_CreateDBInstanceEx_Stub( + IDataInitialize* This, + REFCLSID clsidProvider, + IUnknown *pUnkOuter, + DWORD dwClsCtx, + LPWSTR pwszReserved, + COSERVERINFO *pServerInfo, + DWORD cmq, + const IID **iids, + IUnknown **ifs, + HRESULT *hr); + +#endif /* __IDataInitialize_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * MSDAINITIALIZE coclass + */ + +DEFINE_GUID(CLSID_MSDAINITIALIZE, 0x2206cdb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29); + +#ifdef __cplusplus +class DECLSPEC_UUID("2206cdb0-19c1-11d1-89e0-00c04fd7a829") MSDAINITIALIZE; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MSDAINITIALIZE, 0x2206cdb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29) +#endif +#endif + +/***************************************************************************** + * DataLinks coclass + */ + +DEFINE_GUID(CLSID_DataLinks, 0x2206cdb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29); + +#ifdef __cplusplus +class DECLSPEC_UUID("2206cdb2-19c1-11d1-89e0-00c04fd7a829") DataLinks; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DataLinks, 0x2206cdb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msdasc_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdasc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdasc.idl new file mode 100644 index 0000000..6a904ba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msdasc.idl @@ -0,0 +1,144 @@ +/* + * Copyright (C) 2012 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "oledb.idl"; + +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +typedef LONG_PTR COMPATIBLE_LONG; + +[ + uuid(2206CEB0-19C1-11D1-89E0-00C04FD7A829), + version(1.0) +] +library MSDASC +{ + importlib("stdole2.tlb"); + + typedef DWORD DBPROMPTOPTIONS; + + typedef enum tagDBPROMPTOPTIONSENUM + { + DBPROMPTOPTIONS_NONE = 0x00, + DBPROMPTOPTIONS_WIZARDSHEET = 0x01, + DBPROMPTOPTIONS_PROPERTYSHEET = 0x02, + DBPROMPTOPTIONS_BROWSEONLY = 0x08, + DBPROMPTOPTIONS_DISABLE_PROVIDER_SELECTION = 0x10, + DBPROMPTOPTIONS_DISABLESAVEPASSWORD = 0x20 + } DBPROMPTOPTIONSENUM; + + [ + odl, + uuid(2206CCB2-19C1-11D1-89E0-00C04FD7A829), + helpstring("OLE DB Service Component Automation Interface"), + dual, + oleautomation + ] + interface IDataSourceLocator : IDispatch + { + [id(0x60020000), propget] + HRESULT hWnd([out, retval] COMPATIBLE_LONG* phwndParent); + + [id(0x60020000), propput] + HRESULT hWnd([in] COMPATIBLE_LONG hwndParent); + + [id(0x60020002), helpstring("PromptNew")] + HRESULT PromptNew([out, retval] IDispatch** ppADOConnection); + + [id(0x60020003), helpstring("PromptEdit")] + HRESULT PromptEdit([in, out] IDispatch** ppADOConnection, [out, retval] VARIANT_BOOL* pbSuccess); + } + + [ + odl, + uuid(2206CCB0-19C1-11D1-89E0-00C04FD7A829), + restricted + ] + interface IDBPromptInitialize : IUnknown + { + HRESULT _stdcall PromptDataSource([in] IUnknown* pUnkOuter, [in] HWND hWndParent, + [in] DBPROMPTOPTIONS dwPromptOptions, [in] ULONG cSourceTypeFilter, + [in] DBSOURCETYPE* rgSourceTypeFilter, [in] LPWSTR pwszszzProviderFilter, + [in] GUID* riid, [in, out] IUnknown** ppDataSource); + + HRESULT _stdcall PromptFileName([in] HWND hWndParent, [in] ULONG dwPromptOptions, + [in] LPWSTR pwszInitialDirectory, [in] LPWSTR pwszInitialFile, [out] LPWSTR* ppwszSelectedFile); + } + + [ + uuid(2206CCB1-19C1-11D1-89E0-00C04FD7A829), + ] + interface IDataInitialize : IUnknown + { + HRESULT GetDataSource([in] IUnknown* pUnkOuter, [in] DWORD dwClsCtx, + [in] LPWSTR pwszInitializationString, [in] REFIID riid, + [in, out] IUnknown** ppDataSource); + + HRESULT GetInitializationString([in] IUnknown* pDataSource, [in] boolean fIncludePassword, + [out] LPWSTR* ppwszInitString); + + HRESULT CreateDBInstance([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter, + [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, + [in] REFIID riid, [out] IUnknown** ppDataSource); + + [local] + HRESULT CreateDBInstanceEx([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter, + [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo, + [in] DWORD cmq, [in, out, size_is(cmq)] MULTI_QI *results); + + [call_as(CreateDBInstanceEx)] + HRESULT RemoteCreateDBInstanceEx([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter, + [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo, + [in] DWORD cmq, [in, size_is(cmq)] const IID **iids, [out, size_is(cmq)] IUnknown **ifs, + [out, size_is(cmq)] HRESULT *hr); + + HRESULT LoadStringFromStorage([in] LPWSTR pwszFileName, [out] LPWSTR* ppwszInitializationString); + + HRESULT WriteStringToStorage([in] LPWSTR pwszFileName, [in] LPWSTR pwszInitializationString, + [in] DWORD dwCreationDisposition); + } + + [ + uuid(2206CDB0-19C1-11D1-89E0-00C04FD7A829), + threading(both), + progid("MSDASC.MSDAINITIALIZE.1"), + vi_progid("MSDASC.MSDAINITIALIZE"), + ] + coclass MSDAINITIALIZE + { + [default] interface IDataInitialize; + } + + [ + uuid(2206CDB2-19C1-11D1-89E0-00C04FD7A829), + threading(both), + progid("DataLinks") + ] + coclass DataLinks + { + [default] interface IDataSourceLocator; + interface IDBPromptInitialize; + interface IDataInitialize; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmcid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmcid.h new file mode 100644 index 0000000..3213169 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmcid.h @@ -0,0 +1,425 @@ +/* + * Copyright 2006 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __mshtmcid_h__ +#define __mshtmcid_h__ + +#define IDM_UNKNOWN 0 +#define IDM_ALIGNBOTTOM 1 +#define IDM_ALIGNHORIZONTALCENTERS 2 +#define IDM_ALIGNLEFT 3 +#define IDM_ALIGNRIGHT 4 +#define IDM_ALIGNTOGRID 5 +#define IDM_ALIGNTOP 6 +#define IDM_ALIGNVERTICALCENTERS 7 +#define IDM_ARRANGEBOTTOM 8 +#define IDM_ARRANGERIGHT 9 +#define IDM_BRINGFORWARD 10 +#define IDM_BRINGTOFRONT 11 +#define IDM_CENTERHORIZONTALLY 12 +#define IDM_CENTERVERTICALLY 13 +#define IDM_CODE 14 +#define IDM_COPY 15 +#define IDM_CUT 16 +#define IDM_DELETE 17 +#define IDM_FONTNAME 18 +#define IDM_FONTSIZE 19 +#define IDM_GROUP 20 +#define IDM_HORIZSPACECONCATENATE 21 +#define IDM_HORIZSPACEDECREASE 22 +#define IDM_HORIZSPACEINCREASE 23 +#define IDM_HORIZSPACEMAKEEQUAL 24 +#define IDM_INSERTOBJECT 25 +#define IDM_PASTE 26 +#define IDM_PRINT 27 +#define IDM_PROPERTIES 28 +#define IDM_REDO 29 +#define IDM_MULTILEVELREDO 30 +#define IDM_SELECTALL 31 +#define IDM_SENDBACKWARD 32 +#define IDM_SENDTOBACK 33 +#define IDM_SHOWTABLE 34 +#define IDM_SIZETOCONTROL 35 +#define IDM_SIZETOCONTROLHEIGHT 36 +#define IDM_SIZETOCONTROLWIDTH 37 +#define IDM_SIZETOFIT 38 +#define IDM_SIZETOGRID 39 +#define IDM_SNAPTOGRID 40 +#define IDM_TABORDER 41 +#define IDM_TOOLBOX 42 +#define IDM_UNDO 43 +#define IDM_MULTILEVELUNDO 44 +#define IDM_UNGROUP 45 +#define IDM_VERTSPACECONCATENATE 46 +#define IDM_VERTSPACEDECREASE 47 +#define IDM_VERTSPACEINCREASE 48 +#define IDM_VERTSPACEMAKEEQUAL 49 +#define IDM_JUSTIFYFULL 50 +#define IDM_ZOOMPERCENT 50 +#define IDM_BACKCOLOR 51 +#define IDM_BOLD 52 +#define IDM_BORDERCOLOR 53 +#define IDM_FLAT 54 +#define IDM_FORECOLOR 55 +#define IDM_ITALIC 56 +#define IDM_JUSTIFYCENTER 57 +#define IDM_JUSTIFYGENERAL 58 +#define IDM_JUSTIFYLEFT 59 +#define IDM_JUSTIFYRIGHT 60 +#define IDM_RAISED 61 +#define IDM_SUNKEN 62 +#define IDM_UNDERLINE 63 +#define IDM_CHISELED 64 +#define IDM_ETCHED 65 +#define IDM_SHADOWED 66 +#define IDM_FIND 67 +#define IDM_GETZOOM 68 +#define IDM_SHOWGRID 69 +#define IDM_SAVE 70 +#define IDM_SAVEAS 71 +#define IDM_OBJECTVERBLIST0 72 +#define IDM_OBJECTVERBLIST1 73 +#define IDM_OBJECTVERBLIST2 74 +#define IDM_OBJECTVERBLIST3 75 +#define IDM_OBJECTVERBLIST4 76 +#define IDM_OBJECTVERBLIST5 77 +#define IDM_OBJECTVERBLIST6 78 +#define IDM_OBJECTVERBLIST7 79 +#define IDM_OBJECTVERBLIST8 80 +#define IDM_OBJECTVERBLIST9 81 + +#define IDM_OBJECTVERBLISTLAST IDM_OBJECTVERBLIST9 + +#define IDM_CONVERTOBJECT 82 +#define IDM_CUSTOMCONTROL 83 +#define IDM_CUSTOMIZEITEM 84 +#define IDM_RENAME 85 +#define IDM_IMPORT 86 +#define IDM_NEWPAGE 87 +#define IDM_MOVE 88 +#define IDM_CANCEL 89 +#define IDM_FONT 90 +#define IDM_STRIKETHROUGH 91 +#define IDM_DELETEWORD 92 +#define IDM_EXECPRINT 93 +#define IDM_JUSTIFYNONE 94 +#define IDM_TRISTATEBOLD 95 +#define IDM_TRISTATEITALIC 96 +#define IDM_TRISTATEUNDERLINE 97 + +#define IDM_OPEN 2000 +#define IDM_NEW 2001 +#define IDM_SAVECOPYAS 2002 +#define IDM_PRINTPREVIEW 2003 +#define IDM_PAGESETUP 2004 +#define IDM_SPELL 2005 +#define IDM_PASTESPECIAL 2006 +#define IDM_CLEARSELECTION 2007 +#define IDM_FOLLOW_ANCHOR 2008 + +#define IDM_SHOWPRINT 2010 +#define IDM_SHOWPAGESETUP 2011 + +#define IDM_INSINPUTIMAGE 2114 +#define IDM_INSINPUTBUTTON 2115 +#define IDM_INSINPUTRESET 2116 +#define IDM_INSINPUTSUBMIT 2117 +#define IDM_INSINPUTUPLOAD 2118 +#define IDM_INSFIELDSET 2119 +#define IDM_PASTEINSERT 2120 +#define IDM_REPLACE 2121 +#define IDM_EDITSOURCE 2122 +#define IDM_BOOKMARK 2123 +#define IDM_HYPERLINK 2124 +#define IDM_UNLINK 2125 +#define IDM_BROWSEMODE 2126 +#define IDM_EDITMODE 2127 +#define IDM_UNBOOKMARK 2128 + +#define IDM_TOOLBARS 2130 +#define IDM_STATUSBAR 2131 +#define IDM_FORMATMARK 2132 +#define IDM_TEXTONLY 2133 + +#define IDM_OPTIONS 2135 +#define IDM_FOLLOWLINKC 2136 +#define IDM_FOLLOWLINKN 2137 +#define IDM_STOP 2138 +#define IDM_VIEWSOURCE 2139 +#define IDM_ZOOMPOPUP 2140 +#define IDM_BASELINEFONT1 2141 +#define IDM_BASELINEFONT2 2142 +#define IDM_BASELINEFONT3 2143 +#define IDM_BASELINEFONT4 2144 +#define IDM_BASELINEFONT5 2145 + +#define IDM_HORIZONTALLINE 2150 +#define IDM_LINEBREAKNORMAL 2151 +#define IDM_LINEBREAKLEFT 2152 +#define IDM_LINEBREAKRIGHT 2153 +#define IDM_LINEBREAKBOTH 2154 +#define IDM_NONBREAK 2155 +#define IDM_SPECIALCHAR 2156 +#define IDM_HTMLSOURCE 2157 +#define IDM_IFRAME 2158 +#define IDM_HTMLCONTAIN 2159 + +#define IDM_TEXTBOX 2161 +#define IDM_TEXTAREA 2162 +#define IDM_CHECKBOX 2163 +#define IDM_RADIOBUTTON 2164 +#define IDM_DROPDOWNBOX 2165 +#define IDM_LISTBOX 2166 +#define IDM_BUTTON 2167 +#define IDM_IMAGE 2168 +#define IDM_OBJECT 2169 +#define IDM_1D 2170 +#define IDM_IMAGEMAP 2171 +#define IDM_FILE 2172 +#define IDM_COMMENT 2173 +#define IDM_SCRIPT 2174 +#define IDM_JAVAAPPLET 2175 +#define IDM_PLUGIN 2176 +#define IDM_PAGEBREAK 2177 +#define IDM_HTMLAREA 2178 + +#define IDM_PARAGRAPH 2180 +#define IDM_FORM 2181 +#define IDM_MARQUEE 2182 +#define IDM_LIST 2183 +#define IDM_ORDERLIST 2184 +#define IDM_UNORDERLIST 2185 +#define IDM_INDENT 2186 +#define IDM_OUTDENT 2187 +#define IDM_PREFORMATTED 2188 +#define IDM_ADDRESS 2189 +#define IDM_BLINK 2190 +#define IDM_DIV 2191 + +#define IDM_TABLEINSERT 2200 +#define IDM_RCINSERT 2201 +#define IDM_CELLINSERT 2202 +#define IDM_CAPTIONINSERT 2203 +#define IDM_CELLMERGE 2204 +#define IDM_CELLSPLIT 2205 +#define IDM_CELLSELECT 2206 +#define IDM_ROWSELECT 2207 +#define IDM_COLUMNSELECT 2208 +#define IDM_TABLESELECT 2209 +#define IDM_TABLEPROPERTIES 2210 +#define IDM_CELLPROPERTIES 2211 +#define IDM_ROWINSERT 2212 +#define IDM_COLUMNINSERT 2213 + +#define IDM_HELP_CONTENT 2220 +#define IDM_HELP_ABOUT 2221 +#define IDM_HELP_README 2222 + +#define IDM_REMOVEFORMAT 2230 +#define IDM_PAGEINFO 2231 +#define IDM_TELETYPE 2232 +#define IDM_GETBLOCKFMTS 2233 +#define IDM_BLOCKFMT 2234 +#define IDM_SHOWHIDE_CODE 2235 +#define IDM_TABLE 2236 +#define IDM_COPYFORMAT 2237 +#define IDM_PASTEFORMAT 2238 +#define IDM_GOTO 2239 +#define IDM_CHANGEFONT 2240 +#define IDM_CHANGEFONTSIZE 2241 + +#define IDM_CHANGECASE 2246 +#define IDM_SUBSCRIPT 2247 +#define IDM_SUPERSCRIPT 2248 +#define IDM_SHOWSPECIALCHAR 2249 +#define IDM_CENTERALIGNPARA 2250 +#define IDM_LEFTALIGNPARA 2251 +#define IDM_RIGHTALIGNPARA 2252 +#define IDM_REMOVEPARAFORMAT 2253 +#define IDM_APPLYNORMAL 2254 +#define IDM_APPLYHEADING1 2255 +#define IDM_APPLYHEADING2 2256 +#define IDM_APPLYHEADING3 2257 + +#define IDM_DOCPROPERTIES 2260 +#define IDM_ADDFAVORITES 2261 +#define IDM_COPYSHORTCUT 2262 +#define IDM_SAVEBACKGROUND 2263 +#define IDM_SETWALLPAPER 2264 +#define IDM_COPYBACKGROUND 2265 +#define IDM_CREATESHORTCUT 2266 +#define IDM_PAGE 2267 +#define IDM_SAVETARGET 2268 +#define IDM_SHOWPICTURE 2269 +#define IDM_SAVEPICTURE 2270 +#define IDM_DYNSRCPLAY 2271 +#define IDM_DYNSRCSTOP 2272 +#define IDM_PRINTTARGET 2273 +#define IDM_IMGARTPLAY 2274 +#define IDM_IMGARTSTOP 2275 +#define IDM_IMGARTREWIND 2276 +#define IDM_PRINTQUERYJOBSPENDING 2277 +#define IDM_SETDESKTOPITEM 2278 + +#define IDM_CONTEXTMENU 2280 + +#define IDM_GOBACKWARD 2282 +#define IDM_GOFORWARD 2283 +#define IDM_PRESTOP 2284 + +#define IDM_MP_MYPICS 2287 +#define IDM_MP_EMAILPICTURE 2288 +#define IDM_MP_PRINTPICTURE 2289 +#define IDM_CREATELINK 2290 +#define IDM_COPYCONTENT 2291 +#define IDM_LANGUAGE 2292 + +#define IDM_GETPRINTTEMPLATE 2295 +#define IDM_SETPRINTTEMPLATE 2296 +#define IDM_TEMPLATE_PAGESETUP 2298 + +#define IDM_REFRESH 2300 +#define IDM_STOPDOWNLOAD 2301 +#define IDM_ENABLE_INTERACTION 2302 + +#define IDM_LAUNCHDEBUGGER 2310 +#define IDM_BREAKATNEXT 2311 +#define IDM_INSINPUTHIDDEN 2312 +#define IDM_INSINPUTPASSWORD 2313 +#define IDM_OVERWRITE 2314 +#define IDM_PARSECOMPLETE 2315 +#define IDM_HTMLEDITMODE 2316 +#define IDM_REGISTRYREFRESH 2317 +#define IDM_COMPOSESETTINGS 2318 + +#define IDM_SHOWMISCTAGS 2320 +#define IDM_SHOWALIGNEDSITETAGS 2321 +#define IDM_SHOWSCRIPTTAGS 2322 +#define IDM_SHOWSTYLETAGS 2323 +#define IDM_SHOWCOMMENTTAGS 2324 +#define IDM_SHOWAREATAGS 2325 +#define IDM_SHOWUNKNOWNTAGS 2326 +#define IDM_SHOWALLTAGS 2327 +#define IDM_SHOWZEROBORDERATDESIGNTIME 2328 +#define IDM_AUTODETECT 2329 +#define IDM_SCRIPTDEBUGGER 2330 +#define IDM_GETBYTESDOWNLOADED 2331 +#define IDM_NOACTIVATENORMALOLECONTROLS 2332 +#define IDM_NOACTIVATEDESIGNTIMECONTROLS 2333 +#define IDM_NOACTIVATEJAVAAPPLETS 2334 +#define IDM_NOFIXUPURLSONPASTE 2335 +#define IDM_EMPTYGLYPHTABLE 2336 +#define IDM_ADDTOGLYPHTABLE 2337 +#define IDM_REMOVEFROMGLYPHTABLE 2338 +#define IDM_REPLACEGLYPHCONTENTS 2339 +#define IDM_SHOWWBRTAGS 2340 +#define IDM_PERSISTSTREAMSYNC 2341 +#define IDM_SETDIRTY 2342 +#define IDM_RUNURLSCRIPT 2343 + +#ifdef IE5_ZOOM +#define IDM_ZOOMRATIO 2344 +#define IDM_GETZOOMNUMERATOR 2345 +#define IDM_GETZOOMDENOMINATOR 2346 +#endif + +#define IDM_DIRLTR 2350 +#define IDM_DIRRTL 2351 +#define IDM_BLOCKDIRLTR 2352 +#define IDM_BLOCKDIRRTL 2353 +#define IDM_INLINEDIRLTR 2354 +#define IDM_INLINEDIRRTL 2355 +#define IDM_ISTRUSTEDDLG 2356 +#define IDM_INSERTSPAN 2357 +#define IDM_LOCALIZEEDITOR 2358 + +#define IDM_SAVEPRETRANSFORMSOURCE 2370 +#define IDM_VIEWPRETRANSFORMSOURCE 2371 + +#define IDM_SCROLL_HERE 2380 +#define IDM_SCROLL_TOP 2381 +#define IDM_SCROLL_BOTTOM 2382 +#define IDM_SCROLL_PAGEUP 2383 +#define IDM_SCROLL_PAGEDOWN 2384 +#define IDM_SCROLL_UP 2385 +#define IDM_SCROLL_DOWN 2386 +#define IDM_SCROLL_LEFTEDGE 2387 +#define IDM_SCROLL_RIGHTEDGE 2388 +#define IDM_SCROLL_PAGELEFT 2389 +#define IDM_SCROLL_PAGERIGHT 2390 +#define IDM_SCROLL_LEFT 2391 +#define IDM_SCROLL_RIGHT 2392 +#define IDM_MULTIPLESELECTION 2393 +#define IDM_2D_POSITION 2394 +#define IDM_2D_ELEMENT 2395 +#define IDM_1D_ELEMENT 2396 +#define IDM_ABSOLUTE_POSITION 2397 +#define IDM_LIVERESIZE 2398 +#define IDM_ATOMICSELECTION 2399 +#define IDM_AUTOURLDETECT_MODE 2400 +#define IDM_IE50_PASTE 2401 +#define IDM_IE50_PASTE_MODE 2402 +#define IDM_GETIPRINT 2403 +#define IDM_DISABLE_EDITFOCUS_UI 2404 +#define IDM_RESPECTVISIBILITY_INDESIGN 2405 +#define IDM_CSSEDITING_LEVEL 2406 +#define IDM_UI_OUTDENT 2407 +#define IDM_UPDATEPAGESTATUS 2408 +#define IDM_IME_ENABLE_RECONVERSION 2409 +#define IDM_KEEPSELECTION 2410 +#define IDM_UNLOADDOCUMENT 2411 + +#define IDM_OVERRIDE_CURSOR 2420 + +#define IDM_PEERHITTESTSAMEINEDIT 2423 + +#define IDM_TRUSTAPPCACHE 2425 + +#define IDM_BACKGROUNDIMAGECACHE 2430 + +#define IDM_MIMECSET__FIRST_ 3609 +#define IDM_MIMECSET__LAST__ 3699 + +#define IDM_MENUEXT_FIRST__ 3700 +#define IDM_MENUEXT_LAST__ 3732 +#define IDM_MENUEXT_COUNT 3733 + +#define IDM_DEFAULTBLOCK 6046 + +#define IDM_NEW_TOPLEVELWINDOW 7050 + +#define IDM_PRESERVEUNDOALWAYS 6049 +#define IDM_PERSISTDEFAULTVALUES 7100 +#define IDM_PROTECTMETATAGS 7101 + +#define IDM_GETFRAMEZONE 6037 + +#define IDM_FIRE_PRINTTEMPLATEUP 15000 +#define IDM_FIRE_PRINTTEMPLATEDOWN 15001 +#define IDM_SETPRINTHANDLES 15002 + +#define CMD_ZOOM_PAGEWIDTH -1 +#define CMD_ZOOM_ONEPAGE -2 +#define CMD_ZOOM_TWOPAGES -3 +#define CMD_ZOOM_SELECTION -4 +#define CMD_ZOOM_FIT -5 + +#define IDM_CONTEXT 1 +#define IDM_HWND 2 + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmdid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmdid.h new file mode 100644 index 0000000..5423216 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmdid.h @@ -0,0 +1,3525 @@ +/* + * Copyright 2004,2006 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __MSHTMDID_H__ +#define __MSHTMDID_H__ + +#define DISPID_NORMAL_FIRST 1000 +#define DISPID_IE8_NORMAL_FIRST (DISPID_NORMAL_FIRST+150) + +#define DISPID_OMDOCUMENT DISPID_NORMAL_FIRST +#define DISPID_DATATRANSFER DISPID_NORMAL_FIRST +#define DISPID_ANCHOR DISPID_NORMAL_FIRST +#define DISPID_BLOCK DISPID_NORMAL_FIRST +#define DISPID_BR DISPID_NORMAL_FIRST +#define DISPID_BGSOUND DISPID_NORMAL_FIRST +#define DISPID_DD DISPID_NORMAL_FIRST +#define DISPID_DIR DISPID_NORMAL_FIRST +#define DISPID_DIV DISPID_NORMAL_FIRST +#define DISPID_DL DISPID_NORMAL_FIRST +#define DISPID_DT DISPID_NORMAL_FIRST +#define DISPID_EFONT DISPID_NORMAL_FIRST +#define DISPID_FORM DISPID_NORMAL_FIRST +#define DISPID_HEADER DISPID_NORMAL_FIRST +#define DISPID_HEDELEMS DISPID_NORMAL_FIRST +#define DISPID_HR DISPID_NORMAL_FIRST +#define DISPID_LABEL DISPID_NORMAL_FIRST +#define DISPID_LI DISPID_NORMAL_FIRST +#define DISPID_IMGBASE DISPID_NORMAL_FIRST +#define DISPID_MENU DISPID_NORMAL_FIRST +#define DISPID_OL DISPID_NORMAL_FIRST +#define DISPID_PARA DISPID_NORMAL_FIRST +#define DISPID_SELECT DISPID_NORMAL_FIRST +#define DISPID_SELECTOBJ DISPID_NORMAL_FIRST +#define DISPID_TABLE DISPID_NORMAL_FIRST +#define DISPID_TEXTSITE DISPID_NORMAL_FIRST +#define DISPID_UL DISPID_NORMAL_FIRST +#define DISPID_PHRASE DISPID_NORMAL_FIRST +#define DISPID_UNKNOWNPDL DISPID_NORMAL_FIRST +#define DISPID_COMMENTPDL DISPID_NORMAL_FIRST +#define DISPID_RANGE DISPID_NORMAL_FIRST +#define DISPID_SELECTION DISPID_NORMAL_FIRST +#define DISPID_OPTION DISPID_NORMAL_FIRST +#define DISPID_RANGE DISPID_NORMAL_FIRST +#define DISPID_SELECTION DISPID_NORMAL_FIRST +#define DISPID_OPTION DISPID_NORMAL_FIRST +#define DISPID_RANGE DISPID_NORMAL_FIRST +#define DISPID_SELECTION DISPID_NORMAL_FIRST +#define DISPID_OPTION DISPID_NORMAL_FIRST +#define DISPID_RANGE DISPID_NORMAL_FIRST +#define DISPID_SELECTION DISPID_NORMAL_FIRST +#define DISPID_OPTION DISPID_NORMAL_FIRST +#define DISPID_RANGE DISPID_NORMAL_FIRST +#define DISPID_SELECTION DISPID_NORMAL_FIRST +#define DISPID_OPTION DISPID_NORMAL_FIRST +#define DISPID_MAP DISPID_NORMAL_FIRST +#define DISPID_AREA DISPID_NORMAL_FIRST +#define DISPID_PARAM DISPID_NORMAL_FIRST +#define DISPID_TABLESECTION DISPID_NORMAL_FIRST +#define DISPID_TABLEROW DISPID_NORMAL_FIRST +#define DISPID_TABLECOL DISPID_NORMAL_FIRST +#define DISPID_SCRIPT DISPID_NORMAL_FIRST +#define DISPID_STYLESHEET DISPID_NORMAL_FIRST +#define DISPID_STYLERULE DISPID_NORMAL_FIRST +#define DISPID_STYLEPAGE DISPID_NORMAL_FIRST +#define DISPID_STYLESHEETS_COL DISPID_NORMAL_FIRST +#define DISPID_STYLERULES_COL DISPID_NORMAL_FIRST +#define DISPID_STYLEPAGES_COL DISPID_NORMAL_FIRST +#define DISPID_MIMETYPES_COL DISPID_NORMAL_FIRST +#define DISPID_PLUGINS_COL DISPID_NORMAL_FIRST +#define DISPID_2D DISPID_NORMAL_FIRST +#define DISPID_OMWINDOW DISPID_NORMAL_FIRST +#define DISPID_EVENTOBJ DISPID_NORMAL_FIRST +#define DISPID_OLESITE DISPID_NORMAL_FIRST +#define DISPID_FRAMESET DISPID_NORMAL_FIRST +#define DISPID_LINK DISPID_NORMAL_FIRST +#define DISPID_STYLEELEMENT DISPID_NORMAL_FIRST +#define DISPID_FILTERS DISPID_NORMAL_FIRST +#define DISPID_TABLESECTION DISPID_NORMAL_FIRST +#define DISPID_OMRECT DISPID_NORMAL_FIRST +#define DISPID_OMDOCUMENT DISPID_NORMAL_FIRST +#define DISPID_SCREEN DISPID_NORMAL_FIRST +#define DISPID_DOMATTRIBUTE DISPID_NORMAL_FIRST +#define DISPID_DOMTEXTNODE DISPID_NORMAL_FIRST +#define DISPID_GENERIC DISPID_NORMAL_FIRST +#define DISPID_URN_COLL DISPID_NORMAL_FIRST +#define DISPID_NAMESPACE_COLLECTION DISPID_NORMAL_FIRST +#define DISPID_NAMESPACE DISPID_NORMAL_FIRST +#define DISPID_TAGNAMES_COLLECTION DISPID_NORMAL_FIRST +#define DISPID_XMLHTTPREQUEST DISPID_NORMAL_FIRST +#define DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION DISPID_NORMAL_FIRST +#define DISPID_DOCUMENTCOMPATIBLEINFO DISPID_NORMAL_FIRST +#define DISPID_XDOMAINREQUEST DISPID_NORMAL_FIRST +#define DISPID_DOMSTORAGEITEM DISPID_NORMAL_FIRST +#define DISPID_DOMSTORAGE DISPID_NORMAL_FIRST +#define DISPID_DOMSTORAGELIST DISPID_NORMAL_FIRST +#define DISPID_RULESAPPLIED DISPID_NORMAL_FIRST +#define DISPID_RULESAPPLIED_COLLECTION DISPID_NORMAL_FIRST +#define DISPID_STYLESHEETRULESAPPLIED_COLLECTION DISPID_NORMAL_FIRST +#define DISPID_PROCESSINGINSTRUCTION DISPID_NORMAL_FIRST +#define DISPID_HTMLSELECTION DISPID_NORMAL_FIRST +#define DISPID_DOMRANGE DISPID_NORMAL_FIRST + +#define DISPID_DOMEVENT DISPID_NORMAL_FIRST +#define DISPID_DOMUIEVENT (DISPID_DOMEVENT+25) +#define DISPID_DOMMOUSEEVENT (DISPID_DOMUIEVENT+25) +#define DISPID_DOMMOUSEWHEELEVENT (DISPID_DOMMOUSEEVENT+25) +#define DISPID_DOMWHEELEVENT (DISPID_DOMMOUSEWHEELEVENT+25) +#define DISPID_DOMTEXTEVENT (DISPID_DOMWHEELEVENT+25) +#define DISPID_DOMKEYBOARDEVENT (DISPID_DOMTEXTEVENT+25) +#define DISPID_DOMCOMPOSITIONEVENT (DISPID_DOMKEYBOARDEVENT+25) +#define DISPID_DOMCUSTOMEVENT (DISPID_DOMCOMPOSITIONEVENT+25) +#define DISPID_DOMMUTATIONEVENT (DISPID_DOMCUSTOMEVENT+25) +#define DISPID_DOMFOCUSEVENT (DISPID_DOMMUTATIONEVENT+25) +#define DISPID_SVGZOOMEVENT (DISPID_DOMFOCUSEVENT+25) +#define DISPID_DOMSITEMODEEVENT (DISPID_SVGZOOMEVENT+25) +#define DISPID_DOMMESSAGEEVENT (DISPID_DOMSITEMODEEVENT+25) +#define DISPID_DOMSTORAGEEVENT (DISPID_DOMMESSAGEEVENT+25) +#define DISPID_DOMBEFOREUNLOADEVENT (DISPID_DOMSTORAGEEVENT+25) +#define DISPID_DOMDRAGEVENT (DISPID_DOMBEFOREUNLOADEVENT+25) + +#define DISPID_DOMIMPLEMENTATION DISPID_NORMAL_FIRST +#define DISPID_DOCUMENTCOMPATIBLEINFO DISPID_NORMAL_FIRST +#define DISPID_DOCUMENTCOMPATIBLEINFOCOLLECTION DISPID_NORMAL_FIRST + +#define DISPID_IE8_ANCHOR DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_AREA DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_BASE DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_BODY DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_FORM DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_HEAD DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_IMG DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_INPUT DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_LINK DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_MOD DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_SCRIPT DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_ATTR DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_NAMEDNODEMAP DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_COLLECTION DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_PARAM DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_EMBED DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_BLOCK DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_META DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_STYLE DISPID_IE8_NORMAL_FIRST +#define DISPID_IE8_SELECT DISPID_IE8_NORMAL_FIRST + +#define DISPID_IE8_ELEMENTBASE (DISPID_ELEMENT+200) +#define DISPID_IE8_ELEMENTMAX (DISPID_SITE-1) +#define DISPID_IE8_ELEMENT DISPID_IE8_ELEMENTBASE + +#define DISPID_IE8_FRAMESITEBASE (DISPID_FRAMESITE+1120) +#define DISPID_IE8_FRAMEMAX (WEBOC_DISPIDBASE-1) +#define DISPID_IE8_FRAME DISPID_IE8_FRAMESITEBASE +#define DISPID_IE8_IFRAME DISPID_IE8_FRAMESITEBASE + +#define DISPID_IE8_OBJECTBASE (DISPID_OBJECT+30) +#define DISPID_IE8_OBJECTMAX (DISPID_STYLE-1) +#define DISPID_IE8_OBJECT DISPID_IE8_OBJECTBASE + +#define DISPID_IE9_ELEMENTBASE (DISPID_IE8_ELEMENTMAX + 10) +#define DISPID_IE9_ELEMENTMAX (DISPID_IE9_ELEMENTBASE + 35) +#define DISPID_IE9_ELEMENT DISPID_IE9_ELEMENTBASE + +#define DISPID_COLLECTION (DISPID_NORMAL_FIRST+500) +#define DISPID_OPTIONS_COL (DISPID_NORMAL_FIRST+500) +#define DISPID_IMG (DISPID_IMGBASE+1000) +#define DISPID_INPUTIMAGE (DISPID_IMGBASE+1000) +#define DISPID_INPUT (DISPID_TEXTSITE+1000) +#define DISPID_TABLECELL (DISPID_TEXTSITE+1000) +#define DISPID_1D (DISPID_TEXTSITE+1000) +#define DISPID_BODY (DISPID_TEXTSITE+1000) +#define DISPID_INPUTTEXTBASE (DISPID_INPUT+1000) +#define DISPID_INPUTTEXT (DISPID_INPUTTEXTBASE+1000) +#define DISPID_TEXTAREA (DISPID_INPUTTEXT+1000) +#define DISPID_MARQUEE (DISPID_TEXTAREA+1000) +#define DISPID_RICHTEXT (DISPID_MARQUEE+1000) +#define DISPID_BUTTON (DISPID_RICHTEXT+1000) + +#define DISPID_XOBJ_MIN 0x80010000 +#define DISPID_XOBJ_MAX 0x8001FFFF +#define DISPID_XOBJ_BASE DISPID_XOBJ_MIN +#define DISPID_HTMLOBJECT (DISPID_XOBJ_BASE+500) +#define DISPID_ELEMENT (DISPID_HTMLOBJECT+500) +#define DISPID_SITE (DISPID_ELEMENT+1000) +#define DISPID_OBJECT (DISPID_SITE+1000) +#define DISPID_STYLE (DISPID_OBJECT+1000) +#define DISPID_ATTRS (DISPID_STYLE+1000) +#define DISPID_EVENTS (DISPID_ATTRS+1000) +#define DISPID_XOBJ_EXPANDO (DISPID_EVENTS+1000) +#define DISPID_XOBJ_ORDINAL (DISPID_XOBJ_EXPANDO+1000) +#define DISPID_RADIO (DISPID_CHECKBOX+1000) +#define DISPID_FRAMESITE (DISPID_SITE+1000) +#define DISPID_FRAME (DISPID_FRAMESITE+1000) +#define DISPID_IFRAME (DISPID_FRAMESITE+1000) + +#define DISPID_WINDOW 1 +#define DISPID_HISTORY 1 +#define DISPID_LOCATION 1 +#define DISPID_NAVIGATOR 1 + +#define STDPROPID_XOBJ_NAME (DISPID_XOBJ_BASE+0) +#define STDPROPID_XOBJ_INDEX (DISPID_XOBJ_BASE+1) +#define STDPROPID_XOBJ_BASEHREF (DISPID_XOBJ_BASE+2) +#define STDPROPID_XOBJ_LEFT (DISPID_XOBJ_BASE+3) +#define STDPROPID_XOBJ_TOP (DISPID_XOBJ_BASE+4) +#define STDPROPID_XOBJ_WIDTH (DISPID_XOBJ_BASE+5) +#define STDPROPID_XOBJ_HEIGHT (DISPID_XOBJ_BASE+6) +#define STDPROPID_XOBJ_VISIBLE (DISPID_XOBJ_BASE+7) +#define STDPROPID_XOBJ_PARENT (DISPID_XOBJ_BASE+8) +#define STDPROPID_XOBJ_DRAGMODE (DISPID_XOBJ_BASE+9) +#define STDPROPID_XOBJ_DRAGICON (DISPID_XOBJ_BASE+10) +#define STDPROPID_XOBJ_TAG (DISPID_XOBJ_BASE+11) +#define STDPROPID_XOBJ_TABSTOP (DISPID_XOBJ_BASE+14) +#define STDPROPID_XOBJ_TABINDEX (DISPID_XOBJ_BASE+15) +#define STDPROPID_XOBJ_HELPCONTEXTID (DISPID_XOBJ_BASE+50) +#define STDPROPID_XOBJ_DEFAULT (DISPID_XOBJ_BASE+55) +#define STDPROPID_XOBJ_CANCEL (DISPID_XOBJ_BASE+56) +#define STDPROPID_XOBJ_LEFTNORUN (DISPID_XOBJ_BASE+57) +#define STDPROPID_XOBJ_TOPNORUN (DISPID_XOBJ_BASE+58) +#define STDPROPID_XOBJ_ALIGNPERSIST (DISPID_XOBJ_BASE+60) +#define STDPROPID_XOBJ_LINKTIMEOUT (DISPID_XOBJ_BASE+61) +#define STDPROPID_XOBJ_LINKTOPIC (DISPID_XOBJ_BASE+62) +#define STDPROPID_XOBJ_LINKITEM (DISPID_XOBJ_BASE+63) +#define STDPROPID_XOBJ_LINKMODE (DISPID_XOBJ_BASE+64) +#define STDPROPID_XOBJ_DATACHANGED (DISPID_XOBJ_BASE+65) +#define STDPROPID_XOBJ_DATAFIELD (DISPID_XOBJ_BASE+66) +#define STDPROPID_XOBJ_DATASOURCE (DISPID_XOBJ_BASE+67) +#define STDPROPID_XOBJ_WHATSTHISHELPID (DISPID_XOBJ_BASE+68) +#define STDPROPID_XOBJ_CONTROLTIPTEXT (DISPID_XOBJ_BASE+69) +#define STDPROPID_XOBJ_STATUSBARTEXT (DISPID_XOBJ_BASE+70) +#define STDPROPID_XOBJ_APPLICATION (DISPID_XOBJ_BASE+71) +#define STDPROPID_XOBJ_BLOCKALIGN (DISPID_XOBJ_BASE+72) +#define STDPROPID_XOBJ_CONTROLALIGN (DISPID_XOBJ_BASE+73) +#define STDPROPID_XOBJ_STYLE (DISPID_XOBJ_BASE+74) +#define STDPROPID_XOBJ_COUNT (DISPID_XOBJ_BASE+75) +#define STDPROPID_XOBJ_DISABLED (DISPID_XOBJ_BASE+76) +#define STDPROPID_XOBJ_RIGHT (DISPID_XOBJ_BASE+77) +#define STDPROPID_XOBJ_BOTTOM (DISPID_XOBJ_BASE+78) + +#define STDDISPID_XOBJ_ONBLUR (DISPID_XOBJ_BASE+0) +#define STDDISPID_XOBJ_ONFOCUS (DISPID_XOBJ_BASE+1) +#define STDDISPID_XOBJ_BEFOREUPDATE (DISPID_XOBJ_BASE+4) +#define STDDISPID_XOBJ_AFTERUPDATE (DISPID_XOBJ_BASE+5) +#define STDDISPID_XOBJ_ONROWEXIT (DISPID_XOBJ_BASE+6) +#define STDDISPID_XOBJ_ONROWENTER (DISPID_XOBJ_BASE+7) +#define STDDISPID_XOBJ_ONMOUSEOVER (DISPID_XOBJ_BASE+8) +#define STDDISPID_XOBJ_ONMOUSEOUT (DISPID_XOBJ_BASE+9) +#define STDDISPID_XOBJ_ONHELP (DISPID_XOBJ_BASE+10) +#define STDDISPID_XOBJ_ONDRAGSTART (DISPID_XOBJ_BASE+11) +#define STDDISPID_XOBJ_ONSELECTSTART (DISPID_XOBJ_BASE+12) +#define STDDISPID_XOBJ_ERRORUPDATE (DISPID_XOBJ_BASE+13) +#define STDDISPID_XOBJ_ONDATASETCHANGED (DISPID_XOBJ_BASE+14) +#define STDDISPID_XOBJ_ONDATAAVAILABLE (DISPID_XOBJ_BASE+15) +#define STDDISPID_XOBJ_ONDATASETCOMPLETE (DISPID_XOBJ_BASE+16) +#define STDDISPID_XOBJ_ONFILTER (DISPID_XOBJ_BASE+17) +#define STDDISPID_XOBJ_ONLOSECAPTURE (DISPID_XOBJ_BASE+18) +#define STDDISPID_XOBJ_ONPROPERTYCHANGE (DISPID_XOBJ_BASE+19) +#define STDDISPID_XOBJ_ONDRAG (DISPID_XOBJ_BASE+20) +#define STDDISPID_XOBJ_ONDRAGEND (DISPID_XOBJ_BASE+21) +#define STDDISPID_XOBJ_ONDRAGENTER (DISPID_XOBJ_BASE+22) +#define STDDISPID_XOBJ_ONDRAGOVER (DISPID_XOBJ_BASE+23) +#define STDDISPID_XOBJ_ONDRAGLEAVE (DISPID_XOBJ_BASE+24) +#define STDDISPID_XOBJ_ONDROP (DISPID_XOBJ_BASE+25) +#define STDDISPID_XOBJ_ONCUT (DISPID_XOBJ_BASE+26) +#define STDDISPID_XOBJ_ONCOPY (DISPID_XOBJ_BASE+27) +#define STDDISPID_XOBJ_ONPASTE (DISPID_XOBJ_BASE+28) +#define STDDISPID_XOBJ_ONBEFORECUT (DISPID_XOBJ_BASE+29) +#define STDDISPID_XOBJ_ONBEFORECOPY (DISPID_XOBJ_BASE+30) +#define STDDISPID_XOBJ_ONBEFOREPASTE (DISPID_XOBJ_BASE+31) +#define STDDISPID_XOBJ_ONROWSDELETE (DISPID_XOBJ_BASE+32) +#define STDDISPID_XOBJ_ONROWSINSERTED (DISPID_XOBJ_BASE+33) +#define STDDISPID_XOBJ_ONCELLCHANGE (DISPID_XOBJ_BASE+34) + +#define DISPID_A_FIRST DISPID_ATTRS +#define DISPID_A_BACKGROUNDIMAGE (DISPID_A_FIRST+1) +#define DISPID_A_COLOR (DISPID_A_FIRST+2) +#define DISPID_A_TEXTTRANSFORM (DISPID_A_FIRST+4) +#define DISPID_A_NOWRAP (DISPID_A_FIRST+5) +#define DISPID_A_LINEHEIGHT (DISPID_A_FIRST+6) +#define DISPID_A_TEXTINDENT (DISPID_A_FIRST+7) +#define DISPID_A_LETTERSPACING (DISPID_A_FIRST+8) +#define DISPID_A_LANG (DISPID_A_FIRST+9) +#define DISPID_A_OVERFLOW (DISPID_A_FIRST+10) +#define DISPID_A_PADDING (DISPID_A_FIRST+11) +#define DISPID_A_PADDINGTOP (DISPID_A_FIRST+12) +#define DISPID_A_PADDINGRIGHT (DISPID_A_FIRST+13) +#define DISPID_A_PADDINGBOTTOM (DISPID_A_FIRST+14) +#define DISPID_A_PADDINGLEFT (DISPID_A_FIRST+15) +#define DISPID_A_CLEAR (DISPID_A_FIRST+16) +#define DISPID_A_LISTTYPE (DISPID_A_FIRST+17) +#define DISPID_A_FONTFACE (DISPID_A_FIRST+18) +#define DISPID_A_FONTSIZE (DISPID_A_FIRST+19) +#define DISPID_A_TEXTDECORATIONLINETHROUGH (DISPID_A_FIRST+20) +#define DISPID_A_TEXTDECORATIONUNDERLINE (DISPID_A_FIRST+21) +#define DISPID_A_TEXTDECORATIONBLINK (DISPID_A_FIRST+22) +#define DISPID_A_TEXTDECORATIONNONE (DISPID_A_FIRST+23) +#define DISPID_A_FONTSTYLE (DISPID_A_FIRST+24) +#define DISPID_A_FONTVARIANT (DISPID_A_FIRST+25) +#define DISPID_A_BASEFONT (DISPID_A_FIRST+26) +#define DISPID_A_FONTWEIGHT (DISPID_A_FIRST+27) +#define DISPID_A_TABLEBORDERCOLOR (DISPID_A_FIRST+28) +#define DISPID_A_TABLEBORDERCOLORLIGHT (DISPID_A_FIRST+29) +#define DISPID_A_TABLEBORDERCOLORDARK (DISPID_A_FIRST+30) +#define DISPID_A_TABLEVALIGN (DISPID_A_FIRST+31) +#define DISPID_A_BACKGROUND (DISPID_A_FIRST+32) +#define DISPID_A_BACKGROUNDPOSX (DISPID_A_FIRST+33) +#define DISPID_A_BACKGROUNDPOSY (DISPID_A_FIRST+34) +#define DISPID_A_TEXTDECORATION (DISPID_A_FIRST+35) +#define DISPID_A_MARGIN (DISPID_A_FIRST+36) +#define DISPID_A_MARGINTOP (DISPID_A_FIRST+37) +#define DISPID_A_MARGINRIGHT (DISPID_A_FIRST+38) +#define DISPID_A_MARGINBOTTOM (DISPID_A_FIRST+39) +#define DISPID_A_MARGINLEFT (DISPID_A_FIRST+40) +#define DISPID_A_FONT (DISPID_A_FIRST+41) +#define DISPID_A_FONTSIZEKEYWORD (DISPID_A_FIRST+42) +#define DISPID_A_FONTSIZECOMBINE (DISPID_A_FIRST+43) +#define DISPID_A_BACKGROUNDREPEAT (DISPID_A_FIRST+44) +#define DISPID_A_BACKGROUNDATTACHMENT (DISPID_A_FIRST+45) +#define DISPID_A_BACKGROUNDPOSITION (DISPID_A_FIRST+46) +#define DISPID_A_WORDSPACING (DISPID_A_FIRST+47) +#define DISPID_A_VERTICALALIGN (DISPID_A_FIRST+48) +#define DISPID_A_BORDER (DISPID_A_FIRST+49) +#define DISPID_A_BORDERTOP (DISPID_A_FIRST+50) +#define DISPID_A_BORDERRIGHT (DISPID_A_FIRST+51) +#define DISPID_A_BORDERBOTTOM (DISPID_A_FIRST+52) +#define DISPID_A_BORDERLEFT (DISPID_A_FIRST+53) +#define DISPID_A_BORDERCOLOR (DISPID_A_FIRST+54) +#define DISPID_A_BORDERTOPCOLOR (DISPID_A_FIRST+55) +#define DISPID_A_BORDERRIGHTCOLOR (DISPID_A_FIRST+56) +#define DISPID_A_BORDERBOTTOMCOLOR (DISPID_A_FIRST+57) +#define DISPID_A_BORDERLEFTCOLOR (DISPID_A_FIRST+58) +#define DISPID_A_BORDERWIDTH (DISPID_A_FIRST+59) +#define DISPID_A_BORDERTOPWIDTH (DISPID_A_FIRST+60) +#define DISPID_A_BORDERRIGHTWIDTH (DISPID_A_FIRST+61) +#define DISPID_A_BORDERBOTTOMWIDTH (DISPID_A_FIRST+62) +#define DISPID_A_BORDERLEFTWIDTH (DISPID_A_FIRST+63) +#define DISPID_A_BORDERSTYLE (DISPID_A_FIRST+64) +#define DISPID_A_BORDERTOPSTYLE (DISPID_A_FIRST+65) +#define DISPID_A_BORDERRIGHTSTYLE (DISPID_A_FIRST+66) +#define DISPID_A_BORDERBOTTOMSTYLE (DISPID_A_FIRST+67) +#define DISPID_A_BORDERLEFTSTYLE (DISPID_A_FIRST+68) +#define DISPID_A_TEXTDECORATIONOVERLINE (DISPID_A_FIRST+69) +#define DISPID_A_FLOAT (DISPID_A_FIRST+70) +#define DISPID_A_DISPLAY (DISPID_A_FIRST+71) +#define DISPID_A_LISTSTYLETYPE (DISPID_A_FIRST+72) +#define DISPID_A_LISTSTYLEPOSITION (DISPID_A_FIRST+73) +#define DISPID_A_LISTSTYLEIMAGE (DISPID_A_FIRST+74) +#define DISPID_A_LISTSTYLE (DISPID_A_FIRST+75) +#define DISPID_A_WHITESPACE (DISPID_A_FIRST+76) +#define DISPID_A_PAGEBREAKBEFORE (DISPID_A_FIRST+77) +#define DISPID_A_PAGEBREAKAFTER (DISPID_A_FIRST+78) +#define DISPID_A_SCROLL (DISPID_A_FIRST+79) +#define DISPID_A_VISIBILITY (DISPID_A_FIRST+80) +#define DISPID_A_HIDDEN (DISPID_A_FIRST+81) +#define DISPID_A_FILTER (DISPID_A_FIRST+82) +#define DISPID_DEFAULTVALUE (DISPID_A_FIRST+83) +#define DISPID_A_BORDERCOLLAPSE (DISPID_A_FIRST+84) +#define DISPID_A_POSITION (DISPID_A_FIRST+90) +#define DISPID_A_ZINDEX (DISPID_A_FIRST+91) +#define DISPID_A_CLIP (DISPID_A_FIRST+92) +#define DISPID_A_CLIPRECTTOP (DISPID_A_FIRST+93) +#define DISPID_A_CLIPRECTRIGHT (DISPID_A_FIRST+94) +#define DISPID_A_CLIPRECTBOTTOM (DISPID_A_FIRST+95) +#define DISPID_A_CLIPRECTLEFT (DISPID_A_FIRST+96) +#define DISPID_A_FONTFACESRC (DISPID_A_FIRST+97) +#define DISPID_A_TABLELAYOUT (DISPID_A_FIRST+98) +#define DISPID_A_STYLETEXT (DISPID_A_FIRST+99) +#define DISPID_A_LANGUAGE (DISPID_A_FIRST+100) +#define DISPID_A_VALUE (DISPID_A_FIRST+101) +#define DISPID_A_CURSOR (DISPID_A_FIRST+102) +#define DISPID_A_EVENTSINK (DISPID_A_FIRST+103) +#define DISPID_A_PROPNOTIFYSINK (DISPID_A_FIRST+104) +#define DISPID_A_ROWSETNOTIFYSINK (DISPID_A_FIRST+105) +#define DISPID_INTERNAL_INLINESTYLEAA (DISPID_A_FIRST+106) +#define DISPID_INTERNAL_CSTYLEPTRCACHE (DISPID_A_FIRST+107) +#define DISPID_INTERNAL_CRUNTIMESTYLEPTRCACHE (DISPID_A_FIRST+108) +#define DISPID_INTERNAL_INVOKECONTEXT (DISPID_A_FIRST+109) +#define DISPID_A_BGURLIMGCTXCACHEINDEX (DISPID_A_FIRST+110) +#define DISPID_A_LIURLIMGCTXCACHEINDEX (DISPID_A_FIRST+111) +#define DISPID_A_ROWSETASYNCHNOTIFYSINK (DISPID_A_FIRST+112) +#define DISPID_INTERNAL_FILTERPTRCACHE (DISPID_A_FIRST+113) +#define DISPID_A_ROWPOSITIONCHANGESINK (DISPID_A_FIRST+114) +#define DISPID_A_BEHAVIOR (DISPID_A_FIRST+115) +#define DISPID_A_READYSTATE (DISPID_A_FIRST+116) +#define DISPID_A_DIR (DISPID_A_FIRST+117) +#define DISPID_A_UNICODEBIDI (DISPID_A_FIRST+118) +#define DISPID_A_DIRECTION (DISPID_A_FIRST+119) +#define DISPID_A_IMEMODE (DISPID_A_FIRST+120) +#define DISPID_A_RUBYALIGN (DISPID_A_FIRST+121) +#define DISPID_A_RUBYPOSITION (DISPID_A_FIRST+122) +#define DISPID_A_RUBYOVERHANG (DISPID_A_FIRST+123) +#define DISPID_INTERNAL_ONBEHAVIOR_CONTENTREADY (DISPID_A_FIRST+124) +#define DISPID_INTERNAL_ONBEHAVIOR_DOCUMENTREADY (DISPID_A_FIRST+125) +#define DISPID_INTERNAL_CDOMCHILDRENPTRCACHE (DISPID_A_FIRST+126) +#define DISPID_A_LAYOUTGRIDCHAR (DISPID_A_FIRST+127) +#define DISPID_A_LAYOUTGRIDLINE (DISPID_A_FIRST+128) +#define DISPID_A_LAYOUTGRIDMODE (DISPID_A_FIRST+129) +#define DISPID_A_LAYOUTGRIDTYPE (DISPID_A_FIRST+130) +#define DISPID_A_LAYOUTGRID (DISPID_A_FIRST+131) +#define DISPID_A_TEXTAUTOSPACE (DISPID_A_FIRST+132) +#define DISPID_A_LINEBREAK (DISPID_A_FIRST+133) +#define DISPID_A_WORDBREAK (DISPID_A_FIRST+134) +#define DISPID_A_TEXTJUSTIFY (DISPID_A_FIRST+135) +#define DISPID_A_TEXTJUSTIFYTRIM (DISPID_A_FIRST+136) +#define DISPID_A_TEXTKASHIDA (DISPID_A_FIRST+137) +#define DISPID_A_OVERFLOWX (DISPID_A_FIRST+139) +#define DISPID_A_OVERFLOWY (DISPID_A_FIRST+140) +#define DISPID_A_HTCDISPATCHITEM_VALUE (DISPID_A_FIRST+141) +#define DISPID_A_DOCFRAGMENT (DISPID_A_FIRST+142) +#define DISPID_A_HTCDD_ELEMENT (DISPID_A_FIRST+143) +#define DISPID_A_HTCDD_CREATEEVENTOBJECT (DISPID_A_FIRST+144) +#define DISPID_A_URNATOM (DISPID_A_FIRST+145) +#define DISPID_A_UNIQUEPEERNUMBER (DISPID_A_FIRST+146) +#define DISPID_A_ACCELERATOR (DISPID_A_FIRST+147) +#define DISPID_INTERNAL_ONBEHAVIOR_APPLYSTYLE (DISPID_A_FIRST+148) +#define DISPID_INTERNAL_RUNTIMESTYLEAA (DISPID_A_FIRST+149) +#define DISPID_A_HTCDISPATCHITEM_VALUE_SCRIPTSONLY (DISPID_A_FIRST+150) +#define DISPID_A_EXTENDEDTAGDESC (DISPID_A_FIRST+151) +#define DISPID_A_ROTATE (DISPID_A_FIRST+152) +#define DISPID_A_ZOOM (DISPID_A_FIRST+153) +#define DISPID_A_HTCDD_PROTECTEDELEMENT (DISPID_A_FIRST+154) +#define DISPID_A_LAYOUTFLOW (DISPID_A_FIRST+155) +#define DISPID_A_HTCDD_ISMARKUPSHARED (DISPID_A_FIRST+157) +#define DISPID_A_WORDWRAP (DISPID_A_FIRST+158) +#define DISPID_A_TEXTUNDERLINEPOSITION (DISPID_A_FIRST+159) +#define DISPID_A_HASLAYOUT (DISPID_A_FIRST+160) +#define DISPID_A_MEDIA (DISPID_A_FIRST+161) +#define DISPID_A_EDITABLE (DISPID_A_FIRST+162) +#define DISPID_A_HIDEFOCUS (DISPID_A_FIRST+163) +#define DISPID_INTERNAL_LAYOUTRECTREGISTRYPTRCACHE (DISPID_A_FIRST+164) +#define DISPID_A_HTCDD_DEFAULTS (DISPID_A_FIRST+165) +#define DISPID_A_TEXTLINETHROUGHSTYLE (DISPID_A_FIRST+166) +#define DISPID_A_TEXTUNDERLINESTYLE (DISPID_A_FIRST+167) +#define DISPID_A_TEXTEFFECT (DISPID_A_FIRST+168) +#define DISPID_A_TEXTBACKGROUNDCOLOR (DISPID_A_FIRST+169) +#define DISPID_A_RENDERINGPRIORITY (DISPID_A_FIRST+170) +#define DISPID_INTERNAL_DWNPOSTPTRCACHE (DISPID_A_FIRST+171) +#define DISPID_INTERNAL_CODEPAGESETTINGSPTRCACHE (DISPID_A_FIRST+172) +#define DISPID_INTERNAL_DWNDOCPTRCACHE (DISPID_A_FIRST+173) +#define DISPID_INTERNAL_DATABINDTASKPTRCACHE (DISPID_A_FIRST+174) +#define DISPID_INTERNAL_URLLOCATIONCACHE (DISPID_A_FIRST+175) +#define DISPID_INTERNAL_ARYELEMENTRELEASENOTIFYPTRCACHE (DISPID_A_FIRST+176) +#define DISPID_INTERNAL_PEERFACTORYURLMAPPTRCACHE (DISPID_A_FIRST+177) +#define DISPID_INTERNAL_STMDIRTYPTRCACHE (DISPID_A_FIRST+178) +#define DISPID_INTERNAL_COMPUTEFORMATSTATECACHE (DISPID_A_FIRST+179) +#define DISPID_A_SCROLLBARBASECOLOR (DISPID_A_FIRST+180) +#define DISPID_A_SCROLLBARFACECOLOR (DISPID_A_FIRST+181) +#define DISPID_A_SCROLLBAR3DLIGHTCOLOR (DISPID_A_FIRST+182) +#define DISPID_A_SCROLLBARSHADOWCOLOR (DISPID_A_FIRST+183) +#define DISPID_A_SCROLLBARHIGHLIGHTCOLOR (DISPID_A_FIRST+184) +#define DISPID_A_SCROLLBARDARKSHADOWCOLOR (DISPID_A_FIRST+185) +#define DISPID_A_SCROLLBARARROWCOLOR (DISPID_A_FIRST+186) +#define DISPID_INTERNAL_ONBEHAVIOR_CONTENTSAVE (DISPID_A_FIRST+187) +#define DISPID_A_DEFAULTTEXTSELECTION (DISPID_A_FIRST+188) +#define DISPID_A_TEXTDECORATIONCOLOR (DISPID_A_FIRST+189) +#define DISPID_A_TEXTCOLOR (DISPID_A_FIRST+190) +#define DISPID_A_STYLETEXTDECORATION (DISPID_A_FIRST+191) +#define DISPID_A_WRITINGMODE (DISPID_A_FIRST+192) +#define DISPID_INTERNAL_MEDIA_REFERENCE (DISPID_A_FIRST+193) +#define DISPID_INTERNAL_GENERICCOMPLUSREF (DISPID_A_FIRST+194) +#define DISPID_INTERNAL_FOCUSITEMS (DISPID_A_FIRST+195) +#define DISPID_A_SCROLLBARTRACKCOLOR (DISPID_A_FIRST+196) +#define DISPID_INTERNAL_DWNHEADERCACHE (DISPID_A_FIRST+197) +#define DISPID_A_FROZEN (DISPID_A_FIRST+198) +#define DISPID_A_VIEWINHERITSTYLE (DISPID_A_FIRST+199) +#define DISPID_INTERNAL_FRAMESCOLLECTION (DISPID_A_FIRST+200) +#define DISPID_A_BGURLIMGCTXCACHEINDEX_FLINE (DISPID_A_FIRST+201) +#define DISPID_A_BGURLIMGCTXCACHEINDEX_FLETTER (DISPID_A_FIRST+202) +#define DISPID_A_TEXTALIGNLAST (DISPID_A_FIRST+203) +#define DISPID_A_TEXTKASHIDASPACE (DISPID_A_FIRST+204) +#define DISPID_INTERNAL_FONTHISTORYINDEX (DISPID_A_FIRST+205) +#define DISPID_A_ALLOWTRANSPARENCY (DISPID_A_FIRST+206) +#define DISPID_INTERNAL_URLSEARCHCACHE (DISPID_A_FIRST+207) +#define DISPID_A_ISBLOCK (DISPID_A_FIRST+208) +#define DISPID_A_TEXTOVERFLOW (DISPID_A_FIRST+209) +#define DISPID_INTERNAL_CATTRIBUTECOLLPTRCACHE (DISPID_A_FIRST+210) +#define DISPID_A_MINHEIGHT (DISPID_A_FIRST+211) +#define DISPID_INTERNAL_INVOKECONTEXTDOCUMENT (DISPID_A_FIRST+212) +#define DISPID_A_INTERPOLATION (DISPID_A_FIRST+213) +#define DISPID_A_MAXHEIGHT (DISPID_A_FIRST+214) +#define DISPID_A_MINWIDTH (DISPID_A_FIRST+215) +#define DISPID_A_MAXWIDTH (DISPID_A_FIRST+216) +#define DISPID_INTERNAL_ARYOBJECTRELEASECLEANUPPTRCACHE (DISPID_A_FIRST+217) +#define DISPID_A_CONTENT (DISPID_A_FIRST+218) +#define DISPID_A_CAPTIONSIDE (DISPID_A_FIRST+219) +#define DISPID_A_COUNTERINCREMENT (DISPID_A_FIRST+220) +#define DISPID_A_COUNTERRESET (DISPID_A_FIRST+221) +#define DISPID_A_OUTLINE (DISPID_A_FIRST+222) +#define DISPID_A_OUTLINEWIDTH (DISPID_A_FIRST+223) +#define DISPID_A_OUTLINESTYLE (DISPID_A_FIRST+224) +#define DISPID_A_OUTLINECOLOR (DISPID_A_FIRST+225) +#define DISPID_A_BOXSIZING (DISPID_A_FIRST+226) +#define DISPID_A_BORDERSPACING (DISPID_A_FIRST+227) +#define DISPID_A_ORPHANS (DISPID_A_FIRST+228) +#define DISPID_A_WIDOWS (DISPID_A_FIRST+229) +#define DISPID_A_PAGEBREAKINSIDE (DISPID_A_FIRST+230) +#define DISPID_A_MS_BEHAVIOR (DISPID_A_FIRST+231) +#define DISPID_A_MS_SCROLLBARBASECOLOR (DISPID_A_FIRST+232) +#define DISPID_A_MS_SCROLLBARFACECOLOR (DISPID_A_FIRST+233) +#define DISPID_A_MS_SCROLLBAR3DLIGHTCOLOR (DISPID_A_FIRST+234) +#define DISPID_A_MS_SCROLLBARSHADOWCOLOR (DISPID_A_FIRST+235) +#define DISPID_A_MS_SCROLLBARHIGHLIGHTCOLOR (DISPID_A_FIRST+236) +#define DISPID_A_MS_SCROLLBARDARKSHADOWCOLOR (DISPID_A_FIRST+237) +#define DISPID_A_MS_SCROLLBARARROWCOLOR (DISPID_A_FIRST+238) +#define DISPID_A_MS_SCROLLBARTRACKCOLOR (DISPID_A_FIRST+239) +#define DISPID_A_MS_TEXTALIGNLAST (DISPID_A_FIRST+240) +#define DISPID_A_MS_TEXTOVERFLOW (DISPID_A_FIRST+241) +#define DISPID_A_MS_TEXTUNDERLINEPOSITION (DISPID_A_FIRST+242) +#define DISPID_A_MS_WRITINGMODE (DISPID_A_FIRST+243) +#define DISPID_A_MS_IMEMODE (DISPID_A_FIRST+244) +#define DISPID_A_MS_BACKGROUNDPOSX (DISPID_A_FIRST+245) +#define DISPID_A_MS_BACKGROUNDPOSY (DISPID_A_FIRST+246) +#define DISPID_A_MS_ACCELERATOR (DISPID_A_FIRST+247) +#define DISPID_A_MS_LAYOUTFLOW (DISPID_A_FIRST+248) +#define DISPID_A_MS_ZOOM (DISPID_A_FIRST+249) +#define DISPID_A_EMPTYCELLS (DISPID_A_FIRST+250) +#define DISPID_A_MS_BLOCKPROGRESSION (DISPID_A_FIRST+251) +#define DISPID_A_QUOTES (DISPID_A_FIRST+252) + +#define DISPID_WINDOWOBJECT (-5500) +#define DISPID_LOCATIONOBJECT (-5506) +#define DISPID_HISTORYOBJECT (-5507) +#define DISPID_NAVIGATOROBJECT (-5508) +#define DISPID_SECURITYCTX (-5511) +#define DISPID_AMBIENT_DLCONTROL (-5512) +#define DISPID_AMBIENT_USERAGENT (-5513) +#define DISPID_SECURITYDOMAIN (-5514) + +#define DLCTL_DLIMAGES 0x00000010 +#define DLCTL_VIDEOS 0x00000020 +#define DLCTL_BGSOUNDS 0x00000040 +#define DLCTL_NO_SCRIPTS 0x00000080 +#define DLCTL_NO_JAVA 0x00000100 +#define DLCTL_NO_RUNACTIVEXCTLS 0x00000200 +#define DLCTL_NO_DLACTIVEXCTLS 0x00000400 +#define DLCTL_DOWNLOADONLY 0x00000800 +#define DLCTL_NO_FRAMEDOWNLOAD 0x00001000 +#define DLCTL_RESYNCHRONIZE 0x00002000 +#define DLCTL_PRAGMA_NO_CACHE 0x00004000 +#define DLCTL_FORCEOFFLINE 0x10000000 +#define DLCTL_NO_CLIENTPULL 0x20000000 +#define DLCTL_SILENT 0x40000000 +#define DLCTL_OFFLINEIFNOTCONNECTED 0x80000000 +#define DLCTL_OFFLINE DLCTL_OFFLINEIFNOTCONNECTED + +/* events */ +#define DISPID_EVPROP_ONMOUSEOVER (DISPID_EVENTS+0) +#define DISPID_EVPROP_ONMOUSEOUT (DISPID_EVENTS+1) +#define DISPID_EVPROP_ONMOUSEDOWN (DISPID_EVENTS+2) +#define DISPID_EVPROP_ONMOUSEUP (DISPID_EVENTS+3) +#define DISPID_EVPROP_ONMOUSEMOVE (DISPID_EVENTS+4) +#define DISPID_EVPROP_ONKEYDOWN (DISPID_EVENTS+5) +#define DISPID_EVPROP_ONKEYUP (DISPID_EVENTS+6) +#define DISPID_EVPROP_ONKEYPRESS (DISPID_EVENTS+7) +#define DISPID_EVPROP_ONCLICK (DISPID_EVENTS+8) +#define DISPID_EVPROP_ONDBLCLICK (DISPID_EVENTS+9) +#define DISPID_EVPROP_ONSELECT (DISPID_EVENTS+10) +#define DISPID_EVPROP_ONSUBMIT (DISPID_EVENTS+11) +#define DISPID_EVPROP_ONRESET (DISPID_EVENTS+12) +#define DISPID_EVPROP_ONHELP (DISPID_EVENTS+13) +#define DISPID_EVPROP_ONFOCUS (DISPID_EVENTS+14) +#define DISPID_EVPROP_ONBLUR (DISPID_EVENTS+15) +#define DISPID_EVPROP_ONROWEXIT (DISPID_EVENTS+18) +#define DISPID_EVPROP_ONROWENTER (DISPID_EVENTS+19) +#define DISPID_EVPROP_ONBOUNCE (DISPID_EVENTS+20) +#define DISPID_EVPROP_ONBEFOREUPDATE (DISPID_EVENTS+21) +#define DISPID_EVPROP_ONAFTERUPDATE (DISPID_EVENTS+22) +#define DISPID_EVPROP_ONBEFOREDRAGOVER (DISPID_EVENTS+23) +#define DISPID_EVPROP_ONBEFOREDROPORPASTE (DISPID_EVENTS+24) +#define DISPID_EVPROP_ONREADYSTATECHANGE (DISPID_EVENTS+25) +#define DISPID_EVPROP_ONFINISH (DISPID_EVENTS+26) +#define DISPID_EVPROP_ONSTART (DISPID_EVENTS+27) +#define DISPID_EVPROP_ONABORT (DISPID_EVENTS+28) +#define DISPID_EVPROP_ONERROR (DISPID_EVENTS+29) +#define DISPID_EVPROP_ONCHANGE (DISPID_EVENTS+30) +#define DISPID_EVPROP_ONSCROLL (DISPID_EVENTS+31) +#define DISPID_EVPROP_ONLOAD (DISPID_EVENTS+32) +#define DISPID_EVPROP_ONUNLOAD (DISPID_EVENTS+33) +#define DISPID_EVPROP_ONLAYOUT (DISPID_EVENTS+34) +#define DISPID_EVPROP_ONDRAGSTART (DISPID_EVENTS+35) +#define DISPID_EVPROP_ONRESIZE (DISPID_EVENTS+36) +#define DISPID_EVPROP_ONSELECTSTART (DISPID_EVENTS+37) +#define DISPID_EVPROP_ONERRORUPDATE (DISPID_EVENTS+38) +#define DISPID_EVPROP_ONBEFOREUNLOAD (DISPID_EVENTS+39) +#define DISPID_EVPROP_ONDATASETCHANGED (DISPID_EVENTS+40) +#define DISPID_EVPROP_ONDATAAVAILABLE (DISPID_EVENTS+41) +#define DISPID_EVPROP_ONDATASETCOMPLETE (DISPID_EVENTS+42) +#define DISPID_EVPROP_ONFILTER (DISPID_EVENTS+43) +#define DISPID_EVPROP_ONCHANGEFOCUS (DISPID_EVENTS+44) +#define DISPID_EVPROP_ONCHANGEBLUR (DISPID_EVENTS+45) +#define DISPID_EVPROP_ONLOSECAPTURE (DISPID_EVENTS+46) +#define DISPID_EVPROP_ONPROPERTYCHANGE (DISPID_EVENTS+47) +#define DISPID_EVPROP_ONPERSISTSAVE (DISPID_EVENTS+48) +#define DISPID_EVPROP_ONDRAG (DISPID_EVENTS+49) +#define DISPID_EVPROP_ONDRAGEND (DISPID_EVENTS+50) +#define DISPID_EVPROP_ONDRAGENTER (DISPID_EVENTS+51) +#define DISPID_EVPROP_ONDRAGOVER (DISPID_EVENTS+52) +#define DISPID_EVPROP_ONDRAGLEAVE (DISPID_EVENTS+53) +#define DISPID_EVPROP_ONDROP (DISPID_EVENTS+54) +#define DISPID_EVPROP_ONCUT (DISPID_EVENTS+55) +#define DISPID_EVPROP_ONCOPY (DISPID_EVENTS+56) +#define DISPID_EVPROP_ONPASTE (DISPID_EVENTS+57) +#define DISPID_EVPROP_ONBEFORECUT (DISPID_EVENTS+58) +#define DISPID_EVPROP_ONBEFORECOPY (DISPID_EVENTS+59) +#define DISPID_EVPROP_ONBEFOREPASTE (DISPID_EVENTS+60) +#define DISPID_EVPROP_ONPERSISTLOAD (DISPID_EVENTS+61) +#define DISPID_EVPROP_ONROWSDELETE (DISPID_EVENTS+62) +#define DISPID_EVPROP_ONROWSINSERTED (DISPID_EVENTS+63) +#define DISPID_EVPROP_ONCELLCHANGE (DISPID_EVENTS+64) +#define DISPID_EVPROP_ONCONTEXTMENU (DISPID_EVENTS+65) +#define DISPID_EVPROP_ONBEFOREPRINT (DISPID_EVENTS+66) +#define DISPID_EVPROP_ONAFTERPRINT (DISPID_EVENTS+67) +#define DISPID_EVPROP_ONSTOP (DISPID_EVENTS+68) +#define DISPID_EVPROP_ONBEFOREEDITFOCUS (DISPID_EVENTS+69) +#define DISPID_EVPROP_ONATTACHEVENT (DISPID_EVENTS+70) +#define DISPID_EVPROP_ONMOUSEHOVER (DISPID_EVENTS+71) +#define DISPID_EVPROP_ONCONTENTREADY (DISPID_EVENTS+72) +#define DISPID_EVPROP_ONLAYOUTCOMPLETE (DISPID_EVENTS+73) +#define DISPID_EVPROP_ONPAGE (DISPID_EVENTS+74) +#define DISPID_EVPROP_ONLINKEDOVERFLOW (DISPID_EVENTS+75) +#define DISPID_EVPROP_ONMOUSEWHEEL (DISPID_EVENTS+76) +#define DISPID_EVPROP_ONBEFOREDEACTIVATE (DISPID_EVENTS+77) +#define DISPID_EVPROP_ONMOVE (DISPID_EVENTS+78) +#define DISPID_EVPROP_ONCONTROLSELECT (DISPID_EVENTS+79) +#define DISPID_EVPROP_ONSELECTIONCHANGE (DISPID_EVENTS+80) +#define DISPID_EVPROP_ONMOVESTART (DISPID_EVENTS+81) +#define DISPID_EVPROP_ONMOVEEND (DISPID_EVENTS+82) +#define DISPID_EVPROP_ONRESIZESTART (DISPID_EVENTS+83) +#define DISPID_EVPROP_ONRESIZEEND (DISPID_EVENTS+84) +#define DISPID_EVPROP_ONMOUSEENTER (DISPID_EVENTS+85) +#define DISPID_EVPROP_ONMOUSELEAVE (DISPID_EVENTS+86) +#define DISPID_EVPROP_ONACTIVATE (DISPID_EVENTS+87) +#define DISPID_EVPROP_ONDEACTIVATE (DISPID_EVENTS+88) +#define DISPID_EVPROP_ONMULTILAYOUTCLEANUP (DISPID_EVENTS+89) +#define DISPID_EVPROP_ONBEFOREACTIVATE (DISPID_EVENTS+90) +#define DISPID_EVPROP_ONFOCUSIN (DISPID_EVENTS+91) +#define DISPID_EVPROP_ONFOCUSOUT (DISPID_EVENTS+92) +#define DISPID_EVPROP_ONVALUECHANGE (DISPID_EVENTS+93) +#define DISPID_EVPROP_ONSELECTADD (DISPID_EVENTS+94) +#define DISPID_EVPROP_ONSELECTREMOV (DISPID_EVENTS+95) +#define DISPID_EVPROP_ONSELECTWITHI (DISPID_EVENTS+96) +#define DISPID_EVPROP_ONSYSTEMSCROLLINGSTART (DISPID_EVENTS+97) +#define DISPID_EVPROP_ONSYSTEMSCROLLINGEND (DISPID_EVENTS+98) +#define DISPID_EVPROP_ONOBJECTCONTENTSCROLLED (DISPID_EVENTS+99) +#define DISPID_EVPROP_ONSTORAGE (DISPID_EVENTS+100) +#define DISPID_EVPROP_ONSTORAGECOMMIT (DISPID_EVENTS+101) +#define DISPID_EVPROP_ONSHOW (DISPID_EVENTS+102) +#define DISPID_EVPROP_ONHIDE (DISPID_EVENTS+103) +#define DISPID_EVPROP_ONALERT (DISPID_EVENTS+104) +#define DISPID_EVPROP_ONPOPUPMENUSTART (DISPID_EVENTS+105) +#define DISPID_EVPROP_ONPOPUPMENUEND (DISPID_EVENTS+106) +#define DISPID_EVPROP_ONONLINE (DISPID_EVENTS+107) +#define DISPID_EVPROP_ONOFFLINE (DISPID_EVENTS+108) +#define DISPID_EVPROP_ONHASHCHANGE (DISPID_EVENTS+109) +#define DISPID_EVPROP_ONMESSAGE (DISPID_EVENTS+110) +#define DISPID_EVPROP_ONDOMMUTATION (DISPID_EVENTS+111) +#define DISPID_EVPROP_TIMEOUT (DISPID_EVENTS+112) +#define DISPID_EVPROP_WHEEL (DISPID_EVENTS+113) +#define DISPID_EVPROP_SVGLOAD (DISPID_EVENTS+114) +#define DISPID_EVPROP_SVGUNLOAD (DISPID_EVENTS+115) +#define DISPID_EVPROP_SVGABORT (DISPID_EVENTS+116) +#define DISPID_EVPROP_SVGERROR (DISPID_EVENTS+117) +#define DISPID_EVPROP_SVGRESIZE (DISPID_EVENTS+118) +#define DISPID_EVPROP_SVGSCROLL (DISPID_EVENTS+119) +#define DISPID_EVPROP_SVGZOOM (DISPID_EVENTS+120) +#define DISPID_EVPROP_ONMSTHUMBNAILCLICK (DISPID_EVENTS+121) +#define DISPID_EVPROP_COMPOSITIONSTART (DISPID_EVENTS+122) +#define DISPID_EVPROP_COMPOSITIONUPDATE (DISPID_EVENTS+123) +#define DISPID_EVPROP_COMPOSITIONEND (DISPID_EVENTS+124) +#define DISPID_EVPROP_DOMATTRMODIFIED (DISPID_EVENTS+125) +#define DISPID_EVPROP_DOMCONTENTLOADED (DISPID_EVENTS+126) +#define DISPID_EVPROP_INPUT (DISPID_EVENTS+127) +#define DISPID_EVPROP_DOMCHARDATAMODIFIE (DISPID_EVENTS+128) +#define DISPID_EVPROP_TEXTINPUT (DISPID_EVENTS+129) +#define DISPID_EVPROP_ONMSSITEMODEJUMPLISTITEMREMOVED (DISPID_EVENTS+130) +#define DISPID_EVPROP_DOMNODEINSERTED (DISPID_EVENTS+131) +#define DISPID_EVPROP_DOMNODEREMOVED (DISPID_EVENTS+132) +#define DISPID_EVPROP_DOMSUBTREEMODIFIED (DISPID_EVENTS+133) +#define DISPID_EVPROP_CANPLAY (DISPID_EVENTS+134) +#define DISPID_EVPROP_CANPLAYTHROUGH (DISPID_EVENTS+135) +#define DISPID_EVPROP_DURATIONCHANGE (DISPID_EVENTS+136) +#define DISPID_EVPROP_EMPTIED (DISPID_EVENTS+137) +#define DISPID_EVPROP_ENDED (DISPID_EVENTS+138) +#define DISPID_EVPROP_LOADEDDATA (DISPID_EVENTS+139) +#define DISPID_EVPROP_LOADEDMETADATA (DISPID_EVENTS+140) +#define DISPID_EVPROP_LOADSTART (DISPID_EVENTS+141) +#define DISPID_EVPROP_PAUSE (DISPID_EVENTS+142) +#define DISPID_EVPROP_PLAY (DISPID_EVENTS+143) +#define DISPID_EVPROP_PLAYING (DISPID_EVENTS+144) +#define DISPID_EVPROP_PROGRESS (DISPID_EVENTS+145) +#define DISPID_EVPROP_RATECHANGE (DISPID_EVENTS+146) +#define DISPID_EVPROP_SEEKED (DISPID_EVENTS+147) +#define DISPID_EVPROP_SEEKING (DISPID_EVENTS+148) +#define DISPID_EVPROP_STALLED (DISPID_EVENTS+149) +#define DISPID_EVPROP_SUSPEND (DISPID_EVENTS+150) +#define DISPID_EVPROP_TIMEUPDATE (DISPID_EVENTS+151) +#define DISPID_EVPROP_VOLUMECHANGE (DISPID_EVENTS+152) +#define DISPID_EVPROP_WAITING (DISPID_EVENTS+153) +#define DISPID_EVPROP_ONMSPOINTERDOWN (DISPID_EVENTS+154) +#define DISPID_EVPROP_ONMSPOINTERMOVE (DISPID_EVENTS+155) +#define DISPID_EVPROP_ONMSPOINTERUP (DISPID_EVENTS+156) +#define DISPID_EVPROP_ONMSPOINTEROVER (DISPID_EVENTS+157) +#define DISPID_EVPROP_ONMSPOINTEROUT (DISPID_EVENTS+158) +#define DISPID_EVPROP_ONMSPOINTERCANCEL (DISPID_EVENTS+159) +#define DISPID_EVPROP_ONMSPOINTERHOVER (DISPID_EVENTS+160) +#define DISPID_EVPROP_MSCONNECT (DISPID_EVENTS+161) +#define DISPID_EVPROP_MSDISCONNECT (DISPID_EVENTS+162) +#define DISPID_EVPROP_ONMSGESTURESTART (DISPID_EVENTS+163) +#define DISPID_EVPROP_ONMSGESTURECHANGE (DISPID_EVENTS+164) +#define DISPID_EVPROP_ONMSGESTUREEND (DISPID_EVENTS+165) +#define DISPID_EVPROP_ONMSGESTUREHOLD (DISPID_EVENTS+166) +#define DISPID_EVPROP_ONMSGESTURETAP (DISPID_EVENTS+167) +#define DISPID_EVPROP_ONMSGESTUREDOUBLETAP (DISPID_EVENTS+168) +#define DISPID_EVPROP_ONMSINERTIASTART (DISPID_EVENTS+169) +#define DISPID_EVPROP_ONMSLOSTPOINTERCAPTURE (DISPID_EVENTS+170) +#define DISPID_EVPROP_ONMSGOTPOINTERCAPTURE (DISPID_EVENTS+171) +#define DISPID_EVPROP_ONMSCONTENTZOOM (DISPID_EVENTS+172) +#define DISPID_EVPROP_ONTRANSITIONSTART (DISPID_EVENTS+173) +#define DISPID_EVPROP_ONTRANSITIONEND (DISPID_EVENTS+174) +#define DISPID_EVPROP_ONANIMATIONSTART (DISPID_EVENTS+175) +#define DISPID_EVPROP_ONANIMATIONEND (DISPID_EVENTS+176) +#define DISPID_EVPROP_ONANIMATIONITERATION (DISPID_EVENTS+177) +#define DISPID_EVPROP_ONMSMANIPULATIONSTATECHANGED (DISPID_EVENTS+178) +#define DISPID_EVPROP_ONOPEN (DISPID_EVENTS+179) +#define DISPID_EVPROP_ONCLOSE (DISPID_EVENTS+180) +#define DISPID_EVPROP_CHECKING (DISPID_EVENTS+181) +#define DISPID_EVPROP_NOUPDATE (DISPID_EVENTS+182) +#define DISPID_EVPROP_DOWNLOADING (DISPID_EVENTS+183) +#define DISPID_EVPROP_UPDATEREADY (DISPID_EVENTS+184) +#define DISPID_EVPROP_CACHED (DISPID_EVENTS+185) +#define DISPID_EVPROP_OBSOLETE (DISPID_EVENTS+186) +#define DISPID_EVPROP_LOADEND (DISPID_EVENTS+187) +#define DISPID_EVPROP_INVALID (DISPID_EVENTS+188) +#define DISPID_EVPROP_ONSUCCESS (DISPID_EVENTS+189) +#define DISPID_EVPROP_ONBLOCKED (DISPID_EVENTS+190) +#define DISPID_EVPROP_ONCOMPLETE (DISPID_EVENTS+191) +#define DISPID_EVPROP_ONPOPSTATE (DISPID_EVENTS+192) +#define DISPID_EVPROP_ONCUECHANGE (DISPID_EVENTS+193) +#define DISPID_EVPROP_ONENTER (DISPID_EVENTS+194) +#define DISPID_EVPROP_ONEXIT (DISPID_EVENTS+195) +#define DISPID_EVPROP_VISIBILITYCHANGE (DISPID_EVENTS+196) +#define DISPID_EVPROP_ONMSREGIONUPDATE (DISPID_EVENTS+197) +#define DISPID_EVPROP_ONUPGRADENEEDED (DISPID_EVENTS+198) +#define DISPID_EVPROP_ONMSVIDEOFORMATCHANGED (DISPID_EVENTS+199) +#define DISPID_EVPROP_ADDTRACK (DISPID_EVENTS+200) +#define DISPID_EVPROP_ONMSVIDEOFRAMESTEPCOMPLETED (DISPID_EVENTS+201) +#define DISPID_EVPROP_ONMSHOLDVISUAL (DISPID_EVENTS+202) +#define DISPID_EVPROP_ONMSVIDEOOPTIMALLAYOUTCHANGED (DISPID_EVENTS+203) +#define DISPID_EVPROP_ONMSFULLSCREENCHANGE (DISPID_EVENTS+204) +#define DISPID_EVPROP_ONMSFULLSCREENERROR (DISPID_EVENTS+205) +#define DISPID_EVPROP_MSELEMENTRESIZE (DISPID_EVENTS+206) +#define DISPID_EVPROP_ONSOURCEOPEN (DISPID_EVENTS+207) +#define DISPID_EVPROP_ONSOURCECLOSE (DISPID_EVENTS+208) +#define DISPID_EVPROP_ONSOURCEENDED (DISPID_EVENTS+209) +#define DISPID_EVPROP_ONADDSOURCEBUFFER (DISPID_EVENTS+210) +#define DISPID_EVPROP_ONREMOVESOURCEBUFFER (DISPID_EVENTS+211) +#define DISPID_EVPROP_ONMSNEEDKEY (DISPID_EVENTS+212) +#define DISPID_EVPROP_ONMSKEYMESSAGE (DISPID_EVENTS+213) +#define DISPID_EVPROP_ONMSKEYERROR (DISPID_EVENTS+214) +#define DISPID_EVPROP_ONMSKEYADDED (DISPID_EVENTS+215) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONDOMCONTENTLOADED (DISPID_EVENTS+216) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONCONTENTLOADING (DISPID_EVENTS+217) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONNAVIGATIONSTARTING (DISPID_EVENTS+218) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONNAVIGATIONCOMPLETED (DISPID_EVENTS+219) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMEDOMCONTENTLOADED (DISPID_EVENTS+220) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMECONTENTLOADING (DISPID_EVENTS+221) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMENAVIGATIONSTARTING (DISPID_EVENTS+222) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMENAVIGATIONCOMPLETED (DISPID_EVENTS+223) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONSCRIPTNOTIFY (DISPID_EVENTS+224) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONUNVIEWABLECONTENT (DISPID_EVENTS+225) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONUNSAFECONTENTWARNINGDISPLAYING (DISPID_EVENTS+226) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONLONGRUNNINGSCRIPTDETECTED (DISPID_EVENTS+227) +#define DISPID_EVPROP_WEBGLCONTEXTLOST (DISPID_EVENTS+228) +#define DISPID_EVPROP_WEBGLCONTEXTRESTORED (DISPID_EVENTS+229) +#define DISPID_EVPROP_ONUPDATESTART (DISPID_EVENTS+230) +#define DISPID_EVPROP_ONUPDATE (DISPID_EVENTS+231) +#define DISPID_EVPROP_ONUPDATEEND (DISPID_EVENTS+232) +#define DISPID_EVPROP_ONMSPOINTERENTER (DISPID_EVENTS+233) +#define DISPID_EVPROP_ONMSPOINTERLEAVE (DISPID_EVENTS+234) +#define DISPID_EVPROP_ONMSSITEPINNED (DISPID_EVENTS+235) +#define DISPID_EVPROP_MSORIENTATIONCHANGE (DISPID_EVENTS+236) +#define DISPID_EVPROP_ONDEVICEORIENTATION (DISPID_EVENTS+237) +#define DISPID_EVPROP_ONDEVICEMOTION (DISPID_EVENTS+238) +#define DISPID_EVPROP_ONPAGESHOW (DISPID_EVENTS+239) +#define DISPID_EVPROP_ONPAGEHIDE (DISPID_EVENTS+240) +#define DISPID_EVPROP_ONMSCANDIDATEWINDOWSHOW (DISPID_EVENTS+241) +#define DISPID_EVPROP_ONMSCANDIDATEWINDOWUPDATE (DISPID_EVENTS+242) +#define DISPID_EVPROP_ONMSCANDIDATEWINDOWHIDE (DISPID_EVENTS+243) +#define DISPID_EVPROP_HTML5ONREADYSTATECHANGE (DISPID_EVENTS+244) +#define DISPID_EVPROP_REMOVETRACK (DISPID_EVENTS+245) +#define DISPID_EVPROP_ONCOMPASSNEEDSCALIBRATION (DISPID_EVENTS+246) +#define DISPID_EVPROP_MSHTMLWEBVIEW_ONCONTAINSFULLSCREENELEMENTCHANGED (DISPID_EVENTS+247) +#define DISPID_EVPROP_ONTOUCHSTART (DISPID_EVENTS+248) +#define DISPID_EVPROP_ONTOUCHEND (DISPID_EVENTS+249) +#define DISPID_EVPROP_ONTOUCHMOVE (DISPID_EVENTS+250) +#define DISPID_EVPROP_ONTOUCHCANCEL (DISPID_EVENTS+251) +#define DISPID_EVPROP_ONWEBKITTRANSITIONEND (DISPID_EVENTS+252) +#define DISPID_EVPROP_ONWEBKITANIMATIONSTART (DISPID_EVENTS+253) +#define DISPID_EVPROP_ONWEBKITANIMATIONEND (DISPID_EVENTS+254) +#define DISPID_EVPROP_ONWEBKITANIMATIONITERATION (DISPID_EVENTS+255) +#define DISPID_EVPROP_WEBGLCONTEXTCREATIONERROR (DISPID_EVENTS+256) +#define DISPID_EVPROP_ONDOMFOCUSIN (DISPID_EVENTS+257) +#define DISPID_EVPROP_ONDOMFOCUSOUT (DISPID_EVENTS+258) +#define DISPID_EVPROP_ORIENTATIONCHANGE (DISPID_EVENTS+259) +#define DISPID_EVPROPS_COUNT 260 + +#define DISPID_EVMETH_ONMOUSEOVER STDDISPID_XOBJ_ONMOUSEOVER +#define DISPID_EVMETH_ONMOUSEOUT STDDISPID_XOBJ_ONMOUSEOUT +#define DISPID_EVMETH_ONMOUSEDOWN DISPID_MOUSEDOWN +#define DISPID_EVMETH_ONMOUSEUP DISPID_MOUSEUP +#define DISPID_EVMETH_ONMOUSEMOVE DISPID_MOUSEMOVE +#define DISPID_EVMETH_ONKEYDOWN DISPID_KEYDOWN +#define DISPID_EVMETH_ONKEYUP DISPID_KEYUP +#define DISPID_EVMETH_ONKEYPRESS DISPID_KEYPRESS +#define DISPID_EVMETH_ONCLICK DISPID_CLICK +#define DISPID_EVMETH_ONDBLCLICK DISPID_DBLCLICK +#define DISPID_EVMETH_ONSELECT DISPID_ONSELECT +#define DISPID_EVMETH_ONSUBMIT DISPID_ONSUBMIT +#define DISPID_EVMETH_ONRESET DISPID_ONRESET +#define DISPID_EVMETH_ONHELP STDDISPID_XOBJ_ONHELP +#define DISPID_EVMETH_ONFOCUS STDDISPID_XOBJ_ONFOCUS +#define DISPID_EVMETH_ONBLUR STDDISPID_XOBJ_ONBLUR +#define DISPID_EVMETH_ONROWEXIT STDDISPID_XOBJ_ONROWEXIT +#define DISPID_EVMETH_ONROWENTER STDDISPID_XOBJ_ONROWENTER +#define DISPID_EVMETH_ONBOUNCE DISPID_ONBOUNCE +#define DISPID_EVMETH_ONBEFOREUPDATE STDDISPID_XOBJ_BEFOREUPDATE +#define DISPID_EVMETH_ONAFTERUPDATE STDDISPID_XOBJ_AFTERUPDATE +#define DISPID_EVMETH_ONBEFOREDRAGOVER EVENTID_CommonCtrlEvent_BeforeDragOver +#define DISPID_EVMETH_ONBEFOREDROPORPASTE EVENTID_CommonCtrlEvent_BeforeDropOrPaste +#define DISPID_EVMETH_ONREADYSTATECHANGE DISPID_READYSTATECHANGE +#define DISPID_EVMETH_ONFINISH DISPID_ONFINISH +#define DISPID_EVMETH_ONSTART DISPID_ONSTART +#define DISPID_EVMETH_ONABORT DISPID_ONABORT +#define DISPID_EVMETH_ONERROR DISPID_ONERROR +#define DISPID_EVMETH_ONCHANGE DISPID_ONCHANGE +#define DISPID_EVMETH_ONSCROLL DISPID_ONSCROLL +#define DISPID_EVMETH_ONLOAD DISPID_ONLOAD +#define DISPID_EVMETH_ONUNLOAD DISPID_ONUNLOAD +#define DISPID_EVMETH_ONLAYOUT DISPID_ONLAYOUT +#define DISPID_EVMETH_ONDRAGSTART STDDISPID_XOBJ_ONDRAGSTART +#define DISPID_EVMETH_ONRESIZE DISPID_ONRESIZE +#define DISPID_EVMETH_ONSELECTSTART STDDISPID_XOBJ_ONSELECTSTART +#define DISPID_EVMETH_ONERRORUPDATE STDDISPID_XOBJ_ERRORUPDATE +#define DISPID_EVMETH_ONBEFOREUNLOAD DISPID_ONBEFOREUNLOAD +#define DISPID_EVMETH_ONDATASETCHANGED STDDISPID_XOBJ_ONDATASETCHANGED +#define DISPID_EVMETH_ONDATAAVAILABLE STDDISPID_XOBJ_ONDATAAVAILABLE +#define DISPID_EVMETH_ONDATASETCOMPLETE STDDISPID_XOBJ_ONDATASETCOMPLETE +#define DISPID_EVMETH_ONFILTER STDDISPID_XOBJ_ONFILTER +#define DISPID_EVMETH_ONCHANGEFOCUS DISPID_ONCHANGEFOCUS +#define DISPID_EVMETH_ONCHANGEBLUR DISPID_ONCHANGEBLUR +#define DISPID_EVMETH_ONLOSECAPTURE STDDISPID_XOBJ_ONLOSECAPTURE +#define DISPID_EVMETH_ONPROPERTYCHANGE STDDISPID_XOBJ_ONPROPERTYCHANGE +#define DISPID_EVMETH_ONPERSISTSAVE DISPID_ONPERSISTSAVE +#define DISPID_EVMETH_ONDRAG STDDISPID_XOBJ_ONDRAG +#define DISPID_EVMETH_ONDRAGEND STDDISPID_XOBJ_ONDRAGEND +#define DISPID_EVMETH_ONDRAGENTER STDDISPID_XOBJ_ONDRAGENTER +#define DISPID_EVMETH_ONDRAGOVER STDDISPID_XOBJ_ONDRAGOVER +#define DISPID_EVMETH_ONDRAGLEAVE STDDISPID_XOBJ_ONDRAGLEAVE +#define DISPID_EVMETH_ONDROP STDDISPID_XOBJ_ONDROP +#define DISPID_EVMETH_ONCUT STDDISPID_XOBJ_ONCUT +#define DISPID_EVMETH_ONCOPY STDDISPID_XOBJ_ONCOPY +#define DISPID_EVMETH_ONPASTE STDDISPID_XOBJ_ONPASTE +#define DISPID_EVMETH_ONBEFORECUT STDDISPID_XOBJ_ONBEFORECUT +#define DISPID_EVMETH_ONBEFORECOPY STDDISPID_XOBJ_ONBEFORECOPY +#define DISPID_EVMETH_ONBEFOREPASTE STDDISPID_XOBJ_ONBEFOREPASTE +#define DISPID_EVMETH_ONPERSISTLOAD DISPID_ONPERSISTLOAD +#define DISPID_EVMETH_ONROWSDELETE STDDISPID_XOBJ_ONROWSDELETE +#define DISPID_EVMETH_ONROWSINSERTED STDDISPID_XOBJ_ONROWSINSERTED +#define DISPID_EVMETH_ONCELLCHANGE STDDISPID_XOBJ_ONCELLCHANGE +#define DISPID_EVMETH_ONCONTEXTMENU DISPID_ONCONTEXTMENU +#define DISPID_EVMETH_ONBEFOREPRINT DISPID_ONBEFOREPRINT +#define DISPID_EVMETH_ONAFTERPRINT DISPID_ONAFTERPRINT +#define DISPID_EVMETH_ONSTOP DISPID_ONSTOP +#define DISPID_EVMETH_ONBEFOREEDITFOCUS DISPID_ONBEFOREEDITFOCUS +#define DISPID_EVMETH_ONMOUSEHOVER DISPID_ONMOUSEHOVER +#define DISPID_EVMETH_ONCONTENTREADY DISPID_ONCONTENTREADY +#define DISPID_EVMETH_ONLAYOUTCOMPLETE DISPID_ONLAYOUTCOMPLETE +#define DISPID_EVMETH_ONPAGE DISPID_ONPAGE +#define DISPID_EVMETH_ONLINKEDOVERFLOW DISPID_ONLINKEDOVERFLOW +#define DISPID_EVMETH_ONMOUSEWHEEL DISPID_ONMOUSEWHEEL +#define DISPID_EVMETH_ONBEFOREDEACTIVATE DISPID_ONBEFOREDEACTIVATE +#define DISPID_EVMETH_ONMOVE DISPID_ONMOVE +#define DISPID_EVMETH_ONCONTROLSELECT DISPID_ONCONTROLSELECT +#define DISPID_EVMETH_ONSELECTIONCHANGE DISPID_ONSELECTIONCHANGE +#define DISPID_EVMETH_ONMOVESTART DISPID_ONMOVESTART +#define DISPID_EVMETH_ONMOVEEND DISPID_ONMOVEEND +#define DISPID_EVMETH_ONRESIZESTART DISPID_ONRESIZESTART +#define DISPID_EVMETH_ONRESIZEEND DISPID_ONRESIZEEND +#define DISPID_EVMETH_ONMOUSEENTER DISPID_ONMOUSEENTER +#define DISPID_EVMETH_ONMOUSELEAVE DISPID_ONMOUSELEAVE +#define DISPID_EVMETH_ONACTIVATE DISPID_ONACTIVATE +#define DISPID_EVMETH_ONDEACTIVATE DISPID_ONDEACTIVATE +#define DISPID_EVMETH_ONMULTILAYOUTCLEANUP DISPID_ONMULTILAYOUTCLEANUP +#define DISPID_EVMETH_ONBEFOREACTIVATE DISPID_ONBEFOREACTIVATE +#define DISPID_EVMETH_ONFOCUSIN DISPID_ONFOCUSIN +#define DISPID_EVMETH_ONFOCUSOUT DISPID_ONFOCUSOUT +#define DISPID_EVMETH_ONSTORAGE DISPID_ONSTORAGE +#define DISPID_EVMETH_ONSTORAGECOMMIT DISPID_ONSTORAGECOMMIT +#define DISPID_EVMETH_ONMESSAGE DISPID_ONMESSAGE + +#define DISPID_ONABORT (DISPID_NORMAL_FIRST) +#define DISPID_ONCHANGE (DISPID_NORMAL_FIRST+1) +#define DISPID_ONERROR (DISPID_NORMAL_FIRST+2) +#define DISPID_ONLOAD (DISPID_NORMAL_FIRST+3) +#define DISPID_ONSELECT (DISPID_NORMAL_FIRST+6) +#define DISPID_ONSUBMIT (DISPID_NORMAL_FIRST+7) +#define DISPID_ONUNLOAD (DISPID_NORMAL_FIRST+8) +#define DISPID_ONBOUNCE (DISPID_NORMAL_FIRST+9) +#define DISPID_ONFINISH (DISPID_NORMAL_FIRST+10) +#define DISPID_ONSTART (DISPID_NORMAL_FIRST+11) +#define DISPID_ONLAYOUT (DISPID_NORMAL_FIRST+13) +#define DISPID_ONSCROLL (DISPID_NORMAL_FIRST+14) +#define DISPID_ONRESET (DISPID_NORMAL_FIRST+15) +#define DISPID_ONRESIZE (DISPID_NORMAL_FIRST+16) +#define DISPID_ONBEFOREUNLOAD (DISPID_NORMAL_FIRST+17) +#define DISPID_ONCHANGEFOCUS (DISPID_NORMAL_FIRST+18) +#define DISPID_ONCHANGEBLUR (DISPID_NORMAL_FIRST+19) +#define DISPID_ONPERSIST (DISPID_NORMAL_FIRST+20) +#define DISPID_ONPERSISTSAVE (DISPID_NORMAL_FIRST+21) +#define DISPID_ONPERSISTLOAD (DISPID_NORMAL_FIRST+22) +#define DISPID_ONCONTEXTMENU (DISPID_NORMAL_FIRST+23) +#define DISPID_ONBEFOREPRINT (DISPID_NORMAL_FIRST+24) +#define DISPID_ONAFTERPRINT (DISPID_NORMAL_FIRST+25) +#define DISPID_ONSTOP (DISPID_NORMAL_FIRST+26) +#define DISPID_ONBEFOREEDITFOCUS (DISPID_NORMAL_FIRST+27) +#define DISPID_ONMOUSEHOVER (DISPID_NORMAL_FIRST+28) +#define DISPID_ONCONTENTREADY (DISPID_NORMAL_FIRST+29) +#define DISPID_ONLAYOUTCOMPLETE (DISPID_NORMAL_FIRST+30) +#define DISPID_ONPAGE (DISPID_NORMAL_FIRST+31) +#define DISPID_ONLINKEDOVERFLOW (DISPID_NORMAL_FIRST+32) +#define DISPID_ONMOUSEWHEEL (DISPID_NORMAL_FIRST+33) +#define DISPID_ONBEFOREDEACTIVATE (DISPID_NORMAL_FIRST+34) +#define DISPID_ONMOVE (DISPID_NORMAL_FIRST+35) +#define DISPID_ONCONTROLSELECT (DISPID_NORMAL_FIRST+36) +#define DISPID_ONSELECTIONCHANGE (DISPID_NORMAL_FIRST+37) +#define DISPID_ONMOVESTART (DISPID_NORMAL_FIRST+38) +#define DISPID_ONMOVEEND (DISPID_NORMAL_FIRST+39) +#define DISPID_ONRESIZESTART (DISPID_NORMAL_FIRST+40) +#define DISPID_ONRESIZEEND (DISPID_NORMAL_FIRST+41) +#define DISPID_ONMOUSEENTER (DISPID_NORMAL_FIRST+42) +#define DISPID_ONMOUSELEAVE (DISPID_NORMAL_FIRST+43) +#define DISPID_ONACTIVATE (DISPID_NORMAL_FIRST+44) +#define DISPID_ONDEACTIVATE (DISPID_NORMAL_FIRST+45) +#define DISPID_ONMULTILAYOUTCLEANUP (DISPID_NORMAL_FIRST+46) +#define DISPID_ONBEFOREACTIVATE (DISPID_NORMAL_FIRST+47) +#define DISPID_ONFOCUSIN (DISPID_NORMAL_FIRST+48) +#define DISPID_ONFOCUSOUT (DISPID_NORMAL_FIRST+49) +#define DISPID_ONVALUECHANGE (DISPID_NORMAL_FIRST+50) +#define DISPID_ONSELECTADD (DISPID_NORMAL_FIRST+51) +#define DISPID_ONSELECTREMOVE (DISPID_NORMAL_FIRST+52) +#define DISPID_ONSELECTWITHIN (DISPID_NORMAL_FIRST+53) +#define DISPID_ONSYSTEMSCROLLINGSTART (DISPID_NORMAL_FIRST+54) +#define DISPID_ONSYSTEMSCROLLINGEND (DISPID_NORMAL_FIRST+55) +#define DISPID_ONOBJECTCONTENTSCROLLED (DISPID_NORMAL_FIRST+56) +#define DISPID_ONSTORAGE (DISPID_NORMAL_FIRST+57) +#define DISPID_ONSTORAGECOMMIT (DISPID_NORMAL_FIRST+58) +#define DISPID_ONSHOW (DISPID_NORMAL_FIRST+59) +#define DISPID_ONHIDE (DISPID_NORMAL_FIRST+60) +#define DISPID_ONALERT (DISPID_NORMAL_FIRST+61) +#define DISPID_ONPOPUPMENUSTART (DISPID_NORMAL_FIRST+62) +#define DISPID_ONPOPUPMENUEND (DISPID_NORMAL_FIRST+63) +#define DISPID_ONONLINE (DISPID_NORMAL_FIRST+64) +#define DISPID_ONOFFLINE (DISPID_NORMAL_FIRST+65) +#define DISPID_ONHASHCHANGE (DISPID_NORMAL_FIRST+66) +#define DISPID_ONMESSAGE (DISPID_NORMAL_FIRST+67) +#define DISPID_ONDOMMUTATION (DISPID_NORMAL_FIRST+68) +#define DISPID_SVGLOAD (DISPID_NORMAL_FIRST+69) +#define DISPID_SVGUNLOAD (DISPID_NORMAL_FIRST+70) +#define DISPID_SVGABORT (DISPID_NORMAL_FIRST+71) +#define DISPID_SVGERROR (DISPID_NORMAL_FIRST+72) +#define DISPID_SVGRESIZE (DISPID_NORMAL_FIRST+73) +#define DISPID_SVGSCROLL (DISPID_NORMAL_FIRST+74) +#define DISPID_SVGZOOM (DISPID_NORMAL_FIRST+75) +#define DISPID_MSPOINTERDOWN (DISPID_NORMAL_FIRST+76) +#define DISPID_MSPOINTERMOVE (DISPID_NORMAL_FIRST+77) +#define DISPID_MSPOINTERUP (DISPID_NORMAL_FIRST+78) +#define DISPID_MSPOINTEROVER (DISPID_NORMAL_FIRST+79) +#define DISPID_MSPOINTEROUT (DISPID_NORMAL_FIRST+80) +#define DISPID_MSPOINTERCANCEL (DISPID_NORMAL_FIRST+81) +#define DISPID_MSPOINTERHOVER (DISPID_NORMAL_FIRST+82) +#define DISPID_MSGESTURESTART (DISPID_NORMAL_FIRST+83) +#define DISPID_MSGESTURECHANGE (DISPID_NORMAL_FIRST+84) +#define DISPID_MSGESTUREEND (DISPID_NORMAL_FIRST+85) +#define DISPID_MSGESTUREHOLD (DISPID_NORMAL_FIRST+86) +#define DISPID_MSGESTURETAP (DISPID_NORMAL_FIRST+87) +#define DISPID_MSGESTUREDOUBLETAP (DISPID_NORMAL_FIRST+88) +#define DISPID_MSINERTIASTART (DISPID_NORMAL_FIRST+89) +#define DISPID_MSLOSTPOINTERCAPTURE (DISPID_NORMAL_FIRST+90) +#define DISPID_MSGOTPOINTERCAPTURE (DISPID_NORMAL_FIRST+91) +#define DISPID_MSTRANSITIONSTART (DISPID_NORMAL_FIRST+92) +#define DISPID_MSTRANSITIONEND (DISPID_NORMAL_FIRST+93) +#define DISPID_MSANIMATIONSTART (DISPID_NORMAL_FIRST+94) +#define DISPID_MSANIMATIONEND (DISPID_NORMAL_FIRST+95) +#define DISPID_MSANIMATIONITERATION (DISPID_NORMAL_FIRST+96) +#define DISPID_MSGESTUREINIT (DISPID_NORMAL_FIRST+97) +#define DISPID_MSMANIPULATIONSTATECHANGED (DISPID_NORMAL_FIRST+98) +#define DISPID_ONOPEN (DISPID_NORMAL_FIRST+99) +#define DISPID_ONCLOSE (DISPID_NORMAL_FIRST+100) +#define DISPID_MSPOINTERENTER (DISPID_NORMAL_FIRST+101) +#define DISPID_MSPOINTERLEAVE (DISPID_NORMAL_FIRST+102) +#define DISPID_MSORIENTATIONCHANGE (DISPID_NORMAL_FIRST+103) +#define DISPID_ONDEVICEORIENTATION (DISPID_NORMAL_FIRST+104) +#define DISPID_ONDEVICEMOTION (DISPID_NORMAL_FIRST+105) +#define DISPID_ONPAGESHOW (DISPID_NORMAL_FIRST+106) +#define DISPID_ONPAGEHIDE (DISPID_NORMAL_FIRST+107) +#define DISPID_ONCOMPASSNEEDSCALIBRATION (DISPID_NORMAL_FIRST+108) + +/* HTMLDocumentEvents */ +#define DISPID_HTMLDOCUMENTEVENTS_ONHELP DISPID_EVMETH_ONHELP +#define DISPID_HTMLDOCUMENTEVENTS_ONCLICK DISPID_EVMETH_ONCLICK +#define DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK DISPID_EVMETH_ONDBLCLICK +#define DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN DISPID_EVMETH_ONKEYDOWN +#define DISPID_HTMLDOCUMENTEVENTS_ONKEYUP DISPID_EVMETH_ONKEYUP +#define DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS DISPID_EVMETH_ONKEYPRESS +#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN DISPID_EVMETH_ONMOUSEDOWN +#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE DISPID_EVMETH_ONMOUSEMOVE +#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP DISPID_EVMETH_ONMOUSEUP +#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT DISPID_EVMETH_ONMOUSEOUT +#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER DISPID_EVMETH_ONMOUSEOVER +#define DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE DISPID_EVMETH_ONREADYSTATECHANGE +#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREUPDATE DISPID_EVMETH_ONBEFOREUPDATE +#define DISPID_HTMLDOCUMENTEVENTS_ONAFTERUPDATE DISPID_EVMETH_ONAFTERUPDATE +#define DISPID_HTMLDOCUMENTEVENTS_ONROWEXIT DISPID_EVMETH_ONROWEXIT +#define DISPID_HTMLDOCUMENTEVENTS_ONROWENTER DISPID_EVMETH_ONROWENTER +#define DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART DISPID_EVMETH_ONDRAGSTART +#define DISPID_HTMLDOCUMENTEVENTS_ONSELECTSTART DISPID_EVMETH_ONSELECTSTART +#define DISPID_HTMLDOCUMENTEVENTS_ONERRORUPDATE DISPID_EVMETH_ONERRORUPDATE +#define DISPID_HTMLDOCUMENTEVENTS_ONCONTEXTMENU DISPID_EVMETH_ONCONTEXTMENU +#define DISPID_HTMLDOCUMENTEVENTS_ONSTOP DISPID_EVMETH_ONSTOP +#define DISPID_HTMLDOCUMENTEVENTS_ONROWSDELETE DISPID_EVMETH_ONROWSDELETE +#define DISPID_HTMLDOCUMENTEVENTS_ONROWSINSERTED DISPID_EVMETH_ONROWSINSERTED +#define DISPID_HTMLDOCUMENTEVENTS_ONCELLCHANGE DISPID_EVMETH_ONCELLCHANGE +#define DISPID_HTMLDOCUMENTEVENTS_ONPROPERTYCHANGE DISPID_EVMETH_ONPROPERTYCHANGE +#define DISPID_HTMLDOCUMENTEVENTS_ONDATASETCHANGED DISPID_EVMETH_ONDATASETCHANGED +#define DISPID_HTMLDOCUMENTEVENTS_ONDATAAVAILABLE DISPID_EVMETH_ONDATAAVAILABLE +#define DISPID_HTMLDOCUMENTEVENTS_ONDATASETCOMPLETE DISPID_EVMETH_ONDATASETCOMPLETE +#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREEDITFOCUS DISPID_EVMETH_ONBEFOREEDITFOCUS +#define DISPID_HTMLDOCUMENTEVENTS_ONSELECTIONCHANGE DISPID_EVMETH_ONSELECTIONCHANGE +#define DISPID_HTMLDOCUMENTEVENTS_ONCONTROLSELECT DISPID_EVMETH_ONCONTROLSELECT +#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEWHEEL DISPID_EVMETH_ONMOUSEWHEEL +#define DISPID_HTMLDOCUMENTEVENTS_ONFOCUSIN DISPID_EVMETH_ONFOCUSIN +#define DISPID_HTMLDOCUMENTEVENTS_ONFOCUSOUT DISPID_EVMETH_ONFOCUSOUT +#define DISPID_HTMLDOCUMENTEVENTS_ONACTIVATE DISPID_EVMETH_ONACTIVATE +#define DISPID_HTMLDOCUMENTEVENTS_ONDEACTIVATE DISPID_EVMETH_ONDEACTIVATE +#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREACTIVATE DISPID_EVMETH_ONBEFOREACTIVATE +#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREDEACTIVATE DISPID_EVMETH_ONBEFOREDEACTIVATE + +/* HTMLDocumentEvents2 */ +#define DISPID_HTMLDOCUMENTEVENTS2_ONHELP DISPID_EVMETH_ONHELP +#define DISPID_HTMLDOCUMENTEVENTS2_ONCLICK DISPID_EVMETH_ONCLICK +#define DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK DISPID_EVMETH_ONDBLCLICK +#define DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN DISPID_EVMETH_ONKEYDOWN +#define DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP DISPID_EVMETH_ONKEYUP +#define DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS DISPID_EVMETH_ONKEYPRESS +#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN DISPID_EVMETH_ONMOUSEDOWN +#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE DISPID_EVMETH_ONMOUSEMOVE +#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP DISPID_EVMETH_ONMOUSEUP +#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT DISPID_EVMETH_ONMOUSEOUT +#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER DISPID_EVMETH_ONMOUSEOVER +#define DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE DISPID_EVMETH_ONREADYSTATECHANGE +#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE DISPID_EVMETH_ONBEFOREUPDATE +#define DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE DISPID_EVMETH_ONAFTERUPDATE +#define DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT DISPID_EVMETH_ONROWEXIT +#define DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER DISPID_EVMETH_ONROWENTER +#define DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART DISPID_EVMETH_ONDRAGSTART +#define DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART DISPID_EVMETH_ONSELECTSTART +#define DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE DISPID_EVMETH_ONERRORUPDATE +#define DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU DISPID_EVMETH_ONCONTEXTMENU +#define DISPID_HTMLDOCUMENTEVENTS2_ONSTOP DISPID_EVMETH_ONSTOP +#define DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE DISPID_EVMETH_ONROWSDELETE +#define DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED DISPID_EVMETH_ONROWSINSERTED +#define DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE DISPID_EVMETH_ONCELLCHANGE +#define DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE DISPID_EVMETH_ONPROPERTYCHANGE +#define DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED DISPID_EVMETH_ONDATASETCHANGED +#define DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE DISPID_EVMETH_ONDATAAVAILABLE +#define DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE DISPID_EVMETH_ONDATASETCOMPLETE +#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS DISPID_EVMETH_ONBEFOREEDITFOCUS +#define DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE DISPID_EVMETH_ONSELECTIONCHANGE +#define DISPID_HTMLDOCUMENTEVENTS2_ONCONTROLSELECT DISPID_EVMETH_ONCONTROLSELECT +#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL DISPID_EVMETH_ONMOUSEWHEEL +#define DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN DISPID_EVMETH_ONFOCUSIN +#define DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT DISPID_EVMETH_ONFOCUSOUT +#define DISPID_HTMLDOCUMENTEVENTS2_ONACTIVATE DISPID_EVMETH_ONACTIVATE +#define DISPID_HTMLDOCUMENTEVENTS2_ONDEACTIVATE DISPID_EVMETH_ONDEACTIVATE +#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE DISPID_EVMETH_ONBEFOREACTIVATE +#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREDEACTIVATE DISPID_EVMETH_ONBEFOREDEACTIVATE + +/* IHTMLDocument */ +#define DISPID_IHTMLDOCUMENT_SCRIPT (DISPID_OMDOCUMENT+1) + +/* IHTMLDocument2 */ +#define DISPID_IHTMLDOCUMENT2_ALL (DISPID_OMDOCUMENT+3) +#define DISPID_IHTMLDOCUMENT2_BODY (DISPID_OMDOCUMENT+4) +#define DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT (DISPID_OMDOCUMENT+5) +#define DISPID_IHTMLDOCUMENT2_APPLETS (DISPID_OMDOCUMENT+8) +#define DISPID_IHTMLDOCUMENT2_ANCHORS (DISPID_OMDOCUMENT+7) +#define DISPID_IHTMLDOCUMENT2_LINKS (DISPID_OMDOCUMENT+9) +#define DISPID_IHTMLDOCUMENT2_FORMS (DISPID_OMDOCUMENT+10) +#define DISPID_IHTMLDOCUMENT2_IMAGES (DISPID_OMDOCUMENT+11) +#define DISPID_IHTMLDOCUMENT2_TITLE (DISPID_OMDOCUMENT+12) +#define DISPID_IHTMLDOCUMENT2_SCRIPTS (DISPID_OMDOCUMENT+13) +#define DISPID_IHTMLDOCUMENT2_DESIGNMODE (DISPID_OMDOCUMENT+14) +#define DISPID_IHTMLDOCUMENT2_EMBEDS (DISPID_OMDOCUMENT+15) +#define DISPID_IHTMLDOCUMENT2_SELECTION (DISPID_OMDOCUMENT+17) +#define DISPID_IHTMLDOCUMENT2_READYSTATE (DISPID_OMDOCUMENT+18) +#define DISPID_IHTMLDOCUMENT2_FRAMES (DISPID_OMDOCUMENT+19) +#define DISPID_IHTMLDOCUMENT2_PLUGINS (DISPID_OMDOCUMENT+21) +#define DISPID_IHTMLDOCUMENT2_ALINKCOLOR (DISPID_OMDOCUMENT+22) +#define DISPID_IHTMLDOCUMENT2_VLINKCOLOR (DISPID_OMDOCUMENT+23) +#define DISPID_IHTMLDOCUMENT2_LINKCOLOR (DISPID_OMDOCUMENT+24) +#define DISPID_IHTMLDOCUMENT2_URL (DISPID_OMDOCUMENT+25) +#define DISPID_IHTMLDOCUMENT2_LOCATION (DISPID_OMDOCUMENT+26) +#define DISPID_IHTMLDOCUMENT2_REFERRER (DISPID_OMDOCUMENT+27) +#define DISPID_IHTMLDOCUMENT2_LASTMODIFIED (DISPID_OMDOCUMENT+28) +#define DISPID_IHTMLDOCUMENT2_DOMAIN (DISPID_OMDOCUMENT+29) +#define DISPID_IHTMLDOCUMENT2_COOKIE (DISPID_OMDOCUMENT+30) +#define DISPID_IHTMLDOCUMENT2_EXPANDO (DISPID_OMDOCUMENT+31) +#define DISPID_IHTMLDOCUMENT2_CHARSET (DISPID_OMDOCUMENT+32) +#define DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET (DISPID_OMDOCUMENT+33) +#define DISPID_IHTMLDOCUMENT2_PARENTWINDOW (DISPID_OMDOCUMENT+34) +#define DISPID_IHTMLDOCUMENT2_MIMETYPE (DISPID_OMDOCUMENT+41) +#define DISPID_IHTMLDOCUMENT2_FILESIZE (DISPID_OMDOCUMENT+42) +#define DISPID_IHTMLDOCUMENT2_FILECREATEDDATE (DISPID_OMDOCUMENT+43) +#define DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE (DISPID_OMDOCUMENT+44) +#define DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE (DISPID_OMDOCUMENT+45) +#define DISPID_IHTMLDOCUMENT2_SECURITY (DISPID_OMDOCUMENT+46) +#define DISPID_IHTMLDOCUMENT2_PROTOCOL (DISPID_OMDOCUMENT+47) +#define DISPID_IHTMLDOCUMENT2_NAMEPROP (DISPID_OMDOCUMENT+48) +#define DISPID_IHTMLDOCUMENT2_WRITE (DISPID_OMDOCUMENT+54) +#define DISPID_IHTMLDOCUMENT2_WRITELN (DISPID_OMDOCUMENT+55) +#define DISPID_IHTMLDOCUMENT2_OPEN (DISPID_OMDOCUMENT+56) +#define DISPID_IHTMLDOCUMENT2_CLOSE (DISPID_OMDOCUMENT+57) +#define DISPID_IHTMLDOCUMENT2_CLEAR (DISPID_OMDOCUMENT+58) +#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED (DISPID_OMDOCUMENT+59) +#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED (DISPID_OMDOCUMENT+60) +#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE (DISPID_OMDOCUMENT+61) +#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM (DISPID_OMDOCUMENT+62) +#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT (DISPID_OMDOCUMENT+63) +#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE (DISPID_OMDOCUMENT+64) +#define DISPID_IHTMLDOCUMENT2_EXECCOMMAND (DISPID_OMDOCUMENT+65) +#define DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP (DISPID_OMDOCUMENT+66) +#define DISPID_IHTMLDOCUMENT2_CREATEELEMENT (DISPID_OMDOCUMENT+67) +#define DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT (DISPID_OMDOCUMENT+68) +#define DISPID_IHTMLDOCUMENT2_STYLESHEETS (DISPID_OMDOCUMENT+69) +#define DISPID_IHTMLDOCUMENT2_TOSTRING (DISPID_OMDOCUMENT+70) +#define DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET (DISPID_OMDOCUMENT+71) +#define DISPID_IHTMLDOCUMENT2_ONHELP DISPID_EVPROP_ONHELP +#define DISPID_IHTMLDOCUMENT2_ONCLICK DISPID_EVPROP_ONCLICK +#define DISPID_IHTMLDOCUMENT2_ONDBLCLICK DISPID_EVPROP_ONDBLCLICK +#define DISPID_IHTMLDOCUMENT2_ONKEYUP DISPID_EVPROP_ONKEYUP +#define DISPID_IHTMLDOCUMENT2_ONKEYDOWN DISPID_EVPROP_ONKEYDOWN +#define DISPID_IHTMLDOCUMENT2_ONKEYPRESS DISPID_EVPROP_ONKEYPRESS +#define DISPID_IHTMLDOCUMENT2_ONMOUSEUP DISPID_EVPROP_ONMOUSEUP +#define DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN DISPID_EVPROP_ONMOUSEDOWN +#define DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE DISPID_EVPROP_ONMOUSEMOVE +#define DISPID_IHTMLDOCUMENT2_ONMOUSEOUT DISPID_EVPROP_ONMOUSEOUT +#define DISPID_IHTMLDOCUMENT2_ONMOUSEOVER DISPID_EVPROP_ONMOUSEOVER +#define DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE DISPID_EVPROP_ONAFTERUPDATE +#define DISPID_IHTMLDOCUMENT2_ONROWEXIT DISPID_EVPROP_ONROWEXIT +#define DISPID_IHTMLDOCUMENT2_ONROWENTER DISPID_EVPROP_ONROWENTER +#define DISPID_IHTMLDOCUMENT2_ONDRAGSTART DISPID_EVPROP_ONDRAGSTART +#define DISPID_IHTMLDOCUMENT2_ONSELECTSTART DISPID_EVPROP_ONSELECTSTART +#define DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE DISPID_EVPROP_ONBEFOREUPDATE +#define DISPID_IHTMLDOCUMENT2_ONERRORUPDATE DISPID_EVPROP_ONERRORUPDATE +#define DISPID_IHTMLDOCUMENT2_BGCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLDOCUMENT2_FGCOLOR DISPID_A_COLOR + +/* IHTMLDocument3 */ +#define DISPID_IHTMLDOCUMENT3_RELEASECAPTURE DISPID_OMDOCUMENT+72 +#define DISPID_IHTMLDOCUMENT3_RECALC DISPID_OMDOCUMENT+73 +#define DISPID_IHTMLDOCUMENT3_CREATETEXTNODE DISPID_OMDOCUMENT+74 +#define DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT DISPID_OMDOCUMENT+75 +#define DISPID_IHTMLDOCUMENT3_UNIQUEID DISPID_OMDOCUMENT+77 +#define DISPID_IHTMLDOCUMENT3_ATTACHEVENT DISPID_HTMLOBJECT+7 +#define DISPID_IHTMLDOCUMENT3_DETACHEVENT DISPID_HTMLOBJECT+8 +#define DISPID_IHTMLDOCUMENT3_ONROWSDELETE DISPID_EVPROP_ONROWSDELETE +#define DISPID_IHTMLDOCUMENT3_ONROWSINSERTED DISPID_EVPROP_ONROWSINSERTED +#define DISPID_IHTMLDOCUMENT3_ONCELLCHANGE DISPID_EVPROP_ONCELLCHANGE +#define DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED DISPID_EVPROP_ONDATASETCHANGED +#define DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE DISPID_EVPROP_ONDATAAVAILABLE +#define DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE DISPID_EVPROP_ONDATASETCOMPLETE +#define DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE DISPID_EVPROP_ONPROPERTYCHANGE +#define DISPID_IHTMLDOCUMENT3_DIR DISPID_A_DIR +#define DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU DISPID_EVPROP_ONCONTEXTMENU +#define DISPID_IHTMLDOCUMENT3_ONSTOP DISPID_EVPROP_ONSTOP +#define DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT DISPID_OMDOCUMENT+76 +#define DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT DISPID_OMDOCUMENT+78 +#define DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD DISPID_OMDOCUMENT+79 +#define DISPID_IHTMLDOCUMENT3_BASEURL DISPID_OMDOCUMENT+80 +#define DISPID_IHTMLDOCUMENT3_CHILDNODES DISPID_ELEMENT+49 +#define DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS DISPID_OMDOCUMENT+82 +#define DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS DISPID_EVPROP_ONBEFOREEDITFOCUS +#define DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME DISPID_OMDOCUMENT+86 +#define DISPID_IHTMLDOCUMENT3_GETELEMENTBYID DISPID_OMDOCUMENT+88 +#define DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME DISPID_OMDOCUMENT+87 + + +/* IHTMLDocument4 */ +#define DISPID_IHTMLDOCUMENT4_FOCUS DISPID_OMDOCUMENT+89 +#define DISPID_IHTMLDOCUMENT4_HASFOCUS DISPID_OMDOCUMENT+90 +#define DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE DISPID_EVPROP_ONSELECTIONCHANGE +#define DISPID_IHTMLDOCUMENT4_NAMESPACES DISPID_OMDOCUMENT+91 +#define DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL DISPID_OMDOCUMENT+92 +#define DISPID_IHTMLDOCUMENT4_MEDIA DISPID_OMDOCUMENT+93 +#define DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT DISPID_OMDOCUMENT+94 +#define DISPID_IHTMLDOCUMENT4_FIREEVENT DISPID_OMDOCUMENT+95 +#define DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE DISPID_OMDOCUMENT+96 +#define DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT DISPID_EVPROP_ONCONTROLSELECT +#define DISPID_IHTMLDOCUMENT4_URLUNENCODED DISPID_OMDOCUMENT+97 + +/* IHTMLDocument5 */ +#define DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL DISPID_EVPROP_ONMOUSEWHEEL +#define DISPID_IHTMLDOCUMENT5_DOCTYPE DISPID_OMDOCUMENT+98 +#define DISPID_IHTMLDOCUMENT5_IMPLEMENTATION DISPID_OMDOCUMENT+99 +#define DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE DISPID_OMDOCUMENT+100 +#define DISPID_IHTMLDOCUMENT5_CREATECOMMENT DISPID_OMDOCUMENT+101 +#define DISPID_IHTMLDOCUMENT5_ONFOCUSIN DISPID_EVPROP_ONFOCUSIN +#define DISPID_IHTMLDOCUMENT5_ONFOCUSOUT DISPID_EVPROP_ONFOCUSOUT +#define DISPID_IHTMLDOCUMENT5_ONACTIVATE DISPID_EVPROP_ONACTIVATE +#define DISPID_IHTMLDOCUMENT5_ONDEACTIVATE DISPID_EVPROP_ONDEACTIVATE +#define DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE DISPID_EVPROP_ONBEFOREACTIVATE +#define DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE DISPID_EVPROP_ONBEFOREDEACTIVATE +#define DISPID_IHTMLDOCUMENT5_COMPATMODE DISPID_OMDOCUMENT+102 + +/* IHTMLDocument6 */ +#define DISPID_IHTMLDOCUMENT6_COMPATIBLE DISPID_OMDOCUMENT+103 +#define DISPID_IHTMLDOCUMENT6_DOCUMENTMODE DISPID_OMDOCUMENT+104 +#define DISPID_IHTMLDOCUMENT6_ONSTORAGE DISPID_EVPROP_ONSTORAGE +#define DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT DISPID_EVPROP_ONSTORAGECOMMIT +#define DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID DISPID_OMDOCUMENT+107 +#define DISPID_IHTMLDOCUMENT6_UPDATESETTINGS DISPID_OMDOCUMENT+109 + +/* IHTMLDocument7 */ +#define DISPID_IHTMLDOCUMENT7_DEFAULTVIEW DISPID_OMDOCUMENT+110 +#define DISPID_IHTMLDOCUMENT7_CREATECDATASECTION DISPID_OMDOCUMENT+123 +#define DISPID_IHTMLDOCUMENT7_GETSELECTION DISPID_OMDOCUMENT+112 +#define DISPID_IHTMLDOCUMENT7_GETELEMENTSBYTAGNAMENS DISPID_OMDOCUMENT+113 +#define DISPID_IHTMLDOCUMENT7_CREATEELEMENTNS DISPID_OMDOCUMENT+114 +#define DISPID_IHTMLDOCUMENT7_CREATEATTRIBUTENS DISPID_OMDOCUMENT+115 +#define DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK DISPID_EVPROP_ONMSTHUMBNAILCLICK +#define DISPID_IHTMLDOCUMENT7_CHARACTERSET DISPID_OMDOCUMENT+117 +#define DISPID_IHTMLDOCUMENT7_IE9_CREATEELEMENT DISPID_OMDOCUMENT+118 +#define DISPID_IHTMLDOCUMENT7_IE9_CREATEATTRIBUTE DISPID_OMDOCUMENT+119 +#define DISPID_IHTMLDOCUMENT7_GETELEMENTSBYCLASSNAME DISPID_OMDOCUMENT+120 +#define DISPID_IHTMLDOCUMENT7_CREATEPROCESSINGINSTRUCTION DISPID_OMDOCUMENT+124 +#define DISPID_IHTMLDOCUMENT7_ADOPTNODE DISPID_OMDOCUMENT+125 +#define DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED DISPID_EVPROP_ONMSSITEMODEJUMPLISTITEMREMOVED +#define DISPID_IHTMLDOCUMENT7_IE9_ALL DISPID_OMDOCUMENT+126 +#define DISPID_IHTMLDOCUMENT7_INPUTENCODING DISPID_OMDOCUMENT+127 +#define DISPID_IHTMLDOCUMENT7_XMLENCODING DISPID_OMDOCUMENT+128 +#define DISPID_IHTMLDOCUMENT7_XMLSTANDALONE DISPID_OMDOCUMENT+129 +#define DISPID_IHTMLDOCUMENT7_XMLVERSION DISPID_OMDOCUMENT+130 +#define DISPID_IHTMLDOCUMENT7_HASATTRIBUTES DISPID_OMDOCUMENT+132 +#define DISPID_IHTMLDOCUMENT7_ONABORT DISPID_EVPROP_ONABORT +#define DISPID_IHTMLDOCUMENT7_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLDOCUMENT7_ONCANPLAY DISPID_EVPROP_CANPLAY +#define DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH DISPID_EVPROP_CANPLAYTHROUGH +#define DISPID_IHTMLDOCUMENT7_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLDOCUMENT7_ONDRAG DISPID_EVPROP_ONDRAG +#define DISPID_IHTMLDOCUMENT7_ONDRAGEND DISPID_EVPROP_ONDRAGEND +#define DISPID_IHTMLDOCUMENT7_ONDRAGENTER DISPID_EVPROP_ONDRAGENTER +#define DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE DISPID_EVPROP_ONDRAGLEAVE +#define DISPID_IHTMLDOCUMENT7_ONDRAGOVER DISPID_EVPROP_ONDRAGOVER +#define DISPID_IHTMLDOCUMENT7_ONDROP DISPID_EVPROP_ONDROP +#define DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE DISPID_EVPROP_DURATIONCHANGE +#define DISPID_IHTMLDOCUMENT7_ONEMPTIED DISPID_EVPROP_EMPTIED +#define DISPID_IHTMLDOCUMENT7_ONENDED DISPID_EVPROP_ENDED +#define DISPID_IHTMLDOCUMENT7_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLDOCUMENT7_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLDOCUMENT7_ONINPUT DISPID_EVPROP_INPUT +#define DISPID_IHTMLDOCUMENT7_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLDOCUMENT7_ONLOADEDDATA DISPID_EVPROP_LOADEDDATA +#define DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA DISPID_EVPROP_LOADEDMETADATA +#define DISPID_IHTMLDOCUMENT7_ONLOADSTART DISPID_EVPROP_LOADSTART +#define DISPID_IHTMLDOCUMENT7_ONPAUSE DISPID_EVPROP_PAUSE +#define DISPID_IHTMLDOCUMENT7_ONPLAY DISPID_EVPROP_PLAY +#define DISPID_IHTMLDOCUMENT7_ONPLAYING DISPID_EVPROP_PLAYING +#define DISPID_IHTMLDOCUMENT7_ONPROGRESS DISPID_EVPROP_PROGRESS +#define DISPID_IHTMLDOCUMENT7_ONRATECHANGE DISPID_EVPROP_RATECHANGE +#define DISPID_IHTMLDOCUMENT7_ONRESET DISPID_EVPROP_ONRESET +#define DISPID_IHTMLDOCUMENT7_ONSCROLL DISPID_EVPROP_ONSCROLL +#define DISPID_IHTMLDOCUMENT7_ONSEEKED DISPID_EVPROP_SEEKED +#define DISPID_IHTMLDOCUMENT7_ONSEEKING DISPID_EVPROP_SEEKING +#define DISPID_IHTMLDOCUMENT7_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLDOCUMENT7_ONSTALLED DISPID_EVPROP_STALLED +#define DISPID_IHTMLDOCUMENT7_ONSUBMIT DISPID_EVPROP_ONSUBMIT +#define DISPID_IHTMLDOCUMENT7_ONSUSPEND DISPID_EVPROP_SUSPEND +#define DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE DISPID_EVPROP_TIMEUPDATE +#define DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE DISPID_EVPROP_VOLUMECHANGE +#define DISPID_IHTMLDOCUMENT7_ONWAITING DISPID_EVPROP_WAITING +#define DISPID_IHTMLDOCUMENT7_NORMALIZE DISPID_OMDOCUMENT+134 +#define DISPID_IHTMLDOCUMENT7_IMPORTNODE DISPID_OMDOCUMENT+135 +#define DISPID_IHTMLDOCUMENT7_IE9_PARENTWINDOW DISPID_OMDOCUMENT+136 +#define DISPID_IHTMLDOCUMENT7_IE9_BODY DISPID_OMDOCUMENT+137 +#define DISPID_IHTMLDOCUMENT7_HEAD DISPID_OMDOCUMENT+138 + +/* IHTMLDocument8 */ +#define DISPID_IHTMLDOCUMENT8_ONMSCONTENTZOOM DISPID_EVPROP_ONMSCONTENTZOOM +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTERDOWN DISPID_EVPROP_ONMSPOINTERDOWN +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTERMOVE DISPID_EVPROP_ONMSPOINTERMOVE +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTERUP DISPID_EVPROP_ONMSPOINTERUP +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTEROVER DISPID_EVPROP_ONMSPOINTEROVER +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTEROUT DISPID_EVPROP_ONMSPOINTEROUT +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTERCANCEL DISPID_EVPROP_ONMSPOINTERCANCEL +#define DISPID_IHTMLDOCUMENT8_ONMSPOINTERHOVER DISPID_EVPROP_ONMSPOINTERHOVER +#define DISPID_IHTMLDOCUMENT8_ONMSGESTURESTART DISPID_EVPROP_ONMSGESTURESTART +#define DISPID_IHTMLDOCUMENT8_ONMSGESTURECHANGE DISPID_EVPROP_ONMSGESTURECHANGE +#define DISPID_IHTMLDOCUMENT8_ONMSGESTUREEND DISPID_EVPROP_ONMSGESTUREEND +#define DISPID_IHTMLDOCUMENT8_ONMSGESTUREHOLD DISPID_EVPROP_ONMSGESTUREHOLD +#define DISPID_IHTMLDOCUMENT8_ONMSGESTURETAP DISPID_EVPROP_ONMSGESTURETAP +#define DISPID_IHTMLDOCUMENT8_ONMSGESTUREDOUBLETAP DISPID_EVPROP_ONMSGESTUREDOUBLETAP +#define DISPID_IHTMLDOCUMENT8_ONMSINERTIASTART DISPID_EVPROP_ONMSINERTIASTART +#define DISPID_IHTMLDOCUMENT8_ELEMENTSFROMPOINT DISPID_OMDOCUMENT+139 +#define DISPID_IHTMLDOCUMENT8_ELEMENTSFROMRECT DISPID_OMDOCUMENT+140 +#define DISPID_IHTMLDOCUMENT8_ONMSMANIPULATIONSTATECHANGED DISPID_EVPROP_ONMSMANIPULATIONSTATECHANGED +#define DISPID_IHTMLDOCUMENT8_MSCAPSLOCKWARNINGOFF DISPID_OMDOCUMENT+141 + +/* DWebBridgeEvents */ +#define DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT 1 +#define DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE +#define DISPID_DWEBBRIDGEEVENTS_ONCLICK DISPID_HTMLDOCUMENTEVENTS_ONCLICK +#define DISPID_DWEBBRIDGEEVENTS_ONDBLCLICK DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK +#define DISPID_DWEBBRIDGEEVENTS_ONKEYDOWN DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN +#define DISPID_DWEBBRIDGEEVENTS_ONKEYUP DISPID_HTMLDOCUMENTEVENTS_ONKEYUP +#define DISPID_DWEBBRIDGEEVENTS_ONKEYPRESS DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS +#define DISPID_DWEBBRIDGEEVENTS_ONMOUSEDOWN DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN +#define DISPID_DWEBBRIDGEEVENTS_ONMOUSEMOVE DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE +#define DISPID_DWEBBRIDGEEVENTS_ONMOUSEUP DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP + +/* IWebBridge */ +#define DISPID_IWEBBRIDGE_URL 1 +#define DISPID_IWEBBRIDGE_SCROLLBAR 2 +#define DISPID_IWEBBRIDGE_EMBED 3 +#define DISPID_IWEBBRIDGE_EVENT DISPID_IHTMLWINDOW2_EVENT +#define DISPID_IWEBBRIDGE_READYSTATE DISPID_READYSTATE +#define DISPID_IWEBBRIDGE_ABOUTBOX DISPID_ABOUTBOX + +/* IHTMLEmbedElement */ +#define DISPID_IHTMLEMBEDELEMENT_HIDDEN DISPID_OBJECT+10 +#define DISPID_IHTMLEMBEDELEMENT_PALETTE DISPID_OBJECT+4 +#define DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE DISPID_OBJECT+5 +#define DISPID_IHTMLEMBEDELEMENT_SRC DISPID_OBJECT+6 +#define DISPID_IHTMLEMBEDELEMENT_UNITS DISPID_OBJECT+8 +#define DISPID_IHTMLEMBEDELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLEMBEDELEMENT_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLEMBEDELEMENT_HEIGHT STDPROPID_XOBJ_HEIGHT + +/* IHTMLEmbedElement2 */ +#define DISPID_IHTMLEMBEDELEMENT2_IE8_SRC DISPID_IE8_EMBED +#define DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE DISPID_IE8_EMBED+1 + +/* IHTMLElementCollection */ +#define DISPID_IHTMLELEMENTCOLLECTION_LENGTH DISPID_COLLECTION +#define DISPID_IHTMLELEMENTCOLLECTION_TOSTRING (DISPID_COLLECTION+1) +#define DISPID_IHTMLELEMENTCOLLECTION_TAGS (DISPID_COLLECTION+2) +#define DISPID_IHTMLELEMENTCOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLELEMENTCOLLECTION_ITEM DISPID_VALUE + +/* IHTMLElementCollection2 */ +#define DISPID_IHTMLELEMENTCOLLECTION2_URNS DISPID_COLLECTION+5 + +/* IHTMLElementCollection3 */ +#define DISPID_IHTMLELEMENTCOLLECTION3_NAMEDITEM DISPID_COLLECTION+6 + + +/* IHTMLAttributeCollection */ +#define DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH DISPID_COLLECTION +#define DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLATTRIBUTECOLLECTION_ITEM DISPID_VALUE + +/* IHTMLAttributeCollection2 */ +#define DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM DISPID_COLLECTION+1 +#define DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM DISPID_COLLECTION+2 +#define DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM DISPID_COLLECTION+3 + +/* IHTMLAttributeCollection3 */ +#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM DISPID_IE8_NAMEDNODEMAP +#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM DISPID_IE8_NAMEDNODEMAP+1 +#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM DISPID_IE8_NAMEDNODEMAP+2 +#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM DISPID_IE8_NAMEDNODEMAP+4 +#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH DISPID_IE8_NAMEDNODEMAP+3 + +/* IHTMLDOMChildrenCollection */ +#define DISPID_IHTMLDOMCHILDRENCOLLECTION_LENGTH DISPID_COLLECTION +#define DISPID_IHTMLDOMCHILDRENCOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLDOMCHILDRENCOLLECTION_ITEM DISPID_VALUE + +/* HTMLElementEvents */ +#define DISPID_HTMLELEMENTEVENTS_ONHELP DISPID_EVMETH_ONHELP +#define DISPID_HTMLELEMENTEVENTS_ONCLICK DISPID_EVMETH_ONCLICK +#define DISPID_HTMLELEMENTEVENTS_ONDBLCLICK DISPID_EVMETH_ONDBLCLICK +#define DISPID_HTMLELEMENTEVENTS_ONKEYPRESS DISPID_EVMETH_ONKEYPRESS +#define DISPID_HTMLELEMENTEVENTS_ONKEYDOWN DISPID_EVMETH_ONKEYDOWN +#define DISPID_HTMLELEMENTEVENTS_ONKEYUP DISPID_EVMETH_ONKEYUP +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT DISPID_EVMETH_ONMOUSEOUT +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER DISPID_EVMETH_ONMOUSEOVER +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE DISPID_EVMETH_ONMOUSEMOVE +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN DISPID_EVMETH_ONMOUSEDOWN +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEUP DISPID_EVMETH_ONMOUSEUP +#define DISPID_HTMLELEMENTEVENTS_ONSELECTSTART DISPID_EVMETH_ONSELECTSTART +#define DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE DISPID_EVMETH_ONFILTER +#define DISPID_HTMLELEMENTEVENTS_ONDRAGSTART DISPID_EVMETH_ONDRAGSTART +#define DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE DISPID_EVMETH_ONBEFOREUPDATE +#define DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE DISPID_EVMETH_ONAFTERUPDATE +#define DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE DISPID_EVMETH_ONERRORUPDATE +#define DISPID_HTMLELEMENTEVENTS_ONROWEXIT DISPID_EVMETH_ONROWEXIT +#define DISPID_HTMLELEMENTEVENTS_ONROWENTER DISPID_EVMETH_ONROWENTER +#define DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED DISPID_EVMETH_ONDATASETCHANGED +#define DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE DISPID_EVMETH_ONDATAAVAILABLE +#define DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE DISPID_EVMETH_ONDATASETCOMPLETE +#define DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE DISPID_EVMETH_ONLOSECAPTURE +#define DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE DISPID_EVMETH_ONPROPERTYCHANGE +#define DISPID_HTMLELEMENTEVENTS_ONSCROLL DISPID_EVMETH_ONSCROLL +#define DISPID_HTMLELEMENTEVENTS_ONFOCUS DISPID_EVMETH_ONFOCUS +#define DISPID_HTMLELEMENTEVENTS_ONBLUR DISPID_EVMETH_ONBLUR +#define DISPID_HTMLELEMENTEVENTS_ONRESIZE DISPID_EVMETH_ONRESIZE +#define DISPID_HTMLELEMENTEVENTS_ONDRAG DISPID_EVMETH_ONDRAG +#define DISPID_HTMLELEMENTEVENTS_ONDRAGEND DISPID_EVMETH_ONDRAGEND +#define DISPID_HTMLELEMENTEVENTS_ONDRAGENTER DISPID_EVMETH_ONDRAGENTER +#define DISPID_HTMLELEMENTEVENTS_ONDRAGOVER DISPID_EVMETH_ONDRAGOVER +#define DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE DISPID_EVMETH_ONDRAGLEAVE +#define DISPID_HTMLELEMENTEVENTS_ONDROP DISPID_EVMETH_ONDROP +#define DISPID_HTMLELEMENTEVENTS_ONBEFORECUT DISPID_EVMETH_ONBEFORECUT +#define DISPID_HTMLELEMENTEVENTS_ONCUT DISPID_EVMETH_ONCUT +#define DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY DISPID_EVMETH_ONBEFORECOPY +#define DISPID_HTMLELEMENTEVENTS_ONCOPY DISPID_EVMETH_ONCOPY +#define DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE DISPID_EVMETH_ONBEFOREPASTE +#define DISPID_HTMLELEMENTEVENTS_ONPASTE DISPID_EVMETH_ONPASTE +#define DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU DISPID_EVMETH_ONCONTEXTMENU +#define DISPID_HTMLELEMENTEVENTS_ONROWSDELETE DISPID_EVMETH_ONROWSDELETE +#define DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED DISPID_EVMETH_ONROWSINSERTED +#define DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE DISPID_EVMETH_ONCELLCHANGE +#define DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE DISPID_EVMETH_ONREADYSTATECHANGE +#define DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS DISPID_EVMETH_ONBEFOREEDITFOCUS +#define DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE DISPID_EVMETH_ONLAYOUTCOMPLETE +#define DISPID_HTMLELEMENTEVENTS_ONPAGE DISPID_EVMETH_ONPAGE +#define DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE DISPID_EVMETH_ONBEFOREDEACTIVATE +#define DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE DISPID_EVMETH_ONBEFOREACTIVATE +#define DISPID_HTMLELEMENTEVENTS_ONMOVE DISPID_EVMETH_ONMOVE +#define DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT DISPID_EVMETH_ONCONTROLSELECT +#define DISPID_HTMLELEMENTEVENTS_ONMOVESTART DISPID_EVMETH_ONMOVESTART +#define DISPID_HTMLELEMENTEVENTS_ONMOVEEND DISPID_EVMETH_ONMOVEEND +#define DISPID_HTMLELEMENTEVENTS_ONRESIZESTART DISPID_EVMETH_ONRESIZESTART +#define DISPID_HTMLELEMENTEVENTS_ONRESIZEEND DISPID_EVMETH_ONRESIZEEND +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER DISPID_EVMETH_ONMOUSEENTER +#define DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE DISPID_EVMETH_ONMOUSELEAVE +#define DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL DISPID_EVMETH_ONMOUSEWHEEL +#define DISPID_HTMLELEMENTEVENTS_ONACTIVATE DISPID_EVMETH_ONACTIVATE +#define DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE DISPID_EVMETH_ONDEACTIVATE +#define DISPID_HTMLELEMENTEVENTS_ONFOCUSIN DISPID_EVMETH_ONFOCUSIN +#define DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT DISPID_EVMETH_ONFOCUSOUT + +/* HTMLElementEvents2 */ + +#define DISPID_HTMLELEMENTEVENTS2_ONHELP DISPID_EVMETH_ONHELP +#define DISPID_HTMLELEMENTEVENTS2_ONCLICK DISPID_EVMETH_ONCLICK +#define DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK DISPID_EVMETH_ONDBLCLICK +#define DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS DISPID_EVMETH_ONKEYPRESS +#define DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN DISPID_EVMETH_ONKEYDOWN +#define DISPID_HTMLELEMENTEVENTS2_ONKEYUP DISPID_EVMETH_ONKEYUP +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT DISPID_EVMETH_ONMOUSEOUT +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER DISPID_EVMETH_ONMOUSEOVER +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE DISPID_EVMETH_ONMOUSEMOVE +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN DISPID_EVMETH_ONMOUSEDOWN +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP DISPID_EVMETH_ONMOUSEUP +#define DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART DISPID_EVMETH_ONSELECTSTART +#define DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE DISPID_EVMETH_ONFILTER +#define DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART DISPID_EVMETH_ONDRAGSTART +#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE DISPID_EVMETH_ONBEFOREUPDATE +#define DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE DISPID_EVMETH_ONAFTERUPDATE +#define DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE DISPID_EVMETH_ONERRORUPDATE +#define DISPID_HTMLELEMENTEVENTS2_ONROWEXIT DISPID_EVMETH_ONROWEXIT +#define DISPID_HTMLELEMENTEVENTS2_ONROWENTER DISPID_EVMETH_ONROWENTER +#define DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED DISPID_EVMETH_ONDATASETCHANGED +#define DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE DISPID_EVMETH_ONDATAAVAILABLE +#define DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE DISPID_EVMETH_ONDATASETCOMPLETE +#define DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE DISPID_EVMETH_ONLOSECAPTURE +#define DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE DISPID_EVMETH_ONPROPERTYCHANGE +#define DISPID_HTMLELEMENTEVENTS2_ONSCROLL DISPID_EVMETH_ONSCROLL +#define DISPID_HTMLELEMENTEVENTS2_ONFOCUS DISPID_EVMETH_ONFOCUS +#define DISPID_HTMLELEMENTEVENTS2_ONBLUR DISPID_EVMETH_ONBLUR +#define DISPID_HTMLELEMENTEVENTS2_ONRESIZE DISPID_EVMETH_ONRESIZE +#define DISPID_HTMLELEMENTEVENTS2_ONDRAG DISPID_EVMETH_ONDRAG +#define DISPID_HTMLELEMENTEVENTS2_ONDRAGEND DISPID_EVMETH_ONDRAGEND +#define DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER DISPID_EVMETH_ONDRAGENTER +#define DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER DISPID_EVMETH_ONDRAGOVER +#define DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE DISPID_EVMETH_ONDRAGLEAVE +#define DISPID_HTMLELEMENTEVENTS2_ONDROP DISPID_EVMETH_ONDROP +#define DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT DISPID_EVMETH_ONBEFORECUT +#define DISPID_HTMLELEMENTEVENTS2_ONCUT DISPID_EVMETH_ONCUT +#define DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY DISPID_EVMETH_ONBEFORECOPY +#define DISPID_HTMLELEMENTEVENTS2_ONCOPY DISPID_EVMETH_ONCOPY +#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE DISPID_EVMETH_ONBEFOREPASTE +#define DISPID_HTMLELEMENTEVENTS2_ONPASTE DISPID_EVMETH_ONPASTE +#define DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU DISPID_EVMETH_ONCONTEXTMENU +#define DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE DISPID_EVMETH_ONROWSDELETE +#define DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED DISPID_EVMETH_ONROWSINSERTED +#define DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE DISPID_EVMETH_ONCELLCHANGE +#define DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE DISPID_EVMETH_ONREADYSTATECHANGE +#define DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE DISPID_EVMETH_ONLAYOUTCOMPLETE +#define DISPID_HTMLELEMENTEVENTS2_ONPAGE DISPID_EVMETH_ONPAGE +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER DISPID_EVMETH_ONMOUSEENTER +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE DISPID_EVMETH_ONMOUSELEAVE +#define DISPID_HTMLELEMENTEVENTS2_ONACTIVATE DISPID_EVMETH_ONACTIVATE +#define DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE DISPID_EVMETH_ONDEACTIVATE +#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE DISPID_EVMETH_ONBEFOREDEACTIVATE +#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE DISPID_EVMETH_ONBEFOREACTIVATE +#define DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN DISPID_EVMETH_ONFOCUSIN +#define DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT DISPID_EVMETH_ONFOCUSOUT +#define DISPID_HTMLELEMENTEVENTS2_ONMOVE DISPID_EVMETH_ONMOVE +#define DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT DISPID_EVMETH_ONCONTROLSELECT +#define DISPID_HTMLELEMENTEVENTS2_ONMOVESTART DISPID_EVMETH_ONMOVESTART +#define DISPID_HTMLELEMENTEVENTS2_ONMOVEEND DISPID_EVMETH_ONMOVEEND +#define DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART DISPID_EVMETH_ONRESIZESTART +#define DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND DISPID_EVMETH_ONRESIZEEND +#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL DISPID_EVMETH_ONMOUSEWHEEL + +/* IHTMLElement */ +#define DISPID_IHTMLELEMENT_SETATTRIBUTE (DISPID_HTMLOBJECT+1) +#define DISPID_IHTMLELEMENT_GETATTRIBUTE (DISPID_HTMLOBJECT+2) +#define DISPID_IHTMLELEMENT_REMOVEATTRIBUTE (DISPID_HTMLOBJECT+3) +#define DISPID_IHTMLELEMENT_CLASSNAME (DISPID_ELEMENT+1) +#define DISPID_IHTMLELEMENT_ID (DISPID_ELEMENT+2) +#define DISPID_IHTMLELEMENT_TAGNAME (DISPID_ELEMENT+4) +#define DISPID_IHTMLELEMENT_OFFSETLEFT (DISPID_ELEMENT+8) +#define DISPID_IHTMLELEMENT_OFFSETTOP (DISPID_ELEMENT+9) +#define DISPID_IHTMLELEMENT_OFFSETWIDTH (DISPID_ELEMENT+10) +#define DISPID_IHTMLELEMENT_OFFSETHEIGHT (DISPID_ELEMENT+11) +#define DISPID_IHTMLELEMENT_OFFSETPARENT (DISPID_ELEMENT+12) +#define DISPID_IHTMLELEMENT_DOCUMENT (DISPID_ELEMENT+18) +#define DISPID_IHTMLELEMENT_SCROLLINTOVIEW (DISPID_ELEMENT+19) +#define DISPID_IHTMLELEMENT_CONTAINS (DISPID_ELEMENT+20) +#define DISPID_IHTMLELEMENT_SOURCEINDEX (DISPID_ELEMENT+24) +#define DISPID_IHTMLELEMENT_RECORDNUMBER (DISPID_ELEMENT+25) +#define DISPID_IHTMLELEMENT_INNERHTML (DISPID_ELEMENT+26) +#define DISPID_IHTMLELEMENT_INNERTEXT (DISPID_ELEMENT+27) +#define DISPID_IHTMLELEMENT_OUTERHTML (DISPID_ELEMENT+28) +#define DISPID_IHTMLELEMENT_OUTERTEXT (DISPID_ELEMENT+29) +#define DISPID_IHTMLELEMENT_INSERTADJACENTHTML (DISPID_ELEMENT+30) +#define DISPID_IHTMLELEMENT_INSERTADJACENTTEXT (DISPID_ELEMENT+31) +#define DISPID_IHTMLELEMENT_PARENTTEXTEDIT (DISPID_ELEMENT+32) +#define DISPID_IHTMLELEMENT_ISTEXTEDIT (DISPID_ELEMENT+34) +#define DISPID_IHTMLELEMENT_CLICK (DISPID_ELEMENT+33) +#define DISPID_IHTMLELEMENT_FILTERS (DISPID_ELEMENT+35) +#define DISPID_IHTMLELEMENT_TOSTRING (DISPID_ELEMENT+36) +#define DISPID_IHTMLELEMENT_CHILDREN (DISPID_ELEMENT+37) +#define DISPID_IHTMLELEMENT_ALL (DISPID_ELEMENT+38) +#define DISPID_IHTMLELEMENT_PARENTELEMENT STDPROPID_XOBJ_PARENT +#define DISPID_IHTMLELEMENT_STYLE STDPROPID_XOBJ_STYLE +#define DISPID_IHTMLELEMENT_ONHELP DISPID_EVPROP_ONHELP +#define DISPID_IHTMLELEMENT_ONCLICK DISPID_EVPROP_ONCLICK +#define DISPID_IHTMLELEMENT_ONDBLCLICK DISPID_EVPROP_ONDBLCLICK +#define DISPID_IHTMLELEMENT_ONKEYDOWN DISPID_EVPROP_ONKEYDOWN +#define DISPID_IHTMLELEMENT_ONKEYUP DISPID_EVPROP_ONKEYUP +#define DISPID_IHTMLELEMENT_ONKEYPRESS DISPID_EVPROP_ONKEYPRESS +#define DISPID_IHTMLELEMENT_ONMOUSEOUT DISPID_EVPROP_ONMOUSEOUT +#define DISPID_IHTMLELEMENT_ONMOUSEOVER DISPID_EVPROP_ONMOUSEOVER +#define DISPID_IHTMLELEMENT_ONMOUSEMOVE DISPID_EVPROP_ONMOUSEMOVE +#define DISPID_IHTMLELEMENT_ONMOUSEDOWN DISPID_EVPROP_ONMOUSEDOWN +#define DISPID_IHTMLELEMENT_ONMOUSEUP DISPID_EVPROP_ONMOUSEUP +#define DISPID_IHTMLELEMENT_TITLE STDPROPID_XOBJ_CONTROLTIPTEXT +#define DISPID_IHTMLELEMENT_LANGUAGE DISPID_A_LANGUAGE +#define DISPID_IHTMLELEMENT_ONSELECTSTART DISPID_EVPROP_ONSELECTSTART +#define DISPID_IHTMLELEMENT_LANG DISPID_A_LANG +#define DISPID_IHTMLELEMENT_ONDRAGSTART DISPID_EVPROP_ONDRAGSTART +#define DISPID_IHTMLELEMENT_ONBEFOREUPDATE DISPID_EVPROP_ONBEFOREUPDATE +#define DISPID_IHTMLELEMENT_ONAFTERUPDATE DISPID_EVPROP_ONAFTERUPDATE +#define DISPID_IHTMLELEMENT_ONERRORUPDATE DISPID_EVPROP_ONERRORUPDATE +#define DISPID_IHTMLELEMENT_ONROWEXIT DISPID_EVPROP_ONROWEXIT +#define DISPID_IHTMLELEMENT_ONROWENTER DISPID_EVPROP_ONROWENTER +#define DISPID_IHTMLELEMENT_ONDATASETCHANGED DISPID_EVPROP_ONDATASETCHANGED +#define DISPID_IHTMLELEMENT_ONDATAAVAILABLE DISPID_EVPROP_ONDATAAVAILABLE +#define DISPID_IHTMLELEMENT_ONDATASETCOMPLETE DISPID_EVPROP_ONDATASETCOMPLETE +#define DISPID_IHTMLELEMENT_ONFILTERCHANGE DISPID_EVPROP_ONFILTER + +/* IHTMLElement2 */ +#define DISPID_IHTMLELEMENT2_SCOPENAME DISPID_ELEMENT+39 +#define DISPID_IHTMLELEMENT2_SETCAPTURE DISPID_ELEMENT+40 +#define DISPID_IHTMLELEMENT2_RELEASECAPTURE DISPID_ELEMENT+41 +#define DISPID_IHTMLELEMENT2_ONLOSECAPTURE DISPID_EVPROP_ONLOSECAPTURE +#define DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT DISPID_ELEMENT+42 +#define DISPID_IHTMLELEMENT2_DOSCROLL DISPID_ELEMENT+43 +#define DISPID_IHTMLELEMENT2_ONSCROLL DISPID_EVPROP_ONSCROLL +#define DISPID_IHTMLELEMENT2_ONDRAG DISPID_EVPROP_ONDRAG +#define DISPID_IHTMLELEMENT2_ONDRAGEND DISPID_EVPROP_ONDRAGEND +#define DISPID_IHTMLELEMENT2_ONDRAGENTER DISPID_EVPROP_ONDRAGENTER +#define DISPID_IHTMLELEMENT2_ONDRAGOVER DISPID_EVPROP_ONDRAGOVER +#define DISPID_IHTMLELEMENT2_ONDRAGLEAVE DISPID_EVPROP_ONDRAGLEAVE +#define DISPID_IHTMLELEMENT2_ONDROP DISPID_EVPROP_ONDROP +#define DISPID_IHTMLELEMENT2_ONBEFORECUT DISPID_EVPROP_ONBEFORECUT +#define DISPID_IHTMLELEMENT2_ONCUT DISPID_EVPROP_ONCUT +#define DISPID_IHTMLELEMENT2_ONBEFORECOPY DISPID_EVPROP_ONBEFORECOPY +#define DISPID_IHTMLELEMENT2_ONCOPY DISPID_EVPROP_ONCOPY +#define DISPID_IHTMLELEMENT2_ONBEFOREPASTE DISPID_EVPROP_ONBEFOREPASTE +#define DISPID_IHTMLELEMENT2_ONPASTE DISPID_EVPROP_ONPASTE +#define DISPID_IHTMLELEMENT2_CURRENTSTYLE DISPID_ELEMENT+7 +#define DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE DISPID_EVPROP_ONPROPERTYCHANGE +#define DISPID_IHTMLELEMENT2_GETCLIENTRECTS DISPID_ELEMENT+44 +#define DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT DISPID_ELEMENT+45 +#define DISPID_IHTMLELEMENT2_SETEXPRESSION DISPID_HTMLOBJECT+4 +#define DISPID_IHTMLELEMENT2_GETEXPRESSION DISPID_HTMLOBJECT+5 +#define DISPID_IHTMLELEMENT2_REMOVEEXPRESSION DISPID_HTMLOBJECT+6 +#define DISPID_IHTMLELEMENT2_TABINDEX STDPROPID_XOBJ_TABINDEX +#define DISPID_IHTMLELEMENT2_FOCUS DISPID_SITE +#define DISPID_IHTMLELEMENT2_ACCESSKEY DISPID_SITE+5 +#define DISPID_IHTMLELEMENT2_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLELEMENT2_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLELEMENT2_ONRESIZE DISPID_EVPROP_ONRESIZE +#define DISPID_IHTMLELEMENT2_BLUR DISPID_SITE+2 +#define DISPID_IHTMLELEMENT2_ADDFILTER DISPID_SITE+17 +#define DISPID_IHTMLELEMENT2_REMOVEFILTER DISPID_SITE+18 +#define DISPID_IHTMLELEMENT2_CLIENTHEIGHT DISPID_SITE+19 +#define DISPID_IHTMLELEMENT2_CLIENTWIDTH DISPID_SITE+20 +#define DISPID_IHTMLELEMENT2_CLIENTTOP DISPID_SITE+21 +#define DISPID_IHTMLELEMENT2_CLIENTLEFT DISPID_SITE+22 +#define DISPID_IHTMLELEMENT2_ATTACHEVENT DISPID_HTMLOBJECT+7 +#define DISPID_IHTMLELEMENT2_DETACHEVENT DISPID_HTMLOBJECT+8 +#define DISPID_IHTMLELEMENT2_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLELEMENT2_ONROWSDELETE DISPID_EVPROP_ONROWSDELETE +#define DISPID_IHTMLELEMENT2_ONROWSINSERTED DISPID_EVPROP_ONROWSINSERTED +#define DISPID_IHTMLELEMENT2_ONCELLCHANGE DISPID_EVPROP_ONCELLCHANGE +#define DISPID_IHTMLELEMENT2_DIR DISPID_A_DIR +#define DISPID_IHTMLELEMENT2_CREATECONTROLRANGE DISPID_ELEMENT+56 +#define DISPID_IHTMLELEMENT2_SCROLLHEIGHT DISPID_ELEMENT+57 +#define DISPID_IHTMLELEMENT2_SCROLLWIDTH DISPID_ELEMENT+58 +#define DISPID_IHTMLELEMENT2_SCROLLTOP DISPID_ELEMENT+59 +#define DISPID_IHTMLELEMENT2_SCROLLLEFT DISPID_ELEMENT+60 +#define DISPID_IHTMLELEMENT2_CLEARATTRIBUTES DISPID_ELEMENT+62 +#define DISPID_IHTMLELEMENT2_MERGEATTRIBUTES DISPID_ELEMENT+63 +#define DISPID_IHTMLELEMENT2_ONCONTEXTMENU DISPID_EVPROP_ONCONTEXTMENU +#define DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT DISPID_ELEMENT+69 +#define DISPID_IHTMLELEMENT2_APPLYELEMENT DISPID_ELEMENT+65 +#define DISPID_IHTMLELEMENT2_GETADJACENTTEXT DISPID_ELEMENT+70 +#define DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT DISPID_ELEMENT+71 +#define DISPID_IHTMLELEMENT2_CANHAVECHILDREN DISPID_ELEMENT+72 +#define DISPID_IHTMLELEMENT2_ADDBEHAVIOR DISPID_ELEMENT+80 +#define DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR DISPID_ELEMENT+81 +#define DISPID_IHTMLELEMENT2_RUNTIMESTYLE DISPID_ELEMENT+64 +#define DISPID_IHTMLELEMENT2_BEHAVIORURNS DISPID_ELEMENT+82 +#define DISPID_IHTMLELEMENT2_TAGURN DISPID_ELEMENT+83 +#define DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS DISPID_EVPROP_ONBEFOREEDITFOCUS +#define DISPID_IHTMLELEMENT2_READYSTATEVALUE DISPID_ELEMENT+84 +#define DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME DISPID_ELEMENT+85 + +/* IHTMLElement3 */ +#define DISPID_IHTMLELEMENT3_MERGEATTRIBUTES DISPID_ELEMENT+96 +#define DISPID_IHTMLELEMENT3_ISMULTILINE DISPID_ELEMENT+97 +#define DISPID_IHTMLELEMENT3_CANHAVEHTML DISPID_ELEMENT+98 +#define DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE DISPID_EVPROP_ONLAYOUTCOMPLETE +#define DISPID_IHTMLELEMENT3_ONPAGE DISPID_EVPROP_ONPAGE +#define DISPID_IHTMLELEMENT3_INFLATEBLOCK DISPID_ELEMENT+100 +#define DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE DISPID_EVPROP_ONBEFOREDEACTIVATE +#define DISPID_IHTMLELEMENT3_SETACTIVE DISPID_ELEMENT+101 +#define DISPID_IHTMLELEMENT3_CONTENTEDITABLE DISPID_A_EDITABLE +#define DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE DISPID_ELEMENT+102 +#define DISPID_IHTMLELEMENT3_HIDEFOCUS DISPID_A_HIDEFOCUS +#define DISPID_IHTMLELEMENT3_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLELEMENT3_ISDISABLED DISPID_ELEMENT+105 +#define DISPID_IHTMLELEMENT3_ONMOVE DISPID_EVPROP_ONMOVE +#define DISPID_IHTMLELEMENT3_ONCONTROLSELECT DISPID_EVPROP_ONCONTROLSELECT +#define DISPID_IHTMLELEMENT3_FIREEVENT DISPID_ELEMENT+106 +#define DISPID_IHTMLELEMENT3_ONRESIZESTART DISPID_EVPROP_ONRESIZESTART +#define DISPID_IHTMLELEMENT3_ONRESIZEEND DISPID_EVPROP_ONRESIZEEND +#define DISPID_IHTMLELEMENT3_ONMOVESTART DISPID_EVPROP_ONMOVESTART +#define DISPID_IHTMLELEMENT3_ONMOVEEND DISPID_EVPROP_ONMOVEEND +#define DISPID_IHTMLELEMENT3_ONMOUSEENTER DISPID_EVPROP_ONMOUSEENTER +#define DISPID_IHTMLELEMENT3_ONMOUSELEAVE DISPID_EVPROP_ONMOUSELEAVE +#define DISPID_IHTMLELEMENT3_ONACTIVATE DISPID_EVPROP_ONACTIVATE +#define DISPID_IHTMLELEMENT3_ONDEACTIVATE DISPID_EVPROP_ONDEACTIVATE +#define DISPID_IHTMLELEMENT3_DRAGDROP DISPID_ELEMENT+107 +#define DISPID_IHTMLELEMENT3_GLYPHMODE DISPID_ELEMENT+108 + +/* IHTMLElement4 */ +#define DISPID_IHTMLELEMENT4_ONMOUSEWHEEL DISPID_EVPROP_ONMOUSEWHEEL +#define DISPID_IHTMLELEMENT4_NORMALIZE DISPID_ELEMENT+112 +#define DISPID_IHTMLELEMENT4_GETATTRIBUTENODE DISPID_ELEMENT+109 +#define DISPID_IHTMLELEMENT4_SETATTRIBUTENODE DISPID_ELEMENT+110 +#define DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE DISPID_ELEMENT+111 +#define DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE DISPID_EVPROP_ONBEFOREACTIVATE +#define DISPID_IHTMLELEMENT4_ONFOCUSIN DISPID_EVPROP_ONFOCUSIN +#define DISPID_IHTMLELEMENT4_ONFOCUSOUT DISPID_EVPROP_ONFOCUSOUT + +/* IElementSelector */ +#define DISPID_IELEMENTSELECTOR_QUERYSELECTOR DISPID_ELEMENT+114 +#define DISPID_IELEMENTSELECTOR_QUERYSELECTORALL DISPID_ELEMENT+115 + +/* IHTMLElement5 */ +#define DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTENODE DISPID_IE8_ELEMENT +#define DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTENODE DISPID_IE8_ELEMENT+1 +#define DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTENODE DISPID_IE8_ELEMENT+2 +#define DISPID_IHTMLELEMENT5_HASATTRIBUTE DISPID_IE8_ELEMENT+3 +#define DISPID_IHTMLELEMENT5_ROLE DISPID_IE8_ELEMENT+4 +#define DISPID_IHTMLELEMENT5_ARIABUSY DISPID_IE8_ELEMENT+5 +#define DISPID_IHTMLELEMENT5_ARIACHECKED DISPID_IE8_ELEMENT+6 +#define DISPID_IHTMLELEMENT5_ARIADISABLED DISPID_IE8_ELEMENT+7 +#define DISPID_IHTMLELEMENT5_ARIAEXPANDED DISPID_IE8_ELEMENT+8 +#define DISPID_IHTMLELEMENT5_ARIAHASPOPUP DISPID_IE8_ELEMENT+9 +#define DISPID_IHTMLELEMENT5_ARIAHIDDEN DISPID_IE8_ELEMENT+10 +#define DISPID_IHTMLELEMENT5_ARIAINVALID DISPID_IE8_ELEMENT+11 +#define DISPID_IHTMLELEMENT5_ARIAMULTISELECTABLE DISPID_IE8_ELEMENT+12 +#define DISPID_IHTMLELEMENT5_ARIAPRESSED DISPID_IE8_ELEMENT+13 +#define DISPID_IHTMLELEMENT5_ARIAREADONLY DISPID_IE8_ELEMENT+14 +#define DISPID_IHTMLELEMENT5_ARIAREQUIRED DISPID_IE8_ELEMENT+15 +#define DISPID_IHTMLELEMENT5_ARIASECRET DISPID_IE8_ELEMENT+16 +#define DISPID_IHTMLELEMENT5_ARIASELECTED DISPID_IE8_ELEMENT+17 +#define DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTE DISPID_IE8_ELEMENT+18 +#define DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTE DISPID_IE8_ELEMENT+19 +#define DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTE DISPID_IE8_ELEMENT+20 +#define DISPID_IHTMLELEMENT5_IE8_ATTRIBUTES DISPID_IE8_ELEMENT+21 +#define DISPID_IHTMLELEMENT5_ARIAVALUENOW DISPID_IE8_ELEMENT+22 +#define DISPID_IHTMLELEMENT5_ARIAPOSINSET DISPID_IE8_ELEMENT+23 +#define DISPID_IHTMLELEMENT5_ARIASETSIZE DISPID_IE8_ELEMENT+24 +#define DISPID_IHTMLELEMENT5_ARIALEVEL DISPID_IE8_ELEMENT+25 +#define DISPID_IHTMLELEMENT5_ARIAVALUEMIN DISPID_IE8_ELEMENT+26 +#define DISPID_IHTMLELEMENT5_ARIAVALUEMAX DISPID_IE8_ELEMENT+27 +#define DISPID_IHTMLELEMENT5_ARIACONTROLS DISPID_IE8_ELEMENT+28 +#define DISPID_IHTMLELEMENT5_ARIADESCRIBEDBY DISPID_IE8_ELEMENT+29 +#define DISPID_IHTMLELEMENT5_ARIAFLOWTO DISPID_IE8_ELEMENT+30 +#define DISPID_IHTMLELEMENT5_ARIALABELLEDBY DISPID_IE8_ELEMENT+31 +#define DISPID_IHTMLELEMENT5_ARIAACTIVEDESCENDANT DISPID_IE8_ELEMENT+32 +#define DISPID_IHTMLELEMENT5_ARIAOWNS DISPID_IE8_ELEMENT+33 +#define DISPID_IHTMLELEMENT5_HASATTRIBUTES DISPID_IE8_ELEMENT+34 +#define DISPID_IHTMLELEMENT5_ARIALIVE DISPID_IE8_ELEMENT+35 +#define DISPID_IHTMLELEMENT5_ARIARELEVANT DISPID_IE8_ELEMENT+36 + +/* IHTMLElement6 */ +#define DISPID_IHTMLELEMENT6_GETATTRIBUTENS DISPID_IE9_ELEMENT+3 +#define DISPID_IHTMLELEMENT6_SETATTRIBUTENS DISPID_IE9_ELEMENT+4 +#define DISPID_IHTMLELEMENT6_REMOVEATTRIBUTENS DISPID_IE9_ELEMENT+5 +#define DISPID_IHTMLELEMENT6_GETATTRIBUTENODENS DISPID_IE9_ELEMENT +#define DISPID_IHTMLELEMENT6_SETATTRIBUTENODENS DISPID_IE9_ELEMENT+1 +#define DISPID_IHTMLELEMENT6_HASATTRIBUTENS DISPID_IE9_ELEMENT+2 +#define DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTE DISPID_IE9_ELEMENT+10 +#define DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTE DISPID_IE9_ELEMENT+11 +#define DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTE DISPID_IE9_ELEMENT+12 +#define DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTENODE DISPID_IE9_ELEMENT+6 +#define DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTENODE DISPID_IE9_ELEMENT+7 +#define DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTENODE DISPID_IE9_ELEMENT+8 +#define DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTE DISPID_IE9_ELEMENT+9 +#define DISPID_IHTMLELEMENT6_GETELEMENTSBYTAGNAMENS DISPID_IE9_ELEMENT+13 +#define DISPID_IHTMLELEMENT6_IE9_TAGNAME DISPID_IE9_ELEMENT+15 +#define DISPID_IHTMLELEMENT6_IE9_NODENAME DISPID_IE9_ELEMENT+16 +#define DISPID_IHTMLELEMENT6_GETELEMENTSBYCLASSNAME DISPID_IE9_ELEMENT+17 +#define DISPID_IHTMLELEMENT6_MSMATCHESSELECTOR DISPID_IE9_ELEMENT+28 +#define DISPID_IHTMLELEMENT6_ONABORT DISPID_EVPROP_ONABORT +#define DISPID_IHTMLELEMENT6_ONCANPLAY DISPID_EVPROP_CANPLAY +#define DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH DISPID_EVPROP_CANPLAYTHROUGH +#define DISPID_IHTMLELEMENT6_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLELEMENT6_ONDURATIONCHANGE DISPID_EVPROP_DURATIONCHANGE +#define DISPID_IHTMLELEMENT6_ONEMPTIED DISPID_EVPROP_EMPTIED +#define DISPID_IHTMLELEMENT6_ONENDED DISPID_EVPROP_ENDED +#define DISPID_IHTMLELEMENT6_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLELEMENT6_ONINPUT DISPID_EVPROP_INPUT +#define DISPID_IHTMLELEMENT6_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLELEMENT6_ONLOADEDDATA DISPID_EVPROP_LOADEDDATA +#define DISPID_IHTMLELEMENT6_ONLOADEDMETADATA DISPID_EVPROP_LOADEDMETADATA +#define DISPID_IHTMLELEMENT6_ONLOADSTART DISPID_EVPROP_LOADSTART +#define DISPID_IHTMLELEMENT6_ONPAUSE DISPID_EVPROP_PAUSE +#define DISPID_IHTMLELEMENT6_ONPLAY DISPID_EVPROP_PLAY +#define DISPID_IHTMLELEMENT6_ONPLAYING DISPID_EVPROP_PLAYING +#define DISPID_IHTMLELEMENT6_ONPROGRESS DISPID_EVPROP_PROGRESS +#define DISPID_IHTMLELEMENT6_ONRATECHANGE DISPID_EVPROP_RATECHANGE +#define DISPID_IHTMLELEMENT6_ONRESET DISPID_EVPROP_ONRESET +#define DISPID_IHTMLELEMENT6_ONSEEKED DISPID_EVPROP_SEEKED +#define DISPID_IHTMLELEMENT6_ONSEEKING DISPID_EVPROP_SEEKING +#define DISPID_IHTMLELEMENT6_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLELEMENT6_ONSTALLED DISPID_EVPROP_STALLED +#define DISPID_IHTMLELEMENT6_ONSUBMIT DISPID_EVPROP_ONSUBMIT +#define DISPID_IHTMLELEMENT6_ONSUSPEND DISPID_EVPROP_SUSPEND +#define DISPID_IHTMLELEMENT6_ONTIMEUPDATE DISPID_EVPROP_TIMEUPDATE +#define DISPID_IHTMLELEMENT6_ONVOLUMECHANGE DISPID_EVPROP_VOLUMECHANGE +#define DISPID_IHTMLELEMENT6_ONWAITING DISPID_EVPROP_WAITING +#define DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTES DISPID_IE9_ELEMENT+29 + +/* IElementTraversal */ +#define DISPID_IELEMENTTRAVERSAL_FIRSTELEMENTCHILD DISPID_IE9_ELEMENT+22 +#define DISPID_IELEMENTTRAVERSAL_LASTELEMENTCHILD DISPID_IE9_ELEMENT+23 +#define DISPID_IELEMENTTRAVERSAL_PREVIOUSELEMENTSIBLING DISPID_IE9_ELEMENT+24 +#define DISPID_IELEMENTTRAVERSAL_NEXTELEMENTSIBLING DISPID_IE9_ELEMENT+25 +#define DISPID_IELEMENTTRAVERSAL_CHILDELEMENTCOUNT DISPID_IE9_ELEMENT+26 + +/* IHTMLGenericElement */ +#define DISPID_IHTMLGENERICELEMENT_RECORDSET DISPID_GENERIC+1 +#define DISPID_IHTMLGENERICELEMENT_NAMEDRECORDSET DISPID_GENERIC+2 + +/* IHTMLUniqueName */ +#define DISPID_IHTMLUNIQUENAME_UNIQUENUMBER DISPID_ELEMENT+54 +#define DISPID_IHTMLUNIQUENAME_UNIQUEID DISPID_ELEMENT+55 + +/* IHTMLDatabinding */ +#define DISPID_IHTMLDATABINDING_DATAFLD DISPID_ELEMENT+21 +#define DISPID_IHTMLDATABINDING_DATASRC DISPID_ELEMENT+22 +#define DISPID_IHTMLDATABINDING_DATAFORMATAS DISPID_ELEMENT+23 + +/* IHTMLDOMConstructor */ +#define DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR DISPID_HTMLOBJECT+9 +#define DISPID_IHTMLDOMCONSTRUCTOR_LOOKUPGETTER +#define DISPID_IHTMLDOMCONSTRUCTOR_LOOKUPSETTER +#define DISPID_IHTMLDOMCONSTRUCTOR_DEFINEGETTER +#define DISPID_IHTMLDOMCONSTRUCTOR_DEFINESETTER + +/* IHTMLStyle */ +#define DISPID_IHTMLSTYLE_PIXELTOP DISPID_STYLE +#define DISPID_IHTMLSTYLE_PIXELLEFT (DISPID_STYLE+1) +#define DISPID_IHTMLSTYLE_PIXELWIDTH (DISPID_STYLE+2) +#define DISPID_IHTMLSTYLE_PIXELHEIGHT (DISPID_STYLE+3) +#define DISPID_IHTMLSTYLE_POSTOP (DISPID_STYLE+4) +#define DISPID_IHTMLSTYLE_POSLEFT (DISPID_STYLE+5) +#define DISPID_IHTMLSTYLE_POSWIDTH (DISPID_STYLE+6) +#define DISPID_IHTMLSTYLE_POSHEIGHT (DISPID_STYLE+7) +#define DISPID_IHTMLSTYLE_TOSTRING (DISPID_STYLE+8) +#define DISPID_IHTMLSTYLE_SETATTRIBUTE (DISPID_HTMLOBJECT+1) +#define DISPID_IHTMLSTYLE_GETATTRIBUTE (DISPID_HTMLOBJECT+2) +#define DISPID_IHTMLSTYLE_REMOVEATTRIBUTE (DISPID_HTMLOBJECT+3) +#define DISPID_IHTMLSTYLE_FONTFAMILY DISPID_A_FONTFACE +#define DISPID_IHTMLSTYLE_FONTSTYLE DISPID_A_FONTSTYLE +#define DISPID_IHTMLSTYLE_FONTVARIANT DISPID_A_FONTVARIANT +#define DISPID_IHTMLSTYLE_FONTWEIGHT DISPID_A_FONTWEIGHT +#define DISPID_IHTMLSTYLE_FONTSIZE DISPID_A_FONTSIZE +#define DISPID_IHTMLSTYLE_FONT DISPID_A_FONT +#define DISPID_IHTMLSTYLE_COLOR DISPID_A_COLOR +#define DISPID_IHTMLSTYLE_BACKGROUND DISPID_A_BACKGROUND +#define DISPID_IHTMLSTYLE_BACKGROUNDIMAGE DISPID_A_BACKGROUNDIMAGE +#define DISPID_IHTMLSTYLE_BACKGROUNDREPEAT DISPID_A_BACKGROUNDREPEAT +#define DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT DISPID_A_BACKGROUNDATTACHMENT +#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITION DISPID_A_BACKGROUNDPOSITION +#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX DISPID_A_BACKGROUNDPOSX +#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY DISPID_A_BACKGROUNDPOSY +#define DISPID_IHTMLSTYLE_WORDSPACING DISPID_A_WORDSPACING +#define DISPID_IHTMLSTYLE_LETTERSPACING DISPID_A_LETTERSPACING +#define DISPID_IHTMLSTYLE_TEXTDECORATION DISPID_A_TEXTDECORATION +#define DISPID_IHTMLSTYLE_TEXTDECORATIONNONE DISPID_A_TEXTDECORATIONNONE +#define DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE DISPID_A_TEXTDECORATIONUNDERLINE +#define DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE DISPID_A_TEXTDECORATIONOVERLINE +#define DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH DISPID_A_TEXTDECORATIONLINETHROUGH +#define DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK DISPID_A_TEXTDECORATIONBLINK +#define DISPID_IHTMLSTYLE_VERTICALALIGN DISPID_A_VERTICALALIGN +#define DISPID_IHTMLSTYLE_TEXTTRANSFORM DISPID_A_TEXTTRANSFORM +#define DISPID_IHTMLSTYLE_TEXTINDENT DISPID_A_TEXTINDENT +#define DISPID_IHTMLSTYLE_LINEHEIGHT DISPID_A_LINEHEIGHT +#define DISPID_IHTMLSTYLE_MARGINTOP DISPID_A_MARGINTOP +#define DISPID_IHTMLSTYLE_MARGINRIGHT DISPID_A_MARGINRIGHT +#define DISPID_IHTMLSTYLE_MARGINBOTTOM DISPID_A_MARGINBOTTOM +#define DISPID_IHTMLSTYLE_MARGINLEFT DISPID_A_MARGINLEFT +#define DISPID_IHTMLSTYLE_MARGIN DISPID_A_MARGIN +#define DISPID_IHTMLSTYLE_PADDINGTOP DISPID_A_PADDINGTOP +#define DISPID_IHTMLSTYLE_PADDINGRIGHT DISPID_A_PADDINGRIGHT +#define DISPID_IHTMLSTYLE_PADDINGBOTTOM DISPID_A_PADDINGBOTTOM +#define DISPID_IHTMLSTYLE_PADDINGLEFT DISPID_A_PADDINGLEFT +#define DISPID_IHTMLSTYLE_PADDING DISPID_A_PADDING +#define DISPID_IHTMLSTYLE_BORDER DISPID_A_BORDER +#define DISPID_IHTMLSTYLE_BORDERTOP DISPID_A_BORDERTOP +#define DISPID_IHTMLSTYLE_BORDERRIGHT DISPID_A_BORDERRIGHT +#define DISPID_IHTMLSTYLE_BORDERBOTTOM DISPID_A_BORDERBOTTOM +#define DISPID_IHTMLSTYLE_BORDERLEFT DISPID_A_BORDERLEFT +#define DISPID_IHTMLSTYLE_BORDERCOLOR DISPID_A_BORDERCOLOR +#define DISPID_IHTMLSTYLE_BORDERTOPCOLOR DISPID_A_BORDERTOPCOLOR +#define DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR DISPID_A_BORDERRIGHTCOLOR +#define DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR DISPID_A_BORDERBOTTOMCOLOR +#define DISPID_IHTMLSTYLE_BORDERLEFTCOLOR DISPID_A_BORDERLEFTCOLOR +#define DISPID_IHTMLSTYLE_BORDERWIDTH DISPID_A_BORDERWIDTH +#define DISPID_IHTMLSTYLE_BORDERTOPWIDTH DISPID_A_BORDERTOPWIDTH +#define DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH DISPID_A_BORDERRIGHTWIDTH +#define DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH DISPID_A_BORDERBOTTOMWIDTH +#define DISPID_IHTMLSTYLE_BORDERLEFTWIDTH DISPID_A_BORDERLEFTWIDTH +#define DISPID_IHTMLSTYLE_BORDERSTYLE DISPID_A_BORDERSTYLE +#define DISPID_IHTMLSTYLE_BORDERTOPSTYLE DISPID_A_BORDERTOPSTYLE +#define DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE DISPID_A_BORDERRIGHTSTYLE +#define DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE DISPID_A_BORDERBOTTOMSTYLE +#define DISPID_IHTMLSTYLE_BORDERLEFTSTYLE DISPID_A_BORDERLEFTSTYLE +#define DISPID_IHTMLSTYLE_STYLEFLOAT DISPID_A_FLOAT +#define DISPID_IHTMLSTYLE_CLEAR DISPID_A_CLEAR +#define DISPID_IHTMLSTYLE_DISPLAY DISPID_A_DISPLAY +#define DISPID_IHTMLSTYLE_VISIBILITY DISPID_A_VISIBILITY +#define DISPID_IHTMLSTYLE_LISTSTYLETYPE DISPID_A_LISTSTYLETYPE +#define DISPID_IHTMLSTYLE_LISTSTYLEPOSITION DISPID_A_LISTSTYLEPOSITION +#define DISPID_IHTMLSTYLE_LISTSTYLEIMAGE DISPID_A_LISTSTYLEIMAGE +#define DISPID_IHTMLSTYLE_LISTSTYLE DISPID_A_LISTSTYLE +#define DISPID_IHTMLSTYLE_WHITESPACE DISPID_A_WHITESPACE +#define DISPID_IHTMLSTYLE_POSITION DISPID_A_POSITION +#define DISPID_IHTMLSTYLE_ZINDEX DISPID_A_ZINDEX +#define DISPID_IHTMLSTYLE_OVERFLOW DISPID_A_OVERFLOW +#define DISPID_IHTMLSTYLE_PAGEBREAKBEFORE DISPID_A_PAGEBREAKBEFORE +#define DISPID_IHTMLSTYLE_PAGEBREAKAFTER DISPID_A_PAGEBREAKAFTER +#define DISPID_IHTMLSTYLE_CSSTEXT DISPID_A_STYLETEXT +#define DISPID_IHTMLSTYLE_CURSOR DISPID_A_CURSOR +#define DISPID_IHTMLSTYLE_CLIP DISPID_A_CLIP +#define DISPID_IHTMLSTYLE_FILTER DISPID_A_FILTER +#define DISPID_IHTMLSTYLE_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLSTYLE_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLSTYLE_TOP STDPROPID_XOBJ_TOP +#define DISPID_IHTMLSTYLE_LEFT STDPROPID_XOBJ_LEFT +#define DISPID_IHTMLSTYLE_TEXTALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLSTYLE_BACKGROUNDCOLOR DISPID_BACKCOLOR + +/* IHTMLStyle2 */ +#define DISPID_IHTMLSTYLE2_TABLELAYOUT DISPID_A_TABLELAYOUT +#define DISPID_IHTMLSTYLE2_BORDERCOLLAPSE DISPID_A_BORDERCOLLAPSE +#define DISPID_IHTMLSTYLE2_DIRECTION DISPID_A_DIRECTION +#define DISPID_IHTMLSTYLE2_BEHAVIOR DISPID_A_BEHAVIOR +#define DISPID_IHTMLSTYLE2_SETEXPRESSION DISPID_HTMLOBJECT+4 +#define DISPID_IHTMLSTYLE2_GETEXPRESSION DISPID_HTMLOBJECT+5 +#define DISPID_IHTMLSTYLE2_REMOVEEXPRESSION DISPID_HTMLOBJECT+6 +#define DISPID_IHTMLSTYLE2_POSITION DISPID_A_POSITION +#define DISPID_IHTMLSTYLE2_UNICODEBIDI DISPID_A_UNICODEBIDI +#define DISPID_IHTMLSTYLE2_BOTTOM STDPROPID_XOBJ_BOTTOM +#define DISPID_IHTMLSTYLE2_RIGHT STDPROPID_XOBJ_RIGHT +#define DISPID_IHTMLSTYLE2_PIXELBOTTOM DISPID_STYLE+9 +#define DISPID_IHTMLSTYLE2_PIXELRIGHT DISPID_STYLE+10 +#define DISPID_IHTMLSTYLE2_POSBOTTOM DISPID_STYLE+11 +#define DISPID_IHTMLSTYLE2_POSRIGHT DISPID_STYLE+12 +#define DISPID_IHTMLSTYLE2_IMEMODE DISPID_A_IMEMODE +#define DISPID_IHTMLSTYLE2_RUBYALIGN DISPID_A_RUBYALIGN +#define DISPID_IHTMLSTYLE2_RUBYPOSITION DISPID_A_RUBYPOSITION +#define DISPID_IHTMLSTYLE2_RUBYOVERHANG DISPID_A_RUBYOVERHANG +#define DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR DISPID_A_LAYOUTGRIDCHAR +#define DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE DISPID_A_LAYOUTGRIDLINE +#define DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE DISPID_A_LAYOUTGRIDMODE +#define DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE DISPID_A_LAYOUTGRIDTYPE +#define DISPID_IHTMLSTYLE2_LAYOUTGRID DISPID_A_LAYOUTGRID +#define DISPID_IHTMLSTYLE2_WORDBREAK DISPID_A_WORDBREAK +#define DISPID_IHTMLSTYLE2_LINEBREAK DISPID_A_LINEBREAK +#define DISPID_IHTMLSTYLE2_TEXTJUSTIFY DISPID_A_TEXTJUSTIFY +#define DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM DISPID_A_TEXTJUSTIFYTRIM +#define DISPID_IHTMLSTYLE2_TEXTKASHIDA DISPID_A_TEXTKASHIDA +#define DISPID_IHTMLSTYLE2_TEXTAUTOSPACE DISPID_A_TEXTAUTOSPACE +#define DISPID_IHTMLSTYLE2_OVERFLOWX DISPID_A_OVERFLOWX +#define DISPID_IHTMLSTYLE2_OVERFLOWY DISPID_A_OVERFLOWY +#define DISPID_IHTMLSTYLE2_ACCELERATOR DISPID_A_ACCELERATOR + +/* IHTMLStyle3 */ +#define DISPID_IHTMLSTYLE3_LAYOUTFLOW DISPID_A_LAYOUTFLOW +#define DISPID_IHTMLSTYLE3_ZOOM DISPID_A_ZOOM +#define DISPID_IHTMLSTYLE3_WORDWRAP DISPID_A_WORDWRAP +#define DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION DISPID_A_TEXTUNDERLINEPOSITION +#define DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR DISPID_A_SCROLLBARBASECOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR DISPID_A_SCROLLBARFACECOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR DISPID_A_SCROLLBAR3DLIGHTCOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR DISPID_A_SCROLLBARSHADOWCOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR DISPID_A_SCROLLBARHIGHLIGHTCOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR DISPID_A_SCROLLBARDARKSHADOWCOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR DISPID_A_SCROLLBARARROWCOLOR +#define DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR DISPID_A_SCROLLBARTRACKCOLOR +#define DISPID_IHTMLSTYLE3_WRITINGMODE DISPID_A_WRITINGMODE +#define DISPID_IHTMLSTYLE3_TEXTALIGNLAST DISPID_A_TEXTALIGNLAST +#define DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE DISPID_A_TEXTKASHIDASPACE + +/* IHTMLStyle4 */ +#define DISPID_IHTMLSTYLE4_TEXTOVERFLOW DISPID_A_TEXTOVERFLOW +#define DISPID_IHTMLSTYLE4_MINHEIGHT DISPID_A_MINHEIGHT + +/* IHTMLStyle5 */ +#define DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE DISPID_A_INTERPOLATION +#define DISPID_IHTMLSTYLE5_MAXHEIGHT DISPID_A_MAXHEIGHT +#define DISPID_IHTMLSTYLE5_MINWIDTH DISPID_A_MINWIDTH +#define DISPID_IHTMLSTYLE5_MAXWIDTH DISPID_A_MAXWIDTH + +/* IHTMLStyle6 */ +#define DISPID_IHTMLSTYLE6_CONTENT DISPID_A_CONTENT +#define DISPID_IHTMLSTYLE6_CAPTIONSIDE DISPID_A_CAPTIONSIDE +#define DISPID_IHTMLSTYLE6_COUNTERINCREMENT DISPID_A_COUNTERINCREMENT +#define DISPID_IHTMLSTYLE6_COUNTERRESET DISPID_A_COUNTERRESET +#define DISPID_IHTMLSTYLE6_OUTLINE DISPID_A_OUTLINE +#define DISPID_IHTMLSTYLE6_OUTLINEWIDTH DISPID_A_OUTLINEWIDTH +#define DISPID_IHTMLSTYLE6_OUTLINESTYLE DISPID_A_OUTLINESTYLE +#define DISPID_IHTMLSTYLE6_OUTLINECOLOR DISPID_A_OUTLINECOLOR +#define DISPID_IHTMLSTYLE6_BOXSIZING DISPID_A_BOXSIZING +#define DISPID_IHTMLSTYLE6_BORDERSPACING DISPID_A_BORDERSPACING +#define DISPID_IHTMLSTYLE6_ORPHANS DISPID_A_ORPHANS +#define DISPID_IHTMLSTYLE6_WIDOWS DISPID_A_WIDOWS +#define DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE DISPID_A_PAGEBREAKINSIDE +#define DISPID_IHTMLSTYLE6_EMPTYCELLS DISPID_A_EMPTYCELLS +#define DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION DISPID_A_MS_BLOCKPROGRESSION +#define DISPID_IHTMLSTYLE6_QUOTES DISPID_A_QUOTES + +/* IHTMLFiltersCollection */ +#define DISPID_IHTMLFILTERSCOLLECTION_LENGTH (DISPID_FILTERS+1) +#define DISPID_IHTMLFILTERSCOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLFILTERSCOLLECTION_ITEM DISPID_VALUE + +/* IHTMLSelectionObject */ +#define DISPID_IHTMLSELECTIONOBJECT_CREATERANGE (DISPID_SELECTOBJ+1) +#define DISPID_IHTMLSELECTIONOBJECT_EMPTY (DISPID_SELECTOBJ+2) +#define DISPID_IHTMLSELECTIONOBJECT_CLEAR (DISPID_SELECTOBJ+3) +#define DISPID_IHTMLSELECTIONOBJECT_TYPE (DISPID_SELECTOBJ+4) + +/* IHTMLSelectionObject2 */ +#define DISPID_IHTMLSELECTIONOBJECT2_CREATERANGECOLLECTION DISPID_SELECTOBJ+5 +#define DISPID_IHTMLSELECTIONOBJECT2_TYPEDETAIL DISPID_SELECTOBJ+6 + +/* IHTMLSelection */ +#define DISPID_IHTMLSELECTION_ANCHORNODE DISPID_HTMLSELECTION+1 +#define DISPID_IHTMLSELECTION_ANCHOROFFSET DISPID_HTMLSELECTION+2 +#define DISPID_IHTMLSELECTION_FOCUSNODE DISPID_HTMLSELECTION+3 +#define DISPID_IHTMLSELECTION_FOCUSOFFSET DISPID_HTMLSELECTION+4 +#define DISPID_IHTMLSELECTION_ISCOLLAPSED DISPID_HTMLSELECTION+5 +#define DISPID_IHTMLSELECTION_COLLAPSE DISPID_HTMLSELECTION+6 +#define DISPID_IHTMLSELECTION_COLLAPSETOSTART DISPID_HTMLSELECTION+7 +#define DISPID_IHTMLSELECTION_COLLAPSETOEND DISPID_HTMLSELECTION+8 +#define DISPID_IHTMLSELECTION_SELECTALLCHILDREN DISPID_HTMLSELECTION+9 +#define DISPID_IHTMLSELECTION_DELETEFROMDOCUMENT DISPID_HTMLSELECTION+10 +#define DISPID_IHTMLSELECTION_RANGECOUNT DISPID_HTMLSELECTION+11 +#define DISPID_IHTMLSELECTION_GETRANGEAT DISPID_HTMLSELECTION+12 +#define DISPID_IHTMLSELECTION_ADDRANGE DISPID_HTMLSELECTION+13 +#define DISPID_IHTMLSELECTION_REMOVERANGE DISPID_HTMLSELECTION+14 +#define DISPID_IHTMLSELECTION_REMOVEALLRANGES DISPID_HTMLSELECTION+15 +#define DISPID_IHTMLSELECTION_TOSTRING DISPID_HTMLSELECTION+16 + +/* IHTMLFramesCollection2 */ +#define DISPID_IHTMLFRAMESCOLLECTION2_ITEM 0 +#define DISPID_IHTMLFRAMESCOLLECTION2_LENGTH 1001 + +/* IHTMLLocation */ +#define DISPID_IHTMLLOCATION_HOST (DISPID_LOCATION+1) +#define DISPID_IHTMLLOCATION_HOSTNAME (DISPID_LOCATION+2) +#define DISPID_IHTMLLOCATION_PORT (DISPID_LOCATION+3) +#define DISPID_IHTMLLOCATION_PATHNAME (DISPID_LOCATION+4) +#define DISPID_IHTMLLOCATION_SEARCH (DISPID_LOCATION+5) +#define DISPID_IHTMLLOCATION_HASH (DISPID_LOCATION+6) +#define DISPID_IHTMLLOCATION_RELOAD (DISPID_LOCATION+7) +#define DISPID_IHTMLLOCATION_REPLACE (DISPID_LOCATION+8) +#define DISPID_IHTMLLOCATION_ASSIGN (DISPID_LOCATION+9) +#define DISPID_IHTMLLOCATION_TOSTRING (DISPID_LOCATION+10) +#define DISPID_IHTMLLOCATION_HREF DISPID_VALUE +#define DISPID_IHTMLLOCATION_PROTOCOL DISPID_LOCATION + +/* IHTMLBookmarkCollection */ +#define DISPID_IHTMLBOOKMARKCOLLECTION_LENGTH DISPID_OPTIONS_COL+1 +#define DISPID_IHTMLBOOKMARKCOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLBOOKMARKCOLLECTION_ITEM DISPID_VALUE + +/* HTMLWindowEvents */ +#define DISPID_HTMLWINDOWEVENTS_ONLOAD DISPID_EVMETH_ONLOAD +#define DISPID_HTMLWINDOWEVENTS_ONUNLOAD DISPID_EVMETH_ONUNLOAD +#define DISPID_HTMLWINDOWEVENTS_ONHELP DISPID_EVMETH_ONHELP +#define DISPID_HTMLWINDOWEVENTS_ONFOCUS DISPID_EVMETH_ONFOCUS +#define DISPID_HTMLWINDOWEVENTS_ONBLUR DISPID_EVMETH_ONBLUR +#define DISPID_HTMLWINDOWEVENTS_ONERROR DISPID_EVMETH_ONERROR +#define DISPID_HTMLWINDOWEVENTS_ONRESIZE DISPID_EVMETH_ONRESIZE +#define DISPID_HTMLWINDOWEVENTS_ONSCROLL DISPID_EVMETH_ONSCROLL +#define DISPID_HTMLWINDOWEVENTS_ONBEFOREUNLOAD DISPID_EVMETH_ONBEFOREUNLOAD +#define DISPID_HTMLWINDOWEVENTS_ONBEFOREPRINT DISPID_EVMETH_ONBEFOREPRINT +#define DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT DISPID_EVMETH_ONAFTERPRINT + +/* HTMLWindowEvents2 */ +#define DISPID_HTMLWINDOWEVENTS2_ONLOAD DISPID_EVMETH_ONLOAD +#define DISPID_HTMLWINDOWEVENTS2_ONUNLOAD DISPID_EVMETH_ONUNLOAD +#define DISPID_HTMLWINDOWEVENTS2_ONHELP DISPID_EVMETH_ONHELP +#define DISPID_HTMLWINDOWEVENTS2_ONFOCUS DISPID_EVMETH_ONFOCUS +#define DISPID_HTMLWINDOWEVENTS2_ONBLUR DISPID_EVMETH_ONBLUR +#define DISPID_HTMLWINDOWEVENTS2_ONERROR DISPID_EVMETH_ONERROR +#define DISPID_HTMLWINDOWEVENTS2_ONRESIZE DISPID_EVMETH_ONRESIZE +#define DISPID_HTMLWINDOWEVENTS2_ONSCROLL DISPID_EVMETH_ONSCROLL +#define DISPID_HTMLWINDOWEVENTS2_ONBEFOREUNLOAD DISPID_EVMETH_ONBEFOREUNLOAD +#define DISPID_HTMLWINDOWEVENTS2_ONBEFOREPRINT DISPID_EVMETH_ONBEFOREPRINT +#define DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT DISPID_EVMETH_ONAFTERPRINT + +/* IHTMLWindow2 */ +#define DISPID_IHTMLWINDOW2_HISTORY 2 +#define DISPID_IHTMLWINDOW2_CLOSE 3 +#define DISPID_IHTMLWINDOW2_OPENER 4 +#define DISPID_IHTMLWINDOW2_NAVIGATOR 5 +#define DISPID_IHTMLWINDOW2_MOVETO 6 +#define DISPID_IHTMLWINDOW2_MOVEBY 7 +#define DISPID_IHTMLWINDOW2_RESIZETO 9 +#define DISPID_IHTMLWINDOW2_RESIZEBY 8 +#define DISPID_IHTMLWINDOW2_NAME 11 +#define DISPID_IHTMLWINDOW2_PARENT 12 +#define DISPID_IHTMLWINDOW2_OPEN 13 +#define DISPID_IHTMLWINDOW2_LOCATION 14 +#define DISPID_IHTMLWINDOW2_SELF 20 +#define DISPID_IHTMLWINDOW2_TOP 21 +#define DISPID_IHTMLWINDOW2_WINDOW 22 +#define DISPID_IHTMLWINDOW2_CLOSED 23 +#define DISPID_IHTMLWINDOW2_NAVIGATE 25 +#define DISPID_IHTMLWINDOW2_FRAMES 1100 +#define DISPID_IHTMLWINDOW2_DEFAULTSTATUS 1101 +#define DISPID_IHTMLWINDOW2_STATUS 1102 +#define DISPID_IHTMLWINDOW2_SETTIMEOUT 1172 +#define DISPID_IHTMLWINDOW2_CLEARTIMEOUT 1104 +#define DISPID_IHTMLWINDOW2_ALERT 1105 +#define DISPID_IHTMLWINDOW2_CONFIRM 1110 +#define DISPID_IHTMLWINDOW2_PROMPT 1111 +#define DISPID_IHTMLWINDOW2_IMAGE 1125 +#define DISPID_IHTMLWINDOW2_DOCUMENT 1151 +#define DISPID_IHTMLWINDOW2_EVENT 1152 +#define DISPID_IHTMLWINDOW2__NEWENUM 1153 +#define DISPID_IHTMLWINDOW2_SHOWMODALDIALOG 1154 +#define DISPID_IHTMLWINDOW2_SHOWHELP 1155 +#define DISPID_IHTMLWINDOW2_SCREEN 1156 +#define DISPID_IHTMLWINDOW2_OPTION 1157 +#define DISPID_IHTMLWINDOW2_FOCUS 1158 +#define DISPID_IHTMLWINDOW2_BLUR 1159 +#define DISPID_IHTMLWINDOW2_SCROLL 1160 +#define DISPID_IHTMLWINDOW2_CLIENTINFORMATION 1161 +#define DISPID_IHTMLWINDOW2_SETINTERVAL 1173 +#define DISPID_IHTMLWINDOW2_CLEARINTERVAL 1163 +#define DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING 1164 +#define DISPID_IHTMLWINDOW2_EXECSCRIPT 1165 +#define DISPID_IHTMLWINDOW2_TOSTRING 1166 +#define DISPID_IHTMLWINDOW2_SCROLLBY 1167 +#define DISPID_IHTMLWINDOW2_SCROLLTO 1168 +#define DISPID_IHTMLWINDOW2_EXTERNAL 1169 +#define DISPID_IHTMLWINDOW2_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLWINDOW2_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLWINDOW2_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD DISPID_EVPROP_ONBEFOREUNLOAD +#define DISPID_IHTMLWINDOW2_ONUNLOAD DISPID_EVPROP_ONUNLOAD +#define DISPID_IHTMLWINDOW2_ONHELP DISPID_EVPROP_ONHELP +#define DISPID_IHTMLWINDOW2_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLWINDOW2_ONRESIZE DISPID_EVPROP_ONRESIZE +#define DISPID_IHTMLWINDOW2_ONSCROLL DISPID_EVPROP_ONSCROLL + +/* IHTMLWindow3 */ +#define DISPID_IHTMLWINDOW3_SCREENLEFT 1170 +#define DISPID_IHTMLWINDOW3_SCREENTOP 1171 +#define DISPID_IHTMLWINDOW3_ATTACHEVENT DISPID_HTMLOBJECT+7 +#define DISPID_IHTMLWINDOW3_DETACHEVENT DISPID_HTMLOBJECT+8 +#define DISPID_IHTMLWINDOW3_SETTIMEOUT 1103 +#define DISPID_IHTMLWINDOW3_SETINTERVAL 1162 +#define DISPID_IHTMLWINDOW3_PRINT 1174 +#define DISPID_IHTMLWINDOW3_ONBEFOREPRINT DISPID_EVPROP_ONBEFOREPRINT +#define DISPID_IHTMLWINDOW3_ONAFTERPRINT DISPID_EVPROP_ONAFTERPRINT +#define DISPID_IHTMLWINDOW3_CLIPBOARDDATA 1175 +#define DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG 1176 + +/* IHTMLWindow4 */ +#define DISPID_IHTMLWINDOW4_CREATEPOPUP 1180 +#define DISPID_IHTMLWINDOW4_FRAMEELEMENT 1181 + +/* IHTMLWindow5 */ +#define DISPID_IHTMLWINDOW5_XMLHTTPREQUEST 1190 + +/* IHTMLWindow6 */ +#define DISPID_IHTMLWINDOW6_XDOMAINREQUEST 1191 +#define DISPID_IHTMLWINDOW6_SESSIONSTORAGE 1192 +#define DISPID_IHTMLWINDOW6_LOCALSTORAGE 1193 +#define DISPID_IHTMLWINDOW6_ONHASHCHANGE DISPID_EVPROP_ONHASHCHANGE +#define DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER 1194 +#define DISPID_IHTMLWINDOW6_POSTMESSAGE 1196 +#define DISPID_IHTMLWINDOW6_TOSTATICHTML 1197 +#define DISPID_IHTMLWINDOW6_ONMESSAGE DISPID_EVPROP_ONMESSAGE +#define DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK 1198 + +/* IHTMLImageElementFactory */ +#define DISPID_IHTMLIMAGEELEMENTFACTORY_CREATE DISPID_VALUE + +/* IHTMLImgElement */ +#define DISPID_IHTMLIMGELEMENT_BORDER (DISPID_IMGBASE+4) +#define DISPID_IHTMLIMGELEMENT_VSPACE (DISPID_IMGBASE+5) +#define DISPID_IHTMLIMGELEMENT_HSPACE (DISPID_IMGBASE+6) +#define DISPID_IHTMLIMGELEMENT_ALT (DISPID_IMGBASE+2) +#define DISPID_IHTMLIMGELEMENT_SRC (DISPID_IMGBASE+3) +#define DISPID_IHTMLIMGELEMENT_LOWSRC (DISPID_IMGBASE+7) +#define DISPID_IHTMLIMGELEMENT_VRML (DISPID_IMGBASE+8) +#define DISPID_IHTMLIMGELEMENT_DYNSRC (DISPID_IMGBASE+9) +#define DISPID_IHTMLIMGELEMENT_READYSTATE (DISPID_IMGBASE+12) +#define DISPID_IHTMLIMGELEMENT_COMPLETE (DISPID_IMGBASE+10) +#define DISPID_IHTMLIMGELEMENT_LOOP (DISPID_IMGBASE+11) +#define DISPID_IHTMLIMGELEMENT_ISMAP (DISPID_IMG+2) +#define DISPID_IHTMLIMGELEMENT_USEMAP (DISPID_IMG+8) +#define DISPID_IHTMLIMGELEMENT_MIMETYPE (DISPID_IMG+10) +#define DISPID_IHTMLIMGELEMENT_FILESIZE (DISPID_IMG+11) +#define DISPID_IHTMLIMGELEMENT_FILECREATEDDATE (DISPID_IMG+12) +#define DISPID_IHTMLIMGELEMENT_FILEMODIFIEDDATE (DISPID_IMG+13) +#define DISPID_IHTMLIMGELEMENT_FILEUPDATEDDATE (DISPID_IMG+14) +#define DISPID_IHTMLIMGELEMENT_PROTOCOL (DISPID_IMG+15) +#define DISPID_IHTMLIMGELEMENT_HREF (DISPID_IMG+16) +#define DISPID_IHTMLIMGELEMENT_NAMEPROP (DISPID_IMG+17) +#define DISPID_IHTMLIMGELEMENT_ALIGN STDPROPID_XOBJ_CONTROLALIGN +#define DISPID_IHTMLIMGELEMENT_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLIMGELEMENT_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLIMGELEMENT_ONABORT DISPID_EVPROP_ONABORT +#define DISPID_IHTMLIMGELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLIMGELEMENT_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLIMGELEMENT_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLIMGELEMENT_START DISPID_IMGBASE+13 + +/* IHTMLImgElement2 */ +#define DISPID_IHTMLIMGELEMENT2_LONGDESC DISPID_IMG+19 + +/* IHTMLXMLHttpRequest */ +#define DISPID_IHTMLXMLHTTPREQUEST_READYSTATE DISPID_XMLHTTPREQUEST+2 +#define DISPID_IHTMLXMLHTTPREQUEST_RESPONSEBODY DISPID_XMLHTTPREQUEST+3 +#define DISPID_IHTMLXMLHTTPREQUEST_RESPONSETEXT DISPID_XMLHTTPREQUEST+4 +#define DISPID_IHTMLXMLHTTPREQUEST_RESPONSEXML DISPID_XMLHTTPREQUEST+5 +#define DISPID_IHTMLXMLHTTPREQUEST_STATUS DISPID_XMLHTTPREQUEST+6 +#define DISPID_IHTMLXMLHTTPREQUEST_STATUSTEXT DISPID_XMLHTTPREQUEST+7 +#define DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLXMLHTTPREQUEST_ABORT DISPID_XMLHTTPREQUEST+9 +#define DISPID_IHTMLXMLHTTPREQUEST_OPEN DISPID_XMLHTTPREQUEST+10 +#define DISPID_IHTMLXMLHTTPREQUEST_SEND DISPID_XMLHTTPREQUEST+11 +#define DISPID_IHTMLXMLHTTPREQUEST_GETALLRESPONSEHEADERS DISPID_XMLHTTPREQUEST+12 +#define DISPID_IHTMLXMLHTTPREQUEST_GETRESPONSEHEADER DISPID_XMLHTTPREQUEST+13 +#define DISPID_IHTMLXMLHTTPREQUEST_SETREQUESTHEADER DISPID_XMLHTTPREQUEST+14 + +/* IHTMLXMLHttpRequest2 */ +#define DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT DISPID_XMLHTTPREQUEST+15 +#define DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT DISPID_EVPROP_TIMEOUT + +/* IHTMLXMLHttpRequestFactory */ +#define DISPID_IHTMLXMLHTTPREQUESTFACTORY_CREATE DISPID_VALUE + +/* HTMLXMLHttpRequestEvents */ +#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONTIMEOUT DISPID_XMLHTTPREQUEST+16 +#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONREADYSTATECHANGE DISPID_XMLHTTPREQUEST+8 + +/* IOmHistory */ +#define DISPID_IOMHISTORY_LENGTH DISPID_HISTORY +#define DISPID_IOMHISTORY_BACK (DISPID_HISTORY+1) +#define DISPID_IOMHISTORY_FORWARD (DISPID_HISTORY+2) +#define DISPID_IOMHISTORY_GO (DISPID_HISTORY+3) + +/* IOmNavigator */ +#define DISPID_IOMNAVIGATOR_APPCODENAME DISPID_NAVIGATOR +#define DISPID_IOMNAVIGATOR_APPNAME (DISPID_NAVIGATOR+1) +#define DISPID_IOMNAVIGATOR_APPVERSION (DISPID_NAVIGATOR+2) +#define DISPID_IOMNAVIGATOR_USERAGENT (DISPID_NAVIGATOR+3) +#define DISPID_IOMNAVIGATOR_JAVAENABLED (DISPID_NAVIGATOR+4) +#define DISPID_IOMNAVIGATOR_TAINTENABLED (DISPID_NAVIGATOR+5) +#define DISPID_IOMNAVIGATOR_MIMETYPES (DISPID_NAVIGATOR+6) +#define DISPID_IOMNAVIGATOR_PLUGINS (DISPID_NAVIGATOR+7) +#define DISPID_IOMNAVIGATOR_COOKIEENABLED (DISPID_NAVIGATOR+8) +#define DISPID_IOMNAVIGATOR_OPSPROFILE (DISPID_NAVIGATOR+9) +#define DISPID_IOMNAVIGATOR_TOSTRING (DISPID_NAVIGATOR+10) +#define DISPID_IOMNAVIGATOR_CPUCLASS (DISPID_NAVIGATOR+11) +#define DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE (DISPID_NAVIGATOR+12) +#define DISPID_IOMNAVIGATOR_BROWSERLANGUAGE (DISPID_NAVIGATOR+13) +#define DISPID_IOMNAVIGATOR_USERLANGUAGE (DISPID_NAVIGATOR+14) +#define DISPID_IOMNAVIGATOR_PLATFORM (DISPID_NAVIGATOR+15) +#define DISPID_IOMNAVIGATOR_APPMINORVERSION (DISPID_NAVIGATOR+16) +#define DISPID_IOMNAVIGATOR_CONNECTIONSPEED (DISPID_NAVIGATOR+17) +#define DISPID_IOMNAVIGATOR_ONLINE (DISPID_NAVIGATOR+18) +#define DISPID_IOMNAVIGATOR_USERPROFILE (DISPID_NAVIGATOR+19) + +/* IHTMLMimeTypesCollection */ +#define DISPID_IHTMLMIMETYPESCOLLECTION_LENGTH 1 + +/* IHTMLPluginsCollection */ +#define DISPID_IHTMLPLUGINSCOLLECTION_LENGTH 1 +#define DISPID_IHTMLPLUGINSCOLLECTION_REFRESH 2 + +/* IHTMLOpsProfile */ +#define DISPID_IHTMLOPSPROFILE_ADDREQUEST 1 +#define DISPID_IHTMLOPSPROFILE_CLEARREQUEST 2 +#define DISPID_IHTMLOPSPROFILE_DOREQUEST 3 +#define DISPID_IHTMLOPSPROFILE_GETATTRIBUTE 4 +#define DISPID_IHTMLOPSPROFILE_SETATTRIBUTE 5 +#define DISPID_IHTMLOPSPROFILE_COMMITCHANGES 6 +#define DISPID_IHTMLOPSPROFILE_ADDREADREQUEST 7 +#define DISPID_IHTMLOPSPROFILE_DOREADREQUEST 8 +#define DISPID_IHTMLOPSPROFILE_DOWRITEREQUEST 9 + +/* IHTMLDataTransfer */ +#define DISPID_IHTMLDATATRANSFER_SETDATA DISPID_DATATRANSFER+1 +#define DISPID_IHTMLDATATRANSFER_GETDATA DISPID_DATATRANSFER+2 +#define DISPID_IHTMLDATATRANSFER_CLEARDATA DISPID_DATATRANSFER+3 +#define DISPID_IHTMLDATATRANSFER_DROPEFFECT DISPID_DATATRANSFER+4 +#define DISPID_IHTMLDATATRANSFER_EFFECTALLOWED DISPID_DATATRANSFER+5 + +/* IHTMLEventObj */ +#define DISPID_IHTMLEVENTOBJ_SRCELEMENT (DISPID_EVENTOBJ+1) +#define DISPID_IHTMLEVENTOBJ_ALTKEY (DISPID_EVENTOBJ+2) +#define DISPID_IHTMLEVENTOBJ_CTRLKEY (DISPID_EVENTOBJ+3) +#define DISPID_IHTMLEVENTOBJ_SHIFTKEY (DISPID_EVENTOBJ+4) +#define DISPID_IHTMLEVENTOBJ_X (DISPID_EVENTOBJ+5) +#define DISPID_IHTMLEVENTOBJ_Y (DISPID_EVENTOBJ+6) +#define DISPID_IHTMLEVENTOBJ_RETURNVALUE (DISPID_EVENTOBJ+7) +#define DISPID_IHTMLEVENTOBJ_CANCELBUBBLE (DISPID_EVENTOBJ+8) +#define DISPID_IHTMLEVENTOBJ_FROMELEMENT (DISPID_EVENTOBJ+9) +#define DISPID_IHTMLEVENTOBJ_TOELEMENT (DISPID_EVENTOBJ+10) +#define DISPID_IHTMLEVENTOBJ_KEYCODE (DISPID_EVENTOBJ+11) +#define DISPID_IHTMLEVENTOBJ_BUTTON (DISPID_EVENTOBJ+12) +#define DISPID_IHTMLEVENTOBJ_TYPE (DISPID_EVENTOBJ+13) +#define DISPID_IHTMLEVENTOBJ_QUALIFIER (DISPID_EVENTOBJ+14) +#define DISPID_IHTMLEVENTOBJ_REASON (DISPID_EVENTOBJ+15) +#define DISPID_IHTMLEVENTOBJ_CLIENTX (DISPID_EVENTOBJ+20) +#define DISPID_IHTMLEVENTOBJ_CLIENTY (DISPID_EVENTOBJ+21) +#define DISPID_IHTMLEVENTOBJ_OFFSETX (DISPID_EVENTOBJ+22) +#define DISPID_IHTMLEVENTOBJ_OFFSETY (DISPID_EVENTOBJ+23) +#define DISPID_IHTMLEVENTOBJ_SCREENX (DISPID_EVENTOBJ+24) +#define DISPID_IHTMLEVENTOBJ_SCREENY (DISPID_EVENTOBJ+25) +#define DISPID_IHTMLEVENTOBJ_SRCFILTER (DISPID_EVENTOBJ+26) + +/* IHTMLEventObj2 */ +#define DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE DISPID_HTMLOBJECT+1 +#define DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE DISPID_HTMLOBJECT+2 +#define DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE DISPID_HTMLOBJECT+3 +#define DISPID_IHTMLEVENTOBJ2_PROPERTYNAME DISPID_EVENTOBJ+27 +#define DISPID_IHTMLEVENTOBJ2_BOOKMARKS DISPID_EVENTOBJ+31 +#define DISPID_IHTMLEVENTOBJ2_RECORDSET DISPID_EVENTOBJ+32 +#define DISPID_IHTMLEVENTOBJ2_DATAFLD DISPID_EVENTOBJ+33 +#define DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS DISPID_EVENTOBJ+34 +#define DISPID_IHTMLEVENTOBJ2_REPEAT DISPID_EVENTOBJ+35 +#define DISPID_IHTMLEVENTOBJ2_SRCURN DISPID_EVENTOBJ+36 +#define DISPID_IHTMLEVENTOBJ2_SRCELEMENT DISPID_EVENTOBJ+1 +#define DISPID_IHTMLEVENTOBJ2_ALTKEY DISPID_EVENTOBJ+2 +#define DISPID_IHTMLEVENTOBJ2_CTRLKEY DISPID_EVENTOBJ+3 +#define DISPID_IHTMLEVENTOBJ2_SHIFTKEY DISPID_EVENTOBJ+4 +#define DISPID_IHTMLEVENTOBJ2_FROMELEMENT DISPID_EVENTOBJ+9 +#define DISPID_IHTMLEVENTOBJ2_TOELEMENT DISPID_EVENTOBJ+10 +#define DISPID_IHTMLEVENTOBJ2_BUTTON DISPID_EVENTOBJ+12 +#define DISPID_IHTMLEVENTOBJ2_TYPE DISPID_EVENTOBJ+13 +#define DISPID_IHTMLEVENTOBJ2_QUALIFIER DISPID_EVENTOBJ+14 +#define DISPID_IHTMLEVENTOBJ2_REASON DISPID_EVENTOBJ+15 +#define DISPID_IHTMLEVENTOBJ2_X DISPID_EVENTOBJ+5 +#define DISPID_IHTMLEVENTOBJ2_Y DISPID_EVENTOBJ+6 +#define DISPID_IHTMLEVENTOBJ2_CLIENTX DISPID_EVENTOBJ+20 +#define DISPID_IHTMLEVENTOBJ2_CLIENTY DISPID_EVENTOBJ+21 +#define DISPID_IHTMLEVENTOBJ2_OFFSETX DISPID_EVENTOBJ+22 +#define DISPID_IHTMLEVENTOBJ2_OFFSETY DISPID_EVENTOBJ+23 +#define DISPID_IHTMLEVENTOBJ2_SCREENX DISPID_EVENTOBJ+24 +#define DISPID_IHTMLEVENTOBJ2_SCREENY DISPID_EVENTOBJ+25 +#define DISPID_IHTMLEVENTOBJ2_SRCFILTER DISPID_EVENTOBJ+26 +#define DISPID_IHTMLEVENTOBJ2_DATATRANSFER DISPID_EVENTOBJ+37 + +/* IHTMLEventObj3 */ +#define DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW DISPID_EVENTOBJ+38 +#define DISPID_IHTMLEVENTOBJ3_SHIFTLEFT DISPID_EVENTOBJ+39 +#define DISPID_IHTMLEVENTOBJ3_ALTLEFT DISPID_EVENTOBJ+40 +#define DISPID_IHTMLEVENTOBJ3_CTRLLEFT DISPID_EVENTOBJ+41 +#define DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE DISPID_EVENTOBJ+42 +#define DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND DISPID_EVENTOBJ+43 +#define DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA DISPID_EVENTOBJ+44 +#define DISPID_IHTMLEVENTOBJ3_IMEREQUEST DISPID_EVENTOBJ+46 +#define DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA DISPID_EVENTOBJ+47 +#define DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT DISPID_EVENTOBJ+45 +#define DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE DISPID_EVENTOBJ+48 +#define DISPID_IHTMLEVENTOBJ3_BEHAVIORPART DISPID_EVENTOBJ+49 +#define DISPID_IHTMLEVENTOBJ3_NEXTPAGE DISPID_EVENTOBJ+50 + +/* IHTMLEventObj4 */ +#define DISPID_IHTMLEVENTOBJ4_WHEELDELTA DISPID_EVENTOBJ+51 + +/* IHTMLScreen */ +#define DISPID_IHTMLSCREEN_COLORDEPTH (DISPID_SCREEN+1) +#define DISPID_IHTMLSCREEN_BUFFERDEPTH (DISPID_SCREEN+2) +#define DISPID_IHTMLSCREEN_WIDTH (DISPID_SCREEN+3) +#define DISPID_IHTMLSCREEN_HEIGHT (DISPID_SCREEN+4) +#define DISPID_IHTMLSCREEN_UPDATEINTERVAL (DISPID_SCREEN+5) +#define DISPID_IHTMLSCREEN_AVAILHEIGHT (DISPID_SCREEN+6) +#define DISPID_IHTMLSCREEN_AVAILWIDTH (DISPID_SCREEN+7) +#define DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED (DISPID_SCREEN+8) + +/* IHTMLScreen2 */ +#define DISPID_IHTMLSCREEN2_LOGICALXDPI DISPID_SCREEN+9 +#define DISPID_IHTMLSCREEN2_LOGICALYDPI DISPID_SCREEN+10 +#define DISPID_IHTMLSCREEN2_DEVICEXDPI DISPID_SCREEN+11 +#define DISPID_IHTMLSCREEN2_DEVICEYDPI DISPID_SCREEN+12 + +/* IHTMLScreen3 */ +#define DISPID_IHTMLSCREEN3_SYSTEMXDPI DISPID_SCREEN+13 +#define DISPID_IHTMLSCREEN3_SYSTEMYDPI DISPID_SCREEN+14 + +/* IHTMLOptionElementFactory */ +#define DISPID_IHTMLOPTIONELEMENTFACTORY_CREATE DISPID_VALUE + +/* IHTMLOptionElement */ +#define DISPID_IHTMLOPTIONELEMENT_SELECTED (DISPID_OPTION+1) +#define DISPID_IHTMLOPTIONELEMENT_VALUE (DISPID_OPTION+2) +#define DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED (DISPID_OPTION+3) +#define DISPID_IHTMLOPTIONELEMENT_INDEX (DISPID_OPTION+5) +#define DISPID_IHTMLOPTIONELEMENT_TEXT (DISPID_OPTION+4) +#define DISPID_IHTMLOPTIONELEMENT_FORM (DISPID_OPTION+6) + +/* IHTMLOptionElement3 */ +#define DISPID_IHTMLOPTIONELEMENT3_LABEL DISPID_OPTION+7 + +/* IHTMLFormElement */ +#define DISPID_IHTMLFORMELEMENT_ACTION (DISPID_FORM+1) +#define DISPID_IHTMLFORMELEMENT_DIR (DISPID_FORM+2) +#define DISPID_IHTMLFORMELEMENT_ENCODING (DISPID_FORM+3) +#define DISPID_IHTMLFORMELEMENT_METHOD (DISPID_FORM+4) +#define DISPID_IHTMLFORMELEMENT_ELEMENTS (DISPID_FORM+5) +#define DISPID_IHTMLFORMELEMENT_TARGET (DISPID_FORM+6) +#define DISPID_IHTMLFORMELEMENT_SUBMIT (DISPID_FORM+9) +#define DISPID_IHTMLFORMELEMENT_RESET (DISPID_FORM+10) +#define DISPID_IHTMLFORMELEMENT_TAGS (DISPID_COLLECTION+2) +#define DISPID_IHTMLFORMELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLFORMELEMENT_ONSUBMIT DISPID_EVPROP_ONSUBMIT +#define DISPID_IHTMLFORMELEMENT_ONRESET DISPID_EVPROP_ONRESET +#define DISPID_IHTMLFORMELEMENT_LENGTH DISPID_COLLECTION +#define DISPID_IHTMLFORMELEMENT__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLFORMELEMENT_ITEM DISPID_VALUE + +/* HTMLFormElementEvents */ +#define DISPID_HTMLFORMELEMENTEVENTS_ONSUBMIT DISPID_EVMETH_ONSUBMIT +#define DISPID_HTMLFORMELEMENTEVENTS_ONRESET DISPID_EVMETH_ONRESET + +/* HTMLFormElementEvents2 */ +#define DISPID_HTMLFORMELEMENTEVENTS2_ONSUBMIT DISPID_EVMETH_ONSUBMIT +#define DISPID_HTMLFORMELEMENTEVENTS2_ONRESET DISPID_EVMETH_ONRESET + +/* IHTMLStyleSheetsCollection */ +#define DISPID_IHTMLSTYLESHEETSCOLLECTION_LENGTH (DISPID_STYLESHEETS_COL+1) +#define DISPID_IHTMLSTYLESHEETSCOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM DISPID_VALUE + +/* IHTMLStyleSheet */ +#define DISPID_IHTMLSTYLESHEET_TITLE (DISPID_STYLESHEET+1) +#define DISPID_IHTMLSTYLESHEET_PARENTSTYLESHEET (DISPID_STYLESHEET+2) +#define DISPID_IHTMLSTYLESHEET_OWNINGELEMENT (DISPID_STYLESHEET+3) +#define DISPID_IHTMLSTYLESHEET_READONLY (DISPID_STYLESHEET+4) +#define DISPID_IHTMLSTYLESHEET_IMPORTS (DISPID_STYLESHEET+5) +#define DISPID_IHTMLSTYLESHEET_HREF (DISPID_STYLESHEET+6) +#define DISPID_IHTMLSTYLESHEET_TYPE (DISPID_STYLESHEET+7) +#define DISPID_IHTMLSTYLESHEET_ID (DISPID_STYLESHEET+8) +#define DISPID_IHTMLSTYLESHEET_ADDIMPORT (DISPID_STYLESHEET+9) +#define DISPID_IHTMLSTYLESHEET_ADDRULE (DISPID_STYLESHEET+10) +#define DISPID_IHTMLSTYLESHEET_REMOVEIMPORT (DISPID_STYLESHEET+11) +#define DISPID_IHTMLSTYLESHEET_REMOVERULE (DISPID_STYLESHEET+12) +#define DISPID_IHTMLSTYLESHEET_MEDIA (DISPID_STYLESHEET+13) +#define DISPID_IHTMLSTYLESHEET_CSSTEXT (DISPID_STYLESHEET+14) +#define DISPID_IHTMLSTYLESHEET_RULES (DISPID_STYLESHEET+15) +#define DISPID_IHTMLSTYLESHEET_DISABLED STDPROPID_XOBJ_DISABLED + +/* IHTMLStyleSheet2 */ +#define DISPID_IHTMLSTYLESHEET2_PAGES (DISPID_STYLESHEET+16) +#define DISPID_IHTMLSTYLESHEET2_ADDPAGERULE (DISPID_STYLESHEET+17) + +/* IHTMLStyleSheetRulesCollection */ +#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH (DISPID_STYLERULES_COL+1) +#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM DISPID_VALUE + +/* IHTMLStyleSheetPage */ +#define DISPID_IHTMLSTYLESHEETPAGE_SELECTOR (DISPID_STYLEPAGE+1) +#define DISPID_IHTMLSTYLESHEETPAGE_PSEUDOCLASS (DISPID_STYLEPAGE+2) + +/* IHTMLStyleSheetPagesCollection */ +#define DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_LENGTH (DISPID_STYLEPAGES_COL+1) +#define DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_ITEM DISPID_VALUE + +/* IHTMLStyleSheetRule */ +#define DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT (DISPID_STYLERULE+1) +#define DISPID_IHTMLSTYLESHEETRULE_READONLY (DISPID_STYLERULE+2) +#define DISPID_IHTMLSTYLESHEETRULE_STYLE STDPROPID_XOBJ_STYLE + +/* IHTMLRuleStyle */ +#define DISPID_IHTMLRULESTYLE_SETATTRIBUTE (DISPID_HTMLOBJECT+1) +#define DISPID_IHTMLRULESTYLE_GETATTRIBUTE (DISPID_HTMLOBJECT+2) +#define DISPID_IHTMLRULESTYLE_REMOVEATTRIBUTE (DISPID_HTMLOBJECT+3) +#define DISPID_IHTMLRULESTYLE_FONTFAMILY DISPID_A_FONTFACE +#define DISPID_IHTMLRULESTYLE_FONTSTYLE DISPID_A_FONTSTYLE +#define DISPID_IHTMLRULESTYLE_FONTVARIANT DISPID_A_FONTVARIANT +#define DISPID_IHTMLRULESTYLE_FONTWEIGHT DISPID_A_FONTWEIGHT +#define DISPID_IHTMLRULESTYLE_FONTSIZE DISPID_A_FONTSIZE +#define DISPID_IHTMLRULESTYLE_FONT DISPID_A_FONT +#define DISPID_IHTMLRULESTYLE_COLOR DISPID_A_COLOR +#define DISPID_IHTMLRULESTYLE_BACKGROUND DISPID_A_BACKGROUND +#define DISPID_IHTMLRULESTYLE_BACKGROUNDIMAGE DISPID_A_BACKGROUNDIMAGE +#define DISPID_IHTMLRULESTYLE_BACKGROUNDREPEAT DISPID_A_BACKGROUNDREPEAT +#define DISPID_IHTMLRULESTYLE_BACKGROUNDATTACHMENT DISPID_A_BACKGROUNDATTACHMENT +#define DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITION DISPID_A_BACKGROUNDPOSITION +#define DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONX DISPID_A_BACKGROUNDPOSX +#define DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONY DISPID_A_BACKGROUNDPOSY +#define DISPID_IHTMLRULESTYLE_WORDSPACING DISPID_A_WORDSPACING +#define DISPID_IHTMLRULESTYLE_LETTERSPACING DISPID_A_LETTERSPACING +#define DISPID_IHTMLRULESTYLE_TEXTDECORATION DISPID_A_TEXTDECORATION +#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONNONE DISPID_A_TEXTDECORATIONNONE +#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONUNDERLINE DISPID_A_TEXTDECORATIONUNDERLINE +#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONOVERLINE DISPID_A_TEXTDECORATIONOVERLINE +#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONLINETHROUGH DISPID_A_TEXTDECORATIONLINETHROUGH +#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONBLINK DISPID_A_TEXTDECORATIONBLINK +#define DISPID_IHTMLRULESTYLE_VERTICALALIGN DISPID_A_VERTICALALIGN +#define DISPID_IHTMLRULESTYLE_TEXTTRANSFORM DISPID_A_TEXTTRANSFORM +#define DISPID_IHTMLRULESTYLE_TEXTINDENT DISPID_A_TEXTINDENT +#define DISPID_IHTMLRULESTYLE_LINEHEIGHT DISPID_A_LINEHEIGHT +#define DISPID_IHTMLRULESTYLE_MARGINTOP DISPID_A_MARGINTOP +#define DISPID_IHTMLRULESTYLE_MARGINRIGHT DISPID_A_MARGINRIGHT +#define DISPID_IHTMLRULESTYLE_MARGINBOTTOM DISPID_A_MARGINBOTTOM +#define DISPID_IHTMLRULESTYLE_MARGINLEFT DISPID_A_MARGINLEFT +#define DISPID_IHTMLRULESTYLE_MARGIN DISPID_A_MARGIN +#define DISPID_IHTMLRULESTYLE_PADDINGTOP DISPID_A_PADDINGTOP +#define DISPID_IHTMLRULESTYLE_PADDINGRIGHT DISPID_A_PADDINGRIGHT +#define DISPID_IHTMLRULESTYLE_PADDINGBOTTOM DISPID_A_PADDINGBOTTOM +#define DISPID_IHTMLRULESTYLE_PADDINGLEFT DISPID_A_PADDINGLEFT +#define DISPID_IHTMLRULESTYLE_PADDING DISPID_A_PADDING +#define DISPID_IHTMLRULESTYLE_BORDER DISPID_A_BORDER +#define DISPID_IHTMLRULESTYLE_BORDERTOP DISPID_A_BORDERTOP +#define DISPID_IHTMLRULESTYLE_BORDERRIGHT DISPID_A_BORDERRIGHT +#define DISPID_IHTMLRULESTYLE_BORDERBOTTOM DISPID_A_BORDERBOTTOM +#define DISPID_IHTMLRULESTYLE_BORDERLEFT DISPID_A_BORDERLEFT +#define DISPID_IHTMLRULESTYLE_BORDERCOLOR DISPID_A_BORDERCOLOR +#define DISPID_IHTMLRULESTYLE_BORDERTOPCOLOR DISPID_A_BORDERTOPCOLOR +#define DISPID_IHTMLRULESTYLE_BORDERRIGHTCOLOR DISPID_A_BORDERRIGHTCOLOR +#define DISPID_IHTMLRULESTYLE_BORDERBOTTOMCOLOR DISPID_A_BORDERBOTTOMCOLOR +#define DISPID_IHTMLRULESTYLE_BORDERLEFTCOLOR DISPID_A_BORDERLEFTCOLOR +#define DISPID_IHTMLRULESTYLE_BORDERWIDTH DISPID_A_BORDERWIDTH +#define DISPID_IHTMLRULESTYLE_BORDERTOPWIDTH DISPID_A_BORDERTOPWIDTH +#define DISPID_IHTMLRULESTYLE_BORDERRIGHTWIDTH DISPID_A_BORDERRIGHTWIDTH +#define DISPID_IHTMLRULESTYLE_BORDERBOTTOMWIDTH DISPID_A_BORDERBOTTOMWIDTH +#define DISPID_IHTMLRULESTYLE_BORDERLEFTWIDTH DISPID_A_BORDERLEFTWIDTH +#define DISPID_IHTMLRULESTYLE_BORDERSTYLE DISPID_A_BORDERSTYLE +#define DISPID_IHTMLRULESTYLE_BORDERTOPSTYLE DISPID_A_BORDERTOPSTYLE +#define DISPID_IHTMLRULESTYLE_BORDERRIGHTSTYLE DISPID_A_BORDERRIGHTSTYLE +#define DISPID_IHTMLRULESTYLE_BORDERBOTTOMSTYLE DISPID_A_BORDERBOTTOMSTYLE +#define DISPID_IHTMLRULESTYLE_BORDERLEFTSTYLE DISPID_A_BORDERLEFTSTYLE +#define DISPID_IHTMLRULESTYLE_STYLEFLOAT DISPID_A_FLOAT +#define DISPID_IHTMLRULESTYLE_CLEAR DISPID_A_CLEAR +#define DISPID_IHTMLRULESTYLE_DISPLAY DISPID_A_DISPLAY +#define DISPID_IHTMLRULESTYLE_VISIBILITY DISPID_A_VISIBILITY +#define DISPID_IHTMLRULESTYLE_LISTSTYLETYPE DISPID_A_LISTSTYLETYPE +#define DISPID_IHTMLRULESTYLE_LISTSTYLEPOSITION DISPID_A_LISTSTYLEPOSITION +#define DISPID_IHTMLRULESTYLE_LISTSTYLEIMAGE DISPID_A_LISTSTYLEIMAGE +#define DISPID_IHTMLRULESTYLE_LISTSTYLE DISPID_A_LISTSTYLE +#define DISPID_IHTMLRULESTYLE_WHITESPACE DISPID_A_WHITESPACE +#define DISPID_IHTMLRULESTYLE_POSITION DISPID_A_POSITION +#define DISPID_IHTMLRULESTYLE_ZINDEX DISPID_A_ZINDEX +#define DISPID_IHTMLRULESTYLE_OVERFLOW DISPID_A_OVERFLOW +#define DISPID_IHTMLRULESTYLE_PAGEBREAKBEFORE DISPID_A_PAGEBREAKBEFORE +#define DISPID_IHTMLRULESTYLE_PAGEBREAKAFTER DISPID_A_PAGEBREAKAFTER +#define DISPID_IHTMLRULESTYLE_CSSTEXT DISPID_A_STYLETEXT +#define DISPID_IHTMLRULESTYLE_CURSOR DISPID_A_CURSOR +#define DISPID_IHTMLRULESTYLE_CLIP DISPID_A_CLIP +#define DISPID_IHTMLRULESTYLE_FILTER DISPID_A_FILTER +#define DISPID_IHTMLRULESTYLE_TOP STDPROPID_XOBJ_TOP +#define DISPID_IHTMLRULESTYLE_LEFT STDPROPID_XOBJ_LEFT +#define DISPID_IHTMLRULESTYLE_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLRULESTYLE_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLRULESTYLE_TEXTALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR DISPID_BACKCOLOR + +/* IHTMLDOMNode */ +#define DISPID_IHTMLDOMNODE_NODETYPE DISPID_ELEMENT+46 +#define DISPID_IHTMLDOMNODE_PARENTNODE DISPID_ELEMENT+47 +#define DISPID_IHTMLDOMNODE_HASCHILDNODES DISPID_ELEMENT+48 +#define DISPID_IHTMLDOMNODE_CHILDNODES DISPID_ELEMENT+49 +#define DISPID_IHTMLDOMNODE_ATTRIBUTES DISPID_ELEMENT+50 +#define DISPID_IHTMLDOMNODE_INSERTBEFORE DISPID_ELEMENT+51 +#define DISPID_IHTMLDOMNODE_REMOVECHILD DISPID_ELEMENT+52 +#define DISPID_IHTMLDOMNODE_REPLACECHILD DISPID_ELEMENT+53 +#define DISPID_IHTMLDOMNODE_CLONENODE DISPID_ELEMENT+61 +#define DISPID_IHTMLDOMNODE_REMOVENODE DISPID_ELEMENT+66 +#define DISPID_IHTMLDOMNODE_SWAPNODE DISPID_ELEMENT+68 +#define DISPID_IHTMLDOMNODE_REPLACENODE DISPID_ELEMENT+67 +#define DISPID_IHTMLDOMNODE_APPENDCHILD DISPID_ELEMENT+73 +#define DISPID_IHTMLDOMNODE_NODENAME DISPID_ELEMENT+74 +#define DISPID_IHTMLDOMNODE_NODEVALUE DISPID_ELEMENT+75 +#define DISPID_IHTMLDOMNODE_FIRSTCHILD DISPID_ELEMENT+76 +#define DISPID_IHTMLDOMNODE_LASTCHILD DISPID_ELEMENT+77 +#define DISPID_IHTMLDOMNODE_PREVIOUSSIBLING DISPID_ELEMENT+78 +#define DISPID_IHTMLDOMNODE_NEXTSIBLING DISPID_ELEMENT+79 + +/* IHTMLDOMNode3 */ +#define DISPID_IHTMLDOMNODE3_PREFIX DISPID_ELEMENT+120 +#define DISPID_IHTMLDOMNODE3_LOCALNAME DISPID_ELEMENT+118 +#define DISPID_IHTMLDOMNODE3_NAMESPACEURI DISPID_ELEMENT+119 +#define DISPID_IHTMLDOMNODE3_TEXTCONTENT DISPID_ELEMENT+127 +#define DISPID_IHTMLDOMNODE3_ISEQUALNODE DISPID_ELEMENT+121 +#define DISPID_IHTMLDOMNODE3_LOOKUPNAMESPACEURI DISPID_ELEMENT+122 +#define DISPID_IHTMLDOMNODE3_LOOKUPPREFIX DISPID_ELEMENT+123 +#define DISPID_IHTMLDOMNODE3_ISDEFAULTNAMESPACE DISPID_ELEMENT+124 +#define DISPID_IHTMLDOMNODE3_IE9_APPENDCHILD DISPID_IE9_ELEMENT+18 +#define DISPID_IHTMLDOMNODE3_IE9_INSERTBEFORE DISPID_IE9_ELEMENT+19 +#define DISPID_IHTMLDOMNODE3_IE9_REMOVECHILD DISPID_IE9_ELEMENT+20 +#define DISPID_IHTMLDOMNODE3_IE9_REPLACECHILD DISPID_IE9_ELEMENT+21 +#define DISPID_IHTMLDOMNODE3_ISSAMENODE DISPID_ELEMENT+125 +#define DISPID_IHTMLDOMNODE3_COMPAREDOCUMENTPOSITION DISPID_ELEMENT+126 +#define DISPID_IHTMLDOMNODE3_ISSUPPORTED DISPID_IE9_ELEMENT+27 + +/* IHTMLLinkElement */ +#define DISPID_IHTMLLINKELEMENT_HREF DISPID_HEDELEMS+5 +#define DISPID_IHTMLLINKELEMENT_REL DISPID_HEDELEMS+6 +#define DISPID_IHTMLLINKELEMENT_REV DISPID_HEDELEMS+7 +#define DISPID_IHTMLLINKELEMENT_TYPE DISPID_HEDELEMS+8 +#define DISPID_IHTMLLINKELEMENT_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLLINKELEMENT_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLLINKELEMENT_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLLINKELEMENT_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLLINKELEMENT_STYLESHEET DISPID_HEDELEMS+14 +#define DISPID_IHTMLLINKELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLLINKELEMENT_MEDIA DISPID_HEDELEMS+16 + +/* IHTMLLinkElement2 */ +#define DISPID_IHTMLLINKELEMENT2_TARGET DISPID_HEDELEMS+17 + +/* IHTMLLinkElement3 */ +#define DISPID_IHTMLLINKELEMENT3_CHARSET DISPID_HEDELEMS+18 +#define DISPID_IHTMLLINKELEMENT3_HREFLANG DISPID_HEDELEMS+19 + +/* IHTMLLinkElement4 */ +#define DISPID_IHTMLLINKELEMENT4_IE8_HREF DISPID_IE8_LINK + +/* IHTMLDOMNode2 */ +#define DISPID_IHTMLDOMNODE2_OWNERDOCUMENT DISPID_ELEMENT+113 + +/* IHTMLDOMTextNode */ +#define DISPID_IHTMLDOMTEXTNODE_DATA DISPID_DOMTEXTNODE +#define DISPID_IHTMLDOMTEXTNODE_TOSTRING DISPID_DOMTEXTNODE+1 +#define DISPID_IHTMLDOMTEXTNODE_LENGTH DISPID_DOMTEXTNODE+2 +#define DISPID_IHTMLDOMTEXTNODE_SPLITTEXT DISPID_DOMTEXTNODE+3 + +/* IHTMLDOMTextNode2 */ +#define DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA DISPID_DOMTEXTNODE+4 +#define DISPID_IHTMLDOMTEXTNODE2_APPENDDATA DISPID_DOMTEXTNODE+5 +#define DISPID_IHTMLDOMTEXTNODE2_INSERTDATA DISPID_DOMTEXTNODE+6 +#define DISPID_IHTMLDOMTEXTNODE2_DELETEDATA DISPID_DOMTEXTNODE+7 +#define DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA DISPID_DOMTEXTNODE+8 + +/* IHTMLRenderStyle */ +#define DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE DISPID_A_TEXTLINETHROUGHSTYLE +#define DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE DISPID_A_TEXTUNDERLINESTYLE +#define DISPID_IHTMLRENDERSTYLE_TEXTEFFECT DISPID_A_TEXTEFFECT +#define DISPID_IHTMLRENDERSTYLE_TEXTCOLOR DISPID_A_TEXTCOLOR +#define DISPID_IHTMLRENDERSTYLE_TEXTBACKGROUNDCOLOR DISPID_A_TEXTBACKGROUNDCOLOR +#define DISPID_IHTMLRENDERSTYLE_TEXTDECORATIONCOLOR DISPID_A_TEXTDECORATIONCOLOR +#define DISPID_IHTMLRENDERSTYLE_RENDERINGPRIORITY DISPID_A_RENDERINGPRIORITY +#define DISPID_IHTMLRENDERSTYLE_DEFAULTTEXTSELECTION DISPID_A_DEFAULTTEXTSELECTION +#define DISPID_IHTMLRENDERSTYLE_TEXTDECORATION DISPID_A_STYLETEXTDECORATION + +/* IHTMLDOMImplementation */ +#define DISPID_IHTMLDOMIMPLEMENTATION_HASFEATURE DISPID_DOMIMPLEMENTATION + +/* IHTMLDOMAttribute */ +#define DISPID_IHTMLDOMATTRIBUTE_NODENAME DISPID_DOMATTRIBUTE +#define DISPID_IHTMLDOMATTRIBUTE_NODEVALUE DISPID_DOMATTRIBUTE+2 +#define DISPID_IHTMLDOMATTRIBUTE_SPECIFIED DISPID_DOMATTRIBUTE+1 + +/* IHTMLDOMAttribute2 */ +#define DISPID_IHTMLDOMATTRIBUTE2_NAME DISPID_DOMATTRIBUTE+3 +#define DISPID_IHTMLDOMATTRIBUTE2_VALUE DISPID_DOMATTRIBUTE+4 +#define DISPID_IHTMLDOMATTRIBUTE2_EXPANDO DISPID_DOMATTRIBUTE+5 +#define DISPID_IHTMLDOMATTRIBUTE2_NODETYPE DISPID_DOMATTRIBUTE+6 +#define DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE DISPID_DOMATTRIBUTE+7 +#define DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES DISPID_DOMATTRIBUTE+8 +#define DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD DISPID_DOMATTRIBUTE+9 +#define DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD DISPID_DOMATTRIBUTE+10 +#define DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING DISPID_DOMATTRIBUTE+11 +#define DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING DISPID_DOMATTRIBUTE+12 +#define DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES DISPID_DOMATTRIBUTE+13 +#define DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT DISPID_DOMATTRIBUTE+14 +#define DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE DISPID_DOMATTRIBUTE+15 +#define DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD DISPID_DOMATTRIBUTE+16 +#define DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD DISPID_DOMATTRIBUTE+17 +#define DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD DISPID_DOMATTRIBUTE+18 +#define DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES DISPID_DOMATTRIBUTE+19 +#define DISPID_IHTMLDOMATTRIBUTE2_CLONENODE DISPID_DOMATTRIBUTE+20 + +/* IHTMLDOMAttribute3 */ +#define DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE DISPID_IE8_ATTR+3 +#define DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE DISPID_IE8_ATTR+4 +#define DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED DISPID_IE8_ATTR +#define DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT DISPID_IE8_ATTR+1 + +/* IHTMLDocumentCompatibleInfo */ +#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_USERAGENT DISPID_DOCUMENTCOMPATIBLEINFO +#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_VERSION DISPID_DOCUMENTCOMPATIBLEINFO+1 + +/* IHTMLDocumentCompatibleInfoCollection */ +#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_ITEM DISPID_DOCUMENTCOMPATIBLEINFOCOLLECTION +#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_LENGTH DISPID_DOCUMENTCOMPATIBLEINFOCOLLECTION+1 + +/* IHTMLBodyElement */ +#define DISPID_IHTMLBODYELEMENT_BACKGROUND DISPID_A_BACKGROUNDIMAGE +#define DISPID_IHTMLBODYELEMENT_BGPROPERTIES DISPID_A_BACKGROUNDATTACHMENT +#define DISPID_IHTMLBODYELEMENT_LEFTMARGIN DISPID_A_MARGINLEFT +#define DISPID_IHTMLBODYELEMENT_TOPMARGIN DISPID_A_MARGINTOP +#define DISPID_IHTMLBODYELEMENT_RIGHTMARGIN DISPID_A_MARGINRIGHT +#define DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN DISPID_A_MARGINBOTTOM +#define DISPID_IHTMLBODYELEMENT_NOWRAP DISPID_A_NOWRAP +#define DISPID_IHTMLBODYELEMENT_BGCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLBODYELEMENT_TEXT DISPID_A_COLOR +#define DISPID_IHTMLBODYELEMENT_LINK DISPID_BODY+10 +#define DISPID_IHTMLBODYELEMENT_VLINK DISPID_BODY+12 +#define DISPID_IHTMLBODYELEMENT_ALINK DISPID_BODY+11 +#define DISPID_IHTMLBODYELEMENT_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLBODYELEMENT_ONUNLOAD DISPID_EVPROP_ONUNLOAD +#define DISPID_IHTMLBODYELEMENT_SCROLL DISPID_A_SCROLL +#define DISPID_IHTMLBODYELEMENT_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD DISPID_EVPROP_ONBEFOREUNLOAD +#define DISPID_IHTMLBODYELEMENT_CREATETEXTRANGE DISPID_BODY+13 + +/* IHTMLBodyElement2 */ +#define DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT DISPID_EVPROP_ONBEFOREPRINT +#define DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT DISPID_EVPROP_ONAFTERPRINT + +/* IHTMLAnchorElement */ +#define DISPID_IHTMLANCHORELEMENT_HREF DISPID_VALUE +#define DISPID_IHTMLANCHORELEMENT_TARGET DISPID_ANCHOR+3 +#define DISPID_IHTMLANCHORELEMENT_REL DISPID_ANCHOR+5 +#define DISPID_IHTMLANCHORELEMENT_REV DISPID_ANCHOR+6 +#define DISPID_IHTMLANCHORELEMENT_URN DISPID_ANCHOR+7 +#define DISPID_IHTMLANCHORELEMENT_METHODS DISPID_ANCHOR+8 +#define DISPID_IHTMLANCHORELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLANCHORELEMENT_HOST DISPID_ANCHOR+12 +#define DISPID_IHTMLANCHORELEMENT_HOSTNAME DISPID_ANCHOR+13 +#define DISPID_IHTMLANCHORELEMENT_PATHNAME DISPID_ANCHOR+14 +#define DISPID_IHTMLANCHORELEMENT_PORT DISPID_ANCHOR+15 +#define DISPID_IHTMLANCHORELEMENT_PROTOCOL DISPID_ANCHOR+16 +#define DISPID_IHTMLANCHORELEMENT_SEARCH DISPID_ANCHOR+17 +#define DISPID_IHTMLANCHORELEMENT_HASH DISPID_ANCHOR+18 +#define DISPID_IHTMLANCHORELEMENT_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLANCHORELEMENT_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLANCHORELEMENT_ACCESSKEY DISPID_SITE+5 +#define DISPID_IHTMLANCHORELEMENT_PROTOCOLLONG DISPID_ANCHOR+31 +#define DISPID_IHTMLANCHORELEMENT_MIMETYPE DISPID_ANCHOR+30 +#define DISPID_IHTMLANCHORELEMENT_NAMEPROP DISPID_ANCHOR+32 +#define DISPID_IHTMLANCHORELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX +#define DISPID_IHTMLANCHORELEMENT_FOCUS DISPID_SITE+0 +#define DISPID_IHTMLANCHORELEMENT_BLUR DISPID_SITE+2 + +/* IHTMLAnchorElement2 */ +#define DISPID_IHTMLANCHORELEMENT2_CHARSET DISPID_ANCHOR+23 +#define DISPID_IHTMLANCHORELEMENT2_COORDS DISPID_ANCHOR+24 +#define DISPID_IHTMLANCHORELEMENT2_HREFLANG DISPID_ANCHOR+25 +#define DISPID_IHTMLANCHORELEMENT2_SHAPE DISPID_ANCHOR+26 +#define DISPID_IHTMLANCHORELEMENT2_TYPE DISPID_ANCHOR+27 + +/* IHTMLAnchorElement3 */ +#define DISPID_IHTMLANCHORELEMENT3_IE8_SHAPE DISPID_IE8_ANCHOR+1 +#define DISPID_IHTMLANCHORELEMENT3_IE8_COORDS DISPID_IE8_ANCHOR+2 +#define DISPID_IHTMLANCHORELEMENT3_IE8_HREF DISPID_IE8_ANCHOR+3 + +/* IHTMLAreaElement */ +#define DISPID_IHTMLAREAELEMENT_SHAPE DISPID_AREA+1 +#define DISPID_IHTMLAREAELEMENT_COORDS DISPID_AREA+2 +#define DISPID_IHTMLAREAELEMENT_HREF DISPID_VALUE +#define DISPID_IHTMLAREAELEMENT_TARGET DISPID_AREA+4 +#define DISPID_IHTMLAREAELEMENT_ALT DISPID_AREA+5 +#define DISPID_IHTMLAREAELEMENT_NOHREF DISPID_AREA+6 +#define DISPID_IHTMLAREAELEMENT_HOST DISPID_AREA+7 +#define DISPID_IHTMLAREAELEMENT_HOSTNAME DISPID_AREA+8 +#define DISPID_IHTMLAREAELEMENT_PATHNAME DISPID_AREA+9 +#define DISPID_IHTMLAREAELEMENT_PORT DISPID_AREA+10 +#define DISPID_IHTMLAREAELEMENT_PROTOCOL DISPID_AREA+11 +#define DISPID_IHTMLAREAELEMENT_SEARCH DISPID_AREA+12 +#define DISPID_IHTMLAREAELEMENT_HASH DISPID_AREA+13 +#define DISPID_IHTMLAREAELEMENT_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLAREAELEMENT_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLAREAELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX +#define DISPID_IHTMLAREAELEMENT_FOCUS DISPID_SITE+0 +#define DISPID_IHTMLAREAELEMENT_BLUR DISPID_SITE+2 + +/* IHTMLAreaElement2 */ +#define DISPID_IHTMLAREAELEMENT2_IE8_SHAPE DISPID_IE8_AREA+1 +#define DISPID_IHTMLAREAELEMENT2_IE8_COORDS DISPID_IE8_AREA+2 +#define DISPID_IHTMLAREAELEMENT2_IE8_HREF DISPID_IE8_AREA+3 + +/* IHTMLLabelElement */ +#define DISPID_IHTMLLABELELEMENT_HTMLFOR DISPID_LABEL +#define DISPID_IHTMLLABELELEMENT_ACCESSKEY DISPID_SITE+5 + +/* IHTMLLabelElement2 */ +#define DISPID_IHTMLLABELELEMENT2_FORM DISPID_LABEL+2 + +/* IHTMLTxtRange */ +#define DISPID_IHTMLTXTRANGE_HTMLTEXT DISPID_RANGE+3 +#define DISPID_IHTMLTXTRANGE_TEXT DISPID_RANGE+4 +#define DISPID_IHTMLTXTRANGE_PARENTELEMENT DISPID_RANGE+6 +#define DISPID_IHTMLTXTRANGE_DUPLICATE DISPID_RANGE+8 +#define DISPID_IHTMLTXTRANGE_INRANGE DISPID_RANGE+10 +#define DISPID_IHTMLTXTRANGE_ISEQUAL DISPID_RANGE+11 +#define DISPID_IHTMLTXTRANGE_SCROLLINTOVIEW DISPID_RANGE+12 +#define DISPID_IHTMLTXTRANGE_COLLAPSE DISPID_RANGE+13 +#define DISPID_IHTMLTXTRANGE_EXPAND DISPID_RANGE+14 +#define DISPID_IHTMLTXTRANGE_MOVE DISPID_RANGE+15 +#define DISPID_IHTMLTXTRANGE_MOVESTART DISPID_RANGE+16 +#define DISPID_IHTMLTXTRANGE_MOVEEND DISPID_RANGE+17 +#define DISPID_IHTMLTXTRANGE_SELECT DISPID_RANGE+24 +#define DISPID_IHTMLTXTRANGE_PASTEHTML DISPID_RANGE+26 +#define DISPID_IHTMLTXTRANGE_MOVETOELEMENTTEXT DISPID_RANGE+1 +#define DISPID_IHTMLTXTRANGE_SETENDPOINT DISPID_RANGE+25 +#define DISPID_IHTMLTXTRANGE_COMPAREENDPOINTS DISPID_RANGE+18 +#define DISPID_IHTMLTXTRANGE_FINDTEXT DISPID_RANGE+19 +#define DISPID_IHTMLTXTRANGE_MOVETOPOINT DISPID_RANGE+20 +#define DISPID_IHTMLTXTRANGE_GETBOOKMARK DISPID_RANGE+21 +#define DISPID_IHTMLTXTRANGE_MOVETOBOOKMARK DISPID_RANGE+9 +#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDSUPPORTED DISPID_RANGE+27 +#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDENABLED DISPID_RANGE+28 +#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDSTATE DISPID_RANGE+29 +#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDINDETERM DISPID_RANGE+30 +#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDTEXT DISPID_RANGE+31 +#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDVALUE DISPID_RANGE+32 +#define DISPID_IHTMLTXTRANGE_EXECCOMMAND DISPID_RANGE+33 +#define DISPID_IHTMLTXTRANGE_EXECCOMMANDSHOWHELP DISPID_RANGE+34 + +/* IHTMLTextAreaElement */ +#define DISPID_IHTMLTEXTAREAELEMENT_TYPE DISPID_INPUT +#define DISPID_IHTMLTEXTAREAELEMENT_VALUE DISPID_A_VALUE +#define DISPID_IHTMLTEXTAREAELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLTEXTAREAELEMENT_STATUS DISPID_INPUT+1 +#define DISPID_IHTMLTEXTAREAELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLTEXTAREAELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE DISPID_DEFAULTVALUE +#define DISPID_IHTMLTEXTAREAELEMENT_SELECT DISPID_RICHTEXT+5 +#define DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLTEXTAREAELEMENT_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLTEXTAREAELEMENT_READONLY DISPID_RICHTEXT+4 +#define DISPID_IHTMLTEXTAREAELEMENT_ROWS DISPID_RICHTEXT+1 +#define DISPID_IHTMLTEXTAREAELEMENT_COLS DISPID_RICHTEXT+2 +#define DISPID_IHTMLTEXTAREAELEMENT_WRAP DISPID_RICHTEXT+3 +#define DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE DISPID_RICHTEXT+6 + +/* IHTMLDOMRange */ +#define DISPID_IHTMLDOMRANGE_STARTCONTAINER DISPID_DOMRANGE+1 +#define DISPID_IHTMLDOMRANGE_STARTOFFSET DISPID_DOMRANGE+2 +#define DISPID_IHTMLDOMRANGE_ENDCONTAINER DISPID_DOMRANGE+3 +#define DISPID_IHTMLDOMRANGE_ENDOFFSET DISPID_DOMRANGE+4 +#define DISPID_IHTMLDOMRANGE_COLLAPSED DISPID_DOMRANGE+5 +#define DISPID_IHTMLDOMRANGE_COMMONANCESTORCONTAINER DISPID_DOMRANGE+6 +#define DISPID_IHTMLDOMRANGE_SETSTART DISPID_DOMRANGE+7 +#define DISPID_IHTMLDOMRANGE_SETEND DISPID_DOMRANGE+8 +#define DISPID_IHTMLDOMRANGE_SETSTARTBEFORE DISPID_DOMRANGE+9 +#define DISPID_IHTMLDOMRANGE_SETSTARTAFTER DISPID_DOMRANGE+10 +#define DISPID_IHTMLDOMRANGE_SETENDBEFORE DISPID_DOMRANGE+11 +#define DISPID_IHTMLDOMRANGE_SETENDAFTER DISPID_DOMRANGE+12 +#define DISPID_IHTMLDOMRANGE_COLLAPSE DISPID_DOMRANGE+13 +#define DISPID_IHTMLDOMRANGE_SELECTNODE DISPID_DOMRANGE+14 +#define DISPID_IHTMLDOMRANGE_SELECTNODECONTENTS DISPID_DOMRANGE+15 +#define DISPID_IHTMLDOMRANGE_COMPAREBOUNDARYPOINTS DISPID_DOMRANGE+16 +#define DISPID_IHTMLDOMRANGE_DELETECONTENTS DISPID_DOMRANGE+17 +#define DISPID_IHTMLDOMRANGE_EXTRACTCONTENTS DISPID_DOMRANGE+18 +#define DISPID_IHTMLDOMRANGE_CLONECONTENTS DISPID_DOMRANGE+19 +#define DISPID_IHTMLDOMRANGE_INSERTNODE DISPID_DOMRANGE+20 +#define DISPID_IHTMLDOMRANGE_SURROUNDCONTENTS DISPID_DOMRANGE+21 +#define DISPID_IHTMLDOMRANGE_CLONERANGE DISPID_DOMRANGE+22 +#define DISPID_IHTMLDOMRANGE_TOSTRING DISPID_DOMRANGE+23 +#define DISPID_IHTMLDOMRANGE_DETACH DISPID_DOMRANGE+24 +#define DISPID_IHTMLDOMRANGE_GETCLIENTRECTS DISPID_DOMRANGE+25 +#define DISPID_IHTMLDOMRANGE_GETBOUNDINGCLIENTRECT DISPID_DOMRANGE+26 + +/* IHTMLButtonElement */ +#define DISPID_IHTMLBUTTONELEMENT_TYPE DISPID_INPUT +#define DISPID_IHTMLBUTTONELEMENT_VALUE DISPID_A_VALUE +#define DISPID_IHTMLBUTTONELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLBUTTONELEMENT_STATUS DISPID_BUTTON+1 +#define DISPID_IHTMLBUTTONELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLBUTTONELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLBUTTONELEMENT_CREATETEXTRANGE DISPID_BUTTON+2 + +/* IHTMLInputElement */ +#define DISPID_IHTMLINPUTELEMENT_TYPE DISPID_INPUT +#define DISPID_IHTMLINPUTELEMENT_VALUE DISPID_A_VALUE +#define DISPID_IHTMLINPUTELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLINPUTELEMENT_STATUS DISPID_INPUT+1 +#define DISPID_IHTMLINPUTELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLINPUTELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLINPUTELEMENT_SIZE DISPID_INPUT+2 +#define DISPID_IHTMLINPUTELEMENT_MAXLENGTH DISPID_INPUT+3 +#define DISPID_IHTMLINPUTELEMENT_SELECT DISPID_INPUT+4 +#define DISPID_IHTMLINPUTELEMENT_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLINPUTELEMENT_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE DISPID_DEFAULTVALUE +#define DISPID_IHTMLINPUTELEMENT_READONLY DISPID_INPUT+5 +#define DISPID_IHTMLINPUTELEMENT_CREATETEXTRANGE DISPID_INPUT+6 +#define DISPID_IHTMLINPUTELEMENT_INDETERMINATE DISPID_INPUT+7 +#define DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED DISPID_INPUT+8 +#define DISPID_IHTMLINPUTELEMENT_CHECKED DISPID_INPUT+9 +#define DISPID_IHTMLINPUTELEMENT_BORDER DISPID_INPUT+12 +#define DISPID_IHTMLINPUTELEMENT_VSPACE DISPID_INPUT+13 +#define DISPID_IHTMLINPUTELEMENT_HSPACE DISPID_INPUT+14 +#define DISPID_IHTMLINPUTELEMENT_ALT DISPID_INPUT+10 +#define DISPID_IHTMLINPUTELEMENT_SRC DISPID_INPUT+11 +#define DISPID_IHTMLINPUTELEMENT_LOWSRC DISPID_INPUT+15 +#define DISPID_IHTMLINPUTELEMENT_VRML DISPID_INPUT+16 +#define DISPID_IHTMLINPUTELEMENT_DYNSRC DISPID_INPUT+17 +#define DISPID_IHTMLINPUTELEMENT_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLINPUTELEMENT_COMPLETE DISPID_INPUT+18 +#define DISPID_IHTMLINPUTELEMENT_LOOP DISPID_INPUT+19 +#define DISPID_IHTMLINPUTELEMENT_ALIGN STDPROPID_XOBJ_CONTROLALIGN +#define DISPID_IHTMLINPUTELEMENT_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLINPUTELEMENT_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLINPUTELEMENT_ONABORT DISPID_EVPROP_ONABORT +#define DISPID_IHTMLINPUTELEMENT_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLINPUTELEMENT_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLINPUTELEMENT_START DISPID_INPUT+20 + +/* IHTMLInputElement2 */ +#define DISPID_IHTMLINPUTELEMENT2_ACCEPT DISPID_INPUT+22 +#define DISPID_IHTMLINPUTELEMENT2_USEMAP DISPID_INPUT+23 + +/* IHTMLInputTextElement */ +#define DISPID_IHTMLINPUTTEXTELEMENT_TYPE DISPID_INPUT +#define DISPID_IHTMLINPUTTEXTELEMENT_VALUE DISPID_A_VALUE +#define DISPID_IHTMLINPUTTEXTELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLINPUTTEXTELEMENT_STATUS DISPID_INPUT+21 +#define DISPID_IHTMLINPUTTEXTELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLINPUTTEXTELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE DISPID_DEFAULTVALUE +#define DISPID_IHTMLINPUTTEXTELEMENT_SIZE DISPID_INPUT+2 +#define DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH DISPID_INPUT+3 +#define DISPID_IHTMLINPUTTEXTELEMENT_SELECT DISPID_INPUT+4 +#define DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLINPUTTEXTELEMENT_READONLY DISPID_INPUT+5 +#define DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE DISPID_INPUT+6 + +/* IHTMLInputTextElement2 */ +#define DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART DISPID_INPUT+25 +#define DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND DISPID_INPUT+26 +#define DISPID_IHTMLINPUTTEXTELEMENT2_SETSELECTIONRANGE DISPID_INPUT+27 + +/* IHTMLSelectElement */ +#define DISPID_IHTMLSELECTELEMENT_SIZE DISPID_SELECT+2 +#define DISPID_IHTMLSELECTELEMENT_MULTIPLE DISPID_SELECT+3 +#define DISPID_IHTMLSELECTELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLSELECTELEMENT_OPTIONS DISPID_SELECT+5 +#define DISPID_IHTMLSELECTELEMENT_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX DISPID_SELECT+10 +#define DISPID_IHTMLSELECTELEMENT_TYPE DISPID_SELECT+12 +#define DISPID_IHTMLSELECTELEMENT_VALUE DISPID_SELECT+11 +#define DISPID_IHTMLSELECTELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLSELECTELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLSELECTELEMENT_ADD DISPID_COLLECTION+3 +#define DISPID_IHTMLSELECTELEMENT_REMOVE DISPID_COLLECTION+4 +#define DISPID_IHTMLSELECTELEMENT_LENGTH DISPID_COLLECTION +#define DISPID_IHTMLSELECTELEMENT__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLSELECTELEMENT_ITEM DISPID_VALUE +#define DISPID_IHTMLSELECTELEMENT_TAGS DISPID_COLLECTION+2 + +/* IHTMLSelectElement2 */ +#define DISPID_IHTMLSELECTELEMENT2_URNS DISPID_COLLECTION+5 + +/* IHTMLSelectElement4 */ +#define DISPID_IHTMLSELECTELEMENT4_NAMEDITEM DISPID_COLLECTION+6 + +/* IHTMLHtmlElement */ +#define DISPID_IHTMLHTMLELEMENT_VERSION DISPID_HEDELEMS+1 + +/* IHTMLHeadElement */ +#define DISPID_IHTMLHEADELEMENT_PROFILE DISPID_HEDELEMS+1 + +/* IHTMLHeadElement2 */ +#define DISPID_IHTMLHEADELEMENT2_IE8_PROFILE DISPID_IE8_HEAD + +/* IHTMLTitleElement */ +#define DISPID_IHTMLTITLEELEMENT_TEXT DISPID_A_VALUE + +/* IHTMLMetaElement */ +#define DISPID_IHTMLMETAELEMENT_HTTPEQUIV DISPID_HEDELEMS+1 +#define DISPID_IHTMLMETAELEMENT_CONTENT DISPID_HEDELEMS+2 +#define DISPID_IHTMLMETAELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLMETAELEMENT_URL DISPID_HEDELEMS+3 +#define DISPID_IHTMLMETAELEMENT_CHARSET DISPID_HEDELEMS+13 + +/* IHTMLMetaElement2 */ +#define DISPID_IHTMLMETAELEMENT2_SCHEME DISPID_HEDELEMS+20 + +/* IHTMLMetaElement3 */ +#define DISPID_IHTMLMETAELEMENT3_IE8_URL DISPID_IE8_META + +/* IHTMLRect */ +#define DISPID_IHTMLRECT_LEFT DISPID_OMRECT+1 +#define DISPID_IHTMLRECT_TOP DISPID_OMRECT+2 +#define DISPID_IHTMLRECT_RIGHT DISPID_OMRECT+3 +#define DISPID_IHTMLRECT_BOTTOM DISPID_OMRECT+4 + +/* IHTMLRectCollection */ +#define DISPID_IHTMLRECTCOLLECTION_LENGTH DISPID_COLLECTION +#define DISPID_IHTMLRECTCOLLECTION__NEWENUM DISPID_NEWENUM +#define DISPID_IHTMLRECTCOLLECTION_ITEM DISPID_VALUE + +/* IHTMLCurrentStyle */ +#define DISPID_IHTMLCURRENTSTYLE_POSITION DISPID_A_POSITION +#define DISPID_IHTMLCURRENTSTYLE_STYLEFLOAT DISPID_A_FLOAT +#define DISPID_IHTMLCURRENTSTYLE_COLOR DISPID_A_COLOR +#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLCURRENTSTYLE_FONTFAMILY DISPID_A_FONTFACE +#define DISPID_IHTMLCURRENTSTYLE_FONTSTYLE DISPID_A_FONTSTYLE +#define DISPID_IHTMLCURRENTSTYLE_FONTVARIANT DISPID_A_FONTVARIANT +#define DISPID_IHTMLCURRENTSTYLE_FONTWEIGHT DISPID_A_FONTWEIGHT +#define DISPID_IHTMLCURRENTSTYLE_FONTSIZE DISPID_A_FONTSIZE +#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDIMAGE DISPID_A_BACKGROUNDIMAGE +#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONX DISPID_A_BACKGROUNDPOSX +#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONY DISPID_A_BACKGROUNDPOSY +#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDREPEAT DISPID_A_BACKGROUNDREPEAT +#define DISPID_IHTMLCURRENTSTYLE_BORDERLEFTCOLOR DISPID_A_BORDERLEFTCOLOR +#define DISPID_IHTMLCURRENTSTYLE_BORDERTOPCOLOR DISPID_A_BORDERTOPCOLOR +#define DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTCOLOR DISPID_A_BORDERRIGHTCOLOR +#define DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMCOLOR DISPID_A_BORDERBOTTOMCOLOR +#define DISPID_IHTMLCURRENTSTYLE_BORDERTOPSTYLE DISPID_A_BORDERTOPSTYLE +#define DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTSTYLE DISPID_A_BORDERRIGHTSTYLE +#define DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMSTYLE DISPID_A_BORDERBOTTOMSTYLE +#define DISPID_IHTMLCURRENTSTYLE_BORDERLEFTSTYLE DISPID_A_BORDERLEFTSTYLE +#define DISPID_IHTMLCURRENTSTYLE_BORDERTOPWIDTH DISPID_A_BORDERTOPWIDTH +#define DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTWIDTH DISPID_A_BORDERRIGHTWIDTH +#define DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMWIDTH DISPID_A_BORDERBOTTOMWIDTH +#define DISPID_IHTMLCURRENTSTYLE_BORDERLEFTWIDTH DISPID_A_BORDERLEFTWIDTH +#define DISPID_IHTMLCURRENTSTYLE_LEFT STDPROPID_XOBJ_LEFT +#define DISPID_IHTMLCURRENTSTYLE_TOP STDPROPID_XOBJ_TOP +#define DISPID_IHTMLCURRENTSTYLE_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLCURRENTSTYLE_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLCURRENTSTYLE_PADDINGLEFT DISPID_A_PADDINGLEFT +#define DISPID_IHTMLCURRENTSTYLE_PADDINGTOP DISPID_A_PADDINGTOP +#define DISPID_IHTMLCURRENTSTYLE_PADDINGRIGHT DISPID_A_PADDINGRIGHT +#define DISPID_IHTMLCURRENTSTYLE_PADDINGBOTTOM DISPID_A_PADDINGBOTTOM +#define DISPID_IHTMLCURRENTSTYLE_TEXTALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLCURRENTSTYLE_TEXTDECORATION DISPID_A_TEXTDECORATION +#define DISPID_IHTMLCURRENTSTYLE_DISPLAY DISPID_A_DISPLAY +#define DISPID_IHTMLCURRENTSTYLE_VISIBILITY DISPID_A_VISIBILITY +#define DISPID_IHTMLCURRENTSTYLE_ZINDEX DISPID_A_ZINDEX +#define DISPID_IHTMLCURRENTSTYLE_LETTERSPACING DISPID_A_LETTERSPACING +#define DISPID_IHTMLCURRENTSTYLE_LINEHEIGHT DISPID_A_LINEHEIGHT +#define DISPID_IHTMLCURRENTSTYLE_TEXTINDENT DISPID_A_TEXTINDENT +#define DISPID_IHTMLCURRENTSTYLE_VERTICALALIGN DISPID_A_VERTICALALIGN +#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDATTACHMENT DISPID_A_BACKGROUNDATTACHMENT +#define DISPID_IHTMLCURRENTSTYLE_MARGINTOP DISPID_A_MARGINTOP +#define DISPID_IHTMLCURRENTSTYLE_MARGINRIGHT DISPID_A_MARGINRIGHT +#define DISPID_IHTMLCURRENTSTYLE_MARGINBOTTOM DISPID_A_MARGINBOTTOM +#define DISPID_IHTMLCURRENTSTYLE_MARGINLEFT DISPID_A_MARGINLEFT +#define DISPID_IHTMLCURRENTSTYLE_CLEAR DISPID_A_CLEAR +#define DISPID_IHTMLCURRENTSTYLE_LISTSTYLETYPE DISPID_A_LISTSTYLETYPE +#define DISPID_IHTMLCURRENTSTYLE_LISTSTYLEPOSITION DISPID_A_LISTSTYLEPOSITION +#define DISPID_IHTMLCURRENTSTYLE_LISTSTYLEIMAGE DISPID_A_LISTSTYLEIMAGE +#define DISPID_IHTMLCURRENTSTYLE_CLIPTOP DISPID_A_CLIPRECTTOP +#define DISPID_IHTMLCURRENTSTYLE_CLIPRIGHT DISPID_A_CLIPRECTRIGHT +#define DISPID_IHTMLCURRENTSTYLE_CLIPBOTTOM DISPID_A_CLIPRECTBOTTOM +#define DISPID_IHTMLCURRENTSTYLE_CLIPLEFT DISPID_A_CLIPRECTLEFT +#define DISPID_IHTMLCURRENTSTYLE_OVERFLOW DISPID_A_OVERFLOW +#define DISPID_IHTMLCURRENTSTYLE_PAGEBREAKBEFORE DISPID_A_PAGEBREAKBEFORE +#define DISPID_IHTMLCURRENTSTYLE_PAGEBREAKAFTER DISPID_A_PAGEBREAKAFTER +#define DISPID_IHTMLCURRENTSTYLE_CURSOR DISPID_A_CURSOR +#define DISPID_IHTMLCURRENTSTYLE_TABLELAYOUT DISPID_A_TABLELAYOUT +#define DISPID_IHTMLCURRENTSTYLE_BORDERCOLLAPSE DISPID_A_BORDERCOLLAPSE +#define DISPID_IHTMLCURRENTSTYLE_DIRECTION DISPID_A_DIRECTION +#define DISPID_IHTMLCURRENTSTYLE_BEHAVIOR DISPID_A_BEHAVIOR +#define DISPID_IHTMLCURRENTSTYLE_GETATTRIBUTE DISPID_HTMLOBJECT+2 +#define DISPID_IHTMLCURRENTSTYLE_UNICODEBIDI DISPID_A_UNICODEBIDI +#define DISPID_IHTMLCURRENTSTYLE_RIGHT STDPROPID_XOBJ_RIGHT +#define DISPID_IHTMLCURRENTSTYLE_BOTTOM STDPROPID_XOBJ_BOTTOM +#define DISPID_IHTMLCURRENTSTYLE_IMEMODE DISPID_A_IMEMODE +#define DISPID_IHTMLCURRENTSTYLE_RUBYALIGN DISPID_A_RUBYALIGN +#define DISPID_IHTMLCURRENTSTYLE_RUBYPOSITION DISPID_A_RUBYPOSITION +#define DISPID_IHTMLCURRENTSTYLE_RUBYOVERHANG DISPID_A_RUBYOVERHANG +#define DISPID_IHTMLCURRENTSTYLE_TEXTAUTOSPACE DISPID_A_TEXTAUTOSPACE +#define DISPID_IHTMLCURRENTSTYLE_LINEBREAK DISPID_A_LINEBREAK +#define DISPID_IHTMLCURRENTSTYLE_WORDBREAK DISPID_A_WORDBREAK +#define DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFY DISPID_A_TEXTJUSTIFY +#define DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFYTRIM DISPID_A_TEXTJUSTIFYTRIM +#define DISPID_IHTMLCURRENTSTYLE_TEXTKASHIDA DISPID_A_TEXTKASHIDA +#define DISPID_IHTMLCURRENTSTYLE_BLOCKDIRECTION DISPID_A_DIR +#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDCHAR DISPID_A_LAYOUTGRIDCHAR +#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDLINE DISPID_A_LAYOUTGRIDLINE +#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDMODE DISPID_A_LAYOUTGRIDMODE +#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDTYPE DISPID_A_LAYOUTGRIDTYPE +#define DISPID_IHTMLCURRENTSTYLE_BORDERSTYLE DISPID_A_BORDERSTYLE +#define DISPID_IHTMLCURRENTSTYLE_BORDERCOLOR DISPID_A_BORDERCOLOR +#define DISPID_IHTMLCURRENTSTYLE_BORDERWIDTH DISPID_A_BORDERWIDTH +#define DISPID_IHTMLCURRENTSTYLE_PADDING DISPID_A_PADDING +#define DISPID_IHTMLCURRENTSTYLE_MARGIN DISPID_A_MARGIN +#define DISPID_IHTMLCURRENTSTYLE_ACCELERATOR DISPID_A_ACCELERATOR +#define DISPID_IHTMLCURRENTSTYLE_OVERFLOWX DISPID_A_OVERFLOWX +#define DISPID_IHTMLCURRENTSTYLE_OVERFLOWY DISPID_A_OVERFLOWY +#define DISPID_IHTMLCURRENTSTYLE_TEXTTRANSFORM DISPID_A_TEXTTRANSFORM + +/* IHTMLCurrentStyle2 */ +#define DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW DISPID_A_LAYOUTFLOW +#define DISPID_IHTMLCURRENTSTYLE2_WORDWRAP DISPID_A_WORDWRAP +#define DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION DISPID_A_TEXTUNDERLINEPOSITION +#define DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT DISPID_A_HASLAYOUT +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR DISPID_A_SCROLLBARBASECOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR DISPID_A_SCROLLBARFACECOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR DISPID_A_SCROLLBAR3DLIGHTCOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR DISPID_A_SCROLLBARSHADOWCOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR DISPID_A_SCROLLBARHIGHLIGHTCOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR DISPID_A_SCROLLBARDARKSHADOWCOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR DISPID_A_SCROLLBARARROWCOLOR +#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR DISPID_A_SCROLLBARTRACKCOLOR +#define DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE DISPID_A_WRITINGMODE +#define DISPID_IHTMLCURRENTSTYLE2_ZOOM DISPID_A_ZOOM +#define DISPID_IHTMLCURRENTSTYLE2_FILTER DISPID_A_FILTER +#define DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST DISPID_A_TEXTALIGNLAST +#define DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE DISPID_A_TEXTKASHIDASPACE +#define DISPID_IHTMLCURRENTSTYLE2_ISBLOCK DISPID_A_ISBLOCK + +/* IHTMLCurrentStyle3 */ +#define DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW DISPID_A_TEXTOVERFLOW +#define DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT DISPID_A_MINHEIGHT +#define DISPID_IHTMLCURRENTSTYLE3_WORDSPACING DISPID_A_WORDSPACING +#define DISPID_IHTMLCURRENTSTYLE3_WHITESPACE DISPID_A_WHITESPACE + +/* IHTMLCurrentStyle4 */ +#define DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE DISPID_A_INTERPOLATION +#define DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT DISPID_A_MAXHEIGHT +#define DISPID_IHTMLCURRENTSTYLE4_MINWIDTH DISPID_A_MINWIDTH +#define DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH DISPID_A_MAXWIDTH + +/* HTMLTextContainerEvents2 */ +#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE DISPID_EVMETH_ONCHANGE +#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT DISPID_EVMETH_ONSELECT + +/* HTMLTextContainerEvents */ +#define DISPID_HTMLTEXTCONTAINEREVENTS_ONCHANGE DISPID_EVMETH_ONCHANGE +#define DISPID_HTMLTEXTCONTAINEREVENTS_ONSELECT DISPID_EVMETH_ONSELECT + +/* IHTMLTextContainer */ +#define DISPID_IHTMLTEXTCONTAINER_CREATECONTROLRANGE DISPID_TEXTSITE+1 +#define DISPID_IHTMLTEXTCONTAINER_SCROLLHEIGHT DISPID_TEXTSITE+2 +#define DISPID_IHTMLTEXTCONTAINER_SCROLLWIDTH DISPID_TEXTSITE+3 +#define DISPID_IHTMLTEXTCONTAINER_SCROLLTOP DISPID_TEXTSITE+4 +#define DISPID_IHTMLTEXTCONTAINER_SCROLLLEFT DISPID_TEXTSITE+5 +#define DISPID_IHTMLTEXTCONTAINER_ONSCROLL DISPID_EVPROP_ONSCROLL + +/* IHTMLTableCaption */ +#define DISPID_IHTMLTABLECAPTION_ALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLTABLECAPTION_VALIGN DISPID_A_TABLEVALIGN + + /* IHTMLCommentElement */ +#define DISPID_IHTMLCOMMENTELEMENT_TEXT DISPID_COMMENTPDL+1 +#define DISPID_IHTMLCOMMENTELEMENT_ATOMIC DISPID_COMMENTPDL+2 + + /* IHTMLCommentElement2 */ +#define DISPID_IHTMLCOMMENTELEMENT2_DATA DISPID_COMMENTPDL+3 +#define DISPID_IHTMLCOMMENTELEMENT2_LENGTH DISPID_COMMENTPDL+4 +#define DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA DISPID_COMMENTPDL+5 +#define DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA DISPID_COMMENTPDL+6 +#define DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA DISPID_COMMENTPDL+7 +#define DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA DISPID_COMMENTPDL+8 +#define DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA DISPID_COMMENTPDL+9 + +/* IHTMLTable */ +#define DISPID_IHTMLTABLE_COLS DISPID_TABLE+1 +#define DISPID_IHTMLTABLE_BORDER DISPID_TABLE+2 +#define DISPID_IHTMLTABLE_FRAME DISPID_TABLE+4 +#define DISPID_IHTMLTABLE_RULES DISPID_TABLE+3 +#define DISPID_IHTMLTABLE_CELLSPACING DISPID_TABLE+5 +#define DISPID_IHTMLTABLE_CELLPADDING DISPID_TABLE+6 +#define DISPID_IHTMLTABLE_BACKGROUND DISPID_A_BACKGROUNDIMAGE +#define DISPID_IHTMLTABLE_BGCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLTABLE_BORDERCOLOR DISPID_A_TABLEBORDERCOLOR +#define DISPID_IHTMLTABLE_BORDERCOLORLIGHT DISPID_A_TABLEBORDERCOLORLIGHT +#define DISPID_IHTMLTABLE_BORDERCOLORDARK DISPID_A_TABLEBORDERCOLORDARK +#define DISPID_IHTMLTABLE_ALIGN STDPROPID_XOBJ_CONTROLALIGN +#define DISPID_IHTMLTABLE_REFRESH DISPID_TABLE+15 +#define DISPID_IHTMLTABLE_ROWS DISPID_TABLE+16 +#define DISPID_IHTMLTABLE_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLTABLE_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLTABLE_DATAPAGESIZE DISPID_TABLE+17 +#define DISPID_IHTMLTABLE_NEXTPAGE DISPID_TABLE+18 +#define DISPID_IHTMLTABLE_PREVIOUSPAGE DISPID_TABLE+19 +#define DISPID_IHTMLTABLE_THEAD DISPID_TABLE+20 +#define DISPID_IHTMLTABLE_TFOOT DISPID_TABLE+21 +#define DISPID_IHTMLTABLE_TBODIES DISPID_TABLE+24 +#define DISPID_IHTMLTABLE_CAPTION DISPID_TABLE+25 +#define DISPID_IHTMLTABLE_CREATETHEAD DISPID_TABLE+26 +#define DISPID_IHTMLTABLE_DELETETHEAD DISPID_TABLE+27 +#define DISPID_IHTMLTABLE_CREATETFOOT DISPID_TABLE+28 +#define DISPID_IHTMLTABLE_DELETETFOOT DISPID_TABLE+29 +#define DISPID_IHTMLTABLE_CREATECAPTION DISPID_TABLE+30 +#define DISPID_IHTMLTABLE_DELETECAPTION DISPID_TABLE+31 +#define DISPID_IHTMLTABLE_INSERTROW DISPID_TABLE+32 +#define DISPID_IHTMLTABLE_DELETEROW DISPID_TABLE+33 +#define DISPID_IHTMLTABLE_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLTABLE_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE + +/* IHTMLTable2 */ +#define DISPID_IHTMLTABLE2_FIRSTPAGE DISPID_TABLE+35 +#define DISPID_IHTMLTABLE2_LASTPAGE DISPID_TABLE+36 +#define DISPID_IHTMLTABLE2_CELLS DISPID_TABLE+37 +#define DISPID_IHTMLTABLE2_MOVEROW DISPID_TABLE+38 + +/* IHTMLTable3 */ +#define DISPID_IHTMLTABLE3_SUMMARY DISPID_TABLE+39 + +/* IHTMLTableSection */ +#define DISPID_IHTMLTABLESECTION_ALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLTABLESECTION_VALIGN DISPID_A_TABLEVALIGN +#define DISPID_IHTMLTABLESECTION_BGCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLTABLESECTION_ROWS DISPID_TABLESECTION +#define DISPID_IHTMLTABLESECTION_INSERTROW DISPID_TABLESECTION+1 +#define DISPID_IHTMLTABLESECTION_DELETEROW DISPID_TABLESECTION+2 + +/* IHTMLTableRow */ +#define DISPID_IHTMLTABLEROW_ALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLTABLEROW_VALIGN DISPID_A_TABLEVALIGN +#define DISPID_IHTMLTABLEROW_BGCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLTABLEROW_BORDERCOLOR DISPID_A_TABLEBORDERCOLOR +#define DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT DISPID_A_TABLEBORDERCOLORLIGHT +#define DISPID_IHTMLTABLEROW_BORDERCOLORDARK DISPID_A_TABLEBORDERCOLORDARK +#define DISPID_IHTMLTABLEROW_ROWINDEX DISPID_TABLEROW +#define DISPID_IHTMLTABLEROW_SECTIONROWINDEX DISPID_TABLEROW+1 +#define DISPID_IHTMLTABLEROW_CELLS DISPID_TABLEROW+2 +#define DISPID_IHTMLTABLEROW_INSERTCELL DISPID_TABLEROW+3 +#define DISPID_IHTMLTABLEROW_DELETECELL DISPID_TABLEROW+4 + +/* IHTMLTableRow2 */ +#define DISPID_IHTMLTABLEROW2_HEIGHT STDPROPID_XOBJ_HEIGHT + +/* IHTMLTableRow3 */ +#define DISPID_IHTMLTABLEROW3_CH DISPID_TABLEROW+9 +#define DISPID_IHTMLTABLEROW3_CHOFF DISPID_TABLEROW+10 + +/* IHTMLTableCell */ +#define DISPID_IHTMLTABLECELL_ROWSPAN DISPID_TABLECELL+1 +#define DISPID_IHTMLTABLECELL_COLSPAN DISPID_TABLECELL+2 +#define DISPID_IHTMLTABLECELL_ALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLTABLECELL_VALIGN DISPID_A_TABLEVALIGN +#define DISPID_IHTMLTABLECELL_BGCOLOR DISPID_BACKCOLOR +#define DISPID_IHTMLTABLECELL_NOWRAP DISPID_A_NOWRAP +#define DISPID_IHTMLTABLECELL_BACKGROUND DISPID_A_BACKGROUNDIMAGE +#define DISPID_IHTMLTABLECELL_BORDERCOLOR DISPID_A_TABLEBORDERCOLOR +#define DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT DISPID_A_TABLEBORDERCOLORLIGHT +#define DISPID_IHTMLTABLECELL_BORDERCOLORDARK DISPID_A_TABLEBORDERCOLORDARK +#define DISPID_IHTMLTABLECELL_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLTABLECELL_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLTABLECELL_CELLINDEX DISPID_TABLECELL+3 + +/* IHTMLTableCell2 */ +#define DISPID_IHTMLTABLECELL2_ABBR DISPID_TABLECELL+4 +#define DISPID_IHTMLTABLECELL2_AXIS DISPID_TABLECELL+5 +#define DISPID_IHTMLTABLECELL2_CH DISPID_TABLECELL+6 +#define DISPID_IHTMLTABLECELL2_CHOFF DISPID_TABLECELL+7 +#define DISPID_IHTMLTABLECELL2_HEADERS DISPID_TABLECELL+8 +#define DISPID_IHTMLTABLECELL2_SCOPE DISPID_TABLECELL+9 + +/* IHTMLTableCell3 */ +#define DISPID_IHTMLTABLECELL3_IE9_CH DISPID_TABLECELL+10 +#define DISPID_IHTMLTABLECELL3_IE9_CHOFF DISPID_TABLECELL+11 + +/* IHTMLScriptElement */ +#define DISPID_IHTMLSCRIPTELEMENT_SRC DISPID_SCRIPT+1 +#define DISPID_IHTMLSCRIPTELEMENT_HTMLFOR DISPID_SCRIPT+4 +#define DISPID_IHTMLSCRIPTELEMENT_EVENT DISPID_SCRIPT+5 +#define DISPID_IHTMLSCRIPTELEMENT_TEXT DISPID_SCRIPT+6 +#define DISPID_IHTMLSCRIPTELEMENT_DEFER DISPID_SCRIPT+7 +#define DISPID_IHTMLSCRIPTELEMENT_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLSCRIPTELEMENT_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLSCRIPTELEMENT_TYPE DISPID_SCRIPT+9 + +/* IHTMLScriptElement2 */ +#define DISPID_IHTMLSCRIPTELEMENT2_CHARSET DISPID_SCRIPT+10 + +/* IHTMLScriptElement3 */ +#define DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC DISPID_IE8_SCRIPT + +/* IHTMLDivElement */ +#define DISPID_IHTMLDIVELEMENT_ALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLDIVELEMENT_NOWRAP DISPID_A_NOWRAP + +/* IHTMLObjectElement */ +#define DISPID_IHTMLOBJECTELEMENT_OBJECT DISPID_OBJECT+1 +#define DISPID_IHTMLOBJECTELEMENT_CLASSID DISPID_OBJECT+2 +#define DISPID_IHTMLOBJECTELEMENT_DATA DISPID_OBJECT+3 +#define DISPID_IHTMLOBJECTELEMENT_RECORDSET DISPID_OBJECT+5 +#define DISPID_IHTMLOBJECTELEMENT_ALIGN STDPROPID_XOBJ_CONTROLALIGN +#define DISPID_IHTMLOBJECTELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLOBJECTELEMENT_CODEBASE DISPID_OBJECT+6 +#define DISPID_IHTMLOBJECTELEMENT_CODETYPE DISPID_OBJECT+7 +#define DISPID_IHTMLOBJECTELEMENT_CODE DISPID_OBJECT+8 +#define DISPID_IHTMLOBJECTELEMENT_BASEHREF STDPROPID_XOBJ_BASEHREF +#define DISPID_IHTMLOBJECTELEMENT_TYPE DISPID_OBJECT+9 +#define DISPID_IHTMLOBJECTELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLOBJECTELEMENT_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLOBJECTELEMENT_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLOBJECTELEMENT_READYSTATE DISPID_OBJECT+10 +#define DISPID_IHTMLOBJECTELEMENT_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLOBJECTELEMENT_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLOBJECTELEMENT_ALTHTML DISPID_OBJECT+11 +#define DISPID_IHTMLOBJECTELEMENT_VSPACE DISPID_OBJECT+12 +#define DISPID_IHTMLOBJECTELEMENT_HSPACE DISPID_OBJECT+13 + +/* IHTMLObjectElement2 */ +#define DISPID_IHTMLOBJECTELEMENT2_NAMEDRECORDSET DISPID_OBJECT+14 +#define DISPID_IHTMLOBJECTELEMENT2_CLASSID DISPID_OBJECT+2 +#define DISPID_IHTMLOBJECTELEMENT2_DATA DISPID_OBJECT+3 + +/* IHTMLObjectElement3 */ +#define DISPID_IHTMLOBJECTELEMENT3_ARCHIVE DISPID_OBJECT+15 +#define DISPID_IHTMLOBJECTELEMENT3_ALT DISPID_OBJECT+16 +#define DISPID_IHTMLOBJECTELEMENT3_DECLARE DISPID_OBJECT+17 +#define DISPID_IHTMLOBJECTELEMENT3_STANDBY DISPID_OBJECT+18 +#define DISPID_IHTMLOBJECTELEMENT3_BORDER DISPID_OBJECT+19 +#define DISPID_IHTMLOBJECTELEMENT3_USEMAP DISPID_OBJECT+20 + +/* IHTMLObjectElement4 */ +#define DISPID_IHTMLOBJECTELEMENT4_CONTENTDOCUMENT DISPID_IE8_OBJECT +#define DISPID_IHTMLOBJECTELEMENT4_IE8_CODEBASE DISPID_IE8_OBJECT+1 +#define DISPID_IHTMLOBJECTELEMENT4_IE8_DATA DISPID_IE8_OBJECT+2 + +/* IHTMLParamElement */ +#define DISPID_IHTMLPARAMELEMENT_NAME DISPID_PARAM+1 +#define DISPID_IHTMLPARAMELEMENT_VALUE DISPID_PARAM+2 +#define DISPID_IHTMLPARAMELEMENT_TYPE DISPID_PARAM+3 +#define DISPID_IHTMLPARAMELEMENT_VALUETYPE DISPID_PARAM+4 + +/* IHTMLParamElement2 */ +#define DISPID_IHTMLPARAMELEMENT2_NAME DISPID_PARAM+1 +#define DISPID_IHTMLPARAMELEMENT2_TYPE DISPID_PARAM+3 +#define DISPID_IHTMLPARAMELEMENT2_VALUE DISPID_PARAM+2 +#define DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE DISPID_IE8_PARAM + +/* IHTMLFrameBase */ +#define DISPID_IHTMLFRAMEBASE_SRC DISPID_FRAMESITE+0 +#define DISPID_IHTMLFRAMEBASE_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLFRAMEBASE_BORDER DISPID_FRAMESITE+2 +#define DISPID_IHTMLFRAMEBASE_FRAMEBORDER DISPID_FRAMESITE+3 +#define DISPID_IHTMLFRAMEBASE_FRAMESPACING DISPID_FRAMESITE+4 +#define DISPID_IHTMLFRAMEBASE_MARGINWIDTH DISPID_FRAMESITE+5 +#define DISPID_IHTMLFRAMEBASE_MARGINHEIGHT DISPID_FRAMESITE+6 +#define DISPID_IHTMLFRAMEBASE_NORESIZE DISPID_FRAMESITE+7 +#define DISPID_IHTMLFRAMEBASE_SCROLLING DISPID_FRAMESITE+8 + +/* IHTMLFrameBase2 */ +#define DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW DISPID_FRAMESITE+9 +#define DISPID_IHTMLFRAMEBASE2_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLFRAMEBASE2_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLFRAMEBASE2_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY DISPID_A_ALLOWTRANSPARENCY + +/* IHTMLFrameBase3 */ +#define DISPID_IHTMLFRAMEBASE3_LONGDESC DISPID_FRAMESITE+10 + +/* IHTMLFrameElement */ +#define DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR DISPID_FRAME+1 + +/* IHTMLFrameElement2 */ +#define DISPID_IHTMLFRAMEELEMENT2_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLFRAMEELEMENT2_WIDTH STDPROPID_XOBJ_WIDTH + +/* IHTMLFrameElement3 */ +#define DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT DISPID_IE8_FRAME +#define DISPID_IHTMLFRAMEELEMENT3_IE8_SRC DISPID_IE8_FRAME+1 +#define DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC DISPID_IE8_FRAME+2 +#define DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER DISPID_IE8_FRAME+3 + +/* IHTMLIFrameElement */ +#define DISPID_IHTMLIFRAMEELEMENT_VSPACE DISPID_IFRAME+1 +#define DISPID_IHTMLIFRAMEELEMENT_HSPACE DISPID_IFRAME+2 +#define DISPID_IHTMLIFRAMEELEMENT_ALIGN STDPROPID_XOBJ_CONTROLALIGN + +/* IHTMLIFrameElement2 */ +#define DISPID_IHTMLIFRAMEELEMENT2_HEIGHT STDPROPID_XOBJ_HEIGHT +#define DISPID_IHTMLIFRAMEELEMENT2_WIDTH STDPROPID_XOBJ_WIDTH + +/* IHTMLIFrameElement3 */ +#define DISPID_IHTMLIFRAMEELEMENT3_CONTENTDOCUMENT DISPID_IE8_IFRAME +#define DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC DISPID_IE8_IFRAME+1 +#define DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC DISPID_IE8_IFRAME+2 +#define DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER DISPID_IE8_IFRAME+3 + +/* IHTMLStyleElement */ +#define DISPID_IHTMLSTYLEELEMENT_TYPE DISPID_STYLEELEMENT+2 +#define DISPID_IHTMLSTYLEELEMENT_READYSTATE DISPID_A_READYSTATE +#define DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE +#define DISPID_IHTMLSTYLEELEMENT_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLSTYLEELEMENT_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLSTYLEELEMENT_STYLESHEET DISPID_STYLEELEMENT+4 +#define DISPID_IHTMLSTYLEELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLSTYLEELEMENT_MEDIA DISPID_STYLEELEMENT+6 + +/* IHTMLStorage */ +#define DISPID_IHTMLSTORAGE_LENGTH DISPID_DOMSTORAGE+1 +#define DISPID_IHTMLSTORAGE_REMAININGSPACE DISPID_DOMSTORAGE+2 +#define DISPID_IHTMLSTORAGE_KEY DISPID_DOMSTORAGE+6 +#define DISPID_IHTMLSTORAGE_GETITEM DISPID_DOMSTORAGE+3 +#define DISPID_IHTMLSTORAGE_SETITEM DISPID_DOMSTORAGE+4 +#define DISPID_IHTMLSTORAGE_REMOVEITEM DISPID_DOMSTORAGE+5 +#define DISPID_IHTMLSTORAGE_CLEAR DISPID_DOMSTORAGE+7 + +/* IHTMLDOMConstructorCollection */ +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_ATTR DISPID_WINDOW+8001+DomConstructorAttr +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_BEHAVIORURNSCOLLECTION DISPID_WINDOW+8001+DomConstructorBehaviorUrnsCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_BOOKMARKCOLLECTION DISPID_WINDOW+8001+DomConstructorBookmarkCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_COMPATIBLEINFO DISPID_WINDOW+8001+DomConstructorCompatibleInfo +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_COMPATIBLEINFOCOLLECTION DISPID_WINDOW+8001+DomConstructorCompatibleInfoCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CONTROLRANGECOLLECTION DISPID_WINDOW+8001+DomConstructorControlRangeCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSCURRENTSTYLEDECLARATION DISPID_WINDOW+8001+DomConstructorCSSCurrentStyleDeclaration +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSRULELIST DISPID_WINDOW+8001+DomConstructorCSSRuleList +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSRULESTYLEDECLARATION DISPID_WINDOW+8001+DomConstructorCSSRuleStyleDeclaration +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSSTYLEDECLARATION DISPID_WINDOW+8001+DomConstructorCSSStyleDeclaration +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSSTYLERULE DISPID_WINDOW+8001+DomConstructorCSSStyleRule +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSSTYLESHEET DISPID_WINDOW+8001+DomConstructorCSSStyleSheet +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_DATATRANSFER DISPID_WINDOW+8001+DomConstructorDataTransfer +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_DOMIMPLEMENTATION DISPID_WINDOW+8001+DomConstructorDOMImplementation +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_ELEMENT DISPID_WINDOW+8001+DomConstructorElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_EVENT DISPID_WINDOW+8001+DomConstructorEvent +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HISTORY DISPID_WINDOW+8001+DomConstructorHistory +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTCELEMENTBEHAVIORDEFAULTS DISPID_WINDOW+8001+DomConstructorHTCElementBehaviorDefaults +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLANCHORELEMENT DISPID_WINDOW+8001+DomConstructorHTMLAnchorElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLAREAELEMENT DISPID_WINDOW+8001+DomConstructorHTMLAreaElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLAREASCOLLECTION DISPID_WINDOW+8001+DomConstructorHTMLAreasCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBASEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLBaseElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBASEFONTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLBaseFontElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBGSOUNDELEMENT DISPID_WINDOW+8001+DomConstructorHTMLBGSoundElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBLOCKELEMENT DISPID_WINDOW+8001+DomConstructorHTMLBlockElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBODYELEMENT DISPID_WINDOW+8001+DomConstructorHTMLBodyElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBRELEMENT DISPID_WINDOW+8001+DomConstructorHTMLBRElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBUTTONELEMENT DISPID_WINDOW+8001+DomConstructorHTMLButtonElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLCOLLECTION DISPID_WINDOW+8001+DomConstructorHTMLCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLCOMMENTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLCommentElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDDELEMENT DISPID_WINDOW+8001+DomConstructorHTMLDDElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDIVELEMENT DISPID_WINDOW+8001+DomConstructorHTMLDivElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDOCUMENT DISPID_WINDOW+8001+DomConstructorHTMLDocument +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDLISTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLDListElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLDTElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLEMBEDELEMENT DISPID_WINDOW+8001+DomConstructorHTMLEmbedElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFIELDSETELEMENT DISPID_WINDOW+8001+DomConstructorHTMLFieldSetElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFONTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLFontElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFORMELEMENT DISPID_WINDOW+8001+DomConstructorHTMLFormElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFRAMEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLFrameElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFRAMESETELEMENT DISPID_WINDOW+8001+DomConstructorHTMLFrameSetElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLGENERICELEMENT DISPID_WINDOW+8001+DomConstructorHTMLGenericElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHEADELEMENT DISPID_WINDOW+8001+DomConstructorHTMLHeadElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHEADINGELEMENT DISPID_WINDOW+8001+DomConstructorHTMLHeadingElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHRELEMENT DISPID_WINDOW+8001+DomConstructorHTMLHRElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHTMLELEMENT DISPID_WINDOW+8001+DomConstructorHTMLHtmlElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLIFRAMEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLIFrameElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLIMAGEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLImageElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLINPUTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLInputElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLISINDEXELEMENT DISPID_WINDOW+8001+DomConstructorHTMLIsIndexElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLABELELEMENT DISPID_WINDOW+8001+DomConstructorHTMLLabelElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLEGENDELEMENT DISPID_WINDOW+8001+DomConstructorHTMLLegendElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLIELEMENT DISPID_WINDOW+8001+DomConstructorHTMLLIElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLINKELEMENT DISPID_WINDOW+8001+DomConstructorHTMLLinkElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMAPELEMENT DISPID_WINDOW+8001+DomConstructorHTMLMapElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMARQUEEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLMarqueeElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMETAELEMENT DISPID_WINDOW+8001+DomConstructorHTMLMetaElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMODELESSDIALOG DISPID_WINDOW+8001+DomConstructorHTMLModelessDialog +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNAMESPACEINFO DISPID_WINDOW+8001+DomConstructorHTMLNamespaceInfo +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNAMESPACEINFOCOLLECTION DISPID_WINDOW+8001+DomConstructorHTMLNamespaceInfoCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNEXTIDELEMENT DISPID_WINDOW+8001+DomConstructorHTMLNextIdElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNOSHOWELEMENT DISPID_WINDOW+8001+DomConstructorHTMLNoShowElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLOBJECTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLObjectElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLOLISTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLOListElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLOPTIONELEMENT DISPID_WINDOW+8001+DomConstructorHTMLOptionElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPARAGRAPHELEMENT DISPID_WINDOW+8001+DomConstructorHTMLParagraphElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPARAMELEMENT DISPID_WINDOW+8001+DomConstructorHTMLParamElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPHRASEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLPhraseElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPLUGINSCOLLECTION DISPID_WINDOW+8001+DomConstructorHTMLPluginsCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPOPUP DISPID_WINDOW+8001+DomConstructorHTMLPopup +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSCRIPTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLScriptElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSELECTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLSelectElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSPANELEMENT DISPID_WINDOW+8001+DomConstructorHTMLSpanElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSTYLEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLStyleElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLECAPTIONELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTableCaptionElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLECELLELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTableCellElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLECOLELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTableColElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTableElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLEROWELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTableRowElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLESECTIONELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTableSectionElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTEXTAREAELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTextAreaElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTEXTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTextElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTITLEELEMENT DISPID_WINDOW+8001+DomConstructorHTMLTitleElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLULISTELEMENT DISPID_WINDOW+8001+DomConstructorHTMLUListElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLUNKNOWNELEMENT DISPID_WINDOW+8001+DomConstructorHTMLUnknownElement +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_IMAGE DISPID_WINDOW+8001+DomConstructorImage +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_LOCATION DISPID_WINDOW+8001+DomConstructorLocation +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_NAMEDNODEMAP DISPID_WINDOW+8001+DomConstructorNamedNodeMap +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_NAVIGATOR DISPID_WINDOW+8001+DomConstructorNavigator +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_NODELIST DISPID_WINDOW+8001+DomConstructorNodeList +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_OPTION DISPID_WINDOW+8001+DomConstructorOption +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_SCREEN DISPID_WINDOW+8001+DomConstructorScreen +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_SELECTION DISPID_WINDOW+8001+DomConstructorSelection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STATICNODELIST DISPID_WINDOW+8001+DomConstructorStaticNodeList +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STORAGE DISPID_WINDOW+8001+DomConstructorStorage +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STYLESHEETLIST DISPID_WINDOW+8001+DomConstructorStyleSheetList +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STYLESHEETPAGE DISPID_WINDOW+8001+DomConstructorStyleSheetPage +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STYLESHEETPAGELIST DISPID_WINDOW+8001+DomConstructorStyleSheetPageList +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXT DISPID_WINDOW+8001+DomConstructorText +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRANGE DISPID_WINDOW+8001+DomConstructorTextRange +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRANGECOLLECTION DISPID_WINDOW+8001+DomConstructorTextRangeCollection +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRECTANGLE DISPID_WINDOW+8001+DomConstructorTextRectangle +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRECTANGLELIST DISPID_WINDOW+8001+DomConstructorTextRectangleList +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_WINDOW DISPID_WINDOW+8001+DomConstructorWindow +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_XDOMAINREQUEST DISPID_WINDOW+8001+DomConstructorXDomainRequest +#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_XMLHTTPREQUEST DISPID_WINDOW+8001+DomConstructorXMLHttpRequest + +/* IEventTarget */ +#define DISPID_IEVENTTARGET_ADDEVENTLISTENER DISPID_HTMLOBJECT+10 +#define DISPID_IEVENTTARGET_REMOVEEVENTLISTENER DISPID_HTMLOBJECT+11 +#define DISPID_IEVENTTARGET_DISPATCHEVENT DISPID_HTMLOBJECT+12 + +/* IDOMEvent */ +#define DISPID_IDOMEVENT_BUBBLES DISPID_DOMEVENT+1 +#define DISPID_IDOMEVENT_CANCELABLE DISPID_DOMEVENT+2 +#define DISPID_IDOMEVENT_CURRENTTARGET DISPID_DOMEVENT+3 +#define DISPID_IDOMEVENT_DEFAULTPREVENTED DISPID_DOMEVENT+4 +#define DISPID_IDOMEVENT_EVENTPHASE DISPID_DOMEVENT+5 +#define DISPID_IDOMEVENT_TARGET DISPID_DOMEVENT+6 +#define DISPID_IDOMEVENT_TIMESTAMP DISPID_DOMEVENT+7 +#define DISPID_IDOMEVENT_TYPE DISPID_DOMEVENT+8 +#define DISPID_IDOMEVENT_INITEVENT DISPID_DOMEVENT+9 +#define DISPID_IDOMEVENT_PREVENTDEFAULT DISPID_DOMEVENT+10 +#define DISPID_IDOMEVENT_STOPPROPAGATION DISPID_DOMEVENT+11 +#define DISPID_IDOMEVENT_STOPIMMEDIATEPROPAGATION DISPID_DOMEVENT+12 +#define DISPID_IDOMEVENT_ISTRUSTED DISPID_DOMEVENT+13 +#define DISPID_IDOMEVENT_CANCELBUBBLE DISPID_DOMEVENT+14 +#define DISPID_IDOMEVENT_SRCELEMENT DISPID_DOMEVENT+15 + +/* IDOMMessageEvent */ +#define DISPID_IDOMMESSAGEEVENT_DATA DISPID_DOMMESSAGEEVENT+1 +#define DISPID_IDOMMESSAGEEVENT_ORIGIN DISPID_DOMMESSAGEEVENT+2 +#define DISPID_IDOMMESSAGEEVENT_SOURCE DISPID_DOMMESSAGEEVENT+3 +#define DISPID_IDOMMESSAGEEVENT_INITMESSAGEEVENT DISPID_DOMMESSAGEEVENT+4 + +/* IHTMLControlElement */ +#define DISPID_IHTMLCONTROLELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX +#define DISPID_IHTMLCONTROLELEMENT_FOCUS (DISPID_SITE+0) +#define DISPID_IHTMLCONTROLELEMENT_ACCESSKEY (DISPID_SITE+5) +#define DISPID_IHTMLCONTROLELEMENT_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLCONTROLELEMENT_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLCONTROLELEMENT_ONRESIZE DISPID_EVPROP_ONRESIZE +#define DISPID_IHTMLCONTROLELEMENT_BLUR (DISPID_SITE+2) +#define DISPID_IHTMLCONTROLELEMENT_ADDFILTER (DISPID_SITE+17) +#define DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER (DISPID_SITE+18) +#define DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT (DISPID_SITE+19) +#define DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH (DISPID_SITE+20) +#define DISPID_IHTMLCONTROLELEMENT_CLIENTTOP (DISPID_SITE+21) +#define DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT (DISPID_SITE+22) + +/* IDOMProcessingInstruction */ +#define DISPID_IDOMPROCESSINGINSTRUCTION_TARGET DISPID_PROCESSINGINSTRUCTION +#define DISPID_IDOMPROCESSINGINSTRUCTION_DATA DISPID_PROCESSINGINSTRUCTION+1 + +/* IDocumentSelector */ +#define DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR DISPID_OMDOCUMENT+105 +#define DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL DISPID_OMDOCUMENT+106 + +#endif /* __MSHTMDID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmhst.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmhst.h new file mode 100644 index 0000000..349fbe9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmhst.h @@ -0,0 +1,1059 @@ +/*** Autogenerated by WIDL 2.18 from mshtmhst.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mshtmhst_h__ +#define __mshtmhst_h__ + +/* Forward declarations */ + +#ifndef __IHostDialogHelper_FWD_DEFINED__ +#define __IHostDialogHelper_FWD_DEFINED__ +typedef interface IHostDialogHelper IHostDialogHelper; +#ifdef __cplusplus +interface IHostDialogHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __HostDialogHelper_FWD_DEFINED__ +#define __HostDialogHelper_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HostDialogHelper HostDialogHelper; +#else +typedef struct HostDialogHelper HostDialogHelper; +#endif /* defined __cplusplus */ +#endif /* defined __HostDialogHelper_FWD_DEFINED__ */ + +#ifndef __IDocHostUIHandler_FWD_DEFINED__ +#define __IDocHostUIHandler_FWD_DEFINED__ +typedef interface IDocHostUIHandler IDocHostUIHandler; +#ifdef __cplusplus +interface IDocHostUIHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IDocHostUIHandler2_FWD_DEFINED__ +#define __IDocHostUIHandler2_FWD_DEFINED__ +typedef interface IDocHostUIHandler2 IDocHostUIHandler2; +#ifdef __cplusplus +interface IDocHostUIHandler2; +#endif /* __cplusplus */ +#endif + +#ifndef __ICustomDoc_FWD_DEFINED__ +#define __ICustomDoc_FWD_DEFINED__ +typedef interface ICustomDoc ICustomDoc; +#ifdef __cplusplus +interface ICustomDoc; +#endif /* __cplusplus */ +#endif + +#ifndef __IDocHostShowUI_FWD_DEFINED__ +#define __IDocHostShowUI_FWD_DEFINED__ +typedef interface IDocHostShowUI IDocHostShowUI; +#ifdef __cplusplus +interface IDocHostShowUI; +#endif /* __cplusplus */ +#endif + +#ifndef __IClassFactoryEx_FWD_DEFINED__ +#define __IClassFactoryEx_FWD_DEFINED__ +typedef interface IClassFactoryEx IClassFactoryEx; +#ifdef __cplusplus +interface IClassFactoryEx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define CONTEXT_MENU_DEFAULT 0 +#define CONTEXT_MENU_IMAGE 1 +#define CONTEXT_MENU_CONTROL 2 +#define CONTEXT_MENU_TABLE 3 +#define CONTEXT_MENU_TEXTSELECT 4 +#define CONTEXT_MENU_ANCHOR 5 +#define CONTEXT_MENU_UNKNOWN 6 +#define CONTEXT_MENU_IMGDYNSRC 7 +#define CONTEXT_MENU_IMGART 8 +#define CONTEXT_MENU_DEBUG 9 +#define CONTEXT_MENU_VSCROLL 10 +#define CONTEXT_MENU_HSCROLL 11 +#define MENUEXT_SHOWDIALOG 1 +#define DOCHOSTUIFLAG_BROWSER (DOCHOSTUIFLAG_DISABLE_HELP_MENU|DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE) +#define HTMLDLG_NOUI 0x0010 +#define HTMLDLG_MODAL 0x0020 +#define HTMLDLG_MODELESS 0x0040 +#define HTMLDLG_PRINT_TEMPLATE 0x0080 +#define HTMLDLG_VERIFY 0x0100 +#define PRINT_DONTBOTHERUSER 0x0001 +#define PRINT_WAITFORCOMPLETION 0x0002 +DEFINE_GUID(CGID_MSHTML, 0xde4ba900,0x59ca,0x11cf,0x95,0x92,0x44,0x45,0x53,0x54,0x00,0x00); +#define CMDSETID_Forms3 CGID_MSHTML +#if defined(__GNUC__) +#define SZ_HTML_CLIENTSITE_OBJECTPARAM (const WCHAR[]) {'{','d','4','d','b','6','8','5','0','-','5','3','8','5','-','1','1','d','0','-','8','9','e','9','-','0','0','a','0','c','9','0','a','9','0','a','c','}',0} +#elif defined(_MSC_VER) +#define SZ_HTML_CLIENTSITE_OBJECTPARAM L"{d4db6850-5385-11d0-89e9-00a0c90a90ac}" +#else +static const WCHAR SZ_HTML_CLIENTSITE_OBJECTPARAM[] = {'{','d','4','d','b','6','8','5','0','-','5','3','8','5','-','1','1','d','0','-','8','9','e','9','-','0','0','a','0','c','9','0','a','9','0','a','c','}',0}; +#endif +#ifndef __IHTMLWindow2_FWD_DEFINED__ +#define __IHTMLWindow2_FWD_DEFINED__ +typedef interface IHTMLWindow2 IHTMLWindow2; +#endif +/***************************************************************************** + * IHostDialogHelper interface + */ +#ifndef __IHostDialogHelper_INTERFACE_DEFINED__ +#define __IHostDialogHelper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHostDialogHelper, 0x53dec138, 0xa51e, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("53dec138-a51e-11d2-861e-00c04fa35c89") +IHostDialogHelper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ShowHTMLDialog( + HWND hwndParent, + IMoniker *pMk, + VARIANT *pvarArgIn, + WCHAR *pchOptions, + VARIANT *pvarArgOut, + IUnknown *punkHost) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHostDialogHelper, 0x53dec138, 0xa51e, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89) +#endif +#else +typedef struct IHostDialogHelperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHostDialogHelper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHostDialogHelper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHostDialogHelper *This); + + /*** IHostDialogHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *ShowHTMLDialog)( + IHostDialogHelper *This, + HWND hwndParent, + IMoniker *pMk, + VARIANT *pvarArgIn, + WCHAR *pchOptions, + VARIANT *pvarArgOut, + IUnknown *punkHost); + + END_INTERFACE +} IHostDialogHelperVtbl; + +interface IHostDialogHelper { + CONST_VTBL IHostDialogHelperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHostDialogHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHostDialogHelper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHostDialogHelper_Release(This) (This)->lpVtbl->Release(This) +/*** IHostDialogHelper methods ***/ +#define IHostDialogHelper_ShowHTMLDialog(This,hwndParent,pMk,pvarArgIn,pchOptions,pvarArgOut,punkHost) (This)->lpVtbl->ShowHTMLDialog(This,hwndParent,pMk,pvarArgIn,pchOptions,pvarArgOut,punkHost) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHostDialogHelper_QueryInterface(IHostDialogHelper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHostDialogHelper_AddRef(IHostDialogHelper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHostDialogHelper_Release(IHostDialogHelper* This) { + return This->lpVtbl->Release(This); +} +/*** IHostDialogHelper methods ***/ +static FORCEINLINE HRESULT IHostDialogHelper_ShowHTMLDialog(IHostDialogHelper* This,HWND hwndParent,IMoniker *pMk,VARIANT *pvarArgIn,WCHAR *pchOptions,VARIANT *pvarArgOut,IUnknown *punkHost) { + return This->lpVtbl->ShowHTMLDialog(This,hwndParent,pMk,pvarArgIn,pchOptions,pvarArgOut,punkHost); +} +#endif +#endif + +#endif + + +#endif /* __IHostDialogHelper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * HostDialogHelper coclass + */ + +DEFINE_GUID(CLSID_HostDialogHelper, 0x429af92c, 0xa51f, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89); + +#ifdef __cplusplus +class DECLSPEC_UUID("429af92c-a51f-11d2-861e-00c04fa35c89") HostDialogHelper; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HostDialogHelper, 0x429af92c, 0xa51f, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89) +#endif +#endif + +typedef enum tagDOCHOSTUITYPE { + DOCHOSTUITYPE_BROWSE = 0, + DOCHOSTUITYPE_AUTHOR = 1 +} DOCHOSTUITYPE; +typedef enum tagDOCHOSTUIDBLCLK { + DOCHOSTUIDBLCLK_DEFAULT = 0, + DOCHOSTUIDBLCLK_SHOWPROPERTIES = 1, + DOCHOSTUIDBLCLK_SHOWCODE = 2 +} DOCHOSTUIDBLCLK; +typedef enum tagDOCHOSTUIFLAG { + DOCHOSTUIFLAG_DIALOG = 0x1, + DOCHOSTUIFLAG_DISABLE_HELP_MENU = 0x2, + DOCHOSTUIFLAG_NO3DBORDER = 0x4, + DOCHOSTUIFLAG_SCROLL_NO = 0x8, + DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 0x10, + DOCHOSTUIFLAG_OPENNEWWIN = 0x20, + DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 0x40, + DOCHOSTUIFLAG_FLAT_SCROLLBAR = 0x80, + DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 0x100, + DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 0x200, + DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY = 0x400, + DOCHOSTUIFLAG_CODEPAGELINKEDFONTS = 0x800, + DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8 = 0x1000, + DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 = 0x2000, + DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE = 0x4000, + DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION = 0x10000, + DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION = 0x20000, + DOCHOSTUIFLAG_THEME = 0x40000, + DOCHOSTUIFLAG_NOTHEME = 0x80000, + DOCHOSTUIFLAG_NOPICS = 0x100000, + DOCHOSTUIFLAG_NO3DOUTERBORDER = 0x200000, + DOCHOSTUIFLAG_DISABLE_EDIT_NS_FIXUP = 0x400000, + DOCHOSTUIFLAG_LOCAL_MACHINE_ACCESS_CHECK = 0x800000, + DOCHOSTUIFLAG_DISABLE_UNTRUSTEDPROTOCOL = 0x1000000, + DOCHOSTUIFLAG_HOST_NAVIGATES = 0x2000000, + DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION = 0x4000000, + DOCHOSTUIFLAG_USE_WINDOWLESS_SELECTCONTROL = 0x8000000, + DOCHOSTUIFLAG_USE_WINDOWED_SELECTCONTROL = 0x10000000, + DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE = 0x20000000, + DOCHOSTUIFLAG_DPI_AWARE = 0x40000000 +} DOCHOSTUIFLAG; +/***************************************************************************** + * IDocHostUIHandler interface + */ +#ifndef __IDocHostUIHandler_INTERFACE_DEFINED__ +#define __IDocHostUIHandler_INTERFACE_DEFINED__ + +typedef struct _DOCHOSTUIINFO { + ULONG cbSize; + DWORD dwFlags; + DWORD dwDoubleClick; + OLECHAR *pchHostCss; + OLECHAR *pchHostNS; +} DOCHOSTUIINFO; +DEFINE_GUID(IID_IDocHostUIHandler, 0xbd3f23c0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bd3f23c0-d43e-11cf-893b-00aa00bdce1a") +IDocHostUIHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ShowContextMenu( + DWORD dwID, + POINT *ppt, + IUnknown *pcmdtReserved, + IDispatch *pdispReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHostInfo( + DOCHOSTUIINFO *pInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowUI( + DWORD dwID, + IOleInPlaceActiveObject *pActiveObject, + IOleCommandTarget *pCommandTarget, + IOleInPlaceFrame *pFrame, + IOleInPlaceUIWindow *pDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE HideUI( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateUI( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + BOOL fEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate( + BOOL fActivate) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate( + BOOL fActivate) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeBorder( + LPCRECT prcBorder, + IOleInPlaceUIWindow *pUIWindow, + BOOL fRameWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + LPMSG lpMsg, + const GUID *pguidCmdGroup, + DWORD nCmdID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath( + LPOLESTR *pchKey, + DWORD dw) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDropTarget( + IDropTarget *pDropTarget, + IDropTarget **ppDropTarget) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExternal( + IDispatch **ppDispatch) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateUrl( + DWORD dwTranslate, + OLECHAR *pchURLIn, + OLECHAR **ppchURLOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE FilterDataObject( + IDataObject *pDO, + IDataObject **ppDORet) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDocHostUIHandler, 0xbd3f23c0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a) +#endif +#else +typedef struct IDocHostUIHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDocHostUIHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDocHostUIHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDocHostUIHandler *This); + + /*** IDocHostUIHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *ShowContextMenu)( + IDocHostUIHandler *This, + DWORD dwID, + POINT *ppt, + IUnknown *pcmdtReserved, + IDispatch *pdispReserved); + + HRESULT (STDMETHODCALLTYPE *GetHostInfo)( + IDocHostUIHandler *This, + DOCHOSTUIINFO *pInfo); + + HRESULT (STDMETHODCALLTYPE *ShowUI)( + IDocHostUIHandler *This, + DWORD dwID, + IOleInPlaceActiveObject *pActiveObject, + IOleCommandTarget *pCommandTarget, + IOleInPlaceFrame *pFrame, + IOleInPlaceUIWindow *pDoc); + + HRESULT (STDMETHODCALLTYPE *HideUI)( + IDocHostUIHandler *This); + + HRESULT (STDMETHODCALLTYPE *UpdateUI)( + IDocHostUIHandler *This); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IDocHostUIHandler *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)( + IDocHostUIHandler *This, + BOOL fActivate); + + HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)( + IDocHostUIHandler *This, + BOOL fActivate); + + HRESULT (STDMETHODCALLTYPE *ResizeBorder)( + IDocHostUIHandler *This, + LPCRECT prcBorder, + IOleInPlaceUIWindow *pUIWindow, + BOOL fRameWindow); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IDocHostUIHandler *This, + LPMSG lpMsg, + const GUID *pguidCmdGroup, + DWORD nCmdID); + + HRESULT (STDMETHODCALLTYPE *GetOptionKeyPath)( + IDocHostUIHandler *This, + LPOLESTR *pchKey, + DWORD dw); + + HRESULT (STDMETHODCALLTYPE *GetDropTarget)( + IDocHostUIHandler *This, + IDropTarget *pDropTarget, + IDropTarget **ppDropTarget); + + HRESULT (STDMETHODCALLTYPE *GetExternal)( + IDocHostUIHandler *This, + IDispatch **ppDispatch); + + HRESULT (STDMETHODCALLTYPE *TranslateUrl)( + IDocHostUIHandler *This, + DWORD dwTranslate, + OLECHAR *pchURLIn, + OLECHAR **ppchURLOut); + + HRESULT (STDMETHODCALLTYPE *FilterDataObject)( + IDocHostUIHandler *This, + IDataObject *pDO, + IDataObject **ppDORet); + + END_INTERFACE +} IDocHostUIHandlerVtbl; + +interface IDocHostUIHandler { + CONST_VTBL IDocHostUIHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDocHostUIHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDocHostUIHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDocHostUIHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDocHostUIHandler methods ***/ +#define IDocHostUIHandler_ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) (This)->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) +#define IDocHostUIHandler_GetHostInfo(This,pInfo) (This)->lpVtbl->GetHostInfo(This,pInfo) +#define IDocHostUIHandler_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) (This)->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) +#define IDocHostUIHandler_HideUI(This) (This)->lpVtbl->HideUI(This) +#define IDocHostUIHandler_UpdateUI(This) (This)->lpVtbl->UpdateUI(This) +#define IDocHostUIHandler_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#define IDocHostUIHandler_OnDocWindowActivate(This,fActivate) (This)->lpVtbl->OnDocWindowActivate(This,fActivate) +#define IDocHostUIHandler_OnFrameWindowActivate(This,fActivate) (This)->lpVtbl->OnFrameWindowActivate(This,fActivate) +#define IDocHostUIHandler_ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) (This)->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) +#define IDocHostUIHandler_TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) (This)->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) +#define IDocHostUIHandler_GetOptionKeyPath(This,pchKey,dw) (This)->lpVtbl->GetOptionKeyPath(This,pchKey,dw) +#define IDocHostUIHandler_GetDropTarget(This,pDropTarget,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget) +#define IDocHostUIHandler_GetExternal(This,ppDispatch) (This)->lpVtbl->GetExternal(This,ppDispatch) +#define IDocHostUIHandler_TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) (This)->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) +#define IDocHostUIHandler_FilterDataObject(This,pDO,ppDORet) (This)->lpVtbl->FilterDataObject(This,pDO,ppDORet) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandler_QueryInterface(IDocHostUIHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDocHostUIHandler_AddRef(IDocHostUIHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDocHostUIHandler_Release(IDocHostUIHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDocHostUIHandler methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandler_ShowContextMenu(IDocHostUIHandler* This,DWORD dwID,POINT *ppt,IUnknown *pcmdtReserved,IDispatch *pdispReserved) { + return This->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved); +} +static FORCEINLINE HRESULT IDocHostUIHandler_GetHostInfo(IDocHostUIHandler* This,DOCHOSTUIINFO *pInfo) { + return This->lpVtbl->GetHostInfo(This,pInfo); +} +static FORCEINLINE HRESULT IDocHostUIHandler_ShowUI(IDocHostUIHandler* This,DWORD dwID,IOleInPlaceActiveObject *pActiveObject,IOleCommandTarget *pCommandTarget,IOleInPlaceFrame *pFrame,IOleInPlaceUIWindow *pDoc) { + return This->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc); +} +static FORCEINLINE HRESULT IDocHostUIHandler_HideUI(IDocHostUIHandler* This) { + return This->lpVtbl->HideUI(This); +} +static FORCEINLINE HRESULT IDocHostUIHandler_UpdateUI(IDocHostUIHandler* This) { + return This->lpVtbl->UpdateUI(This); +} +static FORCEINLINE HRESULT IDocHostUIHandler_EnableModeless(IDocHostUIHandler* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +static FORCEINLINE HRESULT IDocHostUIHandler_OnDocWindowActivate(IDocHostUIHandler* This,BOOL fActivate) { + return This->lpVtbl->OnDocWindowActivate(This,fActivate); +} +static FORCEINLINE HRESULT IDocHostUIHandler_OnFrameWindowActivate(IDocHostUIHandler* This,BOOL fActivate) { + return This->lpVtbl->OnFrameWindowActivate(This,fActivate); +} +static FORCEINLINE HRESULT IDocHostUIHandler_ResizeBorder(IDocHostUIHandler* This,LPCRECT prcBorder,IOleInPlaceUIWindow *pUIWindow,BOOL fRameWindow) { + return This->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow); +} +static FORCEINLINE HRESULT IDocHostUIHandler_TranslateAccelerator(IDocHostUIHandler* This,LPMSG lpMsg,const GUID *pguidCmdGroup,DWORD nCmdID) { + return This->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID); +} +static FORCEINLINE HRESULT IDocHostUIHandler_GetOptionKeyPath(IDocHostUIHandler* This,LPOLESTR *pchKey,DWORD dw) { + return This->lpVtbl->GetOptionKeyPath(This,pchKey,dw); +} +static FORCEINLINE HRESULT IDocHostUIHandler_GetDropTarget(IDocHostUIHandler* This,IDropTarget *pDropTarget,IDropTarget **ppDropTarget) { + return This->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget); +} +static FORCEINLINE HRESULT IDocHostUIHandler_GetExternal(IDocHostUIHandler* This,IDispatch **ppDispatch) { + return This->lpVtbl->GetExternal(This,ppDispatch); +} +static FORCEINLINE HRESULT IDocHostUIHandler_TranslateUrl(IDocHostUIHandler* This,DWORD dwTranslate,OLECHAR *pchURLIn,OLECHAR **ppchURLOut) { + return This->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut); +} +static FORCEINLINE HRESULT IDocHostUIHandler_FilterDataObject(IDocHostUIHandler* This,IDataObject *pDO,IDataObject **ppDORet) { + return This->lpVtbl->FilterDataObject(This,pDO,ppDORet); +} +#endif +#endif + +#endif + + +#endif /* __IDocHostUIHandler_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CGID_DocHostCommandHandler,0xf38bc242,0xb950,0x11d1,0x89,0x18,0x00,0xc0,0x4f,0xc2,0xc8,0x36); +/***************************************************************************** + * IDocHostUIHandler2 interface + */ +#ifndef __IDocHostUIHandler2_INTERFACE_DEFINED__ +#define __IDocHostUIHandler2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDocHostUIHandler2, 0x3050f6d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f6d0-98b5-11cf-bb82-00aa00bdce0b") +IDocHostUIHandler2 : public IDocHostUIHandler +{ + virtual HRESULT STDMETHODCALLTYPE GetOverrideKeyPath( + LPOLESTR *pchKey, + DWORD dw) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDocHostUIHandler2, 0x3050f6d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IDocHostUIHandler2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDocHostUIHandler2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDocHostUIHandler2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDocHostUIHandler2 *This); + + /*** IDocHostUIHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *ShowContextMenu)( + IDocHostUIHandler2 *This, + DWORD dwID, + POINT *ppt, + IUnknown *pcmdtReserved, + IDispatch *pdispReserved); + + HRESULT (STDMETHODCALLTYPE *GetHostInfo)( + IDocHostUIHandler2 *This, + DOCHOSTUIINFO *pInfo); + + HRESULT (STDMETHODCALLTYPE *ShowUI)( + IDocHostUIHandler2 *This, + DWORD dwID, + IOleInPlaceActiveObject *pActiveObject, + IOleCommandTarget *pCommandTarget, + IOleInPlaceFrame *pFrame, + IOleInPlaceUIWindow *pDoc); + + HRESULT (STDMETHODCALLTYPE *HideUI)( + IDocHostUIHandler2 *This); + + HRESULT (STDMETHODCALLTYPE *UpdateUI)( + IDocHostUIHandler2 *This); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IDocHostUIHandler2 *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)( + IDocHostUIHandler2 *This, + BOOL fActivate); + + HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)( + IDocHostUIHandler2 *This, + BOOL fActivate); + + HRESULT (STDMETHODCALLTYPE *ResizeBorder)( + IDocHostUIHandler2 *This, + LPCRECT prcBorder, + IOleInPlaceUIWindow *pUIWindow, + BOOL fRameWindow); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IDocHostUIHandler2 *This, + LPMSG lpMsg, + const GUID *pguidCmdGroup, + DWORD nCmdID); + + HRESULT (STDMETHODCALLTYPE *GetOptionKeyPath)( + IDocHostUIHandler2 *This, + LPOLESTR *pchKey, + DWORD dw); + + HRESULT (STDMETHODCALLTYPE *GetDropTarget)( + IDocHostUIHandler2 *This, + IDropTarget *pDropTarget, + IDropTarget **ppDropTarget); + + HRESULT (STDMETHODCALLTYPE *GetExternal)( + IDocHostUIHandler2 *This, + IDispatch **ppDispatch); + + HRESULT (STDMETHODCALLTYPE *TranslateUrl)( + IDocHostUIHandler2 *This, + DWORD dwTranslate, + OLECHAR *pchURLIn, + OLECHAR **ppchURLOut); + + HRESULT (STDMETHODCALLTYPE *FilterDataObject)( + IDocHostUIHandler2 *This, + IDataObject *pDO, + IDataObject **ppDORet); + + /*** IDocHostUIHandler2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetOverrideKeyPath)( + IDocHostUIHandler2 *This, + LPOLESTR *pchKey, + DWORD dw); + + END_INTERFACE +} IDocHostUIHandler2Vtbl; + +interface IDocHostUIHandler2 { + CONST_VTBL IDocHostUIHandler2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDocHostUIHandler2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDocHostUIHandler2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDocHostUIHandler2_Release(This) (This)->lpVtbl->Release(This) +/*** IDocHostUIHandler methods ***/ +#define IDocHostUIHandler2_ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) (This)->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) +#define IDocHostUIHandler2_GetHostInfo(This,pInfo) (This)->lpVtbl->GetHostInfo(This,pInfo) +#define IDocHostUIHandler2_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) (This)->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) +#define IDocHostUIHandler2_HideUI(This) (This)->lpVtbl->HideUI(This) +#define IDocHostUIHandler2_UpdateUI(This) (This)->lpVtbl->UpdateUI(This) +#define IDocHostUIHandler2_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#define IDocHostUIHandler2_OnDocWindowActivate(This,fActivate) (This)->lpVtbl->OnDocWindowActivate(This,fActivate) +#define IDocHostUIHandler2_OnFrameWindowActivate(This,fActivate) (This)->lpVtbl->OnFrameWindowActivate(This,fActivate) +#define IDocHostUIHandler2_ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) (This)->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) +#define IDocHostUIHandler2_TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) (This)->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) +#define IDocHostUIHandler2_GetOptionKeyPath(This,pchKey,dw) (This)->lpVtbl->GetOptionKeyPath(This,pchKey,dw) +#define IDocHostUIHandler2_GetDropTarget(This,pDropTarget,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget) +#define IDocHostUIHandler2_GetExternal(This,ppDispatch) (This)->lpVtbl->GetExternal(This,ppDispatch) +#define IDocHostUIHandler2_TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) (This)->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) +#define IDocHostUIHandler2_FilterDataObject(This,pDO,ppDORet) (This)->lpVtbl->FilterDataObject(This,pDO,ppDORet) +/*** IDocHostUIHandler2 methods ***/ +#define IDocHostUIHandler2_GetOverrideKeyPath(This,pchKey,dw) (This)->lpVtbl->GetOverrideKeyPath(This,pchKey,dw) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandler2_QueryInterface(IDocHostUIHandler2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDocHostUIHandler2_AddRef(IDocHostUIHandler2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDocHostUIHandler2_Release(IDocHostUIHandler2* This) { + return This->lpVtbl->Release(This); +} +/*** IDocHostUIHandler methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandler2_ShowContextMenu(IDocHostUIHandler2* This,DWORD dwID,POINT *ppt,IUnknown *pcmdtReserved,IDispatch *pdispReserved) { + return This->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_GetHostInfo(IDocHostUIHandler2* This,DOCHOSTUIINFO *pInfo) { + return This->lpVtbl->GetHostInfo(This,pInfo); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_ShowUI(IDocHostUIHandler2* This,DWORD dwID,IOleInPlaceActiveObject *pActiveObject,IOleCommandTarget *pCommandTarget,IOleInPlaceFrame *pFrame,IOleInPlaceUIWindow *pDoc) { + return This->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_HideUI(IDocHostUIHandler2* This) { + return This->lpVtbl->HideUI(This); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_UpdateUI(IDocHostUIHandler2* This) { + return This->lpVtbl->UpdateUI(This); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_EnableModeless(IDocHostUIHandler2* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_OnDocWindowActivate(IDocHostUIHandler2* This,BOOL fActivate) { + return This->lpVtbl->OnDocWindowActivate(This,fActivate); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_OnFrameWindowActivate(IDocHostUIHandler2* This,BOOL fActivate) { + return This->lpVtbl->OnFrameWindowActivate(This,fActivate); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_ResizeBorder(IDocHostUIHandler2* This,LPCRECT prcBorder,IOleInPlaceUIWindow *pUIWindow,BOOL fRameWindow) { + return This->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_TranslateAccelerator(IDocHostUIHandler2* This,LPMSG lpMsg,const GUID *pguidCmdGroup,DWORD nCmdID) { + return This->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_GetOptionKeyPath(IDocHostUIHandler2* This,LPOLESTR *pchKey,DWORD dw) { + return This->lpVtbl->GetOptionKeyPath(This,pchKey,dw); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_GetDropTarget(IDocHostUIHandler2* This,IDropTarget *pDropTarget,IDropTarget **ppDropTarget) { + return This->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_GetExternal(IDocHostUIHandler2* This,IDispatch **ppDispatch) { + return This->lpVtbl->GetExternal(This,ppDispatch); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_TranslateUrl(IDocHostUIHandler2* This,DWORD dwTranslate,OLECHAR *pchURLIn,OLECHAR **ppchURLOut) { + return This->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut); +} +static FORCEINLINE HRESULT IDocHostUIHandler2_FilterDataObject(IDocHostUIHandler2* This,IDataObject *pDO,IDataObject **ppDORet) { + return This->lpVtbl->FilterDataObject(This,pDO,ppDORet); +} +/*** IDocHostUIHandler2 methods ***/ +static FORCEINLINE HRESULT IDocHostUIHandler2_GetOverrideKeyPath(IDocHostUIHandler2* This,LPOLESTR *pchKey,DWORD dw) { + return This->lpVtbl->GetOverrideKeyPath(This,pchKey,dw); +} +#endif +#endif + +#endif + + +#endif /* __IDocHostUIHandler2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICustomDoc interface + */ +#ifndef __ICustomDoc_INTERFACE_DEFINED__ +#define __ICustomDoc_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICustomDoc, 0x3050f3f0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3f0-98b5-11cf-bb82-00aa00bdce0b") +ICustomDoc : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetUIHandler( + IDocHostUIHandler *pUIHandler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICustomDoc, 0x3050f3f0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ICustomDocVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICustomDoc *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICustomDoc *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICustomDoc *This); + + /*** ICustomDoc methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUIHandler)( + ICustomDoc *This, + IDocHostUIHandler *pUIHandler); + + END_INTERFACE +} ICustomDocVtbl; + +interface ICustomDoc { + CONST_VTBL ICustomDocVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICustomDoc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICustomDoc_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICustomDoc_Release(This) (This)->lpVtbl->Release(This) +/*** ICustomDoc methods ***/ +#define ICustomDoc_SetUIHandler(This,pUIHandler) (This)->lpVtbl->SetUIHandler(This,pUIHandler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICustomDoc_QueryInterface(ICustomDoc* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICustomDoc_AddRef(ICustomDoc* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICustomDoc_Release(ICustomDoc* This) { + return This->lpVtbl->Release(This); +} +/*** ICustomDoc methods ***/ +static FORCEINLINE HRESULT ICustomDoc_SetUIHandler(ICustomDoc* This,IDocHostUIHandler *pUIHandler) { + return This->lpVtbl->SetUIHandler(This,pUIHandler); +} +#endif +#endif + +#endif + + +#endif /* __ICustomDoc_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDocHostShowUI interface + */ +#ifndef __IDocHostShowUI_INTERFACE_DEFINED__ +#define __IDocHostShowUI_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDocHostShowUI, 0xc4d244b0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c4d244b0-d43e-11cf-893b-00aa00bdce1a") +IDocHostShowUI : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ShowMessage( + HWND hwnd, + LPOLESTR lpstrText, + LPOLESTR lpstrCaption, + DWORD dwType, + LPOLESTR lpstrHelpFile, + DWORD dwHelpContext, + LRESULT *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowHelp( + HWND hwnd, + LPOLESTR pszHelpFile, + UINT uCommand, + DWORD dwData, + POINT ptMouse, + IDispatch *pDispatchObjectHit) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDocHostShowUI, 0xc4d244b0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a) +#endif +#else +typedef struct IDocHostShowUIVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDocHostShowUI *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDocHostShowUI *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDocHostShowUI *This); + + /*** IDocHostShowUI methods ***/ + HRESULT (STDMETHODCALLTYPE *ShowMessage)( + IDocHostShowUI *This, + HWND hwnd, + LPOLESTR lpstrText, + LPOLESTR lpstrCaption, + DWORD dwType, + LPOLESTR lpstrHelpFile, + DWORD dwHelpContext, + LRESULT *plResult); + + HRESULT (STDMETHODCALLTYPE *ShowHelp)( + IDocHostShowUI *This, + HWND hwnd, + LPOLESTR pszHelpFile, + UINT uCommand, + DWORD dwData, + POINT ptMouse, + IDispatch *pDispatchObjectHit); + + END_INTERFACE +} IDocHostShowUIVtbl; + +interface IDocHostShowUI { + CONST_VTBL IDocHostShowUIVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDocHostShowUI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDocHostShowUI_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDocHostShowUI_Release(This) (This)->lpVtbl->Release(This) +/*** IDocHostShowUI methods ***/ +#define IDocHostShowUI_ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult) (This)->lpVtbl->ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult) +#define IDocHostShowUI_ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit) (This)->lpVtbl->ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDocHostShowUI_QueryInterface(IDocHostShowUI* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDocHostShowUI_AddRef(IDocHostShowUI* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDocHostShowUI_Release(IDocHostShowUI* This) { + return This->lpVtbl->Release(This); +} +/*** IDocHostShowUI methods ***/ +static FORCEINLINE HRESULT IDocHostShowUI_ShowMessage(IDocHostShowUI* This,HWND hwnd,LPOLESTR lpstrText,LPOLESTR lpstrCaption,DWORD dwType,LPOLESTR lpstrHelpFile,DWORD dwHelpContext,LRESULT *plResult) { + return This->lpVtbl->ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult); +} +static FORCEINLINE HRESULT IDocHostShowUI_ShowHelp(IDocHostShowUI* This,HWND hwnd,LPOLESTR pszHelpFile,UINT uCommand,DWORD dwData,POINT ptMouse,IDispatch *pDispatchObjectHit) { + return This->lpVtbl->ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit); +} +#endif +#endif + +#endif + + +#endif /* __IDocHostShowUI_INTERFACE_DEFINED__ */ + +#define IClassFactory3 IClassFactoryEx +#define IID_IClassFactory3 IID_IClassFactoryEx +/***************************************************************************** + * IClassFactoryEx interface + */ +#ifndef __IClassFactoryEx_INTERFACE_DEFINED__ +#define __IClassFactoryEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IClassFactoryEx, 0x342d1ea0, 0xae25, 0x11d1, 0x89,0xc5, 0x00,0x60,0x08,0xc3,0xfb,0xfc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("342d1ea0-ae25-11d1-89c5-006008c3fbfc") +IClassFactoryEx : public IClassFactory +{ + virtual HRESULT STDMETHODCALLTYPE CreateInstanceWithContext( + IUnknown *punkContext, + IUnknown *punkOuter, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IClassFactoryEx, 0x342d1ea0, 0xae25, 0x11d1, 0x89,0xc5, 0x00,0x60,0x08,0xc3,0xfb,0xfc) +#endif +#else +typedef struct IClassFactoryExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IClassFactoryEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IClassFactoryEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IClassFactoryEx *This); + + /*** IClassFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IClassFactoryEx *This, + IUnknown *pUnkOuter, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *LockServer)( + IClassFactoryEx *This, + BOOL fLock); + + /*** IClassFactoryEx methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateInstanceWithContext)( + IClassFactoryEx *This, + IUnknown *punkContext, + IUnknown *punkOuter, + REFIID riid, + void **ppv); + + END_INTERFACE +} IClassFactoryExVtbl; + +interface IClassFactoryEx { + CONST_VTBL IClassFactoryExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IClassFactoryEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IClassFactoryEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IClassFactoryEx_Release(This) (This)->lpVtbl->Release(This) +/*** IClassFactory methods ***/ +#define IClassFactoryEx_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject) +#define IClassFactoryEx_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock) +/*** IClassFactoryEx methods ***/ +#define IClassFactoryEx_CreateInstanceWithContext(This,punkContext,punkOuter,riid,ppv) (This)->lpVtbl->CreateInstanceWithContext(This,punkContext,punkOuter,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IClassFactoryEx_QueryInterface(IClassFactoryEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IClassFactoryEx_AddRef(IClassFactoryEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IClassFactoryEx_Release(IClassFactoryEx* This) { + return This->lpVtbl->Release(This); +} +/*** IClassFactory methods ***/ +static FORCEINLINE HRESULT IClassFactoryEx_CreateInstance(IClassFactoryEx* This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject) { + return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject); +} +static FORCEINLINE HRESULT IClassFactoryEx_LockServer(IClassFactoryEx* This,BOOL fLock) { + return This->lpVtbl->LockServer(This,fLock); +} +/*** IClassFactoryEx methods ***/ +static FORCEINLINE HRESULT IClassFactoryEx_CreateInstanceWithContext(IClassFactoryEx* This,IUnknown *punkContext,IUnknown *punkOuter,REFIID riid,void **ppv) { + return This->lpVtbl->CreateInstanceWithContext(This,punkContext,punkOuter,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IClassFactoryEx_INTERFACE_DEFINED__ */ + +typedef HRESULT WINAPI SHOWHTMLDIALOGFN(HWND,IMoniker*,VARIANT*,WCHAR*,VARIANT*); +typedef HRESULT WINAPI SHOWHTMLDIALOGEXFN(HWND,IMoniker*,DWORD,VARIANT*,WCHAR*,VARIANT*); +typedef HRESULT WINAPI SHOWMODELESSHTMLDIALOGFN(HWND,IMoniker*,VARIANT*,VARIANT*,IHTMLWindow2**); +EXTERN_C HRESULT WINAPI ShowHTMLDialog(HWND,IMoniker*,VARIANT*,WCHAR*,VARIANT*); +EXTERN_C HRESULT WINAPI ShowHTMLDialogEx(HWND,IMoniker*,DWORD,VARIANT*,WCHAR*,VARIANT*); +EXTERN_C HRESULT WINAPI ShowModelessHTMLDialog(HWND,IMoniker*,VARIANT*,VARIANT*,IHTMLWindow2**); +EXTERN_C HRESULT WINAPI RunHTMLApplication(HINSTANCE,HINSTANCE,LPSTR,int); +EXTERN_C HRESULT WINAPI CreateHTMLPropertyPage(IMoniker*,IPropertyPage**); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mshtmhst_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmhst.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmhst.idl new file mode 100644 index 0000000..81b16ed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtmhst.idl @@ -0,0 +1,308 @@ +/* + * Copyright 2005 Jacek Caban + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; +import "objidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +import "docobj.idl"; + +cpp_quote("#define CONTEXT_MENU_DEFAULT 0") +cpp_quote("#define CONTEXT_MENU_IMAGE 1") +cpp_quote("#define CONTEXT_MENU_CONTROL 2") +cpp_quote("#define CONTEXT_MENU_TABLE 3") +cpp_quote("#define CONTEXT_MENU_TEXTSELECT 4") +cpp_quote("#define CONTEXT_MENU_ANCHOR 5") +cpp_quote("#define CONTEXT_MENU_UNKNOWN 6") +cpp_quote("#define CONTEXT_MENU_IMGDYNSRC 7") +cpp_quote("#define CONTEXT_MENU_IMGART 8") +cpp_quote("#define CONTEXT_MENU_DEBUG 9") +cpp_quote("#define CONTEXT_MENU_VSCROLL 10") +cpp_quote("#define CONTEXT_MENU_HSCROLL 11") + +cpp_quote("#define MENUEXT_SHOWDIALOG 1") + +cpp_quote("#define DOCHOSTUIFLAG_BROWSER (DOCHOSTUIFLAG_DISABLE_HELP_MENU|DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE)") + +cpp_quote("#define HTMLDLG_NOUI 0x0010") +cpp_quote("#define HTMLDLG_MODAL 0x0020") +cpp_quote("#define HTMLDLG_MODELESS 0x0040") +cpp_quote("#define HTMLDLG_PRINT_TEMPLATE 0x0080") +cpp_quote("#define HTMLDLG_VERIFY 0x0100") + +cpp_quote("#define PRINT_DONTBOTHERUSER 0x0001") +cpp_quote("#define PRINT_WAITFORCOMPLETION 0x0002") + +cpp_quote("DEFINE_GUID(CGID_MSHTML, 0xde4ba900,0x59ca,0x11cf,0x95,0x92,0x44,0x45,0x53,0x54,0x00,0x00);") +cpp_quote("#define CMDSETID_Forms3 CGID_MSHTML") + +cpp_quote("#if defined(__GNUC__)") +cpp_quote("#define SZ_HTML_CLIENTSITE_OBJECTPARAM (const WCHAR[]) {'{','d','4','d','b','6','8','5','0','-','5','3','8','5','-','1','1','d','0','-','8','9','e','9','-','0','0','a','0','c','9','0','a','9','0','a','c','}',0}") +cpp_quote("#elif defined(_MSC_VER)") +cpp_quote("#define SZ_HTML_CLIENTSITE_OBJECTPARAM L\"{d4db6850-5385-11d0-89e9-00a0c90a90ac}\"") +cpp_quote("#else") +cpp_quote("static const WCHAR SZ_HTML_CLIENTSITE_OBJECTPARAM[] = {'{','d','4','d','b','6','8','5','0','-','5','3','8','5','-','1','1','d','0','-','8','9','e','9','-','0','0','a','0','c','9','0','a','9','0','a','c','}',0};") +cpp_quote("#endif") + +cpp_quote("#ifndef __IHTMLWindow2_FWD_DEFINED__") +cpp_quote("#define __IHTMLWindow2_FWD_DEFINED__") +cpp_quote("typedef interface IHTMLWindow2 IHTMLWindow2;") +cpp_quote("#endif") + +/***************************************************************************** + * IHostDialogHelper interface + */ +[ + object, + uuid(53DEC138-A51E-11d2-861E-00C04FA35C89), + pointer_default(unique), + local +] +interface IHostDialogHelper : IUnknown +{ + HRESULT ShowHTMLDialog( + HWND hwndParent, + IMoniker *pMk, + VARIANT *pvarArgIn, + WCHAR *pchOptions, + VARIANT *pvarArgOut, + IUnknown *punkHost); +} + +/***************************************************************************** + * HostDialogHelper coclass + */ +[ + uuid(429AF92C-A51F-11d2-861E-00C04FA35C89) +] +coclass HostDialogHelper +{ + [default] interface IHostDialogHelper; +} + +/***************************************************************************** + * IDocHostUIHandler interface + */ + +typedef enum tagDOCHOSTUITYPE { + DOCHOSTUITYPE_BROWSE = 0, + DOCHOSTUITYPE_AUTHOR = 1 +} DOCHOSTUITYPE; + +typedef enum tagDOCHOSTUIDBLCLK +{ + DOCHOSTUIDBLCLK_DEFAULT = 0, + DOCHOSTUIDBLCLK_SHOWPROPERTIES = 1, + DOCHOSTUIDBLCLK_SHOWCODE = 2 +} DOCHOSTUIDBLCLK; + +typedef enum tagDOCHOSTUIFLAG +{ + DOCHOSTUIFLAG_DIALOG = 0x00000001, + DOCHOSTUIFLAG_DISABLE_HELP_MENU = 0x00000002, + DOCHOSTUIFLAG_NO3DBORDER = 0x00000004, + DOCHOSTUIFLAG_SCROLL_NO = 0x00000008, + DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 0x00000010, + DOCHOSTUIFLAG_OPENNEWWIN = 0x00000020, + DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 0x00000040, + DOCHOSTUIFLAG_FLAT_SCROLLBAR = 0x00000080, + DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 0x00000100, + DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 0x00000200, + DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY = 0x00000400, + DOCHOSTUIFLAG_CODEPAGELINKEDFONTS = 0x00000800, + DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8 = 0x00001000, + DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 = 0x00002000, + DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE = 0x00004000, + DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION = 0x00010000, + DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION = 0x00020000, + DOCHOSTUIFLAG_THEME = 0x00040000, + DOCHOSTUIFLAG_NOTHEME = 0x00080000, + DOCHOSTUIFLAG_NOPICS = 0x00100000, + DOCHOSTUIFLAG_NO3DOUTERBORDER = 0x00200000, + DOCHOSTUIFLAG_DISABLE_EDIT_NS_FIXUP = 0x00400000, + DOCHOSTUIFLAG_LOCAL_MACHINE_ACCESS_CHECK = 0x00800000, + DOCHOSTUIFLAG_DISABLE_UNTRUSTEDPROTOCOL = 0x01000000, + DOCHOSTUIFLAG_HOST_NAVIGATES = 0x02000000, + DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION = 0x04000000, + DOCHOSTUIFLAG_USE_WINDOWLESS_SELECTCONTROL = 0x08000000, + DOCHOSTUIFLAG_USE_WINDOWED_SELECTCONTROL = 0x10000000, + DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE = 0x20000000, + DOCHOSTUIFLAG_DPI_AWARE = 0x40000000 +} DOCHOSTUIFLAG; + +[ + object, + uuid(BD3F23C0-D43E-11CF-893B-00AA00BDCE1A), + pointer_default(unique), + local +] +interface IDocHostUIHandler : IUnknown +{ + typedef struct _DOCHOSTUIINFO + { + ULONG cbSize; + DWORD dwFlags; + DWORD dwDoubleClick; + OLECHAR *pchHostCss; + OLECHAR *pchHostNS; + } DOCHOSTUIINFO; + + HRESULT ShowContextMenu( + [in] DWORD dwID, + [in] POINT *ppt, + [in] IUnknown *pcmdtReserved, + [in] IDispatch *pdispReserved); + + HRESULT GetHostInfo([in, out] DOCHOSTUIINFO *pInfo); + + HRESULT ShowUI( + [in] DWORD dwID, + [in] IOleInPlaceActiveObject *pActiveObject, + [in] IOleCommandTarget *pCommandTarget, + [in] IOleInPlaceFrame *pFrame, + [in] IOleInPlaceUIWindow *pDoc); + + HRESULT HideUI(); + + HRESULT UpdateUI(); + + HRESULT EnableModeless([in] BOOL fEnable); + + HRESULT OnDocWindowActivate([in] BOOL fActivate); + + HRESULT OnFrameWindowActivate([in] BOOL fActivate); + + HRESULT ResizeBorder( + [in] LPCRECT prcBorder, + [in] IOleInPlaceUIWindow *pUIWindow, + [in] BOOL fRameWindow); + + HRESULT TranslateAccelerator( + [in] LPMSG lpMsg, + [in] const GUID *pguidCmdGroup, + [in] DWORD nCmdID); + + HRESULT GetOptionKeyPath( + [out] LPOLESTR *pchKey, + [in] DWORD dw); + + HRESULT GetDropTarget( + [in] IDropTarget *pDropTarget, + [out] IDropTarget **ppDropTarget); + + HRESULT GetExternal([out] IDispatch **ppDispatch); + + HRESULT TranslateUrl( + [in] DWORD dwTranslate, + [in] OLECHAR *pchURLIn, + [out] OLECHAR **ppchURLOut); + + HRESULT FilterDataObject( + [in] IDataObject *pDO, + [out] IDataObject **ppDORet); +} + +cpp_quote("DEFINE_GUID(CGID_DocHostCommandHandler,0xf38bc242,0xb950,0x11d1,0x89,0x18,0x00,0xc0,0x4f,0xc2,0xc8,0x36);") + +[ + object, + uuid(3050F6D0-98b5-11CF-BB82-00AA00BDCE0B), + pointer_default(unique), + local +] +interface IDocHostUIHandler2 : IDocHostUIHandler +{ + HRESULT GetOverrideKeyPath( + [out] LPOLESTR *pchKey, + [in] DWORD dw); +} + +/***************************************************************************** + * ICustomDoc interface + */ +[ + object, + uuid(3050f3f0-98b5-11cf-bb82-00aa00bdce0b), + pointer_default(unique), + local +] +interface ICustomDoc : IUnknown +{ + HRESULT SetUIHandler([in] IDocHostUIHandler *pUIHandler); +} + +/***************************************************************************** + * IDocHostShowUI interface + */ +[ + object, + uuid(c4d244b0-d43e-11cf-893b-00aa00bdce1a), + pointer_default(unique), + local +] +interface IDocHostShowUI : IUnknown +{ + HRESULT ShowMessage( + [in] HWND hwnd, + [in] LPOLESTR lpstrText, + [in] LPOLESTR lpstrCaption, + [in] DWORD dwType, + [in] LPOLESTR lpstrHelpFile, + [in] DWORD dwHelpContext, + [out] LRESULT *plResult); + + HRESULT ShowHelp( + [in] HWND hwnd, + [in] LPOLESTR pszHelpFile, + [in] UINT uCommand, + [in] DWORD dwData, + [in] POINT ptMouse, + [out] IDispatch *pDispatchObjectHit); +} + +/***************************************************************************** + * IClassFactoryEx interface + */ + +cpp_quote("#define IClassFactory3 IClassFactoryEx") +cpp_quote("#define IID_IClassFactory3 IID_IClassFactoryEx") + +[ + object, + uuid(342D1EA0-AE25-11D1-89C5-006008C3FBFC), + pointer_default(unique), + local +] +interface IClassFactoryEx : IClassFactory +{ + HRESULT CreateInstanceWithContext( + IUnknown *punkContext, + IUnknown *punkOuter, + REFIID riid, + [out] void **ppv); +} + +cpp_quote("typedef HRESULT WINAPI SHOWHTMLDIALOGFN(HWND,IMoniker*,VARIANT*,WCHAR*,VARIANT*);") +cpp_quote("typedef HRESULT WINAPI SHOWHTMLDIALOGEXFN(HWND,IMoniker*,DWORD,VARIANT*,WCHAR*,VARIANT*);") +cpp_quote("typedef HRESULT WINAPI SHOWMODELESSHTMLDIALOGFN(HWND,IMoniker*,VARIANT*,VARIANT*,IHTMLWindow2**);") + +cpp_quote("EXTERN_C HRESULT WINAPI ShowHTMLDialog(HWND,IMoniker*,VARIANT*,WCHAR*,VARIANT*);") +cpp_quote("EXTERN_C HRESULT WINAPI ShowHTMLDialogEx(HWND,IMoniker*,DWORD,VARIANT*,WCHAR*,VARIANT*);") +cpp_quote("EXTERN_C HRESULT WINAPI ShowModelessHTMLDialog(HWND,IMoniker*,VARIANT*,VARIANT*,IHTMLWindow2**);") +cpp_quote("EXTERN_C HRESULT WINAPI RunHTMLApplication(HINSTANCE,HINSTANCE,LPSTR,int);") +cpp_quote("EXTERN_C HRESULT WINAPI CreateHTMLPropertyPage(IMoniker*,IPropertyPage**);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtml.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtml.h new file mode 100644 index 0000000..751a29d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtml.h @@ -0,0 +1,57860 @@ +/*** Autogenerated by WIDL 2.18 from mshtml.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mshtml_h__ +#define __mshtml_h__ + +/* Forward declarations */ + +#ifndef __IHTMLDOMConstructor_FWD_DEFINED__ +#define __IHTMLDOMConstructor_FWD_DEFINED__ +typedef interface IHTMLDOMConstructor IHTMLDOMConstructor; +#ifdef __cplusplus +interface IHTMLDOMConstructor; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLFiltersCollection_FWD_DEFINED__ +#define __IHTMLFiltersCollection_FWD_DEFINED__ +typedef interface IHTMLFiltersCollection IHTMLFiltersCollection; +#ifdef __cplusplus +interface IHTMLFiltersCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyle_FWD_DEFINED__ +#define __IHTMLStyle_FWD_DEFINED__ +typedef interface IHTMLStyle IHTMLStyle; +#ifdef __cplusplus +interface IHTMLStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyle2_FWD_DEFINED__ +#define __IHTMLStyle2_FWD_DEFINED__ +typedef interface IHTMLStyle2 IHTMLStyle2; +#ifdef __cplusplus +interface IHTMLStyle2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLRuleStyle_FWD_DEFINED__ +#define __IHTMLRuleStyle_FWD_DEFINED__ +typedef interface IHTMLRuleStyle IHTMLRuleStyle; +#ifdef __cplusplus +interface IHTMLRuleStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyle_FWD_DEFINED__ +#define __DispHTMLStyle_FWD_DEFINED__ +typedef interface DispHTMLStyle DispHTMLStyle; +#ifdef __cplusplus +interface DispHTMLStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyle3_FWD_DEFINED__ +#define __IHTMLStyle3_FWD_DEFINED__ +typedef interface IHTMLStyle3 IHTMLStyle3; +#ifdef __cplusplus +interface IHTMLStyle3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyle4_FWD_DEFINED__ +#define __IHTMLStyle4_FWD_DEFINED__ +typedef interface IHTMLStyle4 IHTMLStyle4; +#ifdef __cplusplus +interface IHTMLStyle4; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyle5_FWD_DEFINED__ +#define __IHTMLStyle5_FWD_DEFINED__ +typedef interface IHTMLStyle5 IHTMLStyle5; +#ifdef __cplusplus +interface IHTMLStyle5; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyle6_FWD_DEFINED__ +#define __IHTMLStyle6_FWD_DEFINED__ +typedef interface IHTMLStyle6 IHTMLStyle6; +#ifdef __cplusplus +interface IHTMLStyle6; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyle_FWD_DEFINED__ +#define __HTMLStyle_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyle HTMLStyle; +#else +typedef struct HTMLStyle HTMLStyle; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyle_FWD_DEFINED__ */ + +#ifndef __IHTMLRenderStyle_FWD_DEFINED__ +#define __IHTMLRenderStyle_FWD_DEFINED__ +typedef interface IHTMLRenderStyle IHTMLRenderStyle; +#ifdef __cplusplus +interface IHTMLRenderStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLCurrentStyle_FWD_DEFINED__ +#define __IHTMLCurrentStyle_FWD_DEFINED__ +typedef interface IHTMLCurrentStyle IHTMLCurrentStyle; +#ifdef __cplusplus +interface IHTMLCurrentStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLCurrentStyle2_FWD_DEFINED__ +#define __IHTMLCurrentStyle2_FWD_DEFINED__ +typedef interface IHTMLCurrentStyle2 IHTMLCurrentStyle2; +#ifdef __cplusplus +interface IHTMLCurrentStyle2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLCurrentStyle3_FWD_DEFINED__ +#define __IHTMLCurrentStyle3_FWD_DEFINED__ +typedef interface IHTMLCurrentStyle3 IHTMLCurrentStyle3; +#ifdef __cplusplus +interface IHTMLCurrentStyle3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLCurrentStyle4_FWD_DEFINED__ +#define __IHTMLCurrentStyle4_FWD_DEFINED__ +typedef interface IHTMLCurrentStyle4 IHTMLCurrentStyle4; +#ifdef __cplusplus +interface IHTMLCurrentStyle4; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLCurrentStyle_FWD_DEFINED__ +#define __DispHTMLCurrentStyle_FWD_DEFINED__ +typedef interface DispHTMLCurrentStyle DispHTMLCurrentStyle; +#ifdef __cplusplus +interface DispHTMLCurrentStyle; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLCurrentStyle_FWD_DEFINED__ +#define __HTMLCurrentStyle_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLCurrentStyle HTMLCurrentStyle; +#else +typedef struct HTMLCurrentStyle HTMLCurrentStyle; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLCurrentStyle_FWD_DEFINED__ */ + +#ifndef __IHTMLRect_FWD_DEFINED__ +#define __IHTMLRect_FWD_DEFINED__ +typedef interface IHTMLRect IHTMLRect; +#ifdef __cplusplus +interface IHTMLRect; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLRectCollection_FWD_DEFINED__ +#define __IHTMLRectCollection_FWD_DEFINED__ +typedef interface IHTMLRectCollection IHTMLRectCollection; +#ifdef __cplusplus +interface IHTMLRectCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMNode_FWD_DEFINED__ +#define __IHTMLDOMNode_FWD_DEFINED__ +typedef interface IHTMLDOMNode IHTMLDOMNode; +#ifdef __cplusplus +interface IHTMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMNode2_FWD_DEFINED__ +#define __IHTMLDOMNode2_FWD_DEFINED__ +typedef interface IHTMLDOMNode2 IHTMLDOMNode2; +#ifdef __cplusplus +interface IHTMLDOMNode2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMNode3_FWD_DEFINED__ +#define __IHTMLDOMNode3_FWD_DEFINED__ +typedef interface IHTMLDOMNode3 IHTMLDOMNode3; +#ifdef __cplusplus +interface IHTMLDOMNode3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMAttribute_FWD_DEFINED__ +#define __IHTMLDOMAttribute_FWD_DEFINED__ +typedef interface IHTMLDOMAttribute IHTMLDOMAttribute; +#ifdef __cplusplus +interface IHTMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMAttribute2_FWD_DEFINED__ +#define __IHTMLDOMAttribute2_FWD_DEFINED__ +typedef interface IHTMLDOMAttribute2 IHTMLDOMAttribute2; +#ifdef __cplusplus +interface IHTMLDOMAttribute2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMTextNode_FWD_DEFINED__ +#define __IHTMLDOMTextNode_FWD_DEFINED__ +typedef interface IHTMLDOMTextNode IHTMLDOMTextNode; +#ifdef __cplusplus +interface IHTMLDOMTextNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMTextNode2_FWD_DEFINED__ +#define __IHTMLDOMTextNode2_FWD_DEFINED__ +typedef interface IHTMLDOMTextNode2 IHTMLDOMTextNode2; +#ifdef __cplusplus +interface IHTMLDOMTextNode2; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLDOMTextNode_FWD_DEFINED__ +#define __HTMLDOMTextNode_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLDOMTextNode HTMLDOMTextNode; +#else +typedef struct HTMLDOMTextNode HTMLDOMTextNode; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLDOMTextNode_FWD_DEFINED__ */ + +#ifndef __IHTMLDOMImplementation_FWD_DEFINED__ +#define __IHTMLDOMImplementation_FWD_DEFINED__ +typedef interface IHTMLDOMImplementation IHTMLDOMImplementation; +#ifdef __cplusplus +interface IHTMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLDOMAttribute_FWD_DEFINED__ +#define __DispHTMLDOMAttribute_FWD_DEFINED__ +typedef interface DispHTMLDOMAttribute DispHTMLDOMAttribute; +#ifdef __cplusplus +interface DispHTMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocumentCompatibleInfo_FWD_DEFINED__ +#define __IHTMLDocumentCompatibleInfo_FWD_DEFINED__ +typedef interface IHTMLDocumentCompatibleInfo IHTMLDocumentCompatibleInfo; +#ifdef __cplusplus +interface IHTMLDocumentCompatibleInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocumentCompatibleInfoCollection_FWD_DEFINED__ +#define __IHTMLDocumentCompatibleInfoCollection_FWD_DEFINED__ +typedef interface IHTMLDocumentCompatibleInfoCollection IHTMLDocumentCompatibleInfoCollection; +#ifdef __cplusplus +interface IHTMLDocumentCompatibleInfoCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLDOMTextNode_FWD_DEFINED__ +#define __DispHTMLDOMTextNode_FWD_DEFINED__ +typedef interface DispHTMLDOMTextNode DispHTMLDOMTextNode; +#ifdef __cplusplus +interface DispHTMLDOMTextNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLAttributeCollection_FWD_DEFINED__ +#define __IHTMLAttributeCollection_FWD_DEFINED__ +typedef interface IHTMLAttributeCollection IHTMLAttributeCollection; +#ifdef __cplusplus +interface IHTMLAttributeCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLAttributeCollection2_FWD_DEFINED__ +#define __IHTMLAttributeCollection2_FWD_DEFINED__ +typedef interface IHTMLAttributeCollection2 IHTMLAttributeCollection2; +#ifdef __cplusplus +interface IHTMLAttributeCollection2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLAttributeCollection3_FWD_DEFINED__ +#define __IHTMLAttributeCollection3_FWD_DEFINED__ +typedef interface IHTMLAttributeCollection3 IHTMLAttributeCollection3; +#ifdef __cplusplus +interface IHTMLAttributeCollection3; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLAttributeCollection_FWD_DEFINED__ +#define __DispHTMLAttributeCollection_FWD_DEFINED__ +typedef interface DispHTMLAttributeCollection DispHTMLAttributeCollection; +#ifdef __cplusplus +interface DispHTMLAttributeCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMChildrenCollection_FWD_DEFINED__ +#define __IHTMLDOMChildrenCollection_FWD_DEFINED__ +typedef interface IHTMLDOMChildrenCollection IHTMLDOMChildrenCollection; +#ifdef __cplusplus +interface IHTMLDOMChildrenCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispDOMChildrenCollection_FWD_DEFINED__ +#define __DispDOMChildrenCollection_FWD_DEFINED__ +typedef interface DispDOMChildrenCollection DispDOMChildrenCollection; +#ifdef __cplusplus +interface DispDOMChildrenCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLElement_FWD_DEFINED__ +#define __IHTMLElement_FWD_DEFINED__ +typedef interface IHTMLElement IHTMLElement; +#ifdef __cplusplus +interface IHTMLElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLElement2_FWD_DEFINED__ +#define __IHTMLElement2_FWD_DEFINED__ +typedef interface IHTMLElement2 IHTMLElement2; +#ifdef __cplusplus +interface IHTMLElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLElement3_FWD_DEFINED__ +#define __IHTMLElement3_FWD_DEFINED__ +typedef interface IHTMLElement3 IHTMLElement3; +#ifdef __cplusplus +interface IHTMLElement3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLElement4_FWD_DEFINED__ +#define __IHTMLElement4_FWD_DEFINED__ +typedef interface IHTMLElement4 IHTMLElement4; +#ifdef __cplusplus +interface IHTMLElement4; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLElement6_FWD_DEFINED__ +#define __IHTMLElement6_FWD_DEFINED__ +typedef interface IHTMLElement6 IHTMLElement6; +#ifdef __cplusplus +interface IHTMLElement6; +#endif /* __cplusplus */ +#endif + +#ifndef __IElementTraversal_FWD_DEFINED__ +#define __IElementTraversal_FWD_DEFINED__ +typedef interface IElementTraversal IElementTraversal; +#ifdef __cplusplus +interface IElementTraversal; +#endif /* __cplusplus */ +#endif + +#ifndef __IElementSelector_FWD_DEFINED__ +#define __IElementSelector_FWD_DEFINED__ +typedef interface IElementSelector IElementSelector; +#ifdef __cplusplus +interface IElementSelector; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLUniqueName_FWD_DEFINED__ +#define __IHTMLUniqueName_FWD_DEFINED__ +typedef interface IHTMLUniqueName IHTMLUniqueName; +#ifdef __cplusplus +interface IHTMLUniqueName; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDatabinding_FWD_DEFINED__ +#define __IHTMLDatabinding_FWD_DEFINED__ +typedef interface IHTMLDatabinding IHTMLDatabinding; +#ifdef __cplusplus +interface IHTMLDatabinding; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLGenericElement_FWD_DEFINED__ +#define __IHTMLGenericElement_FWD_DEFINED__ +typedef interface IHTMLGenericElement IHTMLGenericElement; +#ifdef __cplusplus +interface IHTMLGenericElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLGenericElement_FWD_DEFINED__ +#define __DispHTMLGenericElement_FWD_DEFINED__ +typedef interface DispHTMLGenericElement DispHTMLGenericElement; +#ifdef __cplusplus +interface DispHTMLGenericElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLGenericElement_FWD_DEFINED__ +#define __HTMLGenericElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLGenericElement HTMLGenericElement; +#else +typedef struct HTMLGenericElement HTMLGenericElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLGenericElement_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleSheetRule_FWD_DEFINED__ +#define __IHTMLStyleSheetRule_FWD_DEFINED__ +typedef interface IHTMLStyleSheetRule IHTMLStyleSheetRule; +#ifdef __cplusplus +interface IHTMLStyleSheetRule; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleSheetRule_FWD_DEFINED__ +#define __DispHTMLStyleSheetRule_FWD_DEFINED__ +typedef interface DispHTMLStyleSheetRule DispHTMLStyleSheetRule; +#ifdef __cplusplus +interface DispHTMLStyleSheetRule; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleSheetRule_FWD_DEFINED__ +#define __HTMLStyleSheetRule_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleSheetRule HTMLStyleSheetRule; +#else +typedef struct HTMLStyleSheetRule HTMLStyleSheetRule; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleSheetRule_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleSheetRulesCollection_FWD_DEFINED__ +#define __IHTMLStyleSheetRulesCollection_FWD_DEFINED__ +typedef interface IHTMLStyleSheetRulesCollection IHTMLStyleSheetRulesCollection; +#ifdef __cplusplus +interface IHTMLStyleSheetRulesCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleSheetRulesCollection_FWD_DEFINED__ +#define __DispHTMLStyleSheetRulesCollection_FWD_DEFINED__ +typedef interface DispHTMLStyleSheetRulesCollection DispHTMLStyleSheetRulesCollection; +#ifdef __cplusplus +interface DispHTMLStyleSheetRulesCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleSheetRulesCollection_FWD_DEFINED__ +#define __HTMLStyleSheetRulesCollection_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleSheetRulesCollection HTMLStyleSheetRulesCollection; +#else +typedef struct HTMLStyleSheetRulesCollection HTMLStyleSheetRulesCollection; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleSheetRulesCollection_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleSheetPage_FWD_DEFINED__ +#define __IHTMLStyleSheetPage_FWD_DEFINED__ +typedef interface IHTMLStyleSheetPage IHTMLStyleSheetPage; +#ifdef __cplusplus +interface IHTMLStyleSheetPage; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleSheetPage_FWD_DEFINED__ +#define __DispHTMLStyleSheetPage_FWD_DEFINED__ +typedef interface DispHTMLStyleSheetPage DispHTMLStyleSheetPage; +#ifdef __cplusplus +interface DispHTMLStyleSheetPage; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleSheetPage_FWD_DEFINED__ +#define __HTMLStyleSheetPage_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleSheetPage HTMLStyleSheetPage; +#else +typedef struct HTMLStyleSheetPage HTMLStyleSheetPage; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleSheetPage_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleSheetPagesCollection_FWD_DEFINED__ +#define __IHTMLStyleSheetPagesCollection_FWD_DEFINED__ +typedef interface IHTMLStyleSheetPagesCollection IHTMLStyleSheetPagesCollection; +#ifdef __cplusplus +interface IHTMLStyleSheetPagesCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleSheetPagesCollection_FWD_DEFINED__ +#define __DispHTMLStyleSheetPagesCollection_FWD_DEFINED__ +typedef interface DispHTMLStyleSheetPagesCollection DispHTMLStyleSheetPagesCollection; +#ifdef __cplusplus +interface DispHTMLStyleSheetPagesCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleSheetPagesCollection_FWD_DEFINED__ +#define __HTMLStyleSheetPagesCollection_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleSheetPagesCollection HTMLStyleSheetPagesCollection; +#else +typedef struct HTMLStyleSheetPagesCollection HTMLStyleSheetPagesCollection; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleSheetPagesCollection_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleSheet_FWD_DEFINED__ +#define __IHTMLStyleSheet_FWD_DEFINED__ +typedef interface IHTMLStyleSheet IHTMLStyleSheet; +#ifdef __cplusplus +interface IHTMLStyleSheet; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyleSheet2_FWD_DEFINED__ +#define __IHTMLStyleSheet2_FWD_DEFINED__ +typedef interface IHTMLStyleSheet2 IHTMLStyleSheet2; +#ifdef __cplusplus +interface IHTMLStyleSheet2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleSheet_FWD_DEFINED__ +#define __DispHTMLStyleSheet_FWD_DEFINED__ +typedef interface DispHTMLStyleSheet DispHTMLStyleSheet; +#ifdef __cplusplus +interface DispHTMLStyleSheet; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleSheet_FWD_DEFINED__ +#define __HTMLStyleSheet_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleSheet HTMLStyleSheet; +#else +typedef struct HTMLStyleSheet HTMLStyleSheet; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleSheet_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleSheetsCollection_FWD_DEFINED__ +#define __IHTMLStyleSheetsCollection_FWD_DEFINED__ +typedef interface IHTMLStyleSheetsCollection IHTMLStyleSheetsCollection; +#ifdef __cplusplus +interface IHTMLStyleSheetsCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleSheetsCollection_FWD_DEFINED__ +#define __DispHTMLStyleSheetsCollection_FWD_DEFINED__ +typedef interface DispHTMLStyleSheetsCollection DispHTMLStyleSheetsCollection; +#ifdef __cplusplus +interface DispHTMLStyleSheetsCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLLinkElement_FWD_DEFINED__ +#define __IHTMLLinkElement_FWD_DEFINED__ +typedef interface IHTMLLinkElement IHTMLLinkElement; +#ifdef __cplusplus +interface IHTMLLinkElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLLinkElement2_FWD_DEFINED__ +#define __IHTMLLinkElement2_FWD_DEFINED__ +typedef interface IHTMLLinkElement2 IHTMLLinkElement2; +#ifdef __cplusplus +interface IHTMLLinkElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLLinkElement3_FWD_DEFINED__ +#define __IHTMLLinkElement3_FWD_DEFINED__ +typedef interface IHTMLLinkElement3 IHTMLLinkElement3; +#ifdef __cplusplus +interface IHTMLLinkElement3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLLinkElement4_FWD_DEFINED__ +#define __IHTMLLinkElement4_FWD_DEFINED__ +typedef interface IHTMLLinkElement4 IHTMLLinkElement4; +#ifdef __cplusplus +interface IHTMLLinkElement4; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLLinkElement_FWD_DEFINED__ +#define __DispHTMLLinkElement_FWD_DEFINED__ +typedef interface DispHTMLLinkElement DispHTMLLinkElement; +#ifdef __cplusplus +interface DispHTMLLinkElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLLinkElement_FWD_DEFINED__ +#define __HTMLLinkElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLLinkElement HTMLLinkElement; +#else +typedef struct HTMLLinkElement HTMLLinkElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLLinkElement_FWD_DEFINED__ */ + +#ifndef __IHTMLTxtRange_FWD_DEFINED__ +#define __IHTMLTxtRange_FWD_DEFINED__ +typedef interface IHTMLTxtRange IHTMLTxtRange; +#ifdef __cplusplus +interface IHTMLTxtRange; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMRange_FWD_DEFINED__ +#define __IHTMLDOMRange_FWD_DEFINED__ +typedef interface IHTMLDOMRange IHTMLDOMRange; +#ifdef __cplusplus +interface IHTMLDOMRange; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleSheetsCollection_FWD_DEFINED__ +#define __HTMLStyleSheetsCollection_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleSheetsCollection HTMLStyleSheetsCollection; +#else +typedef struct HTMLStyleSheetsCollection HTMLStyleSheetsCollection; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleSheetsCollection_FWD_DEFINED__ */ + +#ifndef __IHTMLFormElement_FWD_DEFINED__ +#define __IHTMLFormElement_FWD_DEFINED__ +typedef interface IHTMLFormElement IHTMLFormElement; +#ifdef __cplusplus +interface IHTMLFormElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLFormElement_FWD_DEFINED__ +#define __DispHTMLFormElement_FWD_DEFINED__ +typedef interface DispHTMLFormElement DispHTMLFormElement; +#ifdef __cplusplus +interface DispHTMLFormElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLFormElementEvents_FWD_DEFINED__ +#define __HTMLFormElementEvents_FWD_DEFINED__ +typedef interface HTMLFormElementEvents HTMLFormElementEvents; +#ifdef __cplusplus +interface HTMLFormElementEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLFormElementEvents2_FWD_DEFINED__ +#define __HTMLFormElementEvents2_FWD_DEFINED__ +typedef interface HTMLFormElementEvents2 HTMLFormElementEvents2; +#ifdef __cplusplus +interface HTMLFormElementEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLFormElement_FWD_DEFINED__ +#define __HTMLFormElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLFormElement HTMLFormElement; +#else +typedef struct HTMLFormElement HTMLFormElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLFormElement_FWD_DEFINED__ */ + +#ifndef __IHTMLTextContainer_FWD_DEFINED__ +#define __IHTMLTextContainer_FWD_DEFINED__ +typedef interface IHTMLTextContainer IHTMLTextContainer; +#ifdef __cplusplus +interface IHTMLTextContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLImgElement_FWD_DEFINED__ +#define __IHTMLImgElement_FWD_DEFINED__ +typedef interface IHTMLImgElement IHTMLImgElement; +#ifdef __cplusplus +interface IHTMLImgElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLImageElementFactory_FWD_DEFINED__ +#define __IHTMLImageElementFactory_FWD_DEFINED__ +typedef interface IHTMLImageElementFactory IHTMLImageElementFactory; +#ifdef __cplusplus +interface IHTMLImageElementFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLImg_FWD_DEFINED__ +#define __DispHTMLImg_FWD_DEFINED__ +typedef interface DispHTMLImg DispHTMLImg; +#ifdef __cplusplus +interface DispHTMLImg; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLImg_FWD_DEFINED__ +#define __HTMLImg_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLImg HTMLImg; +#else +typedef struct HTMLImg HTMLImg; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLImg_FWD_DEFINED__ */ + +#ifndef __IHTMLXMLHttpRequest_FWD_DEFINED__ +#define __IHTMLXMLHttpRequest_FWD_DEFINED__ +typedef interface IHTMLXMLHttpRequest IHTMLXMLHttpRequest; +#ifdef __cplusplus +interface IHTMLXMLHttpRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLXMLHttpRequest2_FWD_DEFINED__ +#define __IHTMLXMLHttpRequest2_FWD_DEFINED__ +typedef interface IHTMLXMLHttpRequest2 IHTMLXMLHttpRequest2; +#ifdef __cplusplus +interface IHTMLXMLHttpRequest2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLXMLHttpRequestFactory_FWD_DEFINED__ +#define __IHTMLXMLHttpRequestFactory_FWD_DEFINED__ +typedef interface IHTMLXMLHttpRequestFactory IHTMLXMLHttpRequestFactory; +#ifdef __cplusplus +interface IHTMLXMLHttpRequestFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLXMLHttpRequest_FWD_DEFINED__ +#define __DispHTMLXMLHttpRequest_FWD_DEFINED__ +typedef interface DispHTMLXMLHttpRequest DispHTMLXMLHttpRequest; +#ifdef __cplusplus +interface DispHTMLXMLHttpRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLXMLHttpRequest_FWD_DEFINED__ +#define __HTMLXMLHttpRequest_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLXMLHttpRequest HTMLXMLHttpRequest; +#else +typedef struct HTMLXMLHttpRequest HTMLXMLHttpRequest; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLXMLHttpRequest_FWD_DEFINED__ */ + +#ifndef __IHTMLControlElement_FWD_DEFINED__ +#define __IHTMLControlElement_FWD_DEFINED__ +typedef interface IHTMLControlElement IHTMLControlElement; +#ifdef __cplusplus +interface IHTMLControlElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLBodyElement_FWD_DEFINED__ +#define __IHTMLBodyElement_FWD_DEFINED__ +typedef interface IHTMLBodyElement IHTMLBodyElement; +#ifdef __cplusplus +interface IHTMLBodyElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLBodyElement2_FWD_DEFINED__ +#define __IHTMLBodyElement2_FWD_DEFINED__ +typedef interface IHTMLBodyElement2 IHTMLBodyElement2; +#ifdef __cplusplus +interface IHTMLBodyElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLBody_FWD_DEFINED__ +#define __DispHTMLBody_FWD_DEFINED__ +typedef interface DispHTMLBody DispHTMLBody; +#ifdef __cplusplus +interface DispHTMLBody; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLBody_FWD_DEFINED__ +#define __HTMLBody_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLBody HTMLBody; +#else +typedef struct HTMLBody HTMLBody; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLBody_FWD_DEFINED__ */ + +#ifndef __IHTMLAnchorElement_FWD_DEFINED__ +#define __IHTMLAnchorElement_FWD_DEFINED__ +typedef interface IHTMLAnchorElement IHTMLAnchorElement; +#ifdef __cplusplus +interface IHTMLAnchorElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLAnchorElement_FWD_DEFINED__ +#define __DispHTMLAnchorElement_FWD_DEFINED__ +typedef interface DispHTMLAnchorElement DispHTMLAnchorElement; +#ifdef __cplusplus +interface DispHTMLAnchorElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLAnchorElement_FWD_DEFINED__ +#define __HTMLAnchorElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLAnchorElement HTMLAnchorElement; +#else +typedef struct HTMLAnchorElement HTMLAnchorElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLAnchorElement_FWD_DEFINED__ */ + +#ifndef __IHTMLAreaElement_FWD_DEFINED__ +#define __IHTMLAreaElement_FWD_DEFINED__ +typedef interface IHTMLAreaElement IHTMLAreaElement; +#ifdef __cplusplus +interface IHTMLAreaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLAreaElement_FWD_DEFINED__ +#define __DispHTMLAreaElement_FWD_DEFINED__ +typedef interface DispHTMLAreaElement DispHTMLAreaElement; +#ifdef __cplusplus +interface DispHTMLAreaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLAreaElement_FWD_DEFINED__ +#define __HTMLAreaElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLAreaElement HTMLAreaElement; +#else +typedef struct HTMLAreaElement HTMLAreaElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLAreaElement_FWD_DEFINED__ */ + +#ifndef __IHTMLLabelElement_FWD_DEFINED__ +#define __IHTMLLabelElement_FWD_DEFINED__ +typedef interface IHTMLLabelElement IHTMLLabelElement; +#ifdef __cplusplus +interface IHTMLLabelElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLLabelElement2_FWD_DEFINED__ +#define __IHTMLLabelElement2_FWD_DEFINED__ +typedef interface IHTMLLabelElement2 IHTMLLabelElement2; +#ifdef __cplusplus +interface IHTMLLabelElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLLabelElement_FWD_DEFINED__ +#define __DispHTMLLabelElement_FWD_DEFINED__ +typedef interface DispHTMLLabelElement DispHTMLLabelElement; +#ifdef __cplusplus +interface DispHTMLLabelElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLLabelElement_FWD_DEFINED__ +#define __HTMLLabelElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLLabelElement HTMLLabelElement; +#else +typedef struct HTMLLabelElement HTMLLabelElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLLabelElement_FWD_DEFINED__ */ + +#ifndef __IHTMLElementCollection_FWD_DEFINED__ +#define __IHTMLElementCollection_FWD_DEFINED__ +typedef interface IHTMLElementCollection IHTMLElementCollection; +#ifdef __cplusplus +interface IHTMLElementCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLElementCollection_FWD_DEFINED__ +#define __DispHTMLElementCollection_FWD_DEFINED__ +typedef interface DispHTMLElementCollection DispHTMLElementCollection; +#ifdef __cplusplus +interface DispHTMLElementCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLSelectElement_FWD_DEFINED__ +#define __IHTMLSelectElement_FWD_DEFINED__ +typedef interface IHTMLSelectElement IHTMLSelectElement; +#ifdef __cplusplus +interface IHTMLSelectElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLSelectElement_FWD_DEFINED__ +#define __DispHTMLSelectElement_FWD_DEFINED__ +typedef interface DispHTMLSelectElement DispHTMLSelectElement; +#ifdef __cplusplus +interface DispHTMLSelectElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLSelectElement_FWD_DEFINED__ +#define __HTMLSelectElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLSelectElement HTMLSelectElement; +#else +typedef struct HTMLSelectElement HTMLSelectElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLSelectElement_FWD_DEFINED__ */ + +#ifndef __IHTMLSelectionObject_FWD_DEFINED__ +#define __IHTMLSelectionObject_FWD_DEFINED__ +typedef interface IHTMLSelectionObject IHTMLSelectionObject; +#ifdef __cplusplus +interface IHTMLSelectionObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLSelectionObject2_FWD_DEFINED__ +#define __IHTMLSelectionObject2_FWD_DEFINED__ +typedef interface IHTMLSelectionObject2 IHTMLSelectionObject2; +#ifdef __cplusplus +interface IHTMLSelectionObject2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLSelection_FWD_DEFINED__ +#define __IHTMLSelection_FWD_DEFINED__ +typedef interface IHTMLSelection IHTMLSelection; +#ifdef __cplusplus +interface IHTMLSelection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLOptionElement_FWD_DEFINED__ +#define __IHTMLOptionElement_FWD_DEFINED__ +typedef interface IHTMLOptionElement IHTMLOptionElement; +#ifdef __cplusplus +interface IHTMLOptionElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLOptionElement3_FWD_DEFINED__ +#define __IHTMLOptionElement3_FWD_DEFINED__ +typedef interface IHTMLOptionElement3 IHTMLOptionElement3; +#ifdef __cplusplus +interface IHTMLOptionElement3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLOptionElementFactory_FWD_DEFINED__ +#define __IHTMLOptionElementFactory_FWD_DEFINED__ +typedef interface IHTMLOptionElementFactory IHTMLOptionElementFactory; +#ifdef __cplusplus +interface IHTMLOptionElementFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLOptionElement_FWD_DEFINED__ +#define __DispHTMLOptionElement_FWD_DEFINED__ +typedef interface DispHTMLOptionElement DispHTMLOptionElement; +#ifdef __cplusplus +interface DispHTMLOptionElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLOptionElement_FWD_DEFINED__ +#define __HTMLOptionElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLOptionElement HTMLOptionElement; +#else +typedef struct HTMLOptionElement HTMLOptionElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLOptionElement_FWD_DEFINED__ */ + +#ifndef __IHTMLInputElement_FWD_DEFINED__ +#define __IHTMLInputElement_FWD_DEFINED__ +typedef interface IHTMLInputElement IHTMLInputElement; +#ifdef __cplusplus +interface IHTMLInputElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLInputTextElement_FWD_DEFINED__ +#define __IHTMLInputTextElement_FWD_DEFINED__ +typedef interface IHTMLInputTextElement IHTMLInputTextElement; +#ifdef __cplusplus +interface IHTMLInputTextElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLInputTextElement2_FWD_DEFINED__ +#define __IHTMLInputTextElement2_FWD_DEFINED__ +typedef interface IHTMLInputTextElement2 IHTMLInputTextElement2; +#ifdef __cplusplus +interface IHTMLInputTextElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLInputElement_FWD_DEFINED__ +#define __DispHTMLInputElement_FWD_DEFINED__ +typedef interface DispHTMLInputElement DispHTMLInputElement; +#ifdef __cplusplus +interface DispHTMLInputElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLInputElement_FWD_DEFINED__ +#define __HTMLInputElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLInputElement HTMLInputElement; +#else +typedef struct HTMLInputElement HTMLInputElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLInputElement_FWD_DEFINED__ */ + +#ifndef __IHTMLTextAreaElement_FWD_DEFINED__ +#define __IHTMLTextAreaElement_FWD_DEFINED__ +typedef interface IHTMLTextAreaElement IHTMLTextAreaElement; +#ifdef __cplusplus +interface IHTMLTextAreaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLTextAreaElement_FWD_DEFINED__ +#define __DispHTMLTextAreaElement_FWD_DEFINED__ +typedef interface DispHTMLTextAreaElement DispHTMLTextAreaElement; +#ifdef __cplusplus +interface DispHTMLTextAreaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTextAreaElement_FWD_DEFINED__ +#define __HTMLTextAreaElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLTextAreaElement HTMLTextAreaElement; +#else +typedef struct HTMLTextAreaElement HTMLTextAreaElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLTextAreaElement_FWD_DEFINED__ */ + +#ifndef __IHTMLButtonElement_FWD_DEFINED__ +#define __IHTMLButtonElement_FWD_DEFINED__ +typedef interface IHTMLButtonElement IHTMLButtonElement; +#ifdef __cplusplus +interface IHTMLButtonElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLButtonElement_FWD_DEFINED__ +#define __DispHTMLButtonElement_FWD_DEFINED__ +typedef interface DispHTMLButtonElement DispHTMLButtonElement; +#ifdef __cplusplus +interface DispHTMLButtonElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLButtonElement_FWD_DEFINED__ +#define __HTMLButtonElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLButtonElement HTMLButtonElement; +#else +typedef struct HTMLButtonElement HTMLButtonElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLButtonElement_FWD_DEFINED__ */ + +#ifndef __IHTMLHtmlElement_FWD_DEFINED__ +#define __IHTMLHtmlElement_FWD_DEFINED__ +typedef interface IHTMLHtmlElement IHTMLHtmlElement; +#ifdef __cplusplus +interface IHTMLHtmlElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLHeadElement_FWD_DEFINED__ +#define __IHTMLHeadElement_FWD_DEFINED__ +typedef interface IHTMLHeadElement IHTMLHeadElement; +#ifdef __cplusplus +interface IHTMLHeadElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLHeadElement2_FWD_DEFINED__ +#define __IHTMLHeadElement2_FWD_DEFINED__ +typedef interface IHTMLHeadElement2 IHTMLHeadElement2; +#ifdef __cplusplus +interface IHTMLHeadElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTitleElement_FWD_DEFINED__ +#define __IHTMLTitleElement_FWD_DEFINED__ +typedef interface IHTMLTitleElement IHTMLTitleElement; +#ifdef __cplusplus +interface IHTMLTitleElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLMetaElement_FWD_DEFINED__ +#define __IHTMLMetaElement_FWD_DEFINED__ +typedef interface IHTMLMetaElement IHTMLMetaElement; +#ifdef __cplusplus +interface IHTMLMetaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLMetaElement2_FWD_DEFINED__ +#define __IHTMLMetaElement2_FWD_DEFINED__ +typedef interface IHTMLMetaElement2 IHTMLMetaElement2; +#ifdef __cplusplus +interface IHTMLMetaElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLMetaElement3_FWD_DEFINED__ +#define __IHTMLMetaElement3_FWD_DEFINED__ +typedef interface IHTMLMetaElement3 IHTMLMetaElement3; +#ifdef __cplusplus +interface IHTMLMetaElement3; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLHtmlElement_FWD_DEFINED__ +#define __DispHTMLHtmlElement_FWD_DEFINED__ +typedef interface DispHTMLHtmlElement DispHTMLHtmlElement; +#ifdef __cplusplus +interface DispHTMLHtmlElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLHtmlElement_FWD_DEFINED__ +#define __HTMLHtmlElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLHtmlElement HTMLHtmlElement; +#else +typedef struct HTMLHtmlElement HTMLHtmlElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLHtmlElement_FWD_DEFINED__ */ + +#ifndef __DispHTMLHeadElement_FWD_DEFINED__ +#define __DispHTMLHeadElement_FWD_DEFINED__ +typedef interface DispHTMLHeadElement DispHTMLHeadElement; +#ifdef __cplusplus +interface DispHTMLHeadElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLHeadElement_FWD_DEFINED__ +#define __HTMLHeadElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLHeadElement HTMLHeadElement; +#else +typedef struct HTMLHeadElement HTMLHeadElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLHeadElement_FWD_DEFINED__ */ + +#ifndef __DispHTMLTitleElement_FWD_DEFINED__ +#define __DispHTMLTitleElement_FWD_DEFINED__ +typedef interface DispHTMLTitleElement DispHTMLTitleElement; +#ifdef __cplusplus +interface DispHTMLTitleElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTitleElement_FWD_DEFINED__ +#define __HTMLTitleElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLTitleElement HTMLTitleElement; +#else +typedef struct HTMLTitleElement HTMLTitleElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLTitleElement_FWD_DEFINED__ */ + +#ifndef __DispHTMLMetaElement_FWD_DEFINED__ +#define __DispHTMLMetaElement_FWD_DEFINED__ +typedef interface DispHTMLMetaElement DispHTMLMetaElement; +#ifdef __cplusplus +interface DispHTMLMetaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLMetaElement_FWD_DEFINED__ +#define __HTMLMetaElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLMetaElement HTMLMetaElement; +#else +typedef struct HTMLMetaElement HTMLMetaElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLMetaElement_FWD_DEFINED__ */ + +#ifndef __DispHTMLUnknownElement_FWD_DEFINED__ +#define __DispHTMLUnknownElement_FWD_DEFINED__ +typedef interface DispHTMLUnknownElement DispHTMLUnknownElement; +#ifdef __cplusplus +interface DispHTMLUnknownElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLUnknownElement_FWD_DEFINED__ +#define __HTMLUnknownElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLUnknownElement HTMLUnknownElement; +#else +typedef struct HTMLUnknownElement HTMLUnknownElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLUnknownElement_FWD_DEFINED__ */ + +#ifndef __IOmHistory_FWD_DEFINED__ +#define __IOmHistory_FWD_DEFINED__ +typedef interface IOmHistory IOmHistory; +#ifdef __cplusplus +interface IOmHistory; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLHistory_FWD_DEFINED__ +#define __HTMLHistory_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLHistory HTMLHistory; +#else +typedef struct HTMLHistory HTMLHistory; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLHistory_FWD_DEFINED__ */ + +#ifndef __IHTMLMimeTypesCollection_FWD_DEFINED__ +#define __IHTMLMimeTypesCollection_FWD_DEFINED__ +typedef interface IHTMLMimeTypesCollection IHTMLMimeTypesCollection; +#ifdef __cplusplus +interface IHTMLMimeTypesCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __CMimeTypes_FWD_DEFINED__ +#define __CMimeTypes_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CMimeTypes CMimeTypes; +#else +typedef struct CMimeTypes CMimeTypes; +#endif /* defined __cplusplus */ +#endif /* defined __CMimeTypes_FWD_DEFINED__ */ + +#ifndef __IHTMLPluginsCollection_FWD_DEFINED__ +#define __IHTMLPluginsCollection_FWD_DEFINED__ +typedef interface IHTMLPluginsCollection IHTMLPluginsCollection; +#ifdef __cplusplus +interface IHTMLPluginsCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DispCPlugins_FWD_DEFINED__ +#define __DispCPlugins_FWD_DEFINED__ +typedef interface DispCPlugins DispCPlugins; +#ifdef __cplusplus +interface DispCPlugins; +#endif /* __cplusplus */ +#endif + +#ifndef __CPlugins_FWD_DEFINED__ +#define __CPlugins_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CPlugins CPlugins; +#else +typedef struct CPlugins CPlugins; +#endif /* defined __cplusplus */ +#endif /* defined __CPlugins_FWD_DEFINED__ */ + +#ifndef __IHTMLOpsProfile_FWD_DEFINED__ +#define __IHTMLOpsProfile_FWD_DEFINED__ +typedef interface IHTMLOpsProfile IHTMLOpsProfile; +#ifdef __cplusplus +interface IHTMLOpsProfile; +#endif /* __cplusplus */ +#endif + +#ifndef __COpsProfile_FWD_DEFINED__ +#define __COpsProfile_FWD_DEFINED__ +#ifdef __cplusplus +typedef class COpsProfile COpsProfile; +#else +typedef struct COpsProfile COpsProfile; +#endif /* defined __cplusplus */ +#endif /* defined __COpsProfile_FWD_DEFINED__ */ + +#ifndef __IOmNavigator_FWD_DEFINED__ +#define __IOmNavigator_FWD_DEFINED__ +typedef interface IOmNavigator IOmNavigator; +#ifdef __cplusplus +interface IOmNavigator; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLNavigator_FWD_DEFINED__ +#define __DispHTMLNavigator_FWD_DEFINED__ +typedef interface DispHTMLNavigator DispHTMLNavigator; +#ifdef __cplusplus +interface DispHTMLNavigator; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLNavigator_FWD_DEFINED__ +#define __HTMLNavigator_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLNavigator HTMLNavigator; +#else +typedef struct HTMLNavigator HTMLNavigator; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLNavigator_FWD_DEFINED__ */ + +#ifndef __IHTMLLocation_FWD_DEFINED__ +#define __IHTMLLocation_FWD_DEFINED__ +typedef interface IHTMLLocation IHTMLLocation; +#ifdef __cplusplus +interface IHTMLLocation; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLHistory_FWD_DEFINED__ +#define __DispHTMLHistory_FWD_DEFINED__ +typedef interface DispHTMLHistory DispHTMLHistory; +#ifdef __cplusplus +interface DispHTMLHistory; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLLocation_FWD_DEFINED__ +#define __DispHTMLLocation_FWD_DEFINED__ +typedef interface DispHTMLLocation DispHTMLLocation; +#ifdef __cplusplus +interface DispHTMLLocation; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLLocation_FWD_DEFINED__ +#define __HTMLLocation_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLLocation HTMLLocation; +#else +typedef struct HTMLLocation HTMLLocation; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLLocation_FWD_DEFINED__ */ + +#ifndef __IHTMLBookmarkCollection_FWD_DEFINED__ +#define __IHTMLBookmarkCollection_FWD_DEFINED__ +typedef interface IHTMLBookmarkCollection IHTMLBookmarkCollection; +#ifdef __cplusplus +interface IHTMLBookmarkCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDataTransfer_FWD_DEFINED__ +#define __IHTMLDataTransfer_FWD_DEFINED__ +typedef interface IHTMLDataTransfer IHTMLDataTransfer; +#ifdef __cplusplus +interface IHTMLDataTransfer; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLEventObj_FWD_DEFINED__ +#define __IHTMLEventObj_FWD_DEFINED__ +typedef interface IHTMLEventObj IHTMLEventObj; +#ifdef __cplusplus +interface IHTMLEventObj; +#endif /* __cplusplus */ +#endif + +#ifndef __DispCEventObj_FWD_DEFINED__ +#define __DispCEventObj_FWD_DEFINED__ +typedef interface DispCEventObj DispCEventObj; +#ifdef __cplusplus +interface DispCEventObj; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLFramesCollection2_FWD_DEFINED__ +#define __IHTMLFramesCollection2_FWD_DEFINED__ +typedef interface IHTMLFramesCollection2 IHTMLFramesCollection2; +#ifdef __cplusplus +interface IHTMLFramesCollection2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLScreen_FWD_DEFINED__ +#define __IHTMLScreen_FWD_DEFINED__ +typedef interface IHTMLScreen IHTMLScreen; +#ifdef __cplusplus +interface IHTMLScreen; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLWindow2_FWD_DEFINED__ +#define __IHTMLWindow2_FWD_DEFINED__ +typedef interface IHTMLWindow2 IHTMLWindow2; +#ifdef __cplusplus +interface IHTMLWindow2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLWindow3_FWD_DEFINED__ +#define __IHTMLWindow3_FWD_DEFINED__ +typedef interface IHTMLWindow3 IHTMLWindow3; +#ifdef __cplusplus +interface IHTMLWindow3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLWindow4_FWD_DEFINED__ +#define __IHTMLWindow4_FWD_DEFINED__ +typedef interface IHTMLWindow4 IHTMLWindow4; +#ifdef __cplusplus +interface IHTMLWindow4; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLWindow5_FWD_DEFINED__ +#define __IHTMLWindow5_FWD_DEFINED__ +typedef interface IHTMLWindow5 IHTMLWindow5; +#ifdef __cplusplus +interface IHTMLWindow5; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLWindow6_FWD_DEFINED__ +#define __IHTMLWindow6_FWD_DEFINED__ +typedef interface IHTMLWindow6 IHTMLWindow6; +#ifdef __cplusplus +interface IHTMLWindow6; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLScreen_FWD_DEFINED__ +#define __DispHTMLScreen_FWD_DEFINED__ +typedef interface DispHTMLScreen DispHTMLScreen; +#ifdef __cplusplus +interface DispHTMLScreen; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLWindow2_FWD_DEFINED__ +#define __DispHTMLWindow2_FWD_DEFINED__ +typedef interface DispHTMLWindow2 DispHTMLWindow2; +#ifdef __cplusplus +interface DispHTMLWindow2; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLWindow2_FWD_DEFINED__ +#define __HTMLWindow2_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLWindow2 HTMLWindow2; +#else +typedef struct HTMLWindow2 HTMLWindow2; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLWindow2_FWD_DEFINED__ */ + +#ifndef __DispHTMLWindowProxy_FWD_DEFINED__ +#define __DispHTMLWindowProxy_FWD_DEFINED__ +typedef interface DispHTMLWindowProxy DispHTMLWindowProxy; +#ifdef __cplusplus +interface DispHTMLWindowProxy; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLWindowEvents_FWD_DEFINED__ +#define __HTMLWindowEvents_FWD_DEFINED__ +typedef interface HTMLWindowEvents HTMLWindowEvents; +#ifdef __cplusplus +interface HTMLWindowEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLWindowEvents2_FWD_DEFINED__ +#define __HTMLWindowEvents2_FWD_DEFINED__ +typedef interface HTMLWindowEvents2 HTMLWindowEvents2; +#ifdef __cplusplus +interface HTMLWindowEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLWindowProxy_FWD_DEFINED__ +#define __HTMLWindowProxy_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLWindowProxy HTMLWindowProxy; +#else +typedef struct HTMLWindowProxy HTMLWindowProxy; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLWindowProxy_FWD_DEFINED__ */ + +#ifndef __HTMLDocumentEvents2_FWD_DEFINED__ +#define __HTMLDocumentEvents2_FWD_DEFINED__ +typedef interface HTMLDocumentEvents2 HTMLDocumentEvents2; +#ifdef __cplusplus +interface HTMLDocumentEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLDocumentEvents_FWD_DEFINED__ +#define __HTMLDocumentEvents_FWD_DEFINED__ +typedef interface HTMLDocumentEvents HTMLDocumentEvents; +#ifdef __cplusplus +interface HTMLDocumentEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTextContainerEvents_FWD_DEFINED__ +#define __HTMLTextContainerEvents_FWD_DEFINED__ +typedef interface HTMLTextContainerEvents HTMLTextContainerEvents; +#ifdef __cplusplus +interface HTMLTextContainerEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTextContainerEvents2_FWD_DEFINED__ +#define __HTMLTextContainerEvents2_FWD_DEFINED__ +typedef interface HTMLTextContainerEvents2 HTMLTextContainerEvents2; +#ifdef __cplusplus +interface HTMLTextContainerEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDOMProcessingInstruction_FWD_DEFINED__ +#define __IDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IDOMProcessingInstruction IDOMProcessingInstruction; +#ifdef __cplusplus +interface IDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument_FWD_DEFINED__ +#define __IHTMLDocument_FWD_DEFINED__ +typedef interface IHTMLDocument IHTMLDocument; +#ifdef __cplusplus +interface IHTMLDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument2_FWD_DEFINED__ +#define __IHTMLDocument2_FWD_DEFINED__ +typedef interface IHTMLDocument2 IHTMLDocument2; +#ifdef __cplusplus +interface IHTMLDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument3_FWD_DEFINED__ +#define __IHTMLDocument3_FWD_DEFINED__ +typedef interface IHTMLDocument3 IHTMLDocument3; +#ifdef __cplusplus +interface IHTMLDocument3; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument4_FWD_DEFINED__ +#define __IHTMLDocument4_FWD_DEFINED__ +typedef interface IHTMLDocument4 IHTMLDocument4; +#ifdef __cplusplus +interface IHTMLDocument4; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument5_FWD_DEFINED__ +#define __IHTMLDocument5_FWD_DEFINED__ +typedef interface IHTMLDocument5 IHTMLDocument5; +#ifdef __cplusplus +interface IHTMLDocument5; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument6_FWD_DEFINED__ +#define __IHTMLDocument6_FWD_DEFINED__ +typedef interface IHTMLDocument6 IHTMLDocument6; +#ifdef __cplusplus +interface IHTMLDocument6; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument7_FWD_DEFINED__ +#define __IHTMLDocument7_FWD_DEFINED__ +typedef interface IHTMLDocument7 IHTMLDocument7; +#ifdef __cplusplus +interface IHTMLDocument7; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDocument8_FWD_DEFINED__ +#define __IHTMLDocument8_FWD_DEFINED__ +typedef interface IHTMLDocument8 IHTMLDocument8; +#ifdef __cplusplus +interface IHTMLDocument8; +#endif /* __cplusplus */ +#endif + +#ifndef __IDocumentSelector_FWD_DEFINED__ +#define __IDocumentSelector_FWD_DEFINED__ +typedef interface IDocumentSelector IDocumentSelector; +#ifdef __cplusplus +interface IDocumentSelector; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLDocument_FWD_DEFINED__ +#define __DispHTMLDocument_FWD_DEFINED__ +typedef interface DispHTMLDocument DispHTMLDocument; +#ifdef __cplusplus +interface DispHTMLDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLDocument_FWD_DEFINED__ +#define __HTMLDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLDocument HTMLDocument; +#else +typedef struct HTMLDocument HTMLDocument; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLDocument_FWD_DEFINED__ */ + +#ifndef __DWebBridgeEvents_FWD_DEFINED__ +#define __DWebBridgeEvents_FWD_DEFINED__ +typedef interface DWebBridgeEvents DWebBridgeEvents; +#ifdef __cplusplus +interface DWebBridgeEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebBridge_FWD_DEFINED__ +#define __IWebBridge_FWD_DEFINED__ +typedef interface IWebBridge IWebBridge; +#ifdef __cplusplus +interface IWebBridge; +#endif /* __cplusplus */ +#endif + +#ifndef __Scriptlet_FWD_DEFINED__ +#define __Scriptlet_FWD_DEFINED__ +#ifdef __cplusplus +typedef class Scriptlet Scriptlet; +#else +typedef struct Scriptlet Scriptlet; +#endif /* defined __cplusplus */ +#endif /* defined __Scriptlet_FWD_DEFINED__ */ + +#ifndef __IHTMLEmbedElement_FWD_DEFINED__ +#define __IHTMLEmbedElement_FWD_DEFINED__ +typedef interface IHTMLEmbedElement IHTMLEmbedElement; +#ifdef __cplusplus +interface IHTMLEmbedElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLEmbed_FWD_DEFINED__ +#define __DispHTMLEmbed_FWD_DEFINED__ +typedef interface DispHTMLEmbed DispHTMLEmbed; +#ifdef __cplusplus +interface DispHTMLEmbed; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLEmbed_FWD_DEFINED__ +#define __HTMLEmbed_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLEmbed HTMLEmbed; +#else +typedef struct HTMLEmbed HTMLEmbed; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLEmbed_FWD_DEFINED__ */ + +#ifndef __IHTMLCommentElement_FWD_DEFINED__ +#define __IHTMLCommentElement_FWD_DEFINED__ +typedef interface IHTMLCommentElement IHTMLCommentElement; +#ifdef __cplusplus +interface IHTMLCommentElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLCommentElement2_FWD_DEFINED__ +#define __IHTMLCommentElement2_FWD_DEFINED__ +typedef interface IHTMLCommentElement2 IHTMLCommentElement2; +#ifdef __cplusplus +interface IHTMLCommentElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLCommentElement_FWD_DEFINED__ +#define __DispHTMLCommentElement_FWD_DEFINED__ +typedef interface DispHTMLCommentElement DispHTMLCommentElement; +#ifdef __cplusplus +interface DispHTMLCommentElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLElementEvents2_FWD_DEFINED__ +#define __HTMLElementEvents2_FWD_DEFINED__ +typedef interface HTMLElementEvents2 HTMLElementEvents2; +#ifdef __cplusplus +interface HTMLElementEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLElementEvents_FWD_DEFINED__ +#define __HTMLElementEvents_FWD_DEFINED__ +typedef interface HTMLElementEvents HTMLElementEvents; +#ifdef __cplusplus +interface HTMLElementEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLCommentElement_FWD_DEFINED__ +#define __HTMLCommentElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLCommentElement HTMLCommentElement; +#else +typedef struct HTMLCommentElement HTMLCommentElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLCommentElement_FWD_DEFINED__ */ + +#ifndef __HTMLTableEvents_FWD_DEFINED__ +#define __HTMLTableEvents_FWD_DEFINED__ +typedef interface HTMLTableEvents HTMLTableEvents; +#ifdef __cplusplus +interface HTMLTableEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTableEvents2_FWD_DEFINED__ +#define __HTMLTableEvents2_FWD_DEFINED__ +typedef interface HTMLTableEvents2 HTMLTableEvents2; +#ifdef __cplusplus +interface HTMLTableEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTableCaption_FWD_DEFINED__ +#define __IHTMLTableCaption_FWD_DEFINED__ +typedef interface IHTMLTableCaption IHTMLTableCaption; +#ifdef __cplusplus +interface IHTMLTableCaption; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTable_FWD_DEFINED__ +#define __IHTMLTable_FWD_DEFINED__ +typedef interface IHTMLTable IHTMLTable; +#ifdef __cplusplus +interface IHTMLTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTable2_FWD_DEFINED__ +#define __IHTMLTable2_FWD_DEFINED__ +typedef interface IHTMLTable2 IHTMLTable2; +#ifdef __cplusplus +interface IHTMLTable2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTable3_FWD_DEFINED__ +#define __IHTMLTable3_FWD_DEFINED__ +typedef interface IHTMLTable3 IHTMLTable3; +#ifdef __cplusplus +interface IHTMLTable3; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTable_FWD_DEFINED__ +#define __HTMLTable_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLTable HTMLTable; +#else +typedef struct HTMLTable HTMLTable; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLTable_FWD_DEFINED__ */ + +#ifndef __IHTMLTableSection_FWD_DEFINED__ +#define __IHTMLTableSection_FWD_DEFINED__ +typedef interface IHTMLTableSection IHTMLTableSection; +#ifdef __cplusplus +interface IHTMLTableSection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTableRow_FWD_DEFINED__ +#define __IHTMLTableRow_FWD_DEFINED__ +typedef interface IHTMLTableRow IHTMLTableRow; +#ifdef __cplusplus +interface IHTMLTableRow; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLTableCell_FWD_DEFINED__ +#define __IHTMLTableCell_FWD_DEFINED__ +typedef interface IHTMLTableCell IHTMLTableCell; +#ifdef __cplusplus +interface IHTMLTableCell; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLTable_FWD_DEFINED__ +#define __DispHTMLTable_FWD_DEFINED__ +typedef interface DispHTMLTable DispHTMLTable; +#ifdef __cplusplus +interface DispHTMLTable; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLTableRow_FWD_DEFINED__ +#define __DispHTMLTableRow_FWD_DEFINED__ +typedef interface DispHTMLTableRow DispHTMLTableRow; +#ifdef __cplusplus +interface DispHTMLTableRow; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTableRow_FWD_DEFINED__ +#define __HTMLTableRow_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLTableRow HTMLTableRow; +#else +typedef struct HTMLTableRow HTMLTableRow; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLTableRow_FWD_DEFINED__ */ + +#ifndef __DispHTMLTableCell_FWD_DEFINED__ +#define __DispHTMLTableCell_FWD_DEFINED__ +typedef interface DispHTMLTableCell DispHTMLTableCell; +#ifdef __cplusplus +interface DispHTMLTableCell; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLTableCell_FWD_DEFINED__ +#define __HTMLTableCell_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLTableCell HTMLTableCell; +#else +typedef struct HTMLTableCell HTMLTableCell; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLTableCell_FWD_DEFINED__ */ + +#ifndef __IHTMLScriptElement_FWD_DEFINED__ +#define __IHTMLScriptElement_FWD_DEFINED__ +typedef interface IHTMLScriptElement IHTMLScriptElement; +#ifdef __cplusplus +interface IHTMLScriptElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLScriptElement2_FWD_DEFINED__ +#define __IHTMLScriptElement2_FWD_DEFINED__ +typedef interface IHTMLScriptElement2 IHTMLScriptElement2; +#ifdef __cplusplus +interface IHTMLScriptElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLScriptElement_FWD_DEFINED__ +#define __DispHTMLScriptElement_FWD_DEFINED__ +typedef interface DispHTMLScriptElement DispHTMLScriptElement; +#ifdef __cplusplus +interface DispHTMLScriptElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLScriptElement_FWD_DEFINED__ +#define __HTMLScriptElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLScriptElement HTMLScriptElement; +#else +typedef struct HTMLScriptElement HTMLScriptElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLScriptElement_FWD_DEFINED__ */ + +#ifndef __IHTMLObjectElement_FWD_DEFINED__ +#define __IHTMLObjectElement_FWD_DEFINED__ +typedef interface IHTMLObjectElement IHTMLObjectElement; +#ifdef __cplusplus +interface IHTMLObjectElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLObjectElement2_FWD_DEFINED__ +#define __IHTMLObjectElement2_FWD_DEFINED__ +typedef interface IHTMLObjectElement2 IHTMLObjectElement2; +#ifdef __cplusplus +interface IHTMLObjectElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDivElement_FWD_DEFINED__ +#define __IHTMLDivElement_FWD_DEFINED__ +typedef interface IHTMLDivElement IHTMLDivElement; +#ifdef __cplusplus +interface IHTMLDivElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLDivElement_FWD_DEFINED__ +#define __DispHTMLDivElement_FWD_DEFINED__ +typedef interface DispHTMLDivElement DispHTMLDivElement; +#ifdef __cplusplus +interface DispHTMLDivElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLParamElement_FWD_DEFINED__ +#define __IHTMLParamElement_FWD_DEFINED__ +typedef interface IHTMLParamElement IHTMLParamElement; +#ifdef __cplusplus +interface IHTMLParamElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLParamElement2_FWD_DEFINED__ +#define __IHTMLParamElement2_FWD_DEFINED__ +typedef interface IHTMLParamElement2 IHTMLParamElement2; +#ifdef __cplusplus +interface IHTMLParamElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLObjectElement_FWD_DEFINED__ +#define __DispHTMLObjectElement_FWD_DEFINED__ +typedef interface DispHTMLObjectElement DispHTMLObjectElement; +#ifdef __cplusplus +interface DispHTMLObjectElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLObjectElement_FWD_DEFINED__ +#define __HTMLObjectElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLObjectElement HTMLObjectElement; +#else +typedef struct HTMLObjectElement HTMLObjectElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLObjectElement_FWD_DEFINED__ */ + +#ifndef __DispHTMLParamElement_FWD_DEFINED__ +#define __DispHTMLParamElement_FWD_DEFINED__ +typedef interface DispHTMLParamElement DispHTMLParamElement; +#ifdef __cplusplus +interface DispHTMLParamElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLFrameBase_FWD_DEFINED__ +#define __IHTMLFrameBase_FWD_DEFINED__ +typedef interface IHTMLFrameBase IHTMLFrameBase; +#ifdef __cplusplus +interface IHTMLFrameBase; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLFrameBase2_FWD_DEFINED__ +#define __IHTMLFrameBase2_FWD_DEFINED__ +typedef interface IHTMLFrameBase2 IHTMLFrameBase2; +#ifdef __cplusplus +interface IHTMLFrameBase2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLFrameElement3_FWD_DEFINED__ +#define __IHTMLFrameElement3_FWD_DEFINED__ +typedef interface IHTMLFrameElement3 IHTMLFrameElement3; +#ifdef __cplusplus +interface IHTMLFrameElement3; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLFrameElement_FWD_DEFINED__ +#define __DispHTMLFrameElement_FWD_DEFINED__ +typedef interface DispHTMLFrameElement DispHTMLFrameElement; +#ifdef __cplusplus +interface DispHTMLFrameElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLFrameElement_FWD_DEFINED__ +#define __HTMLFrameElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLFrameElement HTMLFrameElement; +#else +typedef struct HTMLFrameElement HTMLFrameElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLFrameElement_FWD_DEFINED__ */ + +#ifndef __IHTMLIFrameElement_FWD_DEFINED__ +#define __IHTMLIFrameElement_FWD_DEFINED__ +typedef interface IHTMLIFrameElement IHTMLIFrameElement; +#ifdef __cplusplus +interface IHTMLIFrameElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLIFrameElement2_FWD_DEFINED__ +#define __IHTMLIFrameElement2_FWD_DEFINED__ +typedef interface IHTMLIFrameElement2 IHTMLIFrameElement2; +#ifdef __cplusplus +interface IHTMLIFrameElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLIFrameElement3_FWD_DEFINED__ +#define __IHTMLIFrameElement3_FWD_DEFINED__ +typedef interface IHTMLIFrameElement3 IHTMLIFrameElement3; +#ifdef __cplusplus +interface IHTMLIFrameElement3; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLIFrame_FWD_DEFINED__ +#define __DispHTMLIFrame_FWD_DEFINED__ +typedef interface DispHTMLIFrame DispHTMLIFrame; +#ifdef __cplusplus +interface DispHTMLIFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLIFrame_FWD_DEFINED__ +#define __HTMLIFrame_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLIFrame HTMLIFrame; +#else +typedef struct HTMLIFrame HTMLIFrame; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLIFrame_FWD_DEFINED__ */ + +#ifndef __IHTMLStyleElement_FWD_DEFINED__ +#define __IHTMLStyleElement_FWD_DEFINED__ +typedef interface IHTMLStyleElement IHTMLStyleElement; +#ifdef __cplusplus +interface IHTMLStyleElement; +#endif /* __cplusplus */ +#endif + +#ifndef __DispHTMLStyleElement_FWD_DEFINED__ +#define __DispHTMLStyleElement_FWD_DEFINED__ +typedef interface DispHTMLStyleElement DispHTMLStyleElement; +#ifdef __cplusplus +interface DispHTMLStyleElement; +#endif /* __cplusplus */ +#endif + +#ifndef __HTMLStyleElement_FWD_DEFINED__ +#define __HTMLStyleElement_FWD_DEFINED__ +#ifdef __cplusplus +typedef class HTMLStyleElement HTMLStyleElement; +#else +typedef struct HTMLStyleElement HTMLStyleElement; +#endif /* defined __cplusplus */ +#endif /* defined __HTMLStyleElement_FWD_DEFINED__ */ + +#ifndef __IHTMLStorage_FWD_DEFINED__ +#define __IHTMLStorage_FWD_DEFINED__ +typedef interface IHTMLStorage IHTMLStorage; +#ifdef __cplusplus +interface IHTMLStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IEventTarget_FWD_DEFINED__ +#define __IEventTarget_FWD_DEFINED__ +typedef interface IEventTarget IEventTarget; +#ifdef __cplusplus +interface IEventTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __IDOMEvent_FWD_DEFINED__ +#define __IDOMEvent_FWD_DEFINED__ +typedef interface IDOMEvent IDOMEvent; +#ifdef __cplusplus +interface IDOMEvent; +#endif /* __cplusplus */ +#endif + +#ifndef __IDOMMessageEvent_FWD_DEFINED__ +#define __IDOMMessageEvent_FWD_DEFINED__ +typedef interface IDOMMessageEvent IDOMMessageEvent; +#ifdef __cplusplus +interface IDOMMessageEvent; +#endif /* __cplusplus */ +#endif + +#ifndef __IMarkupContainer_FWD_DEFINED__ +#define __IMarkupContainer_FWD_DEFINED__ +typedef interface IMarkupContainer IMarkupContainer; +#ifdef __cplusplus +interface IMarkupContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IMarkupPointer_FWD_DEFINED__ +#define __IMarkupPointer_FWD_DEFINED__ +typedef interface IMarkupPointer IMarkupPointer; +#ifdef __cplusplus +interface IMarkupPointer; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLDOMConstructorCollection_FWD_DEFINED__ +#define __IHTMLDOMConstructorCollection_FWD_DEFINED__ +typedef interface IHTMLDOMConstructorCollection IHTMLDOMConstructorCollection; +#ifdef __cplusplus +interface IHTMLDOMConstructorCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLGenericParse_FWD_DEFINED__ +#define __IXMLGenericParse_FWD_DEFINED__ +typedef interface IXMLGenericParse IXMLGenericParse; +#ifdef __cplusplus +interface IXMLGenericParse; +#endif /* __cplusplus */ +#endif + +#ifndef __ISegment_FWD_DEFINED__ +#define __ISegment_FWD_DEFINED__ +typedef interface ISegment ISegment; +#ifdef __cplusplus +interface ISegment; +#endif /* __cplusplus */ +#endif + +#ifndef __IElementSegment_FWD_DEFINED__ +#define __IElementSegment_FWD_DEFINED__ +typedef interface IElementSegment IElementSegment; +#ifdef __cplusplus +interface IElementSegment; +#endif /* __cplusplus */ +#endif + +#ifndef __ISelectionServicesListener_FWD_DEFINED__ +#define __ISelectionServicesListener_FWD_DEFINED__ +typedef interface ISelectionServicesListener ISelectionServicesListener; +#ifdef __cplusplus +interface ISelectionServicesListener; +#endif /* __cplusplus */ +#endif + +#ifndef __ISelectionServices_FWD_DEFINED__ +#define __ISelectionServices_FWD_DEFINED__ +typedef interface ISelectionServices ISelectionServices; +#ifdef __cplusplus +interface ISelectionServices; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLEditDesigner_FWD_DEFINED__ +#define __IHTMLEditDesigner_FWD_DEFINED__ +typedef interface IHTMLEditDesigner IHTMLEditDesigner; +#ifdef __cplusplus +interface IHTMLEditDesigner; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLEditServices_FWD_DEFINED__ +#define __IHTMLEditServices_FWD_DEFINED__ +typedef interface IHTMLEditServices IHTMLEditServices; +#ifdef __cplusplus +interface IHTMLEditServices; +#endif /* __cplusplus */ +#endif + +#ifndef __IElementBehaviorSite_FWD_DEFINED__ +#define __IElementBehaviorSite_FWD_DEFINED__ +typedef interface IElementBehaviorSite IElementBehaviorSite; +#ifdef __cplusplus +interface IElementBehaviorSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IElementBehavior_FWD_DEFINED__ +#define __IElementBehavior_FWD_DEFINED__ +typedef interface IElementBehavior IElementBehavior; +#ifdef __cplusplus +interface IElementBehavior; +#endif /* __cplusplus */ +#endif + +#ifndef __IElementBehaviorFactory_FWD_DEFINED__ +#define __IElementBehaviorFactory_FWD_DEFINED__ +typedef interface IElementBehaviorFactory IElementBehaviorFactory; +#ifdef __cplusplus +interface IElementBehaviorFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLPrivateWindow_FWD_DEFINED__ +#define __IHTMLPrivateWindow_FWD_DEFINED__ +typedef interface IHTMLPrivateWindow IHTMLPrivateWindow; +#ifdef __cplusplus +interface IHTMLPrivateWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebBrowserPriv_FWD_DEFINED__ +#define __IWebBrowserPriv_FWD_DEFINED__ +typedef interface IWebBrowserPriv IWebBrowserPriv; +#ifdef __cplusplus +interface IWebBrowserPriv; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebBrowserPriv2IE8_FWD_DEFINED__ +#define __IWebBrowserPriv2IE8_FWD_DEFINED__ +typedef interface IWebBrowserPriv2IE8 IWebBrowserPriv2IE8; +#ifdef __cplusplus +interface IWebBrowserPriv2IE8; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebBrowserPriv2IE9_FWD_DEFINED__ +#define __IWebBrowserPriv2IE9_FWD_DEFINED__ +typedef interface IWebBrowserPriv2IE9 IWebBrowserPriv2IE9; +#ifdef __cplusplus +interface IWebBrowserPriv2IE9; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +DEFINE_GUID(CLSID_MHTMLDocument, 0x3050f3d9,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b); +DEFINE_GUID(SID_SEditCommandTarget, 0x3050f4b5,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b); +DEFINE_GUID(SID_SHTMLEditHost, 0x3050f6a0,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b); +DEFINE_GUID(SID_SHTMLEditServices, 0x3050f7f9,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b); +#define SID_SHTMLWindow IID_IHTMLWindow2 +#define SID_SElementBehaviorFactory IID_IElementBehaviorFactory +#ifdef WINE_NO_UNICODE_MACROS +#undef FindText +#endif +typedef enum __WIDL_mshtml_generated_name_0000001F { + POINTER_GRAVITY_Left = 0, + POINTER_GRAVITY_Right = 1, + POINTER_GRAVITY_Max = 2147483647 +} POINTER_GRAVITY; +typedef enum __WIDL_mshtml_generated_name_00000020 { + CONTEXT_TYPE_None = 0, + CONTEXT_TYPE_Text = 1, + CONTEXT_TYPE_EnterScope = 2, + CONTEXT_TYPE_ExitScope = 3, + CONTEXT_TYPE_NoScope = 4, + MARKUP_CONTEXT_TYPE_Max = 2147483647 +} MARKUP_CONTEXT_TYPE; +typedef enum __WIDL_mshtml_generated_name_00000021 { + ELEM_ADJ_BeforeBegin = 0, + ELEM_ADJ_AfterBegin = 1, + ELEM_ADJ_BeforeEnd = 2, + ELEM_ADJ_AfterEnd = 3, + ELEMENT_ADJACENCY_Max = 2147483647 +} ELEMENT_ADJACENCY; +typedef enum __WIDL_mshtml_generated_name_00000022 { + MOVEUNIT_PREVCHAR = 0, + MOVEUNIT_NEXTCHAR = 1, + MOVEUNIT_PREVCLUSTERBEG = 2, + MOVEUNIT_NEXTCLUSTERBEG = 3, + MOVEUNIT_PREVCLUSTEREND = 4, + MOVEUNIT_NEXTCLUSTEREND = 5, + MOVEUNIT_PREVWORDBEG = 6, + MOVEUNIT_NEXTWORDBEG = 7, + MOVEUNIT_PREVWORDEND = 8, + MOVEUNIT_NEXTWORDEND = 9, + MOVEUNIT_PREVPROOFWORD = 10, + MOVEUNIT_NEXTPROOFWORD = 11, + MOVEUNIT_NEXTURLBEG = 12, + MOVEUNIT_PREVURLBEG = 13, + MOVEUNIT_NEXTURLEND = 14, + MOVEUNIT_PREVURLEND = 15, + MOVEUNIT_PREVSENTENCE = 16, + MOVEUNIT_NEXTSENTENCE = 17, + MOVEUNIT_PREVBLOCK = 18, + MOVEUNIT_NEXTBLOCK = 19, + MOVEUNIT_ACTION_Max = 2147483647 +} MOVEUNIT_ACTION; +typedef enum _SELECTION_TYPE { + SELECTION_TYPE_None = 0, + SELECTION_TYPE_Caret = 1, + SELECTION_TYPE_Text = 2, + SELECTION_TYPE_Control = 3, + SELECTION_TYPE_Max = 2147483647 +} SELECTION_TYPE; + +DEFINE_GUID(LIBID_MSHTML, 0x3050f1c5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +typedef enum _DomConstructor { + DomConstructorObject = 0, + DomConstructorAttr = 1, + DomConstructorBehaviorUrnsCollection = 2, + DomConstructorBookmarkCollection = 3, + DomConstructorCompatibleInfo = 4, + DomConstructorCompatibleInfoCollection = 5, + DomConstructorControlRangeCollection = 6, + DomConstructorCSSCurrentStyleDeclaration = 7, + DomConstructorCSSRuleList = 8, + DomConstructorCSSRuleStyleDeclaration = 9, + DomConstructorCSSStyleDeclaration = 10, + DomConstructorCSSStyleRule = 11, + DomConstructorCSSStyleSheet = 12, + DomConstructorDataTransfer = 13, + DomConstructorDOMImplementation = 14, + DomConstructorElement = 15, + DomConstructorEvent = 16, + DomConstructorHistory = 17, + DomConstructorHTCElementBehaviorDefaults = 18, + DomConstructorHTMLAnchorElement = 19, + DomConstructorHTMLAreaElement = 20, + DomConstructorHTMLAreasCollection = 21, + DomConstructorHTMLBaseElement = 22, + DomConstructorHTMLBaseFontElement = 23, + DomConstructorHTMLBGSoundElement = 24, + DomConstructorHTMLBlockElement = 25, + DomConstructorHTMLBodyElement = 26, + DomConstructorHTMLBRElement = 27, + DomConstructorHTMLButtonElement = 28, + DomConstructorHTMLCollection = 29, + DomConstructorHTMLCommentElement = 30, + DomConstructorHTMLDDElement = 31, + DomConstructorHTMLDivElement = 32, + DomConstructorHTMLDocument = 33, + DomConstructorHTMLDListElement = 34, + DomConstructorHTMLDTElement = 35, + DomConstructorHTMLEmbedElement = 36, + DomConstructorHTMLFieldSetElement = 37, + DomConstructorHTMLFontElement = 38, + DomConstructorHTMLFormElement = 39, + DomConstructorHTMLFrameElement = 40, + DomConstructorHTMLFrameSetElement = 41, + DomConstructorHTMLGenericElement = 42, + DomConstructorHTMLHeadElement = 43, + DomConstructorHTMLHeadingElement = 44, + DomConstructorHTMLHRElement = 45, + DomConstructorHTMLHtmlElement = 46, + DomConstructorHTMLIFrameElement = 47, + DomConstructorHTMLImageElement = 48, + DomConstructorHTMLInputElement = 49, + DomConstructorHTMLIsIndexElement = 50, + DomConstructorHTMLLabelElement = 51, + DomConstructorHTMLLegendElement = 52, + DomConstructorHTMLLIElement = 53, + DomConstructorHTMLLinkElement = 54, + DomConstructorHTMLMapElement = 55, + DomConstructorHTMLMarqueeElement = 56, + DomConstructorHTMLMetaElement = 57, + DomConstructorHTMLModelessDialog = 58, + DomConstructorHTMLNamespaceInfo = 59, + DomConstructorHTMLNamespaceInfoCollection = 60, + DomConstructorHTMLNextIdElement = 61, + DomConstructorHTMLNoShowElement = 62, + DomConstructorHTMLObjectElement = 63, + DomConstructorHTMLOListElement = 64, + DomConstructorHTMLOptionElement = 65, + DomConstructorHTMLParagraphElement = 66, + DomConstructorHTMLParamElement = 67, + DomConstructorHTMLPhraseElement = 68, + DomConstructorHTMLPluginsCollection = 69, + DomConstructorHTMLPopup = 70, + DomConstructorHTMLScriptElement = 71, + DomConstructorHTMLSelectElement = 72, + DomConstructorHTMLSpanElement = 73, + DomConstructorHTMLStyleElement = 74, + DomConstructorHTMLTableCaptionElement = 75, + DomConstructorHTMLTableCellElement = 76, + DomConstructorHTMLTableColElement = 77, + DomConstructorHTMLTableElement = 78, + DomConstructorHTMLTableRowElement = 79, + DomConstructorHTMLTableSectionElement = 80, + DomConstructorHTMLTextAreaElement = 81, + DomConstructorHTMLTextElement = 82, + DomConstructorHTMLTitleElement = 83, + DomConstructorHTMLUListElement = 84, + DomConstructorHTMLUnknownElement = 85, + DomConstructorImage = 86, + DomConstructorLocation = 87, + DomConstructorNamedNodeMap = 88, + DomConstructorNavigator = 89, + DomConstructorNodeList = 90, + DomConstructorOption = 91, + DomConstructorScreen = 92, + DomConstructorSelection = 93, + DomConstructorStaticNodeList = 94, + DomConstructorStorage = 95, + DomConstructorStyleSheetList = 96, + DomConstructorStyleSheetPage = 97, + DomConstructorStyleSheetPageList = 98, + DomConstructorText = 99, + DomConstructorTextRange = 100, + DomConstructorTextRangeCollection = 101, + DomConstructorTextRectangle = 102, + DomConstructorTextRectangleList = 103, + DomConstructorWindow = 104, + DomConstructorXDomainRequest = 105, + DomConstructorXMLHttpRequest = 106, + DomConstructorMax = 107, + DomConstructor_Max = 2147483647 +} DomConstructor; +/***************************************************************************** + * IHTMLDOMConstructor interface + */ +#ifndef __IHTMLDOMConstructor_INTERFACE_DEFINED__ +#define __IHTMLDOMConstructor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMConstructor, 0x3051049b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051049b-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMConstructor : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_constructor( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE LookupGetter( + BSTR propname, + VARIANT *ppDispHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE LookupSetter( + BSTR propname, + VARIANT *ppDispHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE DefineGetter( + BSTR propname, + VARIANT *pdispHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE DefineSetter( + BSTR propname, + VARIANT *pdispHandler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMConstructor, 0x3051049b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMConstructorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMConstructor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMConstructor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMConstructor *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMConstructor *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMConstructor *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMConstructor *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMConstructor *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMConstructor methods ***/ + HRESULT (STDMETHODCALLTYPE *get_constructor)( + IHTMLDOMConstructor *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *LookupGetter)( + IHTMLDOMConstructor *This, + BSTR propname, + VARIANT *ppDispHandler); + + HRESULT (STDMETHODCALLTYPE *LookupSetter)( + IHTMLDOMConstructor *This, + BSTR propname, + VARIANT *ppDispHandler); + + HRESULT (STDMETHODCALLTYPE *DefineGetter)( + IHTMLDOMConstructor *This, + BSTR propname, + VARIANT *pdispHandler); + + HRESULT (STDMETHODCALLTYPE *DefineSetter)( + IHTMLDOMConstructor *This, + BSTR propname, + VARIANT *pdispHandler); + + END_INTERFACE +} IHTMLDOMConstructorVtbl; + +interface IHTMLDOMConstructor { + CONST_VTBL IHTMLDOMConstructorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMConstructor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMConstructor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMConstructor_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMConstructor_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMConstructor_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMConstructor_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMConstructor_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMConstructor methods ***/ +#define IHTMLDOMConstructor_get_constructor(This,p) (This)->lpVtbl->get_constructor(This,p) +#define IHTMLDOMConstructor_LookupGetter(This,propname,ppDispHandler) (This)->lpVtbl->LookupGetter(This,propname,ppDispHandler) +#define IHTMLDOMConstructor_LookupSetter(This,propname,ppDispHandler) (This)->lpVtbl->LookupSetter(This,propname,ppDispHandler) +#define IHTMLDOMConstructor_DefineGetter(This,propname,pdispHandler) (This)->lpVtbl->DefineGetter(This,propname,pdispHandler) +#define IHTMLDOMConstructor_DefineSetter(This,propname,pdispHandler) (This)->lpVtbl->DefineSetter(This,propname,pdispHandler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMConstructor_QueryInterface(IHTMLDOMConstructor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMConstructor_AddRef(IHTMLDOMConstructor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMConstructor_Release(IHTMLDOMConstructor* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMConstructor_GetTypeInfoCount(IHTMLDOMConstructor* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_GetTypeInfo(IHTMLDOMConstructor* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_GetIDsOfNames(IHTMLDOMConstructor* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_Invoke(IHTMLDOMConstructor* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMConstructor methods ***/ +static FORCEINLINE HRESULT IHTMLDOMConstructor_get_constructor(IHTMLDOMConstructor* This,IDispatch **p) { + return This->lpVtbl->get_constructor(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_LookupGetter(IHTMLDOMConstructor* This,BSTR propname,VARIANT *ppDispHandler) { + return This->lpVtbl->LookupGetter(This,propname,ppDispHandler); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_LookupSetter(IHTMLDOMConstructor* This,BSTR propname,VARIANT *ppDispHandler) { + return This->lpVtbl->LookupSetter(This,propname,ppDispHandler); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_DefineGetter(IHTMLDOMConstructor* This,BSTR propname,VARIANT *pdispHandler) { + return This->lpVtbl->DefineGetter(This,propname,pdispHandler); +} +static FORCEINLINE HRESULT IHTMLDOMConstructor_DefineSetter(IHTMLDOMConstructor* This,BSTR propname,VARIANT *pdispHandler) { + return This->lpVtbl->DefineSetter(This,propname,pdispHandler); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMConstructor_INTERFACE_DEFINED__ */ + +#ifndef __IHTMLDocument2_FWD_DEFINED__ +#define __IHTMLDocument2_FWD_DEFINED__ +typedef interface IHTMLDocument2 IHTMLDocument2; +#ifdef __cplusplus +interface IHTMLDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLElement2_FWD_DEFINED__ +#define __IHTMLElement2_FWD_DEFINED__ +typedef interface IHTMLElement2 IHTMLElement2; +#ifdef __cplusplus +interface IHTMLElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStyleSheetsCollection_FWD_DEFINED__ +#define __IHTMLStyleSheetsCollection_FWD_DEFINED__ +typedef interface IHTMLStyleSheetsCollection IHTMLStyleSheetsCollection; +#ifdef __cplusplus +interface IHTMLStyleSheetsCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLFrameBase_FWD_DEFINED__ +#define __IHTMLFrameBase_FWD_DEFINED__ +typedef interface IHTMLFrameBase IHTMLFrameBase; +#ifdef __cplusplus +interface IHTMLFrameBase; +#endif /* __cplusplus */ +#endif + +#ifndef __IHTMLStorage_FWD_DEFINED__ +#define __IHTMLStorage_FWD_DEFINED__ +typedef interface IHTMLStorage IHTMLStorage; +#ifdef __cplusplus +interface IHTMLStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IDOMEvent_FWD_DEFINED__ +#define __IDOMEvent_FWD_DEFINED__ +typedef interface IDOMEvent IDOMEvent; +#ifdef __cplusplus +interface IDOMEvent; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IHTMLFiltersCollection interface + */ +#ifndef __IHTMLFiltersCollection_INTERFACE_DEFINED__ +#define __IHTMLFiltersCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLFiltersCollection, 0x3050f3ee, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3ee-98b5-11cf-bb82-00aa00bdce0b") +IHTMLFiltersCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT *pvarIndex, + VARIANT *pvarResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLFiltersCollection, 0x3050f3ee, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLFiltersCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLFiltersCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLFiltersCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLFiltersCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLFiltersCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLFiltersCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLFiltersCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLFiltersCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFiltersCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLFiltersCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLFiltersCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLFiltersCollection *This, + VARIANT *pvarIndex, + VARIANT *pvarResult); + + END_INTERFACE +} IHTMLFiltersCollectionVtbl; + +interface IHTMLFiltersCollection { + CONST_VTBL IHTMLFiltersCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLFiltersCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLFiltersCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLFiltersCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLFiltersCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLFiltersCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLFiltersCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLFiltersCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFiltersCollection methods ***/ +#define IHTMLFiltersCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLFiltersCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLFiltersCollection_item(This,pvarIndex,pvarResult) (This)->lpVtbl->item(This,pvarIndex,pvarResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLFiltersCollection_QueryInterface(IHTMLFiltersCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLFiltersCollection_AddRef(IHTMLFiltersCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLFiltersCollection_Release(IHTMLFiltersCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLFiltersCollection_GetTypeInfoCount(IHTMLFiltersCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLFiltersCollection_GetTypeInfo(IHTMLFiltersCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLFiltersCollection_GetIDsOfNames(IHTMLFiltersCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLFiltersCollection_Invoke(IHTMLFiltersCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFiltersCollection methods ***/ +static FORCEINLINE HRESULT IHTMLFiltersCollection_get_length(IHTMLFiltersCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLFiltersCollection_get__newEnum(IHTMLFiltersCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLFiltersCollection_item(IHTMLFiltersCollection* This,VARIANT *pvarIndex,VARIANT *pvarResult) { + return This->lpVtbl->item(This,pvarIndex,pvarResult); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLFiltersCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyle interface + */ +#ifndef __IHTMLStyle_INTERFACE_DEFINED__ +#define __IHTMLStyle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyle, 0x3050f25e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f25e-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyle : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_fontFamily( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontFamily( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontVariant( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontVariant( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontWeight( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontWeight( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontSize( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontSize( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_font( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_font( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_color( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_color( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_background( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_background( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundImage( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundImage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundRepeat( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundRepeat( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundAttachment( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundAttachment( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundPosition( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundPositionX( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPositionX( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundPositionY( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPositionY( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_wordSpacing( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_letterSpacing( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_letterSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecoration( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecoration( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationNone( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationNone( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationUnderline( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationUnderline( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationOverline( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationOverline( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationLineThrough( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationLineThrough( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationBlink( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationBlink( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_verticalAlign( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_verticalAlign( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textTransform( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textTransform( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textIndent( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textIndent( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_lineHeight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginTop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginRight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginBottom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginLeft( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_margin( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_margin( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingTop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingRight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingBottom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingLeft( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_padding( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_padding( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_border( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_border( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTop( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTop( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRight( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRight( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottom( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottom( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeft( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeft( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColor( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTopColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRightColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottomColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeftColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderWidth( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderWidth( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTopWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRightWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottomWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeftWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTopStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRightStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottomStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeftStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_styleFloat( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_styleFloat( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_clear( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clear( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_display( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_display( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_visibility( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_visibility( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStyleType( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyleType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStylePosition( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStylePosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStyleImage( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyleImage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_whiteSpace( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_whiteSpace( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_top( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_top( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_left( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_left( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_position( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_zIndex( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_zIndex( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_overflow( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pageBreakBefore( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakBefore( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pageBreakAfter( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakAfter( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cssText( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cssText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pixelTop( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pixelTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pixelLeft( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pixelLeft( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pixelWidth( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pixelWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pixelHeight( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pixelHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_posTop( + float v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_posTop( + float *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_posLeft( + float v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_posLeft( + float *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_posWidth( + float v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_posWidth( + float *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_posHeight( + float v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_posHeight( + float *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cursor( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cursor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_clip( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clip( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_filter( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filter( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strAttributeName, + VARIANT AttributeValue, + LONG lFlags = 1) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT_BOOL *pfSuccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyle, 0x3050f25e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyle methods ***/ + HRESULT (STDMETHODCALLTYPE *put_fontFamily)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontFamily)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontVariant)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontVariant)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontWeight)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontWeight)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontSize)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_fontSize)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_font)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_font)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_color)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_color)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_background)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_background)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundColor)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundColor)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundImage)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundImage)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundRepeat)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundRepeat)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundAttachment)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundAttachment)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundPosition)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPosition)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundPositionX)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPositionX)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundPositionY)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPositionY)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_wordSpacing)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_wordSpacing)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_letterSpacing)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_letterSpacing)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecoration)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textDecoration)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationNone)( + IHTMLStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationNone)( + IHTMLStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationUnderline)( + IHTMLStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationUnderline)( + IHTMLStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationOverline)( + IHTMLStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationOverline)( + IHTMLStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationLineThrough)( + IHTMLStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationLineThrough)( + IHTMLStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationBlink)( + IHTMLStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationBlink)( + IHTMLStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_verticalAlign)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_verticalAlign)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textTransform)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textTransform)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textAlign)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textAlign)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textIndent)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textIndent)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_lineHeight)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_lineHeight)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginTop)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginTop)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginRight)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginRight)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginBottom)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginBottom)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginLeft)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginLeft)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_margin)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_margin)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingTop)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingTop)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingRight)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingRight)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingBottom)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingBottom)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingLeft)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingLeft)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_padding)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_padding)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_border)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_border)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTop)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderTop)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRight)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderRight)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottom)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottom)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeft)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeft)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColor)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderColor)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTopColor)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderTopColor)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRightColor)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderRightColor)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottomColor)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomColor)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeftColor)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftColor)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderWidth)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderWidth)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTopWidth)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderTopWidth)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRightWidth)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderRightWidth)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottomWidth)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomWidth)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeftWidth)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftWidth)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTopStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderTopStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRightStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderRightStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottomStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeftStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_styleFloat)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_styleFloat)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_clear)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_clear)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_display)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_display)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_visibility)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_visibility)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStyleType)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStyleType)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStylePosition)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStylePosition)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStyleImage)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStyleImage)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStyle)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStyle)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_whiteSpace)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_whiteSpace)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_top)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_top)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_left)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_left)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_position)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_zIndex)( + IHTMLStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_zIndex)( + IHTMLStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_overflow)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_overflow)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pageBreakBefore)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakBefore)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pageBreakAfter)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakAfter)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_cssText)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_cssText)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pixelTop)( + IHTMLStyle *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_pixelTop)( + IHTMLStyle *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_pixelLeft)( + IHTMLStyle *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_pixelLeft)( + IHTMLStyle *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_pixelWidth)( + IHTMLStyle *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_pixelWidth)( + IHTMLStyle *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_pixelHeight)( + IHTMLStyle *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_pixelHeight)( + IHTMLStyle *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_posTop)( + IHTMLStyle *This, + float v); + + HRESULT (STDMETHODCALLTYPE *get_posTop)( + IHTMLStyle *This, + float *p); + + HRESULT (STDMETHODCALLTYPE *put_posLeft)( + IHTMLStyle *This, + float v); + + HRESULT (STDMETHODCALLTYPE *get_posLeft)( + IHTMLStyle *This, + float *p); + + HRESULT (STDMETHODCALLTYPE *put_posWidth)( + IHTMLStyle *This, + float v); + + HRESULT (STDMETHODCALLTYPE *get_posWidth)( + IHTMLStyle *This, + float *p); + + HRESULT (STDMETHODCALLTYPE *put_posHeight)( + IHTMLStyle *This, + float v); + + HRESULT (STDMETHODCALLTYPE *get_posHeight)( + IHTMLStyle *This, + float *p); + + HRESULT (STDMETHODCALLTYPE *put_cursor)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_cursor)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_clip)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_clip)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_filter)( + IHTMLStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_filter)( + IHTMLStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IHTMLStyle *This, + BSTR strAttributeName, + VARIANT AttributeValue, + LONG lFlags); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IHTMLStyle *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IHTMLStyle *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT_BOOL *pfSuccess); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLStyle *This, + BSTR *String); + + END_INTERFACE +} IHTMLStyleVtbl; + +interface IHTMLStyle { + CONST_VTBL IHTMLStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyle methods ***/ +#define IHTMLStyle_put_fontFamily(This,v) (This)->lpVtbl->put_fontFamily(This,v) +#define IHTMLStyle_get_fontFamily(This,p) (This)->lpVtbl->get_fontFamily(This,p) +#define IHTMLStyle_put_fontStyle(This,v) (This)->lpVtbl->put_fontStyle(This,v) +#define IHTMLStyle_get_fontStyle(This,p) (This)->lpVtbl->get_fontStyle(This,p) +#define IHTMLStyle_put_fontVariant(This,v) (This)->lpVtbl->put_fontVariant(This,v) +#define IHTMLStyle_get_fontVariant(This,p) (This)->lpVtbl->get_fontVariant(This,p) +#define IHTMLStyle_put_fontWeight(This,v) (This)->lpVtbl->put_fontWeight(This,v) +#define IHTMLStyle_get_fontWeight(This,p) (This)->lpVtbl->get_fontWeight(This,p) +#define IHTMLStyle_put_fontSize(This,v) (This)->lpVtbl->put_fontSize(This,v) +#define IHTMLStyle_get_fontSize(This,p) (This)->lpVtbl->get_fontSize(This,p) +#define IHTMLStyle_put_font(This,v) (This)->lpVtbl->put_font(This,v) +#define IHTMLStyle_get_font(This,p) (This)->lpVtbl->get_font(This,p) +#define IHTMLStyle_put_color(This,v) (This)->lpVtbl->put_color(This,v) +#define IHTMLStyle_get_color(This,p) (This)->lpVtbl->get_color(This,p) +#define IHTMLStyle_put_background(This,v) (This)->lpVtbl->put_background(This,v) +#define IHTMLStyle_get_background(This,p) (This)->lpVtbl->get_background(This,p) +#define IHTMLStyle_put_backgroundColor(This,v) (This)->lpVtbl->put_backgroundColor(This,v) +#define IHTMLStyle_get_backgroundColor(This,p) (This)->lpVtbl->get_backgroundColor(This,p) +#define IHTMLStyle_put_backgroundImage(This,v) (This)->lpVtbl->put_backgroundImage(This,v) +#define IHTMLStyle_get_backgroundImage(This,p) (This)->lpVtbl->get_backgroundImage(This,p) +#define IHTMLStyle_put_backgroundRepeat(This,v) (This)->lpVtbl->put_backgroundRepeat(This,v) +#define IHTMLStyle_get_backgroundRepeat(This,p) (This)->lpVtbl->get_backgroundRepeat(This,p) +#define IHTMLStyle_put_backgroundAttachment(This,v) (This)->lpVtbl->put_backgroundAttachment(This,v) +#define IHTMLStyle_get_backgroundAttachment(This,p) (This)->lpVtbl->get_backgroundAttachment(This,p) +#define IHTMLStyle_put_backgroundPosition(This,v) (This)->lpVtbl->put_backgroundPosition(This,v) +#define IHTMLStyle_get_backgroundPosition(This,p) (This)->lpVtbl->get_backgroundPosition(This,p) +#define IHTMLStyle_put_backgroundPositionX(This,v) (This)->lpVtbl->put_backgroundPositionX(This,v) +#define IHTMLStyle_get_backgroundPositionX(This,p) (This)->lpVtbl->get_backgroundPositionX(This,p) +#define IHTMLStyle_put_backgroundPositionY(This,v) (This)->lpVtbl->put_backgroundPositionY(This,v) +#define IHTMLStyle_get_backgroundPositionY(This,p) (This)->lpVtbl->get_backgroundPositionY(This,p) +#define IHTMLStyle_put_wordSpacing(This,v) (This)->lpVtbl->put_wordSpacing(This,v) +#define IHTMLStyle_get_wordSpacing(This,p) (This)->lpVtbl->get_wordSpacing(This,p) +#define IHTMLStyle_put_letterSpacing(This,v) (This)->lpVtbl->put_letterSpacing(This,v) +#define IHTMLStyle_get_letterSpacing(This,p) (This)->lpVtbl->get_letterSpacing(This,p) +#define IHTMLStyle_put_textDecoration(This,v) (This)->lpVtbl->put_textDecoration(This,v) +#define IHTMLStyle_get_textDecoration(This,p) (This)->lpVtbl->get_textDecoration(This,p) +#define IHTMLStyle_put_textDecorationNone(This,v) (This)->lpVtbl->put_textDecorationNone(This,v) +#define IHTMLStyle_get_textDecorationNone(This,p) (This)->lpVtbl->get_textDecorationNone(This,p) +#define IHTMLStyle_put_textDecorationUnderline(This,v) (This)->lpVtbl->put_textDecorationUnderline(This,v) +#define IHTMLStyle_get_textDecorationUnderline(This,p) (This)->lpVtbl->get_textDecorationUnderline(This,p) +#define IHTMLStyle_put_textDecorationOverline(This,v) (This)->lpVtbl->put_textDecorationOverline(This,v) +#define IHTMLStyle_get_textDecorationOverline(This,p) (This)->lpVtbl->get_textDecorationOverline(This,p) +#define IHTMLStyle_put_textDecorationLineThrough(This,v) (This)->lpVtbl->put_textDecorationLineThrough(This,v) +#define IHTMLStyle_get_textDecorationLineThrough(This,p) (This)->lpVtbl->get_textDecorationLineThrough(This,p) +#define IHTMLStyle_put_textDecorationBlink(This,v) (This)->lpVtbl->put_textDecorationBlink(This,v) +#define IHTMLStyle_get_textDecorationBlink(This,p) (This)->lpVtbl->get_textDecorationBlink(This,p) +#define IHTMLStyle_put_verticalAlign(This,v) (This)->lpVtbl->put_verticalAlign(This,v) +#define IHTMLStyle_get_verticalAlign(This,p) (This)->lpVtbl->get_verticalAlign(This,p) +#define IHTMLStyle_put_textTransform(This,v) (This)->lpVtbl->put_textTransform(This,v) +#define IHTMLStyle_get_textTransform(This,p) (This)->lpVtbl->get_textTransform(This,p) +#define IHTMLStyle_put_textAlign(This,v) (This)->lpVtbl->put_textAlign(This,v) +#define IHTMLStyle_get_textAlign(This,p) (This)->lpVtbl->get_textAlign(This,p) +#define IHTMLStyle_put_textIndent(This,v) (This)->lpVtbl->put_textIndent(This,v) +#define IHTMLStyle_get_textIndent(This,p) (This)->lpVtbl->get_textIndent(This,p) +#define IHTMLStyle_put_lineHeight(This,v) (This)->lpVtbl->put_lineHeight(This,v) +#define IHTMLStyle_get_lineHeight(This,p) (This)->lpVtbl->get_lineHeight(This,p) +#define IHTMLStyle_put_marginTop(This,v) (This)->lpVtbl->put_marginTop(This,v) +#define IHTMLStyle_get_marginTop(This,p) (This)->lpVtbl->get_marginTop(This,p) +#define IHTMLStyle_put_marginRight(This,v) (This)->lpVtbl->put_marginRight(This,v) +#define IHTMLStyle_get_marginRight(This,p) (This)->lpVtbl->get_marginRight(This,p) +#define IHTMLStyle_put_marginBottom(This,v) (This)->lpVtbl->put_marginBottom(This,v) +#define IHTMLStyle_get_marginBottom(This,p) (This)->lpVtbl->get_marginBottom(This,p) +#define IHTMLStyle_put_marginLeft(This,v) (This)->lpVtbl->put_marginLeft(This,v) +#define IHTMLStyle_get_marginLeft(This,p) (This)->lpVtbl->get_marginLeft(This,p) +#define IHTMLStyle_put_margin(This,v) (This)->lpVtbl->put_margin(This,v) +#define IHTMLStyle_get_margin(This,p) (This)->lpVtbl->get_margin(This,p) +#define IHTMLStyle_put_paddingTop(This,v) (This)->lpVtbl->put_paddingTop(This,v) +#define IHTMLStyle_get_paddingTop(This,p) (This)->lpVtbl->get_paddingTop(This,p) +#define IHTMLStyle_put_paddingRight(This,v) (This)->lpVtbl->put_paddingRight(This,v) +#define IHTMLStyle_get_paddingRight(This,p) (This)->lpVtbl->get_paddingRight(This,p) +#define IHTMLStyle_put_paddingBottom(This,v) (This)->lpVtbl->put_paddingBottom(This,v) +#define IHTMLStyle_get_paddingBottom(This,p) (This)->lpVtbl->get_paddingBottom(This,p) +#define IHTMLStyle_put_paddingLeft(This,v) (This)->lpVtbl->put_paddingLeft(This,v) +#define IHTMLStyle_get_paddingLeft(This,p) (This)->lpVtbl->get_paddingLeft(This,p) +#define IHTMLStyle_put_padding(This,v) (This)->lpVtbl->put_padding(This,v) +#define IHTMLStyle_get_padding(This,p) (This)->lpVtbl->get_padding(This,p) +#define IHTMLStyle_put_border(This,v) (This)->lpVtbl->put_border(This,v) +#define IHTMLStyle_get_border(This,p) (This)->lpVtbl->get_border(This,p) +#define IHTMLStyle_put_borderTop(This,v) (This)->lpVtbl->put_borderTop(This,v) +#define IHTMLStyle_get_borderTop(This,p) (This)->lpVtbl->get_borderTop(This,p) +#define IHTMLStyle_put_borderRight(This,v) (This)->lpVtbl->put_borderRight(This,v) +#define IHTMLStyle_get_borderRight(This,p) (This)->lpVtbl->get_borderRight(This,p) +#define IHTMLStyle_put_borderBottom(This,v) (This)->lpVtbl->put_borderBottom(This,v) +#define IHTMLStyle_get_borderBottom(This,p) (This)->lpVtbl->get_borderBottom(This,p) +#define IHTMLStyle_put_borderLeft(This,v) (This)->lpVtbl->put_borderLeft(This,v) +#define IHTMLStyle_get_borderLeft(This,p) (This)->lpVtbl->get_borderLeft(This,p) +#define IHTMLStyle_put_borderColor(This,v) (This)->lpVtbl->put_borderColor(This,v) +#define IHTMLStyle_get_borderColor(This,p) (This)->lpVtbl->get_borderColor(This,p) +#define IHTMLStyle_put_borderTopColor(This,v) (This)->lpVtbl->put_borderTopColor(This,v) +#define IHTMLStyle_get_borderTopColor(This,p) (This)->lpVtbl->get_borderTopColor(This,p) +#define IHTMLStyle_put_borderRightColor(This,v) (This)->lpVtbl->put_borderRightColor(This,v) +#define IHTMLStyle_get_borderRightColor(This,p) (This)->lpVtbl->get_borderRightColor(This,p) +#define IHTMLStyle_put_borderBottomColor(This,v) (This)->lpVtbl->put_borderBottomColor(This,v) +#define IHTMLStyle_get_borderBottomColor(This,p) (This)->lpVtbl->get_borderBottomColor(This,p) +#define IHTMLStyle_put_borderLeftColor(This,v) (This)->lpVtbl->put_borderLeftColor(This,v) +#define IHTMLStyle_get_borderLeftColor(This,p) (This)->lpVtbl->get_borderLeftColor(This,p) +#define IHTMLStyle_put_borderWidth(This,v) (This)->lpVtbl->put_borderWidth(This,v) +#define IHTMLStyle_get_borderWidth(This,p) (This)->lpVtbl->get_borderWidth(This,p) +#define IHTMLStyle_put_borderTopWidth(This,v) (This)->lpVtbl->put_borderTopWidth(This,v) +#define IHTMLStyle_get_borderTopWidth(This,p) (This)->lpVtbl->get_borderTopWidth(This,p) +#define IHTMLStyle_put_borderRightWidth(This,v) (This)->lpVtbl->put_borderRightWidth(This,v) +#define IHTMLStyle_get_borderRightWidth(This,p) (This)->lpVtbl->get_borderRightWidth(This,p) +#define IHTMLStyle_put_borderBottomWidth(This,v) (This)->lpVtbl->put_borderBottomWidth(This,v) +#define IHTMLStyle_get_borderBottomWidth(This,p) (This)->lpVtbl->get_borderBottomWidth(This,p) +#define IHTMLStyle_put_borderLeftWidth(This,v) (This)->lpVtbl->put_borderLeftWidth(This,v) +#define IHTMLStyle_get_borderLeftWidth(This,p) (This)->lpVtbl->get_borderLeftWidth(This,p) +#define IHTMLStyle_put_borderStyle(This,v) (This)->lpVtbl->put_borderStyle(This,v) +#define IHTMLStyle_get_borderStyle(This,p) (This)->lpVtbl->get_borderStyle(This,p) +#define IHTMLStyle_put_borderTopStyle(This,v) (This)->lpVtbl->put_borderTopStyle(This,v) +#define IHTMLStyle_get_borderTopStyle(This,p) (This)->lpVtbl->get_borderTopStyle(This,p) +#define IHTMLStyle_put_borderRightStyle(This,v) (This)->lpVtbl->put_borderRightStyle(This,v) +#define IHTMLStyle_get_borderRightStyle(This,p) (This)->lpVtbl->get_borderRightStyle(This,p) +#define IHTMLStyle_put_borderBottomStyle(This,v) (This)->lpVtbl->put_borderBottomStyle(This,v) +#define IHTMLStyle_get_borderBottomStyle(This,p) (This)->lpVtbl->get_borderBottomStyle(This,p) +#define IHTMLStyle_put_borderLeftStyle(This,v) (This)->lpVtbl->put_borderLeftStyle(This,v) +#define IHTMLStyle_get_borderLeftStyle(This,p) (This)->lpVtbl->get_borderLeftStyle(This,p) +#define IHTMLStyle_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLStyle_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLStyle_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLStyle_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLStyle_put_styleFloat(This,v) (This)->lpVtbl->put_styleFloat(This,v) +#define IHTMLStyle_get_styleFloat(This,p) (This)->lpVtbl->get_styleFloat(This,p) +#define IHTMLStyle_put_clear(This,v) (This)->lpVtbl->put_clear(This,v) +#define IHTMLStyle_get_clear(This,p) (This)->lpVtbl->get_clear(This,p) +#define IHTMLStyle_put_display(This,v) (This)->lpVtbl->put_display(This,v) +#define IHTMLStyle_get_display(This,p) (This)->lpVtbl->get_display(This,p) +#define IHTMLStyle_put_visibility(This,v) (This)->lpVtbl->put_visibility(This,v) +#define IHTMLStyle_get_visibility(This,p) (This)->lpVtbl->get_visibility(This,p) +#define IHTMLStyle_put_listStyleType(This,v) (This)->lpVtbl->put_listStyleType(This,v) +#define IHTMLStyle_get_listStyleType(This,p) (This)->lpVtbl->get_listStyleType(This,p) +#define IHTMLStyle_put_listStylePosition(This,v) (This)->lpVtbl->put_listStylePosition(This,v) +#define IHTMLStyle_get_listStylePosition(This,p) (This)->lpVtbl->get_listStylePosition(This,p) +#define IHTMLStyle_put_listStyleImage(This,v) (This)->lpVtbl->put_listStyleImage(This,v) +#define IHTMLStyle_get_listStyleImage(This,p) (This)->lpVtbl->get_listStyleImage(This,p) +#define IHTMLStyle_put_listStyle(This,v) (This)->lpVtbl->put_listStyle(This,v) +#define IHTMLStyle_get_listStyle(This,p) (This)->lpVtbl->get_listStyle(This,p) +#define IHTMLStyle_put_whiteSpace(This,v) (This)->lpVtbl->put_whiteSpace(This,v) +#define IHTMLStyle_get_whiteSpace(This,p) (This)->lpVtbl->get_whiteSpace(This,p) +#define IHTMLStyle_put_top(This,v) (This)->lpVtbl->put_top(This,v) +#define IHTMLStyle_get_top(This,p) (This)->lpVtbl->get_top(This,p) +#define IHTMLStyle_put_left(This,v) (This)->lpVtbl->put_left(This,v) +#define IHTMLStyle_get_left(This,p) (This)->lpVtbl->get_left(This,p) +#define IHTMLStyle_get_position(This,p) (This)->lpVtbl->get_position(This,p) +#define IHTMLStyle_put_zIndex(This,v) (This)->lpVtbl->put_zIndex(This,v) +#define IHTMLStyle_get_zIndex(This,p) (This)->lpVtbl->get_zIndex(This,p) +#define IHTMLStyle_put_overflow(This,v) (This)->lpVtbl->put_overflow(This,v) +#define IHTMLStyle_get_overflow(This,p) (This)->lpVtbl->get_overflow(This,p) +#define IHTMLStyle_put_pageBreakBefore(This,v) (This)->lpVtbl->put_pageBreakBefore(This,v) +#define IHTMLStyle_get_pageBreakBefore(This,p) (This)->lpVtbl->get_pageBreakBefore(This,p) +#define IHTMLStyle_put_pageBreakAfter(This,v) (This)->lpVtbl->put_pageBreakAfter(This,v) +#define IHTMLStyle_get_pageBreakAfter(This,p) (This)->lpVtbl->get_pageBreakAfter(This,p) +#define IHTMLStyle_put_cssText(This,v) (This)->lpVtbl->put_cssText(This,v) +#define IHTMLStyle_get_cssText(This,p) (This)->lpVtbl->get_cssText(This,p) +#define IHTMLStyle_put_pixelTop(This,v) (This)->lpVtbl->put_pixelTop(This,v) +#define IHTMLStyle_get_pixelTop(This,p) (This)->lpVtbl->get_pixelTop(This,p) +#define IHTMLStyle_put_pixelLeft(This,v) (This)->lpVtbl->put_pixelLeft(This,v) +#define IHTMLStyle_get_pixelLeft(This,p) (This)->lpVtbl->get_pixelLeft(This,p) +#define IHTMLStyle_put_pixelWidth(This,v) (This)->lpVtbl->put_pixelWidth(This,v) +#define IHTMLStyle_get_pixelWidth(This,p) (This)->lpVtbl->get_pixelWidth(This,p) +#define IHTMLStyle_put_pixelHeight(This,v) (This)->lpVtbl->put_pixelHeight(This,v) +#define IHTMLStyle_get_pixelHeight(This,p) (This)->lpVtbl->get_pixelHeight(This,p) +#define IHTMLStyle_put_posTop(This,v) (This)->lpVtbl->put_posTop(This,v) +#define IHTMLStyle_get_posTop(This,p) (This)->lpVtbl->get_posTop(This,p) +#define IHTMLStyle_put_posLeft(This,v) (This)->lpVtbl->put_posLeft(This,v) +#define IHTMLStyle_get_posLeft(This,p) (This)->lpVtbl->get_posLeft(This,p) +#define IHTMLStyle_put_posWidth(This,v) (This)->lpVtbl->put_posWidth(This,v) +#define IHTMLStyle_get_posWidth(This,p) (This)->lpVtbl->get_posWidth(This,p) +#define IHTMLStyle_put_posHeight(This,v) (This)->lpVtbl->put_posHeight(This,v) +#define IHTMLStyle_get_posHeight(This,p) (This)->lpVtbl->get_posHeight(This,p) +#define IHTMLStyle_put_cursor(This,v) (This)->lpVtbl->put_cursor(This,v) +#define IHTMLStyle_get_cursor(This,p) (This)->lpVtbl->get_cursor(This,p) +#define IHTMLStyle_put_clip(This,v) (This)->lpVtbl->put_clip(This,v) +#define IHTMLStyle_get_clip(This,p) (This)->lpVtbl->get_clip(This,p) +#define IHTMLStyle_put_filter(This,v) (This)->lpVtbl->put_filter(This,v) +#define IHTMLStyle_get_filter(This,p) (This)->lpVtbl->get_filter(This,p) +#define IHTMLStyle_setAttribute(This,strAttributeName,AttributeValue,lFlags) (This)->lpVtbl->setAttribute(This,strAttributeName,AttributeValue,lFlags) +#define IHTMLStyle_getAttribute(This,strAttributeName,lFlags,AttributeValue) (This)->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue) +#define IHTMLStyle_removeAttribute(This,strAttributeName,lFlags,pfSuccess) (This)->lpVtbl->removeAttribute(This,strAttributeName,lFlags,pfSuccess) +#define IHTMLStyle_toString(This,String) (This)->lpVtbl->toString(This,String) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyle_QueryInterface(IHTMLStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyle_AddRef(IHTMLStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyle_Release(IHTMLStyle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyle_GetTypeInfoCount(IHTMLStyle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyle_GetTypeInfo(IHTMLStyle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyle_GetIDsOfNames(IHTMLStyle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyle_Invoke(IHTMLStyle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyle methods ***/ +static FORCEINLINE HRESULT IHTMLStyle_put_fontFamily(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_fontFamily(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_fontFamily(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_fontFamily(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_fontStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_fontStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_fontStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_fontStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_fontVariant(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_fontVariant(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_fontVariant(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_fontVariant(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_fontWeight(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_fontWeight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_fontWeight(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_fontWeight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_fontSize(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_fontSize(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_fontSize(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_fontSize(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_font(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_font(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_font(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_font(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_color(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_color(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_color(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_color(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_background(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_background(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_background(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_background(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundColor(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_backgroundColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundColor(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundImage(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundImage(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundImage(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundImage(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundRepeat(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundRepeat(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundRepeat(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundRepeat(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundAttachment(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundAttachment(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundAttachment(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundAttachment(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundPosition(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundPosition(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundPosition(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundPosition(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundPositionX(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_backgroundPositionX(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundPositionX(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundPositionX(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_backgroundPositionY(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_backgroundPositionY(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_backgroundPositionY(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundPositionY(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_wordSpacing(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_wordSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_wordSpacing(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_wordSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_letterSpacing(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_letterSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_letterSpacing(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_letterSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textDecoration(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_textDecoration(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textDecoration(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_textDecoration(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textDecorationNone(IHTMLStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationNone(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textDecorationNone(IHTMLStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationNone(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textDecorationUnderline(IHTMLStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationUnderline(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textDecorationUnderline(IHTMLStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationUnderline(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textDecorationOverline(IHTMLStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationOverline(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textDecorationOverline(IHTMLStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationOverline(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textDecorationLineThrough(IHTMLStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationLineThrough(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textDecorationLineThrough(IHTMLStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationLineThrough(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textDecorationBlink(IHTMLStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationBlink(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textDecorationBlink(IHTMLStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationBlink(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_verticalAlign(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_verticalAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_verticalAlign(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_verticalAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textTransform(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_textTransform(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textTransform(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_textTransform(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textAlign(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_textAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textAlign(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_textAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_textIndent(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_textIndent(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_textIndent(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_textIndent(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_lineHeight(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_lineHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_lineHeight(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_lineHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_marginTop(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_marginTop(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_marginTop(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginTop(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_marginRight(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_marginRight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_marginRight(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginRight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_marginBottom(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_marginBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_marginBottom(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_marginLeft(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_marginLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_marginLeft(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_margin(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_margin(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_margin(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_margin(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_paddingTop(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingTop(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_paddingTop(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingTop(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_paddingRight(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingRight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_paddingRight(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingRight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_paddingBottom(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_paddingBottom(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_paddingLeft(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_paddingLeft(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_padding(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_padding(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_padding(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_padding(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_border(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_border(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_border(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_border(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderTop(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderTop(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderTop(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderTop(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderRight(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderRight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderRight(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderRight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderBottom(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderBottom(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderLeft(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderLeft(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderColor(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderColor(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderTopColor(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderTopColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderTopColor(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderTopColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderRightColor(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderRightColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderRightColor(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderRightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderBottomColor(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderBottomColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderBottomColor(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderBottomColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderLeftColor(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderLeftColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderLeftColor(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderLeftColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderWidth(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderWidth(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderTopWidth(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderTopWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderTopWidth(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderTopWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderRightWidth(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderRightWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderRightWidth(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderRightWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderBottomWidth(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderBottomWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderBottomWidth(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderBottomWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderLeftWidth(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_borderLeftWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderLeftWidth(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderLeftWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderTopStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderTopStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderTopStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderTopStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderRightStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderRightStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderRightStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderRightStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderBottomStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderBottomStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderBottomStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderBottomStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_borderLeftStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_borderLeftStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_borderLeftStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_borderLeftStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_width(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_width(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_height(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_height(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_styleFloat(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_styleFloat(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_styleFloat(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_styleFloat(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_clear(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_clear(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_clear(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_clear(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_display(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_display(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_display(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_display(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_visibility(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_visibility(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_visibility(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_visibility(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_listStyleType(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_listStyleType(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_listStyleType(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyleType(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_listStylePosition(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_listStylePosition(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_listStylePosition(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_listStylePosition(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_listStyleImage(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_listStyleImage(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_listStyleImage(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyleImage(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_listStyle(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_listStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_listStyle(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_whiteSpace(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_whiteSpace(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_whiteSpace(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_whiteSpace(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_top(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_top(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_top(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_top(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_left(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_left(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_left(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_left(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_get_position(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_position(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_zIndex(IHTMLStyle* This,VARIANT v) { + return This->lpVtbl->put_zIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_zIndex(IHTMLStyle* This,VARIANT *p) { + return This->lpVtbl->get_zIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_overflow(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_overflow(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_overflow(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_overflow(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_pageBreakBefore(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_pageBreakBefore(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_pageBreakBefore(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_pageBreakBefore(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_pageBreakAfter(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_pageBreakAfter(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_pageBreakAfter(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_pageBreakAfter(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_cssText(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_cssText(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_cssText(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_cssText(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_pixelTop(IHTMLStyle* This,LONG v) { + return This->lpVtbl->put_pixelTop(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_pixelTop(IHTMLStyle* This,LONG *p) { + return This->lpVtbl->get_pixelTop(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_pixelLeft(IHTMLStyle* This,LONG v) { + return This->lpVtbl->put_pixelLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_pixelLeft(IHTMLStyle* This,LONG *p) { + return This->lpVtbl->get_pixelLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_pixelWidth(IHTMLStyle* This,LONG v) { + return This->lpVtbl->put_pixelWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_pixelWidth(IHTMLStyle* This,LONG *p) { + return This->lpVtbl->get_pixelWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_pixelHeight(IHTMLStyle* This,LONG v) { + return This->lpVtbl->put_pixelHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_pixelHeight(IHTMLStyle* This,LONG *p) { + return This->lpVtbl->get_pixelHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_posTop(IHTMLStyle* This,float v) { + return This->lpVtbl->put_posTop(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_posTop(IHTMLStyle* This,float *p) { + return This->lpVtbl->get_posTop(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_posLeft(IHTMLStyle* This,float v) { + return This->lpVtbl->put_posLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_posLeft(IHTMLStyle* This,float *p) { + return This->lpVtbl->get_posLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_posWidth(IHTMLStyle* This,float v) { + return This->lpVtbl->put_posWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_posWidth(IHTMLStyle* This,float *p) { + return This->lpVtbl->get_posWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_posHeight(IHTMLStyle* This,float v) { + return This->lpVtbl->put_posHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_posHeight(IHTMLStyle* This,float *p) { + return This->lpVtbl->get_posHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_cursor(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_cursor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_cursor(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_cursor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_clip(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_clip(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_clip(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_clip(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_put_filter(IHTMLStyle* This,BSTR v) { + return This->lpVtbl->put_filter(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle_get_filter(IHTMLStyle* This,BSTR *p) { + return This->lpVtbl->get_filter(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle_setAttribute(IHTMLStyle* This,BSTR strAttributeName,VARIANT AttributeValue,LONG lFlags) { + return This->lpVtbl->setAttribute(This,strAttributeName,AttributeValue,lFlags); +} +static FORCEINLINE HRESULT IHTMLStyle_getAttribute(IHTMLStyle* This,BSTR strAttributeName,LONG lFlags,VARIANT *AttributeValue) { + return This->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue); +} +static FORCEINLINE HRESULT IHTMLStyle_removeAttribute(IHTMLStyle* This,BSTR strAttributeName,LONG lFlags,VARIANT_BOOL *pfSuccess) { + return This->lpVtbl->removeAttribute(This,strAttributeName,lFlags,pfSuccess); +} +static FORCEINLINE HRESULT IHTMLStyle_toString(IHTMLStyle* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyle2 interface + */ +#ifndef __IHTMLStyle2_INTERFACE_DEFINED__ +#define __IHTMLStyle2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyle2, 0x3050f4a2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4a2-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyle2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_tableLayout( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tableLayout( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderCollapse( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderCollapse( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_direction( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_direction( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_behavior( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_behavior( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setExpression( + BSTR propname, + BSTR expression, + BSTR language = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE getExpression( + BSTR propname, + VARIANT *expression) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeExpression( + BSTR propname, + VARIANT_BOOL *pfSuccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_position( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_position( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_unicodeBidi( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_unicodeBidi( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bottom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_right( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_right( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pixelBottom( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pixelBottom( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pixelRight( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pixelRight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_posBottom( + float v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_posBottom( + float *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_posRight( + float v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_posRight( + float *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_imeMode( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_imeMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rubyAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rubyAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rubyPosition( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rubyPosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rubyOverhang( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rubyOverhang( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_layoutGridChar( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridChar( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_layoutGridLine( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridLine( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_layoutGridMode( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_layoutGridType( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_layoutGrid( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGrid( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_wordBreak( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordBreak( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_lineBreak( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineBreak( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textJustify( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textJustify( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textJustifyTrim( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textJustifyTrim( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textKashida( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textKashida( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textAutospace( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAutospace( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_overflowX( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflowX( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_overflowY( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflowY( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accelerator( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accelerator( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyle2, 0x3050f4a2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyle2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyle2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyle2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyle2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyle2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyle2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyle2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyle2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyle2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_tableLayout)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_tableLayout)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderCollapse)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderCollapse)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_direction)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_direction)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_behavior)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_behavior)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *setExpression)( + IHTMLStyle2 *This, + BSTR propname, + BSTR expression, + BSTR language); + + HRESULT (STDMETHODCALLTYPE *getExpression)( + IHTMLStyle2 *This, + BSTR propname, + VARIANT *expression); + + HRESULT (STDMETHODCALLTYPE *removeExpression)( + IHTMLStyle2 *This, + BSTR propname, + VARIANT_BOOL *pfSuccess); + + HRESULT (STDMETHODCALLTYPE *put_position)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_position)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_unicodeBidi)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_unicodeBidi)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_bottom)( + IHTMLStyle2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bottom)( + IHTMLStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_right)( + IHTMLStyle2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_right)( + IHTMLStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_pixelBottom)( + IHTMLStyle2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_pixelBottom)( + IHTMLStyle2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_pixelRight)( + IHTMLStyle2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_pixelRight)( + IHTMLStyle2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_posBottom)( + IHTMLStyle2 *This, + float v); + + HRESULT (STDMETHODCALLTYPE *get_posBottom)( + IHTMLStyle2 *This, + float *p); + + HRESULT (STDMETHODCALLTYPE *put_posRight)( + IHTMLStyle2 *This, + float v); + + HRESULT (STDMETHODCALLTYPE *get_posRight)( + IHTMLStyle2 *This, + float *p); + + HRESULT (STDMETHODCALLTYPE *put_imeMode)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_imeMode)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rubyAlign)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rubyAlign)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rubyPosition)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rubyPosition)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rubyOverhang)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rubyOverhang)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_layoutGridChar)( + IHTMLStyle2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridChar)( + IHTMLStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_layoutGridLine)( + IHTMLStyle2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridLine)( + IHTMLStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_layoutGridMode)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridMode)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_layoutGridType)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridType)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_layoutGrid)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_layoutGrid)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_wordBreak)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_wordBreak)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_lineBreak)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_lineBreak)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textJustify)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textJustify)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textJustifyTrim)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textJustifyTrim)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textKashida)( + IHTMLStyle2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textKashida)( + IHTMLStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textAutospace)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textAutospace)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_overflowX)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_overflowX)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_overflowY)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_overflowY)( + IHTMLStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_accelerator)( + IHTMLStyle2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_accelerator)( + IHTMLStyle2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLStyle2Vtbl; + +interface IHTMLStyle2 { + CONST_VTBL IHTMLStyle2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyle2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyle2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyle2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyle2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyle2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyle2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyle2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyle2 methods ***/ +#define IHTMLStyle2_put_tableLayout(This,v) (This)->lpVtbl->put_tableLayout(This,v) +#define IHTMLStyle2_get_tableLayout(This,p) (This)->lpVtbl->get_tableLayout(This,p) +#define IHTMLStyle2_put_borderCollapse(This,v) (This)->lpVtbl->put_borderCollapse(This,v) +#define IHTMLStyle2_get_borderCollapse(This,p) (This)->lpVtbl->get_borderCollapse(This,p) +#define IHTMLStyle2_put_direction(This,v) (This)->lpVtbl->put_direction(This,v) +#define IHTMLStyle2_get_direction(This,p) (This)->lpVtbl->get_direction(This,p) +#define IHTMLStyle2_put_behavior(This,v) (This)->lpVtbl->put_behavior(This,v) +#define IHTMLStyle2_get_behavior(This,p) (This)->lpVtbl->get_behavior(This,p) +#define IHTMLStyle2_setExpression(This,propname,expression,language) (This)->lpVtbl->setExpression(This,propname,expression,language) +#define IHTMLStyle2_getExpression(This,propname,expression) (This)->lpVtbl->getExpression(This,propname,expression) +#define IHTMLStyle2_removeExpression(This,propname,pfSuccess) (This)->lpVtbl->removeExpression(This,propname,pfSuccess) +#define IHTMLStyle2_put_position(This,v) (This)->lpVtbl->put_position(This,v) +#define IHTMLStyle2_get_position(This,p) (This)->lpVtbl->get_position(This,p) +#define IHTMLStyle2_put_unicodeBidi(This,v) (This)->lpVtbl->put_unicodeBidi(This,v) +#define IHTMLStyle2_get_unicodeBidi(This,p) (This)->lpVtbl->get_unicodeBidi(This,p) +#define IHTMLStyle2_put_bottom(This,v) (This)->lpVtbl->put_bottom(This,v) +#define IHTMLStyle2_get_bottom(This,p) (This)->lpVtbl->get_bottom(This,p) +#define IHTMLStyle2_put_right(This,v) (This)->lpVtbl->put_right(This,v) +#define IHTMLStyle2_get_right(This,p) (This)->lpVtbl->get_right(This,p) +#define IHTMLStyle2_put_pixelBottom(This,v) (This)->lpVtbl->put_pixelBottom(This,v) +#define IHTMLStyle2_get_pixelBottom(This,p) (This)->lpVtbl->get_pixelBottom(This,p) +#define IHTMLStyle2_put_pixelRight(This,v) (This)->lpVtbl->put_pixelRight(This,v) +#define IHTMLStyle2_get_pixelRight(This,p) (This)->lpVtbl->get_pixelRight(This,p) +#define IHTMLStyle2_put_posBottom(This,v) (This)->lpVtbl->put_posBottom(This,v) +#define IHTMLStyle2_get_posBottom(This,p) (This)->lpVtbl->get_posBottom(This,p) +#define IHTMLStyle2_put_posRight(This,v) (This)->lpVtbl->put_posRight(This,v) +#define IHTMLStyle2_get_posRight(This,p) (This)->lpVtbl->get_posRight(This,p) +#define IHTMLStyle2_put_imeMode(This,v) (This)->lpVtbl->put_imeMode(This,v) +#define IHTMLStyle2_get_imeMode(This,p) (This)->lpVtbl->get_imeMode(This,p) +#define IHTMLStyle2_put_rubyAlign(This,v) (This)->lpVtbl->put_rubyAlign(This,v) +#define IHTMLStyle2_get_rubyAlign(This,p) (This)->lpVtbl->get_rubyAlign(This,p) +#define IHTMLStyle2_put_rubyPosition(This,v) (This)->lpVtbl->put_rubyPosition(This,v) +#define IHTMLStyle2_get_rubyPosition(This,p) (This)->lpVtbl->get_rubyPosition(This,p) +#define IHTMLStyle2_put_rubyOverhang(This,v) (This)->lpVtbl->put_rubyOverhang(This,v) +#define IHTMLStyle2_get_rubyOverhang(This,p) (This)->lpVtbl->get_rubyOverhang(This,p) +#define IHTMLStyle2_put_layoutGridChar(This,v) (This)->lpVtbl->put_layoutGridChar(This,v) +#define IHTMLStyle2_get_layoutGridChar(This,p) (This)->lpVtbl->get_layoutGridChar(This,p) +#define IHTMLStyle2_put_layoutGridLine(This,v) (This)->lpVtbl->put_layoutGridLine(This,v) +#define IHTMLStyle2_get_layoutGridLine(This,p) (This)->lpVtbl->get_layoutGridLine(This,p) +#define IHTMLStyle2_put_layoutGridMode(This,v) (This)->lpVtbl->put_layoutGridMode(This,v) +#define IHTMLStyle2_get_layoutGridMode(This,p) (This)->lpVtbl->get_layoutGridMode(This,p) +#define IHTMLStyle2_put_layoutGridType(This,v) (This)->lpVtbl->put_layoutGridType(This,v) +#define IHTMLStyle2_get_layoutGridType(This,p) (This)->lpVtbl->get_layoutGridType(This,p) +#define IHTMLStyle2_put_layoutGrid(This,v) (This)->lpVtbl->put_layoutGrid(This,v) +#define IHTMLStyle2_get_layoutGrid(This,p) (This)->lpVtbl->get_layoutGrid(This,p) +#define IHTMLStyle2_put_wordBreak(This,v) (This)->lpVtbl->put_wordBreak(This,v) +#define IHTMLStyle2_get_wordBreak(This,p) (This)->lpVtbl->get_wordBreak(This,p) +#define IHTMLStyle2_put_lineBreak(This,v) (This)->lpVtbl->put_lineBreak(This,v) +#define IHTMLStyle2_get_lineBreak(This,p) (This)->lpVtbl->get_lineBreak(This,p) +#define IHTMLStyle2_put_textJustify(This,v) (This)->lpVtbl->put_textJustify(This,v) +#define IHTMLStyle2_get_textJustify(This,p) (This)->lpVtbl->get_textJustify(This,p) +#define IHTMLStyle2_put_textJustifyTrim(This,v) (This)->lpVtbl->put_textJustifyTrim(This,v) +#define IHTMLStyle2_get_textJustifyTrim(This,p) (This)->lpVtbl->get_textJustifyTrim(This,p) +#define IHTMLStyle2_put_textKashida(This,v) (This)->lpVtbl->put_textKashida(This,v) +#define IHTMLStyle2_get_textKashida(This,p) (This)->lpVtbl->get_textKashida(This,p) +#define IHTMLStyle2_put_textAutospace(This,v) (This)->lpVtbl->put_textAutospace(This,v) +#define IHTMLStyle2_get_textAutospace(This,p) (This)->lpVtbl->get_textAutospace(This,p) +#define IHTMLStyle2_put_overflowX(This,v) (This)->lpVtbl->put_overflowX(This,v) +#define IHTMLStyle2_get_overflowX(This,p) (This)->lpVtbl->get_overflowX(This,p) +#define IHTMLStyle2_put_overflowY(This,v) (This)->lpVtbl->put_overflowY(This,v) +#define IHTMLStyle2_get_overflowY(This,p) (This)->lpVtbl->get_overflowY(This,p) +#define IHTMLStyle2_put_accelerator(This,v) (This)->lpVtbl->put_accelerator(This,v) +#define IHTMLStyle2_get_accelerator(This,p) (This)->lpVtbl->get_accelerator(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyle2_QueryInterface(IHTMLStyle2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyle2_AddRef(IHTMLStyle2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyle2_Release(IHTMLStyle2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyle2_GetTypeInfoCount(IHTMLStyle2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyle2_GetTypeInfo(IHTMLStyle2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyle2_GetIDsOfNames(IHTMLStyle2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyle2_Invoke(IHTMLStyle2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyle2 methods ***/ +static FORCEINLINE HRESULT IHTMLStyle2_put_tableLayout(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_tableLayout(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_tableLayout(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_tableLayout(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_borderCollapse(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_borderCollapse(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_borderCollapse(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_borderCollapse(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_direction(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_direction(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_direction(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_direction(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_behavior(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_behavior(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_behavior(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_behavior(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_setExpression(IHTMLStyle2* This,BSTR propname,BSTR expression,BSTR language) { + return This->lpVtbl->setExpression(This,propname,expression,language); +} +static FORCEINLINE HRESULT IHTMLStyle2_getExpression(IHTMLStyle2* This,BSTR propname,VARIANT *expression) { + return This->lpVtbl->getExpression(This,propname,expression); +} +static FORCEINLINE HRESULT IHTMLStyle2_removeExpression(IHTMLStyle2* This,BSTR propname,VARIANT_BOOL *pfSuccess) { + return This->lpVtbl->removeExpression(This,propname,pfSuccess); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_position(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_position(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_position(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_position(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_unicodeBidi(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_unicodeBidi(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_unicodeBidi(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_unicodeBidi(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_bottom(IHTMLStyle2* This,VARIANT v) { + return This->lpVtbl->put_bottom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_bottom(IHTMLStyle2* This,VARIANT *p) { + return This->lpVtbl->get_bottom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_right(IHTMLStyle2* This,VARIANT v) { + return This->lpVtbl->put_right(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_right(IHTMLStyle2* This,VARIANT *p) { + return This->lpVtbl->get_right(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_pixelBottom(IHTMLStyle2* This,LONG v) { + return This->lpVtbl->put_pixelBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_pixelBottom(IHTMLStyle2* This,LONG *p) { + return This->lpVtbl->get_pixelBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_pixelRight(IHTMLStyle2* This,LONG v) { + return This->lpVtbl->put_pixelRight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_pixelRight(IHTMLStyle2* This,LONG *p) { + return This->lpVtbl->get_pixelRight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_posBottom(IHTMLStyle2* This,float v) { + return This->lpVtbl->put_posBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_posBottom(IHTMLStyle2* This,float *p) { + return This->lpVtbl->get_posBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_posRight(IHTMLStyle2* This,float v) { + return This->lpVtbl->put_posRight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_posRight(IHTMLStyle2* This,float *p) { + return This->lpVtbl->get_posRight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_imeMode(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_imeMode(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_imeMode(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_imeMode(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_rubyAlign(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_rubyAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_rubyAlign(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_rubyAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_rubyPosition(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_rubyPosition(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_rubyPosition(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_rubyPosition(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_rubyOverhang(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_rubyOverhang(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_rubyOverhang(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_rubyOverhang(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_layoutGridChar(IHTMLStyle2* This,VARIANT v) { + return This->lpVtbl->put_layoutGridChar(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_layoutGridChar(IHTMLStyle2* This,VARIANT *p) { + return This->lpVtbl->get_layoutGridChar(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_layoutGridLine(IHTMLStyle2* This,VARIANT v) { + return This->lpVtbl->put_layoutGridLine(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_layoutGridLine(IHTMLStyle2* This,VARIANT *p) { + return This->lpVtbl->get_layoutGridLine(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_layoutGridMode(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_layoutGridMode(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_layoutGridMode(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_layoutGridMode(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_layoutGridType(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_layoutGridType(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_layoutGridType(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_layoutGridType(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_layoutGrid(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_layoutGrid(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_layoutGrid(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_layoutGrid(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_wordBreak(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_wordBreak(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_wordBreak(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_wordBreak(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_lineBreak(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_lineBreak(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_lineBreak(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_lineBreak(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_textJustify(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_textJustify(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_textJustify(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_textJustify(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_textJustifyTrim(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_textJustifyTrim(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_textJustifyTrim(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_textJustifyTrim(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_textKashida(IHTMLStyle2* This,VARIANT v) { + return This->lpVtbl->put_textKashida(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_textKashida(IHTMLStyle2* This,VARIANT *p) { + return This->lpVtbl->get_textKashida(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_textAutospace(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_textAutospace(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_textAutospace(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_textAutospace(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_overflowX(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_overflowX(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_overflowX(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_overflowX(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_overflowY(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_overflowY(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_overflowY(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_overflowY(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle2_put_accelerator(IHTMLStyle2* This,BSTR v) { + return This->lpVtbl->put_accelerator(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle2_get_accelerator(IHTMLStyle2* This,BSTR *p) { + return This->lpVtbl->get_accelerator(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyle2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLRuleStyle interface + */ +#ifndef __IHTMLRuleStyle_INTERFACE_DEFINED__ +#define __IHTMLRuleStyle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLRuleStyle, 0x3050f3cf, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3cf-98b5-11cf-bb82-00aa00bdce0b") +IHTMLRuleStyle : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_fontFamily( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontFamily( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontVariant( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontVariant( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontWeight( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontWeight( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fontSize( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontSize( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_font( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_font( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_color( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_color( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_background( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_background( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundImage( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundImage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundRepeat( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundRepeat( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundAttachment( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundAttachment( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundPosition( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundPositionX( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPositionX( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_backgroundPositionY( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPositionY( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_wordSpacing( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_letterSpacing( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_letterSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecoration( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecoration( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationNone( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationNone( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationUnderline( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationUnderline( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationOverline( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationOverline( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationLineThrough( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationLineThrough( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationBlink( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationBlink( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_verticalAlign( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_verticalAlign( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textTransform( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textTransform( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textIndent( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textIndent( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_lineHeight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginTop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginRight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginBottom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginLeft( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_margin( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_margin( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingTop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingRight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingBottom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_paddingLeft( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_padding( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_padding( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_border( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_border( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTop( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTop( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRight( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRight( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottom( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottom( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeft( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeft( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColor( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTopColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRightColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottomColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeftColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderWidth( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderWidth( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTopWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRightWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottomWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeftWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderTopStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderRightStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderBottomStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderLeftStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_styleFloat( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_styleFloat( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_clear( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clear( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_display( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_display( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_visibility( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_visibility( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStyleType( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyleType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStylePosition( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStylePosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStyleImage( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyleImage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_listStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_whiteSpace( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_whiteSpace( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_top( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_top( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_left( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_left( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_position( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_zIndex( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_zIndex( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_overflow( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pageBreakBefore( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakBefore( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pageBreakAfter( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakAfter( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cssText( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cssText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cursor( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cursor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_clip( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clip( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_filter( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filter( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strAttributeName, + VARIANT AttributeValue, + LONG lFlags = 1) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT_BOOL *pfSuccess) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLRuleStyle, 0x3050f3cf, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLRuleStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLRuleStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLRuleStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLRuleStyle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLRuleStyle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLRuleStyle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLRuleStyle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLRuleStyle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLRuleStyle methods ***/ + HRESULT (STDMETHODCALLTYPE *put_fontFamily)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontFamily)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontVariant)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontVariant)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontWeight)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_fontWeight)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_fontSize)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_fontSize)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_font)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_font)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_color)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_color)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_background)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_background)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundColor)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundColor)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundImage)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundImage)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundRepeat)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundRepeat)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundAttachment)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundAttachment)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundPosition)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPosition)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundPositionX)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPositionX)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_backgroundPositionY)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPositionY)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_wordSpacing)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_wordSpacing)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_letterSpacing)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_letterSpacing)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecoration)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textDecoration)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationNone)( + IHTMLRuleStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationNone)( + IHTMLRuleStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationUnderline)( + IHTMLRuleStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationUnderline)( + IHTMLRuleStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationOverline)( + IHTMLRuleStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationOverline)( + IHTMLRuleStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationLineThrough)( + IHTMLRuleStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationLineThrough)( + IHTMLRuleStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationBlink)( + IHTMLRuleStyle *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationBlink)( + IHTMLRuleStyle *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_verticalAlign)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_verticalAlign)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textTransform)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textTransform)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textAlign)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textAlign)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textIndent)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textIndent)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_lineHeight)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_lineHeight)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginTop)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginTop)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginRight)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginRight)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginBottom)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginBottom)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginLeft)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginLeft)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_margin)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_margin)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingTop)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingTop)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingRight)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingRight)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingBottom)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingBottom)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_paddingLeft)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_paddingLeft)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_padding)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_padding)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_border)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_border)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTop)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderTop)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRight)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderRight)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottom)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottom)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeft)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeft)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColor)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderColor)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTopColor)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderTopColor)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRightColor)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderRightColor)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottomColor)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomColor)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeftColor)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftColor)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderWidth)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderWidth)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTopWidth)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderTopWidth)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRightWidth)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderRightWidth)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottomWidth)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomWidth)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeftWidth)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftWidth)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderTopStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderTopStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderRightStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderRightStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderBottomStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderLeftStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_styleFloat)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_styleFloat)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_clear)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_clear)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_display)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_display)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_visibility)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_visibility)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStyleType)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStyleType)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStylePosition)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStylePosition)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStyleImage)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStyleImage)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_listStyle)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_listStyle)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_whiteSpace)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_whiteSpace)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_top)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_top)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_left)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_left)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_position)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_zIndex)( + IHTMLRuleStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_zIndex)( + IHTMLRuleStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_overflow)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_overflow)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pageBreakBefore)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakBefore)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pageBreakAfter)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakAfter)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_cssText)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_cssText)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_cursor)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_cursor)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_clip)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_clip)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_filter)( + IHTMLRuleStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_filter)( + IHTMLRuleStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IHTMLRuleStyle *This, + BSTR strAttributeName, + VARIANT AttributeValue, + LONG lFlags); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IHTMLRuleStyle *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IHTMLRuleStyle *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT_BOOL *pfSuccess); + + END_INTERFACE +} IHTMLRuleStyleVtbl; + +interface IHTMLRuleStyle { + CONST_VTBL IHTMLRuleStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLRuleStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLRuleStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLRuleStyle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLRuleStyle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLRuleStyle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLRuleStyle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLRuleStyle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLRuleStyle methods ***/ +#define IHTMLRuleStyle_put_fontFamily(This,v) (This)->lpVtbl->put_fontFamily(This,v) +#define IHTMLRuleStyle_get_fontFamily(This,p) (This)->lpVtbl->get_fontFamily(This,p) +#define IHTMLRuleStyle_put_fontStyle(This,v) (This)->lpVtbl->put_fontStyle(This,v) +#define IHTMLRuleStyle_get_fontStyle(This,p) (This)->lpVtbl->get_fontStyle(This,p) +#define IHTMLRuleStyle_put_fontVariant(This,v) (This)->lpVtbl->put_fontVariant(This,v) +#define IHTMLRuleStyle_get_fontVariant(This,p) (This)->lpVtbl->get_fontVariant(This,p) +#define IHTMLRuleStyle_put_fontWeight(This,v) (This)->lpVtbl->put_fontWeight(This,v) +#define IHTMLRuleStyle_get_fontWeight(This,p) (This)->lpVtbl->get_fontWeight(This,p) +#define IHTMLRuleStyle_put_fontSize(This,v) (This)->lpVtbl->put_fontSize(This,v) +#define IHTMLRuleStyle_get_fontSize(This,p) (This)->lpVtbl->get_fontSize(This,p) +#define IHTMLRuleStyle_put_font(This,v) (This)->lpVtbl->put_font(This,v) +#define IHTMLRuleStyle_get_font(This,p) (This)->lpVtbl->get_font(This,p) +#define IHTMLRuleStyle_put_color(This,v) (This)->lpVtbl->put_color(This,v) +#define IHTMLRuleStyle_get_color(This,p) (This)->lpVtbl->get_color(This,p) +#define IHTMLRuleStyle_put_background(This,v) (This)->lpVtbl->put_background(This,v) +#define IHTMLRuleStyle_get_background(This,p) (This)->lpVtbl->get_background(This,p) +#define IHTMLRuleStyle_put_backgroundColor(This,v) (This)->lpVtbl->put_backgroundColor(This,v) +#define IHTMLRuleStyle_get_backgroundColor(This,p) (This)->lpVtbl->get_backgroundColor(This,p) +#define IHTMLRuleStyle_put_backgroundImage(This,v) (This)->lpVtbl->put_backgroundImage(This,v) +#define IHTMLRuleStyle_get_backgroundImage(This,p) (This)->lpVtbl->get_backgroundImage(This,p) +#define IHTMLRuleStyle_put_backgroundRepeat(This,v) (This)->lpVtbl->put_backgroundRepeat(This,v) +#define IHTMLRuleStyle_get_backgroundRepeat(This,p) (This)->lpVtbl->get_backgroundRepeat(This,p) +#define IHTMLRuleStyle_put_backgroundAttachment(This,v) (This)->lpVtbl->put_backgroundAttachment(This,v) +#define IHTMLRuleStyle_get_backgroundAttachment(This,p) (This)->lpVtbl->get_backgroundAttachment(This,p) +#define IHTMLRuleStyle_put_backgroundPosition(This,v) (This)->lpVtbl->put_backgroundPosition(This,v) +#define IHTMLRuleStyle_get_backgroundPosition(This,p) (This)->lpVtbl->get_backgroundPosition(This,p) +#define IHTMLRuleStyle_put_backgroundPositionX(This,v) (This)->lpVtbl->put_backgroundPositionX(This,v) +#define IHTMLRuleStyle_get_backgroundPositionX(This,p) (This)->lpVtbl->get_backgroundPositionX(This,p) +#define IHTMLRuleStyle_put_backgroundPositionY(This,v) (This)->lpVtbl->put_backgroundPositionY(This,v) +#define IHTMLRuleStyle_get_backgroundPositionY(This,p) (This)->lpVtbl->get_backgroundPositionY(This,p) +#define IHTMLRuleStyle_put_wordSpacing(This,v) (This)->lpVtbl->put_wordSpacing(This,v) +#define IHTMLRuleStyle_get_wordSpacing(This,p) (This)->lpVtbl->get_wordSpacing(This,p) +#define IHTMLRuleStyle_put_letterSpacing(This,v) (This)->lpVtbl->put_letterSpacing(This,v) +#define IHTMLRuleStyle_get_letterSpacing(This,p) (This)->lpVtbl->get_letterSpacing(This,p) +#define IHTMLRuleStyle_put_textDecoration(This,v) (This)->lpVtbl->put_textDecoration(This,v) +#define IHTMLRuleStyle_get_textDecoration(This,p) (This)->lpVtbl->get_textDecoration(This,p) +#define IHTMLRuleStyle_put_textDecorationNone(This,v) (This)->lpVtbl->put_textDecorationNone(This,v) +#define IHTMLRuleStyle_get_textDecorationNone(This,p) (This)->lpVtbl->get_textDecorationNone(This,p) +#define IHTMLRuleStyle_put_textDecorationUnderline(This,v) (This)->lpVtbl->put_textDecorationUnderline(This,v) +#define IHTMLRuleStyle_get_textDecorationUnderline(This,p) (This)->lpVtbl->get_textDecorationUnderline(This,p) +#define IHTMLRuleStyle_put_textDecorationOverline(This,v) (This)->lpVtbl->put_textDecorationOverline(This,v) +#define IHTMLRuleStyle_get_textDecorationOverline(This,p) (This)->lpVtbl->get_textDecorationOverline(This,p) +#define IHTMLRuleStyle_put_textDecorationLineThrough(This,v) (This)->lpVtbl->put_textDecorationLineThrough(This,v) +#define IHTMLRuleStyle_get_textDecorationLineThrough(This,p) (This)->lpVtbl->get_textDecorationLineThrough(This,p) +#define IHTMLRuleStyle_put_textDecorationBlink(This,v) (This)->lpVtbl->put_textDecorationBlink(This,v) +#define IHTMLRuleStyle_get_textDecorationBlink(This,p) (This)->lpVtbl->get_textDecorationBlink(This,p) +#define IHTMLRuleStyle_put_verticalAlign(This,v) (This)->lpVtbl->put_verticalAlign(This,v) +#define IHTMLRuleStyle_get_verticalAlign(This,p) (This)->lpVtbl->get_verticalAlign(This,p) +#define IHTMLRuleStyle_put_textTransform(This,v) (This)->lpVtbl->put_textTransform(This,v) +#define IHTMLRuleStyle_get_textTransform(This,p) (This)->lpVtbl->get_textTransform(This,p) +#define IHTMLRuleStyle_put_textAlign(This,v) (This)->lpVtbl->put_textAlign(This,v) +#define IHTMLRuleStyle_get_textAlign(This,p) (This)->lpVtbl->get_textAlign(This,p) +#define IHTMLRuleStyle_put_textIndent(This,v) (This)->lpVtbl->put_textIndent(This,v) +#define IHTMLRuleStyle_get_textIndent(This,p) (This)->lpVtbl->get_textIndent(This,p) +#define IHTMLRuleStyle_put_lineHeight(This,v) (This)->lpVtbl->put_lineHeight(This,v) +#define IHTMLRuleStyle_get_lineHeight(This,p) (This)->lpVtbl->get_lineHeight(This,p) +#define IHTMLRuleStyle_put_marginTop(This,v) (This)->lpVtbl->put_marginTop(This,v) +#define IHTMLRuleStyle_get_marginTop(This,p) (This)->lpVtbl->get_marginTop(This,p) +#define IHTMLRuleStyle_put_marginRight(This,v) (This)->lpVtbl->put_marginRight(This,v) +#define IHTMLRuleStyle_get_marginRight(This,p) (This)->lpVtbl->get_marginRight(This,p) +#define IHTMLRuleStyle_put_marginBottom(This,v) (This)->lpVtbl->put_marginBottom(This,v) +#define IHTMLRuleStyle_get_marginBottom(This,p) (This)->lpVtbl->get_marginBottom(This,p) +#define IHTMLRuleStyle_put_marginLeft(This,v) (This)->lpVtbl->put_marginLeft(This,v) +#define IHTMLRuleStyle_get_marginLeft(This,p) (This)->lpVtbl->get_marginLeft(This,p) +#define IHTMLRuleStyle_put_margin(This,v) (This)->lpVtbl->put_margin(This,v) +#define IHTMLRuleStyle_get_margin(This,p) (This)->lpVtbl->get_margin(This,p) +#define IHTMLRuleStyle_put_paddingTop(This,v) (This)->lpVtbl->put_paddingTop(This,v) +#define IHTMLRuleStyle_get_paddingTop(This,p) (This)->lpVtbl->get_paddingTop(This,p) +#define IHTMLRuleStyle_put_paddingRight(This,v) (This)->lpVtbl->put_paddingRight(This,v) +#define IHTMLRuleStyle_get_paddingRight(This,p) (This)->lpVtbl->get_paddingRight(This,p) +#define IHTMLRuleStyle_put_paddingBottom(This,v) (This)->lpVtbl->put_paddingBottom(This,v) +#define IHTMLRuleStyle_get_paddingBottom(This,p) (This)->lpVtbl->get_paddingBottom(This,p) +#define IHTMLRuleStyle_put_paddingLeft(This,v) (This)->lpVtbl->put_paddingLeft(This,v) +#define IHTMLRuleStyle_get_paddingLeft(This,p) (This)->lpVtbl->get_paddingLeft(This,p) +#define IHTMLRuleStyle_put_padding(This,v) (This)->lpVtbl->put_padding(This,v) +#define IHTMLRuleStyle_get_padding(This,p) (This)->lpVtbl->get_padding(This,p) +#define IHTMLRuleStyle_put_border(This,v) (This)->lpVtbl->put_border(This,v) +#define IHTMLRuleStyle_get_border(This,p) (This)->lpVtbl->get_border(This,p) +#define IHTMLRuleStyle_put_borderTop(This,v) (This)->lpVtbl->put_borderTop(This,v) +#define IHTMLRuleStyle_get_borderTop(This,p) (This)->lpVtbl->get_borderTop(This,p) +#define IHTMLRuleStyle_put_borderRight(This,v) (This)->lpVtbl->put_borderRight(This,v) +#define IHTMLRuleStyle_get_borderRight(This,p) (This)->lpVtbl->get_borderRight(This,p) +#define IHTMLRuleStyle_put_borderBottom(This,v) (This)->lpVtbl->put_borderBottom(This,v) +#define IHTMLRuleStyle_get_borderBottom(This,p) (This)->lpVtbl->get_borderBottom(This,p) +#define IHTMLRuleStyle_put_borderLeft(This,v) (This)->lpVtbl->put_borderLeft(This,v) +#define IHTMLRuleStyle_get_borderLeft(This,p) (This)->lpVtbl->get_borderLeft(This,p) +#define IHTMLRuleStyle_put_borderColor(This,v) (This)->lpVtbl->put_borderColor(This,v) +#define IHTMLRuleStyle_get_borderColor(This,p) (This)->lpVtbl->get_borderColor(This,p) +#define IHTMLRuleStyle_put_borderTopColor(This,v) (This)->lpVtbl->put_borderTopColor(This,v) +#define IHTMLRuleStyle_get_borderTopColor(This,p) (This)->lpVtbl->get_borderTopColor(This,p) +#define IHTMLRuleStyle_put_borderRightColor(This,v) (This)->lpVtbl->put_borderRightColor(This,v) +#define IHTMLRuleStyle_get_borderRightColor(This,p) (This)->lpVtbl->get_borderRightColor(This,p) +#define IHTMLRuleStyle_put_borderBottomColor(This,v) (This)->lpVtbl->put_borderBottomColor(This,v) +#define IHTMLRuleStyle_get_borderBottomColor(This,p) (This)->lpVtbl->get_borderBottomColor(This,p) +#define IHTMLRuleStyle_put_borderLeftColor(This,v) (This)->lpVtbl->put_borderLeftColor(This,v) +#define IHTMLRuleStyle_get_borderLeftColor(This,p) (This)->lpVtbl->get_borderLeftColor(This,p) +#define IHTMLRuleStyle_put_borderWidth(This,v) (This)->lpVtbl->put_borderWidth(This,v) +#define IHTMLRuleStyle_get_borderWidth(This,p) (This)->lpVtbl->get_borderWidth(This,p) +#define IHTMLRuleStyle_put_borderTopWidth(This,v) (This)->lpVtbl->put_borderTopWidth(This,v) +#define IHTMLRuleStyle_get_borderTopWidth(This,p) (This)->lpVtbl->get_borderTopWidth(This,p) +#define IHTMLRuleStyle_put_borderRightWidth(This,v) (This)->lpVtbl->put_borderRightWidth(This,v) +#define IHTMLRuleStyle_get_borderRightWidth(This,p) (This)->lpVtbl->get_borderRightWidth(This,p) +#define IHTMLRuleStyle_put_borderBottomWidth(This,v) (This)->lpVtbl->put_borderBottomWidth(This,v) +#define IHTMLRuleStyle_get_borderBottomWidth(This,p) (This)->lpVtbl->get_borderBottomWidth(This,p) +#define IHTMLRuleStyle_put_borderLeftWidth(This,v) (This)->lpVtbl->put_borderLeftWidth(This,v) +#define IHTMLRuleStyle_get_borderLeftWidth(This,p) (This)->lpVtbl->get_borderLeftWidth(This,p) +#define IHTMLRuleStyle_put_borderStyle(This,v) (This)->lpVtbl->put_borderStyle(This,v) +#define IHTMLRuleStyle_get_borderStyle(This,p) (This)->lpVtbl->get_borderStyle(This,p) +#define IHTMLRuleStyle_put_borderTopStyle(This,v) (This)->lpVtbl->put_borderTopStyle(This,v) +#define IHTMLRuleStyle_get_borderTopStyle(This,p) (This)->lpVtbl->get_borderTopStyle(This,p) +#define IHTMLRuleStyle_put_borderRightStyle(This,v) (This)->lpVtbl->put_borderRightStyle(This,v) +#define IHTMLRuleStyle_get_borderRightStyle(This,p) (This)->lpVtbl->get_borderRightStyle(This,p) +#define IHTMLRuleStyle_put_borderBottomStyle(This,v) (This)->lpVtbl->put_borderBottomStyle(This,v) +#define IHTMLRuleStyle_get_borderBottomStyle(This,p) (This)->lpVtbl->get_borderBottomStyle(This,p) +#define IHTMLRuleStyle_put_borderLeftStyle(This,v) (This)->lpVtbl->put_borderLeftStyle(This,v) +#define IHTMLRuleStyle_get_borderLeftStyle(This,p) (This)->lpVtbl->get_borderLeftStyle(This,p) +#define IHTMLRuleStyle_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLRuleStyle_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLRuleStyle_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLRuleStyle_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLRuleStyle_put_styleFloat(This,v) (This)->lpVtbl->put_styleFloat(This,v) +#define IHTMLRuleStyle_get_styleFloat(This,p) (This)->lpVtbl->get_styleFloat(This,p) +#define IHTMLRuleStyle_put_clear(This,v) (This)->lpVtbl->put_clear(This,v) +#define IHTMLRuleStyle_get_clear(This,p) (This)->lpVtbl->get_clear(This,p) +#define IHTMLRuleStyle_put_display(This,v) (This)->lpVtbl->put_display(This,v) +#define IHTMLRuleStyle_get_display(This,p) (This)->lpVtbl->get_display(This,p) +#define IHTMLRuleStyle_put_visibility(This,v) (This)->lpVtbl->put_visibility(This,v) +#define IHTMLRuleStyle_get_visibility(This,p) (This)->lpVtbl->get_visibility(This,p) +#define IHTMLRuleStyle_put_listStyleType(This,v) (This)->lpVtbl->put_listStyleType(This,v) +#define IHTMLRuleStyle_get_listStyleType(This,p) (This)->lpVtbl->get_listStyleType(This,p) +#define IHTMLRuleStyle_put_listStylePosition(This,v) (This)->lpVtbl->put_listStylePosition(This,v) +#define IHTMLRuleStyle_get_listStylePosition(This,p) (This)->lpVtbl->get_listStylePosition(This,p) +#define IHTMLRuleStyle_put_listStyleImage(This,v) (This)->lpVtbl->put_listStyleImage(This,v) +#define IHTMLRuleStyle_get_listStyleImage(This,p) (This)->lpVtbl->get_listStyleImage(This,p) +#define IHTMLRuleStyle_put_listStyle(This,v) (This)->lpVtbl->put_listStyle(This,v) +#define IHTMLRuleStyle_get_listStyle(This,p) (This)->lpVtbl->get_listStyle(This,p) +#define IHTMLRuleStyle_put_whiteSpace(This,v) (This)->lpVtbl->put_whiteSpace(This,v) +#define IHTMLRuleStyle_get_whiteSpace(This,p) (This)->lpVtbl->get_whiteSpace(This,p) +#define IHTMLRuleStyle_put_top(This,v) (This)->lpVtbl->put_top(This,v) +#define IHTMLRuleStyle_get_top(This,p) (This)->lpVtbl->get_top(This,p) +#define IHTMLRuleStyle_put_left(This,v) (This)->lpVtbl->put_left(This,v) +#define IHTMLRuleStyle_get_left(This,p) (This)->lpVtbl->get_left(This,p) +#define IHTMLRuleStyle_get_position(This,p) (This)->lpVtbl->get_position(This,p) +#define IHTMLRuleStyle_put_zIndex(This,v) (This)->lpVtbl->put_zIndex(This,v) +#define IHTMLRuleStyle_get_zIndex(This,p) (This)->lpVtbl->get_zIndex(This,p) +#define IHTMLRuleStyle_put_overflow(This,v) (This)->lpVtbl->put_overflow(This,v) +#define IHTMLRuleStyle_get_overflow(This,p) (This)->lpVtbl->get_overflow(This,p) +#define IHTMLRuleStyle_put_pageBreakBefore(This,v) (This)->lpVtbl->put_pageBreakBefore(This,v) +#define IHTMLRuleStyle_get_pageBreakBefore(This,p) (This)->lpVtbl->get_pageBreakBefore(This,p) +#define IHTMLRuleStyle_put_pageBreakAfter(This,v) (This)->lpVtbl->put_pageBreakAfter(This,v) +#define IHTMLRuleStyle_get_pageBreakAfter(This,p) (This)->lpVtbl->get_pageBreakAfter(This,p) +#define IHTMLRuleStyle_put_cssText(This,v) (This)->lpVtbl->put_cssText(This,v) +#define IHTMLRuleStyle_get_cssText(This,p) (This)->lpVtbl->get_cssText(This,p) +#define IHTMLRuleStyle_put_cursor(This,v) (This)->lpVtbl->put_cursor(This,v) +#define IHTMLRuleStyle_get_cursor(This,p) (This)->lpVtbl->get_cursor(This,p) +#define IHTMLRuleStyle_put_clip(This,v) (This)->lpVtbl->put_clip(This,v) +#define IHTMLRuleStyle_get_clip(This,p) (This)->lpVtbl->get_clip(This,p) +#define IHTMLRuleStyle_put_filter(This,v) (This)->lpVtbl->put_filter(This,v) +#define IHTMLRuleStyle_get_filter(This,p) (This)->lpVtbl->get_filter(This,p) +#define IHTMLRuleStyle_setAttribute(This,strAttributeName,AttributeValue,lFlags) (This)->lpVtbl->setAttribute(This,strAttributeName,AttributeValue,lFlags) +#define IHTMLRuleStyle_getAttribute(This,strAttributeName,lFlags,AttributeValue) (This)->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue) +#define IHTMLRuleStyle_removeAttribute(This,strAttributeName,lFlags,pfSuccess) (This)->lpVtbl->removeAttribute(This,strAttributeName,lFlags,pfSuccess) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLRuleStyle_QueryInterface(IHTMLRuleStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLRuleStyle_AddRef(IHTMLRuleStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLRuleStyle_Release(IHTMLRuleStyle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLRuleStyle_GetTypeInfoCount(IHTMLRuleStyle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_GetTypeInfo(IHTMLRuleStyle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_GetIDsOfNames(IHTMLRuleStyle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_Invoke(IHTMLRuleStyle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLRuleStyle methods ***/ +static FORCEINLINE HRESULT IHTMLRuleStyle_put_fontFamily(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_fontFamily(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_fontFamily(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_fontFamily(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_fontStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_fontStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_fontStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_fontStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_fontVariant(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_fontVariant(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_fontVariant(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_fontVariant(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_fontWeight(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_fontWeight(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_fontWeight(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_fontWeight(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_fontSize(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_fontSize(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_fontSize(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_fontSize(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_font(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_font(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_font(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_font(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_color(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_color(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_color(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_color(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_background(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_background(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_background(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_background(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundColor(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_backgroundColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundColor(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundImage(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundImage(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundImage(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundImage(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundRepeat(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundRepeat(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundRepeat(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundRepeat(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundAttachment(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundAttachment(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundAttachment(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundAttachment(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundPosition(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_backgroundPosition(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundPosition(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundPosition(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundPositionX(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_backgroundPositionX(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundPositionX(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundPositionX(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_backgroundPositionY(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_backgroundPositionY(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_backgroundPositionY(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundPositionY(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_wordSpacing(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_wordSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_wordSpacing(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_wordSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_letterSpacing(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_letterSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_letterSpacing(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_letterSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textDecoration(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_textDecoration(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textDecoration(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_textDecoration(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textDecorationNone(IHTMLRuleStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationNone(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textDecorationNone(IHTMLRuleStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationNone(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textDecorationUnderline(IHTMLRuleStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationUnderline(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textDecorationUnderline(IHTMLRuleStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationUnderline(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textDecorationOverline(IHTMLRuleStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationOverline(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textDecorationOverline(IHTMLRuleStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationOverline(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textDecorationLineThrough(IHTMLRuleStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationLineThrough(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textDecorationLineThrough(IHTMLRuleStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationLineThrough(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textDecorationBlink(IHTMLRuleStyle* This,VARIANT_BOOL v) { + return This->lpVtbl->put_textDecorationBlink(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textDecorationBlink(IHTMLRuleStyle* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_textDecorationBlink(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_verticalAlign(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_verticalAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_verticalAlign(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_verticalAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textTransform(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_textTransform(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textTransform(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_textTransform(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textAlign(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_textAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textAlign(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_textAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_textIndent(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_textIndent(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_textIndent(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_textIndent(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_lineHeight(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_lineHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_lineHeight(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_lineHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_marginTop(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_marginTop(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_marginTop(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginTop(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_marginRight(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_marginRight(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_marginRight(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginRight(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_marginBottom(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_marginBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_marginBottom(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_marginLeft(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_marginLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_marginLeft(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_margin(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_margin(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_margin(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_margin(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_paddingTop(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingTop(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_paddingTop(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingTop(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_paddingRight(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingRight(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_paddingRight(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingRight(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_paddingBottom(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_paddingBottom(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_paddingLeft(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_paddingLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_paddingLeft(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_padding(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_padding(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_padding(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_padding(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_border(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_border(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_border(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_border(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderTop(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderTop(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderTop(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderTop(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderRight(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderRight(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderRight(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderRight(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderBottom(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderBottom(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderBottom(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderLeft(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderLeft(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderColor(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderColor(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderTopColor(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderTopColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderTopColor(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderTopColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderRightColor(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderRightColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderRightColor(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderRightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderBottomColor(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderBottomColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderBottomColor(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderBottomColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderLeftColor(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderLeftColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderLeftColor(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderLeftColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderWidth(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderWidth(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderTopWidth(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderTopWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderTopWidth(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderTopWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderRightWidth(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderRightWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderRightWidth(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderRightWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderBottomWidth(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderBottomWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderBottomWidth(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderBottomWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderLeftWidth(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_borderLeftWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderLeftWidth(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderLeftWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderTopStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderTopStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderTopStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderTopStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderRightStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderRightStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderRightStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderRightStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderBottomStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderBottomStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderBottomStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderBottomStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_borderLeftStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_borderLeftStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_borderLeftStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_borderLeftStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_width(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_width(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_height(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_height(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_styleFloat(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_styleFloat(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_styleFloat(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_styleFloat(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_clear(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_clear(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_clear(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_clear(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_display(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_display(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_display(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_display(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_visibility(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_visibility(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_visibility(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_visibility(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_listStyleType(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_listStyleType(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_listStyleType(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyleType(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_listStylePosition(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_listStylePosition(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_listStylePosition(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_listStylePosition(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_listStyleImage(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_listStyleImage(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_listStyleImage(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyleImage(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_listStyle(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_listStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_listStyle(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_whiteSpace(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_whiteSpace(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_whiteSpace(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_whiteSpace(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_top(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_top(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_top(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_top(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_left(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_left(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_left(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_left(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_position(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_position(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_zIndex(IHTMLRuleStyle* This,VARIANT v) { + return This->lpVtbl->put_zIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_zIndex(IHTMLRuleStyle* This,VARIANT *p) { + return This->lpVtbl->get_zIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_overflow(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_overflow(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_overflow(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_overflow(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_pageBreakBefore(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_pageBreakBefore(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_pageBreakBefore(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_pageBreakBefore(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_pageBreakAfter(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_pageBreakAfter(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_pageBreakAfter(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_pageBreakAfter(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_cssText(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_cssText(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_cssText(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_cssText(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_cursor(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_cursor(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_cursor(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_cursor(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_clip(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_clip(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_clip(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_clip(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_put_filter(IHTMLRuleStyle* This,BSTR v) { + return This->lpVtbl->put_filter(This,v); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_get_filter(IHTMLRuleStyle* This,BSTR *p) { + return This->lpVtbl->get_filter(This,p); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_setAttribute(IHTMLRuleStyle* This,BSTR strAttributeName,VARIANT AttributeValue,LONG lFlags) { + return This->lpVtbl->setAttribute(This,strAttributeName,AttributeValue,lFlags); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_getAttribute(IHTMLRuleStyle* This,BSTR strAttributeName,LONG lFlags,VARIANT *AttributeValue) { + return This->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue); +} +static FORCEINLINE HRESULT IHTMLRuleStyle_removeAttribute(IHTMLRuleStyle* This,BSTR strAttributeName,LONG lFlags,VARIANT_BOOL *pfSuccess) { + return This->lpVtbl->removeAttribute(This,strAttributeName,lFlags,pfSuccess); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLRuleStyle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyle dispinterface + */ +#ifndef __DispHTMLStyle_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyle_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyle, 0x3050f55a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f55a-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyle : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyle, 0x3050f55a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleVtbl; + +interface DispHTMLStyle { + CONST_VTBL DispHTMLStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyle_QueryInterface(DispHTMLStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyle_AddRef(DispHTMLStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyle_Release(DispHTMLStyle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyle_GetTypeInfoCount(DispHTMLStyle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyle_GetTypeInfo(DispHTMLStyle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyle_GetIDsOfNames(DispHTMLStyle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyle_Invoke(DispHTMLStyle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyle_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyle3 interface + */ +#ifndef __IHTMLStyle3_INTERFACE_DEFINED__ +#define __IHTMLStyle3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyle3, 0x3050f656, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f656-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyle3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_layoutFlow( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutFlow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_zoom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_zoom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_wordWrap( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordWrap( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textUnderlinePosition( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textUnderlinePosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarBaseColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarBaseColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarFaceColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarFaceColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbar3dLightColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbar3dLightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarShadowColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarShadowColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarHighlightColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarHighlightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarDarkShadowColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarDarkShadowColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarArrowColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarArrowColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollbarTrackColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarTrackColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_writingMode( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_writingMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textAlignLast( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAlignLast( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textKashidaSpace( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textKashidaSpace( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyle3, 0x3050f656, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyle3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyle3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyle3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyle3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyle3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyle3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyle3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyle3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyle3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_layoutFlow)( + IHTMLStyle3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_layoutFlow)( + IHTMLStyle3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_zoom)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_zoom)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_wordWrap)( + IHTMLStyle3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_wordWrap)( + IHTMLStyle3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textUnderlinePosition)( + IHTMLStyle3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textUnderlinePosition)( + IHTMLStyle3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarBaseColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarBaseColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarFaceColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarFaceColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbar3dLightColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbar3dLightColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarShadowColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarShadowColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarHighlightColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarHighlightColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarDarkShadowColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarDarkShadowColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarArrowColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarArrowColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollbarTrackColor)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarTrackColor)( + IHTMLStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_writingMode)( + IHTMLStyle3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_writingMode)( + IHTMLStyle3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textAlignLast)( + IHTMLStyle3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textAlignLast)( + IHTMLStyle3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textKashidaSpace)( + IHTMLStyle3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textKashidaSpace)( + IHTMLStyle3 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLStyle3Vtbl; + +interface IHTMLStyle3 { + CONST_VTBL IHTMLStyle3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyle3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyle3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyle3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyle3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyle3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyle3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyle3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyle3 methods ***/ +#define IHTMLStyle3_put_layoutFlow(This,v) (This)->lpVtbl->put_layoutFlow(This,v) +#define IHTMLStyle3_get_layoutFlow(This,p) (This)->lpVtbl->get_layoutFlow(This,p) +#define IHTMLStyle3_put_zoom(This,v) (This)->lpVtbl->put_zoom(This,v) +#define IHTMLStyle3_get_zoom(This,p) (This)->lpVtbl->get_zoom(This,p) +#define IHTMLStyle3_put_wordWrap(This,v) (This)->lpVtbl->put_wordWrap(This,v) +#define IHTMLStyle3_get_wordWrap(This,p) (This)->lpVtbl->get_wordWrap(This,p) +#define IHTMLStyle3_put_textUnderlinePosition(This,v) (This)->lpVtbl->put_textUnderlinePosition(This,v) +#define IHTMLStyle3_get_textUnderlinePosition(This,p) (This)->lpVtbl->get_textUnderlinePosition(This,p) +#define IHTMLStyle3_put_scrollbarBaseColor(This,v) (This)->lpVtbl->put_scrollbarBaseColor(This,v) +#define IHTMLStyle3_get_scrollbarBaseColor(This,p) (This)->lpVtbl->get_scrollbarBaseColor(This,p) +#define IHTMLStyle3_put_scrollbarFaceColor(This,v) (This)->lpVtbl->put_scrollbarFaceColor(This,v) +#define IHTMLStyle3_get_scrollbarFaceColor(This,p) (This)->lpVtbl->get_scrollbarFaceColor(This,p) +#define IHTMLStyle3_put_scrollbar3dLightColor(This,v) (This)->lpVtbl->put_scrollbar3dLightColor(This,v) +#define IHTMLStyle3_get_scrollbar3dLightColor(This,p) (This)->lpVtbl->get_scrollbar3dLightColor(This,p) +#define IHTMLStyle3_put_scrollbarShadowColor(This,v) (This)->lpVtbl->put_scrollbarShadowColor(This,v) +#define IHTMLStyle3_get_scrollbarShadowColor(This,p) (This)->lpVtbl->get_scrollbarShadowColor(This,p) +#define IHTMLStyle3_put_scrollbarHighlightColor(This,v) (This)->lpVtbl->put_scrollbarHighlightColor(This,v) +#define IHTMLStyle3_get_scrollbarHighlightColor(This,p) (This)->lpVtbl->get_scrollbarHighlightColor(This,p) +#define IHTMLStyle3_put_scrollbarDarkShadowColor(This,v) (This)->lpVtbl->put_scrollbarDarkShadowColor(This,v) +#define IHTMLStyle3_get_scrollbarDarkShadowColor(This,p) (This)->lpVtbl->get_scrollbarDarkShadowColor(This,p) +#define IHTMLStyle3_put_scrollbarArrowColor(This,v) (This)->lpVtbl->put_scrollbarArrowColor(This,v) +#define IHTMLStyle3_get_scrollbarArrowColor(This,p) (This)->lpVtbl->get_scrollbarArrowColor(This,p) +#define IHTMLStyle3_put_scrollbarTrackColor(This,v) (This)->lpVtbl->put_scrollbarTrackColor(This,v) +#define IHTMLStyle3_get_scrollbarTrackColor(This,p) (This)->lpVtbl->get_scrollbarTrackColor(This,p) +#define IHTMLStyle3_put_writingMode(This,v) (This)->lpVtbl->put_writingMode(This,v) +#define IHTMLStyle3_get_writingMode(This,p) (This)->lpVtbl->get_writingMode(This,p) +#define IHTMLStyle3_put_textAlignLast(This,v) (This)->lpVtbl->put_textAlignLast(This,v) +#define IHTMLStyle3_get_textAlignLast(This,p) (This)->lpVtbl->get_textAlignLast(This,p) +#define IHTMLStyle3_put_textKashidaSpace(This,v) (This)->lpVtbl->put_textKashidaSpace(This,v) +#define IHTMLStyle3_get_textKashidaSpace(This,p) (This)->lpVtbl->get_textKashidaSpace(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyle3_QueryInterface(IHTMLStyle3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyle3_AddRef(IHTMLStyle3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyle3_Release(IHTMLStyle3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyle3_GetTypeInfoCount(IHTMLStyle3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyle3_GetTypeInfo(IHTMLStyle3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyle3_GetIDsOfNames(IHTMLStyle3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyle3_Invoke(IHTMLStyle3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyle3 methods ***/ +static FORCEINLINE HRESULT IHTMLStyle3_put_layoutFlow(IHTMLStyle3* This,BSTR v) { + return This->lpVtbl->put_layoutFlow(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_layoutFlow(IHTMLStyle3* This,BSTR *p) { + return This->lpVtbl->get_layoutFlow(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_zoom(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_zoom(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_zoom(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_zoom(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_wordWrap(IHTMLStyle3* This,BSTR v) { + return This->lpVtbl->put_wordWrap(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_wordWrap(IHTMLStyle3* This,BSTR *p) { + return This->lpVtbl->get_wordWrap(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_textUnderlinePosition(IHTMLStyle3* This,BSTR v) { + return This->lpVtbl->put_textUnderlinePosition(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_textUnderlinePosition(IHTMLStyle3* This,BSTR *p) { + return This->lpVtbl->get_textUnderlinePosition(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarBaseColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarBaseColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarBaseColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarBaseColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarFaceColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarFaceColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarFaceColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarFaceColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbar3dLightColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbar3dLightColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbar3dLightColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbar3dLightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarShadowColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarShadowColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarShadowColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarShadowColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarHighlightColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarHighlightColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarHighlightColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarHighlightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarDarkShadowColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarDarkShadowColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarDarkShadowColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarDarkShadowColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarArrowColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarArrowColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarArrowColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarArrowColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_scrollbarTrackColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarTrackColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_writingMode(IHTMLStyle3* This,BSTR v) { + return This->lpVtbl->put_writingMode(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_writingMode(IHTMLStyle3* This,BSTR *p) { + return This->lpVtbl->get_writingMode(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_textAlignLast(IHTMLStyle3* This,BSTR v) { + return This->lpVtbl->put_textAlignLast(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_textAlignLast(IHTMLStyle3* This,BSTR *p) { + return This->lpVtbl->get_textAlignLast(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle3_put_textKashidaSpace(IHTMLStyle3* This,VARIANT v) { + return This->lpVtbl->put_textKashidaSpace(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle3_get_textKashidaSpace(IHTMLStyle3* This,VARIANT *p) { + return This->lpVtbl->get_textKashidaSpace(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyle3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyle4 interface + */ +#ifndef __IHTMLStyle4_INTERFACE_DEFINED__ +#define __IHTMLStyle4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyle4, 0x3050f816, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f816-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyle4 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_textOverflow( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textOverflow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_minHeight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minHeight( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyle4, 0x3050f816, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyle4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyle4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyle4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyle4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyle4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyle4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyle4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyle4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyle4 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_textOverflow)( + IHTMLStyle4 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textOverflow)( + IHTMLStyle4 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_minHeight)( + IHTMLStyle4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_minHeight)( + IHTMLStyle4 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLStyle4Vtbl; + +interface IHTMLStyle4 { + CONST_VTBL IHTMLStyle4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyle4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyle4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyle4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyle4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyle4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyle4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyle4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyle4 methods ***/ +#define IHTMLStyle4_put_textOverflow(This,v) (This)->lpVtbl->put_textOverflow(This,v) +#define IHTMLStyle4_get_textOverflow(This,p) (This)->lpVtbl->get_textOverflow(This,p) +#define IHTMLStyle4_put_minHeight(This,v) (This)->lpVtbl->put_minHeight(This,v) +#define IHTMLStyle4_get_minHeight(This,p) (This)->lpVtbl->get_minHeight(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyle4_QueryInterface(IHTMLStyle4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyle4_AddRef(IHTMLStyle4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyle4_Release(IHTMLStyle4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyle4_GetTypeInfoCount(IHTMLStyle4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyle4_GetTypeInfo(IHTMLStyle4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyle4_GetIDsOfNames(IHTMLStyle4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyle4_Invoke(IHTMLStyle4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyle4 methods ***/ +static FORCEINLINE HRESULT IHTMLStyle4_put_textOverflow(IHTMLStyle4* This,BSTR v) { + return This->lpVtbl->put_textOverflow(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle4_get_textOverflow(IHTMLStyle4* This,BSTR *p) { + return This->lpVtbl->get_textOverflow(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle4_put_minHeight(IHTMLStyle4* This,VARIANT v) { + return This->lpVtbl->put_minHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle4_get_minHeight(IHTMLStyle4* This,VARIANT *p) { + return This->lpVtbl->get_minHeight(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyle4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyle5 interface + */ +#ifndef __IHTMLStyle5_INTERFACE_DEFINED__ +#define __IHTMLStyle5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyle5, 0x3050f33a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f33a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyle5 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_msInterpolationMode( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_msInterpolationMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_maxHeight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_minWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_maxWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxWidth( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyle5, 0x3050f33a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyle5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyle5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyle5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyle5 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyle5 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyle5 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyle5 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyle5 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyle5 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_msInterpolationMode)( + IHTMLStyle5 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_msInterpolationMode)( + IHTMLStyle5 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_maxHeight)( + IHTMLStyle5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_maxHeight)( + IHTMLStyle5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_minWidth)( + IHTMLStyle5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_minWidth)( + IHTMLStyle5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_maxWidth)( + IHTMLStyle5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_maxWidth)( + IHTMLStyle5 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLStyle5Vtbl; + +interface IHTMLStyle5 { + CONST_VTBL IHTMLStyle5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyle5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyle5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyle5_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyle5_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyle5_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyle5_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyle5_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyle5 methods ***/ +#define IHTMLStyle5_put_msInterpolationMode(This,v) (This)->lpVtbl->put_msInterpolationMode(This,v) +#define IHTMLStyle5_get_msInterpolationMode(This,p) (This)->lpVtbl->get_msInterpolationMode(This,p) +#define IHTMLStyle5_put_maxHeight(This,v) (This)->lpVtbl->put_maxHeight(This,v) +#define IHTMLStyle5_get_maxHeight(This,p) (This)->lpVtbl->get_maxHeight(This,p) +#define IHTMLStyle5_put_minWidth(This,v) (This)->lpVtbl->put_minWidth(This,v) +#define IHTMLStyle5_get_minWidth(This,p) (This)->lpVtbl->get_minWidth(This,p) +#define IHTMLStyle5_put_maxWidth(This,v) (This)->lpVtbl->put_maxWidth(This,v) +#define IHTMLStyle5_get_maxWidth(This,p) (This)->lpVtbl->get_maxWidth(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyle5_QueryInterface(IHTMLStyle5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyle5_AddRef(IHTMLStyle5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyle5_Release(IHTMLStyle5* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyle5_GetTypeInfoCount(IHTMLStyle5* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyle5_GetTypeInfo(IHTMLStyle5* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyle5_GetIDsOfNames(IHTMLStyle5* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyle5_Invoke(IHTMLStyle5* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyle5 methods ***/ +static FORCEINLINE HRESULT IHTMLStyle5_put_msInterpolationMode(IHTMLStyle5* This,BSTR v) { + return This->lpVtbl->put_msInterpolationMode(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle5_get_msInterpolationMode(IHTMLStyle5* This,BSTR *p) { + return This->lpVtbl->get_msInterpolationMode(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle5_put_maxHeight(IHTMLStyle5* This,VARIANT v) { + return This->lpVtbl->put_maxHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle5_get_maxHeight(IHTMLStyle5* This,VARIANT *p) { + return This->lpVtbl->get_maxHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle5_put_minWidth(IHTMLStyle5* This,VARIANT v) { + return This->lpVtbl->put_minWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle5_get_minWidth(IHTMLStyle5* This,VARIANT *p) { + return This->lpVtbl->get_minWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle5_put_maxWidth(IHTMLStyle5* This,VARIANT v) { + return This->lpVtbl->put_maxWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle5_get_maxWidth(IHTMLStyle5* This,VARIANT *p) { + return This->lpVtbl->get_maxWidth(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyle5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyle6 interface + */ +#ifndef __IHTMLStyle6_INTERFACE_DEFINED__ +#define __IHTMLStyle6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyle6, 0x30510480, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510480-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyle6 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_content( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_content( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_captionSide( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_captionSide( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_counterIncrement( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_counterIncrement( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_counterReset( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_counterReset( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_outline( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_outline( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_outlineWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_outlineWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_outlineStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_outlineStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_outlineColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_outlineColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_boxSizing( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_boxSizing( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderSpacing( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderSpacing( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_orphans( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_orphans( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_widows( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_widows( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pageBreakInside( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakInside( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_emptyCells( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_emptyCells( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_msBlockProgression( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_msBlockProgression( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_quotes( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_quotes( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyle6, 0x30510480, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyle6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyle6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyle6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyle6 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyle6 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyle6 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyle6 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyle6 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyle6 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_content)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_content)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_captionSide)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_captionSide)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_counterIncrement)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_counterIncrement)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_counterReset)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_counterReset)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_outline)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_outline)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_outlineWidth)( + IHTMLStyle6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_outlineWidth)( + IHTMLStyle6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_outlineStyle)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_outlineStyle)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_outlineColor)( + IHTMLStyle6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_outlineColor)( + IHTMLStyle6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_boxSizing)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_boxSizing)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderSpacing)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_borderSpacing)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_orphans)( + IHTMLStyle6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_orphans)( + IHTMLStyle6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_widows)( + IHTMLStyle6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_widows)( + IHTMLStyle6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_pageBreakInside)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakInside)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_emptyCells)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_emptyCells)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_msBlockProgression)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_msBlockProgression)( + IHTMLStyle6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_quotes)( + IHTMLStyle6 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_quotes)( + IHTMLStyle6 *This, + BSTR *p); + + END_INTERFACE +} IHTMLStyle6Vtbl; + +interface IHTMLStyle6 { + CONST_VTBL IHTMLStyle6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyle6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyle6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyle6_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyle6_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyle6_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyle6_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyle6_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyle6 methods ***/ +#define IHTMLStyle6_put_content(This,v) (This)->lpVtbl->put_content(This,v) +#define IHTMLStyle6_get_content(This,p) (This)->lpVtbl->get_content(This,p) +#define IHTMLStyle6_put_captionSide(This,v) (This)->lpVtbl->put_captionSide(This,v) +#define IHTMLStyle6_get_captionSide(This,p) (This)->lpVtbl->get_captionSide(This,p) +#define IHTMLStyle6_put_counterIncrement(This,v) (This)->lpVtbl->put_counterIncrement(This,v) +#define IHTMLStyle6_get_counterIncrement(This,p) (This)->lpVtbl->get_counterIncrement(This,p) +#define IHTMLStyle6_put_counterReset(This,v) (This)->lpVtbl->put_counterReset(This,v) +#define IHTMLStyle6_get_counterReset(This,p) (This)->lpVtbl->get_counterReset(This,p) +#define IHTMLStyle6_put_outline(This,v) (This)->lpVtbl->put_outline(This,v) +#define IHTMLStyle6_get_outline(This,p) (This)->lpVtbl->get_outline(This,p) +#define IHTMLStyle6_put_outlineWidth(This,v) (This)->lpVtbl->put_outlineWidth(This,v) +#define IHTMLStyle6_get_outlineWidth(This,p) (This)->lpVtbl->get_outlineWidth(This,p) +#define IHTMLStyle6_put_outlineStyle(This,v) (This)->lpVtbl->put_outlineStyle(This,v) +#define IHTMLStyle6_get_outlineStyle(This,p) (This)->lpVtbl->get_outlineStyle(This,p) +#define IHTMLStyle6_put_outlineColor(This,v) (This)->lpVtbl->put_outlineColor(This,v) +#define IHTMLStyle6_get_outlineColor(This,p) (This)->lpVtbl->get_outlineColor(This,p) +#define IHTMLStyle6_put_boxSizing(This,v) (This)->lpVtbl->put_boxSizing(This,v) +#define IHTMLStyle6_get_boxSizing(This,p) (This)->lpVtbl->get_boxSizing(This,p) +#define IHTMLStyle6_put_borderSpacing(This,v) (This)->lpVtbl->put_borderSpacing(This,v) +#define IHTMLStyle6_get_borderSpacing(This,p) (This)->lpVtbl->get_borderSpacing(This,p) +#define IHTMLStyle6_put_orphans(This,v) (This)->lpVtbl->put_orphans(This,v) +#define IHTMLStyle6_get_orphans(This,p) (This)->lpVtbl->get_orphans(This,p) +#define IHTMLStyle6_put_widows(This,v) (This)->lpVtbl->put_widows(This,v) +#define IHTMLStyle6_get_widows(This,p) (This)->lpVtbl->get_widows(This,p) +#define IHTMLStyle6_put_pageBreakInside(This,v) (This)->lpVtbl->put_pageBreakInside(This,v) +#define IHTMLStyle6_get_pageBreakInside(This,p) (This)->lpVtbl->get_pageBreakInside(This,p) +#define IHTMLStyle6_put_emptyCells(This,v) (This)->lpVtbl->put_emptyCells(This,v) +#define IHTMLStyle6_get_emptyCells(This,p) (This)->lpVtbl->get_emptyCells(This,p) +#define IHTMLStyle6_put_msBlockProgression(This,v) (This)->lpVtbl->put_msBlockProgression(This,v) +#define IHTMLStyle6_get_msBlockProgression(This,p) (This)->lpVtbl->get_msBlockProgression(This,p) +#define IHTMLStyle6_put_quotes(This,v) (This)->lpVtbl->put_quotes(This,v) +#define IHTMLStyle6_get_quotes(This,p) (This)->lpVtbl->get_quotes(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyle6_QueryInterface(IHTMLStyle6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyle6_AddRef(IHTMLStyle6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyle6_Release(IHTMLStyle6* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyle6_GetTypeInfoCount(IHTMLStyle6* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyle6_GetTypeInfo(IHTMLStyle6* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyle6_GetIDsOfNames(IHTMLStyle6* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyle6_Invoke(IHTMLStyle6* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyle6 methods ***/ +static FORCEINLINE HRESULT IHTMLStyle6_put_content(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_content(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_content(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_content(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_captionSide(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_captionSide(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_captionSide(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_captionSide(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_counterIncrement(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_counterIncrement(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_counterIncrement(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_counterIncrement(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_counterReset(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_counterReset(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_counterReset(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_counterReset(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_outline(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_outline(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_outline(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_outline(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_outlineWidth(IHTMLStyle6* This,VARIANT v) { + return This->lpVtbl->put_outlineWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_outlineWidth(IHTMLStyle6* This,VARIANT *p) { + return This->lpVtbl->get_outlineWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_outlineStyle(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_outlineStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_outlineStyle(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_outlineStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_outlineColor(IHTMLStyle6* This,VARIANT v) { + return This->lpVtbl->put_outlineColor(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_outlineColor(IHTMLStyle6* This,VARIANT *p) { + return This->lpVtbl->get_outlineColor(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_boxSizing(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_boxSizing(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_boxSizing(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_boxSizing(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_borderSpacing(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_borderSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_borderSpacing(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_borderSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_orphans(IHTMLStyle6* This,VARIANT v) { + return This->lpVtbl->put_orphans(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_orphans(IHTMLStyle6* This,VARIANT *p) { + return This->lpVtbl->get_orphans(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_widows(IHTMLStyle6* This,VARIANT v) { + return This->lpVtbl->put_widows(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_widows(IHTMLStyle6* This,VARIANT *p) { + return This->lpVtbl->get_widows(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_pageBreakInside(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_pageBreakInside(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_pageBreakInside(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_pageBreakInside(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_emptyCells(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_emptyCells(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_emptyCells(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_emptyCells(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_msBlockProgression(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_msBlockProgression(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_msBlockProgression(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_msBlockProgression(This,p); +} +static FORCEINLINE HRESULT IHTMLStyle6_put_quotes(IHTMLStyle6* This,BSTR v) { + return This->lpVtbl->put_quotes(This,v); +} +static FORCEINLINE HRESULT IHTMLStyle6_get_quotes(IHTMLStyle6* This,BSTR *p) { + return This->lpVtbl->get_quotes(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyle6_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyle coclass + */ + +DEFINE_GUID(CLSID_HTMLStyle, 0x3050f285, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f285-98b5-11cf-bb82-00aa00bdce0b") HTMLStyle; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyle, 0x3050f285, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLRenderStyle interface + */ +#ifndef __IHTMLRenderStyle_INTERFACE_DEFINED__ +#define __IHTMLRenderStyle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLRenderStyle, 0x3050f6ae, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f6ae-98b5-11cf-bb82-00aa00bdce0b") +IHTMLRenderStyle : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_textLineThroughStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textLineThroughStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textUnderlineStyle( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textUnderlineStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textEffect( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textEffect( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textBackgroundColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textBackgroundColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecorationColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecorationColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_renderingPriority( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_renderingPriority( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultTextSelection( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultTextSelection( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textDecoration( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecoration( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLRenderStyle, 0x3050f6ae, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLRenderStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLRenderStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLRenderStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLRenderStyle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLRenderStyle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLRenderStyle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLRenderStyle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLRenderStyle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLRenderStyle methods ***/ + HRESULT (STDMETHODCALLTYPE *put_textLineThroughStyle)( + IHTMLRenderStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textLineThroughStyle)( + IHTMLRenderStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textUnderlineStyle)( + IHTMLRenderStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textUnderlineStyle)( + IHTMLRenderStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textEffect)( + IHTMLRenderStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textEffect)( + IHTMLRenderStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textColor)( + IHTMLRenderStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textColor)( + IHTMLRenderStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textBackgroundColor)( + IHTMLRenderStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textBackgroundColor)( + IHTMLRenderStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecorationColor)( + IHTMLRenderStyle *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textDecorationColor)( + IHTMLRenderStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_renderingPriority)( + IHTMLRenderStyle *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_renderingPriority)( + IHTMLRenderStyle *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_defaultTextSelection)( + IHTMLRenderStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_defaultTextSelection)( + IHTMLRenderStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_textDecoration)( + IHTMLRenderStyle *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_textDecoration)( + IHTMLRenderStyle *This, + BSTR *p); + + END_INTERFACE +} IHTMLRenderStyleVtbl; + +interface IHTMLRenderStyle { + CONST_VTBL IHTMLRenderStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLRenderStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLRenderStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLRenderStyle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLRenderStyle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLRenderStyle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLRenderStyle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLRenderStyle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLRenderStyle methods ***/ +#define IHTMLRenderStyle_put_textLineThroughStyle(This,v) (This)->lpVtbl->put_textLineThroughStyle(This,v) +#define IHTMLRenderStyle_get_textLineThroughStyle(This,p) (This)->lpVtbl->get_textLineThroughStyle(This,p) +#define IHTMLRenderStyle_put_textUnderlineStyle(This,v) (This)->lpVtbl->put_textUnderlineStyle(This,v) +#define IHTMLRenderStyle_get_textUnderlineStyle(This,p) (This)->lpVtbl->get_textUnderlineStyle(This,p) +#define IHTMLRenderStyle_put_textEffect(This,v) (This)->lpVtbl->put_textEffect(This,v) +#define IHTMLRenderStyle_get_textEffect(This,p) (This)->lpVtbl->get_textEffect(This,p) +#define IHTMLRenderStyle_put_textColor(This,v) (This)->lpVtbl->put_textColor(This,v) +#define IHTMLRenderStyle_get_textColor(This,p) (This)->lpVtbl->get_textColor(This,p) +#define IHTMLRenderStyle_put_textBackgroundColor(This,v) (This)->lpVtbl->put_textBackgroundColor(This,v) +#define IHTMLRenderStyle_get_textBackgroundColor(This,p) (This)->lpVtbl->get_textBackgroundColor(This,p) +#define IHTMLRenderStyle_put_textDecorationColor(This,v) (This)->lpVtbl->put_textDecorationColor(This,v) +#define IHTMLRenderStyle_get_textDecorationColor(This,p) (This)->lpVtbl->get_textDecorationColor(This,p) +#define IHTMLRenderStyle_put_renderingPriority(This,v) (This)->lpVtbl->put_renderingPriority(This,v) +#define IHTMLRenderStyle_get_renderingPriority(This,p) (This)->lpVtbl->get_renderingPriority(This,p) +#define IHTMLRenderStyle_put_defaultTextSelection(This,v) (This)->lpVtbl->put_defaultTextSelection(This,v) +#define IHTMLRenderStyle_get_defaultTextSelection(This,p) (This)->lpVtbl->get_defaultTextSelection(This,p) +#define IHTMLRenderStyle_put_textDecoration(This,v) (This)->lpVtbl->put_textDecoration(This,v) +#define IHTMLRenderStyle_get_textDecoration(This,p) (This)->lpVtbl->get_textDecoration(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLRenderStyle_QueryInterface(IHTMLRenderStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLRenderStyle_AddRef(IHTMLRenderStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLRenderStyle_Release(IHTMLRenderStyle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLRenderStyle_GetTypeInfoCount(IHTMLRenderStyle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_GetTypeInfo(IHTMLRenderStyle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_GetIDsOfNames(IHTMLRenderStyle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_Invoke(IHTMLRenderStyle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLRenderStyle methods ***/ +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textLineThroughStyle(IHTMLRenderStyle* This,BSTR v) { + return This->lpVtbl->put_textLineThroughStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textLineThroughStyle(IHTMLRenderStyle* This,BSTR *p) { + return This->lpVtbl->get_textLineThroughStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textUnderlineStyle(IHTMLRenderStyle* This,BSTR v) { + return This->lpVtbl->put_textUnderlineStyle(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textUnderlineStyle(IHTMLRenderStyle* This,BSTR *p) { + return This->lpVtbl->get_textUnderlineStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textEffect(IHTMLRenderStyle* This,BSTR v) { + return This->lpVtbl->put_textEffect(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textEffect(IHTMLRenderStyle* This,BSTR *p) { + return This->lpVtbl->get_textEffect(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textColor(IHTMLRenderStyle* This,VARIANT v) { + return This->lpVtbl->put_textColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textColor(IHTMLRenderStyle* This,VARIANT *p) { + return This->lpVtbl->get_textColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textBackgroundColor(IHTMLRenderStyle* This,VARIANT v) { + return This->lpVtbl->put_textBackgroundColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textBackgroundColor(IHTMLRenderStyle* This,VARIANT *p) { + return This->lpVtbl->get_textBackgroundColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textDecorationColor(IHTMLRenderStyle* This,VARIANT v) { + return This->lpVtbl->put_textDecorationColor(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textDecorationColor(IHTMLRenderStyle* This,VARIANT *p) { + return This->lpVtbl->get_textDecorationColor(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_renderingPriority(IHTMLRenderStyle* This,LONG v) { + return This->lpVtbl->put_renderingPriority(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_renderingPriority(IHTMLRenderStyle* This,LONG *p) { + return This->lpVtbl->get_renderingPriority(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_defaultTextSelection(IHTMLRenderStyle* This,BSTR v) { + return This->lpVtbl->put_defaultTextSelection(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_defaultTextSelection(IHTMLRenderStyle* This,BSTR *p) { + return This->lpVtbl->get_defaultTextSelection(This,p); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_put_textDecoration(IHTMLRenderStyle* This,BSTR v) { + return This->lpVtbl->put_textDecoration(This,v); +} +static FORCEINLINE HRESULT IHTMLRenderStyle_get_textDecoration(IHTMLRenderStyle* This,BSTR *p) { + return This->lpVtbl->get_textDecoration(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLRenderStyle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLCurrentStyle interface + */ +#ifndef __IHTMLCurrentStyle_INTERFACE_DEFINED__ +#define __IHTMLCurrentStyle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLCurrentStyle, 0x3050f3db, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3db-98b5-11cf-bb82-00aa00bdce0b") +IHTMLCurrentStyle : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_position( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_styleFloat( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_color( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontFamily( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontVariant( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontWeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontSize( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundImage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPositionX( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundPositionY( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundRepeat( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderTopWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderRightWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderBottomWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderLeftWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_left( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_top( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_paddingBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textDecoration( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_display( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_visibility( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_zIndex( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_letterSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textIndent( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_verticalAlign( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_backgroundAttachment( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clear( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyleType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStylePosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_listStyleImage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clipTop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clipRight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clipBottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clipLeft( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakBefore( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pageBreakAfter( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cursor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tableLayout( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderCollapse( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_direction( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_behavior( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_unicodeBidi( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_right( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bottom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_imeMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rubyAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rubyPosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rubyOverhang( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAutospace( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineBreak( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordBreak( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textJustify( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textJustifyTrim( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textKashida( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_blockDirection( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridChar( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridLine( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_layoutGridType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderStyle( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderWidth( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_padding( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_margin( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accelerator( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflowX( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_overflowY( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textTransform( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLCurrentStyle, 0x3050f3db, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLCurrentStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLCurrentStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLCurrentStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLCurrentStyle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLCurrentStyle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLCurrentStyle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLCurrentStyle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLCurrentStyle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLCurrentStyle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_position)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_styleFloat)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_color)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_backgroundColor)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_fontFamily)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fontStyle)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fontVariant)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fontWeight)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_fontSize)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_backgroundImage)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPositionX)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_backgroundPositionY)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_backgroundRepeat)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftColor)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderTopColor)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderRightColor)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomColor)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderTopStyle)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderRightStyle)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomStyle)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftStyle)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderTopWidth)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderRightWidth)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderBottomWidth)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_borderLeftWidth)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_left)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_top)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_paddingLeft)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_paddingTop)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_paddingRight)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_paddingBottom)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_textAlign)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textDecoration)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_display)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_visibility)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_zIndex)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_letterSpacing)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_lineHeight)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_textIndent)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_verticalAlign)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_backgroundAttachment)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_marginTop)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_marginRight)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_marginBottom)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_marginLeft)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_clear)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_listStyleType)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_listStylePosition)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_listStyleImage)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_clipTop)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_clipRight)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_clipBottom)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_clipLeft)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_overflow)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakBefore)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_pageBreakAfter)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_cursor)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_tableLayout)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderCollapse)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_direction)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_behavior)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IHTMLCurrentStyle *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue); + + HRESULT (STDMETHODCALLTYPE *get_unicodeBidi)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_right)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_bottom)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_imeMode)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_rubyAlign)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_rubyPosition)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_rubyOverhang)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textAutospace)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_lineBreak)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_wordBreak)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textJustify)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textJustifyTrim)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textKashida)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_blockDirection)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridChar)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridLine)( + IHTMLCurrentStyle *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridMode)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_layoutGridType)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderStyle)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderColor)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_borderWidth)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_padding)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_margin)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_accelerator)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_overflowX)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_overflowY)( + IHTMLCurrentStyle *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textTransform)( + IHTMLCurrentStyle *This, + BSTR *p); + + END_INTERFACE +} IHTMLCurrentStyleVtbl; + +interface IHTMLCurrentStyle { + CONST_VTBL IHTMLCurrentStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLCurrentStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLCurrentStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLCurrentStyle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLCurrentStyle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLCurrentStyle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLCurrentStyle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLCurrentStyle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLCurrentStyle methods ***/ +#define IHTMLCurrentStyle_get_position(This,p) (This)->lpVtbl->get_position(This,p) +#define IHTMLCurrentStyle_get_styleFloat(This,p) (This)->lpVtbl->get_styleFloat(This,p) +#define IHTMLCurrentStyle_get_color(This,p) (This)->lpVtbl->get_color(This,p) +#define IHTMLCurrentStyle_get_backgroundColor(This,p) (This)->lpVtbl->get_backgroundColor(This,p) +#define IHTMLCurrentStyle_get_fontFamily(This,p) (This)->lpVtbl->get_fontFamily(This,p) +#define IHTMLCurrentStyle_get_fontStyle(This,p) (This)->lpVtbl->get_fontStyle(This,p) +#define IHTMLCurrentStyle_get_fontVariant(This,p) (This)->lpVtbl->get_fontVariant(This,p) +#define IHTMLCurrentStyle_get_fontWeight(This,p) (This)->lpVtbl->get_fontWeight(This,p) +#define IHTMLCurrentStyle_get_fontSize(This,p) (This)->lpVtbl->get_fontSize(This,p) +#define IHTMLCurrentStyle_get_backgroundImage(This,p) (This)->lpVtbl->get_backgroundImage(This,p) +#define IHTMLCurrentStyle_get_backgroundPositionX(This,p) (This)->lpVtbl->get_backgroundPositionX(This,p) +#define IHTMLCurrentStyle_get_backgroundPositionY(This,p) (This)->lpVtbl->get_backgroundPositionY(This,p) +#define IHTMLCurrentStyle_get_backgroundRepeat(This,p) (This)->lpVtbl->get_backgroundRepeat(This,p) +#define IHTMLCurrentStyle_get_borderLeftColor(This,p) (This)->lpVtbl->get_borderLeftColor(This,p) +#define IHTMLCurrentStyle_get_borderTopColor(This,p) (This)->lpVtbl->get_borderTopColor(This,p) +#define IHTMLCurrentStyle_get_borderRightColor(This,p) (This)->lpVtbl->get_borderRightColor(This,p) +#define IHTMLCurrentStyle_get_borderBottomColor(This,p) (This)->lpVtbl->get_borderBottomColor(This,p) +#define IHTMLCurrentStyle_get_borderTopStyle(This,p) (This)->lpVtbl->get_borderTopStyle(This,p) +#define IHTMLCurrentStyle_get_borderRightStyle(This,p) (This)->lpVtbl->get_borderRightStyle(This,p) +#define IHTMLCurrentStyle_get_borderBottomStyle(This,p) (This)->lpVtbl->get_borderBottomStyle(This,p) +#define IHTMLCurrentStyle_get_borderLeftStyle(This,p) (This)->lpVtbl->get_borderLeftStyle(This,p) +#define IHTMLCurrentStyle_get_borderTopWidth(This,p) (This)->lpVtbl->get_borderTopWidth(This,p) +#define IHTMLCurrentStyle_get_borderRightWidth(This,p) (This)->lpVtbl->get_borderRightWidth(This,p) +#define IHTMLCurrentStyle_get_borderBottomWidth(This,p) (This)->lpVtbl->get_borderBottomWidth(This,p) +#define IHTMLCurrentStyle_get_borderLeftWidth(This,p) (This)->lpVtbl->get_borderLeftWidth(This,p) +#define IHTMLCurrentStyle_get_left(This,p) (This)->lpVtbl->get_left(This,p) +#define IHTMLCurrentStyle_get_top(This,p) (This)->lpVtbl->get_top(This,p) +#define IHTMLCurrentStyle_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLCurrentStyle_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLCurrentStyle_get_paddingLeft(This,p) (This)->lpVtbl->get_paddingLeft(This,p) +#define IHTMLCurrentStyle_get_paddingTop(This,p) (This)->lpVtbl->get_paddingTop(This,p) +#define IHTMLCurrentStyle_get_paddingRight(This,p) (This)->lpVtbl->get_paddingRight(This,p) +#define IHTMLCurrentStyle_get_paddingBottom(This,p) (This)->lpVtbl->get_paddingBottom(This,p) +#define IHTMLCurrentStyle_get_textAlign(This,p) (This)->lpVtbl->get_textAlign(This,p) +#define IHTMLCurrentStyle_get_textDecoration(This,p) (This)->lpVtbl->get_textDecoration(This,p) +#define IHTMLCurrentStyle_get_display(This,p) (This)->lpVtbl->get_display(This,p) +#define IHTMLCurrentStyle_get_visibility(This,p) (This)->lpVtbl->get_visibility(This,p) +#define IHTMLCurrentStyle_get_zIndex(This,p) (This)->lpVtbl->get_zIndex(This,p) +#define IHTMLCurrentStyle_get_letterSpacing(This,p) (This)->lpVtbl->get_letterSpacing(This,p) +#define IHTMLCurrentStyle_get_lineHeight(This,p) (This)->lpVtbl->get_lineHeight(This,p) +#define IHTMLCurrentStyle_get_textIndent(This,p) (This)->lpVtbl->get_textIndent(This,p) +#define IHTMLCurrentStyle_get_verticalAlign(This,p) (This)->lpVtbl->get_verticalAlign(This,p) +#define IHTMLCurrentStyle_get_backgroundAttachment(This,p) (This)->lpVtbl->get_backgroundAttachment(This,p) +#define IHTMLCurrentStyle_get_marginTop(This,p) (This)->lpVtbl->get_marginTop(This,p) +#define IHTMLCurrentStyle_get_marginRight(This,p) (This)->lpVtbl->get_marginRight(This,p) +#define IHTMLCurrentStyle_get_marginBottom(This,p) (This)->lpVtbl->get_marginBottom(This,p) +#define IHTMLCurrentStyle_get_marginLeft(This,p) (This)->lpVtbl->get_marginLeft(This,p) +#define IHTMLCurrentStyle_get_clear(This,p) (This)->lpVtbl->get_clear(This,p) +#define IHTMLCurrentStyle_get_listStyleType(This,p) (This)->lpVtbl->get_listStyleType(This,p) +#define IHTMLCurrentStyle_get_listStylePosition(This,p) (This)->lpVtbl->get_listStylePosition(This,p) +#define IHTMLCurrentStyle_get_listStyleImage(This,p) (This)->lpVtbl->get_listStyleImage(This,p) +#define IHTMLCurrentStyle_get_clipTop(This,p) (This)->lpVtbl->get_clipTop(This,p) +#define IHTMLCurrentStyle_get_clipRight(This,p) (This)->lpVtbl->get_clipRight(This,p) +#define IHTMLCurrentStyle_get_clipBottom(This,p) (This)->lpVtbl->get_clipBottom(This,p) +#define IHTMLCurrentStyle_get_clipLeft(This,p) (This)->lpVtbl->get_clipLeft(This,p) +#define IHTMLCurrentStyle_get_overflow(This,p) (This)->lpVtbl->get_overflow(This,p) +#define IHTMLCurrentStyle_get_pageBreakBefore(This,p) (This)->lpVtbl->get_pageBreakBefore(This,p) +#define IHTMLCurrentStyle_get_pageBreakAfter(This,p) (This)->lpVtbl->get_pageBreakAfter(This,p) +#define IHTMLCurrentStyle_get_cursor(This,p) (This)->lpVtbl->get_cursor(This,p) +#define IHTMLCurrentStyle_get_tableLayout(This,p) (This)->lpVtbl->get_tableLayout(This,p) +#define IHTMLCurrentStyle_get_borderCollapse(This,p) (This)->lpVtbl->get_borderCollapse(This,p) +#define IHTMLCurrentStyle_get_direction(This,p) (This)->lpVtbl->get_direction(This,p) +#define IHTMLCurrentStyle_get_behavior(This,p) (This)->lpVtbl->get_behavior(This,p) +#define IHTMLCurrentStyle_getAttribute(This,strAttributeName,lFlags,AttributeValue) (This)->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue) +#define IHTMLCurrentStyle_get_unicodeBidi(This,p) (This)->lpVtbl->get_unicodeBidi(This,p) +#define IHTMLCurrentStyle_get_right(This,p) (This)->lpVtbl->get_right(This,p) +#define IHTMLCurrentStyle_get_bottom(This,p) (This)->lpVtbl->get_bottom(This,p) +#define IHTMLCurrentStyle_get_imeMode(This,p) (This)->lpVtbl->get_imeMode(This,p) +#define IHTMLCurrentStyle_get_rubyAlign(This,p) (This)->lpVtbl->get_rubyAlign(This,p) +#define IHTMLCurrentStyle_get_rubyPosition(This,p) (This)->lpVtbl->get_rubyPosition(This,p) +#define IHTMLCurrentStyle_get_rubyOverhang(This,p) (This)->lpVtbl->get_rubyOverhang(This,p) +#define IHTMLCurrentStyle_get_textAutospace(This,p) (This)->lpVtbl->get_textAutospace(This,p) +#define IHTMLCurrentStyle_get_lineBreak(This,p) (This)->lpVtbl->get_lineBreak(This,p) +#define IHTMLCurrentStyle_get_wordBreak(This,p) (This)->lpVtbl->get_wordBreak(This,p) +#define IHTMLCurrentStyle_get_textJustify(This,p) (This)->lpVtbl->get_textJustify(This,p) +#define IHTMLCurrentStyle_get_textJustifyTrim(This,p) (This)->lpVtbl->get_textJustifyTrim(This,p) +#define IHTMLCurrentStyle_get_textKashida(This,p) (This)->lpVtbl->get_textKashida(This,p) +#define IHTMLCurrentStyle_get_blockDirection(This,p) (This)->lpVtbl->get_blockDirection(This,p) +#define IHTMLCurrentStyle_get_layoutGridChar(This,p) (This)->lpVtbl->get_layoutGridChar(This,p) +#define IHTMLCurrentStyle_get_layoutGridLine(This,p) (This)->lpVtbl->get_layoutGridLine(This,p) +#define IHTMLCurrentStyle_get_layoutGridMode(This,p) (This)->lpVtbl->get_layoutGridMode(This,p) +#define IHTMLCurrentStyle_get_layoutGridType(This,p) (This)->lpVtbl->get_layoutGridType(This,p) +#define IHTMLCurrentStyle_get_borderStyle(This,p) (This)->lpVtbl->get_borderStyle(This,p) +#define IHTMLCurrentStyle_get_borderColor(This,p) (This)->lpVtbl->get_borderColor(This,p) +#define IHTMLCurrentStyle_get_borderWidth(This,p) (This)->lpVtbl->get_borderWidth(This,p) +#define IHTMLCurrentStyle_get_padding(This,p) (This)->lpVtbl->get_padding(This,p) +#define IHTMLCurrentStyle_get_margin(This,p) (This)->lpVtbl->get_margin(This,p) +#define IHTMLCurrentStyle_get_accelerator(This,p) (This)->lpVtbl->get_accelerator(This,p) +#define IHTMLCurrentStyle_get_overflowX(This,p) (This)->lpVtbl->get_overflowX(This,p) +#define IHTMLCurrentStyle_get_overflowY(This,p) (This)->lpVtbl->get_overflowY(This,p) +#define IHTMLCurrentStyle_get_textTransform(This,p) (This)->lpVtbl->get_textTransform(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle_QueryInterface(IHTMLCurrentStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLCurrentStyle_AddRef(IHTMLCurrentStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLCurrentStyle_Release(IHTMLCurrentStyle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle_GetTypeInfoCount(IHTMLCurrentStyle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_GetTypeInfo(IHTMLCurrentStyle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_GetIDsOfNames(IHTMLCurrentStyle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_Invoke(IHTMLCurrentStyle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLCurrentStyle methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_position(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_position(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_styleFloat(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_styleFloat(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_color(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_color(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_backgroundColor(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_fontFamily(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_fontFamily(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_fontStyle(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_fontStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_fontVariant(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_fontVariant(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_fontWeight(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_fontWeight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_fontSize(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_fontSize(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_backgroundImage(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundImage(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_backgroundPositionX(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundPositionX(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_backgroundPositionY(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_backgroundPositionY(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_backgroundRepeat(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundRepeat(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderLeftColor(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderLeftColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderTopColor(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderTopColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderRightColor(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderRightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderBottomColor(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderBottomColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderTopStyle(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderTopStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderRightStyle(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderRightStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderBottomStyle(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderBottomStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderLeftStyle(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderLeftStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderTopWidth(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderTopWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderRightWidth(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderRightWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderBottomWidth(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderBottomWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderLeftWidth(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_borderLeftWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_left(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_left(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_top(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_top(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_width(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_height(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_paddingLeft(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_paddingTop(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingTop(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_paddingRight(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingRight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_paddingBottom(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_paddingBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textAlign(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_textAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textDecoration(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_textDecoration(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_display(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_display(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_visibility(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_visibility(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_zIndex(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_zIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_letterSpacing(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_letterSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_lineHeight(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_lineHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textIndent(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_textIndent(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_verticalAlign(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_verticalAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_backgroundAttachment(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_backgroundAttachment(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_marginTop(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginTop(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_marginRight(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginRight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_marginBottom(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_marginLeft(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_marginLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_clear(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_clear(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_listStyleType(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyleType(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_listStylePosition(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_listStylePosition(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_listStyleImage(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_listStyleImage(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_clipTop(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_clipTop(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_clipRight(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_clipRight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_clipBottom(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_clipBottom(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_clipLeft(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_clipLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_overflow(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_overflow(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_pageBreakBefore(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_pageBreakBefore(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_pageBreakAfter(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_pageBreakAfter(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_cursor(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_cursor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_tableLayout(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_tableLayout(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderCollapse(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderCollapse(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_direction(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_direction(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_behavior(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_behavior(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_getAttribute(IHTMLCurrentStyle* This,BSTR strAttributeName,LONG lFlags,VARIANT *AttributeValue) { + return This->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_unicodeBidi(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_unicodeBidi(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_right(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_right(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_bottom(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_bottom(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_imeMode(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_imeMode(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_rubyAlign(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_rubyAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_rubyPosition(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_rubyPosition(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_rubyOverhang(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_rubyOverhang(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textAutospace(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_textAutospace(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_lineBreak(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_lineBreak(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_wordBreak(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_wordBreak(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textJustify(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_textJustify(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textJustifyTrim(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_textJustifyTrim(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textKashida(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_textKashida(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_blockDirection(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_blockDirection(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_layoutGridChar(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_layoutGridChar(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_layoutGridLine(IHTMLCurrentStyle* This,VARIANT *p) { + return This->lpVtbl->get_layoutGridLine(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_layoutGridMode(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_layoutGridMode(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_layoutGridType(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_layoutGridType(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderStyle(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderColor(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_borderWidth(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_borderWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_padding(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_padding(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_margin(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_margin(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_accelerator(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_accelerator(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_overflowX(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_overflowX(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_overflowY(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_overflowY(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle_get_textTransform(IHTMLCurrentStyle* This,BSTR *p) { + return This->lpVtbl->get_textTransform(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLCurrentStyle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLCurrentStyle2 interface + */ +#ifndef __IHTMLCurrentStyle2_INTERFACE_DEFINED__ +#define __IHTMLCurrentStyle2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLCurrentStyle2, 0x3050f658, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f658-98b5-11cf-bb82-00aa00bdce0b") +IHTMLCurrentStyle2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_layoutFlow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordWrap( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textUnderlinePosition( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hasLayout( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarBaseColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarFaceColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbar3dLightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarShadowColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarHighlightColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarDarkShadowColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarArrowColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollbarTrackColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_writingMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_zoom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filter( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textAlignLast( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textKashidaSpace( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isBlock( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLCurrentStyle2, 0x3050f658, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLCurrentStyle2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLCurrentStyle2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLCurrentStyle2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLCurrentStyle2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLCurrentStyle2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLCurrentStyle2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLCurrentStyle2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLCurrentStyle2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLCurrentStyle2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_layoutFlow)( + IHTMLCurrentStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_wordWrap)( + IHTMLCurrentStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textUnderlinePosition)( + IHTMLCurrentStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_hasLayout)( + IHTMLCurrentStyle2 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarBaseColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarFaceColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbar3dLightColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarShadowColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarHighlightColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarDarkShadowColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarArrowColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollbarTrackColor)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_writingMode)( + IHTMLCurrentStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_zoom)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_filter)( + IHTMLCurrentStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textAlignLast)( + IHTMLCurrentStyle2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_textKashidaSpace)( + IHTMLCurrentStyle2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_isBlock)( + IHTMLCurrentStyle2 *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLCurrentStyle2Vtbl; + +interface IHTMLCurrentStyle2 { + CONST_VTBL IHTMLCurrentStyle2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLCurrentStyle2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLCurrentStyle2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLCurrentStyle2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLCurrentStyle2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLCurrentStyle2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLCurrentStyle2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLCurrentStyle2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLCurrentStyle2 methods ***/ +#define IHTMLCurrentStyle2_get_layoutFlow(This,p) (This)->lpVtbl->get_layoutFlow(This,p) +#define IHTMLCurrentStyle2_get_wordWrap(This,p) (This)->lpVtbl->get_wordWrap(This,p) +#define IHTMLCurrentStyle2_get_textUnderlinePosition(This,p) (This)->lpVtbl->get_textUnderlinePosition(This,p) +#define IHTMLCurrentStyle2_get_hasLayout(This,p) (This)->lpVtbl->get_hasLayout(This,p) +#define IHTMLCurrentStyle2_get_scrollbarBaseColor(This,p) (This)->lpVtbl->get_scrollbarBaseColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbarFaceColor(This,p) (This)->lpVtbl->get_scrollbarFaceColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbar3dLightColor(This,p) (This)->lpVtbl->get_scrollbar3dLightColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbarShadowColor(This,p) (This)->lpVtbl->get_scrollbarShadowColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbarHighlightColor(This,p) (This)->lpVtbl->get_scrollbarHighlightColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbarDarkShadowColor(This,p) (This)->lpVtbl->get_scrollbarDarkShadowColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbarArrowColor(This,p) (This)->lpVtbl->get_scrollbarArrowColor(This,p) +#define IHTMLCurrentStyle2_get_scrollbarTrackColor(This,p) (This)->lpVtbl->get_scrollbarTrackColor(This,p) +#define IHTMLCurrentStyle2_get_writingMode(This,p) (This)->lpVtbl->get_writingMode(This,p) +#define IHTMLCurrentStyle2_get_zoom(This,p) (This)->lpVtbl->get_zoom(This,p) +#define IHTMLCurrentStyle2_get_filter(This,p) (This)->lpVtbl->get_filter(This,p) +#define IHTMLCurrentStyle2_get_textAlignLast(This,p) (This)->lpVtbl->get_textAlignLast(This,p) +#define IHTMLCurrentStyle2_get_textKashidaSpace(This,p) (This)->lpVtbl->get_textKashidaSpace(This,p) +#define IHTMLCurrentStyle2_get_isBlock(This,p) (This)->lpVtbl->get_isBlock(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle2_QueryInterface(IHTMLCurrentStyle2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLCurrentStyle2_AddRef(IHTMLCurrentStyle2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLCurrentStyle2_Release(IHTMLCurrentStyle2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle2_GetTypeInfoCount(IHTMLCurrentStyle2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_GetTypeInfo(IHTMLCurrentStyle2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_GetIDsOfNames(IHTMLCurrentStyle2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_Invoke(IHTMLCurrentStyle2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLCurrentStyle2 methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_layoutFlow(IHTMLCurrentStyle2* This,BSTR *p) { + return This->lpVtbl->get_layoutFlow(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_wordWrap(IHTMLCurrentStyle2* This,BSTR *p) { + return This->lpVtbl->get_wordWrap(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_textUnderlinePosition(IHTMLCurrentStyle2* This,BSTR *p) { + return This->lpVtbl->get_textUnderlinePosition(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_hasLayout(IHTMLCurrentStyle2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_hasLayout(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarBaseColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarBaseColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarFaceColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarFaceColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbar3dLightColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbar3dLightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarShadowColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarShadowColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarHighlightColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarHighlightColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarDarkShadowColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarDarkShadowColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarArrowColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarArrowColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_scrollbarTrackColor(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_scrollbarTrackColor(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_writingMode(IHTMLCurrentStyle2* This,BSTR *p) { + return This->lpVtbl->get_writingMode(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_zoom(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_zoom(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_filter(IHTMLCurrentStyle2* This,BSTR *p) { + return This->lpVtbl->get_filter(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_textAlignLast(IHTMLCurrentStyle2* This,BSTR *p) { + return This->lpVtbl->get_textAlignLast(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_textKashidaSpace(IHTMLCurrentStyle2* This,VARIANT *p) { + return This->lpVtbl->get_textKashidaSpace(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle2_get_isBlock(IHTMLCurrentStyle2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isBlock(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLCurrentStyle2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLCurrentStyle3 interface + */ +#ifndef __IHTMLCurrentStyle3_INTERFACE_DEFINED__ +#define __IHTMLCurrentStyle3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLCurrentStyle3, 0x3050f818, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f818-98b5-11cf-bb82-00aa00bdce0b") +IHTMLCurrentStyle3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_textOverflow( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wordSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_whiteSpace( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLCurrentStyle3, 0x3050f818, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLCurrentStyle3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLCurrentStyle3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLCurrentStyle3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLCurrentStyle3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLCurrentStyle3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLCurrentStyle3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLCurrentStyle3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLCurrentStyle3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLCurrentStyle3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_textOverflow)( + IHTMLCurrentStyle3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_minHeight)( + IHTMLCurrentStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_wordSpacing)( + IHTMLCurrentStyle3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_whiteSpace)( + IHTMLCurrentStyle3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLCurrentStyle3Vtbl; + +interface IHTMLCurrentStyle3 { + CONST_VTBL IHTMLCurrentStyle3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLCurrentStyle3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLCurrentStyle3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLCurrentStyle3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLCurrentStyle3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLCurrentStyle3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLCurrentStyle3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLCurrentStyle3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLCurrentStyle3 methods ***/ +#define IHTMLCurrentStyle3_get_textOverflow(This,p) (This)->lpVtbl->get_textOverflow(This,p) +#define IHTMLCurrentStyle3_get_minHeight(This,p) (This)->lpVtbl->get_minHeight(This,p) +#define IHTMLCurrentStyle3_get_wordSpacing(This,p) (This)->lpVtbl->get_wordSpacing(This,p) +#define IHTMLCurrentStyle3_get_whiteSpace(This,p) (This)->lpVtbl->get_whiteSpace(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle3_QueryInterface(IHTMLCurrentStyle3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLCurrentStyle3_AddRef(IHTMLCurrentStyle3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLCurrentStyle3_Release(IHTMLCurrentStyle3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle3_GetTypeInfoCount(IHTMLCurrentStyle3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle3_GetTypeInfo(IHTMLCurrentStyle3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle3_GetIDsOfNames(IHTMLCurrentStyle3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle3_Invoke(IHTMLCurrentStyle3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLCurrentStyle3 methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle3_get_textOverflow(IHTMLCurrentStyle3* This,BSTR *p) { + return This->lpVtbl->get_textOverflow(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle3_get_minHeight(IHTMLCurrentStyle3* This,VARIANT *p) { + return This->lpVtbl->get_minHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle3_get_wordSpacing(IHTMLCurrentStyle3* This,VARIANT *p) { + return This->lpVtbl->get_wordSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle3_get_whiteSpace(IHTMLCurrentStyle3* This,BSTR *p) { + return This->lpVtbl->get_whiteSpace(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLCurrentStyle3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLCurrentStyle4 interface + */ +#ifndef __IHTMLCurrentStyle4_INTERFACE_DEFINED__ +#define __IHTMLCurrentStyle4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLCurrentStyle4, 0x3050f33b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f33b-98b5-11cf-bb82-00aa00bdce0b") +IHTMLCurrentStyle4 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_msInterpolationMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxWidth( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLCurrentStyle4, 0x3050f33b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLCurrentStyle4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLCurrentStyle4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLCurrentStyle4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLCurrentStyle4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLCurrentStyle4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLCurrentStyle4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLCurrentStyle4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLCurrentStyle4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLCurrentStyle4 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_msInterpolationMode)( + IHTMLCurrentStyle4 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_maxHeight)( + IHTMLCurrentStyle4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_minWidth)( + IHTMLCurrentStyle4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_maxWidth)( + IHTMLCurrentStyle4 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLCurrentStyle4Vtbl; + +interface IHTMLCurrentStyle4 { + CONST_VTBL IHTMLCurrentStyle4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLCurrentStyle4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLCurrentStyle4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLCurrentStyle4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLCurrentStyle4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLCurrentStyle4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLCurrentStyle4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLCurrentStyle4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLCurrentStyle4 methods ***/ +#define IHTMLCurrentStyle4_get_msInterpolationMode(This,p) (This)->lpVtbl->get_msInterpolationMode(This,p) +#define IHTMLCurrentStyle4_get_maxHeight(This,p) (This)->lpVtbl->get_maxHeight(This,p) +#define IHTMLCurrentStyle4_get_minWidth(This,p) (This)->lpVtbl->get_minWidth(This,p) +#define IHTMLCurrentStyle4_get_maxWidth(This,p) (This)->lpVtbl->get_maxWidth(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle4_QueryInterface(IHTMLCurrentStyle4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLCurrentStyle4_AddRef(IHTMLCurrentStyle4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLCurrentStyle4_Release(IHTMLCurrentStyle4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle4_GetTypeInfoCount(IHTMLCurrentStyle4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle4_GetTypeInfo(IHTMLCurrentStyle4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle4_GetIDsOfNames(IHTMLCurrentStyle4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle4_Invoke(IHTMLCurrentStyle4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLCurrentStyle4 methods ***/ +static FORCEINLINE HRESULT IHTMLCurrentStyle4_get_msInterpolationMode(IHTMLCurrentStyle4* This,BSTR *p) { + return This->lpVtbl->get_msInterpolationMode(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle4_get_maxHeight(IHTMLCurrentStyle4* This,VARIANT *p) { + return This->lpVtbl->get_maxHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle4_get_minWidth(IHTMLCurrentStyle4* This,VARIANT *p) { + return This->lpVtbl->get_minWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLCurrentStyle4_get_maxWidth(IHTMLCurrentStyle4* This,VARIANT *p) { + return This->lpVtbl->get_maxWidth(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLCurrentStyle4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLCurrentStyle dispinterface + */ +#ifndef __DispHTMLCurrentStyle_DISPINTERFACE_DEFINED__ +#define __DispHTMLCurrentStyle_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLCurrentStyle, 0x3050f557, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f557-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLCurrentStyle : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLCurrentStyle, 0x3050f557, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLCurrentStyleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLCurrentStyle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLCurrentStyle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLCurrentStyle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLCurrentStyle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLCurrentStyle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLCurrentStyle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLCurrentStyle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLCurrentStyleVtbl; + +interface DispHTMLCurrentStyle { + CONST_VTBL DispHTMLCurrentStyleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLCurrentStyle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLCurrentStyle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLCurrentStyle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLCurrentStyle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLCurrentStyle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLCurrentStyle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLCurrentStyle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLCurrentStyle_QueryInterface(DispHTMLCurrentStyle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLCurrentStyle_AddRef(DispHTMLCurrentStyle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLCurrentStyle_Release(DispHTMLCurrentStyle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLCurrentStyle_GetTypeInfoCount(DispHTMLCurrentStyle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLCurrentStyle_GetTypeInfo(DispHTMLCurrentStyle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLCurrentStyle_GetIDsOfNames(DispHTMLCurrentStyle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLCurrentStyle_Invoke(DispHTMLCurrentStyle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLCurrentStyle_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLCurrentStyle coclass + */ + +DEFINE_GUID(CLSID_HTMLCurrentStyle, 0x3050f3dc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f3dc-98b5-11cf-bb82-00aa00bdce0b") HTMLCurrentStyle; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLCurrentStyle, 0x3050f3dc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLRect interface + */ +#ifndef __IHTMLRect_INTERFACE_DEFINED__ +#define __IHTMLRect_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLRect, 0x3050f4a3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4a3-98b5-11cf-bb82-00aa00bdce0b") +IHTMLRect : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_left( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_left( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_top( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_top( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_right( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_right( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bottom( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bottom( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLRect, 0x3050f4a3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLRectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLRect *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLRect *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLRect *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLRect *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLRect *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLRect *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLRect *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLRect methods ***/ + HRESULT (STDMETHODCALLTYPE *put_left)( + IHTMLRect *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_left)( + IHTMLRect *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_top)( + IHTMLRect *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_top)( + IHTMLRect *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_right)( + IHTMLRect *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_right)( + IHTMLRect *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_bottom)( + IHTMLRect *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_bottom)( + IHTMLRect *This, + LONG *p); + + END_INTERFACE +} IHTMLRectVtbl; + +interface IHTMLRect { + CONST_VTBL IHTMLRectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLRect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLRect_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLRect_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLRect_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLRect_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLRect_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLRect_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLRect methods ***/ +#define IHTMLRect_put_left(This,v) (This)->lpVtbl->put_left(This,v) +#define IHTMLRect_get_left(This,p) (This)->lpVtbl->get_left(This,p) +#define IHTMLRect_put_top(This,v) (This)->lpVtbl->put_top(This,v) +#define IHTMLRect_get_top(This,p) (This)->lpVtbl->get_top(This,p) +#define IHTMLRect_put_right(This,v) (This)->lpVtbl->put_right(This,v) +#define IHTMLRect_get_right(This,p) (This)->lpVtbl->get_right(This,p) +#define IHTMLRect_put_bottom(This,v) (This)->lpVtbl->put_bottom(This,v) +#define IHTMLRect_get_bottom(This,p) (This)->lpVtbl->get_bottom(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLRect_QueryInterface(IHTMLRect* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLRect_AddRef(IHTMLRect* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLRect_Release(IHTMLRect* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLRect_GetTypeInfoCount(IHTMLRect* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLRect_GetTypeInfo(IHTMLRect* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLRect_GetIDsOfNames(IHTMLRect* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLRect_Invoke(IHTMLRect* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLRect methods ***/ +static FORCEINLINE HRESULT IHTMLRect_put_left(IHTMLRect* This,LONG v) { + return This->lpVtbl->put_left(This,v); +} +static FORCEINLINE HRESULT IHTMLRect_get_left(IHTMLRect* This,LONG *p) { + return This->lpVtbl->get_left(This,p); +} +static FORCEINLINE HRESULT IHTMLRect_put_top(IHTMLRect* This,LONG v) { + return This->lpVtbl->put_top(This,v); +} +static FORCEINLINE HRESULT IHTMLRect_get_top(IHTMLRect* This,LONG *p) { + return This->lpVtbl->get_top(This,p); +} +static FORCEINLINE HRESULT IHTMLRect_put_right(IHTMLRect* This,LONG v) { + return This->lpVtbl->put_right(This,v); +} +static FORCEINLINE HRESULT IHTMLRect_get_right(IHTMLRect* This,LONG *p) { + return This->lpVtbl->get_right(This,p); +} +static FORCEINLINE HRESULT IHTMLRect_put_bottom(IHTMLRect* This,LONG v) { + return This->lpVtbl->put_bottom(This,v); +} +static FORCEINLINE HRESULT IHTMLRect_get_bottom(IHTMLRect* This,LONG *p) { + return This->lpVtbl->get_bottom(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLRect_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLRectCollection interface + */ +#ifndef __IHTMLRectCollection_INTERFACE_DEFINED__ +#define __IHTMLRectCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLRectCollection, 0x3050f4a4, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4a4-98b5-11cf-bb82-00aa00bdce0b") +IHTMLRectCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT *pvarIndex, + VARIANT *pvarResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLRectCollection, 0x3050f4a4, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLRectCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLRectCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLRectCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLRectCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLRectCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLRectCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLRectCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLRectCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLRectCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLRectCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLRectCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLRectCollection *This, + VARIANT *pvarIndex, + VARIANT *pvarResult); + + END_INTERFACE +} IHTMLRectCollectionVtbl; + +interface IHTMLRectCollection { + CONST_VTBL IHTMLRectCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLRectCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLRectCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLRectCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLRectCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLRectCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLRectCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLRectCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLRectCollection methods ***/ +#define IHTMLRectCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLRectCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLRectCollection_item(This,pvarIndex,pvarResult) (This)->lpVtbl->item(This,pvarIndex,pvarResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLRectCollection_QueryInterface(IHTMLRectCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLRectCollection_AddRef(IHTMLRectCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLRectCollection_Release(IHTMLRectCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLRectCollection_GetTypeInfoCount(IHTMLRectCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLRectCollection_GetTypeInfo(IHTMLRectCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLRectCollection_GetIDsOfNames(IHTMLRectCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLRectCollection_Invoke(IHTMLRectCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLRectCollection methods ***/ +static FORCEINLINE HRESULT IHTMLRectCollection_get_length(IHTMLRectCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLRectCollection_get__newEnum(IHTMLRectCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLRectCollection_item(IHTMLRectCollection* This,VARIANT *pvarIndex,VARIANT *pvarResult) { + return This->lpVtbl->item(This,pvarIndex,pvarResult); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLRectCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMNode interface + */ +#ifndef __IHTMLDOMNode_INTERFACE_DEFINED__ +#define __IHTMLDOMNode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMNode, 0x3050f5da, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f5da-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMNode : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_nodeType( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentNode( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasChildNodes( + VARIANT_BOOL *fChildren) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childNodes( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertBefore( + IHTMLDOMNode *newChild, + VARIANT refChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceChild( + IHTMLDOMNode *newChild, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneNode( + VARIANT_BOOL fDeep, + IHTMLDOMNode **clonedNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNode( + VARIANT_BOOL fDeep, + IHTMLDOMNode **removed) = 0; + + virtual HRESULT STDMETHODCALLTYPE swapNode( + IHTMLDOMNode *otherNode, + IHTMLDOMNode **swappedNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceNode( + IHTMLDOMNode *replacement, + IHTMLDOMNode **replaced) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendChild( + IHTMLDOMNode *newChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeValue( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeValue( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_firstChild( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastChild( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_previousSibling( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nextSibling( + IHTMLDOMNode **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMNode, 0x3050f5da, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMNode *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMNode *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMNode *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMNode *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMNode *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IHTMLDOMNode *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IHTMLDOMNode *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IHTMLDOMNode *This, + VARIANT_BOOL *fChildren); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IHTMLDOMNode *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IHTMLDOMNode *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IHTMLDOMNode *This, + IHTMLDOMNode *newChild, + VARIANT refChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IHTMLDOMNode *This, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IHTMLDOMNode *This, + IHTMLDOMNode *newChild, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IHTMLDOMNode *This, + VARIANT_BOOL fDeep, + IHTMLDOMNode **clonedNode); + + HRESULT (STDMETHODCALLTYPE *removeNode)( + IHTMLDOMNode *This, + VARIANT_BOOL fDeep, + IHTMLDOMNode **removed); + + HRESULT (STDMETHODCALLTYPE *swapNode)( + IHTMLDOMNode *This, + IHTMLDOMNode *otherNode, + IHTMLDOMNode **swappedNode); + + HRESULT (STDMETHODCALLTYPE *replaceNode)( + IHTMLDOMNode *This, + IHTMLDOMNode *replacement, + IHTMLDOMNode **replaced); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IHTMLDOMNode *This, + IHTMLDOMNode *newChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IHTMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IHTMLDOMNode *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IHTMLDOMNode *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IHTMLDOMNode *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IHTMLDOMNode *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IHTMLDOMNode *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IHTMLDOMNode *This, + IHTMLDOMNode **p); + + END_INTERFACE +} IHTMLDOMNodeVtbl; + +interface IHTMLDOMNode { + CONST_VTBL IHTMLDOMNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMNode_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMNode_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMNode methods ***/ +#define IHTMLDOMNode_get_nodeType(This,p) (This)->lpVtbl->get_nodeType(This,p) +#define IHTMLDOMNode_get_parentNode(This,p) (This)->lpVtbl->get_parentNode(This,p) +#define IHTMLDOMNode_hasChildNodes(This,fChildren) (This)->lpVtbl->hasChildNodes(This,fChildren) +#define IHTMLDOMNode_get_childNodes(This,p) (This)->lpVtbl->get_childNodes(This,p) +#define IHTMLDOMNode_get_attributes(This,p) (This)->lpVtbl->get_attributes(This,p) +#define IHTMLDOMNode_insertBefore(This,newChild,refChild,node) (This)->lpVtbl->insertBefore(This,newChild,refChild,node) +#define IHTMLDOMNode_removeChild(This,oldChild,node) (This)->lpVtbl->removeChild(This,oldChild,node) +#define IHTMLDOMNode_replaceChild(This,newChild,oldChild,node) (This)->lpVtbl->replaceChild(This,newChild,oldChild,node) +#define IHTMLDOMNode_cloneNode(This,fDeep,clonedNode) (This)->lpVtbl->cloneNode(This,fDeep,clonedNode) +#define IHTMLDOMNode_removeNode(This,fDeep,removed) (This)->lpVtbl->removeNode(This,fDeep,removed) +#define IHTMLDOMNode_swapNode(This,otherNode,swappedNode) (This)->lpVtbl->swapNode(This,otherNode,swappedNode) +#define IHTMLDOMNode_replaceNode(This,replacement,replaced) (This)->lpVtbl->replaceNode(This,replacement,replaced) +#define IHTMLDOMNode_appendChild(This,newChild,node) (This)->lpVtbl->appendChild(This,newChild,node) +#define IHTMLDOMNode_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IHTMLDOMNode_put_nodeValue(This,v) (This)->lpVtbl->put_nodeValue(This,v) +#define IHTMLDOMNode_get_nodeValue(This,p) (This)->lpVtbl->get_nodeValue(This,p) +#define IHTMLDOMNode_get_firstChild(This,p) (This)->lpVtbl->get_firstChild(This,p) +#define IHTMLDOMNode_get_lastChild(This,p) (This)->lpVtbl->get_lastChild(This,p) +#define IHTMLDOMNode_get_previousSibling(This,p) (This)->lpVtbl->get_previousSibling(This,p) +#define IHTMLDOMNode_get_nextSibling(This,p) (This)->lpVtbl->get_nextSibling(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode_QueryInterface(IHTMLDOMNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMNode_AddRef(IHTMLDOMNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMNode_Release(IHTMLDOMNode* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode_GetTypeInfoCount(IHTMLDOMNode* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMNode_GetTypeInfo(IHTMLDOMNode* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMNode_GetIDsOfNames(IHTMLDOMNode* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMNode_Invoke(IHTMLDOMNode* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMNode methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode_get_nodeType(IHTMLDOMNode* This,LONG *p) { + return This->lpVtbl->get_nodeType(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_parentNode(IHTMLDOMNode* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_parentNode(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_hasChildNodes(IHTMLDOMNode* This,VARIANT_BOOL *fChildren) { + return This->lpVtbl->hasChildNodes(This,fChildren); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_childNodes(IHTMLDOMNode* This,IDispatch **p) { + return This->lpVtbl->get_childNodes(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_attributes(IHTMLDOMNode* This,IDispatch **p) { + return This->lpVtbl->get_attributes(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_insertBefore(IHTMLDOMNode* This,IHTMLDOMNode *newChild,VARIANT refChild,IHTMLDOMNode **node) { + return This->lpVtbl->insertBefore(This,newChild,refChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode_removeChild(IHTMLDOMNode* This,IHTMLDOMNode *oldChild,IHTMLDOMNode **node) { + return This->lpVtbl->removeChild(This,oldChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode_replaceChild(IHTMLDOMNode* This,IHTMLDOMNode *newChild,IHTMLDOMNode *oldChild,IHTMLDOMNode **node) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode_cloneNode(IHTMLDOMNode* This,VARIANT_BOOL fDeep,IHTMLDOMNode **clonedNode) { + return This->lpVtbl->cloneNode(This,fDeep,clonedNode); +} +static FORCEINLINE HRESULT IHTMLDOMNode_removeNode(IHTMLDOMNode* This,VARIANT_BOOL fDeep,IHTMLDOMNode **removed) { + return This->lpVtbl->removeNode(This,fDeep,removed); +} +static FORCEINLINE HRESULT IHTMLDOMNode_swapNode(IHTMLDOMNode* This,IHTMLDOMNode *otherNode,IHTMLDOMNode **swappedNode) { + return This->lpVtbl->swapNode(This,otherNode,swappedNode); +} +static FORCEINLINE HRESULT IHTMLDOMNode_replaceNode(IHTMLDOMNode* This,IHTMLDOMNode *replacement,IHTMLDOMNode **replaced) { + return This->lpVtbl->replaceNode(This,replacement,replaced); +} +static FORCEINLINE HRESULT IHTMLDOMNode_appendChild(IHTMLDOMNode* This,IHTMLDOMNode *newChild,IHTMLDOMNode **node) { + return This->lpVtbl->appendChild(This,newChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_nodeName(IHTMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_put_nodeValue(IHTMLDOMNode* This,VARIANT v) { + return This->lpVtbl->put_nodeValue(This,v); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_nodeValue(IHTMLDOMNode* This,VARIANT *p) { + return This->lpVtbl->get_nodeValue(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_firstChild(IHTMLDOMNode* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_firstChild(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_lastChild(IHTMLDOMNode* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_lastChild(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_previousSibling(IHTMLDOMNode* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_previousSibling(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode_get_nextSibling(IHTMLDOMNode* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_nextSibling(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMNode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMNode2 interface + */ +#ifndef __IHTMLDOMNode2_INTERFACE_DEFINED__ +#define __IHTMLDOMNode2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMNode2, 0x3050f80b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f80b-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMNode2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ownerDocument( + IDispatch **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMNode2, 0x3050f80b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMNode2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMNode2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMNode2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMNode2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMNode2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMNode2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMNode2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMNode2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMNode2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IHTMLDOMNode2 *This, + IDispatch **p); + + END_INTERFACE +} IHTMLDOMNode2Vtbl; + +interface IHTMLDOMNode2 { + CONST_VTBL IHTMLDOMNode2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMNode2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMNode2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMNode2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMNode2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMNode2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMNode2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMNode2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMNode2 methods ***/ +#define IHTMLDOMNode2_get_ownerDocument(This,p) (This)->lpVtbl->get_ownerDocument(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode2_QueryInterface(IHTMLDOMNode2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMNode2_AddRef(IHTMLDOMNode2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMNode2_Release(IHTMLDOMNode2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode2_GetTypeInfoCount(IHTMLDOMNode2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMNode2_GetTypeInfo(IHTMLDOMNode2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMNode2_GetIDsOfNames(IHTMLDOMNode2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMNode2_Invoke(IHTMLDOMNode2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMNode2 methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode2_get_ownerDocument(IHTMLDOMNode2* This,IDispatch **p) { + return This->lpVtbl->get_ownerDocument(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMNode2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMNode3 interface + */ +#ifndef __IHTMLDOMNode3_INTERFACE_DEFINED__ +#define __IHTMLDOMNode3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMNode3, 0x305106e0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305106e0-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMNode3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_prefix( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_prefix( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_localName( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_textContent( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_textContent( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE isEqualNode( + IHTMLDOMNode3 *otherNode, + VARIANT_BOOL *isEqual) = 0; + + virtual HRESULT STDMETHODCALLTYPE lookupNamespaceURI( + VARIANT *pvarPrefix, + VARIANT *pvarNamespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE lookupPrefix( + VARIANT *pvarNamespaceURI, + VARIANT *pvarPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE isDefaultNamespace( + VARIANT *pvarNamespace, + VARIANT_BOOL *pfDefaultNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendChild( + IHTMLDOMNode *newChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertBefore( + IHTMLDOMNode *newChild, + VARIANT refChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceChild( + IHTMLDOMNode *newChild, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE isSameNode( + IHTMLDOMNode3 *otherNode, + VARIANT_BOOL *isSame) = 0; + + virtual HRESULT STDMETHODCALLTYPE compareDocumentPosition( + IHTMLDOMNode *otherNode, + USHORT *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE isSupported( + BSTR feature, + VARIANT version, + VARIANT_BOOL *pfisSupported) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMNode3, 0x305106e0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMNode3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMNode3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMNode3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMNode3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMNode3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMNode3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMNode3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMNode3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMNode3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_prefix)( + IHTMLDOMNode3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IHTMLDOMNode3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_localName)( + IHTMLDOMNode3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IHTMLDOMNode3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_textContent)( + IHTMLDOMNode3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_textContent)( + IHTMLDOMNode3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *isEqualNode)( + IHTMLDOMNode3 *This, + IHTMLDOMNode3 *otherNode, + VARIANT_BOOL *isEqual); + + HRESULT (STDMETHODCALLTYPE *lookupNamespaceURI)( + IHTMLDOMNode3 *This, + VARIANT *pvarPrefix, + VARIANT *pvarNamespaceURI); + + HRESULT (STDMETHODCALLTYPE *lookupPrefix)( + IHTMLDOMNode3 *This, + VARIANT *pvarNamespaceURI, + VARIANT *pvarPrefix); + + HRESULT (STDMETHODCALLTYPE *isDefaultNamespace)( + IHTMLDOMNode3 *This, + VARIANT *pvarNamespace, + VARIANT_BOOL *pfDefaultNamespace); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IHTMLDOMNode3 *This, + IHTMLDOMNode *newChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IHTMLDOMNode3 *This, + IHTMLDOMNode *newChild, + VARIANT refChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IHTMLDOMNode3 *This, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IHTMLDOMNode3 *This, + IHTMLDOMNode *newChild, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *isSameNode)( + IHTMLDOMNode3 *This, + IHTMLDOMNode3 *otherNode, + VARIANT_BOOL *isSame); + + HRESULT (STDMETHODCALLTYPE *compareDocumentPosition)( + IHTMLDOMNode3 *This, + IHTMLDOMNode *otherNode, + USHORT *flags); + + HRESULT (STDMETHODCALLTYPE *isSupported)( + IHTMLDOMNode3 *This, + BSTR feature, + VARIANT version, + VARIANT_BOOL *pfisSupported); + + END_INTERFACE +} IHTMLDOMNode3Vtbl; + +interface IHTMLDOMNode3 { + CONST_VTBL IHTMLDOMNode3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMNode3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMNode3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMNode3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMNode3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMNode3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMNode3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMNode3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMNode3 methods ***/ +#define IHTMLDOMNode3_put_prefix(This,v) (This)->lpVtbl->put_prefix(This,v) +#define IHTMLDOMNode3_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IHTMLDOMNode3_get_localName(This,p) (This)->lpVtbl->get_localName(This,p) +#define IHTMLDOMNode3_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IHTMLDOMNode3_put_textContent(This,v) (This)->lpVtbl->put_textContent(This,v) +#define IHTMLDOMNode3_get_textContent(This,p) (This)->lpVtbl->get_textContent(This,p) +#define IHTMLDOMNode3_isEqualNode(This,otherNode,isEqual) (This)->lpVtbl->isEqualNode(This,otherNode,isEqual) +#define IHTMLDOMNode3_lookupNamespaceURI(This,pvarPrefix,pvarNamespaceURI) (This)->lpVtbl->lookupNamespaceURI(This,pvarPrefix,pvarNamespaceURI) +#define IHTMLDOMNode3_lookupPrefix(This,pvarNamespaceURI,pvarPrefix) (This)->lpVtbl->lookupPrefix(This,pvarNamespaceURI,pvarPrefix) +#define IHTMLDOMNode3_isDefaultNamespace(This,pvarNamespace,pfDefaultNamespace) (This)->lpVtbl->isDefaultNamespace(This,pvarNamespace,pfDefaultNamespace) +#define IHTMLDOMNode3_appendChild(This,newChild,node) (This)->lpVtbl->appendChild(This,newChild,node) +#define IHTMLDOMNode3_insertBefore(This,newChild,refChild,node) (This)->lpVtbl->insertBefore(This,newChild,refChild,node) +#define IHTMLDOMNode3_removeChild(This,oldChild,node) (This)->lpVtbl->removeChild(This,oldChild,node) +#define IHTMLDOMNode3_replaceChild(This,newChild,oldChild,node) (This)->lpVtbl->replaceChild(This,newChild,oldChild,node) +#define IHTMLDOMNode3_isSameNode(This,otherNode,isSame) (This)->lpVtbl->isSameNode(This,otherNode,isSame) +#define IHTMLDOMNode3_compareDocumentPosition(This,otherNode,flags) (This)->lpVtbl->compareDocumentPosition(This,otherNode,flags) +#define IHTMLDOMNode3_isSupported(This,feature,version,pfisSupported) (This)->lpVtbl->isSupported(This,feature,version,pfisSupported) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode3_QueryInterface(IHTMLDOMNode3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMNode3_AddRef(IHTMLDOMNode3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMNode3_Release(IHTMLDOMNode3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode3_GetTypeInfoCount(IHTMLDOMNode3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_GetTypeInfo(IHTMLDOMNode3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_GetIDsOfNames(IHTMLDOMNode3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_Invoke(IHTMLDOMNode3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMNode3 methods ***/ +static FORCEINLINE HRESULT IHTMLDOMNode3_put_prefix(IHTMLDOMNode3* This,VARIANT v) { + return This->lpVtbl->put_prefix(This,v); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_get_prefix(IHTMLDOMNode3* This,VARIANT *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_get_localName(IHTMLDOMNode3* This,VARIANT *p) { + return This->lpVtbl->get_localName(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_get_namespaceURI(IHTMLDOMNode3* This,VARIANT *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_put_textContent(IHTMLDOMNode3* This,VARIANT v) { + return This->lpVtbl->put_textContent(This,v); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_get_textContent(IHTMLDOMNode3* This,VARIANT *p) { + return This->lpVtbl->get_textContent(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_isEqualNode(IHTMLDOMNode3* This,IHTMLDOMNode3 *otherNode,VARIANT_BOOL *isEqual) { + return This->lpVtbl->isEqualNode(This,otherNode,isEqual); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_lookupNamespaceURI(IHTMLDOMNode3* This,VARIANT *pvarPrefix,VARIANT *pvarNamespaceURI) { + return This->lpVtbl->lookupNamespaceURI(This,pvarPrefix,pvarNamespaceURI); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_lookupPrefix(IHTMLDOMNode3* This,VARIANT *pvarNamespaceURI,VARIANT *pvarPrefix) { + return This->lpVtbl->lookupPrefix(This,pvarNamespaceURI,pvarPrefix); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_isDefaultNamespace(IHTMLDOMNode3* This,VARIANT *pvarNamespace,VARIANT_BOOL *pfDefaultNamespace) { + return This->lpVtbl->isDefaultNamespace(This,pvarNamespace,pfDefaultNamespace); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_appendChild(IHTMLDOMNode3* This,IHTMLDOMNode *newChild,IHTMLDOMNode **node) { + return This->lpVtbl->appendChild(This,newChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_insertBefore(IHTMLDOMNode3* This,IHTMLDOMNode *newChild,VARIANT refChild,IHTMLDOMNode **node) { + return This->lpVtbl->insertBefore(This,newChild,refChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_removeChild(IHTMLDOMNode3* This,IHTMLDOMNode *oldChild,IHTMLDOMNode **node) { + return This->lpVtbl->removeChild(This,oldChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_replaceChild(IHTMLDOMNode3* This,IHTMLDOMNode *newChild,IHTMLDOMNode *oldChild,IHTMLDOMNode **node) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_isSameNode(IHTMLDOMNode3* This,IHTMLDOMNode3 *otherNode,VARIANT_BOOL *isSame) { + return This->lpVtbl->isSameNode(This,otherNode,isSame); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_compareDocumentPosition(IHTMLDOMNode3* This,IHTMLDOMNode *otherNode,USHORT *flags) { + return This->lpVtbl->compareDocumentPosition(This,otherNode,flags); +} +static FORCEINLINE HRESULT IHTMLDOMNode3_isSupported(IHTMLDOMNode3* This,BSTR feature,VARIANT version,VARIANT_BOOL *pfisSupported) { + return This->lpVtbl->isSupported(This,feature,version,pfisSupported); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMNode3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMAttribute interface + */ +#ifndef __IHTMLDOMAttribute_INTERFACE_DEFINED__ +#define __IHTMLDOMAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMAttribute, 0x3050f4b0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4b0-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMAttribute : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_nodeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeValue( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeValue( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_specified( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMAttribute, 0x3050f4b0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IHTMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IHTMLDOMAttribute *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IHTMLDOMAttribute *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IHTMLDOMAttribute *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLDOMAttributeVtbl; + +interface IHTMLDOMAttribute { + CONST_VTBL IHTMLDOMAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMAttribute methods ***/ +#define IHTMLDOMAttribute_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IHTMLDOMAttribute_put_nodeValue(This,v) (This)->lpVtbl->put_nodeValue(This,v) +#define IHTMLDOMAttribute_get_nodeValue(This,p) (This)->lpVtbl->get_nodeValue(This,p) +#define IHTMLDOMAttribute_get_specified(This,p) (This)->lpVtbl->get_specified(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMAttribute_QueryInterface(IHTMLDOMAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMAttribute_AddRef(IHTMLDOMAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMAttribute_Release(IHTMLDOMAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMAttribute_GetTypeInfoCount(IHTMLDOMAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute_GetTypeInfo(IHTMLDOMAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute_GetIDsOfNames(IHTMLDOMAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute_Invoke(IHTMLDOMAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMAttribute methods ***/ +static FORCEINLINE HRESULT IHTMLDOMAttribute_get_nodeName(IHTMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute_put_nodeValue(IHTMLDOMAttribute* This,VARIANT v) { + return This->lpVtbl->put_nodeValue(This,v); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute_get_nodeValue(IHTMLDOMAttribute* This,VARIANT *p) { + return This->lpVtbl->get_nodeValue(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute_get_specified(IHTMLDOMAttribute* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_specified(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMAttribute2 interface + */ +#ifndef __IHTMLDOMAttribute2_INTERFACE_DEFINED__ +#define __IHTMLDOMAttribute2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMAttribute2, 0x3050f810, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f810-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMAttribute2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_expando( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeType( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentNode( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childNodes( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_firstChild( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastChild( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_previousSibling( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nextSibling( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ownerDocument( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertBefore( + IHTMLDOMNode *newChild, + VARIANT refChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceChild( + IHTMLDOMNode *newChild, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendChild( + IHTMLDOMNode *newChild, + IHTMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasChildNodes( + VARIANT_BOOL *fChildren) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneNode( + VARIANT_BOOL fDeep, + IHTMLDOMAttribute **clonedNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMAttribute2, 0x3050f810, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMAttribute2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMAttribute2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMAttribute2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMAttribute2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMAttribute2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMAttribute2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMAttribute2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMAttribute2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMAttribute2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLDOMAttribute2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLDOMAttribute2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLDOMAttribute2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_expando)( + IHTMLDOMAttribute2 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IHTMLDOMAttribute2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IHTMLDOMAttribute2 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IHTMLDOMAttribute2 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IHTMLDOMAttribute2 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode *newChild, + VARIANT refChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode *newChild, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode *oldChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IHTMLDOMAttribute2 *This, + IHTMLDOMNode *newChild, + IHTMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IHTMLDOMAttribute2 *This, + VARIANT_BOOL *fChildren); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IHTMLDOMAttribute2 *This, + VARIANT_BOOL fDeep, + IHTMLDOMAttribute **clonedNode); + + END_INTERFACE +} IHTMLDOMAttribute2Vtbl; + +interface IHTMLDOMAttribute2 { + CONST_VTBL IHTMLDOMAttribute2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMAttribute2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMAttribute2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMAttribute2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMAttribute2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMAttribute2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMAttribute2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMAttribute2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMAttribute2 methods ***/ +#define IHTMLDOMAttribute2_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLDOMAttribute2_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLDOMAttribute2_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLDOMAttribute2_get_expando(This,p) (This)->lpVtbl->get_expando(This,p) +#define IHTMLDOMAttribute2_get_nodeType(This,p) (This)->lpVtbl->get_nodeType(This,p) +#define IHTMLDOMAttribute2_get_parentNode(This,p) (This)->lpVtbl->get_parentNode(This,p) +#define IHTMLDOMAttribute2_get_childNodes(This,p) (This)->lpVtbl->get_childNodes(This,p) +#define IHTMLDOMAttribute2_get_firstChild(This,p) (This)->lpVtbl->get_firstChild(This,p) +#define IHTMLDOMAttribute2_get_lastChild(This,p) (This)->lpVtbl->get_lastChild(This,p) +#define IHTMLDOMAttribute2_get_previousSibling(This,p) (This)->lpVtbl->get_previousSibling(This,p) +#define IHTMLDOMAttribute2_get_nextSibling(This,p) (This)->lpVtbl->get_nextSibling(This,p) +#define IHTMLDOMAttribute2_get_attributes(This,p) (This)->lpVtbl->get_attributes(This,p) +#define IHTMLDOMAttribute2_get_ownerDocument(This,p) (This)->lpVtbl->get_ownerDocument(This,p) +#define IHTMLDOMAttribute2_insertBefore(This,newChild,refChild,node) (This)->lpVtbl->insertBefore(This,newChild,refChild,node) +#define IHTMLDOMAttribute2_replaceChild(This,newChild,oldChild,node) (This)->lpVtbl->replaceChild(This,newChild,oldChild,node) +#define IHTMLDOMAttribute2_removeChild(This,oldChild,node) (This)->lpVtbl->removeChild(This,oldChild,node) +#define IHTMLDOMAttribute2_appendChild(This,newChild,node) (This)->lpVtbl->appendChild(This,newChild,node) +#define IHTMLDOMAttribute2_hasChildNodes(This,fChildren) (This)->lpVtbl->hasChildNodes(This,fChildren) +#define IHTMLDOMAttribute2_cloneNode(This,fDeep,clonedNode) (This)->lpVtbl->cloneNode(This,fDeep,clonedNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMAttribute2_QueryInterface(IHTMLDOMAttribute2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMAttribute2_AddRef(IHTMLDOMAttribute2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMAttribute2_Release(IHTMLDOMAttribute2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMAttribute2_GetTypeInfoCount(IHTMLDOMAttribute2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_GetTypeInfo(IHTMLDOMAttribute2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_GetIDsOfNames(IHTMLDOMAttribute2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_Invoke(IHTMLDOMAttribute2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMAttribute2 methods ***/ +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_name(IHTMLDOMAttribute2* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_put_value(IHTMLDOMAttribute2* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_value(IHTMLDOMAttribute2* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_expando(IHTMLDOMAttribute2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_expando(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_nodeType(IHTMLDOMAttribute2* This,LONG *p) { + return This->lpVtbl->get_nodeType(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_parentNode(IHTMLDOMAttribute2* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_parentNode(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_childNodes(IHTMLDOMAttribute2* This,IDispatch **p) { + return This->lpVtbl->get_childNodes(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_firstChild(IHTMLDOMAttribute2* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_firstChild(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_lastChild(IHTMLDOMAttribute2* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_lastChild(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_previousSibling(IHTMLDOMAttribute2* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_previousSibling(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_nextSibling(IHTMLDOMAttribute2* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_nextSibling(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_attributes(IHTMLDOMAttribute2* This,IDispatch **p) { + return This->lpVtbl->get_attributes(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_get_ownerDocument(IHTMLDOMAttribute2* This,IDispatch **p) { + return This->lpVtbl->get_ownerDocument(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_insertBefore(IHTMLDOMAttribute2* This,IHTMLDOMNode *newChild,VARIANT refChild,IHTMLDOMNode **node) { + return This->lpVtbl->insertBefore(This,newChild,refChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_replaceChild(IHTMLDOMAttribute2* This,IHTMLDOMNode *newChild,IHTMLDOMNode *oldChild,IHTMLDOMNode **node) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_removeChild(IHTMLDOMAttribute2* This,IHTMLDOMNode *oldChild,IHTMLDOMNode **node) { + return This->lpVtbl->removeChild(This,oldChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_appendChild(IHTMLDOMAttribute2* This,IHTMLDOMNode *newChild,IHTMLDOMNode **node) { + return This->lpVtbl->appendChild(This,newChild,node); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_hasChildNodes(IHTMLDOMAttribute2* This,VARIANT_BOOL *fChildren) { + return This->lpVtbl->hasChildNodes(This,fChildren); +} +static FORCEINLINE HRESULT IHTMLDOMAttribute2_cloneNode(IHTMLDOMAttribute2* This,VARIANT_BOOL fDeep,IHTMLDOMAttribute **clonedNode) { + return This->lpVtbl->cloneNode(This,fDeep,clonedNode); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMAttribute2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMTextNode interface + */ +#ifndef __IHTMLDOMTextNode_INTERFACE_DEFINED__ +#define __IHTMLDOMTextNode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMTextNode, 0x3050f4b1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4b1-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMTextNode : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE splitText( + LONG offset, + IHTMLDOMNode **pRetNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMTextNode, 0x3050f4b1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMTextNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMTextNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMTextNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMTextNode *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMTextNode *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMTextNode *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMTextNode *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMTextNode *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMTextNode methods ***/ + HRESULT (STDMETHODCALLTYPE *put_data)( + IHTMLDOMTextNode *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IHTMLDOMTextNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLDOMTextNode *This, + BSTR *String); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLDOMTextNode *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *splitText)( + IHTMLDOMTextNode *This, + LONG offset, + IHTMLDOMNode **pRetNode); + + END_INTERFACE +} IHTMLDOMTextNodeVtbl; + +interface IHTMLDOMTextNode { + CONST_VTBL IHTMLDOMTextNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMTextNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMTextNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMTextNode_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMTextNode_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMTextNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMTextNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMTextNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMTextNode methods ***/ +#define IHTMLDOMTextNode_put_data(This,v) (This)->lpVtbl->put_data(This,v) +#define IHTMLDOMTextNode_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IHTMLDOMTextNode_toString(This,String) (This)->lpVtbl->toString(This,String) +#define IHTMLDOMTextNode_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLDOMTextNode_splitText(This,offset,pRetNode) (This)->lpVtbl->splitText(This,offset,pRetNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMTextNode_QueryInterface(IHTMLDOMTextNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMTextNode_AddRef(IHTMLDOMTextNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMTextNode_Release(IHTMLDOMTextNode* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMTextNode_GetTypeInfoCount(IHTMLDOMTextNode* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_GetTypeInfo(IHTMLDOMTextNode* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_GetIDsOfNames(IHTMLDOMTextNode* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_Invoke(IHTMLDOMTextNode* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMTextNode methods ***/ +static FORCEINLINE HRESULT IHTMLDOMTextNode_put_data(IHTMLDOMTextNode* This,BSTR v) { + return This->lpVtbl->put_data(This,v); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_get_data(IHTMLDOMTextNode* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_toString(IHTMLDOMTextNode* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_get_length(IHTMLDOMTextNode* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode_splitText(IHTMLDOMTextNode* This,LONG offset,IHTMLDOMNode **pRetNode) { + return This->lpVtbl->splitText(This,offset,pRetNode); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMTextNode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMTextNode2 interface + */ +#ifndef __IHTMLDOMTextNode2_INTERFACE_DEFINED__ +#define __IHTMLDOMTextNode2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMTextNode2, 0x3050f809, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f809-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMTextNode2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE substringData( + LONG offset, + LONG Count, + BSTR *pbstrsubString) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendData( + BSTR bstrstring) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertData( + LONG offset, + BSTR bstrstring) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteData( + LONG offset, + LONG Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceData( + LONG offset, + LONG Count, + BSTR bstrstring) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMTextNode2, 0x3050f809, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMTextNode2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMTextNode2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMTextNode2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMTextNode2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMTextNode2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMTextNode2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMTextNode2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMTextNode2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMTextNode2 methods ***/ + HRESULT (STDMETHODCALLTYPE *substringData)( + IHTMLDOMTextNode2 *This, + LONG offset, + LONG Count, + BSTR *pbstrsubString); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IHTMLDOMTextNode2 *This, + BSTR bstrstring); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IHTMLDOMTextNode2 *This, + LONG offset, + BSTR bstrstring); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IHTMLDOMTextNode2 *This, + LONG offset, + LONG Count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IHTMLDOMTextNode2 *This, + LONG offset, + LONG Count, + BSTR bstrstring); + + END_INTERFACE +} IHTMLDOMTextNode2Vtbl; + +interface IHTMLDOMTextNode2 { + CONST_VTBL IHTMLDOMTextNode2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMTextNode2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMTextNode2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMTextNode2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMTextNode2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMTextNode2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMTextNode2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMTextNode2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMTextNode2 methods ***/ +#define IHTMLDOMTextNode2_substringData(This,offset,Count,pbstrsubString) (This)->lpVtbl->substringData(This,offset,Count,pbstrsubString) +#define IHTMLDOMTextNode2_appendData(This,bstrstring) (This)->lpVtbl->appendData(This,bstrstring) +#define IHTMLDOMTextNode2_insertData(This,offset,bstrstring) (This)->lpVtbl->insertData(This,offset,bstrstring) +#define IHTMLDOMTextNode2_deleteData(This,offset,Count) (This)->lpVtbl->deleteData(This,offset,Count) +#define IHTMLDOMTextNode2_replaceData(This,offset,Count,bstrstring) (This)->lpVtbl->replaceData(This,offset,Count,bstrstring) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMTextNode2_QueryInterface(IHTMLDOMTextNode2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMTextNode2_AddRef(IHTMLDOMTextNode2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMTextNode2_Release(IHTMLDOMTextNode2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMTextNode2_GetTypeInfoCount(IHTMLDOMTextNode2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_GetTypeInfo(IHTMLDOMTextNode2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_GetIDsOfNames(IHTMLDOMTextNode2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_Invoke(IHTMLDOMTextNode2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMTextNode2 methods ***/ +static FORCEINLINE HRESULT IHTMLDOMTextNode2_substringData(IHTMLDOMTextNode2* This,LONG offset,LONG Count,BSTR *pbstrsubString) { + return This->lpVtbl->substringData(This,offset,Count,pbstrsubString); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_appendData(IHTMLDOMTextNode2* This,BSTR bstrstring) { + return This->lpVtbl->appendData(This,bstrstring); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_insertData(IHTMLDOMTextNode2* This,LONG offset,BSTR bstrstring) { + return This->lpVtbl->insertData(This,offset,bstrstring); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_deleteData(IHTMLDOMTextNode2* This,LONG offset,LONG Count) { + return This->lpVtbl->deleteData(This,offset,Count); +} +static FORCEINLINE HRESULT IHTMLDOMTextNode2_replaceData(IHTMLDOMTextNode2* This,LONG offset,LONG Count,BSTR bstrstring) { + return This->lpVtbl->replaceData(This,offset,Count,bstrstring); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMTextNode2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLDOMTextNode coclass + */ + +DEFINE_GUID(CLSID_HTMLDOMTextNode, 0x3050f4ba, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f4ba-98b5-11cf-bb82-00aa00bdce0b") HTMLDOMTextNode; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLDOMTextNode, 0x3050f4ba, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLDOMImplementation interface + */ +#ifndef __IHTMLDOMImplementation_INTERFACE_DEFINED__ +#define __IHTMLDOMImplementation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMImplementation, 0x3050f80d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f80d-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMImplementation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE hasFeature( + BSTR bstrfeature, + VARIANT version, + VARIANT_BOOL *pfHasFeature) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMImplementation, 0x3050f80d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMImplementationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMImplementation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMImplementation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMImplementation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMImplementation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMImplementation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMImplementation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMImplementation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMImplementation methods ***/ + HRESULT (STDMETHODCALLTYPE *hasFeature)( + IHTMLDOMImplementation *This, + BSTR bstrfeature, + VARIANT version, + VARIANT_BOOL *pfHasFeature); + + END_INTERFACE +} IHTMLDOMImplementationVtbl; + +interface IHTMLDOMImplementation { + CONST_VTBL IHTMLDOMImplementationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMImplementation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMImplementation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMImplementation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMImplementation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMImplementation methods ***/ +#define IHTMLDOMImplementation_hasFeature(This,bstrfeature,version,pfHasFeature) (This)->lpVtbl->hasFeature(This,bstrfeature,version,pfHasFeature) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMImplementation_QueryInterface(IHTMLDOMImplementation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMImplementation_AddRef(IHTMLDOMImplementation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMImplementation_Release(IHTMLDOMImplementation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMImplementation_GetTypeInfoCount(IHTMLDOMImplementation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMImplementation_GetTypeInfo(IHTMLDOMImplementation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMImplementation_GetIDsOfNames(IHTMLDOMImplementation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMImplementation_Invoke(IHTMLDOMImplementation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMImplementation methods ***/ +static FORCEINLINE HRESULT IHTMLDOMImplementation_hasFeature(IHTMLDOMImplementation* This,BSTR bstrfeature,VARIANT version,VARIANT_BOOL *pfHasFeature) { + return This->lpVtbl->hasFeature(This,bstrfeature,version,pfHasFeature); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMImplementation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLDOMAttribute dispinterface + */ +#ifndef __DispHTMLDOMAttribute_DISPINTERFACE_DEFINED__ +#define __DispHTMLDOMAttribute_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLDOMAttribute, 0x3050f564, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f564-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLDOMAttribute : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLDOMAttribute, 0x3050f564, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLDOMAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLDOMAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLDOMAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLDOMAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLDOMAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLDOMAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLDOMAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLDOMAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLDOMAttributeVtbl; + +interface DispHTMLDOMAttribute { + CONST_VTBL DispHTMLDOMAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLDOMAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLDOMAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLDOMAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLDOMAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLDOMAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLDOMAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLDOMAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLDOMAttribute_QueryInterface(DispHTMLDOMAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLDOMAttribute_AddRef(DispHTMLDOMAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLDOMAttribute_Release(DispHTMLDOMAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLDOMAttribute_GetTypeInfoCount(DispHTMLDOMAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLDOMAttribute_GetTypeInfo(DispHTMLDOMAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLDOMAttribute_GetIDsOfNames(DispHTMLDOMAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLDOMAttribute_Invoke(DispHTMLDOMAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLDOMAttribute_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocumentCompatibleInfo interface + */ +#ifndef __IHTMLDocumentCompatibleInfo_INTERFACE_DEFINED__ +#define __IHTMLDocumentCompatibleInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocumentCompatibleInfo, 0x3051041a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051041a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocumentCompatibleInfo : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_userAgent( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocumentCompatibleInfo, 0x3051041a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocumentCompatibleInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocumentCompatibleInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocumentCompatibleInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocumentCompatibleInfo *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocumentCompatibleInfo *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocumentCompatibleInfo *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocumentCompatibleInfo *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocumentCompatibleInfo *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocumentCompatibleInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *get_userAgent)( + IHTMLDocumentCompatibleInfo *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_version)( + IHTMLDocumentCompatibleInfo *This, + BSTR *p); + + END_INTERFACE +} IHTMLDocumentCompatibleInfoVtbl; + +interface IHTMLDocumentCompatibleInfo { + CONST_VTBL IHTMLDocumentCompatibleInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocumentCompatibleInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocumentCompatibleInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocumentCompatibleInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocumentCompatibleInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocumentCompatibleInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocumentCompatibleInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocumentCompatibleInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocumentCompatibleInfo methods ***/ +#define IHTMLDocumentCompatibleInfo_get_userAgent(This,p) (This)->lpVtbl->get_userAgent(This,p) +#define IHTMLDocumentCompatibleInfo_get_version(This,p) (This)->lpVtbl->get_version(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_QueryInterface(IHTMLDocumentCompatibleInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocumentCompatibleInfo_AddRef(IHTMLDocumentCompatibleInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocumentCompatibleInfo_Release(IHTMLDocumentCompatibleInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_GetTypeInfoCount(IHTMLDocumentCompatibleInfo* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_GetTypeInfo(IHTMLDocumentCompatibleInfo* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_GetIDsOfNames(IHTMLDocumentCompatibleInfo* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_Invoke(IHTMLDocumentCompatibleInfo* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocumentCompatibleInfo methods ***/ +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_get_userAgent(IHTMLDocumentCompatibleInfo* This,BSTR *p) { + return This->lpVtbl->get_userAgent(This,p); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfo_get_version(IHTMLDocumentCompatibleInfo* This,BSTR *p) { + return This->lpVtbl->get_version(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocumentCompatibleInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocumentCompatibleInfoCollection interface + */ +#ifndef __IHTMLDocumentCompatibleInfoCollection_INTERFACE_DEFINED__ +#define __IHTMLDocumentCompatibleInfoCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocumentCompatibleInfoCollection, 0x30510418, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510418-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocumentCompatibleInfoCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + LONG i, + IHTMLDocumentCompatibleInfo **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocumentCompatibleInfoCollection, 0x30510418, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocumentCompatibleInfoCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocumentCompatibleInfoCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocumentCompatibleInfoCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocumentCompatibleInfoCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocumentCompatibleInfoCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocumentCompatibleInfoCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocumentCompatibleInfoCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocumentCompatibleInfoCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocumentCompatibleInfoCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLDocumentCompatibleInfoCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLDocumentCompatibleInfoCollection *This, + LONG i, + IHTMLDocumentCompatibleInfo **p); + + END_INTERFACE +} IHTMLDocumentCompatibleInfoCollectionVtbl; + +interface IHTMLDocumentCompatibleInfoCollection { + CONST_VTBL IHTMLDocumentCompatibleInfoCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocumentCompatibleInfoCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocumentCompatibleInfoCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocumentCompatibleInfoCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocumentCompatibleInfoCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocumentCompatibleInfoCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocumentCompatibleInfoCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocumentCompatibleInfoCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocumentCompatibleInfoCollection methods ***/ +#define IHTMLDocumentCompatibleInfoCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLDocumentCompatibleInfoCollection_item(This,i,p) (This)->lpVtbl->item(This,i,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_QueryInterface(IHTMLDocumentCompatibleInfoCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocumentCompatibleInfoCollection_AddRef(IHTMLDocumentCompatibleInfoCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocumentCompatibleInfoCollection_Release(IHTMLDocumentCompatibleInfoCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_GetTypeInfoCount(IHTMLDocumentCompatibleInfoCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_GetTypeInfo(IHTMLDocumentCompatibleInfoCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_GetIDsOfNames(IHTMLDocumentCompatibleInfoCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_Invoke(IHTMLDocumentCompatibleInfoCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocumentCompatibleInfoCollection methods ***/ +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_get_length(IHTMLDocumentCompatibleInfoCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLDocumentCompatibleInfoCollection_item(IHTMLDocumentCompatibleInfoCollection* This,LONG i,IHTMLDocumentCompatibleInfo **p) { + return This->lpVtbl->item(This,i,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocumentCompatibleInfoCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLDOMTextNode dispinterface + */ +#ifndef __DispHTMLDOMTextNode_DISPINTERFACE_DEFINED__ +#define __DispHTMLDOMTextNode_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLDOMTextNode, 0x3050f565, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f565-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLDOMTextNode : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLDOMTextNode, 0x3050f565, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLDOMTextNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLDOMTextNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLDOMTextNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLDOMTextNode *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLDOMTextNode *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLDOMTextNode *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLDOMTextNode *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLDOMTextNode *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLDOMTextNodeVtbl; + +interface DispHTMLDOMTextNode { + CONST_VTBL DispHTMLDOMTextNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLDOMTextNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLDOMTextNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLDOMTextNode_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLDOMTextNode_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLDOMTextNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLDOMTextNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLDOMTextNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLDOMTextNode_QueryInterface(DispHTMLDOMTextNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLDOMTextNode_AddRef(DispHTMLDOMTextNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLDOMTextNode_Release(DispHTMLDOMTextNode* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLDOMTextNode_GetTypeInfoCount(DispHTMLDOMTextNode* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLDOMTextNode_GetTypeInfo(DispHTMLDOMTextNode* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLDOMTextNode_GetIDsOfNames(DispHTMLDOMTextNode* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLDOMTextNode_Invoke(DispHTMLDOMTextNode* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLDOMTextNode_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLAttributeCollection interface + */ +#ifndef __IHTMLAttributeCollection_INTERFACE_DEFINED__ +#define __IHTMLAttributeCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLAttributeCollection, 0x3050f4c3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4c3-98b5-11cf-bb82-00aa00bdce0b") +IHTMLAttributeCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT *name, + IDispatch **pdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLAttributeCollection, 0x3050f4c3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLAttributeCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLAttributeCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLAttributeCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLAttributeCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLAttributeCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLAttributeCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLAttributeCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLAttributeCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLAttributeCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLAttributeCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLAttributeCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLAttributeCollection *This, + VARIANT *name, + IDispatch **pdisp); + + END_INTERFACE +} IHTMLAttributeCollectionVtbl; + +interface IHTMLAttributeCollection { + CONST_VTBL IHTMLAttributeCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLAttributeCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLAttributeCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLAttributeCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLAttributeCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLAttributeCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLAttributeCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLAttributeCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLAttributeCollection methods ***/ +#define IHTMLAttributeCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLAttributeCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLAttributeCollection_item(This,name,pdisp) (This)->lpVtbl->item(This,name,pdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection_QueryInterface(IHTMLAttributeCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLAttributeCollection_AddRef(IHTMLAttributeCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLAttributeCollection_Release(IHTMLAttributeCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection_GetTypeInfoCount(IHTMLAttributeCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection_GetTypeInfo(IHTMLAttributeCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection_GetIDsOfNames(IHTMLAttributeCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection_Invoke(IHTMLAttributeCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLAttributeCollection methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection_get_length(IHTMLAttributeCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection_get__newEnum(IHTMLAttributeCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection_item(IHTMLAttributeCollection* This,VARIANT *name,IDispatch **pdisp) { + return This->lpVtbl->item(This,name,pdisp); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLAttributeCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLAttributeCollection2 interface + */ +#ifndef __IHTMLAttributeCollection2_INTERFACE_DEFINED__ +#define __IHTMLAttributeCollection2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLAttributeCollection2, 0x3050f80a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f80a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLAttributeCollection2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getNamedItem( + BSTR bstrName, + IHTMLDOMAttribute **newretNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setNamedItem( + IHTMLDOMAttribute *ppNode, + IHTMLDOMAttribute **newretNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNamedItem( + BSTR bstrName, + IHTMLDOMAttribute **newretNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLAttributeCollection2, 0x3050f80a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLAttributeCollection2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLAttributeCollection2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLAttributeCollection2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLAttributeCollection2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLAttributeCollection2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLAttributeCollection2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLAttributeCollection2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLAttributeCollection2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLAttributeCollection2 methods ***/ + HRESULT (STDMETHODCALLTYPE *getNamedItem)( + IHTMLAttributeCollection2 *This, + BSTR bstrName, + IHTMLDOMAttribute **newretNode); + + HRESULT (STDMETHODCALLTYPE *setNamedItem)( + IHTMLAttributeCollection2 *This, + IHTMLDOMAttribute *ppNode, + IHTMLDOMAttribute **newretNode); + + HRESULT (STDMETHODCALLTYPE *removeNamedItem)( + IHTMLAttributeCollection2 *This, + BSTR bstrName, + IHTMLDOMAttribute **newretNode); + + END_INTERFACE +} IHTMLAttributeCollection2Vtbl; + +interface IHTMLAttributeCollection2 { + CONST_VTBL IHTMLAttributeCollection2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLAttributeCollection2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLAttributeCollection2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLAttributeCollection2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLAttributeCollection2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLAttributeCollection2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLAttributeCollection2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLAttributeCollection2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLAttributeCollection2 methods ***/ +#define IHTMLAttributeCollection2_getNamedItem(This,bstrName,newretNode) (This)->lpVtbl->getNamedItem(This,bstrName,newretNode) +#define IHTMLAttributeCollection2_setNamedItem(This,ppNode,newretNode) (This)->lpVtbl->setNamedItem(This,ppNode,newretNode) +#define IHTMLAttributeCollection2_removeNamedItem(This,bstrName,newretNode) (This)->lpVtbl->removeNamedItem(This,bstrName,newretNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection2_QueryInterface(IHTMLAttributeCollection2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLAttributeCollection2_AddRef(IHTMLAttributeCollection2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLAttributeCollection2_Release(IHTMLAttributeCollection2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection2_GetTypeInfoCount(IHTMLAttributeCollection2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection2_GetTypeInfo(IHTMLAttributeCollection2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection2_GetIDsOfNames(IHTMLAttributeCollection2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection2_Invoke(IHTMLAttributeCollection2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLAttributeCollection2 methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection2_getNamedItem(IHTMLAttributeCollection2* This,BSTR bstrName,IHTMLDOMAttribute **newretNode) { + return This->lpVtbl->getNamedItem(This,bstrName,newretNode); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection2_setNamedItem(IHTMLAttributeCollection2* This,IHTMLDOMAttribute *ppNode,IHTMLDOMAttribute **newretNode) { + return This->lpVtbl->setNamedItem(This,ppNode,newretNode); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection2_removeNamedItem(IHTMLAttributeCollection2* This,BSTR bstrName,IHTMLDOMAttribute **newretNode) { + return This->lpVtbl->removeNamedItem(This,bstrName,newretNode); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLAttributeCollection2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLAttributeCollection3 interface + */ +#ifndef __IHTMLAttributeCollection3_INTERFACE_DEFINED__ +#define __IHTMLAttributeCollection3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLAttributeCollection3, 0x30510469, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510469-98b5-11cf-bb82-00aa00bdce0b") +IHTMLAttributeCollection3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getNamedItem( + BSTR bstrName, + IHTMLDOMAttribute **ppNodeOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE setNamedItem( + IHTMLDOMAttribute *pNodeIn, + IHTMLDOMAttribute **ppNodeOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNamedItem( + BSTR bstrName, + IHTMLDOMAttribute **ppNodeOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + LONG index, + IHTMLDOMAttribute **ppNodeOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLAttributeCollection3, 0x30510469, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLAttributeCollection3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLAttributeCollection3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLAttributeCollection3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLAttributeCollection3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLAttributeCollection3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLAttributeCollection3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLAttributeCollection3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLAttributeCollection3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLAttributeCollection3 methods ***/ + HRESULT (STDMETHODCALLTYPE *getNamedItem)( + IHTMLAttributeCollection3 *This, + BSTR bstrName, + IHTMLDOMAttribute **ppNodeOut); + + HRESULT (STDMETHODCALLTYPE *setNamedItem)( + IHTMLAttributeCollection3 *This, + IHTMLDOMAttribute *pNodeIn, + IHTMLDOMAttribute **ppNodeOut); + + HRESULT (STDMETHODCALLTYPE *removeNamedItem)( + IHTMLAttributeCollection3 *This, + BSTR bstrName, + IHTMLDOMAttribute **ppNodeOut); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLAttributeCollection3 *This, + LONG index, + IHTMLDOMAttribute **ppNodeOut); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLAttributeCollection3 *This, + LONG *p); + + END_INTERFACE +} IHTMLAttributeCollection3Vtbl; + +interface IHTMLAttributeCollection3 { + CONST_VTBL IHTMLAttributeCollection3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLAttributeCollection3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLAttributeCollection3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLAttributeCollection3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLAttributeCollection3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLAttributeCollection3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLAttributeCollection3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLAttributeCollection3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLAttributeCollection3 methods ***/ +#define IHTMLAttributeCollection3_getNamedItem(This,bstrName,ppNodeOut) (This)->lpVtbl->getNamedItem(This,bstrName,ppNodeOut) +#define IHTMLAttributeCollection3_setNamedItem(This,pNodeIn,ppNodeOut) (This)->lpVtbl->setNamedItem(This,pNodeIn,ppNodeOut) +#define IHTMLAttributeCollection3_removeNamedItem(This,bstrName,ppNodeOut) (This)->lpVtbl->removeNamedItem(This,bstrName,ppNodeOut) +#define IHTMLAttributeCollection3_item(This,index,ppNodeOut) (This)->lpVtbl->item(This,index,ppNodeOut) +#define IHTMLAttributeCollection3_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection3_QueryInterface(IHTMLAttributeCollection3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLAttributeCollection3_AddRef(IHTMLAttributeCollection3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLAttributeCollection3_Release(IHTMLAttributeCollection3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection3_GetTypeInfoCount(IHTMLAttributeCollection3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_GetTypeInfo(IHTMLAttributeCollection3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_GetIDsOfNames(IHTMLAttributeCollection3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_Invoke(IHTMLAttributeCollection3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLAttributeCollection3 methods ***/ +static FORCEINLINE HRESULT IHTMLAttributeCollection3_getNamedItem(IHTMLAttributeCollection3* This,BSTR bstrName,IHTMLDOMAttribute **ppNodeOut) { + return This->lpVtbl->getNamedItem(This,bstrName,ppNodeOut); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_setNamedItem(IHTMLAttributeCollection3* This,IHTMLDOMAttribute *pNodeIn,IHTMLDOMAttribute **ppNodeOut) { + return This->lpVtbl->setNamedItem(This,pNodeIn,ppNodeOut); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_removeNamedItem(IHTMLAttributeCollection3* This,BSTR bstrName,IHTMLDOMAttribute **ppNodeOut) { + return This->lpVtbl->removeNamedItem(This,bstrName,ppNodeOut); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_item(IHTMLAttributeCollection3* This,LONG index,IHTMLDOMAttribute **ppNodeOut) { + return This->lpVtbl->item(This,index,ppNodeOut); +} +static FORCEINLINE HRESULT IHTMLAttributeCollection3_get_length(IHTMLAttributeCollection3* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLAttributeCollection3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLAttributeCollection dispinterface + */ +#ifndef __DispHTMLAttributeCollection_DISPINTERFACE_DEFINED__ +#define __DispHTMLAttributeCollection_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLAttributeCollection, 0x3050f56c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f56c-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLAttributeCollection : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLAttributeCollection, 0x3050f56c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLAttributeCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLAttributeCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLAttributeCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLAttributeCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLAttributeCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLAttributeCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLAttributeCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLAttributeCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLAttributeCollectionVtbl; + +interface DispHTMLAttributeCollection { + CONST_VTBL DispHTMLAttributeCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLAttributeCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLAttributeCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLAttributeCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLAttributeCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLAttributeCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLAttributeCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLAttributeCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLAttributeCollection_QueryInterface(DispHTMLAttributeCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLAttributeCollection_AddRef(DispHTMLAttributeCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLAttributeCollection_Release(DispHTMLAttributeCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLAttributeCollection_GetTypeInfoCount(DispHTMLAttributeCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLAttributeCollection_GetTypeInfo(DispHTMLAttributeCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLAttributeCollection_GetIDsOfNames(DispHTMLAttributeCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLAttributeCollection_Invoke(DispHTMLAttributeCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLAttributeCollection_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMChildrenCollection interface + */ +#ifndef __IHTMLDOMChildrenCollection_INTERFACE_DEFINED__ +#define __IHTMLDOMChildrenCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMChildrenCollection, 0x3050f5ab, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f5ab-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMChildrenCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + LONG index, + IDispatch **ppItem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMChildrenCollection, 0x3050f5ab, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMChildrenCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMChildrenCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMChildrenCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMChildrenCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMChildrenCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMChildrenCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMChildrenCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMChildrenCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMChildrenCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLDOMChildrenCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLDOMChildrenCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLDOMChildrenCollection *This, + LONG index, + IDispatch **ppItem); + + END_INTERFACE +} IHTMLDOMChildrenCollectionVtbl; + +interface IHTMLDOMChildrenCollection { + CONST_VTBL IHTMLDOMChildrenCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMChildrenCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMChildrenCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMChildrenCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMChildrenCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMChildrenCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMChildrenCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMChildrenCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMChildrenCollection methods ***/ +#define IHTMLDOMChildrenCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLDOMChildrenCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLDOMChildrenCollection_item(This,index,ppItem) (This)->lpVtbl->item(This,index,ppItem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_QueryInterface(IHTMLDOMChildrenCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMChildrenCollection_AddRef(IHTMLDOMChildrenCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMChildrenCollection_Release(IHTMLDOMChildrenCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_GetTypeInfoCount(IHTMLDOMChildrenCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_GetTypeInfo(IHTMLDOMChildrenCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_GetIDsOfNames(IHTMLDOMChildrenCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_Invoke(IHTMLDOMChildrenCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMChildrenCollection methods ***/ +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_get_length(IHTMLDOMChildrenCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_get__newEnum(IHTMLDOMChildrenCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMChildrenCollection_item(IHTMLDOMChildrenCollection* This,LONG index,IDispatch **ppItem) { + return This->lpVtbl->item(This,index,ppItem); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMChildrenCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispDOMChildrenCollection dispinterface + */ +#ifndef __DispDOMChildrenCollection_DISPINTERFACE_DEFINED__ +#define __DispDOMChildrenCollection_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispDOMChildrenCollection, 0x3050f577, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f577-98b5-11cf-bb82-00aa00bdce0b") +DispDOMChildrenCollection : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispDOMChildrenCollection, 0x3050f577, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispDOMChildrenCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispDOMChildrenCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispDOMChildrenCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispDOMChildrenCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispDOMChildrenCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispDOMChildrenCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispDOMChildrenCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispDOMChildrenCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispDOMChildrenCollectionVtbl; + +interface DispDOMChildrenCollection { + CONST_VTBL DispDOMChildrenCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispDOMChildrenCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispDOMChildrenCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispDOMChildrenCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispDOMChildrenCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispDOMChildrenCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispDOMChildrenCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispDOMChildrenCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispDOMChildrenCollection_QueryInterface(DispDOMChildrenCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispDOMChildrenCollection_AddRef(DispDOMChildrenCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispDOMChildrenCollection_Release(DispDOMChildrenCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispDOMChildrenCollection_GetTypeInfoCount(DispDOMChildrenCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispDOMChildrenCollection_GetTypeInfo(DispDOMChildrenCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispDOMChildrenCollection_GetIDsOfNames(DispDOMChildrenCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispDOMChildrenCollection_Invoke(DispDOMChildrenCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispDOMChildrenCollection_DISPINTERFACE_DEFINED__ */ + +#ifndef __IHTMLElementCollection_FWD_DEFINED__ +#define __IHTMLElementCollection_FWD_DEFINED__ +typedef interface IHTMLElementCollection IHTMLElementCollection; +#ifdef __cplusplus +interface IHTMLElementCollection; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IHTMLElement interface + */ +#ifndef __IHTMLElement_INTERFACE_DEFINED__ +#define __IHTMLElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLElement, 0x3050f1ff, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f1ff-98b5-11cf-bb82-00aa00bdce0b") +IHTMLElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strAttributeName, + VARIANT AttributeValue, + LONG lFlags = 1) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strAttributeName, + LONG lFlags, + VARIANT_BOOL *pfSuccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_className( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_className( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_id( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_id( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_style( + IHTMLStyle **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onhelp( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onhelp( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onclick( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onclick( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondblclick( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondblclick( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onkeydown( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onkeydown( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onkeyup( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onkeyup( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onkeypress( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onkeypress( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseout( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseout( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseover( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseover( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmousemove( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmousemove( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmousedown( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmousedown( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseup( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseup( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_document( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_title( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_title( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_language( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_language( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselectstart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselectstart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE scrollIntoView( + VARIANT varargStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE contains( + IHTMLElement *pChild, + VARIANT_BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_sourceIndex( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_recordNumber( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_lang( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lang( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetLeft( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetParent( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_innerHTML( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_innerHTML( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_innerText( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_innerText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_outerHTML( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_outerHTML( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_outerText( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_outerText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertAdjacentHTML( + BSTR where, + BSTR html) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertAdjacentText( + BSTR where, + BSTR text) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentTextEdit( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isTextEdit( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE click( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filters( + IHTMLFiltersCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragstart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragstart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onafterupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onafterupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerrorupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerrorupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowexit( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowexit( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowenter( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowenter( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondatasetchanged( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondatasetchanged( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondataavailable( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondataavailable( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondatasetcomplete( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondatasetcomplete( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfilterchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfilterchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_children( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_all( + IDispatch **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLElement, 0x3050f1ff, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLElement methods ***/ + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IHTMLElement *This, + BSTR strAttributeName, + VARIANT AttributeValue, + LONG lFlags); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IHTMLElement *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT *AttributeValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IHTMLElement *This, + BSTR strAttributeName, + LONG lFlags, + VARIANT_BOOL *pfSuccess); + + HRESULT (STDMETHODCALLTYPE *put_className)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_className)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_id)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_id)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_parentElement)( + IHTMLElement *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_style)( + IHTMLElement *This, + IHTMLStyle **p); + + HRESULT (STDMETHODCALLTYPE *put_onhelp)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onhelp)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onclick)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onclick)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondblclick)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondblclick)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onkeydown)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onkeydown)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onkeyup)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onkeyup)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onkeypress)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onkeypress)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseout)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseout)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseover)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseover)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmousemove)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmousemove)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmousedown)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmousedown)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseup)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseup)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_document)( + IHTMLElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_title)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_title)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_language)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_language)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onselectstart)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselectstart)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *scrollIntoView)( + IHTMLElement *This, + VARIANT varargStart); + + HRESULT (STDMETHODCALLTYPE *contains)( + IHTMLElement *This, + IHTMLElement *pChild, + VARIANT_BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *get_sourceIndex)( + IHTMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_recordNumber)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_lang)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_lang)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetLeft)( + IHTMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetTop)( + IHTMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetWidth)( + IHTMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetHeight)( + IHTMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetParent)( + IHTMLElement *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *put_innerHTML)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_innerHTML)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_innerText)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_innerText)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_outerHTML)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_outerHTML)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_outerText)( + IHTMLElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_outerText)( + IHTMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *insertAdjacentHTML)( + IHTMLElement *This, + BSTR where, + BSTR html); + + HRESULT (STDMETHODCALLTYPE *insertAdjacentText)( + IHTMLElement *This, + BSTR where, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_parentTextEdit)( + IHTMLElement *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_isTextEdit)( + IHTMLElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *click)( + IHTMLElement *This); + + HRESULT (STDMETHODCALLTYPE *get_filters)( + IHTMLElement *This, + IHTMLFiltersCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_ondragstart)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragstart)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLElement *This, + BSTR *String); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeupdate)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeupdate)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onafterupdate)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onafterupdate)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerrorupdate)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerrorupdate)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowexit)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowexit)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowenter)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowenter)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondatasetchanged)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondatasetchanged)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondataavailable)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondatasetcomplete)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondatasetcomplete)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfilterchange)( + IHTMLElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfilterchange)( + IHTMLElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_children)( + IHTMLElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_all)( + IHTMLElement *This, + IDispatch **p); + + END_INTERFACE +} IHTMLElementVtbl; + +interface IHTMLElement { + CONST_VTBL IHTMLElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLElement methods ***/ +#define IHTMLElement_setAttribute(This,strAttributeName,AttributeValue,lFlags) (This)->lpVtbl->setAttribute(This,strAttributeName,AttributeValue,lFlags) +#define IHTMLElement_getAttribute(This,strAttributeName,lFlags,AttributeValue) (This)->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue) +#define IHTMLElement_removeAttribute(This,strAttributeName,lFlags,pfSuccess) (This)->lpVtbl->removeAttribute(This,strAttributeName,lFlags,pfSuccess) +#define IHTMLElement_put_className(This,v) (This)->lpVtbl->put_className(This,v) +#define IHTMLElement_get_className(This,p) (This)->lpVtbl->get_className(This,p) +#define IHTMLElement_put_id(This,v) (This)->lpVtbl->put_id(This,v) +#define IHTMLElement_get_id(This,p) (This)->lpVtbl->get_id(This,p) +#define IHTMLElement_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IHTMLElement_get_parentElement(This,p) (This)->lpVtbl->get_parentElement(This,p) +#define IHTMLElement_get_style(This,p) (This)->lpVtbl->get_style(This,p) +#define IHTMLElement_put_onhelp(This,v) (This)->lpVtbl->put_onhelp(This,v) +#define IHTMLElement_get_onhelp(This,p) (This)->lpVtbl->get_onhelp(This,p) +#define IHTMLElement_put_onclick(This,v) (This)->lpVtbl->put_onclick(This,v) +#define IHTMLElement_get_onclick(This,p) (This)->lpVtbl->get_onclick(This,p) +#define IHTMLElement_put_ondblclick(This,v) (This)->lpVtbl->put_ondblclick(This,v) +#define IHTMLElement_get_ondblclick(This,p) (This)->lpVtbl->get_ondblclick(This,p) +#define IHTMLElement_put_onkeydown(This,v) (This)->lpVtbl->put_onkeydown(This,v) +#define IHTMLElement_get_onkeydown(This,p) (This)->lpVtbl->get_onkeydown(This,p) +#define IHTMLElement_put_onkeyup(This,v) (This)->lpVtbl->put_onkeyup(This,v) +#define IHTMLElement_get_onkeyup(This,p) (This)->lpVtbl->get_onkeyup(This,p) +#define IHTMLElement_put_onkeypress(This,v) (This)->lpVtbl->put_onkeypress(This,v) +#define IHTMLElement_get_onkeypress(This,p) (This)->lpVtbl->get_onkeypress(This,p) +#define IHTMLElement_put_onmouseout(This,v) (This)->lpVtbl->put_onmouseout(This,v) +#define IHTMLElement_get_onmouseout(This,p) (This)->lpVtbl->get_onmouseout(This,p) +#define IHTMLElement_put_onmouseover(This,v) (This)->lpVtbl->put_onmouseover(This,v) +#define IHTMLElement_get_onmouseover(This,p) (This)->lpVtbl->get_onmouseover(This,p) +#define IHTMLElement_put_onmousemove(This,v) (This)->lpVtbl->put_onmousemove(This,v) +#define IHTMLElement_get_onmousemove(This,p) (This)->lpVtbl->get_onmousemove(This,p) +#define IHTMLElement_put_onmousedown(This,v) (This)->lpVtbl->put_onmousedown(This,v) +#define IHTMLElement_get_onmousedown(This,p) (This)->lpVtbl->get_onmousedown(This,p) +#define IHTMLElement_put_onmouseup(This,v) (This)->lpVtbl->put_onmouseup(This,v) +#define IHTMLElement_get_onmouseup(This,p) (This)->lpVtbl->get_onmouseup(This,p) +#define IHTMLElement_get_document(This,p) (This)->lpVtbl->get_document(This,p) +#define IHTMLElement_put_title(This,v) (This)->lpVtbl->put_title(This,v) +#define IHTMLElement_get_title(This,p) (This)->lpVtbl->get_title(This,p) +#define IHTMLElement_put_language(This,v) (This)->lpVtbl->put_language(This,v) +#define IHTMLElement_get_language(This,p) (This)->lpVtbl->get_language(This,p) +#define IHTMLElement_put_onselectstart(This,v) (This)->lpVtbl->put_onselectstart(This,v) +#define IHTMLElement_get_onselectstart(This,p) (This)->lpVtbl->get_onselectstart(This,p) +#define IHTMLElement_scrollIntoView(This,varargStart) (This)->lpVtbl->scrollIntoView(This,varargStart) +#define IHTMLElement_contains(This,pChild,pfResult) (This)->lpVtbl->contains(This,pChild,pfResult) +#define IHTMLElement_get_sourceIndex(This,p) (This)->lpVtbl->get_sourceIndex(This,p) +#define IHTMLElement_get_recordNumber(This,p) (This)->lpVtbl->get_recordNumber(This,p) +#define IHTMLElement_put_lang(This,v) (This)->lpVtbl->put_lang(This,v) +#define IHTMLElement_get_lang(This,p) (This)->lpVtbl->get_lang(This,p) +#define IHTMLElement_get_offsetLeft(This,p) (This)->lpVtbl->get_offsetLeft(This,p) +#define IHTMLElement_get_offsetTop(This,p) (This)->lpVtbl->get_offsetTop(This,p) +#define IHTMLElement_get_offsetWidth(This,p) (This)->lpVtbl->get_offsetWidth(This,p) +#define IHTMLElement_get_offsetHeight(This,p) (This)->lpVtbl->get_offsetHeight(This,p) +#define IHTMLElement_get_offsetParent(This,p) (This)->lpVtbl->get_offsetParent(This,p) +#define IHTMLElement_put_innerHTML(This,v) (This)->lpVtbl->put_innerHTML(This,v) +#define IHTMLElement_get_innerHTML(This,p) (This)->lpVtbl->get_innerHTML(This,p) +#define IHTMLElement_put_innerText(This,v) (This)->lpVtbl->put_innerText(This,v) +#define IHTMLElement_get_innerText(This,p) (This)->lpVtbl->get_innerText(This,p) +#define IHTMLElement_put_outerHTML(This,v) (This)->lpVtbl->put_outerHTML(This,v) +#define IHTMLElement_get_outerHTML(This,p) (This)->lpVtbl->get_outerHTML(This,p) +#define IHTMLElement_put_outerText(This,v) (This)->lpVtbl->put_outerText(This,v) +#define IHTMLElement_get_outerText(This,p) (This)->lpVtbl->get_outerText(This,p) +#define IHTMLElement_insertAdjacentHTML(This,where,html) (This)->lpVtbl->insertAdjacentHTML(This,where,html) +#define IHTMLElement_insertAdjacentText(This,where,text) (This)->lpVtbl->insertAdjacentText(This,where,text) +#define IHTMLElement_get_parentTextEdit(This,p) (This)->lpVtbl->get_parentTextEdit(This,p) +#define IHTMLElement_get_isTextEdit(This,p) (This)->lpVtbl->get_isTextEdit(This,p) +#define IHTMLElement_click(This) (This)->lpVtbl->click(This) +#define IHTMLElement_get_filters(This,p) (This)->lpVtbl->get_filters(This,p) +#define IHTMLElement_put_ondragstart(This,v) (This)->lpVtbl->put_ondragstart(This,v) +#define IHTMLElement_get_ondragstart(This,p) (This)->lpVtbl->get_ondragstart(This,p) +#define IHTMLElement_toString(This,String) (This)->lpVtbl->toString(This,String) +#define IHTMLElement_put_onbeforeupdate(This,v) (This)->lpVtbl->put_onbeforeupdate(This,v) +#define IHTMLElement_get_onbeforeupdate(This,p) (This)->lpVtbl->get_onbeforeupdate(This,p) +#define IHTMLElement_put_onafterupdate(This,v) (This)->lpVtbl->put_onafterupdate(This,v) +#define IHTMLElement_get_onafterupdate(This,p) (This)->lpVtbl->get_onafterupdate(This,p) +#define IHTMLElement_put_onerrorupdate(This,v) (This)->lpVtbl->put_onerrorupdate(This,v) +#define IHTMLElement_get_onerrorupdate(This,p) (This)->lpVtbl->get_onerrorupdate(This,p) +#define IHTMLElement_put_onrowexit(This,v) (This)->lpVtbl->put_onrowexit(This,v) +#define IHTMLElement_get_onrowexit(This,p) (This)->lpVtbl->get_onrowexit(This,p) +#define IHTMLElement_put_onrowenter(This,v) (This)->lpVtbl->put_onrowenter(This,v) +#define IHTMLElement_get_onrowenter(This,p) (This)->lpVtbl->get_onrowenter(This,p) +#define IHTMLElement_put_ondatasetchanged(This,v) (This)->lpVtbl->put_ondatasetchanged(This,v) +#define IHTMLElement_get_ondatasetchanged(This,p) (This)->lpVtbl->get_ondatasetchanged(This,p) +#define IHTMLElement_put_ondataavailable(This,v) (This)->lpVtbl->put_ondataavailable(This,v) +#define IHTMLElement_get_ondataavailable(This,p) (This)->lpVtbl->get_ondataavailable(This,p) +#define IHTMLElement_put_ondatasetcomplete(This,v) (This)->lpVtbl->put_ondatasetcomplete(This,v) +#define IHTMLElement_get_ondatasetcomplete(This,p) (This)->lpVtbl->get_ondatasetcomplete(This,p) +#define IHTMLElement_put_onfilterchange(This,v) (This)->lpVtbl->put_onfilterchange(This,v) +#define IHTMLElement_get_onfilterchange(This,p) (This)->lpVtbl->get_onfilterchange(This,p) +#define IHTMLElement_get_children(This,p) (This)->lpVtbl->get_children(This,p) +#define IHTMLElement_get_all(This,p) (This)->lpVtbl->get_all(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLElement_QueryInterface(IHTMLElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLElement_AddRef(IHTMLElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLElement_Release(IHTMLElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLElement_GetTypeInfoCount(IHTMLElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLElement_GetTypeInfo(IHTMLElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLElement_GetIDsOfNames(IHTMLElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLElement_Invoke(IHTMLElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLElement methods ***/ +static FORCEINLINE HRESULT IHTMLElement_setAttribute(IHTMLElement* This,BSTR strAttributeName,VARIANT AttributeValue,LONG lFlags) { + return This->lpVtbl->setAttribute(This,strAttributeName,AttributeValue,lFlags); +} +static FORCEINLINE HRESULT IHTMLElement_getAttribute(IHTMLElement* This,BSTR strAttributeName,LONG lFlags,VARIANT *AttributeValue) { + return This->lpVtbl->getAttribute(This,strAttributeName,lFlags,AttributeValue); +} +static FORCEINLINE HRESULT IHTMLElement_removeAttribute(IHTMLElement* This,BSTR strAttributeName,LONG lFlags,VARIANT_BOOL *pfSuccess) { + return This->lpVtbl->removeAttribute(This,strAttributeName,lFlags,pfSuccess); +} +static FORCEINLINE HRESULT IHTMLElement_put_className(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_className(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_className(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_className(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_id(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_id(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_id(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_id(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_tagName(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_parentElement(IHTMLElement* This,IHTMLElement **p) { + return This->lpVtbl->get_parentElement(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_style(IHTMLElement* This,IHTMLStyle **p) { + return This->lpVtbl->get_style(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onhelp(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onhelp(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onhelp(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onhelp(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onclick(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onclick(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onclick(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onclick(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_ondblclick(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_ondblclick(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_ondblclick(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_ondblclick(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onkeydown(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onkeydown(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onkeydown(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onkeydown(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onkeyup(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onkeyup(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onkeyup(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onkeyup(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onkeypress(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onkeypress(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onkeypress(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onkeypress(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onmouseout(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onmouseout(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onmouseout(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onmouseout(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onmouseover(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onmouseover(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onmouseover(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onmouseover(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onmousemove(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onmousemove(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onmousemove(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onmousemove(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onmousedown(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onmousedown(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onmousedown(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onmousedown(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onmouseup(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onmouseup(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onmouseup(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onmouseup(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_document(IHTMLElement* This,IDispatch **p) { + return This->lpVtbl->get_document(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_title(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_title(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_title(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_title(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_language(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_language(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_language(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_language(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onselectstart(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onselectstart(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onselectstart(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onselectstart(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_scrollIntoView(IHTMLElement* This,VARIANT varargStart) { + return This->lpVtbl->scrollIntoView(This,varargStart); +} +static FORCEINLINE HRESULT IHTMLElement_contains(IHTMLElement* This,IHTMLElement *pChild,VARIANT_BOOL *pfResult) { + return This->lpVtbl->contains(This,pChild,pfResult); +} +static FORCEINLINE HRESULT IHTMLElement_get_sourceIndex(IHTMLElement* This,LONG *p) { + return This->lpVtbl->get_sourceIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_recordNumber(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_recordNumber(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_lang(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_lang(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_lang(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_lang(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_offsetLeft(IHTMLElement* This,LONG *p) { + return This->lpVtbl->get_offsetLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_offsetTop(IHTMLElement* This,LONG *p) { + return This->lpVtbl->get_offsetTop(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_offsetWidth(IHTMLElement* This,LONG *p) { + return This->lpVtbl->get_offsetWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_offsetHeight(IHTMLElement* This,LONG *p) { + return This->lpVtbl->get_offsetHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_offsetParent(IHTMLElement* This,IHTMLElement **p) { + return This->lpVtbl->get_offsetParent(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_innerHTML(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_innerHTML(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_innerHTML(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_innerHTML(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_innerText(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_innerText(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_innerText(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_innerText(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_outerHTML(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_outerHTML(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_outerHTML(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_outerHTML(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_outerText(IHTMLElement* This,BSTR v) { + return This->lpVtbl->put_outerText(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_outerText(IHTMLElement* This,BSTR *p) { + return This->lpVtbl->get_outerText(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_insertAdjacentHTML(IHTMLElement* This,BSTR where,BSTR html) { + return This->lpVtbl->insertAdjacentHTML(This,where,html); +} +static FORCEINLINE HRESULT IHTMLElement_insertAdjacentText(IHTMLElement* This,BSTR where,BSTR text) { + return This->lpVtbl->insertAdjacentText(This,where,text); +} +static FORCEINLINE HRESULT IHTMLElement_get_parentTextEdit(IHTMLElement* This,IHTMLElement **p) { + return This->lpVtbl->get_parentTextEdit(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_isTextEdit(IHTMLElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isTextEdit(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_click(IHTMLElement* This) { + return This->lpVtbl->click(This); +} +static FORCEINLINE HRESULT IHTMLElement_get_filters(IHTMLElement* This,IHTMLFiltersCollection **p) { + return This->lpVtbl->get_filters(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_ondragstart(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_ondragstart(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_ondragstart(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_ondragstart(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_toString(IHTMLElement* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +static FORCEINLINE HRESULT IHTMLElement_put_onbeforeupdate(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onbeforeupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onbeforeupdate(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onafterupdate(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onafterupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onafterupdate(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onafterupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onerrorupdate(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onerrorupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onerrorupdate(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onerrorupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onrowexit(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onrowexit(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onrowexit(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onrowexit(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onrowenter(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onrowenter(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onrowenter(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onrowenter(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_ondatasetchanged(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_ondatasetchanged(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_ondatasetchanged(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_ondatasetchanged(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_ondataavailable(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_ondataavailable(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_ondataavailable(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_ondataavailable(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_ondatasetcomplete(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_ondatasetcomplete(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_ondatasetcomplete(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_ondatasetcomplete(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_put_onfilterchange(IHTMLElement* This,VARIANT v) { + return This->lpVtbl->put_onfilterchange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement_get_onfilterchange(IHTMLElement* This,VARIANT *p) { + return This->lpVtbl->get_onfilterchange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_children(IHTMLElement* This,IDispatch **p) { + return This->lpVtbl->get_children(This,p); +} +static FORCEINLINE HRESULT IHTMLElement_get_all(IHTMLElement* This,IDispatch **p) { + return This->lpVtbl->get_all(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLElement2 interface + */ +#ifndef __IHTMLElement2_INTERFACE_DEFINED__ +#define __IHTMLElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLElement2, 0x3050f434, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f434-98b5-11cf-bb82-00aa00bdce0b") +IHTMLElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_scopeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setCapture( + VARIANT_BOOL containerCapture = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE releaseCapture( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onlosecapture( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onlosecapture( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE componentFromPoint( + LONG x, + LONG y, + BSTR *component) = 0; + + virtual HRESULT STDMETHODCALLTYPE doScroll( + VARIANT component) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onscroll( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onscroll( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondrag( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondrag( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragenter( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragenter( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragover( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragover( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragleave( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragleave( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondrop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondrop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforecut( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforecut( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncut( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncut( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforecopy( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforecopy( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncopy( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncopy( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforepaste( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforepaste( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onpaste( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onpaste( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentStyle( + IHTMLCurrentStyle **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onpropertychange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onpropertychange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getClientRects( + IHTMLRectCollection **pRectCol) = 0; + + virtual HRESULT STDMETHODCALLTYPE getBoundingClientRect( + IHTMLRect **pRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE setExpression( + BSTR propname, + BSTR expression, + BSTR language = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE getExpression( + BSTR propname, + VARIANT *expression) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeExpression( + BSTR propname, + VARIANT_BOOL *pfSuccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tabIndex( + short v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tabIndex( + short *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE focus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accessKey( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accessKey( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onblur( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onblur( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onresize( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onresize( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE blur( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE addFilter( + IUnknown *pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeFilter( + IUnknown *pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientLeft( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE attachEvent( + BSTR event, + IDispatch *pDisp, + VARIANT_BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE detachEvent( + BSTR event, + IDispatch *pDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowsdelete( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowsdelete( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowsinserted( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowsinserted( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncellchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncellchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dir( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dir( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createControlRange( + IDispatch **range) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollTop( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollLeft( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollLeft( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE clearAttributes( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE mergeAttributes( + IHTMLElement *mergeThis) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncontextmenu( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncontextmenu( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertAdjacentElement( + BSTR where, + IHTMLElement *insertedElement, + IHTMLElement **inserted) = 0; + + virtual HRESULT STDMETHODCALLTYPE applyElement( + IHTMLElement *apply, + BSTR where, + IHTMLElement **applied) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAdjacentText( + BSTR where, + BSTR *text) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceAdjacentText( + BSTR where, + BSTR newText, + BSTR *oldText) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_canHaveChildren( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addBehavior( + BSTR bstrUrl, + VARIANT *pvarFactory, + LONG *pCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeBehavior( + LONG cookie, + VARIANT_BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_runtimeStyle( + IHTMLStyle **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_behaviorUrns( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tagUrn( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tagUrn( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeeditfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeeditfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyStateValue( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR v, + IHTMLElementCollection **pelColl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLElement2, 0x3050f434, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_scopeName)( + IHTMLElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *setCapture)( + IHTMLElement2 *This, + VARIANT_BOOL containerCapture); + + HRESULT (STDMETHODCALLTYPE *releaseCapture)( + IHTMLElement2 *This); + + HRESULT (STDMETHODCALLTYPE *put_onlosecapture)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onlosecapture)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *componentFromPoint)( + IHTMLElement2 *This, + LONG x, + LONG y, + BSTR *component); + + HRESULT (STDMETHODCALLTYPE *doScroll)( + IHTMLElement2 *This, + VARIANT component); + + HRESULT (STDMETHODCALLTYPE *put_onscroll)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onscroll)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondrag)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondrag)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragend)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragend)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragenter)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragenter)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragover)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragover)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragleave)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragleave)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondrop)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondrop)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforecut)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforecut)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncut)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncut)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforecopy)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforecopy)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncopy)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncopy)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforepaste)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforepaste)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onpaste)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onpaste)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_currentStyle)( + IHTMLElement2 *This, + IHTMLCurrentStyle **p); + + HRESULT (STDMETHODCALLTYPE *put_onpropertychange)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onpropertychange)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *getClientRects)( + IHTMLElement2 *This, + IHTMLRectCollection **pRectCol); + + HRESULT (STDMETHODCALLTYPE *getBoundingClientRect)( + IHTMLElement2 *This, + IHTMLRect **pRect); + + HRESULT (STDMETHODCALLTYPE *setExpression)( + IHTMLElement2 *This, + BSTR propname, + BSTR expression, + BSTR language); + + HRESULT (STDMETHODCALLTYPE *getExpression)( + IHTMLElement2 *This, + BSTR propname, + VARIANT *expression); + + HRESULT (STDMETHODCALLTYPE *removeExpression)( + IHTMLElement2 *This, + BSTR propname, + VARIANT_BOOL *pfSuccess); + + HRESULT (STDMETHODCALLTYPE *put_tabIndex)( + IHTMLElement2 *This, + short v); + + HRESULT (STDMETHODCALLTYPE *get_tabIndex)( + IHTMLElement2 *This, + short *p); + + HRESULT (STDMETHODCALLTYPE *focus)( + IHTMLElement2 *This); + + HRESULT (STDMETHODCALLTYPE *put_accessKey)( + IHTMLElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_accessKey)( + IHTMLElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onblur)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onblur)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocus)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocus)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onresize)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onresize)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *blur)( + IHTMLElement2 *This); + + HRESULT (STDMETHODCALLTYPE *addFilter)( + IHTMLElement2 *This, + IUnknown *pUnk); + + HRESULT (STDMETHODCALLTYPE *removeFilter)( + IHTMLElement2 *This, + IUnknown *pUnk); + + HRESULT (STDMETHODCALLTYPE *get_clientHeight)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientWidth)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientTop)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientLeft)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *attachEvent)( + IHTMLElement2 *This, + BSTR event, + IDispatch *pDisp, + VARIANT_BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *detachEvent)( + IHTMLElement2 *This, + BSTR event, + IDispatch *pDisp); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowsdelete)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowsdelete)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowsinserted)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowsinserted)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncellchange)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncellchange)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_dir)( + IHTMLElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dir)( + IHTMLElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *createControlRange)( + IHTMLElement2 *This, + IDispatch **range); + + HRESULT (STDMETHODCALLTYPE *get_scrollHeight)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollWidth)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollTop)( + IHTMLElement2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_scrollTop)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollLeft)( + IHTMLElement2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_scrollLeft)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *clearAttributes)( + IHTMLElement2 *This); + + HRESULT (STDMETHODCALLTYPE *mergeAttributes)( + IHTMLElement2 *This, + IHTMLElement *mergeThis); + + HRESULT (STDMETHODCALLTYPE *put_oncontextmenu)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncontextmenu)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *insertAdjacentElement)( + IHTMLElement2 *This, + BSTR where, + IHTMLElement *insertedElement, + IHTMLElement **inserted); + + HRESULT (STDMETHODCALLTYPE *applyElement)( + IHTMLElement2 *This, + IHTMLElement *apply, + BSTR where, + IHTMLElement **applied); + + HRESULT (STDMETHODCALLTYPE *getAdjacentText)( + IHTMLElement2 *This, + BSTR where, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *replaceAdjacentText)( + IHTMLElement2 *This, + BSTR where, + BSTR newText, + BSTR *oldText); + + HRESULT (STDMETHODCALLTYPE *get_canHaveChildren)( + IHTMLElement2 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *addBehavior)( + IHTMLElement2 *This, + BSTR bstrUrl, + VARIANT *pvarFactory, + LONG *pCookie); + + HRESULT (STDMETHODCALLTYPE *removeBehavior)( + IHTMLElement2 *This, + LONG cookie, + VARIANT_BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *get_runtimeStyle)( + IHTMLElement2 *This, + IHTMLStyle **p); + + HRESULT (STDMETHODCALLTYPE *get_behaviorUrns)( + IHTMLElement2 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_tagUrn)( + IHTMLElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_tagUrn)( + IHTMLElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeeditfocus)( + IHTMLElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeeditfocus)( + IHTMLElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_readyStateValue)( + IHTMLElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IHTMLElement2 *This, + BSTR v, + IHTMLElementCollection **pelColl); + + END_INTERFACE +} IHTMLElement2Vtbl; + +interface IHTMLElement2 { + CONST_VTBL IHTMLElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLElement2 methods ***/ +#define IHTMLElement2_get_scopeName(This,p) (This)->lpVtbl->get_scopeName(This,p) +#define IHTMLElement2_setCapture(This,containerCapture) (This)->lpVtbl->setCapture(This,containerCapture) +#define IHTMLElement2_releaseCapture(This) (This)->lpVtbl->releaseCapture(This) +#define IHTMLElement2_put_onlosecapture(This,v) (This)->lpVtbl->put_onlosecapture(This,v) +#define IHTMLElement2_get_onlosecapture(This,p) (This)->lpVtbl->get_onlosecapture(This,p) +#define IHTMLElement2_componentFromPoint(This,x,y,component) (This)->lpVtbl->componentFromPoint(This,x,y,component) +#define IHTMLElement2_doScroll(This,component) (This)->lpVtbl->doScroll(This,component) +#define IHTMLElement2_put_onscroll(This,v) (This)->lpVtbl->put_onscroll(This,v) +#define IHTMLElement2_get_onscroll(This,p) (This)->lpVtbl->get_onscroll(This,p) +#define IHTMLElement2_put_ondrag(This,v) (This)->lpVtbl->put_ondrag(This,v) +#define IHTMLElement2_get_ondrag(This,p) (This)->lpVtbl->get_ondrag(This,p) +#define IHTMLElement2_put_ondragend(This,v) (This)->lpVtbl->put_ondragend(This,v) +#define IHTMLElement2_get_ondragend(This,p) (This)->lpVtbl->get_ondragend(This,p) +#define IHTMLElement2_put_ondragenter(This,v) (This)->lpVtbl->put_ondragenter(This,v) +#define IHTMLElement2_get_ondragenter(This,p) (This)->lpVtbl->get_ondragenter(This,p) +#define IHTMLElement2_put_ondragover(This,v) (This)->lpVtbl->put_ondragover(This,v) +#define IHTMLElement2_get_ondragover(This,p) (This)->lpVtbl->get_ondragover(This,p) +#define IHTMLElement2_put_ondragleave(This,v) (This)->lpVtbl->put_ondragleave(This,v) +#define IHTMLElement2_get_ondragleave(This,p) (This)->lpVtbl->get_ondragleave(This,p) +#define IHTMLElement2_put_ondrop(This,v) (This)->lpVtbl->put_ondrop(This,v) +#define IHTMLElement2_get_ondrop(This,p) (This)->lpVtbl->get_ondrop(This,p) +#define IHTMLElement2_put_onbeforecut(This,v) (This)->lpVtbl->put_onbeforecut(This,v) +#define IHTMLElement2_get_onbeforecut(This,p) (This)->lpVtbl->get_onbeforecut(This,p) +#define IHTMLElement2_put_oncut(This,v) (This)->lpVtbl->put_oncut(This,v) +#define IHTMLElement2_get_oncut(This,p) (This)->lpVtbl->get_oncut(This,p) +#define IHTMLElement2_put_onbeforecopy(This,v) (This)->lpVtbl->put_onbeforecopy(This,v) +#define IHTMLElement2_get_onbeforecopy(This,p) (This)->lpVtbl->get_onbeforecopy(This,p) +#define IHTMLElement2_put_oncopy(This,v) (This)->lpVtbl->put_oncopy(This,v) +#define IHTMLElement2_get_oncopy(This,p) (This)->lpVtbl->get_oncopy(This,p) +#define IHTMLElement2_put_onbeforepaste(This,v) (This)->lpVtbl->put_onbeforepaste(This,v) +#define IHTMLElement2_get_onbeforepaste(This,p) (This)->lpVtbl->get_onbeforepaste(This,p) +#define IHTMLElement2_put_onpaste(This,v) (This)->lpVtbl->put_onpaste(This,v) +#define IHTMLElement2_get_onpaste(This,p) (This)->lpVtbl->get_onpaste(This,p) +#define IHTMLElement2_get_currentStyle(This,p) (This)->lpVtbl->get_currentStyle(This,p) +#define IHTMLElement2_put_onpropertychange(This,v) (This)->lpVtbl->put_onpropertychange(This,v) +#define IHTMLElement2_get_onpropertychange(This,p) (This)->lpVtbl->get_onpropertychange(This,p) +#define IHTMLElement2_getClientRects(This,pRectCol) (This)->lpVtbl->getClientRects(This,pRectCol) +#define IHTMLElement2_getBoundingClientRect(This,pRect) (This)->lpVtbl->getBoundingClientRect(This,pRect) +#define IHTMLElement2_setExpression(This,propname,expression,language) (This)->lpVtbl->setExpression(This,propname,expression,language) +#define IHTMLElement2_getExpression(This,propname,expression) (This)->lpVtbl->getExpression(This,propname,expression) +#define IHTMLElement2_removeExpression(This,propname,pfSuccess) (This)->lpVtbl->removeExpression(This,propname,pfSuccess) +#define IHTMLElement2_put_tabIndex(This,v) (This)->lpVtbl->put_tabIndex(This,v) +#define IHTMLElement2_get_tabIndex(This,p) (This)->lpVtbl->get_tabIndex(This,p) +#define IHTMLElement2_focus(This) (This)->lpVtbl->focus(This) +#define IHTMLElement2_put_accessKey(This,v) (This)->lpVtbl->put_accessKey(This,v) +#define IHTMLElement2_get_accessKey(This,p) (This)->lpVtbl->get_accessKey(This,p) +#define IHTMLElement2_put_onblur(This,v) (This)->lpVtbl->put_onblur(This,v) +#define IHTMLElement2_get_onblur(This,p) (This)->lpVtbl->get_onblur(This,p) +#define IHTMLElement2_put_onfocus(This,v) (This)->lpVtbl->put_onfocus(This,v) +#define IHTMLElement2_get_onfocus(This,p) (This)->lpVtbl->get_onfocus(This,p) +#define IHTMLElement2_put_onresize(This,v) (This)->lpVtbl->put_onresize(This,v) +#define IHTMLElement2_get_onresize(This,p) (This)->lpVtbl->get_onresize(This,p) +#define IHTMLElement2_blur(This) (This)->lpVtbl->blur(This) +#define IHTMLElement2_addFilter(This,pUnk) (This)->lpVtbl->addFilter(This,pUnk) +#define IHTMLElement2_removeFilter(This,pUnk) (This)->lpVtbl->removeFilter(This,pUnk) +#define IHTMLElement2_get_clientHeight(This,p) (This)->lpVtbl->get_clientHeight(This,p) +#define IHTMLElement2_get_clientWidth(This,p) (This)->lpVtbl->get_clientWidth(This,p) +#define IHTMLElement2_get_clientTop(This,p) (This)->lpVtbl->get_clientTop(This,p) +#define IHTMLElement2_get_clientLeft(This,p) (This)->lpVtbl->get_clientLeft(This,p) +#define IHTMLElement2_attachEvent(This,event,pDisp,pfResult) (This)->lpVtbl->attachEvent(This,event,pDisp,pfResult) +#define IHTMLElement2_detachEvent(This,event,pDisp) (This)->lpVtbl->detachEvent(This,event,pDisp) +#define IHTMLElement2_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLElement2_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLElement2_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLElement2_put_onrowsdelete(This,v) (This)->lpVtbl->put_onrowsdelete(This,v) +#define IHTMLElement2_get_onrowsdelete(This,p) (This)->lpVtbl->get_onrowsdelete(This,p) +#define IHTMLElement2_put_onrowsinserted(This,v) (This)->lpVtbl->put_onrowsinserted(This,v) +#define IHTMLElement2_get_onrowsinserted(This,p) (This)->lpVtbl->get_onrowsinserted(This,p) +#define IHTMLElement2_put_oncellchange(This,v) (This)->lpVtbl->put_oncellchange(This,v) +#define IHTMLElement2_get_oncellchange(This,p) (This)->lpVtbl->get_oncellchange(This,p) +#define IHTMLElement2_put_dir(This,v) (This)->lpVtbl->put_dir(This,v) +#define IHTMLElement2_get_dir(This,p) (This)->lpVtbl->get_dir(This,p) +#define IHTMLElement2_createControlRange(This,range) (This)->lpVtbl->createControlRange(This,range) +#define IHTMLElement2_get_scrollHeight(This,p) (This)->lpVtbl->get_scrollHeight(This,p) +#define IHTMLElement2_get_scrollWidth(This,p) (This)->lpVtbl->get_scrollWidth(This,p) +#define IHTMLElement2_put_scrollTop(This,v) (This)->lpVtbl->put_scrollTop(This,v) +#define IHTMLElement2_get_scrollTop(This,p) (This)->lpVtbl->get_scrollTop(This,p) +#define IHTMLElement2_put_scrollLeft(This,v) (This)->lpVtbl->put_scrollLeft(This,v) +#define IHTMLElement2_get_scrollLeft(This,p) (This)->lpVtbl->get_scrollLeft(This,p) +#define IHTMLElement2_clearAttributes(This) (This)->lpVtbl->clearAttributes(This) +#define IHTMLElement2_mergeAttributes(This,mergeThis) (This)->lpVtbl->mergeAttributes(This,mergeThis) +#define IHTMLElement2_put_oncontextmenu(This,v) (This)->lpVtbl->put_oncontextmenu(This,v) +#define IHTMLElement2_get_oncontextmenu(This,p) (This)->lpVtbl->get_oncontextmenu(This,p) +#define IHTMLElement2_insertAdjacentElement(This,where,insertedElement,inserted) (This)->lpVtbl->insertAdjacentElement(This,where,insertedElement,inserted) +#define IHTMLElement2_applyElement(This,apply,where,applied) (This)->lpVtbl->applyElement(This,apply,where,applied) +#define IHTMLElement2_getAdjacentText(This,where,text) (This)->lpVtbl->getAdjacentText(This,where,text) +#define IHTMLElement2_replaceAdjacentText(This,where,newText,oldText) (This)->lpVtbl->replaceAdjacentText(This,where,newText,oldText) +#define IHTMLElement2_get_canHaveChildren(This,p) (This)->lpVtbl->get_canHaveChildren(This,p) +#define IHTMLElement2_addBehavior(This,bstrUrl,pvarFactory,pCookie) (This)->lpVtbl->addBehavior(This,bstrUrl,pvarFactory,pCookie) +#define IHTMLElement2_removeBehavior(This,cookie,pfResult) (This)->lpVtbl->removeBehavior(This,cookie,pfResult) +#define IHTMLElement2_get_runtimeStyle(This,p) (This)->lpVtbl->get_runtimeStyle(This,p) +#define IHTMLElement2_get_behaviorUrns(This,p) (This)->lpVtbl->get_behaviorUrns(This,p) +#define IHTMLElement2_put_tagUrn(This,v) (This)->lpVtbl->put_tagUrn(This,v) +#define IHTMLElement2_get_tagUrn(This,p) (This)->lpVtbl->get_tagUrn(This,p) +#define IHTMLElement2_put_onbeforeeditfocus(This,v) (This)->lpVtbl->put_onbeforeeditfocus(This,v) +#define IHTMLElement2_get_onbeforeeditfocus(This,p) (This)->lpVtbl->get_onbeforeeditfocus(This,p) +#define IHTMLElement2_get_readyStateValue(This,p) (This)->lpVtbl->get_readyStateValue(This,p) +#define IHTMLElement2_getElementsByTagName(This,v,pelColl) (This)->lpVtbl->getElementsByTagName(This,v,pelColl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLElement2_QueryInterface(IHTMLElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLElement2_AddRef(IHTMLElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLElement2_Release(IHTMLElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLElement2_GetTypeInfoCount(IHTMLElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLElement2_GetTypeInfo(IHTMLElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLElement2_GetIDsOfNames(IHTMLElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLElement2_Invoke(IHTMLElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLElement2_get_scopeName(IHTMLElement2* This,BSTR *p) { + return This->lpVtbl->get_scopeName(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_setCapture(IHTMLElement2* This,VARIANT_BOOL containerCapture) { + return This->lpVtbl->setCapture(This,containerCapture); +} +static FORCEINLINE HRESULT IHTMLElement2_releaseCapture(IHTMLElement2* This) { + return This->lpVtbl->releaseCapture(This); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onlosecapture(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onlosecapture(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onlosecapture(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onlosecapture(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_componentFromPoint(IHTMLElement2* This,LONG x,LONG y,BSTR *component) { + return This->lpVtbl->componentFromPoint(This,x,y,component); +} +static FORCEINLINE HRESULT IHTMLElement2_doScroll(IHTMLElement2* This,VARIANT component) { + return This->lpVtbl->doScroll(This,component); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onscroll(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onscroll(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onscroll(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onscroll(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_ondrag(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_ondrag(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_ondrag(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_ondrag(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_ondragend(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_ondragend(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_ondragend(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_ondragend(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_ondragenter(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_ondragenter(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_ondragenter(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_ondragenter(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_ondragover(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_ondragover(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_ondragover(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_ondragover(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_ondragleave(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_ondragleave(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_ondragleave(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_ondragleave(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_ondrop(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_ondrop(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_ondrop(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_ondrop(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onbeforecut(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onbeforecut(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onbeforecut(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforecut(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_oncut(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_oncut(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_oncut(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_oncut(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onbeforecopy(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onbeforecopy(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onbeforecopy(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforecopy(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_oncopy(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_oncopy(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_oncopy(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_oncopy(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onbeforepaste(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onbeforepaste(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onbeforepaste(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforepaste(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onpaste(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onpaste(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onpaste(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onpaste(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_currentStyle(IHTMLElement2* This,IHTMLCurrentStyle **p) { + return This->lpVtbl->get_currentStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onpropertychange(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onpropertychange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onpropertychange(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onpropertychange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_getClientRects(IHTMLElement2* This,IHTMLRectCollection **pRectCol) { + return This->lpVtbl->getClientRects(This,pRectCol); +} +static FORCEINLINE HRESULT IHTMLElement2_getBoundingClientRect(IHTMLElement2* This,IHTMLRect **pRect) { + return This->lpVtbl->getBoundingClientRect(This,pRect); +} +static FORCEINLINE HRESULT IHTMLElement2_setExpression(IHTMLElement2* This,BSTR propname,BSTR expression,BSTR language) { + return This->lpVtbl->setExpression(This,propname,expression,language); +} +static FORCEINLINE HRESULT IHTMLElement2_getExpression(IHTMLElement2* This,BSTR propname,VARIANT *expression) { + return This->lpVtbl->getExpression(This,propname,expression); +} +static FORCEINLINE HRESULT IHTMLElement2_removeExpression(IHTMLElement2* This,BSTR propname,VARIANT_BOOL *pfSuccess) { + return This->lpVtbl->removeExpression(This,propname,pfSuccess); +} +static FORCEINLINE HRESULT IHTMLElement2_put_tabIndex(IHTMLElement2* This,short v) { + return This->lpVtbl->put_tabIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_tabIndex(IHTMLElement2* This,short *p) { + return This->lpVtbl->get_tabIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_focus(IHTMLElement2* This) { + return This->lpVtbl->focus(This); +} +static FORCEINLINE HRESULT IHTMLElement2_put_accessKey(IHTMLElement2* This,BSTR v) { + return This->lpVtbl->put_accessKey(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_accessKey(IHTMLElement2* This,BSTR *p) { + return This->lpVtbl->get_accessKey(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onblur(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onblur(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onblur(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onblur(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onfocus(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onfocus(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onresize(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onresize(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onresize(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onresize(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_blur(IHTMLElement2* This) { + return This->lpVtbl->blur(This); +} +static FORCEINLINE HRESULT IHTMLElement2_addFilter(IHTMLElement2* This,IUnknown *pUnk) { + return This->lpVtbl->addFilter(This,pUnk); +} +static FORCEINLINE HRESULT IHTMLElement2_removeFilter(IHTMLElement2* This,IUnknown *pUnk) { + return This->lpVtbl->removeFilter(This,pUnk); +} +static FORCEINLINE HRESULT IHTMLElement2_get_clientHeight(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_clientHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_clientWidth(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_clientWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_clientTop(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_clientTop(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_clientLeft(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_clientLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_attachEvent(IHTMLElement2* This,BSTR event,IDispatch *pDisp,VARIANT_BOOL *pfResult) { + return This->lpVtbl->attachEvent(This,event,pDisp,pfResult); +} +static FORCEINLINE HRESULT IHTMLElement2_detachEvent(IHTMLElement2* This,BSTR event,IDispatch *pDisp) { + return This->lpVtbl->detachEvent(This,event,pDisp); +} +static FORCEINLINE HRESULT IHTMLElement2_get_readyState(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onreadystatechange(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onreadystatechange(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onrowsdelete(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onrowsdelete(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onrowsdelete(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onrowsdelete(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onrowsinserted(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onrowsinserted(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onrowsinserted(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onrowsinserted(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_oncellchange(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_oncellchange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_oncellchange(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_oncellchange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_dir(IHTMLElement2* This,BSTR v) { + return This->lpVtbl->put_dir(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_dir(IHTMLElement2* This,BSTR *p) { + return This->lpVtbl->get_dir(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_createControlRange(IHTMLElement2* This,IDispatch **range) { + return This->lpVtbl->createControlRange(This,range); +} +static FORCEINLINE HRESULT IHTMLElement2_get_scrollHeight(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_scrollHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_scrollWidth(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_scrollWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_scrollTop(IHTMLElement2* This,LONG v) { + return This->lpVtbl->put_scrollTop(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_scrollTop(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_scrollTop(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_scrollLeft(IHTMLElement2* This,LONG v) { + return This->lpVtbl->put_scrollLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_scrollLeft(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_scrollLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_clearAttributes(IHTMLElement2* This) { + return This->lpVtbl->clearAttributes(This); +} +static FORCEINLINE HRESULT IHTMLElement2_mergeAttributes(IHTMLElement2* This,IHTMLElement *mergeThis) { + return This->lpVtbl->mergeAttributes(This,mergeThis); +} +static FORCEINLINE HRESULT IHTMLElement2_put_oncontextmenu(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_oncontextmenu(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_oncontextmenu(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_oncontextmenu(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_insertAdjacentElement(IHTMLElement2* This,BSTR where,IHTMLElement *insertedElement,IHTMLElement **inserted) { + return This->lpVtbl->insertAdjacentElement(This,where,insertedElement,inserted); +} +static FORCEINLINE HRESULT IHTMLElement2_applyElement(IHTMLElement2* This,IHTMLElement *apply,BSTR where,IHTMLElement **applied) { + return This->lpVtbl->applyElement(This,apply,where,applied); +} +static FORCEINLINE HRESULT IHTMLElement2_getAdjacentText(IHTMLElement2* This,BSTR where,BSTR *text) { + return This->lpVtbl->getAdjacentText(This,where,text); +} +static FORCEINLINE HRESULT IHTMLElement2_replaceAdjacentText(IHTMLElement2* This,BSTR where,BSTR newText,BSTR *oldText) { + return This->lpVtbl->replaceAdjacentText(This,where,newText,oldText); +} +static FORCEINLINE HRESULT IHTMLElement2_get_canHaveChildren(IHTMLElement2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_canHaveChildren(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_addBehavior(IHTMLElement2* This,BSTR bstrUrl,VARIANT *pvarFactory,LONG *pCookie) { + return This->lpVtbl->addBehavior(This,bstrUrl,pvarFactory,pCookie); +} +static FORCEINLINE HRESULT IHTMLElement2_removeBehavior(IHTMLElement2* This,LONG cookie,VARIANT_BOOL *pfResult) { + return This->lpVtbl->removeBehavior(This,cookie,pfResult); +} +static FORCEINLINE HRESULT IHTMLElement2_get_runtimeStyle(IHTMLElement2* This,IHTMLStyle **p) { + return This->lpVtbl->get_runtimeStyle(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_behaviorUrns(IHTMLElement2* This,IDispatch **p) { + return This->lpVtbl->get_behaviorUrns(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_tagUrn(IHTMLElement2* This,BSTR v) { + return This->lpVtbl->put_tagUrn(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_tagUrn(IHTMLElement2* This,BSTR *p) { + return This->lpVtbl->get_tagUrn(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_put_onbeforeeditfocus(IHTMLElement2* This,VARIANT v) { + return This->lpVtbl->put_onbeforeeditfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLElement2_get_onbeforeeditfocus(IHTMLElement2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeeditfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_get_readyStateValue(IHTMLElement2* This,LONG *p) { + return This->lpVtbl->get_readyStateValue(This,p); +} +static FORCEINLINE HRESULT IHTMLElement2_getElementsByTagName(IHTMLElement2* This,BSTR v,IHTMLElementCollection **pelColl) { + return This->lpVtbl->getElementsByTagName(This,v,pelColl); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLElement3 interface + */ +#ifndef __IHTMLElement3_INTERFACE_DEFINED__ +#define __IHTMLElement3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLElement3, 0x3050f673, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f673-98b5-11cf-bb82-00aa00bdce0b") +IHTMLElement3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE mergeAttributes( + IHTMLElement *mergeThis, + VARIANT *pvarFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isMultiLine( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_canHaveHTML( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onlayoutcomplete( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onlayoutcomplete( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onpage( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onpage( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_inflateBlock( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_inflateBlock( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforedeactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforedeactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setActive( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_contentEditable( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentEditable( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isContentEditable( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hideFocus( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hideFocus( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isDisabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmove( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmove( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncontrolselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncontrolselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE fireEvent( + BSTR bstrEventName, + VARIANT *pvarEventObject, + VARIANT_BOOL *pfCancelled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onresizestart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onresizestart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onresizeend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onresizeend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmovestart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmovestart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmoveend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmoveend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseenter( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseenter( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseleave( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseleave( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondeactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondeactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE dragDrop( + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_glyphMode( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLElement3, 0x3050f673, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLElement3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLElement3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLElement3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLElement3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLElement3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLElement3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLElement3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLElement3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLElement3 methods ***/ + HRESULT (STDMETHODCALLTYPE *mergeAttributes)( + IHTMLElement3 *This, + IHTMLElement *mergeThis, + VARIANT *pvarFlags); + + HRESULT (STDMETHODCALLTYPE *get_isMultiLine)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_canHaveHTML)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_onlayoutcomplete)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onlayoutcomplete)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onpage)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onpage)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_inflateBlock)( + IHTMLElement3 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_inflateBlock)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforedeactivate)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforedeactivate)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *setActive)( + IHTMLElement3 *This); + + HRESULT (STDMETHODCALLTYPE *put_contentEditable)( + IHTMLElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_contentEditable)( + IHTMLElement3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_isContentEditable)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_hideFocus)( + IHTMLElement3 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_hideFocus)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLElement3 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_isDisabled)( + IHTMLElement3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_onmove)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmove)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncontrolselect)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncontrolselect)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *fireEvent)( + IHTMLElement3 *This, + BSTR bstrEventName, + VARIANT *pvarEventObject, + VARIANT_BOOL *pfCancelled); + + HRESULT (STDMETHODCALLTYPE *put_onresizestart)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onresizestart)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onresizeend)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onresizeend)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmovestart)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmovestart)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmoveend)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmoveend)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseenter)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseenter)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseleave)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseleave)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onactivate)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onactivate)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondeactivate)( + IHTMLElement3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondeactivate)( + IHTMLElement3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *dragDrop)( + IHTMLElement3 *This, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *get_glyphMode)( + IHTMLElement3 *This, + LONG *p); + + END_INTERFACE +} IHTMLElement3Vtbl; + +interface IHTMLElement3 { + CONST_VTBL IHTMLElement3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLElement3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLElement3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLElement3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLElement3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLElement3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLElement3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLElement3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLElement3 methods ***/ +#define IHTMLElement3_mergeAttributes(This,mergeThis,pvarFlags) (This)->lpVtbl->mergeAttributes(This,mergeThis,pvarFlags) +#define IHTMLElement3_get_isMultiLine(This,p) (This)->lpVtbl->get_isMultiLine(This,p) +#define IHTMLElement3_get_canHaveHTML(This,p) (This)->lpVtbl->get_canHaveHTML(This,p) +#define IHTMLElement3_put_onlayoutcomplete(This,v) (This)->lpVtbl->put_onlayoutcomplete(This,v) +#define IHTMLElement3_get_onlayoutcomplete(This,p) (This)->lpVtbl->get_onlayoutcomplete(This,p) +#define IHTMLElement3_put_onpage(This,v) (This)->lpVtbl->put_onpage(This,v) +#define IHTMLElement3_get_onpage(This,p) (This)->lpVtbl->get_onpage(This,p) +#define IHTMLElement3_put_inflateBlock(This,v) (This)->lpVtbl->put_inflateBlock(This,v) +#define IHTMLElement3_get_inflateBlock(This,p) (This)->lpVtbl->get_inflateBlock(This,p) +#define IHTMLElement3_put_onbeforedeactivate(This,v) (This)->lpVtbl->put_onbeforedeactivate(This,v) +#define IHTMLElement3_get_onbeforedeactivate(This,p) (This)->lpVtbl->get_onbeforedeactivate(This,p) +#define IHTMLElement3_setActive(This) (This)->lpVtbl->setActive(This) +#define IHTMLElement3_put_contentEditable(This,v) (This)->lpVtbl->put_contentEditable(This,v) +#define IHTMLElement3_get_contentEditable(This,p) (This)->lpVtbl->get_contentEditable(This,p) +#define IHTMLElement3_get_isContentEditable(This,p) (This)->lpVtbl->get_isContentEditable(This,p) +#define IHTMLElement3_put_hideFocus(This,v) (This)->lpVtbl->put_hideFocus(This,v) +#define IHTMLElement3_get_hideFocus(This,p) (This)->lpVtbl->get_hideFocus(This,p) +#define IHTMLElement3_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLElement3_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLElement3_get_isDisabled(This,p) (This)->lpVtbl->get_isDisabled(This,p) +#define IHTMLElement3_put_onmove(This,v) (This)->lpVtbl->put_onmove(This,v) +#define IHTMLElement3_get_onmove(This,p) (This)->lpVtbl->get_onmove(This,p) +#define IHTMLElement3_put_oncontrolselect(This,v) (This)->lpVtbl->put_oncontrolselect(This,v) +#define IHTMLElement3_get_oncontrolselect(This,p) (This)->lpVtbl->get_oncontrolselect(This,p) +#define IHTMLElement3_fireEvent(This,bstrEventName,pvarEventObject,pfCancelled) (This)->lpVtbl->fireEvent(This,bstrEventName,pvarEventObject,pfCancelled) +#define IHTMLElement3_put_onresizestart(This,v) (This)->lpVtbl->put_onresizestart(This,v) +#define IHTMLElement3_get_onresizestart(This,p) (This)->lpVtbl->get_onresizestart(This,p) +#define IHTMLElement3_put_onresizeend(This,v) (This)->lpVtbl->put_onresizeend(This,v) +#define IHTMLElement3_get_onresizeend(This,p) (This)->lpVtbl->get_onresizeend(This,p) +#define IHTMLElement3_put_onmovestart(This,v) (This)->lpVtbl->put_onmovestart(This,v) +#define IHTMLElement3_get_onmovestart(This,p) (This)->lpVtbl->get_onmovestart(This,p) +#define IHTMLElement3_put_onmoveend(This,v) (This)->lpVtbl->put_onmoveend(This,v) +#define IHTMLElement3_get_onmoveend(This,p) (This)->lpVtbl->get_onmoveend(This,p) +#define IHTMLElement3_put_onmouseenter(This,v) (This)->lpVtbl->put_onmouseenter(This,v) +#define IHTMLElement3_get_onmouseenter(This,p) (This)->lpVtbl->get_onmouseenter(This,p) +#define IHTMLElement3_put_onmouseleave(This,v) (This)->lpVtbl->put_onmouseleave(This,v) +#define IHTMLElement3_get_onmouseleave(This,p) (This)->lpVtbl->get_onmouseleave(This,p) +#define IHTMLElement3_put_onactivate(This,v) (This)->lpVtbl->put_onactivate(This,v) +#define IHTMLElement3_get_onactivate(This,p) (This)->lpVtbl->get_onactivate(This,p) +#define IHTMLElement3_put_ondeactivate(This,v) (This)->lpVtbl->put_ondeactivate(This,v) +#define IHTMLElement3_get_ondeactivate(This,p) (This)->lpVtbl->get_ondeactivate(This,p) +#define IHTMLElement3_dragDrop(This,pfRet) (This)->lpVtbl->dragDrop(This,pfRet) +#define IHTMLElement3_get_glyphMode(This,p) (This)->lpVtbl->get_glyphMode(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLElement3_QueryInterface(IHTMLElement3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLElement3_AddRef(IHTMLElement3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLElement3_Release(IHTMLElement3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLElement3_GetTypeInfoCount(IHTMLElement3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLElement3_GetTypeInfo(IHTMLElement3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLElement3_GetIDsOfNames(IHTMLElement3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLElement3_Invoke(IHTMLElement3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLElement3 methods ***/ +static FORCEINLINE HRESULT IHTMLElement3_mergeAttributes(IHTMLElement3* This,IHTMLElement *mergeThis,VARIANT *pvarFlags) { + return This->lpVtbl->mergeAttributes(This,mergeThis,pvarFlags); +} +static FORCEINLINE HRESULT IHTMLElement3_get_isMultiLine(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isMultiLine(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_get_canHaveHTML(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_canHaveHTML(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onlayoutcomplete(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onlayoutcomplete(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onlayoutcomplete(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onlayoutcomplete(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onpage(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onpage(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onpage(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onpage(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_inflateBlock(IHTMLElement3* This,VARIANT_BOOL v) { + return This->lpVtbl->put_inflateBlock(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_inflateBlock(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_inflateBlock(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onbeforedeactivate(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onbeforedeactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onbeforedeactivate(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onbeforedeactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_setActive(IHTMLElement3* This) { + return This->lpVtbl->setActive(This); +} +static FORCEINLINE HRESULT IHTMLElement3_put_contentEditable(IHTMLElement3* This,BSTR v) { + return This->lpVtbl->put_contentEditable(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_contentEditable(IHTMLElement3* This,BSTR *p) { + return This->lpVtbl->get_contentEditable(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_get_isContentEditable(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isContentEditable(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_hideFocus(IHTMLElement3* This,VARIANT_BOOL v) { + return This->lpVtbl->put_hideFocus(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_hideFocus(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_hideFocus(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_disabled(IHTMLElement3* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_disabled(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_get_isDisabled(IHTMLElement3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isDisabled(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onmove(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onmove(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onmove(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onmove(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_oncontrolselect(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_oncontrolselect(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_oncontrolselect(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_oncontrolselect(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_fireEvent(IHTMLElement3* This,BSTR bstrEventName,VARIANT *pvarEventObject,VARIANT_BOOL *pfCancelled) { + return This->lpVtbl->fireEvent(This,bstrEventName,pvarEventObject,pfCancelled); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onresizestart(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onresizestart(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onresizestart(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onresizestart(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onresizeend(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onresizeend(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onresizeend(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onresizeend(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onmovestart(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onmovestart(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onmovestart(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onmovestart(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onmoveend(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onmoveend(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onmoveend(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onmoveend(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onmouseenter(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onmouseenter(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onmouseenter(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onmouseenter(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onmouseleave(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onmouseleave(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onmouseleave(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onmouseleave(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_onactivate(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_onactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_onactivate(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_onactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_put_ondeactivate(IHTMLElement3* This,VARIANT v) { + return This->lpVtbl->put_ondeactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement3_get_ondeactivate(IHTMLElement3* This,VARIANT *p) { + return This->lpVtbl->get_ondeactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement3_dragDrop(IHTMLElement3* This,VARIANT_BOOL *pfRet) { + return This->lpVtbl->dragDrop(This,pfRet); +} +static FORCEINLINE HRESULT IHTMLElement3_get_glyphMode(IHTMLElement3* This,LONG *p) { + return This->lpVtbl->get_glyphMode(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLElement3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLElement4 interface + */ +#ifndef __IHTMLElement4_INTERFACE_DEFINED__ +#define __IHTMLElement4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLElement4, 0x3050f80f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f80f-98b5-11cf-bb82-00aa00bdce0b") +IHTMLElement4 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_onmousewheel( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmousewheel( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE normalize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeNode( + BSTR bstrname, + IHTMLDOMAttribute **ppAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNode( + IHTMLDOMAttribute *pattr, + IHTMLDOMAttribute **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttributeNode( + IHTMLDOMAttribute *pattr, + IHTMLDOMAttribute **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocusin( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocusin( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocusout( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocusout( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLElement4, 0x3050f80f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLElement4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLElement4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLElement4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLElement4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLElement4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLElement4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLElement4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLElement4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLElement4 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_onmousewheel)( + IHTMLElement4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmousewheel)( + IHTMLElement4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *normalize)( + IHTMLElement4 *This); + + HRESULT (STDMETHODCALLTYPE *getAttributeNode)( + IHTMLElement4 *This, + BSTR bstrname, + IHTMLDOMAttribute **ppAttribute); + + HRESULT (STDMETHODCALLTYPE *setAttributeNode)( + IHTMLElement4 *This, + IHTMLDOMAttribute *pattr, + IHTMLDOMAttribute **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *removeAttributeNode)( + IHTMLElement4 *This, + IHTMLDOMAttribute *pattr, + IHTMLDOMAttribute **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeactivate)( + IHTMLElement4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeactivate)( + IHTMLElement4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocusin)( + IHTMLElement4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocusin)( + IHTMLElement4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocusout)( + IHTMLElement4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocusout)( + IHTMLElement4 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLElement4Vtbl; + +interface IHTMLElement4 { + CONST_VTBL IHTMLElement4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLElement4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLElement4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLElement4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLElement4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLElement4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLElement4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLElement4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLElement4 methods ***/ +#define IHTMLElement4_put_onmousewheel(This,v) (This)->lpVtbl->put_onmousewheel(This,v) +#define IHTMLElement4_get_onmousewheel(This,p) (This)->lpVtbl->get_onmousewheel(This,p) +#define IHTMLElement4_normalize(This) (This)->lpVtbl->normalize(This) +#define IHTMLElement4_getAttributeNode(This,bstrname,ppAttribute) (This)->lpVtbl->getAttributeNode(This,bstrname,ppAttribute) +#define IHTMLElement4_setAttributeNode(This,pattr,ppretAttribute) (This)->lpVtbl->setAttributeNode(This,pattr,ppretAttribute) +#define IHTMLElement4_removeAttributeNode(This,pattr,ppretAttribute) (This)->lpVtbl->removeAttributeNode(This,pattr,ppretAttribute) +#define IHTMLElement4_put_onbeforeactivate(This,v) (This)->lpVtbl->put_onbeforeactivate(This,v) +#define IHTMLElement4_get_onbeforeactivate(This,p) (This)->lpVtbl->get_onbeforeactivate(This,p) +#define IHTMLElement4_put_onfocusin(This,v) (This)->lpVtbl->put_onfocusin(This,v) +#define IHTMLElement4_get_onfocusin(This,p) (This)->lpVtbl->get_onfocusin(This,p) +#define IHTMLElement4_put_onfocusout(This,v) (This)->lpVtbl->put_onfocusout(This,v) +#define IHTMLElement4_get_onfocusout(This,p) (This)->lpVtbl->get_onfocusout(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLElement4_QueryInterface(IHTMLElement4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLElement4_AddRef(IHTMLElement4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLElement4_Release(IHTMLElement4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLElement4_GetTypeInfoCount(IHTMLElement4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLElement4_GetTypeInfo(IHTMLElement4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLElement4_GetIDsOfNames(IHTMLElement4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLElement4_Invoke(IHTMLElement4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLElement4 methods ***/ +static FORCEINLINE HRESULT IHTMLElement4_put_onmousewheel(IHTMLElement4* This,VARIANT v) { + return This->lpVtbl->put_onmousewheel(This,v); +} +static FORCEINLINE HRESULT IHTMLElement4_get_onmousewheel(IHTMLElement4* This,VARIANT *p) { + return This->lpVtbl->get_onmousewheel(This,p); +} +static FORCEINLINE HRESULT IHTMLElement4_normalize(IHTMLElement4* This) { + return This->lpVtbl->normalize(This); +} +static FORCEINLINE HRESULT IHTMLElement4_getAttributeNode(IHTMLElement4* This,BSTR bstrname,IHTMLDOMAttribute **ppAttribute) { + return This->lpVtbl->getAttributeNode(This,bstrname,ppAttribute); +} +static FORCEINLINE HRESULT IHTMLElement4_setAttributeNode(IHTMLElement4* This,IHTMLDOMAttribute *pattr,IHTMLDOMAttribute **ppretAttribute) { + return This->lpVtbl->setAttributeNode(This,pattr,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement4_removeAttributeNode(IHTMLElement4* This,IHTMLDOMAttribute *pattr,IHTMLDOMAttribute **ppretAttribute) { + return This->lpVtbl->removeAttributeNode(This,pattr,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement4_put_onbeforeactivate(IHTMLElement4* This,VARIANT v) { + return This->lpVtbl->put_onbeforeactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement4_get_onbeforeactivate(IHTMLElement4* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement4_put_onfocusin(IHTMLElement4* This,VARIANT v) { + return This->lpVtbl->put_onfocusin(This,v); +} +static FORCEINLINE HRESULT IHTMLElement4_get_onfocusin(IHTMLElement4* This,VARIANT *p) { + return This->lpVtbl->get_onfocusin(This,p); +} +static FORCEINLINE HRESULT IHTMLElement4_put_onfocusout(IHTMLElement4* This,VARIANT v) { + return This->lpVtbl->put_onfocusout(This,v); +} +static FORCEINLINE HRESULT IHTMLElement4_get_onfocusout(IHTMLElement4* This,VARIANT *p) { + return This->lpVtbl->get_onfocusout(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLElement4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLElement6 interface + */ +#ifndef __IHTMLElement6_INTERFACE_DEFINED__ +#define __IHTMLElement6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLElement6, 0x305106f8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305106f8-98b5-11cf-bb82-00aa00bdce0b") +IHTMLElement6 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getAttributeNS( + VARIANT *pvarNS, + BSTR strAttributeName, + VARIANT *AttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNS( + VARIANT *pvarNS, + BSTR strAttributeName, + VARIANT *pvarAttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttributeNS( + VARIANT *pvarNS, + BSTR strAttributeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeNodeNS( + VARIANT *pvarNS, + BSTR bstrname, + IHTMLDOMAttribute2 **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNodeNS( + IHTMLDOMAttribute2 *pattr, + IHTMLDOMAttribute2 **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasAttributeNS( + VARIANT *pvarNS, + BSTR name, + VARIANT_BOOL *pfHasAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strAttributeName, + VARIANT *AttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strAttributeName, + VARIANT *pvarAttributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strAttributeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeNode( + BSTR strAttributeName, + IHTMLDOMAttribute2 **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNode( + IHTMLDOMAttribute2 *pattr, + IHTMLDOMAttribute2 **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttributeNode( + IHTMLDOMAttribute2 *pattr, + IHTMLDOMAttribute2 **ppretAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasAttribute( + BSTR name, + VARIANT_BOOL *pfHasAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagNameNS( + VARIANT *varNS, + BSTR bstrLocalName, + IHTMLElementCollection **pelColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByClassName( + BSTR v, + IHTMLElementCollection **pel) = 0; + + virtual HRESULT STDMETHODCALLTYPE msMatchesSelector( + BSTR v, + VARIANT_BOOL *pfMatches) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onabort( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onabort( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncanplay( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncanplay( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncanplaythrough( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncanplaythrough( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondurationchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondurationchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onemptied( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onemptied( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onended( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onended( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oninput( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oninput( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onloadeddata( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onloadeddata( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onloadedmetadata( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onloadedmetadata( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onloadstart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onloadstart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onpause( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onpause( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onplay( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onplay( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onplaying( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onplaying( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onprogress( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onprogress( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onratechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onratechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreset( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreset( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onseeked( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onseeked( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onseeking( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onseeking( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onstalled( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onstalled( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onsubmit( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onsubmit( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onsuspend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onsuspend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ontimeupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ontimeupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onvolumechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onvolumechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onwaiting( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onwaiting( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasAttributes( + VARIANT_BOOL *pfHasAttributes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLElement6, 0x305106f8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLElement6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLElement6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLElement6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLElement6 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLElement6 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLElement6 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLElement6 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLElement6 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLElement6 methods ***/ + HRESULT (STDMETHODCALLTYPE *getAttributeNS)( + IHTMLElement6 *This, + VARIANT *pvarNS, + BSTR strAttributeName, + VARIANT *AttributeValue); + + HRESULT (STDMETHODCALLTYPE *setAttributeNS)( + IHTMLElement6 *This, + VARIANT *pvarNS, + BSTR strAttributeName, + VARIANT *pvarAttributeValue); + + HRESULT (STDMETHODCALLTYPE *removeAttributeNS)( + IHTMLElement6 *This, + VARIANT *pvarNS, + BSTR strAttributeName); + + HRESULT (STDMETHODCALLTYPE *getAttributeNodeNS)( + IHTMLElement6 *This, + VARIANT *pvarNS, + BSTR bstrname, + IHTMLDOMAttribute2 **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *setAttributeNodeNS)( + IHTMLElement6 *This, + IHTMLDOMAttribute2 *pattr, + IHTMLDOMAttribute2 **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *hasAttributeNS)( + IHTMLElement6 *This, + VARIANT *pvarNS, + BSTR name, + VARIANT_BOOL *pfHasAttribute); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IHTMLElement6 *This, + BSTR strAttributeName, + VARIANT *AttributeValue); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IHTMLElement6 *This, + BSTR strAttributeName, + VARIANT *pvarAttributeValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IHTMLElement6 *This, + BSTR strAttributeName); + + HRESULT (STDMETHODCALLTYPE *getAttributeNode)( + IHTMLElement6 *This, + BSTR strAttributeName, + IHTMLDOMAttribute2 **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *setAttributeNode)( + IHTMLElement6 *This, + IHTMLDOMAttribute2 *pattr, + IHTMLDOMAttribute2 **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *removeAttributeNode)( + IHTMLElement6 *This, + IHTMLDOMAttribute2 *pattr, + IHTMLDOMAttribute2 **ppretAttribute); + + HRESULT (STDMETHODCALLTYPE *hasAttribute)( + IHTMLElement6 *This, + BSTR name, + VARIANT_BOOL *pfHasAttribute); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagNameNS)( + IHTMLElement6 *This, + VARIANT *varNS, + BSTR bstrLocalName, + IHTMLElementCollection **pelColl); + + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IHTMLElement6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IHTMLElement6 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *getElementsByClassName)( + IHTMLElement6 *This, + BSTR v, + IHTMLElementCollection **pel); + + HRESULT (STDMETHODCALLTYPE *msMatchesSelector)( + IHTMLElement6 *This, + BSTR v, + VARIANT_BOOL *pfMatches); + + HRESULT (STDMETHODCALLTYPE *put_onabort)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onabort)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncanplay)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncanplay)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncanplaythrough)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncanplaythrough)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onchange)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onchange)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondurationchange)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondurationchange)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onemptied)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onemptied)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onended)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onended)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oninput)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oninput)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onloadeddata)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onloadeddata)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onloadedmetadata)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onloadedmetadata)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onloadstart)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onloadstart)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onpause)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onpause)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onplay)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onplay)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onplaying)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onplaying)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onprogress)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onprogress)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onratechange)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onratechange)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onreset)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreset)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onseeked)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onseeked)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onseeking)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onseeking)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onselect)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselect)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onstalled)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onstalled)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onsubmit)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onsubmit)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onsuspend)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onsuspend)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ontimeupdate)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ontimeupdate)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onvolumechange)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onvolumechange)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onwaiting)( + IHTMLElement6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onwaiting)( + IHTMLElement6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *hasAttributes)( + IHTMLElement6 *This, + VARIANT_BOOL *pfHasAttributes); + + END_INTERFACE +} IHTMLElement6Vtbl; + +interface IHTMLElement6 { + CONST_VTBL IHTMLElement6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLElement6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLElement6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLElement6_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLElement6_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLElement6_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLElement6_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLElement6_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLElement6 methods ***/ +#define IHTMLElement6_getAttributeNS(This,pvarNS,strAttributeName,AttributeValue) (This)->lpVtbl->getAttributeNS(This,pvarNS,strAttributeName,AttributeValue) +#define IHTMLElement6_setAttributeNS(This,pvarNS,strAttributeName,pvarAttributeValue) (This)->lpVtbl->setAttributeNS(This,pvarNS,strAttributeName,pvarAttributeValue) +#define IHTMLElement6_removeAttributeNS(This,pvarNS,strAttributeName) (This)->lpVtbl->removeAttributeNS(This,pvarNS,strAttributeName) +#define IHTMLElement6_getAttributeNodeNS(This,pvarNS,bstrname,ppretAttribute) (This)->lpVtbl->getAttributeNodeNS(This,pvarNS,bstrname,ppretAttribute) +#define IHTMLElement6_setAttributeNodeNS(This,pattr,ppretAttribute) (This)->lpVtbl->setAttributeNodeNS(This,pattr,ppretAttribute) +#define IHTMLElement6_hasAttributeNS(This,pvarNS,name,pfHasAttribute) (This)->lpVtbl->hasAttributeNS(This,pvarNS,name,pfHasAttribute) +#define IHTMLElement6_getAttribute(This,strAttributeName,AttributeValue) (This)->lpVtbl->getAttribute(This,strAttributeName,AttributeValue) +#define IHTMLElement6_setAttribute(This,strAttributeName,pvarAttributeValue) (This)->lpVtbl->setAttribute(This,strAttributeName,pvarAttributeValue) +#define IHTMLElement6_removeAttribute(This,strAttributeName) (This)->lpVtbl->removeAttribute(This,strAttributeName) +#define IHTMLElement6_getAttributeNode(This,strAttributeName,ppretAttribute) (This)->lpVtbl->getAttributeNode(This,strAttributeName,ppretAttribute) +#define IHTMLElement6_setAttributeNode(This,pattr,ppretAttribute) (This)->lpVtbl->setAttributeNode(This,pattr,ppretAttribute) +#define IHTMLElement6_removeAttributeNode(This,pattr,ppretAttribute) (This)->lpVtbl->removeAttributeNode(This,pattr,ppretAttribute) +#define IHTMLElement6_hasAttribute(This,name,pfHasAttribute) (This)->lpVtbl->hasAttribute(This,name,pfHasAttribute) +#define IHTMLElement6_getElementsByTagNameNS(This,varNS,bstrLocalName,pelColl) (This)->lpVtbl->getElementsByTagNameNS(This,varNS,bstrLocalName,pelColl) +#define IHTMLElement6_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IHTMLElement6_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IHTMLElement6_getElementsByClassName(This,v,pel) (This)->lpVtbl->getElementsByClassName(This,v,pel) +#define IHTMLElement6_msMatchesSelector(This,v,pfMatches) (This)->lpVtbl->msMatchesSelector(This,v,pfMatches) +#define IHTMLElement6_put_onabort(This,v) (This)->lpVtbl->put_onabort(This,v) +#define IHTMLElement6_get_onabort(This,p) (This)->lpVtbl->get_onabort(This,p) +#define IHTMLElement6_put_oncanplay(This,v) (This)->lpVtbl->put_oncanplay(This,v) +#define IHTMLElement6_get_oncanplay(This,p) (This)->lpVtbl->get_oncanplay(This,p) +#define IHTMLElement6_put_oncanplaythrough(This,v) (This)->lpVtbl->put_oncanplaythrough(This,v) +#define IHTMLElement6_get_oncanplaythrough(This,p) (This)->lpVtbl->get_oncanplaythrough(This,p) +#define IHTMLElement6_put_onchange(This,v) (This)->lpVtbl->put_onchange(This,v) +#define IHTMLElement6_get_onchange(This,p) (This)->lpVtbl->get_onchange(This,p) +#define IHTMLElement6_put_ondurationchange(This,v) (This)->lpVtbl->put_ondurationchange(This,v) +#define IHTMLElement6_get_ondurationchange(This,p) (This)->lpVtbl->get_ondurationchange(This,p) +#define IHTMLElement6_put_onemptied(This,v) (This)->lpVtbl->put_onemptied(This,v) +#define IHTMLElement6_get_onemptied(This,p) (This)->lpVtbl->get_onemptied(This,p) +#define IHTMLElement6_put_onended(This,v) (This)->lpVtbl->put_onended(This,v) +#define IHTMLElement6_get_onended(This,p) (This)->lpVtbl->get_onended(This,p) +#define IHTMLElement6_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLElement6_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLElement6_put_oninput(This,v) (This)->lpVtbl->put_oninput(This,v) +#define IHTMLElement6_get_oninput(This,p) (This)->lpVtbl->get_oninput(This,p) +#define IHTMLElement6_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLElement6_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLElement6_put_onloadeddata(This,v) (This)->lpVtbl->put_onloadeddata(This,v) +#define IHTMLElement6_get_onloadeddata(This,p) (This)->lpVtbl->get_onloadeddata(This,p) +#define IHTMLElement6_put_onloadedmetadata(This,v) (This)->lpVtbl->put_onloadedmetadata(This,v) +#define IHTMLElement6_get_onloadedmetadata(This,p) (This)->lpVtbl->get_onloadedmetadata(This,p) +#define IHTMLElement6_put_onloadstart(This,v) (This)->lpVtbl->put_onloadstart(This,v) +#define IHTMLElement6_get_onloadstart(This,p) (This)->lpVtbl->get_onloadstart(This,p) +#define IHTMLElement6_put_onpause(This,v) (This)->lpVtbl->put_onpause(This,v) +#define IHTMLElement6_get_onpause(This,p) (This)->lpVtbl->get_onpause(This,p) +#define IHTMLElement6_put_onplay(This,v) (This)->lpVtbl->put_onplay(This,v) +#define IHTMLElement6_get_onplay(This,p) (This)->lpVtbl->get_onplay(This,p) +#define IHTMLElement6_put_onplaying(This,v) (This)->lpVtbl->put_onplaying(This,v) +#define IHTMLElement6_get_onplaying(This,p) (This)->lpVtbl->get_onplaying(This,p) +#define IHTMLElement6_put_onprogress(This,v) (This)->lpVtbl->put_onprogress(This,v) +#define IHTMLElement6_get_onprogress(This,p) (This)->lpVtbl->get_onprogress(This,p) +#define IHTMLElement6_put_onratechange(This,v) (This)->lpVtbl->put_onratechange(This,v) +#define IHTMLElement6_get_onratechange(This,p) (This)->lpVtbl->get_onratechange(This,p) +#define IHTMLElement6_put_onreset(This,v) (This)->lpVtbl->put_onreset(This,v) +#define IHTMLElement6_get_onreset(This,p) (This)->lpVtbl->get_onreset(This,p) +#define IHTMLElement6_put_onseeked(This,v) (This)->lpVtbl->put_onseeked(This,v) +#define IHTMLElement6_get_onseeked(This,p) (This)->lpVtbl->get_onseeked(This,p) +#define IHTMLElement6_put_onseeking(This,v) (This)->lpVtbl->put_onseeking(This,v) +#define IHTMLElement6_get_onseeking(This,p) (This)->lpVtbl->get_onseeking(This,p) +#define IHTMLElement6_put_onselect(This,v) (This)->lpVtbl->put_onselect(This,v) +#define IHTMLElement6_get_onselect(This,p) (This)->lpVtbl->get_onselect(This,p) +#define IHTMLElement6_put_onstalled(This,v) (This)->lpVtbl->put_onstalled(This,v) +#define IHTMLElement6_get_onstalled(This,p) (This)->lpVtbl->get_onstalled(This,p) +#define IHTMLElement6_put_onsubmit(This,v) (This)->lpVtbl->put_onsubmit(This,v) +#define IHTMLElement6_get_onsubmit(This,p) (This)->lpVtbl->get_onsubmit(This,p) +#define IHTMLElement6_put_onsuspend(This,v) (This)->lpVtbl->put_onsuspend(This,v) +#define IHTMLElement6_get_onsuspend(This,p) (This)->lpVtbl->get_onsuspend(This,p) +#define IHTMLElement6_put_ontimeupdate(This,v) (This)->lpVtbl->put_ontimeupdate(This,v) +#define IHTMLElement6_get_ontimeupdate(This,p) (This)->lpVtbl->get_ontimeupdate(This,p) +#define IHTMLElement6_put_onvolumechange(This,v) (This)->lpVtbl->put_onvolumechange(This,v) +#define IHTMLElement6_get_onvolumechange(This,p) (This)->lpVtbl->get_onvolumechange(This,p) +#define IHTMLElement6_put_onwaiting(This,v) (This)->lpVtbl->put_onwaiting(This,v) +#define IHTMLElement6_get_onwaiting(This,p) (This)->lpVtbl->get_onwaiting(This,p) +#define IHTMLElement6_hasAttributes(This,pfHasAttributes) (This)->lpVtbl->hasAttributes(This,pfHasAttributes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLElement6_QueryInterface(IHTMLElement6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLElement6_AddRef(IHTMLElement6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLElement6_Release(IHTMLElement6* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLElement6_GetTypeInfoCount(IHTMLElement6* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLElement6_GetTypeInfo(IHTMLElement6* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLElement6_GetIDsOfNames(IHTMLElement6* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLElement6_Invoke(IHTMLElement6* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLElement6 methods ***/ +static FORCEINLINE HRESULT IHTMLElement6_getAttributeNS(IHTMLElement6* This,VARIANT *pvarNS,BSTR strAttributeName,VARIANT *AttributeValue) { + return This->lpVtbl->getAttributeNS(This,pvarNS,strAttributeName,AttributeValue); +} +static FORCEINLINE HRESULT IHTMLElement6_setAttributeNS(IHTMLElement6* This,VARIANT *pvarNS,BSTR strAttributeName,VARIANT *pvarAttributeValue) { + return This->lpVtbl->setAttributeNS(This,pvarNS,strAttributeName,pvarAttributeValue); +} +static FORCEINLINE HRESULT IHTMLElement6_removeAttributeNS(IHTMLElement6* This,VARIANT *pvarNS,BSTR strAttributeName) { + return This->lpVtbl->removeAttributeNS(This,pvarNS,strAttributeName); +} +static FORCEINLINE HRESULT IHTMLElement6_getAttributeNodeNS(IHTMLElement6* This,VARIANT *pvarNS,BSTR bstrname,IHTMLDOMAttribute2 **ppretAttribute) { + return This->lpVtbl->getAttributeNodeNS(This,pvarNS,bstrname,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_setAttributeNodeNS(IHTMLElement6* This,IHTMLDOMAttribute2 *pattr,IHTMLDOMAttribute2 **ppretAttribute) { + return This->lpVtbl->setAttributeNodeNS(This,pattr,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_hasAttributeNS(IHTMLElement6* This,VARIANT *pvarNS,BSTR name,VARIANT_BOOL *pfHasAttribute) { + return This->lpVtbl->hasAttributeNS(This,pvarNS,name,pfHasAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_getAttribute(IHTMLElement6* This,BSTR strAttributeName,VARIANT *AttributeValue) { + return This->lpVtbl->getAttribute(This,strAttributeName,AttributeValue); +} +static FORCEINLINE HRESULT IHTMLElement6_setAttribute(IHTMLElement6* This,BSTR strAttributeName,VARIANT *pvarAttributeValue) { + return This->lpVtbl->setAttribute(This,strAttributeName,pvarAttributeValue); +} +static FORCEINLINE HRESULT IHTMLElement6_removeAttribute(IHTMLElement6* This,BSTR strAttributeName) { + return This->lpVtbl->removeAttribute(This,strAttributeName); +} +static FORCEINLINE HRESULT IHTMLElement6_getAttributeNode(IHTMLElement6* This,BSTR strAttributeName,IHTMLDOMAttribute2 **ppretAttribute) { + return This->lpVtbl->getAttributeNode(This,strAttributeName,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_setAttributeNode(IHTMLElement6* This,IHTMLDOMAttribute2 *pattr,IHTMLDOMAttribute2 **ppretAttribute) { + return This->lpVtbl->setAttributeNode(This,pattr,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_removeAttributeNode(IHTMLElement6* This,IHTMLDOMAttribute2 *pattr,IHTMLDOMAttribute2 **ppretAttribute) { + return This->lpVtbl->removeAttributeNode(This,pattr,ppretAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_hasAttribute(IHTMLElement6* This,BSTR name,VARIANT_BOOL *pfHasAttribute) { + return This->lpVtbl->hasAttribute(This,name,pfHasAttribute); +} +static FORCEINLINE HRESULT IHTMLElement6_getElementsByTagNameNS(IHTMLElement6* This,VARIANT *varNS,BSTR bstrLocalName,IHTMLElementCollection **pelColl) { + return This->lpVtbl->getElementsByTagNameNS(This,varNS,bstrLocalName,pelColl); +} +static FORCEINLINE HRESULT IHTMLElement6_get_tagName(IHTMLElement6* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_get_nodeName(IHTMLElement6* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_getElementsByClassName(IHTMLElement6* This,BSTR v,IHTMLElementCollection **pel) { + return This->lpVtbl->getElementsByClassName(This,v,pel); +} +static FORCEINLINE HRESULT IHTMLElement6_msMatchesSelector(IHTMLElement6* This,BSTR v,VARIANT_BOOL *pfMatches) { + return This->lpVtbl->msMatchesSelector(This,v,pfMatches); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onabort(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onabort(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onabort(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onabort(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_oncanplay(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_oncanplay(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_oncanplay(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_oncanplay(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_oncanplaythrough(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_oncanplaythrough(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_oncanplaythrough(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_oncanplaythrough(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onchange(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onchange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onchange(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onchange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_ondurationchange(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_ondurationchange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_ondurationchange(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_ondurationchange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onemptied(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onemptied(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onemptied(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onemptied(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onended(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onended(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onended(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onended(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onerror(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onerror(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_oninput(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_oninput(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_oninput(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_oninput(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onload(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onload(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onloadeddata(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onloadeddata(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onloadeddata(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onloadeddata(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onloadedmetadata(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onloadedmetadata(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onloadedmetadata(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onloadedmetadata(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onloadstart(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onloadstart(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onloadstart(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onloadstart(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onpause(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onpause(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onpause(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onpause(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onplay(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onplay(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onplay(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onplay(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onplaying(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onplaying(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onplaying(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onplaying(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onprogress(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onprogress(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onprogress(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onprogress(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onratechange(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onratechange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onratechange(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onratechange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onreset(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onreset(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onreset(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onreset(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onseeked(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onseeked(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onseeked(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onseeked(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onseeking(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onseeking(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onseeking(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onseeking(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onselect(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onselect(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onselect(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onselect(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onstalled(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onstalled(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onstalled(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onstalled(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onsubmit(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onsubmit(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onsubmit(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onsubmit(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onsuspend(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onsuspend(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onsuspend(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onsuspend(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_ontimeupdate(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_ontimeupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_ontimeupdate(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_ontimeupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onvolumechange(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onvolumechange(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onvolumechange(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onvolumechange(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_put_onwaiting(IHTMLElement6* This,VARIANT v) { + return This->lpVtbl->put_onwaiting(This,v); +} +static FORCEINLINE HRESULT IHTMLElement6_get_onwaiting(IHTMLElement6* This,VARIANT *p) { + return This->lpVtbl->get_onwaiting(This,p); +} +static FORCEINLINE HRESULT IHTMLElement6_hasAttributes(IHTMLElement6* This,VARIANT_BOOL *pfHasAttributes) { + return This->lpVtbl->hasAttributes(This,pfHasAttributes); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLElement6_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IElementTraversal interface + */ +#ifndef __IElementTraversal_INTERFACE_DEFINED__ +#define __IElementTraversal_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IElementTraversal, 0x30510736, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510736-98b5-11cf-bb82-00aa00bdce0b") +IElementTraversal : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_firstElementChild( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastElementChild( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_previousElementSibling( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nextElementSibling( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childElementCount( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IElementTraversal, 0x30510736, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IElementTraversalVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IElementTraversal *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IElementTraversal *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IElementTraversal *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IElementTraversal *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IElementTraversal *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IElementTraversal *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IElementTraversal *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IElementTraversal methods ***/ + HRESULT (STDMETHODCALLTYPE *get_firstElementChild)( + IElementTraversal *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_lastElementChild)( + IElementTraversal *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_previousElementSibling)( + IElementTraversal *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_nextElementSibling)( + IElementTraversal *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_childElementCount)( + IElementTraversal *This, + LONG *p); + + END_INTERFACE +} IElementTraversalVtbl; + +interface IElementTraversal { + CONST_VTBL IElementTraversalVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IElementTraversal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IElementTraversal_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IElementTraversal_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IElementTraversal_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IElementTraversal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IElementTraversal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IElementTraversal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IElementTraversal methods ***/ +#define IElementTraversal_get_firstElementChild(This,p) (This)->lpVtbl->get_firstElementChild(This,p) +#define IElementTraversal_get_lastElementChild(This,p) (This)->lpVtbl->get_lastElementChild(This,p) +#define IElementTraversal_get_previousElementSibling(This,p) (This)->lpVtbl->get_previousElementSibling(This,p) +#define IElementTraversal_get_nextElementSibling(This,p) (This)->lpVtbl->get_nextElementSibling(This,p) +#define IElementTraversal_get_childElementCount(This,p) (This)->lpVtbl->get_childElementCount(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IElementTraversal_QueryInterface(IElementTraversal* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IElementTraversal_AddRef(IElementTraversal* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IElementTraversal_Release(IElementTraversal* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IElementTraversal_GetTypeInfoCount(IElementTraversal* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IElementTraversal_GetTypeInfo(IElementTraversal* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IElementTraversal_GetIDsOfNames(IElementTraversal* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IElementTraversal_Invoke(IElementTraversal* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IElementTraversal methods ***/ +static FORCEINLINE HRESULT IElementTraversal_get_firstElementChild(IElementTraversal* This,IHTMLElement **p) { + return This->lpVtbl->get_firstElementChild(This,p); +} +static FORCEINLINE HRESULT IElementTraversal_get_lastElementChild(IElementTraversal* This,IHTMLElement **p) { + return This->lpVtbl->get_lastElementChild(This,p); +} +static FORCEINLINE HRESULT IElementTraversal_get_previousElementSibling(IElementTraversal* This,IHTMLElement **p) { + return This->lpVtbl->get_previousElementSibling(This,p); +} +static FORCEINLINE HRESULT IElementTraversal_get_nextElementSibling(IElementTraversal* This,IHTMLElement **p) { + return This->lpVtbl->get_nextElementSibling(This,p); +} +static FORCEINLINE HRESULT IElementTraversal_get_childElementCount(IElementTraversal* This,LONG *p) { + return This->lpVtbl->get_childElementCount(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IElementTraversal_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IElementSelector interface + */ +#ifndef __IElementSelector_INTERFACE_DEFINED__ +#define __IElementSelector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IElementSelector, 0x30510463, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510463-98b5-11cf-bb82-00aa00bdce0b") +IElementSelector : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE querySelector( + BSTR v, + IHTMLElement **pel) = 0; + + virtual HRESULT STDMETHODCALLTYPE querySelectorAll( + BSTR v, + IHTMLDOMChildrenCollection **pel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IElementSelector, 0x30510463, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IElementSelectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IElementSelector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IElementSelector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IElementSelector *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IElementSelector *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IElementSelector *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IElementSelector *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IElementSelector *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IElementSelector methods ***/ + HRESULT (STDMETHODCALLTYPE *querySelector)( + IElementSelector *This, + BSTR v, + IHTMLElement **pel); + + HRESULT (STDMETHODCALLTYPE *querySelectorAll)( + IElementSelector *This, + BSTR v, + IHTMLDOMChildrenCollection **pel); + + END_INTERFACE +} IElementSelectorVtbl; + +interface IElementSelector { + CONST_VTBL IElementSelectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IElementSelector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IElementSelector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IElementSelector_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IElementSelector_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IElementSelector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IElementSelector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IElementSelector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IElementSelector methods ***/ +#define IElementSelector_querySelector(This,v,pel) (This)->lpVtbl->querySelector(This,v,pel) +#define IElementSelector_querySelectorAll(This,v,pel) (This)->lpVtbl->querySelectorAll(This,v,pel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IElementSelector_QueryInterface(IElementSelector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IElementSelector_AddRef(IElementSelector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IElementSelector_Release(IElementSelector* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IElementSelector_GetTypeInfoCount(IElementSelector* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IElementSelector_GetTypeInfo(IElementSelector* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IElementSelector_GetIDsOfNames(IElementSelector* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IElementSelector_Invoke(IElementSelector* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IElementSelector methods ***/ +static FORCEINLINE HRESULT IElementSelector_querySelector(IElementSelector* This,BSTR v,IHTMLElement **pel) { + return This->lpVtbl->querySelector(This,v,pel); +} +static FORCEINLINE HRESULT IElementSelector_querySelectorAll(IElementSelector* This,BSTR v,IHTMLDOMChildrenCollection **pel) { + return This->lpVtbl->querySelectorAll(This,v,pel); +} +#endif +#endif + +#endif + + +#endif /* __IElementSelector_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLUniqueName interface + */ +#ifndef __IHTMLUniqueName_INTERFACE_DEFINED__ +#define __IHTMLUniqueName_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLUniqueName, 0x3050f4d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4d0-98b5-11cf-bb82-00aa00bdce0b") +IHTMLUniqueName : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_uniqueNumber( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_uniqueID( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLUniqueName, 0x3050f4d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLUniqueNameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLUniqueName *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLUniqueName *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLUniqueName *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLUniqueName *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLUniqueName *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLUniqueName *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLUniqueName *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLUniqueName methods ***/ + HRESULT (STDMETHODCALLTYPE *get_uniqueNumber)( + IHTMLUniqueName *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_uniqueID)( + IHTMLUniqueName *This, + BSTR *p); + + END_INTERFACE +} IHTMLUniqueNameVtbl; + +interface IHTMLUniqueName { + CONST_VTBL IHTMLUniqueNameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLUniqueName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLUniqueName_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLUniqueName_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLUniqueName_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLUniqueName_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLUniqueName_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLUniqueName_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLUniqueName methods ***/ +#define IHTMLUniqueName_get_uniqueNumber(This,p) (This)->lpVtbl->get_uniqueNumber(This,p) +#define IHTMLUniqueName_get_uniqueID(This,p) (This)->lpVtbl->get_uniqueID(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLUniqueName_QueryInterface(IHTMLUniqueName* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLUniqueName_AddRef(IHTMLUniqueName* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLUniqueName_Release(IHTMLUniqueName* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLUniqueName_GetTypeInfoCount(IHTMLUniqueName* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLUniqueName_GetTypeInfo(IHTMLUniqueName* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLUniqueName_GetIDsOfNames(IHTMLUniqueName* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLUniqueName_Invoke(IHTMLUniqueName* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLUniqueName methods ***/ +static FORCEINLINE HRESULT IHTMLUniqueName_get_uniqueNumber(IHTMLUniqueName* This,LONG *p) { + return This->lpVtbl->get_uniqueNumber(This,p); +} +static FORCEINLINE HRESULT IHTMLUniqueName_get_uniqueID(IHTMLUniqueName* This,BSTR *p) { + return This->lpVtbl->get_uniqueID(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLUniqueName_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDatabinding interface + */ +#ifndef __IHTMLDatabinding_INTERFACE_DEFINED__ +#define __IHTMLDatabinding_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDatabinding, 0x3050f3f2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3f2-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDatabinding : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_dataFld( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataFld( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dataSrc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataSrc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dataFormatAs( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataFormatAs( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDatabinding, 0x3050f3f2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDatabindingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDatabinding *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDatabinding *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDatabinding *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDatabinding *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDatabinding *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDatabinding *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDatabinding *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDatabinding methods ***/ + HRESULT (STDMETHODCALLTYPE *put_dataFld)( + IHTMLDatabinding *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dataFld)( + IHTMLDatabinding *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_dataSrc)( + IHTMLDatabinding *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dataSrc)( + IHTMLDatabinding *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_dataFormatAs)( + IHTMLDatabinding *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dataFormatAs)( + IHTMLDatabinding *This, + BSTR *p); + + END_INTERFACE +} IHTMLDatabindingVtbl; + +interface IHTMLDatabinding { + CONST_VTBL IHTMLDatabindingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDatabinding_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDatabinding_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDatabinding_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDatabinding_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDatabinding_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDatabinding_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDatabinding_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDatabinding methods ***/ +#define IHTMLDatabinding_put_dataFld(This,v) (This)->lpVtbl->put_dataFld(This,v) +#define IHTMLDatabinding_get_dataFld(This,p) (This)->lpVtbl->get_dataFld(This,p) +#define IHTMLDatabinding_put_dataSrc(This,v) (This)->lpVtbl->put_dataSrc(This,v) +#define IHTMLDatabinding_get_dataSrc(This,p) (This)->lpVtbl->get_dataSrc(This,p) +#define IHTMLDatabinding_put_dataFormatAs(This,v) (This)->lpVtbl->put_dataFormatAs(This,v) +#define IHTMLDatabinding_get_dataFormatAs(This,p) (This)->lpVtbl->get_dataFormatAs(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDatabinding_QueryInterface(IHTMLDatabinding* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDatabinding_AddRef(IHTMLDatabinding* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDatabinding_Release(IHTMLDatabinding* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDatabinding_GetTypeInfoCount(IHTMLDatabinding* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDatabinding_GetTypeInfo(IHTMLDatabinding* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDatabinding_GetIDsOfNames(IHTMLDatabinding* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDatabinding_Invoke(IHTMLDatabinding* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDatabinding methods ***/ +static FORCEINLINE HRESULT IHTMLDatabinding_put_dataFld(IHTMLDatabinding* This,BSTR v) { + return This->lpVtbl->put_dataFld(This,v); +} +static FORCEINLINE HRESULT IHTMLDatabinding_get_dataFld(IHTMLDatabinding* This,BSTR *p) { + return This->lpVtbl->get_dataFld(This,p); +} +static FORCEINLINE HRESULT IHTMLDatabinding_put_dataSrc(IHTMLDatabinding* This,BSTR v) { + return This->lpVtbl->put_dataSrc(This,v); +} +static FORCEINLINE HRESULT IHTMLDatabinding_get_dataSrc(IHTMLDatabinding* This,BSTR *p) { + return This->lpVtbl->get_dataSrc(This,p); +} +static FORCEINLINE HRESULT IHTMLDatabinding_put_dataFormatAs(IHTMLDatabinding* This,BSTR v) { + return This->lpVtbl->put_dataFormatAs(This,v); +} +static FORCEINLINE HRESULT IHTMLDatabinding_get_dataFormatAs(IHTMLDatabinding* This,BSTR *p) { + return This->lpVtbl->get_dataFormatAs(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDatabinding_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLGenericElement interface + */ +#ifndef __IHTMLGenericElement_INTERFACE_DEFINED__ +#define __IHTMLGenericElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLGenericElement, 0x3050f4b7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4b7-98b5-11cf-bb82-00aa00bdce0b") +IHTMLGenericElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_recordset( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE namedRecordset( + BSTR dataMember, + VARIANT *hierarchy, + IDispatch **ppRecordset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLGenericElement, 0x3050f4b7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLGenericElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLGenericElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLGenericElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLGenericElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLGenericElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLGenericElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLGenericElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLGenericElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLGenericElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_recordset)( + IHTMLGenericElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *namedRecordset)( + IHTMLGenericElement *This, + BSTR dataMember, + VARIANT *hierarchy, + IDispatch **ppRecordset); + + END_INTERFACE +} IHTMLGenericElementVtbl; + +interface IHTMLGenericElement { + CONST_VTBL IHTMLGenericElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLGenericElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLGenericElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLGenericElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLGenericElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLGenericElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLGenericElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLGenericElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLGenericElement methods ***/ +#define IHTMLGenericElement_get_recordset(This,p) (This)->lpVtbl->get_recordset(This,p) +#define IHTMLGenericElement_namedRecordset(This,dataMember,hierarchy,ppRecordset) (This)->lpVtbl->namedRecordset(This,dataMember,hierarchy,ppRecordset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLGenericElement_QueryInterface(IHTMLGenericElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLGenericElement_AddRef(IHTMLGenericElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLGenericElement_Release(IHTMLGenericElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLGenericElement_GetTypeInfoCount(IHTMLGenericElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLGenericElement_GetTypeInfo(IHTMLGenericElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLGenericElement_GetIDsOfNames(IHTMLGenericElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLGenericElement_Invoke(IHTMLGenericElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLGenericElement methods ***/ +static FORCEINLINE HRESULT IHTMLGenericElement_get_recordset(IHTMLGenericElement* This,IDispatch **p) { + return This->lpVtbl->get_recordset(This,p); +} +static FORCEINLINE HRESULT IHTMLGenericElement_namedRecordset(IHTMLGenericElement* This,BSTR dataMember,VARIANT *hierarchy,IDispatch **ppRecordset) { + return This->lpVtbl->namedRecordset(This,dataMember,hierarchy,ppRecordset); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLGenericElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLGenericElement dispinterface + */ +#ifndef __DispHTMLGenericElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLGenericElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLGenericElement, 0x3050f563, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f563-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLGenericElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLGenericElement, 0x3050f563, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLGenericElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLGenericElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLGenericElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLGenericElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLGenericElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLGenericElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLGenericElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLGenericElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLGenericElementVtbl; + +interface DispHTMLGenericElement { + CONST_VTBL DispHTMLGenericElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLGenericElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLGenericElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLGenericElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLGenericElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLGenericElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLGenericElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLGenericElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLGenericElement_QueryInterface(DispHTMLGenericElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLGenericElement_AddRef(DispHTMLGenericElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLGenericElement_Release(DispHTMLGenericElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLGenericElement_GetTypeInfoCount(DispHTMLGenericElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLGenericElement_GetTypeInfo(DispHTMLGenericElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLGenericElement_GetIDsOfNames(DispHTMLGenericElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLGenericElement_Invoke(DispHTMLGenericElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLGenericElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLGenericElement coclass + */ + +DEFINE_GUID(CLSID_HTMLGenericElement, 0x3050f4b8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f4b8-98b5-11cf-bb82-00aa00bdce0b") HTMLGenericElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLGenericElement, 0x3050f4b8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleSheetRule interface + */ +#ifndef __IHTMLStyleSheetRule_INTERFACE_DEFINED__ +#define __IHTMLStyleSheetRule_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheetRule, 0x3050f357, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f357-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheetRule : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_selectorText( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_selectorText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_style( + IHTMLRuleStyle **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readOnly( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheetRule, 0x3050f357, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheetRuleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheetRule *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheetRule *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheetRule *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheetRule *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheetRule *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheetRule *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheetRule *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheetRule methods ***/ + HRESULT (STDMETHODCALLTYPE *put_selectorText)( + IHTMLStyleSheetRule *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_selectorText)( + IHTMLStyleSheetRule *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_style)( + IHTMLStyleSheetRule *This, + IHTMLRuleStyle **p); + + HRESULT (STDMETHODCALLTYPE *get_readOnly)( + IHTMLStyleSheetRule *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLStyleSheetRuleVtbl; + +interface IHTMLStyleSheetRule { + CONST_VTBL IHTMLStyleSheetRuleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheetRule_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheetRule_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheetRule_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheetRule_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheetRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheetRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheetRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheetRule methods ***/ +#define IHTMLStyleSheetRule_put_selectorText(This,v) (This)->lpVtbl->put_selectorText(This,v) +#define IHTMLStyleSheetRule_get_selectorText(This,p) (This)->lpVtbl->get_selectorText(This,p) +#define IHTMLStyleSheetRule_get_style(This,p) (This)->lpVtbl->get_style(This,p) +#define IHTMLStyleSheetRule_get_readOnly(This,p) (This)->lpVtbl->get_readOnly(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetRule_QueryInterface(IHTMLStyleSheetRule* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheetRule_AddRef(IHTMLStyleSheetRule* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheetRule_Release(IHTMLStyleSheetRule* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetRule_GetTypeInfoCount(IHTMLStyleSheetRule* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRule_GetTypeInfo(IHTMLStyleSheetRule* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRule_GetIDsOfNames(IHTMLStyleSheetRule* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRule_Invoke(IHTMLStyleSheetRule* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheetRule methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetRule_put_selectorText(IHTMLStyleSheetRule* This,BSTR v) { + return This->lpVtbl->put_selectorText(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRule_get_selectorText(IHTMLStyleSheetRule* This,BSTR *p) { + return This->lpVtbl->get_selectorText(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRule_get_style(IHTMLStyleSheetRule* This,IHTMLRuleStyle **p) { + return This->lpVtbl->get_style(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRule_get_readOnly(IHTMLStyleSheetRule* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_readOnly(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheetRule_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleSheetRule dispinterface + */ +#ifndef __DispHTMLStyleSheetRule_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleSheetRule_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleSheetRule, 0x3050f50e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f50e-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleSheetRule : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleSheetRule, 0x3050f50e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleSheetRuleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleSheetRule *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleSheetRule *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleSheetRule *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleSheetRule *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleSheetRule *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleSheetRule *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleSheetRule *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleSheetRuleVtbl; + +interface DispHTMLStyleSheetRule { + CONST_VTBL DispHTMLStyleSheetRuleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleSheetRule_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleSheetRule_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleSheetRule_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleSheetRule_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleSheetRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleSheetRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleSheetRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetRule_QueryInterface(DispHTMLStyleSheetRule* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleSheetRule_AddRef(DispHTMLStyleSheetRule* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleSheetRule_Release(DispHTMLStyleSheetRule* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetRule_GetTypeInfoCount(DispHTMLStyleSheetRule* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetRule_GetTypeInfo(DispHTMLStyleSheetRule* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetRule_GetIDsOfNames(DispHTMLStyleSheetRule* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetRule_Invoke(DispHTMLStyleSheetRule* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleSheetRule_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleSheetRule coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleSheetRule, 0x3050f3ce, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f3ce-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleSheetRule; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleSheetRule, 0x3050f3ce, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleSheetRulesCollection interface + */ +#ifndef __IHTMLStyleSheetRulesCollection_INTERFACE_DEFINED__ +#define __IHTMLStyleSheetRulesCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheetRulesCollection, 0x3050f2e5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2e5-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheetRulesCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + LONG index, + IHTMLStyleSheetRule **ppHTMLStyleSheetRule) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheetRulesCollection, 0x3050f2e5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheetRulesCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheetRulesCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheetRulesCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheetRulesCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheetRulesCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheetRulesCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheetRulesCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheetRulesCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheetRulesCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLStyleSheetRulesCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLStyleSheetRulesCollection *This, + LONG index, + IHTMLStyleSheetRule **ppHTMLStyleSheetRule); + + END_INTERFACE +} IHTMLStyleSheetRulesCollectionVtbl; + +interface IHTMLStyleSheetRulesCollection { + CONST_VTBL IHTMLStyleSheetRulesCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheetRulesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheetRulesCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheetRulesCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheetRulesCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheetRulesCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheetRulesCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheetRulesCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheetRulesCollection methods ***/ +#define IHTMLStyleSheetRulesCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLStyleSheetRulesCollection_item(This,index,ppHTMLStyleSheetRule) (This)->lpVtbl->item(This,index,ppHTMLStyleSheetRule) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_QueryInterface(IHTMLStyleSheetRulesCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheetRulesCollection_AddRef(IHTMLStyleSheetRulesCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheetRulesCollection_Release(IHTMLStyleSheetRulesCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_GetTypeInfoCount(IHTMLStyleSheetRulesCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_GetTypeInfo(IHTMLStyleSheetRulesCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_GetIDsOfNames(IHTMLStyleSheetRulesCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_Invoke(IHTMLStyleSheetRulesCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheetRulesCollection methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_get_length(IHTMLStyleSheetRulesCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetRulesCollection_item(IHTMLStyleSheetRulesCollection* This,LONG index,IHTMLStyleSheetRule **ppHTMLStyleSheetRule) { + return This->lpVtbl->item(This,index,ppHTMLStyleSheetRule); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheetRulesCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleSheetRulesCollection dispinterface + */ +#ifndef __DispHTMLStyleSheetRulesCollection_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleSheetRulesCollection_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleSheetRulesCollection, 0x3050f52f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f52f-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleSheetRulesCollection : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleSheetRulesCollection, 0x3050f52f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleSheetRulesCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleSheetRulesCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleSheetRulesCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleSheetRulesCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleSheetRulesCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleSheetRulesCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleSheetRulesCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleSheetRulesCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleSheetRulesCollectionVtbl; + +interface DispHTMLStyleSheetRulesCollection { + CONST_VTBL DispHTMLStyleSheetRulesCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleSheetRulesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleSheetRulesCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleSheetRulesCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleSheetRulesCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleSheetRulesCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleSheetRulesCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleSheetRulesCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetRulesCollection_QueryInterface(DispHTMLStyleSheetRulesCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleSheetRulesCollection_AddRef(DispHTMLStyleSheetRulesCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleSheetRulesCollection_Release(DispHTMLStyleSheetRulesCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetRulesCollection_GetTypeInfoCount(DispHTMLStyleSheetRulesCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetRulesCollection_GetTypeInfo(DispHTMLStyleSheetRulesCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetRulesCollection_GetIDsOfNames(DispHTMLStyleSheetRulesCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetRulesCollection_Invoke(DispHTMLStyleSheetRulesCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleSheetRulesCollection_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleSheetRulesCollection coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleSheetRulesCollection, 0x3050f3cd, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f3cd-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleSheetRulesCollection; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleSheetRulesCollection, 0x3050f3cd, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleSheetPage interface + */ +#ifndef __IHTMLStyleSheetPage_INTERFACE_DEFINED__ +#define __IHTMLStyleSheetPage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheetPage, 0x3050f7ee, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f7ee-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheetPage : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_selector( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pseudoClass( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheetPage, 0x3050f7ee, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheetPageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheetPage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheetPage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheetPage *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheetPage *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheetPage *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheetPage *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheetPage *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheetPage methods ***/ + HRESULT (STDMETHODCALLTYPE *get_selector)( + IHTMLStyleSheetPage *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_pseudoClass)( + IHTMLStyleSheetPage *This, + BSTR *p); + + END_INTERFACE +} IHTMLStyleSheetPageVtbl; + +interface IHTMLStyleSheetPage { + CONST_VTBL IHTMLStyleSheetPageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheetPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheetPage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheetPage_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheetPage_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheetPage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheetPage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheetPage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheetPage methods ***/ +#define IHTMLStyleSheetPage_get_selector(This,p) (This)->lpVtbl->get_selector(This,p) +#define IHTMLStyleSheetPage_get_pseudoClass(This,p) (This)->lpVtbl->get_pseudoClass(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetPage_QueryInterface(IHTMLStyleSheetPage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheetPage_AddRef(IHTMLStyleSheetPage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheetPage_Release(IHTMLStyleSheetPage* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetPage_GetTypeInfoCount(IHTMLStyleSheetPage* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPage_GetTypeInfo(IHTMLStyleSheetPage* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPage_GetIDsOfNames(IHTMLStyleSheetPage* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPage_Invoke(IHTMLStyleSheetPage* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheetPage methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetPage_get_selector(IHTMLStyleSheetPage* This,BSTR *p) { + return This->lpVtbl->get_selector(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPage_get_pseudoClass(IHTMLStyleSheetPage* This,BSTR *p) { + return This->lpVtbl->get_pseudoClass(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheetPage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleSheetPage dispinterface + */ +#ifndef __DispHTMLStyleSheetPage_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleSheetPage_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleSheetPage, 0x3050f540, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f540-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleSheetPage : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleSheetPage, 0x3050f540, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleSheetPageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleSheetPage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleSheetPage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleSheetPage *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleSheetPage *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleSheetPage *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleSheetPage *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleSheetPage *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleSheetPageVtbl; + +interface DispHTMLStyleSheetPage { + CONST_VTBL DispHTMLStyleSheetPageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleSheetPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleSheetPage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleSheetPage_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleSheetPage_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleSheetPage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleSheetPage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleSheetPage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetPage_QueryInterface(DispHTMLStyleSheetPage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleSheetPage_AddRef(DispHTMLStyleSheetPage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleSheetPage_Release(DispHTMLStyleSheetPage* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetPage_GetTypeInfoCount(DispHTMLStyleSheetPage* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetPage_GetTypeInfo(DispHTMLStyleSheetPage* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetPage_GetIDsOfNames(DispHTMLStyleSheetPage* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetPage_Invoke(DispHTMLStyleSheetPage* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleSheetPage_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleSheetPage coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleSheetPage, 0x3050f7ef, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f7ef-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleSheetPage; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleSheetPage, 0x3050f7ef, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleSheetPagesCollection interface + */ +#ifndef __IHTMLStyleSheetPagesCollection_INTERFACE_DEFINED__ +#define __IHTMLStyleSheetPagesCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheetPagesCollection, 0x3050f7f0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f7f0-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheetPagesCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + LONG index, + IHTMLStyleSheetPage **ppHTMLStyleSheetPage) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheetPagesCollection, 0x3050f7f0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheetPagesCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheetPagesCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheetPagesCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheetPagesCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheetPagesCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheetPagesCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheetPagesCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheetPagesCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheetPagesCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLStyleSheetPagesCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLStyleSheetPagesCollection *This, + LONG index, + IHTMLStyleSheetPage **ppHTMLStyleSheetPage); + + END_INTERFACE +} IHTMLStyleSheetPagesCollectionVtbl; + +interface IHTMLStyleSheetPagesCollection { + CONST_VTBL IHTMLStyleSheetPagesCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheetPagesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheetPagesCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheetPagesCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheetPagesCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheetPagesCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheetPagesCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheetPagesCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheetPagesCollection methods ***/ +#define IHTMLStyleSheetPagesCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLStyleSheetPagesCollection_item(This,index,ppHTMLStyleSheetPage) (This)->lpVtbl->item(This,index,ppHTMLStyleSheetPage) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_QueryInterface(IHTMLStyleSheetPagesCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheetPagesCollection_AddRef(IHTMLStyleSheetPagesCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheetPagesCollection_Release(IHTMLStyleSheetPagesCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_GetTypeInfoCount(IHTMLStyleSheetPagesCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_GetTypeInfo(IHTMLStyleSheetPagesCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_GetIDsOfNames(IHTMLStyleSheetPagesCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_Invoke(IHTMLStyleSheetPagesCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheetPagesCollection methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_get_length(IHTMLStyleSheetPagesCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetPagesCollection_item(IHTMLStyleSheetPagesCollection* This,LONG index,IHTMLStyleSheetPage **ppHTMLStyleSheetPage) { + return This->lpVtbl->item(This,index,ppHTMLStyleSheetPage); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheetPagesCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleSheetPagesCollection dispinterface + */ +#ifndef __DispHTMLStyleSheetPagesCollection_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleSheetPagesCollection_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleSheetPagesCollection, 0x3050f543, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f543-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleSheetPagesCollection : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleSheetPagesCollection, 0x3050f543, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleSheetPagesCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleSheetPagesCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleSheetPagesCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleSheetPagesCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleSheetPagesCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleSheetPagesCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleSheetPagesCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleSheetPagesCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleSheetPagesCollectionVtbl; + +interface DispHTMLStyleSheetPagesCollection { + CONST_VTBL DispHTMLStyleSheetPagesCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleSheetPagesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleSheetPagesCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleSheetPagesCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleSheetPagesCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleSheetPagesCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleSheetPagesCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleSheetPagesCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetPagesCollection_QueryInterface(DispHTMLStyleSheetPagesCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleSheetPagesCollection_AddRef(DispHTMLStyleSheetPagesCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleSheetPagesCollection_Release(DispHTMLStyleSheetPagesCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetPagesCollection_GetTypeInfoCount(DispHTMLStyleSheetPagesCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetPagesCollection_GetTypeInfo(DispHTMLStyleSheetPagesCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetPagesCollection_GetIDsOfNames(DispHTMLStyleSheetPagesCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetPagesCollection_Invoke(DispHTMLStyleSheetPagesCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleSheetPagesCollection_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleSheetPagesCollection coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleSheetPagesCollection, 0x3050f7f1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f7f1-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleSheetPagesCollection; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleSheetPagesCollection, 0x3050f7f1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleSheet interface + */ +#ifndef __IHTMLStyleSheet_INTERFACE_DEFINED__ +#define __IHTMLStyleSheet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheet, 0x3050f2e3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2e3-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_title( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_title( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentStyleSheet( + IHTMLStyleSheet **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_owningElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readOnly( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_imports( + IHTMLStyleSheetsCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_href( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_id( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addImport( + BSTR bstrURL, + LONG lIndex, + LONG *plIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE addRule( + BSTR bstrSelector, + BSTR bstrStyle, + LONG lIndex, + LONG *plNewIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeImport( + LONG lIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeRule( + LONG lIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_media( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_media( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cssText( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cssText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rules( + IHTMLStyleSheetRulesCollection **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheet, 0x3050f2e3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheet methods ***/ + HRESULT (STDMETHODCALLTYPE *put_title)( + IHTMLStyleSheet *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_title)( + IHTMLStyleSheet *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_parentStyleSheet)( + IHTMLStyleSheet *This, + IHTMLStyleSheet **p); + + HRESULT (STDMETHODCALLTYPE *get_owningElement)( + IHTMLStyleSheet *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLStyleSheet *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLStyleSheet *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_readOnly)( + IHTMLStyleSheet *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_imports)( + IHTMLStyleSheet *This, + IHTMLStyleSheetsCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_href)( + IHTMLStyleSheet *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLStyleSheet *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLStyleSheet *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_id)( + IHTMLStyleSheet *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *addImport)( + IHTMLStyleSheet *This, + BSTR bstrURL, + LONG lIndex, + LONG *plIndex); + + HRESULT (STDMETHODCALLTYPE *addRule)( + IHTMLStyleSheet *This, + BSTR bstrSelector, + BSTR bstrStyle, + LONG lIndex, + LONG *plNewIndex); + + HRESULT (STDMETHODCALLTYPE *removeImport)( + IHTMLStyleSheet *This, + LONG lIndex); + + HRESULT (STDMETHODCALLTYPE *removeRule)( + IHTMLStyleSheet *This, + LONG lIndex); + + HRESULT (STDMETHODCALLTYPE *put_media)( + IHTMLStyleSheet *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_media)( + IHTMLStyleSheet *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_cssText)( + IHTMLStyleSheet *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_cssText)( + IHTMLStyleSheet *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_rules)( + IHTMLStyleSheet *This, + IHTMLStyleSheetRulesCollection **p); + + END_INTERFACE +} IHTMLStyleSheetVtbl; + +interface IHTMLStyleSheet { + CONST_VTBL IHTMLStyleSheetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheet methods ***/ +#define IHTMLStyleSheet_put_title(This,v) (This)->lpVtbl->put_title(This,v) +#define IHTMLStyleSheet_get_title(This,p) (This)->lpVtbl->get_title(This,p) +#define IHTMLStyleSheet_get_parentStyleSheet(This,p) (This)->lpVtbl->get_parentStyleSheet(This,p) +#define IHTMLStyleSheet_get_owningElement(This,p) (This)->lpVtbl->get_owningElement(This,p) +#define IHTMLStyleSheet_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLStyleSheet_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLStyleSheet_get_readOnly(This,p) (This)->lpVtbl->get_readOnly(This,p) +#define IHTMLStyleSheet_get_imports(This,p) (This)->lpVtbl->get_imports(This,p) +#define IHTMLStyleSheet_put_href(This,v) (This)->lpVtbl->put_href(This,v) +#define IHTMLStyleSheet_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#define IHTMLStyleSheet_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLStyleSheet_get_id(This,p) (This)->lpVtbl->get_id(This,p) +#define IHTMLStyleSheet_addImport(This,bstrURL,lIndex,plIndex) (This)->lpVtbl->addImport(This,bstrURL,lIndex,plIndex) +#define IHTMLStyleSheet_addRule(This,bstrSelector,bstrStyle,lIndex,plNewIndex) (This)->lpVtbl->addRule(This,bstrSelector,bstrStyle,lIndex,plNewIndex) +#define IHTMLStyleSheet_removeImport(This,lIndex) (This)->lpVtbl->removeImport(This,lIndex) +#define IHTMLStyleSheet_removeRule(This,lIndex) (This)->lpVtbl->removeRule(This,lIndex) +#define IHTMLStyleSheet_put_media(This,v) (This)->lpVtbl->put_media(This,v) +#define IHTMLStyleSheet_get_media(This,p) (This)->lpVtbl->get_media(This,p) +#define IHTMLStyleSheet_put_cssText(This,v) (This)->lpVtbl->put_cssText(This,v) +#define IHTMLStyleSheet_get_cssText(This,p) (This)->lpVtbl->get_cssText(This,p) +#define IHTMLStyleSheet_get_rules(This,p) (This)->lpVtbl->get_rules(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheet_QueryInterface(IHTMLStyleSheet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheet_AddRef(IHTMLStyleSheet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheet_Release(IHTMLStyleSheet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheet_GetTypeInfoCount(IHTMLStyleSheet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_GetTypeInfo(IHTMLStyleSheet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_GetIDsOfNames(IHTMLStyleSheet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_Invoke(IHTMLStyleSheet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheet methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheet_put_title(IHTMLStyleSheet* This,BSTR v) { + return This->lpVtbl->put_title(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_title(IHTMLStyleSheet* This,BSTR *p) { + return This->lpVtbl->get_title(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_parentStyleSheet(IHTMLStyleSheet* This,IHTMLStyleSheet **p) { + return This->lpVtbl->get_parentStyleSheet(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_owningElement(IHTMLStyleSheet* This,IHTMLElement **p) { + return This->lpVtbl->get_owningElement(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_put_disabled(IHTMLStyleSheet* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_disabled(IHTMLStyleSheet* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_readOnly(IHTMLStyleSheet* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_readOnly(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_imports(IHTMLStyleSheet* This,IHTMLStyleSheetsCollection **p) { + return This->lpVtbl->get_imports(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_put_href(IHTMLStyleSheet* This,BSTR v) { + return This->lpVtbl->put_href(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_href(IHTMLStyleSheet* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_type(IHTMLStyleSheet* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_id(IHTMLStyleSheet* This,BSTR *p) { + return This->lpVtbl->get_id(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_addImport(IHTMLStyleSheet* This,BSTR bstrURL,LONG lIndex,LONG *plIndex) { + return This->lpVtbl->addImport(This,bstrURL,lIndex,plIndex); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_addRule(IHTMLStyleSheet* This,BSTR bstrSelector,BSTR bstrStyle,LONG lIndex,LONG *plNewIndex) { + return This->lpVtbl->addRule(This,bstrSelector,bstrStyle,lIndex,plNewIndex); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_removeImport(IHTMLStyleSheet* This,LONG lIndex) { + return This->lpVtbl->removeImport(This,lIndex); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_removeRule(IHTMLStyleSheet* This,LONG lIndex) { + return This->lpVtbl->removeRule(This,lIndex); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_put_media(IHTMLStyleSheet* This,BSTR v) { + return This->lpVtbl->put_media(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_media(IHTMLStyleSheet* This,BSTR *p) { + return This->lpVtbl->get_media(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_put_cssText(IHTMLStyleSheet* This,BSTR v) { + return This->lpVtbl->put_cssText(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_cssText(IHTMLStyleSheet* This,BSTR *p) { + return This->lpVtbl->get_cssText(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet_get_rules(IHTMLStyleSheet* This,IHTMLStyleSheetRulesCollection **p) { + return This->lpVtbl->get_rules(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLStyleSheet2 interface + */ +#ifndef __IHTMLStyleSheet2_INTERFACE_DEFINED__ +#define __IHTMLStyleSheet2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheet2, 0x3050f3d1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3d1-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheet2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_pages( + IHTMLStyleSheetPagesCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addPageRule( + BSTR bstrSelector, + BSTR bstrStyle, + LONG lIndex, + LONG *plNewIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheet2, 0x3050f3d1, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheet2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheet2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheet2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheet2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheet2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheet2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheet2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheet2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheet2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_pages)( + IHTMLStyleSheet2 *This, + IHTMLStyleSheetPagesCollection **p); + + HRESULT (STDMETHODCALLTYPE *addPageRule)( + IHTMLStyleSheet2 *This, + BSTR bstrSelector, + BSTR bstrStyle, + LONG lIndex, + LONG *plNewIndex); + + END_INTERFACE +} IHTMLStyleSheet2Vtbl; + +interface IHTMLStyleSheet2 { + CONST_VTBL IHTMLStyleSheet2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheet2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheet2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheet2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheet2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheet2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheet2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheet2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheet2 methods ***/ +#define IHTMLStyleSheet2_get_pages(This,p) (This)->lpVtbl->get_pages(This,p) +#define IHTMLStyleSheet2_addPageRule(This,bstrSelector,bstrStyle,lIndex,plNewIndex) (This)->lpVtbl->addPageRule(This,bstrSelector,bstrStyle,lIndex,plNewIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheet2_QueryInterface(IHTMLStyleSheet2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheet2_AddRef(IHTMLStyleSheet2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheet2_Release(IHTMLStyleSheet2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheet2_GetTypeInfoCount(IHTMLStyleSheet2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheet2_GetTypeInfo(IHTMLStyleSheet2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheet2_GetIDsOfNames(IHTMLStyleSheet2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheet2_Invoke(IHTMLStyleSheet2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheet2 methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheet2_get_pages(IHTMLStyleSheet2* This,IHTMLStyleSheetPagesCollection **p) { + return This->lpVtbl->get_pages(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheet2_addPageRule(IHTMLStyleSheet2* This,BSTR bstrSelector,BSTR bstrStyle,LONG lIndex,LONG *plNewIndex) { + return This->lpVtbl->addPageRule(This,bstrSelector,bstrStyle,lIndex,plNewIndex); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheet2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleSheet dispinterface + */ +#ifndef __DispHTMLStyleSheet_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleSheet_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleSheet, 0x3050f58d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f58d-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleSheet : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleSheet, 0x3050f58d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleSheetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleSheet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleSheet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleSheet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleSheet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleSheet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleSheet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleSheet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleSheetVtbl; + +interface DispHTMLStyleSheet { + CONST_VTBL DispHTMLStyleSheetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleSheet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleSheet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleSheet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleSheet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleSheet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleSheet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleSheet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheet_QueryInterface(DispHTMLStyleSheet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleSheet_AddRef(DispHTMLStyleSheet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleSheet_Release(DispHTMLStyleSheet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheet_GetTypeInfoCount(DispHTMLStyleSheet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheet_GetTypeInfo(DispHTMLStyleSheet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheet_GetIDsOfNames(DispHTMLStyleSheet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleSheet_Invoke(DispHTMLStyleSheet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleSheet_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleSheet coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleSheet, 0x3050f2e4, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f2e4-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleSheet; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleSheet, 0x3050f2e4, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleSheetsCollection interface + */ +#ifndef __IHTMLStyleSheetsCollection_INTERFACE_DEFINED__ +#define __IHTMLStyleSheetsCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleSheetsCollection, 0x3050f37e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f37e-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleSheetsCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT *pvarIndex, + VARIANT *pvarResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleSheetsCollection, 0x3050f37e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleSheetsCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleSheetsCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleSheetsCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleSheetsCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleSheetsCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleSheetsCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleSheetsCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleSheetsCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleSheetsCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLStyleSheetsCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLStyleSheetsCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLStyleSheetsCollection *This, + VARIANT *pvarIndex, + VARIANT *pvarResult); + + END_INTERFACE +} IHTMLStyleSheetsCollectionVtbl; + +interface IHTMLStyleSheetsCollection { + CONST_VTBL IHTMLStyleSheetsCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleSheetsCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleSheetsCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleSheetsCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleSheetsCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleSheetsCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleSheetsCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleSheetsCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleSheetsCollection methods ***/ +#define IHTMLStyleSheetsCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLStyleSheetsCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLStyleSheetsCollection_item(This,pvarIndex,pvarResult) (This)->lpVtbl->item(This,pvarIndex,pvarResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_QueryInterface(IHTMLStyleSheetsCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleSheetsCollection_AddRef(IHTMLStyleSheetsCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleSheetsCollection_Release(IHTMLStyleSheetsCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_GetTypeInfoCount(IHTMLStyleSheetsCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_GetTypeInfo(IHTMLStyleSheetsCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_GetIDsOfNames(IHTMLStyleSheetsCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_Invoke(IHTMLStyleSheetsCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleSheetsCollection methods ***/ +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_get_length(IHTMLStyleSheetsCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_get__newEnum(IHTMLStyleSheetsCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleSheetsCollection_item(IHTMLStyleSheetsCollection* This,VARIANT *pvarIndex,VARIANT *pvarResult) { + return This->lpVtbl->item(This,pvarIndex,pvarResult); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleSheetsCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleSheetsCollection dispinterface + */ +#ifndef __DispHTMLStyleSheetsCollection_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleSheetsCollection_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleSheetsCollection, 0x3050f547, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f547-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleSheetsCollection : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleSheetsCollection, 0x3050f547, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleSheetsCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleSheetsCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleSheetsCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleSheetsCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleSheetsCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleSheetsCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleSheetsCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleSheetsCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleSheetsCollectionVtbl; + +interface DispHTMLStyleSheetsCollection { + CONST_VTBL DispHTMLStyleSheetsCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleSheetsCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleSheetsCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleSheetsCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleSheetsCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleSheetsCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleSheetsCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleSheetsCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetsCollection_QueryInterface(DispHTMLStyleSheetsCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleSheetsCollection_AddRef(DispHTMLStyleSheetsCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleSheetsCollection_Release(DispHTMLStyleSheetsCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleSheetsCollection_GetTypeInfoCount(DispHTMLStyleSheetsCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetsCollection_GetTypeInfo(DispHTMLStyleSheetsCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetsCollection_GetIDsOfNames(DispHTMLStyleSheetsCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleSheetsCollection_Invoke(DispHTMLStyleSheetsCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleSheetsCollection_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLLinkElement interface + */ +#ifndef __IHTMLLinkElement_INTERFACE_DEFINED__ +#define __IHTMLLinkElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLinkElement, 0x3050f205, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f205-98b5-11cf-bb82-00aa00bdce0b") +IHTMLLinkElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_href( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rel( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rel( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rev( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rev( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_styleSheet( + IHTMLStyleSheet **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_media( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_media( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLinkElement, 0x3050f205, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLLinkElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLinkElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLinkElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLinkElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLinkElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLinkElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLinkElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLinkElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLinkElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_href)( + IHTMLLinkElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLLinkElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rel)( + IHTMLLinkElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rel)( + IHTMLLinkElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rev)( + IHTMLLinkElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rev)( + IHTMLLinkElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLLinkElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLLinkElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLLinkElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLLinkElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLLinkElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLLinkElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLLinkElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLLinkElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLLinkElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_styleSheet)( + IHTMLLinkElement *This, + IHTMLStyleSheet **p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLLinkElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLLinkElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_media)( + IHTMLLinkElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_media)( + IHTMLLinkElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLLinkElementVtbl; + +interface IHTMLLinkElement { + CONST_VTBL IHTMLLinkElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLinkElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLinkElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLinkElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLinkElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLinkElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLinkElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLinkElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLinkElement methods ***/ +#define IHTMLLinkElement_put_href(This,v) (This)->lpVtbl->put_href(This,v) +#define IHTMLLinkElement_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#define IHTMLLinkElement_put_rel(This,v) (This)->lpVtbl->put_rel(This,v) +#define IHTMLLinkElement_get_rel(This,p) (This)->lpVtbl->get_rel(This,p) +#define IHTMLLinkElement_put_rev(This,v) (This)->lpVtbl->put_rev(This,v) +#define IHTMLLinkElement_get_rev(This,p) (This)->lpVtbl->get_rev(This,p) +#define IHTMLLinkElement_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLLinkElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLLinkElement_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLLinkElement_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLLinkElement_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLLinkElement_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLLinkElement_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLLinkElement_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLLinkElement_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLLinkElement_get_styleSheet(This,p) (This)->lpVtbl->get_styleSheet(This,p) +#define IHTMLLinkElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLLinkElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLLinkElement_put_media(This,v) (This)->lpVtbl->put_media(This,v) +#define IHTMLLinkElement_get_media(This,p) (This)->lpVtbl->get_media(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement_QueryInterface(IHTMLLinkElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLinkElement_AddRef(IHTMLLinkElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLinkElement_Release(IHTMLLinkElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement_GetTypeInfoCount(IHTMLLinkElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement_GetTypeInfo(IHTMLLinkElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement_GetIDsOfNames(IHTMLLinkElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLinkElement_Invoke(IHTMLLinkElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLinkElement methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement_put_href(IHTMLLinkElement* This,BSTR v) { + return This->lpVtbl->put_href(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_href(IHTMLLinkElement* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_rel(IHTMLLinkElement* This,BSTR v) { + return This->lpVtbl->put_rel(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_rel(IHTMLLinkElement* This,BSTR *p) { + return This->lpVtbl->get_rel(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_rev(IHTMLLinkElement* This,BSTR v) { + return This->lpVtbl->put_rev(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_rev(IHTMLLinkElement* This,BSTR *p) { + return This->lpVtbl->get_rev(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_type(IHTMLLinkElement* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_type(IHTMLLinkElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_readyState(IHTMLLinkElement* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_onreadystatechange(IHTMLLinkElement* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_onreadystatechange(IHTMLLinkElement* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_onload(IHTMLLinkElement* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_onload(IHTMLLinkElement* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_onerror(IHTMLLinkElement* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_onerror(IHTMLLinkElement* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_styleSheet(IHTMLLinkElement* This,IHTMLStyleSheet **p) { + return This->lpVtbl->get_styleSheet(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_disabled(IHTMLLinkElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_disabled(IHTMLLinkElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement_put_media(IHTMLLinkElement* This,BSTR v) { + return This->lpVtbl->put_media(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement_get_media(IHTMLLinkElement* This,BSTR *p) { + return This->lpVtbl->get_media(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLinkElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLLinkElement2 interface + */ +#ifndef __IHTMLLinkElement2_INTERFACE_DEFINED__ +#define __IHTMLLinkElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLinkElement2, 0x3050f4e5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4e5-98b5-11cf-bb82-00aa00bdce0b") +IHTMLLinkElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_target( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLinkElement2, 0x3050f4e5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLLinkElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLinkElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLinkElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLinkElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLinkElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLinkElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLinkElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLinkElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLinkElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_target)( + IHTMLLinkElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_target)( + IHTMLLinkElement2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLLinkElement2Vtbl; + +interface IHTMLLinkElement2 { + CONST_VTBL IHTMLLinkElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLinkElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLinkElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLinkElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLinkElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLinkElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLinkElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLinkElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLinkElement2 methods ***/ +#define IHTMLLinkElement2_put_target(This,v) (This)->lpVtbl->put_target(This,v) +#define IHTMLLinkElement2_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement2_QueryInterface(IHTMLLinkElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLinkElement2_AddRef(IHTMLLinkElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLinkElement2_Release(IHTMLLinkElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement2_GetTypeInfoCount(IHTMLLinkElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement2_GetTypeInfo(IHTMLLinkElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement2_GetIDsOfNames(IHTMLLinkElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLinkElement2_Invoke(IHTMLLinkElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLinkElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement2_put_target(IHTMLLinkElement2* This,BSTR v) { + return This->lpVtbl->put_target(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement2_get_target(IHTMLLinkElement2* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLinkElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLLinkElement3 interface + */ +#ifndef __IHTMLLinkElement3_INTERFACE_DEFINED__ +#define __IHTMLLinkElement3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLinkElement3, 0x3050f81e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f81e-98b5-11cf-bb82-00aa00bdce0b") +IHTMLLinkElement3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_charset( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_charset( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hreflang( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hreflang( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLinkElement3, 0x3050f81e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLLinkElement3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLinkElement3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLinkElement3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLinkElement3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLinkElement3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLinkElement3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLinkElement3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLinkElement3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLinkElement3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_charset)( + IHTMLLinkElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_charset)( + IHTMLLinkElement3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hreflang)( + IHTMLLinkElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hreflang)( + IHTMLLinkElement3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLLinkElement3Vtbl; + +interface IHTMLLinkElement3 { + CONST_VTBL IHTMLLinkElement3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLinkElement3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLinkElement3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLinkElement3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLinkElement3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLinkElement3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLinkElement3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLinkElement3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLinkElement3 methods ***/ +#define IHTMLLinkElement3_put_charset(This,v) (This)->lpVtbl->put_charset(This,v) +#define IHTMLLinkElement3_get_charset(This,p) (This)->lpVtbl->get_charset(This,p) +#define IHTMLLinkElement3_put_hreflang(This,v) (This)->lpVtbl->put_hreflang(This,v) +#define IHTMLLinkElement3_get_hreflang(This,p) (This)->lpVtbl->get_hreflang(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement3_QueryInterface(IHTMLLinkElement3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLinkElement3_AddRef(IHTMLLinkElement3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLinkElement3_Release(IHTMLLinkElement3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement3_GetTypeInfoCount(IHTMLLinkElement3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement3_GetTypeInfo(IHTMLLinkElement3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement3_GetIDsOfNames(IHTMLLinkElement3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLinkElement3_Invoke(IHTMLLinkElement3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLinkElement3 methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement3_put_charset(IHTMLLinkElement3* This,BSTR v) { + return This->lpVtbl->put_charset(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement3_get_charset(IHTMLLinkElement3* This,BSTR *p) { + return This->lpVtbl->get_charset(This,p); +} +static FORCEINLINE HRESULT IHTMLLinkElement3_put_hreflang(IHTMLLinkElement3* This,BSTR v) { + return This->lpVtbl->put_hreflang(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement3_get_hreflang(IHTMLLinkElement3* This,BSTR *p) { + return This->lpVtbl->get_hreflang(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLinkElement3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLLinkElement4 interface + */ +#ifndef __IHTMLLinkElement4_INTERFACE_DEFINED__ +#define __IHTMLLinkElement4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLinkElement4, 0x3051043a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051043a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLLinkElement4 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_href( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLinkElement4, 0x3051043a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLLinkElement4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLinkElement4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLinkElement4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLinkElement4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLinkElement4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLinkElement4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLinkElement4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLinkElement4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLinkElement4 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_href)( + IHTMLLinkElement4 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLLinkElement4 *This, + BSTR *p); + + END_INTERFACE +} IHTMLLinkElement4Vtbl; + +interface IHTMLLinkElement4 { + CONST_VTBL IHTMLLinkElement4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLinkElement4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLinkElement4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLinkElement4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLinkElement4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLinkElement4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLinkElement4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLinkElement4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLinkElement4 methods ***/ +#define IHTMLLinkElement4_put_href(This,v) (This)->lpVtbl->put_href(This,v) +#define IHTMLLinkElement4_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement4_QueryInterface(IHTMLLinkElement4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLinkElement4_AddRef(IHTMLLinkElement4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLinkElement4_Release(IHTMLLinkElement4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement4_GetTypeInfoCount(IHTMLLinkElement4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement4_GetTypeInfo(IHTMLLinkElement4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLinkElement4_GetIDsOfNames(IHTMLLinkElement4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLinkElement4_Invoke(IHTMLLinkElement4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLinkElement4 methods ***/ +static FORCEINLINE HRESULT IHTMLLinkElement4_put_href(IHTMLLinkElement4* This,BSTR v) { + return This->lpVtbl->put_href(This,v); +} +static FORCEINLINE HRESULT IHTMLLinkElement4_get_href(IHTMLLinkElement4* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLinkElement4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLLinkElement dispinterface + */ +#ifndef __DispHTMLLinkElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLLinkElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLLinkElement, 0x3050f524, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f524-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLLinkElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLLinkElement, 0x3050f524, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLLinkElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLLinkElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLLinkElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLLinkElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLLinkElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLLinkElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLLinkElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLLinkElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLLinkElementVtbl; + +interface DispHTMLLinkElement { + CONST_VTBL DispHTMLLinkElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLLinkElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLLinkElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLLinkElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLLinkElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLLinkElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLLinkElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLLinkElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLLinkElement_QueryInterface(DispHTMLLinkElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLLinkElement_AddRef(DispHTMLLinkElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLLinkElement_Release(DispHTMLLinkElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLLinkElement_GetTypeInfoCount(DispHTMLLinkElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLLinkElement_GetTypeInfo(DispHTMLLinkElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLLinkElement_GetIDsOfNames(DispHTMLLinkElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLLinkElement_Invoke(DispHTMLLinkElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLLinkElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLLinkElement coclass + */ + +DEFINE_GUID(CLSID_HTMLLinkElement, 0x3050f277, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f277-98b5-11cf-bb82-00aa00bdce0b") HTMLLinkElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLLinkElement, 0x3050f277, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLTxtRange interface + */ +#ifndef __IHTMLTxtRange_INTERFACE_DEFINED__ +#define __IHTMLTxtRange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTxtRange, 0x3050f220, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f220-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTxtRange : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_htmlText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE parentElement( + IHTMLElement **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE duplicate( + IHTMLTxtRange **Duplicate) = 0; + + virtual HRESULT STDMETHODCALLTYPE inRange( + IHTMLTxtRange *Range, + VARIANT_BOOL *InRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE isEqual( + IHTMLTxtRange *Range, + VARIANT_BOOL *IsEqual) = 0; + + virtual HRESULT STDMETHODCALLTYPE scrollIntoView( + VARIANT_BOOL fStart = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE collapse( + VARIANT_BOOL Start = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE expand( + BSTR Unit, + VARIANT_BOOL *Success) = 0; + + virtual HRESULT STDMETHODCALLTYPE move( + BSTR Unit, + LONG Count, + LONG *ActualCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveStart( + BSTR Unit, + LONG Count, + LONG *ActualCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveEnd( + BSTR Unit, + LONG Count, + LONG *ActualCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE select( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pasteHTML( + BSTR html) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveToElementText( + IHTMLElement *element) = 0; + + virtual HRESULT STDMETHODCALLTYPE setEndPoint( + BSTR how, + IHTMLTxtRange *SourceRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE compareEndPoints( + BSTR how, + IHTMLTxtRange *SourceRange, + LONG *ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE findText( + BSTR String, + LONG count, + LONG Flags, + VARIANT_BOOL *Success) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveToPoint( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE getBookmark( + BSTR *Boolmark) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveToBookmark( + BSTR Bookmark, + VARIANT_BOOL *Success) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandSupported( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandEnabled( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandState( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandIndeterm( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandText( + BSTR cmdID, + BSTR *pcmdText) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandValue( + BSTR cmdID, + VARIANT *pcmdValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE execCommand( + BSTR cmdID, + VARIANT_BOOL showUI, + VARIANT value, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE execCommandShowHelp( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTxtRange, 0x3050f220, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTxtRangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTxtRange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTxtRange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTxtRange *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTxtRange *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTxtRange *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTxtRange *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTxtRange *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTxtRange methods ***/ + HRESULT (STDMETHODCALLTYPE *get_htmlText)( + IHTMLTxtRange *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IHTMLTxtRange *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IHTMLTxtRange *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *parentElement)( + IHTMLTxtRange *This, + IHTMLElement **parent); + + HRESULT (STDMETHODCALLTYPE *duplicate)( + IHTMLTxtRange *This, + IHTMLTxtRange **Duplicate); + + HRESULT (STDMETHODCALLTYPE *inRange)( + IHTMLTxtRange *This, + IHTMLTxtRange *Range, + VARIANT_BOOL *InRange); + + HRESULT (STDMETHODCALLTYPE *isEqual)( + IHTMLTxtRange *This, + IHTMLTxtRange *Range, + VARIANT_BOOL *IsEqual); + + HRESULT (STDMETHODCALLTYPE *scrollIntoView)( + IHTMLTxtRange *This, + VARIANT_BOOL fStart); + + HRESULT (STDMETHODCALLTYPE *collapse)( + IHTMLTxtRange *This, + VARIANT_BOOL Start); + + HRESULT (STDMETHODCALLTYPE *expand)( + IHTMLTxtRange *This, + BSTR Unit, + VARIANT_BOOL *Success); + + HRESULT (STDMETHODCALLTYPE *move)( + IHTMLTxtRange *This, + BSTR Unit, + LONG Count, + LONG *ActualCount); + + HRESULT (STDMETHODCALLTYPE *moveStart)( + IHTMLTxtRange *This, + BSTR Unit, + LONG Count, + LONG *ActualCount); + + HRESULT (STDMETHODCALLTYPE *moveEnd)( + IHTMLTxtRange *This, + BSTR Unit, + LONG Count, + LONG *ActualCount); + + HRESULT (STDMETHODCALLTYPE *select)( + IHTMLTxtRange *This); + + HRESULT (STDMETHODCALLTYPE *pasteHTML)( + IHTMLTxtRange *This, + BSTR html); + + HRESULT (STDMETHODCALLTYPE *moveToElementText)( + IHTMLTxtRange *This, + IHTMLElement *element); + + HRESULT (STDMETHODCALLTYPE *setEndPoint)( + IHTMLTxtRange *This, + BSTR how, + IHTMLTxtRange *SourceRange); + + HRESULT (STDMETHODCALLTYPE *compareEndPoints)( + IHTMLTxtRange *This, + BSTR how, + IHTMLTxtRange *SourceRange, + LONG *ret); + + HRESULT (STDMETHODCALLTYPE *findText)( + IHTMLTxtRange *This, + BSTR String, + LONG count, + LONG Flags, + VARIANT_BOOL *Success); + + HRESULT (STDMETHODCALLTYPE *moveToPoint)( + IHTMLTxtRange *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *getBookmark)( + IHTMLTxtRange *This, + BSTR *Boolmark); + + HRESULT (STDMETHODCALLTYPE *moveToBookmark)( + IHTMLTxtRange *This, + BSTR Bookmark, + VARIANT_BOOL *Success); + + HRESULT (STDMETHODCALLTYPE *queryCommandSupported)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandEnabled)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandState)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandIndeterm)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandText)( + IHTMLTxtRange *This, + BSTR cmdID, + BSTR *pcmdText); + + HRESULT (STDMETHODCALLTYPE *queryCommandValue)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT *pcmdValue); + + HRESULT (STDMETHODCALLTYPE *execCommand)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT_BOOL showUI, + VARIANT value, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *execCommandShowHelp)( + IHTMLTxtRange *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + END_INTERFACE +} IHTMLTxtRangeVtbl; + +interface IHTMLTxtRange { + CONST_VTBL IHTMLTxtRangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTxtRange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTxtRange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTxtRange_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTxtRange_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTxtRange_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTxtRange_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTxtRange_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTxtRange methods ***/ +#define IHTMLTxtRange_get_htmlText(This,p) (This)->lpVtbl->get_htmlText(This,p) +#define IHTMLTxtRange_put_text(This,v) (This)->lpVtbl->put_text(This,v) +#define IHTMLTxtRange_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IHTMLTxtRange_parentElement(This,parent) (This)->lpVtbl->parentElement(This,parent) +#define IHTMLTxtRange_duplicate(This,Duplicate) (This)->lpVtbl->duplicate(This,Duplicate) +#define IHTMLTxtRange_inRange(This,Range,InRange) (This)->lpVtbl->inRange(This,Range,InRange) +#define IHTMLTxtRange_isEqual(This,Range,IsEqual) (This)->lpVtbl->isEqual(This,Range,IsEqual) +#define IHTMLTxtRange_scrollIntoView(This,fStart) (This)->lpVtbl->scrollIntoView(This,fStart) +#define IHTMLTxtRange_collapse(This,Start) (This)->lpVtbl->collapse(This,Start) +#define IHTMLTxtRange_expand(This,Unit,Success) (This)->lpVtbl->expand(This,Unit,Success) +#define IHTMLTxtRange_move(This,Unit,Count,ActualCount) (This)->lpVtbl->move(This,Unit,Count,ActualCount) +#define IHTMLTxtRange_moveStart(This,Unit,Count,ActualCount) (This)->lpVtbl->moveStart(This,Unit,Count,ActualCount) +#define IHTMLTxtRange_moveEnd(This,Unit,Count,ActualCount) (This)->lpVtbl->moveEnd(This,Unit,Count,ActualCount) +#define IHTMLTxtRange_select(This) (This)->lpVtbl->select(This) +#define IHTMLTxtRange_pasteHTML(This,html) (This)->lpVtbl->pasteHTML(This,html) +#define IHTMLTxtRange_moveToElementText(This,element) (This)->lpVtbl->moveToElementText(This,element) +#define IHTMLTxtRange_setEndPoint(This,how,SourceRange) (This)->lpVtbl->setEndPoint(This,how,SourceRange) +#define IHTMLTxtRange_compareEndPoints(This,how,SourceRange,ret) (This)->lpVtbl->compareEndPoints(This,how,SourceRange,ret) +#define IHTMLTxtRange_findText(This,String,count,Flags,Success) (This)->lpVtbl->findText(This,String,count,Flags,Success) +#define IHTMLTxtRange_moveToPoint(This,x,y) (This)->lpVtbl->moveToPoint(This,x,y) +#define IHTMLTxtRange_getBookmark(This,Boolmark) (This)->lpVtbl->getBookmark(This,Boolmark) +#define IHTMLTxtRange_moveToBookmark(This,Bookmark,Success) (This)->lpVtbl->moveToBookmark(This,Bookmark,Success) +#define IHTMLTxtRange_queryCommandSupported(This,cmdID,pfRet) (This)->lpVtbl->queryCommandSupported(This,cmdID,pfRet) +#define IHTMLTxtRange_queryCommandEnabled(This,cmdID,pfRet) (This)->lpVtbl->queryCommandEnabled(This,cmdID,pfRet) +#define IHTMLTxtRange_queryCommandState(This,cmdID,pfRet) (This)->lpVtbl->queryCommandState(This,cmdID,pfRet) +#define IHTMLTxtRange_queryCommandIndeterm(This,cmdID,pfRet) (This)->lpVtbl->queryCommandIndeterm(This,cmdID,pfRet) +#define IHTMLTxtRange_queryCommandText(This,cmdID,pcmdText) (This)->lpVtbl->queryCommandText(This,cmdID,pcmdText) +#define IHTMLTxtRange_queryCommandValue(This,cmdID,pcmdValue) (This)->lpVtbl->queryCommandValue(This,cmdID,pcmdValue) +#define IHTMLTxtRange_execCommand(This,cmdID,showUI,value,pfRet) (This)->lpVtbl->execCommand(This,cmdID,showUI,value,pfRet) +#define IHTMLTxtRange_execCommandShowHelp(This,cmdID,pfRet) (This)->lpVtbl->execCommandShowHelp(This,cmdID,pfRet) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTxtRange_QueryInterface(IHTMLTxtRange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTxtRange_AddRef(IHTMLTxtRange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTxtRange_Release(IHTMLTxtRange* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTxtRange_GetTypeInfoCount(IHTMLTxtRange* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTxtRange_GetTypeInfo(IHTMLTxtRange* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTxtRange_GetIDsOfNames(IHTMLTxtRange* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTxtRange_Invoke(IHTMLTxtRange* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTxtRange methods ***/ +static FORCEINLINE HRESULT IHTMLTxtRange_get_htmlText(IHTMLTxtRange* This,BSTR *p) { + return This->lpVtbl->get_htmlText(This,p); +} +static FORCEINLINE HRESULT IHTMLTxtRange_put_text(IHTMLTxtRange* This,BSTR v) { + return This->lpVtbl->put_text(This,v); +} +static FORCEINLINE HRESULT IHTMLTxtRange_get_text(IHTMLTxtRange* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IHTMLTxtRange_parentElement(IHTMLTxtRange* This,IHTMLElement **parent) { + return This->lpVtbl->parentElement(This,parent); +} +static FORCEINLINE HRESULT IHTMLTxtRange_duplicate(IHTMLTxtRange* This,IHTMLTxtRange **Duplicate) { + return This->lpVtbl->duplicate(This,Duplicate); +} +static FORCEINLINE HRESULT IHTMLTxtRange_inRange(IHTMLTxtRange* This,IHTMLTxtRange *Range,VARIANT_BOOL *InRange) { + return This->lpVtbl->inRange(This,Range,InRange); +} +static FORCEINLINE HRESULT IHTMLTxtRange_isEqual(IHTMLTxtRange* This,IHTMLTxtRange *Range,VARIANT_BOOL *IsEqual) { + return This->lpVtbl->isEqual(This,Range,IsEqual); +} +static FORCEINLINE HRESULT IHTMLTxtRange_scrollIntoView(IHTMLTxtRange* This,VARIANT_BOOL fStart) { + return This->lpVtbl->scrollIntoView(This,fStart); +} +static FORCEINLINE HRESULT IHTMLTxtRange_collapse(IHTMLTxtRange* This,VARIANT_BOOL Start) { + return This->lpVtbl->collapse(This,Start); +} +static FORCEINLINE HRESULT IHTMLTxtRange_expand(IHTMLTxtRange* This,BSTR Unit,VARIANT_BOOL *Success) { + return This->lpVtbl->expand(This,Unit,Success); +} +static FORCEINLINE HRESULT IHTMLTxtRange_move(IHTMLTxtRange* This,BSTR Unit,LONG Count,LONG *ActualCount) { + return This->lpVtbl->move(This,Unit,Count,ActualCount); +} +static FORCEINLINE HRESULT IHTMLTxtRange_moveStart(IHTMLTxtRange* This,BSTR Unit,LONG Count,LONG *ActualCount) { + return This->lpVtbl->moveStart(This,Unit,Count,ActualCount); +} +static FORCEINLINE HRESULT IHTMLTxtRange_moveEnd(IHTMLTxtRange* This,BSTR Unit,LONG Count,LONG *ActualCount) { + return This->lpVtbl->moveEnd(This,Unit,Count,ActualCount); +} +static FORCEINLINE HRESULT IHTMLTxtRange_select(IHTMLTxtRange* This) { + return This->lpVtbl->select(This); +} +static FORCEINLINE HRESULT IHTMLTxtRange_pasteHTML(IHTMLTxtRange* This,BSTR html) { + return This->lpVtbl->pasteHTML(This,html); +} +static FORCEINLINE HRESULT IHTMLTxtRange_moveToElementText(IHTMLTxtRange* This,IHTMLElement *element) { + return This->lpVtbl->moveToElementText(This,element); +} +static FORCEINLINE HRESULT IHTMLTxtRange_setEndPoint(IHTMLTxtRange* This,BSTR how,IHTMLTxtRange *SourceRange) { + return This->lpVtbl->setEndPoint(This,how,SourceRange); +} +static FORCEINLINE HRESULT IHTMLTxtRange_compareEndPoints(IHTMLTxtRange* This,BSTR how,IHTMLTxtRange *SourceRange,LONG *ret) { + return This->lpVtbl->compareEndPoints(This,how,SourceRange,ret); +} +static FORCEINLINE HRESULT IHTMLTxtRange_findText(IHTMLTxtRange* This,BSTR String,LONG count,LONG Flags,VARIANT_BOOL *Success) { + return This->lpVtbl->findText(This,String,count,Flags,Success); +} +static FORCEINLINE HRESULT IHTMLTxtRange_moveToPoint(IHTMLTxtRange* This,LONG x,LONG y) { + return This->lpVtbl->moveToPoint(This,x,y); +} +static FORCEINLINE HRESULT IHTMLTxtRange_getBookmark(IHTMLTxtRange* This,BSTR *Boolmark) { + return This->lpVtbl->getBookmark(This,Boolmark); +} +static FORCEINLINE HRESULT IHTMLTxtRange_moveToBookmark(IHTMLTxtRange* This,BSTR Bookmark,VARIANT_BOOL *Success) { + return This->lpVtbl->moveToBookmark(This,Bookmark,Success); +} +static FORCEINLINE HRESULT IHTMLTxtRange_queryCommandSupported(IHTMLTxtRange* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandSupported(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLTxtRange_queryCommandEnabled(IHTMLTxtRange* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandEnabled(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLTxtRange_queryCommandState(IHTMLTxtRange* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandState(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLTxtRange_queryCommandIndeterm(IHTMLTxtRange* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandIndeterm(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLTxtRange_queryCommandText(IHTMLTxtRange* This,BSTR cmdID,BSTR *pcmdText) { + return This->lpVtbl->queryCommandText(This,cmdID,pcmdText); +} +static FORCEINLINE HRESULT IHTMLTxtRange_queryCommandValue(IHTMLTxtRange* This,BSTR cmdID,VARIANT *pcmdValue) { + return This->lpVtbl->queryCommandValue(This,cmdID,pcmdValue); +} +static FORCEINLINE HRESULT IHTMLTxtRange_execCommand(IHTMLTxtRange* This,BSTR cmdID,VARIANT_BOOL showUI,VARIANT value,VARIANT_BOOL *pfRet) { + return This->lpVtbl->execCommand(This,cmdID,showUI,value,pfRet); +} +static FORCEINLINE HRESULT IHTMLTxtRange_execCommandShowHelp(IHTMLTxtRange* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->execCommandShowHelp(This,cmdID,pfRet); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTxtRange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMRange interface + */ +#ifndef __IHTMLDOMRange_INTERFACE_DEFINED__ +#define __IHTMLDOMRange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMRange, 0x305104ae, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305104ae-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMRange : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_startContainer( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_startOffset( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_endContainer( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_endOffset( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_collapsed( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_commonAncestorContainer( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setStart( + IDispatch *refNode, + LONG offset) = 0; + + virtual HRESULT STDMETHODCALLTYPE setEnd( + IDispatch *refNode, + LONG offset) = 0; + + virtual HRESULT STDMETHODCALLTYPE setStartBefore( + IDispatch *refNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setStartAfter( + IDispatch *refNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setEndBefore( + IDispatch *refNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setEndAfter( + IDispatch *refNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE collapse( + VARIANT_BOOL toStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectNode( + IDispatch *refNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectNodeContents( + IDispatch *refNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE compareBoundaryPoints( + short how, + IDispatch *sourceRange, + LONG *compareResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteContents( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE extractContents( + IDispatch **ppDocumentFragment) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneContents( + IDispatch **ppDocumentFragment) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertNode( + IDispatch *newNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE surroundContents( + IDispatch *newParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneRange( + IHTMLDOMRange **ppClonedRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *pRangeString) = 0; + + virtual HRESULT STDMETHODCALLTYPE detach( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE getClientRects( + IHTMLRectCollection **ppRectCol) = 0; + + virtual HRESULT STDMETHODCALLTYPE getBoundingClientRect( + IHTMLRect **ppRect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMRange, 0x305104ae, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMRangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMRange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMRange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMRange *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMRange *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMRange *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMRange *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMRange *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMRange methods ***/ + HRESULT (STDMETHODCALLTYPE *get_startContainer)( + IHTMLDOMRange *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_startOffset)( + IHTMLDOMRange *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_endContainer)( + IHTMLDOMRange *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_endOffset)( + IHTMLDOMRange *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_collapsed)( + IHTMLDOMRange *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_commonAncestorContainer)( + IHTMLDOMRange *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *setStart)( + IHTMLDOMRange *This, + IDispatch *refNode, + LONG offset); + + HRESULT (STDMETHODCALLTYPE *setEnd)( + IHTMLDOMRange *This, + IDispatch *refNode, + LONG offset); + + HRESULT (STDMETHODCALLTYPE *setStartBefore)( + IHTMLDOMRange *This, + IDispatch *refNode); + + HRESULT (STDMETHODCALLTYPE *setStartAfter)( + IHTMLDOMRange *This, + IDispatch *refNode); + + HRESULT (STDMETHODCALLTYPE *setEndBefore)( + IHTMLDOMRange *This, + IDispatch *refNode); + + HRESULT (STDMETHODCALLTYPE *setEndAfter)( + IHTMLDOMRange *This, + IDispatch *refNode); + + HRESULT (STDMETHODCALLTYPE *collapse)( + IHTMLDOMRange *This, + VARIANT_BOOL toStart); + + HRESULT (STDMETHODCALLTYPE *selectNode)( + IHTMLDOMRange *This, + IDispatch *refNode); + + HRESULT (STDMETHODCALLTYPE *selectNodeContents)( + IHTMLDOMRange *This, + IDispatch *refNode); + + HRESULT (STDMETHODCALLTYPE *compareBoundaryPoints)( + IHTMLDOMRange *This, + short how, + IDispatch *sourceRange, + LONG *compareResult); + + HRESULT (STDMETHODCALLTYPE *deleteContents)( + IHTMLDOMRange *This); + + HRESULT (STDMETHODCALLTYPE *extractContents)( + IHTMLDOMRange *This, + IDispatch **ppDocumentFragment); + + HRESULT (STDMETHODCALLTYPE *cloneContents)( + IHTMLDOMRange *This, + IDispatch **ppDocumentFragment); + + HRESULT (STDMETHODCALLTYPE *insertNode)( + IHTMLDOMRange *This, + IDispatch *newNode); + + HRESULT (STDMETHODCALLTYPE *surroundContents)( + IHTMLDOMRange *This, + IDispatch *newParent); + + HRESULT (STDMETHODCALLTYPE *cloneRange)( + IHTMLDOMRange *This, + IHTMLDOMRange **ppClonedRange); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLDOMRange *This, + BSTR *pRangeString); + + HRESULT (STDMETHODCALLTYPE *detach)( + IHTMLDOMRange *This); + + HRESULT (STDMETHODCALLTYPE *getClientRects)( + IHTMLDOMRange *This, + IHTMLRectCollection **ppRectCol); + + HRESULT (STDMETHODCALLTYPE *getBoundingClientRect)( + IHTMLDOMRange *This, + IHTMLRect **ppRect); + + END_INTERFACE +} IHTMLDOMRangeVtbl; + +interface IHTMLDOMRange { + CONST_VTBL IHTMLDOMRangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMRange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMRange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMRange_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMRange_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMRange_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMRange_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMRange_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMRange methods ***/ +#define IHTMLDOMRange_get_startContainer(This,p) (This)->lpVtbl->get_startContainer(This,p) +#define IHTMLDOMRange_get_startOffset(This,p) (This)->lpVtbl->get_startOffset(This,p) +#define IHTMLDOMRange_get_endContainer(This,p) (This)->lpVtbl->get_endContainer(This,p) +#define IHTMLDOMRange_get_endOffset(This,p) (This)->lpVtbl->get_endOffset(This,p) +#define IHTMLDOMRange_get_collapsed(This,p) (This)->lpVtbl->get_collapsed(This,p) +#define IHTMLDOMRange_get_commonAncestorContainer(This,p) (This)->lpVtbl->get_commonAncestorContainer(This,p) +#define IHTMLDOMRange_setStart(This,refNode,offset) (This)->lpVtbl->setStart(This,refNode,offset) +#define IHTMLDOMRange_setEnd(This,refNode,offset) (This)->lpVtbl->setEnd(This,refNode,offset) +#define IHTMLDOMRange_setStartBefore(This,refNode) (This)->lpVtbl->setStartBefore(This,refNode) +#define IHTMLDOMRange_setStartAfter(This,refNode) (This)->lpVtbl->setStartAfter(This,refNode) +#define IHTMLDOMRange_setEndBefore(This,refNode) (This)->lpVtbl->setEndBefore(This,refNode) +#define IHTMLDOMRange_setEndAfter(This,refNode) (This)->lpVtbl->setEndAfter(This,refNode) +#define IHTMLDOMRange_collapse(This,toStart) (This)->lpVtbl->collapse(This,toStart) +#define IHTMLDOMRange_selectNode(This,refNode) (This)->lpVtbl->selectNode(This,refNode) +#define IHTMLDOMRange_selectNodeContents(This,refNode) (This)->lpVtbl->selectNodeContents(This,refNode) +#define IHTMLDOMRange_compareBoundaryPoints(This,how,sourceRange,compareResult) (This)->lpVtbl->compareBoundaryPoints(This,how,sourceRange,compareResult) +#define IHTMLDOMRange_deleteContents(This) (This)->lpVtbl->deleteContents(This) +#define IHTMLDOMRange_extractContents(This,ppDocumentFragment) (This)->lpVtbl->extractContents(This,ppDocumentFragment) +#define IHTMLDOMRange_cloneContents(This,ppDocumentFragment) (This)->lpVtbl->cloneContents(This,ppDocumentFragment) +#define IHTMLDOMRange_insertNode(This,newNode) (This)->lpVtbl->insertNode(This,newNode) +#define IHTMLDOMRange_surroundContents(This,newParent) (This)->lpVtbl->surroundContents(This,newParent) +#define IHTMLDOMRange_cloneRange(This,ppClonedRange) (This)->lpVtbl->cloneRange(This,ppClonedRange) +#define IHTMLDOMRange_toString(This,pRangeString) (This)->lpVtbl->toString(This,pRangeString) +#define IHTMLDOMRange_detach(This) (This)->lpVtbl->detach(This) +#define IHTMLDOMRange_getClientRects(This,ppRectCol) (This)->lpVtbl->getClientRects(This,ppRectCol) +#define IHTMLDOMRange_getBoundingClientRect(This,ppRect) (This)->lpVtbl->getBoundingClientRect(This,ppRect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMRange_QueryInterface(IHTMLDOMRange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMRange_AddRef(IHTMLDOMRange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMRange_Release(IHTMLDOMRange* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMRange_GetTypeInfoCount(IHTMLDOMRange* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMRange_GetTypeInfo(IHTMLDOMRange* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMRange_GetIDsOfNames(IHTMLDOMRange* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMRange_Invoke(IHTMLDOMRange* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMRange methods ***/ +static FORCEINLINE HRESULT IHTMLDOMRange_get_startContainer(IHTMLDOMRange* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_startContainer(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMRange_get_startOffset(IHTMLDOMRange* This,LONG *p) { + return This->lpVtbl->get_startOffset(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMRange_get_endContainer(IHTMLDOMRange* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_endContainer(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMRange_get_endOffset(IHTMLDOMRange* This,LONG *p) { + return This->lpVtbl->get_endOffset(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMRange_get_collapsed(IHTMLDOMRange* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_collapsed(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMRange_get_commonAncestorContainer(IHTMLDOMRange* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_commonAncestorContainer(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMRange_setStart(IHTMLDOMRange* This,IDispatch *refNode,LONG offset) { + return This->lpVtbl->setStart(This,refNode,offset); +} +static FORCEINLINE HRESULT IHTMLDOMRange_setEnd(IHTMLDOMRange* This,IDispatch *refNode,LONG offset) { + return This->lpVtbl->setEnd(This,refNode,offset); +} +static FORCEINLINE HRESULT IHTMLDOMRange_setStartBefore(IHTMLDOMRange* This,IDispatch *refNode) { + return This->lpVtbl->setStartBefore(This,refNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_setStartAfter(IHTMLDOMRange* This,IDispatch *refNode) { + return This->lpVtbl->setStartAfter(This,refNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_setEndBefore(IHTMLDOMRange* This,IDispatch *refNode) { + return This->lpVtbl->setEndBefore(This,refNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_setEndAfter(IHTMLDOMRange* This,IDispatch *refNode) { + return This->lpVtbl->setEndAfter(This,refNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_collapse(IHTMLDOMRange* This,VARIANT_BOOL toStart) { + return This->lpVtbl->collapse(This,toStart); +} +static FORCEINLINE HRESULT IHTMLDOMRange_selectNode(IHTMLDOMRange* This,IDispatch *refNode) { + return This->lpVtbl->selectNode(This,refNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_selectNodeContents(IHTMLDOMRange* This,IDispatch *refNode) { + return This->lpVtbl->selectNodeContents(This,refNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_compareBoundaryPoints(IHTMLDOMRange* This,short how,IDispatch *sourceRange,LONG *compareResult) { + return This->lpVtbl->compareBoundaryPoints(This,how,sourceRange,compareResult); +} +static FORCEINLINE HRESULT IHTMLDOMRange_deleteContents(IHTMLDOMRange* This) { + return This->lpVtbl->deleteContents(This); +} +static FORCEINLINE HRESULT IHTMLDOMRange_extractContents(IHTMLDOMRange* This,IDispatch **ppDocumentFragment) { + return This->lpVtbl->extractContents(This,ppDocumentFragment); +} +static FORCEINLINE HRESULT IHTMLDOMRange_cloneContents(IHTMLDOMRange* This,IDispatch **ppDocumentFragment) { + return This->lpVtbl->cloneContents(This,ppDocumentFragment); +} +static FORCEINLINE HRESULT IHTMLDOMRange_insertNode(IHTMLDOMRange* This,IDispatch *newNode) { + return This->lpVtbl->insertNode(This,newNode); +} +static FORCEINLINE HRESULT IHTMLDOMRange_surroundContents(IHTMLDOMRange* This,IDispatch *newParent) { + return This->lpVtbl->surroundContents(This,newParent); +} +static FORCEINLINE HRESULT IHTMLDOMRange_cloneRange(IHTMLDOMRange* This,IHTMLDOMRange **ppClonedRange) { + return This->lpVtbl->cloneRange(This,ppClonedRange); +} +static FORCEINLINE HRESULT IHTMLDOMRange_toString(IHTMLDOMRange* This,BSTR *pRangeString) { + return This->lpVtbl->toString(This,pRangeString); +} +static FORCEINLINE HRESULT IHTMLDOMRange_detach(IHTMLDOMRange* This) { + return This->lpVtbl->detach(This); +} +static FORCEINLINE HRESULT IHTMLDOMRange_getClientRects(IHTMLDOMRange* This,IHTMLRectCollection **ppRectCol) { + return This->lpVtbl->getClientRects(This,ppRectCol); +} +static FORCEINLINE HRESULT IHTMLDOMRange_getBoundingClientRect(IHTMLDOMRange* This,IHTMLRect **ppRect) { + return This->lpVtbl->getBoundingClientRect(This,ppRect); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMRange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleSheetsCollection coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleSheetsCollection, 0x3050f37f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f37f-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleSheetsCollection; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleSheetsCollection, 0x3050f37f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLFormElement interface + */ +#ifndef __IHTMLFormElement_INTERFACE_DEFINED__ +#define __IHTMLFormElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLFormElement, 0x3050f1f7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f1f7-98b5-11cf-bb82-00aa00bdce0b") +IHTMLFormElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_action( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_action( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dir( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dir( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_encoding( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_encoding( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_method( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_method( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_elements( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_target( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onsubmit( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onsubmit( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreset( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreset( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE submit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_length( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT name, + VARIANT index, + IDispatch **pdisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE tags( + VARIANT tagName, + IDispatch **pdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLFormElement, 0x3050f1f7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLFormElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLFormElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLFormElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLFormElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLFormElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLFormElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLFormElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLFormElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFormElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_action)( + IHTMLFormElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_action)( + IHTMLFormElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_dir)( + IHTMLFormElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dir)( + IHTMLFormElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_encoding)( + IHTMLFormElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_encoding)( + IHTMLFormElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_method)( + IHTMLFormElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_method)( + IHTMLFormElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_elements)( + IHTMLFormElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_target)( + IHTMLFormElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_target)( + IHTMLFormElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLFormElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLFormElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onsubmit)( + IHTMLFormElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onsubmit)( + IHTMLFormElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onreset)( + IHTMLFormElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreset)( + IHTMLFormElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *submit)( + IHTMLFormElement *This); + + HRESULT (STDMETHODCALLTYPE *reset)( + IHTMLFormElement *This); + + HRESULT (STDMETHODCALLTYPE *put_length)( + IHTMLFormElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLFormElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLFormElement *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLFormElement *This, + VARIANT name, + VARIANT index, + IDispatch **pdisp); + + HRESULT (STDMETHODCALLTYPE *tags)( + IHTMLFormElement *This, + VARIANT tagName, + IDispatch **pdisp); + + END_INTERFACE +} IHTMLFormElementVtbl; + +interface IHTMLFormElement { + CONST_VTBL IHTMLFormElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLFormElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLFormElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLFormElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLFormElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLFormElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLFormElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLFormElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFormElement methods ***/ +#define IHTMLFormElement_put_action(This,v) (This)->lpVtbl->put_action(This,v) +#define IHTMLFormElement_get_action(This,p) (This)->lpVtbl->get_action(This,p) +#define IHTMLFormElement_put_dir(This,v) (This)->lpVtbl->put_dir(This,v) +#define IHTMLFormElement_get_dir(This,p) (This)->lpVtbl->get_dir(This,p) +#define IHTMLFormElement_put_encoding(This,v) (This)->lpVtbl->put_encoding(This,v) +#define IHTMLFormElement_get_encoding(This,p) (This)->lpVtbl->get_encoding(This,p) +#define IHTMLFormElement_put_method(This,v) (This)->lpVtbl->put_method(This,v) +#define IHTMLFormElement_get_method(This,p) (This)->lpVtbl->get_method(This,p) +#define IHTMLFormElement_get_elements(This,p) (This)->lpVtbl->get_elements(This,p) +#define IHTMLFormElement_put_target(This,v) (This)->lpVtbl->put_target(This,v) +#define IHTMLFormElement_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IHTMLFormElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLFormElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLFormElement_put_onsubmit(This,v) (This)->lpVtbl->put_onsubmit(This,v) +#define IHTMLFormElement_get_onsubmit(This,p) (This)->lpVtbl->get_onsubmit(This,p) +#define IHTMLFormElement_put_onreset(This,v) (This)->lpVtbl->put_onreset(This,v) +#define IHTMLFormElement_get_onreset(This,p) (This)->lpVtbl->get_onreset(This,p) +#define IHTMLFormElement_submit(This) (This)->lpVtbl->submit(This) +#define IHTMLFormElement_reset(This) (This)->lpVtbl->reset(This) +#define IHTMLFormElement_put_length(This,v) (This)->lpVtbl->put_length(This,v) +#define IHTMLFormElement_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLFormElement_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLFormElement_item(This,name,index,pdisp) (This)->lpVtbl->item(This,name,index,pdisp) +#define IHTMLFormElement_tags(This,tagName,pdisp) (This)->lpVtbl->tags(This,tagName,pdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLFormElement_QueryInterface(IHTMLFormElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLFormElement_AddRef(IHTMLFormElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLFormElement_Release(IHTMLFormElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLFormElement_GetTypeInfoCount(IHTMLFormElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLFormElement_GetTypeInfo(IHTMLFormElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLFormElement_GetIDsOfNames(IHTMLFormElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLFormElement_Invoke(IHTMLFormElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFormElement methods ***/ +static FORCEINLINE HRESULT IHTMLFormElement_put_action(IHTMLFormElement* This,BSTR v) { + return This->lpVtbl->put_action(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_action(IHTMLFormElement* This,BSTR *p) { + return This->lpVtbl->get_action(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_dir(IHTMLFormElement* This,BSTR v) { + return This->lpVtbl->put_dir(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_dir(IHTMLFormElement* This,BSTR *p) { + return This->lpVtbl->get_dir(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_encoding(IHTMLFormElement* This,BSTR v) { + return This->lpVtbl->put_encoding(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_encoding(IHTMLFormElement* This,BSTR *p) { + return This->lpVtbl->get_encoding(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_method(IHTMLFormElement* This,BSTR v) { + return This->lpVtbl->put_method(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_method(IHTMLFormElement* This,BSTR *p) { + return This->lpVtbl->get_method(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_elements(IHTMLFormElement* This,IDispatch **p) { + return This->lpVtbl->get_elements(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_target(IHTMLFormElement* This,BSTR v) { + return This->lpVtbl->put_target(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_target(IHTMLFormElement* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_name(IHTMLFormElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_name(IHTMLFormElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_onsubmit(IHTMLFormElement* This,VARIANT v) { + return This->lpVtbl->put_onsubmit(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_onsubmit(IHTMLFormElement* This,VARIANT *p) { + return This->lpVtbl->get_onsubmit(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_onreset(IHTMLFormElement* This,VARIANT v) { + return This->lpVtbl->put_onreset(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_onreset(IHTMLFormElement* This,VARIANT *p) { + return This->lpVtbl->get_onreset(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_submit(IHTMLFormElement* This) { + return This->lpVtbl->submit(This); +} +static FORCEINLINE HRESULT IHTMLFormElement_reset(IHTMLFormElement* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IHTMLFormElement_put_length(IHTMLFormElement* This,LONG v) { + return This->lpVtbl->put_length(This,v); +} +static FORCEINLINE HRESULT IHTMLFormElement_get_length(IHTMLFormElement* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_get__newEnum(IHTMLFormElement* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLFormElement_item(IHTMLFormElement* This,VARIANT name,VARIANT index,IDispatch **pdisp) { + return This->lpVtbl->item(This,name,index,pdisp); +} +static FORCEINLINE HRESULT IHTMLFormElement_tags(IHTMLFormElement* This,VARIANT tagName,IDispatch **pdisp) { + return This->lpVtbl->tags(This,tagName,pdisp); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLFormElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLFormElement dispinterface + */ +#ifndef __DispHTMLFormElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLFormElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLFormElement, 0x3050f510, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f510-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLFormElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLFormElement, 0x3050f510, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLFormElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLFormElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLFormElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLFormElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLFormElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLFormElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLFormElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLFormElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLFormElementVtbl; + +interface DispHTMLFormElement { + CONST_VTBL DispHTMLFormElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLFormElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLFormElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLFormElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLFormElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLFormElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLFormElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLFormElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLFormElement_QueryInterface(DispHTMLFormElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLFormElement_AddRef(DispHTMLFormElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLFormElement_Release(DispHTMLFormElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLFormElement_GetTypeInfoCount(DispHTMLFormElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLFormElement_GetTypeInfo(DispHTMLFormElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLFormElement_GetIDsOfNames(DispHTMLFormElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLFormElement_Invoke(DispHTMLFormElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLFormElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLFormElementEvents dispinterface + */ +#ifndef __HTMLFormElementEvents_DISPINTERFACE_DEFINED__ +#define __HTMLFormElementEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLFormElementEvents, 0x3050f364, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f364-98b5-11cf-bb82-00aa00bdce0b") +HTMLFormElementEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLFormElementEvents, 0x3050f364, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLFormElementEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLFormElementEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLFormElementEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLFormElementEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLFormElementEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLFormElementEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLFormElementEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLFormElementEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLFormElementEventsVtbl; + +interface HTMLFormElementEvents { + CONST_VTBL HTMLFormElementEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLFormElementEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLFormElementEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLFormElementEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLFormElementEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLFormElementEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLFormElementEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLFormElementEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLFormElementEvents_QueryInterface(HTMLFormElementEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLFormElementEvents_AddRef(HTMLFormElementEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLFormElementEvents_Release(HTMLFormElementEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLFormElementEvents_GetTypeInfoCount(HTMLFormElementEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLFormElementEvents_GetTypeInfo(HTMLFormElementEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLFormElementEvents_GetIDsOfNames(HTMLFormElementEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLFormElementEvents_Invoke(HTMLFormElementEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLFormElementEvents_DISPINTERFACE_DEFINED__ */ + +#ifndef __IHTMLEventObj_FWD_DEFINED__ +#define __IHTMLEventObj_FWD_DEFINED__ +typedef interface IHTMLEventObj IHTMLEventObj; +#ifdef __cplusplus +interface IHTMLEventObj; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * HTMLFormElementEvents2 dispinterface + */ +#ifndef __HTMLFormElementEvents2_DISPINTERFACE_DEFINED__ +#define __HTMLFormElementEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLFormElementEvents2, 0x3050f614, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f614-98b5-11cf-bb82-00aa00bdce0b") +HTMLFormElementEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLFormElementEvents2, 0x3050f614, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLFormElementEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLFormElementEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLFormElementEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLFormElementEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLFormElementEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLFormElementEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLFormElementEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLFormElementEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLFormElementEvents2Vtbl; + +interface HTMLFormElementEvents2 { + CONST_VTBL HTMLFormElementEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLFormElementEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLFormElementEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLFormElementEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLFormElementEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLFormElementEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLFormElementEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLFormElementEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLFormElementEvents2_QueryInterface(HTMLFormElementEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLFormElementEvents2_AddRef(HTMLFormElementEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLFormElementEvents2_Release(HTMLFormElementEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLFormElementEvents2_GetTypeInfoCount(HTMLFormElementEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLFormElementEvents2_GetTypeInfo(HTMLFormElementEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLFormElementEvents2_GetIDsOfNames(HTMLFormElementEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLFormElementEvents2_Invoke(HTMLFormElementEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLFormElementEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLFormElement coclass + */ + +DEFINE_GUID(CLSID_HTMLFormElement, 0x3050f251, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f251-98b5-11cf-bb82-00aa00bdce0b") HTMLFormElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLFormElement, 0x3050f251, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLTextContainer interface + */ +#ifndef __IHTMLTextContainer_INTERFACE_DEFINED__ +#define __IHTMLTextContainer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTextContainer, 0x3050f230, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f230-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTextContainer : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE createControlRange( + IDispatch **range) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollTop( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrollLeft( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrollLeft( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onscroll( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onscroll( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTextContainer, 0x3050f230, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTextContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTextContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTextContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTextContainer *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTextContainer *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTextContainer *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTextContainer *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTextContainer *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTextContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *createControlRange)( + IHTMLTextContainer *This, + IDispatch **range); + + HRESULT (STDMETHODCALLTYPE *get_scrollHeight)( + IHTMLTextContainer *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_scrollWidth)( + IHTMLTextContainer *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollTop)( + IHTMLTextContainer *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_scrollTop)( + IHTMLTextContainer *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_scrollLeft)( + IHTMLTextContainer *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_scrollLeft)( + IHTMLTextContainer *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_onscroll)( + IHTMLTextContainer *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onscroll)( + IHTMLTextContainer *This, + VARIANT *p); + + END_INTERFACE +} IHTMLTextContainerVtbl; + +interface IHTMLTextContainer { + CONST_VTBL IHTMLTextContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTextContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTextContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTextContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTextContainer_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTextContainer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTextContainer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTextContainer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTextContainer methods ***/ +#define IHTMLTextContainer_createControlRange(This,range) (This)->lpVtbl->createControlRange(This,range) +#define IHTMLTextContainer_get_scrollHeight(This,p) (This)->lpVtbl->get_scrollHeight(This,p) +#define IHTMLTextContainer_get_scrollWidth(This,p) (This)->lpVtbl->get_scrollWidth(This,p) +#define IHTMLTextContainer_put_scrollTop(This,v) (This)->lpVtbl->put_scrollTop(This,v) +#define IHTMLTextContainer_get_scrollTop(This,p) (This)->lpVtbl->get_scrollTop(This,p) +#define IHTMLTextContainer_put_scrollLeft(This,v) (This)->lpVtbl->put_scrollLeft(This,v) +#define IHTMLTextContainer_get_scrollLeft(This,p) (This)->lpVtbl->get_scrollLeft(This,p) +#define IHTMLTextContainer_put_onscroll(This,v) (This)->lpVtbl->put_onscroll(This,v) +#define IHTMLTextContainer_get_onscroll(This,p) (This)->lpVtbl->get_onscroll(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTextContainer_QueryInterface(IHTMLTextContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTextContainer_AddRef(IHTMLTextContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTextContainer_Release(IHTMLTextContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTextContainer_GetTypeInfoCount(IHTMLTextContainer* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTextContainer_GetTypeInfo(IHTMLTextContainer* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTextContainer_GetIDsOfNames(IHTMLTextContainer* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTextContainer_Invoke(IHTMLTextContainer* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTextContainer methods ***/ +static FORCEINLINE HRESULT IHTMLTextContainer_createControlRange(IHTMLTextContainer* This,IDispatch **range) { + return This->lpVtbl->createControlRange(This,range); +} +static FORCEINLINE HRESULT IHTMLTextContainer_get_scrollHeight(IHTMLTextContainer* This,LONG *p) { + return This->lpVtbl->get_scrollHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLTextContainer_get_scrollWidth(IHTMLTextContainer* This,LONG *p) { + return This->lpVtbl->get_scrollWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLTextContainer_put_scrollTop(IHTMLTextContainer* This,LONG v) { + return This->lpVtbl->put_scrollTop(This,v); +} +static FORCEINLINE HRESULT IHTMLTextContainer_get_scrollTop(IHTMLTextContainer* This,LONG *p) { + return This->lpVtbl->get_scrollTop(This,p); +} +static FORCEINLINE HRESULT IHTMLTextContainer_put_scrollLeft(IHTMLTextContainer* This,LONG v) { + return This->lpVtbl->put_scrollLeft(This,v); +} +static FORCEINLINE HRESULT IHTMLTextContainer_get_scrollLeft(IHTMLTextContainer* This,LONG *p) { + return This->lpVtbl->get_scrollLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLTextContainer_put_onscroll(IHTMLTextContainer* This,VARIANT v) { + return This->lpVtbl->put_onscroll(This,v); +} +static FORCEINLINE HRESULT IHTMLTextContainer_get_onscroll(IHTMLTextContainer* This,VARIANT *p) { + return This->lpVtbl->get_onscroll(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTextContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLImgElement interface + */ +#ifndef __IHTMLImgElement_INTERFACE_DEFINED__ +#define __IHTMLImgElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLImgElement, 0x3050f240, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f240-98b5-11cf-bb82-00aa00bdce0b") +IHTMLImgElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_isMap( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isMap( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_useMap( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_useMap( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mimeType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileSize( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileCreatedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileModifiedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileUpdatedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_protocol( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nameProp( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_border( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_border( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_alt( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_alt( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_lowsrc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lowsrc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vrml( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vrml( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dynsrc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dynsrc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_complete( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_loop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_loop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onabort( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onabort( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_start( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_start( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLImgElement, 0x3050f240, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLImgElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLImgElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLImgElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLImgElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLImgElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLImgElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLImgElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLImgElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLImgElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_isMap)( + IHTMLImgElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_isMap)( + IHTMLImgElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_useMap)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_useMap)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_mimeType)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileSize)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileCreatedDate)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileModifiedDate)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileUpdatedDate)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_protocol)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nameProp)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_border)( + IHTMLImgElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_border)( + IHTMLImgElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_vspace)( + IHTMLImgElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_vspace)( + IHTMLImgElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_hspace)( + IHTMLImgElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_hspace)( + IHTMLImgElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_alt)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_alt)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_lowsrc)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_lowsrc)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vrml)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_vrml)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_dynsrc)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dynsrc)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_complete)( + IHTMLImgElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_loop)( + IHTMLImgElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_loop)( + IHTMLImgElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLImgElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLImgElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLImgElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLImgElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onabort)( + IHTMLImgElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onabort)( + IHTMLImgElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLImgElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLImgElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLImgElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLImgElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLImgElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_start)( + IHTMLImgElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_start)( + IHTMLImgElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLImgElementVtbl; + +interface IHTMLImgElement { + CONST_VTBL IHTMLImgElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLImgElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLImgElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLImgElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLImgElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLImgElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLImgElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLImgElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLImgElement methods ***/ +#define IHTMLImgElement_put_isMap(This,v) (This)->lpVtbl->put_isMap(This,v) +#define IHTMLImgElement_get_isMap(This,p) (This)->lpVtbl->get_isMap(This,p) +#define IHTMLImgElement_put_useMap(This,v) (This)->lpVtbl->put_useMap(This,v) +#define IHTMLImgElement_get_useMap(This,p) (This)->lpVtbl->get_useMap(This,p) +#define IHTMLImgElement_get_mimeType(This,p) (This)->lpVtbl->get_mimeType(This,p) +#define IHTMLImgElement_get_fileSize(This,p) (This)->lpVtbl->get_fileSize(This,p) +#define IHTMLImgElement_get_fileCreatedDate(This,p) (This)->lpVtbl->get_fileCreatedDate(This,p) +#define IHTMLImgElement_get_fileModifiedDate(This,p) (This)->lpVtbl->get_fileModifiedDate(This,p) +#define IHTMLImgElement_get_fileUpdatedDate(This,p) (This)->lpVtbl->get_fileUpdatedDate(This,p) +#define IHTMLImgElement_get_protocol(This,p) (This)->lpVtbl->get_protocol(This,p) +#define IHTMLImgElement_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#define IHTMLImgElement_get_nameProp(This,p) (This)->lpVtbl->get_nameProp(This,p) +#define IHTMLImgElement_put_border(This,v) (This)->lpVtbl->put_border(This,v) +#define IHTMLImgElement_get_border(This,p) (This)->lpVtbl->get_border(This,p) +#define IHTMLImgElement_put_vspace(This,v) (This)->lpVtbl->put_vspace(This,v) +#define IHTMLImgElement_get_vspace(This,p) (This)->lpVtbl->get_vspace(This,p) +#define IHTMLImgElement_put_hspace(This,v) (This)->lpVtbl->put_hspace(This,v) +#define IHTMLImgElement_get_hspace(This,p) (This)->lpVtbl->get_hspace(This,p) +#define IHTMLImgElement_put_alt(This,v) (This)->lpVtbl->put_alt(This,v) +#define IHTMLImgElement_get_alt(This,p) (This)->lpVtbl->get_alt(This,p) +#define IHTMLImgElement_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLImgElement_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLImgElement_put_lowsrc(This,v) (This)->lpVtbl->put_lowsrc(This,v) +#define IHTMLImgElement_get_lowsrc(This,p) (This)->lpVtbl->get_lowsrc(This,p) +#define IHTMLImgElement_put_vrml(This,v) (This)->lpVtbl->put_vrml(This,v) +#define IHTMLImgElement_get_vrml(This,p) (This)->lpVtbl->get_vrml(This,p) +#define IHTMLImgElement_put_dynsrc(This,v) (This)->lpVtbl->put_dynsrc(This,v) +#define IHTMLImgElement_get_dynsrc(This,p) (This)->lpVtbl->get_dynsrc(This,p) +#define IHTMLImgElement_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLImgElement_get_complete(This,p) (This)->lpVtbl->get_complete(This,p) +#define IHTMLImgElement_put_loop(This,v) (This)->lpVtbl->put_loop(This,v) +#define IHTMLImgElement_get_loop(This,p) (This)->lpVtbl->get_loop(This,p) +#define IHTMLImgElement_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLImgElement_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLImgElement_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLImgElement_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLImgElement_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLImgElement_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLImgElement_put_onabort(This,v) (This)->lpVtbl->put_onabort(This,v) +#define IHTMLImgElement_get_onabort(This,p) (This)->lpVtbl->get_onabort(This,p) +#define IHTMLImgElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLImgElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLImgElement_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLImgElement_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLImgElement_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLImgElement_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLImgElement_put_start(This,v) (This)->lpVtbl->put_start(This,v) +#define IHTMLImgElement_get_start(This,p) (This)->lpVtbl->get_start(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLImgElement_QueryInterface(IHTMLImgElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLImgElement_AddRef(IHTMLImgElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLImgElement_Release(IHTMLImgElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLImgElement_GetTypeInfoCount(IHTMLImgElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLImgElement_GetTypeInfo(IHTMLImgElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLImgElement_GetIDsOfNames(IHTMLImgElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLImgElement_Invoke(IHTMLImgElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLImgElement methods ***/ +static FORCEINLINE HRESULT IHTMLImgElement_put_isMap(IHTMLImgElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_isMap(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_isMap(IHTMLImgElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isMap(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_useMap(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_useMap(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_useMap(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_useMap(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_mimeType(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_mimeType(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_fileSize(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_fileSize(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_fileCreatedDate(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_fileCreatedDate(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_fileModifiedDate(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_fileModifiedDate(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_fileUpdatedDate(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_fileUpdatedDate(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_protocol(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_protocol(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_href(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_nameProp(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_nameProp(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_border(IHTMLImgElement* This,VARIANT v) { + return This->lpVtbl->put_border(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_border(IHTMLImgElement* This,VARIANT *p) { + return This->lpVtbl->get_border(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_vspace(IHTMLImgElement* This,LONG v) { + return This->lpVtbl->put_vspace(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_vspace(IHTMLImgElement* This,LONG *p) { + return This->lpVtbl->get_vspace(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_hspace(IHTMLImgElement* This,LONG v) { + return This->lpVtbl->put_hspace(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_hspace(IHTMLImgElement* This,LONG *p) { + return This->lpVtbl->get_hspace(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_alt(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_alt(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_alt(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_alt(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_src(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_src(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_lowsrc(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_lowsrc(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_lowsrc(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_lowsrc(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_vrml(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_vrml(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_vrml(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_vrml(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_dynsrc(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_dynsrc(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_dynsrc(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_dynsrc(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_readyState(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_complete(IHTMLImgElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_complete(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_loop(IHTMLImgElement* This,VARIANT v) { + return This->lpVtbl->put_loop(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_loop(IHTMLImgElement* This,VARIANT *p) { + return This->lpVtbl->get_loop(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_align(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_align(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_onload(IHTMLImgElement* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_onload(IHTMLImgElement* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_onerror(IHTMLImgElement* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_onerror(IHTMLImgElement* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_onabort(IHTMLImgElement* This,VARIANT v) { + return This->lpVtbl->put_onabort(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_onabort(IHTMLImgElement* This,VARIANT *p) { + return This->lpVtbl->get_onabort(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_name(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_name(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_width(IHTMLImgElement* This,LONG v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_width(IHTMLImgElement* This,LONG *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_height(IHTMLImgElement* This,LONG v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_height(IHTMLImgElement* This,LONG *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLImgElement_put_start(IHTMLImgElement* This,BSTR v) { + return This->lpVtbl->put_start(This,v); +} +static FORCEINLINE HRESULT IHTMLImgElement_get_start(IHTMLImgElement* This,BSTR *p) { + return This->lpVtbl->get_start(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLImgElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLImageElementFactory interface + */ +#ifndef __IHTMLImageElementFactory_INTERFACE_DEFINED__ +#define __IHTMLImageElementFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLImageElementFactory, 0x3050f38e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f38e-98b5-11cf-bb82-00aa00bdce0b") +IHTMLImageElementFactory : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE create( + VARIANT width, + VARIANT height, + IHTMLImgElement **elem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLImageElementFactory, 0x3050f38e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLImageElementFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLImageElementFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLImageElementFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLImageElementFactory *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLImageElementFactory *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLImageElementFactory *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLImageElementFactory *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLImageElementFactory *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLImageElementFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *create)( + IHTMLImageElementFactory *This, + VARIANT width, + VARIANT height, + IHTMLImgElement **elem); + + END_INTERFACE +} IHTMLImageElementFactoryVtbl; + +interface IHTMLImageElementFactory { + CONST_VTBL IHTMLImageElementFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLImageElementFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLImageElementFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLImageElementFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLImageElementFactory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLImageElementFactory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLImageElementFactory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLImageElementFactory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLImageElementFactory methods ***/ +#define IHTMLImageElementFactory_create(This,width,height,elem) (This)->lpVtbl->create(This,width,height,elem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLImageElementFactory_QueryInterface(IHTMLImageElementFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLImageElementFactory_AddRef(IHTMLImageElementFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLImageElementFactory_Release(IHTMLImageElementFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLImageElementFactory_GetTypeInfoCount(IHTMLImageElementFactory* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLImageElementFactory_GetTypeInfo(IHTMLImageElementFactory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLImageElementFactory_GetIDsOfNames(IHTMLImageElementFactory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLImageElementFactory_Invoke(IHTMLImageElementFactory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLImageElementFactory methods ***/ +static FORCEINLINE HRESULT IHTMLImageElementFactory_create(IHTMLImageElementFactory* This,VARIANT width,VARIANT height,IHTMLImgElement **elem) { + return This->lpVtbl->create(This,width,height,elem); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLImageElementFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLImg dispinterface + */ +#ifndef __DispHTMLImg_DISPINTERFACE_DEFINED__ +#define __DispHTMLImg_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLImg, 0x3050f51c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f51c-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLImg : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLImg, 0x3050f51c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLImgVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLImg *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLImg *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLImg *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLImg *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLImg *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLImg *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLImg *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLImgVtbl; + +interface DispHTMLImg { + CONST_VTBL DispHTMLImgVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLImg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLImg_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLImg_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLImg_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLImg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLImg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLImg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLImg_QueryInterface(DispHTMLImg* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLImg_AddRef(DispHTMLImg* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLImg_Release(DispHTMLImg* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLImg_GetTypeInfoCount(DispHTMLImg* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLImg_GetTypeInfo(DispHTMLImg* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLImg_GetIDsOfNames(DispHTMLImg* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLImg_Invoke(DispHTMLImg* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLImg_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLImg coclass + */ + +DEFINE_GUID(CLSID_HTMLImg, 0x3050f241, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f241-98b5-11cf-bb82-00aa00bdce0b") HTMLImg; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLImg, 0x3050f241, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLXMLHttpRequest interface + */ +#ifndef __IHTMLXMLHttpRequest_INTERFACE_DEFINED__ +#define __IHTMLXMLHttpRequest_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLXMLHttpRequest, 0x3051040a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051040a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLXMLHttpRequest : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseBody( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseXML( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_statusText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE open( + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT varUser, + VARIANT varPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE send( + VARIANT varBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAllResponseHeaders( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getResponseHeader( + BSTR bstrHeader, + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setRequestHeader( + BSTR bstrHeader, + BSTR bstrValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLXMLHttpRequest, 0x3051040a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLXMLHttpRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLXMLHttpRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLXMLHttpRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLXMLHttpRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLXMLHttpRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLXMLHttpRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLXMLHttpRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLXMLHttpRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLXMLHttpRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLXMLHttpRequest *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IHTMLXMLHttpRequest *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IHTMLXMLHttpRequest *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IHTMLXMLHttpRequest *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IHTMLXMLHttpRequest *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IHTMLXMLHttpRequest *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLXMLHttpRequest *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLXMLHttpRequest *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *abort)( + IHTMLXMLHttpRequest *This); + + HRESULT (STDMETHODCALLTYPE *open)( + IHTMLXMLHttpRequest *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT varUser, + VARIANT varPassword); + + HRESULT (STDMETHODCALLTYPE *send)( + IHTMLXMLHttpRequest *This, + VARIANT varBody); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IHTMLXMLHttpRequest *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IHTMLXMLHttpRequest *This, + BSTR bstrHeader, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IHTMLXMLHttpRequest *This, + BSTR bstrHeader, + BSTR bstrValue); + + END_INTERFACE +} IHTMLXMLHttpRequestVtbl; + +interface IHTMLXMLHttpRequest { + CONST_VTBL IHTMLXMLHttpRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLXMLHttpRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLXMLHttpRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLXMLHttpRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLXMLHttpRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLXMLHttpRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLXMLHttpRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLXMLHttpRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLXMLHttpRequest methods ***/ +#define IHTMLXMLHttpRequest_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLXMLHttpRequest_get_responseBody(This,p) (This)->lpVtbl->get_responseBody(This,p) +#define IHTMLXMLHttpRequest_get_responseText(This,p) (This)->lpVtbl->get_responseText(This,p) +#define IHTMLXMLHttpRequest_get_responseXML(This,p) (This)->lpVtbl->get_responseXML(This,p) +#define IHTMLXMLHttpRequest_get_status(This,p) (This)->lpVtbl->get_status(This,p) +#define IHTMLXMLHttpRequest_get_statusText(This,p) (This)->lpVtbl->get_statusText(This,p) +#define IHTMLXMLHttpRequest_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLXMLHttpRequest_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLXMLHttpRequest_abort(This) (This)->lpVtbl->abort(This) +#define IHTMLXMLHttpRequest_open(This,bstrMethod,bstrUrl,varAsync,varUser,varPassword) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,varUser,varPassword) +#define IHTMLXMLHttpRequest_send(This,varBody) (This)->lpVtbl->send(This,varBody) +#define IHTMLXMLHttpRequest_getAllResponseHeaders(This,p) (This)->lpVtbl->getAllResponseHeaders(This,p) +#define IHTMLXMLHttpRequest_getResponseHeader(This,bstrHeader,p) (This)->lpVtbl->getResponseHeader(This,bstrHeader,p) +#define IHTMLXMLHttpRequest_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_QueryInterface(IHTMLXMLHttpRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLXMLHttpRequest_AddRef(IHTMLXMLHttpRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLXMLHttpRequest_Release(IHTMLXMLHttpRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_GetTypeInfoCount(IHTMLXMLHttpRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_GetTypeInfo(IHTMLXMLHttpRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_GetIDsOfNames(IHTMLXMLHttpRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_Invoke(IHTMLXMLHttpRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLXMLHttpRequest methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_readyState(IHTMLXMLHttpRequest* This,LONG *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_responseBody(IHTMLXMLHttpRequest* This,VARIANT *p) { + return This->lpVtbl->get_responseBody(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_responseText(IHTMLXMLHttpRequest* This,BSTR *p) { + return This->lpVtbl->get_responseText(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_responseXML(IHTMLXMLHttpRequest* This,IDispatch **p) { + return This->lpVtbl->get_responseXML(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_status(IHTMLXMLHttpRequest* This,LONG *p) { + return This->lpVtbl->get_status(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_statusText(IHTMLXMLHttpRequest* This,BSTR *p) { + return This->lpVtbl->get_statusText(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_put_onreadystatechange(IHTMLXMLHttpRequest* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_get_onreadystatechange(IHTMLXMLHttpRequest* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_abort(IHTMLXMLHttpRequest* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_open(IHTMLXMLHttpRequest* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT varUser,VARIANT varPassword) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,varUser,varPassword); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_send(IHTMLXMLHttpRequest* This,VARIANT varBody) { + return This->lpVtbl->send(This,varBody); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_getAllResponseHeaders(IHTMLXMLHttpRequest* This,BSTR *p) { + return This->lpVtbl->getAllResponseHeaders(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_getResponseHeader(IHTMLXMLHttpRequest* This,BSTR bstrHeader,BSTR *p) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest_setRequestHeader(IHTMLXMLHttpRequest* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLXMLHttpRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLXMLHttpRequest2 interface + */ +#ifndef __IHTMLXMLHttpRequest2_INTERFACE_DEFINED__ +#define __IHTMLXMLHttpRequest2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLXMLHttpRequest2, 0x30510482, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510482-98b5-11cf-bb82-00aa00bdce0b") +IHTMLXMLHttpRequest2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_timeout( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_timeout( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ontimeout( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ontimeout( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLXMLHttpRequest2, 0x30510482, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLXMLHttpRequest2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLXMLHttpRequest2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLXMLHttpRequest2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLXMLHttpRequest2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLXMLHttpRequest2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLXMLHttpRequest2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLXMLHttpRequest2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLXMLHttpRequest2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLXMLHttpRequest2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_timeout)( + IHTMLXMLHttpRequest2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_timeout)( + IHTMLXMLHttpRequest2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_ontimeout)( + IHTMLXMLHttpRequest2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ontimeout)( + IHTMLXMLHttpRequest2 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLXMLHttpRequest2Vtbl; + +interface IHTMLXMLHttpRequest2 { + CONST_VTBL IHTMLXMLHttpRequest2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLXMLHttpRequest2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLXMLHttpRequest2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLXMLHttpRequest2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLXMLHttpRequest2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLXMLHttpRequest2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLXMLHttpRequest2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLXMLHttpRequest2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLXMLHttpRequest2 methods ***/ +#define IHTMLXMLHttpRequest2_put_timeout(This,v) (This)->lpVtbl->put_timeout(This,v) +#define IHTMLXMLHttpRequest2_get_timeout(This,p) (This)->lpVtbl->get_timeout(This,p) +#define IHTMLXMLHttpRequest2_put_ontimeout(This,v) (This)->lpVtbl->put_ontimeout(This,v) +#define IHTMLXMLHttpRequest2_get_ontimeout(This,p) (This)->lpVtbl->get_ontimeout(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_QueryInterface(IHTMLXMLHttpRequest2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLXMLHttpRequest2_AddRef(IHTMLXMLHttpRequest2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLXMLHttpRequest2_Release(IHTMLXMLHttpRequest2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_GetTypeInfoCount(IHTMLXMLHttpRequest2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_GetTypeInfo(IHTMLXMLHttpRequest2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_GetIDsOfNames(IHTMLXMLHttpRequest2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_Invoke(IHTMLXMLHttpRequest2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLXMLHttpRequest2 methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_put_timeout(IHTMLXMLHttpRequest2* This,LONG v) { + return This->lpVtbl->put_timeout(This,v); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_get_timeout(IHTMLXMLHttpRequest2* This,LONG *p) { + return This->lpVtbl->get_timeout(This,p); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_put_ontimeout(IHTMLXMLHttpRequest2* This,VARIANT v) { + return This->lpVtbl->put_ontimeout(This,v); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequest2_get_ontimeout(IHTMLXMLHttpRequest2* This,VARIANT *p) { + return This->lpVtbl->get_ontimeout(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLXMLHttpRequest2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLXMLHttpRequestFactory interface + */ +#ifndef __IHTMLXMLHttpRequestFactory_INTERFACE_DEFINED__ +#define __IHTMLXMLHttpRequestFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLXMLHttpRequestFactory, 0x3051040c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051040c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLXMLHttpRequestFactory : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE create( + IHTMLXMLHttpRequest **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLXMLHttpRequestFactory, 0x3051040c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLXMLHttpRequestFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLXMLHttpRequestFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLXMLHttpRequestFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLXMLHttpRequestFactory *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLXMLHttpRequestFactory *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLXMLHttpRequestFactory *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLXMLHttpRequestFactory *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLXMLHttpRequestFactory *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLXMLHttpRequestFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *create)( + IHTMLXMLHttpRequestFactory *This, + IHTMLXMLHttpRequest **p); + + END_INTERFACE +} IHTMLXMLHttpRequestFactoryVtbl; + +interface IHTMLXMLHttpRequestFactory { + CONST_VTBL IHTMLXMLHttpRequestFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLXMLHttpRequestFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLXMLHttpRequestFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLXMLHttpRequestFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLXMLHttpRequestFactory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLXMLHttpRequestFactory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLXMLHttpRequestFactory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLXMLHttpRequestFactory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLXMLHttpRequestFactory methods ***/ +#define IHTMLXMLHttpRequestFactory_create(This,p) (This)->lpVtbl->create(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequestFactory_QueryInterface(IHTMLXMLHttpRequestFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLXMLHttpRequestFactory_AddRef(IHTMLXMLHttpRequestFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLXMLHttpRequestFactory_Release(IHTMLXMLHttpRequestFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequestFactory_GetTypeInfoCount(IHTMLXMLHttpRequestFactory* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequestFactory_GetTypeInfo(IHTMLXMLHttpRequestFactory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequestFactory_GetIDsOfNames(IHTMLXMLHttpRequestFactory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLXMLHttpRequestFactory_Invoke(IHTMLXMLHttpRequestFactory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLXMLHttpRequestFactory methods ***/ +static FORCEINLINE HRESULT IHTMLXMLHttpRequestFactory_create(IHTMLXMLHttpRequestFactory* This,IHTMLXMLHttpRequest **p) { + return This->lpVtbl->create(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLXMLHttpRequestFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLXMLHttpRequest dispinterface + */ +#ifndef __DispHTMLXMLHttpRequest_DISPINTERFACE_DEFINED__ +#define __DispHTMLXMLHttpRequest_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLXMLHttpRequest, 0x3050f596, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f596-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLXMLHttpRequest : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLXMLHttpRequest, 0x3050f596, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLXMLHttpRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLXMLHttpRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLXMLHttpRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLXMLHttpRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLXMLHttpRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLXMLHttpRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLXMLHttpRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLXMLHttpRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLXMLHttpRequestVtbl; + +interface DispHTMLXMLHttpRequest { + CONST_VTBL DispHTMLXMLHttpRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLXMLHttpRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLXMLHttpRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLXMLHttpRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLXMLHttpRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLXMLHttpRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLXMLHttpRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLXMLHttpRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLXMLHttpRequest_QueryInterface(DispHTMLXMLHttpRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLXMLHttpRequest_AddRef(DispHTMLXMLHttpRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLXMLHttpRequest_Release(DispHTMLXMLHttpRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLXMLHttpRequest_GetTypeInfoCount(DispHTMLXMLHttpRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLXMLHttpRequest_GetTypeInfo(DispHTMLXMLHttpRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLXMLHttpRequest_GetIDsOfNames(DispHTMLXMLHttpRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLXMLHttpRequest_Invoke(DispHTMLXMLHttpRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLXMLHttpRequest_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLXMLHttpRequest coclass + */ + +DEFINE_GUID(CLSID_HTMLXMLHttpRequest, 0x3051040b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3051040b-98b5-11cf-bb82-00aa00bdce0b") HTMLXMLHttpRequest; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLXMLHttpRequest, 0x3051040b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLControlElement interface + */ +#ifndef __IHTMLControlElement_INTERFACE_DEFINED__ +#define __IHTMLControlElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLControlElement, 0x3050f4e9, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4e9-98b5-11cf-bb82-00aa00bdce0b") +IHTMLControlElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_tabIndex( + short v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tabIndex( + short *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE focus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accessKey( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accessKey( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onblur( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onblur( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onresize( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onresize( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE blur( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE addFilter( + IUnknown *pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeFilter( + IUnknown *pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientLeft( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLControlElement, 0x3050f4e9, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLControlElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLControlElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLControlElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLControlElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLControlElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLControlElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLControlElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLControlElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLControlElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_tabIndex)( + IHTMLControlElement *This, + short v); + + HRESULT (STDMETHODCALLTYPE *get_tabIndex)( + IHTMLControlElement *This, + short *p); + + HRESULT (STDMETHODCALLTYPE *focus)( + IHTMLControlElement *This); + + HRESULT (STDMETHODCALLTYPE *put_accessKey)( + IHTMLControlElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_accessKey)( + IHTMLControlElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onblur)( + IHTMLControlElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onblur)( + IHTMLControlElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocus)( + IHTMLControlElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocus)( + IHTMLControlElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onresize)( + IHTMLControlElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onresize)( + IHTMLControlElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *blur)( + IHTMLControlElement *This); + + HRESULT (STDMETHODCALLTYPE *addFilter)( + IHTMLControlElement *This, + IUnknown *pUnk); + + HRESULT (STDMETHODCALLTYPE *removeFilter)( + IHTMLControlElement *This, + IUnknown *pUnk); + + HRESULT (STDMETHODCALLTYPE *get_clientHeight)( + IHTMLControlElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientWidth)( + IHTMLControlElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientTop)( + IHTMLControlElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientLeft)( + IHTMLControlElement *This, + LONG *p); + + END_INTERFACE +} IHTMLControlElementVtbl; + +interface IHTMLControlElement { + CONST_VTBL IHTMLControlElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLControlElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLControlElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLControlElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLControlElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLControlElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLControlElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLControlElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLControlElement methods ***/ +#define IHTMLControlElement_put_tabIndex(This,v) (This)->lpVtbl->put_tabIndex(This,v) +#define IHTMLControlElement_get_tabIndex(This,p) (This)->lpVtbl->get_tabIndex(This,p) +#define IHTMLControlElement_focus(This) (This)->lpVtbl->focus(This) +#define IHTMLControlElement_put_accessKey(This,v) (This)->lpVtbl->put_accessKey(This,v) +#define IHTMLControlElement_get_accessKey(This,p) (This)->lpVtbl->get_accessKey(This,p) +#define IHTMLControlElement_put_onblur(This,v) (This)->lpVtbl->put_onblur(This,v) +#define IHTMLControlElement_get_onblur(This,p) (This)->lpVtbl->get_onblur(This,p) +#define IHTMLControlElement_put_onfocus(This,v) (This)->lpVtbl->put_onfocus(This,v) +#define IHTMLControlElement_get_onfocus(This,p) (This)->lpVtbl->get_onfocus(This,p) +#define IHTMLControlElement_put_onresize(This,v) (This)->lpVtbl->put_onresize(This,v) +#define IHTMLControlElement_get_onresize(This,p) (This)->lpVtbl->get_onresize(This,p) +#define IHTMLControlElement_blur(This) (This)->lpVtbl->blur(This) +#define IHTMLControlElement_addFilter(This,pUnk) (This)->lpVtbl->addFilter(This,pUnk) +#define IHTMLControlElement_removeFilter(This,pUnk) (This)->lpVtbl->removeFilter(This,pUnk) +#define IHTMLControlElement_get_clientHeight(This,p) (This)->lpVtbl->get_clientHeight(This,p) +#define IHTMLControlElement_get_clientWidth(This,p) (This)->lpVtbl->get_clientWidth(This,p) +#define IHTMLControlElement_get_clientTop(This,p) (This)->lpVtbl->get_clientTop(This,p) +#define IHTMLControlElement_get_clientLeft(This,p) (This)->lpVtbl->get_clientLeft(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLControlElement_QueryInterface(IHTMLControlElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLControlElement_AddRef(IHTMLControlElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLControlElement_Release(IHTMLControlElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLControlElement_GetTypeInfoCount(IHTMLControlElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLControlElement_GetTypeInfo(IHTMLControlElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLControlElement_GetIDsOfNames(IHTMLControlElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLControlElement_Invoke(IHTMLControlElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLControlElement methods ***/ +static FORCEINLINE HRESULT IHTMLControlElement_put_tabIndex(IHTMLControlElement* This,short v) { + return This->lpVtbl->put_tabIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_tabIndex(IHTMLControlElement* This,short *p) { + return This->lpVtbl->get_tabIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_focus(IHTMLControlElement* This) { + return This->lpVtbl->focus(This); +} +static FORCEINLINE HRESULT IHTMLControlElement_put_accessKey(IHTMLControlElement* This,BSTR v) { + return This->lpVtbl->put_accessKey(This,v); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_accessKey(IHTMLControlElement* This,BSTR *p) { + return This->lpVtbl->get_accessKey(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_put_onblur(IHTMLControlElement* This,VARIANT v) { + return This->lpVtbl->put_onblur(This,v); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_onblur(IHTMLControlElement* This,VARIANT *p) { + return This->lpVtbl->get_onblur(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_put_onfocus(IHTMLControlElement* This,VARIANT v) { + return This->lpVtbl->put_onfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_onfocus(IHTMLControlElement* This,VARIANT *p) { + return This->lpVtbl->get_onfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_put_onresize(IHTMLControlElement* This,VARIANT v) { + return This->lpVtbl->put_onresize(This,v); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_onresize(IHTMLControlElement* This,VARIANT *p) { + return This->lpVtbl->get_onresize(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_blur(IHTMLControlElement* This) { + return This->lpVtbl->blur(This); +} +static FORCEINLINE HRESULT IHTMLControlElement_addFilter(IHTMLControlElement* This,IUnknown *pUnk) { + return This->lpVtbl->addFilter(This,pUnk); +} +static FORCEINLINE HRESULT IHTMLControlElement_removeFilter(IHTMLControlElement* This,IUnknown *pUnk) { + return This->lpVtbl->removeFilter(This,pUnk); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_clientHeight(IHTMLControlElement* This,LONG *p) { + return This->lpVtbl->get_clientHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_clientWidth(IHTMLControlElement* This,LONG *p) { + return This->lpVtbl->get_clientWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_clientTop(IHTMLControlElement* This,LONG *p) { + return This->lpVtbl->get_clientTop(This,p); +} +static FORCEINLINE HRESULT IHTMLControlElement_get_clientLeft(IHTMLControlElement* This,LONG *p) { + return This->lpVtbl->get_clientLeft(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLControlElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLBodyElement interface + */ +#ifndef __IHTMLBodyElement_INTERFACE_DEFINED__ +#define __IHTMLBodyElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLBodyElement, 0x3050f1d8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f1d8-98b5-11cf-bb82-00aa00bdce0b") +IHTMLBodyElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_background( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_background( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgProperties( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgProperties( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_leftMargin( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_leftMargin( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_topMargin( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_topMargin( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rightMargin( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rightMargin( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bottomMargin( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bottomMargin( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_noWrap( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_noWrap( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_link( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_link( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vLink( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vLink( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_aLink( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_aLink( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onunload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onunload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scroll( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scroll( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeunload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeunload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextRange( + IHTMLTxtRange **range) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLBodyElement, 0x3050f1d8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLBodyElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLBodyElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLBodyElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLBodyElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLBodyElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLBodyElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLBodyElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLBodyElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLBodyElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_background)( + IHTMLBodyElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_background)( + IHTMLBodyElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_bgProperties)( + IHTMLBodyElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_bgProperties)( + IHTMLBodyElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_leftMargin)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_leftMargin)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_topMargin)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_topMargin)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_rightMargin)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_rightMargin)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_bottomMargin)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bottomMargin)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_noWrap)( + IHTMLBodyElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_noWrap)( + IHTMLBodyElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_bgColor)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bgColor)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_link)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_link)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_vLink)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_vLink)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_aLink)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_aLink)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onunload)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onunload)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_scroll)( + IHTMLBodyElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_scroll)( + IHTMLBodyElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onselect)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselect)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeunload)( + IHTMLBodyElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeunload)( + IHTMLBodyElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *createTextRange)( + IHTMLBodyElement *This, + IHTMLTxtRange **range); + + END_INTERFACE +} IHTMLBodyElementVtbl; + +interface IHTMLBodyElement { + CONST_VTBL IHTMLBodyElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLBodyElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLBodyElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLBodyElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLBodyElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLBodyElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLBodyElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLBodyElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLBodyElement methods ***/ +#define IHTMLBodyElement_put_background(This,v) (This)->lpVtbl->put_background(This,v) +#define IHTMLBodyElement_get_background(This,p) (This)->lpVtbl->get_background(This,p) +#define IHTMLBodyElement_put_bgProperties(This,v) (This)->lpVtbl->put_bgProperties(This,v) +#define IHTMLBodyElement_get_bgProperties(This,p) (This)->lpVtbl->get_bgProperties(This,p) +#define IHTMLBodyElement_put_leftMargin(This,v) (This)->lpVtbl->put_leftMargin(This,v) +#define IHTMLBodyElement_get_leftMargin(This,p) (This)->lpVtbl->get_leftMargin(This,p) +#define IHTMLBodyElement_put_topMargin(This,v) (This)->lpVtbl->put_topMargin(This,v) +#define IHTMLBodyElement_get_topMargin(This,p) (This)->lpVtbl->get_topMargin(This,p) +#define IHTMLBodyElement_put_rightMargin(This,v) (This)->lpVtbl->put_rightMargin(This,v) +#define IHTMLBodyElement_get_rightMargin(This,p) (This)->lpVtbl->get_rightMargin(This,p) +#define IHTMLBodyElement_put_bottomMargin(This,v) (This)->lpVtbl->put_bottomMargin(This,v) +#define IHTMLBodyElement_get_bottomMargin(This,p) (This)->lpVtbl->get_bottomMargin(This,p) +#define IHTMLBodyElement_put_noWrap(This,v) (This)->lpVtbl->put_noWrap(This,v) +#define IHTMLBodyElement_get_noWrap(This,p) (This)->lpVtbl->get_noWrap(This,p) +#define IHTMLBodyElement_put_bgColor(This,v) (This)->lpVtbl->put_bgColor(This,v) +#define IHTMLBodyElement_get_bgColor(This,p) (This)->lpVtbl->get_bgColor(This,p) +#define IHTMLBodyElement_put_text(This,v) (This)->lpVtbl->put_text(This,v) +#define IHTMLBodyElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IHTMLBodyElement_put_link(This,v) (This)->lpVtbl->put_link(This,v) +#define IHTMLBodyElement_get_link(This,p) (This)->lpVtbl->get_link(This,p) +#define IHTMLBodyElement_put_vLink(This,v) (This)->lpVtbl->put_vLink(This,v) +#define IHTMLBodyElement_get_vLink(This,p) (This)->lpVtbl->get_vLink(This,p) +#define IHTMLBodyElement_put_aLink(This,v) (This)->lpVtbl->put_aLink(This,v) +#define IHTMLBodyElement_get_aLink(This,p) (This)->lpVtbl->get_aLink(This,p) +#define IHTMLBodyElement_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLBodyElement_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLBodyElement_put_onunload(This,v) (This)->lpVtbl->put_onunload(This,v) +#define IHTMLBodyElement_get_onunload(This,p) (This)->lpVtbl->get_onunload(This,p) +#define IHTMLBodyElement_put_scroll(This,v) (This)->lpVtbl->put_scroll(This,v) +#define IHTMLBodyElement_get_scroll(This,p) (This)->lpVtbl->get_scroll(This,p) +#define IHTMLBodyElement_put_onselect(This,v) (This)->lpVtbl->put_onselect(This,v) +#define IHTMLBodyElement_get_onselect(This,p) (This)->lpVtbl->get_onselect(This,p) +#define IHTMLBodyElement_put_onbeforeunload(This,v) (This)->lpVtbl->put_onbeforeunload(This,v) +#define IHTMLBodyElement_get_onbeforeunload(This,p) (This)->lpVtbl->get_onbeforeunload(This,p) +#define IHTMLBodyElement_createTextRange(This,range) (This)->lpVtbl->createTextRange(This,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLBodyElement_QueryInterface(IHTMLBodyElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLBodyElement_AddRef(IHTMLBodyElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLBodyElement_Release(IHTMLBodyElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLBodyElement_GetTypeInfoCount(IHTMLBodyElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLBodyElement_GetTypeInfo(IHTMLBodyElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLBodyElement_GetIDsOfNames(IHTMLBodyElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLBodyElement_Invoke(IHTMLBodyElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLBodyElement methods ***/ +static FORCEINLINE HRESULT IHTMLBodyElement_put_background(IHTMLBodyElement* This,BSTR v) { + return This->lpVtbl->put_background(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_background(IHTMLBodyElement* This,BSTR *p) { + return This->lpVtbl->get_background(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_bgProperties(IHTMLBodyElement* This,BSTR v) { + return This->lpVtbl->put_bgProperties(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_bgProperties(IHTMLBodyElement* This,BSTR *p) { + return This->lpVtbl->get_bgProperties(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_leftMargin(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_leftMargin(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_leftMargin(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_leftMargin(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_topMargin(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_topMargin(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_topMargin(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_topMargin(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_rightMargin(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_rightMargin(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_rightMargin(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_rightMargin(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_bottomMargin(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_bottomMargin(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_bottomMargin(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_bottomMargin(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_noWrap(IHTMLBodyElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_noWrap(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_noWrap(IHTMLBodyElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_noWrap(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_bgColor(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_bgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_bgColor(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_bgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_text(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_text(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_text(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_link(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_link(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_link(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_link(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_vLink(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_vLink(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_vLink(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_vLink(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_aLink(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_aLink(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_aLink(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_aLink(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_onload(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_onload(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_onunload(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_onunload(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_onunload(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_onunload(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_scroll(IHTMLBodyElement* This,BSTR v) { + return This->lpVtbl->put_scroll(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_scroll(IHTMLBodyElement* This,BSTR *p) { + return This->lpVtbl->get_scroll(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_onselect(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_onselect(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_onselect(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_onselect(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_put_onbeforeunload(IHTMLBodyElement* This,VARIANT v) { + return This->lpVtbl->put_onbeforeunload(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement_get_onbeforeunload(IHTMLBodyElement* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeunload(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement_createTextRange(IHTMLBodyElement* This,IHTMLTxtRange **range) { + return This->lpVtbl->createTextRange(This,range); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLBodyElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLBodyElement2 interface + */ +#ifndef __IHTMLBodyElement2_INTERFACE_DEFINED__ +#define __IHTMLBodyElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLBodyElement2, 0x3050f5c5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f5c5-98b5-11cf-bb82-00aa00bdce0b") +IHTMLBodyElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_onbeforeprint( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeprint( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onafterprint( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onafterprint( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLBodyElement2, 0x3050f5c5, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLBodyElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLBodyElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLBodyElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLBodyElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLBodyElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLBodyElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLBodyElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLBodyElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLBodyElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_onbeforeprint)( + IHTMLBodyElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeprint)( + IHTMLBodyElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onafterprint)( + IHTMLBodyElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onafterprint)( + IHTMLBodyElement2 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLBodyElement2Vtbl; + +interface IHTMLBodyElement2 { + CONST_VTBL IHTMLBodyElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLBodyElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLBodyElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLBodyElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLBodyElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLBodyElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLBodyElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLBodyElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLBodyElement2 methods ***/ +#define IHTMLBodyElement2_put_onbeforeprint(This,v) (This)->lpVtbl->put_onbeforeprint(This,v) +#define IHTMLBodyElement2_get_onbeforeprint(This,p) (This)->lpVtbl->get_onbeforeprint(This,p) +#define IHTMLBodyElement2_put_onafterprint(This,v) (This)->lpVtbl->put_onafterprint(This,v) +#define IHTMLBodyElement2_get_onafterprint(This,p) (This)->lpVtbl->get_onafterprint(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLBodyElement2_QueryInterface(IHTMLBodyElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLBodyElement2_AddRef(IHTMLBodyElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLBodyElement2_Release(IHTMLBodyElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLBodyElement2_GetTypeInfoCount(IHTMLBodyElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLBodyElement2_GetTypeInfo(IHTMLBodyElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLBodyElement2_GetIDsOfNames(IHTMLBodyElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLBodyElement2_Invoke(IHTMLBodyElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLBodyElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLBodyElement2_put_onbeforeprint(IHTMLBodyElement2* This,VARIANT v) { + return This->lpVtbl->put_onbeforeprint(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement2_get_onbeforeprint(IHTMLBodyElement2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeprint(This,p); +} +static FORCEINLINE HRESULT IHTMLBodyElement2_put_onafterprint(IHTMLBodyElement2* This,VARIANT v) { + return This->lpVtbl->put_onafterprint(This,v); +} +static FORCEINLINE HRESULT IHTMLBodyElement2_get_onafterprint(IHTMLBodyElement2* This,VARIANT *p) { + return This->lpVtbl->get_onafterprint(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLBodyElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLBody dispinterface + */ +#ifndef __DispHTMLBody_DISPINTERFACE_DEFINED__ +#define __DispHTMLBody_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLBody, 0x3050f507, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f507-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLBody : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLBody, 0x3050f507, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLBodyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLBody *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLBody *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLBody *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLBody *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLBody *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLBody *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLBody *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLBodyVtbl; + +interface DispHTMLBody { + CONST_VTBL DispHTMLBodyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLBody_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLBody_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLBody_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLBody_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLBody_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLBody_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLBody_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLBody_QueryInterface(DispHTMLBody* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLBody_AddRef(DispHTMLBody* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLBody_Release(DispHTMLBody* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLBody_GetTypeInfoCount(DispHTMLBody* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLBody_GetTypeInfo(DispHTMLBody* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLBody_GetIDsOfNames(DispHTMLBody* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLBody_Invoke(DispHTMLBody* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLBody_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLBody coclass + */ + +DEFINE_GUID(CLSID_HTMLBody, 0x3050f24a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f24a-98b5-11cf-bb82-00aa00bdce0b") HTMLBody; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLBody, 0x3050f24a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLAnchorElement interface + */ +#ifndef __IHTMLAnchorElement_INTERFACE_DEFINED__ +#define __IHTMLAnchorElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLAnchorElement, 0x3050f1da, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f1da-98b5-11cf-bb82-00aa00bdce0b") +IHTMLAnchorElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_href( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_target( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rel( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rel( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rev( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rev( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_urn( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_urn( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Methods( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Methods( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_host( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_host( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hostname( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hostname( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pathname( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pathname( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_port( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_port( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_protocol( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_protocol( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_search( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_search( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hash( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hash( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onblur( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onblur( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accessKey( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accessKey( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_protocolLong( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mimeType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nameProp( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tabIndex( + short v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tabIndex( + short *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE focus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE blur( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLAnchorElement, 0x3050f1da, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLAnchorElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLAnchorElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLAnchorElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLAnchorElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLAnchorElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLAnchorElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLAnchorElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLAnchorElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLAnchorElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_href)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_target)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_target)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rel)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rel)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rev)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rev)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_urn)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_urn)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_Methods)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_Methods)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_host)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_host)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hostname)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hostname)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pathname)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pathname)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_port)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_port)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_protocol)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_protocol)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_search)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_search)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hash)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hash)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onblur)( + IHTMLAnchorElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onblur)( + IHTMLAnchorElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocus)( + IHTMLAnchorElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocus)( + IHTMLAnchorElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_accessKey)( + IHTMLAnchorElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_accessKey)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_protocolLong)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_mimeType)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nameProp)( + IHTMLAnchorElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_tabIndex)( + IHTMLAnchorElement *This, + short v); + + HRESULT (STDMETHODCALLTYPE *get_tabIndex)( + IHTMLAnchorElement *This, + short *p); + + HRESULT (STDMETHODCALLTYPE *focus)( + IHTMLAnchorElement *This); + + HRESULT (STDMETHODCALLTYPE *blur)( + IHTMLAnchorElement *This); + + END_INTERFACE +} IHTMLAnchorElementVtbl; + +interface IHTMLAnchorElement { + CONST_VTBL IHTMLAnchorElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLAnchorElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLAnchorElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLAnchorElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLAnchorElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLAnchorElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLAnchorElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLAnchorElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLAnchorElement methods ***/ +#define IHTMLAnchorElement_put_href(This,v) (This)->lpVtbl->put_href(This,v) +#define IHTMLAnchorElement_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#define IHTMLAnchorElement_put_target(This,v) (This)->lpVtbl->put_target(This,v) +#define IHTMLAnchorElement_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IHTMLAnchorElement_put_rel(This,v) (This)->lpVtbl->put_rel(This,v) +#define IHTMLAnchorElement_get_rel(This,p) (This)->lpVtbl->get_rel(This,p) +#define IHTMLAnchorElement_put_rev(This,v) (This)->lpVtbl->put_rev(This,v) +#define IHTMLAnchorElement_get_rev(This,p) (This)->lpVtbl->get_rev(This,p) +#define IHTMLAnchorElement_put_urn(This,v) (This)->lpVtbl->put_urn(This,v) +#define IHTMLAnchorElement_get_urn(This,p) (This)->lpVtbl->get_urn(This,p) +#define IHTMLAnchorElement_put_Methods(This,v) (This)->lpVtbl->put_Methods(This,v) +#define IHTMLAnchorElement_get_Methods(This,p) (This)->lpVtbl->get_Methods(This,p) +#define IHTMLAnchorElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLAnchorElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLAnchorElement_put_host(This,v) (This)->lpVtbl->put_host(This,v) +#define IHTMLAnchorElement_get_host(This,p) (This)->lpVtbl->get_host(This,p) +#define IHTMLAnchorElement_put_hostname(This,v) (This)->lpVtbl->put_hostname(This,v) +#define IHTMLAnchorElement_get_hostname(This,p) (This)->lpVtbl->get_hostname(This,p) +#define IHTMLAnchorElement_put_pathname(This,v) (This)->lpVtbl->put_pathname(This,v) +#define IHTMLAnchorElement_get_pathname(This,p) (This)->lpVtbl->get_pathname(This,p) +#define IHTMLAnchorElement_put_port(This,v) (This)->lpVtbl->put_port(This,v) +#define IHTMLAnchorElement_get_port(This,p) (This)->lpVtbl->get_port(This,p) +#define IHTMLAnchorElement_put_protocol(This,v) (This)->lpVtbl->put_protocol(This,v) +#define IHTMLAnchorElement_get_protocol(This,p) (This)->lpVtbl->get_protocol(This,p) +#define IHTMLAnchorElement_put_search(This,v) (This)->lpVtbl->put_search(This,v) +#define IHTMLAnchorElement_get_search(This,p) (This)->lpVtbl->get_search(This,p) +#define IHTMLAnchorElement_put_hash(This,v) (This)->lpVtbl->put_hash(This,v) +#define IHTMLAnchorElement_get_hash(This,p) (This)->lpVtbl->get_hash(This,p) +#define IHTMLAnchorElement_put_onblur(This,v) (This)->lpVtbl->put_onblur(This,v) +#define IHTMLAnchorElement_get_onblur(This,p) (This)->lpVtbl->get_onblur(This,p) +#define IHTMLAnchorElement_put_onfocus(This,v) (This)->lpVtbl->put_onfocus(This,v) +#define IHTMLAnchorElement_get_onfocus(This,p) (This)->lpVtbl->get_onfocus(This,p) +#define IHTMLAnchorElement_put_accessKey(This,v) (This)->lpVtbl->put_accessKey(This,v) +#define IHTMLAnchorElement_get_accessKey(This,p) (This)->lpVtbl->get_accessKey(This,p) +#define IHTMLAnchorElement_get_protocolLong(This,p) (This)->lpVtbl->get_protocolLong(This,p) +#define IHTMLAnchorElement_get_mimeType(This,p) (This)->lpVtbl->get_mimeType(This,p) +#define IHTMLAnchorElement_get_nameProp(This,p) (This)->lpVtbl->get_nameProp(This,p) +#define IHTMLAnchorElement_put_tabIndex(This,v) (This)->lpVtbl->put_tabIndex(This,v) +#define IHTMLAnchorElement_get_tabIndex(This,p) (This)->lpVtbl->get_tabIndex(This,p) +#define IHTMLAnchorElement_focus(This) (This)->lpVtbl->focus(This) +#define IHTMLAnchorElement_blur(This) (This)->lpVtbl->blur(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLAnchorElement_QueryInterface(IHTMLAnchorElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLAnchorElement_AddRef(IHTMLAnchorElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLAnchorElement_Release(IHTMLAnchorElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLAnchorElement_GetTypeInfoCount(IHTMLAnchorElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_GetTypeInfo(IHTMLAnchorElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_GetIDsOfNames(IHTMLAnchorElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_Invoke(IHTMLAnchorElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLAnchorElement methods ***/ +static FORCEINLINE HRESULT IHTMLAnchorElement_put_href(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_href(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_href(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_target(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_target(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_target(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_rel(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_rel(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_rel(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_rel(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_rev(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_rev(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_rev(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_rev(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_urn(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_urn(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_urn(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_urn(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_Methods(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_Methods(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_Methods(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_Methods(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_name(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_name(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_host(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_host(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_host(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_host(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_hostname(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_hostname(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_hostname(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_hostname(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_pathname(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_pathname(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_pathname(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_pathname(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_port(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_port(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_port(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_port(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_protocol(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_protocol(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_protocol(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_protocol(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_search(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_search(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_search(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_search(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_hash(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_hash(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_hash(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_hash(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_onblur(IHTMLAnchorElement* This,VARIANT v) { + return This->lpVtbl->put_onblur(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_onblur(IHTMLAnchorElement* This,VARIANT *p) { + return This->lpVtbl->get_onblur(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_onfocus(IHTMLAnchorElement* This,VARIANT v) { + return This->lpVtbl->put_onfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_onfocus(IHTMLAnchorElement* This,VARIANT *p) { + return This->lpVtbl->get_onfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_accessKey(IHTMLAnchorElement* This,BSTR v) { + return This->lpVtbl->put_accessKey(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_accessKey(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_accessKey(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_protocolLong(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_protocolLong(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_mimeType(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_mimeType(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_nameProp(IHTMLAnchorElement* This,BSTR *p) { + return This->lpVtbl->get_nameProp(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_put_tabIndex(IHTMLAnchorElement* This,short v) { + return This->lpVtbl->put_tabIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_get_tabIndex(IHTMLAnchorElement* This,short *p) { + return This->lpVtbl->get_tabIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_focus(IHTMLAnchorElement* This) { + return This->lpVtbl->focus(This); +} +static FORCEINLINE HRESULT IHTMLAnchorElement_blur(IHTMLAnchorElement* This) { + return This->lpVtbl->blur(This); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLAnchorElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLAnchorElement dispinterface + */ +#ifndef __DispHTMLAnchorElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLAnchorElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLAnchorElement, 0x3050f502, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f502-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLAnchorElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLAnchorElement, 0x3050f502, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLAnchorElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLAnchorElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLAnchorElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLAnchorElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLAnchorElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLAnchorElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLAnchorElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLAnchorElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLAnchorElementVtbl; + +interface DispHTMLAnchorElement { + CONST_VTBL DispHTMLAnchorElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLAnchorElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLAnchorElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLAnchorElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLAnchorElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLAnchorElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLAnchorElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLAnchorElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLAnchorElement_QueryInterface(DispHTMLAnchorElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLAnchorElement_AddRef(DispHTMLAnchorElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLAnchorElement_Release(DispHTMLAnchorElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLAnchorElement_GetTypeInfoCount(DispHTMLAnchorElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLAnchorElement_GetTypeInfo(DispHTMLAnchorElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLAnchorElement_GetIDsOfNames(DispHTMLAnchorElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLAnchorElement_Invoke(DispHTMLAnchorElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLAnchorElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLAnchorElement coclass + */ + +DEFINE_GUID(CLSID_HTMLAnchorElement, 0x3050f248, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f248-98b5-11cf-bb82-00aa00bdce0b") HTMLAnchorElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLAnchorElement, 0x3050f248, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLAreaElement interface + */ +#ifndef __IHTMLAreaElement_INTERFACE_DEFINED__ +#define __IHTMLAreaElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLAreaElement, 0x3050f265, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f265-98b5-11cf-bb82-00aa00bdce0b") +IHTMLAreaElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_shape( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_shape( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_coords( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_coords( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_href( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_target( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_alt( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_alt( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_noHref( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_noHref( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_host( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_host( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hostname( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hostname( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pathname( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pathname( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_port( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_port( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_protocol( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_protocol( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_search( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_search( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hash( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hash( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onblur( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onblur( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tabIndex( + short v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tabIndex( + short *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE focus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE blur( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLAreaElement, 0x3050f265, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLAreaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLAreaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLAreaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLAreaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLAreaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLAreaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLAreaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLAreaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLAreaElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_shape)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_shape)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_coords)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_coords)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_href)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_target)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_target)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_alt)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_alt)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_noHref)( + IHTMLAreaElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_noHref)( + IHTMLAreaElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_host)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_host)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hostname)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hostname)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pathname)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pathname)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_port)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_port)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_protocol)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_protocol)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_search)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_search)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hash)( + IHTMLAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hash)( + IHTMLAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onblur)( + IHTMLAreaElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onblur)( + IHTMLAreaElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocus)( + IHTMLAreaElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocus)( + IHTMLAreaElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_tabIndex)( + IHTMLAreaElement *This, + short v); + + HRESULT (STDMETHODCALLTYPE *get_tabIndex)( + IHTMLAreaElement *This, + short *p); + + HRESULT (STDMETHODCALLTYPE *focus)( + IHTMLAreaElement *This); + + HRESULT (STDMETHODCALLTYPE *blur)( + IHTMLAreaElement *This); + + END_INTERFACE +} IHTMLAreaElementVtbl; + +interface IHTMLAreaElement { + CONST_VTBL IHTMLAreaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLAreaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLAreaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLAreaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLAreaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLAreaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLAreaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLAreaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLAreaElement methods ***/ +#define IHTMLAreaElement_put_shape(This,v) (This)->lpVtbl->put_shape(This,v) +#define IHTMLAreaElement_get_shape(This,p) (This)->lpVtbl->get_shape(This,p) +#define IHTMLAreaElement_put_coords(This,v) (This)->lpVtbl->put_coords(This,v) +#define IHTMLAreaElement_get_coords(This,p) (This)->lpVtbl->get_coords(This,p) +#define IHTMLAreaElement_put_href(This,v) (This)->lpVtbl->put_href(This,v) +#define IHTMLAreaElement_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#define IHTMLAreaElement_put_target(This,v) (This)->lpVtbl->put_target(This,v) +#define IHTMLAreaElement_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IHTMLAreaElement_put_alt(This,v) (This)->lpVtbl->put_alt(This,v) +#define IHTMLAreaElement_get_alt(This,p) (This)->lpVtbl->get_alt(This,p) +#define IHTMLAreaElement_put_noHref(This,v) (This)->lpVtbl->put_noHref(This,v) +#define IHTMLAreaElement_get_noHref(This,p) (This)->lpVtbl->get_noHref(This,p) +#define IHTMLAreaElement_put_host(This,v) (This)->lpVtbl->put_host(This,v) +#define IHTMLAreaElement_get_host(This,p) (This)->lpVtbl->get_host(This,p) +#define IHTMLAreaElement_put_hostname(This,v) (This)->lpVtbl->put_hostname(This,v) +#define IHTMLAreaElement_get_hostname(This,p) (This)->lpVtbl->get_hostname(This,p) +#define IHTMLAreaElement_put_pathname(This,v) (This)->lpVtbl->put_pathname(This,v) +#define IHTMLAreaElement_get_pathname(This,p) (This)->lpVtbl->get_pathname(This,p) +#define IHTMLAreaElement_put_port(This,v) (This)->lpVtbl->put_port(This,v) +#define IHTMLAreaElement_get_port(This,p) (This)->lpVtbl->get_port(This,p) +#define IHTMLAreaElement_put_protocol(This,v) (This)->lpVtbl->put_protocol(This,v) +#define IHTMLAreaElement_get_protocol(This,p) (This)->lpVtbl->get_protocol(This,p) +#define IHTMLAreaElement_put_search(This,v) (This)->lpVtbl->put_search(This,v) +#define IHTMLAreaElement_get_search(This,p) (This)->lpVtbl->get_search(This,p) +#define IHTMLAreaElement_put_hash(This,v) (This)->lpVtbl->put_hash(This,v) +#define IHTMLAreaElement_get_hash(This,p) (This)->lpVtbl->get_hash(This,p) +#define IHTMLAreaElement_put_onblur(This,v) (This)->lpVtbl->put_onblur(This,v) +#define IHTMLAreaElement_get_onblur(This,p) (This)->lpVtbl->get_onblur(This,p) +#define IHTMLAreaElement_put_onfocus(This,v) (This)->lpVtbl->put_onfocus(This,v) +#define IHTMLAreaElement_get_onfocus(This,p) (This)->lpVtbl->get_onfocus(This,p) +#define IHTMLAreaElement_put_tabIndex(This,v) (This)->lpVtbl->put_tabIndex(This,v) +#define IHTMLAreaElement_get_tabIndex(This,p) (This)->lpVtbl->get_tabIndex(This,p) +#define IHTMLAreaElement_focus(This) (This)->lpVtbl->focus(This) +#define IHTMLAreaElement_blur(This) (This)->lpVtbl->blur(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLAreaElement_QueryInterface(IHTMLAreaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLAreaElement_AddRef(IHTMLAreaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLAreaElement_Release(IHTMLAreaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLAreaElement_GetTypeInfoCount(IHTMLAreaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLAreaElement_GetTypeInfo(IHTMLAreaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLAreaElement_GetIDsOfNames(IHTMLAreaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLAreaElement_Invoke(IHTMLAreaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLAreaElement methods ***/ +static FORCEINLINE HRESULT IHTMLAreaElement_put_shape(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_shape(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_shape(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_shape(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_coords(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_coords(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_coords(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_coords(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_href(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_href(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_href(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_target(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_target(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_target(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_alt(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_alt(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_alt(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_alt(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_noHref(IHTMLAreaElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_noHref(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_noHref(IHTMLAreaElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_noHref(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_host(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_host(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_host(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_host(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_hostname(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_hostname(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_hostname(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_hostname(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_pathname(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_pathname(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_pathname(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_pathname(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_port(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_port(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_port(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_port(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_protocol(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_protocol(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_protocol(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_protocol(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_search(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_search(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_search(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_search(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_hash(IHTMLAreaElement* This,BSTR v) { + return This->lpVtbl->put_hash(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_hash(IHTMLAreaElement* This,BSTR *p) { + return This->lpVtbl->get_hash(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_onblur(IHTMLAreaElement* This,VARIANT v) { + return This->lpVtbl->put_onblur(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_onblur(IHTMLAreaElement* This,VARIANT *p) { + return This->lpVtbl->get_onblur(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_onfocus(IHTMLAreaElement* This,VARIANT v) { + return This->lpVtbl->put_onfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_onfocus(IHTMLAreaElement* This,VARIANT *p) { + return This->lpVtbl->get_onfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_put_tabIndex(IHTMLAreaElement* This,short v) { + return This->lpVtbl->put_tabIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLAreaElement_get_tabIndex(IHTMLAreaElement* This,short *p) { + return This->lpVtbl->get_tabIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLAreaElement_focus(IHTMLAreaElement* This) { + return This->lpVtbl->focus(This); +} +static FORCEINLINE HRESULT IHTMLAreaElement_blur(IHTMLAreaElement* This) { + return This->lpVtbl->blur(This); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLAreaElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLAreaElement dispinterface + */ +#ifndef __DispHTMLAreaElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLAreaElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLAreaElement, 0x3050f503, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f503-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLAreaElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLAreaElement, 0x3050f503, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLAreaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLAreaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLAreaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLAreaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLAreaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLAreaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLAreaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLAreaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLAreaElementVtbl; + +interface DispHTMLAreaElement { + CONST_VTBL DispHTMLAreaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLAreaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLAreaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLAreaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLAreaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLAreaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLAreaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLAreaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLAreaElement_QueryInterface(DispHTMLAreaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLAreaElement_AddRef(DispHTMLAreaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLAreaElement_Release(DispHTMLAreaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLAreaElement_GetTypeInfoCount(DispHTMLAreaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLAreaElement_GetTypeInfo(DispHTMLAreaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLAreaElement_GetIDsOfNames(DispHTMLAreaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLAreaElement_Invoke(DispHTMLAreaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLAreaElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLAreaElement coclass + */ + +DEFINE_GUID(CLSID_HTMLAreaElement, 0x3050f283, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f283-98b5-11cf-bb82-00aa00bdce0b") HTMLAreaElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLAreaElement, 0x3050f283, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLLabelElement interface + */ +#ifndef __IHTMLLabelElement_INTERFACE_DEFINED__ +#define __IHTMLLabelElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLabelElement, 0x3050f32a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f32a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLLabelElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_htmlFor( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_htmlFor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accessKey( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accessKey( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLabelElement, 0x3050f32a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLLabelElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLabelElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLabelElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLabelElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLabelElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLabelElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLabelElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLabelElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLabelElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_htmlFor)( + IHTMLLabelElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_htmlFor)( + IHTMLLabelElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_accessKey)( + IHTMLLabelElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_accessKey)( + IHTMLLabelElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLLabelElementVtbl; + +interface IHTMLLabelElement { + CONST_VTBL IHTMLLabelElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLabelElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLabelElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLabelElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLabelElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLabelElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLabelElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLabelElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLabelElement methods ***/ +#define IHTMLLabelElement_put_htmlFor(This,v) (This)->lpVtbl->put_htmlFor(This,v) +#define IHTMLLabelElement_get_htmlFor(This,p) (This)->lpVtbl->get_htmlFor(This,p) +#define IHTMLLabelElement_put_accessKey(This,v) (This)->lpVtbl->put_accessKey(This,v) +#define IHTMLLabelElement_get_accessKey(This,p) (This)->lpVtbl->get_accessKey(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLabelElement_QueryInterface(IHTMLLabelElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLabelElement_AddRef(IHTMLLabelElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLabelElement_Release(IHTMLLabelElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLabelElement_GetTypeInfoCount(IHTMLLabelElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLabelElement_GetTypeInfo(IHTMLLabelElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLabelElement_GetIDsOfNames(IHTMLLabelElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLabelElement_Invoke(IHTMLLabelElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLabelElement methods ***/ +static FORCEINLINE HRESULT IHTMLLabelElement_put_htmlFor(IHTMLLabelElement* This,BSTR v) { + return This->lpVtbl->put_htmlFor(This,v); +} +static FORCEINLINE HRESULT IHTMLLabelElement_get_htmlFor(IHTMLLabelElement* This,BSTR *p) { + return This->lpVtbl->get_htmlFor(This,p); +} +static FORCEINLINE HRESULT IHTMLLabelElement_put_accessKey(IHTMLLabelElement* This,BSTR v) { + return This->lpVtbl->put_accessKey(This,v); +} +static FORCEINLINE HRESULT IHTMLLabelElement_get_accessKey(IHTMLLabelElement* This,BSTR *p) { + return This->lpVtbl->get_accessKey(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLabelElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLLabelElement2 interface + */ +#ifndef __IHTMLLabelElement2_INTERFACE_DEFINED__ +#define __IHTMLLabelElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLabelElement2, 0x3050f832, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f832-98b5-11cf-bb82-00aa00bdce0b") +IHTMLLabelElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLabelElement2, 0x3050f832, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLLabelElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLabelElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLabelElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLabelElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLabelElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLabelElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLabelElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLabelElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLabelElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLLabelElement2 *This, + IHTMLFormElement **p); + + END_INTERFACE +} IHTMLLabelElement2Vtbl; + +interface IHTMLLabelElement2 { + CONST_VTBL IHTMLLabelElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLabelElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLabelElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLabelElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLabelElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLabelElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLabelElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLabelElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLabelElement2 methods ***/ +#define IHTMLLabelElement2_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLabelElement2_QueryInterface(IHTMLLabelElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLabelElement2_AddRef(IHTMLLabelElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLabelElement2_Release(IHTMLLabelElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLabelElement2_GetTypeInfoCount(IHTMLLabelElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLabelElement2_GetTypeInfo(IHTMLLabelElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLabelElement2_GetIDsOfNames(IHTMLLabelElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLabelElement2_Invoke(IHTMLLabelElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLabelElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLLabelElement2_get_form(IHTMLLabelElement2* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLabelElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLLabelElement dispinterface + */ +#ifndef __DispHTMLLabelElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLLabelElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLLabelElement, 0x3050f522, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f522-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLLabelElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLLabelElement, 0x3050f522, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLLabelElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLLabelElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLLabelElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLLabelElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLLabelElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLLabelElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLLabelElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLLabelElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLLabelElementVtbl; + +interface DispHTMLLabelElement { + CONST_VTBL DispHTMLLabelElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLLabelElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLLabelElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLLabelElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLLabelElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLLabelElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLLabelElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLLabelElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLLabelElement_QueryInterface(DispHTMLLabelElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLLabelElement_AddRef(DispHTMLLabelElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLLabelElement_Release(DispHTMLLabelElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLLabelElement_GetTypeInfoCount(DispHTMLLabelElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLLabelElement_GetTypeInfo(DispHTMLLabelElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLLabelElement_GetIDsOfNames(DispHTMLLabelElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLLabelElement_Invoke(DispHTMLLabelElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLLabelElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLLabelElement coclass + */ + +DEFINE_GUID(CLSID_HTMLLabelElement, 0x3050f32b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f32b-98b5-11cf-bb82-00aa00bdce0b") HTMLLabelElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLLabelElement, 0x3050f32b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLElementCollection interface + */ +#ifndef __IHTMLElementCollection_INTERFACE_DEFINED__ +#define __IHTMLElementCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLElementCollection, 0x3050f21f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f21f-98b5-11cf-bb82-00aa00bdce0b") +IHTMLElementCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_length( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT name, + VARIANT index, + IDispatch **pdisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE tags( + VARIANT tagName, + IDispatch **pdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLElementCollection, 0x3050f21f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLElementCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLElementCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLElementCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLElementCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLElementCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLElementCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLElementCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLElementCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLElementCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLElementCollection *This, + BSTR *String); + + HRESULT (STDMETHODCALLTYPE *put_length)( + IHTMLElementCollection *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLElementCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLElementCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLElementCollection *This, + VARIANT name, + VARIANT index, + IDispatch **pdisp); + + HRESULT (STDMETHODCALLTYPE *tags)( + IHTMLElementCollection *This, + VARIANT tagName, + IDispatch **pdisp); + + END_INTERFACE +} IHTMLElementCollectionVtbl; + +interface IHTMLElementCollection { + CONST_VTBL IHTMLElementCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLElementCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLElementCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLElementCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLElementCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLElementCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLElementCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLElementCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLElementCollection methods ***/ +#define IHTMLElementCollection_toString(This,String) (This)->lpVtbl->toString(This,String) +#define IHTMLElementCollection_put_length(This,v) (This)->lpVtbl->put_length(This,v) +#define IHTMLElementCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLElementCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLElementCollection_item(This,name,index,pdisp) (This)->lpVtbl->item(This,name,index,pdisp) +#define IHTMLElementCollection_tags(This,tagName,pdisp) (This)->lpVtbl->tags(This,tagName,pdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLElementCollection_QueryInterface(IHTMLElementCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLElementCollection_AddRef(IHTMLElementCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLElementCollection_Release(IHTMLElementCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLElementCollection_GetTypeInfoCount(IHTMLElementCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLElementCollection_GetTypeInfo(IHTMLElementCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLElementCollection_GetIDsOfNames(IHTMLElementCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLElementCollection_Invoke(IHTMLElementCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLElementCollection methods ***/ +static FORCEINLINE HRESULT IHTMLElementCollection_toString(IHTMLElementCollection* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +static FORCEINLINE HRESULT IHTMLElementCollection_put_length(IHTMLElementCollection* This,LONG v) { + return This->lpVtbl->put_length(This,v); +} +static FORCEINLINE HRESULT IHTMLElementCollection_get_length(IHTMLElementCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLElementCollection_get__newEnum(IHTMLElementCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLElementCollection_item(IHTMLElementCollection* This,VARIANT name,VARIANT index,IDispatch **pdisp) { + return This->lpVtbl->item(This,name,index,pdisp); +} +static FORCEINLINE HRESULT IHTMLElementCollection_tags(IHTMLElementCollection* This,VARIANT tagName,IDispatch **pdisp) { + return This->lpVtbl->tags(This,tagName,pdisp); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLElementCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLElementCollection dispinterface + */ +#ifndef __DispHTMLElementCollection_DISPINTERFACE_DEFINED__ +#define __DispHTMLElementCollection_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLElementCollection, 0x3050f56b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f56b-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLElementCollection : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLElementCollection, 0x3050f56b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLElementCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLElementCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLElementCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLElementCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLElementCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLElementCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLElementCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLElementCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLElementCollectionVtbl; + +interface DispHTMLElementCollection { + CONST_VTBL DispHTMLElementCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLElementCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLElementCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLElementCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLElementCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLElementCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLElementCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLElementCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLElementCollection_QueryInterface(DispHTMLElementCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLElementCollection_AddRef(DispHTMLElementCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLElementCollection_Release(DispHTMLElementCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLElementCollection_GetTypeInfoCount(DispHTMLElementCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLElementCollection_GetTypeInfo(DispHTMLElementCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLElementCollection_GetIDsOfNames(DispHTMLElementCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLElementCollection_Invoke(DispHTMLElementCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLElementCollection_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLSelectElement interface + */ +#ifndef __IHTMLSelectElement_INTERFACE_DEFINED__ +#define __IHTMLSelectElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLSelectElement, 0x3050f244, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f244-98b5-11cf-bb82-00aa00bdce0b") +IHTMLSelectElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_size( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_size( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_multiple( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_multiple( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_options( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_selectedIndex( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_selectedIndex( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE add( + IHTMLElement *element, + VARIANT before) = 0; + + virtual HRESULT STDMETHODCALLTYPE remove( + LONG index = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_length( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT name, + VARIANT index, + IDispatch **pdisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE tags( + VARIANT tagName, + IDispatch **pdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLSelectElement, 0x3050f244, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLSelectElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLSelectElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLSelectElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLSelectElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLSelectElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLSelectElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLSelectElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLSelectElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLSelectElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_size)( + IHTMLSelectElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_size)( + IHTMLSelectElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_multiple)( + IHTMLSelectElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_multiple)( + IHTMLSelectElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLSelectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLSelectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_options)( + IHTMLSelectElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_onchange)( + IHTMLSelectElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onchange)( + IHTMLSelectElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_selectedIndex)( + IHTMLSelectElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_selectedIndex)( + IHTMLSelectElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLSelectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLSelectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLSelectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLSelectElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLSelectElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLSelectElement *This, + IHTMLFormElement **p); + + HRESULT (STDMETHODCALLTYPE *add)( + IHTMLSelectElement *This, + IHTMLElement *element, + VARIANT before); + + HRESULT (STDMETHODCALLTYPE *remove)( + IHTMLSelectElement *This, + LONG index); + + HRESULT (STDMETHODCALLTYPE *put_length)( + IHTMLSelectElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLSelectElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLSelectElement *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLSelectElement *This, + VARIANT name, + VARIANT index, + IDispatch **pdisp); + + HRESULT (STDMETHODCALLTYPE *tags)( + IHTMLSelectElement *This, + VARIANT tagName, + IDispatch **pdisp); + + END_INTERFACE +} IHTMLSelectElementVtbl; + +interface IHTMLSelectElement { + CONST_VTBL IHTMLSelectElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLSelectElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLSelectElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLSelectElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLSelectElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLSelectElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLSelectElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLSelectElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLSelectElement methods ***/ +#define IHTMLSelectElement_put_size(This,v) (This)->lpVtbl->put_size(This,v) +#define IHTMLSelectElement_get_size(This,p) (This)->lpVtbl->get_size(This,p) +#define IHTMLSelectElement_put_multiple(This,v) (This)->lpVtbl->put_multiple(This,v) +#define IHTMLSelectElement_get_multiple(This,p) (This)->lpVtbl->get_multiple(This,p) +#define IHTMLSelectElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLSelectElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLSelectElement_get_options(This,p) (This)->lpVtbl->get_options(This,p) +#define IHTMLSelectElement_put_onchange(This,v) (This)->lpVtbl->put_onchange(This,v) +#define IHTMLSelectElement_get_onchange(This,p) (This)->lpVtbl->get_onchange(This,p) +#define IHTMLSelectElement_put_selectedIndex(This,v) (This)->lpVtbl->put_selectedIndex(This,v) +#define IHTMLSelectElement_get_selectedIndex(This,p) (This)->lpVtbl->get_selectedIndex(This,p) +#define IHTMLSelectElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLSelectElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLSelectElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLSelectElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLSelectElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLSelectElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#define IHTMLSelectElement_add(This,element,before) (This)->lpVtbl->add(This,element,before) +#define IHTMLSelectElement_remove(This,index) (This)->lpVtbl->remove(This,index) +#define IHTMLSelectElement_put_length(This,v) (This)->lpVtbl->put_length(This,v) +#define IHTMLSelectElement_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLSelectElement_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLSelectElement_item(This,name,index,pdisp) (This)->lpVtbl->item(This,name,index,pdisp) +#define IHTMLSelectElement_tags(This,tagName,pdisp) (This)->lpVtbl->tags(This,tagName,pdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLSelectElement_QueryInterface(IHTMLSelectElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLSelectElement_AddRef(IHTMLSelectElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLSelectElement_Release(IHTMLSelectElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLSelectElement_GetTypeInfoCount(IHTMLSelectElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLSelectElement_GetTypeInfo(IHTMLSelectElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLSelectElement_GetIDsOfNames(IHTMLSelectElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLSelectElement_Invoke(IHTMLSelectElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLSelectElement methods ***/ +static FORCEINLINE HRESULT IHTMLSelectElement_put_size(IHTMLSelectElement* This,LONG v) { + return This->lpVtbl->put_size(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_size(IHTMLSelectElement* This,LONG *p) { + return This->lpVtbl->get_size(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_multiple(IHTMLSelectElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_multiple(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_multiple(IHTMLSelectElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_multiple(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_name(IHTMLSelectElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_name(IHTMLSelectElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_options(IHTMLSelectElement* This,IDispatch **p) { + return This->lpVtbl->get_options(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_onchange(IHTMLSelectElement* This,VARIANT v) { + return This->lpVtbl->put_onchange(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_onchange(IHTMLSelectElement* This,VARIANT *p) { + return This->lpVtbl->get_onchange(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_selectedIndex(IHTMLSelectElement* This,LONG v) { + return This->lpVtbl->put_selectedIndex(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_selectedIndex(IHTMLSelectElement* This,LONG *p) { + return This->lpVtbl->get_selectedIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_type(IHTMLSelectElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_value(IHTMLSelectElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_value(IHTMLSelectElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_disabled(IHTMLSelectElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_disabled(IHTMLSelectElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_form(IHTMLSelectElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_add(IHTMLSelectElement* This,IHTMLElement *element,VARIANT before) { + return This->lpVtbl->add(This,element,before); +} +static FORCEINLINE HRESULT IHTMLSelectElement_remove(IHTMLSelectElement* This,LONG index) { + return This->lpVtbl->remove(This,index); +} +static FORCEINLINE HRESULT IHTMLSelectElement_put_length(IHTMLSelectElement* This,LONG v) { + return This->lpVtbl->put_length(This,v); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get_length(IHTMLSelectElement* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_get__newEnum(IHTMLSelectElement* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLSelectElement_item(IHTMLSelectElement* This,VARIANT name,VARIANT index,IDispatch **pdisp) { + return This->lpVtbl->item(This,name,index,pdisp); +} +static FORCEINLINE HRESULT IHTMLSelectElement_tags(IHTMLSelectElement* This,VARIANT tagName,IDispatch **pdisp) { + return This->lpVtbl->tags(This,tagName,pdisp); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLSelectElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLSelectElement dispinterface + */ +#ifndef __DispHTMLSelectElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLSelectElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLSelectElement, 0x3050f531, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f531-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLSelectElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLSelectElement, 0x3050f531, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLSelectElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLSelectElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLSelectElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLSelectElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLSelectElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLSelectElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLSelectElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLSelectElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLSelectElementVtbl; + +interface DispHTMLSelectElement { + CONST_VTBL DispHTMLSelectElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLSelectElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLSelectElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLSelectElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLSelectElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLSelectElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLSelectElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLSelectElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLSelectElement_QueryInterface(DispHTMLSelectElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLSelectElement_AddRef(DispHTMLSelectElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLSelectElement_Release(DispHTMLSelectElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLSelectElement_GetTypeInfoCount(DispHTMLSelectElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLSelectElement_GetTypeInfo(DispHTMLSelectElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLSelectElement_GetIDsOfNames(DispHTMLSelectElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLSelectElement_Invoke(DispHTMLSelectElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLSelectElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLSelectElement coclass + */ + +DEFINE_GUID(CLSID_HTMLSelectElement, 0x3050f245, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f245-98b5-11cf-bb82-00aa00bdce0b") HTMLSelectElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLSelectElement, 0x3050f245, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLSelectionObject interface + */ +#ifndef __IHTMLSelectionObject_INTERFACE_DEFINED__ +#define __IHTMLSelectionObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLSelectionObject, 0x3050f25a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f25a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLSelectionObject : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE createRange( + IDispatch **range) = 0; + + virtual HRESULT STDMETHODCALLTYPE empty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLSelectionObject, 0x3050f25a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLSelectionObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLSelectionObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLSelectionObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLSelectionObject *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLSelectionObject *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLSelectionObject *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLSelectionObject *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLSelectionObject *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLSelectionObject methods ***/ + HRESULT (STDMETHODCALLTYPE *createRange)( + IHTMLSelectionObject *This, + IDispatch **range); + + HRESULT (STDMETHODCALLTYPE *empty)( + IHTMLSelectionObject *This); + + HRESULT (STDMETHODCALLTYPE *clear)( + IHTMLSelectionObject *This); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLSelectionObject *This, + BSTR *p); + + END_INTERFACE +} IHTMLSelectionObjectVtbl; + +interface IHTMLSelectionObject { + CONST_VTBL IHTMLSelectionObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLSelectionObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLSelectionObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLSelectionObject_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLSelectionObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLSelectionObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLSelectionObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLSelectionObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLSelectionObject methods ***/ +#define IHTMLSelectionObject_createRange(This,range) (This)->lpVtbl->createRange(This,range) +#define IHTMLSelectionObject_empty(This) (This)->lpVtbl->empty(This) +#define IHTMLSelectionObject_clear(This) (This)->lpVtbl->clear(This) +#define IHTMLSelectionObject_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLSelectionObject_QueryInterface(IHTMLSelectionObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLSelectionObject_AddRef(IHTMLSelectionObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLSelectionObject_Release(IHTMLSelectionObject* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLSelectionObject_GetTypeInfoCount(IHTMLSelectionObject* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLSelectionObject_GetTypeInfo(IHTMLSelectionObject* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLSelectionObject_GetIDsOfNames(IHTMLSelectionObject* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLSelectionObject_Invoke(IHTMLSelectionObject* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLSelectionObject methods ***/ +static FORCEINLINE HRESULT IHTMLSelectionObject_createRange(IHTMLSelectionObject* This,IDispatch **range) { + return This->lpVtbl->createRange(This,range); +} +static FORCEINLINE HRESULT IHTMLSelectionObject_empty(IHTMLSelectionObject* This) { + return This->lpVtbl->empty(This); +} +static FORCEINLINE HRESULT IHTMLSelectionObject_clear(IHTMLSelectionObject* This) { + return This->lpVtbl->clear(This); +} +static FORCEINLINE HRESULT IHTMLSelectionObject_get_type(IHTMLSelectionObject* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLSelectionObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLSelectionObject2 interface + */ +#ifndef __IHTMLSelectionObject2_INTERFACE_DEFINED__ +#define __IHTMLSelectionObject2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLSelectionObject2, 0x3050f7ec, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f7ec-98b5-11cf-bb82-00aa00bdce0b") +IHTMLSelectionObject2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE createRangeCollection( + IDispatch **rangeCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_typeDetail( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLSelectionObject2, 0x3050f7ec, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLSelectionObject2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLSelectionObject2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLSelectionObject2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLSelectionObject2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLSelectionObject2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLSelectionObject2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLSelectionObject2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLSelectionObject2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLSelectionObject2 methods ***/ + HRESULT (STDMETHODCALLTYPE *createRangeCollection)( + IHTMLSelectionObject2 *This, + IDispatch **rangeCollection); + + HRESULT (STDMETHODCALLTYPE *get_typeDetail)( + IHTMLSelectionObject2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLSelectionObject2Vtbl; + +interface IHTMLSelectionObject2 { + CONST_VTBL IHTMLSelectionObject2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLSelectionObject2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLSelectionObject2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLSelectionObject2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLSelectionObject2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLSelectionObject2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLSelectionObject2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLSelectionObject2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLSelectionObject2 methods ***/ +#define IHTMLSelectionObject2_createRangeCollection(This,rangeCollection) (This)->lpVtbl->createRangeCollection(This,rangeCollection) +#define IHTMLSelectionObject2_get_typeDetail(This,p) (This)->lpVtbl->get_typeDetail(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLSelectionObject2_QueryInterface(IHTMLSelectionObject2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLSelectionObject2_AddRef(IHTMLSelectionObject2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLSelectionObject2_Release(IHTMLSelectionObject2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLSelectionObject2_GetTypeInfoCount(IHTMLSelectionObject2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLSelectionObject2_GetTypeInfo(IHTMLSelectionObject2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLSelectionObject2_GetIDsOfNames(IHTMLSelectionObject2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLSelectionObject2_Invoke(IHTMLSelectionObject2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLSelectionObject2 methods ***/ +static FORCEINLINE HRESULT IHTMLSelectionObject2_createRangeCollection(IHTMLSelectionObject2* This,IDispatch **rangeCollection) { + return This->lpVtbl->createRangeCollection(This,rangeCollection); +} +static FORCEINLINE HRESULT IHTMLSelectionObject2_get_typeDetail(IHTMLSelectionObject2* This,BSTR *p) { + return This->lpVtbl->get_typeDetail(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLSelectionObject2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLSelection interface + */ +#ifndef __IHTMLSelection_INTERFACE_DEFINED__ +#define __IHTMLSelection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLSelection, 0x305104b6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305104b6-98b5-11cf-bb82-00aa00bdce0b") +IHTMLSelection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_anchorNode( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_anchorOffset( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_focusNode( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_focusOffset( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isCollapsed( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE collapse( + IDispatch *parentNode, + LONG offset) = 0; + + virtual HRESULT STDMETHODCALLTYPE collapseToStart( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE collapseToEnd( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectAllChildren( + IDispatch *parentNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteFromDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rangeCount( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getRangeAt( + LONG index, + IHTMLDOMRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE addRange( + IDispatch *range) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeRange( + IDispatch *range) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAllRanges( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *pSelectionString) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLSelection, 0x305104b6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLSelectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLSelection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLSelection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLSelection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLSelection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLSelection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLSelection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLSelection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLSelection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_anchorNode)( + IHTMLSelection *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_anchorOffset)( + IHTMLSelection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_focusNode)( + IHTMLSelection *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_focusOffset)( + IHTMLSelection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_isCollapsed)( + IHTMLSelection *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *collapse)( + IHTMLSelection *This, + IDispatch *parentNode, + LONG offset); + + HRESULT (STDMETHODCALLTYPE *collapseToStart)( + IHTMLSelection *This); + + HRESULT (STDMETHODCALLTYPE *collapseToEnd)( + IHTMLSelection *This); + + HRESULT (STDMETHODCALLTYPE *selectAllChildren)( + IHTMLSelection *This, + IDispatch *parentNode); + + HRESULT (STDMETHODCALLTYPE *deleteFromDocument)( + IHTMLSelection *This); + + HRESULT (STDMETHODCALLTYPE *get_rangeCount)( + IHTMLSelection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *getRangeAt)( + IHTMLSelection *This, + LONG index, + IHTMLDOMRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *addRange)( + IHTMLSelection *This, + IDispatch *range); + + HRESULT (STDMETHODCALLTYPE *removeRange)( + IHTMLSelection *This, + IDispatch *range); + + HRESULT (STDMETHODCALLTYPE *removeAllRanges)( + IHTMLSelection *This); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLSelection *This, + BSTR *pSelectionString); + + END_INTERFACE +} IHTMLSelectionVtbl; + +interface IHTMLSelection { + CONST_VTBL IHTMLSelectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLSelection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLSelection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLSelection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLSelection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLSelection methods ***/ +#define IHTMLSelection_get_anchorNode(This,p) (This)->lpVtbl->get_anchorNode(This,p) +#define IHTMLSelection_get_anchorOffset(This,p) (This)->lpVtbl->get_anchorOffset(This,p) +#define IHTMLSelection_get_focusNode(This,p) (This)->lpVtbl->get_focusNode(This,p) +#define IHTMLSelection_get_focusOffset(This,p) (This)->lpVtbl->get_focusOffset(This,p) +#define IHTMLSelection_get_isCollapsed(This,p) (This)->lpVtbl->get_isCollapsed(This,p) +#define IHTMLSelection_collapse(This,parentNode,offset) (This)->lpVtbl->collapse(This,parentNode,offset) +#define IHTMLSelection_collapseToStart(This) (This)->lpVtbl->collapseToStart(This) +#define IHTMLSelection_collapseToEnd(This) (This)->lpVtbl->collapseToEnd(This) +#define IHTMLSelection_selectAllChildren(This,parentNode) (This)->lpVtbl->selectAllChildren(This,parentNode) +#define IHTMLSelection_deleteFromDocument(This) (This)->lpVtbl->deleteFromDocument(This) +#define IHTMLSelection_get_rangeCount(This,p) (This)->lpVtbl->get_rangeCount(This,p) +#define IHTMLSelection_getRangeAt(This,index,ppRange) (This)->lpVtbl->getRangeAt(This,index,ppRange) +#define IHTMLSelection_addRange(This,range) (This)->lpVtbl->addRange(This,range) +#define IHTMLSelection_removeRange(This,range) (This)->lpVtbl->removeRange(This,range) +#define IHTMLSelection_removeAllRanges(This) (This)->lpVtbl->removeAllRanges(This) +#define IHTMLSelection_toString(This,pSelectionString) (This)->lpVtbl->toString(This,pSelectionString) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLSelection_QueryInterface(IHTMLSelection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLSelection_AddRef(IHTMLSelection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLSelection_Release(IHTMLSelection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLSelection_GetTypeInfoCount(IHTMLSelection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLSelection_GetTypeInfo(IHTMLSelection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLSelection_GetIDsOfNames(IHTMLSelection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLSelection_Invoke(IHTMLSelection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLSelection methods ***/ +static FORCEINLINE HRESULT IHTMLSelection_get_anchorNode(IHTMLSelection* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_anchorNode(This,p); +} +static FORCEINLINE HRESULT IHTMLSelection_get_anchorOffset(IHTMLSelection* This,LONG *p) { + return This->lpVtbl->get_anchorOffset(This,p); +} +static FORCEINLINE HRESULT IHTMLSelection_get_focusNode(IHTMLSelection* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_focusNode(This,p); +} +static FORCEINLINE HRESULT IHTMLSelection_get_focusOffset(IHTMLSelection* This,LONG *p) { + return This->lpVtbl->get_focusOffset(This,p); +} +static FORCEINLINE HRESULT IHTMLSelection_get_isCollapsed(IHTMLSelection* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isCollapsed(This,p); +} +static FORCEINLINE HRESULT IHTMLSelection_collapse(IHTMLSelection* This,IDispatch *parentNode,LONG offset) { + return This->lpVtbl->collapse(This,parentNode,offset); +} +static FORCEINLINE HRESULT IHTMLSelection_collapseToStart(IHTMLSelection* This) { + return This->lpVtbl->collapseToStart(This); +} +static FORCEINLINE HRESULT IHTMLSelection_collapseToEnd(IHTMLSelection* This) { + return This->lpVtbl->collapseToEnd(This); +} +static FORCEINLINE HRESULT IHTMLSelection_selectAllChildren(IHTMLSelection* This,IDispatch *parentNode) { + return This->lpVtbl->selectAllChildren(This,parentNode); +} +static FORCEINLINE HRESULT IHTMLSelection_deleteFromDocument(IHTMLSelection* This) { + return This->lpVtbl->deleteFromDocument(This); +} +static FORCEINLINE HRESULT IHTMLSelection_get_rangeCount(IHTMLSelection* This,LONG *p) { + return This->lpVtbl->get_rangeCount(This,p); +} +static FORCEINLINE HRESULT IHTMLSelection_getRangeAt(IHTMLSelection* This,LONG index,IHTMLDOMRange **ppRange) { + return This->lpVtbl->getRangeAt(This,index,ppRange); +} +static FORCEINLINE HRESULT IHTMLSelection_addRange(IHTMLSelection* This,IDispatch *range) { + return This->lpVtbl->addRange(This,range); +} +static FORCEINLINE HRESULT IHTMLSelection_removeRange(IHTMLSelection* This,IDispatch *range) { + return This->lpVtbl->removeRange(This,range); +} +static FORCEINLINE HRESULT IHTMLSelection_removeAllRanges(IHTMLSelection* This) { + return This->lpVtbl->removeAllRanges(This); +} +static FORCEINLINE HRESULT IHTMLSelection_toString(IHTMLSelection* This,BSTR *pSelectionString) { + return This->lpVtbl->toString(This,pSelectionString); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLSelection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLOptionElement interface + */ +#ifndef __IHTMLOptionElement_INTERFACE_DEFINED__ +#define __IHTMLOptionElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLOptionElement, 0x3050f211, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f211-98b5-11cf-bb82-00aa00bdce0b") +IHTMLOptionElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_selected( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_selected( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultSelected( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultSelected( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_index( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_index( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLOptionElement, 0x3050f211, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLOptionElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLOptionElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLOptionElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLOptionElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLOptionElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLOptionElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLOptionElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLOptionElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLOptionElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_selected)( + IHTMLOptionElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_selected)( + IHTMLOptionElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLOptionElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLOptionElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_defaultSelected)( + IHTMLOptionElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_defaultSelected)( + IHTMLOptionElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_index)( + IHTMLOptionElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_index)( + IHTMLOptionElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IHTMLOptionElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IHTMLOptionElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLOptionElement *This, + IHTMLFormElement **p); + + END_INTERFACE +} IHTMLOptionElementVtbl; + +interface IHTMLOptionElement { + CONST_VTBL IHTMLOptionElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLOptionElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLOptionElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLOptionElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLOptionElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLOptionElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLOptionElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLOptionElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLOptionElement methods ***/ +#define IHTMLOptionElement_put_selected(This,v) (This)->lpVtbl->put_selected(This,v) +#define IHTMLOptionElement_get_selected(This,p) (This)->lpVtbl->get_selected(This,p) +#define IHTMLOptionElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLOptionElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLOptionElement_put_defaultSelected(This,v) (This)->lpVtbl->put_defaultSelected(This,v) +#define IHTMLOptionElement_get_defaultSelected(This,p) (This)->lpVtbl->get_defaultSelected(This,p) +#define IHTMLOptionElement_put_index(This,v) (This)->lpVtbl->put_index(This,v) +#define IHTMLOptionElement_get_index(This,p) (This)->lpVtbl->get_index(This,p) +#define IHTMLOptionElement_put_text(This,v) (This)->lpVtbl->put_text(This,v) +#define IHTMLOptionElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IHTMLOptionElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElement_QueryInterface(IHTMLOptionElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLOptionElement_AddRef(IHTMLOptionElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLOptionElement_Release(IHTMLOptionElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElement_GetTypeInfoCount(IHTMLOptionElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLOptionElement_GetTypeInfo(IHTMLOptionElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLOptionElement_GetIDsOfNames(IHTMLOptionElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLOptionElement_Invoke(IHTMLOptionElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLOptionElement methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElement_put_selected(IHTMLOptionElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_selected(This,v); +} +static FORCEINLINE HRESULT IHTMLOptionElement_get_selected(IHTMLOptionElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_selected(This,p); +} +static FORCEINLINE HRESULT IHTMLOptionElement_put_value(IHTMLOptionElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLOptionElement_get_value(IHTMLOptionElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLOptionElement_put_defaultSelected(IHTMLOptionElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_defaultSelected(This,v); +} +static FORCEINLINE HRESULT IHTMLOptionElement_get_defaultSelected(IHTMLOptionElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_defaultSelected(This,p); +} +static FORCEINLINE HRESULT IHTMLOptionElement_put_index(IHTMLOptionElement* This,LONG v) { + return This->lpVtbl->put_index(This,v); +} +static FORCEINLINE HRESULT IHTMLOptionElement_get_index(IHTMLOptionElement* This,LONG *p) { + return This->lpVtbl->get_index(This,p); +} +static FORCEINLINE HRESULT IHTMLOptionElement_put_text(IHTMLOptionElement* This,BSTR v) { + return This->lpVtbl->put_text(This,v); +} +static FORCEINLINE HRESULT IHTMLOptionElement_get_text(IHTMLOptionElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IHTMLOptionElement_get_form(IHTMLOptionElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLOptionElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLOptionElement3 interface + */ +#ifndef __IHTMLOptionElement3_INTERFACE_DEFINED__ +#define __IHTMLOptionElement3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLOptionElement3, 0x3050f820, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f820-98b5-11cf-bb82-00aa00bdce0b") +IHTMLOptionElement3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_label( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_label( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLOptionElement3, 0x3050f820, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLOptionElement3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLOptionElement3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLOptionElement3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLOptionElement3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLOptionElement3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLOptionElement3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLOptionElement3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLOptionElement3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLOptionElement3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_label)( + IHTMLOptionElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_label)( + IHTMLOptionElement3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLOptionElement3Vtbl; + +interface IHTMLOptionElement3 { + CONST_VTBL IHTMLOptionElement3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLOptionElement3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLOptionElement3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLOptionElement3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLOptionElement3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLOptionElement3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLOptionElement3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLOptionElement3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLOptionElement3 methods ***/ +#define IHTMLOptionElement3_put_label(This,v) (This)->lpVtbl->put_label(This,v) +#define IHTMLOptionElement3_get_label(This,p) (This)->lpVtbl->get_label(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElement3_QueryInterface(IHTMLOptionElement3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLOptionElement3_AddRef(IHTMLOptionElement3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLOptionElement3_Release(IHTMLOptionElement3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElement3_GetTypeInfoCount(IHTMLOptionElement3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLOptionElement3_GetTypeInfo(IHTMLOptionElement3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLOptionElement3_GetIDsOfNames(IHTMLOptionElement3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLOptionElement3_Invoke(IHTMLOptionElement3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLOptionElement3 methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElement3_put_label(IHTMLOptionElement3* This,BSTR v) { + return This->lpVtbl->put_label(This,v); +} +static FORCEINLINE HRESULT IHTMLOptionElement3_get_label(IHTMLOptionElement3* This,BSTR *p) { + return This->lpVtbl->get_label(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLOptionElement3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLOptionElementFactory interface + */ +#ifndef __IHTMLOptionElementFactory_INTERFACE_DEFINED__ +#define __IHTMLOptionElementFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLOptionElementFactory, 0x3050f38c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f38c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLOptionElementFactory : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE create( + VARIANT text, + VARIANT value, + VARIANT defaultselected, + VARIANT selected, + IHTMLOptionElement **optelem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLOptionElementFactory, 0x3050f38c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLOptionElementFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLOptionElementFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLOptionElementFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLOptionElementFactory *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLOptionElementFactory *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLOptionElementFactory *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLOptionElementFactory *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLOptionElementFactory *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLOptionElementFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *create)( + IHTMLOptionElementFactory *This, + VARIANT text, + VARIANT value, + VARIANT defaultselected, + VARIANT selected, + IHTMLOptionElement **optelem); + + END_INTERFACE +} IHTMLOptionElementFactoryVtbl; + +interface IHTMLOptionElementFactory { + CONST_VTBL IHTMLOptionElementFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLOptionElementFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLOptionElementFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLOptionElementFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLOptionElementFactory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLOptionElementFactory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLOptionElementFactory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLOptionElementFactory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLOptionElementFactory methods ***/ +#define IHTMLOptionElementFactory_create(This,text,value,defaultselected,selected,optelem) (This)->lpVtbl->create(This,text,value,defaultselected,selected,optelem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElementFactory_QueryInterface(IHTMLOptionElementFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLOptionElementFactory_AddRef(IHTMLOptionElementFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLOptionElementFactory_Release(IHTMLOptionElementFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElementFactory_GetTypeInfoCount(IHTMLOptionElementFactory* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLOptionElementFactory_GetTypeInfo(IHTMLOptionElementFactory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLOptionElementFactory_GetIDsOfNames(IHTMLOptionElementFactory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLOptionElementFactory_Invoke(IHTMLOptionElementFactory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLOptionElementFactory methods ***/ +static FORCEINLINE HRESULT IHTMLOptionElementFactory_create(IHTMLOptionElementFactory* This,VARIANT text,VARIANT value,VARIANT defaultselected,VARIANT selected,IHTMLOptionElement **optelem) { + return This->lpVtbl->create(This,text,value,defaultselected,selected,optelem); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLOptionElementFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLOptionElement dispinterface + */ +#ifndef __DispHTMLOptionElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLOptionElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLOptionElement, 0x3050f52b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f52b-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLOptionElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLOptionElement, 0x3050f52b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLOptionElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLOptionElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLOptionElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLOptionElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLOptionElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLOptionElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLOptionElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLOptionElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLOptionElementVtbl; + +interface DispHTMLOptionElement { + CONST_VTBL DispHTMLOptionElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLOptionElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLOptionElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLOptionElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLOptionElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLOptionElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLOptionElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLOptionElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLOptionElement_QueryInterface(DispHTMLOptionElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLOptionElement_AddRef(DispHTMLOptionElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLOptionElement_Release(DispHTMLOptionElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLOptionElement_GetTypeInfoCount(DispHTMLOptionElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLOptionElement_GetTypeInfo(DispHTMLOptionElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLOptionElement_GetIDsOfNames(DispHTMLOptionElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLOptionElement_Invoke(DispHTMLOptionElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLOptionElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLOptionElement coclass + */ + +DEFINE_GUID(CLSID_HTMLOptionElement, 0x3050f24d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f24d-98b5-11cf-bb82-00aa00bdce0b") HTMLOptionElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLOptionElement, 0x3050f24d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLInputElement interface + */ +#ifndef __IHTMLInputElement_INTERFACE_DEFINED__ +#define __IHTMLInputElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLInputElement, 0x3050f5d2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f5d2-98b5-11cf-bb82-00aa00bdce0b") +IHTMLInputElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_status( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_size( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_size( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_maxLength( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxLength( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE select( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultValue( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_readOnly( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readOnly( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextRange( + IHTMLTxtRange **range) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_indeterminate( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_indeterminate( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultChecked( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultChecked( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_checked( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_checked( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_border( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_border( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_alt( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_alt( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_lowsrc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lowsrc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vrml( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vrml( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dynsrc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dynsrc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_complete( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_loop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_loop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onabort( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onabort( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_start( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_start( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLInputElement, 0x3050f5d2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLInputElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLInputElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLInputElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLInputElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLInputElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLInputElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLInputElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLInputElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLInputElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_status)( + IHTMLInputElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLInputElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLInputElement *This, + IHTMLFormElement **p); + + HRESULT (STDMETHODCALLTYPE *put_size)( + IHTMLInputElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_size)( + IHTMLInputElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_maxLength)( + IHTMLInputElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_maxLength)( + IHTMLInputElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *select)( + IHTMLInputElement *This); + + HRESULT (STDMETHODCALLTYPE *put_onchange)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onchange)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onselect)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselect)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_defaultValue)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_readOnly)( + IHTMLInputElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_readOnly)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *createTextRange)( + IHTMLInputElement *This, + IHTMLTxtRange **range); + + HRESULT (STDMETHODCALLTYPE *put_indeterminate)( + IHTMLInputElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_indeterminate)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_defaultChecked)( + IHTMLInputElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_defaultChecked)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_checked)( + IHTMLInputElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_checked)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_border)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_border)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_vspace)( + IHTMLInputElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_vspace)( + IHTMLInputElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_hspace)( + IHTMLInputElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_hspace)( + IHTMLInputElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_alt)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_alt)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_lowsrc)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_lowsrc)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vrml)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_vrml)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_dynsrc)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dynsrc)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_complete)( + IHTMLInputElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_loop)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_loop)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLInputElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onabort)( + IHTMLInputElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onabort)( + IHTMLInputElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLInputElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLInputElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLInputElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLInputElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_start)( + IHTMLInputElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_start)( + IHTMLInputElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLInputElementVtbl; + +interface IHTMLInputElement { + CONST_VTBL IHTMLInputElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLInputElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLInputElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLInputElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLInputElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLInputElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLInputElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLInputElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLInputElement methods ***/ +#define IHTMLInputElement_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLInputElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLInputElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLInputElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLInputElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLInputElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLInputElement_put_status(This,v) (This)->lpVtbl->put_status(This,v) +#define IHTMLInputElement_get_status(This,p) (This)->lpVtbl->get_status(This,p) +#define IHTMLInputElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLInputElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLInputElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#define IHTMLInputElement_put_size(This,v) (This)->lpVtbl->put_size(This,v) +#define IHTMLInputElement_get_size(This,p) (This)->lpVtbl->get_size(This,p) +#define IHTMLInputElement_put_maxLength(This,v) (This)->lpVtbl->put_maxLength(This,v) +#define IHTMLInputElement_get_maxLength(This,p) (This)->lpVtbl->get_maxLength(This,p) +#define IHTMLInputElement_select(This) (This)->lpVtbl->select(This) +#define IHTMLInputElement_put_onchange(This,v) (This)->lpVtbl->put_onchange(This,v) +#define IHTMLInputElement_get_onchange(This,p) (This)->lpVtbl->get_onchange(This,p) +#define IHTMLInputElement_put_onselect(This,v) (This)->lpVtbl->put_onselect(This,v) +#define IHTMLInputElement_get_onselect(This,p) (This)->lpVtbl->get_onselect(This,p) +#define IHTMLInputElement_put_defaultValue(This,v) (This)->lpVtbl->put_defaultValue(This,v) +#define IHTMLInputElement_get_defaultValue(This,p) (This)->lpVtbl->get_defaultValue(This,p) +#define IHTMLInputElement_put_readOnly(This,v) (This)->lpVtbl->put_readOnly(This,v) +#define IHTMLInputElement_get_readOnly(This,p) (This)->lpVtbl->get_readOnly(This,p) +#define IHTMLInputElement_createTextRange(This,range) (This)->lpVtbl->createTextRange(This,range) +#define IHTMLInputElement_put_indeterminate(This,v) (This)->lpVtbl->put_indeterminate(This,v) +#define IHTMLInputElement_get_indeterminate(This,p) (This)->lpVtbl->get_indeterminate(This,p) +#define IHTMLInputElement_put_defaultChecked(This,v) (This)->lpVtbl->put_defaultChecked(This,v) +#define IHTMLInputElement_get_defaultChecked(This,p) (This)->lpVtbl->get_defaultChecked(This,p) +#define IHTMLInputElement_put_checked(This,v) (This)->lpVtbl->put_checked(This,v) +#define IHTMLInputElement_get_checked(This,p) (This)->lpVtbl->get_checked(This,p) +#define IHTMLInputElement_put_border(This,v) (This)->lpVtbl->put_border(This,v) +#define IHTMLInputElement_get_border(This,p) (This)->lpVtbl->get_border(This,p) +#define IHTMLInputElement_put_vspace(This,v) (This)->lpVtbl->put_vspace(This,v) +#define IHTMLInputElement_get_vspace(This,p) (This)->lpVtbl->get_vspace(This,p) +#define IHTMLInputElement_put_hspace(This,v) (This)->lpVtbl->put_hspace(This,v) +#define IHTMLInputElement_get_hspace(This,p) (This)->lpVtbl->get_hspace(This,p) +#define IHTMLInputElement_put_alt(This,v) (This)->lpVtbl->put_alt(This,v) +#define IHTMLInputElement_get_alt(This,p) (This)->lpVtbl->get_alt(This,p) +#define IHTMLInputElement_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLInputElement_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLInputElement_put_lowsrc(This,v) (This)->lpVtbl->put_lowsrc(This,v) +#define IHTMLInputElement_get_lowsrc(This,p) (This)->lpVtbl->get_lowsrc(This,p) +#define IHTMLInputElement_put_vrml(This,v) (This)->lpVtbl->put_vrml(This,v) +#define IHTMLInputElement_get_vrml(This,p) (This)->lpVtbl->get_vrml(This,p) +#define IHTMLInputElement_put_dynsrc(This,v) (This)->lpVtbl->put_dynsrc(This,v) +#define IHTMLInputElement_get_dynsrc(This,p) (This)->lpVtbl->get_dynsrc(This,p) +#define IHTMLInputElement_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLInputElement_get_complete(This,p) (This)->lpVtbl->get_complete(This,p) +#define IHTMLInputElement_put_loop(This,v) (This)->lpVtbl->put_loop(This,v) +#define IHTMLInputElement_get_loop(This,p) (This)->lpVtbl->get_loop(This,p) +#define IHTMLInputElement_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLInputElement_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLInputElement_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLInputElement_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLInputElement_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLInputElement_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLInputElement_put_onabort(This,v) (This)->lpVtbl->put_onabort(This,v) +#define IHTMLInputElement_get_onabort(This,p) (This)->lpVtbl->get_onabort(This,p) +#define IHTMLInputElement_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLInputElement_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLInputElement_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLInputElement_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLInputElement_put_start(This,v) (This)->lpVtbl->put_start(This,v) +#define IHTMLInputElement_get_start(This,p) (This)->lpVtbl->get_start(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLInputElement_QueryInterface(IHTMLInputElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLInputElement_AddRef(IHTMLInputElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLInputElement_Release(IHTMLInputElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLInputElement_GetTypeInfoCount(IHTMLInputElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLInputElement_GetTypeInfo(IHTMLInputElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLInputElement_GetIDsOfNames(IHTMLInputElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLInputElement_Invoke(IHTMLInputElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLInputElement methods ***/ +static FORCEINLINE HRESULT IHTMLInputElement_put_type(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_type(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_value(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_value(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_name(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_name(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_status(IHTMLInputElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_status(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_status(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_status(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_disabled(IHTMLInputElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_disabled(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_form(IHTMLInputElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_size(IHTMLInputElement* This,LONG v) { + return This->lpVtbl->put_size(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_size(IHTMLInputElement* This,LONG *p) { + return This->lpVtbl->get_size(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_maxLength(IHTMLInputElement* This,LONG v) { + return This->lpVtbl->put_maxLength(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_maxLength(IHTMLInputElement* This,LONG *p) { + return This->lpVtbl->get_maxLength(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_select(IHTMLInputElement* This) { + return This->lpVtbl->select(This); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_onchange(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_onchange(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_onchange(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_onchange(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_onselect(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_onselect(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_onselect(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_onselect(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_defaultValue(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_defaultValue(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_defaultValue(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_defaultValue(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_readOnly(IHTMLInputElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_readOnly(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_readOnly(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_readOnly(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_createTextRange(IHTMLInputElement* This,IHTMLTxtRange **range) { + return This->lpVtbl->createTextRange(This,range); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_indeterminate(IHTMLInputElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_indeterminate(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_indeterminate(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_indeterminate(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_defaultChecked(IHTMLInputElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_defaultChecked(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_defaultChecked(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_defaultChecked(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_checked(IHTMLInputElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_checked(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_checked(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_checked(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_border(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_border(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_border(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_border(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_vspace(IHTMLInputElement* This,LONG v) { + return This->lpVtbl->put_vspace(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_vspace(IHTMLInputElement* This,LONG *p) { + return This->lpVtbl->get_vspace(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_hspace(IHTMLInputElement* This,LONG v) { + return This->lpVtbl->put_hspace(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_hspace(IHTMLInputElement* This,LONG *p) { + return This->lpVtbl->get_hspace(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_alt(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_alt(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_alt(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_alt(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_src(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_src(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_lowsrc(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_lowsrc(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_lowsrc(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_lowsrc(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_vrml(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_vrml(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_vrml(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_vrml(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_dynsrc(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_dynsrc(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_dynsrc(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_dynsrc(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_readyState(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_complete(IHTMLInputElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_complete(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_loop(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_loop(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_loop(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_loop(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_align(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_align(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_onload(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_onload(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_onerror(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_onerror(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_onabort(IHTMLInputElement* This,VARIANT v) { + return This->lpVtbl->put_onabort(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_onabort(IHTMLInputElement* This,VARIANT *p) { + return This->lpVtbl->get_onabort(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_width(IHTMLInputElement* This,LONG v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_width(IHTMLInputElement* This,LONG *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_height(IHTMLInputElement* This,LONG v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_height(IHTMLInputElement* This,LONG *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLInputElement_put_start(IHTMLInputElement* This,BSTR v) { + return This->lpVtbl->put_start(This,v); +} +static FORCEINLINE HRESULT IHTMLInputElement_get_start(IHTMLInputElement* This,BSTR *p) { + return This->lpVtbl->get_start(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLInputElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLInputTextElement interface + */ +#ifndef __IHTMLInputTextElement_INTERFACE_DEFINED__ +#define __IHTMLInputTextElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLInputTextElement, 0x3050f2a6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2a6-98b5-11cf-bb82-00aa00bdce0b") +IHTMLInputTextElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_status( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultValue( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_size( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_size( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_maxLength( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxLength( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE select( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_readOnly( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readOnly( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextRange( + IHTMLTxtRange **range) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLInputTextElement, 0x3050f2a6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLInputTextElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLInputTextElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLInputTextElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLInputTextElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLInputTextElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLInputTextElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLInputTextElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLInputTextElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLInputTextElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLInputTextElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLInputTextElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLInputTextElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLInputTextElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLInputTextElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_status)( + IHTMLInputTextElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IHTMLInputTextElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLInputTextElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLInputTextElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLInputTextElement *This, + IHTMLFormElement **p); + + HRESULT (STDMETHODCALLTYPE *put_defaultValue)( + IHTMLInputTextElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + IHTMLInputTextElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_size)( + IHTMLInputTextElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_size)( + IHTMLInputTextElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_maxLength)( + IHTMLInputTextElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_maxLength)( + IHTMLInputTextElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *select)( + IHTMLInputTextElement *This); + + HRESULT (STDMETHODCALLTYPE *put_onchange)( + IHTMLInputTextElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onchange)( + IHTMLInputTextElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onselect)( + IHTMLInputTextElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselect)( + IHTMLInputTextElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_readOnly)( + IHTMLInputTextElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_readOnly)( + IHTMLInputTextElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *createTextRange)( + IHTMLInputTextElement *This, + IHTMLTxtRange **range); + + END_INTERFACE +} IHTMLInputTextElementVtbl; + +interface IHTMLInputTextElement { + CONST_VTBL IHTMLInputTextElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLInputTextElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLInputTextElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLInputTextElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLInputTextElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLInputTextElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLInputTextElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLInputTextElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLInputTextElement methods ***/ +#define IHTMLInputTextElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLInputTextElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLInputTextElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLInputTextElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLInputTextElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLInputTextElement_put_status(This,v) (This)->lpVtbl->put_status(This,v) +#define IHTMLInputTextElement_get_status(This,p) (This)->lpVtbl->get_status(This,p) +#define IHTMLInputTextElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLInputTextElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLInputTextElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#define IHTMLInputTextElement_put_defaultValue(This,v) (This)->lpVtbl->put_defaultValue(This,v) +#define IHTMLInputTextElement_get_defaultValue(This,p) (This)->lpVtbl->get_defaultValue(This,p) +#define IHTMLInputTextElement_put_size(This,v) (This)->lpVtbl->put_size(This,v) +#define IHTMLInputTextElement_get_size(This,p) (This)->lpVtbl->get_size(This,p) +#define IHTMLInputTextElement_put_maxLength(This,v) (This)->lpVtbl->put_maxLength(This,v) +#define IHTMLInputTextElement_get_maxLength(This,p) (This)->lpVtbl->get_maxLength(This,p) +#define IHTMLInputTextElement_select(This) (This)->lpVtbl->select(This) +#define IHTMLInputTextElement_put_onchange(This,v) (This)->lpVtbl->put_onchange(This,v) +#define IHTMLInputTextElement_get_onchange(This,p) (This)->lpVtbl->get_onchange(This,p) +#define IHTMLInputTextElement_put_onselect(This,v) (This)->lpVtbl->put_onselect(This,v) +#define IHTMLInputTextElement_get_onselect(This,p) (This)->lpVtbl->get_onselect(This,p) +#define IHTMLInputTextElement_put_readOnly(This,v) (This)->lpVtbl->put_readOnly(This,v) +#define IHTMLInputTextElement_get_readOnly(This,p) (This)->lpVtbl->get_readOnly(This,p) +#define IHTMLInputTextElement_createTextRange(This,range) (This)->lpVtbl->createTextRange(This,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLInputTextElement_QueryInterface(IHTMLInputTextElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLInputTextElement_AddRef(IHTMLInputTextElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLInputTextElement_Release(IHTMLInputTextElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLInputTextElement_GetTypeInfoCount(IHTMLInputTextElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_GetTypeInfo(IHTMLInputTextElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_GetIDsOfNames(IHTMLInputTextElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_Invoke(IHTMLInputTextElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLInputTextElement methods ***/ +static FORCEINLINE HRESULT IHTMLInputTextElement_get_type(IHTMLInputTextElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_value(IHTMLInputTextElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_value(IHTMLInputTextElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_name(IHTMLInputTextElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_name(IHTMLInputTextElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_status(IHTMLInputTextElement* This,VARIANT v) { + return This->lpVtbl->put_status(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_status(IHTMLInputTextElement* This,VARIANT *p) { + return This->lpVtbl->get_status(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_disabled(IHTMLInputTextElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_disabled(IHTMLInputTextElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_form(IHTMLInputTextElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_defaultValue(IHTMLInputTextElement* This,BSTR v) { + return This->lpVtbl->put_defaultValue(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_defaultValue(IHTMLInputTextElement* This,BSTR *p) { + return This->lpVtbl->get_defaultValue(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_size(IHTMLInputTextElement* This,LONG v) { + return This->lpVtbl->put_size(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_size(IHTMLInputTextElement* This,LONG *p) { + return This->lpVtbl->get_size(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_maxLength(IHTMLInputTextElement* This,LONG v) { + return This->lpVtbl->put_maxLength(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_maxLength(IHTMLInputTextElement* This,LONG *p) { + return This->lpVtbl->get_maxLength(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_select(IHTMLInputTextElement* This) { + return This->lpVtbl->select(This); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_onchange(IHTMLInputTextElement* This,VARIANT v) { + return This->lpVtbl->put_onchange(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_onchange(IHTMLInputTextElement* This,VARIANT *p) { + return This->lpVtbl->get_onchange(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_onselect(IHTMLInputTextElement* This,VARIANT v) { + return This->lpVtbl->put_onselect(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_onselect(IHTMLInputTextElement* This,VARIANT *p) { + return This->lpVtbl->get_onselect(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_put_readOnly(IHTMLInputTextElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_readOnly(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_get_readOnly(IHTMLInputTextElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_readOnly(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement_createTextRange(IHTMLInputTextElement* This,IHTMLTxtRange **range) { + return This->lpVtbl->createTextRange(This,range); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLInputTextElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLInputTextElement2 interface + */ +#ifndef __IHTMLInputTextElement2_INTERFACE_DEFINED__ +#define __IHTMLInputTextElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLInputTextElement2, 0x3050f2d2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2d2-98b5-11cf-bb82-00aa00bdce0b") +IHTMLInputTextElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_selectionStart( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_selectionStart( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_selectionEnd( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_selectionEnd( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setSelectionRange( + LONG start, + LONG end) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLInputTextElement2, 0x3050f2d2, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLInputTextElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLInputTextElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLInputTextElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLInputTextElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLInputTextElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLInputTextElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLInputTextElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLInputTextElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLInputTextElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_selectionStart)( + IHTMLInputTextElement2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_selectionStart)( + IHTMLInputTextElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_selectionEnd)( + IHTMLInputTextElement2 *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_selectionEnd)( + IHTMLInputTextElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *setSelectionRange)( + IHTMLInputTextElement2 *This, + LONG start, + LONG end); + + END_INTERFACE +} IHTMLInputTextElement2Vtbl; + +interface IHTMLInputTextElement2 { + CONST_VTBL IHTMLInputTextElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLInputTextElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLInputTextElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLInputTextElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLInputTextElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLInputTextElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLInputTextElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLInputTextElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLInputTextElement2 methods ***/ +#define IHTMLInputTextElement2_put_selectionStart(This,v) (This)->lpVtbl->put_selectionStart(This,v) +#define IHTMLInputTextElement2_get_selectionStart(This,p) (This)->lpVtbl->get_selectionStart(This,p) +#define IHTMLInputTextElement2_put_selectionEnd(This,v) (This)->lpVtbl->put_selectionEnd(This,v) +#define IHTMLInputTextElement2_get_selectionEnd(This,p) (This)->lpVtbl->get_selectionEnd(This,p) +#define IHTMLInputTextElement2_setSelectionRange(This,start,end) (This)->lpVtbl->setSelectionRange(This,start,end) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLInputTextElement2_QueryInterface(IHTMLInputTextElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLInputTextElement2_AddRef(IHTMLInputTextElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLInputTextElement2_Release(IHTMLInputTextElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLInputTextElement2_GetTypeInfoCount(IHTMLInputTextElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_GetTypeInfo(IHTMLInputTextElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_GetIDsOfNames(IHTMLInputTextElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_Invoke(IHTMLInputTextElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLInputTextElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLInputTextElement2_put_selectionStart(IHTMLInputTextElement2* This,LONG v) { + return This->lpVtbl->put_selectionStart(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_get_selectionStart(IHTMLInputTextElement2* This,LONG *p) { + return This->lpVtbl->get_selectionStart(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_put_selectionEnd(IHTMLInputTextElement2* This,LONG v) { + return This->lpVtbl->put_selectionEnd(This,v); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_get_selectionEnd(IHTMLInputTextElement2* This,LONG *p) { + return This->lpVtbl->get_selectionEnd(This,p); +} +static FORCEINLINE HRESULT IHTMLInputTextElement2_setSelectionRange(IHTMLInputTextElement2* This,LONG start,LONG end) { + return This->lpVtbl->setSelectionRange(This,start,end); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLInputTextElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLInputElement dispinterface + */ +#ifndef __DispHTMLInputElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLInputElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLInputElement, 0x3050f57d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f57d-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLInputElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLInputElement, 0x3050f57d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLInputElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLInputElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLInputElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLInputElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLInputElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLInputElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLInputElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLInputElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLInputElementVtbl; + +interface DispHTMLInputElement { + CONST_VTBL DispHTMLInputElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLInputElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLInputElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLInputElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLInputElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLInputElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLInputElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLInputElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLInputElement_QueryInterface(DispHTMLInputElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLInputElement_AddRef(DispHTMLInputElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLInputElement_Release(DispHTMLInputElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLInputElement_GetTypeInfoCount(DispHTMLInputElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLInputElement_GetTypeInfo(DispHTMLInputElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLInputElement_GetIDsOfNames(DispHTMLInputElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLInputElement_Invoke(DispHTMLInputElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLInputElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLInputElement coclass + */ + +DEFINE_GUID(CLSID_HTMLInputElement, 0x3050f5d8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f5d8-98b5-11cf-bb82-00aa00bdce0b") HTMLInputElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLInputElement, 0x3050f5d8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLTextAreaElement interface + */ +#ifndef __IHTMLTextAreaElement_INTERFACE_DEFINED__ +#define __IHTMLTextAreaElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTextAreaElement, 0x3050f2aa, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2aa-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTextAreaElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_status( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultValue( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE select( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_readOnly( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readOnly( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rows( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rows( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cols( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cols( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_wrap( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_wrap( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextRange( + IHTMLTxtRange **range) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTextAreaElement, 0x3050f2aa, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTextAreaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTextAreaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTextAreaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTextAreaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTextAreaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTextAreaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTextAreaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTextAreaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTextAreaElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLTextAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLTextAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLTextAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLTextAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLTextAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_status)( + IHTMLTextAreaElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IHTMLTextAreaElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLTextAreaElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLTextAreaElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLTextAreaElement *This, + IHTMLFormElement **p); + + HRESULT (STDMETHODCALLTYPE *put_defaultValue)( + IHTMLTextAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + IHTMLTextAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *select)( + IHTMLTextAreaElement *This); + + HRESULT (STDMETHODCALLTYPE *put_onchange)( + IHTMLTextAreaElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onchange)( + IHTMLTextAreaElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onselect)( + IHTMLTextAreaElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselect)( + IHTMLTextAreaElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_readOnly)( + IHTMLTextAreaElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_readOnly)( + IHTMLTextAreaElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_rows)( + IHTMLTextAreaElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_rows)( + IHTMLTextAreaElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_cols)( + IHTMLTextAreaElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_cols)( + IHTMLTextAreaElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_wrap)( + IHTMLTextAreaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_wrap)( + IHTMLTextAreaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *createTextRange)( + IHTMLTextAreaElement *This, + IHTMLTxtRange **range); + + END_INTERFACE +} IHTMLTextAreaElementVtbl; + +interface IHTMLTextAreaElement { + CONST_VTBL IHTMLTextAreaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTextAreaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTextAreaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTextAreaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTextAreaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTextAreaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTextAreaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTextAreaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTextAreaElement methods ***/ +#define IHTMLTextAreaElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLTextAreaElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLTextAreaElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLTextAreaElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLTextAreaElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLTextAreaElement_put_status(This,v) (This)->lpVtbl->put_status(This,v) +#define IHTMLTextAreaElement_get_status(This,p) (This)->lpVtbl->get_status(This,p) +#define IHTMLTextAreaElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLTextAreaElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLTextAreaElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#define IHTMLTextAreaElement_put_defaultValue(This,v) (This)->lpVtbl->put_defaultValue(This,v) +#define IHTMLTextAreaElement_get_defaultValue(This,p) (This)->lpVtbl->get_defaultValue(This,p) +#define IHTMLTextAreaElement_select(This) (This)->lpVtbl->select(This) +#define IHTMLTextAreaElement_put_onchange(This,v) (This)->lpVtbl->put_onchange(This,v) +#define IHTMLTextAreaElement_get_onchange(This,p) (This)->lpVtbl->get_onchange(This,p) +#define IHTMLTextAreaElement_put_onselect(This,v) (This)->lpVtbl->put_onselect(This,v) +#define IHTMLTextAreaElement_get_onselect(This,p) (This)->lpVtbl->get_onselect(This,p) +#define IHTMLTextAreaElement_put_readOnly(This,v) (This)->lpVtbl->put_readOnly(This,v) +#define IHTMLTextAreaElement_get_readOnly(This,p) (This)->lpVtbl->get_readOnly(This,p) +#define IHTMLTextAreaElement_put_rows(This,v) (This)->lpVtbl->put_rows(This,v) +#define IHTMLTextAreaElement_get_rows(This,p) (This)->lpVtbl->get_rows(This,p) +#define IHTMLTextAreaElement_put_cols(This,v) (This)->lpVtbl->put_cols(This,v) +#define IHTMLTextAreaElement_get_cols(This,p) (This)->lpVtbl->get_cols(This,p) +#define IHTMLTextAreaElement_put_wrap(This,v) (This)->lpVtbl->put_wrap(This,v) +#define IHTMLTextAreaElement_get_wrap(This,p) (This)->lpVtbl->get_wrap(This,p) +#define IHTMLTextAreaElement_createTextRange(This,range) (This)->lpVtbl->createTextRange(This,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTextAreaElement_QueryInterface(IHTMLTextAreaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTextAreaElement_AddRef(IHTMLTextAreaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTextAreaElement_Release(IHTMLTextAreaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTextAreaElement_GetTypeInfoCount(IHTMLTextAreaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_GetTypeInfo(IHTMLTextAreaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_GetIDsOfNames(IHTMLTextAreaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_Invoke(IHTMLTextAreaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTextAreaElement methods ***/ +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_type(IHTMLTextAreaElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_value(IHTMLTextAreaElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_value(IHTMLTextAreaElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_name(IHTMLTextAreaElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_name(IHTMLTextAreaElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_status(IHTMLTextAreaElement* This,VARIANT v) { + return This->lpVtbl->put_status(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_status(IHTMLTextAreaElement* This,VARIANT *p) { + return This->lpVtbl->get_status(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_disabled(IHTMLTextAreaElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_disabled(IHTMLTextAreaElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_form(IHTMLTextAreaElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_defaultValue(IHTMLTextAreaElement* This,BSTR v) { + return This->lpVtbl->put_defaultValue(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_defaultValue(IHTMLTextAreaElement* This,BSTR *p) { + return This->lpVtbl->get_defaultValue(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_select(IHTMLTextAreaElement* This) { + return This->lpVtbl->select(This); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_onchange(IHTMLTextAreaElement* This,VARIANT v) { + return This->lpVtbl->put_onchange(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_onchange(IHTMLTextAreaElement* This,VARIANT *p) { + return This->lpVtbl->get_onchange(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_onselect(IHTMLTextAreaElement* This,VARIANT v) { + return This->lpVtbl->put_onselect(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_onselect(IHTMLTextAreaElement* This,VARIANT *p) { + return This->lpVtbl->get_onselect(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_readOnly(IHTMLTextAreaElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_readOnly(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_readOnly(IHTMLTextAreaElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_readOnly(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_rows(IHTMLTextAreaElement* This,LONG v) { + return This->lpVtbl->put_rows(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_rows(IHTMLTextAreaElement* This,LONG *p) { + return This->lpVtbl->get_rows(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_cols(IHTMLTextAreaElement* This,LONG v) { + return This->lpVtbl->put_cols(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_cols(IHTMLTextAreaElement* This,LONG *p) { + return This->lpVtbl->get_cols(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_put_wrap(IHTMLTextAreaElement* This,BSTR v) { + return This->lpVtbl->put_wrap(This,v); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_get_wrap(IHTMLTextAreaElement* This,BSTR *p) { + return This->lpVtbl->get_wrap(This,p); +} +static FORCEINLINE HRESULT IHTMLTextAreaElement_createTextRange(IHTMLTextAreaElement* This,IHTMLTxtRange **range) { + return This->lpVtbl->createTextRange(This,range); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTextAreaElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLTextAreaElement dispinterface + */ +#ifndef __DispHTMLTextAreaElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLTextAreaElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLTextAreaElement, 0x3050f521, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f521-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLTextAreaElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLTextAreaElement, 0x3050f521, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLTextAreaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLTextAreaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLTextAreaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLTextAreaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLTextAreaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLTextAreaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLTextAreaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLTextAreaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLTextAreaElementVtbl; + +interface DispHTMLTextAreaElement { + CONST_VTBL DispHTMLTextAreaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLTextAreaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLTextAreaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLTextAreaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLTextAreaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLTextAreaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLTextAreaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLTextAreaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLTextAreaElement_QueryInterface(DispHTMLTextAreaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLTextAreaElement_AddRef(DispHTMLTextAreaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLTextAreaElement_Release(DispHTMLTextAreaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLTextAreaElement_GetTypeInfoCount(DispHTMLTextAreaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLTextAreaElement_GetTypeInfo(DispHTMLTextAreaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLTextAreaElement_GetIDsOfNames(DispHTMLTextAreaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLTextAreaElement_Invoke(DispHTMLTextAreaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLTextAreaElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTextAreaElement coclass + */ + +DEFINE_GUID(CLSID_HTMLTextAreaElement, 0x3050f2ac, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f2ac-98b5-11cf-bb82-00aa00bdce0b") HTMLTextAreaElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTextAreaElement, 0x3050f2ac, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLButtonElement interface + */ +#ifndef __IHTMLButtonElement_INTERFACE_DEFINED__ +#define __IHTMLButtonElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLButtonElement, 0x3050f2bb, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2bb-98b5-11cf-bb82-00aa00bdce0b") +IHTMLButtonElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_status( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextRange( + IHTMLTxtRange **range) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLButtonElement, 0x3050f2bb, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLButtonElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLButtonElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLButtonElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLButtonElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLButtonElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLButtonElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLButtonElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLButtonElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLButtonElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLButtonElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLButtonElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLButtonElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLButtonElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLButtonElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_status)( + IHTMLButtonElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IHTMLButtonElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLButtonElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLButtonElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLButtonElement *This, + IHTMLFormElement **p); + + HRESULT (STDMETHODCALLTYPE *createTextRange)( + IHTMLButtonElement *This, + IHTMLTxtRange **range); + + END_INTERFACE +} IHTMLButtonElementVtbl; + +interface IHTMLButtonElement { + CONST_VTBL IHTMLButtonElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLButtonElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLButtonElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLButtonElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLButtonElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLButtonElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLButtonElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLButtonElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLButtonElement methods ***/ +#define IHTMLButtonElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLButtonElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLButtonElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLButtonElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLButtonElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLButtonElement_put_status(This,v) (This)->lpVtbl->put_status(This,v) +#define IHTMLButtonElement_get_status(This,p) (This)->lpVtbl->get_status(This,p) +#define IHTMLButtonElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLButtonElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLButtonElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#define IHTMLButtonElement_createTextRange(This,range) (This)->lpVtbl->createTextRange(This,range) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLButtonElement_QueryInterface(IHTMLButtonElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLButtonElement_AddRef(IHTMLButtonElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLButtonElement_Release(IHTMLButtonElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLButtonElement_GetTypeInfoCount(IHTMLButtonElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLButtonElement_GetTypeInfo(IHTMLButtonElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLButtonElement_GetIDsOfNames(IHTMLButtonElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLButtonElement_Invoke(IHTMLButtonElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLButtonElement methods ***/ +static FORCEINLINE HRESULT IHTMLButtonElement_get_type(IHTMLButtonElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLButtonElement_put_value(IHTMLButtonElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLButtonElement_get_value(IHTMLButtonElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLButtonElement_put_name(IHTMLButtonElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLButtonElement_get_name(IHTMLButtonElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLButtonElement_put_status(IHTMLButtonElement* This,VARIANT v) { + return This->lpVtbl->put_status(This,v); +} +static FORCEINLINE HRESULT IHTMLButtonElement_get_status(IHTMLButtonElement* This,VARIANT *p) { + return This->lpVtbl->get_status(This,p); +} +static FORCEINLINE HRESULT IHTMLButtonElement_put_disabled(IHTMLButtonElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLButtonElement_get_disabled(IHTMLButtonElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLButtonElement_get_form(IHTMLButtonElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +static FORCEINLINE HRESULT IHTMLButtonElement_createTextRange(IHTMLButtonElement* This,IHTMLTxtRange **range) { + return This->lpVtbl->createTextRange(This,range); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLButtonElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLButtonElement dispinterface + */ +#ifndef __DispHTMLButtonElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLButtonElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLButtonElement, 0x3050f51f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f51f-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLButtonElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLButtonElement, 0x3050f51f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLButtonElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLButtonElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLButtonElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLButtonElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLButtonElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLButtonElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLButtonElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLButtonElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLButtonElementVtbl; + +interface DispHTMLButtonElement { + CONST_VTBL DispHTMLButtonElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLButtonElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLButtonElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLButtonElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLButtonElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLButtonElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLButtonElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLButtonElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLButtonElement_QueryInterface(DispHTMLButtonElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLButtonElement_AddRef(DispHTMLButtonElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLButtonElement_Release(DispHTMLButtonElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLButtonElement_GetTypeInfoCount(DispHTMLButtonElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLButtonElement_GetTypeInfo(DispHTMLButtonElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLButtonElement_GetIDsOfNames(DispHTMLButtonElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLButtonElement_Invoke(DispHTMLButtonElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLButtonElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLButtonElement coclass + */ + +DEFINE_GUID(CLSID_HTMLButtonElement, 0x3050f2c6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f2c6-98b5-11cf-bb82-00aa00bdce0b") HTMLButtonElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLButtonElement, 0x3050f2c6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLHtmlElement interface + */ +#ifndef __IHTMLHtmlElement_INTERFACE_DEFINED__ +#define __IHTMLHtmlElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLHtmlElement, 0x3050f81c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f81c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLHtmlElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_version( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLHtmlElement, 0x3050f81c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLHtmlElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLHtmlElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLHtmlElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLHtmlElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLHtmlElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLHtmlElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLHtmlElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLHtmlElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLHtmlElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_version)( + IHTMLHtmlElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_version)( + IHTMLHtmlElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLHtmlElementVtbl; + +interface IHTMLHtmlElement { + CONST_VTBL IHTMLHtmlElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLHtmlElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLHtmlElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLHtmlElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLHtmlElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLHtmlElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLHtmlElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLHtmlElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLHtmlElement methods ***/ +#define IHTMLHtmlElement_put_version(This,v) (This)->lpVtbl->put_version(This,v) +#define IHTMLHtmlElement_get_version(This,p) (This)->lpVtbl->get_version(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLHtmlElement_QueryInterface(IHTMLHtmlElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLHtmlElement_AddRef(IHTMLHtmlElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLHtmlElement_Release(IHTMLHtmlElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLHtmlElement_GetTypeInfoCount(IHTMLHtmlElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLHtmlElement_GetTypeInfo(IHTMLHtmlElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLHtmlElement_GetIDsOfNames(IHTMLHtmlElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLHtmlElement_Invoke(IHTMLHtmlElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLHtmlElement methods ***/ +static FORCEINLINE HRESULT IHTMLHtmlElement_put_version(IHTMLHtmlElement* This,BSTR v) { + return This->lpVtbl->put_version(This,v); +} +static FORCEINLINE HRESULT IHTMLHtmlElement_get_version(IHTMLHtmlElement* This,BSTR *p) { + return This->lpVtbl->get_version(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLHtmlElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLHeadElement interface + */ +#ifndef __IHTMLHeadElement_INTERFACE_DEFINED__ +#define __IHTMLHeadElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLHeadElement, 0x3050f81d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f81d-98b5-11cf-bb82-00aa00bdce0b") +IHTMLHeadElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_profile( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_profile( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLHeadElement, 0x3050f81d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLHeadElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLHeadElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLHeadElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLHeadElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLHeadElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLHeadElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLHeadElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLHeadElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLHeadElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_profile)( + IHTMLHeadElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_profile)( + IHTMLHeadElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLHeadElementVtbl; + +interface IHTMLHeadElement { + CONST_VTBL IHTMLHeadElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLHeadElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLHeadElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLHeadElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLHeadElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLHeadElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLHeadElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLHeadElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLHeadElement methods ***/ +#define IHTMLHeadElement_put_profile(This,v) (This)->lpVtbl->put_profile(This,v) +#define IHTMLHeadElement_get_profile(This,p) (This)->lpVtbl->get_profile(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLHeadElement_QueryInterface(IHTMLHeadElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLHeadElement_AddRef(IHTMLHeadElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLHeadElement_Release(IHTMLHeadElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLHeadElement_GetTypeInfoCount(IHTMLHeadElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLHeadElement_GetTypeInfo(IHTMLHeadElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLHeadElement_GetIDsOfNames(IHTMLHeadElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLHeadElement_Invoke(IHTMLHeadElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLHeadElement methods ***/ +static FORCEINLINE HRESULT IHTMLHeadElement_put_profile(IHTMLHeadElement* This,BSTR v) { + return This->lpVtbl->put_profile(This,v); +} +static FORCEINLINE HRESULT IHTMLHeadElement_get_profile(IHTMLHeadElement* This,BSTR *p) { + return This->lpVtbl->get_profile(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLHeadElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLHeadElement2 interface + */ +#ifndef __IHTMLHeadElement2_INTERFACE_DEFINED__ +#define __IHTMLHeadElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLHeadElement2, 0x3051042f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051042f-98b5-11cf-bb82-00aa00bdce0b") +IHTMLHeadElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_profile( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_profile( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLHeadElement2, 0x3051042f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLHeadElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLHeadElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLHeadElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLHeadElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLHeadElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLHeadElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLHeadElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLHeadElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLHeadElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_profile)( + IHTMLHeadElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_profile)( + IHTMLHeadElement2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLHeadElement2Vtbl; + +interface IHTMLHeadElement2 { + CONST_VTBL IHTMLHeadElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLHeadElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLHeadElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLHeadElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLHeadElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLHeadElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLHeadElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLHeadElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLHeadElement2 methods ***/ +#define IHTMLHeadElement2_put_profile(This,v) (This)->lpVtbl->put_profile(This,v) +#define IHTMLHeadElement2_get_profile(This,p) (This)->lpVtbl->get_profile(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLHeadElement2_QueryInterface(IHTMLHeadElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLHeadElement2_AddRef(IHTMLHeadElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLHeadElement2_Release(IHTMLHeadElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLHeadElement2_GetTypeInfoCount(IHTMLHeadElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLHeadElement2_GetTypeInfo(IHTMLHeadElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLHeadElement2_GetIDsOfNames(IHTMLHeadElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLHeadElement2_Invoke(IHTMLHeadElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLHeadElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLHeadElement2_put_profile(IHTMLHeadElement2* This,BSTR v) { + return This->lpVtbl->put_profile(This,v); +} +static FORCEINLINE HRESULT IHTMLHeadElement2_get_profile(IHTMLHeadElement2* This,BSTR *p) { + return This->lpVtbl->get_profile(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLHeadElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLTitleElement interface + */ +#ifndef __IHTMLTitleElement_INTERFACE_DEFINED__ +#define __IHTMLTitleElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTitleElement, 0x3050f322, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f322-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTitleElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTitleElement, 0x3050f322, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTitleElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTitleElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTitleElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTitleElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTitleElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTitleElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTitleElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTitleElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTitleElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_text)( + IHTMLTitleElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IHTMLTitleElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLTitleElementVtbl; + +interface IHTMLTitleElement { + CONST_VTBL IHTMLTitleElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTitleElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTitleElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTitleElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTitleElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTitleElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTitleElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTitleElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTitleElement methods ***/ +#define IHTMLTitleElement_put_text(This,v) (This)->lpVtbl->put_text(This,v) +#define IHTMLTitleElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTitleElement_QueryInterface(IHTMLTitleElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTitleElement_AddRef(IHTMLTitleElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTitleElement_Release(IHTMLTitleElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTitleElement_GetTypeInfoCount(IHTMLTitleElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTitleElement_GetTypeInfo(IHTMLTitleElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTitleElement_GetIDsOfNames(IHTMLTitleElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTitleElement_Invoke(IHTMLTitleElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTitleElement methods ***/ +static FORCEINLINE HRESULT IHTMLTitleElement_put_text(IHTMLTitleElement* This,BSTR v) { + return This->lpVtbl->put_text(This,v); +} +static FORCEINLINE HRESULT IHTMLTitleElement_get_text(IHTMLTitleElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTitleElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLMetaElement interface + */ +#ifndef __IHTMLMetaElement_INTERFACE_DEFINED__ +#define __IHTMLMetaElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLMetaElement, 0x3050f203, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f203-98b5-11cf-bb82-00aa00bdce0b") +IHTMLMetaElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_httpEquiv( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_httpEquiv( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_content( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_content( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_url( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_charset( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_charset( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLMetaElement, 0x3050f203, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLMetaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLMetaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLMetaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLMetaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLMetaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLMetaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLMetaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLMetaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLMetaElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_httpEquiv)( + IHTMLMetaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_httpEquiv)( + IHTMLMetaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_content)( + IHTMLMetaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_content)( + IHTMLMetaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLMetaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLMetaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_url)( + IHTMLMetaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IHTMLMetaElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_charset)( + IHTMLMetaElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_charset)( + IHTMLMetaElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLMetaElementVtbl; + +interface IHTMLMetaElement { + CONST_VTBL IHTMLMetaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLMetaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLMetaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLMetaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLMetaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLMetaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLMetaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLMetaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLMetaElement methods ***/ +#define IHTMLMetaElement_put_httpEquiv(This,v) (This)->lpVtbl->put_httpEquiv(This,v) +#define IHTMLMetaElement_get_httpEquiv(This,p) (This)->lpVtbl->get_httpEquiv(This,p) +#define IHTMLMetaElement_put_content(This,v) (This)->lpVtbl->put_content(This,v) +#define IHTMLMetaElement_get_content(This,p) (This)->lpVtbl->get_content(This,p) +#define IHTMLMetaElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLMetaElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLMetaElement_put_url(This,v) (This)->lpVtbl->put_url(This,v) +#define IHTMLMetaElement_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IHTMLMetaElement_put_charset(This,v) (This)->lpVtbl->put_charset(This,v) +#define IHTMLMetaElement_get_charset(This,p) (This)->lpVtbl->get_charset(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement_QueryInterface(IHTMLMetaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLMetaElement_AddRef(IHTMLMetaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLMetaElement_Release(IHTMLMetaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement_GetTypeInfoCount(IHTMLMetaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLMetaElement_GetTypeInfo(IHTMLMetaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLMetaElement_GetIDsOfNames(IHTMLMetaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLMetaElement_Invoke(IHTMLMetaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLMetaElement methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement_put_httpEquiv(IHTMLMetaElement* This,BSTR v) { + return This->lpVtbl->put_httpEquiv(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement_get_httpEquiv(IHTMLMetaElement* This,BSTR *p) { + return This->lpVtbl->get_httpEquiv(This,p); +} +static FORCEINLINE HRESULT IHTMLMetaElement_put_content(IHTMLMetaElement* This,BSTR v) { + return This->lpVtbl->put_content(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement_get_content(IHTMLMetaElement* This,BSTR *p) { + return This->lpVtbl->get_content(This,p); +} +static FORCEINLINE HRESULT IHTMLMetaElement_put_name(IHTMLMetaElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement_get_name(IHTMLMetaElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLMetaElement_put_url(IHTMLMetaElement* This,BSTR v) { + return This->lpVtbl->put_url(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement_get_url(IHTMLMetaElement* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IHTMLMetaElement_put_charset(IHTMLMetaElement* This,BSTR v) { + return This->lpVtbl->put_charset(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement_get_charset(IHTMLMetaElement* This,BSTR *p) { + return This->lpVtbl->get_charset(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLMetaElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLMetaElement2 interface + */ +#ifndef __IHTMLMetaElement2_INTERFACE_DEFINED__ +#define __IHTMLMetaElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLMetaElement2, 0x3050f81f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f81f-98b5-11cf-bb82-00aa00bdce0b") +IHTMLMetaElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_scheme( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scheme( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLMetaElement2, 0x3050f81f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLMetaElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLMetaElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLMetaElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLMetaElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLMetaElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLMetaElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLMetaElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLMetaElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLMetaElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_scheme)( + IHTMLMetaElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_scheme)( + IHTMLMetaElement2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLMetaElement2Vtbl; + +interface IHTMLMetaElement2 { + CONST_VTBL IHTMLMetaElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLMetaElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLMetaElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLMetaElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLMetaElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLMetaElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLMetaElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLMetaElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLMetaElement2 methods ***/ +#define IHTMLMetaElement2_put_scheme(This,v) (This)->lpVtbl->put_scheme(This,v) +#define IHTMLMetaElement2_get_scheme(This,p) (This)->lpVtbl->get_scheme(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement2_QueryInterface(IHTMLMetaElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLMetaElement2_AddRef(IHTMLMetaElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLMetaElement2_Release(IHTMLMetaElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement2_GetTypeInfoCount(IHTMLMetaElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLMetaElement2_GetTypeInfo(IHTMLMetaElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLMetaElement2_GetIDsOfNames(IHTMLMetaElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLMetaElement2_Invoke(IHTMLMetaElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLMetaElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement2_put_scheme(IHTMLMetaElement2* This,BSTR v) { + return This->lpVtbl->put_scheme(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement2_get_scheme(IHTMLMetaElement2* This,BSTR *p) { + return This->lpVtbl->get_scheme(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLMetaElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLMetaElement3 interface + */ +#ifndef __IHTMLMetaElement3_INTERFACE_DEFINED__ +#define __IHTMLMetaElement3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLMetaElement3, 0x30510495, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510495-98b5-11cf-bb82-00aa00bdce0b") +IHTMLMetaElement3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_url( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLMetaElement3, 0x30510495, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLMetaElement3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLMetaElement3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLMetaElement3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLMetaElement3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLMetaElement3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLMetaElement3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLMetaElement3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLMetaElement3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLMetaElement3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_url)( + IHTMLMetaElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IHTMLMetaElement3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLMetaElement3Vtbl; + +interface IHTMLMetaElement3 { + CONST_VTBL IHTMLMetaElement3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLMetaElement3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLMetaElement3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLMetaElement3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLMetaElement3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLMetaElement3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLMetaElement3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLMetaElement3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLMetaElement3 methods ***/ +#define IHTMLMetaElement3_put_url(This,v) (This)->lpVtbl->put_url(This,v) +#define IHTMLMetaElement3_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement3_QueryInterface(IHTMLMetaElement3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLMetaElement3_AddRef(IHTMLMetaElement3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLMetaElement3_Release(IHTMLMetaElement3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement3_GetTypeInfoCount(IHTMLMetaElement3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLMetaElement3_GetTypeInfo(IHTMLMetaElement3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLMetaElement3_GetIDsOfNames(IHTMLMetaElement3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLMetaElement3_Invoke(IHTMLMetaElement3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLMetaElement3 methods ***/ +static FORCEINLINE HRESULT IHTMLMetaElement3_put_url(IHTMLMetaElement3* This,BSTR v) { + return This->lpVtbl->put_url(This,v); +} +static FORCEINLINE HRESULT IHTMLMetaElement3_get_url(IHTMLMetaElement3* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLMetaElement3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLHtmlElement dispinterface + */ +#ifndef __DispHTMLHtmlElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLHtmlElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLHtmlElement, 0x3050f560, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f560-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLHtmlElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLHtmlElement, 0x3050f560, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLHtmlElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLHtmlElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLHtmlElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLHtmlElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLHtmlElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLHtmlElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLHtmlElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLHtmlElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLHtmlElementVtbl; + +interface DispHTMLHtmlElement { + CONST_VTBL DispHTMLHtmlElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLHtmlElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLHtmlElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLHtmlElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLHtmlElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLHtmlElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLHtmlElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLHtmlElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLHtmlElement_QueryInterface(DispHTMLHtmlElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLHtmlElement_AddRef(DispHTMLHtmlElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLHtmlElement_Release(DispHTMLHtmlElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLHtmlElement_GetTypeInfoCount(DispHTMLHtmlElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLHtmlElement_GetTypeInfo(DispHTMLHtmlElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLHtmlElement_GetIDsOfNames(DispHTMLHtmlElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLHtmlElement_Invoke(DispHTMLHtmlElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLHtmlElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLHtmlElement coclass + */ + +DEFINE_GUID(CLSID_HTMLHtmlElement, 0x3050f491, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f491-98b5-11cf-bb82-00aa00bdce0b") HTMLHtmlElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLHtmlElement, 0x3050f491, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * DispHTMLHeadElement dispinterface + */ +#ifndef __DispHTMLHeadElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLHeadElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLHeadElement, 0x3050f561, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f561-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLHeadElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLHeadElement, 0x3050f561, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLHeadElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLHeadElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLHeadElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLHeadElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLHeadElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLHeadElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLHeadElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLHeadElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLHeadElementVtbl; + +interface DispHTMLHeadElement { + CONST_VTBL DispHTMLHeadElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLHeadElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLHeadElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLHeadElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLHeadElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLHeadElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLHeadElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLHeadElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLHeadElement_QueryInterface(DispHTMLHeadElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLHeadElement_AddRef(DispHTMLHeadElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLHeadElement_Release(DispHTMLHeadElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLHeadElement_GetTypeInfoCount(DispHTMLHeadElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLHeadElement_GetTypeInfo(DispHTMLHeadElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLHeadElement_GetIDsOfNames(DispHTMLHeadElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLHeadElement_Invoke(DispHTMLHeadElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLHeadElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLHeadElement coclass + */ + +DEFINE_GUID(CLSID_HTMLHeadElement, 0x3050f493, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f493-98b5-11cf-bb82-00aa00bdce0b") HTMLHeadElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLHeadElement, 0x3050f493, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * DispHTMLTitleElement dispinterface + */ +#ifndef __DispHTMLTitleElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLTitleElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLTitleElement, 0x3050f516, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f516-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLTitleElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLTitleElement, 0x3050f516, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLTitleElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLTitleElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLTitleElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLTitleElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLTitleElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLTitleElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLTitleElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLTitleElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLTitleElementVtbl; + +interface DispHTMLTitleElement { + CONST_VTBL DispHTMLTitleElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLTitleElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLTitleElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLTitleElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLTitleElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLTitleElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLTitleElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLTitleElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLTitleElement_QueryInterface(DispHTMLTitleElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLTitleElement_AddRef(DispHTMLTitleElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLTitleElement_Release(DispHTMLTitleElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLTitleElement_GetTypeInfoCount(DispHTMLTitleElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLTitleElement_GetTypeInfo(DispHTMLTitleElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLTitleElement_GetIDsOfNames(DispHTMLTitleElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLTitleElement_Invoke(DispHTMLTitleElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLTitleElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTitleElement coclass + */ + +DEFINE_GUID(CLSID_HTMLTitleElement, 0x3050f284, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f284-98b5-11cf-bb82-00aa00bdce0b") HTMLTitleElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTitleElement, 0x3050f284, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * DispHTMLMetaElement dispinterface + */ +#ifndef __DispHTMLMetaElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLMetaElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLMetaElement, 0x3050f517, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f517-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLMetaElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLMetaElement, 0x3050f517, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLMetaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLMetaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLMetaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLMetaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLMetaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLMetaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLMetaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLMetaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLMetaElementVtbl; + +interface DispHTMLMetaElement { + CONST_VTBL DispHTMLMetaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLMetaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLMetaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLMetaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLMetaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLMetaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLMetaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLMetaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLMetaElement_QueryInterface(DispHTMLMetaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLMetaElement_AddRef(DispHTMLMetaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLMetaElement_Release(DispHTMLMetaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLMetaElement_GetTypeInfoCount(DispHTMLMetaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLMetaElement_GetTypeInfo(DispHTMLMetaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLMetaElement_GetIDsOfNames(DispHTMLMetaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLMetaElement_Invoke(DispHTMLMetaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLMetaElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLMetaElement coclass + */ + +DEFINE_GUID(CLSID_HTMLMetaElement, 0x3050f275, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f275-98b5-11cf-bb82-00aa00bdce0b") HTMLMetaElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLMetaElement, 0x3050f275, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * DispHTMLUnknownElement dispinterface + */ +#ifndef __DispHTMLUnknownElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLUnknownElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLUnknownElement, 0x3050f539, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f539-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLUnknownElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLUnknownElement, 0x3050f539, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLUnknownElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLUnknownElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLUnknownElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLUnknownElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLUnknownElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLUnknownElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLUnknownElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLUnknownElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLUnknownElementVtbl; + +interface DispHTMLUnknownElement { + CONST_VTBL DispHTMLUnknownElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLUnknownElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLUnknownElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLUnknownElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLUnknownElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLUnknownElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLUnknownElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLUnknownElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLUnknownElement_QueryInterface(DispHTMLUnknownElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLUnknownElement_AddRef(DispHTMLUnknownElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLUnknownElement_Release(DispHTMLUnknownElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLUnknownElement_GetTypeInfoCount(DispHTMLUnknownElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLUnknownElement_GetTypeInfo(DispHTMLUnknownElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLUnknownElement_GetIDsOfNames(DispHTMLUnknownElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLUnknownElement_Invoke(DispHTMLUnknownElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLUnknownElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLUnknownElement coclass + */ + +DEFINE_GUID(CLSID_HTMLUnknownElement, 0x3050f268, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f268-98b5-11cf-bb82-00aa00bdce0b") HTMLUnknownElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLUnknownElement, 0x3050f268, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IOmHistory interface + */ +#ifndef __IOmHistory_INTERFACE_DEFINED__ +#define __IOmHistory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOmHistory, 0xfeceaaa2, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("feceaaa2-8405-11cf-8ba1-00aa00476da6") +IOmHistory : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + short *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE back( + VARIANT *pvargdistance) = 0; + + virtual HRESULT STDMETHODCALLTYPE forward( + VARIANT *pvargdistance) = 0; + + virtual HRESULT STDMETHODCALLTYPE go( + VARIANT *pvargdistance) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOmHistory, 0xfeceaaa2, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6) +#endif +#else +typedef struct IOmHistoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOmHistory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOmHistory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOmHistory *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IOmHistory *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IOmHistory *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IOmHistory *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IOmHistory *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IOmHistory methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IOmHistory *This, + short *p); + + HRESULT (STDMETHODCALLTYPE *back)( + IOmHistory *This, + VARIANT *pvargdistance); + + HRESULT (STDMETHODCALLTYPE *forward)( + IOmHistory *This, + VARIANT *pvargdistance); + + HRESULT (STDMETHODCALLTYPE *go)( + IOmHistory *This, + VARIANT *pvargdistance); + + END_INTERFACE +} IOmHistoryVtbl; + +interface IOmHistory { + CONST_VTBL IOmHistoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOmHistory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOmHistory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOmHistory_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IOmHistory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IOmHistory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IOmHistory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IOmHistory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IOmHistory methods ***/ +#define IOmHistory_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IOmHistory_back(This,pvargdistance) (This)->lpVtbl->back(This,pvargdistance) +#define IOmHistory_forward(This,pvargdistance) (This)->lpVtbl->forward(This,pvargdistance) +#define IOmHistory_go(This,pvargdistance) (This)->lpVtbl->go(This,pvargdistance) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOmHistory_QueryInterface(IOmHistory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOmHistory_AddRef(IOmHistory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOmHistory_Release(IOmHistory* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IOmHistory_GetTypeInfoCount(IOmHistory* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IOmHistory_GetTypeInfo(IOmHistory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IOmHistory_GetIDsOfNames(IOmHistory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IOmHistory_Invoke(IOmHistory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IOmHistory methods ***/ +static FORCEINLINE HRESULT IOmHistory_get_length(IOmHistory* This,short *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IOmHistory_back(IOmHistory* This,VARIANT *pvargdistance) { + return This->lpVtbl->back(This,pvargdistance); +} +static FORCEINLINE HRESULT IOmHistory_forward(IOmHistory* This,VARIANT *pvargdistance) { + return This->lpVtbl->forward(This,pvargdistance); +} +static FORCEINLINE HRESULT IOmHistory_go(IOmHistory* This,VARIANT *pvargdistance) { + return This->lpVtbl->go(This,pvargdistance); +} +#endif +#endif + +#endif + + +#endif /* __IOmHistory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLHistory coclass + */ + +DEFINE_GUID(CLSID_HTMLHistory, 0xfeceaaa3, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6); + +#ifdef __cplusplus +class DECLSPEC_UUID("feceaaa3-8405-11cf-8ba1-00aa00476da6") HTMLHistory; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLHistory, 0xfeceaaa3, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6) +#endif +#endif + +/***************************************************************************** + * IHTMLMimeTypesCollection interface + */ +#ifndef __IHTMLMimeTypesCollection_INTERFACE_DEFINED__ +#define __IHTMLMimeTypesCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLMimeTypesCollection, 0x3050f3fc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3fc-98b5-11cf-bb82-00aa00bdce0b") +IHTMLMimeTypesCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLMimeTypesCollection, 0x3050f3fc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLMimeTypesCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLMimeTypesCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLMimeTypesCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLMimeTypesCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLMimeTypesCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLMimeTypesCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLMimeTypesCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLMimeTypesCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLMimeTypesCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLMimeTypesCollection *This, + LONG *p); + + END_INTERFACE +} IHTMLMimeTypesCollectionVtbl; + +interface IHTMLMimeTypesCollection { + CONST_VTBL IHTMLMimeTypesCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLMimeTypesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLMimeTypesCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLMimeTypesCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLMimeTypesCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLMimeTypesCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLMimeTypesCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLMimeTypesCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLMimeTypesCollection methods ***/ +#define IHTMLMimeTypesCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLMimeTypesCollection_QueryInterface(IHTMLMimeTypesCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLMimeTypesCollection_AddRef(IHTMLMimeTypesCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLMimeTypesCollection_Release(IHTMLMimeTypesCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLMimeTypesCollection_GetTypeInfoCount(IHTMLMimeTypesCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLMimeTypesCollection_GetTypeInfo(IHTMLMimeTypesCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLMimeTypesCollection_GetIDsOfNames(IHTMLMimeTypesCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLMimeTypesCollection_Invoke(IHTMLMimeTypesCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLMimeTypesCollection methods ***/ +static FORCEINLINE HRESULT IHTMLMimeTypesCollection_get_length(IHTMLMimeTypesCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLMimeTypesCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CMimeTypes coclass + */ + +DEFINE_GUID(CLSID_CMimeTypes, 0x3050f3fe, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f3fe-98b5-11cf-bb82-00aa00bdce0b") CMimeTypes; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CMimeTypes, 0x3050f3fe, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLPluginsCollection interface + */ +#ifndef __IHTMLPluginsCollection_INTERFACE_DEFINED__ +#define __IHTMLPluginsCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLPluginsCollection, 0x3050f3fd, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f3fd-98b5-11cf-bb82-00aa00bdce0b") +IHTMLPluginsCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE refresh( + VARIANT_BOOL reload = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLPluginsCollection, 0x3050f3fd, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLPluginsCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLPluginsCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLPluginsCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLPluginsCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLPluginsCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLPluginsCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLPluginsCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLPluginsCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLPluginsCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLPluginsCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *refresh)( + IHTMLPluginsCollection *This, + VARIANT_BOOL reload); + + END_INTERFACE +} IHTMLPluginsCollectionVtbl; + +interface IHTMLPluginsCollection { + CONST_VTBL IHTMLPluginsCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLPluginsCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLPluginsCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLPluginsCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLPluginsCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLPluginsCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLPluginsCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLPluginsCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLPluginsCollection methods ***/ +#define IHTMLPluginsCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLPluginsCollection_refresh(This,reload) (This)->lpVtbl->refresh(This,reload) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLPluginsCollection_QueryInterface(IHTMLPluginsCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLPluginsCollection_AddRef(IHTMLPluginsCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLPluginsCollection_Release(IHTMLPluginsCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLPluginsCollection_GetTypeInfoCount(IHTMLPluginsCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLPluginsCollection_GetTypeInfo(IHTMLPluginsCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLPluginsCollection_GetIDsOfNames(IHTMLPluginsCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLPluginsCollection_Invoke(IHTMLPluginsCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLPluginsCollection methods ***/ +static FORCEINLINE HRESULT IHTMLPluginsCollection_get_length(IHTMLPluginsCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLPluginsCollection_refresh(IHTMLPluginsCollection* This,VARIANT_BOOL reload) { + return This->lpVtbl->refresh(This,reload); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLPluginsCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispCPlugins dispinterface + */ +#ifndef __DispCPlugins_DISPINTERFACE_DEFINED__ +#define __DispCPlugins_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispCPlugins, 0x3050f54a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f54a-98b5-11cf-bb82-00aa00bdce0b") +DispCPlugins : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispCPlugins, 0x3050f54a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispCPluginsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispCPlugins *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispCPlugins *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispCPlugins *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispCPlugins *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispCPlugins *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispCPlugins *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispCPlugins *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispCPluginsVtbl; + +interface DispCPlugins { + CONST_VTBL DispCPluginsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispCPlugins_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispCPlugins_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispCPlugins_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispCPlugins_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispCPlugins_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispCPlugins_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispCPlugins_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispCPlugins_QueryInterface(DispCPlugins* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispCPlugins_AddRef(DispCPlugins* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispCPlugins_Release(DispCPlugins* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispCPlugins_GetTypeInfoCount(DispCPlugins* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispCPlugins_GetTypeInfo(DispCPlugins* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispCPlugins_GetIDsOfNames(DispCPlugins* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispCPlugins_Invoke(DispCPlugins* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispCPlugins_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * CPlugins coclass + */ + +DEFINE_GUID(CLSID_CPlugins, 0x3050f3ff, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f3ff-98b5-11cf-bb82-00aa00bdce0b") CPlugins; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CPlugins, 0x3050f3ff, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLOpsProfile interface + */ +#ifndef __IHTMLOpsProfile_INTERFACE_DEFINED__ +#define __IHTMLOpsProfile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLOpsProfile, 0x3050f401, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f401-98b5-11cf-bb82-00aa00bdce0b") +IHTMLOpsProfile : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE addRequest( + BSTR name, + VARIANT reserved, + VARIANT_BOOL *success) = 0; + + virtual HRESULT STDMETHODCALLTYPE clearRequest( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE doRequest( + VARIANT usage, + VARIANT fname, + VARIANT domain, + VARIANT path, + VARIANT expire, + VARIANT reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR name, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR name, + BSTR value, + VARIANT prefs, + VARIANT_BOOL *success) = 0; + + virtual HRESULT STDMETHODCALLTYPE commitChanges( + VARIANT_BOOL *success) = 0; + + virtual HRESULT STDMETHODCALLTYPE addReadRequest( + BSTR name, + VARIANT reserved, + VARIANT_BOOL *success) = 0; + + virtual HRESULT STDMETHODCALLTYPE doReadRequest( + VARIANT usage, + VARIANT fname, + VARIANT domain, + VARIANT path, + VARIANT expire, + VARIANT reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE doWriteRequest( + VARIANT_BOOL *success) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLOpsProfile, 0x3050f401, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLOpsProfileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLOpsProfile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLOpsProfile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLOpsProfile *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLOpsProfile *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLOpsProfile *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLOpsProfile *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLOpsProfile *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLOpsProfile methods ***/ + HRESULT (STDMETHODCALLTYPE *addRequest)( + IHTMLOpsProfile *This, + BSTR name, + VARIANT reserved, + VARIANT_BOOL *success); + + HRESULT (STDMETHODCALLTYPE *clearRequest)( + IHTMLOpsProfile *This); + + HRESULT (STDMETHODCALLTYPE *doRequest)( + IHTMLOpsProfile *This, + VARIANT usage, + VARIANT fname, + VARIANT domain, + VARIANT path, + VARIANT expire, + VARIANT reserved); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IHTMLOpsProfile *This, + BSTR name, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IHTMLOpsProfile *This, + BSTR name, + BSTR value, + VARIANT prefs, + VARIANT_BOOL *success); + + HRESULT (STDMETHODCALLTYPE *commitChanges)( + IHTMLOpsProfile *This, + VARIANT_BOOL *success); + + HRESULT (STDMETHODCALLTYPE *addReadRequest)( + IHTMLOpsProfile *This, + BSTR name, + VARIANT reserved, + VARIANT_BOOL *success); + + HRESULT (STDMETHODCALLTYPE *doReadRequest)( + IHTMLOpsProfile *This, + VARIANT usage, + VARIANT fname, + VARIANT domain, + VARIANT path, + VARIANT expire, + VARIANT reserved); + + HRESULT (STDMETHODCALLTYPE *doWriteRequest)( + IHTMLOpsProfile *This, + VARIANT_BOOL *success); + + END_INTERFACE +} IHTMLOpsProfileVtbl; + +interface IHTMLOpsProfile { + CONST_VTBL IHTMLOpsProfileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLOpsProfile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLOpsProfile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLOpsProfile_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLOpsProfile_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLOpsProfile_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLOpsProfile_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLOpsProfile_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLOpsProfile methods ***/ +#define IHTMLOpsProfile_addRequest(This,name,reserved,success) (This)->lpVtbl->addRequest(This,name,reserved,success) +#define IHTMLOpsProfile_clearRequest(This) (This)->lpVtbl->clearRequest(This) +#define IHTMLOpsProfile_doRequest(This,usage,fname,domain,path,expire,reserved) (This)->lpVtbl->doRequest(This,usage,fname,domain,path,expire,reserved) +#define IHTMLOpsProfile_getAttribute(This,name,value) (This)->lpVtbl->getAttribute(This,name,value) +#define IHTMLOpsProfile_setAttribute(This,name,value,prefs,success) (This)->lpVtbl->setAttribute(This,name,value,prefs,success) +#define IHTMLOpsProfile_commitChanges(This,success) (This)->lpVtbl->commitChanges(This,success) +#define IHTMLOpsProfile_addReadRequest(This,name,reserved,success) (This)->lpVtbl->addReadRequest(This,name,reserved,success) +#define IHTMLOpsProfile_doReadRequest(This,usage,fname,domain,path,expire,reserved) (This)->lpVtbl->doReadRequest(This,usage,fname,domain,path,expire,reserved) +#define IHTMLOpsProfile_doWriteRequest(This,success) (This)->lpVtbl->doWriteRequest(This,success) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLOpsProfile_QueryInterface(IHTMLOpsProfile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLOpsProfile_AddRef(IHTMLOpsProfile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLOpsProfile_Release(IHTMLOpsProfile* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLOpsProfile_GetTypeInfoCount(IHTMLOpsProfile* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_GetTypeInfo(IHTMLOpsProfile* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_GetIDsOfNames(IHTMLOpsProfile* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_Invoke(IHTMLOpsProfile* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLOpsProfile methods ***/ +static FORCEINLINE HRESULT IHTMLOpsProfile_addRequest(IHTMLOpsProfile* This,BSTR name,VARIANT reserved,VARIANT_BOOL *success) { + return This->lpVtbl->addRequest(This,name,reserved,success); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_clearRequest(IHTMLOpsProfile* This) { + return This->lpVtbl->clearRequest(This); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_doRequest(IHTMLOpsProfile* This,VARIANT usage,VARIANT fname,VARIANT domain,VARIANT path,VARIANT expire,VARIANT reserved) { + return This->lpVtbl->doRequest(This,usage,fname,domain,path,expire,reserved); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_getAttribute(IHTMLOpsProfile* This,BSTR name,BSTR *value) { + return This->lpVtbl->getAttribute(This,name,value); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_setAttribute(IHTMLOpsProfile* This,BSTR name,BSTR value,VARIANT prefs,VARIANT_BOOL *success) { + return This->lpVtbl->setAttribute(This,name,value,prefs,success); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_commitChanges(IHTMLOpsProfile* This,VARIANT_BOOL *success) { + return This->lpVtbl->commitChanges(This,success); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_addReadRequest(IHTMLOpsProfile* This,BSTR name,VARIANT reserved,VARIANT_BOOL *success) { + return This->lpVtbl->addReadRequest(This,name,reserved,success); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_doReadRequest(IHTMLOpsProfile* This,VARIANT usage,VARIANT fname,VARIANT domain,VARIANT path,VARIANT expire,VARIANT reserved) { + return This->lpVtbl->doReadRequest(This,usage,fname,domain,path,expire,reserved); +} +static FORCEINLINE HRESULT IHTMLOpsProfile_doWriteRequest(IHTMLOpsProfile* This,VARIANT_BOOL *success) { + return This->lpVtbl->doWriteRequest(This,success); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLOpsProfile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * COpsProfile coclass + */ + +DEFINE_GUID(CLSID_COpsProfile, 0x3050f402, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f402-98b5-11cf-bb82-00aa00bdce0b") COpsProfile; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(COpsProfile, 0x3050f402, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IOmNavigator interface + */ +#ifndef __IOmNavigator_INTERFACE_DEFINED__ +#define __IOmNavigator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOmNavigator, 0xfeceaaa5, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("feceaaa5-8405-11cf-8ba1-00aa00476da6") +IOmNavigator : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_appCodeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_appName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_appVersion( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_userAgent( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE javaEnabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE taintEnabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mimeTypes( + IHTMLMimeTypesCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_plugins( + IHTMLPluginsCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cookieEnabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_opsProfile( + IHTMLOpsProfile **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cpuClass( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemLanguage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_browserLanguage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_userLanguage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_platform( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_appMinorVersion( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_connectionSpeed( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onLine( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_userProfile( + IHTMLOpsProfile **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOmNavigator, 0xfeceaaa5, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6) +#endif +#else +typedef struct IOmNavigatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOmNavigator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOmNavigator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOmNavigator *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IOmNavigator *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IOmNavigator *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IOmNavigator *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IOmNavigator *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IOmNavigator methods ***/ + HRESULT (STDMETHODCALLTYPE *get_appCodeName)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_appName)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_appVersion)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_userAgent)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *javaEnabled)( + IOmNavigator *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *taintEnabled)( + IOmNavigator *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *get_mimeTypes)( + IOmNavigator *This, + IHTMLMimeTypesCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_plugins)( + IOmNavigator *This, + IHTMLPluginsCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_cookieEnabled)( + IOmNavigator *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_opsProfile)( + IOmNavigator *This, + IHTMLOpsProfile **p); + + HRESULT (STDMETHODCALLTYPE *toString)( + IOmNavigator *This, + BSTR *String); + + HRESULT (STDMETHODCALLTYPE *get_cpuClass)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_systemLanguage)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_browserLanguage)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_userLanguage)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_platform)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_appMinorVersion)( + IOmNavigator *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_connectionSpeed)( + IOmNavigator *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_onLine)( + IOmNavigator *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_userProfile)( + IOmNavigator *This, + IHTMLOpsProfile **p); + + END_INTERFACE +} IOmNavigatorVtbl; + +interface IOmNavigator { + CONST_VTBL IOmNavigatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOmNavigator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOmNavigator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOmNavigator_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IOmNavigator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IOmNavigator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IOmNavigator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IOmNavigator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IOmNavigator methods ***/ +#define IOmNavigator_get_appCodeName(This,p) (This)->lpVtbl->get_appCodeName(This,p) +#define IOmNavigator_get_appName(This,p) (This)->lpVtbl->get_appName(This,p) +#define IOmNavigator_get_appVersion(This,p) (This)->lpVtbl->get_appVersion(This,p) +#define IOmNavigator_get_userAgent(This,p) (This)->lpVtbl->get_userAgent(This,p) +#define IOmNavigator_javaEnabled(This,enabled) (This)->lpVtbl->javaEnabled(This,enabled) +#define IOmNavigator_taintEnabled(This,enabled) (This)->lpVtbl->taintEnabled(This,enabled) +#define IOmNavigator_get_mimeTypes(This,p) (This)->lpVtbl->get_mimeTypes(This,p) +#define IOmNavigator_get_plugins(This,p) (This)->lpVtbl->get_plugins(This,p) +#define IOmNavigator_get_cookieEnabled(This,p) (This)->lpVtbl->get_cookieEnabled(This,p) +#define IOmNavigator_get_opsProfile(This,p) (This)->lpVtbl->get_opsProfile(This,p) +#define IOmNavigator_toString(This,String) (This)->lpVtbl->toString(This,String) +#define IOmNavigator_get_cpuClass(This,p) (This)->lpVtbl->get_cpuClass(This,p) +#define IOmNavigator_get_systemLanguage(This,p) (This)->lpVtbl->get_systemLanguage(This,p) +#define IOmNavigator_get_browserLanguage(This,p) (This)->lpVtbl->get_browserLanguage(This,p) +#define IOmNavigator_get_userLanguage(This,p) (This)->lpVtbl->get_userLanguage(This,p) +#define IOmNavigator_get_platform(This,p) (This)->lpVtbl->get_platform(This,p) +#define IOmNavigator_get_appMinorVersion(This,p) (This)->lpVtbl->get_appMinorVersion(This,p) +#define IOmNavigator_get_connectionSpeed(This,p) (This)->lpVtbl->get_connectionSpeed(This,p) +#define IOmNavigator_get_onLine(This,p) (This)->lpVtbl->get_onLine(This,p) +#define IOmNavigator_get_userProfile(This,p) (This)->lpVtbl->get_userProfile(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOmNavigator_QueryInterface(IOmNavigator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOmNavigator_AddRef(IOmNavigator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOmNavigator_Release(IOmNavigator* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IOmNavigator_GetTypeInfoCount(IOmNavigator* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IOmNavigator_GetTypeInfo(IOmNavigator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IOmNavigator_GetIDsOfNames(IOmNavigator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IOmNavigator_Invoke(IOmNavigator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IOmNavigator methods ***/ +static FORCEINLINE HRESULT IOmNavigator_get_appCodeName(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_appCodeName(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_appName(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_appName(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_appVersion(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_appVersion(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_userAgent(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_userAgent(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_javaEnabled(IOmNavigator* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->javaEnabled(This,enabled); +} +static FORCEINLINE HRESULT IOmNavigator_taintEnabled(IOmNavigator* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->taintEnabled(This,enabled); +} +static FORCEINLINE HRESULT IOmNavigator_get_mimeTypes(IOmNavigator* This,IHTMLMimeTypesCollection **p) { + return This->lpVtbl->get_mimeTypes(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_plugins(IOmNavigator* This,IHTMLPluginsCollection **p) { + return This->lpVtbl->get_plugins(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_cookieEnabled(IOmNavigator* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_cookieEnabled(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_opsProfile(IOmNavigator* This,IHTMLOpsProfile **p) { + return This->lpVtbl->get_opsProfile(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_toString(IOmNavigator* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +static FORCEINLINE HRESULT IOmNavigator_get_cpuClass(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_cpuClass(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_systemLanguage(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_systemLanguage(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_browserLanguage(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_browserLanguage(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_userLanguage(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_userLanguage(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_platform(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_platform(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_appMinorVersion(IOmNavigator* This,BSTR *p) { + return This->lpVtbl->get_appMinorVersion(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_connectionSpeed(IOmNavigator* This,LONG *p) { + return This->lpVtbl->get_connectionSpeed(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_onLine(IOmNavigator* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_onLine(This,p); +} +static FORCEINLINE HRESULT IOmNavigator_get_userProfile(IOmNavigator* This,IHTMLOpsProfile **p) { + return This->lpVtbl->get_userProfile(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IOmNavigator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLNavigator dispinterface + */ +#ifndef __DispHTMLNavigator_DISPINTERFACE_DEFINED__ +#define __DispHTMLNavigator_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLNavigator, 0x3050f54c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f54c-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLNavigator : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLNavigator, 0x3050f54c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLNavigatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLNavigator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLNavigator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLNavigator *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLNavigator *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLNavigator *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLNavigator *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLNavigator *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLNavigatorVtbl; + +interface DispHTMLNavigator { + CONST_VTBL DispHTMLNavigatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLNavigator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLNavigator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLNavigator_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLNavigator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLNavigator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLNavigator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLNavigator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLNavigator_QueryInterface(DispHTMLNavigator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLNavigator_AddRef(DispHTMLNavigator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLNavigator_Release(DispHTMLNavigator* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLNavigator_GetTypeInfoCount(DispHTMLNavigator* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLNavigator_GetTypeInfo(DispHTMLNavigator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLNavigator_GetIDsOfNames(DispHTMLNavigator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLNavigator_Invoke(DispHTMLNavigator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLNavigator_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLNavigator coclass + */ + +DEFINE_GUID(CLSID_HTMLNavigator, 0xfeceaaa6, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6); + +#ifdef __cplusplus +class DECLSPEC_UUID("feceaaa6-8405-11cf-8ba1-00aa00476da6") HTMLNavigator; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLNavigator, 0xfeceaaa6, 0x8405, 0x11cf, 0x8b,0xa1, 0x00,0xaa,0x00,0x47,0x6d,0xa6) +#endif +#endif + +/***************************************************************************** + * IHTMLLocation interface + */ +#ifndef __IHTMLLocation_INTERFACE_DEFINED__ +#define __IHTMLLocation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLLocation, 0x163bb1e0, 0x6e00, 0x11cf, 0x83,0x7a, 0x48,0xdc,0x04,0xc1,0x00,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("163bb1e0-6e00-11cf-837a-48dc04c10000") +IHTMLLocation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_href( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_href( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_protocol( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_protocol( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_host( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_host( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hostname( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hostname( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_port( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_port( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_pathname( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pathname( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_search( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_search( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hash( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hash( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE reload( + VARIANT_BOOL flag = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE replace( + BSTR bstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE assign( + BSTR bstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLLocation, 0x163bb1e0, 0x6e00, 0x11cf, 0x83,0x7a, 0x48,0xdc,0x04,0xc1,0x00,0x00) +#endif +#else +typedef struct IHTMLLocationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLLocation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLLocation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLLocation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLLocation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLLocation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLLocation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLLocation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLLocation methods ***/ + HRESULT (STDMETHODCALLTYPE *put_href)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_href)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_protocol)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_protocol)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_host)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_host)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hostname)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hostname)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_port)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_port)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_pathname)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_pathname)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_search)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_search)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_hash)( + IHTMLLocation *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hash)( + IHTMLLocation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *reload)( + IHTMLLocation *This, + VARIANT_BOOL flag); + + HRESULT (STDMETHODCALLTYPE *replace)( + IHTMLLocation *This, + BSTR bstr); + + HRESULT (STDMETHODCALLTYPE *assign)( + IHTMLLocation *This, + BSTR bstr); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLLocation *This, + BSTR *String); + + END_INTERFACE +} IHTMLLocationVtbl; + +interface IHTMLLocation { + CONST_VTBL IHTMLLocationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLLocation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLLocation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLLocation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLLocation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLLocation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLLocation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLLocation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLLocation methods ***/ +#define IHTMLLocation_put_href(This,v) (This)->lpVtbl->put_href(This,v) +#define IHTMLLocation_get_href(This,p) (This)->lpVtbl->get_href(This,p) +#define IHTMLLocation_put_protocol(This,v) (This)->lpVtbl->put_protocol(This,v) +#define IHTMLLocation_get_protocol(This,p) (This)->lpVtbl->get_protocol(This,p) +#define IHTMLLocation_put_host(This,v) (This)->lpVtbl->put_host(This,v) +#define IHTMLLocation_get_host(This,p) (This)->lpVtbl->get_host(This,p) +#define IHTMLLocation_put_hostname(This,v) (This)->lpVtbl->put_hostname(This,v) +#define IHTMLLocation_get_hostname(This,p) (This)->lpVtbl->get_hostname(This,p) +#define IHTMLLocation_put_port(This,v) (This)->lpVtbl->put_port(This,v) +#define IHTMLLocation_get_port(This,p) (This)->lpVtbl->get_port(This,p) +#define IHTMLLocation_put_pathname(This,v) (This)->lpVtbl->put_pathname(This,v) +#define IHTMLLocation_get_pathname(This,p) (This)->lpVtbl->get_pathname(This,p) +#define IHTMLLocation_put_search(This,v) (This)->lpVtbl->put_search(This,v) +#define IHTMLLocation_get_search(This,p) (This)->lpVtbl->get_search(This,p) +#define IHTMLLocation_put_hash(This,v) (This)->lpVtbl->put_hash(This,v) +#define IHTMLLocation_get_hash(This,p) (This)->lpVtbl->get_hash(This,p) +#define IHTMLLocation_reload(This,flag) (This)->lpVtbl->reload(This,flag) +#define IHTMLLocation_replace(This,bstr) (This)->lpVtbl->replace(This,bstr) +#define IHTMLLocation_assign(This,bstr) (This)->lpVtbl->assign(This,bstr) +#define IHTMLLocation_toString(This,String) (This)->lpVtbl->toString(This,String) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLLocation_QueryInterface(IHTMLLocation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLLocation_AddRef(IHTMLLocation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLLocation_Release(IHTMLLocation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLLocation_GetTypeInfoCount(IHTMLLocation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLLocation_GetTypeInfo(IHTMLLocation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLLocation_GetIDsOfNames(IHTMLLocation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLLocation_Invoke(IHTMLLocation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLLocation methods ***/ +static FORCEINLINE HRESULT IHTMLLocation_put_href(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_href(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_href(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_href(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_protocol(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_protocol(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_protocol(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_protocol(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_host(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_host(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_host(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_host(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_hostname(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_hostname(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_hostname(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_hostname(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_port(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_port(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_port(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_port(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_pathname(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_pathname(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_pathname(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_pathname(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_search(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_search(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_search(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_search(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_put_hash(IHTMLLocation* This,BSTR v) { + return This->lpVtbl->put_hash(This,v); +} +static FORCEINLINE HRESULT IHTMLLocation_get_hash(IHTMLLocation* This,BSTR *p) { + return This->lpVtbl->get_hash(This,p); +} +static FORCEINLINE HRESULT IHTMLLocation_reload(IHTMLLocation* This,VARIANT_BOOL flag) { + return This->lpVtbl->reload(This,flag); +} +static FORCEINLINE HRESULT IHTMLLocation_replace(IHTMLLocation* This,BSTR bstr) { + return This->lpVtbl->replace(This,bstr); +} +static FORCEINLINE HRESULT IHTMLLocation_assign(IHTMLLocation* This,BSTR bstr) { + return This->lpVtbl->assign(This,bstr); +} +static FORCEINLINE HRESULT IHTMLLocation_toString(IHTMLLocation* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLLocation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLHistory dispinterface + */ +#ifndef __DispHTMLHistory_DISPINTERFACE_DEFINED__ +#define __DispHTMLHistory_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLHistory, 0x3050f549, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f549-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLHistory : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLHistory, 0x3050f549, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLHistoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLHistory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLHistory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLHistory *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLHistory *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLHistory *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLHistory *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLHistory *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLHistoryVtbl; + +interface DispHTMLHistory { + CONST_VTBL DispHTMLHistoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLHistory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLHistory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLHistory_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLHistory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLHistory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLHistory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLHistory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLHistory_QueryInterface(DispHTMLHistory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLHistory_AddRef(DispHTMLHistory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLHistory_Release(DispHTMLHistory* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLHistory_GetTypeInfoCount(DispHTMLHistory* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLHistory_GetTypeInfo(DispHTMLHistory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLHistory_GetIDsOfNames(DispHTMLHistory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLHistory_Invoke(DispHTMLHistory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLHistory_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLLocation dispinterface + */ +#ifndef __DispHTMLLocation_DISPINTERFACE_DEFINED__ +#define __DispHTMLLocation_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLLocation, 0x3050f54e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f54e-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLLocation : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLLocation, 0x3050f54e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLLocationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLLocation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLLocation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLLocation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLLocation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLLocation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLLocation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLLocation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLLocationVtbl; + +interface DispHTMLLocation { + CONST_VTBL DispHTMLLocationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLLocation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLLocation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLLocation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLLocation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLLocation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLLocation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLLocation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLLocation_QueryInterface(DispHTMLLocation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLLocation_AddRef(DispHTMLLocation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLLocation_Release(DispHTMLLocation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLLocation_GetTypeInfoCount(DispHTMLLocation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLLocation_GetTypeInfo(DispHTMLLocation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLLocation_GetIDsOfNames(DispHTMLLocation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLLocation_Invoke(DispHTMLLocation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLLocation_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLLocation coclass + */ + +DEFINE_GUID(CLSID_HTMLLocation, 0x163bb1e1, 0x6e00, 0x11cf, 0x83,0x7a, 0x48,0xdc,0x04,0xc1,0x00,0x00); + +#ifdef __cplusplus +class DECLSPEC_UUID("163bb1e1-6e00-11cf-837a-48dc04c10000") HTMLLocation; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLLocation, 0x163bb1e1, 0x6e00, 0x11cf, 0x83,0x7a, 0x48,0xdc,0x04,0xc1,0x00,0x00) +#endif +#endif + +/***************************************************************************** + * IHTMLBookmarkCollection interface + */ +#ifndef __IHTMLBookmarkCollection_INTERFACE_DEFINED__ +#define __IHTMLBookmarkCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLBookmarkCollection, 0x3050f4ce, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4ce-98b5-11cf-bb82-00aa00bdce0b") +IHTMLBookmarkCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + LONG index, + VARIANT *pVarBookmark) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLBookmarkCollection, 0x3050f4ce, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLBookmarkCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLBookmarkCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLBookmarkCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLBookmarkCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLBookmarkCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLBookmarkCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLBookmarkCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLBookmarkCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLBookmarkCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLBookmarkCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLBookmarkCollection *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLBookmarkCollection *This, + LONG index, + VARIANT *pVarBookmark); + + END_INTERFACE +} IHTMLBookmarkCollectionVtbl; + +interface IHTMLBookmarkCollection { + CONST_VTBL IHTMLBookmarkCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLBookmarkCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLBookmarkCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLBookmarkCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLBookmarkCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLBookmarkCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLBookmarkCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLBookmarkCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLBookmarkCollection methods ***/ +#define IHTMLBookmarkCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLBookmarkCollection_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLBookmarkCollection_item(This,index,pVarBookmark) (This)->lpVtbl->item(This,index,pVarBookmark) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLBookmarkCollection_QueryInterface(IHTMLBookmarkCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLBookmarkCollection_AddRef(IHTMLBookmarkCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLBookmarkCollection_Release(IHTMLBookmarkCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLBookmarkCollection_GetTypeInfoCount(IHTMLBookmarkCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLBookmarkCollection_GetTypeInfo(IHTMLBookmarkCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLBookmarkCollection_GetIDsOfNames(IHTMLBookmarkCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLBookmarkCollection_Invoke(IHTMLBookmarkCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLBookmarkCollection methods ***/ +static FORCEINLINE HRESULT IHTMLBookmarkCollection_get_length(IHTMLBookmarkCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLBookmarkCollection_get__newEnum(IHTMLBookmarkCollection* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLBookmarkCollection_item(IHTMLBookmarkCollection* This,LONG index,VARIANT *pVarBookmark) { + return This->lpVtbl->item(This,index,pVarBookmark); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLBookmarkCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDataTransfer interface + */ +#ifndef __IHTMLDataTransfer_INTERFACE_DEFINED__ +#define __IHTMLDataTransfer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDataTransfer, 0x3050f4b3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4b3-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDataTransfer : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE setData( + BSTR format, + VARIANT *data, + VARIANT_BOOL *pret) = 0; + + virtual HRESULT STDMETHODCALLTYPE getData( + BSTR format, + VARIANT *pvarRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE clearData( + BSTR format, + VARIANT_BOOL *pret) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dropEffect( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dropEffect( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_effectAllowed( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_effectAllowed( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDataTransfer, 0x3050f4b3, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDataTransferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDataTransfer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDataTransfer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDataTransfer *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDataTransfer *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDataTransfer *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDataTransfer *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDataTransfer *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDataTransfer methods ***/ + HRESULT (STDMETHODCALLTYPE *setData)( + IHTMLDataTransfer *This, + BSTR format, + VARIANT *data, + VARIANT_BOOL *pret); + + HRESULT (STDMETHODCALLTYPE *getData)( + IHTMLDataTransfer *This, + BSTR format, + VARIANT *pvarRet); + + HRESULT (STDMETHODCALLTYPE *clearData)( + IHTMLDataTransfer *This, + BSTR format, + VARIANT_BOOL *pret); + + HRESULT (STDMETHODCALLTYPE *put_dropEffect)( + IHTMLDataTransfer *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dropEffect)( + IHTMLDataTransfer *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_effectAllowed)( + IHTMLDataTransfer *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_effectAllowed)( + IHTMLDataTransfer *This, + BSTR *p); + + END_INTERFACE +} IHTMLDataTransferVtbl; + +interface IHTMLDataTransfer { + CONST_VTBL IHTMLDataTransferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDataTransfer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDataTransfer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDataTransfer_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDataTransfer_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDataTransfer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDataTransfer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDataTransfer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDataTransfer methods ***/ +#define IHTMLDataTransfer_setData(This,format,data,pret) (This)->lpVtbl->setData(This,format,data,pret) +#define IHTMLDataTransfer_getData(This,format,pvarRet) (This)->lpVtbl->getData(This,format,pvarRet) +#define IHTMLDataTransfer_clearData(This,format,pret) (This)->lpVtbl->clearData(This,format,pret) +#define IHTMLDataTransfer_put_dropEffect(This,v) (This)->lpVtbl->put_dropEffect(This,v) +#define IHTMLDataTransfer_get_dropEffect(This,p) (This)->lpVtbl->get_dropEffect(This,p) +#define IHTMLDataTransfer_put_effectAllowed(This,v) (This)->lpVtbl->put_effectAllowed(This,v) +#define IHTMLDataTransfer_get_effectAllowed(This,p) (This)->lpVtbl->get_effectAllowed(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDataTransfer_QueryInterface(IHTMLDataTransfer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDataTransfer_AddRef(IHTMLDataTransfer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDataTransfer_Release(IHTMLDataTransfer* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDataTransfer_GetTypeInfoCount(IHTMLDataTransfer* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_GetTypeInfo(IHTMLDataTransfer* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_GetIDsOfNames(IHTMLDataTransfer* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_Invoke(IHTMLDataTransfer* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDataTransfer methods ***/ +static FORCEINLINE HRESULT IHTMLDataTransfer_setData(IHTMLDataTransfer* This,BSTR format,VARIANT *data,VARIANT_BOOL *pret) { + return This->lpVtbl->setData(This,format,data,pret); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_getData(IHTMLDataTransfer* This,BSTR format,VARIANT *pvarRet) { + return This->lpVtbl->getData(This,format,pvarRet); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_clearData(IHTMLDataTransfer* This,BSTR format,VARIANT_BOOL *pret) { + return This->lpVtbl->clearData(This,format,pret); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_put_dropEffect(IHTMLDataTransfer* This,BSTR v) { + return This->lpVtbl->put_dropEffect(This,v); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_get_dropEffect(IHTMLDataTransfer* This,BSTR *p) { + return This->lpVtbl->get_dropEffect(This,p); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_put_effectAllowed(IHTMLDataTransfer* This,BSTR v) { + return This->lpVtbl->put_effectAllowed(This,v); +} +static FORCEINLINE HRESULT IHTMLDataTransfer_get_effectAllowed(IHTMLDataTransfer* This,BSTR *p) { + return This->lpVtbl->get_effectAllowed(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDataTransfer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLEventObj interface + */ +#ifndef __IHTMLEventObj_INTERFACE_DEFINED__ +#define __IHTMLEventObj_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLEventObj, 0x3050f32d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f32d-98b5-11cf-bb82-00aa00bdce0b") +IHTMLEventObj : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_srcElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_altKey( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ctrlKey( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_shiftKey( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_returnValue( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_returnValue( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cancelBubble( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cancelBubble( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fromElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_toElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_keyCode( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_keyCode( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_button( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_qualifier( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_reason( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_x( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_y( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientX( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientY( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetX( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offsetY( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_screenX( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_screenY( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_srcFilter( + IDispatch **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLEventObj, 0x3050f32d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLEventObjVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLEventObj *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLEventObj *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLEventObj *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLEventObj *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLEventObj *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLEventObj *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLEventObj *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLEventObj methods ***/ + HRESULT (STDMETHODCALLTYPE *get_srcElement)( + IHTMLEventObj *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_altKey)( + IHTMLEventObj *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_ctrlKey)( + IHTMLEventObj *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_shiftKey)( + IHTMLEventObj *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_returnValue)( + IHTMLEventObj *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_returnValue)( + IHTMLEventObj *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_cancelBubble)( + IHTMLEventObj *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_cancelBubble)( + IHTMLEventObj *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_fromElement)( + IHTMLEventObj *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_toElement)( + IHTMLEventObj *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *put_keyCode)( + IHTMLEventObj *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_keyCode)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_button)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLEventObj *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_qualifier)( + IHTMLEventObj *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_reason)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_x)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_y)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientX)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_clientY)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetX)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_offsetY)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_screenX)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_screenY)( + IHTMLEventObj *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_srcFilter)( + IHTMLEventObj *This, + IDispatch **p); + + END_INTERFACE +} IHTMLEventObjVtbl; + +interface IHTMLEventObj { + CONST_VTBL IHTMLEventObjVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLEventObj_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLEventObj_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLEventObj_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLEventObj_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLEventObj_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLEventObj_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLEventObj_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLEventObj methods ***/ +#define IHTMLEventObj_get_srcElement(This,p) (This)->lpVtbl->get_srcElement(This,p) +#define IHTMLEventObj_get_altKey(This,p) (This)->lpVtbl->get_altKey(This,p) +#define IHTMLEventObj_get_ctrlKey(This,p) (This)->lpVtbl->get_ctrlKey(This,p) +#define IHTMLEventObj_get_shiftKey(This,p) (This)->lpVtbl->get_shiftKey(This,p) +#define IHTMLEventObj_put_returnValue(This,v) (This)->lpVtbl->put_returnValue(This,v) +#define IHTMLEventObj_get_returnValue(This,p) (This)->lpVtbl->get_returnValue(This,p) +#define IHTMLEventObj_put_cancelBubble(This,v) (This)->lpVtbl->put_cancelBubble(This,v) +#define IHTMLEventObj_get_cancelBubble(This,p) (This)->lpVtbl->get_cancelBubble(This,p) +#define IHTMLEventObj_get_fromElement(This,p) (This)->lpVtbl->get_fromElement(This,p) +#define IHTMLEventObj_get_toElement(This,p) (This)->lpVtbl->get_toElement(This,p) +#define IHTMLEventObj_put_keyCode(This,v) (This)->lpVtbl->put_keyCode(This,v) +#define IHTMLEventObj_get_keyCode(This,p) (This)->lpVtbl->get_keyCode(This,p) +#define IHTMLEventObj_get_button(This,p) (This)->lpVtbl->get_button(This,p) +#define IHTMLEventObj_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLEventObj_get_qualifier(This,p) (This)->lpVtbl->get_qualifier(This,p) +#define IHTMLEventObj_get_reason(This,p) (This)->lpVtbl->get_reason(This,p) +#define IHTMLEventObj_get_x(This,p) (This)->lpVtbl->get_x(This,p) +#define IHTMLEventObj_get_y(This,p) (This)->lpVtbl->get_y(This,p) +#define IHTMLEventObj_get_clientX(This,p) (This)->lpVtbl->get_clientX(This,p) +#define IHTMLEventObj_get_clientY(This,p) (This)->lpVtbl->get_clientY(This,p) +#define IHTMLEventObj_get_offsetX(This,p) (This)->lpVtbl->get_offsetX(This,p) +#define IHTMLEventObj_get_offsetY(This,p) (This)->lpVtbl->get_offsetY(This,p) +#define IHTMLEventObj_get_screenX(This,p) (This)->lpVtbl->get_screenX(This,p) +#define IHTMLEventObj_get_screenY(This,p) (This)->lpVtbl->get_screenY(This,p) +#define IHTMLEventObj_get_srcFilter(This,p) (This)->lpVtbl->get_srcFilter(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLEventObj_QueryInterface(IHTMLEventObj* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLEventObj_AddRef(IHTMLEventObj* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLEventObj_Release(IHTMLEventObj* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLEventObj_GetTypeInfoCount(IHTMLEventObj* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLEventObj_GetTypeInfo(IHTMLEventObj* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLEventObj_GetIDsOfNames(IHTMLEventObj* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLEventObj_Invoke(IHTMLEventObj* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLEventObj methods ***/ +static FORCEINLINE HRESULT IHTMLEventObj_get_srcElement(IHTMLEventObj* This,IHTMLElement **p) { + return This->lpVtbl->get_srcElement(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_altKey(IHTMLEventObj* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_altKey(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_ctrlKey(IHTMLEventObj* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_ctrlKey(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_shiftKey(IHTMLEventObj* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_shiftKey(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_put_returnValue(IHTMLEventObj* This,VARIANT v) { + return This->lpVtbl->put_returnValue(This,v); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_returnValue(IHTMLEventObj* This,VARIANT *p) { + return This->lpVtbl->get_returnValue(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_put_cancelBubble(IHTMLEventObj* This,VARIANT_BOOL v) { + return This->lpVtbl->put_cancelBubble(This,v); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_cancelBubble(IHTMLEventObj* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_cancelBubble(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_fromElement(IHTMLEventObj* This,IHTMLElement **p) { + return This->lpVtbl->get_fromElement(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_toElement(IHTMLEventObj* This,IHTMLElement **p) { + return This->lpVtbl->get_toElement(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_put_keyCode(IHTMLEventObj* This,LONG v) { + return This->lpVtbl->put_keyCode(This,v); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_keyCode(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_keyCode(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_button(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_button(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_type(IHTMLEventObj* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_qualifier(IHTMLEventObj* This,BSTR *p) { + return This->lpVtbl->get_qualifier(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_reason(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_reason(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_x(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_x(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_y(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_y(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_clientX(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_clientX(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_clientY(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_clientY(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_offsetX(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_offsetX(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_offsetY(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_offsetY(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_screenX(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_screenX(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_screenY(IHTMLEventObj* This,LONG *p) { + return This->lpVtbl->get_screenY(This,p); +} +static FORCEINLINE HRESULT IHTMLEventObj_get_srcFilter(IHTMLEventObj* This,IDispatch **p) { + return This->lpVtbl->get_srcFilter(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLEventObj_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispCEventObj dispinterface + */ +#ifndef __DispCEventObj_DISPINTERFACE_DEFINED__ +#define __DispCEventObj_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispCEventObj, 0x3050f558, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f558-98b5-11cf-bb82-00aa00bdce0b") +DispCEventObj : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispCEventObj, 0x3050f558, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispCEventObjVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispCEventObj *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispCEventObj *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispCEventObj *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispCEventObj *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispCEventObj *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispCEventObj *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispCEventObj *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispCEventObjVtbl; + +interface DispCEventObj { + CONST_VTBL DispCEventObjVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispCEventObj_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispCEventObj_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispCEventObj_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispCEventObj_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispCEventObj_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispCEventObj_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispCEventObj_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispCEventObj_QueryInterface(DispCEventObj* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispCEventObj_AddRef(DispCEventObj* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispCEventObj_Release(DispCEventObj* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispCEventObj_GetTypeInfoCount(DispCEventObj* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispCEventObj_GetTypeInfo(DispCEventObj* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispCEventObj_GetIDsOfNames(DispCEventObj* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispCEventObj_Invoke(DispCEventObj* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispCEventObj_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLFramesCollection2 interface + */ +#ifndef __IHTMLFramesCollection2_INTERFACE_DEFINED__ +#define __IHTMLFramesCollection2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLFramesCollection2, 0x332c4426, 0x26cb, 0x11d0, 0xb4,0x83, 0x00,0xc0,0x4f,0xd9,0x01,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("332c4426-26cb-11d0-b483-00c04fd90119") +IHTMLFramesCollection2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT *pvarIndex, + VARIANT *pvarResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLFramesCollection2, 0x332c4426, 0x26cb, 0x11d0, 0xb4,0x83, 0x00,0xc0,0x4f,0xd9,0x01,0x19) +#endif +#else +typedef struct IHTMLFramesCollection2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLFramesCollection2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLFramesCollection2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLFramesCollection2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLFramesCollection2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLFramesCollection2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLFramesCollection2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLFramesCollection2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFramesCollection2 methods ***/ + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLFramesCollection2 *This, + VARIANT *pvarIndex, + VARIANT *pvarResult); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLFramesCollection2 *This, + LONG *p); + + END_INTERFACE +} IHTMLFramesCollection2Vtbl; + +interface IHTMLFramesCollection2 { + CONST_VTBL IHTMLFramesCollection2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLFramesCollection2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLFramesCollection2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLFramesCollection2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLFramesCollection2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLFramesCollection2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLFramesCollection2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLFramesCollection2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFramesCollection2 methods ***/ +#define IHTMLFramesCollection2_item(This,pvarIndex,pvarResult) (This)->lpVtbl->item(This,pvarIndex,pvarResult) +#define IHTMLFramesCollection2_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLFramesCollection2_QueryInterface(IHTMLFramesCollection2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLFramesCollection2_AddRef(IHTMLFramesCollection2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLFramesCollection2_Release(IHTMLFramesCollection2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLFramesCollection2_GetTypeInfoCount(IHTMLFramesCollection2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLFramesCollection2_GetTypeInfo(IHTMLFramesCollection2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLFramesCollection2_GetIDsOfNames(IHTMLFramesCollection2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLFramesCollection2_Invoke(IHTMLFramesCollection2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFramesCollection2 methods ***/ +static FORCEINLINE HRESULT IHTMLFramesCollection2_item(IHTMLFramesCollection2* This,VARIANT *pvarIndex,VARIANT *pvarResult) { + return This->lpVtbl->item(This,pvarIndex,pvarResult); +} +static FORCEINLINE HRESULT IHTMLFramesCollection2_get_length(IHTMLFramesCollection2* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLFramesCollection2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLScreen interface + */ +#ifndef __IHTMLScreen_INTERFACE_DEFINED__ +#define __IHTMLScreen_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLScreen, 0x3050f35c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f35c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLScreen : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_colorDepth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bufferDepth( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bufferDepth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_updateInterval( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_updateInterval( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_availHeight( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_availWidth( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fontSmoothingEnabled( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLScreen, 0x3050f35c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLScreenVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLScreen *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLScreen *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLScreen *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLScreen *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLScreen *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLScreen *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLScreen *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLScreen methods ***/ + HRESULT (STDMETHODCALLTYPE *get_colorDepth)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_bufferDepth)( + IHTMLScreen *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_bufferDepth)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_updateInterval)( + IHTMLScreen *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_updateInterval)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_availHeight)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_availWidth)( + IHTMLScreen *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_fontSmoothingEnabled)( + IHTMLScreen *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLScreenVtbl; + +interface IHTMLScreen { + CONST_VTBL IHTMLScreenVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLScreen_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLScreen_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLScreen_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLScreen_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLScreen_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLScreen_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLScreen_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLScreen methods ***/ +#define IHTMLScreen_get_colorDepth(This,p) (This)->lpVtbl->get_colorDepth(This,p) +#define IHTMLScreen_put_bufferDepth(This,v) (This)->lpVtbl->put_bufferDepth(This,v) +#define IHTMLScreen_get_bufferDepth(This,p) (This)->lpVtbl->get_bufferDepth(This,p) +#define IHTMLScreen_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLScreen_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLScreen_put_updateInterval(This,v) (This)->lpVtbl->put_updateInterval(This,v) +#define IHTMLScreen_get_updateInterval(This,p) (This)->lpVtbl->get_updateInterval(This,p) +#define IHTMLScreen_get_availHeight(This,p) (This)->lpVtbl->get_availHeight(This,p) +#define IHTMLScreen_get_availWidth(This,p) (This)->lpVtbl->get_availWidth(This,p) +#define IHTMLScreen_get_fontSmoothingEnabled(This,p) (This)->lpVtbl->get_fontSmoothingEnabled(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLScreen_QueryInterface(IHTMLScreen* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLScreen_AddRef(IHTMLScreen* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLScreen_Release(IHTMLScreen* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLScreen_GetTypeInfoCount(IHTMLScreen* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLScreen_GetTypeInfo(IHTMLScreen* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLScreen_GetIDsOfNames(IHTMLScreen* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLScreen_Invoke(IHTMLScreen* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLScreen methods ***/ +static FORCEINLINE HRESULT IHTMLScreen_get_colorDepth(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_colorDepth(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_put_bufferDepth(IHTMLScreen* This,LONG v) { + return This->lpVtbl->put_bufferDepth(This,v); +} +static FORCEINLINE HRESULT IHTMLScreen_get_bufferDepth(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_bufferDepth(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_get_width(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_get_height(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_put_updateInterval(IHTMLScreen* This,LONG v) { + return This->lpVtbl->put_updateInterval(This,v); +} +static FORCEINLINE HRESULT IHTMLScreen_get_updateInterval(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_updateInterval(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_get_availHeight(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_availHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_get_availWidth(IHTMLScreen* This,LONG *p) { + return This->lpVtbl->get_availWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLScreen_get_fontSmoothingEnabled(IHTMLScreen* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_fontSmoothingEnabled(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLScreen_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLWindow2 interface + */ +#ifndef __IHTMLWindow2_INTERFACE_DEFINED__ +#define __IHTMLWindow2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLWindow2, 0x332c4427, 0x26cb, 0x11d0, 0xb4,0x83, 0x00,0xc0,0x4f,0xd9,0x01,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("332c4427-26cb-11d0-b483-00c04fd90119") +IHTMLWindow2 : public IHTMLFramesCollection2 +{ + virtual HRESULT STDMETHODCALLTYPE get_frames( + IHTMLFramesCollection2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultStatus( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultStatus( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_status( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setTimeout( + BSTR expression, + LONG msec, + VARIANT *language, + LONG *timerID) = 0; + + virtual HRESULT STDMETHODCALLTYPE clearTimeout( + LONG timerID) = 0; + + virtual HRESULT STDMETHODCALLTYPE alert( + BSTR message = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE confirm( + BSTR message, + VARIANT_BOOL *confirmed) = 0; + + virtual HRESULT STDMETHODCALLTYPE prompt( + BSTR message, + BSTR defstr, + VARIANT *textdata) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Image( + IHTMLImageElementFactory **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_location( + IHTMLLocation **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_history( + IOmHistory **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_opener( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_opener( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_navigator( + IOmNavigator **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parent( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE open( + BSTR url, + BSTR name, + BSTR features, + VARIANT_BOOL replace, + IHTMLWindow2 **pomWindowResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_self( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_top( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_window( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE navigate( + BSTR url) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onblur( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onblur( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeunload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeunload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onunload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onunload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onhelp( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onhelp( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onresize( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onresize( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onscroll( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onscroll( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_document( + IHTMLDocument2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_event( + IHTMLEventObj **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE showModalDialog( + BSTR dialog, + VARIANT *varArgIn, + VARIANT *varOptions, + VARIANT *varArgOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE showHelp( + BSTR helpURL, + VARIANT helpArg, + BSTR features = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE get_screen( + IHTMLScreen **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Option( + IHTMLOptionElementFactory **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE focus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_closed( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE blur( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE scroll( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clientInformation( + IOmNavigator **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE setInterval( + BSTR expression, + LONG msec, + VARIANT *language, + LONG *timerID) = 0; + + virtual HRESULT STDMETHODCALLTYPE clearInterval( + LONG timerID) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_offscreenBuffering( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_offscreenBuffering( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE execScript( + BSTR scode, + BSTR language, + VARIANT *pvarRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + + virtual HRESULT STDMETHODCALLTYPE scrollBy( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE scrollTo( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveTo( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveBy( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE resizeTo( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE resizeBy( + LONG x, + LONG y) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_external( + IDispatch **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLWindow2, 0x332c4427, 0x26cb, 0x11d0, 0xb4,0x83, 0x00,0xc0,0x4f,0xd9,0x01,0x19) +#endif +#else +typedef struct IHTMLWindow2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLWindow2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLWindow2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLWindow2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLWindow2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLWindow2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLWindow2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLWindow2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFramesCollection2 methods ***/ + HRESULT (STDMETHODCALLTYPE *item)( + IHTMLWindow2 *This, + VARIANT *pvarIndex, + VARIANT *pvarResult); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLWindow2 *This, + LONG *p); + + /*** IHTMLWindow2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_frames)( + IHTMLWindow2 *This, + IHTMLFramesCollection2 **p); + + HRESULT (STDMETHODCALLTYPE *put_defaultStatus)( + IHTMLWindow2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_defaultStatus)( + IHTMLWindow2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_status)( + IHTMLWindow2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IHTMLWindow2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *setTimeout)( + IHTMLWindow2 *This, + BSTR expression, + LONG msec, + VARIANT *language, + LONG *timerID); + + HRESULT (STDMETHODCALLTYPE *clearTimeout)( + IHTMLWindow2 *This, + LONG timerID); + + HRESULT (STDMETHODCALLTYPE *alert)( + IHTMLWindow2 *This, + BSTR message); + + HRESULT (STDMETHODCALLTYPE *confirm)( + IHTMLWindow2 *This, + BSTR message, + VARIANT_BOOL *confirmed); + + HRESULT (STDMETHODCALLTYPE *prompt)( + IHTMLWindow2 *This, + BSTR message, + BSTR defstr, + VARIANT *textdata); + + HRESULT (STDMETHODCALLTYPE *get_Image)( + IHTMLWindow2 *This, + IHTMLImageElementFactory **p); + + HRESULT (STDMETHODCALLTYPE *get_location)( + IHTMLWindow2 *This, + IHTMLLocation **p); + + HRESULT (STDMETHODCALLTYPE *get_history)( + IHTMLWindow2 *This, + IOmHistory **p); + + HRESULT (STDMETHODCALLTYPE *close)( + IHTMLWindow2 *This); + + HRESULT (STDMETHODCALLTYPE *put_opener)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_opener)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_navigator)( + IHTMLWindow2 *This, + IOmNavigator **p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLWindow2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLWindow2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_parent)( + IHTMLWindow2 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *open)( + IHTMLWindow2 *This, + BSTR url, + BSTR name, + BSTR features, + VARIANT_BOOL replace, + IHTMLWindow2 **pomWindowResult); + + HRESULT (STDMETHODCALLTYPE *get_self)( + IHTMLWindow2 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *get_top)( + IHTMLWindow2 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *get_window)( + IHTMLWindow2 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *navigate)( + IHTMLWindow2 *This, + BSTR url); + + HRESULT (STDMETHODCALLTYPE *put_onfocus)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocus)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onblur)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onblur)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeunload)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeunload)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onunload)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onunload)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onhelp)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onhelp)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onresize)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onresize)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onscroll)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onscroll)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_document)( + IHTMLWindow2 *This, + IHTMLDocument2 **p); + + HRESULT (STDMETHODCALLTYPE *get_event)( + IHTMLWindow2 *This, + IHTMLEventObj **p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IHTMLWindow2 *This, + IUnknown **p); + + HRESULT (STDMETHODCALLTYPE *showModalDialog)( + IHTMLWindow2 *This, + BSTR dialog, + VARIANT *varArgIn, + VARIANT *varOptions, + VARIANT *varArgOut); + + HRESULT (STDMETHODCALLTYPE *showHelp)( + IHTMLWindow2 *This, + BSTR helpURL, + VARIANT helpArg, + BSTR features); + + HRESULT (STDMETHODCALLTYPE *get_screen)( + IHTMLWindow2 *This, + IHTMLScreen **p); + + HRESULT (STDMETHODCALLTYPE *get_Option)( + IHTMLWindow2 *This, + IHTMLOptionElementFactory **p); + + HRESULT (STDMETHODCALLTYPE *focus)( + IHTMLWindow2 *This); + + HRESULT (STDMETHODCALLTYPE *get_closed)( + IHTMLWindow2 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *blur)( + IHTMLWindow2 *This); + + HRESULT (STDMETHODCALLTYPE *scroll)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *get_clientInformation)( + IHTMLWindow2 *This, + IOmNavigator **p); + + HRESULT (STDMETHODCALLTYPE *setInterval)( + IHTMLWindow2 *This, + BSTR expression, + LONG msec, + VARIANT *language, + LONG *timerID); + + HRESULT (STDMETHODCALLTYPE *clearInterval)( + IHTMLWindow2 *This, + LONG timerID); + + HRESULT (STDMETHODCALLTYPE *put_offscreenBuffering)( + IHTMLWindow2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_offscreenBuffering)( + IHTMLWindow2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *execScript)( + IHTMLWindow2 *This, + BSTR scode, + BSTR language, + VARIANT *pvarRet); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLWindow2 *This, + BSTR *String); + + HRESULT (STDMETHODCALLTYPE *scrollBy)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *scrollTo)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *moveTo)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *moveBy)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *resizeTo)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *resizeBy)( + IHTMLWindow2 *This, + LONG x, + LONG y); + + HRESULT (STDMETHODCALLTYPE *get_external)( + IHTMLWindow2 *This, + IDispatch **p); + + END_INTERFACE +} IHTMLWindow2Vtbl; + +interface IHTMLWindow2 { + CONST_VTBL IHTMLWindow2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLWindow2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLWindow2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLWindow2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLWindow2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLWindow2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLWindow2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLWindow2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFramesCollection2 methods ***/ +#define IHTMLWindow2_item(This,pvarIndex,pvarResult) (This)->lpVtbl->item(This,pvarIndex,pvarResult) +#define IHTMLWindow2_get_length(This,p) (This)->lpVtbl->get_length(This,p) +/*** IHTMLWindow2 methods ***/ +#define IHTMLWindow2_get_frames(This,p) (This)->lpVtbl->get_frames(This,p) +#define IHTMLWindow2_put_defaultStatus(This,v) (This)->lpVtbl->put_defaultStatus(This,v) +#define IHTMLWindow2_get_defaultStatus(This,p) (This)->lpVtbl->get_defaultStatus(This,p) +#define IHTMLWindow2_put_status(This,v) (This)->lpVtbl->put_status(This,v) +#define IHTMLWindow2_get_status(This,p) (This)->lpVtbl->get_status(This,p) +#define IHTMLWindow2_setTimeout(This,expression,msec,language,timerID) (This)->lpVtbl->setTimeout(This,expression,msec,language,timerID) +#define IHTMLWindow2_clearTimeout(This,timerID) (This)->lpVtbl->clearTimeout(This,timerID) +#define IHTMLWindow2_alert(This,message) (This)->lpVtbl->alert(This,message) +#define IHTMLWindow2_confirm(This,message,confirmed) (This)->lpVtbl->confirm(This,message,confirmed) +#define IHTMLWindow2_prompt(This,message,defstr,textdata) (This)->lpVtbl->prompt(This,message,defstr,textdata) +#define IHTMLWindow2_get_Image(This,p) (This)->lpVtbl->get_Image(This,p) +#define IHTMLWindow2_get_location(This,p) (This)->lpVtbl->get_location(This,p) +#define IHTMLWindow2_get_history(This,p) (This)->lpVtbl->get_history(This,p) +#define IHTMLWindow2_close(This) (This)->lpVtbl->close(This) +#define IHTMLWindow2_put_opener(This,v) (This)->lpVtbl->put_opener(This,v) +#define IHTMLWindow2_get_opener(This,p) (This)->lpVtbl->get_opener(This,p) +#define IHTMLWindow2_get_navigator(This,p) (This)->lpVtbl->get_navigator(This,p) +#define IHTMLWindow2_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLWindow2_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLWindow2_get_parent(This,p) (This)->lpVtbl->get_parent(This,p) +#define IHTMLWindow2_open(This,url,name,features,replace,pomWindowResult) (This)->lpVtbl->open(This,url,name,features,replace,pomWindowResult) +#define IHTMLWindow2_get_self(This,p) (This)->lpVtbl->get_self(This,p) +#define IHTMLWindow2_get_top(This,p) (This)->lpVtbl->get_top(This,p) +#define IHTMLWindow2_get_window(This,p) (This)->lpVtbl->get_window(This,p) +#define IHTMLWindow2_navigate(This,url) (This)->lpVtbl->navigate(This,url) +#define IHTMLWindow2_put_onfocus(This,v) (This)->lpVtbl->put_onfocus(This,v) +#define IHTMLWindow2_get_onfocus(This,p) (This)->lpVtbl->get_onfocus(This,p) +#define IHTMLWindow2_put_onblur(This,v) (This)->lpVtbl->put_onblur(This,v) +#define IHTMLWindow2_get_onblur(This,p) (This)->lpVtbl->get_onblur(This,p) +#define IHTMLWindow2_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLWindow2_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLWindow2_put_onbeforeunload(This,v) (This)->lpVtbl->put_onbeforeunload(This,v) +#define IHTMLWindow2_get_onbeforeunload(This,p) (This)->lpVtbl->get_onbeforeunload(This,p) +#define IHTMLWindow2_put_onunload(This,v) (This)->lpVtbl->put_onunload(This,v) +#define IHTMLWindow2_get_onunload(This,p) (This)->lpVtbl->get_onunload(This,p) +#define IHTMLWindow2_put_onhelp(This,v) (This)->lpVtbl->put_onhelp(This,v) +#define IHTMLWindow2_get_onhelp(This,p) (This)->lpVtbl->get_onhelp(This,p) +#define IHTMLWindow2_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLWindow2_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLWindow2_put_onresize(This,v) (This)->lpVtbl->put_onresize(This,v) +#define IHTMLWindow2_get_onresize(This,p) (This)->lpVtbl->get_onresize(This,p) +#define IHTMLWindow2_put_onscroll(This,v) (This)->lpVtbl->put_onscroll(This,v) +#define IHTMLWindow2_get_onscroll(This,p) (This)->lpVtbl->get_onscroll(This,p) +#define IHTMLWindow2_get_document(This,p) (This)->lpVtbl->get_document(This,p) +#define IHTMLWindow2_get_event(This,p) (This)->lpVtbl->get_event(This,p) +#define IHTMLWindow2_get__newEnum(This,p) (This)->lpVtbl->get__newEnum(This,p) +#define IHTMLWindow2_showModalDialog(This,dialog,varArgIn,varOptions,varArgOut) (This)->lpVtbl->showModalDialog(This,dialog,varArgIn,varOptions,varArgOut) +#define IHTMLWindow2_showHelp(This,helpURL,helpArg,features) (This)->lpVtbl->showHelp(This,helpURL,helpArg,features) +#define IHTMLWindow2_get_screen(This,p) (This)->lpVtbl->get_screen(This,p) +#define IHTMLWindow2_get_Option(This,p) (This)->lpVtbl->get_Option(This,p) +#define IHTMLWindow2_focus(This) (This)->lpVtbl->focus(This) +#define IHTMLWindow2_get_closed(This,p) (This)->lpVtbl->get_closed(This,p) +#define IHTMLWindow2_blur(This) (This)->lpVtbl->blur(This) +#define IHTMLWindow2_scroll(This,x,y) (This)->lpVtbl->scroll(This,x,y) +#define IHTMLWindow2_get_clientInformation(This,p) (This)->lpVtbl->get_clientInformation(This,p) +#define IHTMLWindow2_setInterval(This,expression,msec,language,timerID) (This)->lpVtbl->setInterval(This,expression,msec,language,timerID) +#define IHTMLWindow2_clearInterval(This,timerID) (This)->lpVtbl->clearInterval(This,timerID) +#define IHTMLWindow2_put_offscreenBuffering(This,v) (This)->lpVtbl->put_offscreenBuffering(This,v) +#define IHTMLWindow2_get_offscreenBuffering(This,p) (This)->lpVtbl->get_offscreenBuffering(This,p) +#define IHTMLWindow2_execScript(This,scode,language,pvarRet) (This)->lpVtbl->execScript(This,scode,language,pvarRet) +#define IHTMLWindow2_toString(This,String) (This)->lpVtbl->toString(This,String) +#define IHTMLWindow2_scrollBy(This,x,y) (This)->lpVtbl->scrollBy(This,x,y) +#define IHTMLWindow2_scrollTo(This,x,y) (This)->lpVtbl->scrollTo(This,x,y) +#define IHTMLWindow2_moveTo(This,x,y) (This)->lpVtbl->moveTo(This,x,y) +#define IHTMLWindow2_moveBy(This,x,y) (This)->lpVtbl->moveBy(This,x,y) +#define IHTMLWindow2_resizeTo(This,x,y) (This)->lpVtbl->resizeTo(This,x,y) +#define IHTMLWindow2_resizeBy(This,x,y) (This)->lpVtbl->resizeBy(This,x,y) +#define IHTMLWindow2_get_external(This,p) (This)->lpVtbl->get_external(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLWindow2_QueryInterface(IHTMLWindow2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLWindow2_AddRef(IHTMLWindow2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLWindow2_Release(IHTMLWindow2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLWindow2_GetTypeInfoCount(IHTMLWindow2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLWindow2_GetTypeInfo(IHTMLWindow2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLWindow2_GetIDsOfNames(IHTMLWindow2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLWindow2_Invoke(IHTMLWindow2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFramesCollection2 methods ***/ +static FORCEINLINE HRESULT IHTMLWindow2_item(IHTMLWindow2* This,VARIANT *pvarIndex,VARIANT *pvarResult) { + return This->lpVtbl->item(This,pvarIndex,pvarResult); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_length(IHTMLWindow2* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +/*** IHTMLWindow2 methods ***/ +static FORCEINLINE HRESULT IHTMLWindow2_get_frames(IHTMLWindow2* This,IHTMLFramesCollection2 **p) { + return This->lpVtbl->get_frames(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_defaultStatus(IHTMLWindow2* This,BSTR v) { + return This->lpVtbl->put_defaultStatus(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_defaultStatus(IHTMLWindow2* This,BSTR *p) { + return This->lpVtbl->get_defaultStatus(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_status(IHTMLWindow2* This,BSTR v) { + return This->lpVtbl->put_status(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_status(IHTMLWindow2* This,BSTR *p) { + return This->lpVtbl->get_status(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_setTimeout(IHTMLWindow2* This,BSTR expression,LONG msec,VARIANT *language,LONG *timerID) { + return This->lpVtbl->setTimeout(This,expression,msec,language,timerID); +} +static FORCEINLINE HRESULT IHTMLWindow2_clearTimeout(IHTMLWindow2* This,LONG timerID) { + return This->lpVtbl->clearTimeout(This,timerID); +} +static FORCEINLINE HRESULT IHTMLWindow2_alert(IHTMLWindow2* This,BSTR message) { + return This->lpVtbl->alert(This,message); +} +static FORCEINLINE HRESULT IHTMLWindow2_confirm(IHTMLWindow2* This,BSTR message,VARIANT_BOOL *confirmed) { + return This->lpVtbl->confirm(This,message,confirmed); +} +static FORCEINLINE HRESULT IHTMLWindow2_prompt(IHTMLWindow2* This,BSTR message,BSTR defstr,VARIANT *textdata) { + return This->lpVtbl->prompt(This,message,defstr,textdata); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_Image(IHTMLWindow2* This,IHTMLImageElementFactory **p) { + return This->lpVtbl->get_Image(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_location(IHTMLWindow2* This,IHTMLLocation **p) { + return This->lpVtbl->get_location(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_history(IHTMLWindow2* This,IOmHistory **p) { + return This->lpVtbl->get_history(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_close(IHTMLWindow2* This) { + return This->lpVtbl->close(This); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_opener(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_opener(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_opener(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_opener(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_navigator(IHTMLWindow2* This,IOmNavigator **p) { + return This->lpVtbl->get_navigator(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_name(IHTMLWindow2* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_name(IHTMLWindow2* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_parent(IHTMLWindow2* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_parent(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_open(IHTMLWindow2* This,BSTR url,BSTR name,BSTR features,VARIANT_BOOL replace,IHTMLWindow2 **pomWindowResult) { + return This->lpVtbl->open(This,url,name,features,replace,pomWindowResult); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_self(IHTMLWindow2* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_self(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_top(IHTMLWindow2* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_top(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_window(IHTMLWindow2* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_window(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_navigate(IHTMLWindow2* This,BSTR url) { + return This->lpVtbl->navigate(This,url); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onfocus(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onfocus(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onblur(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onblur(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onblur(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onblur(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onload(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onload(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onbeforeunload(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onbeforeunload(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onbeforeunload(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeunload(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onunload(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onunload(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onunload(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onunload(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onhelp(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onhelp(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onhelp(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onhelp(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onerror(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onerror(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onresize(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onresize(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onresize(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onresize(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_onscroll(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_onscroll(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_onscroll(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_onscroll(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_document(IHTMLWindow2* This,IHTMLDocument2 **p) { + return This->lpVtbl->get_document(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_event(IHTMLWindow2* This,IHTMLEventObj **p) { + return This->lpVtbl->get_event(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get__newEnum(IHTMLWindow2* This,IUnknown **p) { + return This->lpVtbl->get__newEnum(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_showModalDialog(IHTMLWindow2* This,BSTR dialog,VARIANT *varArgIn,VARIANT *varOptions,VARIANT *varArgOut) { + return This->lpVtbl->showModalDialog(This,dialog,varArgIn,varOptions,varArgOut); +} +static FORCEINLINE HRESULT IHTMLWindow2_showHelp(IHTMLWindow2* This,BSTR helpURL,VARIANT helpArg,BSTR features) { + return This->lpVtbl->showHelp(This,helpURL,helpArg,features); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_screen(IHTMLWindow2* This,IHTMLScreen **p) { + return This->lpVtbl->get_screen(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_Option(IHTMLWindow2* This,IHTMLOptionElementFactory **p) { + return This->lpVtbl->get_Option(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_focus(IHTMLWindow2* This) { + return This->lpVtbl->focus(This); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_closed(IHTMLWindow2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_closed(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_blur(IHTMLWindow2* This) { + return This->lpVtbl->blur(This); +} +static FORCEINLINE HRESULT IHTMLWindow2_scroll(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->scroll(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_clientInformation(IHTMLWindow2* This,IOmNavigator **p) { + return This->lpVtbl->get_clientInformation(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_setInterval(IHTMLWindow2* This,BSTR expression,LONG msec,VARIANT *language,LONG *timerID) { + return This->lpVtbl->setInterval(This,expression,msec,language,timerID); +} +static FORCEINLINE HRESULT IHTMLWindow2_clearInterval(IHTMLWindow2* This,LONG timerID) { + return This->lpVtbl->clearInterval(This,timerID); +} +static FORCEINLINE HRESULT IHTMLWindow2_put_offscreenBuffering(IHTMLWindow2* This,VARIANT v) { + return This->lpVtbl->put_offscreenBuffering(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_offscreenBuffering(IHTMLWindow2* This,VARIANT *p) { + return This->lpVtbl->get_offscreenBuffering(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow2_execScript(IHTMLWindow2* This,BSTR scode,BSTR language,VARIANT *pvarRet) { + return This->lpVtbl->execScript(This,scode,language,pvarRet); +} +static FORCEINLINE HRESULT IHTMLWindow2_toString(IHTMLWindow2* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +static FORCEINLINE HRESULT IHTMLWindow2_scrollBy(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->scrollBy(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_scrollTo(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->scrollTo(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_moveTo(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->moveTo(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_moveBy(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->moveBy(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_resizeTo(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->resizeTo(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_resizeBy(IHTMLWindow2* This,LONG x,LONG y) { + return This->lpVtbl->resizeBy(This,x,y); +} +static FORCEINLINE HRESULT IHTMLWindow2_get_external(IHTMLWindow2* This,IDispatch **p) { + return This->lpVtbl->get_external(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLWindow2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLWindow3 interface + */ +#ifndef __IHTMLWindow3_INTERFACE_DEFINED__ +#define __IHTMLWindow3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLWindow3, 0x3050f4ae, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4ae-98b5-11cf-bb82-00aa00bdce0b") +IHTMLWindow3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_screenLeft( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_screenTop( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE attachEvent( + BSTR event, + IDispatch *pDisp, + VARIANT_BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE detachEvent( + BSTR event, + IDispatch *pDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE setTimeout( + VARIANT *expression, + LONG msec, + VARIANT *language, + LONG *timerID) = 0; + + virtual HRESULT STDMETHODCALLTYPE setInterval( + VARIANT *expression, + LONG msec, + VARIANT *language, + LONG *timerID) = 0; + + virtual HRESULT STDMETHODCALLTYPE print( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeprint( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeprint( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onafterprint( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onafterprint( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_clipboardData( + IHTMLDataTransfer **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE showModelessDialog( + BSTR url, + VARIANT *varArgIn, + VARIANT *options, + IHTMLWindow2 **pDialog) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLWindow3, 0x3050f4ae, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLWindow3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLWindow3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLWindow3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLWindow3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLWindow3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLWindow3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLWindow3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLWindow3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLWindow3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_screenLeft)( + IHTMLWindow3 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_screenTop)( + IHTMLWindow3 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *attachEvent)( + IHTMLWindow3 *This, + BSTR event, + IDispatch *pDisp, + VARIANT_BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *detachEvent)( + IHTMLWindow3 *This, + BSTR event, + IDispatch *pDisp); + + HRESULT (STDMETHODCALLTYPE *setTimeout)( + IHTMLWindow3 *This, + VARIANT *expression, + LONG msec, + VARIANT *language, + LONG *timerID); + + HRESULT (STDMETHODCALLTYPE *setInterval)( + IHTMLWindow3 *This, + VARIANT *expression, + LONG msec, + VARIANT *language, + LONG *timerID); + + HRESULT (STDMETHODCALLTYPE *print)( + IHTMLWindow3 *This); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeprint)( + IHTMLWindow3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeprint)( + IHTMLWindow3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onafterprint)( + IHTMLWindow3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onafterprint)( + IHTMLWindow3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_clipboardData)( + IHTMLWindow3 *This, + IHTMLDataTransfer **p); + + HRESULT (STDMETHODCALLTYPE *showModelessDialog)( + IHTMLWindow3 *This, + BSTR url, + VARIANT *varArgIn, + VARIANT *options, + IHTMLWindow2 **pDialog); + + END_INTERFACE +} IHTMLWindow3Vtbl; + +interface IHTMLWindow3 { + CONST_VTBL IHTMLWindow3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLWindow3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLWindow3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLWindow3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLWindow3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLWindow3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLWindow3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLWindow3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLWindow3 methods ***/ +#define IHTMLWindow3_get_screenLeft(This,p) (This)->lpVtbl->get_screenLeft(This,p) +#define IHTMLWindow3_get_screenTop(This,p) (This)->lpVtbl->get_screenTop(This,p) +#define IHTMLWindow3_attachEvent(This,event,pDisp,pfResult) (This)->lpVtbl->attachEvent(This,event,pDisp,pfResult) +#define IHTMLWindow3_detachEvent(This,event,pDisp) (This)->lpVtbl->detachEvent(This,event,pDisp) +#define IHTMLWindow3_setTimeout(This,expression,msec,language,timerID) (This)->lpVtbl->setTimeout(This,expression,msec,language,timerID) +#define IHTMLWindow3_setInterval(This,expression,msec,language,timerID) (This)->lpVtbl->setInterval(This,expression,msec,language,timerID) +#define IHTMLWindow3_print(This) (This)->lpVtbl->print(This) +#define IHTMLWindow3_put_onbeforeprint(This,v) (This)->lpVtbl->put_onbeforeprint(This,v) +#define IHTMLWindow3_get_onbeforeprint(This,p) (This)->lpVtbl->get_onbeforeprint(This,p) +#define IHTMLWindow3_put_onafterprint(This,v) (This)->lpVtbl->put_onafterprint(This,v) +#define IHTMLWindow3_get_onafterprint(This,p) (This)->lpVtbl->get_onafterprint(This,p) +#define IHTMLWindow3_get_clipboardData(This,p) (This)->lpVtbl->get_clipboardData(This,p) +#define IHTMLWindow3_showModelessDialog(This,url,varArgIn,options,pDialog) (This)->lpVtbl->showModelessDialog(This,url,varArgIn,options,pDialog) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLWindow3_QueryInterface(IHTMLWindow3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLWindow3_AddRef(IHTMLWindow3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLWindow3_Release(IHTMLWindow3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLWindow3_GetTypeInfoCount(IHTMLWindow3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLWindow3_GetTypeInfo(IHTMLWindow3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLWindow3_GetIDsOfNames(IHTMLWindow3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLWindow3_Invoke(IHTMLWindow3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLWindow3 methods ***/ +static FORCEINLINE HRESULT IHTMLWindow3_get_screenLeft(IHTMLWindow3* This,LONG *p) { + return This->lpVtbl->get_screenLeft(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow3_get_screenTop(IHTMLWindow3* This,LONG *p) { + return This->lpVtbl->get_screenTop(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow3_attachEvent(IHTMLWindow3* This,BSTR event,IDispatch *pDisp,VARIANT_BOOL *pfResult) { + return This->lpVtbl->attachEvent(This,event,pDisp,pfResult); +} +static FORCEINLINE HRESULT IHTMLWindow3_detachEvent(IHTMLWindow3* This,BSTR event,IDispatch *pDisp) { + return This->lpVtbl->detachEvent(This,event,pDisp); +} +static FORCEINLINE HRESULT IHTMLWindow3_setTimeout(IHTMLWindow3* This,VARIANT *expression,LONG msec,VARIANT *language,LONG *timerID) { + return This->lpVtbl->setTimeout(This,expression,msec,language,timerID); +} +static FORCEINLINE HRESULT IHTMLWindow3_setInterval(IHTMLWindow3* This,VARIANT *expression,LONG msec,VARIANT *language,LONG *timerID) { + return This->lpVtbl->setInterval(This,expression,msec,language,timerID); +} +static FORCEINLINE HRESULT IHTMLWindow3_print(IHTMLWindow3* This) { + return This->lpVtbl->print(This); +} +static FORCEINLINE HRESULT IHTMLWindow3_put_onbeforeprint(IHTMLWindow3* This,VARIANT v) { + return This->lpVtbl->put_onbeforeprint(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow3_get_onbeforeprint(IHTMLWindow3* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeprint(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow3_put_onafterprint(IHTMLWindow3* This,VARIANT v) { + return This->lpVtbl->put_onafterprint(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow3_get_onafterprint(IHTMLWindow3* This,VARIANT *p) { + return This->lpVtbl->get_onafterprint(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow3_get_clipboardData(IHTMLWindow3* This,IHTMLDataTransfer **p) { + return This->lpVtbl->get_clipboardData(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow3_showModelessDialog(IHTMLWindow3* This,BSTR url,VARIANT *varArgIn,VARIANT *options,IHTMLWindow2 **pDialog) { + return This->lpVtbl->showModelessDialog(This,url,varArgIn,options,pDialog); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLWindow3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLWindow4 interface + */ +#ifndef __IHTMLWindow4_INTERFACE_DEFINED__ +#define __IHTMLWindow4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLWindow4, 0x3050f6cf, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f6cf-98b5-11cf-bb82-00aa00bdce0b") +IHTMLWindow4 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE createPopup( + VARIANT *varArgIn, + IDispatch **ppPopup) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frameElement( + IHTMLFrameBase **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLWindow4, 0x3050f6cf, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLWindow4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLWindow4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLWindow4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLWindow4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLWindow4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLWindow4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLWindow4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLWindow4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLWindow4 methods ***/ + HRESULT (STDMETHODCALLTYPE *createPopup)( + IHTMLWindow4 *This, + VARIANT *varArgIn, + IDispatch **ppPopup); + + HRESULT (STDMETHODCALLTYPE *get_frameElement)( + IHTMLWindow4 *This, + IHTMLFrameBase **p); + + END_INTERFACE +} IHTMLWindow4Vtbl; + +interface IHTMLWindow4 { + CONST_VTBL IHTMLWindow4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLWindow4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLWindow4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLWindow4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLWindow4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLWindow4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLWindow4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLWindow4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLWindow4 methods ***/ +#define IHTMLWindow4_createPopup(This,varArgIn,ppPopup) (This)->lpVtbl->createPopup(This,varArgIn,ppPopup) +#define IHTMLWindow4_get_frameElement(This,p) (This)->lpVtbl->get_frameElement(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLWindow4_QueryInterface(IHTMLWindow4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLWindow4_AddRef(IHTMLWindow4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLWindow4_Release(IHTMLWindow4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLWindow4_GetTypeInfoCount(IHTMLWindow4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLWindow4_GetTypeInfo(IHTMLWindow4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLWindow4_GetIDsOfNames(IHTMLWindow4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLWindow4_Invoke(IHTMLWindow4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLWindow4 methods ***/ +static FORCEINLINE HRESULT IHTMLWindow4_createPopup(IHTMLWindow4* This,VARIANT *varArgIn,IDispatch **ppPopup) { + return This->lpVtbl->createPopup(This,varArgIn,ppPopup); +} +static FORCEINLINE HRESULT IHTMLWindow4_get_frameElement(IHTMLWindow4* This,IHTMLFrameBase **p) { + return This->lpVtbl->get_frameElement(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLWindow4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLWindow5 interface + */ +#ifndef __IHTMLWindow5_INTERFACE_DEFINED__ +#define __IHTMLWindow5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLWindow5, 0x3051040e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051040e-98b5-11cf-bb82-00aa00bdce0b") +IHTMLWindow5 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_XMLHttpRequest( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XMLHttpRequest( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLWindow5, 0x3051040e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLWindow5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLWindow5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLWindow5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLWindow5 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLWindow5 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLWindow5 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLWindow5 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLWindow5 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLWindow5 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_XMLHttpRequest)( + IHTMLWindow5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_XMLHttpRequest)( + IHTMLWindow5 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLWindow5Vtbl; + +interface IHTMLWindow5 { + CONST_VTBL IHTMLWindow5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLWindow5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLWindow5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLWindow5_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLWindow5_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLWindow5_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLWindow5_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLWindow5_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLWindow5 methods ***/ +#define IHTMLWindow5_put_XMLHttpRequest(This,v) (This)->lpVtbl->put_XMLHttpRequest(This,v) +#define IHTMLWindow5_get_XMLHttpRequest(This,p) (This)->lpVtbl->get_XMLHttpRequest(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLWindow5_QueryInterface(IHTMLWindow5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLWindow5_AddRef(IHTMLWindow5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLWindow5_Release(IHTMLWindow5* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLWindow5_GetTypeInfoCount(IHTMLWindow5* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLWindow5_GetTypeInfo(IHTMLWindow5* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLWindow5_GetIDsOfNames(IHTMLWindow5* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLWindow5_Invoke(IHTMLWindow5* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLWindow5 methods ***/ +static FORCEINLINE HRESULT IHTMLWindow5_put_XMLHttpRequest(IHTMLWindow5* This,VARIANT v) { + return This->lpVtbl->put_XMLHttpRequest(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow5_get_XMLHttpRequest(IHTMLWindow5* This,VARIANT *p) { + return This->lpVtbl->get_XMLHttpRequest(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLWindow5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLWindow6 interface + */ +#ifndef __IHTMLWindow6_INTERFACE_DEFINED__ +#define __IHTMLWindow6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLWindow6, 0x30510453, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510453-98b5-11cf-bb82-00aa00bdce0b") +IHTMLWindow6 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_XDomainRequest( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XDomainRequest( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_sessionStorage( + IHTMLStorage **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_localStorage( + IHTMLStorage **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onhashchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onhashchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxConnectionsPerServer( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE postMessage( + BSTR msg, + VARIANT targetOrigin) = 0; + + virtual HRESULT STDMETHODCALLTYPE toStaticHTML( + BSTR bstrHTML, + BSTR *pbstrStaticHTML) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmessage( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmessage( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE msWriteProfilerMark( + BSTR bstrProfilerMarkName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLWindow6, 0x30510453, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLWindow6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLWindow6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLWindow6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLWindow6 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLWindow6 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLWindow6 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLWindow6 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLWindow6 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLWindow6 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_XDomainRequest)( + IHTMLWindow6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_XDomainRequest)( + IHTMLWindow6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_sessionStorage)( + IHTMLWindow6 *This, + IHTMLStorage **p); + + HRESULT (STDMETHODCALLTYPE *get_localStorage)( + IHTMLWindow6 *This, + IHTMLStorage **p); + + HRESULT (STDMETHODCALLTYPE *put_onhashchange)( + IHTMLWindow6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onhashchange)( + IHTMLWindow6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_maxConnectionsPerServer)( + IHTMLWindow6 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *postMessage)( + IHTMLWindow6 *This, + BSTR msg, + VARIANT targetOrigin); + + HRESULT (STDMETHODCALLTYPE *toStaticHTML)( + IHTMLWindow6 *This, + BSTR bstrHTML, + BSTR *pbstrStaticHTML); + + HRESULT (STDMETHODCALLTYPE *put_onmessage)( + IHTMLWindow6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmessage)( + IHTMLWindow6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *msWriteProfilerMark)( + IHTMLWindow6 *This, + BSTR bstrProfilerMarkName); + + END_INTERFACE +} IHTMLWindow6Vtbl; + +interface IHTMLWindow6 { + CONST_VTBL IHTMLWindow6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLWindow6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLWindow6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLWindow6_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLWindow6_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLWindow6_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLWindow6_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLWindow6_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLWindow6 methods ***/ +#define IHTMLWindow6_put_XDomainRequest(This,v) (This)->lpVtbl->put_XDomainRequest(This,v) +#define IHTMLWindow6_get_XDomainRequest(This,p) (This)->lpVtbl->get_XDomainRequest(This,p) +#define IHTMLWindow6_get_sessionStorage(This,p) (This)->lpVtbl->get_sessionStorage(This,p) +#define IHTMLWindow6_get_localStorage(This,p) (This)->lpVtbl->get_localStorage(This,p) +#define IHTMLWindow6_put_onhashchange(This,v) (This)->lpVtbl->put_onhashchange(This,v) +#define IHTMLWindow6_get_onhashchange(This,p) (This)->lpVtbl->get_onhashchange(This,p) +#define IHTMLWindow6_get_maxConnectionsPerServer(This,p) (This)->lpVtbl->get_maxConnectionsPerServer(This,p) +#define IHTMLWindow6_postMessage(This,msg,targetOrigin) (This)->lpVtbl->postMessage(This,msg,targetOrigin) +#define IHTMLWindow6_toStaticHTML(This,bstrHTML,pbstrStaticHTML) (This)->lpVtbl->toStaticHTML(This,bstrHTML,pbstrStaticHTML) +#define IHTMLWindow6_put_onmessage(This,v) (This)->lpVtbl->put_onmessage(This,v) +#define IHTMLWindow6_get_onmessage(This,p) (This)->lpVtbl->get_onmessage(This,p) +#define IHTMLWindow6_msWriteProfilerMark(This,bstrProfilerMarkName) (This)->lpVtbl->msWriteProfilerMark(This,bstrProfilerMarkName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLWindow6_QueryInterface(IHTMLWindow6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLWindow6_AddRef(IHTMLWindow6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLWindow6_Release(IHTMLWindow6* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLWindow6_GetTypeInfoCount(IHTMLWindow6* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLWindow6_GetTypeInfo(IHTMLWindow6* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLWindow6_GetIDsOfNames(IHTMLWindow6* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLWindow6_Invoke(IHTMLWindow6* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLWindow6 methods ***/ +static FORCEINLINE HRESULT IHTMLWindow6_put_XDomainRequest(IHTMLWindow6* This,VARIANT v) { + return This->lpVtbl->put_XDomainRequest(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow6_get_XDomainRequest(IHTMLWindow6* This,VARIANT *p) { + return This->lpVtbl->get_XDomainRequest(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow6_get_sessionStorage(IHTMLWindow6* This,IHTMLStorage **p) { + return This->lpVtbl->get_sessionStorage(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow6_get_localStorage(IHTMLWindow6* This,IHTMLStorage **p) { + return This->lpVtbl->get_localStorage(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow6_put_onhashchange(IHTMLWindow6* This,VARIANT v) { + return This->lpVtbl->put_onhashchange(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow6_get_onhashchange(IHTMLWindow6* This,VARIANT *p) { + return This->lpVtbl->get_onhashchange(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow6_get_maxConnectionsPerServer(IHTMLWindow6* This,LONG *p) { + return This->lpVtbl->get_maxConnectionsPerServer(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow6_postMessage(IHTMLWindow6* This,BSTR msg,VARIANT targetOrigin) { + return This->lpVtbl->postMessage(This,msg,targetOrigin); +} +static FORCEINLINE HRESULT IHTMLWindow6_toStaticHTML(IHTMLWindow6* This,BSTR bstrHTML,BSTR *pbstrStaticHTML) { + return This->lpVtbl->toStaticHTML(This,bstrHTML,pbstrStaticHTML); +} +static FORCEINLINE HRESULT IHTMLWindow6_put_onmessage(IHTMLWindow6* This,VARIANT v) { + return This->lpVtbl->put_onmessage(This,v); +} +static FORCEINLINE HRESULT IHTMLWindow6_get_onmessage(IHTMLWindow6* This,VARIANT *p) { + return This->lpVtbl->get_onmessage(This,p); +} +static FORCEINLINE HRESULT IHTMLWindow6_msWriteProfilerMark(IHTMLWindow6* This,BSTR bstrProfilerMarkName) { + return This->lpVtbl->msWriteProfilerMark(This,bstrProfilerMarkName); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLWindow6_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLScreen dispinterface + */ +#ifndef __DispHTMLScreen_DISPINTERFACE_DEFINED__ +#define __DispHTMLScreen_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLScreen, 0x3050f591, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f591-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLScreen : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLScreen, 0x3050f591, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLScreenVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLScreen *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLScreen *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLScreen *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLScreen *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLScreen *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLScreen *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLScreen *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLScreenVtbl; + +interface DispHTMLScreen { + CONST_VTBL DispHTMLScreenVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLScreen_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLScreen_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLScreen_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLScreen_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLScreen_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLScreen_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLScreen_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLScreen_QueryInterface(DispHTMLScreen* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLScreen_AddRef(DispHTMLScreen* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLScreen_Release(DispHTMLScreen* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLScreen_GetTypeInfoCount(DispHTMLScreen* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLScreen_GetTypeInfo(DispHTMLScreen* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLScreen_GetIDsOfNames(DispHTMLScreen* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLScreen_Invoke(DispHTMLScreen* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLScreen_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLWindow2 dispinterface + */ +#ifndef __DispHTMLWindow2_DISPINTERFACE_DEFINED__ +#define __DispHTMLWindow2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLWindow2, 0x3050f55d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f55d-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLWindow2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLWindow2, 0x3050f55d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLWindow2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLWindow2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLWindow2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLWindow2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLWindow2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLWindow2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLWindow2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLWindow2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLWindow2Vtbl; + +interface DispHTMLWindow2 { + CONST_VTBL DispHTMLWindow2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLWindow2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLWindow2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLWindow2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLWindow2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLWindow2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLWindow2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLWindow2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLWindow2_QueryInterface(DispHTMLWindow2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLWindow2_AddRef(DispHTMLWindow2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLWindow2_Release(DispHTMLWindow2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLWindow2_GetTypeInfoCount(DispHTMLWindow2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLWindow2_GetTypeInfo(DispHTMLWindow2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLWindow2_GetIDsOfNames(DispHTMLWindow2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLWindow2_Invoke(DispHTMLWindow2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLWindow2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLWindow2 coclass + */ + +DEFINE_GUID(CLSID_HTMLWindow2, 0xd48a6ec6, 0x6a4a, 0x11cf, 0x94,0xa7, 0x44,0x45,0x53,0x54,0x00,0x00); + +#ifdef __cplusplus +class DECLSPEC_UUID("d48a6ec6-6a4a-11cf-94a7-444553540000") HTMLWindow2; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLWindow2, 0xd48a6ec6, 0x6a4a, 0x11cf, 0x94,0xa7, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#endif + +/***************************************************************************** + * DispHTMLWindowProxy dispinterface + */ +#ifndef __DispHTMLWindowProxy_DISPINTERFACE_DEFINED__ +#define __DispHTMLWindowProxy_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLWindowProxy, 0x3050f55e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f55e-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLWindowProxy : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLWindowProxy, 0x3050f55e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLWindowProxyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLWindowProxy *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLWindowProxy *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLWindowProxy *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLWindowProxy *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLWindowProxy *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLWindowProxy *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLWindowProxy *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLWindowProxyVtbl; + +interface DispHTMLWindowProxy { + CONST_VTBL DispHTMLWindowProxyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLWindowProxy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLWindowProxy_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLWindowProxy_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLWindowProxy_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLWindowProxy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLWindowProxy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLWindowProxy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLWindowProxy_QueryInterface(DispHTMLWindowProxy* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLWindowProxy_AddRef(DispHTMLWindowProxy* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLWindowProxy_Release(DispHTMLWindowProxy* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLWindowProxy_GetTypeInfoCount(DispHTMLWindowProxy* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLWindowProxy_GetTypeInfo(DispHTMLWindowProxy* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLWindowProxy_GetIDsOfNames(DispHTMLWindowProxy* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLWindowProxy_Invoke(DispHTMLWindowProxy* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLWindowProxy_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLWindowEvents dispinterface + */ +#ifndef __HTMLWindowEvents_DISPINTERFACE_DEFINED__ +#define __HTMLWindowEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLWindowEvents, 0x96a0a4e0, 0xd062, 0x11cf, 0x94,0xb6, 0x00,0xaa,0x00,0x60,0x27,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96a0a4e0-d062-11cf-94b6-00aa0060275c") +HTMLWindowEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLWindowEvents, 0x96a0a4e0, 0xd062, 0x11cf, 0x94,0xb6, 0x00,0xaa,0x00,0x60,0x27,0x5c) +#endif +#else +typedef struct HTMLWindowEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLWindowEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLWindowEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLWindowEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLWindowEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLWindowEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLWindowEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLWindowEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLWindowEventsVtbl; + +interface HTMLWindowEvents { + CONST_VTBL HTMLWindowEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLWindowEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLWindowEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLWindowEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLWindowEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLWindowEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLWindowEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLWindowEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLWindowEvents_QueryInterface(HTMLWindowEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLWindowEvents_AddRef(HTMLWindowEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLWindowEvents_Release(HTMLWindowEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLWindowEvents_GetTypeInfoCount(HTMLWindowEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLWindowEvents_GetTypeInfo(HTMLWindowEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLWindowEvents_GetIDsOfNames(HTMLWindowEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLWindowEvents_Invoke(HTMLWindowEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLWindowEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLWindowEvents2 dispinterface + */ +#ifndef __HTMLWindowEvents2_DISPINTERFACE_DEFINED__ +#define __HTMLWindowEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLWindowEvents2, 0x3050f625, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f625-98b5-11cf-bb82-00aa00bdce0b") +HTMLWindowEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLWindowEvents2, 0x3050f625, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLWindowEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLWindowEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLWindowEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLWindowEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLWindowEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLWindowEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLWindowEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLWindowEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLWindowEvents2Vtbl; + +interface HTMLWindowEvents2 { + CONST_VTBL HTMLWindowEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLWindowEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLWindowEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLWindowEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLWindowEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLWindowEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLWindowEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLWindowEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLWindowEvents2_QueryInterface(HTMLWindowEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLWindowEvents2_AddRef(HTMLWindowEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLWindowEvents2_Release(HTMLWindowEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLWindowEvents2_GetTypeInfoCount(HTMLWindowEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLWindowEvents2_GetTypeInfo(HTMLWindowEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLWindowEvents2_GetIDsOfNames(HTMLWindowEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLWindowEvents2_Invoke(HTMLWindowEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLWindowEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLWindowProxy coclass + */ + +DEFINE_GUID(CLSID_HTMLWindowProxy, 0x3050f391, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f391-98b5-11cf-bb82-00aa00bdce0b") HTMLWindowProxy; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLWindowProxy, 0x3050f391, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * HTMLDocumentEvents2 dispinterface + */ +#ifndef __HTMLDocumentEvents2_DISPINTERFACE_DEFINED__ +#define __HTMLDocumentEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLDocumentEvents2, 0x3050f613, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f613-98b5-11cf-bb82-00aa00bdce0b") +HTMLDocumentEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLDocumentEvents2, 0x3050f613, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLDocumentEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLDocumentEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLDocumentEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLDocumentEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLDocumentEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLDocumentEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLDocumentEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLDocumentEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLDocumentEvents2Vtbl; + +interface HTMLDocumentEvents2 { + CONST_VTBL HTMLDocumentEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLDocumentEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLDocumentEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLDocumentEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLDocumentEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLDocumentEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLDocumentEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLDocumentEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLDocumentEvents2_QueryInterface(HTMLDocumentEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLDocumentEvents2_AddRef(HTMLDocumentEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLDocumentEvents2_Release(HTMLDocumentEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLDocumentEvents2_GetTypeInfoCount(HTMLDocumentEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLDocumentEvents2_GetTypeInfo(HTMLDocumentEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLDocumentEvents2_GetIDsOfNames(HTMLDocumentEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLDocumentEvents2_Invoke(HTMLDocumentEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLDocumentEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLDocumentEvents dispinterface + */ +#ifndef __HTMLDocumentEvents_DISPINTERFACE_DEFINED__ +#define __HTMLDocumentEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLDocumentEvents, 0x3050f260, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f260-98b5-11cf-bb82-00aa00bdce0b") +HTMLDocumentEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLDocumentEvents, 0x3050f260, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLDocumentEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLDocumentEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLDocumentEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLDocumentEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLDocumentEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLDocumentEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLDocumentEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLDocumentEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLDocumentEventsVtbl; + +interface HTMLDocumentEvents { + CONST_VTBL HTMLDocumentEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLDocumentEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLDocumentEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLDocumentEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLDocumentEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLDocumentEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLDocumentEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLDocumentEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLDocumentEvents_QueryInterface(HTMLDocumentEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLDocumentEvents_AddRef(HTMLDocumentEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLDocumentEvents_Release(HTMLDocumentEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLDocumentEvents_GetTypeInfoCount(HTMLDocumentEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLDocumentEvents_GetTypeInfo(HTMLDocumentEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLDocumentEvents_GetIDsOfNames(HTMLDocumentEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLDocumentEvents_Invoke(HTMLDocumentEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLDocumentEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTextContainerEvents dispinterface + */ +#ifndef __HTMLTextContainerEvents_DISPINTERFACE_DEFINED__ +#define __HTMLTextContainerEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLTextContainerEvents, 0x1ff6aa72, 0x5842, 0x11cf, 0xa7,0x07, 0x00,0xaa,0x00,0xc0,0x09,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1ff6aa72-5842-11cf-a707-00aa00c0098d") +HTMLTextContainerEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTextContainerEvents, 0x1ff6aa72, 0x5842, 0x11cf, 0xa7,0x07, 0x00,0xaa,0x00,0xc0,0x09,0x8d) +#endif +#else +typedef struct HTMLTextContainerEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLTextContainerEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLTextContainerEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLTextContainerEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLTextContainerEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLTextContainerEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLTextContainerEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLTextContainerEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLTextContainerEventsVtbl; + +interface HTMLTextContainerEvents { + CONST_VTBL HTMLTextContainerEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLTextContainerEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLTextContainerEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLTextContainerEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLTextContainerEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLTextContainerEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLTextContainerEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLTextContainerEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLTextContainerEvents_QueryInterface(HTMLTextContainerEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLTextContainerEvents_AddRef(HTMLTextContainerEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLTextContainerEvents_Release(HTMLTextContainerEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLTextContainerEvents_GetTypeInfoCount(HTMLTextContainerEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLTextContainerEvents_GetTypeInfo(HTMLTextContainerEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLTextContainerEvents_GetIDsOfNames(HTMLTextContainerEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLTextContainerEvents_Invoke(HTMLTextContainerEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLTextContainerEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTextContainerEvents2 dispinterface + */ +#ifndef __HTMLTextContainerEvents2_DISPINTERFACE_DEFINED__ +#define __HTMLTextContainerEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLTextContainerEvents2, 0x3050f624, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f624-98b5-11cf-bb82-00aa00bdce0b") +HTMLTextContainerEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTextContainerEvents2, 0x3050f624, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLTextContainerEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLTextContainerEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLTextContainerEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLTextContainerEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLTextContainerEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLTextContainerEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLTextContainerEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLTextContainerEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLTextContainerEvents2Vtbl; + +interface HTMLTextContainerEvents2 { + CONST_VTBL HTMLTextContainerEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLTextContainerEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLTextContainerEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLTextContainerEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLTextContainerEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLTextContainerEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLTextContainerEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLTextContainerEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLTextContainerEvents2_QueryInterface(HTMLTextContainerEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLTextContainerEvents2_AddRef(HTMLTextContainerEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLTextContainerEvents2_Release(HTMLTextContainerEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLTextContainerEvents2_GetTypeInfoCount(HTMLTextContainerEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLTextContainerEvents2_GetTypeInfo(HTMLTextContainerEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLTextContainerEvents2_GetIDsOfNames(HTMLTextContainerEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLTextContainerEvents2_Invoke(HTMLTextContainerEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLTextContainerEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDOMProcessingInstruction interface + */ +#ifndef __IDOMProcessingInstruction_INTERFACE_DEFINED__ +#define __IDOMProcessingInstruction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDOMProcessingInstruction, 0x30510742, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510742-98b5-11cf-bb82-00aa00bdce0b") +IDOMProcessingInstruction : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDOMProcessingInstruction, 0x30510742, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IDOMProcessingInstructionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDOMProcessingInstruction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDOMProcessingInstruction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDOMProcessingInstruction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDOMProcessingInstruction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDOMProcessingInstruction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDOMProcessingInstruction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDOMProcessingInstruction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDOMProcessingInstruction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_target)( + IDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IDOMProcessingInstruction *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IDOMProcessingInstruction *This, + BSTR *p); + + END_INTERFACE +} IDOMProcessingInstructionVtbl; + +interface IDOMProcessingInstruction { + CONST_VTBL IDOMProcessingInstructionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDOMProcessingInstruction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDOMProcessingInstruction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDOMProcessingInstruction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDOMProcessingInstruction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDOMProcessingInstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDOMProcessingInstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDOMProcessingInstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDOMProcessingInstruction methods ***/ +#define IDOMProcessingInstruction_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IDOMProcessingInstruction_put_data(This,v) (This)->lpVtbl->put_data(This,v) +#define IDOMProcessingInstruction_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDOMProcessingInstruction_QueryInterface(IDOMProcessingInstruction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDOMProcessingInstruction_AddRef(IDOMProcessingInstruction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDOMProcessingInstruction_Release(IDOMProcessingInstruction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDOMProcessingInstruction_GetTypeInfoCount(IDOMProcessingInstruction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDOMProcessingInstruction_GetTypeInfo(IDOMProcessingInstruction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDOMProcessingInstruction_GetIDsOfNames(IDOMProcessingInstruction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDOMProcessingInstruction_Invoke(IDOMProcessingInstruction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDOMProcessingInstruction methods ***/ +static FORCEINLINE HRESULT IDOMProcessingInstruction_get_target(IDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IDOMProcessingInstruction_put_data(IDOMProcessingInstruction* This,BSTR v) { + return This->lpVtbl->put_data(This,v); +} +static FORCEINLINE HRESULT IDOMProcessingInstruction_get_data(IDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IDOMProcessingInstruction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument interface + */ +#ifndef __IHTMLDocument_INTERFACE_DEFINED__ +#define __IHTMLDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument, 0x626fc520, 0xa41e, 0x11cf, 0xa7,0x31, 0x00,0xa0,0xc9,0x08,0x26,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("626fc520-a41e-11cf-a731-00a0c9082637") +IHTMLDocument : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Script( + IDispatch **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument, 0x626fc520, 0xa41e, 0x11cf, 0xa7,0x31, 0x00,0xa0,0xc9,0x08,0x26,0x37) +#endif +#else +typedef struct IHTMLDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Script)( + IHTMLDocument *This, + IDispatch **p); + + END_INTERFACE +} IHTMLDocumentVtbl; + +interface IHTMLDocument { + CONST_VTBL IHTMLDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument methods ***/ +#define IHTMLDocument_get_Script(This,p) (This)->lpVtbl->get_Script(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument_QueryInterface(IHTMLDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument_AddRef(IHTMLDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument_Release(IHTMLDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument_GetTypeInfoCount(IHTMLDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument_GetTypeInfo(IHTMLDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument_GetIDsOfNames(IHTMLDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument_Invoke(IHTMLDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument methods ***/ +static FORCEINLINE HRESULT IHTMLDocument_get_Script(IHTMLDocument* This,IDispatch **p) { + return This->lpVtbl->get_Script(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument2 interface + */ +#ifndef __IHTMLDocument2_INTERFACE_DEFINED__ +#define __IHTMLDocument2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument2, 0x332c4425, 0x26cb, 0x11d0, 0xb4,0x83, 0x00,0xc0,0x4f,0xd9,0x01,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("332c4425-26cb-11d0-b483-00c04fd90119") +IHTMLDocument2 : public IHTMLDocument +{ + virtual HRESULT STDMETHODCALLTYPE get_all( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_body( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_activeElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_images( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_applets( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_links( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_forms( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_anchors( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_title( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_title( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scripts( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_designMode( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_designMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_selection( + IHTMLSelectionObject **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frames( + IHTMLFramesCollection2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_embeds( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_plugins( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_alinkColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_alinkColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_linkColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_linkColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vlinkColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vlinkColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_referrer( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_location( + IHTMLLocation **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastModified( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_URL( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URL( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_domain( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_domain( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cookie( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cookie( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_expando( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_expando( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_charset( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_charset( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultCharset( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultCharset( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mimeType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileSize( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileCreatedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileModifiedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileUpdatedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_security( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_protocol( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nameProp( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE write( + SAFEARRAY *psarray) = 0; + + virtual HRESULT STDMETHODCALLTYPE writeln( + SAFEARRAY *psarray) = 0; + + virtual HRESULT STDMETHODCALLTYPE open( + BSTR url, + VARIANT name, + VARIANT features, + VARIANT replace, + IDispatch **pomWindowResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandSupported( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandEnabled( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandState( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandIndeterm( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandText( + BSTR cmdID, + BSTR *pcmdText) = 0; + + virtual HRESULT STDMETHODCALLTYPE queryCommandValue( + BSTR cmdID, + VARIANT *pcmdValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE execCommand( + BSTR cmdID, + VARIANT_BOOL showUI, + VARIANT value, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE execCommandShowHelp( + BSTR cmdID, + VARIANT_BOOL *pfRet) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + BSTR eTag, + IHTMLElement **newElem) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onhelp( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onhelp( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onclick( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onclick( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondblclick( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondblclick( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onkeyup( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onkeyup( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onkeydown( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onkeydown( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onkeypress( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onkeypress( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseup( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseup( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmousedown( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmousedown( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmousemove( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmousemove( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseout( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseout( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmouseover( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmouseover( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onafterupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onafterupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowexit( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowexit( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowenter( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowenter( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragstart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragstart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselectstart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselectstart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE elementFromPoint( + LONG x, + LONG y, + IHTMLElement **elementHit) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentWindow( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_styleSheets( + IHTMLStyleSheetsCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerrorupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerrorupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE toString( + BSTR *String) = 0; + + virtual HRESULT STDMETHODCALLTYPE createStyleSheet( + BSTR bstrHref, + LONG lIndex, + IHTMLStyleSheet **ppnewStyleSheet) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument2, 0x332c4425, 0x26cb, 0x11d0, 0xb4,0x83, 0x00,0xc0,0x4f,0xd9,0x01,0x19) +#endif +#else +typedef struct IHTMLDocument2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Script)( + IHTMLDocument2 *This, + IDispatch **p); + + /*** IHTMLDocument2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_all)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_body)( + IHTMLDocument2 *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_activeElement)( + IHTMLDocument2 *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_images)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_applets)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_links)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_forms)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_anchors)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_title)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_title)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_scripts)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_designMode)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_designMode)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_selection)( + IHTMLDocument2 *This, + IHTMLSelectionObject **p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_frames)( + IHTMLDocument2 *This, + IHTMLFramesCollection2 **p); + + HRESULT (STDMETHODCALLTYPE *get_embeds)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_plugins)( + IHTMLDocument2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_alinkColor)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_alinkColor)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_bgColor)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bgColor)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_fgColor)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_fgColor)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_linkColor)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_linkColor)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_vlinkColor)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_vlinkColor)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_referrer)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_location)( + IHTMLDocument2 *This, + IHTMLLocation **p); + + HRESULT (STDMETHODCALLTYPE *get_lastModified)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_domain)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_domain)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_cookie)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_cookie)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_expando)( + IHTMLDocument2 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_expando)( + IHTMLDocument2 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_charset)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_charset)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_defaultCharset)( + IHTMLDocument2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_defaultCharset)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_mimeType)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileSize)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileCreatedDate)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileModifiedDate)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileUpdatedDate)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_security)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_protocol)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nameProp)( + IHTMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *write)( + IHTMLDocument2 *This, + SAFEARRAY *psarray); + + HRESULT (STDMETHODCALLTYPE *writeln)( + IHTMLDocument2 *This, + SAFEARRAY *psarray); + + HRESULT (STDMETHODCALLTYPE *open)( + IHTMLDocument2 *This, + BSTR url, + VARIANT name, + VARIANT features, + VARIANT replace, + IDispatch **pomWindowResult); + + HRESULT (STDMETHODCALLTYPE *close)( + IHTMLDocument2 *This); + + HRESULT (STDMETHODCALLTYPE *clear)( + IHTMLDocument2 *This); + + HRESULT (STDMETHODCALLTYPE *queryCommandSupported)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandEnabled)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandState)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandIndeterm)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *queryCommandText)( + IHTMLDocument2 *This, + BSTR cmdID, + BSTR *pcmdText); + + HRESULT (STDMETHODCALLTYPE *queryCommandValue)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT *pcmdValue); + + HRESULT (STDMETHODCALLTYPE *execCommand)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT_BOOL showUI, + VARIANT value, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *execCommandShowHelp)( + IHTMLDocument2 *This, + BSTR cmdID, + VARIANT_BOOL *pfRet); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IHTMLDocument2 *This, + BSTR eTag, + IHTMLElement **newElem); + + HRESULT (STDMETHODCALLTYPE *put_onhelp)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onhelp)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onclick)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onclick)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondblclick)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondblclick)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onkeyup)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onkeyup)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onkeydown)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onkeydown)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onkeypress)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onkeypress)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseup)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseup)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmousedown)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmousedown)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmousemove)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmousemove)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseout)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseout)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmouseover)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmouseover)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onafterupdate)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onafterupdate)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowexit)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowexit)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowenter)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowenter)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragstart)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragstart)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onselectstart)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselectstart)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *elementFromPoint)( + IHTMLDocument2 *This, + LONG x, + LONG y, + IHTMLElement **elementHit); + + HRESULT (STDMETHODCALLTYPE *get_parentWindow)( + IHTMLDocument2 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *get_styleSheets)( + IHTMLDocument2 *This, + IHTMLStyleSheetsCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeupdate)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeupdate)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerrorupdate)( + IHTMLDocument2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerrorupdate)( + IHTMLDocument2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *toString)( + IHTMLDocument2 *This, + BSTR *String); + + HRESULT (STDMETHODCALLTYPE *createStyleSheet)( + IHTMLDocument2 *This, + BSTR bstrHref, + LONG lIndex, + IHTMLStyleSheet **ppnewStyleSheet); + + END_INTERFACE +} IHTMLDocument2Vtbl; + +interface IHTMLDocument2 { + CONST_VTBL IHTMLDocument2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument methods ***/ +#define IHTMLDocument2_get_Script(This,p) (This)->lpVtbl->get_Script(This,p) +/*** IHTMLDocument2 methods ***/ +#define IHTMLDocument2_get_all(This,p) (This)->lpVtbl->get_all(This,p) +#define IHTMLDocument2_get_body(This,p) (This)->lpVtbl->get_body(This,p) +#define IHTMLDocument2_get_activeElement(This,p) (This)->lpVtbl->get_activeElement(This,p) +#define IHTMLDocument2_get_images(This,p) (This)->lpVtbl->get_images(This,p) +#define IHTMLDocument2_get_applets(This,p) (This)->lpVtbl->get_applets(This,p) +#define IHTMLDocument2_get_links(This,p) (This)->lpVtbl->get_links(This,p) +#define IHTMLDocument2_get_forms(This,p) (This)->lpVtbl->get_forms(This,p) +#define IHTMLDocument2_get_anchors(This,p) (This)->lpVtbl->get_anchors(This,p) +#define IHTMLDocument2_put_title(This,v) (This)->lpVtbl->put_title(This,v) +#define IHTMLDocument2_get_title(This,p) (This)->lpVtbl->get_title(This,p) +#define IHTMLDocument2_get_scripts(This,p) (This)->lpVtbl->get_scripts(This,p) +#define IHTMLDocument2_put_designMode(This,v) (This)->lpVtbl->put_designMode(This,v) +#define IHTMLDocument2_get_designMode(This,p) (This)->lpVtbl->get_designMode(This,p) +#define IHTMLDocument2_get_selection(This,p) (This)->lpVtbl->get_selection(This,p) +#define IHTMLDocument2_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLDocument2_get_frames(This,p) (This)->lpVtbl->get_frames(This,p) +#define IHTMLDocument2_get_embeds(This,p) (This)->lpVtbl->get_embeds(This,p) +#define IHTMLDocument2_get_plugins(This,p) (This)->lpVtbl->get_plugins(This,p) +#define IHTMLDocument2_put_alinkColor(This,v) (This)->lpVtbl->put_alinkColor(This,v) +#define IHTMLDocument2_get_alinkColor(This,p) (This)->lpVtbl->get_alinkColor(This,p) +#define IHTMLDocument2_put_bgColor(This,v) (This)->lpVtbl->put_bgColor(This,v) +#define IHTMLDocument2_get_bgColor(This,p) (This)->lpVtbl->get_bgColor(This,p) +#define IHTMLDocument2_put_fgColor(This,v) (This)->lpVtbl->put_fgColor(This,v) +#define IHTMLDocument2_get_fgColor(This,p) (This)->lpVtbl->get_fgColor(This,p) +#define IHTMLDocument2_put_linkColor(This,v) (This)->lpVtbl->put_linkColor(This,v) +#define IHTMLDocument2_get_linkColor(This,p) (This)->lpVtbl->get_linkColor(This,p) +#define IHTMLDocument2_put_vlinkColor(This,v) (This)->lpVtbl->put_vlinkColor(This,v) +#define IHTMLDocument2_get_vlinkColor(This,p) (This)->lpVtbl->get_vlinkColor(This,p) +#define IHTMLDocument2_get_referrer(This,p) (This)->lpVtbl->get_referrer(This,p) +#define IHTMLDocument2_get_location(This,p) (This)->lpVtbl->get_location(This,p) +#define IHTMLDocument2_get_lastModified(This,p) (This)->lpVtbl->get_lastModified(This,p) +#define IHTMLDocument2_put_URL(This,v) (This)->lpVtbl->put_URL(This,v) +#define IHTMLDocument2_get_URL(This,p) (This)->lpVtbl->get_URL(This,p) +#define IHTMLDocument2_put_domain(This,v) (This)->lpVtbl->put_domain(This,v) +#define IHTMLDocument2_get_domain(This,p) (This)->lpVtbl->get_domain(This,p) +#define IHTMLDocument2_put_cookie(This,v) (This)->lpVtbl->put_cookie(This,v) +#define IHTMLDocument2_get_cookie(This,p) (This)->lpVtbl->get_cookie(This,p) +#define IHTMLDocument2_put_expando(This,v) (This)->lpVtbl->put_expando(This,v) +#define IHTMLDocument2_get_expando(This,p) (This)->lpVtbl->get_expando(This,p) +#define IHTMLDocument2_put_charset(This,v) (This)->lpVtbl->put_charset(This,v) +#define IHTMLDocument2_get_charset(This,p) (This)->lpVtbl->get_charset(This,p) +#define IHTMLDocument2_put_defaultCharset(This,v) (This)->lpVtbl->put_defaultCharset(This,v) +#define IHTMLDocument2_get_defaultCharset(This,p) (This)->lpVtbl->get_defaultCharset(This,p) +#define IHTMLDocument2_get_mimeType(This,p) (This)->lpVtbl->get_mimeType(This,p) +#define IHTMLDocument2_get_fileSize(This,p) (This)->lpVtbl->get_fileSize(This,p) +#define IHTMLDocument2_get_fileCreatedDate(This,p) (This)->lpVtbl->get_fileCreatedDate(This,p) +#define IHTMLDocument2_get_fileModifiedDate(This,p) (This)->lpVtbl->get_fileModifiedDate(This,p) +#define IHTMLDocument2_get_fileUpdatedDate(This,p) (This)->lpVtbl->get_fileUpdatedDate(This,p) +#define IHTMLDocument2_get_security(This,p) (This)->lpVtbl->get_security(This,p) +#define IHTMLDocument2_get_protocol(This,p) (This)->lpVtbl->get_protocol(This,p) +#define IHTMLDocument2_get_nameProp(This,p) (This)->lpVtbl->get_nameProp(This,p) +#define IHTMLDocument2_write(This,psarray) (This)->lpVtbl->write(This,psarray) +#define IHTMLDocument2_writeln(This,psarray) (This)->lpVtbl->writeln(This,psarray) +#define IHTMLDocument2_open(This,url,name,features,replace,pomWindowResult) (This)->lpVtbl->open(This,url,name,features,replace,pomWindowResult) +#define IHTMLDocument2_close(This) (This)->lpVtbl->close(This) +#define IHTMLDocument2_clear(This) (This)->lpVtbl->clear(This) +#define IHTMLDocument2_queryCommandSupported(This,cmdID,pfRet) (This)->lpVtbl->queryCommandSupported(This,cmdID,pfRet) +#define IHTMLDocument2_queryCommandEnabled(This,cmdID,pfRet) (This)->lpVtbl->queryCommandEnabled(This,cmdID,pfRet) +#define IHTMLDocument2_queryCommandState(This,cmdID,pfRet) (This)->lpVtbl->queryCommandState(This,cmdID,pfRet) +#define IHTMLDocument2_queryCommandIndeterm(This,cmdID,pfRet) (This)->lpVtbl->queryCommandIndeterm(This,cmdID,pfRet) +#define IHTMLDocument2_queryCommandText(This,cmdID,pcmdText) (This)->lpVtbl->queryCommandText(This,cmdID,pcmdText) +#define IHTMLDocument2_queryCommandValue(This,cmdID,pcmdValue) (This)->lpVtbl->queryCommandValue(This,cmdID,pcmdValue) +#define IHTMLDocument2_execCommand(This,cmdID,showUI,value,pfRet) (This)->lpVtbl->execCommand(This,cmdID,showUI,value,pfRet) +#define IHTMLDocument2_execCommandShowHelp(This,cmdID,pfRet) (This)->lpVtbl->execCommandShowHelp(This,cmdID,pfRet) +#define IHTMLDocument2_createElement(This,eTag,newElem) (This)->lpVtbl->createElement(This,eTag,newElem) +#define IHTMLDocument2_put_onhelp(This,v) (This)->lpVtbl->put_onhelp(This,v) +#define IHTMLDocument2_get_onhelp(This,p) (This)->lpVtbl->get_onhelp(This,p) +#define IHTMLDocument2_put_onclick(This,v) (This)->lpVtbl->put_onclick(This,v) +#define IHTMLDocument2_get_onclick(This,p) (This)->lpVtbl->get_onclick(This,p) +#define IHTMLDocument2_put_ondblclick(This,v) (This)->lpVtbl->put_ondblclick(This,v) +#define IHTMLDocument2_get_ondblclick(This,p) (This)->lpVtbl->get_ondblclick(This,p) +#define IHTMLDocument2_put_onkeyup(This,v) (This)->lpVtbl->put_onkeyup(This,v) +#define IHTMLDocument2_get_onkeyup(This,p) (This)->lpVtbl->get_onkeyup(This,p) +#define IHTMLDocument2_put_onkeydown(This,v) (This)->lpVtbl->put_onkeydown(This,v) +#define IHTMLDocument2_get_onkeydown(This,p) (This)->lpVtbl->get_onkeydown(This,p) +#define IHTMLDocument2_put_onkeypress(This,v) (This)->lpVtbl->put_onkeypress(This,v) +#define IHTMLDocument2_get_onkeypress(This,p) (This)->lpVtbl->get_onkeypress(This,p) +#define IHTMLDocument2_put_onmouseup(This,v) (This)->lpVtbl->put_onmouseup(This,v) +#define IHTMLDocument2_get_onmouseup(This,p) (This)->lpVtbl->get_onmouseup(This,p) +#define IHTMLDocument2_put_onmousedown(This,v) (This)->lpVtbl->put_onmousedown(This,v) +#define IHTMLDocument2_get_onmousedown(This,p) (This)->lpVtbl->get_onmousedown(This,p) +#define IHTMLDocument2_put_onmousemove(This,v) (This)->lpVtbl->put_onmousemove(This,v) +#define IHTMLDocument2_get_onmousemove(This,p) (This)->lpVtbl->get_onmousemove(This,p) +#define IHTMLDocument2_put_onmouseout(This,v) (This)->lpVtbl->put_onmouseout(This,v) +#define IHTMLDocument2_get_onmouseout(This,p) (This)->lpVtbl->get_onmouseout(This,p) +#define IHTMLDocument2_put_onmouseover(This,v) (This)->lpVtbl->put_onmouseover(This,v) +#define IHTMLDocument2_get_onmouseover(This,p) (This)->lpVtbl->get_onmouseover(This,p) +#define IHTMLDocument2_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLDocument2_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLDocument2_put_onafterupdate(This,v) (This)->lpVtbl->put_onafterupdate(This,v) +#define IHTMLDocument2_get_onafterupdate(This,p) (This)->lpVtbl->get_onafterupdate(This,p) +#define IHTMLDocument2_put_onrowexit(This,v) (This)->lpVtbl->put_onrowexit(This,v) +#define IHTMLDocument2_get_onrowexit(This,p) (This)->lpVtbl->get_onrowexit(This,p) +#define IHTMLDocument2_put_onrowenter(This,v) (This)->lpVtbl->put_onrowenter(This,v) +#define IHTMLDocument2_get_onrowenter(This,p) (This)->lpVtbl->get_onrowenter(This,p) +#define IHTMLDocument2_put_ondragstart(This,v) (This)->lpVtbl->put_ondragstart(This,v) +#define IHTMLDocument2_get_ondragstart(This,p) (This)->lpVtbl->get_ondragstart(This,p) +#define IHTMLDocument2_put_onselectstart(This,v) (This)->lpVtbl->put_onselectstart(This,v) +#define IHTMLDocument2_get_onselectstart(This,p) (This)->lpVtbl->get_onselectstart(This,p) +#define IHTMLDocument2_elementFromPoint(This,x,y,elementHit) (This)->lpVtbl->elementFromPoint(This,x,y,elementHit) +#define IHTMLDocument2_get_parentWindow(This,p) (This)->lpVtbl->get_parentWindow(This,p) +#define IHTMLDocument2_get_styleSheets(This,p) (This)->lpVtbl->get_styleSheets(This,p) +#define IHTMLDocument2_put_onbeforeupdate(This,v) (This)->lpVtbl->put_onbeforeupdate(This,v) +#define IHTMLDocument2_get_onbeforeupdate(This,p) (This)->lpVtbl->get_onbeforeupdate(This,p) +#define IHTMLDocument2_put_onerrorupdate(This,v) (This)->lpVtbl->put_onerrorupdate(This,v) +#define IHTMLDocument2_get_onerrorupdate(This,p) (This)->lpVtbl->get_onerrorupdate(This,p) +#define IHTMLDocument2_toString(This,String) (This)->lpVtbl->toString(This,String) +#define IHTMLDocument2_createStyleSheet(This,bstrHref,lIndex,ppnewStyleSheet) (This)->lpVtbl->createStyleSheet(This,bstrHref,lIndex,ppnewStyleSheet) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument2_QueryInterface(IHTMLDocument2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument2_AddRef(IHTMLDocument2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument2_Release(IHTMLDocument2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument2_GetTypeInfoCount(IHTMLDocument2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument2_GetTypeInfo(IHTMLDocument2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument2_GetIDsOfNames(IHTMLDocument2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument2_Invoke(IHTMLDocument2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument methods ***/ +static FORCEINLINE HRESULT IHTMLDocument2_get_Script(IHTMLDocument2* This,IDispatch **p) { + return This->lpVtbl->get_Script(This,p); +} +/*** IHTMLDocument2 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument2_get_all(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_all(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_body(IHTMLDocument2* This,IHTMLElement **p) { + return This->lpVtbl->get_body(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_activeElement(IHTMLDocument2* This,IHTMLElement **p) { + return This->lpVtbl->get_activeElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_images(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_images(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_applets(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_applets(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_links(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_links(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_forms(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_forms(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_anchors(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_anchors(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_title(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_title(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_title(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_title(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_scripts(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_scripts(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_designMode(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_designMode(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_designMode(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_designMode(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_selection(IHTMLDocument2* This,IHTMLSelectionObject **p) { + return This->lpVtbl->get_selection(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_readyState(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_frames(IHTMLDocument2* This,IHTMLFramesCollection2 **p) { + return This->lpVtbl->get_frames(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_embeds(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_embeds(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_plugins(IHTMLDocument2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_plugins(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_alinkColor(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_alinkColor(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_alinkColor(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_alinkColor(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_bgColor(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_bgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_bgColor(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_bgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_fgColor(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_fgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_fgColor(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_fgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_linkColor(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_linkColor(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_linkColor(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_linkColor(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_vlinkColor(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_vlinkColor(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_vlinkColor(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_vlinkColor(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_referrer(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_referrer(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_location(IHTMLDocument2* This,IHTMLLocation **p) { + return This->lpVtbl->get_location(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_lastModified(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_lastModified(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_URL(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_URL(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_URL(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_URL(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_domain(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_domain(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_domain(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_domain(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_cookie(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_cookie(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_cookie(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_cookie(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_expando(IHTMLDocument2* This,VARIANT_BOOL v) { + return This->lpVtbl->put_expando(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_expando(IHTMLDocument2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_expando(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_charset(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_charset(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_charset(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_charset(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_defaultCharset(IHTMLDocument2* This,BSTR v) { + return This->lpVtbl->put_defaultCharset(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_defaultCharset(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_defaultCharset(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_mimeType(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_mimeType(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_fileSize(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileSize(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_fileCreatedDate(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileCreatedDate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_fileModifiedDate(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileModifiedDate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_fileUpdatedDate(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileUpdatedDate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_security(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_security(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_protocol(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_protocol(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_nameProp(IHTMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_nameProp(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_write(IHTMLDocument2* This,SAFEARRAY *psarray) { + return This->lpVtbl->write(This,psarray); +} +static FORCEINLINE HRESULT IHTMLDocument2_writeln(IHTMLDocument2* This,SAFEARRAY *psarray) { + return This->lpVtbl->writeln(This,psarray); +} +static FORCEINLINE HRESULT IHTMLDocument2_open(IHTMLDocument2* This,BSTR url,VARIANT name,VARIANT features,VARIANT replace,IDispatch **pomWindowResult) { + return This->lpVtbl->open(This,url,name,features,replace,pomWindowResult); +} +static FORCEINLINE HRESULT IHTMLDocument2_close(IHTMLDocument2* This) { + return This->lpVtbl->close(This); +} +static FORCEINLINE HRESULT IHTMLDocument2_clear(IHTMLDocument2* This) { + return This->lpVtbl->clear(This); +} +static FORCEINLINE HRESULT IHTMLDocument2_queryCommandSupported(IHTMLDocument2* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandSupported(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLDocument2_queryCommandEnabled(IHTMLDocument2* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandEnabled(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLDocument2_queryCommandState(IHTMLDocument2* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandState(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLDocument2_queryCommandIndeterm(IHTMLDocument2* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->queryCommandIndeterm(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLDocument2_queryCommandText(IHTMLDocument2* This,BSTR cmdID,BSTR *pcmdText) { + return This->lpVtbl->queryCommandText(This,cmdID,pcmdText); +} +static FORCEINLINE HRESULT IHTMLDocument2_queryCommandValue(IHTMLDocument2* This,BSTR cmdID,VARIANT *pcmdValue) { + return This->lpVtbl->queryCommandValue(This,cmdID,pcmdValue); +} +static FORCEINLINE HRESULT IHTMLDocument2_execCommand(IHTMLDocument2* This,BSTR cmdID,VARIANT_BOOL showUI,VARIANT value,VARIANT_BOOL *pfRet) { + return This->lpVtbl->execCommand(This,cmdID,showUI,value,pfRet); +} +static FORCEINLINE HRESULT IHTMLDocument2_execCommandShowHelp(IHTMLDocument2* This,BSTR cmdID,VARIANT_BOOL *pfRet) { + return This->lpVtbl->execCommandShowHelp(This,cmdID,pfRet); +} +static FORCEINLINE HRESULT IHTMLDocument2_createElement(IHTMLDocument2* This,BSTR eTag,IHTMLElement **newElem) { + return This->lpVtbl->createElement(This,eTag,newElem); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onhelp(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onhelp(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onhelp(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onhelp(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onclick(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onclick(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onclick(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onclick(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_ondblclick(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_ondblclick(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_ondblclick(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_ondblclick(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onkeyup(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onkeyup(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onkeyup(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onkeyup(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onkeydown(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onkeydown(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onkeydown(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onkeydown(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onkeypress(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onkeypress(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onkeypress(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onkeypress(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onmouseup(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onmouseup(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onmouseup(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onmouseup(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onmousedown(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onmousedown(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onmousedown(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onmousedown(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onmousemove(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onmousemove(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onmousemove(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onmousemove(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onmouseout(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onmouseout(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onmouseout(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onmouseout(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onmouseover(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onmouseover(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onmouseover(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onmouseover(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onreadystatechange(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onreadystatechange(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onafterupdate(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onafterupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onafterupdate(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onafterupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onrowexit(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onrowexit(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onrowexit(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onrowexit(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onrowenter(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onrowenter(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onrowenter(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onrowenter(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_ondragstart(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_ondragstart(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_ondragstart(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_ondragstart(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onselectstart(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onselectstart(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onselectstart(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onselectstart(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_elementFromPoint(IHTMLDocument2* This,LONG x,LONG y,IHTMLElement **elementHit) { + return This->lpVtbl->elementFromPoint(This,x,y,elementHit); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_parentWindow(IHTMLDocument2* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_parentWindow(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_styleSheets(IHTMLDocument2* This,IHTMLStyleSheetsCollection **p) { + return This->lpVtbl->get_styleSheets(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onbeforeupdate(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onbeforeupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onbeforeupdate(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_put_onerrorupdate(IHTMLDocument2* This,VARIANT v) { + return This->lpVtbl->put_onerrorupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument2_get_onerrorupdate(IHTMLDocument2* This,VARIANT *p) { + return This->lpVtbl->get_onerrorupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument2_toString(IHTMLDocument2* This,BSTR *String) { + return This->lpVtbl->toString(This,String); +} +static FORCEINLINE HRESULT IHTMLDocument2_createStyleSheet(IHTMLDocument2* This,BSTR bstrHref,LONG lIndex,IHTMLStyleSheet **ppnewStyleSheet) { + return This->lpVtbl->createStyleSheet(This,bstrHref,lIndex,ppnewStyleSheet); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument3 interface + */ +#ifndef __IHTMLDocument3_INTERFACE_DEFINED__ +#define __IHTMLDocument3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument3, 0x3050f485, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f485-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocument3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE releaseCapture( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE recalc( + VARIANT_BOOL fForce = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextNode( + BSTR text, + IHTMLDOMNode **newTextNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_documentElement( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_uniqueID( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE attachEvent( + BSTR event, + IDispatch *pDisp, + VARIANT_BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE detachEvent( + BSTR event, + IDispatch *pDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowsdelete( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowsdelete( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onrowsinserted( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onrowsinserted( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncellchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncellchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondatasetchanged( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondatasetchanged( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondataavailable( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondataavailable( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondatasetcomplete( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondatasetcomplete( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onpropertychange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onpropertychange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dir( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dir( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncontextmenu( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncontextmenu( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onstop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onstop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createDocumentFragment( + IHTMLDocument2 **pNewDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentDocument( + IHTMLDocument2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_enableDownload( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_enableDownload( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_baseUrl( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseUrl( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childNodes( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_inheritStyleSheets( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_inheritStyleSheets( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeeditfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeeditfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByName( + BSTR v, + IHTMLElementCollection **pelColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementById( + BSTR v, + IHTMLElement **pel) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR v, + IHTMLElementCollection **pelColl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument3, 0x3050f485, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocument3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument3 methods ***/ + HRESULT (STDMETHODCALLTYPE *releaseCapture)( + IHTMLDocument3 *This); + + HRESULT (STDMETHODCALLTYPE *recalc)( + IHTMLDocument3 *This, + VARIANT_BOOL fForce); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IHTMLDocument3 *This, + BSTR text, + IHTMLDOMNode **newTextNode); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IHTMLDocument3 *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_uniqueID)( + IHTMLDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *attachEvent)( + IHTMLDocument3 *This, + BSTR event, + IDispatch *pDisp, + VARIANT_BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *detachEvent)( + IHTMLDocument3 *This, + BSTR event, + IDispatch *pDisp); + + HRESULT (STDMETHODCALLTYPE *put_onrowsdelete)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowsdelete)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onrowsinserted)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onrowsinserted)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncellchange)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncellchange)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondatasetchanged)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondatasetchanged)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondataavailable)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondatasetcomplete)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondatasetcomplete)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onpropertychange)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onpropertychange)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_dir)( + IHTMLDocument3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_dir)( + IHTMLDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_oncontextmenu)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncontextmenu)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onstop)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onstop)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IHTMLDocument3 *This, + IHTMLDocument2 **pNewDoc); + + HRESULT (STDMETHODCALLTYPE *get_parentDocument)( + IHTMLDocument3 *This, + IHTMLDocument2 **p); + + HRESULT (STDMETHODCALLTYPE *put_enableDownload)( + IHTMLDocument3 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_enableDownload)( + IHTMLDocument3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_baseUrl)( + IHTMLDocument3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_baseUrl)( + IHTMLDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IHTMLDocument3 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_inheritStyleSheets)( + IHTMLDocument3 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_inheritStyleSheets)( + IHTMLDocument3 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeeditfocus)( + IHTMLDocument3 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeeditfocus)( + IHTMLDocument3 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *getElementsByName)( + IHTMLDocument3 *This, + BSTR v, + IHTMLElementCollection **pelColl); + + HRESULT (STDMETHODCALLTYPE *getElementById)( + IHTMLDocument3 *This, + BSTR v, + IHTMLElement **pel); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IHTMLDocument3 *This, + BSTR v, + IHTMLElementCollection **pelColl); + + END_INTERFACE +} IHTMLDocument3Vtbl; + +interface IHTMLDocument3 { + CONST_VTBL IHTMLDocument3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument3 methods ***/ +#define IHTMLDocument3_releaseCapture(This) (This)->lpVtbl->releaseCapture(This) +#define IHTMLDocument3_recalc(This,fForce) (This)->lpVtbl->recalc(This,fForce) +#define IHTMLDocument3_createTextNode(This,text,newTextNode) (This)->lpVtbl->createTextNode(This,text,newTextNode) +#define IHTMLDocument3_get_documentElement(This,p) (This)->lpVtbl->get_documentElement(This,p) +#define IHTMLDocument3_get_uniqueID(This,p) (This)->lpVtbl->get_uniqueID(This,p) +#define IHTMLDocument3_attachEvent(This,event,pDisp,pfResult) (This)->lpVtbl->attachEvent(This,event,pDisp,pfResult) +#define IHTMLDocument3_detachEvent(This,event,pDisp) (This)->lpVtbl->detachEvent(This,event,pDisp) +#define IHTMLDocument3_put_onrowsdelete(This,v) (This)->lpVtbl->put_onrowsdelete(This,v) +#define IHTMLDocument3_get_onrowsdelete(This,p) (This)->lpVtbl->get_onrowsdelete(This,p) +#define IHTMLDocument3_put_onrowsinserted(This,v) (This)->lpVtbl->put_onrowsinserted(This,v) +#define IHTMLDocument3_get_onrowsinserted(This,p) (This)->lpVtbl->get_onrowsinserted(This,p) +#define IHTMLDocument3_put_oncellchange(This,v) (This)->lpVtbl->put_oncellchange(This,v) +#define IHTMLDocument3_get_oncellchange(This,p) (This)->lpVtbl->get_oncellchange(This,p) +#define IHTMLDocument3_put_ondatasetchanged(This,v) (This)->lpVtbl->put_ondatasetchanged(This,v) +#define IHTMLDocument3_get_ondatasetchanged(This,p) (This)->lpVtbl->get_ondatasetchanged(This,p) +#define IHTMLDocument3_put_ondataavailable(This,v) (This)->lpVtbl->put_ondataavailable(This,v) +#define IHTMLDocument3_get_ondataavailable(This,p) (This)->lpVtbl->get_ondataavailable(This,p) +#define IHTMLDocument3_put_ondatasetcomplete(This,v) (This)->lpVtbl->put_ondatasetcomplete(This,v) +#define IHTMLDocument3_get_ondatasetcomplete(This,p) (This)->lpVtbl->get_ondatasetcomplete(This,p) +#define IHTMLDocument3_put_onpropertychange(This,v) (This)->lpVtbl->put_onpropertychange(This,v) +#define IHTMLDocument3_get_onpropertychange(This,p) (This)->lpVtbl->get_onpropertychange(This,p) +#define IHTMLDocument3_put_dir(This,v) (This)->lpVtbl->put_dir(This,v) +#define IHTMLDocument3_get_dir(This,p) (This)->lpVtbl->get_dir(This,p) +#define IHTMLDocument3_put_oncontextmenu(This,v) (This)->lpVtbl->put_oncontextmenu(This,v) +#define IHTMLDocument3_get_oncontextmenu(This,p) (This)->lpVtbl->get_oncontextmenu(This,p) +#define IHTMLDocument3_put_onstop(This,v) (This)->lpVtbl->put_onstop(This,v) +#define IHTMLDocument3_get_onstop(This,p) (This)->lpVtbl->get_onstop(This,p) +#define IHTMLDocument3_createDocumentFragment(This,pNewDoc) (This)->lpVtbl->createDocumentFragment(This,pNewDoc) +#define IHTMLDocument3_get_parentDocument(This,p) (This)->lpVtbl->get_parentDocument(This,p) +#define IHTMLDocument3_put_enableDownload(This,v) (This)->lpVtbl->put_enableDownload(This,v) +#define IHTMLDocument3_get_enableDownload(This,p) (This)->lpVtbl->get_enableDownload(This,p) +#define IHTMLDocument3_put_baseUrl(This,v) (This)->lpVtbl->put_baseUrl(This,v) +#define IHTMLDocument3_get_baseUrl(This,p) (This)->lpVtbl->get_baseUrl(This,p) +#define IHTMLDocument3_get_childNodes(This,p) (This)->lpVtbl->get_childNodes(This,p) +#define IHTMLDocument3_put_inheritStyleSheets(This,v) (This)->lpVtbl->put_inheritStyleSheets(This,v) +#define IHTMLDocument3_get_inheritStyleSheets(This,p) (This)->lpVtbl->get_inheritStyleSheets(This,p) +#define IHTMLDocument3_put_onbeforeeditfocus(This,v) (This)->lpVtbl->put_onbeforeeditfocus(This,v) +#define IHTMLDocument3_get_onbeforeeditfocus(This,p) (This)->lpVtbl->get_onbeforeeditfocus(This,p) +#define IHTMLDocument3_getElementsByName(This,v,pelColl) (This)->lpVtbl->getElementsByName(This,v,pelColl) +#define IHTMLDocument3_getElementById(This,v,pel) (This)->lpVtbl->getElementById(This,v,pel) +#define IHTMLDocument3_getElementsByTagName(This,v,pelColl) (This)->lpVtbl->getElementsByTagName(This,v,pelColl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument3_QueryInterface(IHTMLDocument3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument3_AddRef(IHTMLDocument3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument3_Release(IHTMLDocument3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument3_GetTypeInfoCount(IHTMLDocument3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument3_GetTypeInfo(IHTMLDocument3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument3_GetIDsOfNames(IHTMLDocument3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument3_Invoke(IHTMLDocument3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument3 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument3_releaseCapture(IHTMLDocument3* This) { + return This->lpVtbl->releaseCapture(This); +} +static FORCEINLINE HRESULT IHTMLDocument3_recalc(IHTMLDocument3* This,VARIANT_BOOL fForce) { + return This->lpVtbl->recalc(This,fForce); +} +static FORCEINLINE HRESULT IHTMLDocument3_createTextNode(IHTMLDocument3* This,BSTR text,IHTMLDOMNode **newTextNode) { + return This->lpVtbl->createTextNode(This,text,newTextNode); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_documentElement(IHTMLDocument3* This,IHTMLElement **p) { + return This->lpVtbl->get_documentElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_uniqueID(IHTMLDocument3* This,BSTR *p) { + return This->lpVtbl->get_uniqueID(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_attachEvent(IHTMLDocument3* This,BSTR event,IDispatch *pDisp,VARIANT_BOOL *pfResult) { + return This->lpVtbl->attachEvent(This,event,pDisp,pfResult); +} +static FORCEINLINE HRESULT IHTMLDocument3_detachEvent(IHTMLDocument3* This,BSTR event,IDispatch *pDisp) { + return This->lpVtbl->detachEvent(This,event,pDisp); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_onrowsdelete(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_onrowsdelete(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_onrowsdelete(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_onrowsdelete(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_onrowsinserted(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_onrowsinserted(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_onrowsinserted(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_onrowsinserted(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_oncellchange(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_oncellchange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_oncellchange(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_oncellchange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_ondatasetchanged(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_ondatasetchanged(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_ondatasetchanged(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_ondatasetchanged(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_ondataavailable(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_ondataavailable(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_ondataavailable(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_ondataavailable(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_ondatasetcomplete(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_ondatasetcomplete(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_ondatasetcomplete(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_ondatasetcomplete(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_onpropertychange(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_onpropertychange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_onpropertychange(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_onpropertychange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_dir(IHTMLDocument3* This,BSTR v) { + return This->lpVtbl->put_dir(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_dir(IHTMLDocument3* This,BSTR *p) { + return This->lpVtbl->get_dir(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_oncontextmenu(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_oncontextmenu(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_oncontextmenu(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_oncontextmenu(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_onstop(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_onstop(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_onstop(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_onstop(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_createDocumentFragment(IHTMLDocument3* This,IHTMLDocument2 **pNewDoc) { + return This->lpVtbl->createDocumentFragment(This,pNewDoc); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_parentDocument(IHTMLDocument3* This,IHTMLDocument2 **p) { + return This->lpVtbl->get_parentDocument(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_enableDownload(IHTMLDocument3* This,VARIANT_BOOL v) { + return This->lpVtbl->put_enableDownload(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_enableDownload(IHTMLDocument3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_enableDownload(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_baseUrl(IHTMLDocument3* This,BSTR v) { + return This->lpVtbl->put_baseUrl(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_baseUrl(IHTMLDocument3* This,BSTR *p) { + return This->lpVtbl->get_baseUrl(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_childNodes(IHTMLDocument3* This,IDispatch **p) { + return This->lpVtbl->get_childNodes(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_inheritStyleSheets(IHTMLDocument3* This,VARIANT_BOOL v) { + return This->lpVtbl->put_inheritStyleSheets(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_inheritStyleSheets(IHTMLDocument3* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_inheritStyleSheets(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_put_onbeforeeditfocus(IHTMLDocument3* This,VARIANT v) { + return This->lpVtbl->put_onbeforeeditfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument3_get_onbeforeeditfocus(IHTMLDocument3* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeeditfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument3_getElementsByName(IHTMLDocument3* This,BSTR v,IHTMLElementCollection **pelColl) { + return This->lpVtbl->getElementsByName(This,v,pelColl); +} +static FORCEINLINE HRESULT IHTMLDocument3_getElementById(IHTMLDocument3* This,BSTR v,IHTMLElement **pel) { + return This->lpVtbl->getElementById(This,v,pel); +} +static FORCEINLINE HRESULT IHTMLDocument3_getElementsByTagName(IHTMLDocument3* This,BSTR v,IHTMLElementCollection **pelColl) { + return This->lpVtbl->getElementsByTagName(This,v,pelColl); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument4 interface + */ +#ifndef __IHTMLDocument4_INTERFACE_DEFINED__ +#define __IHTMLDocument4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument4, 0x3050f69a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f69a-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocument4 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE focus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasFocus( + VARIANT_BOOL *pfFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselectionchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselectionchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaces( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createDocumentFromUrl( + BSTR bstrUrl, + BSTR bstrOptions, + IHTMLDocument2 **newDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_media( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_media( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createEventObject( + VARIANT *pvarEventObject, + IHTMLEventObj **ppEventObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE fireEvent( + BSTR bstrEventName, + VARIANT *pvarEventObject, + VARIANT_BOOL *pfCancelled) = 0; + + virtual HRESULT STDMETHODCALLTYPE createRenderStyle( + BSTR v, + IHTMLRenderStyle **ppIHTMLRenderStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncontrolselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncontrolselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URLUnencoded( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument4, 0x3050f69a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocument4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument4 methods ***/ + HRESULT (STDMETHODCALLTYPE *focus)( + IHTMLDocument4 *This); + + HRESULT (STDMETHODCALLTYPE *hasFocus)( + IHTMLDocument4 *This, + VARIANT_BOOL *pfFocus); + + HRESULT (STDMETHODCALLTYPE *put_onselectionchange)( + IHTMLDocument4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselectionchange)( + IHTMLDocument4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + IHTMLDocument4 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *createDocumentFromUrl)( + IHTMLDocument4 *This, + BSTR bstrUrl, + BSTR bstrOptions, + IHTMLDocument2 **newDoc); + + HRESULT (STDMETHODCALLTYPE *put_media)( + IHTMLDocument4 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_media)( + IHTMLDocument4 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *createEventObject)( + IHTMLDocument4 *This, + VARIANT *pvarEventObject, + IHTMLEventObj **ppEventObj); + + HRESULT (STDMETHODCALLTYPE *fireEvent)( + IHTMLDocument4 *This, + BSTR bstrEventName, + VARIANT *pvarEventObject, + VARIANT_BOOL *pfCancelled); + + HRESULT (STDMETHODCALLTYPE *createRenderStyle)( + IHTMLDocument4 *This, + BSTR v, + IHTMLRenderStyle **ppIHTMLRenderStyle); + + HRESULT (STDMETHODCALLTYPE *put_oncontrolselect)( + IHTMLDocument4 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncontrolselect)( + IHTMLDocument4 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_URLUnencoded)( + IHTMLDocument4 *This, + BSTR *p); + + END_INTERFACE +} IHTMLDocument4Vtbl; + +interface IHTMLDocument4 { + CONST_VTBL IHTMLDocument4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument4 methods ***/ +#define IHTMLDocument4_focus(This) (This)->lpVtbl->focus(This) +#define IHTMLDocument4_hasFocus(This,pfFocus) (This)->lpVtbl->hasFocus(This,pfFocus) +#define IHTMLDocument4_put_onselectionchange(This,v) (This)->lpVtbl->put_onselectionchange(This,v) +#define IHTMLDocument4_get_onselectionchange(This,p) (This)->lpVtbl->get_onselectionchange(This,p) +#define IHTMLDocument4_get_namespaces(This,p) (This)->lpVtbl->get_namespaces(This,p) +#define IHTMLDocument4_createDocumentFromUrl(This,bstrUrl,bstrOptions,newDoc) (This)->lpVtbl->createDocumentFromUrl(This,bstrUrl,bstrOptions,newDoc) +#define IHTMLDocument4_put_media(This,v) (This)->lpVtbl->put_media(This,v) +#define IHTMLDocument4_get_media(This,p) (This)->lpVtbl->get_media(This,p) +#define IHTMLDocument4_createEventObject(This,pvarEventObject,ppEventObj) (This)->lpVtbl->createEventObject(This,pvarEventObject,ppEventObj) +#define IHTMLDocument4_fireEvent(This,bstrEventName,pvarEventObject,pfCancelled) (This)->lpVtbl->fireEvent(This,bstrEventName,pvarEventObject,pfCancelled) +#define IHTMLDocument4_createRenderStyle(This,v,ppIHTMLRenderStyle) (This)->lpVtbl->createRenderStyle(This,v,ppIHTMLRenderStyle) +#define IHTMLDocument4_put_oncontrolselect(This,v) (This)->lpVtbl->put_oncontrolselect(This,v) +#define IHTMLDocument4_get_oncontrolselect(This,p) (This)->lpVtbl->get_oncontrolselect(This,p) +#define IHTMLDocument4_get_URLUnencoded(This,p) (This)->lpVtbl->get_URLUnencoded(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument4_QueryInterface(IHTMLDocument4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument4_AddRef(IHTMLDocument4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument4_Release(IHTMLDocument4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument4_GetTypeInfoCount(IHTMLDocument4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument4_GetTypeInfo(IHTMLDocument4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument4_GetIDsOfNames(IHTMLDocument4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument4_Invoke(IHTMLDocument4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument4 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument4_focus(IHTMLDocument4* This) { + return This->lpVtbl->focus(This); +} +static FORCEINLINE HRESULT IHTMLDocument4_hasFocus(IHTMLDocument4* This,VARIANT_BOOL *pfFocus) { + return This->lpVtbl->hasFocus(This,pfFocus); +} +static FORCEINLINE HRESULT IHTMLDocument4_put_onselectionchange(IHTMLDocument4* This,VARIANT v) { + return This->lpVtbl->put_onselectionchange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument4_get_onselectionchange(IHTMLDocument4* This,VARIANT *p) { + return This->lpVtbl->get_onselectionchange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument4_get_namespaces(IHTMLDocument4* This,IDispatch **p) { + return This->lpVtbl->get_namespaces(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument4_createDocumentFromUrl(IHTMLDocument4* This,BSTR bstrUrl,BSTR bstrOptions,IHTMLDocument2 **newDoc) { + return This->lpVtbl->createDocumentFromUrl(This,bstrUrl,bstrOptions,newDoc); +} +static FORCEINLINE HRESULT IHTMLDocument4_put_media(IHTMLDocument4* This,BSTR v) { + return This->lpVtbl->put_media(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument4_get_media(IHTMLDocument4* This,BSTR *p) { + return This->lpVtbl->get_media(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument4_createEventObject(IHTMLDocument4* This,VARIANT *pvarEventObject,IHTMLEventObj **ppEventObj) { + return This->lpVtbl->createEventObject(This,pvarEventObject,ppEventObj); +} +static FORCEINLINE HRESULT IHTMLDocument4_fireEvent(IHTMLDocument4* This,BSTR bstrEventName,VARIANT *pvarEventObject,VARIANT_BOOL *pfCancelled) { + return This->lpVtbl->fireEvent(This,bstrEventName,pvarEventObject,pfCancelled); +} +static FORCEINLINE HRESULT IHTMLDocument4_createRenderStyle(IHTMLDocument4* This,BSTR v,IHTMLRenderStyle **ppIHTMLRenderStyle) { + return This->lpVtbl->createRenderStyle(This,v,ppIHTMLRenderStyle); +} +static FORCEINLINE HRESULT IHTMLDocument4_put_oncontrolselect(IHTMLDocument4* This,VARIANT v) { + return This->lpVtbl->put_oncontrolselect(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument4_get_oncontrolselect(IHTMLDocument4* This,VARIANT *p) { + return This->lpVtbl->get_oncontrolselect(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument4_get_URLUnencoded(IHTMLDocument4* This,BSTR *p) { + return This->lpVtbl->get_URLUnencoded(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument5 interface + */ +#ifndef __IHTMLDocument5_INTERFACE_DEFINED__ +#define __IHTMLDocument5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument5, 0x3050f80c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f80c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocument5 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_onmousewheel( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmousewheel( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_doctype( + IHTMLDOMNode **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_implementation( + IHTMLDOMImplementation **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createAttribute( + BSTR bstrattrName, + IHTMLDOMAttribute **ppattribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE createComment( + BSTR bstrdata, + IHTMLDOMNode **ppRetNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocusin( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocusin( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocusout( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocusout( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondeactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondeactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforeactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforeactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onbeforedeactivate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onbeforedeactivate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_compatMode( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument5, 0x3050f80c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocument5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument5 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument5 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument5 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument5 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument5 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument5 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_onmousewheel)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmousewheel)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IHTMLDocument5 *This, + IHTMLDOMNode **p); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IHTMLDocument5 *This, + IHTMLDOMImplementation **p); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IHTMLDocument5 *This, + BSTR bstrattrName, + IHTMLDOMAttribute **ppattribute); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IHTMLDocument5 *This, + BSTR bstrdata, + IHTMLDOMNode **ppRetNode); + + HRESULT (STDMETHODCALLTYPE *put_onfocusin)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocusin)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocusout)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocusout)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onactivate)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onactivate)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondeactivate)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondeactivate)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforeactivate)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforeactivate)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onbeforedeactivate)( + IHTMLDocument5 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onbeforedeactivate)( + IHTMLDocument5 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_compatMode)( + IHTMLDocument5 *This, + BSTR *p); + + END_INTERFACE +} IHTMLDocument5Vtbl; + +interface IHTMLDocument5 { + CONST_VTBL IHTMLDocument5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument5_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument5_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument5_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument5_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument5_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument5 methods ***/ +#define IHTMLDocument5_put_onmousewheel(This,v) (This)->lpVtbl->put_onmousewheel(This,v) +#define IHTMLDocument5_get_onmousewheel(This,p) (This)->lpVtbl->get_onmousewheel(This,p) +#define IHTMLDocument5_get_doctype(This,p) (This)->lpVtbl->get_doctype(This,p) +#define IHTMLDocument5_get_implementation(This,p) (This)->lpVtbl->get_implementation(This,p) +#define IHTMLDocument5_createAttribute(This,bstrattrName,ppattribute) (This)->lpVtbl->createAttribute(This,bstrattrName,ppattribute) +#define IHTMLDocument5_createComment(This,bstrdata,ppRetNode) (This)->lpVtbl->createComment(This,bstrdata,ppRetNode) +#define IHTMLDocument5_put_onfocusin(This,v) (This)->lpVtbl->put_onfocusin(This,v) +#define IHTMLDocument5_get_onfocusin(This,p) (This)->lpVtbl->get_onfocusin(This,p) +#define IHTMLDocument5_put_onfocusout(This,v) (This)->lpVtbl->put_onfocusout(This,v) +#define IHTMLDocument5_get_onfocusout(This,p) (This)->lpVtbl->get_onfocusout(This,p) +#define IHTMLDocument5_put_onactivate(This,v) (This)->lpVtbl->put_onactivate(This,v) +#define IHTMLDocument5_get_onactivate(This,p) (This)->lpVtbl->get_onactivate(This,p) +#define IHTMLDocument5_put_ondeactivate(This,v) (This)->lpVtbl->put_ondeactivate(This,v) +#define IHTMLDocument5_get_ondeactivate(This,p) (This)->lpVtbl->get_ondeactivate(This,p) +#define IHTMLDocument5_put_onbeforeactivate(This,v) (This)->lpVtbl->put_onbeforeactivate(This,v) +#define IHTMLDocument5_get_onbeforeactivate(This,p) (This)->lpVtbl->get_onbeforeactivate(This,p) +#define IHTMLDocument5_put_onbeforedeactivate(This,v) (This)->lpVtbl->put_onbeforedeactivate(This,v) +#define IHTMLDocument5_get_onbeforedeactivate(This,p) (This)->lpVtbl->get_onbeforedeactivate(This,p) +#define IHTMLDocument5_get_compatMode(This,p) (This)->lpVtbl->get_compatMode(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument5_QueryInterface(IHTMLDocument5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument5_AddRef(IHTMLDocument5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument5_Release(IHTMLDocument5* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument5_GetTypeInfoCount(IHTMLDocument5* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument5_GetTypeInfo(IHTMLDocument5* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument5_GetIDsOfNames(IHTMLDocument5* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument5_Invoke(IHTMLDocument5* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument5 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument5_put_onmousewheel(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_onmousewheel(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_onmousewheel(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_onmousewheel(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_doctype(IHTMLDocument5* This,IHTMLDOMNode **p) { + return This->lpVtbl->get_doctype(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_implementation(IHTMLDocument5* This,IHTMLDOMImplementation **p) { + return This->lpVtbl->get_implementation(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_createAttribute(IHTMLDocument5* This,BSTR bstrattrName,IHTMLDOMAttribute **ppattribute) { + return This->lpVtbl->createAttribute(This,bstrattrName,ppattribute); +} +static FORCEINLINE HRESULT IHTMLDocument5_createComment(IHTMLDocument5* This,BSTR bstrdata,IHTMLDOMNode **ppRetNode) { + return This->lpVtbl->createComment(This,bstrdata,ppRetNode); +} +static FORCEINLINE HRESULT IHTMLDocument5_put_onfocusin(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_onfocusin(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_onfocusin(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_onfocusin(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_put_onfocusout(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_onfocusout(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_onfocusout(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_onfocusout(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_put_onactivate(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_onactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_onactivate(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_onactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_put_ondeactivate(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_ondeactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_ondeactivate(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_ondeactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_put_onbeforeactivate(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_onbeforeactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_onbeforeactivate(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_onbeforeactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_put_onbeforedeactivate(IHTMLDocument5* This,VARIANT v) { + return This->lpVtbl->put_onbeforedeactivate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_onbeforedeactivate(IHTMLDocument5* This,VARIANT *p) { + return This->lpVtbl->get_onbeforedeactivate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument5_get_compatMode(IHTMLDocument5* This,BSTR *p) { + return This->lpVtbl->get_compatMode(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument6 interface + */ +#ifndef __IHTMLDocument6_INTERFACE_DEFINED__ +#define __IHTMLDocument6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument6, 0x30510417, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510417-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocument6 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_compatible( + IHTMLDocumentCompatibleInfoCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_documentMode( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onstorage( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onstorage( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onstoragecommit( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onstoragecommit( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementById( + BSTR bstrId, + IHTMLElement2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE updateSettings( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument6, 0x30510417, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocument6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument6 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument6 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument6 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument6 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument6 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument6 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_compatible)( + IHTMLDocument6 *This, + IHTMLDocumentCompatibleInfoCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_documentMode)( + IHTMLDocument6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onstorage)( + IHTMLDocument6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onstorage)( + IHTMLDocument6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onstoragecommit)( + IHTMLDocument6 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onstoragecommit)( + IHTMLDocument6 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *getElementById)( + IHTMLDocument6 *This, + BSTR bstrId, + IHTMLElement2 **p); + + HRESULT (STDMETHODCALLTYPE *updateSettings)( + IHTMLDocument6 *This); + + END_INTERFACE +} IHTMLDocument6Vtbl; + +interface IHTMLDocument6 { + CONST_VTBL IHTMLDocument6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument6_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument6_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument6_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument6_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument6_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument6 methods ***/ +#define IHTMLDocument6_get_compatible(This,p) (This)->lpVtbl->get_compatible(This,p) +#define IHTMLDocument6_get_documentMode(This,p) (This)->lpVtbl->get_documentMode(This,p) +#define IHTMLDocument6_put_onstorage(This,v) (This)->lpVtbl->put_onstorage(This,v) +#define IHTMLDocument6_get_onstorage(This,p) (This)->lpVtbl->get_onstorage(This,p) +#define IHTMLDocument6_put_onstoragecommit(This,v) (This)->lpVtbl->put_onstoragecommit(This,v) +#define IHTMLDocument6_get_onstoragecommit(This,p) (This)->lpVtbl->get_onstoragecommit(This,p) +#define IHTMLDocument6_getElementById(This,bstrId,p) (This)->lpVtbl->getElementById(This,bstrId,p) +#define IHTMLDocument6_updateSettings(This) (This)->lpVtbl->updateSettings(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument6_QueryInterface(IHTMLDocument6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument6_AddRef(IHTMLDocument6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument6_Release(IHTMLDocument6* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument6_GetTypeInfoCount(IHTMLDocument6* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument6_GetTypeInfo(IHTMLDocument6* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument6_GetIDsOfNames(IHTMLDocument6* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument6_Invoke(IHTMLDocument6* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument6 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument6_get_compatible(IHTMLDocument6* This,IHTMLDocumentCompatibleInfoCollection **p) { + return This->lpVtbl->get_compatible(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument6_get_documentMode(IHTMLDocument6* This,VARIANT *p) { + return This->lpVtbl->get_documentMode(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument6_put_onstorage(IHTMLDocument6* This,VARIANT v) { + return This->lpVtbl->put_onstorage(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument6_get_onstorage(IHTMLDocument6* This,VARIANT *p) { + return This->lpVtbl->get_onstorage(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument6_put_onstoragecommit(IHTMLDocument6* This,VARIANT v) { + return This->lpVtbl->put_onstoragecommit(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument6_get_onstoragecommit(IHTMLDocument6* This,VARIANT *p) { + return This->lpVtbl->get_onstoragecommit(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument6_getElementById(IHTMLDocument6* This,BSTR bstrId,IHTMLElement2 **p) { + return This->lpVtbl->getElementById(This,bstrId,p); +} +static FORCEINLINE HRESULT IHTMLDocument6_updateSettings(IHTMLDocument6* This) { + return This->lpVtbl->updateSettings(This); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument6_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument7 interface + */ +#ifndef __IHTMLDocument7_INTERFACE_DEFINED__ +#define __IHTMLDocument7_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument7, 0x305104b8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305104b8-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocument7 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_defaultView( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createCDATASection( + BSTR text, + IHTMLDOMNode **newCDATASectionNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSelection( + IHTMLSelection **ppIHTMLSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagNameNS( + VARIANT *pvarNS, + BSTR bstrLocalName, + IHTMLElementCollection **pelColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElementNS( + VARIANT *pvarNS, + BSTR bstrTag, + IHTMLElement **newElem) = 0; + + virtual HRESULT STDMETHODCALLTYPE createAttributeNS( + VARIANT *pvarNS, + BSTR bstrAttrName, + IHTMLDOMAttribute **ppAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsthumbnailclick( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsthumbnailclick( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_characterSet( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + BSTR bstrTag, + IHTMLElement **newElem) = 0; + + virtual HRESULT STDMETHODCALLTYPE createAttribute( + BSTR bstrAttrName, + IHTMLDOMAttribute **ppAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByClassName( + BSTR v, + IHTMLElementCollection **pel) = 0; + + virtual HRESULT STDMETHODCALLTYPE createProcessingInstruction( + BSTR bstrTarget, + BSTR bstrData, + IDOMProcessingInstruction **newProcessingInstruction) = 0; + + virtual HRESULT STDMETHODCALLTYPE adoptNode( + IHTMLDOMNode *pNodeSource, + IHTMLDOMNode3 **ppNodeDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmssitemodejumplistitemremoved( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmssitemodejumplistitemremoved( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_all( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_inputEncoding( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_xmlEncoding( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_xmlStandalone( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_xmlStandalone( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_xmlVersion( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_xmlVersion( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasAttributes( + VARIANT_BOOL *pfHasAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onabort( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onabort( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onblur( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onblur( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncanplay( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncanplay( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oncanplaythrough( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oncanplaythrough( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondrag( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondrag( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragenter( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragenter( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragleave( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragleave( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondragover( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondragover( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondrop( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondrop( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondurationchange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ondurationchange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onemptied( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onemptied( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onended( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onended( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onfocus( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onfocus( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_oninput( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_oninput( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onloadeddata( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onloadeddata( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onloadedmetadata( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onloadedmetadata( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onloadstart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onloadstart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onpause( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onpause( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onplay( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onplay( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onplaying( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onplaying( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onprogress( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onprogress( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onratechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onratechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreset( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreset( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onscroll( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onscroll( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onseeked( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onseeked( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onseeking( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onseeking( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onselect( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onselect( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onstalled( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onstalled( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onsubmit( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onsubmit( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onsuspend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onsuspend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ontimeupdate( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ontimeupdate( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onvolumechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onvolumechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onwaiting( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onwaiting( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE normalize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE importNode( + IHTMLDOMNode *pNodeSource, + VARIANT_BOOL fDeep, + IHTMLDOMNode3 **ppNodeDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentWindow( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_body( + IHTMLElement *v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_body( + IHTMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_head( + IHTMLElement **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument7, 0x305104b8, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocument7Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument7 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument7 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument7 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument7 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument7 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument7 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument7 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument7 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_defaultView)( + IHTMLDocument7 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IHTMLDocument7 *This, + BSTR text, + IHTMLDOMNode **newCDATASectionNode); + + HRESULT (STDMETHODCALLTYPE *getSelection)( + IHTMLDocument7 *This, + IHTMLSelection **ppIHTMLSelection); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagNameNS)( + IHTMLDocument7 *This, + VARIANT *pvarNS, + BSTR bstrLocalName, + IHTMLElementCollection **pelColl); + + HRESULT (STDMETHODCALLTYPE *createElementNS)( + IHTMLDocument7 *This, + VARIANT *pvarNS, + BSTR bstrTag, + IHTMLElement **newElem); + + HRESULT (STDMETHODCALLTYPE *createAttributeNS)( + IHTMLDocument7 *This, + VARIANT *pvarNS, + BSTR bstrAttrName, + IHTMLDOMAttribute **ppAttribute); + + HRESULT (STDMETHODCALLTYPE *put_onmsthumbnailclick)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsthumbnailclick)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_characterSet)( + IHTMLDocument7 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IHTMLDocument7 *This, + BSTR bstrTag, + IHTMLElement **newElem); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IHTMLDocument7 *This, + BSTR bstrAttrName, + IHTMLDOMAttribute **ppAttribute); + + HRESULT (STDMETHODCALLTYPE *getElementsByClassName)( + IHTMLDocument7 *This, + BSTR v, + IHTMLElementCollection **pel); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IHTMLDocument7 *This, + BSTR bstrTarget, + BSTR bstrData, + IDOMProcessingInstruction **newProcessingInstruction); + + HRESULT (STDMETHODCALLTYPE *adoptNode)( + IHTMLDocument7 *This, + IHTMLDOMNode *pNodeSource, + IHTMLDOMNode3 **ppNodeDest); + + HRESULT (STDMETHODCALLTYPE *put_onmssitemodejumplistitemremoved)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmssitemodejumplistitemremoved)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_all)( + IHTMLDocument7 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_inputEncoding)( + IHTMLDocument7 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_xmlEncoding)( + IHTMLDocument7 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_xmlStandalone)( + IHTMLDocument7 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_xmlStandalone)( + IHTMLDocument7 *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_xmlVersion)( + IHTMLDocument7 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_xmlVersion)( + IHTMLDocument7 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *hasAttributes)( + IHTMLDocument7 *This, + VARIANT_BOOL *pfHasAttributes); + + HRESULT (STDMETHODCALLTYPE *put_onabort)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onabort)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onblur)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onblur)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncanplay)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncanplay)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oncanplaythrough)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oncanplaythrough)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onchange)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onchange)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondrag)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondrag)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragend)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragend)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragenter)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragenter)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragleave)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragleave)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondragover)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondragover)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondrop)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondrop)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ondurationchange)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ondurationchange)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onemptied)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onemptied)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onended)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onended)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onfocus)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onfocus)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_oninput)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_oninput)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onloadeddata)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onloadeddata)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onloadedmetadata)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onloadedmetadata)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onloadstart)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onloadstart)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onpause)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onpause)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onplay)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onplay)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onplaying)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onplaying)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onprogress)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onprogress)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onratechange)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onratechange)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onreset)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreset)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onscroll)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onscroll)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onseeked)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onseeked)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onseeking)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onseeking)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onselect)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onselect)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onstalled)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onstalled)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onsubmit)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onsubmit)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onsuspend)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onsuspend)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_ontimeupdate)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_ontimeupdate)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onvolumechange)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onvolumechange)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onwaiting)( + IHTMLDocument7 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onwaiting)( + IHTMLDocument7 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *normalize)( + IHTMLDocument7 *This); + + HRESULT (STDMETHODCALLTYPE *importNode)( + IHTMLDocument7 *This, + IHTMLDOMNode *pNodeSource, + VARIANT_BOOL fDeep, + IHTMLDOMNode3 **ppNodeDest); + + HRESULT (STDMETHODCALLTYPE *get_parentWindow)( + IHTMLDocument7 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *putref_body)( + IHTMLDocument7 *This, + IHTMLElement *v); + + HRESULT (STDMETHODCALLTYPE *get_body)( + IHTMLDocument7 *This, + IHTMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_head)( + IHTMLDocument7 *This, + IHTMLElement **p); + + END_INTERFACE +} IHTMLDocument7Vtbl; + +interface IHTMLDocument7 { + CONST_VTBL IHTMLDocument7Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument7_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument7_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument7_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument7_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument7_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument7_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument7_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument7 methods ***/ +#define IHTMLDocument7_get_defaultView(This,p) (This)->lpVtbl->get_defaultView(This,p) +#define IHTMLDocument7_createCDATASection(This,text,newCDATASectionNode) (This)->lpVtbl->createCDATASection(This,text,newCDATASectionNode) +#define IHTMLDocument7_getSelection(This,ppIHTMLSelection) (This)->lpVtbl->getSelection(This,ppIHTMLSelection) +#define IHTMLDocument7_getElementsByTagNameNS(This,pvarNS,bstrLocalName,pelColl) (This)->lpVtbl->getElementsByTagNameNS(This,pvarNS,bstrLocalName,pelColl) +#define IHTMLDocument7_createElementNS(This,pvarNS,bstrTag,newElem) (This)->lpVtbl->createElementNS(This,pvarNS,bstrTag,newElem) +#define IHTMLDocument7_createAttributeNS(This,pvarNS,bstrAttrName,ppAttribute) (This)->lpVtbl->createAttributeNS(This,pvarNS,bstrAttrName,ppAttribute) +#define IHTMLDocument7_put_onmsthumbnailclick(This,v) (This)->lpVtbl->put_onmsthumbnailclick(This,v) +#define IHTMLDocument7_get_onmsthumbnailclick(This,p) (This)->lpVtbl->get_onmsthumbnailclick(This,p) +#define IHTMLDocument7_get_characterSet(This,p) (This)->lpVtbl->get_characterSet(This,p) +#define IHTMLDocument7_createElement(This,bstrTag,newElem) (This)->lpVtbl->createElement(This,bstrTag,newElem) +#define IHTMLDocument7_createAttribute(This,bstrAttrName,ppAttribute) (This)->lpVtbl->createAttribute(This,bstrAttrName,ppAttribute) +#define IHTMLDocument7_getElementsByClassName(This,v,pel) (This)->lpVtbl->getElementsByClassName(This,v,pel) +#define IHTMLDocument7_createProcessingInstruction(This,bstrTarget,bstrData,newProcessingInstruction) (This)->lpVtbl->createProcessingInstruction(This,bstrTarget,bstrData,newProcessingInstruction) +#define IHTMLDocument7_adoptNode(This,pNodeSource,ppNodeDest) (This)->lpVtbl->adoptNode(This,pNodeSource,ppNodeDest) +#define IHTMLDocument7_put_onmssitemodejumplistitemremoved(This,v) (This)->lpVtbl->put_onmssitemodejumplistitemremoved(This,v) +#define IHTMLDocument7_get_onmssitemodejumplistitemremoved(This,p) (This)->lpVtbl->get_onmssitemodejumplistitemremoved(This,p) +#define IHTMLDocument7_get_all(This,p) (This)->lpVtbl->get_all(This,p) +#define IHTMLDocument7_get_inputEncoding(This,p) (This)->lpVtbl->get_inputEncoding(This,p) +#define IHTMLDocument7_get_xmlEncoding(This,p) (This)->lpVtbl->get_xmlEncoding(This,p) +#define IHTMLDocument7_put_xmlStandalone(This,v) (This)->lpVtbl->put_xmlStandalone(This,v) +#define IHTMLDocument7_get_xmlStandalone(This,p) (This)->lpVtbl->get_xmlStandalone(This,p) +#define IHTMLDocument7_put_xmlVersion(This,v) (This)->lpVtbl->put_xmlVersion(This,v) +#define IHTMLDocument7_get_xmlVersion(This,p) (This)->lpVtbl->get_xmlVersion(This,p) +#define IHTMLDocument7_hasAttributes(This,pfHasAttributes) (This)->lpVtbl->hasAttributes(This,pfHasAttributes) +#define IHTMLDocument7_put_onabort(This,v) (This)->lpVtbl->put_onabort(This,v) +#define IHTMLDocument7_get_onabort(This,p) (This)->lpVtbl->get_onabort(This,p) +#define IHTMLDocument7_put_onblur(This,v) (This)->lpVtbl->put_onblur(This,v) +#define IHTMLDocument7_get_onblur(This,p) (This)->lpVtbl->get_onblur(This,p) +#define IHTMLDocument7_put_oncanplay(This,v) (This)->lpVtbl->put_oncanplay(This,v) +#define IHTMLDocument7_get_oncanplay(This,p) (This)->lpVtbl->get_oncanplay(This,p) +#define IHTMLDocument7_put_oncanplaythrough(This,v) (This)->lpVtbl->put_oncanplaythrough(This,v) +#define IHTMLDocument7_get_oncanplaythrough(This,p) (This)->lpVtbl->get_oncanplaythrough(This,p) +#define IHTMLDocument7_put_onchange(This,v) (This)->lpVtbl->put_onchange(This,v) +#define IHTMLDocument7_get_onchange(This,p) (This)->lpVtbl->get_onchange(This,p) +#define IHTMLDocument7_put_ondrag(This,v) (This)->lpVtbl->put_ondrag(This,v) +#define IHTMLDocument7_get_ondrag(This,p) (This)->lpVtbl->get_ondrag(This,p) +#define IHTMLDocument7_put_ondragend(This,v) (This)->lpVtbl->put_ondragend(This,v) +#define IHTMLDocument7_get_ondragend(This,p) (This)->lpVtbl->get_ondragend(This,p) +#define IHTMLDocument7_put_ondragenter(This,v) (This)->lpVtbl->put_ondragenter(This,v) +#define IHTMLDocument7_get_ondragenter(This,p) (This)->lpVtbl->get_ondragenter(This,p) +#define IHTMLDocument7_put_ondragleave(This,v) (This)->lpVtbl->put_ondragleave(This,v) +#define IHTMLDocument7_get_ondragleave(This,p) (This)->lpVtbl->get_ondragleave(This,p) +#define IHTMLDocument7_put_ondragover(This,v) (This)->lpVtbl->put_ondragover(This,v) +#define IHTMLDocument7_get_ondragover(This,p) (This)->lpVtbl->get_ondragover(This,p) +#define IHTMLDocument7_put_ondrop(This,v) (This)->lpVtbl->put_ondrop(This,v) +#define IHTMLDocument7_get_ondrop(This,p) (This)->lpVtbl->get_ondrop(This,p) +#define IHTMLDocument7_put_ondurationchange(This,v) (This)->lpVtbl->put_ondurationchange(This,v) +#define IHTMLDocument7_get_ondurationchange(This,p) (This)->lpVtbl->get_ondurationchange(This,p) +#define IHTMLDocument7_put_onemptied(This,v) (This)->lpVtbl->put_onemptied(This,v) +#define IHTMLDocument7_get_onemptied(This,p) (This)->lpVtbl->get_onemptied(This,p) +#define IHTMLDocument7_put_onended(This,v) (This)->lpVtbl->put_onended(This,v) +#define IHTMLDocument7_get_onended(This,p) (This)->lpVtbl->get_onended(This,p) +#define IHTMLDocument7_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLDocument7_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLDocument7_put_onfocus(This,v) (This)->lpVtbl->put_onfocus(This,v) +#define IHTMLDocument7_get_onfocus(This,p) (This)->lpVtbl->get_onfocus(This,p) +#define IHTMLDocument7_put_oninput(This,v) (This)->lpVtbl->put_oninput(This,v) +#define IHTMLDocument7_get_oninput(This,p) (This)->lpVtbl->get_oninput(This,p) +#define IHTMLDocument7_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLDocument7_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLDocument7_put_onloadeddata(This,v) (This)->lpVtbl->put_onloadeddata(This,v) +#define IHTMLDocument7_get_onloadeddata(This,p) (This)->lpVtbl->get_onloadeddata(This,p) +#define IHTMLDocument7_put_onloadedmetadata(This,v) (This)->lpVtbl->put_onloadedmetadata(This,v) +#define IHTMLDocument7_get_onloadedmetadata(This,p) (This)->lpVtbl->get_onloadedmetadata(This,p) +#define IHTMLDocument7_put_onloadstart(This,v) (This)->lpVtbl->put_onloadstart(This,v) +#define IHTMLDocument7_get_onloadstart(This,p) (This)->lpVtbl->get_onloadstart(This,p) +#define IHTMLDocument7_put_onpause(This,v) (This)->lpVtbl->put_onpause(This,v) +#define IHTMLDocument7_get_onpause(This,p) (This)->lpVtbl->get_onpause(This,p) +#define IHTMLDocument7_put_onplay(This,v) (This)->lpVtbl->put_onplay(This,v) +#define IHTMLDocument7_get_onplay(This,p) (This)->lpVtbl->get_onplay(This,p) +#define IHTMLDocument7_put_onplaying(This,v) (This)->lpVtbl->put_onplaying(This,v) +#define IHTMLDocument7_get_onplaying(This,p) (This)->lpVtbl->get_onplaying(This,p) +#define IHTMLDocument7_put_onprogress(This,v) (This)->lpVtbl->put_onprogress(This,v) +#define IHTMLDocument7_get_onprogress(This,p) (This)->lpVtbl->get_onprogress(This,p) +#define IHTMLDocument7_put_onratechange(This,v) (This)->lpVtbl->put_onratechange(This,v) +#define IHTMLDocument7_get_onratechange(This,p) (This)->lpVtbl->get_onratechange(This,p) +#define IHTMLDocument7_put_onreset(This,v) (This)->lpVtbl->put_onreset(This,v) +#define IHTMLDocument7_get_onreset(This,p) (This)->lpVtbl->get_onreset(This,p) +#define IHTMLDocument7_put_onscroll(This,v) (This)->lpVtbl->put_onscroll(This,v) +#define IHTMLDocument7_get_onscroll(This,p) (This)->lpVtbl->get_onscroll(This,p) +#define IHTMLDocument7_put_onseeked(This,v) (This)->lpVtbl->put_onseeked(This,v) +#define IHTMLDocument7_get_onseeked(This,p) (This)->lpVtbl->get_onseeked(This,p) +#define IHTMLDocument7_put_onseeking(This,v) (This)->lpVtbl->put_onseeking(This,v) +#define IHTMLDocument7_get_onseeking(This,p) (This)->lpVtbl->get_onseeking(This,p) +#define IHTMLDocument7_put_onselect(This,v) (This)->lpVtbl->put_onselect(This,v) +#define IHTMLDocument7_get_onselect(This,p) (This)->lpVtbl->get_onselect(This,p) +#define IHTMLDocument7_put_onstalled(This,v) (This)->lpVtbl->put_onstalled(This,v) +#define IHTMLDocument7_get_onstalled(This,p) (This)->lpVtbl->get_onstalled(This,p) +#define IHTMLDocument7_put_onsubmit(This,v) (This)->lpVtbl->put_onsubmit(This,v) +#define IHTMLDocument7_get_onsubmit(This,p) (This)->lpVtbl->get_onsubmit(This,p) +#define IHTMLDocument7_put_onsuspend(This,v) (This)->lpVtbl->put_onsuspend(This,v) +#define IHTMLDocument7_get_onsuspend(This,p) (This)->lpVtbl->get_onsuspend(This,p) +#define IHTMLDocument7_put_ontimeupdate(This,v) (This)->lpVtbl->put_ontimeupdate(This,v) +#define IHTMLDocument7_get_ontimeupdate(This,p) (This)->lpVtbl->get_ontimeupdate(This,p) +#define IHTMLDocument7_put_onvolumechange(This,v) (This)->lpVtbl->put_onvolumechange(This,v) +#define IHTMLDocument7_get_onvolumechange(This,p) (This)->lpVtbl->get_onvolumechange(This,p) +#define IHTMLDocument7_put_onwaiting(This,v) (This)->lpVtbl->put_onwaiting(This,v) +#define IHTMLDocument7_get_onwaiting(This,p) (This)->lpVtbl->get_onwaiting(This,p) +#define IHTMLDocument7_normalize(This) (This)->lpVtbl->normalize(This) +#define IHTMLDocument7_importNode(This,pNodeSource,fDeep,ppNodeDest) (This)->lpVtbl->importNode(This,pNodeSource,fDeep,ppNodeDest) +#define IHTMLDocument7_get_parentWindow(This,p) (This)->lpVtbl->get_parentWindow(This,p) +#define IHTMLDocument7_putref_body(This,v) (This)->lpVtbl->putref_body(This,v) +#define IHTMLDocument7_get_body(This,p) (This)->lpVtbl->get_body(This,p) +#define IHTMLDocument7_get_head(This,p) (This)->lpVtbl->get_head(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument7_QueryInterface(IHTMLDocument7* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument7_AddRef(IHTMLDocument7* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument7_Release(IHTMLDocument7* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument7_GetTypeInfoCount(IHTMLDocument7* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument7_GetTypeInfo(IHTMLDocument7* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument7_GetIDsOfNames(IHTMLDocument7* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument7_Invoke(IHTMLDocument7* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument7 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument7_get_defaultView(IHTMLDocument7* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_defaultView(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_createCDATASection(IHTMLDocument7* This,BSTR text,IHTMLDOMNode **newCDATASectionNode) { + return This->lpVtbl->createCDATASection(This,text,newCDATASectionNode); +} +static FORCEINLINE HRESULT IHTMLDocument7_getSelection(IHTMLDocument7* This,IHTMLSelection **ppIHTMLSelection) { + return This->lpVtbl->getSelection(This,ppIHTMLSelection); +} +static FORCEINLINE HRESULT IHTMLDocument7_getElementsByTagNameNS(IHTMLDocument7* This,VARIANT *pvarNS,BSTR bstrLocalName,IHTMLElementCollection **pelColl) { + return This->lpVtbl->getElementsByTagNameNS(This,pvarNS,bstrLocalName,pelColl); +} +static FORCEINLINE HRESULT IHTMLDocument7_createElementNS(IHTMLDocument7* This,VARIANT *pvarNS,BSTR bstrTag,IHTMLElement **newElem) { + return This->lpVtbl->createElementNS(This,pvarNS,bstrTag,newElem); +} +static FORCEINLINE HRESULT IHTMLDocument7_createAttributeNS(IHTMLDocument7* This,VARIANT *pvarNS,BSTR bstrAttrName,IHTMLDOMAttribute **ppAttribute) { + return This->lpVtbl->createAttributeNS(This,pvarNS,bstrAttrName,ppAttribute); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onmsthumbnailclick(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onmsthumbnailclick(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onmsthumbnailclick(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onmsthumbnailclick(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_characterSet(IHTMLDocument7* This,BSTR *p) { + return This->lpVtbl->get_characterSet(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_createElement(IHTMLDocument7* This,BSTR bstrTag,IHTMLElement **newElem) { + return This->lpVtbl->createElement(This,bstrTag,newElem); +} +static FORCEINLINE HRESULT IHTMLDocument7_createAttribute(IHTMLDocument7* This,BSTR bstrAttrName,IHTMLDOMAttribute **ppAttribute) { + return This->lpVtbl->createAttribute(This,bstrAttrName,ppAttribute); +} +static FORCEINLINE HRESULT IHTMLDocument7_getElementsByClassName(IHTMLDocument7* This,BSTR v,IHTMLElementCollection **pel) { + return This->lpVtbl->getElementsByClassName(This,v,pel); +} +static FORCEINLINE HRESULT IHTMLDocument7_createProcessingInstruction(IHTMLDocument7* This,BSTR bstrTarget,BSTR bstrData,IDOMProcessingInstruction **newProcessingInstruction) { + return This->lpVtbl->createProcessingInstruction(This,bstrTarget,bstrData,newProcessingInstruction); +} +static FORCEINLINE HRESULT IHTMLDocument7_adoptNode(IHTMLDocument7* This,IHTMLDOMNode *pNodeSource,IHTMLDOMNode3 **ppNodeDest) { + return This->lpVtbl->adoptNode(This,pNodeSource,ppNodeDest); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onmssitemodejumplistitemremoved(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onmssitemodejumplistitemremoved(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onmssitemodejumplistitemremoved(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onmssitemodejumplistitemremoved(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_all(IHTMLDocument7* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_all(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_inputEncoding(IHTMLDocument7* This,BSTR *p) { + return This->lpVtbl->get_inputEncoding(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_xmlEncoding(IHTMLDocument7* This,BSTR *p) { + return This->lpVtbl->get_xmlEncoding(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_xmlStandalone(IHTMLDocument7* This,VARIANT_BOOL v) { + return This->lpVtbl->put_xmlStandalone(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_xmlStandalone(IHTMLDocument7* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_xmlStandalone(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_xmlVersion(IHTMLDocument7* This,BSTR v) { + return This->lpVtbl->put_xmlVersion(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_xmlVersion(IHTMLDocument7* This,BSTR *p) { + return This->lpVtbl->get_xmlVersion(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_hasAttributes(IHTMLDocument7* This,VARIANT_BOOL *pfHasAttributes) { + return This->lpVtbl->hasAttributes(This,pfHasAttributes); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onabort(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onabort(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onabort(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onabort(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onblur(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onblur(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onblur(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onblur(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_oncanplay(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_oncanplay(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_oncanplay(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_oncanplay(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_oncanplaythrough(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_oncanplaythrough(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_oncanplaythrough(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_oncanplaythrough(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onchange(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onchange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onchange(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onchange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondrag(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondrag(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondrag(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondrag(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondragend(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondragend(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondragend(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondragend(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondragenter(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondragenter(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondragenter(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondragenter(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondragleave(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondragleave(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondragleave(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondragleave(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondragover(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondragover(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondragover(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondragover(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondrop(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondrop(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondrop(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondrop(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ondurationchange(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ondurationchange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ondurationchange(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ondurationchange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onemptied(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onemptied(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onemptied(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onemptied(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onended(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onended(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onended(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onended(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onerror(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onerror(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onfocus(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onfocus(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onfocus(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onfocus(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_oninput(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_oninput(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_oninput(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_oninput(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onload(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onload(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onloadeddata(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onloadeddata(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onloadeddata(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onloadeddata(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onloadedmetadata(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onloadedmetadata(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onloadedmetadata(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onloadedmetadata(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onloadstart(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onloadstart(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onloadstart(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onloadstart(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onpause(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onpause(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onpause(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onpause(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onplay(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onplay(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onplay(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onplay(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onplaying(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onplaying(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onplaying(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onplaying(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onprogress(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onprogress(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onprogress(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onprogress(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onratechange(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onratechange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onratechange(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onratechange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onreset(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onreset(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onreset(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onreset(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onscroll(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onscroll(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onscroll(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onscroll(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onseeked(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onseeked(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onseeked(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onseeked(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onseeking(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onseeking(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onseeking(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onseeking(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onselect(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onselect(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onselect(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onselect(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onstalled(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onstalled(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onstalled(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onstalled(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onsubmit(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onsubmit(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onsubmit(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onsubmit(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onsuspend(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onsuspend(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onsuspend(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onsuspend(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_ontimeupdate(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_ontimeupdate(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_ontimeupdate(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_ontimeupdate(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onvolumechange(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onvolumechange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onvolumechange(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onvolumechange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_put_onwaiting(IHTMLDocument7* This,VARIANT v) { + return This->lpVtbl->put_onwaiting(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_onwaiting(IHTMLDocument7* This,VARIANT *p) { + return This->lpVtbl->get_onwaiting(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_normalize(IHTMLDocument7* This) { + return This->lpVtbl->normalize(This); +} +static FORCEINLINE HRESULT IHTMLDocument7_importNode(IHTMLDocument7* This,IHTMLDOMNode *pNodeSource,VARIANT_BOOL fDeep,IHTMLDOMNode3 **ppNodeDest) { + return This->lpVtbl->importNode(This,pNodeSource,fDeep,ppNodeDest); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_parentWindow(IHTMLDocument7* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_parentWindow(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_putref_body(IHTMLDocument7* This,IHTMLElement *v) { + return This->lpVtbl->putref_body(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_body(IHTMLDocument7* This,IHTMLElement **p) { + return This->lpVtbl->get_body(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument7_get_head(IHTMLDocument7* This,IHTMLElement **p) { + return This->lpVtbl->get_head(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument7_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDocument8 interface + */ +#ifndef __IHTMLDocument8_INTERFACE_DEFINED__ +#define __IHTMLDocument8_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDocument8, 0x305107d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305107d0-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDocument8 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_onmscontentzoom( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmscontentzoom( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointerdown( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointerdown( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointermove( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointermove( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointerup( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointerup( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointerover( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointerover( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointerout( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointerout( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointercancel( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointercancel( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmspointerhover( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmspointerhover( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsgesturestart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsgesturestart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsgesturechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsgesturechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsgestureend( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsgestureend( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsgesturehold( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsgesturehold( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsgesturetap( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsgesturetap( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsgesturedoubletap( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsgesturedoubletap( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsinertiastart( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsinertiastart( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE elementsFromPoint( + float x, + float y, + IHTMLDOMChildrenCollection **elementsHit) = 0; + + virtual HRESULT STDMETHODCALLTYPE elementsFromRect( + float left, + float top, + float width, + float height, + IHTMLDOMChildrenCollection **elementsHit) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onmsmanipulationstatechanged( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onmsmanipulationstatechanged( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_msCapsLockWarningOff( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_msCapsLockWarningOff( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDocument8, 0x305107d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDocument8Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDocument8 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDocument8 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDocument8 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDocument8 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDocument8 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDocument8 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDocument8 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDocument8 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_onmscontentzoom)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmscontentzoom)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointerdown)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointerdown)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointermove)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointermove)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointerup)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointerup)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointerover)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointerover)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointerout)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointerout)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointercancel)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointercancel)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmspointerhover)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmspointerhover)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsgesturestart)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsgesturestart)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsgesturechange)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsgesturechange)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsgestureend)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsgestureend)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsgesturehold)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsgesturehold)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsgesturetap)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsgesturetap)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsgesturedoubletap)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsgesturedoubletap)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onmsinertiastart)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsinertiastart)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *elementsFromPoint)( + IHTMLDocument8 *This, + float x, + float y, + IHTMLDOMChildrenCollection **elementsHit); + + HRESULT (STDMETHODCALLTYPE *elementsFromRect)( + IHTMLDocument8 *This, + float left, + float top, + float width, + float height, + IHTMLDOMChildrenCollection **elementsHit); + + HRESULT (STDMETHODCALLTYPE *put_onmsmanipulationstatechanged)( + IHTMLDocument8 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onmsmanipulationstatechanged)( + IHTMLDocument8 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_msCapsLockWarningOff)( + IHTMLDocument8 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_msCapsLockWarningOff)( + IHTMLDocument8 *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLDocument8Vtbl; + +interface IHTMLDocument8 { + CONST_VTBL IHTMLDocument8Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDocument8_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDocument8_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDocument8_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDocument8_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDocument8_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDocument8_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDocument8_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDocument8 methods ***/ +#define IHTMLDocument8_put_onmscontentzoom(This,v) (This)->lpVtbl->put_onmscontentzoom(This,v) +#define IHTMLDocument8_get_onmscontentzoom(This,p) (This)->lpVtbl->get_onmscontentzoom(This,p) +#define IHTMLDocument8_put_onmspointerdown(This,v) (This)->lpVtbl->put_onmspointerdown(This,v) +#define IHTMLDocument8_get_onmspointerdown(This,p) (This)->lpVtbl->get_onmspointerdown(This,p) +#define IHTMLDocument8_put_onmspointermove(This,v) (This)->lpVtbl->put_onmspointermove(This,v) +#define IHTMLDocument8_get_onmspointermove(This,p) (This)->lpVtbl->get_onmspointermove(This,p) +#define IHTMLDocument8_put_onmspointerup(This,v) (This)->lpVtbl->put_onmspointerup(This,v) +#define IHTMLDocument8_get_onmspointerup(This,p) (This)->lpVtbl->get_onmspointerup(This,p) +#define IHTMLDocument8_put_onmspointerover(This,v) (This)->lpVtbl->put_onmspointerover(This,v) +#define IHTMLDocument8_get_onmspointerover(This,p) (This)->lpVtbl->get_onmspointerover(This,p) +#define IHTMLDocument8_put_onmspointerout(This,v) (This)->lpVtbl->put_onmspointerout(This,v) +#define IHTMLDocument8_get_onmspointerout(This,p) (This)->lpVtbl->get_onmspointerout(This,p) +#define IHTMLDocument8_put_onmspointercancel(This,v) (This)->lpVtbl->put_onmspointercancel(This,v) +#define IHTMLDocument8_get_onmspointercancel(This,p) (This)->lpVtbl->get_onmspointercancel(This,p) +#define IHTMLDocument8_put_onmspointerhover(This,v) (This)->lpVtbl->put_onmspointerhover(This,v) +#define IHTMLDocument8_get_onmspointerhover(This,p) (This)->lpVtbl->get_onmspointerhover(This,p) +#define IHTMLDocument8_put_onmsgesturestart(This,v) (This)->lpVtbl->put_onmsgesturestart(This,v) +#define IHTMLDocument8_get_onmsgesturestart(This,p) (This)->lpVtbl->get_onmsgesturestart(This,p) +#define IHTMLDocument8_put_onmsgesturechange(This,v) (This)->lpVtbl->put_onmsgesturechange(This,v) +#define IHTMLDocument8_get_onmsgesturechange(This,p) (This)->lpVtbl->get_onmsgesturechange(This,p) +#define IHTMLDocument8_put_onmsgestureend(This,v) (This)->lpVtbl->put_onmsgestureend(This,v) +#define IHTMLDocument8_get_onmsgestureend(This,p) (This)->lpVtbl->get_onmsgestureend(This,p) +#define IHTMLDocument8_put_onmsgesturehold(This,v) (This)->lpVtbl->put_onmsgesturehold(This,v) +#define IHTMLDocument8_get_onmsgesturehold(This,p) (This)->lpVtbl->get_onmsgesturehold(This,p) +#define IHTMLDocument8_put_onmsgesturetap(This,v) (This)->lpVtbl->put_onmsgesturetap(This,v) +#define IHTMLDocument8_get_onmsgesturetap(This,p) (This)->lpVtbl->get_onmsgesturetap(This,p) +#define IHTMLDocument8_put_onmsgesturedoubletap(This,v) (This)->lpVtbl->put_onmsgesturedoubletap(This,v) +#define IHTMLDocument8_get_onmsgesturedoubletap(This,p) (This)->lpVtbl->get_onmsgesturedoubletap(This,p) +#define IHTMLDocument8_put_onmsinertiastart(This,v) (This)->lpVtbl->put_onmsinertiastart(This,v) +#define IHTMLDocument8_get_onmsinertiastart(This,p) (This)->lpVtbl->get_onmsinertiastart(This,p) +#define IHTMLDocument8_elementsFromPoint(This,x,y,elementsHit) (This)->lpVtbl->elementsFromPoint(This,x,y,elementsHit) +#define IHTMLDocument8_elementsFromRect(This,left,top,width,height,elementsHit) (This)->lpVtbl->elementsFromRect(This,left,top,width,height,elementsHit) +#define IHTMLDocument8_put_onmsmanipulationstatechanged(This,v) (This)->lpVtbl->put_onmsmanipulationstatechanged(This,v) +#define IHTMLDocument8_get_onmsmanipulationstatechanged(This,p) (This)->lpVtbl->get_onmsmanipulationstatechanged(This,p) +#define IHTMLDocument8_put_msCapsLockWarningOff(This,v) (This)->lpVtbl->put_msCapsLockWarningOff(This,v) +#define IHTMLDocument8_get_msCapsLockWarningOff(This,p) (This)->lpVtbl->get_msCapsLockWarningOff(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDocument8_QueryInterface(IHTMLDocument8* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDocument8_AddRef(IHTMLDocument8* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDocument8_Release(IHTMLDocument8* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDocument8_GetTypeInfoCount(IHTMLDocument8* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDocument8_GetTypeInfo(IHTMLDocument8* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDocument8_GetIDsOfNames(IHTMLDocument8* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDocument8_Invoke(IHTMLDocument8* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDocument8 methods ***/ +static FORCEINLINE HRESULT IHTMLDocument8_put_onmscontentzoom(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmscontentzoom(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmscontentzoom(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmscontentzoom(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointerdown(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointerdown(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointerdown(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointerdown(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointermove(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointermove(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointermove(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointermove(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointerup(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointerup(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointerup(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointerup(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointerover(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointerover(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointerover(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointerover(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointerout(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointerout(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointerout(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointerout(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointercancel(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointercancel(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointercancel(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointercancel(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmspointerhover(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmspointerhover(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmspointerhover(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmspointerhover(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsgesturestart(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsgesturestart(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsgesturestart(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsgesturestart(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsgesturechange(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsgesturechange(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsgesturechange(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsgesturechange(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsgestureend(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsgestureend(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsgestureend(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsgestureend(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsgesturehold(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsgesturehold(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsgesturehold(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsgesturehold(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsgesturetap(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsgesturetap(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsgesturetap(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsgesturetap(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsgesturedoubletap(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsgesturedoubletap(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsgesturedoubletap(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsgesturedoubletap(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsinertiastart(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsinertiastart(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsinertiastart(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsinertiastart(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_elementsFromPoint(IHTMLDocument8* This,float x,float y,IHTMLDOMChildrenCollection **elementsHit) { + return This->lpVtbl->elementsFromPoint(This,x,y,elementsHit); +} +static FORCEINLINE HRESULT IHTMLDocument8_elementsFromRect(IHTMLDocument8* This,float left,float top,float width,float height,IHTMLDOMChildrenCollection **elementsHit) { + return This->lpVtbl->elementsFromRect(This,left,top,width,height,elementsHit); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_onmsmanipulationstatechanged(IHTMLDocument8* This,VARIANT v) { + return This->lpVtbl->put_onmsmanipulationstatechanged(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_onmsmanipulationstatechanged(IHTMLDocument8* This,VARIANT *p) { + return This->lpVtbl->get_onmsmanipulationstatechanged(This,p); +} +static FORCEINLINE HRESULT IHTMLDocument8_put_msCapsLockWarningOff(IHTMLDocument8* This,VARIANT_BOOL v) { + return This->lpVtbl->put_msCapsLockWarningOff(This,v); +} +static FORCEINLINE HRESULT IHTMLDocument8_get_msCapsLockWarningOff(IHTMLDocument8* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_msCapsLockWarningOff(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDocument8_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDocumentSelector interface + */ +#ifndef __IDocumentSelector_INTERFACE_DEFINED__ +#define __IDocumentSelector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDocumentSelector, 0x30510462, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510462-98b5-11cf-bb82-00aa00bdce0b") +IDocumentSelector : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE querySelector( + BSTR v, + IHTMLElement **pel) = 0; + + virtual HRESULT STDMETHODCALLTYPE querySelectorAll( + BSTR v, + IHTMLDOMChildrenCollection **pel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDocumentSelector, 0x30510462, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IDocumentSelectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDocumentSelector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDocumentSelector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDocumentSelector *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDocumentSelector *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDocumentSelector *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDocumentSelector *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDocumentSelector *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDocumentSelector methods ***/ + HRESULT (STDMETHODCALLTYPE *querySelector)( + IDocumentSelector *This, + BSTR v, + IHTMLElement **pel); + + HRESULT (STDMETHODCALLTYPE *querySelectorAll)( + IDocumentSelector *This, + BSTR v, + IHTMLDOMChildrenCollection **pel); + + END_INTERFACE +} IDocumentSelectorVtbl; + +interface IDocumentSelector { + CONST_VTBL IDocumentSelectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDocumentSelector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDocumentSelector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDocumentSelector_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDocumentSelector_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDocumentSelector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDocumentSelector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDocumentSelector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDocumentSelector methods ***/ +#define IDocumentSelector_querySelector(This,v,pel) (This)->lpVtbl->querySelector(This,v,pel) +#define IDocumentSelector_querySelectorAll(This,v,pel) (This)->lpVtbl->querySelectorAll(This,v,pel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDocumentSelector_QueryInterface(IDocumentSelector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDocumentSelector_AddRef(IDocumentSelector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDocumentSelector_Release(IDocumentSelector* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDocumentSelector_GetTypeInfoCount(IDocumentSelector* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDocumentSelector_GetTypeInfo(IDocumentSelector* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDocumentSelector_GetIDsOfNames(IDocumentSelector* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDocumentSelector_Invoke(IDocumentSelector* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDocumentSelector methods ***/ +static FORCEINLINE HRESULT IDocumentSelector_querySelector(IDocumentSelector* This,BSTR v,IHTMLElement **pel) { + return This->lpVtbl->querySelector(This,v,pel); +} +static FORCEINLINE HRESULT IDocumentSelector_querySelectorAll(IDocumentSelector* This,BSTR v,IHTMLDOMChildrenCollection **pel) { + return This->lpVtbl->querySelectorAll(This,v,pel); +} +#endif +#endif + +#endif + + +#endif /* __IDocumentSelector_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLDocument dispinterface + */ +#ifndef __DispHTMLDocument_DISPINTERFACE_DEFINED__ +#define __DispHTMLDocument_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLDocument, 0x3050f55f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f55f-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLDocument : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLDocument, 0x3050f55f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLDocumentVtbl; + +interface DispHTMLDocument { + CONST_VTBL DispHTMLDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLDocument_QueryInterface(DispHTMLDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLDocument_AddRef(DispHTMLDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLDocument_Release(DispHTMLDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLDocument_GetTypeInfoCount(DispHTMLDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLDocument_GetTypeInfo(DispHTMLDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLDocument_GetIDsOfNames(DispHTMLDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLDocument_Invoke(DispHTMLDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLDocument_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLDocument coclass + */ + +DEFINE_GUID(CLSID_HTMLDocument, 0x25336920, 0x03f9, 0x11cf, 0x8f,0xd0, 0x00,0xaa,0x00,0x68,0x6f,0x13); + +#ifdef __cplusplus +class DECLSPEC_UUID("25336920-03f9-11cf-8fd0-00aa00686f13") HTMLDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLDocument, 0x25336920, 0x03f9, 0x11cf, 0x8f,0xd0, 0x00,0xaa,0x00,0x68,0x6f,0x13) +#endif +#endif + +/***************************************************************************** + * DWebBridgeEvents dispinterface + */ +#ifndef __DWebBridgeEvents_DISPINTERFACE_DEFINED__ +#define __DWebBridgeEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DWebBridgeEvents, 0xa6d897ff, 0x0a95, 0x11d1, 0xb0,0xba, 0x00,0x60,0x08,0x16,0x6e,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6d897ff-0a95-11d1-b0ba-006008166e11") +DWebBridgeEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DWebBridgeEvents, 0xa6d897ff, 0x0a95, 0x11d1, 0xb0,0xba, 0x00,0x60,0x08,0x16,0x6e,0x11) +#endif +#else +typedef struct DWebBridgeEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DWebBridgeEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DWebBridgeEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DWebBridgeEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DWebBridgeEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DWebBridgeEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DWebBridgeEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DWebBridgeEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DWebBridgeEventsVtbl; + +interface DWebBridgeEvents { + CONST_VTBL DWebBridgeEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DWebBridgeEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DWebBridgeEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DWebBridgeEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DWebBridgeEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DWebBridgeEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DWebBridgeEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DWebBridgeEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DWebBridgeEvents_QueryInterface(DWebBridgeEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DWebBridgeEvents_AddRef(DWebBridgeEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DWebBridgeEvents_Release(DWebBridgeEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DWebBridgeEvents_GetTypeInfoCount(DWebBridgeEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DWebBridgeEvents_GetTypeInfo(DWebBridgeEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DWebBridgeEvents_GetIDsOfNames(DWebBridgeEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DWebBridgeEvents_Invoke(DWebBridgeEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DWebBridgeEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWebBridge interface + */ +#ifndef __IWebBridge_INTERFACE_DEFINED__ +#define __IWebBridge_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebBridge, 0xae24fdad, 0x03c6, 0x11d1, 0x8b,0x76, 0x00,0x80,0xc7,0x44,0xf3,0x89); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae24fdad-03c6-11d1-8b76-0080c744f389") +IWebBridge : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_URL( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URL( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Scrollbar( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Scrollbar( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_embed( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_embed( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_event( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE AboutBox( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBridge, 0xae24fdad, 0x03c6, 0x11d1, 0x8b,0x76, 0x00,0x80,0xc7,0x44,0xf3,0x89) +#endif +#else +typedef struct IWebBridgeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBridge *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBridge *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBridge *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWebBridge *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWebBridge *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWebBridge *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWebBridge *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWebBridge methods ***/ + HRESULT (STDMETHODCALLTYPE *put_URL)( + IWebBridge *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IWebBridge *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_Scrollbar)( + IWebBridge *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_Scrollbar)( + IWebBridge *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_embed)( + IWebBridge *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_embed)( + IWebBridge *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_event)( + IWebBridge *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IWebBridge *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *AboutBox)( + IWebBridge *This); + + END_INTERFACE +} IWebBridgeVtbl; + +interface IWebBridge { + CONST_VTBL IWebBridgeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBridge_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBridge_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBridge_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWebBridge_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWebBridge_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWebBridge_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWebBridge_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWebBridge methods ***/ +#define IWebBridge_put_URL(This,v) (This)->lpVtbl->put_URL(This,v) +#define IWebBridge_get_URL(This,p) (This)->lpVtbl->get_URL(This,p) +#define IWebBridge_put_Scrollbar(This,v) (This)->lpVtbl->put_Scrollbar(This,v) +#define IWebBridge_get_Scrollbar(This,p) (This)->lpVtbl->get_Scrollbar(This,p) +#define IWebBridge_put_embed(This,v) (This)->lpVtbl->put_embed(This,v) +#define IWebBridge_get_embed(This,p) (This)->lpVtbl->get_embed(This,p) +#define IWebBridge_get_event(This,p) (This)->lpVtbl->get_event(This,p) +#define IWebBridge_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IWebBridge_AboutBox(This) (This)->lpVtbl->AboutBox(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBridge_QueryInterface(IWebBridge* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBridge_AddRef(IWebBridge* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBridge_Release(IWebBridge* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWebBridge_GetTypeInfoCount(IWebBridge* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWebBridge_GetTypeInfo(IWebBridge* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWebBridge_GetIDsOfNames(IWebBridge* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWebBridge_Invoke(IWebBridge* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWebBridge methods ***/ +static FORCEINLINE HRESULT IWebBridge_put_URL(IWebBridge* This,BSTR v) { + return This->lpVtbl->put_URL(This,v); +} +static FORCEINLINE HRESULT IWebBridge_get_URL(IWebBridge* This,BSTR *p) { + return This->lpVtbl->get_URL(This,p); +} +static FORCEINLINE HRESULT IWebBridge_put_Scrollbar(IWebBridge* This,VARIANT_BOOL v) { + return This->lpVtbl->put_Scrollbar(This,v); +} +static FORCEINLINE HRESULT IWebBridge_get_Scrollbar(IWebBridge* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_Scrollbar(This,p); +} +static FORCEINLINE HRESULT IWebBridge_put_embed(IWebBridge* This,VARIANT_BOOL v) { + return This->lpVtbl->put_embed(This,v); +} +static FORCEINLINE HRESULT IWebBridge_get_embed(IWebBridge* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_embed(This,p); +} +static FORCEINLINE HRESULT IWebBridge_get_event(IWebBridge* This,IDispatch **p) { + return This->lpVtbl->get_event(This,p); +} +static FORCEINLINE HRESULT IWebBridge_get_readyState(IWebBridge* This,LONG *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IWebBridge_AboutBox(IWebBridge* This) { + return This->lpVtbl->AboutBox(This); +} +#endif +#endif + +#endif + + +#endif /* __IWebBridge_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * Scriptlet coclass + */ + +DEFINE_GUID(CLSID_Scriptlet, 0xae24fdae, 0x03c6, 0x11d1, 0x8b,0x76, 0x00,0x80,0xc7,0x44,0xf3,0x89); + +#ifdef __cplusplus +class DECLSPEC_UUID("ae24fdae-03c6-11d1-8b76-0080c744f389") Scriptlet; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(Scriptlet, 0xae24fdae, 0x03c6, 0x11d1, 0x8b,0x76, 0x00,0x80,0xc7,0x44,0xf3,0x89) +#endif +#endif + +/***************************************************************************** + * IHTMLEmbedElement interface + */ +#ifndef __IHTMLEmbedElement_INTERFACE_DEFINED__ +#define __IHTMLEmbedElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLEmbedElement, 0x3050f25f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f25f-98b5-11cf-bb82-00aa00bdce0b") +IHTMLEmbedElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_hidden( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hidden( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_palette( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_pluginspage( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_units( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_units( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLEmbedElement, 0x3050f25f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLEmbedElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLEmbedElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLEmbedElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLEmbedElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLEmbedElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLEmbedElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLEmbedElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLEmbedElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLEmbedElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_hidden)( + IHTMLEmbedElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_hidden)( + IHTMLEmbedElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_palette)( + IHTMLEmbedElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_pluginspage)( + IHTMLEmbedElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLEmbedElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLEmbedElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_units)( + IHTMLEmbedElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_units)( + IHTMLEmbedElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLEmbedElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLEmbedElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLEmbedElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLEmbedElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLEmbedElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLEmbedElement *This, + VARIANT *p); + + END_INTERFACE +} IHTMLEmbedElementVtbl; + +interface IHTMLEmbedElement { + CONST_VTBL IHTMLEmbedElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLEmbedElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLEmbedElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLEmbedElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLEmbedElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLEmbedElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLEmbedElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLEmbedElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLEmbedElement methods ***/ +#define IHTMLEmbedElement_put_hidden(This,v) (This)->lpVtbl->put_hidden(This,v) +#define IHTMLEmbedElement_get_hidden(This,p) (This)->lpVtbl->get_hidden(This,p) +#define IHTMLEmbedElement_get_palette(This,p) (This)->lpVtbl->get_palette(This,p) +#define IHTMLEmbedElement_get_pluginspage(This,p) (This)->lpVtbl->get_pluginspage(This,p) +#define IHTMLEmbedElement_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLEmbedElement_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLEmbedElement_put_units(This,v) (This)->lpVtbl->put_units(This,v) +#define IHTMLEmbedElement_get_units(This,p) (This)->lpVtbl->get_units(This,p) +#define IHTMLEmbedElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLEmbedElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLEmbedElement_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLEmbedElement_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLEmbedElement_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLEmbedElement_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLEmbedElement_QueryInterface(IHTMLEmbedElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLEmbedElement_AddRef(IHTMLEmbedElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLEmbedElement_Release(IHTMLEmbedElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLEmbedElement_GetTypeInfoCount(IHTMLEmbedElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_GetTypeInfo(IHTMLEmbedElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_GetIDsOfNames(IHTMLEmbedElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_Invoke(IHTMLEmbedElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLEmbedElement methods ***/ +static FORCEINLINE HRESULT IHTMLEmbedElement_put_hidden(IHTMLEmbedElement* This,BSTR v) { + return This->lpVtbl->put_hidden(This,v); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_hidden(IHTMLEmbedElement* This,BSTR *p) { + return This->lpVtbl->get_hidden(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_palette(IHTMLEmbedElement* This,BSTR *p) { + return This->lpVtbl->get_palette(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_pluginspage(IHTMLEmbedElement* This,BSTR *p) { + return This->lpVtbl->get_pluginspage(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_put_src(IHTMLEmbedElement* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_src(IHTMLEmbedElement* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_put_units(IHTMLEmbedElement* This,BSTR v) { + return This->lpVtbl->put_units(This,v); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_units(IHTMLEmbedElement* This,BSTR *p) { + return This->lpVtbl->get_units(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_put_name(IHTMLEmbedElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_name(IHTMLEmbedElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_put_width(IHTMLEmbedElement* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_width(IHTMLEmbedElement* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_put_height(IHTMLEmbedElement* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLEmbedElement_get_height(IHTMLEmbedElement* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLEmbedElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLEmbed dispinterface + */ +#ifndef __DispHTMLEmbed_DISPINTERFACE_DEFINED__ +#define __DispHTMLEmbed_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLEmbed, 0x3050f52e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f52e-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLEmbed : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLEmbed, 0x3050f52e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLEmbedVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLEmbed *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLEmbed *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLEmbed *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLEmbed *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLEmbed *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLEmbed *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLEmbed *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLEmbedVtbl; + +interface DispHTMLEmbed { + CONST_VTBL DispHTMLEmbedVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLEmbed_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLEmbed_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLEmbed_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLEmbed_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLEmbed_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLEmbed_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLEmbed_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLEmbed_QueryInterface(DispHTMLEmbed* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLEmbed_AddRef(DispHTMLEmbed* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLEmbed_Release(DispHTMLEmbed* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLEmbed_GetTypeInfoCount(DispHTMLEmbed* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLEmbed_GetTypeInfo(DispHTMLEmbed* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLEmbed_GetIDsOfNames(DispHTMLEmbed* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLEmbed_Invoke(DispHTMLEmbed* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLEmbed_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLEmbed coclass + */ + +DEFINE_GUID(CLSID_HTMLEmbed, 0x3050f25d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f25d-98b5-11cf-bb82-00aa00bdce0b") HTMLEmbed; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLEmbed, 0x3050f25d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLCommentElement interface + */ +#ifndef __IHTMLCommentElement_INTERFACE_DEFINED__ +#define __IHTMLCommentElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLCommentElement, 0x3050f20c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f20c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLCommentElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_atomic( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_atomic( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLCommentElement, 0x3050f20c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLCommentElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLCommentElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLCommentElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLCommentElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLCommentElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLCommentElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLCommentElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLCommentElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLCommentElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_text)( + IHTMLCommentElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IHTMLCommentElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_atomic)( + IHTMLCommentElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_atomic)( + IHTMLCommentElement *This, + LONG *p); + + END_INTERFACE +} IHTMLCommentElementVtbl; + +interface IHTMLCommentElement { + CONST_VTBL IHTMLCommentElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLCommentElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLCommentElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLCommentElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLCommentElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLCommentElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLCommentElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLCommentElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLCommentElement methods ***/ +#define IHTMLCommentElement_put_text(This,v) (This)->lpVtbl->put_text(This,v) +#define IHTMLCommentElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IHTMLCommentElement_put_atomic(This,v) (This)->lpVtbl->put_atomic(This,v) +#define IHTMLCommentElement_get_atomic(This,p) (This)->lpVtbl->get_atomic(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLCommentElement_QueryInterface(IHTMLCommentElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLCommentElement_AddRef(IHTMLCommentElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLCommentElement_Release(IHTMLCommentElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLCommentElement_GetTypeInfoCount(IHTMLCommentElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLCommentElement_GetTypeInfo(IHTMLCommentElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLCommentElement_GetIDsOfNames(IHTMLCommentElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLCommentElement_Invoke(IHTMLCommentElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLCommentElement methods ***/ +static FORCEINLINE HRESULT IHTMLCommentElement_put_text(IHTMLCommentElement* This,BSTR v) { + return This->lpVtbl->put_text(This,v); +} +static FORCEINLINE HRESULT IHTMLCommentElement_get_text(IHTMLCommentElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IHTMLCommentElement_put_atomic(IHTMLCommentElement* This,LONG v) { + return This->lpVtbl->put_atomic(This,v); +} +static FORCEINLINE HRESULT IHTMLCommentElement_get_atomic(IHTMLCommentElement* This,LONG *p) { + return This->lpVtbl->get_atomic(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLCommentElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLCommentElement2 interface + */ +#ifndef __IHTMLCommentElement2_INTERFACE_DEFINED__ +#define __IHTMLCommentElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLCommentElement2, 0x3050f813, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f813-98b5-11cf-bb82-00aa00bdce0b") +IHTMLCommentElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE substringData( + LONG offset, + LONG Count, + BSTR *pbstrsubString) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendData( + BSTR bstrstring) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertData( + LONG offset, + BSTR bstrstring) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteData( + LONG offset, + LONG Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceData( + LONG offset, + LONG Count, + BSTR bstrstring) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLCommentElement2, 0x3050f813, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLCommentElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLCommentElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLCommentElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLCommentElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLCommentElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLCommentElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLCommentElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLCommentElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLCommentElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_data)( + IHTMLCommentElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IHTMLCommentElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLCommentElement2 *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IHTMLCommentElement2 *This, + LONG offset, + LONG Count, + BSTR *pbstrsubString); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IHTMLCommentElement2 *This, + BSTR bstrstring); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IHTMLCommentElement2 *This, + LONG offset, + BSTR bstrstring); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IHTMLCommentElement2 *This, + LONG offset, + LONG Count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IHTMLCommentElement2 *This, + LONG offset, + LONG Count, + BSTR bstrstring); + + END_INTERFACE +} IHTMLCommentElement2Vtbl; + +interface IHTMLCommentElement2 { + CONST_VTBL IHTMLCommentElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLCommentElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLCommentElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLCommentElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLCommentElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLCommentElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLCommentElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLCommentElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLCommentElement2 methods ***/ +#define IHTMLCommentElement2_put_data(This,v) (This)->lpVtbl->put_data(This,v) +#define IHTMLCommentElement2_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IHTMLCommentElement2_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLCommentElement2_substringData(This,offset,Count,pbstrsubString) (This)->lpVtbl->substringData(This,offset,Count,pbstrsubString) +#define IHTMLCommentElement2_appendData(This,bstrstring) (This)->lpVtbl->appendData(This,bstrstring) +#define IHTMLCommentElement2_insertData(This,offset,bstrstring) (This)->lpVtbl->insertData(This,offset,bstrstring) +#define IHTMLCommentElement2_deleteData(This,offset,Count) (This)->lpVtbl->deleteData(This,offset,Count) +#define IHTMLCommentElement2_replaceData(This,offset,Count,bstrstring) (This)->lpVtbl->replaceData(This,offset,Count,bstrstring) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLCommentElement2_QueryInterface(IHTMLCommentElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLCommentElement2_AddRef(IHTMLCommentElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLCommentElement2_Release(IHTMLCommentElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLCommentElement2_GetTypeInfoCount(IHTMLCommentElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_GetTypeInfo(IHTMLCommentElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_GetIDsOfNames(IHTMLCommentElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_Invoke(IHTMLCommentElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLCommentElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLCommentElement2_put_data(IHTMLCommentElement2* This,BSTR v) { + return This->lpVtbl->put_data(This,v); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_get_data(IHTMLCommentElement2* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_get_length(IHTMLCommentElement2* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_substringData(IHTMLCommentElement2* This,LONG offset,LONG Count,BSTR *pbstrsubString) { + return This->lpVtbl->substringData(This,offset,Count,pbstrsubString); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_appendData(IHTMLCommentElement2* This,BSTR bstrstring) { + return This->lpVtbl->appendData(This,bstrstring); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_insertData(IHTMLCommentElement2* This,LONG offset,BSTR bstrstring) { + return This->lpVtbl->insertData(This,offset,bstrstring); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_deleteData(IHTMLCommentElement2* This,LONG offset,LONG Count) { + return This->lpVtbl->deleteData(This,offset,Count); +} +static FORCEINLINE HRESULT IHTMLCommentElement2_replaceData(IHTMLCommentElement2* This,LONG offset,LONG Count,BSTR bstrstring) { + return This->lpVtbl->replaceData(This,offset,Count,bstrstring); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLCommentElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLCommentElement dispinterface + */ +#ifndef __DispHTMLCommentElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLCommentElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLCommentElement, 0x3050f50a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f50a-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLCommentElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLCommentElement, 0x3050f50a, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLCommentElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLCommentElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLCommentElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLCommentElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLCommentElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLCommentElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLCommentElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLCommentElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLCommentElementVtbl; + +interface DispHTMLCommentElement { + CONST_VTBL DispHTMLCommentElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLCommentElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLCommentElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLCommentElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLCommentElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLCommentElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLCommentElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLCommentElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLCommentElement_QueryInterface(DispHTMLCommentElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLCommentElement_AddRef(DispHTMLCommentElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLCommentElement_Release(DispHTMLCommentElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLCommentElement_GetTypeInfoCount(DispHTMLCommentElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLCommentElement_GetTypeInfo(DispHTMLCommentElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLCommentElement_GetIDsOfNames(DispHTMLCommentElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLCommentElement_Invoke(DispHTMLCommentElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLCommentElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLElementEvents2 dispinterface + */ +#ifndef __HTMLElementEvents2_DISPINTERFACE_DEFINED__ +#define __HTMLElementEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLElementEvents2, 0x3050f60f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f60f-98b5-11cf-bb82-00aa00bdce0b") +HTMLElementEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLElementEvents2, 0x3050f60f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLElementEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLElementEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLElementEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLElementEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLElementEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLElementEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLElementEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLElementEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLElementEvents2Vtbl; + +interface HTMLElementEvents2 { + CONST_VTBL HTMLElementEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLElementEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLElementEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLElementEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLElementEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLElementEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLElementEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLElementEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLElementEvents2_QueryInterface(HTMLElementEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLElementEvents2_AddRef(HTMLElementEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLElementEvents2_Release(HTMLElementEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLElementEvents2_GetTypeInfoCount(HTMLElementEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLElementEvents2_GetTypeInfo(HTMLElementEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLElementEvents2_GetIDsOfNames(HTMLElementEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLElementEvents2_Invoke(HTMLElementEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLElementEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLElementEvents dispinterface + */ +#ifndef __HTMLElementEvents_DISPINTERFACE_DEFINED__ +#define __HTMLElementEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLElementEvents, 0x3050f33c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f33c-98b5-11cf-bb82-00aa00bdce0b") +HTMLElementEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLElementEvents, 0x3050f33c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLElementEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLElementEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLElementEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLElementEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLElementEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLElementEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLElementEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLElementEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLElementEventsVtbl; + +interface HTMLElementEvents { + CONST_VTBL HTMLElementEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLElementEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLElementEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLElementEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLElementEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLElementEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLElementEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLElementEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLElementEvents_QueryInterface(HTMLElementEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLElementEvents_AddRef(HTMLElementEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLElementEvents_Release(HTMLElementEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLElementEvents_GetTypeInfoCount(HTMLElementEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLElementEvents_GetTypeInfo(HTMLElementEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLElementEvents_GetIDsOfNames(HTMLElementEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLElementEvents_Invoke(HTMLElementEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLElementEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLCommentElement coclass + */ + +DEFINE_GUID(CLSID_HTMLCommentElement, 0x3050f317, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f317-98b5-11cf-bb82-00aa00bdce0b") HTMLCommentElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLCommentElement, 0x3050f317, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * HTMLTableEvents dispinterface + */ +#ifndef __HTMLTableEvents_DISPINTERFACE_DEFINED__ +#define __HTMLTableEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLTableEvents, 0x3050f407, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f407-98b5-11cf-bb82-00aa00bdce0b") +HTMLTableEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTableEvents, 0x3050f407, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLTableEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLTableEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLTableEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLTableEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLTableEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLTableEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLTableEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLTableEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLTableEventsVtbl; + +interface HTMLTableEvents { + CONST_VTBL HTMLTableEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLTableEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLTableEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLTableEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLTableEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLTableEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLTableEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLTableEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLTableEvents_QueryInterface(HTMLTableEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLTableEvents_AddRef(HTMLTableEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLTableEvents_Release(HTMLTableEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLTableEvents_GetTypeInfoCount(HTMLTableEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLTableEvents_GetTypeInfo(HTMLTableEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLTableEvents_GetIDsOfNames(HTMLTableEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLTableEvents_Invoke(HTMLTableEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLTableEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTableEvents2 dispinterface + */ +#ifndef __HTMLTableEvents2_DISPINTERFACE_DEFINED__ +#define __HTMLTableEvents2_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_HTMLTableEvents2, 0x3050f623, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f623-98b5-11cf-bb82-00aa00bdce0b") +HTMLTableEvents2 : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTableEvents2, 0x3050f623, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct HTMLTableEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + HTMLTableEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + HTMLTableEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + HTMLTableEvents2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + HTMLTableEvents2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + HTMLTableEvents2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + HTMLTableEvents2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + HTMLTableEvents2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} HTMLTableEvents2Vtbl; + +interface HTMLTableEvents2 { + CONST_VTBL HTMLTableEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define HTMLTableEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define HTMLTableEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define HTMLTableEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define HTMLTableEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define HTMLTableEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define HTMLTableEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define HTMLTableEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT HTMLTableEvents2_QueryInterface(HTMLTableEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG HTMLTableEvents2_AddRef(HTMLTableEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG HTMLTableEvents2_Release(HTMLTableEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT HTMLTableEvents2_GetTypeInfoCount(HTMLTableEvents2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT HTMLTableEvents2_GetTypeInfo(HTMLTableEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT HTMLTableEvents2_GetIDsOfNames(HTMLTableEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT HTMLTableEvents2_Invoke(HTMLTableEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __HTMLTableEvents2_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLTableCaption interface + */ +#ifndef __IHTMLTableCaption_INTERFACE_DEFINED__ +#define __IHTMLTableCaption_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTableCaption, 0x3050f2eb, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f2eb-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTableCaption : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vAlign( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTableCaption, 0x3050f2eb, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTableCaptionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTableCaption *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTableCaption *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTableCaption *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTableCaption *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTableCaption *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTableCaption *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTableCaption *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTableCaption methods ***/ + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLTableCaption *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLTableCaption *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vAlign)( + IHTMLTableCaption *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_vAlign)( + IHTMLTableCaption *This, + BSTR *p); + + END_INTERFACE +} IHTMLTableCaptionVtbl; + +interface IHTMLTableCaption { + CONST_VTBL IHTMLTableCaptionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTableCaption_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTableCaption_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTableCaption_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTableCaption_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTableCaption_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTableCaption_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTableCaption_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTableCaption methods ***/ +#define IHTMLTableCaption_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLTableCaption_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLTableCaption_put_vAlign(This,v) (This)->lpVtbl->put_vAlign(This,v) +#define IHTMLTableCaption_get_vAlign(This,p) (This)->lpVtbl->get_vAlign(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTableCaption_QueryInterface(IHTMLTableCaption* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTableCaption_AddRef(IHTMLTableCaption* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTableCaption_Release(IHTMLTableCaption* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTableCaption_GetTypeInfoCount(IHTMLTableCaption* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTableCaption_GetTypeInfo(IHTMLTableCaption* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTableCaption_GetIDsOfNames(IHTMLTableCaption* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTableCaption_Invoke(IHTMLTableCaption* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTableCaption methods ***/ +static FORCEINLINE HRESULT IHTMLTableCaption_put_align(IHTMLTableCaption* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCaption_get_align(IHTMLTableCaption* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCaption_put_vAlign(IHTMLTableCaption* This,BSTR v) { + return This->lpVtbl->put_vAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCaption_get_vAlign(IHTMLTableCaption* This,BSTR *p) { + return This->lpVtbl->get_vAlign(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTableCaption_INTERFACE_DEFINED__ */ + +#ifndef __IHTMLTableSection_FWD_DEFINED__ +#define __IHTMLTableSection_FWD_DEFINED__ +typedef interface IHTMLTableSection IHTMLTableSection; +#ifdef __cplusplus +interface IHTMLTableSection; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IHTMLTable interface + */ +#ifndef __IHTMLTable_INTERFACE_DEFINED__ +#define __IHTMLTable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTable, 0x3050f21e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f21e-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTable : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_cols( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cols( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_border( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_border( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_frame( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frame( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rules( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rules( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cellSpacing( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cellSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cellPadding( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cellPadding( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_background( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_background( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColorLight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColorLight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColorDark( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColorDark( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE refresh( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rows( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dataPageSize( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataPageSize( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextPage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE previousPage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tHead( + IHTMLTableSection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tFoot( + IHTMLTableSection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_tBodies( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_caption( + IHTMLTableCaption **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTHead( + IDispatch **head) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteTHead( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTFoot( + IDispatch **foot) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteTFoot( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE createCaption( + IHTMLTableCaption **caption) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteCaption( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertRow( + LONG index, + IDispatch **row) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteRow( + LONG index = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTable, 0x3050f21e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTable *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTable *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTable *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTable *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTable *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTable methods ***/ + HRESULT (STDMETHODCALLTYPE *put_cols)( + IHTMLTable *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_cols)( + IHTMLTable *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_border)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_border)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_frame)( + IHTMLTable *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_frame)( + IHTMLTable *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_rules)( + IHTMLTable *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_rules)( + IHTMLTable *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_cellSpacing)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_cellSpacing)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_cellPadding)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_cellPadding)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_background)( + IHTMLTable *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_background)( + IHTMLTable *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_bgColor)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bgColor)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColor)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColor)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColorLight)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColorLight)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColorDark)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColorDark)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLTable *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLTable *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *refresh)( + IHTMLTable *This); + + HRESULT (STDMETHODCALLTYPE *get_rows)( + IHTMLTable *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLTable *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_dataPageSize)( + IHTMLTable *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_dataPageSize)( + IHTMLTable *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *nextPage)( + IHTMLTable *This); + + HRESULT (STDMETHODCALLTYPE *previousPage)( + IHTMLTable *This); + + HRESULT (STDMETHODCALLTYPE *get_tHead)( + IHTMLTable *This, + IHTMLTableSection **p); + + HRESULT (STDMETHODCALLTYPE *get_tFoot)( + IHTMLTable *This, + IHTMLTableSection **p); + + HRESULT (STDMETHODCALLTYPE *get_tBodies)( + IHTMLTable *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_caption)( + IHTMLTable *This, + IHTMLTableCaption **p); + + HRESULT (STDMETHODCALLTYPE *createTHead)( + IHTMLTable *This, + IDispatch **head); + + HRESULT (STDMETHODCALLTYPE *deleteTHead)( + IHTMLTable *This); + + HRESULT (STDMETHODCALLTYPE *createTFoot)( + IHTMLTable *This, + IDispatch **foot); + + HRESULT (STDMETHODCALLTYPE *deleteTFoot)( + IHTMLTable *This); + + HRESULT (STDMETHODCALLTYPE *createCaption)( + IHTMLTable *This, + IHTMLTableCaption **caption); + + HRESULT (STDMETHODCALLTYPE *deleteCaption)( + IHTMLTable *This); + + HRESULT (STDMETHODCALLTYPE *insertRow)( + IHTMLTable *This, + LONG index, + IDispatch **row); + + HRESULT (STDMETHODCALLTYPE *deleteRow)( + IHTMLTable *This, + LONG index); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLTable *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLTable *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLTable *This, + VARIANT *p); + + END_INTERFACE +} IHTMLTableVtbl; + +interface IHTMLTable { + CONST_VTBL IHTMLTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTable_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTable_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTable_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTable_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTable_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTable methods ***/ +#define IHTMLTable_put_cols(This,v) (This)->lpVtbl->put_cols(This,v) +#define IHTMLTable_get_cols(This,p) (This)->lpVtbl->get_cols(This,p) +#define IHTMLTable_put_border(This,v) (This)->lpVtbl->put_border(This,v) +#define IHTMLTable_get_border(This,p) (This)->lpVtbl->get_border(This,p) +#define IHTMLTable_put_frame(This,v) (This)->lpVtbl->put_frame(This,v) +#define IHTMLTable_get_frame(This,p) (This)->lpVtbl->get_frame(This,p) +#define IHTMLTable_put_rules(This,v) (This)->lpVtbl->put_rules(This,v) +#define IHTMLTable_get_rules(This,p) (This)->lpVtbl->get_rules(This,p) +#define IHTMLTable_put_cellSpacing(This,v) (This)->lpVtbl->put_cellSpacing(This,v) +#define IHTMLTable_get_cellSpacing(This,p) (This)->lpVtbl->get_cellSpacing(This,p) +#define IHTMLTable_put_cellPadding(This,v) (This)->lpVtbl->put_cellPadding(This,v) +#define IHTMLTable_get_cellPadding(This,p) (This)->lpVtbl->get_cellPadding(This,p) +#define IHTMLTable_put_background(This,v) (This)->lpVtbl->put_background(This,v) +#define IHTMLTable_get_background(This,p) (This)->lpVtbl->get_background(This,p) +#define IHTMLTable_put_bgColor(This,v) (This)->lpVtbl->put_bgColor(This,v) +#define IHTMLTable_get_bgColor(This,p) (This)->lpVtbl->get_bgColor(This,p) +#define IHTMLTable_put_borderColor(This,v) (This)->lpVtbl->put_borderColor(This,v) +#define IHTMLTable_get_borderColor(This,p) (This)->lpVtbl->get_borderColor(This,p) +#define IHTMLTable_put_borderColorLight(This,v) (This)->lpVtbl->put_borderColorLight(This,v) +#define IHTMLTable_get_borderColorLight(This,p) (This)->lpVtbl->get_borderColorLight(This,p) +#define IHTMLTable_put_borderColorDark(This,v) (This)->lpVtbl->put_borderColorDark(This,v) +#define IHTMLTable_get_borderColorDark(This,p) (This)->lpVtbl->get_borderColorDark(This,p) +#define IHTMLTable_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLTable_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLTable_refresh(This) (This)->lpVtbl->refresh(This) +#define IHTMLTable_get_rows(This,p) (This)->lpVtbl->get_rows(This,p) +#define IHTMLTable_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLTable_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLTable_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLTable_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLTable_put_dataPageSize(This,v) (This)->lpVtbl->put_dataPageSize(This,v) +#define IHTMLTable_get_dataPageSize(This,p) (This)->lpVtbl->get_dataPageSize(This,p) +#define IHTMLTable_nextPage(This) (This)->lpVtbl->nextPage(This) +#define IHTMLTable_previousPage(This) (This)->lpVtbl->previousPage(This) +#define IHTMLTable_get_tHead(This,p) (This)->lpVtbl->get_tHead(This,p) +#define IHTMLTable_get_tFoot(This,p) (This)->lpVtbl->get_tFoot(This,p) +#define IHTMLTable_get_tBodies(This,p) (This)->lpVtbl->get_tBodies(This,p) +#define IHTMLTable_get_caption(This,p) (This)->lpVtbl->get_caption(This,p) +#define IHTMLTable_createTHead(This,head) (This)->lpVtbl->createTHead(This,head) +#define IHTMLTable_deleteTHead(This) (This)->lpVtbl->deleteTHead(This) +#define IHTMLTable_createTFoot(This,foot) (This)->lpVtbl->createTFoot(This,foot) +#define IHTMLTable_deleteTFoot(This) (This)->lpVtbl->deleteTFoot(This) +#define IHTMLTable_createCaption(This,caption) (This)->lpVtbl->createCaption(This,caption) +#define IHTMLTable_deleteCaption(This) (This)->lpVtbl->deleteCaption(This) +#define IHTMLTable_insertRow(This,index,row) (This)->lpVtbl->insertRow(This,index,row) +#define IHTMLTable_deleteRow(This,index) (This)->lpVtbl->deleteRow(This,index) +#define IHTMLTable_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLTable_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLTable_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTable_QueryInterface(IHTMLTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTable_AddRef(IHTMLTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTable_Release(IHTMLTable* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTable_GetTypeInfoCount(IHTMLTable* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTable_GetTypeInfo(IHTMLTable* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTable_GetIDsOfNames(IHTMLTable* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTable_Invoke(IHTMLTable* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTable methods ***/ +static FORCEINLINE HRESULT IHTMLTable_put_cols(IHTMLTable* This,LONG v) { + return This->lpVtbl->put_cols(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_cols(IHTMLTable* This,LONG *p) { + return This->lpVtbl->get_cols(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_border(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_border(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_border(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_border(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_frame(IHTMLTable* This,BSTR v) { + return This->lpVtbl->put_frame(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_frame(IHTMLTable* This,BSTR *p) { + return This->lpVtbl->get_frame(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_rules(IHTMLTable* This,BSTR v) { + return This->lpVtbl->put_rules(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_rules(IHTMLTable* This,BSTR *p) { + return This->lpVtbl->get_rules(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_cellSpacing(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_cellSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_cellSpacing(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_cellSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_cellPadding(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_cellPadding(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_cellPadding(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_cellPadding(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_background(IHTMLTable* This,BSTR v) { + return This->lpVtbl->put_background(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_background(IHTMLTable* This,BSTR *p) { + return This->lpVtbl->get_background(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_bgColor(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_bgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_bgColor(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_bgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_borderColor(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_borderColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_borderColor(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_borderColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_borderColorLight(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_borderColorLight(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_borderColorLight(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_borderColorLight(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_borderColorDark(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_borderColorDark(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_borderColorDark(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_borderColorDark(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_align(IHTMLTable* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_align(IHTMLTable* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_refresh(IHTMLTable* This) { + return This->lpVtbl->refresh(This); +} +static FORCEINLINE HRESULT IHTMLTable_get_rows(IHTMLTable* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_rows(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_width(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_width(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_height(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_height(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_dataPageSize(IHTMLTable* This,LONG v) { + return This->lpVtbl->put_dataPageSize(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_dataPageSize(IHTMLTable* This,LONG *p) { + return This->lpVtbl->get_dataPageSize(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_nextPage(IHTMLTable* This) { + return This->lpVtbl->nextPage(This); +} +static FORCEINLINE HRESULT IHTMLTable_previousPage(IHTMLTable* This) { + return This->lpVtbl->previousPage(This); +} +static FORCEINLINE HRESULT IHTMLTable_get_tHead(IHTMLTable* This,IHTMLTableSection **p) { + return This->lpVtbl->get_tHead(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_get_tFoot(IHTMLTable* This,IHTMLTableSection **p) { + return This->lpVtbl->get_tFoot(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_get_tBodies(IHTMLTable* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_tBodies(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_get_caption(IHTMLTable* This,IHTMLTableCaption **p) { + return This->lpVtbl->get_caption(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_createTHead(IHTMLTable* This,IDispatch **head) { + return This->lpVtbl->createTHead(This,head); +} +static FORCEINLINE HRESULT IHTMLTable_deleteTHead(IHTMLTable* This) { + return This->lpVtbl->deleteTHead(This); +} +static FORCEINLINE HRESULT IHTMLTable_createTFoot(IHTMLTable* This,IDispatch **foot) { + return This->lpVtbl->createTFoot(This,foot); +} +static FORCEINLINE HRESULT IHTMLTable_deleteTFoot(IHTMLTable* This) { + return This->lpVtbl->deleteTFoot(This); +} +static FORCEINLINE HRESULT IHTMLTable_createCaption(IHTMLTable* This,IHTMLTableCaption **caption) { + return This->lpVtbl->createCaption(This,caption); +} +static FORCEINLINE HRESULT IHTMLTable_deleteCaption(IHTMLTable* This) { + return This->lpVtbl->deleteCaption(This); +} +static FORCEINLINE HRESULT IHTMLTable_insertRow(IHTMLTable* This,LONG index,IDispatch **row) { + return This->lpVtbl->insertRow(This,index,row); +} +static FORCEINLINE HRESULT IHTMLTable_deleteRow(IHTMLTable* This,LONG index) { + return This->lpVtbl->deleteRow(This,index); +} +static FORCEINLINE HRESULT IHTMLTable_get_readyState(IHTMLTable* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLTable_put_onreadystatechange(IHTMLTable* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLTable_get_onreadystatechange(IHTMLTable* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLTable2 interface + */ +#ifndef __IHTMLTable2_INTERFACE_DEFINED__ +#define __IHTMLTable2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTable2, 0x3050f4ad, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4ad-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTable2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE firstPage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE lastPage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cells( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveRow( + LONG indexFrom, + LONG indexTo, + IDispatch **row) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTable2, 0x3050f4ad, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTable2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTable2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTable2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTable2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTable2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTable2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTable2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTable2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTable2 methods ***/ + HRESULT (STDMETHODCALLTYPE *firstPage)( + IHTMLTable2 *This); + + HRESULT (STDMETHODCALLTYPE *lastPage)( + IHTMLTable2 *This); + + HRESULT (STDMETHODCALLTYPE *get_cells)( + IHTMLTable2 *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *moveRow)( + IHTMLTable2 *This, + LONG indexFrom, + LONG indexTo, + IDispatch **row); + + END_INTERFACE +} IHTMLTable2Vtbl; + +interface IHTMLTable2 { + CONST_VTBL IHTMLTable2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTable2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTable2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTable2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTable2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTable2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTable2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTable2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTable2 methods ***/ +#define IHTMLTable2_firstPage(This) (This)->lpVtbl->firstPage(This) +#define IHTMLTable2_lastPage(This) (This)->lpVtbl->lastPage(This) +#define IHTMLTable2_get_cells(This,p) (This)->lpVtbl->get_cells(This,p) +#define IHTMLTable2_moveRow(This,indexFrom,indexTo,row) (This)->lpVtbl->moveRow(This,indexFrom,indexTo,row) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTable2_QueryInterface(IHTMLTable2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTable2_AddRef(IHTMLTable2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTable2_Release(IHTMLTable2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTable2_GetTypeInfoCount(IHTMLTable2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTable2_GetTypeInfo(IHTMLTable2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTable2_GetIDsOfNames(IHTMLTable2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTable2_Invoke(IHTMLTable2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTable2 methods ***/ +static FORCEINLINE HRESULT IHTMLTable2_firstPage(IHTMLTable2* This) { + return This->lpVtbl->firstPage(This); +} +static FORCEINLINE HRESULT IHTMLTable2_lastPage(IHTMLTable2* This) { + return This->lpVtbl->lastPage(This); +} +static FORCEINLINE HRESULT IHTMLTable2_get_cells(IHTMLTable2* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_cells(This,p); +} +static FORCEINLINE HRESULT IHTMLTable2_moveRow(IHTMLTable2* This,LONG indexFrom,LONG indexTo,IDispatch **row) { + return This->lpVtbl->moveRow(This,indexFrom,indexTo,row); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTable2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLTable3 interface + */ +#ifndef __IHTMLTable3_INTERFACE_DEFINED__ +#define __IHTMLTable3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTable3, 0x3050f829, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f829-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTable3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_summary( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_summary( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTable3, 0x3050f829, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTable3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTable3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTable3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTable3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTable3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTable3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTable3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTable3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTable3 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_summary)( + IHTMLTable3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_summary)( + IHTMLTable3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLTable3Vtbl; + +interface IHTMLTable3 { + CONST_VTBL IHTMLTable3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTable3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTable3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTable3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTable3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTable3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTable3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTable3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTable3 methods ***/ +#define IHTMLTable3_put_summary(This,v) (This)->lpVtbl->put_summary(This,v) +#define IHTMLTable3_get_summary(This,p) (This)->lpVtbl->get_summary(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTable3_QueryInterface(IHTMLTable3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTable3_AddRef(IHTMLTable3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTable3_Release(IHTMLTable3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTable3_GetTypeInfoCount(IHTMLTable3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTable3_GetTypeInfo(IHTMLTable3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTable3_GetIDsOfNames(IHTMLTable3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTable3_Invoke(IHTMLTable3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTable3 methods ***/ +static FORCEINLINE HRESULT IHTMLTable3_put_summary(IHTMLTable3* This,BSTR v) { + return This->lpVtbl->put_summary(This,v); +} +static FORCEINLINE HRESULT IHTMLTable3_get_summary(IHTMLTable3* This,BSTR *p) { + return This->lpVtbl->get_summary(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTable3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTable coclass + */ + +DEFINE_GUID(CLSID_HTMLTable, 0x3050f26b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f26b-98b5-11cf-bb82-00aa00bdce0b") HTMLTable; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTable, 0x3050f26b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLTableSection interface + */ +#ifndef __IHTMLTableSection_INTERFACE_DEFINED__ +#define __IHTMLTableSection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTableSection, 0x3050f23b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f23b-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTableSection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rows( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertRow( + LONG index, + IDispatch **row) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteRow( + LONG index = -1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTableSection, 0x3050f23b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTableSectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTableSection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTableSection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTableSection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTableSection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTableSection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTableSection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTableSection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTableSection methods ***/ + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLTableSection *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLTableSection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vAlign)( + IHTMLTableSection *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_vAlign)( + IHTMLTableSection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_bgColor)( + IHTMLTableSection *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bgColor)( + IHTMLTableSection *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_rows)( + IHTMLTableSection *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *insertRow)( + IHTMLTableSection *This, + LONG index, + IDispatch **row); + + HRESULT (STDMETHODCALLTYPE *deleteRow)( + IHTMLTableSection *This, + LONG index); + + END_INTERFACE +} IHTMLTableSectionVtbl; + +interface IHTMLTableSection { + CONST_VTBL IHTMLTableSectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTableSection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTableSection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTableSection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTableSection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTableSection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTableSection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTableSection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTableSection methods ***/ +#define IHTMLTableSection_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLTableSection_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLTableSection_put_vAlign(This,v) (This)->lpVtbl->put_vAlign(This,v) +#define IHTMLTableSection_get_vAlign(This,p) (This)->lpVtbl->get_vAlign(This,p) +#define IHTMLTableSection_put_bgColor(This,v) (This)->lpVtbl->put_bgColor(This,v) +#define IHTMLTableSection_get_bgColor(This,p) (This)->lpVtbl->get_bgColor(This,p) +#define IHTMLTableSection_get_rows(This,p) (This)->lpVtbl->get_rows(This,p) +#define IHTMLTableSection_insertRow(This,index,row) (This)->lpVtbl->insertRow(This,index,row) +#define IHTMLTableSection_deleteRow(This,index) (This)->lpVtbl->deleteRow(This,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTableSection_QueryInterface(IHTMLTableSection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTableSection_AddRef(IHTMLTableSection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTableSection_Release(IHTMLTableSection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTableSection_GetTypeInfoCount(IHTMLTableSection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTableSection_GetTypeInfo(IHTMLTableSection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTableSection_GetIDsOfNames(IHTMLTableSection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTableSection_Invoke(IHTMLTableSection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTableSection methods ***/ +static FORCEINLINE HRESULT IHTMLTableSection_put_align(IHTMLTableSection* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLTableSection_get_align(IHTMLTableSection* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLTableSection_put_vAlign(IHTMLTableSection* This,BSTR v) { + return This->lpVtbl->put_vAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLTableSection_get_vAlign(IHTMLTableSection* This,BSTR *p) { + return This->lpVtbl->get_vAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLTableSection_put_bgColor(IHTMLTableSection* This,VARIANT v) { + return This->lpVtbl->put_bgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTableSection_get_bgColor(IHTMLTableSection* This,VARIANT *p) { + return This->lpVtbl->get_bgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTableSection_get_rows(IHTMLTableSection* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_rows(This,p); +} +static FORCEINLINE HRESULT IHTMLTableSection_insertRow(IHTMLTableSection* This,LONG index,IDispatch **row) { + return This->lpVtbl->insertRow(This,index,row); +} +static FORCEINLINE HRESULT IHTMLTableSection_deleteRow(IHTMLTableSection* This,LONG index) { + return This->lpVtbl->deleteRow(This,index); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTableSection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLTableRow interface + */ +#ifndef __IHTMLTableRow_INTERFACE_DEFINED__ +#define __IHTMLTableRow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTableRow, 0x3050f23c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f23c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTableRow : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColorLight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColorLight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColorDark( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColorDark( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rowIndex( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_sectionRowIndex( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cells( + IHTMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertCell( + LONG index, + IDispatch **row) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteCell( + LONG index = -1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTableRow, 0x3050f23c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTableRowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTableRow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTableRow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTableRow *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTableRow *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTableRow *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTableRow *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTableRow *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTableRow methods ***/ + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLTableRow *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLTableRow *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vAlign)( + IHTMLTableRow *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_vAlign)( + IHTMLTableRow *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_bgColor)( + IHTMLTableRow *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bgColor)( + IHTMLTableRow *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColor)( + IHTMLTableRow *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColor)( + IHTMLTableRow *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColorLight)( + IHTMLTableRow *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColorLight)( + IHTMLTableRow *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColorDark)( + IHTMLTableRow *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColorDark)( + IHTMLTableRow *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_rowIndex)( + IHTMLTableRow *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_sectionRowIndex)( + IHTMLTableRow *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_cells)( + IHTMLTableRow *This, + IHTMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *insertCell)( + IHTMLTableRow *This, + LONG index, + IDispatch **row); + + HRESULT (STDMETHODCALLTYPE *deleteCell)( + IHTMLTableRow *This, + LONG index); + + END_INTERFACE +} IHTMLTableRowVtbl; + +interface IHTMLTableRow { + CONST_VTBL IHTMLTableRowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTableRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTableRow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTableRow_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTableRow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTableRow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTableRow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTableRow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTableRow methods ***/ +#define IHTMLTableRow_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLTableRow_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLTableRow_put_vAlign(This,v) (This)->lpVtbl->put_vAlign(This,v) +#define IHTMLTableRow_get_vAlign(This,p) (This)->lpVtbl->get_vAlign(This,p) +#define IHTMLTableRow_put_bgColor(This,v) (This)->lpVtbl->put_bgColor(This,v) +#define IHTMLTableRow_get_bgColor(This,p) (This)->lpVtbl->get_bgColor(This,p) +#define IHTMLTableRow_put_borderColor(This,v) (This)->lpVtbl->put_borderColor(This,v) +#define IHTMLTableRow_get_borderColor(This,p) (This)->lpVtbl->get_borderColor(This,p) +#define IHTMLTableRow_put_borderColorLight(This,v) (This)->lpVtbl->put_borderColorLight(This,v) +#define IHTMLTableRow_get_borderColorLight(This,p) (This)->lpVtbl->get_borderColorLight(This,p) +#define IHTMLTableRow_put_borderColorDark(This,v) (This)->lpVtbl->put_borderColorDark(This,v) +#define IHTMLTableRow_get_borderColorDark(This,p) (This)->lpVtbl->get_borderColorDark(This,p) +#define IHTMLTableRow_get_rowIndex(This,p) (This)->lpVtbl->get_rowIndex(This,p) +#define IHTMLTableRow_get_sectionRowIndex(This,p) (This)->lpVtbl->get_sectionRowIndex(This,p) +#define IHTMLTableRow_get_cells(This,p) (This)->lpVtbl->get_cells(This,p) +#define IHTMLTableRow_insertCell(This,index,row) (This)->lpVtbl->insertCell(This,index,row) +#define IHTMLTableRow_deleteCell(This,index) (This)->lpVtbl->deleteCell(This,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTableRow_QueryInterface(IHTMLTableRow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTableRow_AddRef(IHTMLTableRow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTableRow_Release(IHTMLTableRow* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTableRow_GetTypeInfoCount(IHTMLTableRow* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTableRow_GetTypeInfo(IHTMLTableRow* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTableRow_GetIDsOfNames(IHTMLTableRow* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTableRow_Invoke(IHTMLTableRow* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTableRow methods ***/ +static FORCEINLINE HRESULT IHTMLTableRow_put_align(IHTMLTableRow* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_align(IHTMLTableRow* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_put_vAlign(IHTMLTableRow* This,BSTR v) { + return This->lpVtbl->put_vAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_vAlign(IHTMLTableRow* This,BSTR *p) { + return This->lpVtbl->get_vAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_put_bgColor(IHTMLTableRow* This,VARIANT v) { + return This->lpVtbl->put_bgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_bgColor(IHTMLTableRow* This,VARIANT *p) { + return This->lpVtbl->get_bgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_put_borderColor(IHTMLTableRow* This,VARIANT v) { + return This->lpVtbl->put_borderColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_borderColor(IHTMLTableRow* This,VARIANT *p) { + return This->lpVtbl->get_borderColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_put_borderColorLight(IHTMLTableRow* This,VARIANT v) { + return This->lpVtbl->put_borderColorLight(This,v); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_borderColorLight(IHTMLTableRow* This,VARIANT *p) { + return This->lpVtbl->get_borderColorLight(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_put_borderColorDark(IHTMLTableRow* This,VARIANT v) { + return This->lpVtbl->put_borderColorDark(This,v); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_borderColorDark(IHTMLTableRow* This,VARIANT *p) { + return This->lpVtbl->get_borderColorDark(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_rowIndex(IHTMLTableRow* This,LONG *p) { + return This->lpVtbl->get_rowIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_sectionRowIndex(IHTMLTableRow* This,LONG *p) { + return This->lpVtbl->get_sectionRowIndex(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_get_cells(IHTMLTableRow* This,IHTMLElementCollection **p) { + return This->lpVtbl->get_cells(This,p); +} +static FORCEINLINE HRESULT IHTMLTableRow_insertCell(IHTMLTableRow* This,LONG index,IDispatch **row) { + return This->lpVtbl->insertCell(This,index,row); +} +static FORCEINLINE HRESULT IHTMLTableRow_deleteCell(IHTMLTableRow* This,LONG index) { + return This->lpVtbl->deleteCell(This,index); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTableRow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLTableCell interface + */ +#ifndef __IHTMLTableCell_INTERFACE_DEFINED__ +#define __IHTMLTableCell_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLTableCell, 0x3050f23d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f23d-98b5-11cf-bb82-00aa00bdce0b") +IHTMLTableCell : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_rowSpan( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rowSpan( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_colSpan( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_colSpan( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vAlign( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vAlign( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bgColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bgColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_noWrap( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_noWrap( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_background( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_background( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColor( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColor( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColorLight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColorLight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_borderColorDark( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_borderColorDark( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cellIndex( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLTableCell, 0x3050f23d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLTableCellVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLTableCell *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLTableCell *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLTableCell *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLTableCell *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLTableCell *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLTableCell *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLTableCell *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLTableCell methods ***/ + HRESULT (STDMETHODCALLTYPE *put_rowSpan)( + IHTMLTableCell *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_rowSpan)( + IHTMLTableCell *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_colSpan)( + IHTMLTableCell *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_colSpan)( + IHTMLTableCell *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLTableCell *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLTableCell *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vAlign)( + IHTMLTableCell *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_vAlign)( + IHTMLTableCell *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_bgColor)( + IHTMLTableCell *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_bgColor)( + IHTMLTableCell *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_noWrap)( + IHTMLTableCell *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_noWrap)( + IHTMLTableCell *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_background)( + IHTMLTableCell *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_background)( + IHTMLTableCell *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColor)( + IHTMLTableCell *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColor)( + IHTMLTableCell *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColorLight)( + IHTMLTableCell *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColorLight)( + IHTMLTableCell *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_borderColorDark)( + IHTMLTableCell *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_borderColorDark)( + IHTMLTableCell *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLTableCell *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLTableCell *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLTableCell *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLTableCell *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_cellIndex)( + IHTMLTableCell *This, + LONG *p); + + END_INTERFACE +} IHTMLTableCellVtbl; + +interface IHTMLTableCell { + CONST_VTBL IHTMLTableCellVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLTableCell_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLTableCell_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLTableCell_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLTableCell_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLTableCell_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLTableCell_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLTableCell_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLTableCell methods ***/ +#define IHTMLTableCell_put_rowSpan(This,v) (This)->lpVtbl->put_rowSpan(This,v) +#define IHTMLTableCell_get_rowSpan(This,p) (This)->lpVtbl->get_rowSpan(This,p) +#define IHTMLTableCell_put_colSpan(This,v) (This)->lpVtbl->put_colSpan(This,v) +#define IHTMLTableCell_get_colSpan(This,p) (This)->lpVtbl->get_colSpan(This,p) +#define IHTMLTableCell_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLTableCell_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLTableCell_put_vAlign(This,v) (This)->lpVtbl->put_vAlign(This,v) +#define IHTMLTableCell_get_vAlign(This,p) (This)->lpVtbl->get_vAlign(This,p) +#define IHTMLTableCell_put_bgColor(This,v) (This)->lpVtbl->put_bgColor(This,v) +#define IHTMLTableCell_get_bgColor(This,p) (This)->lpVtbl->get_bgColor(This,p) +#define IHTMLTableCell_put_noWrap(This,v) (This)->lpVtbl->put_noWrap(This,v) +#define IHTMLTableCell_get_noWrap(This,p) (This)->lpVtbl->get_noWrap(This,p) +#define IHTMLTableCell_put_background(This,v) (This)->lpVtbl->put_background(This,v) +#define IHTMLTableCell_get_background(This,p) (This)->lpVtbl->get_background(This,p) +#define IHTMLTableCell_put_borderColor(This,v) (This)->lpVtbl->put_borderColor(This,v) +#define IHTMLTableCell_get_borderColor(This,p) (This)->lpVtbl->get_borderColor(This,p) +#define IHTMLTableCell_put_borderColorLight(This,v) (This)->lpVtbl->put_borderColorLight(This,v) +#define IHTMLTableCell_get_borderColorLight(This,p) (This)->lpVtbl->get_borderColorLight(This,p) +#define IHTMLTableCell_put_borderColorDark(This,v) (This)->lpVtbl->put_borderColorDark(This,v) +#define IHTMLTableCell_get_borderColorDark(This,p) (This)->lpVtbl->get_borderColorDark(This,p) +#define IHTMLTableCell_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLTableCell_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLTableCell_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLTableCell_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLTableCell_get_cellIndex(This,p) (This)->lpVtbl->get_cellIndex(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLTableCell_QueryInterface(IHTMLTableCell* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLTableCell_AddRef(IHTMLTableCell* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLTableCell_Release(IHTMLTableCell* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLTableCell_GetTypeInfoCount(IHTMLTableCell* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLTableCell_GetTypeInfo(IHTMLTableCell* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLTableCell_GetIDsOfNames(IHTMLTableCell* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLTableCell_Invoke(IHTMLTableCell* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLTableCell methods ***/ +static FORCEINLINE HRESULT IHTMLTableCell_put_rowSpan(IHTMLTableCell* This,LONG v) { + return This->lpVtbl->put_rowSpan(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_rowSpan(IHTMLTableCell* This,LONG *p) { + return This->lpVtbl->get_rowSpan(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_colSpan(IHTMLTableCell* This,LONG v) { + return This->lpVtbl->put_colSpan(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_colSpan(IHTMLTableCell* This,LONG *p) { + return This->lpVtbl->get_colSpan(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_align(IHTMLTableCell* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_align(IHTMLTableCell* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_vAlign(IHTMLTableCell* This,BSTR v) { + return This->lpVtbl->put_vAlign(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_vAlign(IHTMLTableCell* This,BSTR *p) { + return This->lpVtbl->get_vAlign(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_bgColor(IHTMLTableCell* This,VARIANT v) { + return This->lpVtbl->put_bgColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_bgColor(IHTMLTableCell* This,VARIANT *p) { + return This->lpVtbl->get_bgColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_noWrap(IHTMLTableCell* This,VARIANT_BOOL v) { + return This->lpVtbl->put_noWrap(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_noWrap(IHTMLTableCell* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_noWrap(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_background(IHTMLTableCell* This,BSTR v) { + return This->lpVtbl->put_background(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_background(IHTMLTableCell* This,BSTR *p) { + return This->lpVtbl->get_background(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_borderColor(IHTMLTableCell* This,VARIANT v) { + return This->lpVtbl->put_borderColor(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_borderColor(IHTMLTableCell* This,VARIANT *p) { + return This->lpVtbl->get_borderColor(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_borderColorLight(IHTMLTableCell* This,VARIANT v) { + return This->lpVtbl->put_borderColorLight(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_borderColorLight(IHTMLTableCell* This,VARIANT *p) { + return This->lpVtbl->get_borderColorLight(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_borderColorDark(IHTMLTableCell* This,VARIANT v) { + return This->lpVtbl->put_borderColorDark(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_borderColorDark(IHTMLTableCell* This,VARIANT *p) { + return This->lpVtbl->get_borderColorDark(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_width(IHTMLTableCell* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_width(IHTMLTableCell* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_put_height(IHTMLTableCell* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_height(IHTMLTableCell* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLTableCell_get_cellIndex(IHTMLTableCell* This,LONG *p) { + return This->lpVtbl->get_cellIndex(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLTableCell_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLTable dispinterface + */ +#ifndef __DispHTMLTable_DISPINTERFACE_DEFINED__ +#define __DispHTMLTable_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLTable, 0x3050f532, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f532-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLTable : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLTable, 0x3050f532, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLTable *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLTable *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLTable *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLTable *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLTable *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLTableVtbl; + +interface DispHTMLTable { + CONST_VTBL DispHTMLTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLTable_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLTable_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLTable_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLTable_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLTable_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLTable_QueryInterface(DispHTMLTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLTable_AddRef(DispHTMLTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLTable_Release(DispHTMLTable* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLTable_GetTypeInfoCount(DispHTMLTable* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLTable_GetTypeInfo(DispHTMLTable* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLTable_GetIDsOfNames(DispHTMLTable* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLTable_Invoke(DispHTMLTable* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLTable_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLTableRow dispinterface + */ +#ifndef __DispHTMLTableRow_DISPINTERFACE_DEFINED__ +#define __DispHTMLTableRow_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLTableRow, 0x3050f535, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f535-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLTableRow : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLTableRow, 0x3050f535, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLTableRowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLTableRow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLTableRow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLTableRow *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLTableRow *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLTableRow *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLTableRow *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLTableRow *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLTableRowVtbl; + +interface DispHTMLTableRow { + CONST_VTBL DispHTMLTableRowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLTableRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLTableRow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLTableRow_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLTableRow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLTableRow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLTableRow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLTableRow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLTableRow_QueryInterface(DispHTMLTableRow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLTableRow_AddRef(DispHTMLTableRow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLTableRow_Release(DispHTMLTableRow* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLTableRow_GetTypeInfoCount(DispHTMLTableRow* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLTableRow_GetTypeInfo(DispHTMLTableRow* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLTableRow_GetIDsOfNames(DispHTMLTableRow* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLTableRow_Invoke(DispHTMLTableRow* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLTableRow_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTableRow coclass + */ + +DEFINE_GUID(CLSID_HTMLTableRow, 0x3050f26d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f26d-98b5-11cf-bb82-00aa00bdce0b") HTMLTableRow; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTableRow, 0x3050f26d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * DispHTMLTableCell dispinterface + */ +#ifndef __DispHTMLTableCell_DISPINTERFACE_DEFINED__ +#define __DispHTMLTableCell_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLTableCell, 0x3050f536, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f536-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLTableCell : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLTableCell, 0x3050f536, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLTableCellVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLTableCell *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLTableCell *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLTableCell *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLTableCell *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLTableCell *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLTableCell *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLTableCell *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLTableCellVtbl; + +interface DispHTMLTableCell { + CONST_VTBL DispHTMLTableCellVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLTableCell_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLTableCell_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLTableCell_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLTableCell_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLTableCell_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLTableCell_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLTableCell_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLTableCell_QueryInterface(DispHTMLTableCell* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLTableCell_AddRef(DispHTMLTableCell* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLTableCell_Release(DispHTMLTableCell* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLTableCell_GetTypeInfoCount(DispHTMLTableCell* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLTableCell_GetTypeInfo(DispHTMLTableCell* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLTableCell_GetIDsOfNames(DispHTMLTableCell* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLTableCell_Invoke(DispHTMLTableCell* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLTableCell_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLTableCell coclass + */ + +DEFINE_GUID(CLSID_HTMLTableCell, 0x3050f246, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f246-98b5-11cf-bb82-00aa00bdce0b") HTMLTableCell; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLTableCell, 0x3050f246, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLScriptElement interface + */ +#ifndef __IHTMLScriptElement_INTERFACE_DEFINED__ +#define __IHTMLScriptElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLScriptElement, 0x3050f28b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f28b-98b5-11cf-bb82-00aa00bdce0b") +IHTMLScriptElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_htmlFor( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_htmlFor( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_event( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_event( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defer( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defer( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLScriptElement, 0x3050f28b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLScriptElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLScriptElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLScriptElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLScriptElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLScriptElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLScriptElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLScriptElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLScriptElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLScriptElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLScriptElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLScriptElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_htmlFor)( + IHTMLScriptElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_htmlFor)( + IHTMLScriptElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_event)( + IHTMLScriptElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_event)( + IHTMLScriptElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IHTMLScriptElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IHTMLScriptElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_defer)( + IHTMLScriptElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_defer)( + IHTMLScriptElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLScriptElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLScriptElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLScriptElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLScriptElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLScriptElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLScriptElementVtbl; + +interface IHTMLScriptElement { + CONST_VTBL IHTMLScriptElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLScriptElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLScriptElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLScriptElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLScriptElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLScriptElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLScriptElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLScriptElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLScriptElement methods ***/ +#define IHTMLScriptElement_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLScriptElement_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLScriptElement_put_htmlFor(This,v) (This)->lpVtbl->put_htmlFor(This,v) +#define IHTMLScriptElement_get_htmlFor(This,p) (This)->lpVtbl->get_htmlFor(This,p) +#define IHTMLScriptElement_put_event(This,v) (This)->lpVtbl->put_event(This,v) +#define IHTMLScriptElement_get_event(This,p) (This)->lpVtbl->get_event(This,p) +#define IHTMLScriptElement_put_text(This,v) (This)->lpVtbl->put_text(This,v) +#define IHTMLScriptElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IHTMLScriptElement_put_defer(This,v) (This)->lpVtbl->put_defer(This,v) +#define IHTMLScriptElement_get_defer(This,p) (This)->lpVtbl->get_defer(This,p) +#define IHTMLScriptElement_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLScriptElement_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLScriptElement_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLScriptElement_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLScriptElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLScriptElement_QueryInterface(IHTMLScriptElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLScriptElement_AddRef(IHTMLScriptElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLScriptElement_Release(IHTMLScriptElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLScriptElement_GetTypeInfoCount(IHTMLScriptElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLScriptElement_GetTypeInfo(IHTMLScriptElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLScriptElement_GetIDsOfNames(IHTMLScriptElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLScriptElement_Invoke(IHTMLScriptElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLScriptElement methods ***/ +static FORCEINLINE HRESULT IHTMLScriptElement_put_src(IHTMLScriptElement* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_src(IHTMLScriptElement* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_put_htmlFor(IHTMLScriptElement* This,BSTR v) { + return This->lpVtbl->put_htmlFor(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_htmlFor(IHTMLScriptElement* This,BSTR *p) { + return This->lpVtbl->get_htmlFor(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_put_event(IHTMLScriptElement* This,BSTR v) { + return This->lpVtbl->put_event(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_event(IHTMLScriptElement* This,BSTR *p) { + return This->lpVtbl->get_event(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_put_text(IHTMLScriptElement* This,BSTR v) { + return This->lpVtbl->put_text(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_text(IHTMLScriptElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_put_defer(IHTMLScriptElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_defer(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_defer(IHTMLScriptElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_defer(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_readyState(IHTMLScriptElement* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_put_onerror(IHTMLScriptElement* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_onerror(IHTMLScriptElement* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLScriptElement_put_type(IHTMLScriptElement* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement_get_type(IHTMLScriptElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLScriptElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLScriptElement2 interface + */ +#ifndef __IHTMLScriptElement2_INTERFACE_DEFINED__ +#define __IHTMLScriptElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLScriptElement2, 0x3050f828, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f828-98b5-11cf-bb82-00aa00bdce0b") +IHTMLScriptElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_charset( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_charset( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLScriptElement2, 0x3050f828, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLScriptElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLScriptElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLScriptElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLScriptElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLScriptElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLScriptElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLScriptElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLScriptElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLScriptElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_charset)( + IHTMLScriptElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_charset)( + IHTMLScriptElement2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLScriptElement2Vtbl; + +interface IHTMLScriptElement2 { + CONST_VTBL IHTMLScriptElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLScriptElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLScriptElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLScriptElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLScriptElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLScriptElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLScriptElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLScriptElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLScriptElement2 methods ***/ +#define IHTMLScriptElement2_put_charset(This,v) (This)->lpVtbl->put_charset(This,v) +#define IHTMLScriptElement2_get_charset(This,p) (This)->lpVtbl->get_charset(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLScriptElement2_QueryInterface(IHTMLScriptElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLScriptElement2_AddRef(IHTMLScriptElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLScriptElement2_Release(IHTMLScriptElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLScriptElement2_GetTypeInfoCount(IHTMLScriptElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLScriptElement2_GetTypeInfo(IHTMLScriptElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLScriptElement2_GetIDsOfNames(IHTMLScriptElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLScriptElement2_Invoke(IHTMLScriptElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLScriptElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLScriptElement2_put_charset(IHTMLScriptElement2* This,BSTR v) { + return This->lpVtbl->put_charset(This,v); +} +static FORCEINLINE HRESULT IHTMLScriptElement2_get_charset(IHTMLScriptElement2* This,BSTR *p) { + return This->lpVtbl->get_charset(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLScriptElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLScriptElement dispinterface + */ +#ifndef __DispHTMLScriptElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLScriptElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLScriptElement, 0x3050f530, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f530-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLScriptElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLScriptElement, 0x3050f530, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLScriptElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLScriptElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLScriptElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLScriptElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLScriptElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLScriptElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLScriptElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLScriptElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLScriptElementVtbl; + +interface DispHTMLScriptElement { + CONST_VTBL DispHTMLScriptElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLScriptElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLScriptElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLScriptElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLScriptElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLScriptElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLScriptElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLScriptElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLScriptElement_QueryInterface(DispHTMLScriptElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLScriptElement_AddRef(DispHTMLScriptElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLScriptElement_Release(DispHTMLScriptElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLScriptElement_GetTypeInfoCount(DispHTMLScriptElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLScriptElement_GetTypeInfo(DispHTMLScriptElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLScriptElement_GetIDsOfNames(DispHTMLScriptElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLScriptElement_Invoke(DispHTMLScriptElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLScriptElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLScriptElement coclass + */ + +DEFINE_GUID(CLSID_HTMLScriptElement, 0x3050f28c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f28c-98b5-11cf-bb82-00aa00bdce0b") HTMLScriptElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLScriptElement, 0x3050f28c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLObjectElement interface + */ +#ifndef __IHTMLObjectElement_INTERFACE_DEFINED__ +#define __IHTMLObjectElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLObjectElement, 0x3050f24f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f24f-98b5-11cf-bb82-00aa00bdce0b") +IHTMLObjectElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_object( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_classid( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_recordset( + IDispatch *v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_recordset( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_codeBase( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_codeBase( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_codeType( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_codeType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_code( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_code( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BaseHref( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_form( + IHTMLFormElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_altHtml( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_altHtml( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_vspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hspace( + LONG *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLObjectElement, 0x3050f24f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLObjectElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLObjectElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLObjectElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLObjectElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLObjectElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLObjectElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLObjectElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLObjectElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLObjectElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_object)( + IHTMLObjectElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_classid)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *putref_recordset)( + IHTMLObjectElement *This, + IDispatch *v); + + HRESULT (STDMETHODCALLTYPE *get_recordset)( + IHTMLObjectElement *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_codeBase)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_codeBase)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_codeType)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_codeType)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_code)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_code)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_BaseHref)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_form)( + IHTMLObjectElement *This, + IHTMLFormElement **p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLObjectElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLObjectElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLObjectElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLObjectElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLObjectElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLObjectElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLObjectElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLObjectElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLObjectElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_altHtml)( + IHTMLObjectElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_altHtml)( + IHTMLObjectElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_vspace)( + IHTMLObjectElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_vspace)( + IHTMLObjectElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_hspace)( + IHTMLObjectElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_hspace)( + IHTMLObjectElement *This, + LONG *p); + + END_INTERFACE +} IHTMLObjectElementVtbl; + +interface IHTMLObjectElement { + CONST_VTBL IHTMLObjectElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLObjectElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLObjectElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLObjectElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLObjectElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLObjectElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLObjectElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLObjectElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLObjectElement methods ***/ +#define IHTMLObjectElement_get_object(This,p) (This)->lpVtbl->get_object(This,p) +#define IHTMLObjectElement_get_classid(This,p) (This)->lpVtbl->get_classid(This,p) +#define IHTMLObjectElement_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IHTMLObjectElement_putref_recordset(This,v) (This)->lpVtbl->putref_recordset(This,v) +#define IHTMLObjectElement_get_recordset(This,p) (This)->lpVtbl->get_recordset(This,p) +#define IHTMLObjectElement_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLObjectElement_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLObjectElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLObjectElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLObjectElement_put_codeBase(This,v) (This)->lpVtbl->put_codeBase(This,v) +#define IHTMLObjectElement_get_codeBase(This,p) (This)->lpVtbl->get_codeBase(This,p) +#define IHTMLObjectElement_put_codeType(This,v) (This)->lpVtbl->put_codeType(This,v) +#define IHTMLObjectElement_get_codeType(This,p) (This)->lpVtbl->get_codeType(This,p) +#define IHTMLObjectElement_put_code(This,v) (This)->lpVtbl->put_code(This,v) +#define IHTMLObjectElement_get_code(This,p) (This)->lpVtbl->get_code(This,p) +#define IHTMLObjectElement_get_BaseHref(This,p) (This)->lpVtbl->get_BaseHref(This,p) +#define IHTMLObjectElement_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLObjectElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLObjectElement_get_form(This,p) (This)->lpVtbl->get_form(This,p) +#define IHTMLObjectElement_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLObjectElement_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#define IHTMLObjectElement_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLObjectElement_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLObjectElement_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLObjectElement_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLObjectElement_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLObjectElement_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLObjectElement_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLObjectElement_put_altHtml(This,v) (This)->lpVtbl->put_altHtml(This,v) +#define IHTMLObjectElement_get_altHtml(This,p) (This)->lpVtbl->get_altHtml(This,p) +#define IHTMLObjectElement_put_vspace(This,v) (This)->lpVtbl->put_vspace(This,v) +#define IHTMLObjectElement_get_vspace(This,p) (This)->lpVtbl->get_vspace(This,p) +#define IHTMLObjectElement_put_hspace(This,v) (This)->lpVtbl->put_hspace(This,v) +#define IHTMLObjectElement_get_hspace(This,p) (This)->lpVtbl->get_hspace(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLObjectElement_QueryInterface(IHTMLObjectElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLObjectElement_AddRef(IHTMLObjectElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLObjectElement_Release(IHTMLObjectElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLObjectElement_GetTypeInfoCount(IHTMLObjectElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLObjectElement_GetTypeInfo(IHTMLObjectElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLObjectElement_GetIDsOfNames(IHTMLObjectElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLObjectElement_Invoke(IHTMLObjectElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLObjectElement methods ***/ +static FORCEINLINE HRESULT IHTMLObjectElement_get_object(IHTMLObjectElement* This,IDispatch **p) { + return This->lpVtbl->get_object(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_classid(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_classid(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_data(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_putref_recordset(IHTMLObjectElement* This,IDispatch *v) { + return This->lpVtbl->putref_recordset(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_recordset(IHTMLObjectElement* This,IDispatch **p) { + return This->lpVtbl->get_recordset(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_align(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_align(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_name(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_name(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_codeBase(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_codeBase(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_codeBase(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_codeBase(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_codeType(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_codeType(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_codeType(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_codeType(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_code(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_code(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_code(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_code(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_BaseHref(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_BaseHref(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_type(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_type(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_form(IHTMLObjectElement* This,IHTMLFormElement **p) { + return This->lpVtbl->get_form(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_width(IHTMLObjectElement* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_width(IHTMLObjectElement* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_height(IHTMLObjectElement* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_height(IHTMLObjectElement* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_readyState(IHTMLObjectElement* This,LONG *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_onreadystatechange(IHTMLObjectElement* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_onreadystatechange(IHTMLObjectElement* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_onerror(IHTMLObjectElement* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_onerror(IHTMLObjectElement* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_altHtml(IHTMLObjectElement* This,BSTR v) { + return This->lpVtbl->put_altHtml(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_altHtml(IHTMLObjectElement* This,BSTR *p) { + return This->lpVtbl->get_altHtml(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_vspace(IHTMLObjectElement* This,LONG v) { + return This->lpVtbl->put_vspace(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_vspace(IHTMLObjectElement* This,LONG *p) { + return This->lpVtbl->get_vspace(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement_put_hspace(IHTMLObjectElement* This,LONG v) { + return This->lpVtbl->put_hspace(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement_get_hspace(IHTMLObjectElement* This,LONG *p) { + return This->lpVtbl->get_hspace(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLObjectElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLObjectElement2 interface + */ +#ifndef __IHTMLObjectElement2_INTERFACE_DEFINED__ +#define __IHTMLObjectElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLObjectElement2, 0x3050f4cd, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4cd-98b5-11cf-bb82-00aa00bdce0b") +IHTMLObjectElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE namedRecordset( + BSTR dataMember, + VARIANT *hierarchy, + IDispatch **ppRecordset) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_classid( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_classid( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLObjectElement2, 0x3050f4cd, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLObjectElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLObjectElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLObjectElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLObjectElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLObjectElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLObjectElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLObjectElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLObjectElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLObjectElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *namedRecordset)( + IHTMLObjectElement2 *This, + BSTR dataMember, + VARIANT *hierarchy, + IDispatch **ppRecordset); + + HRESULT (STDMETHODCALLTYPE *put_classid)( + IHTMLObjectElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_classid)( + IHTMLObjectElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IHTMLObjectElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IHTMLObjectElement2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLObjectElement2Vtbl; + +interface IHTMLObjectElement2 { + CONST_VTBL IHTMLObjectElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLObjectElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLObjectElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLObjectElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLObjectElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLObjectElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLObjectElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLObjectElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLObjectElement2 methods ***/ +#define IHTMLObjectElement2_namedRecordset(This,dataMember,hierarchy,ppRecordset) (This)->lpVtbl->namedRecordset(This,dataMember,hierarchy,ppRecordset) +#define IHTMLObjectElement2_put_classid(This,v) (This)->lpVtbl->put_classid(This,v) +#define IHTMLObjectElement2_get_classid(This,p) (This)->lpVtbl->get_classid(This,p) +#define IHTMLObjectElement2_put_data(This,v) (This)->lpVtbl->put_data(This,v) +#define IHTMLObjectElement2_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLObjectElement2_QueryInterface(IHTMLObjectElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLObjectElement2_AddRef(IHTMLObjectElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLObjectElement2_Release(IHTMLObjectElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLObjectElement2_GetTypeInfoCount(IHTMLObjectElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_GetTypeInfo(IHTMLObjectElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_GetIDsOfNames(IHTMLObjectElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_Invoke(IHTMLObjectElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLObjectElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLObjectElement2_namedRecordset(IHTMLObjectElement2* This,BSTR dataMember,VARIANT *hierarchy,IDispatch **ppRecordset) { + return This->lpVtbl->namedRecordset(This,dataMember,hierarchy,ppRecordset); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_put_classid(IHTMLObjectElement2* This,BSTR v) { + return This->lpVtbl->put_classid(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_get_classid(IHTMLObjectElement2* This,BSTR *p) { + return This->lpVtbl->get_classid(This,p); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_put_data(IHTMLObjectElement2* This,BSTR v) { + return This->lpVtbl->put_data(This,v); +} +static FORCEINLINE HRESULT IHTMLObjectElement2_get_data(IHTMLObjectElement2* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLObjectElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDivElement interface + */ +#ifndef __IHTMLDivElement_INTERFACE_DEFINED__ +#define __IHTMLDivElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDivElement, 0x3050f200, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f200-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDivElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_noWrap( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_noWrap( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDivElement, 0x3050f200, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDivElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDivElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDivElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDivElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDivElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDivElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDivElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDivElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDivElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLDivElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLDivElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_noWrap)( + IHTMLDivElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_noWrap)( + IHTMLDivElement *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLDivElementVtbl; + +interface IHTMLDivElement { + CONST_VTBL IHTMLDivElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDivElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDivElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDivElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDivElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDivElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDivElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDivElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDivElement methods ***/ +#define IHTMLDivElement_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLDivElement_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#define IHTMLDivElement_put_noWrap(This,v) (This)->lpVtbl->put_noWrap(This,v) +#define IHTMLDivElement_get_noWrap(This,p) (This)->lpVtbl->get_noWrap(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDivElement_QueryInterface(IHTMLDivElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDivElement_AddRef(IHTMLDivElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDivElement_Release(IHTMLDivElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDivElement_GetTypeInfoCount(IHTMLDivElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDivElement_GetTypeInfo(IHTMLDivElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDivElement_GetIDsOfNames(IHTMLDivElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDivElement_Invoke(IHTMLDivElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDivElement methods ***/ +static FORCEINLINE HRESULT IHTMLDivElement_put_align(IHTMLDivElement* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLDivElement_get_align(IHTMLDivElement* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +static FORCEINLINE HRESULT IHTMLDivElement_put_noWrap(IHTMLDivElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_noWrap(This,v); +} +static FORCEINLINE HRESULT IHTMLDivElement_get_noWrap(IHTMLDivElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_noWrap(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDivElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLDivElement dispinterface + */ +#ifndef __DispHTMLDivElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLDivElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLDivElement, 0x3050f50c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f50c-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLDivElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLDivElement, 0x3050f50c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLDivElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLDivElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLDivElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLDivElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLDivElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLDivElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLDivElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLDivElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLDivElementVtbl; + +interface DispHTMLDivElement { + CONST_VTBL DispHTMLDivElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLDivElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLDivElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLDivElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLDivElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLDivElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLDivElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLDivElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLDivElement_QueryInterface(DispHTMLDivElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLDivElement_AddRef(DispHTMLDivElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLDivElement_Release(DispHTMLDivElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLDivElement_GetTypeInfoCount(DispHTMLDivElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLDivElement_GetTypeInfo(DispHTMLDivElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLDivElement_GetIDsOfNames(DispHTMLDivElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLDivElement_Invoke(DispHTMLDivElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLDivElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLParamElement interface + */ +#ifndef __IHTMLParamElement_INTERFACE_DEFINED__ +#define __IHTMLParamElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLParamElement, 0x3050f83d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f83d-98b5-11cf-bb82-00aa00bdce0b") +IHTMLParamElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_valueType( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_valueType( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLParamElement, 0x3050f83d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLParamElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLParamElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLParamElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLParamElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLParamElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLParamElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLParamElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLParamElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLParamElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLParamElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLParamElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLParamElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLParamElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLParamElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLParamElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_valueType)( + IHTMLParamElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_valueType)( + IHTMLParamElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLParamElementVtbl; + +interface IHTMLParamElement { + CONST_VTBL IHTMLParamElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLParamElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLParamElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLParamElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLParamElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLParamElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLParamElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLParamElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLParamElement methods ***/ +#define IHTMLParamElement_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLParamElement_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLParamElement_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLParamElement_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLParamElement_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLParamElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLParamElement_put_valueType(This,v) (This)->lpVtbl->put_valueType(This,v) +#define IHTMLParamElement_get_valueType(This,p) (This)->lpVtbl->get_valueType(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLParamElement_QueryInterface(IHTMLParamElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLParamElement_AddRef(IHTMLParamElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLParamElement_Release(IHTMLParamElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLParamElement_GetTypeInfoCount(IHTMLParamElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLParamElement_GetTypeInfo(IHTMLParamElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLParamElement_GetIDsOfNames(IHTMLParamElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLParamElement_Invoke(IHTMLParamElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLParamElement methods ***/ +static FORCEINLINE HRESULT IHTMLParamElement_put_name(IHTMLParamElement* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement_get_name(IHTMLParamElement* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLParamElement_put_value(IHTMLParamElement* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement_get_value(IHTMLParamElement* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLParamElement_put_type(IHTMLParamElement* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement_get_type(IHTMLParamElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLParamElement_put_valueType(IHTMLParamElement* This,BSTR v) { + return This->lpVtbl->put_valueType(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement_get_valueType(IHTMLParamElement* This,BSTR *p) { + return This->lpVtbl->get_valueType(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLParamElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLParamElement2 interface + */ +#ifndef __IHTMLParamElement2_INTERFACE_DEFINED__ +#define __IHTMLParamElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLParamElement2, 0x30510444, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510444-98b5-11cf-bb82-00aa00bdce0b") +IHTMLParamElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_valueType( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_valueType( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLParamElement2, 0x30510444, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLParamElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLParamElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLParamElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLParamElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLParamElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLParamElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLParamElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLParamElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLParamElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLParamElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLParamElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLParamElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLParamElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IHTMLParamElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IHTMLParamElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_valueType)( + IHTMLParamElement2 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_valueType)( + IHTMLParamElement2 *This, + BSTR *p); + + END_INTERFACE +} IHTMLParamElement2Vtbl; + +interface IHTMLParamElement2 { + CONST_VTBL IHTMLParamElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLParamElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLParamElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLParamElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLParamElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLParamElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLParamElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLParamElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLParamElement2 methods ***/ +#define IHTMLParamElement2_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLParamElement2_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLParamElement2_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLParamElement2_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLParamElement2_put_value(This,v) (This)->lpVtbl->put_value(This,v) +#define IHTMLParamElement2_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#define IHTMLParamElement2_put_valueType(This,v) (This)->lpVtbl->put_valueType(This,v) +#define IHTMLParamElement2_get_valueType(This,p) (This)->lpVtbl->get_valueType(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLParamElement2_QueryInterface(IHTMLParamElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLParamElement2_AddRef(IHTMLParamElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLParamElement2_Release(IHTMLParamElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLParamElement2_GetTypeInfoCount(IHTMLParamElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLParamElement2_GetTypeInfo(IHTMLParamElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLParamElement2_GetIDsOfNames(IHTMLParamElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLParamElement2_Invoke(IHTMLParamElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLParamElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLParamElement2_put_name(IHTMLParamElement2* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement2_get_name(IHTMLParamElement2* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLParamElement2_put_type(IHTMLParamElement2* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement2_get_type(IHTMLParamElement2* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLParamElement2_put_value(IHTMLParamElement2* This,BSTR v) { + return This->lpVtbl->put_value(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement2_get_value(IHTMLParamElement2* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +static FORCEINLINE HRESULT IHTMLParamElement2_put_valueType(IHTMLParamElement2* This,BSTR v) { + return This->lpVtbl->put_valueType(This,v); +} +static FORCEINLINE HRESULT IHTMLParamElement2_get_valueType(IHTMLParamElement2* This,BSTR *p) { + return This->lpVtbl->get_valueType(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLParamElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLObjectElement dispinterface + */ +#ifndef __DispHTMLObjectElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLObjectElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLObjectElement, 0x3050f529, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f529-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLObjectElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLObjectElement, 0x3050f529, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLObjectElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLObjectElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLObjectElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLObjectElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLObjectElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLObjectElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLObjectElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLObjectElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLObjectElementVtbl; + +interface DispHTMLObjectElement { + CONST_VTBL DispHTMLObjectElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLObjectElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLObjectElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLObjectElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLObjectElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLObjectElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLObjectElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLObjectElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLObjectElement_QueryInterface(DispHTMLObjectElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLObjectElement_AddRef(DispHTMLObjectElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLObjectElement_Release(DispHTMLObjectElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLObjectElement_GetTypeInfoCount(DispHTMLObjectElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLObjectElement_GetTypeInfo(DispHTMLObjectElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLObjectElement_GetIDsOfNames(DispHTMLObjectElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLObjectElement_Invoke(DispHTMLObjectElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLObjectElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLObjectElement coclass + */ + +DEFINE_GUID(CLSID_HTMLObjectElement, 0x3050f24e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f24e-98b5-11cf-bb82-00aa00bdce0b") HTMLObjectElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLObjectElement, 0x3050f24e, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * DispHTMLParamElement dispinterface + */ +#ifndef __DispHTMLParamElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLParamElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLParamElement, 0x3050f590, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f590-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLParamElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLParamElement, 0x3050f590, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLParamElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLParamElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLParamElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLParamElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLParamElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLParamElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLParamElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLParamElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLParamElementVtbl; + +interface DispHTMLParamElement { + CONST_VTBL DispHTMLParamElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLParamElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLParamElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLParamElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLParamElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLParamElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLParamElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLParamElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLParamElement_QueryInterface(DispHTMLParamElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLParamElement_AddRef(DispHTMLParamElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLParamElement_Release(DispHTMLParamElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLParamElement_GetTypeInfoCount(DispHTMLParamElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLParamElement_GetTypeInfo(DispHTMLParamElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLParamElement_GetIDsOfNames(DispHTMLParamElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLParamElement_Invoke(DispHTMLParamElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLParamElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLFrameBase interface + */ +#ifndef __IHTMLFrameBase_INTERFACE_DEFINED__ +#define __IHTMLFrameBase_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLFrameBase, 0x3050f311, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f311-98b5-11cf-bb82-00aa00bdce0b") +IHTMLFrameBase : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_border( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_border( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_frameBorder( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frameBorder( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_frameSpacing( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frameSpacing( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginWidth( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginWidth( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_marginHeight( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_marginHeight( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_noResize( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_noResize( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_scrolling( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scrolling( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLFrameBase, 0x3050f311, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLFrameBaseVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLFrameBase *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLFrameBase *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLFrameBase *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLFrameBase *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLFrameBase *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLFrameBase *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLFrameBase *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFrameBase methods ***/ + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLFrameBase *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLFrameBase *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IHTMLFrameBase *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IHTMLFrameBase *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_border)( + IHTMLFrameBase *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_border)( + IHTMLFrameBase *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_frameBorder)( + IHTMLFrameBase *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_frameBorder)( + IHTMLFrameBase *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_frameSpacing)( + IHTMLFrameBase *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_frameSpacing)( + IHTMLFrameBase *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginWidth)( + IHTMLFrameBase *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginWidth)( + IHTMLFrameBase *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_marginHeight)( + IHTMLFrameBase *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_marginHeight)( + IHTMLFrameBase *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_noResize)( + IHTMLFrameBase *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_noResize)( + IHTMLFrameBase *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_scrolling)( + IHTMLFrameBase *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_scrolling)( + IHTMLFrameBase *This, + BSTR *p); + + END_INTERFACE +} IHTMLFrameBaseVtbl; + +interface IHTMLFrameBase { + CONST_VTBL IHTMLFrameBaseVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLFrameBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLFrameBase_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLFrameBase_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLFrameBase_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLFrameBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLFrameBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLFrameBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFrameBase methods ***/ +#define IHTMLFrameBase_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLFrameBase_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLFrameBase_put_name(This,v) (This)->lpVtbl->put_name(This,v) +#define IHTMLFrameBase_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IHTMLFrameBase_put_border(This,v) (This)->lpVtbl->put_border(This,v) +#define IHTMLFrameBase_get_border(This,p) (This)->lpVtbl->get_border(This,p) +#define IHTMLFrameBase_put_frameBorder(This,v) (This)->lpVtbl->put_frameBorder(This,v) +#define IHTMLFrameBase_get_frameBorder(This,p) (This)->lpVtbl->get_frameBorder(This,p) +#define IHTMLFrameBase_put_frameSpacing(This,v) (This)->lpVtbl->put_frameSpacing(This,v) +#define IHTMLFrameBase_get_frameSpacing(This,p) (This)->lpVtbl->get_frameSpacing(This,p) +#define IHTMLFrameBase_put_marginWidth(This,v) (This)->lpVtbl->put_marginWidth(This,v) +#define IHTMLFrameBase_get_marginWidth(This,p) (This)->lpVtbl->get_marginWidth(This,p) +#define IHTMLFrameBase_put_marginHeight(This,v) (This)->lpVtbl->put_marginHeight(This,v) +#define IHTMLFrameBase_get_marginHeight(This,p) (This)->lpVtbl->get_marginHeight(This,p) +#define IHTMLFrameBase_put_noResize(This,v) (This)->lpVtbl->put_noResize(This,v) +#define IHTMLFrameBase_get_noResize(This,p) (This)->lpVtbl->get_noResize(This,p) +#define IHTMLFrameBase_put_scrolling(This,v) (This)->lpVtbl->put_scrolling(This,v) +#define IHTMLFrameBase_get_scrolling(This,p) (This)->lpVtbl->get_scrolling(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLFrameBase_QueryInterface(IHTMLFrameBase* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLFrameBase_AddRef(IHTMLFrameBase* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLFrameBase_Release(IHTMLFrameBase* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLFrameBase_GetTypeInfoCount(IHTMLFrameBase* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLFrameBase_GetTypeInfo(IHTMLFrameBase* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLFrameBase_GetIDsOfNames(IHTMLFrameBase* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLFrameBase_Invoke(IHTMLFrameBase* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFrameBase methods ***/ +static FORCEINLINE HRESULT IHTMLFrameBase_put_src(IHTMLFrameBase* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_src(IHTMLFrameBase* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_name(IHTMLFrameBase* This,BSTR v) { + return This->lpVtbl->put_name(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_name(IHTMLFrameBase* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_border(IHTMLFrameBase* This,VARIANT v) { + return This->lpVtbl->put_border(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_border(IHTMLFrameBase* This,VARIANT *p) { + return This->lpVtbl->get_border(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_frameBorder(IHTMLFrameBase* This,BSTR v) { + return This->lpVtbl->put_frameBorder(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_frameBorder(IHTMLFrameBase* This,BSTR *p) { + return This->lpVtbl->get_frameBorder(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_frameSpacing(IHTMLFrameBase* This,VARIANT v) { + return This->lpVtbl->put_frameSpacing(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_frameSpacing(IHTMLFrameBase* This,VARIANT *p) { + return This->lpVtbl->get_frameSpacing(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_marginWidth(IHTMLFrameBase* This,VARIANT v) { + return This->lpVtbl->put_marginWidth(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_marginWidth(IHTMLFrameBase* This,VARIANT *p) { + return This->lpVtbl->get_marginWidth(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_marginHeight(IHTMLFrameBase* This,VARIANT v) { + return This->lpVtbl->put_marginHeight(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_marginHeight(IHTMLFrameBase* This,VARIANT *p) { + return This->lpVtbl->get_marginHeight(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_noResize(IHTMLFrameBase* This,VARIANT_BOOL v) { + return This->lpVtbl->put_noResize(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_noResize(IHTMLFrameBase* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_noResize(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase_put_scrolling(IHTMLFrameBase* This,BSTR v) { + return This->lpVtbl->put_scrolling(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase_get_scrolling(IHTMLFrameBase* This,BSTR *p) { + return This->lpVtbl->get_scrolling(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLFrameBase_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLFrameBase2 interface + */ +#ifndef __IHTMLFrameBase2_INTERFACE_DEFINED__ +#define __IHTMLFrameBase2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLFrameBase2, 0x3050f6db, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f6db-98b5-11cf-bb82-00aa00bdce0b") +IHTMLFrameBase2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_contentWindow( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_allowTransparency( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_allowTransparency( + VARIANT_BOOL *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLFrameBase2, 0x3050f6db, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLFrameBase2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLFrameBase2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLFrameBase2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLFrameBase2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLFrameBase2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLFrameBase2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLFrameBase2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLFrameBase2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFrameBase2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_contentWindow)( + IHTMLFrameBase2 *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLFrameBase2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLFrameBase2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLFrameBase2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLFrameBase2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLFrameBase2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_allowTransparency)( + IHTMLFrameBase2 *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_allowTransparency)( + IHTMLFrameBase2 *This, + VARIANT_BOOL *p); + + END_INTERFACE +} IHTMLFrameBase2Vtbl; + +interface IHTMLFrameBase2 { + CONST_VTBL IHTMLFrameBase2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLFrameBase2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLFrameBase2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLFrameBase2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLFrameBase2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLFrameBase2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLFrameBase2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLFrameBase2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFrameBase2 methods ***/ +#define IHTMLFrameBase2_get_contentWindow(This,p) (This)->lpVtbl->get_contentWindow(This,p) +#define IHTMLFrameBase2_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLFrameBase2_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLFrameBase2_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLFrameBase2_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLFrameBase2_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLFrameBase2_put_allowTransparency(This,v) (This)->lpVtbl->put_allowTransparency(This,v) +#define IHTMLFrameBase2_get_allowTransparency(This,p) (This)->lpVtbl->get_allowTransparency(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLFrameBase2_QueryInterface(IHTMLFrameBase2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLFrameBase2_AddRef(IHTMLFrameBase2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLFrameBase2_Release(IHTMLFrameBase2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLFrameBase2_GetTypeInfoCount(IHTMLFrameBase2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_GetTypeInfo(IHTMLFrameBase2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_GetIDsOfNames(IHTMLFrameBase2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_Invoke(IHTMLFrameBase2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFrameBase2 methods ***/ +static FORCEINLINE HRESULT IHTMLFrameBase2_get_contentWindow(IHTMLFrameBase2* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_contentWindow(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_put_onload(IHTMLFrameBase2* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_get_onload(IHTMLFrameBase2* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_put_onreadystatechange(IHTMLFrameBase2* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_get_onreadystatechange(IHTMLFrameBase2* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_get_readyState(IHTMLFrameBase2* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_put_allowTransparency(IHTMLFrameBase2* This,VARIANT_BOOL v) { + return This->lpVtbl->put_allowTransparency(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameBase2_get_allowTransparency(IHTMLFrameBase2* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_allowTransparency(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLFrameBase2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLFrameElement3 interface + */ +#ifndef __IHTMLFrameElement3_INTERFACE_DEFINED__ +#define __IHTMLFrameElement3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLFrameElement3, 0x3051042d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051042d-98b5-11cf-bb82-00aa00bdce0b") +IHTMLFrameElement3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_contentDocument( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_longDesc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_longDesc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_frameBorder( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frameBorder( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLFrameElement3, 0x3051042d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLFrameElement3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLFrameElement3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLFrameElement3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLFrameElement3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLFrameElement3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLFrameElement3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLFrameElement3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLFrameElement3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLFrameElement3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_contentDocument)( + IHTMLFrameElement3 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLFrameElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLFrameElement3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_longDesc)( + IHTMLFrameElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_longDesc)( + IHTMLFrameElement3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_frameBorder)( + IHTMLFrameElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_frameBorder)( + IHTMLFrameElement3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLFrameElement3Vtbl; + +interface IHTMLFrameElement3 { + CONST_VTBL IHTMLFrameElement3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLFrameElement3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLFrameElement3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLFrameElement3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLFrameElement3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLFrameElement3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLFrameElement3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLFrameElement3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLFrameElement3 methods ***/ +#define IHTMLFrameElement3_get_contentDocument(This,p) (This)->lpVtbl->get_contentDocument(This,p) +#define IHTMLFrameElement3_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLFrameElement3_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLFrameElement3_put_longDesc(This,v) (This)->lpVtbl->put_longDesc(This,v) +#define IHTMLFrameElement3_get_longDesc(This,p) (This)->lpVtbl->get_longDesc(This,p) +#define IHTMLFrameElement3_put_frameBorder(This,v) (This)->lpVtbl->put_frameBorder(This,v) +#define IHTMLFrameElement3_get_frameBorder(This,p) (This)->lpVtbl->get_frameBorder(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLFrameElement3_QueryInterface(IHTMLFrameElement3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLFrameElement3_AddRef(IHTMLFrameElement3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLFrameElement3_Release(IHTMLFrameElement3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLFrameElement3_GetTypeInfoCount(IHTMLFrameElement3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_GetTypeInfo(IHTMLFrameElement3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_GetIDsOfNames(IHTMLFrameElement3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_Invoke(IHTMLFrameElement3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLFrameElement3 methods ***/ +static FORCEINLINE HRESULT IHTMLFrameElement3_get_contentDocument(IHTMLFrameElement3* This,IDispatch **p) { + return This->lpVtbl->get_contentDocument(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_put_src(IHTMLFrameElement3* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_get_src(IHTMLFrameElement3* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_put_longDesc(IHTMLFrameElement3* This,BSTR v) { + return This->lpVtbl->put_longDesc(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_get_longDesc(IHTMLFrameElement3* This,BSTR *p) { + return This->lpVtbl->get_longDesc(This,p); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_put_frameBorder(IHTMLFrameElement3* This,BSTR v) { + return This->lpVtbl->put_frameBorder(This,v); +} +static FORCEINLINE HRESULT IHTMLFrameElement3_get_frameBorder(IHTMLFrameElement3* This,BSTR *p) { + return This->lpVtbl->get_frameBorder(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLFrameElement3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLFrameElement dispinterface + */ +#ifndef __DispHTMLFrameElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLFrameElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLFrameElement, 0x3050f513, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f513-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLFrameElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLFrameElement, 0x3050f513, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLFrameElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLFrameElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLFrameElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLFrameElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLFrameElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLFrameElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLFrameElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLFrameElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLFrameElementVtbl; + +interface DispHTMLFrameElement { + CONST_VTBL DispHTMLFrameElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLFrameElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLFrameElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLFrameElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLFrameElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLFrameElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLFrameElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLFrameElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLFrameElement_QueryInterface(DispHTMLFrameElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLFrameElement_AddRef(DispHTMLFrameElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLFrameElement_Release(DispHTMLFrameElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLFrameElement_GetTypeInfoCount(DispHTMLFrameElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLFrameElement_GetTypeInfo(DispHTMLFrameElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLFrameElement_GetIDsOfNames(DispHTMLFrameElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLFrameElement_Invoke(DispHTMLFrameElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLFrameElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLFrameElement coclass + */ + +DEFINE_GUID(CLSID_HTMLFrameElement, 0x3050f314, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f314-98b5-11cf-bb82-00aa00bdce0b") HTMLFrameElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLFrameElement, 0x3050f314, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLIFrameElement interface + */ +#ifndef __IHTMLIFrameElement_INTERFACE_DEFINED__ +#define __IHTMLIFrameElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLIFrameElement, 0x3050f315, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f315-98b5-11cf-bb82-00aa00bdce0b") +IHTMLIFrameElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_vspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_vspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hspace( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hspace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_align( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_align( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLIFrameElement, 0x3050f315, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLIFrameElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLIFrameElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLIFrameElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLIFrameElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLIFrameElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLIFrameElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLIFrameElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLIFrameElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLIFrameElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_vspace)( + IHTMLIFrameElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_vspace)( + IHTMLIFrameElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_hspace)( + IHTMLIFrameElement *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_hspace)( + IHTMLIFrameElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *put_align)( + IHTMLIFrameElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_align)( + IHTMLIFrameElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLIFrameElementVtbl; + +interface IHTMLIFrameElement { + CONST_VTBL IHTMLIFrameElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLIFrameElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLIFrameElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLIFrameElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLIFrameElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLIFrameElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLIFrameElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLIFrameElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLIFrameElement methods ***/ +#define IHTMLIFrameElement_put_vspace(This,v) (This)->lpVtbl->put_vspace(This,v) +#define IHTMLIFrameElement_get_vspace(This,p) (This)->lpVtbl->get_vspace(This,p) +#define IHTMLIFrameElement_put_hspace(This,v) (This)->lpVtbl->put_hspace(This,v) +#define IHTMLIFrameElement_get_hspace(This,p) (This)->lpVtbl->get_hspace(This,p) +#define IHTMLIFrameElement_put_align(This,v) (This)->lpVtbl->put_align(This,v) +#define IHTMLIFrameElement_get_align(This,p) (This)->lpVtbl->get_align(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement_QueryInterface(IHTMLIFrameElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLIFrameElement_AddRef(IHTMLIFrameElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLIFrameElement_Release(IHTMLIFrameElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement_GetTypeInfoCount(IHTMLIFrameElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_GetTypeInfo(IHTMLIFrameElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_GetIDsOfNames(IHTMLIFrameElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_Invoke(IHTMLIFrameElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLIFrameElement methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement_put_vspace(IHTMLIFrameElement* This,LONG v) { + return This->lpVtbl->put_vspace(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_get_vspace(IHTMLIFrameElement* This,LONG *p) { + return This->lpVtbl->get_vspace(This,p); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_put_hspace(IHTMLIFrameElement* This,LONG v) { + return This->lpVtbl->put_hspace(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_get_hspace(IHTMLIFrameElement* This,LONG *p) { + return This->lpVtbl->get_hspace(This,p); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_put_align(IHTMLIFrameElement* This,BSTR v) { + return This->lpVtbl->put_align(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement_get_align(IHTMLIFrameElement* This,BSTR *p) { + return This->lpVtbl->get_align(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLIFrameElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLIFrameElement2 interface + */ +#ifndef __IHTMLIFrameElement2_INTERFACE_DEFINED__ +#define __IHTMLIFrameElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLIFrameElement2, 0x3050f4e6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f4e6-98b5-11cf-bb82-00aa00bdce0b") +IHTMLIFrameElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_height( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_height( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_width( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_width( + VARIANT *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLIFrameElement2, 0x3050f4e6, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLIFrameElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLIFrameElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLIFrameElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLIFrameElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLIFrameElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLIFrameElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLIFrameElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLIFrameElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLIFrameElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *put_height)( + IHTMLIFrameElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_height)( + IHTMLIFrameElement2 *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_width)( + IHTMLIFrameElement2 *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_width)( + IHTMLIFrameElement2 *This, + VARIANT *p); + + END_INTERFACE +} IHTMLIFrameElement2Vtbl; + +interface IHTMLIFrameElement2 { + CONST_VTBL IHTMLIFrameElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLIFrameElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLIFrameElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLIFrameElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLIFrameElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLIFrameElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLIFrameElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLIFrameElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLIFrameElement2 methods ***/ +#define IHTMLIFrameElement2_put_height(This,v) (This)->lpVtbl->put_height(This,v) +#define IHTMLIFrameElement2_get_height(This,p) (This)->lpVtbl->get_height(This,p) +#define IHTMLIFrameElement2_put_width(This,v) (This)->lpVtbl->put_width(This,v) +#define IHTMLIFrameElement2_get_width(This,p) (This)->lpVtbl->get_width(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement2_QueryInterface(IHTMLIFrameElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLIFrameElement2_AddRef(IHTMLIFrameElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLIFrameElement2_Release(IHTMLIFrameElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement2_GetTypeInfoCount(IHTMLIFrameElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLIFrameElement2_GetTypeInfo(IHTMLIFrameElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLIFrameElement2_GetIDsOfNames(IHTMLIFrameElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLIFrameElement2_Invoke(IHTMLIFrameElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLIFrameElement2 methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement2_put_height(IHTMLIFrameElement2* This,VARIANT v) { + return This->lpVtbl->put_height(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement2_get_height(IHTMLIFrameElement2* This,VARIANT *p) { + return This->lpVtbl->get_height(This,p); +} +static FORCEINLINE HRESULT IHTMLIFrameElement2_put_width(IHTMLIFrameElement2* This,VARIANT v) { + return This->lpVtbl->put_width(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement2_get_width(IHTMLIFrameElement2* This,VARIANT *p) { + return This->lpVtbl->get_width(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLIFrameElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLIFrameElement3 interface + */ +#ifndef __IHTMLIFrameElement3_INTERFACE_DEFINED__ +#define __IHTMLIFrameElement3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLIFrameElement3, 0x30510433, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510433-98b5-11cf-bb82-00aa00bdce0b") +IHTMLIFrameElement3 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_contentDocument( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_src( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_src( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_longDesc( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_longDesc( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_frameBorder( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frameBorder( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLIFrameElement3, 0x30510433, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLIFrameElement3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLIFrameElement3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLIFrameElement3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLIFrameElement3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLIFrameElement3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLIFrameElement3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLIFrameElement3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLIFrameElement3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLIFrameElement3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_contentDocument)( + IHTMLIFrameElement3 *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *put_src)( + IHTMLIFrameElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_src)( + IHTMLIFrameElement3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_longDesc)( + IHTMLIFrameElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_longDesc)( + IHTMLIFrameElement3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_frameBorder)( + IHTMLIFrameElement3 *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_frameBorder)( + IHTMLIFrameElement3 *This, + BSTR *p); + + END_INTERFACE +} IHTMLIFrameElement3Vtbl; + +interface IHTMLIFrameElement3 { + CONST_VTBL IHTMLIFrameElement3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLIFrameElement3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLIFrameElement3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLIFrameElement3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLIFrameElement3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLIFrameElement3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLIFrameElement3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLIFrameElement3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLIFrameElement3 methods ***/ +#define IHTMLIFrameElement3_get_contentDocument(This,p) (This)->lpVtbl->get_contentDocument(This,p) +#define IHTMLIFrameElement3_put_src(This,v) (This)->lpVtbl->put_src(This,v) +#define IHTMLIFrameElement3_get_src(This,p) (This)->lpVtbl->get_src(This,p) +#define IHTMLIFrameElement3_put_longDesc(This,v) (This)->lpVtbl->put_longDesc(This,v) +#define IHTMLIFrameElement3_get_longDesc(This,p) (This)->lpVtbl->get_longDesc(This,p) +#define IHTMLIFrameElement3_put_frameBorder(This,v) (This)->lpVtbl->put_frameBorder(This,v) +#define IHTMLIFrameElement3_get_frameBorder(This,p) (This)->lpVtbl->get_frameBorder(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement3_QueryInterface(IHTMLIFrameElement3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLIFrameElement3_AddRef(IHTMLIFrameElement3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLIFrameElement3_Release(IHTMLIFrameElement3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement3_GetTypeInfoCount(IHTMLIFrameElement3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_GetTypeInfo(IHTMLIFrameElement3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_GetIDsOfNames(IHTMLIFrameElement3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_Invoke(IHTMLIFrameElement3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLIFrameElement3 methods ***/ +static FORCEINLINE HRESULT IHTMLIFrameElement3_get_contentDocument(IHTMLIFrameElement3* This,IDispatch **p) { + return This->lpVtbl->get_contentDocument(This,p); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_put_src(IHTMLIFrameElement3* This,BSTR v) { + return This->lpVtbl->put_src(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_get_src(IHTMLIFrameElement3* This,BSTR *p) { + return This->lpVtbl->get_src(This,p); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_put_longDesc(IHTMLIFrameElement3* This,BSTR v) { + return This->lpVtbl->put_longDesc(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_get_longDesc(IHTMLIFrameElement3* This,BSTR *p) { + return This->lpVtbl->get_longDesc(This,p); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_put_frameBorder(IHTMLIFrameElement3* This,BSTR v) { + return This->lpVtbl->put_frameBorder(This,v); +} +static FORCEINLINE HRESULT IHTMLIFrameElement3_get_frameBorder(IHTMLIFrameElement3* This,BSTR *p) { + return This->lpVtbl->get_frameBorder(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLIFrameElement3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLIFrame dispinterface + */ +#ifndef __DispHTMLIFrame_DISPINTERFACE_DEFINED__ +#define __DispHTMLIFrame_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLIFrame, 0x3050f51b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f51b-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLIFrame : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLIFrame, 0x3050f51b, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLIFrameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLIFrame *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLIFrame *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLIFrame *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLIFrame *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLIFrame *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLIFrame *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLIFrame *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLIFrameVtbl; + +interface DispHTMLIFrame { + CONST_VTBL DispHTMLIFrameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLIFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLIFrame_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLIFrame_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLIFrame_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLIFrame_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLIFrame_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLIFrame_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLIFrame_QueryInterface(DispHTMLIFrame* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLIFrame_AddRef(DispHTMLIFrame* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLIFrame_Release(DispHTMLIFrame* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLIFrame_GetTypeInfoCount(DispHTMLIFrame* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLIFrame_GetTypeInfo(DispHTMLIFrame* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLIFrame_GetIDsOfNames(DispHTMLIFrame* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLIFrame_Invoke(DispHTMLIFrame* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLIFrame_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLIFrame coclass + */ + +DEFINE_GUID(CLSID_HTMLIFrame, 0x3050f316, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f316-98b5-11cf-bb82-00aa00bdce0b") HTMLIFrame; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLIFrame, 0x3050f316, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStyleElement interface + */ +#ifndef __IHTMLStyleElement_INTERFACE_DEFINED__ +#define __IHTMLStyleElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStyleElement, 0x3050f375, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f375-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStyleElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_type( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onload( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onload( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onerror( + VARIANT v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_onerror( + VARIANT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_styleSheet( + IHTMLStyleSheet **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disabled( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disabled( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_media( + BSTR v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_media( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStyleElement, 0x3050f375, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStyleElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStyleElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStyleElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStyleElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStyleElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStyleElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStyleElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStyleElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStyleElement methods ***/ + HRESULT (STDMETHODCALLTYPE *put_type)( + IHTMLStyleElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IHTMLStyleElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IHTMLStyleElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IHTMLStyleElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onreadystatechange)( + IHTMLStyleElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onload)( + IHTMLStyleElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onload)( + IHTMLStyleElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *put_onerror)( + IHTMLStyleElement *This, + VARIANT v); + + HRESULT (STDMETHODCALLTYPE *get_onerror)( + IHTMLStyleElement *This, + VARIANT *p); + + HRESULT (STDMETHODCALLTYPE *get_styleSheet)( + IHTMLStyleElement *This, + IHTMLStyleSheet **p); + + HRESULT (STDMETHODCALLTYPE *put_disabled)( + IHTMLStyleElement *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_disabled)( + IHTMLStyleElement *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_media)( + IHTMLStyleElement *This, + BSTR v); + + HRESULT (STDMETHODCALLTYPE *get_media)( + IHTMLStyleElement *This, + BSTR *p); + + END_INTERFACE +} IHTMLStyleElementVtbl; + +interface IHTMLStyleElement { + CONST_VTBL IHTMLStyleElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStyleElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStyleElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStyleElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStyleElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStyleElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStyleElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStyleElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStyleElement methods ***/ +#define IHTMLStyleElement_put_type(This,v) (This)->lpVtbl->put_type(This,v) +#define IHTMLStyleElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IHTMLStyleElement_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IHTMLStyleElement_put_onreadystatechange(This,v) (This)->lpVtbl->put_onreadystatechange(This,v) +#define IHTMLStyleElement_get_onreadystatechange(This,p) (This)->lpVtbl->get_onreadystatechange(This,p) +#define IHTMLStyleElement_put_onload(This,v) (This)->lpVtbl->put_onload(This,v) +#define IHTMLStyleElement_get_onload(This,p) (This)->lpVtbl->get_onload(This,p) +#define IHTMLStyleElement_put_onerror(This,v) (This)->lpVtbl->put_onerror(This,v) +#define IHTMLStyleElement_get_onerror(This,p) (This)->lpVtbl->get_onerror(This,p) +#define IHTMLStyleElement_get_styleSheet(This,p) (This)->lpVtbl->get_styleSheet(This,p) +#define IHTMLStyleElement_put_disabled(This,v) (This)->lpVtbl->put_disabled(This,v) +#define IHTMLStyleElement_get_disabled(This,p) (This)->lpVtbl->get_disabled(This,p) +#define IHTMLStyleElement_put_media(This,v) (This)->lpVtbl->put_media(This,v) +#define IHTMLStyleElement_get_media(This,p) (This)->lpVtbl->get_media(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStyleElement_QueryInterface(IHTMLStyleElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStyleElement_AddRef(IHTMLStyleElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStyleElement_Release(IHTMLStyleElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStyleElement_GetTypeInfoCount(IHTMLStyleElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStyleElement_GetTypeInfo(IHTMLStyleElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStyleElement_GetIDsOfNames(IHTMLStyleElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStyleElement_Invoke(IHTMLStyleElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStyleElement methods ***/ +static FORCEINLINE HRESULT IHTMLStyleElement_put_type(IHTMLStyleElement* This,BSTR v) { + return This->lpVtbl->put_type(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_type(IHTMLStyleElement* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_readyState(IHTMLStyleElement* This,BSTR *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_put_onreadystatechange(IHTMLStyleElement* This,VARIANT v) { + return This->lpVtbl->put_onreadystatechange(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_onreadystatechange(IHTMLStyleElement* This,VARIANT *p) { + return This->lpVtbl->get_onreadystatechange(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_put_onload(IHTMLStyleElement* This,VARIANT v) { + return This->lpVtbl->put_onload(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_onload(IHTMLStyleElement* This,VARIANT *p) { + return This->lpVtbl->get_onload(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_put_onerror(IHTMLStyleElement* This,VARIANT v) { + return This->lpVtbl->put_onerror(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_onerror(IHTMLStyleElement* This,VARIANT *p) { + return This->lpVtbl->get_onerror(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_styleSheet(IHTMLStyleElement* This,IHTMLStyleSheet **p) { + return This->lpVtbl->get_styleSheet(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_put_disabled(IHTMLStyleElement* This,VARIANT_BOOL v) { + return This->lpVtbl->put_disabled(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_disabled(IHTMLStyleElement* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_disabled(This,p); +} +static FORCEINLINE HRESULT IHTMLStyleElement_put_media(IHTMLStyleElement* This,BSTR v) { + return This->lpVtbl->put_media(This,v); +} +static FORCEINLINE HRESULT IHTMLStyleElement_get_media(IHTMLStyleElement* This,BSTR *p) { + return This->lpVtbl->get_media(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStyleElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DispHTMLStyleElement dispinterface + */ +#ifndef __DispHTMLStyleElement_DISPINTERFACE_DEFINED__ +#define __DispHTMLStyleElement_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DispHTMLStyleElement, 0x3050f511, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f511-98b5-11cf-bb82-00aa00bdce0b") +DispHTMLStyleElement : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DispHTMLStyleElement, 0x3050f511, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct DispHTMLStyleElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DispHTMLStyleElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DispHTMLStyleElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DispHTMLStyleElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DispHTMLStyleElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DispHTMLStyleElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DispHTMLStyleElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DispHTMLStyleElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DispHTMLStyleElementVtbl; + +interface DispHTMLStyleElement { + CONST_VTBL DispHTMLStyleElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DispHTMLStyleElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DispHTMLStyleElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DispHTMLStyleElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DispHTMLStyleElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DispHTMLStyleElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DispHTMLStyleElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DispHTMLStyleElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleElement_QueryInterface(DispHTMLStyleElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DispHTMLStyleElement_AddRef(DispHTMLStyleElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DispHTMLStyleElement_Release(DispHTMLStyleElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DispHTMLStyleElement_GetTypeInfoCount(DispHTMLStyleElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DispHTMLStyleElement_GetTypeInfo(DispHTMLStyleElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DispHTMLStyleElement_GetIDsOfNames(DispHTMLStyleElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DispHTMLStyleElement_Invoke(DispHTMLStyleElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DispHTMLStyleElement_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * HTMLStyleElement coclass + */ + +DEFINE_GUID(CLSID_HTMLStyleElement, 0x3050f37d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); + +#ifdef __cplusplus +class DECLSPEC_UUID("3050f37d-98b5-11cf-bb82-00aa00bdce0b") HTMLStyleElement; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(HTMLStyleElement, 0x3050f37d, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#endif + +/***************************************************************************** + * IHTMLStorage interface + */ +#ifndef __IHTMLStorage_INTERFACE_DEFINED__ +#define __IHTMLStorage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLStorage, 0x30510474, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510474-98b5-11cf-bb82-00aa00bdce0b") +IHTMLStorage : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_remainingSpace( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE key( + LONG lIndex, + BSTR *a) = 0; + + virtual HRESULT STDMETHODCALLTYPE getItem( + BSTR bstrKey, + VARIANT *a) = 0; + + virtual HRESULT STDMETHODCALLTYPE setItem( + BSTR bstrKey, + BSTR bstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeItem( + BSTR bstrKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE clear( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLStorage, 0x30510474, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLStorage *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLStorage *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLStorage *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLStorage *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLStorage *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IHTMLStorage *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_remainingSpace)( + IHTMLStorage *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *key)( + IHTMLStorage *This, + LONG lIndex, + BSTR *a); + + HRESULT (STDMETHODCALLTYPE *getItem)( + IHTMLStorage *This, + BSTR bstrKey, + VARIANT *a); + + HRESULT (STDMETHODCALLTYPE *setItem)( + IHTMLStorage *This, + BSTR bstrKey, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *removeItem)( + IHTMLStorage *This, + BSTR bstrKey); + + HRESULT (STDMETHODCALLTYPE *clear)( + IHTMLStorage *This); + + END_INTERFACE +} IHTMLStorageVtbl; + +interface IHTMLStorage { + CONST_VTBL IHTMLStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLStorage_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLStorage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLStorage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLStorage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLStorage methods ***/ +#define IHTMLStorage_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IHTMLStorage_get_remainingSpace(This,p) (This)->lpVtbl->get_remainingSpace(This,p) +#define IHTMLStorage_key(This,lIndex,a) (This)->lpVtbl->key(This,lIndex,a) +#define IHTMLStorage_getItem(This,bstrKey,a) (This)->lpVtbl->getItem(This,bstrKey,a) +#define IHTMLStorage_setItem(This,bstrKey,bstrValue) (This)->lpVtbl->setItem(This,bstrKey,bstrValue) +#define IHTMLStorage_removeItem(This,bstrKey) (This)->lpVtbl->removeItem(This,bstrKey) +#define IHTMLStorage_clear(This) (This)->lpVtbl->clear(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLStorage_QueryInterface(IHTMLStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLStorage_AddRef(IHTMLStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLStorage_Release(IHTMLStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLStorage_GetTypeInfoCount(IHTMLStorage* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLStorage_GetTypeInfo(IHTMLStorage* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLStorage_GetIDsOfNames(IHTMLStorage* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLStorage_Invoke(IHTMLStorage* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLStorage methods ***/ +static FORCEINLINE HRESULT IHTMLStorage_get_length(IHTMLStorage* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IHTMLStorage_get_remainingSpace(IHTMLStorage* This,LONG *p) { + return This->lpVtbl->get_remainingSpace(This,p); +} +static FORCEINLINE HRESULT IHTMLStorage_key(IHTMLStorage* This,LONG lIndex,BSTR *a) { + return This->lpVtbl->key(This,lIndex,a); +} +static FORCEINLINE HRESULT IHTMLStorage_getItem(IHTMLStorage* This,BSTR bstrKey,VARIANT *a) { + return This->lpVtbl->getItem(This,bstrKey,a); +} +static FORCEINLINE HRESULT IHTMLStorage_setItem(IHTMLStorage* This,BSTR bstrKey,BSTR bstrValue) { + return This->lpVtbl->setItem(This,bstrKey,bstrValue); +} +static FORCEINLINE HRESULT IHTMLStorage_removeItem(IHTMLStorage* This,BSTR bstrKey) { + return This->lpVtbl->removeItem(This,bstrKey); +} +static FORCEINLINE HRESULT IHTMLStorage_clear(IHTMLStorage* This) { + return This->lpVtbl->clear(This); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEventTarget interface + */ +#ifndef __IEventTarget_INTERFACE_DEFINED__ +#define __IEventTarget_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEventTarget, 0x305104b9, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305104b9-98b5-11cf-bb82-00aa00bdce0b") +IEventTarget : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE addEventListener( + BSTR type, + IDispatch *listener, + VARIANT_BOOL useCapture) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeEventListener( + BSTR type, + IDispatch *listener, + VARIANT_BOOL useCapture) = 0; + + virtual HRESULT STDMETHODCALLTYPE dispatchEvent( + IDOMEvent *evt, + VARIANT_BOOL *pfResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEventTarget, 0x305104b9, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IEventTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEventTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEventTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEventTarget *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IEventTarget *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IEventTarget *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IEventTarget *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IEventTarget *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IEventTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *addEventListener)( + IEventTarget *This, + BSTR type, + IDispatch *listener, + VARIANT_BOOL useCapture); + + HRESULT (STDMETHODCALLTYPE *removeEventListener)( + IEventTarget *This, + BSTR type, + IDispatch *listener, + VARIANT_BOOL useCapture); + + HRESULT (STDMETHODCALLTYPE *dispatchEvent)( + IEventTarget *This, + IDOMEvent *evt, + VARIANT_BOOL *pfResult); + + END_INTERFACE +} IEventTargetVtbl; + +interface IEventTarget { + CONST_VTBL IEventTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEventTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEventTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEventTarget_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IEventTarget_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IEventTarget_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IEventTarget_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IEventTarget_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IEventTarget methods ***/ +#define IEventTarget_addEventListener(This,type,listener,useCapture) (This)->lpVtbl->addEventListener(This,type,listener,useCapture) +#define IEventTarget_removeEventListener(This,type,listener,useCapture) (This)->lpVtbl->removeEventListener(This,type,listener,useCapture) +#define IEventTarget_dispatchEvent(This,evt,pfResult) (This)->lpVtbl->dispatchEvent(This,evt,pfResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEventTarget_QueryInterface(IEventTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEventTarget_AddRef(IEventTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEventTarget_Release(IEventTarget* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IEventTarget_GetTypeInfoCount(IEventTarget* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IEventTarget_GetTypeInfo(IEventTarget* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IEventTarget_GetIDsOfNames(IEventTarget* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IEventTarget_Invoke(IEventTarget* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IEventTarget methods ***/ +static FORCEINLINE HRESULT IEventTarget_addEventListener(IEventTarget* This,BSTR type,IDispatch *listener,VARIANT_BOOL useCapture) { + return This->lpVtbl->addEventListener(This,type,listener,useCapture); +} +static FORCEINLINE HRESULT IEventTarget_removeEventListener(IEventTarget* This,BSTR type,IDispatch *listener,VARIANT_BOOL useCapture) { + return This->lpVtbl->removeEventListener(This,type,listener,useCapture); +} +static FORCEINLINE HRESULT IEventTarget_dispatchEvent(IEventTarget* This,IDOMEvent *evt,VARIANT_BOOL *pfResult) { + return This->lpVtbl->dispatchEvent(This,evt,pfResult); +} +#endif +#endif + +#endif + + +#endif /* __IEventTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDOMEvent interface + */ +#ifndef __IDOMEvent_INTERFACE_DEFINED__ +#define __IDOMEvent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDOMEvent, 0x305104ba, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("305104ba-98b5-11cf-bb82-00aa00bdce0b") +IDOMEvent : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_bubbles( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cancelable( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentTarget( + IEventTarget **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultPrevented( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eventPhase( + USHORT *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_target( + IEventTarget **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_timeStamp( + ULONGLONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE initEvent( + BSTR eventType, + VARIANT_BOOL canBubble, + VARIANT_BOOL cancelable) = 0; + + virtual HRESULT STDMETHODCALLTYPE preventDefault( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE stopPropagation( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE stopImmediatePropagation( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isTrusted( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_cancelBubble( + VARIANT_BOOL v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cancelBubble( + VARIANT_BOOL *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_srcElement( + IHTMLElement **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDOMEvent, 0x305104ba, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IDOMEventVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDOMEvent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDOMEvent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDOMEvent *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDOMEvent *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDOMEvent *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDOMEvent *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDOMEvent *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDOMEvent methods ***/ + HRESULT (STDMETHODCALLTYPE *get_bubbles)( + IDOMEvent *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_cancelable)( + IDOMEvent *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_currentTarget)( + IDOMEvent *This, + IEventTarget **p); + + HRESULT (STDMETHODCALLTYPE *get_defaultPrevented)( + IDOMEvent *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_eventPhase)( + IDOMEvent *This, + USHORT *p); + + HRESULT (STDMETHODCALLTYPE *get_target)( + IDOMEvent *This, + IEventTarget **p); + + HRESULT (STDMETHODCALLTYPE *get_timeStamp)( + IDOMEvent *This, + ULONGLONG *p); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IDOMEvent *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *initEvent)( + IDOMEvent *This, + BSTR eventType, + VARIANT_BOOL canBubble, + VARIANT_BOOL cancelable); + + HRESULT (STDMETHODCALLTYPE *preventDefault)( + IDOMEvent *This); + + HRESULT (STDMETHODCALLTYPE *stopPropagation)( + IDOMEvent *This); + + HRESULT (STDMETHODCALLTYPE *stopImmediatePropagation)( + IDOMEvent *This); + + HRESULT (STDMETHODCALLTYPE *get_isTrusted)( + IDOMEvent *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *put_cancelBubble)( + IDOMEvent *This, + VARIANT_BOOL v); + + HRESULT (STDMETHODCALLTYPE *get_cancelBubble)( + IDOMEvent *This, + VARIANT_BOOL *p); + + HRESULT (STDMETHODCALLTYPE *get_srcElement)( + IDOMEvent *This, + IHTMLElement **p); + + END_INTERFACE +} IDOMEventVtbl; + +interface IDOMEvent { + CONST_VTBL IDOMEventVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDOMEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDOMEvent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDOMEvent_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDOMEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDOMEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDOMEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDOMEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDOMEvent methods ***/ +#define IDOMEvent_get_bubbles(This,p) (This)->lpVtbl->get_bubbles(This,p) +#define IDOMEvent_get_cancelable(This,p) (This)->lpVtbl->get_cancelable(This,p) +#define IDOMEvent_get_currentTarget(This,p) (This)->lpVtbl->get_currentTarget(This,p) +#define IDOMEvent_get_defaultPrevented(This,p) (This)->lpVtbl->get_defaultPrevented(This,p) +#define IDOMEvent_get_eventPhase(This,p) (This)->lpVtbl->get_eventPhase(This,p) +#define IDOMEvent_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IDOMEvent_get_timeStamp(This,p) (This)->lpVtbl->get_timeStamp(This,p) +#define IDOMEvent_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IDOMEvent_initEvent(This,eventType,canBubble,cancelable) (This)->lpVtbl->initEvent(This,eventType,canBubble,cancelable) +#define IDOMEvent_preventDefault(This) (This)->lpVtbl->preventDefault(This) +#define IDOMEvent_stopPropagation(This) (This)->lpVtbl->stopPropagation(This) +#define IDOMEvent_stopImmediatePropagation(This) (This)->lpVtbl->stopImmediatePropagation(This) +#define IDOMEvent_get_isTrusted(This,p) (This)->lpVtbl->get_isTrusted(This,p) +#define IDOMEvent_put_cancelBubble(This,v) (This)->lpVtbl->put_cancelBubble(This,v) +#define IDOMEvent_get_cancelBubble(This,p) (This)->lpVtbl->get_cancelBubble(This,p) +#define IDOMEvent_get_srcElement(This,p) (This)->lpVtbl->get_srcElement(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDOMEvent_QueryInterface(IDOMEvent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDOMEvent_AddRef(IDOMEvent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDOMEvent_Release(IDOMEvent* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDOMEvent_GetTypeInfoCount(IDOMEvent* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDOMEvent_GetTypeInfo(IDOMEvent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDOMEvent_GetIDsOfNames(IDOMEvent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDOMEvent_Invoke(IDOMEvent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDOMEvent methods ***/ +static FORCEINLINE HRESULT IDOMEvent_get_bubbles(IDOMEvent* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_bubbles(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_cancelable(IDOMEvent* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_cancelable(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_currentTarget(IDOMEvent* This,IEventTarget **p) { + return This->lpVtbl->get_currentTarget(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_defaultPrevented(IDOMEvent* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_defaultPrevented(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_eventPhase(IDOMEvent* This,USHORT *p) { + return This->lpVtbl->get_eventPhase(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_target(IDOMEvent* This,IEventTarget **p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_timeStamp(IDOMEvent* This,ULONGLONG *p) { + return This->lpVtbl->get_timeStamp(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_type(IDOMEvent* This,BSTR *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_initEvent(IDOMEvent* This,BSTR eventType,VARIANT_BOOL canBubble,VARIANT_BOOL cancelable) { + return This->lpVtbl->initEvent(This,eventType,canBubble,cancelable); +} +static FORCEINLINE HRESULT IDOMEvent_preventDefault(IDOMEvent* This) { + return This->lpVtbl->preventDefault(This); +} +static FORCEINLINE HRESULT IDOMEvent_stopPropagation(IDOMEvent* This) { + return This->lpVtbl->stopPropagation(This); +} +static FORCEINLINE HRESULT IDOMEvent_stopImmediatePropagation(IDOMEvent* This) { + return This->lpVtbl->stopImmediatePropagation(This); +} +static FORCEINLINE HRESULT IDOMEvent_get_isTrusted(IDOMEvent* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_isTrusted(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_put_cancelBubble(IDOMEvent* This,VARIANT_BOOL v) { + return This->lpVtbl->put_cancelBubble(This,v); +} +static FORCEINLINE HRESULT IDOMEvent_get_cancelBubble(IDOMEvent* This,VARIANT_BOOL *p) { + return This->lpVtbl->get_cancelBubble(This,p); +} +static FORCEINLINE HRESULT IDOMEvent_get_srcElement(IDOMEvent* This,IHTMLElement **p) { + return This->lpVtbl->get_srcElement(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IDOMEvent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDOMMessageEvent interface + */ +#ifndef __IDOMMessageEvent_INTERFACE_DEFINED__ +#define __IDOMMessageEvent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDOMMessageEvent, 0x30510720, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30510720-98b5-11cf-bb82-00aa00bdce0b") +IDOMMessageEvent : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_origin( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_source( + IHTMLWindow2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE initMessageEvent( + BSTR eventType, + VARIANT_BOOL canBubble, + VARIANT_BOOL cancelable, + BSTR data, + BSTR origin, + BSTR lastEventId, + IHTMLWindow2 *source) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDOMMessageEvent, 0x30510720, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IDOMMessageEventVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDOMMessageEvent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDOMMessageEvent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDOMMessageEvent *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDOMMessageEvent *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDOMMessageEvent *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDOMMessageEvent *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDOMMessageEvent *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDOMMessageEvent methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IDOMMessageEvent *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_origin)( + IDOMMessageEvent *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_source)( + IDOMMessageEvent *This, + IHTMLWindow2 **p); + + HRESULT (STDMETHODCALLTYPE *initMessageEvent)( + IDOMMessageEvent *This, + BSTR eventType, + VARIANT_BOOL canBubble, + VARIANT_BOOL cancelable, + BSTR data, + BSTR origin, + BSTR lastEventId, + IHTMLWindow2 *source); + + END_INTERFACE +} IDOMMessageEventVtbl; + +interface IDOMMessageEvent { + CONST_VTBL IDOMMessageEventVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDOMMessageEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDOMMessageEvent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDOMMessageEvent_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDOMMessageEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDOMMessageEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDOMMessageEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDOMMessageEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDOMMessageEvent methods ***/ +#define IDOMMessageEvent_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IDOMMessageEvent_get_origin(This,p) (This)->lpVtbl->get_origin(This,p) +#define IDOMMessageEvent_get_source(This,p) (This)->lpVtbl->get_source(This,p) +#define IDOMMessageEvent_initMessageEvent(This,eventType,canBubble,cancelable,data,origin,lastEventId,source) (This)->lpVtbl->initMessageEvent(This,eventType,canBubble,cancelable,data,origin,lastEventId,source) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDOMMessageEvent_QueryInterface(IDOMMessageEvent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDOMMessageEvent_AddRef(IDOMMessageEvent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDOMMessageEvent_Release(IDOMMessageEvent* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDOMMessageEvent_GetTypeInfoCount(IDOMMessageEvent* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDOMMessageEvent_GetTypeInfo(IDOMMessageEvent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDOMMessageEvent_GetIDsOfNames(IDOMMessageEvent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDOMMessageEvent_Invoke(IDOMMessageEvent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDOMMessageEvent methods ***/ +static FORCEINLINE HRESULT IDOMMessageEvent_get_data(IDOMMessageEvent* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IDOMMessageEvent_get_origin(IDOMMessageEvent* This,BSTR *p) { + return This->lpVtbl->get_origin(This,p); +} +static FORCEINLINE HRESULT IDOMMessageEvent_get_source(IDOMMessageEvent* This,IHTMLWindow2 **p) { + return This->lpVtbl->get_source(This,p); +} +static FORCEINLINE HRESULT IDOMMessageEvent_initMessageEvent(IDOMMessageEvent* This,BSTR eventType,VARIANT_BOOL canBubble,VARIANT_BOOL cancelable,BSTR data,BSTR origin,BSTR lastEventId,IHTMLWindow2 *source) { + return This->lpVtbl->initMessageEvent(This,eventType,canBubble,cancelable,data,origin,lastEventId,source); +} +#endif +#endif + +#endif + + +#endif /* __IDOMMessageEvent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMarkupContainer interface + */ +#ifndef __IMarkupContainer_INTERFACE_DEFINED__ +#define __IMarkupContainer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMarkupContainer, 0x3050f5f9, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f5f9-98b5-11cf-bb82-00aa00bdce0b") +IMarkupContainer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OwningDoc( + IHTMLDocument2 **ppDoc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMarkupContainer, 0x3050f5f9, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IMarkupContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMarkupContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMarkupContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMarkupContainer *This); + + /*** IMarkupContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *OwningDoc)( + IMarkupContainer *This, + IHTMLDocument2 **ppDoc); + + END_INTERFACE +} IMarkupContainerVtbl; + +interface IMarkupContainer { + CONST_VTBL IMarkupContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMarkupContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMarkupContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMarkupContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IMarkupContainer methods ***/ +#define IMarkupContainer_OwningDoc(This,ppDoc) (This)->lpVtbl->OwningDoc(This,ppDoc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMarkupContainer_QueryInterface(IMarkupContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMarkupContainer_AddRef(IMarkupContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMarkupContainer_Release(IMarkupContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IMarkupContainer methods ***/ +static FORCEINLINE HRESULT IMarkupContainer_OwningDoc(IMarkupContainer* This,IHTMLDocument2 **ppDoc) { + return This->lpVtbl->OwningDoc(This,ppDoc); +} +#endif +#endif + +#endif + + +#endif /* __IMarkupContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMarkupPointer interface + */ +#ifndef __IMarkupPointer_INTERFACE_DEFINED__ +#define __IMarkupPointer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMarkupPointer, 0x3050f49f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f49f-98b5-11cf-bb82-00aa00bdce0b") +IMarkupPointer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OwningDoc( + IHTMLDocument2 **ppDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE Gravity( + POINTER_GRAVITY *pGravity) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGravity( + POINTER_GRAVITY Gravity) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cling( + BOOL *pfCling) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCling( + BOOL fCLing) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnPosition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPositioned( + BOOL *pfPositioned) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainer( + IMarkupContainer **ppContainer) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveAdjacentToElement( + IHTMLElement *pElement, + ELEMENT_ADJACENCY eAdj) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToPointer( + IMarkupPointer *pPointer) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToContainer( + IMarkupContainer *pContainer, + BOOL fAtStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE Left( + BOOL fMove, + MARKUP_CONTEXT_TYPE *pContext, + IHTMLElement **ppElement, + LONG *pcch, + OLECHAR *pchText) = 0; + + virtual HRESULT STDMETHODCALLTYPE Right( + BOOL fMove, + MARKUP_CONTEXT_TYPE *pContext, + IHTMLElement **ppElement, + LONG *pcch, + OLECHAR *pchText) = 0; + + virtual HRESULT STDMETHODCALLTYPE CurrentScope( + IHTMLElement **ppElemCurrent) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsLeftOf( + IMarkupPointer *pPointerThat, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsLeftOfOrEqualTo( + IMarkupPointer *pPointerThat, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRightOf( + IMarkupPointer *pPointerThat, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRightOfOrEqualTo( + IMarkupPointer *pPointerThat, + BOOL *pfResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqualTo( + IMarkupPointer *pPointerThat, + BOOL *pfAreEqual) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveUnit( + MOVEUNIT_ACTION muAction) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindText( + OLECHAR *pchFindText, + DWORD dwFlags, + IMarkupPointer *pIEndMatch, + IMarkupPointer *pIEndSearch) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMarkupPointer, 0x3050f49f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IMarkupPointerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMarkupPointer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMarkupPointer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMarkupPointer *This); + + /*** IMarkupPointer methods ***/ + HRESULT (STDMETHODCALLTYPE *OwningDoc)( + IMarkupPointer *This, + IHTMLDocument2 **ppDoc); + + HRESULT (STDMETHODCALLTYPE *Gravity)( + IMarkupPointer *This, + POINTER_GRAVITY *pGravity); + + HRESULT (STDMETHODCALLTYPE *SetGravity)( + IMarkupPointer *This, + POINTER_GRAVITY Gravity); + + HRESULT (STDMETHODCALLTYPE *Cling)( + IMarkupPointer *This, + BOOL *pfCling); + + HRESULT (STDMETHODCALLTYPE *SetCling)( + IMarkupPointer *This, + BOOL fCLing); + + HRESULT (STDMETHODCALLTYPE *UnPosition)( + IMarkupPointer *This); + + HRESULT (STDMETHODCALLTYPE *IsPositioned)( + IMarkupPointer *This, + BOOL *pfPositioned); + + HRESULT (STDMETHODCALLTYPE *GetContainer)( + IMarkupPointer *This, + IMarkupContainer **ppContainer); + + HRESULT (STDMETHODCALLTYPE *MoveAdjacentToElement)( + IMarkupPointer *This, + IHTMLElement *pElement, + ELEMENT_ADJACENCY eAdj); + + HRESULT (STDMETHODCALLTYPE *MoveToPointer)( + IMarkupPointer *This, + IMarkupPointer *pPointer); + + HRESULT (STDMETHODCALLTYPE *MoveToContainer)( + IMarkupPointer *This, + IMarkupContainer *pContainer, + BOOL fAtStart); + + HRESULT (STDMETHODCALLTYPE *Left)( + IMarkupPointer *This, + BOOL fMove, + MARKUP_CONTEXT_TYPE *pContext, + IHTMLElement **ppElement, + LONG *pcch, + OLECHAR *pchText); + + HRESULT (STDMETHODCALLTYPE *Right)( + IMarkupPointer *This, + BOOL fMove, + MARKUP_CONTEXT_TYPE *pContext, + IHTMLElement **ppElement, + LONG *pcch, + OLECHAR *pchText); + + HRESULT (STDMETHODCALLTYPE *CurrentScope)( + IMarkupPointer *This, + IHTMLElement **ppElemCurrent); + + HRESULT (STDMETHODCALLTYPE *IsLeftOf)( + IMarkupPointer *This, + IMarkupPointer *pPointerThat, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *IsLeftOfOrEqualTo)( + IMarkupPointer *This, + IMarkupPointer *pPointerThat, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *IsRightOf)( + IMarkupPointer *This, + IMarkupPointer *pPointerThat, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *IsRightOfOrEqualTo)( + IMarkupPointer *This, + IMarkupPointer *pPointerThat, + BOOL *pfResult); + + HRESULT (STDMETHODCALLTYPE *IsEqualTo)( + IMarkupPointer *This, + IMarkupPointer *pPointerThat, + BOOL *pfAreEqual); + + HRESULT (STDMETHODCALLTYPE *MoveUnit)( + IMarkupPointer *This, + MOVEUNIT_ACTION muAction); + + HRESULT (STDMETHODCALLTYPE *FindText)( + IMarkupPointer *This, + OLECHAR *pchFindText, + DWORD dwFlags, + IMarkupPointer *pIEndMatch, + IMarkupPointer *pIEndSearch); + + END_INTERFACE +} IMarkupPointerVtbl; + +interface IMarkupPointer { + CONST_VTBL IMarkupPointerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMarkupPointer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMarkupPointer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMarkupPointer_Release(This) (This)->lpVtbl->Release(This) +/*** IMarkupPointer methods ***/ +#define IMarkupPointer_OwningDoc(This,ppDoc) (This)->lpVtbl->OwningDoc(This,ppDoc) +#define IMarkupPointer_Gravity(This,pGravity) (This)->lpVtbl->Gravity(This,pGravity) +#define IMarkupPointer_SetGravity(This,Gravity) (This)->lpVtbl->SetGravity(This,Gravity) +#define IMarkupPointer_Cling(This,pfCling) (This)->lpVtbl->Cling(This,pfCling) +#define IMarkupPointer_SetCling(This,fCLing) (This)->lpVtbl->SetCling(This,fCLing) +#define IMarkupPointer_UnPosition(This) (This)->lpVtbl->UnPosition(This) +#define IMarkupPointer_IsPositioned(This,pfPositioned) (This)->lpVtbl->IsPositioned(This,pfPositioned) +#define IMarkupPointer_GetContainer(This,ppContainer) (This)->lpVtbl->GetContainer(This,ppContainer) +#define IMarkupPointer_MoveAdjacentToElement(This,pElement,eAdj) (This)->lpVtbl->MoveAdjacentToElement(This,pElement,eAdj) +#define IMarkupPointer_MoveToPointer(This,pPointer) (This)->lpVtbl->MoveToPointer(This,pPointer) +#define IMarkupPointer_MoveToContainer(This,pContainer,fAtStart) (This)->lpVtbl->MoveToContainer(This,pContainer,fAtStart) +#define IMarkupPointer_Left(This,fMove,pContext,ppElement,pcch,pchText) (This)->lpVtbl->Left(This,fMove,pContext,ppElement,pcch,pchText) +#define IMarkupPointer_Right(This,fMove,pContext,ppElement,pcch,pchText) (This)->lpVtbl->Right(This,fMove,pContext,ppElement,pcch,pchText) +#define IMarkupPointer_CurrentScope(This,ppElemCurrent) (This)->lpVtbl->CurrentScope(This,ppElemCurrent) +#define IMarkupPointer_IsLeftOf(This,pPointerThat,pfResult) (This)->lpVtbl->IsLeftOf(This,pPointerThat,pfResult) +#define IMarkupPointer_IsLeftOfOrEqualTo(This,pPointerThat,pfResult) (This)->lpVtbl->IsLeftOfOrEqualTo(This,pPointerThat,pfResult) +#define IMarkupPointer_IsRightOf(This,pPointerThat,pfResult) (This)->lpVtbl->IsRightOf(This,pPointerThat,pfResult) +#define IMarkupPointer_IsRightOfOrEqualTo(This,pPointerThat,pfResult) (This)->lpVtbl->IsRightOfOrEqualTo(This,pPointerThat,pfResult) +#define IMarkupPointer_IsEqualTo(This,pPointerThat,pfAreEqual) (This)->lpVtbl->IsEqualTo(This,pPointerThat,pfAreEqual) +#define IMarkupPointer_MoveUnit(This,muAction) (This)->lpVtbl->MoveUnit(This,muAction) +#define IMarkupPointer_FindText(This,pchFindText,dwFlags,pIEndMatch,pIEndSearch) (This)->lpVtbl->FindText(This,pchFindText,dwFlags,pIEndMatch,pIEndSearch) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMarkupPointer_QueryInterface(IMarkupPointer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMarkupPointer_AddRef(IMarkupPointer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMarkupPointer_Release(IMarkupPointer* This) { + return This->lpVtbl->Release(This); +} +/*** IMarkupPointer methods ***/ +static FORCEINLINE HRESULT IMarkupPointer_OwningDoc(IMarkupPointer* This,IHTMLDocument2 **ppDoc) { + return This->lpVtbl->OwningDoc(This,ppDoc); +} +static FORCEINLINE HRESULT IMarkupPointer_Gravity(IMarkupPointer* This,POINTER_GRAVITY *pGravity) { + return This->lpVtbl->Gravity(This,pGravity); +} +static FORCEINLINE HRESULT IMarkupPointer_SetGravity(IMarkupPointer* This,POINTER_GRAVITY Gravity) { + return This->lpVtbl->SetGravity(This,Gravity); +} +static FORCEINLINE HRESULT IMarkupPointer_Cling(IMarkupPointer* This,BOOL *pfCling) { + return This->lpVtbl->Cling(This,pfCling); +} +static FORCEINLINE HRESULT IMarkupPointer_SetCling(IMarkupPointer* This,BOOL fCLing) { + return This->lpVtbl->SetCling(This,fCLing); +} +static FORCEINLINE HRESULT IMarkupPointer_UnPosition(IMarkupPointer* This) { + return This->lpVtbl->UnPosition(This); +} +static FORCEINLINE HRESULT IMarkupPointer_IsPositioned(IMarkupPointer* This,BOOL *pfPositioned) { + return This->lpVtbl->IsPositioned(This,pfPositioned); +} +static FORCEINLINE HRESULT IMarkupPointer_GetContainer(IMarkupPointer* This,IMarkupContainer **ppContainer) { + return This->lpVtbl->GetContainer(This,ppContainer); +} +static FORCEINLINE HRESULT IMarkupPointer_MoveAdjacentToElement(IMarkupPointer* This,IHTMLElement *pElement,ELEMENT_ADJACENCY eAdj) { + return This->lpVtbl->MoveAdjacentToElement(This,pElement,eAdj); +} +static FORCEINLINE HRESULT IMarkupPointer_MoveToPointer(IMarkupPointer* This,IMarkupPointer *pPointer) { + return This->lpVtbl->MoveToPointer(This,pPointer); +} +static FORCEINLINE HRESULT IMarkupPointer_MoveToContainer(IMarkupPointer* This,IMarkupContainer *pContainer,BOOL fAtStart) { + return This->lpVtbl->MoveToContainer(This,pContainer,fAtStart); +} +static FORCEINLINE HRESULT IMarkupPointer_Left(IMarkupPointer* This,BOOL fMove,MARKUP_CONTEXT_TYPE *pContext,IHTMLElement **ppElement,LONG *pcch,OLECHAR *pchText) { + return This->lpVtbl->Left(This,fMove,pContext,ppElement,pcch,pchText); +} +static FORCEINLINE HRESULT IMarkupPointer_Right(IMarkupPointer* This,BOOL fMove,MARKUP_CONTEXT_TYPE *pContext,IHTMLElement **ppElement,LONG *pcch,OLECHAR *pchText) { + return This->lpVtbl->Right(This,fMove,pContext,ppElement,pcch,pchText); +} +static FORCEINLINE HRESULT IMarkupPointer_CurrentScope(IMarkupPointer* This,IHTMLElement **ppElemCurrent) { + return This->lpVtbl->CurrentScope(This,ppElemCurrent); +} +static FORCEINLINE HRESULT IMarkupPointer_IsLeftOf(IMarkupPointer* This,IMarkupPointer *pPointerThat,BOOL *pfResult) { + return This->lpVtbl->IsLeftOf(This,pPointerThat,pfResult); +} +static FORCEINLINE HRESULT IMarkupPointer_IsLeftOfOrEqualTo(IMarkupPointer* This,IMarkupPointer *pPointerThat,BOOL *pfResult) { + return This->lpVtbl->IsLeftOfOrEqualTo(This,pPointerThat,pfResult); +} +static FORCEINLINE HRESULT IMarkupPointer_IsRightOf(IMarkupPointer* This,IMarkupPointer *pPointerThat,BOOL *pfResult) { + return This->lpVtbl->IsRightOf(This,pPointerThat,pfResult); +} +static FORCEINLINE HRESULT IMarkupPointer_IsRightOfOrEqualTo(IMarkupPointer* This,IMarkupPointer *pPointerThat,BOOL *pfResult) { + return This->lpVtbl->IsRightOfOrEqualTo(This,pPointerThat,pfResult); +} +static FORCEINLINE HRESULT IMarkupPointer_IsEqualTo(IMarkupPointer* This,IMarkupPointer *pPointerThat,BOOL *pfAreEqual) { + return This->lpVtbl->IsEqualTo(This,pPointerThat,pfAreEqual); +} +static FORCEINLINE HRESULT IMarkupPointer_MoveUnit(IMarkupPointer* This,MOVEUNIT_ACTION muAction) { + return This->lpVtbl->MoveUnit(This,muAction); +} +static FORCEINLINE HRESULT IMarkupPointer_FindText(IMarkupPointer* This,OLECHAR *pchFindText,DWORD dwFlags,IMarkupPointer *pIEndMatch,IMarkupPointer *pIEndSearch) { + return This->lpVtbl->FindText(This,pchFindText,dwFlags,pIEndMatch,pIEndSearch); +} +#endif +#endif + +#endif + + +#endif /* __IMarkupPointer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLDOMConstructorCollection interface + */ +#ifndef __IHTMLDOMConstructorCollection_INTERFACE_DEFINED__ +#define __IHTMLDOMConstructorCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLDOMConstructorCollection, 0x3051049c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3051049c-98b5-11cf-bb82-00aa00bdce0b") +IHTMLDOMConstructorCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Attr( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BehaviorUrnsCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BookmarkCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CompatibleInfo( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CompatibleInfoCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ControlRangeCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CSSCurrentStyleDeclaration( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CSSRuleList( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CSSRuleStyleDeclaration( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CSSStyleDeclaration( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CSSStyleRule( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CSSStyleSheet( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DataTransfer( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DOMImplementation( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Element( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Event( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_History( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTCElementBehaviorDefaults( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLAnchorElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLAreaElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLAreasCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLBaseElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLBaseFontElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLBGSoundElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLBlockElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLBodyElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLBRElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLButtonElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLCommentElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLDDElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLDivElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLDocument( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLDListElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLDTElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLEmbedElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLFieldSetElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLFontElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLFormElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLFrameElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLFrameSetElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLGenericElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLHeadElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLHeadingElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLHRElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLHtmlElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLIFrameElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLImageElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLInputElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLIsIndexElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLLabelElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLLegendElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLLIElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLLinkElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLMapElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLMarqueeElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLMetaElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLModelessDialog( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLNamespaceInfo( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLNamespaceInfoCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLNextIdElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLNoShowElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLObjectElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLOListElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLOptionElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLParagraphElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLParamElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLPhraseElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLPluginsCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLPopup( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLScriptElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLSelectElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLSpanElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLStyleElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTableCaptionElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTableCellElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTableColElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTableElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTableRowElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTableSectionElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTextAreaElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTextElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLTitleElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLUListElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HTMLUnknownElement( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Image( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Location( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NamedNodeMap( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Navigator( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NodeList( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Option( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Screen( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Selection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StaticNodeList( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Storage( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StyleSheetList( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StyleSheetPage( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StyleSheetPageList( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Text( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TextRange( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TextRangeCollection( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TextRectangle( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TextRectangleList( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Window( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XDomainRequest( + IDispatch **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XMLHttpRequest( + IDispatch **p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLDOMConstructorCollection, 0x3051049c, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLDOMConstructorCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLDOMConstructorCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLDOMConstructorCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLDOMConstructorCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IHTMLDOMConstructorCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IHTMLDOMConstructorCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IHTMLDOMConstructorCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IHTMLDOMConstructorCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IHTMLDOMConstructorCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Attr)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_BehaviorUrnsCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_BookmarkCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CompatibleInfo)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CompatibleInfoCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_ControlRangeCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CSSCurrentStyleDeclaration)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CSSRuleList)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CSSRuleStyleDeclaration)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CSSStyleDeclaration)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CSSStyleRule)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_CSSStyleSheet)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_DataTransfer)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_DOMImplementation)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Element)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Event)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_History)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTCElementBehaviorDefaults)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLAnchorElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLAreaElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLAreasCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLBaseElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLBaseFontElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLBGSoundElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLBlockElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLBodyElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLBRElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLButtonElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLCommentElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLDDElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLDivElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLDocument)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLDListElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLDTElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLEmbedElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLFieldSetElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLFontElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLFormElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLFrameElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLFrameSetElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLGenericElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLHeadElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLHeadingElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLHRElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLHtmlElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLIFrameElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLImageElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLInputElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLIsIndexElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLLabelElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLLegendElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLLIElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLLinkElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLMapElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLMarqueeElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLMetaElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLModelessDialog)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLNamespaceInfo)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLNamespaceInfoCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLNextIdElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLNoShowElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLObjectElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLOListElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLOptionElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLParagraphElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLParamElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLPhraseElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLPluginsCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLPopup)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLScriptElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLSelectElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLSpanElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLStyleElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTableCaptionElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTableCellElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTableColElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTableElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTableRowElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTableSectionElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTextAreaElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTextElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLTitleElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLUListElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_HTMLUnknownElement)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Image)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Location)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_NamedNodeMap)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Navigator)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_NodeList)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Option)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Screen)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Selection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_StaticNodeList)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Storage)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_StyleSheetList)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_StyleSheetPage)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_StyleSheetPageList)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Text)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_TextRange)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_TextRangeCollection)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_TextRectangle)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_TextRectangleList)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_Window)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_XDomainRequest)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + HRESULT (STDMETHODCALLTYPE *get_XMLHttpRequest)( + IHTMLDOMConstructorCollection *This, + IDispatch **p); + + END_INTERFACE +} IHTMLDOMConstructorCollectionVtbl; + +interface IHTMLDOMConstructorCollection { + CONST_VTBL IHTMLDOMConstructorCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLDOMConstructorCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLDOMConstructorCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLDOMConstructorCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IHTMLDOMConstructorCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IHTMLDOMConstructorCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IHTMLDOMConstructorCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IHTMLDOMConstructorCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IHTMLDOMConstructorCollection methods ***/ +#define IHTMLDOMConstructorCollection_get_Attr(This,p) (This)->lpVtbl->get_Attr(This,p) +#define IHTMLDOMConstructorCollection_get_BehaviorUrnsCollection(This,p) (This)->lpVtbl->get_BehaviorUrnsCollection(This,p) +#define IHTMLDOMConstructorCollection_get_BookmarkCollection(This,p) (This)->lpVtbl->get_BookmarkCollection(This,p) +#define IHTMLDOMConstructorCollection_get_CompatibleInfo(This,p) (This)->lpVtbl->get_CompatibleInfo(This,p) +#define IHTMLDOMConstructorCollection_get_CompatibleInfoCollection(This,p) (This)->lpVtbl->get_CompatibleInfoCollection(This,p) +#define IHTMLDOMConstructorCollection_get_ControlRangeCollection(This,p) (This)->lpVtbl->get_ControlRangeCollection(This,p) +#define IHTMLDOMConstructorCollection_get_CSSCurrentStyleDeclaration(This,p) (This)->lpVtbl->get_CSSCurrentStyleDeclaration(This,p) +#define IHTMLDOMConstructorCollection_get_CSSRuleList(This,p) (This)->lpVtbl->get_CSSRuleList(This,p) +#define IHTMLDOMConstructorCollection_get_CSSRuleStyleDeclaration(This,p) (This)->lpVtbl->get_CSSRuleStyleDeclaration(This,p) +#define IHTMLDOMConstructorCollection_get_CSSStyleDeclaration(This,p) (This)->lpVtbl->get_CSSStyleDeclaration(This,p) +#define IHTMLDOMConstructorCollection_get_CSSStyleRule(This,p) (This)->lpVtbl->get_CSSStyleRule(This,p) +#define IHTMLDOMConstructorCollection_get_CSSStyleSheet(This,p) (This)->lpVtbl->get_CSSStyleSheet(This,p) +#define IHTMLDOMConstructorCollection_get_DataTransfer(This,p) (This)->lpVtbl->get_DataTransfer(This,p) +#define IHTMLDOMConstructorCollection_get_DOMImplementation(This,p) (This)->lpVtbl->get_DOMImplementation(This,p) +#define IHTMLDOMConstructorCollection_get_Element(This,p) (This)->lpVtbl->get_Element(This,p) +#define IHTMLDOMConstructorCollection_get_Event(This,p) (This)->lpVtbl->get_Event(This,p) +#define IHTMLDOMConstructorCollection_get_History(This,p) (This)->lpVtbl->get_History(This,p) +#define IHTMLDOMConstructorCollection_get_HTCElementBehaviorDefaults(This,p) (This)->lpVtbl->get_HTCElementBehaviorDefaults(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLAnchorElement(This,p) (This)->lpVtbl->get_HTMLAnchorElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLAreaElement(This,p) (This)->lpVtbl->get_HTMLAreaElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLAreasCollection(This,p) (This)->lpVtbl->get_HTMLAreasCollection(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLBaseElement(This,p) (This)->lpVtbl->get_HTMLBaseElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLBaseFontElement(This,p) (This)->lpVtbl->get_HTMLBaseFontElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLBGSoundElement(This,p) (This)->lpVtbl->get_HTMLBGSoundElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLBlockElement(This,p) (This)->lpVtbl->get_HTMLBlockElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLBodyElement(This,p) (This)->lpVtbl->get_HTMLBodyElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLBRElement(This,p) (This)->lpVtbl->get_HTMLBRElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLButtonElement(This,p) (This)->lpVtbl->get_HTMLButtonElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLCollection(This,p) (This)->lpVtbl->get_HTMLCollection(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLCommentElement(This,p) (This)->lpVtbl->get_HTMLCommentElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLDDElement(This,p) (This)->lpVtbl->get_HTMLDDElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLDivElement(This,p) (This)->lpVtbl->get_HTMLDivElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLDocument(This,p) (This)->lpVtbl->get_HTMLDocument(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLDListElement(This,p) (This)->lpVtbl->get_HTMLDListElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLDTElement(This,p) (This)->lpVtbl->get_HTMLDTElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLEmbedElement(This,p) (This)->lpVtbl->get_HTMLEmbedElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLFieldSetElement(This,p) (This)->lpVtbl->get_HTMLFieldSetElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLFontElement(This,p) (This)->lpVtbl->get_HTMLFontElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLFormElement(This,p) (This)->lpVtbl->get_HTMLFormElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLFrameElement(This,p) (This)->lpVtbl->get_HTMLFrameElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLFrameSetElement(This,p) (This)->lpVtbl->get_HTMLFrameSetElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLGenericElement(This,p) (This)->lpVtbl->get_HTMLGenericElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLHeadElement(This,p) (This)->lpVtbl->get_HTMLHeadElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLHeadingElement(This,p) (This)->lpVtbl->get_HTMLHeadingElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLHRElement(This,p) (This)->lpVtbl->get_HTMLHRElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLHtmlElement(This,p) (This)->lpVtbl->get_HTMLHtmlElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLIFrameElement(This,p) (This)->lpVtbl->get_HTMLIFrameElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLImageElement(This,p) (This)->lpVtbl->get_HTMLImageElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLInputElement(This,p) (This)->lpVtbl->get_HTMLInputElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLIsIndexElement(This,p) (This)->lpVtbl->get_HTMLIsIndexElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLLabelElement(This,p) (This)->lpVtbl->get_HTMLLabelElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLLegendElement(This,p) (This)->lpVtbl->get_HTMLLegendElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLLIElement(This,p) (This)->lpVtbl->get_HTMLLIElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLLinkElement(This,p) (This)->lpVtbl->get_HTMLLinkElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLMapElement(This,p) (This)->lpVtbl->get_HTMLMapElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLMarqueeElement(This,p) (This)->lpVtbl->get_HTMLMarqueeElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLMetaElement(This,p) (This)->lpVtbl->get_HTMLMetaElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLModelessDialog(This,p) (This)->lpVtbl->get_HTMLModelessDialog(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLNamespaceInfo(This,p) (This)->lpVtbl->get_HTMLNamespaceInfo(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLNamespaceInfoCollection(This,p) (This)->lpVtbl->get_HTMLNamespaceInfoCollection(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLNextIdElement(This,p) (This)->lpVtbl->get_HTMLNextIdElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLNoShowElement(This,p) (This)->lpVtbl->get_HTMLNoShowElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLObjectElement(This,p) (This)->lpVtbl->get_HTMLObjectElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLOListElement(This,p) (This)->lpVtbl->get_HTMLOListElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLOptionElement(This,p) (This)->lpVtbl->get_HTMLOptionElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLParagraphElement(This,p) (This)->lpVtbl->get_HTMLParagraphElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLParamElement(This,p) (This)->lpVtbl->get_HTMLParamElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLPhraseElement(This,p) (This)->lpVtbl->get_HTMLPhraseElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLPluginsCollection(This,p) (This)->lpVtbl->get_HTMLPluginsCollection(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLPopup(This,p) (This)->lpVtbl->get_HTMLPopup(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLScriptElement(This,p) (This)->lpVtbl->get_HTMLScriptElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLSelectElement(This,p) (This)->lpVtbl->get_HTMLSelectElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLSpanElement(This,p) (This)->lpVtbl->get_HTMLSpanElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLStyleElement(This,p) (This)->lpVtbl->get_HTMLStyleElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTableCaptionElement(This,p) (This)->lpVtbl->get_HTMLTableCaptionElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTableCellElement(This,p) (This)->lpVtbl->get_HTMLTableCellElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTableColElement(This,p) (This)->lpVtbl->get_HTMLTableColElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTableElement(This,p) (This)->lpVtbl->get_HTMLTableElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTableRowElement(This,p) (This)->lpVtbl->get_HTMLTableRowElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTableSectionElement(This,p) (This)->lpVtbl->get_HTMLTableSectionElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTextAreaElement(This,p) (This)->lpVtbl->get_HTMLTextAreaElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTextElement(This,p) (This)->lpVtbl->get_HTMLTextElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLTitleElement(This,p) (This)->lpVtbl->get_HTMLTitleElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLUListElement(This,p) (This)->lpVtbl->get_HTMLUListElement(This,p) +#define IHTMLDOMConstructorCollection_get_HTMLUnknownElement(This,p) (This)->lpVtbl->get_HTMLUnknownElement(This,p) +#define IHTMLDOMConstructorCollection_get_Image(This,p) (This)->lpVtbl->get_Image(This,p) +#define IHTMLDOMConstructorCollection_get_Location(This,p) (This)->lpVtbl->get_Location(This,p) +#define IHTMLDOMConstructorCollection_get_NamedNodeMap(This,p) (This)->lpVtbl->get_NamedNodeMap(This,p) +#define IHTMLDOMConstructorCollection_get_Navigator(This,p) (This)->lpVtbl->get_Navigator(This,p) +#define IHTMLDOMConstructorCollection_get_NodeList(This,p) (This)->lpVtbl->get_NodeList(This,p) +#define IHTMLDOMConstructorCollection_get_Option(This,p) (This)->lpVtbl->get_Option(This,p) +#define IHTMLDOMConstructorCollection_get_Screen(This,p) (This)->lpVtbl->get_Screen(This,p) +#define IHTMLDOMConstructorCollection_get_Selection(This,p) (This)->lpVtbl->get_Selection(This,p) +#define IHTMLDOMConstructorCollection_get_StaticNodeList(This,p) (This)->lpVtbl->get_StaticNodeList(This,p) +#define IHTMLDOMConstructorCollection_get_Storage(This,p) (This)->lpVtbl->get_Storage(This,p) +#define IHTMLDOMConstructorCollection_get_StyleSheetList(This,p) (This)->lpVtbl->get_StyleSheetList(This,p) +#define IHTMLDOMConstructorCollection_get_StyleSheetPage(This,p) (This)->lpVtbl->get_StyleSheetPage(This,p) +#define IHTMLDOMConstructorCollection_get_StyleSheetPageList(This,p) (This)->lpVtbl->get_StyleSheetPageList(This,p) +#define IHTMLDOMConstructorCollection_get_Text(This,p) (This)->lpVtbl->get_Text(This,p) +#define IHTMLDOMConstructorCollection_get_TextRange(This,p) (This)->lpVtbl->get_TextRange(This,p) +#define IHTMLDOMConstructorCollection_get_TextRangeCollection(This,p) (This)->lpVtbl->get_TextRangeCollection(This,p) +#define IHTMLDOMConstructorCollection_get_TextRectangle(This,p) (This)->lpVtbl->get_TextRectangle(This,p) +#define IHTMLDOMConstructorCollection_get_TextRectangleList(This,p) (This)->lpVtbl->get_TextRectangleList(This,p) +#define IHTMLDOMConstructorCollection_get_Window(This,p) (This)->lpVtbl->get_Window(This,p) +#define IHTMLDOMConstructorCollection_get_XDomainRequest(This,p) (This)->lpVtbl->get_XDomainRequest(This,p) +#define IHTMLDOMConstructorCollection_get_XMLHttpRequest(This,p) (This)->lpVtbl->get_XMLHttpRequest(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_QueryInterface(IHTMLDOMConstructorCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLDOMConstructorCollection_AddRef(IHTMLDOMConstructorCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLDOMConstructorCollection_Release(IHTMLDOMConstructorCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_GetTypeInfoCount(IHTMLDOMConstructorCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_GetTypeInfo(IHTMLDOMConstructorCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_GetIDsOfNames(IHTMLDOMConstructorCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_Invoke(IHTMLDOMConstructorCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IHTMLDOMConstructorCollection methods ***/ +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Attr(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Attr(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_BehaviorUrnsCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_BehaviorUrnsCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_BookmarkCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_BookmarkCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CompatibleInfo(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CompatibleInfo(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CompatibleInfoCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CompatibleInfoCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_ControlRangeCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_ControlRangeCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CSSCurrentStyleDeclaration(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CSSCurrentStyleDeclaration(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CSSRuleList(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CSSRuleList(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CSSRuleStyleDeclaration(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CSSRuleStyleDeclaration(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CSSStyleDeclaration(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CSSStyleDeclaration(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CSSStyleRule(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CSSStyleRule(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_CSSStyleSheet(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_CSSStyleSheet(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_DataTransfer(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_DataTransfer(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_DOMImplementation(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_DOMImplementation(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Element(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Element(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Event(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Event(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_History(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_History(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTCElementBehaviorDefaults(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTCElementBehaviorDefaults(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLAnchorElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLAnchorElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLAreaElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLAreaElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLAreasCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLAreasCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLBaseElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLBaseElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLBaseFontElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLBaseFontElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLBGSoundElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLBGSoundElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLBlockElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLBlockElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLBodyElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLBodyElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLBRElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLBRElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLButtonElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLButtonElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLCommentElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLCommentElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLDDElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLDDElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLDivElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLDivElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLDocument(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLDocument(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLDListElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLDListElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLDTElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLDTElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLEmbedElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLEmbedElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLFieldSetElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLFieldSetElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLFontElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLFontElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLFormElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLFormElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLFrameElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLFrameElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLFrameSetElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLFrameSetElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLGenericElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLGenericElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLHeadElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLHeadElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLHeadingElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLHeadingElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLHRElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLHRElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLHtmlElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLHtmlElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLIFrameElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLIFrameElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLImageElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLImageElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLInputElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLInputElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLIsIndexElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLIsIndexElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLLabelElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLLabelElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLLegendElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLLegendElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLLIElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLLIElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLLinkElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLLinkElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLMapElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLMapElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLMarqueeElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLMarqueeElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLMetaElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLMetaElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLModelessDialog(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLModelessDialog(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLNamespaceInfo(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLNamespaceInfo(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLNamespaceInfoCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLNamespaceInfoCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLNextIdElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLNextIdElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLNoShowElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLNoShowElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLObjectElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLObjectElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLOListElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLOListElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLOptionElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLOptionElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLParagraphElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLParagraphElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLParamElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLParamElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLPhraseElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLPhraseElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLPluginsCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLPluginsCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLPopup(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLPopup(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLScriptElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLScriptElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLSelectElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLSelectElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLSpanElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLSpanElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLStyleElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLStyleElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTableCaptionElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTableCaptionElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTableCellElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTableCellElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTableColElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTableColElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTableElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTableElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTableRowElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTableRowElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTableSectionElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTableSectionElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTextAreaElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTextAreaElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTextElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTextElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLTitleElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLTitleElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLUListElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLUListElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_HTMLUnknownElement(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_HTMLUnknownElement(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Image(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Image(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Location(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Location(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_NamedNodeMap(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_NamedNodeMap(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Navigator(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Navigator(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_NodeList(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_NodeList(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Option(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Option(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Screen(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Screen(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Selection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Selection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_StaticNodeList(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_StaticNodeList(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Storage(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Storage(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_StyleSheetList(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_StyleSheetList(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_StyleSheetPage(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_StyleSheetPage(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_StyleSheetPageList(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_StyleSheetPageList(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Text(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Text(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_TextRange(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_TextRange(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_TextRangeCollection(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_TextRangeCollection(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_TextRectangle(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_TextRectangle(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_TextRectangleList(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_TextRectangleList(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_Window(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_Window(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_XDomainRequest(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_XDomainRequest(This,p); +} +static FORCEINLINE HRESULT IHTMLDOMConstructorCollection_get_XMLHttpRequest(IHTMLDOMConstructorCollection* This,IDispatch **p) { + return This->lpVtbl->get_XMLHttpRequest(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLDOMConstructorCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLGenericParse interface + */ +#ifndef __IXMLGenericParse_INTERFACE_DEFINED__ +#define __IXMLGenericParse_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLGenericParse, 0xe4e23071, 0x4d07, 0x11d2, 0xae,0x76, 0x00,0x80,0xc7,0x3b,0xc1,0x99); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e4e23071-4d07-11d2-ae76-0080c73bc199") +IXMLGenericParse : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetGenericParse( + VARIANT_BOOL fDoGeneric) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLGenericParse, 0xe4e23071, 0x4d07, 0x11d2, 0xae,0x76, 0x00,0x80,0xc7,0x3b,0xc1,0x99) +#endif +#else +typedef struct IXMLGenericParseVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLGenericParse *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLGenericParse *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLGenericParse *This); + + /*** IXMLGenericParse methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGenericParse)( + IXMLGenericParse *This, + VARIANT_BOOL fDoGeneric); + + END_INTERFACE +} IXMLGenericParseVtbl; + +interface IXMLGenericParse { + CONST_VTBL IXMLGenericParseVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLGenericParse_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLGenericParse_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLGenericParse_Release(This) (This)->lpVtbl->Release(This) +/*** IXMLGenericParse methods ***/ +#define IXMLGenericParse_SetGenericParse(This,fDoGeneric) (This)->lpVtbl->SetGenericParse(This,fDoGeneric) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLGenericParse_QueryInterface(IXMLGenericParse* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLGenericParse_AddRef(IXMLGenericParse* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLGenericParse_Release(IXMLGenericParse* This) { + return This->lpVtbl->Release(This); +} +/*** IXMLGenericParse methods ***/ +static FORCEINLINE HRESULT IXMLGenericParse_SetGenericParse(IXMLGenericParse* This,VARIANT_BOOL fDoGeneric) { + return This->lpVtbl->SetGenericParse(This,fDoGeneric); +} +#endif +#endif + +#endif + + +#endif /* __IXMLGenericParse_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISegment interface + */ +#ifndef __ISegment_INTERFACE_DEFINED__ +#define __ISegment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISegment, 0x3050f683, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f683-98b5-11cf-bb82-00aa00bdce0b") +ISegment : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPointers( + IMarkupPointer *pIStart, + IMarkupPointer *pIEnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISegment, 0x3050f683, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ISegmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISegment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISegment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISegment *This); + + /*** ISegment methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPointers)( + ISegment *This, + IMarkupPointer *pIStart, + IMarkupPointer *pIEnd); + + END_INTERFACE +} ISegmentVtbl; + +interface ISegment { + CONST_VTBL ISegmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISegment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISegment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISegment_Release(This) (This)->lpVtbl->Release(This) +/*** ISegment methods ***/ +#define ISegment_GetPointers(This,pIStart,pIEnd) (This)->lpVtbl->GetPointers(This,pIStart,pIEnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISegment_QueryInterface(ISegment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISegment_AddRef(ISegment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISegment_Release(ISegment* This) { + return This->lpVtbl->Release(This); +} +/*** ISegment methods ***/ +static FORCEINLINE HRESULT ISegment_GetPointers(ISegment* This,IMarkupPointer *pIStart,IMarkupPointer *pIEnd) { + return This->lpVtbl->GetPointers(This,pIStart,pIEnd); +} +#endif +#endif + +#endif + + +#endif /* __ISegment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IElementSegment interface + */ +#ifndef __IElementSegment_INTERFACE_DEFINED__ +#define __IElementSegment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IElementSegment, 0x3050f68f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f68f-98b5-11cf-bb82-00aa00bdce0b") +IElementSegment : public ISegment +{ + virtual HRESULT STDMETHODCALLTYPE GetElement( + IHTMLElement **ppIElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrimary( + BOOL fPrimary) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPrimary( + BOOL *pfPrimary) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IElementSegment, 0x3050f68f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IElementSegmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IElementSegment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IElementSegment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IElementSegment *This); + + /*** ISegment methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPointers)( + IElementSegment *This, + IMarkupPointer *pIStart, + IMarkupPointer *pIEnd); + + /*** IElementSegment methods ***/ + HRESULT (STDMETHODCALLTYPE *GetElement)( + IElementSegment *This, + IHTMLElement **ppIElement); + + HRESULT (STDMETHODCALLTYPE *SetPrimary)( + IElementSegment *This, + BOOL fPrimary); + + HRESULT (STDMETHODCALLTYPE *IsPrimary)( + IElementSegment *This, + BOOL *pfPrimary); + + END_INTERFACE +} IElementSegmentVtbl; + +interface IElementSegment { + CONST_VTBL IElementSegmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IElementSegment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IElementSegment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IElementSegment_Release(This) (This)->lpVtbl->Release(This) +/*** ISegment methods ***/ +#define IElementSegment_GetPointers(This,pIStart,pIEnd) (This)->lpVtbl->GetPointers(This,pIStart,pIEnd) +/*** IElementSegment methods ***/ +#define IElementSegment_GetElement(This,ppIElement) (This)->lpVtbl->GetElement(This,ppIElement) +#define IElementSegment_SetPrimary(This,fPrimary) (This)->lpVtbl->SetPrimary(This,fPrimary) +#define IElementSegment_IsPrimary(This,pfPrimary) (This)->lpVtbl->IsPrimary(This,pfPrimary) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IElementSegment_QueryInterface(IElementSegment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IElementSegment_AddRef(IElementSegment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IElementSegment_Release(IElementSegment* This) { + return This->lpVtbl->Release(This); +} +/*** ISegment methods ***/ +static FORCEINLINE HRESULT IElementSegment_GetPointers(IElementSegment* This,IMarkupPointer *pIStart,IMarkupPointer *pIEnd) { + return This->lpVtbl->GetPointers(This,pIStart,pIEnd); +} +/*** IElementSegment methods ***/ +static FORCEINLINE HRESULT IElementSegment_GetElement(IElementSegment* This,IHTMLElement **ppIElement) { + return This->lpVtbl->GetElement(This,ppIElement); +} +static FORCEINLINE HRESULT IElementSegment_SetPrimary(IElementSegment* This,BOOL fPrimary) { + return This->lpVtbl->SetPrimary(This,fPrimary); +} +static FORCEINLINE HRESULT IElementSegment_IsPrimary(IElementSegment* This,BOOL *pfPrimary) { + return This->lpVtbl->IsPrimary(This,pfPrimary); +} +#endif +#endif + +#endif + + +#endif /* __IElementSegment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISelectionServicesListener interface + */ +#ifndef __ISelectionServicesListener_INTERFACE_DEFINED__ +#define __ISelectionServicesListener_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISelectionServicesListener, 0x3050f699, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f699-98b5-11cf-bb82-00aa00bdce0b") +ISelectionServicesListener : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BeginSelectionUndo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndSelectionUndo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSelectedElementExit( + IMarkupPointer *pIElementStart, + IMarkupPointer *pIElementEnd, + IMarkupPointer *pIElementContentStart, + IMarkupPointer *pIElementContentEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnChangeType( + SELECTION_TYPE eType, + ISelectionServicesListener *pIListener) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeDetail( + BSTR *pTypeDetail) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISelectionServicesListener, 0x3050f699, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ISelectionServicesListenerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISelectionServicesListener *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISelectionServicesListener *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISelectionServicesListener *This); + + /*** ISelectionServicesListener methods ***/ + HRESULT (STDMETHODCALLTYPE *BeginSelectionUndo)( + ISelectionServicesListener *This); + + HRESULT (STDMETHODCALLTYPE *EndSelectionUndo)( + ISelectionServicesListener *This); + + HRESULT (STDMETHODCALLTYPE *OnSelectedElementExit)( + ISelectionServicesListener *This, + IMarkupPointer *pIElementStart, + IMarkupPointer *pIElementEnd, + IMarkupPointer *pIElementContentStart, + IMarkupPointer *pIElementContentEnd); + + HRESULT (STDMETHODCALLTYPE *OnChangeType)( + ISelectionServicesListener *This, + SELECTION_TYPE eType, + ISelectionServicesListener *pIListener); + + HRESULT (STDMETHODCALLTYPE *GetTypeDetail)( + ISelectionServicesListener *This, + BSTR *pTypeDetail); + + END_INTERFACE +} ISelectionServicesListenerVtbl; + +interface ISelectionServicesListener { + CONST_VTBL ISelectionServicesListenerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISelectionServicesListener_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISelectionServicesListener_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISelectionServicesListener_Release(This) (This)->lpVtbl->Release(This) +/*** ISelectionServicesListener methods ***/ +#define ISelectionServicesListener_BeginSelectionUndo(This) (This)->lpVtbl->BeginSelectionUndo(This) +#define ISelectionServicesListener_EndSelectionUndo(This) (This)->lpVtbl->EndSelectionUndo(This) +#define ISelectionServicesListener_OnSelectedElementExit(This,pIElementStart,pIElementEnd,pIElementContentStart,pIElementContentEnd) (This)->lpVtbl->OnSelectedElementExit(This,pIElementStart,pIElementEnd,pIElementContentStart,pIElementContentEnd) +#define ISelectionServicesListener_OnChangeType(This,eType,pIListener) (This)->lpVtbl->OnChangeType(This,eType,pIListener) +#define ISelectionServicesListener_GetTypeDetail(This,pTypeDetail) (This)->lpVtbl->GetTypeDetail(This,pTypeDetail) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISelectionServicesListener_QueryInterface(ISelectionServicesListener* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISelectionServicesListener_AddRef(ISelectionServicesListener* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISelectionServicesListener_Release(ISelectionServicesListener* This) { + return This->lpVtbl->Release(This); +} +/*** ISelectionServicesListener methods ***/ +static FORCEINLINE HRESULT ISelectionServicesListener_BeginSelectionUndo(ISelectionServicesListener* This) { + return This->lpVtbl->BeginSelectionUndo(This); +} +static FORCEINLINE HRESULT ISelectionServicesListener_EndSelectionUndo(ISelectionServicesListener* This) { + return This->lpVtbl->EndSelectionUndo(This); +} +static FORCEINLINE HRESULT ISelectionServicesListener_OnSelectedElementExit(ISelectionServicesListener* This,IMarkupPointer *pIElementStart,IMarkupPointer *pIElementEnd,IMarkupPointer *pIElementContentStart,IMarkupPointer *pIElementContentEnd) { + return This->lpVtbl->OnSelectedElementExit(This,pIElementStart,pIElementEnd,pIElementContentStart,pIElementContentEnd); +} +static FORCEINLINE HRESULT ISelectionServicesListener_OnChangeType(ISelectionServicesListener* This,SELECTION_TYPE eType,ISelectionServicesListener *pIListener) { + return This->lpVtbl->OnChangeType(This,eType,pIListener); +} +static FORCEINLINE HRESULT ISelectionServicesListener_GetTypeDetail(ISelectionServicesListener* This,BSTR *pTypeDetail) { + return This->lpVtbl->GetTypeDetail(This,pTypeDetail); +} +#endif +#endif + +#endif + + +#endif /* __ISelectionServicesListener_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISelectionServices interface + */ +#ifndef __ISelectionServices_INTERFACE_DEFINED__ +#define __ISelectionServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISelectionServices, 0x3050f684, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f684-98b5-11cf-bb82-00aa00bdce0b") +ISelectionServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetSelectionType( + SELECTION_TYPE eType, + ISelectionServicesListener *pIListener) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMarkupContainer( + IMarkupContainer **ppIContainer) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSegment( + IMarkupPointer *pIStart, + IMarkupPointer *pIEnd, + ISegment **ppISegmentAdded) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddElementSegment( + IHTMLElement *pIElement, + IElementSegment **ppISegmentAdded) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveSegment( + ISegment *pISegment) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectionServicesListener( + ISelectionServicesListener **ppISelectionServicesListener) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISelectionServices, 0x3050f684, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ISelectionServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISelectionServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISelectionServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISelectionServices *This); + + /*** ISelectionServices methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSelectionType)( + ISelectionServices *This, + SELECTION_TYPE eType, + ISelectionServicesListener *pIListener); + + HRESULT (STDMETHODCALLTYPE *GetMarkupContainer)( + ISelectionServices *This, + IMarkupContainer **ppIContainer); + + HRESULT (STDMETHODCALLTYPE *AddSegment)( + ISelectionServices *This, + IMarkupPointer *pIStart, + IMarkupPointer *pIEnd, + ISegment **ppISegmentAdded); + + HRESULT (STDMETHODCALLTYPE *AddElementSegment)( + ISelectionServices *This, + IHTMLElement *pIElement, + IElementSegment **ppISegmentAdded); + + HRESULT (STDMETHODCALLTYPE *RemoveSegment)( + ISelectionServices *This, + ISegment *pISegment); + + HRESULT (STDMETHODCALLTYPE *GetSelectionServicesListener)( + ISelectionServices *This, + ISelectionServicesListener **ppISelectionServicesListener); + + END_INTERFACE +} ISelectionServicesVtbl; + +interface ISelectionServices { + CONST_VTBL ISelectionServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISelectionServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISelectionServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISelectionServices_Release(This) (This)->lpVtbl->Release(This) +/*** ISelectionServices methods ***/ +#define ISelectionServices_SetSelectionType(This,eType,pIListener) (This)->lpVtbl->SetSelectionType(This,eType,pIListener) +#define ISelectionServices_GetMarkupContainer(This,ppIContainer) (This)->lpVtbl->GetMarkupContainer(This,ppIContainer) +#define ISelectionServices_AddSegment(This,pIStart,pIEnd,ppISegmentAdded) (This)->lpVtbl->AddSegment(This,pIStart,pIEnd,ppISegmentAdded) +#define ISelectionServices_AddElementSegment(This,pIElement,ppISegmentAdded) (This)->lpVtbl->AddElementSegment(This,pIElement,ppISegmentAdded) +#define ISelectionServices_RemoveSegment(This,pISegment) (This)->lpVtbl->RemoveSegment(This,pISegment) +#define ISelectionServices_GetSelectionServicesListener(This,ppISelectionServicesListener) (This)->lpVtbl->GetSelectionServicesListener(This,ppISelectionServicesListener) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISelectionServices_QueryInterface(ISelectionServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISelectionServices_AddRef(ISelectionServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISelectionServices_Release(ISelectionServices* This) { + return This->lpVtbl->Release(This); +} +/*** ISelectionServices methods ***/ +static FORCEINLINE HRESULT ISelectionServices_SetSelectionType(ISelectionServices* This,SELECTION_TYPE eType,ISelectionServicesListener *pIListener) { + return This->lpVtbl->SetSelectionType(This,eType,pIListener); +} +static FORCEINLINE HRESULT ISelectionServices_GetMarkupContainer(ISelectionServices* This,IMarkupContainer **ppIContainer) { + return This->lpVtbl->GetMarkupContainer(This,ppIContainer); +} +static FORCEINLINE HRESULT ISelectionServices_AddSegment(ISelectionServices* This,IMarkupPointer *pIStart,IMarkupPointer *pIEnd,ISegment **ppISegmentAdded) { + return This->lpVtbl->AddSegment(This,pIStart,pIEnd,ppISegmentAdded); +} +static FORCEINLINE HRESULT ISelectionServices_AddElementSegment(ISelectionServices* This,IHTMLElement *pIElement,IElementSegment **ppISegmentAdded) { + return This->lpVtbl->AddElementSegment(This,pIElement,ppISegmentAdded); +} +static FORCEINLINE HRESULT ISelectionServices_RemoveSegment(ISelectionServices* This,ISegment *pISegment) { + return This->lpVtbl->RemoveSegment(This,pISegment); +} +static FORCEINLINE HRESULT ISelectionServices_GetSelectionServicesListener(ISelectionServices* This,ISelectionServicesListener **ppISelectionServicesListener) { + return This->lpVtbl->GetSelectionServicesListener(This,ppISelectionServicesListener); +} +#endif +#endif + +#endif + + +#endif /* __ISelectionServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLEditDesigner interface + */ +#ifndef __IHTMLEditDesigner_INTERFACE_DEFINED__ +#define __IHTMLEditDesigner_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLEditDesigner, 0x3050f662, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f662-98b5-11cf-bb82-00aa00bdce0b") +IHTMLEditDesigner : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PreHandleEvent( + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostHandleEvent( + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostEditorEventNotify( + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLEditDesigner, 0x3050f662, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLEditDesignerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLEditDesigner *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLEditDesigner *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLEditDesigner *This); + + /*** IHTMLEditDesigner methods ***/ + HRESULT (STDMETHODCALLTYPE *PreHandleEvent)( + IHTMLEditDesigner *This, + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj); + + HRESULT (STDMETHODCALLTYPE *PostHandleEvent)( + IHTMLEditDesigner *This, + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IHTMLEditDesigner *This, + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj); + + HRESULT (STDMETHODCALLTYPE *PostEditorEventNotify)( + IHTMLEditDesigner *This, + DISPID inEvtDispId, + IHTMLEventObj *pIEventObj); + + END_INTERFACE +} IHTMLEditDesignerVtbl; + +interface IHTMLEditDesigner { + CONST_VTBL IHTMLEditDesignerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLEditDesigner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLEditDesigner_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLEditDesigner_Release(This) (This)->lpVtbl->Release(This) +/*** IHTMLEditDesigner methods ***/ +#define IHTMLEditDesigner_PreHandleEvent(This,inEvtDispId,pIEventObj) (This)->lpVtbl->PreHandleEvent(This,inEvtDispId,pIEventObj) +#define IHTMLEditDesigner_PostHandleEvent(This,inEvtDispId,pIEventObj) (This)->lpVtbl->PostHandleEvent(This,inEvtDispId,pIEventObj) +#define IHTMLEditDesigner_TranslateAccelerator(This,inEvtDispId,pIEventObj) (This)->lpVtbl->TranslateAccelerator(This,inEvtDispId,pIEventObj) +#define IHTMLEditDesigner_PostEditorEventNotify(This,inEvtDispId,pIEventObj) (This)->lpVtbl->PostEditorEventNotify(This,inEvtDispId,pIEventObj) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLEditDesigner_QueryInterface(IHTMLEditDesigner* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLEditDesigner_AddRef(IHTMLEditDesigner* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLEditDesigner_Release(IHTMLEditDesigner* This) { + return This->lpVtbl->Release(This); +} +/*** IHTMLEditDesigner methods ***/ +static FORCEINLINE HRESULT IHTMLEditDesigner_PreHandleEvent(IHTMLEditDesigner* This,DISPID inEvtDispId,IHTMLEventObj *pIEventObj) { + return This->lpVtbl->PreHandleEvent(This,inEvtDispId,pIEventObj); +} +static FORCEINLINE HRESULT IHTMLEditDesigner_PostHandleEvent(IHTMLEditDesigner* This,DISPID inEvtDispId,IHTMLEventObj *pIEventObj) { + return This->lpVtbl->PostHandleEvent(This,inEvtDispId,pIEventObj); +} +static FORCEINLINE HRESULT IHTMLEditDesigner_TranslateAccelerator(IHTMLEditDesigner* This,DISPID inEvtDispId,IHTMLEventObj *pIEventObj) { + return This->lpVtbl->TranslateAccelerator(This,inEvtDispId,pIEventObj); +} +static FORCEINLINE HRESULT IHTMLEditDesigner_PostEditorEventNotify(IHTMLEditDesigner* This,DISPID inEvtDispId,IHTMLEventObj *pIEventObj) { + return This->lpVtbl->PostEditorEventNotify(This,inEvtDispId,pIEventObj); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLEditDesigner_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHTMLEditServices interface + */ +#ifndef __IHTMLEditServices_INTERFACE_DEFINED__ +#define __IHTMLEditServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLEditServices, 0x3050f663, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f663-98b5-11cf-bb82-00aa00bdce0b") +IHTMLEditServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddDesigner( + IHTMLEditDesigner *pIDesigner) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveDesigner( + IHTMLEditDesigner *pIDesigner) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectionServices( + IMarkupContainer *pIContainer, + ISelectionServices **ppSelSvc) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToSelectionAnchor( + IMarkupPointer *pIStartAnchor) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToSelectionEnd( + IMarkupPointer *pIEndAnchor) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectRange( + IMarkupPointer *pStart, + IMarkupPointer *pEnd, + SELECTION_TYPE eType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLEditServices, 0x3050f663, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLEditServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLEditServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLEditServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLEditServices *This); + + /*** IHTMLEditServices methods ***/ + HRESULT (STDMETHODCALLTYPE *AddDesigner)( + IHTMLEditServices *This, + IHTMLEditDesigner *pIDesigner); + + HRESULT (STDMETHODCALLTYPE *RemoveDesigner)( + IHTMLEditServices *This, + IHTMLEditDesigner *pIDesigner); + + HRESULT (STDMETHODCALLTYPE *GetSelectionServices)( + IHTMLEditServices *This, + IMarkupContainer *pIContainer, + ISelectionServices **ppSelSvc); + + HRESULT (STDMETHODCALLTYPE *MoveToSelectionAnchor)( + IHTMLEditServices *This, + IMarkupPointer *pIStartAnchor); + + HRESULT (STDMETHODCALLTYPE *MoveToSelectionEnd)( + IHTMLEditServices *This, + IMarkupPointer *pIEndAnchor); + + HRESULT (STDMETHODCALLTYPE *SelectRange)( + IHTMLEditServices *This, + IMarkupPointer *pStart, + IMarkupPointer *pEnd, + SELECTION_TYPE eType); + + END_INTERFACE +} IHTMLEditServicesVtbl; + +interface IHTMLEditServices { + CONST_VTBL IHTMLEditServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLEditServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLEditServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLEditServices_Release(This) (This)->lpVtbl->Release(This) +/*** IHTMLEditServices methods ***/ +#define IHTMLEditServices_AddDesigner(This,pIDesigner) (This)->lpVtbl->AddDesigner(This,pIDesigner) +#define IHTMLEditServices_RemoveDesigner(This,pIDesigner) (This)->lpVtbl->RemoveDesigner(This,pIDesigner) +#define IHTMLEditServices_GetSelectionServices(This,pIContainer,ppSelSvc) (This)->lpVtbl->GetSelectionServices(This,pIContainer,ppSelSvc) +#define IHTMLEditServices_MoveToSelectionAnchor(This,pIStartAnchor) (This)->lpVtbl->MoveToSelectionAnchor(This,pIStartAnchor) +#define IHTMLEditServices_MoveToSelectionEnd(This,pIEndAnchor) (This)->lpVtbl->MoveToSelectionEnd(This,pIEndAnchor) +#define IHTMLEditServices_SelectRange(This,pStart,pEnd,eType) (This)->lpVtbl->SelectRange(This,pStart,pEnd,eType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLEditServices_QueryInterface(IHTMLEditServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLEditServices_AddRef(IHTMLEditServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLEditServices_Release(IHTMLEditServices* This) { + return This->lpVtbl->Release(This); +} +/*** IHTMLEditServices methods ***/ +static FORCEINLINE HRESULT IHTMLEditServices_AddDesigner(IHTMLEditServices* This,IHTMLEditDesigner *pIDesigner) { + return This->lpVtbl->AddDesigner(This,pIDesigner); +} +static FORCEINLINE HRESULT IHTMLEditServices_RemoveDesigner(IHTMLEditServices* This,IHTMLEditDesigner *pIDesigner) { + return This->lpVtbl->RemoveDesigner(This,pIDesigner); +} +static FORCEINLINE HRESULT IHTMLEditServices_GetSelectionServices(IHTMLEditServices* This,IMarkupContainer *pIContainer,ISelectionServices **ppSelSvc) { + return This->lpVtbl->GetSelectionServices(This,pIContainer,ppSelSvc); +} +static FORCEINLINE HRESULT IHTMLEditServices_MoveToSelectionAnchor(IHTMLEditServices* This,IMarkupPointer *pIStartAnchor) { + return This->lpVtbl->MoveToSelectionAnchor(This,pIStartAnchor); +} +static FORCEINLINE HRESULT IHTMLEditServices_MoveToSelectionEnd(IHTMLEditServices* This,IMarkupPointer *pIEndAnchor) { + return This->lpVtbl->MoveToSelectionEnd(This,pIEndAnchor); +} +static FORCEINLINE HRESULT IHTMLEditServices_SelectRange(IHTMLEditServices* This,IMarkupPointer *pStart,IMarkupPointer *pEnd,SELECTION_TYPE eType) { + return This->lpVtbl->SelectRange(This,pStart,pEnd,eType); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLEditServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IElementBehaviorSite interface + */ +#ifndef __IElementBehaviorSite_INTERFACE_DEFINED__ +#define __IElementBehaviorSite_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IElementBehaviorSite, 0x3050f427, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f427-98b5-11cf-bb82-00aa00bdce0b") +IElementBehaviorSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetElement( + IHTMLElement **ppElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterNotification( + LONG lEvent) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IElementBehaviorSite, 0x3050f427, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IElementBehaviorSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IElementBehaviorSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IElementBehaviorSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IElementBehaviorSite *This); + + /*** IElementBehaviorSite methods ***/ + HRESULT (STDMETHODCALLTYPE *GetElement)( + IElementBehaviorSite *This, + IHTMLElement **ppElement); + + HRESULT (STDMETHODCALLTYPE *RegisterNotification)( + IElementBehaviorSite *This, + LONG lEvent); + + END_INTERFACE +} IElementBehaviorSiteVtbl; + +interface IElementBehaviorSite { + CONST_VTBL IElementBehaviorSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IElementBehaviorSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IElementBehaviorSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IElementBehaviorSite_Release(This) (This)->lpVtbl->Release(This) +/*** IElementBehaviorSite methods ***/ +#define IElementBehaviorSite_GetElement(This,ppElement) (This)->lpVtbl->GetElement(This,ppElement) +#define IElementBehaviorSite_RegisterNotification(This,lEvent) (This)->lpVtbl->RegisterNotification(This,lEvent) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IElementBehaviorSite_QueryInterface(IElementBehaviorSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IElementBehaviorSite_AddRef(IElementBehaviorSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IElementBehaviorSite_Release(IElementBehaviorSite* This) { + return This->lpVtbl->Release(This); +} +/*** IElementBehaviorSite methods ***/ +static FORCEINLINE HRESULT IElementBehaviorSite_GetElement(IElementBehaviorSite* This,IHTMLElement **ppElement) { + return This->lpVtbl->GetElement(This,ppElement); +} +static FORCEINLINE HRESULT IElementBehaviorSite_RegisterNotification(IElementBehaviorSite* This,LONG lEvent) { + return This->lpVtbl->RegisterNotification(This,lEvent); +} +#endif +#endif + +#endif + + +#endif /* __IElementBehaviorSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IElementBehavior interface + */ +#ifndef __IElementBehavior_INTERFACE_DEFINED__ +#define __IElementBehavior_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IElementBehavior, 0x3050f425, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f425-98b5-11cf-bb82-00aa00bdce0b") +IElementBehavior : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Init( + IElementBehaviorSite *pBehaviorSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE Notify( + LONG lEvent, + VARIANT *pVar) = 0; + + virtual HRESULT STDMETHODCALLTYPE Detach( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IElementBehavior, 0x3050f425, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IElementBehaviorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IElementBehavior *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IElementBehavior *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IElementBehavior *This); + + /*** IElementBehavior methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + IElementBehavior *This, + IElementBehaviorSite *pBehaviorSite); + + HRESULT (STDMETHODCALLTYPE *Notify)( + IElementBehavior *This, + LONG lEvent, + VARIANT *pVar); + + HRESULT (STDMETHODCALLTYPE *Detach)( + IElementBehavior *This); + + END_INTERFACE +} IElementBehaviorVtbl; + +interface IElementBehavior { + CONST_VTBL IElementBehaviorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IElementBehavior_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IElementBehavior_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IElementBehavior_Release(This) (This)->lpVtbl->Release(This) +/*** IElementBehavior methods ***/ +#define IElementBehavior_Init(This,pBehaviorSite) (This)->lpVtbl->Init(This,pBehaviorSite) +#define IElementBehavior_Notify(This,lEvent,pVar) (This)->lpVtbl->Notify(This,lEvent,pVar) +#define IElementBehavior_Detach(This) (This)->lpVtbl->Detach(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IElementBehavior_QueryInterface(IElementBehavior* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IElementBehavior_AddRef(IElementBehavior* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IElementBehavior_Release(IElementBehavior* This) { + return This->lpVtbl->Release(This); +} +/*** IElementBehavior methods ***/ +static FORCEINLINE HRESULT IElementBehavior_Init(IElementBehavior* This,IElementBehaviorSite *pBehaviorSite) { + return This->lpVtbl->Init(This,pBehaviorSite); +} +static FORCEINLINE HRESULT IElementBehavior_Notify(IElementBehavior* This,LONG lEvent,VARIANT *pVar) { + return This->lpVtbl->Notify(This,lEvent,pVar); +} +static FORCEINLINE HRESULT IElementBehavior_Detach(IElementBehavior* This) { + return This->lpVtbl->Detach(This); +} +#endif +#endif + +#endif + + +#endif /* __IElementBehavior_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IElementBehaviorFactory interface + */ +#ifndef __IElementBehaviorFactory_INTERFACE_DEFINED__ +#define __IElementBehaviorFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IElementBehaviorFactory, 0x3050f429, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f429-98b5-11cf-bb82-00aa00bdce0b") +IElementBehaviorFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FindBehavior( + BSTR bstrBehavior, + BSTR bstrBehaviorUrl, + IElementBehaviorSite *pSite, + IElementBehavior **ppBehavior) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IElementBehaviorFactory, 0x3050f429, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IElementBehaviorFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IElementBehaviorFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IElementBehaviorFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IElementBehaviorFactory *This); + + /*** IElementBehaviorFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *FindBehavior)( + IElementBehaviorFactory *This, + BSTR bstrBehavior, + BSTR bstrBehaviorUrl, + IElementBehaviorSite *pSite, + IElementBehavior **ppBehavior); + + END_INTERFACE +} IElementBehaviorFactoryVtbl; + +interface IElementBehaviorFactory { + CONST_VTBL IElementBehaviorFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IElementBehaviorFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IElementBehaviorFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IElementBehaviorFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IElementBehaviorFactory methods ***/ +#define IElementBehaviorFactory_FindBehavior(This,bstrBehavior,bstrBehaviorUrl,pSite,ppBehavior) (This)->lpVtbl->FindBehavior(This,bstrBehavior,bstrBehaviorUrl,pSite,ppBehavior) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IElementBehaviorFactory_QueryInterface(IElementBehaviorFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IElementBehaviorFactory_AddRef(IElementBehaviorFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IElementBehaviorFactory_Release(IElementBehaviorFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IElementBehaviorFactory methods ***/ +static FORCEINLINE HRESULT IElementBehaviorFactory_FindBehavior(IElementBehaviorFactory* This,BSTR bstrBehavior,BSTR bstrBehaviorUrl,IElementBehaviorSite *pSite,IElementBehavior **ppBehavior) { + return This->lpVtbl->FindBehavior(This,bstrBehavior,bstrBehaviorUrl,pSite,ppBehavior); +} +#endif +#endif + +#endif + + +#endif /* __IElementBehaviorFactory_INTERFACE_DEFINED__ */ + +#ifndef __IOleCommandTarget_FWD_DEFINED__ +#define __IOleCommandTarget_FWD_DEFINED__ +typedef interface IOleCommandTarget IOleCommandTarget; +#ifdef __cplusplus +interface IOleCommandTarget; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IHTMLPrivateWindow interface + */ +#ifndef __IHTMLPrivateWindow_INTERFACE_DEFINED__ +#define __IHTMLPrivateWindow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IHTMLPrivateWindow, 0x3050f6dc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f6dc-98b5-11cf-bb82-00aa00bdce0b") +IHTMLPrivateWindow : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SuperNavigate( + BSTR url, + BSTR arg2, + BSTR arg3, + BSTR arg4, + VARIANT *post_data, + VARIANT *headers, + ULONG flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPendingUrl( + BSTR *url) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPICSTarget( + IOleCommandTarget *cmdtrg) = 0; + + virtual HRESULT STDMETHODCALLTYPE PICSComplete( + int arg) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindWindowByName( + LPCWSTR name, + IHTMLWindow2 **ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAddressBarUrl( + BSTR *url) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHTMLPrivateWindow, 0x3050f6dc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IHTMLPrivateWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHTMLPrivateWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHTMLPrivateWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHTMLPrivateWindow *This); + + /*** IHTMLPrivateWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *SuperNavigate)( + IHTMLPrivateWindow *This, + BSTR url, + BSTR arg2, + BSTR arg3, + BSTR arg4, + VARIANT *post_data, + VARIANT *headers, + ULONG flags); + + HRESULT (STDMETHODCALLTYPE *GetPendingUrl)( + IHTMLPrivateWindow *This, + BSTR *url); + + HRESULT (STDMETHODCALLTYPE *SetPICSTarget)( + IHTMLPrivateWindow *This, + IOleCommandTarget *cmdtrg); + + HRESULT (STDMETHODCALLTYPE *PICSComplete)( + IHTMLPrivateWindow *This, + int arg); + + HRESULT (STDMETHODCALLTYPE *FindWindowByName)( + IHTMLPrivateWindow *This, + LPCWSTR name, + IHTMLWindow2 **ret); + + HRESULT (STDMETHODCALLTYPE *GetAddressBarUrl)( + IHTMLPrivateWindow *This, + BSTR *url); + + END_INTERFACE +} IHTMLPrivateWindowVtbl; + +interface IHTMLPrivateWindow { + CONST_VTBL IHTMLPrivateWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHTMLPrivateWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHTMLPrivateWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHTMLPrivateWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IHTMLPrivateWindow methods ***/ +#define IHTMLPrivateWindow_SuperNavigate(This,url,arg2,arg3,arg4,post_data,headers,flags) (This)->lpVtbl->SuperNavigate(This,url,arg2,arg3,arg4,post_data,headers,flags) +#define IHTMLPrivateWindow_GetPendingUrl(This,url) (This)->lpVtbl->GetPendingUrl(This,url) +#define IHTMLPrivateWindow_SetPICSTarget(This,cmdtrg) (This)->lpVtbl->SetPICSTarget(This,cmdtrg) +#define IHTMLPrivateWindow_PICSComplete(This,arg) (This)->lpVtbl->PICSComplete(This,arg) +#define IHTMLPrivateWindow_FindWindowByName(This,name,ret) (This)->lpVtbl->FindWindowByName(This,name,ret) +#define IHTMLPrivateWindow_GetAddressBarUrl(This,url) (This)->lpVtbl->GetAddressBarUrl(This,url) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHTMLPrivateWindow_QueryInterface(IHTMLPrivateWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHTMLPrivateWindow_AddRef(IHTMLPrivateWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHTMLPrivateWindow_Release(IHTMLPrivateWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IHTMLPrivateWindow methods ***/ +static FORCEINLINE HRESULT IHTMLPrivateWindow_SuperNavigate(IHTMLPrivateWindow* This,BSTR url,BSTR arg2,BSTR arg3,BSTR arg4,VARIANT *post_data,VARIANT *headers,ULONG flags) { + return This->lpVtbl->SuperNavigate(This,url,arg2,arg3,arg4,post_data,headers,flags); +} +static FORCEINLINE HRESULT IHTMLPrivateWindow_GetPendingUrl(IHTMLPrivateWindow* This,BSTR *url) { + return This->lpVtbl->GetPendingUrl(This,url); +} +static FORCEINLINE HRESULT IHTMLPrivateWindow_SetPICSTarget(IHTMLPrivateWindow* This,IOleCommandTarget *cmdtrg) { + return This->lpVtbl->SetPICSTarget(This,cmdtrg); +} +static FORCEINLINE HRESULT IHTMLPrivateWindow_PICSComplete(IHTMLPrivateWindow* This,int arg) { + return This->lpVtbl->PICSComplete(This,arg); +} +static FORCEINLINE HRESULT IHTMLPrivateWindow_FindWindowByName(IHTMLPrivateWindow* This,LPCWSTR name,IHTMLWindow2 **ret) { + return This->lpVtbl->FindWindowByName(This,name,ret); +} +static FORCEINLINE HRESULT IHTMLPrivateWindow_GetAddressBarUrl(IHTMLPrivateWindow* This,BSTR *url) { + return This->lpVtbl->GetAddressBarUrl(This,url); +} +#endif +#endif + +#endif + + +#endif /* __IHTMLPrivateWindow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWebBrowserPriv interface + */ +#ifndef __IWebBrowserPriv_INTERFACE_DEFINED__ +#define __IWebBrowserPriv_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebBrowserPriv, 0x3050f804, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f804-98b5-11cf-bb82-00aa00bdce0b") +IWebBrowserPriv : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NavigateWithBindCtx( + VARIANT *uri, + VARIANT *flags, + VARIANT *target_frame, + VARIANT *post_data, + VARIANT *headers, + IBindCtx *bind_ctx, + LPOLESTR url_fragment) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnClose( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBrowserPriv, 0x3050f804, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct IWebBrowserPrivVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBrowserPriv *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBrowserPriv *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBrowserPriv *This); + + /*** IWebBrowserPriv methods ***/ + HRESULT (STDMETHODCALLTYPE *NavigateWithBindCtx)( + IWebBrowserPriv *This, + VARIANT *uri, + VARIANT *flags, + VARIANT *target_frame, + VARIANT *post_data, + VARIANT *headers, + IBindCtx *bind_ctx, + LPOLESTR url_fragment); + + HRESULT (STDMETHODCALLTYPE *OnClose)( + IWebBrowserPriv *This); + + END_INTERFACE +} IWebBrowserPrivVtbl; + +interface IWebBrowserPriv { + CONST_VTBL IWebBrowserPrivVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBrowserPriv_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBrowserPriv_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBrowserPriv_Release(This) (This)->lpVtbl->Release(This) +/*** IWebBrowserPriv methods ***/ +#define IWebBrowserPriv_NavigateWithBindCtx(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment) (This)->lpVtbl->NavigateWithBindCtx(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment) +#define IWebBrowserPriv_OnClose(This) (This)->lpVtbl->OnClose(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBrowserPriv_QueryInterface(IWebBrowserPriv* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBrowserPriv_AddRef(IWebBrowserPriv* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBrowserPriv_Release(IWebBrowserPriv* This) { + return This->lpVtbl->Release(This); +} +/*** IWebBrowserPriv methods ***/ +static FORCEINLINE HRESULT IWebBrowserPriv_NavigateWithBindCtx(IWebBrowserPriv* This,VARIANT *uri,VARIANT *flags,VARIANT *target_frame,VARIANT *post_data,VARIANT *headers,IBindCtx *bind_ctx,LPOLESTR url_fragment) { + return This->lpVtbl->NavigateWithBindCtx(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment); +} +static FORCEINLINE HRESULT IWebBrowserPriv_OnClose(IWebBrowserPriv* This) { + return This->lpVtbl->OnClose(This); +} +#endif +#endif + +#endif + + +#endif /* __IWebBrowserPriv_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWebBrowserPriv2IE8 interface + */ +#ifndef __IWebBrowserPriv2IE8_INTERFACE_DEFINED__ +#define __IWebBrowserPriv2IE8_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebBrowserPriv2IE8, 0x3ed72303, 0x6ffc, 0x4214, 0xba,0x90, 0xfa,0xf1,0x86,0x2d,0xec,0x8a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3ed72303-6ffc-4214-ba90-faf1862dec8a") +IWebBrowserPriv2IE8 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NavigateWithBindCtx2( + IUri *uri, + VARIANT *flags, + VARIANT *target_frame, + VARIANT *post_data, + VARIANT *headers, + IBindCtx *bind_ctx, + LPOLESTR url_fragment) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBrowserFrameOptions( + DWORD opt1, + DWORD opt2) = 0; + + virtual HRESULT STDMETHODCALLTYPE DetachConnectionPoints( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcessId( + DWORD *pid) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompatAttachEditEvents( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleOpenOptions( + IUnknown *obj, + BSTR bstr, + int options) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSearchTerm( + BSTR term) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSearchTerm( + BSTR *term) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentDocument( + IDispatch **doc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBrowserPriv2IE8, 0x3ed72303, 0x6ffc, 0x4214, 0xba,0x90, 0xfa,0xf1,0x86,0x2d,0xec,0x8a) +#endif +#else +typedef struct IWebBrowserPriv2IE8Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBrowserPriv2IE8 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBrowserPriv2IE8 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBrowserPriv2IE8 *This); + + /*** IWebBrowserPriv2IE8 methods ***/ + HRESULT (STDMETHODCALLTYPE *NavigateWithBindCtx2)( + IWebBrowserPriv2IE8 *This, + IUri *uri, + VARIANT *flags, + VARIANT *target_frame, + VARIANT *post_data, + VARIANT *headers, + IBindCtx *bind_ctx, + LPOLESTR url_fragment); + + HRESULT (STDMETHODCALLTYPE *SetBrowserFrameOptions)( + IWebBrowserPriv2IE8 *This, + DWORD opt1, + DWORD opt2); + + HRESULT (STDMETHODCALLTYPE *DetachConnectionPoints)( + IWebBrowserPriv2IE8 *This); + + HRESULT (STDMETHODCALLTYPE *GetProcessId)( + IWebBrowserPriv2IE8 *This, + DWORD *pid); + + HRESULT (STDMETHODCALLTYPE *CompatAttachEditEvents)( + IWebBrowserPriv2IE8 *This); + + HRESULT (STDMETHODCALLTYPE *HandleOpenOptions)( + IWebBrowserPriv2IE8 *This, + IUnknown *obj, + BSTR bstr, + int options); + + HRESULT (STDMETHODCALLTYPE *SetSearchTerm)( + IWebBrowserPriv2IE8 *This, + BSTR term); + + HRESULT (STDMETHODCALLTYPE *GetSearchTerm)( + IWebBrowserPriv2IE8 *This, + BSTR *term); + + HRESULT (STDMETHODCALLTYPE *GetCurrentDocument)( + IWebBrowserPriv2IE8 *This, + IDispatch **doc); + + END_INTERFACE +} IWebBrowserPriv2IE8Vtbl; + +interface IWebBrowserPriv2IE8 { + CONST_VTBL IWebBrowserPriv2IE8Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBrowserPriv2IE8_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBrowserPriv2IE8_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBrowserPriv2IE8_Release(This) (This)->lpVtbl->Release(This) +/*** IWebBrowserPriv2IE8 methods ***/ +#define IWebBrowserPriv2IE8_NavigateWithBindCtx2(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment) (This)->lpVtbl->NavigateWithBindCtx2(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment) +#define IWebBrowserPriv2IE8_SetBrowserFrameOptions(This,opt1,opt2) (This)->lpVtbl->SetBrowserFrameOptions(This,opt1,opt2) +#define IWebBrowserPriv2IE8_DetachConnectionPoints(This) (This)->lpVtbl->DetachConnectionPoints(This) +#define IWebBrowserPriv2IE8_GetProcessId(This,pid) (This)->lpVtbl->GetProcessId(This,pid) +#define IWebBrowserPriv2IE8_CompatAttachEditEvents(This) (This)->lpVtbl->CompatAttachEditEvents(This) +#define IWebBrowserPriv2IE8_HandleOpenOptions(This,obj,bstr,options) (This)->lpVtbl->HandleOpenOptions(This,obj,bstr,options) +#define IWebBrowserPriv2IE8_SetSearchTerm(This,term) (This)->lpVtbl->SetSearchTerm(This,term) +#define IWebBrowserPriv2IE8_GetSearchTerm(This,term) (This)->lpVtbl->GetSearchTerm(This,term) +#define IWebBrowserPriv2IE8_GetCurrentDocument(This,doc) (This)->lpVtbl->GetCurrentDocument(This,doc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_QueryInterface(IWebBrowserPriv2IE8* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBrowserPriv2IE8_AddRef(IWebBrowserPriv2IE8* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBrowserPriv2IE8_Release(IWebBrowserPriv2IE8* This) { + return This->lpVtbl->Release(This); +} +/*** IWebBrowserPriv2IE8 methods ***/ +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_NavigateWithBindCtx2(IWebBrowserPriv2IE8* This,IUri *uri,VARIANT *flags,VARIANT *target_frame,VARIANT *post_data,VARIANT *headers,IBindCtx *bind_ctx,LPOLESTR url_fragment) { + return This->lpVtbl->NavigateWithBindCtx2(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_SetBrowserFrameOptions(IWebBrowserPriv2IE8* This,DWORD opt1,DWORD opt2) { + return This->lpVtbl->SetBrowserFrameOptions(This,opt1,opt2); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_DetachConnectionPoints(IWebBrowserPriv2IE8* This) { + return This->lpVtbl->DetachConnectionPoints(This); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_GetProcessId(IWebBrowserPriv2IE8* This,DWORD *pid) { + return This->lpVtbl->GetProcessId(This,pid); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_CompatAttachEditEvents(IWebBrowserPriv2IE8* This) { + return This->lpVtbl->CompatAttachEditEvents(This); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_HandleOpenOptions(IWebBrowserPriv2IE8* This,IUnknown *obj,BSTR bstr,int options) { + return This->lpVtbl->HandleOpenOptions(This,obj,bstr,options); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_SetSearchTerm(IWebBrowserPriv2IE8* This,BSTR term) { + return This->lpVtbl->SetSearchTerm(This,term); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_GetSearchTerm(IWebBrowserPriv2IE8* This,BSTR *term) { + return This->lpVtbl->GetSearchTerm(This,term); +} +static FORCEINLINE HRESULT IWebBrowserPriv2IE8_GetCurrentDocument(IWebBrowserPriv2IE8* This,IDispatch **doc) { + return This->lpVtbl->GetCurrentDocument(This,doc); +} +#endif +#endif + +#endif + + +#endif /* __IWebBrowserPriv2IE8_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWebBrowserPriv2IE9 interface + */ +#ifndef __IWebBrowserPriv2IE9_INTERFACE_DEFINED__ +#define __IWebBrowserPriv2IE9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebBrowserPriv2IE9, 0x3ed72303, 0x6ffc, 0x4214, 0xba,0x90, 0xfa,0xf1,0x86,0x2d,0xec,0x8a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3ed72303-6ffc-4214-ba90-faf1862dec8a") +IWebBrowserPriv2IE9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NavigateWithBindCtx2( + IUri *uri, + VARIANT *flags, + VARIANT *target_frame, + VARIANT *post_data, + VARIANT *headers, + IBindCtx *bind_ctx, + LPOLESTR url_fragment, + DWORD unused) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebBrowserPriv2IE9, 0x3ed72303, 0x6ffc, 0x4214, 0xba,0x90, 0xfa,0xf1,0x86,0x2d,0xec,0x8a) +#endif +#else +typedef struct IWebBrowserPriv2IE9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebBrowserPriv2IE9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebBrowserPriv2IE9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebBrowserPriv2IE9 *This); + + /*** IWebBrowserPriv2IE9 methods ***/ + HRESULT (STDMETHODCALLTYPE *NavigateWithBindCtx2)( + IWebBrowserPriv2IE9 *This, + IUri *uri, + VARIANT *flags, + VARIANT *target_frame, + VARIANT *post_data, + VARIANT *headers, + IBindCtx *bind_ctx, + LPOLESTR url_fragment, + DWORD unused); + + END_INTERFACE +} IWebBrowserPriv2IE9Vtbl; + +interface IWebBrowserPriv2IE9 { + CONST_VTBL IWebBrowserPriv2IE9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebBrowserPriv2IE9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebBrowserPriv2IE9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebBrowserPriv2IE9_Release(This) (This)->lpVtbl->Release(This) +/*** IWebBrowserPriv2IE9 methods ***/ +#define IWebBrowserPriv2IE9_NavigateWithBindCtx2(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment,unused) (This)->lpVtbl->NavigateWithBindCtx2(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment,unused) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebBrowserPriv2IE9_QueryInterface(IWebBrowserPriv2IE9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebBrowserPriv2IE9_AddRef(IWebBrowserPriv2IE9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebBrowserPriv2IE9_Release(IWebBrowserPriv2IE9* This) { + return This->lpVtbl->Release(This); +} +/*** IWebBrowserPriv2IE9 methods ***/ +static FORCEINLINE HRESULT IWebBrowserPriv2IE9_NavigateWithBindCtx2(IWebBrowserPriv2IE9* This,IUri *uri,VARIANT *flags,VARIANT *target_frame,VARIANT *post_data,VARIANT *headers,IBindCtx *bind_ctx,LPOLESTR url_fragment,DWORD unused) { + return This->lpVtbl->NavigateWithBindCtx2(This,uri,flags,target_frame,post_data,headers,bind_ctx,url_fragment,unused); +} +#endif +#endif + +#endif + + +#endif /* __IWebBrowserPriv2IE9_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mshtml_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtml.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtml.idl new file mode 100644 index 0000000..b5cd1e9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mshtml.idl @@ -0,0 +1,20804 @@ +/* + * Copyright 2004-2010 Jacek Caban for CodeWeavers + * Copyright 2008 Konstantin Kondratyuk (Etersoft) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include +#include + +import "ocidl.idl"; +import "dimm.idl"; +import "shtypes.idl"; +import "dispex.idl"; + +#ifndef __WIDL__ +#define progid(str) +#define vi_progid(str) +#endif + +cpp_quote("#include ") + +cpp_quote("DEFINE_GUID(CLSID_MHTMLDocument, 0x3050f3d9,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);") + +cpp_quote("DEFINE_GUID(SID_SEditCommandTarget, 0x3050f4b5,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);") +cpp_quote("DEFINE_GUID(SID_SHTMLEditHost, 0x3050f6a0,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);") +cpp_quote("DEFINE_GUID(SID_SHTMLEditServices, 0x3050f7f9,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);") +cpp_quote("#define SID_SHTMLWindow IID_IHTMLWindow2") +cpp_quote("#define SID_SElementBehaviorFactory IID_IElementBehaviorFactory") + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef FindText") +cpp_quote("#endif") + +typedef enum { + POINTER_GRAVITY_Left, + POINTER_GRAVITY_Right, + POINTER_GRAVITY_Max = 2147483647 +} POINTER_GRAVITY; + +typedef enum { + CONTEXT_TYPE_None, + CONTEXT_TYPE_Text, + CONTEXT_TYPE_EnterScope, + CONTEXT_TYPE_ExitScope, + CONTEXT_TYPE_NoScope, + MARKUP_CONTEXT_TYPE_Max = 2147483647 +} MARKUP_CONTEXT_TYPE; + +typedef enum { + ELEM_ADJ_BeforeBegin, + ELEM_ADJ_AfterBegin, + ELEM_ADJ_BeforeEnd, + ELEM_ADJ_AfterEnd, + ELEMENT_ADJACENCY_Max = 2147483647 +} ELEMENT_ADJACENCY; + +typedef enum { + MOVEUNIT_PREVCHAR, + MOVEUNIT_NEXTCHAR, + MOVEUNIT_PREVCLUSTERBEG, + MOVEUNIT_NEXTCLUSTERBEG, + MOVEUNIT_PREVCLUSTEREND, + MOVEUNIT_NEXTCLUSTEREND, + MOVEUNIT_PREVWORDBEG, + MOVEUNIT_NEXTWORDBEG, + MOVEUNIT_PREVWORDEND, + MOVEUNIT_NEXTWORDEND, + MOVEUNIT_PREVPROOFWORD, + MOVEUNIT_NEXTPROOFWORD, + MOVEUNIT_NEXTURLBEG, + MOVEUNIT_PREVURLBEG, + MOVEUNIT_NEXTURLEND, + MOVEUNIT_PREVURLEND, + MOVEUNIT_PREVSENTENCE, + MOVEUNIT_NEXTSENTENCE, + MOVEUNIT_PREVBLOCK, + MOVEUNIT_NEXTBLOCK, + MOVEUNIT_ACTION_Max = 2147483647 +} MOVEUNIT_ACTION; + +typedef enum _SELECTION_TYPE { + SELECTION_TYPE_None, + SELECTION_TYPE_Caret, + SELECTION_TYPE_Text, + SELECTION_TYPE_Control, + SELECTION_TYPE_Max = 2147483647 +} SELECTION_TYPE; + +[ + version(4.0), + uuid(3050F1C5-98B5-11CF-BB82-00AA00BDCE0B) +] +library MSHTML +{ + +importlib("stdole2.tlb"); + +typedef enum _DomConstructor { + DomConstructorObject = 0, + DomConstructorAttr = 1, + DomConstructorBehaviorUrnsCollection = 2, + DomConstructorBookmarkCollection = 3, + DomConstructorCompatibleInfo = 4, + DomConstructorCompatibleInfoCollection = 5, + DomConstructorControlRangeCollection = 6, + DomConstructorCSSCurrentStyleDeclaration = 7, + DomConstructorCSSRuleList = 8, + DomConstructorCSSRuleStyleDeclaration = 9, + DomConstructorCSSStyleDeclaration = 10, + DomConstructorCSSStyleRule = 11, + DomConstructorCSSStyleSheet = 12, + DomConstructorDataTransfer = 13, + DomConstructorDOMImplementation = 14, + DomConstructorElement = 15, + DomConstructorEvent = 16, + DomConstructorHistory = 17, + DomConstructorHTCElementBehaviorDefaults = 18, + DomConstructorHTMLAnchorElement = 19, + DomConstructorHTMLAreaElement = 20, + DomConstructorHTMLAreasCollection = 21, + DomConstructorHTMLBaseElement = 22, + DomConstructorHTMLBaseFontElement = 23, + DomConstructorHTMLBGSoundElement = 24, + DomConstructorHTMLBlockElement = 25, + DomConstructorHTMLBodyElement = 26, + DomConstructorHTMLBRElement = 27, + DomConstructorHTMLButtonElement = 28, + DomConstructorHTMLCollection = 29, + DomConstructorHTMLCommentElement = 30, + DomConstructorHTMLDDElement = 31, + DomConstructorHTMLDivElement = 32, + DomConstructorHTMLDocument = 33, + DomConstructorHTMLDListElement = 34, + DomConstructorHTMLDTElement = 35, + DomConstructorHTMLEmbedElement = 36, + DomConstructorHTMLFieldSetElement = 37, + DomConstructorHTMLFontElement = 38, + DomConstructorHTMLFormElement = 39, + DomConstructorHTMLFrameElement = 40, + DomConstructorHTMLFrameSetElement = 41, + DomConstructorHTMLGenericElement = 42, + DomConstructorHTMLHeadElement = 43, + DomConstructorHTMLHeadingElement = 44, + DomConstructorHTMLHRElement = 45, + DomConstructorHTMLHtmlElement = 46, + DomConstructorHTMLIFrameElement = 47, + DomConstructorHTMLImageElement = 48, + DomConstructorHTMLInputElement = 49, + DomConstructorHTMLIsIndexElement = 50, + DomConstructorHTMLLabelElement = 51, + DomConstructorHTMLLegendElement = 52, + DomConstructorHTMLLIElement = 53, + DomConstructorHTMLLinkElement = 54, + DomConstructorHTMLMapElement = 55, + DomConstructorHTMLMarqueeElement = 56, + DomConstructorHTMLMetaElement = 57, + DomConstructorHTMLModelessDialog = 58, + DomConstructorHTMLNamespaceInfo = 59, + DomConstructorHTMLNamespaceInfoCollection = 60, + DomConstructorHTMLNextIdElement = 61, + DomConstructorHTMLNoShowElement = 62, + DomConstructorHTMLObjectElement = 63, + DomConstructorHTMLOListElement = 64, + DomConstructorHTMLOptionElement = 65, + DomConstructorHTMLParagraphElement = 66, + DomConstructorHTMLParamElement = 67, + DomConstructorHTMLPhraseElement = 68, + DomConstructorHTMLPluginsCollection = 69, + DomConstructorHTMLPopup = 70, + DomConstructorHTMLScriptElement = 71, + DomConstructorHTMLSelectElement = 72, + DomConstructorHTMLSpanElement = 73, + DomConstructorHTMLStyleElement = 74, + DomConstructorHTMLTableCaptionElement = 75, + DomConstructorHTMLTableCellElement = 76, + DomConstructorHTMLTableColElement = 77, + DomConstructorHTMLTableElement = 78, + DomConstructorHTMLTableRowElement = 79, + DomConstructorHTMLTableSectionElement = 80, + DomConstructorHTMLTextAreaElement = 81, + DomConstructorHTMLTextElement = 82, + DomConstructorHTMLTitleElement = 83, + DomConstructorHTMLUListElement = 84, + DomConstructorHTMLUnknownElement = 85, + DomConstructorImage = 86, + DomConstructorLocation = 87, + DomConstructorNamedNodeMap = 88, + DomConstructorNavigator = 89, + DomConstructorNodeList = 90, + DomConstructorOption = 91, + DomConstructorScreen = 92, + DomConstructorSelection = 93, + DomConstructorStaticNodeList = 94, + DomConstructorStorage = 95, + DomConstructorStyleSheetList = 96, + DomConstructorStyleSheetPage = 97, + DomConstructorStyleSheetPageList = 98, + DomConstructorText = 99, + DomConstructorTextRange = 100, + DomConstructorTextRangeCollection = 101, + DomConstructorTextRectangle = 102, + DomConstructorTextRectangleList = 103, + DomConstructorWindow = 104, + DomConstructorXDomainRequest = 105, + DomConstructorXMLHttpRequest = 106, + DomConstructorMax = 107, + DomConstructor_Max = 2147483647L +} DomConstructor; + +[ + odl, + oleautomation, + dual, + uuid(3051049b-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMConstructor : IDispatch +{ + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + HRESULT constructor([retval, out] IDispatch* * p); + + HRESULT LookupGetter([in] BSTR propname, [retval, out] VARIANT* ppDispHandler); + + HRESULT LookupSetter([in] BSTR propname, [retval, out] VARIANT* ppDispHandler); + + HRESULT DefineGetter([in] BSTR propname, [in] VARIANT* pdispHandler); + + HRESULT DefineSetter([in] BSTR propname, [in] VARIANT* pdispHandler); +} + +#define WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL \ + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] \ + IDispatch *constructor() + +interface IHTMLDocument2; +interface IHTMLElement2; +interface IHTMLStyleSheetsCollection; +interface IHTMLFrameBase; +interface IHTMLStorage; +interface IDOMEvent; + +/***************************************************************************** + * IHTMLFiltersCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F3EE-98B5-11Cf-BB82-00AA00BDCE0B) +] +interface IHTMLFiltersCollection : IDispatch +{ + [propget, id(DISPID_IHTMLFILTERSCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLFILTERSCOLLECTION__NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLFILTERSCOLLECTION_ITEM)] + HRESULT item( + [in] VARIANT *pvarIndex, + [retval, out] VARIANT *pvarResult); +} + +/***************************************************************************** + * IHTMLStyle interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F25E-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLStyle : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLE_FONTFAMILY), bindable, displaybind] + HRESULT fontFamily([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTFAMILY), bindable, displaybind] + HRESULT fontFamily([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_FONTSTYLE), bindable, displaybind] + HRESULT fontStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTSTYLE), bindable, displaybind] + HRESULT fontStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_FONTVARIANT), bindable, displaybind] + HRESULT fontVariant([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTVARIANT), bindable, displaybind] + HRESULT fontVariant([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_FONTWEIGHT), bindable, displaybind] + HRESULT fontWeight([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTWEIGHT), bindable, displaybind] + HRESULT fontWeight([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_FONTSIZE), bindable, displaybind] + HRESULT fontSize([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_FONTSIZE), bindable, displaybind] + HRESULT fontSize([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_FONT), bindable, displaybind] + HRESULT font([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONT), bindable, displaybind] + HRESULT font([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_COLOR), bindable, displaybind] + HRESULT color([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_COLOR), bindable, displaybind] + HRESULT color([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUND), bindable, displaybind] + HRESULT background([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUND), bindable, displaybind] + HRESULT background([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDCOLOR), bindable, displaybind] + HRESULT backgroundColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDCOLOR), bindable, displaybind] + HRESULT backgroundColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDIMAGE), bindable, displaybind] + HRESULT backgroundImage([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDIMAGE), bindable, displaybind] + HRESULT backgroundImage([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDREPEAT), bindable, displaybind] + HRESULT backgroundRepeat([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDREPEAT), bindable, displaybind] + HRESULT backgroundRepeat([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT), bindable, displaybind] + HRESULT backgroundAttachment([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT), bindable, displaybind] + HRESULT backgroundAttachment([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITION), bindable, displaybind] + HRESULT backgroundPosition([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITION), bindable, displaybind] + HRESULT backgroundPosition([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX), bindable, displaybind] + HRESULT backgroundPositionX([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX), bindable, displaybind] + HRESULT backgroundPositionX([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY), bindable, displaybind] + HRESULT backgroundPositionY([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY), bindable, displaybind] + HRESULT backgroundPositionY([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_WORDSPACING), bindable, displaybind] + HRESULT wordSpacing([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_WORDSPACING), bindable, displaybind] + HRESULT wordSpacing([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_LETTERSPACING), bindable, displaybind] + HRESULT letterSpacing([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_LETTERSPACING), bindable, displaybind] + HRESULT letterSpacing([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATION), bindable, displaybind] + HRESULT textDecoration([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATION), bindable, displaybind] + HRESULT textDecoration([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONNONE), bindable, displaybind] + HRESULT textDecorationNone([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONNONE), bindable, displaybind] + HRESULT textDecorationNone([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE), bindable, displaybind] + HRESULT textDecorationUnderline([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE), bindable, displaybind] + HRESULT textDecorationUnderline([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE), bindable, displaybind] + HRESULT textDecorationOverline([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE), bindable, displaybind] + HRESULT textDecorationOverline([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH), bindable, displaybind] + HRESULT textDecorationLineThrough([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH), bindable, displaybind] + HRESULT textDecorationLineThrough([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK), bindable, displaybind] + HRESULT textDecorationBlink([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK), bindable, displaybind] + HRESULT textDecorationBlink([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSTYLE_VERTICALALIGN), bindable, displaybind] + HRESULT verticalAlign([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_VERTICALALIGN), bindable, displaybind] + HRESULT verticalAlign([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTTRANSFORM), bindable, displaybind] + HRESULT textTransform([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTTRANSFORM), bindable, displaybind] + HRESULT textTransform([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTALIGN), bindable, displaybind] + HRESULT textAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTALIGN), bindable, displaybind] + HRESULT textAlign([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_TEXTINDENT), bindable, displaybind] + HRESULT textIndent([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTINDENT), bindable, displaybind] + HRESULT textIndent([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_LINEHEIGHT), bindable, displaybind] + HRESULT lineHeight([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_LINEHEIGHT), bindable, displaybind] + HRESULT lineHeight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_MARGINTOP), bindable, displaybind] + HRESULT marginTop([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINTOP), bindable, displaybind] + HRESULT marginTop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_MARGINRIGHT), bindable, displaybind] + HRESULT marginRight([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINRIGHT), bindable, displaybind] + HRESULT marginRight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_MARGINBOTTOM), bindable, displaybind] + HRESULT marginBottom([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINBOTTOM), bindable, displaybind] + HRESULT marginBottom([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_MARGINLEFT), bindable, displaybind] + HRESULT marginLeft([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINLEFT), bindable, displaybind] + HRESULT marginLeft([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_MARGIN), bindable, displaybind] + HRESULT margin([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_MARGIN), bindable, displaybind] + HRESULT margin([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGTOP), bindable, displaybind] + HRESULT paddingTop([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGTOP), bindable, displaybind] + HRESULT paddingTop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGRIGHT), bindable, displaybind] + HRESULT paddingRight([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGRIGHT), bindable, displaybind] + HRESULT paddingRight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGBOTTOM), bindable, displaybind] + HRESULT paddingBottom([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGBOTTOM), bindable, displaybind] + HRESULT paddingBottom([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGLEFT), bindable, displaybind] + HRESULT paddingLeft([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGLEFT), bindable, displaybind] + HRESULT paddingLeft([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_PADDING), bindable, displaybind] + HRESULT padding([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_PADDING), bindable, displaybind] + HRESULT padding([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDER), bindable, displaybind] + HRESULT border([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDER), bindable, displaybind] + HRESULT border([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOP), bindable, displaybind] + HRESULT borderTop([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOP), bindable, displaybind] + HRESULT borderTop([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHT), bindable, displaybind] + HRESULT borderRight([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHT), bindable, displaybind] + HRESULT borderRight([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOM), bindable, displaybind] + HRESULT borderBottom([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOM), bindable, displaybind] + HRESULT borderBottom([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFT), bindable, displaybind] + HRESULT borderLeft([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFT), bindable, displaybind] + HRESULT borderLeft([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERCOLOR), bindable, displaybind] + HRESULT borderColor([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERCOLOR), bindable, displaybind] + HRESULT borderColor([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOPCOLOR), bindable, displaybind] + HRESULT borderTopColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOPCOLOR), bindable, displaybind] + HRESULT borderTopColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR), bindable, displaybind] + HRESULT borderRightColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR), bindable, displaybind] + HRESULT borderRightColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR), bindable, displaybind] + HRESULT borderBottomColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR), bindable, displaybind] + HRESULT borderBottomColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFTCOLOR), bindable, displaybind] + HRESULT borderLeftColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFTCOLOR), bindable, displaybind] + HRESULT borderLeftColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERWIDTH), bindable, displaybind] + HRESULT borderWidth([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERWIDTH), bindable, displaybind] + HRESULT borderWidth([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOPWIDTH), bindable, displaybind] + HRESULT borderTopWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOPWIDTH), bindable, displaybind] + HRESULT borderTopWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH), bindable, displaybind] + HRESULT borderRightWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH), bindable, displaybind] + HRESULT borderRightWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH), bindable, displaybind] + HRESULT borderBottomWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH), bindable, displaybind] + HRESULT borderBottomWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFTWIDTH), bindable, displaybind] + HRESULT borderLeftWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFTWIDTH), bindable, displaybind] + HRESULT borderLeftWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERSTYLE), bindable, displaybind] + HRESULT borderStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERSTYLE), bindable, displaybind] + HRESULT borderStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOPSTYLE), bindable, displaybind] + HRESULT borderTopStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOPSTYLE), bindable, displaybind] + HRESULT borderTopStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE), bindable, displaybind] + HRESULT borderRightStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE), bindable, displaybind] + HRESULT borderRightStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE), bindable, displaybind] + HRESULT borderBottomStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE), bindable, displaybind] + HRESULT borderBottomStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFTSTYLE), bindable, displaybind] + HRESULT borderLeftStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFTSTYLE), bindable, displaybind] + HRESULT borderLeftStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_WIDTH), bindable, displaybind] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_WIDTH), bindable, displaybind] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_HEIGHT), bindable, displaybind] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_HEIGHT), bindable, displaybind] + HRESULT height([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_STYLEFLOAT), bindable, displaybind] + HRESULT styleFloat([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_STYLEFLOAT), bindable, displaybind] + HRESULT styleFloat([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_CLEAR), bindable, displaybind] + HRESULT clear([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CLEAR), bindable, displaybind] + HRESULT clear([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_DISPLAY), bindable, displaybind] + HRESULT display([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_DISPLAY), bindable, displaybind] + HRESULT display([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_VISIBILITY), bindable, displaybind] + HRESULT visibility([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_VISIBILITY), bindable, displaybind] + HRESULT visibility([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLETYPE), bindable, displaybind] + HRESULT listStyleType([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLETYPE), bindable, displaybind] + HRESULT listStyleType([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLEPOSITION), bindable, displaybind] + HRESULT listStylePosition([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLEPOSITION), bindable, displaybind] + HRESULT listStylePosition([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLEIMAGE), bindable, displaybind] + HRESULT listStyleImage([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLEIMAGE), bindable, displaybind] + HRESULT listStyleImage([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLE), bindable, displaybind] + HRESULT listStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLE), bindable, displaybind] + HRESULT listStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_WHITESPACE), bindable, displaybind] + HRESULT whiteSpace([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_WHITESPACE), bindable, displaybind] + HRESULT whiteSpace([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_TOP), bindable, displaybind] + HRESULT top([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_TOP), bindable, displaybind] + HRESULT top([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_LEFT), bindable, displaybind] + HRESULT left([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_LEFT), bindable, displaybind] + HRESULT left([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLSTYLE_POSITION), bindable, displaybind] + HRESULT position([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_ZINDEX), bindable, displaybind] + HRESULT zIndex([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_ZINDEX), bindable, displaybind] + HRESULT zIndex([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE_OVERFLOW), bindable, displaybind] + HRESULT overflow([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_OVERFLOW), bindable, displaybind] + HRESULT overflow([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_PAGEBREAKBEFORE), bindable, displaybind] + HRESULT pageBreakBefore([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_PAGEBREAKBEFORE), bindable, displaybind] + HRESULT pageBreakBefore([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_PAGEBREAKAFTER), bindable, displaybind] + HRESULT pageBreakAfter([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_PAGEBREAKAFTER), bindable, displaybind] + HRESULT pageBreakAfter([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_CSSTEXT), bindable, displaybind] + HRESULT cssText([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CSSTEXT), bindable, displaybind] + HRESULT cssText([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_PIXELTOP), bindable, displaybind, hidden] + HRESULT pixelTop([in] LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELTOP), bindable, displaybind, hidden] + HRESULT pixelTop([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSTYLE_PIXELLEFT), bindable, displaybind, hidden] + HRESULT pixelLeft([in] LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELLEFT), bindable, displaybind, hidden] + HRESULT pixelLeft([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSTYLE_PIXELWIDTH), bindable, displaybind, hidden] + HRESULT pixelWidth([in] LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELWIDTH), bindable, displaybind, hidden] + HRESULT pixelWidth([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSTYLE_PIXELHEIGHT), bindable, displaybind, hidden] + HRESULT pixelHeight([in] LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELHEIGHT), bindable, displaybind, hidden] + HRESULT pixelHeight([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSTYLE_POSTOP), bindable, displaybind] + HRESULT posTop([in] float v); + + [propget, id(DISPID_IHTMLSTYLE_POSTOP), bindable, displaybind] + HRESULT posTop([retval, out] float *p); + + [propput, id(DISPID_IHTMLSTYLE_POSLEFT), bindable, displaybind] + HRESULT posLeft([in] float v); + + [propget, id(DISPID_IHTMLSTYLE_POSLEFT), bindable, displaybind] + HRESULT posLeft([retval, out] float *p); + + [propput, id(DISPID_IHTMLSTYLE_POSWIDTH), bindable, displaybind] + HRESULT posWidth([in] float v); + + [propget, id(DISPID_IHTMLSTYLE_POSWIDTH), bindable, displaybind] + HRESULT posWidth([retval, out] float *p); + + [propput, id(DISPID_IHTMLSTYLE_POSHEIGHT), bindable, displaybind] + HRESULT posHeight([in] float v); + + [propget, id(DISPID_IHTMLSTYLE_POSHEIGHT), bindable, displaybind] + HRESULT posHeight([retval, out] float *p); + + [propput, id(DISPID_IHTMLSTYLE_CURSOR), bindable, displaybind] + HRESULT cursor([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CURSOR), bindable, displaybind] + HRESULT cursor([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_CLIP), bindable, displaybind] + HRESULT clip([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CLIP), bindable, displaybind] + HRESULT clip([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE_FILTER), bindable, displaybind] + HRESULT filter([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FILTER), bindable, displaybind] + HRESULT filter([retval, out] BSTR *p); + + [id(DISPID_IHTMLSTYLE_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strAttributeName, + [in] VARIANT AttributeValue, + [defaultvalue(1), in] LONG lFlags); + + [id(DISPID_IHTMLSTYLE_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strAttributeName, + [defaultvalue(0), in] LONG lFlags, + [retval, out] VARIANT *AttributeValue); + + [id(DISPID_IHTMLSTYLE_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR strAttributeName, + [defaultvalue(1), in] + LONG lFlags, + [retval, out] VARIANT_BOOL *pfSuccess); + + [id(DISPID_IHTMLSTYLE_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); +} + +/***************************************************************************** + * IHTMLStyle2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4a2-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyle2 : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLE2_TABLELAYOUT), displaybind, bindable] + HRESULT tableLayout([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TABLELAYOUT), displaybind, bindable] + HRESULT tableLayout([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_BORDERCOLLAPSE), displaybind, bindable] + HRESULT borderCollapse([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_BORDERCOLLAPSE), displaybind, bindable] + HRESULT borderCollapse([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_DIRECTION), displaybind, bindable] + HRESULT direction([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_DIRECTION), displaybind, bindable] + HRESULT direction([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_BEHAVIOR), displaybind, bindable] + HRESULT behavior([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_BEHAVIOR), displaybind, bindable] + HRESULT behavior([out, retval] BSTR *p); + + [id(DISPID_IHTMLSTYLE2_SETEXPRESSION)] + HRESULT setExpression( + [in] BSTR propname, + [in] BSTR expression, + [in, defaultvalue("")] BSTR language); + + [id(DISPID_IHTMLSTYLE2_GETEXPRESSION)] + HRESULT getExpression( + [in] BSTR propname, + [out, retval] VARIANT *expression); + + [id(DISPID_IHTMLSTYLE2_REMOVEEXPRESSION)] + HRESULT removeExpression( + [in] BSTR propname, + [out, retval] VARIANT_BOOL *pfSuccess); + + [propput, id(DISPID_IHTMLSTYLE2_POSITION), displaybind, bindable] + HRESULT position([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_POSITION), displaybind, bindable] + HRESULT position([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_UNICODEBIDI), displaybind, bindable] + HRESULT unicodeBidi([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_UNICODEBIDI), displaybind, bindable] + HRESULT unicodeBidi([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_BOTTOM), displaybind, bindable] + HRESULT bottom([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_BOTTOM), displaybind, bindable] + HRESULT bottom([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE2_RIGHT), displaybind, bindable] + HRESULT right([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_RIGHT), displaybind, bindable] + HRESULT right([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE2_PIXELBOTTOM), displaybind, bindable, hidden] + HRESULT pixelBottom([in] LONG v); + + [propget, id(DISPID_IHTMLSTYLE2_PIXELBOTTOM), displaybind, bindable, hidden] + HRESULT pixelBottom([out, retval] LONG *p); + + [propput, id(DISPID_IHTMLSTYLE2_PIXELRIGHT), displaybind, bindable, hidden] + HRESULT pixelRight([in] LONG v); + + [propget, id(DISPID_IHTMLSTYLE2_PIXELRIGHT), displaybind, bindable, hidden] + HRESULT pixelRight([out, retval] LONG *p); + + [propput, id(DISPID_IHTMLSTYLE2_POSBOTTOM), displaybind, bindable] + HRESULT posBottom([in] float v); + + [propget, id(DISPID_IHTMLSTYLE2_POSBOTTOM), displaybind, bindable] + HRESULT posBottom([out, retval] float *p); + + [propput, id(DISPID_IHTMLSTYLE2_POSRIGHT), displaybind, bindable] + HRESULT posRight([in] float v); + + [propget, id(DISPID_IHTMLSTYLE2_POSRIGHT), displaybind, bindable] + HRESULT posRight([out, retval] float *p); + + [propput, id(DISPID_IHTMLSTYLE2_IMEMODE), displaybind, bindable] + HRESULT imeMode([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_IMEMODE), displaybind, bindable] + HRESULT imeMode([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_RUBYALIGN), displaybind, bindable] + HRESULT rubyAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_RUBYALIGN), displaybind, bindable] + HRESULT rubyAlign([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_RUBYPOSITION), displaybind, bindable] + HRESULT rubyPosition([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_RUBYPOSITION), displaybind, bindable] + HRESULT rubyPosition([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_RUBYOVERHANG), displaybind, bindable] + HRESULT rubyOverhang([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_RUBYOVERHANG), displaybind, bindable] + HRESULT rubyOverhang([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR), displaybind, bindable] + HRESULT layoutGridChar([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR), displaybind, bindable] + HRESULT layoutGridChar([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE), displaybind, bindable] + HRESULT layoutGridLine([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE), displaybind, bindable] + HRESULT layoutGridLine([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE), displaybind, bindable] + HRESULT layoutGridMode([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE), displaybind, bindable] + HRESULT layoutGridMode([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE), displaybind, bindable] + HRESULT layoutGridType([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE), displaybind, bindable] + HRESULT layoutGridType([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRID), displaybind, bindable, nonbrowsable] + HRESULT layoutGrid([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRID), displaybind, bindable, nonbrowsable] + HRESULT layoutGrid([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_WORDBREAK), displaybind, bindable] + HRESULT wordBreak([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_WORDBREAK), displaybind, bindable] + HRESULT wordBreak([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_LINEBREAK), displaybind, bindable] + HRESULT lineBreak([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LINEBREAK), displaybind, bindable] + HRESULT lineBreak([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFY), displaybind, bindable] + HRESULT textJustify([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFY), displaybind, bindable] + HRESULT textJustify([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM), displaybind, bindable] + HRESULT textJustifyTrim([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM), displaybind, bindable] + HRESULT textJustifyTrim([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTKASHIDA), displaybind, bindable] + HRESULT textKashida([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTKASHIDA), displaybind, bindable] + HRESULT textKashida([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTAUTOSPACE), displaybind, bindable] + HRESULT textAutospace([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTAUTOSPACE), displaybind, bindable] + HRESULT textAutospace([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_OVERFLOWX), displaybind, bindable] + HRESULT overflowX([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_OVERFLOWX), displaybind, bindable] + HRESULT overflowX([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_OVERFLOWY), displaybind, bindable] + HRESULT overflowY([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_OVERFLOWY), displaybind, bindable] + HRESULT overflowY([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE2_ACCELERATOR), displaybind, bindable] + HRESULT accelerator([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_ACCELERATOR), displaybind, bindable] + HRESULT accelerator([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLRuleStyle interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F3CF-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLRuleStyle : IDispatch +{ + [propput, id(DISPID_IHTMLRULESTYLE_FONTFAMILY), bindable, displaybind] + HRESULT fontFamily([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_FONTFAMILY), bindable, displaybind] + HRESULT fontFamily([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_FONTSTYLE), bindable, displaybind] + HRESULT fontStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_FONTSTYLE), bindable, displaybind] + HRESULT fontStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_FONTVARIANT), bindable, displaybind] + HRESULT fontVariant([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_FONTVARIANT), bindable, displaybind] + HRESULT fontVariant([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_FONTWEIGHT), bindable, displaybind] + HRESULT fontWeight([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_FONTWEIGHT), bindable, displaybind] + HRESULT fontWeight([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_FONTSIZE), bindable, displaybind] + HRESULT fontSize([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_FONTSIZE), bindable, displaybind] + HRESULT fontSize([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_FONT), bindable, displaybind] + HRESULT font([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_FONT), bindable, displaybind] + HRESULT font([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_COLOR), bindable, displaybind] + HRESULT color([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_COLOR), bindable, displaybind] + HRESULT color([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUND), bindable, displaybind] + HRESULT background([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUND), bindable, displaybind] + HRESULT background([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR), bindable, displaybind] + HRESULT backgroundColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR), bindable, displaybind] + HRESULT backgroundColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDIMAGE), bindable, displaybind] + HRESULT backgroundImage([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDIMAGE), bindable, displaybind] + HRESULT backgroundImage([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDREPEAT), bindable, displaybind] + HRESULT backgroundRepeat([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDREPEAT), bindable, displaybind] + HRESULT backgroundRepeat([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDATTACHMENT), bindable, displaybind] + HRESULT backgroundAttachment([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDATTACHMENT), bindable, displaybind] + HRESULT backgroundAttachment([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITION), bindable, displaybind] + HRESULT backgroundPosition([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITION), bindable, displaybind] + HRESULT backgroundPosition([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONX), bindable, displaybind] + HRESULT backgroundPositionX([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONX), bindable, displaybind] + HRESULT backgroundPositionX([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONY), bindable, displaybind] + HRESULT backgroundPositionY([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONY), bindable, displaybind] + HRESULT backgroundPositionY([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_WORDSPACING), bindable, displaybind] + HRESULT wordSpacing([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_WORDSPACING), bindable, displaybind] + HRESULT wordSpacing([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LETTERSPACING), bindable, displaybind] + HRESULT letterSpacing([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_LETTERSPACING), bindable, displaybind] + HRESULT letterSpacing([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTDECORATION), bindable, displaybind] + HRESULT textDecoration([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTDECORATION), bindable, displaybind] + HRESULT textDecoration([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONNONE), bindable, displaybind] + HRESULT textDecorationNone([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONNONE), bindable, displaybind] + HRESULT textDecorationNone([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONUNDERLINE), bindable, displaybind] + HRESULT textDecorationUnderline([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONUNDERLINE), bindable, displaybind] + HRESULT textDecorationUnderline([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONOVERLINE), bindable, displaybind] + HRESULT textDecorationOverline([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONOVERLINE), bindable, displaybind] + HRESULT textDecorationOverline([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONLINETHROUGH), bindable, displaybind] + HRESULT textDecorationLineThrough([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONLINETHROUGH), bindable, displaybind] + HRESULT textDecorationLineThrough([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONBLINK), bindable, displaybind] + HRESULT textDecorationBlink([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTDECORATIONBLINK), bindable, displaybind] + HRESULT textDecorationBlink([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLRULESTYLE_VERTICALALIGN), bindable, displaybind] + HRESULT verticalAlign([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_VERTICALALIGN), bindable, displaybind] + HRESULT verticalAlign([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTTRANSFORM), bindable, displaybind] + HRESULT textTransform([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTTRANSFORM), bindable, displaybind] + HRESULT textTransform([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTALIGN), bindable, displaybind] + HRESULT textAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTALIGN), bindable, displaybind] + HRESULT textAlign([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TEXTINDENT), bindable, displaybind] + HRESULT textIndent([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_TEXTINDENT), bindable, displaybind] + HRESULT textIndent([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LINEHEIGHT), bindable, displaybind] + HRESULT lineHeight([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_LINEHEIGHT), bindable, displaybind] + HRESULT lineHeight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_MARGINTOP), bindable, displaybind] + HRESULT marginTop([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_MARGINTOP), bindable, displaybind] + HRESULT marginTop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_MARGINRIGHT), bindable, displaybind] + HRESULT marginRight([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_MARGINRIGHT), bindable, displaybind] + HRESULT marginRight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_MARGINBOTTOM), bindable, displaybind] + HRESULT marginBottom([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_MARGINBOTTOM), bindable, displaybind] + HRESULT marginBottom([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_MARGINLEFT), bindable, displaybind] + HRESULT marginLeft([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_MARGINLEFT), bindable, displaybind] + HRESULT marginLeft([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_MARGIN), bindable, displaybind] + HRESULT margin([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_MARGIN), bindable, displaybind] + HRESULT margin([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PADDINGTOP), bindable, displaybind] + HRESULT paddingTop([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_PADDINGTOP), bindable, displaybind] + HRESULT paddingTop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PADDINGRIGHT), bindable, displaybind] + HRESULT paddingRight([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_PADDINGRIGHT), bindable, displaybind] + HRESULT paddingRight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PADDINGBOTTOM), bindable, displaybind] + HRESULT paddingBottom([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_PADDINGBOTTOM), bindable, displaybind] + HRESULT paddingBottom([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PADDINGLEFT), bindable, displaybind] + HRESULT paddingLeft([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_PADDINGLEFT), bindable, displaybind] + HRESULT paddingLeft([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PADDING), bindable, displaybind] + HRESULT padding([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_PADDING), bindable, displaybind] + HRESULT padding([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDER), bindable, displaybind] + HRESULT border([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDER), bindable, displaybind] + HRESULT border([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERTOP), bindable, displaybind] + HRESULT borderTop([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERTOP), bindable, displaybind] + HRESULT borderTop([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERRIGHT), bindable, displaybind] + HRESULT borderRight([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERRIGHT), bindable, displaybind] + HRESULT borderRight([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOM), bindable, displaybind] + HRESULT borderBottom([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOM), bindable, displaybind] + HRESULT borderBottom([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERLEFT), bindable, displaybind] + HRESULT borderLeft([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERLEFT), bindable, displaybind] + HRESULT borderLeft([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERCOLOR), bindable, displaybind] + HRESULT borderColor([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERCOLOR), bindable, displaybind] + HRESULT borderColor([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERTOPCOLOR), bindable, displaybind] + HRESULT borderTopColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERTOPCOLOR), bindable, displaybind] + HRESULT borderTopColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERRIGHTCOLOR), bindable, displaybind] + HRESULT borderRightColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERRIGHTCOLOR), bindable, displaybind] + HRESULT borderRightColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOMCOLOR), bindable, displaybind] + HRESULT borderBottomColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOMCOLOR), bindable, displaybind] + HRESULT borderBottomColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERLEFTCOLOR), bindable, displaybind] + HRESULT borderLeftColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERLEFTCOLOR), bindable, displaybind] + HRESULT borderLeftColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERWIDTH), bindable, displaybind] + HRESULT borderWidth([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERWIDTH), bindable, displaybind] + HRESULT borderWidth([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERTOPWIDTH), bindable, displaybind] + HRESULT borderTopWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERTOPWIDTH), bindable, displaybind] + HRESULT borderTopWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERRIGHTWIDTH), bindable, displaybind] + HRESULT borderRightWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERRIGHTWIDTH), bindable, displaybind] + HRESULT borderRightWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOMWIDTH), bindable, displaybind] + HRESULT borderBottomWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOMWIDTH), bindable, displaybind] + HRESULT borderBottomWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERLEFTWIDTH), bindable, displaybind] + HRESULT borderLeftWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERLEFTWIDTH), bindable, displaybind] + HRESULT borderLeftWidth([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERSTYLE), bindable, displaybind] + HRESULT borderStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERSTYLE), bindable, displaybind] + HRESULT borderStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERTOPSTYLE), bindable, displaybind] + HRESULT borderTopStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERTOPSTYLE), bindable, displaybind] + HRESULT borderTopStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERRIGHTSTYLE), bindable, displaybind] + HRESULT borderRightStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERRIGHTSTYLE), bindable, displaybind] + HRESULT borderRightStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOMSTYLE), bindable, displaybind] + HRESULT borderBottomStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERBOTTOMSTYLE), bindable, displaybind] + HRESULT borderBottomStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_BORDERLEFTSTYLE), bindable, displaybind] + HRESULT borderLeftStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_BORDERLEFTSTYLE), bindable, displaybind] + HRESULT borderLeftStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_WIDTH), bindable, displaybind] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_WIDTH), bindable, displaybind] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_HEIGHT), bindable, displaybind] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_HEIGHT), bindable, displaybind] + HRESULT height([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_STYLEFLOAT), bindable, displaybind] + HRESULT styleFloat([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_STYLEFLOAT), bindable, displaybind] + HRESULT styleFloat([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_CLEAR), bindable, displaybind] + HRESULT clear([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_CLEAR), bindable, displaybind] + HRESULT clear([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_DISPLAY), bindable, displaybind] + HRESULT display([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_DISPLAY), bindable, displaybind] + HRESULT display([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_VISIBILITY), bindable, displaybind] + HRESULT visibility([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_VISIBILITY), bindable, displaybind] + HRESULT visibility([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LISTSTYLETYPE), bindable, displaybind] + HRESULT listStyleType([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_LISTSTYLETYPE), bindable, displaybind] + HRESULT listStyleType([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LISTSTYLEPOSITION), bindable, displaybind] + HRESULT listStylePosition([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_LISTSTYLEPOSITION), bindable, displaybind] + HRESULT listStylePosition([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LISTSTYLEIMAGE), bindable, displaybind] + HRESULT listStyleImage([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_LISTSTYLEIMAGE), bindable, displaybind] + HRESULT listStyleImage([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LISTSTYLE), bindable, displaybind] + HRESULT listStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_LISTSTYLE), bindable, displaybind] + HRESULT listStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_WHITESPACE), bindable, displaybind] + HRESULT whiteSpace([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_WHITESPACE), bindable, displaybind] + HRESULT whiteSpace([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_TOP), bindable, displaybind] + HRESULT top([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_TOP), bindable, displaybind] + HRESULT top([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_LEFT), bindable, displaybind] + HRESULT left([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_LEFT), bindable, displaybind] + HRESULT left([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLRULESTYLE_POSITION), bindable, displaybind] + HRESULT position([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_ZINDEX), bindable, displaybind] + HRESULT zIndex([in] VARIANT v); + + [propget, id(DISPID_IHTMLRULESTYLE_ZINDEX), bindable, displaybind] + HRESULT zIndex([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRULESTYLE_OVERFLOW), bindable, displaybind] + HRESULT overflow([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_OVERFLOW), bindable, displaybind] + HRESULT overflow([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PAGEBREAKBEFORE), bindable, displaybind] + HRESULT pageBreakBefore([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_PAGEBREAKBEFORE), bindable, displaybind] + HRESULT pageBreakBefore([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_PAGEBREAKAFTER), bindable, displaybind] + HRESULT pageBreakAfter([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_PAGEBREAKAFTER), bindable, displaybind] + HRESULT pageBreakAfter([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_CSSTEXT), bindable, displaybind] + HRESULT cssText([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_CSSTEXT), bindable, displaybind] + HRESULT cssText([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_CURSOR), bindable, displaybind] + HRESULT cursor([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_CURSOR), bindable, displaybind] + HRESULT cursor([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_CLIP), bindable, displaybind] + HRESULT clip([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_CLIP), bindable, displaybind] + HRESULT clip([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRULESTYLE_FILTER), bindable, displaybind] + HRESULT filter([in] BSTR v); + + [propget, id(DISPID_IHTMLRULESTYLE_FILTER), bindable, displaybind] + HRESULT filter([retval, out] BSTR *p); + + [id(DISPID_IHTMLRULESTYLE_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strAttributeName, + [in] VARIANT AttributeValue, + [defaultvalue(1), in] LONG lFlags); + + [id(DISPID_IHTMLRULESTYLE_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strAttributeName, + [defaultvalue(0), in] LONG lFlags, + [retval, out] VARIANT *AttributeValue); + + [id(DISPID_IHTMLRULESTYLE_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR strAttributeName, + [defaultvalue(1), in] LONG lFlags, + [retval, out] VARIANT_BOOL *pfSuccess); +} + +/***************************************************************************** + * DispHTMLStyle dispinterface + */ +[ + hidden, + uuid(3050f55a-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyle +{ +properties: +methods: + [propput, id(DISPID_IHTMLSTYLE_FONTFAMILY), displaybind, bindable] + void fontFamily(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTFAMILY), displaybind, bindable] + BSTR fontFamily(); + + [propput, id(DISPID_IHTMLSTYLE_FONTSTYLE), displaybind, bindable] + void fontStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTSTYLE), displaybind, bindable] + BSTR fontStyle(); + + [propput, id(DISPID_IHTMLSTYLE_FONTVARIANT), displaybind, bindable] + void fontVariant(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTVARIANT), displaybind, bindable] + BSTR fontVariant(); + + [propput, id(DISPID_IHTMLSTYLE_FONTWEIGHT), displaybind, bindable] + void fontWeight(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONTWEIGHT), displaybind, bindable] + BSTR fontWeight(); + + [propput, id(DISPID_IHTMLSTYLE_FONTSIZE), displaybind, bindable] + void fontSize(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_FONTSIZE), displaybind, bindable] + VARIANT fontSize(); + + [propput, id(DISPID_IHTMLSTYLE_FONT), displaybind, bindable, nonbrowsable] + void font(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FONT), displaybind, bindable, nonbrowsable] + BSTR font(); + + [propput, id(DISPID_IHTMLSTYLE_COLOR), displaybind, bindable] + void color(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_COLOR), displaybind, bindable] + VARIANT color(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUND), displaybind, bindable, nonbrowsable] + void background(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUND), displaybind, bindable, nonbrowsable] + BSTR background(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDCOLOR), displaybind, bindable] + void backgroundColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDCOLOR), displaybind, bindable] + VARIANT backgroundColor(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDIMAGE), displaybind, bindable] + void backgroundImage(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDIMAGE), displaybind, bindable] + BSTR backgroundImage(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDREPEAT), displaybind, bindable] + void backgroundRepeat(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDREPEAT), displaybind, bindable] + BSTR backgroundRepeat(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT), displaybind, bindable] + void backgroundAttachment(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT), displaybind, bindable] + BSTR backgroundAttachment(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITION), displaybind, bindable, nonbrowsable] + void backgroundPosition(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITION), displaybind, bindable, nonbrowsable] + BSTR backgroundPosition(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX), displaybind, bindable] + void backgroundPositionX(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX), displaybind, bindable] + VARIANT backgroundPositionX(); + + [propput, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY), displaybind, bindable] + void backgroundPositionY(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY), displaybind, bindable] + VARIANT backgroundPositionY(); + + [propput, id(DISPID_IHTMLSTYLE_WORDSPACING), displaybind, bindable] + void wordSpacing(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_WORDSPACING), displaybind, bindable] + VARIANT wordSpacing(); + + [propput, id(DISPID_IHTMLSTYLE_LETTERSPACING), displaybind, bindable] + void letterSpacing(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_LETTERSPACING), displaybind, bindable] + VARIANT letterSpacing(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATION), displaybind, bindable] + void textDecoration(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATION), displaybind, bindable] + BSTR textDecoration(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONNONE), displaybind, bindable] + void textDecorationNone(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONNONE), displaybind, bindable] + VARIANT_BOOL textDecorationNone(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE), displaybind, bindable] + void textDecorationUnderline(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE), displaybind, bindable] + VARIANT_BOOL textDecorationUnderline(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE), displaybind, bindable] + void textDecorationOverline(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE), displaybind, bindable] + VARIANT_BOOL textDecorationOverline(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH), displaybind, bindable] + void textDecorationLineThrough(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH), displaybind, bindable] + VARIANT_BOOL textDecorationLineThrough(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK), displaybind, bindable] + void textDecorationBlink(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK), displaybind, bindable] + VARIANT_BOOL textDecorationBlink(); + + [propput, id(DISPID_IHTMLSTYLE_VERTICALALIGN), displaybind, bindable] + void verticalAlign(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_VERTICALALIGN), displaybind, bindable] + VARIANT verticalAlign(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTTRANSFORM), displaybind, bindable] + void textTransform(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTTRANSFORM), displaybind, bindable] + BSTR textTransform(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTALIGN), displaybind, bindable] + void textAlign(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTALIGN), displaybind, bindable] + BSTR textAlign(); + + [propput, id(DISPID_IHTMLSTYLE_TEXTINDENT), displaybind, bindable] + void textIndent(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_TEXTINDENT), displaybind, bindable] + VARIANT textIndent(); + + [propput, id(DISPID_IHTMLSTYLE_LINEHEIGHT), displaybind, bindable] + void lineHeight(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_LINEHEIGHT), displaybind, bindable] + VARIANT lineHeight(); + + [propput, id(DISPID_IHTMLSTYLE_MARGINTOP), displaybind, bindable] + void marginTop(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINTOP), displaybind, bindable] + VARIANT marginTop(); + + [propput, id(DISPID_IHTMLSTYLE_MARGINRIGHT), displaybind, bindable] + void marginRight(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINRIGHT), displaybind, bindable] + VARIANT marginRight(); + + [propput, id(DISPID_IHTMLSTYLE_MARGINBOTTOM), displaybind, bindable] + void marginBottom(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINBOTTOM), displaybind, bindable] + VARIANT marginBottom(); + + [propput, id(DISPID_IHTMLSTYLE_MARGINLEFT), displaybind, bindable] + void marginLeft(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_MARGINLEFT), displaybind, bindable] + VARIANT marginLeft(); + + [propput, id(DISPID_IHTMLSTYLE_MARGIN), displaybind, bindable, nonbrowsable] + void margin(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_MARGIN), displaybind, bindable, nonbrowsable] + BSTR margin(); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGTOP), displaybind, bindable] + void paddingTop(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGTOP), displaybind, bindable] + VARIANT paddingTop(); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGRIGHT), displaybind, bindable] + void paddingRight(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGRIGHT), displaybind, bindable] + VARIANT paddingRight(); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGBOTTOM), displaybind, bindable] + void paddingBottom(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGBOTTOM), displaybind, bindable] + VARIANT paddingBottom(); + + [propput, id(DISPID_IHTMLSTYLE_PADDINGLEFT), displaybind, bindable] + void paddingLeft(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_PADDINGLEFT), displaybind, bindable] + VARIANT paddingLeft(); + + [propput, id(DISPID_IHTMLSTYLE_PADDING), displaybind, bindable, nonbrowsable] + void padding(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_PADDING), displaybind, bindable, nonbrowsable] + BSTR padding(); + + [propput, id(DISPID_IHTMLSTYLE_BORDER), displaybind, bindable, nonbrowsable] + void border(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDER), displaybind, bindable, nonbrowsable] + BSTR border(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOP), displaybind, bindable] + void borderTop(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOP), displaybind, bindable] + BSTR borderTop(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHT), displaybind, bindable] + void borderRight(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHT), displaybind, bindable] + BSTR borderRight(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOM), displaybind, bindable] + void borderBottom(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOM), displaybind, bindable] + BSTR borderBottom(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFT), displaybind, bindable] + void borderLeft(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFT), displaybind, bindable] + BSTR borderLeft(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERCOLOR), displaybind, bindable] + void borderColor(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERCOLOR), displaybind, bindable] + BSTR borderColor(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOPCOLOR), displaybind, bindable] + void borderTopColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOPCOLOR), displaybind, bindable] + VARIANT borderTopColor(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR), displaybind, bindable] + void borderRightColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR), displaybind, bindable] + VARIANT borderRightColor(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR), displaybind, bindable] + void borderBottomColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR), displaybind, bindable] + VARIANT borderBottomColor(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFTCOLOR), displaybind, bindable] + void borderLeftColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFTCOLOR), displaybind, bindable] + VARIANT borderLeftColor(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERWIDTH), displaybind, bindable] + void borderWidth(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERWIDTH), displaybind, bindable] + BSTR borderWidth(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOPWIDTH), displaybind, bindable] + void borderTopWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOPWIDTH), displaybind, bindable] + VARIANT borderTopWidth(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH), displaybind, bindable] + void borderRightWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH), displaybind, bindable] + VARIANT borderRightWidth(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH), displaybind, bindable] + void borderBottomWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH), displaybind, bindable] + VARIANT borderBottomWidth(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFTWIDTH), displaybind, bindable] + void borderLeftWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFTWIDTH), displaybind, bindable] + VARIANT borderLeftWidth(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERSTYLE), displaybind, bindable] + void borderStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERSTYLE), displaybind, bindable] + BSTR borderStyle(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERTOPSTYLE), displaybind, bindable] + void borderTopStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERTOPSTYLE), displaybind, bindable] + BSTR borderTopStyle(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE), displaybind, bindable] + void borderRightStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE), displaybind, bindable] + BSTR borderRightStyle(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE), displaybind, bindable] + void borderBottomStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE), displaybind, bindable] + BSTR borderBottomStyle(); + + [propput, id(DISPID_IHTMLSTYLE_BORDERLEFTSTYLE), displaybind, bindable] + void borderLeftStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_BORDERLEFTSTYLE), displaybind, bindable] + BSTR borderLeftStyle(); + + [propput, id(DISPID_IHTMLSTYLE_WIDTH), displaybind, bindable] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_WIDTH), displaybind, bindable] + VARIANT width(); + + [propput, id(DISPID_IHTMLSTYLE_HEIGHT), displaybind, bindable] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_HEIGHT), displaybind, bindable] + VARIANT height(); + + [propput, id(DISPID_IHTMLSTYLE_STYLEFLOAT), displaybind, bindable] + void styleFloat(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_STYLEFLOAT), displaybind, bindable] + BSTR styleFloat(); + + [propput, id(DISPID_IHTMLSTYLE_CLEAR), displaybind, bindable] + void clear(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CLEAR), displaybind, bindable] + BSTR clear(); + + [propput, id(DISPID_IHTMLSTYLE_DISPLAY), displaybind, bindable] + void display(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_DISPLAY), displaybind, bindable] + BSTR display(); + + [propput, id(DISPID_IHTMLSTYLE_VISIBILITY), displaybind, bindable] + void visibility(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_VISIBILITY), displaybind, bindable] + BSTR visibility(); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLETYPE), displaybind, bindable] + void listStyleType(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLETYPE), displaybind, bindable] + BSTR listStyleType(); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLEPOSITION), displaybind, bindable] + void listStylePosition(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLEPOSITION), displaybind, bindable] + BSTR listStylePosition(); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLEIMAGE), displaybind, bindable] + void listStyleImage(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLEIMAGE), displaybind, bindable] + BSTR listStyleImage(); + + [propput, id(DISPID_IHTMLSTYLE_LISTSTYLE), displaybind, bindable, nonbrowsable] + void listStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_LISTSTYLE), displaybind, bindable, nonbrowsable] + BSTR listStyle(); + + [propput, id(DISPID_IHTMLSTYLE_WHITESPACE), displaybind, bindable] + void whiteSpace(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_WHITESPACE), displaybind, bindable] + BSTR whiteSpace(); + + [propput, id(DISPID_IHTMLSTYLE_TOP), displaybind, bindable] + void top(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_TOP), displaybind, bindable] + VARIANT top(); + + [propput, id(DISPID_IHTMLSTYLE_LEFT), displaybind, bindable] + void left(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_LEFT), displaybind, bindable] + VARIANT left(); + + [propput, id(DISPID_IHTMLSTYLE_ZINDEX), displaybind, bindable] + void zIndex(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE_ZINDEX), displaybind, bindable] + VARIANT zIndex(); + + [propput, id(DISPID_IHTMLSTYLE_OVERFLOW), displaybind, bindable] + void overflow(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_OVERFLOW), displaybind, bindable] + BSTR overflow(); + + [propput, id(DISPID_IHTMLSTYLE_PAGEBREAKBEFORE), displaybind, bindable] + void pageBreakBefore(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_PAGEBREAKBEFORE), displaybind, bindable] + BSTR pageBreakBefore(); + + [propput, id(DISPID_IHTMLSTYLE_PAGEBREAKAFTER), displaybind, bindable] + void pageBreakAfter(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_PAGEBREAKAFTER), displaybind, bindable] + BSTR pageBreakAfter(); + + [propput, id(DISPID_IHTMLSTYLE_CSSTEXT), displaybind, bindable, nonbrowsable] + void cssText(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CSSTEXT), displaybind, bindable, nonbrowsable] + BSTR cssText(); + + [propput, id(DISPID_IHTMLSTYLE_PIXELTOP), displaybind, bindable, hidden] + void pixelTop(LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELTOP), displaybind, bindable, hidden] + LONG pixelTop(); + + [propput, id(DISPID_IHTMLSTYLE_PIXELLEFT), displaybind, bindable, hidden] + void pixelLeft(LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELLEFT), displaybind, bindable, hidden] + LONG pixelLeft(); + + [propput, id(DISPID_IHTMLSTYLE_PIXELWIDTH), displaybind, bindable, hidden] + void pixelWidth(LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELWIDTH), displaybind, bindable, hidden] + LONG pixelWidth(); + + [propput, id(DISPID_IHTMLSTYLE_PIXELHEIGHT), displaybind, bindable, hidden] + void pixelHeight(LONG v); + + [propget, id(DISPID_IHTMLSTYLE_PIXELHEIGHT), displaybind, bindable, hidden] + LONG pixelHeight(); + + [propput, id(DISPID_IHTMLSTYLE_POSTOP), displaybind, bindable] + void posTop(float v); + + [propget, id(DISPID_IHTMLSTYLE_POSTOP), displaybind, bindable] + float posTop(); + + [propput, id(DISPID_IHTMLSTYLE_POSLEFT), displaybind, bindable] + void posLeft(float v); + + [propget, id(DISPID_IHTMLSTYLE_POSLEFT), displaybind, bindable] + float posLeft(); + + [propput, id(DISPID_IHTMLSTYLE_POSWIDTH), displaybind, bindable] + void posWidth(float v); + + [propget, id(DISPID_IHTMLSTYLE_POSWIDTH), displaybind, bindable] + float posWidth(); + + [propput, id(DISPID_IHTMLSTYLE_POSHEIGHT), displaybind, bindable] + void posHeight(float v); + + [propget, id(DISPID_IHTMLSTYLE_POSHEIGHT), displaybind, bindable] + float posHeight(); + + [propput, id(DISPID_IHTMLSTYLE_CURSOR), displaybind, bindable] + void cursor(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CURSOR), displaybind, bindable] + BSTR cursor(); + + [propput, id(DISPID_IHTMLSTYLE_CLIP), displaybind, bindable] + void clip(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_CLIP), displaybind, bindable] + BSTR clip(); + + [propput, id(DISPID_IHTMLSTYLE_FILTER), displaybind, bindable] + void filter(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE_FILTER), displaybind, bindable] + BSTR filter(); + + [id(DISPID_IHTMLSTYLE_SETATTRIBUTE)] + void setAttribute( + [in] BSTR strAttributeName, + [in] VARIANT AttributeValue, + [in, defaultvalue(1)] LONG lFlags); + + [id(DISPID_IHTMLSTYLE_GETATTRIBUTE)] + VARIANT getAttribute( + [in] BSTR strAttributeName, + [in, defaultvalue(0)] LONG lFlags); + + [id(DISPID_IHTMLSTYLE_REMOVEATTRIBUTE)] + VARIANT_BOOL removeAttribute( + [in] BSTR strAttributeName, + [in, defaultvalue(1)] LONG lFlags); + + [id(DISPID_IHTMLSTYLE_TOSTRING)] + BSTR toString(); + + [propput, id(DISPID_IHTMLSTYLE2_TABLELAYOUT), displaybind, bindable] + void tableLayout(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TABLELAYOUT), displaybind, bindable] + BSTR tableLayout(); + + [propput, id(DISPID_IHTMLSTYLE2_BORDERCOLLAPSE), displaybind, bindable] + void borderCollapse(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_BORDERCOLLAPSE), displaybind, bindable] + BSTR borderCollapse(); + + [propput, id(DISPID_IHTMLSTYLE2_DIRECTION), displaybind, bindable] + void direction(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_DIRECTION), displaybind, bindable] + BSTR direction(); + + [propput, id(DISPID_IHTMLSTYLE2_BEHAVIOR), displaybind, bindable] + void behavior(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_BEHAVIOR), displaybind, bindable] + BSTR behavior(); + + [id(DISPID_IHTMLSTYLE2_SETEXPRESSION)] + void setExpression( + [in] BSTR propname, + [in] BSTR expression, + [in, defaultvalue("")] BSTR language); + + [id(DISPID_IHTMLSTYLE2_GETEXPRESSION)] + VARIANT getExpression([in] BSTR propname); + + [id(DISPID_IHTMLSTYLE2_REMOVEEXPRESSION)] + VARIANT_BOOL removeExpression([in] BSTR propname); + + [propput, id(DISPID_IHTMLSTYLE2_POSITION), displaybind, bindable] + void position(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_POSITION), displaybind, bindable] + BSTR position(); + + [propput, id(DISPID_IHTMLSTYLE2_UNICODEBIDI), displaybind, bindable] + void unicodeBidi(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_UNICODEBIDI), displaybind, bindable] + BSTR unicodeBidi(); + + [propput, id(DISPID_IHTMLSTYLE2_BOTTOM), displaybind, bindable] + void bottom(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_BOTTOM), displaybind, bindable] + VARIANT bottom(); + + [propput, id(DISPID_IHTMLSTYLE2_RIGHT), displaybind, bindable] + void right(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_RIGHT), displaybind, bindable] + VARIANT right(); + + [propput, id(DISPID_IHTMLSTYLE2_PIXELBOTTOM), displaybind, bindable, hidden] + void pixelBottom(LONG v); + + [propget, id(DISPID_IHTMLSTYLE2_PIXELBOTTOM), displaybind, bindable, hidden] + LONG pixelBottom(); + + [propput, id(DISPID_IHTMLSTYLE2_PIXELRIGHT), displaybind, bindable, hidden] + void pixelRight(LONG v); + + [propget, id(DISPID_IHTMLSTYLE2_PIXELRIGHT), displaybind, bindable, hidden] + LONG pixelRight(); + + [propput, id(DISPID_IHTMLSTYLE2_POSBOTTOM), displaybind, bindable] + void posBottom(float v); + + [propget, id(DISPID_IHTMLSTYLE2_POSBOTTOM), displaybind, bindable] + float posBottom(); + + [propput, id(DISPID_IHTMLSTYLE2_POSRIGHT), displaybind, bindable] + void posRight(float v); + + [propget, id(DISPID_IHTMLSTYLE2_POSRIGHT), displaybind, bindable] + float posRight(); + + [propput, id(DISPID_IHTMLSTYLE2_IMEMODE), displaybind, bindable] + void imeMode(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_IMEMODE), displaybind, bindable] + BSTR imeMode(); + + [propput, id(DISPID_IHTMLSTYLE2_RUBYALIGN), displaybind, bindable] + void rubyAlign(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_RUBYALIGN), displaybind, bindable] + BSTR rubyAlign(); + + [propput, id(DISPID_IHTMLSTYLE2_RUBYPOSITION), displaybind, bindable] + void rubyPosition(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_RUBYPOSITION), displaybind, bindable] + BSTR rubyPosition(); + + [propput, id(DISPID_IHTMLSTYLE2_RUBYOVERHANG), displaybind, bindable] + void rubyOverhang(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_RUBYOVERHANG), displaybind, bindable] + BSTR rubyOverhang(); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR), displaybind, bindable] + void layoutGridChar(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR), displaybind, bindable] + VARIANT layoutGridChar(); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE), displaybind, bindable] + void layoutGridLine(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE), displaybind, bindable] + VARIANT layoutGridLine(); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE), displaybind, bindable] + void layoutGridMode(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE), displaybind, bindable] + BSTR layoutGridMode(); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE), displaybind, bindable] + void layoutGridType(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE), displaybind, bindable] + BSTR layoutGridType(); + + [propput, id(DISPID_IHTMLSTYLE2_LAYOUTGRID), displaybind, bindable, nonbrowsable] + void layoutGrid(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LAYOUTGRID), displaybind, bindable, nonbrowsable] + BSTR layoutGrid(); + + [propput, id(DISPID_IHTMLSTYLE2_WORDBREAK), displaybind, bindable] + void wordBreak(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_WORDBREAK), displaybind, bindable] + BSTR wordBreak(); + + [propput, id(DISPID_IHTMLSTYLE2_LINEBREAK), displaybind, bindable] + void lineBreak(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_LINEBREAK), displaybind, bindable] + BSTR lineBreak(); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFY), displaybind, bindable] + void textJustify(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFY), displaybind, bindable] + BSTR textJustify(); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM), displaybind, bindable] + void textJustifyTrim(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM), displaybind, bindable] + BSTR textJustifyTrim(); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTKASHIDA), displaybind, bindable] + void textKashida(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTKASHIDA), displaybind, bindable] + VARIANT textKashida(); + + [propput, id(DISPID_IHTMLSTYLE2_TEXTAUTOSPACE), displaybind, bindable] + void textAutospace(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_TEXTAUTOSPACE), displaybind, bindable] + BSTR textAutospace(); + + [propput, id(DISPID_IHTMLSTYLE2_OVERFLOWX), displaybind, bindable] + void overflowX(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_OVERFLOWX), displaybind, bindable] + BSTR overflowX(); + + [propput, id(DISPID_IHTMLSTYLE2_OVERFLOWY), displaybind, bindable] + void overflowY(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_OVERFLOWY), displaybind, bindable] + BSTR overflowY(); + + [propput, id(DISPID_IHTMLSTYLE2_ACCELERATOR), displaybind, bindable] + void accelerator(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE2_ACCELERATOR), displaybind, bindable] + BSTR accelerator(); + + [propput, id(DISPID_IHTMLSTYLE3_LAYOUTFLOW), displaybind, bindable] + void layoutFlow(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_LAYOUTFLOW), displaybind, bindable] + BSTR layoutFlow(); + + [propput, id(DISPID_IHTMLSTYLE3_ZOOM), displaybind, bindable] + void zoom(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_ZOOM), displaybind, bindable] + VARIANT zoom(); + + [propput, id(DISPID_IHTMLSTYLE3_WORDWRAP), displaybind, bindable] + void wordWrap(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_WORDWRAP), displaybind, bindable] + BSTR wordWrap(); + + [propput, id(DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION), displaybind, bindable] + void textUnderlinePosition(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION), displaybind, bindable] + BSTR textUnderlinePosition(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR), displaybind, bindable] + void scrollbarBaseColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR), displaybind, bindable] + VARIANT scrollbarBaseColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR), displaybind, bindable] + void scrollbarFaceColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR), displaybind, bindable] + VARIANT scrollbarFaceColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR), displaybind, bindable] + void scrollbar3dLightColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR), displaybind, bindable] + VARIANT scrollbar3dLightColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR), displaybind, bindable] + void scrollbarShadowColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR), displaybind, bindable] + VARIANT scrollbarShadowColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR), displaybind, bindable] + void scrollbarHighlightColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR), displaybind, bindable] + VARIANT scrollbarHighlightColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR), displaybind, bindable] + void scrollbarDarkShadowColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR), displaybind, bindable] + VARIANT scrollbarDarkShadowColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR), displaybind, bindable] + void scrollbarArrowColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR), displaybind, bindable] + VARIANT scrollbarArrowColor(); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR), displaybind, bindable] + void scrollbarTrackColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR), displaybind, bindable] + VARIANT scrollbarTrackColor(); + + [propput, id(DISPID_IHTMLSTYLE3_WRITINGMODE), displaybind, bindable] + void writingMode(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_WRITINGMODE), displaybind, bindable] + BSTR writingMode(); + + [propput, id(DISPID_IHTMLSTYLE3_TEXTALIGNLAST), displaybind, bindable] + void textAlignLast(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_TEXTALIGNLAST), displaybind, bindable] + BSTR textAlignLast(); + + [propput, id(DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE), displaybind, bindable] + void textKashidaSpace(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE), displaybind, bindable] + VARIANT textKashidaSpace(); + + [propput, id(DISPID_IHTMLSTYLE4_TEXTOVERFLOW), displaybind, bindable] + void textOverflow(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE4_TEXTOVERFLOW), displaybind, bindable] + BSTR textOverflow(); + + [propput, id(DISPID_IHTMLSTYLE4_MINHEIGHT), displaybind, bindable] + void minHeight(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE4_MINHEIGHT), displaybind, bindable] + VARIANT minHeight(); + + [propput, id(DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE), displaybind, bindable] + void msInterpolationMode(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE), displaybind, bindable] + BSTR msInterpolationMode(); + + [propput, id(DISPID_IHTMLSTYLE5_MAXHEIGHT), displaybind, bindable] + void maxHeight(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE5_MAXHEIGHT), displaybind, bindable] + VARIANT maxHeight(); + + [propput, id(DISPID_IHTMLSTYLE5_MINWIDTH), displaybind, bindable] + void minWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE5_MINWIDTH), displaybind, bindable] + VARIANT minWidth(); + + [propput, id(DISPID_IHTMLSTYLE5_MAXWIDTH), displaybind, bindable] + void maxWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE5_MAXWIDTH), displaybind, bindable] + VARIANT maxWidth(); + + [propput, id(DISPID_IHTMLSTYLE6_CONTENT), displaybind, bindable] + void content(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_CONTENT), displaybind, bindable] + BSTR content(); + + [propput, id(DISPID_IHTMLSTYLE6_CAPTIONSIDE), displaybind, bindable] + void captionSide(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_CAPTIONSIDE), displaybind, bindable] + BSTR captionSide(); + + [propput, id(DISPID_IHTMLSTYLE6_COUNTERINCREMENT), displaybind, bindable] + void counterIncrement(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_COUNTERINCREMENT), displaybind, bindable] + BSTR counterIncrement(); + + [propput, id(DISPID_IHTMLSTYLE6_COUNTERRESET), displaybind, bindable] + void counterReset(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_COUNTERRESET), displaybind, bindable] + BSTR counterReset(); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINE), displaybind, bindable] + void outline(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINE), displaybind, bindable] + BSTR outline(); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINEWIDTH), displaybind, bindable] + void outlineWidth(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINEWIDTH), displaybind, bindable] + VARIANT outlineWidth(); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINESTYLE), displaybind, bindable] + void outlineStyle(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINESTYLE), displaybind, bindable] + BSTR outlineStyle(); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINECOLOR), displaybind, bindable] + void outlineColor(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINECOLOR), displaybind, bindable] + VARIANT outlineColor(); + + [propput, id(DISPID_IHTMLSTYLE6_BOXSIZING), displaybind, bindable] + void boxSizing(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_BOXSIZING), displaybind, bindable] + BSTR boxSizing(); + + [propput, id(DISPID_IHTMLSTYLE6_BORDERSPACING), displaybind, bindable] + void borderSpacing(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_BORDERSPACING), displaybind, bindable] + BSTR borderSpacing(); + + [propput, id(DISPID_IHTMLSTYLE6_ORPHANS), displaybind, bindable] + void orphans(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_ORPHANS), displaybind, bindable] + VARIANT orphans(); + + [propput, id(DISPID_IHTMLSTYLE6_WIDOWS), displaybind, bindable] + void widows(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_WIDOWS), displaybind, bindable] + VARIANT widows(); + + [propput, id(DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE), displaybind, bindable] + void pageBreakInside(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE), displaybind, bindable] + BSTR pageBreakInside(); + + [propput, id(DISPID_IHTMLSTYLE6_EMPTYCELLS), displaybind, bindable] + void emptyCells(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_EMPTYCELLS), displaybind, bindable] + BSTR emptyCells(); + + [propput, id(DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION), displaybind, bindable] + void msBlockProgression(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION), displaybind, bindable] + BSTR msBlockProgression(); + + [propput, id(DISPID_IHTMLSTYLE6_QUOTES), displaybind, bindable] + void quotes(BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_QUOTES), displaybind, bindable] + BSTR quotes(); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + +[ + odl, + oleautomation, + dual, + uuid(3050f656-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyle3 : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLE3_LAYOUTFLOW), displaybind, bindable] + HRESULT layoutFlow([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_LAYOUTFLOW), displaybind, bindable] + HRESULT layoutFlow([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLSTYLE3_ZOOM), displaybind, bindable] + HRESULT zoom([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_ZOOM), displaybind, bindable] + HRESULT zoom([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_WORDWRAP), displaybind, bindable] + HRESULT wordWrap([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_WORDWRAP), displaybind, bindable] + HRESULT wordWrap([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION), displaybind, bindable] + HRESULT textUnderlinePosition([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION), displaybind, bindable] + HRESULT textUnderlinePosition([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR), displaybind, bindable] + HRESULT scrollbarBaseColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR), displaybind, bindable] + HRESULT scrollbarBaseColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR), displaybind, bindable] + HRESULT scrollbarFaceColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR), displaybind, bindable] + HRESULT scrollbarFaceColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR), displaybind, bindable] + HRESULT scrollbar3dLightColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR), displaybind, bindable] + HRESULT scrollbar3dLightColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR), displaybind, bindable] + HRESULT scrollbarShadowColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR), displaybind, bindable] + HRESULT scrollbarShadowColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR), displaybind, bindable] + HRESULT scrollbarHighlightColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR), displaybind, bindable] + HRESULT scrollbarHighlightColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR), displaybind, bindable] + HRESULT scrollbarDarkShadowColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR), displaybind, bindable] + HRESULT scrollbarDarkShadowColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR), displaybind, bindable] + HRESULT scrollbarArrowColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR), displaybind, bindable] + HRESULT scrollbarArrowColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR), displaybind, bindable] + HRESULT scrollbarTrackColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR), displaybind, bindable] + HRESULT scrollbarTrackColor([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLSTYLE3_WRITINGMODE), displaybind, bindable] + HRESULT writingMode([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_WRITINGMODE), displaybind, bindable] + HRESULT writingMode([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLSTYLE3_TEXTALIGNLAST), displaybind, bindable] + HRESULT textAlignLast([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE3_TEXTALIGNLAST), displaybind, bindable] + HRESULT textAlignLast([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE), displaybind, bindable] + HRESULT textKashidaSpace([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE), displaybind, bindable] + HRESULT textKashidaSpace([retval, out] VARIANT * p); +} + +/***************************************************************************** + * IHTMLSytyle4 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f816-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyle4 : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLE4_TEXTOVERFLOW), displaybind, bindable] + HRESULT textOverflow([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE4_TEXTOVERFLOW), displaybind, bindable] + HRESULT textOverflow([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLSTYLE4_MINHEIGHT), displaybind, bindable] + HRESULT minHeight([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE4_MINHEIGHT), displaybind, bindable] + HRESULT minHeight([retval, out] VARIANT * p); +} + +/***************************************************************************** + * IHTMLSytyle5 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f33a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyle5 : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE), displaybind, bindable] + HRESULT msInterpolationMode([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE), displaybind, bindable] + HRESULT msInterpolationMode([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE5_MAXHEIGHT), displaybind, bindable] + HRESULT maxHeight([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE5_MAXHEIGHT), displaybind, bindable] + HRESULT maxHeight([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE5_MINWIDTH), displaybind, bindable] + HRESULT minWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE5_MINWIDTH), displaybind, bindable] + HRESULT minWidth([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE5_MAXWIDTH), displaybind, bindable] + HRESULT maxWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE5_MAXWIDTH), displaybind, bindable] + HRESULT maxWidth([out, retval] VARIANT *p); +} + +/***************************************************************************** + * IHTMLSytyle6 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510480-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyle6 : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLE6_CONTENT), displaybind, bindable] + HRESULT content([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_CONTENT), displaybind, bindable] + HRESULT content([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_CAPTIONSIDE), displaybind, bindable] + HRESULT captionSide([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_CAPTIONSIDE), displaybind, bindable] + HRESULT captionSide([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_COUNTERINCREMENT), displaybind, bindable] + HRESULT counterIncrement([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_COUNTERINCREMENT), displaybind, bindable] + HRESULT counterIncrement([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_COUNTERRESET), displaybind, bindable] + HRESULT counterReset([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_COUNTERRESET), displaybind, bindable] + HRESULT counterReset([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINE), displaybind, bindable] + HRESULT outline([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINE), displaybind, bindable] + HRESULT outline([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINEWIDTH), displaybind, bindable] + HRESULT outlineWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINEWIDTH), displaybind, bindable] + HRESULT outlineWidth([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINESTYLE), displaybind, bindable] + HRESULT outlineStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINESTYLE), displaybind, bindable] + HRESULT outlineStyle([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_OUTLINECOLOR), displaybind, bindable] + HRESULT outlineColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_OUTLINECOLOR), displaybind, bindable] + HRESULT outlineColor([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE6_BOXSIZING), displaybind, bindable] + HRESULT boxSizing([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_BOXSIZING), displaybind, bindable] + HRESULT boxSizing([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_BORDERSPACING), displaybind, bindable] + HRESULT borderSpacing([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_BORDERSPACING), displaybind, bindable] + HRESULT borderSpacing([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_ORPHANS), displaybind, bindable] + HRESULT orphans([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_ORPHANS), displaybind, bindable] + HRESULT orphans([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE6_WIDOWS), displaybind, bindable] + HRESULT widows([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLE6_WIDOWS), displaybind, bindable] + HRESULT widows([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE), displaybind, bindable] + HRESULT pageBreakInside([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE), displaybind, bindable] + HRESULT pageBreakInside([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_EMPTYCELLS), displaybind, bindable] + HRESULT emptyCells([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_EMPTYCELLS), displaybind, bindable] + HRESULT emptyCells([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION), displaybind, bindable] + HRESULT msBlockProgression([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION), displaybind, bindable] + HRESULT msBlockProgression([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLE6_QUOTES), displaybind, bindable] + HRESULT quotes([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLE6_QUOTES), displaybind, bindable] + HRESULT quotes([out, retval] BSTR *p); +} + +[ + noncreatable, + uuid(3050f285-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyle +{ + [default] dispinterface DispHTMLStyle; + interface IHTMLStyle; + interface IHTMLStyle2; + interface IHTMLStyle3; + interface IHTMLStyle4; + interface IHTMLStyle5; + interface IHTMLStyle6; +} + +/***************************************************************************** + * IHTMLRenderStyle interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f6ae-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLRenderStyle : IDispatch +{ + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE), displaybind, bindable] + HRESULT textLineThroughStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE), displaybind, bindable] + HRESULT textLineThroughStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE), displaybind, bindable] + HRESULT textUnderlineStyle([in] BSTR v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE), displaybind, bindable] + HRESULT textUnderlineStyle([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTEFFECT), displaybind, bindable] + HRESULT textEffect([in] BSTR v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTEFFECT), displaybind, bindable] + HRESULT textEffect([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTCOLOR), displaybind, bindable] + HRESULT textColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTCOLOR), displaybind, bindable] + HRESULT textColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTBACKGROUNDCOLOR), displaybind, bindable] + HRESULT textBackgroundColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTBACKGROUNDCOLOR), displaybind, bindable] + HRESULT textBackgroundColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTDECORATIONCOLOR), displaybind, bindable] + HRESULT textDecorationColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTDECORATIONCOLOR), displaybind, bindable] + HRESULT textDecorationColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_RENDERINGPRIORITY), displaybind, bindable] + HRESULT renderingPriority([in] LONG v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_RENDERINGPRIORITY), displaybind, bindable] + HRESULT renderingPriority([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_DEFAULTTEXTSELECTION), displaybind, bindable] + HRESULT defaultTextSelection([in] BSTR v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_DEFAULTTEXTSELECTION), displaybind, bindable] + HRESULT defaultTextSelection([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLRENDERSTYLE_TEXTDECORATION), displaybind, bindable] + HRESULT textDecoration([in] BSTR v); + + [propget, id(DISPID_IHTMLRENDERSTYLE_TEXTDECORATION), displaybind, bindable] + HRESULT textDecoration([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLCurrentStyle interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f3db-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLCurrentStyle : IDispatch +{ + [propget, id(DISPID_IHTMLCURRENTSTYLE_POSITION), displaybind, bindable] + HRESULT position([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_STYLEFLOAT), displaybind, bindable] + HRESULT styleFloat([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_COLOR), displaybind, bindable] + HRESULT color([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDCOLOR), displaybind, bindable] + HRESULT backgroundColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTFAMILY), displaybind, bindable] + HRESULT fontFamily([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTSTYLE), displaybind, bindable] + HRESULT fontStyle([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTVARIANT), displaybind, bindable, hidden] + HRESULT fontVariant([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTWEIGHT), displaybind, bindable] + HRESULT fontWeight([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTSIZE), displaybind, bindable] + HRESULT fontSize([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDIMAGE), displaybind, bindable] + HRESULT backgroundImage([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONX), displaybind, bindable] + HRESULT backgroundPositionX([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONY), displaybind, bindable] + HRESULT backgroundPositionY([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDREPEAT), displaybind, bindable] + HRESULT backgroundRepeat([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERLEFTCOLOR), displaybind, bindable] + HRESULT borderLeftColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERTOPCOLOR), displaybind, bindable] + HRESULT borderTopColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTCOLOR), displaybind, bindable] + HRESULT borderRightColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMCOLOR), displaybind, bindable] + HRESULT borderBottomColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERTOPSTYLE), displaybind, bindable] + HRESULT borderTopStyle([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTSTYLE), displaybind, bindable] + HRESULT borderRightStyle([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMSTYLE), displaybind, bindable] + HRESULT borderBottomStyle([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERLEFTSTYLE), displaybind, bindable] + HRESULT borderLeftStyle([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERTOPWIDTH), displaybind, bindable] + HRESULT borderTopWidth([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTWIDTH), displaybind, bindable] + HRESULT borderRightWidth([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMWIDTH), displaybind, bindable] + HRESULT borderBottomWidth([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERLEFTWIDTH), displaybind, bindable] + HRESULT borderLeftWidth([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LEFT), displaybind, bindable] + HRESULT left([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TOP), displaybind, bindable] + HRESULT top([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_WIDTH), displaybind, bindable] + HRESULT width([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_HEIGHT), displaybind, bindable] + HRESULT height([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGLEFT), displaybind, bindable] + HRESULT paddingLeft([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGTOP), displaybind, bindable] + HRESULT paddingTop([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGRIGHT), displaybind, bindable] + HRESULT paddingRight([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGBOTTOM), displaybind, bindable] + HRESULT paddingBottom([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTALIGN), displaybind, bindable] + HRESULT textAlign([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTDECORATION), displaybind, bindable] + HRESULT textDecoration([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_DISPLAY), displaybind, bindable] + HRESULT display([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_VISIBILITY), displaybind, bindable] + HRESULT visibility([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_ZINDEX), displaybind, bindable] + HRESULT zIndex([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LETTERSPACING), displaybind, bindable] + HRESULT letterSpacing([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LINEHEIGHT), displaybind, bindable] + HRESULT lineHeight([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTINDENT), displaybind, bindable] + HRESULT textIndent([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_VERTICALALIGN), displaybind, bindable] + HRESULT verticalAlign([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDATTACHMENT), displaybind, bindable] + HRESULT backgroundAttachment([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINTOP), displaybind, bindable] + HRESULT marginTop([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINRIGHT), displaybind, bindable] + HRESULT marginRight([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINBOTTOM), displaybind, bindable] + HRESULT marginBottom([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINLEFT), displaybind, bindable] + HRESULT marginLeft([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLEAR), displaybind, bindable] + HRESULT clear([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LISTSTYLETYPE), displaybind, bindable] + HRESULT listStyleType([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LISTSTYLEPOSITION), displaybind, bindable] + HRESULT listStylePosition([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LISTSTYLEIMAGE), displaybind, bindable] + HRESULT listStyleImage([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPTOP), displaybind, bindable] + HRESULT clipTop([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPRIGHT), displaybind, bindable] + HRESULT clipRight([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPBOTTOM), displaybind, bindable] + HRESULT clipBottom([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPLEFT), displaybind, bindable] + HRESULT clipLeft([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_OVERFLOW), displaybind, bindable] + HRESULT overflow([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PAGEBREAKBEFORE), displaybind, bindable] + HRESULT pageBreakBefore([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PAGEBREAKAFTER), displaybind, bindable] + HRESULT pageBreakAfter([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CURSOR), displaybind, bindable] + HRESULT cursor([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TABLELAYOUT), displaybind, bindable] + HRESULT tableLayout([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERCOLLAPSE), displaybind, bindable] + HRESULT borderCollapse([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_DIRECTION), displaybind, bindable] + HRESULT direction([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BEHAVIOR), displaybind, bindable] + HRESULT behavior([retval, out] BSTR *p); + + [id(DISPID_IHTMLCURRENTSTYLE_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strAttributeName, + [defaultvalue(0), in] LONG lFlags, + [retval, out] VARIANT *AttributeValue); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_UNICODEBIDI), displaybind, bindable] + HRESULT unicodeBidi([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RIGHT), displaybind, bindable] + HRESULT right([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BOTTOM), displaybind, bindable] + HRESULT bottom([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_IMEMODE), displaybind, bindable] + HRESULT imeMode([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RUBYALIGN), displaybind, bindable] + HRESULT rubyAlign([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RUBYPOSITION), displaybind, bindable] + HRESULT rubyPosition([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RUBYOVERHANG), displaybind, bindable] + HRESULT rubyOverhang([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTAUTOSPACE), displaybind, bindable] + HRESULT textAutospace([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LINEBREAK), displaybind, bindable] + HRESULT lineBreak([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_WORDBREAK), displaybind, bindable] + HRESULT wordBreak([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFY), displaybind, bindable] + HRESULT textJustify([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFYTRIM), displaybind, bindable] + HRESULT textJustifyTrim([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTKASHIDA), displaybind, bindable] + HRESULT textKashida([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BLOCKDIRECTION), displaybind, bindable] + HRESULT blockDirection([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDCHAR), displaybind, bindable] + HRESULT layoutGridChar([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDLINE), displaybind, bindable] + HRESULT layoutGridLine([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDMODE), displaybind, bindable] + HRESULT layoutGridMode([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDTYPE), displaybind, bindable] + HRESULT layoutGridType([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERSTYLE), displaybind, bindable] + HRESULT borderStyle([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERCOLOR), displaybind, bindable] + HRESULT borderColor([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERWIDTH), displaybind, bindable] + HRESULT borderWidth([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDING), displaybind, bindable] + HRESULT padding([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGIN), displaybind, bindable] + HRESULT margin([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_ACCELERATOR), displaybind, bindable] + HRESULT accelerator([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_OVERFLOWX), displaybind, bindable] + HRESULT overflowX([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_OVERFLOWY), displaybind, bindable] + HRESULT overflowY([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTTRANSFORM), displaybind, bindable] + HRESULT textTransform([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLCurrentStyle2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f658-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLCurrentStyle2 : IDispatch +{ + [propget, id(DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW), displaybind, bindable] + HRESULT layoutFlow([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_WORDWRAP), displaybind, bindable] + HRESULT wordWrap([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION), displaybind, bindable] + HRESULT textUnderlinePosition([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT), displaybind, bindable] + HRESULT hasLayout([retval, out] VARIANT_BOOL * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR), displaybind, bindable] + HRESULT scrollbarBaseColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR), displaybind, bindable] + HRESULT scrollbarFaceColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR), displaybind, bindable] + HRESULT scrollbar3dLightColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR), displaybind, bindable] + HRESULT scrollbarShadowColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR), displaybind, bindable] + HRESULT scrollbarHighlightColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR), displaybind, bindable] + HRESULT scrollbarDarkShadowColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR), displaybind, bindable] + HRESULT scrollbarArrowColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR), displaybind, bindable] + HRESULT scrollbarTrackColor([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE), displaybind, bindable] + HRESULT writingMode([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_ZOOM), displaybind, bindable] + HRESULT zoom([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_FILTER), displaybind, bindable] + HRESULT filter([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST), displaybind, bindable] + HRESULT textAlignLast([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE), displaybind, bindable] + HRESULT textKashidaSpace([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_ISBLOCK), displaybind, bindable, hidden, restricted, nonbrowsable] + HRESULT isBlock([retval, out] VARIANT_BOOL * p); +} + +/***************************************************************************** + * IHTMLCurrentStyle3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f818-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLCurrentStyle3 : IDispatch +{ + [propget, id(DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW), displaybind, bindable] + HRESULT textOverflow([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT), displaybind, bindable] + HRESULT minHeight([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_WORDSPACING), displaybind, bindable] + HRESULT wordSpacing([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_WHITESPACE), displaybind, bindable] + HRESULT whiteSpace([retval, out] BSTR * p); +} + +/***************************************************************************** + * IHTMLCurrentStyle4 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f33b-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLCurrentStyle4 : IDispatch +{ + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE), displaybind, bindable] + HRESULT msInterpolationMode([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT), displaybind, bindable] + HRESULT maxHeight([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MINWIDTH), displaybind, bindable] + HRESULT minWidth([retval, out] VARIANT * p); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH), displaybind, bindable] + HRESULT maxWidth([retval, out] VARIANT * p); +} + +/***************************************************************************** + * DispHTMLCurrentStyle dispinterface + */ +[ + hidden, + uuid(3050f557-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLCurrentStyle +{ +properties: +methods: + [propget, id(DISPID_IHTMLCURRENTSTYLE_POSITION), displaybind, bindable] + BSTR position(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_STYLEFLOAT), displaybind, bindable] + BSTR styleFloat(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_COLOR), displaybind, bindable] + VARIANT color(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDCOLOR), displaybind, bindable] + VARIANT backgroundColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTFAMILY), displaybind, bindable] + BSTR fontFamily(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTSTYLE), displaybind, bindable] + BSTR fontStyle(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTVARIANT), displaybind, bindable, hidden] + BSTR fontVariant(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTWEIGHT), displaybind, bindable] + VARIANT fontWeight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_FONTSIZE), displaybind, bindable] + VARIANT fontSize(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDIMAGE), displaybind, bindable] + BSTR backgroundImage(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONX), displaybind, bindable] + VARIANT backgroundPositionX(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONY), displaybind, bindable] + VARIANT backgroundPositionY(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDREPEAT), displaybind, bindable] + BSTR backgroundRepeat(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERLEFTCOLOR), displaybind, bindable] + VARIANT borderLeftColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERTOPCOLOR), displaybind, bindable] + VARIANT borderTopColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTCOLOR), displaybind, bindable] + VARIANT borderRightColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMCOLOR), displaybind, bindable] + VARIANT borderBottomColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERTOPSTYLE), displaybind, bindable] + BSTR borderTopStyle(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTSTYLE), displaybind, bindable] + BSTR borderRightStyle(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMSTYLE), displaybind, bindable] + BSTR borderBottomStyle(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERLEFTSTYLE), displaybind, bindable] + BSTR borderLeftStyle(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERTOPWIDTH), displaybind, bindable] + VARIANT borderTopWidth(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTWIDTH), displaybind, bindable] + VARIANT borderRightWidth(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMWIDTH), displaybind, bindable] + VARIANT borderBottomWidth(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERLEFTWIDTH), displaybind, bindable] + VARIANT borderLeftWidth(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LEFT), displaybind, bindable] + VARIANT left(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TOP), displaybind, bindable] + VARIANT top(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_WIDTH), displaybind, bindable] + VARIANT width(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_HEIGHT), displaybind, bindable] + VARIANT height(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGLEFT), displaybind, bindable] + VARIANT paddingLeft(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGTOP), displaybind, bindable] + VARIANT paddingTop(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGRIGHT), displaybind, bindable] + VARIANT paddingRight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDINGBOTTOM), displaybind, bindable] + VARIANT paddingBottom(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTALIGN), displaybind, bindable] + BSTR textAlign(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTDECORATION), displaybind, bindable] + BSTR textDecoration(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_DISPLAY), displaybind, bindable] + BSTR display(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_VISIBILITY), displaybind, bindable] + BSTR visibility(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_ZINDEX), displaybind, bindable] + VARIANT zIndex(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LETTERSPACING), displaybind, bindable] + VARIANT letterSpacing(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LINEHEIGHT), displaybind, bindable] + VARIANT lineHeight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTINDENT), displaybind, bindable] + VARIANT textIndent(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_VERTICALALIGN), displaybind, bindable] + VARIANT verticalAlign(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BACKGROUNDATTACHMENT), displaybind, bindable] + BSTR backgroundAttachment(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINTOP), displaybind, bindable] + VARIANT marginTop(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINRIGHT), displaybind, bindable] + VARIANT marginRight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINBOTTOM), displaybind, bindable] + VARIANT marginBottom(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGINLEFT), displaybind, bindable] + VARIANT marginLeft(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLEAR), displaybind, bindable] + BSTR clear(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LISTSTYLETYPE), displaybind, bindable] + BSTR listStyleType(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LISTSTYLEPOSITION), displaybind, bindable] + BSTR listStylePosition(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LISTSTYLEIMAGE), displaybind, bindable] + BSTR listStyleImage(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPTOP), displaybind, bindable] + VARIANT clipTop(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPRIGHT), displaybind, bindable] + VARIANT clipRight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPBOTTOM), displaybind, bindable] + VARIANT clipBottom(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CLIPLEFT), displaybind, bindable] + VARIANT clipLeft(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_OVERFLOW), displaybind, bindable] + BSTR overflow(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PAGEBREAKBEFORE), displaybind, bindable] + BSTR pageBreakBefore(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PAGEBREAKAFTER), displaybind, bindable] + BSTR pageBreakAfter(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_CURSOR), displaybind, bindable] + BSTR cursor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TABLELAYOUT), displaybind, bindable] + BSTR tableLayout(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERCOLLAPSE), displaybind, bindable] + BSTR borderCollapse(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_DIRECTION), displaybind, bindable] + BSTR direction(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BEHAVIOR), displaybind, bindable] + BSTR behavior(); + + [id(DISPID_IHTMLCURRENTSTYLE_GETATTRIBUTE)] + VARIANT getAttribute( + [in] BSTR strAttributeName, + [in, defaultvalue(0)] LONG lFlags); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_UNICODEBIDI), displaybind, bindable] + BSTR unicodeBidi(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RIGHT), displaybind, bindable] + VARIANT right(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BOTTOM), displaybind, bindable] + VARIANT bottom(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_IMEMODE), displaybind, bindable] + BSTR imeMode(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RUBYALIGN), displaybind, bindable] + BSTR rubyAlign(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RUBYPOSITION), displaybind, bindable] + BSTR rubyPosition(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_RUBYOVERHANG), displaybind, bindable] + BSTR rubyOverhang(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTAUTOSPACE), displaybind, bindable] + BSTR textAutospace(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LINEBREAK), displaybind, bindable] + BSTR lineBreak(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_WORDBREAK), displaybind, bindable] + BSTR wordBreak(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFY), displaybind, bindable] + BSTR textJustify(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFYTRIM), displaybind, bindable] + BSTR textJustifyTrim(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTKASHIDA), displaybind, bindable] + VARIANT textKashida(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BLOCKDIRECTION), displaybind, bindable] + BSTR blockDirection(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDCHAR), displaybind, bindable] + VARIANT layoutGridChar(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDLINE), displaybind, bindable] + VARIANT layoutGridLine(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDMODE), displaybind, bindable] + BSTR layoutGridMode(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDTYPE), displaybind, bindable] + BSTR layoutGridType(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERSTYLE), displaybind, bindable] + BSTR borderStyle(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERCOLOR), displaybind, bindable] + BSTR borderColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_BORDERWIDTH), displaybind, bindable] + BSTR borderWidth(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_PADDING), displaybind, bindable] + BSTR padding(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_MARGIN), displaybind, bindable] + BSTR margin(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_ACCELERATOR), displaybind, bindable] + BSTR accelerator(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_OVERFLOWX), displaybind, bindable] + BSTR overflowX(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_OVERFLOWY), displaybind, bindable] + BSTR overflowY(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE_TEXTTRANSFORM), displaybind, bindable] + BSTR textTransform(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW), displaybind, bindable] + BSTR layoutFlow(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_WORDWRAP), displaybind, bindable] + BSTR wordWrap(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION), displaybind, bindable] + BSTR textUnderlinePosition(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT), displaybind, bindable] + VARIANT_BOOL hasLayout(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR), displaybind, bindable] + VARIANT scrollbarBaseColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR), displaybind, bindable] + VARIANT scrollbarFaceColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR), displaybind, bindable] + VARIANT scrollbar3dLightColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR), displaybind, bindable] + VARIANT scrollbarShadowColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR), displaybind, bindable] + VARIANT scrollbarHighlightColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR), displaybind, bindable] + VARIANT scrollbarDarkShadowColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR), displaybind, bindable] + VARIANT scrollbarArrowColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR), displaybind, bindable] + VARIANT scrollbarTrackColor(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE), displaybind, bindable] + BSTR writingMode(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_ZOOM), displaybind, bindable] + VARIANT zoom(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_FILTER), displaybind, bindable] + BSTR filter(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST), displaybind, bindable] + BSTR textAlignLast(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE), displaybind, bindable] + VARIANT textKashidaSpace(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE2_ISBLOCK), displaybind, bindable, hidden, restricted, nonbrowsable] + VARIANT_BOOL isBlock(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW), displaybind, bindable] + BSTR textOverflow(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT), displaybind, bindable] + VARIANT minHeight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_WORDSPACING), displaybind, bindable] + VARIANT wordSpacing(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE3_WHITESPACE), displaybind, bindable] + BSTR whiteSpace(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE), displaybind, bindable] + BSTR msInterpolationMode(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT), displaybind, bindable] + VARIANT maxHeight(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MINWIDTH), displaybind, bindable] + VARIANT minWidth(); + + [propget, id(DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH), displaybind, bindable] + VARIANT maxWidth(); +} + +[ + noncreatable, + uuid(3050f3dc-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLCurrentStyle +{ + [default] dispinterface DispHTMLCurrentStyle; + interface IHTMLCurrentStyle; + interface IHTMLCurrentStyle2; + interface IHTMLCurrentStyle3; + interface IHTMLCurrentStyle4; +} + +/***************************************************************************** + * IHTMLRect interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4a3-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLRect : IDispatch +{ + [propput, id(DISPID_IHTMLRECT_LEFT)] + HRESULT left([in] LONG v); + + [propget, id(DISPID_IHTMLRECT_LEFT)] + HRESULT left([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLRECT_TOP)] + HRESULT top([in] LONG v); + + [propget, id(DISPID_IHTMLRECT_TOP)] + HRESULT top([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLRECT_RIGHT)] + HRESULT right([in] LONG v); + + [propget, id(DISPID_IHTMLRECT_RIGHT)] + HRESULT right([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLRECT_BOTTOM)] + HRESULT bottom([in] LONG v); + + [propget, id(DISPID_IHTMLRECT_BOTTOM)] + HRESULT bottom([retval, out] LONG *p); +} + +/***************************************************************************** + * IHTMLRectCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4a4-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLRectCollection : IDispatch +{ + [propget, id(DISPID_IHTMLRECTCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLRECTCOLLECTION__NEWENUM), hidden, restricted] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLRECTCOLLECTION_ITEM)] + HRESULT item( + [in] VARIANT *pvarIndex, + [retval, out] VARIANT *pvarResult); +} + +/***************************************************************************** + * IHTMLDOMNode interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f5da-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMNode : IDispatch +{ + [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] + HRESULT nodeType([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] + HRESULT parentNode([retval, out] IHTMLDOMNode **p); + + [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] + HRESULT hasChildNodes([retval, out] VARIANT_BOOL *fChildren); + + [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] + HRESULT childNodes([retval, out] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] + HRESULT attributes([retval, out] IDispatch **p); + + [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] + HRESULT insertBefore( + [in] IHTMLDOMNode *newChild, + [optional, in] VARIANT refChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] + HRESULT removeChild( + [in] IHTMLDOMNode *oldChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] + HRESULT replaceChild( + [in] IHTMLDOMNode *newChild, + [in] IHTMLDOMNode *oldChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE_CLONENODE)] + HRESULT cloneNode( + [in] VARIANT_BOOL fDeep, + [retval, out] IHTMLDOMNode **clonedNode); + + [id(DISPID_IHTMLDOMNODE_REMOVENODE)] + HRESULT removeNode( + [defaultvalue(0), in] VARIANT_BOOL fDeep, + [retval, out] IHTMLDOMNode **removed); + + [id(DISPID_IHTMLDOMNODE_SWAPNODE)] + HRESULT swapNode( + [in] IHTMLDOMNode *otherNode, + [retval, out] IHTMLDOMNode **swappedNode); + + [id(DISPID_IHTMLDOMNODE_REPLACENODE)] + HRESULT replaceNode( + [in] IHTMLDOMNode *replacement, + [retval, out] IHTMLDOMNode **replaced); + + [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] + HRESULT appendChild( + [in] IHTMLDOMNode *newChild, + [retval, out] IHTMLDOMNode **node); + + [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] + HRESULT nodeName([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] + HRESULT nodeValue([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] + HRESULT nodeValue([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] + HRESULT firstChild([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] + HRESULT lastChild([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] + HRESULT previousSibling([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] + HRESULT nextSibling([retval, out] IHTMLDOMNode **p); +} + +#define WINE_IHTMLDOMNODE_DISPINTERFACE_DECL \ + [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] \ + LONG nodeType(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] \ + IHTMLDOMNode* parentNode(); \ + \ + [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] \ + VARIANT_BOOL hasChildNodes(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] \ + IDispatch* childNodes(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] \ + IDispatch* attributes(); \ + \ + [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] \ + IHTMLDOMNode* insertBefore( \ + [in] IHTMLDOMNode* newChild, \ + [optional, in] VARIANT refChild); \ + \ + [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] \ + IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild); \ + \ + [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] \ + IHTMLDOMNode* replaceChild( \ + [in] IHTMLDOMNode* newChild, \ + [in] IHTMLDOMNode* oldChild); \ + \ + [id(DISPID_IHTMLDOMNODE_CLONENODE)] \ + IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep); \ + \ + [id(DISPID_IHTMLDOMNODE_REMOVENODE)] \ + IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep); \ + \ + [id(DISPID_IHTMLDOMNODE_SWAPNODE)] \ + IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode); \ + \ + [id(DISPID_IHTMLDOMNODE_REPLACENODE)] \ + IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement); \ + \ + [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] \ + IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] \ + BSTR nodeName(); \ + \ + [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] \ + void nodeValue(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] \ + VARIANT nodeValue(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] \ + IHTMLDOMNode* firstChild(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] \ + IHTMLDOMNode* lastChild(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] \ + IHTMLDOMNode* previousSibling(); \ + \ + [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] \ + IHTMLDOMNode* nextSibling() + +/***************************************************************************** + * IHTMLDOMNode2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f80b-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMNode2 : IDispatch +{ + [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] + HRESULT ownerDocument([retval, out] IDispatch **p); +} + +#define WINE_IHTMLDOMNODE2_DISPINTERFACE_DECL \ + [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] \ + IDispatch *ownerDocument() + +#define WINE_HTMLDOMNODE_DISPINTERFACE_DECL \ + WINE_IHTMLDOMNODE_DISPINTERFACE_DECL; \ + WINE_IHTMLDOMNODE2_DISPINTERFACE_DECL + +/***************************************************************************** + * IHTMLDOMNode3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(305106e0-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMNode3 : IDispatch +{ + [propput, id(DISPID_IHTMLDOMNODE3_PREFIX)] + HRESULT prefix([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOMNODE3_PREFIX)] + HRESULT prefix([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOMNODE3_LOCALNAME)] + HRESULT localName([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOMNODE3_NAMESPACEURI)] + HRESULT namespaceURI([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOMNODE3_TEXTCONTENT)] + HRESULT textContent([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOMNODE3_TEXTCONTENT)] + HRESULT textContent([out, retval] VARIANT *p); + + [id(DISPID_IHTMLDOMNODE3_ISEQUALNODE)] + HRESULT isEqualNode( + [in] IHTMLDOMNode3 *otherNode, + [out, retval] VARIANT_BOOL *isEqual); + + [id(DISPID_IHTMLDOMNODE3_LOOKUPNAMESPACEURI)] + HRESULT lookupNamespaceURI( + [in] VARIANT *pvarPrefix, + [out, retval] VARIANT *pvarNamespaceURI); + + [id(DISPID_IHTMLDOMNODE3_LOOKUPPREFIX)] + HRESULT lookupPrefix( + [in] VARIANT *pvarNamespaceURI, + [out, retval] VARIANT *pvarPrefix); + + [id(DISPID_IHTMLDOMNODE3_ISDEFAULTNAMESPACE)] + HRESULT isDefaultNamespace( + [in] VARIANT *pvarNamespace, + [out, retval] VARIANT_BOOL *pfDefaultNamespace); + + [id(DISPID_IHTMLDOMNODE3_IE9_APPENDCHILD)] + HRESULT appendChild( + [in] IHTMLDOMNode *newChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_IE9_INSERTBEFORE)] + HRESULT insertBefore( + [in] IHTMLDOMNode *newChild, + [in, optional] VARIANT refChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_IE9_REMOVECHILD)] + HRESULT removeChild( + [in] IHTMLDOMNode *oldChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_IE9_REPLACECHILD)] + HRESULT replaceChild( + [in] IHTMLDOMNode *newChild, + [in] IHTMLDOMNode *oldChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_ISSAMENODE)] + HRESULT isSameNode( + [in] IHTMLDOMNode3 *otherNode, + [out, retval] VARIANT_BOOL *isSame); + + [id(DISPID_IHTMLDOMNODE3_COMPAREDOCUMENTPOSITION)] + HRESULT compareDocumentPosition( + [in] IHTMLDOMNode *otherNode, + [out, retval] USHORT *flags); + + [id(DISPID_IHTMLDOMNODE3_ISSUPPORTED)] + HRESULT isSupported( + [in] BSTR feature, + [in] VARIANT version, + [out, retval] VARIANT_BOOL *pfisSupported); +} + +/***************************************************************************** + * IHTMLDOMAttribute interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4b0-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMAttribute : IDispatch +{ + [propget, id(DISPID_IHTMLDOMATTRIBUTE_NODENAME)] + HRESULT nodeName([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE_NODEVALUE)] + HRESULT nodeValue([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE_NODEVALUE)] + HRESULT nodeValue([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE_SPECIFIED)] + HRESULT specified([retval, out] VARIANT_BOOL *p); +} + +/***************************************************************************** + * IHTMLDOMAttribute2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f810-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMAttribute2 : IDispatch +{ + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NAME)] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE2_VALUE)] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_VALUE)] + HRESULT value([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_EXPANDO)] + HRESULT expando([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NODETYPE)] + HRESULT nodeType([retval, out] long *p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE)] + HRESULT parentNode([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES)] + HRESULT childNodes([retval, out] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD)] + HRESULT firstChild([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD)] + HRESULT lastChild([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING)] + HRESULT previousSibling([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING)] + HRESULT nextSibling([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES)] + HRESULT attributes([retval, out] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT)] + HRESULT ownerDocument([retval, out] IDispatch **p); + + [id(DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE)] + HRESULT insertBefore( + [in] IHTMLDOMNode *newChild, + [optional, in] VARIANT refChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD)] + HRESULT replaceChild( + [in] IHTMLDOMNode *newChild, + [in] IHTMLDOMNode *oldChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD)] + HRESULT removeChild( + [in] IHTMLDOMNode *oldChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD)] + HRESULT appendChild( + [in] IHTMLDOMNode *newChild, + [retval, out] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES)] + HRESULT hasChildNodes([retval, out] VARIANT_BOOL *fChildren); + + [id(DISPID_IHTMLDOMATTRIBUTE2_CLONENODE)] + HRESULT cloneNode( + [in] VARIANT_BOOL fDeep, + [retval, out] IHTMLDOMAttribute **clonedNode); +} + +/***************************************************************************** + * IHTMLDOMTextNode interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4b1-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMTextNode : IDispatch +{ + [propput, id(DISPID_IHTMLDOMTEXTNODE_DATA)] + HRESULT data([in] BSTR v); + + [propget, id(DISPID_IHTMLDOMTEXTNODE_DATA)] + HRESULT data([out, retval] BSTR *p); + + [id(DISPID_IHTMLDOMTEXTNODE_TOSTRING)] + HRESULT toString([out, retval] BSTR *String); + + [propget, id(DISPID_IHTMLDOMTEXTNODE_LENGTH)] + HRESULT length([out, retval] LONG *p); + + [id(DISPID_IHTMLDOMTEXTNODE_SPLITTEXT)] + HRESULT splitText( + [in] LONG offset, + [out, retval] IHTMLDOMNode **pRetNode); +} + +/***************************************************************************** + * IHTMLDOMTextNode2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f809-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMTextNode2 : IDispatch +{ + [id(DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA)] + HRESULT substringData([in] LONG offset,[in] LONG Count,[retval, out] BSTR* pbstrsubString); + + [id(DISPID_IHTMLDOMTEXTNODE2_APPENDDATA)] + HRESULT appendData([in] BSTR bstrstring); + + [id(DISPID_IHTMLDOMTEXTNODE2_INSERTDATA)] + HRESULT insertData([in] LONG offset,[in] BSTR bstrstring); + + [id(DISPID_IHTMLDOMTEXTNODE2_DELETEDATA)] + HRESULT deleteData([in] LONG offset,[in] LONG Count); + + [id(DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA)] + HRESULT replaceData([in] LONG offset,[in] LONG Count,[in] BSTR bstrstring); +} + +[ + noncreatable, + uuid(3050f4ba-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLDOMTextNode +{ + [default] dispinterface DispHTMLDOMTextNode; + interface IHTMLDOMTextNode; + interface IHTMLDOMTextNode2; + interface IHTMLDOMNode; + interface IHTMLDOMNode2; +} + +/***************************************************************************** + * IHTMLDOMImplementation interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f80d-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMImplementation : IDispatch +{ + [id(DISPID_IHTMLDOMIMPLEMENTATION_HASFEATURE)] + HRESULT hasFeature( + [in] BSTR bstrfeature, + [optional, in] VARIANT version, + [retval, out] VARIANT_BOOL *pfHasFeature); +} + +/***************************************************************************** + * DispHTMLDOMAttribute dispinterface + */ +[ + hidden, + uuid(3050f564-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLDOMAttribute +{ + properties: + methods: + [propget, id(DISPID_IHTMLDOMATTRIBUTE_NODENAME)] + BSTR nodeName(); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE_NODEVALUE)] + void nodeValue(VARIANT v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE_NODEVALUE)] + VARIANT nodeValue(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE_SPECIFIED)] + VARIANT_BOOL specified(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NAME)] + BSTR name(); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE2_VALUE)] + void value(BSTR v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_VALUE)] + BSTR value(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_EXPANDO)] + VARIANT_BOOL expando(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NODETYPE)] + long nodeType(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE)] + IHTMLDOMNode *parentNode(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES)] + IDispatch *childNodes(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD)] + IHTMLDOMNode *firstChild(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD)] + IHTMLDOMNode *lastChild(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING)] + IHTMLDOMNode *previousSibling(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING)] + IHTMLDOMNode *nextSibling(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES)] + IDispatch *attributes(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT)] + IDispatch *ownerDocument(); + + [id(DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE)] + IHTMLDOMNode *insertBefore( + [in] IHTMLDOMNode *newChild, + [optional, in] VARIANT refChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD)] + IHTMLDOMNode *replaceChild( + [in] IHTMLDOMNode *newChild, + [in] IHTMLDOMNode *oldChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD)] + IHTMLDOMNode *removeChild([in] IHTMLDOMNode *oldChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD)] + IHTMLDOMNode *appendChild([in] IHTMLDOMNode *newChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES)] + VARIANT_BOOL hasChildNodes(); + + [id(DISPID_IHTMLDOMATTRIBUTE2_CLONENODE)] + IHTMLDOMAttribute *cloneNode([in] VARIANT_BOOL fDeep); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE)] + void ie8_nodeValue(VARIANT v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE)] + VARIANT ie8_nodeValue(); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE)] + void ie8_value(BSTR v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE)] + BSTR ie8_value(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED)] + VARIANT_BOOL ie8_specified(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT)] + IHTMLElement2 *ownerElement(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +/***************************************************************************** + * IHTMLDocumentCompatibleInfo interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051041a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocumentCompatibleInfo : IDispatch +{ + [propget, id(DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_USERAGENT)] + HRESULT userAgent([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_VERSION)] + HRESULT version([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLDocumentCompatibleInfoCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510418-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocumentCompatibleInfoCollection : IDispatch +{ + [propget, id(DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_LENGTH)] + HRESULT length([retval, out] long *p); + + [id(DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_ITEM)] + HRESULT item([in] long i, [retval, out]IHTMLDocumentCompatibleInfo **p); +} + +/***************************************************************************** + * DispHTMLDOMTextNode dispinterface + */ +[ + hidden, + uuid(3050f565-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLDOMTextNode +{ +properties: +methods: + [propput, id(DISPID_IHTMLDOMTEXTNODE_DATA)] + void data(BSTR v); + + [propget, id(DISPID_IHTMLDOMTEXTNODE_DATA)] + BSTR data(); + + [id(DISPID_IHTMLDOMTEXTNODE_TOSTRING)] + BSTR toString(); + + [propget, id(DISPID_IHTMLDOMTEXTNODE_LENGTH)] + LONG length(); + + [id(DISPID_IHTMLDOMTEXTNODE_SPLITTEXT)] + IHTMLDOMNode *splitText([in] LONG offset); + + [id(DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA)] + BSTR substringData( + [in] LONG offset, + [in] LONG Count); + + [id(DISPID_IHTMLDOMTEXTNODE2_APPENDDATA)] + void appendData([in] BSTR bstrstring); + + [id(DISPID_IHTMLDOMTEXTNODE2_INSERTDATA)] + void insertData( + [in] LONG offset, + [in] BSTR bstrstring); + + [id(DISPID_IHTMLDOMTEXTNODE2_DELETEDATA)] + void deleteData( + [in] LONG offset, + [in] LONG Count); + + [id(DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA)] + void replaceData( + [in] LONG offset, + [in] LONG Count, + [in] BSTR bstrstring); + + WINE_HTMLDOMNODE_DISPINTERFACE_DECL; +} + +/***************************************************************************** + * IHTMLAttributeCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4c3-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLAttributeCollection : IDispatch +{ + [propget, id(DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH)] + HRESULT length( + [retval, out] long *p); + + [propget, id(DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM), hidden, restricted] + HRESULT _newEnum( + [retval, out] IUnknown **p); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION_ITEM)] + HRESULT item( + [optional, in] VARIANT *name, + [retval, out] IDispatch **pdisp); +} + +/***************************************************************************** + * IHTMLAttributeCollection2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f80a-98b5-11cf-bb82-00aa00bdce0b) + ] +interface IHTMLAttributeCollection2 : IDispatch +{ + [id(DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM)] + HRESULT getNamedItem( + [in] BSTR bstrName, + [retval, out] IHTMLDOMAttribute **newretNode); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM)] + HRESULT setNamedItem( + [in] IHTMLDOMAttribute *ppNode, + [retval, out] IHTMLDOMAttribute **newretNode); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM)] + HRESULT removeNamedItem( + [in] BSTR bstrName, + [retval, out] IHTMLDOMAttribute **newretNode); +} + +/***************************************************************************** + * IHTMLAttributeCollection3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510469-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLAttributeCollection3 : IDispatch +{ + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM)] + HRESULT getNamedItem( + [in] BSTR bstrName, + [retval, out] IHTMLDOMAttribute **ppNodeOut); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM)] + HRESULT setNamedItem( + [in] IHTMLDOMAttribute *pNodeIn, + [retval, out] IHTMLDOMAttribute **ppNodeOut); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM)] + HRESULT removeNamedItem( + [in] BSTR bstrName, + [retval, out] IHTMLDOMAttribute **ppNodeOut); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM)] + HRESULT item( + [in] long index, + [retval, out] IHTMLDOMAttribute **ppNodeOut); + + [propget, id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH)] + HRESULT length([retval, out] long *p); +} + +/***************************************************************************** + * DispHTMLAttributeCollection dispinterface + */ +[ + hidden, + uuid(3050f56c-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLAttributeCollection +{ +properties: +methods: + [propget, id(DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH)] + long length(); + + [propget, id(DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION_ITEM)] + IDispatch *item([optional, in] VARIANT *name); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM)] + IHTMLDOMAttribute *getNamedItem([in] BSTR bstrName); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM)] + IHTMLDOMAttribute *setNamedItem([in] IHTMLDOMAttribute *ppNode); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM)] + IHTMLDOMAttribute *removeNamedItem([in] BSTR bstrName); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM)] + IHTMLDOMAttribute *ie8_getNamedItem([in] BSTR bstrName); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM)] + IHTMLDOMAttribute *ie8_setNamedItem([in] IHTMLDOMAttribute *pNodeIn); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM)] + IHTMLDOMAttribute *ie8_removeNamedItem([in] BSTR bstrName); + + [id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM)] + IHTMLDOMAttribute *ie8_item([in] long index); + + [propget, id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH)] + long ie8_length(); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + +/***************************************************************************** + * IHTMLDOMChildrenCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f5ab-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMChildrenCollection : IDispatch +{ + [propget, id(DISPID_IHTMLDOMCHILDRENCOLLECTION_LENGTH)] + HRESULT length([out, retval] LONG *p); + + [propget, id(DISPID_IHTMLDOMCHILDRENCOLLECTION__NEWENUM), hidden, restricted] + HRESULT _newEnum([out, retval] IUnknown **p); + + [id(DISPID_IHTMLDOMCHILDRENCOLLECTION_ITEM)] + HRESULT item( + [in] LONG index, + [out, retval] IDispatch **ppItem); +} + +/***************************************************************************** + * DispDOMChildrenCollection dispinterface + */ +[ + hidden, + uuid(3050f577-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispDOMChildrenCollection +{ +properties: +methods: + [propget, id(DISPID_IHTMLDOMCHILDRENCOLLECTION_LENGTH)] + LONG length(); + + [propget, id(DISPID_IHTMLDOMCHILDRENCOLLECTION__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLDOMCHILDRENCOLLECTION_ITEM)] + IDispatch *item([in] LONG index); +} + +interface IHTMLElementCollection; + +/***************************************************************************** + * IHTMLElement interface + */ +[ + odl, + dual, + oleautomation, + uuid(3050f1FF-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLElement : IDispatch +{ + [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strAttributeName, + [in] VARIANT AttributeValue, + [defaultvalue(1), in] LONG lFlags); + + [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strAttributeName, + [defaultvalue(0), in] LONG lFlags, + [retval, out] VARIANT *AttributeValue); + + [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR strAttributeName, + [defaultvalue(1), in] LONG lFlags, + [retval, out] VARIANT_BOOL *pfSuccess); + + [propput, id(DISPID_IHTMLELEMENT_CLASSNAME)] + HRESULT className([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_CLASSNAME)] + HRESULT className([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT_ID)] + HRESULT id([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_ID)] + HRESULT id([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] + HRESULT tagName([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] + HRESULT parentElement([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLELEMENT_STYLE)] + HRESULT style([retval, out] IHTMLStyle **p); + + [propput, id(DISPID_IHTMLELEMENT_ONHELP)] + HRESULT onhelp([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONHELP)] + HRESULT onhelp([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONCLICK)] + HRESULT onclick([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONCLICK)] + HRESULT onclick([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK)] + HRESULT ondblclick([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK)] + HRESULT ondblclick([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN)] + HRESULT onkeydown([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN)] + HRESULT onkeydown([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONKEYUP)] + HRESULT onkeyup([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONKEYUP)] + HRESULT onkeyup([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS)] + HRESULT onkeypress([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS)] + HRESULT onkeypress([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT)] + HRESULT onmouseout([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT)] + HRESULT onmouseout([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER)] + HRESULT onmouseover([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER)] + HRESULT onmouseover([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE)] + HRESULT onmousemove([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE)] + HRESULT onmousemove([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN)] + HRESULT onmousedown([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN)] + HRESULT onmousedown([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP)] + HRESULT onmouseup([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP)] + HRESULT onmouseup([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] + HRESULT document([retval, out] IDispatch **p); + + [propput, id(DISPID_IHTMLELEMENT_TITLE)] + HRESULT title([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_TITLE)] + HRESULT title([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT_LANGUAGE)] + HRESULT language([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_LANGUAGE)] + HRESULT language([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART)] + HRESULT onselectstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART)] + HRESULT onselectstart([retval, out] VARIANT *p); + + [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] + HRESULT scrollIntoView([optional, in] VARIANT varargStart); + + [id(DISPID_IHTMLELEMENT_CONTAINS)] + HRESULT contains( + [in] IHTMLElement *pChild, + [retval, out] VARIANT_BOOL *pfResult); + + [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX)] + HRESULT sourceIndex([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] + HRESULT recordNumber([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_LANG)] + HRESULT lang([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_LANG)] + HRESULT lang([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] + HRESULT offsetLeft([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] + HRESULT offsetTop([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] + HRESULT offsetWidth([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] + HRESULT offsetHeight([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] + HRESULT offsetParent([retval, out] IHTMLElement **p); + + [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] + HRESULT innerHTML([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] + HRESULT innerHTML([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] + HRESULT innerText([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] + HRESULT innerText([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] + HRESULT outerHTML([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] + HRESULT outerHTML([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] + HRESULT outerText([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] + HRESULT outerText([retval, out] BSTR *p); + + [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] + HRESULT insertAdjacentHTML([in] BSTR where, [in] BSTR html); + + [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] + HRESULT insertAdjacentText([in] BSTR where, [in] BSTR text); + + [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] + HRESULT parentTextEdit([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] + HRESULT isTextEdit([retval, out] VARIANT_BOOL *p); + + [id(DISPID_IHTMLELEMENT_CLICK)] + HRESULT click(); + + [propget, id(DISPID_IHTMLELEMENT_FILTERS)] + HRESULT filters([retval, out] IHTMLFiltersCollection **p); + + [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART)] + HRESULT ondragstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART)] + HRESULT ondragstart([retval, out] VARIANT *p); + + [id(DISPID_IHTMLELEMENT_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); + + [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE)] + HRESULT onbeforeupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE)] + HRESULT onbeforeupdate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE)] + HRESULT onafterupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE)] + HRESULT onafterupdate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE)] + HRESULT onerrorupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE)] + HRESULT onerrorupdate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT)] + HRESULT onrowexit([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT)] + HRESULT onrowexit([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONROWENTER)] + HRESULT onrowenter([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONROWENTER)] + HRESULT onrowenter([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED)] + HRESULT ondatasetchanged([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED)] + HRESULT ondatasetchanged([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE)] + HRESULT ondataavailable([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE)] + HRESULT ondataavailable([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE)] + HRESULT ondatasetcomplete([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE)] + HRESULT ondatasetcomplete([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE)] + HRESULT onfilterchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE)] + HRESULT onfilterchange([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] + HRESULT children([retval, out] IDispatch **p); + + [propget, id(DISPID_IHTMLELEMENT_ALL)] + HRESULT all([retval, out] IDispatch **p); +} + +#define WINE_IHTMLELEMENT_DISPINTERFACE_DECL \ + [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] \ + void setAttribute( \ + [in] BSTR strAttributeName, \ + [in] VARIANT AttValue, \ + [defaultvalue(1), in] LONG lFlags); \ + \ + [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] \ + VARIANT getAttribute( \ + [in] BSTR strAttributeName, \ + [defaultvalue(0), in] LONG lFlags); \ + \ + [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] \ + VARIANT_BOOL removeAttribute( \ + [in] BSTR strAttributeName, \ + [defaultvalue(1), in] LONG lFlags); \ + \ + [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] \ + void className(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] \ + BSTR className(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ID), bindable] \ + void id(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ID), bindable] \ + BSTR id(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] \ + BSTR tagName(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] \ + IHTMLElement *parentElement(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] \ + IHTMLStyle *style(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] \ + void onhelp(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] \ + VARIANT onhelp(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] \ + void onclick(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] \ + VARIANT onclick(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable]\ + void ondblclick(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable]\ + VARIANT ondblclick(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] \ + void onkeydown(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] \ + VARIANT onkeydown(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] \ + void onkeyup(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] \ + VARIANT onkeyup(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable]\ + void onkeypress(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable]\ + VARIANT onkeypress(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable]\ + void onmouseout(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable]\ + VARIANT onmouseout(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] \ + void onmouseover(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] \ + VARIANT onmouseover(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] \ + void onmousemove(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] \ + VARIANT onmousemove(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] \ + void onmousedown(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] \ + VARIANT onmousedown(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] \ + void onmouseup(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] \ + VARIANT onmouseup(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] \ + void title(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] \ + BSTR title(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] \ + void language(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] \ + BSTR language(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] \ + void onselectstart(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] \ + VARIANT onselectstart(); \ + \ + [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] \ + void scrollIntoView([optional, in] VARIANT varargStart); \ + \ + [id(DISPID_IHTMLELEMENT_CONTAINS)] \ + VARIANT_BOOL contains([in] IHTMLElement* pChild); \ + \ + [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] \ + LONG sourceIndex(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] \ + VARIANT recordNumber(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_LANG)] \ + void lang(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_LANG)] \ + BSTR lang(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] \ + LONG offsetLeft(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] \ + LONG offsetTop(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] \ + LONG offsetWidth(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] \ + LONG offsetHeight(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] \ + IHTMLElement* offsetParent(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] \ + void innerHTML(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] \ + BSTR innerHTML(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] \ + void innerText(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] \ + BSTR innerText(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] \ + void outerHTML(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] \ + BSTR outerHTML(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] \ + void outerText(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] \ + BSTR outerText(); \ + \ + [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] \ + void insertAdjacentHTML( \ + [in] BSTR where, \ + [in] BSTR html); \ + \ + [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] \ + void insertAdjacentText( \ + [in] BSTR where, \ + [in] BSTR text); \ + \ + [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] \ + IHTMLElement* parentTextEdit(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] \ + VARIANT_BOOL isTextEdit(); \ + \ + [id(DISPID_IHTMLELEMENT_CLICK)] \ + void click(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_FILTERS)] \ + IHTMLFiltersCollection* filters(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] \ + void ondragstart(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] \ + VARIANT ondragstart(); \ + \ + [id(DISPID_IHTMLELEMENT_TOSTRING)] \ + BSTR toString(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] \ + void onbeforeupdate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] \ + VARIANT onbeforeupdate(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] \ + void onafterupdate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] \ + VARIANT onafterupdate(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] \ + void onerrorupdate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] \ + VARIANT onerrorupdate(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] \ + void onrowexit(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] \ + VARIANT onrowexit(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] \ + void onrowenter(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] \ + VARIANT onrowenter(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] \ + void ondatasetchanged(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] \ + VARIANT ondatasetchanged(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] \ + void ondataavailable(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] \ + VARIANT ondataavailable(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] \ + void ondatasetcomplete(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] \ + VARIANT ondatasetcomplete(); \ + \ + [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] \ + void onfilterchange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] \ + VARIANT onfilterchange(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] \ + IDispatch* children(); \ + \ + [propget, id(DISPID_IHTMLELEMENT_ALL)] \ + IDispatch* all() + +/***************************************************************************** + * IHTMLElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f434-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLElement2 : IDispatch +{ + [propget, id(DISPID_IHTMLELEMENT2_SCOPENAME)] + HRESULT scopeName([retval, out] BSTR *p); + + [id(DISPID_IHTMLELEMENT2_SETCAPTURE)] + HRESULT setCapture([defaultvalue(-1), in] VARIANT_BOOL containerCapture); + + [id(DISPID_IHTMLELEMENT2_RELEASECAPTURE)] + HRESULT releaseCapture(); + + [propput, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] + HRESULT onlosecapture([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] + HRESULT onlosecapture([retval, out] VARIANT *p); + + [id(DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT)] + HRESULT componentFromPoint( + [in] LONG x, + [in] LONG y, + [retval, out] BSTR *component); + + [id(DISPID_IHTMLELEMENT2_DOSCROLL)] + HRESULT doScroll([optional, in] VARIANT component); + + [propput, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] + HRESULT onscroll([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] + HRESULT onscroll([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] + HRESULT ondrag([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] + HRESULT ondrag([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] + HRESULT ondragend([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] + HRESULT ondragend([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] + HRESULT ondragenter([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] + HRESULT ondragenter([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] + HRESULT ondragover([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] + HRESULT ondragover([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] + HRESULT ondragleave([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] + HRESULT ondragleave([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] + HRESULT ondrop([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] + HRESULT ondrop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] + HRESULT onbeforecut([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] + HRESULT onbeforecut([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] + HRESULT oncut([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] + HRESULT oncut([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] + HRESULT onbeforecopy([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] + HRESULT onbeforecopy([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] + HRESULT oncopy([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] + HRESULT oncopy([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] + HRESULT onbeforepaste([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] + HRESULT onbeforepaste([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] + HRESULT onpaste([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] + HRESULT onpaste([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] + HRESULT currentStyle([retval, out] IHTMLCurrentStyle **p); + + [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] + HRESULT onpropertychange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] + HRESULT onpropertychange([retval, out] VARIANT *p); + + [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] + HRESULT getClientRects([retval, out] IHTMLRectCollection **pRectCol); + + [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] + HRESULT getBoundingClientRect([retval, out] IHTMLRect **pRect); + + [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] + HRESULT setExpression( + [in] BSTR propname, + [in] BSTR expression, + [defaultvalue(""), in] BSTR language); + + [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] + HRESULT getExpression( + [in] BSTR propname, + [retval, out] VARIANT *expression); + + [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] + HRESULT removeExpression( + [in] BSTR propname, + [retval, out] VARIANT_BOOL *pfSuccess); + + [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] + HRESULT tabIndex([in] short v); + + [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] + HRESULT tabIndex([retval, out] short *p); + + [id(DISPID_IHTMLELEMENT2_FOCUS)] + HRESULT focus(); + + [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] + HRESULT onblur([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] + HRESULT onfocus([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] + HRESULT onresize([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] + HRESULT onresize([retval, out] VARIANT *p); + + [id(DISPID_IHTMLELEMENT2_BLUR)] + HRESULT blur(); + + [id(DISPID_IHTMLELEMENT2_ADDFILTER)] + HRESULT addFilter([in] IUnknown *pUnk); + + [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] + HRESULT removeFilter([in] IUnknown *pUnk); + + [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] + HRESULT clientHeight([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] + HRESULT clientWidth([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] + HRESULT clientTop([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] + HRESULT clientLeft([retval, out] LONG *p); + + [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] + HRESULT attachEvent( + [in] BSTR event, + [in] IDispatch *pDisp, + [retval, out] VARIANT_BOOL *pfResult); + + [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] + HRESULT detachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] + HRESULT readyState([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] + HRESULT onrowsdelete([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] + HRESULT onrowsdelete([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] + HRESULT onrowsinserted([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] + HRESULT onrowsinserted([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] + HRESULT oncellchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] + HRESULT oncellchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] + HRESULT dir([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] + HRESULT dir([retval, out] BSTR *p); + + [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] + HRESULT createControlRange([retval, out] IDispatch **range); + + [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] + HRESULT scrollHeight([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] + HRESULT scrollWidth([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] + HRESULT scrollTop([in] LONG v); + + [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] + HRESULT scrollTop([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] + HRESULT scrollLeft([in] LONG v); + + [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] + HRESULT scrollLeft([retval, out] LONG *p); + + [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] + HRESULT clearAttributes(); + + [id(DISPID_IHTMLELEMENT2_MERGEATTRIBUTES)] + HRESULT mergeAttributes([in] IHTMLElement *mergeThis); + + [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] + HRESULT oncontextmenu([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] + HRESULT oncontextmenu([retval, out] VARIANT *p); + + [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] + HRESULT insertAdjacentElement( + [in] BSTR where, + [in] IHTMLElement *insertedElement, + [retval, out] IHTMLElement **inserted); + + [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] + HRESULT applyElement( + [in] IHTMLElement *apply, + [in] BSTR where, + [retval, out] IHTMLElement **applied); + + [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] + HRESULT getAdjacentText( + [in] BSTR where, + [retval, out] BSTR *text); + + [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] + HRESULT replaceAdjacentText( + [in] BSTR where, + [in] BSTR newText, + [retval, out] BSTR *oldText); + + [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] + HRESULT canHaveChildren([retval, out] VARIANT_BOOL *p); + + [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] + HRESULT addBehavior( + [in] BSTR bstrUrl, + [optional, in] VARIANT *pvarFactory, + [retval, out] LONG *pCookie); + + [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] + HRESULT removeBehavior( + [in] LONG cookie, + [retval, out] VARIANT_BOOL *pfResult); + + [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] + HRESULT runtimeStyle([retval, out] IHTMLStyle **p); + + [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] + HRESULT behaviorUrns([retval, out] IDispatch **p); + + [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] + HRESULT tagUrn([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] + HRESULT tagUrn([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] + HRESULT onbeforeeditfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] + HRESULT onbeforeeditfocus([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] + HRESULT readyStateValue([retval, out] LONG *p); + + [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( + [in] BSTR v, + [retval, out] IHTMLElementCollection **pelColl); +} + +#define WINE_IHTMLELEMENT2_DISPINTERFACE_DECL \ + [propget, id(DISPID_IHTMLELEMENT2_SCOPENAME)] \ + BSTR scopeName(); \ + \ + [id(DISPID_IHTMLELEMENT2_SETCAPTURE)] \ + void setCapture([defaultvalue(-1), in] VARIANT_BOOL containerCapture); \ + \ + [id(DISPID_IHTMLELEMENT2_RELEASECAPTURE)] \ + void releaseCapture(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] \ + void onlosecapture(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] \ + VARIANT onlosecapture(); \ + \ + [id(DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT)] \ + BSTR componentFromPoint([in] LONG x,[in] LONG y); \ + \ + [id(DISPID_IHTMLELEMENT2_DOSCROLL)] \ + void doScroll([optional, in] VARIANT component); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] \ + void onscroll(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] \ + VARIANT onscroll(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] \ + void ondrag(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] \ + VARIANT ondrag(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] \ + void ondragend(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] \ + VARIANT ondragend(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] \ + void ondragenter(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] \ + VARIANT ondragenter(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] \ + void ondragover(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] \ + VARIANT ondragover(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] \ + void ondragleave(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] \ + VARIANT ondragleave(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] \ + void ondrop(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] \ + VARIANT ondrop(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] \ + void onbeforecut(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] \ + VARIANT onbeforecut(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] \ + void oncut(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] \ + VARIANT oncut(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] \ + void onbeforecopy(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] \ + VARIANT onbeforecopy(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] \ + void oncopy(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] \ + VARIANT oncopy(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] \ + void onbeforepaste(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] \ + VARIANT onbeforepaste(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] \ + void onpaste(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] \ + VARIANT onpaste(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] \ + IHTMLCurrentStyle* currentStyle(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] \ + void onpropertychange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] \ + VARIANT onpropertychange(); \ + \ + [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] \ + IHTMLRectCollection* getClientRects(); \ + \ + [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] \ + IHTMLRect* getBoundingClientRect(); \ + \ + [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] \ + void setExpression( \ + [in] BSTR propname, \ + [in] BSTR expr, \ + [defaultvalue(""), in] BSTR lang); \ + \ + [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] \ + VARIANT getExpression([in] BSTR propname); \ + \ + [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] \ + VARIANT_BOOL removeExpression([in] BSTR propname); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] \ + void tabIndex(short v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] \ + short tabIndex(); \ + \ + [id(DISPID_IHTMLELEMENT2_FOCUS)] \ + void focus(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable]\ + void accessKey(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable]\ + BSTR accessKey(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] \ + void onblur(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] \ + VARIANT onblur(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] \ + void onfocus(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] \ + VARIANT onfocus(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] \ + void onresize(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] \ + VARIANT onresize(); \ + \ + [id(DISPID_IHTMLELEMENT2_BLUR)] \ + void blur(); \ + \ + [id(DISPID_IHTMLELEMENT2_ADDFILTER)] \ + void addFilter([in] IUnknown* pUnk); \ + \ + [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] \ + void removeFilter([in] IUnknown* pUnk); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] \ + LONG clientHeight(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] \ + LONG clientWidth(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] \ + LONG clientTop(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] \ + LONG clientLeft(); \ + \ + [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] \ + VARIANT_BOOL attachEvent( \ + [in] BSTR event, \ + [in] IDispatch* pDisp); \ + \ + [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] \ + void detachEvent( \ + [in] BSTR event, \ + [in] IDispatch* pDisp); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] VARIANT readyState(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] \ + void onreadystatechange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] \ + VARIANT onreadystatechange(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] \ + void onrowsdelete(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] \ + VARIANT onrowsdelete(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] \ + void onrowsinserted(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] \ + VARIANT onrowsinserted(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] \ + void oncellchange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] \ + VARIANT oncellchange(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] \ + void dir(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] \ + BSTR dir(); \ + \ + [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] \ + IDispatch* createControlRange(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] \ + LONG scrollHeight(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] \ + LONG scrollWidth(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable]\ + void scrollTop(LONG v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable]\ + LONG scrollTop(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] \ + void scrollLeft(LONG v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] \ + LONG scrollLeft(); \ + \ + [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] \ + void clearAttributes(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] \ + void oncontextmenu(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] \ + VARIANT oncontextmenu(); \ + \ + [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] \ + IHTMLElement* insertAdjacentElement( \ + [in] BSTR where, \ + [in] IHTMLElement* insertedElement); \ + \ + [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] \ + IHTMLElement* applyElement([in] IHTMLElement* apply,[in] BSTR where); \ + \ + [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] \ + BSTR getAdjacentText([in] BSTR where); \ + \ + [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] \ + BSTR replaceAdjacentText([in] BSTR where,[in] BSTR newText); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] \ + VARIANT_BOOL canHaveChildren(); \ + \ + [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] \ + LONG addBehavior([in] BSTR bstrUrl,[optional, in] VARIANT* pvarFactory); \ + \ + [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] \ + VARIANT_BOOL removeBehavior([in] LONG cookie); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] \ + IHTMLStyle* runtimeStyle(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] \ + IDispatch* behaviorUrns(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] \ + void tagUrn(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] \ + BSTR tagUrn(); \ + \ + [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] \ + void onbeforeeditfocus(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] \ + VARIANT onbeforeeditfocus(); \ + \ + [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] \ + LONG readyStateValue(); \ + \ + [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] \ + IHTMLElementCollection* getElementsByTagName([in] BSTR v) + +/***************************************************************************** + * IHTMLElement3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f673-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLElement3 : IDispatch +{ + [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] HRESULT mergeAttributes([in] + IHTMLElement* mergeThis,[optional, in] VARIANT* pvarFlags); + + [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] + HRESULT isMultiLine([retval, out] VARIANT_BOOL * p); + + [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] + HRESULT canHaveHTML([retval, out] VARIANT_BOOL * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] + HRESULT onlayoutcomplete([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] + HRESULT onlayoutcomplete([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] + HRESULT onpage([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] + HRESULT onpage([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] + HRESULT inflateBlock([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] + HRESULT inflateBlock([retval, out] VARIANT_BOOL * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] + HRESULT onbeforedeactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] + HRESULT onbeforedeactivate([retval, out] VARIANT * p); + + [id(DISPID_IHTMLELEMENT3_SETACTIVE)] HRESULT setActive(); + + [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] + HRESULT contentEditable([in] BSTR v); + + [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] + HRESULT contentEditable([retval, out] BSTR * p); + + [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] + HRESULT isContentEditable([retval, out] VARIANT_BOOL * p); + + [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] + HRESULT hideFocus([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] + HRESULT hideFocus([retval, out] VARIANT_BOOL * p); + + [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL * p); + + [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] + HRESULT isDisabled([retval, out] VARIANT_BOOL * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] + HRESULT onmove([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] + HRESULT onmove([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] + HRESULT oncontrolselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] + HRESULT oncontrolselect([retval, out] VARIANT * p); + + [id(DISPID_IHTMLELEMENT3_FIREEVENT)] + HRESULT fireEvent( + [in] BSTR bstrEventName, + [optional, in] VARIANT* pvarEventObject, + [retval, out] VARIANT_BOOL* pfCancelled); + + [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] + HRESULT onresizestart([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] + HRESULT onresizestart([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] + HRESULT onresizeend([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] + HRESULT onresizeend([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] + HRESULT onmovestart([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] + HRESULT onmovestart([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] + HRESULT onmoveend([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] + HRESULT onmoveend([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] + HRESULT onmouseenter([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] + HRESULT onmouseenter([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] + HRESULT onmouseleave([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] + HRESULT onmouseleave([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] + HRESULT onactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] + HRESULT onactivate([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] + HRESULT ondeactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] + HRESULT ondeactivate([retval, out] VARIANT * p); + + [id(DISPID_IHTMLELEMENT3_DRAGDROP)] HRESULT dragDrop([retval, out] + VARIANT_BOOL* pfRet); + + [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] + HRESULT glyphMode([retval, out] LONG * p); +} + +#define WINE_IHTMLELEMENT3_DISPINTERFACE_DECL \ + \ + [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] \ + void mergeAttributes( \ + [in] IHTMLElement* mergeThis, \ + [optional, in] VARIANT* pvarFlags); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] \ + VARIANT_BOOL isMultiLine(); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] \ + VARIANT_BOOL canHaveHTML(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] \ + void onlayoutcomplete(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] \ + VARIANT onlayoutcomplete(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] \ + void onpage(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] \ + VARIANT onpage(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] \ + void inflateBlock(VARIANT_BOOL v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] \ + VARIANT_BOOL inflateBlock(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] \ + void onbeforedeactivate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] \ + VARIANT onbeforedeactivate(); \ + \ + [id(DISPID_IHTMLELEMENT3_SETACTIVE)] \ + void setActive(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] \ + void contentEditable(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] \ + BSTR contentEditable(); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] \ + VARIANT_BOOL isContentEditable(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable]\ + void hideFocus(VARIANT_BOOL v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable]\ + VARIANT_BOOL hideFocus(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] \ + void disabled(VARIANT_BOOL v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] \ + VARIANT_BOOL disabled(); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] \ + VARIANT_BOOL isDisabled(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] \ + void onmove(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] \ + VARIANT onmove(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] \ + void oncontrolselect(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] \ + VARIANT oncontrolselect(); \ + \ + [id(DISPID_IHTMLELEMENT3_FIREEVENT)] \ + VARIANT_BOOL fireEvent( \ + [in] BSTR bstrEventName, \ + [optional, in] VARIANT* pvarEventObject); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] \ + void onresizestart(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] \ + VARIANT onresizestart(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] \ + void onresizeend(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] \ + VARIANT onresizeend(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] \ + void onmovestart(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] \ + VARIANT onmovestart(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable]\ + void onmoveend(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable]\ + VARIANT onmoveend(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] \ + void onmouseenter(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] \ + VARIANT onmouseenter(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] \ + void onmouseleave(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] \ + VARIANT onmouseleave(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] \ + void onactivate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] \ + VARIANT onactivate(); \ + \ + [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] \ + void ondeactivate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] \ + VARIANT ondeactivate(); \ + \ + [id(DISPID_IHTMLELEMENT3_DRAGDROP)] \ + VARIANT_BOOL dragDrop(); \ + \ + [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] \ + LONG glyphMode() + +/***************************************************************************** + * IHTMLElement4 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f80f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLElement4 : IDispatch +{ + [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] + HRESULT onmousewheel([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] + HRESULT onmousewheel([retval, out] VARIANT * p); + + [id(DISPID_IHTMLELEMENT4_NORMALIZE)] + HRESULT normalize(); + + [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] + HRESULT getAttributeNode([in] BSTR bstrname, + [retval, out] IHTMLDOMAttribute** ppAttribute); + + [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] + HRESULT setAttributeNode( + [in] IHTMLDOMAttribute* pattr, + [retval, out] IHTMLDOMAttribute** ppretAttribute); + + [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] + HRESULT removeAttributeNode( + [in] IHTMLDOMAttribute* pattr, + [retval, out] IHTMLDOMAttribute** ppretAttribute); + + [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] + HRESULT onbeforeactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] + HRESULT onbeforeactivate([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] + HRESULT onfocusin([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] + HRESULT onfocusin([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] + HRESULT onfocusout([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] + HRESULT onfocusout([retval, out] VARIANT * p); +} + +#define WINE_IHTMLELEMENT4_DISPINTERFACE_DECL \ + [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] \ + void onmousewheel(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] \ + VARIANT onmousewheel(); \ + \ + [id(DISPID_IHTMLELEMENT4_NORMALIZE)] \ + void normalize(); \ + \ + [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] \ + IHTMLDOMAttribute* getAttributeNode([in] BSTR bstrname); \ + \ + [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] \ + IHTMLDOMAttribute* setAttributeNode([in] IHTMLDOMAttribute* pattr); \ + \ + [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] \ + IHTMLDOMAttribute* removeAttributeNode([in] IHTMLDOMAttribute* pattr); \ + \ + [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] \ + void onbeforeactivate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] \ + VARIANT onbeforeactivate(); \ + \ + [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable]\ + void onfocusin(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable]\ + VARIANT onfocusin(); \ + \ + [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] \ + void onfocusout(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] \ + VARIANT onfocusout() + +/***************************************************************************** + * IHTMLElement6 interface + */ +[ + odl, + oleautomation, + dual, + uuid(305106f8-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLElement6 : IDispatch +{ + [id(DISPID_IHTMLELEMENT6_GETATTRIBUTENS)] + HRESULT getAttributeNS( + [in] VARIANT *pvarNS, + [in] BSTR strAttributeName, + [out, retval] VARIANT *AttributeValue); + + [id(DISPID_IHTMLELEMENT6_SETATTRIBUTENS)] + HRESULT setAttributeNS( + [in] VARIANT *pvarNS, + [in] BSTR strAttributeName, + [in] VARIANT *pvarAttributeValue); + + [id(DISPID_IHTMLELEMENT6_REMOVEATTRIBUTENS)] + HRESULT removeAttributeNS( + [in] VARIANT *pvarNS, + [in] BSTR strAttributeName); + + [id(DISPID_IHTMLELEMENT6_GETATTRIBUTENODENS)] + HRESULT getAttributeNodeNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrname, + [out, retval] IHTMLDOMAttribute2 **ppretAttribute); + + [id(DISPID_IHTMLELEMENT6_SETATTRIBUTENODENS)] + HRESULT setAttributeNodeNS( + [in] IHTMLDOMAttribute2 *pattr, + [out, retval] IHTMLDOMAttribute2 **ppretAttribute); + + [id(DISPID_IHTMLELEMENT6_HASATTRIBUTENS)] + HRESULT hasAttributeNS( + [in] VARIANT *pvarNS, + [in] BSTR name, + [out, retval] VARIANT_BOOL *pfHasAttribute); + + [id(DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strAttributeName, + [out, retval] VARIANT *AttributeValue); + + [id(DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strAttributeName, + [in] VARIANT *pvarAttributeValue); + + [id(DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR strAttributeName); + + [id(DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTENODE)] + HRESULT getAttributeNode( + [in] BSTR strAttributeName, + [out, retval] IHTMLDOMAttribute2 **ppretAttribute); + + [id(DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTENODE)] + HRESULT setAttributeNode( + [in] IHTMLDOMAttribute2 *pattr, + [out, retval] IHTMLDOMAttribute2 **ppretAttribute); + + [id(DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTENODE)] + HRESULT removeAttributeNode( + [in] IHTMLDOMAttribute2 *pattr, + [out, retval] IHTMLDOMAttribute2 **ppretAttribute); + + [id(DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTE)] + HRESULT hasAttribute( + [in] BSTR name, + [out, retval] VARIANT_BOOL *pfHasAttribute); + + [id(DISPID_IHTMLELEMENT6_GETELEMENTSBYTAGNAMENS)] + HRESULT getElementsByTagNameNS( + [in] VARIANT *varNS, + [in] BSTR bstrLocalName, + [out, retval] IHTMLElementCollection **pelColl); + + [propget, id(DISPID_IHTMLELEMENT6_IE9_TAGNAME)] + HRESULT tagName([out, retval] BSTR *p); + + [propget, id(DISPID_IHTMLELEMENT6_IE9_NODENAME)] + HRESULT nodeName([out, retval] BSTR *p); + + [id(DISPID_IHTMLELEMENT6_GETELEMENTSBYCLASSNAME)] + HRESULT getElementsByClassName( + [in] BSTR v, + [out, retval] IHTMLElementCollection **pel); + + [id(DISPID_IHTMLELEMENT6_MSMATCHESSELECTOR)] + HRESULT msMatchesSelector( + [in] BSTR v, + [out, retval] VARIANT_BOOL *pfMatches); + + [propput, id(DISPID_IHTMLELEMENT6_ONABORT), displaybind, bindable] + HRESULT onabort([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONABORT), displaybind, bindable] + HRESULT onabort([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONCANPLAY), displaybind, bindable, hidden] + HRESULT oncanplay([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONCANPLAY), displaybind, bindable, hidden] + HRESULT oncanplay([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH), displaybind, bindable, hidden] + HRESULT oncanplaythrough([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH), displaybind, bindable, hidden] + HRESULT oncanplaythrough([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONCHANGE), displaybind, bindable] + HRESULT onchange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONDURATIONCHANGE), displaybind, bindable, hidden] + HRESULT ondurationchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONDURATIONCHANGE), displaybind, bindable, hidden] + HRESULT ondurationchange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONEMPTIED), displaybind, bindable, hidden] + HRESULT onemptied([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONEMPTIED), displaybind, bindable, hidden] + HRESULT onemptied([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONENDED), displaybind, bindable, hidden] + HRESULT onended([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONENDED), displaybind, bindable, hidden] + HRESULT onended([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONERROR), displaybind, bindable] + HRESULT onerror([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONINPUT), displaybind, bindable, hidden] + HRESULT oninput([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONINPUT), displaybind, bindable, hidden] + HRESULT oninput([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONLOAD), displaybind, bindable] + HRESULT onload([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONLOADEDDATA), displaybind, bindable, hidden] + HRESULT onloadeddata([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONLOADEDDATA), displaybind, bindable, hidden] + HRESULT onloadeddata([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONLOADEDMETADATA), displaybind, bindable, hidden] + HRESULT onloadedmetadata([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONLOADEDMETADATA), displaybind, bindable, hidden] + HRESULT onloadedmetadata([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONLOADSTART), displaybind, bindable, hidden] + HRESULT onloadstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONLOADSTART), displaybind, bindable, hidden] + HRESULT onloadstart([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONPAUSE), displaybind, bindable, hidden] + HRESULT onpause([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONPAUSE), displaybind, bindable, hidden] + HRESULT onpause([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONPLAY), displaybind, bindable, hidden] + HRESULT onplay([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONPLAY), displaybind, bindable, hidden] + HRESULT onplay([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONPLAYING), displaybind, bindable, hidden] + HRESULT onplaying([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONPLAYING), displaybind, bindable, hidden] + HRESULT onplaying([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONPROGRESS), displaybind, bindable, hidden] + HRESULT onprogress([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONPROGRESS), displaybind, bindable, hidden] + HRESULT onprogress([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONRATECHANGE), displaybind, bindable, hidden] + HRESULT onratechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONRATECHANGE), displaybind, bindable, hidden] + HRESULT onratechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONRESET), displaybind, bindable] + HRESULT onreset([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONRESET), displaybind, bindable] + HRESULT onreset([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONSEEKED), displaybind, bindable, hidden] + HRESULT onseeked([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONSEEKED), displaybind, bindable, hidden] + HRESULT onseeked([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONSEEKING), displaybind, bindable, hidden] + HRESULT onseeking([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONSEEKING), displaybind, bindable, hidden] + HRESULT onseeking([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONSELECT), displaybind, bindable] + HRESULT onselect([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONSTALLED), displaybind, bindable, hidden] + HRESULT onstalled([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONSTALLED), displaybind, bindable, hidden] + HRESULT onstalled([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONSUBMIT), displaybind, bindable] + HRESULT onsubmit([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONSUBMIT), displaybind, bindable] + HRESULT onsubmit([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONSUSPEND), displaybind, bindable, hidden] + HRESULT onsuspend([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONSUSPEND), displaybind, bindable, hidden] + HRESULT onsuspend([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONTIMEUPDATE), displaybind, bindable, hidden] + HRESULT ontimeupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONTIMEUPDATE), displaybind, bindable, hidden] + HRESULT ontimeupdate([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONVOLUMECHANGE), displaybind, bindable, hidden] + HRESULT onvolumechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONVOLUMECHANGE), displaybind, bindable, hidden] + HRESULT onvolumechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLELEMENT6_ONWAITING), displaybind, bindable, hidden] + HRESULT onwaiting([in] VARIANT v); + + [propget, id(DISPID_IHTMLELEMENT6_ONWAITING), displaybind, bindable, hidden] + HRESULT onwaiting([out, retval] VARIANT *p); + + [id(DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTES)] + HRESULT hasAttributes([out, retval] VARIANT_BOOL *pfHasAttributes); +} + +#define WINE_IHTMLELEMENT6_DISPINTERFACE_DECL \ + [id(DISPID_IHTMLELEMENT6_GETATTRIBUTENS)] \ + VARIANT getAttributeNS( \ + [in] VARIANT *pvarNS, \ + [in] BSTR strAttributeName); \ + \ + [id(DISPID_IHTMLELEMENT6_SETATTRIBUTENS)] \ + void setAttributeNS( \ + [in] VARIANT *pvarNS, \ + [in] BSTR strAttributeName, \ + [in] VARIANT *pvarAttributeValue); \ + \ + [id(DISPID_IHTMLELEMENT6_REMOVEATTRIBUTENS)] \ + void removeAttributeNS( \ + [in] VARIANT *pvarNS, \ + [in] BSTR strAttributeName); \ + \ + [id(DISPID_IHTMLELEMENT6_GETATTRIBUTENODENS)] \ + IHTMLDOMAttribute2 *getAttributeNodeNS( \ + [in] VARIANT *pvarNS, \ + [in] BSTR bstrname); \ + \ + [id(DISPID_IHTMLELEMENT6_SETATTRIBUTENODENS)] \ + IHTMLDOMAttribute2 *setAttributeNodeNS([in] IHTMLDOMAttribute2 *pattr); \ + \ + [id(DISPID_IHTMLELEMENT6_HASATTRIBUTENS)] \ + VARIANT_BOOL hasAttributeNS( \ + [in] VARIANT *pvarNS, \ + [in] BSTR name); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTE)] \ + VARIANT ie9_getAttribute([in] BSTR strAttributeName); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTE)] \ + void ie9_setAttribute( \ + [in] BSTR strAttributeName, \ + [in] VARIANT *pvarAttributeValue); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTE)] \ + void ie9_removeAttribute([in] BSTR strAttributeName); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTENODE)] \ + IHTMLDOMAttribute2 *ie9_getAttributeNode([in] BSTR strAttributeName); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTENODE)] \ + IHTMLDOMAttribute2 *ie9_setAttributeNode([in] IHTMLDOMAttribute2 *pattr); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTENODE)] \ + IHTMLDOMAttribute2 *ie9_removeAttributeNode([in] IHTMLDOMAttribute2 *pattr); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTE)] \ + VARIANT_BOOL ie9_hasAttribute([in] BSTR name); \ + \ + [id(DISPID_IHTMLELEMENT6_GETELEMENTSBYTAGNAMENS)] \ + IHTMLElementCollection *getElementsByTagNameNS( \ + [in] VARIANT *varNS, \ + [in] BSTR bstrLocalName); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_IE9_TAGNAME)] \ + BSTR ie9_tagName(); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_IE9_NODENAME)] \ + BSTR ie9_nodeName(); \ + \ + [id(DISPID_IHTMLELEMENT6_GETELEMENTSBYCLASSNAME)] \ + IHTMLElementCollection *getElementsByClassName([in] BSTR v); \ + \ + [id(DISPID_IHTMLELEMENT6_MSMATCHESSELECTOR)] \ + VARIANT_BOOL msMatchesSelector([in] BSTR v); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONABORT), displaybind, bindable] \ + void onabort(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONABORT), displaybind, bindable] \ + VARIANT onabort(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONCANPLAY), displaybind, bindable, hidden] \ + void oncanplay(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONCANPLAY), displaybind, bindable, hidden] \ + VARIANT oncanplay(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH), displaybind, bindable, hidden] \ + void oncanplaythrough(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH), displaybind, bindable, hidden] \ + VARIANT oncanplaythrough(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONCHANGE), displaybind, bindable] \ + void onchange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONCHANGE), displaybind, bindable] \ + VARIANT onchange(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONDURATIONCHANGE), displaybind, bindable, hidden] \ + void ondurationchange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONDURATIONCHANGE), displaybind, bindable, hidden] \ + VARIANT ondurationchange(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONEMPTIED), displaybind, bindable, hidden] \ + void onemptied(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONEMPTIED), displaybind, bindable, hidden] \ + VARIANT onemptied(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONENDED), displaybind, bindable, hidden] \ + void onended(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONENDED), displaybind, bindable, hidden] \ + VARIANT onended(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONERROR), displaybind, bindable] \ + void onerror(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONERROR), displaybind, bindable] \ + VARIANT onerror(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONINPUT), displaybind, bindable, hidden] \ + void oninput(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONINPUT), displaybind, bindable, hidden] \ + VARIANT oninput(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONLOAD), displaybind, bindable] \ + void onload(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONLOAD), displaybind, bindable] \ + VARIANT onload(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONLOADEDDATA), displaybind, bindable, hidden] \ + void onloadeddata(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONLOADEDDATA), displaybind, bindable, hidden] \ + VARIANT onloadeddata(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONLOADEDMETADATA), displaybind, bindable, hidden] \ + void onloadedmetadata(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONLOADEDMETADATA), displaybind, bindable, hidden] \ + VARIANT onloadedmetadata(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONLOADSTART), displaybind, bindable, hidden] \ + void onloadstart(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONLOADSTART), displaybind, bindable, hidden] \ + VARIANT onloadstart(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONPAUSE), displaybind, bindable, hidden] \ + void onpause(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONPAUSE), displaybind, bindable, hidden] \ + VARIANT onpause(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONPLAY), displaybind, bindable, hidden] \ + void onplay(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONPLAY), displaybind, bindable, hidden] \ + VARIANT onplay(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONPLAYING), displaybind, bindable, hidden] \ + void onplaying(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONPLAYING), displaybind, bindable, hidden] \ + VARIANT onplaying(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONPROGRESS), displaybind, bindable, hidden] \ + void onprogress(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONPROGRESS), displaybind, bindable, hidden] \ + VARIANT onprogress(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONRATECHANGE), displaybind, bindable, hidden] \ + void onratechange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONRATECHANGE), displaybind, bindable, hidden] \ + VARIANT onratechange(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONRESET), displaybind, bindable] \ + void onreset(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONRESET), displaybind, bindable] \ + VARIANT onreset(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONSEEKED), displaybind, bindable, hidden] \ + void onseeked(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONSEEKED), displaybind, bindable, hidden] \ + VARIANT onseeked(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONSEEKING), displaybind, bindable, hidden] \ + void onseeking(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONSEEKING), displaybind, bindable, hidden] \ + VARIANT onseeking(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONSELECT), displaybind, bindable] \ + void onselect(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONSELECT), displaybind, bindable] \ + VARIANT onselect(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONSTALLED), displaybind, bindable, hidden] \ + void onstalled(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONSTALLED), displaybind, bindable, hidden] \ + VARIANT onstalled(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONSUBMIT), displaybind, bindable] \ + void onsubmit(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONSUBMIT), displaybind, bindable] \ + VARIANT onsubmit(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONSUSPEND), displaybind, bindable, hidden] \ + void onsuspend(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONSUSPEND), displaybind, bindable, hidden] \ + VARIANT onsuspend(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONTIMEUPDATE), displaybind, bindable, hidden] \ + void ontimeupdate(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONTIMEUPDATE), displaybind, bindable, hidden] \ + VARIANT ontimeupdate(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONVOLUMECHANGE), displaybind, bindable, hidden] \ + void onvolumechange(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONVOLUMECHANGE), displaybind, bindable, hidden] \ + VARIANT onvolumechange(); \ + \ + [propput, id(DISPID_IHTMLELEMENT6_ONWAITING), displaybind, bindable, hidden] \ + void onwaiting(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLELEMENT6_ONWAITING), displaybind, bindable, hidden] \ + VARIANT onwaiting(); \ + \ + [id(DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTES)] \ + VARIANT_BOOL ie9_hasAttributes() + +/***************************************************************************** + * IElementTraversal interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510736-98b5-11cf-bb82-00aa00bdce0b) +] +interface IElementTraversal : IDispatch +{ + [propget, id(DISPID_IELEMENTTRAVERSAL_FIRSTELEMENTCHILD)] + HRESULT firstElementChild([retval, out] IHTMLElement **p); + [propget, id(DISPID_IELEMENTTRAVERSAL_LASTELEMENTCHILD)] + HRESULT lastElementChild([retval, out] IHTMLElement **p); + [propget, id(DISPID_IELEMENTTRAVERSAL_PREVIOUSELEMENTSIBLING)] + HRESULT previousElementSibling([retval, out] IHTMLElement **p); + [propget, id(DISPID_IELEMENTTRAVERSAL_NEXTELEMENTSIBLING)] + HRESULT nextElementSibling([retval, out] IHTMLElement **p); + [propget, id(DISPID_IELEMENTTRAVERSAL_CHILDELEMENTCOUNT)] + HRESULT childElementCount([retval, out] long *p); +} + +/***************************************************************************** + * IElementSelector interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510463-98b5-11cf-bb82-00aa00bdce0b) +] +interface IElementSelector : IDispatch +{ + [id(DISPID_IELEMENTSELECTOR_QUERYSELECTOR)] + HRESULT querySelector( + [in] BSTR v, + [out, retval] IHTMLElement **pel); + + [id(DISPID_IELEMENTSELECTOR_QUERYSELECTORALL)] + HRESULT querySelectorAll( + [in] BSTR v, + [out, retval] IHTMLDOMChildrenCollection **pel); +} + +#define WINE_IELEMENTSELECTOR_DISPINTERFACE_DECL \ + [id(DISPID_IELEMENTSELECTOR_QUERYSELECTOR)] \ + IHTMLElement *querySelector([in] BSTR v); \ + \ + [id(DISPID_IELEMENTSELECTOR_QUERYSELECTORALL)] \ + IHTMLDOMChildrenCollection *querySelectorAll([in] BSTR v) + +/***************************************************************************** + * IHTMLUniqueName interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4d0-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLUniqueName : IDispatch +{ + [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] + HRESULT uniqueNumber([retval, out] LONG * p); + + [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] + HRESULT uniqueID([retval, out] BSTR * p); +} + +#define WINE_IHTMLUNIQUENAME_DISPINTERFACE_DECL \ + [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] \ + LONG uniqueNumber(); \ + \ + [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] \ + BSTR uniqueID() + +#define WINE_IHTMLELEMENT5_DISPINTERFACE_DECL \ + [id(DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTENODE)] \ + IHTMLDOMAttribute2 *ie8_getAttributeNode([in] BSTR bstrname); \ + \ + [id(DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTENODE)] \ + IHTMLDOMAttribute2 *ie8_setAttributeNode([in] IHTMLDOMAttribute2 *pattr); \ + \ + [id(DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTENODE)] \ + IHTMLDOMAttribute2 *ie8_removeAttributeNode([in] IHTMLDOMAttribute2 *pattr); \ + \ + [id(DISPID_IHTMLELEMENT5_HASATTRIBUTE)] \ + VARIANT_BOOL hasAttribute([in] BSTR name); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ROLE), displaybind, bindable] \ + void role(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ROLE), displaybind, bindable] \ + BSTR role(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIABUSY), displaybind, bindable] \ + void ariaBusy(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIABUSY), displaybind, bindable] \ + BSTR ariaBusy(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIACHECKED), displaybind, bindable] \ + void ariaChecked(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIACHECKED), displaybind, bindable] \ + BSTR ariaChecked(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIADISABLED), displaybind, bindable] \ + void ariaDisabled(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIADISABLED), displaybind, bindable] \ + BSTR ariaDisabled(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAEXPANDED), displaybind, bindable] \ + void ariaExpanded(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAEXPANDED), displaybind, bindable] \ + BSTR ariaExpanded(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAHASPOPUP), displaybind, bindable]\ + void ariaHaspopup(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAHASPOPUP), displaybind, bindable] \ + BSTR ariaHaspopup(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAHIDDEN), displaybind, bindable] \ + void ariaHidden(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAHIDDEN), displaybind, bindable] \ + BSTR ariaHidden(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAINVALID), displaybind, bindable] \ + void ariaInvalid(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAINVALID), displaybind, bindable] \ + BSTR ariaInvalid(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAMULTISELECTABLE), displaybind, bindable] \ + void ariaMultiselectable(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAMULTISELECTABLE), displaybind, bindable] \ + BSTR ariaMultiselectable(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAPRESSED), displaybind, bindable] \ + void ariaPressed(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAPRESSED), displaybind, bindable] \ + BSTR ariaPressed(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAREADONLY), displaybind, bindable] \ + void ariaReadonly(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAREADONLY), displaybind, bindable] \ + BSTR ariaReadonly(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAREQUIRED), displaybind, bindable] \ + void ariaRequired(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAREQUIRED), displaybind, bindable] \ + BSTR ariaRequired(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIASECRET), displaybind, bindable] \ + void ariaSecret(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIASECRET), displaybind, bindable] \ + BSTR ariaSecret(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIASELECTED), displaybind, bindable] \ + void ariaSelected(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIASELECTED), displaybind, bindable] \ + BSTR ariaSelected(); \ + \ + [id(DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTE)] \ + VARIANT ie8_getAttribute([in] BSTR strAttributeName); \ + \ + [id(DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTE)] \ + void ie8_setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue); \ + \ + [id(DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTE)] \ + VARIANT_BOOL ie8_removeAttribute([in] BSTR strAttributeName); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_IE8_ATTRIBUTES)] \ + IHTMLAttributeCollection3 *ie8_attributes(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAVALUENOW), displaybind, bindable] \ + void ariaValuenow(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAVALUENOW), displaybind, bindable] \ + BSTR ariaValuenow(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAPOSINSET), displaybind, bindable] \ + void ariaPosinset(short v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAPOSINSET), displaybind, bindable] \ + short ariaPosinset(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIASETSIZE), displaybind, bindable] \ + void ariaSetsize(short v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIASETSIZE), displaybind, bindable] \ + short ariaSetsize(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIALEVEL), displaybind, bindable]\ + void ariaLevel(short v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIALEVEL), displaybind, bindable]\ + short ariaLevel(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAVALUEMIN), displaybind, bindable] \ + void ariaValuemin(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAVALUEMIN), displaybind, bindable] \ + BSTR ariaValuemin(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAVALUEMAX), displaybind, bindable] \ + void ariaValuemax(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAVALUEMAX), displaybind, bindable] \ + BSTR ariaValuemax(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIACONTROLS), displaybind, bindable] \ + void ariaControls(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIACONTROLS), displaybind, bindable] \ + BSTR ariaControls(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIADESCRIBEDBY), displaybind, bindable] \ + void ariaDescribedby(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIADESCRIBEDBY), displaybind, bindable] \ + BSTR ariaDescribedby(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAFLOWTO), displaybind, bindable] \ + void ariaFlowto(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAFLOWTO), displaybind, bindable] \ + BSTR ariaFlowto(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIALABELLEDBY), displaybind, bindable] \ + void ariaLabelledby(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIALABELLEDBY), displaybind, bindable] \ + BSTR ariaLabelledby(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAACTIVEDESCENDANT), displaybind, bindable] \ + void ariaActivedescendant(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAACTIVEDESCENDANT), displaybind, bindable] \ + BSTR ariaActivedescendant(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIAOWNS), displaybind, bindable] \ + void ariaOwns(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIAOWNS), displaybind, bindable] \ + BSTR ariaOwns(); \ + \ + [id(DISPID_IHTMLELEMENT5_HASATTRIBUTES)] \ + VARIANT_BOOL hasAttributes(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIALIVE), displaybind, bindable] \ + void ariaLive(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIALIVE), displaybind, bindable] \ + BSTR ariaLive(); \ + \ + [propput, id(DISPID_IHTMLELEMENT5_ARIARELEVANT), displaybind, bindable] \ + void ariaRelevant(BSTR v); \ + \ + [propget, id(DISPID_IHTMLELEMENT5_ARIARELEVANT), displaybind, bindable] \ + BSTR ariaRelevant() + +[ + odl, + oleautomation, + dual, + uuid(3050f3f2-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDatabinding : IDispatch +{ + [propput, id(DISPID_IHTMLDATABINDING_DATAFLD)] + HRESULT dataFld([in] BSTR v); + + [propget, id(DISPID_IHTMLDATABINDING_DATAFLD)] + HRESULT dataFld([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLDATABINDING_DATASRC)] + HRESULT dataSrc([in] BSTR v); + + [propget, id(DISPID_IHTMLDATABINDING_DATASRC)] + HRESULT dataSrc([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] + HRESULT dataFormatAs([in] BSTR v); + + [propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] + HRESULT dataFormatAs([retval, out] BSTR * p); +} + +#define WINE_IHTMLDATABINDING_DISPINTERFACE_DECL \ + [propput, id(DISPID_IHTMLDATABINDING_DATAFLD)] \ + void dataFld(BSTR v); \ + \ + [propget, id(DISPID_IHTMLDATABINDING_DATAFLD)] \ + BSTR dataFld(); \ + \ + [propput, id(DISPID_IHTMLDATABINDING_DATASRC)] \ + void dataSrc(BSTR v); \ + \ + [propget, id(DISPID_IHTMLDATABINDING_DATASRC)] \ + BSTR dataSrc(); \ + \ + [propput, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] \ + void dataFormatAs(BSTR v); \ + \ + [propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] \ + BSTR dataFormatAs() + +#define WINE_HTMLELEMENT_INTERFACES \ + interface IHTMLElement; \ + interface IHTMLElement2; \ + interface IHTMLElement3; \ + interface IHTMLElement4; \ + interface IHTMLUniqueName; \ + interface IHTMLDOMNode; \ + interface IHTMLDOMNode2; \ + /* interface IHTMLElement5; */ \ + interface IHTMLElement6; \ + interface IHTMLDOMConstructor \ + /* interface IHTMLElement7 */ + +#define WINE_HTMLELEMENT_DISPINTERFACE_DECL \ + WINE_IHTMLELEMENT_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT2_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT3_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT4_DISPINTERFACE_DECL; \ + WINE_IHTMLUNIQUENAME_DISPINTERFACE_DECL; \ + WINE_HTMLDOMNODE_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT5_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT6_DISPINTERFACE_DECL; \ + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL + +#define WINE_HTMLDATAELEMENT_INTERFACES \ + interface IHTMLElement; \ + interface IHTMLElement2; \ + interface IHTMLElement3; \ + interface IHTMLElement4; \ + interface IHTMLUniqueName; \ + interface IHTMLDOMNode; \ + interface IHTMLDOMNode2; \ + interface IHTMLDatabinding; \ + /* interface IHTMLElement5; */ \ + interface IHTMLElement6; \ + interface IElementSelector; \ + interface IHTMLDOMConstructor \ + /* interface IHTMLElement7 */ + +#define WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL \ + WINE_IHTMLELEMENT_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT2_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT3_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT4_DISPINTERFACE_DECL; \ + WINE_IHTMLUNIQUENAME_DISPINTERFACE_DECL; \ + WINE_HTMLDOMNODE_DISPINTERFACE_DECL; \ + WINE_IHTMLDATABINDING_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT5_DISPINTERFACE_DECL; \ + WINE_IHTMLELEMENT6_DISPINTERFACE_DECL; \ + WINE_IELEMENTSELECTOR_DISPINTERFACE_DECL; \ + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL + +/***************************************************************************** + * IHTMLGenericElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4b7-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLGenericElement : IDispatch +{ + [propget, id(DISPID_IHTMLGENERICELEMENT_RECORDSET), hidden] + HRESULT recordset([out, retval] IDispatch **p); + + [id(DISPID_IHTMLGENERICELEMENT_NAMEDRECORDSET)] + HRESULT namedRecordset( + [in] BSTR dataMember, + [in, optional] VARIANT *hierarchy, + [out, retval] IDispatch **ppRecordset); +} + +/***************************************************************************** + * DispHTMLGenericElement dispinterface + */ +[ + hidden, + uuid(3050f563-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLGenericElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propget, id(DISPID_IHTMLGENERICELEMENT_RECORDSET), hidden] + IDispatch *recordset(); + + [id(DISPID_IHTMLGENERICELEMENT_NAMEDRECORDSET)] + IDispatch *namedRecordset( + [in] BSTR dataMember, + [in, optional] VARIANT *hierarchy); +} + +/***************************************************************************** + * HTMLGenericElement coclass + */ +[ + noncreatable, + uuid(3050f4b8-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLGenericElement +{ + [default] dispinterface DispHTMLGenericElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLGenericElement; +} + +/***************************************************************************** + * IHTMLStyleSheetRule interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F357-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLStyleSheetRule : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT)] + HRESULT selectorText([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT)] + HRESULT selectorText([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLESHEETRULE_STYLE)] + HRESULT style([retval, out] IHTMLRuleStyle **p); + + [propget, id(DISPID_IHTMLSTYLESHEETRULE_READONLY)] + HRESULT readOnly([retval, out] VARIANT_BOOL *p); +} + +[ + hidden, + uuid(3050f50e-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleSheetRule +{ +properties: +methods: + [propput, id(DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT)] + void selectorText(BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT)] + BSTR selectorText(); + + [propget, id(DISPID_IHTMLSTYLESHEETRULE_STYLE), nonbrowsable] + IHTMLRuleStyle* style(); + + [propget, id(DISPID_IHTMLSTYLESHEETRULE_READONLY)] + VARIANT_BOOL readOnly(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +[ + noncreatable, + uuid(3050f3ce-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleSheetRule +{ + [default] dispinterface DispHTMLStyleSheetRule; + interface IHTMLStyleSheetRule; + interface IHTMLDOMConstructor; +} + +/***************************************************************************** + * IHTMLStyleSheetRulesCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F2E5-98B5-11Cf-BB82-00AA00BDCE0B) +] +interface IHTMLStyleSheetRulesCollection : IDispatch +{ + [propget, id(DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [id(DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM)] + HRESULT item( + [in] LONG index, + [retval, out] IHTMLStyleSheetRule **ppHTMLStyleSheetRule); +} + +[ + hidden, + uuid(3050f52f-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleSheetRulesCollection +{ +properties: +methods: + [propget, id(DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH)] + long length(); + + [id(DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM)] + IHTMLStyleSheetRule* item([in] long index); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +[ + noncreatable, + uuid(3050f3cd-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleSheetRulesCollection +{ + [default] dispinterface DispHTMLStyleSheetRulesCollection; + interface IHTMLStyleSheetRulesCollection; + interface IHTMLDOMConstructor; +} + +[ + odl, + oleautomation, + dual, + uuid(3050f7ee-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyleSheetPage : IDispatch +{ + [propget, id(DISPID_IHTMLSTYLESHEETPAGE_SELECTOR)] + HRESULT selector([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLESHEETPAGE_PSEUDOCLASS)] + HRESULT pseudoClass([retval, out] BSTR *p); +} + +[ + hidden, + uuid(3050f540-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleSheetPage +{ +properties: +methods: + [propget, id(DISPID_IHTMLSTYLESHEETPAGE_SELECTOR)] + BSTR selector(); + + [propget, id(DISPID_IHTMLSTYLESHEETPAGE_PSEUDOCLASS)] + BSTR pseudoClass(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} +[ + noncreatable, + uuid(3050f7ef-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleSheetPage +{ + [default] dispinterface DispHTMLStyleSheetPage; + interface IHTMLStyleSheetPage; + interface IHTMLDOMConstructor; +} + +[ + odl, + oleautomation, + dual, + uuid(3050f7f0-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyleSheetPagesCollection : IDispatch +{ + [propget, id(DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [id(DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_ITEM)] + HRESULT item( + [in] LONG index, + [retval, out] IHTMLStyleSheetPage **ppHTMLStyleSheetPage); +} + +[ + hidden, + uuid(3050f543-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleSheetPagesCollection +{ +properties: +methods: + [propget, id(DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_LENGTH)] + long length(); + + [id(DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_ITEM)] + IHTMLStyleSheetPage* item([in] long index); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +[ + noncreatable, + uuid(3050f7f1-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleSheetPagesCollection +{ + [default] dispinterface DispHTMLStyleSheetPagesCollection; + interface IHTMLStyleSheetPagesCollection; + interface IHTMLDOMConstructor; +} + +/***************************************************************************** + * IHTMLStyleSheet interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F2E3-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLStyleSheet : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLESHEET_TITLE)] + HRESULT title([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_TITLE)] + HRESULT title([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLESHEET_PARENTSTYLESHEET)] + HRESULT parentStyleSheet([retval, out] IHTMLStyleSheet **p); + + [propget, id(DISPID_IHTMLSTYLESHEET_OWNINGELEMENT)] + HRESULT owningElement([retval, out] IHTMLElement **p); + + [propput, id(DISPID_IHTMLSTYLESHEET_DISABLED)] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLESHEET_DISABLED)] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLSTYLESHEET_READONLY)] + HRESULT readOnly([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLSTYLESHEET_IMPORTS)] + HRESULT imports([retval, out] IHTMLStyleSheetsCollection **p); + + [propput, id(DISPID_IHTMLSTYLESHEET_HREF)] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_HREF)] + HRESULT href([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLESHEET_TYPE)] + HRESULT type([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLESHEET_ID)] + HRESULT id([retval, out] BSTR *p); + + [id(DISPID_IHTMLSTYLESHEET_ADDIMPORT)] + HRESULT addImport( + [in] BSTR bstrURL, + [defaultvalue(-1), in] LONG lIndex, + [retval, out] LONG *plIndex); + + [id(DISPID_IHTMLSTYLESHEET_ADDRULE)] + HRESULT addRule( + [in] BSTR bstrSelector, + [in] BSTR bstrStyle, + [defaultvalue(-1), in] LONG lIndex, + [retval, out] LONG *plNewIndex); + + [id(DISPID_IHTMLSTYLESHEET_REMOVEIMPORT)] + HRESULT removeImport([in] LONG lIndex); + + [id(DISPID_IHTMLSTYLESHEET_REMOVERULE)] + HRESULT removeRule([in] LONG lIndex); + + [propput, id(DISPID_IHTMLSTYLESHEET_MEDIA)] + HRESULT media([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_MEDIA)] + HRESULT media([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLESHEET_CSSTEXT)] + HRESULT cssText([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_CSSTEXT)] + HRESULT cssText([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLESHEET_RULES)] + HRESULT rules([retval, out] IHTMLStyleSheetRulesCollection **p); +} + +/***************************************************************************** + * IHTMLStyleSheet2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f3d1-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyleSheet2 : IDispatch +{ + [propget, id(DISPID_IHTMLSTYLESHEET2_PAGES)] + HRESULT pages([retval, out] IHTMLStyleSheetPagesCollection **p); + + [id(DISPID_IHTMLSTYLESHEET2_ADDPAGERULE)] + HRESULT addPageRule( + [in] BSTR bstrSelector, + [in] BSTR bstrStyle, + [defaultvalue(-1), in] LONG lIndex, + [retval, out] LONG *plNewIndex); +} + +[ + hidden, + uuid(3050f58d-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleSheet +{ +properties: +methods: + [propput, id(DISPID_IHTMLSTYLESHEET_TITLE)] + void title(BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_TITLE)] + BSTR title(); + + [propget, id(DISPID_IHTMLSTYLESHEET_PARENTSTYLESHEET)] + IHTMLStyleSheet* parentStyleSheet(); + + [propget, id(DISPID_IHTMLSTYLESHEET_OWNINGELEMENT)] + IHTMLElement* owningElement(); + + [propput, id(DISPID_IHTMLSTYLESHEET_DISABLED)] + void disabled(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLESHEET_DISABLED)] + VARIANT_BOOL disabled(); + + [propget, id(DISPID_IHTMLSTYLESHEET_READONLY)] + VARIANT_BOOL readOnly(); + + [propget, id(DISPID_IHTMLSTYLESHEET_IMPORTS)] + IHTMLStyleSheetsCollection* imports(); + + [propput, id(DISPID_IHTMLSTYLESHEET_HREF)] + void href(BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_HREF)] + BSTR href(); + + [propget, id(DISPID_IHTMLSTYLESHEET_TYPE)] + BSTR type(); + + [propget, id(DISPID_IHTMLSTYLESHEET_ID)] + BSTR id(); + + [id(DISPID_IHTMLSTYLESHEET_ADDIMPORT)] + LONG addImport( + [in] BSTR bstrURL, + [defaultvalue(-1), in] LONG lIndex); + + [id(DISPID_IHTMLSTYLESHEET_ADDRULE)] + LONG addRule( + [in] BSTR bstrSelector, + [in] BSTR bstrStyle, + [defaultvalue(-1), in] LONG lIndex); + + [id(DISPID_IHTMLSTYLESHEET_REMOVEIMPORT)] + void removeImport([in] LONG lIndex); + + [id(DISPID_IHTMLSTYLESHEET_REMOVERULE)] + void removeRule([in] LONG lIndex); + + [propput, id(DISPID_IHTMLSTYLESHEET_MEDIA)] + void media(BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_MEDIA)] + BSTR media(); + + [propput, id(DISPID_IHTMLSTYLESHEET_CSSTEXT)] + void cssText(BSTR v); + + [propget, id(DISPID_IHTMLSTYLESHEET_CSSTEXT)] + BSTR cssText(); + + [propget, id(DISPID_IHTMLSTYLESHEET_RULES)] + IHTMLStyleSheetRulesCollection* rules(); + + [propget, id(DISPID_IHTMLSTYLESHEET2_PAGES)] + IHTMLStyleSheetPagesCollection* pages(); + + [id(DISPID_IHTMLSTYLESHEET2_ADDPAGERULE)] + LONG addPageRule( + [in] BSTR bstrSelector, + [in] BSTR bstrStyle, + [defaultvalue(-1), in] LONG lIndex); +} + +[ + noncreatable, + uuid(3050f2e4-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleSheet +{ + [default] dispinterface DispHTMLStyleSheet; + interface IHTMLStyleSheet; + interface IHTMLStyleSheet2; +} + +/***************************************************************************** + * IHTMLStyleSheetsCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F37E-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLStyleSheetsCollection : IDispatch +{ + [propget, id(DISPID_IHTMLSTYLESHEETSCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSTYLESHEETSCOLLECTION__NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM)] + HRESULT item( + [in] VARIANT *pvarIndex, + [retval, out] VARIANT *pvarResult); +} + +/***************************************************************************** + * DispHTMLStyleSheetsCollection dispinterface + */ +[ + hidden, + uuid(3050f547-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleSheetsCollection +{ +properties: +methods: + [propget, id(DISPID_IHTMLSTYLESHEETSCOLLECTION_LENGTH)] + long length(); + + [propget, id(DISPID_IHTMLSTYLESHEETSCOLLECTION__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM)] + VARIANT item([in] VARIANT *pvarIndex); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + +/***************************************************************************** + * IHTMLLinkElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f205-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLinkElement : IDispatch +{ + [propput, id(DISPID_IHTMLLINKELEMENT_HREF), displaybind, bindable] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_HREF), displaybind, bindable] + HRESULT href([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_REL), displaybind, bindable] + HRESULT rel([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_REL), displaybind, bindable] + HRESULT rel([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_REV), displaybind, bindable] + HRESULT rev([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_REV), displaybind, bindable] + HRESULT rev([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_TYPE), displaybind, bindable] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_TYPE), displaybind, bindable] + HRESULT type([out, retval] BSTR *p); + + [propget, id(DISPID_IHTMLLINKELEMENT_READYSTATE)] + HRESULT readyState([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLLINKELEMENT_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLLINKELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLLINKELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLLINKELEMENT_STYLESHEET)] + HRESULT styleSheet([out, retval] IHTMLStyleSheet **p); + + [propput, id(DISPID_IHTMLLINKELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLLINKELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([out, retval] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLLINKELEMENT_MEDIA), displaybind, bindable] + HRESULT media([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_MEDIA), displaybind, bindable] + HRESULT media([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLLinkElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4e5-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLinkElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLLINKELEMENT2_TARGET), displaybind, bindable] + HRESULT target([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT2_TARGET), displaybind, bindable] + HRESULT target([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLLinkElement3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f81e-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLinkElement3 : IDispatch +{ + [propput, id(DISPID_IHTMLLINKELEMENT3_CHARSET), displaybind, bindable] + HRESULT charset([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT3_CHARSET), displaybind, bindable] + HRESULT charset([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLINKELEMENT3_HREFLANG), displaybind, bindable] + HRESULT hreflang([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT3_HREFLANG), displaybind, bindable] + HRESULT hreflang([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLLinkElement4 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051043a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLinkElement4 : IDispatch +{ + [propput, id(DISPID_IHTMLLINKELEMENT4_IE8_HREF)] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT4_IE8_HREF)] + HRESULT href([retval, out] BSTR * p); +} + +/***************************************************************************** + * DispHTMLLinkElement dispinterface + */ +[ + hidden, + uuid(3050f524-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLLinkElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLLINKELEMENT_HREF), displaybind, bindable] + void href(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_HREF), displaybind, bindable] + BSTR href(); + + [propput, id(DISPID_IHTMLLINKELEMENT_REL), displaybind, bindable] + void rel(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_REL), displaybind, bindable] + BSTR rel(); + + [propput, id(DISPID_IHTMLLINKELEMENT_REV), displaybind, bindable] + void rev(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_REV), displaybind, bindable] + BSTR rev(); + + [propput, id(DISPID_IHTMLLINKELEMENT_TYPE), displaybind, bindable] + void type(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_TYPE), displaybind, bindable] + BSTR type(); + + [propput, id(DISPID_IHTMLLINKELEMENT_ONLOAD), displaybind, bindable] + void onload(VARIANT v); + + [propget, id(DISPID_IHTMLLINKELEMENT_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLLINKELEMENT_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLLINKELEMENT_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propget, id(DISPID_IHTMLLINKELEMENT_STYLESHEET)] + IHTMLStyleSheet *styleSheet(); + + [propput, id(DISPID_IHTMLLINKELEMENT_MEDIA), displaybind, bindable] + void media(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT_MEDIA), displaybind, bindable] + BSTR media(); + + [propput, id(DISPID_IHTMLLINKELEMENT2_TARGET), displaybind, bindable] + void target(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT2_TARGET), displaybind, bindable] + BSTR target(); + + [propput, id(DISPID_IHTMLLINKELEMENT3_CHARSET), displaybind, bindable] + void charset(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT3_CHARSET), displaybind, bindable] + BSTR charset(); + + [propput, id(DISPID_IHTMLLINKELEMENT3_HREFLANG), displaybind, bindable] + void hreflang(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT3_HREFLANG), displaybind, bindable] + BSTR hreflang(); + + [propput, id(DISPID_IHTMLLINKELEMENT4_IE8_HREF)] + void ie8_href(BSTR v); + + [propget, id(DISPID_IHTMLLINKELEMENT4_IE8_HREF)] + BSTR ie8_href(); +} + +/***************************************************************************** + * HTMLLinkElement coclass + */ +[ + noncreatable, + uuid(3050f277-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLLinkElement +{ + [default] dispinterface DispHTMLLinkElement; + /* [source, default] dispinterface HTMLLinkElementEvents; */ + /* [source] dispinterface HTMLLinkElementEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLLinkElement; + interface IHTMLLinkElement2; + interface IHTMLLinkElement3; + interface IHTMLLinkElement4; + /* interface IHTMLLinkElement5; */ +} + +/***************************************************************************** + * IHTMLTxtRange interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f220-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTxtRange : IDispatch +{ + [propget, id(DISPID_IHTMLTXTRANGE_HTMLTEXT)] + HRESULT htmlText([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTXTRANGE_TEXT)] + HRESULT text([in] BSTR v); + + [propget, id(DISPID_IHTMLTXTRANGE_TEXT)] + HRESULT text([retval, out] BSTR *p); + + [id(DISPID_IHTMLTXTRANGE_PARENTELEMENT)] + HRESULT parentElement([retval, out] IHTMLElement **parent); + + [id(DISPID_IHTMLTXTRANGE_DUPLICATE)] + HRESULT duplicate([retval, out] IHTMLTxtRange **Duplicate); + + [id(DISPID_IHTMLTXTRANGE_INRANGE)] + HRESULT inRange( + [in] IHTMLTxtRange *Range, + [retval, out] VARIANT_BOOL *InRange); + + [id(DISPID_IHTMLTXTRANGE_ISEQUAL)] + HRESULT isEqual( + [in] IHTMLTxtRange *Range, + [retval, out] VARIANT_BOOL *IsEqual); + + [id(DISPID_IHTMLTXTRANGE_SCROLLINTOVIEW)] + HRESULT scrollIntoView([defaultvalue(-1), in] VARIANT_BOOL fStart); + + [id(DISPID_IHTMLTXTRANGE_COLLAPSE)] + HRESULT collapse([defaultvalue(-1), in] VARIANT_BOOL Start); + + [id(DISPID_IHTMLTXTRANGE_EXPAND)] + HRESULT expand( + [in] BSTR Unit, + [retval, out] VARIANT_BOOL *Success); + + [id(DISPID_IHTMLTXTRANGE_MOVE)] + HRESULT move( + [in] BSTR Unit, + [defaultvalue(1), in] LONG Count, + [retval, out] LONG *ActualCount); + + [id(DISPID_IHTMLTXTRANGE_MOVESTART)] + HRESULT moveStart( + [in] BSTR Unit, + [defaultvalue(1), in] LONG Count, + [retval, out] LONG *ActualCount); + + [id(DISPID_IHTMLTXTRANGE_MOVEEND)] + HRESULT moveEnd( + [in] BSTR Unit, + [defaultvalue(1), in] LONG Count, + [retval, out] LONG *ActualCount); + + [id(DISPID_IHTMLTXTRANGE_SELECT)] + HRESULT select(); + + [id(DISPID_IHTMLTXTRANGE_PASTEHTML)] + HRESULT pasteHTML([in] BSTR html); + + [id(DISPID_IHTMLTXTRANGE_MOVETOELEMENTTEXT)] + HRESULT moveToElementText([in] IHTMLElement *element); + + [id(DISPID_IHTMLTXTRANGE_SETENDPOINT)] + HRESULT setEndPoint( + [in] BSTR how, + [in] IHTMLTxtRange *SourceRange); + + [id(DISPID_IHTMLTXTRANGE_COMPAREENDPOINTS)] + HRESULT compareEndPoints( + [in] BSTR how, + [in] IHTMLTxtRange *SourceRange, + [retval, out] LONG *ret); + + [id(DISPID_IHTMLTXTRANGE_FINDTEXT)] + HRESULT findText( + [in] BSTR String, + [defaultvalue(1073741823), in] LONG count, + [defaultvalue(0), in] LONG Flags, + [retval, out] VARIANT_BOOL *Success); + + [id(DISPID_IHTMLTXTRANGE_MOVETOPOINT)] + HRESULT moveToPoint( + [in] LONG x, + [in] LONG y); + + [id(DISPID_IHTMLTXTRANGE_GETBOOKMARK)] + HRESULT getBookmark([retval, out] BSTR *Boolmark); + + [id(DISPID_IHTMLTXTRANGE_MOVETOBOOKMARK)] + HRESULT moveToBookmark( + [in] BSTR Bookmark, + [retval, out] VARIANT_BOOL *Success); + + [id(DISPID_IHTMLTXTRANGE_QUERYCOMMANDSUPPORTED)] + HRESULT queryCommandSupported( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLTXTRANGE_QUERYCOMMANDENABLED)] + HRESULT queryCommandEnabled( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLTXTRANGE_QUERYCOMMANDSTATE)] + HRESULT queryCommandState( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLTXTRANGE_QUERYCOMMANDINDETERM)] + HRESULT queryCommandIndeterm( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLTXTRANGE_QUERYCOMMANDTEXT)] + HRESULT queryCommandText( + [in] BSTR cmdID, + [retval, out] BSTR *pcmdText); + + [id(DISPID_IHTMLTXTRANGE_QUERYCOMMANDVALUE)] + HRESULT queryCommandValue( + [in] BSTR cmdID, + [retval, out] VARIANT *pcmdValue); + + [id(DISPID_IHTMLTXTRANGE_EXECCOMMAND)] + HRESULT execCommand( + [in] BSTR cmdID, + [defaultvalue(0), in] VARIANT_BOOL showUI, + [optional, in] VARIANT value, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLTXTRANGE_EXECCOMMANDSHOWHELP)] + HRESULT execCommandShowHelp( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); +} + +/***************************************************************************** + * IHTMLDOMRange interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104ae-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMRange : IDispatch +{ + [propget, id(DISPID_IHTMLDOMRANGE_STARTCONTAINER)] + HRESULT startContainer([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMRANGE_STARTOFFSET)] + HRESULT startOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLDOMRANGE_ENDCONTAINER)] + HRESULT endContainer([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMRANGE_ENDOFFSET)] + HRESULT endOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLDOMRANGE_COLLAPSED)] + HRESULT collapsed([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLDOMRANGE_COMMONANCESTORCONTAINER)] + HRESULT commonAncestorContainer([out, retval] IHTMLDOMNode **p); + + [id(DISPID_IHTMLDOMRANGE_SETSTART)] + HRESULT setStart( + [in] IDispatch *refNode, + [in] long offset); + + [id(DISPID_IHTMLDOMRANGE_SETEND)] HRESULT + setEnd( + [in] IDispatch *refNode, + [in] long offset); + + [id(DISPID_IHTMLDOMRANGE_SETSTARTBEFORE)] + HRESULT setStartBefore([in] IDispatch* refNode); + + [id(DISPID_IHTMLDOMRANGE_SETSTARTAFTER)] + HRESULT setStartAfter([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_SETENDBEFORE)] + HRESULT setEndBefore([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_SETENDAFTER)] + HRESULT setEndAfter([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_COLLAPSE)] + HRESULT collapse([in] VARIANT_BOOL toStart); + + [id(DISPID_IHTMLDOMRANGE_SELECTNODE)] + HRESULT selectNode([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_SELECTNODECONTENTS)] + HRESULT selectNodeContents([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_COMPAREBOUNDARYPOINTS)] + HRESULT compareBoundaryPoints( + [in] short how, + [in] IDispatch *sourceRange, + [out, retval] long *compareResult); + + [id(DISPID_IHTMLDOMRANGE_DELETECONTENTS)] + HRESULT deleteContents(); + + [id(DISPID_IHTMLDOMRANGE_EXTRACTCONTENTS)] + HRESULT extractContents([out, retval] IDispatch **ppDocumentFragment); + + [id(DISPID_IHTMLDOMRANGE_CLONECONTENTS)] + HRESULT cloneContents([out, retval] IDispatch **ppDocumentFragment); + + [id(DISPID_IHTMLDOMRANGE_INSERTNODE)] + HRESULT insertNode([in] IDispatch *newNode); + + [id(DISPID_IHTMLDOMRANGE_SURROUNDCONTENTS)] + HRESULT surroundContents([in] IDispatch *newParent); + + [id(DISPID_IHTMLDOMRANGE_CLONERANGE)] + HRESULT cloneRange([out, retval] IHTMLDOMRange **ppClonedRange); + + [id(DISPID_IHTMLDOMRANGE_TOSTRING)] + HRESULT toString([out, retval] BSTR *pRangeString); + + [id(DISPID_IHTMLDOMRANGE_DETACH)] + HRESULT detach(); + + [id(DISPID_IHTMLDOMRANGE_GETCLIENTRECTS)] + HRESULT getClientRects([out, retval] IHTMLRectCollection **ppRectCol); + + [id(DISPID_IHTMLDOMRANGE_GETBOUNDINGCLIENTRECT)] + HRESULT getBoundingClientRect([out, retval] IHTMLRect **ppRect); +} + +[ + noncreatable, + uuid(3050f37f-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleSheetsCollection +{ + [default] interface IHTMLStyleSheetsCollection; +} + +/***************************************************************************** + * IHTMLFormElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F1F7-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLFormElement : IDispatch +{ + [propput, id(DISPID_IHTMLFORMELEMENT_ACTION)] + HRESULT action([in] BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ACTION)] + HRESULT action([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLFORMELEMENT_DIR)] + HRESULT dir([in] BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_DIR)] + HRESULT dir([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLFORMELEMENT_ENCODING)] + HRESULT encoding([in] BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ENCODING)] + HRESULT encoding([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLFORMELEMENT_METHOD)] + HRESULT method([in] BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_METHOD)] + HRESULT method([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLFORMELEMENT_ELEMENTS)] + HRESULT elements([retval, out] IDispatch **p); + + [propput, id(DISPID_IHTMLFORMELEMENT_TARGET)] + HRESULT target([in] BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_TARGET)] + HRESULT target([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLFORMELEMENT_NAME)] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_NAME)] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLFORMELEMENT_ONSUBMIT)] + HRESULT onsubmit([in] VARIANT v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ONSUBMIT)] + HRESULT onsubmit([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLFORMELEMENT_ONRESET)] + HRESULT onreset([in] VARIANT v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ONRESET)] + HRESULT onreset([retval, out] VARIANT *p); + + [id(DISPID_IHTMLFORMELEMENT_SUBMIT)] + HRESULT submit(); + + [id(DISPID_IHTMLFORMELEMENT_RESET)] + HRESULT reset(); + + [propput, id(DISPID_IHTMLFORMELEMENT_LENGTH)] + HRESULT length([in] LONG v); + + [propget, id(DISPID_IHTMLFORMELEMENT_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLFORMELEMENT__NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLFORMELEMENT_ITEM)] + HRESULT item( + [optional, in] VARIANT name, + [optional, in] VARIANT index, + [retval, out] IDispatch **pdisp); + + [id(DISPID_IHTMLFORMELEMENT_TAGS)] + HRESULT tags( + [in] VARIANT tagName, + [retval, out] IDispatch **pdisp); +} + +/***************************************************************************** + * DispHTMLFormElement dispinterface + */ +[ + hidden, + uuid(3050F510-98B5-11CF-BB82-00AA00BDCE0B) +] +dispinterface DispHTMLFormElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLFORMELEMENT_ACTION)] + void action(BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ACTION)] + BSTR action(); + + [propput, id(DISPID_IHTMLFORMELEMENT_ENCODING)] + void encoding(BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ENCODING)] + BSTR encoding(); + + [propput, id(DISPID_IHTMLFORMELEMENT_METHOD)] + void method(BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_METHOD)] + BSTR method(); + + [propget, id(DISPID_IHTMLFORMELEMENT_ELEMENTS)] + IDispatch *elements(); + + [propput, id(DISPID_IHTMLFORMELEMENT_TARGET)] + void target(BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_TARGET)] + BSTR target(); + + [propput, id(DISPID_IHTMLFORMELEMENT_NAME)] + void name(BSTR v); + + [propget, id(DISPID_IHTMLFORMELEMENT_NAME)] + BSTR name(); + + [propput, id(DISPID_IHTMLFORMELEMENT_ONSUBMIT)] + void onsubmit(VARIANT v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ONSUBMIT)] + VARIANT onsubmit(); + + [propput, id(DISPID_IHTMLFORMELEMENT_ONRESET)] + void onreset(VARIANT v); + + [propget, id(DISPID_IHTMLFORMELEMENT_ONRESET)] + VARIANT onreset(); + + [id(DISPID_IHTMLFORMELEMENT_SUBMIT)] + void submit(); + + [id(DISPID_IHTMLFORMELEMENT_RESET)] + void reset(); + + [propput, id(DISPID_IHTMLFORMELEMENT_LENGTH)] + void length(long v); + + [propget, id(DISPID_IHTMLFORMELEMENT_LENGTH)] + long length(); + + [propget, id(DISPID_IHTMLFORMELEMENT__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLFORMELEMENT_ITEM)] + IDispatch *item(VARIANT name, VARIANT index); + + [id(DISPID_IHTMLFORMELEMENT_TAGS)] + IDispatch *tags(VARIANT tagName); +} + +[ + hidden, + uuid(3050F364-98B5-11CF-BB82-00AA00BDCE0B) +] +dispinterface HTMLFormElementEvents +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS_ONHELP)] + VARIANT_BOOL onhelp(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCLICK)] + VARIANT_BOOL onclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDBLCLICK)] + VARIANT_BOOL ondblclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYPRESS)] + VARIANT_BOOL onkeypress(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYDOWN)] + void onkeydown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYUP)] + void onkeyup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT)] + void onmouseout(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER)] + void onmouseover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE)] + void onmousemove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN)] + void onmousedown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEUP)] + void onmouseup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSELECTSTART)] + VARIANT_BOOL onselectstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE)] + void onfilterchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGSTART)] + VARIANT_BOOL ondragstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE)] + void onafterupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWEXIT)] + VARIANT_BOOL onrowexit(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWENTER)] + void onrowenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED)] + void ondatasetchanged(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE)] + void ondataavailable(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE)] + void ondatasetcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE)] + void onlosecapture(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE)] + void onpropertychange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSCROLL)] + void onscroll(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUS)] + void onfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBLUR)] + void onblur(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZE)] + void onresize(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAG)] + VARIANT_BOOL ondrag(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGEND)] + void ondragend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGENTER)] + VARIANT_BOOL ondragenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGOVER)] + VARIANT_BOOL ondragover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE)] + void ondragleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDROP)] + VARIANT_BOOL ondrop(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECUT)] + VARIANT_BOOL onbeforecut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCUT)] + VARIANT_BOOL oncut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCOPY)] + VARIANT_BOOL oncopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPASTE)] + VARIANT_BOOL onpaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSDELETE)] + void onrowsdelete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED)] + void onrowsinserted(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE)] + void oncellchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE)] + void onreadystatechange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS)] + void onbeforeeditfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE)] + void onlayoutcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPAGE)] + void onpage(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVE)] + void onmove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVESTART)] + VARIANT_BOOL onmovestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVEEND)] + void onmoveend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZESTART)] + VARIANT_BOOL onresizestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZEEND)] + void onresizeend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER)] + void onmouseenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE)] + void onmouseleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel(); + + [id(DISPID_HTMLELEMENTEVENTS_ONACTIVATE)] + void onactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE)] + void ondeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSIN)] + void onfocusin(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT)] + void onfocusout(); + + [id(DISPID_HTMLFORMELEMENTEVENTS_ONSUBMIT)] + VARIANT_BOOL onsubmit(); + + [id(DISPID_HTMLFORMELEMENTEVENTS_ONRESET)] + VARIANT_BOOL onreset(); +} + +interface IHTMLEventObj; + +[ + hidden, + uuid(3050F614-98B5-11CF-BB82-00AA00BDCE0B) +] +dispinterface HTMLFormElementEvents2 +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS2_ONHELP)] + VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)] + VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)] + VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)] + VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)] + void onkeydown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)] + void onkeyup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)] + void onmouseout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)] + void onmouseover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)] + void onmousemove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)] + void onmousedown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)] + void onmouseup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)] + VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)] + void onfilterchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)] + VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)] + void onafterupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)] + VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)] + void onrowenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)] + void ondatasetchanged([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)] + void ondataavailable([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)] + void ondatasetcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)] + void onlosecapture([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)] + void onpropertychange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)] + void onscroll([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)] + void onfocus([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)] + void onblur([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)] + void onresize([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)] + VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)] + void ondragend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)] + VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)] + VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)] + void ondragleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDROP)] + VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)] + VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCUT)] + VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)] + VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)] + VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)] + void onrowsdelete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)] + void onrowsinserted([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)] + void oncellchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)] + void onreadystatechange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)] + void onlayoutcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)] + void onpage([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)] + void onmouseenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)] + void onmouseleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)] + void onactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)] + void ondeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)] + void onfocusin([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)] + void onfocusout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)] + void onmove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)] + VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)] + void onmoveend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)] + VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)] + void onresizeend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLFORMELEMENTEVENTS2_ONSUBMIT)] + VARIANT_BOOL onsubmit([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLFORMELEMENTEVENTS2_ONRESET)] + VARIANT_BOOL onreset([in] IHTMLEventObj* pEvtObj); +} + +[ + noncreatable, + uuid(3050F251-98B5-11CF-BB82-00AA00BDCE0B) +] +coclass HTMLFormElement +{ + [default] dispinterface DispHTMLFormElement; + [source, default] dispinterface HTMLFormElementEvents; + [source] dispinterface HTMLFormElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLFormElement; + /* interface IHTMLFormElement2; */ + /* interface IHTMLFormElement3; */ + /* interface IHTMLSubmitData; */ + /* interface IHTMLFormElement4; */ +} + +/***************************************************************************** + * IHTMLTextContainer interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f230-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTextContainer : IDispatch +{ + [id(DISPID_IHTMLTEXTCONTAINER_CREATECONTROLRANGE)] + HRESULT createControlRange([retval, out] IDispatch **range); + + [propget, id(DISPID_IHTMLTEXTCONTAINER_SCROLLHEIGHT), displaybind, bindable] + HRESULT scrollHeight([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLTEXTCONTAINER_SCROLLWIDTH), displaybind, bindable] + HRESULT scrollWidth([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLTEXTCONTAINER_SCROLLTOP), displaybind, bindable] + HRESULT scrollTop([in] LONG v); + + [propget, id(DISPID_IHTMLTEXTCONTAINER_SCROLLTOP), displaybind, bindable] + HRESULT scrollTop([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLTEXTCONTAINER_SCROLLLEFT), displaybind, bindable] + HRESULT scrollLeft([in] LONG v); + + [propget, id(DISPID_IHTMLTEXTCONTAINER_SCROLLLEFT), displaybind, bindable] + HRESULT scrollLeft([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLTEXTCONTAINER_ONSCROLL), displaybind, bindable] + HRESULT onscroll([in] VARIANT v); + + [propget, id(DISPID_IHTMLTEXTCONTAINER_ONSCROLL), displaybind, bindable] + HRESULT onscroll([retval, out] VARIANT *p); +} + +/***************************************************************************** + * IHTMLImgElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F240-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLImgElement : IDispatch +{ + [propput, id(DISPID_IHTMLIMGELEMENT_ISMAP)] + HRESULT isMap([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ISMAP)] + HRESULT isMap([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_USEMAP)] + HRESULT useMap([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_USEMAP)] + HRESULT useMap([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_MIMETYPE)] + HRESULT mimeType([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILESIZE)] + HRESULT fileSize([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILECREATEDDATE)] + HRESULT fileCreatedDate([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILEMODIFIEDDATE)] + HRESULT fileModifiedDate([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILEUPDATEDDATE)] + HRESULT fileUpdatedDate([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_PROTOCOL)] + HRESULT protocol([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_HREF)] + HRESULT href([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_NAMEPROP)] + HRESULT nameProp([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_BORDER)] + HRESULT border([in] VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_BORDER)] + HRESULT border([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_VSPACE)] + HRESULT vspace([in] LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_VSPACE)] + HRESULT vspace([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_HSPACE)] + HRESULT hspace([in] LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_HSPACE)] + HRESULT hspace([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_ALT)] + HRESULT alt([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ALT)] + HRESULT alt([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_SRC)] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_SRC)] + HRESULT src([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_LOWSRC)] + HRESULT lowsrc([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_LOWSRC)] + HRESULT lowsrc([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_VRML)] + HRESULT vrml([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_VRML)] + HRESULT vrml([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_DYNSRC)] + HRESULT dynsrc([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_DYNSRC)] + HRESULT dynsrc([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLIMGELEMENT_COMPLETE)] + HRESULT complete([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_LOOP)] + HRESULT loop([in] VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_LOOP)] + HRESULT loop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_ALIGN)] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ALIGN)] + HRESULT align([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_ONLOAD)] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ONLOAD)] + HRESULT onload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_ONERROR)] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ONERROR)] + HRESULT onerror([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_ONABORT)] + HRESULT onabort([in] VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ONABORT)] + HRESULT onabort([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_NAME)] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_NAME)] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_WIDTH)] + HRESULT width([in] LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_WIDTH)] + HRESULT width([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_HEIGHT)] + HRESULT height([in] LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_HEIGHT)] + HRESULT height([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLIMGELEMENT_START)] + HRESULT start([in] BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_START)] + HRESULT start([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLImageElementFactory interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F38E-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLImageElementFactory : IDispatch +{ + [id(DISPID_IHTMLIMAGEELEMENTFACTORY_CREATE)] + HRESULT create( + [optional, in] VARIANT width, + [optional, in] VARIANT height, + [retval, out] IHTMLImgElement **elem); +} + +/***************************************************************************** + * DispHTMLImg interface + */ +[ + hidden, + uuid(3050f51c-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLImg +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLIMGELEMENT_ISMAP), displaybind, bindable] + void isMap(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ISMAP), displaybind, bindable] + VARIANT_BOOL isMap(); + + [propput, id(DISPID_IHTMLIMGELEMENT_USEMAP), displaybind, bindable] + void useMap(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_USEMAP), displaybind, bindable] + BSTR useMap(); + + [propget, id(DISPID_IHTMLIMGELEMENT_MIMETYPE)] + BSTR mimeType(); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILESIZE)] + BSTR fileSize(); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILECREATEDDATE)] + BSTR fileCreatedDate(); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILEMODIFIEDDATE)] + BSTR fileModifiedDate(); + + [propget, id(DISPID_IHTMLIMGELEMENT_FILEUPDATEDDATE)] + BSTR fileUpdatedDate(); + + [propget, id(DISPID_IHTMLIMGELEMENT_PROTOCOL)] + BSTR protocol(); + + [propget, id(DISPID_IHTMLIMGELEMENT_HREF)] + BSTR href(); + + [propget, id(DISPID_IHTMLIMGELEMENT_NAMEPROP)] + BSTR nameProp(); + + [propput, id(DISPID_IHTMLIMGELEMENT_BORDER), displaybind, bindable] + void border(VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_BORDER), displaybind, bindable] + VARIANT border(); + + [propput, id(DISPID_IHTMLIMGELEMENT_VSPACE), displaybind, bindable] + void vspace(LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_VSPACE), displaybind, bindable] + LONG vspace(); + + [propput, id(DISPID_IHTMLIMGELEMENT_HSPACE), displaybind, bindable] + void hspace(LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_HSPACE), displaybind, bindable] + LONG hspace(); + + [propput, id(DISPID_IHTMLIMGELEMENT_ALT), displaybind, bindable] + void alt(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ALT), displaybind, bindable] + BSTR alt(); + + [propput, id(DISPID_IHTMLIMGELEMENT_SRC), displaybind, bindable] + void src(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_SRC), displaybind, bindable] + BSTR src(); + + [propput, id(DISPID_IHTMLIMGELEMENT_LOWSRC), displaybind, bindable] + void lowsrc(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_LOWSRC), displaybind, bindable] + BSTR lowsrc(); + + [propput, id(DISPID_IHTMLIMGELEMENT_VRML), displaybind, bindable] + void vrml(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_VRML), displaybind, bindable] + BSTR vrml(); + + [propput, id(DISPID_IHTMLIMGELEMENT_DYNSRC), displaybind, bindable] + void dynsrc(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_DYNSRC), displaybind, bindable] + BSTR dynsrc(); + + [propget, id(DISPID_IHTMLIMGELEMENT_COMPLETE)] + VARIANT_BOOL complete(); + + [propput, id(DISPID_IHTMLIMGELEMENT_LOOP), displaybind, bindable] + void loop(VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_LOOP), displaybind, bindable] + VARIANT loop(); + + [propput, id(DISPID_IHTMLIMGELEMENT_ALIGN), displaybind, bindable] + void align(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ALIGN), displaybind, bindable] + BSTR align(); + + [propput, id(DISPID_IHTMLIMGELEMENT_ONLOAD), displaybind, bindable] + void onload(VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLIMGELEMENT_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propput, id(DISPID_IHTMLIMGELEMENT_ONABORT), displaybind, bindable] + void onabort(VARIANT v); + + [propget, id(DISPID_IHTMLIMGELEMENT_ONABORT), displaybind, bindable] + VARIANT onabort(); + + [propput, id(DISPID_IHTMLIMGELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLIMGELEMENT_WIDTH)] + void width(LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_WIDTH)] + LONG width(); + + [propput, id(DISPID_IHTMLIMGELEMENT_HEIGHT)] + void height(LONG v); + + [propget, id(DISPID_IHTMLIMGELEMENT_HEIGHT)] + LONG height(); + + [propput, id(DISPID_IHTMLIMGELEMENT_START), displaybind, bindable] + void start(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT_START), displaybind, bindable] + BSTR start(); + + [propput, id(DISPID_IHTMLIMGELEMENT2_LONGDESC), displaybind, bindable] + void longDesc(BSTR v); + + [propget, id(DISPID_IHTMLIMGELEMENT2_LONGDESC), displaybind, bindable] + BSTR longDesc(); +} + +/***************************************************************************** + * HTMLImg coclass + */ +[ + noncreatable, + uuid(3050f241-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLImg +{ + [default] dispinterface DispHTMLImg; + /* [source, default] dispinterface HTMLImgEvents; */ + /* [source] dispinterface HTMLImgEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLImgElement; + /* interface IHTMLImgElement2; */ + /* interface IHTMLImgElement3; */ + /* interface IHTMLImgElement4; */ + /* interface IHTMLMSImgElement; */ +} + +/***************************************************************************** + * IHTMLXMLHttpRequest interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051040a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLXMLHttpRequest : IDispatch +{ + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_READYSTATE)] + HRESULT readyState([out, retval] long *p); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSEBODY)] + HRESULT responseBody([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSETEXT)] + HRESULT responseText([out, retval] BSTR *p); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSEXML)] + HRESULT responseXML([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_STATUS)] + HRESULT status([out, retval] long *p); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_STATUSTEXT)] + HRESULT statusText([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([out, retval] VARIANT *p); + + [id(DISPID_IHTMLXMLHTTPREQUEST_ABORT)] HRESULT abort(); + + [id(DISPID_IHTMLXMLHTTPREQUEST_OPEN)] + HRESULT open( + [in] BSTR bstrMethod, + [in] BSTR bstrUrl, + [in] VARIANT varAsync, + [in, optional] VARIANT varUser, + [in, optional] VARIANT varPassword); + + [id(DISPID_IHTMLXMLHTTPREQUEST_SEND)] + HRESULT send([in, optional] VARIANT varBody); + + [id(DISPID_IHTMLXMLHTTPREQUEST_GETALLRESPONSEHEADERS)] + HRESULT getAllResponseHeaders([out, retval] BSTR *p); + + [id(DISPID_IHTMLXMLHTTPREQUEST_GETRESPONSEHEADER)] + HRESULT getResponseHeader( + [in] BSTR bstrHeader, + [out, retval] BSTR *p); + + [id(DISPID_IHTMLXMLHTTPREQUEST_SETREQUESTHEADER)] + HRESULT setRequestHeader( + [in] BSTR bstrHeader, + [in] BSTR bstrValue); +} + +/***************************************************************************** + * IHTMLXMLHttpRequest2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510482-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLXMLHttpRequest2 : IDispatch +{ + [propput, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)] + HRESULT timeout([in] long v); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)] + HRESULT timeout([out, retval] long *p); + + [propput, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable] + HRESULT ontimeout([in] VARIANT v); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable] + HRESULT ontimeout([out, retval] VARIANT *p); +} + +/***************************************************************************** + * IHTMLXMLHttpRequestFactory interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051040c-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLXMLHttpRequestFactory : IDispatch +{ + [id(DISPID_IHTMLXMLHTTPREQUESTFACTORY_CREATE)] + HRESULT create([out, retval] IHTMLXMLHttpRequest **p); +} + +/***************************************************************************** + * DispHTMLXMLHttpRequest dispinterface + */ +[ + hidden, + uuid(3050f596-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLXMLHttpRequest +{ +properties: +methods: + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_READYSTATE)] + long readyState(); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSEBODY)] + VARIANT responseBody(); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSETEXT)] + BSTR responseText(); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSEXML)] + IDispatch *responseXML(); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_STATUS)] + long status(); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_STATUSTEXT)] + BSTR statusText(); + + [propput, id(DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE), displaybind, bindable] + void onreadystatechange(VARIANT v); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE), displaybind, bindable] + VARIANT onreadystatechange(); + + [id(DISPID_IHTMLXMLHTTPREQUEST_ABORT)] + void abort(); + + [id(DISPID_IHTMLXMLHTTPREQUEST_OPEN)] + void open( + [in] BSTR bstrMethod, + [in] BSTR bstrUrl, + [in] VARIANT varAsync, + [in, optional] VARIANT varUser, + [in, optional] VARIANT varPassword); + + [id(DISPID_IHTMLXMLHTTPREQUEST_SEND)] + void send([in, optional] VARIANT varBody); + + [id(DISPID_IHTMLXMLHTTPREQUEST_GETALLRESPONSEHEADERS)] + BSTR getAllResponseHeaders(); + + [id(DISPID_IHTMLXMLHTTPREQUEST_GETRESPONSEHEADER)] + BSTR getResponseHeader([in] BSTR bstrHeader); + + [id(DISPID_IHTMLXMLHTTPREQUEST_SETREQUESTHEADER)] + void setRequestHeader( + [in] BSTR bstrHeader, + [in] BSTR bstrValue); + + [propput, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)] + void timeout(long v); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)] + long timeout(); + + [propput, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable] + void ontimeout(VARIANT v); + + [propget, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable] + VARIANT ontimeout(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; + + + [id(DISPID_IEVENTTARGET_ADDEVENTLISTENER)] + void addEventListener( + [in] BSTR type, + [in] IDispatch *listener, + [in] VARIANT_BOOL useCapture); + + [id(DISPID_IEVENTTARGET_REMOVEEVENTLISTENER)] + void removeEventListener( + [in] BSTR type, + [in] IDispatch *listener, + [in] VARIANT_BOOL useCapture); + + [id(DISPID_IEVENTTARGET_DISPATCHEVENT)] + VARIANT_BOOL dispatchEvent([in] IDOMEvent *evt); +} + +/***************************************************************************** + * HTMLXMLHttpRequest + */ +[ + noncreatable, + uuid(3051040b-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLXMLHttpRequest +{ + [default] dispinterface DispHTMLXMLHttpRequest; + /* [source, default] dispinterface HTMLXMLHttpRequestEvents; */ + interface IHTMLXMLHttpRequest; + interface IHTMLXMLHttpRequest2; + interface IHTMLDOMConstructor; + interface IEventTarget; +} + +/***************************************************************************** + * IHTMLControlElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4e9-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLControlElement : IDispatch +{ + [propput, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([in] short v); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([retval, out] short * p); + + [id(DISPID_IHTMLCONTROLELEMENT_FOCUS)] + HRESULT focus(); + + [propput, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([in] BSTR v); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([retval, out] BSTR * p); + + [propput, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] + HRESULT onresize([in] VARIANT v); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] + HRESULT onresize([retval, out] VARIANT * p); + + [id(DISPID_IHTMLCONTROLELEMENT_BLUR)] + HRESULT blur(); + + [id(DISPID_IHTMLCONTROLELEMENT_ADDFILTER)] + HRESULT addFilter([in] IUnknown* pUnk); + + [id(DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER)] + HRESULT removeFilter([in] IUnknown* pUnk); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT), displaybind, bindable] + HRESULT clientHeight([retval, out] LONG * p); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH), displaybind, bindable] + HRESULT clientWidth([retval, out] LONG * p); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTTOP), displaybind, bindable] + HRESULT clientTop([retval, out] LONG * p); + + [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable] + HRESULT clientLeft([retval, out] LONG * p); +} + +/***************************************************************************** + * IHTMLBodyElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f1d8-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLBodyElement : IDispatch +{ + [propput, id(DISPID_IHTMLBODYELEMENT_BACKGROUND), displaybind, bindable] + HRESULT background([in] BSTR v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BACKGROUND), displaybind, bindable] + HRESULT background([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_BGPROPERTIES), displaybind, bindable] + HRESULT bgProperties([in] BSTR v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BGPROPERTIES), displaybind, bindable] + HRESULT bgProperties([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_LEFTMARGIN), displaybind, bindable] + HRESULT leftMargin([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_LEFTMARGIN), displaybind, bindable] + HRESULT leftMargin([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_TOPMARGIN), displaybind, bindable] + HRESULT topMargin([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_TOPMARGIN), displaybind, bindable] + HRESULT topMargin([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_RIGHTMARGIN), displaybind, bindable] + HRESULT rightMargin([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_RIGHTMARGIN), displaybind, bindable] + HRESULT rightMargin([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN), displaybind, bindable] + HRESULT bottomMargin([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN), displaybind, bindable] + HRESULT bottomMargin([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_NOWRAP), displaybind, bindable] + HRESULT noWrap([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLBODYELEMENT_NOWRAP), displaybind, bindable] + HRESULT noWrap([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_BGCOLOR), displaybind, bindable] + HRESULT bgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BGCOLOR), displaybind, bindable] + HRESULT bgColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_TEXT), displaybind, bindable] + HRESULT text([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_TEXT), displaybind, bindable] + HRESULT text([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_LINK), displaybind, bindable] + HRESULT link([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_LINK), displaybind, bindable] + HRESULT link([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_VLINK), displaybind, bindable] + HRESULT vLink([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_VLINK), displaybind, bindable] + HRESULT vLink([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_ALINK), displaybind, bindable] + HRESULT aLink([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ALINK), displaybind, bindable] + HRESULT aLink([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONUNLOAD), displaybind, bindable] + HRESULT onunload([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONUNLOAD), displaybind, bindable] + HRESULT onunload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_SCROLL), displaybind, bindable] + HRESULT scroll([in] BSTR v); + + [propget, id(DISPID_IHTMLBODYELEMENT_SCROLL), displaybind, bindable] + HRESULT scroll([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD), displaybind, bindable] + HRESULT onbeforeunload([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD), displaybind, bindable] + HRESULT onbeforeunload([retval, out] VARIANT *p); + + [id(DISPID_IHTMLBODYELEMENT_CREATETEXTRANGE)] + HRESULT createTextRange([retval, out] IHTMLTxtRange **range); +} + +/***************************************************************************** + * IHTMLBodyElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f5c5-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLBodyElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT), displaybind, bindable] + HRESULT onbeforeprint([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT), displaybind, bindable] + HRESULT onbeforeprint([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT), displaybind, bindable] + HRESULT onafterprint([in] VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT), displaybind, bindable] + HRESULT onafterprint([retval, out] VARIANT *p); +} + +[ + hidden, + uuid(3050f507-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLBody +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLBODYELEMENT_BACKGROUND), displaybind, bindable] + void background(BSTR v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BACKGROUND), displaybind, bindable] + BSTR background(); + + [propput, id(DISPID_IHTMLBODYELEMENT_BGPROPERTIES), displaybind, bindable] + void bgProperties(BSTR v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BGPROPERTIES), displaybind, bindable] + BSTR bgProperties(); + + [propput, id(DISPID_IHTMLBODYELEMENT_LEFTMARGIN), displaybind, bindable] + void leftMargin(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_LEFTMARGIN), displaybind, bindable] + VARIANT leftMargin(); + + [propput, id(DISPID_IHTMLBODYELEMENT_TOPMARGIN), displaybind, bindable] + void topMargin(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_TOPMARGIN), displaybind, bindable] + VARIANT topMargin(); + + [propput, id(DISPID_IHTMLBODYELEMENT_RIGHTMARGIN), displaybind, bindable] + void rightMargin(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_RIGHTMARGIN), displaybind, bindable] + VARIANT rightMargin(); + + [propput, id(DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN), displaybind, bindable] + void bottomMargin(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN), displaybind, bindable] + VARIANT bottomMargin(); + + [propput, id(DISPID_IHTMLBODYELEMENT_NOWRAP), displaybind, bindable] + void noWrap(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLBODYELEMENT_NOWRAP), displaybind, bindable] + VARIANT_BOOL noWrap(); + + [propput, id(DISPID_IHTMLBODYELEMENT_BGCOLOR), displaybind, bindable] + void bgColor(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_BGCOLOR), displaybind, bindable] + VARIANT bgColor(); + + [propput, id(DISPID_IHTMLBODYELEMENT_TEXT), displaybind, bindable] + void text(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_TEXT), displaybind, bindable] + VARIANT text(); + + [propput, id(DISPID_IHTMLBODYELEMENT_LINK), displaybind, bindable] + void link(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_LINK), displaybind, bindable] + VARIANT link(); + + [propput, id(DISPID_IHTMLBODYELEMENT_VLINK), displaybind, bindable] + void vLink(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_VLINK), displaybind, bindable] + VARIANT vLink(); + + [propput, id(DISPID_IHTMLBODYELEMENT_ALINK), displaybind, bindable] + void aLink(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ALINK), displaybind, bindable] + VARIANT aLink(); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONLOAD), displaybind, bindable] + void onload(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONUNLOAD), displaybind, bindable] + void onunload(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONUNLOAD), displaybind, bindable] + VARIANT onunload(); + + [propput, id(DISPID_IHTMLBODYELEMENT_SCROLL), displaybind, bindable] + void scroll(BSTR v); + + [propget, id(DISPID_IHTMLBODYELEMENT_SCROLL), displaybind, bindable] + BSTR scroll(); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONSELECT), displaybind, bindable] + void onselect(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONSELECT), displaybind, bindable] + VARIANT onselect(); + + [propput, id(DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD), displaybind, bindable] + void onbeforeunload(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD), displaybind, bindable] + VARIANT onbeforeunload(); + + [id(DISPID_IHTMLBODYELEMENT_CREATETEXTRANGE)] + IHTMLTxtRange* createTextRange(); + + [propput, id(DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT), displaybind, bindable] + void onbeforeprint(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT), displaybind, bindable] + VARIANT onbeforeprint(); + + [propput, id(DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT), displaybind, bindable] + void onafterprint(VARIANT v); + + [propget, id(DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT), displaybind, bindable] + VARIANT onafterprint(); +} + +[ + uuid(3050f24a-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLBody +{ + [default] dispinterface DispHTMLBody; + [source, default] dispinterface HTMLTextContainerEvents; + [source] dispinterface HTMLTextContainerEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLTextContainer; + interface IHTMLBodyElement; + interface IHTMLBodyElement2; + /* interface IHTMLBodyElement3; */ + /* interface IHTMLBodyElement4; */ + /* interface IHTMLBodyElement5; */ +} + +/***************************************************************************** + * IHTMLAnchorElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f1da-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLAnchorElement : IDispatch +{ + [propput, id(DISPID_IHTMLANCHORELEMENT_HREF), displaybind, bindable] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HREF), displaybind, bindable] + HRESULT href([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_TARGET), displaybind, bindable] + HRESULT target([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_TARGET), displaybind, bindable] + HRESULT target([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_REL), displaybind, bindable] + HRESULT rel([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_REL), displaybind, bindable] + HRESULT rel([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_REV), displaybind, bindable] + HRESULT rev([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_REV), displaybind, bindable] + HRESULT rev([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_URN), displaybind, bindable] + HRESULT urn([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_URN), displaybind, bindable] + HRESULT urn([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_METHODS), displaybind, bindable] + HRESULT Methods([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_METHODS), displaybind, bindable] + HRESULT Methods([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_HOST)] + HRESULT host([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HOST)] + HRESULT host([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_HOSTNAME)] + HRESULT hostname([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HOSTNAME)] + HRESULT hostname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_PATHNAME)] + HRESULT pathname([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PATHNAME)] + HRESULT pathname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_PORT)] + HRESULT port([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PORT)] + HRESULT port([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_PROTOCOL)] + HRESULT protocol([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PROTOCOL)] + HRESULT protocol([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_SEARCH)] + HRESULT search([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_SEARCH)] + HRESULT search([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_HASH)] + HRESULT hash([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HASH)] + HRESULT hash([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([in] BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PROTOCOLLONG)] + HRESULT protocolLong([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLANCHORELEMENT_MIMETYPE)] + HRESULT mimeType([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLANCHORELEMENT_NAMEPROP)] + HRESULT nameProp([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLANCHORELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([in] short v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([retval, out] short *p); + + [id(DISPID_IHTMLANCHORELEMENT_FOCUS)] + HRESULT focus(); + + [id(DISPID_IHTMLANCHORELEMENT_BLUR)] + HRESULT blur(); +} + +/***************************************************************************** + * DispHTMLAnchorElement dispinterface + */ +[ + hidden, + uuid(3050f502-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLAnchorElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLANCHORELEMENT_HREF), displaybind, bindable] + void href(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HREF), displaybind, bindable] + BSTR href(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_TARGET), displaybind, bindable] + void target(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_TARGET), displaybind, bindable] + BSTR target(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_REL), displaybind, bindable] + void rel(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_REL), displaybind, bindable] + BSTR rel(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_REV), displaybind, bindable] + void rev(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_REV), displaybind, bindable] + BSTR rev(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_URN), displaybind, bindable] + void urn(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_URN), displaybind, bindable] + BSTR urn(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_METHODS), displaybind, bindable] + void Methods(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_METHODS), displaybind, bindable] + BSTR Methods(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_HOST)] + void host(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HOST)] + BSTR host(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_HOSTNAME)] + void hostname(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HOSTNAME)] + BSTR hostname(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_PATHNAME)] + void pathname(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PATHNAME)] + BSTR pathname(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_PORT)] + void port(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PORT)] + BSTR port(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_PROTOCOL)] + void protocol(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PROTOCOL)] + BSTR protocol(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_SEARCH)] + void search(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_SEARCH)] + BSTR search(); + + [propput, id(DISPID_IHTMLANCHORELEMENT_HASH)] + void hash(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT_HASH)] + BSTR hash(); + + [propget, id(DISPID_IHTMLANCHORELEMENT_PROTOCOLLONG)] + BSTR protocolLong(); + + [propget, id(DISPID_IHTMLANCHORELEMENT_MIMETYPE)] + BSTR mimeType(); + + [propget, id(DISPID_IHTMLANCHORELEMENT_NAMEPROP)] + BSTR nameProp(); + + [propput, id(DISPID_IHTMLANCHORELEMENT2_CHARSET), displaybind, bindable] + void charset(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT2_CHARSET), displaybind, bindable] + BSTR charset(); + + [propput, id(DISPID_IHTMLANCHORELEMENT2_COORDS), displaybind, bindable] + void coords(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT2_COORDS), displaybind, bindable] + BSTR coords(); + + [propput, id(DISPID_IHTMLANCHORELEMENT2_HREFLANG), displaybind, bindable] + void hreflang(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT2_HREFLANG), displaybind, bindable] + BSTR hreflang(); + + [propput, id(DISPID_IHTMLANCHORELEMENT2_SHAPE), displaybind, bindable] + void shape(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT2_SHAPE), displaybind, bindable] + BSTR shape(); + + [propput, id(DISPID_IHTMLANCHORELEMENT2_TYPE), displaybind, bindable] + void type(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT2_TYPE), displaybind, bindable] + BSTR type(); + + [propput, id(DISPID_IHTMLANCHORELEMENT3_IE8_SHAPE)] + void ie8_shape(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT3_IE8_SHAPE)] + BSTR ie8_shape(); + + [propput, id(DISPID_IHTMLANCHORELEMENT3_IE8_COORDS)] + void ie8_coords(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT3_IE8_COORDS)] + BSTR ie8_coords(); + + [propput, id(DISPID_IHTMLANCHORELEMENT3_IE8_HREF)] + void ie8_href(BSTR v); + + [propget, id(DISPID_IHTMLANCHORELEMENT3_IE8_HREF)] + BSTR ie8_href(); +} + +/***************************************************************************** + * HTMLAnchorElement coclass + */ +[ + noncreatable, + uuid(3050f248-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLAnchorElement +{ + [default] dispinterface DispHTMLAnchorElement; + /* [source, default] dispinterface HTMLAnchorEvents; */ + /* [source] dispinterface HTMLAnchorEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLAnchorElement; + /* interface IHTMLAnchorElement2; */ + /* interface IHTMLAnchorElement3; */ +} + +/***************************************************************************** + * IHTMLAreaElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f265-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLAreaElement : IDispatch +{ + [propput, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + HRESULT shape([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + HRESULT shape([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_COORDS)] + HRESULT coords([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_COORDS)] + HRESULT coords([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HREF)] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HREF)] + HRESULT href([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_TARGET)] + HRESULT target([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_TARGET)] + HRESULT target([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_ALT)] + HRESULT alt([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ALT)] + HRESULT alt([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + HRESULT noHref([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + HRESULT noHref([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOST)] + HRESULT host([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOST)] + HRESULT host([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + HRESULT hostname([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + HRESULT hostname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + HRESULT pathname([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + HRESULT pathname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_PORT)] + HRESULT port([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PORT)] + HRESULT port([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + HRESULT protocol([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + HRESULT protocol([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + HRESULT search([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + HRESULT search([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HASH)] + HRESULT hash([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HASH)] + HRESULT hash([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([in] short v); + + [propget, id(DISPID_IHTMLAREAELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([retval, out] short *p); + + [id(DISPID_IHTMLAREAELEMENT_FOCUS)] + HRESULT focus(); + + [id(DISPID_IHTMLAREAELEMENT_BLUR)] + HRESULT blur(); +} + +/***************************************************************************** + * DispHTMLAreaElement dispinterface + */ +[ + hidden, + uuid(3050f503-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLAreaElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch* constructor(); + + [propput, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + void shape(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + BSTR shape(); + + [propput, id(DISPID_IHTMLAREAELEMENT_COORDS)] + void coords(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_COORDS)] + BSTR coords(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HREF)] + void href(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HREF)] + BSTR href(); + + [propput, id(DISPID_IHTMLAREAELEMENT_TARGET)] + void target(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_TARGET)] + BSTR target(); + + [propput, id(DISPID_IHTMLAREAELEMENT_ALT)] + void alt(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ALT)] + BSTR alt(); + + [propput, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + void noHref(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + VARIANT_BOOL noHref(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOST)] + void host(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOST)] + BSTR host(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + void hostname(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + BSTR hostname(); + + [propput, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + void pathname(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + BSTR pathname(); + + [propput, id(DISPID_IHTMLAREAELEMENT_PORT)] + void port(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PORT)] + BSTR port(); + + [propput, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + void protocol(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + BSTR protocol(); + + [propput, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + void search(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + BSTR search(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HASH)] + void hash(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HASH)] + BSTR hash(); + + [propput, id(DISPID_IHTMLAREAELEMENT2_IE8_SHAPE)] + void ie8_shape(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT2_IE8_SHAPE)] + BSTR ie8_shape(); + + [propput, id(DISPID_IHTMLAREAELEMENT2_IE8_COORDS)] + void ie8_coords(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT2_IE8_COORDS)] + BSTR ie8_coords(); + + [propput, id(DISPID_IHTMLAREAELEMENT2_IE8_HREF)] + void ie8_href(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT2_IE8_HREF)] + BSTR ie8_href(); +} + +/***************************************************************************** + * HTMLAreaElement coclass + */ +[ + noncreatable, + uuid(3050f283-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLAreaElement +{ + [default] dispinterface DispHTMLAreaElement; + /* [source, default] dispinterface HTMLAreaEvents; */ + /* [source] dispinterface HTMLAreaEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLAreaElement; + /* interface IHTMLAreaElement2; */ +} + +/***************************************************************************** + * IHTMLLabelElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f32a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLabelElement : IDispatch +{ + [propput, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + HRESULT htmlFor([in] BSTR v); + + [propget, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + HRESULT htmlFor([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLABELELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([in] BSTR v); + + [propget, id(DISPID_IHTMLLABELELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLLabelElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f832-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLabelElement2 : IDispatch +{ + [propget, id(DISPID_IHTMLLABELELEMENT2_FORM)] + HRESULT form([out, retval] IHTMLFormElement **p); +} + +/***************************************************************************** + * DispHTMLLabelElement dispinterface + */ +[ + hidden, + uuid(3050f522-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLLabelElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + void htmlFor(BSTR v); + + [propget, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + BSTR htmlFor(); + + [propget, id(DISPID_IHTMLLABELELEMENT2_FORM)] + IHTMLFormElement *form(); +} + +/***************************************************************************** + * HTMLLabelElement coclass + */ +[ + noncreatable, + uuid(3050f32b-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLLabelElement +{ + [default] dispinterface DispHTMLLabelElement; + /* [source, default] dispinterface HTMLLabelEvents; */ + /* [source] dispinterface HTMLLabelEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLLabelElement; + interface IHTMLLabelElement2; +} + +/***************************************************************************** + * IHTMLElementCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F21F-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLElementCollection : IDispatch +{ + [id(DISPID_IHTMLELEMENTCOLLECTION_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); + + [propput, id(DISPID_IHTMLELEMENTCOLLECTION_LENGTH)] + HRESULT length([in] LONG v); + + [propget, id(DISPID_IHTMLELEMENTCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLELEMENTCOLLECTION__NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLELEMENTCOLLECTION_ITEM)] + HRESULT item( + [optional, in] VARIANT name, + [optional, in] VARIANT index, + [retval, out] IDispatch **pdisp); + + [id(DISPID_IHTMLELEMENTCOLLECTION_TAGS)] + HRESULT tags( + [in] VARIANT tagName, + [retval, out] IDispatch **pdisp); +} + +/***************************************************************************** + * DispHTMLElementCollection dispinterface + */ +[ + hidden, + uuid(3050f56b-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLElementCollection +{ +properties: +methods: + [id(DISPID_IHTMLELEMENTCOLLECTION_TOSTRING)] + BSTR toString(); + + [propput, id(DISPID_IHTMLELEMENTCOLLECTION_LENGTH)] + void length(LONG v); + + [propget, id(DISPID_IHTMLELEMENTCOLLECTION_LENGTH)] + LONG length(); + + [propget, id(DISPID_IHTMLELEMENTCOLLECTION__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLELEMENTCOLLECTION_ITEM)] + IDispatch *item( + [in, optional] VARIANT name, + [in, optional] VARIANT index); + + [id(DISPID_IHTMLELEMENTCOLLECTION_TAGS)] + IDispatch *tags( + [in] VARIANT tagName); + + [id(DISPID_IHTMLELEMENTCOLLECTION2_URNS)] + IDispatch *urns([in] VARIANT urn); + + [id(DISPID_IHTMLELEMENTCOLLECTION3_NAMEDITEM)] + IDispatch *namedItem([in] BSTR name); +} + +/***************************************************************************** + * IHTMLSelectElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f244-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLSelectElement : IDispatch +{ + [propput, id(DISPID_IHTMLSELECTELEMENT_SIZE), displaybind, bindable] + HRESULT size([in] LONG v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_SIZE), displaybind, bindable] + HRESULT size([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSELECTELEMENT_MULTIPLE), displaybind, bindable] + HRESULT multiple([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_MULTIPLE), displaybind, bindable] + HRESULT multiple([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSELECTELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSELECTELEMENT_OPTIONS)] + HRESULT options([retval, out] IDispatch **p); + + [propput, id(DISPID_IHTMLSELECTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX)] + HRESULT selectedIndex([in] LONG v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX)] + HRESULT selectedIndex([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSELECTELEMENT_TYPE), displaybind, bindable] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSELECTELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSELECTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLSELECTELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); + + [id(DISPID_IHTMLSELECTELEMENT_ADD)] + HRESULT add( + [in] IHTMLElement *element, + [optional, in] VARIANT before); + + [id(DISPID_IHTMLSELECTELEMENT_REMOVE)] + HRESULT remove([defaultvalue(-1), in] LONG index); + + [propput, id(DISPID_IHTMLSELECTELEMENT_LENGTH)] + HRESULT length([in] LONG v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSELECTELEMENT__NEWENUM), hidden, restricted] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLSELECTELEMENT_ITEM)] + HRESULT item( + [optional, in] VARIANT name, + [optional, in] VARIANT index, + [retval, out] IDispatch **pdisp); + + [id(DISPID_IHTMLSELECTELEMENT_TAGS)] + HRESULT tags( + [in] VARIANT tagName, + [retval, out] IDispatch **pdisp); +} + +/***************************************************************************** + * DispHTMLSelectElement dispinterface + */ +[ + hidden, + uuid(3050f531-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLSelectElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLSELECTELEMENT_SIZE), displaybind, bindable] + void size(LONG v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_SIZE), displaybind, bindable] + LONG size(); + + [propput, id(DISPID_IHTMLSELECTELEMENT_MULTIPLE), displaybind, bindable] + void multiple(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_MULTIPLE), displaybind, bindable] + VARIANT_BOOL multiple(); + + [propput, id(DISPID_IHTMLSELECTELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propget, id(DISPID_IHTMLSELECTELEMENT_OPTIONS)] + IDispatch *options(); + + [propput, id(DISPID_IHTMLSELECTELEMENT_ONCHANGE), displaybind, bindable] + void onchange(VARIANT v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_ONCHANGE), displaybind, bindable] + VARIANT onchange(); + + [propput, id(DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX)] + void selectedIndex(LONG v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX)] + LONG selectedIndex(); + + [propget, id(DISPID_IHTMLSELECTELEMENT_TYPE), displaybind, bindable] + BSTR type(); + + [propput, id(DISPID_IHTMLSELECTELEMENT_VALUE), displaybind, bindable] + void value(BSTR v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_VALUE), displaybind, bindable] + BSTR value(); + + [propget, id(DISPID_IHTMLSELECTELEMENT_FORM)] + IHTMLFormElement *form(); + + [id(DISPID_IHTMLSELECTELEMENT_ADD)] + void add( + [in] IHTMLElement *element, + [in, optional] VARIANT before); + + [id(DISPID_IHTMLSELECTELEMENT_REMOVE)] + void remove([in, defaultvalue(-1)] LONG index); + + [propput, id(DISPID_IHTMLSELECTELEMENT_LENGTH)] + void length(LONG v); + + [propget, id(DISPID_IHTMLSELECTELEMENT_LENGTH)] + LONG length(); + + [propget, id(DISPID_IHTMLSELECTELEMENT__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLSELECTELEMENT_ITEM)] + IDispatch *item( + [in, optional] VARIANT name, + [in, optional] VARIANT index); + + [id(DISPID_IHTMLSELECTELEMENT_TAGS)] + IDispatch *tags([in] VARIANT tagName); + + [id(DISPID_IHTMLSELECTELEMENT2_URNS)] + IDispatch *urns([in] VARIANT urn); + + [id(DISPID_IHTMLSELECTELEMENT4_NAMEDITEM)] + IDispatch *namedItem([in] BSTR name); +} + +/***************************************************************************** + * HTMLSelectElement coclass + */ +[ + noncreatable, + uuid(3050f245-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLSelectElement +{ + [default] dispinterface DispHTMLSelectElement; + /* [source, default] dispinterface HTMLSelectElementEvents; */ + /* [source] dispinterface HTMLSelectElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLSelectElement; + /* interface IHTMLSelectElement2; */ + /* interface IHTMLSelectElement4; */ + /* interface IHTMLSelectElement5; */ + /* interface IHTMLSelectElement6; */ +} + +/***************************************************************************** + * IHTMLSelectionObject interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F25A-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLSelectionObject : IDispatch +{ + [id(DISPID_IHTMLSELECTIONOBJECT_CREATERANGE)] + HRESULT createRange([retval, out] IDispatch **range); + + [id(DISPID_IHTMLSELECTIONOBJECT_EMPTY)] + HRESULT empty(); + + [id(DISPID_IHTMLSELECTIONOBJECT_CLEAR)] + HRESULT clear(); + + [propget, id(DISPID_IHTMLSELECTIONOBJECT_TYPE)] + HRESULT type([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLSelectionObject2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f7ec-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLSelectionObject2 : IDispatch +{ + [id(DISPID_IHTMLSELECTIONOBJECT2_CREATERANGECOLLECTION)] + HRESULT createRangeCollection([out, retval] IDispatch **rangeCollection); + + [propget, id(DISPID_IHTMLSELECTIONOBJECT2_TYPEDETAIL)] + HRESULT typeDetail([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLSelection interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104b6-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLSelection : IDispatch +{ + [propget, id(DISPID_IHTMLSELECTION_ANCHORNODE)] + HRESULT anchorNode([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLSELECTION_ANCHOROFFSET)] + HRESULT anchorOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLSELECTION_FOCUSNODE)] + HRESULT focusNode([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLSELECTION_FOCUSOFFSET)] + HRESULT focusOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLSELECTION_ISCOLLAPSED)] + HRESULT isCollapsed([out, retval] VARIANT_BOOL *p); + + [id(DISPID_IHTMLSELECTION_COLLAPSE)] + HRESULT collapse( + [in] IDispatch *parentNode, + [in] long offset); + + [id(DISPID_IHTMLSELECTION_COLLAPSETOSTART)] + HRESULT collapseToStart(); + + [id(DISPID_IHTMLSELECTION_COLLAPSETOEND)] + HRESULT collapseToEnd(); + + [id(DISPID_IHTMLSELECTION_SELECTALLCHILDREN)] + HRESULT selectAllChildren([in] IDispatch *parentNode); + + [id(DISPID_IHTMLSELECTION_DELETEFROMDOCUMENT)] + HRESULT deleteFromDocument(); + + [propget, id(DISPID_IHTMLSELECTION_RANGECOUNT)] + HRESULT rangeCount([out, retval] long *p); + + [id(DISPID_IHTMLSELECTION_GETRANGEAT)] + HRESULT getRangeAt( + [in] long index, + [out, retval] IHTMLDOMRange **ppRange); + + [id(DISPID_IHTMLSELECTION_ADDRANGE)] + HRESULT addRange([in] IDispatch *range); + + [id(DISPID_IHTMLSELECTION_REMOVERANGE)] + HRESULT removeRange([in] IDispatch *range); + + [id(DISPID_IHTMLSELECTION_REMOVEALLRANGES)] + HRESULT removeAllRanges(); + + [id(DISPID_IHTMLSELECTION_TOSTRING)] + HRESULT toString([out, retval] BSTR *pSelectionString); +} + +/***************************************************************************** + * IHTMLOptionElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F211-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLOptionElement : IDispatch +{ + [propput, id(DISPID_IHTMLOPTIONELEMENT_SELECTED)] + HRESULT selected([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_SELECTED)] + HRESULT selected([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_VALUE)] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_VALUE)] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED)] + HRESULT defaultSelected([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED)] + HRESULT defaultSelected([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_INDEX)] + HRESULT index([in] LONG v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_INDEX)] + HRESULT index([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_TEXT)] + HRESULT text([in] BSTR v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_TEXT)] + HRESULT text([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); +} + +[ + odl, + oleautomation, + dual, + uuid(3050f820-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLOptionElement3 : IDispatch +{ + [propput, id(DISPID_IHTMLOPTIONELEMENT3_LABEL), displaybind, bindable] + HRESULT label([in] BSTR v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT3_LABEL), displaybind, bindable] + HRESULT label([retval, out] BSTR * p); +} + +/***************************************************************************** + * IHTMLOptionElementFactory interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F38C-98B5-11Cf-BB82-00AA00BDCE0B) +] +interface IHTMLOptionElementFactory : IDispatch +{ + [id(DISPID_IHTMLOPTIONELEMENTFACTORY_CREATE)] + HRESULT create( + [optional, in] VARIANT text, + [optional, in] VARIANT value, + [optional, in] VARIANT defaultselected, + [optional, in] VARIANT selected, + [retval, out] IHTMLOptionElement **optelem); +} + +/***************************************************************************** + * DispHTMLOptionElement dispinterface + */ +[ + hidden, + uuid(3050f52b-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLOptionElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLOPTIONELEMENT_SELECTED)] + void selected(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_SELECTED)] + VARIANT_BOOL selected(); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_VALUE)] + void value(BSTR v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_VALUE)] + BSTR value(); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED)] + void defaultSelected(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED)] + VARIANT_BOOL defaultSelected(); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_INDEX)] + void index(LONG v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_INDEX)] + LONG index(); + + [propput, id(DISPID_IHTMLOPTIONELEMENT_TEXT)] + void text(BSTR v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_TEXT)] + BSTR text(); + + [propget, id(DISPID_IHTMLOPTIONELEMENT_FORM)] + IHTMLFormElement *form(); + + [propput, id(DISPID_IHTMLOPTIONELEMENT3_LABEL), displaybind, bindable] + void label(BSTR v); + + [propget, id(DISPID_IHTMLOPTIONELEMENT3_LABEL), displaybind, bindable] + BSTR label(); +} + +[ + noncreatable, + uuid(3050f24d-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLOptionElement +{ + [default] dispinterface DispHTMLOptionElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLOptionElement; + interface IHTMLOptionElement3; + /* interface IHTMLOptionElement4; */ +} + +/***************************************************************************** + * IHTMLInputElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f5d2-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLInputElement : IDispatch +{ + [propput, id(DISPID_IHTMLINPUTELEMENT_TYPE)] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_TYPE)] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_STATUS)] + HRESULT status([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_STATUS)] + HRESULT status([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLINPUTELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_SIZE), displaybind, bindable] + HRESULT size([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_SIZE), displaybind, bindable] + HRESULT size([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_MAXLENGTH), displaybind, bindable] + HRESULT maxLength([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_MAXLENGTH), displaybind, bindable] + HRESULT maxLength([retval, out] LONG *p); + + [id(DISPID_IHTMLINPUTELEMENT_SELECT)] + HRESULT select(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([retval, out] VARIANT_BOOL *p); + + [id(DISPID_IHTMLINPUTELEMENT_CREATETEXTRANGE)] + HRESULT createTextRange([retval, out] IHTMLTxtRange **range); + + [propput, id(DISPID_IHTMLINPUTELEMENT_INDETERMINATE), bindable] + HRESULT indeterminate([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_INDETERMINATE), bindable] + HRESULT indeterminate([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED), bindable] + HRESULT defaultChecked([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED), bindable] + HRESULT defaultChecked([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_CHECKED), bindable] + HRESULT checked([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_CHECKED), bindable] + HRESULT checked([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_BORDER), displaybind, bindable] + HRESULT border([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_BORDER), displaybind, bindable] + HRESULT border([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_VSPACE), displaybind, bindable] + HRESULT vspace([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_VSPACE), displaybind, bindable] + HRESULT vspace([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_HSPACE), displaybind, bindable] + HRESULT hspace([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_HSPACE), displaybind, bindable] + HRESULT hspace([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ALT), displaybind, bindable] + HRESULT alt([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ALT), displaybind, bindable] + HRESULT alt([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_SRC), displaybind, bindable] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_SRC), displaybind, bindable] + HRESULT src([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_LOWSRC), displaybind, bindable] + HRESULT lowsrc([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_LOWSRC), displaybind, bindable] + HRESULT lowsrc([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_VRML), displaybind, bindable] + HRESULT vrml([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_VRML), displaybind, bindable] + HRESULT vrml([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DYNSRC), displaybind, bindable] + HRESULT dynsrc([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DYNSRC), displaybind, bindable] + HRESULT dynsrc([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLINPUTELEMENT_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLINPUTELEMENT_COMPLETE)] + HRESULT complete([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_LOOP), displaybind, bindable] + HRESULT loop([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_LOOP), displaybind, bindable] + HRESULT loop([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ALIGN), displaybind, bindable] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ALIGN), displaybind, bindable] + HRESULT align([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONABORT), displaybind, bindable] + HRESULT onabort([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONABORT), displaybind, bindable] + HRESULT onabort([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_WIDTH)] + HRESULT width([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_WIDTH)] + HRESULT width([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_HEIGHT)] + HRESULT height([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_HEIGHT)] + HRESULT height([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLINPUTELEMENT_START), displaybind, bindable] + HRESULT start([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_START), displaybind, bindable] + HRESULT start([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLInputTextElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f2a6-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLInputTextElement : IDispatch +{ + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_TYPE)] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_STATUS)] + HRESULT status([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_STATUS)] + HRESULT status([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_SIZE), displaybind, bindable] + HRESULT size([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_SIZE), displaybind, bindable] + HRESULT size([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH), displaybind, bindable] + HRESULT maxLength([in] LONG v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH), displaybind, bindable] + HRESULT maxLength([retval, out] LONG *p); + + [id(DISPID_IHTMLINPUTTEXTELEMENT_SELECT)] + HRESULT select(); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([retval, out] VARIANT_BOOL *p); + + [id(DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE)] + HRESULT createTextRange([retval, out] IHTMLTxtRange **range); +} + +/***************************************************************************** + * IHTMLInputTextElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f2d2-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLInputTextElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART)] + HRESULT selectionStart([in] long v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART)] + HRESULT selectionStart([out, retval] long *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND)] + HRESULT selectionEnd([in] long v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND)] + HRESULT selectionEnd([out, retval] long *p); + + [id(DISPID_IHTMLINPUTTEXTELEMENT2_SETSELECTIONRANGE)] + HRESULT setSelectionRange([in] long start, [in] long end); +} + +[ + hidden, + uuid(3050f57d-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLInputElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLINPUTELEMENT_TYPE)] + void type(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_TYPE)] + BSTR type(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_VALUE), displaybind, bindable] + void value(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_VALUE), displaybind, bindable] + BSTR value(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_STATUS)] + void status(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_STATUS)] + VARIANT_BOOL status(); + + [propget, id(DISPID_IHTMLINPUTELEMENT_FORM)] + IHTMLFormElement *form(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_SIZE), displaybind, bindable] + void size(LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_SIZE), displaybind, bindable] + LONG size(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_MAXLENGTH), displaybind, bindable] + void maxLength(LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_MAXLENGTH), displaybind, bindable] + LONG maxLength(); + + [id(DISPID_IHTMLINPUTELEMENT_SELECT)] + void select(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONCHANGE), displaybind, bindable] + void onchange(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONCHANGE), displaybind, bindable] + VARIANT onchange(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONSELECT), displaybind, bindable] + void onselect(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONSELECT), displaybind, bindable] + VARIANT onselect(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + void defaultValue(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + BSTR defaultValue(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_READONLY), displaybind, bindable] + void readOnly(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_READONLY), displaybind, bindable] + VARIANT_BOOL readOnly(); + + [id(DISPID_IHTMLINPUTELEMENT_CREATETEXTRANGE)] + IHTMLTxtRange *createTextRange(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_INDETERMINATE), bindable] + void indeterminate(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_INDETERMINATE), bindable] + VARIANT_BOOL indeterminate(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED), bindable] + void defaultChecked(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED), bindable] + VARIANT_BOOL defaultChecked(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_CHECKED), bindable] + void checked(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_CHECKED), bindable] + VARIANT_BOOL checked(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_BORDER), displaybind, bindable] + void border(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_BORDER), displaybind, bindable] + VARIANT border(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_VSPACE), displaybind, bindable] + void vspace(LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_VSPACE), displaybind, bindable] + LONG vspace(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_HSPACE), displaybind, bindable] + void hspace(LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_HSPACE), displaybind, bindable] + LONG hspace(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ALT), displaybind, bindable] + void alt(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ALT), displaybind, bindable] + BSTR alt(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_SRC), displaybind, bindable] + void src(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_SRC), displaybind, bindable] + BSTR src(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_LOWSRC), displaybind, bindable] + void lowsrc(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_LOWSRC), displaybind, bindable] + BSTR lowsrc(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_VRML), displaybind, bindable] + void vrml(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_VRML), displaybind, bindable] + BSTR vrml(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_DYNSRC), displaybind, bindable] + void dynsrc(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_DYNSRC), displaybind, bindable] + BSTR dynsrc(); + + [propget, id(DISPID_IHTMLINPUTELEMENT_COMPLETE)] + VARIANT_BOOL complete(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_LOOP), displaybind, bindable] + void loop(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_LOOP), displaybind, bindable] + VARIANT loop(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ALIGN), displaybind, bindable] + void align(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ALIGN), displaybind, bindable] + BSTR align(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONLOAD), displaybind, bindable] + void onload(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_ONABORT), displaybind, bindable] + void onabort(VARIANT v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_ONABORT), displaybind, bindable] + VARIANT onabort(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_WIDTH)] + void width(LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_WIDTH)] + LONG width(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_HEIGHT)] + void height(LONG v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_HEIGHT)] + LONG height(); + + [propput, id(DISPID_IHTMLINPUTELEMENT_START), displaybind, bindable] + void start(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT_START), displaybind, bindable] + BSTR start(); + + [propput, id(DISPID_IHTMLINPUTELEMENT2_ACCEPT), displaybind, bindable] + void accept(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT2_ACCEPT), displaybind, bindable] + BSTR accept(); + + [propput, id(DISPID_IHTMLINPUTELEMENT2_USEMAP), displaybind, bindable] + void useMap(BSTR v); + + [propget, id(DISPID_IHTMLINPUTELEMENT2_USEMAP), displaybind, bindable] + BSTR useMap(); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART)] + void selectionStart(long v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART)] + long selectionStart(); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND)] + void selectionEnd(long v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND)] + long selectionEnd(); + + [id(DISPID_IHTMLINPUTTEXTELEMENT2_SETSELECTIONRANGE)] + void setSelectionRange([in] long start, [in] long end); +} + +/***************************************************************************** + * HTMLInputElement coclass + */ +[ + noncreatable, + uuid(3050f5d8-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLInputElement +{ + [default] dispinterface DispHTMLInputElement; + /* [source, default] dispinterface HTMLInputTextElementEvents; */ + /* [source] dispinterface HTMLInputTextElementEvents2; */ + /* [source] dispinterface HTMLOptionButtonElementEvents; */ + /* [source] dispinterface HTMLButtonElementEvents; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLInputElement; + /* interface IHTMLInputElement2; */ + interface IHTMLInputTextElement; + interface IHTMLInputTextElement2; + /* interface IHTMLInputHiddenElement; */ + /* interface IHTMLInputButtonElement; */ + /* interface IHTMLInputFileElement; */ + /* interface IHTMLOptionButtonElement; */ + /* interface IHTMLInputImage; */ + /* interface IHTMLInputElement3; */ + /* interface IHTMLInputRangeElement; */ +} + +/***************************************************************************** + * IHTMLTextAreaElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f2aa-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTextAreaElement : IDispatch +{ + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_TYPE)] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_STATUS)] + HRESULT status([in] VARIANT v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_STATUS)] + HRESULT status([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([in] BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([retval, out] BSTR *p); + + [id(DISPID_IHTMLTEXTAREAELEMENT_SELECT)] + HRESULT select(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_ROWS), displaybind, bindable] + HRESULT rows([in] LONG v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_ROWS), displaybind, bindable] + HRESULT rows([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_COLS), displaybind, bindable] + HRESULT cols([in] LONG v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_COLS), displaybind, bindable] + HRESULT cols([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_WRAP), displaybind, bindable] + HRESULT wrap([in] BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_WRAP), displaybind, bindable] + HRESULT wrap([retval, out] BSTR *p); + + [id(DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE)] + HRESULT createTextRange([retval, out] IHTMLTxtRange **range); +} + +/***************************************************************************** + * DispHTMLTextAreaElement dispinterface + */ +[ + hidden, + uuid(3050f521-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLTextAreaElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_TYPE)] + BSTR type(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_VALUE), displaybind, bindable] + void value(BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_VALUE), displaybind, bindable] + BSTR value(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_STATUS)] + void status(VARIANT v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_STATUS)] + VARIANT status(); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_FORM)] + IHTMLFormElement *form(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + void defaultValue(BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + BSTR defaultValue(); + + [id(DISPID_IHTMLTEXTAREAELEMENT_SELECT)] + void select(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE), displaybind, bindable] + void onchange(VARIANT v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE), displaybind, bindable] + VARIANT onchange(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_ONSELECT), displaybind, bindable] + void onselect(VARIANT v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_ONSELECT), displaybind, bindable] + VARIANT onselect(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_READONLY), displaybind, bindable] + void readOnly(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_READONLY), displaybind, bindable] + VARIANT_BOOL readOnly(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_ROWS), displaybind, bindable] + void rows(LONG v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_ROWS), displaybind, bindable] + LONG rows(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_COLS), displaybind, bindable] + void cols(LONG v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_COLS), displaybind, bindable] + LONG cols(); + + [propput, id(DISPID_IHTMLTEXTAREAELEMENT_WRAP), displaybind, bindable] + void wrap(BSTR v); + + [propget, id(DISPID_IHTMLTEXTAREAELEMENT_WRAP), displaybind, bindable] + BSTR wrap(); + + [id(DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE)] + IHTMLTxtRange *createTextRange(); +} + +/***************************************************************************** + * HTMLTextAreaElement coclass + */ +[ + noncreatable, + uuid(3050f2ac-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLTextAreaElement +{ + [default] dispinterface DispHTMLTextAreaElement; + /* [source, default] dispinterface HTMLInputTextElementEvents; */ + /* [source] dispinterface HTMLInputTextElementEvents2; */ + [source] dispinterface HTMLTextContainerEvents; + [source] dispinterface HTMLTextContainerEvents2; + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLTextContainer; + interface IHTMLTextAreaElement; + /* interface IHTMLTextAreaElement2; */ +} + +/***************************************************************************** + * IHTMLButtonElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f2bb-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLButtonElement : IDispatch +{ + [propget, id(DISPID_IHTMLBUTTONELEMENT_TYPE)] + HRESULT type([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_VALUE), displaybind, bindable] + HRESULT value([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_NAME), displaybind, bindable] + HRESULT name([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_STATUS)] + HRESULT status([in] VARIANT v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_STATUS)] + HRESULT status([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_FORM)] + HRESULT form([out, retval] IHTMLFormElement **p); + + [id(DISPID_IHTMLBUTTONELEMENT_CREATETEXTRANGE)] + HRESULT createTextRange([out, retval] IHTMLTxtRange **range); +} + +/***************************************************************************** + * DispHTMLButtonElement dispinterface + */ +[ + hidden, + uuid(3050f51f-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLButtonElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propget, id(DISPID_IHTMLBUTTONELEMENT_TYPE)] + BSTR type(); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_VALUE), displaybind, bindable] + void value(BSTR v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_VALUE), displaybind, bindable] + BSTR value(); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLBUTTONELEMENT_STATUS)] + void status(VARIANT v); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_STATUS)] + VARIANT status(); + + [propget, id(DISPID_IHTMLBUTTONELEMENT_FORM)] + IHTMLFormElement *form(); + + [id(DISPID_IHTMLBUTTONELEMENT_CREATETEXTRANGE)] + IHTMLTxtRange *createTextRange(); +} + +/***************************************************************************** + * HTMLButtonElement coclass + */ +[ + noncreatable, + uuid(3050f2c6-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLButtonElement +{ + [default] dispinterface DispHTMLButtonElement; + /* [source, default] dispinterface HTMLButtonElementEvents; */ + /* [source] dispinterface HTMLButtonElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLTextContainer; + interface IHTMLButtonElement; + /* interface IHTMLButtonElement2; */ +} + +/***************************************************************************** + * IHTMLHtmlElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f81c-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLHtmlElement : IDispatch +{ + [propput, id(DISPID_IHTMLHTMLELEMENT_VERSION), displaybind, bindable] + HRESULT version([in] BSTR v); + + [propget, id(DISPID_IHTMLHTMLELEMENT_VERSION), displaybind, bindable] + HRESULT version([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLHeadElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f81d-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLHeadElement : IDispatch +{ + [propput, id(DISPID_IHTMLHEADELEMENT_PROFILE), displaybind, bindable] + HRESULT profile([in] BSTR v); + + [propget, id(DISPID_IHTMLHEADELEMENT_PROFILE), displaybind, bindable] + HRESULT profile([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLHeadElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051042f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLHeadElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLHEADELEMENT2_IE8_PROFILE), displaybind, bindable] + HRESULT profile([in] BSTR v); + + [propget, id(DISPID_IHTMLHEADELEMENT2_IE8_PROFILE), displaybind, bindable] + HRESULT profile([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLTitleElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f322-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTitleElement : IDispatch +{ + [propput, id(DISPID_IHTMLTITLEELEMENT_TEXT), bindable] + HRESULT text([in] BSTR v); + + [propget, id(DISPID_IHTMLTITLEELEMENT_TEXT), bindable] + HRESULT text([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLMetaElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f203-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLMetaElement : IDispatch +{ + [propput, id(DISPID_IHTMLMETAELEMENT_HTTPEQUIV), displaybind, bindable] + HRESULT httpEquiv([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_HTTPEQUIV), displaybind, bindable] + HRESULT httpEquiv([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLMETAELEMENT_CONTENT), displaybind, bindable] + HRESULT content([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_CONTENT), displaybind, bindable] + HRESULT content([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLMETAELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_NAME), displaybind, bindable] + HRESULT name([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLMETAELEMENT_URL), displaybind, bindable] + HRESULT url([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_URL), displaybind, bindable] + HRESULT url([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLMETAELEMENT_CHARSET), displaybind, bindable] + HRESULT charset([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_CHARSET), displaybind, bindable] + HRESULT charset([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLMetaElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f81f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLMetaElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLMETAELEMENT2_SCHEME), displaybind, bindable] + HRESULT scheme([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT2_SCHEME), displaybind, bindable] + HRESULT scheme([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLMetaElement3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510495-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLMetaElement3 : IDispatch +{ + [propput, id(DISPID_IHTMLMETAELEMENT3_IE8_URL)] + HRESULT url([in] BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT3_IE8_URL)] + HRESULT url([out, retval] BSTR *p); +} + +/***************************************************************************** + * DispHTMLHtmlElement interface + */ +[ + hidden, + uuid(3050f560-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLHtmlElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLHTMLELEMENT_VERSION), displaybind, bindable] + void version(BSTR v); + + [propget, id(DISPID_IHTMLHTMLELEMENT_VERSION), displaybind, bindable] + BSTR version(); +} + +/***************************************************************************** + * HTMLHtmlElement coclass + */ +[ + noncreatable, + uuid(3050f491-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLHtmlElement +{ + [default] dispinterface DispHTMLHtmlElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLHtmlElement; +} + +/***************************************************************************** + * DispHTMLHeadElement interface + */ +[ + hidden, + uuid(3050f561-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLHeadElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLHEADELEMENT_PROFILE), displaybind, bindable] + void profile(BSTR v); + + [propget, id(DISPID_IHTMLHEADELEMENT_PROFILE), displaybind, bindable] + BSTR profile(); + + [propput, id(DISPID_IHTMLHEADELEMENT2_IE8_PROFILE), displaybind, bindable] + void ie8_profile(BSTR v); + + [propget, id(DISPID_IHTMLHEADELEMENT2_IE8_PROFILE), displaybind, bindable] + BSTR ie8_profile(); +} + +/***************************************************************************** + * HTMLHeadElement coclass + */ +[ + noncreatable, + uuid(3050f493-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLHeadElement +{ + [default] dispinterface DispHTMLHeadElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLHeadElement; + interface IHTMLHeadElement2; +} + +/***************************************************************************** + * DispHTMLTitleElement interface + */ +[ + hidden, + uuid(3050f516-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLTitleElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLTITLEELEMENT_TEXT), bindable] + void text(BSTR v); + + [propget, id(DISPID_IHTMLTITLEELEMENT_TEXT), bindable] + BSTR text(); +} + +/***************************************************************************** + * HTMLTitleElement coclass + */ +[ + noncreatable, + uuid(3050f284-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLTitleElement +{ + [default] dispinterface DispHTMLTitleElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLTitleElement; +} + +/***************************************************************************** + * DispHTMLMetaElement dispinterface + */ +[ + hidden, + uuid(3050f517-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLMetaElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLMETAELEMENT_HTTPEQUIV), displaybind, bindable] + void httpEquiv(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_HTTPEQUIV), displaybind, bindable] + BSTR httpEquiv(); + + [propput, id(DISPID_IHTMLMETAELEMENT_CONTENT), displaybind, bindable] + void content(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_CONTENT), displaybind, bindable] + BSTR content(); + + [propput, id(DISPID_IHTMLMETAELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLMETAELEMENT_URL), displaybind, bindable] + void url(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_URL), displaybind, bindable] + BSTR url(); + + [propput, id(DISPID_IHTMLMETAELEMENT_CHARSET), displaybind, bindable] + void charset(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT_CHARSET), displaybind, bindable] + BSTR charset(); + + [propput, id(DISPID_IHTMLMETAELEMENT2_SCHEME), displaybind, bindable] + void scheme(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT2_SCHEME), displaybind, bindable] + BSTR scheme(); + + [propput, id(DISPID_IHTMLMETAELEMENT3_IE8_URL)] + void ie8_url(BSTR v); + + [propget, id(DISPID_IHTMLMETAELEMENT3_IE8_URL)] + BSTR ie8_url(); +} + +/***************************************************************************** + * HTMLMetaElement coclass + */ +[ + noncreatable, + uuid(3050f275-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLMetaElement +{ + [default] dispinterface DispHTMLMetaElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLMetaElement; + interface IHTMLMetaElement2; + interface IHTMLMetaElement3; +} + +/***************************************************************************** + * DispHTMLUnknownElement dispinterface + */ +[ + hidden, + uuid(3050f539-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLUnknownElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; +} + +/***************************************************************************** + * HTMLUnknownElement coclass + */ +[ + noncreatable, + uuid(3050f268-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLUnknownElement +{ + [default] dispinterface DispHTMLUnknownElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + /* interface IHTMLUnknownElement; */ +} + +/***************************************************************************** + * IOmHistory interface + */ +[ + odl, + oleautomation, + dual, + uuid(FECEAAA2-8405-11CF-8BA1-00AA00476DA6) +] +interface IOmHistory : IDispatch +{ + [propget, id(DISPID_IOMHISTORY_LENGTH)] + HRESULT length([retval, out] short *p); + + [id(DISPID_IOMHISTORY_BACK)] + HRESULT back([optional, in] VARIANT *pvargdistance); + + [id(DISPID_IOMHISTORY_FORWARD)] + HRESULT forward([optional, in] VARIANT *pvargdistance); + + [id(DISPID_IOMHISTORY_GO)] + HRESULT go([optional, in] VARIANT *pvargdistance); +} + +[ + noncreatable, + uuid(FECEAAA3-8405-11cf-8BA1-00AA00476DA6) +] +coclass HTMLHistory +{ + [default] interface IOmHistory; +} + +/***************************************************************************** + * IHTMLMimeTypesCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F3FC-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLMimeTypesCollection : IDispatch +{ + [propget, id(DISPID_IHTMLMIMETYPESCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); +} + +[ + noncreatable, + uuid(3050f3fe-98b5-11cf-bb82-00aa00bdce0b) +] +coclass CMimeTypes +{ + [default] interface IHTMLMimeTypesCollection; +} + +/***************************************************************************** + * IHTMLPluginsCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F3FD-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLPluginsCollection : IDispatch +{ + [propget, id(DISPID_IHTMLPLUGINSCOLLECTION_LENGTH)] + HRESULT length([retval, out] LONG *p); + + [id(DISPID_IHTMLPLUGINSCOLLECTION_REFRESH)] + HRESULT refresh([defaultvalue(0), in] VARIANT_BOOL reload); +} + +[ + hidden, + uuid(3050f54a-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispCPlugins +{ + properties: +methods: + [propget, id(DISPID_IHTMLPLUGINSCOLLECTION_LENGTH)] + long length(); + + [id(DISPID_IHTMLPLUGINSCOLLECTION_REFRESH)] + void refresh([defaultvalue(0), in] VARIANT_BOOL reload); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + +[ + noncreatable, + uuid(3050f3ff-98b5-11cf-bb82-00aa00bdce0b) +] +coclass CPlugins +{ + [default] dispinterface DispCPlugins; + interface IHTMLPluginsCollection; + interface IHTMLDOMConstructor; +} + +/***************************************************************************** + * IHTMLOpsProfile interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F401-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLOpsProfile : IDispatch +{ + [id(DISPID_IHTMLOPSPROFILE_ADDREQUEST)] + HRESULT addRequest( + [in] BSTR name, + [optional, in] VARIANT reserved, + [retval, out] VARIANT_BOOL *success); + + [id(DISPID_IHTMLOPSPROFILE_CLEARREQUEST)] + HRESULT clearRequest(); + + [id(DISPID_IHTMLOPSPROFILE_DOREQUEST)] + HRESULT doRequest( + [in] VARIANT usage, + [optional, in] VARIANT fname, + [optional, in] VARIANT domain, + [optional, in] VARIANT path, + [optional, in] VARIANT expire, + [optional, in] VARIANT reserved); + + [id(DISPID_IHTMLOPSPROFILE_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR name, + [retval, out] BSTR *value); + + [id(DISPID_IHTMLOPSPROFILE_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR name, + [in] BSTR value, + [optional, in] VARIANT prefs, + [retval, out] VARIANT_BOOL *success); + + [id(DISPID_IHTMLOPSPROFILE_COMMITCHANGES)] + HRESULT commitChanges([retval, out] VARIANT_BOOL *success); + + [id(DISPID_IHTMLOPSPROFILE_ADDREADREQUEST)] + HRESULT addReadRequest( + [in] BSTR name, + [optional, in] VARIANT reserved, + [retval, out] VARIANT_BOOL *success); + + [id(DISPID_IHTMLOPSPROFILE_DOREADREQUEST)] + HRESULT doReadRequest( + [in] VARIANT usage, + [optional, in] VARIANT fname, + [optional, in] VARIANT domain, + [optional, in] VARIANT path, + [optional, in] VARIANT expire, + [optional, in] VARIANT reserved); + + [id(DISPID_IHTMLOPSPROFILE_DOWRITEREQUEST)] + HRESULT doWriteRequest([retval, out] VARIANT_BOOL *success); +} + +[ + noncreatable, + uuid(3050f402-98b5-11cf-bb82-00aa00bdce0b) +] +coclass COpsProfile +{ + [default] interface IHTMLOpsProfile; +} + +/***************************************************************************** + * IOmNavigator interface + */ +[ + odl, + oleautomation, + dual, + uuid(FECEAAA5-8405-11CF-8BA1-00AA00476DA6) +] +interface IOmNavigator : IDispatch +{ + [propget, id(DISPID_IOMNAVIGATOR_APPCODENAME)] + HRESULT appCodeName([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_APPNAME)] + HRESULT appName([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_APPVERSION)] + HRESULT appVersion([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_USERAGENT)] + HRESULT userAgent([retval, out] BSTR *p); + + [id(DISPID_IOMNAVIGATOR_JAVAENABLED)] + HRESULT javaEnabled([retval, out] VARIANT_BOOL *enabled); + + [id(DISPID_IOMNAVIGATOR_TAINTENABLED)] + HRESULT taintEnabled([retval, out] VARIANT_BOOL *enabled); + + [propget, id(DISPID_IOMNAVIGATOR_MIMETYPES)] + HRESULT mimeTypes([retval, out] IHTMLMimeTypesCollection **p); + + [propget, id(DISPID_IOMNAVIGATOR_PLUGINS)] + HRESULT plugins([retval, out] IHTMLPluginsCollection **p); + + [propget, id(DISPID_IOMNAVIGATOR_COOKIEENABLED)] + HRESULT cookieEnabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IOMNAVIGATOR_OPSPROFILE)] + HRESULT opsProfile([retval, out] IHTMLOpsProfile **p); + + [id(DISPID_IOMNAVIGATOR_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); + + [propget, id(DISPID_IOMNAVIGATOR_CPUCLASS)] + HRESULT cpuClass([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE)] + HRESULT systemLanguage([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_BROWSERLANGUAGE), hidden] + HRESULT browserLanguage([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_USERLANGUAGE)] + HRESULT userLanguage([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_PLATFORM)] + HRESULT platform([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_APPMINORVERSION)] + HRESULT appMinorVersion([retval, out] BSTR *p); + + [propget, id(DISPID_IOMNAVIGATOR_CONNECTIONSPEED), hidden] + HRESULT connectionSpeed([retval, out] LONG *p); + + [propget, id(DISPID_IOMNAVIGATOR_ONLINE)] + HRESULT onLine([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IOMNAVIGATOR_USERPROFILE)] + HRESULT userProfile([retval, out] IHTMLOpsProfile **p); +} + +/***************************************************************************** + * DispHTMLNavigator dispinterface + */ +[ + hidden, + uuid(3050f54c-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLNavigator +{ +properties: +methods: + [propget, id(DISPID_IOMNAVIGATOR_APPCODENAME)] + BSTR appCodeName(); + + [propget, id(DISPID_IOMNAVIGATOR_APPNAME)] + BSTR appName(); + + [propget, id(DISPID_IOMNAVIGATOR_APPVERSION)] + BSTR appVersion(); + + [propget, id(DISPID_IOMNAVIGATOR_USERAGENT)] + BSTR userAgent(); + + [id(DISPID_IOMNAVIGATOR_JAVAENABLED)] + VARIANT_BOOL javaEnabled(); + + [id(DISPID_IOMNAVIGATOR_TAINTENABLED)] + VARIANT_BOOL taintEnabled(); + + [propget, id(DISPID_IOMNAVIGATOR_MIMETYPES)] + IHTMLMimeTypesCollection *mimeTypes(); + + [propget, id(DISPID_IOMNAVIGATOR_PLUGINS)] + IHTMLPluginsCollection *plugins(); + + [propget, id(DISPID_IOMNAVIGATOR_COOKIEENABLED)] + VARIANT_BOOL cookieEnabled(); + + [propget, id(DISPID_IOMNAVIGATOR_OPSPROFILE)] + IHTMLOpsProfile *opsProfile(); + + [id(DISPID_IOMNAVIGATOR_TOSTRING)] + BSTR toString(); + + [propget, id(DISPID_IOMNAVIGATOR_CPUCLASS)] + BSTR cpuClass(); + + [propget, id(DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE)] + BSTR systemLanguage(); + + [propget, id(DISPID_IOMNAVIGATOR_BROWSERLANGUAGE), hidden] + BSTR browserLanguage(); + + [propget, id(DISPID_IOMNAVIGATOR_USERLANGUAGE)] + BSTR userLanguage(); + + [propget, id(DISPID_IOMNAVIGATOR_PLATFORM)] + BSTR platform(); + + [propget, id(DISPID_IOMNAVIGATOR_APPMINORVERSION)] + BSTR appMinorVersion(); + + [propget, id(DISPID_IOMNAVIGATOR_CONNECTIONSPEED), hidden] + LONG connectionSpeed(); + + [propget, id(DISPID_IOMNAVIGATOR_ONLINE)] + VARIANT_BOOL onLine(); + + [propget, id(DISPID_IOMNAVIGATOR_USERPROFILE)] + IHTMLOpsProfile *userProfile(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +[ + noncreatable, + uuid(FECEAAA6-8405-11cf-8BA1-00AA00476DA6) +] +coclass HTMLNavigator +{ + [default] dispinterface DispHTMLNavigator; + interface IOmNavigator; +} + +/***************************************************************************** + * IHTMLLocation interface + */ +[ + odl, + oleautomation, + dual, + uuid(163BB1E0-6E00-11cf-837A-48DC04C10000) +] +interface IHTMLLocation : IDispatch +{ + [propput, id(DISPID_IHTMLLOCATION_HREF)] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HREF)] + HRESULT href([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_PROTOCOL)] + HRESULT protocol([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_PROTOCOL)] + HRESULT protocol([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_HOST)] + HRESULT host([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HOST)] + HRESULT host([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_HOSTNAME)] + HRESULT hostname([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HOSTNAME)] + HRESULT hostname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_PORT)] + HRESULT port([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_PORT)] + HRESULT port([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_PATHNAME)] + HRESULT pathname([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_PATHNAME)] + HRESULT pathname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_SEARCH)] + HRESULT search([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_SEARCH)] + HRESULT search([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLLOCATION_HASH)] + HRESULT hash([in] BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HASH)] + HRESULT hash([retval, out] BSTR *p); + + [id(DISPID_IHTMLLOCATION_RELOAD)] + HRESULT reload([defaultvalue(0), in] VARIANT_BOOL flag); + + [id(DISPID_IHTMLLOCATION_REPLACE)] + HRESULT replace([in] BSTR bstr); + + [id(DISPID_IHTMLLOCATION_ASSIGN)] + HRESULT assign([in] BSTR bstr); + + [id(DISPID_IHTMLLOCATION_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); +} + +/***************************************************************************** + * DispHTMLHistory dispinterface + */ +[ + hidden, + uuid(3050f549-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLHistory +{ +properties: +methods: + [propget, id(DISPID_IOMHISTORY_LENGTH)] + short length(); + + [id(DISPID_IOMHISTORY_BACK)] + void back([optional, in] VARIANT *pvargdistance); + + [id(DISPID_IOMHISTORY_FORWARD)] + void forward([optional, in] VARIANT *pvargdistance); + + [id(DISPID_IOMHISTORY_GO)] + void go([optional, in] VARIANT *pvargdistance); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + +/***************************************************************************** + * DispHTMLLocation dispinterface + */ +[ + hidden, + uuid(3050f54e-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLLocation +{ +properties: +methods: + [propput, id(DISPID_IHTMLLOCATION_HREF)] + void href(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HREF)] + BSTR href(); + + [propput, id(DISPID_IHTMLLOCATION_PROTOCOL)] + void protocol(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_PROTOCOL)] + BSTR protocol(); + + [propput, id(DISPID_IHTMLLOCATION_HOST)] + void host(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HOST)] + BSTR host(); + + [propput, id(DISPID_IHTMLLOCATION_HOSTNAME)] + void hostname(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HOSTNAME)] + BSTR hostname(); + + [propput, id(DISPID_IHTMLLOCATION_PORT)] + void port(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_PORT)] + BSTR port(); + + [propput, id(DISPID_IHTMLLOCATION_PATHNAME)] + void pathname(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_PATHNAME)] + BSTR pathname(); + + [propput, id(DISPID_IHTMLLOCATION_SEARCH)] + void search(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_SEARCH)] + BSTR search(); + + [propput, id(DISPID_IHTMLLOCATION_HASH)] + void hash(BSTR v); + + [propget, id(DISPID_IHTMLLOCATION_HASH)] + BSTR hash(); + + [id(DISPID_IHTMLLOCATION_RELOAD)] + void reload([in, defaultvalue(0)] VARIANT_BOOL flag); + + [id(DISPID_IHTMLLOCATION_REPLACE)] + void replace([in] BSTR bstr); + + [id(DISPID_IHTMLLOCATION_ASSIGN)] + void assign([in] BSTR bstr); + + [id(DISPID_IHTMLLOCATION_TOSTRING)] + BSTR toString(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +[ + noncreatable, + uuid(163BB1E1-6E00-11cf-837A-48DC04C10000) +] +coclass HTMLLocation +{ + [default] dispinterface DispHTMLLocation; + interface IHTMLLocation; +} + +[ + odl, + oleautomation, + dual, + uuid(3050f4ce-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLBookmarkCollection : IDispatch +{ + [propget, id(DISPID_IHTMLBOOKMARKCOLLECTION_LENGTH), hidden] + HRESULT length([out, retval] LONG *p); + + [propget, id(DISPID_IHTMLBOOKMARKCOLLECTION__NEWENUM), hidden, restricted] + HRESULT _newEnum([out, retval] IUnknown **p); + + [id(DISPID_IHTMLBOOKMARKCOLLECTION_ITEM)] + HRESULT item( + [in] LONG index, + [out, retval] VARIANT *pVarBookmark); +} + +/***************************************************************************** + * IHTMLDataTransfer interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4b3-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDataTransfer : IDispatch +{ + [id(DISPID_IHTMLDATATRANSFER_SETDATA)] + HRESULT setData( + [in] BSTR format, + [in] VARIANT *data, + [out, retval] VARIANT_BOOL *pret); + + [id(DISPID_IHTMLDATATRANSFER_GETDATA)] + HRESULT getData( + [in] BSTR format, + [out, retval] VARIANT *pvarRet); + + [id(DISPID_IHTMLDATATRANSFER_CLEARDATA)] + HRESULT clearData( + [in] BSTR format, + [out, retval] VARIANT_BOOL *pret); + + [propput, id(DISPID_IHTMLDATATRANSFER_DROPEFFECT)] + HRESULT dropEffect([in] BSTR v); + + [propget, id(DISPID_IHTMLDATATRANSFER_DROPEFFECT)] + HRESULT dropEffect([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLDATATRANSFER_EFFECTALLOWED)] + HRESULT effectAllowed([in] BSTR v); + + [propget, id(DISPID_IHTMLDATATRANSFER_EFFECTALLOWED)] + HRESULT effectAllowed([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLEventObj interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050F32D-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLEventObj : IDispatch +{ + [propget, id(DISPID_IHTMLEVENTOBJ_SRCELEMENT)] + HRESULT srcElement([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLEVENTOBJ_ALTKEY)] + HRESULT altKey([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_CTRLKEY)] + HRESULT ctrlKey([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_SHIFTKEY)] + HRESULT shiftKey([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] + HRESULT returnValue([in] VARIANT v); + + [propget, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] + HRESULT returnValue([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] + HRESULT cancelBubble([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] + HRESULT cancelBubble([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_FROMELEMENT)] + HRESULT fromElement([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLEVENTOBJ_TOELEMENT)] + HRESULT toElement([retval, out] IHTMLElement **p); + + [propput, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] + HRESULT keyCode([in] LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] + HRESULT keyCode([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_BUTTON)] + HRESULT button([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_TYPE)] + HRESULT type([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_QUALIFIER)] + HRESULT qualifier([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_REASON)] + HRESULT reason([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_X)] + HRESULT x([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_Y)] + HRESULT y([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_CLIENTX)] + HRESULT clientX([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_CLIENTY)] + HRESULT clientY([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_OFFSETX)] + HRESULT offsetX([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_OFFSETY)] + HRESULT offsetY([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_SCREENX)] + HRESULT screenX([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_SCREENY)] + HRESULT screenY([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLEVENTOBJ_SRCFILTER)] + HRESULT srcFilter([retval, out] IDispatch **p); +} + +/***************************************************************************** + * DispCEventObj dispinterface + */ +[ + hidden, + uuid(3050f558-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispCEventObj +{ +properties: +methods: + [propput, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] + void returnValue(VARIANT v); + + [propget, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] + VARIANT returnValue(); + + [propput, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] + void cancelBubble(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] + VARIANT_BOOL cancelBubble(); + + [propput, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] + void keyCode(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] + LONG keyCode(); + + [id(DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE)] + void setAttribute( + [in] BSTR strAttributeName, + [in] VARIANT AttributeValue, + [in, defaultvalue(1)] LONG lFlags); + + [id(DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE)] + VARIANT getAttribute( + [in] BSTR strAttributeName, + [in, defaultvalue(0)] LONG lFlags); + + [id(DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE)] + VARIANT_BOOL removeAttribute( + [in] BSTR strAttributeName, + [in, defaultvalue(1)] LONG lFlags); + + [propput, id(DISPID_IHTMLEVENTOBJ2_PROPERTYNAME)] + void propertyName(BSTR v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_PROPERTYNAME)] + BSTR propertyName(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_BOOKMARKS)] + void bookmarks(IHTMLBookmarkCollection *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_BOOKMARKS)] + IHTMLBookmarkCollection *bookmarks(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_RECORDSET)] + void recordset(IDispatch *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_RECORDSET)] + IDispatch *recordset(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_DATAFLD)] + void dataFld(BSTR v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_DATAFLD)] + BSTR dataFld(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS)] + void boundElements(IHTMLElementCollection *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS)] + IHTMLElementCollection *boundElements(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_REPEAT)] + void repeat(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_REPEAT)] + VARIANT_BOOL repeat(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_SRCURN)] + void srcUrn(BSTR v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_SRCURN)] + BSTR srcUrn(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_SRCELEMENT)] + void srcElement(IHTMLElement *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_SRCELEMENT)] + IHTMLElement *srcElement(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_ALTKEY)] + void altKey(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_ALTKEY)] + VARIANT_BOOL altKey(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_CTRLKEY)] + void ctrlKey(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_CTRLKEY)] + VARIANT_BOOL ctrlKey(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_SHIFTKEY)] + void shiftKey(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_SHIFTKEY)] + VARIANT_BOOL shiftKey(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_FROMELEMENT)] + void fromElement(IHTMLElement *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_FROMELEMENT)] + IHTMLElement *fromElement(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_TOELEMENT)] + void toElement(IHTMLElement *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_TOELEMENT)] + IHTMLElement *toElement(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_BUTTON)] + void button(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_BUTTON)] + LONG button(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_TYPE)] + void type(BSTR v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_TYPE)] + BSTR type(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_QUALIFIER)] + void qualifier(BSTR v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_QUALIFIER)] + BSTR qualifier(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_REASON)] + void reason(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_REASON)] + LONG reason(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_X)] + void x(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_X)] + LONG x(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_Y)] + void y(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_Y)] + LONG y(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_CLIENTX)] + void clientX(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_CLIENTX)] + LONG clientX(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_CLIENTY)] + void clientY(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_CLIENTY)] + LONG clientY(); + [propput, id(DISPID_IHTMLEVENTOBJ2_OFFSETX)] + void offsetX(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_OFFSETX)] + LONG offsetX(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_OFFSETY)] + void offsetY(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_OFFSETY)] + LONG offsetY(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_SCREENX)] + void screenX(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_SCREENX)] + LONG screenX(); + + [propput, id(DISPID_IHTMLEVENTOBJ2_SCREENY)] + void screenY(LONG v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_SCREENY)] + LONG screenY(); + + [propputref, id(DISPID_IHTMLEVENTOBJ2_SRCFILTER)] + void srcFilter(IDispatch *v); + + [propget, id(DISPID_IHTMLEVENTOBJ2_SRCFILTER)] + IDispatch *srcFilter(); + + [propget, id(DISPID_IHTMLEVENTOBJ2_DATATRANSFER)] + IHTMLDataTransfer *dataTransfer(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW)] + VARIANT_BOOL contentOverflow(); + + [propput, id(DISPID_IHTMLEVENTOBJ3_SHIFTLEFT)] + void shiftLeft(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ3_SHIFTLEFT)] + VARIANT_BOOL shiftLeft(); + + [propput, id(DISPID_IHTMLEVENTOBJ3_ALTLEFT)] + void altLeft(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ3_ALTLEFT)] + VARIANT_BOOL altLeft(); + + [propput, id(DISPID_IHTMLEVENTOBJ3_CTRLLEFT)] + void ctrlLeft(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLEVENTOBJ3_CTRLLEFT)] + VARIANT_BOOL ctrlLeft(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE), hidden, restricted, nonbrowsable] + LONG_PTR imeCompositionChange(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND), hidden, restricted, nonbrowsable] + LONG_PTR imeNotifyCommand(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA), hidden, restricted, nonbrowsable] + LONG_PTR imeNotifyData(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_IMEREQUEST), hidden, restricted, nonbrowsable] + LONG_PTR imeRequest(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA), hidden, restricted, nonbrowsable] + LONG_PTR imeRequestData(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT), hidden, restricted, nonbrowsable] + LONG_PTR keyboardLayout(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE)] + LONG behaviorCookie(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_BEHAVIORPART)] + LONG behaviorPart(); + + [propget, id(DISPID_IHTMLEVENTOBJ3_NEXTPAGE)] + BSTR nextPage(); + + [propget, id(DISPID_IHTMLEVENTOBJ4_WHEELDELTA)] + LONG wheelDelta(); +} + +/***************************************************************************** + * IHTMLFramesCollection2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(332C4426-26CB-11D0-B483-00C04FD90119) +] +interface IHTMLFramesCollection2 : IDispatch +{ + [id(DISPID_IHTMLFRAMESCOLLECTION2_ITEM)] + HRESULT item( + [in] VARIANT *pvarIndex, + [retval, out] VARIANT *pvarResult); + + [propget, id(DISPID_IHTMLFRAMESCOLLECTION2_LENGTH)] + HRESULT length([retval, out] LONG *p); +} + +/***************************************************************************** + * IHTMLScreen interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f35C-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IHTMLScreen : IDispatch +{ + [propget, id(DISPID_IHTMLSCREEN_COLORDEPTH)] + HRESULT colorDepth([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] + HRESULT bufferDepth([in] LONG v); + + [propget, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] + HRESULT bufferDepth([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSCREEN_WIDTH)] + HRESULT width([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSCREEN_HEIGHT)] + HRESULT height([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] + HRESULT updateInterval([in] LONG v); + + [propget, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] + HRESULT updateInterval([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSCREEN_AVAILHEIGHT)] + HRESULT availHeight([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSCREEN_AVAILWIDTH)] + HRESULT availWidth([retval, out] LONG *p); + + [propget, id(DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED)] + HRESULT fontSmoothingEnabled([retval, out] VARIANT_BOOL *p); +} + +/***************************************************************************** + * IHTMLWindow2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(332C4427-26CB-11D0-B483-00C04FD90119) +] +interface IHTMLWindow2 : IHTMLFramesCollection2 +{ + [propget, id(DISPID_IHTMLWINDOW2_FRAMES)] + HRESULT frames([retval, out] IHTMLFramesCollection2 **p); + + [propput, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] + HRESULT defaultStatus([in] BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] + HRESULT defaultStatus([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLWINDOW2_STATUS)] + HRESULT status([in] BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_STATUS)] + HRESULT status([retval, out] BSTR *p); + + [id(DISPID_IHTMLWINDOW2_SETTIMEOUT)] + HRESULT setTimeout( + [in] BSTR expression, + [in] LONG msec, + [optional, in] VARIANT *language, + [retval, out] LONG *timerID); + + [id(DISPID_IHTMLWINDOW2_CLEARTIMEOUT)] + HRESULT clearTimeout([in] LONG timerID); + + [id(DISPID_IHTMLWINDOW2_ALERT)] + HRESULT alert([defaultvalue(""), in] BSTR message); + + [id(DISPID_IHTMLWINDOW2_CONFIRM)] + HRESULT confirm( + [defaultvalue(""), in] BSTR message, + [retval, out] VARIANT_BOOL *confirmed); + + [id(DISPID_IHTMLWINDOW2_PROMPT)] + HRESULT prompt( + [defaultvalue(""), in] BSTR message, + [defaultvalue("undefined"), in] BSTR defstr, + [retval, out] VARIANT *textdata); + + [propget, id(DISPID_IHTMLWINDOW2_IMAGE)] + HRESULT Image([retval, out] IHTMLImageElementFactory **p); + + [propget, id(DISPID_IHTMLWINDOW2_LOCATION)] + HRESULT location([retval, out] IHTMLLocation **p); + + [propget, id(DISPID_IHTMLWINDOW2_HISTORY)] + HRESULT history([retval, out] IOmHistory **p); + + [id(DISPID_IHTMLWINDOW2_CLOSE)] + HRESULT close(); + + [propput, id(DISPID_IHTMLWINDOW2_OPENER)] + HRESULT opener([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_OPENER)] + HRESULT opener([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLWINDOW2_NAVIGATOR)] + HRESULT navigator([retval, out] IOmNavigator **p); + + [propput, id(DISPID_IHTMLWINDOW2_NAME)] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_NAME)] + HRESULT name([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLWINDOW2_PARENT)] + HRESULT parent([retval, out] IHTMLWindow2 **p); + + [id(DISPID_IHTMLWINDOW2_OPEN)] + HRESULT open( + [defaultvalue(""), in] BSTR url, + [defaultvalue(""), in] BSTR name, + [defaultvalue(""), in] BSTR features, + [defaultvalue(0), in] VARIANT_BOOL replace, + [retval, out] IHTMLWindow2 **pomWindowResult); + + [propget, id(DISPID_IHTMLWINDOW2_SELF)] + HRESULT self([retval, out] IHTMLWindow2 **p); + + [propget, id(DISPID_IHTMLWINDOW2_TOP)] + HRESULT top([retval, out] IHTMLWindow2 **p); + + [propget, id(DISPID_IHTMLWINDOW2_WINDOW)] + HRESULT window([retval, out] IHTMLWindow2 **p); + + [id(DISPID_IHTMLWINDOW2_NAVIGATE)] + HRESULT navigate([in] BSTR url); + + [propput, id(DISPID_IHTMLWINDOW2_ONFOCUS)] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONFOCUS)] + HRESULT onfocus([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONBLUR)] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONBLUR)] + HRESULT onblur([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONLOAD)] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONLOAD)] + HRESULT onload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD)] + HRESULT onbeforeunload([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD)] + HRESULT onbeforeunload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONUNLOAD)] + HRESULT onunload([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONUNLOAD)] + HRESULT onunload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONHELP)] + HRESULT onhelp([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONHELP)] + HRESULT onhelp([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONERROR)] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONERROR)] + HRESULT onerror([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONRESIZE)] + HRESULT onresize([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONRESIZE)] + HRESULT onresize([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW2_ONSCROLL)] + HRESULT onscroll([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONSCROLL)] + HRESULT onscroll([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLWINDOW2_DOCUMENT)] + HRESULT document([retval, out] IHTMLDocument2 **p); + + [propget, id(DISPID_IHTMLWINDOW2_EVENT)] + HRESULT event([retval, out] IHTMLEventObj **p); + + [propget, id(DISPID_IHTMLWINDOW2__NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **p); + + [id(DISPID_IHTMLWINDOW2_SHOWMODALDIALOG)] + HRESULT showModalDialog( + [in] BSTR dialog, + [optional, in] VARIANT *varArgIn, + [optional, in] VARIANT *varOptions, + [retval, out] VARIANT *varArgOut); + + [id(DISPID_IHTMLWINDOW2_SHOWHELP)] + HRESULT showHelp( + [in] BSTR helpURL, + [optional, in] VARIANT helpArg, + [defaultvalue(""), in] BSTR features); + + [propget, id(DISPID_IHTMLWINDOW2_SCREEN)] + HRESULT screen([retval, out] IHTMLScreen **p); + + [propget, id(DISPID_IHTMLWINDOW2_OPTION)] + HRESULT Option([retval, out] IHTMLOptionElementFactory **p); + + [id(DISPID_IHTMLWINDOW2_FOCUS)] + HRESULT focus(); + + [propget, id(DISPID_IHTMLWINDOW2_CLOSED)] + HRESULT closed([retval, out] VARIANT_BOOL *p); + + [id(DISPID_IHTMLWINDOW2_BLUR)] + HRESULT blur(); + + [id(DISPID_IHTMLWINDOW2_SCROLL)] + HRESULT scroll([in] LONG x, [in] LONG y); + + [propget, id(DISPID_IHTMLWINDOW2_CLIENTINFORMATION)] + HRESULT clientInformation([retval, out] IOmNavigator **p); + + [id(DISPID_IHTMLWINDOW2_SETINTERVAL)] + HRESULT setInterval([ + in] BSTR expression, + [in] LONG msec, + [optional, in] VARIANT *language, + [retval, out] LONG *timerID); + + [id(DISPID_IHTMLWINDOW2_CLEARINTERVAL)] + HRESULT clearInterval([in] LONG timerID); + + [propput, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] + HRESULT offscreenBuffering([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] + HRESULT offscreenBuffering([retval, out] VARIANT *p); + + [id(DISPID_IHTMLWINDOW2_EXECSCRIPT)] + HRESULT execScript( + [in] BSTR scode, + [defaultvalue("JScript"), in] BSTR language, + [retval, out] VARIANT *pvarRet); + + [id(DISPID_IHTMLWINDOW2_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); + + [id(DISPID_IHTMLWINDOW2_SCROLLBY)] + HRESULT scrollBy([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_SCROLLTO)] + HRESULT scrollTo([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_MOVETO)] + HRESULT moveTo([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_MOVEBY)] + HRESULT moveBy([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_RESIZETO)] + HRESULT resizeTo([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_RESIZEBY)] + HRESULT resizeBy([in] LONG x, [in] LONG y); + + [propget, id(DISPID_IHTMLWINDOW2_EXTERNAL)] + HRESULT external([retval, out] IDispatch **p); +} + +/***************************************************************************** + * IHTMLWindow3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4ae-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLWindow3 : IDispatch +{ + [propget, id(DISPID_IHTMLWINDOW3_SCREENLEFT)] + HRESULT screenLeft([out, retval] LONG *p); + + [propget, id(DISPID_IHTMLWINDOW3_SCREENTOP)] + HRESULT screenTop([out, retval] LONG *p); + + [id(DISPID_IHTMLWINDOW3_ATTACHEVENT)] + HRESULT attachEvent( + [in] BSTR event, + [in] IDispatch *pDisp, + [out, retval] VARIANT_BOOL *pfResult); + + [id(DISPID_IHTMLWINDOW3_DETACHEVENT)] + HRESULT detachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [id(DISPID_IHTMLWINDOW3_SETTIMEOUT)] + HRESULT setTimeout( + [in] VARIANT *expression, + [in] LONG msec, + [in, optional] VARIANT *language, + [out, retval] LONG *timerID); + + [id(DISPID_IHTMLWINDOW3_SETINTERVAL)] + HRESULT setInterval( + [in] VARIANT *expression, + [in] LONG msec, + [in, optional] VARIANT *language, + [out, retval] LONG *timerID); + + [id(DISPID_IHTMLWINDOW3_PRINT)] + HRESULT print(); + + [propput, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] + HRESULT onbeforeprint([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] + HRESULT onbeforeprint([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] + HRESULT onafterprint([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] + HRESULT onafterprint([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLWINDOW3_CLIPBOARDDATA)] + HRESULT clipboardData([out, retval] IHTMLDataTransfer **p); + + [id(DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG)] + HRESULT showModelessDialog( + [in, defaultvalue("")] BSTR url, + [in, optional] VARIANT *varArgIn, + [in, optional] VARIANT *options, + [out, retval] IHTMLWindow2 **pDialog); +} + +/***************************************************************************** + * IHTMLWindow4 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f6cf-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLWindow4 : IDispatch +{ + [id(DISPID_IHTMLWINDOW4_CREATEPOPUP)] + HRESULT createPopup([optional, in] VARIANT* varArgIn, + [retval, out] IDispatch** ppPopup); + + [propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)] + HRESULT frameElement([retval, out] IHTMLFrameBase* * p); +} + +/***************************************************************************** + * IHTMLWindow5 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051040e-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLWindow5 : IDispatch +{ + [propput, id(DISPID_IHTMLWINDOW5_XMLHTTPREQUEST)] + HRESULT XMLHttpRequest([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW5_XMLHTTPREQUEST)] + HRESULT XMLHttpRequest([retval, out] VARIANT * p); +} + +/***************************************************************************** + * IHTMLWindow6 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510453-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLWindow6 : IDispatch +{ + [propput, id(DISPID_IHTMLWINDOW6_XDOMAINREQUEST)] + HRESULT XDomainRequest([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_XDOMAINREQUEST)] + HRESULT XDomainRequest([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLWINDOW6_SESSIONSTORAGE)] + HRESULT sessionStorage([out, retval] IHTMLStorage **p); + + [propget, id(DISPID_IHTMLWINDOW6_LOCALSTORAGE)] + HRESULT localStorage([out, retval] IHTMLStorage **p); + + [propput, id(DISPID_IHTMLWINDOW6_ONHASHCHANGE), displaybind, bindable] + HRESULT onhashchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_ONHASHCHANGE), displaybind, bindable] + HRESULT onhashchange([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER)] + HRESULT maxConnectionsPerServer([out, retval] long *p); + + [id(DISPID_IHTMLWINDOW6_POSTMESSAGE)] + HRESULT postMessage( + [in] BSTR msg, + [in, optional] VARIANT targetOrigin); + + [id(DISPID_IHTMLWINDOW6_TOSTATICHTML)] + HRESULT toStaticHTML( + [in] BSTR bstrHTML, + [out, retval] BSTR *pbstrStaticHTML); + + [propput, id(DISPID_IHTMLWINDOW6_ONMESSAGE), displaybind, bindable] + HRESULT onmessage([in] VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_ONMESSAGE), displaybind, bindable] + HRESULT onmessage([out, retval] VARIANT *p); + + [id(DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK)] + HRESULT msWriteProfilerMark([in] BSTR bstrProfilerMarkName); +} + +/***************************************************************************** + * DispHTMLScreen dispinterface + */ +[ + hidden, + uuid(3050f591-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLScreen +{ +properties: +methods: + [propget, id(DISPID_IHTMLSCREEN_COLORDEPTH)] + long colorDepth(); + + [propput, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] + void bufferDepth(long v); + + [propget, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] + long bufferDepth(); + + [propget, id(DISPID_IHTMLSCREEN_WIDTH)] + long width(); + + [propget, id(DISPID_IHTMLSCREEN_HEIGHT)] + long height(); + + [propput, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] + void updateInterval(long v); + + [propget, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] + long updateInterval(); + + [propget, id(DISPID_IHTMLSCREEN_AVAILHEIGHT)] + long availHeight(); + + [propget, id(DISPID_IHTMLSCREEN_AVAILWIDTH)] + long availWidth(); + + [propget, id(DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED)] + VARIANT_BOOL fontSmoothingEnabled(); + + [propget, id(DISPID_IHTMLSCREEN2_LOGICALXDPI)] + long logicalXDPI(); + + [propget, id(DISPID_IHTMLSCREEN2_LOGICALYDPI)] + long logicalYDPI(); + + [propget, id(DISPID_IHTMLSCREEN2_DEVICEXDPI)] + long deviceXDPI(); + + [propget, id(DISPID_IHTMLSCREEN2_DEVICEYDPI)] + long deviceYDPI(); + + [propget, id(DISPID_IHTMLSCREEN3_SYSTEMXDPI)] + long systemXDPI(); + + [propget, id(DISPID_IHTMLSCREEN3_SYSTEMYDPI)] + long systemYDPI(); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + +/***************************************************************************** + * DispHTMLWindow2 dispinterface + */ +[ + hidden, + uuid(3050f55d-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLWindow2 +{ +properties: +methods: + [id(DISPID_IHTMLFRAMESCOLLECTION2_ITEM)] + VARIANT item([in] VARIANT *pvarIndex); + + [propget, id(DISPID_IHTMLFRAMESCOLLECTION2_LENGTH)] + LONG length(); + + [propget, id(DISPID_IHTMLWINDOW2_FRAMES)] + IHTMLFramesCollection2 *frames(); + + [propput, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] + void defaultStatus(BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] + BSTR defaultStatus(); + + [propput, id(DISPID_IHTMLWINDOW2_STATUS)] + void status(BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_STATUS)] + BSTR status(); + + [id(DISPID_IHTMLWINDOW2_CLEARTIMEOUT)] + void clearTimeout([in] LONG timerID); + + [id(DISPID_IHTMLWINDOW2_ALERT)] + void alert([in, defaultvalue("")] BSTR message); + + [id(DISPID_IHTMLWINDOW2_CONFIRM)] + VARIANT_BOOL confirm([in, defaultvalue("")] BSTR message); + + [id(DISPID_IHTMLWINDOW2_PROMPT)] + VARIANT prompt( + [in, defaultvalue("")] BSTR message, + [in, defaultvalue("undefined")] BSTR defstr); + + [propget, id(DISPID_IHTMLWINDOW2_IMAGE)] + IHTMLImageElementFactory *Image(); + + [propget, id(DISPID_IHTMLWINDOW2_LOCATION)] + IHTMLLocation *location(); + + [propget, id(DISPID_IHTMLWINDOW2_HISTORY)] + IOmHistory *history(); + + [id(DISPID_IHTMLWINDOW2_CLOSE)] + void close(); + + [propput, id(DISPID_IHTMLWINDOW2_OPENER)] + void opener(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_OPENER)] + VARIANT opener(); + + [propget, id(DISPID_IHTMLWINDOW2_NAVIGATOR)] + IOmNavigator *navigator(); + + [propput, id(DISPID_IHTMLWINDOW2_NAME)] + void name(BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_NAME)] + BSTR name(); + + [propget, id(DISPID_IHTMLWINDOW2_PARENT)] + IHTMLWindow2 *parent(); + + [id(DISPID_IHTMLWINDOW2_OPEN)] + IHTMLWindow2 *open( + [in, defaultvalue("")] BSTR url, + [in, defaultvalue("")] BSTR name, + [in, defaultvalue("")] BSTR features, + [in, defaultvalue(0)] VARIANT_BOOL replace); + + [propget, id(DISPID_IHTMLWINDOW2_SELF)] + IHTMLWindow2 *self(); + + [propget, id(DISPID_IHTMLWINDOW2_TOP)] + IHTMLWindow2 *top(); + + [propget, id(DISPID_IHTMLWINDOW2_WINDOW)] + IHTMLWindow2 *window(); + + [id(DISPID_IHTMLWINDOW2_NAVIGATE)] + void navigate([in] BSTR url); + + [propput, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] + void onfocus(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] + VARIANT onfocus(); + + [propput, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] + void onblur(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] + VARIANT onblur(); + + [propget, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] + void onbeforeunload(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] + VARIANT onbeforeunload(); + + [propput, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] + void onunload(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] + VARIANT onunload(); + + [propput, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] + void onhelp(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] + VARIANT onhelp(); + + [propput, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propput, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] + void onresize(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] + VARIANT onresize(); + + [propput, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] + void onscroll(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] + VARIANT onscroll(); + + [propget, id(DISPID_IHTMLWINDOW2_DOCUMENT), source] + IHTMLDocument2 *document(); + + [propget, id(DISPID_IHTMLWINDOW2_EVENT)] + IHTMLEventObj *event(); + + [propget, id(DISPID_IHTMLWINDOW2__NEWENUM), hidden, restricted] + IUnknown *_newEnum(); + + [id(DISPID_IHTMLWINDOW2_SHOWMODALDIALOG)] + VARIANT showModalDialog( + [in] BSTR dialog, + [in, optional] VARIANT *varArgIn, + [in, optional] VARIANT *varOptions); + + [id(DISPID_IHTMLWINDOW2_SHOWHELP)] + void showHelp( + [in] BSTR helpURL, + [in, optional] VARIANT helpArg, + [in, defaultvalue("")] BSTR features); + + [propget, id(DISPID_IHTMLWINDOW2_SCREEN)] + IHTMLScreen *screen(); + + [propget, id(DISPID_IHTMLWINDOW2_OPTION)] + IHTMLOptionElementFactory *Option(); + + [id(DISPID_IHTMLWINDOW2_FOCUS)] + void focus(); + + [propget, id(DISPID_IHTMLWINDOW2_CLOSED)] + VARIANT_BOOL closed(); + + [id(DISPID_IHTMLWINDOW2_BLUR)] + void blur(); + + [id(DISPID_IHTMLWINDOW2_SCROLL)] + void scroll([in] LONG x, [in] LONG y); + + [propget, id(DISPID_IHTMLWINDOW2_CLIENTINFORMATION)] + IOmNavigator *clientInformation(); + + [id(DISPID_IHTMLWINDOW2_CLEARINTERVAL)] + void clearInterval([in] LONG timerID); + + [propput, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] + void offscreenBuffering(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] + VARIANT offscreenBuffering(); + + [id(DISPID_IHTMLWINDOW2_EXECSCRIPT)] + VARIANT execScript( + [in] BSTR _code, + [in, defaultvalue("JScript")] BSTR language); + + [id(DISPID_IHTMLWINDOW2_TOSTRING)] + BSTR toString(); + + [id(DISPID_IHTMLWINDOW2_SCROLLBY)] + void scrollBy([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_SCROLLTO)] + void scrollTo([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_MOVETO)] + void moveTo([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_MOVEBY)] + void moveBy([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_RESIZETO)] + void resizeTo([in] LONG x, [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_RESIZEBY)] + void resizeBy([in] LONG x, [in] LONG y); + + [propget, id(DISPID_IHTMLWINDOW2_EXTERNAL)] + IDispatch *external(); + + [propget, id(DISPID_IHTMLWINDOW3_SCREENLEFT)] + LONG screenLeft(); + + [propget, id(DISPID_IHTMLWINDOW3_SCREENTOP)] + LONG screenTop(); + + [id(DISPID_IHTMLWINDOW3_ATTACHEVENT)] + VARIANT_BOOL attachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [id(DISPID_IHTMLWINDOW3_DETACHEVENT)] + void detachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [id(DISPID_IHTMLWINDOW3_SETTIMEOUT)] + LONG setTimeout( + [in] VARIANT *expression, + [in] LONG msec, + [in, optional] VARIANT *language); + + [id(DISPID_IHTMLWINDOW3_SETINTERVAL)] + LONG setInterval( + [in] VARIANT *expression, + [in] LONG msec, + [in, optional] VARIANT *language); + + [id(DISPID_IHTMLWINDOW3_PRINT)] + void print(); + + [propput, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] + void onbeforeprint(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] + VARIANT onbeforeprint(); + + [propput, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] + void onafterprint(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] + VARIANT onafterprint(); + + [propget, id(DISPID_IHTMLWINDOW3_CLIPBOARDDATA)] + IHTMLDataTransfer *clipboardData(); + + [id(DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG)] + IHTMLWindow2 *showModelessDialog( + [in, defaultvalue("")] BSTR url, + [in, optional] VARIANT *varArgIn, + [in, optional] VARIANT *options); + + [id(DISPID_IHTMLWINDOW4_CREATEPOPUP)] + IDispatch *createPopup([in, optional] VARIANT *varArgIn); + + [propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)] + IHTMLFrameBase *frameElement(); + + [propget, id(DISPID_IHTMLWINDOW6_SESSIONSTORAGE)] + IHTMLStorage *sessionStorage(); + + [propget, id(DISPID_IHTMLWINDOW6_LOCALSTORAGE)] + IHTMLStorage *localStorage(); + + [propput, id(DISPID_IHTMLWINDOW6_ONHASHCHANGE), displaybind, bindable] + void onhashchange(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_ONHASHCHANGE), displaybind, bindable] + VARIANT onhashchange(); + + [propget, id(DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER)] + long maxConnectionsPerServer(); + + [id(DISPID_IHTMLWINDOW6_POSTMESSAGE)] + void postMessage( + [in] BSTR msg, + [in, optional] VARIANT targetOrigin); + + [id(DISPID_IHTMLWINDOW6_TOSTATICHTML)] + BSTR toStaticHTML([in] BSTR bstrHTML); + + [propput, id(DISPID_IHTMLWINDOW6_ONMESSAGE), displaybind, bindable] + void onmessage(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_ONMESSAGE), displaybind, bindable] + VARIANT onmessage(); + + [id(DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK)] + void msWriteProfilerMark([in] BSTR bstrProfilerMarkName); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +/***************************************************************************** + * HTMLWindow2 coclass + */ +[ + noncreatable, + uuid(d48a6ec6-6a4a-11cf-94a7-444553540000) +] +coclass HTMLWindow2 +{ + [default] dispinterface DispHTMLWindow2; + [source, default] dispinterface HTMLWindowEvents; + [source] dispinterface HTMLWindowEvents2; + /* [source] dispinterface HTMLWindowEvents3; */ + interface IHTMLWindow2; + interface IHTMLWindow3; + interface IHTMLWindow4; + interface IHTMLWindow5; + interface IHTMLWindow6; + /* interface IHTMLWindow7; */ + /* interface IHTMLWindow8; */ + interface IHTMLDOMConstructor; + interface IEventTarget; +} + +/***************************************************************************** + * DispHTMLWindowProxy dispinterface + */ +[ + hidden, + uuid(3050f55e-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLWindowProxy +{ +properties: +methods: + [id(DISPID_IHTMLFRAMESCOLLECTION2_ITEM)] + VARIANT item([in] VARIANT* pvarIndex); + + [propget, id(DISPID_IHTMLFRAMESCOLLECTION2_LENGTH)] + LONG length(); + + [propget, id(DISPID_IHTMLWINDOW2_FRAMES)] + IHTMLFramesCollection2* frames(); + + [propput, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] + void defaultStatus(BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] + BSTR defaultStatus(); + + [propput, id(DISPID_IHTMLWINDOW2_STATUS)] + void status(BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_STATUS)] + BSTR status(); + + [id(DISPID_IHTMLWINDOW2_CLEARTIMEOUT)] + void clearTimeout([in] LONG timerID); + + [id(DISPID_IHTMLWINDOW2_ALERT)] + void alert([defaultvalue(""), in] BSTR message); + + [id(DISPID_IHTMLWINDOW2_CONFIRM)] + VARIANT_BOOL confirm([defaultvalue(""), in] BSTR message); + + [id(DISPID_IHTMLWINDOW2_PROMPT)] + VARIANT prompt([defaultvalue(""), in] BSTR message, + [defaultvalue("undefined"), in] BSTR defstr); + + [propget, id(DISPID_IHTMLWINDOW2_IMAGE)] + IHTMLImageElementFactory* Image(); + + [propget, id(DISPID_IHTMLWINDOW2_LOCATION)] + IHTMLLocation* location(); + + [propget, id(DISPID_IHTMLWINDOW2_HISTORY)] + IOmHistory* history(); + + [id(DISPID_IHTMLWINDOW2_CLOSE)] + void close(); + + [propput, id(DISPID_IHTMLWINDOW2_OPENER)] + void opener(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_OPENER)] + VARIANT opener(); + + [propget, id(DISPID_IHTMLWINDOW2_NAVIGATOR)] + IOmNavigator* navigator(); + + [propput, id(DISPID_IHTMLWINDOW2_NAME)] + void name(BSTR v); + + [propget, id(DISPID_IHTMLWINDOW2_NAME)] + BSTR name(); + + [propget, id(DISPID_IHTMLWINDOW2_PARENT)] + IHTMLWindow2* parent(); + + [id(DISPID_IHTMLWINDOW2_OPEN)] + IHTMLWindow2* open([defaultvalue(""), in] BSTR url, + [defaultvalue(""), in] BSTR name, + [defaultvalue(""), in] BSTR features, + [defaultvalue(0), in] VARIANT_BOOL replace); + + [propget, id(DISPID_IHTMLWINDOW2_SELF)] + IHTMLWindow2* self(); + + [propget, id(DISPID_IHTMLWINDOW2_TOP)] + IHTMLWindow2* top(); + + [propget, id(DISPID_IHTMLWINDOW2_WINDOW)] + IHTMLWindow2* window(); + + [id(DISPID_IHTMLWINDOW2_NAVIGATE)] + void navigate([in] BSTR url); + + [propput, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] + void onfocus(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] + VARIANT onfocus(); + + [propput, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] + void onblur(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] + VARIANT onblur(); + + [propput, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] + void onload(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] + void onbeforeunload(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] + VARIANT onbeforeunload(); + + [propput, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] + void onunload(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] + VARIANT onunload(); + + [propput, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] + void onhelp(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] + VARIANT onhelp(); + + [propput, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propput, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] + void onresize(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] + VARIANT onresize(); + + [propput, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] + void onscroll(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] + VARIANT onscroll(); + + [propget, id(DISPID_IHTMLWINDOW2_DOCUMENT), source] + IHTMLDocument2* document(); + + [propget, id(DISPID_IHTMLWINDOW2_EVENT)] + IHTMLEventObj* event(); + + [propget, id(DISPID_IHTMLWINDOW2__NEWENUM), hidden, restricted] + IUnknown* _newEnum(); + + [id(DISPID_IHTMLWINDOW2_SHOWMODALDIALOG)] + VARIANT showModalDialog([in] BSTR dialog, + [optional, in] VARIANT* varArgIn, + [optional, in] VARIANT* varOptions); + + [id(DISPID_IHTMLWINDOW2_SHOWHELP)] + void showHelp([in] BSTR helpURL, + [optional, in] VARIANT helpArg, + [defaultvalue(""), in] BSTR features); + + [propget, id(DISPID_IHTMLWINDOW2_SCREEN)] + IHTMLScreen* screen(); + + [propget, id(DISPID_IHTMLWINDOW2_OPTION)] + IHTMLOptionElementFactory* Option(); + + [id(DISPID_IHTMLWINDOW2_FOCUS)] + void focus(); + + [propget, id(DISPID_IHTMLWINDOW2_CLOSED)] + VARIANT_BOOL closed(); + + [id(DISPID_IHTMLWINDOW2_BLUR)] + void blur(); + + [id(DISPID_IHTMLWINDOW2_SCROLL)] + void scroll([in] LONG x, + [in] LONG y); + + [propget, id(DISPID_IHTMLWINDOW2_CLIENTINFORMATION)] + IOmNavigator* clientInformation(); + + [id(DISPID_IHTMLWINDOW2_CLEARINTERVAL)] + void clearInterval([in] LONG timerID); + + [propput, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] + void offscreenBuffering(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] + VARIANT offscreenBuffering(); + + [id(DISPID_IHTMLWINDOW2_EXECSCRIPT)] + VARIANT execScript([in] BSTR code, + [defaultvalue("JScript"), in] BSTR language); + + [id(DISPID_IHTMLWINDOW2_TOSTRING)] + BSTR toString(); + + [id(DISPID_IHTMLWINDOW2_SCROLLBY)] + void scrollBy([in] LONG x, + [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_SCROLLTO)] + void scrollTo([in] LONG x, + [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_MOVETO)] + void moveTo([in] LONG x, + [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_MOVEBY)] + void moveBy([in] LONG x, + [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_RESIZETO)] + void resizeTo([in] LONG x, + [in] LONG y); + + [id(DISPID_IHTMLWINDOW2_RESIZEBY)] + void resizeBy([in] LONG x, + [in] LONG y); + + [propget, id(DISPID_IHTMLWINDOW2_EXTERNAL)] + IDispatch* external(); + + [propget, id(DISPID_IHTMLWINDOW3_SCREENLEFT)] + LONG screenLeft(); + + [propget, id(DISPID_IHTMLWINDOW3_SCREENTOP)] + LONG screenTop(); + + [id(DISPID_IHTMLWINDOW3_ATTACHEVENT)] + VARIANT_BOOL attachEvent([in] BSTR event, + [in] IDispatch* pDisp); + + [id(DISPID_IHTMLWINDOW3_DETACHEVENT)] + void detachEvent([in] BSTR event, + [in] IDispatch* pDisp); + + [id(DISPID_IHTMLWINDOW3_SETTIMEOUT)] + LONG setTimeout([in] VARIANT* expression, + [in] LONG msec, + [optional, in] VARIANT* language); + + [id(DISPID_IHTMLWINDOW3_SETINTERVAL)] + LONG setInterval([in] VARIANT* expression, + [in] LONG msec, + [optional, in] VARIANT* language); + + [id(DISPID_IHTMLWINDOW3_PRINT)] + void print(); + + [propput, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] + void onbeforeprint(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] + VARIANT onbeforeprint(); + + [propput, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] + void onafterprint(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] + VARIANT onafterprint(); + + [propget, id(DISPID_IHTMLWINDOW3_CLIPBOARDDATA)] + IHTMLDataTransfer* clipboardData(); + + [id(DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG)] + IHTMLWindow2* showModelessDialog([defaultvalue(""), in] BSTR url, + [optional, in] VARIANT* varArgIn, + [optional, in] VARIANT* options); + + [id(DISPID_IHTMLWINDOW4_CREATEPOPUP)] + IDispatch* createPopup([optional, in] VARIANT* varArgIn); + + [propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)] + IHTMLFrameBase* frameElement(); + + [propput, id(DISPID_IHTMLWINDOW5_XMLHTTPREQUEST)] + void XMLHttpRequest(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW5_XMLHTTPREQUEST)] + VARIANT XMLHttpRequest(); + + [propget, id(DISPID_IHTMLWINDOW6_SESSIONSTORAGE)] + IHTMLStorage *sessionStorage(); + + [propget, id(DISPID_IHTMLWINDOW6_LOCALSTORAGE)] + IHTMLStorage *localStorage(); + + [propput, id(DISPID_IHTMLWINDOW6_ONHASHCHANGE), displaybind, bindable] + void onhashchange(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_ONHASHCHANGE), displaybind, bindable] + VARIANT onhashchange(); + + [propget, id(DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER)] + long maxConnectionsPerServer(); + + [id(DISPID_IHTMLWINDOW6_POSTMESSAGE)] + void postMessage( + [in] BSTR msg, + [in, optional] VARIANT targetOrigin); + + [id(DISPID_IHTMLWINDOW6_TOSTATICHTML)] + BSTR toStaticHTML([in] BSTR bstrHTML); + + [propput, id(DISPID_IHTMLWINDOW6_ONMESSAGE), displaybind, bindable] + void onmessage(VARIANT v); + + [propget, id(DISPID_IHTMLWINDOW6_ONMESSAGE), displaybind, bindable] + VARIANT onmessage(); + + [id(DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK)] + void msWriteProfilerMark([in] BSTR bstrProfilerMarkName); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + +/***************************************************************************** + * HTMLWindowEvents interface + */ +[ + hidden, + uuid(96A0A4E0-D062-11cf-94B6-00AA0060275C) +] +dispinterface HTMLWindowEvents +{ +properties: +methods: + [id(DISPID_HTMLWINDOWEVENTS_ONLOAD)] + void onload(); + + [id(DISPID_HTMLWINDOWEVENTS_ONUNLOAD)] + void onunload(); + + [id(DISPID_HTMLWINDOWEVENTS_ONHELP)] + VARIANT_BOOL onhelp(); + + [id(DISPID_HTMLWINDOWEVENTS_ONFOCUS)] + void onfocus(); + + [id(DISPID_HTMLWINDOWEVENTS_ONBLUR)] + void onblur(); + + [id(DISPID_HTMLWINDOWEVENTS_ONERROR)] + void onerror([in] BSTR description, + [in] BSTR url, + [in] LONG line); + + [id(DISPID_HTMLWINDOWEVENTS_ONRESIZE)] + void onresize(); + + [id(DISPID_HTMLWINDOWEVENTS_ONSCROLL)] + void onscroll(); + + [id(DISPID_HTMLWINDOWEVENTS_ONBEFOREUNLOAD)] + void onbeforeunload(); + + [id(DISPID_HTMLWINDOWEVENTS_ONBEFOREPRINT)] + void onbeforeprint(); + + [id(DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT)] + void onafterprint(); +} + +/***************************************************************************** + * HTMLWindowEvents2 interface + */ +[ + hidden, + uuid(3050f625-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLWindowEvents2 +{ +properties: +methods: + [id(DISPID_HTMLWINDOWEVENTS2_ONLOAD)] + void onload([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONUNLOAD)] + void onunload([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONHELP)] + VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONFOCUS)] + void onfocus([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONBLUR)] + void onblur([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONERROR)] + void onerror([in] BSTR description, + [in] BSTR url, + [in] LONG line); + + [id(DISPID_HTMLWINDOWEVENTS2_ONRESIZE)] + void onresize([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONSCROLL)] + void onscroll([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONBEFOREUNLOAD)] + void onbeforeunload([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONBEFOREPRINT)] + void onbeforeprint([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT)] + void onafterprint([in] IHTMLEventObj* pEvtObj); +} + +/***************************************************************************** + * HTMLWindowProxy class + */ +[ + uuid(3050f391-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLWindowProxy +{ + [default] dispinterface DispHTMLWindowProxy; + [source, default] dispinterface HTMLWindowEvents; + [source] dispinterface HTMLWindowEvents2; + interface IHTMLWindow2; + interface IHTMLWindow3; + interface IHTMLWindow4; + interface IHTMLWindow5; +} + +/***************************************************************************** + * HTMLDocumentEvents2 interface + */ +[ + hidden, + uuid(3050f613-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLDocumentEvents2 +{ + properties: + methods: + [id(DISPID_HTMLDOCUMENTEVENTS2_ONHELP)] + VARIANT_BOOL onhelp([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONCLICK)] + VARIANT_BOOL onclick([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK)] + VARIANT_BOOL ondblclick([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN)] + void onkeydown([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP)] + void onkeyup([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS)] + VARIANT_BOOL onkeypress([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN)] + void onmousedown([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE)] + void onmousemove([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP)] + void onmouseup([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT)] + void onmouseout([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER)] + void onmouseover([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE)] + void onreadystatechange([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE)] + void onafterupdate([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT)] + VARIANT_BOOL onrowexit([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER)] + void onrowenter([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART)] + VARIANT_BOOL ondragstart([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART)] + VARIANT_BOOL onselectstart([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONSTOP)] + VARIANT_BOOL onstop([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE)] + void onrowsdelete([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED)] + void onrowsinserted([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE)] + void oncellchange([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE)] + void onpropertychange([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED)] + void ondatasetchanged([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE)] + void ondataavailable([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE)] + void ondatasetcomplete([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS)] + void onbeforeeditfocus([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE)] + void onselectionchange([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN)] + void onfocusin([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT)] + void onfocusout([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONACTIVATE)] + void onactivate([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONDEACTIVATE)] + void ondeactivate([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj *pEvtObj); + + [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj *pEvtObj); +} + +/***************************************************************************** + * HTMLDocumentEvents interface + */ +[ + hidden, + uuid(3050f260-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLDocumentEvents +{ + properties: + methods: + [id(DISPID_HTMLDOCUMENTEVENTS_ONHELP)] + VARIANT_BOOL onhelp(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONCLICK)] + VARIANT_BOOL onclick(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK)] + VARIANT_BOOL ondblclick(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN)] + void onkeydown(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONKEYUP)] + void onkeyup(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS)] + VARIANT_BOOL onkeypress(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN)] + void onmousedown(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE)] + void onmousemove(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP)] + void onmouseup(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT)] + void onmouseout(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER)] + void onmouseover(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE)] + void onreadystatechange(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONAFTERUPDATE)] + void onafterupdate(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONROWEXIT)] + VARIANT_BOOL onrowexit(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONROWENTER)] + void onrowenter(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART)] + VARIANT_BOOL ondragstart(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONSELECTSTART)] + VARIANT_BOOL onselectstart(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONSTOP)] + VARIANT_BOOL onstop(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONROWSDELETE)] + void onrowsdelete(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONROWSINSERTED)] + void onrowsinserted(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONCELLCHANGE)] + void oncellchange(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONPROPERTYCHANGE)] + void onpropertychange(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONDATASETCHANGED)] + void ondatasetchanged(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONDATAAVAILABLE)] + void ondataavailable(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONDATASETCOMPLETE)] + void ondatasetcomplete(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREEDITFOCUS)] + void onbeforeeditfocus(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONSELECTIONCHANGE)] + void onselectionchange(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONFOCUSIN)] + void onfocusin(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONFOCUSOUT)] + void onfocusout(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONACTIVATE)] + void onactivate(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONDEACTIVATE)] + void ondeactivate(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate(); + + [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate(); +} + +/***************************************************************************** + * HTMLTextContainerEvents interface + */ +[ + hidden, + uuid(1ff6aa72-5842-11cf-a707-00aa00c0098d) +] +dispinterface HTMLTextContainerEvents +{ +properties: + +methods: + [id(DISPID_HTMLELEMENTEVENTS_ONHELP)] + VARIANT_BOOL onhelp(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCLICK)] + VARIANT_BOOL onclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDBLCLICK)] + VARIANT_BOOL ondblclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYPRESS)] + VARIANT_BOOL onkeypress(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYDOWN)] + void onkeydown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYUP)] + void onkeyup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT)] + void onmouseout(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER)] + void onmouseover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE)] + void onmousemove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN)] + void onmousedown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEUP)] + void onmouseup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSELECTSTART)] + VARIANT_BOOL onselectstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE)] + void onfilterchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGSTART)] + VARIANT_BOOL ondragstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE)] + void onafterupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWEXIT)] + VARIANT_BOOL onrowexit(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWENTER)] + void onrowenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED)] + void ondatasetchanged(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE)] + void ondataavailable(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE)] + void ondatasetcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE)] + void onlosecapture(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE)] + void onpropertychange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSCROLL)] + void onscroll(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUS)] + void onfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBLUR)] + void onblur(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZE)] + void onresize(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAG)] + VARIANT_BOOL ondrag(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGEND)] + void ondragend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGENTER)] + VARIANT_BOOL ondragenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGOVER)] + VARIANT_BOOL ondragover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE)] + void ondragleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDROP)] + VARIANT_BOOL ondrop(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECUT)] + VARIANT_BOOL onbeforecut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCUT)] + VARIANT_BOOL oncut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCOPY)] + VARIANT_BOOL oncopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPASTE)] + VARIANT_BOOL onpaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSDELETE)] + void onrowsdelete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED)] + void onrowsinserted(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE)] + void oncellchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE)] + void onreadystatechange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS)] + void onbeforeeditfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE)] + void onlayoutcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPAGE)] + void onpage(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVE)] + void onmove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVESTART)] + VARIANT_BOOL onmovestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVEEND)] + void onmoveend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZESTART)] + VARIANT_BOOL onresizestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZEEND)] + void onresizeend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER)] + void onmouseenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE)] + void onmouseleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel(); + + [id(DISPID_HTMLELEMENTEVENTS_ONACTIVATE)] + void onactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE)] + void ondeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSIN)] + void onfocusin(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT)] + void onfocusout(); + + [id(DISPID_HTMLTEXTCONTAINEREVENTS_ONCHANGE)] + void onchange(); + + [id(DISPID_HTMLTEXTCONTAINEREVENTS_ONSELECT)] + void onselect(); +} + +/***************************************************************************** + * HTMLTextContainerEvents2 interface + */ +[ + hidden, + uuid(3050f624-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLTextContainerEvents2 +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS2_ONHELP)] + VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)] + VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)] + VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)] + VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)] + void onkeydown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)] + void onkeyup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)] + void onmouseout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)] + void onmouseover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)] + void onmousemove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)] + void onmousedown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)] + void onmouseup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)] + VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)] + void onfilterchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)] + VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)] + void onafterupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)] + VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)] + void onrowenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)] + void ondatasetchanged([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)] + void ondataavailable([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)] + void ondatasetcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)] + void onlosecapture([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)] + void onpropertychange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)] + void onscroll([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)] + void onfocus([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)] + void onblur([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)] + void onresize([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)] + VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)] + void ondragend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)] + VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)] + VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)] + void ondragleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDROP)] + VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)] + VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCUT)] + VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)] + VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)] + VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)] + void onrowsdelete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)] + void onrowsinserted([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)] + void oncellchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)] + void onreadystatechange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)] + void onlayoutcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)] + void onpage([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)] + void onmouseenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)] + void onmouseleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)] + void onactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)] + void ondeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)] + void onfocusin([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)] + void onfocusout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)] + void onmove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)] + VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)] + void onmoveend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)] + VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)] + void onresizeend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE)] + void onchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT)] + void onselect([in] IHTMLEventObj* pEvtObj); +} + +/***************************************************************************** + * IDOMProcessingInstruction interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510742-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDOMProcessingInstruction : IDispatch +{ + [propget, id(DISPID_IDOMPROCESSINGINSTRUCTION_TARGET)] + HRESULT target([out, retval] BSTR *p); + + [propput, id(DISPID_IDOMPROCESSINGINSTRUCTION_DATA)] + HRESULT data([in] BSTR v); + + [propget, id(DISPID_IDOMPROCESSINGINSTRUCTION_DATA)] + HRESULT data([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLDocument interface + */ +[ + odl, + oleautomation, + dual, + uuid(626FC520-A41E-11CF-A731-00A0C9082637) +] +interface IHTMLDocument : IDispatch +{ + [propget, id(DISPID_IHTMLDOCUMENT_SCRIPT)] + HRESULT Script([retval, out] IDispatch **p); +} + +/***************************************************************************** + * IHTMLDocument2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(332C4425-26CB-11D0-B483-00C04FD90119) +] +interface IHTMLDocument2 : IHTMLDocument +{ + [propget, id(DISPID_IHTMLDOCUMENT2_ALL)] + HRESULT all([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_BODY)] + HRESULT body([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT)] + HRESULT activeElement([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_IMAGES)] + HRESULT images([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_APPLETS)] + HRESULT applets([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_LINKS)] + HRESULT links([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_FORMS)] + HRESULT forms([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_ANCHORS)] + HRESULT anchors([retval, out] IHTMLElementCollection **p); + + [propput, id(DISPID_IHTMLDOCUMENT2_TITLE)] + HRESULT title([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_TITLE)] + HRESULT title([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_SCRIPTS)] + HRESULT scripts([retval, out] IHTMLElementCollection **p); + + [propput, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE)] + HRESULT designMode([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE)] + HRESULT designMode([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_SELECTION)] + HRESULT selection([retval, out] IHTMLSelectionObject **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_FRAMES)] + HRESULT frames([retval, out] IHTMLFramesCollection2 **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_EMBEDS)] + HRESULT embeds([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_PLUGINS)] + HRESULT plugins([retval, out] IHTMLElementCollection **p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] + HRESULT alinkColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] + HRESULT alinkColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] + HRESULT bgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] + HRESULT bgColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] + HRESULT fgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] + HRESULT fgColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] + HRESULT linkColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] + HRESULT linkColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] + HRESULT vlinkColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] + HRESULT vlinkColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_REFERRER)] + HRESULT referrer([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_LOCATION)] + HRESULT location([retval, out] IHTMLLocation **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_LASTMODIFIED)] + HRESULT lastModified([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_URL)] + HRESULT URL([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_URL)] + HRESULT URL([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] + HRESULT domain([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] + HRESULT domain([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_COOKIE)] + HRESULT cookie([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_COOKIE)] + HRESULT cookie([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_EXPANDO)] + HRESULT expando([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT2_EXPANDO)] + HRESULT expando([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_CHARSET)] + HRESULT charset([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_CHARSET)] + HRESULT charset([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] + HRESULT defaultCharset([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] + HRESULT defaultCharset([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_MIMETYPE)] + HRESULT mimeType([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILESIZE)] + HRESULT fileSize([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILECREATEDDATE)] + HRESULT fileCreatedDate([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE)] + HRESULT fileModifiedDate([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE)] + HRESULT fileUpdatedDate([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_SECURITY)] + HRESULT security([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_PROTOCOL)] + HRESULT protocol([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT2_NAMEPROP)] + HRESULT nameProp([retval, out] BSTR *p); + + [vararg, id(DISPID_IHTMLDOCUMENT2_WRITE)] + HRESULT write([in] SAFEARRAY(VARIANT) psarray); + + [vararg, id(DISPID_IHTMLDOCUMENT2_WRITELN)] + HRESULT writeln([in] SAFEARRAY(VARIANT) psarray); + + [id(DISPID_IHTMLDOCUMENT2_OPEN)] + HRESULT open( + [defaultvalue("text/html"), in] BSTR url, + [optional, in] VARIANT name, + [optional, in] VARIANT features, + [optional, in] VARIANT replace, + [retval, out] IDispatch **pomWindowResult); + + [id(DISPID_IHTMLDOCUMENT2_CLOSE)] + HRESULT close(); + + [id(DISPID_IHTMLDOCUMENT2_CLEAR)] + HRESULT clear(); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED)] + HRESULT queryCommandSupported( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED)] + HRESULT queryCommandEnabled( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE)] + HRESULT queryCommandState( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM)] + HRESULT queryCommandIndeterm( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT)] + HRESULT queryCommandText( + [in] BSTR cmdID, + [retval, out] BSTR *pcmdText); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE)] + HRESULT queryCommandValue( + [in] BSTR cmdID, + [retval, out] VARIANT *pcmdValue); + + [id(DISPID_IHTMLDOCUMENT2_EXECCOMMAND)] + HRESULT execCommand( + [in] BSTR cmdID, + [defaultvalue(0), in] VARIANT_BOOL showUI, + [optional, in] VARIANT value, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP)] + HRESULT execCommandShowHelp( + [in] BSTR cmdID, + [retval, out] VARIANT_BOOL *pfRet); + + [id(DISPID_IHTMLDOCUMENT2_CREATEELEMENT)] + HRESULT createElement( + [in] BSTR eTag, + [retval, out] IHTMLElement **newElem); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONHELP)] + HRESULT onhelp([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONHELP)] + HRESULT onhelp([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONCLICK)] + HRESULT onclick([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONCLICK)] + HRESULT onclick([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK)] + HRESULT ondblclick([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK)] + HRESULT ondblclick([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYUP)] + HRESULT onkeyup([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYUP)] + HRESULT onkeyup([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN)] + HRESULT onkeydown([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN)] + HRESULT onkeydown([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS)] + HRESULT onkeypress([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS)] + HRESULT onkeypress([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP)] + HRESULT onmouseup([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP)] + HRESULT onmouseup([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN)] + HRESULT onmousedown([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN)] + HRESULT onmousedown([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE)] + HRESULT onmousemove([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE)] + HRESULT onmousemove([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT)] + HRESULT onmouseout([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT)] + HRESULT onmouseout([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER)] + HRESULT onmouseover([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER)] + HRESULT onmouseover([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE)] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE)] + HRESULT onreadystatechange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE)] + HRESULT onafterupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE)] + HRESULT onafterupdate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT)] + HRESULT onrowexit([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT)] + HRESULT onrowexit([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONROWENTER)] + HRESULT onrowenter([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONROWENTER)] + HRESULT onrowenter([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART)] + HRESULT ondragstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART)] + HRESULT ondragstart([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART)] + HRESULT onselectstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART)] + HRESULT onselectstart([retval, out] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT)] + HRESULT elementFromPoint( + [in] LONG x, + [in] LONG y, + [retval, out] IHTMLElement **elementHit); + + [propget, id(DISPID_IHTMLDOCUMENT2_PARENTWINDOW)] + HRESULT parentWindow([retval, out] IHTMLWindow2 **p); + + [propget, id(DISPID_IHTMLDOCUMENT2_STYLESHEETS)] + HRESULT styleSheets([retval, out] IHTMLStyleSheetsCollection **p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE)] + HRESULT onbeforeupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE)] + HRESULT onbeforeupdate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE)] + HRESULT onerrorupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE)] + HRESULT onerrorupdate([retval, out] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT2_TOSTRING)] + HRESULT toString([retval, out] BSTR *String); + + [id(DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET)] + HRESULT createStyleSheet( + [defaultvalue(""), in] BSTR bstrHref, + [defaultvalue(-1), in] LONG lIndex, + [retval, out] IHTMLStyleSheet **ppnewStyleSheet); +} + +/***************************************************************************** + * IHTMLDocument3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f485-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument3 : IDispatch +{ + [id(DISPID_IHTMLDOCUMENT3_RELEASECAPTURE)] + HRESULT releaseCapture(); + + [id(DISPID_IHTMLDOCUMENT3_RECALC)] + HRESULT recalc([defaultvalue(0), in] VARIANT_BOOL fForce); + + [id(DISPID_IHTMLDOCUMENT3_CREATETEXTNODE)] + HRESULT createTextNode( + [in] BSTR text, + [retval, out] IHTMLDOMNode **newTextNode); + + [propget, id(DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT)] + HRESULT documentElement([retval, out] IHTMLElement **p); + + [propget, id(DISPID_IHTMLDOCUMENT3_UNIQUEID), hidden] + HRESULT uniqueID([retval, out] BSTR *p); + + [id(DISPID_IHTMLDOCUMENT3_ATTACHEVENT)] + HRESULT attachEvent( + [in] BSTR event, + [in] IDispatch* pDisp, + [retval, out] VARIANT_BOOL *pfResult); + + [id(DISPID_IHTMLDOCUMENT3_DETACHEVENT)] + HRESULT detachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] + HRESULT onrowsdelete([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] + HRESULT onrowsdelete([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] + HRESULT onrowsinserted([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] + HRESULT onrowsinserted([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] + HRESULT oncellchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] + HRESULT oncellchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] + HRESULT ondatasetchanged([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] + HRESULT ondatasetchanged([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] + HRESULT ondataavailable([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] + HRESULT ondataavailable([retval, out] VARIANT * p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] + HRESULT ondatasetcomplete([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] + HRESULT ondatasetcomplete([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] + HRESULT onpropertychange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] + HRESULT onpropertychange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_DIR)] + HRESULT dir([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT3_DIR)] + HRESULT dir([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] + HRESULT oncontextmenu([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] + HRESULT oncontextmenu([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] + HRESULT onstop([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] + HRESULT onstop([retval, out] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT)] + HRESULT createDocumentFragment([retval, out] IHTMLDocument2 **pNewDoc); + + [propget, id(DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT), hidden, restricted] + HRESULT parentDocument([retval, out] IHTMLDocument2 **p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] + HRESULT enableDownload([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] + HRESULT enableDownload([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] + HRESULT baseUrl([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] + HRESULT baseUrl([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT3_CHILDNODES)] + HRESULT childNodes([retval, out] IDispatch **p); + + [propput, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] + HRESULT inheritStyleSheets([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] + HRESULT inheritStyleSheets([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] + HRESULT onbeforeeditfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] + HRESULT onbeforeeditfocus([retval, out] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME)] + HRESULT getElementsByName( + [in] BSTR v, + [retval, out] IHTMLElementCollection **pelColl); + + [id(DISPID_IHTMLDOCUMENT3_GETELEMENTBYID)] + HRESULT getElementById( + [in] BSTR v, + [retval, out] IHTMLElement **pel); + + [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( + [in] BSTR v, + [retval, out] IHTMLElementCollection **pelColl); +} + +/***************************************************************************** + * IHTMLDocument4 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f69a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument4 : IDispatch +{ + [id(DISPID_IHTMLDOCUMENT4_FOCUS)] + HRESULT focus(); + + [id(DISPID_IHTMLDOCUMENT4_HASFOCUS)] + HRESULT hasFocus([retval, out] VARIANT_BOOL *pfFocus); + + [propput, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] + HRESULT onselectionchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] + HRESULT onselectionchange([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT4_NAMESPACES)] + HRESULT namespaces([retval, out] IDispatch **p); + + [id(DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL)] + HRESULT createDocumentFromUrl( + [in] BSTR bstrUrl, + [in] BSTR bstrOptions, + [retval, out] IHTMLDocument2 **newDoc); + + [propput, id(DISPID_IHTMLDOCUMENT4_MEDIA)] + HRESULT media([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT4_MEDIA)] + HRESULT media([retval, out] BSTR *p); + + [id(DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT)] + HRESULT createEventObject( + [optional, in] VARIANT *pvarEventObject, + [retval, out] IHTMLEventObj **ppEventObj); + + [id(DISPID_IHTMLDOCUMENT4_FIREEVENT)] + HRESULT fireEvent( + [in] BSTR bstrEventName, + [optional, in] VARIANT *pvarEventObject, + [retval, out] VARIANT_BOOL *pfCancelled); + + [id(DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE)] + HRESULT createRenderStyle( + [in] BSTR v, + [retval, out] IHTMLRenderStyle **ppIHTMLRenderStyle); + + [propput, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] + HRESULT oncontrolselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] + HRESULT oncontrolselect([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT4_URLUNENCODED)] + HRESULT URLUnencoded([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLDocument5 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f80c-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument5 : IDispatch +{ + [propput, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] + HRESULT onmousewheel([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] + HRESULT onmousewheel([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT5_DOCTYPE)] + HRESULT doctype([retval, out] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOCUMENT5_IMPLEMENTATION)] + HRESULT implementation([retval, out] IHTMLDOMImplementation **p); + + [id(DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE)] + HRESULT createAttribute( + [in] BSTR bstrattrName, + [retval, out] IHTMLDOMAttribute **ppattribute); + + [id(DISPID_IHTMLDOCUMENT5_CREATECOMMENT)] + HRESULT createComment( + [in] BSTR bstrdata, + [retval, out] IHTMLDOMNode **ppRetNode); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] + HRESULT onfocusin([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] + HRESULT onfocusin([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] + HRESULT onfocusout([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] + HRESULT onfocusout([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] + HRESULT onactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] + HRESULT onactivate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] + HRESULT ondeactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] + HRESULT ondeactivate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] + HRESULT onbeforeactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] + HRESULT onbeforeactivate([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] + HRESULT onbeforedeactivate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] + HRESULT onbeforedeactivate([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT5_COMPATMODE)] + HRESULT compatMode([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLDocument6 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510417-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument6 : IDispatch +{ + [propget, id(DISPID_IHTMLDOCUMENT6_COMPATIBLE)] + HRESULT compatible([retval, out] IHTMLDocumentCompatibleInfoCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT6_DOCUMENTMODE)] + HRESULT documentMode([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT6_ONSTORAGE), displaybind, bindable] + HRESULT onstorage([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT6_ONSTORAGE), displaybind, bindable] + HRESULT onstorage([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT), displaybind, bindable] + HRESULT onstoragecommit([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT), displaybind, bindable] + HRESULT onstoragecommit([retval, out] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID)] + HRESULT getElementById( + [in] BSTR bstrId, + [retval, out] IHTMLElement2 **p); + + [id(DISPID_IHTMLDOCUMENT6_UPDATESETTINGS)] + HRESULT updateSettings(); +} + +/***************************************************************************** + * IHTMLDocument7 interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104b8-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument7 : IDispatch +{ + [propget, id(DISPID_IHTMLDOCUMENT7_DEFAULTVIEW)] + HRESULT defaultView([out, retval] IHTMLWindow2 **p); + + [id(DISPID_IHTMLDOCUMENT7_CREATECDATASECTION)] + HRESULT createCDATASection( + [in] BSTR text, + [out, retval] IHTMLDOMNode **newCDATASectionNode); + + [id(DISPID_IHTMLDOCUMENT7_GETSELECTION)] + HRESULT getSelection([out, retval] IHTMLSelection **ppIHTMLSelection); + + [id(DISPID_IHTMLDOCUMENT7_GETELEMENTSBYTAGNAMENS)] + HRESULT getElementsByTagNameNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrLocalName, + [out, retval] IHTMLElementCollection **pelColl); + + [id(DISPID_IHTMLDOCUMENT7_CREATEELEMENTNS)] + HRESULT createElementNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrTag, + [out, retval] IHTMLElement **newElem); + + [id(DISPID_IHTMLDOCUMENT7_CREATEATTRIBUTENS)] + HRESULT createAttributeNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrAttrName, + [out, retval] IHTMLDOMAttribute **ppAttribute); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK), displaybind, bindable] + HRESULT onmsthumbnailclick([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK), displaybind, bindable] + HRESULT onmsthumbnailclick([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT7_CHARACTERSET)] + HRESULT characterSet([out, retval] BSTR *p); + + [id(DISPID_IHTMLDOCUMENT7_IE9_CREATEELEMENT)] + HRESULT createElement( + [in] BSTR bstrTag, + [out, retval] IHTMLElement **newElem); + + [id(DISPID_IHTMLDOCUMENT7_IE9_CREATEATTRIBUTE)] + HRESULT createAttribute( + [in] BSTR bstrAttrName, + [out, retval] IHTMLDOMAttribute **ppAttribute); + + [id(DISPID_IHTMLDOCUMENT7_GETELEMENTSBYCLASSNAME)] + HRESULT getElementsByClassName( + [in] BSTR v, + [out, retval] IHTMLElementCollection **pel); + + [id(DISPID_IHTMLDOCUMENT7_CREATEPROCESSINGINSTRUCTION)] + HRESULT createProcessingInstruction( + [in] BSTR bstrTarget, + [in] BSTR bstrData, + [out, retval] IDOMProcessingInstruction **newProcessingInstruction); + + [id(DISPID_IHTMLDOCUMENT7_ADOPTNODE)] + HRESULT adoptNode( + [in] IHTMLDOMNode *pNodeSource, + [out, retval] IHTMLDOMNode3 **ppNodeDest); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED), displaybind, bindable] + HRESULT onmssitemodejumplistitemremoved([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED), displaybind, bindable] + HRESULT onmssitemodejumplistitemremoved([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT7_IE9_ALL)] + HRESULT all([out, retval] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT7_INPUTENCODING)] + HRESULT inputEncoding([out, retval] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT7_XMLENCODING)] + HRESULT xmlEncoding([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_XMLSTANDALONE)] + HRESULT xmlStandalone([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT7_XMLSTANDALONE)] + HRESULT xmlStandalone([out, retval] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_XMLVERSION)] + HRESULT xmlVersion([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT7_XMLVERSION)] + HRESULT xmlVersion([out, retval] BSTR *p); + + [id(DISPID_IHTMLDOCUMENT7_HASATTRIBUTES)] + HRESULT hasAttributes([out, retval] VARIANT_BOOL *pfHasAttributes); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONABORT), displaybind, bindable] + HRESULT onabort([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONABORT), displaybind, bindable] + HRESULT onabort([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONBLUR), displaybind, bindable] + HRESULT onblur([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONCANPLAY), displaybind, bindable] + HRESULT oncanplay([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONCANPLAY), displaybind, bindable] + HRESULT oncanplay([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH), displaybind, bindable] + HRESULT oncanplaythrough([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH), displaybind, bindable] + HRESULT oncanplaythrough([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONCHANGE), displaybind, bindable] + HRESULT onchange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAG), displaybind, bindable] + HRESULT ondrag([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAG), displaybind, bindable] + HRESULT ondrag([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGEND), displaybind, bindable] + HRESULT ondragend([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGEND), displaybind, bindable] + HRESULT ondragend([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGENTER), displaybind, bindable] + HRESULT ondragenter([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGENTER), displaybind, bindable] + HRESULT ondragenter([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE), displaybind, bindable] + HRESULT ondragleave([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE), displaybind, bindable] + HRESULT ondragleave([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGOVER), displaybind, bindable] + HRESULT ondragover([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGOVER), displaybind, bindable] + HRESULT ondragover([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDROP), displaybind, bindable] + HRESULT ondrop([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDROP), displaybind, bindable] + HRESULT ondrop([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE), displaybind, bindable] + HRESULT ondurationchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE), displaybind, bindable] + HRESULT ondurationchange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONEMPTIED), displaybind, bindable] + HRESULT onemptied([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONEMPTIED), displaybind, bindable] + HRESULT onemptied([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONENDED), displaybind, bindable] + HRESULT onended([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONENDED), displaybind, bindable] + HRESULT onended([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONERROR), displaybind, bindable] + HRESULT onerror([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONFOCUS), displaybind, bindable] + HRESULT onfocus([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONINPUT), displaybind, bindable] + HRESULT oninput([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONINPUT), displaybind, bindable] + HRESULT oninput([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOAD), displaybind, bindable] + HRESULT onload([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOADEDDATA), displaybind, bindable] + HRESULT onloadeddata([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOADEDDATA), displaybind, bindable] + HRESULT onloadeddata([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA), displaybind, bindable] + HRESULT onloadedmetadata([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA), displaybind, bindable] + HRESULT onloadedmetadata([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOADSTART), displaybind, bindable] + HRESULT onloadstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOADSTART), displaybind, bindable] + HRESULT onloadstart([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPAUSE), displaybind, bindable] + HRESULT onpause([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPAUSE), displaybind, bindable] + HRESULT onpause([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPLAY), displaybind, bindable] + HRESULT onplay([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPLAY), displaybind, bindable] + HRESULT onplay([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPLAYING), displaybind, bindable] + HRESULT onplaying([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPLAYING), displaybind, bindable] + HRESULT onplaying([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPROGRESS), displaybind, bindable] + HRESULT onprogress([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPROGRESS), displaybind, bindable] + HRESULT onprogress([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONRATECHANGE), displaybind, bindable] + HRESULT onratechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONRATECHANGE), displaybind, bindable] + HRESULT onratechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONRESET), displaybind, bindable] + HRESULT onreset([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONRESET), displaybind, bindable] + HRESULT onreset([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSCROLL), displaybind, bindable] + HRESULT onscroll([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSCROLL), displaybind, bindable] + HRESULT onscroll([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSEEKED), displaybind, bindable] + HRESULT onseeked([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSEEKED), displaybind, bindable] + HRESULT onseeked([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSEEKING), displaybind, bindable] + HRESULT onseeking([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSEEKING), displaybind, bindable] + HRESULT onseeking([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSELECT), displaybind, bindable] + HRESULT onselect([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSTALLED), displaybind, bindable] + HRESULT onstalled([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSTALLED), displaybind, bindable] + HRESULT onstalled([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSUBMIT), displaybind, bindable] + HRESULT onsubmit([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSUBMIT), displaybind, bindable] + HRESULT onsubmit([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSUSPEND), displaybind, bindable] + HRESULT onsuspend([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSUSPEND), displaybind, bindable] + HRESULT onsuspend([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE), displaybind, bindable] + HRESULT ontimeupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE), displaybind, bindable] + HRESULT ontimeupdate([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE), displaybind, bindable] + HRESULT onvolumechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE), displaybind, bindable] + HRESULT onvolumechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONWAITING), displaybind, bindable] + HRESULT onwaiting([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONWAITING), displaybind, bindable] + HRESULT onwaiting([out, retval] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT7_NORMALIZE)] + HRESULT normalize(); + + [id(DISPID_IHTMLDOCUMENT7_IMPORTNODE)] + HRESULT importNode( + [in] IHTMLDOMNode *pNodeSource, + [in] VARIANT_BOOL fDeep, + [out, retval] IHTMLDOMNode3 **ppNodeDest); + + [propget, id(DISPID_IHTMLDOCUMENT7_IE9_PARENTWINDOW)] + HRESULT parentWindow([out, retval] IHTMLWindow2 **p); + + [propputref, id(DISPID_IHTMLDOCUMENT7_IE9_BODY)] + HRESULT body([in] IHTMLElement *v); + + [propget, id(DISPID_IHTMLDOCUMENT7_IE9_BODY)] + HRESULT body([out, retval] IHTMLElement **p); + + [propget, id(DISPID_IHTMLDOCUMENT7_HEAD)] + HRESULT head([out, retval] IHTMLElement **p); +} + +/***************************************************************************** + * IHTMLDocument8 interface + */ +[ + odl, + oleautomation, + dual, + uuid(305107d0-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument8 : IDispatch +{ + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSCONTENTZOOM), displaybind, bindable] + HRESULT onmscontentzoom([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSCONTENTZOOM), displaybind, bindable] + HRESULT onmscontentzoom([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERDOWN), displaybind, bindable] + HRESULT onmspointerdown([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERDOWN), displaybind, bindable] + HRESULT onmspointerdown([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERMOVE), displaybind, bindable] + HRESULT onmspointermove([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERMOVE), displaybind, bindable] + HRESULT onmspointermove([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERUP), displaybind, bindable] + HRESULT onmspointerup([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERUP), displaybind, bindable] + HRESULT onmspointerup([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTEROVER), displaybind, bindable] + HRESULT onmspointerover([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTEROVER), displaybind, bindable] + HRESULT onmspointerover([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTEROUT), displaybind, bindable] + HRESULT onmspointerout([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTEROUT), displaybind, bindable] + HRESULT onmspointerout([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERCANCEL), displaybind, bindable] + HRESULT onmspointercancel([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERCANCEL), displaybind, bindable] + HRESULT onmspointercancel([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERHOVER), displaybind, bindable] + HRESULT onmspointerhover([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSPOINTERHOVER), displaybind, bindable] + HRESULT onmspointerhover([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSGESTURESTART), displaybind, bindable] + HRESULT onmsgesturestart([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSGESTURESTART), displaybind, bindable] + HRESULT onmsgesturestart([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSGESTURECHANGE), displaybind, bindable] + HRESULT onmsgesturechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSGESTURECHANGE), displaybind, bindable] + HRESULT onmsgesturechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSGESTUREEND), displaybind, bindable] + HRESULT onmsgestureend([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSGESTUREEND), displaybind, bindable] + HRESULT onmsgestureend([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSGESTUREHOLD), displaybind, bindable] + HRESULT onmsgesturehold([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSGESTUREHOLD), displaybind, bindable] + HRESULT onmsgesturehold([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSGESTURETAP), displaybind, bindable] + HRESULT onmsgesturetap([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSGESTURETAP), displaybind, bindable] + HRESULT onmsgesturetap([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSGESTUREDOUBLETAP), displaybind, bindable] + HRESULT onmsgesturedoubletap([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSGESTUREDOUBLETAP), displaybind, bindable] + HRESULT onmsgesturedoubletap([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSINERTIASTART), displaybind, bindable] + HRESULT onmsinertiastart([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSINERTIASTART), displaybind, bindable] + HRESULT onmsinertiastart([out, retval] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT8_ELEMENTSFROMPOINT)] + HRESULT elementsFromPoint( + [in] float x, + [in] float y, + [out, retval] IHTMLDOMChildrenCollection **elementsHit); + + [id(DISPID_IHTMLDOCUMENT8_ELEMENTSFROMRECT)] + HRESULT elementsFromRect( + [in] float left, + [in] float top, + [in] float width, + [in] float height, + [out, retval] IHTMLDOMChildrenCollection **elementsHit); + + [propput, id(DISPID_IHTMLDOCUMENT8_ONMSMANIPULATIONSTATECHANGED), displaybind, bindable] + HRESULT onmsmanipulationstatechanged([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT8_ONMSMANIPULATIONSTATECHANGED), displaybind, bindable] + HRESULT onmsmanipulationstatechanged([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT8_MSCAPSLOCKWARNINGOFF)] + HRESULT msCapsLockWarningOff([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT8_MSCAPSLOCKWARNINGOFF)] + HRESULT msCapsLockWarningOff([out, retval] VARIANT_BOOL *p); +} + +/***************************************************************************** + * IDocumentSelector interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510462-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDocumentSelector : IDispatch +{ + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR)] + HRESULT querySelector( + [in] BSTR v, + [out, retval] IHTMLElement **pel); + + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL)] + HRESULT querySelectorAll( + [in] BSTR v, + [out, retval] IHTMLDOMChildrenCollection **pel); +} + +/***************************************************************************** + * DispHTMLDocument dispinterface + */ +[ + hidden, + uuid(3050f55f-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLDocument +{ +properties: +methods: + [propget, id(DISPID_IHTMLDOCUMENT_SCRIPT), hidden, nonbrowsable] + IDispatch *Script(); + + [propget, id(DISPID_IHTMLDOCUMENT2_ALL)] + IHTMLElementCollection *all(); + + [propget, id(DISPID_IHTMLDOCUMENT2_BODY)] + IHTMLElement *body(); + + [propget, id(DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT)] + IHTMLElement *activeElement(); + + [propget, id(DISPID_IHTMLDOCUMENT2_IMAGES)] + IHTMLElementCollection *images(); + + [propget, id(DISPID_IHTMLDOCUMENT2_APPLETS)] + IHTMLElementCollection *applets(); + + [propget, id(DISPID_IHTMLDOCUMENT2_LINKS)] + IHTMLElementCollection *links(); + + [propget, id(DISPID_IHTMLDOCUMENT2_FORMS)] + IHTMLElementCollection *forms(); + + [propget, id(DISPID_IHTMLDOCUMENT2_ANCHORS)] + IHTMLElementCollection *anchors(); + + [propput, id(DISPID_IHTMLDOCUMENT2_TITLE)] + void title(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_TITLE)] + BSTR title(); + + [propget, id(DISPID_IHTMLDOCUMENT2_SCRIPTS)] + IHTMLElementCollection *scripts(); + + [propput, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE), hidden] + void designMode(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE), hidden] + BSTR designMode(); + + [propget, id(DISPID_IHTMLDOCUMENT2_SELECTION)] + IHTMLSelectionObject *selection(); + + [propget, id(DISPID_IHTMLDOCUMENT2_READYSTATE), bindable] + BSTR readyState(); + + [propget, id(DISPID_IHTMLDOCUMENT2_FRAMES)] + IHTMLFramesCollection2 *frames(); + + [propget, id(DISPID_IHTMLDOCUMENT2_EMBEDS)] + IHTMLElementCollection *embeds(); + + [propget, id(DISPID_IHTMLDOCUMENT2_PLUGINS)] + IHTMLElementCollection *plugins(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] + void alinkColor(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] + VARIANT alinkColor(); + + [propput, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] + void bgColor(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] + VARIANT bgColor(); + + [propput, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] + void fgColor(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] + VARIANT fgColor(); + + [propput, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] + void linkColor(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] + VARIANT linkColor(); + + [propput, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] + void vlinkColor(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] + VARIANT vlinkColor(); + + [propget, id(DISPID_IHTMLDOCUMENT2_REFERRER)] + BSTR referrer(); + + [propget, id(DISPID_IHTMLDOCUMENT2_LOCATION)] + IHTMLLocation *location(); + + [propget, id(DISPID_IHTMLDOCUMENT2_LASTMODIFIED)] + BSTR lastModified(); + + [propput, id(DISPID_IHTMLDOCUMENT2_URL)] + void URL(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_URL)] + BSTR URL(); + + [propput, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] + void domain(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] + BSTR domain(); + + [propput, id(DISPID_IHTMLDOCUMENT2_COOKIE)] + void cookie(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_COOKIE)] + BSTR cookie(); + + [propput, id(DISPID_IHTMLDOCUMENT2_EXPANDO), bindable, hidden] + void expando(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT2_EXPANDO), bindable, hidden] + VARIANT_BOOL expando(); + + [propput, id(DISPID_IHTMLDOCUMENT2_CHARSET), hidden] + void charset(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_CHARSET), hidden] + BSTR charset(); + + [propput, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] + void defaultCharset(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] + BSTR defaultCharset(); + + [propget, id(DISPID_IHTMLDOCUMENT2_MIMETYPE)] + BSTR mimeType(); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILESIZE)] + BSTR fileSize(); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILECREATEDDATE)] + BSTR fileCreatedDate(); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE)] + BSTR fileModifiedDate(); + + [propget, id(DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE)] + BSTR fileUpdatedDate(); + + [propget, id(DISPID_IHTMLDOCUMENT2_SECURITY)] + BSTR security(); + + [propget, id(DISPID_IHTMLDOCUMENT2_PROTOCOL)] + BSTR protocol(); + + [propget, id(DISPID_IHTMLDOCUMENT2_NAMEPROP)] + BSTR nameProp(); + + [vararg, id(DISPID_IHTMLDOCUMENT2_WRITE)] + void write([in] SAFEARRAY(VARIANT) psarray); + + [vararg, id(DISPID_IHTMLDOCUMENT2_WRITELN)] + void writeln([in] SAFEARRAY(VARIANT) psarray); + + [id(DISPID_IHTMLDOCUMENT2_OPEN)] + IDispatch *open( + [defaultvalue("text/html"), in] BSTR url, + [optional, in] VARIANT name, + [optional, in] VARIANT features, + [optional, in] VARIANT replace); + + [id(DISPID_IHTMLDOCUMENT2_CLOSE)] + void close(); + + [id(DISPID_IHTMLDOCUMENT2_CLEAR)] + void clear(); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED)] + VARIANT_BOOL queryCommandSupported([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED)] + VARIANT_BOOL queryCommandEnabled([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE)] + VARIANT_BOOL queryCommandState([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM)] + VARIANT_BOOL queryCommandIndeterm([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT)] + BSTR queryCommandText([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE)] + VARIANT queryCommandValue([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_EXECCOMMAND)] + VARIANT_BOOL execCommand( + [in] BSTR cmdID, + [defaultvalue(0), in] VARIANT_BOOL showUI, + [optional, in] VARIANT value); + + [id(DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP)] + VARIANT_BOOL execCommandShowHelp([in] BSTR cmdID); + + [id(DISPID_IHTMLDOCUMENT2_CREATEELEMENT)] + IHTMLElement *createElement([in] BSTR eTag); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONHELP), displaybind, bindable] + void onhelp(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONHELP), displaybind, bindable] + VARIANT onhelp(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONCLICK), displaybind, bindable] + void onclick(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONCLICK), displaybind, bindable] + VARIANT onclick(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK), displaybind, bindable] + void ondblclick(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK), displaybind, bindable] + VARIANT ondblclick(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYUP), displaybind, bindable] + void onkeyup(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYUP), displaybind, bindable] + VARIANT onkeyup(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN), displaybind, bindable] + void onkeydown(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN), displaybind, bindable] + VARIANT onkeydown(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS), displaybind, bindable] + void onkeypress(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS), displaybind, bindable] + VARIANT onkeypress(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP), displaybind, bindable] + void onmouseup(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP), displaybind, bindable] + VARIANT onmouseup(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN), displaybind, bindable] + void onmousedown(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN), displaybind, bindable] + VARIANT onmousedown(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE), displaybind, bindable] + void onmousemove(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE), displaybind, bindable] + VARIANT onmousemove(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT), displaybind, bindable] + void onmouseout(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT), displaybind, bindable] + VARIANT onmouseout(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER), displaybind, bindable] + void onmouseover(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER), displaybind, bindable] + VARIANT onmouseover(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE), displaybind, bindable] + void onreadystatechange(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE), displaybind, bindable] + VARIANT onreadystatechange(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE), displaybind, bindable] + void onafterupdate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE), displaybind, bindable] + VARIANT onafterupdate(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT), displaybind, bindable] + void onrowexit(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT), displaybind, bindable] + VARIANT onrowexit(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONROWENTER), displaybind, bindable] + void onrowenter(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONROWENTER), displaybind, bindable] + VARIANT onrowenter(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART), displaybind, bindable] + void ondragstart(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART), displaybind, bindable] + VARIANT ondragstart(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART), displaybind, bindable] + void onselectstart(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART), displaybind, bindable] + VARIANT onselectstart(); + + [id(DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT)] + IHTMLElement *elementFromPoint( + [in] LONG x, + [in] LONG y); + + [propget, id(DISPID_IHTMLDOCUMENT2_PARENTWINDOW)] + IHTMLWindow2 *parentWindow(); + + [propget, id(DISPID_IHTMLDOCUMENT2_STYLESHEETS)] + IHTMLStyleSheetsCollection *styleSheets(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE), displaybind, bindable] + void onbeforeupdate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE), displaybind, bindable] + VARIANT onbeforeupdate(); + + [propput, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE), displaybind, bindable] + void onerrorupdate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE), displaybind, bindable] + VARIANT onerrorupdate(); + + [id(DISPID_IHTMLDOCUMENT2_TOSTRING)] + BSTR toString(); + + [id(DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET)] + IHTMLStyleSheet *createStyleSheet( + [defaultvalue(""), in] BSTR bstrHref, + [defaultvalue(-1), in] LONG lIndex); + + [id(DISPID_IHTMLDOCUMENT3_RELEASECAPTURE)] + void releaseCapture(); + + [id(DISPID_IHTMLDOCUMENT3_RECALC)] + void recalc([defaultvalue(0), in] VARIANT_BOOL fForce); + + [id(DISPID_IHTMLDOCUMENT3_CREATETEXTNODE)] + IHTMLDOMNode *createTextNode([in] BSTR text); + + [propget, id(DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT)] + IHTMLElement *documentElement(); + + [propget, id(DISPID_IHTMLDOCUMENT3_UNIQUEID), hidden] + BSTR uniqueID(); + + [id(DISPID_IHTMLDOCUMENT3_ATTACHEVENT)] + VARIANT_BOOL attachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [id(DISPID_IHTMLDOCUMENT3_DETACHEVENT)] + void detachEvent( + [in] BSTR event, + [in] IDispatch *pDisp); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] + void onrowsdelete(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] + VARIANT onrowsdelete(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] + void onrowsinserted(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] + VARIANT onrowsinserted(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] + void oncellchange(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] + VARIANT oncellchange(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] + void ondatasetchanged(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] + VARIANT ondatasetchanged(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] + void ondataavailable(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] + VARIANT ondataavailable(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] + void ondatasetcomplete(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] + VARIANT ondatasetcomplete(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] + void onpropertychange(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] + VARIANT onpropertychange(); + + [propput, id(DISPID_IHTMLDOCUMENT3_DIR)] + void dir(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT3_DIR)] + BSTR dir(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] + void oncontextmenu(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] + VARIANT oncontextmenu(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] + void onstop(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] + VARIANT onstop(); + + [id(DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT)] + IHTMLDocument2 *createDocumentFragment(); + + [propget, id(DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT), hidden, restricted] + IHTMLDocument2 *parentDocument(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] + void enableDownload(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] + VARIANT_BOOL enableDownload(); + + [propput, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] + void baseUrl(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] + BSTR baseUrl(); + + [propput, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] + void inheritStyleSheets(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] + VARIANT_BOOL inheritStyleSheets(); + + [propput, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] + void onbeforeeditfocus(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] + VARIANT onbeforeeditfocus(); + + [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME)] + IHTMLElementCollection *getElementsByName([in] BSTR v); + + [id(DISPID_IHTMLDOCUMENT3_GETELEMENTBYID)] + IHTMLElement *getElementById([in] BSTR v); + + [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME)] + IHTMLElementCollection *getElementsByTagName([in] BSTR v); + + [id(DISPID_IHTMLDOCUMENT4_FOCUS)] + void focus(); + + [id(DISPID_IHTMLDOCUMENT4_HASFOCUS)] + VARIANT_BOOL hasFocus(); + + [propput, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] + void onselectionchange(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] + VARIANT onselectionchange(); + + [propget, id(DISPID_IHTMLDOCUMENT4_NAMESPACES)] + IDispatch *namespaces(); + + [id(DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL)] + IHTMLDocument2 *createDocumentFromUrl( + [in] BSTR bstrUrl, + [in] BSTR bstrOptions); + + [propput, id(DISPID_IHTMLDOCUMENT4_MEDIA)] + void media(BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT4_MEDIA)] + BSTR media(); + + [id(DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT)] + IHTMLEventObj *createEventObject([optional, in] VARIANT *pvarEventObject); + + [id(DISPID_IHTMLDOCUMENT4_FIREEVENT)] + VARIANT_BOOL fireEvent( + [in] BSTR bstrEventName, + [optional, in] VARIANT *pvarEventObject); + + [id(DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE)] + IHTMLRenderStyle *createRenderStyle([in] BSTR v); + + [propput, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] + void oncontrolselect(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] + VARIANT oncontrolselect(); + + [propget, id(DISPID_IHTMLDOCUMENT4_URLUNENCODED)] + BSTR URLUnencoded(); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] + void onmousewheel(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] + VARIANT onmousewheel(); + + [propget, id(DISPID_IHTMLDOCUMENT5_DOCTYPE)] + IHTMLDOMNode *doctype(); + + [propget, id(DISPID_IHTMLDOCUMENT5_IMPLEMENTATION)] + IHTMLDOMImplementation *implementation(); + + [id(DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE)] + IHTMLDOMAttribute *createAttribute([in] BSTR bstrattrName); + + [id(DISPID_IHTMLDOCUMENT5_CREATECOMMENT)] + IHTMLDOMNode *createComment([in] BSTR bstrdata); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] + void onfocusin(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] + VARIANT onfocusin(); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] + void onfocusout(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] + VARIANT onfocusout(); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] + void onactivate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] + VARIANT onactivate(); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] + void ondeactivate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] + VARIANT ondeactivate(); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] + void onbeforeactivate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] + VARIANT onbeforeactivate(); + + [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] + void onbeforedeactivate(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] + VARIANT onbeforedeactivate(); + + [propget, id(DISPID_IHTMLDOCUMENT5_COMPATMODE)] + BSTR compatMode(); + + [propget, id(DISPID_IHTMLDOCUMENT6_COMPATIBLE)] + IHTMLDocumentCompatibleInfoCollection *compatible(); + + [propget, id(DISPID_IHTMLDOCUMENT6_DOCUMENTMODE)] + VARIANT documentMode(); + + [propput, id(DISPID_IHTMLDOCUMENT6_ONSTORAGE), displaybind, bindable] + void onstorage(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT6_ONSTORAGE), displaybind, bindable] + VARIANT onstorage(); + + [propput, id(DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT), displaybind, bindable] + void onstoragecommit(VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT), displaybind, bindable] + VARIANT onstoragecommit(); + + [id(DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID)] + IHTMLElement2 *ie8_getElementById([in] BSTR bstrId); + + [id(DISPID_IHTMLDOCUMENT6_UPDATESETTINGS)] + void updateSettings(); + + WINE_HTMLDOMNODE_DISPINTERFACE_DECL; + + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR)] + IHTMLElement *querySelector([in] BSTR v); + + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL)] + IHTMLDOMChildrenCollection *querySelectorAll([in] BSTR v); +} + +/***************************************************************************** + * HTMLDocument coclass + */ +[ + uuid(25336920-03F9-11cf-8FD0-00AA00686F13) +] +coclass HTMLDocument +{ + [default] dispinterface DispHTMLDocument; + [source, default] dispinterface HTMLDocumentEvents; + [source] dispinterface HTMLDocumentEvents2; + interface IHTMLDocument2; + interface IHTMLDocument3; + interface IHTMLDocument4; + interface IHTMLDocument5; + interface IHTMLDocument6; + interface IHTMLDOMNode; + interface IHTMLDOMNode2; +} + +/***************************************************************************** + * DWebBridgeEvents dispinterface + */ +[ + hidden, + uuid(a6d897ff-0a95-11d1-b0ba-006008166e11) +] +dispinterface DWebBridgeEvents +{ +properties: +methods: + [id(DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT)] + void onscriptletevent([in] BSTR name,[in] VARIANT eventData); + + [id(DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE)] + void onreadystatechange(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONCLICK)] + VARIANT_BOOL onclick(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONDBLCLICK)] + VARIANT_BOOL ondblclick(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONKEYDOWN)] + void onkeydown(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONKEYUP)] + void onkeyup(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONKEYPRESS)] + VARIANT_BOOL onkeypress(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONMOUSEDOWN)] + void onmousedown(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONMOUSEMOVE)] + void onmousemove(); + + [id(DISPID_DWEBBRIDGEEVENTS_ONMOUSEUP)] + void onmouseup(); +} + +/***************************************************************************** + * IWebBridge interface + */ +[ + odl, + oleautomation, + dual, + uuid(ae24fdad-03c6-11d1-8b76-0080c744f389) +] +interface IWebBridge : IDispatch +{ + [propput, id(DISPID_IWEBBRIDGE_URL)] + HRESULT URL([in] BSTR v); + + [propget, id(DISPID_IWEBBRIDGE_URL)] + HRESULT URL([retval, out] BSTR * p); + + [propput, id(DISPID_IWEBBRIDGE_SCROLLBAR)] + HRESULT Scrollbar([in] VARIANT_BOOL v); + + [propget, id(DISPID_IWEBBRIDGE_SCROLLBAR)] + HRESULT Scrollbar([retval, out] VARIANT_BOOL * p); + + [propput, id(DISPID_IWEBBRIDGE_EMBED)] + HRESULT embed([in] VARIANT_BOOL v); + + [propget, id(DISPID_IWEBBRIDGE_EMBED)] + HRESULT embed([retval, out] VARIANT_BOOL * p); + + [propget, id(DISPID_IWEBBRIDGE_EVENT)] + HRESULT event([retval, out] IDispatch* * p); + + [propget, id(DISPID_IWEBBRIDGE_READYSTATE)] + HRESULT readyState([retval, out] long * p); + + [id(DISPID_IWEBBRIDGE_ABOUTBOX)] + HRESULT AboutBox(); +} + +/***************************************************************************** + * Scriptlet coclass + */ +[ + control, + helpstring("Microsoft Scriptlet Component"), + progid("ScriptBridge.ScriptBridge.1"), + vi_progid("ScriptBridge.ScriptBridge"), + uuid(ae24fdae-03c6-11d1-8b76-0080c744f389) +] +coclass Scriptlet +{ + [default] interface IWebBridge; + [source, default] dispinterface DWebBridgeEvents; +} + +/***************************************************************************** + * IHTMLEmbedElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f25f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLEmbedElement : IDispatch +{ + [propput, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + HRESULT hidden([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + HRESULT hidden([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PALETTE)] + HRESULT palette([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE)] + HRESULT pluginspage([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + HRESULT src([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + HRESULT units([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + HRESULT units([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + HRESULT height([retval, out] VARIANT *p); +} + +/***************************************************************************** + * DispHTMLEmbedElement dispinterface + */ +[ + hidden, + uuid(3050f52e-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLEmbed +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + void hidden(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + BSTR hidden(); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PALETTE)] + BSTR palette(); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE)] + BSTR pluginspage(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + void src(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + BSTR src(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + void units(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + BSTR units(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + VARIANT width(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT2_IE8_SRC)] + void ie8_src(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT2_IE8_SRC)] + BSTR ie8_src(); + + [propget, id(DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE)] + BSTR ie8_pluginspage(); +} + +/***************************************************************************** + * HTMLEmbed coclass + */ +[ + noncreatable, + uuid(3050f25d-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLEmbed +{ + [default] dispinterface DispHTMLEmbed; + /* [source, default] dispinterface HTMLControlElementEvents; */ + /* [source] dispinterface HTMLControlElementEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLEmbedElement; + /* interface IHTMLEmbedElement2; */ + /* interface IGetSVGDocument; */ +} + +/***************************************************************************** + * IHTMLCommentElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f20c-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLCommentElement : IDispatch +{ + [propput, id(DISPID_IHTMLCOMMENTELEMENT_TEXT), displaybind, bindable] + HRESULT text([in] BSTR v); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT_TEXT), displaybind, bindable] + HRESULT text([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLCOMMENTELEMENT_ATOMIC), displaybind, bindable] + HRESULT atomic([in] LONG v); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT_ATOMIC), displaybind, bindable] + HRESULT atomic([out, retval] LONG *p); +} + +/***************************************************************************** + * IHTMLCommentElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f813-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLCommentElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLCOMMENTELEMENT2_DATA)] + HRESULT data([in] BSTR v); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT2_DATA)] + HRESULT data([out, retval] BSTR *p); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT2_LENGTH)] + HRESULT length([out, retval] LONG *p); + + [id(DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA)] + HRESULT substringData( + [in] LONG offset, + [in] LONG Count, + [out, retval] BSTR *pbstrsubString); + + [id(DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA)] + HRESULT appendData([in] BSTR bstrstring); + + [id(DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA)] + HRESULT insertData( + [in] LONG offset, + [in] BSTR bstrstring); + + [id(DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA)] + HRESULT deleteData( + [in] LONG offset, + [in] LONG Count); + + [id(DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA)] + HRESULT replaceData( + [in] LONG offset, + [in] LONG Count, + [in] BSTR bstrstring); +} + +/***************************************************************************** + * DispHTMLCommentElement dispinterface + */ +[ + hidden, + uuid(3050f50a-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLCommentElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLCOMMENTELEMENT_TEXT), displaybind, bindable] + void text(BSTR v); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT_TEXT), displaybind, bindable] + BSTR text(); + + [propput, id(DISPID_IHTMLCOMMENTELEMENT_ATOMIC), displaybind, bindable] + void atomic(LONG v); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT_ATOMIC), displaybind, bindable] + LONG atomic(); + + [propput, id(DISPID_IHTMLCOMMENTELEMENT2_DATA)] + void data(BSTR v); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT2_DATA)] + BSTR data(); + + [propget, id(DISPID_IHTMLCOMMENTELEMENT2_LENGTH)] + LONG length(); + + [id(DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA)] + BSTR substringData( + [in] LONG offset, + [in] LONG Count); + + [id(DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA)] + void appendData([in] BSTR bstrstring); + + [id(DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA)] + void insertData( + [in] LONG offset, + [in] BSTR bstrstring); + + [id(DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA)] + void deleteData( + [in] LONG offset, + [in] LONG Count); + + [id(DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA)] + void replaceData( + [in] LONG offset, + [in] LONG Count, + [in] BSTR bstrstring); +} + +[ + hidden, + uuid(3050f60f-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLElementEvents2 +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS2_ONHELP)] + VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)] + VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)] + VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)] + VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)] + void onkeydown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)] + void onkeyup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)] + void onmouseout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)] + void onmouseover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)] + void onmousemove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)] + void onmousedown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)] + void onmouseup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)] + VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)] + void onfilterchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)] + VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)] + void onafterupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)] + VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)] + void onrowenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)] + void ondatasetchanged([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)] + void ondataavailable([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)] + void ondatasetcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)] + void onlosecapture([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)] + void onpropertychange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)] + void onscroll([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)] + void onfocus([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)] + void onblur([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)] + void onresize([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)] + VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)] + void ondragend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)] + VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)] + VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)] + void ondragleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDROP)] + VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)] + VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCUT)] + VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)] + VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)] + VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)] + void onrowsdelete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)] + void onrowsinserted([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)] + void oncellchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)] + void onreadystatechange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)] + void onlayoutcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)] + void onpage([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)] + void onmouseenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)] + void onmouseleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)] + void onactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)] + void ondeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)] + void onfocusin([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)] + void onfocusout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)] + void onmove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)] + VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)] + void onmoveend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)] + VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)] + void onresizeend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj); +} + +[ + hidden, + uuid(3050f33c-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLElementEvents +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS_ONHELP)] + VARIANT_BOOL onhelp(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCLICK)] + VARIANT_BOOL onclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDBLCLICK)] + VARIANT_BOOL ondblclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYPRESS)] + VARIANT_BOOL onkeypress(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYDOWN)] + void onkeydown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYUP)] + void onkeyup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT)] + void onmouseout(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER)] + void onmouseover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE)] + void onmousemove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN)] + void onmousedown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEUP)] + void onmouseup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSELECTSTART)] + VARIANT_BOOL onselectstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE)] + void onfilterchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGSTART)] + VARIANT_BOOL ondragstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE)] + void onafterupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWEXIT)] + VARIANT_BOOL onrowexit(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWENTER)] + void onrowenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED)] + void ondatasetchanged(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE)] + void ondataavailable(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE)] + void ondatasetcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE)] + void onlosecapture(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE)] + void onpropertychange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSCROLL)] + void onscroll(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUS)] + void onfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBLUR)] + void onblur(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZE)] + void onresize(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAG)] + VARIANT_BOOL ondrag(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGEND)] + void ondragend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGENTER)] + VARIANT_BOOL ondragenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGOVER)] + VARIANT_BOOL ondragover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE)] + void ondragleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDROP)] + VARIANT_BOOL ondrop(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECUT)] + VARIANT_BOOL onbeforecut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCUT)] + VARIANT_BOOL oncut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCOPY)] + VARIANT_BOOL oncopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPASTE)] + VARIANT_BOOL onpaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSDELETE)] + void onrowsdelete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED)] + void onrowsinserted(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE)] + void oncellchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE)] + void onreadystatechange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS)] + void onbeforeeditfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE)] + void onlayoutcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPAGE)] + void onpage(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVE)] + void onmove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVESTART)] + VARIANT_BOOL onmovestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVEEND)] + void onmoveend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZESTART)] + VARIANT_BOOL onresizestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZEEND)] + void onresizeend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER)] + void onmouseenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE)] + void onmouseleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel(); + + [id(DISPID_HTMLELEMENTEVENTS_ONACTIVATE)] + void onactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE)] + void ondeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSIN)] + void onfocusin(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT)] + void onfocusout(); +} + +[ + noncreatable, + uuid(3050f317-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLCommentElement +{ + [default] dispinterface DispHTMLCommentElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLCommentElement; + interface IHTMLCommentElement2; + /* interface IHTMLCommentElement3; */ +} + +/***************************************************************************** + * HTMLTableEvents dispinterface + */ +[ + hidden, + uuid(3050f407-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLTableEvents +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS_ONHELP)] + VARIANT_BOOL onhelp(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCLICK)] + VARIANT_BOOL onclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDBLCLICK)] + VARIANT_BOOL ondblclick(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYPRESS)] + VARIANT_BOOL onkeypress(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYDOWN)] + void onkeydown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONKEYUP)] + void onkeyup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT)] + void onmouseout(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER)] + void onmouseover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE)] + void onmousemove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN)] + void onmousedown(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEUP)] + void onmouseup(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSELECTSTART)] + VARIANT_BOOL onselectstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE)] + void onfilterchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGSTART)] + VARIANT_BOOL ondragstart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE)] + void onafterupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWEXIT)] + VARIANT_BOOL onrowexit(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWENTER)] + void onrowenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED)] + void ondatasetchanged(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE)] + void ondataavailable(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE)] + void ondatasetcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE)] + void onlosecapture(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE)] + void onpropertychange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONSCROLL)] + void onscroll(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUS)] + void onfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBLUR)] + void onblur(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZE)] + void onresize(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAG)] + VARIANT_BOOL ondrag(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGEND)] + void ondragend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGENTER)] + VARIANT_BOOL ondragenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGOVER)] + VARIANT_BOOL ondragover(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE)] + void ondragleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDROP)] + VARIANT_BOOL ondrop(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECUT)] + VARIANT_BOOL onbeforecut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCUT)] + VARIANT_BOOL oncut(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCOPY)] + VARIANT_BOOL oncopy(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPASTE)] + VARIANT_BOOL onpaste(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSDELETE)] + void onrowsdelete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED)] + void onrowsinserted(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE)] + void oncellchange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE)] + void onreadystatechange(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS)] + void onbeforeeditfocus(); + + [id(DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE)] + void onlayoutcomplete(); + + [id(DISPID_HTMLELEMENTEVENTS_ONPAGE)] + void onpage(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVE)] + void onmove(); + + [id(DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVESTART)] + VARIANT_BOOL onmovestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOVEEND)] + void onmoveend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZESTART)] + VARIANT_BOOL onresizestart(); + + [id(DISPID_HTMLELEMENTEVENTS_ONRESIZEEND)] + void onresizeend(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER)] + void onmouseenter(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE)] + void onmouseleave(); + + [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel(); + + [id(DISPID_HTMLELEMENTEVENTS_ONACTIVATE)] + void onactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE)] + void ondeactivate(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSIN)] + void onfocusin(); + + [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT)] + void onfocusout(); +} + +[ + hidden, + uuid(3050f623-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface HTMLTableEvents2 +{ +properties: +methods: + [id(DISPID_HTMLELEMENTEVENTS2_ONHELP)] + VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)] + VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)] + VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)] + VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)] + void onkeydown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)] + void onkeyup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)] + void onmouseout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)] + void onmouseover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)] + void onmousemove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)] + void onmousedown([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)] + void onmouseup([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)] + VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)] + void onfilterchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)] + VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)] + VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)] + void onafterupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)] + VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)] + VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)] + void onrowenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)] + void ondatasetchanged([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)] + void ondataavailable([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)] + void ondatasetcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)] + void onlosecapture([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)] + void onpropertychange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)] + void onscroll([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)] + void onfocus([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)] + void onblur([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)] + void onresize([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)] + VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)] + void ondragend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)] + VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)] + VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)] + void ondragleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDROP)] + VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)] + VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCUT)] + VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)] + VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)] + VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)] + VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)] + VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)] + VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)] + void onrowsdelete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)] + void onrowsinserted([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)] + void oncellchange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)] + void onreadystatechange([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)] + void onlayoutcomplete([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)] + void onpage([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)] + void onmouseenter([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)] + void onmouseleave([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)] + void onactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)] + void ondeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)] + VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)] + VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)] + void onfocusin([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)] + void onfocusout([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)] + void onmove([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)] + VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)] + VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)] + void onmoveend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)] + VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)] + void onresizeend([in] IHTMLEventObj* pEvtObj); + + [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)] + VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj); +} + +/***************************************************************************** + * IHTMLTableCaption interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f2eb-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTableCaption : IDispatch +{ + [propput, id(DISPID_IHTMLTABLECAPTION_ALIGN)] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLECAPTION_ALIGN)] + HRESULT align([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLECAPTION_VALIGN)] + HRESULT vAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLECAPTION_VALIGN)] + HRESULT vAlign([retval, out] BSTR *p); +} + +interface IHTMLTableSection; + +/***************************************************************************** + * IHTMLTable interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f21e-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTable : IDispatch +{ + [propput, id(DISPID_IHTMLTABLE_COLS)] + HRESULT cols([in] LONG v); + + [propget, id(DISPID_IHTMLTABLE_COLS)] + HRESULT cols([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLTABLE_BORDER)] + HRESULT border([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDER)] + HRESULT border([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_FRAME)] + HRESULT frame([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLE_FRAME)] + HRESULT frame([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLE_RULES)] + HRESULT rules([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLE_RULES)] + HRESULT rules([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLE_CELLSPACING)] + HRESULT cellSpacing([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_CELLSPACING)] + HRESULT cellSpacing([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_CELLPADDING)] + HRESULT cellPadding([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_CELLPADDING)] + HRESULT cellPadding([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_BACKGROUND)] + HRESULT background([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLE_BACKGROUND)] + HRESULT background([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLE_BGCOLOR)] + HRESULT bgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BGCOLOR)] + HRESULT bgColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_BORDERCOLOR)] + HRESULT borderColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDERCOLOR)] + HRESULT borderColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_BORDERCOLORLIGHT)] + HRESULT borderColorLight([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDERCOLORLIGHT)] + HRESULT borderColorLight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_BORDERCOLORDARK)] + HRESULT borderColorDark([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDERCOLORDARK)] + HRESULT borderColorDark([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_ALIGN)] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLE_ALIGN)] + HRESULT align([retval, out] BSTR * p); + + [id(DISPID_IHTMLTABLE_REFRESH)] + HRESULT refresh(); + + [propget, id(DISPID_IHTMLTABLE_ROWS)] + HRESULT rows([retval, out] IHTMLElementCollection **p); + + [propput, id(DISPID_IHTMLTABLE_WIDTH)] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_WIDTH)] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_HEIGHT)] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_HEIGHT)] + HRESULT height([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLE_DATAPAGESIZE)] + HRESULT dataPageSize([in] LONG v); + + [propget, id(DISPID_IHTMLTABLE_DATAPAGESIZE)] + HRESULT dataPageSize([retval, out] LONG *p); + + [id(DISPID_IHTMLTABLE_NEXTPAGE)] + HRESULT nextPage(); + + [id(DISPID_IHTMLTABLE_PREVIOUSPAGE)] + HRESULT previousPage(); + + [propget, id(DISPID_IHTMLTABLE_THEAD)] + HRESULT tHead([retval, out] IHTMLTableSection **p); + + [propget, id(DISPID_IHTMLTABLE_TFOOT)] + HRESULT tFoot([retval, out] IHTMLTableSection **p); + + [propget, id(DISPID_IHTMLTABLE_TBODIES)] + HRESULT tBodies([retval, out] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLTABLE_CAPTION)] + HRESULT caption([retval, out] IHTMLTableCaption **p); + + [id(DISPID_IHTMLTABLE_CREATETHEAD)] + HRESULT createTHead([retval, out] IDispatch **head); + + [id(DISPID_IHTMLTABLE_DELETETHEAD)] + HRESULT deleteTHead(); + + [id(DISPID_IHTMLTABLE_CREATETFOOT)] + HRESULT createTFoot([retval, out] IDispatch **foot); + + [id(DISPID_IHTMLTABLE_DELETETFOOT)] + HRESULT deleteTFoot(); + + [id(DISPID_IHTMLTABLE_CREATECAPTION)] + HRESULT createCaption([retval, out] IHTMLTableCaption **caption); + + [id(DISPID_IHTMLTABLE_DELETECAPTION)] + HRESULT deleteCaption(); + + [id(DISPID_IHTMLTABLE_INSERTROW)] + HRESULT insertRow( + [defaultvalue(-1), in] LONG index, + [retval, out] IDispatch **row); + + [id(DISPID_IHTMLTABLE_DELETEROW)] + HRESULT deleteRow([defaultvalue(-1), in] LONG index); + + [propget, id(DISPID_IHTMLTABLE_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLE_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([retval, out] VARIANT *p); +} + +[ + odl, + oleautomation, + dual, + uuid(3050f4ad-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTable2 : IDispatch +{ + [id(DISPID_IHTMLTABLE2_FIRSTPAGE)] + HRESULT firstPage(); + + [id(DISPID_IHTMLTABLE2_LASTPAGE)] + HRESULT lastPage(); + + [propget, id(DISPID_IHTMLTABLE2_CELLS)] + HRESULT cells([retval, out] IHTMLElementCollection* * p); + + [id(DISPID_IHTMLTABLE2_MOVEROW)] + HRESULT moveRow([defaultvalue(-1), in] LONG indexFrom, + [defaultvalue(-1), in] LONG indexTo, + [retval, out] IDispatch** row); +} + +[ + odl, + oleautomation, + dual, + uuid(3050f829-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTable3 : IDispatch +{ + [propput, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable] + HRESULT summary([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable] + HRESULT summary([retval, out] BSTR * p); +} + +[ + noncreatable, + uuid(3050f26b-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLTable +{ + [default] dispinterface DispHTMLTable; + [source, default] dispinterface HTMLTableEvents; + [source] dispinterface HTMLTableEvents2; + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLTable; + interface IHTMLTable2; + interface IHTMLTable3; + /* interface IHTMLTable4; */ +} + +[ + odl, + oleautomation, + dual, + uuid(3050f23b-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTableSection : IDispatch +{ + [propput, id(DISPID_IHTMLTABLESECTION_ALIGN)] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLESECTION_ALIGN)] + HRESULT align([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLESECTION_VALIGN)] + HRESULT vAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLESECTION_VALIGN)] + HRESULT vAlign([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLESECTION_BGCOLOR)] + HRESULT bgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLESECTION_BGCOLOR)] + HRESULT bgColor([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLTABLESECTION_ROWS)] + HRESULT rows([retval, out] IHTMLElementCollection **p); + + [id(DISPID_IHTMLTABLESECTION_INSERTROW)] + HRESULT insertRow( + [defaultvalue(-1), in] LONG index, + [retval, out] IDispatch **row); + + [id(DISPID_IHTMLTABLESECTION_DELETEROW)] + HRESULT deleteRow([defaultvalue(-1), in] LONG index); +} + +/***************************************************************************** + * IHTMLTableRow interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f23c-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTableRow : IDispatch +{ + [propput, id(DISPID_IHTMLTABLEROW_ALIGN)] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLEROW_ALIGN)] + HRESULT align([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLTABLEROW_VALIGN)] + HRESULT vAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLEROW_VALIGN)] + HRESULT vAlign([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLTABLEROW_BGCOLOR)] + HRESULT bgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BGCOLOR)] + HRESULT bgColor([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLEROW_BORDERCOLOR)] + HRESULT borderColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BORDERCOLOR)] + HRESULT borderColor([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT)] + HRESULT borderColorLight([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT)] + HRESULT borderColorLight([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLEROW_BORDERCOLORDARK)] + HRESULT borderColorDark([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BORDERCOLORDARK)] + HRESULT borderColorDark([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLTABLEROW_ROWINDEX)] + HRESULT rowIndex([out, retval] LONG *p); + + [propget, id(DISPID_IHTMLTABLEROW_SECTIONROWINDEX)] + HRESULT sectionRowIndex([out, retval] LONG *p); + + [propget, id(DISPID_IHTMLTABLEROW_CELLS)] + HRESULT cells([out, retval] IHTMLElementCollection **p); + + [id(DISPID_IHTMLTABLEROW_INSERTCELL)] + HRESULT insertCell( + [in, defaultvalue(-1)] LONG index, + [out, retval] IDispatch **row); + + [id(DISPID_IHTMLTABLEROW_DELETECELL)] + HRESULT deleteCell([in, defaultvalue(-1)] LONG index); +} + +/***************************************************************************** + * IHTMLTableCell interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f23d-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLTableCell : IDispatch +{ + [propput, id(DISPID_IHTMLTABLECELL_ROWSPAN)] + HRESULT rowSpan([in] long v); + + [propget, id(DISPID_IHTMLTABLECELL_ROWSPAN)] + HRESULT rowSpan([retval, out] long *p); + + [propput, id(DISPID_IHTMLTABLECELL_COLSPAN)] + HRESULT colSpan([in] long v); + + [propget, id(DISPID_IHTMLTABLECELL_COLSPAN)] + HRESULT colSpan([retval, out] long *p); + + [propput, id(DISPID_IHTMLTABLECELL_ALIGN)] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL_ALIGN)] + HRESULT align([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLECELL_VALIGN)] + HRESULT vAlign([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL_VALIGN)] + HRESULT vAlign([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLECELL_BGCOLOR)] + HRESULT bgColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BGCOLOR)] + HRESULT bgColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLECELL_NOWRAP)] + HRESULT noWrap([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLTABLECELL_NOWRAP)] + HRESULT noWrap([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLTABLECELL_BACKGROUND)] + HRESULT background([in] BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL_BACKGROUND)] + HRESULT background([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLTABLECELL_BORDERCOLOR)] + HRESULT borderColor([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BORDERCOLOR)] + HRESULT borderColor([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT)] + HRESULT borderColorLight([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT)] + HRESULT borderColorLight([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLECELL_BORDERCOLORDARK)] + HRESULT borderColorDark([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BORDERCOLORDARK)] + HRESULT borderColorDark([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLECELL_WIDTH)] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_WIDTH)] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLTABLECELL_HEIGHT)] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_HEIGHT)] + HRESULT height([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLTABLECELL_CELLINDEX)] + HRESULT cellIndex([retval, out] long *p); +} + +/***************************************************************************** + * DispHTMLTable dispinterface + */ +[ + hidden, + uuid(3050f532-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLTable +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLTABLE_COLS)] + void cols(LONG v); + + [propget, id(DISPID_IHTMLTABLE_COLS)] + LONG cols(); + + [propput, id(DISPID_IHTMLTABLE_BORDER)] + void border(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDER)] + VARIANT border(); + + [propput, id(DISPID_IHTMLTABLE_FRAME)] + void frame(BSTR v); + + [propget, id(DISPID_IHTMLTABLE_FRAME)] + BSTR frame(); + + [propput, id(DISPID_IHTMLTABLE_RULES)] + void rules(BSTR v); + + [propget, id(DISPID_IHTMLTABLE_RULES)] + BSTR rules(); + + [propput, id(DISPID_IHTMLTABLE_CELLSPACING)] + void cellSpacing(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_CELLSPACING)] + VARIANT cellSpacing(); + + [propput, id(DISPID_IHTMLTABLE_CELLPADDING)] + void cellPadding(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_CELLPADDING)] + VARIANT cellPadding(); + + [propput, id(DISPID_IHTMLTABLE_BACKGROUND)] + void background(BSTR v); + + [propget, id(DISPID_IHTMLTABLE_BACKGROUND)] + BSTR background(); + + [propput, id(DISPID_IHTMLTABLE_BGCOLOR)] + void bgColor(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BGCOLOR)] + VARIANT bgColor(); + + [propput, id(DISPID_IHTMLTABLE_BORDERCOLOR)] + void borderColor(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDERCOLOR)] + VARIANT borderColor(); + + [propput, id(DISPID_IHTMLTABLE_BORDERCOLORLIGHT)] + void borderColorLight(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDERCOLORLIGHT)] + VARIANT borderColorLight(); + + [propput, id(DISPID_IHTMLTABLE_BORDERCOLORDARK)] + void borderColorDark(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_BORDERCOLORDARK)] + VARIANT borderColorDark(); + + [propput, id(DISPID_IHTMLTABLE_ALIGN)] + void align(BSTR v); + + [propget, id(DISPID_IHTMLTABLE_ALIGN)] + BSTR align(); + + [id(DISPID_IHTMLTABLE_REFRESH)] + void refresh(); + + [propget, id(DISPID_IHTMLTABLE_ROWS)] + IHTMLElementCollection *rows(); + + [propput, id(DISPID_IHTMLTABLE_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_WIDTH)] + VARIANT width(); + + [propput, id(DISPID_IHTMLTABLE_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLTABLE_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLTABLE_DATAPAGESIZE)] + void dataPageSize(LONG v); + + [propget, id(DISPID_IHTMLTABLE_DATAPAGESIZE)] + LONG dataPageSize(); + + [id(DISPID_IHTMLTABLE_NEXTPAGE)] + void nextPage(); + + [id(DISPID_IHTMLTABLE_PREVIOUSPAGE)] + void previousPage(); + + [propget, id(DISPID_IHTMLTABLE_THEAD)] + IHTMLTableSection *tHead(); + + [propget, id(DISPID_IHTMLTABLE_TFOOT)] + IHTMLTableSection *tFoot(); + + [propget, id(DISPID_IHTMLTABLE_TBODIES)] + IHTMLElementCollection *tBodies(); + + [propget, id(DISPID_IHTMLTABLE_CAPTION)] + IHTMLTableCaption *caption(); + + [id(DISPID_IHTMLTABLE_CREATETHEAD)] + IDispatch *createTHead(); + + [id(DISPID_IHTMLTABLE_DELETETHEAD)] + void deleteTHead(); + + [id(DISPID_IHTMLTABLE_CREATETFOOT)] + IDispatch *createTFoot(); + + [id(DISPID_IHTMLTABLE_DELETETFOOT)] + void deleteTFoot(); + + [id(DISPID_IHTMLTABLE_CREATECAPTION)] + IHTMLTableCaption *createCaption(); + + [id(DISPID_IHTMLTABLE_DELETECAPTION)] + void deleteCaption(); + + [id(DISPID_IHTMLTABLE_INSERTROW)] + IDispatch *insertRow([in, defaultvalue(-1)] LONG index); + + [id(DISPID_IHTMLTABLE_DELETEROW)] + void deleteRow([in, defaultvalue(-1)] LONG index); + + [id(DISPID_IHTMLTABLE2_FIRSTPAGE)] + void firstPage(); + + [id(DISPID_IHTMLTABLE2_LASTPAGE)] + void lastPage(); + + [propget, id(DISPID_IHTMLTABLE2_CELLS)] + IHTMLElementCollection *cells(); + + [id(DISPID_IHTMLTABLE2_MOVEROW)] + IDispatch *moveRow( + [in, defaultvalue(-1)] LONG indexFrom, + [in, defaultvalue(-1)] LONG indexTo); + + [propput, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable] + void summary(BSTR v); + + [propget, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable] + BSTR summary(); +} + +/***************************************************************************** + * DispHTMLTableRow dispinterface + */ +[ + hidden, + uuid(3050f535-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLTableRow +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLTABLEROW_ALIGN)] + void align(BSTR v); + + [propget, id(DISPID_IHTMLTABLEROW_ALIGN)] + BSTR align(); + + [propput, id(DISPID_IHTMLTABLEROW_VALIGN)] + void vAlign(BSTR v); + + [propget, id(DISPID_IHTMLTABLEROW_VALIGN)] + BSTR vAlign(); + + [propput, id(DISPID_IHTMLTABLEROW_BGCOLOR)] + void bgColor(VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BGCOLOR)] + VARIANT bgColor(); + + [propput, id(DISPID_IHTMLTABLEROW_BORDERCOLOR)] + void borderColor(VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BORDERCOLOR)] + VARIANT borderColor(); + + [propput, id(DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT)] + void borderColorLight(VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT)] + VARIANT borderColorLight(); + + [propput, id(DISPID_IHTMLTABLEROW_BORDERCOLORDARK)] + void borderColorDark(VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW_BORDERCOLORDARK)] + VARIANT borderColorDark(); + + [propget, id(DISPID_IHTMLTABLEROW_ROWINDEX)] + LONG rowIndex(); + + [propget, id(DISPID_IHTMLTABLEROW_SECTIONROWINDEX)] + LONG sectionRowIndex(); + + [propget, id(DISPID_IHTMLTABLEROW_CELLS)] + IHTMLElementCollection *cells(); + + [id(DISPID_IHTMLTABLEROW_INSERTCELL)] + IDispatch *insertCell([in, defaultvalue(-1)] LONG index); + + [id(DISPID_IHTMLTABLEROW_DELETECELL)] + void deleteCell([in, defaultvalue(-1)] LONG index); + + [propput, id(DISPID_IHTMLTABLEROW2_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLTABLEROW2_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLTABLEROW3_CH), displaybind, bindable] + void ch(BSTR v); + + [propget, id(DISPID_IHTMLTABLEROW3_CH), displaybind, bindable] + BSTR ch(); + + [propput, id(DISPID_IHTMLTABLEROW3_CHOFF), displaybind, bindable] + void chOff(BSTR v); + + [propget, id(DISPID_IHTMLTABLEROW3_CHOFF), displaybind, bindable] + BSTR chOff(); +} + +/***************************************************************************** + * HTMLTableRow coclass + */ +[ + noncreatable, + uuid(3050f26d-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLTableRow +{ + [default] dispinterface DispHTMLTableRow; + /* [source, default] dispinterface HTMLControlElementEvents; */ + /* [source] dispinterface HTMLControlElementEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLTableRow; + /* interface IHTMLTableRowMetrics; */ + /* interface IHTMLTableRow2; */ + /* interface IHTMLTableRow3; */ + /* interface IHTMLTableRow4; */ +} + +/***************************************************************************** + * DispHTMLTableCell dispinterface + */ +[ + hidden, + uuid(3050f536-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLTableCell +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLTABLECELL_ROWSPAN)] + void rowSpan(long v); + + [propget, id(DISPID_IHTMLTABLECELL_ROWSPAN)] + long rowSpan(); + + [propput, id(DISPID_IHTMLTABLECELL_COLSPAN)] + void colSpan(long v); + + [propget, id(DISPID_IHTMLTABLECELL_COLSPAN)] + long colSpan(); + + [propput, id(DISPID_IHTMLTABLECELL_ALIGN)] + void align(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL_ALIGN)] + BSTR align(); + + [propput, id(DISPID_IHTMLTABLECELL_VALIGN)] + void vAlign(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL_VALIGN)] + BSTR vAlign(); + + [propput, id(DISPID_IHTMLTABLECELL_BGCOLOR)] + void bgColor(VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BGCOLOR)] + VARIANT bgColor(); + + [propput, id(DISPID_IHTMLTABLECELL_NOWRAP)] + void noWrap(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLTABLECELL_NOWRAP)] + VARIANT_BOOL noWrap(); + + [propput, id(DISPID_IHTMLTABLECELL_BACKGROUND)] + void background(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL_BACKGROUND)] + BSTR background(); + + [propput, id(DISPID_IHTMLTABLECELL_BORDERCOLOR)] + void borderColor(VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BORDERCOLOR)] + VARIANT borderColor(); + + [propput, id(DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT)] + void borderColorLight(VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT)] + VARIANT borderColorLight(); + + [propput, id(DISPID_IHTMLTABLECELL_BORDERCOLORDARK)] + void borderColorDark(VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_BORDERCOLORDARK)] + VARIANT borderColorDark(); + + [propput, id(DISPID_IHTMLTABLECELL_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_WIDTH)] + VARIANT width(); + + [propput, id(DISPID_IHTMLTABLECELL_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLTABLECELL_HEIGHT)] + VARIANT height(); + + [propget, id(DISPID_IHTMLTABLECELL_CELLINDEX)] + long cellIndex(); + + [propput, id(DISPID_IHTMLTABLECELL2_ABBR), displaybind, bindable] + void abbr(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL2_ABBR), displaybind, bindable] + BSTR abbr(); + + [propput, id(DISPID_IHTMLTABLECELL2_AXIS), displaybind, bindable] + void axis(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL2_AXIS), displaybind, bindable] + BSTR axis(); + + [propput, id(DISPID_IHTMLTABLECELL2_CH), displaybind, bindable] + void ch(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL2_CH), displaybind, bindable] + BSTR ch(); + + [propput, id(DISPID_IHTMLTABLECELL2_CHOFF), displaybind, bindable] + void chOff(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL2_CHOFF), displaybind, bindable] + BSTR chOff(); + + [propput, id(DISPID_IHTMLTABLECELL2_HEADERS), displaybind, bindable] + void headers(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL2_HEADERS), displaybind, bindable] + BSTR headers(); + + [propput, id(DISPID_IHTMLTABLECELL2_SCOPE), displaybind, bindable] + void scope(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL2_SCOPE), displaybind, bindable] + BSTR scope(); + + [propput, id(DISPID_IHTMLTABLECELL3_IE9_CH), displaybind, bindable] + void ie9_ch(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL3_IE9_CH), displaybind, bindable] + BSTR ie9_ch(); + + [propput, id(DISPID_IHTMLTABLECELL3_IE9_CHOFF), displaybind, bindable] + void ie9_chOff(BSTR v); + + [propget, id(DISPID_IHTMLTABLECELL3_IE9_CHOFF), displaybind, bindable] + BSTR ie9_chOff(); +} + +/***************************************************************************** + * HTMLTableCell coclass + */ +[ + noncreatable, + uuid(3050f246-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLTableCell +{ + [default] dispinterface DispHTMLTableCell; + [source, default] dispinterface HTMLTextContainerEvents; + [source] dispinterface HTMLTextContainerEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLTextContainer; + interface IHTMLTableCell; + /* interface IHTMLTableCell2; */ + /* interface IHTMLTableCell3; */ +} + +/***************************************************************************** + * IHTMLScriptElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f28b-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLScriptElement : IDispatch +{ + [propput, id(DISPID_IHTMLSCRIPTELEMENT_SRC), displaybind, bindable] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_SRC), displaybind, bindable] + HRESULT src([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_HTMLFOR), displaybind, bindable] + HRESULT htmlFor([in] BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_HTMLFOR), displaybind, bindable] + HRESULT htmlFor([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_EVENT), displaybind, bindable] + HRESULT event([in] BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_EVENT), displaybind, bindable] + HRESULT event([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_TEXT), displaybind, bindable] + HRESULT text([in] BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_TEXT), displaybind, bindable] + HRESULT text([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_DEFER), displaybind, bindable] + HRESULT defer([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_DEFER), displaybind, bindable] + HRESULT defer([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_TYPE), displaybind, bindable] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_TYPE), displaybind, bindable] + HRESULT type([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLScriptElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f828-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLScriptElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLSCRIPTELEMENT2_CHARSET), displaybind, bindable] + HRESULT charset([in] BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT2_CHARSET), displaybind, bindable] + HRESULT charset([retval, out] BSTR *p); +} + +/***************************************************************************** + * DispHTMLScriptElement dispinterface + */ +[ + hidden, + uuid(3050f530-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLScriptElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_SRC), displaybind, bindable] + void src(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_SRC), displaybind, bindable] + BSTR src(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_HTMLFOR), displaybind, bindable] + void htmlFor(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_HTMLFOR), displaybind, bindable] + BSTR htmlFor(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_EVENT), displaybind, bindable] + void event(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_EVENT), displaybind, bindable] + BSTR event(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_TEXT), displaybind, bindable] + void text(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_TEXT), displaybind, bindable] + BSTR text(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_DEFER), displaybind, bindable] + void defer(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_DEFER), displaybind, bindable] + VARIANT_BOOL defer(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT_TYPE), displaybind, bindable] + void type(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT_TYPE), displaybind, bindable] + BSTR type(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT2_CHARSET), displaybind, bindable] + void charset(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT2_CHARSET), displaybind, bindable] + BSTR charset(); + + [propput, id(DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC)] + void ie8_src(BSTR v); + + [propget, id(DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC)] + BSTR ie8_src(); +} + +/***************************************************************************** + * HTMLScriptElement coclass + */ +[ + noncreatable, + uuid(3050f28c-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLScriptElement +{ + [default] dispinterface DispHTMLScriptElement; + /* [source, default] dispinterface HTMLScriptEvents; */ + /* [source] dispinterface HTMLScriptEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLScriptElement; + interface IHTMLScriptElement2; + /* interface IHTMLScriptElement3; */ + /* interface IHTMLScriptElement4; */ +} + +/***************************************************************************** + * IHTMLObjectElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f24f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLObjectElement : IDispatch +{ + [propget, id(DISPID_IHTMLOBJECTELEMENT_OBJECT), hidden] + HRESULT object([retval, out] IDispatch **p); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CLASSID), hidden] + HRESULT classid([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_DATA), hidden] + HRESULT data([retval, out] BSTR *p); + + [propputref, id(DISPID_IHTMLOBJECTELEMENT_RECORDSET), hidden] + HRESULT recordset([in] IDispatch *v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_RECORDSET), hidden] + HRESULT recordset([retval, out] IDispatch **p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ALIGN), displaybind, bindable] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ALIGN), displaybind, bindable] + HRESULT align([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_CODEBASE), displaybind, bindable] + HRESULT codeBase([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CODEBASE), displaybind, bindable] + HRESULT codeBase([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_CODETYPE), displaybind, bindable] + HRESULT codeType([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CODETYPE), displaybind, bindable] + HRESULT codeType([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_CODE), displaybind, bindable] + HRESULT code([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CODE), displaybind, bindable] + HRESULT code([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_BASEHREF)] + HRESULT BaseHref([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_TYPE), displaybind, bindable] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_TYPE), displaybind, bindable] + HRESULT type([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_WIDTH)] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_WIDTH)] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_HEIGHT)] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_HEIGHT)] + HRESULT height([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_READYSTATE), hidden] + HRESULT readyState([retval, out] long *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ALTHTML)] + HRESULT altHtml([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ALTHTML)] + HRESULT altHtml([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_VSPACE)] + HRESULT vspace([in] long v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_VSPACE)] + HRESULT vspace([retval, out] long *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_HSPACE)] + HRESULT hspace([in] long v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_HSPACE)] + HRESULT hspace([retval, out] long *p); +} + +/***************************************************************************** + * IHTMLObjectElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4cd-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLObjectElement2 : IDispatch +{ + [id(DISPID_IHTMLOBJECTELEMENT2_NAMEDRECORDSET)] + HRESULT namedRecordset( + [in] BSTR dataMember, + [in, optional] VARIANT *hierarchy, + [out, retval] IDispatch **ppRecordset); + + [propput, id(DISPID_IHTMLOBJECTELEMENT2_CLASSID), hidden] + HRESULT classid([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT2_CLASSID), hidden] + HRESULT classid([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLOBJECTELEMENT2_DATA), hidden] + HRESULT data([in] BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT2_DATA), hidden] + HRESULT data([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLDivElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f200-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDivElement : IDispatch +{ + [propput, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + HRESULT align([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + HRESULT noWrap([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + HRESULT noWrap([out, retval] VARIANT_BOOL *p); +} + +/***************************************************************************** + * DispHTMLDivElement dispinterface + */ +[ + hidden, + uuid(3050f50c-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLDivElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + void align(BSTR v); + + [propget, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + BSTR align(); + + [propput, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + void noWrap(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + VARIANT_BOOL noWrap(); +} + +/***************************************************************************** + * IHTMLParamElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f83d-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLParamElement : IDispatch +{ + [propput, id(DISPID_IHTMLPARAMELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLPARAMELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLPARAMELEMENT_TYPE), displaybind, bindable] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_TYPE), displaybind, bindable] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLPARAMELEMENT_VALUETYPE), displaybind, bindable] + HRESULT valueType([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_VALUETYPE), displaybind, bindable] + HRESULT valueType([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLParamElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510444-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLParamElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLPARAMELEMENT2_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT2_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLPARAMELEMENT2_TYPE), displaybind, bindable] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT2_TYPE), displaybind, bindable] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLPARAMELEMENT2_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT2_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE)] + HRESULT valueType([in] BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE)] + HRESULT valueType([retval, out] BSTR *p); +} + +/***************************************************************************** + * DispHTMLObjectElement dispinterface + */ +[ + hidden, + uuid(3050f529-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLObjectElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propget, id(DISPID_IHTMLOBJECTELEMENT_OBJECT), hidden] + IDispatch *object(); + + [propputref, id(DISPID_IHTMLOBJECTELEMENT_RECORDSET), hidden] + void recordset(IDispatch *v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_RECORDSET), hidden] + IDispatch *recordset(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ALIGN), displaybind, bindable] + void align(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ALIGN), displaybind, bindable] + BSTR align(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_CODEBASE), displaybind, bindable] + void codeBase(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CODEBASE), displaybind, bindable] + BSTR codeBase(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_CODETYPE), displaybind, bindable] + void codeType(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CODETYPE), displaybind, bindable] + BSTR codeType(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_CODE), displaybind, bindable] + void code(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_CODE), displaybind, bindable] + BSTR code(); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_BASEHREF)] + BSTR BaseHref(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_TYPE), displaybind, bindable] + void type(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_TYPE), displaybind, bindable] + BSTR type(); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_FORM)] + IHTMLFormElement *form(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_WIDTH)] + VARIANT width(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_ALTHTML)] + void altHtml(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_ALTHTML)] + BSTR altHtml(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_VSPACE)] + void vspace(long v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_VSPACE)] + long vspace(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT_HSPACE)] + void hspace(long v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT_HSPACE)] + long hspace(); + + [id(DISPID_IHTMLOBJECTELEMENT2_NAMEDRECORDSET)] + IDispatch *namedRecordset( + [in] BSTR dataMember, + [optional, in] VARIANT *hierarchy); + + [propput, id(DISPID_IHTMLOBJECTELEMENT2_CLASSID), hidden] + void classid(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT2_CLASSID), hidden] + BSTR classid(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT2_DATA), hidden] + void data(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT2_DATA), hidden] + BSTR data(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT3_ARCHIVE), displaybind, bindable] + void archive(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT3_ARCHIVE), displaybind, bindable] + BSTR archive(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT3_ALT), displaybind, bindable] + void alt(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT3_ALT), displaybind, bindable] + BSTR alt(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT3_DECLARE), displaybind, bindable] + void declare(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT3_DECLARE), displaybind, bindable] + VARIANT_BOOL declare(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT3_STANDBY), displaybind, bindable] + void standby(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT3_STANDBY), displaybind, bindable] + BSTR standby(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT3_BORDER)] + void border(VARIANT v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT3_BORDER)] + VARIANT border(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT3_USEMAP), displaybind, bindable] + void useMap(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT3_USEMAP), displaybind, bindable] + BSTR useMap(); + + [propget, id(DISPID_IHTMLOBJECTELEMENT4_CONTENTDOCUMENT)] + IDispatch *contentDocument(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT4_IE8_CODEBASE)] + void ie8_codeBase(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT4_IE8_CODEBASE)] + BSTR ie8_codeBase(); + + [propput, id(DISPID_IHTMLOBJECTELEMENT4_IE8_DATA)] + void ie8_data(BSTR v); + + [propget, id(DISPID_IHTMLOBJECTELEMENT4_IE8_DATA)] + BSTR ie8_data(); +} + +/***************************************************************************** + * HTMLObjectElement coclass + */ +[ + noncreatable, + uuid(3050f24e-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLObjectElement +{ + [default] dispinterface DispHTMLObjectElement; + /* [source, default] dispinterface HTMLObjectElementEvents; */ + /* [source] dispinterface HTMLObjectElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLObjectElement; + interface IHTMLObjectElement2; + /* interface IHTMLObjectElement3; */ + /* interface IHTMLObjectElement4; */ + /* interface IGetSVGDocument; */ + /* interface IHTMLObjectElement5; */ +} + +/***************************************************************************** + * DispHTMLParamElement dispinterface + */ +[ + hidden, + uuid(3050f590-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLParamElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLPARAMELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLPARAMELEMENT_VALUE), displaybind, bindable] + void value(BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_VALUE), displaybind, bindable] + BSTR value(); + + [propput, id(DISPID_IHTMLPARAMELEMENT_TYPE), displaybind, bindable] + void type(BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_TYPE), displaybind, bindable] + BSTR type(); + + [propput, id(DISPID_IHTMLPARAMELEMENT_VALUETYPE), displaybind, bindable] + void valueType(BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT_VALUETYPE), displaybind, bindable] + BSTR valueType(); + + [propput, id(DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE)] + void ie8_valueType(BSTR v); + + [propget, id(DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE)] + BSTR ie8_valueType(); +} + +/***************************************************************************** + * IHTMLFrameBase interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f311-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLFrameBase : IDispatch +{ + [propput, id(DISPID_IHTMLFRAMEBASE_SRC)] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEBASE_SRC)] + HRESULT src([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_NAME)] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEBASE_NAME)] + HRESULT name([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_BORDER)] + HRESULT border([in] VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEBASE_BORDER)] + HRESULT border([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)] + HRESULT frameBorder([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)] + HRESULT frameBorder([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)] + HRESULT frameSpacing([in] VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)] + HRESULT frameSpacing([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)] + HRESULT marginWidth([in] VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)] + HRESULT marginWidth([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)] + HRESULT marginHeight([in] VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)] + HRESULT marginHeight([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_NORESIZE)] + HRESULT noResize([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLFRAMEBASE_NORESIZE)] + HRESULT noResize([out, retval] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLFRAMEBASE_SCROLLING)] + HRESULT scrolling([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEBASE_SCROLLING)] + HRESULT scrolling([out, retval] BSTR *p); +} + +#define WINE_IHTMLFRAMEBASE_DISPINTERFACE_DECL \ + [propput, id(DISPID_IHTMLFRAMEBASE_SRC)] \ + void src(BSTR v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_SRC)] \ + BSTR src(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_NAME)] \ + void name(BSTR v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_NAME)] \ + BSTR name(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_BORDER)] \ + void border(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_BORDER)] \ + VARIANT border(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)] \ + void frameBorder(BSTR v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)] \ + BSTR frameBorder(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)] \ + void frameSpacing(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)] \ + VARIANT frameSpacing(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)] \ + void marginWidth(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)] \ + VARIANT marginWidth(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)] \ + void marginHeight(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)] \ + VARIANT marginHeight(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_NORESIZE)] \ + void noResize(VARIANT_BOOL v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_NORESIZE)] \ + VARIANT_BOOL noResize(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE_SCROLLING)] \ + void scrolling(BSTR v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE_SCROLLING)] \ + BSTR scrolling() + +/***************************************************************************** + * IHTMLFrameBase2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f6db-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLFrameBase2 : IDispatch +{ + [propget, id(DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW)] + HRESULT contentWindow([retval, out] IHTMLWindow2 **p); + + [propput, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable] + HRESULT onload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLFRAMEBASE2_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEBASE2_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLFRAMEBASE2_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)] + HRESULT allowTransparency([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)] + HRESULT allowTransparency([retval, out] VARIANT_BOOL *p); +} + +#define WINE_IHTMLFRAMEBASE2_DISPINTERFACE_DECL \ + [propget, id(DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW)] \ + IHTMLWindow2 *contentWindow(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable] \ + void onload(VARIANT v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable] \ + VARIANT onload(); \ + \ + [propput, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)] \ + void allowTransparency(VARIANT_BOOL v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)] \ + VARIANT_BOOL allowTransparency() + +#define WINE_IHTMLFRAMEBASE3_DISPINTERFACE_DECL \ + [propput, id(DISPID_IHTMLFRAMEBASE3_LONGDESC), displaybind, bindable] \ + void longDesc(BSTR v); \ + \ + [propget, id(DISPID_IHTMLFRAMEBASE3_LONGDESC), displaybind, bindable] \ + BSTR longDesc() + + +#define WINE_HTMLFRAMEBASE_DISPINTERFACE_DECL \ + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; \ + WINE_IHTMLFRAMEBASE_DISPINTERFACE_DECL; \ + WINE_IHTMLFRAMEBASE2_DISPINTERFACE_DECL; \ + WINE_IHTMLFRAMEBASE3_DISPINTERFACE_DECL + +/***************************************************************************** + * IHTMLFrameElement3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051042d-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLFrameElement3 : IDispatch +{ + [propget, id(DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT)] + HRESULT contentDocument([out, retval] IDispatch **p); + + [propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)] + HRESULT src([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)] + HRESULT longDesc([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)] + HRESULT longDesc([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)] + HRESULT frameBorder([in] BSTR v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)] + HRESULT frameBorder([out, retval] BSTR * p); +} + +/***************************************************************************** + * DispHTMLFrameElement dispinterface + */ +[ + hidden, + uuid(3050f513-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLFrameElement +{ +properties: +methods: + WINE_HTMLFRAMEBASE_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR)] + void borderColor(VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR)] + VARIANT borderColor(); + + [propput, id(DISPID_IHTMLFRAMEELEMENT2_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT2_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLFRAMEELEMENT2_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT2_WIDTH)] + VARIANT width(); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT)] + IDispatch *contentDocument(); + + [propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)] + void ie8_src(BSTR v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)] + BSTR ie8_src(); + + [propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)] + void ie8_longDesc(BSTR v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)] + BSTR ie8_longDesc(); + + [propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)] + void ie8_frameBorder(BSTR v); + + [propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)] + BSTR ie8_frameBorder(); +} + +/***************************************************************************** + * HTMLFrameElement coclass + */ +[ + noncreatable, + uuid(3050f314-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLFrameElement +{ + [default] dispinterface DispHTMLFrameElement; + /* [source, default] dispinterface HTMLControlElementEvents; */ + /* [source] dispinterface HTMLControlElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLFrameBase; + interface IHTMLFrameBase2; + /* interface IHTMLFrameBase3; */ + /* interface IHTMLFrameElement; */ + /* interface IHTMLFrameElement2; */ + interface IHTMLFrameElement3; + /* interface IGetSVGDocument; */ +} + +/***************************************************************************** + * IHTMLIFrameElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f315-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLIFrameElement : IDispatch +{ + [propput, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)] + HRESULT vspace([in] LONG v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)] + HRESULT vspace([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT_HSPACE)] + HRESULT hspace([in] LONG v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT_HSPACE)] + HRESULT hspace([retval, out] LONG *p); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT_ALIGN), displaybind, bindable] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT_ALIGN), displaybind, bindable] + HRESULT align([retval, out] BSTR *p); +} + +/***************************************************************************** + * IHTMLIFrameElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f4e6-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLIFrameElement2 : IDispatch +{ + [propput, id(DISPID_IHTMLIFRAMEELEMENT2_HEIGHT)] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT2_HEIGHT)] + HRESULT height([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT2_WIDTH)] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT2_WIDTH)] + HRESULT width([out, retval] VARIANT *p); +} + +/***************************************************************************** + * IHTMLIFrameElement3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510433-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLIFrameElement3 : IDispatch +{ + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_CONTENTDOCUMENT)] + HRESULT contentDocument([out, retval] IDispatch **p); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC)] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC)] + HRESULT src([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC)] + HRESULT longDesc([in] BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC)] + HRESULT longDesc([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER)] + HRESULT frameBorder([in] BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER)] + HRESULT frameBorder([out, retval] BSTR *p); +} + +/***************************************************************************** + * DispHTMLIFrame dispinterface + */ +[ + hidden, + uuid(3050f51b-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLIFrame +{ +properties: +methods: + WINE_HTMLFRAMEBASE_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)] + void vspace(LONG v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)] + LONG vspace(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT_HSPACE)] + void hspace(LONG v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT_HSPACE)] + LONG hspace(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT_ALIGN), displaybind, bindable] + void align(BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT_ALIGN), displaybind, bindable] + BSTR align(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT2_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT2_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT2_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT2_WIDTH)] + VARIANT width(); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_CONTENTDOCUMENT)] + IDispatch *contentDocument(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC)] + void ie8_src(BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC)] + BSTR ie8_src(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC)] + void ie8_longDesc(BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC)] + BSTR ie8_longDesc(); + + [propput, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER)] + void ie8_frameBorder(BSTR v); + + [propget, id(DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER)] + BSTR ie8_frameBorder(); +} + +/***************************************************************************** + * HTMLIFrame coclass + */ +[ + noncreatable, + uuid(3050f316-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLIFrame +{ + [default] dispinterface DispHTMLIFrame; + /* [source, default] dispinterface HTMLControlElementEvents; */ + /* [source] dispinterface HTMLControlElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLFrameBase; + interface IHTMLFrameBase2; + /* interface IHTMLFrameBase3; */ + interface IHTMLIFrameElement; + interface IHTMLIFrameElement2; + interface IHTMLIFrameElement3; + /* interface IGetSVGDocument; */ +} + +/***************************************************************************** + * IHTMLStyleElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f375-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStyleElement : IDispatch +{ + [propput, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable] + HRESULT type([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable] + HRESULT type([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_READYSTATE)] + HRESULT readyState([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE), displaybind, bindable] + HRESULT onreadystatechange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable] + HRESULT onload([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable] + HRESULT onerror([retval, out] VARIANT *p); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_STYLESHEET)] + HRESULT styleSheet([retval, out] IHTMLStyleSheet **p); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable] + HRESULT media([in] BSTR v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable] + HRESULT media([retval, out] BSTR *p); +} + +/***************************************************************************** + * DispHTMLStyleElement dispinterface + */ +[ + hidden, + uuid(3050f511-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLStyleElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable] + void type(BSTR v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable] + BSTR type(); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable] + void onload(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable] + VARIANT onload(); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable] + void onerror(VARIANT v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable] + VARIANT onerror(); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_STYLESHEET)] + IHTMLStyleSheet *styleSheet(); + + [propput, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable] + void media(BSTR v); + + [propget, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable] + BSTR media(); +} + +/***************************************************************************** + * HTMLStyleElement coclass + */ +[ + noncreatable, + uuid(3050f37d-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleElement +{ + [default] dispinterface DispHTMLStyleElement; + /* [source, default] dispinterface HTMLStyleElementEvents; */ + /* [source] dispinterface HTMLStyleElementEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLStyleElement; + /* interface IHTMLStyleElement2; */ +} + +/***************************************************************************** + * IHTMLStorage interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510474-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLStorage : IDispatch +{ + [propget, id(DISPID_IHTMLSTORAGE_LENGTH), hidden] + HRESULT length([out, retval] long *p); + + [propget, id(DISPID_IHTMLSTORAGE_REMAININGSPACE), hidden] + HRESULT remainingSpace([out, retval] long *p); + + [id(DISPID_IHTMLSTORAGE_KEY)] + HRESULT key( + [in] long lIndex, + [out, retval] BSTR *); + + [id(DISPID_IHTMLSTORAGE_GETITEM)] + HRESULT getItem( + [in] BSTR bstrKey, + [out, retval] VARIANT *); + + [id(DISPID_IHTMLSTORAGE_SETITEM)] + HRESULT setItem( + [in] BSTR bstrKey, + [in] BSTR bstrValue); + + [id(DISPID_IHTMLSTORAGE_REMOVEITEM)] + HRESULT removeItem([in] BSTR bstrKey); + + [id(DISPID_IHTMLSTORAGE_CLEAR)] + HRESULT clear(); +} + +/***************************************************************************** + * IDOMEventTarget interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104b9-98b5-11cf-bb82-00aa00bdce0b) +] +interface IEventTarget : IDispatch +{ + [id(DISPID_IEVENTTARGET_ADDEVENTLISTENER)] + HRESULT addEventListener( + [in] BSTR type, + [in] IDispatch *listener, + [in] VARIANT_BOOL useCapture); + + [id(DISPID_IEVENTTARGET_REMOVEEVENTLISTENER)] + HRESULT removeEventListener( + [in] BSTR type, + [in] IDispatch *listener, + [in] VARIANT_BOOL useCapture); + + [id(DISPID_IEVENTTARGET_DISPATCHEVENT)] + HRESULT dispatchEvent( + [in] IDOMEvent *evt, + [out, retval] VARIANT_BOOL *pfResult); +} + +/***************************************************************************** + * IDOMEvent interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104ba-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDOMEvent : IDispatch +{ + [propget, id(DISPID_IDOMEVENT_BUBBLES)] + HRESULT bubbles([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IDOMEVENT_CANCELABLE)] + HRESULT cancelable([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IDOMEVENT_CURRENTTARGET)] + HRESULT currentTarget([out, retval] IEventTarget **p); + + [propget, id(DISPID_IDOMEVENT_DEFAULTPREVENTED)] + HRESULT defaultPrevented([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IDOMEVENT_EVENTPHASE)] + HRESULT eventPhase([out, retval] USHORT *p); + + [propget, id(DISPID_IDOMEVENT_TARGET)] + HRESULT target([out, retval] IEventTarget **p); + + [propget, id(DISPID_IDOMEVENT_TIMESTAMP)] + HRESULT timeStamp([out, retval] ULONGLONG *p); + + [propget, id(DISPID_IDOMEVENT_TYPE)] + HRESULT type([out, retval] BSTR *p); + + [id(DISPID_IDOMEVENT_INITEVENT)] + HRESULT initEvent( + [in] BSTR eventType, + [in] VARIANT_BOOL canBubble, + [in] VARIANT_BOOL cancelable); + + [id(DISPID_IDOMEVENT_PREVENTDEFAULT)] + HRESULT preventDefault(); + + [id(DISPID_IDOMEVENT_STOPPROPAGATION)] + HRESULT stopPropagation(); + + [id(DISPID_IDOMEVENT_STOPIMMEDIATEPROPAGATION)] + HRESULT stopImmediatePropagation(); + + [propget, id(DISPID_IDOMEVENT_ISTRUSTED)] + HRESULT isTrusted([out, retval] VARIANT_BOOL *p); + + [propput, id(DISPID_IDOMEVENT_CANCELBUBBLE)] + HRESULT cancelBubble([in] VARIANT_BOOL v); + + [propget, id(DISPID_IDOMEVENT_CANCELBUBBLE)] + HRESULT cancelBubble([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IDOMEVENT_SRCELEMENT)] + HRESULT srcElement([out, retval] IHTMLElement **p); +} + +[ + odl, + oleautomation, + dual, + uuid(30510720-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDOMMessageEvent : IDispatch +{ + [propget, id(DISPID_IDOMMESSAGEEVENT_DATA)] + HRESULT data([out, retval] BSTR *p); + + [propget, id(DISPID_IDOMMESSAGEEVENT_ORIGIN)] + HRESULT origin([out, retval] BSTR *p); + + [propget, id(DISPID_IDOMMESSAGEEVENT_SOURCE)] + HRESULT source([out, retval] IHTMLWindow2 **p); + + [id(DISPID_IDOMMESSAGEEVENT_INITMESSAGEEVENT)] + HRESULT initMessageEvent( + [in] BSTR eventType, + [in] VARIANT_BOOL canBubble, + [in] VARIANT_BOOL cancelable, + [in] BSTR data, + [in] BSTR origin, + [in] BSTR lastEventId, + [in] IHTMLWindow2 *source); +} + +/***************************************************************************** + * IMarkupContainer interface + */ +[ + object, + pointer_default(unique), + uuid(3050f5f9-98b5-11cf-bb82-00aa00bdce0B) +] +interface IMarkupContainer : IUnknown +{ + HRESULT OwningDoc([out] IHTMLDocument2 **ppDoc); +} + +/***************************************************************************** + * IMarkupPointer interface + */ +[ + object, + pointer_default(unique), + uuid(3050f49f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IMarkupPointer : IUnknown +{ + HRESULT OwningDoc([out] IHTMLDocument2 **ppDoc); + + HRESULT Gravity([out] POINTER_GRAVITY *pGravity); + + HRESULT SetGravity([in] POINTER_GRAVITY Gravity); + + HRESULT Cling([out] BOOL *pfCling); + + HRESULT SetCling([in] BOOL fCLing); + + HRESULT UnPosition(); + + HRESULT IsPositioned([out] BOOL *pfPositioned); + + HRESULT GetContainer([out] IMarkupContainer **ppContainer); + + HRESULT MoveAdjacentToElement( + [in] IHTMLElement *pElement, + [in] ELEMENT_ADJACENCY eAdj); + + HRESULT MoveToPointer([in] IMarkupPointer *pPointer); + + HRESULT MoveToContainer( + [in] IMarkupContainer *pContainer, + [in] BOOL fAtStart); + + HRESULT Left( + [in] BOOL fMove, + [out] MARKUP_CONTEXT_TYPE *pContext, + [out] IHTMLElement **ppElement, + [in, out] LONG *pcch, + [out, size_is(*pcch)] OLECHAR *pchText); + + HRESULT Right( + [in] BOOL fMove, + [out] MARKUP_CONTEXT_TYPE *pContext, + [out] IHTMLElement **ppElement, + [in, out] LONG *pcch, + [out, size_is(*pcch)] OLECHAR *pchText); + + HRESULT CurrentScope([out] IHTMLElement **ppElemCurrent); + + HRESULT IsLeftOf( + [in] IMarkupPointer *pPointerThat, + [out] BOOL *pfResult); + + HRESULT IsLeftOfOrEqualTo( + [in] IMarkupPointer *pPointerThat, + [out] BOOL *pfResult); + + HRESULT IsRightOf( + [in] IMarkupPointer *pPointerThat, + [out] BOOL *pfResult); + + HRESULT IsRightOfOrEqualTo( + [in] IMarkupPointer *pPointerThat, + [out] BOOL *pfResult); + + HRESULT IsEqualTo( + [in] IMarkupPointer *pPointerThat, + [out] BOOL *pfAreEqual); + + HRESULT MoveUnit([in] MOVEUNIT_ACTION muAction); + + HRESULT FindText( + [in] OLECHAR *pchFindText, + [in] DWORD dwFlags, + [in] IMarkupPointer *pIEndMatch, + [in] IMarkupPointer *pIEndSearch); +} + +/***************************************************************************** + * IHTMLDOMConstructorCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3051049c-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMConstructorCollection : IDispatch +{ + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_ATTR)] + HRESULT Attr([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_BEHAVIORURNSCOLLECTION)] + HRESULT BehaviorUrnsCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_BOOKMARKCOLLECTION)] + HRESULT BookmarkCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_COMPATIBLEINFO)] + HRESULT CompatibleInfo([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_COMPATIBLEINFOCOLLECTION)] + HRESULT CompatibleInfoCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CONTROLRANGECOLLECTION)] + HRESULT ControlRangeCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSCURRENTSTYLEDECLARATION)] + HRESULT CSSCurrentStyleDeclaration([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSRULELIST)] + HRESULT CSSRuleList([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSRULESTYLEDECLARATION)] + HRESULT CSSRuleStyleDeclaration([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSSTYLEDECLARATION)] + HRESULT CSSStyleDeclaration([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSSTYLERULE)] + HRESULT CSSStyleRule([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_CSSSTYLESHEET)] + HRESULT CSSStyleSheet([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_DATATRANSFER)] + HRESULT DataTransfer([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_DOMIMPLEMENTATION)] + HRESULT DOMImplementation([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_ELEMENT)] + HRESULT Element([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_EVENT)] + HRESULT Event([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HISTORY)] + HRESULT History([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTCELEMENTBEHAVIORDEFAULTS)] + HRESULT HTCElementBehaviorDefaults([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLANCHORELEMENT)] + HRESULT HTMLAnchorElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLAREAELEMENT)] + HRESULT HTMLAreaElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLAREASCOLLECTION)] + HRESULT HTMLAreasCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBASEELEMENT)] + HRESULT HTMLBaseElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBASEFONTELEMENT)] + HRESULT HTMLBaseFontElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBGSOUNDELEMENT)] + HRESULT HTMLBGSoundElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBLOCKELEMENT)] + HRESULT HTMLBlockElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBODYELEMENT)] + HRESULT HTMLBodyElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBRELEMENT)] + HRESULT HTMLBRElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLBUTTONELEMENT)] + HRESULT HTMLButtonElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLCOLLECTION)] + HRESULT HTMLCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLCOMMENTELEMENT)] + HRESULT HTMLCommentElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDDELEMENT)] + HRESULT HTMLDDElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDIVELEMENT)] + HRESULT HTMLDivElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDOCUMENT)] + HRESULT HTMLDocument([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDLISTELEMENT)] + HRESULT HTMLDListElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLDTELEMENT)] + HRESULT HTMLDTElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLEMBEDELEMENT)] + HRESULT HTMLEmbedElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFIELDSETELEMENT)] + HRESULT HTMLFieldSetElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFONTELEMENT)] + HRESULT HTMLFontElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFORMELEMENT)] + HRESULT HTMLFormElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFRAMEELEMENT)] + HRESULT HTMLFrameElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLFRAMESETELEMENT)] + HRESULT HTMLFrameSetElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLGENERICELEMENT)] + HRESULT HTMLGenericElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHEADELEMENT)] + HRESULT HTMLHeadElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHEADINGELEMENT)] + HRESULT HTMLHeadingElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHRELEMENT)] + HRESULT HTMLHRElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLHTMLELEMENT)] + HRESULT HTMLHtmlElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLIFRAMEELEMENT)] + HRESULT HTMLIFrameElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLIMAGEELEMENT)] + HRESULT HTMLImageElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLINPUTELEMENT)] + HRESULT HTMLInputElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLISINDEXELEMENT)] + HRESULT HTMLIsIndexElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLABELELEMENT)] + HRESULT HTMLLabelElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLEGENDELEMENT)] + HRESULT HTMLLegendElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLIELEMENT)] + HRESULT HTMLLIElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLLINKELEMENT)] + HRESULT HTMLLinkElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMAPELEMENT)] + HRESULT HTMLMapElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMARQUEEELEMENT)] + HRESULT HTMLMarqueeElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMETAELEMENT)] + HRESULT HTMLMetaElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLMODELESSDIALOG)] + HRESULT HTMLModelessDialog([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNAMESPACEINFO)] + HRESULT HTMLNamespaceInfo([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNAMESPACEINFOCOLLECTION)] + HRESULT HTMLNamespaceInfoCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNEXTIDELEMENT)] + HRESULT HTMLNextIdElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLNOSHOWELEMENT)] + HRESULT HTMLNoShowElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLOBJECTELEMENT)] + HRESULT HTMLObjectElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLOLISTELEMENT)] + HRESULT HTMLOListElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLOPTIONELEMENT)] + HRESULT HTMLOptionElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPARAGRAPHELEMENT)] + HRESULT HTMLParagraphElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPARAMELEMENT)] + HRESULT HTMLParamElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPHRASEELEMENT)] + HRESULT HTMLPhraseElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPLUGINSCOLLECTION)] + HRESULT HTMLPluginsCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLPOPUP)] + HRESULT HTMLPopup([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSCRIPTELEMENT)] + HRESULT HTMLScriptElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSELECTELEMENT)] + HRESULT HTMLSelectElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSPANELEMENT)] + HRESULT HTMLSpanElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLSTYLEELEMENT)] + HRESULT HTMLStyleElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLECAPTIONELEMENT)] + HRESULT HTMLTableCaptionElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLECELLELEMENT)] + HRESULT HTMLTableCellElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLECOLELEMENT)] + HRESULT HTMLTableColElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLEELEMENT)] + HRESULT HTMLTableElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLEROWELEMENT)] + HRESULT HTMLTableRowElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTABLESECTIONELEMENT)] + HRESULT HTMLTableSectionElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTEXTAREAELEMENT)] + HRESULT HTMLTextAreaElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTEXTELEMENT)] + HRESULT HTMLTextElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLTITLEELEMENT)] + HRESULT HTMLTitleElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLULISTELEMENT)] + HRESULT HTMLUListElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_HTMLUNKNOWNELEMENT)] + HRESULT HTMLUnknownElement([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_IMAGE)] + HRESULT Image([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_LOCATION)] + HRESULT Location([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_NAMEDNODEMAP)] + HRESULT NamedNodeMap([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_NAVIGATOR)] + HRESULT Navigator([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_NODELIST)] + HRESULT NodeList([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_OPTION)] + HRESULT Option([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_SCREEN)] + HRESULT Screen([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_SELECTION)] + HRESULT Selection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STATICNODELIST)] + HRESULT StaticNodeList([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STORAGE)] + HRESULT Storage([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STYLESHEETLIST)] + HRESULT StyleSheetList([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STYLESHEETPAGE)] + HRESULT StyleSheetPage([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_STYLESHEETPAGELIST)] + HRESULT StyleSheetPageList([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXT)] + HRESULT Text([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRANGE)] + HRESULT TextRange([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRANGECOLLECTION)] + HRESULT TextRangeCollection([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRECTANGLE)] + HRESULT TextRectangle([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_TEXTRECTANGLELIST)] + HRESULT TextRectangleList([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_WINDOW)] + HRESULT Window([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_XDOMAINREQUEST)] + HRESULT XDomainRequest([out, retval] IDispatch **p); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_XMLHTTPREQUEST)] + HRESULT XMLHttpRequest([out, retval] IDispatch **p); +} + +/***************************************************************************** + * IXMLGenericParse interface + */ +[ + object, + pointer_default(unique), + uuid(E4E23071-4D07-11d2-AE76-0080C73BC199) +] +interface IXMLGenericParse : IUnknown +{ + HRESULT SetGenericParse( + [in] VARIANT_BOOL fDoGeneric); +} + +/***************************************************************************** + * ISegment interface + */ +[ + object, + pointer_default(unique), + uuid(3050f683-98b5-11cf-bb82-00aa00bdce0b) +] +interface ISegment : IUnknown +{ + HRESULT GetPointers( + [in] IMarkupPointer *pIStart, + [in] IMarkupPointer *pIEnd); +} + +/***************************************************************************** + * IElementSegment interface + */ +[ + object, + pointer_default(unique), + uuid(3050f68f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IElementSegment : ISegment +{ + HRESULT GetElement([out] IHTMLElement **ppIElement); + + HRESULT SetPrimary([in] BOOL fPrimary); + + HRESULT IsPrimary([out] BOOL *pfPrimary); +} + +/***************************************************************************** + * ISelectionServicesListener interface + */ +[ + object, + pointer_default(unique), + uuid(3050f699-98b5-11cf-bb82-00aa00bdce0b) +] +interface ISelectionServicesListener : IUnknown +{ + HRESULT BeginSelectionUndo(); + + HRESULT EndSelectionUndo(); + + HRESULT OnSelectedElementExit( + [in] IMarkupPointer *pIElementStart, + [in] IMarkupPointer *pIElementEnd, + [in] IMarkupPointer *pIElementContentStart, + [in] IMarkupPointer *pIElementContentEnd); + + HRESULT OnChangeType( + [in] SELECTION_TYPE eType, + [in] ISelectionServicesListener *pIListener); + + HRESULT GetTypeDetail([out] BSTR *pTypeDetail); +} + +/***************************************************************************** + * ISelectionServices interface + */ +[ + object, + pointer_default(unique), + uuid(3050f684-98b5-11cf-bb82-00aa00bdce0b) +] +interface ISelectionServices : IUnknown +{ + HRESULT SetSelectionType( + [in] SELECTION_TYPE eType, + [in] ISelectionServicesListener *pIListener); + + HRESULT GetMarkupContainer([out] IMarkupContainer **ppIContainer); + + HRESULT AddSegment( + [in] IMarkupPointer *pIStart, + [in] IMarkupPointer *pIEnd, + [out] ISegment **ppISegmentAdded); + + HRESULT AddElementSegment( + [in] IHTMLElement *pIElement, + [out] IElementSegment **ppISegmentAdded); + + HRESULT RemoveSegment([in] ISegment *pISegment); + + HRESULT GetSelectionServicesListener([out] ISelectionServicesListener **ppISelectionServicesListener); +} + +/***************************************************************************** + * IHTMLEditDesigner interface + */ +[ + object, + pointer_default(unique), + uuid(3050f662-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLEditDesigner : IUnknown +{ + HRESULT PreHandleEvent( + [in] DISPID inEvtDispId, + [in] IHTMLEventObj *pIEventObj); + + HRESULT PostHandleEvent( + [in] DISPID inEvtDispId, + [in] IHTMLEventObj *pIEventObj); + + HRESULT TranslateAccelerator( + [in] DISPID inEvtDispId, + [in] IHTMLEventObj *pIEventObj); + + HRESULT PostEditorEventNotify( + [in] DISPID inEvtDispId, + [in] IHTMLEventObj *pIEventObj); +} + +/***************************************************************************** + * IHTMLEditServices interface + */ +[ + object, + pointer_default(unique), + uuid(3050f663-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLEditServices : IUnknown +{ + HRESULT AddDesigner([in] IHTMLEditDesigner *pIDesigner); + + HRESULT RemoveDesigner([in] IHTMLEditDesigner *pIDesigner); + + HRESULT GetSelectionServices( + [in] IMarkupContainer *pIContainer, + [out] ISelectionServices **ppSelSvc); + + HRESULT MoveToSelectionAnchor([in] IMarkupPointer *pIStartAnchor); + + HRESULT MoveToSelectionEnd([in] IMarkupPointer *pIEndAnchor); + + HRESULT SelectRange( + [in] IMarkupPointer* pStart, + [in] IMarkupPointer* pEnd, + [in] SELECTION_TYPE eType); +} + +/***************************************************************************** + * IElementBehaviorSite interface + */ +[ + odl, + uuid(3050F427-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IElementBehaviorSite : IUnknown { + HRESULT GetElement([out, retval] IHTMLElement **ppElement); + HRESULT RegisterNotification([in] long lEvent); +} + +/***************************************************************************** + * IElementBehavior interface + */ +[ + odl, + uuid(3050F425-98B5-11CF-BB82-00AA00BDCE0B) +] +interface IElementBehavior : IUnknown { + HRESULT Init([in] IElementBehaviorSite *pBehaviorSite); + HRESULT Notify([in] long lEvent, [in, out] VARIANT *pVar); + HRESULT Detach(); +} + +/***************************************************************************** + * IElementBehaviorFactory interface + */ +[ + odl, + uuid(3050f429-98b5-11cf-bb82-00aa00bdce0b) +] +interface IElementBehaviorFactory : IUnknown +{ + HRESULT FindBehavior( + [in] BSTR bstrBehavior, + [in] BSTR bstrBehaviorUrl, + [in] IElementBehaviorSite *pSite, + [out] IElementBehavior **ppBehavior); +} + +} /* library MSHTML */ + +interface IOleCommandTarget; + +/***************************************************************************** + * IHTMLPrivateWindow interface + */ +[ + object, + uuid(3050f6dc-98b5-11cf-bb82-00aa00bdce0b), + local +] +interface IHTMLPrivateWindow : IUnknown +{ + HRESULT SuperNavigate(BSTR url, BSTR arg2, BSTR arg3, BSTR arg4, VARIANT *post_data, VARIANT *headers, ULONG flags); + HRESULT GetPendingUrl(BSTR *url); + HRESULT SetPICSTarget(IOleCommandTarget *cmdtrg); + HRESULT PICSComplete(int arg); + HRESULT FindWindowByName(LPCWSTR name, IHTMLWindow2 **ret); + HRESULT GetAddressBarUrl(BSTR *url); +} + +/***************************************************************************** + * IWebBrowserPriv interface + */ +[ + object, + uuid(3050f804-98b5-11cf-bb82-00aa00bdce0b), + local +] +interface IWebBrowserPriv : IUnknown +{ + HRESULT NavigateWithBindCtx(VARIANT *uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, + VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment); + HRESULT OnClose(); +} + +/***************************************************************************** + * IWebBrowserPriv2IE8 interface + */ +[ + object, + uuid(3ed72303-6ffc-4214-ba90-faf1862dec8a), + local +] +interface IWebBrowserPriv2IE8 : IUnknown +{ + HRESULT NavigateWithBindCtx2(IUri *uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, + VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment); + HRESULT SetBrowserFrameOptions(DWORD opt1, DWORD opt2); + HRESULT DetachConnectionPoints(); + HRESULT GetProcessId(DWORD *pid); + HRESULT CompatAttachEditEvents(); + HRESULT HandleOpenOptions(IUnknown *obj, BSTR bstr, int options); + HRESULT SetSearchTerm(BSTR term); + HRESULT GetSearchTerm(BSTR *term); + HRESULT GetCurrentDocument(IDispatch** doc); +} + +/***************************************************************************** + * IWebBrowserPriv2IE9 interface + */ +[ + object, + uuid(3ed72303-6ffc-4214-ba90-faf1862dec8a), + local +] +interface IWebBrowserPriv2IE9 : IUnknown +{ + HRESULT NavigateWithBindCtx2(IUri *uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, + VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment, DWORD unused); + /* Probably more */ +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msi.h new file mode 100644 index 0000000..417b606 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msi.h @@ -0,0 +1,734 @@ +/* + * Copyright (C) 2002,2003 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSI_H +#define __WINE_MSI_H + +#ifndef _MSI_NO_CRYPTO +#include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +typedef ULONG MSIHANDLE; + +typedef enum tagINSTALLSTATE +{ + INSTALLSTATE_NOTUSED = -7, + INSTALLSTATE_BADCONFIG = -6, + INSTALLSTATE_INCOMPLETE = -5, + INSTALLSTATE_SOURCEABSENT = -4, + INSTALLSTATE_MOREDATA = -3, + INSTALLSTATE_INVALIDARG = -2, + INSTALLSTATE_UNKNOWN = -1, + INSTALLSTATE_BROKEN = 0, + INSTALLSTATE_ADVERTISED = 1, + INSTALLSTATE_ABSENT = 2, + INSTALLSTATE_LOCAL = 3, + INSTALLSTATE_SOURCE = 4, + INSTALLSTATE_DEFAULT = 5 +} INSTALLSTATE; + +typedef enum tagMSIPATCHSTATE +{ + MSIPATCHSTATE_INVALID = 0, + MSIPATCHSTATE_APPLIED = 1, + MSIPATCHSTATE_SUPERSEDED = 2, + MSIPATCHSTATE_OBSOLETED = 4, + MSIPATCHSTATE_REGISTERED = 8, + MSIPATCHSTATE_ALL = (MSIPATCHSTATE_APPLIED | MSIPATCHSTATE_SUPERSEDED | + MSIPATCHSTATE_OBSOLETED | MSIPATCHSTATE_REGISTERED) +} MSIPATCHSTATE; + +typedef enum tagINSTALLUILEVEL +{ + INSTALLUILEVEL_NOCHANGE = 0, + INSTALLUILEVEL_DEFAULT = 1, + INSTALLUILEVEL_NONE = 2, + INSTALLUILEVEL_BASIC = 3, + INSTALLUILEVEL_REDUCED = 4, + INSTALLUILEVEL_FULL = 5, + INSTALLUILEVEL_HIDECANCEL = 0x20, + INSTALLUILEVEL_PROGRESSONLY = 0x40, + INSTALLUILEVEL_ENDDIALOG = 0x80, + INSTALLUILEVEL_SOURCERESONLY = 0x100 +} INSTALLUILEVEL; + +typedef enum tagUSERINFOSTATE +{ + USERINFOSTATE_MOREDATA = -3, + USERINFOSTATE_INVALIDARG = -2, + USERINFOSTATE_UNKNOWN = -1, + USERINFOSTATE_ABSENT = 0, + USERINFOSTATE_PRESENT = 1, +} USERINFOSTATE; + +typedef enum tagINSTALLLEVEL +{ + INSTALLLEVEL_DEFAULT = 0, + INSTALLLEVEL_MINIMUM = 1, + INSTALLLEVEL_MAXIMUM = 0xFFFF +} INSTALLLEVEL; + +typedef enum tagINSTALLMESSAGE +{ + INSTALLMESSAGE_FATALEXIT = 0, + INSTALLMESSAGE_ERROR = 0x01000000, + INSTALLMESSAGE_WARNING = 0x02000000, + INSTALLMESSAGE_USER = 0x03000000, + INSTALLMESSAGE_INFO = 0x04000000, + INSTALLMESSAGE_FILESINUSE = 0x05000000, + INSTALLMESSAGE_RESOLVESOURCE = 0x06000000, + INSTALLMESSAGE_OUTOFDISKSPACE = 0x07000000, + INSTALLMESSAGE_ACTIONSTART = 0x08000000, + INSTALLMESSAGE_ACTIONDATA = 0x09000000, + INSTALLMESSAGE_PROGRESS = 0x0a000000, + INSTALLMESSAGE_COMMONDATA = 0x0b000000, + INSTALLMESSAGE_INITIALIZE = 0x0c000000, + INSTALLMESSAGE_TERMINATE = 0x0d000000, + INSTALLMESSAGE_SHOWDIALOG = 0x0e000000, + INSTALLMESSAGE_RMFILESINUSE = 0x19000000, + INSTALLMESSAGE_INSTALLSTART = 0x1A000000, + INSTALLMESSAGE_INSTALLEND = 0x1B000000, +} INSTALLMESSAGE; + +typedef enum tagREINSTALLMODE +{ + REINSTALLMODE_REPAIR = 0x00000001, + REINSTALLMODE_FILEMISSING = 0x00000002, + REINSTALLMODE_FILEOLDERVERSION = 0x00000004, + REINSTALLMODE_FILEEQUALVERSION = 0x00000008, + REINSTALLMODE_FILEEXACT = 0x00000010, + REINSTALLMODE_FILEVERIFY = 0x00000020, + REINSTALLMODE_FILEREPLACE = 0x00000040, + REINSTALLMODE_MACHINEDATA = 0x00000080, + REINSTALLMODE_USERDATA = 0x00000100, + REINSTALLMODE_SHORTCUT = 0x00000200, + REINSTALLMODE_PACKAGE = 0x00000400 +} REINSTALLMODE; + +typedef enum tagINSTALLLOGMODE +{ + INSTALLLOGMODE_FATALEXIT = (1 << (INSTALLMESSAGE_FATALEXIT >> 24)), + INSTALLLOGMODE_ERROR = (1 << (INSTALLMESSAGE_ERROR >> 24)), + INSTALLLOGMODE_WARNING = (1 << (INSTALLMESSAGE_WARNING >> 24)), + INSTALLLOGMODE_USER = (1 << (INSTALLMESSAGE_USER >> 24)), + INSTALLLOGMODE_INFO = (1 << (INSTALLMESSAGE_INFO >> 24)), + INSTALLLOGMODE_FILESINUSE = (1 << (INSTALLMESSAGE_FILESINUSE >> 24)), + INSTALLLOGMODE_RESOLVESOURCE = (1 << (INSTALLMESSAGE_RESOLVESOURCE >> 24)), + INSTALLLOGMODE_OUTOFDISKSPACE = (1 << (INSTALLMESSAGE_OUTOFDISKSPACE >> 24)), + INSTALLLOGMODE_ACTIONSTART = (1 << (INSTALLMESSAGE_ACTIONSTART >> 24)), + INSTALLLOGMODE_ACTIONDATA = (1 << (INSTALLMESSAGE_ACTIONDATA >> 24)), + INSTALLLOGMODE_PROGRESS = (1 << (INSTALLMESSAGE_PROGRESS >> 24)), + INSTALLLOGMODE_PROPERTYDUMP = (1 << (INSTALLMESSAGE_PROGRESS >> 24)), + INSTALLLOGMODE_COMMONDATA = (1 << (INSTALLMESSAGE_COMMONDATA >> 24)), + INSTALLLOGMODE_INITIALIZE = (1 << (INSTALLMESSAGE_INITIALIZE >> 24)), + INSTALLLOGMODE_VERBOSE = (1 << (INSTALLMESSAGE_INITIALIZE >> 24)), + INSTALLLOGMODE_TERMINATE = (1 << (INSTALLMESSAGE_TERMINATE >> 24)), + INSTALLLOGMODE_EXTRADEBUG = (1 << (INSTALLMESSAGE_TERMINATE >> 24)), + INSTALLLOGMODE_SHOWDIALOG = (1 << (INSTALLMESSAGE_SHOWDIALOG >> 24)), + INSTALLLOGMODE_RMFILESINUSE = (1 << (INSTALLMESSAGE_RMFILESINUSE >> 24)), + INSTALLLOGMODE_INSTALLSTART = (1 << (INSTALLMESSAGE_INSTALLSTART >> 24)), + INSTALLLOGMODE_INSTALLEND = (1 << (INSTALLMESSAGE_INSTALLEND >> 24)), +} INSTALLLOGMODE; + +typedef enum tagINSTALLLOGATTRIBUTES +{ + INSTALLLOGATTRIBUTES_APPEND = 0x00000001, + INSTALLLOGATTRIBUTES_FLUSHEACHLINE = 0x00000002 +} INSTALLLOGATTRIBUTES; + +typedef enum tagINSTALLMODE +{ + INSTALLMODE_NODETECTION_ANY = -4, + INSTALLMODE_NOSOURCERESOLUTION = -3, + INSTALLMODE_NODETECTION = -2, + INSTALLMODE_EXISTING = -1, + INSTALLMODE_DEFAULT = 0 +} INSTALLMODE; + +typedef enum tagADVERTISEFLAGS +{ + ADVERTISEFLAGS_MACHINEASSIGN = 0, + ADVERTISEFLAGS_USERASSIGN = 1 +} ADVERTISEFLAGS; + +typedef enum tagSCRIPTFLAGS +{ + SCRIPTFLAGS_CACHEINFO = 1, + SCRIPTFLAGS_SHORTCUTS = 4, + SCRIPTFLAGS_MACHINEASSIGN = 8, + SCRIPTFLAGS_REGDATA_APPINFO = 0x10, + SCRIPTFLAGS_REGDATA_CNFGINFO = 0x20, + SCRIPTFLAGS_VALIDATE_TRANSFORMS_LIST = 0x40, + SCRIPTFLAGS_REGDATA_CLASSINFO = 0x80, + SCRIPTFLAGS_REGDATA_EXTENSIONINFO = 0x100, +} SCRIPTFLAGS; + +typedef enum tagINSTALLTYPE +{ + INSTALLTYPE_DEFAULT = 0, + INSTALLTYPE_NETWORK_IMAGE = 1, + INSTALLTYPE_SINGLE_INSTANCE = 2, +} INSTALLTYPE; + +typedef enum tagMSIINSTALLCONTEXT +{ + MSIINSTALLCONTEXT_FIRSTVISIBLE = 0, + MSIINSTALLCONTEXT_NONE = 0, + MSIINSTALLCONTEXT_USERMANAGED = 1, + MSIINSTALLCONTEXT_USERUNMANAGED = 2, + MSIINSTALLCONTEXT_MACHINE = 4, + MSIINSTALLCONTEXT_ALL = (MSIINSTALLCONTEXT_USERMANAGED | MSIINSTALLCONTEXT_USERUNMANAGED | MSIINSTALLCONTEXT_MACHINE), + MSIINSTALLCONTEXT_ALLUSERMANAGED= 8, +} MSIINSTALLCONTEXT; + +typedef enum tagMSISOURCETYPE +{ + MSISOURCETYPE_UNKNOWN = __MSABI_LONG(0x00000000), + MSISOURCETYPE_NETWORK = __MSABI_LONG(0x00000001), + MSISOURCETYPE_URL = __MSABI_LONG(0x00000002), + MSISOURCETYPE_MEDIA = __MSABI_LONG(0x00000004) +} MSISOURCETYPE; + +typedef enum tagMSICODE +{ + MSICODE_PRODUCT = __MSABI_LONG(0x00000000), + MSICODE_PATCH = __MSABI_LONG(0x40000000) +} MSICODE; + +typedef enum tagINSTALLFEATUREATTRIBUTE +{ + INSTALLFEATUREATTRIBUTE_FAVORLOCAL = 1 << 0, + INSTALLFEATUREATTRIBUTE_FAVORSOURCE = 1 << 1, + INSTALLFEATUREATTRIBUTE_FOLLOWPARENT = 1 << 2, + INSTALLFEATUREATTRIBUTE_FAVORADVERTISE = 1 << 3, + INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE = 1 << 4, + INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE = 1 << 5 +} INSTALLFEATUREATTRIBUTE; + +typedef struct _MSIFILEHASHINFO { + ULONG dwFileHashInfoSize; + ULONG dwData[4]; +} MSIFILEHASHINFO, *PMSIFILEHASHINFO; + +typedef enum tagMSIPATCHDATATYPE +{ + MSIPATCH_DATATYPE_PATCHFILE = 0, + MSIPATCH_DATATYPE_XMLPATH = 1, + MSIPATCH_DATATYPE_XMLBLOB = 2, +} MSIPATCHDATATYPE, *PMSIPATCHDATATYPE; + +typedef struct tagMSIPATCHSEQUENCEINFOA +{ + LPCSTR szPatchData; + MSIPATCHDATATYPE ePatchDataType; + DWORD dwOrder; + UINT uStatus; +} MSIPATCHSEQUENCEINFOA, *PMSIPATCHSEQUENCEINFOA; + +typedef struct tagMSIPATCHSEQUENCEINFOW +{ + LPCWSTR szPatchData; + MSIPATCHDATATYPE ePatchDataType; + DWORD dwOrder; + UINT uStatus; +} MSIPATCHSEQUENCEINFOW, *PMSIPATCHSEQUENCEINFOW; + +#define MAX_FEATURE_CHARS 38 + +#define ERROR_PATCH_TARGET_NOT_FOUND 1642 + +/* Strings defined in msi.h */ +/* Advertised Information */ + +#define INSTALLPROPERTY_PACKAGENAMEA "PackageName" +static const WCHAR INSTALLPROPERTY_PACKAGENAMEW[] = {'P','a','c','k','a','g','e','N','a','m','e',0}; +#define INSTALLPROPERTY_PACKAGENAME WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGENAME) + +#define INSTALLPROPERTY_TRANSFORMSA "Transforms" +static const WCHAR INSTALLPROPERTY_TRANSFORMSW[] = {'T','r','a','n','s','f','o','r','m','s',0}; +#define INSTALLPROPERTY_TRANSFORMS WINELIB_NAME_AW(INSTALLPROPERTY_TRANSFORMS) + +#define INSTALLPROPERTY_LANGUAGEA "Language" +static const WCHAR INSTALLPROPERTY_LANGUAGEW[] = {'L','a','n','g','u','a','g','e',0}; +#define INSTALLPROPERTY_LANGUAGE WINELIB_NAME_AW(INSTALLPROPERTY_LANGUAGE) + +#define INSTALLPROPERTY_PRODUCTNAMEA "ProductName" +static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW[] = {'P','r','o','d','u','c','t','N','a','m','e',0}; +#define INSTALLPROPERTY_PRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTNAME) + +#define INSTALLPROPERTY_ASSIGNMENTTYPEA "AssignmentType" +static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW[] = {'A','s','s','i','g','n','m','e','n','t','T','y','p','e',0}; +#define INSTALLPROPERTY_ASSIGNMENTTYPE WINELIB_NAME_AW(INSTALLPROPERTY_ASSIGNMENTTYPE) + +#define INSTALLPROPERTY_PACKAGECODEA "PackageCode" +static const WCHAR INSTALLPROPERTY_PACKAGECODEW[] = {'P','a','c','k','a','g','e','C','o','d','e',0}; +#define INSTALLPROPERTY_PACKAGECODE WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGECODE) + +#define INSTALLPROPERTY_VERSIONA "Version" +static const WCHAR INSTALLPROPERTY_VERSIONW[]= {'V','e','r','s','i','o','n',0}; +#define INSTALLPROPERTY_VERSION WINELIB_NAME_AW(INSTALLPROPERTY_VERSION) + +/* MSI version 1.1 and above */ + +#define INSTALLPROPERTY_PRODUCTICONA "ProductIcon" +static const WCHAR INSTALLPROPERTY_PRODUCTICONW[] = {'P','r','o','d','u','c','t','I','c','o','n',0}; +#define INSTALLPROPERTY_PRODUCTICON WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTICON) + +/* MSI version 1.5 and above */ +#define INSTALLPROPERTY_INSTANCETYPEA "InstanceType" +static const WCHAR INSTALLPROPERTY_INSTANCETYPEW[] = {'I','n','s','t','a','n','c','e','T','y','p','e',0}; +#define INSTALLPROPERTY_INSTANCETYPE WINELIB_NAME_AW(INSTALLPROPERTY_INSTANCETYPE) + +/* MSI version 3 and above */ +#define INSTALLPROPERTY_AUTHORIZED_LUA_APPA "AuthorizedLUAApp" +static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW[] = {'A','u','t','h','o','r','i','z','e','d','L','U','A','A','p','p',0}; +#define INSTALLPROPERTY_AUTHORIZED_LUA_APP WINELIB_NAME_AW(INSTALLPROPERTY_AUTHORIZED_LUA_APP) + + +/* Installed Information */ +#define INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA "InstalledProductName" +static const WCHAR INSTALLPROPERTY_INSTALLEDPRODUCTNAMEW[] = {'I','n','s','t','a','l','l','e','d','P','r','o','d','u','c','t','N','a','m','e',0}; +#define INSTALLPROPERTY_INSTALLEDPRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLEDPRODUCTNAME) + +#define INSTALLPROPERTY_VERSIONSTRINGA "VersionString" +static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW[] = {'V','e','r','s','i','o','n','S','t','r','i','n','g',0}; +#define INSTALLPROPERTY_VERSIONSTRING WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONSTRING) + +#define INSTALLPROPERTY_HELPLINKA "HelpLink" +static const WCHAR INSTALLPROPERTY_HELPLINKW[] = {'H','e','l','p','L','i','n','k',0}; +#define INSTALLPROPERTY_HELPLINK WINELIB_NAME_AW(INSTALLPROPERTY_HELPLINK) + +#define INSTALLPROPERTY_HELPTELEPHONEA "HelpTelephone" +static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW[] = {'H','e','l','p','T','e','l','e','p','h','o','n','e',0}; +#define INSTALLPROPERTY_HELPTELEPHONE WINELIB_NAME_AW(INSTALLPROPERTY_HELPTELEPHONE) + +#define INSTALLPROPERTY_INSTALLLOCATIONA "InstallLocation" +static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW[] = {'I','n','s','t','a','l','l','L','o','c','a','t','i','o','n',0}; +#define INSTALLPROPERTY_INSTALLLOCATION WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLLOCATION) + +#define INSTALLPROPERTY_INSTALLSOURCEA "InstallSource" +static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW[] = {'I','n','s','t','a','l','l','S','o','u','r','c','e',0}; +#define INSTALLPROPERTY_INSTALLSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLSOURCE) + +#define INSTALLPROPERTY_INSTALLDATEA "InstallDate" +static const WCHAR INSTALLPROPERTY_INSTALLDATEW[] = {'I','n','s','t','a','l','l','D','a','t','e',0}; +#define INSTALLPROPERTY_INSTALLDATE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLDATE) + +#define INSTALLPROPERTY_PUBLISHERA "Publisher" +static const WCHAR INSTALLPROPERTY_PUBLISHERW[] ={'P','u','b','l','i','s','h','e','r',0}; +#define INSTALLPROPERTY_PUBLISHER WINELIB_NAME_AW(INSTALLPROPERTY_PUBLISHER) + +#define INSTALLPROPERTY_LOCALPACKAGEA "LocalPackage" +static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW[] = {'L','o','c','a','l','P','a','c','k','a','g','e',0}; +#define INSTALLPROPERTY_LOCALPACKAGE WINELIB_NAME_AW(INSTALLPROPERTY_LOCALPACKAGE) + +#define INSTALLPROPERTY_URLINFOABOUTA "URLInfoAbout" +static const WCHAR INSTALLPROPERTY_URLINFOABOUTW[] = {'U','R','L','I','n','f','o','A','b','o','u','t',0}; +#define INSTALLPROPERTY_URLINFOABOUT WINELIB_NAME_AW(INSTALLPROPERTY_URLINFOABOUT) + +#define INSTALLPROPERTY_URLUPDATEINFOA "URLUpdateInfo" +static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW[] = {'U','R','L','U','p','d','a','t','e','I','n','f','o',0}; +#define INSTALLPROPERTY_URLUPDATEINFO WINELIB_NAME_AW(INSTALLPROPERTY_URLUPDATEINFO) + +#define INSTALLPROPERTY_VERSIONMINORA "VersionMinor" +static const WCHAR INSTALLPROPERTY_VERSIONMINORW[] = {'V','e','r','s','i','o','n','M','i','n','o','r',0}; +#define INSTALLPROPERTY_VERSIONMINOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMINOR) + +#define INSTALLPROPERTY_VERSIONMAJORA "VersionMajor" +static const WCHAR INSTALLPROPERTY_VERSIONMAJORW[] = {'V','e','r','s','i','o','n','M','a','j','o','r',0}; +#define INSTALLPROPERTY_VERSIONMAJOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMAJOR) + +#define INSTALLPROPERTY_PRODUCTIDA "ProductID" +static const WCHAR INSTALLPROPERTY_PRODUCTIDW[] = {'P','r','o','d','u','c','t','I','D',0}; +#define INSTALLPROPERTY_PRODUCTID WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTID) + +#define INSTALLPROPERTY_REGCOMPANYA "RegCompany" +static const WCHAR INSTALLPROPERTY_REGCOMPANYW[] = {'R','e','g','C','o','m','p','a','n','y',0}; +#define INSTALLPROPERTY_REGCOMPANY WINELIB_NAME_AW(INSTALLPROPERTY_REGCOMPANY) + +#define INSTALLPROPERTY_REGOWNERA "RegOwner" +static const WCHAR INSTALLPROPERTY_REGOWNERW[] = {'R','e','g','O','w','n','e','r',0}; +#define INSTALLPROPERTY_REGOWNER WINELIB_NAME_AW(INSTALLPROPERTY_REGOWNER) + +/* MSI Version 3.0 and greater */ +#define INSTALLPROPERTY_UNINSTALLABLEA "Uninstallable" +static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW[] = {'U','n','i','n','s','t','a','l','l','a','b','l','e',0}; +#define INSTALLPROPERTY_UNINSTALLABLE WINELIB_NAME_AW(INSTALLPROPERTY_UNINSTALLABLE) + +#define INSTALLPROPERTY_PRODUCTSTATEA "State" +static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW[] = {'S','t','a','t','e',0}; +#define INSTALLPROPERTY_PRODUCTSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTSTATE) + +#define INSTALLPROPERTY_PATCHSTATEA "State" +static const WCHAR INSTALLPROPERTY_PATCHSTATEW[] ={'S','t','a','t','e',0}; +#define INSTALLPROPERTY_PATCHSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHSTATE) + +#define INSTALLPROPERTY_PATCHTYPEA "PatchType" +static const WCHAR INSTALLPROPERTY_PATCHTYPEW[] = {'P','a','t','c','h','T','y','p','e',0}; +#define INSTALLPROPERTY_PATCHTYPE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHTYPE) + +#define INSTALLPROPERTY_LUAENABLEDA "LUAEnabled" +static const WCHAR INSTALLPROPERTY_LUAENABLEDW[] = {'L','U','A','E','n','a','b','l','e','d',0}; +#define INSTALLPROPERTY_LUAENABLED WINELIB_NAME_AW(INSTALLPROPERTY_LUAENABLED) + +#define INSTALLPROPERTY_DISPLAYNAMEA "DisplayName" +static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW[] = {'D','i','s','p','l','a','y','N','a','m','e',0}; +#define INSTALLPROPERTY_DISPLAYNAME WINELIB_NAME_AW(INSTALLPROPERTY_DISPLAYNAME) + +#define INSTALLPROPERTY_MOREINFOURLA "MoreInfoURL" +static const WCHAR INSTALLPROPERTY_MOREINFOURLW[] = {'M','o','r','e','I','n','f','o','U','R','L',0}; +#define INSTALLPROPERTY_MOREINFOURL WINELIB_NAME_AW(INSTALLPROPERTY_MOREINFOURL) + +/* Source List Info */ +#define INSTALLPROPERTY_LASTUSEDSOURCEA "LastUsedSource" +static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW[] = {'L','a','s','t','U','s','e','d','S','o','u','r','c','e',0}; +#define INSTALLPROPERTY_LASTUSEDSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE) + +#define INSTALLPROPERTY_LASTUSEDTYPEA "LastUsedType" +static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW[] = {'L','a','s','t','U','s','e','d','T','y','p','e',0}; +#define INSTALLPROPERTY_LASTUSEDTYPE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDTYPE) + +#define INSTALLPROPERTY_MEDIAPACKAGEPATHA "MediaPackagePath" +static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW[] = {'M','e','d','i','a','P','a','c','k','a','g','e','P','a','t','h',0}; +#define INSTALLPROPERTY_MEDIAPACKAGEPATH WINELIB_NAME_AW(INSTALLPROPERTY_MEDIAPACKAGEPATH) + +#define INSTALLPROPERTY_DISKPROMPTA "DiskPrompt" +static const WCHAR INSTALLPROPERTY_DISKPROMPTW[] = {'D','i','s','k','P','r','o','m','p','t',0}; +#define INSTALLPROPERTY_DISKPROMPT WINELIB_NAME_AW(INSTALLPROPERTY_DISKPROMPT) + +typedef INT (CALLBACK *INSTALLUI_HANDLERA)(LPVOID, UINT, LPCSTR); +typedef INT (CALLBACK *INSTALLUI_HANDLERW)(LPVOID, UINT, LPCWSTR); +typedef INT (CALLBACK *INSTALLUI_HANDLER_RECORD)(LPVOID, UINT, MSIHANDLE); +typedef INSTALLUI_HANDLER_RECORD* PINSTALLUI_HANDLER_RECORD; + +UINT WINAPI MsiAdvertiseProductA(LPCSTR, LPCSTR, LPCSTR, LANGID); +UINT WINAPI MsiAdvertiseProductW(LPCWSTR, LPCWSTR, LPCWSTR, LANGID); +#define MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct) + +UINT WINAPI MsiAdvertiseProductExA(LPCSTR, LPCSTR, LPCSTR, LANGID, DWORD, DWORD); +UINT WINAPI MsiAdvertiseProductExW(LPCWSTR, LPCWSTR, LPCWSTR, LANGID, DWORD, DWORD); +#define MsiAdvertiseProductEx WINELIB_NAME_AW(MsiAdvertiseProductEx) + +UINT WINAPI MsiInstallProductA(LPCSTR, LPCSTR); +UINT WINAPI MsiInstallProductW(LPCWSTR, LPCWSTR); +#define MsiInstallProduct WINELIB_NAME_AW(MsiInstallProduct) + +UINT WINAPI MsiReinstallProductA(LPCSTR, DWORD); +UINT WINAPI MsiReinstallProductW(LPCWSTR, DWORD); +#define MsiReinstallProduct WINELIB_NAME_AW(MsiReinstallProduct) + +UINT WINAPI MsiApplyPatchA(LPCSTR, LPCSTR, INSTALLTYPE, LPCSTR); +UINT WINAPI MsiApplyPatchW(LPCWSTR, LPCWSTR, INSTALLTYPE, LPCWSTR); +#define MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch) + +UINT WINAPI MsiEnumComponentCostsA(MSIHANDLE, LPCSTR, DWORD, INSTALLSTATE, LPSTR, LPDWORD, LPINT, LPINT); +UINT WINAPI MsiEnumComponentCostsW(MSIHANDLE, LPCWSTR, DWORD, INSTALLSTATE, LPWSTR, LPDWORD, LPINT, LPINT); +#define MsiEnumComponentCosts WINELIB_NAME_AW(MsiEnumComponentCosts) + +UINT WINAPI MsiEnumProductsA(DWORD, LPSTR); +UINT WINAPI MsiEnumProductsW(DWORD, LPWSTR); +#define MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts) + +UINT WINAPI MsiEnumProductsExA(LPCSTR, LPCSTR, DWORD, DWORD, CHAR[39], MSIINSTALLCONTEXT*, LPSTR, LPDWORD); +UINT WINAPI MsiEnumProductsExW(LPCWSTR, LPCWSTR, DWORD, DWORD, WCHAR[39], MSIINSTALLCONTEXT*, LPWSTR, LPDWORD); +#define MsiEnumProductsEx WINELIB_NAME_AW(MsiEnumProductsEx) + +UINT WINAPI MsiEnumFeaturesA(LPCSTR, DWORD, LPSTR, LPSTR); +UINT WINAPI MsiEnumFeaturesW(LPCWSTR, DWORD, LPWSTR, LPWSTR); +#define MsiEnumFeatures WINELIB_NAME_AW(MsiEnumFeatures) + +UINT WINAPI MsiEnumComponentsA(DWORD, LPSTR); +UINT WINAPI MsiEnumComponentsW(DWORD, LPWSTR); +#define MsiEnumComponents WINELIB_NAME_AW(MsiEnumComponents) + +UINT WINAPI MsiEnumComponentsExA(LPCSTR, DWORD, DWORD, CHAR[39], + MSIINSTALLCONTEXT *, LPSTR, LPDWORD); +UINT WINAPI MsiEnumComponentsExW(LPCWSTR, DWORD, DWORD, WCHAR[39], + MSIINSTALLCONTEXT *, LPWSTR, LPDWORD); +#define MsiEnumComponentsEx WINELIB_NAME_AW(MsiEnumComponentsEx) + +UINT WINAPI MsiEnumClientsA(LPCSTR, DWORD, LPSTR); +UINT WINAPI MsiEnumClientsW(LPCWSTR, DWORD, LPWSTR); +#define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients) + +UINT WINAPI MsiEnumClientsExA(LPCSTR, LPCSTR, DWORD, DWORD, CHAR*, MSIINSTALLCONTEXT*, LPSTR, LPDWORD); +UINT WINAPI MsiEnumClientsExW(LPCWSTR, LPCWSTR, DWORD, DWORD, WCHAR*, MSIINSTALLCONTEXT*, LPWSTR, LPDWORD); +#define MsiEnumClientsEx WINELIB_NAME_AW(MsiEnumClientsEx) + +UINT WINAPI MsiOpenPackageA(LPCSTR, MSIHANDLE*); +UINT WINAPI MsiOpenPackageW(LPCWSTR, MSIHANDLE*); +#define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage) + +UINT WINAPI MsiOpenPackageExA(LPCSTR, DWORD, MSIHANDLE*); +UINT WINAPI MsiOpenPackageExW(LPCWSTR, DWORD, MSIHANDLE*); +#define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx) + +UINT WINAPI MsiOpenProductA(LPCSTR, MSIHANDLE*); +UINT WINAPI MsiOpenProductW(LPCWSTR, MSIHANDLE*); +#define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct) + +UINT WINAPI MsiGetProductPropertyA(MSIHANDLE,LPCSTR,LPSTR,LPDWORD); +UINT WINAPI MsiGetProductPropertyW(MSIHANDLE,LPCWSTR,LPWSTR,LPDWORD); +#define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty) + +UINT WINAPI MsiVerifyPackageA(LPCSTR); +UINT WINAPI MsiVerifyPackageW(LPCWSTR); +#define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage) + +UINT WINAPI MsiQueryComponentStateA(LPCSTR,LPCSTR,MSIINSTALLCONTEXT,LPCSTR,INSTALLSTATE*); +UINT WINAPI MsiQueryComponentStateW(LPCWSTR,LPCWSTR,MSIINSTALLCONTEXT,LPCWSTR,INSTALLSTATE*); +#define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState) + +INSTALLSTATE WINAPI MsiQueryProductStateA(LPCSTR); +INSTALLSTATE WINAPI MsiQueryProductStateW(LPCWSTR); +#define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState) + +UINT WINAPI MsiConfigureProductA(LPCSTR, int, INSTALLSTATE); +UINT WINAPI MsiConfigureProductW(LPCWSTR, int, INSTALLSTATE); +#define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct) + +UINT WINAPI MsiConfigureProductExA(LPCSTR, int, INSTALLSTATE, LPCSTR); +UINT WINAPI MsiConfigureProductExW(LPCWSTR, int, INSTALLSTATE, LPCWSTR); +#define MsiConfigureProductEx WINELIB_NAME_AW(MsiConfigureProductEx) + +UINT WINAPI MsiConfigureFeatureA(LPCSTR, LPCSTR, INSTALLSTATE); +UINT WINAPI MsiConfigureFeatureW(LPCWSTR, LPCWSTR, INSTALLSTATE); +#define MsiConfigureFeature WINELIB_NAME_AW(MsiConfigureFeature) + +UINT WINAPI MsiGetProductCodeA(LPCSTR, LPSTR); +UINT WINAPI MsiGetProductCodeW(LPCWSTR, LPWSTR); +#define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode) + +UINT WINAPI MsiGetProductInfoA(LPCSTR, LPCSTR, LPSTR, LPDWORD); +UINT WINAPI MsiGetProductInfoW(LPCWSTR, LPCWSTR, LPWSTR, LPDWORD); +#define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo) + +UINT WINAPI MsiGetProductInfoExA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR, LPSTR, LPDWORD); +UINT WINAPI MsiGetProductInfoExW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, LPWSTR, LPDWORD); +#define MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx) + +UINT WINAPI MsiGetPatchFileListA(LPCSTR, LPCSTR, LPDWORD, MSIHANDLE**); +UINT WINAPI MsiGetPatchFileListW(LPCWSTR, LPCWSTR, LPDWORD, MSIHANDLE**); +#define MsiGetPatchFileList WINELIB_NAME_AW(MsiGetPatchFileList) + +UINT WINAPI MsiGetPatchInfoExA(LPCSTR, LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR, LPSTR, LPDWORD); +UINT WINAPI MsiGetPatchInfoExW(LPCWSTR, LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, LPWSTR, LPDWORD); +#define MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx) + +UINT WINAPI MsiGetPatchInfoA(LPCSTR, LPCSTR, LPSTR, LPDWORD); +UINT WINAPI MsiGetPatchInfoW(LPCWSTR, LPCWSTR, LPWSTR, LPDWORD); +#define MsiGetPatchInfo WINELIB_NAME_AW(MsiGetPatchInfo) + +UINT WINAPI MsiEnableLogA(DWORD, LPCSTR, DWORD); +UINT WINAPI MsiEnableLogW(DWORD, LPCWSTR, DWORD); +#define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog) + +INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA(INSTALLUI_HANDLERA, DWORD, LPVOID); +INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW, DWORD, LPVOID); +#define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI) + +INSTALLSTATE WINAPI MsiGetComponentPathA(LPCSTR, LPCSTR, LPSTR, LPDWORD); +INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR, LPCWSTR, LPWSTR, LPDWORD); +#define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath) + +INSTALLSTATE WINAPI MsiGetComponentPathExA(LPCSTR, LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPSTR, LPDWORD); +INSTALLSTATE WINAPI MsiGetComponentPathExW(LPCWSTR, LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPWSTR, LPDWORD); +#define MsiGetComponentPathEx WINELIB_NAME_AW(MsiGetComponentPathEx) + +INSTALLSTATE WINAPI MsiQueryFeatureStateA(LPCSTR, LPCSTR); +INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR, LPCWSTR); +#define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState) + +UINT WINAPI MsiQueryFeatureStateExA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR, INSTALLSTATE*); +UINT WINAPI MsiQueryFeatureStateExW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, INSTALLSTATE*); +#define MsiQueryFeatureStateEx WINELIB_NAME_AW(MsiQueryFeatureStateEx) + +UINT WINAPI MsiGetFeatureInfoA(MSIHANDLE, LPCSTR, LPDWORD, LPSTR, LPDWORD, LPSTR, LPDWORD); +UINT WINAPI MsiGetFeatureInfoW(MSIHANDLE, LPCWSTR, LPDWORD, LPWSTR, LPDWORD, LPWSTR, LPDWORD); +#define MsiGetFeatureInfo WINELIB_NAME_AW(MsiGetFeatureInfo) + +UINT WINAPI MsiGetFeatureUsageA(LPCSTR, LPCSTR, LPDWORD, LPWORD); +UINT WINAPI MsiGetFeatureUsageW(LPCWSTR, LPCWSTR, LPDWORD, LPWORD); +#define MsiGetFeatureUsage WINELIB_NAME_AW(MsiGetFeatureUsage) + +UINT WINAPI MsiEnumRelatedProductsA(LPCSTR, DWORD, DWORD, LPSTR); +UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR, DWORD, DWORD, LPWSTR); +#define MsiEnumRelatedProducts WINELIB_NAME_AW(MsiEnumRelatedProducts) + +UINT WINAPI MsiProvideAssemblyA(LPCSTR, LPCSTR, DWORD, DWORD, LPSTR, LPDWORD); +UINT WINAPI MsiProvideAssemblyW(LPCWSTR, LPCWSTR, DWORD, DWORD, LPWSTR, LPDWORD); +#define MsiProvideAssembly WINELIB_NAME_AW(MsiProvideAssembly) + +UINT WINAPI MsiEnumComponentQualifiersA(LPCSTR, DWORD, LPSTR, LPDWORD, LPSTR, LPDWORD); +UINT WINAPI MsiEnumComponentQualifiersW(LPCWSTR, DWORD, LPWSTR, LPDWORD, LPWSTR, LPDWORD); +#define MsiEnumComponentQualifiers WINELIB_NAME_AW(MsiEnumComponentQualifiers) + +UINT WINAPI MsiGetFileVersionA(LPCSTR, LPSTR, LPDWORD, LPSTR, LPDWORD); +UINT WINAPI MsiGetFileVersionW(LPCWSTR, LPWSTR, LPDWORD, LPWSTR, LPDWORD); +#define MsiGetFileVersion WINELIB_NAME_AW(MsiGetFileVersion) + +UINT WINAPI MsiMessageBoxA(HWND, LPCSTR, LPCSTR, UINT, WORD, DWORD); +UINT WINAPI MsiMessageBoxW(HWND, LPCWSTR, LPCWSTR, UINT, WORD, DWORD); +#define MsiMessageBox WINELIB_NAME_AW(MsiMessageBox) + +UINT WINAPI MsiProvideQualifiedComponentExA(LPCSTR, LPCSTR, DWORD, LPCSTR, DWORD, DWORD, LPSTR, LPDWORD); +UINT WINAPI MsiProvideQualifiedComponentExW(LPCWSTR, LPCWSTR, DWORD, LPCWSTR, DWORD, DWORD, LPWSTR, LPDWORD); +#define MsiProvideQualifiedComponentEx WINELIB_NAME_AW(MsiProvideQualifiedComponentEx) + +UINT WINAPI MsiProvideQualifiedComponentA(LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD); +UINT WINAPI MsiProvideQualifiedComponentW(LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPDWORD); +#define MsiProvideQualifiedComponent WINELIB_NAME_AW(MsiProvideQualifiedComponent) + +USERINFOSTATE WINAPI MsiGetUserInfoA(LPCSTR, LPSTR, LPDWORD, LPSTR, LPDWORD, LPSTR, LPDWORD); +USERINFOSTATE WINAPI MsiGetUserInfoW(LPCWSTR, LPWSTR, LPDWORD, LPWSTR, LPDWORD, LPWSTR, LPDWORD); +#define MsiGetUserInfo WINELIB_NAME_AW(MsiGetUserInfo) + +UINT WINAPI MsiProvidedComponentA(LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD); +UINT WINAPI MsiProvideComponentW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPDWORD); +#define MsiProvideComponent WINELIB_NAME_AW(MsiProvideComponent) + +UINT WINAPI MsiCollectUserInfoA(LPCSTR); +UINT WINAPI MsiCollectUserInfoW(LPCWSTR); +#define MsiCollectUserInfo WINELIB_NAME_AW(MsiCollectUserInfo) + +UINT WINAPI MsiReinstallFeatureA(LPCSTR, LPCSTR, DWORD); +UINT WINAPI MsiReinstallFeatureW(LPCWSTR, LPCWSTR, DWORD); +#define MsiReinstallFeature WINELIB_NAME_AW(MsiReinstallFeature) + +UINT WINAPI MsiGetShortcutTargetA(LPCSTR, LPSTR, LPSTR, LPSTR); +UINT WINAPI MsiGetShortcutTargetW(LPCWSTR, LPWSTR, LPWSTR, LPWSTR); +#define MsiGetShortcutTarget WINELIB_NAME_AW(MsiGetShortcutTarget) + +INSTALLSTATE WINAPI MsiUseFeatureW(LPCWSTR, LPCWSTR); +INSTALLSTATE WINAPI MsiUseFeatureA(LPCSTR, LPCSTR); +#define MsiUseFeature WINELIB_NAME_AW(MsiUseFeature) + +INSTALLSTATE WINAPI MsiUseFeatureExW(LPCWSTR, LPCWSTR, DWORD, DWORD); +INSTALLSTATE WINAPI MsiUseFeatureExA(LPCSTR, LPCSTR, DWORD, DWORD); +#define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx) + +HRESULT WINAPI MsiGetFileSignatureInformationA(LPCSTR, DWORD, PCCERT_CONTEXT*, LPBYTE, LPDWORD); +HRESULT WINAPI MsiGetFileSignatureInformationW(LPCWSTR, DWORD, PCCERT_CONTEXT*, LPBYTE, LPDWORD); +#define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation) + +INSTALLSTATE WINAPI MsiLocateComponentA(LPCSTR, LPSTR, LPDWORD); +INSTALLSTATE WINAPI MsiLocateComponentW(LPCWSTR, LPWSTR, LPDWORD); +#define MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent) + +UINT WINAPI MsiSourceListAddSourceA(LPCSTR, LPCSTR, DWORD, LPCSTR); +UINT WINAPI MsiSourceListAddSourceW(LPCWSTR, LPCWSTR, DWORD, LPCWSTR); +#define MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource) + +UINT WINAPI MsiSourceListEnumMediaDisksA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPDWORD, + LPSTR, LPDWORD, LPSTR, LPDWORD); +UINT WINAPI MsiSourceListEnumMediaDisksW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPDWORD, + LPWSTR, LPDWORD, LPWSTR, LPDWORD); +#define MsiSourceListEnumMediaDisks WINELIB_NAME_AW(MsiSourceListEnumMediaDisks) + +UINT WINAPI MsiSourceListEnumSourcesA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPSTR, LPDWORD); +UINT WINAPI MsiSourceListEnumSourcesW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPWSTR, LPDWORD); +#define MsiSourceListEnumSources WINELIB_NAME_AW(MsiSourceListEnumSources) + +UINT WINAPI MsiSourceListClearSourceA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR); +UINT WINAPI MsiSourceListClearSourceW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR); +#define MsiSourceListClearSource WINELIB_NAME_AW(MsiSourceListClearSource) + +UINT WINAPI MsiSourceListClearAllA(LPCSTR, LPCSTR, DWORD); +UINT WINAPI MsiSourceListClearAllW(LPCWSTR, LPCWSTR, DWORD); +#define MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll) + +UINT WINAPI MsiSourceListGetInfoA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, LPSTR, LPDWORD); +UINT WINAPI MsiSourceListGetInfoW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, LPWSTR, LPDWORD); +#define MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo) + +UINT WINAPI MsiSourceListSetInfoA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, LPCSTR); +UINT WINAPI MsiSourceListSetInfoW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, LPCWSTR); +#define MsiSourceListSetInfo WINELIB_NAME_AW(MsiSourceListSetInfo) + +UINT WINAPI MsiSourceListAddSourceExA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, DWORD); +UINT WINAPI MsiSourceListAddSourceExW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, DWORD); +#define MsiSourceListAddSourceEx WINELIB_NAME_AW(MsiSourceListAddSourceEx) + +UINT WINAPI MsiSourceListAddMediaDiskA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPCSTR, LPCSTR); +UINT WINAPI MsiSourceListAddMediaDiskW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPCWSTR, LPCWSTR); +#define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk) + +UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, LPDWORD); +UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, LPDWORD); +#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches) + +UINT WINAPI MsiEnumPatchesExA(LPCSTR, LPCSTR, DWORD, DWORD, DWORD, LPSTR, LPSTR, + MSIINSTALLCONTEXT*, LPSTR, LPDWORD); +UINT WINAPI MsiEnumPatchesExW(LPCWSTR, LPCWSTR, DWORD, DWORD, DWORD, LPWSTR, LPWSTR, + MSIINSTALLCONTEXT*, LPWSTR, LPDWORD); +#define MsiEnumPatchesEx WINELIB_NAME_AW(MsiEnumPatchesEx) + +UINT WINAPI MsiGetFileHashA(LPCSTR, DWORD, PMSIFILEHASHINFO); +UINT WINAPI MsiGetFileHashW(LPCWSTR, DWORD, PMSIFILEHASHINFO); +#define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash) + +UINT WINAPI MsiAdvertiseScriptA(LPCSTR, DWORD, PHKEY, BOOL); +UINT WINAPI MsiAdvertiseScriptW(LPCWSTR, DWORD, PHKEY, BOOL); +#define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript) + +UINT WINAPI MsiIsProductElevatedA(LPCSTR, BOOL *); +UINT WINAPI MsiIsProductElevatedW(LPCWSTR, BOOL *); +#define MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated) + +UINT WINAPI MsiDatabaseMergeA(MSIHANDLE, MSIHANDLE, LPCSTR); +UINT WINAPI MsiDatabaseMergeW(MSIHANDLE, MSIHANDLE, LPCWSTR); +#define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge) + +UINT WINAPI MsiInstallMissingComponentA(LPCSTR, LPCSTR, INSTALLSTATE); +UINT WINAPI MsiInstallMissingComponentW(LPCWSTR, LPCWSTR, INSTALLSTATE); +#define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent) + +UINT WINAPI MsiDetermineApplicablePatchesA(LPCSTR, DWORD, PMSIPATCHSEQUENCEINFOA); +UINT WINAPI MsiDetermineApplicablePatchesW(LPCWSTR, DWORD, PMSIPATCHSEQUENCEINFOW); +#define MsiDetermineApplicablePatches WINELIB_NAME_AW(MsiDetermineApplicablePatches) + +UINT WINAPI MsiDeterminePatchSequenceA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, PMSIPATCHSEQUENCEINFOA); +UINT WINAPI MsiDeterminePatchSequenceW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, PMSIPATCHSEQUENCEINFOW); +#define MsiDeterminePatchSequence WINELIB_NAME_AW(MsiDeterminePatchSequence) + +UINT WINAPI MsiApplyMultiplePatchesA(LPCSTR, LPCSTR, LPCSTR); +UINT WINAPI MsiApplyMultiplePatchesW(LPCWSTR, LPCWSTR, LPCWSTR); +#define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches) + +UINT WINAPI MsiBeginTransactionA(LPCSTR, DWORD, MSIHANDLE *, HANDLE *); +UINT WINAPI MsiBeginTransactionW(LPCWSTR, DWORD, MSIHANDLE *, HANDLE *); +#define MsiBeginTransaction WINELIB_NAME_AW(MsiBeginTransaction) + +UINT WINAPI MsiJoinTransaction(MSIHANDLE, DWORD, HANDLE *); +UINT WINAPI MsiEndTransaction(DWORD); + +/* Non Unicode */ +UINT WINAPI MsiCloseHandle(MSIHANDLE); +UINT WINAPI MsiCloseAllHandles(void); +INSTALLUILEVEL WINAPI MsiSetInternalUI(INSTALLUILEVEL, HWND*); +UINT WINAPI MsiSetExternalUIRecord(INSTALLUI_HANDLER_RECORD, DWORD, LPVOID, PINSTALLUI_HANDLER_RECORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MSI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msidefs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msidefs.h new file mode 100644 index 0000000..c37e5b8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msidefs.h @@ -0,0 +1,286 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSIDEFS_H +#define __WINE_MSIDEFS_H + +enum msidbUpgradeAttributes { + msidbUpgradeAttributesMigrateFeatures = 0x0000001, + msidbUpgradeAttributesOnlyDetect = 0x00000002, + msidbUpgradeAttributesIgnoreRemoveFailure = 0x00000004, + msidbUpgradeAttributesVersionMinInclusive = 0x00000100, + msidbUpgradeAttributesVersionMaxInclusive = 0x00000200, + msidbUpgradeAttributesLanguagesExclusive = 0x00000400 +}; + +enum msidbFileAttributes { + msidbFileAttributesReadOnly = 0x00000001, + msidbFileAttributesHidden = 0x00000002, + msidbFileAttributesSystem = 0x00000004, + msidbFileAttributesVital = 0x00000200, + msidbFileAttributesChecksum = 0x00000400, + msidbFileAttributesPatchAdded = 0x00001000, + msidbFileAttributesNoncompressed = 0x00002000, + msidbFileAttributesCompressed = 0x00004000 +}; + +enum msidbPatchAttributes { + msidbPatchAttributesNonVital = 0x00000001 +}; + +enum msidbDialogAttributes { + msidbDialogAttributesVisible = 0x00000001, + msidbDialogAttributesModal = 0x00000002, + msidbDialogAttributesMinimize = 0x00000004, + msidbDialogAttributesSysModal = 0x00000008, + msidbDialogAttributesKeepModeless = 0x00000010, + msidbDialogAttributesTrackDiskSpace = 0x00000020, + msidbDialogAttributesUseCustomPalette = 0x00000040, + msidbDialogAttributesRTLRO = 0x00000080, + msidbDialogAttributesRightAligned = 0x00000100, + msidbDialogAttributesLeftScroll = 0x00000200, + msidbDialogAttributesBidi = 0x00000380, + msidbDialogAttributesError = 0x00010000 +}; + +enum msidbControlAttributes { + msidbControlAttributesVisible = 0x00000001, + msidbControlAttributesEnabled = 0x00000002, + msidbControlAttributesSunken = 0x00000004, + msidbControlAttributesIndirect = 0x00000008, + msidbControlAttributesInteger = 0x00000010, + msidbControlAttributesRTLRO = 0x00000020, + msidbControlAttributesRightAligned = 0x00000040, + msidbControlAttributesLeftScroll = 0x00000080, + msidbControlAttributesBiDi = 0x000000c0, + + msidbControlAttributesTransparent = 0x00010000, + msidbControlAttributesNoPrefix = 0x00020000, + msidbControlAttributesNoWrap = 0x00040000, + msidbControlAttributesFormatSize = 0x00080000, + msidbControlAttributesUsersLanguage = 0x00100000, + + msidbControlAttributesMultiline = 0x00010000, + msidbControlAttributesPasswordInput = 0x00200000, + + msidbControlAttributesProgress95 = 0x00010000, + + msidbControlAttributesRemovableVolume = 0x00010000, + msidbControlAttributesFixedVolume = 0x00020000, + msidbControlAttributesRemoteVolume = 0x00040000, + msidbControlAttributesCDROMVolume = 0x00080000, + msidbControlAttributesRAMdiskVolume = 0x00100000, + msidbControlAttributesFloppyVolume = 0x00200000, + msidbControlShowRollbackCost = 0x00400000, + + msidbControlAttributesSorted = 0x00010000, + msidbControlAttributesComboList = 0x00020000, + + msidbControlAttributesImageHandle = 0x00010000, + msidbControlAttributesPushLike = 0x00020000, + msidbControlAttributesBitmap = 0x00040000, + msidbControlAttributesIcon = 0x00080000, + msidbControlAttributesFixedSize = 0x00100000, + msidbControlAttributesIconSize16 = 0x00200000, + msidbControlAttributesIconSize32 = 0x00400000, + msidbControlAttributesIconSize48 = 0x00600000, + + msidbControlAttributesHasBorder = 0x01000000, +}; + +enum msidbTextStyleStyleBits +{ + msidbTextStyleStyleBitsBold = 0x00000001, + msidbTextStyleStyleBitsItalic = 0x00000002, + msidbTextStyleStyleBitsUnderline = 0x00000004, + msidbTextStyleStyleBitsStrike = 0x00000008, +}; + +enum msidbCustomActionType +{ + msidbCustomActionTypeDll = 0x00000001, + msidbCustomActionTypeExe = 0x00000002, + msidbCustomActionTypeTextData = 0x00000003, + msidbCustomActionTypeJScript = 0x00000005, + msidbCustomActionTypeVBScript = 0x00000006, + msidbCustomActionTypeInstall = 0x00000007, + + msidbCustomActionTypeBinaryData = 0x00000000, + msidbCustomActionTypeSourceFile = 0x00000010, + msidbCustomActionTypeDirectory = 0x00000020, + msidbCustomActionTypeProperty = 0x00000030, + + msidbCustomActionTypeContinue = 0x00000040, + msidbCustomActionTypeAsync = 0x00000080, + + msidbCustomActionTypeFirstSequence = 0x00000100, + msidbCustomActionTypeOncePerProcess = 0x00000200, + msidbCustomActionTypeClientRepeat = 0x00000300, + msidbCustomActionTypeInScript = 0x00000400, + + msidbCustomActionTypeRollback = 0x00000100, + msidbCustomActionTypeCommit = 0x00000200, + + msidbCustomActionTypeNoImpersonate = 0x00000800, + msidbCustomActionTypeTSAware = 0x00004000, + + msidbCustomActionType64BitScript = 0x00001000, + msidbCustomActionTypeHideTarget = 0x00002000 +}; + +enum msidbFeatureAttributes +{ + msidbFeatureAttributesFavorLocal = 0x00000000, + msidbFeatureAttributesFavorSource = 0x00000001, + msidbFeatureAttributesFollowParent = 0x00000002, + msidbFeatureAttributesFavorAdvertise = 0x00000004, + msidbFeatureAttributesDisallowAdvertise = 0x00000008, + msidbFeatureAttributesUIDisallowAbsent = 0x00000010, + msidbFeatureAttributesNoUnsupportedAdvertise = 0x00000020 +}; + +enum msidbComponentAttributes +{ + msidbComponentAttributesLocalOnly = 0x00000000, + msidbComponentAttributesSourceOnly = 0x00000001, + msidbComponentAttributesOptional = 0x00000002, + msidbComponentAttributesRegistryKeyPath = 0x00000004, + msidbComponentAttributesSharedDllRefCount = 0x00000008, + msidbComponentAttributesPermanent = 0x00000010, + msidbComponentAttributesODBCDataSource = 0x00000020, + msidbComponentAttributesTransitive = 0x00000040, + msidbComponentAttributesNeverOverwrite = 0x00000080, + msidbComponentAttributes64bit = 0x00000100 +}; + +enum msidbODBCDataSourceRegistration +{ + msidbODBCDataSourceRegistrationPerMachine = 0x00000000, + msidbODBCDataSourceRegistrationPerUser = 0x00000001 +}; + +enum msidbRegistryRoot +{ + msidbRegistryRootClassesRoot = 0, + msidbRegistryRootCurrentUser = 1, + msidbRegistryRootLocalMachine = 2, + msidbRegistryRootUsers = 3, +}; + +enum msidbLocatorType +{ + msidbLocatorTypeDirectory = 0x000, + msidbLocatorTypeFileName = 0x001, + msidbLocatorTypeRawValue = 0x002, + msidbLocatorType64bit = 0x010, +}; + +enum msidbServiceControlEvent +{ + msidbServiceControlEventStart = 0x00000001, + msidbServiceControlEventStop = 0x00000002, + msidbServiceControlEventDelete = 0x00000008, + msidbServiceControlEventUninstallStart = 0x00000010, + msidbServiceControlEventUninstallStop = 0x00000020, + msidbServiceControlEventUninstallDelete = 0x00000080, +}; + +enum msidbServiceInstallErrorControl +{ + msidbServiceInstallErrorControlVital = 0x00008000 +}; + +enum msidbMoveFileOptions +{ + msidbMoveFileOptionsMove = 0x00000001, +}; + +enum msidbAssemblyAttributes +{ + msidbAssemblyAttributesURT = 0x00000000, + msidbAssemblyAttributesWin32 = 0x00000001, +}; + +enum msidbSumInfoSourceType +{ + msidbSumInfoSourceTypeSFN = 0x00000001, + msidbSumInfoSourceTypeCompressed = 0x00000002, + msidbSumInfoSourceTypeAdminImage = 0x00000004, + msidbSumInfoSourceTypeLUAPackage = 0x00000008, +}; + +enum msidbRemoveFileInstallMode +{ + msidbRemoveFileInstallModeOnInstall = 0x00000001, + msidbRemoveFileInstallModeOnRemove = 0x00000002, + msidbRemoveFileInstallModeOnBoth = 0x00000003, +}; + +enum +{ + msidbIniFileActionAddLine = 0x00000000, + msidbIniFileActionCreateLine = 0x00000001, + msidbIniFileActionRemoveLine = 0x00000002, + msidbIniFileActionAddTag = 0x00000003, + msidbIniFileActionRemoveTag = 0x00000004 +}; + +/* + * Windows SDK braindamage alert + * + * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too + * PID_SECURITY is defined in propidl.h with a different value! + * So these need to be undefined first. + */ +#ifdef PID_DICTIONARY +#undef PID_DICTIONARY +#endif + +#ifdef PID_CODEPAGE +#undef PID_CODEPAGE +#endif + +#ifdef PID_SECURITY +#undef PID_SECURITY +#endif + +#define PID_DICTIONARY 0 +#define PID_CODEPAGE 1 +#define PID_TITLE 2 +#define PID_SUBJECT 3 +#define PID_AUTHOR 4 +#define PID_KEYWORDS 5 +#define PID_COMMENTS 6 +#define PID_TEMPLATE 7 +#define PID_LASTAUTHOR 8 +#define PID_REVNUMBER 9 +#define PID_EDITTIME 10 +#define PID_LASTPRINTED 11 +#define PID_CREATE_DTM 12 +#define PID_LASTSAVE_DTM 13 +#define PID_PAGECOUNT 14 +#define PID_WORDCOUNT 15 +#define PID_CHARCOUNT 16 +#define PID_THUMBNAIL 17 +#define PID_APPNAME 18 +#define PID_SECURITY 19 +#define PID_MSIVERSION PID_PAGECOUNT +#define PID_MSISOURCE PID_WORDCOUNT +#define PID_MSIRESTRICT PID_CHARCOUNT + +#endif /* __WINE_MSIDEFS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msident.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msident.h new file mode 100644 index 0000000..ad7d2b5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msident.h @@ -0,0 +1,452 @@ +/*** Autogenerated by WIDL 2.18 from msident.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msident_h__ +#define __msident_h__ + +/* Forward declarations */ + +#ifndef __IUserIdentity_FWD_DEFINED__ +#define __IUserIdentity_FWD_DEFINED__ +typedef interface IUserIdentity IUserIdentity; +#ifdef __cplusplus +interface IUserIdentity; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumUserIdentity_FWD_DEFINED__ +#define __IEnumUserIdentity_FWD_DEFINED__ +typedef interface IEnumUserIdentity IEnumUserIdentity; +#ifdef __cplusplus +interface IEnumUserIdentity; +#endif /* __cplusplus */ +#endif + +#ifndef __IUserIdentityManager_FWD_DEFINED__ +#define __IUserIdentityManager_FWD_DEFINED__ +typedef interface IUserIdentityManager IUserIdentityManager; +#ifdef __cplusplus +interface IUserIdentityManager; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define E_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x80007110) +#define S_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x00007110) +#define E_NO_CURRENT_IDENTITY _HRESULT_TYPEDEF_(0x80007111) +#define E_USER_CANCELLED _HRESULT_TYPEDEF_(0x80007112) +#define E_PROCESS_CANCELLED_SWITCH _HRESULT_TYPEDEF_(0x80007113) +#define E_IDENTITY_NOT_FOUND _HRESULT_TYPEDEF_(0x80007114) +#define E_IDENTITY_EXISTS _HRESULT_TYPEDEF_(0x80007115) +#define E_IDENTITY_CHANGING _HRESULT_TYPEDEF_(0x80007116) +/***************************************************************************** + * IUserIdentity interface + */ +#ifndef __IUserIdentity_INTERFACE_DEFINED__ +#define __IUserIdentity_INTERFACE_DEFINED__ + +#define GIF_ROAMING_FOLDER 0x0001 +#define GIF_NON_ROAMING_FOLDER 0x0002 +DEFINE_GUID(IID_IUserIdentity, 0xa9ae6c8e, 0x1d1b, 0x11d2, 0xb2,0x1a, 0x00,0xc0,0x4f,0xa3,0x57,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a9ae6c8e-1d1b-11d2-b21a-00c04fa357fa") +IUserIdentity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCookie( + GUID *puidCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + WCHAR *pszName, + ULONG ulBuffSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenIdentityRegKey( + DWORD dwDesiredAccess, + HKEY *phKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIdentityFolder( + DWORD dwFlags, + WCHAR *pszPath, + ULONG ulBuffSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUserIdentity, 0xa9ae6c8e, 0x1d1b, 0x11d2, 0xb2,0x1a, 0x00,0xc0,0x4f,0xa3,0x57,0xfa) +#endif +#else +typedef struct IUserIdentityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUserIdentity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUserIdentity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUserIdentity *This); + + /*** IUserIdentity methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCookie)( + IUserIdentity *This, + GUID *puidCookie); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IUserIdentity *This, + WCHAR *pszName, + ULONG ulBuffSize); + + HRESULT (STDMETHODCALLTYPE *OpenIdentityRegKey)( + IUserIdentity *This, + DWORD dwDesiredAccess, + HKEY *phKey); + + HRESULT (STDMETHODCALLTYPE *GetIdentityFolder)( + IUserIdentity *This, + DWORD dwFlags, + WCHAR *pszPath, + ULONG ulBuffSize); + + END_INTERFACE +} IUserIdentityVtbl; + +interface IUserIdentity { + CONST_VTBL IUserIdentityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUserIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUserIdentity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUserIdentity_Release(This) (This)->lpVtbl->Release(This) +/*** IUserIdentity methods ***/ +#define IUserIdentity_GetCookie(This,puidCookie) (This)->lpVtbl->GetCookie(This,puidCookie) +#define IUserIdentity_GetName(This,pszName,ulBuffSize) (This)->lpVtbl->GetName(This,pszName,ulBuffSize) +#define IUserIdentity_OpenIdentityRegKey(This,dwDesiredAccess,phKey) (This)->lpVtbl->OpenIdentityRegKey(This,dwDesiredAccess,phKey) +#define IUserIdentity_GetIdentityFolder(This,dwFlags,pszPath,ulBuffSize) (This)->lpVtbl->GetIdentityFolder(This,dwFlags,pszPath,ulBuffSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUserIdentity_QueryInterface(IUserIdentity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUserIdentity_AddRef(IUserIdentity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUserIdentity_Release(IUserIdentity* This) { + return This->lpVtbl->Release(This); +} +/*** IUserIdentity methods ***/ +static FORCEINLINE HRESULT IUserIdentity_GetCookie(IUserIdentity* This,GUID *puidCookie) { + return This->lpVtbl->GetCookie(This,puidCookie); +} +static FORCEINLINE HRESULT IUserIdentity_GetName(IUserIdentity* This,WCHAR *pszName,ULONG ulBuffSize) { + return This->lpVtbl->GetName(This,pszName,ulBuffSize); +} +static FORCEINLINE HRESULT IUserIdentity_OpenIdentityRegKey(IUserIdentity* This,DWORD dwDesiredAccess,HKEY *phKey) { + return This->lpVtbl->OpenIdentityRegKey(This,dwDesiredAccess,phKey); +} +static FORCEINLINE HRESULT IUserIdentity_GetIdentityFolder(IUserIdentity* This,DWORD dwFlags,WCHAR *pszPath,ULONG ulBuffSize) { + return This->lpVtbl->GetIdentityFolder(This,dwFlags,pszPath,ulBuffSize); +} +#endif +#endif + +#endif + + +#endif /* __IUserIdentity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumUserIdentity interface + */ +#ifndef __IEnumUserIdentity_INTERFACE_DEFINED__ +#define __IEnumUserIdentity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumUserIdentity, 0xa9ae6c8f, 0x1d1b, 0x11d2, 0xb2,0x1a, 0x00,0xc0,0x4f,0xa3,0x57,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a9ae6c8f-1d1b-11d2-b21a-00c04fa357fa") +IEnumUserIdentity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumUserIdentity **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *pnCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumUserIdentity, 0xa9ae6c8f, 0x1d1b, 0x11d2, 0xb2,0x1a, 0x00,0xc0,0x4f,0xa3,0x57,0xfa) +#endif +#else +typedef struct IEnumUserIdentityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumUserIdentity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumUserIdentity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumUserIdentity *This); + + /*** IEnumUserIdentity methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumUserIdentity *This, + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumUserIdentity *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumUserIdentity *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumUserIdentity *This, + IEnumUserIdentity **ppenum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IEnumUserIdentity *This, + ULONG *pnCount); + + END_INTERFACE +} IEnumUserIdentityVtbl; + +interface IEnumUserIdentity { + CONST_VTBL IEnumUserIdentityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumUserIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumUserIdentity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumUserIdentity_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumUserIdentity methods ***/ +#define IEnumUserIdentity_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumUserIdentity_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumUserIdentity_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumUserIdentity_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#define IEnumUserIdentity_GetCount(This,pnCount) (This)->lpVtbl->GetCount(This,pnCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumUserIdentity_QueryInterface(IEnumUserIdentity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumUserIdentity_AddRef(IEnumUserIdentity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumUserIdentity_Release(IEnumUserIdentity* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumUserIdentity methods ***/ +static FORCEINLINE HRESULT IEnumUserIdentity_Next(IEnumUserIdentity* This,ULONG celt,IUnknown **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumUserIdentity_Skip(IEnumUserIdentity* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumUserIdentity_Reset(IEnumUserIdentity* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumUserIdentity_Clone(IEnumUserIdentity* This,IEnumUserIdentity **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +static FORCEINLINE HRESULT IEnumUserIdentity_GetCount(IEnumUserIdentity* This,ULONG *pnCount) { + return This->lpVtbl->GetCount(This,pnCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumUserIdentity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUserIdentityManager interface + */ +#ifndef __IUserIdentityManager_INTERFACE_DEFINED__ +#define __IUserIdentityManager_INTERFACE_DEFINED__ + +#define UIMI_CREATE_NEW_IDENTITY 0x0001 +#define UIL_FORCE_UI 0x80000001 +DEFINE_GUID(IID_IUserIdentityManager, 0xa9ae6c90, 0x1d1b, 0x11d2, 0xb2,0x1a, 0x00,0xc0,0x4f,0xa3,0x57,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a9ae6c90-1d1b-11d2-b21a-00c04fa357fa") +IUserIdentityManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumIdentities( + IEnumUserIdentity **ppEnumUser) = 0; + + virtual HRESULT STDMETHODCALLTYPE ManageIdentities( + HWND hwndParent, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Logon( + HWND hwndParent, + DWORD dwFlags, + IUserIdentity **ppIdentity) = 0; + + virtual HRESULT STDMETHODCALLTYPE Logoff( + HWND hwndParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIdentityByCookie( + GUID *uidCookie, + IUserIdentity **ppIdentity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUserIdentityManager, 0xa9ae6c90, 0x1d1b, 0x11d2, 0xb2,0x1a, 0x00,0xc0,0x4f,0xa3,0x57,0xfa) +#endif +#else +typedef struct IUserIdentityManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUserIdentityManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUserIdentityManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUserIdentityManager *This); + + /*** IUserIdentityManager methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumIdentities)( + IUserIdentityManager *This, + IEnumUserIdentity **ppEnumUser); + + HRESULT (STDMETHODCALLTYPE *ManageIdentities)( + IUserIdentityManager *This, + HWND hwndParent, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Logon)( + IUserIdentityManager *This, + HWND hwndParent, + DWORD dwFlags, + IUserIdentity **ppIdentity); + + HRESULT (STDMETHODCALLTYPE *Logoff)( + IUserIdentityManager *This, + HWND hwndParent); + + HRESULT (STDMETHODCALLTYPE *GetIdentityByCookie)( + IUserIdentityManager *This, + GUID *uidCookie, + IUserIdentity **ppIdentity); + + END_INTERFACE +} IUserIdentityManagerVtbl; + +interface IUserIdentityManager { + CONST_VTBL IUserIdentityManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUserIdentityManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUserIdentityManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUserIdentityManager_Release(This) (This)->lpVtbl->Release(This) +/*** IUserIdentityManager methods ***/ +#define IUserIdentityManager_EnumIdentities(This,ppEnumUser) (This)->lpVtbl->EnumIdentities(This,ppEnumUser) +#define IUserIdentityManager_ManageIdentities(This,hwndParent,dwFlags) (This)->lpVtbl->ManageIdentities(This,hwndParent,dwFlags) +#define IUserIdentityManager_Logon(This,hwndParent,dwFlags,ppIdentity) (This)->lpVtbl->Logon(This,hwndParent,dwFlags,ppIdentity) +#define IUserIdentityManager_Logoff(This,hwndParent) (This)->lpVtbl->Logoff(This,hwndParent) +#define IUserIdentityManager_GetIdentityByCookie(This,uidCookie,ppIdentity) (This)->lpVtbl->GetIdentityByCookie(This,uidCookie,ppIdentity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUserIdentityManager_QueryInterface(IUserIdentityManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUserIdentityManager_AddRef(IUserIdentityManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUserIdentityManager_Release(IUserIdentityManager* This) { + return This->lpVtbl->Release(This); +} +/*** IUserIdentityManager methods ***/ +static FORCEINLINE HRESULT IUserIdentityManager_EnumIdentities(IUserIdentityManager* This,IEnumUserIdentity **ppEnumUser) { + return This->lpVtbl->EnumIdentities(This,ppEnumUser); +} +static FORCEINLINE HRESULT IUserIdentityManager_ManageIdentities(IUserIdentityManager* This,HWND hwndParent,DWORD dwFlags) { + return This->lpVtbl->ManageIdentities(This,hwndParent,dwFlags); +} +static FORCEINLINE HRESULT IUserIdentityManager_Logon(IUserIdentityManager* This,HWND hwndParent,DWORD dwFlags,IUserIdentity **ppIdentity) { + return This->lpVtbl->Logon(This,hwndParent,dwFlags,ppIdentity); +} +static FORCEINLINE HRESULT IUserIdentityManager_Logoff(IUserIdentityManager* This,HWND hwndParent) { + return This->lpVtbl->Logoff(This,hwndParent); +} +static FORCEINLINE HRESULT IUserIdentityManager_GetIdentityByCookie(IUserIdentityManager* This,GUID *uidCookie,IUserIdentity **ppIdentity) { + return This->lpVtbl->GetIdentityByCookie(This,uidCookie,ppIdentity); +} +#endif +#endif + +#endif + + +#endif /* __IUserIdentityManager_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_UserIdentityManager, 0xa9ae6c91,0x1d1b,0x11d2,0xb2,0x1a,0x00,0xc0,0x4f,0xa3,0x57,0xfa); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msident_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msident.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msident.idl new file mode 100644 index 0000000..fad8bd5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msident.idl @@ -0,0 +1,94 @@ +/* + * Copyright 2012 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +import "ocidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +#endif + +cpp_quote("#define E_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x80007110)") +cpp_quote("#define S_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x00007110)") +cpp_quote("#define E_NO_CURRENT_IDENTITY _HRESULT_TYPEDEF_(0x80007111)") +cpp_quote("#define E_USER_CANCELLED _HRESULT_TYPEDEF_(0x80007112)") +cpp_quote("#define E_PROCESS_CANCELLED_SWITCH _HRESULT_TYPEDEF_(0x80007113)") +cpp_quote("#define E_IDENTITY_NOT_FOUND _HRESULT_TYPEDEF_(0x80007114)") +cpp_quote("#define E_IDENTITY_EXISTS _HRESULT_TYPEDEF_(0x80007115)") +cpp_quote("#define E_IDENTITY_CHANGING _HRESULT_TYPEDEF_(0x80007116)") + +[ + uuid(a9ae6c8e-1d1b-11d2-b21a-00c04fa357fa), +] +interface IUserIdentity : IUnknown +{ + HRESULT GetCookie([out] GUID *puidCookie); + + HRESULT GetName( + [in] WCHAR *pszName, + [in] ULONG ulBuffSize); + + [local] + HRESULT OpenIdentityRegKey( + [in]DWORD dwDesiredAccess, + [out] HKEY *phKey); + + HRESULT GetIdentityFolder( + [in] DWORD dwFlags, + [in] WCHAR *pszPath, + [in] ULONG ulBuffSize); + +cpp_quote("#define GIF_ROAMING_FOLDER 0x0001") +cpp_quote("#define GIF_NON_ROAMING_FOLDER 0x0002") +} + +[ + uuid(a9ae6c8f-1d1b-11d2-b21a-00c04fa357fa), + odl +] +interface IEnumUserIdentity : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] IUnknown **rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip([in] ULONG celt); + HRESULT Reset(); + HRESULT Clone([out] IEnumUserIdentity **ppenum); + HRESULT GetCount([out] ULONG *pnCount); +} + +[ + uuid(a9ae6c90-1d1b-11d2-b21a-00c04fa357fa) +] +interface IUserIdentityManager : IUnknown +{ + HRESULT EnumIdentities([out] IEnumUserIdentity **ppEnumUser); + HRESULT ManageIdentities([in] HWND hwndParent, [in] DWORD dwFlags); + +cpp_quote("#define UIMI_CREATE_NEW_IDENTITY 0x0001") + HRESULT Logon([in] HWND hwndParent, [in] DWORD dwFlags, [out] IUserIdentity **ppIdentity); + +cpp_quote("#define UIL_FORCE_UI 0x80000001") + HRESULT Logoff([in] HWND hwndParent); + + HRESULT GetIdentityByCookie([in] GUID *uidCookie, [out] IUserIdentity **ppIdentity); +} + +cpp_quote("DEFINE_GUID(CLSID_UserIdentityManager, 0xa9ae6c91,0x1d1b,0x11d2,0xb2,0x1a,0x00,0xc0,0x4f,0xa3,0x57,0xfa);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msinkaut.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msinkaut.h new file mode 100644 index 0000000..3700a0a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msinkaut.h @@ -0,0 +1,5570 @@ +/*** Autogenerated by WIDL 2.18 from msinkaut.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msinkaut_h__ +#define __msinkaut_h__ + +/* Forward declarations */ + +#ifndef __IInkExtendedProperty_FWD_DEFINED__ +#define __IInkExtendedProperty_FWD_DEFINED__ +typedef interface IInkExtendedProperty IInkExtendedProperty; +#ifdef __cplusplus +interface IInkExtendedProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkExtendedProperties_FWD_DEFINED__ +#define __IInkExtendedProperties_FWD_DEFINED__ +typedef interface IInkExtendedProperties IInkExtendedProperties; +#ifdef __cplusplus +interface IInkExtendedProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkDrawingAttributes_FWD_DEFINED__ +#define __IInkDrawingAttributes_FWD_DEFINED__ +typedef interface IInkDrawingAttributes IInkDrawingAttributes; +#ifdef __cplusplus +interface IInkDrawingAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkTransform_FWD_DEFINED__ +#define __IInkTransform_FWD_DEFINED__ +typedef interface IInkTransform IInkTransform; +#ifdef __cplusplus +interface IInkTransform; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkRectangle_FWD_DEFINED__ +#define __IInkRectangle_FWD_DEFINED__ +typedef interface IInkRectangle IInkRectangle; +#ifdef __cplusplus +interface IInkRectangle; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkStrokeDisp_FWD_DEFINED__ +#define __IInkStrokeDisp_FWD_DEFINED__ +typedef interface IInkStrokeDisp IInkStrokeDisp; +#ifdef __cplusplus +interface IInkStrokeDisp; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkStrokes_FWD_DEFINED__ +#define __IInkStrokes_FWD_DEFINED__ +typedef interface IInkStrokes IInkStrokes; +#ifdef __cplusplus +interface IInkStrokes; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkCustomStrokes_FWD_DEFINED__ +#define __IInkCustomStrokes_FWD_DEFINED__ +typedef interface IInkCustomStrokes IInkCustomStrokes; +#ifdef __cplusplus +interface IInkCustomStrokes; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkRecognitionResult_FWD_DEFINED__ +#define __IInkRecognitionResult_FWD_DEFINED__ +typedef interface IInkRecognitionResult IInkRecognitionResult; +#ifdef __cplusplus +interface IInkRecognitionResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkRecognitionAlternate_FWD_DEFINED__ +#define __IInkRecognitionAlternate_FWD_DEFINED__ +typedef interface IInkRecognitionAlternate IInkRecognitionAlternate; +#ifdef __cplusplus +interface IInkRecognitionAlternate; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkRecognitionAlternates_FWD_DEFINED__ +#define __IInkRecognitionAlternates_FWD_DEFINED__ +typedef interface IInkRecognitionAlternates IInkRecognitionAlternates; +#ifdef __cplusplus +interface IInkRecognitionAlternates; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkDisp_FWD_DEFINED__ +#define __IInkDisp_FWD_DEFINED__ +typedef interface IInkDisp IInkDisp; +#ifdef __cplusplus +interface IInkDisp; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkRenderer_FWD_DEFINED__ +#define __IInkRenderer_FWD_DEFINED__ +typedef interface IInkRenderer IInkRenderer; +#ifdef __cplusplus +interface IInkRenderer; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkTablet_FWD_DEFINED__ +#define __IInkTablet_FWD_DEFINED__ +typedef interface IInkTablet IInkTablet; +#ifdef __cplusplus +interface IInkTablet; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkCursorButton_FWD_DEFINED__ +#define __IInkCursorButton_FWD_DEFINED__ +typedef interface IInkCursorButton IInkCursorButton; +#ifdef __cplusplus +interface IInkCursorButton; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkCursorButtons_FWD_DEFINED__ +#define __IInkCursorButtons_FWD_DEFINED__ +typedef interface IInkCursorButtons IInkCursorButtons; +#ifdef __cplusplus +interface IInkCursorButtons; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkCursor_FWD_DEFINED__ +#define __IInkCursor_FWD_DEFINED__ +typedef interface IInkCursor IInkCursor; +#ifdef __cplusplus +interface IInkCursor; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkCursors_FWD_DEFINED__ +#define __IInkCursors_FWD_DEFINED__ +typedef interface IInkCursors IInkCursors; +#ifdef __cplusplus +interface IInkCursors; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkCollector_FWD_DEFINED__ +#define __IInkCollector_FWD_DEFINED__ +typedef interface IInkCollector IInkCollector; +#ifdef __cplusplus +interface IInkCollector; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_MSINKAUTLib, 0x7d868acd, 0x1a5d, 0x4a47, 0xa2,0x47, 0xf3,0x97,0x41,0x35,0x30,0x12); + +typedef float single; +typedef enum InkBoundingBoxMode { + IBBM_Default = 0, + IBBM_NoCurveFit = 1, + IBBM_CurveFit = 2, + IBBM_PointsOnly = 3, + IBBM_Union = 4 +} InkBoundingBoxMode; +typedef enum InkExtractFlags { + IEF_CopyFromOriginal = 0x0, + IEF_RemoveFromOriginal = 0x1, + IEF_Default = IEF_RemoveFromOriginal +} InkExtractFlags; +typedef enum InkPersistenceFormat { + IPF_InkSerializeFormat = 0, + IPF_Base64InkSerializedFormat = 1, + IPF_GIF = 2, + IPF_Base64GIF = 3 +} InkPersistenceFormat; +typedef enum InkPersistenceCompressionMode { + IPCM_Default = 0, + IPCM_MaximumCompression = 1, + IPCM_NoCompression = 2 +} InkPersistenceCompressionMode; +typedef enum InkPenTip { + IPT_Ball = 0, + IPT_Rectangle = 1 +} InkPenTip; +typedef enum InkRasterOperation { + IRO_Black = 1, + IRO_NotMergePen = 2, + IRO_MaskNotPen = 3, + IRO_NotCopyPen = 4, + IRO_MaskPenNot = 5, + IRO_Not = 6, + IRO_XOrPen = 7, + IRO_NotMaskPen = 8, + IRO_MaskPen = 9, + IRO_NotXOrPen = 10, + IRO_NoOperation = 11, + IRO_MergeNotPen = 12, + IRO_CopyPen = 13, + IRO_MergePenNot = 14, + IRO_MergePen = 15, + IRO_White = 16 +} InkRasterOperation; +typedef enum InkClipboardModes { + ICB_Copy = 0, + ICB_Cut = 0x1, + ICB_DelayedCopy = 0x20, + ICB_ExtractOnly = 0x30, + ICB_Default = ICB_Copy +} InkClipboardModes; +typedef enum InkClipboardFormats { + ICF_None = 0, + ICF_InkSerializedFormat = 0x1, + ICF_SketchInk = 0x2, + ICF_TextInk = 0x6, + ICF_EnhancedMetafile = 0x8, + ICF_Metafile = 0x20, + ICF_Bitmap = 0x40, + ICF_PasteMask = 0x7, + ICF_CopyMask = 0x7f, + ICF_Default = ICF_CopyMask +} InkClipboardFormats; +typedef enum InkRecognitionConfidence { + IRC_Strong = 0, + IRC_Intermediate = 1, + IRC_Poor = 2 +} InkRecognitionConfidence; +/***************************************************************************** + * IInkExtendedProperty interface + */ +#ifndef __IInkExtendedProperty_INTERFACE_DEFINED__ +#define __IInkExtendedProperty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkExtendedProperty, 0xdb489209, 0xb7c3, 0x411d, 0x90,0xf6, 0x15,0x48,0xcf,0xff,0x27,0x1e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("db489209-b7c3-411d-90f6-1548cfff271e") +IInkExtendedProperty : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Guid( + BSTR *Guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Data( + VARIANT *Data) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Data( + VARIANT Data) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkExtendedProperty, 0xdb489209, 0xb7c3, 0x411d, 0x90,0xf6, 0x15,0x48,0xcf,0xff,0x27,0x1e) +#endif +#else +typedef struct IInkExtendedPropertyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkExtendedProperty *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkExtendedProperty *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkExtendedProperty *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkExtendedProperty *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkExtendedProperty *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkExtendedProperty *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkExtendedProperty *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkExtendedProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Guid)( + IInkExtendedProperty *This, + BSTR *Guid); + + HRESULT (STDMETHODCALLTYPE *get_Data)( + IInkExtendedProperty *This, + VARIANT *Data); + + HRESULT (STDMETHODCALLTYPE *put_Data)( + IInkExtendedProperty *This, + VARIANT Data); + + END_INTERFACE +} IInkExtendedPropertyVtbl; + +interface IInkExtendedProperty { + CONST_VTBL IInkExtendedPropertyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkExtendedProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkExtendedProperty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkExtendedProperty_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkExtendedProperty_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkExtendedProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkExtendedProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkExtendedProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkExtendedProperty methods ***/ +#define IInkExtendedProperty_get_Guid(This,Guid) (This)->lpVtbl->get_Guid(This,Guid) +#define IInkExtendedProperty_get_Data(This,Data) (This)->lpVtbl->get_Data(This,Data) +#define IInkExtendedProperty_put_Data(This,Data) (This)->lpVtbl->put_Data(This,Data) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkExtendedProperty_QueryInterface(IInkExtendedProperty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkExtendedProperty_AddRef(IInkExtendedProperty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkExtendedProperty_Release(IInkExtendedProperty* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkExtendedProperty_GetTypeInfoCount(IInkExtendedProperty* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkExtendedProperty_GetTypeInfo(IInkExtendedProperty* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkExtendedProperty_GetIDsOfNames(IInkExtendedProperty* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkExtendedProperty_Invoke(IInkExtendedProperty* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkExtendedProperty methods ***/ +static FORCEINLINE HRESULT IInkExtendedProperty_get_Guid(IInkExtendedProperty* This,BSTR *Guid) { + return This->lpVtbl->get_Guid(This,Guid); +} +static FORCEINLINE HRESULT IInkExtendedProperty_get_Data(IInkExtendedProperty* This,VARIANT *Data) { + return This->lpVtbl->get_Data(This,Data); +} +static FORCEINLINE HRESULT IInkExtendedProperty_put_Data(IInkExtendedProperty* This,VARIANT Data) { + return This->lpVtbl->put_Data(This,Data); +} +#endif +#endif + +#endif + + +#endif /* __IInkExtendedProperty_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkExtendedProperties interface + */ +#ifndef __IInkExtendedProperties_INTERFACE_DEFINED__ +#define __IInkExtendedProperties_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkExtendedProperties, 0x89f2a8be, 0x95a9, 0x4530, 0x8b,0x8f, 0x88,0xe9,0x71,0xe3,0xe2,0x5f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("89f2a8be-95a9-4530-8b8f-88e971e3e25f") +IInkExtendedProperties : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE _NewEnum( + IUnknown **_NewEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT Identifier, + IInkExtendedProperty **Item) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR Guid, + VARIANT Data, + IInkExtendedProperty **InkExtendedProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + VARIANT Identifier) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesPropertyExist( + BSTR Guid, + VARIANT_BOOL *DoesPropertyExist) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkExtendedProperties, 0x89f2a8be, 0x95a9, 0x4530, 0x8b,0x8f, 0x88,0xe9,0x71,0xe3,0xe2,0x5f) +#endif +#else +typedef struct IInkExtendedPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkExtendedProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkExtendedProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkExtendedProperties *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkExtendedProperties *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkExtendedProperties *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkExtendedProperties *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkExtendedProperties *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkExtendedProperties methods ***/ + HRESULT (STDMETHODCALLTYPE *Count)( + IInkExtendedProperties *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + IInkExtendedProperties *This, + IUnknown **_NewEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + IInkExtendedProperties *This, + VARIANT Identifier, + IInkExtendedProperty **Item); + + HRESULT (STDMETHODCALLTYPE *Add)( + IInkExtendedProperties *This, + BSTR Guid, + VARIANT Data, + IInkExtendedProperty **InkExtendedProperty); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IInkExtendedProperties *This, + VARIANT Identifier); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IInkExtendedProperties *This); + + HRESULT (STDMETHODCALLTYPE *DoesPropertyExist)( + IInkExtendedProperties *This, + BSTR Guid, + VARIANT_BOOL *DoesPropertyExist); + + END_INTERFACE +} IInkExtendedPropertiesVtbl; + +interface IInkExtendedProperties { + CONST_VTBL IInkExtendedPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkExtendedProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkExtendedProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkExtendedProperties_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkExtendedProperties_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkExtendedProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkExtendedProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkExtendedProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkExtendedProperties methods ***/ +#define IInkExtendedProperties_Count(This,Count) (This)->lpVtbl->Count(This,Count) +#define IInkExtendedProperties__NewEnum(This,_NewEnum) (This)->lpVtbl->_NewEnum(This,_NewEnum) +#define IInkExtendedProperties_Item(This,Identifier,Item) (This)->lpVtbl->Item(This,Identifier,Item) +#define IInkExtendedProperties_Add(This,Guid,Data,InkExtendedProperty) (This)->lpVtbl->Add(This,Guid,Data,InkExtendedProperty) +#define IInkExtendedProperties_Remove(This,Identifier) (This)->lpVtbl->Remove(This,Identifier) +#define IInkExtendedProperties_Clear(This) (This)->lpVtbl->Clear(This) +#define IInkExtendedProperties_DoesPropertyExist(This,Guid,DoesPropertyExist) (This)->lpVtbl->DoesPropertyExist(This,Guid,DoesPropertyExist) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkExtendedProperties_QueryInterface(IInkExtendedProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkExtendedProperties_AddRef(IInkExtendedProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkExtendedProperties_Release(IInkExtendedProperties* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkExtendedProperties_GetTypeInfoCount(IInkExtendedProperties* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkExtendedProperties_GetTypeInfo(IInkExtendedProperties* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkExtendedProperties_GetIDsOfNames(IInkExtendedProperties* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkExtendedProperties_Invoke(IInkExtendedProperties* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkExtendedProperties methods ***/ +static FORCEINLINE HRESULT IInkExtendedProperties_Count(IInkExtendedProperties* This,LONG *Count) { + return This->lpVtbl->Count(This,Count); +} +static FORCEINLINE HRESULT IInkExtendedProperties__NewEnum(IInkExtendedProperties* This,IUnknown **_NewEnum) { + return This->lpVtbl->_NewEnum(This,_NewEnum); +} +static FORCEINLINE HRESULT IInkExtendedProperties_Item(IInkExtendedProperties* This,VARIANT Identifier,IInkExtendedProperty **Item) { + return This->lpVtbl->Item(This,Identifier,Item); +} +static FORCEINLINE HRESULT IInkExtendedProperties_Add(IInkExtendedProperties* This,BSTR Guid,VARIANT Data,IInkExtendedProperty **InkExtendedProperty) { + return This->lpVtbl->Add(This,Guid,Data,InkExtendedProperty); +} +static FORCEINLINE HRESULT IInkExtendedProperties_Remove(IInkExtendedProperties* This,VARIANT Identifier) { + return This->lpVtbl->Remove(This,Identifier); +} +static FORCEINLINE HRESULT IInkExtendedProperties_Clear(IInkExtendedProperties* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IInkExtendedProperties_DoesPropertyExist(IInkExtendedProperties* This,BSTR Guid,VARIANT_BOOL *DoesPropertyExist) { + return This->lpVtbl->DoesPropertyExist(This,Guid,DoesPropertyExist); +} +#endif +#endif + +#endif + + +#endif /* __IInkExtendedProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkDrawingAttributes interface + */ +#ifndef __IInkDrawingAttributes_INTERFACE_DEFINED__ +#define __IInkDrawingAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkDrawingAttributes, 0xbf519b75, 0x0a15, 0x4623, 0xad,0xc9, 0xc0,0x0d,0x43,0x6a,0x80,0x92); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bf519b75-0a15-4623-adc9-c00d436a8092") +IInkDrawingAttributes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Color( + LONG *CurrentColor) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Color( + LONG CurrentColor) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Width( + single *CurrentWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Width( + single CurrentWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Height( + single *CurrentHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Height( + single CurrentHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FitToCurve( + VARIANT_BOOL *Flag) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FitToCurve( + VARIANT_BOOL Flag) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IgnorePressure( + VARIANT_BOOL *Flag) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IgnorePressure( + VARIANT_BOOL Flag) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AntiAliased( + VARIANT_BOOL *Flag) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AntiAliased( + VARIANT_BOOL Flag) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Transparency( + LONG *CurrentTransparency) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Transparency( + LONG CurrentTransparency) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RasterOperation( + InkRasterOperation *CurrentRasterOperation) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RasterOperation( + InkRasterOperation CurrentRasterOperation) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PenTip( + InkPenTip *CurrentPenTip) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PenTip( + InkPenTip CurrentPenTip) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExtendedProperties( + IInkExtendedProperties **Properties) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IInkDrawingAttributes **DrawingAttributes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkDrawingAttributes, 0xbf519b75, 0x0a15, 0x4623, 0xad,0xc9, 0xc0,0x0d,0x43,0x6a,0x80,0x92) +#endif +#else +typedef struct IInkDrawingAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkDrawingAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkDrawingAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkDrawingAttributes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkDrawingAttributes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkDrawingAttributes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkDrawingAttributes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkDrawingAttributes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkDrawingAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Color)( + IInkDrawingAttributes *This, + LONG *CurrentColor); + + HRESULT (STDMETHODCALLTYPE *put_Color)( + IInkDrawingAttributes *This, + LONG CurrentColor); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IInkDrawingAttributes *This, + single *CurrentWidth); + + HRESULT (STDMETHODCALLTYPE *put_Width)( + IInkDrawingAttributes *This, + single CurrentWidth); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IInkDrawingAttributes *This, + single *CurrentHeight); + + HRESULT (STDMETHODCALLTYPE *put_Height)( + IInkDrawingAttributes *This, + single CurrentHeight); + + HRESULT (STDMETHODCALLTYPE *get_FitToCurve)( + IInkDrawingAttributes *This, + VARIANT_BOOL *Flag); + + HRESULT (STDMETHODCALLTYPE *put_FitToCurve)( + IInkDrawingAttributes *This, + VARIANT_BOOL Flag); + + HRESULT (STDMETHODCALLTYPE *get_IgnorePressure)( + IInkDrawingAttributes *This, + VARIANT_BOOL *Flag); + + HRESULT (STDMETHODCALLTYPE *put_IgnorePressure)( + IInkDrawingAttributes *This, + VARIANT_BOOL Flag); + + HRESULT (STDMETHODCALLTYPE *get_AntiAliased)( + IInkDrawingAttributes *This, + VARIANT_BOOL *Flag); + + HRESULT (STDMETHODCALLTYPE *put_AntiAliased)( + IInkDrawingAttributes *This, + VARIANT_BOOL Flag); + + HRESULT (STDMETHODCALLTYPE *get_Transparency)( + IInkDrawingAttributes *This, + LONG *CurrentTransparency); + + HRESULT (STDMETHODCALLTYPE *put_Transparency)( + IInkDrawingAttributes *This, + LONG CurrentTransparency); + + HRESULT (STDMETHODCALLTYPE *get_RasterOperation)( + IInkDrawingAttributes *This, + InkRasterOperation *CurrentRasterOperation); + + HRESULT (STDMETHODCALLTYPE *put_RasterOperation)( + IInkDrawingAttributes *This, + InkRasterOperation CurrentRasterOperation); + + HRESULT (STDMETHODCALLTYPE *get_PenTip)( + IInkDrawingAttributes *This, + InkPenTip *CurrentPenTip); + + HRESULT (STDMETHODCALLTYPE *put_PenTip)( + IInkDrawingAttributes *This, + InkPenTip CurrentPenTip); + + HRESULT (STDMETHODCALLTYPE *get_ExtendedProperties)( + IInkDrawingAttributes *This, + IInkExtendedProperties **Properties); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IInkDrawingAttributes *This, + IInkDrawingAttributes **DrawingAttributes); + + END_INTERFACE +} IInkDrawingAttributesVtbl; + +interface IInkDrawingAttributes { + CONST_VTBL IInkDrawingAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkDrawingAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkDrawingAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkDrawingAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkDrawingAttributes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkDrawingAttributes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkDrawingAttributes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkDrawingAttributes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkDrawingAttributes methods ***/ +#define IInkDrawingAttributes_get_Color(This,CurrentColor) (This)->lpVtbl->get_Color(This,CurrentColor) +#define IInkDrawingAttributes_put_Color(This,CurrentColor) (This)->lpVtbl->put_Color(This,CurrentColor) +#define IInkDrawingAttributes_get_Width(This,CurrentWidth) (This)->lpVtbl->get_Width(This,CurrentWidth) +#define IInkDrawingAttributes_put_Width(This,CurrentWidth) (This)->lpVtbl->put_Width(This,CurrentWidth) +#define IInkDrawingAttributes_get_Height(This,CurrentHeight) (This)->lpVtbl->get_Height(This,CurrentHeight) +#define IInkDrawingAttributes_put_Height(This,CurrentHeight) (This)->lpVtbl->put_Height(This,CurrentHeight) +#define IInkDrawingAttributes_get_FitToCurve(This,Flag) (This)->lpVtbl->get_FitToCurve(This,Flag) +#define IInkDrawingAttributes_put_FitToCurve(This,Flag) (This)->lpVtbl->put_FitToCurve(This,Flag) +#define IInkDrawingAttributes_get_IgnorePressure(This,Flag) (This)->lpVtbl->get_IgnorePressure(This,Flag) +#define IInkDrawingAttributes_put_IgnorePressure(This,Flag) (This)->lpVtbl->put_IgnorePressure(This,Flag) +#define IInkDrawingAttributes_get_AntiAliased(This,Flag) (This)->lpVtbl->get_AntiAliased(This,Flag) +#define IInkDrawingAttributes_put_AntiAliased(This,Flag) (This)->lpVtbl->put_AntiAliased(This,Flag) +#define IInkDrawingAttributes_get_Transparency(This,CurrentTransparency) (This)->lpVtbl->get_Transparency(This,CurrentTransparency) +#define IInkDrawingAttributes_put_Transparency(This,CurrentTransparency) (This)->lpVtbl->put_Transparency(This,CurrentTransparency) +#define IInkDrawingAttributes_get_RasterOperation(This,CurrentRasterOperation) (This)->lpVtbl->get_RasterOperation(This,CurrentRasterOperation) +#define IInkDrawingAttributes_put_RasterOperation(This,CurrentRasterOperation) (This)->lpVtbl->put_RasterOperation(This,CurrentRasterOperation) +#define IInkDrawingAttributes_get_PenTip(This,CurrentPenTip) (This)->lpVtbl->get_PenTip(This,CurrentPenTip) +#define IInkDrawingAttributes_put_PenTip(This,CurrentPenTip) (This)->lpVtbl->put_PenTip(This,CurrentPenTip) +#define IInkDrawingAttributes_get_ExtendedProperties(This,Properties) (This)->lpVtbl->get_ExtendedProperties(This,Properties) +#define IInkDrawingAttributes_Clone(This,DrawingAttributes) (This)->lpVtbl->Clone(This,DrawingAttributes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkDrawingAttributes_QueryInterface(IInkDrawingAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkDrawingAttributes_AddRef(IInkDrawingAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkDrawingAttributes_Release(IInkDrawingAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkDrawingAttributes_GetTypeInfoCount(IInkDrawingAttributes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_GetTypeInfo(IInkDrawingAttributes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_GetIDsOfNames(IInkDrawingAttributes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_Invoke(IInkDrawingAttributes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkDrawingAttributes methods ***/ +static FORCEINLINE HRESULT IInkDrawingAttributes_get_Color(IInkDrawingAttributes* This,LONG *CurrentColor) { + return This->lpVtbl->get_Color(This,CurrentColor); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_Color(IInkDrawingAttributes* This,LONG CurrentColor) { + return This->lpVtbl->put_Color(This,CurrentColor); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_Width(IInkDrawingAttributes* This,single *CurrentWidth) { + return This->lpVtbl->get_Width(This,CurrentWidth); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_Width(IInkDrawingAttributes* This,single CurrentWidth) { + return This->lpVtbl->put_Width(This,CurrentWidth); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_Height(IInkDrawingAttributes* This,single *CurrentHeight) { + return This->lpVtbl->get_Height(This,CurrentHeight); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_Height(IInkDrawingAttributes* This,single CurrentHeight) { + return This->lpVtbl->put_Height(This,CurrentHeight); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_FitToCurve(IInkDrawingAttributes* This,VARIANT_BOOL *Flag) { + return This->lpVtbl->get_FitToCurve(This,Flag); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_FitToCurve(IInkDrawingAttributes* This,VARIANT_BOOL Flag) { + return This->lpVtbl->put_FitToCurve(This,Flag); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_IgnorePressure(IInkDrawingAttributes* This,VARIANT_BOOL *Flag) { + return This->lpVtbl->get_IgnorePressure(This,Flag); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_IgnorePressure(IInkDrawingAttributes* This,VARIANT_BOOL Flag) { + return This->lpVtbl->put_IgnorePressure(This,Flag); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_AntiAliased(IInkDrawingAttributes* This,VARIANT_BOOL *Flag) { + return This->lpVtbl->get_AntiAliased(This,Flag); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_AntiAliased(IInkDrawingAttributes* This,VARIANT_BOOL Flag) { + return This->lpVtbl->put_AntiAliased(This,Flag); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_Transparency(IInkDrawingAttributes* This,LONG *CurrentTransparency) { + return This->lpVtbl->get_Transparency(This,CurrentTransparency); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_Transparency(IInkDrawingAttributes* This,LONG CurrentTransparency) { + return This->lpVtbl->put_Transparency(This,CurrentTransparency); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_RasterOperation(IInkDrawingAttributes* This,InkRasterOperation *CurrentRasterOperation) { + return This->lpVtbl->get_RasterOperation(This,CurrentRasterOperation); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_RasterOperation(IInkDrawingAttributes* This,InkRasterOperation CurrentRasterOperation) { + return This->lpVtbl->put_RasterOperation(This,CurrentRasterOperation); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_PenTip(IInkDrawingAttributes* This,InkPenTip *CurrentPenTip) { + return This->lpVtbl->get_PenTip(This,CurrentPenTip); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_put_PenTip(IInkDrawingAttributes* This,InkPenTip CurrentPenTip) { + return This->lpVtbl->put_PenTip(This,CurrentPenTip); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_get_ExtendedProperties(IInkDrawingAttributes* This,IInkExtendedProperties **Properties) { + return This->lpVtbl->get_ExtendedProperties(This,Properties); +} +static FORCEINLINE HRESULT IInkDrawingAttributes_Clone(IInkDrawingAttributes* This,IInkDrawingAttributes **DrawingAttributes) { + return This->lpVtbl->Clone(This,DrawingAttributes); +} +#endif +#endif + +#endif + + +#endif /* __IInkDrawingAttributes_INTERFACE_DEFINED__ */ + +#ifndef _WINGDI_ +typedef struct tagXFORM { + single eM11; + single eM12; + single eM21; + single eM22; + single eDx; + single eDy; +} XFORM; +#endif /* _WINGDI_ */ +/***************************************************************************** + * IInkTransform interface + */ +#ifndef __IInkTransform_INTERFACE_DEFINED__ +#define __IInkTransform_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkTransform, 0x615f1d43, 0x8703, 0x4565, 0x88,0xe2, 0x82,0x01,0xd2,0xec,0xd7,0xb7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("615f1d43-8703-4565-88e2-8201d2ecd7b7") +IInkTransform : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Translate( + single HorizontalComponent, + single VerticalComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rotate( + single Degrees, + single x = 0, + single y = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reflect( + VARIANT_BOOL Horizontally, + VARIANT_BOOL Vertically) = 0; + + virtual HRESULT STDMETHODCALLTYPE Shear( + single HorizontalComponent, + single VerticalComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScaleTransform( + single HorizontalMultiplier, + single VerticalMultiplier) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransform( + single *eM11, + single *eM12, + single *eM21, + single *eM22, + single *eDx, + single *eDy) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTransform( + single eM11, + single eM12, + single eM21, + single eM22, + single eDx, + single eDy) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eM11( + single *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_eM11( + single Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eM12( + single *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_eM12( + single Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eM21( + single *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_eM21( + single Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eM22( + single *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_eM22( + single Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eDx( + single *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_eDx( + single Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_eDy( + single *Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_eDy( + single Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Data( + XFORM *XFORM) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Data( + XFORM XFORM) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkTransform, 0x615f1d43, 0x8703, 0x4565, 0x88,0xe2, 0x82,0x01,0xd2,0xec,0xd7,0xb7) +#endif +#else +typedef struct IInkTransformVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkTransform *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkTransform *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkTransform *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkTransform *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkTransform *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkTransform *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkTransform *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkTransform methods ***/ + HRESULT (STDMETHODCALLTYPE *Reset)( + IInkTransform *This); + + HRESULT (STDMETHODCALLTYPE *Translate)( + IInkTransform *This, + single HorizontalComponent, + single VerticalComponent); + + HRESULT (STDMETHODCALLTYPE *Rotate)( + IInkTransform *This, + single Degrees, + single x, + single y); + + HRESULT (STDMETHODCALLTYPE *Reflect)( + IInkTransform *This, + VARIANT_BOOL Horizontally, + VARIANT_BOOL Vertically); + + HRESULT (STDMETHODCALLTYPE *Shear)( + IInkTransform *This, + single HorizontalComponent, + single VerticalComponent); + + HRESULT (STDMETHODCALLTYPE *ScaleTransform)( + IInkTransform *This, + single HorizontalMultiplier, + single VerticalMultiplier); + + HRESULT (STDMETHODCALLTYPE *GetTransform)( + IInkTransform *This, + single *eM11, + single *eM12, + single *eM21, + single *eM22, + single *eDx, + single *eDy); + + HRESULT (STDMETHODCALLTYPE *SetTransform)( + IInkTransform *This, + single eM11, + single eM12, + single eM21, + single eM22, + single eDx, + single eDy); + + HRESULT (STDMETHODCALLTYPE *get_eM11)( + IInkTransform *This, + single *Value); + + HRESULT (STDMETHODCALLTYPE *put_eM11)( + IInkTransform *This, + single Value); + + HRESULT (STDMETHODCALLTYPE *get_eM12)( + IInkTransform *This, + single *Value); + + HRESULT (STDMETHODCALLTYPE *put_eM12)( + IInkTransform *This, + single Value); + + HRESULT (STDMETHODCALLTYPE *get_eM21)( + IInkTransform *This, + single *Value); + + HRESULT (STDMETHODCALLTYPE *put_eM21)( + IInkTransform *This, + single Value); + + HRESULT (STDMETHODCALLTYPE *get_eM22)( + IInkTransform *This, + single *Value); + + HRESULT (STDMETHODCALLTYPE *put_eM22)( + IInkTransform *This, + single Value); + + HRESULT (STDMETHODCALLTYPE *get_eDx)( + IInkTransform *This, + single *Value); + + HRESULT (STDMETHODCALLTYPE *put_eDx)( + IInkTransform *This, + single Value); + + HRESULT (STDMETHODCALLTYPE *get_eDy)( + IInkTransform *This, + single *Value); + + HRESULT (STDMETHODCALLTYPE *put_eDy)( + IInkTransform *This, + single Value); + + HRESULT (STDMETHODCALLTYPE *get_Data)( + IInkTransform *This, + XFORM *XFORM); + + HRESULT (STDMETHODCALLTYPE *put_Data)( + IInkTransform *This, + XFORM XFORM); + + END_INTERFACE +} IInkTransformVtbl; + +interface IInkTransform { + CONST_VTBL IInkTransformVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkTransform_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkTransform_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkTransform_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkTransform_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkTransform_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkTransform_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkTransform methods ***/ +#define IInkTransform_Reset(This) (This)->lpVtbl->Reset(This) +#define IInkTransform_Translate(This,HorizontalComponent,VerticalComponent) (This)->lpVtbl->Translate(This,HorizontalComponent,VerticalComponent) +#define IInkTransform_Rotate(This,Degrees,x,y) (This)->lpVtbl->Rotate(This,Degrees,x,y) +#define IInkTransform_Reflect(This,Horizontally,Vertically) (This)->lpVtbl->Reflect(This,Horizontally,Vertically) +#define IInkTransform_Shear(This,HorizontalComponent,VerticalComponent) (This)->lpVtbl->Shear(This,HorizontalComponent,VerticalComponent) +#define IInkTransform_ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier) (This)->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier) +#define IInkTransform_GetTransform(This,eM11,eM12,eM21,eM22,eDx,eDy) (This)->lpVtbl->GetTransform(This,eM11,eM12,eM21,eM22,eDx,eDy) +#define IInkTransform_SetTransform(This,eM11,eM12,eM21,eM22,eDx,eDy) (This)->lpVtbl->SetTransform(This,eM11,eM12,eM21,eM22,eDx,eDy) +#define IInkTransform_get_eM11(This,Value) (This)->lpVtbl->get_eM11(This,Value) +#define IInkTransform_put_eM11(This,Value) (This)->lpVtbl->put_eM11(This,Value) +#define IInkTransform_get_eM12(This,Value) (This)->lpVtbl->get_eM12(This,Value) +#define IInkTransform_put_eM12(This,Value) (This)->lpVtbl->put_eM12(This,Value) +#define IInkTransform_get_eM21(This,Value) (This)->lpVtbl->get_eM21(This,Value) +#define IInkTransform_put_eM21(This,Value) (This)->lpVtbl->put_eM21(This,Value) +#define IInkTransform_get_eM22(This,Value) (This)->lpVtbl->get_eM22(This,Value) +#define IInkTransform_put_eM22(This,Value) (This)->lpVtbl->put_eM22(This,Value) +#define IInkTransform_get_eDx(This,Value) (This)->lpVtbl->get_eDx(This,Value) +#define IInkTransform_put_eDx(This,Value) (This)->lpVtbl->put_eDx(This,Value) +#define IInkTransform_get_eDy(This,Value) (This)->lpVtbl->get_eDy(This,Value) +#define IInkTransform_put_eDy(This,Value) (This)->lpVtbl->put_eDy(This,Value) +#define IInkTransform_get_Data(This,XFORM) (This)->lpVtbl->get_Data(This,XFORM) +#define IInkTransform_put_Data(This,XFORM) (This)->lpVtbl->put_Data(This,XFORM) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkTransform_QueryInterface(IInkTransform* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkTransform_AddRef(IInkTransform* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkTransform_Release(IInkTransform* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkTransform_GetTypeInfoCount(IInkTransform* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkTransform_GetTypeInfo(IInkTransform* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkTransform_GetIDsOfNames(IInkTransform* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkTransform_Invoke(IInkTransform* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkTransform methods ***/ +static FORCEINLINE HRESULT IInkTransform_Reset(IInkTransform* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IInkTransform_Translate(IInkTransform* This,single HorizontalComponent,single VerticalComponent) { + return This->lpVtbl->Translate(This,HorizontalComponent,VerticalComponent); +} +static FORCEINLINE HRESULT IInkTransform_Rotate(IInkTransform* This,single Degrees,single x,single y) { + return This->lpVtbl->Rotate(This,Degrees,x,y); +} +static FORCEINLINE HRESULT IInkTransform_Reflect(IInkTransform* This,VARIANT_BOOL Horizontally,VARIANT_BOOL Vertically) { + return This->lpVtbl->Reflect(This,Horizontally,Vertically); +} +static FORCEINLINE HRESULT IInkTransform_Shear(IInkTransform* This,single HorizontalComponent,single VerticalComponent) { + return This->lpVtbl->Shear(This,HorizontalComponent,VerticalComponent); +} +static FORCEINLINE HRESULT IInkTransform_ScaleTransform(IInkTransform* This,single HorizontalMultiplier,single VerticalMultiplier) { + return This->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier); +} +static FORCEINLINE HRESULT IInkTransform_GetTransform(IInkTransform* This,single *eM11,single *eM12,single *eM21,single *eM22,single *eDx,single *eDy) { + return This->lpVtbl->GetTransform(This,eM11,eM12,eM21,eM22,eDx,eDy); +} +static FORCEINLINE HRESULT IInkTransform_SetTransform(IInkTransform* This,single eM11,single eM12,single eM21,single eM22,single eDx,single eDy) { + return This->lpVtbl->SetTransform(This,eM11,eM12,eM21,eM22,eDx,eDy); +} +static FORCEINLINE HRESULT IInkTransform_get_eM11(IInkTransform* This,single *Value) { + return This->lpVtbl->get_eM11(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_put_eM11(IInkTransform* This,single Value) { + return This->lpVtbl->put_eM11(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_get_eM12(IInkTransform* This,single *Value) { + return This->lpVtbl->get_eM12(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_put_eM12(IInkTransform* This,single Value) { + return This->lpVtbl->put_eM12(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_get_eM21(IInkTransform* This,single *Value) { + return This->lpVtbl->get_eM21(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_put_eM21(IInkTransform* This,single Value) { + return This->lpVtbl->put_eM21(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_get_eM22(IInkTransform* This,single *Value) { + return This->lpVtbl->get_eM22(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_put_eM22(IInkTransform* This,single Value) { + return This->lpVtbl->put_eM22(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_get_eDx(IInkTransform* This,single *Value) { + return This->lpVtbl->get_eDx(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_put_eDx(IInkTransform* This,single Value) { + return This->lpVtbl->put_eDx(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_get_eDy(IInkTransform* This,single *Value) { + return This->lpVtbl->get_eDy(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_put_eDy(IInkTransform* This,single Value) { + return This->lpVtbl->put_eDy(This,Value); +} +static FORCEINLINE HRESULT IInkTransform_get_Data(IInkTransform* This,XFORM *XFORM) { + return This->lpVtbl->get_Data(This,XFORM); +} +static FORCEINLINE HRESULT IInkTransform_put_Data(IInkTransform* This,XFORM XFORM) { + return This->lpVtbl->put_Data(This,XFORM); +} +#endif +#endif + +#endif + + +#endif /* __IInkTransform_INTERFACE_DEFINED__ */ + +#ifndef __IInkDisp_FWD_DEFINED__ +#define __IInkDisp_FWD_DEFINED__ +typedef interface IInkDisp IInkDisp; +#ifdef __cplusplus +interface IInkDisp; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IInkRectangle interface + */ +#ifndef __IInkRectangle_INTERFACE_DEFINED__ +#define __IInkRectangle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkRectangle, 0x9794ff82, 0x6071, 0x4717, 0x8a,0x8b, 0x6a,0xc7,0xc6,0x4a,0x68,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9794ff82-6071-4717-8a8b-6ac7c64a686e") +IInkRectangle +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE get_Top( + LONG *Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Top( + LONG Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Left( + LONG *Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Left( + LONG Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Bottom( + LONG *Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Bottom( + LONG Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Right( + LONG *Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Right( + LONG Units) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Data( + RECT *Rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Data( + RECT Rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRectangle( + LONG *Top, + LONG *Left, + LONG *Bottom, + LONG *Right) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRectangle( + LONG Top, + LONG Left, + LONG Bottom, + LONG Right) = 0; + + END_INTERFACE + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkRectangle, 0x9794ff82, 0x6071, 0x4717, 0x8a,0x8b, 0x6a,0xc7,0xc6,0x4a,0x68,0x6e) +#endif +#else +typedef struct IInkRectangleVtbl { + BEGIN_INTERFACE + + /*** IInkRectangle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Top)( + IInkRectangle *This, + LONG *Units); + + HRESULT (STDMETHODCALLTYPE *put_Top)( + IInkRectangle *This, + LONG Units); + + HRESULT (STDMETHODCALLTYPE *get_Left)( + IInkRectangle *This, + LONG *Units); + + HRESULT (STDMETHODCALLTYPE *put_Left)( + IInkRectangle *This, + LONG Units); + + HRESULT (STDMETHODCALLTYPE *get_Bottom)( + IInkRectangle *This, + LONG *Units); + + HRESULT (STDMETHODCALLTYPE *put_Bottom)( + IInkRectangle *This, + LONG Units); + + HRESULT (STDMETHODCALLTYPE *get_Right)( + IInkRectangle *This, + LONG *Units); + + HRESULT (STDMETHODCALLTYPE *put_Right)( + IInkRectangle *This, + LONG Units); + + HRESULT (STDMETHODCALLTYPE *get_Data)( + IInkRectangle *This, + RECT *Rect); + + HRESULT (STDMETHODCALLTYPE *put_Data)( + IInkRectangle *This, + RECT Rect); + + HRESULT (STDMETHODCALLTYPE *GetRectangle)( + IInkRectangle *This, + LONG *Top, + LONG *Left, + LONG *Bottom, + LONG *Right); + + HRESULT (STDMETHODCALLTYPE *SetRectangle)( + IInkRectangle *This, + LONG Top, + LONG Left, + LONG Bottom, + LONG Right); + + END_INTERFACE +} IInkRectangleVtbl; + +interface IInkRectangle { + CONST_VTBL IInkRectangleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IInkRectangle methods ***/ +#define IInkRectangle_get_Top(This,Units) (This)->lpVtbl->get_Top(This,Units) +#define IInkRectangle_put_Top(This,Units) (This)->lpVtbl->put_Top(This,Units) +#define IInkRectangle_get_Left(This,Units) (This)->lpVtbl->get_Left(This,Units) +#define IInkRectangle_put_Left(This,Units) (This)->lpVtbl->put_Left(This,Units) +#define IInkRectangle_get_Bottom(This,Units) (This)->lpVtbl->get_Bottom(This,Units) +#define IInkRectangle_put_Bottom(This,Units) (This)->lpVtbl->put_Bottom(This,Units) +#define IInkRectangle_get_Right(This,Units) (This)->lpVtbl->get_Right(This,Units) +#define IInkRectangle_put_Right(This,Units) (This)->lpVtbl->put_Right(This,Units) +#define IInkRectangle_get_Data(This,Rect) (This)->lpVtbl->get_Data(This,Rect) +#define IInkRectangle_put_Data(This,Rect) (This)->lpVtbl->put_Data(This,Rect) +#define IInkRectangle_GetRectangle(This,Top,Left,Bottom,Right) (This)->lpVtbl->GetRectangle(This,Top,Left,Bottom,Right) +#define IInkRectangle_SetRectangle(This,Top,Left,Bottom,Right) (This)->lpVtbl->SetRectangle(This,Top,Left,Bottom,Right) +#else +/*** IInkRectangle methods ***/ +static FORCEINLINE HRESULT IInkRectangle_get_Top(IInkRectangle* This,LONG *Units) { + return This->lpVtbl->get_Top(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_put_Top(IInkRectangle* This,LONG Units) { + return This->lpVtbl->put_Top(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_get_Left(IInkRectangle* This,LONG *Units) { + return This->lpVtbl->get_Left(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_put_Left(IInkRectangle* This,LONG Units) { + return This->lpVtbl->put_Left(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_get_Bottom(IInkRectangle* This,LONG *Units) { + return This->lpVtbl->get_Bottom(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_put_Bottom(IInkRectangle* This,LONG Units) { + return This->lpVtbl->put_Bottom(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_get_Right(IInkRectangle* This,LONG *Units) { + return This->lpVtbl->get_Right(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_put_Right(IInkRectangle* This,LONG Units) { + return This->lpVtbl->put_Right(This,Units); +} +static FORCEINLINE HRESULT IInkRectangle_get_Data(IInkRectangle* This,RECT *Rect) { + return This->lpVtbl->get_Data(This,Rect); +} +static FORCEINLINE HRESULT IInkRectangle_put_Data(IInkRectangle* This,RECT Rect) { + return This->lpVtbl->put_Data(This,Rect); +} +static FORCEINLINE HRESULT IInkRectangle_GetRectangle(IInkRectangle* This,LONG *Top,LONG *Left,LONG *Bottom,LONG *Right) { + return This->lpVtbl->GetRectangle(This,Top,Left,Bottom,Right); +} +static FORCEINLINE HRESULT IInkRectangle_SetRectangle(IInkRectangle* This,LONG Top,LONG Left,LONG Bottom,LONG Right) { + return This->lpVtbl->SetRectangle(This,Top,Left,Bottom,Right); +} +#endif +#endif + +#endif + + +#endif /* __IInkRectangle_INTERFACE_DEFINED__ */ + +#ifndef __IInkStrokes_FWD_DEFINED__ +#define __IInkStrokes_FWD_DEFINED__ +typedef interface IInkStrokes IInkStrokes; +#ifdef __cplusplus +interface IInkStrokes; +#endif /* __cplusplus */ +#endif + +typedef enum __WIDL_msinkaut_generated_name_00000011 { + TPMU_Default = 0, + TPMU_Inches = 1, + TPMU_Centimeters = 2, + TPMU_Degrees = 3, + TPMU_Radians = 4, + TPMU_Seconds = 5, + TPMU_Pounds = 6, + TPMU_Grams = 7 +} TabletPropertyMetricUnit; +/***************************************************************************** + * IInkStrokeDisp interface + */ +#ifndef __IInkStrokeDisp_INTERFACE_DEFINED__ +#define __IInkStrokeDisp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkStrokeDisp, 0x43242fea, 0x91d1, 0x4a72, 0x96,0x3e, 0xfb,0xb9,0x18,0x29,0xcf,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("43242fea-91d1-4a72-963e-fbb91829cfa2") +IInkStrokeDisp : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Id( + LONG *Id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BezierPoints( + VARIANT *Points) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DrawingAttributes( + IInkDrawingAttributes **DrawAttrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_DrawingAttributes( + IInkDrawingAttributes *DrawAttrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Ink( + IInkDisp **Ink) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExtendedProperties( + IInkExtendedProperties **Properties) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PolylineCusps( + VARIANT *Cusps) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BezierCusps( + VARIANT *Cusps) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SelfIntersections( + VARIANT *Intersections) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PacketCount( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PacketSize( + LONG *plSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PacketDescription( + VARIANT *PacketDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Deleted( + VARIANT_BOOL *Deleted) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBoundingBox( + InkBoundingBoxMode BoundingBoxMode, + IInkRectangle **Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindIntersections( + IInkStrokes *Strokes, + VARIANT *Intersections) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRectangleIntersections( + IInkRectangle *Rectangle, + VARIANT *Intersections) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clip( + IInkRectangle *Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestCircle( + LONG x, + LONG y, + single radius, + VARIANT_BOOL *Intersects) = 0; + + virtual HRESULT STDMETHODCALLTYPE NearestPoint( + LONG x, + LONG y, + single *Distance, + single *Point) = 0; + + virtual HRESULT STDMETHODCALLTYPE Split( + single SplitAt, + IInkStrokeDisp **NewStroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPacketDescriptionPropertyMetrics( + BSTR propertyName, + LONG *Minimum, + LONG *Maximum, + TabletPropertyMetricUnit *Units, + single *Resolution) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPoints( + LONG Index, + LONG Count, + VARIANT *Points) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPoints( + VARIANT Points, + LONG Index, + LONG Count, + LONG *NumberOfPointsSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPacketData( + LONG Index, + LONG Count, + VARIANT *PacketData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPacketValuesByProperty( + BSTR propertyName, + LONG Index, + LONG Count, + VARIANT *PacketValues) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPacketValuesByProperty( + BSTR bstrPropertyName, + VARIANT PacketValues, + LONG Index, + LONG Count, + LONG *NumberOfPacketsSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlattenedBezierPoints( + LONG FittingError, + VARIANT *FlattenedBezierPoints) = 0; + + virtual HRESULT STDMETHODCALLTYPE Transform( + IInkTransform *Transform, + VARIANT_BOOL ApplyOnPenWidth = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScaleToRectangle( + IInkRectangle *Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE Move( + single HorizontalComponent, + single VerticalComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rotate( + single Degrees, + single x = 0, + single y = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Shear( + single HorizontalMultiplier, + single VerticalMultiplier) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScaleTransform( + single HorizontalMultiplier, + single VerticalMultiplier) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkStrokeDisp, 0x43242fea, 0x91d1, 0x4a72, 0x96,0x3e, 0xfb,0xb9,0x18,0x29,0xcf,0xa2) +#endif +#else +typedef struct IInkStrokeDispVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkStrokeDisp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkStrokeDisp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkStrokeDisp *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkStrokeDisp *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkStrokeDisp *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkStrokeDisp *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkStrokeDisp *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkStrokeDisp methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IInkStrokeDisp *This, + LONG *Id); + + HRESULT (STDMETHODCALLTYPE *get_BezierPoints)( + IInkStrokeDisp *This, + VARIANT *Points); + + HRESULT (STDMETHODCALLTYPE *get_DrawingAttributes)( + IInkStrokeDisp *This, + IInkDrawingAttributes **DrawAttrs); + + HRESULT (STDMETHODCALLTYPE *putref_DrawingAttributes)( + IInkStrokeDisp *This, + IInkDrawingAttributes *DrawAttrs); + + HRESULT (STDMETHODCALLTYPE *get_Ink)( + IInkStrokeDisp *This, + IInkDisp **Ink); + + HRESULT (STDMETHODCALLTYPE *get_ExtendedProperties)( + IInkStrokeDisp *This, + IInkExtendedProperties **Properties); + + HRESULT (STDMETHODCALLTYPE *get_PolylineCusps)( + IInkStrokeDisp *This, + VARIANT *Cusps); + + HRESULT (STDMETHODCALLTYPE *get_BezierCusps)( + IInkStrokeDisp *This, + VARIANT *Cusps); + + HRESULT (STDMETHODCALLTYPE *get_SelfIntersections)( + IInkStrokeDisp *This, + VARIANT *Intersections); + + HRESULT (STDMETHODCALLTYPE *get_PacketCount)( + IInkStrokeDisp *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_PacketSize)( + IInkStrokeDisp *This, + LONG *plSize); + + HRESULT (STDMETHODCALLTYPE *get_PacketDescription)( + IInkStrokeDisp *This, + VARIANT *PacketDescription); + + HRESULT (STDMETHODCALLTYPE *get_Deleted)( + IInkStrokeDisp *This, + VARIANT_BOOL *Deleted); + + HRESULT (STDMETHODCALLTYPE *GetBoundingBox)( + IInkStrokeDisp *This, + InkBoundingBoxMode BoundingBoxMode, + IInkRectangle **Rectangle); + + HRESULT (STDMETHODCALLTYPE *FindIntersections)( + IInkStrokeDisp *This, + IInkStrokes *Strokes, + VARIANT *Intersections); + + HRESULT (STDMETHODCALLTYPE *GetRectangleIntersections)( + IInkStrokeDisp *This, + IInkRectangle *Rectangle, + VARIANT *Intersections); + + HRESULT (STDMETHODCALLTYPE *Clip)( + IInkStrokeDisp *This, + IInkRectangle *Rectangle); + + HRESULT (STDMETHODCALLTYPE *HitTestCircle)( + IInkStrokeDisp *This, + LONG x, + LONG y, + single radius, + VARIANT_BOOL *Intersects); + + HRESULT (STDMETHODCALLTYPE *NearestPoint)( + IInkStrokeDisp *This, + LONG x, + LONG y, + single *Distance, + single *Point); + + HRESULT (STDMETHODCALLTYPE *Split)( + IInkStrokeDisp *This, + single SplitAt, + IInkStrokeDisp **NewStroke); + + HRESULT (STDMETHODCALLTYPE *GetPacketDescriptionPropertyMetrics)( + IInkStrokeDisp *This, + BSTR propertyName, + LONG *Minimum, + LONG *Maximum, + TabletPropertyMetricUnit *Units, + single *Resolution); + + HRESULT (STDMETHODCALLTYPE *GetPoints)( + IInkStrokeDisp *This, + LONG Index, + LONG Count, + VARIANT *Points); + + HRESULT (STDMETHODCALLTYPE *SetPoints)( + IInkStrokeDisp *This, + VARIANT Points, + LONG Index, + LONG Count, + LONG *NumberOfPointsSet); + + HRESULT (STDMETHODCALLTYPE *GetPacketData)( + IInkStrokeDisp *This, + LONG Index, + LONG Count, + VARIANT *PacketData); + + HRESULT (STDMETHODCALLTYPE *GetPacketValuesByProperty)( + IInkStrokeDisp *This, + BSTR propertyName, + LONG Index, + LONG Count, + VARIANT *PacketValues); + + HRESULT (STDMETHODCALLTYPE *SetPacketValuesByProperty)( + IInkStrokeDisp *This, + BSTR bstrPropertyName, + VARIANT PacketValues, + LONG Index, + LONG Count, + LONG *NumberOfPacketsSet); + + HRESULT (STDMETHODCALLTYPE *GetFlattenedBezierPoints)( + IInkStrokeDisp *This, + LONG FittingError, + VARIANT *FlattenedBezierPoints); + + HRESULT (STDMETHODCALLTYPE *Transform)( + IInkStrokeDisp *This, + IInkTransform *Transform, + VARIANT_BOOL ApplyOnPenWidth); + + HRESULT (STDMETHODCALLTYPE *ScaleToRectangle)( + IInkStrokeDisp *This, + IInkRectangle *Rectangle); + + HRESULT (STDMETHODCALLTYPE *Move)( + IInkStrokeDisp *This, + single HorizontalComponent, + single VerticalComponent); + + HRESULT (STDMETHODCALLTYPE *Rotate)( + IInkStrokeDisp *This, + single Degrees, + single x, + single y); + + HRESULT (STDMETHODCALLTYPE *Shear)( + IInkStrokeDisp *This, + single HorizontalMultiplier, + single VerticalMultiplier); + + HRESULT (STDMETHODCALLTYPE *ScaleTransform)( + IInkStrokeDisp *This, + single HorizontalMultiplier, + single VerticalMultiplier); + + END_INTERFACE +} IInkStrokeDispVtbl; + +interface IInkStrokeDisp { + CONST_VTBL IInkStrokeDispVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkStrokeDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkStrokeDisp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkStrokeDisp_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkStrokeDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkStrokeDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkStrokeDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkStrokeDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkStrokeDisp methods ***/ +#define IInkStrokeDisp_get_Id(This,Id) (This)->lpVtbl->get_Id(This,Id) +#define IInkStrokeDisp_get_BezierPoints(This,Points) (This)->lpVtbl->get_BezierPoints(This,Points) +#define IInkStrokeDisp_get_DrawingAttributes(This,DrawAttrs) (This)->lpVtbl->get_DrawingAttributes(This,DrawAttrs) +#define IInkStrokeDisp_putref_DrawingAttributes(This,DrawAttrs) (This)->lpVtbl->putref_DrawingAttributes(This,DrawAttrs) +#define IInkStrokeDisp_get_Ink(This,Ink) (This)->lpVtbl->get_Ink(This,Ink) +#define IInkStrokeDisp_get_ExtendedProperties(This,Properties) (This)->lpVtbl->get_ExtendedProperties(This,Properties) +#define IInkStrokeDisp_get_PolylineCusps(This,Cusps) (This)->lpVtbl->get_PolylineCusps(This,Cusps) +#define IInkStrokeDisp_get_BezierCusps(This,Cusps) (This)->lpVtbl->get_BezierCusps(This,Cusps) +#define IInkStrokeDisp_get_SelfIntersections(This,Intersections) (This)->lpVtbl->get_SelfIntersections(This,Intersections) +#define IInkStrokeDisp_get_PacketCount(This,plCount) (This)->lpVtbl->get_PacketCount(This,plCount) +#define IInkStrokeDisp_get_PacketSize(This,plSize) (This)->lpVtbl->get_PacketSize(This,plSize) +#define IInkStrokeDisp_get_PacketDescription(This,PacketDescription) (This)->lpVtbl->get_PacketDescription(This,PacketDescription) +#define IInkStrokeDisp_get_Deleted(This,Deleted) (This)->lpVtbl->get_Deleted(This,Deleted) +#define IInkStrokeDisp_GetBoundingBox(This,BoundingBoxMode,Rectangle) (This)->lpVtbl->GetBoundingBox(This,BoundingBoxMode,Rectangle) +#define IInkStrokeDisp_FindIntersections(This,Strokes,Intersections) (This)->lpVtbl->FindIntersections(This,Strokes,Intersections) +#define IInkStrokeDisp_GetRectangleIntersections(This,Rectangle,Intersections) (This)->lpVtbl->GetRectangleIntersections(This,Rectangle,Intersections) +#define IInkStrokeDisp_Clip(This,Rectangle) (This)->lpVtbl->Clip(This,Rectangle) +#define IInkStrokeDisp_HitTestCircle(This,x,y,radius,Intersects) (This)->lpVtbl->HitTestCircle(This,x,y,radius,Intersects) +#define IInkStrokeDisp_NearestPoint(This,x,y,Distance,Point) (This)->lpVtbl->NearestPoint(This,x,y,Distance,Point) +#define IInkStrokeDisp_Split(This,SplitAt,NewStroke) (This)->lpVtbl->Split(This,SplitAt,NewStroke) +#define IInkStrokeDisp_GetPacketDescriptionPropertyMetrics(This,propertyName,Minimum,Maximum,Units,Resolution) (This)->lpVtbl->GetPacketDescriptionPropertyMetrics(This,propertyName,Minimum,Maximum,Units,Resolution) +#define IInkStrokeDisp_GetPoints(This,Index,Count,Points) (This)->lpVtbl->GetPoints(This,Index,Count,Points) +#define IInkStrokeDisp_SetPoints(This,Points,Index,Count,NumberOfPointsSet) (This)->lpVtbl->SetPoints(This,Points,Index,Count,NumberOfPointsSet) +#define IInkStrokeDisp_GetPacketData(This,Index,Count,PacketData) (This)->lpVtbl->GetPacketData(This,Index,Count,PacketData) +#define IInkStrokeDisp_GetPacketValuesByProperty(This,propertyName,Index,Count,PacketValues) (This)->lpVtbl->GetPacketValuesByProperty(This,propertyName,Index,Count,PacketValues) +#define IInkStrokeDisp_SetPacketValuesByProperty(This,bstrPropertyName,PacketValues,Index,Count,NumberOfPacketsSet) (This)->lpVtbl->SetPacketValuesByProperty(This,bstrPropertyName,PacketValues,Index,Count,NumberOfPacketsSet) +#define IInkStrokeDisp_GetFlattenedBezierPoints(This,FittingError,FlattenedBezierPoints) (This)->lpVtbl->GetFlattenedBezierPoints(This,FittingError,FlattenedBezierPoints) +#define IInkStrokeDisp_Transform(This,Transform,ApplyOnPenWidth) (This)->lpVtbl->Transform(This,Transform,ApplyOnPenWidth) +#define IInkStrokeDisp_ScaleToRectangle(This,Rectangle) (This)->lpVtbl->ScaleToRectangle(This,Rectangle) +#define IInkStrokeDisp_Move(This,HorizontalComponent,VerticalComponent) (This)->lpVtbl->Move(This,HorizontalComponent,VerticalComponent) +#define IInkStrokeDisp_Rotate(This,Degrees,x,y) (This)->lpVtbl->Rotate(This,Degrees,x,y) +#define IInkStrokeDisp_Shear(This,HorizontalMultiplier,VerticalMultiplier) (This)->lpVtbl->Shear(This,HorizontalMultiplier,VerticalMultiplier) +#define IInkStrokeDisp_ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier) (This)->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkStrokeDisp_QueryInterface(IInkStrokeDisp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkStrokeDisp_AddRef(IInkStrokeDisp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkStrokeDisp_Release(IInkStrokeDisp* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkStrokeDisp_GetTypeInfoCount(IInkStrokeDisp* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetTypeInfo(IInkStrokeDisp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetIDsOfNames(IInkStrokeDisp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Invoke(IInkStrokeDisp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkStrokeDisp methods ***/ +static FORCEINLINE HRESULT IInkStrokeDisp_get_Id(IInkStrokeDisp* This,LONG *Id) { + return This->lpVtbl->get_Id(This,Id); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_BezierPoints(IInkStrokeDisp* This,VARIANT *Points) { + return This->lpVtbl->get_BezierPoints(This,Points); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_DrawingAttributes(IInkStrokeDisp* This,IInkDrawingAttributes **DrawAttrs) { + return This->lpVtbl->get_DrawingAttributes(This,DrawAttrs); +} +static FORCEINLINE HRESULT IInkStrokeDisp_putref_DrawingAttributes(IInkStrokeDisp* This,IInkDrawingAttributes *DrawAttrs) { + return This->lpVtbl->putref_DrawingAttributes(This,DrawAttrs); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_Ink(IInkStrokeDisp* This,IInkDisp **Ink) { + return This->lpVtbl->get_Ink(This,Ink); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_ExtendedProperties(IInkStrokeDisp* This,IInkExtendedProperties **Properties) { + return This->lpVtbl->get_ExtendedProperties(This,Properties); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_PolylineCusps(IInkStrokeDisp* This,VARIANT *Cusps) { + return This->lpVtbl->get_PolylineCusps(This,Cusps); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_BezierCusps(IInkStrokeDisp* This,VARIANT *Cusps) { + return This->lpVtbl->get_BezierCusps(This,Cusps); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_SelfIntersections(IInkStrokeDisp* This,VARIANT *Intersections) { + return This->lpVtbl->get_SelfIntersections(This,Intersections); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_PacketCount(IInkStrokeDisp* This,LONG *plCount) { + return This->lpVtbl->get_PacketCount(This,plCount); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_PacketSize(IInkStrokeDisp* This,LONG *plSize) { + return This->lpVtbl->get_PacketSize(This,plSize); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_PacketDescription(IInkStrokeDisp* This,VARIANT *PacketDescription) { + return This->lpVtbl->get_PacketDescription(This,PacketDescription); +} +static FORCEINLINE HRESULT IInkStrokeDisp_get_Deleted(IInkStrokeDisp* This,VARIANT_BOOL *Deleted) { + return This->lpVtbl->get_Deleted(This,Deleted); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetBoundingBox(IInkStrokeDisp* This,InkBoundingBoxMode BoundingBoxMode,IInkRectangle **Rectangle) { + return This->lpVtbl->GetBoundingBox(This,BoundingBoxMode,Rectangle); +} +static FORCEINLINE HRESULT IInkStrokeDisp_FindIntersections(IInkStrokeDisp* This,IInkStrokes *Strokes,VARIANT *Intersections) { + return This->lpVtbl->FindIntersections(This,Strokes,Intersections); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetRectangleIntersections(IInkStrokeDisp* This,IInkRectangle *Rectangle,VARIANT *Intersections) { + return This->lpVtbl->GetRectangleIntersections(This,Rectangle,Intersections); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Clip(IInkStrokeDisp* This,IInkRectangle *Rectangle) { + return This->lpVtbl->Clip(This,Rectangle); +} +static FORCEINLINE HRESULT IInkStrokeDisp_HitTestCircle(IInkStrokeDisp* This,LONG x,LONG y,single radius,VARIANT_BOOL *Intersects) { + return This->lpVtbl->HitTestCircle(This,x,y,radius,Intersects); +} +static FORCEINLINE HRESULT IInkStrokeDisp_NearestPoint(IInkStrokeDisp* This,LONG x,LONG y,single *Distance,single *Point) { + return This->lpVtbl->NearestPoint(This,x,y,Distance,Point); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Split(IInkStrokeDisp* This,single SplitAt,IInkStrokeDisp **NewStroke) { + return This->lpVtbl->Split(This,SplitAt,NewStroke); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetPacketDescriptionPropertyMetrics(IInkStrokeDisp* This,BSTR propertyName,LONG *Minimum,LONG *Maximum,TabletPropertyMetricUnit *Units,single *Resolution) { + return This->lpVtbl->GetPacketDescriptionPropertyMetrics(This,propertyName,Minimum,Maximum,Units,Resolution); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetPoints(IInkStrokeDisp* This,LONG Index,LONG Count,VARIANT *Points) { + return This->lpVtbl->GetPoints(This,Index,Count,Points); +} +static FORCEINLINE HRESULT IInkStrokeDisp_SetPoints(IInkStrokeDisp* This,VARIANT Points,LONG Index,LONG Count,LONG *NumberOfPointsSet) { + return This->lpVtbl->SetPoints(This,Points,Index,Count,NumberOfPointsSet); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetPacketData(IInkStrokeDisp* This,LONG Index,LONG Count,VARIANT *PacketData) { + return This->lpVtbl->GetPacketData(This,Index,Count,PacketData); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetPacketValuesByProperty(IInkStrokeDisp* This,BSTR propertyName,LONG Index,LONG Count,VARIANT *PacketValues) { + return This->lpVtbl->GetPacketValuesByProperty(This,propertyName,Index,Count,PacketValues); +} +static FORCEINLINE HRESULT IInkStrokeDisp_SetPacketValuesByProperty(IInkStrokeDisp* This,BSTR bstrPropertyName,VARIANT PacketValues,LONG Index,LONG Count,LONG *NumberOfPacketsSet) { + return This->lpVtbl->SetPacketValuesByProperty(This,bstrPropertyName,PacketValues,Index,Count,NumberOfPacketsSet); +} +static FORCEINLINE HRESULT IInkStrokeDisp_GetFlattenedBezierPoints(IInkStrokeDisp* This,LONG FittingError,VARIANT *FlattenedBezierPoints) { + return This->lpVtbl->GetFlattenedBezierPoints(This,FittingError,FlattenedBezierPoints); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Transform(IInkStrokeDisp* This,IInkTransform *Transform,VARIANT_BOOL ApplyOnPenWidth) { + return This->lpVtbl->Transform(This,Transform,ApplyOnPenWidth); +} +static FORCEINLINE HRESULT IInkStrokeDisp_ScaleToRectangle(IInkStrokeDisp* This,IInkRectangle *Rectangle) { + return This->lpVtbl->ScaleToRectangle(This,Rectangle); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Move(IInkStrokeDisp* This,single HorizontalComponent,single VerticalComponent) { + return This->lpVtbl->Move(This,HorizontalComponent,VerticalComponent); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Rotate(IInkStrokeDisp* This,single Degrees,single x,single y) { + return This->lpVtbl->Rotate(This,Degrees,x,y); +} +static FORCEINLINE HRESULT IInkStrokeDisp_Shear(IInkStrokeDisp* This,single HorizontalMultiplier,single VerticalMultiplier) { + return This->lpVtbl->Shear(This,HorizontalMultiplier,VerticalMultiplier); +} +static FORCEINLINE HRESULT IInkStrokeDisp_ScaleTransform(IInkStrokeDisp* This,single HorizontalMultiplier,single VerticalMultiplier) { + return This->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier); +} +#endif +#endif + +#endif + + +#endif /* __IInkStrokeDisp_INTERFACE_DEFINED__ */ + +#ifndef __IInkRecognitionResult_FWD_DEFINED__ +#define __IInkRecognitionResult_FWD_DEFINED__ +typedef interface IInkRecognitionResult IInkRecognitionResult; +#ifdef __cplusplus +interface IInkRecognitionResult; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IInkStrokes interface + */ +#ifndef __IInkStrokes_INTERFACE_DEFINED__ +#define __IInkStrokes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkStrokes, 0xf1f4c9d8, 0x590a, 0x4963, 0xb3,0xae, 0x19,0x35,0x67,0x1b,0xb6,0xf3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f1f4c9d8-590a-4963-b3ae-1935671bb6f3") +IInkStrokes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **_NewEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Ink( + IInkDisp **Ink) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RecognitionResult( + IInkRecognitionResult **RecognitionResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE ToString( + BSTR *ToString) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG Index, + IInkStrokeDisp **Stroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + IInkStrokeDisp *InkStroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStrokes( + IInkStrokes *InkStrokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + IInkStrokeDisp *InkStroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStrokes( + IInkStrokes *InkStrokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyDrawingAttributes( + IInkDrawingAttributes *DrawAttrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBoundingBox( + InkBoundingBoxMode BoundingBoxMode, + IInkRectangle **BoundingBox) = 0; + + virtual HRESULT STDMETHODCALLTYPE Transform( + IInkTransform *Transform, + VARIANT_BOOL ApplyOnPenWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScaleToRectangle( + IInkRectangle *Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE Move( + float HorizontalComponent, + float VerticalComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rotate( + float Degrees, + float x, + float y) = 0; + + virtual HRESULT STDMETHODCALLTYPE Shear( + float HorizontalMultiplier, + float VerticalMultiplier) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScaleTransform( + float HorizontalMultiplier, + float VerticalMultiplier) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clip( + IInkRectangle *Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveRecognitionResult( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkStrokes, 0xf1f4c9d8, 0x590a, 0x4963, 0xb3,0xae, 0x19,0x35,0x67,0x1b,0xb6,0xf3) +#endif +#else +typedef struct IInkStrokesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkStrokes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkStrokes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkStrokes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkStrokes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkStrokes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkStrokes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkStrokes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkStrokes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IInkStrokes *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IInkStrokes *This, + IUnknown **_NewEnum); + + HRESULT (STDMETHODCALLTYPE *get_Ink)( + IInkStrokes *This, + IInkDisp **Ink); + + HRESULT (STDMETHODCALLTYPE *get_RecognitionResult)( + IInkStrokes *This, + IInkRecognitionResult **RecognitionResult); + + HRESULT (STDMETHODCALLTYPE *ToString)( + IInkStrokes *This, + BSTR *ToString); + + HRESULT (STDMETHODCALLTYPE *Item)( + IInkStrokes *This, + LONG Index, + IInkStrokeDisp **Stroke); + + HRESULT (STDMETHODCALLTYPE *Add)( + IInkStrokes *This, + IInkStrokeDisp *InkStroke); + + HRESULT (STDMETHODCALLTYPE *AddStrokes)( + IInkStrokes *This, + IInkStrokes *InkStrokes); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IInkStrokes *This, + IInkStrokeDisp *InkStroke); + + HRESULT (STDMETHODCALLTYPE *RemoveStrokes)( + IInkStrokes *This, + IInkStrokes *InkStrokes); + + HRESULT (STDMETHODCALLTYPE *ModifyDrawingAttributes)( + IInkStrokes *This, + IInkDrawingAttributes *DrawAttrs); + + HRESULT (STDMETHODCALLTYPE *GetBoundingBox)( + IInkStrokes *This, + InkBoundingBoxMode BoundingBoxMode, + IInkRectangle **BoundingBox); + + HRESULT (STDMETHODCALLTYPE *Transform)( + IInkStrokes *This, + IInkTransform *Transform, + VARIANT_BOOL ApplyOnPenWidth); + + HRESULT (STDMETHODCALLTYPE *ScaleToRectangle)( + IInkStrokes *This, + IInkRectangle *Rectangle); + + HRESULT (STDMETHODCALLTYPE *Move)( + IInkStrokes *This, + float HorizontalComponent, + float VerticalComponent); + + HRESULT (STDMETHODCALLTYPE *Rotate)( + IInkStrokes *This, + float Degrees, + float x, + float y); + + HRESULT (STDMETHODCALLTYPE *Shear)( + IInkStrokes *This, + float HorizontalMultiplier, + float VerticalMultiplier); + + HRESULT (STDMETHODCALLTYPE *ScaleTransform)( + IInkStrokes *This, + float HorizontalMultiplier, + float VerticalMultiplier); + + HRESULT (STDMETHODCALLTYPE *Clip)( + IInkStrokes *This, + IInkRectangle *Rectangle); + + HRESULT (STDMETHODCALLTYPE *RemoveRecognitionResult)( + IInkStrokes *This); + + END_INTERFACE +} IInkStrokesVtbl; + +interface IInkStrokes { + CONST_VTBL IInkStrokesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkStrokes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkStrokes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkStrokes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkStrokes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkStrokes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkStrokes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkStrokes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkStrokes methods ***/ +#define IInkStrokes_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count) +#define IInkStrokes_get__NewEnum(This,_NewEnum) (This)->lpVtbl->get__NewEnum(This,_NewEnum) +#define IInkStrokes_get_Ink(This,Ink) (This)->lpVtbl->get_Ink(This,Ink) +#define IInkStrokes_get_RecognitionResult(This,RecognitionResult) (This)->lpVtbl->get_RecognitionResult(This,RecognitionResult) +#define IInkStrokes_ToString(This,ToString) (This)->lpVtbl->ToString(This,ToString) +#define IInkStrokes_Item(This,Index,Stroke) (This)->lpVtbl->Item(This,Index,Stroke) +#define IInkStrokes_Add(This,InkStroke) (This)->lpVtbl->Add(This,InkStroke) +#define IInkStrokes_AddStrokes(This,InkStrokes) (This)->lpVtbl->AddStrokes(This,InkStrokes) +#define IInkStrokes_Remove(This,InkStroke) (This)->lpVtbl->Remove(This,InkStroke) +#define IInkStrokes_RemoveStrokes(This,InkStrokes) (This)->lpVtbl->RemoveStrokes(This,InkStrokes) +#define IInkStrokes_ModifyDrawingAttributes(This,DrawAttrs) (This)->lpVtbl->ModifyDrawingAttributes(This,DrawAttrs) +#define IInkStrokes_GetBoundingBox(This,BoundingBoxMode,BoundingBox) (This)->lpVtbl->GetBoundingBox(This,BoundingBoxMode,BoundingBox) +#define IInkStrokes_Transform(This,Transform,ApplyOnPenWidth) (This)->lpVtbl->Transform(This,Transform,ApplyOnPenWidth) +#define IInkStrokes_ScaleToRectangle(This,Rectangle) (This)->lpVtbl->ScaleToRectangle(This,Rectangle) +#define IInkStrokes_Move(This,HorizontalComponent,VerticalComponent) (This)->lpVtbl->Move(This,HorizontalComponent,VerticalComponent) +#define IInkStrokes_Rotate(This,Degrees,x,y) (This)->lpVtbl->Rotate(This,Degrees,x,y) +#define IInkStrokes_Shear(This,HorizontalMultiplier,VerticalMultiplier) (This)->lpVtbl->Shear(This,HorizontalMultiplier,VerticalMultiplier) +#define IInkStrokes_ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier) (This)->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier) +#define IInkStrokes_Clip(This,Rectangle) (This)->lpVtbl->Clip(This,Rectangle) +#define IInkStrokes_RemoveRecognitionResult(This) (This)->lpVtbl->RemoveRecognitionResult(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkStrokes_QueryInterface(IInkStrokes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkStrokes_AddRef(IInkStrokes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkStrokes_Release(IInkStrokes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkStrokes_GetTypeInfoCount(IInkStrokes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkStrokes_GetTypeInfo(IInkStrokes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkStrokes_GetIDsOfNames(IInkStrokes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkStrokes_Invoke(IInkStrokes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkStrokes methods ***/ +static FORCEINLINE HRESULT IInkStrokes_get_Count(IInkStrokes* This,LONG *Count) { + return This->lpVtbl->get_Count(This,Count); +} +static FORCEINLINE HRESULT IInkStrokes_get__NewEnum(IInkStrokes* This,IUnknown **_NewEnum) { + return This->lpVtbl->get__NewEnum(This,_NewEnum); +} +static FORCEINLINE HRESULT IInkStrokes_get_Ink(IInkStrokes* This,IInkDisp **Ink) { + return This->lpVtbl->get_Ink(This,Ink); +} +static FORCEINLINE HRESULT IInkStrokes_get_RecognitionResult(IInkStrokes* This,IInkRecognitionResult **RecognitionResult) { + return This->lpVtbl->get_RecognitionResult(This,RecognitionResult); +} +static FORCEINLINE HRESULT IInkStrokes_ToString(IInkStrokes* This,BSTR *ToString) { + return This->lpVtbl->ToString(This,ToString); +} +static FORCEINLINE HRESULT IInkStrokes_Item(IInkStrokes* This,LONG Index,IInkStrokeDisp **Stroke) { + return This->lpVtbl->Item(This,Index,Stroke); +} +static FORCEINLINE HRESULT IInkStrokes_Add(IInkStrokes* This,IInkStrokeDisp *InkStroke) { + return This->lpVtbl->Add(This,InkStroke); +} +static FORCEINLINE HRESULT IInkStrokes_AddStrokes(IInkStrokes* This,IInkStrokes *InkStrokes) { + return This->lpVtbl->AddStrokes(This,InkStrokes); +} +static FORCEINLINE HRESULT IInkStrokes_Remove(IInkStrokes* This,IInkStrokeDisp *InkStroke) { + return This->lpVtbl->Remove(This,InkStroke); +} +static FORCEINLINE HRESULT IInkStrokes_RemoveStrokes(IInkStrokes* This,IInkStrokes *InkStrokes) { + return This->lpVtbl->RemoveStrokes(This,InkStrokes); +} +static FORCEINLINE HRESULT IInkStrokes_ModifyDrawingAttributes(IInkStrokes* This,IInkDrawingAttributes *DrawAttrs) { + return This->lpVtbl->ModifyDrawingAttributes(This,DrawAttrs); +} +static FORCEINLINE HRESULT IInkStrokes_GetBoundingBox(IInkStrokes* This,InkBoundingBoxMode BoundingBoxMode,IInkRectangle **BoundingBox) { + return This->lpVtbl->GetBoundingBox(This,BoundingBoxMode,BoundingBox); +} +static FORCEINLINE HRESULT IInkStrokes_Transform(IInkStrokes* This,IInkTransform *Transform,VARIANT_BOOL ApplyOnPenWidth) { + return This->lpVtbl->Transform(This,Transform,ApplyOnPenWidth); +} +static FORCEINLINE HRESULT IInkStrokes_ScaleToRectangle(IInkStrokes* This,IInkRectangle *Rectangle) { + return This->lpVtbl->ScaleToRectangle(This,Rectangle); +} +static FORCEINLINE HRESULT IInkStrokes_Move(IInkStrokes* This,float HorizontalComponent,float VerticalComponent) { + return This->lpVtbl->Move(This,HorizontalComponent,VerticalComponent); +} +static FORCEINLINE HRESULT IInkStrokes_Rotate(IInkStrokes* This,float Degrees,float x,float y) { + return This->lpVtbl->Rotate(This,Degrees,x,y); +} +static FORCEINLINE HRESULT IInkStrokes_Shear(IInkStrokes* This,float HorizontalMultiplier,float VerticalMultiplier) { + return This->lpVtbl->Shear(This,HorizontalMultiplier,VerticalMultiplier); +} +static FORCEINLINE HRESULT IInkStrokes_ScaleTransform(IInkStrokes* This,float HorizontalMultiplier,float VerticalMultiplier) { + return This->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier); +} +static FORCEINLINE HRESULT IInkStrokes_Clip(IInkStrokes* This,IInkRectangle *Rectangle) { + return This->lpVtbl->Clip(This,Rectangle); +} +static FORCEINLINE HRESULT IInkStrokes_RemoveRecognitionResult(IInkStrokes* This) { + return This->lpVtbl->RemoveRecognitionResult(This); +} +#endif +#endif + +#endif + + +#endif /* __IInkStrokes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkCustomStrokes interface + */ +#ifndef __IInkCustomStrokes_INTERFACE_DEFINED__ +#define __IInkCustomStrokes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkCustomStrokes, 0x7e23a88f, 0xc30e, 0x420f, 0x9b,0xdb, 0x28,0x90,0x25,0x43,0xf0,0xc1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7e23a88f-c30e-420f-9bdb-28902543f0c1") +IInkCustomStrokes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **_NewEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT Identifier, + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR Name, + IInkStrokes *Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + VARIANT Identifier) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkCustomStrokes, 0x7e23a88f, 0xc30e, 0x420f, 0x9b,0xdb, 0x28,0x90,0x25,0x43,0xf0,0xc1) +#endif +#else +typedef struct IInkCustomStrokesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkCustomStrokes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkCustomStrokes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkCustomStrokes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkCustomStrokes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkCustomStrokes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkCustomStrokes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkCustomStrokes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkCustomStrokes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IInkCustomStrokes *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IInkCustomStrokes *This, + IUnknown **_NewEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + IInkCustomStrokes *This, + VARIANT Identifier, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *Add)( + IInkCustomStrokes *This, + BSTR Name, + IInkStrokes *Strokes); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IInkCustomStrokes *This, + VARIANT Identifier); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IInkCustomStrokes *This); + + END_INTERFACE +} IInkCustomStrokesVtbl; + +interface IInkCustomStrokes { + CONST_VTBL IInkCustomStrokesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkCustomStrokes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkCustomStrokes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkCustomStrokes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkCustomStrokes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkCustomStrokes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkCustomStrokes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkCustomStrokes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkCustomStrokes methods ***/ +#define IInkCustomStrokes_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count) +#define IInkCustomStrokes_get__NewEnum(This,_NewEnum) (This)->lpVtbl->get__NewEnum(This,_NewEnum) +#define IInkCustomStrokes_Item(This,Identifier,Strokes) (This)->lpVtbl->Item(This,Identifier,Strokes) +#define IInkCustomStrokes_Add(This,Name,Strokes) (This)->lpVtbl->Add(This,Name,Strokes) +#define IInkCustomStrokes_Remove(This,Identifier) (This)->lpVtbl->Remove(This,Identifier) +#define IInkCustomStrokes_Clear(This) (This)->lpVtbl->Clear(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkCustomStrokes_QueryInterface(IInkCustomStrokes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkCustomStrokes_AddRef(IInkCustomStrokes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkCustomStrokes_Release(IInkCustomStrokes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkCustomStrokes_GetTypeInfoCount(IInkCustomStrokes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkCustomStrokes_GetTypeInfo(IInkCustomStrokes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkCustomStrokes_GetIDsOfNames(IInkCustomStrokes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkCustomStrokes_Invoke(IInkCustomStrokes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkCustomStrokes methods ***/ +static FORCEINLINE HRESULT IInkCustomStrokes_get_Count(IInkCustomStrokes* This,LONG *Count) { + return This->lpVtbl->get_Count(This,Count); +} +static FORCEINLINE HRESULT IInkCustomStrokes_get__NewEnum(IInkCustomStrokes* This,IUnknown **_NewEnum) { + return This->lpVtbl->get__NewEnum(This,_NewEnum); +} +static FORCEINLINE HRESULT IInkCustomStrokes_Item(IInkCustomStrokes* This,VARIANT Identifier,IInkStrokes **Strokes) { + return This->lpVtbl->Item(This,Identifier,Strokes); +} +static FORCEINLINE HRESULT IInkCustomStrokes_Add(IInkCustomStrokes* This,BSTR Name,IInkStrokes *Strokes) { + return This->lpVtbl->Add(This,Name,Strokes); +} +static FORCEINLINE HRESULT IInkCustomStrokes_Remove(IInkCustomStrokes* This,VARIANT Identifier) { + return This->lpVtbl->Remove(This,Identifier); +} +static FORCEINLINE HRESULT IInkCustomStrokes_Clear(IInkCustomStrokes* This) { + return This->lpVtbl->Clear(This); +} +#endif +#endif + +#endif + + +#endif /* __IInkCustomStrokes_INTERFACE_DEFINED__ */ + +#ifndef __IInkRecognitionAlternate_FWD_DEFINED__ +#define __IInkRecognitionAlternate_FWD_DEFINED__ +typedef interface IInkRecognitionAlternate IInkRecognitionAlternate; +#ifdef __cplusplus +interface IInkRecognitionAlternate; +#endif /* __cplusplus */ +#endif + +#ifndef __IInkRecognitionAlternates_FWD_DEFINED__ +#define __IInkRecognitionAlternates_FWD_DEFINED__ +typedef interface IInkRecognitionAlternates IInkRecognitionAlternates; +#ifdef __cplusplus +interface IInkRecognitionAlternates; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IInkRecognitionResult interface + */ +#ifndef __IInkRecognitionResult_INTERFACE_DEFINED__ +#define __IInkRecognitionResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkRecognitionResult, 0x3bc129a8, 0x86cd, 0x45ad, 0xbd,0xe8, 0xe0,0xd3,0x2d,0x61,0xc1,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3bc129a8-86cd-45ad-bde8-e0d32d61c16d") +IInkRecognitionResult : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_TopString( + BSTR *TopString) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TopAlternate( + IInkRecognitionAlternate **TopAlternate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TopConfidence( + InkRecognitionConfidence *TopConfidence) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Strokes( + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE AlternatesFromSelection( + LONG selectionStart, + LONG selectionLength, + LONG maximumAlternates, + IInkRecognitionAlternates **AlternatesFromSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyTopAlternate( + IInkRecognitionAlternate *Alternate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetResultOnStrokes( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkRecognitionResult, 0x3bc129a8, 0x86cd, 0x45ad, 0xbd,0xe8, 0xe0,0xd3,0x2d,0x61,0xc1,0x6d) +#endif +#else +typedef struct IInkRecognitionResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkRecognitionResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkRecognitionResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkRecognitionResult *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkRecognitionResult *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkRecognitionResult *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkRecognitionResult *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkRecognitionResult *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkRecognitionResult methods ***/ + HRESULT (STDMETHODCALLTYPE *get_TopString)( + IInkRecognitionResult *This, + BSTR *TopString); + + HRESULT (STDMETHODCALLTYPE *get_TopAlternate)( + IInkRecognitionResult *This, + IInkRecognitionAlternate **TopAlternate); + + HRESULT (STDMETHODCALLTYPE *get_TopConfidence)( + IInkRecognitionResult *This, + InkRecognitionConfidence *TopConfidence); + + HRESULT (STDMETHODCALLTYPE *get_Strokes)( + IInkRecognitionResult *This, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *AlternatesFromSelection)( + IInkRecognitionResult *This, + LONG selectionStart, + LONG selectionLength, + LONG maximumAlternates, + IInkRecognitionAlternates **AlternatesFromSelection); + + HRESULT (STDMETHODCALLTYPE *ModifyTopAlternate)( + IInkRecognitionResult *This, + IInkRecognitionAlternate *Alternate); + + HRESULT (STDMETHODCALLTYPE *SetResultOnStrokes)( + IInkRecognitionResult *This); + + END_INTERFACE +} IInkRecognitionResultVtbl; + +interface IInkRecognitionResult { + CONST_VTBL IInkRecognitionResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkRecognitionResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkRecognitionResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkRecognitionResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkRecognitionResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkRecognitionResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkRecognitionResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkRecognitionResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkRecognitionResult methods ***/ +#define IInkRecognitionResult_get_TopString(This,TopString) (This)->lpVtbl->get_TopString(This,TopString) +#define IInkRecognitionResult_get_TopAlternate(This,TopAlternate) (This)->lpVtbl->get_TopAlternate(This,TopAlternate) +#define IInkRecognitionResult_get_TopConfidence(This,TopConfidence) (This)->lpVtbl->get_TopConfidence(This,TopConfidence) +#define IInkRecognitionResult_get_Strokes(This,Strokes) (This)->lpVtbl->get_Strokes(This,Strokes) +#define IInkRecognitionResult_AlternatesFromSelection(This,selectionStart,selectionLength,maximumAlternates,AlternatesFromSelection) (This)->lpVtbl->AlternatesFromSelection(This,selectionStart,selectionLength,maximumAlternates,AlternatesFromSelection) +#define IInkRecognitionResult_ModifyTopAlternate(This,Alternate) (This)->lpVtbl->ModifyTopAlternate(This,Alternate) +#define IInkRecognitionResult_SetResultOnStrokes(This) (This)->lpVtbl->SetResultOnStrokes(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkRecognitionResult_QueryInterface(IInkRecognitionResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkRecognitionResult_AddRef(IInkRecognitionResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkRecognitionResult_Release(IInkRecognitionResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkRecognitionResult_GetTypeInfoCount(IInkRecognitionResult* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkRecognitionResult_GetTypeInfo(IInkRecognitionResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkRecognitionResult_GetIDsOfNames(IInkRecognitionResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkRecognitionResult_Invoke(IInkRecognitionResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkRecognitionResult methods ***/ +static FORCEINLINE HRESULT IInkRecognitionResult_get_TopString(IInkRecognitionResult* This,BSTR *TopString) { + return This->lpVtbl->get_TopString(This,TopString); +} +static FORCEINLINE HRESULT IInkRecognitionResult_get_TopAlternate(IInkRecognitionResult* This,IInkRecognitionAlternate **TopAlternate) { + return This->lpVtbl->get_TopAlternate(This,TopAlternate); +} +static FORCEINLINE HRESULT IInkRecognitionResult_get_TopConfidence(IInkRecognitionResult* This,InkRecognitionConfidence *TopConfidence) { + return This->lpVtbl->get_TopConfidence(This,TopConfidence); +} +static FORCEINLINE HRESULT IInkRecognitionResult_get_Strokes(IInkRecognitionResult* This,IInkStrokes **Strokes) { + return This->lpVtbl->get_Strokes(This,Strokes); +} +static FORCEINLINE HRESULT IInkRecognitionResult_AlternatesFromSelection(IInkRecognitionResult* This,LONG selectionStart,LONG selectionLength,LONG maximumAlternates,IInkRecognitionAlternates **AlternatesFromSelection) { + return This->lpVtbl->AlternatesFromSelection(This,selectionStart,selectionLength,maximumAlternates,AlternatesFromSelection); +} +static FORCEINLINE HRESULT IInkRecognitionResult_ModifyTopAlternate(IInkRecognitionResult* This,IInkRecognitionAlternate *Alternate) { + return This->lpVtbl->ModifyTopAlternate(This,Alternate); +} +static FORCEINLINE HRESULT IInkRecognitionResult_SetResultOnStrokes(IInkRecognitionResult* This) { + return This->lpVtbl->SetResultOnStrokes(This); +} +#endif +#endif + +#endif + + +#endif /* __IInkRecognitionResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkRecognitionAlternate interface + */ +#ifndef __IInkRecognitionAlternate_INTERFACE_DEFINED__ +#define __IInkRecognitionAlternate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkRecognitionAlternate, 0xb7e660ad, 0x77e4, 0x429b, 0xad,0xda, 0x87,0x37,0x80,0xd1,0xfc,0x4a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b7e660ad-77e4-429b-adda-873780d1fc4a") +IInkRecognitionAlternate : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_String( + BSTR *RecoString) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Confidence( + InkRecognitionConfidence *Confidence) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Baseline( + VARIANT *Baseline) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Midline( + VARIANT *Midline) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Ascender( + VARIANT *Ascender) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Descender( + VARIANT *Descender) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LineNumber( + LONG *LineNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Strokes( + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LineAlternates( + IInkRecognitionAlternates **LineAlternates) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ConfidenceAlternates( + IInkRecognitionAlternates **ConfidenceAlternates) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStrokesFromStrokeRanges( + IInkStrokes *Stroke, + IInkStrokes **GetStrokesFromTextRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStrokesFromTextRange( + LONG *selectionStart, + LONG *selectionLength, + IInkStrokes **GetStrokesFromTextRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextRangeFromStrokes( + IInkStrokes *Strokes, + LONG *selectionStart, + LONG *selectionLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE AlternatesWithConstantPropertyValues( + BSTR PropertyType, + IInkRecognitionAlternates **AlternatesWithConstantPropertyValues) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyValue( + BSTR PropertyType, + VARIANT *PropertyValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkRecognitionAlternate, 0xb7e660ad, 0x77e4, 0x429b, 0xad,0xda, 0x87,0x37,0x80,0xd1,0xfc,0x4a) +#endif +#else +typedef struct IInkRecognitionAlternateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkRecognitionAlternate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkRecognitionAlternate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkRecognitionAlternate *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkRecognitionAlternate *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkRecognitionAlternate *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkRecognitionAlternate *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkRecognitionAlternate *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkRecognitionAlternate methods ***/ + HRESULT (STDMETHODCALLTYPE *get_String)( + IInkRecognitionAlternate *This, + BSTR *RecoString); + + HRESULT (STDMETHODCALLTYPE *get_Confidence)( + IInkRecognitionAlternate *This, + InkRecognitionConfidence *Confidence); + + HRESULT (STDMETHODCALLTYPE *get_Baseline)( + IInkRecognitionAlternate *This, + VARIANT *Baseline); + + HRESULT (STDMETHODCALLTYPE *get_Midline)( + IInkRecognitionAlternate *This, + VARIANT *Midline); + + HRESULT (STDMETHODCALLTYPE *get_Ascender)( + IInkRecognitionAlternate *This, + VARIANT *Ascender); + + HRESULT (STDMETHODCALLTYPE *get_Descender)( + IInkRecognitionAlternate *This, + VARIANT *Descender); + + HRESULT (STDMETHODCALLTYPE *get_LineNumber)( + IInkRecognitionAlternate *This, + LONG *LineNumber); + + HRESULT (STDMETHODCALLTYPE *get_Strokes)( + IInkRecognitionAlternate *This, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *get_LineAlternates)( + IInkRecognitionAlternate *This, + IInkRecognitionAlternates **LineAlternates); + + HRESULT (STDMETHODCALLTYPE *get_ConfidenceAlternates)( + IInkRecognitionAlternate *This, + IInkRecognitionAlternates **ConfidenceAlternates); + + HRESULT (STDMETHODCALLTYPE *GetStrokesFromStrokeRanges)( + IInkRecognitionAlternate *This, + IInkStrokes *Stroke, + IInkStrokes **GetStrokesFromTextRange); + + HRESULT (STDMETHODCALLTYPE *GetStrokesFromTextRange)( + IInkRecognitionAlternate *This, + LONG *selectionStart, + LONG *selectionLength, + IInkStrokes **GetStrokesFromTextRange); + + HRESULT (STDMETHODCALLTYPE *GetTextRangeFromStrokes)( + IInkRecognitionAlternate *This, + IInkStrokes *Strokes, + LONG *selectionStart, + LONG *selectionLength); + + HRESULT (STDMETHODCALLTYPE *AlternatesWithConstantPropertyValues)( + IInkRecognitionAlternate *This, + BSTR PropertyType, + IInkRecognitionAlternates **AlternatesWithConstantPropertyValues); + + HRESULT (STDMETHODCALLTYPE *GetPropertyValue)( + IInkRecognitionAlternate *This, + BSTR PropertyType, + VARIANT *PropertyValue); + + END_INTERFACE +} IInkRecognitionAlternateVtbl; + +interface IInkRecognitionAlternate { + CONST_VTBL IInkRecognitionAlternateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkRecognitionAlternate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkRecognitionAlternate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkRecognitionAlternate_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkRecognitionAlternate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkRecognitionAlternate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkRecognitionAlternate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkRecognitionAlternate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkRecognitionAlternate methods ***/ +#define IInkRecognitionAlternate_get_String(This,RecoString) (This)->lpVtbl->get_String(This,RecoString) +#define IInkRecognitionAlternate_get_Confidence(This,Confidence) (This)->lpVtbl->get_Confidence(This,Confidence) +#define IInkRecognitionAlternate_get_Baseline(This,Baseline) (This)->lpVtbl->get_Baseline(This,Baseline) +#define IInkRecognitionAlternate_get_Midline(This,Midline) (This)->lpVtbl->get_Midline(This,Midline) +#define IInkRecognitionAlternate_get_Ascender(This,Ascender) (This)->lpVtbl->get_Ascender(This,Ascender) +#define IInkRecognitionAlternate_get_Descender(This,Descender) (This)->lpVtbl->get_Descender(This,Descender) +#define IInkRecognitionAlternate_get_LineNumber(This,LineNumber) (This)->lpVtbl->get_LineNumber(This,LineNumber) +#define IInkRecognitionAlternate_get_Strokes(This,Strokes) (This)->lpVtbl->get_Strokes(This,Strokes) +#define IInkRecognitionAlternate_get_LineAlternates(This,LineAlternates) (This)->lpVtbl->get_LineAlternates(This,LineAlternates) +#define IInkRecognitionAlternate_get_ConfidenceAlternates(This,ConfidenceAlternates) (This)->lpVtbl->get_ConfidenceAlternates(This,ConfidenceAlternates) +#define IInkRecognitionAlternate_GetStrokesFromStrokeRanges(This,Stroke,GetStrokesFromTextRange) (This)->lpVtbl->GetStrokesFromStrokeRanges(This,Stroke,GetStrokesFromTextRange) +#define IInkRecognitionAlternate_GetStrokesFromTextRange(This,selectionStart,selectionLength,GetStrokesFromTextRange) (This)->lpVtbl->GetStrokesFromTextRange(This,selectionStart,selectionLength,GetStrokesFromTextRange) +#define IInkRecognitionAlternate_GetTextRangeFromStrokes(This,Strokes,selectionStart,selectionLength) (This)->lpVtbl->GetTextRangeFromStrokes(This,Strokes,selectionStart,selectionLength) +#define IInkRecognitionAlternate_AlternatesWithConstantPropertyValues(This,PropertyType,AlternatesWithConstantPropertyValues) (This)->lpVtbl->AlternatesWithConstantPropertyValues(This,PropertyType,AlternatesWithConstantPropertyValues) +#define IInkRecognitionAlternate_GetPropertyValue(This,PropertyType,PropertyValue) (This)->lpVtbl->GetPropertyValue(This,PropertyType,PropertyValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkRecognitionAlternate_QueryInterface(IInkRecognitionAlternate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkRecognitionAlternate_AddRef(IInkRecognitionAlternate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkRecognitionAlternate_Release(IInkRecognitionAlternate* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetTypeInfoCount(IInkRecognitionAlternate* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetTypeInfo(IInkRecognitionAlternate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetIDsOfNames(IInkRecognitionAlternate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_Invoke(IInkRecognitionAlternate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkRecognitionAlternate methods ***/ +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_String(IInkRecognitionAlternate* This,BSTR *RecoString) { + return This->lpVtbl->get_String(This,RecoString); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_Confidence(IInkRecognitionAlternate* This,InkRecognitionConfidence *Confidence) { + return This->lpVtbl->get_Confidence(This,Confidence); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_Baseline(IInkRecognitionAlternate* This,VARIANT *Baseline) { + return This->lpVtbl->get_Baseline(This,Baseline); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_Midline(IInkRecognitionAlternate* This,VARIANT *Midline) { + return This->lpVtbl->get_Midline(This,Midline); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_Ascender(IInkRecognitionAlternate* This,VARIANT *Ascender) { + return This->lpVtbl->get_Ascender(This,Ascender); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_Descender(IInkRecognitionAlternate* This,VARIANT *Descender) { + return This->lpVtbl->get_Descender(This,Descender); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_LineNumber(IInkRecognitionAlternate* This,LONG *LineNumber) { + return This->lpVtbl->get_LineNumber(This,LineNumber); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_Strokes(IInkRecognitionAlternate* This,IInkStrokes **Strokes) { + return This->lpVtbl->get_Strokes(This,Strokes); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_LineAlternates(IInkRecognitionAlternate* This,IInkRecognitionAlternates **LineAlternates) { + return This->lpVtbl->get_LineAlternates(This,LineAlternates); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_get_ConfidenceAlternates(IInkRecognitionAlternate* This,IInkRecognitionAlternates **ConfidenceAlternates) { + return This->lpVtbl->get_ConfidenceAlternates(This,ConfidenceAlternates); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetStrokesFromStrokeRanges(IInkRecognitionAlternate* This,IInkStrokes *Stroke,IInkStrokes **GetStrokesFromTextRange) { + return This->lpVtbl->GetStrokesFromStrokeRanges(This,Stroke,GetStrokesFromTextRange); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetStrokesFromTextRange(IInkRecognitionAlternate* This,LONG *selectionStart,LONG *selectionLength,IInkStrokes **GetStrokesFromTextRange) { + return This->lpVtbl->GetStrokesFromTextRange(This,selectionStart,selectionLength,GetStrokesFromTextRange); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetTextRangeFromStrokes(IInkRecognitionAlternate* This,IInkStrokes *Strokes,LONG *selectionStart,LONG *selectionLength) { + return This->lpVtbl->GetTextRangeFromStrokes(This,Strokes,selectionStart,selectionLength); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_AlternatesWithConstantPropertyValues(IInkRecognitionAlternate* This,BSTR PropertyType,IInkRecognitionAlternates **AlternatesWithConstantPropertyValues) { + return This->lpVtbl->AlternatesWithConstantPropertyValues(This,PropertyType,AlternatesWithConstantPropertyValues); +} +static FORCEINLINE HRESULT IInkRecognitionAlternate_GetPropertyValue(IInkRecognitionAlternate* This,BSTR PropertyType,VARIANT *PropertyValue) { + return This->lpVtbl->GetPropertyValue(This,PropertyType,PropertyValue); +} +#endif +#endif + +#endif + + +#endif /* __IInkRecognitionAlternate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkRecognitionAlternates interface + */ +#ifndef __IInkRecognitionAlternates_INTERFACE_DEFINED__ +#define __IInkRecognitionAlternates_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkRecognitionAlternates, 0x286a167f, 0x9f19, 0x4c61, 0x9d,0x53, 0x4f,0x07,0xbe,0x62,0x2b,0x84); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("286a167f-9f19-4c61-9d53-4f07be622b84") +IInkRecognitionAlternates : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **_NewEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Strokes( + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG Index, + IInkRecognitionAlternate **InkRecoAlternate) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkRecognitionAlternates, 0x286a167f, 0x9f19, 0x4c61, 0x9d,0x53, 0x4f,0x07,0xbe,0x62,0x2b,0x84) +#endif +#else +typedef struct IInkRecognitionAlternatesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkRecognitionAlternates *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkRecognitionAlternates *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkRecognitionAlternates *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkRecognitionAlternates *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkRecognitionAlternates *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkRecognitionAlternates *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkRecognitionAlternates *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkRecognitionAlternates methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IInkRecognitionAlternates *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IInkRecognitionAlternates *This, + IUnknown **_NewEnum); + + HRESULT (STDMETHODCALLTYPE *get_Strokes)( + IInkRecognitionAlternates *This, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *Item)( + IInkRecognitionAlternates *This, + LONG Index, + IInkRecognitionAlternate **InkRecoAlternate); + + END_INTERFACE +} IInkRecognitionAlternatesVtbl; + +interface IInkRecognitionAlternates { + CONST_VTBL IInkRecognitionAlternatesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkRecognitionAlternates_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkRecognitionAlternates_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkRecognitionAlternates_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkRecognitionAlternates_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkRecognitionAlternates_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkRecognitionAlternates_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkRecognitionAlternates_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkRecognitionAlternates methods ***/ +#define IInkRecognitionAlternates_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count) +#define IInkRecognitionAlternates_get__NewEnum(This,_NewEnum) (This)->lpVtbl->get__NewEnum(This,_NewEnum) +#define IInkRecognitionAlternates_get_Strokes(This,Strokes) (This)->lpVtbl->get_Strokes(This,Strokes) +#define IInkRecognitionAlternates_Item(This,Index,InkRecoAlternate) (This)->lpVtbl->Item(This,Index,InkRecoAlternate) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkRecognitionAlternates_QueryInterface(IInkRecognitionAlternates* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkRecognitionAlternates_AddRef(IInkRecognitionAlternates* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkRecognitionAlternates_Release(IInkRecognitionAlternates* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkRecognitionAlternates_GetTypeInfoCount(IInkRecognitionAlternates* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkRecognitionAlternates_GetTypeInfo(IInkRecognitionAlternates* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkRecognitionAlternates_GetIDsOfNames(IInkRecognitionAlternates* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkRecognitionAlternates_Invoke(IInkRecognitionAlternates* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkRecognitionAlternates methods ***/ +static FORCEINLINE HRESULT IInkRecognitionAlternates_get_Count(IInkRecognitionAlternates* This,LONG *Count) { + return This->lpVtbl->get_Count(This,Count); +} +static FORCEINLINE HRESULT IInkRecognitionAlternates_get__NewEnum(IInkRecognitionAlternates* This,IUnknown **_NewEnum) { + return This->lpVtbl->get__NewEnum(This,_NewEnum); +} +static FORCEINLINE HRESULT IInkRecognitionAlternates_get_Strokes(IInkRecognitionAlternates* This,IInkStrokes **Strokes) { + return This->lpVtbl->get_Strokes(This,Strokes); +} +static FORCEINLINE HRESULT IInkRecognitionAlternates_Item(IInkRecognitionAlternates* This,LONG Index,IInkRecognitionAlternate **InkRecoAlternate) { + return This->lpVtbl->Item(This,Index,InkRecoAlternate); +} +#endif +#endif + +#endif + + +#endif /* __IInkRecognitionAlternates_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkDisp interface + */ +#ifndef __IInkDisp_INTERFACE_DEFINED__ +#define __IInkDisp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkDisp, 0x9d398fa0, 0xc4e2, 0x4fcd, 0x99,0x73, 0x97,0x5c,0xaa,0xf4,0x7e,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9d398fa0-c4e2-4fcd-9973-975caaf47ea6") +IInkDisp : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Strokes( + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExtendedProperties( + IInkExtendedProperties **Properties) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Dirty( + VARIANT_BOOL *Dirty) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Dirty( + VARIANT_BOOL Dirty) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CustomStrokes( + IInkCustomStrokes **CustomStrokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBoundingBox( + InkBoundingBoxMode BoundingBoxMode, + IInkRectangle **Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteStrokes( + IInkStrokes *Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteStroke( + IInkStrokeDisp *Stroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExtractStrokes( + IInkStrokes *Strokes, + InkExtractFlags ExtractFlags, + IInkDisp **ExtractedInk) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExtractWithRectangle( + IInkRectangle *Rectangle, + InkExtractFlags ExtractFlags, + IInkDisp **ExtractedInk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clip( + IInkRectangle *Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IInkDisp **NewInk) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestCircle( + LONG X, + LONG Y, + float radius, + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestWithRectangle( + IInkRectangle *SelectionRectangle, + float IntersectPercent, + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTestWithLasso( + VARIANT Points, + float IntersectPercent, + VARIANT *LassoPoints, + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE NearestPoint( + LONG X, + LONG Y, + float *PointOnStroke, + float *DistanceFromPacket, + IInkStrokeDisp **Stroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStrokes( + VARIANT StrokeIds, + IInkStrokes **Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStrokesAtRectangle( + IInkStrokes *SourceStrokes, + IInkRectangle *TargetRectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + InkPersistenceFormat PersistenceFormat, + InkPersistenceCompressionMode CompressionMode, + VARIANT *Data) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + VARIANT Data) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStroke( + VARIANT PacketData, + VARIANT PacketDescription, + IInkStrokeDisp **Stroke) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClipboardCopyWithRectangle( + IInkRectangle *Rectangle, + InkClipboardFormats ClipboardFormats, + InkClipboardModes ClipboardModes, + IDataObject **DataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClipboardCopy( + IInkStrokes *strokes, + InkClipboardFormats ClipboardFormats, + InkClipboardModes ClipboardModes, + IDataObject **DataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanPaste( + IDataObject *DataObject, + VARIANT_BOOL *CanPaste) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClipboardPaste( + LONG x, + LONG y, + IDataObject *DataObject, + IInkStrokes **Strokes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkDisp, 0x9d398fa0, 0xc4e2, 0x4fcd, 0x99,0x73, 0x97,0x5c,0xaa,0xf4,0x7e,0xa6) +#endif +#else +typedef struct IInkDispVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkDisp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkDisp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkDisp *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkDisp *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkDisp *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkDisp *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkDisp *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkDisp methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Strokes)( + IInkDisp *This, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *get_ExtendedProperties)( + IInkDisp *This, + IInkExtendedProperties **Properties); + + HRESULT (STDMETHODCALLTYPE *get_Dirty)( + IInkDisp *This, + VARIANT_BOOL *Dirty); + + HRESULT (STDMETHODCALLTYPE *put_Dirty)( + IInkDisp *This, + VARIANT_BOOL Dirty); + + HRESULT (STDMETHODCALLTYPE *get_CustomStrokes)( + IInkDisp *This, + IInkCustomStrokes **CustomStrokes); + + HRESULT (STDMETHODCALLTYPE *GetBoundingBox)( + IInkDisp *This, + InkBoundingBoxMode BoundingBoxMode, + IInkRectangle **Rectangle); + + HRESULT (STDMETHODCALLTYPE *DeleteStrokes)( + IInkDisp *This, + IInkStrokes *Strokes); + + HRESULT (STDMETHODCALLTYPE *DeleteStroke)( + IInkDisp *This, + IInkStrokeDisp *Stroke); + + HRESULT (STDMETHODCALLTYPE *ExtractStrokes)( + IInkDisp *This, + IInkStrokes *Strokes, + InkExtractFlags ExtractFlags, + IInkDisp **ExtractedInk); + + HRESULT (STDMETHODCALLTYPE *ExtractWithRectangle)( + IInkDisp *This, + IInkRectangle *Rectangle, + InkExtractFlags ExtractFlags, + IInkDisp **ExtractedInk); + + HRESULT (STDMETHODCALLTYPE *Clip)( + IInkDisp *This, + IInkRectangle *Rectangle); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IInkDisp *This, + IInkDisp **NewInk); + + HRESULT (STDMETHODCALLTYPE *HitTestCircle)( + IInkDisp *This, + LONG X, + LONG Y, + float radius, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *HitTestWithRectangle)( + IInkDisp *This, + IInkRectangle *SelectionRectangle, + float IntersectPercent, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *HitTestWithLasso)( + IInkDisp *This, + VARIANT Points, + float IntersectPercent, + VARIANT *LassoPoints, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *NearestPoint)( + IInkDisp *This, + LONG X, + LONG Y, + float *PointOnStroke, + float *DistanceFromPacket, + IInkStrokeDisp **Stroke); + + HRESULT (STDMETHODCALLTYPE *CreateStrokes)( + IInkDisp *This, + VARIANT StrokeIds, + IInkStrokes **Strokes); + + HRESULT (STDMETHODCALLTYPE *AddStrokesAtRectangle)( + IInkDisp *This, + IInkStrokes *SourceStrokes, + IInkRectangle *TargetRectangle); + + HRESULT (STDMETHODCALLTYPE *Save)( + IInkDisp *This, + InkPersistenceFormat PersistenceFormat, + InkPersistenceCompressionMode CompressionMode, + VARIANT *Data); + + HRESULT (STDMETHODCALLTYPE *Load)( + IInkDisp *This, + VARIANT Data); + + HRESULT (STDMETHODCALLTYPE *CreateStroke)( + IInkDisp *This, + VARIANT PacketData, + VARIANT PacketDescription, + IInkStrokeDisp **Stroke); + + HRESULT (STDMETHODCALLTYPE *ClipboardCopyWithRectangle)( + IInkDisp *This, + IInkRectangle *Rectangle, + InkClipboardFormats ClipboardFormats, + InkClipboardModes ClipboardModes, + IDataObject **DataObject); + + HRESULT (STDMETHODCALLTYPE *ClipboardCopy)( + IInkDisp *This, + IInkStrokes *strokes, + InkClipboardFormats ClipboardFormats, + InkClipboardModes ClipboardModes, + IDataObject **DataObject); + + HRESULT (STDMETHODCALLTYPE *CanPaste)( + IInkDisp *This, + IDataObject *DataObject, + VARIANT_BOOL *CanPaste); + + HRESULT (STDMETHODCALLTYPE *ClipboardPaste)( + IInkDisp *This, + LONG x, + LONG y, + IDataObject *DataObject, + IInkStrokes **Strokes); + + END_INTERFACE +} IInkDispVtbl; + +interface IInkDisp { + CONST_VTBL IInkDispVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkDisp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkDisp_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkDisp methods ***/ +#define IInkDisp_get_Strokes(This,Strokes) (This)->lpVtbl->get_Strokes(This,Strokes) +#define IInkDisp_get_ExtendedProperties(This,Properties) (This)->lpVtbl->get_ExtendedProperties(This,Properties) +#define IInkDisp_get_Dirty(This,Dirty) (This)->lpVtbl->get_Dirty(This,Dirty) +#define IInkDisp_put_Dirty(This,Dirty) (This)->lpVtbl->put_Dirty(This,Dirty) +#define IInkDisp_get_CustomStrokes(This,CustomStrokes) (This)->lpVtbl->get_CustomStrokes(This,CustomStrokes) +#define IInkDisp_GetBoundingBox(This,BoundingBoxMode,Rectangle) (This)->lpVtbl->GetBoundingBox(This,BoundingBoxMode,Rectangle) +#define IInkDisp_DeleteStrokes(This,Strokes) (This)->lpVtbl->DeleteStrokes(This,Strokes) +#define IInkDisp_DeleteStroke(This,Stroke) (This)->lpVtbl->DeleteStroke(This,Stroke) +#define IInkDisp_ExtractStrokes(This,Strokes,ExtractFlags,ExtractedInk) (This)->lpVtbl->ExtractStrokes(This,Strokes,ExtractFlags,ExtractedInk) +#define IInkDisp_ExtractWithRectangle(This,Rectangle,ExtractFlags,ExtractedInk) (This)->lpVtbl->ExtractWithRectangle(This,Rectangle,ExtractFlags,ExtractedInk) +#define IInkDisp_Clip(This,Rectangle) (This)->lpVtbl->Clip(This,Rectangle) +#define IInkDisp_Clone(This,NewInk) (This)->lpVtbl->Clone(This,NewInk) +#define IInkDisp_HitTestCircle(This,X,Y,radius,Strokes) (This)->lpVtbl->HitTestCircle(This,X,Y,radius,Strokes) +#define IInkDisp_HitTestWithRectangle(This,SelectionRectangle,IntersectPercent,Strokes) (This)->lpVtbl->HitTestWithRectangle(This,SelectionRectangle,IntersectPercent,Strokes) +#define IInkDisp_HitTestWithLasso(This,Points,IntersectPercent,LassoPoints,Strokes) (This)->lpVtbl->HitTestWithLasso(This,Points,IntersectPercent,LassoPoints,Strokes) +#define IInkDisp_NearestPoint(This,X,Y,PointOnStroke,DistanceFromPacket,Stroke) (This)->lpVtbl->NearestPoint(This,X,Y,PointOnStroke,DistanceFromPacket,Stroke) +#define IInkDisp_CreateStrokes(This,StrokeIds,Strokes) (This)->lpVtbl->CreateStrokes(This,StrokeIds,Strokes) +#define IInkDisp_AddStrokesAtRectangle(This,SourceStrokes,TargetRectangle) (This)->lpVtbl->AddStrokesAtRectangle(This,SourceStrokes,TargetRectangle) +#define IInkDisp_Save(This,PersistenceFormat,CompressionMode,Data) (This)->lpVtbl->Save(This,PersistenceFormat,CompressionMode,Data) +#define IInkDisp_Load(This,Data) (This)->lpVtbl->Load(This,Data) +#define IInkDisp_CreateStroke(This,PacketData,PacketDescription,Stroke) (This)->lpVtbl->CreateStroke(This,PacketData,PacketDescription,Stroke) +#define IInkDisp_ClipboardCopyWithRectangle(This,Rectangle,ClipboardFormats,ClipboardModes,DataObject) (This)->lpVtbl->ClipboardCopyWithRectangle(This,Rectangle,ClipboardFormats,ClipboardModes,DataObject) +#define IInkDisp_ClipboardCopy(This,strokes,ClipboardFormats,ClipboardModes,DataObject) (This)->lpVtbl->ClipboardCopy(This,strokes,ClipboardFormats,ClipboardModes,DataObject) +#define IInkDisp_CanPaste(This,DataObject,CanPaste) (This)->lpVtbl->CanPaste(This,DataObject,CanPaste) +#define IInkDisp_ClipboardPaste(This,x,y,DataObject,Strokes) (This)->lpVtbl->ClipboardPaste(This,x,y,DataObject,Strokes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkDisp_QueryInterface(IInkDisp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkDisp_AddRef(IInkDisp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkDisp_Release(IInkDisp* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkDisp_GetTypeInfoCount(IInkDisp* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkDisp_GetTypeInfo(IInkDisp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkDisp_GetIDsOfNames(IInkDisp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkDisp_Invoke(IInkDisp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkDisp methods ***/ +static FORCEINLINE HRESULT IInkDisp_get_Strokes(IInkDisp* This,IInkStrokes **Strokes) { + return This->lpVtbl->get_Strokes(This,Strokes); +} +static FORCEINLINE HRESULT IInkDisp_get_ExtendedProperties(IInkDisp* This,IInkExtendedProperties **Properties) { + return This->lpVtbl->get_ExtendedProperties(This,Properties); +} +static FORCEINLINE HRESULT IInkDisp_get_Dirty(IInkDisp* This,VARIANT_BOOL *Dirty) { + return This->lpVtbl->get_Dirty(This,Dirty); +} +static FORCEINLINE HRESULT IInkDisp_put_Dirty(IInkDisp* This,VARIANT_BOOL Dirty) { + return This->lpVtbl->put_Dirty(This,Dirty); +} +static FORCEINLINE HRESULT IInkDisp_get_CustomStrokes(IInkDisp* This,IInkCustomStrokes **CustomStrokes) { + return This->lpVtbl->get_CustomStrokes(This,CustomStrokes); +} +static FORCEINLINE HRESULT IInkDisp_GetBoundingBox(IInkDisp* This,InkBoundingBoxMode BoundingBoxMode,IInkRectangle **Rectangle) { + return This->lpVtbl->GetBoundingBox(This,BoundingBoxMode,Rectangle); +} +static FORCEINLINE HRESULT IInkDisp_DeleteStrokes(IInkDisp* This,IInkStrokes *Strokes) { + return This->lpVtbl->DeleteStrokes(This,Strokes); +} +static FORCEINLINE HRESULT IInkDisp_DeleteStroke(IInkDisp* This,IInkStrokeDisp *Stroke) { + return This->lpVtbl->DeleteStroke(This,Stroke); +} +static FORCEINLINE HRESULT IInkDisp_ExtractStrokes(IInkDisp* This,IInkStrokes *Strokes,InkExtractFlags ExtractFlags,IInkDisp **ExtractedInk) { + return This->lpVtbl->ExtractStrokes(This,Strokes,ExtractFlags,ExtractedInk); +} +static FORCEINLINE HRESULT IInkDisp_ExtractWithRectangle(IInkDisp* This,IInkRectangle *Rectangle,InkExtractFlags ExtractFlags,IInkDisp **ExtractedInk) { + return This->lpVtbl->ExtractWithRectangle(This,Rectangle,ExtractFlags,ExtractedInk); +} +static FORCEINLINE HRESULT IInkDisp_Clip(IInkDisp* This,IInkRectangle *Rectangle) { + return This->lpVtbl->Clip(This,Rectangle); +} +static FORCEINLINE HRESULT IInkDisp_Clone(IInkDisp* This,IInkDisp **NewInk) { + return This->lpVtbl->Clone(This,NewInk); +} +static FORCEINLINE HRESULT IInkDisp_HitTestCircle(IInkDisp* This,LONG X,LONG Y,float radius,IInkStrokes **Strokes) { + return This->lpVtbl->HitTestCircle(This,X,Y,radius,Strokes); +} +static FORCEINLINE HRESULT IInkDisp_HitTestWithRectangle(IInkDisp* This,IInkRectangle *SelectionRectangle,float IntersectPercent,IInkStrokes **Strokes) { + return This->lpVtbl->HitTestWithRectangle(This,SelectionRectangle,IntersectPercent,Strokes); +} +static FORCEINLINE HRESULT IInkDisp_HitTestWithLasso(IInkDisp* This,VARIANT Points,float IntersectPercent,VARIANT *LassoPoints,IInkStrokes **Strokes) { + return This->lpVtbl->HitTestWithLasso(This,Points,IntersectPercent,LassoPoints,Strokes); +} +static FORCEINLINE HRESULT IInkDisp_NearestPoint(IInkDisp* This,LONG X,LONG Y,float *PointOnStroke,float *DistanceFromPacket,IInkStrokeDisp **Stroke) { + return This->lpVtbl->NearestPoint(This,X,Y,PointOnStroke,DistanceFromPacket,Stroke); +} +static FORCEINLINE HRESULT IInkDisp_CreateStrokes(IInkDisp* This,VARIANT StrokeIds,IInkStrokes **Strokes) { + return This->lpVtbl->CreateStrokes(This,StrokeIds,Strokes); +} +static FORCEINLINE HRESULT IInkDisp_AddStrokesAtRectangle(IInkDisp* This,IInkStrokes *SourceStrokes,IInkRectangle *TargetRectangle) { + return This->lpVtbl->AddStrokesAtRectangle(This,SourceStrokes,TargetRectangle); +} +static FORCEINLINE HRESULT IInkDisp_Save(IInkDisp* This,InkPersistenceFormat PersistenceFormat,InkPersistenceCompressionMode CompressionMode,VARIANT *Data) { + return This->lpVtbl->Save(This,PersistenceFormat,CompressionMode,Data); +} +static FORCEINLINE HRESULT IInkDisp_Load(IInkDisp* This,VARIANT Data) { + return This->lpVtbl->Load(This,Data); +} +static FORCEINLINE HRESULT IInkDisp_CreateStroke(IInkDisp* This,VARIANT PacketData,VARIANT PacketDescription,IInkStrokeDisp **Stroke) { + return This->lpVtbl->CreateStroke(This,PacketData,PacketDescription,Stroke); +} +static FORCEINLINE HRESULT IInkDisp_ClipboardCopyWithRectangle(IInkDisp* This,IInkRectangle *Rectangle,InkClipboardFormats ClipboardFormats,InkClipboardModes ClipboardModes,IDataObject **DataObject) { + return This->lpVtbl->ClipboardCopyWithRectangle(This,Rectangle,ClipboardFormats,ClipboardModes,DataObject); +} +static FORCEINLINE HRESULT IInkDisp_ClipboardCopy(IInkDisp* This,IInkStrokes *strokes,InkClipboardFormats ClipboardFormats,InkClipboardModes ClipboardModes,IDataObject **DataObject) { + return This->lpVtbl->ClipboardCopy(This,strokes,ClipboardFormats,ClipboardModes,DataObject); +} +static FORCEINLINE HRESULT IInkDisp_CanPaste(IInkDisp* This,IDataObject *DataObject,VARIANT_BOOL *CanPaste) { + return This->lpVtbl->CanPaste(This,DataObject,CanPaste); +} +static FORCEINLINE HRESULT IInkDisp_ClipboardPaste(IInkDisp* This,LONG x,LONG y,IDataObject *DataObject,IInkStrokes **Strokes) { + return This->lpVtbl->ClipboardPaste(This,x,y,DataObject,Strokes); +} +#endif +#endif + +#endif + + +#endif /* __IInkDisp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkRenderer interface + */ +#ifndef __IInkRenderer_INTERFACE_DEFINED__ +#define __IInkRenderer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkRenderer, 0xe6257a9c, 0xb511, 0x4f4c, 0xa8,0xb0, 0xa7,0xdb,0xc9,0x50,0x6b,0x83); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e6257a9c-b511-4f4c-a8b0-a7dbc9506b83") +IInkRenderer : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetViewTransform( + IInkTransform *ViewTransform) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetViewTransform( + IInkTransform *ViewTransform) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectTransform( + IInkTransform *ObjectTransform) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetObjectTransform( + IInkTransform *ObjectTransform) = 0; + + virtual HRESULT STDMETHODCALLTYPE Draw( + LONG hDC, + IInkStrokes *Strokes) = 0; + + virtual HRESULT STDMETHODCALLTYPE DrawStroke( + LONG hDC, + IInkStrokeDisp *Stroke, + IInkDrawingAttributes *DrawingAttributes = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE PixelToInkSpace( + LONG hDC, + LONG *x, + LONG *y) = 0; + + virtual HRESULT STDMETHODCALLTYPE InkSpaceToPixel( + LONG hdcDisplay, + LONG *x, + LONG *y) = 0; + + virtual HRESULT STDMETHODCALLTYPE PixelToInkSpaceFromPoints( + LONG hDC, + VARIANT *Points) = 0; + + virtual HRESULT STDMETHODCALLTYPE InkSpaceToPixelFromPoints( + LONG hDC, + VARIANT *Points) = 0; + + virtual HRESULT STDMETHODCALLTYPE Measure( + IInkStrokes *Strokes, + IInkRectangle **Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE MeasureStroke( + IInkStrokeDisp *Stroke, + IInkDrawingAttributes *DrawingAttributes, + IInkRectangle **Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE Move( + single HorizontalComponent, + single VerticalComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rotate( + single Degrees, + single x = 0, + single y = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScaleTransform( + single HorizontalMultiplier, + single VerticalMultiplier, + VARIANT_BOOL ApplyOnPenWidth = -1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkRenderer, 0xe6257a9c, 0xb511, 0x4f4c, 0xa8,0xb0, 0xa7,0xdb,0xc9,0x50,0x6b,0x83) +#endif +#else +typedef struct IInkRendererVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkRenderer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkRenderer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkRenderer *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkRenderer *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkRenderer *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkRenderer *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkRenderer *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkRenderer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetViewTransform)( + IInkRenderer *This, + IInkTransform *ViewTransform); + + HRESULT (STDMETHODCALLTYPE *SetViewTransform)( + IInkRenderer *This, + IInkTransform *ViewTransform); + + HRESULT (STDMETHODCALLTYPE *GetObjectTransform)( + IInkRenderer *This, + IInkTransform *ObjectTransform); + + HRESULT (STDMETHODCALLTYPE *SetObjectTransform)( + IInkRenderer *This, + IInkTransform *ObjectTransform); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IInkRenderer *This, + LONG hDC, + IInkStrokes *Strokes); + + HRESULT (STDMETHODCALLTYPE *DrawStroke)( + IInkRenderer *This, + LONG hDC, + IInkStrokeDisp *Stroke, + IInkDrawingAttributes *DrawingAttributes); + + HRESULT (STDMETHODCALLTYPE *PixelToInkSpace)( + IInkRenderer *This, + LONG hDC, + LONG *x, + LONG *y); + + HRESULT (STDMETHODCALLTYPE *InkSpaceToPixel)( + IInkRenderer *This, + LONG hdcDisplay, + LONG *x, + LONG *y); + + HRESULT (STDMETHODCALLTYPE *PixelToInkSpaceFromPoints)( + IInkRenderer *This, + LONG hDC, + VARIANT *Points); + + HRESULT (STDMETHODCALLTYPE *InkSpaceToPixelFromPoints)( + IInkRenderer *This, + LONG hDC, + VARIANT *Points); + + HRESULT (STDMETHODCALLTYPE *Measure)( + IInkRenderer *This, + IInkStrokes *Strokes, + IInkRectangle **Rectangle); + + HRESULT (STDMETHODCALLTYPE *MeasureStroke)( + IInkRenderer *This, + IInkStrokeDisp *Stroke, + IInkDrawingAttributes *DrawingAttributes, + IInkRectangle **Rectangle); + + HRESULT (STDMETHODCALLTYPE *Move)( + IInkRenderer *This, + single HorizontalComponent, + single VerticalComponent); + + HRESULT (STDMETHODCALLTYPE *Rotate)( + IInkRenderer *This, + single Degrees, + single x, + single y); + + HRESULT (STDMETHODCALLTYPE *ScaleTransform)( + IInkRenderer *This, + single HorizontalMultiplier, + single VerticalMultiplier, + VARIANT_BOOL ApplyOnPenWidth); + + END_INTERFACE +} IInkRendererVtbl; + +interface IInkRenderer { + CONST_VTBL IInkRendererVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkRenderer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkRenderer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkRenderer_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkRenderer_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkRenderer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkRenderer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkRenderer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkRenderer methods ***/ +#define IInkRenderer_GetViewTransform(This,ViewTransform) (This)->lpVtbl->GetViewTransform(This,ViewTransform) +#define IInkRenderer_SetViewTransform(This,ViewTransform) (This)->lpVtbl->SetViewTransform(This,ViewTransform) +#define IInkRenderer_GetObjectTransform(This,ObjectTransform) (This)->lpVtbl->GetObjectTransform(This,ObjectTransform) +#define IInkRenderer_SetObjectTransform(This,ObjectTransform) (This)->lpVtbl->SetObjectTransform(This,ObjectTransform) +#define IInkRenderer_Draw(This,hDC,Strokes) (This)->lpVtbl->Draw(This,hDC,Strokes) +#define IInkRenderer_DrawStroke(This,hDC,Stroke,DrawingAttributes) (This)->lpVtbl->DrawStroke(This,hDC,Stroke,DrawingAttributes) +#define IInkRenderer_PixelToInkSpace(This,hDC,x,y) (This)->lpVtbl->PixelToInkSpace(This,hDC,x,y) +#define IInkRenderer_InkSpaceToPixel(This,hdcDisplay,x,y) (This)->lpVtbl->InkSpaceToPixel(This,hdcDisplay,x,y) +#define IInkRenderer_PixelToInkSpaceFromPoints(This,hDC,Points) (This)->lpVtbl->PixelToInkSpaceFromPoints(This,hDC,Points) +#define IInkRenderer_InkSpaceToPixelFromPoints(This,hDC,Points) (This)->lpVtbl->InkSpaceToPixelFromPoints(This,hDC,Points) +#define IInkRenderer_Measure(This,Strokes,Rectangle) (This)->lpVtbl->Measure(This,Strokes,Rectangle) +#define IInkRenderer_MeasureStroke(This,Stroke,DrawingAttributes,Rectangle) (This)->lpVtbl->MeasureStroke(This,Stroke,DrawingAttributes,Rectangle) +#define IInkRenderer_Move(This,HorizontalComponent,VerticalComponent) (This)->lpVtbl->Move(This,HorizontalComponent,VerticalComponent) +#define IInkRenderer_Rotate(This,Degrees,x,y) (This)->lpVtbl->Rotate(This,Degrees,x,y) +#define IInkRenderer_ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier,ApplyOnPenWidth) (This)->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier,ApplyOnPenWidth) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkRenderer_QueryInterface(IInkRenderer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkRenderer_AddRef(IInkRenderer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkRenderer_Release(IInkRenderer* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkRenderer_GetTypeInfoCount(IInkRenderer* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkRenderer_GetTypeInfo(IInkRenderer* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkRenderer_GetIDsOfNames(IInkRenderer* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkRenderer_Invoke(IInkRenderer* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkRenderer methods ***/ +static FORCEINLINE HRESULT IInkRenderer_GetViewTransform(IInkRenderer* This,IInkTransform *ViewTransform) { + return This->lpVtbl->GetViewTransform(This,ViewTransform); +} +static FORCEINLINE HRESULT IInkRenderer_SetViewTransform(IInkRenderer* This,IInkTransform *ViewTransform) { + return This->lpVtbl->SetViewTransform(This,ViewTransform); +} +static FORCEINLINE HRESULT IInkRenderer_GetObjectTransform(IInkRenderer* This,IInkTransform *ObjectTransform) { + return This->lpVtbl->GetObjectTransform(This,ObjectTransform); +} +static FORCEINLINE HRESULT IInkRenderer_SetObjectTransform(IInkRenderer* This,IInkTransform *ObjectTransform) { + return This->lpVtbl->SetObjectTransform(This,ObjectTransform); +} +static FORCEINLINE HRESULT IInkRenderer_Draw(IInkRenderer* This,LONG hDC,IInkStrokes *Strokes) { + return This->lpVtbl->Draw(This,hDC,Strokes); +} +static FORCEINLINE HRESULT IInkRenderer_DrawStroke(IInkRenderer* This,LONG hDC,IInkStrokeDisp *Stroke,IInkDrawingAttributes *DrawingAttributes) { + return This->lpVtbl->DrawStroke(This,hDC,Stroke,DrawingAttributes); +} +static FORCEINLINE HRESULT IInkRenderer_PixelToInkSpace(IInkRenderer* This,LONG hDC,LONG *x,LONG *y) { + return This->lpVtbl->PixelToInkSpace(This,hDC,x,y); +} +static FORCEINLINE HRESULT IInkRenderer_InkSpaceToPixel(IInkRenderer* This,LONG hdcDisplay,LONG *x,LONG *y) { + return This->lpVtbl->InkSpaceToPixel(This,hdcDisplay,x,y); +} +static FORCEINLINE HRESULT IInkRenderer_PixelToInkSpaceFromPoints(IInkRenderer* This,LONG hDC,VARIANT *Points) { + return This->lpVtbl->PixelToInkSpaceFromPoints(This,hDC,Points); +} +static FORCEINLINE HRESULT IInkRenderer_InkSpaceToPixelFromPoints(IInkRenderer* This,LONG hDC,VARIANT *Points) { + return This->lpVtbl->InkSpaceToPixelFromPoints(This,hDC,Points); +} +static FORCEINLINE HRESULT IInkRenderer_Measure(IInkRenderer* This,IInkStrokes *Strokes,IInkRectangle **Rectangle) { + return This->lpVtbl->Measure(This,Strokes,Rectangle); +} +static FORCEINLINE HRESULT IInkRenderer_MeasureStroke(IInkRenderer* This,IInkStrokeDisp *Stroke,IInkDrawingAttributes *DrawingAttributes,IInkRectangle **Rectangle) { + return This->lpVtbl->MeasureStroke(This,Stroke,DrawingAttributes,Rectangle); +} +static FORCEINLINE HRESULT IInkRenderer_Move(IInkRenderer* This,single HorizontalComponent,single VerticalComponent) { + return This->lpVtbl->Move(This,HorizontalComponent,VerticalComponent); +} +static FORCEINLINE HRESULT IInkRenderer_Rotate(IInkRenderer* This,single Degrees,single x,single y) { + return This->lpVtbl->Rotate(This,Degrees,x,y); +} +static FORCEINLINE HRESULT IInkRenderer_ScaleTransform(IInkRenderer* This,single HorizontalMultiplier,single VerticalMultiplier,VARIANT_BOOL ApplyOnPenWidth) { + return This->lpVtbl->ScaleTransform(This,HorizontalMultiplier,VerticalMultiplier,ApplyOnPenWidth); +} +#endif +#endif + +#endif + + +#endif /* __IInkRenderer_INTERFACE_DEFINED__ */ + +typedef enum __WIDL_msinkaut_generated_name_00000012 { + ICM_InkOnly = 0, + ICM_GestureOnly = 1, + ICM_InkAndGesture = 2 +} InkCollectionMode; +typedef enum __WIDL_msinkaut_generated_name_00000013 { + IMP_Default = 0, + IMP_Arrow = 1, + IMP_Crosshair = 2, + IMP_Ibeam = 3, + IMP_SizeNESW = 4, + IMP_SizeNS = 5, + IMP_SizeNWSE = 6, + IMP_SizeWE = 7, + IMP_UpArrow = 8, + IMP_Hourglass = 9, + IMP_NoDrop = 10, + IMP_ArrowHourglass = 11, + IMP_ArrowQuestion = 12, + IMP_SizeAll = 13, + IMP_Hand = 14, + IMP_Custom = 99 +} InkMousePointer; +typedef enum __WIDL_msinkaut_generated_name_00000014 { + THWC_Integrated = 1, + THWC_CursorMustTouch = 2, + THWC_HardProximity = 4, + THWC_CursorsHavePhysicalIds = 8 +} TabletHardwareCapabilities; +/***************************************************************************** + * IInkTablet interface + */ +#ifndef __IInkTablet_INTERFACE_DEFINED__ +#define __IInkTablet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkTablet, 0x2de25eaa, 0x6ef8, 0x42d5, 0xae,0xe9, 0x18,0x5b,0xc8,0x1b,0x91,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2de25eaa-6ef8-42d5-aee9-185bc81b912d") +IInkTablet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PlugAndPlayId( + BSTR *Id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MaximumInputRectangle( + IInkRectangle **Rectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HardwareCapabilities( + TabletHardwareCapabilities *Capabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPacketPropertySupported( + BSTR packetPropertyName, + VARIANT_BOOL *Supported) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyMetrics( + BSTR propertyName, + LONG *Minimum, + LONG *Maximum, + TabletPropertyMetricUnit *Units, + single *Resolution) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkTablet, 0x2de25eaa, 0x6ef8, 0x42d5, 0xae,0xe9, 0x18,0x5b,0xc8,0x1b,0x91,0x2d) +#endif +#else +typedef struct IInkTabletVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkTablet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkTablet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkTablet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkTablet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkTablet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkTablet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkTablet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkTablet methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IInkTablet *This, + BSTR *Name); + + HRESULT (STDMETHODCALLTYPE *get_PlugAndPlayId)( + IInkTablet *This, + BSTR *Id); + + HRESULT (STDMETHODCALLTYPE *get_MaximumInputRectangle)( + IInkTablet *This, + IInkRectangle **Rectangle); + + HRESULT (STDMETHODCALLTYPE *get_HardwareCapabilities)( + IInkTablet *This, + TabletHardwareCapabilities *Capabilities); + + HRESULT (STDMETHODCALLTYPE *IsPacketPropertySupported)( + IInkTablet *This, + BSTR packetPropertyName, + VARIANT_BOOL *Supported); + + HRESULT (STDMETHODCALLTYPE *GetPropertyMetrics)( + IInkTablet *This, + BSTR propertyName, + LONG *Minimum, + LONG *Maximum, + TabletPropertyMetricUnit *Units, + single *Resolution); + + END_INTERFACE +} IInkTabletVtbl; + +interface IInkTablet { + CONST_VTBL IInkTabletVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkTablet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkTablet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkTablet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkTablet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkTablet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkTablet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkTablet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkTablet methods ***/ +#define IInkTablet_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name) +#define IInkTablet_get_PlugAndPlayId(This,Id) (This)->lpVtbl->get_PlugAndPlayId(This,Id) +#define IInkTablet_get_MaximumInputRectangle(This,Rectangle) (This)->lpVtbl->get_MaximumInputRectangle(This,Rectangle) +#define IInkTablet_get_HardwareCapabilities(This,Capabilities) (This)->lpVtbl->get_HardwareCapabilities(This,Capabilities) +#define IInkTablet_IsPacketPropertySupported(This,packetPropertyName,Supported) (This)->lpVtbl->IsPacketPropertySupported(This,packetPropertyName,Supported) +#define IInkTablet_GetPropertyMetrics(This,propertyName,Minimum,Maximum,Units,Resolution) (This)->lpVtbl->GetPropertyMetrics(This,propertyName,Minimum,Maximum,Units,Resolution) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkTablet_QueryInterface(IInkTablet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkTablet_AddRef(IInkTablet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkTablet_Release(IInkTablet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkTablet_GetTypeInfoCount(IInkTablet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkTablet_GetTypeInfo(IInkTablet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkTablet_GetIDsOfNames(IInkTablet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkTablet_Invoke(IInkTablet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkTablet methods ***/ +static FORCEINLINE HRESULT IInkTablet_get_Name(IInkTablet* This,BSTR *Name) { + return This->lpVtbl->get_Name(This,Name); +} +static FORCEINLINE HRESULT IInkTablet_get_PlugAndPlayId(IInkTablet* This,BSTR *Id) { + return This->lpVtbl->get_PlugAndPlayId(This,Id); +} +static FORCEINLINE HRESULT IInkTablet_get_MaximumInputRectangle(IInkTablet* This,IInkRectangle **Rectangle) { + return This->lpVtbl->get_MaximumInputRectangle(This,Rectangle); +} +static FORCEINLINE HRESULT IInkTablet_get_HardwareCapabilities(IInkTablet* This,TabletHardwareCapabilities *Capabilities) { + return This->lpVtbl->get_HardwareCapabilities(This,Capabilities); +} +static FORCEINLINE HRESULT IInkTablet_IsPacketPropertySupported(IInkTablet* This,BSTR packetPropertyName,VARIANT_BOOL *Supported) { + return This->lpVtbl->IsPacketPropertySupported(This,packetPropertyName,Supported); +} +static FORCEINLINE HRESULT IInkTablet_GetPropertyMetrics(IInkTablet* This,BSTR propertyName,LONG *Minimum,LONG *Maximum,TabletPropertyMetricUnit *Units,single *Resolution) { + return This->lpVtbl->GetPropertyMetrics(This,propertyName,Minimum,Maximum,Units,Resolution); +} +#endif +#endif + +#endif + + +#endif /* __IInkTablet_INTERFACE_DEFINED__ */ + +typedef enum __WIDL_msinkaut_generated_name_00000015 { + ICBS_Unavailable = 0, + ICBS_Up = 1, + ICBS_Down = 2 +} InkCursorButtonState; +/***************************************************************************** + * IInkCursorButton interface + */ +#ifndef __IInkCursorButton_INTERFACE_DEFINED__ +#define __IInkCursorButton_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkCursorButton, 0x85ef9417, 0x1d59, 0x49b2, 0xa1,0x3c, 0x70,0x2c,0x85,0x43,0x08,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("85ef9417-1d59-49b2-a13c-702c85430894") +IInkCursorButton : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Id( + BSTR *Id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_State( + InkCursorButtonState *CurrentState) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkCursorButton, 0x85ef9417, 0x1d59, 0x49b2, 0xa1,0x3c, 0x70,0x2c,0x85,0x43,0x08,0x94) +#endif +#else +typedef struct IInkCursorButtonVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkCursorButton *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkCursorButton *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkCursorButton *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkCursorButton *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkCursorButton *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkCursorButton *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkCursorButton *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkCursorButton methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IInkCursorButton *This, + BSTR *Name); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + IInkCursorButton *This, + BSTR *Id); + + HRESULT (STDMETHODCALLTYPE *get_State)( + IInkCursorButton *This, + InkCursorButtonState *CurrentState); + + END_INTERFACE +} IInkCursorButtonVtbl; + +interface IInkCursorButton { + CONST_VTBL IInkCursorButtonVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkCursorButton_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkCursorButton_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkCursorButton_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkCursorButton_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkCursorButton_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkCursorButton_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkCursorButton_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkCursorButton methods ***/ +#define IInkCursorButton_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name) +#define IInkCursorButton_get_Id(This,Id) (This)->lpVtbl->get_Id(This,Id) +#define IInkCursorButton_get_State(This,CurrentState) (This)->lpVtbl->get_State(This,CurrentState) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkCursorButton_QueryInterface(IInkCursorButton* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkCursorButton_AddRef(IInkCursorButton* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkCursorButton_Release(IInkCursorButton* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkCursorButton_GetTypeInfoCount(IInkCursorButton* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkCursorButton_GetTypeInfo(IInkCursorButton* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkCursorButton_GetIDsOfNames(IInkCursorButton* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkCursorButton_Invoke(IInkCursorButton* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkCursorButton methods ***/ +static FORCEINLINE HRESULT IInkCursorButton_get_Name(IInkCursorButton* This,BSTR *Name) { + return This->lpVtbl->get_Name(This,Name); +} +static FORCEINLINE HRESULT IInkCursorButton_get_Id(IInkCursorButton* This,BSTR *Id) { + return This->lpVtbl->get_Id(This,Id); +} +static FORCEINLINE HRESULT IInkCursorButton_get_State(IInkCursorButton* This,InkCursorButtonState *CurrentState) { + return This->lpVtbl->get_State(This,CurrentState); +} +#endif +#endif + +#endif + + +#endif /* __IInkCursorButton_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkCursorButtons interface + */ +#ifndef __IInkCursorButtons_INTERFACE_DEFINED__ +#define __IInkCursorButtons_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkCursorButtons, 0x3671cc40, 0xb624, 0x4671, 0x9f,0xa0, 0xdb,0x11,0x9d,0x95,0x2d,0x54); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3671cc40-b624-4671-9fa0-db119d952d54") +IInkCursorButtons : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **_NewEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT Identifier, + IInkCursorButton **Button) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkCursorButtons, 0x3671cc40, 0xb624, 0x4671, 0x9f,0xa0, 0xdb,0x11,0x9d,0x95,0x2d,0x54) +#endif +#else +typedef struct IInkCursorButtonsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkCursorButtons *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkCursorButtons *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkCursorButtons *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkCursorButtons *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkCursorButtons *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkCursorButtons *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkCursorButtons *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkCursorButtons methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IInkCursorButtons *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IInkCursorButtons *This, + IUnknown **_NewEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + IInkCursorButtons *This, + VARIANT Identifier, + IInkCursorButton **Button); + + END_INTERFACE +} IInkCursorButtonsVtbl; + +interface IInkCursorButtons { + CONST_VTBL IInkCursorButtonsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkCursorButtons_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkCursorButtons_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkCursorButtons_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkCursorButtons_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkCursorButtons_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkCursorButtons_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkCursorButtons_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkCursorButtons methods ***/ +#define IInkCursorButtons_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count) +#define IInkCursorButtons_get__NewEnum(This,_NewEnum) (This)->lpVtbl->get__NewEnum(This,_NewEnum) +#define IInkCursorButtons_Item(This,Identifier,Button) (This)->lpVtbl->Item(This,Identifier,Button) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkCursorButtons_QueryInterface(IInkCursorButtons* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkCursorButtons_AddRef(IInkCursorButtons* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkCursorButtons_Release(IInkCursorButtons* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkCursorButtons_GetTypeInfoCount(IInkCursorButtons* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkCursorButtons_GetTypeInfo(IInkCursorButtons* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkCursorButtons_GetIDsOfNames(IInkCursorButtons* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkCursorButtons_Invoke(IInkCursorButtons* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkCursorButtons methods ***/ +static FORCEINLINE HRESULT IInkCursorButtons_get_Count(IInkCursorButtons* This,LONG *Count) { + return This->lpVtbl->get_Count(This,Count); +} +static FORCEINLINE HRESULT IInkCursorButtons_get__NewEnum(IInkCursorButtons* This,IUnknown **_NewEnum) { + return This->lpVtbl->get__NewEnum(This,_NewEnum); +} +static FORCEINLINE HRESULT IInkCursorButtons_Item(IInkCursorButtons* This,VARIANT Identifier,IInkCursorButton **Button) { + return This->lpVtbl->Item(This,Identifier,Button); +} +#endif +#endif + +#endif + + +#endif /* __IInkCursorButtons_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkCursor interface + */ +#ifndef __IInkCursor_INTERFACE_DEFINED__ +#define __IInkCursor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkCursor, 0xad30c630, 0x40c5, 0x4350, 0x84,0x05, 0x9c,0x71,0x01,0x2f,0xc5,0x58); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ad30c630-40c5-4350-8405-9c71012fc558") +IInkCursor : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Id( + LONG *Id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Inverted( + VARIANT_BOOL *Status) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DrawingAttributes( + IInkDrawingAttributes **Attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_DrawingAttributes( + IInkDrawingAttributes *Attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Tablet( + IInkTablet **Tablet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Buttons( + IInkCursorButtons **Buttons) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkCursor, 0xad30c630, 0x40c5, 0x4350, 0x84,0x05, 0x9c,0x71,0x01,0x2f,0xc5,0x58) +#endif +#else +typedef struct IInkCursorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkCursor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkCursor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkCursor *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkCursor *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkCursor *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkCursor *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkCursor *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkCursor methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IInkCursor *This, + BSTR *Name); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + IInkCursor *This, + LONG *Id); + + HRESULT (STDMETHODCALLTYPE *get_Inverted)( + IInkCursor *This, + VARIANT_BOOL *Status); + + HRESULT (STDMETHODCALLTYPE *get_DrawingAttributes)( + IInkCursor *This, + IInkDrawingAttributes **Attributes); + + HRESULT (STDMETHODCALLTYPE *putref_DrawingAttributes)( + IInkCursor *This, + IInkDrawingAttributes *Attributes); + + HRESULT (STDMETHODCALLTYPE *get_Tablet)( + IInkCursor *This, + IInkTablet **Tablet); + + HRESULT (STDMETHODCALLTYPE *get_Buttons)( + IInkCursor *This, + IInkCursorButtons **Buttons); + + END_INTERFACE +} IInkCursorVtbl; + +interface IInkCursor { + CONST_VTBL IInkCursorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkCursor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkCursor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkCursor_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkCursor_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkCursor_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkCursor_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkCursor_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkCursor methods ***/ +#define IInkCursor_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name) +#define IInkCursor_get_Id(This,Id) (This)->lpVtbl->get_Id(This,Id) +#define IInkCursor_get_Inverted(This,Status) (This)->lpVtbl->get_Inverted(This,Status) +#define IInkCursor_get_DrawingAttributes(This,Attributes) (This)->lpVtbl->get_DrawingAttributes(This,Attributes) +#define IInkCursor_putref_DrawingAttributes(This,Attributes) (This)->lpVtbl->putref_DrawingAttributes(This,Attributes) +#define IInkCursor_get_Tablet(This,Tablet) (This)->lpVtbl->get_Tablet(This,Tablet) +#define IInkCursor_get_Buttons(This,Buttons) (This)->lpVtbl->get_Buttons(This,Buttons) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkCursor_QueryInterface(IInkCursor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkCursor_AddRef(IInkCursor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkCursor_Release(IInkCursor* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkCursor_GetTypeInfoCount(IInkCursor* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkCursor_GetTypeInfo(IInkCursor* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkCursor_GetIDsOfNames(IInkCursor* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkCursor_Invoke(IInkCursor* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkCursor methods ***/ +static FORCEINLINE HRESULT IInkCursor_get_Name(IInkCursor* This,BSTR *Name) { + return This->lpVtbl->get_Name(This,Name); +} +static FORCEINLINE HRESULT IInkCursor_get_Id(IInkCursor* This,LONG *Id) { + return This->lpVtbl->get_Id(This,Id); +} +static FORCEINLINE HRESULT IInkCursor_get_Inverted(IInkCursor* This,VARIANT_BOOL *Status) { + return This->lpVtbl->get_Inverted(This,Status); +} +static FORCEINLINE HRESULT IInkCursor_get_DrawingAttributes(IInkCursor* This,IInkDrawingAttributes **Attributes) { + return This->lpVtbl->get_DrawingAttributes(This,Attributes); +} +static FORCEINLINE HRESULT IInkCursor_putref_DrawingAttributes(IInkCursor* This,IInkDrawingAttributes *Attributes) { + return This->lpVtbl->putref_DrawingAttributes(This,Attributes); +} +static FORCEINLINE HRESULT IInkCursor_get_Tablet(IInkCursor* This,IInkTablet **Tablet) { + return This->lpVtbl->get_Tablet(This,Tablet); +} +static FORCEINLINE HRESULT IInkCursor_get_Buttons(IInkCursor* This,IInkCursorButtons **Buttons) { + return This->lpVtbl->get_Buttons(This,Buttons); +} +#endif +#endif + +#endif + + +#endif /* __IInkCursor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInkCursors interface + */ +#ifndef __IInkCursors_INTERFACE_DEFINED__ +#define __IInkCursors_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkCursors, 0xa248c1ac, 0xc698, 0x4e06, 0x9e,0x5c, 0xd5,0x7f,0x77,0xc7,0xe6,0x47); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a248c1ac-c698-4e06-9e5c-d57f77c7e647") +IInkCursors : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *Count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **_NewEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG Index, + IInkCursor **Cursor) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkCursors, 0xa248c1ac, 0xc698, 0x4e06, 0x9e,0x5c, 0xd5,0x7f,0x77,0xc7,0xe6,0x47) +#endif +#else +typedef struct IInkCursorsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkCursors *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkCursors *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkCursors *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkCursors *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkCursors *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkCursors *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkCursors *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkCursors methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IInkCursors *This, + LONG *Count); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IInkCursors *This, + IUnknown **_NewEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + IInkCursors *This, + LONG Index, + IInkCursor **Cursor); + + END_INTERFACE +} IInkCursorsVtbl; + +interface IInkCursors { + CONST_VTBL IInkCursorsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkCursors_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkCursors_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkCursors_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkCursors_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkCursors_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkCursors_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkCursors_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkCursors methods ***/ +#define IInkCursors_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count) +#define IInkCursors_get__NewEnum(This,_NewEnum) (This)->lpVtbl->get__NewEnum(This,_NewEnum) +#define IInkCursors_Item(This,Index,Cursor) (This)->lpVtbl->Item(This,Index,Cursor) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkCursors_QueryInterface(IInkCursors* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkCursors_AddRef(IInkCursors* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkCursors_Release(IInkCursors* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkCursors_GetTypeInfoCount(IInkCursors* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkCursors_GetTypeInfo(IInkCursors* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkCursors_GetIDsOfNames(IInkCursors* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkCursors_Invoke(IInkCursors* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkCursors methods ***/ +static FORCEINLINE HRESULT IInkCursors_get_Count(IInkCursors* This,LONG *Count) { + return This->lpVtbl->get_Count(This,Count); +} +static FORCEINLINE HRESULT IInkCursors_get__NewEnum(IInkCursors* This,IUnknown **_NewEnum) { + return This->lpVtbl->get__NewEnum(This,_NewEnum); +} +static FORCEINLINE HRESULT IInkCursors_Item(IInkCursors* This,LONG Index,IInkCursor **Cursor) { + return This->lpVtbl->Item(This,Index,Cursor); +} +#endif +#endif + +#endif + + +#endif /* __IInkCursors_INTERFACE_DEFINED__ */ + +typedef enum __WIDL_msinkaut_generated_name_00000016 { + IAG_AllGestures = 0, + IAG_NoGesture = 61440, + IAG_Scratchout = 61441, + IAG_Triangle = 61442, + IAG_Square = 61443, + IAG_Star = 61444, + IAG_Check = 61445, + IAG_Curlicue = 61456, + IAG_DoubleCurlicue = 61457, + IAG_Circle = 61472, + IAG_DoubleCircle = 61473, + IAG_SemiCircleLeft = 61480, + IAG_SemiCircleRight = 61481, + IAG_ChevronUp = 61488, + IAG_ChevronDown = 61489, + IAG_ChevronLeft = 61490, + IAG_ChevronRight = 61491, + IAG_ArrowUp = 61496, + IAG_ArrowDown = 61497, + IAG_ArrowLeft = 61498, + IAG_ArrowRight = 61499, + IAG_Up = 61528, + IAG_Down = 61529, + IAG_Left = 61530, + IAG_Right = 61531, + IAG_UpDown = 61536, + IAG_DownUp = 61537, + IAG_LeftRight = 61538, + IAG_RightLeft = 61539, + IAG_UpLeftLong = 61540, + IAG_UpRightLong = 61541, + IAG_DownLeftLong = 61542, + IAG_DownRightLong = 61543, + IAG_UpLeft = 61544, + IAG_UpRight = 61545, + IAG_DownLeft = 61546, + IAG_DownRight = 61547, + IAG_LeftUp = 61548, + IAG_LeftDown = 61549, + IAG_RightUp = 61550, + IAG_RightDown = 61551, + IAG_Exclamation = 61604, + IAG_Tap = 61680, + IAG_DoubleTap = 61681 +} InkApplicationGesture; +typedef enum __WIDL_msinkaut_generated_name_00000017 { + ICEI_DefaultEvents = -1, + ICEI_CursorDown = 0, + ICEI_Stroke = 1, + ICEI_NewPackets = 2, + ICEI_NewInAirPackets = 3, + ICEI_CursorButtonDown = 4, + ICEI_CursorButtonUp = 5, + ICEI_CursorInRange = 6, + ICEI_CursorOutOfRange = 7, + ICEI_SystemGesture = 8, + ICEI_TabletAdded = 9, + ICEI_TabletRemoved = 10, + ICEI_MouseDown = 11, + ICEI_MouseMove = 12, + ICEI_MouseUp = 13, + ICEI_MouseWheel = 14, + ICEI_DblClick = 15, + ICEI_AllEvents = 16 +} InkCollectorEventInterest; +/***************************************************************************** + * IInkCollector interface + */ +#ifndef __IInkCollector_INTERFACE_DEFINED__ +#define __IInkCollector_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInkCollector, 0xf0f060b5, 0x8b1f, 0x4a7c, 0x89,0xec, 0x88,0x06,0x92,0x58,0x8a,0x4f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f0f060b5-8b1f-4a7c-89ec-880692588a4f") +IInkCollector : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_hWnd( + LONG *CurrentWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_hWnd( + LONG CurrentWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *Collecting) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL Collecting) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DefaultDrawingAttributes( + IInkDrawingAttributes **CurrentAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_DefaultDrawingAttributes( + IInkDrawingAttributes *CurrentAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Renderer( + IInkRenderer **CurrentInkRenderer) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_Renderer( + IInkRenderer *CurrentInkRenderer) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Ink( + IInkDisp **Ink) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_Ink( + IInkDisp *Ink) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AutoRedraw( + VARIANT_BOOL *AutoRedraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AutoRedraw( + VARIANT_BOOL AutoRedraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CollectingInk( + VARIANT_BOOL *Collecting) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CollectionMode( + InkCollectionMode *Mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CollectionMode( + InkCollectionMode Mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DynamicRendering( + VARIANT_BOOL *Enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DynamicRendering( + VARIANT_BOOL Enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DesiredPacketDescription( + VARIANT *PacketGuids) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DesiredPacketDescription( + VARIANT PacketGuids) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MouseIcon( + IPictureDisp **MouseIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MouseIcon( + IPictureDisp *MouseIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_MouseIcon( + IPictureDisp *MouseIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MousePointer( + InkMousePointer *MousePointer) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MousePointer( + InkMousePointer MousePointer) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Cursors( + IInkCursors **Cursors) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MarginX( + LONG *MarginX) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MarginX( + LONG MarginX) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MarginY( + LONG *MarginY) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MarginY( + LONG MarginY) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Tablet( + IInkTablet **SingleTablet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SupportHighContrastInk( + VARIANT_BOOL *Support) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SupportHighContrastInk( + VARIANT_BOOL Support) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGestureStatus( + InkApplicationGesture Gesture, + VARIANT_BOOL Listen) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGestureStatus( + InkApplicationGesture Gesture, + VARIANT_BOOL *Listening) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWindowInputRectangle( + IInkRectangle **WindowInputRectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWindowInputRectangle( + IInkRectangle *WindowInputRectangle) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllTabletsMode( + VARIANT_BOOL UseMouseForInput = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSingleTabletIntegratedMode( + IInkTablet *Tablet) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEventInterest( + InkCollectorEventInterest EventId, + VARIANT_BOOL *Listen) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEventInterest( + InkCollectorEventInterest EventId, + VARIANT_BOOL Listen) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInkCollector, 0xf0f060b5, 0x8b1f, 0x4a7c, 0x89,0xec, 0x88,0x06,0x92,0x58,0x8a,0x4f) +#endif +#else +typedef struct IInkCollectorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInkCollector *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInkCollector *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInkCollector *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInkCollector *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInkCollector *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInkCollector *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInkCollector *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInkCollector methods ***/ + HRESULT (STDMETHODCALLTYPE *get_hWnd)( + IInkCollector *This, + LONG *CurrentWindow); + + HRESULT (STDMETHODCALLTYPE *put_hWnd)( + IInkCollector *This, + LONG CurrentWindow); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + IInkCollector *This, + VARIANT_BOOL *Collecting); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + IInkCollector *This, + VARIANT_BOOL Collecting); + + HRESULT (STDMETHODCALLTYPE *get_DefaultDrawingAttributes)( + IInkCollector *This, + IInkDrawingAttributes **CurrentAttributes); + + HRESULT (STDMETHODCALLTYPE *putref_DefaultDrawingAttributes)( + IInkCollector *This, + IInkDrawingAttributes *CurrentAttributes); + + HRESULT (STDMETHODCALLTYPE *get_Renderer)( + IInkCollector *This, + IInkRenderer **CurrentInkRenderer); + + HRESULT (STDMETHODCALLTYPE *putref_Renderer)( + IInkCollector *This, + IInkRenderer *CurrentInkRenderer); + + HRESULT (STDMETHODCALLTYPE *get_Ink)( + IInkCollector *This, + IInkDisp **Ink); + + HRESULT (STDMETHODCALLTYPE *putref_Ink)( + IInkCollector *This, + IInkDisp *Ink); + + HRESULT (STDMETHODCALLTYPE *get_AutoRedraw)( + IInkCollector *This, + VARIANT_BOOL *AutoRedraw); + + HRESULT (STDMETHODCALLTYPE *put_AutoRedraw)( + IInkCollector *This, + VARIANT_BOOL AutoRedraw); + + HRESULT (STDMETHODCALLTYPE *get_CollectingInk)( + IInkCollector *This, + VARIANT_BOOL *Collecting); + + HRESULT (STDMETHODCALLTYPE *get_CollectionMode)( + IInkCollector *This, + InkCollectionMode *Mode); + + HRESULT (STDMETHODCALLTYPE *put_CollectionMode)( + IInkCollector *This, + InkCollectionMode Mode); + + HRESULT (STDMETHODCALLTYPE *get_DynamicRendering)( + IInkCollector *This, + VARIANT_BOOL *Enabled); + + HRESULT (STDMETHODCALLTYPE *put_DynamicRendering)( + IInkCollector *This, + VARIANT_BOOL Enabled); + + HRESULT (STDMETHODCALLTYPE *get_DesiredPacketDescription)( + IInkCollector *This, + VARIANT *PacketGuids); + + HRESULT (STDMETHODCALLTYPE *put_DesiredPacketDescription)( + IInkCollector *This, + VARIANT PacketGuids); + + HRESULT (STDMETHODCALLTYPE *get_MouseIcon)( + IInkCollector *This, + IPictureDisp **MouseIcon); + + HRESULT (STDMETHODCALLTYPE *put_MouseIcon)( + IInkCollector *This, + IPictureDisp *MouseIcon); + + HRESULT (STDMETHODCALLTYPE *putref_MouseIcon)( + IInkCollector *This, + IPictureDisp *MouseIcon); + + HRESULT (STDMETHODCALLTYPE *get_MousePointer)( + IInkCollector *This, + InkMousePointer *MousePointer); + + HRESULT (STDMETHODCALLTYPE *put_MousePointer)( + IInkCollector *This, + InkMousePointer MousePointer); + + HRESULT (STDMETHODCALLTYPE *get_Cursors)( + IInkCollector *This, + IInkCursors **Cursors); + + HRESULT (STDMETHODCALLTYPE *get_MarginX)( + IInkCollector *This, + LONG *MarginX); + + HRESULT (STDMETHODCALLTYPE *put_MarginX)( + IInkCollector *This, + LONG MarginX); + + HRESULT (STDMETHODCALLTYPE *get_MarginY)( + IInkCollector *This, + LONG *MarginY); + + HRESULT (STDMETHODCALLTYPE *put_MarginY)( + IInkCollector *This, + LONG MarginY); + + HRESULT (STDMETHODCALLTYPE *get_Tablet)( + IInkCollector *This, + IInkTablet **SingleTablet); + + HRESULT (STDMETHODCALLTYPE *get_SupportHighContrastInk)( + IInkCollector *This, + VARIANT_BOOL *Support); + + HRESULT (STDMETHODCALLTYPE *put_SupportHighContrastInk)( + IInkCollector *This, + VARIANT_BOOL Support); + + HRESULT (STDMETHODCALLTYPE *SetGestureStatus)( + IInkCollector *This, + InkApplicationGesture Gesture, + VARIANT_BOOL Listen); + + HRESULT (STDMETHODCALLTYPE *GetGestureStatus)( + IInkCollector *This, + InkApplicationGesture Gesture, + VARIANT_BOOL *Listening); + + HRESULT (STDMETHODCALLTYPE *GetWindowInputRectangle)( + IInkCollector *This, + IInkRectangle **WindowInputRectangle); + + HRESULT (STDMETHODCALLTYPE *SetWindowInputRectangle)( + IInkCollector *This, + IInkRectangle *WindowInputRectangle); + + HRESULT (STDMETHODCALLTYPE *SetAllTabletsMode)( + IInkCollector *This, + VARIANT_BOOL UseMouseForInput); + + HRESULT (STDMETHODCALLTYPE *SetSingleTabletIntegratedMode)( + IInkCollector *This, + IInkTablet *Tablet); + + HRESULT (STDMETHODCALLTYPE *GetEventInterest)( + IInkCollector *This, + InkCollectorEventInterest EventId, + VARIANT_BOOL *Listen); + + HRESULT (STDMETHODCALLTYPE *SetEventInterest)( + IInkCollector *This, + InkCollectorEventInterest EventId, + VARIANT_BOOL Listen); + + END_INTERFACE +} IInkCollectorVtbl; + +interface IInkCollector { + CONST_VTBL IInkCollectorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInkCollector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInkCollector_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInkCollector_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInkCollector_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInkCollector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInkCollector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInkCollector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInkCollector methods ***/ +#define IInkCollector_get_hWnd(This,CurrentWindow) (This)->lpVtbl->get_hWnd(This,CurrentWindow) +#define IInkCollector_put_hWnd(This,CurrentWindow) (This)->lpVtbl->put_hWnd(This,CurrentWindow) +#define IInkCollector_get_Enabled(This,Collecting) (This)->lpVtbl->get_Enabled(This,Collecting) +#define IInkCollector_put_Enabled(This,Collecting) (This)->lpVtbl->put_Enabled(This,Collecting) +#define IInkCollector_get_DefaultDrawingAttributes(This,CurrentAttributes) (This)->lpVtbl->get_DefaultDrawingAttributes(This,CurrentAttributes) +#define IInkCollector_putref_DefaultDrawingAttributes(This,CurrentAttributes) (This)->lpVtbl->putref_DefaultDrawingAttributes(This,CurrentAttributes) +#define IInkCollector_get_Renderer(This,CurrentInkRenderer) (This)->lpVtbl->get_Renderer(This,CurrentInkRenderer) +#define IInkCollector_putref_Renderer(This,CurrentInkRenderer) (This)->lpVtbl->putref_Renderer(This,CurrentInkRenderer) +#define IInkCollector_get_Ink(This,Ink) (This)->lpVtbl->get_Ink(This,Ink) +#define IInkCollector_putref_Ink(This,Ink) (This)->lpVtbl->putref_Ink(This,Ink) +#define IInkCollector_get_AutoRedraw(This,AutoRedraw) (This)->lpVtbl->get_AutoRedraw(This,AutoRedraw) +#define IInkCollector_put_AutoRedraw(This,AutoRedraw) (This)->lpVtbl->put_AutoRedraw(This,AutoRedraw) +#define IInkCollector_get_CollectingInk(This,Collecting) (This)->lpVtbl->get_CollectingInk(This,Collecting) +#define IInkCollector_get_CollectionMode(This,Mode) (This)->lpVtbl->get_CollectionMode(This,Mode) +#define IInkCollector_put_CollectionMode(This,Mode) (This)->lpVtbl->put_CollectionMode(This,Mode) +#define IInkCollector_get_DynamicRendering(This,Enabled) (This)->lpVtbl->get_DynamicRendering(This,Enabled) +#define IInkCollector_put_DynamicRendering(This,Enabled) (This)->lpVtbl->put_DynamicRendering(This,Enabled) +#define IInkCollector_get_DesiredPacketDescription(This,PacketGuids) (This)->lpVtbl->get_DesiredPacketDescription(This,PacketGuids) +#define IInkCollector_put_DesiredPacketDescription(This,PacketGuids) (This)->lpVtbl->put_DesiredPacketDescription(This,PacketGuids) +#define IInkCollector_get_MouseIcon(This,MouseIcon) (This)->lpVtbl->get_MouseIcon(This,MouseIcon) +#define IInkCollector_put_MouseIcon(This,MouseIcon) (This)->lpVtbl->put_MouseIcon(This,MouseIcon) +#define IInkCollector_putref_MouseIcon(This,MouseIcon) (This)->lpVtbl->putref_MouseIcon(This,MouseIcon) +#define IInkCollector_get_MousePointer(This,MousePointer) (This)->lpVtbl->get_MousePointer(This,MousePointer) +#define IInkCollector_put_MousePointer(This,MousePointer) (This)->lpVtbl->put_MousePointer(This,MousePointer) +#define IInkCollector_get_Cursors(This,Cursors) (This)->lpVtbl->get_Cursors(This,Cursors) +#define IInkCollector_get_MarginX(This,MarginX) (This)->lpVtbl->get_MarginX(This,MarginX) +#define IInkCollector_put_MarginX(This,MarginX) (This)->lpVtbl->put_MarginX(This,MarginX) +#define IInkCollector_get_MarginY(This,MarginY) (This)->lpVtbl->get_MarginY(This,MarginY) +#define IInkCollector_put_MarginY(This,MarginY) (This)->lpVtbl->put_MarginY(This,MarginY) +#define IInkCollector_get_Tablet(This,SingleTablet) (This)->lpVtbl->get_Tablet(This,SingleTablet) +#define IInkCollector_get_SupportHighContrastInk(This,Support) (This)->lpVtbl->get_SupportHighContrastInk(This,Support) +#define IInkCollector_put_SupportHighContrastInk(This,Support) (This)->lpVtbl->put_SupportHighContrastInk(This,Support) +#define IInkCollector_SetGestureStatus(This,Gesture,Listen) (This)->lpVtbl->SetGestureStatus(This,Gesture,Listen) +#define IInkCollector_GetGestureStatus(This,Gesture,Listening) (This)->lpVtbl->GetGestureStatus(This,Gesture,Listening) +#define IInkCollector_GetWindowInputRectangle(This,WindowInputRectangle) (This)->lpVtbl->GetWindowInputRectangle(This,WindowInputRectangle) +#define IInkCollector_SetWindowInputRectangle(This,WindowInputRectangle) (This)->lpVtbl->SetWindowInputRectangle(This,WindowInputRectangle) +#define IInkCollector_SetAllTabletsMode(This,UseMouseForInput) (This)->lpVtbl->SetAllTabletsMode(This,UseMouseForInput) +#define IInkCollector_SetSingleTabletIntegratedMode(This,Tablet) (This)->lpVtbl->SetSingleTabletIntegratedMode(This,Tablet) +#define IInkCollector_GetEventInterest(This,EventId,Listen) (This)->lpVtbl->GetEventInterest(This,EventId,Listen) +#define IInkCollector_SetEventInterest(This,EventId,Listen) (This)->lpVtbl->SetEventInterest(This,EventId,Listen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInkCollector_QueryInterface(IInkCollector* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInkCollector_AddRef(IInkCollector* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInkCollector_Release(IInkCollector* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInkCollector_GetTypeInfoCount(IInkCollector* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInkCollector_GetTypeInfo(IInkCollector* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInkCollector_GetIDsOfNames(IInkCollector* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInkCollector_Invoke(IInkCollector* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInkCollector methods ***/ +static FORCEINLINE HRESULT IInkCollector_get_hWnd(IInkCollector* This,LONG *CurrentWindow) { + return This->lpVtbl->get_hWnd(This,CurrentWindow); +} +static FORCEINLINE HRESULT IInkCollector_put_hWnd(IInkCollector* This,LONG CurrentWindow) { + return This->lpVtbl->put_hWnd(This,CurrentWindow); +} +static FORCEINLINE HRESULT IInkCollector_get_Enabled(IInkCollector* This,VARIANT_BOOL *Collecting) { + return This->lpVtbl->get_Enabled(This,Collecting); +} +static FORCEINLINE HRESULT IInkCollector_put_Enabled(IInkCollector* This,VARIANT_BOOL Collecting) { + return This->lpVtbl->put_Enabled(This,Collecting); +} +static FORCEINLINE HRESULT IInkCollector_get_DefaultDrawingAttributes(IInkCollector* This,IInkDrawingAttributes **CurrentAttributes) { + return This->lpVtbl->get_DefaultDrawingAttributes(This,CurrentAttributes); +} +static FORCEINLINE HRESULT IInkCollector_putref_DefaultDrawingAttributes(IInkCollector* This,IInkDrawingAttributes *CurrentAttributes) { + return This->lpVtbl->putref_DefaultDrawingAttributes(This,CurrentAttributes); +} +static FORCEINLINE HRESULT IInkCollector_get_Renderer(IInkCollector* This,IInkRenderer **CurrentInkRenderer) { + return This->lpVtbl->get_Renderer(This,CurrentInkRenderer); +} +static FORCEINLINE HRESULT IInkCollector_putref_Renderer(IInkCollector* This,IInkRenderer *CurrentInkRenderer) { + return This->lpVtbl->putref_Renderer(This,CurrentInkRenderer); +} +static FORCEINLINE HRESULT IInkCollector_get_Ink(IInkCollector* This,IInkDisp **Ink) { + return This->lpVtbl->get_Ink(This,Ink); +} +static FORCEINLINE HRESULT IInkCollector_putref_Ink(IInkCollector* This,IInkDisp *Ink) { + return This->lpVtbl->putref_Ink(This,Ink); +} +static FORCEINLINE HRESULT IInkCollector_get_AutoRedraw(IInkCollector* This,VARIANT_BOOL *AutoRedraw) { + return This->lpVtbl->get_AutoRedraw(This,AutoRedraw); +} +static FORCEINLINE HRESULT IInkCollector_put_AutoRedraw(IInkCollector* This,VARIANT_BOOL AutoRedraw) { + return This->lpVtbl->put_AutoRedraw(This,AutoRedraw); +} +static FORCEINLINE HRESULT IInkCollector_get_CollectingInk(IInkCollector* This,VARIANT_BOOL *Collecting) { + return This->lpVtbl->get_CollectingInk(This,Collecting); +} +static FORCEINLINE HRESULT IInkCollector_get_CollectionMode(IInkCollector* This,InkCollectionMode *Mode) { + return This->lpVtbl->get_CollectionMode(This,Mode); +} +static FORCEINLINE HRESULT IInkCollector_put_CollectionMode(IInkCollector* This,InkCollectionMode Mode) { + return This->lpVtbl->put_CollectionMode(This,Mode); +} +static FORCEINLINE HRESULT IInkCollector_get_DynamicRendering(IInkCollector* This,VARIANT_BOOL *Enabled) { + return This->lpVtbl->get_DynamicRendering(This,Enabled); +} +static FORCEINLINE HRESULT IInkCollector_put_DynamicRendering(IInkCollector* This,VARIANT_BOOL Enabled) { + return This->lpVtbl->put_DynamicRendering(This,Enabled); +} +static FORCEINLINE HRESULT IInkCollector_get_DesiredPacketDescription(IInkCollector* This,VARIANT *PacketGuids) { + return This->lpVtbl->get_DesiredPacketDescription(This,PacketGuids); +} +static FORCEINLINE HRESULT IInkCollector_put_DesiredPacketDescription(IInkCollector* This,VARIANT PacketGuids) { + return This->lpVtbl->put_DesiredPacketDescription(This,PacketGuids); +} +static FORCEINLINE HRESULT IInkCollector_get_MouseIcon(IInkCollector* This,IPictureDisp **MouseIcon) { + return This->lpVtbl->get_MouseIcon(This,MouseIcon); +} +static FORCEINLINE HRESULT IInkCollector_put_MouseIcon(IInkCollector* This,IPictureDisp *MouseIcon) { + return This->lpVtbl->put_MouseIcon(This,MouseIcon); +} +static FORCEINLINE HRESULT IInkCollector_putref_MouseIcon(IInkCollector* This,IPictureDisp *MouseIcon) { + return This->lpVtbl->putref_MouseIcon(This,MouseIcon); +} +static FORCEINLINE HRESULT IInkCollector_get_MousePointer(IInkCollector* This,InkMousePointer *MousePointer) { + return This->lpVtbl->get_MousePointer(This,MousePointer); +} +static FORCEINLINE HRESULT IInkCollector_put_MousePointer(IInkCollector* This,InkMousePointer MousePointer) { + return This->lpVtbl->put_MousePointer(This,MousePointer); +} +static FORCEINLINE HRESULT IInkCollector_get_Cursors(IInkCollector* This,IInkCursors **Cursors) { + return This->lpVtbl->get_Cursors(This,Cursors); +} +static FORCEINLINE HRESULT IInkCollector_get_MarginX(IInkCollector* This,LONG *MarginX) { + return This->lpVtbl->get_MarginX(This,MarginX); +} +static FORCEINLINE HRESULT IInkCollector_put_MarginX(IInkCollector* This,LONG MarginX) { + return This->lpVtbl->put_MarginX(This,MarginX); +} +static FORCEINLINE HRESULT IInkCollector_get_MarginY(IInkCollector* This,LONG *MarginY) { + return This->lpVtbl->get_MarginY(This,MarginY); +} +static FORCEINLINE HRESULT IInkCollector_put_MarginY(IInkCollector* This,LONG MarginY) { + return This->lpVtbl->put_MarginY(This,MarginY); +} +static FORCEINLINE HRESULT IInkCollector_get_Tablet(IInkCollector* This,IInkTablet **SingleTablet) { + return This->lpVtbl->get_Tablet(This,SingleTablet); +} +static FORCEINLINE HRESULT IInkCollector_get_SupportHighContrastInk(IInkCollector* This,VARIANT_BOOL *Support) { + return This->lpVtbl->get_SupportHighContrastInk(This,Support); +} +static FORCEINLINE HRESULT IInkCollector_put_SupportHighContrastInk(IInkCollector* This,VARIANT_BOOL Support) { + return This->lpVtbl->put_SupportHighContrastInk(This,Support); +} +static FORCEINLINE HRESULT IInkCollector_SetGestureStatus(IInkCollector* This,InkApplicationGesture Gesture,VARIANT_BOOL Listen) { + return This->lpVtbl->SetGestureStatus(This,Gesture,Listen); +} +static FORCEINLINE HRESULT IInkCollector_GetGestureStatus(IInkCollector* This,InkApplicationGesture Gesture,VARIANT_BOOL *Listening) { + return This->lpVtbl->GetGestureStatus(This,Gesture,Listening); +} +static FORCEINLINE HRESULT IInkCollector_GetWindowInputRectangle(IInkCollector* This,IInkRectangle **WindowInputRectangle) { + return This->lpVtbl->GetWindowInputRectangle(This,WindowInputRectangle); +} +static FORCEINLINE HRESULT IInkCollector_SetWindowInputRectangle(IInkCollector* This,IInkRectangle *WindowInputRectangle) { + return This->lpVtbl->SetWindowInputRectangle(This,WindowInputRectangle); +} +static FORCEINLINE HRESULT IInkCollector_SetAllTabletsMode(IInkCollector* This,VARIANT_BOOL UseMouseForInput) { + return This->lpVtbl->SetAllTabletsMode(This,UseMouseForInput); +} +static FORCEINLINE HRESULT IInkCollector_SetSingleTabletIntegratedMode(IInkCollector* This,IInkTablet *Tablet) { + return This->lpVtbl->SetSingleTabletIntegratedMode(This,Tablet); +} +static FORCEINLINE HRESULT IInkCollector_GetEventInterest(IInkCollector* This,InkCollectorEventInterest EventId,VARIANT_BOOL *Listen) { + return This->lpVtbl->GetEventInterest(This,EventId,Listen); +} +static FORCEINLINE HRESULT IInkCollector_SetEventInterest(IInkCollector* This,InkCollectorEventInterest EventId,VARIANT_BOOL Listen) { + return This->lpVtbl->SetEventInterest(This,EventId,Listen); +} +#endif +#endif + +#endif + + +#endif /* __IInkCollector_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msinkaut_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msinkaut.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msinkaut.idl new file mode 100644 index 0000000..58ae86c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msinkaut.idl @@ -0,0 +1,1009 @@ +/* Copyright (C) 2007 C John Klehm + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +[ + uuid(7D868ACD-1A5D-4A47-A247-F39741353012), + version(1.0) +] +library MSINKAUTLib +{ + importlib("stdole2.tlb"); + + typedef float single; + + typedef enum InkBoundingBoxMode { + IBBM_Default = 0, + IBBM_NoCurveFit = 1, + IBBM_CurveFit = 2, + IBBM_PointsOnly = 3, + IBBM_Union = 4 + } InkBoundingBoxMode; + + typedef enum InkExtractFlags { + IEF_CopyFromOriginal = 0x0, + IEF_RemoveFromOriginal = 0x1, + IEF_Default = IEF_RemoveFromOriginal + } InkExtractFlags; + + typedef enum InkPersistenceFormat { + IPF_InkSerializeFormat = 0, + IPF_Base64InkSerializedFormat = 1, + IPF_GIF = 2, + IPF_Base64GIF = 3 + } InkPersistenceFormat; + + typedef enum InkPersistenceCompressionMode + { + IPCM_Default = 0, + IPCM_MaximumCompression = 1, + IPCM_NoCompression = 2 + } InkPersistenceCompressionMode; + + typedef enum InkPenTip { + IPT_Ball = 0, + IPT_Rectangle = 1 + } InkPenTip; + + typedef enum InkRasterOperation { + IRO_Black = 1, + IRO_NotMergePen, + IRO_MaskNotPen, + IRO_NotCopyPen, + IRO_MaskPenNot, + IRO_Not, + IRO_XOrPen, + IRO_NotMaskPen, + IRO_MaskPen, + IRO_NotXOrPen, + IRO_NoOperation, + IRO_MergeNotPen, + IRO_CopyPen, + IRO_MergePenNot, + IRO_MergePen, + IRO_White + } InkRasterOperation; + + typedef enum InkClipboardModes { + ICB_Copy = 0, + ICB_Cut = 0x1, + ICB_DelayedCopy = 0x20, + ICB_ExtractOnly = 0x30, + ICB_Default = ICB_Copy + } InkClipboardModes; + + typedef enum InkClipboardFormats { + ICF_None = 0, + ICF_InkSerializedFormat = 0x1, + ICF_SketchInk = 0x2, + ICF_TextInk = 0x6, + ICF_EnhancedMetafile = 0x8, + ICF_Metafile = 0x20, + ICF_Bitmap = 0x40, + ICF_PasteMask = 0x7, + ICF_CopyMask = 0x7f, + ICF_Default = ICF_CopyMask + } InkClipboardFormats; + + typedef enum InkRecognitionConfidence + { + IRC_Strong = 0, + IRC_Intermediate = 1, + IRC_Poor = 2 + } InkRecognitionConfidence; + + [ + odl, + uuid(DB489209-B7C3-411D-90F6-1548CFFF271E), + dual, + oleautomation + ] + interface IInkExtendedProperty : IDispatch { + [id(0x00000001), propget] HRESULT Guid([out, retval] BSTR* Guid); + [id(0x00000002), propget] HRESULT Data([out, retval] VARIANT* Data); + [id(0x00000002), propput] HRESULT Data([in] VARIANT Data); + }; + + [ + odl, + uuid(89F2A8BE-95A9-4530-8B8F-88E971E3E25F), + dual, + oleautomation + ] + interface IInkExtendedProperties : IDispatch { + HRESULT Count([out, retval] long* Count); + HRESULT _NewEnum([out, retval] IUnknown** _NewEnum); + HRESULT Item( + [in] VARIANT Identifier, + [out, retval] IInkExtendedProperty** Item); + HRESULT Add( + [in] BSTR Guid, + [in] VARIANT Data, + [out, retval] IInkExtendedProperty** InkExtendedProperty); + HRESULT Remove([in] VARIANT Identifier); + HRESULT Clear(); + HRESULT DoesPropertyExist( + [in] BSTR Guid, + [out, retval] VARIANT_BOOL* DoesPropertyExist); + }; + + [ + odl, + uuid(BF519B75-0A15-4623-ADC9-C00D436A8092), + dual, + oleautomation + ] + interface IInkDrawingAttributes : IDispatch { + [id(0x00000002), propget] HRESULT Color( + [out, retval] long* CurrentColor); + [id(0x00000002), propput] HRESULT Color([in] long CurrentColor); + [id(0x00000003), propget] HRESULT Width( + [out, retval] single* CurrentWidth); + [id(0x00000003), propput] HRESULT Width([in] single CurrentWidth); + [id(0x00000001), propget] HRESULT Height( + [out, retval] single* CurrentHeight); + [id(0x00000001), propput] HRESULT Height([in] single CurrentHeight); + [id(0x00000004), propget] HRESULT FitToCurve( + [out, retval] VARIANT_BOOL* Flag); + [id(0x00000004), propput] HRESULT FitToCurve([in] VARIANT_BOOL Flag); + [id(0x00000005), propget] HRESULT IgnorePressure( + [out, retval] VARIANT_BOOL* Flag); + [id(0x00000005), propput] HRESULT IgnorePressure( + [in] VARIANT_BOOL Flag); + [id(0x00000006), propget] HRESULT AntiAliased( + [out, retval] VARIANT_BOOL* Flag); + [id(0x00000006), propput] HRESULT AntiAliased([in] VARIANT_BOOL Flag); + [id(0x00000007), propget] HRESULT Transparency( + [out, retval] long* CurrentTransparency); + [id(0x00000007), propput] HRESULT Transparency( + [in] long CurrentTransparency); + [id(0x00000008), propget] HRESULT RasterOperation( + [out, retval] InkRasterOperation* CurrentRasterOperation); + [id(0x00000008), propput] HRESULT RasterOperation( + [in] InkRasterOperation CurrentRasterOperation); + [id(0x00000009), propget] HRESULT PenTip( + [out, retval] InkPenTip* CurrentPenTip); + [id(0x00000009), propput] HRESULT PenTip([in] InkPenTip CurrentPenTip); + [id(0x0000000b), propget] HRESULT ExtendedProperties( + [out, retval] IInkExtendedProperties** Properties); + [id(0x0000000a)] HRESULT Clone( + [out, retval] IInkDrawingAttributes** DrawingAttributes); + }; + +cpp_quote("#ifndef _WINGDI_") +/* already defined in wingdi.h but needed for WIDL */ + typedef struct tagXFORM { + single eM11; + single eM12; + single eM21; + single eM22; + single eDx; + single eDy; + } XFORM; +cpp_quote("#endif /* _WINGDI_ */") + + [ + odl, + uuid(615F1D43-8703-4565-88E2-8201D2ECD7B7), + dual, + oleautomation + ] + interface IInkTransform : IDispatch { + [id(0x00000001)] HRESULT Reset(); + [id(0x00000002)] HRESULT Translate( + [in] single HorizontalComponent, + [in] single VerticalComponent); + [id(0x00000003)] HRESULT Rotate( + [in] single Degrees, + [in, defaultvalue(0)] single x, + [in, defaultvalue(0)] single y); + [id(0x00000004)] HRESULT Reflect( + [in] VARIANT_BOOL Horizontally, + [in] VARIANT_BOOL Vertically); + [id(0x00000005)] HRESULT Shear( + [in] single HorizontalComponent, + [in] single VerticalComponent); + [id(0x00000006)] HRESULT ScaleTransform( + [in] single HorizontalMultiplier, + [in] single VerticalMultiplier); + [id(0x0000000d)] HRESULT GetTransform( + [out] single* eM11, + [out] single* eM12, + [out] single* eM21, + [out] single* eM22, + [out] single* eDx, + [out] single* eDy); + [id(0x0000000e)] HRESULT SetTransform( + [in] single eM11, + [in] single eM12, + [in] single eM21, + [in] single eM22, + [in] single eDx, + [in] single eDy); + [id(0x00000007), propget, hidden] HRESULT eM11( + [out, retval] single* Value); + [id(0x00000007), propput, hidden] HRESULT eM11([in] single Value); + [id(0x00000008), propget, hidden] HRESULT eM12( + [out, retval] single* Value); + [id(0x00000008), propput, hidden] HRESULT eM12([in] single Value); + [id(0x00000009), propget, hidden] HRESULT eM21( + [out, retval] single* Value); + [id(0x00000009), propput, hidden] HRESULT eM21([in] single Value); + [id(0x0000000a), propget, hidden] HRESULT eM22( + [out, retval] single* Value); + [id(0x0000000a), propput, hidden] HRESULT eM22([in] single Value); + [id(0x0000000b), propget, hidden] HRESULT eDx( + [out, retval] single* Value); + [id(0x0000000b), propput, hidden] HRESULT eDx([in] single Value); + [id(0x0000000c), propget, hidden] HRESULT eDy( + [out, retval] single* Value); + [id(0x0000000c), propput, hidden] HRESULT eDy([in] single Value); + [id(0x0000000f), propget, hidden] HRESULT Data( + [out, retval] XFORM* XFORM); + [id(0x0000000f), propput, hidden] HRESULT Data([in] XFORM XFORM); + }; + + interface IInkDisp; + + [ + odl, + uuid(9794FF82-6071-4717-8A8B-6AC7C64A686E), + dual, + oleautomation + ] + interface IInkRectangle + { + [id(1), propget] HRESULT Top([out, retval] long* Units); + [id(1), propput] HRESULT Top([in] long Units); + [id(2), propget] HRESULT Left([out, retval] long* Units); + [id(2), propput] HRESULT Left([in] long Units); + [id(3), propget] HRESULT Bottom([out, retval] long* Units); + [id(3), propput] HRESULT Bottom([in] long Units); + [id(4), propget] HRESULT Right([out, retval] long* Units); + [id(4), propput] HRESULT Right([in] long Units); + [id(7), propget] HRESULT Data([out, retval] RECT* Rect); + [id(7), propput] HRESULT Data([in] RECT Rect); + [id(5)] HRESULT GetRectangle( + [out] long* Top, + [out] long* Left, + [out] long* Bottom, + [out] long* Right); + [id(6)] HRESULT SetRectangle( + [in] long Top, + [in] long Left, + [in] long Bottom, + [in] long Right); + }; + + interface IInkStrokes; + + typedef enum { + TPMU_Default, + TPMU_Inches, + TPMU_Centimeters, + TPMU_Degrees, + TPMU_Radians, + TPMU_Seconds, + TPMU_Pounds, + TPMU_Grams + } TabletPropertyMetricUnit; + + [ + odl, + uuid(43242FEA-91D1-4A72-963E-FBB91829CFA2), + dual, + oleautomation + ] + interface IInkStrokeDisp : IDispatch { + [id(0x00000002), propget] HRESULT Id([out, retval] long* Id); + [id(0x0000000d), propget] HRESULT BezierPoints( + [out, retval] VARIANT* Points); + [id(0x00000004), propget] HRESULT DrawingAttributes( + [out, retval] IInkDrawingAttributes** DrawAttrs); + [id(0x00000004), propputref] HRESULT DrawingAttributes( + [in] IInkDrawingAttributes* DrawAttrs); + [id(0x0000000c), propget] HRESULT Ink([out, retval] IInkDisp** Ink); + [id(0x0000000b), propget] HRESULT ExtendedProperties( + [out, retval] IInkExtendedProperties** Properties); + [id(0x0000000e), propget] HRESULT PolylineCusps( + [out, retval] VARIANT* Cusps); + [id(0x0000000f), propget] HRESULT BezierCusps( + [out, retval] VARIANT* Cusps); + [id(0x00000010), propget] HRESULT SelfIntersections( + [out, retval] VARIANT* Intersections); + [id(0x00000011), propget] HRESULT PacketCount( + [out, retval] long* plCount); + [id(0x00000012), propget] HRESULT PacketSize( + [out, retval] long* plSize); + [id(0x00000013), propget] HRESULT PacketDescription( + [out, retval] VARIANT* PacketDescription); + [id(0x00000014), propget] HRESULT Deleted( + [out, retval] VARIANT_BOOL* Deleted); + [id(0x00000003)] HRESULT GetBoundingBox( + [in, defaultvalue(0)] InkBoundingBoxMode BoundingBoxMode, + [out, retval] IInkRectangle** Rectangle); + [id(0x00000005)] HRESULT FindIntersections( + [in] IInkStrokes* Strokes, + [out, retval] VARIANT* Intersections); + [id(0x00000006)] HRESULT GetRectangleIntersections( + [in] IInkRectangle* Rectangle, + [out, retval] VARIANT* Intersections); + [id(0x00000007)] HRESULT Clip( + [in] IInkRectangle* Rectangle); + [id(0x00000008)] HRESULT HitTestCircle( + [in] long x, + [in] long y, + [in] single radius, + [out, retval] VARIANT_BOOL* Intersects); + [id(0x00000009)] HRESULT NearestPoint( + [in] long x, + [in] long y, + [in, out, defaultvalue(0)] single* Distance, + [out, retval] single* Point); + [id(0x0000000a)] HRESULT Split( + [in] single SplitAt, + [out, retval] IInkStrokeDisp** NewStroke); + [id(0x00000015)] HRESULT GetPacketDescriptionPropertyMetrics( + [in] BSTR propertyName, + [out] long* Minimum, + [out] long* Maximum, + [out] TabletPropertyMetricUnit* Units, + [out] single* Resolution); + [id(0x00000016)] HRESULT GetPoints( + [in, defaultvalue(0)] long Index, + [in, defaultvalue(-1)] long Count, + [out, retval] VARIANT* Points); + [id(0x00000017)] HRESULT SetPoints( + [in] VARIANT Points, + [in, defaultvalue(0)] long Index, + [in, defaultvalue(-1)] long Count, + [out, retval] long* NumberOfPointsSet); + [id(0x00000018)] HRESULT GetPacketData( + [in, defaultvalue(0)] long Index, + [in, defaultvalue(-1)] long Count, + [out, retval] VARIANT* PacketData); + [id(0x00000019)] HRESULT GetPacketValuesByProperty( + [in] BSTR propertyName, + [in, defaultvalue(0)] long Index, + [in, defaultvalue(-1)] long Count, + [out, retval] VARIANT* PacketValues); + [id(0x0000001a)] HRESULT SetPacketValuesByProperty( + [in] BSTR bstrPropertyName, + [in] VARIANT PacketValues, + [in, defaultvalue(0)] long Index, + [in, defaultvalue(-1)] long Count, + [out, retval] long* NumberOfPacketsSet); + [id(0x0000001b)] HRESULT GetFlattenedBezierPoints( + [in, defaultvalue(0)] long FittingError, + [out, retval] VARIANT* FlattenedBezierPoints); + [id(0x0000001d)] HRESULT Transform( + [in] IInkTransform* Transform, + [in, defaultvalue(0)] VARIANT_BOOL ApplyOnPenWidth); + [id(0x0000001c)] HRESULT ScaleToRectangle( + [in] IInkRectangle* Rectangle); + [id(0x0000001e)] HRESULT Move( + [in] single HorizontalComponent, + [in] single VerticalComponent); + [id(0x0000001f)] HRESULT Rotate( + [in] single Degrees, + [in, defaultvalue(0)] single x, + [in, defaultvalue(0)] single y); + [id(0x00000020)] HRESULT Shear( + [in] single HorizontalMultiplier, + [in] single VerticalMultiplier); + [id(0x00000021)] HRESULT ScaleTransform( + [in] single HorizontalMultiplier, + [in] single VerticalMultiplier); + }; + + interface IInkRecognitionResult; + + [ + odl, + uuid(F1F4C9D8-590A-4963-B3AE-1935671BB6F3), + dual, + oleautomation + ] + interface IInkStrokes : IDispatch { + [propget] HRESULT Count( + [out, retval] long *Count); + [propget, restricted] HRESULT _NewEnum( + [out, retval] IUnknown **_NewEnum); + [propget] HRESULT Ink( + [out, retval] IInkDisp **Ink); + [propget] HRESULT RecognitionResult( + [out, retval] IInkRecognitionResult **RecognitionResult); + HRESULT ToString( + [out, retval] BSTR *ToString); + HRESULT Item( + [in] long Index, + [out, retval] IInkStrokeDisp **Stroke); + HRESULT Add( + [in] IInkStrokeDisp *InkStroke); + HRESULT AddStrokes( + [in] IInkStrokes *InkStrokes); + HRESULT Remove( + [in] IInkStrokeDisp *InkStroke); + HRESULT RemoveStrokes( + [in] IInkStrokes *InkStrokes); + HRESULT ModifyDrawingAttributes( + [in] IInkDrawingAttributes *DrawAttrs); + HRESULT GetBoundingBox( + [in] InkBoundingBoxMode BoundingBoxMode, + [out, retval] IInkRectangle **BoundingBox); + HRESULT Transform( + [in] IInkTransform *Transform, + [in] VARIANT_BOOL ApplyOnPenWidth); + HRESULT ScaleToRectangle( + [in] IInkRectangle *Rectangle); + HRESULT Move( + [in] float HorizontalComponent, + [in] float VerticalComponent); + HRESULT Rotate( + [in] float Degrees, + [in] float x, + [in] float y); + HRESULT Shear( + [in] float HorizontalMultiplier, + [in] float VerticalMultiplier); + HRESULT ScaleTransform( + [in] float HorizontalMultiplier, + [in] float VerticalMultiplier); + HRESULT Clip( + [in] IInkRectangle *Rectangle); + HRESULT RemoveRecognitionResult(); + }; + + [ + odl, + uuid(7E23A88F-C30E-420f-9BDB-28902543F0C1), + dual, + oleautomation + ] + interface IInkCustomStrokes : IDispatch { + [propget] HRESULT Count( + [out, retval] long *Count); + [propget] HRESULT _NewEnum( + [out, retval] IUnknown **_NewEnum); + HRESULT Item( + [in] VARIANT Identifier, + [out, retval] IInkStrokes **Strokes); + HRESULT Add( + [in] BSTR Name, + [in] IInkStrokes *Strokes); + HRESULT Remove( + [in] VARIANT Identifier); + HRESULT Clear(); + }; + + interface IInkRecognitionAlternate; + interface IInkRecognitionAlternates; + + [ + odl, + uuid(3BC129A8-86CD-45ad-BDE8-E0D32D61C16D), + dual, + oleautomation + ] + interface IInkRecognitionResult : IDispatch { + [propget] HRESULT TopString( + [out, retval] BSTR *TopString); + [propget] HRESULT TopAlternate( + [out, retval] IInkRecognitionAlternate **TopAlternate); + [propget] HRESULT TopConfidence( + [out, retval] InkRecognitionConfidence *TopConfidence); + [propget] HRESULT Strokes( + [out, retval] IInkStrokes **Strokes); + HRESULT AlternatesFromSelection( + [in] long selectionStart, + [in] long selectionLength, + [in] long maximumAlternates, + [out, retval] IInkRecognitionAlternates **AlternatesFromSelection); + HRESULT ModifyTopAlternate( + [in] IInkRecognitionAlternate *Alternate); + HRESULT SetResultOnStrokes(); + }; + + [ + odl, + uuid(B7E660AD-77E4-429b-ADDA-873780D1FC4A), + dual, + oleautomation + ] + interface IInkRecognitionAlternate : IDispatch { + [propget] HRESULT String( + [out, retval] BSTR *RecoString); + [propget] HRESULT Confidence( + [out, retval] InkRecognitionConfidence *Confidence); + [propget] HRESULT Baseline( + [out, retval] VARIANT *Baseline); + [propget] HRESULT Midline( + [out, retval] VARIANT *Midline); + [propget] HRESULT Ascender( + [out, retval] VARIANT *Ascender); + [propget] HRESULT Descender( + [out, retval] VARIANT *Descender); + [propget] HRESULT LineNumber( + [out, retval] long *LineNumber); + [propget] HRESULT Strokes( + [out, retval] IInkStrokes **Strokes); + [propget] HRESULT LineAlternates( + [out, retval] IInkRecognitionAlternates **LineAlternates); + [propget] HRESULT ConfidenceAlternates( + [out, retval] IInkRecognitionAlternates **ConfidenceAlternates); + HRESULT GetStrokesFromStrokeRanges( + [in] IInkStrokes *Stroke, + [out, retval] IInkStrokes **GetStrokesFromTextRange); + HRESULT GetStrokesFromTextRange( + [in, out] long *selectionStart, + [in, out] long *selectionLength, + [out, retval] IInkStrokes **GetStrokesFromTextRange); + HRESULT GetTextRangeFromStrokes( + [in] IInkStrokes *Strokes, + [in, out] long *selectionStart, + [in, out] long *selectionLength); + HRESULT AlternatesWithConstantPropertyValues( + [in] BSTR PropertyType, + [out, retval] IInkRecognitionAlternates **AlternatesWithConstantPropertyValues); + HRESULT GetPropertyValue( + [in] BSTR PropertyType, + [out, retval] VARIANT *PropertyValue); + }; + + [ + odl, + uuid(286A167F-9F19-4c61-9D53-4F07BE622B84), + dual, + oleautomation + ] + interface IInkRecognitionAlternates : IDispatch { + [propget] HRESULT Count( + [out, retval] long *Count); + [propget, restricted] HRESULT _NewEnum( + [out, retval] IUnknown **_NewEnum); + [propget] HRESULT Strokes( + [out, retval] IInkStrokes **Strokes); + HRESULT Item( + [in] long Index, + [out, retval] IInkRecognitionAlternate **InkRecoAlternate); + }; + + [ + odl, + uuid(9D398FA0-C4E2-4fcd-9973-975CAAF47EA6), + dual, + oleautomation + ] + interface IInkDisp : IDispatch { + [propget] HRESULT Strokes( + [out, retval] IInkStrokes **Strokes); + [propget] HRESULT ExtendedProperties( + [out, retval] IInkExtendedProperties **Properties); + [propget] HRESULT Dirty( + [out, retval] VARIANT_BOOL *Dirty); + [propput] HRESULT Dirty( + [in] VARIANT_BOOL Dirty); + [propget] HRESULT CustomStrokes( + [out, retval] IInkCustomStrokes **CustomStrokes); + HRESULT GetBoundingBox( + [in] InkBoundingBoxMode BoundingBoxMode, + [out] IInkRectangle **Rectangle); + HRESULT DeleteStrokes( + [in, unique] IInkStrokes *Strokes); + HRESULT DeleteStroke( + [in] IInkStrokeDisp *Stroke); + HRESULT ExtractStrokes( + [in] IInkStrokes *Strokes, + [in] InkExtractFlags ExtractFlags, + [out, retval] IInkDisp **ExtractedInk); + HRESULT ExtractWithRectangle( + [in] IInkRectangle *Rectangle, + [in] InkExtractFlags ExtractFlags, + [out, retval] IInkDisp **ExtractedInk); + HRESULT Clip( + [in] IInkRectangle *Rectangle); + HRESULT Clone( + [out, retval] IInkDisp **NewInk); + HRESULT HitTestCircle( + [in] long X, + [in] long Y, + [in] float radius, + [out, retval] IInkStrokes **Strokes); + HRESULT HitTestWithRectangle( + [in] IInkRectangle *SelectionRectangle, + [in] float IntersectPercent, + [out, retval] IInkStrokes **Strokes); + HRESULT HitTestWithLasso( + [in] VARIANT Points, + [in] float IntersectPercent, + [in, out, unique] VARIANT *LassoPoints, + [out, retval] IInkStrokes **Strokes); + HRESULT NearestPoint( + [in] long X, + [in] long Y, + [in, out] float *PointOnStroke, + [in, out] float *DistanceFromPacket, + [out, retval] IInkStrokeDisp **Stroke); + HRESULT CreateStrokes( + [in] VARIANT StrokeIds, + [out, retval] IInkStrokes **Strokes); + HRESULT AddStrokesAtRectangle( + [in] IInkStrokes *SourceStrokes, + [in] IInkRectangle *TargetRectangle); + HRESULT Save( + [in] InkPersistenceFormat PersistenceFormat, + [in] InkPersistenceCompressionMode CompressionMode, + [out, retval] VARIANT *Data); + HRESULT Load( + [in] VARIANT Data); + HRESULT CreateStroke( + [in] VARIANT PacketData, + [in] VARIANT PacketDescription, + [out, retval] IInkStrokeDisp **Stroke); + HRESULT ClipboardCopyWithRectangle( + [in] IInkRectangle *Rectangle, + [in] InkClipboardFormats ClipboardFormats, + [in] InkClipboardModes ClipboardModes, + [out, retval] IDataObject **DataObject); + HRESULT ClipboardCopy( + [in] IInkStrokes *strokes, + [in] InkClipboardFormats ClipboardFormats, + [in] InkClipboardModes ClipboardModes, + [out, retval] IDataObject **DataObject); + HRESULT CanPaste( + [in] IDataObject *DataObject, + [out, retval] VARIANT_BOOL *CanPaste); + HRESULT ClipboardPaste( + [in] long x, + [in] long y, + [in, unique] IDataObject *DataObject, + [out, retval] IInkStrokes **Strokes); + }; + + [ + odl, + uuid(E6257A9C-B511-4F4C-A8B0-A7DBC9506B83), + dual, + oleautomation + ] + interface IInkRenderer : IDispatch { + HRESULT GetViewTransform([in] IInkTransform* ViewTransform); + HRESULT SetViewTransform([in] IInkTransform* ViewTransform); + HRESULT GetObjectTransform([in] IInkTransform* ObjectTransform); + HRESULT SetObjectTransform([in] IInkTransform* ObjectTransform); + HRESULT Draw( + [in] long hDC, + [in] IInkStrokes* Strokes); + HRESULT DrawStroke( + [in] long hDC, + [in] IInkStrokeDisp* Stroke, + [in, defaultvalue(0)] + IInkDrawingAttributes* DrawingAttributes); + HRESULT PixelToInkSpace( + [in] long hDC, + [in, out] long* x, + [in, out] long* y); + HRESULT InkSpaceToPixel( + [in] long hdcDisplay, + [in, out] long* x, + [in, out] long* y); + HRESULT PixelToInkSpaceFromPoints( + [in] long hDC, + [in, out] VARIANT* Points); + HRESULT InkSpaceToPixelFromPoints( + [in] long hDC, + [in, out] VARIANT* Points); + HRESULT Measure( + [in] IInkStrokes* Strokes, + [out, retval] IInkRectangle** Rectangle); + HRESULT MeasureStroke( + [in] IInkStrokeDisp* Stroke, + [in, defaultvalue(0)] IInkDrawingAttributes* DrawingAttributes, + [out, retval] IInkRectangle** Rectangle); + HRESULT Move( + [in] single HorizontalComponent, + [in] single VerticalComponent); + HRESULT Rotate( + [in] single Degrees, + [in, defaultvalue(0)] single x, + [in, defaultvalue(0)] single y); + HRESULT ScaleTransform( + [in] single HorizontalMultiplier, + [in] single VerticalMultiplier, + [in, defaultvalue(-1)] VARIANT_BOOL ApplyOnPenWidth); + }; + + typedef enum { + ICM_InkOnly, + ICM_GestureOnly, + ICM_InkAndGesture + } InkCollectionMode; + + typedef enum { + IMP_Default, + IMP_Arrow, + IMP_Crosshair, + IMP_Ibeam, + IMP_SizeNESW, + IMP_SizeNS, + IMP_SizeNWSE, + IMP_SizeWE, + IMP_UpArrow, + IMP_Hourglass, + IMP_NoDrop, + IMP_ArrowHourglass, + IMP_ArrowQuestion, + IMP_SizeAll, + IMP_Hand, + IMP_Custom = 99 + } InkMousePointer; + + typedef enum { + THWC_Integrated = 1, + THWC_CursorMustTouch = 2, + THWC_HardProximity = 4, + THWC_CursorsHavePhysicalIds = 8 + } TabletHardwareCapabilities; + + [ + odl, + uuid(2DE25EAA-6EF8-42D5-AEE9-185BC81B912D), + dual, + oleautomation + ] + interface IInkTablet : IDispatch { + [propget] HRESULT Name([out, retval] BSTR* Name); + [propget] HRESULT PlugAndPlayId([out, retval] BSTR* Id); + [propget] HRESULT MaximumInputRectangle([out, retval] IInkRectangle** Rectangle); + [propget] HRESULT HardwareCapabilities( + [out, retval] TabletHardwareCapabilities* Capabilities); + HRESULT IsPacketPropertySupported( + [in] BSTR packetPropertyName, + [out, retval] VARIANT_BOOL* Supported); + HRESULT GetPropertyMetrics( + [in] BSTR propertyName, + [out] long* Minimum, + [out] long* Maximum, + [out] TabletPropertyMetricUnit* Units, + [out] single* Resolution); + }; + + typedef enum { + ICBS_Unavailable, + ICBS_Up, + ICBS_Down + } InkCursorButtonState; + + [ + odl, + uuid(85EF9417-1D59-49B2-A13C-702C85430894), + dual, + oleautomation + ] + interface IInkCursorButton : IDispatch { + [propget] HRESULT Name([out, retval] BSTR* Name); + [propget] HRESULT Id([out, retval] BSTR* Id); + [propget] HRESULT State([out, retval] InkCursorButtonState* CurrentState); + }; + + [ + odl, + uuid(3671CC40-B624-4671-9FA0-DB119D952D54), + dual, + oleautomation + ] + interface IInkCursorButtons : IDispatch { + [propget] HRESULT Count([out, retval] long* Count); + [propget] HRESULT _NewEnum([out, retval] IUnknown** _NewEnum); + HRESULT Item( + [in] VARIANT Identifier, + [out, retval] IInkCursorButton** Button); + }; + + [ + odl, + uuid(AD30C630-40C5-4350-8405-9C71012FC558), + dual, + oleautomation + ] + interface IInkCursor : IDispatch { + [id(0x00000000), propget] HRESULT Name([out, retval] BSTR* Name); + [id(0x00000001), propget] HRESULT Id([out, retval] long* Id); + [id(0x00000004), propget] HRESULT Inverted( + [out, retval] VARIANT_BOOL* Status); + [id(0x00000002), propget] HRESULT DrawingAttributes( + [out, retval] IInkDrawingAttributes** Attributes); + [id(0x00000002), propputref] HRESULT DrawingAttributes( + [in] IInkDrawingAttributes* Attributes); + [id(0x00000005), propget] HRESULT Tablet( + [out, retval] IInkTablet** Tablet); + [id(0x00000003), propget] HRESULT Buttons( + [out, retval] IInkCursorButtons** Buttons); + }; + + [ + odl, + uuid(A248C1AC-C698-4E06-9E5C-D57F77C7E647), + dual, + oleautomation + ] + interface IInkCursors : IDispatch { + [propget] HRESULT Count([out, retval] long* Count); + [propget] HRESULT _NewEnum([out, retval] IUnknown** _NewEnum); + HRESULT Item( + [in] long Index, + [out, retval] IInkCursor** Cursor); + }; + + typedef enum { + IAG_AllGestures = 0, + IAG_NoGesture = 61440, + IAG_Scratchout = 61441, + IAG_Triangle = 61442, + IAG_Square = 61443, + IAG_Star = 61444, + IAG_Check = 61445, + IAG_Curlicue = 61456, + IAG_DoubleCurlicue = 61457, + IAG_Circle = 61472, + IAG_DoubleCircle = 61473, + IAG_SemiCircleLeft = 61480, + IAG_SemiCircleRight = 61481, + IAG_ChevronUp = 61488, + IAG_ChevronDown = 61489, + IAG_ChevronLeft = 61490, + IAG_ChevronRight = 61491, + IAG_ArrowUp = 61496, + IAG_ArrowDown = 61497, + IAG_ArrowLeft = 61498, + IAG_ArrowRight = 61499, + IAG_Up = 61528, + IAG_Down = 61529, + IAG_Left = 61530, + IAG_Right = 61531, + IAG_UpDown = 61536, + IAG_DownUp = 61537, + IAG_LeftRight = 61538, + IAG_RightLeft = 61539, + IAG_UpLeftLong = 61540, + IAG_UpRightLong = 61541, + IAG_DownLeftLong = 61542, + IAG_DownRightLong = 61543, + IAG_UpLeft = 61544, + IAG_UpRight = 61545, + IAG_DownLeft = 61546, + IAG_DownRight = 61547, + IAG_LeftUp = 61548, + IAG_LeftDown = 61549, + IAG_RightUp = 61550, + IAG_RightDown = 61551, + IAG_Exclamation = 61604, + IAG_Tap = 61680, + IAG_DoubleTap = 61681 + } InkApplicationGesture; + + typedef enum { + ICEI_DefaultEvents = -1, + ICEI_CursorDown = 0, + ICEI_Stroke, + ICEI_NewPackets, + ICEI_NewInAirPackets, + ICEI_CursorButtonDown, + ICEI_CursorButtonUp, + ICEI_CursorInRange, + ICEI_CursorOutOfRange, + ICEI_SystemGesture, + ICEI_TabletAdded, + ICEI_TabletRemoved, + ICEI_MouseDown, + ICEI_MouseMove, + ICEI_MouseUp, + ICEI_MouseWheel, + ICEI_DblClick, + ICEI_AllEvents + } InkCollectorEventInterest; + + [ + odl, + uuid(F0F060B5-8B1F-4A7C-89EC-880692588A4F), + dual, + oleautomation + ] + interface IInkCollector : IDispatch { + [id(0x00000002), propget] HRESULT hWnd( + [out, retval] long* CurrentWindow); + [id(0x00000002), propput] HRESULT hWnd([in] long CurrentWindow); + [id(0x00000001), propget] HRESULT Enabled( + [out, retval] VARIANT_BOOL* Collecting); + [id(0x00000001), propput] HRESULT Enabled( + [in] VARIANT_BOOL Collecting); + [id(0x00000005), propget] HRESULT DefaultDrawingAttributes( + [out, retval] IInkDrawingAttributes** CurrentAttributes); + [id(0x00000005), propputref] HRESULT DefaultDrawingAttributes( + [in] IInkDrawingAttributes* CurrentAttributes); + [id(0x00000006), propget] HRESULT Renderer( + [out, retval] IInkRenderer** CurrentInkRenderer); + [id(0x00000006), propputref] HRESULT Renderer( + [in] IInkRenderer* CurrentInkRenderer); + [id(0x00000007), propget] HRESULT Ink([out, retval] IInkDisp** Ink); + [id(0x00000007), propputref] HRESULT Ink([in] IInkDisp* Ink); + [id(0x00000008), propget] HRESULT AutoRedraw( + [out, retval] VARIANT_BOOL* AutoRedraw); + [id(0x00000008), propput] HRESULT AutoRedraw( + [in] VARIANT_BOOL AutoRedraw); + [id(0x00000009), propget] HRESULT CollectingInk( + [out, retval] VARIANT_BOOL* Collecting); + [id(0x0000001c), propget] HRESULT CollectionMode( + [out, retval] InkCollectionMode* Mode); + [id(0x0000001c), propput] HRESULT CollectionMode( + [in] InkCollectionMode Mode); + [id(0x0000001f), propget] HRESULT DynamicRendering( + [out, retval] VARIANT_BOOL* Enabled); + [id(0x0000001f), propput] HRESULT DynamicRendering( + [in] VARIANT_BOOL Enabled); + [id(0x00000020), propget] HRESULT DesiredPacketDescription( + [out, retval] VARIANT* PacketGuids); + [id(0x00000020), propput] HRESULT DesiredPacketDescription( + [in] VARIANT PacketGuids); + [id(0x00000023), propget] HRESULT MouseIcon( + [out, retval] IPictureDisp** MouseIcon); + [id(0x00000023), propput] HRESULT MouseIcon( + [in] IPictureDisp* MouseIcon); + [id(0x00000023), propputref] HRESULT MouseIcon( + [in] IPictureDisp* MouseIcon); + [id(0x00000024), propget] HRESULT MousePointer( + [out, retval] InkMousePointer* MousePointer); + [id(0x00000024), propput] HRESULT MousePointer( + [in] InkMousePointer MousePointer); + [id(0x00000014), propget] HRESULT Cursors( + [out, retval] IInkCursors** Cursors); + [id(0x00000015), propget] HRESULT MarginX( + [out, retval] long* MarginX); + [id(0x00000015), propput] HRESULT MarginX([in] long MarginX); + [id(0x00000016), propget] HRESULT MarginY( + [out, retval] long* MarginY); + [id(0x00000016), propput] HRESULT MarginY([in] long MarginY); + [id(0x00000019), propget] HRESULT Tablet( + [out, retval] IInkTablet** SingleTablet); + [id(0x00000026), propget] HRESULT SupportHighContrastInk( + [out, retval] VARIANT_BOOL* Support); + [id(0x00000026), propput] HRESULT SupportHighContrastInk( + [in] VARIANT_BOOL Support); + [id(0x0000001d)] HRESULT SetGestureStatus( + [in] InkApplicationGesture Gesture, + [in] VARIANT_BOOL Listen); + [id(0x0000001e)] HRESULT GetGestureStatus( + [in] InkApplicationGesture Gesture, + [out, retval] VARIANT_BOOL* Listening); + [id(0x00000018)] HRESULT GetWindowInputRectangle( + [in, out] IInkRectangle** WindowInputRectangle); + [id(0x00000017)] HRESULT SetWindowInputRectangle( + [in] IInkRectangle* WindowInputRectangle); + [id(0x0000001a)] HRESULT SetAllTabletsMode( + [in, defaultvalue(-1)] VARIANT_BOOL UseMouseForInput); + [id(0x0000001b)] HRESULT SetSingleTabletIntegratedMode( + [in] IInkTablet* Tablet); + [id(0x0000000b)] HRESULT GetEventInterest( + [in] InkCollectorEventInterest EventId, + [out, retval] VARIANT_BOOL* Listen); + [id(0x0000000a)] HRESULT SetEventInterest( + [in] InkCollectorEventInterest EventId, + [in] VARIANT_BOOL Listen); + }; +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msiquery.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msiquery.h new file mode 100644 index 0000000..a1f3c6c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msiquery.h @@ -0,0 +1,341 @@ +/* + * Copyright (C) 2002,2003 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSIQUERY_H +#define __WINE_MSIQUERY_H + +#include + +typedef enum tagMSICONDITION +{ + MSICONDITION_FALSE = 0, + MSICONDITION_TRUE = 1, + MSICONDITION_NONE = 2, + MSICONDITION_ERROR = 3, +} MSICONDITION; + +#define MSI_NULL_INTEGER 0x80000000 + +typedef enum tagMSICOLINFO +{ + MSICOLINFO_NAMES = 0, + MSICOLINFO_TYPES = 1 +} MSICOLINFO; + +typedef enum tagMSICOSTTREE +{ + MSICOSTTREE_SELFONLY = 0, + MSICOSTTREE_CHILDREN = 1, + MSICOSTTREE_PARENTS = 2, + MSICOSTTREE_PRODUCT = 3, +} MSICOSTTREE; + +typedef enum tagMSIMODIFY +{ + MSIMODIFY_SEEK = -1, + MSIMODIFY_REFRESH = 0, + MSIMODIFY_INSERT = 1, + MSIMODIFY_UPDATE = 2, + MSIMODIFY_ASSIGN = 3, + MSIMODIFY_REPLACE = 4, + MSIMODIFY_MERGE = 5, + MSIMODIFY_DELETE = 6, + MSIMODIFY_INSERT_TEMPORARY = 7, + MSIMODIFY_VALIDATE = 8, + MSIMODIFY_VALIDATE_NEW = 9, + MSIMODIFY_VALIDATE_FIELD = 10, + MSIMODIFY_VALIDATE_DELETE = 11 +} MSIMODIFY; + +#ifndef WINE_NO_UNICODE_MACROS +#define MSIDBOPEN_READONLY (LPCTSTR)0 +#define MSIDBOPEN_TRANSACT (LPCTSTR)1 +#define MSIDBOPEN_DIRECT (LPCTSTR)2 +#define MSIDBOPEN_CREATE (LPCTSTR)3 +#define MSIDBOPEN_CREATEDIRECT (LPCTSTR)4 +#else +#define MSIDBOPEN_READONLY (LPCWSTR)0 +#define MSIDBOPEN_TRANSACT (LPCWSTR)1 +#define MSIDBOPEN_DIRECT (LPCWSTR)2 +#define MSIDBOPEN_CREATE (LPCWSTR)3 +#define MSIDBOPEN_CREATEDIRECT (LPCWSTR)4 +#endif + +#define MSIDBOPEN_PATCHFILE 32 / sizeof(*MSIDBOPEN_READONLY) + +typedef enum tagMSIRUNMODE +{ + MSIRUNMODE_ADMIN = 0, + MSIRUNMODE_ADVERTISE = 1, + MSIRUNMODE_MAINTENANCE = 2, + MSIRUNMODE_ROLLBACKENABLED = 3, + MSIRUNMODE_LOGENABLED = 4, + MSIRUNMODE_OPERATIONS = 5, + MSIRUNMODE_REBOOTATEND = 6, + MSIRUNMODE_REBOOTNOW = 7, + MSIRUNMODE_CABINET = 8, + MSIRUNMODE_SOURCESHORTNAMES = 9, + MSIRUNMODE_TARGETSHORTNAMES = 10, + MSIRUNMODE_RESERVED11 = 11, + MSIRUNMODE_WINDOWS9X = 12, + MSIRUNMODE_ZAWENABLED = 13, + MSIRUNMODE_RESERVED14 = 14, + MSIRUNMODE_RESERVED15 = 15, + MSIRUNMODE_SCHEDULED = 16, + MSIRUNMODE_ROLLBACK = 17, + MSIRUNMODE_COMMIT = 18 +} MSIRUNMODE; + +typedef enum tagMSIDBERROR +{ + MSIDBERROR_INVALIDARG = -3, + MSIDBERROR_MOREDATA = -2, + MSIDBERROR_FUNCTIONERROR = -1, + MSIDBERROR_NOERROR = 0, + MSIDBERROR_DUPLICATEKEY = 1, + MSIDBERROR_REQUIRED = 2, + MSIDBERROR_BADLINK = 3, + MSIDBERROR_OVERFLOW = 4, + MSIDBERROR_UNDERFLOW = 5, + MSIDBERROR_NOTINSET = 6, + MSIDBERROR_BADVERSION = 7, + MSIDBERROR_BADCASE = 8, + MSIDBERROR_BADGUID = 9, + MSIDBERROR_BADWILDCARD = 10, + MSIDBERROR_BADIDENTIFIER = 11, + MSIDBERROR_BADLANGUAGE = 12, + MSIDBERROR_BADFILENAME = 13, + MSIDBERROR_BADPATH = 14, + MSIDBERROR_BADCONDITION = 15, + MSIDBERROR_BADFORMATTED = 16, + MSIDBERROR_BADTEMPLATE = 17, + MSIDBERROR_BADDEFAULTDIR = 18, + MSIDBERROR_BADREGPATH = 19, + MSIDBERROR_BADCUSTOMSOURCE = 20, + MSIDBERROR_BADPROPERTY = 21, + MSIDBERROR_MISSINGDATA = 22, + MSIDBERROR_BADCATEGORY = 23, + MSIDBERROR_BADKEYTABLE = 24, + MSIDBERROR_BADMAXMINVALUES = 25, + MSIDBERROR_BADCABINET = 26, + MSIDBERROR_BADSHORTCUT= 27, + MSIDBERROR_STRINGOVERFLOW = 28, + MSIDBERROR_BADLOCALIZEATTRIB = 29 +} MSIDBERROR; + +typedef enum tagMSIDBSTATE +{ + MSIDBSTATE_ERROR = -1, + MSIDBSTATE_READ = 0, + MSIDBSTATE_WRITE = 1 +} MSIDBSTATE; + +typedef enum tagMSITRANSFORM_VALIDATE +{ + MSITRANSFORM_VALIDATE_LANGUAGE = 0x00000001, + MSITRANSFORM_VALIDATE_PRODUCT = 0x00000002, + MSITRANSFORM_VALIDATE_PLATFORM = 0x00000004, + MSITRANSFORM_VALIDATE_MAJORVERSION = 0x00000008, + MSITRANSFORM_VALIDATE_MINORVERSION = 0x00000010, + MSITRANSFORM_VALIDATE_UPDATEVERSION = 0x00000020, + MSITRANSFORM_VALIDATE_NEWLESSBASEVERSION = 0x00000040, + MSITRANSFORM_VALIDATE_NEWLESSEQUALBASEVERSION = 0x00000080, + MSITRANSFORM_VALIDATE_NEWEQUALBASEVERSION = 0x00000100, + MSITRANSFORM_VALIDATE_NEWGREATEREQUALBASEVERSION = 0x00000200, + MSITRANSFORM_VALIDATE_NEWGREATERBASEVERSION = 0x00000400, + MSITRANSFORM_VALIDATE_UPGRADECODE = 0x00000800 +} MSITRANSFORM_VALIDATE; + +#ifdef __cplusplus +extern "C" { +#endif + +/* view manipulation */ +UINT WINAPI MsiViewFetch(MSIHANDLE,MSIHANDLE*); +UINT WINAPI MsiViewExecute(MSIHANDLE,MSIHANDLE); +UINT WINAPI MsiViewClose(MSIHANDLE); +UINT WINAPI MsiDatabaseOpenViewA(MSIHANDLE,LPCSTR,MSIHANDLE*); +UINT WINAPI MsiDatabaseOpenViewW(MSIHANDLE,LPCWSTR,MSIHANDLE*); +#define MsiDatabaseOpenView WINELIB_NAME_AW(MsiDatabaseOpenView) +MSIDBERROR WINAPI MsiViewGetErrorA(MSIHANDLE,LPSTR,LPDWORD); +MSIDBERROR WINAPI MsiViewGetErrorW(MSIHANDLE,LPWSTR,LPDWORD); +#define MsiViewGetError WINELIB_NAME_AW(MsiViewGetError) + +MSIDBSTATE WINAPI MsiGetDatabaseState(MSIHANDLE); + +/* record manipulation */ +MSIHANDLE WINAPI MsiCreateRecord(UINT); +UINT WINAPI MsiRecordClearData(MSIHANDLE); +UINT WINAPI MsiRecordSetInteger(MSIHANDLE,UINT,int); +UINT WINAPI MsiRecordSetStringA(MSIHANDLE,UINT,LPCSTR); +UINT WINAPI MsiRecordSetStringW(MSIHANDLE,UINT,LPCWSTR); +#define MsiRecordSetString WINELIB_NAME_AW(MsiRecordSetString) +UINT WINAPI MsiRecordGetStringA(MSIHANDLE,UINT,LPSTR,LPDWORD); +UINT WINAPI MsiRecordGetStringW(MSIHANDLE,UINT,LPWSTR,LPDWORD); +#define MsiRecordGetString WINELIB_NAME_AW(MsiRecordGetString) +UINT WINAPI MsiRecordGetFieldCount(MSIHANDLE); +int WINAPI MsiRecordGetInteger(MSIHANDLE,UINT); +UINT WINAPI MsiRecordDataSize(MSIHANDLE,UINT); +BOOL WINAPI MsiRecordIsNull(MSIHANDLE,UINT); +UINT WINAPI MsiFormatRecordA(MSIHANDLE,MSIHANDLE,LPSTR,LPDWORD); +UINT WINAPI MsiFormatRecordW(MSIHANDLE,MSIHANDLE,LPWSTR,LPDWORD); +#define MsiFormatRecord WINELIB_NAME_AW(MsiFormatRecord) +UINT WINAPI MsiRecordSetStreamA(MSIHANDLE,UINT,LPCSTR); +UINT WINAPI MsiRecordSetStreamW(MSIHANDLE,UINT,LPCWSTR); +#define MsiRecordSetStream WINELIB_NAME_AW(MsiRecordSetStream) +UINT WINAPI MsiRecordReadStream(MSIHANDLE,UINT,char*,LPDWORD); + +UINT WINAPI MsiDatabaseGetPrimaryKeysA(MSIHANDLE,LPCSTR,MSIHANDLE*); +UINT WINAPI MsiDatabaseGetPrimaryKeysW(MSIHANDLE,LPCWSTR,MSIHANDLE*); +#define MsiDatabaseGetPrimaryKeys WINELIB_NAME_AW(MsiDatabaseGetPrimaryKeys) + +/* installing */ +UINT WINAPI MsiDoActionA(MSIHANDLE,LPCSTR ); +UINT WINAPI MsiDoActionW(MSIHANDLE,LPCWSTR ); +#define MsiDoAction WINELIB_NAME_AW(MsiDoAction) + +/* database transforms */ +UINT WINAPI MsiDatabaseApplyTransformA(MSIHANDLE,LPCSTR,int); +UINT WINAPI MsiDatabaseApplyTransformW(MSIHANDLE,LPCWSTR,int); +#define MsiDatabaseApplyTransform WINELIB_NAME_AW(MsiDatabaseApplyTransform) +UINT WINAPI MsiDatabaseGenerateTransformA(MSIHANDLE,MSIHANDLE,LPCSTR,int,int); +UINT WINAPI MsiDatabaseGenerateTransformW(MSIHANDLE,MSIHANDLE,LPCWSTR,int,int); +#define MsiDatabaseGenerateTransform WINELIB_NAME_AW(MsiDatabaseGenerateTransform) + +UINT WINAPI MsiDatabaseCommit(MSIHANDLE); + +/* install state */ +UINT WINAPI MsiGetFeatureStateA(MSIHANDLE,LPCSTR,INSTALLSTATE*,INSTALLSTATE*); +UINT WINAPI MsiGetFeatureStateW(MSIHANDLE,LPCWSTR,INSTALLSTATE*,INSTALLSTATE*); +#define MsiGetFeatureState WINELIB_NAME_AW(MsiGetFeatureState) +UINT WINAPI MsiGetFeatureValidStatesA(MSIHANDLE,LPCSTR,LPDWORD); +UINT WINAPI MsiGetFeatureValidStatesW(MSIHANDLE,LPCWSTR,LPDWORD); +#define MsiGetFeatureValidStates WINELIB_NAME_AW(MsiGetFeatureValidStates) +UINT WINAPI MsiSetComponentStateA(MSIHANDLE,LPCSTR,INSTALLSTATE); +UINT WINAPI MsiSetComponentStateW(MSIHANDLE,LPCWSTR,INSTALLSTATE); +#define MsiSetComponentState WINELIB_NAME_AW(MsiSetComponentState) +UINT WINAPI MsiGetComponentStateA(MSIHANDLE,LPCSTR,INSTALLSTATE*,INSTALLSTATE*); +UINT WINAPI MsiGetComponentStateW(MSIHANDLE,LPCWSTR,INSTALLSTATE*,INSTALLSTATE*); +#define MsiGetComponentState WINELIB_NAME_AW(MsiGetComponentState) + +MSICONDITION WINAPI MsiEvaluateConditionA(MSIHANDLE,LPCSTR); +MSICONDITION WINAPI MsiEvaluateConditionW(MSIHANDLE,LPCWSTR); +#define MsiEvaluateCondition WINELIB_NAME_AW(MsiEvaluateCondition) + +/* property functions */ +UINT WINAPI MsiGetPropertyA(MSIHANDLE, LPCSTR, LPSTR, LPDWORD); +UINT WINAPI MsiGetPropertyW(MSIHANDLE, LPCWSTR, LPWSTR, LPDWORD); +#define MsiGetProperty WINELIB_NAME_AW(MsiGetProperty) + +UINT WINAPI MsiSetPropertyA(MSIHANDLE, LPCSTR, LPCSTR); +UINT WINAPI MsiSetPropertyW(MSIHANDLE, LPCWSTR, LPCWSTR); +#define MsiSetProperty WINELIB_NAME_AW(MsiSetProperty) + +UINT WINAPI MsiGetTargetPathA(MSIHANDLE,LPCSTR,LPSTR,LPDWORD); +UINT WINAPI MsiGetTargetPathW(MSIHANDLE,LPCWSTR,LPWSTR,LPDWORD); +#define MsiGetTargetPath WINELIB_NAME_AW(MsiGetTargetPath) + +UINT WINAPI MsiSetTargetPathA(MSIHANDLE, LPCSTR, LPCSTR); +UINT WINAPI MsiSetTargetPathW(MSIHANDLE, LPCWSTR, LPCWSTR); +#define MsiSetTargetPath WINELIB_NAME_AW(MsiSetTargetPath) + +UINT WINAPI MsiGetSourcePathA(MSIHANDLE,LPCSTR,LPSTR,LPDWORD); +UINT WINAPI MsiGetSourcePathW(MSIHANDLE,LPCWSTR,LPWSTR,LPDWORD); +#define MsiGetSourcePath WINELIB_NAME_AW(MsiGetSourcePath) + +MSIHANDLE WINAPI MsiGetActiveDatabase(MSIHANDLE); + +UINT WINAPI MsiViewGetColumnInfo(MSIHANDLE, MSICOLINFO, MSIHANDLE*); +INT WINAPI MsiProcessMessage(MSIHANDLE, INSTALLMESSAGE, MSIHANDLE); + +UINT WINAPI MsiSetFeatureAttributesA(MSIHANDLE, LPCSTR, DWORD); +UINT WINAPI MsiSetFeatureAttributesW(MSIHANDLE, LPCWSTR, DWORD); +#define MsiSetFeatureAttributes WINELIB_NAME_AW(MsiSetFeatureAttributes) + +UINT WINAPI MsiSetFeatureStateA(MSIHANDLE, LPCSTR, INSTALLSTATE); +UINT WINAPI MsiSetFeatureStateW(MSIHANDLE, LPCWSTR, INSTALLSTATE); +#define MsiSetFeatureState WINELIB_NAME_AW(MsiSetFeatureState) + +UINT WINAPI MsiPreviewDialogA(MSIHANDLE, LPCSTR); +UINT WINAPI MsiPreviewDialogW(MSIHANDLE, LPCWSTR); +#define MsiPreviewDialog WINELIB_NAME_AW(MsiPreviewDialog) + +UINT WINAPI MsiPreviewBillboardA(MSIHANDLE, LPCSTR, LPCSTR); +UINT WINAPI MsiPreviewBillboardW(MSIHANDLE, LPCWSTR, LPCWSTR); +#define MsiPreviewBillboard WINELIB_NAME_AW(MsiPreviewBillboard) + +UINT WINAPI MsiCreateTransformSummaryInfoA(MSIHANDLE, MSIHANDLE, LPCSTR, int, int); +UINT WINAPI MsiCreateTransformSummaryInfoW(MSIHANDLE, MSIHANDLE, LPCWSTR, int, int); +#define MsiCreateTransformSummaryInfo WINELIB_NAME_AW(MsiCreateTransformSummaryInfo) + +UINT WINAPI MsiGetSummaryInformationA(MSIHANDLE, LPCSTR, UINT, MSIHANDLE *); +UINT WINAPI MsiGetSummaryInformationW(MSIHANDLE, LPCWSTR, UINT, MSIHANDLE *); +#define MsiGetSummaryInformation WINELIB_NAME_AW(MsiGetSummaryInformation) + +UINT WINAPI MsiSummaryInfoGetPropertyA(MSIHANDLE,UINT,PUINT,LPINT,FILETIME*,LPSTR,LPDWORD); +UINT WINAPI MsiSummaryInfoGetPropertyW(MSIHANDLE,UINT,PUINT,LPINT,FILETIME*,LPWSTR,LPDWORD); +#define MsiSummaryInfoGetProperty WINELIB_NAME_AW(MsiSummaryInfoGetProperty) + +UINT WINAPI MsiSummaryInfoSetPropertyA(MSIHANDLE, UINT, UINT, INT, FILETIME*, LPCSTR); +UINT WINAPI MsiSummaryInfoSetPropertyW(MSIHANDLE, UINT, UINT, INT, FILETIME*, LPCWSTR); +#define MsiSummaryInfoSetProperty WINELIB_NAME_AW(MsiSummaryInfoSetProperty) + +UINT WINAPI MsiDatabaseExportA(MSIHANDLE, LPCSTR, LPCSTR, LPCSTR); +UINT WINAPI MsiDatabaseExportW(MSIHANDLE, LPCWSTR, LPCWSTR, LPCWSTR); +#define MsiDatabaseExport WINELIB_NAME_AW(MsiDatabaseExport) + +UINT WINAPI MsiDatabaseImportA(MSIHANDLE, LPCSTR, LPCSTR); +UINT WINAPI MsiDatabaseImportW(MSIHANDLE, LPCWSTR, LPCWSTR); +#define MsiDatabaseImport WINELIB_NAME_AW(MsiDatabaseImport) + +UINT WINAPI MsiOpenDatabaseW(LPCWSTR, LPCWSTR, MSIHANDLE*); +UINT WINAPI MsiOpenDatabaseA(LPCSTR, LPCSTR, MSIHANDLE*); +#define MsiOpenDatabase WINELIB_NAME_AW(MsiOpenDatabase) + +MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(MSIHANDLE, LPCSTR); +MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(MSIHANDLE, LPCWSTR); +#define MsiDatabaseIsTablePersistent WINELIB_NAME_AW(MsiDatabaseIsTablePersistent) + +UINT WINAPI MsiSequenceA(MSIHANDLE, LPCSTR, INT); +UINT WINAPI MsiSequenceW(MSIHANDLE, LPCWSTR, INT); +#define MsiSequence WINELIB_NAME_AW(MsiSequence) + +UINT WINAPI MsiSummaryInfoPersist(MSIHANDLE); +UINT WINAPI MsiSummaryInfoGetPropertyCount(MSIHANDLE,PUINT); + +UINT WINAPI MsiEnableUIPreview(MSIHANDLE, MSIHANDLE*); +BOOL WINAPI MsiGetMode(MSIHANDLE, MSIRUNMODE); +UINT WINAPI MsiSetMode(MSIHANDLE, MSIRUNMODE, BOOL); + +UINT WINAPI MsiViewModify(MSIHANDLE, MSIMODIFY, MSIHANDLE); + +UINT WINAPI MsiGetFeatureCostA(MSIHANDLE, LPCSTR, MSICOSTTREE, INSTALLSTATE, LPINT); +UINT WINAPI MsiGetFeatureCostW(MSIHANDLE, LPCWSTR, MSICOSTTREE, INSTALLSTATE, LPINT); +#define MsiGetFeatureCost WINELIB_NAME_AW(MsiGetFeatureCost) + +LANGID WINAPI MsiGetLanguage(MSIHANDLE); + +UINT WINAPI MsiSetInstallLevel(MSIHANDLE, int); + +MSIHANDLE WINAPI MsiGetLastErrorRecord(void); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_MSIQUERY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mssip.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mssip.h new file mode 100644 index 0000000..c14f02d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mssip.h @@ -0,0 +1,183 @@ +/* + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_MSSIP_H +#define __WINE_MSSIP_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/**********************************************************************/ + +typedef CRYPT_HASH_BLOB CRYPT_DIGEST_DATA; + +/**********************************************************************/ + +#define MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE 0x00010000 +#define MSSIP_FLAGS_USE_CATALOG 0x00020000 + +#define SPC_INC_PE_RESOURCES_FLAG 0x80 +#define SPC_INC_PE_DEBUG_INFO_FLAG 0x40 +#define SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG 0x20 + +#define MSSIP_ADDINFO_NONE 0 +#define MSSIP_ADDINFO_FLAT 1 +#define MSSIP_ADDINFO_CATMEMBER 2 +#define MSSIP_ADDINFO_BLOB 3 +#define MSSIP_ADDINFO_NONMSSIP 500 + +#define SIP_MAX_MAGIC_NUMBER 4 + +/**********************************************************************/ + +#include +typedef struct SIP_SUBJECTINFO_ { + DWORD cbSize; + GUID *pgSubjectType; + HANDLE hFile; + LPCWSTR pwsFileName; + LPCWSTR pwsDisplayName; + + DWORD dwReserved1; + DWORD dwIntVersion; + + HCRYPTPROV hProv; + CRYPT_ALGORITHM_IDENTIFIER DigestAlgorithm; + DWORD dwFlags; + DWORD dwEncodingType; + DWORD dwReserved2; + DWORD fdwCAPISettings; + DWORD fdwSecuritySettings; + DWORD dwIndex; + + DWORD dwUnionChoice; + union { + struct MS_ADDINFO_FLAT_ *psFlat; + struct MS_ADDINFO_CATALOGMEMBER_ *psCatMember; + struct MS_ADDINFO_BLOB_ *psBlob; + } DUMMYUNIONNAME; + + LPVOID pClientData; +} SIP_SUBJECTINFO, *LPSIP_SUBJECTINFO; +#include + +#include +typedef struct MS_ADDINFO_FLAT_ { + DWORD cbStruct; + + struct SIP_INDIRECT_DATA_ *pIndirectData; +} MS_ADDINFO_FLAT, *PMS_ADDINFO_FLAT; +#include + +#include +typedef struct MS_ADDINFO_CATALOGMEMBER_ { + DWORD cbStruct; + + struct CRYPTCATSTORE_ *pStore; + struct CRYPTCATMEMBER_ *pMember; +} MS_ADDINFO_CATALOGMEMBER, *PMS_ADDINFO_CATALOGMEMBER; +#include + +#include +typedef struct MS_ADDINFO_BLOB_ { + DWORD cbStruct; + + DWORD cbMemObject; + BYTE *pbMemObject; + + DWORD cbMemSignedMsg; + BYTE *pbMemSignedMsg; +} MS_ADDINFO_BLOB, *PMS_ADDINFO_BLOB; +#include + +#include +typedef struct SIP_INDIRECT_DATA_ { + CRYPT_ATTRIBUTE_TYPE_VALUE Data; + CRYPT_ALGORITHM_IDENTIFIER DigestAlgorithm; + CRYPT_HASH_BLOB Digest; +} SIP_INDIRECT_DATA, *PSIP_INDIRECT_DATA; +#include + +typedef BOOL (WINAPI * pCryptSIPGetSignedDataMsg)(SIP_SUBJECTINFO *,DWORD *,DWORD,DWORD *,BYTE *); +typedef BOOL (WINAPI * pCryptSIPPutSignedDataMsg)(SIP_SUBJECTINFO *,DWORD,DWORD *,DWORD,BYTE *); +typedef BOOL (WINAPI * pCryptSIPCreateIndirectData)(SIP_SUBJECTINFO *,DWORD *,SIP_INDIRECT_DATA *); +typedef BOOL (WINAPI * pCryptSIPVerifyIndirectData)(SIP_SUBJECTINFO *,SIP_INDIRECT_DATA *); +typedef BOOL (WINAPI * pCryptSIPRemoveSignedDataMsg)(SIP_SUBJECTINFO *,DWORD); + +#include +typedef struct SIP_DISPATCH_INFO_ { + DWORD cbSize; + + HANDLE hSIP; + + pCryptSIPGetSignedDataMsg pfGet; + pCryptSIPPutSignedDataMsg pfPut; + pCryptSIPCreateIndirectData pfCreate; + pCryptSIPVerifyIndirectData pfVerify; + pCryptSIPRemoveSignedDataMsg pfRemove; +} SIP_DISPATCH_INFO, *LPSIP_DISPATCH_INFO; +#include + +typedef BOOL (WINAPI *pfnIsFileSupported)(HANDLE,GUID *); +typedef BOOL (WINAPI *pfnIsFileSupportedName)(WCHAR *,GUID *); + +#include +typedef struct SIP_ADD_NEWPROVIDER_ +{ + DWORD cbStruct; + + GUID *pgSubject; + + WCHAR *pwszDLLFileName; + WCHAR *pwszMagicNumber; + + WCHAR *pwszIsFunctionName; + + WCHAR *pwszGetFuncName; + WCHAR *pwszPutFuncName; + WCHAR *pwszCreateFuncName; + WCHAR *pwszVerifyFuncName; + WCHAR *pwszRemoveFuncName; + + WCHAR *pwszIsFunctionNameFmt2; + + /* NTDDI_VERSION >= NTDDI_WIN8 */ + WCHAR *pwszGetCapFuncName; +} SIP_ADD_NEWPROVIDER, *PSIP_ADD_NEWPROVIDER; +#include + +/**********************************************************************/ + +BOOL WINAPI CryptSIPGetSignedDataMsg(SIP_SUBJECTINFO *,DWORD *,DWORD,DWORD *,BYTE *); +BOOL WINAPI CryptSIPPutSignedDataMsg(SIP_SUBJECTINFO *,DWORD,DWORD *,DWORD,BYTE *); +BOOL WINAPI CryptSIPCreateIndirectData(SIP_SUBJECTINFO *,DWORD *,SIP_INDIRECT_DATA *); +BOOL WINAPI CryptSIPVerifyIndirectData(SIP_SUBJECTINFO *,SIP_INDIRECT_DATA *); +BOOL WINAPI CryptSIPRemoveSignedDataMsg(SIP_SUBJECTINFO *,DWORD); + +BOOL WINAPI CryptSIPLoad(const GUID *,DWORD,SIP_DISPATCH_INFO *); +BOOL WINAPI CryptSIPRetrieveSubjectGuid(LPCWSTR,HANDLE,GUID *); +BOOL WINAPI CryptSIPRetrieveSubjectGuidForCatalogFile(LPCWSTR,HANDLE,GUID *); +BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *); +BOOL WINAPI CryptSIPRemoveProvider(GUID *); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_MSSIP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msstkppg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msstkppg.h new file mode 100644 index 0000000..bf53aaa --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msstkppg.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _MS_STOCK_PROP_PAGES_H_ +#define _MS_STOCK_PROP_PAGES_H_ + +DEFINE_GUID(CLSID_StockColorPage, 0x7ebdaae1, 0x8120, 0x11cf, 0x89, 0x9f, 0x0, 0xaa, 0x0, 0x68, 0x8b, 0x10); +DEFINE_GUID(CLSID_StockFontPage, 0x7ebdaae0, 0x8120, 0x11cf, 0x89, 0x9f, 0x0, 0xaa, 0x0, 0x68, 0x8b, 0x10); +DEFINE_GUID(CLSID_StockPicturePage, 0x7ebdaae2, 0x8120, 0x11cf, 0x89, 0x9f, 0x0, 0xaa, 0x0, 0x68, 0x8b, 0x10); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstask.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstask.h new file mode 100644 index 0000000..37da3b3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstask.h @@ -0,0 +1,1530 @@ +/*** Autogenerated by WIDL 2.18 from mstask.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __mstask_h__ +#define __mstask_h__ + +/* Forward declarations */ + +#ifndef __IEnumWorkItems_FWD_DEFINED__ +#define __IEnumWorkItems_FWD_DEFINED__ +typedef interface IEnumWorkItems IEnumWorkItems; +#ifdef __cplusplus +interface IEnumWorkItems; +#endif /* __cplusplus */ +#endif + +#ifndef __IProvideTaskPage_FWD_DEFINED__ +#define __IProvideTaskPage_FWD_DEFINED__ +typedef interface IProvideTaskPage IProvideTaskPage; +#ifdef __cplusplus +interface IProvideTaskPage; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskTrigger_FWD_DEFINED__ +#define __ITaskTrigger_FWD_DEFINED__ +typedef interface ITaskTrigger ITaskTrigger; +#ifdef __cplusplus +interface ITaskTrigger; +#endif /* __cplusplus */ +#endif + +#ifndef __IScheduledWorkItem_FWD_DEFINED__ +#define __IScheduledWorkItem_FWD_DEFINED__ +typedef interface IScheduledWorkItem IScheduledWorkItem; +#ifdef __cplusplus +interface IScheduledWorkItem; +#endif /* __cplusplus */ +#endif + +#ifndef __ITask_FWD_DEFINED__ +#define __ITask_FWD_DEFINED__ +typedef interface ITask ITask; +#ifdef __cplusplus +interface ITask; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskScheduler_FWD_DEFINED__ +#define __ITaskScheduler_FWD_DEFINED__ +typedef interface ITaskScheduler ITaskScheduler; +#ifdef __cplusplus +interface ITaskScheduler; +#endif /* __cplusplus */ +#endif + +#ifndef __CTaskScheduler_FWD_DEFINED__ +#define __CTaskScheduler_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CTaskScheduler CTaskScheduler; +#else +typedef struct CTaskScheduler CTaskScheduler; +#endif /* defined __cplusplus */ +#endif /* defined __CTaskScheduler_FWD_DEFINED__ */ + +#ifndef __CTask_FWD_DEFINED__ +#define __CTask_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CTask CTask; +#else +typedef struct CTask CTask; +#endif /* defined __cplusplus */ +#endif /* defined __CTask_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define TASK_SUNDAY 0x1 +#define TASK_MONDAY 0x2 +#define TASK_TUESDAY 0x4 +#define TASK_WEDNESDAY 0x8 +#define TASK_THURSDAY 0x10 +#define TASK_FRIDAY 0x20 +#define TASK_SATURDAY 0x40 +#define TASK_FIRST_WEEK 1 +#define TASK_SECOND_WEEK 2 +#define TASK_THIRD_WEEK 3 +#define TASK_FOURTH_WEEK 4 +#define TASK_LAST_WEEK 5 +#define TASK_JANUARY 0x1 +#define TASK_FEBRUARY 0x2 +#define TASK_MARCH 0x4 +#define TASK_APRIL 0x8 +#define TASK_MAY 0x10 +#define TASK_JUNE 0x20 +#define TASK_JULY 0x40 +#define TASK_AUGUST 0x80 +#define TASK_SEPTEMBER 0x100 +#define TASK_OCTOBER 0x200 +#define TASK_NOVEMBER 0x400 +#define TASK_DECEMBER 0x800 +#define TASK_TRIGGER_FLAG_HAS_END_DATE 0x1 +#define TASK_TRIGGER_FLAG_KILL_AT_DURATION_END 0x2 +#define TASK_TRIGGER_FLAG_DISABLED 0x4 +/***************************************************************************** + * IEnumWorkItems interface + */ +#ifndef __IEnumWorkItems_INTERFACE_DEFINED__ +#define __IEnumWorkItems_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumWorkItems, 0x148bd528, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("148bd528-a2ab-11ce-b11f-00aa00530503") +IEnumWorkItems : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + LPWSTR **rgpwszNames, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumWorkItems **ppEnumWorkItems) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumWorkItems, 0x148bd528, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03) +#endif +#else +typedef struct IEnumWorkItemsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumWorkItems *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumWorkItems *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumWorkItems *This); + + /*** IEnumWorkItems methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumWorkItems *This, + ULONG celt, + LPWSTR **rgpwszNames, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumWorkItems *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumWorkItems *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumWorkItems *This, + IEnumWorkItems **ppEnumWorkItems); + + END_INTERFACE +} IEnumWorkItemsVtbl; + +interface IEnumWorkItems { + CONST_VTBL IEnumWorkItemsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumWorkItems_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumWorkItems_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumWorkItems_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumWorkItems methods ***/ +#define IEnumWorkItems_Next(This,celt,rgpwszNames,pceltFetched) (This)->lpVtbl->Next(This,celt,rgpwszNames,pceltFetched) +#define IEnumWorkItems_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumWorkItems_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumWorkItems_Clone(This,ppEnumWorkItems) (This)->lpVtbl->Clone(This,ppEnumWorkItems) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumWorkItems_QueryInterface(IEnumWorkItems* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumWorkItems_AddRef(IEnumWorkItems* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumWorkItems_Release(IEnumWorkItems* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumWorkItems methods ***/ +static FORCEINLINE HRESULT IEnumWorkItems_Next(IEnumWorkItems* This,ULONG celt,LPWSTR **rgpwszNames,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgpwszNames,pceltFetched); +} +static FORCEINLINE HRESULT IEnumWorkItems_Skip(IEnumWorkItems* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumWorkItems_Reset(IEnumWorkItems* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumWorkItems_Clone(IEnumWorkItems* This,IEnumWorkItems **ppEnumWorkItems) { + return This->lpVtbl->Clone(This,ppEnumWorkItems); +} +#endif +#endif + +#endif + + +#endif /* __IEnumWorkItems_INTERFACE_DEFINED__ */ + +#ifndef _HPROPSHEETPAGE_DEFINED +typedef struct _PSP *HPROPSHEETPAGE; +#define _HPROPSHEETPAGE_DEFINED +#endif +/***************************************************************************** + * IProvideTaskPage interface + */ +#ifndef __IProvideTaskPage_INTERFACE_DEFINED__ +#define __IProvideTaskPage_INTERFACE_DEFINED__ + +typedef enum _TASKPAGE { + TASKPAGE_TASK = 0, + TASKPAGE_SCHEDULE = 1, + TASKPAGE_SETTINGS = 2 +} TASKPAGE; +DEFINE_GUID(IID_IProvideTaskPage, 0x4086658a, 0xcbbb, 0x11cf, 0xb6,0x04, 0x00,0xc0,0x4f,0xd8,0xd5,0x65); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4086658a-cbbb-11cf-b604-00c04fd8d565") +IProvideTaskPage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPage( + TASKPAGE tpType, + BOOL fPersistChanges, + HPROPSHEETPAGE *phPage) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProvideTaskPage, 0x4086658a, 0xcbbb, 0x11cf, 0xb6,0x04, 0x00,0xc0,0x4f,0xd8,0xd5,0x65) +#endif +#else +typedef struct IProvideTaskPageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProvideTaskPage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProvideTaskPage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProvideTaskPage *This); + + /*** IProvideTaskPage methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPage)( + IProvideTaskPage *This, + TASKPAGE tpType, + BOOL fPersistChanges, + HPROPSHEETPAGE *phPage); + + END_INTERFACE +} IProvideTaskPageVtbl; + +interface IProvideTaskPage { + CONST_VTBL IProvideTaskPageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProvideTaskPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProvideTaskPage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProvideTaskPage_Release(This) (This)->lpVtbl->Release(This) +/*** IProvideTaskPage methods ***/ +#define IProvideTaskPage_GetPage(This,tpType,fPersistChanges,phPage) (This)->lpVtbl->GetPage(This,tpType,fPersistChanges,phPage) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProvideTaskPage_QueryInterface(IProvideTaskPage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProvideTaskPage_AddRef(IProvideTaskPage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProvideTaskPage_Release(IProvideTaskPage* This) { + return This->lpVtbl->Release(This); +} +/*** IProvideTaskPage methods ***/ +static FORCEINLINE HRESULT IProvideTaskPage_GetPage(IProvideTaskPage* This,TASKPAGE tpType,BOOL fPersistChanges,HPROPSHEETPAGE *phPage) { + return This->lpVtbl->GetPage(This,tpType,fPersistChanges,phPage); +} +#endif +#endif + +#endif + + +#endif /* __IProvideTaskPage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskTrigger interface + */ +#ifndef __ITaskTrigger_INTERFACE_DEFINED__ +#define __ITaskTrigger_INTERFACE_DEFINED__ + +typedef enum _TASK_TRIGGER_TYPE { + TASK_TIME_TRIGGER_ONCE = 0, + TASK_TIME_TRIGGER_DAILY = 1, + TASK_TIME_TRIGGER_WEEKLY = 2, + TASK_TIME_TRIGGER_MONTHLYDATE = 3, + TASK_TIME_TRIGGER_MONTHLYDOW = 4, + TASK_EVENT_TRIGGER_ON_IDLE = 5, + TASK_EVENT_TRIGGER_AT_SYSTEMSTART = 6, + TASK_EVENT_TRIGGER_AT_LOGON = 7 +} TASK_TRIGGER_TYPE; +typedef enum _TASK_TRIGGER_TYPE *PTASK_TRIGGER_TYPE; +typedef struct _DAILY { + WORD DaysInterval; +} DAILY; +typedef struct _WEEKLY { + WORD WeeksInterval; + WORD rgfDaysOfTheWeek; +} WEEKLY; +typedef struct _MONTHLYDATE { + DWORD rgfDays; + WORD rgfMonths; +} MONTHLYDATE; +typedef struct _MONTHLYDOW { + WORD wWhichWeek; + WORD rgfDaysOfTheWeek; + WORD rgfMonths; +} MONTHLYDOW; +typedef union _TRIGGER_TYPE_UNION { + DAILY Daily; + WEEKLY Weekly; + MONTHLYDATE MonthlyDate; + MONTHLYDOW MonthlyDOW; +} TRIGGER_TYPE_UNION; +typedef struct _TASK_TRIGGER { + WORD cbTriggerSize; + WORD Reserved1; + WORD wBeginYear; + WORD wBeginMonth; + WORD wBeginDay; + WORD wEndYear; + WORD wEndMonth; + WORD wEndDay; + WORD wStartHour; + WORD wStartMinute; + DWORD MinutesDuration; + DWORD MinutesInterval; + DWORD rgFlags; + TASK_TRIGGER_TYPE TriggerType; + TRIGGER_TYPE_UNION Type; + WORD Reserved2; + WORD wRandomMinutesInterval; +} TASK_TRIGGER; +typedef struct _TASK_TRIGGER *PTASK_TRIGGER; +DEFINE_GUID(IID_ITaskTrigger, 0x148bd52b, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("148bd52b-a2ab-11ce-b11f-00aa00530503") +ITaskTrigger : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetTrigger( + const PTASK_TRIGGER pTrigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTrigger( + PTASK_TRIGGER pTrigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTriggerString( + LPWSTR *ppwszTrigger) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskTrigger, 0x148bd52b, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03) +#endif +#else +typedef struct ITaskTriggerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskTrigger *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskTrigger *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskTrigger *This); + + /*** ITaskTrigger methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTrigger)( + ITaskTrigger *This, + const PTASK_TRIGGER pTrigger); + + HRESULT (STDMETHODCALLTYPE *GetTrigger)( + ITaskTrigger *This, + PTASK_TRIGGER pTrigger); + + HRESULT (STDMETHODCALLTYPE *GetTriggerString)( + ITaskTrigger *This, + LPWSTR *ppwszTrigger); + + END_INTERFACE +} ITaskTriggerVtbl; + +interface ITaskTrigger { + CONST_VTBL ITaskTriggerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskTrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskTrigger_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskTrigger_Release(This) (This)->lpVtbl->Release(This) +/*** ITaskTrigger methods ***/ +#define ITaskTrigger_SetTrigger(This,pTrigger) (This)->lpVtbl->SetTrigger(This,pTrigger) +#define ITaskTrigger_GetTrigger(This,pTrigger) (This)->lpVtbl->GetTrigger(This,pTrigger) +#define ITaskTrigger_GetTriggerString(This,ppwszTrigger) (This)->lpVtbl->GetTriggerString(This,ppwszTrigger) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskTrigger_QueryInterface(ITaskTrigger* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskTrigger_AddRef(ITaskTrigger* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskTrigger_Release(ITaskTrigger* This) { + return This->lpVtbl->Release(This); +} +/*** ITaskTrigger methods ***/ +static FORCEINLINE HRESULT ITaskTrigger_SetTrigger(ITaskTrigger* This,const PTASK_TRIGGER pTrigger) { + return This->lpVtbl->SetTrigger(This,pTrigger); +} +static FORCEINLINE HRESULT ITaskTrigger_GetTrigger(ITaskTrigger* This,PTASK_TRIGGER pTrigger) { + return This->lpVtbl->GetTrigger(This,pTrigger); +} +static FORCEINLINE HRESULT ITaskTrigger_GetTriggerString(ITaskTrigger* This,LPWSTR *ppwszTrigger) { + return This->lpVtbl->GetTriggerString(This,ppwszTrigger); +} +#endif +#endif + +#endif + + +#endif /* __ITaskTrigger_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IScheduledWorkItem interface + */ +#ifndef __IScheduledWorkItem_INTERFACE_DEFINED__ +#define __IScheduledWorkItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IScheduledWorkItem, 0xa6b952f0, 0xa4b1, 0x11d0, 0x99,0x7d, 0x00,0xaa,0x00,0x68,0x87,0xec); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6b952f0-a4b1-11d0-997d-00aa006887ec") +IScheduledWorkItem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateTrigger( + WORD *piNewTrigger, + ITaskTrigger **ppTrigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteTrigger( + WORD iTrigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTriggerCount( + WORD *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTrigger( + WORD iTrigger, + ITaskTrigger **ppTrigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTriggerString( + WORD iTrigger, + LPWSTR *ppwszTrigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRunTimes( + const LPSYSTEMTIME pstBegin, + const LPSYSTEMTIME pstEnd, + WORD *pCount, + LPSYSTEMTIME *rgstTaskTimes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextRunTime( + SYSTEMTIME *pstNextRun) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIdleWait( + WORD wIdleMinutes, + WORD wDeadlineMinutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIdleWait( + WORD *pwIdleMinutes, + WORD *pwDeadlineMinutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Run( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Terminate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EditWorkItem( + HWND hParent, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMostRecentRunTime( + SYSTEMTIME *pstLastRun) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + HRESULT *phrStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExitCode( + DWORD *pdwExitCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetComment( + LPCWSTR pwszComment) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetComment( + LPWSTR *ppwszComment) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCreator( + LPCWSTR pwszCreator) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCreator( + LPWSTR *ppwszCreator) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWorkItemData( + WORD cBytes, + BYTE rgbData[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWorkItemData( + WORD *pcBytes, + BYTE **ppBytes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetErrorRetryCount( + WORD wRetryCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorRetryCount( + WORD *pwRetryCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetErrorRetryInterval( + WORD wRetryInterval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorRetryInterval( + WORD *pwRetryInterval) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFlags( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlags( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAccountInformation( + LPCWSTR pwszAccountName, + LPCWSTR pwszPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAccountInformation( + LPWSTR *ppwszAccountName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IScheduledWorkItem, 0xa6b952f0, 0xa4b1, 0x11d0, 0x99,0x7d, 0x00,0xaa,0x00,0x68,0x87,0xec) +#endif +#else +typedef struct IScheduledWorkItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IScheduledWorkItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IScheduledWorkItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IScheduledWorkItem *This); + + /*** IScheduledWorkItem methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTrigger)( + IScheduledWorkItem *This, + WORD *piNewTrigger, + ITaskTrigger **ppTrigger); + + HRESULT (STDMETHODCALLTYPE *DeleteTrigger)( + IScheduledWorkItem *This, + WORD iTrigger); + + HRESULT (STDMETHODCALLTYPE *GetTriggerCount)( + IScheduledWorkItem *This, + WORD *plCount); + + HRESULT (STDMETHODCALLTYPE *GetTrigger)( + IScheduledWorkItem *This, + WORD iTrigger, + ITaskTrigger **ppTrigger); + + HRESULT (STDMETHODCALLTYPE *GetTriggerString)( + IScheduledWorkItem *This, + WORD iTrigger, + LPWSTR *ppwszTrigger); + + HRESULT (STDMETHODCALLTYPE *GetRunTimes)( + IScheduledWorkItem *This, + const LPSYSTEMTIME pstBegin, + const LPSYSTEMTIME pstEnd, + WORD *pCount, + LPSYSTEMTIME *rgstTaskTimes); + + HRESULT (STDMETHODCALLTYPE *GetNextRunTime)( + IScheduledWorkItem *This, + SYSTEMTIME *pstNextRun); + + HRESULT (STDMETHODCALLTYPE *SetIdleWait)( + IScheduledWorkItem *This, + WORD wIdleMinutes, + WORD wDeadlineMinutes); + + HRESULT (STDMETHODCALLTYPE *GetIdleWait)( + IScheduledWorkItem *This, + WORD *pwIdleMinutes, + WORD *pwDeadlineMinutes); + + HRESULT (STDMETHODCALLTYPE *Run)( + IScheduledWorkItem *This); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + IScheduledWorkItem *This); + + HRESULT (STDMETHODCALLTYPE *EditWorkItem)( + IScheduledWorkItem *This, + HWND hParent, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *GetMostRecentRunTime)( + IScheduledWorkItem *This, + SYSTEMTIME *pstLastRun); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IScheduledWorkItem *This, + HRESULT *phrStatus); + + HRESULT (STDMETHODCALLTYPE *GetExitCode)( + IScheduledWorkItem *This, + DWORD *pdwExitCode); + + HRESULT (STDMETHODCALLTYPE *SetComment)( + IScheduledWorkItem *This, + LPCWSTR pwszComment); + + HRESULT (STDMETHODCALLTYPE *GetComment)( + IScheduledWorkItem *This, + LPWSTR *ppwszComment); + + HRESULT (STDMETHODCALLTYPE *SetCreator)( + IScheduledWorkItem *This, + LPCWSTR pwszCreator); + + HRESULT (STDMETHODCALLTYPE *GetCreator)( + IScheduledWorkItem *This, + LPWSTR *ppwszCreator); + + HRESULT (STDMETHODCALLTYPE *SetWorkItemData)( + IScheduledWorkItem *This, + WORD cBytes, + BYTE rgbData[]); + + HRESULT (STDMETHODCALLTYPE *GetWorkItemData)( + IScheduledWorkItem *This, + WORD *pcBytes, + BYTE **ppBytes); + + HRESULT (STDMETHODCALLTYPE *SetErrorRetryCount)( + IScheduledWorkItem *This, + WORD wRetryCount); + + HRESULT (STDMETHODCALLTYPE *GetErrorRetryCount)( + IScheduledWorkItem *This, + WORD *pwRetryCount); + + HRESULT (STDMETHODCALLTYPE *SetErrorRetryInterval)( + IScheduledWorkItem *This, + WORD wRetryInterval); + + HRESULT (STDMETHODCALLTYPE *GetErrorRetryInterval)( + IScheduledWorkItem *This, + WORD *pwRetryInterval); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + IScheduledWorkItem *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + IScheduledWorkItem *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetAccountInformation)( + IScheduledWorkItem *This, + LPCWSTR pwszAccountName, + LPCWSTR pwszPassword); + + HRESULT (STDMETHODCALLTYPE *GetAccountInformation)( + IScheduledWorkItem *This, + LPWSTR *ppwszAccountName); + + END_INTERFACE +} IScheduledWorkItemVtbl; + +interface IScheduledWorkItem { + CONST_VTBL IScheduledWorkItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IScheduledWorkItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IScheduledWorkItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IScheduledWorkItem_Release(This) (This)->lpVtbl->Release(This) +/*** IScheduledWorkItem methods ***/ +#define IScheduledWorkItem_CreateTrigger(This,piNewTrigger,ppTrigger) (This)->lpVtbl->CreateTrigger(This,piNewTrigger,ppTrigger) +#define IScheduledWorkItem_DeleteTrigger(This,iTrigger) (This)->lpVtbl->DeleteTrigger(This,iTrigger) +#define IScheduledWorkItem_GetTriggerCount(This,plCount) (This)->lpVtbl->GetTriggerCount(This,plCount) +#define IScheduledWorkItem_GetTrigger(This,iTrigger,ppTrigger) (This)->lpVtbl->GetTrigger(This,iTrigger,ppTrigger) +#define IScheduledWorkItem_GetTriggerString(This,iTrigger,ppwszTrigger) (This)->lpVtbl->GetTriggerString(This,iTrigger,ppwszTrigger) +#define IScheduledWorkItem_GetRunTimes(This,pstBegin,pstEnd,pCount,rgstTaskTimes) (This)->lpVtbl->GetRunTimes(This,pstBegin,pstEnd,pCount,rgstTaskTimes) +#define IScheduledWorkItem_GetNextRunTime(This,pstNextRun) (This)->lpVtbl->GetNextRunTime(This,pstNextRun) +#define IScheduledWorkItem_SetIdleWait(This,wIdleMinutes,wDeadlineMinutes) (This)->lpVtbl->SetIdleWait(This,wIdleMinutes,wDeadlineMinutes) +#define IScheduledWorkItem_GetIdleWait(This,pwIdleMinutes,pwDeadlineMinutes) (This)->lpVtbl->GetIdleWait(This,pwIdleMinutes,pwDeadlineMinutes) +#define IScheduledWorkItem_Run(This) (This)->lpVtbl->Run(This) +#define IScheduledWorkItem_Terminate(This) (This)->lpVtbl->Terminate(This) +#define IScheduledWorkItem_EditWorkItem(This,hParent,dwReserved) (This)->lpVtbl->EditWorkItem(This,hParent,dwReserved) +#define IScheduledWorkItem_GetMostRecentRunTime(This,pstLastRun) (This)->lpVtbl->GetMostRecentRunTime(This,pstLastRun) +#define IScheduledWorkItem_GetStatus(This,phrStatus) (This)->lpVtbl->GetStatus(This,phrStatus) +#define IScheduledWorkItem_GetExitCode(This,pdwExitCode) (This)->lpVtbl->GetExitCode(This,pdwExitCode) +#define IScheduledWorkItem_SetComment(This,pwszComment) (This)->lpVtbl->SetComment(This,pwszComment) +#define IScheduledWorkItem_GetComment(This,ppwszComment) (This)->lpVtbl->GetComment(This,ppwszComment) +#define IScheduledWorkItem_SetCreator(This,pwszCreator) (This)->lpVtbl->SetCreator(This,pwszCreator) +#define IScheduledWorkItem_GetCreator(This,ppwszCreator) (This)->lpVtbl->GetCreator(This,ppwszCreator) +#define IScheduledWorkItem_SetWorkItemData(This,cBytes,rgbData) (This)->lpVtbl->SetWorkItemData(This,cBytes,rgbData) +#define IScheduledWorkItem_GetWorkItemData(This,pcBytes,ppBytes) (This)->lpVtbl->GetWorkItemData(This,pcBytes,ppBytes) +#define IScheduledWorkItem_SetErrorRetryCount(This,wRetryCount) (This)->lpVtbl->SetErrorRetryCount(This,wRetryCount) +#define IScheduledWorkItem_GetErrorRetryCount(This,pwRetryCount) (This)->lpVtbl->GetErrorRetryCount(This,pwRetryCount) +#define IScheduledWorkItem_SetErrorRetryInterval(This,wRetryInterval) (This)->lpVtbl->SetErrorRetryInterval(This,wRetryInterval) +#define IScheduledWorkItem_GetErrorRetryInterval(This,pwRetryInterval) (This)->lpVtbl->GetErrorRetryInterval(This,pwRetryInterval) +#define IScheduledWorkItem_SetFlags(This,dwFlags) (This)->lpVtbl->SetFlags(This,dwFlags) +#define IScheduledWorkItem_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define IScheduledWorkItem_SetAccountInformation(This,pwszAccountName,pwszPassword) (This)->lpVtbl->SetAccountInformation(This,pwszAccountName,pwszPassword) +#define IScheduledWorkItem_GetAccountInformation(This,ppwszAccountName) (This)->lpVtbl->GetAccountInformation(This,ppwszAccountName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IScheduledWorkItem_QueryInterface(IScheduledWorkItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IScheduledWorkItem_AddRef(IScheduledWorkItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IScheduledWorkItem_Release(IScheduledWorkItem* This) { + return This->lpVtbl->Release(This); +} +/*** IScheduledWorkItem methods ***/ +static FORCEINLINE HRESULT IScheduledWorkItem_CreateTrigger(IScheduledWorkItem* This,WORD *piNewTrigger,ITaskTrigger **ppTrigger) { + return This->lpVtbl->CreateTrigger(This,piNewTrigger,ppTrigger); +} +static FORCEINLINE HRESULT IScheduledWorkItem_DeleteTrigger(IScheduledWorkItem* This,WORD iTrigger) { + return This->lpVtbl->DeleteTrigger(This,iTrigger); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetTriggerCount(IScheduledWorkItem* This,WORD *plCount) { + return This->lpVtbl->GetTriggerCount(This,plCount); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetTrigger(IScheduledWorkItem* This,WORD iTrigger,ITaskTrigger **ppTrigger) { + return This->lpVtbl->GetTrigger(This,iTrigger,ppTrigger); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetTriggerString(IScheduledWorkItem* This,WORD iTrigger,LPWSTR *ppwszTrigger) { + return This->lpVtbl->GetTriggerString(This,iTrigger,ppwszTrigger); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetRunTimes(IScheduledWorkItem* This,const LPSYSTEMTIME pstBegin,const LPSYSTEMTIME pstEnd,WORD *pCount,LPSYSTEMTIME *rgstTaskTimes) { + return This->lpVtbl->GetRunTimes(This,pstBegin,pstEnd,pCount,rgstTaskTimes); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetNextRunTime(IScheduledWorkItem* This,SYSTEMTIME *pstNextRun) { + return This->lpVtbl->GetNextRunTime(This,pstNextRun); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetIdleWait(IScheduledWorkItem* This,WORD wIdleMinutes,WORD wDeadlineMinutes) { + return This->lpVtbl->SetIdleWait(This,wIdleMinutes,wDeadlineMinutes); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetIdleWait(IScheduledWorkItem* This,WORD *pwIdleMinutes,WORD *pwDeadlineMinutes) { + return This->lpVtbl->GetIdleWait(This,pwIdleMinutes,pwDeadlineMinutes); +} +static FORCEINLINE HRESULT IScheduledWorkItem_Run(IScheduledWorkItem* This) { + return This->lpVtbl->Run(This); +} +static FORCEINLINE HRESULT IScheduledWorkItem_Terminate(IScheduledWorkItem* This) { + return This->lpVtbl->Terminate(This); +} +static FORCEINLINE HRESULT IScheduledWorkItem_EditWorkItem(IScheduledWorkItem* This,HWND hParent,DWORD dwReserved) { + return This->lpVtbl->EditWorkItem(This,hParent,dwReserved); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetMostRecentRunTime(IScheduledWorkItem* This,SYSTEMTIME *pstLastRun) { + return This->lpVtbl->GetMostRecentRunTime(This,pstLastRun); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetStatus(IScheduledWorkItem* This,HRESULT *phrStatus) { + return This->lpVtbl->GetStatus(This,phrStatus); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetExitCode(IScheduledWorkItem* This,DWORD *pdwExitCode) { + return This->lpVtbl->GetExitCode(This,pdwExitCode); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetComment(IScheduledWorkItem* This,LPCWSTR pwszComment) { + return This->lpVtbl->SetComment(This,pwszComment); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetComment(IScheduledWorkItem* This,LPWSTR *ppwszComment) { + return This->lpVtbl->GetComment(This,ppwszComment); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetCreator(IScheduledWorkItem* This,LPCWSTR pwszCreator) { + return This->lpVtbl->SetCreator(This,pwszCreator); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetCreator(IScheduledWorkItem* This,LPWSTR *ppwszCreator) { + return This->lpVtbl->GetCreator(This,ppwszCreator); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetWorkItemData(IScheduledWorkItem* This,WORD cBytes,BYTE rgbData[]) { + return This->lpVtbl->SetWorkItemData(This,cBytes,rgbData); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetWorkItemData(IScheduledWorkItem* This,WORD *pcBytes,BYTE **ppBytes) { + return This->lpVtbl->GetWorkItemData(This,pcBytes,ppBytes); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetErrorRetryCount(IScheduledWorkItem* This,WORD wRetryCount) { + return This->lpVtbl->SetErrorRetryCount(This,wRetryCount); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetErrorRetryCount(IScheduledWorkItem* This,WORD *pwRetryCount) { + return This->lpVtbl->GetErrorRetryCount(This,pwRetryCount); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetErrorRetryInterval(IScheduledWorkItem* This,WORD wRetryInterval) { + return This->lpVtbl->SetErrorRetryInterval(This,wRetryInterval); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetErrorRetryInterval(IScheduledWorkItem* This,WORD *pwRetryInterval) { + return This->lpVtbl->GetErrorRetryInterval(This,pwRetryInterval); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetFlags(IScheduledWorkItem* This,DWORD dwFlags) { + return This->lpVtbl->SetFlags(This,dwFlags); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetFlags(IScheduledWorkItem* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT IScheduledWorkItem_SetAccountInformation(IScheduledWorkItem* This,LPCWSTR pwszAccountName,LPCWSTR pwszPassword) { + return This->lpVtbl->SetAccountInformation(This,pwszAccountName,pwszPassword); +} +static FORCEINLINE HRESULT IScheduledWorkItem_GetAccountInformation(IScheduledWorkItem* This,LPWSTR *ppwszAccountName) { + return This->lpVtbl->GetAccountInformation(This,ppwszAccountName); +} +#endif +#endif + +#endif + + +#endif /* __IScheduledWorkItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITask interface + */ +#ifndef __ITask_INTERFACE_DEFINED__ +#define __ITask_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITask, 0x148bd524, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("148bd524-a2ab-11ce-b11f-00aa00530503") +ITask : public IScheduledWorkItem +{ + virtual HRESULT STDMETHODCALLTYPE SetApplicationName( + LPCWSTR pwszApplicationName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetApplicationName( + LPWSTR *ppwszApplicationName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetParameters( + LPCWSTR pwszParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParameters( + LPWSTR *ppwszParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWorkingDirectory( + LPCWSTR pwszWorkingDirectory) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWorkingDirectory( + LPWSTR *ppwszWorkingDirectory) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPriority( + DWORD dwPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPriority( + DWORD *pdwPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTaskFlags( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTaskFlags( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMaxRunTime( + DWORD dwMaxRunTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxRunTime( + DWORD *pdwMaxRunTime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITask, 0x148bd524, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03) +#endif +#else +typedef struct ITaskVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITask *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITask *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITask *This); + + /*** IScheduledWorkItem methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTrigger)( + ITask *This, + WORD *piNewTrigger, + ITaskTrigger **ppTrigger); + + HRESULT (STDMETHODCALLTYPE *DeleteTrigger)( + ITask *This, + WORD iTrigger); + + HRESULT (STDMETHODCALLTYPE *GetTriggerCount)( + ITask *This, + WORD *plCount); + + HRESULT (STDMETHODCALLTYPE *GetTrigger)( + ITask *This, + WORD iTrigger, + ITaskTrigger **ppTrigger); + + HRESULT (STDMETHODCALLTYPE *GetTriggerString)( + ITask *This, + WORD iTrigger, + LPWSTR *ppwszTrigger); + + HRESULT (STDMETHODCALLTYPE *GetRunTimes)( + ITask *This, + const LPSYSTEMTIME pstBegin, + const LPSYSTEMTIME pstEnd, + WORD *pCount, + LPSYSTEMTIME *rgstTaskTimes); + + HRESULT (STDMETHODCALLTYPE *GetNextRunTime)( + ITask *This, + SYSTEMTIME *pstNextRun); + + HRESULT (STDMETHODCALLTYPE *SetIdleWait)( + ITask *This, + WORD wIdleMinutes, + WORD wDeadlineMinutes); + + HRESULT (STDMETHODCALLTYPE *GetIdleWait)( + ITask *This, + WORD *pwIdleMinutes, + WORD *pwDeadlineMinutes); + + HRESULT (STDMETHODCALLTYPE *Run)( + ITask *This); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + ITask *This); + + HRESULT (STDMETHODCALLTYPE *EditWorkItem)( + ITask *This, + HWND hParent, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *GetMostRecentRunTime)( + ITask *This, + SYSTEMTIME *pstLastRun); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + ITask *This, + HRESULT *phrStatus); + + HRESULT (STDMETHODCALLTYPE *GetExitCode)( + ITask *This, + DWORD *pdwExitCode); + + HRESULT (STDMETHODCALLTYPE *SetComment)( + ITask *This, + LPCWSTR pwszComment); + + HRESULT (STDMETHODCALLTYPE *GetComment)( + ITask *This, + LPWSTR *ppwszComment); + + HRESULT (STDMETHODCALLTYPE *SetCreator)( + ITask *This, + LPCWSTR pwszCreator); + + HRESULT (STDMETHODCALLTYPE *GetCreator)( + ITask *This, + LPWSTR *ppwszCreator); + + HRESULT (STDMETHODCALLTYPE *SetWorkItemData)( + ITask *This, + WORD cBytes, + BYTE rgbData[]); + + HRESULT (STDMETHODCALLTYPE *GetWorkItemData)( + ITask *This, + WORD *pcBytes, + BYTE **ppBytes); + + HRESULT (STDMETHODCALLTYPE *SetErrorRetryCount)( + ITask *This, + WORD wRetryCount); + + HRESULT (STDMETHODCALLTYPE *GetErrorRetryCount)( + ITask *This, + WORD *pwRetryCount); + + HRESULT (STDMETHODCALLTYPE *SetErrorRetryInterval)( + ITask *This, + WORD wRetryInterval); + + HRESULT (STDMETHODCALLTYPE *GetErrorRetryInterval)( + ITask *This, + WORD *pwRetryInterval); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + ITask *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + ITask *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetAccountInformation)( + ITask *This, + LPCWSTR pwszAccountName, + LPCWSTR pwszPassword); + + HRESULT (STDMETHODCALLTYPE *GetAccountInformation)( + ITask *This, + LPWSTR *ppwszAccountName); + + /*** ITask methods ***/ + HRESULT (STDMETHODCALLTYPE *SetApplicationName)( + ITask *This, + LPCWSTR pwszApplicationName); + + HRESULT (STDMETHODCALLTYPE *GetApplicationName)( + ITask *This, + LPWSTR *ppwszApplicationName); + + HRESULT (STDMETHODCALLTYPE *SetParameters)( + ITask *This, + LPCWSTR pwszParameters); + + HRESULT (STDMETHODCALLTYPE *GetParameters)( + ITask *This, + LPWSTR *ppwszParameters); + + HRESULT (STDMETHODCALLTYPE *SetWorkingDirectory)( + ITask *This, + LPCWSTR pwszWorkingDirectory); + + HRESULT (STDMETHODCALLTYPE *GetWorkingDirectory)( + ITask *This, + LPWSTR *ppwszWorkingDirectory); + + HRESULT (STDMETHODCALLTYPE *SetPriority)( + ITask *This, + DWORD dwPriority); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + ITask *This, + DWORD *pdwPriority); + + HRESULT (STDMETHODCALLTYPE *SetTaskFlags)( + ITask *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetTaskFlags)( + ITask *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetMaxRunTime)( + ITask *This, + DWORD dwMaxRunTime); + + HRESULT (STDMETHODCALLTYPE *GetMaxRunTime)( + ITask *This, + DWORD *pdwMaxRunTime); + + END_INTERFACE +} ITaskVtbl; + +interface ITask { + CONST_VTBL ITaskVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITask_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITask_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITask_Release(This) (This)->lpVtbl->Release(This) +/*** IScheduledWorkItem methods ***/ +#define ITask_CreateTrigger(This,piNewTrigger,ppTrigger) (This)->lpVtbl->CreateTrigger(This,piNewTrigger,ppTrigger) +#define ITask_DeleteTrigger(This,iTrigger) (This)->lpVtbl->DeleteTrigger(This,iTrigger) +#define ITask_GetTriggerCount(This,plCount) (This)->lpVtbl->GetTriggerCount(This,plCount) +#define ITask_GetTrigger(This,iTrigger,ppTrigger) (This)->lpVtbl->GetTrigger(This,iTrigger,ppTrigger) +#define ITask_GetTriggerString(This,iTrigger,ppwszTrigger) (This)->lpVtbl->GetTriggerString(This,iTrigger,ppwszTrigger) +#define ITask_GetRunTimes(This,pstBegin,pstEnd,pCount,rgstTaskTimes) (This)->lpVtbl->GetRunTimes(This,pstBegin,pstEnd,pCount,rgstTaskTimes) +#define ITask_GetNextRunTime(This,pstNextRun) (This)->lpVtbl->GetNextRunTime(This,pstNextRun) +#define ITask_SetIdleWait(This,wIdleMinutes,wDeadlineMinutes) (This)->lpVtbl->SetIdleWait(This,wIdleMinutes,wDeadlineMinutes) +#define ITask_GetIdleWait(This,pwIdleMinutes,pwDeadlineMinutes) (This)->lpVtbl->GetIdleWait(This,pwIdleMinutes,pwDeadlineMinutes) +#define ITask_Run(This) (This)->lpVtbl->Run(This) +#define ITask_Terminate(This) (This)->lpVtbl->Terminate(This) +#define ITask_EditWorkItem(This,hParent,dwReserved) (This)->lpVtbl->EditWorkItem(This,hParent,dwReserved) +#define ITask_GetMostRecentRunTime(This,pstLastRun) (This)->lpVtbl->GetMostRecentRunTime(This,pstLastRun) +#define ITask_GetStatus(This,phrStatus) (This)->lpVtbl->GetStatus(This,phrStatus) +#define ITask_GetExitCode(This,pdwExitCode) (This)->lpVtbl->GetExitCode(This,pdwExitCode) +#define ITask_SetComment(This,pwszComment) (This)->lpVtbl->SetComment(This,pwszComment) +#define ITask_GetComment(This,ppwszComment) (This)->lpVtbl->GetComment(This,ppwszComment) +#define ITask_SetCreator(This,pwszCreator) (This)->lpVtbl->SetCreator(This,pwszCreator) +#define ITask_GetCreator(This,ppwszCreator) (This)->lpVtbl->GetCreator(This,ppwszCreator) +#define ITask_SetWorkItemData(This,cBytes,rgbData) (This)->lpVtbl->SetWorkItemData(This,cBytes,rgbData) +#define ITask_GetWorkItemData(This,pcBytes,ppBytes) (This)->lpVtbl->GetWorkItemData(This,pcBytes,ppBytes) +#define ITask_SetErrorRetryCount(This,wRetryCount) (This)->lpVtbl->SetErrorRetryCount(This,wRetryCount) +#define ITask_GetErrorRetryCount(This,pwRetryCount) (This)->lpVtbl->GetErrorRetryCount(This,pwRetryCount) +#define ITask_SetErrorRetryInterval(This,wRetryInterval) (This)->lpVtbl->SetErrorRetryInterval(This,wRetryInterval) +#define ITask_GetErrorRetryInterval(This,pwRetryInterval) (This)->lpVtbl->GetErrorRetryInterval(This,pwRetryInterval) +#define ITask_SetFlags(This,dwFlags) (This)->lpVtbl->SetFlags(This,dwFlags) +#define ITask_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define ITask_SetAccountInformation(This,pwszAccountName,pwszPassword) (This)->lpVtbl->SetAccountInformation(This,pwszAccountName,pwszPassword) +#define ITask_GetAccountInformation(This,ppwszAccountName) (This)->lpVtbl->GetAccountInformation(This,ppwszAccountName) +/*** ITask methods ***/ +#define ITask_SetApplicationName(This,pwszApplicationName) (This)->lpVtbl->SetApplicationName(This,pwszApplicationName) +#define ITask_GetApplicationName(This,ppwszApplicationName) (This)->lpVtbl->GetApplicationName(This,ppwszApplicationName) +#define ITask_SetParameters(This,pwszParameters) (This)->lpVtbl->SetParameters(This,pwszParameters) +#define ITask_GetParameters(This,ppwszParameters) (This)->lpVtbl->GetParameters(This,ppwszParameters) +#define ITask_SetWorkingDirectory(This,pwszWorkingDirectory) (This)->lpVtbl->SetWorkingDirectory(This,pwszWorkingDirectory) +#define ITask_GetWorkingDirectory(This,ppwszWorkingDirectory) (This)->lpVtbl->GetWorkingDirectory(This,ppwszWorkingDirectory) +#define ITask_SetPriority(This,dwPriority) (This)->lpVtbl->SetPriority(This,dwPriority) +#define ITask_GetPriority(This,pdwPriority) (This)->lpVtbl->GetPriority(This,pdwPriority) +#define ITask_SetTaskFlags(This,dwFlags) (This)->lpVtbl->SetTaskFlags(This,dwFlags) +#define ITask_GetTaskFlags(This,pdwFlags) (This)->lpVtbl->GetTaskFlags(This,pdwFlags) +#define ITask_SetMaxRunTime(This,dwMaxRunTime) (This)->lpVtbl->SetMaxRunTime(This,dwMaxRunTime) +#define ITask_GetMaxRunTime(This,pdwMaxRunTime) (This)->lpVtbl->GetMaxRunTime(This,pdwMaxRunTime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITask_QueryInterface(ITask* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITask_AddRef(ITask* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITask_Release(ITask* This) { + return This->lpVtbl->Release(This); +} +/*** IScheduledWorkItem methods ***/ +static FORCEINLINE HRESULT ITask_CreateTrigger(ITask* This,WORD *piNewTrigger,ITaskTrigger **ppTrigger) { + return This->lpVtbl->CreateTrigger(This,piNewTrigger,ppTrigger); +} +static FORCEINLINE HRESULT ITask_DeleteTrigger(ITask* This,WORD iTrigger) { + return This->lpVtbl->DeleteTrigger(This,iTrigger); +} +static FORCEINLINE HRESULT ITask_GetTriggerCount(ITask* This,WORD *plCount) { + return This->lpVtbl->GetTriggerCount(This,plCount); +} +static FORCEINLINE HRESULT ITask_GetTrigger(ITask* This,WORD iTrigger,ITaskTrigger **ppTrigger) { + return This->lpVtbl->GetTrigger(This,iTrigger,ppTrigger); +} +static FORCEINLINE HRESULT ITask_GetTriggerString(ITask* This,WORD iTrigger,LPWSTR *ppwszTrigger) { + return This->lpVtbl->GetTriggerString(This,iTrigger,ppwszTrigger); +} +static FORCEINLINE HRESULT ITask_GetRunTimes(ITask* This,const LPSYSTEMTIME pstBegin,const LPSYSTEMTIME pstEnd,WORD *pCount,LPSYSTEMTIME *rgstTaskTimes) { + return This->lpVtbl->GetRunTimes(This,pstBegin,pstEnd,pCount,rgstTaskTimes); +} +static FORCEINLINE HRESULT ITask_GetNextRunTime(ITask* This,SYSTEMTIME *pstNextRun) { + return This->lpVtbl->GetNextRunTime(This,pstNextRun); +} +static FORCEINLINE HRESULT ITask_SetIdleWait(ITask* This,WORD wIdleMinutes,WORD wDeadlineMinutes) { + return This->lpVtbl->SetIdleWait(This,wIdleMinutes,wDeadlineMinutes); +} +static FORCEINLINE HRESULT ITask_GetIdleWait(ITask* This,WORD *pwIdleMinutes,WORD *pwDeadlineMinutes) { + return This->lpVtbl->GetIdleWait(This,pwIdleMinutes,pwDeadlineMinutes); +} +static FORCEINLINE HRESULT ITask_Run(ITask* This) { + return This->lpVtbl->Run(This); +} +static FORCEINLINE HRESULT ITask_Terminate(ITask* This) { + return This->lpVtbl->Terminate(This); +} +static FORCEINLINE HRESULT ITask_EditWorkItem(ITask* This,HWND hParent,DWORD dwReserved) { + return This->lpVtbl->EditWorkItem(This,hParent,dwReserved); +} +static FORCEINLINE HRESULT ITask_GetMostRecentRunTime(ITask* This,SYSTEMTIME *pstLastRun) { + return This->lpVtbl->GetMostRecentRunTime(This,pstLastRun); +} +static FORCEINLINE HRESULT ITask_GetStatus(ITask* This,HRESULT *phrStatus) { + return This->lpVtbl->GetStatus(This,phrStatus); +} +static FORCEINLINE HRESULT ITask_GetExitCode(ITask* This,DWORD *pdwExitCode) { + return This->lpVtbl->GetExitCode(This,pdwExitCode); +} +static FORCEINLINE HRESULT ITask_SetComment(ITask* This,LPCWSTR pwszComment) { + return This->lpVtbl->SetComment(This,pwszComment); +} +static FORCEINLINE HRESULT ITask_GetComment(ITask* This,LPWSTR *ppwszComment) { + return This->lpVtbl->GetComment(This,ppwszComment); +} +static FORCEINLINE HRESULT ITask_SetCreator(ITask* This,LPCWSTR pwszCreator) { + return This->lpVtbl->SetCreator(This,pwszCreator); +} +static FORCEINLINE HRESULT ITask_GetCreator(ITask* This,LPWSTR *ppwszCreator) { + return This->lpVtbl->GetCreator(This,ppwszCreator); +} +static FORCEINLINE HRESULT ITask_SetWorkItemData(ITask* This,WORD cBytes,BYTE rgbData[]) { + return This->lpVtbl->SetWorkItemData(This,cBytes,rgbData); +} +static FORCEINLINE HRESULT ITask_GetWorkItemData(ITask* This,WORD *pcBytes,BYTE **ppBytes) { + return This->lpVtbl->GetWorkItemData(This,pcBytes,ppBytes); +} +static FORCEINLINE HRESULT ITask_SetErrorRetryCount(ITask* This,WORD wRetryCount) { + return This->lpVtbl->SetErrorRetryCount(This,wRetryCount); +} +static FORCEINLINE HRESULT ITask_GetErrorRetryCount(ITask* This,WORD *pwRetryCount) { + return This->lpVtbl->GetErrorRetryCount(This,pwRetryCount); +} +static FORCEINLINE HRESULT ITask_SetErrorRetryInterval(ITask* This,WORD wRetryInterval) { + return This->lpVtbl->SetErrorRetryInterval(This,wRetryInterval); +} +static FORCEINLINE HRESULT ITask_GetErrorRetryInterval(ITask* This,WORD *pwRetryInterval) { + return This->lpVtbl->GetErrorRetryInterval(This,pwRetryInterval); +} +static FORCEINLINE HRESULT ITask_SetFlags(ITask* This,DWORD dwFlags) { + return This->lpVtbl->SetFlags(This,dwFlags); +} +static FORCEINLINE HRESULT ITask_GetFlags(ITask* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT ITask_SetAccountInformation(ITask* This,LPCWSTR pwszAccountName,LPCWSTR pwszPassword) { + return This->lpVtbl->SetAccountInformation(This,pwszAccountName,pwszPassword); +} +static FORCEINLINE HRESULT ITask_GetAccountInformation(ITask* This,LPWSTR *ppwszAccountName) { + return This->lpVtbl->GetAccountInformation(This,ppwszAccountName); +} +/*** ITask methods ***/ +static FORCEINLINE HRESULT ITask_SetApplicationName(ITask* This,LPCWSTR pwszApplicationName) { + return This->lpVtbl->SetApplicationName(This,pwszApplicationName); +} +static FORCEINLINE HRESULT ITask_GetApplicationName(ITask* This,LPWSTR *ppwszApplicationName) { + return This->lpVtbl->GetApplicationName(This,ppwszApplicationName); +} +static FORCEINLINE HRESULT ITask_SetParameters(ITask* This,LPCWSTR pwszParameters) { + return This->lpVtbl->SetParameters(This,pwszParameters); +} +static FORCEINLINE HRESULT ITask_GetParameters(ITask* This,LPWSTR *ppwszParameters) { + return This->lpVtbl->GetParameters(This,ppwszParameters); +} +static FORCEINLINE HRESULT ITask_SetWorkingDirectory(ITask* This,LPCWSTR pwszWorkingDirectory) { + return This->lpVtbl->SetWorkingDirectory(This,pwszWorkingDirectory); +} +static FORCEINLINE HRESULT ITask_GetWorkingDirectory(ITask* This,LPWSTR *ppwszWorkingDirectory) { + return This->lpVtbl->GetWorkingDirectory(This,ppwszWorkingDirectory); +} +static FORCEINLINE HRESULT ITask_SetPriority(ITask* This,DWORD dwPriority) { + return This->lpVtbl->SetPriority(This,dwPriority); +} +static FORCEINLINE HRESULT ITask_GetPriority(ITask* This,DWORD *pdwPriority) { + return This->lpVtbl->GetPriority(This,pdwPriority); +} +static FORCEINLINE HRESULT ITask_SetTaskFlags(ITask* This,DWORD dwFlags) { + return This->lpVtbl->SetTaskFlags(This,dwFlags); +} +static FORCEINLINE HRESULT ITask_GetTaskFlags(ITask* This,DWORD *pdwFlags) { + return This->lpVtbl->GetTaskFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT ITask_SetMaxRunTime(ITask* This,DWORD dwMaxRunTime) { + return This->lpVtbl->SetMaxRunTime(This,dwMaxRunTime); +} +static FORCEINLINE HRESULT ITask_GetMaxRunTime(ITask* This,DWORD *pdwMaxRunTime) { + return This->lpVtbl->GetMaxRunTime(This,pdwMaxRunTime); +} +#endif +#endif + +#endif + + +#endif /* __ITask_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskScheduler interface + */ +#ifndef __ITaskScheduler_INTERFACE_DEFINED__ +#define __ITaskScheduler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskScheduler, 0x148bd527, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("148bd527-a2ab-11ce-b11f-00aa00530503") +ITaskScheduler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetTargetComputer( + LPCWSTR pwszComputer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTargetComputer( + LPWSTR *ppwszComputer) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enum( + IEnumWorkItems **ppEnumTasks) = 0; + + virtual HRESULT STDMETHODCALLTYPE Activate( + LPCWSTR pwszName, + REFIID riid, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + LPCWSTR pwszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewWorkItem( + LPCWSTR pwszTaskName, + REFCLSID rclsid, + REFIID riid, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddWorkItem( + LPCWSTR pwszTaskName, + IScheduledWorkItem *pWorkItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsOfType( + LPCWSTR pwszName, + REFIID riid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskScheduler, 0x148bd527, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03) +#endif +#else +typedef struct ITaskSchedulerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskScheduler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskScheduler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskScheduler *This); + + /*** ITaskScheduler methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTargetComputer)( + ITaskScheduler *This, + LPCWSTR pwszComputer); + + HRESULT (STDMETHODCALLTYPE *GetTargetComputer)( + ITaskScheduler *This, + LPWSTR *ppwszComputer); + + HRESULT (STDMETHODCALLTYPE *Enum)( + ITaskScheduler *This, + IEnumWorkItems **ppEnumTasks); + + HRESULT (STDMETHODCALLTYPE *Activate)( + ITaskScheduler *This, + LPCWSTR pwszName, + REFIID riid, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *Delete)( + ITaskScheduler *This, + LPCWSTR pwszName); + + HRESULT (STDMETHODCALLTYPE *NewWorkItem)( + ITaskScheduler *This, + LPCWSTR pwszTaskName, + REFCLSID rclsid, + REFIID riid, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *AddWorkItem)( + ITaskScheduler *This, + LPCWSTR pwszTaskName, + IScheduledWorkItem *pWorkItem); + + HRESULT (STDMETHODCALLTYPE *IsOfType)( + ITaskScheduler *This, + LPCWSTR pwszName, + REFIID riid); + + END_INTERFACE +} ITaskSchedulerVtbl; + +interface ITaskScheduler { + CONST_VTBL ITaskSchedulerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskScheduler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskScheduler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskScheduler_Release(This) (This)->lpVtbl->Release(This) +/*** ITaskScheduler methods ***/ +#define ITaskScheduler_SetTargetComputer(This,pwszComputer) (This)->lpVtbl->SetTargetComputer(This,pwszComputer) +#define ITaskScheduler_GetTargetComputer(This,ppwszComputer) (This)->lpVtbl->GetTargetComputer(This,ppwszComputer) +#define ITaskScheduler_Enum(This,ppEnumTasks) (This)->lpVtbl->Enum(This,ppEnumTasks) +#define ITaskScheduler_Activate(This,pwszName,riid,ppunk) (This)->lpVtbl->Activate(This,pwszName,riid,ppunk) +#define ITaskScheduler_Delete(This,pwszName) (This)->lpVtbl->Delete(This,pwszName) +#define ITaskScheduler_NewWorkItem(This,pwszTaskName,rclsid,riid,ppunk) (This)->lpVtbl->NewWorkItem(This,pwszTaskName,rclsid,riid,ppunk) +#define ITaskScheduler_AddWorkItem(This,pwszTaskName,pWorkItem) (This)->lpVtbl->AddWorkItem(This,pwszTaskName,pWorkItem) +#define ITaskScheduler_IsOfType(This,pwszName,riid) (This)->lpVtbl->IsOfType(This,pwszName,riid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskScheduler_QueryInterface(ITaskScheduler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskScheduler_AddRef(ITaskScheduler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskScheduler_Release(ITaskScheduler* This) { + return This->lpVtbl->Release(This); +} +/*** ITaskScheduler methods ***/ +static FORCEINLINE HRESULT ITaskScheduler_SetTargetComputer(ITaskScheduler* This,LPCWSTR pwszComputer) { + return This->lpVtbl->SetTargetComputer(This,pwszComputer); +} +static FORCEINLINE HRESULT ITaskScheduler_GetTargetComputer(ITaskScheduler* This,LPWSTR *ppwszComputer) { + return This->lpVtbl->GetTargetComputer(This,ppwszComputer); +} +static FORCEINLINE HRESULT ITaskScheduler_Enum(ITaskScheduler* This,IEnumWorkItems **ppEnumTasks) { + return This->lpVtbl->Enum(This,ppEnumTasks); +} +static FORCEINLINE HRESULT ITaskScheduler_Activate(ITaskScheduler* This,LPCWSTR pwszName,REFIID riid,IUnknown **ppunk) { + return This->lpVtbl->Activate(This,pwszName,riid,ppunk); +} +static FORCEINLINE HRESULT ITaskScheduler_Delete(ITaskScheduler* This,LPCWSTR pwszName) { + return This->lpVtbl->Delete(This,pwszName); +} +static FORCEINLINE HRESULT ITaskScheduler_NewWorkItem(ITaskScheduler* This,LPCWSTR pwszTaskName,REFCLSID rclsid,REFIID riid,IUnknown **ppunk) { + return This->lpVtbl->NewWorkItem(This,pwszTaskName,rclsid,riid,ppunk); +} +static FORCEINLINE HRESULT ITaskScheduler_AddWorkItem(ITaskScheduler* This,LPCWSTR pwszTaskName,IScheduledWorkItem *pWorkItem) { + return This->lpVtbl->AddWorkItem(This,pwszTaskName,pWorkItem); +} +static FORCEINLINE HRESULT ITaskScheduler_IsOfType(ITaskScheduler* This,LPCWSTR pwszName,REFIID riid) { + return This->lpVtbl->IsOfType(This,pwszName,riid); +} +#endif +#endif + +#endif + + +#endif /* __ITaskScheduler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CTaskScheduler coclass + */ + +DEFINE_GUID(CLSID_CTaskScheduler, 0x148bd52a, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03); + +#ifdef __cplusplus +class DECLSPEC_UUID("148bd52a-a2ab-11ce-b11f-00aa00530503") CTaskScheduler; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CTaskScheduler, 0x148bd52a, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03) +#endif +#endif + +/***************************************************************************** + * CTask coclass + */ + +DEFINE_GUID(CLSID_CTask, 0x148bd520, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03); + +#ifdef __cplusplus +class DECLSPEC_UUID("148bd520-a2ab-11ce-b11f-00aa00530503") CTask; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CTask, 0x148bd520, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __mstask_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstask.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstask.idl new file mode 100644 index 0000000..ecff641 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstask.idl @@ -0,0 +1,393 @@ +/* + * Task Scheduler Service interface + * + * Copyright (C) 2008 Google (Roy Shea) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +import "oaidl.idl"; +import "oleidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +cpp_quote("#define TASK_SUNDAY 0x1") +cpp_quote("#define TASK_MONDAY 0x2") +cpp_quote("#define TASK_TUESDAY 0x4") +cpp_quote("#define TASK_WEDNESDAY 0x8") +cpp_quote("#define TASK_THURSDAY 0x10") +cpp_quote("#define TASK_FRIDAY 0x20") +cpp_quote("#define TASK_SATURDAY 0x40") + +cpp_quote("#define TASK_FIRST_WEEK 1") +cpp_quote("#define TASK_SECOND_WEEK 2") +cpp_quote("#define TASK_THIRD_WEEK 3") +cpp_quote("#define TASK_FOURTH_WEEK 4") +cpp_quote("#define TASK_LAST_WEEK 5") + +cpp_quote("#define TASK_JANUARY 0x1") +cpp_quote("#define TASK_FEBRUARY 0x2") +cpp_quote("#define TASK_MARCH 0x4") +cpp_quote("#define TASK_APRIL 0x8") +cpp_quote("#define TASK_MAY 0x10") +cpp_quote("#define TASK_JUNE 0x20") +cpp_quote("#define TASK_JULY 0x40") +cpp_quote("#define TASK_AUGUST 0x80") +cpp_quote("#define TASK_SEPTEMBER 0x100") +cpp_quote("#define TASK_OCTOBER 0x200") +cpp_quote("#define TASK_NOVEMBER 0x400") +cpp_quote("#define TASK_DECEMBER 0x800") + +cpp_quote("#define TASK_TRIGGER_FLAG_HAS_END_DATE 0x1") +cpp_quote("#define TASK_TRIGGER_FLAG_KILL_AT_DURATION_END 0x2") +cpp_quote("#define TASK_TRIGGER_FLAG_DISABLED 0x4") + +[ + local, + object, + uuid(148BD528-A2AB-11CE-B11F-00AA00530503), + pointer_default(unique) +] +interface IEnumWorkItems : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out] LPWSTR **rgpwszNames, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumWorkItems **ppEnumWorkItems); +} + +cpp_quote("#ifndef _HPROPSHEETPAGE_DEFINED") +typedef struct _PSP *HPROPSHEETPAGE; +cpp_quote("#define _HPROPSHEETPAGE_DEFINED") +cpp_quote("#endif") + +[ + local, + object, + uuid(4086658a-cbbb-11cf-b604-00c04fd8d565), + pointer_default(unique) +] +interface IProvideTaskPage : IUnknown +{ + typedef enum _TASKPAGE { + TASKPAGE_TASK = 0, + TASKPAGE_SCHEDULE = 1, + TASKPAGE_SETTINGS = 2 + } TASKPAGE; + + HRESULT GetPage( + [in] TASKPAGE tpType, + [in] BOOL fPersistChanges, + [out] HPROPSHEETPAGE *phPage); +} + +[ + local, + object, + uuid(148BD52B-A2AB-11CE-B11F-00AA00530503), + pointer_default(unique) +] +interface ITaskTrigger : IUnknown +{ + typedef enum _TASK_TRIGGER_TYPE { + TASK_TIME_TRIGGER_ONCE = 0, + TASK_TIME_TRIGGER_DAILY = 1, + TASK_TIME_TRIGGER_WEEKLY = 2, + TASK_TIME_TRIGGER_MONTHLYDATE = 3, + TASK_TIME_TRIGGER_MONTHLYDOW = 4, + TASK_EVENT_TRIGGER_ON_IDLE = 5, + TASK_EVENT_TRIGGER_AT_SYSTEMSTART = 6, + TASK_EVENT_TRIGGER_AT_LOGON = 7 + } TASK_TRIGGER_TYPE, *PTASK_TRIGGER_TYPE; + + typedef struct _DAILY { + WORD DaysInterval; + } DAILY; + + typedef struct _WEEKLY { + WORD WeeksInterval; + WORD rgfDaysOfTheWeek; + } WEEKLY; + + typedef struct _MONTHLYDATE { + DWORD rgfDays; + WORD rgfMonths; + } MONTHLYDATE; + + typedef struct _MONTHLYDOW { + WORD wWhichWeek; + WORD rgfDaysOfTheWeek; + WORD rgfMonths; + } MONTHLYDOW; + + typedef union _TRIGGER_TYPE_UNION { + DAILY Daily; + WEEKLY Weekly; + MONTHLYDATE MonthlyDate; + MONTHLYDOW MonthlyDOW; + } TRIGGER_TYPE_UNION; + + typedef struct _TASK_TRIGGER { + WORD cbTriggerSize; + WORD Reserved1; + WORD wBeginYear; + WORD wBeginMonth; + WORD wBeginDay; + WORD wEndYear; + WORD wEndMonth; + WORD wEndDay; + WORD wStartHour; + WORD wStartMinute; + DWORD MinutesDuration; + DWORD MinutesInterval; + DWORD rgFlags; + TASK_TRIGGER_TYPE TriggerType; + TRIGGER_TYPE_UNION Type; + WORD Reserved2; + WORD wRandomMinutesInterval; + } TASK_TRIGGER, *PTASK_TRIGGER; + + HRESULT SetTrigger( + [in] const PTASK_TRIGGER pTrigger); + + HRESULT GetTrigger( + [out] PTASK_TRIGGER pTrigger); + + HRESULT GetTriggerString( + [out] LPWSTR *ppwszTrigger); +} + +[ + local, + object, + uuid(a6b952f0-a4b1-11d0-997d-00aa006887ec), + pointer_default(unique) +] +interface IScheduledWorkItem : IUnknown +{ + HRESULT CreateTrigger( + [out] WORD *piNewTrigger, + [out] ITaskTrigger **ppTrigger); + + HRESULT DeleteTrigger( + [in] WORD iTrigger); + + HRESULT GetTriggerCount( + [out] WORD *plCount); + + HRESULT GetTrigger( + [in] WORD iTrigger, + [out] ITaskTrigger **ppTrigger); + + HRESULT GetTriggerString( + [in] WORD iTrigger, + [out] LPWSTR *ppwszTrigger); + + HRESULT GetRunTimes( + [in] const LPSYSTEMTIME pstBegin, + [in] const LPSYSTEMTIME pstEnd, + [in, out] WORD *pCount, + [out] LPSYSTEMTIME *rgstTaskTimes); + + HRESULT GetNextRunTime( + [out] SYSTEMTIME *pstNextRun); + + HRESULT SetIdleWait( + [in] WORD wIdleMinutes, + [in] WORD wDeadlineMinutes); + + HRESULT GetIdleWait( + [out] WORD *pwIdleMinutes, + [out] WORD *pwDeadlineMinutes); + + HRESULT Run(); + + HRESULT Terminate(); + + HRESULT EditWorkItem( + [in] HWND hParent, + [in] DWORD dwReserved); + + HRESULT GetMostRecentRunTime( + [out] SYSTEMTIME *pstLastRun); + + HRESULT GetStatus( + [out] HRESULT *phrStatus); + + HRESULT GetExitCode( + [out] DWORD *pdwExitCode); + + HRESULT SetComment( + [in] LPCWSTR pwszComment); + + HRESULT GetComment( + [out] LPWSTR *ppwszComment); + + HRESULT SetCreator( + LPCWSTR pwszCreator); + + HRESULT GetCreator( + [out] LPWSTR *ppwszCreator); + + HRESULT SetWorkItemData( + [in] WORD cBytes, + [in] BYTE rgbData[]); + + HRESULT GetWorkItemData( + [out] WORD *pcBytes, + [out] BYTE **ppBytes); + + HRESULT SetErrorRetryCount( + WORD wRetryCount); + + HRESULT GetErrorRetryCount( + [out] WORD *pwRetryCount); + + HRESULT SetErrorRetryInterval( + WORD wRetryInterval); + + HRESULT GetErrorRetryInterval( + [out] WORD *pwRetryInterval); + + HRESULT SetFlags( + DWORD dwFlags); + + HRESULT GetFlags( + [out] DWORD *pdwFlags); + + HRESULT SetAccountInformation( + [in] LPCWSTR pwszAccountName, + [in] LPCWSTR pwszPassword); + + HRESULT GetAccountInformation( + [out] LPWSTR *ppwszAccountName); +} + +[ + local, + object, + uuid(148BD524-A2AB-11CE-B11F-00AA00530503), + pointer_default(unique) +] +interface ITask : IScheduledWorkItem +{ + HRESULT SetApplicationName( + [in] LPCWSTR pwszApplicationName); + + HRESULT GetApplicationName( + [out] LPWSTR *ppwszApplicationName); + + HRESULT SetParameters( + [in] LPCWSTR pwszParameters); + + HRESULT GetParameters( + [out] LPWSTR *ppwszParameters); + + HRESULT SetWorkingDirectory( + [in] LPCWSTR pwszWorkingDirectory); + + HRESULT GetWorkingDirectory( + [in] LPWSTR *ppwszWorkingDirectory); + + HRESULT SetPriority( + [in] DWORD dwPriority); + + HRESULT GetPriority( + [out] DWORD *pdwPriority); + + HRESULT SetTaskFlags( + [in] DWORD dwFlags); + + HRESULT GetTaskFlags( + [out] DWORD *pdwFlags); + + HRESULT SetMaxRunTime( + [in] DWORD dwMaxRunTime); + + HRESULT GetMaxRunTime( + [out] DWORD *pdwMaxRunTime); +} + +[ + local, + object, + uuid(148BD527-A2AB-11CE-B11F-00AA00530503), + pointer_default(unique) +] +interface ITaskScheduler : IUnknown +{ + HRESULT SetTargetComputer( + [in] LPCWSTR pwszComputer); + + HRESULT GetTargetComputer( + [out] LPWSTR *ppwszComputer); + + HRESULT Enum( + [out] IEnumWorkItems **ppEnumTasks); + + HRESULT Activate( + [in] LPCWSTR pwszName, + [in] REFIID riid, + [out] IUnknown **ppunk); + + HRESULT Delete( + [in] LPCWSTR pwszName); + + HRESULT NewWorkItem( + [in] LPCWSTR pwszTaskName, + [in] REFCLSID rclsid, + [in] REFIID riid, + [out] IUnknown **ppunk); + + HRESULT AddWorkItem( + [in] LPCWSTR pwszTaskName, + [in] IScheduledWorkItem *pWorkItem); + + HRESULT IsOfType( + [in] LPCWSTR pwszName, + [in] REFIID riid); +} + +[ + threading(both), + uuid(148BD52A-A2AB-11CE-B11F-00AA00530503) +] +coclass CTaskScheduler +{ + [default] interface ITaskScheduler; +}; + + +[ + threading(both), + uuid(148BD520-A2AB-11CE-B11F-00AA00530503) +] +coclass CTask +{ + [default] interface ITask; +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstcpip.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstcpip.h new file mode 100644 index 0000000..cb3ce8d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mstcpip.h @@ -0,0 +1,68 @@ +/* + * Copyright 2008 Hans Leidekker for CodeWeavers. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_MSTCPIP_H +#define __WINE_MSTCPIP_H + +#include + +struct tcp_keepalive +{ + ULONG onoff; + ULONG keepalivetime; + ULONG keepaliveinterval; +}; + +#ifndef USE_WS_PREFIX + +#define SIO_RCVALL _WSAIOW(IOC_VENDOR, 1) +#define SIO_RCVALL_MCAST _WSAIOW(IOC_VENDOR, 2) +#define SIO_RCVALL_IGMPMCAST _WSAIOW(IOC_VENDOR, 3) +#define SIO_KEEPALIVE_VALS _WSAIOW(IOC_VENDOR, 4) +#define SIO_ABSORB_RTRALERT _WSAIOW(IOC_VENDOR, 5) +#define SIO_UCAST_IF _WSAIOW(IOC_VENDOR, 6) +#define SIO_LIMIT_BROADCASTS _WSAIOW(IOC_VENDOR, 7) +#define SIO_INDEX_BIND _WSAIOW(IOC_VENDOR, 8) +#define SIO_INDEX_MCASTIF _WSAIOW(IOC_VENDOR, 9) +#define SIO_INDEX_ADD_MCAST _WSAIOW(IOC_VENDOR, 10) +#define SIO_INDEX_DEL_MCAST _WSAIOW(IOC_VENDOR, 11) + +#define RCVALL_OFF 0 +#define RCVALL_ON 1 +#define RCVALL_SOCKETLEVELONLY 2 + +#else + +#define WS_SIO_RCVALL _WSAIOW(WS_IOC_VENDOR, 1) +#define WS_SIO_RCVALL_MCAST _WSAIOW(WS_IOC_VENDOR, 2) +#define WS_SIO_RCVALL_IGMPMCAST _WSAIOW(WS_IOC_VENDOR, 3) +#define WS_SIO_KEEPALIVE_VALS _WSAIOW(WS_IOC_VENDOR, 4) +#define WS_SIO_ABSORB_RTRALERT _WSAIOW(WS_IOC_VENDOR, 5) +#define WS_SIO_UCAST_IF _WSAIOW(WS_IOC_VENDOR, 6) +#define WS_SIO_LIMIT_BROADCASTS _WSAIOW(WS_IOC_VENDOR, 7) +#define WS_SIO_INDEX_BIND _WSAIOW(WS_IOC_VENDOR, 8) +#define WS_SIO_INDEX_MCASTIF _WSAIOW(WS_IOC_VENDOR, 9) +#define WS_SIO_INDEX_ADD_MCAST _WSAIOW(WS_IOC_VENDOR, 10) +#define WS_SIO_INDEX_DEL_MCAST _WSAIOW(WS_IOC_VENDOR, 11) + +#define WS_RCVALL_OFF 0 +#define WS_RCVALL_ON 1 +#define WS_RCVALL_SOCKETLEVELONLY 2 + +#endif /* USE_WS_PREFIX */ + +#endif /* __WINE_MSTCPIP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mswsock.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mswsock.h new file mode 100644 index 0000000..3f0180c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mswsock.h @@ -0,0 +1,256 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _MSWSOCK_ +#define _MSWSOCK_ + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +#ifndef USE_WS_PREFIX +#define SO_CONNDATA 0x7000 +#define SO_CONNOPT 0x7001 +#define SO_DISCDATA 0x7002 +#define SO_DISCOPT 0x7003 +#define SO_CONNDATALEN 0x7004 +#define SO_CONNOPTLEN 0x7005 +#define SO_DISCDATALEN 0x7006 +#define SO_DISCOPTLEN 0x7007 +#else +#define WS_SO_CONNDATA 0x7000 +#define WS_SO_CONNOPT 0x7001 +#define WS_SO_DISCDATA 0x7002 +#define WS_SO_DISCOPT 0x7003 +#define WS_SO_CONNDATALEN 0x7004 +#define WS_SO_CONNOPTLEN 0x7005 +#define WS_SO_DISCDATALEN 0x7006 +#define WS_SO_DISCOPTLEN 0x7007 +#endif + +#ifndef USE_WS_PREFIX +#define SO_OPENTYPE 0x7008 +#else +#define WS_SO_OPENTYPE 0x7008 +#endif + +#ifndef USE_WS_PREFIX +#define SO_SYNCHRONOUS_ALERT 0x10 +#define SO_SYNCHRONOUS_NONALERT 0x20 +#else +#define WS_SO_SYNCHRONOUS_ALERT 0x10 +#define WS_SO_SYNCHRONOUS_NONALERT 0x20 +#endif + +#ifndef USE_WS_PREFIX +#define SO_MAXDG 0x7009 +#define SO_MAXPATHDG 0x700A +#define SO_UPDATE_ACCEPT_CONTEXT 0x700B +#define SO_CONNECT_TIME 0x700C +#define SO_UPDATE_CONNECT_CONTEXT 0x7010 +#else +#define WS_SO_MAXDG 0x7009 +#define WS_SO_MAXPATHDG 0x700A +#define WS_SO_UPDATE_ACCEPT_CONTEXT 0x700B +#define WS_SO_CONNECT_TIME 0x700C +#define WS_SO_UPDATE_CONNECT_CONTEXT 0x7010 +#endif + +#ifndef USE_WS_PREFIX +#define TCP_BSDURGENT 0x7000 +#else +#define WS_TCP_BSDURGENT 0x7000 +#endif + +#ifndef USE_WS_PREFIX +#define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12) +#define SIO_SET_COMPATIBILITY_MODE _WSAIOW(IOC_VENDOR,300) +#else +#define WS_SIO_UDP_CONNRESET _WSAIOW(WS_IOC_VENDOR,12) +#define WS_SIO_SET_COMPATIBILITY_MODE _WSAIOW(WS_IOC_VENDOR,300) +#endif + +#define DE_REUSE_SOCKET TF_REUSE_SOCKET + +#ifndef USE_WS_PREFIX +#define MSG_TRUNC 0x0100 +#define MSG_CTRUNC 0x0200 +#define MSG_BCAST 0x0400 +#define MSG_MCAST 0x0800 +#else +#define WS_MSG_TRUNC 0x0100 +#define WS_MSG_CTRUNC 0x0200 +#define WS_MSG_BCAST 0x0400 +#define WS_MSG_MCAST 0x0800 +#endif + +#define TF_DISCONNECT 0x01 +#define TF_REUSE_SOCKET 0x02 +#define TF_WRITE_BEHIND 0x04 +#define TF_USE_DEFAULT_WORKER 0x00 +#define TF_USE_SYSTEM_THREAD 0x10 +#define TF_USE_KERNEL_APC 0x20 + +#define TP_DISCONNECT TF_DISCONNECT +#define TP_REUSE_SOCKET TF_REUSE_SOCKET +#define TP_USE_DEFAULT_WORKER TF_USE_DEFAULT_WORKER +#define TP_USE_SYSTEM_THREAD TF_USE_SYSTEM_THREAD +#define TP_USE_KERNEL_APC TF_USE_KERNEL_APC + +#define TP_ELEMENT_MEMORY 1 +#define TP_ELEMENT_FILE 2 +#define TP_ELEMENT_EOP 4 + +#define WSAID_ACCEPTEX \ + {0xb5367df1,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}} +#define WSAID_CONNECTEX \ + {0x25a207b9,0xddf3,0x4660,{0x8e,0xe9,0x76,0xe5,0x8c,0x74,0x06,0x3e}} +#define WSAID_DISCONNECTEX \ + {0x7fda2e11,0x8630,0x436f,{0xa0,0x31,0xf5,0x36,0xa6,0xee,0xc1,0x57}} +#define WSAID_GETACCEPTEXSOCKADDRS \ + {0xb5367df2,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}} +#define WSAID_TRANSMITFILE \ + {0xb5367df0,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}} +#define WSAID_TRANSMITPACKETS \ + {0xd9689da0,0x1f90,0x11d3,{0x99,0x71,0x00,0xc0,0x4f,0x68,0xc8,0x76}} +#define WSAID_WSARECVMSG \ + {0xf689d7c8,0x6f1f,0x436b,{0x8a,0x53,0xe5,0x4f,0xe3,0x51,0xc3,0x22}} +#define WSAID_WSASENDMSG \ + {0xa441e712,0x754f,0x43ca,{0x84,0xa7,0x0d,0xee,0x44,0xcf,0x60,0x6d}} + +typedef struct _TRANSMIT_FILE_BUFFERS { + LPVOID Head; + DWORD HeadLength; + LPVOID Tail; + DWORD TailLength; +} TRANSMIT_FILE_BUFFERS, *PTRANSMIT_FILE_BUFFERS, *LPTRANSMIT_FILE_BUFFERS; + +typedef struct _TRANSMIT_PACKETS_ELEMENT { + ULONG dwElFlags; + ULONG cLength; + union { + struct { + LARGE_INTEGER nFileOffset; + HANDLE hFile; + } DUMMYSTRUCTNAME; + PVOID pBuffer; + } DUMMYUNIONNAME; +} TRANSMIT_PACKETS_ELEMENT, *PTRANSMIT_PACKETS_ELEMENT, *LPTRANSMIT_PACKETS_ELEMENT; + +typedef struct _WSACMSGHDR { + SIZE_T cmsg_len; + INT cmsg_level; + INT cmsg_type; + /* followed by UCHAR cmsg_data[] */ +} WSACMSGHDR, *PWSACMSGHDR, *LPWSACMSGHDR; + +typedef enum _NLA_BLOB_DATA_TYPE { + NLA_RAW_DATA, + NLA_INTERFACE, /* interface name, type and speed */ + NLA_802_1X_LOCATION, /* wireless network info */ + NLA_CONNECTIVITY, /* status on network connectivity */ + NLA_ICS /* internet connection sharing */ +} NLA_BLOB_DATA_TYPE; + +typedef enum _NLA_CONNECTIVITY_TYPE { + NLA_NETWORK_AD_HOC, /* private network */ + NLA_NETWORK_MANAGED, /* network managed by domain */ + NLA_NETWORK_UNMANAGED, + NLA_NETWORK_UNKNOWN +} NLA_CONNECTIVITY_TYPE; + +typedef enum _NLA_INTERNET { + NLA_INTERNET_UNKNOWN, /* can't determine if connected or not */ + NLA_INTERNET_NO, /* not connected to internet */ + NLA_INTERNET_YES /* connected to internet */ +} NLA_INTERNET; + +/* this structure is returned in the lpBlob field during calls to WSALookupServiceNext */ +typedef struct _NLA_BLOB { + /* the header defines the size of the current record and if there is a next record */ + struct { + NLA_BLOB_DATA_TYPE type; + DWORD dwSize; + DWORD nextOffset; /* if it's zero there are no more blobs */ + } header; + + /* the following union interpretation depends on the header.type value + * from the struct above. + * the header.dwSize will be the size of all data, specially useful when + * the last struct field is size [1] */ + union { + /* NLA_RAW_DATA */ + CHAR rawData[1]; + + /* NLA_INTERFACE */ + struct { + DWORD dwType; + DWORD dwSpeed; + CHAR adapterName[1]; + } interfaceData; + + /* NLA_802_1X_LOCATION */ + struct { + CHAR information[1]; + } locationData; + + /* NLA_CONNECTIVITY */ + struct { + NLA_CONNECTIVITY_TYPE type; + NLA_INTERNET internet; + } connectivity; + + /* NLA_ICS */ + struct { + struct { + DWORD speed; + DWORD type; + DWORD state; + WCHAR machineName[256]; + WCHAR sharedAdapterName[256]; + } remote; + } ICS; + } data; +} NLA_BLOB, *PNLA_BLOB; + +typedef BOOL (WINAPI * LPFN_ACCEPTEX)(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPED); +typedef BOOL (WINAPI * LPFN_CONNECTEX)(SOCKET, const struct WS(sockaddr) *, int, PVOID, DWORD, LPDWORD, LPOVERLAPPED); +typedef BOOL (WINAPI * LPFN_DISCONNECTEX)(SOCKET, LPOVERLAPPED, DWORD, DWORD); +typedef VOID (WINAPI * LPFN_GETACCEPTEXSOCKADDRS)(PVOID, DWORD, DWORD, DWORD, struct WS(sockaddr) **, LPINT, struct WS(sockaddr) **, LPINT); +typedef BOOL (WINAPI * LPFN_TRANSMITFILE)(SOCKET, HANDLE, DWORD, DWORD, LPOVERLAPPED, LPTRANSMIT_FILE_BUFFERS, DWORD); +typedef BOOL (WINAPI * LPFN_TRANSMITPACKETS)(SOCKET, LPTRANSMIT_PACKETS_ELEMENT, DWORD, DWORD, LPOVERLAPPED, DWORD); +typedef INT (WINAPI * LPFN_WSARECVMSG)(SOCKET, LPWSAMSG, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef INT (WINAPI * LPFN_WSASENDMSG)(SOCKET, LPWSAMSG, DWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); + +BOOL WINAPI AcceptEx(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPED); +VOID WINAPI GetAcceptExSockaddrs(PVOID, DWORD, DWORD, DWORD, struct WS(sockaddr) **, LPINT, struct WS(sockaddr) **, LPINT); +BOOL WINAPI TransmitFile(SOCKET, HANDLE, DWORD, DWORD, LPOVERLAPPED, LPTRANSMIT_FILE_BUFFERS, DWORD); +INT WINAPI WSARecvEx(SOCKET, char *, INT, INT *); + +#ifdef __cplusplus +} +#endif + +#undef WS + +#endif /* _MSWSOCK_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml.h new file mode 100644 index 0000000..6b7c8d4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml.h @@ -0,0 +1,10382 @@ +/*** Autogenerated by WIDL 2.18 from msxml.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msxml_h__ +#define __msxml_h__ + +/* Forward declarations */ + +#ifndef __IXMLDOMNode_FWD_DEFINED__ +#define __IXMLDOMNode_FWD_DEFINED__ +typedef interface IXMLDOMNode IXMLDOMNode; +#ifdef __cplusplus +interface IXMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNodeList_FWD_DEFINED__ +#define __IXMLDOMNodeList_FWD_DEFINED__ +typedef interface IXMLDOMNodeList IXMLDOMNodeList; +#ifdef __cplusplus +interface IXMLDOMNodeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNamedNodeMap_FWD_DEFINED__ +#define __IXMLDOMNamedNodeMap_FWD_DEFINED__ +typedef interface IXMLDOMNamedNodeMap IXMLDOMNamedNodeMap; +#ifdef __cplusplus +interface IXMLDOMNamedNodeMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentFragment_FWD_DEFINED__ +#define __IXMLDOMDocumentFragment_FWD_DEFINED__ +typedef interface IXMLDOMDocumentFragment IXMLDOMDocumentFragment; +#ifdef __cplusplus +interface IXMLDOMDocumentFragment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCharacterData_FWD_DEFINED__ +#define __IXMLDOMCharacterData_FWD_DEFINED__ +typedef interface IXMLDOMCharacterData IXMLDOMCharacterData; +#ifdef __cplusplus +interface IXMLDOMCharacterData; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMAttribute_FWD_DEFINED__ +#define __IXMLDOMAttribute_FWD_DEFINED__ +typedef interface IXMLDOMAttribute IXMLDOMAttribute; +#ifdef __cplusplus +interface IXMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMElement_FWD_DEFINED__ +#define __IXMLDOMElement_FWD_DEFINED__ +typedef interface IXMLDOMElement IXMLDOMElement; +#ifdef __cplusplus +interface IXMLDOMElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMText_FWD_DEFINED__ +#define __IXMLDOMText_FWD_DEFINED__ +typedef interface IXMLDOMText IXMLDOMText; +#ifdef __cplusplus +interface IXMLDOMText; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMComment_FWD_DEFINED__ +#define __IXMLDOMComment_FWD_DEFINED__ +typedef interface IXMLDOMComment IXMLDOMComment; +#ifdef __cplusplus +interface IXMLDOMComment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMProcessingInstruction_FWD_DEFINED__ +#define __IXMLDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction; +#ifdef __cplusplus +interface IXMLDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCDATASection_FWD_DEFINED__ +#define __IXMLDOMCDATASection_FWD_DEFINED__ +typedef interface IXMLDOMCDATASection IXMLDOMCDATASection; +#ifdef __cplusplus +interface IXMLDOMCDATASection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentType_FWD_DEFINED__ +#define __IXMLDOMDocumentType_FWD_DEFINED__ +typedef interface IXMLDOMDocumentType IXMLDOMDocumentType; +#ifdef __cplusplus +interface IXMLDOMDocumentType; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNotation_FWD_DEFINED__ +#define __IXMLDOMNotation_FWD_DEFINED__ +typedef interface IXMLDOMNotation IXMLDOMNotation; +#ifdef __cplusplus +interface IXMLDOMNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntity_FWD_DEFINED__ +#define __IXMLDOMEntity_FWD_DEFINED__ +typedef interface IXMLDOMEntity IXMLDOMEntity; +#ifdef __cplusplus +interface IXMLDOMEntity; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntityReference_FWD_DEFINED__ +#define __IXMLDOMEntityReference_FWD_DEFINED__ +typedef interface IXMLDOMEntityReference IXMLDOMEntityReference; +#ifdef __cplusplus +interface IXMLDOMEntityReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMImplementation_FWD_DEFINED__ +#define __IXMLDOMImplementation_FWD_DEFINED__ +typedef interface IXMLDOMImplementation IXMLDOMImplementation; +#ifdef __cplusplus +interface IXMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError_FWD_DEFINED__ +#define __IXMLDOMParseError_FWD_DEFINED__ +typedef interface IXMLDOMParseError IXMLDOMParseError; +#ifdef __cplusplus +interface IXMLDOMParseError; +#endif /* __cplusplus */ +#endif + +#ifndef __XMLDOMDocumentEvents_FWD_DEFINED__ +#define __XMLDOMDocumentEvents_FWD_DEFINED__ +typedef interface XMLDOMDocumentEvents XMLDOMDocumentEvents; +#ifdef __cplusplus +interface XMLDOMDocumentEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __DOMDocument_FWD_DEFINED__ +#define __DOMDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument DOMDocument; +#else +typedef struct DOMDocument DOMDocument; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument_FWD_DEFINED__ */ + +#ifndef __DOMFreeThreadedDocument_FWD_DEFINED__ +#define __DOMFreeThreadedDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMFreeThreadedDocument DOMFreeThreadedDocument; +#else +typedef struct DOMFreeThreadedDocument DOMFreeThreadedDocument; +#endif /* defined __cplusplus */ +#endif /* defined __DOMFreeThreadedDocument_FWD_DEFINED__ */ + +#ifndef __IXMLHttpRequest_FWD_DEFINED__ +#define __IXMLHttpRequest_FWD_DEFINED__ +typedef interface IXMLHttpRequest IXMLHttpRequest; +#ifdef __cplusplus +interface IXMLHttpRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __XMLHTTPRequest_FWD_DEFINED__ +#define __XMLHTTPRequest_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTPRequest XMLHTTPRequest; +#else +typedef struct XMLHTTPRequest XMLHTTPRequest; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTPRequest_FWD_DEFINED__ */ + +#ifndef __IXMLDSOControl_FWD_DEFINED__ +#define __IXMLDSOControl_FWD_DEFINED__ +typedef interface IXMLDSOControl IXMLDSOControl; +#ifdef __cplusplus +interface IXMLDSOControl; +#endif /* __cplusplus */ +#endif + +#ifndef __XMLDSOControl_FWD_DEFINED__ +#define __XMLDSOControl_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLDSOControl XMLDSOControl; +#else +typedef struct XMLDSOControl XMLDSOControl; +#endif /* defined __cplusplus */ +#endif /* defined __XMLDSOControl_FWD_DEFINED__ */ + +#ifndef __IXMLElementCollection_FWD_DEFINED__ +#define __IXMLElementCollection_FWD_DEFINED__ +typedef interface IXMLElementCollection IXMLElementCollection; +#ifdef __cplusplus +interface IXMLElementCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLElement_FWD_DEFINED__ +#define __IXMLElement_FWD_DEFINED__ +typedef interface IXMLElement IXMLElement; +#ifdef __cplusplus +interface IXMLElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDocument_FWD_DEFINED__ +#define __IXMLDocument_FWD_DEFINED__ +typedef interface IXMLDocument IXMLDocument; +#ifdef __cplusplus +interface IXMLDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLElement2_FWD_DEFINED__ +#define __IXMLElement2_FWD_DEFINED__ +typedef interface IXMLElement2 IXMLElement2; +#ifdef __cplusplus +interface IXMLElement2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDocument2_FWD_DEFINED__ +#define __IXMLDocument2_FWD_DEFINED__ +typedef interface IXMLDocument2 IXMLDocument2; +#ifdef __cplusplus +interface IXMLDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLAttribute_FWD_DEFINED__ +#define __IXMLAttribute_FWD_DEFINED__ +typedef interface IXMLAttribute IXMLAttribute; +#ifdef __cplusplus +interface IXMLAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLError_FWD_DEFINED__ +#define __IXMLError_FWD_DEFINED__ +typedef interface IXMLError IXMLError; +#ifdef __cplusplus +interface IXMLError; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLElementNotificationSink_FWD_DEFINED__ +#define __IXMLElementNotificationSink_FWD_DEFINED__ +typedef interface IXMLElementNotificationSink IXMLElementNotificationSink; +#ifdef __cplusplus +interface IXMLElementNotificationSink; +#endif /* __cplusplus */ +#endif + +#ifndef __XMLDocument_FWD_DEFINED__ +#define __XMLDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLDocument XMLDocument; +#else +typedef struct XMLDocument XMLDocument; +#endif /* defined __cplusplus */ +#endif /* defined __XMLDocument_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_MSXML, 0xd63e0ce2, 0xa0a2, 0x11d0, 0x9c,0x02, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); + +#ifndef __IXMLDOMImplementation_FWD_DEFINED__ +#define __IXMLDOMImplementation_FWD_DEFINED__ +typedef interface IXMLDOMImplementation IXMLDOMImplementation; +#ifdef __cplusplus +interface IXMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNode_FWD_DEFINED__ +#define __IXMLDOMNode_FWD_DEFINED__ +typedef interface IXMLDOMNode IXMLDOMNode; +#ifdef __cplusplus +interface IXMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentFragment_FWD_DEFINED__ +#define __IXMLDOMDocumentFragment_FWD_DEFINED__ +typedef interface IXMLDOMDocumentFragment IXMLDOMDocumentFragment; +#ifdef __cplusplus +interface IXMLDOMDocumentFragment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNodeList_FWD_DEFINED__ +#define __IXMLDOMNodeList_FWD_DEFINED__ +typedef interface IXMLDOMNodeList IXMLDOMNodeList; +#ifdef __cplusplus +interface IXMLDOMNodeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNamedNodeMap_FWD_DEFINED__ +#define __IXMLDOMNamedNodeMap_FWD_DEFINED__ +typedef interface IXMLDOMNamedNodeMap IXMLDOMNamedNodeMap; +#ifdef __cplusplus +interface IXMLDOMNamedNodeMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCharacterData_FWD_DEFINED__ +#define __IXMLDOMCharacterData_FWD_DEFINED__ +typedef interface IXMLDOMCharacterData IXMLDOMCharacterData; +#ifdef __cplusplus +interface IXMLDOMCharacterData; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMAttribute_FWD_DEFINED__ +#define __IXMLDOMAttribute_FWD_DEFINED__ +typedef interface IXMLDOMAttribute IXMLDOMAttribute; +#ifdef __cplusplus +interface IXMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMElement_FWD_DEFINED__ +#define __IXMLDOMElement_FWD_DEFINED__ +typedef interface IXMLDOMElement IXMLDOMElement; +#ifdef __cplusplus +interface IXMLDOMElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMText_FWD_DEFINED__ +#define __IXMLDOMText_FWD_DEFINED__ +typedef interface IXMLDOMText IXMLDOMText; +#ifdef __cplusplus +interface IXMLDOMText; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMComment_FWD_DEFINED__ +#define __IXMLDOMComment_FWD_DEFINED__ +typedef interface IXMLDOMComment IXMLDOMComment; +#ifdef __cplusplus +interface IXMLDOMComment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMProcessingInstruction_FWD_DEFINED__ +#define __IXMLDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction; +#ifdef __cplusplus +interface IXMLDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCDATASection_FWD_DEFINED__ +#define __IXMLDOMCDATASection_FWD_DEFINED__ +typedef interface IXMLDOMCDATASection IXMLDOMCDATASection; +#ifdef __cplusplus +interface IXMLDOMCDATASection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentType_FWD_DEFINED__ +#define __IXMLDOMDocumentType_FWD_DEFINED__ +typedef interface IXMLDOMDocumentType IXMLDOMDocumentType; +#ifdef __cplusplus +interface IXMLDOMDocumentType; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNotation_FWD_DEFINED__ +#define __IXMLDOMNotation_FWD_DEFINED__ +typedef interface IXMLDOMNotation IXMLDOMNotation; +#ifdef __cplusplus +interface IXMLDOMNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntity_FWD_DEFINED__ +#define __IXMLDOMEntity_FWD_DEFINED__ +typedef interface IXMLDOMEntity IXMLDOMEntity; +#ifdef __cplusplus +interface IXMLDOMEntity; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntityReference_FWD_DEFINED__ +#define __IXMLDOMEntityReference_FWD_DEFINED__ +typedef interface IXMLDOMEntityReference IXMLDOMEntityReference; +#ifdef __cplusplus +interface IXMLDOMEntityReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError_FWD_DEFINED__ +#define __IXMLDOMParseError_FWD_DEFINED__ +typedef interface IXMLDOMParseError IXMLDOMParseError; +#ifdef __cplusplus +interface IXMLDOMParseError; +#endif /* __cplusplus */ +#endif + +#ifndef __MSXML_DOMNODETYPE_DEFINED +#define __MSXML_DOMNODETYPE_DEFINED +typedef enum tagDOMNodeType { + NODE_INVALID = 0, + NODE_ELEMENT = 1, + NODE_ATTRIBUTE = 2, + NODE_TEXT = 3, + NODE_CDATA_SECTION = 4, + NODE_ENTITY_REFERENCE = 5, + NODE_ENTITY = 6, + NODE_PROCESSING_INSTRUCTION = 7, + NODE_COMMENT = 8, + NODE_DOCUMENT = 9, + NODE_DOCUMENT_TYPE = 10, + NODE_DOCUMENT_FRAGMENT = 11, + NODE_NOTATION = 12 +} DOMNodeType; +#endif +/***************************************************************************** + * IXMLDOMNode interface + */ +#ifndef __IXMLDOMNode_INTERFACE_DEFINED__ +#define __IXMLDOMNode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNode, 0x2933bf80, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf80-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNode : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_nodeName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeValue( + VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeValue( + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeType( + DOMNodeType *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentNode( + IXMLDOMNode **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childNodes( + IXMLDOMNodeList **childList) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_firstChild( + IXMLDOMNode **firstChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastChild( + IXMLDOMNode **lastChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_previousSibling( + IXMLDOMNode **previousSibling) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nextSibling( + IXMLDOMNode **nextSibling) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + IXMLDOMNamedNodeMap **attributeMap) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertBefore( + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceChild( + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendChild( + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasChildNodes( + VARIANT_BOOL *hasChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ownerDocument( + IXMLDOMDocument **DOMDocument) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneNode( + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeTypeString( + BSTR *nodeType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *text) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR text) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_specified( + VARIANT_BOOL *isSpecified) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_definition( + IXMLDOMNode **definitionNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeTypedValue( + VARIANT *typedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeTypedValue( + VARIANT typedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataType( + VARIANT *dataTypeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dataType( + BSTR dataTypeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_xml( + BSTR *xmlString) = 0; + + virtual HRESULT STDMETHODCALLTYPE transformNode( + IXMLDOMNode *styleSheet, + BSTR *xmlString) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectNodes( + BSTR queryString, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectSingleNode( + BSTR queryString, + IXMLDOMNode **resultNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parsed( + VARIANT_BOOL *isParsed) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + BSTR *namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_prefix( + BSTR *prefixString) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseName( + BSTR *nameString) = 0; + + virtual HRESULT STDMETHODCALLTYPE transformNodeToObject( + IXMLDOMNode *stylesheet, + VARIANT outputObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNode, 0x2933bf80, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNode *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNode *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNode *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNode *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNode *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMNode *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMNode *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMNode *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMNode *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMNode *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMNode *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMNode *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMNode *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMNode *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMNode *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMNode *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMNode *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMNode *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMNode *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMNode *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMNode *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMNode *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMNode *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMNode *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMNode *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMNode *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMNode *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMNode *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMNode *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMNode *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMNode *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMNode *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMNode *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMNode *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMNode *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMNode *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMNode *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMNode *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMNode *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMNode *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMNode *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + END_INTERFACE +} IXMLDOMNodeVtbl; + +interface IXMLDOMNode { + CONST_VTBL IXMLDOMNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNode_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNode_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMNode_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMNode_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMNode_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMNode_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMNode_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMNode_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMNode_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMNode_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMNode_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMNode_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMNode_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMNode_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMNode_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMNode_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMNode_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMNode_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMNode_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMNode_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMNode_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMNode_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMNode_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMNode_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMNode_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMNode_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMNode_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMNode_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMNode_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMNode_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMNode_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMNode_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMNode_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMNode_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMNode_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMNode_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMNode_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMNode_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_QueryInterface(IXMLDOMNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNode_AddRef(IXMLDOMNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNode_Release(IXMLDOMNode* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_GetTypeInfoCount(IXMLDOMNode* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNode_GetTypeInfo(IXMLDOMNode* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNode_GetIDsOfNames(IXMLDOMNode* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNode_Invoke(IXMLDOMNode* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeName(IXMLDOMNode* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeValue(IXMLDOMNode* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_nodeValue(IXMLDOMNode* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeType(IXMLDOMNode* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_parentNode(IXMLDOMNode* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_childNodes(IXMLDOMNode* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_firstChild(IXMLDOMNode* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_lastChild(IXMLDOMNode* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_previousSibling(IXMLDOMNode* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nextSibling(IXMLDOMNode* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_attributes(IXMLDOMNode* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMNode_insertBefore(IXMLDOMNode* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_replaceChild(IXMLDOMNode* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_removeChild(IXMLDOMNode* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_appendChild(IXMLDOMNode* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_hasChildNodes(IXMLDOMNode* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_ownerDocument(IXMLDOMNode* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMNode_cloneNode(IXMLDOMNode* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeTypeString(IXMLDOMNode* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_text(IXMLDOMNode* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_text(IXMLDOMNode* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_specified(IXMLDOMNode* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_definition(IXMLDOMNode* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeTypedValue(IXMLDOMNode* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_nodeTypedValue(IXMLDOMNode* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_dataType(IXMLDOMNode* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_dataType(IXMLDOMNode* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_xml(IXMLDOMNode* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMNode_transformNode(IXMLDOMNode* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMNode_selectNodes(IXMLDOMNode* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMNode_selectSingleNode(IXMLDOMNode* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_parsed(IXMLDOMNode* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_namespaceURI(IXMLDOMNode* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_prefix(IXMLDOMNode* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_baseName(IXMLDOMNode* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMNode_transformNodeToObject(IXMLDOMNode* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument interface + */ +#ifndef __IXMLDOMDocument_INTERFACE_DEFINED__ +#define __IXMLDOMDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument, 0x2933bf81, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf81-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_doctype( + IXMLDOMDocumentType **documentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_implementation( + IXMLDOMImplementation **impl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_documentElement( + IXMLDOMElement **DOMElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_documentElement( + IXMLDOMElement *DOMElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + BSTR tagname, + IXMLDOMElement **element) = 0; + + virtual HRESULT STDMETHODCALLTYPE createDocumentFragment( + IXMLDOMDocumentFragment **docFrag) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextNode( + BSTR data, + IXMLDOMText **text) = 0; + + virtual HRESULT STDMETHODCALLTYPE createComment( + BSTR data, + IXMLDOMComment **comment) = 0; + + virtual HRESULT STDMETHODCALLTYPE createCDATASection( + BSTR data, + IXMLDOMCDATASection **cdata) = 0; + + virtual HRESULT STDMETHODCALLTYPE createProcessingInstruction( + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE createAttribute( + BSTR name, + IXMLDOMAttribute **attribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE createEntityReference( + BSTR name, + IXMLDOMEntityReference **entityRef) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR tagName, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE createNode( + VARIANT Type, + BSTR name, + BSTR namespaceURI, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE nodeFromID( + BSTR idString, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE load( + VARIANT xmlSource, + VARIANT_BOOL *isSuccessful) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parseError( + IXMLDOMParseError **errorObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *urlString) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_async( + VARIANT_BOOL *isAsync) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_async( + VARIANT_BOOL isAsync) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE loadXML( + BSTR bstrXML, + VARIANT_BOOL *isSuccessful) = 0; + + virtual HRESULT STDMETHODCALLTYPE save( + VARIANT destination) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_validateOnParse( + VARIANT_BOOL *isValidating) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_validateOnParse( + VARIANT_BOOL isValidating) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_resolveExternals( + VARIANT_BOOL *isResolving) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_resolveExternals( + VARIANT_BOOL isValidating) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_preserveWhiteSpace( + VARIANT_BOOL *isPreserving) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_preserveWhiteSpace( + VARIANT_BOOL isPreserving) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT readystatechangeSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondataavailable( + VARIANT ondataavailableSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ontransformnode( + VARIANT ontransformnodeSink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument, 0x2933bf81, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument *This, + IXMLDOMDocumentType **documentType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument *This, + IXMLDOMElement **DOMElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument *This, + IXMLDOMElement *DOMElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument *This, + BSTR tagname, + IXMLDOMElement **element); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument *This, + BSTR data, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument *This, + BSTR data, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument *This, + BSTR data, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument *This, + BSTR name, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument *This, + BSTR name, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument *This, + BSTR tagName, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument *This, + VARIANT Type, + BSTR name, + BSTR namespaceURI, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument *This, + BSTR idString, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument *This, + VARIANT xmlSource, + VARIANT_BOOL *isSuccessful); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument *This, + IXMLDOMParseError **errorObj); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument *This, + BSTR *urlString); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument *This, + VARIANT_BOOL *isAsync); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument *This, + VARIANT_BOOL isAsync); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument *This, + BSTR bstrXML, + VARIANT_BOOL *isSuccessful); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument *This, + VARIANT destination); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument *This, + VARIANT_BOOL *isValidating); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument *This, + VARIANT_BOOL isValidating); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument *This, + VARIANT_BOOL *isResolving); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument *This, + VARIANT_BOOL isValidating); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument *This, + VARIANT_BOOL *isPreserving); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument *This, + VARIANT_BOOL isPreserving); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument *This, + VARIANT readystatechangeSink); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument *This, + VARIANT ondataavailableSink); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument *This, + VARIANT ontransformnodeSink); + + END_INTERFACE +} IXMLDOMDocumentVtbl; + +interface IXMLDOMDocument { + CONST_VTBL IXMLDOMDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMDocument_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMDocument_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMDocument_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMDocument_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMDocument_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMDocument_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMDocument_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMDocument_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMDocument_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMDocument_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMDocument_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMDocument_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMDocument_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMDocument_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMDocument_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMDocument_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMDocument_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMDocument_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMDocument_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMDocument_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMDocument_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMDocument_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMDocument_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMDocument_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMDocument_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMDocument_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMDocument_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMDocument_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMDocument_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMDocument_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMDocument_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMDocument_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMDocument_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument_get_doctype(This,documentType) (This)->lpVtbl->get_doctype(This,documentType) +#define IXMLDOMDocument_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument_get_documentElement(This,DOMElement) (This)->lpVtbl->get_documentElement(This,DOMElement) +#define IXMLDOMDocument_putref_documentElement(This,DOMElement) (This)->lpVtbl->putref_documentElement(This,DOMElement) +#define IXMLDOMDocument_createElement(This,tagname,element) (This)->lpVtbl->createElement(This,tagname,element) +#define IXMLDOMDocument_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument_createTextNode(This,data,text) (This)->lpVtbl->createTextNode(This,data,text) +#define IXMLDOMDocument_createComment(This,data,comment) (This)->lpVtbl->createComment(This,data,comment) +#define IXMLDOMDocument_createCDATASection(This,data,cdata) (This)->lpVtbl->createCDATASection(This,data,cdata) +#define IXMLDOMDocument_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument_createAttribute(This,name,attribute) (This)->lpVtbl->createAttribute(This,name,attribute) +#define IXMLDOMDocument_createEntityReference(This,name,entityRef) (This)->lpVtbl->createEntityReference(This,name,entityRef) +#define IXMLDOMDocument_getElementsByTagName(This,tagName,resultList) (This)->lpVtbl->getElementsByTagName(This,tagName,resultList) +#define IXMLDOMDocument_createNode(This,Type,name,namespaceURI,node) (This)->lpVtbl->createNode(This,Type,name,namespaceURI,node) +#define IXMLDOMDocument_nodeFromID(This,idString,node) (This)->lpVtbl->nodeFromID(This,idString,node) +#define IXMLDOMDocument_load(This,xmlSource,isSuccessful) (This)->lpVtbl->load(This,xmlSource,isSuccessful) +#define IXMLDOMDocument_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument_get_parseError(This,errorObj) (This)->lpVtbl->get_parseError(This,errorObj) +#define IXMLDOMDocument_get_url(This,urlString) (This)->lpVtbl->get_url(This,urlString) +#define IXMLDOMDocument_get_async(This,isAsync) (This)->lpVtbl->get_async(This,isAsync) +#define IXMLDOMDocument_put_async(This,isAsync) (This)->lpVtbl->put_async(This,isAsync) +#define IXMLDOMDocument_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument_loadXML(This,bstrXML,isSuccessful) (This)->lpVtbl->loadXML(This,bstrXML,isSuccessful) +#define IXMLDOMDocument_save(This,destination) (This)->lpVtbl->save(This,destination) +#define IXMLDOMDocument_get_validateOnParse(This,isValidating) (This)->lpVtbl->get_validateOnParse(This,isValidating) +#define IXMLDOMDocument_put_validateOnParse(This,isValidating) (This)->lpVtbl->put_validateOnParse(This,isValidating) +#define IXMLDOMDocument_get_resolveExternals(This,isResolving) (This)->lpVtbl->get_resolveExternals(This,isResolving) +#define IXMLDOMDocument_put_resolveExternals(This,isValidating) (This)->lpVtbl->put_resolveExternals(This,isValidating) +#define IXMLDOMDocument_get_preserveWhiteSpace(This,isPreserving) (This)->lpVtbl->get_preserveWhiteSpace(This,isPreserving) +#define IXMLDOMDocument_put_preserveWhiteSpace(This,isPreserving) (This)->lpVtbl->put_preserveWhiteSpace(This,isPreserving) +#define IXMLDOMDocument_put_onreadystatechange(This,readystatechangeSink) (This)->lpVtbl->put_onreadystatechange(This,readystatechangeSink) +#define IXMLDOMDocument_put_ondataavailable(This,ondataavailableSink) (This)->lpVtbl->put_ondataavailable(This,ondataavailableSink) +#define IXMLDOMDocument_put_ontransformnode(This,ontransformnodeSink) (This)->lpVtbl->put_ontransformnode(This,ontransformnodeSink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_QueryInterface(IXMLDOMDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument_AddRef(IXMLDOMDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument_Release(IXMLDOMDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_GetTypeInfoCount(IXMLDOMDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument_GetTypeInfo(IXMLDOMDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument_GetIDsOfNames(IXMLDOMDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument_Invoke(IXMLDOMDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeName(IXMLDOMDocument* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeValue(IXMLDOMDocument* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_nodeValue(IXMLDOMDocument* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeType(IXMLDOMDocument* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parentNode(IXMLDOMDocument* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_childNodes(IXMLDOMDocument* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_firstChild(IXMLDOMDocument* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_lastChild(IXMLDOMDocument* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_previousSibling(IXMLDOMDocument* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nextSibling(IXMLDOMDocument* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_attributes(IXMLDOMDocument* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument_insertBefore(IXMLDOMDocument* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_replaceChild(IXMLDOMDocument* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_removeChild(IXMLDOMDocument* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_appendChild(IXMLDOMDocument* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_hasChildNodes(IXMLDOMDocument* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_ownerDocument(IXMLDOMDocument* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument_cloneNode(IXMLDOMDocument* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeTypeString(IXMLDOMDocument* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_text(IXMLDOMDocument* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_text(IXMLDOMDocument* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_specified(IXMLDOMDocument* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_definition(IXMLDOMDocument* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeTypedValue(IXMLDOMDocument* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_nodeTypedValue(IXMLDOMDocument* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_dataType(IXMLDOMDocument* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_dataType(IXMLDOMDocument* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_xml(IXMLDOMDocument* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMDocument_transformNode(IXMLDOMDocument* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMDocument_selectNodes(IXMLDOMDocument* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_selectSingleNode(IXMLDOMDocument* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parsed(IXMLDOMDocument* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_namespaceURI(IXMLDOMDocument* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_prefix(IXMLDOMDocument* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_baseName(IXMLDOMDocument* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMDocument_transformNodeToObject(IXMLDOMDocument* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_get_doctype(IXMLDOMDocument* This,IXMLDOMDocumentType **documentType) { + return This->lpVtbl->get_doctype(This,documentType); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_implementation(IXMLDOMDocument* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_documentElement(IXMLDOMDocument* This,IXMLDOMElement **DOMElement) { + return This->lpVtbl->get_documentElement(This,DOMElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_putref_documentElement(IXMLDOMDocument* This,IXMLDOMElement *DOMElement) { + return This->lpVtbl->putref_documentElement(This,DOMElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createElement(IXMLDOMDocument* This,BSTR tagname,IXMLDOMElement **element) { + return This->lpVtbl->createElement(This,tagname,element); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createDocumentFragment(IXMLDOMDocument* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createTextNode(IXMLDOMDocument* This,BSTR data,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,data,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createComment(IXMLDOMDocument* This,BSTR data,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,data,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createCDATASection(IXMLDOMDocument* This,BSTR data,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,data,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createProcessingInstruction(IXMLDOMDocument* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createAttribute(IXMLDOMDocument* This,BSTR name,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,name,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createEntityReference(IXMLDOMDocument* This,BSTR name,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,name,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument_getElementsByTagName(IXMLDOMDocument* This,BSTR tagName,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,tagName,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createNode(IXMLDOMDocument* This,VARIANT Type,BSTR name,BSTR namespaceURI,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,Type,name,namespaceURI,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument_nodeFromID(IXMLDOMDocument* This,BSTR idString,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,idString,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument_load(IXMLDOMDocument* This,VARIANT xmlSource,VARIANT_BOOL *isSuccessful) { + return This->lpVtbl->load(This,xmlSource,isSuccessful); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_readyState(IXMLDOMDocument* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parseError(IXMLDOMDocument* This,IXMLDOMParseError **errorObj) { + return This->lpVtbl->get_parseError(This,errorObj); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_url(IXMLDOMDocument* This,BSTR *urlString) { + return This->lpVtbl->get_url(This,urlString); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_async(IXMLDOMDocument* This,VARIANT_BOOL *isAsync) { + return This->lpVtbl->get_async(This,isAsync); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_async(IXMLDOMDocument* This,VARIANT_BOOL isAsync) { + return This->lpVtbl->put_async(This,isAsync); +} +static FORCEINLINE HRESULT IXMLDOMDocument_abort(IXMLDOMDocument* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument_loadXML(IXMLDOMDocument* This,BSTR bstrXML,VARIANT_BOOL *isSuccessful) { + return This->lpVtbl->loadXML(This,bstrXML,isSuccessful); +} +static FORCEINLINE HRESULT IXMLDOMDocument_save(IXMLDOMDocument* This,VARIANT destination) { + return This->lpVtbl->save(This,destination); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_validateOnParse(IXMLDOMDocument* This,VARIANT_BOOL *isValidating) { + return This->lpVtbl->get_validateOnParse(This,isValidating); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_validateOnParse(IXMLDOMDocument* This,VARIANT_BOOL isValidating) { + return This->lpVtbl->put_validateOnParse(This,isValidating); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_resolveExternals(IXMLDOMDocument* This,VARIANT_BOOL *isResolving) { + return This->lpVtbl->get_resolveExternals(This,isResolving); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_resolveExternals(IXMLDOMDocument* This,VARIANT_BOOL isValidating) { + return This->lpVtbl->put_resolveExternals(This,isValidating); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_preserveWhiteSpace(IXMLDOMDocument* This,VARIANT_BOOL *isPreserving) { + return This->lpVtbl->get_preserveWhiteSpace(This,isPreserving); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_preserveWhiteSpace(IXMLDOMDocument* This,VARIANT_BOOL isPreserving) { + return This->lpVtbl->put_preserveWhiteSpace(This,isPreserving); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_onreadystatechange(IXMLDOMDocument* This,VARIANT readystatechangeSink) { + return This->lpVtbl->put_onreadystatechange(This,readystatechangeSink); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_ondataavailable(IXMLDOMDocument* This,VARIANT ondataavailableSink) { + return This->lpVtbl->put_ondataavailable(This,ondataavailableSink); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_ontransformnode(IXMLDOMDocument* This,VARIANT ontransformnodeSink) { + return This->lpVtbl->put_ontransformnode(This,ontransformnodeSink); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNodeList interface + */ +#ifndef __IXMLDOMNodeList_INTERFACE_DEFINED__ +#define __IXMLDOMNodeList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNodeList, 0x2933bf82, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf82-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNodeList : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + IXMLDOMNode **listItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *listLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextNode( + IXMLDOMNode **nextItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNodeList, 0x2933bf82, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNodeListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNodeList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNodeList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNodeList *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNodeList *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNodeList *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNodeList *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNodeList *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNodeList methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMNodeList *This, + LONG index, + IXMLDOMNode **listItem); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMNodeList *This, + LONG *listLength); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMNodeList *This, + IXMLDOMNode **nextItem); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMNodeList *This); + + HRESULT (STDMETHODCALLTYPE *_newEnum)( + IXMLDOMNodeList *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMNodeListVtbl; + +interface IXMLDOMNodeList { + CONST_VTBL IXMLDOMNodeListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNodeList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNodeList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNodeList_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNodeList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNodeList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNodeList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNodeList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNodeList methods ***/ +#define IXMLDOMNodeList_get_item(This,index,listItem) (This)->lpVtbl->get_item(This,index,listItem) +#define IXMLDOMNodeList_get_length(This,listLength) (This)->lpVtbl->get_length(This,listLength) +#define IXMLDOMNodeList_nextNode(This,nextItem) (This)->lpVtbl->nextNode(This,nextItem) +#define IXMLDOMNodeList_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMNodeList__newEnum(This,ppUnk) (This)->lpVtbl->_newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_QueryInterface(IXMLDOMNodeList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNodeList_AddRef(IXMLDOMNodeList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNodeList_Release(IXMLDOMNodeList* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_GetTypeInfoCount(IXMLDOMNodeList* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_GetTypeInfo(IXMLDOMNodeList* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_GetIDsOfNames(IXMLDOMNodeList* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_Invoke(IXMLDOMNodeList* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNodeList methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_get_item(IXMLDOMNodeList* This,LONG index,IXMLDOMNode **listItem) { + return This->lpVtbl->get_item(This,index,listItem); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_get_length(IXMLDOMNodeList* This,LONG *listLength) { + return This->lpVtbl->get_length(This,listLength); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_nextNode(IXMLDOMNodeList* This,IXMLDOMNode **nextItem) { + return This->lpVtbl->nextNode(This,nextItem); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_reset(IXMLDOMNodeList* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMNodeList__newEnum(IXMLDOMNodeList* This,IUnknown **ppUnk) { + return This->lpVtbl->_newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNodeList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNamedNodeMap interface + */ +#ifndef __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ +#define __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNamedNodeMap, 0x2933bf83, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf83-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNamedNodeMap : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getNamedItem( + BSTR name, + IXMLDOMNode **namedItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE setNamedItem( + IXMLDOMNode *newItem, + IXMLDOMNode **namedItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNamedItem( + BSTR name, + IXMLDOMNode **namedItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + IXMLDOMNode **listItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *listLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQualifiedItem( + BSTR baseName, + BSTR namespaceURI, + IXMLDOMNode **qualifiedItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeQualifiedItem( + BSTR baseName, + BSTR namespaceURI, + IXMLDOMNode **qualifiedItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextNode( + IXMLDOMNode **nextItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNamedNodeMap, 0x2933bf83, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNamedNodeMapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNamedNodeMap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNamedNodeMap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNamedNodeMap *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNamedNodeMap *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNamedNodeMap *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNamedNodeMap *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNamedNodeMap *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNamedNodeMap methods ***/ + HRESULT (STDMETHODCALLTYPE *getNamedItem)( + IXMLDOMNamedNodeMap *This, + BSTR name, + IXMLDOMNode **namedItem); + + HRESULT (STDMETHODCALLTYPE *setNamedItem)( + IXMLDOMNamedNodeMap *This, + IXMLDOMNode *newItem, + IXMLDOMNode **namedItem); + + HRESULT (STDMETHODCALLTYPE *removeNamedItem)( + IXMLDOMNamedNodeMap *This, + BSTR name, + IXMLDOMNode **namedItem); + + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMNamedNodeMap *This, + LONG index, + IXMLDOMNode **listItem); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMNamedNodeMap *This, + LONG *listLength); + + HRESULT (STDMETHODCALLTYPE *getQualifiedItem)( + IXMLDOMNamedNodeMap *This, + BSTR baseName, + BSTR namespaceURI, + IXMLDOMNode **qualifiedItem); + + HRESULT (STDMETHODCALLTYPE *removeQualifiedItem)( + IXMLDOMNamedNodeMap *This, + BSTR baseName, + BSTR namespaceURI, + IXMLDOMNode **qualifiedItem); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMNamedNodeMap *This, + IXMLDOMNode **nextItem); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMNamedNodeMap *This); + + HRESULT (STDMETHODCALLTYPE *_newEnum)( + IXMLDOMNamedNodeMap *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMNamedNodeMapVtbl; + +interface IXMLDOMNamedNodeMap { + CONST_VTBL IXMLDOMNamedNodeMapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNamedNodeMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNamedNodeMap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNamedNodeMap_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNamedNodeMap_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNamedNodeMap_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNamedNodeMap_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNamedNodeMap_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNamedNodeMap methods ***/ +#define IXMLDOMNamedNodeMap_getNamedItem(This,name,namedItem) (This)->lpVtbl->getNamedItem(This,name,namedItem) +#define IXMLDOMNamedNodeMap_setNamedItem(This,newItem,namedItem) (This)->lpVtbl->setNamedItem(This,newItem,namedItem) +#define IXMLDOMNamedNodeMap_removeNamedItem(This,name,namedItem) (This)->lpVtbl->removeNamedItem(This,name,namedItem) +#define IXMLDOMNamedNodeMap_get_item(This,index,listItem) (This)->lpVtbl->get_item(This,index,listItem) +#define IXMLDOMNamedNodeMap_get_length(This,listLength) (This)->lpVtbl->get_length(This,listLength) +#define IXMLDOMNamedNodeMap_getQualifiedItem(This,baseName,namespaceURI,qualifiedItem) (This)->lpVtbl->getQualifiedItem(This,baseName,namespaceURI,qualifiedItem) +#define IXMLDOMNamedNodeMap_removeQualifiedItem(This,baseName,namespaceURI,qualifiedItem) (This)->lpVtbl->removeQualifiedItem(This,baseName,namespaceURI,qualifiedItem) +#define IXMLDOMNamedNodeMap_nextNode(This,nextItem) (This)->lpVtbl->nextNode(This,nextItem) +#define IXMLDOMNamedNodeMap_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMNamedNodeMap__newEnum(This,ppUnk) (This)->lpVtbl->_newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_QueryInterface(IXMLDOMNamedNodeMap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNamedNodeMap_AddRef(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNamedNodeMap_Release(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetTypeInfoCount(IXMLDOMNamedNodeMap* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetTypeInfo(IXMLDOMNamedNodeMap* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetIDsOfNames(IXMLDOMNamedNodeMap* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_Invoke(IXMLDOMNamedNodeMap* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNamedNodeMap methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_getNamedItem(IXMLDOMNamedNodeMap* This,BSTR name,IXMLDOMNode **namedItem) { + return This->lpVtbl->getNamedItem(This,name,namedItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_setNamedItem(IXMLDOMNamedNodeMap* This,IXMLDOMNode *newItem,IXMLDOMNode **namedItem) { + return This->lpVtbl->setNamedItem(This,newItem,namedItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_removeNamedItem(IXMLDOMNamedNodeMap* This,BSTR name,IXMLDOMNode **namedItem) { + return This->lpVtbl->removeNamedItem(This,name,namedItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get_item(IXMLDOMNamedNodeMap* This,LONG index,IXMLDOMNode **listItem) { + return This->lpVtbl->get_item(This,index,listItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get_length(IXMLDOMNamedNodeMap* This,LONG *listLength) { + return This->lpVtbl->get_length(This,listLength); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_getQualifiedItem(IXMLDOMNamedNodeMap* This,BSTR baseName,BSTR namespaceURI,IXMLDOMNode **qualifiedItem) { + return This->lpVtbl->getQualifiedItem(This,baseName,namespaceURI,qualifiedItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_removeQualifiedItem(IXMLDOMNamedNodeMap* This,BSTR baseName,BSTR namespaceURI,IXMLDOMNode **qualifiedItem) { + return This->lpVtbl->removeQualifiedItem(This,baseName,namespaceURI,qualifiedItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_nextNode(IXMLDOMNamedNodeMap* This,IXMLDOMNode **nextItem) { + return This->lpVtbl->nextNode(This,nextItem); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_reset(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap__newEnum(IXMLDOMNamedNodeMap* This,IUnknown **ppUnk) { + return This->lpVtbl->_newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocumentFragment interface + */ +#ifndef __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ +#define __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocumentFragment, 0x3efaa413, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa413-272f-11d2-836f-0000f87a7782") +IXMLDOMDocumentFragment : public IXMLDOMNode +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocumentFragment, 0x3efaa413, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMDocumentFragmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocumentFragment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocumentFragment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocumentFragment *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocumentFragment *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocumentFragment *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocumentFragment *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocumentFragment *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocumentFragment *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocumentFragment *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocumentFragment *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocumentFragment *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocumentFragment *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocumentFragment *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocumentFragment *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocumentFragment *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocumentFragment *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocumentFragment *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocumentFragment *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocumentFragment *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocumentFragment *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocumentFragment *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocumentFragment *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocumentFragment *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocumentFragment *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocumentFragment *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocumentFragment *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocumentFragment *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + END_INTERFACE +} IXMLDOMDocumentFragmentVtbl; + +interface IXMLDOMDocumentFragment { + CONST_VTBL IXMLDOMDocumentFragmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocumentFragment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocumentFragment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocumentFragment_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocumentFragment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocumentFragment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocumentFragment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocumentFragment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocumentFragment_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMDocumentFragment_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMDocumentFragment_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMDocumentFragment_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMDocumentFragment_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocumentFragment_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMDocumentFragment_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMDocumentFragment_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMDocumentFragment_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMDocumentFragment_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMDocumentFragment_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocumentFragment_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMDocumentFragment_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMDocumentFragment_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMDocumentFragment_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMDocumentFragment_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMDocumentFragment_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMDocumentFragment_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMDocumentFragment_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMDocumentFragment_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMDocumentFragment_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMDocumentFragment_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMDocumentFragment_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMDocumentFragment_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMDocumentFragment_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMDocumentFragment_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMDocumentFragment_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMDocumentFragment_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMDocumentFragment_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMDocumentFragment_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMDocumentFragment_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMDocumentFragment_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMDocumentFragment_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMDocumentFragment_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMDocumentFragment_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMDocumentFragment_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_QueryInterface(IXMLDOMDocumentFragment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocumentFragment_AddRef(IXMLDOMDocumentFragment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocumentFragment_Release(IXMLDOMDocumentFragment* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetTypeInfoCount(IXMLDOMDocumentFragment* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetTypeInfo(IXMLDOMDocumentFragment* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetIDsOfNames(IXMLDOMDocumentFragment* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_Invoke(IXMLDOMDocumentFragment* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeName(IXMLDOMDocumentFragment* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeValue(IXMLDOMDocumentFragment* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_nodeValue(IXMLDOMDocumentFragment* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeType(IXMLDOMDocumentFragment* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_parentNode(IXMLDOMDocumentFragment* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_childNodes(IXMLDOMDocumentFragment* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_firstChild(IXMLDOMDocumentFragment* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_lastChild(IXMLDOMDocumentFragment* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_previousSibling(IXMLDOMDocumentFragment* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nextSibling(IXMLDOMDocumentFragment* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_attributes(IXMLDOMDocumentFragment* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_insertBefore(IXMLDOMDocumentFragment* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_replaceChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_removeChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_appendChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_hasChildNodes(IXMLDOMDocumentFragment* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_ownerDocument(IXMLDOMDocumentFragment* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_cloneNode(IXMLDOMDocumentFragment* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeTypeString(IXMLDOMDocumentFragment* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_text(IXMLDOMDocumentFragment* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_text(IXMLDOMDocumentFragment* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_specified(IXMLDOMDocumentFragment* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_definition(IXMLDOMDocumentFragment* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeTypedValue(IXMLDOMDocumentFragment* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_nodeTypedValue(IXMLDOMDocumentFragment* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_dataType(IXMLDOMDocumentFragment* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_dataType(IXMLDOMDocumentFragment* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_xml(IXMLDOMDocumentFragment* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_transformNode(IXMLDOMDocumentFragment* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_selectNodes(IXMLDOMDocumentFragment* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_selectSingleNode(IXMLDOMDocumentFragment* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_parsed(IXMLDOMDocumentFragment* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_namespaceURI(IXMLDOMDocumentFragment* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_prefix(IXMLDOMDocumentFragment* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_baseName(IXMLDOMDocumentFragment* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_transformNodeToObject(IXMLDOMDocumentFragment* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMCharacterData interface + */ +#ifndef __IXMLDOMCharacterData_INTERFACE_DEFINED__ +#define __IXMLDOMCharacterData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMCharacterData, 0x2933bf84, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf84-7b36-11d2-b20e-00c04f983e60") +IXMLDOMCharacterData : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *dataLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE substringData( + LONG offset, + LONG count, + BSTR *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendData( + BSTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertData( + LONG offset, + BSTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteData( + LONG offset, + LONG count) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceData( + LONG offset, + LONG count, + BSTR data) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMCharacterData, 0x2933bf84, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCharacterDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMCharacterData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMCharacterData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMCharacterData *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMCharacterData *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMCharacterData *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMCharacterData *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMCharacterData *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMCharacterData *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMCharacterData *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMCharacterData *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMCharacterData *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMCharacterData *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMCharacterData *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMCharacterData *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMCharacterData *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMCharacterData *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMCharacterData *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMCharacterData *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMCharacterData *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMCharacterData *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMCharacterData *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMCharacterData *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMCharacterData *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMCharacterData *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMCharacterData *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMCharacterData *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMCharacterData *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMCharacterData *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMCharacterData *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMCharacterData *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMCharacterData *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMCharacterData *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMCharacterData *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMCharacterData *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMCharacterData *This, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMCharacterData *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMCharacterData *This, + LONG *dataLength); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMCharacterData *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMCharacterData *This, + LONG offset, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count, + BSTR data); + + END_INTERFACE +} IXMLDOMCharacterDataVtbl; + +interface IXMLDOMCharacterData { + CONST_VTBL IXMLDOMCharacterDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMCharacterData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMCharacterData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMCharacterData_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMCharacterData_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMCharacterData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMCharacterData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMCharacterData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMCharacterData_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMCharacterData_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMCharacterData_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMCharacterData_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMCharacterData_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMCharacterData_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMCharacterData_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMCharacterData_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMCharacterData_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMCharacterData_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMCharacterData_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMCharacterData_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMCharacterData_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMCharacterData_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMCharacterData_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMCharacterData_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMCharacterData_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMCharacterData_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMCharacterData_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMCharacterData_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMCharacterData_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMCharacterData_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMCharacterData_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMCharacterData_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMCharacterData_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMCharacterData_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMCharacterData_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMCharacterData_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMCharacterData_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMCharacterData_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMCharacterData_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMCharacterData_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMCharacterData_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMCharacterData_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMCharacterData_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMCharacterData_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMCharacterData_get_data(This,data) (This)->lpVtbl->get_data(This,data) +#define IXMLDOMCharacterData_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMCharacterData_get_length(This,dataLength) (This)->lpVtbl->get_length(This,dataLength) +#define IXMLDOMCharacterData_substringData(This,offset,count,data) (This)->lpVtbl->substringData(This,offset,count,data) +#define IXMLDOMCharacterData_appendData(This,data) (This)->lpVtbl->appendData(This,data) +#define IXMLDOMCharacterData_insertData(This,offset,data) (This)->lpVtbl->insertData(This,offset,data) +#define IXMLDOMCharacterData_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMCharacterData_replaceData(This,offset,count,data) (This)->lpVtbl->replaceData(This,offset,count,data) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_QueryInterface(IXMLDOMCharacterData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMCharacterData_AddRef(IXMLDOMCharacterData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMCharacterData_Release(IXMLDOMCharacterData* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetTypeInfoCount(IXMLDOMCharacterData* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetTypeInfo(IXMLDOMCharacterData* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetIDsOfNames(IXMLDOMCharacterData* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_Invoke(IXMLDOMCharacterData* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeName(IXMLDOMCharacterData* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeValue(IXMLDOMCharacterData* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_nodeValue(IXMLDOMCharacterData* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeType(IXMLDOMCharacterData* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_parentNode(IXMLDOMCharacterData* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_childNodes(IXMLDOMCharacterData* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_firstChild(IXMLDOMCharacterData* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_lastChild(IXMLDOMCharacterData* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_previousSibling(IXMLDOMCharacterData* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nextSibling(IXMLDOMCharacterData* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_attributes(IXMLDOMCharacterData* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_insertBefore(IXMLDOMCharacterData* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_replaceChild(IXMLDOMCharacterData* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_removeChild(IXMLDOMCharacterData* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_appendChild(IXMLDOMCharacterData* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_hasChildNodes(IXMLDOMCharacterData* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_ownerDocument(IXMLDOMCharacterData* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_cloneNode(IXMLDOMCharacterData* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeTypeString(IXMLDOMCharacterData* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_text(IXMLDOMCharacterData* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_text(IXMLDOMCharacterData* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_specified(IXMLDOMCharacterData* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_definition(IXMLDOMCharacterData* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeTypedValue(IXMLDOMCharacterData* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_nodeTypedValue(IXMLDOMCharacterData* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_dataType(IXMLDOMCharacterData* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_dataType(IXMLDOMCharacterData* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_xml(IXMLDOMCharacterData* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_transformNode(IXMLDOMCharacterData* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_selectNodes(IXMLDOMCharacterData* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_selectSingleNode(IXMLDOMCharacterData* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_parsed(IXMLDOMCharacterData* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_namespaceURI(IXMLDOMCharacterData* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_prefix(IXMLDOMCharacterData* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_baseName(IXMLDOMCharacterData* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_transformNodeToObject(IXMLDOMCharacterData* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_data(IXMLDOMCharacterData* This,BSTR *data) { + return This->lpVtbl->get_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_data(IXMLDOMCharacterData* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_length(IXMLDOMCharacterData* This,LONG *dataLength) { + return This->lpVtbl->get_length(This,dataLength); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_substringData(IXMLDOMCharacterData* This,LONG offset,LONG count,BSTR *data) { + return This->lpVtbl->substringData(This,offset,count,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_appendData(IXMLDOMCharacterData* This,BSTR data) { + return This->lpVtbl->appendData(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_insertData(IXMLDOMCharacterData* This,LONG offset,BSTR data) { + return This->lpVtbl->insertData(This,offset,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_deleteData(IXMLDOMCharacterData* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_replaceData(IXMLDOMCharacterData* This,LONG offset,LONG count,BSTR data) { + return This->lpVtbl->replaceData(This,offset,count,data); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMCharacterData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMAttribute interface + */ +#ifndef __IXMLDOMAttribute_INTERFACE_DEFINED__ +#define __IXMLDOMAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMAttribute, 0x2933bf85, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf85-7b36-11d2-b20e-00c04f983e60") +IXMLDOMAttribute : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *attributeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + VARIANT *attributeValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + VARIANT attributeValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMAttribute, 0x2933bf85, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMAttribute *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMAttribute *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMAttribute *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMAttribute *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMAttribute *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMAttribute *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMAttribute *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMAttribute *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMAttribute *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMAttribute *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMAttribute *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMAttribute *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMAttribute *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMAttribute *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMAttribute *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMAttribute *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMAttribute *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMAttribute *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMAttribute *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMAttribute *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMAttribute *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMAttribute *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMAttribute *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMAttribute *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMAttribute *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMAttribute *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMAttribute *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMAttribute *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMAttribute *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMAttribute *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMAttribute *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMAttribute *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMAttribute *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLDOMAttribute *This, + BSTR *attributeName); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IXMLDOMAttribute *This, + VARIANT *attributeValue); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IXMLDOMAttribute *This, + VARIANT attributeValue); + + END_INTERFACE +} IXMLDOMAttributeVtbl; + +interface IXMLDOMAttribute { + CONST_VTBL IXMLDOMAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMAttribute_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMAttribute_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMAttribute_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMAttribute_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMAttribute_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMAttribute_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMAttribute_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMAttribute_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMAttribute_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMAttribute_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMAttribute_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMAttribute_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMAttribute_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMAttribute_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMAttribute_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMAttribute_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMAttribute_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMAttribute_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMAttribute_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMAttribute_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMAttribute_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMAttribute_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMAttribute_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMAttribute_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMAttribute_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMAttribute_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMAttribute_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMAttribute_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMAttribute_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMAttribute_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMAttribute_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMAttribute_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMAttribute_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMAttribute_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMAttribute_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMAttribute_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMAttribute methods ***/ +#define IXMLDOMAttribute_get_name(This,attributeName) (This)->lpVtbl->get_name(This,attributeName) +#define IXMLDOMAttribute_get_value(This,attributeValue) (This)->lpVtbl->get_value(This,attributeValue) +#define IXMLDOMAttribute_put_value(This,attributeValue) (This)->lpVtbl->put_value(This,attributeValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_QueryInterface(IXMLDOMAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMAttribute_AddRef(IXMLDOMAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMAttribute_Release(IXMLDOMAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_GetTypeInfoCount(IXMLDOMAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_GetTypeInfo(IXMLDOMAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_GetIDsOfNames(IXMLDOMAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_Invoke(IXMLDOMAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeName(IXMLDOMAttribute* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeValue(IXMLDOMAttribute* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_nodeValue(IXMLDOMAttribute* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeType(IXMLDOMAttribute* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_parentNode(IXMLDOMAttribute* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_childNodes(IXMLDOMAttribute* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_firstChild(IXMLDOMAttribute* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_lastChild(IXMLDOMAttribute* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_previousSibling(IXMLDOMAttribute* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nextSibling(IXMLDOMAttribute* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_attributes(IXMLDOMAttribute* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_insertBefore(IXMLDOMAttribute* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_replaceChild(IXMLDOMAttribute* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_removeChild(IXMLDOMAttribute* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_appendChild(IXMLDOMAttribute* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_hasChildNodes(IXMLDOMAttribute* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_ownerDocument(IXMLDOMAttribute* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_cloneNode(IXMLDOMAttribute* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeTypeString(IXMLDOMAttribute* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_text(IXMLDOMAttribute* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_text(IXMLDOMAttribute* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_specified(IXMLDOMAttribute* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_definition(IXMLDOMAttribute* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeTypedValue(IXMLDOMAttribute* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_nodeTypedValue(IXMLDOMAttribute* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_dataType(IXMLDOMAttribute* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_dataType(IXMLDOMAttribute* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_xml(IXMLDOMAttribute* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_transformNode(IXMLDOMAttribute* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_selectNodes(IXMLDOMAttribute* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_selectSingleNode(IXMLDOMAttribute* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_parsed(IXMLDOMAttribute* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_namespaceURI(IXMLDOMAttribute* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_prefix(IXMLDOMAttribute* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_baseName(IXMLDOMAttribute* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_transformNodeToObject(IXMLDOMAttribute* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMAttribute methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_get_name(IXMLDOMAttribute* This,BSTR *attributeName) { + return This->lpVtbl->get_name(This,attributeName); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_value(IXMLDOMAttribute* This,VARIANT *attributeValue) { + return This->lpVtbl->get_value(This,attributeValue); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_value(IXMLDOMAttribute* This,VARIANT attributeValue) { + return This->lpVtbl->put_value(This,attributeValue); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMElement interface + */ +#ifndef __IXMLDOMElement_INTERFACE_DEFINED__ +#define __IXMLDOMElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMElement, 0x2933bf86, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf86-7b36-11d2-b20e-00c04f983e60") +IXMLDOMElement : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *tagName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR name, + VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR name, + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeNode( + BSTR name, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNode( + IXMLDOMAttribute *DOMAttribute, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttributeNode( + IXMLDOMAttribute *DOMAttribute, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR tagName, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE normalize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMElement, 0x2933bf86, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMElement *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMElement *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMElement *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMElement *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMElement *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMElement *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMElement *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMElement *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMElement *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMElement *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMElement *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMElement *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMElement *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMElement *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMElement *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMElement *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMElement *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMElement *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMElement *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMElement *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMElement *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMElement *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMElement *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMElement *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMElement *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMElement *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMElement *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMElement *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMElement *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMElement *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMElement *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMElement *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMElement *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMElement *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMElement *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMElement *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IXMLDOMElement *This, + BSTR *tagName); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IXMLDOMElement *This, + BSTR name, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IXMLDOMElement *This, + BSTR name, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IXMLDOMElement *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *getAttributeNode)( + IXMLDOMElement *This, + BSTR name, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *setAttributeNode)( + IXMLDOMElement *This, + IXMLDOMAttribute *DOMAttribute, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *removeAttributeNode)( + IXMLDOMElement *This, + IXMLDOMAttribute *DOMAttribute, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMElement *This, + BSTR tagName, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *normalize)( + IXMLDOMElement *This); + + END_INTERFACE +} IXMLDOMElementVtbl; + +interface IXMLDOMElement { + CONST_VTBL IXMLDOMElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMElement_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMElement_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMElement_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMElement_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMElement_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMElement_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMElement_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMElement_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMElement_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMElement_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMElement_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMElement_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMElement_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMElement_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMElement_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMElement_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMElement_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMElement_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMElement_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMElement_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMElement_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMElement_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMElement_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMElement_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMElement_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMElement_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMElement_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMElement_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMElement_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMElement_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMElement_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMElement_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMElement_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMElement_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMElement_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMElement_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMElement methods ***/ +#define IXMLDOMElement_get_tagName(This,tagName) (This)->lpVtbl->get_tagName(This,tagName) +#define IXMLDOMElement_getAttribute(This,name,value) (This)->lpVtbl->getAttribute(This,name,value) +#define IXMLDOMElement_setAttribute(This,name,value) (This)->lpVtbl->setAttribute(This,name,value) +#define IXMLDOMElement_removeAttribute(This,name) (This)->lpVtbl->removeAttribute(This,name) +#define IXMLDOMElement_getAttributeNode(This,name,attributeNode) (This)->lpVtbl->getAttributeNode(This,name,attributeNode) +#define IXMLDOMElement_setAttributeNode(This,DOMAttribute,attributeNode) (This)->lpVtbl->setAttributeNode(This,DOMAttribute,attributeNode) +#define IXMLDOMElement_removeAttributeNode(This,DOMAttribute,attributeNode) (This)->lpVtbl->removeAttributeNode(This,DOMAttribute,attributeNode) +#define IXMLDOMElement_getElementsByTagName(This,tagName,resultList) (This)->lpVtbl->getElementsByTagName(This,tagName,resultList) +#define IXMLDOMElement_normalize(This) (This)->lpVtbl->normalize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_QueryInterface(IXMLDOMElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMElement_AddRef(IXMLDOMElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMElement_Release(IXMLDOMElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_GetTypeInfoCount(IXMLDOMElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMElement_GetTypeInfo(IXMLDOMElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMElement_GetIDsOfNames(IXMLDOMElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMElement_Invoke(IXMLDOMElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeName(IXMLDOMElement* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeValue(IXMLDOMElement* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_nodeValue(IXMLDOMElement* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeType(IXMLDOMElement* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_parentNode(IXMLDOMElement* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_childNodes(IXMLDOMElement* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_firstChild(IXMLDOMElement* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_lastChild(IXMLDOMElement* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_previousSibling(IXMLDOMElement* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nextSibling(IXMLDOMElement* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_attributes(IXMLDOMElement* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMElement_insertBefore(IXMLDOMElement* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_replaceChild(IXMLDOMElement* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeChild(IXMLDOMElement* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_appendChild(IXMLDOMElement* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_hasChildNodes(IXMLDOMElement* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_ownerDocument(IXMLDOMElement* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMElement_cloneNode(IXMLDOMElement* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeTypeString(IXMLDOMElement* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_text(IXMLDOMElement* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_text(IXMLDOMElement* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_specified(IXMLDOMElement* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_definition(IXMLDOMElement* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeTypedValue(IXMLDOMElement* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_nodeTypedValue(IXMLDOMElement* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_dataType(IXMLDOMElement* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_dataType(IXMLDOMElement* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_xml(IXMLDOMElement* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMElement_transformNode(IXMLDOMElement* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMElement_selectNodes(IXMLDOMElement* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMElement_selectSingleNode(IXMLDOMElement* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_parsed(IXMLDOMElement* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_namespaceURI(IXMLDOMElement* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_prefix(IXMLDOMElement* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_baseName(IXMLDOMElement* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMElement_transformNodeToObject(IXMLDOMElement* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMElement methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_get_tagName(IXMLDOMElement* This,BSTR *tagName) { + return This->lpVtbl->get_tagName(This,tagName); +} +static FORCEINLINE HRESULT IXMLDOMElement_getAttribute(IXMLDOMElement* This,BSTR name,VARIANT *value) { + return This->lpVtbl->getAttribute(This,name,value); +} +static FORCEINLINE HRESULT IXMLDOMElement_setAttribute(IXMLDOMElement* This,BSTR name,VARIANT value) { + return This->lpVtbl->setAttribute(This,name,value); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeAttribute(IXMLDOMElement* This,BSTR name) { + return This->lpVtbl->removeAttribute(This,name); +} +static FORCEINLINE HRESULT IXMLDOMElement_getAttributeNode(IXMLDOMElement* This,BSTR name,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->getAttributeNode(This,name,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_setAttributeNode(IXMLDOMElement* This,IXMLDOMAttribute *DOMAttribute,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->setAttributeNode(This,DOMAttribute,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeAttributeNode(IXMLDOMElement* This,IXMLDOMAttribute *DOMAttribute,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->removeAttributeNode(This,DOMAttribute,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_getElementsByTagName(IXMLDOMElement* This,BSTR tagName,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,tagName,resultList); +} +static FORCEINLINE HRESULT IXMLDOMElement_normalize(IXMLDOMElement* This) { + return This->lpVtbl->normalize(This); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMText interface + */ +#ifndef __IXMLDOMText_INTERFACE_DEFINED__ +#define __IXMLDOMText_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMText, 0x2933bf87, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf87-7b36-11d2-b20e-00c04f983e60") +IXMLDOMText : public IXMLDOMCharacterData +{ + virtual HRESULT STDMETHODCALLTYPE splitText( + LONG offset, + IXMLDOMText **rightHandTextNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMText, 0x2933bf87, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMTextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMText *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMText *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMText *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMText *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMText *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMText *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMText *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMText *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMText *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMText *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMText *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMText *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMText *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMText *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMText *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMText *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMText *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMText *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMText *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMText *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMText *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMText *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMText *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMText *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMText *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMText *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMText *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMText *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMText *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMText *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMText *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMText *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMText *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMText *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMText *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMText *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMText *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMText *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMText *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMText *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMText *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMText *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMText *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMText *This, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMText *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMText *This, + LONG *dataLength); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMText *This, + LONG offset, + LONG count, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMText *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMText *This, + LONG offset, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMText *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMText *This, + LONG offset, + LONG count, + BSTR data); + + /*** IXMLDOMText methods ***/ + HRESULT (STDMETHODCALLTYPE *splitText)( + IXMLDOMText *This, + LONG offset, + IXMLDOMText **rightHandTextNode); + + END_INTERFACE +} IXMLDOMTextVtbl; + +interface IXMLDOMText { + CONST_VTBL IXMLDOMTextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMText_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMText_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMText_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMText_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMText_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMText_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMText_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMText_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMText_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMText_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMText_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMText_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMText_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMText_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMText_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMText_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMText_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMText_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMText_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMText_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMText_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMText_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMText_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMText_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMText_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMText_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMText_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMText_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMText_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMText_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMText_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMText_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMText_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMText_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMText_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMText_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMText_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMText_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMText_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMText_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMText_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMText_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMText_get_data(This,data) (This)->lpVtbl->get_data(This,data) +#define IXMLDOMText_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMText_get_length(This,dataLength) (This)->lpVtbl->get_length(This,dataLength) +#define IXMLDOMText_substringData(This,offset,count,data) (This)->lpVtbl->substringData(This,offset,count,data) +#define IXMLDOMText_appendData(This,data) (This)->lpVtbl->appendData(This,data) +#define IXMLDOMText_insertData(This,offset,data) (This)->lpVtbl->insertData(This,offset,data) +#define IXMLDOMText_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMText_replaceData(This,offset,count,data) (This)->lpVtbl->replaceData(This,offset,count,data) +/*** IXMLDOMText methods ***/ +#define IXMLDOMText_splitText(This,offset,rightHandTextNode) (This)->lpVtbl->splitText(This,offset,rightHandTextNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_QueryInterface(IXMLDOMText* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMText_AddRef(IXMLDOMText* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMText_Release(IXMLDOMText* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_GetTypeInfoCount(IXMLDOMText* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMText_GetTypeInfo(IXMLDOMText* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMText_GetIDsOfNames(IXMLDOMText* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMText_Invoke(IXMLDOMText* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_get_nodeName(IXMLDOMText* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeValue(IXMLDOMText* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMText_put_nodeValue(IXMLDOMText* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeType(IXMLDOMText* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMText_get_parentNode(IXMLDOMText* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMText_get_childNodes(IXMLDOMText* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMText_get_firstChild(IXMLDOMText* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMText_get_lastChild(IXMLDOMText* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMText_get_previousSibling(IXMLDOMText* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nextSibling(IXMLDOMText* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMText_get_attributes(IXMLDOMText* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMText_insertBefore(IXMLDOMText* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMText_replaceChild(IXMLDOMText* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMText_removeChild(IXMLDOMText* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMText_appendChild(IXMLDOMText* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMText_hasChildNodes(IXMLDOMText* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMText_get_ownerDocument(IXMLDOMText* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMText_cloneNode(IXMLDOMText* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeTypeString(IXMLDOMText* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMText_get_text(IXMLDOMText* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMText_put_text(IXMLDOMText* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMText_get_specified(IXMLDOMText* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMText_get_definition(IXMLDOMText* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeTypedValue(IXMLDOMText* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMText_put_nodeTypedValue(IXMLDOMText* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMText_get_dataType(IXMLDOMText* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMText_put_dataType(IXMLDOMText* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMText_get_xml(IXMLDOMText* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMText_transformNode(IXMLDOMText* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMText_selectNodes(IXMLDOMText* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMText_selectSingleNode(IXMLDOMText* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_parsed(IXMLDOMText* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMText_get_namespaceURI(IXMLDOMText* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMText_get_prefix(IXMLDOMText* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMText_get_baseName(IXMLDOMText* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMText_transformNodeToObject(IXMLDOMText* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_get_data(IXMLDOMText* This,BSTR *data) { + return This->lpVtbl->get_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMText_put_data(IXMLDOMText* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMText_get_length(IXMLDOMText* This,LONG *dataLength) { + return This->lpVtbl->get_length(This,dataLength); +} +static FORCEINLINE HRESULT IXMLDOMText_substringData(IXMLDOMText* This,LONG offset,LONG count,BSTR *data) { + return This->lpVtbl->substringData(This,offset,count,data); +} +static FORCEINLINE HRESULT IXMLDOMText_appendData(IXMLDOMText* This,BSTR data) { + return This->lpVtbl->appendData(This,data); +} +static FORCEINLINE HRESULT IXMLDOMText_insertData(IXMLDOMText* This,LONG offset,BSTR data) { + return This->lpVtbl->insertData(This,offset,data); +} +static FORCEINLINE HRESULT IXMLDOMText_deleteData(IXMLDOMText* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMText_replaceData(IXMLDOMText* This,LONG offset,LONG count,BSTR data) { + return This->lpVtbl->replaceData(This,offset,count,data); +} +/*** IXMLDOMText methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_splitText(IXMLDOMText* This,LONG offset,IXMLDOMText **rightHandTextNode) { + return This->lpVtbl->splitText(This,offset,rightHandTextNode); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMText_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMComment interface + */ +#ifndef __IXMLDOMComment_INTERFACE_DEFINED__ +#define __IXMLDOMComment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMComment, 0x2933bf88, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf88-7b36-11d2-b20e-00c04f983e60") +IXMLDOMComment : public IXMLDOMCharacterData +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMComment, 0x2933bf88, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCommentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMComment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMComment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMComment *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMComment *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMComment *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMComment *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMComment *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMComment *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMComment *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMComment *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMComment *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMComment *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMComment *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMComment *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMComment *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMComment *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMComment *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMComment *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMComment *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMComment *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMComment *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMComment *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMComment *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMComment *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMComment *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMComment *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMComment *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMComment *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMComment *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMComment *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMComment *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMComment *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMComment *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMComment *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMComment *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMComment *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMComment *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMComment *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMComment *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMComment *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMComment *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMComment *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMComment *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMComment *This, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMComment *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMComment *This, + LONG *dataLength); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMComment *This, + LONG offset, + LONG count, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMComment *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMComment *This, + LONG offset, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMComment *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMComment *This, + LONG offset, + LONG count, + BSTR data); + + END_INTERFACE +} IXMLDOMCommentVtbl; + +interface IXMLDOMComment { + CONST_VTBL IXMLDOMCommentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMComment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMComment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMComment_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMComment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMComment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMComment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMComment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMComment_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMComment_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMComment_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMComment_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMComment_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMComment_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMComment_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMComment_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMComment_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMComment_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMComment_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMComment_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMComment_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMComment_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMComment_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMComment_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMComment_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMComment_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMComment_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMComment_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMComment_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMComment_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMComment_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMComment_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMComment_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMComment_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMComment_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMComment_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMComment_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMComment_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMComment_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMComment_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMComment_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMComment_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMComment_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMComment_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMComment_get_data(This,data) (This)->lpVtbl->get_data(This,data) +#define IXMLDOMComment_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMComment_get_length(This,dataLength) (This)->lpVtbl->get_length(This,dataLength) +#define IXMLDOMComment_substringData(This,offset,count,data) (This)->lpVtbl->substringData(This,offset,count,data) +#define IXMLDOMComment_appendData(This,data) (This)->lpVtbl->appendData(This,data) +#define IXMLDOMComment_insertData(This,offset,data) (This)->lpVtbl->insertData(This,offset,data) +#define IXMLDOMComment_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMComment_replaceData(This,offset,count,data) (This)->lpVtbl->replaceData(This,offset,count,data) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_QueryInterface(IXMLDOMComment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMComment_AddRef(IXMLDOMComment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMComment_Release(IXMLDOMComment* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_GetTypeInfoCount(IXMLDOMComment* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMComment_GetTypeInfo(IXMLDOMComment* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMComment_GetIDsOfNames(IXMLDOMComment* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMComment_Invoke(IXMLDOMComment* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeName(IXMLDOMComment* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeValue(IXMLDOMComment* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_nodeValue(IXMLDOMComment* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeType(IXMLDOMComment* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_parentNode(IXMLDOMComment* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_childNodes(IXMLDOMComment* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_firstChild(IXMLDOMComment* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_lastChild(IXMLDOMComment* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_previousSibling(IXMLDOMComment* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nextSibling(IXMLDOMComment* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_attributes(IXMLDOMComment* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMComment_insertBefore(IXMLDOMComment* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_replaceChild(IXMLDOMComment* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_removeChild(IXMLDOMComment* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_appendChild(IXMLDOMComment* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_hasChildNodes(IXMLDOMComment* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_ownerDocument(IXMLDOMComment* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMComment_cloneNode(IXMLDOMComment* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeTypeString(IXMLDOMComment* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_text(IXMLDOMComment* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_text(IXMLDOMComment* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_specified(IXMLDOMComment* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_definition(IXMLDOMComment* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeTypedValue(IXMLDOMComment* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_nodeTypedValue(IXMLDOMComment* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_dataType(IXMLDOMComment* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_dataType(IXMLDOMComment* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_xml(IXMLDOMComment* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMComment_transformNode(IXMLDOMComment* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMComment_selectNodes(IXMLDOMComment* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMComment_selectSingleNode(IXMLDOMComment* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_parsed(IXMLDOMComment* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_namespaceURI(IXMLDOMComment* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_prefix(IXMLDOMComment* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_baseName(IXMLDOMComment* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMComment_transformNodeToObject(IXMLDOMComment* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_get_data(IXMLDOMComment* This,BSTR *data) { + return This->lpVtbl->get_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_data(IXMLDOMComment* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_length(IXMLDOMComment* This,LONG *dataLength) { + return This->lpVtbl->get_length(This,dataLength); +} +static FORCEINLINE HRESULT IXMLDOMComment_substringData(IXMLDOMComment* This,LONG offset,LONG count,BSTR *data) { + return This->lpVtbl->substringData(This,offset,count,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_appendData(IXMLDOMComment* This,BSTR data) { + return This->lpVtbl->appendData(This,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_insertData(IXMLDOMComment* This,LONG offset,BSTR data) { + return This->lpVtbl->insertData(This,offset,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_deleteData(IXMLDOMComment* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMComment_replaceData(IXMLDOMComment* This,LONG offset,LONG count,BSTR data) { + return This->lpVtbl->replaceData(This,offset,count,data); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMComment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMProcessingInstruction interface + */ +#ifndef __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ +#define __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMProcessingInstruction, 0x2933bf89, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf89-7b36-11d2-b20e-00c04f983e60") +IXMLDOMProcessingInstruction : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMProcessingInstruction, 0x2933bf89, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMProcessingInstructionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMProcessingInstruction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMProcessingInstruction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMProcessingInstruction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMProcessingInstruction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMProcessingInstruction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMProcessingInstruction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMProcessingInstruction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMProcessingInstruction *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMProcessingInstruction *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMProcessingInstruction *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMProcessingInstruction *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMProcessingInstruction *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMProcessingInstruction *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMProcessingInstruction *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMProcessingInstruction *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMProcessingInstruction *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMProcessingInstruction *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMProcessingInstruction *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMProcessingInstruction *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMProcessingInstruction *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMProcessingInstruction *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMProcessingInstruction *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMProcessingInstruction *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMProcessingInstruction *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMProcessingInstruction *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMProcessingInstruction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_target)( + IXMLDOMProcessingInstruction *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMProcessingInstruction *This, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMProcessingInstruction *This, + BSTR value); + + END_INTERFACE +} IXMLDOMProcessingInstructionVtbl; + +interface IXMLDOMProcessingInstruction { + CONST_VTBL IXMLDOMProcessingInstructionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMProcessingInstruction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMProcessingInstruction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMProcessingInstruction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMProcessingInstruction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMProcessingInstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMProcessingInstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMProcessingInstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMProcessingInstruction_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMProcessingInstruction_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMProcessingInstruction_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMProcessingInstruction_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMProcessingInstruction_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMProcessingInstruction_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMProcessingInstruction_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMProcessingInstruction_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMProcessingInstruction_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMProcessingInstruction_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMProcessingInstruction_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMProcessingInstruction_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMProcessingInstruction_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMProcessingInstruction_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMProcessingInstruction_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMProcessingInstruction_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMProcessingInstruction_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMProcessingInstruction_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMProcessingInstruction_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMProcessingInstruction_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMProcessingInstruction_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMProcessingInstruction_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMProcessingInstruction_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMProcessingInstruction_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMProcessingInstruction_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMProcessingInstruction_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMProcessingInstruction_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMProcessingInstruction_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMProcessingInstruction_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMProcessingInstruction_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMProcessingInstruction_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMProcessingInstruction_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMProcessingInstruction_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMProcessingInstruction_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMProcessingInstruction_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMProcessingInstruction_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMProcessingInstruction methods ***/ +#define IXMLDOMProcessingInstruction_get_target(This,name) (This)->lpVtbl->get_target(This,name) +#define IXMLDOMProcessingInstruction_get_data(This,value) (This)->lpVtbl->get_data(This,value) +#define IXMLDOMProcessingInstruction_put_data(This,value) (This)->lpVtbl->put_data(This,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_QueryInterface(IXMLDOMProcessingInstruction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMProcessingInstruction_AddRef(IXMLDOMProcessingInstruction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMProcessingInstruction_Release(IXMLDOMProcessingInstruction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetTypeInfoCount(IXMLDOMProcessingInstruction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetTypeInfo(IXMLDOMProcessingInstruction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetIDsOfNames(IXMLDOMProcessingInstruction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_Invoke(IXMLDOMProcessingInstruction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeName(IXMLDOMProcessingInstruction* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeValue(IXMLDOMProcessingInstruction* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_nodeValue(IXMLDOMProcessingInstruction* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeType(IXMLDOMProcessingInstruction* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_parentNode(IXMLDOMProcessingInstruction* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_childNodes(IXMLDOMProcessingInstruction* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_firstChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_lastChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_previousSibling(IXMLDOMProcessingInstruction* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nextSibling(IXMLDOMProcessingInstruction* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_attributes(IXMLDOMProcessingInstruction* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_insertBefore(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_replaceChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_removeChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_appendChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_hasChildNodes(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_ownerDocument(IXMLDOMProcessingInstruction* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_cloneNode(IXMLDOMProcessingInstruction* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeTypeString(IXMLDOMProcessingInstruction* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_text(IXMLDOMProcessingInstruction* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_text(IXMLDOMProcessingInstruction* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_specified(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_definition(IXMLDOMProcessingInstruction* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeTypedValue(IXMLDOMProcessingInstruction* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_nodeTypedValue(IXMLDOMProcessingInstruction* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_dataType(IXMLDOMProcessingInstruction* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_dataType(IXMLDOMProcessingInstruction* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_xml(IXMLDOMProcessingInstruction* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_transformNode(IXMLDOMProcessingInstruction* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_selectNodes(IXMLDOMProcessingInstruction* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_selectSingleNode(IXMLDOMProcessingInstruction* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_parsed(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_namespaceURI(IXMLDOMProcessingInstruction* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_prefix(IXMLDOMProcessingInstruction* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_baseName(IXMLDOMProcessingInstruction* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_transformNodeToObject(IXMLDOMProcessingInstruction* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMProcessingInstruction methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_target(IXMLDOMProcessingInstruction* This,BSTR *name) { + return This->lpVtbl->get_target(This,name); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_data(IXMLDOMProcessingInstruction* This,BSTR *value) { + return This->lpVtbl->get_data(This,value); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_data(IXMLDOMProcessingInstruction* This,BSTR value) { + return This->lpVtbl->put_data(This,value); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMCDATASection interface + */ +#ifndef __IXMLDOMCDATASection_INTERFACE_DEFINED__ +#define __IXMLDOMCDATASection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMCDATASection, 0x2933bf8a, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8a-7b36-11d2-b20e-00c04f983e60") +IXMLDOMCDATASection : public IXMLDOMText +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMCDATASection, 0x2933bf8a, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCDATASectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMCDATASection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMCDATASection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMCDATASection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMCDATASection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMCDATASection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMCDATASection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMCDATASection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMCDATASection *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMCDATASection *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMCDATASection *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMCDATASection *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMCDATASection *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMCDATASection *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMCDATASection *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMCDATASection *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMCDATASection *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMCDATASection *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMCDATASection *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMCDATASection *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMCDATASection *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMCDATASection *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMCDATASection *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMCDATASection *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMCDATASection *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMCDATASection *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMCDATASection *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMCDATASection *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMCDATASection *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMCDATASection *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMCDATASection *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMCDATASection *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMCDATASection *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMCDATASection *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMCDATASection *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMCDATASection *This, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMCDATASection *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMCDATASection *This, + LONG *dataLength); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMCDATASection *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMCDATASection *This, + LONG offset, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count, + BSTR data); + + /*** IXMLDOMText methods ***/ + HRESULT (STDMETHODCALLTYPE *splitText)( + IXMLDOMCDATASection *This, + LONG offset, + IXMLDOMText **rightHandTextNode); + + END_INTERFACE +} IXMLDOMCDATASectionVtbl; + +interface IXMLDOMCDATASection { + CONST_VTBL IXMLDOMCDATASectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMCDATASection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMCDATASection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMCDATASection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMCDATASection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMCDATASection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMCDATASection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMCDATASection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMCDATASection_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMCDATASection_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMCDATASection_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMCDATASection_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMCDATASection_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMCDATASection_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMCDATASection_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMCDATASection_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMCDATASection_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMCDATASection_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMCDATASection_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMCDATASection_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMCDATASection_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMCDATASection_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMCDATASection_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMCDATASection_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMCDATASection_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMCDATASection_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMCDATASection_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMCDATASection_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMCDATASection_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMCDATASection_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMCDATASection_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMCDATASection_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMCDATASection_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMCDATASection_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMCDATASection_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMCDATASection_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMCDATASection_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMCDATASection_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMCDATASection_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMCDATASection_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMCDATASection_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMCDATASection_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMCDATASection_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMCDATASection_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMCDATASection_get_data(This,data) (This)->lpVtbl->get_data(This,data) +#define IXMLDOMCDATASection_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMCDATASection_get_length(This,dataLength) (This)->lpVtbl->get_length(This,dataLength) +#define IXMLDOMCDATASection_substringData(This,offset,count,data) (This)->lpVtbl->substringData(This,offset,count,data) +#define IXMLDOMCDATASection_appendData(This,data) (This)->lpVtbl->appendData(This,data) +#define IXMLDOMCDATASection_insertData(This,offset,data) (This)->lpVtbl->insertData(This,offset,data) +#define IXMLDOMCDATASection_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMCDATASection_replaceData(This,offset,count,data) (This)->lpVtbl->replaceData(This,offset,count,data) +/*** IXMLDOMText methods ***/ +#define IXMLDOMCDATASection_splitText(This,offset,rightHandTextNode) (This)->lpVtbl->splitText(This,offset,rightHandTextNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_QueryInterface(IXMLDOMCDATASection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMCDATASection_AddRef(IXMLDOMCDATASection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMCDATASection_Release(IXMLDOMCDATASection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetTypeInfoCount(IXMLDOMCDATASection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetTypeInfo(IXMLDOMCDATASection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetIDsOfNames(IXMLDOMCDATASection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_Invoke(IXMLDOMCDATASection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeName(IXMLDOMCDATASection* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeValue(IXMLDOMCDATASection* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_nodeValue(IXMLDOMCDATASection* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeType(IXMLDOMCDATASection* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_parentNode(IXMLDOMCDATASection* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_childNodes(IXMLDOMCDATASection* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_firstChild(IXMLDOMCDATASection* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_lastChild(IXMLDOMCDATASection* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_previousSibling(IXMLDOMCDATASection* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nextSibling(IXMLDOMCDATASection* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_attributes(IXMLDOMCDATASection* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_insertBefore(IXMLDOMCDATASection* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_replaceChild(IXMLDOMCDATASection* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_removeChild(IXMLDOMCDATASection* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_appendChild(IXMLDOMCDATASection* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_hasChildNodes(IXMLDOMCDATASection* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_ownerDocument(IXMLDOMCDATASection* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_cloneNode(IXMLDOMCDATASection* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeTypeString(IXMLDOMCDATASection* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_text(IXMLDOMCDATASection* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_text(IXMLDOMCDATASection* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_specified(IXMLDOMCDATASection* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_definition(IXMLDOMCDATASection* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeTypedValue(IXMLDOMCDATASection* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_nodeTypedValue(IXMLDOMCDATASection* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_dataType(IXMLDOMCDATASection* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_dataType(IXMLDOMCDATASection* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_xml(IXMLDOMCDATASection* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_transformNode(IXMLDOMCDATASection* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_selectNodes(IXMLDOMCDATASection* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_selectSingleNode(IXMLDOMCDATASection* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_parsed(IXMLDOMCDATASection* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_namespaceURI(IXMLDOMCDATASection* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_prefix(IXMLDOMCDATASection* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_baseName(IXMLDOMCDATASection* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_transformNodeToObject(IXMLDOMCDATASection* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_data(IXMLDOMCDATASection* This,BSTR *data) { + return This->lpVtbl->get_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_data(IXMLDOMCDATASection* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_length(IXMLDOMCDATASection* This,LONG *dataLength) { + return This->lpVtbl->get_length(This,dataLength); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_substringData(IXMLDOMCDATASection* This,LONG offset,LONG count,BSTR *data) { + return This->lpVtbl->substringData(This,offset,count,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_appendData(IXMLDOMCDATASection* This,BSTR data) { + return This->lpVtbl->appendData(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_insertData(IXMLDOMCDATASection* This,LONG offset,BSTR data) { + return This->lpVtbl->insertData(This,offset,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_deleteData(IXMLDOMCDATASection* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_replaceData(IXMLDOMCDATASection* This,LONG offset,LONG count,BSTR data) { + return This->lpVtbl->replaceData(This,offset,count,data); +} +/*** IXMLDOMText methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_splitText(IXMLDOMCDATASection* This,LONG offset,IXMLDOMText **rightHandTextNode) { + return This->lpVtbl->splitText(This,offset,rightHandTextNode); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMCDATASection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocumentType interface + */ +#ifndef __IXMLDOMDocumentType_INTERFACE_DEFINED__ +#define __IXMLDOMDocumentType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocumentType, 0x2933bf8b, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8b-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocumentType : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *rootName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entities( + IXMLDOMNamedNodeMap **entityMap) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notations( + IXMLDOMNamedNodeMap **notationMap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocumentType, 0x2933bf8b, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocumentTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocumentType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocumentType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocumentType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocumentType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocumentType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocumentType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocumentType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocumentType *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocumentType *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocumentType *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocumentType *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocumentType *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocumentType *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocumentType *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocumentType *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocumentType *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocumentType *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocumentType *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocumentType *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocumentType *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocumentType *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocumentType *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocumentType *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocumentType *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocumentType *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocumentType *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocumentType *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocumentType *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocumentType *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocumentType *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocumentType *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocumentType *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocumentType *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMDocumentType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLDOMDocumentType *This, + BSTR *rootName); + + HRESULT (STDMETHODCALLTYPE *get_entities)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **entityMap); + + HRESULT (STDMETHODCALLTYPE *get_notations)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **notationMap); + + END_INTERFACE +} IXMLDOMDocumentTypeVtbl; + +interface IXMLDOMDocumentType { + CONST_VTBL IXMLDOMDocumentTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocumentType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocumentType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocumentType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocumentType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocumentType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocumentType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocumentType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocumentType_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMDocumentType_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMDocumentType_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMDocumentType_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMDocumentType_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocumentType_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMDocumentType_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMDocumentType_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMDocumentType_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMDocumentType_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMDocumentType_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocumentType_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMDocumentType_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMDocumentType_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMDocumentType_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMDocumentType_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMDocumentType_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMDocumentType_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMDocumentType_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMDocumentType_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMDocumentType_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMDocumentType_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMDocumentType_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMDocumentType_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMDocumentType_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMDocumentType_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMDocumentType_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMDocumentType_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMDocumentType_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMDocumentType_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMDocumentType_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMDocumentType_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMDocumentType_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMDocumentType_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMDocumentType_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMDocumentType_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMDocumentType methods ***/ +#define IXMLDOMDocumentType_get_name(This,rootName) (This)->lpVtbl->get_name(This,rootName) +#define IXMLDOMDocumentType_get_entities(This,entityMap) (This)->lpVtbl->get_entities(This,entityMap) +#define IXMLDOMDocumentType_get_notations(This,notationMap) (This)->lpVtbl->get_notations(This,notationMap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_QueryInterface(IXMLDOMDocumentType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocumentType_AddRef(IXMLDOMDocumentType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocumentType_Release(IXMLDOMDocumentType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetTypeInfoCount(IXMLDOMDocumentType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetTypeInfo(IXMLDOMDocumentType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetIDsOfNames(IXMLDOMDocumentType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_Invoke(IXMLDOMDocumentType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeName(IXMLDOMDocumentType* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeValue(IXMLDOMDocumentType* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_nodeValue(IXMLDOMDocumentType* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeType(IXMLDOMDocumentType* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_parentNode(IXMLDOMDocumentType* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_childNodes(IXMLDOMDocumentType* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_firstChild(IXMLDOMDocumentType* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_lastChild(IXMLDOMDocumentType* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_previousSibling(IXMLDOMDocumentType* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nextSibling(IXMLDOMDocumentType* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_attributes(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_insertBefore(IXMLDOMDocumentType* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_replaceChild(IXMLDOMDocumentType* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_removeChild(IXMLDOMDocumentType* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_appendChild(IXMLDOMDocumentType* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_hasChildNodes(IXMLDOMDocumentType* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_ownerDocument(IXMLDOMDocumentType* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_cloneNode(IXMLDOMDocumentType* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeTypeString(IXMLDOMDocumentType* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_text(IXMLDOMDocumentType* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_text(IXMLDOMDocumentType* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_specified(IXMLDOMDocumentType* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_definition(IXMLDOMDocumentType* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeTypedValue(IXMLDOMDocumentType* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_nodeTypedValue(IXMLDOMDocumentType* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_dataType(IXMLDOMDocumentType* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_dataType(IXMLDOMDocumentType* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_xml(IXMLDOMDocumentType* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_transformNode(IXMLDOMDocumentType* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_selectNodes(IXMLDOMDocumentType* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_selectSingleNode(IXMLDOMDocumentType* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_parsed(IXMLDOMDocumentType* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_namespaceURI(IXMLDOMDocumentType* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_prefix(IXMLDOMDocumentType* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_baseName(IXMLDOMDocumentType* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_transformNodeToObject(IXMLDOMDocumentType* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMDocumentType methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_name(IXMLDOMDocumentType* This,BSTR *rootName) { + return This->lpVtbl->get_name(This,rootName); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_entities(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **entityMap) { + return This->lpVtbl->get_entities(This,entityMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_notations(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **notationMap) { + return This->lpVtbl->get_notations(This,notationMap); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocumentType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNotation interface + */ +#ifndef __IXMLDOMNotation_INTERFACE_DEFINED__ +#define __IXMLDOMNotation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNotation, 0x2933bf8c, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8c-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNotation : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_publicId( + VARIANT *publicId) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + VARIANT *systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNotation, 0x2933bf8c, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNotationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNotation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNotation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNotation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNotation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNotation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNotation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNotation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMNotation *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMNotation *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMNotation *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMNotation *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMNotation *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMNotation *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMNotation *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMNotation *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMNotation *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMNotation *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMNotation *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMNotation *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMNotation *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMNotation *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMNotation *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMNotation *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMNotation *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMNotation *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMNotation *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMNotation *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMNotation *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMNotation *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMNotation *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMNotation *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMNotation *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMNotation *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMNotation *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMNotation *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMNotation *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMNotation *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMNotation *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMNotation *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMNotation *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMNotation *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMNotation *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMNotation *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMNotation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IXMLDOMNotation *This, + VARIANT *publicId); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IXMLDOMNotation *This, + VARIANT *systemId); + + END_INTERFACE +} IXMLDOMNotationVtbl; + +interface IXMLDOMNotation { + CONST_VTBL IXMLDOMNotationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNotation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNotation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNotation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNotation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNotation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNotation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMNotation_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMNotation_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMNotation_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMNotation_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMNotation_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMNotation_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMNotation_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMNotation_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMNotation_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMNotation_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMNotation_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMNotation_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMNotation_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMNotation_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMNotation_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMNotation_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMNotation_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMNotation_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMNotation_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMNotation_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMNotation_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMNotation_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMNotation_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMNotation_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMNotation_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMNotation_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMNotation_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMNotation_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMNotation_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMNotation_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMNotation_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMNotation_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMNotation_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMNotation_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMNotation_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMNotation_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMNotation methods ***/ +#define IXMLDOMNotation_get_publicId(This,publicId) (This)->lpVtbl->get_publicId(This,publicId) +#define IXMLDOMNotation_get_systemId(This,systemId) (This)->lpVtbl->get_systemId(This,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_QueryInterface(IXMLDOMNotation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNotation_AddRef(IXMLDOMNotation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNotation_Release(IXMLDOMNotation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_GetTypeInfoCount(IXMLDOMNotation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNotation_GetTypeInfo(IXMLDOMNotation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNotation_GetIDsOfNames(IXMLDOMNotation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNotation_Invoke(IXMLDOMNotation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeName(IXMLDOMNotation* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeValue(IXMLDOMNotation* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_nodeValue(IXMLDOMNotation* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeType(IXMLDOMNotation* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_parentNode(IXMLDOMNotation* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_childNodes(IXMLDOMNotation* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_firstChild(IXMLDOMNotation* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_lastChild(IXMLDOMNotation* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_previousSibling(IXMLDOMNotation* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nextSibling(IXMLDOMNotation* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_attributes(IXMLDOMNotation* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMNotation_insertBefore(IXMLDOMNotation* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_replaceChild(IXMLDOMNotation* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_removeChild(IXMLDOMNotation* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_appendChild(IXMLDOMNotation* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_hasChildNodes(IXMLDOMNotation* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_ownerDocument(IXMLDOMNotation* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMNotation_cloneNode(IXMLDOMNotation* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeTypeString(IXMLDOMNotation* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_text(IXMLDOMNotation* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_text(IXMLDOMNotation* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_specified(IXMLDOMNotation* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_definition(IXMLDOMNotation* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeTypedValue(IXMLDOMNotation* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_nodeTypedValue(IXMLDOMNotation* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_dataType(IXMLDOMNotation* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_dataType(IXMLDOMNotation* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_xml(IXMLDOMNotation* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMNotation_transformNode(IXMLDOMNotation* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMNotation_selectNodes(IXMLDOMNotation* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMNotation_selectSingleNode(IXMLDOMNotation* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_parsed(IXMLDOMNotation* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_namespaceURI(IXMLDOMNotation* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_prefix(IXMLDOMNotation* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_baseName(IXMLDOMNotation* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMNotation_transformNodeToObject(IXMLDOMNotation* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMNotation methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_get_publicId(IXMLDOMNotation* This,VARIANT *publicId) { + return This->lpVtbl->get_publicId(This,publicId); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_systemId(IXMLDOMNotation* This,VARIANT *systemId) { + return This->lpVtbl->get_systemId(This,systemId); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNotation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMEntity interface + */ +#ifndef __IXMLDOMEntity_INTERFACE_DEFINED__ +#define __IXMLDOMEntity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMEntity, 0x2933bf8d, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8d-7b36-11d2-b20e-00c04f983e60") +IXMLDOMEntity : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_publicId( + VARIANT *publicId) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + VARIANT *systemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notationName( + BSTR *name) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMEntity, 0x2933bf8d, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMEntityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMEntity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMEntity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMEntity *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMEntity *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMEntity *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMEntity *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMEntity *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMEntity *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMEntity *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMEntity *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMEntity *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMEntity *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMEntity *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMEntity *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMEntity *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMEntity *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMEntity *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMEntity *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMEntity *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMEntity *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMEntity *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMEntity *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMEntity *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMEntity *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMEntity *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMEntity *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMEntity *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMEntity *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMEntity *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMEntity *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMEntity *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMEntity *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMEntity *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMEntity *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMEntity *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMEntity *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMEntity *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMEntity *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMEntity *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMEntity *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMEntity *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMEntity *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMEntity *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + /*** IXMLDOMEntity methods ***/ + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IXMLDOMEntity *This, + VARIANT *publicId); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IXMLDOMEntity *This, + VARIANT *systemId); + + HRESULT (STDMETHODCALLTYPE *get_notationName)( + IXMLDOMEntity *This, + BSTR *name); + + END_INTERFACE +} IXMLDOMEntityVtbl; + +interface IXMLDOMEntity { + CONST_VTBL IXMLDOMEntityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMEntity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMEntity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMEntity_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMEntity_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMEntity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMEntity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMEntity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMEntity_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMEntity_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMEntity_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMEntity_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMEntity_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMEntity_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMEntity_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMEntity_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMEntity_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMEntity_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMEntity_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMEntity_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMEntity_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMEntity_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMEntity_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMEntity_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMEntity_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMEntity_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMEntity_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMEntity_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMEntity_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMEntity_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMEntity_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMEntity_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMEntity_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMEntity_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMEntity_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMEntity_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMEntity_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMEntity_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMEntity_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMEntity_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMEntity_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMEntity_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMEntity_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMEntity_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +/*** IXMLDOMEntity methods ***/ +#define IXMLDOMEntity_get_publicId(This,publicId) (This)->lpVtbl->get_publicId(This,publicId) +#define IXMLDOMEntity_get_systemId(This,systemId) (This)->lpVtbl->get_systemId(This,systemId) +#define IXMLDOMEntity_get_notationName(This,name) (This)->lpVtbl->get_notationName(This,name) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_QueryInterface(IXMLDOMEntity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMEntity_AddRef(IXMLDOMEntity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMEntity_Release(IXMLDOMEntity* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_GetTypeInfoCount(IXMLDOMEntity* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMEntity_GetTypeInfo(IXMLDOMEntity* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMEntity_GetIDsOfNames(IXMLDOMEntity* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMEntity_Invoke(IXMLDOMEntity* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeName(IXMLDOMEntity* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeValue(IXMLDOMEntity* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_nodeValue(IXMLDOMEntity* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeType(IXMLDOMEntity* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_parentNode(IXMLDOMEntity* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_childNodes(IXMLDOMEntity* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_firstChild(IXMLDOMEntity* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_lastChild(IXMLDOMEntity* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_previousSibling(IXMLDOMEntity* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nextSibling(IXMLDOMEntity* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_attributes(IXMLDOMEntity* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMEntity_insertBefore(IXMLDOMEntity* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_replaceChild(IXMLDOMEntity* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_removeChild(IXMLDOMEntity* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_appendChild(IXMLDOMEntity* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_hasChildNodes(IXMLDOMEntity* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_ownerDocument(IXMLDOMEntity* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMEntity_cloneNode(IXMLDOMEntity* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeTypeString(IXMLDOMEntity* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_text(IXMLDOMEntity* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_text(IXMLDOMEntity* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_specified(IXMLDOMEntity* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_definition(IXMLDOMEntity* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeTypedValue(IXMLDOMEntity* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_nodeTypedValue(IXMLDOMEntity* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_dataType(IXMLDOMEntity* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_dataType(IXMLDOMEntity* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_xml(IXMLDOMEntity* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMEntity_transformNode(IXMLDOMEntity* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMEntity_selectNodes(IXMLDOMEntity* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMEntity_selectSingleNode(IXMLDOMEntity* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_parsed(IXMLDOMEntity* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_namespaceURI(IXMLDOMEntity* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_prefix(IXMLDOMEntity* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_baseName(IXMLDOMEntity* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMEntity_transformNodeToObject(IXMLDOMEntity* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +/*** IXMLDOMEntity methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_get_publicId(IXMLDOMEntity* This,VARIANT *publicId) { + return This->lpVtbl->get_publicId(This,publicId); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_systemId(IXMLDOMEntity* This,VARIANT *systemId) { + return This->lpVtbl->get_systemId(This,systemId); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_notationName(IXMLDOMEntity* This,BSTR *name) { + return This->lpVtbl->get_notationName(This,name); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMEntity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMEntityReference interface + */ +#ifndef __IXMLDOMEntityReference_INTERFACE_DEFINED__ +#define __IXMLDOMEntityReference_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMEntityReference, 0x2933bf8e, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8e-7b36-11d2-b20e-00c04f983e60") +IXMLDOMEntityReference : public IXMLDOMNode +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMEntityReference, 0x2933bf8e, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMEntityReferenceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMEntityReference *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMEntityReference *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMEntityReference *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMEntityReference *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMEntityReference *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMEntityReference *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMEntityReference *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMEntityReference *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMEntityReference *This, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMEntityReference *This, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMEntityReference *This, + DOMNodeType *type); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMEntityReference *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMEntityReference *This, + IXMLDOMNodeList **childList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode **firstChild); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode **lastChild); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMEntityReference *This, + IXMLDOMNode **previousSibling); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMEntityReference *This, + IXMLDOMNode **nextSibling); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMEntityReference *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newChild, + VARIANT refChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newChild, + IXMLDOMNode *oldChild, + IXMLDOMNode **outOldChild); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *childNode, + IXMLDOMNode **oldChild); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newChild, + IXMLDOMNode **outNewChild); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *hasChild); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMEntityReference *This, + IXMLDOMDocument **DOMDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMEntityReference *This, + VARIANT_BOOL deep, + IXMLDOMNode **cloneRoot); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMEntityReference *This, + BSTR *nodeType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMEntityReference *This, + BSTR *text); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMEntityReference *This, + BSTR text); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *isSpecified); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMEntityReference *This, + IXMLDOMNode **definitionNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMEntityReference *This, + VARIANT *typedValue); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMEntityReference *This, + VARIANT typedValue); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMEntityReference *This, + VARIANT *dataTypeName); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMEntityReference *This, + BSTR dataTypeName); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMEntityReference *This, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMEntityReference *This, + IXMLDOMNode *styleSheet, + BSTR *xmlString); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMEntityReference *This, + BSTR queryString, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMEntityReference *This, + BSTR queryString, + IXMLDOMNode **resultNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *isParsed); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMEntityReference *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMEntityReference *This, + BSTR *prefixString); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMEntityReference *This, + BSTR *nameString); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMEntityReference *This, + IXMLDOMNode *stylesheet, + VARIANT outputObject); + + END_INTERFACE +} IXMLDOMEntityReferenceVtbl; + +interface IXMLDOMEntityReference { + CONST_VTBL IXMLDOMEntityReferenceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMEntityReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMEntityReference_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMEntityReference_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMEntityReference_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMEntityReference_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMEntityReference_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMEntityReference_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMEntityReference_get_nodeName(This,name) (This)->lpVtbl->get_nodeName(This,name) +#define IXMLDOMEntityReference_get_nodeValue(This,value) (This)->lpVtbl->get_nodeValue(This,value) +#define IXMLDOMEntityReference_put_nodeValue(This,value) (This)->lpVtbl->put_nodeValue(This,value) +#define IXMLDOMEntityReference_get_nodeType(This,type) (This)->lpVtbl->get_nodeType(This,type) +#define IXMLDOMEntityReference_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMEntityReference_get_childNodes(This,childList) (This)->lpVtbl->get_childNodes(This,childList) +#define IXMLDOMEntityReference_get_firstChild(This,firstChild) (This)->lpVtbl->get_firstChild(This,firstChild) +#define IXMLDOMEntityReference_get_lastChild(This,lastChild) (This)->lpVtbl->get_lastChild(This,lastChild) +#define IXMLDOMEntityReference_get_previousSibling(This,previousSibling) (This)->lpVtbl->get_previousSibling(This,previousSibling) +#define IXMLDOMEntityReference_get_nextSibling(This,nextSibling) (This)->lpVtbl->get_nextSibling(This,nextSibling) +#define IXMLDOMEntityReference_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMEntityReference_insertBefore(This,newChild,refChild,outNewChild) (This)->lpVtbl->insertBefore(This,newChild,refChild,outNewChild) +#define IXMLDOMEntityReference_replaceChild(This,newChild,oldChild,outOldChild) (This)->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild) +#define IXMLDOMEntityReference_removeChild(This,childNode,oldChild) (This)->lpVtbl->removeChild(This,childNode,oldChild) +#define IXMLDOMEntityReference_appendChild(This,newChild,outNewChild) (This)->lpVtbl->appendChild(This,newChild,outNewChild) +#define IXMLDOMEntityReference_hasChildNodes(This,hasChild) (This)->lpVtbl->hasChildNodes(This,hasChild) +#define IXMLDOMEntityReference_get_ownerDocument(This,DOMDocument) (This)->lpVtbl->get_ownerDocument(This,DOMDocument) +#define IXMLDOMEntityReference_cloneNode(This,deep,cloneRoot) (This)->lpVtbl->cloneNode(This,deep,cloneRoot) +#define IXMLDOMEntityReference_get_nodeTypeString(This,nodeType) (This)->lpVtbl->get_nodeTypeString(This,nodeType) +#define IXMLDOMEntityReference_get_text(This,text) (This)->lpVtbl->get_text(This,text) +#define IXMLDOMEntityReference_put_text(This,text) (This)->lpVtbl->put_text(This,text) +#define IXMLDOMEntityReference_get_specified(This,isSpecified) (This)->lpVtbl->get_specified(This,isSpecified) +#define IXMLDOMEntityReference_get_definition(This,definitionNode) (This)->lpVtbl->get_definition(This,definitionNode) +#define IXMLDOMEntityReference_get_nodeTypedValue(This,typedValue) (This)->lpVtbl->get_nodeTypedValue(This,typedValue) +#define IXMLDOMEntityReference_put_nodeTypedValue(This,typedValue) (This)->lpVtbl->put_nodeTypedValue(This,typedValue) +#define IXMLDOMEntityReference_get_dataType(This,dataTypeName) (This)->lpVtbl->get_dataType(This,dataTypeName) +#define IXMLDOMEntityReference_put_dataType(This,dataTypeName) (This)->lpVtbl->put_dataType(This,dataTypeName) +#define IXMLDOMEntityReference_get_xml(This,xmlString) (This)->lpVtbl->get_xml(This,xmlString) +#define IXMLDOMEntityReference_transformNode(This,styleSheet,xmlString) (This)->lpVtbl->transformNode(This,styleSheet,xmlString) +#define IXMLDOMEntityReference_selectNodes(This,queryString,resultList) (This)->lpVtbl->selectNodes(This,queryString,resultList) +#define IXMLDOMEntityReference_selectSingleNode(This,queryString,resultNode) (This)->lpVtbl->selectSingleNode(This,queryString,resultNode) +#define IXMLDOMEntityReference_get_parsed(This,isParsed) (This)->lpVtbl->get_parsed(This,isParsed) +#define IXMLDOMEntityReference_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define IXMLDOMEntityReference_get_prefix(This,prefixString) (This)->lpVtbl->get_prefix(This,prefixString) +#define IXMLDOMEntityReference_get_baseName(This,nameString) (This)->lpVtbl->get_baseName(This,nameString) +#define IXMLDOMEntityReference_transformNodeToObject(This,stylesheet,outputObject) (This)->lpVtbl->transformNodeToObject(This,stylesheet,outputObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_QueryInterface(IXMLDOMEntityReference* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMEntityReference_AddRef(IXMLDOMEntityReference* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMEntityReference_Release(IXMLDOMEntityReference* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetTypeInfoCount(IXMLDOMEntityReference* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetTypeInfo(IXMLDOMEntityReference* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetIDsOfNames(IXMLDOMEntityReference* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_Invoke(IXMLDOMEntityReference* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeName(IXMLDOMEntityReference* This,BSTR *name) { + return This->lpVtbl->get_nodeName(This,name); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeValue(IXMLDOMEntityReference* This,VARIANT *value) { + return This->lpVtbl->get_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_nodeValue(IXMLDOMEntityReference* This,VARIANT value) { + return This->lpVtbl->put_nodeValue(This,value); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeType(IXMLDOMEntityReference* This,DOMNodeType *type) { + return This->lpVtbl->get_nodeType(This,type); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_parentNode(IXMLDOMEntityReference* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_childNodes(IXMLDOMEntityReference* This,IXMLDOMNodeList **childList) { + return This->lpVtbl->get_childNodes(This,childList); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_firstChild(IXMLDOMEntityReference* This,IXMLDOMNode **firstChild) { + return This->lpVtbl->get_firstChild(This,firstChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_lastChild(IXMLDOMEntityReference* This,IXMLDOMNode **lastChild) { + return This->lpVtbl->get_lastChild(This,lastChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_previousSibling(IXMLDOMEntityReference* This,IXMLDOMNode **previousSibling) { + return This->lpVtbl->get_previousSibling(This,previousSibling); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nextSibling(IXMLDOMEntityReference* This,IXMLDOMNode **nextSibling) { + return This->lpVtbl->get_nextSibling(This,nextSibling); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_attributes(IXMLDOMEntityReference* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_insertBefore(IXMLDOMEntityReference* This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->insertBefore(This,newChild,refChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_replaceChild(IXMLDOMEntityReference* This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) { + return This->lpVtbl->replaceChild(This,newChild,oldChild,outOldChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_removeChild(IXMLDOMEntityReference* This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild) { + return This->lpVtbl->removeChild(This,childNode,oldChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_appendChild(IXMLDOMEntityReference* This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) { + return This->lpVtbl->appendChild(This,newChild,outNewChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_hasChildNodes(IXMLDOMEntityReference* This,VARIANT_BOOL *hasChild) { + return This->lpVtbl->hasChildNodes(This,hasChild); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_ownerDocument(IXMLDOMEntityReference* This,IXMLDOMDocument **DOMDocument) { + return This->lpVtbl->get_ownerDocument(This,DOMDocument); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_cloneNode(IXMLDOMEntityReference* This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) { + return This->lpVtbl->cloneNode(This,deep,cloneRoot); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeTypeString(IXMLDOMEntityReference* This,BSTR *nodeType) { + return This->lpVtbl->get_nodeTypeString(This,nodeType); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_text(IXMLDOMEntityReference* This,BSTR *text) { + return This->lpVtbl->get_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_text(IXMLDOMEntityReference* This,BSTR text) { + return This->lpVtbl->put_text(This,text); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_specified(IXMLDOMEntityReference* This,VARIANT_BOOL *isSpecified) { + return This->lpVtbl->get_specified(This,isSpecified); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_definition(IXMLDOMEntityReference* This,IXMLDOMNode **definitionNode) { + return This->lpVtbl->get_definition(This,definitionNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeTypedValue(IXMLDOMEntityReference* This,VARIANT *typedValue) { + return This->lpVtbl->get_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_nodeTypedValue(IXMLDOMEntityReference* This,VARIANT typedValue) { + return This->lpVtbl->put_nodeTypedValue(This,typedValue); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_dataType(IXMLDOMEntityReference* This,VARIANT *dataTypeName) { + return This->lpVtbl->get_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_dataType(IXMLDOMEntityReference* This,BSTR dataTypeName) { + return This->lpVtbl->put_dataType(This,dataTypeName); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_xml(IXMLDOMEntityReference* This,BSTR *xmlString) { + return This->lpVtbl->get_xml(This,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_transformNode(IXMLDOMEntityReference* This,IXMLDOMNode *styleSheet,BSTR *xmlString) { + return This->lpVtbl->transformNode(This,styleSheet,xmlString); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_selectNodes(IXMLDOMEntityReference* This,BSTR queryString,IXMLDOMNodeList **resultList) { + return This->lpVtbl->selectNodes(This,queryString,resultList); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_selectSingleNode(IXMLDOMEntityReference* This,BSTR queryString,IXMLDOMNode **resultNode) { + return This->lpVtbl->selectSingleNode(This,queryString,resultNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_parsed(IXMLDOMEntityReference* This,VARIANT_BOOL *isParsed) { + return This->lpVtbl->get_parsed(This,isParsed); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_namespaceURI(IXMLDOMEntityReference* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_prefix(IXMLDOMEntityReference* This,BSTR *prefixString) { + return This->lpVtbl->get_prefix(This,prefixString); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_baseName(IXMLDOMEntityReference* This,BSTR *nameString) { + return This->lpVtbl->get_baseName(This,nameString); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_transformNodeToObject(IXMLDOMEntityReference* This,IXMLDOMNode *stylesheet,VARIANT outputObject) { + return This->lpVtbl->transformNodeToObject(This,stylesheet,outputObject); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMEntityReference_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMImplementation interface + */ +#ifndef __IXMLDOMImplementation_INTERFACE_DEFINED__ +#define __IXMLDOMImplementation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMImplementation, 0x2933bf8f, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8f-7b36-11d2-b20e-00c04f983e60") +IXMLDOMImplementation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE hasFeature( + BSTR feature, + BSTR version, + VARIANT_BOOL *pbool) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMImplementation, 0x2933bf8f, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMImplementationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMImplementation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMImplementation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMImplementation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMImplementation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMImplementation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMImplementation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMImplementation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMImplementation methods ***/ + HRESULT (STDMETHODCALLTYPE *hasFeature)( + IXMLDOMImplementation *This, + BSTR feature, + BSTR version, + VARIANT_BOOL *pbool); + + END_INTERFACE +} IXMLDOMImplementationVtbl; + +interface IXMLDOMImplementation { + CONST_VTBL IXMLDOMImplementationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMImplementation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMImplementation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMImplementation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMImplementation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMImplementation methods ***/ +#define IXMLDOMImplementation_hasFeature(This,feature,version,pbool) (This)->lpVtbl->hasFeature(This,feature,version,pbool) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_QueryInterface(IXMLDOMImplementation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMImplementation_AddRef(IXMLDOMImplementation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMImplementation_Release(IXMLDOMImplementation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_GetTypeInfoCount(IXMLDOMImplementation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_GetTypeInfo(IXMLDOMImplementation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_GetIDsOfNames(IXMLDOMImplementation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_Invoke(IXMLDOMImplementation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMImplementation methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_hasFeature(IXMLDOMImplementation* This,BSTR feature,BSTR version,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasFeature(This,feature,version,pbool); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMImplementation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseError interface + */ +#ifndef __IXMLDOMParseError_INTERFACE_DEFINED__ +#define __IXMLDOMParseError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseError, 0x3efaa426, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa426-272f-11d2-836f-0000f87a7782") +IXMLDOMParseError : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_errorCode( + LONG *errCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_reason( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_srcText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_line( + LONG *lineNo) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_linepos( + LONG *linePos) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filepos( + LONG *filePos) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseError, 0x3efaa426, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseError *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseError *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseError *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseError *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseError *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseError methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorCode)( + IXMLDOMParseError *This, + LONG *errCode); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_reason)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_srcText)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_line)( + IXMLDOMParseError *This, + LONG *lineNo); + + HRESULT (STDMETHODCALLTYPE *get_linepos)( + IXMLDOMParseError *This, + LONG *linePos); + + HRESULT (STDMETHODCALLTYPE *get_filepos)( + IXMLDOMParseError *This, + LONG *filePos); + + END_INTERFACE +} IXMLDOMParseErrorVtbl; + +interface IXMLDOMParseError { + CONST_VTBL IXMLDOMParseErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseError_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseError_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseError methods ***/ +#define IXMLDOMParseError_get_errorCode(This,errCode) (This)->lpVtbl->get_errorCode(This,errCode) +#define IXMLDOMParseError_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMParseError_get_reason(This,p) (This)->lpVtbl->get_reason(This,p) +#define IXMLDOMParseError_get_srcText(This,p) (This)->lpVtbl->get_srcText(This,p) +#define IXMLDOMParseError_get_line(This,lineNo) (This)->lpVtbl->get_line(This,lineNo) +#define IXMLDOMParseError_get_linepos(This,linePos) (This)->lpVtbl->get_linepos(This,linePos) +#define IXMLDOMParseError_get_filepos(This,filePos) (This)->lpVtbl->get_filepos(This,filePos) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_QueryInterface(IXMLDOMParseError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseError_AddRef(IXMLDOMParseError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseError_Release(IXMLDOMParseError* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_GetTypeInfoCount(IXMLDOMParseError* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_GetTypeInfo(IXMLDOMParseError* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_GetIDsOfNames(IXMLDOMParseError* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseError_Invoke(IXMLDOMParseError* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseError methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_get_errorCode(IXMLDOMParseError* This,LONG *errCode) { + return This->lpVtbl->get_errorCode(This,errCode); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_url(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_reason(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_reason(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_srcText(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_srcText(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_line(IXMLDOMParseError* This,LONG *lineNo) { + return This->lpVtbl->get_line(This,lineNo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_linepos(IXMLDOMParseError* This,LONG *linePos) { + return This->lpVtbl->get_linepos(This,linePos); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_filepos(IXMLDOMParseError* This,LONG *filePos) { + return This->lpVtbl->get_filepos(This,filePos); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * XMLDOMDocumentEvents dispinterface + */ +#ifndef __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ +#define __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_XMLDOMDocumentEvents, 0x3efaa427, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa427-272f-11d2-836f-0000f87a7782") +XMLDOMDocumentEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLDOMDocumentEvents, 0x3efaa427, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct XMLDOMDocumentEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + XMLDOMDocumentEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + XMLDOMDocumentEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + XMLDOMDocumentEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + XMLDOMDocumentEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + XMLDOMDocumentEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + XMLDOMDocumentEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + XMLDOMDocumentEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} XMLDOMDocumentEventsVtbl; + +interface XMLDOMDocumentEvents { + CONST_VTBL XMLDOMDocumentEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define XMLDOMDocumentEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define XMLDOMDocumentEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define XMLDOMDocumentEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define XMLDOMDocumentEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define XMLDOMDocumentEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define XMLDOMDocumentEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define XMLDOMDocumentEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT XMLDOMDocumentEvents_QueryInterface(XMLDOMDocumentEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG XMLDOMDocumentEvents_AddRef(XMLDOMDocumentEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG XMLDOMDocumentEvents_Release(XMLDOMDocumentEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetTypeInfoCount(XMLDOMDocumentEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetTypeInfo(XMLDOMDocumentEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetIDsOfNames(XMLDOMDocumentEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_Invoke(XMLDOMDocumentEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * DOMDocument coclass + */ + +DEFINE_GUID(CLSID_DOMDocument, 0x2933bf90, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); + +#ifdef __cplusplus +class DECLSPEC_UUID("2933bf90-7b36-11d2-b20e-00c04f983e60") DOMDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument, 0x2933bf90, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#endif + +/***************************************************************************** + * DOMFreeThreadedDocument coclass + */ + +DEFINE_GUID(CLSID_DOMFreeThreadedDocument, 0x2933bf91, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); + +#ifdef __cplusplus +class DECLSPEC_UUID("2933bf91-7b36-11d2-b20e-00c04f983e60") DOMFreeThreadedDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMFreeThreadedDocument, 0x2933bf91, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#endif + +/***************************************************************************** + * IXMLHttpRequest interface + */ +#ifndef __IXMLHttpRequest_INTERFACE_DEFINED__ +#define __IXMLHttpRequest_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLHttpRequest, 0xed8c108d, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ed8c108d-4349-11d2-91a4-00c04f7969e8") +IXMLHttpRequest : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE open( + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT varUser, + VARIANT varPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE setRequestHeader( + BSTR bstrHeader, + BSTR bstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getResponseHeader( + BSTR bstrHeader, + BSTR *pbstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAllResponseHeaders( + BSTR *pbstrHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE send( + VARIANT varBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + LONG *plStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_statusText( + BSTR *bstrStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseXML( + IDispatch **ppBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseText( + BSTR *pbstrBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseBody( + VARIANT *pvarBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseStream( + VARIANT *pvarBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *plState) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + IDispatch *pReadyStateSink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLHttpRequest, 0xed8c108d, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8) +#endif +#else +typedef struct IXMLHttpRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLHttpRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLHttpRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLHttpRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLHttpRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLHttpRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLHttpRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLHttpRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHttpRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IXMLHttpRequest *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT varUser, + VARIANT varPassword); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IXMLHttpRequest *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IXMLHttpRequest *This, + BSTR bstrHeader, + BSTR *pbstrValue); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IXMLHttpRequest *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IXMLHttpRequest *This, + VARIANT varBody); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLHttpRequest *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IXMLHttpRequest *This, + LONG *plStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IXMLHttpRequest *This, + BSTR *bstrStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IXMLHttpRequest *This, + IDispatch **ppBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IXMLHttpRequest *This, + BSTR *pbstrBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IXMLHttpRequest *This, + VARIANT *pvarBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IXMLHttpRequest *This, + VARIANT *pvarBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLHttpRequest *This, + LONG *plState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLHttpRequest *This, + IDispatch *pReadyStateSink); + + END_INTERFACE +} IXMLHttpRequestVtbl; + +interface IXMLHttpRequest { + CONST_VTBL IXMLHttpRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLHttpRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLHttpRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLHttpRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLHttpRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLHttpRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLHttpRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLHttpRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHttpRequest methods ***/ +#define IXMLHttpRequest_open(This,bstrMethod,bstrUrl,varAsync,varUser,varPassword) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,varUser,varPassword) +#define IXMLHttpRequest_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IXMLHttpRequest_getResponseHeader(This,bstrHeader,pbstrValue) (This)->lpVtbl->getResponseHeader(This,bstrHeader,pbstrValue) +#define IXMLHttpRequest_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IXMLHttpRequest_send(This,varBody) (This)->lpVtbl->send(This,varBody) +#define IXMLHttpRequest_abort(This) (This)->lpVtbl->abort(This) +#define IXMLHttpRequest_get_status(This,plStatus) (This)->lpVtbl->get_status(This,plStatus) +#define IXMLHttpRequest_get_statusText(This,bstrStatus) (This)->lpVtbl->get_statusText(This,bstrStatus) +#define IXMLHttpRequest_get_responseXML(This,ppBody) (This)->lpVtbl->get_responseXML(This,ppBody) +#define IXMLHttpRequest_get_responseText(This,pbstrBody) (This)->lpVtbl->get_responseText(This,pbstrBody) +#define IXMLHttpRequest_get_responseBody(This,pvarBody) (This)->lpVtbl->get_responseBody(This,pvarBody) +#define IXMLHttpRequest_get_responseStream(This,pvarBody) (This)->lpVtbl->get_responseStream(This,pvarBody) +#define IXMLHttpRequest_get_readyState(This,plState) (This)->lpVtbl->get_readyState(This,plState) +#define IXMLHttpRequest_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLHttpRequest_QueryInterface(IXMLHttpRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLHttpRequest_AddRef(IXMLHttpRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLHttpRequest_Release(IXMLHttpRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLHttpRequest_GetTypeInfoCount(IXMLHttpRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLHttpRequest_GetTypeInfo(IXMLHttpRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLHttpRequest_GetIDsOfNames(IXMLHttpRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLHttpRequest_Invoke(IXMLHttpRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHttpRequest methods ***/ +static FORCEINLINE HRESULT IXMLHttpRequest_open(IXMLHttpRequest* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT varUser,VARIANT varPassword) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,varUser,varPassword); +} +static FORCEINLINE HRESULT IXMLHttpRequest_setRequestHeader(IXMLHttpRequest* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IXMLHttpRequest_getResponseHeader(IXMLHttpRequest* This,BSTR bstrHeader,BSTR *pbstrValue) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,pbstrValue); +} +static FORCEINLINE HRESULT IXMLHttpRequest_getAllResponseHeaders(IXMLHttpRequest* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IXMLHttpRequest_send(IXMLHttpRequest* This,VARIANT varBody) { + return This->lpVtbl->send(This,varBody); +} +static FORCEINLINE HRESULT IXMLHttpRequest_abort(IXMLHttpRequest* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_status(IXMLHttpRequest* This,LONG *plStatus) { + return This->lpVtbl->get_status(This,plStatus); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_statusText(IXMLHttpRequest* This,BSTR *bstrStatus) { + return This->lpVtbl->get_statusText(This,bstrStatus); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_responseXML(IXMLHttpRequest* This,IDispatch **ppBody) { + return This->lpVtbl->get_responseXML(This,ppBody); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_responseText(IXMLHttpRequest* This,BSTR *pbstrBody) { + return This->lpVtbl->get_responseText(This,pbstrBody); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_responseBody(IXMLHttpRequest* This,VARIANT *pvarBody) { + return This->lpVtbl->get_responseBody(This,pvarBody); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_responseStream(IXMLHttpRequest* This,VARIANT *pvarBody) { + return This->lpVtbl->get_responseStream(This,pvarBody); +} +static FORCEINLINE HRESULT IXMLHttpRequest_get_readyState(IXMLHttpRequest* This,LONG *plState) { + return This->lpVtbl->get_readyState(This,plState); +} +static FORCEINLINE HRESULT IXMLHttpRequest_put_onreadystatechange(IXMLHttpRequest* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +#endif +#endif + +#endif + + +#endif /* __IXMLHttpRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * XMLHTTPRequest coclass + */ + +DEFINE_GUID(CLSID_XMLHTTPRequest, 0xed8c108e, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8); + +#ifdef __cplusplus +class DECLSPEC_UUID("ed8c108e-4349-11d2-91a4-00c04f7969e8") XMLHTTPRequest; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTPRequest, 0xed8c108e, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8) +#endif +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IXMLDSOControl interface + */ +#ifndef __IXMLDSOControl_INTERFACE_DEFINED__ +#define __IXMLDSOControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDSOControl, 0x310afa62, 0x0575, 0x11d2, 0x9c,0xa9, 0x00,0x60,0xb0,0xec,0x3d,0x39); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("310afa62-0575-11d2-9ca9-0060b0ec3d39") +IXMLDSOControl : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_XMLDocument( + IXMLDOMDocument **ppDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_XMLDocument( + IXMLDOMDocument *ppDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_JavaDSOCompatible( + BOOL *fJavaDSOCompatible) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_JavaDSOCompatible( + BOOL fJavaDSOCompatible) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *state) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDSOControl, 0x310afa62, 0x0575, 0x11d2, 0x9c,0xa9, 0x00,0x60,0xb0,0xec,0x3d,0x39) +#endif +#else +typedef struct IXMLDSOControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDSOControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDSOControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDSOControl *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDSOControl *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDSOControl *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDSOControl *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDSOControl *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDSOControl methods ***/ + HRESULT (STDMETHODCALLTYPE *get_XMLDocument)( + IXMLDSOControl *This, + IXMLDOMDocument **ppDoc); + + HRESULT (STDMETHODCALLTYPE *put_XMLDocument)( + IXMLDSOControl *This, + IXMLDOMDocument *ppDoc); + + HRESULT (STDMETHODCALLTYPE *get_JavaDSOCompatible)( + IXMLDSOControl *This, + BOOL *fJavaDSOCompatible); + + HRESULT (STDMETHODCALLTYPE *put_JavaDSOCompatible)( + IXMLDSOControl *This, + BOOL fJavaDSOCompatible); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDSOControl *This, + LONG *state); + + END_INTERFACE +} IXMLDSOControlVtbl; + +interface IXMLDSOControl { + CONST_VTBL IXMLDSOControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDSOControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDSOControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDSOControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDSOControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDSOControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDSOControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDSOControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDSOControl methods ***/ +#define IXMLDSOControl_get_XMLDocument(This,ppDoc) (This)->lpVtbl->get_XMLDocument(This,ppDoc) +#define IXMLDSOControl_put_XMLDocument(This,ppDoc) (This)->lpVtbl->put_XMLDocument(This,ppDoc) +#define IXMLDSOControl_get_JavaDSOCompatible(This,fJavaDSOCompatible) (This)->lpVtbl->get_JavaDSOCompatible(This,fJavaDSOCompatible) +#define IXMLDSOControl_put_JavaDSOCompatible(This,fJavaDSOCompatible) (This)->lpVtbl->put_JavaDSOCompatible(This,fJavaDSOCompatible) +#define IXMLDSOControl_get_readyState(This,state) (This)->lpVtbl->get_readyState(This,state) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDSOControl_QueryInterface(IXMLDSOControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDSOControl_AddRef(IXMLDSOControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDSOControl_Release(IXMLDSOControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDSOControl_GetTypeInfoCount(IXMLDSOControl* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDSOControl_GetTypeInfo(IXMLDSOControl* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDSOControl_GetIDsOfNames(IXMLDSOControl* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDSOControl_Invoke(IXMLDSOControl* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDSOControl methods ***/ +static FORCEINLINE HRESULT IXMLDSOControl_get_XMLDocument(IXMLDSOControl* This,IXMLDOMDocument **ppDoc) { + return This->lpVtbl->get_XMLDocument(This,ppDoc); +} +static FORCEINLINE HRESULT IXMLDSOControl_put_XMLDocument(IXMLDSOControl* This,IXMLDOMDocument *ppDoc) { + return This->lpVtbl->put_XMLDocument(This,ppDoc); +} +static FORCEINLINE HRESULT IXMLDSOControl_get_JavaDSOCompatible(IXMLDSOControl* This,BOOL *fJavaDSOCompatible) { + return This->lpVtbl->get_JavaDSOCompatible(This,fJavaDSOCompatible); +} +static FORCEINLINE HRESULT IXMLDSOControl_put_JavaDSOCompatible(IXMLDSOControl* This,BOOL fJavaDSOCompatible) { + return This->lpVtbl->put_JavaDSOCompatible(This,fJavaDSOCompatible); +} +static FORCEINLINE HRESULT IXMLDSOControl_get_readyState(IXMLDSOControl* This,LONG *state) { + return This->lpVtbl->get_readyState(This,state); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDSOControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * XMLDSOControl coclass + */ + +DEFINE_GUID(CLSID_XMLDSOControl, 0x550dda30, 0x0541, 0x11d2, 0x9c,0xa9, 0x00,0x60,0xb0,0xec,0x3d,0x39); + +#ifdef __cplusplus +class DECLSPEC_UUID("550dda30-0541-11d2-9ca9-0060b0ec3d39") XMLDSOControl; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLDSOControl, 0x550dda30, 0x0541, 0x11d2, 0x9c,0xa9, 0x00,0x60,0xb0,0xec,0x3d,0x39) +#endif +#endif + +/***************************************************************************** + * IXMLElementCollection interface + */ +#ifndef __IXMLElementCollection_INTERFACE_DEFINED__ +#define __IXMLElementCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLElementCollection, 0x65725580, 0x9b5d, 0x11d0, 0x9b,0xfe, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("65725580-9b5d-11d0-9bfe-00c04fc99c8e") +IXMLElementCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_length( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT var1, + VARIANT var2, + IDispatch **ppDisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLElementCollection, 0x65725580, 0x9b5d, 0x11d0, 0x9b,0xfe, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#else +typedef struct IXMLElementCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLElementCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLElementCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLElementCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLElementCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLElementCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLElementCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLElementCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLElementCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *put_length)( + IXMLElementCollection *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLElementCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLElementCollection *This, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *item)( + IXMLElementCollection *This, + VARIANT var1, + VARIANT var2, + IDispatch **ppDisp); + + END_INTERFACE +} IXMLElementCollectionVtbl; + +interface IXMLElementCollection { + CONST_VTBL IXMLElementCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLElementCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLElementCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLElementCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLElementCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLElementCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLElementCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLElementCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLElementCollection methods ***/ +#define IXMLElementCollection_put_length(This,v) (This)->lpVtbl->put_length(This,v) +#define IXMLElementCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IXMLElementCollection_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#define IXMLElementCollection_item(This,var1,var2,ppDisp) (This)->lpVtbl->item(This,var1,var2,ppDisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLElementCollection_QueryInterface(IXMLElementCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLElementCollection_AddRef(IXMLElementCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLElementCollection_Release(IXMLElementCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLElementCollection_GetTypeInfoCount(IXMLElementCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLElementCollection_GetTypeInfo(IXMLElementCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLElementCollection_GetIDsOfNames(IXMLElementCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLElementCollection_Invoke(IXMLElementCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLElementCollection methods ***/ +static FORCEINLINE HRESULT IXMLElementCollection_put_length(IXMLElementCollection* This,LONG v) { + return This->lpVtbl->put_length(This,v); +} +static FORCEINLINE HRESULT IXMLElementCollection_get_length(IXMLElementCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IXMLElementCollection_get__newEnum(IXMLElementCollection* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +static FORCEINLINE HRESULT IXMLElementCollection_item(IXMLElementCollection* This,VARIANT var1,VARIANT var2,IDispatch **ppDisp) { + return This->lpVtbl->item(This,var1,var2,ppDisp); +} +#endif +#endif + +#endif + + +#endif /* __IXMLElementCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLElement interface + */ +#ifndef __IXMLElement_INTERFACE_DEFINED__ +#define __IXMLElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLElement, 0x3f7f31ac, 0xe15f, 0x11d0, 0x9c,0x25, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e") +IXMLElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tagName( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parent( + IXMLElement **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strPropertyName, + VARIANT PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strPropertyName, + VARIANT *PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strPropertyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_children( + IXMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addChild( + IXMLElement *pChildElem, + LONG lIndex, + LONG lreserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IXMLElement *pChildElem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLElement, 0x3f7f31ac, 0xe15f, 0x11d0, 0x9c,0x25, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#else +typedef struct IXMLElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IXMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_tagName)( + IXMLElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_parent)( + IXMLElement *This, + IXMLElement **parent); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IXMLElement *This, + BSTR strPropertyName, + VARIANT PropertyValue); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IXMLElement *This, + BSTR strPropertyName, + VARIANT *PropertyValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IXMLElement *This, + BSTR strPropertyName); + + HRESULT (STDMETHODCALLTYPE *get_children)( + IXMLElement *This, + IXMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IXMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *addChild)( + IXMLElement *This, + IXMLElement *pChildElem, + LONG lIndex, + LONG lreserved); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLElement *This, + IXMLElement *pChildElem); + + END_INTERFACE +} IXMLElementVtbl; + +interface IXMLElement { + CONST_VTBL IXMLElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLElement methods ***/ +#define IXMLElement_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IXMLElement_put_tagName(This,p) (This)->lpVtbl->put_tagName(This,p) +#define IXMLElement_get_parent(This,parent) (This)->lpVtbl->get_parent(This,parent) +#define IXMLElement_setAttribute(This,strPropertyName,PropertyValue) (This)->lpVtbl->setAttribute(This,strPropertyName,PropertyValue) +#define IXMLElement_getAttribute(This,strPropertyName,PropertyValue) (This)->lpVtbl->getAttribute(This,strPropertyName,PropertyValue) +#define IXMLElement_removeAttribute(This,strPropertyName) (This)->lpVtbl->removeAttribute(This,strPropertyName) +#define IXMLElement_get_children(This,p) (This)->lpVtbl->get_children(This,p) +#define IXMLElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IXMLElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLElement_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLElement_addChild(This,pChildElem,lIndex,lreserved) (This)->lpVtbl->addChild(This,pChildElem,lIndex,lreserved) +#define IXMLElement_removeChild(This,pChildElem) (This)->lpVtbl->removeChild(This,pChildElem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLElement_QueryInterface(IXMLElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLElement_AddRef(IXMLElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLElement_Release(IXMLElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLElement_GetTypeInfoCount(IXMLElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLElement_GetTypeInfo(IXMLElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLElement_GetIDsOfNames(IXMLElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLElement_Invoke(IXMLElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLElement methods ***/ +static FORCEINLINE HRESULT IXMLElement_get_tagName(IXMLElement* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLElement_put_tagName(IXMLElement* This,BSTR p) { + return This->lpVtbl->put_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLElement_get_parent(IXMLElement* This,IXMLElement **parent) { + return This->lpVtbl->get_parent(This,parent); +} +static FORCEINLINE HRESULT IXMLElement_setAttribute(IXMLElement* This,BSTR strPropertyName,VARIANT PropertyValue) { + return This->lpVtbl->setAttribute(This,strPropertyName,PropertyValue); +} +static FORCEINLINE HRESULT IXMLElement_getAttribute(IXMLElement* This,BSTR strPropertyName,VARIANT *PropertyValue) { + return This->lpVtbl->getAttribute(This,strPropertyName,PropertyValue); +} +static FORCEINLINE HRESULT IXMLElement_removeAttribute(IXMLElement* This,BSTR strPropertyName) { + return This->lpVtbl->removeAttribute(This,strPropertyName); +} +static FORCEINLINE HRESULT IXMLElement_get_children(IXMLElement* This,IXMLElementCollection **p) { + return This->lpVtbl->get_children(This,p); +} +static FORCEINLINE HRESULT IXMLElement_get_type(IXMLElement* This,LONG *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IXMLElement_get_text(IXMLElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLElement_put_text(IXMLElement* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLElement_addChild(IXMLElement* This,IXMLElement *pChildElem,LONG lIndex,LONG lreserved) { + return This->lpVtbl->addChild(This,pChildElem,lIndex,lreserved); +} +static FORCEINLINE HRESULT IXMLElement_removeChild(IXMLElement* This,IXMLElement *pChildElem) { + return This->lpVtbl->removeChild(This,pChildElem); +} +#endif +#endif + +#endif + + +#endif /* __IXMLElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDocument interface + */ +#ifndef __IXMLDocument_INTERFACE_DEFINED__ +#define __IXMLDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDocument, 0xf52e2b61, 0x18a1, 0x11d1, 0xb1,0x05, 0x00,0x80,0x5f,0x49,0x91,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f52e2b61-18a1-11d1-b105-00805f49916b") +IXMLDocument : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_root( + IXMLElement **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileSize( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileModifiedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileUpdatedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URL( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_URL( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mimeType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_charset( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_charset( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_doctype( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dtdURl( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + VARIANT vType, + VARIANT var1, + IXMLElement **ppElem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDocument, 0xf52e2b61, 0x18a1, 0x11d1, 0xb1,0x05, 0x00,0x80,0x5f,0x49,0x91,0x6b) +#endif +#else +typedef struct IXMLDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_root)( + IXMLDocument *This, + IXMLElement **p); + + HRESULT (STDMETHODCALLTYPE *get_fileSize)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileModifiedDate)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileUpdatedDate)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IXMLDocument *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_mimeType)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDocument *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_charset)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_charset)( + IXMLDocument *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_version)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_dtdURl)( + IXMLDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDocument *This, + VARIANT vType, + VARIANT var1, + IXMLElement **ppElem); + + END_INTERFACE +} IXMLDocumentVtbl; + +interface IXMLDocument { + CONST_VTBL IXMLDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDocument methods ***/ +#define IXMLDocument_get_root(This,p) (This)->lpVtbl->get_root(This,p) +#define IXMLDocument_get_fileSize(This,p) (This)->lpVtbl->get_fileSize(This,p) +#define IXMLDocument_get_fileModifiedDate(This,p) (This)->lpVtbl->get_fileModifiedDate(This,p) +#define IXMLDocument_get_fileUpdatedDate(This,p) (This)->lpVtbl->get_fileUpdatedDate(This,p) +#define IXMLDocument_get_URL(This,p) (This)->lpVtbl->get_URL(This,p) +#define IXMLDocument_put_URL(This,p) (This)->lpVtbl->put_URL(This,p) +#define IXMLDocument_get_mimeType(This,p) (This)->lpVtbl->get_mimeType(This,p) +#define IXMLDocument_get_readyState(This,p) (This)->lpVtbl->get_readyState(This,p) +#define IXMLDocument_get_charset(This,p) (This)->lpVtbl->get_charset(This,p) +#define IXMLDocument_put_charset(This,p) (This)->lpVtbl->put_charset(This,p) +#define IXMLDocument_get_version(This,p) (This)->lpVtbl->get_version(This,p) +#define IXMLDocument_get_doctype(This,p) (This)->lpVtbl->get_doctype(This,p) +#define IXMLDocument_get_dtdURl(This,p) (This)->lpVtbl->get_dtdURl(This,p) +#define IXMLDocument_createElement(This,vType,var1,ppElem) (This)->lpVtbl->createElement(This,vType,var1,ppElem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDocument_QueryInterface(IXMLDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDocument_AddRef(IXMLDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDocument_Release(IXMLDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDocument_GetTypeInfoCount(IXMLDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDocument_GetTypeInfo(IXMLDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDocument_GetIDsOfNames(IXMLDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDocument_Invoke(IXMLDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDocument methods ***/ +static FORCEINLINE HRESULT IXMLDocument_get_root(IXMLDocument* This,IXMLElement **p) { + return This->lpVtbl->get_root(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_fileSize(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_fileSize(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_fileModifiedDate(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_fileModifiedDate(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_fileUpdatedDate(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_fileUpdatedDate(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_URL(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_URL(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_put_URL(IXMLDocument* This,BSTR p) { + return This->lpVtbl->put_URL(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_mimeType(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_mimeType(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_readyState(IXMLDocument* This,LONG *p) { + return This->lpVtbl->get_readyState(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_charset(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_charset(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_put_charset(IXMLDocument* This,BSTR p) { + return This->lpVtbl->put_charset(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_version(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_version(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_doctype(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_doctype(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_get_dtdURl(IXMLDocument* This,BSTR *p) { + return This->lpVtbl->get_dtdURl(This,p); +} +static FORCEINLINE HRESULT IXMLDocument_createElement(IXMLDocument* This,VARIANT vType,VARIANT var1,IXMLElement **ppElem) { + return This->lpVtbl->createElement(This,vType,var1,ppElem); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLElement2 interface + */ +#ifndef __IXMLElement2_INTERFACE_DEFINED__ +#define __IXMLElement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLElement2, 0x2b8de2ff, 0x8d2d, 0x11d1, 0xb2,0xfc, 0x00,0xc0,0x4f,0xd9,0x15,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2b8de2ff-8d2d-11d1-b2fc-00c04fd915a9") +IXMLElement2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tagName( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parent( + IXMLElement2 **ppParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strPropertyName, + VARIANT PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strPropertyName, + VARIANT *PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strPropertyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_children( + IXMLElementCollection **pp) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + LONG *plType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addChild( + IXMLElement2 *pChildElem, + LONG lIndex, + LONG lReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IXMLElement2 *pChildElem) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + IXMLElementCollection **pp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLElement2, 0x2b8de2ff, 0x8d2d, 0x11d1, 0xb2,0xfc, 0x00,0xc0,0x4f,0xd9,0x15,0xa9) +#endif +#else +typedef struct IXMLElement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLElement2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLElement2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLElement2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLElement2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLElement2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLElement2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLElement2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLElement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IXMLElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_tagName)( + IXMLElement2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_parent)( + IXMLElement2 *This, + IXMLElement2 **ppParent); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IXMLElement2 *This, + BSTR strPropertyName, + VARIANT PropertyValue); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IXMLElement2 *This, + BSTR strPropertyName, + VARIANT *PropertyValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IXMLElement2 *This, + BSTR strPropertyName); + + HRESULT (STDMETHODCALLTYPE *get_children)( + IXMLElement2 *This, + IXMLElementCollection **pp); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IXMLElement2 *This, + LONG *plType); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLElement2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLElement2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *addChild)( + IXMLElement2 *This, + IXMLElement2 *pChildElem, + LONG lIndex, + LONG lReserved); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLElement2 *This, + IXMLElement2 *pChildElem); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLElement2 *This, + IXMLElementCollection **pp); + + END_INTERFACE +} IXMLElement2Vtbl; + +interface IXMLElement2 { + CONST_VTBL IXMLElement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLElement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLElement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLElement2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLElement2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLElement2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLElement2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLElement2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLElement2 methods ***/ +#define IXMLElement2_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IXMLElement2_put_tagName(This,p) (This)->lpVtbl->put_tagName(This,p) +#define IXMLElement2_get_parent(This,ppParent) (This)->lpVtbl->get_parent(This,ppParent) +#define IXMLElement2_setAttribute(This,strPropertyName,PropertyValue) (This)->lpVtbl->setAttribute(This,strPropertyName,PropertyValue) +#define IXMLElement2_getAttribute(This,strPropertyName,PropertyValue) (This)->lpVtbl->getAttribute(This,strPropertyName,PropertyValue) +#define IXMLElement2_removeAttribute(This,strPropertyName) (This)->lpVtbl->removeAttribute(This,strPropertyName) +#define IXMLElement2_get_children(This,pp) (This)->lpVtbl->get_children(This,pp) +#define IXMLElement2_get_type(This,plType) (This)->lpVtbl->get_type(This,plType) +#define IXMLElement2_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLElement2_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLElement2_addChild(This,pChildElem,lIndex,lReserved) (This)->lpVtbl->addChild(This,pChildElem,lIndex,lReserved) +#define IXMLElement2_removeChild(This,pChildElem) (This)->lpVtbl->removeChild(This,pChildElem) +#define IXMLElement2_get_attributes(This,pp) (This)->lpVtbl->get_attributes(This,pp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLElement2_QueryInterface(IXMLElement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLElement2_AddRef(IXMLElement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLElement2_Release(IXMLElement2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLElement2_GetTypeInfoCount(IXMLElement2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLElement2_GetTypeInfo(IXMLElement2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLElement2_GetIDsOfNames(IXMLElement2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLElement2_Invoke(IXMLElement2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLElement2 methods ***/ +static FORCEINLINE HRESULT IXMLElement2_get_tagName(IXMLElement2* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLElement2_put_tagName(IXMLElement2* This,BSTR p) { + return This->lpVtbl->put_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLElement2_get_parent(IXMLElement2* This,IXMLElement2 **ppParent) { + return This->lpVtbl->get_parent(This,ppParent); +} +static FORCEINLINE HRESULT IXMLElement2_setAttribute(IXMLElement2* This,BSTR strPropertyName,VARIANT PropertyValue) { + return This->lpVtbl->setAttribute(This,strPropertyName,PropertyValue); +} +static FORCEINLINE HRESULT IXMLElement2_getAttribute(IXMLElement2* This,BSTR strPropertyName,VARIANT *PropertyValue) { + return This->lpVtbl->getAttribute(This,strPropertyName,PropertyValue); +} +static FORCEINLINE HRESULT IXMLElement2_removeAttribute(IXMLElement2* This,BSTR strPropertyName) { + return This->lpVtbl->removeAttribute(This,strPropertyName); +} +static FORCEINLINE HRESULT IXMLElement2_get_children(IXMLElement2* This,IXMLElementCollection **pp) { + return This->lpVtbl->get_children(This,pp); +} +static FORCEINLINE HRESULT IXMLElement2_get_type(IXMLElement2* This,LONG *plType) { + return This->lpVtbl->get_type(This,plType); +} +static FORCEINLINE HRESULT IXMLElement2_get_text(IXMLElement2* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLElement2_put_text(IXMLElement2* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLElement2_addChild(IXMLElement2* This,IXMLElement2 *pChildElem,LONG lIndex,LONG lReserved) { + return This->lpVtbl->addChild(This,pChildElem,lIndex,lReserved); +} +static FORCEINLINE HRESULT IXMLElement2_removeChild(IXMLElement2* This,IXMLElement2 *pChildElem) { + return This->lpVtbl->removeChild(This,pChildElem); +} +static FORCEINLINE HRESULT IXMLElement2_get_attributes(IXMLElement2* This,IXMLElementCollection **pp) { + return This->lpVtbl->get_attributes(This,pp); +} +#endif +#endif + +#endif + + +#endif /* __IXMLElement2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDocument2 interface + */ +#ifndef __IXMLDocument2_INTERFACE_DEFINED__ +#define __IXMLDocument2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDocument2, 0x2b8de2fe, 0x8d2d, 0x11d1, 0xb2,0xfc, 0x00,0xc0,0x4f,0xd9,0x15,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2b8de2fe-8d2d-11d1-b2fc-00c04fd915a9") +IXMLDocument2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_root( + IXMLElement2 **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileSize( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileModifiedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fileUpdatedDate( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URL( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_URL( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mimeType( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *pl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_charset( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_charset( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_doctype( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dtdURL( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + VARIANT vType, + VARIANT var, + IXMLElement2 **ppElem) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_async( + VARIANT_BOOL *pf) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_async( + VARIANT_BOOL f) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDocument2, 0x2b8de2fe, 0x8d2d, 0x11d1, 0xb2,0xfc, 0x00,0xc0,0x4f,0xd9,0x15,0xa9) +#endif +#else +typedef struct IXMLDocument2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDocument2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDocument2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDocument2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDocument2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDocument2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDocument2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDocument2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDocument2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_root)( + IXMLDocument2 *This, + IXMLElement2 **p); + + HRESULT (STDMETHODCALLTYPE *get_fileSize)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileModifiedDate)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_fileUpdatedDate)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IXMLDocument2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_mimeType)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDocument2 *This, + LONG *pl); + + HRESULT (STDMETHODCALLTYPE *get_charset)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_charset)( + IXMLDocument2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_version)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_dtdURL)( + IXMLDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDocument2 *This, + VARIANT vType, + VARIANT var, + IXMLElement2 **ppElem); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDocument2 *This, + VARIANT_BOOL *pf); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDocument2 *This, + VARIANT_BOOL f); + + END_INTERFACE +} IXMLDocument2Vtbl; + +interface IXMLDocument2 { + CONST_VTBL IXMLDocument2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDocument2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDocument2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDocument2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDocument2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDocument2 methods ***/ +#define IXMLDocument2_get_root(This,p) (This)->lpVtbl->get_root(This,p) +#define IXMLDocument2_get_fileSize(This,p) (This)->lpVtbl->get_fileSize(This,p) +#define IXMLDocument2_get_fileModifiedDate(This,p) (This)->lpVtbl->get_fileModifiedDate(This,p) +#define IXMLDocument2_get_fileUpdatedDate(This,p) (This)->lpVtbl->get_fileUpdatedDate(This,p) +#define IXMLDocument2_get_URL(This,p) (This)->lpVtbl->get_URL(This,p) +#define IXMLDocument2_put_URL(This,p) (This)->lpVtbl->put_URL(This,p) +#define IXMLDocument2_get_mimeType(This,p) (This)->lpVtbl->get_mimeType(This,p) +#define IXMLDocument2_get_readyState(This,pl) (This)->lpVtbl->get_readyState(This,pl) +#define IXMLDocument2_get_charset(This,p) (This)->lpVtbl->get_charset(This,p) +#define IXMLDocument2_put_charset(This,p) (This)->lpVtbl->put_charset(This,p) +#define IXMLDocument2_get_version(This,p) (This)->lpVtbl->get_version(This,p) +#define IXMLDocument2_get_doctype(This,p) (This)->lpVtbl->get_doctype(This,p) +#define IXMLDocument2_get_dtdURL(This,p) (This)->lpVtbl->get_dtdURL(This,p) +#define IXMLDocument2_createElement(This,vType,var,ppElem) (This)->lpVtbl->createElement(This,vType,var,ppElem) +#define IXMLDocument2_get_async(This,pf) (This)->lpVtbl->get_async(This,pf) +#define IXMLDocument2_put_async(This,f) (This)->lpVtbl->put_async(This,f) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDocument2_QueryInterface(IXMLDocument2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDocument2_AddRef(IXMLDocument2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDocument2_Release(IXMLDocument2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDocument2_GetTypeInfoCount(IXMLDocument2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDocument2_GetTypeInfo(IXMLDocument2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDocument2_GetIDsOfNames(IXMLDocument2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDocument2_Invoke(IXMLDocument2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDocument2 methods ***/ +static FORCEINLINE HRESULT IXMLDocument2_get_root(IXMLDocument2* This,IXMLElement2 **p) { + return This->lpVtbl->get_root(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_fileSize(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileSize(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_fileModifiedDate(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileModifiedDate(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_fileUpdatedDate(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_fileUpdatedDate(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_URL(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_URL(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_put_URL(IXMLDocument2* This,BSTR p) { + return This->lpVtbl->put_URL(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_mimeType(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_mimeType(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_readyState(IXMLDocument2* This,LONG *pl) { + return This->lpVtbl->get_readyState(This,pl); +} +static FORCEINLINE HRESULT IXMLDocument2_get_charset(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_charset(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_put_charset(IXMLDocument2* This,BSTR p) { + return This->lpVtbl->put_charset(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_version(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_version(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_doctype(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_doctype(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_get_dtdURL(IXMLDocument2* This,BSTR *p) { + return This->lpVtbl->get_dtdURL(This,p); +} +static FORCEINLINE HRESULT IXMLDocument2_createElement(IXMLDocument2* This,VARIANT vType,VARIANT var,IXMLElement2 **ppElem) { + return This->lpVtbl->createElement(This,vType,var,ppElem); +} +static FORCEINLINE HRESULT IXMLDocument2_get_async(IXMLDocument2* This,VARIANT_BOOL *pf) { + return This->lpVtbl->get_async(This,pf); +} +static FORCEINLINE HRESULT IXMLDocument2_put_async(IXMLDocument2* This,VARIANT_BOOL f) { + return This->lpVtbl->put_async(This,f); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDocument2_INTERFACE_DEFINED__ */ + +typedef enum tagXMLEMEM_TYPE { + XMLELEMTYPE_ELEMENT = 0, + XMLELEMTYPE_TEXT = 1, + XMLELEMTYPE_COMMENT = 2, + XMLELEMTYPE_DOCUMENT = 3, + XMLELEMTYPE_DTD = 4, + XMLELEMTYPE_PI = 5, + XMLELEMTYPE_OTHER = 6 +} XMLELEM_TYPE; +typedef struct _xml_error { + UINT _nLine; + BSTR _pchBuf; + BSTR _cchBuf; + UINT _ich; + BSTR _pszFound; + BSTR _pszExpected; + DWORD _reserved1; + DWORD _reserved2; +} XML_ERROR; +/***************************************************************************** + * IXMLAttribute interface + */ +#ifndef __IXMLAttribute_INTERFACE_DEFINED__ +#define __IXMLAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLAttribute, 0xd4d4a0fc, 0x3b73, 0x11d1, 0xb2,0xb4, 0x00,0xc0,0x4f,0xb9,0x25,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d4d4a0fc-3b73-11d1-b2b4-00c04fb92596") +IXMLAttribute : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLAttribute, 0xd4d4a0fc, 0x3b73, 0x11d1, 0xb2,0xb4, 0x00,0xc0,0x4f,0xb9,0x25,0x96) +#endif +#else +typedef struct IXMLAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IXMLAttribute *This, + BSTR *p); + + END_INTERFACE +} IXMLAttributeVtbl; + +interface IXMLAttribute { + CONST_VTBL IXMLAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLAttribute methods ***/ +#define IXMLAttribute_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IXMLAttribute_get_value(This,p) (This)->lpVtbl->get_value(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLAttribute_QueryInterface(IXMLAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLAttribute_AddRef(IXMLAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLAttribute_Release(IXMLAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLAttribute_GetTypeInfoCount(IXMLAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLAttribute_GetTypeInfo(IXMLAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLAttribute_GetIDsOfNames(IXMLAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLAttribute_Invoke(IXMLAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLAttribute methods ***/ +static FORCEINLINE HRESULT IXMLAttribute_get_name(IXMLAttribute* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IXMLAttribute_get_value(IXMLAttribute* This,BSTR *p) { + return This->lpVtbl->get_value(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLError interface + */ +#ifndef __IXMLError_INTERFACE_DEFINED__ +#define __IXMLError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLError, 0x948c5ad3, 0xc58d, 0x11d0, 0x9c,0x0b, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("948c5ad3-c58d-11d0-9c0b-00c04fc99c8e") +IXMLError : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetErrorInfo( + XML_ERROR *pErrorReturn) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLError, 0x948c5ad3, 0xc58d, 0x11d0, 0x9c,0x0b, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#else +typedef struct IXMLErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLError *This); + + /*** IXMLError methods ***/ + HRESULT (STDMETHODCALLTYPE *GetErrorInfo)( + IXMLError *This, + XML_ERROR *pErrorReturn); + + END_INTERFACE +} IXMLErrorVtbl; + +interface IXMLError { + CONST_VTBL IXMLErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLError_Release(This) (This)->lpVtbl->Release(This) +/*** IXMLError methods ***/ +#define IXMLError_GetErrorInfo(This,pErrorReturn) (This)->lpVtbl->GetErrorInfo(This,pErrorReturn) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLError_QueryInterface(IXMLError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLError_AddRef(IXMLError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLError_Release(IXMLError* This) { + return This->lpVtbl->Release(This); +} +/*** IXMLError methods ***/ +static FORCEINLINE HRESULT IXMLError_GetErrorInfo(IXMLError* This,XML_ERROR *pErrorReturn) { + return This->lpVtbl->GetErrorInfo(This,pErrorReturn); +} +#endif +#endif + +#endif + + +#endif /* __IXMLError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLElementNotificationSink interface + */ +#ifndef __IXMLElementNotificationSink_INTERFACE_DEFINED__ +#define __IXMLElementNotificationSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLElementNotificationSink, 0xd9f1e15a, 0xccdb, 0x11d0, 0x9c,0x0c, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d9f1e15a-ccdb-11d0-9c0c-00c04fc99c8e") +IXMLElementNotificationSink : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE ChildAdded( + IDispatch *pChildElem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLElementNotificationSink, 0xd9f1e15a, 0xccdb, 0x11d0, 0x9c,0x0c, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#else +typedef struct IXMLElementNotificationSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLElementNotificationSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLElementNotificationSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLElementNotificationSink *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLElementNotificationSink *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLElementNotificationSink *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLElementNotificationSink *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLElementNotificationSink *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLElementNotificationSink methods ***/ + HRESULT (STDMETHODCALLTYPE *ChildAdded)( + IXMLElementNotificationSink *This, + IDispatch *pChildElem); + + END_INTERFACE +} IXMLElementNotificationSinkVtbl; + +interface IXMLElementNotificationSink { + CONST_VTBL IXMLElementNotificationSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLElementNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLElementNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLElementNotificationSink_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLElementNotificationSink_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLElementNotificationSink_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLElementNotificationSink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLElementNotificationSink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLElementNotificationSink methods ***/ +#define IXMLElementNotificationSink_ChildAdded(This,pChildElem) (This)->lpVtbl->ChildAdded(This,pChildElem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLElementNotificationSink_QueryInterface(IXMLElementNotificationSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLElementNotificationSink_AddRef(IXMLElementNotificationSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLElementNotificationSink_Release(IXMLElementNotificationSink* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLElementNotificationSink_GetTypeInfoCount(IXMLElementNotificationSink* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLElementNotificationSink_GetTypeInfo(IXMLElementNotificationSink* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLElementNotificationSink_GetIDsOfNames(IXMLElementNotificationSink* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLElementNotificationSink_Invoke(IXMLElementNotificationSink* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLElementNotificationSink methods ***/ +static FORCEINLINE HRESULT IXMLElementNotificationSink_ChildAdded(IXMLElementNotificationSink* This,IDispatch *pChildElem) { + return This->lpVtbl->ChildAdded(This,pChildElem); +} +#endif +#endif + +#endif + + +#endif /* __IXMLElementNotificationSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * XMLDocument coclass + */ + +DEFINE_GUID(CLSID_XMLDocument, 0xcfc399af, 0xd876, 0x11d0, 0x9c,0x10, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); + +#ifdef __cplusplus +class DECLSPEC_UUID("cfc399af-d876-11d0-9c10-00c04fc99c8e") XMLDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLDocument, 0xcfc399af, 0xd876, 0x11d0, 0x9c,0x10, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msxml_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml.idl new file mode 100644 index 0000000..375bb64 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml.idl @@ -0,0 +1,357 @@ +/* + * Copyright (C) 2005 Mike McCormack + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include +#include + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +import "wtypes.idl"; +import "objidl.idl"; +import "oaidl.idl"; +#endif + +[ + uuid(d63e0ce2-a0a2-11d0-9c02-00c04fc99c8e), + version(2.0), + helpstring("Microsoft XML, v2.0") +] +library MSXML +{ + +importlib("stdole2.tlb"); + +#include +#include + +[ +local, +object, +odl, +dual, +oleautomation, +uuid(65725580-9b5d-11d0-9bfe-00c04fc99c8e) +] +interface IXMLElementCollection : IDispatch +{ + [propput, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)] + HRESULT length( [in] LONG v ); + + [propget, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)] + HRESULT length( [retval, out] LONG *p ); + + [propget, id(DISPID_XMLELEMENTCOLLECTION_NEWENUM)] + HRESULT _newEnum( [retval, out] IUnknown ** ppUnk ); + + [id(DISPID_XMLELEMENTCOLLECTION_ITEM)] + HRESULT item( + [optional, in] VARIANT var1, + [optional, in] VARIANT var2, + [retval, out] IDispatch ** ppDisp ); +} + +[ +local, +object, +uuid(3f7f31ac-e15f-11d0-9c25-00c04fc99c8e) +] +interface IXMLElement : IDispatch +{ + [propget, id(DISPID_XMLELEMENT_TAGNAME)] + HRESULT tagName( [retval, out] BSTR *p); + + [propput, id(DISPID_XMLELEMENT_TAGNAME)] + HRESULT tagName( [in] BSTR p ); + + [propget, id(DISPID_XMLELEMENT_PARENT)] + HRESULT parent( [retval, out] IXMLElement **parent ); + + [id(DISPID_XMLELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strPropertyName, + [in] VARIANT PropertyValue ); + + [id(DISPID_XMLELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strPropertyName, + [retval, out] VARIANT *PropertyValue ); + + [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR strPropertyName ); + + [propget, id(DISPID_XMLELEMENT_CHILDREN)] + HRESULT children( [retval, out] IXMLElementCollection **p ); + + [propget, id(DISPID_XMLELEMENT_TYPE)] + HRESULT type( [retval, out] LONG *p ); + + [propget, id(DISPID_XMLELEMENT_TEXT)] + HRESULT text( [retval, out] BSTR *p ); + + [propput, id(DISPID_XMLELEMENT_TEXT)] + HRESULT text( [in] BSTR p ); + + [id(DISPID_XMLELEMENT_ADDCHILD)] + HRESULT addChild( + [in] IXMLElement *pChildElem, + [in] LONG lIndex, + [in] LONG lreserved ); + + [id(DISPID_XMLELEMENT_REMOVECHILD)] + HRESULT removeChild( + [in] IXMLElement *pChildElem ); +} + +[ +local, +object, +uuid(f52e2b61-18a1-11d1-b105-00805f49916b) +] +interface IXMLDocument : IDispatch +{ + [propget, id(DISPID_XMLDOCUMENT_ROOT)] + HRESULT root( [retval, out] IXMLElement **p ); + + [propget, id(DISPID_XMLDOCUMENT_FILESIZE)] + HRESULT fileSize( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLDOCUMENT_FILEMODIFIEDDATE)] + HRESULT fileModifiedDate( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLDOCUMENT_FILEUPDATEDDATE)] + HRESULT fileUpdatedDate( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLDOCUMENT_URL)] + HRESULT URL( [retval, out] BSTR *p ); + + [propput, id(DISPID_XMLDOCUMENT_URL)] + HRESULT URL( [in] BSTR p ); + + [propget, id(DISPID_XMLDOCUMENT_MIMETYPE)] + HRESULT mimeType( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLDOCUMENT_READYSTATE)] + HRESULT readyState( [retval, out] LONG *p ); + + [propget, id(DISPID_XMLDOCUMENT_CHARSET)] + HRESULT charset( [retval, out] BSTR *p ); + + [propput, id(DISPID_XMLDOCUMENT_CHARSET)] + HRESULT charset( [in] BSTR p ); + + [propget, id(DISPID_XMLDOCUMENT_VERSION)] + HRESULT version( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLDOCUMENT_DOCTYPE)] + HRESULT doctype( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLDOCUMENT_DTDURL)] + HRESULT dtdURl( [retval, out] BSTR *p ); + + [id(DISPID_XMLDOCUMENT_CREATEELEMENT)] + HRESULT createElement( + [in] VARIANT vType, + [optional, in] VARIANT var1, + [retval, out] IXMLElement **ppElem ); +} + +[ +local, +object, +uuid(2B8DE2FF-8D2D-11d1-B2FC-00C04FD915A9) +] +interface IXMLElement2 : IDispatch +{ + [propget, id(DISPID_XMLELEMENT_TAGNAME)] + HRESULT tagName([retval, out] BSTR *p); + + [propput, id(DISPID_XMLELEMENT_TAGNAME)] + HRESULT tagName([in] BSTR p); + + [propget, id(DISPID_XMLELEMENT_PARENT)] + HRESULT parent([retval, out]IXMLElement2 **ppParent); + + [id(DISPID_XMLELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strPropertyName, + [in] VARIANT PropertyValue); + + [id(DISPID_XMLELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strPropertyName, + [retval, out] VARIANT *PropertyValue); + + [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute([in] BSTR strPropertyName); + + [propget, id(DISPID_XMLELEMENT_CHILDREN)] + HRESULT children([retval, out] IXMLElementCollection **pp); + + [propget, id(DISPID_XMLELEMENT_TYPE)] + HRESULT type([retval, out] LONG *plType); + + [propget, id(DISPID_XMLELEMENT_TEXT)] + HRESULT text([retval, out] BSTR *p); + + [propput, id(DISPID_XMLELEMENT_TEXT)] + HRESULT text([in] BSTR p); + + [id(DISPID_XMLELEMENT_ADDCHILD)] + HRESULT addChild( + [in] IXMLElement2 *pChildElem, + [in] LONG lIndex, + [in] LONG lReserved); + + [id(DISPID_XMLELEMENT_REMOVECHILD)] + HRESULT removeChild([in]IXMLElement2 *pChildElem); + + [propget, id(DISPID_XMLELEMENT_ATTRIBUTES)] + HRESULT attributes([retval, out] IXMLElementCollection **pp); +} + +[ +local, +object, +uuid(2B8DE2FE-8D2D-11d1-B2FC-00C04FD915A9) +] +interface IXMLDocument2 : IDispatch +{ + [propget, id(DISPID_XMLDOCUMENT_ROOT)] + HRESULT root([retval, out] IXMLElement2 **p); + + [propget, id(DISPID_XMLDOCUMENT_FILESIZE)] + HRESULT fileSize([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOCUMENT_FILEMODIFIEDDATE)] + HRESULT fileModifiedDate([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOCUMENT_FILEUPDATEDDATE)] + HRESULT fileUpdatedDate([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOCUMENT_URL)] + HRESULT URL([retval, out] BSTR *p); + + [propput, id(DISPID_XMLDOCUMENT_URL)] + HRESULT URL([in] BSTR p); + + [propget, id(DISPID_XMLDOCUMENT_MIMETYPE)] + HRESULT mimeType([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOCUMENT_READYSTATE)] + HRESULT readyState([retval, out]LONG *pl); + + [propget, id(DISPID_XMLDOCUMENT_CHARSET)] + HRESULT charset([retval, out]BSTR *p); + + [propput, id(DISPID_XMLDOCUMENT_CHARSET)] + HRESULT charset([in]BSTR p); + + [propget, id(DISPID_XMLDOCUMENT_VERSION)] + HRESULT version([retval, out]BSTR *p); + + [propget, id(DISPID_XMLDOCUMENT_DOCTYPE)] + HRESULT doctype([retval, out]BSTR *p); + + [propget, restricted, id(DISPID_XMLDOCUMENT_DTDURL)] + HRESULT dtdURL([retval, out]BSTR *p); + + [id(DISPID_XMLDOCUMENT_CREATEELEMENT)] + HRESULT createElement( + [in] VARIANT vType, + [optional, in] VARIANT var, + [retval, out] IXMLElement2 **ppElem); + + [propget, id(DISPID_XMLDOCUMENT_ASYNC)] + HRESULT async([retval, out] VARIANT_BOOL *pf); + + [propput, id(DISPID_XMLDOCUMENT_ASYNC)] + HRESULT async([in] VARIANT_BOOL f); +} + +typedef enum tagXMLEMEM_TYPE { + XMLELEMTYPE_ELEMENT = 0, + XMLELEMTYPE_TEXT = 1, + XMLELEMTYPE_COMMENT = 2, + XMLELEMTYPE_DOCUMENT = 3, + XMLELEMTYPE_DTD = 4, + XMLELEMTYPE_PI = 5, + XMLELEMTYPE_OTHER = 6 +} XMLELEM_TYPE; + +typedef struct _xml_error { + UINT _nLine; + BSTR _pchBuf; + BSTR _cchBuf; + UINT _ich; + BSTR _pszFound; + BSTR _pszExpected; + DWORD _reserved1; + DWORD _reserved2; +} XML_ERROR; + +[ +local, +object, +uuid(d4d4a0fc-3b73-11d1-b2b4-00c04fb92596) +] +interface IXMLAttribute : IDispatch +{ + [propget, id(DISPID_XMLATTRIBUTE_NAME)] + HRESULT name( [retval, out] BSTR *p ); + + [propget, id(DISPID_XMLATTRIBUTE_VALUE)] + HRESULT value( [retval, out] BSTR *p ); +} + +[ +local, +object, +uuid(948c5ad3-c58d-11d0-9c0b-00c04fc99c8e) +] +interface IXMLError : IUnknown +{ + HRESULT GetErrorInfo([out]XML_ERROR *pErrorReturn); +} + +[ + object, + local, + uuid(D9F1E15A-CCDB-11d0-9C0C-00C04FC99C8E) +] +interface IXMLElementNotificationSink : IDispatch +{ + [id(DISPID_XMLNOTIFSINK_CHILDADDED)] + HRESULT ChildAdded([in]IDispatch *pChildElem); +} + +[ + helpstring("Msxml"), + progid("Msxml"), + threading(both), + version(1.0), + uuid(cfc399af-d876-11d0-9c10-00c04fc99c8e) +] +coclass XMLDocument +{ + [default] interface IXMLDocument; +} + +} /* Library MSXML */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2.h new file mode 100644 index 0000000..46380d5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2.h @@ -0,0 +1,23863 @@ +/*** Autogenerated by WIDL 2.18 from msxml2.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msxml2_h__ +#define __msxml2_h__ + +/* Forward declarations */ + +#ifndef __IXMLElementCollection_FWD_DEFINED__ +#define __IXMLElementCollection_FWD_DEFINED__ +typedef interface IXMLElementCollection IXMLElementCollection; +#ifdef __cplusplus +interface IXMLElementCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLElement_FWD_DEFINED__ +#define __IXMLElement_FWD_DEFINED__ +typedef interface IXMLElement IXMLElement; +#ifdef __cplusplus +interface IXMLElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNode_FWD_DEFINED__ +#define __IXMLDOMNode_FWD_DEFINED__ +typedef interface IXMLDOMNode IXMLDOMNode; +#ifdef __cplusplus +interface IXMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection IXMLDOMSchemaCollection; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection2_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection2_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection2 IXMLDOMSchemaCollection2; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument2_FWD_DEFINED__ +#define __IXMLDOMDocument2_FWD_DEFINED__ +typedef interface IXMLDOMDocument2 IXMLDOMDocument2; +#ifdef __cplusplus +interface IXMLDOMDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument3_FWD_DEFINED__ +#define __IXMLDOMDocument3_FWD_DEFINED__ +typedef interface IXMLDOMDocument3 IXMLDOMDocument3; +#ifdef __cplusplus +interface IXMLDOMDocument3; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNodeList_FWD_DEFINED__ +#define __IXMLDOMNodeList_FWD_DEFINED__ +typedef interface IXMLDOMNodeList IXMLDOMNodeList; +#ifdef __cplusplus +interface IXMLDOMNodeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSelection_FWD_DEFINED__ +#define __IXMLDOMSelection_FWD_DEFINED__ +typedef interface IXMLDOMSelection IXMLDOMSelection; +#ifdef __cplusplus +interface IXMLDOMSelection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNamedNodeMap_FWD_DEFINED__ +#define __IXMLDOMNamedNodeMap_FWD_DEFINED__ +typedef interface IXMLDOMNamedNodeMap IXMLDOMNamedNodeMap; +#ifdef __cplusplus +interface IXMLDOMNamedNodeMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentFragment_FWD_DEFINED__ +#define __IXMLDOMDocumentFragment_FWD_DEFINED__ +typedef interface IXMLDOMDocumentFragment IXMLDOMDocumentFragment; +#ifdef __cplusplus +interface IXMLDOMDocumentFragment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCharacterData_FWD_DEFINED__ +#define __IXMLDOMCharacterData_FWD_DEFINED__ +typedef interface IXMLDOMCharacterData IXMLDOMCharacterData; +#ifdef __cplusplus +interface IXMLDOMCharacterData; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMAttribute_FWD_DEFINED__ +#define __IXMLDOMAttribute_FWD_DEFINED__ +typedef interface IXMLDOMAttribute IXMLDOMAttribute; +#ifdef __cplusplus +interface IXMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMElement_FWD_DEFINED__ +#define __IXMLDOMElement_FWD_DEFINED__ +typedef interface IXMLDOMElement IXMLDOMElement; +#ifdef __cplusplus +interface IXMLDOMElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMText_FWD_DEFINED__ +#define __IXMLDOMText_FWD_DEFINED__ +typedef interface IXMLDOMText IXMLDOMText; +#ifdef __cplusplus +interface IXMLDOMText; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMComment_FWD_DEFINED__ +#define __IXMLDOMComment_FWD_DEFINED__ +typedef interface IXMLDOMComment IXMLDOMComment; +#ifdef __cplusplus +interface IXMLDOMComment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMProcessingInstruction_FWD_DEFINED__ +#define __IXMLDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction; +#ifdef __cplusplus +interface IXMLDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCDATASection_FWD_DEFINED__ +#define __IXMLDOMCDATASection_FWD_DEFINED__ +typedef interface IXMLDOMCDATASection IXMLDOMCDATASection; +#ifdef __cplusplus +interface IXMLDOMCDATASection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentType_FWD_DEFINED__ +#define __IXMLDOMDocumentType_FWD_DEFINED__ +typedef interface IXMLDOMDocumentType IXMLDOMDocumentType; +#ifdef __cplusplus +interface IXMLDOMDocumentType; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNotation_FWD_DEFINED__ +#define __IXMLDOMNotation_FWD_DEFINED__ +typedef interface IXMLDOMNotation IXMLDOMNotation; +#ifdef __cplusplus +interface IXMLDOMNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntity_FWD_DEFINED__ +#define __IXMLDOMEntity_FWD_DEFINED__ +typedef interface IXMLDOMEntity IXMLDOMEntity; +#ifdef __cplusplus +interface IXMLDOMEntity; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntityReference_FWD_DEFINED__ +#define __IXMLDOMEntityReference_FWD_DEFINED__ +typedef interface IXMLDOMEntityReference IXMLDOMEntityReference; +#ifdef __cplusplus +interface IXMLDOMEntityReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMImplementation_FWD_DEFINED__ +#define __IXMLDOMImplementation_FWD_DEFINED__ +typedef interface IXMLDOMImplementation IXMLDOMImplementation; +#ifdef __cplusplus +interface IXMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXTLRuntime_FWD_DEFINED__ +#define __IXTLRuntime_FWD_DEFINED__ +typedef interface IXTLRuntime IXTLRuntime; +#ifdef __cplusplus +interface IXTLRuntime; +#endif /* __cplusplus */ +#endif + +#ifndef __IDSOControl_FWD_DEFINED__ +#define __IDSOControl_FWD_DEFINED__ +typedef interface IDSOControl IDSOControl; +#ifdef __cplusplus +interface IDSOControl; +#endif /* __cplusplus */ +#endif + +#ifndef __XMLDOMDocumentEvents_FWD_DEFINED__ +#define __XMLDOMDocumentEvents_FWD_DEFINED__ +typedef interface XMLDOMDocumentEvents XMLDOMDocumentEvents; +#ifdef __cplusplus +interface XMLDOMDocumentEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLProcessor_FWD_DEFINED__ +#define __IXSLProcessor_FWD_DEFINED__ +typedef interface IXSLProcessor IXSLProcessor; +#ifdef __cplusplus +interface IXSLProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLTemplate_FWD_DEFINED__ +#define __IXSLTemplate_FWD_DEFINED__ +typedef interface IXSLTemplate IXSLTemplate; +#ifdef __cplusplus +interface IXSLTemplate; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLHTTPRequest_FWD_DEFINED__ +#define __IXMLHTTPRequest_FWD_DEFINED__ +typedef interface IXMLHTTPRequest IXMLHTTPRequest; +#ifdef __cplusplus +interface IXMLHTTPRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __IServerXMLHTTPRequest_FWD_DEFINED__ +#define __IServerXMLHTTPRequest_FWD_DEFINED__ +typedef interface IServerXMLHTTPRequest IServerXMLHTTPRequest; +#ifdef __cplusplus +interface IServerXMLHTTPRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __IServerXMLHTTPRequest2_FWD_DEFINED__ +#define __IServerXMLHTTPRequest2_FWD_DEFINED__ +typedef interface IServerXMLHTTPRequest2 IServerXMLHTTPRequest2; +#ifdef __cplusplus +interface IServerXMLHTTPRequest2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError_FWD_DEFINED__ +#define __IXMLDOMParseError_FWD_DEFINED__ +typedef interface IXMLDOMParseError IXMLDOMParseError; +#ifdef __cplusplus +interface IXMLDOMParseError; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError2_FWD_DEFINED__ +#define __IXMLDOMParseError2_FWD_DEFINED__ +typedef interface IXMLDOMParseError2 IXMLDOMParseError2; +#ifdef __cplusplus +interface IXMLDOMParseError2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseErrorCollection_FWD_DEFINED__ +#define __IXMLDOMParseErrorCollection_FWD_DEFINED__ +typedef interface IXMLDOMParseErrorCollection IXMLDOMParseErrorCollection; +#ifdef __cplusplus +interface IXMLDOMParseErrorCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DOMDocument26_FWD_DEFINED__ +#define __DOMDocument26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument26 DOMDocument26; +#else +typedef struct DOMDocument26 DOMDocument26; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument26_FWD_DEFINED__ */ + +#ifndef __DOMDocument30_FWD_DEFINED__ +#define __DOMDocument30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument30 DOMDocument30; +#else +typedef struct DOMDocument30 DOMDocument30; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument30_FWD_DEFINED__ */ + +#ifndef __DOMDocument40_FWD_DEFINED__ +#define __DOMDocument40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument40 DOMDocument40; +#else +typedef struct DOMDocument40 DOMDocument40; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument40_FWD_DEFINED__ */ + +#ifndef __DOMDocument60_FWD_DEFINED__ +#define __DOMDocument60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument60 DOMDocument60; +#else +typedef struct DOMDocument60 DOMDocument60; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument60_FWD_DEFINED__ */ + +#ifndef __DOMDocument_FWD_DEFINED__ +#define __DOMDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument DOMDocument; +#else +typedef struct DOMDocument DOMDocument; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument26_FWD_DEFINED__ +#define __FreeThreadedDOMDocument26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument26 FreeThreadedDOMDocument26; +#else +typedef struct FreeThreadedDOMDocument26 FreeThreadedDOMDocument26; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument26_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument30_FWD_DEFINED__ +#define __FreeThreadedDOMDocument30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument30 FreeThreadedDOMDocument30; +#else +typedef struct FreeThreadedDOMDocument30 FreeThreadedDOMDocument30; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument30_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument40_FWD_DEFINED__ +#define __FreeThreadedDOMDocument40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument40 FreeThreadedDOMDocument40; +#else +typedef struct FreeThreadedDOMDocument40 FreeThreadedDOMDocument40; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument40_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument60_FWD_DEFINED__ +#define __FreeThreadedDOMDocument60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument60 FreeThreadedDOMDocument60; +#else +typedef struct FreeThreadedDOMDocument60 FreeThreadedDOMDocument60; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument60_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument_FWD_DEFINED__ +#define __FreeThreadedDOMDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument FreeThreadedDOMDocument; +#else +typedef struct FreeThreadedDOMDocument FreeThreadedDOMDocument; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument_FWD_DEFINED__ */ + +#ifndef __XMLHTTP26_FWD_DEFINED__ +#define __XMLHTTP26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP26 XMLHTTP26; +#else +typedef struct XMLHTTP26 XMLHTTP26; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP26_FWD_DEFINED__ */ + +#ifndef __XMLHTTP30_FWD_DEFINED__ +#define __XMLHTTP30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP30 XMLHTTP30; +#else +typedef struct XMLHTTP30 XMLHTTP30; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP30_FWD_DEFINED__ */ + +#ifndef __XMLHTTP40_FWD_DEFINED__ +#define __XMLHTTP40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP40 XMLHTTP40; +#else +typedef struct XMLHTTP40 XMLHTTP40; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP40_FWD_DEFINED__ */ + +#ifndef __XMLHTTP60_FWD_DEFINED__ +#define __XMLHTTP60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP60 XMLHTTP60; +#else +typedef struct XMLHTTP60 XMLHTTP60; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP60_FWD_DEFINED__ */ + +#ifndef __XMLHTTP_FWD_DEFINED__ +#define __XMLHTTP_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP XMLHTTP; +#else +typedef struct XMLHTTP XMLHTTP; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP30_FWD_DEFINED__ +#define __ServerXMLHTTP30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP30 ServerXMLHTTP30; +#else +typedef struct ServerXMLHTTP30 ServerXMLHTTP30; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP30_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP40_FWD_DEFINED__ +#define __ServerXMLHTTP40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP40 ServerXMLHTTP40; +#else +typedef struct ServerXMLHTTP40 ServerXMLHTTP40; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP40_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP60_FWD_DEFINED__ +#define __ServerXMLHTTP60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP60 ServerXMLHTTP60; +#else +typedef struct ServerXMLHTTP60 ServerXMLHTTP60; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP60_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP_FWD_DEFINED__ +#define __ServerXMLHTTP_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP ServerXMLHTTP; +#else +typedef struct ServerXMLHTTP ServerXMLHTTP; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache26_FWD_DEFINED__ +#define __XMLSchemaCache26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache26 XMLSchemaCache26; +#else +typedef struct XMLSchemaCache26 XMLSchemaCache26; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache26_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache30_FWD_DEFINED__ +#define __XMLSchemaCache30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache30 XMLSchemaCache30; +#else +typedef struct XMLSchemaCache30 XMLSchemaCache30; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache30_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache40_FWD_DEFINED__ +#define __XMLSchemaCache40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache40 XMLSchemaCache40; +#else +typedef struct XMLSchemaCache40 XMLSchemaCache40; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache40_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache60_FWD_DEFINED__ +#define __XMLSchemaCache60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache60 XMLSchemaCache60; +#else +typedef struct XMLSchemaCache60 XMLSchemaCache60; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache60_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache_FWD_DEFINED__ +#define __XMLSchemaCache_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache XMLSchemaCache; +#else +typedef struct XMLSchemaCache XMLSchemaCache; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache_FWD_DEFINED__ */ + +#ifndef __XSLTemplate26_FWD_DEFINED__ +#define __XSLTemplate26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate26 XSLTemplate26; +#else +typedef struct XSLTemplate26 XSLTemplate26; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate26_FWD_DEFINED__ */ + +#ifndef __XSLTemplate30_FWD_DEFINED__ +#define __XSLTemplate30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate30 XSLTemplate30; +#else +typedef struct XSLTemplate30 XSLTemplate30; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate30_FWD_DEFINED__ */ + +#ifndef __XSLTemplate40_FWD_DEFINED__ +#define __XSLTemplate40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate40 XSLTemplate40; +#else +typedef struct XSLTemplate40 XSLTemplate40; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate40_FWD_DEFINED__ */ + +#ifndef __XSLTemplate60_FWD_DEFINED__ +#define __XSLTemplate60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate60 XSLTemplate60; +#else +typedef struct XSLTemplate60 XSLTemplate60; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate60_FWD_DEFINED__ */ + +#ifndef __XSLTemplate_FWD_DEFINED__ +#define __XSLTemplate_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate XSLTemplate; +#else +typedef struct XSLTemplate XSLTemplate; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate_FWD_DEFINED__ */ + +#ifndef __ISAXAttributes_FWD_DEFINED__ +#define __ISAXAttributes_FWD_DEFINED__ +typedef interface ISAXAttributes ISAXAttributes; +#ifdef __cplusplus +interface ISAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXContentHandler_FWD_DEFINED__ +#define __ISAXContentHandler_FWD_DEFINED__ +typedef interface ISAXContentHandler ISAXContentHandler; +#ifdef __cplusplus +interface ISAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDeclHandler_FWD_DEFINED__ +#define __ISAXDeclHandler_FWD_DEFINED__ +typedef interface ISAXDeclHandler ISAXDeclHandler; +#ifdef __cplusplus +interface ISAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDTDHandler_FWD_DEFINED__ +#define __ISAXDTDHandler_FWD_DEFINED__ +typedef interface ISAXDTDHandler ISAXDTDHandler; +#ifdef __cplusplus +interface ISAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXEntityResolver_FWD_DEFINED__ +#define __ISAXEntityResolver_FWD_DEFINED__ +typedef interface ISAXEntityResolver ISAXEntityResolver; +#ifdef __cplusplus +interface ISAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXErrorHandler_FWD_DEFINED__ +#define __ISAXErrorHandler_FWD_DEFINED__ +typedef interface ISAXErrorHandler ISAXErrorHandler; +#ifdef __cplusplus +interface ISAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLexicalHandler_FWD_DEFINED__ +#define __ISAXLexicalHandler_FWD_DEFINED__ +typedef interface ISAXLexicalHandler ISAXLexicalHandler; +#ifdef __cplusplus +interface ISAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLocator_FWD_DEFINED__ +#define __ISAXLocator_FWD_DEFINED__ +typedef interface ISAXLocator ISAXLocator; +#ifdef __cplusplus +interface ISAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLFilter_FWD_DEFINED__ +#define __ISAXXMLFilter_FWD_DEFINED__ +typedef interface ISAXXMLFilter ISAXXMLFilter; +#ifdef __cplusplus +interface ISAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLReader_FWD_DEFINED__ +#define __ISAXXMLReader_FWD_DEFINED__ +typedef interface ISAXXMLReader ISAXXMLReader; +#ifdef __cplusplus +interface ISAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXAttributes_FWD_DEFINED__ +#define __IVBSAXAttributes_FWD_DEFINED__ +typedef interface IVBSAXAttributes IVBSAXAttributes; +#ifdef __cplusplus +interface IVBSAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXContentHandler_FWD_DEFINED__ +#define __IVBSAXContentHandler_FWD_DEFINED__ +typedef interface IVBSAXContentHandler IVBSAXContentHandler; +#ifdef __cplusplus +interface IVBSAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDeclHandler_FWD_DEFINED__ +#define __IVBSAXDeclHandler_FWD_DEFINED__ +typedef interface IVBSAXDeclHandler IVBSAXDeclHandler; +#ifdef __cplusplus +interface IVBSAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDTDHandler_FWD_DEFINED__ +#define __IVBSAXDTDHandler_FWD_DEFINED__ +typedef interface IVBSAXDTDHandler IVBSAXDTDHandler; +#ifdef __cplusplus +interface IVBSAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXEntityResolver_FWD_DEFINED__ +#define __IVBSAXEntityResolver_FWD_DEFINED__ +typedef interface IVBSAXEntityResolver IVBSAXEntityResolver; +#ifdef __cplusplus +interface IVBSAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXErrorHandler_FWD_DEFINED__ +#define __IVBSAXErrorHandler_FWD_DEFINED__ +typedef interface IVBSAXErrorHandler IVBSAXErrorHandler; +#ifdef __cplusplus +interface IVBSAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLexicalHandler_FWD_DEFINED__ +#define __IVBSAXLexicalHandler_FWD_DEFINED__ +typedef interface IVBSAXLexicalHandler IVBSAXLexicalHandler; +#ifdef __cplusplus +interface IVBSAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLocator_FWD_DEFINED__ +#define __IVBSAXLocator_FWD_DEFINED__ +typedef interface IVBSAXLocator IVBSAXLocator; +#ifdef __cplusplus +interface IVBSAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLFilter_FWD_DEFINED__ +#define __IVBSAXXMLFilter_FWD_DEFINED__ +typedef interface IVBSAXXMLFilter IVBSAXXMLFilter; +#ifdef __cplusplus +interface IVBSAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLReader_FWD_DEFINED__ +#define __IVBSAXXMLReader_FWD_DEFINED__ +typedef interface IVBSAXXMLReader IVBSAXXMLReader; +#ifdef __cplusplus +interface IVBSAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXAttributes_FWD_DEFINED__ +#define __IMXAttributes_FWD_DEFINED__ +typedef interface IMXAttributes IMXAttributes; +#ifdef __cplusplus +interface IMXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXSchemaDeclHandler_FWD_DEFINED__ +#define __IMXSchemaDeclHandler_FWD_DEFINED__ +typedef interface IMXSchemaDeclHandler IMXSchemaDeclHandler; +#ifdef __cplusplus +interface IMXSchemaDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXReaderControl_FWD_DEFINED__ +#define __IMXReaderControl_FWD_DEFINED__ +typedef interface IMXReaderControl IMXReaderControl; +#ifdef __cplusplus +interface IMXReaderControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXWriter_FWD_DEFINED__ +#define __IMXWriter_FWD_DEFINED__ +typedef interface IMXWriter IMXWriter; +#ifdef __cplusplus +interface IMXWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXNamespacePrefixes_FWD_DEFINED__ +#define __IMXNamespacePrefixes_FWD_DEFINED__ +typedef interface IMXNamespacePrefixes IMXNamespacePrefixes; +#ifdef __cplusplus +interface IMXNamespacePrefixes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXNamespaceManager_FWD_DEFINED__ +#define __IMXNamespaceManager_FWD_DEFINED__ +typedef interface IMXNamespaceManager IMXNamespaceManager; +#ifdef __cplusplus +interface IMXNamespaceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBMXNamespaceManager_FWD_DEFINED__ +#define __IVBMXNamespaceManager_FWD_DEFINED__ +typedef interface IVBMXNamespaceManager IVBMXNamespaceManager; +#ifdef __cplusplus +interface IVBMXNamespaceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXXMLFilter_FWD_DEFINED__ +#define __IMXXMLFilter_FWD_DEFINED__ +typedef interface IMXXMLFilter IMXXMLFilter; +#ifdef __cplusplus +interface IMXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaStringCollection_FWD_DEFINED__ +#define __ISchemaStringCollection_FWD_DEFINED__ +typedef interface ISchemaStringCollection ISchemaStringCollection; +#ifdef __cplusplus +interface ISchemaStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItemCollection_FWD_DEFINED__ +#define __ISchemaItemCollection_FWD_DEFINED__ +typedef interface ISchemaItemCollection ISchemaItemCollection; +#ifdef __cplusplus +interface ISchemaItemCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItem_FWD_DEFINED__ +#define __ISchemaItem_FWD_DEFINED__ +typedef interface ISchemaItem ISchemaItem; +#ifdef __cplusplus +interface ISchemaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchema_FWD_DEFINED__ +#define __ISchema_FWD_DEFINED__ +typedef interface ISchema ISchema; +#ifdef __cplusplus +interface ISchema; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaParticle_FWD_DEFINED__ +#define __ISchemaParticle_FWD_DEFINED__ +typedef interface ISchemaParticle ISchemaParticle; +#ifdef __cplusplus +interface ISchemaParticle; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttribute_FWD_DEFINED__ +#define __ISchemaAttribute_FWD_DEFINED__ +typedef interface ISchemaAttribute ISchemaAttribute; +#ifdef __cplusplus +interface ISchemaAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaElement_FWD_DEFINED__ +#define __ISchemaElement_FWD_DEFINED__ +typedef interface ISchemaElement ISchemaElement; +#ifdef __cplusplus +interface ISchemaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaType_FWD_DEFINED__ +#define __ISchemaType_FWD_DEFINED__ +typedef interface ISchemaType ISchemaType; +#ifdef __cplusplus +interface ISchemaType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaComplexType_FWD_DEFINED__ +#define __ISchemaComplexType_FWD_DEFINED__ +typedef interface ISchemaComplexType ISchemaComplexType; +#ifdef __cplusplus +interface ISchemaComplexType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttributeGroup_FWD_DEFINED__ +#define __ISchemaAttributeGroup_FWD_DEFINED__ +typedef interface ISchemaAttributeGroup ISchemaAttributeGroup; +#ifdef __cplusplus +interface ISchemaAttributeGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaModelGroup_FWD_DEFINED__ +#define __ISchemaModelGroup_FWD_DEFINED__ +typedef interface ISchemaModelGroup ISchemaModelGroup; +#ifdef __cplusplus +interface ISchemaModelGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAny_FWD_DEFINED__ +#define __ISchemaAny_FWD_DEFINED__ +typedef interface ISchemaAny ISchemaAny; +#ifdef __cplusplus +interface ISchemaAny; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaIdentityConstraint_FWD_DEFINED__ +#define __ISchemaIdentityConstraint_FWD_DEFINED__ +typedef interface ISchemaIdentityConstraint ISchemaIdentityConstraint; +#ifdef __cplusplus +interface ISchemaIdentityConstraint; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaNotation_FWD_DEFINED__ +#define __ISchemaNotation_FWD_DEFINED__ +typedef interface ISchemaNotation ISchemaNotation; +#ifdef __cplusplus +interface ISchemaNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __SAXXMLReader30_FWD_DEFINED__ +#define __SAXXMLReader30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader30 SAXXMLReader30; +#else +typedef struct SAXXMLReader30 SAXXMLReader30; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader30_FWD_DEFINED__ */ + +#ifndef __SAXXMLReader40_FWD_DEFINED__ +#define __SAXXMLReader40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader40 SAXXMLReader40; +#else +typedef struct SAXXMLReader40 SAXXMLReader40; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader40_FWD_DEFINED__ */ + +#ifndef __SAXXMLReader60_FWD_DEFINED__ +#define __SAXXMLReader60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader60 SAXXMLReader60; +#else +typedef struct SAXXMLReader60 SAXXMLReader60; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader60_FWD_DEFINED__ */ + +#ifndef __SAXXMLReader_FWD_DEFINED__ +#define __SAXXMLReader_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader SAXXMLReader; +#else +typedef struct SAXXMLReader SAXXMLReader; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter_FWD_DEFINED__ +#define __MXHTMLWriter_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter MXHTMLWriter; +#else +typedef struct MXHTMLWriter MXHTMLWriter; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter30_FWD_DEFINED__ +#define __MXHTMLWriter30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter30 MXHTMLWriter30; +#else +typedef struct MXHTMLWriter30 MXHTMLWriter30; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter30_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter40_FWD_DEFINED__ +#define __MXHTMLWriter40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter40 MXHTMLWriter40; +#else +typedef struct MXHTMLWriter40 MXHTMLWriter40; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter40_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter60_FWD_DEFINED__ +#define __MXHTMLWriter60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter60 MXHTMLWriter60; +#else +typedef struct MXHTMLWriter60 MXHTMLWriter60; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter60_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter30_FWD_DEFINED__ +#define __MXXMLWriter30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter30 MXXMLWriter30; +#else +typedef struct MXXMLWriter30 MXXMLWriter30; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter30_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter40_FWD_DEFINED__ +#define __MXXMLWriter40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter40 MXXMLWriter40; +#else +typedef struct MXXMLWriter40 MXXMLWriter40; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter40_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter60_FWD_DEFINED__ +#define __MXXMLWriter60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter60 MXXMLWriter60; +#else +typedef struct MXXMLWriter60 MXXMLWriter60; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter60_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter_FWD_DEFINED__ +#define __MXXMLWriter_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter MXXMLWriter; +#else +typedef struct MXXMLWriter MXXMLWriter; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter_FWD_DEFINED__ */ + +#ifndef __MXNamespaceManager_FWD_DEFINED__ +#define __MXNamespaceManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXNamespaceManager MXNamespaceManager; +#else +typedef struct MXNamespaceManager MXNamespaceManager; +#endif /* defined __cplusplus */ +#endif /* defined __MXNamespaceManager_FWD_DEFINED__ */ + +#ifndef __MXNamespaceManager40_FWD_DEFINED__ +#define __MXNamespaceManager40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXNamespaceManager40 MXNamespaceManager40; +#else +typedef struct MXNamespaceManager40 MXNamespaceManager40; +#endif /* defined __cplusplus */ +#endif /* defined __MXNamespaceManager40_FWD_DEFINED__ */ + +#ifndef __MXNamespaceManager60_FWD_DEFINED__ +#define __MXNamespaceManager60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXNamespaceManager60 MXNamespaceManager60; +#else +typedef struct MXNamespaceManager60 MXNamespaceManager60; +#endif /* defined __cplusplus */ +#endif /* defined __MXNamespaceManager60_FWD_DEFINED__ */ + +#ifndef __SAXAttributes30_FWD_DEFINED__ +#define __SAXAttributes30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes30 SAXAttributes30; +#else +typedef struct SAXAttributes30 SAXAttributes30; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes30_FWD_DEFINED__ */ + +#ifndef __SAXAttributes40_FWD_DEFINED__ +#define __SAXAttributes40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes40 SAXAttributes40; +#else +typedef struct SAXAttributes40 SAXAttributes40; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes40_FWD_DEFINED__ */ + +#ifndef __SAXAttributes60_FWD_DEFINED__ +#define __SAXAttributes60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes60 SAXAttributes60; +#else +typedef struct SAXAttributes60 SAXAttributes60; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes60_FWD_DEFINED__ */ + +#ifndef __SAXAttributes_FWD_DEFINED__ +#define __SAXAttributes_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes SAXAttributes; +#else +typedef struct SAXAttributes SAXAttributes; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_MSXML2, 0xf5078f18, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifndef __IXMLDOMImplementation_FWD_DEFINED__ +#define __IXMLDOMImplementation_FWD_DEFINED__ +typedef interface IXMLDOMImplementation IXMLDOMImplementation; +#ifdef __cplusplus +interface IXMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNode_FWD_DEFINED__ +#define __IXMLDOMNode_FWD_DEFINED__ +typedef interface IXMLDOMNode IXMLDOMNode; +#ifdef __cplusplus +interface IXMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentFragment_FWD_DEFINED__ +#define __IXMLDOMDocumentFragment_FWD_DEFINED__ +typedef interface IXMLDOMDocumentFragment IXMLDOMDocumentFragment; +#ifdef __cplusplus +interface IXMLDOMDocumentFragment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection IXMLDOMSchemaCollection; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument2_FWD_DEFINED__ +#define __IXMLDOMDocument2_FWD_DEFINED__ +typedef interface IXMLDOMDocument2 IXMLDOMDocument2; +#ifdef __cplusplus +interface IXMLDOMDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNodeList_FWD_DEFINED__ +#define __IXMLDOMNodeList_FWD_DEFINED__ +typedef interface IXMLDOMNodeList IXMLDOMNodeList; +#ifdef __cplusplus +interface IXMLDOMNodeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNamedNodeMap_FWD_DEFINED__ +#define __IXMLDOMNamedNodeMap_FWD_DEFINED__ +typedef interface IXMLDOMNamedNodeMap IXMLDOMNamedNodeMap; +#ifdef __cplusplus +interface IXMLDOMNamedNodeMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCharacterData_FWD_DEFINED__ +#define __IXMLDOMCharacterData_FWD_DEFINED__ +typedef interface IXMLDOMCharacterData IXMLDOMCharacterData; +#ifdef __cplusplus +interface IXMLDOMCharacterData; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMAttribute_FWD_DEFINED__ +#define __IXMLDOMAttribute_FWD_DEFINED__ +typedef interface IXMLDOMAttribute IXMLDOMAttribute; +#ifdef __cplusplus +interface IXMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMElement_FWD_DEFINED__ +#define __IXMLDOMElement_FWD_DEFINED__ +typedef interface IXMLDOMElement IXMLDOMElement; +#ifdef __cplusplus +interface IXMLDOMElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMText_FWD_DEFINED__ +#define __IXMLDOMText_FWD_DEFINED__ +typedef interface IXMLDOMText IXMLDOMText; +#ifdef __cplusplus +interface IXMLDOMText; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMComment_FWD_DEFINED__ +#define __IXMLDOMComment_FWD_DEFINED__ +typedef interface IXMLDOMComment IXMLDOMComment; +#ifdef __cplusplus +interface IXMLDOMComment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMProcessingInstruction_FWD_DEFINED__ +#define __IXMLDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction; +#ifdef __cplusplus +interface IXMLDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCDATASection_FWD_DEFINED__ +#define __IXMLDOMCDATASection_FWD_DEFINED__ +typedef interface IXMLDOMCDATASection IXMLDOMCDATASection; +#ifdef __cplusplus +interface IXMLDOMCDATASection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentType_FWD_DEFINED__ +#define __IXMLDOMDocumentType_FWD_DEFINED__ +typedef interface IXMLDOMDocumentType IXMLDOMDocumentType; +#ifdef __cplusplus +interface IXMLDOMDocumentType; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNotation_FWD_DEFINED__ +#define __IXMLDOMNotation_FWD_DEFINED__ +typedef interface IXMLDOMNotation IXMLDOMNotation; +#ifdef __cplusplus +interface IXMLDOMNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntity_FWD_DEFINED__ +#define __IXMLDOMEntity_FWD_DEFINED__ +typedef interface IXMLDOMEntity IXMLDOMEntity; +#ifdef __cplusplus +interface IXMLDOMEntity; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntityReference_FWD_DEFINED__ +#define __IXMLDOMEntityReference_FWD_DEFINED__ +typedef interface IXMLDOMEntityReference IXMLDOMEntityReference; +#ifdef __cplusplus +interface IXMLDOMEntityReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError_FWD_DEFINED__ +#define __IXMLDOMParseError_FWD_DEFINED__ +typedef interface IXMLDOMParseError IXMLDOMParseError; +#ifdef __cplusplus +interface IXMLDOMParseError; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseErrorCollection_FWD_DEFINED__ +#define __IXMLDOMParseErrorCollection_FWD_DEFINED__ +typedef interface IXMLDOMParseErrorCollection IXMLDOMParseErrorCollection; +#ifdef __cplusplus +interface IXMLDOMParseErrorCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXTLRuntime_FWD_DEFINED__ +#define __IXTLRuntime_FWD_DEFINED__ +typedef interface IXTLRuntime IXTLRuntime; +#ifdef __cplusplus +interface IXTLRuntime; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLTemplate_FWD_DEFINED__ +#define __IXSLTemplate_FWD_DEFINED__ +typedef interface IXSLTemplate IXSLTemplate; +#ifdef __cplusplus +interface IXSLTemplate; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLProcessor_FWD_DEFINED__ +#define __IXSLProcessor_FWD_DEFINED__ +typedef interface IXSLProcessor IXSLProcessor; +#ifdef __cplusplus +interface IXSLProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXAttributes_FWD_DEFINED__ +#define __ISAXAttributes_FWD_DEFINED__ +typedef interface ISAXAttributes ISAXAttributes; +#ifdef __cplusplus +interface ISAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXContentHandler_FWD_DEFINED__ +#define __ISAXContentHandler_FWD_DEFINED__ +typedef interface ISAXContentHandler ISAXContentHandler; +#ifdef __cplusplus +interface ISAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDeclHandler_FWD_DEFINED__ +#define __ISAXDeclHandler_FWD_DEFINED__ +typedef interface ISAXDeclHandler ISAXDeclHandler; +#ifdef __cplusplus +interface ISAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDTDHandler_FWD_DEFINED__ +#define __ISAXDTDHandler_FWD_DEFINED__ +typedef interface ISAXDTDHandler ISAXDTDHandler; +#ifdef __cplusplus +interface ISAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXEntityResolver_FWD_DEFINED__ +#define __ISAXEntityResolver_FWD_DEFINED__ +typedef interface ISAXEntityResolver ISAXEntityResolver; +#ifdef __cplusplus +interface ISAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXErrorHandler_FWD_DEFINED__ +#define __ISAXErrorHandler_FWD_DEFINED__ +typedef interface ISAXErrorHandler ISAXErrorHandler; +#ifdef __cplusplus +interface ISAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLexicalHandler_FWD_DEFINED__ +#define __ISAXLexicalHandler_FWD_DEFINED__ +typedef interface ISAXLexicalHandler ISAXLexicalHandler; +#ifdef __cplusplus +interface ISAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLocator_FWD_DEFINED__ +#define __ISAXLocator_FWD_DEFINED__ +typedef interface ISAXLocator ISAXLocator; +#ifdef __cplusplus +interface ISAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLFilter_FWD_DEFINED__ +#define __ISAXXMLFilter_FWD_DEFINED__ +typedef interface ISAXXMLFilter ISAXXMLFilter; +#ifdef __cplusplus +interface ISAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLReader_FWD_DEFINED__ +#define __ISAXXMLReader_FWD_DEFINED__ +typedef interface ISAXXMLReader ISAXXMLReader; +#ifdef __cplusplus +interface ISAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXAttributes_FWD_DEFINED__ +#define __IVBSAXAttributes_FWD_DEFINED__ +typedef interface IVBSAXAttributes IVBSAXAttributes; +#ifdef __cplusplus +interface IVBSAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXContentHandler_FWD_DEFINED__ +#define __IVBSAXContentHandler_FWD_DEFINED__ +typedef interface IVBSAXContentHandler IVBSAXContentHandler; +#ifdef __cplusplus +interface IVBSAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDeclHandler_FWD_DEFINED__ +#define __IVBSAXDeclHandler_FWD_DEFINED__ +typedef interface IVBSAXDeclHandler IVBSAXDeclHandler; +#ifdef __cplusplus +interface IVBSAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDTDHandler_FWD_DEFINED__ +#define __IVBSAXDTDHandler_FWD_DEFINED__ +typedef interface IVBSAXDTDHandler IVBSAXDTDHandler; +#ifdef __cplusplus +interface IVBSAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXEntityResolver_FWD_DEFINED__ +#define __IVBSAXEntityResolver_FWD_DEFINED__ +typedef interface IVBSAXEntityResolver IVBSAXEntityResolver; +#ifdef __cplusplus +interface IVBSAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXErrorHandler_FWD_DEFINED__ +#define __IVBSAXErrorHandler_FWD_DEFINED__ +typedef interface IVBSAXErrorHandler IVBSAXErrorHandler; +#ifdef __cplusplus +interface IVBSAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLexicalHandler_FWD_DEFINED__ +#define __IVBSAXLexicalHandler_FWD_DEFINED__ +typedef interface IVBSAXLexicalHandler IVBSAXLexicalHandler; +#ifdef __cplusplus +interface IVBSAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLocator_FWD_DEFINED__ +#define __IVBSAXLocator_FWD_DEFINED__ +typedef interface IVBSAXLocator IVBSAXLocator; +#ifdef __cplusplus +interface IVBSAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLFilter_FWD_DEFINED__ +#define __IVBSAXXMLFilter_FWD_DEFINED__ +typedef interface IVBSAXXMLFilter IVBSAXXMLFilter; +#ifdef __cplusplus +interface IVBSAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLReader_FWD_DEFINED__ +#define __IVBSAXXMLReader_FWD_DEFINED__ +typedef interface IVBSAXXMLReader IVBSAXXMLReader; +#ifdef __cplusplus +interface IVBSAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXAttributes_FWD_DEFINED__ +#define __IMXAttributes_FWD_DEFINED__ +typedef interface IMXAttributes IMXAttributes; +#ifdef __cplusplus +interface IMXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXReaderControl_FWD_DEFINED__ +#define __IMXReaderControl_FWD_DEFINED__ +typedef interface IMXReaderControl IMXReaderControl; +#ifdef __cplusplus +interface IMXReaderControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXWriter_FWD_DEFINED__ +#define __IMXWriter_FWD_DEFINED__ +typedef interface IMXWriter IMXWriter; +#ifdef __cplusplus +interface IMXWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection2_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection2_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection2 IXMLDOMSchemaCollection2; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection2; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaStringCollection_FWD_DEFINED__ +#define __ISchemaStringCollection_FWD_DEFINED__ +typedef interface ISchemaStringCollection ISchemaStringCollection; +#ifdef __cplusplus +interface ISchemaStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItemCollection_FWD_DEFINED__ +#define __ISchemaItemCollection_FWD_DEFINED__ +typedef interface ISchemaItemCollection ISchemaItemCollection; +#ifdef __cplusplus +interface ISchemaItemCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItem_FWD_DEFINED__ +#define __ISchemaItem_FWD_DEFINED__ +typedef interface ISchemaItem ISchemaItem; +#ifdef __cplusplus +interface ISchemaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchema_FWD_DEFINED__ +#define __ISchema_FWD_DEFINED__ +typedef interface ISchema ISchema; +#ifdef __cplusplus +interface ISchema; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaParticle_FWD_DEFINED__ +#define __ISchemaParticle_FWD_DEFINED__ +typedef interface ISchemaParticle ISchemaParticle; +#ifdef __cplusplus +interface ISchemaParticle; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttribute_FWD_DEFINED__ +#define __ISchemaAttribute_FWD_DEFINED__ +typedef interface ISchemaAttribute ISchemaAttribute; +#ifdef __cplusplus +interface ISchemaAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaElement_FWD_DEFINED__ +#define __ISchemaElement_FWD_DEFINED__ +typedef interface ISchemaElement ISchemaElement; +#ifdef __cplusplus +interface ISchemaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaType_FWD_DEFINED__ +#define __ISchemaType_FWD_DEFINED__ +typedef interface ISchemaType ISchemaType; +#ifdef __cplusplus +interface ISchemaType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaComplexType_FWD_DEFINED__ +#define __ISchemaComplexType_FWD_DEFINED__ +typedef interface ISchemaComplexType ISchemaComplexType; +#ifdef __cplusplus +interface ISchemaComplexType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttributeGroup_FWD_DEFINED__ +#define __ISchemaAttributeGroup_FWD_DEFINED__ +typedef interface ISchemaAttributeGroup ISchemaAttributeGroup; +#ifdef __cplusplus +interface ISchemaAttributeGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaModelGroup_FWD_DEFINED__ +#define __ISchemaModelGroup_FWD_DEFINED__ +typedef interface ISchemaModelGroup ISchemaModelGroup; +#ifdef __cplusplus +interface ISchemaModelGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAny_FWD_DEFINED__ +#define __ISchemaAny_FWD_DEFINED__ +typedef interface ISchemaAny ISchemaAny; +#ifdef __cplusplus +interface ISchemaAny; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaIdentityConstraint_FWD_DEFINED__ +#define __ISchemaIdentityConstraint_FWD_DEFINED__ +typedef interface ISchemaIdentityConstraint ISchemaIdentityConstraint; +#ifdef __cplusplus +interface ISchemaIdentityConstraint; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaNotation_FWD_DEFINED__ +#define __ISchemaNotation_FWD_DEFINED__ +typedef interface ISchemaNotation ISchemaNotation; +#ifdef __cplusplus +interface ISchemaNotation; +#endif /* __cplusplus */ +#endif + +#define DOMDocument DOMDocument2 +#define CLSID_DOMDocument CLSID_DOMDocument2 +#ifndef __MSXML_DOMNODETYPE_DEFINED +#define __MSXML_DOMNODETYPE_DEFINED +typedef enum tagDOMNodeType { + NODE_INVALID = 0, + NODE_ELEMENT = 1, + NODE_ATTRIBUTE = 2, + NODE_TEXT = 3, + NODE_CDATA_SECTION = 4, + NODE_ENTITY_REFERENCE = 5, + NODE_ENTITY = 6, + NODE_PROCESSING_INSTRUCTION = 7, + NODE_COMMENT = 8, + NODE_DOCUMENT = 9, + NODE_DOCUMENT_TYPE = 10, + NODE_DOCUMENT_FRAGMENT = 11, + NODE_NOTATION = 12 +} DOMNodeType; +#endif +typedef enum _SOMITEMTYPE { + SOMITEM_SCHEMA = 0x1000, + SOMITEM_ATTRIBUTE = 0x1001, + SOMITEM_ATTRIBUTEGROUP = 0x1002, + SOMITEM_NOTATION = 0x1003, + SOMITEM_IDENTITYCONSTRAINT = 0x1100, + SOMITEM_KEY = 0x1101, + SOMITEM_KEYREF = 0x1102, + SOMITEM_UNIQUE = 0x1103, + SOMITEM_ANYTYPE = 0x2000, + SOMITEM_DATATYPE = 0x2100, + SOMITEM_DATATYPE_ANYTYPE = 0x2101, + SOMITEM_DATATYPE_ANYURI = 0x2102, + SOMITEM_DATATYPE_BASE64BINARY = 0x2103, + SOMITEM_DATATYPE_BOOLEAN = 0x2104, + SOMITEM_DATATYPE_BYTE = 0x2105, + SOMITEM_DATATYPE_DATE = 0x2106, + SOMITEM_DATATYPE_DATETIME = 0x2107, + SOMITEM_DATATYPE_DAY = 0x2108, + SOMITEM_DATATYPE_DECIMAL = 0x2109, + SOMITEM_DATATYPE_DOUBLE = 0x210a, + SOMITEM_DATATYPE_DURATION = 0x210b, + SOMITEM_DATATYPE_ENTITIES = 0x210c, + SOMITEM_DATATYPE_ENTITY = 0x210d, + SOMITEM_DATATYPE_FLOAT = 0x210e, + SOMITEM_DATATYPE_HEXBINARY = 0x210f, + SOMITEM_DATATYPE_ID = 0x2110, + SOMITEM_DATATYPE_IDREF = 0x2111, + SOMITEM_DATATYPE_IDREFS = 0x2112, + SOMITEM_DATATYPE_INT = 0x2113, + SOMITEM_DATATYPE_INTEGER = 0x2114, + SOMITEM_DATATYPE_LANGUAGE = 0x2115, + SOMITEM_DATATYPE_LONG = 0x2116, + SOMITEM_DATATYPE_MONTH = 0x2117, + SOMITEM_DATATYPE_MONTHDAY = 0x2118, + SOMITEM_DATATYPE_NAME = 0x2119, + SOMITEM_DATATYPE_NCNAME = 0x211a, + SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211b, + SOMITEM_DATATYPE_NMTOKEN = 0x211c, + SOMITEM_DATATYPE_NMTOKENS = 0x211d, + SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211e, + SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211f, + SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120, + SOMITEM_DATATYPE_NOTATION = 0x2121, + SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122, + SOMITEM_DATATYPE_QNAME = 0x2123, + SOMITEM_DATATYPE_SHORT = 0x2124, + SOMITEM_DATATYPE_STRING = 0x2125, + SOMITEM_DATATYPE_TIME = 0x2126, + SOMITEM_DATATYPE_TOKEN = 0x2127, + SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128, + SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129, + SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212a, + SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212b, + SOMITEM_DATATYPE_YEAR = 0x212c, + SOMITEM_DATATYPE_YEARMONTH = 0x212d, + SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21ff, + SOMITEM_SIMPLETYPE = 0x2200, + SOMITEM_COMPLEXTYPE = 0x2400, + SOMITEM_PARTICLE = 0x4000, + SOMITEM_ANY = 0x4001, + SOMITEM_ANYATTRIBUTE = 0x4002, + SOMITEM_ELEMENT = 0x4003, + SOMITEM_GROUP = 0x4100, + SOMITEM_ALL = 0x4101, + SOMITEM_CHOICE = 0x4102, + SOMITEM_SEQUENCE = 0x4103, + SOMITEM_EMPTYPARTICLE = 0x4104, + SOMITEM_NULL = 0x800, + SOMITEM_NULL_TYPE = 0x2800, + SOMITEM_NULL_ANY = 0x4801, + SOMITEM_NULL_ANYATTRIBUTE = 0x4802, + SOMITEM_NULL_ELEMENT = 0x4803 +} SOMITEMTYPE; +typedef enum _SCHEMAUSE { + SCHEMAUSE_OPTIONAL = 0, + SCHEMAUSE_PROHIBITED = 1, + SCHEMAUSE_REQUIRED = 2 +} SCHEMAUSE; +typedef enum _SCHEMADERIVATIONMETHOD { + SCHEMADERIVATIONMETHOD_EMPTY = 0x0, + SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x1, + SCHEMADERIVATIONMETHOD_EXTENSION = 0x2, + SCHEMADERIVATIONMETHOD_RESTRICTION = 0x4, + SCHEMADERIVATIONMETHOD_LIST = 0x8, + SCHEMADERIVATIONMETHOD_UNION = 0x10, + SCHEMADERIVATIONMETHOD_ALL = 0xff, + SCHEMADERIVATIONMETHOD_NONE = 0x100 +} SCHEMADERIVATIONMETHOD; +typedef enum _SCHEMACONTENTTYPE { + SCHEMACONTENTTYPE_EMPTY = 0, + SCHEMACONTENTTYPE_TEXTONLY = 1, + SCHEMACONTENTTYPE_ELEMENTONLY = 2, + SCHEMACONTENTTYPE_MIXED = 3 +} SCHEMACONTENTTYPE; +typedef enum _SCHEMAPROCESSCONTENTS { + SCHEMAPROCESSCONTENTS_NONE = 0, + SCHEMAPROCESSCONTENTS_SKIP = 1, + SCHEMAPROCESSCONTENTS_LAX = 2, + SCHEMAPROCESSCONTENTS_STRICT = 3 +} SCHEMAPROCESSCONTENTS; +typedef enum _SCHEMAWHITESPACE { + SCHEMAWHITESPACE_NONE = -1, + SCHEMAWHITESPACE_PRESERVE = 0, + SCHEMAWHITESPACE_REPLACE = 1, + SCHEMAWHITESPACE_COLLAPSE = 2 +} SCHEMAWHITESPACE; +typedef enum _SCHEMATYPEVARIETY { + SCHEMATYPEVARIETY_NONE = -1, + SCHEMATYPEVARIETY_ATOMIC = 0, + SCHEMATYPEVARIETY_LIST = 1, + SCHEMATYPEVARIETY_UNION = 2 +} SCHEMATYPEVARIETY; +/***************************************************************************** + * IXMLElementCollection interface + */ +#ifndef __IXMLElementCollection_INTERFACE_DEFINED__ +#define __IXMLElementCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLElementCollection, 0x65725580, 0x9b5d, 0x11d0, 0x9b,0xfe, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("65725580-9b5d-11d0-9bfe-00c04fc99c8e") +IXMLElementCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_length( + LONG v) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE item( + VARIANT var1, + VARIANT var2, + IDispatch **ppDisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLElementCollection, 0x65725580, 0x9b5d, 0x11d0, 0x9b,0xfe, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#else +typedef struct IXMLElementCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLElementCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLElementCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLElementCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLElementCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLElementCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLElementCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLElementCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLElementCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *put_length)( + IXMLElementCollection *This, + LONG v); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLElementCollection *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLElementCollection *This, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *item)( + IXMLElementCollection *This, + VARIANT var1, + VARIANT var2, + IDispatch **ppDisp); + + END_INTERFACE +} IXMLElementCollectionVtbl; + +interface IXMLElementCollection { + CONST_VTBL IXMLElementCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLElementCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLElementCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLElementCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLElementCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLElementCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLElementCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLElementCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLElementCollection methods ***/ +#define IXMLElementCollection_put_length(This,v) (This)->lpVtbl->put_length(This,v) +#define IXMLElementCollection_get_length(This,p) (This)->lpVtbl->get_length(This,p) +#define IXMLElementCollection_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#define IXMLElementCollection_item(This,var1,var2,ppDisp) (This)->lpVtbl->item(This,var1,var2,ppDisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLElementCollection_QueryInterface(IXMLElementCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLElementCollection_AddRef(IXMLElementCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLElementCollection_Release(IXMLElementCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLElementCollection_GetTypeInfoCount(IXMLElementCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLElementCollection_GetTypeInfo(IXMLElementCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLElementCollection_GetIDsOfNames(IXMLElementCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLElementCollection_Invoke(IXMLElementCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLElementCollection methods ***/ +static FORCEINLINE HRESULT IXMLElementCollection_put_length(IXMLElementCollection* This,LONG v) { + return This->lpVtbl->put_length(This,v); +} +static FORCEINLINE HRESULT IXMLElementCollection_get_length(IXMLElementCollection* This,LONG *p) { + return This->lpVtbl->get_length(This,p); +} +static FORCEINLINE HRESULT IXMLElementCollection_get__newEnum(IXMLElementCollection* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +static FORCEINLINE HRESULT IXMLElementCollection_item(IXMLElementCollection* This,VARIANT var1,VARIANT var2,IDispatch **ppDisp) { + return This->lpVtbl->item(This,var1,var2,ppDisp); +} +#endif +#endif + +#endif + + +#endif /* __IXMLElementCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLElement interface + */ +#ifndef __IXMLElement_INTERFACE_DEFINED__ +#define __IXMLElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLElement, 0x3f7f31ac, 0xe15f, 0x11d0, 0x9c,0x25, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e") +IXMLElement : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_tagName( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parent( + IXMLElement **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR strPropertyName, + VARIANT PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR strPropertyName, + VARIANT *PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR strPropertyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_children( + IXMLElementCollection **p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + LONG *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE addChild( + IXMLElement *pChildElem, + LONG lIndex, + LONG lreserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IXMLElement *pChildElem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLElement, 0x3f7f31ac, 0xe15f, 0x11d0, 0x9c,0x25, 0x00,0xc0,0x4f,0xc9,0x9c,0x8e) +#endif +#else +typedef struct IXMLElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IXMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_tagName)( + IXMLElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_parent)( + IXMLElement *This, + IXMLElement **parent); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IXMLElement *This, + BSTR strPropertyName, + VARIANT PropertyValue); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IXMLElement *This, + BSTR strPropertyName, + VARIANT *PropertyValue); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IXMLElement *This, + BSTR strPropertyName); + + HRESULT (STDMETHODCALLTYPE *get_children)( + IXMLElement *This, + IXMLElementCollection **p); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IXMLElement *This, + LONG *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *addChild)( + IXMLElement *This, + IXMLElement *pChildElem, + LONG lIndex, + LONG lreserved); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLElement *This, + IXMLElement *pChildElem); + + END_INTERFACE +} IXMLElementVtbl; + +interface IXMLElement { + CONST_VTBL IXMLElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLElement methods ***/ +#define IXMLElement_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IXMLElement_put_tagName(This,p) (This)->lpVtbl->put_tagName(This,p) +#define IXMLElement_get_parent(This,parent) (This)->lpVtbl->get_parent(This,parent) +#define IXMLElement_setAttribute(This,strPropertyName,PropertyValue) (This)->lpVtbl->setAttribute(This,strPropertyName,PropertyValue) +#define IXMLElement_getAttribute(This,strPropertyName,PropertyValue) (This)->lpVtbl->getAttribute(This,strPropertyName,PropertyValue) +#define IXMLElement_removeAttribute(This,strPropertyName) (This)->lpVtbl->removeAttribute(This,strPropertyName) +#define IXMLElement_get_children(This,p) (This)->lpVtbl->get_children(This,p) +#define IXMLElement_get_type(This,p) (This)->lpVtbl->get_type(This,p) +#define IXMLElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLElement_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLElement_addChild(This,pChildElem,lIndex,lreserved) (This)->lpVtbl->addChild(This,pChildElem,lIndex,lreserved) +#define IXMLElement_removeChild(This,pChildElem) (This)->lpVtbl->removeChild(This,pChildElem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLElement_QueryInterface(IXMLElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLElement_AddRef(IXMLElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLElement_Release(IXMLElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLElement_GetTypeInfoCount(IXMLElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLElement_GetTypeInfo(IXMLElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLElement_GetIDsOfNames(IXMLElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLElement_Invoke(IXMLElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLElement methods ***/ +static FORCEINLINE HRESULT IXMLElement_get_tagName(IXMLElement* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLElement_put_tagName(IXMLElement* This,BSTR p) { + return This->lpVtbl->put_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLElement_get_parent(IXMLElement* This,IXMLElement **parent) { + return This->lpVtbl->get_parent(This,parent); +} +static FORCEINLINE HRESULT IXMLElement_setAttribute(IXMLElement* This,BSTR strPropertyName,VARIANT PropertyValue) { + return This->lpVtbl->setAttribute(This,strPropertyName,PropertyValue); +} +static FORCEINLINE HRESULT IXMLElement_getAttribute(IXMLElement* This,BSTR strPropertyName,VARIANT *PropertyValue) { + return This->lpVtbl->getAttribute(This,strPropertyName,PropertyValue); +} +static FORCEINLINE HRESULT IXMLElement_removeAttribute(IXMLElement* This,BSTR strPropertyName) { + return This->lpVtbl->removeAttribute(This,strPropertyName); +} +static FORCEINLINE HRESULT IXMLElement_get_children(IXMLElement* This,IXMLElementCollection **p) { + return This->lpVtbl->get_children(This,p); +} +static FORCEINLINE HRESULT IXMLElement_get_type(IXMLElement* This,LONG *p) { + return This->lpVtbl->get_type(This,p); +} +static FORCEINLINE HRESULT IXMLElement_get_text(IXMLElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLElement_put_text(IXMLElement* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLElement_addChild(IXMLElement* This,IXMLElement *pChildElem,LONG lIndex,LONG lreserved) { + return This->lpVtbl->addChild(This,pChildElem,lIndex,lreserved); +} +static FORCEINLINE HRESULT IXMLElement_removeChild(IXMLElement* This,IXMLElement *pChildElem) { + return This->lpVtbl->removeChild(This,pChildElem); +} +#endif +#endif + +#endif + + +#endif /* __IXMLElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNode interface + */ +#ifndef __IXMLDOMNode_INTERFACE_DEFINED__ +#define __IXMLDOMNode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNode, 0x2933bf80, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf80-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNode : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_nodeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeValue( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeValue( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeType( + DOMNodeType *domNodeType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentNode( + IXMLDOMNode **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childNodes( + IXMLDOMNodeList **outList) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_firstChild( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastChild( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_previousSibling( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nextSibling( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + IXMLDOMNamedNodeMap **attributeMap) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertBefore( + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceChild( + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendChild( + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasChildNodes( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ownerDocument( + IXMLDOMDocument **domDocument) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneNode( + VARIANT_BOOL pbool, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeTypeString( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_specified( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_definition( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeTypedValue( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeTypedValue( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataType( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dataType( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_xml( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE transformNode( + IXMLDOMNode *domNode, + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectNodes( + BSTR p, + IXMLDOMNodeList **outList) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectSingleNode( + BSTR p, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parsed( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_prefix( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE transformNodeToObject( + IXMLDOMNode *domNode, + VARIANT var1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNode, 0x2933bf80, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNode *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNode *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNode *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNode *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNode *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMNode *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMNode *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMNode *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMNode *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMNode *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMNode *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMNode *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMNode *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMNode *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMNode *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMNode *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMNode *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMNode *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMNode *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMNode *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMNode *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMNode *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMNode *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMNode *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMNode *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMNode *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMNode *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMNode *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMNode *This, + IXMLDOMNode *domNode, + VARIANT var1); + + END_INTERFACE +} IXMLDOMNodeVtbl; + +interface IXMLDOMNode { + CONST_VTBL IXMLDOMNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNode_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNode_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMNode_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMNode_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMNode_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMNode_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMNode_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMNode_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMNode_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMNode_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMNode_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMNode_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMNode_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMNode_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMNode_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMNode_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMNode_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMNode_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMNode_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMNode_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMNode_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMNode_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMNode_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMNode_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMNode_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMNode_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMNode_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMNode_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMNode_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMNode_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMNode_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMNode_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMNode_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMNode_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMNode_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMNode_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMNode_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMNode_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_QueryInterface(IXMLDOMNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNode_AddRef(IXMLDOMNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNode_Release(IXMLDOMNode* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_GetTypeInfoCount(IXMLDOMNode* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNode_GetTypeInfo(IXMLDOMNode* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNode_GetIDsOfNames(IXMLDOMNode* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNode_Invoke(IXMLDOMNode* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeName(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeValue(IXMLDOMNode* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_nodeValue(IXMLDOMNode* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeType(IXMLDOMNode* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_parentNode(IXMLDOMNode* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_childNodes(IXMLDOMNode* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_firstChild(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_lastChild(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_previousSibling(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nextSibling(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_attributes(IXMLDOMNode* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMNode_insertBefore(IXMLDOMNode* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_replaceChild(IXMLDOMNode* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_removeChild(IXMLDOMNode* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_appendChild(IXMLDOMNode* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_hasChildNodes(IXMLDOMNode* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_ownerDocument(IXMLDOMNode* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMNode_cloneNode(IXMLDOMNode* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeTypeString(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_text(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_text(IXMLDOMNode* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_specified(IXMLDOMNode* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_definition(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeTypedValue(IXMLDOMNode* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_nodeTypedValue(IXMLDOMNode* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_dataType(IXMLDOMNode* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_dataType(IXMLDOMNode* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_xml(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_transformNode(IXMLDOMNode* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_selectNodes(IXMLDOMNode* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMNode_selectSingleNode(IXMLDOMNode* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_parsed(IXMLDOMNode* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_namespaceURI(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_prefix(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_baseName(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_transformNodeToObject(IXMLDOMNode* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument interface + */ +#ifndef __IXMLDOMDocument_INTERFACE_DEFINED__ +#define __IXMLDOMDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument, 0x2933bf81, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf81-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_doctype( + IXMLDOMDocumentType **docType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_implementation( + IXMLDOMImplementation **impl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_documentElement( + IXMLDOMElement **domElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_documentElement( + IXMLDOMElement *domElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + BSTR p, + IXMLDOMElement **domElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE createDocumentFragment( + IXMLDOMDocumentFragment **docFrag) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextNode( + BSTR p, + IXMLDOMText **text) = 0; + + virtual HRESULT STDMETHODCALLTYPE createComment( + BSTR p, + IXMLDOMComment **comment) = 0; + + virtual HRESULT STDMETHODCALLTYPE createCDATASection( + BSTR p, + IXMLDOMCDATASection **cdata) = 0; + + virtual HRESULT STDMETHODCALLTYPE createProcessingInstruction( + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE createAttribute( + BSTR p, + IXMLDOMAttribute **attribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE createEntityReference( + BSTR p, + IXMLDOMEntityReference **entityRef) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR p, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE createNode( + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE nodeFromID( + BSTR id, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE load( + VARIANT var1, + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parseError( + IXMLDOMParseError **err) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_async( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_async( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE loadXML( + BSTR p, + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE save( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_validateOnParse( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_validateOnParse( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_resolveExternals( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_resolveExternals( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_preserveWhiteSpace( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_preserveWhiteSpace( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondataavailable( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ontransformnode( + VARIANT var1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument, 0x2933bf81, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument *This, + IXMLDOMDocumentType **docType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument *This, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument *This, + IXMLDOMElement *domElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument *This, + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument *This, + BSTR id, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument *This, + VARIANT var1, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument *This, + BSTR p, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument *This, + VARIANT var1); + + END_INTERFACE +} IXMLDOMDocumentVtbl; + +interface IXMLDOMDocument { + CONST_VTBL IXMLDOMDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocument_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocument_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocument_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocument_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocument_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocument_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocument_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocument_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocument_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocument_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocument_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocument_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocument_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocument_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocument_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocument_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocument_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocument_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocument_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocument_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocument_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocument_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocument_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocument_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocument_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocument_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocument_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocument_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocument_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocument_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocument_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocument_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocument_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument_get_doctype(This,docType) (This)->lpVtbl->get_doctype(This,docType) +#define IXMLDOMDocument_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument_get_documentElement(This,domElement) (This)->lpVtbl->get_documentElement(This,domElement) +#define IXMLDOMDocument_putref_documentElement(This,domElement) (This)->lpVtbl->putref_documentElement(This,domElement) +#define IXMLDOMDocument_createElement(This,p,domElement) (This)->lpVtbl->createElement(This,p,domElement) +#define IXMLDOMDocument_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument_createTextNode(This,p,text) (This)->lpVtbl->createTextNode(This,p,text) +#define IXMLDOMDocument_createComment(This,p,comment) (This)->lpVtbl->createComment(This,p,comment) +#define IXMLDOMDocument_createCDATASection(This,p,cdata) (This)->lpVtbl->createCDATASection(This,p,cdata) +#define IXMLDOMDocument_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument_createAttribute(This,p,attribute) (This)->lpVtbl->createAttribute(This,p,attribute) +#define IXMLDOMDocument_createEntityReference(This,p,entityRef) (This)->lpVtbl->createEntityReference(This,p,entityRef) +#define IXMLDOMDocument_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMDocument_createNode(This,var,name,uri,node) (This)->lpVtbl->createNode(This,var,name,uri,node) +#define IXMLDOMDocument_nodeFromID(This,id,node) (This)->lpVtbl->nodeFromID(This,id,node) +#define IXMLDOMDocument_load(This,var1,pbool) (This)->lpVtbl->load(This,var1,pbool) +#define IXMLDOMDocument_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument_get_parseError(This,err) (This)->lpVtbl->get_parseError(This,err) +#define IXMLDOMDocument_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMDocument_get_async(This,pbool) (This)->lpVtbl->get_async(This,pbool) +#define IXMLDOMDocument_put_async(This,pbool) (This)->lpVtbl->put_async(This,pbool) +#define IXMLDOMDocument_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument_loadXML(This,p,pbool) (This)->lpVtbl->loadXML(This,p,pbool) +#define IXMLDOMDocument_save(This,var1) (This)->lpVtbl->save(This,var1) +#define IXMLDOMDocument_get_validateOnParse(This,pbool) (This)->lpVtbl->get_validateOnParse(This,pbool) +#define IXMLDOMDocument_put_validateOnParse(This,pbool) (This)->lpVtbl->put_validateOnParse(This,pbool) +#define IXMLDOMDocument_get_resolveExternals(This,pbool) (This)->lpVtbl->get_resolveExternals(This,pbool) +#define IXMLDOMDocument_put_resolveExternals(This,pbool) (This)->lpVtbl->put_resolveExternals(This,pbool) +#define IXMLDOMDocument_get_preserveWhiteSpace(This,pbool) (This)->lpVtbl->get_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument_put_preserveWhiteSpace(This,pbool) (This)->lpVtbl->put_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument_put_onreadystatechange(This,var1) (This)->lpVtbl->put_onreadystatechange(This,var1) +#define IXMLDOMDocument_put_ondataavailable(This,var1) (This)->lpVtbl->put_ondataavailable(This,var1) +#define IXMLDOMDocument_put_ontransformnode(This,var1) (This)->lpVtbl->put_ontransformnode(This,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_QueryInterface(IXMLDOMDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument_AddRef(IXMLDOMDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument_Release(IXMLDOMDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_GetTypeInfoCount(IXMLDOMDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument_GetTypeInfo(IXMLDOMDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument_GetIDsOfNames(IXMLDOMDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument_Invoke(IXMLDOMDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeName(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeValue(IXMLDOMDocument* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_nodeValue(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeType(IXMLDOMDocument* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parentNode(IXMLDOMDocument* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_childNodes(IXMLDOMDocument* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_firstChild(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_lastChild(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_previousSibling(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nextSibling(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_attributes(IXMLDOMDocument* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument_insertBefore(IXMLDOMDocument* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_replaceChild(IXMLDOMDocument* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_removeChild(IXMLDOMDocument* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_appendChild(IXMLDOMDocument* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_hasChildNodes(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_ownerDocument(IXMLDOMDocument* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument_cloneNode(IXMLDOMDocument* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeTypeString(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_text(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_text(IXMLDOMDocument* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_specified(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_definition(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeTypedValue(IXMLDOMDocument* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_nodeTypedValue(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_dataType(IXMLDOMDocument* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_dataType(IXMLDOMDocument* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_xml(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_transformNode(IXMLDOMDocument* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_selectNodes(IXMLDOMDocument* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_selectSingleNode(IXMLDOMDocument* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parsed(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_namespaceURI(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_prefix(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_baseName(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_transformNodeToObject(IXMLDOMDocument* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_get_doctype(IXMLDOMDocument* This,IXMLDOMDocumentType **docType) { + return This->lpVtbl->get_doctype(This,docType); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_implementation(IXMLDOMDocument* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_documentElement(IXMLDOMDocument* This,IXMLDOMElement **domElement) { + return This->lpVtbl->get_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_putref_documentElement(IXMLDOMDocument* This,IXMLDOMElement *domElement) { + return This->lpVtbl->putref_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createElement(IXMLDOMDocument* This,BSTR p,IXMLDOMElement **domElement) { + return This->lpVtbl->createElement(This,p,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createDocumentFragment(IXMLDOMDocument* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createTextNode(IXMLDOMDocument* This,BSTR p,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,p,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createComment(IXMLDOMDocument* This,BSTR p,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,p,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createCDATASection(IXMLDOMDocument* This,BSTR p,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,p,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createProcessingInstruction(IXMLDOMDocument* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createAttribute(IXMLDOMDocument* This,BSTR p,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,p,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createEntityReference(IXMLDOMDocument* This,BSTR p,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,p,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument_getElementsByTagName(IXMLDOMDocument* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createNode(IXMLDOMDocument* This,VARIANT var,BSTR name,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,var,name,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument_nodeFromID(IXMLDOMDocument* This,BSTR id,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,id,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument_load(IXMLDOMDocument* This,VARIANT var1,VARIANT_BOOL *pbool) { + return This->lpVtbl->load(This,var1,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_readyState(IXMLDOMDocument* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parseError(IXMLDOMDocument* This,IXMLDOMParseError **err) { + return This->lpVtbl->get_parseError(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_url(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_async(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_async(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_abort(IXMLDOMDocument* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument_loadXML(IXMLDOMDocument* This,BSTR p,VARIANT_BOOL *pbool) { + return This->lpVtbl->loadXML(This,p,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_save(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->save(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_validateOnParse(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_validateOnParse(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_resolveExternals(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_resolveExternals(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_preserveWhiteSpace(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_preserveWhiteSpace(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_onreadystatechange(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_onreadystatechange(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_ondataavailable(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_ondataavailable(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_ontransformnode(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_ontransformnode(This,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMSchemaCollection interface + */ +#ifndef __IXMLDOMSchemaCollection_INTERFACE_DEFINED__ +#define __IXMLDOMSchemaCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMSchemaCollection, 0x373984c8, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("373984c8-b845-449b-91e7-45ac83036ade") +IXMLDOMSchemaCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE add( + BSTR uri, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get( + BSTR uri, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE remove( + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + LONG index, + BSTR *len) = 0; + + virtual HRESULT STDMETHODCALLTYPE addCollection( + IXMLDOMSchemaCollection *otherCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMSchemaCollection, 0x373984c8, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde) +#endif +#else +typedef struct IXMLDOMSchemaCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMSchemaCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMSchemaCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMSchemaCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMSchemaCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMSchemaCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMSchemaCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMSchemaCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMSchemaCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *add)( + IXMLDOMSchemaCollection *This, + BSTR uri, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get)( + IXMLDOMSchemaCollection *This, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *remove)( + IXMLDOMSchemaCollection *This, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMSchemaCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMSchemaCollection *This, + LONG index, + BSTR *len); + + HRESULT (STDMETHODCALLTYPE *addCollection)( + IXMLDOMSchemaCollection *This, + IXMLDOMSchemaCollection *otherCollection); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMSchemaCollection *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMSchemaCollectionVtbl; + +interface IXMLDOMSchemaCollection { + CONST_VTBL IXMLDOMSchemaCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMSchemaCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMSchemaCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMSchemaCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMSchemaCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMSchemaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMSchemaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMSchemaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMSchemaCollection methods ***/ +#define IXMLDOMSchemaCollection_add(This,uri,var) (This)->lpVtbl->add(This,uri,var) +#define IXMLDOMSchemaCollection_get(This,uri,node) (This)->lpVtbl->get(This,uri,node) +#define IXMLDOMSchemaCollection_remove(This,uri) (This)->lpVtbl->remove(This,uri) +#define IXMLDOMSchemaCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IXMLDOMSchemaCollection_get_namespaceURI(This,index,len) (This)->lpVtbl->get_namespaceURI(This,index,len) +#define IXMLDOMSchemaCollection_addCollection(This,otherCollection) (This)->lpVtbl->addCollection(This,otherCollection) +#define IXMLDOMSchemaCollection_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_QueryInterface(IXMLDOMSchemaCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection_AddRef(IXMLDOMSchemaCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection_Release(IXMLDOMSchemaCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_GetTypeInfoCount(IXMLDOMSchemaCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_GetTypeInfo(IXMLDOMSchemaCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_GetIDsOfNames(IXMLDOMSchemaCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_Invoke(IXMLDOMSchemaCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMSchemaCollection methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_add(IXMLDOMSchemaCollection* This,BSTR uri,VARIANT var) { + return This->lpVtbl->add(This,uri,var); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get(IXMLDOMSchemaCollection* This,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->get(This,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_remove(IXMLDOMSchemaCollection* This,BSTR uri) { + return This->lpVtbl->remove(This,uri); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get_length(IXMLDOMSchemaCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get_namespaceURI(IXMLDOMSchemaCollection* This,LONG index,BSTR *len) { + return This->lpVtbl->get_namespaceURI(This,index,len); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_addCollection(IXMLDOMSchemaCollection* This,IXMLDOMSchemaCollection *otherCollection) { + return This->lpVtbl->addCollection(This,otherCollection); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get__newEnum(IXMLDOMSchemaCollection* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMSchemaCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMSchemaCollection2 interface + */ +#ifndef __IXMLDOMSchemaCollection2_INTERFACE_DEFINED__ +#define __IXMLDOMSchemaCollection2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMSchemaCollection2, 0x50ea08b0, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b0-dd1b-4664-9a50-c2f40f4bd79a") +IXMLDOMSchemaCollection2 : public IXMLDOMSchemaCollection +{ + virtual HRESULT STDMETHODCALLTYPE validate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_validateOnLoad( + VARIANT_BOOL validateOnLoad) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_validateOnLoad( + VARIANT_BOOL *validateOnLoad) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSchema( + BSTR namespaceURI, + ISchema **schema) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDeclaration( + IXMLDOMNode *node, + ISchemaItem **item) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMSchemaCollection2, 0x50ea08b0, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct IXMLDOMSchemaCollection2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMSchemaCollection2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMSchemaCollection2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMSchemaCollection2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMSchemaCollection2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMSchemaCollection2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMSchemaCollection2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMSchemaCollection2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMSchemaCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *add)( + IXMLDOMSchemaCollection2 *This, + BSTR uri, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get)( + IXMLDOMSchemaCollection2 *This, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *remove)( + IXMLDOMSchemaCollection2 *This, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMSchemaCollection2 *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMSchemaCollection2 *This, + LONG index, + BSTR *len); + + HRESULT (STDMETHODCALLTYPE *addCollection)( + IXMLDOMSchemaCollection2 *This, + IXMLDOMSchemaCollection *otherCollection); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMSchemaCollection2 *This, + IUnknown **ppUnk); + + /*** IXMLDOMSchemaCollection2 methods ***/ + HRESULT (STDMETHODCALLTYPE *validate)( + IXMLDOMSchemaCollection2 *This); + + HRESULT (STDMETHODCALLTYPE *put_validateOnLoad)( + IXMLDOMSchemaCollection2 *This, + VARIANT_BOOL validateOnLoad); + + HRESULT (STDMETHODCALLTYPE *get_validateOnLoad)( + IXMLDOMSchemaCollection2 *This, + VARIANT_BOOL *validateOnLoad); + + HRESULT (STDMETHODCALLTYPE *getSchema)( + IXMLDOMSchemaCollection2 *This, + BSTR namespaceURI, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *getDeclaration)( + IXMLDOMSchemaCollection2 *This, + IXMLDOMNode *node, + ISchemaItem **item); + + END_INTERFACE +} IXMLDOMSchemaCollection2Vtbl; + +interface IXMLDOMSchemaCollection2 { + CONST_VTBL IXMLDOMSchemaCollection2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMSchemaCollection2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMSchemaCollection2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMSchemaCollection2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMSchemaCollection2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMSchemaCollection2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMSchemaCollection2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMSchemaCollection2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMSchemaCollection methods ***/ +#define IXMLDOMSchemaCollection2_add(This,uri,var) (This)->lpVtbl->add(This,uri,var) +#define IXMLDOMSchemaCollection2_get(This,uri,node) (This)->lpVtbl->get(This,uri,node) +#define IXMLDOMSchemaCollection2_remove(This,uri) (This)->lpVtbl->remove(This,uri) +#define IXMLDOMSchemaCollection2_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IXMLDOMSchemaCollection2_get_namespaceURI(This,index,len) (This)->lpVtbl->get_namespaceURI(This,index,len) +#define IXMLDOMSchemaCollection2_addCollection(This,otherCollection) (This)->lpVtbl->addCollection(This,otherCollection) +#define IXMLDOMSchemaCollection2_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +/*** IXMLDOMSchemaCollection2 methods ***/ +#define IXMLDOMSchemaCollection2_validate(This) (This)->lpVtbl->validate(This) +#define IXMLDOMSchemaCollection2_put_validateOnLoad(This,validateOnLoad) (This)->lpVtbl->put_validateOnLoad(This,validateOnLoad) +#define IXMLDOMSchemaCollection2_get_validateOnLoad(This,validateOnLoad) (This)->lpVtbl->get_validateOnLoad(This,validateOnLoad) +#define IXMLDOMSchemaCollection2_getSchema(This,namespaceURI,schema) (This)->lpVtbl->getSchema(This,namespaceURI,schema) +#define IXMLDOMSchemaCollection2_getDeclaration(This,node,item) (This)->lpVtbl->getDeclaration(This,node,item) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_QueryInterface(IXMLDOMSchemaCollection2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection2_AddRef(IXMLDOMSchemaCollection2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection2_Release(IXMLDOMSchemaCollection2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_GetTypeInfoCount(IXMLDOMSchemaCollection2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_GetTypeInfo(IXMLDOMSchemaCollection2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_GetIDsOfNames(IXMLDOMSchemaCollection2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_Invoke(IXMLDOMSchemaCollection2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMSchemaCollection methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_add(IXMLDOMSchemaCollection2* This,BSTR uri,VARIANT var) { + return This->lpVtbl->add(This,uri,var); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get(IXMLDOMSchemaCollection2* This,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->get(This,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_remove(IXMLDOMSchemaCollection2* This,BSTR uri) { + return This->lpVtbl->remove(This,uri); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get_length(IXMLDOMSchemaCollection2* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get_namespaceURI(IXMLDOMSchemaCollection2* This,LONG index,BSTR *len) { + return This->lpVtbl->get_namespaceURI(This,index,len); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_addCollection(IXMLDOMSchemaCollection2* This,IXMLDOMSchemaCollection *otherCollection) { + return This->lpVtbl->addCollection(This,otherCollection); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get__newEnum(IXMLDOMSchemaCollection2* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +/*** IXMLDOMSchemaCollection2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_validate(IXMLDOMSchemaCollection2* This) { + return This->lpVtbl->validate(This); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_put_validateOnLoad(IXMLDOMSchemaCollection2* This,VARIANT_BOOL validateOnLoad) { + return This->lpVtbl->put_validateOnLoad(This,validateOnLoad); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get_validateOnLoad(IXMLDOMSchemaCollection2* This,VARIANT_BOOL *validateOnLoad) { + return This->lpVtbl->get_validateOnLoad(This,validateOnLoad); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_getSchema(IXMLDOMSchemaCollection2* This,BSTR namespaceURI,ISchema **schema) { + return This->lpVtbl->getSchema(This,namespaceURI,schema); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_getDeclaration(IXMLDOMSchemaCollection2* This,IXMLDOMNode *node,ISchemaItem **item) { + return This->lpVtbl->getDeclaration(This,node,item); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMSchemaCollection2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument2 interface + */ +#ifndef __IXMLDOMDocument2_INTERFACE_DEFINED__ +#define __IXMLDOMDocument2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument2, 0x2933bf95, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf95-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument2 : public IXMLDOMDocument +{ + virtual HRESULT STDMETHODCALLTYPE get_namespaces( + IXMLDOMSchemaCollection **schemaCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_schemas( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_schemas( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE validate( + IXMLDOMParseError **err) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProperty( + BSTR p, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR p, + VARIANT *var) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument2, 0x2933bf95, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocument2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument2 *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument2 *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument2 *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument2 *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument2 *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument2 *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument2 *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument2 *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument2 *This, + IXMLDOMDocumentType **docType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument2 *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument2 *This, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument2 *This, + IXMLDOMElement *domElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument2 *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument2 *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument2 *This, + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument2 *This, + BSTR id, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument2 *This, + VARIANT var1, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument2 *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument2 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument2 *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument2 *This, + BSTR p, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument2 *This, + VARIANT var1); + + /*** IXMLDOMDocument2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + IXMLDOMDocument2 *This, + IXMLDOMSchemaCollection **schemaCollection); + + HRESULT (STDMETHODCALLTYPE *get_schemas)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *putref_schemas)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *validate)( + IXMLDOMDocument2 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *setProperty)( + IXMLDOMDocument2 *This, + BSTR p, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IXMLDOMDocument2 *This, + BSTR p, + VARIANT *var); + + END_INTERFACE +} IXMLDOMDocument2Vtbl; + +interface IXMLDOMDocument2 { + CONST_VTBL IXMLDOMDocument2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument2_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocument2_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocument2_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocument2_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocument2_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument2_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocument2_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocument2_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocument2_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocument2_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocument2_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument2_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocument2_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocument2_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocument2_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocument2_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocument2_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocument2_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocument2_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocument2_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocument2_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocument2_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocument2_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocument2_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocument2_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocument2_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocument2_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocument2_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocument2_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocument2_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocument2_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocument2_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocument2_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocument2_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocument2_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocument2_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument2_get_doctype(This,docType) (This)->lpVtbl->get_doctype(This,docType) +#define IXMLDOMDocument2_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument2_get_documentElement(This,domElement) (This)->lpVtbl->get_documentElement(This,domElement) +#define IXMLDOMDocument2_putref_documentElement(This,domElement) (This)->lpVtbl->putref_documentElement(This,domElement) +#define IXMLDOMDocument2_createElement(This,p,domElement) (This)->lpVtbl->createElement(This,p,domElement) +#define IXMLDOMDocument2_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument2_createTextNode(This,p,text) (This)->lpVtbl->createTextNode(This,p,text) +#define IXMLDOMDocument2_createComment(This,p,comment) (This)->lpVtbl->createComment(This,p,comment) +#define IXMLDOMDocument2_createCDATASection(This,p,cdata) (This)->lpVtbl->createCDATASection(This,p,cdata) +#define IXMLDOMDocument2_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument2_createAttribute(This,p,attribute) (This)->lpVtbl->createAttribute(This,p,attribute) +#define IXMLDOMDocument2_createEntityReference(This,p,entityRef) (This)->lpVtbl->createEntityReference(This,p,entityRef) +#define IXMLDOMDocument2_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMDocument2_createNode(This,var,name,uri,node) (This)->lpVtbl->createNode(This,var,name,uri,node) +#define IXMLDOMDocument2_nodeFromID(This,id,node) (This)->lpVtbl->nodeFromID(This,id,node) +#define IXMLDOMDocument2_load(This,var1,pbool) (This)->lpVtbl->load(This,var1,pbool) +#define IXMLDOMDocument2_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument2_get_parseError(This,err) (This)->lpVtbl->get_parseError(This,err) +#define IXMLDOMDocument2_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMDocument2_get_async(This,pbool) (This)->lpVtbl->get_async(This,pbool) +#define IXMLDOMDocument2_put_async(This,pbool) (This)->lpVtbl->put_async(This,pbool) +#define IXMLDOMDocument2_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument2_loadXML(This,p,pbool) (This)->lpVtbl->loadXML(This,p,pbool) +#define IXMLDOMDocument2_save(This,var1) (This)->lpVtbl->save(This,var1) +#define IXMLDOMDocument2_get_validateOnParse(This,pbool) (This)->lpVtbl->get_validateOnParse(This,pbool) +#define IXMLDOMDocument2_put_validateOnParse(This,pbool) (This)->lpVtbl->put_validateOnParse(This,pbool) +#define IXMLDOMDocument2_get_resolveExternals(This,pbool) (This)->lpVtbl->get_resolveExternals(This,pbool) +#define IXMLDOMDocument2_put_resolveExternals(This,pbool) (This)->lpVtbl->put_resolveExternals(This,pbool) +#define IXMLDOMDocument2_get_preserveWhiteSpace(This,pbool) (This)->lpVtbl->get_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument2_put_preserveWhiteSpace(This,pbool) (This)->lpVtbl->put_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument2_put_onreadystatechange(This,var1) (This)->lpVtbl->put_onreadystatechange(This,var1) +#define IXMLDOMDocument2_put_ondataavailable(This,var1) (This)->lpVtbl->put_ondataavailable(This,var1) +#define IXMLDOMDocument2_put_ontransformnode(This,var1) (This)->lpVtbl->put_ontransformnode(This,var1) +/*** IXMLDOMDocument2 methods ***/ +#define IXMLDOMDocument2_get_namespaces(This,schemaCollection) (This)->lpVtbl->get_namespaces(This,schemaCollection) +#define IXMLDOMDocument2_get_schemas(This,var1) (This)->lpVtbl->get_schemas(This,var1) +#define IXMLDOMDocument2_putref_schemas(This,var1) (This)->lpVtbl->putref_schemas(This,var1) +#define IXMLDOMDocument2_validate(This,err) (This)->lpVtbl->validate(This,err) +#define IXMLDOMDocument2_setProperty(This,p,var) (This)->lpVtbl->setProperty(This,p,var) +#define IXMLDOMDocument2_getProperty(This,p,var) (This)->lpVtbl->getProperty(This,p,var) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_QueryInterface(IXMLDOMDocument2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument2_AddRef(IXMLDOMDocument2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument2_Release(IXMLDOMDocument2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_GetTypeInfoCount(IXMLDOMDocument2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_GetTypeInfo(IXMLDOMDocument2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_GetIDsOfNames(IXMLDOMDocument2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_Invoke(IXMLDOMDocument2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeName(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeValue(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_nodeValue(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeType(IXMLDOMDocument2* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_parentNode(IXMLDOMDocument2* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_childNodes(IXMLDOMDocument2* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_firstChild(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_lastChild(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_previousSibling(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nextSibling(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_attributes(IXMLDOMDocument2* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_insertBefore(IXMLDOMDocument2* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_replaceChild(IXMLDOMDocument2* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_removeChild(IXMLDOMDocument2* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_appendChild(IXMLDOMDocument2* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_hasChildNodes(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_ownerDocument(IXMLDOMDocument2* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_cloneNode(IXMLDOMDocument2* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeTypeString(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_text(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_text(IXMLDOMDocument2* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_specified(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_definition(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeTypedValue(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_nodeTypedValue(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_dataType(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_dataType(IXMLDOMDocument2* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_xml(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_transformNode(IXMLDOMDocument2* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_selectNodes(IXMLDOMDocument2* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_selectSingleNode(IXMLDOMDocument2* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_parsed(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_namespaceURI(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_prefix(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_baseName(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_transformNodeToObject(IXMLDOMDocument2* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_get_doctype(IXMLDOMDocument2* This,IXMLDOMDocumentType **docType) { + return This->lpVtbl->get_doctype(This,docType); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_implementation(IXMLDOMDocument2* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_documentElement(IXMLDOMDocument2* This,IXMLDOMElement **domElement) { + return This->lpVtbl->get_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_putref_documentElement(IXMLDOMDocument2* This,IXMLDOMElement *domElement) { + return This->lpVtbl->putref_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createElement(IXMLDOMDocument2* This,BSTR p,IXMLDOMElement **domElement) { + return This->lpVtbl->createElement(This,p,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createDocumentFragment(IXMLDOMDocument2* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createTextNode(IXMLDOMDocument2* This,BSTR p,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,p,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createComment(IXMLDOMDocument2* This,BSTR p,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,p,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createCDATASection(IXMLDOMDocument2* This,BSTR p,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,p,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createProcessingInstruction(IXMLDOMDocument2* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createAttribute(IXMLDOMDocument2* This,BSTR p,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,p,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createEntityReference(IXMLDOMDocument2* This,BSTR p,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,p,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_getElementsByTagName(IXMLDOMDocument2* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createNode(IXMLDOMDocument2* This,VARIANT var,BSTR name,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,var,name,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_nodeFromID(IXMLDOMDocument2* This,BSTR id,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,id,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_load(IXMLDOMDocument2* This,VARIANT var1,VARIANT_BOOL *pbool) { + return This->lpVtbl->load(This,var1,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_readyState(IXMLDOMDocument2* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_parseError(IXMLDOMDocument2* This,IXMLDOMParseError **err) { + return This->lpVtbl->get_parseError(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_url(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_async(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_async(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_abort(IXMLDOMDocument2* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_loadXML(IXMLDOMDocument2* This,BSTR p,VARIANT_BOOL *pbool) { + return This->lpVtbl->loadXML(This,p,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_save(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->save(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_validateOnParse(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_validateOnParse(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_resolveExternals(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_resolveExternals(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_preserveWhiteSpace(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_preserveWhiteSpace(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_onreadystatechange(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_onreadystatechange(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_ondataavailable(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_ondataavailable(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_ontransformnode(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_ontransformnode(This,var1); +} +/*** IXMLDOMDocument2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_get_namespaces(IXMLDOMDocument2* This,IXMLDOMSchemaCollection **schemaCollection) { + return This->lpVtbl->get_namespaces(This,schemaCollection); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_schemas(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_putref_schemas(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->putref_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_validate(IXMLDOMDocument2* This,IXMLDOMParseError **err) { + return This->lpVtbl->validate(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_setProperty(IXMLDOMDocument2* This,BSTR p,VARIANT var) { + return This->lpVtbl->setProperty(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_getProperty(IXMLDOMDocument2* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getProperty(This,p,var); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument3 interface + */ +#ifndef __IXMLDOMDocument3_INTERFACE_DEFINED__ +#define __IXMLDOMDocument3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument3, 0x2933bf96, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf96-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument3 : public IXMLDOMDocument2 +{ + virtual HRESULT STDMETHODCALLTYPE validateNode( + IXMLDOMNode *node, + IXMLDOMParseError **error) = 0; + + virtual HRESULT STDMETHODCALLTYPE importNode( + IXMLDOMNode *node, + VARIANT_BOOL deep, + IXMLDOMNode **clone) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument3, 0x2933bf96, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocument3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument3 *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument3 *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument3 *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument3 *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument3 *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument3 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument3 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument3 *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument3 *This, + IXMLDOMDocumentType **docType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument3 *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument3 *This, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument3 *This, + IXMLDOMElement *domElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument3 *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument3 *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument3 *This, + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument3 *This, + BSTR id, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument3 *This, + VARIANT var1, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument3 *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument3 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument3 *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument3 *This, + BSTR p, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument3 *This, + VARIANT var1); + + /*** IXMLDOMDocument2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + IXMLDOMDocument3 *This, + IXMLDOMSchemaCollection **schemaCollection); + + HRESULT (STDMETHODCALLTYPE *get_schemas)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *putref_schemas)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *validate)( + IXMLDOMDocument3 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *setProperty)( + IXMLDOMDocument3 *This, + BSTR p, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IXMLDOMDocument3 *This, + BSTR p, + VARIANT *var); + + /*** IXMLDOMDocument3 methods ***/ + HRESULT (STDMETHODCALLTYPE *validateNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode *node, + IXMLDOMParseError **error); + + HRESULT (STDMETHODCALLTYPE *importNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode *node, + VARIANT_BOOL deep, + IXMLDOMNode **clone); + + END_INTERFACE +} IXMLDOMDocument3Vtbl; + +interface IXMLDOMDocument3 { + CONST_VTBL IXMLDOMDocument3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument3_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocument3_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocument3_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocument3_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocument3_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument3_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocument3_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocument3_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocument3_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocument3_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocument3_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument3_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocument3_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocument3_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocument3_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocument3_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocument3_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocument3_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocument3_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocument3_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocument3_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocument3_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocument3_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocument3_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocument3_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocument3_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocument3_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocument3_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocument3_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocument3_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocument3_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocument3_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocument3_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocument3_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocument3_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocument3_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument3_get_doctype(This,docType) (This)->lpVtbl->get_doctype(This,docType) +#define IXMLDOMDocument3_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument3_get_documentElement(This,domElement) (This)->lpVtbl->get_documentElement(This,domElement) +#define IXMLDOMDocument3_putref_documentElement(This,domElement) (This)->lpVtbl->putref_documentElement(This,domElement) +#define IXMLDOMDocument3_createElement(This,p,domElement) (This)->lpVtbl->createElement(This,p,domElement) +#define IXMLDOMDocument3_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument3_createTextNode(This,p,text) (This)->lpVtbl->createTextNode(This,p,text) +#define IXMLDOMDocument3_createComment(This,p,comment) (This)->lpVtbl->createComment(This,p,comment) +#define IXMLDOMDocument3_createCDATASection(This,p,cdata) (This)->lpVtbl->createCDATASection(This,p,cdata) +#define IXMLDOMDocument3_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument3_createAttribute(This,p,attribute) (This)->lpVtbl->createAttribute(This,p,attribute) +#define IXMLDOMDocument3_createEntityReference(This,p,entityRef) (This)->lpVtbl->createEntityReference(This,p,entityRef) +#define IXMLDOMDocument3_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMDocument3_createNode(This,var,name,uri,node) (This)->lpVtbl->createNode(This,var,name,uri,node) +#define IXMLDOMDocument3_nodeFromID(This,id,node) (This)->lpVtbl->nodeFromID(This,id,node) +#define IXMLDOMDocument3_load(This,var1,pbool) (This)->lpVtbl->load(This,var1,pbool) +#define IXMLDOMDocument3_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument3_get_parseError(This,err) (This)->lpVtbl->get_parseError(This,err) +#define IXMLDOMDocument3_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMDocument3_get_async(This,pbool) (This)->lpVtbl->get_async(This,pbool) +#define IXMLDOMDocument3_put_async(This,pbool) (This)->lpVtbl->put_async(This,pbool) +#define IXMLDOMDocument3_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument3_loadXML(This,p,pbool) (This)->lpVtbl->loadXML(This,p,pbool) +#define IXMLDOMDocument3_save(This,var1) (This)->lpVtbl->save(This,var1) +#define IXMLDOMDocument3_get_validateOnParse(This,pbool) (This)->lpVtbl->get_validateOnParse(This,pbool) +#define IXMLDOMDocument3_put_validateOnParse(This,pbool) (This)->lpVtbl->put_validateOnParse(This,pbool) +#define IXMLDOMDocument3_get_resolveExternals(This,pbool) (This)->lpVtbl->get_resolveExternals(This,pbool) +#define IXMLDOMDocument3_put_resolveExternals(This,pbool) (This)->lpVtbl->put_resolveExternals(This,pbool) +#define IXMLDOMDocument3_get_preserveWhiteSpace(This,pbool) (This)->lpVtbl->get_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument3_put_preserveWhiteSpace(This,pbool) (This)->lpVtbl->put_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument3_put_onreadystatechange(This,var1) (This)->lpVtbl->put_onreadystatechange(This,var1) +#define IXMLDOMDocument3_put_ondataavailable(This,var1) (This)->lpVtbl->put_ondataavailable(This,var1) +#define IXMLDOMDocument3_put_ontransformnode(This,var1) (This)->lpVtbl->put_ontransformnode(This,var1) +/*** IXMLDOMDocument2 methods ***/ +#define IXMLDOMDocument3_get_namespaces(This,schemaCollection) (This)->lpVtbl->get_namespaces(This,schemaCollection) +#define IXMLDOMDocument3_get_schemas(This,var1) (This)->lpVtbl->get_schemas(This,var1) +#define IXMLDOMDocument3_putref_schemas(This,var1) (This)->lpVtbl->putref_schemas(This,var1) +#define IXMLDOMDocument3_validate(This,err) (This)->lpVtbl->validate(This,err) +#define IXMLDOMDocument3_setProperty(This,p,var) (This)->lpVtbl->setProperty(This,p,var) +#define IXMLDOMDocument3_getProperty(This,p,var) (This)->lpVtbl->getProperty(This,p,var) +/*** IXMLDOMDocument3 methods ***/ +#define IXMLDOMDocument3_validateNode(This,node,error) (This)->lpVtbl->validateNode(This,node,error) +#define IXMLDOMDocument3_importNode(This,node,deep,clone) (This)->lpVtbl->importNode(This,node,deep,clone) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_QueryInterface(IXMLDOMDocument3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument3_AddRef(IXMLDOMDocument3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument3_Release(IXMLDOMDocument3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_GetTypeInfoCount(IXMLDOMDocument3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_GetTypeInfo(IXMLDOMDocument3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_GetIDsOfNames(IXMLDOMDocument3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_Invoke(IXMLDOMDocument3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeName(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeValue(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_nodeValue(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeType(IXMLDOMDocument3* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_parentNode(IXMLDOMDocument3* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_childNodes(IXMLDOMDocument3* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_firstChild(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_lastChild(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_previousSibling(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nextSibling(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_attributes(IXMLDOMDocument3* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_insertBefore(IXMLDOMDocument3* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_replaceChild(IXMLDOMDocument3* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_removeChild(IXMLDOMDocument3* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_appendChild(IXMLDOMDocument3* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_hasChildNodes(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_ownerDocument(IXMLDOMDocument3* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_cloneNode(IXMLDOMDocument3* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeTypeString(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_text(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_text(IXMLDOMDocument3* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_specified(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_definition(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeTypedValue(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_nodeTypedValue(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_dataType(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_dataType(IXMLDOMDocument3* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_xml(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_transformNode(IXMLDOMDocument3* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_selectNodes(IXMLDOMDocument3* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_selectSingleNode(IXMLDOMDocument3* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_parsed(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_namespaceURI(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_prefix(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_baseName(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_transformNodeToObject(IXMLDOMDocument3* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_get_doctype(IXMLDOMDocument3* This,IXMLDOMDocumentType **docType) { + return This->lpVtbl->get_doctype(This,docType); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_implementation(IXMLDOMDocument3* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_documentElement(IXMLDOMDocument3* This,IXMLDOMElement **domElement) { + return This->lpVtbl->get_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_putref_documentElement(IXMLDOMDocument3* This,IXMLDOMElement *domElement) { + return This->lpVtbl->putref_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createElement(IXMLDOMDocument3* This,BSTR p,IXMLDOMElement **domElement) { + return This->lpVtbl->createElement(This,p,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createDocumentFragment(IXMLDOMDocument3* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createTextNode(IXMLDOMDocument3* This,BSTR p,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,p,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createComment(IXMLDOMDocument3* This,BSTR p,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,p,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createCDATASection(IXMLDOMDocument3* This,BSTR p,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,p,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createProcessingInstruction(IXMLDOMDocument3* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createAttribute(IXMLDOMDocument3* This,BSTR p,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,p,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createEntityReference(IXMLDOMDocument3* This,BSTR p,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,p,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_getElementsByTagName(IXMLDOMDocument3* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createNode(IXMLDOMDocument3* This,VARIANT var,BSTR name,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,var,name,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_nodeFromID(IXMLDOMDocument3* This,BSTR id,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,id,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_load(IXMLDOMDocument3* This,VARIANT var1,VARIANT_BOOL *pbool) { + return This->lpVtbl->load(This,var1,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_readyState(IXMLDOMDocument3* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_parseError(IXMLDOMDocument3* This,IXMLDOMParseError **err) { + return This->lpVtbl->get_parseError(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_url(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_async(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_async(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_abort(IXMLDOMDocument3* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_loadXML(IXMLDOMDocument3* This,BSTR p,VARIANT_BOOL *pbool) { + return This->lpVtbl->loadXML(This,p,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_save(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->save(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_validateOnParse(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_validateOnParse(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_resolveExternals(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_resolveExternals(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_preserveWhiteSpace(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_preserveWhiteSpace(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_onreadystatechange(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_onreadystatechange(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_ondataavailable(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_ondataavailable(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_ontransformnode(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_ontransformnode(This,var1); +} +/*** IXMLDOMDocument2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_get_namespaces(IXMLDOMDocument3* This,IXMLDOMSchemaCollection **schemaCollection) { + return This->lpVtbl->get_namespaces(This,schemaCollection); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_schemas(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_putref_schemas(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->putref_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_validate(IXMLDOMDocument3* This,IXMLDOMParseError **err) { + return This->lpVtbl->validate(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_setProperty(IXMLDOMDocument3* This,BSTR p,VARIANT var) { + return This->lpVtbl->setProperty(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_getProperty(IXMLDOMDocument3* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getProperty(This,p,var); +} +/*** IXMLDOMDocument3 methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_validateNode(IXMLDOMDocument3* This,IXMLDOMNode *node,IXMLDOMParseError **error) { + return This->lpVtbl->validateNode(This,node,error); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_importNode(IXMLDOMDocument3* This,IXMLDOMNode *node,VARIANT_BOOL deep,IXMLDOMNode **clone) { + return This->lpVtbl->importNode(This,node,deep,clone); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNodeList interface + */ +#ifndef __IXMLDOMNodeList_INTERFACE_DEFINED__ +#define __IXMLDOMNodeList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNodeList, 0x2933bf82, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf82-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNodeList : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG lIndex, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *lLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextNode( + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNodeList, 0x2933bf82, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNodeListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNodeList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNodeList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNodeList *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNodeList *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNodeList *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNodeList *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNodeList *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNodeList methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMNodeList *This, + LONG lIndex, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMNodeList *This, + LONG *lLength); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMNodeList *This, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMNodeList *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMNodeList *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMNodeListVtbl; + +interface IXMLDOMNodeList { + CONST_VTBL IXMLDOMNodeListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNodeList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNodeList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNodeList_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNodeList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNodeList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNodeList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNodeList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNodeList methods ***/ +#define IXMLDOMNodeList_get_item(This,lIndex,outNode) (This)->lpVtbl->get_item(This,lIndex,outNode) +#define IXMLDOMNodeList_get_length(This,lLength) (This)->lpVtbl->get_length(This,lLength) +#define IXMLDOMNodeList_nextNode(This,outNode) (This)->lpVtbl->nextNode(This,outNode) +#define IXMLDOMNodeList_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMNodeList_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_QueryInterface(IXMLDOMNodeList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNodeList_AddRef(IXMLDOMNodeList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNodeList_Release(IXMLDOMNodeList* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_GetTypeInfoCount(IXMLDOMNodeList* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_GetTypeInfo(IXMLDOMNodeList* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_GetIDsOfNames(IXMLDOMNodeList* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_Invoke(IXMLDOMNodeList* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNodeList methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_get_item(IXMLDOMNodeList* This,LONG lIndex,IXMLDOMNode **outNode) { + return This->lpVtbl->get_item(This,lIndex,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_get_length(IXMLDOMNodeList* This,LONG *lLength) { + return This->lpVtbl->get_length(This,lLength); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_nextNode(IXMLDOMNodeList* This,IXMLDOMNode **outNode) { + return This->lpVtbl->nextNode(This,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_reset(IXMLDOMNodeList* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_get__newEnum(IXMLDOMNodeList* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNodeList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMSelection interface + */ +#ifndef __IXMLDOMSelection_INTERFACE_DEFINED__ +#define __IXMLDOMSelection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMSelection, 0xaa634fc7, 0x5888, 0x44a7, 0xa2,0x57, 0x3a,0x47,0x15,0x0d,0x3a,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa634fc7-5888-44a7-a257-3a47150d3a0e") +IXMLDOMSelection : public IXMLDOMNodeList +{ + virtual HRESULT STDMETHODCALLTYPE get_expr( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_expr( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_context( + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_context( + IXMLDOMNode *pNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE peekNode( + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE matches( + IXMLDOMNode *pNode, + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNext( + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE clone( + IXMLDOMSelection **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR p, + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProperty( + BSTR p, + VARIANT var) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMSelection, 0xaa634fc7, 0x5888, 0x44a7, 0xa2,0x57, 0x3a,0x47,0x15,0x0d,0x3a,0x0e) +#endif +#else +typedef struct IXMLDOMSelectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMSelection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMSelection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMSelection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMSelection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMSelection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMSelection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMSelection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNodeList methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMSelection *This, + LONG lIndex, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMSelection *This, + LONG *lLength); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMSelection *This, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMSelection *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMSelection *This, + IUnknown **ppUnk); + + /*** IXMLDOMSelection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_expr)( + IXMLDOMSelection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_expr)( + IXMLDOMSelection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_context)( + IXMLDOMSelection *This, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *putref_context)( + IXMLDOMSelection *This, + IXMLDOMNode *pNode); + + HRESULT (STDMETHODCALLTYPE *peekNode)( + IXMLDOMSelection *This, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *matches)( + IXMLDOMSelection *This, + IXMLDOMNode *pNode, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *removeNext)( + IXMLDOMSelection *This, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *removeAll)( + IXMLDOMSelection *This); + + HRESULT (STDMETHODCALLTYPE *clone)( + IXMLDOMSelection *This, + IXMLDOMSelection **ppNode); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IXMLDOMSelection *This, + BSTR p, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *setProperty)( + IXMLDOMSelection *This, + BSTR p, + VARIANT var); + + END_INTERFACE +} IXMLDOMSelectionVtbl; + +interface IXMLDOMSelection { + CONST_VTBL IXMLDOMSelectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMSelection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMSelection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMSelection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMSelection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNodeList methods ***/ +#define IXMLDOMSelection_get_item(This,lIndex,outNode) (This)->lpVtbl->get_item(This,lIndex,outNode) +#define IXMLDOMSelection_get_length(This,lLength) (This)->lpVtbl->get_length(This,lLength) +#define IXMLDOMSelection_nextNode(This,outNode) (This)->lpVtbl->nextNode(This,outNode) +#define IXMLDOMSelection_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMSelection_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +/*** IXMLDOMSelection methods ***/ +#define IXMLDOMSelection_get_expr(This,p) (This)->lpVtbl->get_expr(This,p) +#define IXMLDOMSelection_put_expr(This,p) (This)->lpVtbl->put_expr(This,p) +#define IXMLDOMSelection_get_context(This,ppNode) (This)->lpVtbl->get_context(This,ppNode) +#define IXMLDOMSelection_putref_context(This,pNode) (This)->lpVtbl->putref_context(This,pNode) +#define IXMLDOMSelection_peekNode(This,ppNode) (This)->lpVtbl->peekNode(This,ppNode) +#define IXMLDOMSelection_matches(This,pNode,ppNode) (This)->lpVtbl->matches(This,pNode,ppNode) +#define IXMLDOMSelection_removeNext(This,ppNode) (This)->lpVtbl->removeNext(This,ppNode) +#define IXMLDOMSelection_removeAll(This) (This)->lpVtbl->removeAll(This) +#define IXMLDOMSelection_clone(This,ppNode) (This)->lpVtbl->clone(This,ppNode) +#define IXMLDOMSelection_getProperty(This,p,var) (This)->lpVtbl->getProperty(This,p,var) +#define IXMLDOMSelection_setProperty(This,p,var) (This)->lpVtbl->setProperty(This,p,var) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_QueryInterface(IXMLDOMSelection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMSelection_AddRef(IXMLDOMSelection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMSelection_Release(IXMLDOMSelection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_GetTypeInfoCount(IXMLDOMSelection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMSelection_GetTypeInfo(IXMLDOMSelection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMSelection_GetIDsOfNames(IXMLDOMSelection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMSelection_Invoke(IXMLDOMSelection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNodeList methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_get_item(IXMLDOMSelection* This,LONG lIndex,IXMLDOMNode **outNode) { + return This->lpVtbl->get_item(This,lIndex,outNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_get_length(IXMLDOMSelection* This,LONG *lLength) { + return This->lpVtbl->get_length(This,lLength); +} +static FORCEINLINE HRESULT IXMLDOMSelection_nextNode(IXMLDOMSelection* This,IXMLDOMNode **outNode) { + return This->lpVtbl->nextNode(This,outNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_reset(IXMLDOMSelection* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMSelection_get__newEnum(IXMLDOMSelection* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +/*** IXMLDOMSelection methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_get_expr(IXMLDOMSelection* This,BSTR *p) { + return This->lpVtbl->get_expr(This,p); +} +static FORCEINLINE HRESULT IXMLDOMSelection_put_expr(IXMLDOMSelection* This,BSTR p) { + return This->lpVtbl->put_expr(This,p); +} +static FORCEINLINE HRESULT IXMLDOMSelection_get_context(IXMLDOMSelection* This,IXMLDOMNode **ppNode) { + return This->lpVtbl->get_context(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_putref_context(IXMLDOMSelection* This,IXMLDOMNode *pNode) { + return This->lpVtbl->putref_context(This,pNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_peekNode(IXMLDOMSelection* This,IXMLDOMNode **ppNode) { + return This->lpVtbl->peekNode(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_matches(IXMLDOMSelection* This,IXMLDOMNode *pNode,IXMLDOMNode **ppNode) { + return This->lpVtbl->matches(This,pNode,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_removeNext(IXMLDOMSelection* This,IXMLDOMNode **ppNode) { + return This->lpVtbl->removeNext(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_removeAll(IXMLDOMSelection* This) { + return This->lpVtbl->removeAll(This); +} +static FORCEINLINE HRESULT IXMLDOMSelection_clone(IXMLDOMSelection* This,IXMLDOMSelection **ppNode) { + return This->lpVtbl->clone(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_getProperty(IXMLDOMSelection* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getProperty(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMSelection_setProperty(IXMLDOMSelection* This,BSTR p,VARIANT var) { + return This->lpVtbl->setProperty(This,p,var); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMSelection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNamedNodeMap interface + */ +#ifndef __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ +#define __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNamedNodeMap, 0x2933bf83, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf83-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNamedNodeMap : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getNamedItem( + BSTR p, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setNamedItem( + IXMLDOMNode *newNode, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNamedItem( + BSTR p, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG lIndex, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *lLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQualifiedItem( + BSTR name, + BSTR uri, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeQualifiedItem( + BSTR name, + BSTR uri, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextNode( + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNamedNodeMap, 0x2933bf83, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNamedNodeMapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNamedNodeMap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNamedNodeMap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNamedNodeMap *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNamedNodeMap *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNamedNodeMap *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNamedNodeMap *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNamedNodeMap *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNamedNodeMap methods ***/ + HRESULT (STDMETHODCALLTYPE *getNamedItem)( + IXMLDOMNamedNodeMap *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *setNamedItem)( + IXMLDOMNamedNodeMap *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *removeNamedItem)( + IXMLDOMNamedNodeMap *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMNamedNodeMap *This, + LONG lIndex, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMNamedNodeMap *This, + LONG *lLength); + + HRESULT (STDMETHODCALLTYPE *getQualifiedItem)( + IXMLDOMNamedNodeMap *This, + BSTR name, + BSTR uri, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *removeQualifiedItem)( + IXMLDOMNamedNodeMap *This, + BSTR name, + BSTR uri, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMNamedNodeMap *This, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMNamedNodeMap *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMNamedNodeMap *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMNamedNodeMapVtbl; + +interface IXMLDOMNamedNodeMap { + CONST_VTBL IXMLDOMNamedNodeMapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNamedNodeMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNamedNodeMap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNamedNodeMap_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNamedNodeMap_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNamedNodeMap_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNamedNodeMap_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNamedNodeMap_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNamedNodeMap methods ***/ +#define IXMLDOMNamedNodeMap_getNamedItem(This,p,outNode) (This)->lpVtbl->getNamedItem(This,p,outNode) +#define IXMLDOMNamedNodeMap_setNamedItem(This,newNode,outNode) (This)->lpVtbl->setNamedItem(This,newNode,outNode) +#define IXMLDOMNamedNodeMap_removeNamedItem(This,p,outNode) (This)->lpVtbl->removeNamedItem(This,p,outNode) +#define IXMLDOMNamedNodeMap_get_item(This,lIndex,outNode) (This)->lpVtbl->get_item(This,lIndex,outNode) +#define IXMLDOMNamedNodeMap_get_length(This,lLength) (This)->lpVtbl->get_length(This,lLength) +#define IXMLDOMNamedNodeMap_getQualifiedItem(This,name,uri,outNode) (This)->lpVtbl->getQualifiedItem(This,name,uri,outNode) +#define IXMLDOMNamedNodeMap_removeQualifiedItem(This,name,uri,outNode) (This)->lpVtbl->removeQualifiedItem(This,name,uri,outNode) +#define IXMLDOMNamedNodeMap_nextNode(This,outNode) (This)->lpVtbl->nextNode(This,outNode) +#define IXMLDOMNamedNodeMap_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMNamedNodeMap_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_QueryInterface(IXMLDOMNamedNodeMap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNamedNodeMap_AddRef(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNamedNodeMap_Release(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetTypeInfoCount(IXMLDOMNamedNodeMap* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetTypeInfo(IXMLDOMNamedNodeMap* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetIDsOfNames(IXMLDOMNamedNodeMap* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_Invoke(IXMLDOMNamedNodeMap* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNamedNodeMap methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_getNamedItem(IXMLDOMNamedNodeMap* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->getNamedItem(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_setNamedItem(IXMLDOMNamedNodeMap* This,IXMLDOMNode *newNode,IXMLDOMNode **outNode) { + return This->lpVtbl->setNamedItem(This,newNode,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_removeNamedItem(IXMLDOMNamedNodeMap* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->removeNamedItem(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get_item(IXMLDOMNamedNodeMap* This,LONG lIndex,IXMLDOMNode **outNode) { + return This->lpVtbl->get_item(This,lIndex,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get_length(IXMLDOMNamedNodeMap* This,LONG *lLength) { + return This->lpVtbl->get_length(This,lLength); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_getQualifiedItem(IXMLDOMNamedNodeMap* This,BSTR name,BSTR uri,IXMLDOMNode **outNode) { + return This->lpVtbl->getQualifiedItem(This,name,uri,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_removeQualifiedItem(IXMLDOMNamedNodeMap* This,BSTR name,BSTR uri,IXMLDOMNode **outNode) { + return This->lpVtbl->removeQualifiedItem(This,name,uri,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_nextNode(IXMLDOMNamedNodeMap* This,IXMLDOMNode **outNode) { + return This->lpVtbl->nextNode(This,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_reset(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get__newEnum(IXMLDOMNamedNodeMap* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocumentFragment interface + */ +#ifndef __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ +#define __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocumentFragment, 0x3efaa413, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa413-272f-11d2-836f-0000f87a7782") +IXMLDOMDocumentFragment : public IXMLDOMNode +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocumentFragment, 0x3efaa413, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMDocumentFragmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocumentFragment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocumentFragment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocumentFragment *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocumentFragment *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocumentFragment *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocumentFragment *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocumentFragment *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocumentFragment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocumentFragment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocumentFragment *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocumentFragment *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocumentFragment *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocumentFragment *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocumentFragment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocumentFragment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocumentFragment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocumentFragment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocumentFragment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocumentFragment *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocumentFragment *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *domNode, + VARIANT var1); + + END_INTERFACE +} IXMLDOMDocumentFragmentVtbl; + +interface IXMLDOMDocumentFragment { + CONST_VTBL IXMLDOMDocumentFragmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocumentFragment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocumentFragment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocumentFragment_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocumentFragment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocumentFragment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocumentFragment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocumentFragment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocumentFragment_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocumentFragment_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocumentFragment_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocumentFragment_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocumentFragment_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocumentFragment_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocumentFragment_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocumentFragment_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocumentFragment_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocumentFragment_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocumentFragment_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocumentFragment_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocumentFragment_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocumentFragment_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocumentFragment_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocumentFragment_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocumentFragment_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocumentFragment_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocumentFragment_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocumentFragment_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocumentFragment_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocumentFragment_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocumentFragment_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocumentFragment_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocumentFragment_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocumentFragment_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocumentFragment_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocumentFragment_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocumentFragment_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocumentFragment_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocumentFragment_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocumentFragment_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocumentFragment_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocumentFragment_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocumentFragment_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocumentFragment_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_QueryInterface(IXMLDOMDocumentFragment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocumentFragment_AddRef(IXMLDOMDocumentFragment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocumentFragment_Release(IXMLDOMDocumentFragment* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetTypeInfoCount(IXMLDOMDocumentFragment* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetTypeInfo(IXMLDOMDocumentFragment* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetIDsOfNames(IXMLDOMDocumentFragment* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_Invoke(IXMLDOMDocumentFragment* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeName(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeValue(IXMLDOMDocumentFragment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_nodeValue(IXMLDOMDocumentFragment* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeType(IXMLDOMDocumentFragment* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_parentNode(IXMLDOMDocumentFragment* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_childNodes(IXMLDOMDocumentFragment* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_firstChild(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_lastChild(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_previousSibling(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nextSibling(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_attributes(IXMLDOMDocumentFragment* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_insertBefore(IXMLDOMDocumentFragment* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_replaceChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_removeChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_appendChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_hasChildNodes(IXMLDOMDocumentFragment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_ownerDocument(IXMLDOMDocumentFragment* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_cloneNode(IXMLDOMDocumentFragment* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeTypeString(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_text(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_text(IXMLDOMDocumentFragment* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_specified(IXMLDOMDocumentFragment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_definition(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeTypedValue(IXMLDOMDocumentFragment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_nodeTypedValue(IXMLDOMDocumentFragment* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_dataType(IXMLDOMDocumentFragment* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_dataType(IXMLDOMDocumentFragment* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_xml(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_transformNode(IXMLDOMDocumentFragment* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_selectNodes(IXMLDOMDocumentFragment* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_selectSingleNode(IXMLDOMDocumentFragment* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_parsed(IXMLDOMDocumentFragment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_namespaceURI(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_prefix(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_baseName(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_transformNodeToObject(IXMLDOMDocumentFragment* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMCharacterData interface + */ +#ifndef __IXMLDOMCharacterData_INTERFACE_DEFINED__ +#define __IXMLDOMCharacterData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMCharacterData, 0x2933bf84, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf84-7b36-11d2-b20e-00c04f983e60") +IXMLDOMCharacterData : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *len) = 0; + + virtual HRESULT STDMETHODCALLTYPE substringData( + LONG offset, + LONG count, + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendData( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertData( + LONG offset, + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteData( + LONG offset, + LONG count) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceData( + LONG offset, + LONG count, + BSTR p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMCharacterData, 0x2933bf84, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCharacterDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMCharacterData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMCharacterData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMCharacterData *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMCharacterData *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMCharacterData *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMCharacterData *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMCharacterData *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMCharacterData *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMCharacterData *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMCharacterData *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMCharacterData *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMCharacterData *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMCharacterData *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMCharacterData *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMCharacterData *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMCharacterData *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMCharacterData *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMCharacterData *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMCharacterData *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMCharacterData *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMCharacterData *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMCharacterData *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMCharacterData *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMCharacterData *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMCharacterData *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMCharacterData *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMCharacterData *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMCharacterData *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count, + BSTR p); + + END_INTERFACE +} IXMLDOMCharacterDataVtbl; + +interface IXMLDOMCharacterData { + CONST_VTBL IXMLDOMCharacterDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMCharacterData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMCharacterData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMCharacterData_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMCharacterData_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMCharacterData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMCharacterData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMCharacterData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMCharacterData_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMCharacterData_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMCharacterData_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMCharacterData_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMCharacterData_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMCharacterData_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMCharacterData_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMCharacterData_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMCharacterData_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMCharacterData_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMCharacterData_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMCharacterData_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMCharacterData_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMCharacterData_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMCharacterData_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMCharacterData_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMCharacterData_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMCharacterData_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMCharacterData_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMCharacterData_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMCharacterData_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMCharacterData_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMCharacterData_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMCharacterData_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMCharacterData_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMCharacterData_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMCharacterData_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMCharacterData_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMCharacterData_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMCharacterData_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMCharacterData_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMCharacterData_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMCharacterData_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMCharacterData_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMCharacterData_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMCharacterData_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMCharacterData_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMCharacterData_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMCharacterData_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMCharacterData_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMCharacterData_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMCharacterData_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMCharacterData_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMCharacterData_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_QueryInterface(IXMLDOMCharacterData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMCharacterData_AddRef(IXMLDOMCharacterData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMCharacterData_Release(IXMLDOMCharacterData* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetTypeInfoCount(IXMLDOMCharacterData* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetTypeInfo(IXMLDOMCharacterData* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetIDsOfNames(IXMLDOMCharacterData* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_Invoke(IXMLDOMCharacterData* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeName(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeValue(IXMLDOMCharacterData* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_nodeValue(IXMLDOMCharacterData* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeType(IXMLDOMCharacterData* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_parentNode(IXMLDOMCharacterData* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_childNodes(IXMLDOMCharacterData* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_firstChild(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_lastChild(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_previousSibling(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nextSibling(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_attributes(IXMLDOMCharacterData* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_insertBefore(IXMLDOMCharacterData* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_replaceChild(IXMLDOMCharacterData* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_removeChild(IXMLDOMCharacterData* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_appendChild(IXMLDOMCharacterData* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_hasChildNodes(IXMLDOMCharacterData* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_ownerDocument(IXMLDOMCharacterData* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_cloneNode(IXMLDOMCharacterData* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeTypeString(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_text(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_text(IXMLDOMCharacterData* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_specified(IXMLDOMCharacterData* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_definition(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeTypedValue(IXMLDOMCharacterData* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_nodeTypedValue(IXMLDOMCharacterData* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_dataType(IXMLDOMCharacterData* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_dataType(IXMLDOMCharacterData* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_xml(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_transformNode(IXMLDOMCharacterData* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_selectNodes(IXMLDOMCharacterData* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_selectSingleNode(IXMLDOMCharacterData* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_parsed(IXMLDOMCharacterData* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_namespaceURI(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_prefix(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_baseName(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_transformNodeToObject(IXMLDOMCharacterData* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_data(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_data(IXMLDOMCharacterData* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_length(IXMLDOMCharacterData* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_substringData(IXMLDOMCharacterData* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_appendData(IXMLDOMCharacterData* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_insertData(IXMLDOMCharacterData* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_deleteData(IXMLDOMCharacterData* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_replaceData(IXMLDOMCharacterData* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMCharacterData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMAttribute interface + */ +#ifndef __IXMLDOMAttribute_INTERFACE_DEFINED__ +#define __IXMLDOMAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMAttribute, 0x2933bf85, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf85-7b36-11d2-b20e-00c04f983e60") +IXMLDOMAttribute : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + VARIANT var1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMAttribute, 0x2933bf85, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMAttribute *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMAttribute *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMAttribute *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMAttribute *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMAttribute *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMAttribute *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMAttribute *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMAttribute *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMAttribute *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMAttribute *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMAttribute *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMAttribute *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMAttribute *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMAttribute *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMAttribute *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMAttribute *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMAttribute *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMAttribute *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IXMLDOMAttribute *This, + VARIANT var1); + + END_INTERFACE +} IXMLDOMAttributeVtbl; + +interface IXMLDOMAttribute { + CONST_VTBL IXMLDOMAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMAttribute_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMAttribute_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMAttribute_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMAttribute_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMAttribute_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMAttribute_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMAttribute_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMAttribute_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMAttribute_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMAttribute_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMAttribute_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMAttribute_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMAttribute_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMAttribute_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMAttribute_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMAttribute_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMAttribute_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMAttribute_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMAttribute_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMAttribute_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMAttribute_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMAttribute_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMAttribute_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMAttribute_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMAttribute_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMAttribute_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMAttribute_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMAttribute_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMAttribute_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMAttribute_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMAttribute_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMAttribute_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMAttribute_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMAttribute_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMAttribute_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMAttribute_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMAttribute methods ***/ +#define IXMLDOMAttribute_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IXMLDOMAttribute_get_value(This,var1) (This)->lpVtbl->get_value(This,var1) +#define IXMLDOMAttribute_put_value(This,var1) (This)->lpVtbl->put_value(This,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_QueryInterface(IXMLDOMAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMAttribute_AddRef(IXMLDOMAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMAttribute_Release(IXMLDOMAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_GetTypeInfoCount(IXMLDOMAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_GetTypeInfo(IXMLDOMAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_GetIDsOfNames(IXMLDOMAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_Invoke(IXMLDOMAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeName(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeValue(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_nodeValue(IXMLDOMAttribute* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeType(IXMLDOMAttribute* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_parentNode(IXMLDOMAttribute* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_childNodes(IXMLDOMAttribute* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_firstChild(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_lastChild(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_previousSibling(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nextSibling(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_attributes(IXMLDOMAttribute* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_insertBefore(IXMLDOMAttribute* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_replaceChild(IXMLDOMAttribute* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_removeChild(IXMLDOMAttribute* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_appendChild(IXMLDOMAttribute* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_hasChildNodes(IXMLDOMAttribute* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_ownerDocument(IXMLDOMAttribute* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_cloneNode(IXMLDOMAttribute* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeTypeString(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_text(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_text(IXMLDOMAttribute* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_specified(IXMLDOMAttribute* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_definition(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeTypedValue(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_nodeTypedValue(IXMLDOMAttribute* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_dataType(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_dataType(IXMLDOMAttribute* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_xml(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_transformNode(IXMLDOMAttribute* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_selectNodes(IXMLDOMAttribute* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_selectSingleNode(IXMLDOMAttribute* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_parsed(IXMLDOMAttribute* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_namespaceURI(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_prefix(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_baseName(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_transformNodeToObject(IXMLDOMAttribute* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMAttribute methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_get_name(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_value(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_value(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_value(IXMLDOMAttribute* This,VARIANT var1) { + return This->lpVtbl->put_value(This,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMElement interface + */ +#ifndef __IXMLDOMElement_INTERFACE_DEFINED__ +#define __IXMLDOMElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMElement, 0x2933bf86, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf86-7b36-11d2-b20e-00c04f983e60") +IXMLDOMElement : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR p, + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR p, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeNode( + BSTR p, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNode( + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttributeNode( + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR p, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE normalize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMElement, 0x2933bf86, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMElement *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMElement *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMElement *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMElement *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMElement *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMElement *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMElement *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMElement *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMElement *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMElement *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMElement *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMElement *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMElement *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMElement *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMElement *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMElement *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMElement *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMElement *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMElement *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMElement *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IXMLDOMElement *This, + BSTR p, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IXMLDOMElement *This, + BSTR p, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IXMLDOMElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *getAttributeNode)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *setAttributeNode)( + IXMLDOMElement *This, + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *removeAttributeNode)( + IXMLDOMElement *This, + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *normalize)( + IXMLDOMElement *This); + + END_INTERFACE +} IXMLDOMElementVtbl; + +interface IXMLDOMElement { + CONST_VTBL IXMLDOMElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMElement_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMElement_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMElement_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMElement_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMElement_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMElement_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMElement_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMElement_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMElement_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMElement_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMElement_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMElement_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMElement_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMElement_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMElement_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMElement_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMElement_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMElement_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMElement_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMElement_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMElement_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMElement_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMElement_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMElement_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMElement_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMElement_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMElement_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMElement_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMElement_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMElement_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMElement_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMElement_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMElement_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMElement_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMElement_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMElement methods ***/ +#define IXMLDOMElement_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IXMLDOMElement_getAttribute(This,p,var) (This)->lpVtbl->getAttribute(This,p,var) +#define IXMLDOMElement_setAttribute(This,p,var) (This)->lpVtbl->setAttribute(This,p,var) +#define IXMLDOMElement_removeAttribute(This,p) (This)->lpVtbl->removeAttribute(This,p) +#define IXMLDOMElement_getAttributeNode(This,p,attributeNode) (This)->lpVtbl->getAttributeNode(This,p,attributeNode) +#define IXMLDOMElement_setAttributeNode(This,domAttribute,attributeNode) (This)->lpVtbl->setAttributeNode(This,domAttribute,attributeNode) +#define IXMLDOMElement_removeAttributeNode(This,domAttribute,attributeNode) (This)->lpVtbl->removeAttributeNode(This,domAttribute,attributeNode) +#define IXMLDOMElement_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMElement_normalize(This) (This)->lpVtbl->normalize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_QueryInterface(IXMLDOMElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMElement_AddRef(IXMLDOMElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMElement_Release(IXMLDOMElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_GetTypeInfoCount(IXMLDOMElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMElement_GetTypeInfo(IXMLDOMElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMElement_GetIDsOfNames(IXMLDOMElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMElement_Invoke(IXMLDOMElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeName(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeValue(IXMLDOMElement* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_nodeValue(IXMLDOMElement* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeType(IXMLDOMElement* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_parentNode(IXMLDOMElement* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_childNodes(IXMLDOMElement* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_firstChild(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_lastChild(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_previousSibling(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nextSibling(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_attributes(IXMLDOMElement* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMElement_insertBefore(IXMLDOMElement* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_replaceChild(IXMLDOMElement* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeChild(IXMLDOMElement* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_appendChild(IXMLDOMElement* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_hasChildNodes(IXMLDOMElement* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_ownerDocument(IXMLDOMElement* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMElement_cloneNode(IXMLDOMElement* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeTypeString(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_text(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_text(IXMLDOMElement* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_specified(IXMLDOMElement* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_definition(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeTypedValue(IXMLDOMElement* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_nodeTypedValue(IXMLDOMElement* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_dataType(IXMLDOMElement* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_dataType(IXMLDOMElement* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_xml(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_transformNode(IXMLDOMElement* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_selectNodes(IXMLDOMElement* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMElement_selectSingleNode(IXMLDOMElement* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_parsed(IXMLDOMElement* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_namespaceURI(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_prefix(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_baseName(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_transformNodeToObject(IXMLDOMElement* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMElement methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_get_tagName(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_getAttribute(IXMLDOMElement* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getAttribute(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMElement_setAttribute(IXMLDOMElement* This,BSTR p,VARIANT var) { + return This->lpVtbl->setAttribute(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeAttribute(IXMLDOMElement* This,BSTR p) { + return This->lpVtbl->removeAttribute(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_getAttributeNode(IXMLDOMElement* This,BSTR p,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->getAttributeNode(This,p,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_setAttributeNode(IXMLDOMElement* This,IXMLDOMAttribute *domAttribute,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->setAttributeNode(This,domAttribute,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeAttributeNode(IXMLDOMElement* This,IXMLDOMAttribute *domAttribute,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->removeAttributeNode(This,domAttribute,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_getElementsByTagName(IXMLDOMElement* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMElement_normalize(IXMLDOMElement* This) { + return This->lpVtbl->normalize(This); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMText interface + */ +#ifndef __IXMLDOMText_INTERFACE_DEFINED__ +#define __IXMLDOMText_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMText, 0x2933bf87, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf87-7b36-11d2-b20e-00c04f983e60") +IXMLDOMText : public IXMLDOMCharacterData +{ + virtual HRESULT STDMETHODCALLTYPE splitText( + LONG offset, + IXMLDOMText **txtNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMText, 0x2933bf87, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMTextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMText *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMText *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMText *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMText *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMText *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMText *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMText *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMText *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMText *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMText *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMText *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMText *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMText *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMText *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMText *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMText *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMText *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMText *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMText *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMText *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMText *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMText *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMText *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMText *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMText *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMText *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMText *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMText *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMText *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMText *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMText *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMText *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMText *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMText *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMText *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMText *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMText *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMText *This, + LONG offset, + LONG count, + BSTR p); + + /*** IXMLDOMText methods ***/ + HRESULT (STDMETHODCALLTYPE *splitText)( + IXMLDOMText *This, + LONG offset, + IXMLDOMText **txtNode); + + END_INTERFACE +} IXMLDOMTextVtbl; + +interface IXMLDOMText { + CONST_VTBL IXMLDOMTextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMText_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMText_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMText_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMText_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMText_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMText_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMText_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMText_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMText_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMText_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMText_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMText_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMText_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMText_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMText_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMText_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMText_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMText_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMText_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMText_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMText_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMText_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMText_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMText_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMText_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMText_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMText_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMText_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMText_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMText_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMText_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMText_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMText_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMText_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMText_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMText_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMText_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMText_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMText_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMText_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMText_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMText_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMText_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMText_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMText_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMText_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMText_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMText_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMText_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMText_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +/*** IXMLDOMText methods ***/ +#define IXMLDOMText_splitText(This,offset,txtNode) (This)->lpVtbl->splitText(This,offset,txtNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_QueryInterface(IXMLDOMText* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMText_AddRef(IXMLDOMText* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMText_Release(IXMLDOMText* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_GetTypeInfoCount(IXMLDOMText* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMText_GetTypeInfo(IXMLDOMText* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMText_GetIDsOfNames(IXMLDOMText* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMText_Invoke(IXMLDOMText* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_get_nodeName(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeValue(IXMLDOMText* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_put_nodeValue(IXMLDOMText* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeType(IXMLDOMText* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMText_get_parentNode(IXMLDOMText* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMText_get_childNodes(IXMLDOMText* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMText_get_firstChild(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_lastChild(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_previousSibling(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nextSibling(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_attributes(IXMLDOMText* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMText_insertBefore(IXMLDOMText* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMText_replaceChild(IXMLDOMText* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMText_removeChild(IXMLDOMText* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMText_appendChild(IXMLDOMText* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMText_hasChildNodes(IXMLDOMText* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMText_get_ownerDocument(IXMLDOMText* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMText_cloneNode(IXMLDOMText* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeTypeString(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_text(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_put_text(IXMLDOMText* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_specified(IXMLDOMText* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMText_get_definition(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeTypedValue(IXMLDOMText* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_put_nodeTypedValue(IXMLDOMText* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_get_dataType(IXMLDOMText* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_put_dataType(IXMLDOMText* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_xml(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_transformNode(IXMLDOMText* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMText_selectNodes(IXMLDOMText* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMText_selectSingleNode(IXMLDOMText* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_parsed(IXMLDOMText* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMText_get_namespaceURI(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_prefix(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_baseName(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_transformNodeToObject(IXMLDOMText* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_get_data(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_put_data(IXMLDOMText* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMText_get_length(IXMLDOMText* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMText_substringData(IXMLDOMText* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMText_appendData(IXMLDOMText* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_insertData(IXMLDOMText* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMText_deleteData(IXMLDOMText* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMText_replaceData(IXMLDOMText* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +/*** IXMLDOMText methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_splitText(IXMLDOMText* This,LONG offset,IXMLDOMText **txtNode) { + return This->lpVtbl->splitText(This,offset,txtNode); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMText_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMComment interface + */ +#ifndef __IXMLDOMComment_INTERFACE_DEFINED__ +#define __IXMLDOMComment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMComment, 0x2933bf88, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf88-7b36-11d2-b20e-00c04f983e60") +IXMLDOMComment : public IXMLDOMCharacterData +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMComment, 0x2933bf88, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCommentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMComment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMComment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMComment *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMComment *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMComment *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMComment *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMComment *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMComment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMComment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMComment *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMComment *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMComment *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMComment *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMComment *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMComment *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMComment *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMComment *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMComment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMComment *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMComment *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMComment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMComment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMComment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMComment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMComment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMComment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMComment *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMComment *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMComment *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMComment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMComment *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMComment *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMComment *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMComment *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMComment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMComment *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMComment *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMComment *This, + LONG offset, + LONG count, + BSTR p); + + END_INTERFACE +} IXMLDOMCommentVtbl; + +interface IXMLDOMComment { + CONST_VTBL IXMLDOMCommentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMComment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMComment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMComment_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMComment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMComment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMComment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMComment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMComment_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMComment_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMComment_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMComment_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMComment_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMComment_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMComment_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMComment_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMComment_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMComment_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMComment_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMComment_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMComment_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMComment_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMComment_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMComment_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMComment_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMComment_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMComment_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMComment_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMComment_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMComment_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMComment_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMComment_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMComment_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMComment_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMComment_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMComment_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMComment_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMComment_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMComment_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMComment_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMComment_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMComment_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMComment_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMComment_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMComment_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMComment_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMComment_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMComment_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMComment_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMComment_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMComment_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMComment_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_QueryInterface(IXMLDOMComment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMComment_AddRef(IXMLDOMComment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMComment_Release(IXMLDOMComment* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_GetTypeInfoCount(IXMLDOMComment* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMComment_GetTypeInfo(IXMLDOMComment* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMComment_GetIDsOfNames(IXMLDOMComment* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMComment_Invoke(IXMLDOMComment* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeName(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeValue(IXMLDOMComment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_nodeValue(IXMLDOMComment* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeType(IXMLDOMComment* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_parentNode(IXMLDOMComment* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_childNodes(IXMLDOMComment* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_firstChild(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_lastChild(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_previousSibling(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nextSibling(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_attributes(IXMLDOMComment* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMComment_insertBefore(IXMLDOMComment* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_replaceChild(IXMLDOMComment* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_removeChild(IXMLDOMComment* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_appendChild(IXMLDOMComment* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_hasChildNodes(IXMLDOMComment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_ownerDocument(IXMLDOMComment* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMComment_cloneNode(IXMLDOMComment* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeTypeString(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_text(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_text(IXMLDOMComment* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_specified(IXMLDOMComment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_definition(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeTypedValue(IXMLDOMComment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_nodeTypedValue(IXMLDOMComment* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_dataType(IXMLDOMComment* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_dataType(IXMLDOMComment* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_xml(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_transformNode(IXMLDOMComment* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_selectNodes(IXMLDOMComment* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMComment_selectSingleNode(IXMLDOMComment* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_parsed(IXMLDOMComment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_namespaceURI(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_prefix(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_baseName(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_transformNodeToObject(IXMLDOMComment* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_get_data(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_data(IXMLDOMComment* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_length(IXMLDOMComment* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMComment_substringData(IXMLDOMComment* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_appendData(IXMLDOMComment* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_insertData(IXMLDOMComment* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_deleteData(IXMLDOMComment* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMComment_replaceData(IXMLDOMComment* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMComment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMProcessingInstruction interface + */ +#ifndef __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ +#define __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMProcessingInstruction, 0x2933bf89, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf89-7b36-11d2-b20e-00c04f983e60") +IXMLDOMProcessingInstruction : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMProcessingInstruction, 0x2933bf89, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMProcessingInstructionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMProcessingInstruction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMProcessingInstruction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMProcessingInstruction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMProcessingInstruction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMProcessingInstruction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMProcessingInstruction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMProcessingInstruction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMProcessingInstruction *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMProcessingInstruction *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMProcessingInstruction *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMProcessingInstruction *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMProcessingInstruction *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMProcessingInstruction *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMProcessingInstruction *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMProcessingInstruction *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMProcessingInstruction *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMProcessingInstruction *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMProcessingInstruction *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMProcessingInstruction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_target)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMProcessingInstruction *This, + BSTR p); + + END_INTERFACE +} IXMLDOMProcessingInstructionVtbl; + +interface IXMLDOMProcessingInstruction { + CONST_VTBL IXMLDOMProcessingInstructionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMProcessingInstruction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMProcessingInstruction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMProcessingInstruction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMProcessingInstruction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMProcessingInstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMProcessingInstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMProcessingInstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMProcessingInstruction_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMProcessingInstruction_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMProcessingInstruction_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMProcessingInstruction_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMProcessingInstruction_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMProcessingInstruction_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMProcessingInstruction_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMProcessingInstruction_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMProcessingInstruction_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMProcessingInstruction_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMProcessingInstruction_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMProcessingInstruction_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMProcessingInstruction_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMProcessingInstruction_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMProcessingInstruction_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMProcessingInstruction_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMProcessingInstruction_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMProcessingInstruction_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMProcessingInstruction_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMProcessingInstruction_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMProcessingInstruction_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMProcessingInstruction_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMProcessingInstruction_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMProcessingInstruction_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMProcessingInstruction_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMProcessingInstruction_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMProcessingInstruction_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMProcessingInstruction_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMProcessingInstruction_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMProcessingInstruction_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMProcessingInstruction_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMProcessingInstruction_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMProcessingInstruction_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMProcessingInstruction_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMProcessingInstruction_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMProcessingInstruction_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMProcessingInstruction methods ***/ +#define IXMLDOMProcessingInstruction_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IXMLDOMProcessingInstruction_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMProcessingInstruction_put_data(This,p) (This)->lpVtbl->put_data(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_QueryInterface(IXMLDOMProcessingInstruction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMProcessingInstruction_AddRef(IXMLDOMProcessingInstruction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMProcessingInstruction_Release(IXMLDOMProcessingInstruction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetTypeInfoCount(IXMLDOMProcessingInstruction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetTypeInfo(IXMLDOMProcessingInstruction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetIDsOfNames(IXMLDOMProcessingInstruction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_Invoke(IXMLDOMProcessingInstruction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeName(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeValue(IXMLDOMProcessingInstruction* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_nodeValue(IXMLDOMProcessingInstruction* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeType(IXMLDOMProcessingInstruction* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_parentNode(IXMLDOMProcessingInstruction* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_childNodes(IXMLDOMProcessingInstruction* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_firstChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_lastChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_previousSibling(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nextSibling(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_attributes(IXMLDOMProcessingInstruction* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_insertBefore(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_replaceChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_removeChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_appendChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_hasChildNodes(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_ownerDocument(IXMLDOMProcessingInstruction* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_cloneNode(IXMLDOMProcessingInstruction* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeTypeString(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_text(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_text(IXMLDOMProcessingInstruction* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_specified(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_definition(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeTypedValue(IXMLDOMProcessingInstruction* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_nodeTypedValue(IXMLDOMProcessingInstruction* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_dataType(IXMLDOMProcessingInstruction* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_dataType(IXMLDOMProcessingInstruction* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_xml(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_transformNode(IXMLDOMProcessingInstruction* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_selectNodes(IXMLDOMProcessingInstruction* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_selectSingleNode(IXMLDOMProcessingInstruction* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_parsed(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_namespaceURI(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_prefix(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_baseName(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_transformNodeToObject(IXMLDOMProcessingInstruction* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMProcessingInstruction methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_target(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_data(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_data(IXMLDOMProcessingInstruction* This,BSTR p) { + return This->lpVtbl->put_data(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMCDATASection interface + */ +#ifndef __IXMLDOMCDATASection_INTERFACE_DEFINED__ +#define __IXMLDOMCDATASection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMCDATASection, 0x2933bf8a, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8a-7b36-11d2-b20e-00c04f983e60") +IXMLDOMCDATASection : public IXMLDOMText +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMCDATASection, 0x2933bf8a, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCDATASectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMCDATASection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMCDATASection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMCDATASection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMCDATASection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMCDATASection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMCDATASection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMCDATASection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMCDATASection *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMCDATASection *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMCDATASection *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMCDATASection *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMCDATASection *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMCDATASection *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMCDATASection *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMCDATASection *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMCDATASection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMCDATASection *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMCDATASection *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMCDATASection *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMCDATASection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMCDATASection *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMCDATASection *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMCDATASection *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMCDATASection *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMCDATASection *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMCDATASection *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMCDATASection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMCDATASection *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count, + BSTR p); + + /*** IXMLDOMText methods ***/ + HRESULT (STDMETHODCALLTYPE *splitText)( + IXMLDOMCDATASection *This, + LONG offset, + IXMLDOMText **txtNode); + + END_INTERFACE +} IXMLDOMCDATASectionVtbl; + +interface IXMLDOMCDATASection { + CONST_VTBL IXMLDOMCDATASectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMCDATASection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMCDATASection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMCDATASection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMCDATASection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMCDATASection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMCDATASection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMCDATASection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMCDATASection_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMCDATASection_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMCDATASection_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMCDATASection_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMCDATASection_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMCDATASection_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMCDATASection_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMCDATASection_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMCDATASection_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMCDATASection_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMCDATASection_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMCDATASection_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMCDATASection_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMCDATASection_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMCDATASection_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMCDATASection_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMCDATASection_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMCDATASection_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMCDATASection_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMCDATASection_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMCDATASection_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMCDATASection_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMCDATASection_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMCDATASection_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMCDATASection_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMCDATASection_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMCDATASection_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMCDATASection_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMCDATASection_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMCDATASection_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMCDATASection_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMCDATASection_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMCDATASection_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMCDATASection_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMCDATASection_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMCDATASection_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMCDATASection_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMCDATASection_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMCDATASection_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMCDATASection_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMCDATASection_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMCDATASection_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMCDATASection_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMCDATASection_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +/*** IXMLDOMText methods ***/ +#define IXMLDOMCDATASection_splitText(This,offset,txtNode) (This)->lpVtbl->splitText(This,offset,txtNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_QueryInterface(IXMLDOMCDATASection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMCDATASection_AddRef(IXMLDOMCDATASection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMCDATASection_Release(IXMLDOMCDATASection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetTypeInfoCount(IXMLDOMCDATASection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetTypeInfo(IXMLDOMCDATASection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetIDsOfNames(IXMLDOMCDATASection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_Invoke(IXMLDOMCDATASection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeName(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeValue(IXMLDOMCDATASection* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_nodeValue(IXMLDOMCDATASection* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeType(IXMLDOMCDATASection* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_parentNode(IXMLDOMCDATASection* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_childNodes(IXMLDOMCDATASection* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_firstChild(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_lastChild(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_previousSibling(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nextSibling(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_attributes(IXMLDOMCDATASection* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_insertBefore(IXMLDOMCDATASection* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_replaceChild(IXMLDOMCDATASection* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_removeChild(IXMLDOMCDATASection* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_appendChild(IXMLDOMCDATASection* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_hasChildNodes(IXMLDOMCDATASection* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_ownerDocument(IXMLDOMCDATASection* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_cloneNode(IXMLDOMCDATASection* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeTypeString(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_text(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_text(IXMLDOMCDATASection* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_specified(IXMLDOMCDATASection* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_definition(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeTypedValue(IXMLDOMCDATASection* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_nodeTypedValue(IXMLDOMCDATASection* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_dataType(IXMLDOMCDATASection* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_dataType(IXMLDOMCDATASection* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_xml(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_transformNode(IXMLDOMCDATASection* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_selectNodes(IXMLDOMCDATASection* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_selectSingleNode(IXMLDOMCDATASection* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_parsed(IXMLDOMCDATASection* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_namespaceURI(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_prefix(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_baseName(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_transformNodeToObject(IXMLDOMCDATASection* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_data(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_data(IXMLDOMCDATASection* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_length(IXMLDOMCDATASection* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_substringData(IXMLDOMCDATASection* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_appendData(IXMLDOMCDATASection* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_insertData(IXMLDOMCDATASection* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_deleteData(IXMLDOMCDATASection* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_replaceData(IXMLDOMCDATASection* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +/*** IXMLDOMText methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_splitText(IXMLDOMCDATASection* This,LONG offset,IXMLDOMText **txtNode) { + return This->lpVtbl->splitText(This,offset,txtNode); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMCDATASection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocumentType interface + */ +#ifndef __IXMLDOMDocumentType_INTERFACE_DEFINED__ +#define __IXMLDOMDocumentType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocumentType, 0x2933bf8b, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8b-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocumentType : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entities( + IXMLDOMNamedNodeMap **entityMap) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notations( + IXMLDOMNamedNodeMap **notationMap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocumentType, 0x2933bf8b, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocumentTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocumentType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocumentType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocumentType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocumentType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocumentType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocumentType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocumentType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocumentType *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocumentType *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocumentType *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocumentType *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocumentType *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocumentType *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocumentType *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocumentType *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocumentType *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocumentType *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocumentType *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocumentType *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocumentType *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocumentType *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocumentType *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocumentType *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocumentType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_entities)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **entityMap); + + HRESULT (STDMETHODCALLTYPE *get_notations)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **notationMap); + + END_INTERFACE +} IXMLDOMDocumentTypeVtbl; + +interface IXMLDOMDocumentType { + CONST_VTBL IXMLDOMDocumentTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocumentType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocumentType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocumentType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocumentType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocumentType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocumentType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocumentType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocumentType_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocumentType_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocumentType_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocumentType_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocumentType_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocumentType_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocumentType_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocumentType_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocumentType_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocumentType_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocumentType_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocumentType_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocumentType_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocumentType_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocumentType_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocumentType_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocumentType_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocumentType_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocumentType_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocumentType_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocumentType_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocumentType_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocumentType_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocumentType_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocumentType_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocumentType_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocumentType_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocumentType_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocumentType_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocumentType_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocumentType_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocumentType_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocumentType_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocumentType_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocumentType_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocumentType_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocumentType methods ***/ +#define IXMLDOMDocumentType_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IXMLDOMDocumentType_get_entities(This,entityMap) (This)->lpVtbl->get_entities(This,entityMap) +#define IXMLDOMDocumentType_get_notations(This,notationMap) (This)->lpVtbl->get_notations(This,notationMap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_QueryInterface(IXMLDOMDocumentType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocumentType_AddRef(IXMLDOMDocumentType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocumentType_Release(IXMLDOMDocumentType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetTypeInfoCount(IXMLDOMDocumentType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetTypeInfo(IXMLDOMDocumentType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetIDsOfNames(IXMLDOMDocumentType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_Invoke(IXMLDOMDocumentType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeName(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeValue(IXMLDOMDocumentType* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_nodeValue(IXMLDOMDocumentType* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeType(IXMLDOMDocumentType* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_parentNode(IXMLDOMDocumentType* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_childNodes(IXMLDOMDocumentType* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_firstChild(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_lastChild(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_previousSibling(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nextSibling(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_attributes(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_insertBefore(IXMLDOMDocumentType* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_replaceChild(IXMLDOMDocumentType* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_removeChild(IXMLDOMDocumentType* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_appendChild(IXMLDOMDocumentType* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_hasChildNodes(IXMLDOMDocumentType* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_ownerDocument(IXMLDOMDocumentType* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_cloneNode(IXMLDOMDocumentType* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeTypeString(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_text(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_text(IXMLDOMDocumentType* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_specified(IXMLDOMDocumentType* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_definition(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeTypedValue(IXMLDOMDocumentType* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_nodeTypedValue(IXMLDOMDocumentType* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_dataType(IXMLDOMDocumentType* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_dataType(IXMLDOMDocumentType* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_xml(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_transformNode(IXMLDOMDocumentType* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_selectNodes(IXMLDOMDocumentType* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_selectSingleNode(IXMLDOMDocumentType* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_parsed(IXMLDOMDocumentType* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_namespaceURI(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_prefix(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_baseName(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_transformNodeToObject(IXMLDOMDocumentType* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocumentType methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_name(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_entities(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **entityMap) { + return This->lpVtbl->get_entities(This,entityMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_notations(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **notationMap) { + return This->lpVtbl->get_notations(This,notationMap); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocumentType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNotation interface + */ +#ifndef __IXMLDOMNotation_INTERFACE_DEFINED__ +#define __IXMLDOMNotation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNotation, 0x2933bf8c, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8c-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNotation : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_publicId( + VARIANT *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + VARIANT *id) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNotation, 0x2933bf8c, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNotationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNotation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNotation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNotation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNotation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNotation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNotation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNotation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMNotation *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMNotation *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMNotation *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMNotation *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMNotation *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMNotation *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMNotation *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMNotation *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMNotation *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMNotation *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMNotation *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMNotation *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMNotation *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMNotation *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMNotation *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMNotation *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMNotation *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMNotation *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMNotation *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMNotation *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMNotation *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMNotation *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMNotation *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMNotation *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMNotation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IXMLDOMNotation *This, + VARIANT *id); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IXMLDOMNotation *This, + VARIANT *id); + + END_INTERFACE +} IXMLDOMNotationVtbl; + +interface IXMLDOMNotation { + CONST_VTBL IXMLDOMNotationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNotation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNotation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNotation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNotation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNotation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNotation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMNotation_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMNotation_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMNotation_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMNotation_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMNotation_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMNotation_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMNotation_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMNotation_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMNotation_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMNotation_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMNotation_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMNotation_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMNotation_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMNotation_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMNotation_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMNotation_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMNotation_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMNotation_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMNotation_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMNotation_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMNotation_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMNotation_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMNotation_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMNotation_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMNotation_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMNotation_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMNotation_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMNotation_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMNotation_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMNotation_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMNotation_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMNotation_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMNotation_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMNotation_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMNotation_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMNotation_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMNotation methods ***/ +#define IXMLDOMNotation_get_publicId(This,id) (This)->lpVtbl->get_publicId(This,id) +#define IXMLDOMNotation_get_systemId(This,id) (This)->lpVtbl->get_systemId(This,id) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_QueryInterface(IXMLDOMNotation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNotation_AddRef(IXMLDOMNotation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNotation_Release(IXMLDOMNotation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_GetTypeInfoCount(IXMLDOMNotation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNotation_GetTypeInfo(IXMLDOMNotation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNotation_GetIDsOfNames(IXMLDOMNotation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNotation_Invoke(IXMLDOMNotation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeName(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeValue(IXMLDOMNotation* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_nodeValue(IXMLDOMNotation* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeType(IXMLDOMNotation* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_parentNode(IXMLDOMNotation* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_childNodes(IXMLDOMNotation* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_firstChild(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_lastChild(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_previousSibling(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nextSibling(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_attributes(IXMLDOMNotation* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMNotation_insertBefore(IXMLDOMNotation* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_replaceChild(IXMLDOMNotation* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_removeChild(IXMLDOMNotation* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_appendChild(IXMLDOMNotation* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_hasChildNodes(IXMLDOMNotation* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_ownerDocument(IXMLDOMNotation* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMNotation_cloneNode(IXMLDOMNotation* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeTypeString(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_text(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_text(IXMLDOMNotation* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_specified(IXMLDOMNotation* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_definition(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeTypedValue(IXMLDOMNotation* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_nodeTypedValue(IXMLDOMNotation* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_dataType(IXMLDOMNotation* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_dataType(IXMLDOMNotation* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_xml(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_transformNode(IXMLDOMNotation* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_selectNodes(IXMLDOMNotation* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMNotation_selectSingleNode(IXMLDOMNotation* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_parsed(IXMLDOMNotation* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_namespaceURI(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_prefix(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_baseName(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_transformNodeToObject(IXMLDOMNotation* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMNotation methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_get_publicId(IXMLDOMNotation* This,VARIANT *id) { + return This->lpVtbl->get_publicId(This,id); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_systemId(IXMLDOMNotation* This,VARIANT *id) { + return This->lpVtbl->get_systemId(This,id); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNotation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMEntity interface + */ +#ifndef __IXMLDOMEntity_INTERFACE_DEFINED__ +#define __IXMLDOMEntity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMEntity, 0x2933bf8d, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8d-7b36-11d2-b20e-00c04f983e60") +IXMLDOMEntity : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_publicId( + VARIANT *id1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + VARIANT *id1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notationName( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMEntity, 0x2933bf8d, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMEntityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMEntity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMEntity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMEntity *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMEntity *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMEntity *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMEntity *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMEntity *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMEntity *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMEntity *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMEntity *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMEntity *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMEntity *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMEntity *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMEntity *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMEntity *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMEntity *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMEntity *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMEntity *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMEntity *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMEntity *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMEntity *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMEntity *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMEntity *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMEntity *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMEntity *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMEntity *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMEntity *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMEntity *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMEntity *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMEntity *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMEntity *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMEntity methods ***/ + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IXMLDOMEntity *This, + VARIANT *id1); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IXMLDOMEntity *This, + VARIANT *id1); + + HRESULT (STDMETHODCALLTYPE *get_notationName)( + IXMLDOMEntity *This, + BSTR *p); + + END_INTERFACE +} IXMLDOMEntityVtbl; + +interface IXMLDOMEntity { + CONST_VTBL IXMLDOMEntityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMEntity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMEntity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMEntity_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMEntity_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMEntity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMEntity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMEntity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMEntity_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMEntity_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMEntity_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMEntity_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMEntity_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMEntity_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMEntity_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMEntity_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMEntity_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMEntity_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMEntity_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMEntity_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMEntity_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMEntity_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMEntity_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMEntity_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMEntity_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMEntity_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMEntity_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMEntity_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMEntity_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMEntity_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMEntity_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMEntity_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMEntity_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMEntity_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMEntity_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMEntity_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMEntity_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMEntity_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMEntity_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMEntity_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMEntity_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMEntity_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMEntity_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMEntity_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMEntity methods ***/ +#define IXMLDOMEntity_get_publicId(This,id1) (This)->lpVtbl->get_publicId(This,id1) +#define IXMLDOMEntity_get_systemId(This,id1) (This)->lpVtbl->get_systemId(This,id1) +#define IXMLDOMEntity_get_notationName(This,p) (This)->lpVtbl->get_notationName(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_QueryInterface(IXMLDOMEntity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMEntity_AddRef(IXMLDOMEntity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMEntity_Release(IXMLDOMEntity* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_GetTypeInfoCount(IXMLDOMEntity* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMEntity_GetTypeInfo(IXMLDOMEntity* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMEntity_GetIDsOfNames(IXMLDOMEntity* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMEntity_Invoke(IXMLDOMEntity* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeName(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeValue(IXMLDOMEntity* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_nodeValue(IXMLDOMEntity* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeType(IXMLDOMEntity* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_parentNode(IXMLDOMEntity* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_childNodes(IXMLDOMEntity* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_firstChild(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_lastChild(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_previousSibling(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nextSibling(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_attributes(IXMLDOMEntity* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMEntity_insertBefore(IXMLDOMEntity* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_replaceChild(IXMLDOMEntity* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_removeChild(IXMLDOMEntity* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_appendChild(IXMLDOMEntity* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_hasChildNodes(IXMLDOMEntity* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_ownerDocument(IXMLDOMEntity* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMEntity_cloneNode(IXMLDOMEntity* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeTypeString(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_text(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_text(IXMLDOMEntity* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_specified(IXMLDOMEntity* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_definition(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeTypedValue(IXMLDOMEntity* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_nodeTypedValue(IXMLDOMEntity* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_dataType(IXMLDOMEntity* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_dataType(IXMLDOMEntity* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_xml(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_transformNode(IXMLDOMEntity* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_selectNodes(IXMLDOMEntity* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntity_selectSingleNode(IXMLDOMEntity* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_parsed(IXMLDOMEntity* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_namespaceURI(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_prefix(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_baseName(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_transformNodeToObject(IXMLDOMEntity* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMEntity methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_get_publicId(IXMLDOMEntity* This,VARIANT *id1) { + return This->lpVtbl->get_publicId(This,id1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_systemId(IXMLDOMEntity* This,VARIANT *id1) { + return This->lpVtbl->get_systemId(This,id1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_notationName(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_notationName(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMEntity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMEntityReference interface + */ +#ifndef __IXMLDOMEntityReference_INTERFACE_DEFINED__ +#define __IXMLDOMEntityReference_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMEntityReference, 0x2933bf8e, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8e-7b36-11d2-b20e-00c04f983e60") +IXMLDOMEntityReference : public IXMLDOMNode +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMEntityReference, 0x2933bf8e, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMEntityReferenceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMEntityReference *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMEntityReference *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMEntityReference *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMEntityReference *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMEntityReference *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMEntityReference *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMEntityReference *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMEntityReference *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMEntityReference *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMEntityReference *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMEntityReference *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMEntityReference *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMEntityReference *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMEntityReference *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMEntityReference *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMEntityReference *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMEntityReference *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMEntityReference *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMEntityReference *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMEntityReference *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMEntityReference *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMEntityReference *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMEntityReference *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMEntityReference *This, + IXMLDOMNode *domNode, + VARIANT var1); + + END_INTERFACE +} IXMLDOMEntityReferenceVtbl; + +interface IXMLDOMEntityReference { + CONST_VTBL IXMLDOMEntityReferenceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMEntityReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMEntityReference_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMEntityReference_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMEntityReference_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMEntityReference_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMEntityReference_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMEntityReference_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMEntityReference_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMEntityReference_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMEntityReference_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMEntityReference_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMEntityReference_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMEntityReference_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMEntityReference_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMEntityReference_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMEntityReference_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMEntityReference_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMEntityReference_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMEntityReference_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMEntityReference_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMEntityReference_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMEntityReference_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMEntityReference_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMEntityReference_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMEntityReference_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMEntityReference_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMEntityReference_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMEntityReference_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMEntityReference_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMEntityReference_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMEntityReference_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMEntityReference_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMEntityReference_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMEntityReference_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMEntityReference_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMEntityReference_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMEntityReference_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMEntityReference_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMEntityReference_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMEntityReference_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMEntityReference_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMEntityReference_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMEntityReference_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_QueryInterface(IXMLDOMEntityReference* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMEntityReference_AddRef(IXMLDOMEntityReference* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMEntityReference_Release(IXMLDOMEntityReference* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetTypeInfoCount(IXMLDOMEntityReference* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetTypeInfo(IXMLDOMEntityReference* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetIDsOfNames(IXMLDOMEntityReference* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_Invoke(IXMLDOMEntityReference* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeName(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeValue(IXMLDOMEntityReference* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_nodeValue(IXMLDOMEntityReference* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeType(IXMLDOMEntityReference* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_parentNode(IXMLDOMEntityReference* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_childNodes(IXMLDOMEntityReference* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_firstChild(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_lastChild(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_previousSibling(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nextSibling(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_attributes(IXMLDOMEntityReference* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_insertBefore(IXMLDOMEntityReference* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_replaceChild(IXMLDOMEntityReference* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_removeChild(IXMLDOMEntityReference* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_appendChild(IXMLDOMEntityReference* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_hasChildNodes(IXMLDOMEntityReference* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_ownerDocument(IXMLDOMEntityReference* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_cloneNode(IXMLDOMEntityReference* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeTypeString(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_text(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_text(IXMLDOMEntityReference* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_specified(IXMLDOMEntityReference* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_definition(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeTypedValue(IXMLDOMEntityReference* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_nodeTypedValue(IXMLDOMEntityReference* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_dataType(IXMLDOMEntityReference* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_dataType(IXMLDOMEntityReference* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_xml(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_transformNode(IXMLDOMEntityReference* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_selectNodes(IXMLDOMEntityReference* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_selectSingleNode(IXMLDOMEntityReference* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_parsed(IXMLDOMEntityReference* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_namespaceURI(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_prefix(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_baseName(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_transformNodeToObject(IXMLDOMEntityReference* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMEntityReference_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMImplementation interface + */ +#ifndef __IXMLDOMImplementation_INTERFACE_DEFINED__ +#define __IXMLDOMImplementation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMImplementation, 0x2933bf8f, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8f-7b36-11d2-b20e-00c04f983e60") +IXMLDOMImplementation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE hasFeature( + BSTR feature, + BSTR version, + VARIANT_BOOL *pbool) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMImplementation, 0x2933bf8f, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMImplementationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMImplementation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMImplementation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMImplementation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMImplementation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMImplementation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMImplementation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMImplementation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMImplementation methods ***/ + HRESULT (STDMETHODCALLTYPE *hasFeature)( + IXMLDOMImplementation *This, + BSTR feature, + BSTR version, + VARIANT_BOOL *pbool); + + END_INTERFACE +} IXMLDOMImplementationVtbl; + +interface IXMLDOMImplementation { + CONST_VTBL IXMLDOMImplementationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMImplementation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMImplementation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMImplementation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMImplementation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMImplementation methods ***/ +#define IXMLDOMImplementation_hasFeature(This,feature,version,pbool) (This)->lpVtbl->hasFeature(This,feature,version,pbool) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_QueryInterface(IXMLDOMImplementation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMImplementation_AddRef(IXMLDOMImplementation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMImplementation_Release(IXMLDOMImplementation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_GetTypeInfoCount(IXMLDOMImplementation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_GetTypeInfo(IXMLDOMImplementation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_GetIDsOfNames(IXMLDOMImplementation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_Invoke(IXMLDOMImplementation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMImplementation methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_hasFeature(IXMLDOMImplementation* This,BSTR feature,BSTR version,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasFeature(This,feature,version,pbool); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMImplementation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXTLRuntime interface + */ +#ifndef __IXTLRuntime_INTERFACE_DEFINED__ +#define __IXTLRuntime_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXTLRuntime, 0x3efaa425, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa425-272f-11d2-836f-0000f87a7782") +IXTLRuntime : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE uniqueID( + IXMLDOMNode *pNode, + LONG *pID) = 0; + + virtual HRESULT STDMETHODCALLTYPE depth( + IXMLDOMNode *pNode, + LONG *pDepth) = 0; + + virtual HRESULT STDMETHODCALLTYPE childNumber( + IXMLDOMNode *pNode, + LONG *pNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE ancestorChildNumber( + BSTR bstr, + IXMLDOMNode *pNode, + LONG *pNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE absoluteChildNumber( + IXMLDOMNode *pNode, + LONG *pNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatIndex( + LONG lIndex, + BSTR bstr, + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatNumber( + double dblNumber, + BSTR bstr, + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatDate( + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatTime( + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXTLRuntime, 0x3efaa425, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXTLRuntimeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXTLRuntime *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXTLRuntime *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXTLRuntime *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXTLRuntime *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXTLRuntime *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXTLRuntime *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXTLRuntime *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXTLRuntime *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXTLRuntime *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXTLRuntime *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXTLRuntime *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXTLRuntime *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXTLRuntime *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXTLRuntime *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXTLRuntime *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXTLRuntime *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXTLRuntime *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXTLRuntime *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXTLRuntime *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXTLRuntime *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXTLRuntime *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXTLRuntime *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXTLRuntime *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXTLRuntime *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXTLRuntime *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXTLRuntime *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXTLRuntime *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXTLRuntime *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXTLRuntime *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXTLRuntime *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXTLRuntime *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXTLRuntime methods ***/ + HRESULT (STDMETHODCALLTYPE *uniqueID)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pID); + + HRESULT (STDMETHODCALLTYPE *depth)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pDepth); + + HRESULT (STDMETHODCALLTYPE *childNumber)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pNumber); + + HRESULT (STDMETHODCALLTYPE *ancestorChildNumber)( + IXTLRuntime *This, + BSTR bstr, + IXMLDOMNode *pNode, + LONG *pNumber); + + HRESULT (STDMETHODCALLTYPE *absoluteChildNumber)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pNumber); + + HRESULT (STDMETHODCALLTYPE *formatIndex)( + IXTLRuntime *This, + LONG lIndex, + BSTR bstr, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *formatNumber)( + IXTLRuntime *This, + double dblNumber, + BSTR bstr, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *formatDate)( + IXTLRuntime *This, + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *formatTime)( + IXTLRuntime *This, + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr); + + END_INTERFACE +} IXTLRuntimeVtbl; + +interface IXTLRuntime { + CONST_VTBL IXTLRuntimeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXTLRuntime_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXTLRuntime_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXTLRuntime_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXTLRuntime_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXTLRuntime_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXTLRuntime_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXTLRuntime_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXTLRuntime_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXTLRuntime_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXTLRuntime_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXTLRuntime_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXTLRuntime_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXTLRuntime_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXTLRuntime_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXTLRuntime_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXTLRuntime_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXTLRuntime_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXTLRuntime_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXTLRuntime_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXTLRuntime_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXTLRuntime_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXTLRuntime_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXTLRuntime_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXTLRuntime_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXTLRuntime_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXTLRuntime_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXTLRuntime_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXTLRuntime_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXTLRuntime_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXTLRuntime_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXTLRuntime_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXTLRuntime_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXTLRuntime_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXTLRuntime_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXTLRuntime_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXTLRuntime_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXTLRuntime_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXTLRuntime_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXTLRuntime_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXTLRuntime_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXTLRuntime_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXTLRuntime_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXTLRuntime_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXTLRuntime methods ***/ +#define IXTLRuntime_uniqueID(This,pNode,pID) (This)->lpVtbl->uniqueID(This,pNode,pID) +#define IXTLRuntime_depth(This,pNode,pDepth) (This)->lpVtbl->depth(This,pNode,pDepth) +#define IXTLRuntime_childNumber(This,pNode,pNumber) (This)->lpVtbl->childNumber(This,pNode,pNumber) +#define IXTLRuntime_ancestorChildNumber(This,bstr,pNode,pNumber) (This)->lpVtbl->ancestorChildNumber(This,bstr,pNode,pNumber) +#define IXTLRuntime_absoluteChildNumber(This,pNode,pNumber) (This)->lpVtbl->absoluteChildNumber(This,pNode,pNumber) +#define IXTLRuntime_formatIndex(This,lIndex,bstr,pbstr) (This)->lpVtbl->formatIndex(This,lIndex,bstr,pbstr) +#define IXTLRuntime_formatNumber(This,dblNumber,bstr,pbstr) (This)->lpVtbl->formatNumber(This,dblNumber,bstr,pbstr) +#define IXTLRuntime_formatDate(This,var1,bstr,var2,pbstr) (This)->lpVtbl->formatDate(This,var1,bstr,var2,pbstr) +#define IXTLRuntime_formatTime(This,var1,bstr,var2,pbstr) (This)->lpVtbl->formatTime(This,var1,bstr,var2,pbstr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_QueryInterface(IXTLRuntime* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXTLRuntime_AddRef(IXTLRuntime* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXTLRuntime_Release(IXTLRuntime* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_GetTypeInfoCount(IXTLRuntime* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXTLRuntime_GetTypeInfo(IXTLRuntime* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXTLRuntime_GetIDsOfNames(IXTLRuntime* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXTLRuntime_Invoke(IXTLRuntime* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_get_nodeName(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeValue(IXTLRuntime* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_put_nodeValue(IXTLRuntime* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeType(IXTLRuntime* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXTLRuntime_get_parentNode(IXTLRuntime* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXTLRuntime_get_childNodes(IXTLRuntime* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXTLRuntime_get_firstChild(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_lastChild(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_previousSibling(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nextSibling(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_attributes(IXTLRuntime* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXTLRuntime_insertBefore(IXTLRuntime* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXTLRuntime_replaceChild(IXTLRuntime* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXTLRuntime_removeChild(IXTLRuntime* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXTLRuntime_appendChild(IXTLRuntime* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXTLRuntime_hasChildNodes(IXTLRuntime* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXTLRuntime_get_ownerDocument(IXTLRuntime* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXTLRuntime_cloneNode(IXTLRuntime* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeTypeString(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_text(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_put_text(IXTLRuntime* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_specified(IXTLRuntime* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXTLRuntime_get_definition(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeTypedValue(IXTLRuntime* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_put_nodeTypedValue(IXTLRuntime* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_get_dataType(IXTLRuntime* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_put_dataType(IXTLRuntime* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_xml(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_transformNode(IXTLRuntime* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXTLRuntime_selectNodes(IXTLRuntime* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXTLRuntime_selectSingleNode(IXTLRuntime* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_parsed(IXTLRuntime* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXTLRuntime_get_namespaceURI(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_prefix(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_baseName(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_transformNodeToObject(IXTLRuntime* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXTLRuntime methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_uniqueID(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pID) { + return This->lpVtbl->uniqueID(This,pNode,pID); +} +static FORCEINLINE HRESULT IXTLRuntime_depth(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pDepth) { + return This->lpVtbl->depth(This,pNode,pDepth); +} +static FORCEINLINE HRESULT IXTLRuntime_childNumber(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pNumber) { + return This->lpVtbl->childNumber(This,pNode,pNumber); +} +static FORCEINLINE HRESULT IXTLRuntime_ancestorChildNumber(IXTLRuntime* This,BSTR bstr,IXMLDOMNode *pNode,LONG *pNumber) { + return This->lpVtbl->ancestorChildNumber(This,bstr,pNode,pNumber); +} +static FORCEINLINE HRESULT IXTLRuntime_absoluteChildNumber(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pNumber) { + return This->lpVtbl->absoluteChildNumber(This,pNode,pNumber); +} +static FORCEINLINE HRESULT IXTLRuntime_formatIndex(IXTLRuntime* This,LONG lIndex,BSTR bstr,BSTR *pbstr) { + return This->lpVtbl->formatIndex(This,lIndex,bstr,pbstr); +} +static FORCEINLINE HRESULT IXTLRuntime_formatNumber(IXTLRuntime* This,double dblNumber,BSTR bstr,BSTR *pbstr) { + return This->lpVtbl->formatNumber(This,dblNumber,bstr,pbstr); +} +static FORCEINLINE HRESULT IXTLRuntime_formatDate(IXTLRuntime* This,VARIANT var1,BSTR bstr,VARIANT var2,BSTR *pbstr) { + return This->lpVtbl->formatDate(This,var1,bstr,var2,pbstr); +} +static FORCEINLINE HRESULT IXTLRuntime_formatTime(IXTLRuntime* This,VARIANT var1,BSTR bstr,VARIANT var2,BSTR *pbstr) { + return This->lpVtbl->formatTime(This,var1,bstr,var2,pbstr); +} +#endif +#endif + +#endif + + +#endif /* __IXTLRuntime_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDSOControl interface + */ +#ifndef __IDSOControl_INTERFACE_DEFINED__ +#define __IDSOControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDSOControl, 0x310afa62, 0x0575, 0x11d2, 0x9c,0xa9, 0x00,0x60,0xb0,0xec,0x3d,0x39); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("310afa62-0575-11d2-9ca9-0060b0ec3d39") +IDSOControl : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_XMLDocument( + IXMLDOMDocument **ppDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_XMLDocument( + IXMLDOMDocument *ppDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_JavaDSOCompatible( + BOOL *fJavaDSOCompatible) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_JavaDSOCompatible( + BOOL fJavaDSOCompatible) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *state) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDSOControl, 0x310afa62, 0x0575, 0x11d2, 0x9c,0xa9, 0x00,0x60,0xb0,0xec,0x3d,0x39) +#endif +#else +typedef struct IDSOControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDSOControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDSOControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDSOControl *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDSOControl *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDSOControl *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDSOControl *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDSOControl *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDSOControl methods ***/ + HRESULT (STDMETHODCALLTYPE *get_XMLDocument)( + IDSOControl *This, + IXMLDOMDocument **ppDoc); + + HRESULT (STDMETHODCALLTYPE *put_XMLDocument)( + IDSOControl *This, + IXMLDOMDocument *ppDoc); + + HRESULT (STDMETHODCALLTYPE *get_JavaDSOCompatible)( + IDSOControl *This, + BOOL *fJavaDSOCompatible); + + HRESULT (STDMETHODCALLTYPE *put_JavaDSOCompatible)( + IDSOControl *This, + BOOL fJavaDSOCompatible); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IDSOControl *This, + LONG *state); + + END_INTERFACE +} IDSOControlVtbl; + +interface IDSOControl { + CONST_VTBL IDSOControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDSOControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDSOControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDSOControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDSOControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDSOControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDSOControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDSOControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDSOControl methods ***/ +#define IDSOControl_get_XMLDocument(This,ppDoc) (This)->lpVtbl->get_XMLDocument(This,ppDoc) +#define IDSOControl_put_XMLDocument(This,ppDoc) (This)->lpVtbl->put_XMLDocument(This,ppDoc) +#define IDSOControl_get_JavaDSOCompatible(This,fJavaDSOCompatible) (This)->lpVtbl->get_JavaDSOCompatible(This,fJavaDSOCompatible) +#define IDSOControl_put_JavaDSOCompatible(This,fJavaDSOCompatible) (This)->lpVtbl->put_JavaDSOCompatible(This,fJavaDSOCompatible) +#define IDSOControl_get_readyState(This,state) (This)->lpVtbl->get_readyState(This,state) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDSOControl_QueryInterface(IDSOControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDSOControl_AddRef(IDSOControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDSOControl_Release(IDSOControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDSOControl_GetTypeInfoCount(IDSOControl* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDSOControl_GetTypeInfo(IDSOControl* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDSOControl_GetIDsOfNames(IDSOControl* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDSOControl_Invoke(IDSOControl* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDSOControl methods ***/ +static FORCEINLINE HRESULT IDSOControl_get_XMLDocument(IDSOControl* This,IXMLDOMDocument **ppDoc) { + return This->lpVtbl->get_XMLDocument(This,ppDoc); +} +static FORCEINLINE HRESULT IDSOControl_put_XMLDocument(IDSOControl* This,IXMLDOMDocument *ppDoc) { + return This->lpVtbl->put_XMLDocument(This,ppDoc); +} +static FORCEINLINE HRESULT IDSOControl_get_JavaDSOCompatible(IDSOControl* This,BOOL *fJavaDSOCompatible) { + return This->lpVtbl->get_JavaDSOCompatible(This,fJavaDSOCompatible); +} +static FORCEINLINE HRESULT IDSOControl_put_JavaDSOCompatible(IDSOControl* This,BOOL fJavaDSOCompatible) { + return This->lpVtbl->put_JavaDSOCompatible(This,fJavaDSOCompatible); +} +static FORCEINLINE HRESULT IDSOControl_get_readyState(IDSOControl* This,LONG *state) { + return This->lpVtbl->get_readyState(This,state); +} +#endif +#endif + +#endif + + +#endif /* __IDSOControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * XMLDOMDocumentEvents dispinterface + */ +#ifndef __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ +#define __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_XMLDOMDocumentEvents, 0x3efaa427, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa427-272f-11d2-836f-0000f87a7782") +XMLDOMDocumentEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLDOMDocumentEvents, 0x3efaa427, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct XMLDOMDocumentEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + XMLDOMDocumentEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + XMLDOMDocumentEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + XMLDOMDocumentEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + XMLDOMDocumentEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + XMLDOMDocumentEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + XMLDOMDocumentEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + XMLDOMDocumentEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} XMLDOMDocumentEventsVtbl; + +interface XMLDOMDocumentEvents { + CONST_VTBL XMLDOMDocumentEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define XMLDOMDocumentEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define XMLDOMDocumentEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define XMLDOMDocumentEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define XMLDOMDocumentEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define XMLDOMDocumentEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define XMLDOMDocumentEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define XMLDOMDocumentEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT XMLDOMDocumentEvents_QueryInterface(XMLDOMDocumentEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG XMLDOMDocumentEvents_AddRef(XMLDOMDocumentEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG XMLDOMDocumentEvents_Release(XMLDOMDocumentEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetTypeInfoCount(XMLDOMDocumentEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetTypeInfo(XMLDOMDocumentEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetIDsOfNames(XMLDOMDocumentEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_Invoke(XMLDOMDocumentEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXSLProcessor interface + */ +#ifndef __IXSLProcessor_INTERFACE_DEFINED__ +#define __IXSLProcessor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXSLProcessor, 0x2933bf92, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf92-7b36-11d2-b20e-00c04f983e60") +IXSLProcessor : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_input( + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_input( + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ownerTemplate( + IXSLTemplate **ppTemplate) = 0; + + virtual HRESULT STDMETHODCALLTYPE setStartMode( + BSTR p, + BSTR uri = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE get_startMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_startModeURI( + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_output( + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_output( + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE transform( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *pstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE addParameter( + BSTR p, + VARIANT var, + BSTR uri = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE addObject( + IDispatch *obj, + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_stylesheet( + IXMLDOMNode **node) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXSLProcessor, 0x2933bf92, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXSLProcessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXSLProcessor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXSLProcessor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXSLProcessor *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXSLProcessor *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXSLProcessor *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXSLProcessor *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXSLProcessor *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXSLProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *put_input)( + IXSLProcessor *This, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get_input)( + IXSLProcessor *This, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *get_ownerTemplate)( + IXSLProcessor *This, + IXSLTemplate **ppTemplate); + + HRESULT (STDMETHODCALLTYPE *setStartMode)( + IXSLProcessor *This, + BSTR p, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_startMode)( + IXSLProcessor *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_startModeURI)( + IXSLProcessor *This, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *put_output)( + IXSLProcessor *This, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get_output)( + IXSLProcessor *This, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *transform)( + IXSLProcessor *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXSLProcessor *This); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXSLProcessor *This, + LONG *pstate); + + HRESULT (STDMETHODCALLTYPE *addParameter)( + IXSLProcessor *This, + BSTR p, + VARIANT var, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *addObject)( + IXSLProcessor *This, + IDispatch *obj, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_stylesheet)( + IXSLProcessor *This, + IXMLDOMNode **node); + + END_INTERFACE +} IXSLProcessorVtbl; + +interface IXSLProcessor { + CONST_VTBL IXSLProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXSLProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXSLProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXSLProcessor_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXSLProcessor_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXSLProcessor_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXSLProcessor_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXSLProcessor_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXSLProcessor methods ***/ +#define IXSLProcessor_put_input(This,var) (This)->lpVtbl->put_input(This,var) +#define IXSLProcessor_get_input(This,var) (This)->lpVtbl->get_input(This,var) +#define IXSLProcessor_get_ownerTemplate(This,ppTemplate) (This)->lpVtbl->get_ownerTemplate(This,ppTemplate) +#define IXSLProcessor_setStartMode(This,p,uri) (This)->lpVtbl->setStartMode(This,p,uri) +#define IXSLProcessor_get_startMode(This,p) (This)->lpVtbl->get_startMode(This,p) +#define IXSLProcessor_get_startModeURI(This,uri) (This)->lpVtbl->get_startModeURI(This,uri) +#define IXSLProcessor_put_output(This,var) (This)->lpVtbl->put_output(This,var) +#define IXSLProcessor_get_output(This,var) (This)->lpVtbl->get_output(This,var) +#define IXSLProcessor_transform(This,pbool) (This)->lpVtbl->transform(This,pbool) +#define IXSLProcessor_reset(This) (This)->lpVtbl->reset(This) +#define IXSLProcessor_get_readyState(This,pstate) (This)->lpVtbl->get_readyState(This,pstate) +#define IXSLProcessor_addParameter(This,p,var,uri) (This)->lpVtbl->addParameter(This,p,var,uri) +#define IXSLProcessor_addObject(This,obj,uri) (This)->lpVtbl->addObject(This,obj,uri) +#define IXSLProcessor_get_stylesheet(This,node) (This)->lpVtbl->get_stylesheet(This,node) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXSLProcessor_QueryInterface(IXSLProcessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXSLProcessor_AddRef(IXSLProcessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXSLProcessor_Release(IXSLProcessor* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXSLProcessor_GetTypeInfoCount(IXSLProcessor* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXSLProcessor_GetTypeInfo(IXSLProcessor* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXSLProcessor_GetIDsOfNames(IXSLProcessor* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXSLProcessor_Invoke(IXSLProcessor* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXSLProcessor methods ***/ +static FORCEINLINE HRESULT IXSLProcessor_put_input(IXSLProcessor* This,VARIANT var) { + return This->lpVtbl->put_input(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_get_input(IXSLProcessor* This,VARIANT *var) { + return This->lpVtbl->get_input(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_get_ownerTemplate(IXSLProcessor* This,IXSLTemplate **ppTemplate) { + return This->lpVtbl->get_ownerTemplate(This,ppTemplate); +} +static FORCEINLINE HRESULT IXSLProcessor_setStartMode(IXSLProcessor* This,BSTR p,BSTR uri) { + return This->lpVtbl->setStartMode(This,p,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_get_startMode(IXSLProcessor* This,BSTR *p) { + return This->lpVtbl->get_startMode(This,p); +} +static FORCEINLINE HRESULT IXSLProcessor_get_startModeURI(IXSLProcessor* This,BSTR *uri) { + return This->lpVtbl->get_startModeURI(This,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_put_output(IXSLProcessor* This,VARIANT var) { + return This->lpVtbl->put_output(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_get_output(IXSLProcessor* This,VARIANT *var) { + return This->lpVtbl->get_output(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_transform(IXSLProcessor* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->transform(This,pbool); +} +static FORCEINLINE HRESULT IXSLProcessor_reset(IXSLProcessor* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXSLProcessor_get_readyState(IXSLProcessor* This,LONG *pstate) { + return This->lpVtbl->get_readyState(This,pstate); +} +static FORCEINLINE HRESULT IXSLProcessor_addParameter(IXSLProcessor* This,BSTR p,VARIANT var,BSTR uri) { + return This->lpVtbl->addParameter(This,p,var,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_addObject(IXSLProcessor* This,IDispatch *obj,BSTR uri) { + return This->lpVtbl->addObject(This,obj,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_get_stylesheet(IXSLProcessor* This,IXMLDOMNode **node) { + return This->lpVtbl->get_stylesheet(This,node); +} +#endif +#endif + +#endif + + +#endif /* __IXSLProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXSLTemplate interface + */ +#ifndef __IXSLTemplate_INTERFACE_DEFINED__ +#define __IXSLTemplate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXSLTemplate, 0x2933bf93, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf93-7b36-11d2-b20e-00c04f983e60") +IXSLTemplate : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE putref_stylesheet( + IXMLDOMNode *node) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_stylesheet( + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE createProcessor( + IXSLProcessor **ppProcessor) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXSLTemplate, 0x2933bf93, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXSLTemplateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXSLTemplate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXSLTemplate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXSLTemplate *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXSLTemplate *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXSLTemplate *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXSLTemplate *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXSLTemplate *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXSLTemplate methods ***/ + HRESULT (STDMETHODCALLTYPE *putref_stylesheet)( + IXSLTemplate *This, + IXMLDOMNode *node); + + HRESULT (STDMETHODCALLTYPE *get_stylesheet)( + IXSLTemplate *This, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *createProcessor)( + IXSLTemplate *This, + IXSLProcessor **ppProcessor); + + END_INTERFACE +} IXSLTemplateVtbl; + +interface IXSLTemplate { + CONST_VTBL IXSLTemplateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXSLTemplate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXSLTemplate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXSLTemplate_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXSLTemplate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXSLTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXSLTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXSLTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXSLTemplate methods ***/ +#define IXSLTemplate_putref_stylesheet(This,node) (This)->lpVtbl->putref_stylesheet(This,node) +#define IXSLTemplate_get_stylesheet(This,node) (This)->lpVtbl->get_stylesheet(This,node) +#define IXSLTemplate_createProcessor(This,ppProcessor) (This)->lpVtbl->createProcessor(This,ppProcessor) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXSLTemplate_QueryInterface(IXSLTemplate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXSLTemplate_AddRef(IXSLTemplate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXSLTemplate_Release(IXSLTemplate* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXSLTemplate_GetTypeInfoCount(IXSLTemplate* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXSLTemplate_GetTypeInfo(IXSLTemplate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXSLTemplate_GetIDsOfNames(IXSLTemplate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXSLTemplate_Invoke(IXSLTemplate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXSLTemplate methods ***/ +static FORCEINLINE HRESULT IXSLTemplate_putref_stylesheet(IXSLTemplate* This,IXMLDOMNode *node) { + return This->lpVtbl->putref_stylesheet(This,node); +} +static FORCEINLINE HRESULT IXSLTemplate_get_stylesheet(IXSLTemplate* This,IXMLDOMNode **node) { + return This->lpVtbl->get_stylesheet(This,node); +} +static FORCEINLINE HRESULT IXSLTemplate_createProcessor(IXSLTemplate* This,IXSLProcessor **ppProcessor) { + return This->lpVtbl->createProcessor(This,ppProcessor); +} +#endif +#endif + +#endif + + +#endif /* __IXSLTemplate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLHTTPRequest interface + */ +#ifndef __IXMLHTTPRequest_INTERFACE_DEFINED__ +#define __IXMLHTTPRequest_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLHTTPRequest, 0xed8c108d, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ed8c108d-4349-11d2-91a4-00c04f7969e8") +IXMLHTTPRequest : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE open( + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password) = 0; + + virtual HRESULT STDMETHODCALLTYPE setRequestHeader( + BSTR bstrHeader, + BSTR bstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getResponseHeader( + BSTR bstrHeader, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAllResponseHeaders( + BSTR *pbstrHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE send( + VARIANT body) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + LONG *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_statusText( + BSTR *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseXML( + IDispatch **pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseText( + BSTR *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseBody( + VARIANT *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseStream( + VARIANT *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *pState) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + IDispatch *pReadyStateSink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLHTTPRequest, 0xed8c108d, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8) +#endif +#else +typedef struct IXMLHTTPRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLHTTPRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLHTTPRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLHTTPRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLHTTPRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLHTTPRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLHTTPRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLHTTPRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IXMLHTTPRequest *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IXMLHTTPRequest *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IXMLHTTPRequest *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLHTTPRequest *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IXMLHTTPRequest *This, + LONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IXMLHTTPRequest *This, + BSTR *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IXMLHTTPRequest *This, + IDispatch **pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IXMLHTTPRequest *This, + BSTR *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLHTTPRequest *This, + LONG *pState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLHTTPRequest *This, + IDispatch *pReadyStateSink); + + END_INTERFACE +} IXMLHTTPRequestVtbl; + +interface IXMLHTTPRequest { + CONST_VTBL IXMLHTTPRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLHTTPRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLHTTPRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLHTTPRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLHTTPRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLHTTPRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLHTTPRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLHTTPRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHTTPRequest methods ***/ +#define IXMLHTTPRequest_open(This,bstrMethod,bstrUrl,varAsync,username,password) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password) +#define IXMLHTTPRequest_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IXMLHTTPRequest_getResponseHeader(This,bstrHeader,value) (This)->lpVtbl->getResponseHeader(This,bstrHeader,value) +#define IXMLHTTPRequest_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IXMLHTTPRequest_send(This,body) (This)->lpVtbl->send(This,body) +#define IXMLHTTPRequest_abort(This) (This)->lpVtbl->abort(This) +#define IXMLHTTPRequest_get_status(This,pStatus) (This)->lpVtbl->get_status(This,pStatus) +#define IXMLHTTPRequest_get_statusText(This,pStatus) (This)->lpVtbl->get_statusText(This,pStatus) +#define IXMLHTTPRequest_get_responseXML(This,pBody) (This)->lpVtbl->get_responseXML(This,pBody) +#define IXMLHTTPRequest_get_responseText(This,pBody) (This)->lpVtbl->get_responseText(This,pBody) +#define IXMLHTTPRequest_get_responseBody(This,pBody) (This)->lpVtbl->get_responseBody(This,pBody) +#define IXMLHTTPRequest_get_responseStream(This,pBody) (This)->lpVtbl->get_responseStream(This,pBody) +#define IXMLHTTPRequest_get_readyState(This,pState) (This)->lpVtbl->get_readyState(This,pState) +#define IXMLHTTPRequest_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLHTTPRequest_QueryInterface(IXMLHTTPRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLHTTPRequest_AddRef(IXMLHTTPRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLHTTPRequest_Release(IXMLHTTPRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLHTTPRequest_GetTypeInfoCount(IXMLHTTPRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_GetTypeInfo(IXMLHTTPRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_GetIDsOfNames(IXMLHTTPRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_Invoke(IXMLHTTPRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IXMLHTTPRequest_open(IXMLHTTPRequest* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT username,VARIANT password) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_setRequestHeader(IXMLHTTPRequest* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_getResponseHeader(IXMLHTTPRequest* This,BSTR bstrHeader,BSTR *value) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,value); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_getAllResponseHeaders(IXMLHTTPRequest* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_send(IXMLHTTPRequest* This,VARIANT body) { + return This->lpVtbl->send(This,body); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_abort(IXMLHTTPRequest* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_status(IXMLHTTPRequest* This,LONG *pStatus) { + return This->lpVtbl->get_status(This,pStatus); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_statusText(IXMLHTTPRequest* This,BSTR *pStatus) { + return This->lpVtbl->get_statusText(This,pStatus); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseXML(IXMLHTTPRequest* This,IDispatch **pBody) { + return This->lpVtbl->get_responseXML(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseText(IXMLHTTPRequest* This,BSTR *pBody) { + return This->lpVtbl->get_responseText(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseBody(IXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseBody(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseStream(IXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseStream(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_readyState(IXMLHTTPRequest* This,LONG *pState) { + return This->lpVtbl->get_readyState(This,pState); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_put_onreadystatechange(IXMLHTTPRequest* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +#endif +#endif + +#endif + + +#endif /* __IXMLHTTPRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IServerXMLHTTPRequest interface + */ +#ifndef __IServerXMLHTTPRequest_INTERFACE_DEFINED__ +#define __IServerXMLHTTPRequest_INTERFACE_DEFINED__ + +typedef enum _SERVERXMLHTTP_OPTION { + SXH_OPTION_URL = -1, + SXH_OPTION_URL_CODEPAGE = 0, + SXH_OPTION_ESCAPE_PERCENT_IN_URL = 1, + SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS = 2, + SXH_OPTION_SELECT_CLIENT_SSL_CERT = 3 +} SERVERXMLHTTP_OPTION; +DEFINE_GUID(IID_IServerXMLHTTPRequest, 0x2e9196bf, 0x13ba, 0x4dd4, 0x91,0xca, 0x6c,0x57,0x1f,0x28,0x14,0x95); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2e9196bf-13ba-4dd4-91ca-6c571f281495") +IServerXMLHTTPRequest : public IXMLHTTPRequest +{ + virtual HRESULT STDMETHODCALLTYPE setTimeouts( + LONG resolveTimeout, + LONG connectTimeout, + LONG sendTimeout, + LONG receiveTimeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE waitForResponse( + VARIANT timeoutInSeconds, + VARIANT_BOOL *isSuccessful) = 0; + + virtual HRESULT STDMETHODCALLTYPE getOption( + SERVERXMLHTTP_OPTION option, + VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE setOption( + SERVERXMLHTTP_OPTION option, + VARIANT value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IServerXMLHTTPRequest, 0x2e9196bf, 0x13ba, 0x4dd4, 0x91,0xca, 0x6c,0x57,0x1f,0x28,0x14,0x95) +#endif +#else +typedef struct IServerXMLHTTPRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IServerXMLHTTPRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IServerXMLHTTPRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IServerXMLHTTPRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IServerXMLHTTPRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IServerXMLHTTPRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IServerXMLHTTPRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IServerXMLHTTPRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IServerXMLHTTPRequest *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IServerXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IServerXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IServerXMLHTTPRequest *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IServerXMLHTTPRequest *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *abort)( + IServerXMLHTTPRequest *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IServerXMLHTTPRequest *This, + LONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IServerXMLHTTPRequest *This, + BSTR *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IServerXMLHTTPRequest *This, + IDispatch **pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IServerXMLHTTPRequest *This, + BSTR *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IServerXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IServerXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IServerXMLHTTPRequest *This, + LONG *pState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IServerXMLHTTPRequest *This, + IDispatch *pReadyStateSink); + + /*** IServerXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *setTimeouts)( + IServerXMLHTTPRequest *This, + LONG resolveTimeout, + LONG connectTimeout, + LONG sendTimeout, + LONG receiveTimeout); + + HRESULT (STDMETHODCALLTYPE *waitForResponse)( + IServerXMLHTTPRequest *This, + VARIANT timeoutInSeconds, + VARIANT_BOOL *isSuccessful); + + HRESULT (STDMETHODCALLTYPE *getOption)( + IServerXMLHTTPRequest *This, + SERVERXMLHTTP_OPTION option, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *setOption)( + IServerXMLHTTPRequest *This, + SERVERXMLHTTP_OPTION option, + VARIANT value); + + END_INTERFACE +} IServerXMLHTTPRequestVtbl; + +interface IServerXMLHTTPRequest { + CONST_VTBL IServerXMLHTTPRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IServerXMLHTTPRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IServerXMLHTTPRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IServerXMLHTTPRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IServerXMLHTTPRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IServerXMLHTTPRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IServerXMLHTTPRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IServerXMLHTTPRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest_open(This,bstrMethod,bstrUrl,varAsync,username,password) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password) +#define IServerXMLHTTPRequest_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IServerXMLHTTPRequest_getResponseHeader(This,bstrHeader,value) (This)->lpVtbl->getResponseHeader(This,bstrHeader,value) +#define IServerXMLHTTPRequest_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IServerXMLHTTPRequest_send(This,body) (This)->lpVtbl->send(This,body) +#define IServerXMLHTTPRequest_abort(This) (This)->lpVtbl->abort(This) +#define IServerXMLHTTPRequest_get_status(This,pStatus) (This)->lpVtbl->get_status(This,pStatus) +#define IServerXMLHTTPRequest_get_statusText(This,pStatus) (This)->lpVtbl->get_statusText(This,pStatus) +#define IServerXMLHTTPRequest_get_responseXML(This,pBody) (This)->lpVtbl->get_responseXML(This,pBody) +#define IServerXMLHTTPRequest_get_responseText(This,pBody) (This)->lpVtbl->get_responseText(This,pBody) +#define IServerXMLHTTPRequest_get_responseBody(This,pBody) (This)->lpVtbl->get_responseBody(This,pBody) +#define IServerXMLHTTPRequest_get_responseStream(This,pBody) (This)->lpVtbl->get_responseStream(This,pBody) +#define IServerXMLHTTPRequest_get_readyState(This,pState) (This)->lpVtbl->get_readyState(This,pState) +#define IServerXMLHTTPRequest_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +/*** IServerXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest_setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) (This)->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) +#define IServerXMLHTTPRequest_waitForResponse(This,timeoutInSeconds,isSuccessful) (This)->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful) +#define IServerXMLHTTPRequest_getOption(This,option,value) (This)->lpVtbl->getOption(This,option,value) +#define IServerXMLHTTPRequest_setOption(This,option,value) (This)->lpVtbl->setOption(This,option,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_QueryInterface(IServerXMLHTTPRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest_AddRef(IServerXMLHTTPRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest_Release(IServerXMLHTTPRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_GetTypeInfoCount(IServerXMLHTTPRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_GetTypeInfo(IServerXMLHTTPRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_GetIDsOfNames(IServerXMLHTTPRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_Invoke(IServerXMLHTTPRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_open(IServerXMLHTTPRequest* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT username,VARIANT password) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_setRequestHeader(IServerXMLHTTPRequest* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_getResponseHeader(IServerXMLHTTPRequest* This,BSTR bstrHeader,BSTR *value) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_getAllResponseHeaders(IServerXMLHTTPRequest* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_send(IServerXMLHTTPRequest* This,VARIANT body) { + return This->lpVtbl->send(This,body); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_abort(IServerXMLHTTPRequest* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_status(IServerXMLHTTPRequest* This,LONG *pStatus) { + return This->lpVtbl->get_status(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_statusText(IServerXMLHTTPRequest* This,BSTR *pStatus) { + return This->lpVtbl->get_statusText(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseXML(IServerXMLHTTPRequest* This,IDispatch **pBody) { + return This->lpVtbl->get_responseXML(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseText(IServerXMLHTTPRequest* This,BSTR *pBody) { + return This->lpVtbl->get_responseText(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseBody(IServerXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseBody(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseStream(IServerXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseStream(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_readyState(IServerXMLHTTPRequest* This,LONG *pState) { + return This->lpVtbl->get_readyState(This,pState); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_put_onreadystatechange(IServerXMLHTTPRequest* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +/*** IServerXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_setTimeouts(IServerXMLHTTPRequest* This,LONG resolveTimeout,LONG connectTimeout,LONG sendTimeout,LONG receiveTimeout) { + return This->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_waitForResponse(IServerXMLHTTPRequest* This,VARIANT timeoutInSeconds,VARIANT_BOOL *isSuccessful) { + return This->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_getOption(IServerXMLHTTPRequest* This,SERVERXMLHTTP_OPTION option,VARIANT *value) { + return This->lpVtbl->getOption(This,option,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_setOption(IServerXMLHTTPRequest* This,SERVERXMLHTTP_OPTION option,VARIANT value) { + return This->lpVtbl->setOption(This,option,value); +} +#endif +#endif + +#endif + + +#endif /* __IServerXMLHTTPRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IServerXMLHTTPRequest2 interface + */ +#ifndef __IServerXMLHTTPRequest2_INTERFACE_DEFINED__ +#define __IServerXMLHTTPRequest2_INTERFACE_DEFINED__ + +typedef enum _SXH_PROXY_SETTING { + SXH_PROXY_SET_DEFAULT = 0, + SXH_PROXY_SET_PRECONFIG = 0, + SXH_PROXY_SET_DIRECT = 1, + SXH_PROXY_SET_PROXY = 2 +} SXH_PROXY_SETTING; +DEFINE_GUID(IID_IServerXMLHTTPRequest2, 0x2e01311b, 0xc322, 0x4b0a, 0xbd,0x77, 0xb9,0x0c,0xfd,0xc8,0xdc,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2e01311b-c322-4b0a-bd77-b90cfdc8dce7") +IServerXMLHTTPRequest2 : public IServerXMLHTTPRequest +{ + virtual HRESULT STDMETHODCALLTYPE setProxy( + SXH_PROXY_SETTING proxySetting, + VARIANT varProxyServer, + VARIANT varBypassList) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxyCredentials( + BSTR bstrUserName, + BSTR bstrPassword) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IServerXMLHTTPRequest2, 0x2e01311b, 0xc322, 0x4b0a, 0xbd,0x77, 0xb9,0x0c,0xfd,0xc8,0xdc,0xe7) +#endif +#else +typedef struct IServerXMLHTTPRequest2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IServerXMLHTTPRequest2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IServerXMLHTTPRequest2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IServerXMLHTTPRequest2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IServerXMLHTTPRequest2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IServerXMLHTTPRequest2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IServerXMLHTTPRequest2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IServerXMLHTTPRequest2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IServerXMLHTTPRequest2 *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IServerXMLHTTPRequest2 *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IServerXMLHTTPRequest2 *This, + BSTR bstrHeader, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IServerXMLHTTPRequest2 *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IServerXMLHTTPRequest2 *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *abort)( + IServerXMLHTTPRequest2 *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IServerXMLHTTPRequest2 *This, + LONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IServerXMLHTTPRequest2 *This, + BSTR *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IServerXMLHTTPRequest2 *This, + IDispatch **pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IServerXMLHTTPRequest2 *This, + BSTR *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IServerXMLHTTPRequest2 *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IServerXMLHTTPRequest2 *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IServerXMLHTTPRequest2 *This, + LONG *pState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IServerXMLHTTPRequest2 *This, + IDispatch *pReadyStateSink); + + /*** IServerXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *setTimeouts)( + IServerXMLHTTPRequest2 *This, + LONG resolveTimeout, + LONG connectTimeout, + LONG sendTimeout, + LONG receiveTimeout); + + HRESULT (STDMETHODCALLTYPE *waitForResponse)( + IServerXMLHTTPRequest2 *This, + VARIANT timeoutInSeconds, + VARIANT_BOOL *isSuccessful); + + HRESULT (STDMETHODCALLTYPE *getOption)( + IServerXMLHTTPRequest2 *This, + SERVERXMLHTTP_OPTION option, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *setOption)( + IServerXMLHTTPRequest2 *This, + SERVERXMLHTTP_OPTION option, + VARIANT value); + + /*** IServerXMLHTTPRequest2 methods ***/ + HRESULT (STDMETHODCALLTYPE *setProxy)( + IServerXMLHTTPRequest2 *This, + SXH_PROXY_SETTING proxySetting, + VARIANT varProxyServer, + VARIANT varBypassList); + + HRESULT (STDMETHODCALLTYPE *setProxyCredentials)( + IServerXMLHTTPRequest2 *This, + BSTR bstrUserName, + BSTR bstrPassword); + + END_INTERFACE +} IServerXMLHTTPRequest2Vtbl; + +interface IServerXMLHTTPRequest2 { + CONST_VTBL IServerXMLHTTPRequest2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IServerXMLHTTPRequest2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IServerXMLHTTPRequest2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IServerXMLHTTPRequest2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IServerXMLHTTPRequest2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IServerXMLHTTPRequest2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IServerXMLHTTPRequest2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IServerXMLHTTPRequest2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest2_open(This,bstrMethod,bstrUrl,varAsync,username,password) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password) +#define IServerXMLHTTPRequest2_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IServerXMLHTTPRequest2_getResponseHeader(This,bstrHeader,value) (This)->lpVtbl->getResponseHeader(This,bstrHeader,value) +#define IServerXMLHTTPRequest2_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IServerXMLHTTPRequest2_send(This,body) (This)->lpVtbl->send(This,body) +#define IServerXMLHTTPRequest2_abort(This) (This)->lpVtbl->abort(This) +#define IServerXMLHTTPRequest2_get_status(This,pStatus) (This)->lpVtbl->get_status(This,pStatus) +#define IServerXMLHTTPRequest2_get_statusText(This,pStatus) (This)->lpVtbl->get_statusText(This,pStatus) +#define IServerXMLHTTPRequest2_get_responseXML(This,pBody) (This)->lpVtbl->get_responseXML(This,pBody) +#define IServerXMLHTTPRequest2_get_responseText(This,pBody) (This)->lpVtbl->get_responseText(This,pBody) +#define IServerXMLHTTPRequest2_get_responseBody(This,pBody) (This)->lpVtbl->get_responseBody(This,pBody) +#define IServerXMLHTTPRequest2_get_responseStream(This,pBody) (This)->lpVtbl->get_responseStream(This,pBody) +#define IServerXMLHTTPRequest2_get_readyState(This,pState) (This)->lpVtbl->get_readyState(This,pState) +#define IServerXMLHTTPRequest2_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +/*** IServerXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest2_setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) (This)->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) +#define IServerXMLHTTPRequest2_waitForResponse(This,timeoutInSeconds,isSuccessful) (This)->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful) +#define IServerXMLHTTPRequest2_getOption(This,option,value) (This)->lpVtbl->getOption(This,option,value) +#define IServerXMLHTTPRequest2_setOption(This,option,value) (This)->lpVtbl->setOption(This,option,value) +/*** IServerXMLHTTPRequest2 methods ***/ +#define IServerXMLHTTPRequest2_setProxy(This,proxySetting,varProxyServer,varBypassList) (This)->lpVtbl->setProxy(This,proxySetting,varProxyServer,varBypassList) +#define IServerXMLHTTPRequest2_setProxyCredentials(This,bstrUserName,bstrPassword) (This)->lpVtbl->setProxyCredentials(This,bstrUserName,bstrPassword) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_QueryInterface(IServerXMLHTTPRequest2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest2_AddRef(IServerXMLHTTPRequest2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest2_Release(IServerXMLHTTPRequest2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_GetTypeInfoCount(IServerXMLHTTPRequest2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_GetTypeInfo(IServerXMLHTTPRequest2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_GetIDsOfNames(IServerXMLHTTPRequest2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_Invoke(IServerXMLHTTPRequest2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_open(IServerXMLHTTPRequest2* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT username,VARIANT password) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setRequestHeader(IServerXMLHTTPRequest2* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_getResponseHeader(IServerXMLHTTPRequest2* This,BSTR bstrHeader,BSTR *value) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_getAllResponseHeaders(IServerXMLHTTPRequest2* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_send(IServerXMLHTTPRequest2* This,VARIANT body) { + return This->lpVtbl->send(This,body); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_abort(IServerXMLHTTPRequest2* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_status(IServerXMLHTTPRequest2* This,LONG *pStatus) { + return This->lpVtbl->get_status(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_statusText(IServerXMLHTTPRequest2* This,BSTR *pStatus) { + return This->lpVtbl->get_statusText(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseXML(IServerXMLHTTPRequest2* This,IDispatch **pBody) { + return This->lpVtbl->get_responseXML(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseText(IServerXMLHTTPRequest2* This,BSTR *pBody) { + return This->lpVtbl->get_responseText(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseBody(IServerXMLHTTPRequest2* This,VARIANT *pBody) { + return This->lpVtbl->get_responseBody(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseStream(IServerXMLHTTPRequest2* This,VARIANT *pBody) { + return This->lpVtbl->get_responseStream(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_readyState(IServerXMLHTTPRequest2* This,LONG *pState) { + return This->lpVtbl->get_readyState(This,pState); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_put_onreadystatechange(IServerXMLHTTPRequest2* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +/*** IServerXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setTimeouts(IServerXMLHTTPRequest2* This,LONG resolveTimeout,LONG connectTimeout,LONG sendTimeout,LONG receiveTimeout) { + return This->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_waitForResponse(IServerXMLHTTPRequest2* This,VARIANT timeoutInSeconds,VARIANT_BOOL *isSuccessful) { + return This->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_getOption(IServerXMLHTTPRequest2* This,SERVERXMLHTTP_OPTION option,VARIANT *value) { + return This->lpVtbl->getOption(This,option,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setOption(IServerXMLHTTPRequest2* This,SERVERXMLHTTP_OPTION option,VARIANT value) { + return This->lpVtbl->setOption(This,option,value); +} +/*** IServerXMLHTTPRequest2 methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setProxy(IServerXMLHTTPRequest2* This,SXH_PROXY_SETTING proxySetting,VARIANT varProxyServer,VARIANT varBypassList) { + return This->lpVtbl->setProxy(This,proxySetting,varProxyServer,varBypassList); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setProxyCredentials(IServerXMLHTTPRequest2* This,BSTR bstrUserName,BSTR bstrPassword) { + return This->lpVtbl->setProxyCredentials(This,bstrUserName,bstrPassword); +} +#endif +#endif + +#endif + + +#endif /* __IServerXMLHTTPRequest2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseError interface + */ +#ifndef __IXMLDOMParseError_INTERFACE_DEFINED__ +#define __IXMLDOMParseError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseError, 0x3efaa426, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa426-272f-11d2-836f-0000f87a7782") +IXMLDOMParseError : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_errorCode( + LONG *errCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_reason( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_srcText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_line( + LONG *lineNo) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_linepos( + LONG *linePos) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filepos( + LONG *filePos) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseError, 0x3efaa426, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseError *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseError *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseError *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseError *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseError *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseError methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorCode)( + IXMLDOMParseError *This, + LONG *errCode); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_reason)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_srcText)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_line)( + IXMLDOMParseError *This, + LONG *lineNo); + + HRESULT (STDMETHODCALLTYPE *get_linepos)( + IXMLDOMParseError *This, + LONG *linePos); + + HRESULT (STDMETHODCALLTYPE *get_filepos)( + IXMLDOMParseError *This, + LONG *filePos); + + END_INTERFACE +} IXMLDOMParseErrorVtbl; + +interface IXMLDOMParseError { + CONST_VTBL IXMLDOMParseErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseError_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseError_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseError methods ***/ +#define IXMLDOMParseError_get_errorCode(This,errCode) (This)->lpVtbl->get_errorCode(This,errCode) +#define IXMLDOMParseError_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMParseError_get_reason(This,p) (This)->lpVtbl->get_reason(This,p) +#define IXMLDOMParseError_get_srcText(This,p) (This)->lpVtbl->get_srcText(This,p) +#define IXMLDOMParseError_get_line(This,lineNo) (This)->lpVtbl->get_line(This,lineNo) +#define IXMLDOMParseError_get_linepos(This,linePos) (This)->lpVtbl->get_linepos(This,linePos) +#define IXMLDOMParseError_get_filepos(This,filePos) (This)->lpVtbl->get_filepos(This,filePos) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_QueryInterface(IXMLDOMParseError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseError_AddRef(IXMLDOMParseError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseError_Release(IXMLDOMParseError* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_GetTypeInfoCount(IXMLDOMParseError* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_GetTypeInfo(IXMLDOMParseError* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_GetIDsOfNames(IXMLDOMParseError* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseError_Invoke(IXMLDOMParseError* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseError methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_get_errorCode(IXMLDOMParseError* This,LONG *errCode) { + return This->lpVtbl->get_errorCode(This,errCode); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_url(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_reason(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_reason(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_srcText(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_srcText(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_line(IXMLDOMParseError* This,LONG *lineNo) { + return This->lpVtbl->get_line(This,lineNo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_linepos(IXMLDOMParseError* This,LONG *linePos) { + return This->lpVtbl->get_linepos(This,linePos); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_filepos(IXMLDOMParseError* This,LONG *filePos) { + return This->lpVtbl->get_filepos(This,filePos); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseError2 interface + */ +#ifndef __IXMLDOMParseError2_INTERFACE_DEFINED__ +#define __IXMLDOMParseError2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseError2, 0x3efaa428, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa428-272f-11d2-836f-0000f87a7782") +IXMLDOMParseError2 : public IXMLDOMParseError +{ + virtual HRESULT STDMETHODCALLTYPE get_errorXPath( + BSTR *xpathexpr) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_allErrors( + IXMLDOMParseErrorCollection **allErrors) = 0; + + virtual HRESULT STDMETHODCALLTYPE errorParameters( + LONG index, + BSTR *param) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorParametersCount( + LONG *count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseError2, 0x3efaa428, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseError2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseError2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseError2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseError2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseError2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseError2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseError2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseError2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseError methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorCode)( + IXMLDOMParseError2 *This, + LONG *errCode); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMParseError2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_reason)( + IXMLDOMParseError2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_srcText)( + IXMLDOMParseError2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_line)( + IXMLDOMParseError2 *This, + LONG *lineNo); + + HRESULT (STDMETHODCALLTYPE *get_linepos)( + IXMLDOMParseError2 *This, + LONG *linePos); + + HRESULT (STDMETHODCALLTYPE *get_filepos)( + IXMLDOMParseError2 *This, + LONG *filePos); + + /*** IXMLDOMParseError2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorXPath)( + IXMLDOMParseError2 *This, + BSTR *xpathexpr); + + HRESULT (STDMETHODCALLTYPE *get_allErrors)( + IXMLDOMParseError2 *This, + IXMLDOMParseErrorCollection **allErrors); + + HRESULT (STDMETHODCALLTYPE *errorParameters)( + IXMLDOMParseError2 *This, + LONG index, + BSTR *param); + + HRESULT (STDMETHODCALLTYPE *get_errorParametersCount)( + IXMLDOMParseError2 *This, + LONG *count); + + END_INTERFACE +} IXMLDOMParseError2Vtbl; + +interface IXMLDOMParseError2 { + CONST_VTBL IXMLDOMParseError2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseError2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseError2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseError2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseError2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseError2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseError2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseError2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseError methods ***/ +#define IXMLDOMParseError2_get_errorCode(This,errCode) (This)->lpVtbl->get_errorCode(This,errCode) +#define IXMLDOMParseError2_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMParseError2_get_reason(This,p) (This)->lpVtbl->get_reason(This,p) +#define IXMLDOMParseError2_get_srcText(This,p) (This)->lpVtbl->get_srcText(This,p) +#define IXMLDOMParseError2_get_line(This,lineNo) (This)->lpVtbl->get_line(This,lineNo) +#define IXMLDOMParseError2_get_linepos(This,linePos) (This)->lpVtbl->get_linepos(This,linePos) +#define IXMLDOMParseError2_get_filepos(This,filePos) (This)->lpVtbl->get_filepos(This,filePos) +/*** IXMLDOMParseError2 methods ***/ +#define IXMLDOMParseError2_get_errorXPath(This,xpathexpr) (This)->lpVtbl->get_errorXPath(This,xpathexpr) +#define IXMLDOMParseError2_get_allErrors(This,allErrors) (This)->lpVtbl->get_allErrors(This,allErrors) +#define IXMLDOMParseError2_errorParameters(This,index,param) (This)->lpVtbl->errorParameters(This,index,param) +#define IXMLDOMParseError2_get_errorParametersCount(This,count) (This)->lpVtbl->get_errorParametersCount(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_QueryInterface(IXMLDOMParseError2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseError2_AddRef(IXMLDOMParseError2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseError2_Release(IXMLDOMParseError2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_GetTypeInfoCount(IXMLDOMParseError2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_GetTypeInfo(IXMLDOMParseError2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_GetIDsOfNames(IXMLDOMParseError2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_Invoke(IXMLDOMParseError2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseError methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_get_errorCode(IXMLDOMParseError2* This,LONG *errCode) { + return This->lpVtbl->get_errorCode(This,errCode); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_url(IXMLDOMParseError2* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_reason(IXMLDOMParseError2* This,BSTR *p) { + return This->lpVtbl->get_reason(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_srcText(IXMLDOMParseError2* This,BSTR *p) { + return This->lpVtbl->get_srcText(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_line(IXMLDOMParseError2* This,LONG *lineNo) { + return This->lpVtbl->get_line(This,lineNo); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_linepos(IXMLDOMParseError2* This,LONG *linePos) { + return This->lpVtbl->get_linepos(This,linePos); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_filepos(IXMLDOMParseError2* This,LONG *filePos) { + return This->lpVtbl->get_filepos(This,filePos); +} +/*** IXMLDOMParseError2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_get_errorXPath(IXMLDOMParseError2* This,BSTR *xpathexpr) { + return This->lpVtbl->get_errorXPath(This,xpathexpr); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_allErrors(IXMLDOMParseError2* This,IXMLDOMParseErrorCollection **allErrors) { + return This->lpVtbl->get_allErrors(This,allErrors); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_errorParameters(IXMLDOMParseError2* This,LONG index,BSTR *param) { + return This->lpVtbl->errorParameters(This,index,param); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_errorParametersCount(IXMLDOMParseError2* This,LONG *count) { + return This->lpVtbl->get_errorParametersCount(This,count); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseError2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseErrorCollection interface + */ +#ifndef __IXMLDOMParseErrorCollection_INTERFACE_DEFINED__ +#define __IXMLDOMParseErrorCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseErrorCollection, 0x3efaa429, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa429-272f-11d2-836f-0000f87a7782") +IXMLDOMParseErrorCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + IXMLDOMParseError2 **error) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_next( + IXMLDOMParseError2 **error) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseErrorCollection, 0x3efaa429, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseErrorCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseErrorCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseErrorCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseErrorCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseErrorCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseErrorCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseErrorCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseErrorCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseErrorCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMParseErrorCollection *This, + LONG index, + IXMLDOMParseError2 **error); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMParseErrorCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get_next)( + IXMLDOMParseErrorCollection *This, + IXMLDOMParseError2 **error); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMParseErrorCollection *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMParseErrorCollection *This, + IUnknown **ppunk); + + END_INTERFACE +} IXMLDOMParseErrorCollectionVtbl; + +interface IXMLDOMParseErrorCollection { + CONST_VTBL IXMLDOMParseErrorCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseErrorCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseErrorCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseErrorCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseErrorCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseErrorCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseErrorCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseErrorCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseErrorCollection methods ***/ +#define IXMLDOMParseErrorCollection_get_item(This,index,error) (This)->lpVtbl->get_item(This,index,error) +#define IXMLDOMParseErrorCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IXMLDOMParseErrorCollection_get_next(This,error) (This)->lpVtbl->get_next(This,error) +#define IXMLDOMParseErrorCollection_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMParseErrorCollection_get__newEnum(This,ppunk) (This)->lpVtbl->get__newEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_QueryInterface(IXMLDOMParseErrorCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseErrorCollection_AddRef(IXMLDOMParseErrorCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseErrorCollection_Release(IXMLDOMParseErrorCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_GetTypeInfoCount(IXMLDOMParseErrorCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_GetTypeInfo(IXMLDOMParseErrorCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_GetIDsOfNames(IXMLDOMParseErrorCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_Invoke(IXMLDOMParseErrorCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseErrorCollection methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get_item(IXMLDOMParseErrorCollection* This,LONG index,IXMLDOMParseError2 **error) { + return This->lpVtbl->get_item(This,index,error); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get_length(IXMLDOMParseErrorCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get_next(IXMLDOMParseErrorCollection* This,IXMLDOMParseError2 **error) { + return This->lpVtbl->get_next(This,error); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_reset(IXMLDOMParseErrorCollection* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get__newEnum(IXMLDOMParseErrorCollection* This,IUnknown **ppunk) { + return This->lpVtbl->get__newEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseErrorCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DOMDocument26 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument26, 0xf5078f1b, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1b-c551-11d3-89b9-0000f81fe221") DOMDocument26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument26, 0xf5078f1b, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * DOMDocument30 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument30, 0xf5078f32, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f32-c551-11d3-89b9-0000f81fe221") DOMDocument30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument30, 0xf5078f32, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * DOMDocument40 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument40, 0x88d969c0, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c0-f192-11d4-a65f-0040963251e5") DOMDocument40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument40, 0x88d969c0, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * DOMDocument60 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument60, 0x88d96a05, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a05-f192-11d4-a65f-0040963251e5") DOMDocument60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument60, 0x88d96a05, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * DOMDocument coclass + */ + +DEFINE_GUID(CLSID_DOMDocument, 0xf6d90f11, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4); + +#ifdef __cplusplus +class DECLSPEC_UUID("f6d90f11-9c73-11d3-b32e-00c04f990bb4") DOMDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument, 0xf6d90f11, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument26 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument26, 0xf5078f1c, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1c-c551-11d3-89b9-0000f81fe221") FreeThreadedDOMDocument26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument26, 0xf5078f1c, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument30 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument30, 0xf5078f33, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f33-c551-11d3-89b9-0000f81fe221") FreeThreadedDOMDocument30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument30, 0xf5078f33, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument40 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument40, 0x88d969c1, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c1-f192-11d4-a65f-0040963251e5") FreeThreadedDOMDocument40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument40, 0x88d969c1, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument60 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a06-f192-11d4-a65f-0040963251e5") FreeThreadedDOMDocument60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument, 0xf6d90f12, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4); + +#ifdef __cplusplus +class DECLSPEC_UUID("f6d90f12-9c73-11d3-b32e-00c04f990bb4") FreeThreadedDOMDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument, 0xf6d90f12, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4) +#endif +#endif + +/***************************************************************************** + * XMLHTTP26 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP26, 0xf5078f1e, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1e-c551-11d3-89b9-0000f81fe221") XMLHTTP26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP26, 0xf5078f1e, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLHTTP30 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP30, 0xf5078f35, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f35-c551-11d3-89b9-0000f81fe221") XMLHTTP30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP30, 0xf5078f35, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLHTTP40 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP40, 0x88d969c5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c5-f192-11d4-a65f-0040963251e5") XMLHTTP40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP40, 0x88d969c5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLHTTP60 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0a-f192-11d4-a65f-0040963251e5") XMLHTTP60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLHTTP coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP, 0xf6d90f16, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4); + +#ifdef __cplusplus +class DECLSPEC_UUID("f6d90f16-9c73-11d3-b32e-00c04f990bb4") XMLHTTP; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP, 0xf6d90f16, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP30 coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP30, 0xafb40ffd, 0xb609, 0x40a3, 0x98,0x28, 0xf8,0x8b,0xbe,0x11,0xe4,0xe3); + +#ifdef __cplusplus +class DECLSPEC_UUID("afb40ffd-b609-40a3-9828-f88bbe11e4e3") ServerXMLHTTP30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP30, 0xafb40ffd, 0xb609, 0x40a3, 0x98,0x28, 0xf8,0x8b,0xbe,0x11,0xe4,0xe3) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP40 coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP40, 0x88d969c6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c6-f192-11d4-a65f-0040963251e5") ServerXMLHTTP40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP40, 0x88d969c6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP60 coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0b-f192-11d4-a65f-0040963251e5") ServerXMLHTTP60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP, 0xafba6b42, 0x5692, 0x48ea, 0x81,0x41, 0xdc,0x51,0x7d,0xcf,0x0e,0xf1); + +#ifdef __cplusplus +class DECLSPEC_UUID("afba6b42-5692-48ea-8141-dc517dcf0ef1") ServerXMLHTTP; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP, 0xafba6b42, 0x5692, 0x48ea, 0x81,0x41, 0xdc,0x51,0x7d,0xcf,0x0e,0xf1) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache26 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache26, 0xf5078f1d, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1d-c551-11d3-89b9-0000f81fe221") XMLSchemaCache26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache26, 0xf5078f1d, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache30 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache30, 0xf5078f34, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f34-c551-11d3-89b9-0000f81fe221") XMLSchemaCache30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache30, 0xf5078f34, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache40 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache40, 0x88d969c2, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c2-f192-11d4-a65f-0040963251e5") XMLSchemaCache40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache40, 0x88d969c2, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache60 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache60, 0x88d96a07, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a07-f192-11d4-a65f-0040963251e5") XMLSchemaCache60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache60, 0x88d96a07, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache, 0x373984c9, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde); + +#ifdef __cplusplus +class DECLSPEC_UUID("373984c9-b845-449b-91e7-45ac83036ade") XMLSchemaCache; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache, 0x373984c9, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde) +#endif +#endif + +/***************************************************************************** + * XSLTemplate26 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate26, 0xf5078f21, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f21-c551-11d3-89b9-0000f81fe221") XSLTemplate26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate26, 0xf5078f21, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XSLTemplate30 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate30, 0xf5078f36, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f36-c551-11d3-89b9-0000f81fe221") XSLTemplate30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate30, 0xf5078f36, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XSLTemplate40 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate40, 0x88d969c3, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c3-f192-11d4-a65f-0040963251e5") XSLTemplate40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate40, 0x88d969c3, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XSLTemplate60 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a08-f192-11d4-a65f-0040963251e5") XSLTemplate60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XSLTemplate coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate, 0x2933bf94, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); + +#ifdef __cplusplus +class DECLSPEC_UUID("2933bf94-7b36-11d2-b20e-00c04f983e60") XSLTemplate; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate, 0x2933bf94, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#endif + +/***************************************************************************** + * ISAXAttributes interface + */ +#ifndef __ISAXAttributes_INTERFACE_DEFINED__ +#define __ISAXAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXAttributes, 0xf078abe1, 0x45d2, 0x4832, 0x91,0xea, 0x44,0x66,0xce,0x2f,0x25,0xc9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f078abe1-45d2-4832-91ea-4466ce2f25c9") +ISAXAttributes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE getLength( + int *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + int nIndex, + const WCHAR **pUrl, + int *pUriSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE getLocalName( + int nIndex, + const WCHAR **pLocalName, + int *pLocalNameLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQName( + int nIndex, + const WCHAR **pQName, + int *pQNameLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getName( + int nIndex, + const WCHAR **pUri, + int *pUriLength, + const WCHAR **pLocalName, + int *pLocalNameSize, + const WCHAR **pQName, + int *pQNameLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromName( + const WCHAR *pUri, + int cUriLength, + const WCHAR *pLocalName, + int cocalNameLength, + int *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromQName( + const WCHAR *pQName, + int nQNameLength, + int *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE getType( + int nIndex, + const WCHAR **pType, + int *pTypeLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromName( + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pType, + int *nType) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromQName( + const WCHAR *pQName, + int nQName, + const WCHAR **pType, + int *nType) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValue( + int nIndex, + const WCHAR **pValue, + int *nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromName( + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pValue, + int *nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromQName( + const WCHAR *pQName, + int nQName, + const WCHAR **pValue, + int *nValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXAttributes, 0xf078abe1, 0x45d2, 0x4832, 0x91,0xea, 0x44,0x66,0xce,0x2f,0x25,0xc9) +#endif +#else +typedef struct ISAXAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXAttributes *This); + + /*** ISAXAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *getLength)( + ISAXAttributes *This, + int *length); + + HRESULT (STDMETHODCALLTYPE *getURI)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pUrl, + int *pUriSize); + + HRESULT (STDMETHODCALLTYPE *getLocalName)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pLocalName, + int *pLocalNameLength); + + HRESULT (STDMETHODCALLTYPE *getQName)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pQName, + int *pQNameLength); + + HRESULT (STDMETHODCALLTYPE *getName)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pUri, + int *pUriLength, + const WCHAR **pLocalName, + int *pLocalNameSize, + const WCHAR **pQName, + int *pQNameLength); + + HRESULT (STDMETHODCALLTYPE *getIndexFromName)( + ISAXAttributes *This, + const WCHAR *pUri, + int cUriLength, + const WCHAR *pLocalName, + int cocalNameLength, + int *index); + + HRESULT (STDMETHODCALLTYPE *getIndexFromQName)( + ISAXAttributes *This, + const WCHAR *pQName, + int nQNameLength, + int *index); + + HRESULT (STDMETHODCALLTYPE *getType)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pType, + int *pTypeLength); + + HRESULT (STDMETHODCALLTYPE *getTypeFromName)( + ISAXAttributes *This, + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pType, + int *nType); + + HRESULT (STDMETHODCALLTYPE *getTypeFromQName)( + ISAXAttributes *This, + const WCHAR *pQName, + int nQName, + const WCHAR **pType, + int *nType); + + HRESULT (STDMETHODCALLTYPE *getValue)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pValue, + int *nValue); + + HRESULT (STDMETHODCALLTYPE *getValueFromName)( + ISAXAttributes *This, + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pValue, + int *nValue); + + HRESULT (STDMETHODCALLTYPE *getValueFromQName)( + ISAXAttributes *This, + const WCHAR *pQName, + int nQName, + const WCHAR **pValue, + int *nValue); + + END_INTERFACE +} ISAXAttributesVtbl; + +interface ISAXAttributes { + CONST_VTBL ISAXAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXAttributes methods ***/ +#define ISAXAttributes_getLength(This,length) (This)->lpVtbl->getLength(This,length) +#define ISAXAttributes_getURI(This,nIndex,pUrl,pUriSize) (This)->lpVtbl->getURI(This,nIndex,pUrl,pUriSize) +#define ISAXAttributes_getLocalName(This,nIndex,pLocalName,pLocalNameLength) (This)->lpVtbl->getLocalName(This,nIndex,pLocalName,pLocalNameLength) +#define ISAXAttributes_getQName(This,nIndex,pQName,pQNameLength) (This)->lpVtbl->getQName(This,nIndex,pQName,pQNameLength) +#define ISAXAttributes_getName(This,nIndex,pUri,pUriLength,pLocalName,pLocalNameSize,pQName,pQNameLength) (This)->lpVtbl->getName(This,nIndex,pUri,pUriLength,pLocalName,pLocalNameSize,pQName,pQNameLength) +#define ISAXAttributes_getIndexFromName(This,pUri,cUriLength,pLocalName,cocalNameLength,index) (This)->lpVtbl->getIndexFromName(This,pUri,cUriLength,pLocalName,cocalNameLength,index) +#define ISAXAttributes_getIndexFromQName(This,pQName,nQNameLength,index) (This)->lpVtbl->getIndexFromQName(This,pQName,nQNameLength,index) +#define ISAXAttributes_getType(This,nIndex,pType,pTypeLength) (This)->lpVtbl->getType(This,nIndex,pType,pTypeLength) +#define ISAXAttributes_getTypeFromName(This,pUri,nUri,pLocalName,nLocalName,pType,nType) (This)->lpVtbl->getTypeFromName(This,pUri,nUri,pLocalName,nLocalName,pType,nType) +#define ISAXAttributes_getTypeFromQName(This,pQName,nQName,pType,nType) (This)->lpVtbl->getTypeFromQName(This,pQName,nQName,pType,nType) +#define ISAXAttributes_getValue(This,nIndex,pValue,nValue) (This)->lpVtbl->getValue(This,nIndex,pValue,nValue) +#define ISAXAttributes_getValueFromName(This,pUri,nUri,pLocalName,nLocalName,pValue,nValue) (This)->lpVtbl->getValueFromName(This,pUri,nUri,pLocalName,nLocalName,pValue,nValue) +#define ISAXAttributes_getValueFromQName(This,pQName,nQName,pValue,nValue) (This)->lpVtbl->getValueFromQName(This,pQName,nQName,pValue,nValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXAttributes_QueryInterface(ISAXAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXAttributes_AddRef(ISAXAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXAttributes_Release(ISAXAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXAttributes methods ***/ +static FORCEINLINE HRESULT ISAXAttributes_getLength(ISAXAttributes* This,int *length) { + return This->lpVtbl->getLength(This,length); +} +static FORCEINLINE HRESULT ISAXAttributes_getURI(ISAXAttributes* This,int nIndex,const WCHAR **pUrl,int *pUriSize) { + return This->lpVtbl->getURI(This,nIndex,pUrl,pUriSize); +} +static FORCEINLINE HRESULT ISAXAttributes_getLocalName(ISAXAttributes* This,int nIndex,const WCHAR **pLocalName,int *pLocalNameLength) { + return This->lpVtbl->getLocalName(This,nIndex,pLocalName,pLocalNameLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getQName(ISAXAttributes* This,int nIndex,const WCHAR **pQName,int *pQNameLength) { + return This->lpVtbl->getQName(This,nIndex,pQName,pQNameLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getName(ISAXAttributes* This,int nIndex,const WCHAR **pUri,int *pUriLength,const WCHAR **pLocalName,int *pLocalNameSize,const WCHAR **pQName,int *pQNameLength) { + return This->lpVtbl->getName(This,nIndex,pUri,pUriLength,pLocalName,pLocalNameSize,pQName,pQNameLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getIndexFromName(ISAXAttributes* This,const WCHAR *pUri,int cUriLength,const WCHAR *pLocalName,int cocalNameLength,int *index) { + return This->lpVtbl->getIndexFromName(This,pUri,cUriLength,pLocalName,cocalNameLength,index); +} +static FORCEINLINE HRESULT ISAXAttributes_getIndexFromQName(ISAXAttributes* This,const WCHAR *pQName,int nQNameLength,int *index) { + return This->lpVtbl->getIndexFromQName(This,pQName,nQNameLength,index); +} +static FORCEINLINE HRESULT ISAXAttributes_getType(ISAXAttributes* This,int nIndex,const WCHAR **pType,int *pTypeLength) { + return This->lpVtbl->getType(This,nIndex,pType,pTypeLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getTypeFromName(ISAXAttributes* This,const WCHAR *pUri,int nUri,const WCHAR *pLocalName,int nLocalName,const WCHAR **pType,int *nType) { + return This->lpVtbl->getTypeFromName(This,pUri,nUri,pLocalName,nLocalName,pType,nType); +} +static FORCEINLINE HRESULT ISAXAttributes_getTypeFromQName(ISAXAttributes* This,const WCHAR *pQName,int nQName,const WCHAR **pType,int *nType) { + return This->lpVtbl->getTypeFromQName(This,pQName,nQName,pType,nType); +} +static FORCEINLINE HRESULT ISAXAttributes_getValue(ISAXAttributes* This,int nIndex,const WCHAR **pValue,int *nValue) { + return This->lpVtbl->getValue(This,nIndex,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXAttributes_getValueFromName(ISAXAttributes* This,const WCHAR *pUri,int nUri,const WCHAR *pLocalName,int nLocalName,const WCHAR **pValue,int *nValue) { + return This->lpVtbl->getValueFromName(This,pUri,nUri,pLocalName,nLocalName,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXAttributes_getValueFromQName(ISAXAttributes* This,const WCHAR *pQName,int nQName,const WCHAR **pValue,int *nValue) { + return This->lpVtbl->getValueFromQName(This,pQName,nQName,pValue,nValue); +} +#endif +#endif + +#endif + + +#endif /* __ISAXAttributes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXContentHandler interface + */ +#ifndef __ISAXContentHandler_INTERFACE_DEFINED__ +#define __ISAXContentHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXContentHandler, 0x1545cdfa, 0x9e4e, 0x4497, 0xa8,0xa4, 0x2b,0xf7,0xd0,0x11,0x2c,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1545cdfa-9e4e-4497-a8a4-2bf7d0112c44") +ISAXContentHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE putDocumentLocator( + ISAXLocator *pLocator) = 0; + + virtual HRESULT STDMETHODCALLTYPE startDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startPrefixMapping( + const WCHAR *pPrefix, + int nPrefix, + const WCHAR *pUri, + int nUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE endPrefixMapping( + const WCHAR *pPrefix, + int nPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE startElement( + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName, + ISAXAttributes *pAttr) = 0; + + virtual HRESULT STDMETHODCALLTYPE endElement( + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName) = 0; + + virtual HRESULT STDMETHODCALLTYPE characters( + const WCHAR *pChars, + int nChars) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWhitespace( + const WCHAR *pChars, + int nChars) = 0; + + virtual HRESULT STDMETHODCALLTYPE processingInstruction( + const WCHAR *pTarget, + int nTarget, + const WCHAR *pData, + int nData) = 0; + + virtual HRESULT STDMETHODCALLTYPE skippedEntity( + const WCHAR *pName, + int nName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXContentHandler, 0x1545cdfa, 0x9e4e, 0x4497, 0xa8,0xa4, 0x2b,0xf7,0xd0,0x11,0x2c,0x44) +#endif +#else +typedef struct ISAXContentHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXContentHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXContentHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXContentHandler *This); + + /*** ISAXContentHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *putDocumentLocator)( + ISAXContentHandler *This, + ISAXLocator *pLocator); + + HRESULT (STDMETHODCALLTYPE *startDocument)( + ISAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *endDocument)( + ISAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *startPrefixMapping)( + ISAXContentHandler *This, + const WCHAR *pPrefix, + int nPrefix, + const WCHAR *pUri, + int nUri); + + HRESULT (STDMETHODCALLTYPE *endPrefixMapping)( + ISAXContentHandler *This, + const WCHAR *pPrefix, + int nPrefix); + + HRESULT (STDMETHODCALLTYPE *startElement)( + ISAXContentHandler *This, + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName, + ISAXAttributes *pAttr); + + HRESULT (STDMETHODCALLTYPE *endElement)( + ISAXContentHandler *This, + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName); + + HRESULT (STDMETHODCALLTYPE *characters)( + ISAXContentHandler *This, + const WCHAR *pChars, + int nChars); + + HRESULT (STDMETHODCALLTYPE *ignorableWhitespace)( + ISAXContentHandler *This, + const WCHAR *pChars, + int nChars); + + HRESULT (STDMETHODCALLTYPE *processingInstruction)( + ISAXContentHandler *This, + const WCHAR *pTarget, + int nTarget, + const WCHAR *pData, + int nData); + + HRESULT (STDMETHODCALLTYPE *skippedEntity)( + ISAXContentHandler *This, + const WCHAR *pName, + int nName); + + END_INTERFACE +} ISAXContentHandlerVtbl; + +interface ISAXContentHandler { + CONST_VTBL ISAXContentHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXContentHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXContentHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXContentHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXContentHandler methods ***/ +#define ISAXContentHandler_putDocumentLocator(This,pLocator) (This)->lpVtbl->putDocumentLocator(This,pLocator) +#define ISAXContentHandler_startDocument(This) (This)->lpVtbl->startDocument(This) +#define ISAXContentHandler_endDocument(This) (This)->lpVtbl->endDocument(This) +#define ISAXContentHandler_startPrefixMapping(This,pPrefix,nPrefix,pUri,nUri) (This)->lpVtbl->startPrefixMapping(This,pPrefix,nPrefix,pUri,nUri) +#define ISAXContentHandler_endPrefixMapping(This,pPrefix,nPrefix) (This)->lpVtbl->endPrefixMapping(This,pPrefix,nPrefix) +#define ISAXContentHandler_startElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName,pAttr) (This)->lpVtbl->startElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName,pAttr) +#define ISAXContentHandler_endElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName) (This)->lpVtbl->endElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName) +#define ISAXContentHandler_characters(This,pChars,nChars) (This)->lpVtbl->characters(This,pChars,nChars) +#define ISAXContentHandler_ignorableWhitespace(This,pChars,nChars) (This)->lpVtbl->ignorableWhitespace(This,pChars,nChars) +#define ISAXContentHandler_processingInstruction(This,pTarget,nTarget,pData,nData) (This)->lpVtbl->processingInstruction(This,pTarget,nTarget,pData,nData) +#define ISAXContentHandler_skippedEntity(This,pName,nName) (This)->lpVtbl->skippedEntity(This,pName,nName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXContentHandler_QueryInterface(ISAXContentHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXContentHandler_AddRef(ISAXContentHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXContentHandler_Release(ISAXContentHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXContentHandler methods ***/ +static FORCEINLINE HRESULT ISAXContentHandler_putDocumentLocator(ISAXContentHandler* This,ISAXLocator *pLocator) { + return This->lpVtbl->putDocumentLocator(This,pLocator); +} +static FORCEINLINE HRESULT ISAXContentHandler_startDocument(ISAXContentHandler* This) { + return This->lpVtbl->startDocument(This); +} +static FORCEINLINE HRESULT ISAXContentHandler_endDocument(ISAXContentHandler* This) { + return This->lpVtbl->endDocument(This); +} +static FORCEINLINE HRESULT ISAXContentHandler_startPrefixMapping(ISAXContentHandler* This,const WCHAR *pPrefix,int nPrefix,const WCHAR *pUri,int nUri) { + return This->lpVtbl->startPrefixMapping(This,pPrefix,nPrefix,pUri,nUri); +} +static FORCEINLINE HRESULT ISAXContentHandler_endPrefixMapping(ISAXContentHandler* This,const WCHAR *pPrefix,int nPrefix) { + return This->lpVtbl->endPrefixMapping(This,pPrefix,nPrefix); +} +static FORCEINLINE HRESULT ISAXContentHandler_startElement(ISAXContentHandler* This,const WCHAR *pNamespaceUri,int nNamespaceUri,const WCHAR *pLocalName,int nLocalName,const WCHAR *pQName,int nQName,ISAXAttributes *pAttr) { + return This->lpVtbl->startElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName,pAttr); +} +static FORCEINLINE HRESULT ISAXContentHandler_endElement(ISAXContentHandler* This,const WCHAR *pNamespaceUri,int nNamespaceUri,const WCHAR *pLocalName,int nLocalName,const WCHAR *pQName,int nQName) { + return This->lpVtbl->endElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName); +} +static FORCEINLINE HRESULT ISAXContentHandler_characters(ISAXContentHandler* This,const WCHAR *pChars,int nChars) { + return This->lpVtbl->characters(This,pChars,nChars); +} +static FORCEINLINE HRESULT ISAXContentHandler_ignorableWhitespace(ISAXContentHandler* This,const WCHAR *pChars,int nChars) { + return This->lpVtbl->ignorableWhitespace(This,pChars,nChars); +} +static FORCEINLINE HRESULT ISAXContentHandler_processingInstruction(ISAXContentHandler* This,const WCHAR *pTarget,int nTarget,const WCHAR *pData,int nData) { + return This->lpVtbl->processingInstruction(This,pTarget,nTarget,pData,nData); +} +static FORCEINLINE HRESULT ISAXContentHandler_skippedEntity(ISAXContentHandler* This,const WCHAR *pName,int nName) { + return This->lpVtbl->skippedEntity(This,pName,nName); +} +#endif +#endif + +#endif + + +#endif /* __ISAXContentHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXDeclHandler interface + */ +#ifndef __ISAXDeclHandler_INTERFACE_DEFINED__ +#define __ISAXDeclHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXDeclHandler, 0x862629ac, 0x771a, 0x47b2, 0x83,0x37, 0x4e,0x68,0x43,0xc1,0xbe,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("862629ac-771a-47b2-8337-4e6843c1be90") +ISAXDeclHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE elementDecl( + const WCHAR *pName, + int nName, + const WCHAR *pModel, + int nModel) = 0; + + virtual HRESULT STDMETHODCALLTYPE attributeDecl( + const WCHAR *pElementName, + int nElementName, + const WCHAR *pAttributeName, + int nAttributeName, + const WCHAR *pType, + int nType, + const WCHAR *pValueDefault, + int nValueDefault, + const WCHAR *pValue, + int nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE internalEntityDecl( + const WCHAR *pName, + int nName, + const WCHAR *pValue, + int nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE externalEntityDecl( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXDeclHandler, 0x862629ac, 0x771a, 0x47b2, 0x83,0x37, 0x4e,0x68,0x43,0xc1,0xbe,0x90) +#endif +#else +typedef struct ISAXDeclHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXDeclHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXDeclHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXDeclHandler *This); + + /*** ISAXDeclHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *elementDecl)( + ISAXDeclHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pModel, + int nModel); + + HRESULT (STDMETHODCALLTYPE *attributeDecl)( + ISAXDeclHandler *This, + const WCHAR *pElementName, + int nElementName, + const WCHAR *pAttributeName, + int nAttributeName, + const WCHAR *pType, + int nType, + const WCHAR *pValueDefault, + int nValueDefault, + const WCHAR *pValue, + int nValue); + + HRESULT (STDMETHODCALLTYPE *internalEntityDecl)( + ISAXDeclHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pValue, + int nValue); + + HRESULT (STDMETHODCALLTYPE *externalEntityDecl)( + ISAXDeclHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId); + + END_INTERFACE +} ISAXDeclHandlerVtbl; + +interface ISAXDeclHandler { + CONST_VTBL ISAXDeclHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXDeclHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXDeclHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXDeclHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXDeclHandler methods ***/ +#define ISAXDeclHandler_elementDecl(This,pName,nName,pModel,nModel) (This)->lpVtbl->elementDecl(This,pName,nName,pModel,nModel) +#define ISAXDeclHandler_attributeDecl(This,pElementName,nElementName,pAttributeName,nAttributeName,pType,nType,pValueDefault,nValueDefault,pValue,nValue) (This)->lpVtbl->attributeDecl(This,pElementName,nElementName,pAttributeName,nAttributeName,pType,nType,pValueDefault,nValueDefault,pValue,nValue) +#define ISAXDeclHandler_internalEntityDecl(This,pName,nName,pValue,nValue) (This)->lpVtbl->internalEntityDecl(This,pName,nName,pValue,nValue) +#define ISAXDeclHandler_externalEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) (This)->lpVtbl->externalEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXDeclHandler_QueryInterface(ISAXDeclHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXDeclHandler_AddRef(ISAXDeclHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXDeclHandler_Release(ISAXDeclHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXDeclHandler methods ***/ +static FORCEINLINE HRESULT ISAXDeclHandler_elementDecl(ISAXDeclHandler* This,const WCHAR *pName,int nName,const WCHAR *pModel,int nModel) { + return This->lpVtbl->elementDecl(This,pName,nName,pModel,nModel); +} +static FORCEINLINE HRESULT ISAXDeclHandler_attributeDecl(ISAXDeclHandler* This,const WCHAR *pElementName,int nElementName,const WCHAR *pAttributeName,int nAttributeName,const WCHAR *pType,int nType,const WCHAR *pValueDefault,int nValueDefault,const WCHAR *pValue,int nValue) { + return This->lpVtbl->attributeDecl(This,pElementName,nElementName,pAttributeName,nAttributeName,pType,nType,pValueDefault,nValueDefault,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXDeclHandler_internalEntityDecl(ISAXDeclHandler* This,const WCHAR *pName,int nName,const WCHAR *pValue,int nValue) { + return This->lpVtbl->internalEntityDecl(This,pName,nName,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXDeclHandler_externalEntityDecl(ISAXDeclHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId) { + return This->lpVtbl->externalEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId); +} +#endif +#endif + +#endif + + +#endif /* __ISAXDeclHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXDTDHandler interface + */ +#ifndef __ISAXDTDHandler_INTERFACE_DEFINED__ +#define __ISAXDTDHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXDTDHandler, 0xe15c1baf, 0xafb3, 0x4d60, 0x8c,0x36, 0x19,0xa8,0xc4,0x5d,0xef,0xed); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e15c1baf-afb3-4d60-8c36-19a8c45defed") +ISAXDTDHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE notationDecl( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE unparsedEntityDecl( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId, + const WCHAR *pNotationName, + int nNotationName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXDTDHandler, 0xe15c1baf, 0xafb3, 0x4d60, 0x8c,0x36, 0x19,0xa8,0xc4,0x5d,0xef,0xed) +#endif +#else +typedef struct ISAXDTDHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXDTDHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXDTDHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXDTDHandler *This); + + /*** ISAXDTDHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *notationDecl)( + ISAXDTDHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId); + + HRESULT (STDMETHODCALLTYPE *unparsedEntityDecl)( + ISAXDTDHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId, + const WCHAR *pNotationName, + int nNotationName); + + END_INTERFACE +} ISAXDTDHandlerVtbl; + +interface ISAXDTDHandler { + CONST_VTBL ISAXDTDHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXDTDHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXDTDHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXDTDHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXDTDHandler methods ***/ +#define ISAXDTDHandler_notationDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) (This)->lpVtbl->notationDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) +#define ISAXDTDHandler_unparsedEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId,pNotationName,nNotationName) (This)->lpVtbl->unparsedEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId,pNotationName,nNotationName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXDTDHandler_QueryInterface(ISAXDTDHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXDTDHandler_AddRef(ISAXDTDHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXDTDHandler_Release(ISAXDTDHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXDTDHandler methods ***/ +static FORCEINLINE HRESULT ISAXDTDHandler_notationDecl(ISAXDTDHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId) { + return This->lpVtbl->notationDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId); +} +static FORCEINLINE HRESULT ISAXDTDHandler_unparsedEntityDecl(ISAXDTDHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId,const WCHAR *pNotationName,int nNotationName) { + return This->lpVtbl->unparsedEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId,pNotationName,nNotationName); +} +#endif +#endif + +#endif + + +#endif /* __ISAXDTDHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXEntityResolver interface + */ +#ifndef __ISAXEntityResolver_INTERFACE_DEFINED__ +#define __ISAXEntityResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXEntityResolver, 0x99bca7bd, 0xe8c4, 0x4d5f, 0xa0,0xcf, 0x6d,0x90,0x79,0x01,0xff,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("99bca7bd-e8c4-4d5f-a0cf-6d907901ff07") +ISAXEntityResolver : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE resolveEntity( + const WCHAR *pPublicId, + const WCHAR *pSystemId, + VARIANT *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXEntityResolver, 0x99bca7bd, 0xe8c4, 0x4d5f, 0xa0,0xcf, 0x6d,0x90,0x79,0x01,0xff,0x07) +#endif +#else +typedef struct ISAXEntityResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXEntityResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXEntityResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXEntityResolver *This); + + /*** ISAXEntityResolver methods ***/ + HRESULT (STDMETHODCALLTYPE *resolveEntity)( + ISAXEntityResolver *This, + const WCHAR *pPublicId, + const WCHAR *pSystemId, + VARIANT *ret); + + END_INTERFACE +} ISAXEntityResolverVtbl; + +interface ISAXEntityResolver { + CONST_VTBL ISAXEntityResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXEntityResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXEntityResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXEntityResolver_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXEntityResolver methods ***/ +#define ISAXEntityResolver_resolveEntity(This,pPublicId,pSystemId,ret) (This)->lpVtbl->resolveEntity(This,pPublicId,pSystemId,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXEntityResolver_QueryInterface(ISAXEntityResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXEntityResolver_AddRef(ISAXEntityResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXEntityResolver_Release(ISAXEntityResolver* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXEntityResolver methods ***/ +static FORCEINLINE HRESULT ISAXEntityResolver_resolveEntity(ISAXEntityResolver* This,const WCHAR *pPublicId,const WCHAR *pSystemId,VARIANT *ret) { + return This->lpVtbl->resolveEntity(This,pPublicId,pSystemId,ret); +} +#endif +#endif + +#endif + + +#endif /* __ISAXEntityResolver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXErrorHandler interface + */ +#ifndef __ISAXErrorHandler_INTERFACE_DEFINED__ +#define __ISAXErrorHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXErrorHandler, 0xa60511c4, 0xccf5, 0x479e, 0x98,0xa3, 0xdc,0x8d,0xc5,0x45,0xb7,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a60511c4-ccf5-479e-98a3-dc8dc545b7d0") +ISAXErrorHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE error( + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE fatalError( + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWarning( + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXErrorHandler, 0xa60511c4, 0xccf5, 0x479e, 0x98,0xa3, 0xdc,0x8d,0xc5,0x45,0xb7,0xd0) +#endif +#else +typedef struct ISAXErrorHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXErrorHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXErrorHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXErrorHandler *This); + + /*** ISAXErrorHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *error)( + ISAXErrorHandler *This, + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode); + + HRESULT (STDMETHODCALLTYPE *fatalError)( + ISAXErrorHandler *This, + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode); + + HRESULT (STDMETHODCALLTYPE *ignorableWarning)( + ISAXErrorHandler *This, + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode); + + END_INTERFACE +} ISAXErrorHandlerVtbl; + +interface ISAXErrorHandler { + CONST_VTBL ISAXErrorHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXErrorHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXErrorHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXErrorHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXErrorHandler methods ***/ +#define ISAXErrorHandler_error(This,pLocator,pErrorMessage,hrErrorCode) (This)->lpVtbl->error(This,pLocator,pErrorMessage,hrErrorCode) +#define ISAXErrorHandler_fatalError(This,pLocator,pErrorMessage,hrErrorCode) (This)->lpVtbl->fatalError(This,pLocator,pErrorMessage,hrErrorCode) +#define ISAXErrorHandler_ignorableWarning(This,pLocator,pErrorMessage,hrErrorCode) (This)->lpVtbl->ignorableWarning(This,pLocator,pErrorMessage,hrErrorCode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXErrorHandler_QueryInterface(ISAXErrorHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXErrorHandler_AddRef(ISAXErrorHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXErrorHandler_Release(ISAXErrorHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXErrorHandler methods ***/ +static FORCEINLINE HRESULT ISAXErrorHandler_error(ISAXErrorHandler* This,ISAXLocator *pLocator,const WCHAR *pErrorMessage,HRESULT hrErrorCode) { + return This->lpVtbl->error(This,pLocator,pErrorMessage,hrErrorCode); +} +static FORCEINLINE HRESULT ISAXErrorHandler_fatalError(ISAXErrorHandler* This,ISAXLocator *pLocator,const WCHAR *pErrorMessage,HRESULT hrErrorCode) { + return This->lpVtbl->fatalError(This,pLocator,pErrorMessage,hrErrorCode); +} +static FORCEINLINE HRESULT ISAXErrorHandler_ignorableWarning(ISAXErrorHandler* This,ISAXLocator *pLocator,const WCHAR *pErrorMessage,HRESULT hrErrorCode) { + return This->lpVtbl->ignorableWarning(This,pLocator,pErrorMessage,hrErrorCode); +} +#endif +#endif + +#endif + + +#endif /* __ISAXErrorHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXLexicalHandler interface + */ +#ifndef __ISAXLexicalHandler_INTERFACE_DEFINED__ +#define __ISAXLexicalHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXLexicalHandler, 0x7f85d5f5, 0x47a8, 0x4497, 0xbd,0xa5, 0x84,0xba,0x04,0x81,0x9e,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7f85d5f5-47a8-4497-bda5-84ba04819ea6") +ISAXLexicalHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE startDTD( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDTD( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startEntity( + const WCHAR *pName, + int nName) = 0; + + virtual HRESULT STDMETHODCALLTYPE endEntity( + const WCHAR *pName, + int nName) = 0; + + virtual HRESULT STDMETHODCALLTYPE startCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE comment( + const WCHAR *pChars, + int nChars) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXLexicalHandler, 0x7f85d5f5, 0x47a8, 0x4497, 0xbd,0xa5, 0x84,0xba,0x04,0x81,0x9e,0xa6) +#endif +#else +typedef struct ISAXLexicalHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXLexicalHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXLexicalHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXLexicalHandler *This); + + /*** ISAXLexicalHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *startDTD)( + ISAXLexicalHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId); + + HRESULT (STDMETHODCALLTYPE *endDTD)( + ISAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *startEntity)( + ISAXLexicalHandler *This, + const WCHAR *pName, + int nName); + + HRESULT (STDMETHODCALLTYPE *endEntity)( + ISAXLexicalHandler *This, + const WCHAR *pName, + int nName); + + HRESULT (STDMETHODCALLTYPE *startCDATA)( + ISAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *endCDATA)( + ISAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *comment)( + ISAXLexicalHandler *This, + const WCHAR *pChars, + int nChars); + + END_INTERFACE +} ISAXLexicalHandlerVtbl; + +interface ISAXLexicalHandler { + CONST_VTBL ISAXLexicalHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXLexicalHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXLexicalHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXLexicalHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXLexicalHandler methods ***/ +#define ISAXLexicalHandler_startDTD(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) (This)->lpVtbl->startDTD(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) +#define ISAXLexicalHandler_endDTD(This) (This)->lpVtbl->endDTD(This) +#define ISAXLexicalHandler_startEntity(This,pName,nName) (This)->lpVtbl->startEntity(This,pName,nName) +#define ISAXLexicalHandler_endEntity(This,pName,nName) (This)->lpVtbl->endEntity(This,pName,nName) +#define ISAXLexicalHandler_startCDATA(This) (This)->lpVtbl->startCDATA(This) +#define ISAXLexicalHandler_endCDATA(This) (This)->lpVtbl->endCDATA(This) +#define ISAXLexicalHandler_comment(This,pChars,nChars) (This)->lpVtbl->comment(This,pChars,nChars) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXLexicalHandler_QueryInterface(ISAXLexicalHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXLexicalHandler_AddRef(ISAXLexicalHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXLexicalHandler_Release(ISAXLexicalHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXLexicalHandler methods ***/ +static FORCEINLINE HRESULT ISAXLexicalHandler_startDTD(ISAXLexicalHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId) { + return This->lpVtbl->startDTD(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_endDTD(ISAXLexicalHandler* This) { + return This->lpVtbl->endDTD(This); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_startEntity(ISAXLexicalHandler* This,const WCHAR *pName,int nName) { + return This->lpVtbl->startEntity(This,pName,nName); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_endEntity(ISAXLexicalHandler* This,const WCHAR *pName,int nName) { + return This->lpVtbl->endEntity(This,pName,nName); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_startCDATA(ISAXLexicalHandler* This) { + return This->lpVtbl->startCDATA(This); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_endCDATA(ISAXLexicalHandler* This) { + return This->lpVtbl->endCDATA(This); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_comment(ISAXLexicalHandler* This,const WCHAR *pChars,int nChars) { + return This->lpVtbl->comment(This,pChars,nChars); +} +#endif +#endif + +#endif + + +#endif /* __ISAXLexicalHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXLocator interface + */ +#ifndef __ISAXLocator_INTERFACE_DEFINED__ +#define __ISAXLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXLocator, 0x9b7e472a, 0x0de4, 0x4640, 0xbf,0xf3, 0x84,0xd3,0x8a,0x05,0x1c,0x31); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e472a-0de4-4640-bff3-84d38a051c31") +ISAXLocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE getColumnNumber( + int *nColumn) = 0; + + virtual HRESULT STDMETHODCALLTYPE getLineNumber( + int *nLine) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPublicId( + const WCHAR **publicId) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSystemId( + const WCHAR **systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXLocator, 0x9b7e472a, 0x0de4, 0x4640, 0xbf,0xf3, 0x84,0xd3,0x8a,0x05,0x1c,0x31) +#endif +#else +typedef struct ISAXLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXLocator *This); + + /*** ISAXLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *getColumnNumber)( + ISAXLocator *This, + int *nColumn); + + HRESULT (STDMETHODCALLTYPE *getLineNumber)( + ISAXLocator *This, + int *nLine); + + HRESULT (STDMETHODCALLTYPE *getPublicId)( + ISAXLocator *This, + const WCHAR **publicId); + + HRESULT (STDMETHODCALLTYPE *getSystemId)( + ISAXLocator *This, + const WCHAR **systemId); + + END_INTERFACE +} ISAXLocatorVtbl; + +interface ISAXLocator { + CONST_VTBL ISAXLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXLocator_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXLocator methods ***/ +#define ISAXLocator_getColumnNumber(This,nColumn) (This)->lpVtbl->getColumnNumber(This,nColumn) +#define ISAXLocator_getLineNumber(This,nLine) (This)->lpVtbl->getLineNumber(This,nLine) +#define ISAXLocator_getPublicId(This,publicId) (This)->lpVtbl->getPublicId(This,publicId) +#define ISAXLocator_getSystemId(This,systemId) (This)->lpVtbl->getSystemId(This,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXLocator_QueryInterface(ISAXLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXLocator_AddRef(ISAXLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXLocator_Release(ISAXLocator* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXLocator methods ***/ +static FORCEINLINE HRESULT ISAXLocator_getColumnNumber(ISAXLocator* This,int *nColumn) { + return This->lpVtbl->getColumnNumber(This,nColumn); +} +static FORCEINLINE HRESULT ISAXLocator_getLineNumber(ISAXLocator* This,int *nLine) { + return This->lpVtbl->getLineNumber(This,nLine); +} +static FORCEINLINE HRESULT ISAXLocator_getPublicId(ISAXLocator* This,const WCHAR **publicId) { + return This->lpVtbl->getPublicId(This,publicId); +} +static FORCEINLINE HRESULT ISAXLocator_getSystemId(ISAXLocator* This,const WCHAR **systemId) { + return This->lpVtbl->getSystemId(This,systemId); +} +#endif +#endif + +#endif + + +#endif /* __ISAXLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXXMLFilter interface + */ +#ifndef __ISAXXMLFilter_INTERFACE_DEFINED__ +#define __ISAXXMLFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXXMLFilter, 0x70409222, 0xca09, 0x4475, 0xac,0xb8, 0x40,0x31,0x2f,0xe8,0xd1,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70409222-ca09-4475-acb8-40312fe8d145") +ISAXXMLFilter : public ISAXXMLReader +{ + virtual HRESULT STDMETHODCALLTYPE getParent( + ISAXXMLReader **pReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE putParent( + ISAXXMLReader *reader) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXXMLFilter, 0x70409222, 0xca09, 0x4475, 0xac,0xb8, 0x40,0x31,0x2f,0xe8,0xd1,0x45) +#endif +#else +typedef struct ISAXXMLFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXXMLFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXXMLFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXXMLFilter *This); + + /*** ISAXXMLReader methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + ISAXXMLFilter *This, + const WCHAR *pFeature, + VARIANT_BOOL *pValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + ISAXXMLFilter *This, + const WCHAR *pFeature, + VARIANT_BOOL vfValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + ISAXXMLFilter *This, + const WCHAR *pProp, + VARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + ISAXXMLFilter *This, + const WCHAR *pProp, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *getEntityResolver)( + ISAXXMLFilter *This, + ISAXEntityResolver **ppEntityResolver); + + HRESULT (STDMETHODCALLTYPE *putEntityResolver)( + ISAXXMLFilter *This, + ISAXEntityResolver *pEntityResolver); + + HRESULT (STDMETHODCALLTYPE *getContentHandler)( + ISAXXMLFilter *This, + ISAXContentHandler **pContentHandler); + + HRESULT (STDMETHODCALLTYPE *putContentHandler)( + ISAXXMLFilter *This, + ISAXContentHandler *contentHandler); + + HRESULT (STDMETHODCALLTYPE *getDTDHandler)( + ISAXXMLFilter *This, + ISAXDTDHandler **pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *putDTDHandler)( + ISAXXMLFilter *This, + ISAXDTDHandler *pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *getErrorHandler)( + ISAXXMLFilter *This, + ISAXErrorHandler **pErrorHandler); + + HRESULT (STDMETHODCALLTYPE *putErrorHandler)( + ISAXXMLFilter *This, + ISAXErrorHandler *errorHandler); + + HRESULT (STDMETHODCALLTYPE *getBaseURL)( + ISAXXMLFilter *This, + const WCHAR **pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putBaseURL)( + ISAXXMLFilter *This, + const WCHAR *pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *getSecureBaseURL)( + ISAXXMLFilter *This, + const WCHAR **pSecureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putSecureBaseURL)( + ISAXXMLFilter *This, + const WCHAR *secureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *parse)( + ISAXXMLFilter *This, + VARIANT varInput); + + HRESULT (STDMETHODCALLTYPE *parseURL)( + ISAXXMLFilter *This, + const WCHAR *url); + + /*** ISAXXMLFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *getParent)( + ISAXXMLFilter *This, + ISAXXMLReader **pReader); + + HRESULT (STDMETHODCALLTYPE *putParent)( + ISAXXMLFilter *This, + ISAXXMLReader *reader); + + END_INTERFACE +} ISAXXMLFilterVtbl; + +interface ISAXXMLFilter { + CONST_VTBL ISAXXMLFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXXMLFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXXMLFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXXMLFilter_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXXMLReader methods ***/ +#define ISAXXMLFilter_getFeature(This,pFeature,pValue) (This)->lpVtbl->getFeature(This,pFeature,pValue) +#define ISAXXMLFilter_putFeature(This,pFeature,vfValue) (This)->lpVtbl->putFeature(This,pFeature,vfValue) +#define ISAXXMLFilter_getProperty(This,pProp,pValue) (This)->lpVtbl->getProperty(This,pProp,pValue) +#define ISAXXMLFilter_putProperty(This,pProp,value) (This)->lpVtbl->putProperty(This,pProp,value) +#define ISAXXMLFilter_getEntityResolver(This,ppEntityResolver) (This)->lpVtbl->getEntityResolver(This,ppEntityResolver) +#define ISAXXMLFilter_putEntityResolver(This,pEntityResolver) (This)->lpVtbl->putEntityResolver(This,pEntityResolver) +#define ISAXXMLFilter_getContentHandler(This,pContentHandler) (This)->lpVtbl->getContentHandler(This,pContentHandler) +#define ISAXXMLFilter_putContentHandler(This,contentHandler) (This)->lpVtbl->putContentHandler(This,contentHandler) +#define ISAXXMLFilter_getDTDHandler(This,pDTDHandler) (This)->lpVtbl->getDTDHandler(This,pDTDHandler) +#define ISAXXMLFilter_putDTDHandler(This,pDTDHandler) (This)->lpVtbl->putDTDHandler(This,pDTDHandler) +#define ISAXXMLFilter_getErrorHandler(This,pErrorHandler) (This)->lpVtbl->getErrorHandler(This,pErrorHandler) +#define ISAXXMLFilter_putErrorHandler(This,errorHandler) (This)->lpVtbl->putErrorHandler(This,errorHandler) +#define ISAXXMLFilter_getBaseURL(This,pBaseUrl) (This)->lpVtbl->getBaseURL(This,pBaseUrl) +#define ISAXXMLFilter_putBaseURL(This,pBaseUrl) (This)->lpVtbl->putBaseURL(This,pBaseUrl) +#define ISAXXMLFilter_getSecureBaseURL(This,pSecureBaseUrl) (This)->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl) +#define ISAXXMLFilter_putSecureBaseURL(This,secureBaseUrl) (This)->lpVtbl->putSecureBaseURL(This,secureBaseUrl) +#define ISAXXMLFilter_parse(This,varInput) (This)->lpVtbl->parse(This,varInput) +#define ISAXXMLFilter_parseURL(This,url) (This)->lpVtbl->parseURL(This,url) +/*** ISAXXMLFilter methods ***/ +#define ISAXXMLFilter_getParent(This,pReader) (This)->lpVtbl->getParent(This,pReader) +#define ISAXXMLFilter_putParent(This,reader) (This)->lpVtbl->putParent(This,reader) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXXMLFilter_QueryInterface(ISAXXMLFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXXMLFilter_AddRef(ISAXXMLFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXXMLFilter_Release(ISAXXMLFilter* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXXMLReader methods ***/ +static FORCEINLINE HRESULT ISAXXMLFilter_getFeature(ISAXXMLFilter* This,const WCHAR *pFeature,VARIANT_BOOL *pValue) { + return This->lpVtbl->getFeature(This,pFeature,pValue); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putFeature(ISAXXMLFilter* This,const WCHAR *pFeature,VARIANT_BOOL vfValue) { + return This->lpVtbl->putFeature(This,pFeature,vfValue); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getProperty(ISAXXMLFilter* This,const WCHAR *pProp,VARIANT *pValue) { + return This->lpVtbl->getProperty(This,pProp,pValue); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putProperty(ISAXXMLFilter* This,const WCHAR *pProp,VARIANT value) { + return This->lpVtbl->putProperty(This,pProp,value); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getEntityResolver(ISAXXMLFilter* This,ISAXEntityResolver **ppEntityResolver) { + return This->lpVtbl->getEntityResolver(This,ppEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putEntityResolver(ISAXXMLFilter* This,ISAXEntityResolver *pEntityResolver) { + return This->lpVtbl->putEntityResolver(This,pEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getContentHandler(ISAXXMLFilter* This,ISAXContentHandler **pContentHandler) { + return This->lpVtbl->getContentHandler(This,pContentHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putContentHandler(ISAXXMLFilter* This,ISAXContentHandler *contentHandler) { + return This->lpVtbl->putContentHandler(This,contentHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getDTDHandler(ISAXXMLFilter* This,ISAXDTDHandler **pDTDHandler) { + return This->lpVtbl->getDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putDTDHandler(ISAXXMLFilter* This,ISAXDTDHandler *pDTDHandler) { + return This->lpVtbl->putDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getErrorHandler(ISAXXMLFilter* This,ISAXErrorHandler **pErrorHandler) { + return This->lpVtbl->getErrorHandler(This,pErrorHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putErrorHandler(ISAXXMLFilter* This,ISAXErrorHandler *errorHandler) { + return This->lpVtbl->putErrorHandler(This,errorHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getBaseURL(ISAXXMLFilter* This,const WCHAR **pBaseUrl) { + return This->lpVtbl->getBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putBaseURL(ISAXXMLFilter* This,const WCHAR *pBaseUrl) { + return This->lpVtbl->putBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getSecureBaseURL(ISAXXMLFilter* This,const WCHAR **pSecureBaseUrl) { + return This->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putSecureBaseURL(ISAXXMLFilter* This,const WCHAR *secureBaseUrl) { + return This->lpVtbl->putSecureBaseURL(This,secureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_parse(ISAXXMLFilter* This,VARIANT varInput) { + return This->lpVtbl->parse(This,varInput); +} +static FORCEINLINE HRESULT ISAXXMLFilter_parseURL(ISAXXMLFilter* This,const WCHAR *url) { + return This->lpVtbl->parseURL(This,url); +} +/*** ISAXXMLFilter methods ***/ +static FORCEINLINE HRESULT ISAXXMLFilter_getParent(ISAXXMLFilter* This,ISAXXMLReader **pReader) { + return This->lpVtbl->getParent(This,pReader); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putParent(ISAXXMLFilter* This,ISAXXMLReader *reader) { + return This->lpVtbl->putParent(This,reader); +} +#endif +#endif + +#endif + + +#endif /* __ISAXXMLFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXXMLReader interface + */ +#ifndef __ISAXXMLReader_INTERFACE_DEFINED__ +#define __ISAXXMLReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXXMLReader, 0xa4f96ed0, 0xf829, 0x476e, 0x81,0xc0, 0xcd,0xc7,0xbd,0x2a,0x08,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a4f96ed0-f829-476e-81c0-cdc7bd2a0802") +ISAXXMLReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE getFeature( + const WCHAR *pFeature, + VARIANT_BOOL *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putFeature( + const WCHAR *pFeature, + VARIANT_BOOL vfValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + const WCHAR *pProp, + VARIANT *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putProperty( + const WCHAR *pProp, + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getEntityResolver( + ISAXEntityResolver **ppEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE putEntityResolver( + ISAXEntityResolver *pEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE getContentHandler( + ISAXContentHandler **pContentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putContentHandler( + ISAXContentHandler *contentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDTDHandler( + ISAXDTDHandler **pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putDTDHandler( + ISAXDTDHandler *pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorHandler( + ISAXErrorHandler **pErrorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putErrorHandler( + ISAXErrorHandler *errorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE getBaseURL( + const WCHAR **pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE putBaseURL( + const WCHAR *pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSecureBaseURL( + const WCHAR **pSecureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE putSecureBaseURL( + const WCHAR *secureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE parse( + VARIANT varInput) = 0; + + virtual HRESULT STDMETHODCALLTYPE parseURL( + const WCHAR *url) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXXMLReader, 0xa4f96ed0, 0xf829, 0x476e, 0x81,0xc0, 0xcd,0xc7,0xbd,0x2a,0x08,0x02) +#endif +#else +typedef struct ISAXXMLReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXXMLReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXXMLReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXXMLReader *This); + + /*** ISAXXMLReader methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + ISAXXMLReader *This, + const WCHAR *pFeature, + VARIANT_BOOL *pValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + ISAXXMLReader *This, + const WCHAR *pFeature, + VARIANT_BOOL vfValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + ISAXXMLReader *This, + const WCHAR *pProp, + VARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + ISAXXMLReader *This, + const WCHAR *pProp, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *getEntityResolver)( + ISAXXMLReader *This, + ISAXEntityResolver **ppEntityResolver); + + HRESULT (STDMETHODCALLTYPE *putEntityResolver)( + ISAXXMLReader *This, + ISAXEntityResolver *pEntityResolver); + + HRESULT (STDMETHODCALLTYPE *getContentHandler)( + ISAXXMLReader *This, + ISAXContentHandler **pContentHandler); + + HRESULT (STDMETHODCALLTYPE *putContentHandler)( + ISAXXMLReader *This, + ISAXContentHandler *contentHandler); + + HRESULT (STDMETHODCALLTYPE *getDTDHandler)( + ISAXXMLReader *This, + ISAXDTDHandler **pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *putDTDHandler)( + ISAXXMLReader *This, + ISAXDTDHandler *pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *getErrorHandler)( + ISAXXMLReader *This, + ISAXErrorHandler **pErrorHandler); + + HRESULT (STDMETHODCALLTYPE *putErrorHandler)( + ISAXXMLReader *This, + ISAXErrorHandler *errorHandler); + + HRESULT (STDMETHODCALLTYPE *getBaseURL)( + ISAXXMLReader *This, + const WCHAR **pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putBaseURL)( + ISAXXMLReader *This, + const WCHAR *pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *getSecureBaseURL)( + ISAXXMLReader *This, + const WCHAR **pSecureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putSecureBaseURL)( + ISAXXMLReader *This, + const WCHAR *secureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *parse)( + ISAXXMLReader *This, + VARIANT varInput); + + HRESULT (STDMETHODCALLTYPE *parseURL)( + ISAXXMLReader *This, + const WCHAR *url); + + END_INTERFACE +} ISAXXMLReaderVtbl; + +interface ISAXXMLReader { + CONST_VTBL ISAXXMLReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXXMLReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXXMLReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXXMLReader_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXXMLReader methods ***/ +#define ISAXXMLReader_getFeature(This,pFeature,pValue) (This)->lpVtbl->getFeature(This,pFeature,pValue) +#define ISAXXMLReader_putFeature(This,pFeature,vfValue) (This)->lpVtbl->putFeature(This,pFeature,vfValue) +#define ISAXXMLReader_getProperty(This,pProp,pValue) (This)->lpVtbl->getProperty(This,pProp,pValue) +#define ISAXXMLReader_putProperty(This,pProp,value) (This)->lpVtbl->putProperty(This,pProp,value) +#define ISAXXMLReader_getEntityResolver(This,ppEntityResolver) (This)->lpVtbl->getEntityResolver(This,ppEntityResolver) +#define ISAXXMLReader_putEntityResolver(This,pEntityResolver) (This)->lpVtbl->putEntityResolver(This,pEntityResolver) +#define ISAXXMLReader_getContentHandler(This,pContentHandler) (This)->lpVtbl->getContentHandler(This,pContentHandler) +#define ISAXXMLReader_putContentHandler(This,contentHandler) (This)->lpVtbl->putContentHandler(This,contentHandler) +#define ISAXXMLReader_getDTDHandler(This,pDTDHandler) (This)->lpVtbl->getDTDHandler(This,pDTDHandler) +#define ISAXXMLReader_putDTDHandler(This,pDTDHandler) (This)->lpVtbl->putDTDHandler(This,pDTDHandler) +#define ISAXXMLReader_getErrorHandler(This,pErrorHandler) (This)->lpVtbl->getErrorHandler(This,pErrorHandler) +#define ISAXXMLReader_putErrorHandler(This,errorHandler) (This)->lpVtbl->putErrorHandler(This,errorHandler) +#define ISAXXMLReader_getBaseURL(This,pBaseUrl) (This)->lpVtbl->getBaseURL(This,pBaseUrl) +#define ISAXXMLReader_putBaseURL(This,pBaseUrl) (This)->lpVtbl->putBaseURL(This,pBaseUrl) +#define ISAXXMLReader_getSecureBaseURL(This,pSecureBaseUrl) (This)->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl) +#define ISAXXMLReader_putSecureBaseURL(This,secureBaseUrl) (This)->lpVtbl->putSecureBaseURL(This,secureBaseUrl) +#define ISAXXMLReader_parse(This,varInput) (This)->lpVtbl->parse(This,varInput) +#define ISAXXMLReader_parseURL(This,url) (This)->lpVtbl->parseURL(This,url) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXXMLReader_QueryInterface(ISAXXMLReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXXMLReader_AddRef(ISAXXMLReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXXMLReader_Release(ISAXXMLReader* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXXMLReader methods ***/ +static FORCEINLINE HRESULT ISAXXMLReader_getFeature(ISAXXMLReader* This,const WCHAR *pFeature,VARIANT_BOOL *pValue) { + return This->lpVtbl->getFeature(This,pFeature,pValue); +} +static FORCEINLINE HRESULT ISAXXMLReader_putFeature(ISAXXMLReader* This,const WCHAR *pFeature,VARIANT_BOOL vfValue) { + return This->lpVtbl->putFeature(This,pFeature,vfValue); +} +static FORCEINLINE HRESULT ISAXXMLReader_getProperty(ISAXXMLReader* This,const WCHAR *pProp,VARIANT *pValue) { + return This->lpVtbl->getProperty(This,pProp,pValue); +} +static FORCEINLINE HRESULT ISAXXMLReader_putProperty(ISAXXMLReader* This,const WCHAR *pProp,VARIANT value) { + return This->lpVtbl->putProperty(This,pProp,value); +} +static FORCEINLINE HRESULT ISAXXMLReader_getEntityResolver(ISAXXMLReader* This,ISAXEntityResolver **ppEntityResolver) { + return This->lpVtbl->getEntityResolver(This,ppEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLReader_putEntityResolver(ISAXXMLReader* This,ISAXEntityResolver *pEntityResolver) { + return This->lpVtbl->putEntityResolver(This,pEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLReader_getContentHandler(ISAXXMLReader* This,ISAXContentHandler **pContentHandler) { + return This->lpVtbl->getContentHandler(This,pContentHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_putContentHandler(ISAXXMLReader* This,ISAXContentHandler *contentHandler) { + return This->lpVtbl->putContentHandler(This,contentHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_getDTDHandler(ISAXXMLReader* This,ISAXDTDHandler **pDTDHandler) { + return This->lpVtbl->getDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_putDTDHandler(ISAXXMLReader* This,ISAXDTDHandler *pDTDHandler) { + return This->lpVtbl->putDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_getErrorHandler(ISAXXMLReader* This,ISAXErrorHandler **pErrorHandler) { + return This->lpVtbl->getErrorHandler(This,pErrorHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_putErrorHandler(ISAXXMLReader* This,ISAXErrorHandler *errorHandler) { + return This->lpVtbl->putErrorHandler(This,errorHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_getBaseURL(ISAXXMLReader* This,const WCHAR **pBaseUrl) { + return This->lpVtbl->getBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_putBaseURL(ISAXXMLReader* This,const WCHAR *pBaseUrl) { + return This->lpVtbl->putBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_getSecureBaseURL(ISAXXMLReader* This,const WCHAR **pSecureBaseUrl) { + return This->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_putSecureBaseURL(ISAXXMLReader* This,const WCHAR *secureBaseUrl) { + return This->lpVtbl->putSecureBaseURL(This,secureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_parse(ISAXXMLReader* This,VARIANT varInput) { + return This->lpVtbl->parse(This,varInput); +} +static FORCEINLINE HRESULT ISAXXMLReader_parseURL(ISAXXMLReader* This,const WCHAR *url) { + return This->lpVtbl->parseURL(This,url); +} +#endif +#endif + +#endif + + +#endif /* __ISAXXMLReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXAttributes interface + */ +#ifndef __IVBSAXAttributes_INTERFACE_DEFINED__ +#define __IVBSAXAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXAttributes, 0x10dc0586, 0x132b, 0x4cac, 0x8b,0xb3, 0xdb,0x00,0xac,0x8b,0x7e,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("10dc0586-132b-4cac-8bb3-db00ac8b7ee0") +IVBSAXAttributes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + int *nLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + int nIndex, + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE getLocalName( + int nIndex, + BSTR *localName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQName( + int nIndex, + BSTR *QName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromName( + BSTR uri, + BSTR localName, + int *nIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromQName( + BSTR QName, + int *nIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE getType( + int nIndex, + BSTR *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromName( + BSTR uri, + BSTR localName, + BSTR *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromQName( + BSTR QName, + BSTR *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValue( + int nIndex, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromName( + BSTR uri, + BSTR localName, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromQName( + BSTR QName, + BSTR *value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXAttributes, 0x10dc0586, 0x132b, 0x4cac, 0x8b,0xb3, 0xdb,0x00,0xac,0x8b,0x7e,0xe0) +#endif +#else +typedef struct IVBSAXAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXAttributes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXAttributes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXAttributes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXAttributes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXAttributes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IVBSAXAttributes *This, + int *nLength); + + HRESULT (STDMETHODCALLTYPE *getURI)( + IVBSAXAttributes *This, + int nIndex, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *getLocalName)( + IVBSAXAttributes *This, + int nIndex, + BSTR *localName); + + HRESULT (STDMETHODCALLTYPE *getQName)( + IVBSAXAttributes *This, + int nIndex, + BSTR *QName); + + HRESULT (STDMETHODCALLTYPE *getIndexFromName)( + IVBSAXAttributes *This, + BSTR uri, + BSTR localName, + int *nIndex); + + HRESULT (STDMETHODCALLTYPE *getIndexFromQName)( + IVBSAXAttributes *This, + BSTR QName, + int *nIndex); + + HRESULT (STDMETHODCALLTYPE *getType)( + IVBSAXAttributes *This, + int nIndex, + BSTR *type); + + HRESULT (STDMETHODCALLTYPE *getTypeFromName)( + IVBSAXAttributes *This, + BSTR uri, + BSTR localName, + BSTR *type); + + HRESULT (STDMETHODCALLTYPE *getTypeFromQName)( + IVBSAXAttributes *This, + BSTR QName, + BSTR *type); + + HRESULT (STDMETHODCALLTYPE *getValue)( + IVBSAXAttributes *This, + int nIndex, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getValueFromName)( + IVBSAXAttributes *This, + BSTR uri, + BSTR localName, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getValueFromQName)( + IVBSAXAttributes *This, + BSTR QName, + BSTR *value); + + END_INTERFACE +} IVBSAXAttributesVtbl; + +interface IVBSAXAttributes { + CONST_VTBL IVBSAXAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXAttributes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXAttributes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXAttributes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXAttributes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXAttributes methods ***/ +#define IVBSAXAttributes_get_length(This,nLength) (This)->lpVtbl->get_length(This,nLength) +#define IVBSAXAttributes_getURI(This,nIndex,uri) (This)->lpVtbl->getURI(This,nIndex,uri) +#define IVBSAXAttributes_getLocalName(This,nIndex,localName) (This)->lpVtbl->getLocalName(This,nIndex,localName) +#define IVBSAXAttributes_getQName(This,nIndex,QName) (This)->lpVtbl->getQName(This,nIndex,QName) +#define IVBSAXAttributes_getIndexFromName(This,uri,localName,nIndex) (This)->lpVtbl->getIndexFromName(This,uri,localName,nIndex) +#define IVBSAXAttributes_getIndexFromQName(This,QName,nIndex) (This)->lpVtbl->getIndexFromQName(This,QName,nIndex) +#define IVBSAXAttributes_getType(This,nIndex,type) (This)->lpVtbl->getType(This,nIndex,type) +#define IVBSAXAttributes_getTypeFromName(This,uri,localName,type) (This)->lpVtbl->getTypeFromName(This,uri,localName,type) +#define IVBSAXAttributes_getTypeFromQName(This,QName,type) (This)->lpVtbl->getTypeFromQName(This,QName,type) +#define IVBSAXAttributes_getValue(This,nIndex,value) (This)->lpVtbl->getValue(This,nIndex,value) +#define IVBSAXAttributes_getValueFromName(This,uri,localName,value) (This)->lpVtbl->getValueFromName(This,uri,localName,value) +#define IVBSAXAttributes_getValueFromQName(This,QName,value) (This)->lpVtbl->getValueFromQName(This,QName,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXAttributes_QueryInterface(IVBSAXAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXAttributes_AddRef(IVBSAXAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXAttributes_Release(IVBSAXAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXAttributes_GetTypeInfoCount(IVBSAXAttributes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXAttributes_GetTypeInfo(IVBSAXAttributes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXAttributes_GetIDsOfNames(IVBSAXAttributes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXAttributes_Invoke(IVBSAXAttributes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXAttributes methods ***/ +static FORCEINLINE HRESULT IVBSAXAttributes_get_length(IVBSAXAttributes* This,int *nLength) { + return This->lpVtbl->get_length(This,nLength); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getURI(IVBSAXAttributes* This,int nIndex,BSTR *uri) { + return This->lpVtbl->getURI(This,nIndex,uri); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getLocalName(IVBSAXAttributes* This,int nIndex,BSTR *localName) { + return This->lpVtbl->getLocalName(This,nIndex,localName); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getQName(IVBSAXAttributes* This,int nIndex,BSTR *QName) { + return This->lpVtbl->getQName(This,nIndex,QName); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getIndexFromName(IVBSAXAttributes* This,BSTR uri,BSTR localName,int *nIndex) { + return This->lpVtbl->getIndexFromName(This,uri,localName,nIndex); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getIndexFromQName(IVBSAXAttributes* This,BSTR QName,int *nIndex) { + return This->lpVtbl->getIndexFromQName(This,QName,nIndex); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getType(IVBSAXAttributes* This,int nIndex,BSTR *type) { + return This->lpVtbl->getType(This,nIndex,type); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getTypeFromName(IVBSAXAttributes* This,BSTR uri,BSTR localName,BSTR *type) { + return This->lpVtbl->getTypeFromName(This,uri,localName,type); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getTypeFromQName(IVBSAXAttributes* This,BSTR QName,BSTR *type) { + return This->lpVtbl->getTypeFromQName(This,QName,type); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getValue(IVBSAXAttributes* This,int nIndex,BSTR *value) { + return This->lpVtbl->getValue(This,nIndex,value); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getValueFromName(IVBSAXAttributes* This,BSTR uri,BSTR localName,BSTR *value) { + return This->lpVtbl->getValueFromName(This,uri,localName,value); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getValueFromQName(IVBSAXAttributes* This,BSTR QName,BSTR *value) { + return This->lpVtbl->getValueFromQName(This,QName,value); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXAttributes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXContentHandler interface + */ +#ifndef __IVBSAXContentHandler_INTERFACE_DEFINED__ +#define __IVBSAXContentHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXContentHandler, 0x2ed7290a, 0x4dd5, 0x4b46, 0xbb,0x26, 0x4e,0x41,0x55,0xe7,0x7f,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2ed7290a-4dd5-4b46-bb26-4e4155e77faa") +IVBSAXContentHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE putref_documentLocator( + IVBSAXLocator *oLocator) = 0; + + virtual HRESULT STDMETHODCALLTYPE startDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startPrefixMapping( + BSTR *prefix, + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE endPrefixMapping( + BSTR *prefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE startElement( + BSTR *namespaceURI, + BSTR *localName, + BSTR *QName, + IVBSAXAttributes *oAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE endElement( + BSTR *namespaceURI, + BSTR *localName, + BSTR *strQName) = 0; + + virtual HRESULT STDMETHODCALLTYPE characters( + BSTR *chars) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWhitespace( + BSTR *chars) = 0; + + virtual HRESULT STDMETHODCALLTYPE processingInstruction( + BSTR *target, + BSTR *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE skippedEntity( + BSTR *name) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXContentHandler, 0x2ed7290a, 0x4dd5, 0x4b46, 0xbb,0x26, 0x4e,0x41,0x55,0xe7,0x7f,0xaa) +#endif +#else +typedef struct IVBSAXContentHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXContentHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXContentHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXContentHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXContentHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXContentHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXContentHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXContentHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXContentHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *putref_documentLocator)( + IVBSAXContentHandler *This, + IVBSAXLocator *oLocator); + + HRESULT (STDMETHODCALLTYPE *startDocument)( + IVBSAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *endDocument)( + IVBSAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *startPrefixMapping)( + IVBSAXContentHandler *This, + BSTR *prefix, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *endPrefixMapping)( + IVBSAXContentHandler *This, + BSTR *prefix); + + HRESULT (STDMETHODCALLTYPE *startElement)( + IVBSAXContentHandler *This, + BSTR *namespaceURI, + BSTR *localName, + BSTR *QName, + IVBSAXAttributes *oAttributes); + + HRESULT (STDMETHODCALLTYPE *endElement)( + IVBSAXContentHandler *This, + BSTR *namespaceURI, + BSTR *localName, + BSTR *strQName); + + HRESULT (STDMETHODCALLTYPE *characters)( + IVBSAXContentHandler *This, + BSTR *chars); + + HRESULT (STDMETHODCALLTYPE *ignorableWhitespace)( + IVBSAXContentHandler *This, + BSTR *chars); + + HRESULT (STDMETHODCALLTYPE *processingInstruction)( + IVBSAXContentHandler *This, + BSTR *target, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *skippedEntity)( + IVBSAXContentHandler *This, + BSTR *name); + + END_INTERFACE +} IVBSAXContentHandlerVtbl; + +interface IVBSAXContentHandler { + CONST_VTBL IVBSAXContentHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXContentHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXContentHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXContentHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXContentHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXContentHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXContentHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXContentHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXContentHandler methods ***/ +#define IVBSAXContentHandler_putref_documentLocator(This,oLocator) (This)->lpVtbl->putref_documentLocator(This,oLocator) +#define IVBSAXContentHandler_startDocument(This) (This)->lpVtbl->startDocument(This) +#define IVBSAXContentHandler_endDocument(This) (This)->lpVtbl->endDocument(This) +#define IVBSAXContentHandler_startPrefixMapping(This,prefix,uri) (This)->lpVtbl->startPrefixMapping(This,prefix,uri) +#define IVBSAXContentHandler_endPrefixMapping(This,prefix) (This)->lpVtbl->endPrefixMapping(This,prefix) +#define IVBSAXContentHandler_startElement(This,namespaceURI,localName,QName,oAttributes) (This)->lpVtbl->startElement(This,namespaceURI,localName,QName,oAttributes) +#define IVBSAXContentHandler_endElement(This,namespaceURI,localName,strQName) (This)->lpVtbl->endElement(This,namespaceURI,localName,strQName) +#define IVBSAXContentHandler_characters(This,chars) (This)->lpVtbl->characters(This,chars) +#define IVBSAXContentHandler_ignorableWhitespace(This,chars) (This)->lpVtbl->ignorableWhitespace(This,chars) +#define IVBSAXContentHandler_processingInstruction(This,target,data) (This)->lpVtbl->processingInstruction(This,target,data) +#define IVBSAXContentHandler_skippedEntity(This,name) (This)->lpVtbl->skippedEntity(This,name) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXContentHandler_QueryInterface(IVBSAXContentHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXContentHandler_AddRef(IVBSAXContentHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXContentHandler_Release(IVBSAXContentHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXContentHandler_GetTypeInfoCount(IVBSAXContentHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_GetTypeInfo(IVBSAXContentHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_GetIDsOfNames(IVBSAXContentHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_Invoke(IVBSAXContentHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXContentHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXContentHandler_putref_documentLocator(IVBSAXContentHandler* This,IVBSAXLocator *oLocator) { + return This->lpVtbl->putref_documentLocator(This,oLocator); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_startDocument(IVBSAXContentHandler* This) { + return This->lpVtbl->startDocument(This); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_endDocument(IVBSAXContentHandler* This) { + return This->lpVtbl->endDocument(This); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_startPrefixMapping(IVBSAXContentHandler* This,BSTR *prefix,BSTR *uri) { + return This->lpVtbl->startPrefixMapping(This,prefix,uri); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_endPrefixMapping(IVBSAXContentHandler* This,BSTR *prefix) { + return This->lpVtbl->endPrefixMapping(This,prefix); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_startElement(IVBSAXContentHandler* This,BSTR *namespaceURI,BSTR *localName,BSTR *QName,IVBSAXAttributes *oAttributes) { + return This->lpVtbl->startElement(This,namespaceURI,localName,QName,oAttributes); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_endElement(IVBSAXContentHandler* This,BSTR *namespaceURI,BSTR *localName,BSTR *strQName) { + return This->lpVtbl->endElement(This,namespaceURI,localName,strQName); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_characters(IVBSAXContentHandler* This,BSTR *chars) { + return This->lpVtbl->characters(This,chars); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_ignorableWhitespace(IVBSAXContentHandler* This,BSTR *chars) { + return This->lpVtbl->ignorableWhitespace(This,chars); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_processingInstruction(IVBSAXContentHandler* This,BSTR *target,BSTR *data) { + return This->lpVtbl->processingInstruction(This,target,data); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_skippedEntity(IVBSAXContentHandler* This,BSTR *name) { + return This->lpVtbl->skippedEntity(This,name); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXContentHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXDeclHandler interface + */ +#ifndef __IVBSAXDeclHandler_INTERFACE_DEFINED__ +#define __IVBSAXDeclHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXDeclHandler, 0xe8917260, 0x7579, 0x4be1, 0xb5,0xdd, 0x7a,0xfb,0xfa,0x6f,0x07,0x7b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e8917260-7579-4be1-b5dd-7afbfa6f077b") +IVBSAXDeclHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE elementDecl( + BSTR *name, + BSTR *model) = 0; + + virtual HRESULT STDMETHODCALLTYPE attributeDecl( + BSTR *elementName, + BSTR *attributeName, + BSTR *type, + BSTR *valueDefault, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE internalEntityDecl( + BSTR *name, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE externalEntityDecl( + BSTR *name, + BSTR *publicId, + BSTR *systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXDeclHandler, 0xe8917260, 0x7579, 0x4be1, 0xb5,0xdd, 0x7a,0xfb,0xfa,0x6f,0x07,0x7b) +#endif +#else +typedef struct IVBSAXDeclHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXDeclHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXDeclHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXDeclHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXDeclHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXDeclHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXDeclHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXDeclHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXDeclHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *elementDecl)( + IVBSAXDeclHandler *This, + BSTR *name, + BSTR *model); + + HRESULT (STDMETHODCALLTYPE *attributeDecl)( + IVBSAXDeclHandler *This, + BSTR *elementName, + BSTR *attributeName, + BSTR *type, + BSTR *valueDefault, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *internalEntityDecl)( + IVBSAXDeclHandler *This, + BSTR *name, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *externalEntityDecl)( + IVBSAXDeclHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId); + + END_INTERFACE +} IVBSAXDeclHandlerVtbl; + +interface IVBSAXDeclHandler { + CONST_VTBL IVBSAXDeclHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXDeclHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXDeclHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXDeclHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXDeclHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXDeclHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXDeclHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXDeclHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXDeclHandler methods ***/ +#define IVBSAXDeclHandler_elementDecl(This,name,model) (This)->lpVtbl->elementDecl(This,name,model) +#define IVBSAXDeclHandler_attributeDecl(This,elementName,attributeName,type,valueDefault,value) (This)->lpVtbl->attributeDecl(This,elementName,attributeName,type,valueDefault,value) +#define IVBSAXDeclHandler_internalEntityDecl(This,name,value) (This)->lpVtbl->internalEntityDecl(This,name,value) +#define IVBSAXDeclHandler_externalEntityDecl(This,name,publicId,systemId) (This)->lpVtbl->externalEntityDecl(This,name,publicId,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXDeclHandler_QueryInterface(IVBSAXDeclHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXDeclHandler_AddRef(IVBSAXDeclHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXDeclHandler_Release(IVBSAXDeclHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXDeclHandler_GetTypeInfoCount(IVBSAXDeclHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_GetTypeInfo(IVBSAXDeclHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_GetIDsOfNames(IVBSAXDeclHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_Invoke(IVBSAXDeclHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXDeclHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXDeclHandler_elementDecl(IVBSAXDeclHandler* This,BSTR *name,BSTR *model) { + return This->lpVtbl->elementDecl(This,name,model); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_attributeDecl(IVBSAXDeclHandler* This,BSTR *elementName,BSTR *attributeName,BSTR *type,BSTR *valueDefault,BSTR *value) { + return This->lpVtbl->attributeDecl(This,elementName,attributeName,type,valueDefault,value); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_internalEntityDecl(IVBSAXDeclHandler* This,BSTR *name,BSTR *value) { + return This->lpVtbl->internalEntityDecl(This,name,value); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_externalEntityDecl(IVBSAXDeclHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId) { + return This->lpVtbl->externalEntityDecl(This,name,publicId,systemId); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXDeclHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXDTDHandler interface + */ +#ifndef __IVBSAXDTDHandler_INTERFACE_DEFINED__ +#define __IVBSAXDTDHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXDTDHandler, 0x24fb3297, 0x302d, 0x4620, 0xba,0x39, 0x3a,0x73,0x2d,0x85,0x05,0x58); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("24fb3297-302d-4620-ba39-3a732d850558") +IVBSAXDTDHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE notationDecl( + BSTR *name, + BSTR *publicId, + BSTR *systemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE unparsedEntityDecl( + BSTR *name, + BSTR *publicId, + BSTR *systemId, + BSTR *notationName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXDTDHandler, 0x24fb3297, 0x302d, 0x4620, 0xba,0x39, 0x3a,0x73,0x2d,0x85,0x05,0x58) +#endif +#else +typedef struct IVBSAXDTDHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXDTDHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXDTDHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXDTDHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXDTDHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXDTDHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXDTDHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXDTDHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXDTDHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *notationDecl)( + IVBSAXDTDHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId); + + HRESULT (STDMETHODCALLTYPE *unparsedEntityDecl)( + IVBSAXDTDHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId, + BSTR *notationName); + + END_INTERFACE +} IVBSAXDTDHandlerVtbl; + +interface IVBSAXDTDHandler { + CONST_VTBL IVBSAXDTDHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXDTDHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXDTDHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXDTDHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXDTDHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXDTDHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXDTDHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXDTDHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXDTDHandler methods ***/ +#define IVBSAXDTDHandler_notationDecl(This,name,publicId,systemId) (This)->lpVtbl->notationDecl(This,name,publicId,systemId) +#define IVBSAXDTDHandler_unparsedEntityDecl(This,name,publicId,systemId,notationName) (This)->lpVtbl->unparsedEntityDecl(This,name,publicId,systemId,notationName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXDTDHandler_QueryInterface(IVBSAXDTDHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXDTDHandler_AddRef(IVBSAXDTDHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXDTDHandler_Release(IVBSAXDTDHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXDTDHandler_GetTypeInfoCount(IVBSAXDTDHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_GetTypeInfo(IVBSAXDTDHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_GetIDsOfNames(IVBSAXDTDHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_Invoke(IVBSAXDTDHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXDTDHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXDTDHandler_notationDecl(IVBSAXDTDHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId) { + return This->lpVtbl->notationDecl(This,name,publicId,systemId); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_unparsedEntityDecl(IVBSAXDTDHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId,BSTR *notationName) { + return This->lpVtbl->unparsedEntityDecl(This,name,publicId,systemId,notationName); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXDTDHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXEntityResolver interface + */ +#ifndef __IVBSAXEntityResolver_INTERFACE_DEFINED__ +#define __IVBSAXEntityResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXEntityResolver, 0x0c05d096, 0xf45b, 0x4aca, 0xad,0x1a, 0xaa,0x0b,0xc2,0x55,0x18,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c05d096-f45b-4aca-ad1a-aa0bc25518dc") +IVBSAXEntityResolver : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE resolveEntity( + BSTR *publicId, + BSTR *systemId, + VARIANT *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXEntityResolver, 0x0c05d096, 0xf45b, 0x4aca, 0xad,0x1a, 0xaa,0x0b,0xc2,0x55,0x18,0xdc) +#endif +#else +typedef struct IVBSAXEntityResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXEntityResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXEntityResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXEntityResolver *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXEntityResolver *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXEntityResolver *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXEntityResolver *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXEntityResolver *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXEntityResolver methods ***/ + HRESULT (STDMETHODCALLTYPE *resolveEntity)( + IVBSAXEntityResolver *This, + BSTR *publicId, + BSTR *systemId, + VARIANT *ret); + + END_INTERFACE +} IVBSAXEntityResolverVtbl; + +interface IVBSAXEntityResolver { + CONST_VTBL IVBSAXEntityResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXEntityResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXEntityResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXEntityResolver_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXEntityResolver_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXEntityResolver_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXEntityResolver_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXEntityResolver_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXEntityResolver methods ***/ +#define IVBSAXEntityResolver_resolveEntity(This,publicId,systemId,ret) (This)->lpVtbl->resolveEntity(This,publicId,systemId,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXEntityResolver_QueryInterface(IVBSAXEntityResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXEntityResolver_AddRef(IVBSAXEntityResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXEntityResolver_Release(IVBSAXEntityResolver* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXEntityResolver_GetTypeInfoCount(IVBSAXEntityResolver* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXEntityResolver_GetTypeInfo(IVBSAXEntityResolver* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXEntityResolver_GetIDsOfNames(IVBSAXEntityResolver* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXEntityResolver_Invoke(IVBSAXEntityResolver* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXEntityResolver methods ***/ +static FORCEINLINE HRESULT IVBSAXEntityResolver_resolveEntity(IVBSAXEntityResolver* This,BSTR *publicId,BSTR *systemId,VARIANT *ret) { + return This->lpVtbl->resolveEntity(This,publicId,systemId,ret); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXEntityResolver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXErrorHandler interface + */ +#ifndef __IVBSAXErrorHandler_INTERFACE_DEFINED__ +#define __IVBSAXErrorHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXErrorHandler, 0xd963d3fe, 0x173c, 0x4862, 0x90,0x95, 0xb9,0x2f,0x66,0x99,0x5f,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d963d3fe-173c-4862-9095-b92f66995f52") +IVBSAXErrorHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE error( + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE fatalError( + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWarning( + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXErrorHandler, 0xd963d3fe, 0x173c, 0x4862, 0x90,0x95, 0xb9,0x2f,0x66,0x99,0x5f,0x52) +#endif +#else +typedef struct IVBSAXErrorHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXErrorHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXErrorHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXErrorHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXErrorHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXErrorHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXErrorHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXErrorHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXErrorHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *error)( + IVBSAXErrorHandler *This, + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode); + + HRESULT (STDMETHODCALLTYPE *fatalError)( + IVBSAXErrorHandler *This, + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode); + + HRESULT (STDMETHODCALLTYPE *ignorableWarning)( + IVBSAXErrorHandler *This, + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode); + + END_INTERFACE +} IVBSAXErrorHandlerVtbl; + +interface IVBSAXErrorHandler { + CONST_VTBL IVBSAXErrorHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXErrorHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXErrorHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXErrorHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXErrorHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXErrorHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXErrorHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXErrorHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXErrorHandler methods ***/ +#define IVBSAXErrorHandler_error(This,locator,errorMessage,errorCode) (This)->lpVtbl->error(This,locator,errorMessage,errorCode) +#define IVBSAXErrorHandler_fatalError(This,locator,errorMessage,errorCode) (This)->lpVtbl->fatalError(This,locator,errorMessage,errorCode) +#define IVBSAXErrorHandler_ignorableWarning(This,locator,errorMessage,errorCode) (This)->lpVtbl->ignorableWarning(This,locator,errorMessage,errorCode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXErrorHandler_QueryInterface(IVBSAXErrorHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXErrorHandler_AddRef(IVBSAXErrorHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXErrorHandler_Release(IVBSAXErrorHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXErrorHandler_GetTypeInfoCount(IVBSAXErrorHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_GetTypeInfo(IVBSAXErrorHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_GetIDsOfNames(IVBSAXErrorHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_Invoke(IVBSAXErrorHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXErrorHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXErrorHandler_error(IVBSAXErrorHandler* This,IVBSAXLocator *locator,BSTR *errorMessage,LONG errorCode) { + return This->lpVtbl->error(This,locator,errorMessage,errorCode); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_fatalError(IVBSAXErrorHandler* This,IVBSAXLocator *locator,BSTR *errorMessage,LONG errorCode) { + return This->lpVtbl->fatalError(This,locator,errorMessage,errorCode); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_ignorableWarning(IVBSAXErrorHandler* This,IVBSAXLocator *locator,BSTR *errorMessage,LONG errorCode) { + return This->lpVtbl->ignorableWarning(This,locator,errorMessage,errorCode); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXErrorHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXLexicalHandler interface + */ +#ifndef __IVBSAXLexicalHandler_INTERFACE_DEFINED__ +#define __IVBSAXLexicalHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXLexicalHandler, 0x032aac35, 0x8c0e, 0x4d9d, 0x97,0x9f, 0xe3,0xb7,0x02,0x93,0x55,0x76); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("032aac35-8c0e-4d9d-979f-e3b702935576") +IVBSAXLexicalHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE startDTD( + BSTR *name, + BSTR *publicId, + BSTR *systemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDTD( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startEntity( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE endEntity( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE startCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE comment( + BSTR *chars) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXLexicalHandler, 0x032aac35, 0x8c0e, 0x4d9d, 0x97,0x9f, 0xe3,0xb7,0x02,0x93,0x55,0x76) +#endif +#else +typedef struct IVBSAXLexicalHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXLexicalHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXLexicalHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXLexicalHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXLexicalHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXLexicalHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXLexicalHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXLexicalHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXLexicalHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *startDTD)( + IVBSAXLexicalHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId); + + HRESULT (STDMETHODCALLTYPE *endDTD)( + IVBSAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *startEntity)( + IVBSAXLexicalHandler *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *endEntity)( + IVBSAXLexicalHandler *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *startCDATA)( + IVBSAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *endCDATA)( + IVBSAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *comment)( + IVBSAXLexicalHandler *This, + BSTR *chars); + + END_INTERFACE +} IVBSAXLexicalHandlerVtbl; + +interface IVBSAXLexicalHandler { + CONST_VTBL IVBSAXLexicalHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXLexicalHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXLexicalHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXLexicalHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXLexicalHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXLexicalHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXLexicalHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXLexicalHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXLexicalHandler methods ***/ +#define IVBSAXLexicalHandler_startDTD(This,name,publicId,systemId) (This)->lpVtbl->startDTD(This,name,publicId,systemId) +#define IVBSAXLexicalHandler_endDTD(This) (This)->lpVtbl->endDTD(This) +#define IVBSAXLexicalHandler_startEntity(This,name) (This)->lpVtbl->startEntity(This,name) +#define IVBSAXLexicalHandler_endEntity(This,name) (This)->lpVtbl->endEntity(This,name) +#define IVBSAXLexicalHandler_startCDATA(This) (This)->lpVtbl->startCDATA(This) +#define IVBSAXLexicalHandler_endCDATA(This) (This)->lpVtbl->endCDATA(This) +#define IVBSAXLexicalHandler_comment(This,chars) (This)->lpVtbl->comment(This,chars) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXLexicalHandler_QueryInterface(IVBSAXLexicalHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXLexicalHandler_AddRef(IVBSAXLexicalHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXLexicalHandler_Release(IVBSAXLexicalHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXLexicalHandler_GetTypeInfoCount(IVBSAXLexicalHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_GetTypeInfo(IVBSAXLexicalHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_GetIDsOfNames(IVBSAXLexicalHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_Invoke(IVBSAXLexicalHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXLexicalHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXLexicalHandler_startDTD(IVBSAXLexicalHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId) { + return This->lpVtbl->startDTD(This,name,publicId,systemId); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_endDTD(IVBSAXLexicalHandler* This) { + return This->lpVtbl->endDTD(This); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_startEntity(IVBSAXLexicalHandler* This,BSTR *name) { + return This->lpVtbl->startEntity(This,name); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_endEntity(IVBSAXLexicalHandler* This,BSTR *name) { + return This->lpVtbl->endEntity(This,name); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_startCDATA(IVBSAXLexicalHandler* This) { + return This->lpVtbl->startCDATA(This); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_endCDATA(IVBSAXLexicalHandler* This) { + return This->lpVtbl->endCDATA(This); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_comment(IVBSAXLexicalHandler* This,BSTR *chars) { + return This->lpVtbl->comment(This,chars); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXLexicalHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXLocator interface + */ +#ifndef __IVBSAXLocator_INTERFACE_DEFINED__ +#define __IVBSAXLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXLocator, 0x796e7ac5, 0x5aa2, 0x4eff, 0xac,0xad, 0x3f,0xaa,0xf0,0x1a,0x32,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("796e7ac5-5aa2-4eff-acad-3faaf01a3288") +IVBSAXLocator : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_columnNumber( + int *column) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineNumber( + int *line) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_publicId( + BSTR *publicId) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + BSTR *systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXLocator, 0x796e7ac5, 0x5aa2, 0x4eff, 0xac,0xad, 0x3f,0xaa,0xf0,0x1a,0x32,0x88) +#endif +#else +typedef struct IVBSAXLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXLocator *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXLocator *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXLocator *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXLocator *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXLocator *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *get_columnNumber)( + IVBSAXLocator *This, + int *column); + + HRESULT (STDMETHODCALLTYPE *get_lineNumber)( + IVBSAXLocator *This, + int *line); + + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IVBSAXLocator *This, + BSTR *publicId); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IVBSAXLocator *This, + BSTR *systemId); + + END_INTERFACE +} IVBSAXLocatorVtbl; + +interface IVBSAXLocator { + CONST_VTBL IVBSAXLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXLocator_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXLocator methods ***/ +#define IVBSAXLocator_get_columnNumber(This,column) (This)->lpVtbl->get_columnNumber(This,column) +#define IVBSAXLocator_get_lineNumber(This,line) (This)->lpVtbl->get_lineNumber(This,line) +#define IVBSAXLocator_get_publicId(This,publicId) (This)->lpVtbl->get_publicId(This,publicId) +#define IVBSAXLocator_get_systemId(This,systemId) (This)->lpVtbl->get_systemId(This,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXLocator_QueryInterface(IVBSAXLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXLocator_AddRef(IVBSAXLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXLocator_Release(IVBSAXLocator* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXLocator_GetTypeInfoCount(IVBSAXLocator* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXLocator_GetTypeInfo(IVBSAXLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXLocator_GetIDsOfNames(IVBSAXLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXLocator_Invoke(IVBSAXLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXLocator methods ***/ +static FORCEINLINE HRESULT IVBSAXLocator_get_columnNumber(IVBSAXLocator* This,int *column) { + return This->lpVtbl->get_columnNumber(This,column); +} +static FORCEINLINE HRESULT IVBSAXLocator_get_lineNumber(IVBSAXLocator* This,int *line) { + return This->lpVtbl->get_lineNumber(This,line); +} +static FORCEINLINE HRESULT IVBSAXLocator_get_publicId(IVBSAXLocator* This,BSTR *publicId) { + return This->lpVtbl->get_publicId(This,publicId); +} +static FORCEINLINE HRESULT IVBSAXLocator_get_systemId(IVBSAXLocator* This,BSTR *systemId) { + return This->lpVtbl->get_systemId(This,systemId); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXXMLFilter interface + */ +#ifndef __IVBSAXXMLFilter_INTERFACE_DEFINED__ +#define __IVBSAXXMLFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXXMLFilter, 0x1299eb1b, 0x5b88, 0x433e, 0x82,0xde, 0x82,0xca,0x75,0xad,0x4e,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1299eb1b-5b88-433e-82de-82ca75ad4e04") +IVBSAXXMLFilter : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_parent( + IVBSAXXMLReader **reader) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_parent( + IVBSAXXMLReader *reader) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXXMLFilter, 0x1299eb1b, 0x5b88, 0x433e, 0x82,0xde, 0x82,0xca,0x75,0xad,0x4e,0x04) +#endif +#else +typedef struct IVBSAXXMLFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXXMLFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXXMLFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXXMLFilter *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXXMLFilter *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXXMLFilter *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXXMLFilter *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXXMLFilter *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXXMLFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *get_parent)( + IVBSAXXMLFilter *This, + IVBSAXXMLReader **reader); + + HRESULT (STDMETHODCALLTYPE *putref_parent)( + IVBSAXXMLFilter *This, + IVBSAXXMLReader *reader); + + END_INTERFACE +} IVBSAXXMLFilterVtbl; + +interface IVBSAXXMLFilter { + CONST_VTBL IVBSAXXMLFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXXMLFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXXMLFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXXMLFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXXMLFilter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXXMLFilter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXXMLFilter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXXMLFilter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXXMLFilter methods ***/ +#define IVBSAXXMLFilter_get_parent(This,reader) (This)->lpVtbl->get_parent(This,reader) +#define IVBSAXXMLFilter_putref_parent(This,reader) (This)->lpVtbl->putref_parent(This,reader) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLFilter_QueryInterface(IVBSAXXMLFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXXMLFilter_AddRef(IVBSAXXMLFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXXMLFilter_Release(IVBSAXXMLFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLFilter_GetTypeInfoCount(IVBSAXXMLFilter* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_GetTypeInfo(IVBSAXXMLFilter* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_GetIDsOfNames(IVBSAXXMLFilter* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_Invoke(IVBSAXXMLFilter* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXXMLFilter methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLFilter_get_parent(IVBSAXXMLFilter* This,IVBSAXXMLReader **reader) { + return This->lpVtbl->get_parent(This,reader); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_putref_parent(IVBSAXXMLFilter* This,IVBSAXXMLReader *reader) { + return This->lpVtbl->putref_parent(This,reader); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXXMLFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXXMLReader interface + */ +#ifndef __IVBSAXXMLReader_INTERFACE_DEFINED__ +#define __IVBSAXXMLReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXXMLReader, 0x8c033caa, 0x6cd6, 0x4f73, 0xb7,0x28, 0x45,0x31,0xaf,0x74,0x94,0x5f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8c033caa-6cd6-4f73-b728-4531af74945f") +IVBSAXXMLReader : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getFeature( + BSTR pFeature, + VARIANT_BOOL *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putFeature( + BSTR pFeature, + VARIANT_BOOL vfValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR pProp, + VARIANT *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putProperty( + BSTR pProp, + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entityResolver( + IVBSAXEntityResolver **ppEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_entityResolver( + IVBSAXEntityResolver *pEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentHandler( + IVBSAXContentHandler **pContentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_contentHandler( + IVBSAXContentHandler *contentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dtdHandler( + IVBSAXDTDHandler **pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_dtdHandler( + IVBSAXDTDHandler *pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorHandler( + IVBSAXErrorHandler **pErrorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_errorHandler( + IVBSAXErrorHandler *errorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseURL( + BSTR *pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_baseURL( + BSTR pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_secureBaseURL( + BSTR *pSecureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_secureBaseURL( + BSTR secureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE parse( + VARIANT varInput) = 0; + + virtual HRESULT STDMETHODCALLTYPE parseURL( + BSTR url) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXXMLReader, 0x8c033caa, 0x6cd6, 0x4f73, 0xb7,0x28, 0x45,0x31,0xaf,0x74,0x94,0x5f) +#endif +#else +typedef struct IVBSAXXMLReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXXMLReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXXMLReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXXMLReader *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXXMLReader *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXXMLReader *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXXMLReader *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXXMLReader *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXXMLReader methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + IVBSAXXMLReader *This, + BSTR pFeature, + VARIANT_BOOL *pValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + IVBSAXXMLReader *This, + BSTR pFeature, + VARIANT_BOOL vfValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IVBSAXXMLReader *This, + BSTR pProp, + VARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + IVBSAXXMLReader *This, + BSTR pProp, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_entityResolver)( + IVBSAXXMLReader *This, + IVBSAXEntityResolver **ppEntityResolver); + + HRESULT (STDMETHODCALLTYPE *putref_entityResolver)( + IVBSAXXMLReader *This, + IVBSAXEntityResolver *pEntityResolver); + + HRESULT (STDMETHODCALLTYPE *get_contentHandler)( + IVBSAXXMLReader *This, + IVBSAXContentHandler **pContentHandler); + + HRESULT (STDMETHODCALLTYPE *putref_contentHandler)( + IVBSAXXMLReader *This, + IVBSAXContentHandler *contentHandler); + + HRESULT (STDMETHODCALLTYPE *get_dtdHandler)( + IVBSAXXMLReader *This, + IVBSAXDTDHandler **pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *putref_dtdHandler)( + IVBSAXXMLReader *This, + IVBSAXDTDHandler *pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *get_errorHandler)( + IVBSAXXMLReader *This, + IVBSAXErrorHandler **pErrorHandler); + + HRESULT (STDMETHODCALLTYPE *putref_errorHandler)( + IVBSAXXMLReader *This, + IVBSAXErrorHandler *errorHandler); + + HRESULT (STDMETHODCALLTYPE *get_baseURL)( + IVBSAXXMLReader *This, + BSTR *pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *put_baseURL)( + IVBSAXXMLReader *This, + BSTR pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *get_secureBaseURL)( + IVBSAXXMLReader *This, + BSTR *pSecureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *put_secureBaseURL)( + IVBSAXXMLReader *This, + BSTR secureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *parse)( + IVBSAXXMLReader *This, + VARIANT varInput); + + HRESULT (STDMETHODCALLTYPE *parseURL)( + IVBSAXXMLReader *This, + BSTR url); + + END_INTERFACE +} IVBSAXXMLReaderVtbl; + +interface IVBSAXXMLReader { + CONST_VTBL IVBSAXXMLReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXXMLReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXXMLReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXXMLReader_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXXMLReader_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXXMLReader_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXXMLReader_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXXMLReader_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXXMLReader methods ***/ +#define IVBSAXXMLReader_getFeature(This,pFeature,pValue) (This)->lpVtbl->getFeature(This,pFeature,pValue) +#define IVBSAXXMLReader_putFeature(This,pFeature,vfValue) (This)->lpVtbl->putFeature(This,pFeature,vfValue) +#define IVBSAXXMLReader_getProperty(This,pProp,pValue) (This)->lpVtbl->getProperty(This,pProp,pValue) +#define IVBSAXXMLReader_putProperty(This,pProp,value) (This)->lpVtbl->putProperty(This,pProp,value) +#define IVBSAXXMLReader_get_entityResolver(This,ppEntityResolver) (This)->lpVtbl->get_entityResolver(This,ppEntityResolver) +#define IVBSAXXMLReader_putref_entityResolver(This,pEntityResolver) (This)->lpVtbl->putref_entityResolver(This,pEntityResolver) +#define IVBSAXXMLReader_get_contentHandler(This,pContentHandler) (This)->lpVtbl->get_contentHandler(This,pContentHandler) +#define IVBSAXXMLReader_putref_contentHandler(This,contentHandler) (This)->lpVtbl->putref_contentHandler(This,contentHandler) +#define IVBSAXXMLReader_get_dtdHandler(This,pDTDHandler) (This)->lpVtbl->get_dtdHandler(This,pDTDHandler) +#define IVBSAXXMLReader_putref_dtdHandler(This,pDTDHandler) (This)->lpVtbl->putref_dtdHandler(This,pDTDHandler) +#define IVBSAXXMLReader_get_errorHandler(This,pErrorHandler) (This)->lpVtbl->get_errorHandler(This,pErrorHandler) +#define IVBSAXXMLReader_putref_errorHandler(This,errorHandler) (This)->lpVtbl->putref_errorHandler(This,errorHandler) +#define IVBSAXXMLReader_get_baseURL(This,pBaseUrl) (This)->lpVtbl->get_baseURL(This,pBaseUrl) +#define IVBSAXXMLReader_put_baseURL(This,pBaseUrl) (This)->lpVtbl->put_baseURL(This,pBaseUrl) +#define IVBSAXXMLReader_get_secureBaseURL(This,pSecureBaseUrl) (This)->lpVtbl->get_secureBaseURL(This,pSecureBaseUrl) +#define IVBSAXXMLReader_put_secureBaseURL(This,secureBaseUrl) (This)->lpVtbl->put_secureBaseURL(This,secureBaseUrl) +#define IVBSAXXMLReader_parse(This,varInput) (This)->lpVtbl->parse(This,varInput) +#define IVBSAXXMLReader_parseURL(This,url) (This)->lpVtbl->parseURL(This,url) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLReader_QueryInterface(IVBSAXXMLReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXXMLReader_AddRef(IVBSAXXMLReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXXMLReader_Release(IVBSAXXMLReader* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLReader_GetTypeInfoCount(IVBSAXXMLReader* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_GetTypeInfo(IVBSAXXMLReader* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_GetIDsOfNames(IVBSAXXMLReader* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_Invoke(IVBSAXXMLReader* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXXMLReader methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLReader_getFeature(IVBSAXXMLReader* This,BSTR pFeature,VARIANT_BOOL *pValue) { + return This->lpVtbl->getFeature(This,pFeature,pValue); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putFeature(IVBSAXXMLReader* This,BSTR pFeature,VARIANT_BOOL vfValue) { + return This->lpVtbl->putFeature(This,pFeature,vfValue); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_getProperty(IVBSAXXMLReader* This,BSTR pProp,VARIANT *pValue) { + return This->lpVtbl->getProperty(This,pProp,pValue); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putProperty(IVBSAXXMLReader* This,BSTR pProp,VARIANT value) { + return This->lpVtbl->putProperty(This,pProp,value); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_entityResolver(IVBSAXXMLReader* This,IVBSAXEntityResolver **ppEntityResolver) { + return This->lpVtbl->get_entityResolver(This,ppEntityResolver); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_entityResolver(IVBSAXXMLReader* This,IVBSAXEntityResolver *pEntityResolver) { + return This->lpVtbl->putref_entityResolver(This,pEntityResolver); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_contentHandler(IVBSAXXMLReader* This,IVBSAXContentHandler **pContentHandler) { + return This->lpVtbl->get_contentHandler(This,pContentHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_contentHandler(IVBSAXXMLReader* This,IVBSAXContentHandler *contentHandler) { + return This->lpVtbl->putref_contentHandler(This,contentHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_dtdHandler(IVBSAXXMLReader* This,IVBSAXDTDHandler **pDTDHandler) { + return This->lpVtbl->get_dtdHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_dtdHandler(IVBSAXXMLReader* This,IVBSAXDTDHandler *pDTDHandler) { + return This->lpVtbl->putref_dtdHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_errorHandler(IVBSAXXMLReader* This,IVBSAXErrorHandler **pErrorHandler) { + return This->lpVtbl->get_errorHandler(This,pErrorHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_errorHandler(IVBSAXXMLReader* This,IVBSAXErrorHandler *errorHandler) { + return This->lpVtbl->putref_errorHandler(This,errorHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_baseURL(IVBSAXXMLReader* This,BSTR *pBaseUrl) { + return This->lpVtbl->get_baseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_put_baseURL(IVBSAXXMLReader* This,BSTR pBaseUrl) { + return This->lpVtbl->put_baseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_secureBaseURL(IVBSAXXMLReader* This,BSTR *pSecureBaseUrl) { + return This->lpVtbl->get_secureBaseURL(This,pSecureBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_put_secureBaseURL(IVBSAXXMLReader* This,BSTR secureBaseUrl) { + return This->lpVtbl->put_secureBaseURL(This,secureBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_parse(IVBSAXXMLReader* This,VARIANT varInput) { + return This->lpVtbl->parse(This,varInput); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_parseURL(IVBSAXXMLReader* This,BSTR url) { + return This->lpVtbl->parseURL(This,url); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXXMLReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXAttributes interface + */ +#ifndef __IMXAttributes_INTERFACE_DEFINED__ +#define __IMXAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXAttributes, 0xf10d27cc, 0x3ec0, 0x415c, 0x8e,0xd8, 0x77,0xab,0x1c,0x5e,0x72,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f10d27cc-3ec0-415c-8ed8-77ab1c5e7262") +IMXAttributes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE addAttribute( + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE addAttributeFromIndex( + VARIANT atts, + int index) = 0; + + virtual HRESULT STDMETHODCALLTYPE clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + int index) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + int index, + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributes( + VARIANT atts) = 0; + + virtual HRESULT STDMETHODCALLTYPE setLocalName( + int index, + BSTR localName) = 0; + + virtual HRESULT STDMETHODCALLTYPE setQName( + int index, + BSTR QName) = 0; + + virtual HRESULT STDMETHODCALLTYPE setType( + int index, + BSTR type) = 0; + + virtual HRESULT STDMETHODCALLTYPE setURI( + int index, + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE setValue( + int index, + BSTR value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXAttributes, 0xf10d27cc, 0x3ec0, 0x415c, 0x8e,0xd8, 0x77,0xab,0x1c,0x5e,0x72,0x62) +#endif +#else +typedef struct IMXAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXAttributes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXAttributes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXAttributes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXAttributes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXAttributes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *addAttribute)( + IMXAttributes *This, + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *addAttributeFromIndex)( + IMXAttributes *This, + VARIANT atts, + int index); + + HRESULT (STDMETHODCALLTYPE *clear)( + IMXAttributes *This); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IMXAttributes *This, + int index); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IMXAttributes *This, + int index, + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *setAttributes)( + IMXAttributes *This, + VARIANT atts); + + HRESULT (STDMETHODCALLTYPE *setLocalName)( + IMXAttributes *This, + int index, + BSTR localName); + + HRESULT (STDMETHODCALLTYPE *setQName)( + IMXAttributes *This, + int index, + BSTR QName); + + HRESULT (STDMETHODCALLTYPE *setType)( + IMXAttributes *This, + int index, + BSTR type); + + HRESULT (STDMETHODCALLTYPE *setURI)( + IMXAttributes *This, + int index, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *setValue)( + IMXAttributes *This, + int index, + BSTR value); + + END_INTERFACE +} IMXAttributesVtbl; + +interface IMXAttributes { + CONST_VTBL IMXAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXAttributes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXAttributes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXAttributes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXAttributes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXAttributes methods ***/ +#define IMXAttributes_addAttribute(This,uri,localName,QName,type,value) (This)->lpVtbl->addAttribute(This,uri,localName,QName,type,value) +#define IMXAttributes_addAttributeFromIndex(This,atts,index) (This)->lpVtbl->addAttributeFromIndex(This,atts,index) +#define IMXAttributes_clear(This) (This)->lpVtbl->clear(This) +#define IMXAttributes_removeAttribute(This,index) (This)->lpVtbl->removeAttribute(This,index) +#define IMXAttributes_setAttribute(This,index,uri,localName,QName,type,value) (This)->lpVtbl->setAttribute(This,index,uri,localName,QName,type,value) +#define IMXAttributes_setAttributes(This,atts) (This)->lpVtbl->setAttributes(This,atts) +#define IMXAttributes_setLocalName(This,index,localName) (This)->lpVtbl->setLocalName(This,index,localName) +#define IMXAttributes_setQName(This,index,QName) (This)->lpVtbl->setQName(This,index,QName) +#define IMXAttributes_setType(This,index,type) (This)->lpVtbl->setType(This,index,type) +#define IMXAttributes_setURI(This,index,uri) (This)->lpVtbl->setURI(This,index,uri) +#define IMXAttributes_setValue(This,index,value) (This)->lpVtbl->setValue(This,index,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXAttributes_QueryInterface(IMXAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXAttributes_AddRef(IMXAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXAttributes_Release(IMXAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXAttributes_GetTypeInfoCount(IMXAttributes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXAttributes_GetTypeInfo(IMXAttributes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXAttributes_GetIDsOfNames(IMXAttributes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXAttributes_Invoke(IMXAttributes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXAttributes methods ***/ +static FORCEINLINE HRESULT IMXAttributes_addAttribute(IMXAttributes* This,BSTR uri,BSTR localName,BSTR QName,BSTR type,BSTR value) { + return This->lpVtbl->addAttribute(This,uri,localName,QName,type,value); +} +static FORCEINLINE HRESULT IMXAttributes_addAttributeFromIndex(IMXAttributes* This,VARIANT atts,int index) { + return This->lpVtbl->addAttributeFromIndex(This,atts,index); +} +static FORCEINLINE HRESULT IMXAttributes_clear(IMXAttributes* This) { + return This->lpVtbl->clear(This); +} +static FORCEINLINE HRESULT IMXAttributes_removeAttribute(IMXAttributes* This,int index) { + return This->lpVtbl->removeAttribute(This,index); +} +static FORCEINLINE HRESULT IMXAttributes_setAttribute(IMXAttributes* This,int index,BSTR uri,BSTR localName,BSTR QName,BSTR type,BSTR value) { + return This->lpVtbl->setAttribute(This,index,uri,localName,QName,type,value); +} +static FORCEINLINE HRESULT IMXAttributes_setAttributes(IMXAttributes* This,VARIANT atts) { + return This->lpVtbl->setAttributes(This,atts); +} +static FORCEINLINE HRESULT IMXAttributes_setLocalName(IMXAttributes* This,int index,BSTR localName) { + return This->lpVtbl->setLocalName(This,index,localName); +} +static FORCEINLINE HRESULT IMXAttributes_setQName(IMXAttributes* This,int index,BSTR QName) { + return This->lpVtbl->setQName(This,index,QName); +} +static FORCEINLINE HRESULT IMXAttributes_setType(IMXAttributes* This,int index,BSTR type) { + return This->lpVtbl->setType(This,index,type); +} +static FORCEINLINE HRESULT IMXAttributes_setURI(IMXAttributes* This,int index,BSTR uri) { + return This->lpVtbl->setURI(This,index,uri); +} +static FORCEINLINE HRESULT IMXAttributes_setValue(IMXAttributes* This,int index,BSTR value) { + return This->lpVtbl->setValue(This,index,value); +} +#endif +#endif + +#endif + + +#endif /* __IMXAttributes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXSchemaDeclHandler interface + */ +#ifndef __IMXSchemaDeclHandler_INTERFACE_DEFINED__ +#define __IMXSchemaDeclHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXSchemaDeclHandler, 0xfa4bb38c, 0xfaf9, 0x4cca, 0x93,0x02, 0xd1,0xdd,0x0f,0xe5,0x20,0xdb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fa4bb38c-faf9-4cca-9302-d1dd0fe520db") +IMXSchemaDeclHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE schemaElementDecl( + ISchemaElement *oSchemaElement) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXSchemaDeclHandler, 0xfa4bb38c, 0xfaf9, 0x4cca, 0x93,0x02, 0xd1,0xdd,0x0f,0xe5,0x20,0xdb) +#endif +#else +typedef struct IMXSchemaDeclHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXSchemaDeclHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXSchemaDeclHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXSchemaDeclHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXSchemaDeclHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXSchemaDeclHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXSchemaDeclHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXSchemaDeclHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXSchemaDeclHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *schemaElementDecl)( + IMXSchemaDeclHandler *This, + ISchemaElement *oSchemaElement); + + END_INTERFACE +} IMXSchemaDeclHandlerVtbl; + +interface IMXSchemaDeclHandler { + CONST_VTBL IMXSchemaDeclHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXSchemaDeclHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXSchemaDeclHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXSchemaDeclHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXSchemaDeclHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXSchemaDeclHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXSchemaDeclHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXSchemaDeclHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXSchemaDeclHandler methods ***/ +#define IMXSchemaDeclHandler_schemaElementDecl(This,oSchemaElement) (This)->lpVtbl->schemaElementDecl(This,oSchemaElement) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXSchemaDeclHandler_QueryInterface(IMXSchemaDeclHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXSchemaDeclHandler_AddRef(IMXSchemaDeclHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXSchemaDeclHandler_Release(IMXSchemaDeclHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXSchemaDeclHandler_GetTypeInfoCount(IMXSchemaDeclHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXSchemaDeclHandler_GetTypeInfo(IMXSchemaDeclHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXSchemaDeclHandler_GetIDsOfNames(IMXSchemaDeclHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXSchemaDeclHandler_Invoke(IMXSchemaDeclHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXSchemaDeclHandler methods ***/ +static FORCEINLINE HRESULT IMXSchemaDeclHandler_schemaElementDecl(IMXSchemaDeclHandler* This,ISchemaElement *oSchemaElement) { + return This->lpVtbl->schemaElementDecl(This,oSchemaElement); +} +#endif +#endif + +#endif + + +#endif /* __IMXSchemaDeclHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXReaderControl interface + */ +#ifndef __IMXReaderControl_INTERFACE_DEFINED__ +#define __IMXReaderControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXReaderControl, 0x808f4e35, 0x8d5a, 0x4fbe, 0x84,0x66, 0x33,0xa4,0x12,0x79,0xed,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("808f4e35-8d5a-4fbe-8466-33a41279ed30") +IMXReaderControl : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE resume( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE suspend( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXReaderControl, 0x808f4e35, 0x8d5a, 0x4fbe, 0x84,0x66, 0x33,0xa4,0x12,0x79,0xed,0x30) +#endif +#else +typedef struct IMXReaderControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXReaderControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXReaderControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXReaderControl *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXReaderControl *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXReaderControl *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXReaderControl *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXReaderControl *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXReaderControl methods ***/ + HRESULT (STDMETHODCALLTYPE *abort)( + IMXReaderControl *This); + + HRESULT (STDMETHODCALLTYPE *resume)( + IMXReaderControl *This); + + HRESULT (STDMETHODCALLTYPE *suspend)( + IMXReaderControl *This); + + END_INTERFACE +} IMXReaderControlVtbl; + +interface IMXReaderControl { + CONST_VTBL IMXReaderControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXReaderControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXReaderControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXReaderControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXReaderControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXReaderControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXReaderControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXReaderControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXReaderControl methods ***/ +#define IMXReaderControl_abort(This) (This)->lpVtbl->abort(This) +#define IMXReaderControl_resume(This) (This)->lpVtbl->resume(This) +#define IMXReaderControl_suspend(This) (This)->lpVtbl->suspend(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXReaderControl_QueryInterface(IMXReaderControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXReaderControl_AddRef(IMXReaderControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXReaderControl_Release(IMXReaderControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXReaderControl_GetTypeInfoCount(IMXReaderControl* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXReaderControl_GetTypeInfo(IMXReaderControl* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXReaderControl_GetIDsOfNames(IMXReaderControl* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXReaderControl_Invoke(IMXReaderControl* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXReaderControl methods ***/ +static FORCEINLINE HRESULT IMXReaderControl_abort(IMXReaderControl* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IMXReaderControl_resume(IMXReaderControl* This) { + return This->lpVtbl->resume(This); +} +static FORCEINLINE HRESULT IMXReaderControl_suspend(IMXReaderControl* This) { + return This->lpVtbl->suspend(This); +} +#endif +#endif + +#endif + + +#endif /* __IMXReaderControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXWriter interface + */ +#ifndef __IMXWriter_INTERFACE_DEFINED__ +#define __IMXWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXWriter, 0x4d7ff4ba, 0x1565, 0x4ea8, 0x94,0xe1, 0x6e,0x72,0x4a,0x46,0xf9,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4d7ff4ba-1565-4ea8-94e1-6e724a46f98d") +IMXWriter : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_output( + VARIANT Destination) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_output( + VARIANT *Destination) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_encoding( + BSTR encoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_encoding( + BSTR *encoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_byteOrderMark( + VARIANT_BOOL writeByteOrderMark) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_byteOrderMark( + VARIANT_BOOL *writeByteOrderMark) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_indent( + VARIANT_BOOL indentMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_indent( + VARIANT_BOOL *indentMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_standalone( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_standalone( + VARIANT_BOOL *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_omitXMLDeclaration( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_omitXMLDeclaration( + VARIANT_BOOL *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_version( + BSTR version) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *version) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disableOutputEscaping( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disableOutputEscaping( + VARIANT_BOOL *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE flush( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXWriter, 0x4d7ff4ba, 0x1565, 0x4ea8, 0x94,0xe1, 0x6e,0x72,0x4a,0x46,0xf9,0x8d) +#endif +#else +typedef struct IMXWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXWriter *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXWriter *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXWriter *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXWriter *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXWriter *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *put_output)( + IMXWriter *This, + VARIANT Destination); + + HRESULT (STDMETHODCALLTYPE *get_output)( + IMXWriter *This, + VARIANT *Destination); + + HRESULT (STDMETHODCALLTYPE *put_encoding)( + IMXWriter *This, + BSTR encoding); + + HRESULT (STDMETHODCALLTYPE *get_encoding)( + IMXWriter *This, + BSTR *encoding); + + HRESULT (STDMETHODCALLTYPE *put_byteOrderMark)( + IMXWriter *This, + VARIANT_BOOL writeByteOrderMark); + + HRESULT (STDMETHODCALLTYPE *get_byteOrderMark)( + IMXWriter *This, + VARIANT_BOOL *writeByteOrderMark); + + HRESULT (STDMETHODCALLTYPE *put_indent)( + IMXWriter *This, + VARIANT_BOOL indentMode); + + HRESULT (STDMETHODCALLTYPE *get_indent)( + IMXWriter *This, + VARIANT_BOOL *indentMode); + + HRESULT (STDMETHODCALLTYPE *put_standalone)( + IMXWriter *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_standalone)( + IMXWriter *This, + VARIANT_BOOL *value); + + HRESULT (STDMETHODCALLTYPE *put_omitXMLDeclaration)( + IMXWriter *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_omitXMLDeclaration)( + IMXWriter *This, + VARIANT_BOOL *value); + + HRESULT (STDMETHODCALLTYPE *put_version)( + IMXWriter *This, + BSTR version); + + HRESULT (STDMETHODCALLTYPE *get_version)( + IMXWriter *This, + BSTR *version); + + HRESULT (STDMETHODCALLTYPE *put_disableOutputEscaping)( + IMXWriter *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_disableOutputEscaping)( + IMXWriter *This, + VARIANT_BOOL *value); + + HRESULT (STDMETHODCALLTYPE *flush)( + IMXWriter *This); + + END_INTERFACE +} IMXWriterVtbl; + +interface IMXWriter { + CONST_VTBL IMXWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXWriter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXWriter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXWriter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXWriter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXWriter methods ***/ +#define IMXWriter_put_output(This,Destination) (This)->lpVtbl->put_output(This,Destination) +#define IMXWriter_get_output(This,Destination) (This)->lpVtbl->get_output(This,Destination) +#define IMXWriter_put_encoding(This,encoding) (This)->lpVtbl->put_encoding(This,encoding) +#define IMXWriter_get_encoding(This,encoding) (This)->lpVtbl->get_encoding(This,encoding) +#define IMXWriter_put_byteOrderMark(This,writeByteOrderMark) (This)->lpVtbl->put_byteOrderMark(This,writeByteOrderMark) +#define IMXWriter_get_byteOrderMark(This,writeByteOrderMark) (This)->lpVtbl->get_byteOrderMark(This,writeByteOrderMark) +#define IMXWriter_put_indent(This,indentMode) (This)->lpVtbl->put_indent(This,indentMode) +#define IMXWriter_get_indent(This,indentMode) (This)->lpVtbl->get_indent(This,indentMode) +#define IMXWriter_put_standalone(This,value) (This)->lpVtbl->put_standalone(This,value) +#define IMXWriter_get_standalone(This,value) (This)->lpVtbl->get_standalone(This,value) +#define IMXWriter_put_omitXMLDeclaration(This,value) (This)->lpVtbl->put_omitXMLDeclaration(This,value) +#define IMXWriter_get_omitXMLDeclaration(This,value) (This)->lpVtbl->get_omitXMLDeclaration(This,value) +#define IMXWriter_put_version(This,version) (This)->lpVtbl->put_version(This,version) +#define IMXWriter_get_version(This,version) (This)->lpVtbl->get_version(This,version) +#define IMXWriter_put_disableOutputEscaping(This,value) (This)->lpVtbl->put_disableOutputEscaping(This,value) +#define IMXWriter_get_disableOutputEscaping(This,value) (This)->lpVtbl->get_disableOutputEscaping(This,value) +#define IMXWriter_flush(This) (This)->lpVtbl->flush(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXWriter_QueryInterface(IMXWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXWriter_AddRef(IMXWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXWriter_Release(IMXWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXWriter_GetTypeInfoCount(IMXWriter* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXWriter_GetTypeInfo(IMXWriter* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXWriter_GetIDsOfNames(IMXWriter* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXWriter_Invoke(IMXWriter* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXWriter methods ***/ +static FORCEINLINE HRESULT IMXWriter_put_output(IMXWriter* This,VARIANT Destination) { + return This->lpVtbl->put_output(This,Destination); +} +static FORCEINLINE HRESULT IMXWriter_get_output(IMXWriter* This,VARIANT *Destination) { + return This->lpVtbl->get_output(This,Destination); +} +static FORCEINLINE HRESULT IMXWriter_put_encoding(IMXWriter* This,BSTR encoding) { + return This->lpVtbl->put_encoding(This,encoding); +} +static FORCEINLINE HRESULT IMXWriter_get_encoding(IMXWriter* This,BSTR *encoding) { + return This->lpVtbl->get_encoding(This,encoding); +} +static FORCEINLINE HRESULT IMXWriter_put_byteOrderMark(IMXWriter* This,VARIANT_BOOL writeByteOrderMark) { + return This->lpVtbl->put_byteOrderMark(This,writeByteOrderMark); +} +static FORCEINLINE HRESULT IMXWriter_get_byteOrderMark(IMXWriter* This,VARIANT_BOOL *writeByteOrderMark) { + return This->lpVtbl->get_byteOrderMark(This,writeByteOrderMark); +} +static FORCEINLINE HRESULT IMXWriter_put_indent(IMXWriter* This,VARIANT_BOOL indentMode) { + return This->lpVtbl->put_indent(This,indentMode); +} +static FORCEINLINE HRESULT IMXWriter_get_indent(IMXWriter* This,VARIANT_BOOL *indentMode) { + return This->lpVtbl->get_indent(This,indentMode); +} +static FORCEINLINE HRESULT IMXWriter_put_standalone(IMXWriter* This,VARIANT_BOOL value) { + return This->lpVtbl->put_standalone(This,value); +} +static FORCEINLINE HRESULT IMXWriter_get_standalone(IMXWriter* This,VARIANT_BOOL *value) { + return This->lpVtbl->get_standalone(This,value); +} +static FORCEINLINE HRESULT IMXWriter_put_omitXMLDeclaration(IMXWriter* This,VARIANT_BOOL value) { + return This->lpVtbl->put_omitXMLDeclaration(This,value); +} +static FORCEINLINE HRESULT IMXWriter_get_omitXMLDeclaration(IMXWriter* This,VARIANT_BOOL *value) { + return This->lpVtbl->get_omitXMLDeclaration(This,value); +} +static FORCEINLINE HRESULT IMXWriter_put_version(IMXWriter* This,BSTR version) { + return This->lpVtbl->put_version(This,version); +} +static FORCEINLINE HRESULT IMXWriter_get_version(IMXWriter* This,BSTR *version) { + return This->lpVtbl->get_version(This,version); +} +static FORCEINLINE HRESULT IMXWriter_put_disableOutputEscaping(IMXWriter* This,VARIANT_BOOL value) { + return This->lpVtbl->put_disableOutputEscaping(This,value); +} +static FORCEINLINE HRESULT IMXWriter_get_disableOutputEscaping(IMXWriter* This,VARIANT_BOOL *value) { + return This->lpVtbl->get_disableOutputEscaping(This,value); +} +static FORCEINLINE HRESULT IMXWriter_flush(IMXWriter* This) { + return This->lpVtbl->flush(This); +} +#endif +#endif + +#endif + + +#endif /* __IMXWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXNamespacePrefixes interface + */ +#ifndef __IMXNamespacePrefixes_INTERFACE_DEFINED__ +#define __IMXNamespacePrefixes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXNamespacePrefixes, 0xc90352f4, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f4-643c-4fbc-bb23-e996eb2d51fd") +IMXNamespacePrefixes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + BSTR *prefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXNamespacePrefixes, 0xc90352f4, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IMXNamespacePrefixesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXNamespacePrefixes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXNamespacePrefixes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXNamespacePrefixes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXNamespacePrefixes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXNamespacePrefixes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXNamespacePrefixes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXNamespacePrefixes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXNamespacePrefixes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IMXNamespacePrefixes *This, + LONG index, + BSTR *prefix); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IMXNamespacePrefixes *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IMXNamespacePrefixes *This, + IUnknown **ppUnk); + + END_INTERFACE +} IMXNamespacePrefixesVtbl; + +interface IMXNamespacePrefixes { + CONST_VTBL IMXNamespacePrefixesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXNamespacePrefixes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXNamespacePrefixes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXNamespacePrefixes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXNamespacePrefixes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXNamespacePrefixes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXNamespacePrefixes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXNamespacePrefixes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXNamespacePrefixes methods ***/ +#define IMXNamespacePrefixes_get_item(This,index,prefix) (This)->lpVtbl->get_item(This,index,prefix) +#define IMXNamespacePrefixes_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IMXNamespacePrefixes_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXNamespacePrefixes_QueryInterface(IMXNamespacePrefixes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXNamespacePrefixes_AddRef(IMXNamespacePrefixes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXNamespacePrefixes_Release(IMXNamespacePrefixes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXNamespacePrefixes_GetTypeInfoCount(IMXNamespacePrefixes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_GetTypeInfo(IMXNamespacePrefixes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_GetIDsOfNames(IMXNamespacePrefixes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_Invoke(IMXNamespacePrefixes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXNamespacePrefixes methods ***/ +static FORCEINLINE HRESULT IMXNamespacePrefixes_get_item(IMXNamespacePrefixes* This,LONG index,BSTR *prefix) { + return This->lpVtbl->get_item(This,index,prefix); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_get_length(IMXNamespacePrefixes* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_get__newEnum(IMXNamespacePrefixes* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IMXNamespacePrefixes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXNamespaceManager interface + */ +#ifndef __IMXNamespaceManager_INTERFACE_DEFINED__ +#define __IMXNamespaceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXNamespaceManager, 0xc90352f6, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f6-643c-4fbc-bb23-e996eb2d51fd") +IMXNamespaceManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE putAllowOverride( + VARIANT_BOOL fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAllowOverride( + VARIANT_BOOL *fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushNodeContext( + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep) = 0; + + virtual HRESULT STDMETHODCALLTYPE popContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE declarePrefix( + const WCHAR *prefix, + const WCHAR *namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDeclaredPrefix( + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPrefix( + const WCHAR *pwszNamespaceURI, + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + const WCHAR *pwchPrefix, + IXMLDOMNode *pContextNode, + WCHAR *pwchUri, + int *pcchUri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXNamespaceManager, 0xc90352f6, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IMXNamespaceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXNamespaceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXNamespaceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXNamespaceManager *This); + + /*** IMXNamespaceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *putAllowOverride)( + IMXNamespaceManager *This, + VARIANT_BOOL fOverride); + + HRESULT (STDMETHODCALLTYPE *getAllowOverride)( + IMXNamespaceManager *This, + VARIANT_BOOL *fOverride); + + HRESULT (STDMETHODCALLTYPE *reset)( + IMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushContext)( + IMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushNodeContext)( + IMXNamespaceManager *This, + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep); + + HRESULT (STDMETHODCALLTYPE *popContext)( + IMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *declarePrefix)( + IMXNamespaceManager *This, + const WCHAR *prefix, + const WCHAR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *getDeclaredPrefix)( + IMXNamespaceManager *This, + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix); + + HRESULT (STDMETHODCALLTYPE *getPrefix)( + IMXNamespaceManager *This, + const WCHAR *pwszNamespaceURI, + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix); + + HRESULT (STDMETHODCALLTYPE *getURI)( + IMXNamespaceManager *This, + const WCHAR *pwchPrefix, + IXMLDOMNode *pContextNode, + WCHAR *pwchUri, + int *pcchUri); + + END_INTERFACE +} IMXNamespaceManagerVtbl; + +interface IMXNamespaceManager { + CONST_VTBL IMXNamespaceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXNamespaceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXNamespaceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXNamespaceManager_Release(This) (This)->lpVtbl->Release(This) +/*** IMXNamespaceManager methods ***/ +#define IMXNamespaceManager_putAllowOverride(This,fOverride) (This)->lpVtbl->putAllowOverride(This,fOverride) +#define IMXNamespaceManager_getAllowOverride(This,fOverride) (This)->lpVtbl->getAllowOverride(This,fOverride) +#define IMXNamespaceManager_reset(This) (This)->lpVtbl->reset(This) +#define IMXNamespaceManager_pushContext(This) (This)->lpVtbl->pushContext(This) +#define IMXNamespaceManager_pushNodeContext(This,contextNode,fDeep) (This)->lpVtbl->pushNodeContext(This,contextNode,fDeep) +#define IMXNamespaceManager_popContext(This) (This)->lpVtbl->popContext(This) +#define IMXNamespaceManager_declarePrefix(This,prefix,namespaceURI) (This)->lpVtbl->declarePrefix(This,prefix,namespaceURI) +#define IMXNamespaceManager_getDeclaredPrefix(This,nIndex,pwchPrefix,pcchPrefix) (This)->lpVtbl->getDeclaredPrefix(This,nIndex,pwchPrefix,pcchPrefix) +#define IMXNamespaceManager_getPrefix(This,pwszNamespaceURI,nIndex,pwchPrefix,pcchPrefix) (This)->lpVtbl->getPrefix(This,pwszNamespaceURI,nIndex,pwchPrefix,pcchPrefix) +#define IMXNamespaceManager_getURI(This,pwchPrefix,pContextNode,pwchUri,pcchUri) (This)->lpVtbl->getURI(This,pwchPrefix,pContextNode,pwchUri,pcchUri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXNamespaceManager_QueryInterface(IMXNamespaceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXNamespaceManager_AddRef(IMXNamespaceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXNamespaceManager_Release(IMXNamespaceManager* This) { + return This->lpVtbl->Release(This); +} +/*** IMXNamespaceManager methods ***/ +static FORCEINLINE HRESULT IMXNamespaceManager_putAllowOverride(IMXNamespaceManager* This,VARIANT_BOOL fOverride) { + return This->lpVtbl->putAllowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getAllowOverride(IMXNamespaceManager* This,VARIANT_BOOL *fOverride) { + return This->lpVtbl->getAllowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IMXNamespaceManager_reset(IMXNamespaceManager* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IMXNamespaceManager_pushContext(IMXNamespaceManager* This) { + return This->lpVtbl->pushContext(This); +} +static FORCEINLINE HRESULT IMXNamespaceManager_pushNodeContext(IMXNamespaceManager* This,IXMLDOMNode *contextNode,VARIANT_BOOL fDeep) { + return This->lpVtbl->pushNodeContext(This,contextNode,fDeep); +} +static FORCEINLINE HRESULT IMXNamespaceManager_popContext(IMXNamespaceManager* This) { + return This->lpVtbl->popContext(This); +} +static FORCEINLINE HRESULT IMXNamespaceManager_declarePrefix(IMXNamespaceManager* This,const WCHAR *prefix,const WCHAR *namespaceURI) { + return This->lpVtbl->declarePrefix(This,prefix,namespaceURI); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getDeclaredPrefix(IMXNamespaceManager* This,LONG nIndex,WCHAR *pwchPrefix,int *pcchPrefix) { + return This->lpVtbl->getDeclaredPrefix(This,nIndex,pwchPrefix,pcchPrefix); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getPrefix(IMXNamespaceManager* This,const WCHAR *pwszNamespaceURI,LONG nIndex,WCHAR *pwchPrefix,int *pcchPrefix) { + return This->lpVtbl->getPrefix(This,pwszNamespaceURI,nIndex,pwchPrefix,pcchPrefix); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getURI(IMXNamespaceManager* This,const WCHAR *pwchPrefix,IXMLDOMNode *pContextNode,WCHAR *pwchUri,int *pcchUri) { + return This->lpVtbl->getURI(This,pwchPrefix,pContextNode,pwchUri,pcchUri); +} +#endif +#endif + +#endif + + +#endif /* __IMXNamespaceManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBMXNamespaceManager interface + */ +#ifndef __IVBMXNamespaceManager_INTERFACE_DEFINED__ +#define __IVBMXNamespaceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBMXNamespaceManager, 0xc90352f5, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f5-643c-4fbc-bb23-e996eb2d51fd") +IVBMXNamespaceManager : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_allowOverride( + VARIANT_BOOL fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_allowOverride( + VARIANT_BOOL *fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushNodeContext( + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE popContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE declarePrefix( + BSTR prefix, + BSTR namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDeclaredPrefixes( + IMXNamespacePrefixes **prefixes) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPrefixes( + BSTR namespaceURI, + IMXNamespacePrefixes **prefixes) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + BSTR prefix, + VARIANT *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURIFromNode( + BSTR strPrefix, + IXMLDOMNode *contextNode, + VARIANT *uri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBMXNamespaceManager, 0xc90352f5, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IVBMXNamespaceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBMXNamespaceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBMXNamespaceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBMXNamespaceManager *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBMXNamespaceManager *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBMXNamespaceManager *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBMXNamespaceManager *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBMXNamespaceManager *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBMXNamespaceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *put_allowOverride)( + IVBMXNamespaceManager *This, + VARIANT_BOOL fOverride); + + HRESULT (STDMETHODCALLTYPE *get_allowOverride)( + IVBMXNamespaceManager *This, + VARIANT_BOOL *fOverride); + + HRESULT (STDMETHODCALLTYPE *reset)( + IVBMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushContext)( + IVBMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushNodeContext)( + IVBMXNamespaceManager *This, + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep); + + HRESULT (STDMETHODCALLTYPE *popContext)( + IVBMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *declarePrefix)( + IVBMXNamespaceManager *This, + BSTR prefix, + BSTR namespaceURI); + + HRESULT (STDMETHODCALLTYPE *getDeclaredPrefixes)( + IVBMXNamespaceManager *This, + IMXNamespacePrefixes **prefixes); + + HRESULT (STDMETHODCALLTYPE *getPrefixes)( + IVBMXNamespaceManager *This, + BSTR namespaceURI, + IMXNamespacePrefixes **prefixes); + + HRESULT (STDMETHODCALLTYPE *getURI)( + IVBMXNamespaceManager *This, + BSTR prefix, + VARIANT *uri); + + HRESULT (STDMETHODCALLTYPE *getURIFromNode)( + IVBMXNamespaceManager *This, + BSTR strPrefix, + IXMLDOMNode *contextNode, + VARIANT *uri); + + END_INTERFACE +} IVBMXNamespaceManagerVtbl; + +interface IVBMXNamespaceManager { + CONST_VTBL IVBMXNamespaceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBMXNamespaceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBMXNamespaceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBMXNamespaceManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBMXNamespaceManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBMXNamespaceManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBMXNamespaceManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBMXNamespaceManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBMXNamespaceManager methods ***/ +#define IVBMXNamespaceManager_put_allowOverride(This,fOverride) (This)->lpVtbl->put_allowOverride(This,fOverride) +#define IVBMXNamespaceManager_get_allowOverride(This,fOverride) (This)->lpVtbl->get_allowOverride(This,fOverride) +#define IVBMXNamespaceManager_reset(This) (This)->lpVtbl->reset(This) +#define IVBMXNamespaceManager_pushContext(This) (This)->lpVtbl->pushContext(This) +#define IVBMXNamespaceManager_pushNodeContext(This,contextNode,fDeep) (This)->lpVtbl->pushNodeContext(This,contextNode,fDeep) +#define IVBMXNamespaceManager_popContext(This) (This)->lpVtbl->popContext(This) +#define IVBMXNamespaceManager_declarePrefix(This,prefix,namespaceURI) (This)->lpVtbl->declarePrefix(This,prefix,namespaceURI) +#define IVBMXNamespaceManager_getDeclaredPrefixes(This,prefixes) (This)->lpVtbl->getDeclaredPrefixes(This,prefixes) +#define IVBMXNamespaceManager_getPrefixes(This,namespaceURI,prefixes) (This)->lpVtbl->getPrefixes(This,namespaceURI,prefixes) +#define IVBMXNamespaceManager_getURI(This,prefix,uri) (This)->lpVtbl->getURI(This,prefix,uri) +#define IVBMXNamespaceManager_getURIFromNode(This,strPrefix,contextNode,uri) (This)->lpVtbl->getURIFromNode(This,strPrefix,contextNode,uri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBMXNamespaceManager_QueryInterface(IVBMXNamespaceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBMXNamespaceManager_AddRef(IVBMXNamespaceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBMXNamespaceManager_Release(IVBMXNamespaceManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBMXNamespaceManager_GetTypeInfoCount(IVBMXNamespaceManager* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_GetTypeInfo(IVBMXNamespaceManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_GetIDsOfNames(IVBMXNamespaceManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_Invoke(IVBMXNamespaceManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBMXNamespaceManager methods ***/ +static FORCEINLINE HRESULT IVBMXNamespaceManager_put_allowOverride(IVBMXNamespaceManager* This,VARIANT_BOOL fOverride) { + return This->lpVtbl->put_allowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_get_allowOverride(IVBMXNamespaceManager* This,VARIANT_BOOL *fOverride) { + return This->lpVtbl->get_allowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_reset(IVBMXNamespaceManager* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_pushContext(IVBMXNamespaceManager* This) { + return This->lpVtbl->pushContext(This); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_pushNodeContext(IVBMXNamespaceManager* This,IXMLDOMNode *contextNode,VARIANT_BOOL fDeep) { + return This->lpVtbl->pushNodeContext(This,contextNode,fDeep); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_popContext(IVBMXNamespaceManager* This) { + return This->lpVtbl->popContext(This); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_declarePrefix(IVBMXNamespaceManager* This,BSTR prefix,BSTR namespaceURI) { + return This->lpVtbl->declarePrefix(This,prefix,namespaceURI); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getDeclaredPrefixes(IVBMXNamespaceManager* This,IMXNamespacePrefixes **prefixes) { + return This->lpVtbl->getDeclaredPrefixes(This,prefixes); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getPrefixes(IVBMXNamespaceManager* This,BSTR namespaceURI,IMXNamespacePrefixes **prefixes) { + return This->lpVtbl->getPrefixes(This,namespaceURI,prefixes); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getURI(IVBMXNamespaceManager* This,BSTR prefix,VARIANT *uri) { + return This->lpVtbl->getURI(This,prefix,uri); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getURIFromNode(IVBMXNamespaceManager* This,BSTR strPrefix,IXMLDOMNode *contextNode,VARIANT *uri) { + return This->lpVtbl->getURIFromNode(This,strPrefix,contextNode,uri); +} +#endif +#endif + +#endif + + +#endif /* __IVBMXNamespaceManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXXMLFilter interface + */ +#ifndef __IMXXMLFilter_INTERFACE_DEFINED__ +#define __IMXXMLFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXXMLFilter, 0xc90352f7, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f7-643c-4fbc-bb23-e996eb2d51fd") +IMXXMLFilter : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getFeature( + BSTR strName, + VARIANT_BOOL *fValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putFeature( + BSTR strName, + VARIANT_BOOL fValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR strName, + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putProperty( + BSTR strName, + VARIANT varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entityResolver( + IUnknown **oResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_entityResolver( + IUnknown *oResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentHandler( + IUnknown **oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_contentHandler( + IUnknown *oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dtdHandler( + IUnknown **oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_dtdHandler( + IUnknown *oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorHandler( + IUnknown **oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_errorHandler( + IUnknown *oHandler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXXMLFilter, 0xc90352f7, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IMXXMLFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXXMLFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXXMLFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXXMLFilter *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXXMLFilter *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXXMLFilter *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXXMLFilter *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXXMLFilter *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXXMLFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + IMXXMLFilter *This, + BSTR strName, + VARIANT_BOOL *fValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + IMXXMLFilter *This, + BSTR strName, + VARIANT_BOOL fValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IMXXMLFilter *This, + BSTR strName, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + IMXXMLFilter *This, + BSTR strName, + VARIANT varValue); + + HRESULT (STDMETHODCALLTYPE *get_entityResolver)( + IMXXMLFilter *This, + IUnknown **oResolver); + + HRESULT (STDMETHODCALLTYPE *putref_entityResolver)( + IMXXMLFilter *This, + IUnknown *oResolver); + + HRESULT (STDMETHODCALLTYPE *get_contentHandler)( + IMXXMLFilter *This, + IUnknown **oHandler); + + HRESULT (STDMETHODCALLTYPE *putref_contentHandler)( + IMXXMLFilter *This, + IUnknown *oHandler); + + HRESULT (STDMETHODCALLTYPE *get_dtdHandler)( + IMXXMLFilter *This, + IUnknown **oHandler); + + HRESULT (STDMETHODCALLTYPE *putref_dtdHandler)( + IMXXMLFilter *This, + IUnknown *oHandler); + + HRESULT (STDMETHODCALLTYPE *get_errorHandler)( + IMXXMLFilter *This, + IUnknown **oHandler); + + HRESULT (STDMETHODCALLTYPE *putref_errorHandler)( + IMXXMLFilter *This, + IUnknown *oHandler); + + END_INTERFACE +} IMXXMLFilterVtbl; + +interface IMXXMLFilter { + CONST_VTBL IMXXMLFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXXMLFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXXMLFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXXMLFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXXMLFilter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXXMLFilter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXXMLFilter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXXMLFilter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXXMLFilter methods ***/ +#define IMXXMLFilter_getFeature(This,strName,fValue) (This)->lpVtbl->getFeature(This,strName,fValue) +#define IMXXMLFilter_putFeature(This,strName,fValue) (This)->lpVtbl->putFeature(This,strName,fValue) +#define IMXXMLFilter_getProperty(This,strName,varValue) (This)->lpVtbl->getProperty(This,strName,varValue) +#define IMXXMLFilter_putProperty(This,strName,varValue) (This)->lpVtbl->putProperty(This,strName,varValue) +#define IMXXMLFilter_get_entityResolver(This,oResolver) (This)->lpVtbl->get_entityResolver(This,oResolver) +#define IMXXMLFilter_putref_entityResolver(This,oResolver) (This)->lpVtbl->putref_entityResolver(This,oResolver) +#define IMXXMLFilter_get_contentHandler(This,oHandler) (This)->lpVtbl->get_contentHandler(This,oHandler) +#define IMXXMLFilter_putref_contentHandler(This,oHandler) (This)->lpVtbl->putref_contentHandler(This,oHandler) +#define IMXXMLFilter_get_dtdHandler(This,oHandler) (This)->lpVtbl->get_dtdHandler(This,oHandler) +#define IMXXMLFilter_putref_dtdHandler(This,oHandler) (This)->lpVtbl->putref_dtdHandler(This,oHandler) +#define IMXXMLFilter_get_errorHandler(This,oHandler) (This)->lpVtbl->get_errorHandler(This,oHandler) +#define IMXXMLFilter_putref_errorHandler(This,oHandler) (This)->lpVtbl->putref_errorHandler(This,oHandler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXXMLFilter_QueryInterface(IMXXMLFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXXMLFilter_AddRef(IMXXMLFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXXMLFilter_Release(IMXXMLFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXXMLFilter_GetTypeInfoCount(IMXXMLFilter* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXXMLFilter_GetTypeInfo(IMXXMLFilter* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXXMLFilter_GetIDsOfNames(IMXXMLFilter* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXXMLFilter_Invoke(IMXXMLFilter* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXXMLFilter methods ***/ +static FORCEINLINE HRESULT IMXXMLFilter_getFeature(IMXXMLFilter* This,BSTR strName,VARIANT_BOOL *fValue) { + return This->lpVtbl->getFeature(This,strName,fValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_putFeature(IMXXMLFilter* This,BSTR strName,VARIANT_BOOL fValue) { + return This->lpVtbl->putFeature(This,strName,fValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_getProperty(IMXXMLFilter* This,BSTR strName,VARIANT *varValue) { + return This->lpVtbl->getProperty(This,strName,varValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_putProperty(IMXXMLFilter* This,BSTR strName,VARIANT varValue) { + return This->lpVtbl->putProperty(This,strName,varValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_entityResolver(IMXXMLFilter* This,IUnknown **oResolver) { + return This->lpVtbl->get_entityResolver(This,oResolver); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_entityResolver(IMXXMLFilter* This,IUnknown *oResolver) { + return This->lpVtbl->putref_entityResolver(This,oResolver); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_contentHandler(IMXXMLFilter* This,IUnknown **oHandler) { + return This->lpVtbl->get_contentHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_contentHandler(IMXXMLFilter* This,IUnknown *oHandler) { + return This->lpVtbl->putref_contentHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_dtdHandler(IMXXMLFilter* This,IUnknown **oHandler) { + return This->lpVtbl->get_dtdHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_dtdHandler(IMXXMLFilter* This,IUnknown *oHandler) { + return This->lpVtbl->putref_dtdHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_errorHandler(IMXXMLFilter* This,IUnknown **oHandler) { + return This->lpVtbl->get_errorHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_errorHandler(IMXXMLFilter* This,IUnknown *oHandler) { + return This->lpVtbl->putref_errorHandler(This,oHandler); +} +#endif +#endif + +#endif + + +#endif /* __IMXXMLFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaStringCollection interface + */ +#ifndef __ISchemaStringCollection_INTERFACE_DEFINED__ +#define __ISchemaStringCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaStringCollection, 0x50ea08b1, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b1-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaStringCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + BSTR *bstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaStringCollection, 0x50ea08b1, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaStringCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaStringCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaStringCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaStringCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaStringCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaStringCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaStringCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaStringCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaStringCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + ISchemaStringCollection *This, + LONG index, + BSTR *bstr); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaStringCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + ISchemaStringCollection *This, + IUnknown **ppunk); + + END_INTERFACE +} ISchemaStringCollectionVtbl; + +interface ISchemaStringCollection { + CONST_VTBL ISchemaStringCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaStringCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaStringCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaStringCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaStringCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaStringCollection methods ***/ +#define ISchemaStringCollection_get_item(This,index,bstr) (This)->lpVtbl->get_item(This,index,bstr) +#define ISchemaStringCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaStringCollection_get__newEnum(This,ppunk) (This)->lpVtbl->get__newEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaStringCollection_QueryInterface(ISchemaStringCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaStringCollection_AddRef(ISchemaStringCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaStringCollection_Release(ISchemaStringCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaStringCollection_GetTypeInfoCount(ISchemaStringCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaStringCollection_GetTypeInfo(ISchemaStringCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaStringCollection_GetIDsOfNames(ISchemaStringCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaStringCollection_Invoke(ISchemaStringCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaStringCollection methods ***/ +static FORCEINLINE HRESULT ISchemaStringCollection_get_item(ISchemaStringCollection* This,LONG index,BSTR *bstr) { + return This->lpVtbl->get_item(This,index,bstr); +} +static FORCEINLINE HRESULT ISchemaStringCollection_get_length(ISchemaStringCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaStringCollection_get__newEnum(ISchemaStringCollection* This,IUnknown **ppunk) { + return This->lpVtbl->get__newEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaStringCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaItemCollection interface + */ +#ifndef __ISchemaItemCollection_INTERFACE_DEFINED__ +#define __ISchemaItemCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaItemCollection, 0x50ea08b2, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b2-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaItemCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + ISchemaItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE itemByName( + BSTR name, + ISchemaItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE itemByQName( + BSTR name, + BSTR namespaceURI, + ISchemaItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaItemCollection, 0x50ea08b2, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaItemCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaItemCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaItemCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaItemCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaItemCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaItemCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaItemCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaItemCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItemCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + ISchemaItemCollection *This, + LONG index, + ISchemaItem **item); + + HRESULT (STDMETHODCALLTYPE *itemByName)( + ISchemaItemCollection *This, + BSTR name, + ISchemaItem **item); + + HRESULT (STDMETHODCALLTYPE *itemByQName)( + ISchemaItemCollection *This, + BSTR name, + BSTR namespaceURI, + ISchemaItem **item); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaItemCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + ISchemaItemCollection *This, + IUnknown **ppunk); + + END_INTERFACE +} ISchemaItemCollectionVtbl; + +interface ISchemaItemCollection { + CONST_VTBL ISchemaItemCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaItemCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaItemCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaItemCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaItemCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaItemCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaItemCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaItemCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItemCollection methods ***/ +#define ISchemaItemCollection_get_item(This,index,item) (This)->lpVtbl->get_item(This,index,item) +#define ISchemaItemCollection_itemByName(This,name,item) (This)->lpVtbl->itemByName(This,name,item) +#define ISchemaItemCollection_itemByQName(This,name,namespaceURI,item) (This)->lpVtbl->itemByQName(This,name,namespaceURI,item) +#define ISchemaItemCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaItemCollection_get__newEnum(This,ppunk) (This)->lpVtbl->get__newEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaItemCollection_QueryInterface(ISchemaItemCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaItemCollection_AddRef(ISchemaItemCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaItemCollection_Release(ISchemaItemCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaItemCollection_GetTypeInfoCount(ISchemaItemCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaItemCollection_GetTypeInfo(ISchemaItemCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaItemCollection_GetIDsOfNames(ISchemaItemCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaItemCollection_Invoke(ISchemaItemCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItemCollection methods ***/ +static FORCEINLINE HRESULT ISchemaItemCollection_get_item(ISchemaItemCollection* This,LONG index,ISchemaItem **item) { + return This->lpVtbl->get_item(This,index,item); +} +static FORCEINLINE HRESULT ISchemaItemCollection_itemByName(ISchemaItemCollection* This,BSTR name,ISchemaItem **item) { + return This->lpVtbl->itemByName(This,name,item); +} +static FORCEINLINE HRESULT ISchemaItemCollection_itemByQName(ISchemaItemCollection* This,BSTR name,BSTR namespaceURI,ISchemaItem **item) { + return This->lpVtbl->itemByQName(This,name,namespaceURI,item); +} +static FORCEINLINE HRESULT ISchemaItemCollection_get_length(ISchemaItemCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaItemCollection_get__newEnum(ISchemaItemCollection* This,IUnknown **ppunk) { + return This->lpVtbl->get__newEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaItemCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaItem interface + */ +#ifndef __ISchemaItem_INTERFACE_DEFINED__ +#define __ISchemaItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaItem, 0x50ea08b3, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b3-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaItem : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + BSTR *namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_schema( + ISchema **schema) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_id( + BSTR *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_itemType( + SOMITEMTYPE *itemType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_unhandledAttributes( + IVBSAXAttributes **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE writeAnnotation( + IUnknown *annotationSink, + VARIANT_BOOL *isWritten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaItem, 0x50ea08b3, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaItem *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaItem *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaItem *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaItem *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaItem *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaItem *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaItem *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaItem *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaItem *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaItem *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaItem *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaItem *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + END_INTERFACE +} ISchemaItemVtbl; + +interface ISchemaItem { + CONST_VTBL ISchemaItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaItem_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaItem_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaItem_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaItem_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaItem_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaItem_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaItem_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaItem_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaItem_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaItem_QueryInterface(ISchemaItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaItem_AddRef(ISchemaItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaItem_Release(ISchemaItem* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaItem_GetTypeInfoCount(ISchemaItem* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaItem_GetTypeInfo(ISchemaItem* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaItem_GetIDsOfNames(ISchemaItem* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaItem_Invoke(ISchemaItem* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaItem_get_name(ISchemaItem* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaItem_get_namespaceURI(ISchemaItem* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaItem_get_schema(ISchemaItem* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaItem_get_id(ISchemaItem* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaItem_get_itemType(ISchemaItem* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaItem_get_unhandledAttributes(ISchemaItem* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaItem_writeAnnotation(ISchemaItem* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchema interface + */ +#ifndef __ISchema_INTERFACE_DEFINED__ +#define __ISchema_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchema, 0x50ea08b4, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b4-dd1b-4664-9a50-c2f40f4bd79a") +ISchema : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_targetNamespace( + BSTR *targetNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *version) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_types( + ISchemaItemCollection **types) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_elements( + ISchemaItemCollection **elements) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + ISchemaItemCollection **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributeGroups( + ISchemaItemCollection **attributeGroups) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_modelGroups( + ISchemaItemCollection **modelGroups) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notations( + ISchemaItemCollection **notations) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_schemaLocations( + ISchemaStringCollection **schemaLocations) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchema, 0x50ea08b4, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchema *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchema *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchema *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchema *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchema *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchema *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchema *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchema *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchema *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchema *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchema *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchema *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchema *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchema *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchema methods ***/ + HRESULT (STDMETHODCALLTYPE *get_targetNamespace)( + ISchema *This, + BSTR *targetNamespace); + + HRESULT (STDMETHODCALLTYPE *get_version)( + ISchema *This, + BSTR *version); + + HRESULT (STDMETHODCALLTYPE *get_types)( + ISchema *This, + ISchemaItemCollection **types); + + HRESULT (STDMETHODCALLTYPE *get_elements)( + ISchema *This, + ISchemaItemCollection **elements); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + ISchema *This, + ISchemaItemCollection **attributes); + + HRESULT (STDMETHODCALLTYPE *get_attributeGroups)( + ISchema *This, + ISchemaItemCollection **attributeGroups); + + HRESULT (STDMETHODCALLTYPE *get_modelGroups)( + ISchema *This, + ISchemaItemCollection **modelGroups); + + HRESULT (STDMETHODCALLTYPE *get_notations)( + ISchema *This, + ISchemaItemCollection **notations); + + HRESULT (STDMETHODCALLTYPE *get_schemaLocations)( + ISchema *This, + ISchemaStringCollection **schemaLocations); + + END_INTERFACE +} ISchemaVtbl; + +interface ISchema { + CONST_VTBL ISchemaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchema_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchema_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchema_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchema_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchema_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchema_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchema_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchema_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchema_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchema_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchema_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchema_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchema_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchema_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchema methods ***/ +#define ISchema_get_targetNamespace(This,targetNamespace) (This)->lpVtbl->get_targetNamespace(This,targetNamespace) +#define ISchema_get_version(This,version) (This)->lpVtbl->get_version(This,version) +#define ISchema_get_types(This,types) (This)->lpVtbl->get_types(This,types) +#define ISchema_get_elements(This,elements) (This)->lpVtbl->get_elements(This,elements) +#define ISchema_get_attributes(This,attributes) (This)->lpVtbl->get_attributes(This,attributes) +#define ISchema_get_attributeGroups(This,attributeGroups) (This)->lpVtbl->get_attributeGroups(This,attributeGroups) +#define ISchema_get_modelGroups(This,modelGroups) (This)->lpVtbl->get_modelGroups(This,modelGroups) +#define ISchema_get_notations(This,notations) (This)->lpVtbl->get_notations(This,notations) +#define ISchema_get_schemaLocations(This,schemaLocations) (This)->lpVtbl->get_schemaLocations(This,schemaLocations) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchema_QueryInterface(ISchema* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchema_AddRef(ISchema* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchema_Release(ISchema* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchema_GetTypeInfoCount(ISchema* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchema_GetTypeInfo(ISchema* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchema_GetIDsOfNames(ISchema* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchema_Invoke(ISchema* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchema_get_name(ISchema* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchema_get_namespaceURI(ISchema* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchema_get_schema(ISchema* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchema_get_id(ISchema* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchema_get_itemType(ISchema* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchema_get_unhandledAttributes(ISchema* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchema_writeAnnotation(ISchema* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchema methods ***/ +static FORCEINLINE HRESULT ISchema_get_targetNamespace(ISchema* This,BSTR *targetNamespace) { + return This->lpVtbl->get_targetNamespace(This,targetNamespace); +} +static FORCEINLINE HRESULT ISchema_get_version(ISchema* This,BSTR *version) { + return This->lpVtbl->get_version(This,version); +} +static FORCEINLINE HRESULT ISchema_get_types(ISchema* This,ISchemaItemCollection **types) { + return This->lpVtbl->get_types(This,types); +} +static FORCEINLINE HRESULT ISchema_get_elements(ISchema* This,ISchemaItemCollection **elements) { + return This->lpVtbl->get_elements(This,elements); +} +static FORCEINLINE HRESULT ISchema_get_attributes(ISchema* This,ISchemaItemCollection **attributes) { + return This->lpVtbl->get_attributes(This,attributes); +} +static FORCEINLINE HRESULT ISchema_get_attributeGroups(ISchema* This,ISchemaItemCollection **attributeGroups) { + return This->lpVtbl->get_attributeGroups(This,attributeGroups); +} +static FORCEINLINE HRESULT ISchema_get_modelGroups(ISchema* This,ISchemaItemCollection **modelGroups) { + return This->lpVtbl->get_modelGroups(This,modelGroups); +} +static FORCEINLINE HRESULT ISchema_get_notations(ISchema* This,ISchemaItemCollection **notations) { + return This->lpVtbl->get_notations(This,notations); +} +static FORCEINLINE HRESULT ISchema_get_schemaLocations(ISchema* This,ISchemaStringCollection **schemaLocations) { + return This->lpVtbl->get_schemaLocations(This,schemaLocations); +} +#endif +#endif + +#endif + + +#endif /* __ISchema_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaParticle interface + */ +#ifndef __ISchemaParticle_INTERFACE_DEFINED__ +#define __ISchemaParticle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaParticle, 0x50ea08b5, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b5-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaParticle : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_minOccurs( + VARIANT *minOccurs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxOccurs( + VARIANT *maxOccurs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaParticle, 0x50ea08b5, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaParticleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaParticle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaParticle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaParticle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaParticle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaParticle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaParticle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaParticle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaParticle *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaParticle *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaParticle *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaParticle *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaParticle *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaParticle *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaParticle *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaParticle *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaParticle *This, + VARIANT *maxOccurs); + + END_INTERFACE +} ISchemaParticleVtbl; + +interface ISchemaParticle { + CONST_VTBL ISchemaParticleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaParticle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaParticle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaParticle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaParticle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaParticle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaParticle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaParticle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaParticle_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaParticle_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaParticle_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaParticle_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaParticle_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaParticle_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaParticle_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaParticle_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaParticle_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_QueryInterface(ISchemaParticle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaParticle_AddRef(ISchemaParticle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaParticle_Release(ISchemaParticle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_GetTypeInfoCount(ISchemaParticle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaParticle_GetTypeInfo(ISchemaParticle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaParticle_GetIDsOfNames(ISchemaParticle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaParticle_Invoke(ISchemaParticle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_get_name(ISchemaParticle* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaParticle_get_namespaceURI(ISchemaParticle* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaParticle_get_schema(ISchemaParticle* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaParticle_get_id(ISchemaParticle* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaParticle_get_itemType(ISchemaParticle* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaParticle_get_unhandledAttributes(ISchemaParticle* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaParticle_writeAnnotation(ISchemaParticle* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_get_minOccurs(ISchemaParticle* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaParticle_get_maxOccurs(ISchemaParticle* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaParticle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaAttribute interface + */ +#ifndef __ISchemaAttribute_INTERFACE_DEFINED__ +#define __ISchemaAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaAttribute, 0x50ea08b6, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b6-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaAttribute : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + ISchemaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scope( + ISchemaComplexType **scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *defaultValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fixedValue( + BSTR *fixedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_use( + SCHEMAUSE *use) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isReference( + VARIANT_BOOL *reference) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaAttribute, 0x50ea08b6, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaAttribute *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaAttribute *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaAttribute *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaAttribute *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaAttribute *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaAttribute *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaAttribute *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + ISchemaAttribute *This, + ISchemaType **type); + + HRESULT (STDMETHODCALLTYPE *get_scope)( + ISchemaAttribute *This, + ISchemaComplexType **scope); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + ISchemaAttribute *This, + BSTR *defaultValue); + + HRESULT (STDMETHODCALLTYPE *get_fixedValue)( + ISchemaAttribute *This, + BSTR *fixedValue); + + HRESULT (STDMETHODCALLTYPE *get_use)( + ISchemaAttribute *This, + SCHEMAUSE *use); + + HRESULT (STDMETHODCALLTYPE *get_isReference)( + ISchemaAttribute *This, + VARIANT_BOOL *reference); + + END_INTERFACE +} ISchemaAttributeVtbl; + +interface ISchemaAttribute { + CONST_VTBL ISchemaAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaAttribute_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaAttribute_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaAttribute_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaAttribute_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaAttribute_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaAttribute_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaAttribute_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaAttribute methods ***/ +#define ISchemaAttribute_get_type(This,type) (This)->lpVtbl->get_type(This,type) +#define ISchemaAttribute_get_scope(This,scope) (This)->lpVtbl->get_scope(This,scope) +#define ISchemaAttribute_get_defaultValue(This,defaultValue) (This)->lpVtbl->get_defaultValue(This,defaultValue) +#define ISchemaAttribute_get_fixedValue(This,fixedValue) (This)->lpVtbl->get_fixedValue(This,fixedValue) +#define ISchemaAttribute_get_use(This,use) (This)->lpVtbl->get_use(This,use) +#define ISchemaAttribute_get_isReference(This,reference) (This)->lpVtbl->get_isReference(This,reference) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_QueryInterface(ISchemaAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaAttribute_AddRef(ISchemaAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaAttribute_Release(ISchemaAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_GetTypeInfoCount(ISchemaAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaAttribute_GetTypeInfo(ISchemaAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaAttribute_GetIDsOfNames(ISchemaAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaAttribute_Invoke(ISchemaAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_get_name(ISchemaAttribute* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_namespaceURI(ISchemaAttribute* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_schema(ISchemaAttribute* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_id(ISchemaAttribute* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_itemType(ISchemaAttribute* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_unhandledAttributes(ISchemaAttribute* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaAttribute_writeAnnotation(ISchemaAttribute* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaAttribute methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_get_type(ISchemaAttribute* This,ISchemaType **type) { + return This->lpVtbl->get_type(This,type); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_scope(ISchemaAttribute* This,ISchemaComplexType **scope) { + return This->lpVtbl->get_scope(This,scope); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_defaultValue(ISchemaAttribute* This,BSTR *defaultValue) { + return This->lpVtbl->get_defaultValue(This,defaultValue); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_fixedValue(ISchemaAttribute* This,BSTR *fixedValue) { + return This->lpVtbl->get_fixedValue(This,fixedValue); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_use(ISchemaAttribute* This,SCHEMAUSE *use) { + return This->lpVtbl->get_use(This,use); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_isReference(ISchemaAttribute* This,VARIANT_BOOL *reference) { + return This->lpVtbl->get_isReference(This,reference); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaElement interface + */ +#ifndef __ISchemaElement_INTERFACE_DEFINED__ +#define __ISchemaElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaElement, 0x50ea08b7, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b7-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaElement : public ISchemaParticle +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + ISchemaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scope( + ISchemaComplexType **scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *defaultValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fixedValue( + BSTR *fixedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isNillable( + VARIANT_BOOL *nillable) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_identityConstraints( + ISchemaItemCollection **constraints) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_substitutionGroup( + ISchemaElement **element) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_substitutionGroupExclusions( + SCHEMADERIVATIONMETHOD *exclusions) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disallowedSubstitutions( + SCHEMADERIVATIONMETHOD *disallowed) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isAbstract( + VARIANT_BOOL *abstract) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isReference( + VARIANT_BOOL *reference) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaElement, 0x50ea08b7, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaElement *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaElement *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaElement *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaElement *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaElement *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaElement *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaElement *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaElement *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaElement *This, + VARIANT *maxOccurs); + + /*** ISchemaElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + ISchemaElement *This, + ISchemaType **type); + + HRESULT (STDMETHODCALLTYPE *get_scope)( + ISchemaElement *This, + ISchemaComplexType **scope); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + ISchemaElement *This, + BSTR *defaultValue); + + HRESULT (STDMETHODCALLTYPE *get_fixedValue)( + ISchemaElement *This, + BSTR *fixedValue); + + HRESULT (STDMETHODCALLTYPE *get_isNillable)( + ISchemaElement *This, + VARIANT_BOOL *nillable); + + HRESULT (STDMETHODCALLTYPE *get_identityConstraints)( + ISchemaElement *This, + ISchemaItemCollection **constraints); + + HRESULT (STDMETHODCALLTYPE *get_substitutionGroup)( + ISchemaElement *This, + ISchemaElement **element); + + HRESULT (STDMETHODCALLTYPE *get_substitutionGroupExclusions)( + ISchemaElement *This, + SCHEMADERIVATIONMETHOD *exclusions); + + HRESULT (STDMETHODCALLTYPE *get_disallowedSubstitutions)( + ISchemaElement *This, + SCHEMADERIVATIONMETHOD *disallowed); + + HRESULT (STDMETHODCALLTYPE *get_isAbstract)( + ISchemaElement *This, + VARIANT_BOOL *abstract); + + HRESULT (STDMETHODCALLTYPE *get_isReference)( + ISchemaElement *This, + VARIANT_BOOL *reference); + + END_INTERFACE +} ISchemaElementVtbl; + +interface ISchemaElement { + CONST_VTBL ISchemaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaElement_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaElement_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaElement_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaElement_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaElement_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaElement_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaElement_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaElement_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaElement_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +/*** ISchemaElement methods ***/ +#define ISchemaElement_get_type(This,type) (This)->lpVtbl->get_type(This,type) +#define ISchemaElement_get_scope(This,scope) (This)->lpVtbl->get_scope(This,scope) +#define ISchemaElement_get_defaultValue(This,defaultValue) (This)->lpVtbl->get_defaultValue(This,defaultValue) +#define ISchemaElement_get_fixedValue(This,fixedValue) (This)->lpVtbl->get_fixedValue(This,fixedValue) +#define ISchemaElement_get_isNillable(This,nillable) (This)->lpVtbl->get_isNillable(This,nillable) +#define ISchemaElement_get_identityConstraints(This,constraints) (This)->lpVtbl->get_identityConstraints(This,constraints) +#define ISchemaElement_get_substitutionGroup(This,element) (This)->lpVtbl->get_substitutionGroup(This,element) +#define ISchemaElement_get_substitutionGroupExclusions(This,exclusions) (This)->lpVtbl->get_substitutionGroupExclusions(This,exclusions) +#define ISchemaElement_get_disallowedSubstitutions(This,disallowed) (This)->lpVtbl->get_disallowedSubstitutions(This,disallowed) +#define ISchemaElement_get_isAbstract(This,abstract) (This)->lpVtbl->get_isAbstract(This,abstract) +#define ISchemaElement_get_isReference(This,reference) (This)->lpVtbl->get_isReference(This,reference) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaElement_QueryInterface(ISchemaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaElement_AddRef(ISchemaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaElement_Release(ISchemaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaElement_GetTypeInfoCount(ISchemaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaElement_GetTypeInfo(ISchemaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaElement_GetIDsOfNames(ISchemaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaElement_Invoke(ISchemaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaElement_get_name(ISchemaElement* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaElement_get_namespaceURI(ISchemaElement* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaElement_get_schema(ISchemaElement* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaElement_get_id(ISchemaElement* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaElement_get_itemType(ISchemaElement* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaElement_get_unhandledAttributes(ISchemaElement* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaElement_writeAnnotation(ISchemaElement* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaElement_get_minOccurs(ISchemaElement* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaElement_get_maxOccurs(ISchemaElement* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +/*** ISchemaElement methods ***/ +static FORCEINLINE HRESULT ISchemaElement_get_type(ISchemaElement* This,ISchemaType **type) { + return This->lpVtbl->get_type(This,type); +} +static FORCEINLINE HRESULT ISchemaElement_get_scope(ISchemaElement* This,ISchemaComplexType **scope) { + return This->lpVtbl->get_scope(This,scope); +} +static FORCEINLINE HRESULT ISchemaElement_get_defaultValue(ISchemaElement* This,BSTR *defaultValue) { + return This->lpVtbl->get_defaultValue(This,defaultValue); +} +static FORCEINLINE HRESULT ISchemaElement_get_fixedValue(ISchemaElement* This,BSTR *fixedValue) { + return This->lpVtbl->get_fixedValue(This,fixedValue); +} +static FORCEINLINE HRESULT ISchemaElement_get_isNillable(ISchemaElement* This,VARIANT_BOOL *nillable) { + return This->lpVtbl->get_isNillable(This,nillable); +} +static FORCEINLINE HRESULT ISchemaElement_get_identityConstraints(ISchemaElement* This,ISchemaItemCollection **constraints) { + return This->lpVtbl->get_identityConstraints(This,constraints); +} +static FORCEINLINE HRESULT ISchemaElement_get_substitutionGroup(ISchemaElement* This,ISchemaElement **element) { + return This->lpVtbl->get_substitutionGroup(This,element); +} +static FORCEINLINE HRESULT ISchemaElement_get_substitutionGroupExclusions(ISchemaElement* This,SCHEMADERIVATIONMETHOD *exclusions) { + return This->lpVtbl->get_substitutionGroupExclusions(This,exclusions); +} +static FORCEINLINE HRESULT ISchemaElement_get_disallowedSubstitutions(ISchemaElement* This,SCHEMADERIVATIONMETHOD *disallowed) { + return This->lpVtbl->get_disallowedSubstitutions(This,disallowed); +} +static FORCEINLINE HRESULT ISchemaElement_get_isAbstract(ISchemaElement* This,VARIANT_BOOL *abstract) { + return This->lpVtbl->get_isAbstract(This,abstract); +} +static FORCEINLINE HRESULT ISchemaElement_get_isReference(ISchemaElement* This,VARIANT_BOOL *reference) { + return This->lpVtbl->get_isReference(This,reference); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaType interface + */ +#ifndef __ISchemaType_INTERFACE_DEFINED__ +#define __ISchemaType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaType, 0x50ea08b8, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b8-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaType : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_baseTypes( + ISchemaItemCollection **baseTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_final( + SCHEMADERIVATIONMETHOD *final) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_variety( + SCHEMATYPEVARIETY *variety) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_derivedBy( + SCHEMADERIVATIONMETHOD *derivedBy) = 0; + + virtual HRESULT STDMETHODCALLTYPE isValid( + BSTR data, + VARIANT_BOOL *valid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minExclusive( + BSTR *minExclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minInclusive( + BSTR *minInclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxExclusive( + BSTR *maxExclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxInclusive( + BSTR *maxInclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_totalDigits( + VARIANT *totalDigits) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fractionDigits( + VARIANT *fractionDigits) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + VARIANT *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minLength( + VARIANT *minLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxLength( + VARIANT *maxLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_enumeration( + ISchemaStringCollection **enumeration) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_whitespace( + SCHEMAWHITESPACE *whitespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_patterns( + ISchemaStringCollection **patterns) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaType, 0x50ea08b8, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaType *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaType *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaType *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaType *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaType *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaType *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaType *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_baseTypes)( + ISchemaType *This, + ISchemaItemCollection **baseTypes); + + HRESULT (STDMETHODCALLTYPE *get_final)( + ISchemaType *This, + SCHEMADERIVATIONMETHOD *final); + + HRESULT (STDMETHODCALLTYPE *get_variety)( + ISchemaType *This, + SCHEMATYPEVARIETY *variety); + + HRESULT (STDMETHODCALLTYPE *get_derivedBy)( + ISchemaType *This, + SCHEMADERIVATIONMETHOD *derivedBy); + + HRESULT (STDMETHODCALLTYPE *isValid)( + ISchemaType *This, + BSTR data, + VARIANT_BOOL *valid); + + HRESULT (STDMETHODCALLTYPE *get_minExclusive)( + ISchemaType *This, + BSTR *minExclusive); + + HRESULT (STDMETHODCALLTYPE *get_minInclusive)( + ISchemaType *This, + BSTR *minInclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxExclusive)( + ISchemaType *This, + BSTR *maxExclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxInclusive)( + ISchemaType *This, + BSTR *maxInclusive); + + HRESULT (STDMETHODCALLTYPE *get_totalDigits)( + ISchemaType *This, + VARIANT *totalDigits); + + HRESULT (STDMETHODCALLTYPE *get_fractionDigits)( + ISchemaType *This, + VARIANT *fractionDigits); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaType *This, + VARIANT *length); + + HRESULT (STDMETHODCALLTYPE *get_minLength)( + ISchemaType *This, + VARIANT *minLength); + + HRESULT (STDMETHODCALLTYPE *get_maxLength)( + ISchemaType *This, + VARIANT *maxLength); + + HRESULT (STDMETHODCALLTYPE *get_enumeration)( + ISchemaType *This, + ISchemaStringCollection **enumeration); + + HRESULT (STDMETHODCALLTYPE *get_whitespace)( + ISchemaType *This, + SCHEMAWHITESPACE *whitespace); + + HRESULT (STDMETHODCALLTYPE *get_patterns)( + ISchemaType *This, + ISchemaStringCollection **patterns); + + END_INTERFACE +} ISchemaTypeVtbl; + +interface ISchemaType { + CONST_VTBL ISchemaTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaType_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaType_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaType_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaType_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaType_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaType_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaType_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaType methods ***/ +#define ISchemaType_get_baseTypes(This,baseTypes) (This)->lpVtbl->get_baseTypes(This,baseTypes) +#define ISchemaType_get_final(This,final) (This)->lpVtbl->get_final(This,final) +#define ISchemaType_get_variety(This,variety) (This)->lpVtbl->get_variety(This,variety) +#define ISchemaType_get_derivedBy(This,derivedBy) (This)->lpVtbl->get_derivedBy(This,derivedBy) +#define ISchemaType_isValid(This,data,valid) (This)->lpVtbl->isValid(This,data,valid) +#define ISchemaType_get_minExclusive(This,minExclusive) (This)->lpVtbl->get_minExclusive(This,minExclusive) +#define ISchemaType_get_minInclusive(This,minInclusive) (This)->lpVtbl->get_minInclusive(This,minInclusive) +#define ISchemaType_get_maxExclusive(This,maxExclusive) (This)->lpVtbl->get_maxExclusive(This,maxExclusive) +#define ISchemaType_get_maxInclusive(This,maxInclusive) (This)->lpVtbl->get_maxInclusive(This,maxInclusive) +#define ISchemaType_get_totalDigits(This,totalDigits) (This)->lpVtbl->get_totalDigits(This,totalDigits) +#define ISchemaType_get_fractionDigits(This,fractionDigits) (This)->lpVtbl->get_fractionDigits(This,fractionDigits) +#define ISchemaType_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaType_get_minLength(This,minLength) (This)->lpVtbl->get_minLength(This,minLength) +#define ISchemaType_get_maxLength(This,maxLength) (This)->lpVtbl->get_maxLength(This,maxLength) +#define ISchemaType_get_enumeration(This,enumeration) (This)->lpVtbl->get_enumeration(This,enumeration) +#define ISchemaType_get_whitespace(This,whitespace) (This)->lpVtbl->get_whitespace(This,whitespace) +#define ISchemaType_get_patterns(This,patterns) (This)->lpVtbl->get_patterns(This,patterns) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaType_QueryInterface(ISchemaType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaType_AddRef(ISchemaType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaType_Release(ISchemaType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaType_GetTypeInfoCount(ISchemaType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaType_GetTypeInfo(ISchemaType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaType_GetIDsOfNames(ISchemaType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaType_Invoke(ISchemaType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaType_get_name(ISchemaType* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaType_get_namespaceURI(ISchemaType* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaType_get_schema(ISchemaType* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaType_get_id(ISchemaType* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaType_get_itemType(ISchemaType* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaType_get_unhandledAttributes(ISchemaType* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaType_writeAnnotation(ISchemaType* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaType methods ***/ +static FORCEINLINE HRESULT ISchemaType_get_baseTypes(ISchemaType* This,ISchemaItemCollection **baseTypes) { + return This->lpVtbl->get_baseTypes(This,baseTypes); +} +static FORCEINLINE HRESULT ISchemaType_get_final(ISchemaType* This,SCHEMADERIVATIONMETHOD *final) { + return This->lpVtbl->get_final(This,final); +} +static FORCEINLINE HRESULT ISchemaType_get_variety(ISchemaType* This,SCHEMATYPEVARIETY *variety) { + return This->lpVtbl->get_variety(This,variety); +} +static FORCEINLINE HRESULT ISchemaType_get_derivedBy(ISchemaType* This,SCHEMADERIVATIONMETHOD *derivedBy) { + return This->lpVtbl->get_derivedBy(This,derivedBy); +} +static FORCEINLINE HRESULT ISchemaType_isValid(ISchemaType* This,BSTR data,VARIANT_BOOL *valid) { + return This->lpVtbl->isValid(This,data,valid); +} +static FORCEINLINE HRESULT ISchemaType_get_minExclusive(ISchemaType* This,BSTR *minExclusive) { + return This->lpVtbl->get_minExclusive(This,minExclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_minInclusive(ISchemaType* This,BSTR *minInclusive) { + return This->lpVtbl->get_minInclusive(This,minInclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_maxExclusive(ISchemaType* This,BSTR *maxExclusive) { + return This->lpVtbl->get_maxExclusive(This,maxExclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_maxInclusive(ISchemaType* This,BSTR *maxInclusive) { + return This->lpVtbl->get_maxInclusive(This,maxInclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_totalDigits(ISchemaType* This,VARIANT *totalDigits) { + return This->lpVtbl->get_totalDigits(This,totalDigits); +} +static FORCEINLINE HRESULT ISchemaType_get_fractionDigits(ISchemaType* This,VARIANT *fractionDigits) { + return This->lpVtbl->get_fractionDigits(This,fractionDigits); +} +static FORCEINLINE HRESULT ISchemaType_get_length(ISchemaType* This,VARIANT *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaType_get_minLength(ISchemaType* This,VARIANT *minLength) { + return This->lpVtbl->get_minLength(This,minLength); +} +static FORCEINLINE HRESULT ISchemaType_get_maxLength(ISchemaType* This,VARIANT *maxLength) { + return This->lpVtbl->get_maxLength(This,maxLength); +} +static FORCEINLINE HRESULT ISchemaType_get_enumeration(ISchemaType* This,ISchemaStringCollection **enumeration) { + return This->lpVtbl->get_enumeration(This,enumeration); +} +static FORCEINLINE HRESULT ISchemaType_get_whitespace(ISchemaType* This,SCHEMAWHITESPACE *whitespace) { + return This->lpVtbl->get_whitespace(This,whitespace); +} +static FORCEINLINE HRESULT ISchemaType_get_patterns(ISchemaType* This,ISchemaStringCollection **patterns) { + return This->lpVtbl->get_patterns(This,patterns); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaComplexType interface + */ +#ifndef __ISchemaComplexType_INTERFACE_DEFINED__ +#define __ISchemaComplexType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaComplexType, 0x50ea08b9, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b9-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaComplexType : public ISchemaType +{ + virtual HRESULT STDMETHODCALLTYPE get_isAbstract( + VARIANT_BOOL *abstract) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_anyAttribute( + ISchemaAny **anyAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + ISchemaItemCollection **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentType( + SCHEMACONTENTTYPE *contentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentModel( + ISchemaModelGroup **contentModel) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_prohibitedSubstitutions( + SCHEMADERIVATIONMETHOD *prohibited) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaComplexType, 0x50ea08b9, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaComplexTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaComplexType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaComplexType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaComplexType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaComplexType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaComplexType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaComplexType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaComplexType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaComplexType *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaComplexType *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaComplexType *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaComplexType *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaComplexType *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaComplexType *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaComplexType *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_baseTypes)( + ISchemaComplexType *This, + ISchemaItemCollection **baseTypes); + + HRESULT (STDMETHODCALLTYPE *get_final)( + ISchemaComplexType *This, + SCHEMADERIVATIONMETHOD *final); + + HRESULT (STDMETHODCALLTYPE *get_variety)( + ISchemaComplexType *This, + SCHEMATYPEVARIETY *variety); + + HRESULT (STDMETHODCALLTYPE *get_derivedBy)( + ISchemaComplexType *This, + SCHEMADERIVATIONMETHOD *derivedBy); + + HRESULT (STDMETHODCALLTYPE *isValid)( + ISchemaComplexType *This, + BSTR data, + VARIANT_BOOL *valid); + + HRESULT (STDMETHODCALLTYPE *get_minExclusive)( + ISchemaComplexType *This, + BSTR *minExclusive); + + HRESULT (STDMETHODCALLTYPE *get_minInclusive)( + ISchemaComplexType *This, + BSTR *minInclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxExclusive)( + ISchemaComplexType *This, + BSTR *maxExclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxInclusive)( + ISchemaComplexType *This, + BSTR *maxInclusive); + + HRESULT (STDMETHODCALLTYPE *get_totalDigits)( + ISchemaComplexType *This, + VARIANT *totalDigits); + + HRESULT (STDMETHODCALLTYPE *get_fractionDigits)( + ISchemaComplexType *This, + VARIANT *fractionDigits); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaComplexType *This, + VARIANT *length); + + HRESULT (STDMETHODCALLTYPE *get_minLength)( + ISchemaComplexType *This, + VARIANT *minLength); + + HRESULT (STDMETHODCALLTYPE *get_maxLength)( + ISchemaComplexType *This, + VARIANT *maxLength); + + HRESULT (STDMETHODCALLTYPE *get_enumeration)( + ISchemaComplexType *This, + ISchemaStringCollection **enumeration); + + HRESULT (STDMETHODCALLTYPE *get_whitespace)( + ISchemaComplexType *This, + SCHEMAWHITESPACE *whitespace); + + HRESULT (STDMETHODCALLTYPE *get_patterns)( + ISchemaComplexType *This, + ISchemaStringCollection **patterns); + + /*** ISchemaComplexType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_isAbstract)( + ISchemaComplexType *This, + VARIANT_BOOL *abstract); + + HRESULT (STDMETHODCALLTYPE *get_anyAttribute)( + ISchemaComplexType *This, + ISchemaAny **anyAttribute); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + ISchemaComplexType *This, + ISchemaItemCollection **attributes); + + HRESULT (STDMETHODCALLTYPE *get_contentType)( + ISchemaComplexType *This, + SCHEMACONTENTTYPE *contentType); + + HRESULT (STDMETHODCALLTYPE *get_contentModel)( + ISchemaComplexType *This, + ISchemaModelGroup **contentModel); + + HRESULT (STDMETHODCALLTYPE *get_prohibitedSubstitutions)( + ISchemaComplexType *This, + SCHEMADERIVATIONMETHOD *prohibited); + + END_INTERFACE +} ISchemaComplexTypeVtbl; + +interface ISchemaComplexType { + CONST_VTBL ISchemaComplexTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaComplexType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaComplexType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaComplexType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaComplexType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaComplexType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaComplexType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaComplexType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaComplexType_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaComplexType_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaComplexType_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaComplexType_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaComplexType_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaComplexType_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaComplexType_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaType methods ***/ +#define ISchemaComplexType_get_baseTypes(This,baseTypes) (This)->lpVtbl->get_baseTypes(This,baseTypes) +#define ISchemaComplexType_get_final(This,final) (This)->lpVtbl->get_final(This,final) +#define ISchemaComplexType_get_variety(This,variety) (This)->lpVtbl->get_variety(This,variety) +#define ISchemaComplexType_get_derivedBy(This,derivedBy) (This)->lpVtbl->get_derivedBy(This,derivedBy) +#define ISchemaComplexType_isValid(This,data,valid) (This)->lpVtbl->isValid(This,data,valid) +#define ISchemaComplexType_get_minExclusive(This,minExclusive) (This)->lpVtbl->get_minExclusive(This,minExclusive) +#define ISchemaComplexType_get_minInclusive(This,minInclusive) (This)->lpVtbl->get_minInclusive(This,minInclusive) +#define ISchemaComplexType_get_maxExclusive(This,maxExclusive) (This)->lpVtbl->get_maxExclusive(This,maxExclusive) +#define ISchemaComplexType_get_maxInclusive(This,maxInclusive) (This)->lpVtbl->get_maxInclusive(This,maxInclusive) +#define ISchemaComplexType_get_totalDigits(This,totalDigits) (This)->lpVtbl->get_totalDigits(This,totalDigits) +#define ISchemaComplexType_get_fractionDigits(This,fractionDigits) (This)->lpVtbl->get_fractionDigits(This,fractionDigits) +#define ISchemaComplexType_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaComplexType_get_minLength(This,minLength) (This)->lpVtbl->get_minLength(This,minLength) +#define ISchemaComplexType_get_maxLength(This,maxLength) (This)->lpVtbl->get_maxLength(This,maxLength) +#define ISchemaComplexType_get_enumeration(This,enumeration) (This)->lpVtbl->get_enumeration(This,enumeration) +#define ISchemaComplexType_get_whitespace(This,whitespace) (This)->lpVtbl->get_whitespace(This,whitespace) +#define ISchemaComplexType_get_patterns(This,patterns) (This)->lpVtbl->get_patterns(This,patterns) +/*** ISchemaComplexType methods ***/ +#define ISchemaComplexType_get_isAbstract(This,abstract) (This)->lpVtbl->get_isAbstract(This,abstract) +#define ISchemaComplexType_get_anyAttribute(This,anyAttribute) (This)->lpVtbl->get_anyAttribute(This,anyAttribute) +#define ISchemaComplexType_get_attributes(This,attributes) (This)->lpVtbl->get_attributes(This,attributes) +#define ISchemaComplexType_get_contentType(This,contentType) (This)->lpVtbl->get_contentType(This,contentType) +#define ISchemaComplexType_get_contentModel(This,contentModel) (This)->lpVtbl->get_contentModel(This,contentModel) +#define ISchemaComplexType_get_prohibitedSubstitutions(This,prohibited) (This)->lpVtbl->get_prohibitedSubstitutions(This,prohibited) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_QueryInterface(ISchemaComplexType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaComplexType_AddRef(ISchemaComplexType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaComplexType_Release(ISchemaComplexType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_GetTypeInfoCount(ISchemaComplexType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaComplexType_GetTypeInfo(ISchemaComplexType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaComplexType_GetIDsOfNames(ISchemaComplexType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaComplexType_Invoke(ISchemaComplexType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_get_name(ISchemaComplexType* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_namespaceURI(ISchemaComplexType* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_schema(ISchemaComplexType* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_id(ISchemaComplexType* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_itemType(ISchemaComplexType* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_unhandledAttributes(ISchemaComplexType* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaComplexType_writeAnnotation(ISchemaComplexType* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaType methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_get_baseTypes(ISchemaComplexType* This,ISchemaItemCollection **baseTypes) { + return This->lpVtbl->get_baseTypes(This,baseTypes); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_final(ISchemaComplexType* This,SCHEMADERIVATIONMETHOD *final) { + return This->lpVtbl->get_final(This,final); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_variety(ISchemaComplexType* This,SCHEMATYPEVARIETY *variety) { + return This->lpVtbl->get_variety(This,variety); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_derivedBy(ISchemaComplexType* This,SCHEMADERIVATIONMETHOD *derivedBy) { + return This->lpVtbl->get_derivedBy(This,derivedBy); +} +static FORCEINLINE HRESULT ISchemaComplexType_isValid(ISchemaComplexType* This,BSTR data,VARIANT_BOOL *valid) { + return This->lpVtbl->isValid(This,data,valid); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_minExclusive(ISchemaComplexType* This,BSTR *minExclusive) { + return This->lpVtbl->get_minExclusive(This,minExclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_minInclusive(ISchemaComplexType* This,BSTR *minInclusive) { + return This->lpVtbl->get_minInclusive(This,minInclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_maxExclusive(ISchemaComplexType* This,BSTR *maxExclusive) { + return This->lpVtbl->get_maxExclusive(This,maxExclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_maxInclusive(ISchemaComplexType* This,BSTR *maxInclusive) { + return This->lpVtbl->get_maxInclusive(This,maxInclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_totalDigits(ISchemaComplexType* This,VARIANT *totalDigits) { + return This->lpVtbl->get_totalDigits(This,totalDigits); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_fractionDigits(ISchemaComplexType* This,VARIANT *fractionDigits) { + return This->lpVtbl->get_fractionDigits(This,fractionDigits); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_length(ISchemaComplexType* This,VARIANT *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_minLength(ISchemaComplexType* This,VARIANT *minLength) { + return This->lpVtbl->get_minLength(This,minLength); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_maxLength(ISchemaComplexType* This,VARIANT *maxLength) { + return This->lpVtbl->get_maxLength(This,maxLength); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_enumeration(ISchemaComplexType* This,ISchemaStringCollection **enumeration) { + return This->lpVtbl->get_enumeration(This,enumeration); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_whitespace(ISchemaComplexType* This,SCHEMAWHITESPACE *whitespace) { + return This->lpVtbl->get_whitespace(This,whitespace); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_patterns(ISchemaComplexType* This,ISchemaStringCollection **patterns) { + return This->lpVtbl->get_patterns(This,patterns); +} +/*** ISchemaComplexType methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_get_isAbstract(ISchemaComplexType* This,VARIANT_BOOL *abstract) { + return This->lpVtbl->get_isAbstract(This,abstract); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_anyAttribute(ISchemaComplexType* This,ISchemaAny **anyAttribute) { + return This->lpVtbl->get_anyAttribute(This,anyAttribute); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_attributes(ISchemaComplexType* This,ISchemaItemCollection **attributes) { + return This->lpVtbl->get_attributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_contentType(ISchemaComplexType* This,SCHEMACONTENTTYPE *contentType) { + return This->lpVtbl->get_contentType(This,contentType); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_contentModel(ISchemaComplexType* This,ISchemaModelGroup **contentModel) { + return This->lpVtbl->get_contentModel(This,contentModel); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_prohibitedSubstitutions(ISchemaComplexType* This,SCHEMADERIVATIONMETHOD *prohibited) { + return This->lpVtbl->get_prohibitedSubstitutions(This,prohibited); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaComplexType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaAttributeGroup interface + */ +#ifndef __ISchemaAttributeGroup_INTERFACE_DEFINED__ +#define __ISchemaAttributeGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaAttributeGroup, 0x50ea08ba, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08ba-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaAttributeGroup : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_anyAttribute( + ISchemaAny **anyAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + ISchemaItemCollection **attributes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaAttributeGroup, 0x50ea08ba, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaAttributeGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaAttributeGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaAttributeGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaAttributeGroup *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaAttributeGroup *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaAttributeGroup *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaAttributeGroup *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaAttributeGroup *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaAttributeGroup *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaAttributeGroup *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaAttributeGroup *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaAttributeGroup *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaAttributeGroup *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaAttributeGroup *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaAttributeGroup *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaAttributeGroup methods ***/ + HRESULT (STDMETHODCALLTYPE *get_anyAttribute)( + ISchemaAttributeGroup *This, + ISchemaAny **anyAttribute); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + ISchemaAttributeGroup *This, + ISchemaItemCollection **attributes); + + END_INTERFACE +} ISchemaAttributeGroupVtbl; + +interface ISchemaAttributeGroup { + CONST_VTBL ISchemaAttributeGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaAttributeGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaAttributeGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaAttributeGroup_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaAttributeGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaAttributeGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaAttributeGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaAttributeGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaAttributeGroup_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaAttributeGroup_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaAttributeGroup_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaAttributeGroup_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaAttributeGroup_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaAttributeGroup_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaAttributeGroup_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaAttributeGroup methods ***/ +#define ISchemaAttributeGroup_get_anyAttribute(This,anyAttribute) (This)->lpVtbl->get_anyAttribute(This,anyAttribute) +#define ISchemaAttributeGroup_get_attributes(This,attributes) (This)->lpVtbl->get_attributes(This,attributes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_QueryInterface(ISchemaAttributeGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaAttributeGroup_AddRef(ISchemaAttributeGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaAttributeGroup_Release(ISchemaAttributeGroup* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_GetTypeInfoCount(ISchemaAttributeGroup* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_GetTypeInfo(ISchemaAttributeGroup* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_GetIDsOfNames(ISchemaAttributeGroup* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_Invoke(ISchemaAttributeGroup* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_name(ISchemaAttributeGroup* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_namespaceURI(ISchemaAttributeGroup* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_schema(ISchemaAttributeGroup* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_id(ISchemaAttributeGroup* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_itemType(ISchemaAttributeGroup* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_unhandledAttributes(ISchemaAttributeGroup* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_writeAnnotation(ISchemaAttributeGroup* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaAttributeGroup methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_anyAttribute(ISchemaAttributeGroup* This,ISchemaAny **anyAttribute) { + return This->lpVtbl->get_anyAttribute(This,anyAttribute); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_attributes(ISchemaAttributeGroup* This,ISchemaItemCollection **attributes) { + return This->lpVtbl->get_attributes(This,attributes); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaAttributeGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaModelGroup interface + */ +#ifndef __ISchemaModelGroup_INTERFACE_DEFINED__ +#define __ISchemaModelGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaModelGroup, 0x50ea08bb, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08bb-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaModelGroup : public ISchemaParticle +{ + virtual HRESULT STDMETHODCALLTYPE get_particles( + ISchemaItemCollection **particles) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaModelGroup, 0x50ea08bb, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaModelGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaModelGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaModelGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaModelGroup *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaModelGroup *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaModelGroup *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaModelGroup *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaModelGroup *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaModelGroup *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaModelGroup *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaModelGroup *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaModelGroup *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaModelGroup *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaModelGroup *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaModelGroup *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaModelGroup *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaModelGroup *This, + VARIANT *maxOccurs); + + /*** ISchemaModelGroup methods ***/ + HRESULT (STDMETHODCALLTYPE *get_particles)( + ISchemaModelGroup *This, + ISchemaItemCollection **particles); + + END_INTERFACE +} ISchemaModelGroupVtbl; + +interface ISchemaModelGroup { + CONST_VTBL ISchemaModelGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaModelGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaModelGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaModelGroup_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaModelGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaModelGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaModelGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaModelGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaModelGroup_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaModelGroup_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaModelGroup_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaModelGroup_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaModelGroup_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaModelGroup_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaModelGroup_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaModelGroup_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaModelGroup_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +/*** ISchemaModelGroup methods ***/ +#define ISchemaModelGroup_get_particles(This,particles) (This)->lpVtbl->get_particles(This,particles) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_QueryInterface(ISchemaModelGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaModelGroup_AddRef(ISchemaModelGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaModelGroup_Release(ISchemaModelGroup* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_GetTypeInfoCount(ISchemaModelGroup* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaModelGroup_GetTypeInfo(ISchemaModelGroup* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaModelGroup_GetIDsOfNames(ISchemaModelGroup* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaModelGroup_Invoke(ISchemaModelGroup* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_get_name(ISchemaModelGroup* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_namespaceURI(ISchemaModelGroup* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_schema(ISchemaModelGroup* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_id(ISchemaModelGroup* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_itemType(ISchemaModelGroup* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_unhandledAttributes(ISchemaModelGroup* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaModelGroup_writeAnnotation(ISchemaModelGroup* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_get_minOccurs(ISchemaModelGroup* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_maxOccurs(ISchemaModelGroup* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +/*** ISchemaModelGroup methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_get_particles(ISchemaModelGroup* This,ISchemaItemCollection **particles) { + return This->lpVtbl->get_particles(This,particles); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaModelGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaAny interface + */ +#ifndef __ISchemaAny_INTERFACE_DEFINED__ +#define __ISchemaAny_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaAny, 0x50ea08bc, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08bc-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaAny : public ISchemaParticle +{ + virtual HRESULT STDMETHODCALLTYPE get_namespaces( + ISchemaStringCollection **namespaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_processContents( + SCHEMAPROCESSCONTENTS *processContents) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaAny, 0x50ea08bc, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaAnyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaAny *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaAny *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaAny *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaAny *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaAny *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaAny *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaAny *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaAny *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaAny *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaAny *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaAny *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaAny *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaAny *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaAny *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaAny *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaAny *This, + VARIANT *maxOccurs); + + /*** ISchemaAny methods ***/ + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + ISchemaAny *This, + ISchemaStringCollection **namespaces); + + HRESULT (STDMETHODCALLTYPE *get_processContents)( + ISchemaAny *This, + SCHEMAPROCESSCONTENTS *processContents); + + END_INTERFACE +} ISchemaAnyVtbl; + +interface ISchemaAny { + CONST_VTBL ISchemaAnyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaAny_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaAny_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaAny_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaAny_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaAny_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaAny_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaAny_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaAny_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaAny_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaAny_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaAny_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaAny_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaAny_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaAny_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaAny_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaAny_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +/*** ISchemaAny methods ***/ +#define ISchemaAny_get_namespaces(This,namespaces) (This)->lpVtbl->get_namespaces(This,namespaces) +#define ISchemaAny_get_processContents(This,processContents) (This)->lpVtbl->get_processContents(This,processContents) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaAny_QueryInterface(ISchemaAny* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaAny_AddRef(ISchemaAny* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaAny_Release(ISchemaAny* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaAny_GetTypeInfoCount(ISchemaAny* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaAny_GetTypeInfo(ISchemaAny* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaAny_GetIDsOfNames(ISchemaAny* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaAny_Invoke(ISchemaAny* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaAny_get_name(ISchemaAny* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaAny_get_namespaceURI(ISchemaAny* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaAny_get_schema(ISchemaAny* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaAny_get_id(ISchemaAny* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaAny_get_itemType(ISchemaAny* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaAny_get_unhandledAttributes(ISchemaAny* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaAny_writeAnnotation(ISchemaAny* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaAny_get_minOccurs(ISchemaAny* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaAny_get_maxOccurs(ISchemaAny* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +/*** ISchemaAny methods ***/ +static FORCEINLINE HRESULT ISchemaAny_get_namespaces(ISchemaAny* This,ISchemaStringCollection **namespaces) { + return This->lpVtbl->get_namespaces(This,namespaces); +} +static FORCEINLINE HRESULT ISchemaAny_get_processContents(ISchemaAny* This,SCHEMAPROCESSCONTENTS *processContents) { + return This->lpVtbl->get_processContents(This,processContents); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaAny_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaIdentityConstraint interface + */ +#ifndef __ISchemaIdentityConstraint_INTERFACE_DEFINED__ +#define __ISchemaIdentityConstraint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaIdentityConstraint, 0x50ea08bd, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08bd-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaIdentityConstraint : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_selector( + BSTR *selector) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fields( + ISchemaStringCollection **fields) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_referencedKey( + ISchemaIdentityConstraint **key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaIdentityConstraint, 0x50ea08bd, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaIdentityConstraintVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaIdentityConstraint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaIdentityConstraint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaIdentityConstraint *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaIdentityConstraint *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaIdentityConstraint *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaIdentityConstraint *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaIdentityConstraint *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaIdentityConstraint *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaIdentityConstraint *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaIdentityConstraint *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaIdentityConstraint *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaIdentityConstraint *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaIdentityConstraint *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaIdentityConstraint *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaIdentityConstraint methods ***/ + HRESULT (STDMETHODCALLTYPE *get_selector)( + ISchemaIdentityConstraint *This, + BSTR *selector); + + HRESULT (STDMETHODCALLTYPE *get_fields)( + ISchemaIdentityConstraint *This, + ISchemaStringCollection **fields); + + HRESULT (STDMETHODCALLTYPE *get_referencedKey)( + ISchemaIdentityConstraint *This, + ISchemaIdentityConstraint **key); + + END_INTERFACE +} ISchemaIdentityConstraintVtbl; + +interface ISchemaIdentityConstraint { + CONST_VTBL ISchemaIdentityConstraintVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaIdentityConstraint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaIdentityConstraint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaIdentityConstraint_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaIdentityConstraint_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaIdentityConstraint_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaIdentityConstraint_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaIdentityConstraint_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaIdentityConstraint_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaIdentityConstraint_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaIdentityConstraint_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaIdentityConstraint_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaIdentityConstraint_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaIdentityConstraint_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaIdentityConstraint_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaIdentityConstraint methods ***/ +#define ISchemaIdentityConstraint_get_selector(This,selector) (This)->lpVtbl->get_selector(This,selector) +#define ISchemaIdentityConstraint_get_fields(This,fields) (This)->lpVtbl->get_fields(This,fields) +#define ISchemaIdentityConstraint_get_referencedKey(This,key) (This)->lpVtbl->get_referencedKey(This,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_QueryInterface(ISchemaIdentityConstraint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaIdentityConstraint_AddRef(ISchemaIdentityConstraint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaIdentityConstraint_Release(ISchemaIdentityConstraint* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_GetTypeInfoCount(ISchemaIdentityConstraint* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_GetTypeInfo(ISchemaIdentityConstraint* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_GetIDsOfNames(ISchemaIdentityConstraint* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_Invoke(ISchemaIdentityConstraint* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_name(ISchemaIdentityConstraint* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_namespaceURI(ISchemaIdentityConstraint* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_schema(ISchemaIdentityConstraint* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_id(ISchemaIdentityConstraint* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_itemType(ISchemaIdentityConstraint* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_unhandledAttributes(ISchemaIdentityConstraint* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_writeAnnotation(ISchemaIdentityConstraint* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaIdentityConstraint methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_selector(ISchemaIdentityConstraint* This,BSTR *selector) { + return This->lpVtbl->get_selector(This,selector); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_fields(ISchemaIdentityConstraint* This,ISchemaStringCollection **fields) { + return This->lpVtbl->get_fields(This,fields); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_referencedKey(ISchemaIdentityConstraint* This,ISchemaIdentityConstraint **key) { + return This->lpVtbl->get_referencedKey(This,key); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaIdentityConstraint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaNotation interface + */ +#ifndef __ISchemaNotation_INTERFACE_DEFINED__ +#define __ISchemaNotation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaNotation, 0x50ea08be, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08be-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaNotation : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_systemIdentifier( + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_publicIdentifier( + BSTR *uri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaNotation, 0x50ea08be, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaNotationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaNotation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaNotation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaNotation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaNotation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaNotation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaNotation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaNotation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaNotation *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaNotation *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaNotation *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaNotation *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaNotation *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaNotation *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaNotation *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaNotation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_systemIdentifier)( + ISchemaNotation *This, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *get_publicIdentifier)( + ISchemaNotation *This, + BSTR *uri); + + END_INTERFACE +} ISchemaNotationVtbl; + +interface ISchemaNotation { + CONST_VTBL ISchemaNotationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaNotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaNotation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaNotation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaNotation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaNotation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaNotation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaNotation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaNotation_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaNotation_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaNotation_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaNotation_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaNotation_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaNotation_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaNotation_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaNotation methods ***/ +#define ISchemaNotation_get_systemIdentifier(This,uri) (This)->lpVtbl->get_systemIdentifier(This,uri) +#define ISchemaNotation_get_publicIdentifier(This,uri) (This)->lpVtbl->get_publicIdentifier(This,uri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_QueryInterface(ISchemaNotation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaNotation_AddRef(ISchemaNotation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaNotation_Release(ISchemaNotation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_GetTypeInfoCount(ISchemaNotation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaNotation_GetTypeInfo(ISchemaNotation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaNotation_GetIDsOfNames(ISchemaNotation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaNotation_Invoke(ISchemaNotation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_get_name(ISchemaNotation* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaNotation_get_namespaceURI(ISchemaNotation* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaNotation_get_schema(ISchemaNotation* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaNotation_get_id(ISchemaNotation* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaNotation_get_itemType(ISchemaNotation* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaNotation_get_unhandledAttributes(ISchemaNotation* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaNotation_writeAnnotation(ISchemaNotation* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaNotation methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_get_systemIdentifier(ISchemaNotation* This,BSTR *uri) { + return This->lpVtbl->get_systemIdentifier(This,uri); +} +static FORCEINLINE HRESULT ISchemaNotation_get_publicIdentifier(ISchemaNotation* This,BSTR *uri) { + return This->lpVtbl->get_publicIdentifier(This,uri); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaNotation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * SAXXMLReader30 coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader30, 0x3124c396, 0xfb13, 0x4836, 0xa6,0xad, 0x13,0x17,0xf1,0x71,0x36,0x88); + +#ifdef __cplusplus +class DECLSPEC_UUID("3124c396-fb13-4836-a6ad-1317f1713688") SAXXMLReader30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader30, 0x3124c396, 0xfb13, 0x4836, 0xa6,0xad, 0x13,0x17,0xf1,0x71,0x36,0x88) +#endif +#endif + +/***************************************************************************** + * SAXXMLReader40 coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader40, 0x7c6e29bc, 0x8b8b, 0x4c3d, 0x85,0x9e, 0xaf,0x6c,0xd1,0x58,0xbe,0x0f); + +#ifdef __cplusplus +class DECLSPEC_UUID("7c6e29bc-8b8b-4c3d-859e-af6cd158be0f") SAXXMLReader40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader40, 0x7c6e29bc, 0x8b8b, 0x4c3d, 0x85,0x9e, 0xaf,0x6c,0xd1,0x58,0xbe,0x0f) +#endif +#endif + +/***************************************************************************** + * SAXXMLReader60 coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0c-f192-11d4-a65f-0040963251e5") SAXXMLReader60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * SAXXMLReader coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader, 0x079aa557, 0x4a18, 0x424a, 0x8e,0xee, 0xe3,0x9f,0x0a,0x8d,0x41,0xb9); + +#ifdef __cplusplus +class DECLSPEC_UUID("079aa557-4a18-424a-8eee-e39f0a8d41b9") SAXXMLReader; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader, 0x079aa557, 0x4a18, 0x424a, 0x8e,0xee, 0xe3,0x9f,0x0a,0x8d,0x41,0xb9) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter, 0xa4c23ec3, 0x6b70, 0x4466, 0x91,0x27, 0x55,0x00,0x77,0x23,0x99,0x78); + +#ifdef __cplusplus +class DECLSPEC_UUID("a4c23ec3-6b70-4466-9127-550077239978") MXHTMLWriter; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter, 0xa4c23ec3, 0x6b70, 0x4466, 0x91,0x27, 0x55,0x00,0x77,0x23,0x99,0x78) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter30 coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter30, 0x853d1540, 0xc1a7, 0x4aa9, 0xa2,0x26, 0x4d,0x3b,0xd3,0x01,0x14,0x6d); + +#ifdef __cplusplus +class DECLSPEC_UUID("853d1540-c1a7-4aa9-a226-4d3bd301146d") MXHTMLWriter30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter30, 0x853d1540, 0xc1a7, 0x4aa9, 0xa2,0x26, 0x4d,0x3b,0xd3,0x01,0x14,0x6d) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter40 coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter40, 0x88d969c9, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c9-f192-11d4-a65f-0040963251e5") MXHTMLWriter40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter40, 0x88d969c9, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter60 coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter60, 0x88d96a10, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a10-f192-11d4-a65f-0040963251e5") MXHTMLWriter60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter60, 0x88d96a10, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter30 coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter30, 0x3d813dfe, 0x6c91, 0x4a4e, 0x8f,0x41, 0x04,0x34,0x6a,0x84,0x1d,0x9c); + +#ifdef __cplusplus +class DECLSPEC_UUID("3d813dfe-6c91-4a4e-8f41-04346a841d9c") MXXMLWriter30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter30, 0x3d813dfe, 0x6c91, 0x4a4e, 0x8f,0x41, 0x04,0x34,0x6a,0x84,0x1d,0x9c) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter40 coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter40, 0x88d969c8, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c8-f192-11d4-a65f-0040963251e5") MXXMLWriter40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter40, 0x88d969c8, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter60 coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0f-f192-11d4-a65f-0040963251e5") MXXMLWriter60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter, 0xfc220ad8, 0xa72a, 0x4ee8, 0x92,0x6e, 0x0b,0x7a,0xd1,0x52,0xa0,0x20); + +#ifdef __cplusplus +class DECLSPEC_UUID("fc220ad8-a72a-4ee8-926e-0b7ad152a020") MXXMLWriter; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter, 0xfc220ad8, 0xa72a, 0x4ee8, 0x92,0x6e, 0x0b,0x7a,0xd1,0x52,0xa0,0x20) +#endif +#endif + +/***************************************************************************** + * MXNamespaceManager coclass + */ + +DEFINE_GUID(CLSID_MXNamespaceManager, 0x88d969d5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969d5-f192-11d4-a65f-0040963251e5") MXNamespaceManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXNamespaceManager, 0x88d969d5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXNamespaceManager40 coclass + */ + +DEFINE_GUID(CLSID_MXNamespaceManager40, 0x88d969d6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969d6-f192-11d4-a65f-0040963251e5") MXNamespaceManager40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXNamespaceManager40, 0x88d969d6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXNamespaceManager60 coclass + */ + +DEFINE_GUID(CLSID_MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a11-f192-11d4-a65f-0040963251e5") MXNamespaceManager60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * SAXAttributes30 coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes30, 0x3e784a01, 0xf3ae, 0x4dc0, 0x93,0x54, 0x95,0x26,0xb9,0x37,0x0e,0xba); + +#ifdef __cplusplus +class DECLSPEC_UUID("3e784a01-f3ae-4dc0-9354-9526b9370eba") SAXAttributes30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes30, 0x3e784a01, 0xf3ae, 0x4dc0, 0x93,0x54, 0x95,0x26,0xb9,0x37,0x0e,0xba) +#endif +#endif + +/***************************************************************************** + * SAXAttributes40 coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes40, 0x88d969ca, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969ca-f192-11d4-a65f-0040963251e5") SAXAttributes40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes40, 0x88d969ca, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * SAXAttributes60 coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0e-f192-11d4-a65f-0040963251e5") SAXAttributes60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * SAXAttributes coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes, 0x4dd441ad, 0x526d, 0x4a77, 0x9f,0x1b, 0x98,0x41,0xed,0x80,0x2f,0xb0); + +#ifdef __cplusplus +class DECLSPEC_UUID("4dd441ad-526d-4a77-9f1b-9841ed802fb0") SAXAttributes; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes, 0x4dd441ad, 0x526d, 0x4a77, 0x9f,0x1b, 0x98,0x41,0xed,0x80,0x2f,0xb0) +#endif +#endif + +#define E_XML_NOTWF 0xC00CE223 +#define E_XML_NODTD 0xC00CE224 +#define E_XML_INVALID 0xC00CE225 +#define E_XML_BUFFERTOOSMALL 0xC00CE226 +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msxml2_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2.idl new file mode 100644 index 0000000..b9cead8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2.idl @@ -0,0 +1,3567 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * Copyright (C) 2008 Alistair Leslie-Hughes + * Copyright (C) 2010 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include + +import "unknwn.idl"; +import "objidl.idl"; +import "oaidl.idl"; + +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + uuid(f5078f18-c551-11d3-89b9-0000f81fe221), + version(3.0), + helpstring("Microsoft XML, v3.0") +] +library MSXML2 +{ + +importlib("stdole2.tlb"); + +interface IXMLDOMImplementation; +interface IXMLDOMNode; +interface IXMLDOMDocumentFragment; +interface IXMLDOMDocument; +interface IXMLDOMSchemaCollection; +interface IXMLDOMDocument2; +interface IXMLDOMNodeList; +interface IXMLDOMNamedNodeMap; +interface IXMLDOMCharacterData; +interface IXMLDOMAttribute; +interface IXMLDOMElement; +interface IXMLDOMText; +interface IXMLDOMComment; +interface IXMLDOMProcessingInstruction; +interface IXMLDOMCDATASection; +interface IXMLDOMDocumentType; +interface IXMLDOMNotation; +interface IXMLDOMEntity; +interface IXMLDOMEntityReference; +interface IXMLDOMParseError; +interface IXMLDOMParseErrorCollection; +interface IXTLRuntime; +interface IXSLTemplate; +interface IXSLProcessor; + +/* SAX Interfaces */ +interface ISAXAttributes; +interface ISAXContentHandler; +interface ISAXDeclHandler; +interface ISAXDTDHandler; +interface ISAXEntityResolver; +interface ISAXErrorHandler; +interface ISAXLexicalHandler; +interface ISAXLocator; +interface ISAXXMLFilter; +interface ISAXXMLReader; + +interface IVBSAXAttributes; +interface IVBSAXContentHandler; +interface IVBSAXDeclHandler; +interface IVBSAXDTDHandler; +interface IVBSAXEntityResolver; +interface IVBSAXErrorHandler; +interface IVBSAXLexicalHandler; +interface IVBSAXLocator; +interface IVBSAXXMLFilter; +interface IVBSAXXMLReader; + +interface IMXAttributes; +interface IMXReaderControl; +interface IMXWriter; + +interface IXMLDOMSchemaCollection2; +interface ISchemaStringCollection; +interface ISchemaItemCollection; +interface ISchemaItem; +interface ISchema; +interface ISchemaParticle; +interface ISchemaAttribute; +interface ISchemaElement; +interface ISchemaType; +interface ISchemaComplexType; +interface ISchemaAttributeGroup; +interface ISchemaModelGroup; +interface ISchemaAny; +interface ISchemaIdentityConstraint; +interface ISchemaNotation; + + +cpp_quote("#define DOMDocument DOMDocument2") +cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2") + +cpp_quote("#ifndef __MSXML_DOMNODETYPE_DEFINED") +cpp_quote("#define __MSXML_DOMNODETYPE_DEFINED") +typedef enum tagDOMNodeType +{ + NODE_INVALID = 0, + NODE_ELEMENT = 1, + NODE_ATTRIBUTE = 2, + NODE_TEXT = 3, + NODE_CDATA_SECTION = 4, + NODE_ENTITY_REFERENCE = 5, + NODE_ENTITY = 6, + NODE_PROCESSING_INSTRUCTION = 7, + NODE_COMMENT = 8, + NODE_DOCUMENT = 9, + NODE_DOCUMENT_TYPE = 10, + NODE_DOCUMENT_FRAGMENT = 11, + NODE_NOTATION = 12 +} DOMNodeType; +cpp_quote("#endif") + +typedef enum _SOMITEMTYPE +{ + SOMITEM_SCHEMA = 0x1000, + SOMITEM_ATTRIBUTE = 0x1001, + SOMITEM_ATTRIBUTEGROUP = 0x1002, + SOMITEM_NOTATION = 0x1003, + SOMITEM_IDENTITYCONSTRAINT = 0x1100, + SOMITEM_KEY = 0x1101, + SOMITEM_KEYREF = 0x1102, + SOMITEM_UNIQUE = 0x1103, + SOMITEM_ANYTYPE = 0x2000, + SOMITEM_DATATYPE = 0x2100, + SOMITEM_DATATYPE_ANYTYPE = 0x2101, + SOMITEM_DATATYPE_ANYURI = 0x2102, + SOMITEM_DATATYPE_BASE64BINARY = 0x2103, + SOMITEM_DATATYPE_BOOLEAN = 0x2104, + SOMITEM_DATATYPE_BYTE = 0x2105, + SOMITEM_DATATYPE_DATE = 0x2106, + SOMITEM_DATATYPE_DATETIME = 0x2107, + SOMITEM_DATATYPE_DAY = 0x2108, + SOMITEM_DATATYPE_DECIMAL = 0x2109, + SOMITEM_DATATYPE_DOUBLE = 0x210A, + SOMITEM_DATATYPE_DURATION = 0x210B, + SOMITEM_DATATYPE_ENTITIES = 0x210C, + SOMITEM_DATATYPE_ENTITY = 0x210D, + SOMITEM_DATATYPE_FLOAT = 0x210E, + SOMITEM_DATATYPE_HEXBINARY = 0x210F, + SOMITEM_DATATYPE_ID = 0x2110, + SOMITEM_DATATYPE_IDREF = 0x2111, + SOMITEM_DATATYPE_IDREFS = 0x2112, + SOMITEM_DATATYPE_INT = 0x2113, + SOMITEM_DATATYPE_INTEGER = 0x2114, + SOMITEM_DATATYPE_LANGUAGE = 0x2115, + SOMITEM_DATATYPE_LONG = 0x2116, + SOMITEM_DATATYPE_MONTH = 0x2117, + SOMITEM_DATATYPE_MONTHDAY = 0x2118, + SOMITEM_DATATYPE_NAME = 0x2119, + SOMITEM_DATATYPE_NCNAME = 0x211A, + SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211B, + SOMITEM_DATATYPE_NMTOKEN = 0x211C, + SOMITEM_DATATYPE_NMTOKENS = 0x211D, + SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211E, + SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211F, + SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120, + SOMITEM_DATATYPE_NOTATION = 0x2121, + SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122, + SOMITEM_DATATYPE_QNAME = 0x2123, + SOMITEM_DATATYPE_SHORT = 0x2124, + SOMITEM_DATATYPE_STRING = 0x2125, + SOMITEM_DATATYPE_TIME = 0x2126, + SOMITEM_DATATYPE_TOKEN = 0x2127, + SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128, + SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129, + SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212A, + SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212B, + SOMITEM_DATATYPE_YEAR = 0x212C, + SOMITEM_DATATYPE_YEARMONTH = 0x212D, + SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21FF, + SOMITEM_SIMPLETYPE = 0x2200, + SOMITEM_COMPLEXTYPE = 0x2400, + SOMITEM_PARTICLE = 0x4000, + SOMITEM_ANY = 0x4001, + SOMITEM_ANYATTRIBUTE = 0x4002, + SOMITEM_ELEMENT = 0x4003, + SOMITEM_GROUP = 0x4100, + SOMITEM_ALL = 0x4101, + SOMITEM_CHOICE = 0x4102, + SOMITEM_SEQUENCE = 0x4103, + SOMITEM_EMPTYPARTICLE = 0x4104, + SOMITEM_NULL = 0x0800, + SOMITEM_NULL_TYPE = 0x2800, + SOMITEM_NULL_ANY = 0x4801, + SOMITEM_NULL_ANYATTRIBUTE = 0x4802, + SOMITEM_NULL_ELEMENT = 0x4803, +} SOMITEMTYPE; + +typedef enum _SCHEMAUSE +{ + SCHEMAUSE_OPTIONAL, + SCHEMAUSE_PROHIBITED, + SCHEMAUSE_REQUIRED, +} SCHEMAUSE; + +typedef enum _SCHEMADERIVATIONMETHOD +{ + SCHEMADERIVATIONMETHOD_EMPTY = 0x0000, + SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x0001, + SCHEMADERIVATIONMETHOD_EXTENSION = 0x0002, + SCHEMADERIVATIONMETHOD_RESTRICTION = 0x0004, + SCHEMADERIVATIONMETHOD_LIST = 0x0008, + SCHEMADERIVATIONMETHOD_UNION = 0x0010, + SCHEMADERIVATIONMETHOD_ALL = 0x00FF, + SCHEMADERIVATIONMETHOD_NONE = 0x0100, +} SCHEMADERIVATIONMETHOD; + +typedef enum _SCHEMACONTENTTYPE +{ + SCHEMACONTENTTYPE_EMPTY, + SCHEMACONTENTTYPE_TEXTONLY, + SCHEMACONTENTTYPE_ELEMENTONLY, + SCHEMACONTENTTYPE_MIXED, +} SCHEMACONTENTTYPE; + +typedef enum _SCHEMAPROCESSCONTENTS +{ + SCHEMAPROCESSCONTENTS_NONE, + SCHEMAPROCESSCONTENTS_SKIP, + SCHEMAPROCESSCONTENTS_LAX, + SCHEMAPROCESSCONTENTS_STRICT, +} SCHEMAPROCESSCONTENTS; + +typedef enum _SCHEMAWHITESPACE +{ + SCHEMAWHITESPACE_NONE = -1, + SCHEMAWHITESPACE_PRESERVE = 0, + SCHEMAWHITESPACE_REPLACE = 1, + SCHEMAWHITESPACE_COLLAPSE = 2, +} SCHEMAWHITESPACE; + + +typedef enum _SCHEMATYPEVARIETY +{ + SCHEMATYPEVARIETY_NONE = -1, + SCHEMATYPEVARIETY_ATOMIC = 0, + SCHEMATYPEVARIETY_LIST = 1, + SCHEMATYPEVARIETY_UNION = 2, +} SCHEMATYPEVARIETY; + +[ +local, +object, +odl, +dual, +oleautomation, +uuid(65725580-9b5d-11d0-9bfe-00c04fc99c8e) +] +interface IXMLElementCollection : IDispatch +{ + [propput, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)] + HRESULT length( [in] LONG v ); + + [propget, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)] + HRESULT length( [retval, out] LONG *p ); + + [propget, id(DISPID_XMLELEMENTCOLLECTION_NEWENUM)] + HRESULT _newEnum( [retval, out] IUnknown ** ppUnk ); + + [id(DISPID_XMLELEMENTCOLLECTION_ITEM)] + HRESULT item( + [optional, in] VARIANT var1, + [optional, in] VARIANT var2, + [retval, out] IDispatch ** ppDisp ); +} + +[ +local, +object, +uuid(3f7f31ac-e15f-11d0-9c25-00c04fc99c8e) +] +interface IXMLElement : IDispatch +{ + [propget, id(DISPID_XMLELEMENT_TAGNAME)] + HRESULT tagName( [retval, out] BSTR *p); + + [propput, id(DISPID_XMLELEMENT_TAGNAME)] + HRESULT tagName( [in] BSTR p ); + + [propget, id(DISPID_XMLELEMENT_PARENT)] + HRESULT parent( [retval, out] IXMLElement **parent ); + + [id(DISPID_XMLELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR strPropertyName, + [in] VARIANT PropertyValue ); + + [id(DISPID_XMLELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR strPropertyName, + [retval, out] VARIANT *PropertyValue ); + + [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR strPropertyName ); + + [propget, id(DISPID_XMLELEMENT_CHILDREN)] + HRESULT children( [retval, out] IXMLElementCollection **p ); + + [propget, id(DISPID_XMLELEMENT_TYPE)] + HRESULT type( [retval, out] LONG *p ); + + [propget, id(DISPID_XMLELEMENT_TEXT)] + HRESULT text( [retval, out] BSTR *p ); + + [propput, id(DISPID_XMLELEMENT_TEXT)] + HRESULT text( [in] BSTR p ); + + [id(DISPID_XMLELEMENT_ADDCHILD)] + HRESULT addChild( + [in] IXMLElement *pChildElem, + [in] LONG lIndex, + [in] LONG lreserved ); + + [id(DISPID_XMLELEMENT_REMOVECHILD)] + HRESULT removeChild( + [in] IXMLElement *pChildElem ); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF80-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNode : IDispatch +{ + [propget, id(DISPID_DOM_NODE_NODENAME)] + HRESULT nodeName([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_NODE_NODEVALUE)] + HRESULT nodeValue([retval, out] VARIANT *var1); + + [propput, id(DISPID_DOM_NODE_NODEVALUE)] + HRESULT nodeValue([in] VARIANT var1); + + [propget, id(DISPID_DOM_NODE_NODETYPE)] + HRESULT nodeType([retval, out] DOMNodeType *domNodeType); + + [propget, id(DISPID_DOM_NODE_PARENTNODE)] + HRESULT parentNode([retval, out] IXMLDOMNode **parent); + + [propget, id(DISPID_DOM_NODE_CHILDNODES)] + HRESULT childNodes([retval, out] IXMLDOMNodeList **outList); + + [propget, id(DISPID_DOM_NODE_FIRSTCHILD)] + HRESULT firstChild([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_LASTCHILD)] + HRESULT lastChild([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)] + HRESULT previousSibling([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_NEXTSIBLING)] + HRESULT nextSibling([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_ATTRIBUTES)] + HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap); + + [id(DISPID_DOM_NODE_INSERTBEFORE)] + HRESULT insertBefore( + [in] IXMLDOMNode *newNode, + [in] VARIANT var1, + [retval, out] IXMLDOMNode **outOldNode); + + [id(DISPID_DOM_NODE_REPLACECHILD)] + HRESULT replaceChild( + [in] IXMLDOMNode *newNode, + [in] IXMLDOMNode *oldNode, + [retval, out] IXMLDOMNode **outOldNode); + + [id(DISPID_DOM_NODE_REMOVECHILD)] + HRESULT removeChild( + [in] IXMLDOMNode *domNode, + [retval, out] IXMLDOMNode **oldNode); + + [id(DISPID_DOM_NODE_APPENDCHILD)] + HRESULT appendChild( + [in] IXMLDOMNode *newNode, + [retval, out] IXMLDOMNode **outNewNode); + + [id(DISPID_DOM_NODE_HASCHILDNODES)] + HRESULT hasChildNodes( + [retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_DOM_NODE_OWNERDOC)] + HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument); + + [id(DISPID_DOM_NODE_CLONENODE)] + HRESULT cloneNode( + [in] VARIANT_BOOL pbool, + [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)] + HRESULT nodeTypeString([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_NODE_TEXT)] + HRESULT text([retval, out] BSTR *p); + + [propput, id(DISPID_XMLDOM_NODE_TEXT)] + HRESULT text([in] BSTR p); + + [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)] + HRESULT specified([retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_XMLDOM_NODE_DEFINITION)] + HRESULT definition([retval,out] IXMLDOMNode **domNode); + + [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)] + HRESULT nodeTypedValue([retval, out] VARIANT *var1); + + [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)] + HRESULT nodeTypedValue([in] VARIANT var1); + + [propget, id(DISPID_XMLDOM_NODE_DATATYPE)] + HRESULT dataType([retval, out] VARIANT *var1); + + [propput, id(DISPID_XMLDOM_NODE_DATATYPE)] + HRESULT dataType([in] BSTR p); + + [propget, id(DISPID_XMLDOM_NODE_XML)] + HRESULT xml([retval, out] BSTR *p); + + [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)] + HRESULT transformNode( + [in] IXMLDOMNode *domNode, + [retval, out] BSTR *p); + + [id(DISPID_XMLDOM_NODE_SELECTNODES)] + HRESULT selectNodes( + [in] BSTR p, + [retval, out] IXMLDOMNodeList **outList); + + [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)] + HRESULT selectSingleNode( + [in] BSTR p, + [retval, out] IXMLDOMNode **outNode); + + [propget,id(DISPID_XMLDOM_NODE_PARSED)] + HRESULT parsed([retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)] + HRESULT namespaceURI([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_NODE_PREFIX)] + HRESULT prefix([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_NODE_BASENAME)] + HRESULT baseName([retval, out] BSTR *p); + + [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)] + HRESULT transformNodeToObject( + [in] IXMLDOMNode *domNode, + [in] VARIANT var1); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF81-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMDocument : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)] + HRESULT doctype([retval, out] IXMLDOMDocumentType **docType); + + [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)] + HRESULT implementation([retval, out] IXMLDOMImplementation **impl); + + [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)] + HRESULT documentElement([retval, out] IXMLDOMElement **domElement); + + [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)] + HRESULT documentElement([in] IXMLDOMElement *domElement); + + [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)] + HRESULT createElement( + [in] BSTR p, + [retval, out] IXMLDOMElement **domElement); + + [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)] + HRESULT createDocumentFragment( + [retval, out] IXMLDOMDocumentFragment **docFrag); + + [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)] + HRESULT createTextNode( + [in] BSTR p, + [retval, out] IXMLDOMText **text); + + [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)] + HRESULT createComment( + [in] BSTR p, + [retval, out] IXMLDOMComment **comment); + + [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)] + HRESULT createCDATASection( + [in] BSTR p, + [retval, out] IXMLDOMCDATASection **cdata); + + [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)] + HRESULT createProcessingInstruction( + [in] BSTR target, + [in] BSTR data, + [retval, out] IXMLDOMProcessingInstruction **pi); + + [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)] + HRESULT createAttribute( + [in] BSTR p, + [retval, out] IXMLDOMAttribute **attribute); + + [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)] + HRESULT createEntityReference( + [in] BSTR p, + [retval, out] IXMLDOMEntityReference **entityRef); + + [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( + [in] BSTR p, + [retval, out] IXMLDOMNodeList **resultList); + + [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)] + HRESULT createNode( + [in] VARIANT var, + [in] BSTR name, + [in] BSTR uri, + [retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)] + HRESULT nodeFromID( + [in] BSTR id, + [retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_DOCUMENT_LOAD)] + HRESULT load( + [in] VARIANT var1, + [retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_READYSTATE)] + HRESULT readyState([retval, out] LONG *value); + + [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)] + HRESULT parseError([retval, out] IXMLDOMParseError **err); + + [propget, id(DISPID_XMLDOM_DOCUMENT_URL)] + HRESULT url([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)] + HRESULT async([retval, out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)] + HRESULT async([in] VARIANT_BOOL pbool); + + [id(DISPID_XMLDOM_DOCUMENT_ABORT)] + HRESULT abort(); + + [id(DISPID_XMLDOM_DOCUMENT_LOADXML)] + HRESULT loadXML( + [in] BSTR p, + [out, retval] VARIANT_BOOL *pbool); + + [id(DISPID_XMLDOM_DOCUMENT_SAVE)] + HRESULT save( + [in] VARIANT var1); + + [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)] + HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)] + HRESULT validateOnParse([in] VARIANT_BOOL pbool); + + [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)] + HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)] + HRESULT resolveExternals([in] VARIANT_BOOL pbool); + + [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)] + HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)] + HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)] + HRESULT onreadystatechange([in] VARIANT var1); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)] + HRESULT ondataavailable([in] VARIANT var1); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)] + HRESULT ontransformnode([in] VARIANT var1); +} + +[ +local, +object, +dual, +oleautomation, +uuid (373984c8-b845-449b-91e7-45ac83036ade) +] +interface IXMLDOMSchemaCollection : IDispatch +{ + [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)] + HRESULT add( + [in] BSTR uri, + [in] VARIANT var); + + [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)] + HRESULT get( + [in] BSTR uri, + [retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)] + HRESULT remove( + [in] BSTR uri); + + [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)] + HRESULT length( + [retval, out] LONG *length); + + [propget, id(DISPID_VALUE)] + HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len); + + [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)] + HRESULT addCollection( + [in] IXMLDOMSchemaCollection *otherCollection); + + [propget, id(DISPID_NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **ppUnk); +} + +[ + local, + object, + dual, + oleautomation, + uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a), +] +interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection +{ + [id(DISPID_SOM_VALIDATE)] + HRESULT validate(); + + [propput, id(DISPID_SOM_VALIDATEONLOAD)] + HRESULT validateOnLoad( + [in] VARIANT_BOOL validateOnLoad); + + [propget, id(DISPID_SOM_VALIDATEONLOAD)] + HRESULT validateOnLoad( + [out,retval] VARIANT_BOOL* validateOnLoad); + + [id(DISPID_SOM_GETSCHEMA)] + HRESULT getSchema( + [in] BSTR namespaceURI, + [out,retval] ISchema** schema); + + [id(DISPID_SOM_GETDECLARATION)] + HRESULT getDeclaration( + [in] IXMLDOMNode* node, + [out,retval]ISchemaItem** item); +}; + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF95-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMDocument2 : IXMLDOMDocument +{ + [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)] + HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection); + + [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)] + HRESULT schemas([retval, out] VARIANT *var1); + + [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)] + HRESULT schemas([in] VARIANT var1); + + [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)] + HRESULT validate( + [retval, out] IXMLDOMParseError **err); + + [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)] + HRESULT setProperty( + [in] BSTR p, + [in] VARIANT var); + + [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)] + HRESULT getProperty( + [in] BSTR p, + [retval, out] VARIANT *var); +} + +[ + local, + object, + dual, + uuid(2933bf96-7b36-11d2-b20e-00c04f983e60), + oleautomation, +] +interface IXMLDOMDocument3 : IXMLDOMDocument2 +{ + [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)] + HRESULT validateNode( + [in] IXMLDOMNode *node, + [out, retval] IXMLDOMParseError **error); + + [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)] + HRESULT importNode( + [in] IXMLDOMNode *node, + [in] VARIANT_BOOL deep, + [out, retval] IXMLDOMNode **clone); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF82-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNodeList : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_DOM_NODELIST_LENGTH)] + HRESULT length([retval, out] LONG *lLength); + + [id(DISPID_XMLDOM_NODELIST_NEXTNODE)] + HRESULT nextNode( + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NODELIST_RESET)] + HRESULT reset(); + + [propget, id(DISPID_NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **ppUnk); +} + +[ +local, +object, +dual, +oleautomation, +uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E) +] +interface IXMLDOMSelection : IXMLDOMNodeList +{ + [propget, id(DISPID_XMLDOM_SELECTION_EXPR)] + HRESULT expr([retval, out] BSTR *p); + + [propput, id(DISPID_XMLDOM_SELECTION_EXPR)] + HRESULT expr([in] BSTR p); + + [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)] + HRESULT context([retval, out] IXMLDOMNode **ppNode); + + [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)] + HRESULT context([in] IXMLDOMNode * pNode); + + [id(DISPID_XMLDOM_SELECTION_PEEKNODE)] + HRESULT peekNode( + [retval, out] IXMLDOMNode **ppNode); + + [id(DISPID_XMLDOM_SELECTION_MATCHES)] + HRESULT matches( + [in] IXMLDOMNode *pNode, + [retval, out] IXMLDOMNode **ppNode); + + [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)] + HRESULT removeNext( + [retval, out] IXMLDOMNode **ppNode); + + [id(DISPID_XMLDOM_SELECTION_REMOVEALL)] + HRESULT removeAll(); + + [id(DISPID_XMLDOM_SELECTION_CLONE)] + HRESULT clone( + [retval, out] IXMLDOMSelection **ppNode); + + [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)] + HRESULT getProperty( + [in] BSTR p, + [retval, out] VARIANT * var); + + [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)] + HRESULT setProperty( + [in] BSTR p, + [in] VARIANT var); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF83-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNamedNodeMap : IDispatch +{ + [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)] + HRESULT getNamedItem( + [in] BSTR p, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)] + HRESULT setNamedItem( + [in] IXMLDOMNode *newNode, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)] + HRESULT removeNamedItem( + [in] BSTR p, + [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_VALUE)] + HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_DOM_NODELIST_LENGTH)] + HRESULT length([retval, out] LONG *lLength); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)] + HRESULT getQualifiedItem( + [in] BSTR name, + [in] BSTR uri, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)] + HRESULT removeQualifiedItem( + [in] BSTR name, + [in] BSTR uri, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)] + HRESULT nextNode( + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)] + HRESULT reset(); + + [propget, id(DISPID_NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **ppUnk); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa413-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMDocumentFragment : IXMLDOMNode +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF84-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMCharacterData : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DATA_DATA)] + HRESULT data([retval, out] BSTR *p); + + [propput, id(DISPID_DOM_DATA_DATA)] + HRESULT data([in] BSTR data); + + [propget, id(DISPID_DOM_DATA_LENGTH)] + HRESULT length([retval, out] LONG *len); + + [id(DISPID_DOM_DATA_SUBSTRING)] + HRESULT substringData( + [in] LONG offset, + [in] LONG count, + [retval, out] BSTR *p); + + [id(DISPID_DOM_DATA_APPEND)] + HRESULT appendData( + [in] BSTR p); + + [id(DISPID_DOM_DATA_INSERT)] + HRESULT insertData( + [in] LONG offset, + [in] BSTR p); + + [id(DISPID_DOM_DATA_DELETE)] + HRESULT deleteData( + [in] LONG offset, + [in] LONG count); + + [id(DISPID_DOM_DATA_REPLACE)] + HRESULT replaceData( + [in] LONG offset, + [in] LONG count, + [in] BSTR p); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF85-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMAttribute : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)] + HRESULT name([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)] + HRESULT value([retval, out] VARIANT *var1); + + [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)] + HRESULT value([in] VARIANT var1); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF86-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMElement : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)] + HRESULT tagName([retval, out] BSTR *p); + + [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR p, + [retval, out] VARIANT *var); + + [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR p, + [in] VARIANT var); + + [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR p); + + [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)] + HRESULT getAttributeNode( + [in] BSTR p, + [retval, out] IXMLDOMAttribute **attributeNode); + + [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)] + HRESULT setAttributeNode( + [in] IXMLDOMAttribute *domAttribute, + [retval, out] IXMLDOMAttribute **attributeNode); + + [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)] + HRESULT removeAttributeNode( + [in] IXMLDOMAttribute *domAttribute, + [retval, out] IXMLDOMAttribute **attributeNode); + + [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( + [in] BSTR p, + [retval, out] IXMLDOMNodeList **resultList); + + [id(DISPID_DOM_ELEMENT_NORMALIZE)] + HRESULT normalize(); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF87-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMText : IXMLDOMCharacterData +{ + [id(DISPID_DOM_TEXT_SPLITTEXT)] + HRESULT splitText( + [in] LONG offset, + [retval, out] IXMLDOMText **txtNode); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF88-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMComment : IXMLDOMCharacterData +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF89-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMProcessingInstruction : IXMLDOMNode +{ + [propget, id(DISPID_DOM_PI_TARGET)] + HRESULT target([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_PI_DATA)] + HRESULT data([retval, out] BSTR *p); + + [propput, id(DISPID_DOM_PI_DATA)] + HRESULT data([in] BSTR p); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMCDATASection : IXMLDOMText +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMDocumentType : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)] + HRESULT name([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)] + HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap); + + [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)] + HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNotation : IXMLDOMNode +{ + [propget, id(DISPID_DOM_NOTATION_PUBLICID)] + HRESULT publicId([retval, out] VARIANT *id); + + [propget, id(DISPID_DOM_NOTATION_SYSTEMID)] + HRESULT systemId([retval, out] VARIANT *id); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMEntity : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ENTITY_PUBLICID)] + HRESULT publicId([retval, out] VARIANT *id1); + + [propget, id(DISPID_DOM_ENTITY_SYSTEMID)] + HRESULT systemId([retval, out] VARIANT *id1); + + [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)] + HRESULT notationName([retval, out] BSTR *p); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMEntityReference : IXMLDOMNode +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMImplementation : IDispatch +{ + [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)] + HRESULT hasFeature( + [in] BSTR feature, + [in] BSTR version, + [retval, out] VARIANT_BOOL *pbool); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa425-272f-11d2-836f-0000f87a7782) +] +interface IXTLRuntime : IXMLDOMNode +{ + [id(DISPID_XTLRUNTIME_UNIQUEID)] + HRESULT uniqueID( + [in]IXMLDOMNode *pNode, + [retval, out]LONG *pID); + + [id(DISPID_XTLRUNTIME_DEPTH)] + HRESULT depth( + [in] IXMLDOMNode *pNode, + [retval, out]LONG * pDepth); + + [id(DISPID_XTLRUNTIME_CHILDNUMBER)] + HRESULT childNumber( + [in]IXMLDOMNode *pNode, + [retval, out] LONG *pNumber); + + [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)] + HRESULT ancestorChildNumber( + [in]BSTR bstr, + [in]IXMLDOMNode *pNode, + [retval, out]LONG *pNumber); + + [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)] + HRESULT absoluteChildNumber( + [in]IXMLDOMNode *pNode, + [retval, out]LONG *pNumber); + + [id(DISPID_XTLRUNTIME_FORMATINDEX)] + HRESULT formatIndex( + [in] LONG lIndex, + [in] BSTR bstr, + [retval, out]BSTR *pbstr); + + [id(DISPID_XTLRUNTIME_FORMATNUMBER)] + HRESULT formatNumber( + [in] double dblNumber, + [in] BSTR bstr, + [retval, out]BSTR *pbstr); + + [id(DISPID_XTLRUNTIME_FORMATDATE)] + HRESULT formatDate( + [in] VARIANT var1, + [in] BSTR bstr, + [optional, in] VARIANT var2, + [retval, out]BSTR *pbstr); + + [id(DISPID_XTLRUNTIME_FORMATTIME)] + HRESULT formatTime( + [in] VARIANT var1, + [in] BSTR bstr, + [optional, in] VARIANT var2, + [retval, out]BSTR *pbstr); + +} + +[ +local, +object, +odl, +dual, +oleautomation, +uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39), +pointer_default(unique) +] +interface IDSOControl : IDispatch +{ + [propget,id(DISPID_XMLDSO_DOCUMENT)] + HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc); + + [propput,id(DISPID_XMLDSO_DOCUMENT)] + HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc); + + [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] + HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible); + + [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] + HRESULT JavaDSOCompatible([in] BOOL fJavaDSOCompatible); + + [propget, id(DISPID_READYSTATE)] + HRESULT readyState([out, retval] long *state); +} + +[ + uuid(3efaa427-272f-11d2-836f-0000f87a7782) +] +dispinterface XMLDOMDocumentEvents +{ + properties: + methods: + [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)] + HRESULT ondataavailable(); + + [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)] + HRESULT onreadystatechange(); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF92-7B36-11d2-B20E-00C04F983E60) +] +interface IXSLProcessor : IDispatch +{ + [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)] + HRESULT input([in] VARIANT var); + + [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)] + HRESULT input([retval, out] VARIANT *var); + + [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)] + HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate); + + [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)] + HRESULT setStartMode( + [in] BSTR p, + [in, defaultvalue("")] BSTR uri); + + [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)] + HRESULT startMode([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)] + HRESULT startModeURI([retval, out] BSTR *uri); + + [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)] + HRESULT output([in] VARIANT var); + + [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)] + HRESULT output([retval, out] VARIANT *var); + + [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)] + HRESULT transform( + [retval, out] VARIANT_BOOL *pbool); + + [id(DISPID_XMLDOM_PROCESSOR_RESET)] + HRESULT reset(); + + [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)] + HRESULT readyState([retval, out] LONG *pstate); + + [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)] + HRESULT addParameter( + [in] BSTR p, + [in] VARIANT var, + [in, defaultvalue("")] BSTR uri); + + [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)] + HRESULT addObject( + [in] IDispatch* obj, + [in] BSTR uri); + + [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)] + HRESULT stylesheet([retval, out] IXMLDOMNode **node); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF93-7B36-11d2-B20E-00C04F983E60) +] +interface IXSLTemplate : IDispatch +{ + [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)] + HRESULT stylesheet([in] IXMLDOMNode *node); + + [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)] + HRESULT stylesheet([retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)] + HRESULT createProcessor( + [retval, out] IXSLProcessor **ppProcessor); +} + +[ + object, + uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8), + odl, + dual, + oleautomation, + pointer_default(unique) +] +interface IXMLHTTPRequest : IDispatch +{ + [id(1)] + HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync, + [in,optional] VARIANT username, [in,optional] VARIANT password); + + [id(2)] + HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue); + + [id(3)] + HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value); + + [id(4)] + HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders); + + [id(5)] + HRESULT send([in, optional] VARIANT body); + + [id(6)] + HRESULT abort(); + + [propget, id(7)] + HRESULT status([out, retval] LONG *pStatus); + + [propget, id(8)] + HRESULT statusText([out, retval] BSTR *pStatus); + + [propget, id(9)] + HRESULT responseXML([out, retval] IDispatch **pBody); + + [propget, id(10)] + HRESULT responseText([out, retval] BSTR *pBody); + + [propget, id(11)] + HRESULT responseBody([out, retval] VARIANT *pBody); + + [propget, id(12)] + HRESULT responseStream([out, retval] VARIANT *pBody); + + [propget, id(13)] + HRESULT readyState([out, retval] LONG *pState); + + [propput, id(14)] + HRESULT onreadystatechange([in] IDispatch *pReadyStateSink); +}; + +[ +object, +dual, +oleautomation, +uuid(2e9196bf-13ba-4dd4-91ca-6c571f281495) +] +interface IServerXMLHTTPRequest : IXMLHTTPRequest +{ + typedef enum _SERVERXMLHTTP_OPTION + { + SXH_OPTION_URL = -1, + SXH_OPTION_URL_CODEPAGE, + SXH_OPTION_ESCAPE_PERCENT_IN_URL, + SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS, + SXH_OPTION_SELECT_CLIENT_SSL_CERT + } SERVERXMLHTTP_OPTION; + + [id(15)] + HRESULT setTimeouts( + [in] long resolveTimeout, + [in] long connectTimeout, + [in] long sendTimeout, + [in] long receiveTimeout); + + [id(16)] + HRESULT waitForResponse( + [in, optional] VARIANT timeoutInSeconds, + [out, retval] VARIANT_BOOL * isSuccessful); + + [id(17)] + HRESULT getOption( + [in] SERVERXMLHTTP_OPTION option, + [out, retval] VARIANT * value); + + [id(18)] + HRESULT setOption( + [in] SERVERXMLHTTP_OPTION option, + [in] VARIANT value); +} + +[ +object, +dual, +oleautomation, +uuid(2e01311b-c322-4b0a-bd77-b90cfdc8dce7) +] +interface IServerXMLHTTPRequest2 : IServerXMLHTTPRequest +{ + typedef enum _SXH_PROXY_SETTING + { + SXH_PROXY_SET_DEFAULT = 0, + SXH_PROXY_SET_PRECONFIG = 0, + SXH_PROXY_SET_DIRECT, + SXH_PROXY_SET_PROXY + } SXH_PROXY_SETTING; + + [id(19)] + HRESULT setProxy( + [in] SXH_PROXY_SETTING proxySetting, + [in, optional] VARIANT varProxyServer, + [in, optional] VARIANT varBypassList); + + [id(20)] + HRESULT setProxyCredentials( + [in] BSTR bstrUserName, + [in] BSTR bstrPassword); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa426-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseError : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT errorCode([retval, out] LONG *errCode); + + [propget, id(DISPID_DOM_ERROR_URL)] + HRESULT url([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_REASON)] + HRESULT reason([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_SRCTEXT)] + HRESULT srcText([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_LINE)] + HRESULT line([retval, out] LONG *lineNo); + + [propget, id(DISPID_DOM_ERROR_LINEPOS)] + HRESULT linepos([retval, out] LONG * linePos); + + [propget, id(DISPID_DOM_ERROR_FILEPOS)] + HRESULT filepos([retval, out] LONG * filePos); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa428-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseError2 : IXMLDOMParseError +{ + [propget, id(DISPID_DOM_ERROR2_ERRORXPATH)] + HRESULT errorXPath([retval, out] BSTR *xpathexpr); + + [propget, id(DISPID_DOM_ERROR2_ALLERRORS)] + HRESULT allErrors([retval, out] IXMLDOMParseErrorCollection **allErrors); + + [id(DISPID_DOM_ERROR2_ERRORPARAMETERS)] + HRESULT errorParameters( + [in] long index, + [retval, out] BSTR *param); + + [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT)] + HRESULT errorParametersCount([retval, out] long *count); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa429-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseErrorCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item( + [in] long index, + [retval, out] IXMLDOMParseError2 **error); + + [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH)] + HRESULT length( [retval, out] long *length); + + [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT)] + HRESULT next( [retval, out] IXMLDOMParseError2 **error); + + [id(DISPID_DOM_ERRORCOLLECTION_RESET)] + HRESULT reset(); + + [propget, hidden, restricted, id(DISPID_NEWENUM)] + HRESULT _newEnum( [retval, out] IUnknown **ppunk); +} + +[ + uuid(f5078f1b-c551-11d3-89b9-0000f81fe221) +] +coclass DOMDocument26 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("XML DOM Document 3.0"), + progid("Msxml2.DOMDocument.3.0"), + vi_progid("Msxml2.DOMDocument"), + threading(both), + uuid(f5078f32-c551-11d3-89b9-0000f81fe221) +] +coclass DOMDocument30 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(88d969c0-f192-11d4-a65f-0040963251e5) +] +coclass DOMDocument40 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(88d96a05-f192-11d4-a65f-0040963251e5) +] +coclass DOMDocument60 +{ + [default] interface IXMLDOMDocument3; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("XML DOM Document"), + progid("Msxml2.DOMDocument"), + vi_progid("Msxml2.DOMDocument"), + threading(both), + uuid(f6d90f11-9c73-11d3-b32e-00c04f990bb4) +] +coclass DOMDocument +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f5078f1c-c551-11d3-89b9-0000f81fe221) +] +coclass FreeThreadedDOMDocument26 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("Free threaded XML DOM Document 3.0"), + progid("Msxml2.FreeThreadedDOMDocument.3.0"), + vi_progid("Msxml2.FreeThreadedDOMDocument"), + threading(both), + uuid(f5078f33-c551-11d3-89b9-0000f81fe221) +] +coclass FreeThreadedDOMDocument30 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(88d969c1-f192-11d4-a65f-0040963251e5) +] +coclass FreeThreadedDOMDocument40 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(88d96a06-f192-11d4-a65f-0040963251e5), +] +coclass FreeThreadedDOMDocument60 +{ + [default] interface IXMLDOMDocument3; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("Free threaded XML DOM Document"), + progid("Msxml2.FreeThreadedDOMDocument"), + vi_progid("Msxml2.FreeThreadedDOMDocument"), + threading(both), + uuid(f6d90f12-9c73-11d3-b32e-00c04f990bb4) +] +coclass FreeThreadedDOMDocument +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f5078f1e-c551-11d3-89b9-0000f81fe221) +] +coclass XMLHTTP26 +{ + [default] interface IXMLHTTPRequest; +} + +[ + helpstring("XML HTTP 3.0"), + progid("Msxml2.XMLHTTP.3.0"), + vi_progid("Msxml2.XMLHTTP"), + threading(apartment), + uuid(f5078f35-c551-11d3-89b9-0000f81fe221) +] +coclass XMLHTTP30 +{ + [default] interface IXMLHTTPRequest; +} + +[ + uuid(88d969c5-f192-11d4-a65f-0040963251e5) +] +coclass XMLHTTP40 +{ + [default] interface IXMLHTTPRequest; +} + +[ + uuid(88d96a0a-f192-11d4-a65f-0040963251e5) +] +coclass XMLHTTP60 +{ + [default] interface IXMLHTTPRequest; +} + +[ + helpstring("XML HTTP"), + progid("Msxml2.XMLHTTP"), + vi_progid("Msxml2.XMLHTTP"), + threading(apartment), + uuid(f6d90f16-9c73-11d3-b32e-00c04f990bb4) +] +coclass XMLHTTP +{ + [default] interface IXMLHTTPRequest; +} + +[ + helpstring("Server XML HTTP 3.0"), + progid("Msxml2.ServerXMLHTTP.3.0"), + vi_progid("Msxml2.ServerXMLHTTP"), + threading(apartment), + uuid(afb40ffd-b609-40a3-9828-f88bbe11e4e3) +] +coclass ServerXMLHTTP30 +{ + [default] interface IServerXMLHTTPRequest; +} + +[ + uuid(88d969c6-f192-11d4-a65f-0040963251e5) +] +coclass ServerXMLHTTP40 +{ + [default] interface IServerXMLHTTPRequest2; +} + +[ + uuid(88d96a0b-f192-11d4-a65f-0040963251e5) +] +coclass ServerXMLHTTP60 +{ + [default] interface IServerXMLHTTPRequest2; +} + +[ + helpstring("Server XML HTTP"), + progid("Msxml2.ServerXMLHTTP"), + vi_progid("Msxml2.ServerXMLHTTP"), + threading(apartment), + uuid(afba6b42-5692-48ea-8141-dc517dcf0ef1) +] +coclass ServerXMLHTTP +{ + [default] interface IServerXMLHTTPRequest; +} + +[ + uuid(f5078f1d-c551-11d3-89b9-0000f81fe221) +] +coclass XMLSchemaCache26 +{ + [default] interface IXMLDOMSchemaCollection; +} + +[ + helpstring("XML Schema Cache 3.0"), + progid("Msxml2.XMLSchemaCache.3.0"), + vi_progid("Msxml2.XMLSchemaCache"), + threading(both), + uuid(f5078f34-c551-11d3-89b9-0000f81fe221) +] +coclass XMLSchemaCache30 +{ + [default] interface IXMLDOMSchemaCollection; +} + +[ + uuid(88d969c2-f192-11d4-a65f-0040963251e5) +] +coclass XMLSchemaCache40 +{ + [default] interface IXMLDOMSchemaCollection2; +} + +[ + uuid(88d96a07-f192-11d4-a65f-0040963251e5) +] +coclass XMLSchemaCache60 +{ + [default] interface IXMLDOMSchemaCollection2; +} + +[ + helpstring("XML Schema Cache"), + progid("Msxml2.XMLSchemaCache"), + vi_progid("Msxml2.XMLSchemaCache"), + threading(both), + uuid(373984c9-b845-449b-91e7-45ac83036ade) +] +coclass XMLSchemaCache +{ + [default] interface IXMLDOMSchemaCollection; +} + +[ + uuid(f5078f21-c551-11d3-89b9-0000f81fe221) +] +coclass XSLTemplate26 +{ + [default] interface IXSLTemplate; +} + +[ + helpstring("XSL Template 3.0"), + progid("Msxml2.XSLTemplate.3.0"), + vi_progid("Msxml2.XSLTemplate"), + threading(both), + uuid(f5078f36-c551-11d3-89b9-0000f81fe221) +] +coclass XSLTemplate30 +{ + [default] interface IXSLTemplate; +} + +[ + uuid(88d969c3-f192-11d4-a65f-0040963251e5) +] +coclass XSLTemplate40 +{ + [default] interface IXSLTemplate; +} + +[ + uuid(88d96a08-f192-11d4-a65f-0040963251e5) +] +coclass XSLTemplate60 +{ + [default] interface IXSLTemplate; +} + +[ + helpstring("XSL Template"), + progid("Msxml2.XSLTemplate"), + vi_progid("Msxml2.XSLTemplate"), + threading(both), + uuid(2933BF94-7B36-11d2-B20E-00C04F983E60) +] +coclass XSLTemplate +{ + [default] interface IXSLTemplate; +} + +/* + * Sax Interfaces + */ +[ + object, + local, + uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9) +] +interface ISAXAttributes : IUnknown +{ + HRESULT getLength( + [out, retval] int *length); + + HRESULT getURI( + [in] int nIndex, + [out] const WCHAR **pUrl, + [out] int *pUriSize); + + HRESULT getLocalName( + [in] int nIndex, + [out] const WCHAR **pLocalName, + [out] int *pLocalNameLength); + + HRESULT getQName( + [in] int nIndex, + [out] const WCHAR **pQName, + [out] int *pQNameLength); + + HRESULT getName( + [in] int nIndex, + [out] const WCHAR **pUri, + [out] int * pUriLength, + [out] const WCHAR ** pLocalName, + [out] int * pLocalNameSize, + [out] const WCHAR ** pQName, + [out] int * pQNameLength); + + HRESULT getIndexFromName( + [in] const WCHAR * pUri, + [in] int cUriLength, + [in] const WCHAR * pLocalName, + [in] int cocalNameLength, + [out, retval] int * index); + + HRESULT getIndexFromQName( + [in] const WCHAR * pQName, + [in] int nQNameLength, + [out, retval] int * index); + + HRESULT getType( + [in] int nIndex, + [out] const WCHAR ** pType, + [out] int * pTypeLength); + + HRESULT getTypeFromName( + [in] const WCHAR * pUri, + [in] int nUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [out] const WCHAR ** pType, + [out] int * nType); + + HRESULT getTypeFromQName( + [in] const WCHAR * pQName, + [in] int nQName, + [out] const WCHAR ** pType, + [out] int * nType); + + HRESULT getValue( + [in] int nIndex, + [out] const WCHAR ** pValue, + [out] int * nValue); + + HRESULT getValueFromName( + [in] const WCHAR * pUri, + [in] int nUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [out] const WCHAR ** pValue, + [out] int * nValue); + + HRESULT getValueFromQName( + [in] const WCHAR * pQName, + [in] int nQName, + [out] const WCHAR ** pValue, + [out] int * nValue); +}; + +[ + object, + local, + uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44) +] +interface ISAXContentHandler : IUnknown +{ + HRESULT putDocumentLocator( + [in] ISAXLocator * pLocator); + + HRESULT startDocument(); + + HRESULT endDocument(); + + HRESULT startPrefixMapping( + [in] const WCHAR * pPrefix, + [in] int nPrefix, + [in] const WCHAR * pUri, + [in] int nUri); + + HRESULT endPrefixMapping( + [in] const WCHAR * pPrefix, + [in] int nPrefix); + + HRESULT startElement( + [in] const WCHAR * pNamespaceUri, + [in] int nNamespaceUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [in] const WCHAR * pQName, + [in] int nQName, + [in] ISAXAttributes * pAttr); + + HRESULT endElement( + [in] const WCHAR * pNamespaceUri, + [in] int nNamespaceUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [in] const WCHAR * pQName, + [in] int nQName); + + HRESULT characters( + [in] const WCHAR * pChars, + [in] int nChars); + + HRESULT ignorableWhitespace( + [in] const WCHAR * pChars, + [in] int nChars); + + HRESULT processingInstruction( + [in] const WCHAR * pTarget, + [in] int nTarget, + [in] const WCHAR * pData, + [in] int nData); + + HRESULT skippedEntity( + [in] const WCHAR * pName, + [in] int nName); +}; + +[ + object, + local, + uuid(862629ac-771a-47b2-8337-4e6843c1be90) +] +interface ISAXDeclHandler : IUnknown +{ + HRESULT elementDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pModel, + [in] int nModel); + + HRESULT attributeDecl( + [in] const WCHAR * pElementName, + [in] int nElementName, + [in] const WCHAR * pAttributeName, + [in] int nAttributeName, + [in] const WCHAR * pType, + [in] int nType, + [in] const WCHAR * pValueDefault, + [in] int nValueDefault, + [in] const WCHAR * pValue, + [in] int nValue); + + HRESULT internalEntityDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pValue, + [in] int nValue); + + HRESULT externalEntityDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId); +}; + +[ + object, + local, + uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed) +] +interface ISAXDTDHandler : IUnknown +{ + HRESULT notationDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId); + + HRESULT unparsedEntityDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId, + [in] const WCHAR * pNotationName, + [in] int nNotationName); +}; + +[ + object, + local, + uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07), +] +interface ISAXEntityResolver : IUnknown +{ + HRESULT resolveEntity( + [in] const WCHAR * pPublicId, + [in] const WCHAR * pSystemId, + [out, retval] VARIANT * ret); +}; + +[ + object, + local, + uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0) +] +interface ISAXErrorHandler : IUnknown +{ + HRESULT error( + [in] ISAXLocator * pLocator, + [in] const WCHAR * pErrorMessage, + [in] HRESULT hrErrorCode); + + HRESULT fatalError( + [in] ISAXLocator * pLocator, + [in] const WCHAR * pErrorMessage, + [in] HRESULT hrErrorCode); + + HRESULT ignorableWarning( + [in] ISAXLocator * pLocator, + [in] const WCHAR * pErrorMessage, + [in] HRESULT hrErrorCode); +}; + +[ + object, + local, + uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6) +] +interface ISAXLexicalHandler : IUnknown +{ + HRESULT startDTD( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId); + + HRESULT endDTD(); + + HRESULT startEntity( + [in] const WCHAR * pName, + [in] int nName); + + HRESULT endEntity( + [in] const WCHAR * pName, + [in] int nName); + + HRESULT startCDATA(); + + HRESULT endCDATA(); + + HRESULT comment( + [in] const WCHAR * pChars, + [in] int nChars); +}; + +[ + object, + local, + uuid(9b7e472a-0de4-4640-bff3-84d38a051c31) +] +interface ISAXLocator : IUnknown +{ + HRESULT getColumnNumber( + [out, retval] int * nColumn); + + HRESULT getLineNumber( + [out, retval] int * nLine); + + HRESULT getPublicId( + [out, retval] const WCHAR ** publicId); + + HRESULT getSystemId( + [out, retval] const WCHAR ** systemId); +}; + +[ + local, + object, + uuid(70409222-ca09-4475-acb8-40312fe8d145) +] +interface ISAXXMLFilter : ISAXXMLReader +{ + HRESULT getParent( + [out, retval] ISAXXMLReader ** pReader); + HRESULT putParent( + [in] ISAXXMLReader * reader); +}; + +[ +local, +object, +uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802) +] +interface ISAXXMLReader : IUnknown +{ + HRESULT getFeature( + [in] const WCHAR * pFeature, + [out, retval] VARIANT_BOOL * pValue); + HRESULT putFeature( + [in] const WCHAR * pFeature, + [in] VARIANT_BOOL vfValue); + + HRESULT getProperty( + [in] const WCHAR * pProp, + [out, retval] VARIANT * pValue); + HRESULT putProperty( + [in] const WCHAR * pProp, + [in] VARIANT value); + + HRESULT getEntityResolver( + [out, retval] ISAXEntityResolver ** ppEntityResolver); + HRESULT putEntityResolver( + [in] ISAXEntityResolver * pEntityResolver); + + HRESULT getContentHandler( + [out, retval] ISAXContentHandler ** pContentHandler); + HRESULT putContentHandler( + [in] ISAXContentHandler * contentHandler); + + HRESULT getDTDHandler( + [out, retval] ISAXDTDHandler ** pDTDHandler); + HRESULT putDTDHandler( + [in] ISAXDTDHandler * pDTDHandler); + + HRESULT getErrorHandler( + [out, retval] ISAXErrorHandler ** pErrorHandler); + HRESULT putErrorHandler( + [in] ISAXErrorHandler * errorHandler); + + HRESULT getBaseURL( + [out, retval] const WCHAR ** pBaseUrl); + HRESULT putBaseURL( + [in] const WCHAR * pBaseUrl); + + HRESULT getSecureBaseURL( + [out, retval] const WCHAR ** pSecureBaseUrl); + HRESULT putSecureBaseURL( + [in] const WCHAR * secureBaseUrl); + + HRESULT parse( + [in] VARIANT varInput); + HRESULT parseURL( + [in] const WCHAR * url); +} + +[ + object, + dual, + oleautomation, + uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0) +] +interface IVBSAXAttributes : IDispatch +{ + [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)] + HRESULT length( [out, retval] int * nLength); + + [id(DISPID_SAX_ATTRIBUTES_GETURI)] + HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri); + + [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)] + HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName); + + [id(DISPID_SAX_ATTRIBUTES_GETQNAME)] + HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName); + + [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)] + HRESULT getIndexFromName( [in] BSTR uri, + [in] BSTR localName, [out, retval] int * nIndex); + + [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)] + HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex); + + [id(DISPID_SAX_ATTRIBUTES_GETTYPE)] + HRESULT getType( [in] int nIndex, [out, retval] BSTR * type); + + [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)] + HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName, + [out, retval] BSTR * type); + + [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)] + HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type); + + [id(DISPID_SAX_ATTRIBUTES_GETVALUE)] + HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value); + + [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)] + HRESULT getValueFromName( [in] BSTR uri, + [in] BSTR localName, + [out, retval] BSTR * value); + + [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)] + HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value); +}; + +[ + object, + dual, + oleautomation, + uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa) +] +interface IVBSAXContentHandler : IDispatch +{ + [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)] + HRESULT documentLocator( [in] IVBSAXLocator * oLocator); + + [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)] + HRESULT startDocument(); + + [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)] + HRESULT endDocument(); + + [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)] + HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri); + + [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)] + HRESULT endPrefixMapping( [in, out] BSTR * prefix); + + [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)] + HRESULT startElement( [in, out] BSTR * namespaceURI, + [in, out] BSTR * localName, + [in, out] BSTR * QName, + [in] IVBSAXAttributes * oAttributes); + + [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)] + HRESULT endElement( [in, out] BSTR * namespaceURI, + [in, out] BSTR * localName, [in, out] BSTR * strQName); + + [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)] + HRESULT characters( [in, out] BSTR * chars); + + [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)] + HRESULT ignorableWhitespace( [in, out] BSTR * chars); + + [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)] + HRESULT processingInstruction( [in, out] BSTR * target, + [in, out] BSTR * data); + + [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)] + HRESULT skippedEntity( [in, out] BSTR * name); +}; + +[ + object, + dual, + oleautomation, + uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b) +] +interface IVBSAXDeclHandler : IDispatch +{ + [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)] + HRESULT elementDecl( + [in, out] BSTR * name, + [in, out] BSTR * model); + + [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)] + HRESULT attributeDecl( + [in, out] BSTR * elementName, + [in, out] BSTR * attributeName, + [in, out] BSTR * type, + [in, out] BSTR * valueDefault, + [in, out] BSTR * value); + + [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)] + HRESULT internalEntityDecl( + [in, out] BSTR * name, + [in, out] BSTR * value); + + [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)] + HRESULT externalEntityDecl( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId); +}; + +[ + object, + dual, + oleautomation, + uuid(24fb3297-302d-4620-ba39-3a732d850558) +] +interface IVBSAXDTDHandler : IDispatch +{ + [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)] + HRESULT notationDecl( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId); + + [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)] + HRESULT unparsedEntityDecl( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId, + [in, out] BSTR * notationName); +}; + +[ + object, + dual, + oleautomation, + uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc) +] +interface IVBSAXEntityResolver : IDispatch +{ + [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)] + HRESULT resolveEntity( + [in, out] BSTR * publicId, + [in, out] BSTR * systemId, + [out, retval] VARIANT * ret); +}; + +[ + object, + dual, + oleautomation, + uuid(d963d3fe-173c-4862-9095-b92f66995f52) +] +interface IVBSAXErrorHandler : IDispatch +{ + [id(DISPID_SAX_ERRORHANDLER_ERROR)] + HRESULT error( + [in] IVBSAXLocator * locator, + [in, out] BSTR * errorMessage, + [in] LONG errorCode); + + [id(DISPID_SAX_ERRORHANDLER_FATALERROR)] + HRESULT fatalError( + [in] IVBSAXLocator * locator, + [in, out] BSTR * errorMessage, + [in] LONG errorCode); + + [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)] + HRESULT ignorableWarning( + [in] IVBSAXLocator * locator, + [in, out] BSTR * errorMessage, + [in] LONG errorCode); +}; + +[ + object, + dual, + oleautomation, + uuid(032aac35-8c0e-4d9d-979f-e3b702935576) +] +interface IVBSAXLexicalHandler : IDispatch +{ + [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)] + HRESULT startDTD( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId); + [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)] + HRESULT endDTD(); + + [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)] + HRESULT startEntity([in, out] BSTR * name); + [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)] + HRESULT endEntity([in, out] BSTR * name); + + [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)] + HRESULT startCDATA(); + [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)] + HRESULT endCDATA(); + + [id(DISPID_SAX_LEXICALHANDLER_COMMENT)] + HRESULT comment( [in, out] BSTR * chars); +}; + +[ + object, + dual, + oleautomation, + uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288) +] +interface IVBSAXLocator : IDispatch +{ + [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)] + HRESULT columnNumber( [out, retval] int * column); + + [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)] + HRESULT lineNumber( [out, retval] int * line); + + [propget, id(DISPID_SAX_LOCATOR_PUBLICID)] + HRESULT publicId( [out, retval] BSTR * publicId); + + [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)] + HRESULT systemId( [out, retval] BSTR * systemId); +}; + +[ + object, + dual, + oleautomation, + uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04) +] +interface IVBSAXXMLFilter : IDispatch +{ + [propget, id(DISPID_SAX_XMLFILTER_PARENT)] + HRESULT parent( [out, retval] IVBSAXXMLReader ** reader); + [propputref, id(DISPID_SAX_XMLFILTER_PARENT)] + HRESULT parent( [in] IVBSAXXMLReader * reader); + +}; + +[ + dual, + oleautomation, + object, + uuid (8c033caa-6cd6-4f73-b728-4531af74945f) +] +interface IVBSAXXMLReader : IDispatch +{ + [id(DISPID_SAX_XMLREADER_GETFEATURE)] + HRESULT getFeature( [in] BSTR pFeature, + [out, retval] VARIANT_BOOL * pValue); + [id(DISPID_SAX_XMLREADER_PUTFEATURE)] + HRESULT putFeature( [in] BSTR pFeature, + [in] VARIANT_BOOL vfValue); + + [id(DISPID_SAX_XMLREADER_GETPROPERTY)] + HRESULT getProperty( [in] BSTR pProp, + [out, retval] VARIANT * pValue); + [id(DISPID_SAX_XMLREADER_PUTPROPERTY)] + HRESULT putProperty( [in] BSTR pProp, [in] VARIANT value); + + [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)] + HRESULT entityResolver( + [out, retval] IVBSAXEntityResolver ** ppEntityResolver); + [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)] + HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver); + + [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)] + HRESULT contentHandler( + [out, retval] IVBSAXContentHandler ** pContentHandler); + [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)] + HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler); + + [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)] + HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler); + [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)] + HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler); + + [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)] + HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler); + [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)] + HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler); + + [propget, id(DISPID_SAX_XMLREADER_BASEURL)] + HRESULT baseURL([out, retval] BSTR *pBaseUrl); + [propput, id(DISPID_SAX_XMLREADER_BASEURL)] + HRESULT baseURL([in] BSTR pBaseUrl); + + [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)] + HRESULT secureBaseURL([out, retval] BSTR *pSecureBaseUrl); + [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)] + HRESULT secureBaseURL([in] BSTR secureBaseUrl); + + [id(DISPID_SAX_XMLREADER_PARSE)] + HRESULT parse( [in] VARIANT varInput); + [id(DISPID_SAX_XMLREADER_PARSEURL)] + HRESULT parseURL([in] BSTR url); +} + +[ + object, + dual, + oleautomation, + uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262) +] +interface IMXAttributes : IDispatch +{ + [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)] + HRESULT addAttribute( + [in] BSTR uri, + [in] BSTR localName, + [in] BSTR QName, + [in] BSTR type, + [in] BSTR value); + + [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)] + HRESULT addAttributeFromIndex( [in] VARIANT atts, + [in] int index); + + [id(DISPID_MX_ATTRIBUTES_CLEAR)] + HRESULT clear(); + + [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)] + HRESULT removeAttribute( [in] int index); + + [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)] + HRESULT setAttribute( + [in] int index, + [in] BSTR uri, + [in] BSTR localName, + [in] BSTR QName, + [in] BSTR type, + [in] BSTR value); + + [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)] + HRESULT setAttributes( [in] VARIANT atts); + + [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)] + HRESULT setLocalName( [in] int index, + [in] BSTR localName); + + [id(DISPID_MX_ATTRIBUTES_SETQNAME)] + HRESULT setQName( + [in] int index, + [in] BSTR QName); + + [id(DISPID_MX_ATTRIBUTES_SETTYPE)] + HRESULT setType( [in] int index, [in] BSTR type); + + [id(DISPID_MX_ATTRIBUTES_SETURI)] + HRESULT setURI( [in] int index, [in] BSTR uri); + + [id(DISPID_MX_ATTRIBUTES_SETVALUE)] + HRESULT setValue([in] int index, [in] BSTR value); +}; + +[ + local, + object, + dual, + oleautomation, + uuid(fa4bb38c-faf9-4cca-9302-d1dd0fe520db) +] +interface IMXSchemaDeclHandler : IDispatch +{ + [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL)] + HRESULT schemaElementDecl( [in] ISchemaElement *oSchemaElement ); +} + +[ + object, + dual, + oleautomation, + uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30) +] +interface IMXReaderControl : IDispatch +{ + [id(DISPID_MX_READER_CONTROL_ABORT)] + HRESULT abort(); + + [id(DISPID_MX_READER_CONTROL_RESUME)] + HRESULT resume(); + + [id(DISPID_MX_READER_CONTROL_SUSPEND)] + HRESULT suspend(); +}; + +[ + object, + dual, + oleautomation, + uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d) +] +interface IMXWriter : IDispatch +{ + [propput, id(DISPID_MX_WRITER_OUTPUT)] + HRESULT output ( [in] VARIANT Destination); + [propget, id(DISPID_MX_WRITER_OUTPUT)] + HRESULT output ( [out, retval] VARIANT * Destination); + + [propput, id(DISPID_MX_WRITER_ENCODING)] + HRESULT encoding ([in] BSTR encoding); + [propget, id(DISPID_MX_WRITER_ENCODING)] + HRESULT encoding ([out, retval] BSTR * encoding); + + [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)] + HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark); + [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)] + HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark); + + [propput, id(DISPID_MX_WRITER_INDENT)] + HRESULT indent ([in] VARIANT_BOOL indentMode); + [propget, id(DISPID_MX_WRITER_INDENT)] + HRESULT indent ([out, retval] VARIANT_BOOL * indentMode); + + [propput, id(DISPID_MX_WRITER_STANDALONE)] + HRESULT standalone ([in] VARIANT_BOOL value); + [propget, id(DISPID_MX_WRITER_STANDALONE)] + HRESULT standalone ([out, retval] VARIANT_BOOL * value); + + [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)] + HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value); + [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)] + HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value); + + [propput, id(DISPID_MX_WRITER_VERSION)] + HRESULT version ([in] BSTR version); + [propget, id(DISPID_MX_WRITER_VERSION)] + HRESULT version ([out, retval] BSTR * version); + + [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)] + HRESULT disableOutputEscaping([in] VARIANT_BOOL value); + [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)] + HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value); + + [id(DISPID_MX_WRITER_FLUSH)] + HRESULT flush(); +}; + +[ + local, + object, + dual, + oleautomation, + uuid(c90352f4-643c-4fbc-bb23-e996eb2d51fd) +] +interface IMXNamespacePrefixes : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item( + [in] long index, + [out, retval] BSTR *prefix); + + [propget, id(DISPID_MX_NSMGR_LENGTH)] + HRESULT length( [out,retval] long *length ); + + [propget, restricted, hidden, id(DISPID_NEWENUM)] + HRESULT _newEnum( [out, retval] IUnknown **ppUnk ); +} + +[ + local, + object, + hidden, + uuid(c90352f6-643c-4fbc-bb23-e996eb2d51fd) +] +interface IMXNamespaceManager : IUnknown +{ + HRESULT putAllowOverride([in] VARIANT_BOOL fOverride); + + HRESULT getAllowOverride([out, retval] VARIANT_BOOL *fOverride); + + HRESULT reset(); + + HRESULT pushContext(); + + HRESULT pushNodeContext( + [in] IXMLDOMNode *contextNode, + [in] VARIANT_BOOL fDeep); + + HRESULT popContext(); + + HRESULT declarePrefix( + [in] const WCHAR *prefix, + [in] const WCHAR *namespaceURI); + + HRESULT getDeclaredPrefix( + [in] long nIndex, + [in, out] WCHAR *pwchPrefix, + [in, out] int *pcchPrefix); + + HRESULT getPrefix( + [in] const WCHAR *pwszNamespaceURI, + [in] long nIndex, + [in, out] WCHAR *pwchPrefix, + [in, out] int *pcchPrefix); + + HRESULT getURI( + [in] const WCHAR *pwchPrefix, + [in] IXMLDOMNode* pContextNode, + [in, out] WCHAR *pwchUri, + [in, out] int *pcchUri); +} + +[ + local, + object, + dual, + oleautomation, + uuid(c90352f5-643c-4fbc-bb23-e996eb2d51fd) +] +interface IVBMXNamespaceManager : IDispatch +{ + [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)] + HRESULT allowOverride([in] VARIANT_BOOL fOverride); + + [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)] + HRESULT allowOverride([out,retval] VARIANT_BOOL* fOverride); + + [id(DISPID_MX_NSMGR_RESET)] + HRESULT reset(); + + [id(DISPID_MX_NSMGR_PUSHCONTEXT)] + HRESULT pushContext(); + + [id(DISPID_MX_NSMGR_PUSHNODECONTEXT)] + HRESULT pushNodeContext( + [in] IXMLDOMNode* contextNode, + [in, defaultvalue(-1)] VARIANT_BOOL fDeep); + + [id(DISPID_MX_NSMGR_POPCONTEXT)] + HRESULT popContext(); + + [id(DISPID_MX_NSMGR_DECLAREPREFIX)] + HRESULT declarePrefix( + [in] BSTR prefix, + [in] BSTR namespaceURI); + + [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES)] + HRESULT getDeclaredPrefixes([out, retval] IMXNamespacePrefixes** prefixes); + + [id(DISPID_MX_NSMGR_GETPREFIXES)] + HRESULT getPrefixes( + [in] BSTR namespaceURI, + [out, retval] IMXNamespacePrefixes** prefixes); + + [id(DISPID_MX_NSMGR_GETURI)] + HRESULT getURI( + [in] BSTR prefix, + [out, retval] VARIANT* uri); + + [id(DISPID_MX_NSMGR_GETURIFROMNODE)] + HRESULT getURIFromNode( + [in] BSTR strPrefix, + [in] IXMLDOMNode* contextNode, + [out, retval] VARIANT* uri); +} + +[ + local, + object, + dual, + oleautomation, + uuid(c90352f7-643c-4fbc-bb23-e996eb2d51fd) +] +interface IMXXMLFilter : IDispatch +{ + [id(DISPID_MXXML_FILTER_GETFEATURE)] + HRESULT getFeature( + [in] BSTR strName, + [out, retval] VARIANT_BOOL * fValue); + + [id(DISPID_MXXML_FILTER_PUTFEATURE)] + HRESULT putFeature( + [in] BSTR strName, + [in] VARIANT_BOOL fValue); + + [id(DISPID_MXXML_FILTER_GETPROPERTY)] + HRESULT getProperty( + [in] BSTR strName, + [out, retval] VARIANT * varValue); + + [id(DISPID_MXXML_FILTER_PUTPROPERTY)] + HRESULT putProperty( + [in] BSTR strName, + [in] VARIANT varValue); + + [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propget] + HRESULT entityResolver( [out, retval] IUnknown **oResolver ); + + [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propputref] + HRESULT entityResolver( [in] IUnknown *oResolver ); + + [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propget] + HRESULT contentHandler( [out, retval] IUnknown **oHandler ); + + [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propputref] + HRESULT contentHandler( [in] IUnknown *oHandler ); + + [id(DISPID_MXXML_FILTER_DTDHANDLER), propget] + HRESULT dtdHandler( [out, retval] IUnknown **oHandler ); + + [id(DISPID_MXXML_FILTER_DTDHANDLER), propputref] + HRESULT dtdHandler( [in] IUnknown *oHandler ); + + [id(DISPID_MXXML_FILTER_ERRORHANDLER), propget] + HRESULT errorHandler( [out, retval] IUnknown **oHandler ); + + [id(DISPID_MXXML_FILTER_ERRORHANDLER), propputref] + HRESULT errorHandler( [in] IUnknown *oHandler ); +} + +[ + local, + object, + uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaStringCollection : IDispatch +{ + [id(DISPID_VALUE), propget] + HRESULT item( + [in] long index, + [out,retval] BSTR* bstr); + + [id(DISPID_SOM_LENGTH), propget] + HRESULT length( + [out,retval] long* length); + + [id(DISPID_NEWENUM), hidden, restricted, propget] + HRESULT _newEnum( + [out,retval] IUnknown** ppunk); +}; + +[ + local, + object, + uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaItemCollection : IDispatch +{ + [id(DISPID_VALUE), propget] + HRESULT item( + [in] long index, + [out,retval]ISchemaItem** item); + + [id(DISPID_SOM_ITEMBYNAME)] + HRESULT itemByName( + [in] BSTR name, + [out,retval] ISchemaItem** item); + + [id(DISPID_SOM_ITEMBYQNAME)] + HRESULT itemByQName( + [in] BSTR name, + [in] BSTR namespaceURI, + [out,retval] ISchemaItem** item); + + [id(DISPID_SOM_LENGTH), propget] + HRESULT length( + [out,retval]long* length); + + [id(DISPID_NEWENUM), hidden, restricted, propget] + HRESULT _newEnum( + [out,retval]IUnknown** ppunk); +}; + +[ + local, + object, + uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaItem : IDispatch +{ + [id(DISPID_SOM_NAME), propget] + HRESULT name( + [out,retval] BSTR* name); + + [id(DISPID_SOM_NAMESPACEURI), propget] + HRESULT namespaceURI( + [out,retval] BSTR* namespaceURI); + + [id(DISPID_SOM_SCHEMA), propget] + HRESULT schema( + [out,retval] ISchema** schema); + + [id(DISPID_SOM_ID), propget] + HRESULT id( + [out,retval] BSTR* id); + + [id(DISPID_SOM_ITEMTYPE), propget] + HRESULT itemType( + [out,retval] SOMITEMTYPE* itemType); + + [id(DISPID_SOM_UNHANDLEDATTRS), propget] + HRESULT unhandledAttributes( + [out,retval] IVBSAXAttributes** attributes); + + [id(DISPID_SOM_WRITEANNOTATION)] + HRESULT writeAnnotation( + [in] IUnknown* annotationSink, + [out,retval] VARIANT_BOOL* isWritten); +}; + +[ + local, + object, + uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchema : ISchemaItem +{ + [id(DISPID_SOM_TARGETNAMESPACE), propget] + HRESULT targetNamespace( + [out,retval] BSTR* targetNamespace); + + [id(DISPID_SOM_VERSION), propget] + HRESULT version( + [out,retval] BSTR* version); + + [id(DISPID_SOM_TYPES), propget] + HRESULT types( + [out,retval] ISchemaItemCollection** types); + + [id(DISPID_SOM_ELEMENTS), propget] + HRESULT elements( + [out,retval] ISchemaItemCollection** elements); + + [id(DISPID_SOM_ATTRIBUTES), propget] + HRESULT attributes( + [out,retval] ISchemaItemCollection** attributes); + + [id(DISPID_SOM_ATTRIBUTEGROUPS), propget] + HRESULT attributeGroups( + [out,retval] ISchemaItemCollection** attributeGroups); + + [id(DISPID_SOM_MODELGROUPS), propget] + HRESULT modelGroups( + [out,retval] ISchemaItemCollection** modelGroups); + + [id(DISPID_SOM_NOTATIONS), propget] + HRESULT notations( + [out,retval] ISchemaItemCollection** notations); + + [id(DISPID_SOM_SCHEMALOCATIONS), propget] + HRESULT schemaLocations( + [out,retval] ISchemaStringCollection** schemaLocations); +}; + +[ + local, + object, + uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaParticle : ISchemaItem +{ + [id(DISPID_SOM_MINOCCURS), propget] + HRESULT minOccurs( + [out,retval] VARIANT* minOccurs); + + [id(DISPID_SOM_MAXOCCURS), propget] + HRESULT maxOccurs( + [out,retval] VARIANT* maxOccurs); +}; + +[ + object, + uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaAttribute : ISchemaItem +{ + [id(DISPID_SOM_TYPE), propget] + HRESULT type( + [out,retval] ISchemaType** type); + + [id(DISPID_SOM_SCOPE), propget] + HRESULT scope( + [out,retval] ISchemaComplexType** scope); + + [id(DISPID_SOM_DEFAULTVALUE), propget] + HRESULT defaultValue( + [out,retval]BSTR* defaultValue); + + [id(DISPID_SOM_FIXEDVALUE), propget] + HRESULT fixedValue( + [out,retval] BSTR* fixedValue); + + [id(DISPID_SOM_USE), propget] + HRESULT use( + [out,retval] SCHEMAUSE* use); + + [id(DISPID_SOM_ISREFERENCE), propget] + HRESULT isReference( + [out,retval] VARIANT_BOOL* reference); +}; + +[ + local, + object, + uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaElement : ISchemaParticle +{ + [id(DISPID_SOM_TYPE), propget] + HRESULT type( + [out,retval] ISchemaType** type); + + [id(DISPID_SOM_SCOPE), propget] + HRESULT scope( + [out,retval] ISchemaComplexType** scope); + + [id(DISPID_SOM_DEFAULTVALUE), propget] + HRESULT defaultValue( + [out,retval] BSTR* defaultValue); + + [id(DISPID_SOM_FIXEDVALUE), propget] + HRESULT fixedValue( + [out,retval] BSTR* fixedValue); + + [id(DISPID_SOM_ISNILLABLE), propget] + HRESULT isNillable( + [out,retval] VARIANT_BOOL* nillable); + + [id(DISPID_SOM_IDCONSTRAINTS), propget] + HRESULT identityConstraints( + [out,retval] ISchemaItemCollection** constraints); + + [id(DISPID_SOM_SUBSTITUTIONGROUP), propget] + HRESULT substitutionGroup( + [out,retval] ISchemaElement** element); + + [id(DISPID_SOM_EXCLUSIONS), propget] + HRESULT substitutionGroupExclusions( + [out,retval] SCHEMADERIVATIONMETHOD* exclusions); + + [id(DISPID_SOM_DISALLOWED), propget] + HRESULT disallowedSubstitutions( + [out,retval] SCHEMADERIVATIONMETHOD* disallowed); + + [id(DISPID_SOM_ISABSTRACT), propget] + HRESULT isAbstract( + [out,retval] VARIANT_BOOL* abstract); + + [id(DISPID_SOM_ISREFERENCE), propget] + HRESULT isReference( + [out,retval] VARIANT_BOOL* reference); +}; + +[ + local, + object, + uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaType : ISchemaItem +{ + [id(DISPID_SOM_BASETYPES), propget] + HRESULT baseTypes( + [out,retval] ISchemaItemCollection** baseTypes); + + [id(DISPID_SOM_FINAL), propget] + HRESULT final( + [out,retval] SCHEMADERIVATIONMETHOD* final); + + [id(DISPID_SOM_VARIETY), propget] + HRESULT variety( + [out,retval] SCHEMATYPEVARIETY* variety); + + [id(DISPID_SOM_DERIVEDBY), propget] + HRESULT derivedBy( + [out,retval] SCHEMADERIVATIONMETHOD* derivedBy); + + [id(DISPID_SOM_ISVALID)] + HRESULT isValid( + [in] BSTR data, + [out,retval] VARIANT_BOOL* valid); + + [id(DISPID_SOM_MINEXCLUSIVE), propget] + HRESULT minExclusive( + [out,retval]BSTR* minExclusive); + + [id(DISPID_SOM_MININCLUSIVE), propget] + HRESULT minInclusive( + [out,retval] BSTR* minInclusive); + + [id(DISPID_SOM_MAXEXCLUSIVE), propget] + HRESULT maxExclusive( + [out,retval] BSTR* maxExclusive); + + [id(DISPID_SOM_MAXINCLUSIVE), propget] + HRESULT maxInclusive( + [out,retval] BSTR* maxInclusive); + + [id(DISPID_SOM_TOTALDIGITS), propget] + HRESULT totalDigits( + [out,retval] VARIANT* totalDigits); + + [id(DISPID_SOM_FRACTIONDIGITS), propget] + HRESULT fractionDigits( + [out,retval] VARIANT* fractionDigits); + + [id(DISPID_SOM_LENGTH), propget] + HRESULT length( + [out,retval] VARIANT* length); + + [id(DISPID_SOM_MINLENGTH), propget] + HRESULT minLength( + [out,retval]VARIANT* minLength); + + [id(DISPID_SOM_MAXLENGTH), propget] + HRESULT maxLength( + [out,retval]VARIANT* maxLength); + + [id(DISPID_SOM_ENUMERATION), propget] + HRESULT enumeration( + [out,retval] ISchemaStringCollection** enumeration); + + [id(DISPID_SOM_WHITESPACE), propget] + HRESULT whitespace( + [out,retval]SCHEMAWHITESPACE* whitespace); + + [id(DISPID_SOM_PATTERNS), propget] + HRESULT patterns( + [out,retval] ISchemaStringCollection** patterns); +}; + +[ + local, + object, + uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaComplexType : ISchemaType +{ + [id(DISPID_SOM_ISABSTRACT), propget] + HRESULT isAbstract( + [out,retval] VARIANT_BOOL* abstract); + + [id(DISPID_SOM_ANYATTRIBUTE), propget] + HRESULT anyAttribute( + [out,retval] ISchemaAny** anyAttribute); + + [id(DISPID_SOM_ATTRIBUTES), propget] + HRESULT attributes( + [out,retval] ISchemaItemCollection** attributes); + + [id(DISPID_SOM_CONTENTTYPE), propget] + HRESULT contentType( + [out,retval] SCHEMACONTENTTYPE* contentType); + + [id(DISPID_SOM_CONTENTMODEL), propget] + HRESULT contentModel( + [out,retval] ISchemaModelGroup** contentModel); + + [id(DISPID_SOM_PROHIBITED), propget] + HRESULT prohibitedSubstitutions( + [out,retval] SCHEMADERIVATIONMETHOD* prohibited); +}; + +[ + local, + object, + uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaAttributeGroup : ISchemaItem +{ + [id(DISPID_SOM_ANYATTRIBUTE), propget] + HRESULT anyAttribute( + [out,retval] ISchemaAny** anyAttribute); + + [id(DISPID_SOM_ATTRIBUTES), propget] + HRESULT attributes( + [out,retval] ISchemaItemCollection** attributes); +}; + +[ + local, + object, + uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaModelGroup : ISchemaParticle +{ + [id(DISPID_SOM_PARTICLES), propget] + HRESULT particles( + [out,retval] ISchemaItemCollection** particles); +}; + +[ + local, + object, + uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaAny : ISchemaParticle +{ + [id(DISPID_SOM_NAMESPACES), propget] + HRESULT namespaces( + [out,retval] ISchemaStringCollection** namespaces); + + [id(DISPID_SOM_PROCESSCONTENTS), propget] + HRESULT processContents( + [out,retval] SCHEMAPROCESSCONTENTS* processContents); +}; + +[ + local, + object, + uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaIdentityConstraint : ISchemaItem +{ + [id(DISPID_SOM_SELECTOR), propget] + HRESULT selector( + [out,retval] BSTR* selector); + + [id(DISPID_SOM_FIELDS), propget] + HRESULT fields( + [out,retval] ISchemaStringCollection** fields); + + [id(DISPID_SOM_REFERENCEDKEY), propget] + HRESULT referencedKey( + [out,retval] ISchemaIdentityConstraint** key); +}; + +[ + local, + object, + uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaNotation : ISchemaItem +{ + [id(DISPID_SOM_SYSTEMIDENTIFIER), propget] + HRESULT systemIdentifier( + [out,retval] BSTR* uri); + + [id(DISPID_SOM_PUBLICIDENTIFIER), propget] + HRESULT publicIdentifier( + [out,retval] BSTR* uri); +}; + + +[ + helpstring("SAX XML Reader 3.0"), + progid("Msxml2.SAXXMLReader.3.0"), + vi_progid("Msxml2.SAXXMLReader"), + threading(both), + uuid(3124c396-fb13-4836-a6ad-1317f1713688) +] +coclass SAXXMLReader30 +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; + interface IMXReaderControl; +}; + +[ + uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f) +] +coclass SAXXMLReader40 +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; +} + +[ + uuid(88d96a0c-f192-11d4-a65f-0040963251e5) +] +coclass SAXXMLReader60 +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; +} + +[ + helpstring("SAX XML Reader"), + progid("Msxml2.SAXXMLReader"), + vi_progid("Msxml2.SAXXMLReader"), + threading(both), + uuid(079aa557-4a18-424a-8eee-e39f0a8d41b9) +] +coclass SAXXMLReader +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; + interface IMXReaderControl; +} + +[ + uuid(a4c23ec3-6b70-4466-9127-550077239978) +] +coclass MXHTMLWriter +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXErrorHandler; + interface ISAXDTDHandler; + interface ISAXLexicalHandler; + interface ISAXDeclHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(853d1540-c1a7-4aa9-a226-4d3bd301146d) +] +coclass MXHTMLWriter30 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(88d969c9-f192-11d4-a65f-0040963251e5) +] +coclass MXHTMLWriter40 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(88d96a10-f192-11d4-a65f-0040963251e5) +] +coclass MXHTMLWriter60 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + helpstring("MXXMLWriter 3.0"), + progid("Msxml2.MXXMLWriter.3.0"), + vi_progid("Msxml2.MXXMLWriter"), + threading(both), + uuid(3d813dfe-6c91-4a4e-8f41-04346a841d9c) +] +coclass MXXMLWriter30 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +}; + +[ + uuid(88d969c8-f192-11d4-a65f-0040963251e5), +] +coclass MXXMLWriter40 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(88d96a0f-f192-11d4-a65f-0040963251e5) +] +coclass MXXMLWriter60 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + helpstring("MXXMLWriter"), + progid("Msxml2.MXXMLWriter"), + vi_progid("Msxml2.MXXMLWriter"), + threading(both), + uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020) +] +coclass MXXMLWriter +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXErrorHandler; + interface ISAXDTDHandler; + interface ISAXLexicalHandler; + interface ISAXDeclHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(88d969d5-f192-11d4-a65f-0040963251e5) +] +coclass MXNamespaceManager +{ + [default] interface IVBMXNamespaceManager; + interface IMXNamespaceManager; +} + +[ + uuid(88d969d6-f192-11d4-a65f-0040963251e5) +] +coclass MXNamespaceManager40 +{ + [default] interface IVBMXNamespaceManager; + interface IMXNamespaceManager; +} + +[ + uuid(88d96a11-f192-11d4-a65f-0040963251e5) +] +coclass MXNamespaceManager60 +{ + [default] interface IVBMXNamespaceManager; + interface IMXNamespaceManager; +} + +[ + helpstring("SAXAttributes 3.0"), + progid("Msxml2.SAXAttributes.3.0"), + vi_progid("Msxml2.SAXAttributes"), + threading(both), + uuid(3e784a01-f3ae-4dc0-9354-9526b9370eba) +] +coclass SAXAttributes30 +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +[ + uuid(88d969ca-f192-11d4-a65f-0040963251e5), +] +coclass SAXAttributes40 +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +[ + uuid(88d96a0e-f192-11d4-a65f-0040963251e5) +] +coclass SAXAttributes60 +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +[ + helpstring("SAXAttributes"), + progid("Msxml2.SAXAttributes"), + vi_progid("Msxml2.SAXAttributes"), + threading(both), + uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0) +] +coclass SAXAttributes +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +/* + * Error Codes + */ +cpp_quote("#define E_XML_NOTWF 0xC00CE223") +cpp_quote("#define E_XML_NODTD 0xC00CE224") +cpp_quote("#define E_XML_INVALID 0xC00CE225") +cpp_quote("#define E_XML_BUFFERTOOSMALL 0xC00CE226") + +} /* Library MSXML */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2did.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2did.h new file mode 100644 index 0000000..e9dbeb8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml2did.h @@ -0,0 +1,554 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * Copyright (C) 2008 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __MSXML2DID_H__ +#define __MSXML2DID_H__ + +#define DISPID_XOBJ_MIN 0x10000 +#define DISPID_XOBJ_MAX 0x1FFFF +#define DISPID_XOBJ_BASE 0x10000 + +#define DISPID_XMLELEMENTCOLLECTION 0x10000 +#define DISPID_XMLELEMENTCOLLECTION_LENGTH 0x10001 +#define DISPID_XMLELEMENTCOLLECTION_NEWENUM DISPID_NEWENUM +#define DISPID_XMLELEMENTCOLLECTION_ITEM 0x10003 + +#define DISPID_XMLDOCUMENT 0x10064 +#define DISPID_XMLDOCUMENT_ROOT 0x10065 +#define DISPID_XMLDOCUMENT_FILESIZE 0x10066 +#define DISPID_XMLDOCUMENT_FILEMODIFIEDDATE 0x10067 +#define DISPID_XMLDOCUMENT_FILEUPDATEDDATE 0x10068 +#define DISPID_XMLDOCUMENT_URL 0x10069 +#define DISPID_XMLDOCUMENT_MIMETYPE 0x1006a +#define DISPID_XMLDOCUMENT_READYSTATE 0x1006b +#define DISPID_XMLDOCUMENT_CREATEELEMENT 0x1006c +#define DISPID_XMLDOCUMENT_CHARSET 0x1006d +#define DISPID_XMLDOCUMENT_VERSION 0x1006e +#define DISPID_XMLDOCUMENT_DOCTYPE 0x1006f +#define DISPID_XMLDOCUMENT_DTDURL 0x10070 +#define DISPID_XMLDOCUMENT_ASYNC 0x10071 +#define DISPID_XMLDOCUMENT_CASEINSENSITIVE 0x10072 + +#define DISPID_XMLELEMENT 0x100c8 +#define DISPID_XMLELEMENT_TAGNAME 0x100c9 +#define DISPID_XMLELEMENT_PARENT 0x100ca +#define DISPID_XMLELEMENT_SETATTRIBUTE 0x100cb +#define DISPID_XMLELEMENT_GETATTRIBUTE 0x100cc +#define DISPID_XMLELEMENT_REMOVEATTRIBUTE 0x100cd +#define DISPID_XMLELEMENT_CHILDREN 0x100ce +#define DISPID_XMLELEMENT_TYPE 0x100cf +#define DISPID_XMLELEMENT_TEXT 0x100d0 +#define DISPID_XMLELEMENT_ADDCHILD 0x100d1 +#define DISPID_XMLELEMENT_REMOVECHILD 0x100d2 +#define DISPID_XMLELEMENT_ATTRIBUTES 0x100d3 + +#define DISPID_XMLNOTIFSINK 0x1012c +#define DISPID_XMLNOTIFSINK_CHILDADDED 0x1012d + +#define DISPID_XMLATTRIBUTE 0x10190 +#define DISPID_XMLATTRIBUTE_NAME 0x10191 +#define DISPID_XMLATTRIBUTE_VALUE 0x10192 + + +#define DISPID_DOM_BASE 0x00000001 +#define DISPID_DOM_COLLECTION_BASE 0x000f4240 +#define DISPID_DOM_COLLECTION_MAX 0x002dc6bf + +#define DISPID_DOM_NODE 0x00000001 +#define DISPID_DOM_NODE_NODENAME 0x00000002 +#define DISPID_DOM_NODE_NODEVALUE 0x00000003 +#define DISPID_DOM_NODE_NODETYPE 0x00000004 +#define DISPID_DOM_NODE_NODETYPEENUM 0x00000005 +#define DISPID_DOM_NODE_PARENTNODE 0x00000006 +#define DISPID_DOM_NODE_CHILDNODES 0x00000007 +#define DISPID_DOM_NODE_FIRSTCHILD 0x00000008 +#define DISPID_DOM_NODE_LASTCHILD 0x00000009 +#define DISPID_DOM_NODE_PREVIOUSSIBLING 0x0000000a +#define DISPID_DOM_NODE_NEXTSIBLING 0x0000000b +#define DISPID_DOM_NODE_ATTRIBUTES 0x0000000c +#define DISPID_DOM_NODE_INSERTBEFORE 0x0000000d +#define DISPID_DOM_NODE_REPLACECHILD 0x0000000e +#define DISPID_DOM_NODE_REMOVECHILD 0x0000000f +#define DISPID_DOM_NODE_APPENDCHILD 0x00000010 +#define DISPID_DOM_NODE_HASCHILDNODES 0x00000011 +#define DISPID_DOM_NODE_OWNERDOC 0x00000012 +#define DISPID_DOM_NODE_CLONENODE 0x00000013 + +#define DISPID_XMLDOM_NODE 0x00000014 +#define DISPID_XMLDOM_NODE_STRINGTYPE 0x00000015 +#define DISPID_XMLDOM_NODE_SPECIFIED 0x00000016 +#define DISPID_XMLDOM_NODE_DEFINITION 0x00000017 +#define DISPID_XMLDOM_NODE_TEXT 0x00000018 +#define DISPID_XMLDOM_NODE_NODETYPEDVALUE 0x00000019 +#define DISPID_XMLDOM_NODE_DATATYPE 0x0000001a +#define DISPID_XMLDOM_NODE_XML 0x0000001b +#define DISPID_XMLDOM_NODE_TRANSFORMNODE 0x0000001c +#define DISPID_XMLDOM_NODE_SELECTNODES 0x0000001d +#define DISPID_XMLDOM_NODE_SELECTSINGLENODE 0x0000001e +#define DISPID_XMLDOM_NODE_PARSED 0x0000001f +#define DISPID_XMLDOM_NODE_NAMESPACE 0x00000020 +#define DISPID_XMLDOM_NODE_PREFIX 0x00000021 +#define DISPID_XMLDOM_NODE_BASENAME 0x00000022 +#define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT 0x00000023 +#define DISPID_XMLDOM_NODE__TOP 0x00000024 + +#define DISPID_DOM_DOCUMENT 0x00000025 +#define DISPID_DOM_DOCUMENT_DOCTYPE 0x00000026 +#define DISPID_DOM_DOCUMENT_IMPLEMENTATION 0x00000027 +#define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT 0x00000028 +#define DISPID_DOM_DOCUMENT_CREATEELEMENT 0x00000029 +#define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT 0x0000002a +#define DISPID_DOM_DOCUMENT_CREATETEXTNODE 0x0000002b +#define DISPID_DOM_DOCUMENT_CREATECOMMENT 0x0000002c +#define DISPID_DOM_DOCUMENT_CREATECDATASECTION 0x0000002d +#define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION 0x0000002e +#define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE 0x0000002f +#define DISPID_DOM_DOCUMENT_CREATEENTITY 0x00000030 +#define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE 0x00000031 +#define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME 0x00000032 +#define DISPID_DOM_DOCUMENT_TOP 0x00000033 + +#define DISPID_XMLDOM_DOCUMENT 0x00000034 +#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE 0x00000035 +#define DISPID_XMLDOM_DOCUMENT_CREATENODE 0x00000036 +#define DISPID_XMLDOM_DOCUMENT_CREATENODEEX 0x00000037 +#define DISPID_XMLDOM_DOCUMENT_NODEFROMID 0x00000038 +#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES 0x00000039 +#define DISPID_XMLDOM_DOCUMENT_LOAD 0x0000003a +#define DISPID_XMLDOM_DOCUMENT_PARSEERROR 0x0000003b +#define DISPID_XMLDOM_DOCUMENT_URL 0x0000003c +#define DISPID_XMLDOM_DOCUMENT_ASYNC 0x0000003d +#define DISPID_XMLDOM_DOCUMENT_ABORT 0x0000003e +#define DISPID_XMLDOM_DOCUMENT_LOADXML 0x0000003f +#define DISPID_XMLDOM_DOCUMENT_SAVE 0x00000040 +#define DISPID_XMLDOM_DOCUMENT_VALIDATE 0x00000041 +#define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE 0x00000042 +#define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE 0x00000043 +#define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE 0x00000044 +#define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE 0x00000045 +#define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE 0x00000046 +#define DISPID_XMLDOM_DOCUMENT__TOP 0x00000047 + +#define DISPID_DOM_NODELIST 0x00000048 +#define DISPID_DOM_NODELIST_ITEM 0x00000049 +#define DISPID_DOM_NODELIST_LENGTH 0x0000004a +#define DISPID_XMLDOM_NODELIST 0x0000004b +#define DISPID_XMLDOM_NODELIST_NEXTNODE 0x0000004c +#define DISPID_XMLDOM_NODELIST_RESET 0x0000004d +#define DISPID_XMLDOM_NODELIST_NEWENUM 0x0000004e +#define DISPID_XMLDOM_NODELIST__TOP 0x0000004f + +#define DISPID_DOM_NAMEDNODEMAP 0x00000050 +#define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM 0x00000053 +#define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM 0x00000054 +#define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM 0x00000055 +#define DISPID_XMLDOM_NAMEDNODEMAP 0x00000056 +#define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM 0x00000057 +#define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM 0x00000058 +#define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE 0x00000059 +#define DISPID_XMLDOM_NAMEDNODEMAP_RESET 0x0000005a +#define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM 0x0000005b +#define DISPID_XMLDOM_NAMEDNODEMAP__TOP 0x0000005c + +#define DISPID_DOM_W3CWRAPPERS 0x0000005d + +#define DISPID_DOM_DOCUMENTFRAGMENT 0x0000005e +#define DISPID_DOM_DOCUMENTFRAGMENT__TOP 0x0000005f + +#define DISPID_DOM_ELEMENT 0x00000060 +#define DISPID_DOM_ELEMENT_GETTAGNAME 0x00000061 +#define DISPID_DOM_ELEMENT_GETATTRIBUTES 0x00000062 +#define DISPID_DOM_ELEMENT_GETATTRIBUTE 0x00000063 +#define DISPID_DOM_ELEMENT_SETATTRIBUTE 0x00000064 +#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE 0x00000065 +#define DISPID_DOM_ELEMENT_GETATTRIBUTENODE 0x00000066 +#define DISPID_DOM_ELEMENT_SETATTRIBUTENODE 0x00000067 +#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE 0x00000068 +#define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME 0x00000069 +#define DISPID_DOM_ELEMENT_NORMALIZE 0x0000006a +#define DISPID_DOM_ELEMENT__TOP 0x0000006b + +#define DISPID_DOM_DATA 0x0000006c +#define DISPID_DOM_DATA_DATA 0x0000006d +#define DISPID_DOM_DATA_LENGTH 0x0000006e +#define DISPID_DOM_DATA_SUBSTRING 0x0000006f +#define DISPID_DOM_DATA_APPEND 0x00000070 +#define DISPID_DOM_DATA_INSERT 0x00000071 +#define DISPID_DOM_DATA_DELETE 0x00000072 +#define DISPID_DOM_DATA_REPLACE 0x00000073 +#define DISPID_DOM_DATA__TOP 0x00000074 + +#define DISPID_DOM_ATTRIBUTE 0x00000075 +#define DISPID_DOM_ATTRIBUTE_GETNAME 0x00000076 +#define DISPID_DOM_ATTRIBUTE_SPECIFIED 0x00000077 +#define DISPID_DOM_ATTRIBUTE_VALUE 0x00000078 +#define DISPID_DOM_ATTRIBUTE__TOP 0x00000079 + +#define DISPID_DOM_TEXT 0x0000007a +#define DISPID_DOM_TEXT_SPLITTEXT 0x0000007b +#define DISPID_DOM_TEXT_JOINTEXT 0x0000007c +#define DISPID_DOM_TEXT__TOP 0x0000007d + +#define DISPID_DOM_PI 0x0000007e +#define DISPID_DOM_PI_TARGET 0x0000007f +#define DISPID_DOM_PI_DATA 0x00000080 +#define DISPID_DOM_PI__TOP 0x00000081 + +#define DISPID_DOM_DOCUMENTTYPE 0x00000082 +#define DISPID_DOM_DOCUMENTTYPE_NAME 0x00000083 +#define DISPID_DOM_DOCUMENTTYPE_ENTITIES 0x00000084 +#define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 0x00000085 +#define DISPID_DOM_DOCUMENTTYPE__TOP 0x00000086 + +#define DISPID_DOM_NOTATION 0x00000087 +#define DISPID_DOM_NOTATION_PUBLICID 0x00000088 +#define DISPID_DOM_NOTATION_SYSTEMID 0x00000089 +#define DISPID_DOM_NOTATION__TOP 0x0000008a + +#define DISPID_DOM_ENTITY 0x0000008b +#define DISPID_DOM_ENTITY_PUBLICID 0x0000008c +#define DISPID_DOM_ENTITY_SYSTEMID 0x0000008d +#define DISPID_DOM_ENTITY_NOTATIONNAME 0x0000008e +#define DISPID_DOM_ENTITY__TOP 0x0000008f + +#define DISPID_DOM_W3CWRAPPERS_TOP 0x0000008f + +#define DISPID_DOM_IMPLEMENTATION 0x00000090 +#define DISPID_DOM_IMPLEMENTATION_HASFEATURE 0x00000091 +#define DISPID_DOM_IMPLEMENTATION__TOP 0x00000092 + +#define DISPID_DOM__TOP 0x000000af + +#define DISPID_DOM_ERROR 0x000000b0 +#define DISPID_DOM_ERROR_ERRORCODE 0x000000b1 +#define DISPID_DOM_ERROR_URL 0x000000b2 +#define DISPID_DOM_ERROR_REASON 0x000000b3 +#define DISPID_DOM_ERROR_SRCTEXT 0x000000b4 +#define DISPID_DOM_ERROR_LINE 0x000000b5 +#define DISPID_DOM_ERROR_LINEPOS 0x000000b6 +#define DISPID_DOM_ERROR_FILEPOS 0x000000b7 +#define DISPID_DOM_ERROR__TOP 0x000000b8 + +#define DISPID_DOM_ERROR2 0x000000b9 +#define DISPID_DOM_ERROR2_ALLERRORS 0x000000ba +#define DISPID_DOM_ERROR2_ERRORPARAMETERS 0x000000bb +#define DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT 0x000000bc +#define DISPID_DOM_ERROR2_ERRORXPATH 0x000000bd +#define DISPID_DOM_ERROR2__TOP 0x000000be + +#define DISPID_DOM_ERRORCOLLECTION 0x000000bf +#define DISPID_DOM_ERRORCOLLECTION_LENGTH 0x000000c0 +#define DISPID_DOM_ERRORCOLLECTION_NEXT 0x000000c1 +#define DISPID_DOM_ERRORCOLLECTION_RESET 0x000000c2 +#define DISPID_DOM_ERRORCOLLECTION__TOP 0x000000c3 + +#define DISPID_XTLRUNTIME 0x000000b9 +#define DISPID_XTLRUNTIME_UNIQUEID 0x000000ba +#define DISPID_XTLRUNTIME_DEPTH 0x000000bb +#define DISPID_XTLRUNTIME_CHILDNUMBER 0x000000bc +#define DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER 0x000000bd +#define DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER 0x000000be +#define DISPID_XTLRUNTIME_FORMATINDEX 0x000000bf +#define DISPID_XTLRUNTIME_FORMATNUMBER 0x000000c0 +#define DISPID_XTLRUNTIME_FORMATDATE 0x000000c1 +#define DISPID_XTLRUNTIME_FORMATTIME 0x000000c2 +#define DISPID_XTLRUNTIME__TOP 0x000000c3 + +#define DISPID_XMLDOMEVENT 0x000000c4 +#define DISPID_XMLDOMEVENT_ONREADYSTATECHANGE DISPID_READYSTATECHANGE +#define DISPID_XMLDOMEVENT_ONDATAAVAILABLE 0x000000c5 +#define DISPID_XMLDOMEVENT__TOP 0x000000c6 + +#define DISPID_XMLDOM_DOCUMENT2 0x000000c7 +#define DISPID_XMLDOM_DOCUMENT2_NAMESPACES 0x000000c8 +#define DISPID_XMLDOM_DOCUMENT2_SCHEMAS 0x000000c9 +#define DISPID_XMLDOM_DOCUMENT2_VALIDATE 0x000000ca +#define DISPID_XMLDOM_DOCUMENT2_SETPROPERTY 0x000000cb +#define DISPID_XMLDOM_DOCUMENT2_GETPROPERTY 0x000000cc +#define DISPID_XMLDOM_DOCUMENT2__TOP 0x000000cd + +#define DISPID_XMLDOM_DOCUMENT3 0x000000ce +#define DISPID_XMLDOM_DOCUMENT3_VALIDATENODE 0x000000cf +#define DISPID_XMLDOM_DOCUMENT3_IMPORTNODE 0x000000d0 +#define DISPID_XMLDOM_DOCUMENT3__TOP 0x000000d1 + +#define DISPID_XMLDOM_SCHEMACOLLECTION 0x00000002 +#define DISPID_XMLDOM_SCHEMACOLLECTION_ADD 0x00000003 +#define DISPID_XMLDOM_SCHEMACOLLECTION_GET 0x00000004 +#define DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE 0x00000005 +#define DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH 0x00000006 +#define DISPID_XMLDOM_SCHEMACOLLECTION_NAMESPACEURI 0x00000007 +#define DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION 0x00000008 +#define DISPID_XMLDOM_SCHEMACOLLECTION__TOP 0x00000009 + +#define DISPID_XMLDOM_SELECTION 0x0000000a +#define DISPID_XMLDOM_SELECTION_EXPR 0x0000000b +#define DISPID_XMLDOM_SELECTION_CONTEXT 0x0000000c +#define DISPID_XMLDOM_SELECTION_PEEKNODE 0x0000000d +#define DISPID_XMLDOM_SELECTION_MATCHES 0x0000000e +#define DISPID_XMLDOM_SELECTION_REMOVENEXT 0x0000000f +#define DISPID_XMLDOM_SELECTION_REMOVEALL 0x00000010 +#define DISPID_XMLDOM_SELECTION_CLONE 0x00000011 +#define DISPID_XMLDOM_SELECTION_GETPROPERTY 0x00000012 +#define DISPID_XMLDOM_SELECTION_SETPROPERTY 0x00000013 +#define DISPID_XMLDOM_SELECTION__TOP 0x00000014 + +#define DISPID_XMLDOM_TEMPLATE 0x00000001 +#define DISPID_XMLDOM_TEMPLATE_STYLESHEET 0x00000002 +#define DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR 0x00000003 +#define DISPID_XMLDOM_TEMPLATE__TOP 0x00000004 + +#define DISPID_XMLDOM_PROCESSOR 0x00000001 +#define DISPID_XMLDOM_PROCESSOR_INPUT 0x00000002 +#define DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE 0x00000003 +#define DISPID_XMLDOM_PROCESSOR_SETSTARTMODE 0x00000004 +#define DISPID_XMLDOM_PROCESSOR_STARTMODE 0x00000005 +#define DISPID_XMLDOM_PROCESSOR_STARTMODEURI 0x00000006 +#define DISPID_XMLDOM_PROCESSOR_OUTPUT 0x00000007 +#define DISPID_XMLDOM_PROCESSOR_TRANSFORM 0x00000008 +#define DISPID_XMLDOM_PROCESSOR_RESET 0x00000009 +#define DISPID_XMLDOM_PROCESSOR_READYSTATE 0x0000000a +#define DISPID_XMLDOM_PROCESSOR_ADDPARAMETER 0x0000000b +#define DISPID_XMLDOM_PROCESSOR_ADDOBJECT 0x0000000c +#define DISPID_XMLDOM_PROCESSOR_STYLESHEET 0x0000000d +#define DISPID_XMLDOM_PROCESSOR__TOP 0x0000000e + +#define DISPID_XMLDSO 0x10000 +#define DISPID_XMLDSO_DOCUMENT 0x10001 +#define DISPID_XMLDSO_JAVADSOCOMPATIBLE 0x10002 + +/* SAX Defines */ +#define DISPID_SAX_XMLREADER__MIN 0x00000501 +#define DISPID_SAX_XMLREADER__MAX 0x00010000 +#define DISPID_SAX_XMLREADER__BASE DISPID_SAX_XMLREADER__MIN + +#define DISPID_SAX_XMLREADER 0x00000501 +#define DISPID_SAX_XMLREADER_GETFEATURE 0x00000502 +#define DISPID_SAX_XMLREADER_PUTFEATURE 0x00000503 +#define DISPID_SAX_XMLREADER_GETPROPERTY 0x00000504 +#define DISPID_SAX_XMLREADER_PUTPROPERTY 0x00000505 +#define DISPID_SAX_XMLREADER_ENTITYRESOLVER 0x00000506 +#define DISPID_SAX_XMLREADER_CONTENTHANDLER 0x00000507 +#define DISPID_SAX_XMLREADER_DTDHANDLER 0x00000508 +#define DISPID_SAX_XMLREADER_ERRORHANDLER 0x00000509 +#define DISPID_SAX_XMLREADER_BASEURL 0x0000050A +#define DISPID_SAX_XMLREADER_SECUREBASEURL 0x0000050B +#define DISPID_SAX_XMLREADER_PARSE 0x0000050C +#define DISPID_SAX_XMLREADER_PARSEURL 0x0000050D +#define DISPID_SAX_XMLREADER_PARENT 0x0000050E + +#define DISPID_SAX_XMLFILTER 0x00000510 +#define DISPID_SAX_XMLFILTER_GETFEATURE 0x00000511 +#define DISPID_SAX_XMLFILTER_PUTFEATURE 0x00000512 +#define DISPID_SAX_XMLFILTER_GETPROPERTY 0x00000513 +#define DISPID_SAX_XMLFILTER_PUTPROPERTY 0x00000514 +#define DISPID_SAX_XMLFILTER_ENTITYRESOLVER 0x00000515 +#define DISPID_SAX_XMLFILTER_CONTENTHANDLER 0x00000516 +#define DISPID_SAX_XMLFILTER_DTDHANDLER 0x00000517 +#define DISPID_SAX_XMLFILTER_ERRORHANDLER 0x00000518 +#define DISPID_SAX_XMLFILTER_BASEURL 0x00000519 +#define DISPID_SAX_XMLFILTER_SECUREBASEURL 0x0000051A +#define DISPID_SAX_XMLFILTER_PARSE 0x0000051B +#define DISPID_SAX_XMLFILTER_PARSEURL 0x0000051C +#define DISPID_SAX_XMLFILTER_PARENT 0x0000051D + +#define DISPID_SAX_LOCATOR 0x00000520 +#define DISPID_SAX_LOCATOR_COLUMNNUMBER 0x00000521 +#define DISPID_SAX_LOCATOR_LINENUMBER 0x00000522 +#define DISPID_SAX_LOCATOR_PUBLICID 0x00000523 +#define DISPID_SAX_LOCATOR_SYSTEMID 0x00000524 + +#define DISPID_SAX_ENTITYRESOLVER 0x00000526 +#define DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY 0x00000527 + +#define DISPID_SAX_CONTENTHANDLER 0x00000529 +#define DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR 0x0000052A +#define DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT 0x0000052B +#define DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT 0x0000052C +#define DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING 0x0000052D +#define DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING 0x0000052E +#define DISPID_SAX_CONTENTHANDLER_STARTELEMENT 0x0000052F +#define DISPID_SAX_CONTENTHANDLER_ENDELEMENT 0x00000530 +#define DISPID_SAX_CONTENTHANDLER_CHARACTERS 0x00000531 +#define DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE 0x00000532 +#define DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION 0x00000533 +#define DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY 0x00000534 + +#define DISPID_SAX_DTDHANDLER 0x00000536 +#define DISPID_SAX_DTDHANDLER_NOTATIONDECL 0x00000537 +#define DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL 0x00000538 + +#define DISPID_SAX_ERRORHANDLER 0x0000053A +#define DISPID_SAX_ERRORHANDLER_ERROR 0x0000053B +#define DISPID_SAX_ERRORHANDLER_FATALERROR 0x0000053C +#define DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING 0x0000053D + +#define DISPID_SAX_ATTRIBUTES 0x0000053F +#define DISPID_SAX_ATTRIBUTES_LENGTH 0x00000540 +#define DISPID_SAX_ATTRIBUTES_GETURI 0x00000541 +#define DISPID_SAX_ATTRIBUTES_GETLOCALNAME 0x00000542 +#define DISPID_SAX_ATTRIBUTES_GETQNAME 0x00000543 +#define DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME 0x00000544 +#define DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME 0x00000545 +#define DISPID_SAX_ATTRIBUTES_GETTYPE 0x00000546 +#define DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME 0x00000547 +#define DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME 0x00000548 +#define DISPID_SAX_ATTRIBUTES_GETVALUE 0x00000549 +#define DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME 0x0000054A +#define DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME 0x0000054B + +#define DISPID_SAX_LEXICALHANDLER 0x0000054D +#define DISPID_SAX_LEXICALHANDLER_STARTDTD 0x0000054E +#define DISPID_SAX_LEXICALHANDLER_ENDDTD 0x0000054F +#define DISPID_SAX_LEXICALHANDLER_STARTENTITY 0x00000550 +#define DISPID_SAX_LEXICALHANDLER_ENDENTITY 0x00000551 +#define DISPID_SAX_LEXICALHANDLER_STARTCDATA 0x00000552 +#define DISPID_SAX_LEXICALHANDLER_ENDCDATA 0x00000553 +#define DISPID_SAX_LEXICALHANDLER_COMMENT 0x00000554 + +#define DISPID_SAX_DECLHANDLER 0x00000556 +#define DISPID_SAX_DECLHANDLER_ELEMENTDECL 0x00000557 +#define DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL 0x00000558 +#define DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL 0x00000559 +#define DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL 0x0000055A + +#define DISPID_MX_ATTRIBUTES_ADDATTRIBUTE 0x0000055D +#define DISPID_MX_ATTRIBUTES_CLEAR 0x0000055E +#define DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE 0x0000055F +#define DISPID_MX_ATTRIBUTES_SETATTRIBUTE 0x00000560 +#define DISPID_MX_ATTRIBUTES_SETATTRIBUTES 0x00000561 +#define DISPID_MX_ATTRIBUTES_SETLOCALNAME 0x00000562 +#define DISPID_MX_ATTRIBUTES_SETQNAME 0x00000563 +#define DISPID_MX_ATTRIBUTES_SETTYPE 0x00000564 +#define DISPID_MX_ATTRIBUTES_SETURI 0x00000565 +#define DISPID_MX_ATTRIBUTES_SETVALUE 0x00000566 +#define DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX 0x00000567 + +#define DISPID_MX_WRITER 0x00000568 +#define DISPID_MX_WRITER_OUTPUT 0x00000569 +#define DISPID_MX_WRITER_DESTINATION 0x0000056A +#define DISPID_MX_WRITER_ENCODING 0x0000056B +#define DISPID_MX_WRITER_BYTEORDERMARK 0x0000056C +#define DISPID_MX_WRITER_INDENT 0x0000056D +#define DISPID_MX_WRITER_STANDALONE 0x0000056E +#define DISPID_MX_WRITER_OMITXMLDECLARATION 0x0000056F +#define DISPID_MX_WRITER_VERSION 0x00000570 +#define DISPID_MX_WRITER_DISABLEOUTPUTESCAPING 0x00000571 +#define DISPID_MX_WRITER_FLUSH 0x00000572 +#define DISPID_MX_WRITER_RESET 0x00000573 + +#define DISPID_MX_READER_CONTROL 0x00000575 +#define DISPID_MX_READER_CONTROL_ABORT 0x00000576 +#define DISPID_MX_READER_CONTROL_RESUME 0x00000577 +#define DISPID_MX_READER_CONTROL_SUSPEND 0x00000578 + +#define DISPID_MX_SCHEMADECLHANDLER 0x0000057a +#define DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL 0x0000057b + +#define DISPID_MX_NSMGR 0x0000057d +#define DISPID_MX_NSMGR_ALLOWOVERRIDE 0x0000057e +#define DISPID_MX_NSMGR_RESET 0x0000057f +#define DISPID_MX_NSMGR_PUSHCONTEXT 0x00000580 +#define DISPID_MX_NSMGR_PUSHNODECONTEXT 0x00000581 +#define DISPID_MX_NSMGR_POPCONTEXT 0x00000582 +#define DISPID_MX_NSMGR_DECLAREPREFIX 0x00000583 +#define DISPID_MX_NSMGR_GETDECLAREDPREFIXES 0x00000584 +#define DISPID_MX_NSMGR_GETPREFIXES 0x00000585 +#define DISPID_MX_NSMGR_GETURI 0x00000586 +#define DISPID_MX_NSMGR_GETURIFROMNODE 0x00000587 +#define DISPID_MX_NSMGR_LENGTH 0x00000588 + +#define DISPID_MXXML_FILTER 0x0000058a +#define DISPID_MXXML_FILTER_CONTENTHANDLER 0x0000058b +#define DISPID_MXXML_FILTER_DTDHANDLER 0x0000058c +#define DISPID_MXXML_FILTER_ENTITYRESOLVER 0x0000058d +#define DISPID_MXXML_FILTER_ERRORHANDLER 0x0000058e +#define DISPID_MXXML_FILTER_GETFEATURE 0x0000058f +#define DISPID_MXXML_FILTER_GETPROPERTY 0x00000590 +#define DISPID_MXXML_FILTER_PUTFEATURE 0x00000591 +#define DISPID_MXXML_FILTER_PUTPROPERTY 0x00000592 + +#define DISPID_SOM_VALIDATE 0x0000058b +#define DISPID_SOM_VALIDATEONLOAD 0x0000058c +#define DISPID_SOM_GETSCHEMA 0x0000058d +#define DISPID_SOM_GETDECLARATION 0x0000058e +#define DISPID_SOM_ITEMBYNAME 0x0000058f +#define DISPID_SOM_ITEMBYQNAME 0x00000590 +#define DISPID_SOM_ANYATTRIBUTE 0x00000591 +#define DISPID_SOM_ATTRIBUTEGROUPS 0x00000592 +#define DISPID_SOM_ATTRIBUTES 0x00000593 +#define DISPID_SOM_BASETYPES 0x00000594 +#define DISPID_SOM_CONTENTMODEL 0x00000595 +#define DISPID_SOM_CONTENTTYPE 0x00000596 +#define DISPID_SOM_DEFAULTVALUE 0x00000597 +#define DISPID_SOM_DERIVEDBY 0x00000598 +#define DISPID_SOM_DISALLOWED 0x00000599 +#define DISPID_SOM_ELEMENTS 0x0000059a +#define DISPID_SOM_ENUMERATION 0x0000059b +#define DISPID_SOM_FIELDS 0x0000059c +#define DISPID_SOM_FINAL 0x0000059d +#define DISPID_SOM_FIXEDVALUE 0x0000059e +#define DISPID_SOM_FRACTIONDIGITS 0x0000059f +#define DISPID_SOM_ID 0x000005a0 +#define DISPID_SOM_IDCONSTRAINTS 0x000005a1 +#define DISPID_SOM_ISABSTRACT 0x000005a2 +#define DISPID_SOM_ISNILLABLE 0x000005a3 +#define DISPID_SOM_ISREFERENCE 0x000005a4 +#define DISPID_SOM_ISVALID 0x000005a5 +#define DISPID_SOM_ITEMTYPE 0x000005a6 +#define DISPID_SOM_LENGTH 0x000005a7 +#define DISPID_SOM_MAXEXCLUSIVE 0x000005a8 +#define DISPID_SOM_MAXINCLUSIVE 0x000005a9 +#define DISPID_SOM_MAXLENGTH 0x000005aa +#define DISPID_SOM_MAXOCCURS 0x000005ab +#define DISPID_SOM_MINEXCLUSIVE 0x000005ac +#define DISPID_SOM_MININCLUSIVE 0x000005ad +#define DISPID_SOM_MINLENGTH 0x000005ae +#define DISPID_SOM_MINOCCURS 0x000005af +#define DISPID_SOM_MODELGROUPS 0x000005b0 +#define DISPID_SOM_NAME 0x000005b1 +#define DISPID_SOM_NAMESPACES 0x000005b2 +#define DISPID_SOM_NAMESPACEURI 0x000005b3 +#define DISPID_SOM_NOTATIONS 0x000005b4 +#define DISPID_SOM_PARTICLES 0x000005b5 +#define DISPID_SOM_PATTERNS 0x000005b6 +#define DISPID_SOM_PROCESSCONTENTS 0x000005b7 +#define DISPID_SOM_PROHIBITED 0x000005b8 +#define DISPID_SOM_PUBLICIDENTIFIER 0x000005b9 +#define DISPID_SOM_REFERENCEDKEY 0x000005ba +#define DISPID_SOM_SCHEMA 0x000005bb +#define DISPID_SOM_SCHEMALOCATIONS 0x000005bc +#define DISPID_SOM_SCOPE 0x000005bd +#define DISPID_SOM_SELECTOR 0x000005be +#define DISPID_SOM_SUBSTITUTIONGROUP 0x000005bf +#define DISPID_SOM_EXCLUSIONS 0x000005c0 +#define DISPID_SOM_SYSTEMIDENTIFIER 0x000005c1 +#define DISPID_SOM_TARGETNAMESPACE 0x000005c2 +#define DISPID_SOM_TOTALDIGITS 0x000005c3 +#define DISPID_SOM_TYPE 0x000005c4 +#define DISPID_SOM_TYPES 0x000005c5 +#define DISPID_SOM_UNHANDLEDATTRS 0x000005c6 +#define DISPID_SOM_USE 0x000005c7 +#define DISPID_SOM_VARIETY 0x000005c8 +#define DISPID_SOM_VERSION 0x000005c9 +#define DISPID_SOM_WHITESPACE 0x000005ca +#define DISPID_SOM_WRITEANNOTATION 0x000005cb + + +#endif /* __MSXML2DID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6.h new file mode 100644 index 0000000..767c983 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6.h @@ -0,0 +1,23254 @@ +/*** Autogenerated by WIDL 2.18 from msxml6.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __msxml6_h__ +#define __msxml6_h__ + +/* Forward declarations */ + +#ifndef __IXMLDOMNode_FWD_DEFINED__ +#define __IXMLDOMNode_FWD_DEFINED__ +typedef interface IXMLDOMNode IXMLDOMNode; +#ifdef __cplusplus +interface IXMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection IXMLDOMSchemaCollection; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection2_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection2_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection2 IXMLDOMSchemaCollection2; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument2_FWD_DEFINED__ +#define __IXMLDOMDocument2_FWD_DEFINED__ +typedef interface IXMLDOMDocument2 IXMLDOMDocument2; +#ifdef __cplusplus +interface IXMLDOMDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument3_FWD_DEFINED__ +#define __IXMLDOMDocument3_FWD_DEFINED__ +typedef interface IXMLDOMDocument3 IXMLDOMDocument3; +#ifdef __cplusplus +interface IXMLDOMDocument3; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNodeList_FWD_DEFINED__ +#define __IXMLDOMNodeList_FWD_DEFINED__ +typedef interface IXMLDOMNodeList IXMLDOMNodeList; +#ifdef __cplusplus +interface IXMLDOMNodeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSelection_FWD_DEFINED__ +#define __IXMLDOMSelection_FWD_DEFINED__ +typedef interface IXMLDOMSelection IXMLDOMSelection; +#ifdef __cplusplus +interface IXMLDOMSelection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNamedNodeMap_FWD_DEFINED__ +#define __IXMLDOMNamedNodeMap_FWD_DEFINED__ +typedef interface IXMLDOMNamedNodeMap IXMLDOMNamedNodeMap; +#ifdef __cplusplus +interface IXMLDOMNamedNodeMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentFragment_FWD_DEFINED__ +#define __IXMLDOMDocumentFragment_FWD_DEFINED__ +typedef interface IXMLDOMDocumentFragment IXMLDOMDocumentFragment; +#ifdef __cplusplus +interface IXMLDOMDocumentFragment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCharacterData_FWD_DEFINED__ +#define __IXMLDOMCharacterData_FWD_DEFINED__ +typedef interface IXMLDOMCharacterData IXMLDOMCharacterData; +#ifdef __cplusplus +interface IXMLDOMCharacterData; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMAttribute_FWD_DEFINED__ +#define __IXMLDOMAttribute_FWD_DEFINED__ +typedef interface IXMLDOMAttribute IXMLDOMAttribute; +#ifdef __cplusplus +interface IXMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMElement_FWD_DEFINED__ +#define __IXMLDOMElement_FWD_DEFINED__ +typedef interface IXMLDOMElement IXMLDOMElement; +#ifdef __cplusplus +interface IXMLDOMElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMText_FWD_DEFINED__ +#define __IXMLDOMText_FWD_DEFINED__ +typedef interface IXMLDOMText IXMLDOMText; +#ifdef __cplusplus +interface IXMLDOMText; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMComment_FWD_DEFINED__ +#define __IXMLDOMComment_FWD_DEFINED__ +typedef interface IXMLDOMComment IXMLDOMComment; +#ifdef __cplusplus +interface IXMLDOMComment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMProcessingInstruction_FWD_DEFINED__ +#define __IXMLDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction; +#ifdef __cplusplus +interface IXMLDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCDATASection_FWD_DEFINED__ +#define __IXMLDOMCDATASection_FWD_DEFINED__ +typedef interface IXMLDOMCDATASection IXMLDOMCDATASection; +#ifdef __cplusplus +interface IXMLDOMCDATASection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentType_FWD_DEFINED__ +#define __IXMLDOMDocumentType_FWD_DEFINED__ +typedef interface IXMLDOMDocumentType IXMLDOMDocumentType; +#ifdef __cplusplus +interface IXMLDOMDocumentType; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNotation_FWD_DEFINED__ +#define __IXMLDOMNotation_FWD_DEFINED__ +typedef interface IXMLDOMNotation IXMLDOMNotation; +#ifdef __cplusplus +interface IXMLDOMNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntity_FWD_DEFINED__ +#define __IXMLDOMEntity_FWD_DEFINED__ +typedef interface IXMLDOMEntity IXMLDOMEntity; +#ifdef __cplusplus +interface IXMLDOMEntity; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntityReference_FWD_DEFINED__ +#define __IXMLDOMEntityReference_FWD_DEFINED__ +typedef interface IXMLDOMEntityReference IXMLDOMEntityReference; +#ifdef __cplusplus +interface IXMLDOMEntityReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMImplementation_FWD_DEFINED__ +#define __IXMLDOMImplementation_FWD_DEFINED__ +typedef interface IXMLDOMImplementation IXMLDOMImplementation; +#ifdef __cplusplus +interface IXMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXTLRuntime_FWD_DEFINED__ +#define __IXTLRuntime_FWD_DEFINED__ +typedef interface IXTLRuntime IXTLRuntime; +#ifdef __cplusplus +interface IXTLRuntime; +#endif /* __cplusplus */ +#endif + +#ifndef __XMLDOMDocumentEvents_FWD_DEFINED__ +#define __XMLDOMDocumentEvents_FWD_DEFINED__ +typedef interface XMLDOMDocumentEvents XMLDOMDocumentEvents; +#ifdef __cplusplus +interface XMLDOMDocumentEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLProcessor_FWD_DEFINED__ +#define __IXSLProcessor_FWD_DEFINED__ +typedef interface IXSLProcessor IXSLProcessor; +#ifdef __cplusplus +interface IXSLProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLTemplate_FWD_DEFINED__ +#define __IXSLTemplate_FWD_DEFINED__ +typedef interface IXSLTemplate IXSLTemplate; +#ifdef __cplusplus +interface IXSLTemplate; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLHTTPRequest_FWD_DEFINED__ +#define __IXMLHTTPRequest_FWD_DEFINED__ +typedef interface IXMLHTTPRequest IXMLHTTPRequest; +#ifdef __cplusplus +interface IXMLHTTPRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __IServerXMLHTTPRequest_FWD_DEFINED__ +#define __IServerXMLHTTPRequest_FWD_DEFINED__ +typedef interface IServerXMLHTTPRequest IServerXMLHTTPRequest; +#ifdef __cplusplus +interface IServerXMLHTTPRequest; +#endif /* __cplusplus */ +#endif + +#ifndef __IServerXMLHTTPRequest2_FWD_DEFINED__ +#define __IServerXMLHTTPRequest2_FWD_DEFINED__ +typedef interface IServerXMLHTTPRequest2 IServerXMLHTTPRequest2; +#ifdef __cplusplus +interface IServerXMLHTTPRequest2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError_FWD_DEFINED__ +#define __IXMLDOMParseError_FWD_DEFINED__ +typedef interface IXMLDOMParseError IXMLDOMParseError; +#ifdef __cplusplus +interface IXMLDOMParseError; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError2_FWD_DEFINED__ +#define __IXMLDOMParseError2_FWD_DEFINED__ +typedef interface IXMLDOMParseError2 IXMLDOMParseError2; +#ifdef __cplusplus +interface IXMLDOMParseError2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseErrorCollection_FWD_DEFINED__ +#define __IXMLDOMParseErrorCollection_FWD_DEFINED__ +typedef interface IXMLDOMParseErrorCollection IXMLDOMParseErrorCollection; +#ifdef __cplusplus +interface IXMLDOMParseErrorCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __DOMDocument_FWD_DEFINED__ +#define __DOMDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument DOMDocument; +#else +typedef struct DOMDocument DOMDocument; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument_FWD_DEFINED__ */ + +#ifndef __DOMDocument26_FWD_DEFINED__ +#define __DOMDocument26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument26 DOMDocument26; +#else +typedef struct DOMDocument26 DOMDocument26; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument26_FWD_DEFINED__ */ + +#ifndef __DOMDocument30_FWD_DEFINED__ +#define __DOMDocument30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument30 DOMDocument30; +#else +typedef struct DOMDocument30 DOMDocument30; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument30_FWD_DEFINED__ */ + +#ifndef __DOMDocument40_FWD_DEFINED__ +#define __DOMDocument40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument40 DOMDocument40; +#else +typedef struct DOMDocument40 DOMDocument40; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument40_FWD_DEFINED__ */ + +#ifndef __DOMDocument60_FWD_DEFINED__ +#define __DOMDocument60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DOMDocument60 DOMDocument60; +#else +typedef struct DOMDocument60 DOMDocument60; +#endif /* defined __cplusplus */ +#endif /* defined __DOMDocument60_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument_FWD_DEFINED__ +#define __FreeThreadedDOMDocument_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument FreeThreadedDOMDocument; +#else +typedef struct FreeThreadedDOMDocument FreeThreadedDOMDocument; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument26_FWD_DEFINED__ +#define __FreeThreadedDOMDocument26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument26 FreeThreadedDOMDocument26; +#else +typedef struct FreeThreadedDOMDocument26 FreeThreadedDOMDocument26; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument26_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument30_FWD_DEFINED__ +#define __FreeThreadedDOMDocument30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument30 FreeThreadedDOMDocument30; +#else +typedef struct FreeThreadedDOMDocument30 FreeThreadedDOMDocument30; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument30_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument40_FWD_DEFINED__ +#define __FreeThreadedDOMDocument40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument40 FreeThreadedDOMDocument40; +#else +typedef struct FreeThreadedDOMDocument40 FreeThreadedDOMDocument40; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument40_FWD_DEFINED__ */ + +#ifndef __FreeThreadedDOMDocument60_FWD_DEFINED__ +#define __FreeThreadedDOMDocument60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FreeThreadedDOMDocument60 FreeThreadedDOMDocument60; +#else +typedef struct FreeThreadedDOMDocument60 FreeThreadedDOMDocument60; +#endif /* defined __cplusplus */ +#endif /* defined __FreeThreadedDOMDocument60_FWD_DEFINED__ */ + +#ifndef __XMLHTTP_FWD_DEFINED__ +#define __XMLHTTP_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP XMLHTTP; +#else +typedef struct XMLHTTP XMLHTTP; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP_FWD_DEFINED__ */ + +#ifndef __XMLHTTP26_FWD_DEFINED__ +#define __XMLHTTP26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP26 XMLHTTP26; +#else +typedef struct XMLHTTP26 XMLHTTP26; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP26_FWD_DEFINED__ */ + +#ifndef __XMLHTTP30_FWD_DEFINED__ +#define __XMLHTTP30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP30 XMLHTTP30; +#else +typedef struct XMLHTTP30 XMLHTTP30; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP30_FWD_DEFINED__ */ + +#ifndef __XMLHTTP40_FWD_DEFINED__ +#define __XMLHTTP40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP40 XMLHTTP40; +#else +typedef struct XMLHTTP40 XMLHTTP40; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP40_FWD_DEFINED__ */ + +#ifndef __XMLHTTP60_FWD_DEFINED__ +#define __XMLHTTP60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLHTTP60 XMLHTTP60; +#else +typedef struct XMLHTTP60 XMLHTTP60; +#endif /* defined __cplusplus */ +#endif /* defined __XMLHTTP60_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP_FWD_DEFINED__ +#define __ServerXMLHTTP_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP ServerXMLHTTP; +#else +typedef struct ServerXMLHTTP ServerXMLHTTP; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP30_FWD_DEFINED__ +#define __ServerXMLHTTP30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP30 ServerXMLHTTP30; +#else +typedef struct ServerXMLHTTP30 ServerXMLHTTP30; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP30_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP40_FWD_DEFINED__ +#define __ServerXMLHTTP40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP40 ServerXMLHTTP40; +#else +typedef struct ServerXMLHTTP40 ServerXMLHTTP40; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP40_FWD_DEFINED__ */ + +#ifndef __ServerXMLHTTP60_FWD_DEFINED__ +#define __ServerXMLHTTP60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ServerXMLHTTP60 ServerXMLHTTP60; +#else +typedef struct ServerXMLHTTP60 ServerXMLHTTP60; +#endif /* defined __cplusplus */ +#endif /* defined __ServerXMLHTTP60_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache_FWD_DEFINED__ +#define __XMLSchemaCache_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache XMLSchemaCache; +#else +typedef struct XMLSchemaCache XMLSchemaCache; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache26_FWD_DEFINED__ +#define __XMLSchemaCache26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache26 XMLSchemaCache26; +#else +typedef struct XMLSchemaCache26 XMLSchemaCache26; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache26_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache30_FWD_DEFINED__ +#define __XMLSchemaCache30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache30 XMLSchemaCache30; +#else +typedef struct XMLSchemaCache30 XMLSchemaCache30; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache30_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache40_FWD_DEFINED__ +#define __XMLSchemaCache40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache40 XMLSchemaCache40; +#else +typedef struct XMLSchemaCache40 XMLSchemaCache40; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache40_FWD_DEFINED__ */ + +#ifndef __XMLSchemaCache60_FWD_DEFINED__ +#define __XMLSchemaCache60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XMLSchemaCache60 XMLSchemaCache60; +#else +typedef struct XMLSchemaCache60 XMLSchemaCache60; +#endif /* defined __cplusplus */ +#endif /* defined __XMLSchemaCache60_FWD_DEFINED__ */ + +#ifndef __XSLTemplate_FWD_DEFINED__ +#define __XSLTemplate_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate XSLTemplate; +#else +typedef struct XSLTemplate XSLTemplate; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate_FWD_DEFINED__ */ + +#ifndef __XSLTemplate26_FWD_DEFINED__ +#define __XSLTemplate26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate26 XSLTemplate26; +#else +typedef struct XSLTemplate26 XSLTemplate26; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate26_FWD_DEFINED__ */ + +#ifndef __XSLTemplate30_FWD_DEFINED__ +#define __XSLTemplate30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate30 XSLTemplate30; +#else +typedef struct XSLTemplate30 XSLTemplate30; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate30_FWD_DEFINED__ */ + +#ifndef __XSLTemplate40_FWD_DEFINED__ +#define __XSLTemplate40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate40 XSLTemplate40; +#else +typedef struct XSLTemplate40 XSLTemplate40; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate40_FWD_DEFINED__ */ + +#ifndef __XSLTemplate60_FWD_DEFINED__ +#define __XSLTemplate60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XSLTemplate60 XSLTemplate60; +#else +typedef struct XSLTemplate60 XSLTemplate60; +#endif /* defined __cplusplus */ +#endif /* defined __XSLTemplate60_FWD_DEFINED__ */ + +#ifndef __ISAXAttributes_FWD_DEFINED__ +#define __ISAXAttributes_FWD_DEFINED__ +typedef interface ISAXAttributes ISAXAttributes; +#ifdef __cplusplus +interface ISAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXContentHandler_FWD_DEFINED__ +#define __ISAXContentHandler_FWD_DEFINED__ +typedef interface ISAXContentHandler ISAXContentHandler; +#ifdef __cplusplus +interface ISAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDeclHandler_FWD_DEFINED__ +#define __ISAXDeclHandler_FWD_DEFINED__ +typedef interface ISAXDeclHandler ISAXDeclHandler; +#ifdef __cplusplus +interface ISAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDTDHandler_FWD_DEFINED__ +#define __ISAXDTDHandler_FWD_DEFINED__ +typedef interface ISAXDTDHandler ISAXDTDHandler; +#ifdef __cplusplus +interface ISAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXEntityResolver_FWD_DEFINED__ +#define __ISAXEntityResolver_FWD_DEFINED__ +typedef interface ISAXEntityResolver ISAXEntityResolver; +#ifdef __cplusplus +interface ISAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXErrorHandler_FWD_DEFINED__ +#define __ISAXErrorHandler_FWD_DEFINED__ +typedef interface ISAXErrorHandler ISAXErrorHandler; +#ifdef __cplusplus +interface ISAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLexicalHandler_FWD_DEFINED__ +#define __ISAXLexicalHandler_FWD_DEFINED__ +typedef interface ISAXLexicalHandler ISAXLexicalHandler; +#ifdef __cplusplus +interface ISAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLocator_FWD_DEFINED__ +#define __ISAXLocator_FWD_DEFINED__ +typedef interface ISAXLocator ISAXLocator; +#ifdef __cplusplus +interface ISAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLFilter_FWD_DEFINED__ +#define __ISAXXMLFilter_FWD_DEFINED__ +typedef interface ISAXXMLFilter ISAXXMLFilter; +#ifdef __cplusplus +interface ISAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLReader_FWD_DEFINED__ +#define __ISAXXMLReader_FWD_DEFINED__ +typedef interface ISAXXMLReader ISAXXMLReader; +#ifdef __cplusplus +interface ISAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXAttributes_FWD_DEFINED__ +#define __IVBSAXAttributes_FWD_DEFINED__ +typedef interface IVBSAXAttributes IVBSAXAttributes; +#ifdef __cplusplus +interface IVBSAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXContentHandler_FWD_DEFINED__ +#define __IVBSAXContentHandler_FWD_DEFINED__ +typedef interface IVBSAXContentHandler IVBSAXContentHandler; +#ifdef __cplusplus +interface IVBSAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDeclHandler_FWD_DEFINED__ +#define __IVBSAXDeclHandler_FWD_DEFINED__ +typedef interface IVBSAXDeclHandler IVBSAXDeclHandler; +#ifdef __cplusplus +interface IVBSAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDTDHandler_FWD_DEFINED__ +#define __IVBSAXDTDHandler_FWD_DEFINED__ +typedef interface IVBSAXDTDHandler IVBSAXDTDHandler; +#ifdef __cplusplus +interface IVBSAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXEntityResolver_FWD_DEFINED__ +#define __IVBSAXEntityResolver_FWD_DEFINED__ +typedef interface IVBSAXEntityResolver IVBSAXEntityResolver; +#ifdef __cplusplus +interface IVBSAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXErrorHandler_FWD_DEFINED__ +#define __IVBSAXErrorHandler_FWD_DEFINED__ +typedef interface IVBSAXErrorHandler IVBSAXErrorHandler; +#ifdef __cplusplus +interface IVBSAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLexicalHandler_FWD_DEFINED__ +#define __IVBSAXLexicalHandler_FWD_DEFINED__ +typedef interface IVBSAXLexicalHandler IVBSAXLexicalHandler; +#ifdef __cplusplus +interface IVBSAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLocator_FWD_DEFINED__ +#define __IVBSAXLocator_FWD_DEFINED__ +typedef interface IVBSAXLocator IVBSAXLocator; +#ifdef __cplusplus +interface IVBSAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLFilter_FWD_DEFINED__ +#define __IVBSAXXMLFilter_FWD_DEFINED__ +typedef interface IVBSAXXMLFilter IVBSAXXMLFilter; +#ifdef __cplusplus +interface IVBSAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLReader_FWD_DEFINED__ +#define __IVBSAXXMLReader_FWD_DEFINED__ +typedef interface IVBSAXXMLReader IVBSAXXMLReader; +#ifdef __cplusplus +interface IVBSAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXAttributes_FWD_DEFINED__ +#define __IMXAttributes_FWD_DEFINED__ +typedef interface IMXAttributes IMXAttributes; +#ifdef __cplusplus +interface IMXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXSchemaDeclHandler_FWD_DEFINED__ +#define __IMXSchemaDeclHandler_FWD_DEFINED__ +typedef interface IMXSchemaDeclHandler IMXSchemaDeclHandler; +#ifdef __cplusplus +interface IMXSchemaDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXReaderControl_FWD_DEFINED__ +#define __IMXReaderControl_FWD_DEFINED__ +typedef interface IMXReaderControl IMXReaderControl; +#ifdef __cplusplus +interface IMXReaderControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXWriter_FWD_DEFINED__ +#define __IMXWriter_FWD_DEFINED__ +typedef interface IMXWriter IMXWriter; +#ifdef __cplusplus +interface IMXWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXNamespacePrefixes_FWD_DEFINED__ +#define __IMXNamespacePrefixes_FWD_DEFINED__ +typedef interface IMXNamespacePrefixes IMXNamespacePrefixes; +#ifdef __cplusplus +interface IMXNamespacePrefixes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXNamespaceManager_FWD_DEFINED__ +#define __IMXNamespaceManager_FWD_DEFINED__ +typedef interface IMXNamespaceManager IMXNamespaceManager; +#ifdef __cplusplus +interface IMXNamespaceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBMXNamespaceManager_FWD_DEFINED__ +#define __IVBMXNamespaceManager_FWD_DEFINED__ +typedef interface IVBMXNamespaceManager IVBMXNamespaceManager; +#ifdef __cplusplus +interface IVBMXNamespaceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXXMLFilter_FWD_DEFINED__ +#define __IMXXMLFilter_FWD_DEFINED__ +typedef interface IMXXMLFilter IMXXMLFilter; +#ifdef __cplusplus +interface IMXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaStringCollection_FWD_DEFINED__ +#define __ISchemaStringCollection_FWD_DEFINED__ +typedef interface ISchemaStringCollection ISchemaStringCollection; +#ifdef __cplusplus +interface ISchemaStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItemCollection_FWD_DEFINED__ +#define __ISchemaItemCollection_FWD_DEFINED__ +typedef interface ISchemaItemCollection ISchemaItemCollection; +#ifdef __cplusplus +interface ISchemaItemCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItem_FWD_DEFINED__ +#define __ISchemaItem_FWD_DEFINED__ +typedef interface ISchemaItem ISchemaItem; +#ifdef __cplusplus +interface ISchemaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchema_FWD_DEFINED__ +#define __ISchema_FWD_DEFINED__ +typedef interface ISchema ISchema; +#ifdef __cplusplus +interface ISchema; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaParticle_FWD_DEFINED__ +#define __ISchemaParticle_FWD_DEFINED__ +typedef interface ISchemaParticle ISchemaParticle; +#ifdef __cplusplus +interface ISchemaParticle; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttribute_FWD_DEFINED__ +#define __ISchemaAttribute_FWD_DEFINED__ +typedef interface ISchemaAttribute ISchemaAttribute; +#ifdef __cplusplus +interface ISchemaAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaElement_FWD_DEFINED__ +#define __ISchemaElement_FWD_DEFINED__ +typedef interface ISchemaElement ISchemaElement; +#ifdef __cplusplus +interface ISchemaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaType_FWD_DEFINED__ +#define __ISchemaType_FWD_DEFINED__ +typedef interface ISchemaType ISchemaType; +#ifdef __cplusplus +interface ISchemaType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaComplexType_FWD_DEFINED__ +#define __ISchemaComplexType_FWD_DEFINED__ +typedef interface ISchemaComplexType ISchemaComplexType; +#ifdef __cplusplus +interface ISchemaComplexType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttributeGroup_FWD_DEFINED__ +#define __ISchemaAttributeGroup_FWD_DEFINED__ +typedef interface ISchemaAttributeGroup ISchemaAttributeGroup; +#ifdef __cplusplus +interface ISchemaAttributeGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaModelGroup_FWD_DEFINED__ +#define __ISchemaModelGroup_FWD_DEFINED__ +typedef interface ISchemaModelGroup ISchemaModelGroup; +#ifdef __cplusplus +interface ISchemaModelGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAny_FWD_DEFINED__ +#define __ISchemaAny_FWD_DEFINED__ +typedef interface ISchemaAny ISchemaAny; +#ifdef __cplusplus +interface ISchemaAny; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaIdentityConstraint_FWD_DEFINED__ +#define __ISchemaIdentityConstraint_FWD_DEFINED__ +typedef interface ISchemaIdentityConstraint ISchemaIdentityConstraint; +#ifdef __cplusplus +interface ISchemaIdentityConstraint; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaNotation_FWD_DEFINED__ +#define __ISchemaNotation_FWD_DEFINED__ +typedef interface ISchemaNotation ISchemaNotation; +#ifdef __cplusplus +interface ISchemaNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __SAXXMLReader_FWD_DEFINED__ +#define __SAXXMLReader_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader SAXXMLReader; +#else +typedef struct SAXXMLReader SAXXMLReader; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader_FWD_DEFINED__ */ + +#ifndef __SAXXMLReader30_FWD_DEFINED__ +#define __SAXXMLReader30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader30 SAXXMLReader30; +#else +typedef struct SAXXMLReader30 SAXXMLReader30; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader30_FWD_DEFINED__ */ + +#ifndef __SAXXMLReader40_FWD_DEFINED__ +#define __SAXXMLReader40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader40 SAXXMLReader40; +#else +typedef struct SAXXMLReader40 SAXXMLReader40; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader40_FWD_DEFINED__ */ + +#ifndef __SAXXMLReader60_FWD_DEFINED__ +#define __SAXXMLReader60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXXMLReader60 SAXXMLReader60; +#else +typedef struct SAXXMLReader60 SAXXMLReader60; +#endif /* defined __cplusplus */ +#endif /* defined __SAXXMLReader60_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter_FWD_DEFINED__ +#define __MXHTMLWriter_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter MXHTMLWriter; +#else +typedef struct MXHTMLWriter MXHTMLWriter; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter30_FWD_DEFINED__ +#define __MXHTMLWriter30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter30 MXHTMLWriter30; +#else +typedef struct MXHTMLWriter30 MXHTMLWriter30; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter30_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter40_FWD_DEFINED__ +#define __MXHTMLWriter40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter40 MXHTMLWriter40; +#else +typedef struct MXHTMLWriter40 MXHTMLWriter40; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter40_FWD_DEFINED__ */ + +#ifndef __MXHTMLWriter60_FWD_DEFINED__ +#define __MXHTMLWriter60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXHTMLWriter60 MXHTMLWriter60; +#else +typedef struct MXHTMLWriter60 MXHTMLWriter60; +#endif /* defined __cplusplus */ +#endif /* defined __MXHTMLWriter60_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter_FWD_DEFINED__ +#define __MXXMLWriter_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter MXXMLWriter; +#else +typedef struct MXXMLWriter MXXMLWriter; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter30_FWD_DEFINED__ +#define __MXXMLWriter30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter30 MXXMLWriter30; +#else +typedef struct MXXMLWriter30 MXXMLWriter30; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter30_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter40_FWD_DEFINED__ +#define __MXXMLWriter40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter40 MXXMLWriter40; +#else +typedef struct MXXMLWriter40 MXXMLWriter40; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter40_FWD_DEFINED__ */ + +#ifndef __MXXMLWriter60_FWD_DEFINED__ +#define __MXXMLWriter60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXXMLWriter60 MXXMLWriter60; +#else +typedef struct MXXMLWriter60 MXXMLWriter60; +#endif /* defined __cplusplus */ +#endif /* defined __MXXMLWriter60_FWD_DEFINED__ */ + +#ifndef __MXNamespaceManager_FWD_DEFINED__ +#define __MXNamespaceManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXNamespaceManager MXNamespaceManager; +#else +typedef struct MXNamespaceManager MXNamespaceManager; +#endif /* defined __cplusplus */ +#endif /* defined __MXNamespaceManager_FWD_DEFINED__ */ + +#ifndef __MXNamespaceManager40_FWD_DEFINED__ +#define __MXNamespaceManager40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXNamespaceManager40 MXNamespaceManager40; +#else +typedef struct MXNamespaceManager40 MXNamespaceManager40; +#endif /* defined __cplusplus */ +#endif /* defined __MXNamespaceManager40_FWD_DEFINED__ */ + +#ifndef __MXNamespaceManager60_FWD_DEFINED__ +#define __MXNamespaceManager60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MXNamespaceManager60 MXNamespaceManager60; +#else +typedef struct MXNamespaceManager60 MXNamespaceManager60; +#endif /* defined __cplusplus */ +#endif /* defined __MXNamespaceManager60_FWD_DEFINED__ */ + +#ifndef __SAXAttributes_FWD_DEFINED__ +#define __SAXAttributes_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes SAXAttributes; +#else +typedef struct SAXAttributes SAXAttributes; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes_FWD_DEFINED__ */ + +#ifndef __SAXAttributes30_FWD_DEFINED__ +#define __SAXAttributes30_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes30 SAXAttributes30; +#else +typedef struct SAXAttributes30 SAXAttributes30; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes30_FWD_DEFINED__ */ + +#ifndef __SAXAttributes40_FWD_DEFINED__ +#define __SAXAttributes40_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes40 SAXAttributes40; +#else +typedef struct SAXAttributes40 SAXAttributes40; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes40_FWD_DEFINED__ */ + +#ifndef __SAXAttributes60_FWD_DEFINED__ +#define __SAXAttributes60_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SAXAttributes60 SAXAttributes60; +#else +typedef struct SAXAttributes60 SAXAttributes60; +#endif /* defined __cplusplus */ +#endif /* defined __SAXAttributes60_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_MSXML2, 0xf5078f18, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifndef __IXMLDOMImplementation_FWD_DEFINED__ +#define __IXMLDOMImplementation_FWD_DEFINED__ +typedef interface IXMLDOMImplementation IXMLDOMImplementation; +#ifdef __cplusplus +interface IXMLDOMImplementation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNode_FWD_DEFINED__ +#define __IXMLDOMNode_FWD_DEFINED__ +typedef interface IXMLDOMNode IXMLDOMNode; +#ifdef __cplusplus +interface IXMLDOMNode; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentFragment_FWD_DEFINED__ +#define __IXMLDOMDocumentFragment_FWD_DEFINED__ +typedef interface IXMLDOMDocumentFragment IXMLDOMDocumentFragment; +#ifdef __cplusplus +interface IXMLDOMDocumentFragment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument_FWD_DEFINED__ +#define __IXMLDOMDocument_FWD_DEFINED__ +typedef interface IXMLDOMDocument IXMLDOMDocument; +#ifdef __cplusplus +interface IXMLDOMDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection IXMLDOMSchemaCollection; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocument2_FWD_DEFINED__ +#define __IXMLDOMDocument2_FWD_DEFINED__ +typedef interface IXMLDOMDocument2 IXMLDOMDocument2; +#ifdef __cplusplus +interface IXMLDOMDocument2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNodeList_FWD_DEFINED__ +#define __IXMLDOMNodeList_FWD_DEFINED__ +typedef interface IXMLDOMNodeList IXMLDOMNodeList; +#ifdef __cplusplus +interface IXMLDOMNodeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNamedNodeMap_FWD_DEFINED__ +#define __IXMLDOMNamedNodeMap_FWD_DEFINED__ +typedef interface IXMLDOMNamedNodeMap IXMLDOMNamedNodeMap; +#ifdef __cplusplus +interface IXMLDOMNamedNodeMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCharacterData_FWD_DEFINED__ +#define __IXMLDOMCharacterData_FWD_DEFINED__ +typedef interface IXMLDOMCharacterData IXMLDOMCharacterData; +#ifdef __cplusplus +interface IXMLDOMCharacterData; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMAttribute_FWD_DEFINED__ +#define __IXMLDOMAttribute_FWD_DEFINED__ +typedef interface IXMLDOMAttribute IXMLDOMAttribute; +#ifdef __cplusplus +interface IXMLDOMAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMElement_FWD_DEFINED__ +#define __IXMLDOMElement_FWD_DEFINED__ +typedef interface IXMLDOMElement IXMLDOMElement; +#ifdef __cplusplus +interface IXMLDOMElement; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMText_FWD_DEFINED__ +#define __IXMLDOMText_FWD_DEFINED__ +typedef interface IXMLDOMText IXMLDOMText; +#ifdef __cplusplus +interface IXMLDOMText; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMComment_FWD_DEFINED__ +#define __IXMLDOMComment_FWD_DEFINED__ +typedef interface IXMLDOMComment IXMLDOMComment; +#ifdef __cplusplus +interface IXMLDOMComment; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMProcessingInstruction_FWD_DEFINED__ +#define __IXMLDOMProcessingInstruction_FWD_DEFINED__ +typedef interface IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction; +#ifdef __cplusplus +interface IXMLDOMProcessingInstruction; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMCDATASection_FWD_DEFINED__ +#define __IXMLDOMCDATASection_FWD_DEFINED__ +typedef interface IXMLDOMCDATASection IXMLDOMCDATASection; +#ifdef __cplusplus +interface IXMLDOMCDATASection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMDocumentType_FWD_DEFINED__ +#define __IXMLDOMDocumentType_FWD_DEFINED__ +typedef interface IXMLDOMDocumentType IXMLDOMDocumentType; +#ifdef __cplusplus +interface IXMLDOMDocumentType; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMNotation_FWD_DEFINED__ +#define __IXMLDOMNotation_FWD_DEFINED__ +typedef interface IXMLDOMNotation IXMLDOMNotation; +#ifdef __cplusplus +interface IXMLDOMNotation; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntity_FWD_DEFINED__ +#define __IXMLDOMEntity_FWD_DEFINED__ +typedef interface IXMLDOMEntity IXMLDOMEntity; +#ifdef __cplusplus +interface IXMLDOMEntity; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMEntityReference_FWD_DEFINED__ +#define __IXMLDOMEntityReference_FWD_DEFINED__ +typedef interface IXMLDOMEntityReference IXMLDOMEntityReference; +#ifdef __cplusplus +interface IXMLDOMEntityReference; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseError_FWD_DEFINED__ +#define __IXMLDOMParseError_FWD_DEFINED__ +typedef interface IXMLDOMParseError IXMLDOMParseError; +#ifdef __cplusplus +interface IXMLDOMParseError; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMParseErrorCollection_FWD_DEFINED__ +#define __IXMLDOMParseErrorCollection_FWD_DEFINED__ +typedef interface IXMLDOMParseErrorCollection IXMLDOMParseErrorCollection; +#ifdef __cplusplus +interface IXMLDOMParseErrorCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IXTLRuntime_FWD_DEFINED__ +#define __IXTLRuntime_FWD_DEFINED__ +typedef interface IXTLRuntime IXTLRuntime; +#ifdef __cplusplus +interface IXTLRuntime; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLTemplate_FWD_DEFINED__ +#define __IXSLTemplate_FWD_DEFINED__ +typedef interface IXSLTemplate IXSLTemplate; +#ifdef __cplusplus +interface IXSLTemplate; +#endif /* __cplusplus */ +#endif + +#ifndef __IXSLProcessor_FWD_DEFINED__ +#define __IXSLProcessor_FWD_DEFINED__ +typedef interface IXSLProcessor IXSLProcessor; +#ifdef __cplusplus +interface IXSLProcessor; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXAttributes_FWD_DEFINED__ +#define __ISAXAttributes_FWD_DEFINED__ +typedef interface ISAXAttributes ISAXAttributes; +#ifdef __cplusplus +interface ISAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXContentHandler_FWD_DEFINED__ +#define __ISAXContentHandler_FWD_DEFINED__ +typedef interface ISAXContentHandler ISAXContentHandler; +#ifdef __cplusplus +interface ISAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDeclHandler_FWD_DEFINED__ +#define __ISAXDeclHandler_FWD_DEFINED__ +typedef interface ISAXDeclHandler ISAXDeclHandler; +#ifdef __cplusplus +interface ISAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXDTDHandler_FWD_DEFINED__ +#define __ISAXDTDHandler_FWD_DEFINED__ +typedef interface ISAXDTDHandler ISAXDTDHandler; +#ifdef __cplusplus +interface ISAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXEntityResolver_FWD_DEFINED__ +#define __ISAXEntityResolver_FWD_DEFINED__ +typedef interface ISAXEntityResolver ISAXEntityResolver; +#ifdef __cplusplus +interface ISAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXErrorHandler_FWD_DEFINED__ +#define __ISAXErrorHandler_FWD_DEFINED__ +typedef interface ISAXErrorHandler ISAXErrorHandler; +#ifdef __cplusplus +interface ISAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLexicalHandler_FWD_DEFINED__ +#define __ISAXLexicalHandler_FWD_DEFINED__ +typedef interface ISAXLexicalHandler ISAXLexicalHandler; +#ifdef __cplusplus +interface ISAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXLocator_FWD_DEFINED__ +#define __ISAXLocator_FWD_DEFINED__ +typedef interface ISAXLocator ISAXLocator; +#ifdef __cplusplus +interface ISAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLFilter_FWD_DEFINED__ +#define __ISAXXMLFilter_FWD_DEFINED__ +typedef interface ISAXXMLFilter ISAXXMLFilter; +#ifdef __cplusplus +interface ISAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __ISAXXMLReader_FWD_DEFINED__ +#define __ISAXXMLReader_FWD_DEFINED__ +typedef interface ISAXXMLReader ISAXXMLReader; +#ifdef __cplusplus +interface ISAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXAttributes_FWD_DEFINED__ +#define __IVBSAXAttributes_FWD_DEFINED__ +typedef interface IVBSAXAttributes IVBSAXAttributes; +#ifdef __cplusplus +interface IVBSAXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXContentHandler_FWD_DEFINED__ +#define __IVBSAXContentHandler_FWD_DEFINED__ +typedef interface IVBSAXContentHandler IVBSAXContentHandler; +#ifdef __cplusplus +interface IVBSAXContentHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDeclHandler_FWD_DEFINED__ +#define __IVBSAXDeclHandler_FWD_DEFINED__ +typedef interface IVBSAXDeclHandler IVBSAXDeclHandler; +#ifdef __cplusplus +interface IVBSAXDeclHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXDTDHandler_FWD_DEFINED__ +#define __IVBSAXDTDHandler_FWD_DEFINED__ +typedef interface IVBSAXDTDHandler IVBSAXDTDHandler; +#ifdef __cplusplus +interface IVBSAXDTDHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXEntityResolver_FWD_DEFINED__ +#define __IVBSAXEntityResolver_FWD_DEFINED__ +typedef interface IVBSAXEntityResolver IVBSAXEntityResolver; +#ifdef __cplusplus +interface IVBSAXEntityResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXErrorHandler_FWD_DEFINED__ +#define __IVBSAXErrorHandler_FWD_DEFINED__ +typedef interface IVBSAXErrorHandler IVBSAXErrorHandler; +#ifdef __cplusplus +interface IVBSAXErrorHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLexicalHandler_FWD_DEFINED__ +#define __IVBSAXLexicalHandler_FWD_DEFINED__ +typedef interface IVBSAXLexicalHandler IVBSAXLexicalHandler; +#ifdef __cplusplus +interface IVBSAXLexicalHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXLocator_FWD_DEFINED__ +#define __IVBSAXLocator_FWD_DEFINED__ +typedef interface IVBSAXLocator IVBSAXLocator; +#ifdef __cplusplus +interface IVBSAXLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLFilter_FWD_DEFINED__ +#define __IVBSAXXMLFilter_FWD_DEFINED__ +typedef interface IVBSAXXMLFilter IVBSAXXMLFilter; +#ifdef __cplusplus +interface IVBSAXXMLFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IVBSAXXMLReader_FWD_DEFINED__ +#define __IVBSAXXMLReader_FWD_DEFINED__ +typedef interface IVBSAXXMLReader IVBSAXXMLReader; +#ifdef __cplusplus +interface IVBSAXXMLReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXAttributes_FWD_DEFINED__ +#define __IMXAttributes_FWD_DEFINED__ +typedef interface IMXAttributes IMXAttributes; +#ifdef __cplusplus +interface IMXAttributes; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXReaderControl_FWD_DEFINED__ +#define __IMXReaderControl_FWD_DEFINED__ +typedef interface IMXReaderControl IMXReaderControl; +#ifdef __cplusplus +interface IMXReaderControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IMXWriter_FWD_DEFINED__ +#define __IMXWriter_FWD_DEFINED__ +typedef interface IMXWriter IMXWriter; +#ifdef __cplusplus +interface IMXWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IXMLDOMSchemaCollection2_FWD_DEFINED__ +#define __IXMLDOMSchemaCollection2_FWD_DEFINED__ +typedef interface IXMLDOMSchemaCollection2 IXMLDOMSchemaCollection2; +#ifdef __cplusplus +interface IXMLDOMSchemaCollection2; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaStringCollection_FWD_DEFINED__ +#define __ISchemaStringCollection_FWD_DEFINED__ +typedef interface ISchemaStringCollection ISchemaStringCollection; +#ifdef __cplusplus +interface ISchemaStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItemCollection_FWD_DEFINED__ +#define __ISchemaItemCollection_FWD_DEFINED__ +typedef interface ISchemaItemCollection ISchemaItemCollection; +#ifdef __cplusplus +interface ISchemaItemCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaItem_FWD_DEFINED__ +#define __ISchemaItem_FWD_DEFINED__ +typedef interface ISchemaItem ISchemaItem; +#ifdef __cplusplus +interface ISchemaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchema_FWD_DEFINED__ +#define __ISchema_FWD_DEFINED__ +typedef interface ISchema ISchema; +#ifdef __cplusplus +interface ISchema; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaParticle_FWD_DEFINED__ +#define __ISchemaParticle_FWD_DEFINED__ +typedef interface ISchemaParticle ISchemaParticle; +#ifdef __cplusplus +interface ISchemaParticle; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttribute_FWD_DEFINED__ +#define __ISchemaAttribute_FWD_DEFINED__ +typedef interface ISchemaAttribute ISchemaAttribute; +#ifdef __cplusplus +interface ISchemaAttribute; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaElement_FWD_DEFINED__ +#define __ISchemaElement_FWD_DEFINED__ +typedef interface ISchemaElement ISchemaElement; +#ifdef __cplusplus +interface ISchemaElement; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaType_FWD_DEFINED__ +#define __ISchemaType_FWD_DEFINED__ +typedef interface ISchemaType ISchemaType; +#ifdef __cplusplus +interface ISchemaType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaComplexType_FWD_DEFINED__ +#define __ISchemaComplexType_FWD_DEFINED__ +typedef interface ISchemaComplexType ISchemaComplexType; +#ifdef __cplusplus +interface ISchemaComplexType; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAttributeGroup_FWD_DEFINED__ +#define __ISchemaAttributeGroup_FWD_DEFINED__ +typedef interface ISchemaAttributeGroup ISchemaAttributeGroup; +#ifdef __cplusplus +interface ISchemaAttributeGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaModelGroup_FWD_DEFINED__ +#define __ISchemaModelGroup_FWD_DEFINED__ +typedef interface ISchemaModelGroup ISchemaModelGroup; +#ifdef __cplusplus +interface ISchemaModelGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaAny_FWD_DEFINED__ +#define __ISchemaAny_FWD_DEFINED__ +typedef interface ISchemaAny ISchemaAny; +#ifdef __cplusplus +interface ISchemaAny; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaIdentityConstraint_FWD_DEFINED__ +#define __ISchemaIdentityConstraint_FWD_DEFINED__ +typedef interface ISchemaIdentityConstraint ISchemaIdentityConstraint; +#ifdef __cplusplus +interface ISchemaIdentityConstraint; +#endif /* __cplusplus */ +#endif + +#ifndef __ISchemaNotation_FWD_DEFINED__ +#define __ISchemaNotation_FWD_DEFINED__ +typedef interface ISchemaNotation ISchemaNotation; +#ifdef __cplusplus +interface ISchemaNotation; +#endif /* __cplusplus */ +#endif + +#define DOMDocument DOMDocument2 +#define CLSID_DOMDocument CLSID_DOMDocument2 +#ifndef __MSXML_DOMNODETYPE_DEFINED +#define __MSXML_DOMNODETYPE_DEFINED +typedef enum tagDOMNodeType { + NODE_INVALID = 0, + NODE_ELEMENT = 1, + NODE_ATTRIBUTE = 2, + NODE_TEXT = 3, + NODE_CDATA_SECTION = 4, + NODE_ENTITY_REFERENCE = 5, + NODE_ENTITY = 6, + NODE_PROCESSING_INSTRUCTION = 7, + NODE_COMMENT = 8, + NODE_DOCUMENT = 9, + NODE_DOCUMENT_TYPE = 10, + NODE_DOCUMENT_FRAGMENT = 11, + NODE_NOTATION = 12 +} DOMNodeType; +#endif +typedef enum _SOMITEMTYPE { + SOMITEM_SCHEMA = 0x1000, + SOMITEM_ATTRIBUTE = 0x1001, + SOMITEM_ATTRIBUTEGROUP = 0x1002, + SOMITEM_NOTATION = 0x1003, + SOMITEM_IDENTITYCONSTRAINT = 0x1100, + SOMITEM_KEY = 0x1101, + SOMITEM_KEYREF = 0x1102, + SOMITEM_UNIQUE = 0x1103, + SOMITEM_ANYTYPE = 0x2000, + SOMITEM_DATATYPE = 0x2100, + SOMITEM_DATATYPE_ANYTYPE = 0x2101, + SOMITEM_DATATYPE_ANYURI = 0x2102, + SOMITEM_DATATYPE_BASE64BINARY = 0x2103, + SOMITEM_DATATYPE_BOOLEAN = 0x2104, + SOMITEM_DATATYPE_BYTE = 0x2105, + SOMITEM_DATATYPE_DATE = 0x2106, + SOMITEM_DATATYPE_DATETIME = 0x2107, + SOMITEM_DATATYPE_DAY = 0x2108, + SOMITEM_DATATYPE_DECIMAL = 0x2109, + SOMITEM_DATATYPE_DOUBLE = 0x210a, + SOMITEM_DATATYPE_DURATION = 0x210b, + SOMITEM_DATATYPE_ENTITIES = 0x210c, + SOMITEM_DATATYPE_ENTITY = 0x210d, + SOMITEM_DATATYPE_FLOAT = 0x210e, + SOMITEM_DATATYPE_HEXBINARY = 0x210f, + SOMITEM_DATATYPE_ID = 0x2110, + SOMITEM_DATATYPE_IDREF = 0x2111, + SOMITEM_DATATYPE_IDREFS = 0x2112, + SOMITEM_DATATYPE_INT = 0x2113, + SOMITEM_DATATYPE_INTEGER = 0x2114, + SOMITEM_DATATYPE_LANGUAGE = 0x2115, + SOMITEM_DATATYPE_LONG = 0x2116, + SOMITEM_DATATYPE_MONTH = 0x2117, + SOMITEM_DATATYPE_MONTHDAY = 0x2118, + SOMITEM_DATATYPE_NAME = 0x2119, + SOMITEM_DATATYPE_NCNAME = 0x211a, + SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211b, + SOMITEM_DATATYPE_NMTOKEN = 0x211c, + SOMITEM_DATATYPE_NMTOKENS = 0x211d, + SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211e, + SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211f, + SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120, + SOMITEM_DATATYPE_NOTATION = 0x2121, + SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122, + SOMITEM_DATATYPE_QNAME = 0x2123, + SOMITEM_DATATYPE_SHORT = 0x2124, + SOMITEM_DATATYPE_STRING = 0x2125, + SOMITEM_DATATYPE_TIME = 0x2126, + SOMITEM_DATATYPE_TOKEN = 0x2127, + SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128, + SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129, + SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212a, + SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212b, + SOMITEM_DATATYPE_YEAR = 0x212c, + SOMITEM_DATATYPE_YEARMONTH = 0x212d, + SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21ff, + SOMITEM_SIMPLETYPE = 0x2200, + SOMITEM_COMPLEXTYPE = 0x2400, + SOMITEM_PARTICLE = 0x4000, + SOMITEM_ANY = 0x4001, + SOMITEM_ANYATTRIBUTE = 0x4002, + SOMITEM_ELEMENT = 0x4003, + SOMITEM_GROUP = 0x4100, + SOMITEM_ALL = 0x4101, + SOMITEM_CHOICE = 0x4102, + SOMITEM_SEQUENCE = 0x4103, + SOMITEM_EMPTYPARTICLE = 0x4104, + SOMITEM_NULL = 0x800, + SOMITEM_NULL_TYPE = 0x2800, + SOMITEM_NULL_ANY = 0x4801, + SOMITEM_NULL_ANYATTRIBUTE = 0x4802, + SOMITEM_NULL_ELEMENT = 0x4803 +} SOMITEMTYPE; +typedef enum _SCHEMAUSE { + SCHEMAUSE_OPTIONAL = 0, + SCHEMAUSE_PROHIBITED = 1, + SCHEMAUSE_REQUIRED = 2 +} SCHEMAUSE; +typedef enum _SCHEMADERIVATIONMETHOD { + SCHEMADERIVATIONMETHOD_EMPTY = 0x0, + SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x1, + SCHEMADERIVATIONMETHOD_EXTENSION = 0x2, + SCHEMADERIVATIONMETHOD_RESTRICTION = 0x4, + SCHEMADERIVATIONMETHOD_LIST = 0x8, + SCHEMADERIVATIONMETHOD_UNION = 0x10, + SCHEMADERIVATIONMETHOD_ALL = 0xff, + SCHEMADERIVATIONMETHOD_NONE = 0x100 +} SCHEMADERIVATIONMETHOD; +typedef enum _SCHEMACONTENTTYPE { + SCHEMACONTENTTYPE_EMPTY = 0, + SCHEMACONTENTTYPE_TEXTONLY = 1, + SCHEMACONTENTTYPE_ELEMENTONLY = 2, + SCHEMACONTENTTYPE_MIXED = 3 +} SCHEMACONTENTTYPE; +typedef enum _SCHEMAPROCESSCONTENTS { + SCHEMAPROCESSCONTENTS_NONE = 0, + SCHEMAPROCESSCONTENTS_SKIP = 1, + SCHEMAPROCESSCONTENTS_LAX = 2, + SCHEMAPROCESSCONTENTS_STRICT = 3 +} SCHEMAPROCESSCONTENTS; +typedef enum _SCHEMAWHITESPACE { + SCHEMAWHITESPACE_NONE = -1, + SCHEMAWHITESPACE_PRESERVE = 0, + SCHEMAWHITESPACE_REPLACE = 1, + SCHEMAWHITESPACE_COLLAPSE = 2 +} SCHEMAWHITESPACE; +typedef enum _SCHEMATYPEVARIETY { + SCHEMATYPEVARIETY_NONE = -1, + SCHEMATYPEVARIETY_ATOMIC = 0, + SCHEMATYPEVARIETY_LIST = 1, + SCHEMATYPEVARIETY_UNION = 2 +} SCHEMATYPEVARIETY; +/***************************************************************************** + * IXMLDOMNode interface + */ +#ifndef __IXMLDOMNode_INTERFACE_DEFINED__ +#define __IXMLDOMNode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNode, 0x2933bf80, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf80-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNode : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_nodeName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeValue( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeValue( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeType( + DOMNodeType *domNodeType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parentNode( + IXMLDOMNode **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_childNodes( + IXMLDOMNodeList **outList) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_firstChild( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lastChild( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_previousSibling( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nextSibling( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + IXMLDOMNamedNodeMap **attributeMap) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertBefore( + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceChild( + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeChild( + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendChild( + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE hasChildNodes( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ownerDocument( + IXMLDOMDocument **domDocument) = 0; + + virtual HRESULT STDMETHODCALLTYPE cloneNode( + VARIANT_BOOL pbool, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeTypeString( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_text( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_text( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_specified( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_definition( + IXMLDOMNode **domNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_nodeTypedValue( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_nodeTypedValue( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dataType( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_dataType( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_xml( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE transformNode( + IXMLDOMNode *domNode, + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectNodes( + BSTR p, + IXMLDOMNodeList **outList) = 0; + + virtual HRESULT STDMETHODCALLTYPE selectSingleNode( + BSTR p, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parsed( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_prefix( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE transformNodeToObject( + IXMLDOMNode *domNode, + VARIANT var1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNode, 0x2933bf80, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNode *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNode *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNode *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNode *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNode *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMNode *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMNode *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMNode *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMNode *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMNode *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMNode *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMNode *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMNode *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMNode *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMNode *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMNode *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMNode *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMNode *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMNode *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMNode *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMNode *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMNode *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMNode *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMNode *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMNode *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMNode *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMNode *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMNode *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMNode *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMNode *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMNode *This, + IXMLDOMNode *domNode, + VARIANT var1); + + END_INTERFACE +} IXMLDOMNodeVtbl; + +interface IXMLDOMNode { + CONST_VTBL IXMLDOMNodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNode_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNode_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMNode_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMNode_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMNode_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMNode_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMNode_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMNode_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMNode_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMNode_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMNode_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMNode_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMNode_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMNode_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMNode_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMNode_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMNode_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMNode_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMNode_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMNode_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMNode_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMNode_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMNode_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMNode_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMNode_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMNode_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMNode_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMNode_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMNode_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMNode_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMNode_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMNode_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMNode_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMNode_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMNode_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMNode_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMNode_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMNode_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_QueryInterface(IXMLDOMNode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNode_AddRef(IXMLDOMNode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNode_Release(IXMLDOMNode* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_GetTypeInfoCount(IXMLDOMNode* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNode_GetTypeInfo(IXMLDOMNode* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNode_GetIDsOfNames(IXMLDOMNode* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNode_Invoke(IXMLDOMNode* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeName(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeValue(IXMLDOMNode* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_nodeValue(IXMLDOMNode* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeType(IXMLDOMNode* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_parentNode(IXMLDOMNode* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_childNodes(IXMLDOMNode* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_firstChild(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_lastChild(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_previousSibling(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nextSibling(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_attributes(IXMLDOMNode* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMNode_insertBefore(IXMLDOMNode* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_replaceChild(IXMLDOMNode* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_removeChild(IXMLDOMNode* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_appendChild(IXMLDOMNode* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_hasChildNodes(IXMLDOMNode* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_ownerDocument(IXMLDOMNode* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMNode_cloneNode(IXMLDOMNode* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeTypeString(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_text(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_text(IXMLDOMNode* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_specified(IXMLDOMNode* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_definition(IXMLDOMNode* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_nodeTypedValue(IXMLDOMNode* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_nodeTypedValue(IXMLDOMNode* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_dataType(IXMLDOMNode* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNode_put_dataType(IXMLDOMNode* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_xml(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_transformNode(IXMLDOMNode* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_selectNodes(IXMLDOMNode* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMNode_selectSingleNode(IXMLDOMNode* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_parsed(IXMLDOMNode* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_namespaceURI(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_prefix(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_get_baseName(IXMLDOMNode* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNode_transformNodeToObject(IXMLDOMNode* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument interface + */ +#ifndef __IXMLDOMDocument_INTERFACE_DEFINED__ +#define __IXMLDOMDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument, 0x2933bf81, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf81-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_doctype( + IXMLDOMDocumentType **docType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_implementation( + IXMLDOMImplementation **impl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_documentElement( + IXMLDOMElement **domElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_documentElement( + IXMLDOMElement *domElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE createElement( + BSTR p, + IXMLDOMElement **domElement) = 0; + + virtual HRESULT STDMETHODCALLTYPE createDocumentFragment( + IXMLDOMDocumentFragment **docFrag) = 0; + + virtual HRESULT STDMETHODCALLTYPE createTextNode( + BSTR p, + IXMLDOMText **text) = 0; + + virtual HRESULT STDMETHODCALLTYPE createComment( + BSTR p, + IXMLDOMComment **comment) = 0; + + virtual HRESULT STDMETHODCALLTYPE createCDATASection( + BSTR p, + IXMLDOMCDATASection **cdata) = 0; + + virtual HRESULT STDMETHODCALLTYPE createProcessingInstruction( + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE createAttribute( + BSTR p, + IXMLDOMAttribute **attribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE createEntityReference( + BSTR p, + IXMLDOMEntityReference **entityRef) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR p, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE createNode( + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE nodeFromID( + BSTR id, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE load( + VARIANT var1, + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_parseError( + IXMLDOMParseError **err) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_async( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_async( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE loadXML( + BSTR p, + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE save( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_validateOnParse( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_validateOnParse( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_resolveExternals( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_resolveExternals( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_preserveWhiteSpace( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_preserveWhiteSpace( + VARIANT_BOOL pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ondataavailable( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ontransformnode( + VARIANT var1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument, 0x2933bf81, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument *This, + IXMLDOMDocumentType **docType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument *This, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument *This, + IXMLDOMElement *domElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument *This, + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument *This, + BSTR id, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument *This, + VARIANT var1, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument *This, + BSTR p, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument *This, + VARIANT var1); + + END_INTERFACE +} IXMLDOMDocumentVtbl; + +interface IXMLDOMDocument { + CONST_VTBL IXMLDOMDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocument_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocument_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocument_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocument_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocument_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocument_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocument_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocument_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocument_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocument_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocument_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocument_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocument_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocument_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocument_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocument_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocument_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocument_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocument_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocument_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocument_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocument_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocument_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocument_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocument_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocument_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocument_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocument_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocument_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocument_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocument_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocument_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocument_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument_get_doctype(This,docType) (This)->lpVtbl->get_doctype(This,docType) +#define IXMLDOMDocument_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument_get_documentElement(This,domElement) (This)->lpVtbl->get_documentElement(This,domElement) +#define IXMLDOMDocument_putref_documentElement(This,domElement) (This)->lpVtbl->putref_documentElement(This,domElement) +#define IXMLDOMDocument_createElement(This,p,domElement) (This)->lpVtbl->createElement(This,p,domElement) +#define IXMLDOMDocument_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument_createTextNode(This,p,text) (This)->lpVtbl->createTextNode(This,p,text) +#define IXMLDOMDocument_createComment(This,p,comment) (This)->lpVtbl->createComment(This,p,comment) +#define IXMLDOMDocument_createCDATASection(This,p,cdata) (This)->lpVtbl->createCDATASection(This,p,cdata) +#define IXMLDOMDocument_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument_createAttribute(This,p,attribute) (This)->lpVtbl->createAttribute(This,p,attribute) +#define IXMLDOMDocument_createEntityReference(This,p,entityRef) (This)->lpVtbl->createEntityReference(This,p,entityRef) +#define IXMLDOMDocument_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMDocument_createNode(This,var,name,uri,node) (This)->lpVtbl->createNode(This,var,name,uri,node) +#define IXMLDOMDocument_nodeFromID(This,id,node) (This)->lpVtbl->nodeFromID(This,id,node) +#define IXMLDOMDocument_load(This,var1,pbool) (This)->lpVtbl->load(This,var1,pbool) +#define IXMLDOMDocument_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument_get_parseError(This,err) (This)->lpVtbl->get_parseError(This,err) +#define IXMLDOMDocument_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMDocument_get_async(This,pbool) (This)->lpVtbl->get_async(This,pbool) +#define IXMLDOMDocument_put_async(This,pbool) (This)->lpVtbl->put_async(This,pbool) +#define IXMLDOMDocument_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument_loadXML(This,p,pbool) (This)->lpVtbl->loadXML(This,p,pbool) +#define IXMLDOMDocument_save(This,var1) (This)->lpVtbl->save(This,var1) +#define IXMLDOMDocument_get_validateOnParse(This,pbool) (This)->lpVtbl->get_validateOnParse(This,pbool) +#define IXMLDOMDocument_put_validateOnParse(This,pbool) (This)->lpVtbl->put_validateOnParse(This,pbool) +#define IXMLDOMDocument_get_resolveExternals(This,pbool) (This)->lpVtbl->get_resolveExternals(This,pbool) +#define IXMLDOMDocument_put_resolveExternals(This,pbool) (This)->lpVtbl->put_resolveExternals(This,pbool) +#define IXMLDOMDocument_get_preserveWhiteSpace(This,pbool) (This)->lpVtbl->get_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument_put_preserveWhiteSpace(This,pbool) (This)->lpVtbl->put_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument_put_onreadystatechange(This,var1) (This)->lpVtbl->put_onreadystatechange(This,var1) +#define IXMLDOMDocument_put_ondataavailable(This,var1) (This)->lpVtbl->put_ondataavailable(This,var1) +#define IXMLDOMDocument_put_ontransformnode(This,var1) (This)->lpVtbl->put_ontransformnode(This,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_QueryInterface(IXMLDOMDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument_AddRef(IXMLDOMDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument_Release(IXMLDOMDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_GetTypeInfoCount(IXMLDOMDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument_GetTypeInfo(IXMLDOMDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument_GetIDsOfNames(IXMLDOMDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument_Invoke(IXMLDOMDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeName(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeValue(IXMLDOMDocument* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_nodeValue(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeType(IXMLDOMDocument* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parentNode(IXMLDOMDocument* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_childNodes(IXMLDOMDocument* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_firstChild(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_lastChild(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_previousSibling(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nextSibling(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_attributes(IXMLDOMDocument* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument_insertBefore(IXMLDOMDocument* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_replaceChild(IXMLDOMDocument* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_removeChild(IXMLDOMDocument* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_appendChild(IXMLDOMDocument* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_hasChildNodes(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_ownerDocument(IXMLDOMDocument* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument_cloneNode(IXMLDOMDocument* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeTypeString(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_text(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_text(IXMLDOMDocument* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_specified(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_definition(IXMLDOMDocument* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_nodeTypedValue(IXMLDOMDocument* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_nodeTypedValue(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_dataType(IXMLDOMDocument* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_dataType(IXMLDOMDocument* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_xml(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_transformNode(IXMLDOMDocument* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_selectNodes(IXMLDOMDocument* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_selectSingleNode(IXMLDOMDocument* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parsed(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_namespaceURI(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_prefix(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_baseName(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_transformNodeToObject(IXMLDOMDocument* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument_get_doctype(IXMLDOMDocument* This,IXMLDOMDocumentType **docType) { + return This->lpVtbl->get_doctype(This,docType); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_implementation(IXMLDOMDocument* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_documentElement(IXMLDOMDocument* This,IXMLDOMElement **domElement) { + return This->lpVtbl->get_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_putref_documentElement(IXMLDOMDocument* This,IXMLDOMElement *domElement) { + return This->lpVtbl->putref_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createElement(IXMLDOMDocument* This,BSTR p,IXMLDOMElement **domElement) { + return This->lpVtbl->createElement(This,p,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createDocumentFragment(IXMLDOMDocument* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createTextNode(IXMLDOMDocument* This,BSTR p,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,p,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createComment(IXMLDOMDocument* This,BSTR p,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,p,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createCDATASection(IXMLDOMDocument* This,BSTR p,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,p,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createProcessingInstruction(IXMLDOMDocument* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createAttribute(IXMLDOMDocument* This,BSTR p,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,p,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createEntityReference(IXMLDOMDocument* This,BSTR p,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,p,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument_getElementsByTagName(IXMLDOMDocument* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument_createNode(IXMLDOMDocument* This,VARIANT var,BSTR name,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,var,name,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument_nodeFromID(IXMLDOMDocument* This,BSTR id,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,id,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument_load(IXMLDOMDocument* This,VARIANT var1,VARIANT_BOOL *pbool) { + return This->lpVtbl->load(This,var1,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_readyState(IXMLDOMDocument* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_parseError(IXMLDOMDocument* This,IXMLDOMParseError **err) { + return This->lpVtbl->get_parseError(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_url(IXMLDOMDocument* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_async(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_async(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_abort(IXMLDOMDocument* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument_loadXML(IXMLDOMDocument* This,BSTR p,VARIANT_BOOL *pbool) { + return This->lpVtbl->loadXML(This,p,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_save(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->save(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_validateOnParse(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_validateOnParse(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_resolveExternals(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_resolveExternals(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_get_preserveWhiteSpace(IXMLDOMDocument* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_preserveWhiteSpace(IXMLDOMDocument* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_onreadystatechange(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_onreadystatechange(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_ondataavailable(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_ondataavailable(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument_put_ontransformnode(IXMLDOMDocument* This,VARIANT var1) { + return This->lpVtbl->put_ontransformnode(This,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMSchemaCollection interface + */ +#ifndef __IXMLDOMSchemaCollection_INTERFACE_DEFINED__ +#define __IXMLDOMSchemaCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMSchemaCollection, 0x373984c8, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("373984c8-b845-449b-91e7-45ac83036ade") +IXMLDOMSchemaCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE add( + BSTR uri, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get( + BSTR uri, + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE remove( + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + LONG index, + BSTR *len) = 0; + + virtual HRESULT STDMETHODCALLTYPE addCollection( + IXMLDOMSchemaCollection *otherCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMSchemaCollection, 0x373984c8, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde) +#endif +#else +typedef struct IXMLDOMSchemaCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMSchemaCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMSchemaCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMSchemaCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMSchemaCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMSchemaCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMSchemaCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMSchemaCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMSchemaCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *add)( + IXMLDOMSchemaCollection *This, + BSTR uri, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get)( + IXMLDOMSchemaCollection *This, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *remove)( + IXMLDOMSchemaCollection *This, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMSchemaCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMSchemaCollection *This, + LONG index, + BSTR *len); + + HRESULT (STDMETHODCALLTYPE *addCollection)( + IXMLDOMSchemaCollection *This, + IXMLDOMSchemaCollection *otherCollection); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMSchemaCollection *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMSchemaCollectionVtbl; + +interface IXMLDOMSchemaCollection { + CONST_VTBL IXMLDOMSchemaCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMSchemaCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMSchemaCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMSchemaCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMSchemaCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMSchemaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMSchemaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMSchemaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMSchemaCollection methods ***/ +#define IXMLDOMSchemaCollection_add(This,uri,var) (This)->lpVtbl->add(This,uri,var) +#define IXMLDOMSchemaCollection_get(This,uri,node) (This)->lpVtbl->get(This,uri,node) +#define IXMLDOMSchemaCollection_remove(This,uri) (This)->lpVtbl->remove(This,uri) +#define IXMLDOMSchemaCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IXMLDOMSchemaCollection_get_namespaceURI(This,index,len) (This)->lpVtbl->get_namespaceURI(This,index,len) +#define IXMLDOMSchemaCollection_addCollection(This,otherCollection) (This)->lpVtbl->addCollection(This,otherCollection) +#define IXMLDOMSchemaCollection_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_QueryInterface(IXMLDOMSchemaCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection_AddRef(IXMLDOMSchemaCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection_Release(IXMLDOMSchemaCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_GetTypeInfoCount(IXMLDOMSchemaCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_GetTypeInfo(IXMLDOMSchemaCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_GetIDsOfNames(IXMLDOMSchemaCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_Invoke(IXMLDOMSchemaCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMSchemaCollection methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_add(IXMLDOMSchemaCollection* This,BSTR uri,VARIANT var) { + return This->lpVtbl->add(This,uri,var); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get(IXMLDOMSchemaCollection* This,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->get(This,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_remove(IXMLDOMSchemaCollection* This,BSTR uri) { + return This->lpVtbl->remove(This,uri); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get_length(IXMLDOMSchemaCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get_namespaceURI(IXMLDOMSchemaCollection* This,LONG index,BSTR *len) { + return This->lpVtbl->get_namespaceURI(This,index,len); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_addCollection(IXMLDOMSchemaCollection* This,IXMLDOMSchemaCollection *otherCollection) { + return This->lpVtbl->addCollection(This,otherCollection); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection_get__newEnum(IXMLDOMSchemaCollection* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMSchemaCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMSchemaCollection2 interface + */ +#ifndef __IXMLDOMSchemaCollection2_INTERFACE_DEFINED__ +#define __IXMLDOMSchemaCollection2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMSchemaCollection2, 0x50ea08b0, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b0-dd1b-4664-9a50-c2f40f4bd79a") +IXMLDOMSchemaCollection2 : public IXMLDOMSchemaCollection +{ + virtual HRESULT STDMETHODCALLTYPE validate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_validateOnLoad( + VARIANT_BOOL validateOnLoad) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_validateOnLoad( + VARIANT_BOOL *validateOnLoad) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSchema( + BSTR namespaceURI, + ISchema **schema) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDeclaration( + IXMLDOMNode *node, + ISchemaItem **item) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMSchemaCollection2, 0x50ea08b0, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct IXMLDOMSchemaCollection2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMSchemaCollection2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMSchemaCollection2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMSchemaCollection2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMSchemaCollection2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMSchemaCollection2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMSchemaCollection2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMSchemaCollection2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMSchemaCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *add)( + IXMLDOMSchemaCollection2 *This, + BSTR uri, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get)( + IXMLDOMSchemaCollection2 *This, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *remove)( + IXMLDOMSchemaCollection2 *This, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMSchemaCollection2 *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMSchemaCollection2 *This, + LONG index, + BSTR *len); + + HRESULT (STDMETHODCALLTYPE *addCollection)( + IXMLDOMSchemaCollection2 *This, + IXMLDOMSchemaCollection *otherCollection); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMSchemaCollection2 *This, + IUnknown **ppUnk); + + /*** IXMLDOMSchemaCollection2 methods ***/ + HRESULT (STDMETHODCALLTYPE *validate)( + IXMLDOMSchemaCollection2 *This); + + HRESULT (STDMETHODCALLTYPE *put_validateOnLoad)( + IXMLDOMSchemaCollection2 *This, + VARIANT_BOOL validateOnLoad); + + HRESULT (STDMETHODCALLTYPE *get_validateOnLoad)( + IXMLDOMSchemaCollection2 *This, + VARIANT_BOOL *validateOnLoad); + + HRESULT (STDMETHODCALLTYPE *getSchema)( + IXMLDOMSchemaCollection2 *This, + BSTR namespaceURI, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *getDeclaration)( + IXMLDOMSchemaCollection2 *This, + IXMLDOMNode *node, + ISchemaItem **item); + + END_INTERFACE +} IXMLDOMSchemaCollection2Vtbl; + +interface IXMLDOMSchemaCollection2 { + CONST_VTBL IXMLDOMSchemaCollection2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMSchemaCollection2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMSchemaCollection2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMSchemaCollection2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMSchemaCollection2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMSchemaCollection2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMSchemaCollection2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMSchemaCollection2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMSchemaCollection methods ***/ +#define IXMLDOMSchemaCollection2_add(This,uri,var) (This)->lpVtbl->add(This,uri,var) +#define IXMLDOMSchemaCollection2_get(This,uri,node) (This)->lpVtbl->get(This,uri,node) +#define IXMLDOMSchemaCollection2_remove(This,uri) (This)->lpVtbl->remove(This,uri) +#define IXMLDOMSchemaCollection2_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IXMLDOMSchemaCollection2_get_namespaceURI(This,index,len) (This)->lpVtbl->get_namespaceURI(This,index,len) +#define IXMLDOMSchemaCollection2_addCollection(This,otherCollection) (This)->lpVtbl->addCollection(This,otherCollection) +#define IXMLDOMSchemaCollection2_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +/*** IXMLDOMSchemaCollection2 methods ***/ +#define IXMLDOMSchemaCollection2_validate(This) (This)->lpVtbl->validate(This) +#define IXMLDOMSchemaCollection2_put_validateOnLoad(This,validateOnLoad) (This)->lpVtbl->put_validateOnLoad(This,validateOnLoad) +#define IXMLDOMSchemaCollection2_get_validateOnLoad(This,validateOnLoad) (This)->lpVtbl->get_validateOnLoad(This,validateOnLoad) +#define IXMLDOMSchemaCollection2_getSchema(This,namespaceURI,schema) (This)->lpVtbl->getSchema(This,namespaceURI,schema) +#define IXMLDOMSchemaCollection2_getDeclaration(This,node,item) (This)->lpVtbl->getDeclaration(This,node,item) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_QueryInterface(IXMLDOMSchemaCollection2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection2_AddRef(IXMLDOMSchemaCollection2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMSchemaCollection2_Release(IXMLDOMSchemaCollection2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_GetTypeInfoCount(IXMLDOMSchemaCollection2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_GetTypeInfo(IXMLDOMSchemaCollection2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_GetIDsOfNames(IXMLDOMSchemaCollection2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_Invoke(IXMLDOMSchemaCollection2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMSchemaCollection methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_add(IXMLDOMSchemaCollection2* This,BSTR uri,VARIANT var) { + return This->lpVtbl->add(This,uri,var); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get(IXMLDOMSchemaCollection2* This,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->get(This,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_remove(IXMLDOMSchemaCollection2* This,BSTR uri) { + return This->lpVtbl->remove(This,uri); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get_length(IXMLDOMSchemaCollection2* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get_namespaceURI(IXMLDOMSchemaCollection2* This,LONG index,BSTR *len) { + return This->lpVtbl->get_namespaceURI(This,index,len); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_addCollection(IXMLDOMSchemaCollection2* This,IXMLDOMSchemaCollection *otherCollection) { + return This->lpVtbl->addCollection(This,otherCollection); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get__newEnum(IXMLDOMSchemaCollection2* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +/*** IXMLDOMSchemaCollection2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_validate(IXMLDOMSchemaCollection2* This) { + return This->lpVtbl->validate(This); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_put_validateOnLoad(IXMLDOMSchemaCollection2* This,VARIANT_BOOL validateOnLoad) { + return This->lpVtbl->put_validateOnLoad(This,validateOnLoad); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_get_validateOnLoad(IXMLDOMSchemaCollection2* This,VARIANT_BOOL *validateOnLoad) { + return This->lpVtbl->get_validateOnLoad(This,validateOnLoad); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_getSchema(IXMLDOMSchemaCollection2* This,BSTR namespaceURI,ISchema **schema) { + return This->lpVtbl->getSchema(This,namespaceURI,schema); +} +static FORCEINLINE HRESULT IXMLDOMSchemaCollection2_getDeclaration(IXMLDOMSchemaCollection2* This,IXMLDOMNode *node,ISchemaItem **item) { + return This->lpVtbl->getDeclaration(This,node,item); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMSchemaCollection2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument2 interface + */ +#ifndef __IXMLDOMDocument2_INTERFACE_DEFINED__ +#define __IXMLDOMDocument2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument2, 0x2933bf95, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf95-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument2 : public IXMLDOMDocument +{ + virtual HRESULT STDMETHODCALLTYPE get_namespaces( + IXMLDOMSchemaCollection **schemaCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_schemas( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_schemas( + VARIANT var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE validate( + IXMLDOMParseError **err) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProperty( + BSTR p, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR p, + VARIANT *var) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument2, 0x2933bf95, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocument2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument2 *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument2 *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument2 *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument2 *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument2 *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument2 *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument2 *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument2 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument2 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument2 *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument2 *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument2 *This, + IXMLDOMDocumentType **docType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument2 *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument2 *This, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument2 *This, + IXMLDOMElement *domElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument2 *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument2 *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument2 *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument2 *This, + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument2 *This, + BSTR id, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument2 *This, + VARIANT var1, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument2 *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument2 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument2 *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument2 *This, + BSTR p, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument2 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument2 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument2 *This, + VARIANT var1); + + /*** IXMLDOMDocument2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + IXMLDOMDocument2 *This, + IXMLDOMSchemaCollection **schemaCollection); + + HRESULT (STDMETHODCALLTYPE *get_schemas)( + IXMLDOMDocument2 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *putref_schemas)( + IXMLDOMDocument2 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *validate)( + IXMLDOMDocument2 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *setProperty)( + IXMLDOMDocument2 *This, + BSTR p, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IXMLDOMDocument2 *This, + BSTR p, + VARIANT *var); + + END_INTERFACE +} IXMLDOMDocument2Vtbl; + +interface IXMLDOMDocument2 { + CONST_VTBL IXMLDOMDocument2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument2_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocument2_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocument2_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocument2_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocument2_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument2_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocument2_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocument2_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocument2_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocument2_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocument2_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument2_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocument2_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocument2_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocument2_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocument2_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocument2_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocument2_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocument2_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocument2_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocument2_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocument2_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocument2_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocument2_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocument2_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocument2_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocument2_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocument2_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocument2_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocument2_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocument2_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocument2_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocument2_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocument2_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocument2_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocument2_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument2_get_doctype(This,docType) (This)->lpVtbl->get_doctype(This,docType) +#define IXMLDOMDocument2_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument2_get_documentElement(This,domElement) (This)->lpVtbl->get_documentElement(This,domElement) +#define IXMLDOMDocument2_putref_documentElement(This,domElement) (This)->lpVtbl->putref_documentElement(This,domElement) +#define IXMLDOMDocument2_createElement(This,p,domElement) (This)->lpVtbl->createElement(This,p,domElement) +#define IXMLDOMDocument2_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument2_createTextNode(This,p,text) (This)->lpVtbl->createTextNode(This,p,text) +#define IXMLDOMDocument2_createComment(This,p,comment) (This)->lpVtbl->createComment(This,p,comment) +#define IXMLDOMDocument2_createCDATASection(This,p,cdata) (This)->lpVtbl->createCDATASection(This,p,cdata) +#define IXMLDOMDocument2_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument2_createAttribute(This,p,attribute) (This)->lpVtbl->createAttribute(This,p,attribute) +#define IXMLDOMDocument2_createEntityReference(This,p,entityRef) (This)->lpVtbl->createEntityReference(This,p,entityRef) +#define IXMLDOMDocument2_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMDocument2_createNode(This,var,name,uri,node) (This)->lpVtbl->createNode(This,var,name,uri,node) +#define IXMLDOMDocument2_nodeFromID(This,id,node) (This)->lpVtbl->nodeFromID(This,id,node) +#define IXMLDOMDocument2_load(This,var1,pbool) (This)->lpVtbl->load(This,var1,pbool) +#define IXMLDOMDocument2_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument2_get_parseError(This,err) (This)->lpVtbl->get_parseError(This,err) +#define IXMLDOMDocument2_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMDocument2_get_async(This,pbool) (This)->lpVtbl->get_async(This,pbool) +#define IXMLDOMDocument2_put_async(This,pbool) (This)->lpVtbl->put_async(This,pbool) +#define IXMLDOMDocument2_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument2_loadXML(This,p,pbool) (This)->lpVtbl->loadXML(This,p,pbool) +#define IXMLDOMDocument2_save(This,var1) (This)->lpVtbl->save(This,var1) +#define IXMLDOMDocument2_get_validateOnParse(This,pbool) (This)->lpVtbl->get_validateOnParse(This,pbool) +#define IXMLDOMDocument2_put_validateOnParse(This,pbool) (This)->lpVtbl->put_validateOnParse(This,pbool) +#define IXMLDOMDocument2_get_resolveExternals(This,pbool) (This)->lpVtbl->get_resolveExternals(This,pbool) +#define IXMLDOMDocument2_put_resolveExternals(This,pbool) (This)->lpVtbl->put_resolveExternals(This,pbool) +#define IXMLDOMDocument2_get_preserveWhiteSpace(This,pbool) (This)->lpVtbl->get_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument2_put_preserveWhiteSpace(This,pbool) (This)->lpVtbl->put_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument2_put_onreadystatechange(This,var1) (This)->lpVtbl->put_onreadystatechange(This,var1) +#define IXMLDOMDocument2_put_ondataavailable(This,var1) (This)->lpVtbl->put_ondataavailable(This,var1) +#define IXMLDOMDocument2_put_ontransformnode(This,var1) (This)->lpVtbl->put_ontransformnode(This,var1) +/*** IXMLDOMDocument2 methods ***/ +#define IXMLDOMDocument2_get_namespaces(This,schemaCollection) (This)->lpVtbl->get_namespaces(This,schemaCollection) +#define IXMLDOMDocument2_get_schemas(This,var1) (This)->lpVtbl->get_schemas(This,var1) +#define IXMLDOMDocument2_putref_schemas(This,var1) (This)->lpVtbl->putref_schemas(This,var1) +#define IXMLDOMDocument2_validate(This,err) (This)->lpVtbl->validate(This,err) +#define IXMLDOMDocument2_setProperty(This,p,var) (This)->lpVtbl->setProperty(This,p,var) +#define IXMLDOMDocument2_getProperty(This,p,var) (This)->lpVtbl->getProperty(This,p,var) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_QueryInterface(IXMLDOMDocument2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument2_AddRef(IXMLDOMDocument2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument2_Release(IXMLDOMDocument2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_GetTypeInfoCount(IXMLDOMDocument2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_GetTypeInfo(IXMLDOMDocument2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_GetIDsOfNames(IXMLDOMDocument2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_Invoke(IXMLDOMDocument2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeName(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeValue(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_nodeValue(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeType(IXMLDOMDocument2* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_parentNode(IXMLDOMDocument2* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_childNodes(IXMLDOMDocument2* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_firstChild(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_lastChild(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_previousSibling(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nextSibling(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_attributes(IXMLDOMDocument2* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_insertBefore(IXMLDOMDocument2* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_replaceChild(IXMLDOMDocument2* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_removeChild(IXMLDOMDocument2* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_appendChild(IXMLDOMDocument2* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_hasChildNodes(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_ownerDocument(IXMLDOMDocument2* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_cloneNode(IXMLDOMDocument2* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeTypeString(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_text(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_text(IXMLDOMDocument2* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_specified(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_definition(IXMLDOMDocument2* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_nodeTypedValue(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_nodeTypedValue(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_dataType(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_dataType(IXMLDOMDocument2* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_xml(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_transformNode(IXMLDOMDocument2* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_selectNodes(IXMLDOMDocument2* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_selectSingleNode(IXMLDOMDocument2* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_parsed(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_namespaceURI(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_prefix(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_baseName(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_transformNodeToObject(IXMLDOMDocument2* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_get_doctype(IXMLDOMDocument2* This,IXMLDOMDocumentType **docType) { + return This->lpVtbl->get_doctype(This,docType); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_implementation(IXMLDOMDocument2* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_documentElement(IXMLDOMDocument2* This,IXMLDOMElement **domElement) { + return This->lpVtbl->get_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_putref_documentElement(IXMLDOMDocument2* This,IXMLDOMElement *domElement) { + return This->lpVtbl->putref_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createElement(IXMLDOMDocument2* This,BSTR p,IXMLDOMElement **domElement) { + return This->lpVtbl->createElement(This,p,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createDocumentFragment(IXMLDOMDocument2* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createTextNode(IXMLDOMDocument2* This,BSTR p,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,p,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createComment(IXMLDOMDocument2* This,BSTR p,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,p,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createCDATASection(IXMLDOMDocument2* This,BSTR p,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,p,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createProcessingInstruction(IXMLDOMDocument2* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createAttribute(IXMLDOMDocument2* This,BSTR p,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,p,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createEntityReference(IXMLDOMDocument2* This,BSTR p,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,p,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_getElementsByTagName(IXMLDOMDocument2* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_createNode(IXMLDOMDocument2* This,VARIANT var,BSTR name,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,var,name,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_nodeFromID(IXMLDOMDocument2* This,BSTR id,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,id,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_load(IXMLDOMDocument2* This,VARIANT var1,VARIANT_BOOL *pbool) { + return This->lpVtbl->load(This,var1,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_readyState(IXMLDOMDocument2* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_parseError(IXMLDOMDocument2* This,IXMLDOMParseError **err) { + return This->lpVtbl->get_parseError(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_url(IXMLDOMDocument2* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_async(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_async(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_abort(IXMLDOMDocument2* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_loadXML(IXMLDOMDocument2* This,BSTR p,VARIANT_BOOL *pbool) { + return This->lpVtbl->loadXML(This,p,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_save(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->save(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_validateOnParse(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_validateOnParse(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_resolveExternals(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_resolveExternals(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_preserveWhiteSpace(IXMLDOMDocument2* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_preserveWhiteSpace(IXMLDOMDocument2* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_onreadystatechange(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_onreadystatechange(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_ondataavailable(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_ondataavailable(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_put_ontransformnode(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->put_ontransformnode(This,var1); +} +/*** IXMLDOMDocument2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument2_get_namespaces(IXMLDOMDocument2* This,IXMLDOMSchemaCollection **schemaCollection) { + return This->lpVtbl->get_namespaces(This,schemaCollection); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_get_schemas(IXMLDOMDocument2* This,VARIANT *var1) { + return This->lpVtbl->get_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_putref_schemas(IXMLDOMDocument2* This,VARIANT var1) { + return This->lpVtbl->putref_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_validate(IXMLDOMDocument2* This,IXMLDOMParseError **err) { + return This->lpVtbl->validate(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_setProperty(IXMLDOMDocument2* This,BSTR p,VARIANT var) { + return This->lpVtbl->setProperty(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMDocument2_getProperty(IXMLDOMDocument2* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getProperty(This,p,var); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocument3 interface + */ +#ifndef __IXMLDOMDocument3_INTERFACE_DEFINED__ +#define __IXMLDOMDocument3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocument3, 0x2933bf96, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf96-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocument3 : public IXMLDOMDocument2 +{ + virtual HRESULT STDMETHODCALLTYPE validateNode( + IXMLDOMNode *node, + IXMLDOMParseError **error) = 0; + + virtual HRESULT STDMETHODCALLTYPE importNode( + IXMLDOMNode *node, + VARIANT_BOOL deep, + IXMLDOMNode **clone) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocument3, 0x2933bf96, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocument3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocument3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocument3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocument3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocument3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocument3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocument3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocument3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocument3 *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocument3 *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocument3 *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocument3 *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocument3 *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocument3 *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocument3 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocument3 *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocument3 *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocument3 *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *get_doctype)( + IXMLDOMDocument3 *This, + IXMLDOMDocumentType **docType); + + HRESULT (STDMETHODCALLTYPE *get_implementation)( + IXMLDOMDocument3 *This, + IXMLDOMImplementation **impl); + + HRESULT (STDMETHODCALLTYPE *get_documentElement)( + IXMLDOMDocument3 *This, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *putref_documentElement)( + IXMLDOMDocument3 *This, + IXMLDOMElement *domElement); + + HRESULT (STDMETHODCALLTYPE *createElement)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMElement **domElement); + + HRESULT (STDMETHODCALLTYPE *createDocumentFragment)( + IXMLDOMDocument3 *This, + IXMLDOMDocumentFragment **docFrag); + + HRESULT (STDMETHODCALLTYPE *createTextNode)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMText **text); + + HRESULT (STDMETHODCALLTYPE *createComment)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMComment **comment); + + HRESULT (STDMETHODCALLTYPE *createCDATASection)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMCDATASection **cdata); + + HRESULT (STDMETHODCALLTYPE *createProcessingInstruction)( + IXMLDOMDocument3 *This, + BSTR target, + BSTR data, + IXMLDOMProcessingInstruction **pi); + + HRESULT (STDMETHODCALLTYPE *createAttribute)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMAttribute **attribute); + + HRESULT (STDMETHODCALLTYPE *createEntityReference)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMEntityReference **entityRef); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMDocument3 *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *createNode)( + IXMLDOMDocument3 *This, + VARIANT var, + BSTR name, + BSTR uri, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *nodeFromID)( + IXMLDOMDocument3 *This, + BSTR id, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *load)( + IXMLDOMDocument3 *This, + VARIANT var1, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLDOMDocument3 *This, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *get_parseError)( + IXMLDOMDocument3 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMDocument3 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_async)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_async)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLDOMDocument3 *This); + + HRESULT (STDMETHODCALLTYPE *loadXML)( + IXMLDOMDocument3 *This, + BSTR p, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *save)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_validateOnParse)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_validateOnParse)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_resolveExternals)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_resolveExternals)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *get_preserveWhiteSpace)( + IXMLDOMDocument3 *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *put_preserveWhiteSpace)( + IXMLDOMDocument3 *This, + VARIANT_BOOL pbool); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ondataavailable)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *put_ontransformnode)( + IXMLDOMDocument3 *This, + VARIANT var1); + + /*** IXMLDOMDocument2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + IXMLDOMDocument3 *This, + IXMLDOMSchemaCollection **schemaCollection); + + HRESULT (STDMETHODCALLTYPE *get_schemas)( + IXMLDOMDocument3 *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *putref_schemas)( + IXMLDOMDocument3 *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *validate)( + IXMLDOMDocument3 *This, + IXMLDOMParseError **err); + + HRESULT (STDMETHODCALLTYPE *setProperty)( + IXMLDOMDocument3 *This, + BSTR p, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IXMLDOMDocument3 *This, + BSTR p, + VARIANT *var); + + /*** IXMLDOMDocument3 methods ***/ + HRESULT (STDMETHODCALLTYPE *validateNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode *node, + IXMLDOMParseError **error); + + HRESULT (STDMETHODCALLTYPE *importNode)( + IXMLDOMDocument3 *This, + IXMLDOMNode *node, + VARIANT_BOOL deep, + IXMLDOMNode **clone); + + END_INTERFACE +} IXMLDOMDocument3Vtbl; + +interface IXMLDOMDocument3 { + CONST_VTBL IXMLDOMDocument3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocument3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocument3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocument3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocument3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocument3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocument3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocument3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocument3_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocument3_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocument3_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocument3_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocument3_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocument3_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocument3_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocument3_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocument3_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocument3_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocument3_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocument3_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocument3_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocument3_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocument3_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocument3_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocument3_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocument3_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocument3_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocument3_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocument3_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocument3_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocument3_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocument3_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocument3_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocument3_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocument3_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocument3_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocument3_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocument3_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocument3_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocument3_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocument3_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocument3_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocument3_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocument3_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocument methods ***/ +#define IXMLDOMDocument3_get_doctype(This,docType) (This)->lpVtbl->get_doctype(This,docType) +#define IXMLDOMDocument3_get_implementation(This,impl) (This)->lpVtbl->get_implementation(This,impl) +#define IXMLDOMDocument3_get_documentElement(This,domElement) (This)->lpVtbl->get_documentElement(This,domElement) +#define IXMLDOMDocument3_putref_documentElement(This,domElement) (This)->lpVtbl->putref_documentElement(This,domElement) +#define IXMLDOMDocument3_createElement(This,p,domElement) (This)->lpVtbl->createElement(This,p,domElement) +#define IXMLDOMDocument3_createDocumentFragment(This,docFrag) (This)->lpVtbl->createDocumentFragment(This,docFrag) +#define IXMLDOMDocument3_createTextNode(This,p,text) (This)->lpVtbl->createTextNode(This,p,text) +#define IXMLDOMDocument3_createComment(This,p,comment) (This)->lpVtbl->createComment(This,p,comment) +#define IXMLDOMDocument3_createCDATASection(This,p,cdata) (This)->lpVtbl->createCDATASection(This,p,cdata) +#define IXMLDOMDocument3_createProcessingInstruction(This,target,data,pi) (This)->lpVtbl->createProcessingInstruction(This,target,data,pi) +#define IXMLDOMDocument3_createAttribute(This,p,attribute) (This)->lpVtbl->createAttribute(This,p,attribute) +#define IXMLDOMDocument3_createEntityReference(This,p,entityRef) (This)->lpVtbl->createEntityReference(This,p,entityRef) +#define IXMLDOMDocument3_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMDocument3_createNode(This,var,name,uri,node) (This)->lpVtbl->createNode(This,var,name,uri,node) +#define IXMLDOMDocument3_nodeFromID(This,id,node) (This)->lpVtbl->nodeFromID(This,id,node) +#define IXMLDOMDocument3_load(This,var1,pbool) (This)->lpVtbl->load(This,var1,pbool) +#define IXMLDOMDocument3_get_readyState(This,value) (This)->lpVtbl->get_readyState(This,value) +#define IXMLDOMDocument3_get_parseError(This,err) (This)->lpVtbl->get_parseError(This,err) +#define IXMLDOMDocument3_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMDocument3_get_async(This,pbool) (This)->lpVtbl->get_async(This,pbool) +#define IXMLDOMDocument3_put_async(This,pbool) (This)->lpVtbl->put_async(This,pbool) +#define IXMLDOMDocument3_abort(This) (This)->lpVtbl->abort(This) +#define IXMLDOMDocument3_loadXML(This,p,pbool) (This)->lpVtbl->loadXML(This,p,pbool) +#define IXMLDOMDocument3_save(This,var1) (This)->lpVtbl->save(This,var1) +#define IXMLDOMDocument3_get_validateOnParse(This,pbool) (This)->lpVtbl->get_validateOnParse(This,pbool) +#define IXMLDOMDocument3_put_validateOnParse(This,pbool) (This)->lpVtbl->put_validateOnParse(This,pbool) +#define IXMLDOMDocument3_get_resolveExternals(This,pbool) (This)->lpVtbl->get_resolveExternals(This,pbool) +#define IXMLDOMDocument3_put_resolveExternals(This,pbool) (This)->lpVtbl->put_resolveExternals(This,pbool) +#define IXMLDOMDocument3_get_preserveWhiteSpace(This,pbool) (This)->lpVtbl->get_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument3_put_preserveWhiteSpace(This,pbool) (This)->lpVtbl->put_preserveWhiteSpace(This,pbool) +#define IXMLDOMDocument3_put_onreadystatechange(This,var1) (This)->lpVtbl->put_onreadystatechange(This,var1) +#define IXMLDOMDocument3_put_ondataavailable(This,var1) (This)->lpVtbl->put_ondataavailable(This,var1) +#define IXMLDOMDocument3_put_ontransformnode(This,var1) (This)->lpVtbl->put_ontransformnode(This,var1) +/*** IXMLDOMDocument2 methods ***/ +#define IXMLDOMDocument3_get_namespaces(This,schemaCollection) (This)->lpVtbl->get_namespaces(This,schemaCollection) +#define IXMLDOMDocument3_get_schemas(This,var1) (This)->lpVtbl->get_schemas(This,var1) +#define IXMLDOMDocument3_putref_schemas(This,var1) (This)->lpVtbl->putref_schemas(This,var1) +#define IXMLDOMDocument3_validate(This,err) (This)->lpVtbl->validate(This,err) +#define IXMLDOMDocument3_setProperty(This,p,var) (This)->lpVtbl->setProperty(This,p,var) +#define IXMLDOMDocument3_getProperty(This,p,var) (This)->lpVtbl->getProperty(This,p,var) +/*** IXMLDOMDocument3 methods ***/ +#define IXMLDOMDocument3_validateNode(This,node,error) (This)->lpVtbl->validateNode(This,node,error) +#define IXMLDOMDocument3_importNode(This,node,deep,clone) (This)->lpVtbl->importNode(This,node,deep,clone) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_QueryInterface(IXMLDOMDocument3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocument3_AddRef(IXMLDOMDocument3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocument3_Release(IXMLDOMDocument3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_GetTypeInfoCount(IXMLDOMDocument3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_GetTypeInfo(IXMLDOMDocument3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_GetIDsOfNames(IXMLDOMDocument3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_Invoke(IXMLDOMDocument3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeName(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeValue(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_nodeValue(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeType(IXMLDOMDocument3* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_parentNode(IXMLDOMDocument3* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_childNodes(IXMLDOMDocument3* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_firstChild(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_lastChild(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_previousSibling(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nextSibling(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_attributes(IXMLDOMDocument3* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_insertBefore(IXMLDOMDocument3* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_replaceChild(IXMLDOMDocument3* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_removeChild(IXMLDOMDocument3* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_appendChild(IXMLDOMDocument3* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_hasChildNodes(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_ownerDocument(IXMLDOMDocument3* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_cloneNode(IXMLDOMDocument3* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeTypeString(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_text(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_text(IXMLDOMDocument3* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_specified(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_definition(IXMLDOMDocument3* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_nodeTypedValue(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_nodeTypedValue(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_dataType(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_dataType(IXMLDOMDocument3* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_xml(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_transformNode(IXMLDOMDocument3* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_selectNodes(IXMLDOMDocument3* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_selectSingleNode(IXMLDOMDocument3* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_parsed(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_namespaceURI(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_prefix(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_baseName(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_transformNodeToObject(IXMLDOMDocument3* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocument methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_get_doctype(IXMLDOMDocument3* This,IXMLDOMDocumentType **docType) { + return This->lpVtbl->get_doctype(This,docType); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_implementation(IXMLDOMDocument3* This,IXMLDOMImplementation **impl) { + return This->lpVtbl->get_implementation(This,impl); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_documentElement(IXMLDOMDocument3* This,IXMLDOMElement **domElement) { + return This->lpVtbl->get_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_putref_documentElement(IXMLDOMDocument3* This,IXMLDOMElement *domElement) { + return This->lpVtbl->putref_documentElement(This,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createElement(IXMLDOMDocument3* This,BSTR p,IXMLDOMElement **domElement) { + return This->lpVtbl->createElement(This,p,domElement); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createDocumentFragment(IXMLDOMDocument3* This,IXMLDOMDocumentFragment **docFrag) { + return This->lpVtbl->createDocumentFragment(This,docFrag); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createTextNode(IXMLDOMDocument3* This,BSTR p,IXMLDOMText **text) { + return This->lpVtbl->createTextNode(This,p,text); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createComment(IXMLDOMDocument3* This,BSTR p,IXMLDOMComment **comment) { + return This->lpVtbl->createComment(This,p,comment); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createCDATASection(IXMLDOMDocument3* This,BSTR p,IXMLDOMCDATASection **cdata) { + return This->lpVtbl->createCDATASection(This,p,cdata); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createProcessingInstruction(IXMLDOMDocument3* This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) { + return This->lpVtbl->createProcessingInstruction(This,target,data,pi); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createAttribute(IXMLDOMDocument3* This,BSTR p,IXMLDOMAttribute **attribute) { + return This->lpVtbl->createAttribute(This,p,attribute); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createEntityReference(IXMLDOMDocument3* This,BSTR p,IXMLDOMEntityReference **entityRef) { + return This->lpVtbl->createEntityReference(This,p,entityRef); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_getElementsByTagName(IXMLDOMDocument3* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_createNode(IXMLDOMDocument3* This,VARIANT var,BSTR name,BSTR uri,IXMLDOMNode **node) { + return This->lpVtbl->createNode(This,var,name,uri,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_nodeFromID(IXMLDOMDocument3* This,BSTR id,IXMLDOMNode **node) { + return This->lpVtbl->nodeFromID(This,id,node); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_load(IXMLDOMDocument3* This,VARIANT var1,VARIANT_BOOL *pbool) { + return This->lpVtbl->load(This,var1,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_readyState(IXMLDOMDocument3* This,LONG *value) { + return This->lpVtbl->get_readyState(This,value); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_parseError(IXMLDOMDocument3* This,IXMLDOMParseError **err) { + return This->lpVtbl->get_parseError(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_url(IXMLDOMDocument3* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_async(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_async(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_async(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_abort(IXMLDOMDocument3* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_loadXML(IXMLDOMDocument3* This,BSTR p,VARIANT_BOOL *pbool) { + return This->lpVtbl->loadXML(This,p,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_save(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->save(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_validateOnParse(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_validateOnParse(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_validateOnParse(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_resolveExternals(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_resolveExternals(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_resolveExternals(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_preserveWhiteSpace(IXMLDOMDocument3* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_preserveWhiteSpace(IXMLDOMDocument3* This,VARIANT_BOOL pbool) { + return This->lpVtbl->put_preserveWhiteSpace(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_onreadystatechange(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_onreadystatechange(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_ondataavailable(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_ondataavailable(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_put_ontransformnode(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->put_ontransformnode(This,var1); +} +/*** IXMLDOMDocument2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_get_namespaces(IXMLDOMDocument3* This,IXMLDOMSchemaCollection **schemaCollection) { + return This->lpVtbl->get_namespaces(This,schemaCollection); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_get_schemas(IXMLDOMDocument3* This,VARIANT *var1) { + return This->lpVtbl->get_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_putref_schemas(IXMLDOMDocument3* This,VARIANT var1) { + return This->lpVtbl->putref_schemas(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_validate(IXMLDOMDocument3* This,IXMLDOMParseError **err) { + return This->lpVtbl->validate(This,err); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_setProperty(IXMLDOMDocument3* This,BSTR p,VARIANT var) { + return This->lpVtbl->setProperty(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_getProperty(IXMLDOMDocument3* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getProperty(This,p,var); +} +/*** IXMLDOMDocument3 methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocument3_validateNode(IXMLDOMDocument3* This,IXMLDOMNode *node,IXMLDOMParseError **error) { + return This->lpVtbl->validateNode(This,node,error); +} +static FORCEINLINE HRESULT IXMLDOMDocument3_importNode(IXMLDOMDocument3* This,IXMLDOMNode *node,VARIANT_BOOL deep,IXMLDOMNode **clone) { + return This->lpVtbl->importNode(This,node,deep,clone); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocument3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNodeList interface + */ +#ifndef __IXMLDOMNodeList_INTERFACE_DEFINED__ +#define __IXMLDOMNodeList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNodeList, 0x2933bf82, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf82-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNodeList : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG lIndex, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *lLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextNode( + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNodeList, 0x2933bf82, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNodeListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNodeList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNodeList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNodeList *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNodeList *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNodeList *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNodeList *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNodeList *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNodeList methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMNodeList *This, + LONG lIndex, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMNodeList *This, + LONG *lLength); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMNodeList *This, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMNodeList *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMNodeList *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMNodeListVtbl; + +interface IXMLDOMNodeList { + CONST_VTBL IXMLDOMNodeListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNodeList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNodeList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNodeList_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNodeList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNodeList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNodeList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNodeList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNodeList methods ***/ +#define IXMLDOMNodeList_get_item(This,lIndex,outNode) (This)->lpVtbl->get_item(This,lIndex,outNode) +#define IXMLDOMNodeList_get_length(This,lLength) (This)->lpVtbl->get_length(This,lLength) +#define IXMLDOMNodeList_nextNode(This,outNode) (This)->lpVtbl->nextNode(This,outNode) +#define IXMLDOMNodeList_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMNodeList_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_QueryInterface(IXMLDOMNodeList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNodeList_AddRef(IXMLDOMNodeList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNodeList_Release(IXMLDOMNodeList* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_GetTypeInfoCount(IXMLDOMNodeList* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_GetTypeInfo(IXMLDOMNodeList* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_GetIDsOfNames(IXMLDOMNodeList* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_Invoke(IXMLDOMNodeList* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNodeList methods ***/ +static FORCEINLINE HRESULT IXMLDOMNodeList_get_item(IXMLDOMNodeList* This,LONG lIndex,IXMLDOMNode **outNode) { + return This->lpVtbl->get_item(This,lIndex,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_get_length(IXMLDOMNodeList* This,LONG *lLength) { + return This->lpVtbl->get_length(This,lLength); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_nextNode(IXMLDOMNodeList* This,IXMLDOMNode **outNode) { + return This->lpVtbl->nextNode(This,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_reset(IXMLDOMNodeList* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMNodeList_get__newEnum(IXMLDOMNodeList* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNodeList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMSelection interface + */ +#ifndef __IXMLDOMSelection_INTERFACE_DEFINED__ +#define __IXMLDOMSelection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMSelection, 0xaa634fc7, 0x5888, 0x44a7, 0xa2,0x57, 0x3a,0x47,0x15,0x0d,0x3a,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aa634fc7-5888-44a7-a257-3a47150d3a0e") +IXMLDOMSelection : public IXMLDOMNodeList +{ + virtual HRESULT STDMETHODCALLTYPE get_expr( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_expr( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_context( + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_context( + IXMLDOMNode *pNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE peekNode( + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE matches( + IXMLDOMNode *pNode, + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNext( + IXMLDOMNode **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE clone( + IXMLDOMSelection **ppNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR p, + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProperty( + BSTR p, + VARIANT var) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMSelection, 0xaa634fc7, 0x5888, 0x44a7, 0xa2,0x57, 0x3a,0x47,0x15,0x0d,0x3a,0x0e) +#endif +#else +typedef struct IXMLDOMSelectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMSelection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMSelection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMSelection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMSelection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMSelection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMSelection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMSelection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNodeList methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMSelection *This, + LONG lIndex, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMSelection *This, + LONG *lLength); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMSelection *This, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMSelection *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMSelection *This, + IUnknown **ppUnk); + + /*** IXMLDOMSelection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_expr)( + IXMLDOMSelection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_expr)( + IXMLDOMSelection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_context)( + IXMLDOMSelection *This, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *putref_context)( + IXMLDOMSelection *This, + IXMLDOMNode *pNode); + + HRESULT (STDMETHODCALLTYPE *peekNode)( + IXMLDOMSelection *This, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *matches)( + IXMLDOMSelection *This, + IXMLDOMNode *pNode, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *removeNext)( + IXMLDOMSelection *This, + IXMLDOMNode **ppNode); + + HRESULT (STDMETHODCALLTYPE *removeAll)( + IXMLDOMSelection *This); + + HRESULT (STDMETHODCALLTYPE *clone)( + IXMLDOMSelection *This, + IXMLDOMSelection **ppNode); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IXMLDOMSelection *This, + BSTR p, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *setProperty)( + IXMLDOMSelection *This, + BSTR p, + VARIANT var); + + END_INTERFACE +} IXMLDOMSelectionVtbl; + +interface IXMLDOMSelection { + CONST_VTBL IXMLDOMSelectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMSelection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMSelection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMSelection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMSelection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNodeList methods ***/ +#define IXMLDOMSelection_get_item(This,lIndex,outNode) (This)->lpVtbl->get_item(This,lIndex,outNode) +#define IXMLDOMSelection_get_length(This,lLength) (This)->lpVtbl->get_length(This,lLength) +#define IXMLDOMSelection_nextNode(This,outNode) (This)->lpVtbl->nextNode(This,outNode) +#define IXMLDOMSelection_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMSelection_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +/*** IXMLDOMSelection methods ***/ +#define IXMLDOMSelection_get_expr(This,p) (This)->lpVtbl->get_expr(This,p) +#define IXMLDOMSelection_put_expr(This,p) (This)->lpVtbl->put_expr(This,p) +#define IXMLDOMSelection_get_context(This,ppNode) (This)->lpVtbl->get_context(This,ppNode) +#define IXMLDOMSelection_putref_context(This,pNode) (This)->lpVtbl->putref_context(This,pNode) +#define IXMLDOMSelection_peekNode(This,ppNode) (This)->lpVtbl->peekNode(This,ppNode) +#define IXMLDOMSelection_matches(This,pNode,ppNode) (This)->lpVtbl->matches(This,pNode,ppNode) +#define IXMLDOMSelection_removeNext(This,ppNode) (This)->lpVtbl->removeNext(This,ppNode) +#define IXMLDOMSelection_removeAll(This) (This)->lpVtbl->removeAll(This) +#define IXMLDOMSelection_clone(This,ppNode) (This)->lpVtbl->clone(This,ppNode) +#define IXMLDOMSelection_getProperty(This,p,var) (This)->lpVtbl->getProperty(This,p,var) +#define IXMLDOMSelection_setProperty(This,p,var) (This)->lpVtbl->setProperty(This,p,var) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_QueryInterface(IXMLDOMSelection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMSelection_AddRef(IXMLDOMSelection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMSelection_Release(IXMLDOMSelection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_GetTypeInfoCount(IXMLDOMSelection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMSelection_GetTypeInfo(IXMLDOMSelection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMSelection_GetIDsOfNames(IXMLDOMSelection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMSelection_Invoke(IXMLDOMSelection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNodeList methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_get_item(IXMLDOMSelection* This,LONG lIndex,IXMLDOMNode **outNode) { + return This->lpVtbl->get_item(This,lIndex,outNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_get_length(IXMLDOMSelection* This,LONG *lLength) { + return This->lpVtbl->get_length(This,lLength); +} +static FORCEINLINE HRESULT IXMLDOMSelection_nextNode(IXMLDOMSelection* This,IXMLDOMNode **outNode) { + return This->lpVtbl->nextNode(This,outNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_reset(IXMLDOMSelection* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMSelection_get__newEnum(IXMLDOMSelection* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +/*** IXMLDOMSelection methods ***/ +static FORCEINLINE HRESULT IXMLDOMSelection_get_expr(IXMLDOMSelection* This,BSTR *p) { + return This->lpVtbl->get_expr(This,p); +} +static FORCEINLINE HRESULT IXMLDOMSelection_put_expr(IXMLDOMSelection* This,BSTR p) { + return This->lpVtbl->put_expr(This,p); +} +static FORCEINLINE HRESULT IXMLDOMSelection_get_context(IXMLDOMSelection* This,IXMLDOMNode **ppNode) { + return This->lpVtbl->get_context(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_putref_context(IXMLDOMSelection* This,IXMLDOMNode *pNode) { + return This->lpVtbl->putref_context(This,pNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_peekNode(IXMLDOMSelection* This,IXMLDOMNode **ppNode) { + return This->lpVtbl->peekNode(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_matches(IXMLDOMSelection* This,IXMLDOMNode *pNode,IXMLDOMNode **ppNode) { + return This->lpVtbl->matches(This,pNode,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_removeNext(IXMLDOMSelection* This,IXMLDOMNode **ppNode) { + return This->lpVtbl->removeNext(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_removeAll(IXMLDOMSelection* This) { + return This->lpVtbl->removeAll(This); +} +static FORCEINLINE HRESULT IXMLDOMSelection_clone(IXMLDOMSelection* This,IXMLDOMSelection **ppNode) { + return This->lpVtbl->clone(This,ppNode); +} +static FORCEINLINE HRESULT IXMLDOMSelection_getProperty(IXMLDOMSelection* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getProperty(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMSelection_setProperty(IXMLDOMSelection* This,BSTR p,VARIANT var) { + return This->lpVtbl->setProperty(This,p,var); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMSelection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNamedNodeMap interface + */ +#ifndef __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ +#define __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNamedNodeMap, 0x2933bf83, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf83-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNamedNodeMap : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getNamedItem( + BSTR p, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setNamedItem( + IXMLDOMNode *newNode, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeNamedItem( + BSTR p, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG lIndex, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *lLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQualifiedItem( + BSTR name, + BSTR uri, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeQualifiedItem( + BSTR name, + BSTR uri, + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE nextNode( + IXMLDOMNode **outNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNamedNodeMap, 0x2933bf83, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNamedNodeMapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNamedNodeMap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNamedNodeMap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNamedNodeMap *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNamedNodeMap *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNamedNodeMap *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNamedNodeMap *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNamedNodeMap *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNamedNodeMap methods ***/ + HRESULT (STDMETHODCALLTYPE *getNamedItem)( + IXMLDOMNamedNodeMap *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *setNamedItem)( + IXMLDOMNamedNodeMap *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *removeNamedItem)( + IXMLDOMNamedNodeMap *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMNamedNodeMap *This, + LONG lIndex, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMNamedNodeMap *This, + LONG *lLength); + + HRESULT (STDMETHODCALLTYPE *getQualifiedItem)( + IXMLDOMNamedNodeMap *This, + BSTR name, + BSTR uri, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *removeQualifiedItem)( + IXMLDOMNamedNodeMap *This, + BSTR name, + BSTR uri, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *nextNode)( + IXMLDOMNamedNodeMap *This, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMNamedNodeMap *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMNamedNodeMap *This, + IUnknown **ppUnk); + + END_INTERFACE +} IXMLDOMNamedNodeMapVtbl; + +interface IXMLDOMNamedNodeMap { + CONST_VTBL IXMLDOMNamedNodeMapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNamedNodeMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNamedNodeMap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNamedNodeMap_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNamedNodeMap_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNamedNodeMap_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNamedNodeMap_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNamedNodeMap_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNamedNodeMap methods ***/ +#define IXMLDOMNamedNodeMap_getNamedItem(This,p,outNode) (This)->lpVtbl->getNamedItem(This,p,outNode) +#define IXMLDOMNamedNodeMap_setNamedItem(This,newNode,outNode) (This)->lpVtbl->setNamedItem(This,newNode,outNode) +#define IXMLDOMNamedNodeMap_removeNamedItem(This,p,outNode) (This)->lpVtbl->removeNamedItem(This,p,outNode) +#define IXMLDOMNamedNodeMap_get_item(This,lIndex,outNode) (This)->lpVtbl->get_item(This,lIndex,outNode) +#define IXMLDOMNamedNodeMap_get_length(This,lLength) (This)->lpVtbl->get_length(This,lLength) +#define IXMLDOMNamedNodeMap_getQualifiedItem(This,name,uri,outNode) (This)->lpVtbl->getQualifiedItem(This,name,uri,outNode) +#define IXMLDOMNamedNodeMap_removeQualifiedItem(This,name,uri,outNode) (This)->lpVtbl->removeQualifiedItem(This,name,uri,outNode) +#define IXMLDOMNamedNodeMap_nextNode(This,outNode) (This)->lpVtbl->nextNode(This,outNode) +#define IXMLDOMNamedNodeMap_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMNamedNodeMap_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_QueryInterface(IXMLDOMNamedNodeMap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNamedNodeMap_AddRef(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNamedNodeMap_Release(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetTypeInfoCount(IXMLDOMNamedNodeMap* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetTypeInfo(IXMLDOMNamedNodeMap* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_GetIDsOfNames(IXMLDOMNamedNodeMap* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_Invoke(IXMLDOMNamedNodeMap* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNamedNodeMap methods ***/ +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_getNamedItem(IXMLDOMNamedNodeMap* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->getNamedItem(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_setNamedItem(IXMLDOMNamedNodeMap* This,IXMLDOMNode *newNode,IXMLDOMNode **outNode) { + return This->lpVtbl->setNamedItem(This,newNode,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_removeNamedItem(IXMLDOMNamedNodeMap* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->removeNamedItem(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get_item(IXMLDOMNamedNodeMap* This,LONG lIndex,IXMLDOMNode **outNode) { + return This->lpVtbl->get_item(This,lIndex,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get_length(IXMLDOMNamedNodeMap* This,LONG *lLength) { + return This->lpVtbl->get_length(This,lLength); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_getQualifiedItem(IXMLDOMNamedNodeMap* This,BSTR name,BSTR uri,IXMLDOMNode **outNode) { + return This->lpVtbl->getQualifiedItem(This,name,uri,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_removeQualifiedItem(IXMLDOMNamedNodeMap* This,BSTR name,BSTR uri,IXMLDOMNode **outNode) { + return This->lpVtbl->removeQualifiedItem(This,name,uri,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_nextNode(IXMLDOMNamedNodeMap* This,IXMLDOMNode **outNode) { + return This->lpVtbl->nextNode(This,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_reset(IXMLDOMNamedNodeMap* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMNamedNodeMap_get__newEnum(IXMLDOMNamedNodeMap* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNamedNodeMap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocumentFragment interface + */ +#ifndef __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ +#define __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocumentFragment, 0x3efaa413, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa413-272f-11d2-836f-0000f87a7782") +IXMLDOMDocumentFragment : public IXMLDOMNode +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocumentFragment, 0x3efaa413, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMDocumentFragmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocumentFragment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocumentFragment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocumentFragment *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocumentFragment *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocumentFragment *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocumentFragment *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocumentFragment *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocumentFragment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocumentFragment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocumentFragment *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocumentFragment *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocumentFragment *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocumentFragment *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocumentFragment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocumentFragment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocumentFragment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocumentFragment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocumentFragment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocumentFragment *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocumentFragment *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocumentFragment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocumentFragment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocumentFragment *This, + IXMLDOMNode *domNode, + VARIANT var1); + + END_INTERFACE +} IXMLDOMDocumentFragmentVtbl; + +interface IXMLDOMDocumentFragment { + CONST_VTBL IXMLDOMDocumentFragmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocumentFragment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocumentFragment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocumentFragment_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocumentFragment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocumentFragment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocumentFragment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocumentFragment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocumentFragment_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocumentFragment_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocumentFragment_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocumentFragment_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocumentFragment_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocumentFragment_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocumentFragment_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocumentFragment_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocumentFragment_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocumentFragment_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocumentFragment_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocumentFragment_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocumentFragment_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocumentFragment_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocumentFragment_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocumentFragment_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocumentFragment_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocumentFragment_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocumentFragment_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocumentFragment_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocumentFragment_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocumentFragment_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocumentFragment_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocumentFragment_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocumentFragment_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocumentFragment_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocumentFragment_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocumentFragment_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocumentFragment_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocumentFragment_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocumentFragment_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocumentFragment_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocumentFragment_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocumentFragment_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocumentFragment_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocumentFragment_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_QueryInterface(IXMLDOMDocumentFragment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocumentFragment_AddRef(IXMLDOMDocumentFragment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocumentFragment_Release(IXMLDOMDocumentFragment* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetTypeInfoCount(IXMLDOMDocumentFragment* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetTypeInfo(IXMLDOMDocumentFragment* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_GetIDsOfNames(IXMLDOMDocumentFragment* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_Invoke(IXMLDOMDocumentFragment* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeName(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeValue(IXMLDOMDocumentFragment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_nodeValue(IXMLDOMDocumentFragment* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeType(IXMLDOMDocumentFragment* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_parentNode(IXMLDOMDocumentFragment* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_childNodes(IXMLDOMDocumentFragment* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_firstChild(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_lastChild(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_previousSibling(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nextSibling(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_attributes(IXMLDOMDocumentFragment* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_insertBefore(IXMLDOMDocumentFragment* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_replaceChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_removeChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_appendChild(IXMLDOMDocumentFragment* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_hasChildNodes(IXMLDOMDocumentFragment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_ownerDocument(IXMLDOMDocumentFragment* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_cloneNode(IXMLDOMDocumentFragment* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeTypeString(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_text(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_text(IXMLDOMDocumentFragment* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_specified(IXMLDOMDocumentFragment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_definition(IXMLDOMDocumentFragment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_nodeTypedValue(IXMLDOMDocumentFragment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_nodeTypedValue(IXMLDOMDocumentFragment* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_dataType(IXMLDOMDocumentFragment* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_put_dataType(IXMLDOMDocumentFragment* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_xml(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_transformNode(IXMLDOMDocumentFragment* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_selectNodes(IXMLDOMDocumentFragment* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_selectSingleNode(IXMLDOMDocumentFragment* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_parsed(IXMLDOMDocumentFragment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_namespaceURI(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_prefix(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_get_baseName(IXMLDOMDocumentFragment* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentFragment_transformNodeToObject(IXMLDOMDocumentFragment* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocumentFragment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMCharacterData interface + */ +#ifndef __IXMLDOMCharacterData_INTERFACE_DEFINED__ +#define __IXMLDOMCharacterData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMCharacterData, 0x2933bf84, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf84-7b36-11d2-b20e-00c04f983e60") +IXMLDOMCharacterData : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *len) = 0; + + virtual HRESULT STDMETHODCALLTYPE substringData( + LONG offset, + LONG count, + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendData( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertData( + LONG offset, + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE deleteData( + LONG offset, + LONG count) = 0; + + virtual HRESULT STDMETHODCALLTYPE replaceData( + LONG offset, + LONG count, + BSTR p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMCharacterData, 0x2933bf84, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCharacterDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMCharacterData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMCharacterData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMCharacterData *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMCharacterData *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMCharacterData *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMCharacterData *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMCharacterData *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMCharacterData *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMCharacterData *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMCharacterData *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMCharacterData *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMCharacterData *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMCharacterData *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMCharacterData *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMCharacterData *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMCharacterData *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMCharacterData *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMCharacterData *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMCharacterData *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMCharacterData *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMCharacterData *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMCharacterData *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMCharacterData *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMCharacterData *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMCharacterData *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMCharacterData *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMCharacterData *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMCharacterData *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMCharacterData *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMCharacterData *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMCharacterData *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMCharacterData *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMCharacterData *This, + LONG offset, + LONG count, + BSTR p); + + END_INTERFACE +} IXMLDOMCharacterDataVtbl; + +interface IXMLDOMCharacterData { + CONST_VTBL IXMLDOMCharacterDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMCharacterData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMCharacterData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMCharacterData_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMCharacterData_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMCharacterData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMCharacterData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMCharacterData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMCharacterData_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMCharacterData_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMCharacterData_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMCharacterData_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMCharacterData_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMCharacterData_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMCharacterData_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMCharacterData_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMCharacterData_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMCharacterData_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMCharacterData_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMCharacterData_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMCharacterData_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMCharacterData_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMCharacterData_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMCharacterData_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMCharacterData_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMCharacterData_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMCharacterData_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMCharacterData_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMCharacterData_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMCharacterData_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMCharacterData_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMCharacterData_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMCharacterData_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMCharacterData_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMCharacterData_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMCharacterData_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMCharacterData_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMCharacterData_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMCharacterData_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMCharacterData_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMCharacterData_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMCharacterData_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMCharacterData_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMCharacterData_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMCharacterData_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMCharacterData_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMCharacterData_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMCharacterData_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMCharacterData_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMCharacterData_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMCharacterData_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMCharacterData_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_QueryInterface(IXMLDOMCharacterData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMCharacterData_AddRef(IXMLDOMCharacterData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMCharacterData_Release(IXMLDOMCharacterData* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetTypeInfoCount(IXMLDOMCharacterData* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetTypeInfo(IXMLDOMCharacterData* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_GetIDsOfNames(IXMLDOMCharacterData* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_Invoke(IXMLDOMCharacterData* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeName(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeValue(IXMLDOMCharacterData* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_nodeValue(IXMLDOMCharacterData* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeType(IXMLDOMCharacterData* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_parentNode(IXMLDOMCharacterData* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_childNodes(IXMLDOMCharacterData* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_firstChild(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_lastChild(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_previousSibling(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nextSibling(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_attributes(IXMLDOMCharacterData* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_insertBefore(IXMLDOMCharacterData* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_replaceChild(IXMLDOMCharacterData* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_removeChild(IXMLDOMCharacterData* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_appendChild(IXMLDOMCharacterData* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_hasChildNodes(IXMLDOMCharacterData* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_ownerDocument(IXMLDOMCharacterData* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_cloneNode(IXMLDOMCharacterData* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeTypeString(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_text(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_text(IXMLDOMCharacterData* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_specified(IXMLDOMCharacterData* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_definition(IXMLDOMCharacterData* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_nodeTypedValue(IXMLDOMCharacterData* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_nodeTypedValue(IXMLDOMCharacterData* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_dataType(IXMLDOMCharacterData* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_dataType(IXMLDOMCharacterData* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_xml(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_transformNode(IXMLDOMCharacterData* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_selectNodes(IXMLDOMCharacterData* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_selectSingleNode(IXMLDOMCharacterData* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_parsed(IXMLDOMCharacterData* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_namespaceURI(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_prefix(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_baseName(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_transformNodeToObject(IXMLDOMCharacterData* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_data(IXMLDOMCharacterData* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_put_data(IXMLDOMCharacterData* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_get_length(IXMLDOMCharacterData* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_substringData(IXMLDOMCharacterData* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_appendData(IXMLDOMCharacterData* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_insertData(IXMLDOMCharacterData* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_deleteData(IXMLDOMCharacterData* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMCharacterData_replaceData(IXMLDOMCharacterData* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMCharacterData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMAttribute interface + */ +#ifndef __IXMLDOMAttribute_INTERFACE_DEFINED__ +#define __IXMLDOMAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMAttribute, 0x2933bf85, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf85-7b36-11d2-b20e-00c04f983e60") +IXMLDOMAttribute : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_value( + VARIANT *var1) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_value( + VARIANT var1) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMAttribute, 0x2933bf85, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMAttribute *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMAttribute *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMAttribute *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMAttribute *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMAttribute *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMAttribute *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMAttribute *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMAttribute *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMAttribute *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMAttribute *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMAttribute *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMAttribute *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMAttribute *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMAttribute *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMAttribute *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMAttribute *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMAttribute *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMAttribute *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMAttribute *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMAttribute *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLDOMAttribute *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_value)( + IXMLDOMAttribute *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_value)( + IXMLDOMAttribute *This, + VARIANT var1); + + END_INTERFACE +} IXMLDOMAttributeVtbl; + +interface IXMLDOMAttribute { + CONST_VTBL IXMLDOMAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMAttribute_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMAttribute_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMAttribute_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMAttribute_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMAttribute_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMAttribute_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMAttribute_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMAttribute_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMAttribute_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMAttribute_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMAttribute_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMAttribute_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMAttribute_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMAttribute_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMAttribute_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMAttribute_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMAttribute_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMAttribute_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMAttribute_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMAttribute_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMAttribute_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMAttribute_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMAttribute_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMAttribute_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMAttribute_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMAttribute_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMAttribute_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMAttribute_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMAttribute_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMAttribute_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMAttribute_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMAttribute_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMAttribute_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMAttribute_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMAttribute_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMAttribute_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMAttribute methods ***/ +#define IXMLDOMAttribute_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IXMLDOMAttribute_get_value(This,var1) (This)->lpVtbl->get_value(This,var1) +#define IXMLDOMAttribute_put_value(This,var1) (This)->lpVtbl->put_value(This,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_QueryInterface(IXMLDOMAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMAttribute_AddRef(IXMLDOMAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMAttribute_Release(IXMLDOMAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_GetTypeInfoCount(IXMLDOMAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_GetTypeInfo(IXMLDOMAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_GetIDsOfNames(IXMLDOMAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_Invoke(IXMLDOMAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeName(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeValue(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_nodeValue(IXMLDOMAttribute* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeType(IXMLDOMAttribute* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_parentNode(IXMLDOMAttribute* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_childNodes(IXMLDOMAttribute* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_firstChild(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_lastChild(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_previousSibling(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nextSibling(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_attributes(IXMLDOMAttribute* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_insertBefore(IXMLDOMAttribute* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_replaceChild(IXMLDOMAttribute* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_removeChild(IXMLDOMAttribute* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_appendChild(IXMLDOMAttribute* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_hasChildNodes(IXMLDOMAttribute* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_ownerDocument(IXMLDOMAttribute* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_cloneNode(IXMLDOMAttribute* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeTypeString(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_text(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_text(IXMLDOMAttribute* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_specified(IXMLDOMAttribute* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_definition(IXMLDOMAttribute* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_nodeTypedValue(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_nodeTypedValue(IXMLDOMAttribute* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_dataType(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_dataType(IXMLDOMAttribute* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_xml(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_transformNode(IXMLDOMAttribute* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_selectNodes(IXMLDOMAttribute* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_selectSingleNode(IXMLDOMAttribute* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_parsed(IXMLDOMAttribute* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_namespaceURI(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_prefix(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_baseName(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_transformNodeToObject(IXMLDOMAttribute* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMAttribute methods ***/ +static FORCEINLINE HRESULT IXMLDOMAttribute_get_name(IXMLDOMAttribute* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_get_value(IXMLDOMAttribute* This,VARIANT *var1) { + return This->lpVtbl->get_value(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMAttribute_put_value(IXMLDOMAttribute* This,VARIANT var1) { + return This->lpVtbl->put_value(This,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMElement interface + */ +#ifndef __IXMLDOMElement_INTERFACE_DEFINED__ +#define __IXMLDOMElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMElement, 0x2933bf86, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf86-7b36-11d2-b20e-00c04f983e60") +IXMLDOMElement : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_tagName( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttribute( + BSTR p, + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + BSTR p, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + BSTR p) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeNode( + BSTR p, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributeNode( + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttributeNode( + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode) = 0; + + virtual HRESULT STDMETHODCALLTYPE getElementsByTagName( + BSTR p, + IXMLDOMNodeList **resultList) = 0; + + virtual HRESULT STDMETHODCALLTYPE normalize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMElement, 0x2933bf86, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMElement *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMElement *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMElement *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMElement *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMElement *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMElement *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMElement *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMElement *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMElement *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMElement *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMElement *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMElement *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMElement *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMElement *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMElement *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMElement *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMElement *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMElement *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMElement *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMElement *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMElement *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_tagName)( + IXMLDOMElement *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *getAttribute)( + IXMLDOMElement *This, + BSTR p, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IXMLDOMElement *This, + BSTR p, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IXMLDOMElement *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *getAttributeNode)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *setAttributeNode)( + IXMLDOMElement *This, + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *removeAttributeNode)( + IXMLDOMElement *This, + IXMLDOMAttribute *domAttribute, + IXMLDOMAttribute **attributeNode); + + HRESULT (STDMETHODCALLTYPE *getElementsByTagName)( + IXMLDOMElement *This, + BSTR p, + IXMLDOMNodeList **resultList); + + HRESULT (STDMETHODCALLTYPE *normalize)( + IXMLDOMElement *This); + + END_INTERFACE +} IXMLDOMElementVtbl; + +interface IXMLDOMElement { + CONST_VTBL IXMLDOMElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMElement_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMElement_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMElement_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMElement_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMElement_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMElement_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMElement_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMElement_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMElement_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMElement_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMElement_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMElement_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMElement_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMElement_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMElement_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMElement_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMElement_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMElement_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMElement_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMElement_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMElement_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMElement_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMElement_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMElement_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMElement_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMElement_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMElement_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMElement_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMElement_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMElement_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMElement_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMElement_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMElement_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMElement_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMElement_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMElement_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMElement methods ***/ +#define IXMLDOMElement_get_tagName(This,p) (This)->lpVtbl->get_tagName(This,p) +#define IXMLDOMElement_getAttribute(This,p,var) (This)->lpVtbl->getAttribute(This,p,var) +#define IXMLDOMElement_setAttribute(This,p,var) (This)->lpVtbl->setAttribute(This,p,var) +#define IXMLDOMElement_removeAttribute(This,p) (This)->lpVtbl->removeAttribute(This,p) +#define IXMLDOMElement_getAttributeNode(This,p,attributeNode) (This)->lpVtbl->getAttributeNode(This,p,attributeNode) +#define IXMLDOMElement_setAttributeNode(This,domAttribute,attributeNode) (This)->lpVtbl->setAttributeNode(This,domAttribute,attributeNode) +#define IXMLDOMElement_removeAttributeNode(This,domAttribute,attributeNode) (This)->lpVtbl->removeAttributeNode(This,domAttribute,attributeNode) +#define IXMLDOMElement_getElementsByTagName(This,p,resultList) (This)->lpVtbl->getElementsByTagName(This,p,resultList) +#define IXMLDOMElement_normalize(This) (This)->lpVtbl->normalize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_QueryInterface(IXMLDOMElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMElement_AddRef(IXMLDOMElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMElement_Release(IXMLDOMElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_GetTypeInfoCount(IXMLDOMElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMElement_GetTypeInfo(IXMLDOMElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMElement_GetIDsOfNames(IXMLDOMElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMElement_Invoke(IXMLDOMElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeName(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeValue(IXMLDOMElement* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_nodeValue(IXMLDOMElement* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeType(IXMLDOMElement* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_parentNode(IXMLDOMElement* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_childNodes(IXMLDOMElement* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_firstChild(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_lastChild(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_previousSibling(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nextSibling(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_attributes(IXMLDOMElement* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMElement_insertBefore(IXMLDOMElement* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_replaceChild(IXMLDOMElement* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeChild(IXMLDOMElement* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_appendChild(IXMLDOMElement* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_hasChildNodes(IXMLDOMElement* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_ownerDocument(IXMLDOMElement* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMElement_cloneNode(IXMLDOMElement* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeTypeString(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_text(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_text(IXMLDOMElement* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_specified(IXMLDOMElement* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_definition(IXMLDOMElement* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_nodeTypedValue(IXMLDOMElement* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_nodeTypedValue(IXMLDOMElement* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_dataType(IXMLDOMElement* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMElement_put_dataType(IXMLDOMElement* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_xml(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_transformNode(IXMLDOMElement* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_selectNodes(IXMLDOMElement* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMElement_selectSingleNode(IXMLDOMElement* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_parsed(IXMLDOMElement* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_namespaceURI(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_prefix(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_get_baseName(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_transformNodeToObject(IXMLDOMElement* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMElement methods ***/ +static FORCEINLINE HRESULT IXMLDOMElement_get_tagName(IXMLDOMElement* This,BSTR *p) { + return This->lpVtbl->get_tagName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_getAttribute(IXMLDOMElement* This,BSTR p,VARIANT *var) { + return This->lpVtbl->getAttribute(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMElement_setAttribute(IXMLDOMElement* This,BSTR p,VARIANT var) { + return This->lpVtbl->setAttribute(This,p,var); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeAttribute(IXMLDOMElement* This,BSTR p) { + return This->lpVtbl->removeAttribute(This,p); +} +static FORCEINLINE HRESULT IXMLDOMElement_getAttributeNode(IXMLDOMElement* This,BSTR p,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->getAttributeNode(This,p,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_setAttributeNode(IXMLDOMElement* This,IXMLDOMAttribute *domAttribute,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->setAttributeNode(This,domAttribute,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_removeAttributeNode(IXMLDOMElement* This,IXMLDOMAttribute *domAttribute,IXMLDOMAttribute **attributeNode) { + return This->lpVtbl->removeAttributeNode(This,domAttribute,attributeNode); +} +static FORCEINLINE HRESULT IXMLDOMElement_getElementsByTagName(IXMLDOMElement* This,BSTR p,IXMLDOMNodeList **resultList) { + return This->lpVtbl->getElementsByTagName(This,p,resultList); +} +static FORCEINLINE HRESULT IXMLDOMElement_normalize(IXMLDOMElement* This) { + return This->lpVtbl->normalize(This); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMText interface + */ +#ifndef __IXMLDOMText_INTERFACE_DEFINED__ +#define __IXMLDOMText_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMText, 0x2933bf87, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf87-7b36-11d2-b20e-00c04f983e60") +IXMLDOMText : public IXMLDOMCharacterData +{ + virtual HRESULT STDMETHODCALLTYPE splitText( + LONG offset, + IXMLDOMText **txtNode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMText, 0x2933bf87, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMTextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMText *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMText *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMText *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMText *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMText *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMText *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMText *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMText *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMText *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMText *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMText *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMText *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMText *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMText *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMText *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMText *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMText *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMText *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMText *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMText *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMText *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMText *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMText *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMText *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMText *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMText *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMText *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMText *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMText *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMText *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMText *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMText *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMText *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMText *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMText *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMText *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMText *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMText *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMText *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMText *This, + LONG offset, + LONG count, + BSTR p); + + /*** IXMLDOMText methods ***/ + HRESULT (STDMETHODCALLTYPE *splitText)( + IXMLDOMText *This, + LONG offset, + IXMLDOMText **txtNode); + + END_INTERFACE +} IXMLDOMTextVtbl; + +interface IXMLDOMText { + CONST_VTBL IXMLDOMTextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMText_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMText_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMText_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMText_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMText_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMText_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMText_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMText_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMText_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMText_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMText_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMText_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMText_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMText_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMText_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMText_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMText_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMText_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMText_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMText_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMText_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMText_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMText_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMText_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMText_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMText_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMText_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMText_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMText_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMText_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMText_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMText_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMText_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMText_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMText_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMText_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMText_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMText_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMText_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMText_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMText_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMText_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMText_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMText_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMText_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMText_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMText_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMText_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMText_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMText_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +/*** IXMLDOMText methods ***/ +#define IXMLDOMText_splitText(This,offset,txtNode) (This)->lpVtbl->splitText(This,offset,txtNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_QueryInterface(IXMLDOMText* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMText_AddRef(IXMLDOMText* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMText_Release(IXMLDOMText* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_GetTypeInfoCount(IXMLDOMText* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMText_GetTypeInfo(IXMLDOMText* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMText_GetIDsOfNames(IXMLDOMText* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMText_Invoke(IXMLDOMText* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_get_nodeName(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeValue(IXMLDOMText* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_put_nodeValue(IXMLDOMText* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeType(IXMLDOMText* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMText_get_parentNode(IXMLDOMText* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMText_get_childNodes(IXMLDOMText* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMText_get_firstChild(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_lastChild(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_previousSibling(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nextSibling(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_attributes(IXMLDOMText* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMText_insertBefore(IXMLDOMText* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMText_replaceChild(IXMLDOMText* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMText_removeChild(IXMLDOMText* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMText_appendChild(IXMLDOMText* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMText_hasChildNodes(IXMLDOMText* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMText_get_ownerDocument(IXMLDOMText* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMText_cloneNode(IXMLDOMText* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeTypeString(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_text(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_put_text(IXMLDOMText* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_specified(IXMLDOMText* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMText_get_definition(IXMLDOMText* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_nodeTypedValue(IXMLDOMText* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_put_nodeTypedValue(IXMLDOMText* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_get_dataType(IXMLDOMText* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMText_put_dataType(IXMLDOMText* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_xml(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_transformNode(IXMLDOMText* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMText_selectNodes(IXMLDOMText* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMText_selectSingleNode(IXMLDOMText* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMText_get_parsed(IXMLDOMText* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMText_get_namespaceURI(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_prefix(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_get_baseName(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_transformNodeToObject(IXMLDOMText* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_get_data(IXMLDOMText* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_put_data(IXMLDOMText* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMText_get_length(IXMLDOMText* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMText_substringData(IXMLDOMText* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMText_appendData(IXMLDOMText* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMText_insertData(IXMLDOMText* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMText_deleteData(IXMLDOMText* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMText_replaceData(IXMLDOMText* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +/*** IXMLDOMText methods ***/ +static FORCEINLINE HRESULT IXMLDOMText_splitText(IXMLDOMText* This,LONG offset,IXMLDOMText **txtNode) { + return This->lpVtbl->splitText(This,offset,txtNode); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMText_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMComment interface + */ +#ifndef __IXMLDOMComment_INTERFACE_DEFINED__ +#define __IXMLDOMComment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMComment, 0x2933bf88, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf88-7b36-11d2-b20e-00c04f983e60") +IXMLDOMComment : public IXMLDOMCharacterData +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMComment, 0x2933bf88, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCommentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMComment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMComment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMComment *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMComment *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMComment *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMComment *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMComment *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMComment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMComment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMComment *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMComment *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMComment *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMComment *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMComment *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMComment *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMComment *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMComment *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMComment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMComment *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMComment *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMComment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMComment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMComment *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMComment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMComment *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMComment *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMComment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMComment *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMComment *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMComment *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMComment *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMComment *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMComment *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMComment *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMComment *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMComment *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMComment *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMComment *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMComment *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMComment *This, + LONG offset, + LONG count, + BSTR p); + + END_INTERFACE +} IXMLDOMCommentVtbl; + +interface IXMLDOMComment { + CONST_VTBL IXMLDOMCommentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMComment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMComment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMComment_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMComment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMComment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMComment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMComment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMComment_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMComment_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMComment_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMComment_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMComment_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMComment_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMComment_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMComment_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMComment_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMComment_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMComment_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMComment_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMComment_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMComment_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMComment_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMComment_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMComment_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMComment_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMComment_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMComment_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMComment_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMComment_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMComment_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMComment_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMComment_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMComment_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMComment_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMComment_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMComment_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMComment_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMComment_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMComment_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMComment_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMComment_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMComment_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMComment_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMComment_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMComment_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMComment_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMComment_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMComment_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMComment_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMComment_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMComment_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_QueryInterface(IXMLDOMComment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMComment_AddRef(IXMLDOMComment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMComment_Release(IXMLDOMComment* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_GetTypeInfoCount(IXMLDOMComment* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMComment_GetTypeInfo(IXMLDOMComment* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMComment_GetIDsOfNames(IXMLDOMComment* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMComment_Invoke(IXMLDOMComment* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeName(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeValue(IXMLDOMComment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_nodeValue(IXMLDOMComment* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeType(IXMLDOMComment* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_parentNode(IXMLDOMComment* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_childNodes(IXMLDOMComment* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_firstChild(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_lastChild(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_previousSibling(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nextSibling(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_attributes(IXMLDOMComment* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMComment_insertBefore(IXMLDOMComment* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_replaceChild(IXMLDOMComment* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_removeChild(IXMLDOMComment* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_appendChild(IXMLDOMComment* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_hasChildNodes(IXMLDOMComment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_ownerDocument(IXMLDOMComment* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMComment_cloneNode(IXMLDOMComment* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeTypeString(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_text(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_text(IXMLDOMComment* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_specified(IXMLDOMComment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_definition(IXMLDOMComment* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_nodeTypedValue(IXMLDOMComment* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_nodeTypedValue(IXMLDOMComment* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_dataType(IXMLDOMComment* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_dataType(IXMLDOMComment* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_xml(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_transformNode(IXMLDOMComment* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_selectNodes(IXMLDOMComment* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMComment_selectSingleNode(IXMLDOMComment* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_parsed(IXMLDOMComment* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_namespaceURI(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_prefix(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_baseName(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_transformNodeToObject(IXMLDOMComment* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMComment_get_data(IXMLDOMComment* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_put_data(IXMLDOMComment* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMComment_get_length(IXMLDOMComment* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMComment_substringData(IXMLDOMComment* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_appendData(IXMLDOMComment* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_insertData(IXMLDOMComment* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMComment_deleteData(IXMLDOMComment* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMComment_replaceData(IXMLDOMComment* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMComment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMProcessingInstruction interface + */ +#ifndef __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ +#define __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMProcessingInstruction, 0x2933bf89, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf89-7b36-11d2-b20e-00c04f983e60") +IXMLDOMProcessingInstruction : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_target( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_data( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_data( + BSTR p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMProcessingInstruction, 0x2933bf89, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMProcessingInstructionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMProcessingInstruction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMProcessingInstruction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMProcessingInstruction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMProcessingInstruction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMProcessingInstruction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMProcessingInstruction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMProcessingInstruction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMProcessingInstruction *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMProcessingInstruction *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMProcessingInstruction *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMProcessingInstruction *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMProcessingInstruction *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMProcessingInstruction *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMProcessingInstruction *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMProcessingInstruction *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMProcessingInstruction *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMProcessingInstruction *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMProcessingInstruction *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMProcessingInstruction *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMProcessingInstruction *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMProcessingInstruction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_target)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMProcessingInstruction *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMProcessingInstruction *This, + BSTR p); + + END_INTERFACE +} IXMLDOMProcessingInstructionVtbl; + +interface IXMLDOMProcessingInstruction { + CONST_VTBL IXMLDOMProcessingInstructionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMProcessingInstruction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMProcessingInstruction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMProcessingInstruction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMProcessingInstruction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMProcessingInstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMProcessingInstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMProcessingInstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMProcessingInstruction_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMProcessingInstruction_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMProcessingInstruction_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMProcessingInstruction_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMProcessingInstruction_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMProcessingInstruction_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMProcessingInstruction_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMProcessingInstruction_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMProcessingInstruction_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMProcessingInstruction_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMProcessingInstruction_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMProcessingInstruction_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMProcessingInstruction_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMProcessingInstruction_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMProcessingInstruction_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMProcessingInstruction_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMProcessingInstruction_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMProcessingInstruction_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMProcessingInstruction_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMProcessingInstruction_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMProcessingInstruction_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMProcessingInstruction_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMProcessingInstruction_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMProcessingInstruction_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMProcessingInstruction_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMProcessingInstruction_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMProcessingInstruction_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMProcessingInstruction_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMProcessingInstruction_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMProcessingInstruction_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMProcessingInstruction_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMProcessingInstruction_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMProcessingInstruction_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMProcessingInstruction_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMProcessingInstruction_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMProcessingInstruction_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMProcessingInstruction methods ***/ +#define IXMLDOMProcessingInstruction_get_target(This,p) (This)->lpVtbl->get_target(This,p) +#define IXMLDOMProcessingInstruction_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMProcessingInstruction_put_data(This,p) (This)->lpVtbl->put_data(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_QueryInterface(IXMLDOMProcessingInstruction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMProcessingInstruction_AddRef(IXMLDOMProcessingInstruction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMProcessingInstruction_Release(IXMLDOMProcessingInstruction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetTypeInfoCount(IXMLDOMProcessingInstruction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetTypeInfo(IXMLDOMProcessingInstruction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_GetIDsOfNames(IXMLDOMProcessingInstruction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_Invoke(IXMLDOMProcessingInstruction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeName(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeValue(IXMLDOMProcessingInstruction* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_nodeValue(IXMLDOMProcessingInstruction* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeType(IXMLDOMProcessingInstruction* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_parentNode(IXMLDOMProcessingInstruction* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_childNodes(IXMLDOMProcessingInstruction* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_firstChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_lastChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_previousSibling(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nextSibling(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_attributes(IXMLDOMProcessingInstruction* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_insertBefore(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_replaceChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_removeChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_appendChild(IXMLDOMProcessingInstruction* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_hasChildNodes(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_ownerDocument(IXMLDOMProcessingInstruction* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_cloneNode(IXMLDOMProcessingInstruction* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeTypeString(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_text(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_text(IXMLDOMProcessingInstruction* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_specified(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_definition(IXMLDOMProcessingInstruction* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_nodeTypedValue(IXMLDOMProcessingInstruction* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_nodeTypedValue(IXMLDOMProcessingInstruction* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_dataType(IXMLDOMProcessingInstruction* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_dataType(IXMLDOMProcessingInstruction* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_xml(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_transformNode(IXMLDOMProcessingInstruction* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_selectNodes(IXMLDOMProcessingInstruction* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_selectSingleNode(IXMLDOMProcessingInstruction* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_parsed(IXMLDOMProcessingInstruction* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_namespaceURI(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_prefix(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_baseName(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_transformNodeToObject(IXMLDOMProcessingInstruction* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMProcessingInstruction methods ***/ +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_target(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_target(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_get_data(IXMLDOMProcessingInstruction* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMProcessingInstruction_put_data(IXMLDOMProcessingInstruction* This,BSTR p) { + return This->lpVtbl->put_data(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMProcessingInstruction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMCDATASection interface + */ +#ifndef __IXMLDOMCDATASection_INTERFACE_DEFINED__ +#define __IXMLDOMCDATASection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMCDATASection, 0x2933bf8a, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8a-7b36-11d2-b20e-00c04f983e60") +IXMLDOMCDATASection : public IXMLDOMText +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMCDATASection, 0x2933bf8a, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMCDATASectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMCDATASection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMCDATASection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMCDATASection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMCDATASection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMCDATASection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMCDATASection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMCDATASection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMCDATASection *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMCDATASection *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMCDATASection *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMCDATASection *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMCDATASection *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMCDATASection *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMCDATASection *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMCDATASection *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMCDATASection *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMCDATASection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMCDATASection *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMCDATASection *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMCDATASection *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMCDATASection *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMCDATASection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMCDATASection *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMCDATASection *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMCDATASection *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMCDATASection *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMCDATASection *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMCharacterData methods ***/ + HRESULT (STDMETHODCALLTYPE *get_data)( + IXMLDOMCDATASection *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_data)( + IXMLDOMCDATASection *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMCDATASection *This, + LONG *len); + + HRESULT (STDMETHODCALLTYPE *substringData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *appendData)( + IXMLDOMCDATASection *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *insertData)( + IXMLDOMCDATASection *This, + LONG offset, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *deleteData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count); + + HRESULT (STDMETHODCALLTYPE *replaceData)( + IXMLDOMCDATASection *This, + LONG offset, + LONG count, + BSTR p); + + /*** IXMLDOMText methods ***/ + HRESULT (STDMETHODCALLTYPE *splitText)( + IXMLDOMCDATASection *This, + LONG offset, + IXMLDOMText **txtNode); + + END_INTERFACE +} IXMLDOMCDATASectionVtbl; + +interface IXMLDOMCDATASection { + CONST_VTBL IXMLDOMCDATASectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMCDATASection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMCDATASection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMCDATASection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMCDATASection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMCDATASection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMCDATASection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMCDATASection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMCDATASection_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMCDATASection_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMCDATASection_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMCDATASection_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMCDATASection_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMCDATASection_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMCDATASection_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMCDATASection_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMCDATASection_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMCDATASection_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMCDATASection_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMCDATASection_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMCDATASection_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMCDATASection_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMCDATASection_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMCDATASection_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMCDATASection_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMCDATASection_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMCDATASection_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMCDATASection_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMCDATASection_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMCDATASection_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMCDATASection_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMCDATASection_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMCDATASection_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMCDATASection_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMCDATASection_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMCDATASection_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMCDATASection_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMCDATASection_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMCDATASection_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMCDATASection_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMCDATASection_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMCDATASection_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMCDATASection_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMCDATASection_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMCharacterData methods ***/ +#define IXMLDOMCDATASection_get_data(This,p) (This)->lpVtbl->get_data(This,p) +#define IXMLDOMCDATASection_put_data(This,data) (This)->lpVtbl->put_data(This,data) +#define IXMLDOMCDATASection_get_length(This,len) (This)->lpVtbl->get_length(This,len) +#define IXMLDOMCDATASection_substringData(This,offset,count,p) (This)->lpVtbl->substringData(This,offset,count,p) +#define IXMLDOMCDATASection_appendData(This,p) (This)->lpVtbl->appendData(This,p) +#define IXMLDOMCDATASection_insertData(This,offset,p) (This)->lpVtbl->insertData(This,offset,p) +#define IXMLDOMCDATASection_deleteData(This,offset,count) (This)->lpVtbl->deleteData(This,offset,count) +#define IXMLDOMCDATASection_replaceData(This,offset,count,p) (This)->lpVtbl->replaceData(This,offset,count,p) +/*** IXMLDOMText methods ***/ +#define IXMLDOMCDATASection_splitText(This,offset,txtNode) (This)->lpVtbl->splitText(This,offset,txtNode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_QueryInterface(IXMLDOMCDATASection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMCDATASection_AddRef(IXMLDOMCDATASection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMCDATASection_Release(IXMLDOMCDATASection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetTypeInfoCount(IXMLDOMCDATASection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetTypeInfo(IXMLDOMCDATASection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_GetIDsOfNames(IXMLDOMCDATASection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_Invoke(IXMLDOMCDATASection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeName(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeValue(IXMLDOMCDATASection* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_nodeValue(IXMLDOMCDATASection* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeType(IXMLDOMCDATASection* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_parentNode(IXMLDOMCDATASection* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_childNodes(IXMLDOMCDATASection* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_firstChild(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_lastChild(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_previousSibling(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nextSibling(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_attributes(IXMLDOMCDATASection* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_insertBefore(IXMLDOMCDATASection* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_replaceChild(IXMLDOMCDATASection* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_removeChild(IXMLDOMCDATASection* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_appendChild(IXMLDOMCDATASection* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_hasChildNodes(IXMLDOMCDATASection* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_ownerDocument(IXMLDOMCDATASection* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_cloneNode(IXMLDOMCDATASection* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeTypeString(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_text(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_text(IXMLDOMCDATASection* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_specified(IXMLDOMCDATASection* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_definition(IXMLDOMCDATASection* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_nodeTypedValue(IXMLDOMCDATASection* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_nodeTypedValue(IXMLDOMCDATASection* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_dataType(IXMLDOMCDATASection* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_dataType(IXMLDOMCDATASection* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_xml(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_transformNode(IXMLDOMCDATASection* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_selectNodes(IXMLDOMCDATASection* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_selectSingleNode(IXMLDOMCDATASection* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_parsed(IXMLDOMCDATASection* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_namespaceURI(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_prefix(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_baseName(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_transformNodeToObject(IXMLDOMCDATASection* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMCharacterData methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_data(IXMLDOMCDATASection* This,BSTR *p) { + return This->lpVtbl->get_data(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_put_data(IXMLDOMCDATASection* This,BSTR data) { + return This->lpVtbl->put_data(This,data); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_get_length(IXMLDOMCDATASection* This,LONG *len) { + return This->lpVtbl->get_length(This,len); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_substringData(IXMLDOMCDATASection* This,LONG offset,LONG count,BSTR *p) { + return This->lpVtbl->substringData(This,offset,count,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_appendData(IXMLDOMCDATASection* This,BSTR p) { + return This->lpVtbl->appendData(This,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_insertData(IXMLDOMCDATASection* This,LONG offset,BSTR p) { + return This->lpVtbl->insertData(This,offset,p); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_deleteData(IXMLDOMCDATASection* This,LONG offset,LONG count) { + return This->lpVtbl->deleteData(This,offset,count); +} +static FORCEINLINE HRESULT IXMLDOMCDATASection_replaceData(IXMLDOMCDATASection* This,LONG offset,LONG count,BSTR p) { + return This->lpVtbl->replaceData(This,offset,count,p); +} +/*** IXMLDOMText methods ***/ +static FORCEINLINE HRESULT IXMLDOMCDATASection_splitText(IXMLDOMCDATASection* This,LONG offset,IXMLDOMText **txtNode) { + return This->lpVtbl->splitText(This,offset,txtNode); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMCDATASection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMDocumentType interface + */ +#ifndef __IXMLDOMDocumentType_INTERFACE_DEFINED__ +#define __IXMLDOMDocumentType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMDocumentType, 0x2933bf8b, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8b-7b36-11d2-b20e-00c04f983e60") +IXMLDOMDocumentType : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entities( + IXMLDOMNamedNodeMap **entityMap) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notations( + IXMLDOMNamedNodeMap **notationMap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMDocumentType, 0x2933bf8b, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMDocumentTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMDocumentType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMDocumentType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMDocumentType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMDocumentType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMDocumentType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMDocumentType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMDocumentType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMDocumentType *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMDocumentType *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMDocumentType *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMDocumentType *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMDocumentType *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMDocumentType *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMDocumentType *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMDocumentType *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMDocumentType *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMDocumentType *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMDocumentType *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMDocumentType *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMDocumentType *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMDocumentType *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMDocumentType *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMDocumentType *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMDocumentType *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMDocumentType *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMDocumentType *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMDocumentType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IXMLDOMDocumentType *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_entities)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **entityMap); + + HRESULT (STDMETHODCALLTYPE *get_notations)( + IXMLDOMDocumentType *This, + IXMLDOMNamedNodeMap **notationMap); + + END_INTERFACE +} IXMLDOMDocumentTypeVtbl; + +interface IXMLDOMDocumentType { + CONST_VTBL IXMLDOMDocumentTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMDocumentType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMDocumentType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMDocumentType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMDocumentType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMDocumentType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMDocumentType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMDocumentType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMDocumentType_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMDocumentType_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMDocumentType_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMDocumentType_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMDocumentType_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMDocumentType_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMDocumentType_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMDocumentType_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMDocumentType_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMDocumentType_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMDocumentType_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMDocumentType_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMDocumentType_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMDocumentType_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMDocumentType_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMDocumentType_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMDocumentType_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMDocumentType_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMDocumentType_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMDocumentType_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMDocumentType_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMDocumentType_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMDocumentType_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMDocumentType_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMDocumentType_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMDocumentType_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMDocumentType_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMDocumentType_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMDocumentType_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMDocumentType_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMDocumentType_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMDocumentType_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMDocumentType_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMDocumentType_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMDocumentType_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMDocumentType_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMDocumentType methods ***/ +#define IXMLDOMDocumentType_get_name(This,p) (This)->lpVtbl->get_name(This,p) +#define IXMLDOMDocumentType_get_entities(This,entityMap) (This)->lpVtbl->get_entities(This,entityMap) +#define IXMLDOMDocumentType_get_notations(This,notationMap) (This)->lpVtbl->get_notations(This,notationMap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_QueryInterface(IXMLDOMDocumentType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMDocumentType_AddRef(IXMLDOMDocumentType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMDocumentType_Release(IXMLDOMDocumentType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetTypeInfoCount(IXMLDOMDocumentType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetTypeInfo(IXMLDOMDocumentType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_GetIDsOfNames(IXMLDOMDocumentType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_Invoke(IXMLDOMDocumentType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeName(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeValue(IXMLDOMDocumentType* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_nodeValue(IXMLDOMDocumentType* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeType(IXMLDOMDocumentType* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_parentNode(IXMLDOMDocumentType* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_childNodes(IXMLDOMDocumentType* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_firstChild(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_lastChild(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_previousSibling(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nextSibling(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_attributes(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_insertBefore(IXMLDOMDocumentType* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_replaceChild(IXMLDOMDocumentType* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_removeChild(IXMLDOMDocumentType* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_appendChild(IXMLDOMDocumentType* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_hasChildNodes(IXMLDOMDocumentType* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_ownerDocument(IXMLDOMDocumentType* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_cloneNode(IXMLDOMDocumentType* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeTypeString(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_text(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_text(IXMLDOMDocumentType* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_specified(IXMLDOMDocumentType* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_definition(IXMLDOMDocumentType* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_nodeTypedValue(IXMLDOMDocumentType* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_nodeTypedValue(IXMLDOMDocumentType* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_dataType(IXMLDOMDocumentType* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_put_dataType(IXMLDOMDocumentType* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_xml(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_transformNode(IXMLDOMDocumentType* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_selectNodes(IXMLDOMDocumentType* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_selectSingleNode(IXMLDOMDocumentType* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_parsed(IXMLDOMDocumentType* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_namespaceURI(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_prefix(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_baseName(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_transformNodeToObject(IXMLDOMDocumentType* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMDocumentType methods ***/ +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_name(IXMLDOMDocumentType* This,BSTR *p) { + return This->lpVtbl->get_name(This,p); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_entities(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **entityMap) { + return This->lpVtbl->get_entities(This,entityMap); +} +static FORCEINLINE HRESULT IXMLDOMDocumentType_get_notations(IXMLDOMDocumentType* This,IXMLDOMNamedNodeMap **notationMap) { + return This->lpVtbl->get_notations(This,notationMap); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMDocumentType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMNotation interface + */ +#ifndef __IXMLDOMNotation_INTERFACE_DEFINED__ +#define __IXMLDOMNotation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMNotation, 0x2933bf8c, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8c-7b36-11d2-b20e-00c04f983e60") +IXMLDOMNotation : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_publicId( + VARIANT *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + VARIANT *id) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMNotation, 0x2933bf8c, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMNotationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMNotation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMNotation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMNotation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMNotation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMNotation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMNotation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMNotation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMNotation *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMNotation *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMNotation *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMNotation *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMNotation *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMNotation *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMNotation *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMNotation *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMNotation *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMNotation *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMNotation *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMNotation *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMNotation *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMNotation *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMNotation *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMNotation *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMNotation *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMNotation *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMNotation *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMNotation *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMNotation *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMNotation *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMNotation *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMNotation *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMNotation *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMNotation *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMNotation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IXMLDOMNotation *This, + VARIANT *id); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IXMLDOMNotation *This, + VARIANT *id); + + END_INTERFACE +} IXMLDOMNotationVtbl; + +interface IXMLDOMNotation { + CONST_VTBL IXMLDOMNotationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMNotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMNotation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMNotation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMNotation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMNotation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMNotation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMNotation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMNotation_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMNotation_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMNotation_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMNotation_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMNotation_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMNotation_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMNotation_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMNotation_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMNotation_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMNotation_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMNotation_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMNotation_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMNotation_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMNotation_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMNotation_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMNotation_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMNotation_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMNotation_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMNotation_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMNotation_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMNotation_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMNotation_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMNotation_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMNotation_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMNotation_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMNotation_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMNotation_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMNotation_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMNotation_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMNotation_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMNotation_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMNotation_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMNotation_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMNotation_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMNotation_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMNotation_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMNotation methods ***/ +#define IXMLDOMNotation_get_publicId(This,id) (This)->lpVtbl->get_publicId(This,id) +#define IXMLDOMNotation_get_systemId(This,id) (This)->lpVtbl->get_systemId(This,id) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_QueryInterface(IXMLDOMNotation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMNotation_AddRef(IXMLDOMNotation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMNotation_Release(IXMLDOMNotation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_GetTypeInfoCount(IXMLDOMNotation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMNotation_GetTypeInfo(IXMLDOMNotation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMNotation_GetIDsOfNames(IXMLDOMNotation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMNotation_Invoke(IXMLDOMNotation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeName(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeValue(IXMLDOMNotation* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_nodeValue(IXMLDOMNotation* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeType(IXMLDOMNotation* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_parentNode(IXMLDOMNotation* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_childNodes(IXMLDOMNotation* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_firstChild(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_lastChild(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_previousSibling(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nextSibling(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_attributes(IXMLDOMNotation* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMNotation_insertBefore(IXMLDOMNotation* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_replaceChild(IXMLDOMNotation* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_removeChild(IXMLDOMNotation* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_appendChild(IXMLDOMNotation* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_hasChildNodes(IXMLDOMNotation* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_ownerDocument(IXMLDOMNotation* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMNotation_cloneNode(IXMLDOMNotation* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeTypeString(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_text(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_text(IXMLDOMNotation* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_specified(IXMLDOMNotation* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_definition(IXMLDOMNotation* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_nodeTypedValue(IXMLDOMNotation* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_nodeTypedValue(IXMLDOMNotation* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_dataType(IXMLDOMNotation* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMNotation_put_dataType(IXMLDOMNotation* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_xml(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_transformNode(IXMLDOMNotation* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_selectNodes(IXMLDOMNotation* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMNotation_selectSingleNode(IXMLDOMNotation* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_parsed(IXMLDOMNotation* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_namespaceURI(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_prefix(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_baseName(IXMLDOMNotation* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMNotation_transformNodeToObject(IXMLDOMNotation* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMNotation methods ***/ +static FORCEINLINE HRESULT IXMLDOMNotation_get_publicId(IXMLDOMNotation* This,VARIANT *id) { + return This->lpVtbl->get_publicId(This,id); +} +static FORCEINLINE HRESULT IXMLDOMNotation_get_systemId(IXMLDOMNotation* This,VARIANT *id) { + return This->lpVtbl->get_systemId(This,id); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMNotation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMEntity interface + */ +#ifndef __IXMLDOMEntity_INTERFACE_DEFINED__ +#define __IXMLDOMEntity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMEntity, 0x2933bf8d, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8d-7b36-11d2-b20e-00c04f983e60") +IXMLDOMEntity : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE get_publicId( + VARIANT *id1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + VARIANT *id1) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notationName( + BSTR *p) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMEntity, 0x2933bf8d, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMEntityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMEntity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMEntity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMEntity *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMEntity *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMEntity *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMEntity *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMEntity *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMEntity *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMEntity *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMEntity *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMEntity *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMEntity *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMEntity *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMEntity *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMEntity *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMEntity *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMEntity *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMEntity *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMEntity *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMEntity *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMEntity *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMEntity *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMEntity *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMEntity *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMEntity *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMEntity *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMEntity *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMEntity *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMEntity *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMEntity *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMEntity *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMEntity *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMEntity *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXMLDOMEntity methods ***/ + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IXMLDOMEntity *This, + VARIANT *id1); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IXMLDOMEntity *This, + VARIANT *id1); + + HRESULT (STDMETHODCALLTYPE *get_notationName)( + IXMLDOMEntity *This, + BSTR *p); + + END_INTERFACE +} IXMLDOMEntityVtbl; + +interface IXMLDOMEntity { + CONST_VTBL IXMLDOMEntityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMEntity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMEntity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMEntity_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMEntity_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMEntity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMEntity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMEntity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMEntity_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMEntity_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMEntity_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMEntity_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMEntity_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMEntity_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMEntity_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMEntity_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMEntity_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMEntity_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMEntity_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMEntity_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMEntity_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMEntity_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMEntity_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMEntity_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMEntity_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMEntity_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMEntity_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMEntity_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMEntity_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMEntity_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMEntity_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMEntity_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMEntity_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMEntity_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMEntity_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMEntity_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMEntity_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMEntity_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMEntity_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMEntity_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMEntity_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMEntity_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMEntity_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMEntity_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXMLDOMEntity methods ***/ +#define IXMLDOMEntity_get_publicId(This,id1) (This)->lpVtbl->get_publicId(This,id1) +#define IXMLDOMEntity_get_systemId(This,id1) (This)->lpVtbl->get_systemId(This,id1) +#define IXMLDOMEntity_get_notationName(This,p) (This)->lpVtbl->get_notationName(This,p) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_QueryInterface(IXMLDOMEntity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMEntity_AddRef(IXMLDOMEntity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMEntity_Release(IXMLDOMEntity* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_GetTypeInfoCount(IXMLDOMEntity* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMEntity_GetTypeInfo(IXMLDOMEntity* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMEntity_GetIDsOfNames(IXMLDOMEntity* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMEntity_Invoke(IXMLDOMEntity* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeName(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeValue(IXMLDOMEntity* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_nodeValue(IXMLDOMEntity* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeType(IXMLDOMEntity* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_parentNode(IXMLDOMEntity* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_childNodes(IXMLDOMEntity* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_firstChild(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_lastChild(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_previousSibling(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nextSibling(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_attributes(IXMLDOMEntity* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMEntity_insertBefore(IXMLDOMEntity* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_replaceChild(IXMLDOMEntity* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_removeChild(IXMLDOMEntity* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_appendChild(IXMLDOMEntity* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_hasChildNodes(IXMLDOMEntity* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_ownerDocument(IXMLDOMEntity* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMEntity_cloneNode(IXMLDOMEntity* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeTypeString(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_text(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_text(IXMLDOMEntity* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_specified(IXMLDOMEntity* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_definition(IXMLDOMEntity* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_nodeTypedValue(IXMLDOMEntity* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_nodeTypedValue(IXMLDOMEntity* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_dataType(IXMLDOMEntity* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_put_dataType(IXMLDOMEntity* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_xml(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_transformNode(IXMLDOMEntity* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_selectNodes(IXMLDOMEntity* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntity_selectSingleNode(IXMLDOMEntity* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_parsed(IXMLDOMEntity* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_namespaceURI(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_prefix(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_baseName(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntity_transformNodeToObject(IXMLDOMEntity* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXMLDOMEntity methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntity_get_publicId(IXMLDOMEntity* This,VARIANT *id1) { + return This->lpVtbl->get_publicId(This,id1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_systemId(IXMLDOMEntity* This,VARIANT *id1) { + return This->lpVtbl->get_systemId(This,id1); +} +static FORCEINLINE HRESULT IXMLDOMEntity_get_notationName(IXMLDOMEntity* This,BSTR *p) { + return This->lpVtbl->get_notationName(This,p); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMEntity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMEntityReference interface + */ +#ifndef __IXMLDOMEntityReference_INTERFACE_DEFINED__ +#define __IXMLDOMEntityReference_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMEntityReference, 0x2933bf8e, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8e-7b36-11d2-b20e-00c04f983e60") +IXMLDOMEntityReference : public IXMLDOMNode +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMEntityReference, 0x2933bf8e, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMEntityReferenceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMEntityReference *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMEntityReference *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMEntityReference *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMEntityReference *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMEntityReference *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMEntityReference *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMEntityReference *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXMLDOMEntityReference *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXMLDOMEntityReference *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXMLDOMEntityReference *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXMLDOMEntityReference *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXMLDOMEntityReference *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXMLDOMEntityReference *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXMLDOMEntityReference *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXMLDOMEntityReference *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXMLDOMEntityReference *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXMLDOMEntityReference *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXMLDOMEntityReference *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXMLDOMEntityReference *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXMLDOMEntityReference *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXMLDOMEntityReference *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXMLDOMEntityReference *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXMLDOMEntityReference *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXMLDOMEntityReference *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXMLDOMEntityReference *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXMLDOMEntityReference *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXMLDOMEntityReference *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXMLDOMEntityReference *This, + IXMLDOMNode *domNode, + VARIANT var1); + + END_INTERFACE +} IXMLDOMEntityReferenceVtbl; + +interface IXMLDOMEntityReference { + CONST_VTBL IXMLDOMEntityReferenceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMEntityReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMEntityReference_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMEntityReference_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMEntityReference_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMEntityReference_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMEntityReference_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMEntityReference_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXMLDOMEntityReference_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXMLDOMEntityReference_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXMLDOMEntityReference_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXMLDOMEntityReference_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXMLDOMEntityReference_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXMLDOMEntityReference_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXMLDOMEntityReference_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXMLDOMEntityReference_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXMLDOMEntityReference_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXMLDOMEntityReference_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXMLDOMEntityReference_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXMLDOMEntityReference_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXMLDOMEntityReference_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXMLDOMEntityReference_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXMLDOMEntityReference_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXMLDOMEntityReference_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXMLDOMEntityReference_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXMLDOMEntityReference_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXMLDOMEntityReference_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXMLDOMEntityReference_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXMLDOMEntityReference_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXMLDOMEntityReference_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXMLDOMEntityReference_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXMLDOMEntityReference_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXMLDOMEntityReference_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXMLDOMEntityReference_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXMLDOMEntityReference_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXMLDOMEntityReference_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXMLDOMEntityReference_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXMLDOMEntityReference_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXMLDOMEntityReference_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXMLDOMEntityReference_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXMLDOMEntityReference_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXMLDOMEntityReference_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXMLDOMEntityReference_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXMLDOMEntityReference_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_QueryInterface(IXMLDOMEntityReference* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMEntityReference_AddRef(IXMLDOMEntityReference* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMEntityReference_Release(IXMLDOMEntityReference* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetTypeInfoCount(IXMLDOMEntityReference* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetTypeInfo(IXMLDOMEntityReference* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_GetIDsOfNames(IXMLDOMEntityReference* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_Invoke(IXMLDOMEntityReference* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeName(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeValue(IXMLDOMEntityReference* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_nodeValue(IXMLDOMEntityReference* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeType(IXMLDOMEntityReference* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_parentNode(IXMLDOMEntityReference* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_childNodes(IXMLDOMEntityReference* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_firstChild(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_lastChild(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_previousSibling(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nextSibling(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_attributes(IXMLDOMEntityReference* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_insertBefore(IXMLDOMEntityReference* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_replaceChild(IXMLDOMEntityReference* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_removeChild(IXMLDOMEntityReference* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_appendChild(IXMLDOMEntityReference* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_hasChildNodes(IXMLDOMEntityReference* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_ownerDocument(IXMLDOMEntityReference* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_cloneNode(IXMLDOMEntityReference* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeTypeString(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_text(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_text(IXMLDOMEntityReference* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_specified(IXMLDOMEntityReference* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_definition(IXMLDOMEntityReference* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_nodeTypedValue(IXMLDOMEntityReference* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_nodeTypedValue(IXMLDOMEntityReference* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_dataType(IXMLDOMEntityReference* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_put_dataType(IXMLDOMEntityReference* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_xml(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_transformNode(IXMLDOMEntityReference* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_selectNodes(IXMLDOMEntityReference* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_selectSingleNode(IXMLDOMEntityReference* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_parsed(IXMLDOMEntityReference* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_namespaceURI(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_prefix(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_get_baseName(IXMLDOMEntityReference* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXMLDOMEntityReference_transformNodeToObject(IXMLDOMEntityReference* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMEntityReference_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMImplementation interface + */ +#ifndef __IXMLDOMImplementation_INTERFACE_DEFINED__ +#define __IXMLDOMImplementation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMImplementation, 0x2933bf8f, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf8f-7b36-11d2-b20e-00c04f983e60") +IXMLDOMImplementation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE hasFeature( + BSTR feature, + BSTR version, + VARIANT_BOOL *pbool) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMImplementation, 0x2933bf8f, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXMLDOMImplementationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMImplementation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMImplementation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMImplementation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMImplementation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMImplementation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMImplementation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMImplementation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMImplementation methods ***/ + HRESULT (STDMETHODCALLTYPE *hasFeature)( + IXMLDOMImplementation *This, + BSTR feature, + BSTR version, + VARIANT_BOOL *pbool); + + END_INTERFACE +} IXMLDOMImplementationVtbl; + +interface IXMLDOMImplementation { + CONST_VTBL IXMLDOMImplementationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMImplementation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMImplementation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMImplementation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMImplementation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMImplementation methods ***/ +#define IXMLDOMImplementation_hasFeature(This,feature,version,pbool) (This)->lpVtbl->hasFeature(This,feature,version,pbool) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_QueryInterface(IXMLDOMImplementation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMImplementation_AddRef(IXMLDOMImplementation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMImplementation_Release(IXMLDOMImplementation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_GetTypeInfoCount(IXMLDOMImplementation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_GetTypeInfo(IXMLDOMImplementation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_GetIDsOfNames(IXMLDOMImplementation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMImplementation_Invoke(IXMLDOMImplementation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMImplementation methods ***/ +static FORCEINLINE HRESULT IXMLDOMImplementation_hasFeature(IXMLDOMImplementation* This,BSTR feature,BSTR version,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasFeature(This,feature,version,pbool); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMImplementation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXTLRuntime interface + */ +#ifndef __IXTLRuntime_INTERFACE_DEFINED__ +#define __IXTLRuntime_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXTLRuntime, 0x3efaa425, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa425-272f-11d2-836f-0000f87a7782") +IXTLRuntime : public IXMLDOMNode +{ + virtual HRESULT STDMETHODCALLTYPE uniqueID( + IXMLDOMNode *pNode, + LONG *pID) = 0; + + virtual HRESULT STDMETHODCALLTYPE depth( + IXMLDOMNode *pNode, + LONG *pDepth) = 0; + + virtual HRESULT STDMETHODCALLTYPE childNumber( + IXMLDOMNode *pNode, + LONG *pNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE ancestorChildNumber( + BSTR bstr, + IXMLDOMNode *pNode, + LONG *pNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE absoluteChildNumber( + IXMLDOMNode *pNode, + LONG *pNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatIndex( + LONG lIndex, + BSTR bstr, + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatNumber( + double dblNumber, + BSTR bstr, + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatDate( + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE formatTime( + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXTLRuntime, 0x3efaa425, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXTLRuntimeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXTLRuntime *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXTLRuntime *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXTLRuntime *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXTLRuntime *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXTLRuntime *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXTLRuntime *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXTLRuntime *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMNode methods ***/ + HRESULT (STDMETHODCALLTYPE *get_nodeName)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_nodeValue)( + IXTLRuntime *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeValue)( + IXTLRuntime *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_nodeType)( + IXTLRuntime *This, + DOMNodeType *domNodeType); + + HRESULT (STDMETHODCALLTYPE *get_parentNode)( + IXTLRuntime *This, + IXMLDOMNode **parent); + + HRESULT (STDMETHODCALLTYPE *get_childNodes)( + IXTLRuntime *This, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *get_firstChild)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_lastChild)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_previousSibling)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nextSibling)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + IXTLRuntime *This, + IXMLDOMNamedNodeMap **attributeMap); + + HRESULT (STDMETHODCALLTYPE *insertBefore)( + IXTLRuntime *This, + IXMLDOMNode *newNode, + VARIANT var1, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *replaceChild)( + IXTLRuntime *This, + IXMLDOMNode *newNode, + IXMLDOMNode *oldNode, + IXMLDOMNode **outOldNode); + + HRESULT (STDMETHODCALLTYPE *removeChild)( + IXTLRuntime *This, + IXMLDOMNode *domNode, + IXMLDOMNode **oldNode); + + HRESULT (STDMETHODCALLTYPE *appendChild)( + IXTLRuntime *This, + IXMLDOMNode *newNode, + IXMLDOMNode **outNewNode); + + HRESULT (STDMETHODCALLTYPE *hasChildNodes)( + IXTLRuntime *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_ownerDocument)( + IXTLRuntime *This, + IXMLDOMDocument **domDocument); + + HRESULT (STDMETHODCALLTYPE *cloneNode)( + IXTLRuntime *This, + VARIANT_BOOL pbool, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypeString)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_text)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *put_text)( + IXTLRuntime *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_specified)( + IXTLRuntime *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_definition)( + IXTLRuntime *This, + IXMLDOMNode **domNode); + + HRESULT (STDMETHODCALLTYPE *get_nodeTypedValue)( + IXTLRuntime *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_nodeTypedValue)( + IXTLRuntime *This, + VARIANT var1); + + HRESULT (STDMETHODCALLTYPE *get_dataType)( + IXTLRuntime *This, + VARIANT *var1); + + HRESULT (STDMETHODCALLTYPE *put_dataType)( + IXTLRuntime *This, + BSTR p); + + HRESULT (STDMETHODCALLTYPE *get_xml)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNode)( + IXTLRuntime *This, + IXMLDOMNode *domNode, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *selectNodes)( + IXTLRuntime *This, + BSTR p, + IXMLDOMNodeList **outList); + + HRESULT (STDMETHODCALLTYPE *selectSingleNode)( + IXTLRuntime *This, + BSTR p, + IXMLDOMNode **outNode); + + HRESULT (STDMETHODCALLTYPE *get_parsed)( + IXTLRuntime *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_prefix)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_baseName)( + IXTLRuntime *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *transformNodeToObject)( + IXTLRuntime *This, + IXMLDOMNode *domNode, + VARIANT var1); + + /*** IXTLRuntime methods ***/ + HRESULT (STDMETHODCALLTYPE *uniqueID)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pID); + + HRESULT (STDMETHODCALLTYPE *depth)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pDepth); + + HRESULT (STDMETHODCALLTYPE *childNumber)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pNumber); + + HRESULT (STDMETHODCALLTYPE *ancestorChildNumber)( + IXTLRuntime *This, + BSTR bstr, + IXMLDOMNode *pNode, + LONG *pNumber); + + HRESULT (STDMETHODCALLTYPE *absoluteChildNumber)( + IXTLRuntime *This, + IXMLDOMNode *pNode, + LONG *pNumber); + + HRESULT (STDMETHODCALLTYPE *formatIndex)( + IXTLRuntime *This, + LONG lIndex, + BSTR bstr, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *formatNumber)( + IXTLRuntime *This, + double dblNumber, + BSTR bstr, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *formatDate)( + IXTLRuntime *This, + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *formatTime)( + IXTLRuntime *This, + VARIANT var1, + BSTR bstr, + VARIANT var2, + BSTR *pbstr); + + END_INTERFACE +} IXTLRuntimeVtbl; + +interface IXTLRuntime { + CONST_VTBL IXTLRuntimeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXTLRuntime_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXTLRuntime_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXTLRuntime_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXTLRuntime_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXTLRuntime_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXTLRuntime_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXTLRuntime_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMNode methods ***/ +#define IXTLRuntime_get_nodeName(This,p) (This)->lpVtbl->get_nodeName(This,p) +#define IXTLRuntime_get_nodeValue(This,var1) (This)->lpVtbl->get_nodeValue(This,var1) +#define IXTLRuntime_put_nodeValue(This,var1) (This)->lpVtbl->put_nodeValue(This,var1) +#define IXTLRuntime_get_nodeType(This,domNodeType) (This)->lpVtbl->get_nodeType(This,domNodeType) +#define IXTLRuntime_get_parentNode(This,parent) (This)->lpVtbl->get_parentNode(This,parent) +#define IXTLRuntime_get_childNodes(This,outList) (This)->lpVtbl->get_childNodes(This,outList) +#define IXTLRuntime_get_firstChild(This,domNode) (This)->lpVtbl->get_firstChild(This,domNode) +#define IXTLRuntime_get_lastChild(This,domNode) (This)->lpVtbl->get_lastChild(This,domNode) +#define IXTLRuntime_get_previousSibling(This,domNode) (This)->lpVtbl->get_previousSibling(This,domNode) +#define IXTLRuntime_get_nextSibling(This,domNode) (This)->lpVtbl->get_nextSibling(This,domNode) +#define IXTLRuntime_get_attributes(This,attributeMap) (This)->lpVtbl->get_attributes(This,attributeMap) +#define IXTLRuntime_insertBefore(This,newNode,var1,outOldNode) (This)->lpVtbl->insertBefore(This,newNode,var1,outOldNode) +#define IXTLRuntime_replaceChild(This,newNode,oldNode,outOldNode) (This)->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode) +#define IXTLRuntime_removeChild(This,domNode,oldNode) (This)->lpVtbl->removeChild(This,domNode,oldNode) +#define IXTLRuntime_appendChild(This,newNode,outNewNode) (This)->lpVtbl->appendChild(This,newNode,outNewNode) +#define IXTLRuntime_hasChildNodes(This,pbool) (This)->lpVtbl->hasChildNodes(This,pbool) +#define IXTLRuntime_get_ownerDocument(This,domDocument) (This)->lpVtbl->get_ownerDocument(This,domDocument) +#define IXTLRuntime_cloneNode(This,pbool,outNode) (This)->lpVtbl->cloneNode(This,pbool,outNode) +#define IXTLRuntime_get_nodeTypeString(This,p) (This)->lpVtbl->get_nodeTypeString(This,p) +#define IXTLRuntime_get_text(This,p) (This)->lpVtbl->get_text(This,p) +#define IXTLRuntime_put_text(This,p) (This)->lpVtbl->put_text(This,p) +#define IXTLRuntime_get_specified(This,pbool) (This)->lpVtbl->get_specified(This,pbool) +#define IXTLRuntime_get_definition(This,domNode) (This)->lpVtbl->get_definition(This,domNode) +#define IXTLRuntime_get_nodeTypedValue(This,var1) (This)->lpVtbl->get_nodeTypedValue(This,var1) +#define IXTLRuntime_put_nodeTypedValue(This,var1) (This)->lpVtbl->put_nodeTypedValue(This,var1) +#define IXTLRuntime_get_dataType(This,var1) (This)->lpVtbl->get_dataType(This,var1) +#define IXTLRuntime_put_dataType(This,p) (This)->lpVtbl->put_dataType(This,p) +#define IXTLRuntime_get_xml(This,p) (This)->lpVtbl->get_xml(This,p) +#define IXTLRuntime_transformNode(This,domNode,p) (This)->lpVtbl->transformNode(This,domNode,p) +#define IXTLRuntime_selectNodes(This,p,outList) (This)->lpVtbl->selectNodes(This,p,outList) +#define IXTLRuntime_selectSingleNode(This,p,outNode) (This)->lpVtbl->selectSingleNode(This,p,outNode) +#define IXTLRuntime_get_parsed(This,pbool) (This)->lpVtbl->get_parsed(This,pbool) +#define IXTLRuntime_get_namespaceURI(This,p) (This)->lpVtbl->get_namespaceURI(This,p) +#define IXTLRuntime_get_prefix(This,p) (This)->lpVtbl->get_prefix(This,p) +#define IXTLRuntime_get_baseName(This,p) (This)->lpVtbl->get_baseName(This,p) +#define IXTLRuntime_transformNodeToObject(This,domNode,var1) (This)->lpVtbl->transformNodeToObject(This,domNode,var1) +/*** IXTLRuntime methods ***/ +#define IXTLRuntime_uniqueID(This,pNode,pID) (This)->lpVtbl->uniqueID(This,pNode,pID) +#define IXTLRuntime_depth(This,pNode,pDepth) (This)->lpVtbl->depth(This,pNode,pDepth) +#define IXTLRuntime_childNumber(This,pNode,pNumber) (This)->lpVtbl->childNumber(This,pNode,pNumber) +#define IXTLRuntime_ancestorChildNumber(This,bstr,pNode,pNumber) (This)->lpVtbl->ancestorChildNumber(This,bstr,pNode,pNumber) +#define IXTLRuntime_absoluteChildNumber(This,pNode,pNumber) (This)->lpVtbl->absoluteChildNumber(This,pNode,pNumber) +#define IXTLRuntime_formatIndex(This,lIndex,bstr,pbstr) (This)->lpVtbl->formatIndex(This,lIndex,bstr,pbstr) +#define IXTLRuntime_formatNumber(This,dblNumber,bstr,pbstr) (This)->lpVtbl->formatNumber(This,dblNumber,bstr,pbstr) +#define IXTLRuntime_formatDate(This,var1,bstr,var2,pbstr) (This)->lpVtbl->formatDate(This,var1,bstr,var2,pbstr) +#define IXTLRuntime_formatTime(This,var1,bstr,var2,pbstr) (This)->lpVtbl->formatTime(This,var1,bstr,var2,pbstr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_QueryInterface(IXTLRuntime* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXTLRuntime_AddRef(IXTLRuntime* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXTLRuntime_Release(IXTLRuntime* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_GetTypeInfoCount(IXTLRuntime* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXTLRuntime_GetTypeInfo(IXTLRuntime* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXTLRuntime_GetIDsOfNames(IXTLRuntime* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXTLRuntime_Invoke(IXTLRuntime* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMNode methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_get_nodeName(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_nodeName(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeValue(IXTLRuntime* This,VARIANT *var1) { + return This->lpVtbl->get_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_put_nodeValue(IXTLRuntime* This,VARIANT var1) { + return This->lpVtbl->put_nodeValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeType(IXTLRuntime* This,DOMNodeType *domNodeType) { + return This->lpVtbl->get_nodeType(This,domNodeType); +} +static FORCEINLINE HRESULT IXTLRuntime_get_parentNode(IXTLRuntime* This,IXMLDOMNode **parent) { + return This->lpVtbl->get_parentNode(This,parent); +} +static FORCEINLINE HRESULT IXTLRuntime_get_childNodes(IXTLRuntime* This,IXMLDOMNodeList **outList) { + return This->lpVtbl->get_childNodes(This,outList); +} +static FORCEINLINE HRESULT IXTLRuntime_get_firstChild(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_firstChild(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_lastChild(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_lastChild(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_previousSibling(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_previousSibling(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nextSibling(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_nextSibling(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_attributes(IXTLRuntime* This,IXMLDOMNamedNodeMap **attributeMap) { + return This->lpVtbl->get_attributes(This,attributeMap); +} +static FORCEINLINE HRESULT IXTLRuntime_insertBefore(IXTLRuntime* This,IXMLDOMNode *newNode,VARIANT var1,IXMLDOMNode **outOldNode) { + return This->lpVtbl->insertBefore(This,newNode,var1,outOldNode); +} +static FORCEINLINE HRESULT IXTLRuntime_replaceChild(IXTLRuntime* This,IXMLDOMNode *newNode,IXMLDOMNode *oldNode,IXMLDOMNode **outOldNode) { + return This->lpVtbl->replaceChild(This,newNode,oldNode,outOldNode); +} +static FORCEINLINE HRESULT IXTLRuntime_removeChild(IXTLRuntime* This,IXMLDOMNode *domNode,IXMLDOMNode **oldNode) { + return This->lpVtbl->removeChild(This,domNode,oldNode); +} +static FORCEINLINE HRESULT IXTLRuntime_appendChild(IXTLRuntime* This,IXMLDOMNode *newNode,IXMLDOMNode **outNewNode) { + return This->lpVtbl->appendChild(This,newNode,outNewNode); +} +static FORCEINLINE HRESULT IXTLRuntime_hasChildNodes(IXTLRuntime* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->hasChildNodes(This,pbool); +} +static FORCEINLINE HRESULT IXTLRuntime_get_ownerDocument(IXTLRuntime* This,IXMLDOMDocument **domDocument) { + return This->lpVtbl->get_ownerDocument(This,domDocument); +} +static FORCEINLINE HRESULT IXTLRuntime_cloneNode(IXTLRuntime* This,VARIANT_BOOL pbool,IXMLDOMNode **outNode) { + return This->lpVtbl->cloneNode(This,pbool,outNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeTypeString(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_nodeTypeString(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_text(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_text(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_put_text(IXTLRuntime* This,BSTR p) { + return This->lpVtbl->put_text(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_specified(IXTLRuntime* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_specified(This,pbool); +} +static FORCEINLINE HRESULT IXTLRuntime_get_definition(IXTLRuntime* This,IXMLDOMNode **domNode) { + return This->lpVtbl->get_definition(This,domNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_nodeTypedValue(IXTLRuntime* This,VARIANT *var1) { + return This->lpVtbl->get_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_put_nodeTypedValue(IXTLRuntime* This,VARIANT var1) { + return This->lpVtbl->put_nodeTypedValue(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_get_dataType(IXTLRuntime* This,VARIANT *var1) { + return This->lpVtbl->get_dataType(This,var1); +} +static FORCEINLINE HRESULT IXTLRuntime_put_dataType(IXTLRuntime* This,BSTR p) { + return This->lpVtbl->put_dataType(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_xml(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_xml(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_transformNode(IXTLRuntime* This,IXMLDOMNode *domNode,BSTR *p) { + return This->lpVtbl->transformNode(This,domNode,p); +} +static FORCEINLINE HRESULT IXTLRuntime_selectNodes(IXTLRuntime* This,BSTR p,IXMLDOMNodeList **outList) { + return This->lpVtbl->selectNodes(This,p,outList); +} +static FORCEINLINE HRESULT IXTLRuntime_selectSingleNode(IXTLRuntime* This,BSTR p,IXMLDOMNode **outNode) { + return This->lpVtbl->selectSingleNode(This,p,outNode); +} +static FORCEINLINE HRESULT IXTLRuntime_get_parsed(IXTLRuntime* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_parsed(This,pbool); +} +static FORCEINLINE HRESULT IXTLRuntime_get_namespaceURI(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_namespaceURI(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_prefix(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_prefix(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_get_baseName(IXTLRuntime* This,BSTR *p) { + return This->lpVtbl->get_baseName(This,p); +} +static FORCEINLINE HRESULT IXTLRuntime_transformNodeToObject(IXTLRuntime* This,IXMLDOMNode *domNode,VARIANT var1) { + return This->lpVtbl->transformNodeToObject(This,domNode,var1); +} +/*** IXTLRuntime methods ***/ +static FORCEINLINE HRESULT IXTLRuntime_uniqueID(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pID) { + return This->lpVtbl->uniqueID(This,pNode,pID); +} +static FORCEINLINE HRESULT IXTLRuntime_depth(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pDepth) { + return This->lpVtbl->depth(This,pNode,pDepth); +} +static FORCEINLINE HRESULT IXTLRuntime_childNumber(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pNumber) { + return This->lpVtbl->childNumber(This,pNode,pNumber); +} +static FORCEINLINE HRESULT IXTLRuntime_ancestorChildNumber(IXTLRuntime* This,BSTR bstr,IXMLDOMNode *pNode,LONG *pNumber) { + return This->lpVtbl->ancestorChildNumber(This,bstr,pNode,pNumber); +} +static FORCEINLINE HRESULT IXTLRuntime_absoluteChildNumber(IXTLRuntime* This,IXMLDOMNode *pNode,LONG *pNumber) { + return This->lpVtbl->absoluteChildNumber(This,pNode,pNumber); +} +static FORCEINLINE HRESULT IXTLRuntime_formatIndex(IXTLRuntime* This,LONG lIndex,BSTR bstr,BSTR *pbstr) { + return This->lpVtbl->formatIndex(This,lIndex,bstr,pbstr); +} +static FORCEINLINE HRESULT IXTLRuntime_formatNumber(IXTLRuntime* This,double dblNumber,BSTR bstr,BSTR *pbstr) { + return This->lpVtbl->formatNumber(This,dblNumber,bstr,pbstr); +} +static FORCEINLINE HRESULT IXTLRuntime_formatDate(IXTLRuntime* This,VARIANT var1,BSTR bstr,VARIANT var2,BSTR *pbstr) { + return This->lpVtbl->formatDate(This,var1,bstr,var2,pbstr); +} +static FORCEINLINE HRESULT IXTLRuntime_formatTime(IXTLRuntime* This,VARIANT var1,BSTR bstr,VARIANT var2,BSTR *pbstr) { + return This->lpVtbl->formatTime(This,var1,bstr,var2,pbstr); +} +#endif +#endif + +#endif + + +#endif /* __IXTLRuntime_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * XMLDOMDocumentEvents dispinterface + */ +#ifndef __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ +#define __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_XMLDOMDocumentEvents, 0x3efaa427, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa427-272f-11d2-836f-0000f87a7782") +XMLDOMDocumentEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLDOMDocumentEvents, 0x3efaa427, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct XMLDOMDocumentEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + XMLDOMDocumentEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + XMLDOMDocumentEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + XMLDOMDocumentEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + XMLDOMDocumentEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + XMLDOMDocumentEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + XMLDOMDocumentEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + XMLDOMDocumentEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} XMLDOMDocumentEventsVtbl; + +interface XMLDOMDocumentEvents { + CONST_VTBL XMLDOMDocumentEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define XMLDOMDocumentEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define XMLDOMDocumentEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define XMLDOMDocumentEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define XMLDOMDocumentEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define XMLDOMDocumentEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define XMLDOMDocumentEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define XMLDOMDocumentEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT XMLDOMDocumentEvents_QueryInterface(XMLDOMDocumentEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG XMLDOMDocumentEvents_AddRef(XMLDOMDocumentEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG XMLDOMDocumentEvents_Release(XMLDOMDocumentEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetTypeInfoCount(XMLDOMDocumentEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetTypeInfo(XMLDOMDocumentEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_GetIDsOfNames(XMLDOMDocumentEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT XMLDOMDocumentEvents_Invoke(XMLDOMDocumentEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __XMLDOMDocumentEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXSLProcessor interface + */ +#ifndef __IXSLProcessor_INTERFACE_DEFINED__ +#define __IXSLProcessor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXSLProcessor, 0x2933bf92, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf92-7b36-11d2-b20e-00c04f983e60") +IXSLProcessor : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_input( + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_input( + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ownerTemplate( + IXSLTemplate **ppTemplate) = 0; + + virtual HRESULT STDMETHODCALLTYPE setStartMode( + BSTR p, + BSTR uri = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE get_startMode( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_startModeURI( + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_output( + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_output( + VARIANT *var) = 0; + + virtual HRESULT STDMETHODCALLTYPE transform( + VARIANT_BOOL *pbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *pstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE addParameter( + BSTR p, + VARIANT var, + BSTR uri = L"") = 0; + + virtual HRESULT STDMETHODCALLTYPE addObject( + IDispatch *obj, + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_stylesheet( + IXMLDOMNode **node) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXSLProcessor, 0x2933bf92, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXSLProcessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXSLProcessor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXSLProcessor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXSLProcessor *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXSLProcessor *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXSLProcessor *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXSLProcessor *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXSLProcessor *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXSLProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *put_input)( + IXSLProcessor *This, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get_input)( + IXSLProcessor *This, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *get_ownerTemplate)( + IXSLProcessor *This, + IXSLTemplate **ppTemplate); + + HRESULT (STDMETHODCALLTYPE *setStartMode)( + IXSLProcessor *This, + BSTR p, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_startMode)( + IXSLProcessor *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_startModeURI)( + IXSLProcessor *This, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *put_output)( + IXSLProcessor *This, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *get_output)( + IXSLProcessor *This, + VARIANT *var); + + HRESULT (STDMETHODCALLTYPE *transform)( + IXSLProcessor *This, + VARIANT_BOOL *pbool); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXSLProcessor *This); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXSLProcessor *This, + LONG *pstate); + + HRESULT (STDMETHODCALLTYPE *addParameter)( + IXSLProcessor *This, + BSTR p, + VARIANT var, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *addObject)( + IXSLProcessor *This, + IDispatch *obj, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_stylesheet)( + IXSLProcessor *This, + IXMLDOMNode **node); + + END_INTERFACE +} IXSLProcessorVtbl; + +interface IXSLProcessor { + CONST_VTBL IXSLProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXSLProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXSLProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXSLProcessor_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXSLProcessor_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXSLProcessor_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXSLProcessor_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXSLProcessor_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXSLProcessor methods ***/ +#define IXSLProcessor_put_input(This,var) (This)->lpVtbl->put_input(This,var) +#define IXSLProcessor_get_input(This,var) (This)->lpVtbl->get_input(This,var) +#define IXSLProcessor_get_ownerTemplate(This,ppTemplate) (This)->lpVtbl->get_ownerTemplate(This,ppTemplate) +#define IXSLProcessor_setStartMode(This,p,uri) (This)->lpVtbl->setStartMode(This,p,uri) +#define IXSLProcessor_get_startMode(This,p) (This)->lpVtbl->get_startMode(This,p) +#define IXSLProcessor_get_startModeURI(This,uri) (This)->lpVtbl->get_startModeURI(This,uri) +#define IXSLProcessor_put_output(This,var) (This)->lpVtbl->put_output(This,var) +#define IXSLProcessor_get_output(This,var) (This)->lpVtbl->get_output(This,var) +#define IXSLProcessor_transform(This,pbool) (This)->lpVtbl->transform(This,pbool) +#define IXSLProcessor_reset(This) (This)->lpVtbl->reset(This) +#define IXSLProcessor_get_readyState(This,pstate) (This)->lpVtbl->get_readyState(This,pstate) +#define IXSLProcessor_addParameter(This,p,var,uri) (This)->lpVtbl->addParameter(This,p,var,uri) +#define IXSLProcessor_addObject(This,obj,uri) (This)->lpVtbl->addObject(This,obj,uri) +#define IXSLProcessor_get_stylesheet(This,node) (This)->lpVtbl->get_stylesheet(This,node) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXSLProcessor_QueryInterface(IXSLProcessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXSLProcessor_AddRef(IXSLProcessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXSLProcessor_Release(IXSLProcessor* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXSLProcessor_GetTypeInfoCount(IXSLProcessor* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXSLProcessor_GetTypeInfo(IXSLProcessor* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXSLProcessor_GetIDsOfNames(IXSLProcessor* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXSLProcessor_Invoke(IXSLProcessor* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXSLProcessor methods ***/ +static FORCEINLINE HRESULT IXSLProcessor_put_input(IXSLProcessor* This,VARIANT var) { + return This->lpVtbl->put_input(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_get_input(IXSLProcessor* This,VARIANT *var) { + return This->lpVtbl->get_input(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_get_ownerTemplate(IXSLProcessor* This,IXSLTemplate **ppTemplate) { + return This->lpVtbl->get_ownerTemplate(This,ppTemplate); +} +static FORCEINLINE HRESULT IXSLProcessor_setStartMode(IXSLProcessor* This,BSTR p,BSTR uri) { + return This->lpVtbl->setStartMode(This,p,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_get_startMode(IXSLProcessor* This,BSTR *p) { + return This->lpVtbl->get_startMode(This,p); +} +static FORCEINLINE HRESULT IXSLProcessor_get_startModeURI(IXSLProcessor* This,BSTR *uri) { + return This->lpVtbl->get_startModeURI(This,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_put_output(IXSLProcessor* This,VARIANT var) { + return This->lpVtbl->put_output(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_get_output(IXSLProcessor* This,VARIANT *var) { + return This->lpVtbl->get_output(This,var); +} +static FORCEINLINE HRESULT IXSLProcessor_transform(IXSLProcessor* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->transform(This,pbool); +} +static FORCEINLINE HRESULT IXSLProcessor_reset(IXSLProcessor* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXSLProcessor_get_readyState(IXSLProcessor* This,LONG *pstate) { + return This->lpVtbl->get_readyState(This,pstate); +} +static FORCEINLINE HRESULT IXSLProcessor_addParameter(IXSLProcessor* This,BSTR p,VARIANT var,BSTR uri) { + return This->lpVtbl->addParameter(This,p,var,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_addObject(IXSLProcessor* This,IDispatch *obj,BSTR uri) { + return This->lpVtbl->addObject(This,obj,uri); +} +static FORCEINLINE HRESULT IXSLProcessor_get_stylesheet(IXSLProcessor* This,IXMLDOMNode **node) { + return This->lpVtbl->get_stylesheet(This,node); +} +#endif +#endif + +#endif + + +#endif /* __IXSLProcessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXSLTemplate interface + */ +#ifndef __IXSLTemplate_INTERFACE_DEFINED__ +#define __IXSLTemplate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXSLTemplate, 0x2933bf93, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2933bf93-7b36-11d2-b20e-00c04f983e60") +IXSLTemplate : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE putref_stylesheet( + IXMLDOMNode *node) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_stylesheet( + IXMLDOMNode **node) = 0; + + virtual HRESULT STDMETHODCALLTYPE createProcessor( + IXSLProcessor **ppProcessor) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXSLTemplate, 0x2933bf93, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#else +typedef struct IXSLTemplateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXSLTemplate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXSLTemplate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXSLTemplate *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXSLTemplate *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXSLTemplate *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXSLTemplate *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXSLTemplate *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXSLTemplate methods ***/ + HRESULT (STDMETHODCALLTYPE *putref_stylesheet)( + IXSLTemplate *This, + IXMLDOMNode *node); + + HRESULT (STDMETHODCALLTYPE *get_stylesheet)( + IXSLTemplate *This, + IXMLDOMNode **node); + + HRESULT (STDMETHODCALLTYPE *createProcessor)( + IXSLTemplate *This, + IXSLProcessor **ppProcessor); + + END_INTERFACE +} IXSLTemplateVtbl; + +interface IXSLTemplate { + CONST_VTBL IXSLTemplateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXSLTemplate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXSLTemplate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXSLTemplate_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXSLTemplate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXSLTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXSLTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXSLTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXSLTemplate methods ***/ +#define IXSLTemplate_putref_stylesheet(This,node) (This)->lpVtbl->putref_stylesheet(This,node) +#define IXSLTemplate_get_stylesheet(This,node) (This)->lpVtbl->get_stylesheet(This,node) +#define IXSLTemplate_createProcessor(This,ppProcessor) (This)->lpVtbl->createProcessor(This,ppProcessor) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXSLTemplate_QueryInterface(IXSLTemplate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXSLTemplate_AddRef(IXSLTemplate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXSLTemplate_Release(IXSLTemplate* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXSLTemplate_GetTypeInfoCount(IXSLTemplate* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXSLTemplate_GetTypeInfo(IXSLTemplate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXSLTemplate_GetIDsOfNames(IXSLTemplate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXSLTemplate_Invoke(IXSLTemplate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXSLTemplate methods ***/ +static FORCEINLINE HRESULT IXSLTemplate_putref_stylesheet(IXSLTemplate* This,IXMLDOMNode *node) { + return This->lpVtbl->putref_stylesheet(This,node); +} +static FORCEINLINE HRESULT IXSLTemplate_get_stylesheet(IXSLTemplate* This,IXMLDOMNode **node) { + return This->lpVtbl->get_stylesheet(This,node); +} +static FORCEINLINE HRESULT IXSLTemplate_createProcessor(IXSLTemplate* This,IXSLProcessor **ppProcessor) { + return This->lpVtbl->createProcessor(This,ppProcessor); +} +#endif +#endif + +#endif + + +#endif /* __IXSLTemplate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLHTTPRequest interface + */ +#ifndef __IXMLHTTPRequest_INTERFACE_DEFINED__ +#define __IXMLHTTPRequest_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLHTTPRequest, 0xed8c108d, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ed8c108d-4349-11d2-91a4-00c04f7969e8") +IXMLHTTPRequest : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE open( + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password) = 0; + + virtual HRESULT STDMETHODCALLTYPE setRequestHeader( + BSTR bstrHeader, + BSTR bstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getResponseHeader( + BSTR bstrHeader, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAllResponseHeaders( + BSTR *pbstrHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE send( + VARIANT body) = 0; + + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + LONG *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_statusText( + BSTR *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseXML( + IDispatch **pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseText( + BSTR *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseBody( + VARIANT *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_responseStream( + VARIANT *pBody) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_readyState( + LONG *pState) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange( + IDispatch *pReadyStateSink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLHTTPRequest, 0xed8c108d, 0x4349, 0x11d2, 0x91,0xa4, 0x00,0xc0,0x4f,0x79,0x69,0xe8) +#endif +#else +typedef struct IXMLHTTPRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLHTTPRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLHTTPRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLHTTPRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLHTTPRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLHTTPRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLHTTPRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLHTTPRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IXMLHTTPRequest *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IXMLHTTPRequest *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IXMLHTTPRequest *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *abort)( + IXMLHTTPRequest *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IXMLHTTPRequest *This, + LONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IXMLHTTPRequest *This, + BSTR *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IXMLHTTPRequest *This, + IDispatch **pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IXMLHTTPRequest *This, + BSTR *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IXMLHTTPRequest *This, + LONG *pState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IXMLHTTPRequest *This, + IDispatch *pReadyStateSink); + + END_INTERFACE +} IXMLHTTPRequestVtbl; + +interface IXMLHTTPRequest { + CONST_VTBL IXMLHTTPRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLHTTPRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLHTTPRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLHTTPRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLHTTPRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLHTTPRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLHTTPRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLHTTPRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHTTPRequest methods ***/ +#define IXMLHTTPRequest_open(This,bstrMethod,bstrUrl,varAsync,username,password) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password) +#define IXMLHTTPRequest_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IXMLHTTPRequest_getResponseHeader(This,bstrHeader,value) (This)->lpVtbl->getResponseHeader(This,bstrHeader,value) +#define IXMLHTTPRequest_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IXMLHTTPRequest_send(This,body) (This)->lpVtbl->send(This,body) +#define IXMLHTTPRequest_abort(This) (This)->lpVtbl->abort(This) +#define IXMLHTTPRequest_get_status(This,pStatus) (This)->lpVtbl->get_status(This,pStatus) +#define IXMLHTTPRequest_get_statusText(This,pStatus) (This)->lpVtbl->get_statusText(This,pStatus) +#define IXMLHTTPRequest_get_responseXML(This,pBody) (This)->lpVtbl->get_responseXML(This,pBody) +#define IXMLHTTPRequest_get_responseText(This,pBody) (This)->lpVtbl->get_responseText(This,pBody) +#define IXMLHTTPRequest_get_responseBody(This,pBody) (This)->lpVtbl->get_responseBody(This,pBody) +#define IXMLHTTPRequest_get_responseStream(This,pBody) (This)->lpVtbl->get_responseStream(This,pBody) +#define IXMLHTTPRequest_get_readyState(This,pState) (This)->lpVtbl->get_readyState(This,pState) +#define IXMLHTTPRequest_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLHTTPRequest_QueryInterface(IXMLHTTPRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLHTTPRequest_AddRef(IXMLHTTPRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLHTTPRequest_Release(IXMLHTTPRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLHTTPRequest_GetTypeInfoCount(IXMLHTTPRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_GetTypeInfo(IXMLHTTPRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_GetIDsOfNames(IXMLHTTPRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_Invoke(IXMLHTTPRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IXMLHTTPRequest_open(IXMLHTTPRequest* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT username,VARIANT password) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_setRequestHeader(IXMLHTTPRequest* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_getResponseHeader(IXMLHTTPRequest* This,BSTR bstrHeader,BSTR *value) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,value); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_getAllResponseHeaders(IXMLHTTPRequest* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_send(IXMLHTTPRequest* This,VARIANT body) { + return This->lpVtbl->send(This,body); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_abort(IXMLHTTPRequest* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_status(IXMLHTTPRequest* This,LONG *pStatus) { + return This->lpVtbl->get_status(This,pStatus); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_statusText(IXMLHTTPRequest* This,BSTR *pStatus) { + return This->lpVtbl->get_statusText(This,pStatus); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseXML(IXMLHTTPRequest* This,IDispatch **pBody) { + return This->lpVtbl->get_responseXML(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseText(IXMLHTTPRequest* This,BSTR *pBody) { + return This->lpVtbl->get_responseText(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseBody(IXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseBody(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_responseStream(IXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseStream(This,pBody); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_get_readyState(IXMLHTTPRequest* This,LONG *pState) { + return This->lpVtbl->get_readyState(This,pState); +} +static FORCEINLINE HRESULT IXMLHTTPRequest_put_onreadystatechange(IXMLHTTPRequest* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +#endif +#endif + +#endif + + +#endif /* __IXMLHTTPRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IServerXMLHTTPRequest interface + */ +#ifndef __IServerXMLHTTPRequest_INTERFACE_DEFINED__ +#define __IServerXMLHTTPRequest_INTERFACE_DEFINED__ + +typedef enum _SERVERXMLHTTP_OPTION { + SXH_OPTION_URL = -1, + SXH_OPTION_URL_CODEPAGE = 0, + SXH_OPTION_ESCAPE_PERCENT_IN_URL = 1, + SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS = 2, + SXH_OPTION_SELECT_CLIENT_SSL_CERT = 3 +} SERVERXMLHTTP_OPTION; +DEFINE_GUID(IID_IServerXMLHTTPRequest, 0x2e9196bf, 0x13ba, 0x4dd4, 0x91,0xca, 0x6c,0x57,0x1f,0x28,0x14,0x95); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2e9196bf-13ba-4dd4-91ca-6c571f281495") +IServerXMLHTTPRequest : public IXMLHTTPRequest +{ + virtual HRESULT STDMETHODCALLTYPE setTimeouts( + LONG resolveTimeout, + LONG connectTimeout, + LONG sendTimeout, + LONG receiveTimeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE waitForResponse( + VARIANT timeoutInSeconds, + VARIANT_BOOL *isSuccessful) = 0; + + virtual HRESULT STDMETHODCALLTYPE getOption( + SERVERXMLHTTP_OPTION option, + VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE setOption( + SERVERXMLHTTP_OPTION option, + VARIANT value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IServerXMLHTTPRequest, 0x2e9196bf, 0x13ba, 0x4dd4, 0x91,0xca, 0x6c,0x57,0x1f,0x28,0x14,0x95) +#endif +#else +typedef struct IServerXMLHTTPRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IServerXMLHTTPRequest *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IServerXMLHTTPRequest *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IServerXMLHTTPRequest *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IServerXMLHTTPRequest *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IServerXMLHTTPRequest *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IServerXMLHTTPRequest *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IServerXMLHTTPRequest *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IServerXMLHTTPRequest *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IServerXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IServerXMLHTTPRequest *This, + BSTR bstrHeader, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IServerXMLHTTPRequest *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IServerXMLHTTPRequest *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *abort)( + IServerXMLHTTPRequest *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IServerXMLHTTPRequest *This, + LONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IServerXMLHTTPRequest *This, + BSTR *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IServerXMLHTTPRequest *This, + IDispatch **pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IServerXMLHTTPRequest *This, + BSTR *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IServerXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IServerXMLHTTPRequest *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IServerXMLHTTPRequest *This, + LONG *pState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IServerXMLHTTPRequest *This, + IDispatch *pReadyStateSink); + + /*** IServerXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *setTimeouts)( + IServerXMLHTTPRequest *This, + LONG resolveTimeout, + LONG connectTimeout, + LONG sendTimeout, + LONG receiveTimeout); + + HRESULT (STDMETHODCALLTYPE *waitForResponse)( + IServerXMLHTTPRequest *This, + VARIANT timeoutInSeconds, + VARIANT_BOOL *isSuccessful); + + HRESULT (STDMETHODCALLTYPE *getOption)( + IServerXMLHTTPRequest *This, + SERVERXMLHTTP_OPTION option, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *setOption)( + IServerXMLHTTPRequest *This, + SERVERXMLHTTP_OPTION option, + VARIANT value); + + END_INTERFACE +} IServerXMLHTTPRequestVtbl; + +interface IServerXMLHTTPRequest { + CONST_VTBL IServerXMLHTTPRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IServerXMLHTTPRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IServerXMLHTTPRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IServerXMLHTTPRequest_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IServerXMLHTTPRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IServerXMLHTTPRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IServerXMLHTTPRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IServerXMLHTTPRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest_open(This,bstrMethod,bstrUrl,varAsync,username,password) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password) +#define IServerXMLHTTPRequest_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IServerXMLHTTPRequest_getResponseHeader(This,bstrHeader,value) (This)->lpVtbl->getResponseHeader(This,bstrHeader,value) +#define IServerXMLHTTPRequest_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IServerXMLHTTPRequest_send(This,body) (This)->lpVtbl->send(This,body) +#define IServerXMLHTTPRequest_abort(This) (This)->lpVtbl->abort(This) +#define IServerXMLHTTPRequest_get_status(This,pStatus) (This)->lpVtbl->get_status(This,pStatus) +#define IServerXMLHTTPRequest_get_statusText(This,pStatus) (This)->lpVtbl->get_statusText(This,pStatus) +#define IServerXMLHTTPRequest_get_responseXML(This,pBody) (This)->lpVtbl->get_responseXML(This,pBody) +#define IServerXMLHTTPRequest_get_responseText(This,pBody) (This)->lpVtbl->get_responseText(This,pBody) +#define IServerXMLHTTPRequest_get_responseBody(This,pBody) (This)->lpVtbl->get_responseBody(This,pBody) +#define IServerXMLHTTPRequest_get_responseStream(This,pBody) (This)->lpVtbl->get_responseStream(This,pBody) +#define IServerXMLHTTPRequest_get_readyState(This,pState) (This)->lpVtbl->get_readyState(This,pState) +#define IServerXMLHTTPRequest_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +/*** IServerXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest_setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) (This)->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) +#define IServerXMLHTTPRequest_waitForResponse(This,timeoutInSeconds,isSuccessful) (This)->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful) +#define IServerXMLHTTPRequest_getOption(This,option,value) (This)->lpVtbl->getOption(This,option,value) +#define IServerXMLHTTPRequest_setOption(This,option,value) (This)->lpVtbl->setOption(This,option,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_QueryInterface(IServerXMLHTTPRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest_AddRef(IServerXMLHTTPRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest_Release(IServerXMLHTTPRequest* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_GetTypeInfoCount(IServerXMLHTTPRequest* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_GetTypeInfo(IServerXMLHTTPRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_GetIDsOfNames(IServerXMLHTTPRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_Invoke(IServerXMLHTTPRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_open(IServerXMLHTTPRequest* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT username,VARIANT password) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_setRequestHeader(IServerXMLHTTPRequest* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_getResponseHeader(IServerXMLHTTPRequest* This,BSTR bstrHeader,BSTR *value) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_getAllResponseHeaders(IServerXMLHTTPRequest* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_send(IServerXMLHTTPRequest* This,VARIANT body) { + return This->lpVtbl->send(This,body); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_abort(IServerXMLHTTPRequest* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_status(IServerXMLHTTPRequest* This,LONG *pStatus) { + return This->lpVtbl->get_status(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_statusText(IServerXMLHTTPRequest* This,BSTR *pStatus) { + return This->lpVtbl->get_statusText(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseXML(IServerXMLHTTPRequest* This,IDispatch **pBody) { + return This->lpVtbl->get_responseXML(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseText(IServerXMLHTTPRequest* This,BSTR *pBody) { + return This->lpVtbl->get_responseText(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseBody(IServerXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseBody(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_responseStream(IServerXMLHTTPRequest* This,VARIANT *pBody) { + return This->lpVtbl->get_responseStream(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_get_readyState(IServerXMLHTTPRequest* This,LONG *pState) { + return This->lpVtbl->get_readyState(This,pState); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_put_onreadystatechange(IServerXMLHTTPRequest* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +/*** IServerXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest_setTimeouts(IServerXMLHTTPRequest* This,LONG resolveTimeout,LONG connectTimeout,LONG sendTimeout,LONG receiveTimeout) { + return This->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_waitForResponse(IServerXMLHTTPRequest* This,VARIANT timeoutInSeconds,VARIANT_BOOL *isSuccessful) { + return This->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_getOption(IServerXMLHTTPRequest* This,SERVERXMLHTTP_OPTION option,VARIANT *value) { + return This->lpVtbl->getOption(This,option,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest_setOption(IServerXMLHTTPRequest* This,SERVERXMLHTTP_OPTION option,VARIANT value) { + return This->lpVtbl->setOption(This,option,value); +} +#endif +#endif + +#endif + + +#endif /* __IServerXMLHTTPRequest_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IServerXMLHTTPRequest2 interface + */ +#ifndef __IServerXMLHTTPRequest2_INTERFACE_DEFINED__ +#define __IServerXMLHTTPRequest2_INTERFACE_DEFINED__ + +typedef enum _SXH_PROXY_SETTING { + SXH_PROXY_SET_DEFAULT = 0, + SXH_PROXY_SET_PRECONFIG = 0, + SXH_PROXY_SET_DIRECT = 1, + SXH_PROXY_SET_PROXY = 2 +} SXH_PROXY_SETTING; +DEFINE_GUID(IID_IServerXMLHTTPRequest2, 0x2e01311b, 0xc322, 0x4b0a, 0xbd,0x77, 0xb9,0x0c,0xfd,0xc8,0xdc,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2e01311b-c322-4b0a-bd77-b90cfdc8dce7") +IServerXMLHTTPRequest2 : public IServerXMLHTTPRequest +{ + virtual HRESULT STDMETHODCALLTYPE setProxy( + SXH_PROXY_SETTING proxySetting, + VARIANT varProxyServer, + VARIANT varBypassList) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxyCredentials( + BSTR bstrUserName, + BSTR bstrPassword) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IServerXMLHTTPRequest2, 0x2e01311b, 0xc322, 0x4b0a, 0xbd,0x77, 0xb9,0x0c,0xfd,0xc8,0xdc,0xe7) +#endif +#else +typedef struct IServerXMLHTTPRequest2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IServerXMLHTTPRequest2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IServerXMLHTTPRequest2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IServerXMLHTTPRequest2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IServerXMLHTTPRequest2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IServerXMLHTTPRequest2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IServerXMLHTTPRequest2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IServerXMLHTTPRequest2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *open)( + IServerXMLHTTPRequest2 *This, + BSTR bstrMethod, + BSTR bstrUrl, + VARIANT varAsync, + VARIANT username, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *setRequestHeader)( + IServerXMLHTTPRequest2 *This, + BSTR bstrHeader, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *getResponseHeader)( + IServerXMLHTTPRequest2 *This, + BSTR bstrHeader, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getAllResponseHeaders)( + IServerXMLHTTPRequest2 *This, + BSTR *pbstrHeaders); + + HRESULT (STDMETHODCALLTYPE *send)( + IServerXMLHTTPRequest2 *This, + VARIANT body); + + HRESULT (STDMETHODCALLTYPE *abort)( + IServerXMLHTTPRequest2 *This); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IServerXMLHTTPRequest2 *This, + LONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_statusText)( + IServerXMLHTTPRequest2 *This, + BSTR *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_responseXML)( + IServerXMLHTTPRequest2 *This, + IDispatch **pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseText)( + IServerXMLHTTPRequest2 *This, + BSTR *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseBody)( + IServerXMLHTTPRequest2 *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_responseStream)( + IServerXMLHTTPRequest2 *This, + VARIANT *pBody); + + HRESULT (STDMETHODCALLTYPE *get_readyState)( + IServerXMLHTTPRequest2 *This, + LONG *pState); + + HRESULT (STDMETHODCALLTYPE *put_onreadystatechange)( + IServerXMLHTTPRequest2 *This, + IDispatch *pReadyStateSink); + + /*** IServerXMLHTTPRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *setTimeouts)( + IServerXMLHTTPRequest2 *This, + LONG resolveTimeout, + LONG connectTimeout, + LONG sendTimeout, + LONG receiveTimeout); + + HRESULT (STDMETHODCALLTYPE *waitForResponse)( + IServerXMLHTTPRequest2 *This, + VARIANT timeoutInSeconds, + VARIANT_BOOL *isSuccessful); + + HRESULT (STDMETHODCALLTYPE *getOption)( + IServerXMLHTTPRequest2 *This, + SERVERXMLHTTP_OPTION option, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *setOption)( + IServerXMLHTTPRequest2 *This, + SERVERXMLHTTP_OPTION option, + VARIANT value); + + /*** IServerXMLHTTPRequest2 methods ***/ + HRESULT (STDMETHODCALLTYPE *setProxy)( + IServerXMLHTTPRequest2 *This, + SXH_PROXY_SETTING proxySetting, + VARIANT varProxyServer, + VARIANT varBypassList); + + HRESULT (STDMETHODCALLTYPE *setProxyCredentials)( + IServerXMLHTTPRequest2 *This, + BSTR bstrUserName, + BSTR bstrPassword); + + END_INTERFACE +} IServerXMLHTTPRequest2Vtbl; + +interface IServerXMLHTTPRequest2 { + CONST_VTBL IServerXMLHTTPRequest2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IServerXMLHTTPRequest2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IServerXMLHTTPRequest2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IServerXMLHTTPRequest2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IServerXMLHTTPRequest2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IServerXMLHTTPRequest2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IServerXMLHTTPRequest2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IServerXMLHTTPRequest2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest2_open(This,bstrMethod,bstrUrl,varAsync,username,password) (This)->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password) +#define IServerXMLHTTPRequest2_setRequestHeader(This,bstrHeader,bstrValue) (This)->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue) +#define IServerXMLHTTPRequest2_getResponseHeader(This,bstrHeader,value) (This)->lpVtbl->getResponseHeader(This,bstrHeader,value) +#define IServerXMLHTTPRequest2_getAllResponseHeaders(This,pbstrHeaders) (This)->lpVtbl->getAllResponseHeaders(This,pbstrHeaders) +#define IServerXMLHTTPRequest2_send(This,body) (This)->lpVtbl->send(This,body) +#define IServerXMLHTTPRequest2_abort(This) (This)->lpVtbl->abort(This) +#define IServerXMLHTTPRequest2_get_status(This,pStatus) (This)->lpVtbl->get_status(This,pStatus) +#define IServerXMLHTTPRequest2_get_statusText(This,pStatus) (This)->lpVtbl->get_statusText(This,pStatus) +#define IServerXMLHTTPRequest2_get_responseXML(This,pBody) (This)->lpVtbl->get_responseXML(This,pBody) +#define IServerXMLHTTPRequest2_get_responseText(This,pBody) (This)->lpVtbl->get_responseText(This,pBody) +#define IServerXMLHTTPRequest2_get_responseBody(This,pBody) (This)->lpVtbl->get_responseBody(This,pBody) +#define IServerXMLHTTPRequest2_get_responseStream(This,pBody) (This)->lpVtbl->get_responseStream(This,pBody) +#define IServerXMLHTTPRequest2_get_readyState(This,pState) (This)->lpVtbl->get_readyState(This,pState) +#define IServerXMLHTTPRequest2_put_onreadystatechange(This,pReadyStateSink) (This)->lpVtbl->put_onreadystatechange(This,pReadyStateSink) +/*** IServerXMLHTTPRequest methods ***/ +#define IServerXMLHTTPRequest2_setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) (This)->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout) +#define IServerXMLHTTPRequest2_waitForResponse(This,timeoutInSeconds,isSuccessful) (This)->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful) +#define IServerXMLHTTPRequest2_getOption(This,option,value) (This)->lpVtbl->getOption(This,option,value) +#define IServerXMLHTTPRequest2_setOption(This,option,value) (This)->lpVtbl->setOption(This,option,value) +/*** IServerXMLHTTPRequest2 methods ***/ +#define IServerXMLHTTPRequest2_setProxy(This,proxySetting,varProxyServer,varBypassList) (This)->lpVtbl->setProxy(This,proxySetting,varProxyServer,varBypassList) +#define IServerXMLHTTPRequest2_setProxyCredentials(This,bstrUserName,bstrPassword) (This)->lpVtbl->setProxyCredentials(This,bstrUserName,bstrPassword) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_QueryInterface(IServerXMLHTTPRequest2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest2_AddRef(IServerXMLHTTPRequest2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IServerXMLHTTPRequest2_Release(IServerXMLHTTPRequest2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_GetTypeInfoCount(IServerXMLHTTPRequest2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_GetTypeInfo(IServerXMLHTTPRequest2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_GetIDsOfNames(IServerXMLHTTPRequest2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_Invoke(IServerXMLHTTPRequest2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_open(IServerXMLHTTPRequest2* This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT username,VARIANT password) { + return This->lpVtbl->open(This,bstrMethod,bstrUrl,varAsync,username,password); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setRequestHeader(IServerXMLHTTPRequest2* This,BSTR bstrHeader,BSTR bstrValue) { + return This->lpVtbl->setRequestHeader(This,bstrHeader,bstrValue); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_getResponseHeader(IServerXMLHTTPRequest2* This,BSTR bstrHeader,BSTR *value) { + return This->lpVtbl->getResponseHeader(This,bstrHeader,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_getAllResponseHeaders(IServerXMLHTTPRequest2* This,BSTR *pbstrHeaders) { + return This->lpVtbl->getAllResponseHeaders(This,pbstrHeaders); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_send(IServerXMLHTTPRequest2* This,VARIANT body) { + return This->lpVtbl->send(This,body); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_abort(IServerXMLHTTPRequest2* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_status(IServerXMLHTTPRequest2* This,LONG *pStatus) { + return This->lpVtbl->get_status(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_statusText(IServerXMLHTTPRequest2* This,BSTR *pStatus) { + return This->lpVtbl->get_statusText(This,pStatus); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseXML(IServerXMLHTTPRequest2* This,IDispatch **pBody) { + return This->lpVtbl->get_responseXML(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseText(IServerXMLHTTPRequest2* This,BSTR *pBody) { + return This->lpVtbl->get_responseText(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseBody(IServerXMLHTTPRequest2* This,VARIANT *pBody) { + return This->lpVtbl->get_responseBody(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_responseStream(IServerXMLHTTPRequest2* This,VARIANT *pBody) { + return This->lpVtbl->get_responseStream(This,pBody); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_get_readyState(IServerXMLHTTPRequest2* This,LONG *pState) { + return This->lpVtbl->get_readyState(This,pState); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_put_onreadystatechange(IServerXMLHTTPRequest2* This,IDispatch *pReadyStateSink) { + return This->lpVtbl->put_onreadystatechange(This,pReadyStateSink); +} +/*** IServerXMLHTTPRequest methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setTimeouts(IServerXMLHTTPRequest2* This,LONG resolveTimeout,LONG connectTimeout,LONG sendTimeout,LONG receiveTimeout) { + return This->lpVtbl->setTimeouts(This,resolveTimeout,connectTimeout,sendTimeout,receiveTimeout); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_waitForResponse(IServerXMLHTTPRequest2* This,VARIANT timeoutInSeconds,VARIANT_BOOL *isSuccessful) { + return This->lpVtbl->waitForResponse(This,timeoutInSeconds,isSuccessful); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_getOption(IServerXMLHTTPRequest2* This,SERVERXMLHTTP_OPTION option,VARIANT *value) { + return This->lpVtbl->getOption(This,option,value); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setOption(IServerXMLHTTPRequest2* This,SERVERXMLHTTP_OPTION option,VARIANT value) { + return This->lpVtbl->setOption(This,option,value); +} +/*** IServerXMLHTTPRequest2 methods ***/ +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setProxy(IServerXMLHTTPRequest2* This,SXH_PROXY_SETTING proxySetting,VARIANT varProxyServer,VARIANT varBypassList) { + return This->lpVtbl->setProxy(This,proxySetting,varProxyServer,varBypassList); +} +static FORCEINLINE HRESULT IServerXMLHTTPRequest2_setProxyCredentials(IServerXMLHTTPRequest2* This,BSTR bstrUserName,BSTR bstrPassword) { + return This->lpVtbl->setProxyCredentials(This,bstrUserName,bstrPassword); +} +#endif +#endif + +#endif + + +#endif /* __IServerXMLHTTPRequest2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseError interface + */ +#ifndef __IXMLDOMParseError_INTERFACE_DEFINED__ +#define __IXMLDOMParseError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseError, 0x3efaa426, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa426-272f-11d2-836f-0000f87a7782") +IXMLDOMParseError : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_errorCode( + LONG *errCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_url( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_reason( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_srcText( + BSTR *p) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_line( + LONG *lineNo) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_linepos( + LONG *linePos) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_filepos( + LONG *filePos) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseError, 0x3efaa426, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseError *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseError *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseError *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseError *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseError *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseError methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorCode)( + IXMLDOMParseError *This, + LONG *errCode); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_reason)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_srcText)( + IXMLDOMParseError *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_line)( + IXMLDOMParseError *This, + LONG *lineNo); + + HRESULT (STDMETHODCALLTYPE *get_linepos)( + IXMLDOMParseError *This, + LONG *linePos); + + HRESULT (STDMETHODCALLTYPE *get_filepos)( + IXMLDOMParseError *This, + LONG *filePos); + + END_INTERFACE +} IXMLDOMParseErrorVtbl; + +interface IXMLDOMParseError { + CONST_VTBL IXMLDOMParseErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseError_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseError_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseError methods ***/ +#define IXMLDOMParseError_get_errorCode(This,errCode) (This)->lpVtbl->get_errorCode(This,errCode) +#define IXMLDOMParseError_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMParseError_get_reason(This,p) (This)->lpVtbl->get_reason(This,p) +#define IXMLDOMParseError_get_srcText(This,p) (This)->lpVtbl->get_srcText(This,p) +#define IXMLDOMParseError_get_line(This,lineNo) (This)->lpVtbl->get_line(This,lineNo) +#define IXMLDOMParseError_get_linepos(This,linePos) (This)->lpVtbl->get_linepos(This,linePos) +#define IXMLDOMParseError_get_filepos(This,filePos) (This)->lpVtbl->get_filepos(This,filePos) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_QueryInterface(IXMLDOMParseError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseError_AddRef(IXMLDOMParseError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseError_Release(IXMLDOMParseError* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_GetTypeInfoCount(IXMLDOMParseError* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_GetTypeInfo(IXMLDOMParseError* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_GetIDsOfNames(IXMLDOMParseError* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseError_Invoke(IXMLDOMParseError* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseError methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError_get_errorCode(IXMLDOMParseError* This,LONG *errCode) { + return This->lpVtbl->get_errorCode(This,errCode); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_url(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_reason(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_reason(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_srcText(IXMLDOMParseError* This,BSTR *p) { + return This->lpVtbl->get_srcText(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_line(IXMLDOMParseError* This,LONG *lineNo) { + return This->lpVtbl->get_line(This,lineNo); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_linepos(IXMLDOMParseError* This,LONG *linePos) { + return This->lpVtbl->get_linepos(This,linePos); +} +static FORCEINLINE HRESULT IXMLDOMParseError_get_filepos(IXMLDOMParseError* This,LONG *filePos) { + return This->lpVtbl->get_filepos(This,filePos); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseError2 interface + */ +#ifndef __IXMLDOMParseError2_INTERFACE_DEFINED__ +#define __IXMLDOMParseError2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseError2, 0x3efaa428, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa428-272f-11d2-836f-0000f87a7782") +IXMLDOMParseError2 : public IXMLDOMParseError +{ + virtual HRESULT STDMETHODCALLTYPE get_errorXPath( + BSTR *xpathexpr) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_allErrors( + IXMLDOMParseErrorCollection **allErrors) = 0; + + virtual HRESULT STDMETHODCALLTYPE errorParameters( + LONG index, + BSTR *param) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorParametersCount( + LONG *count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseError2, 0x3efaa428, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseError2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseError2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseError2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseError2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseError2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseError2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseError2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseError2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseError methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorCode)( + IXMLDOMParseError2 *This, + LONG *errCode); + + HRESULT (STDMETHODCALLTYPE *get_url)( + IXMLDOMParseError2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_reason)( + IXMLDOMParseError2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_srcText)( + IXMLDOMParseError2 *This, + BSTR *p); + + HRESULT (STDMETHODCALLTYPE *get_line)( + IXMLDOMParseError2 *This, + LONG *lineNo); + + HRESULT (STDMETHODCALLTYPE *get_linepos)( + IXMLDOMParseError2 *This, + LONG *linePos); + + HRESULT (STDMETHODCALLTYPE *get_filepos)( + IXMLDOMParseError2 *This, + LONG *filePos); + + /*** IXMLDOMParseError2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorXPath)( + IXMLDOMParseError2 *This, + BSTR *xpathexpr); + + HRESULT (STDMETHODCALLTYPE *get_allErrors)( + IXMLDOMParseError2 *This, + IXMLDOMParseErrorCollection **allErrors); + + HRESULT (STDMETHODCALLTYPE *errorParameters)( + IXMLDOMParseError2 *This, + LONG index, + BSTR *param); + + HRESULT (STDMETHODCALLTYPE *get_errorParametersCount)( + IXMLDOMParseError2 *This, + LONG *count); + + END_INTERFACE +} IXMLDOMParseError2Vtbl; + +interface IXMLDOMParseError2 { + CONST_VTBL IXMLDOMParseError2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseError2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseError2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseError2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseError2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseError2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseError2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseError2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseError methods ***/ +#define IXMLDOMParseError2_get_errorCode(This,errCode) (This)->lpVtbl->get_errorCode(This,errCode) +#define IXMLDOMParseError2_get_url(This,p) (This)->lpVtbl->get_url(This,p) +#define IXMLDOMParseError2_get_reason(This,p) (This)->lpVtbl->get_reason(This,p) +#define IXMLDOMParseError2_get_srcText(This,p) (This)->lpVtbl->get_srcText(This,p) +#define IXMLDOMParseError2_get_line(This,lineNo) (This)->lpVtbl->get_line(This,lineNo) +#define IXMLDOMParseError2_get_linepos(This,linePos) (This)->lpVtbl->get_linepos(This,linePos) +#define IXMLDOMParseError2_get_filepos(This,filePos) (This)->lpVtbl->get_filepos(This,filePos) +/*** IXMLDOMParseError2 methods ***/ +#define IXMLDOMParseError2_get_errorXPath(This,xpathexpr) (This)->lpVtbl->get_errorXPath(This,xpathexpr) +#define IXMLDOMParseError2_get_allErrors(This,allErrors) (This)->lpVtbl->get_allErrors(This,allErrors) +#define IXMLDOMParseError2_errorParameters(This,index,param) (This)->lpVtbl->errorParameters(This,index,param) +#define IXMLDOMParseError2_get_errorParametersCount(This,count) (This)->lpVtbl->get_errorParametersCount(This,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_QueryInterface(IXMLDOMParseError2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseError2_AddRef(IXMLDOMParseError2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseError2_Release(IXMLDOMParseError2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_GetTypeInfoCount(IXMLDOMParseError2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_GetTypeInfo(IXMLDOMParseError2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_GetIDsOfNames(IXMLDOMParseError2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_Invoke(IXMLDOMParseError2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseError methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_get_errorCode(IXMLDOMParseError2* This,LONG *errCode) { + return This->lpVtbl->get_errorCode(This,errCode); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_url(IXMLDOMParseError2* This,BSTR *p) { + return This->lpVtbl->get_url(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_reason(IXMLDOMParseError2* This,BSTR *p) { + return This->lpVtbl->get_reason(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_srcText(IXMLDOMParseError2* This,BSTR *p) { + return This->lpVtbl->get_srcText(This,p); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_line(IXMLDOMParseError2* This,LONG *lineNo) { + return This->lpVtbl->get_line(This,lineNo); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_linepos(IXMLDOMParseError2* This,LONG *linePos) { + return This->lpVtbl->get_linepos(This,linePos); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_filepos(IXMLDOMParseError2* This,LONG *filePos) { + return This->lpVtbl->get_filepos(This,filePos); +} +/*** IXMLDOMParseError2 methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseError2_get_errorXPath(IXMLDOMParseError2* This,BSTR *xpathexpr) { + return This->lpVtbl->get_errorXPath(This,xpathexpr); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_allErrors(IXMLDOMParseError2* This,IXMLDOMParseErrorCollection **allErrors) { + return This->lpVtbl->get_allErrors(This,allErrors); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_errorParameters(IXMLDOMParseError2* This,LONG index,BSTR *param) { + return This->lpVtbl->errorParameters(This,index,param); +} +static FORCEINLINE HRESULT IXMLDOMParseError2_get_errorParametersCount(IXMLDOMParseError2* This,LONG *count) { + return This->lpVtbl->get_errorParametersCount(This,count); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseError2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXMLDOMParseErrorCollection interface + */ +#ifndef __IXMLDOMParseErrorCollection_INTERFACE_DEFINED__ +#define __IXMLDOMParseErrorCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXMLDOMParseErrorCollection, 0x3efaa429, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3efaa429-272f-11d2-836f-0000f87a7782") +IXMLDOMParseErrorCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + IXMLDOMParseError2 **error) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_next( + IXMLDOMParseError2 **error) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXMLDOMParseErrorCollection, 0x3efaa429, 0x272f, 0x11d2, 0x83,0x6f, 0x00,0x00,0xf8,0x7a,0x77,0x82) +#endif +#else +typedef struct IXMLDOMParseErrorCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXMLDOMParseErrorCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXMLDOMParseErrorCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXMLDOMParseErrorCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IXMLDOMParseErrorCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IXMLDOMParseErrorCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IXMLDOMParseErrorCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IXMLDOMParseErrorCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IXMLDOMParseErrorCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IXMLDOMParseErrorCollection *This, + LONG index, + IXMLDOMParseError2 **error); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IXMLDOMParseErrorCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get_next)( + IXMLDOMParseErrorCollection *This, + IXMLDOMParseError2 **error); + + HRESULT (STDMETHODCALLTYPE *reset)( + IXMLDOMParseErrorCollection *This); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IXMLDOMParseErrorCollection *This, + IUnknown **ppunk); + + END_INTERFACE +} IXMLDOMParseErrorCollectionVtbl; + +interface IXMLDOMParseErrorCollection { + CONST_VTBL IXMLDOMParseErrorCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXMLDOMParseErrorCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXMLDOMParseErrorCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXMLDOMParseErrorCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IXMLDOMParseErrorCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IXMLDOMParseErrorCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IXMLDOMParseErrorCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IXMLDOMParseErrorCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IXMLDOMParseErrorCollection methods ***/ +#define IXMLDOMParseErrorCollection_get_item(This,index,error) (This)->lpVtbl->get_item(This,index,error) +#define IXMLDOMParseErrorCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IXMLDOMParseErrorCollection_get_next(This,error) (This)->lpVtbl->get_next(This,error) +#define IXMLDOMParseErrorCollection_reset(This) (This)->lpVtbl->reset(This) +#define IXMLDOMParseErrorCollection_get__newEnum(This,ppunk) (This)->lpVtbl->get__newEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_QueryInterface(IXMLDOMParseErrorCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXMLDOMParseErrorCollection_AddRef(IXMLDOMParseErrorCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXMLDOMParseErrorCollection_Release(IXMLDOMParseErrorCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_GetTypeInfoCount(IXMLDOMParseErrorCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_GetTypeInfo(IXMLDOMParseErrorCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_GetIDsOfNames(IXMLDOMParseErrorCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_Invoke(IXMLDOMParseErrorCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IXMLDOMParseErrorCollection methods ***/ +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get_item(IXMLDOMParseErrorCollection* This,LONG index,IXMLDOMParseError2 **error) { + return This->lpVtbl->get_item(This,index,error); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get_length(IXMLDOMParseErrorCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get_next(IXMLDOMParseErrorCollection* This,IXMLDOMParseError2 **error) { + return This->lpVtbl->get_next(This,error); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_reset(IXMLDOMParseErrorCollection* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IXMLDOMParseErrorCollection_get__newEnum(IXMLDOMParseErrorCollection* This,IUnknown **ppunk) { + return This->lpVtbl->get__newEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __IXMLDOMParseErrorCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DOMDocument coclass + */ + +DEFINE_GUID(CLSID_DOMDocument, 0xf6d90f11, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4); + +#ifdef __cplusplus +class DECLSPEC_UUID("f6d90f11-9c73-11d3-b32e-00c04f990bb4") DOMDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument, 0xf6d90f11, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4) +#endif +#endif + +/***************************************************************************** + * DOMDocument26 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument26, 0xf5078f1b, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1b-c551-11d3-89b9-0000f81fe221") DOMDocument26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument26, 0xf5078f1b, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * DOMDocument30 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument30, 0xf5078f32, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f32-c551-11d3-89b9-0000f81fe221") DOMDocument30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument30, 0xf5078f32, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * DOMDocument40 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument40, 0x88d969c0, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c0-f192-11d4-a65f-0040963251e5") DOMDocument40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument40, 0x88d969c0, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * DOMDocument60 coclass + */ + +DEFINE_GUID(CLSID_DOMDocument60, 0x88d96a05, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a05-f192-11d4-a65f-0040963251e5") DOMDocument60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DOMDocument60, 0x88d96a05, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument, 0xf6d90f12, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4); + +#ifdef __cplusplus +class DECLSPEC_UUID("f6d90f12-9c73-11d3-b32e-00c04f990bb4") FreeThreadedDOMDocument; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument, 0xf6d90f12, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument26 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument26, 0xf5078f1c, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1c-c551-11d3-89b9-0000f81fe221") FreeThreadedDOMDocument26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument26, 0xf5078f1c, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument30 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument30, 0xf5078f33, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f33-c551-11d3-89b9-0000f81fe221") FreeThreadedDOMDocument30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument30, 0xf5078f33, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument40 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument40, 0x88d969c1, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c1-f192-11d4-a65f-0040963251e5") FreeThreadedDOMDocument40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument40, 0x88d969c1, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * FreeThreadedDOMDocument60 coclass + */ + +DEFINE_GUID(CLSID_FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a06-f192-11d4-a65f-0040963251e5") FreeThreadedDOMDocument60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLHTTP coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP, 0xf6d90f16, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4); + +#ifdef __cplusplus +class DECLSPEC_UUID("f6d90f16-9c73-11d3-b32e-00c04f990bb4") XMLHTTP; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP, 0xf6d90f16, 0x9c73, 0x11d3, 0xb3,0x2e, 0x00,0xc0,0x4f,0x99,0x0b,0xb4) +#endif +#endif + +/***************************************************************************** + * XMLHTTP26 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP26, 0xf5078f1e, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1e-c551-11d3-89b9-0000f81fe221") XMLHTTP26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP26, 0xf5078f1e, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLHTTP30 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP30, 0xf5078f35, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f35-c551-11d3-89b9-0000f81fe221") XMLHTTP30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP30, 0xf5078f35, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLHTTP40 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP40, 0x88d969c5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c5-f192-11d4-a65f-0040963251e5") XMLHTTP40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP40, 0x88d969c5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLHTTP60 coclass + */ + +DEFINE_GUID(CLSID_XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0a-f192-11d4-a65f-0040963251e5") XMLHTTP60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP, 0xafba6b42, 0x5692, 0x48ea, 0x81,0x41, 0xdc,0x51,0x7d,0xcf,0x0e,0xf1); + +#ifdef __cplusplus +class DECLSPEC_UUID("afba6b42-5692-48ea-8141-dc517dcf0ef1") ServerXMLHTTP; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP, 0xafba6b42, 0x5692, 0x48ea, 0x81,0x41, 0xdc,0x51,0x7d,0xcf,0x0e,0xf1) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP30 coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP30, 0xafb40ffd, 0xb609, 0x40a3, 0x98,0x28, 0xf8,0x8b,0xbe,0x11,0xe4,0xe3); + +#ifdef __cplusplus +class DECLSPEC_UUID("afb40ffd-b609-40a3-9828-f88bbe11e4e3") ServerXMLHTTP30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP30, 0xafb40ffd, 0xb609, 0x40a3, 0x98,0x28, 0xf8,0x8b,0xbe,0x11,0xe4,0xe3) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP40 coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP40, 0x88d969c6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c6-f192-11d4-a65f-0040963251e5") ServerXMLHTTP40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP40, 0x88d969c6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * ServerXMLHTTP60 coclass + */ + +DEFINE_GUID(CLSID_ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0b-f192-11d4-a65f-0040963251e5") ServerXMLHTTP60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache, 0x373984c9, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde); + +#ifdef __cplusplus +class DECLSPEC_UUID("373984c9-b845-449b-91e7-45ac83036ade") XMLSchemaCache; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache, 0x373984c9, 0xb845, 0x449b, 0x91,0xe7, 0x45,0xac,0x83,0x03,0x6a,0xde) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache26 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache26, 0xf5078f1d, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f1d-c551-11d3-89b9-0000f81fe221") XMLSchemaCache26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache26, 0xf5078f1d, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache30 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache30, 0xf5078f34, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f34-c551-11d3-89b9-0000f81fe221") XMLSchemaCache30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache30, 0xf5078f34, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache40 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache40, 0x88d969c2, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c2-f192-11d4-a65f-0040963251e5") XMLSchemaCache40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache40, 0x88d969c2, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XMLSchemaCache60 coclass + */ + +DEFINE_GUID(CLSID_XMLSchemaCache60, 0x88d96a07, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a07-f192-11d4-a65f-0040963251e5") XMLSchemaCache60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XMLSchemaCache60, 0x88d96a07, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XSLTemplate coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate, 0x2933bf94, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60); + +#ifdef __cplusplus +class DECLSPEC_UUID("2933bf94-7b36-11d2-b20e-00c04f983e60") XSLTemplate; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate, 0x2933bf94, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60) +#endif +#endif + +/***************************************************************************** + * XSLTemplate26 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate26, 0xf5078f21, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f21-c551-11d3-89b9-0000f81fe221") XSLTemplate26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate26, 0xf5078f21, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XSLTemplate30 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate30, 0xf5078f36, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5078f36-c551-11d3-89b9-0000f81fe221") XSLTemplate30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate30, 0xf5078f36, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21) +#endif +#endif + +/***************************************************************************** + * XSLTemplate40 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate40, 0x88d969c3, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c3-f192-11d4-a65f-0040963251e5") XSLTemplate40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate40, 0x88d969c3, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * XSLTemplate60 coclass + */ + +DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a08-f192-11d4-a65f-0040963251e5") XSLTemplate60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * ISAXAttributes interface + */ +#ifndef __ISAXAttributes_INTERFACE_DEFINED__ +#define __ISAXAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXAttributes, 0xf078abe1, 0x45d2, 0x4832, 0x91,0xea, 0x44,0x66,0xce,0x2f,0x25,0xc9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f078abe1-45d2-4832-91ea-4466ce2f25c9") +ISAXAttributes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE getLength( + int *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + int nIndex, + const WCHAR **pUrl, + int *pUriSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE getLocalName( + int nIndex, + const WCHAR **pLocalName, + int *pLocalNameLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQName( + int nIndex, + const WCHAR **pQName, + int *pQNameLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getName( + int nIndex, + const WCHAR **pUri, + int *pUriLength, + const WCHAR **pLocalName, + int *pLocalNameSize, + const WCHAR **pQName, + int *pQNameLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromName( + const WCHAR *pUri, + int cUriLength, + const WCHAR *pLocalName, + int cocalNameLength, + int *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromQName( + const WCHAR *pQName, + int nQNameLength, + int *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE getType( + int nIndex, + const WCHAR **pType, + int *pTypeLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromName( + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pType, + int *nType) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromQName( + const WCHAR *pQName, + int nQName, + const WCHAR **pType, + int *nType) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValue( + int nIndex, + const WCHAR **pValue, + int *nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromName( + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pValue, + int *nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromQName( + const WCHAR *pQName, + int nQName, + const WCHAR **pValue, + int *nValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXAttributes, 0xf078abe1, 0x45d2, 0x4832, 0x91,0xea, 0x44,0x66,0xce,0x2f,0x25,0xc9) +#endif +#else +typedef struct ISAXAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXAttributes *This); + + /*** ISAXAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *getLength)( + ISAXAttributes *This, + int *length); + + HRESULT (STDMETHODCALLTYPE *getURI)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pUrl, + int *pUriSize); + + HRESULT (STDMETHODCALLTYPE *getLocalName)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pLocalName, + int *pLocalNameLength); + + HRESULT (STDMETHODCALLTYPE *getQName)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pQName, + int *pQNameLength); + + HRESULT (STDMETHODCALLTYPE *getName)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pUri, + int *pUriLength, + const WCHAR **pLocalName, + int *pLocalNameSize, + const WCHAR **pQName, + int *pQNameLength); + + HRESULT (STDMETHODCALLTYPE *getIndexFromName)( + ISAXAttributes *This, + const WCHAR *pUri, + int cUriLength, + const WCHAR *pLocalName, + int cocalNameLength, + int *index); + + HRESULT (STDMETHODCALLTYPE *getIndexFromQName)( + ISAXAttributes *This, + const WCHAR *pQName, + int nQNameLength, + int *index); + + HRESULT (STDMETHODCALLTYPE *getType)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pType, + int *pTypeLength); + + HRESULT (STDMETHODCALLTYPE *getTypeFromName)( + ISAXAttributes *This, + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pType, + int *nType); + + HRESULT (STDMETHODCALLTYPE *getTypeFromQName)( + ISAXAttributes *This, + const WCHAR *pQName, + int nQName, + const WCHAR **pType, + int *nType); + + HRESULT (STDMETHODCALLTYPE *getValue)( + ISAXAttributes *This, + int nIndex, + const WCHAR **pValue, + int *nValue); + + HRESULT (STDMETHODCALLTYPE *getValueFromName)( + ISAXAttributes *This, + const WCHAR *pUri, + int nUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR **pValue, + int *nValue); + + HRESULT (STDMETHODCALLTYPE *getValueFromQName)( + ISAXAttributes *This, + const WCHAR *pQName, + int nQName, + const WCHAR **pValue, + int *nValue); + + END_INTERFACE +} ISAXAttributesVtbl; + +interface ISAXAttributes { + CONST_VTBL ISAXAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXAttributes methods ***/ +#define ISAXAttributes_getLength(This,length) (This)->lpVtbl->getLength(This,length) +#define ISAXAttributes_getURI(This,nIndex,pUrl,pUriSize) (This)->lpVtbl->getURI(This,nIndex,pUrl,pUriSize) +#define ISAXAttributes_getLocalName(This,nIndex,pLocalName,pLocalNameLength) (This)->lpVtbl->getLocalName(This,nIndex,pLocalName,pLocalNameLength) +#define ISAXAttributes_getQName(This,nIndex,pQName,pQNameLength) (This)->lpVtbl->getQName(This,nIndex,pQName,pQNameLength) +#define ISAXAttributes_getName(This,nIndex,pUri,pUriLength,pLocalName,pLocalNameSize,pQName,pQNameLength) (This)->lpVtbl->getName(This,nIndex,pUri,pUriLength,pLocalName,pLocalNameSize,pQName,pQNameLength) +#define ISAXAttributes_getIndexFromName(This,pUri,cUriLength,pLocalName,cocalNameLength,index) (This)->lpVtbl->getIndexFromName(This,pUri,cUriLength,pLocalName,cocalNameLength,index) +#define ISAXAttributes_getIndexFromQName(This,pQName,nQNameLength,index) (This)->lpVtbl->getIndexFromQName(This,pQName,nQNameLength,index) +#define ISAXAttributes_getType(This,nIndex,pType,pTypeLength) (This)->lpVtbl->getType(This,nIndex,pType,pTypeLength) +#define ISAXAttributes_getTypeFromName(This,pUri,nUri,pLocalName,nLocalName,pType,nType) (This)->lpVtbl->getTypeFromName(This,pUri,nUri,pLocalName,nLocalName,pType,nType) +#define ISAXAttributes_getTypeFromQName(This,pQName,nQName,pType,nType) (This)->lpVtbl->getTypeFromQName(This,pQName,nQName,pType,nType) +#define ISAXAttributes_getValue(This,nIndex,pValue,nValue) (This)->lpVtbl->getValue(This,nIndex,pValue,nValue) +#define ISAXAttributes_getValueFromName(This,pUri,nUri,pLocalName,nLocalName,pValue,nValue) (This)->lpVtbl->getValueFromName(This,pUri,nUri,pLocalName,nLocalName,pValue,nValue) +#define ISAXAttributes_getValueFromQName(This,pQName,nQName,pValue,nValue) (This)->lpVtbl->getValueFromQName(This,pQName,nQName,pValue,nValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXAttributes_QueryInterface(ISAXAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXAttributes_AddRef(ISAXAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXAttributes_Release(ISAXAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXAttributes methods ***/ +static FORCEINLINE HRESULT ISAXAttributes_getLength(ISAXAttributes* This,int *length) { + return This->lpVtbl->getLength(This,length); +} +static FORCEINLINE HRESULT ISAXAttributes_getURI(ISAXAttributes* This,int nIndex,const WCHAR **pUrl,int *pUriSize) { + return This->lpVtbl->getURI(This,nIndex,pUrl,pUriSize); +} +static FORCEINLINE HRESULT ISAXAttributes_getLocalName(ISAXAttributes* This,int nIndex,const WCHAR **pLocalName,int *pLocalNameLength) { + return This->lpVtbl->getLocalName(This,nIndex,pLocalName,pLocalNameLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getQName(ISAXAttributes* This,int nIndex,const WCHAR **pQName,int *pQNameLength) { + return This->lpVtbl->getQName(This,nIndex,pQName,pQNameLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getName(ISAXAttributes* This,int nIndex,const WCHAR **pUri,int *pUriLength,const WCHAR **pLocalName,int *pLocalNameSize,const WCHAR **pQName,int *pQNameLength) { + return This->lpVtbl->getName(This,nIndex,pUri,pUriLength,pLocalName,pLocalNameSize,pQName,pQNameLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getIndexFromName(ISAXAttributes* This,const WCHAR *pUri,int cUriLength,const WCHAR *pLocalName,int cocalNameLength,int *index) { + return This->lpVtbl->getIndexFromName(This,pUri,cUriLength,pLocalName,cocalNameLength,index); +} +static FORCEINLINE HRESULT ISAXAttributes_getIndexFromQName(ISAXAttributes* This,const WCHAR *pQName,int nQNameLength,int *index) { + return This->lpVtbl->getIndexFromQName(This,pQName,nQNameLength,index); +} +static FORCEINLINE HRESULT ISAXAttributes_getType(ISAXAttributes* This,int nIndex,const WCHAR **pType,int *pTypeLength) { + return This->lpVtbl->getType(This,nIndex,pType,pTypeLength); +} +static FORCEINLINE HRESULT ISAXAttributes_getTypeFromName(ISAXAttributes* This,const WCHAR *pUri,int nUri,const WCHAR *pLocalName,int nLocalName,const WCHAR **pType,int *nType) { + return This->lpVtbl->getTypeFromName(This,pUri,nUri,pLocalName,nLocalName,pType,nType); +} +static FORCEINLINE HRESULT ISAXAttributes_getTypeFromQName(ISAXAttributes* This,const WCHAR *pQName,int nQName,const WCHAR **pType,int *nType) { + return This->lpVtbl->getTypeFromQName(This,pQName,nQName,pType,nType); +} +static FORCEINLINE HRESULT ISAXAttributes_getValue(ISAXAttributes* This,int nIndex,const WCHAR **pValue,int *nValue) { + return This->lpVtbl->getValue(This,nIndex,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXAttributes_getValueFromName(ISAXAttributes* This,const WCHAR *pUri,int nUri,const WCHAR *pLocalName,int nLocalName,const WCHAR **pValue,int *nValue) { + return This->lpVtbl->getValueFromName(This,pUri,nUri,pLocalName,nLocalName,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXAttributes_getValueFromQName(ISAXAttributes* This,const WCHAR *pQName,int nQName,const WCHAR **pValue,int *nValue) { + return This->lpVtbl->getValueFromQName(This,pQName,nQName,pValue,nValue); +} +#endif +#endif + +#endif + + +#endif /* __ISAXAttributes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXContentHandler interface + */ +#ifndef __ISAXContentHandler_INTERFACE_DEFINED__ +#define __ISAXContentHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXContentHandler, 0x1545cdfa, 0x9e4e, 0x4497, 0xa8,0xa4, 0x2b,0xf7,0xd0,0x11,0x2c,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1545cdfa-9e4e-4497-a8a4-2bf7d0112c44") +ISAXContentHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE putDocumentLocator( + ISAXLocator *pLocator) = 0; + + virtual HRESULT STDMETHODCALLTYPE startDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startPrefixMapping( + const WCHAR *pPrefix, + int nPrefix, + const WCHAR *pUri, + int nUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE endPrefixMapping( + const WCHAR *pPrefix, + int nPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE startElement( + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName, + ISAXAttributes *pAttr) = 0; + + virtual HRESULT STDMETHODCALLTYPE endElement( + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName) = 0; + + virtual HRESULT STDMETHODCALLTYPE characters( + const WCHAR *pChars, + int nChars) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWhitespace( + const WCHAR *pChars, + int nChars) = 0; + + virtual HRESULT STDMETHODCALLTYPE processingInstruction( + const WCHAR *pTarget, + int nTarget, + const WCHAR *pData, + int nData) = 0; + + virtual HRESULT STDMETHODCALLTYPE skippedEntity( + const WCHAR *pName, + int nName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXContentHandler, 0x1545cdfa, 0x9e4e, 0x4497, 0xa8,0xa4, 0x2b,0xf7,0xd0,0x11,0x2c,0x44) +#endif +#else +typedef struct ISAXContentHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXContentHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXContentHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXContentHandler *This); + + /*** ISAXContentHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *putDocumentLocator)( + ISAXContentHandler *This, + ISAXLocator *pLocator); + + HRESULT (STDMETHODCALLTYPE *startDocument)( + ISAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *endDocument)( + ISAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *startPrefixMapping)( + ISAXContentHandler *This, + const WCHAR *pPrefix, + int nPrefix, + const WCHAR *pUri, + int nUri); + + HRESULT (STDMETHODCALLTYPE *endPrefixMapping)( + ISAXContentHandler *This, + const WCHAR *pPrefix, + int nPrefix); + + HRESULT (STDMETHODCALLTYPE *startElement)( + ISAXContentHandler *This, + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName, + ISAXAttributes *pAttr); + + HRESULT (STDMETHODCALLTYPE *endElement)( + ISAXContentHandler *This, + const WCHAR *pNamespaceUri, + int nNamespaceUri, + const WCHAR *pLocalName, + int nLocalName, + const WCHAR *pQName, + int nQName); + + HRESULT (STDMETHODCALLTYPE *characters)( + ISAXContentHandler *This, + const WCHAR *pChars, + int nChars); + + HRESULT (STDMETHODCALLTYPE *ignorableWhitespace)( + ISAXContentHandler *This, + const WCHAR *pChars, + int nChars); + + HRESULT (STDMETHODCALLTYPE *processingInstruction)( + ISAXContentHandler *This, + const WCHAR *pTarget, + int nTarget, + const WCHAR *pData, + int nData); + + HRESULT (STDMETHODCALLTYPE *skippedEntity)( + ISAXContentHandler *This, + const WCHAR *pName, + int nName); + + END_INTERFACE +} ISAXContentHandlerVtbl; + +interface ISAXContentHandler { + CONST_VTBL ISAXContentHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXContentHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXContentHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXContentHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXContentHandler methods ***/ +#define ISAXContentHandler_putDocumentLocator(This,pLocator) (This)->lpVtbl->putDocumentLocator(This,pLocator) +#define ISAXContentHandler_startDocument(This) (This)->lpVtbl->startDocument(This) +#define ISAXContentHandler_endDocument(This) (This)->lpVtbl->endDocument(This) +#define ISAXContentHandler_startPrefixMapping(This,pPrefix,nPrefix,pUri,nUri) (This)->lpVtbl->startPrefixMapping(This,pPrefix,nPrefix,pUri,nUri) +#define ISAXContentHandler_endPrefixMapping(This,pPrefix,nPrefix) (This)->lpVtbl->endPrefixMapping(This,pPrefix,nPrefix) +#define ISAXContentHandler_startElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName,pAttr) (This)->lpVtbl->startElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName,pAttr) +#define ISAXContentHandler_endElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName) (This)->lpVtbl->endElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName) +#define ISAXContentHandler_characters(This,pChars,nChars) (This)->lpVtbl->characters(This,pChars,nChars) +#define ISAXContentHandler_ignorableWhitespace(This,pChars,nChars) (This)->lpVtbl->ignorableWhitespace(This,pChars,nChars) +#define ISAXContentHandler_processingInstruction(This,pTarget,nTarget,pData,nData) (This)->lpVtbl->processingInstruction(This,pTarget,nTarget,pData,nData) +#define ISAXContentHandler_skippedEntity(This,pName,nName) (This)->lpVtbl->skippedEntity(This,pName,nName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXContentHandler_QueryInterface(ISAXContentHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXContentHandler_AddRef(ISAXContentHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXContentHandler_Release(ISAXContentHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXContentHandler methods ***/ +static FORCEINLINE HRESULT ISAXContentHandler_putDocumentLocator(ISAXContentHandler* This,ISAXLocator *pLocator) { + return This->lpVtbl->putDocumentLocator(This,pLocator); +} +static FORCEINLINE HRESULT ISAXContentHandler_startDocument(ISAXContentHandler* This) { + return This->lpVtbl->startDocument(This); +} +static FORCEINLINE HRESULT ISAXContentHandler_endDocument(ISAXContentHandler* This) { + return This->lpVtbl->endDocument(This); +} +static FORCEINLINE HRESULT ISAXContentHandler_startPrefixMapping(ISAXContentHandler* This,const WCHAR *pPrefix,int nPrefix,const WCHAR *pUri,int nUri) { + return This->lpVtbl->startPrefixMapping(This,pPrefix,nPrefix,pUri,nUri); +} +static FORCEINLINE HRESULT ISAXContentHandler_endPrefixMapping(ISAXContentHandler* This,const WCHAR *pPrefix,int nPrefix) { + return This->lpVtbl->endPrefixMapping(This,pPrefix,nPrefix); +} +static FORCEINLINE HRESULT ISAXContentHandler_startElement(ISAXContentHandler* This,const WCHAR *pNamespaceUri,int nNamespaceUri,const WCHAR *pLocalName,int nLocalName,const WCHAR *pQName,int nQName,ISAXAttributes *pAttr) { + return This->lpVtbl->startElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName,pAttr); +} +static FORCEINLINE HRESULT ISAXContentHandler_endElement(ISAXContentHandler* This,const WCHAR *pNamespaceUri,int nNamespaceUri,const WCHAR *pLocalName,int nLocalName,const WCHAR *pQName,int nQName) { + return This->lpVtbl->endElement(This,pNamespaceUri,nNamespaceUri,pLocalName,nLocalName,pQName,nQName); +} +static FORCEINLINE HRESULT ISAXContentHandler_characters(ISAXContentHandler* This,const WCHAR *pChars,int nChars) { + return This->lpVtbl->characters(This,pChars,nChars); +} +static FORCEINLINE HRESULT ISAXContentHandler_ignorableWhitespace(ISAXContentHandler* This,const WCHAR *pChars,int nChars) { + return This->lpVtbl->ignorableWhitespace(This,pChars,nChars); +} +static FORCEINLINE HRESULT ISAXContentHandler_processingInstruction(ISAXContentHandler* This,const WCHAR *pTarget,int nTarget,const WCHAR *pData,int nData) { + return This->lpVtbl->processingInstruction(This,pTarget,nTarget,pData,nData); +} +static FORCEINLINE HRESULT ISAXContentHandler_skippedEntity(ISAXContentHandler* This,const WCHAR *pName,int nName) { + return This->lpVtbl->skippedEntity(This,pName,nName); +} +#endif +#endif + +#endif + + +#endif /* __ISAXContentHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXDeclHandler interface + */ +#ifndef __ISAXDeclHandler_INTERFACE_DEFINED__ +#define __ISAXDeclHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXDeclHandler, 0x862629ac, 0x771a, 0x47b2, 0x83,0x37, 0x4e,0x68,0x43,0xc1,0xbe,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("862629ac-771a-47b2-8337-4e6843c1be90") +ISAXDeclHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE elementDecl( + const WCHAR *pName, + int nName, + const WCHAR *pModel, + int nModel) = 0; + + virtual HRESULT STDMETHODCALLTYPE attributeDecl( + const WCHAR *pElementName, + int nElementName, + const WCHAR *pAttributeName, + int nAttributeName, + const WCHAR *pType, + int nType, + const WCHAR *pValueDefault, + int nValueDefault, + const WCHAR *pValue, + int nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE internalEntityDecl( + const WCHAR *pName, + int nName, + const WCHAR *pValue, + int nValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE externalEntityDecl( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXDeclHandler, 0x862629ac, 0x771a, 0x47b2, 0x83,0x37, 0x4e,0x68,0x43,0xc1,0xbe,0x90) +#endif +#else +typedef struct ISAXDeclHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXDeclHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXDeclHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXDeclHandler *This); + + /*** ISAXDeclHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *elementDecl)( + ISAXDeclHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pModel, + int nModel); + + HRESULT (STDMETHODCALLTYPE *attributeDecl)( + ISAXDeclHandler *This, + const WCHAR *pElementName, + int nElementName, + const WCHAR *pAttributeName, + int nAttributeName, + const WCHAR *pType, + int nType, + const WCHAR *pValueDefault, + int nValueDefault, + const WCHAR *pValue, + int nValue); + + HRESULT (STDMETHODCALLTYPE *internalEntityDecl)( + ISAXDeclHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pValue, + int nValue); + + HRESULT (STDMETHODCALLTYPE *externalEntityDecl)( + ISAXDeclHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId); + + END_INTERFACE +} ISAXDeclHandlerVtbl; + +interface ISAXDeclHandler { + CONST_VTBL ISAXDeclHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXDeclHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXDeclHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXDeclHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXDeclHandler methods ***/ +#define ISAXDeclHandler_elementDecl(This,pName,nName,pModel,nModel) (This)->lpVtbl->elementDecl(This,pName,nName,pModel,nModel) +#define ISAXDeclHandler_attributeDecl(This,pElementName,nElementName,pAttributeName,nAttributeName,pType,nType,pValueDefault,nValueDefault,pValue,nValue) (This)->lpVtbl->attributeDecl(This,pElementName,nElementName,pAttributeName,nAttributeName,pType,nType,pValueDefault,nValueDefault,pValue,nValue) +#define ISAXDeclHandler_internalEntityDecl(This,pName,nName,pValue,nValue) (This)->lpVtbl->internalEntityDecl(This,pName,nName,pValue,nValue) +#define ISAXDeclHandler_externalEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) (This)->lpVtbl->externalEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXDeclHandler_QueryInterface(ISAXDeclHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXDeclHandler_AddRef(ISAXDeclHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXDeclHandler_Release(ISAXDeclHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXDeclHandler methods ***/ +static FORCEINLINE HRESULT ISAXDeclHandler_elementDecl(ISAXDeclHandler* This,const WCHAR *pName,int nName,const WCHAR *pModel,int nModel) { + return This->lpVtbl->elementDecl(This,pName,nName,pModel,nModel); +} +static FORCEINLINE HRESULT ISAXDeclHandler_attributeDecl(ISAXDeclHandler* This,const WCHAR *pElementName,int nElementName,const WCHAR *pAttributeName,int nAttributeName,const WCHAR *pType,int nType,const WCHAR *pValueDefault,int nValueDefault,const WCHAR *pValue,int nValue) { + return This->lpVtbl->attributeDecl(This,pElementName,nElementName,pAttributeName,nAttributeName,pType,nType,pValueDefault,nValueDefault,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXDeclHandler_internalEntityDecl(ISAXDeclHandler* This,const WCHAR *pName,int nName,const WCHAR *pValue,int nValue) { + return This->lpVtbl->internalEntityDecl(This,pName,nName,pValue,nValue); +} +static FORCEINLINE HRESULT ISAXDeclHandler_externalEntityDecl(ISAXDeclHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId) { + return This->lpVtbl->externalEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId); +} +#endif +#endif + +#endif + + +#endif /* __ISAXDeclHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXDTDHandler interface + */ +#ifndef __ISAXDTDHandler_INTERFACE_DEFINED__ +#define __ISAXDTDHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXDTDHandler, 0xe15c1baf, 0xafb3, 0x4d60, 0x8c,0x36, 0x19,0xa8,0xc4,0x5d,0xef,0xed); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e15c1baf-afb3-4d60-8c36-19a8c45defed") +ISAXDTDHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE notationDecl( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE unparsedEntityDecl( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId, + const WCHAR *pNotationName, + int nNotationName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXDTDHandler, 0xe15c1baf, 0xafb3, 0x4d60, 0x8c,0x36, 0x19,0xa8,0xc4,0x5d,0xef,0xed) +#endif +#else +typedef struct ISAXDTDHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXDTDHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXDTDHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXDTDHandler *This); + + /*** ISAXDTDHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *notationDecl)( + ISAXDTDHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId); + + HRESULT (STDMETHODCALLTYPE *unparsedEntityDecl)( + ISAXDTDHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId, + const WCHAR *pNotationName, + int nNotationName); + + END_INTERFACE +} ISAXDTDHandlerVtbl; + +interface ISAXDTDHandler { + CONST_VTBL ISAXDTDHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXDTDHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXDTDHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXDTDHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXDTDHandler methods ***/ +#define ISAXDTDHandler_notationDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) (This)->lpVtbl->notationDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) +#define ISAXDTDHandler_unparsedEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId,pNotationName,nNotationName) (This)->lpVtbl->unparsedEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId,pNotationName,nNotationName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXDTDHandler_QueryInterface(ISAXDTDHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXDTDHandler_AddRef(ISAXDTDHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXDTDHandler_Release(ISAXDTDHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXDTDHandler methods ***/ +static FORCEINLINE HRESULT ISAXDTDHandler_notationDecl(ISAXDTDHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId) { + return This->lpVtbl->notationDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId); +} +static FORCEINLINE HRESULT ISAXDTDHandler_unparsedEntityDecl(ISAXDTDHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId,const WCHAR *pNotationName,int nNotationName) { + return This->lpVtbl->unparsedEntityDecl(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId,pNotationName,nNotationName); +} +#endif +#endif + +#endif + + +#endif /* __ISAXDTDHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXEntityResolver interface + */ +#ifndef __ISAXEntityResolver_INTERFACE_DEFINED__ +#define __ISAXEntityResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXEntityResolver, 0x99bca7bd, 0xe8c4, 0x4d5f, 0xa0,0xcf, 0x6d,0x90,0x79,0x01,0xff,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("99bca7bd-e8c4-4d5f-a0cf-6d907901ff07") +ISAXEntityResolver : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE resolveEntity( + const WCHAR *pPublicId, + const WCHAR *pSystemId, + VARIANT *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXEntityResolver, 0x99bca7bd, 0xe8c4, 0x4d5f, 0xa0,0xcf, 0x6d,0x90,0x79,0x01,0xff,0x07) +#endif +#else +typedef struct ISAXEntityResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXEntityResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXEntityResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXEntityResolver *This); + + /*** ISAXEntityResolver methods ***/ + HRESULT (STDMETHODCALLTYPE *resolveEntity)( + ISAXEntityResolver *This, + const WCHAR *pPublicId, + const WCHAR *pSystemId, + VARIANT *ret); + + END_INTERFACE +} ISAXEntityResolverVtbl; + +interface ISAXEntityResolver { + CONST_VTBL ISAXEntityResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXEntityResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXEntityResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXEntityResolver_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXEntityResolver methods ***/ +#define ISAXEntityResolver_resolveEntity(This,pPublicId,pSystemId,ret) (This)->lpVtbl->resolveEntity(This,pPublicId,pSystemId,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXEntityResolver_QueryInterface(ISAXEntityResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXEntityResolver_AddRef(ISAXEntityResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXEntityResolver_Release(ISAXEntityResolver* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXEntityResolver methods ***/ +static FORCEINLINE HRESULT ISAXEntityResolver_resolveEntity(ISAXEntityResolver* This,const WCHAR *pPublicId,const WCHAR *pSystemId,VARIANT *ret) { + return This->lpVtbl->resolveEntity(This,pPublicId,pSystemId,ret); +} +#endif +#endif + +#endif + + +#endif /* __ISAXEntityResolver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXErrorHandler interface + */ +#ifndef __ISAXErrorHandler_INTERFACE_DEFINED__ +#define __ISAXErrorHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXErrorHandler, 0xa60511c4, 0xccf5, 0x479e, 0x98,0xa3, 0xdc,0x8d,0xc5,0x45,0xb7,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a60511c4-ccf5-479e-98a3-dc8dc545b7d0") +ISAXErrorHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE error( + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE fatalError( + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWarning( + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXErrorHandler, 0xa60511c4, 0xccf5, 0x479e, 0x98,0xa3, 0xdc,0x8d,0xc5,0x45,0xb7,0xd0) +#endif +#else +typedef struct ISAXErrorHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXErrorHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXErrorHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXErrorHandler *This); + + /*** ISAXErrorHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *error)( + ISAXErrorHandler *This, + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode); + + HRESULT (STDMETHODCALLTYPE *fatalError)( + ISAXErrorHandler *This, + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode); + + HRESULT (STDMETHODCALLTYPE *ignorableWarning)( + ISAXErrorHandler *This, + ISAXLocator *pLocator, + const WCHAR *pErrorMessage, + HRESULT hrErrorCode); + + END_INTERFACE +} ISAXErrorHandlerVtbl; + +interface ISAXErrorHandler { + CONST_VTBL ISAXErrorHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXErrorHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXErrorHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXErrorHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXErrorHandler methods ***/ +#define ISAXErrorHandler_error(This,pLocator,pErrorMessage,hrErrorCode) (This)->lpVtbl->error(This,pLocator,pErrorMessage,hrErrorCode) +#define ISAXErrorHandler_fatalError(This,pLocator,pErrorMessage,hrErrorCode) (This)->lpVtbl->fatalError(This,pLocator,pErrorMessage,hrErrorCode) +#define ISAXErrorHandler_ignorableWarning(This,pLocator,pErrorMessage,hrErrorCode) (This)->lpVtbl->ignorableWarning(This,pLocator,pErrorMessage,hrErrorCode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXErrorHandler_QueryInterface(ISAXErrorHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXErrorHandler_AddRef(ISAXErrorHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXErrorHandler_Release(ISAXErrorHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXErrorHandler methods ***/ +static FORCEINLINE HRESULT ISAXErrorHandler_error(ISAXErrorHandler* This,ISAXLocator *pLocator,const WCHAR *pErrorMessage,HRESULT hrErrorCode) { + return This->lpVtbl->error(This,pLocator,pErrorMessage,hrErrorCode); +} +static FORCEINLINE HRESULT ISAXErrorHandler_fatalError(ISAXErrorHandler* This,ISAXLocator *pLocator,const WCHAR *pErrorMessage,HRESULT hrErrorCode) { + return This->lpVtbl->fatalError(This,pLocator,pErrorMessage,hrErrorCode); +} +static FORCEINLINE HRESULT ISAXErrorHandler_ignorableWarning(ISAXErrorHandler* This,ISAXLocator *pLocator,const WCHAR *pErrorMessage,HRESULT hrErrorCode) { + return This->lpVtbl->ignorableWarning(This,pLocator,pErrorMessage,hrErrorCode); +} +#endif +#endif + +#endif + + +#endif /* __ISAXErrorHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXLexicalHandler interface + */ +#ifndef __ISAXLexicalHandler_INTERFACE_DEFINED__ +#define __ISAXLexicalHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXLexicalHandler, 0x7f85d5f5, 0x47a8, 0x4497, 0xbd,0xa5, 0x84,0xba,0x04,0x81,0x9e,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7f85d5f5-47a8-4497-bda5-84ba04819ea6") +ISAXLexicalHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE startDTD( + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDTD( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startEntity( + const WCHAR *pName, + int nName) = 0; + + virtual HRESULT STDMETHODCALLTYPE endEntity( + const WCHAR *pName, + int nName) = 0; + + virtual HRESULT STDMETHODCALLTYPE startCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE comment( + const WCHAR *pChars, + int nChars) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXLexicalHandler, 0x7f85d5f5, 0x47a8, 0x4497, 0xbd,0xa5, 0x84,0xba,0x04,0x81,0x9e,0xa6) +#endif +#else +typedef struct ISAXLexicalHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXLexicalHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXLexicalHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXLexicalHandler *This); + + /*** ISAXLexicalHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *startDTD)( + ISAXLexicalHandler *This, + const WCHAR *pName, + int nName, + const WCHAR *pPublicId, + int nPublicId, + const WCHAR *pSystemId, + int nSystemId); + + HRESULT (STDMETHODCALLTYPE *endDTD)( + ISAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *startEntity)( + ISAXLexicalHandler *This, + const WCHAR *pName, + int nName); + + HRESULT (STDMETHODCALLTYPE *endEntity)( + ISAXLexicalHandler *This, + const WCHAR *pName, + int nName); + + HRESULT (STDMETHODCALLTYPE *startCDATA)( + ISAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *endCDATA)( + ISAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *comment)( + ISAXLexicalHandler *This, + const WCHAR *pChars, + int nChars); + + END_INTERFACE +} ISAXLexicalHandlerVtbl; + +interface ISAXLexicalHandler { + CONST_VTBL ISAXLexicalHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXLexicalHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXLexicalHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXLexicalHandler_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXLexicalHandler methods ***/ +#define ISAXLexicalHandler_startDTD(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) (This)->lpVtbl->startDTD(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId) +#define ISAXLexicalHandler_endDTD(This) (This)->lpVtbl->endDTD(This) +#define ISAXLexicalHandler_startEntity(This,pName,nName) (This)->lpVtbl->startEntity(This,pName,nName) +#define ISAXLexicalHandler_endEntity(This,pName,nName) (This)->lpVtbl->endEntity(This,pName,nName) +#define ISAXLexicalHandler_startCDATA(This) (This)->lpVtbl->startCDATA(This) +#define ISAXLexicalHandler_endCDATA(This) (This)->lpVtbl->endCDATA(This) +#define ISAXLexicalHandler_comment(This,pChars,nChars) (This)->lpVtbl->comment(This,pChars,nChars) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXLexicalHandler_QueryInterface(ISAXLexicalHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXLexicalHandler_AddRef(ISAXLexicalHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXLexicalHandler_Release(ISAXLexicalHandler* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXLexicalHandler methods ***/ +static FORCEINLINE HRESULT ISAXLexicalHandler_startDTD(ISAXLexicalHandler* This,const WCHAR *pName,int nName,const WCHAR *pPublicId,int nPublicId,const WCHAR *pSystemId,int nSystemId) { + return This->lpVtbl->startDTD(This,pName,nName,pPublicId,nPublicId,pSystemId,nSystemId); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_endDTD(ISAXLexicalHandler* This) { + return This->lpVtbl->endDTD(This); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_startEntity(ISAXLexicalHandler* This,const WCHAR *pName,int nName) { + return This->lpVtbl->startEntity(This,pName,nName); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_endEntity(ISAXLexicalHandler* This,const WCHAR *pName,int nName) { + return This->lpVtbl->endEntity(This,pName,nName); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_startCDATA(ISAXLexicalHandler* This) { + return This->lpVtbl->startCDATA(This); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_endCDATA(ISAXLexicalHandler* This) { + return This->lpVtbl->endCDATA(This); +} +static FORCEINLINE HRESULT ISAXLexicalHandler_comment(ISAXLexicalHandler* This,const WCHAR *pChars,int nChars) { + return This->lpVtbl->comment(This,pChars,nChars); +} +#endif +#endif + +#endif + + +#endif /* __ISAXLexicalHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXLocator interface + */ +#ifndef __ISAXLocator_INTERFACE_DEFINED__ +#define __ISAXLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXLocator, 0x9b7e472a, 0x0de4, 0x4640, 0xbf,0xf3, 0x84,0xd3,0x8a,0x05,0x1c,0x31); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b7e472a-0de4-4640-bff3-84d38a051c31") +ISAXLocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE getColumnNumber( + int *nColumn) = 0; + + virtual HRESULT STDMETHODCALLTYPE getLineNumber( + int *nLine) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPublicId( + const WCHAR **publicId) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSystemId( + const WCHAR **systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXLocator, 0x9b7e472a, 0x0de4, 0x4640, 0xbf,0xf3, 0x84,0xd3,0x8a,0x05,0x1c,0x31) +#endif +#else +typedef struct ISAXLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXLocator *This); + + /*** ISAXLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *getColumnNumber)( + ISAXLocator *This, + int *nColumn); + + HRESULT (STDMETHODCALLTYPE *getLineNumber)( + ISAXLocator *This, + int *nLine); + + HRESULT (STDMETHODCALLTYPE *getPublicId)( + ISAXLocator *This, + const WCHAR **publicId); + + HRESULT (STDMETHODCALLTYPE *getSystemId)( + ISAXLocator *This, + const WCHAR **systemId); + + END_INTERFACE +} ISAXLocatorVtbl; + +interface ISAXLocator { + CONST_VTBL ISAXLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXLocator_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXLocator methods ***/ +#define ISAXLocator_getColumnNumber(This,nColumn) (This)->lpVtbl->getColumnNumber(This,nColumn) +#define ISAXLocator_getLineNumber(This,nLine) (This)->lpVtbl->getLineNumber(This,nLine) +#define ISAXLocator_getPublicId(This,publicId) (This)->lpVtbl->getPublicId(This,publicId) +#define ISAXLocator_getSystemId(This,systemId) (This)->lpVtbl->getSystemId(This,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXLocator_QueryInterface(ISAXLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXLocator_AddRef(ISAXLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXLocator_Release(ISAXLocator* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXLocator methods ***/ +static FORCEINLINE HRESULT ISAXLocator_getColumnNumber(ISAXLocator* This,int *nColumn) { + return This->lpVtbl->getColumnNumber(This,nColumn); +} +static FORCEINLINE HRESULT ISAXLocator_getLineNumber(ISAXLocator* This,int *nLine) { + return This->lpVtbl->getLineNumber(This,nLine); +} +static FORCEINLINE HRESULT ISAXLocator_getPublicId(ISAXLocator* This,const WCHAR **publicId) { + return This->lpVtbl->getPublicId(This,publicId); +} +static FORCEINLINE HRESULT ISAXLocator_getSystemId(ISAXLocator* This,const WCHAR **systemId) { + return This->lpVtbl->getSystemId(This,systemId); +} +#endif +#endif + +#endif + + +#endif /* __ISAXLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXXMLFilter interface + */ +#ifndef __ISAXXMLFilter_INTERFACE_DEFINED__ +#define __ISAXXMLFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXXMLFilter, 0x70409222, 0xca09, 0x4475, 0xac,0xb8, 0x40,0x31,0x2f,0xe8,0xd1,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70409222-ca09-4475-acb8-40312fe8d145") +ISAXXMLFilter : public ISAXXMLReader +{ + virtual HRESULT STDMETHODCALLTYPE getParent( + ISAXXMLReader **pReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE putParent( + ISAXXMLReader *reader) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXXMLFilter, 0x70409222, 0xca09, 0x4475, 0xac,0xb8, 0x40,0x31,0x2f,0xe8,0xd1,0x45) +#endif +#else +typedef struct ISAXXMLFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXXMLFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXXMLFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXXMLFilter *This); + + /*** ISAXXMLReader methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + ISAXXMLFilter *This, + const WCHAR *pFeature, + VARIANT_BOOL *pValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + ISAXXMLFilter *This, + const WCHAR *pFeature, + VARIANT_BOOL vfValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + ISAXXMLFilter *This, + const WCHAR *pProp, + VARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + ISAXXMLFilter *This, + const WCHAR *pProp, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *getEntityResolver)( + ISAXXMLFilter *This, + ISAXEntityResolver **ppEntityResolver); + + HRESULT (STDMETHODCALLTYPE *putEntityResolver)( + ISAXXMLFilter *This, + ISAXEntityResolver *pEntityResolver); + + HRESULT (STDMETHODCALLTYPE *getContentHandler)( + ISAXXMLFilter *This, + ISAXContentHandler **pContentHandler); + + HRESULT (STDMETHODCALLTYPE *putContentHandler)( + ISAXXMLFilter *This, + ISAXContentHandler *contentHandler); + + HRESULT (STDMETHODCALLTYPE *getDTDHandler)( + ISAXXMLFilter *This, + ISAXDTDHandler **pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *putDTDHandler)( + ISAXXMLFilter *This, + ISAXDTDHandler *pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *getErrorHandler)( + ISAXXMLFilter *This, + ISAXErrorHandler **pErrorHandler); + + HRESULT (STDMETHODCALLTYPE *putErrorHandler)( + ISAXXMLFilter *This, + ISAXErrorHandler *errorHandler); + + HRESULT (STDMETHODCALLTYPE *getBaseURL)( + ISAXXMLFilter *This, + const WCHAR **pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putBaseURL)( + ISAXXMLFilter *This, + const WCHAR *pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *getSecureBaseURL)( + ISAXXMLFilter *This, + const WCHAR **pSecureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putSecureBaseURL)( + ISAXXMLFilter *This, + const WCHAR *secureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *parse)( + ISAXXMLFilter *This, + VARIANT varInput); + + HRESULT (STDMETHODCALLTYPE *parseURL)( + ISAXXMLFilter *This, + const WCHAR *url); + + /*** ISAXXMLFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *getParent)( + ISAXXMLFilter *This, + ISAXXMLReader **pReader); + + HRESULT (STDMETHODCALLTYPE *putParent)( + ISAXXMLFilter *This, + ISAXXMLReader *reader); + + END_INTERFACE +} ISAXXMLFilterVtbl; + +interface ISAXXMLFilter { + CONST_VTBL ISAXXMLFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXXMLFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXXMLFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXXMLFilter_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXXMLReader methods ***/ +#define ISAXXMLFilter_getFeature(This,pFeature,pValue) (This)->lpVtbl->getFeature(This,pFeature,pValue) +#define ISAXXMLFilter_putFeature(This,pFeature,vfValue) (This)->lpVtbl->putFeature(This,pFeature,vfValue) +#define ISAXXMLFilter_getProperty(This,pProp,pValue) (This)->lpVtbl->getProperty(This,pProp,pValue) +#define ISAXXMLFilter_putProperty(This,pProp,value) (This)->lpVtbl->putProperty(This,pProp,value) +#define ISAXXMLFilter_getEntityResolver(This,ppEntityResolver) (This)->lpVtbl->getEntityResolver(This,ppEntityResolver) +#define ISAXXMLFilter_putEntityResolver(This,pEntityResolver) (This)->lpVtbl->putEntityResolver(This,pEntityResolver) +#define ISAXXMLFilter_getContentHandler(This,pContentHandler) (This)->lpVtbl->getContentHandler(This,pContentHandler) +#define ISAXXMLFilter_putContentHandler(This,contentHandler) (This)->lpVtbl->putContentHandler(This,contentHandler) +#define ISAXXMLFilter_getDTDHandler(This,pDTDHandler) (This)->lpVtbl->getDTDHandler(This,pDTDHandler) +#define ISAXXMLFilter_putDTDHandler(This,pDTDHandler) (This)->lpVtbl->putDTDHandler(This,pDTDHandler) +#define ISAXXMLFilter_getErrorHandler(This,pErrorHandler) (This)->lpVtbl->getErrorHandler(This,pErrorHandler) +#define ISAXXMLFilter_putErrorHandler(This,errorHandler) (This)->lpVtbl->putErrorHandler(This,errorHandler) +#define ISAXXMLFilter_getBaseURL(This,pBaseUrl) (This)->lpVtbl->getBaseURL(This,pBaseUrl) +#define ISAXXMLFilter_putBaseURL(This,pBaseUrl) (This)->lpVtbl->putBaseURL(This,pBaseUrl) +#define ISAXXMLFilter_getSecureBaseURL(This,pSecureBaseUrl) (This)->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl) +#define ISAXXMLFilter_putSecureBaseURL(This,secureBaseUrl) (This)->lpVtbl->putSecureBaseURL(This,secureBaseUrl) +#define ISAXXMLFilter_parse(This,varInput) (This)->lpVtbl->parse(This,varInput) +#define ISAXXMLFilter_parseURL(This,url) (This)->lpVtbl->parseURL(This,url) +/*** ISAXXMLFilter methods ***/ +#define ISAXXMLFilter_getParent(This,pReader) (This)->lpVtbl->getParent(This,pReader) +#define ISAXXMLFilter_putParent(This,reader) (This)->lpVtbl->putParent(This,reader) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXXMLFilter_QueryInterface(ISAXXMLFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXXMLFilter_AddRef(ISAXXMLFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXXMLFilter_Release(ISAXXMLFilter* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXXMLReader methods ***/ +static FORCEINLINE HRESULT ISAXXMLFilter_getFeature(ISAXXMLFilter* This,const WCHAR *pFeature,VARIANT_BOOL *pValue) { + return This->lpVtbl->getFeature(This,pFeature,pValue); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putFeature(ISAXXMLFilter* This,const WCHAR *pFeature,VARIANT_BOOL vfValue) { + return This->lpVtbl->putFeature(This,pFeature,vfValue); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getProperty(ISAXXMLFilter* This,const WCHAR *pProp,VARIANT *pValue) { + return This->lpVtbl->getProperty(This,pProp,pValue); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putProperty(ISAXXMLFilter* This,const WCHAR *pProp,VARIANT value) { + return This->lpVtbl->putProperty(This,pProp,value); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getEntityResolver(ISAXXMLFilter* This,ISAXEntityResolver **ppEntityResolver) { + return This->lpVtbl->getEntityResolver(This,ppEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putEntityResolver(ISAXXMLFilter* This,ISAXEntityResolver *pEntityResolver) { + return This->lpVtbl->putEntityResolver(This,pEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getContentHandler(ISAXXMLFilter* This,ISAXContentHandler **pContentHandler) { + return This->lpVtbl->getContentHandler(This,pContentHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putContentHandler(ISAXXMLFilter* This,ISAXContentHandler *contentHandler) { + return This->lpVtbl->putContentHandler(This,contentHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getDTDHandler(ISAXXMLFilter* This,ISAXDTDHandler **pDTDHandler) { + return This->lpVtbl->getDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putDTDHandler(ISAXXMLFilter* This,ISAXDTDHandler *pDTDHandler) { + return This->lpVtbl->putDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getErrorHandler(ISAXXMLFilter* This,ISAXErrorHandler **pErrorHandler) { + return This->lpVtbl->getErrorHandler(This,pErrorHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putErrorHandler(ISAXXMLFilter* This,ISAXErrorHandler *errorHandler) { + return This->lpVtbl->putErrorHandler(This,errorHandler); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getBaseURL(ISAXXMLFilter* This,const WCHAR **pBaseUrl) { + return This->lpVtbl->getBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putBaseURL(ISAXXMLFilter* This,const WCHAR *pBaseUrl) { + return This->lpVtbl->putBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_getSecureBaseURL(ISAXXMLFilter* This,const WCHAR **pSecureBaseUrl) { + return This->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putSecureBaseURL(ISAXXMLFilter* This,const WCHAR *secureBaseUrl) { + return This->lpVtbl->putSecureBaseURL(This,secureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLFilter_parse(ISAXXMLFilter* This,VARIANT varInput) { + return This->lpVtbl->parse(This,varInput); +} +static FORCEINLINE HRESULT ISAXXMLFilter_parseURL(ISAXXMLFilter* This,const WCHAR *url) { + return This->lpVtbl->parseURL(This,url); +} +/*** ISAXXMLFilter methods ***/ +static FORCEINLINE HRESULT ISAXXMLFilter_getParent(ISAXXMLFilter* This,ISAXXMLReader **pReader) { + return This->lpVtbl->getParent(This,pReader); +} +static FORCEINLINE HRESULT ISAXXMLFilter_putParent(ISAXXMLFilter* This,ISAXXMLReader *reader) { + return This->lpVtbl->putParent(This,reader); +} +#endif +#endif + +#endif + + +#endif /* __ISAXXMLFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISAXXMLReader interface + */ +#ifndef __ISAXXMLReader_INTERFACE_DEFINED__ +#define __ISAXXMLReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISAXXMLReader, 0xa4f96ed0, 0xf829, 0x476e, 0x81,0xc0, 0xcd,0xc7,0xbd,0x2a,0x08,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a4f96ed0-f829-476e-81c0-cdc7bd2a0802") +ISAXXMLReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE getFeature( + const WCHAR *pFeature, + VARIANT_BOOL *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putFeature( + const WCHAR *pFeature, + VARIANT_BOOL vfValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + const WCHAR *pProp, + VARIANT *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putProperty( + const WCHAR *pProp, + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getEntityResolver( + ISAXEntityResolver **ppEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE putEntityResolver( + ISAXEntityResolver *pEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE getContentHandler( + ISAXContentHandler **pContentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putContentHandler( + ISAXContentHandler *contentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDTDHandler( + ISAXDTDHandler **pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putDTDHandler( + ISAXDTDHandler *pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE getErrorHandler( + ISAXErrorHandler **pErrorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putErrorHandler( + ISAXErrorHandler *errorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE getBaseURL( + const WCHAR **pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE putBaseURL( + const WCHAR *pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE getSecureBaseURL( + const WCHAR **pSecureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE putSecureBaseURL( + const WCHAR *secureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE parse( + VARIANT varInput) = 0; + + virtual HRESULT STDMETHODCALLTYPE parseURL( + const WCHAR *url) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISAXXMLReader, 0xa4f96ed0, 0xf829, 0x476e, 0x81,0xc0, 0xcd,0xc7,0xbd,0x2a,0x08,0x02) +#endif +#else +typedef struct ISAXXMLReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISAXXMLReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISAXXMLReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISAXXMLReader *This); + + /*** ISAXXMLReader methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + ISAXXMLReader *This, + const WCHAR *pFeature, + VARIANT_BOOL *pValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + ISAXXMLReader *This, + const WCHAR *pFeature, + VARIANT_BOOL vfValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + ISAXXMLReader *This, + const WCHAR *pProp, + VARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + ISAXXMLReader *This, + const WCHAR *pProp, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *getEntityResolver)( + ISAXXMLReader *This, + ISAXEntityResolver **ppEntityResolver); + + HRESULT (STDMETHODCALLTYPE *putEntityResolver)( + ISAXXMLReader *This, + ISAXEntityResolver *pEntityResolver); + + HRESULT (STDMETHODCALLTYPE *getContentHandler)( + ISAXXMLReader *This, + ISAXContentHandler **pContentHandler); + + HRESULT (STDMETHODCALLTYPE *putContentHandler)( + ISAXXMLReader *This, + ISAXContentHandler *contentHandler); + + HRESULT (STDMETHODCALLTYPE *getDTDHandler)( + ISAXXMLReader *This, + ISAXDTDHandler **pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *putDTDHandler)( + ISAXXMLReader *This, + ISAXDTDHandler *pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *getErrorHandler)( + ISAXXMLReader *This, + ISAXErrorHandler **pErrorHandler); + + HRESULT (STDMETHODCALLTYPE *putErrorHandler)( + ISAXXMLReader *This, + ISAXErrorHandler *errorHandler); + + HRESULT (STDMETHODCALLTYPE *getBaseURL)( + ISAXXMLReader *This, + const WCHAR **pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putBaseURL)( + ISAXXMLReader *This, + const WCHAR *pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *getSecureBaseURL)( + ISAXXMLReader *This, + const WCHAR **pSecureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *putSecureBaseURL)( + ISAXXMLReader *This, + const WCHAR *secureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *parse)( + ISAXXMLReader *This, + VARIANT varInput); + + HRESULT (STDMETHODCALLTYPE *parseURL)( + ISAXXMLReader *This, + const WCHAR *url); + + END_INTERFACE +} ISAXXMLReaderVtbl; + +interface ISAXXMLReader { + CONST_VTBL ISAXXMLReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISAXXMLReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISAXXMLReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISAXXMLReader_Release(This) (This)->lpVtbl->Release(This) +/*** ISAXXMLReader methods ***/ +#define ISAXXMLReader_getFeature(This,pFeature,pValue) (This)->lpVtbl->getFeature(This,pFeature,pValue) +#define ISAXXMLReader_putFeature(This,pFeature,vfValue) (This)->lpVtbl->putFeature(This,pFeature,vfValue) +#define ISAXXMLReader_getProperty(This,pProp,pValue) (This)->lpVtbl->getProperty(This,pProp,pValue) +#define ISAXXMLReader_putProperty(This,pProp,value) (This)->lpVtbl->putProperty(This,pProp,value) +#define ISAXXMLReader_getEntityResolver(This,ppEntityResolver) (This)->lpVtbl->getEntityResolver(This,ppEntityResolver) +#define ISAXXMLReader_putEntityResolver(This,pEntityResolver) (This)->lpVtbl->putEntityResolver(This,pEntityResolver) +#define ISAXXMLReader_getContentHandler(This,pContentHandler) (This)->lpVtbl->getContentHandler(This,pContentHandler) +#define ISAXXMLReader_putContentHandler(This,contentHandler) (This)->lpVtbl->putContentHandler(This,contentHandler) +#define ISAXXMLReader_getDTDHandler(This,pDTDHandler) (This)->lpVtbl->getDTDHandler(This,pDTDHandler) +#define ISAXXMLReader_putDTDHandler(This,pDTDHandler) (This)->lpVtbl->putDTDHandler(This,pDTDHandler) +#define ISAXXMLReader_getErrorHandler(This,pErrorHandler) (This)->lpVtbl->getErrorHandler(This,pErrorHandler) +#define ISAXXMLReader_putErrorHandler(This,errorHandler) (This)->lpVtbl->putErrorHandler(This,errorHandler) +#define ISAXXMLReader_getBaseURL(This,pBaseUrl) (This)->lpVtbl->getBaseURL(This,pBaseUrl) +#define ISAXXMLReader_putBaseURL(This,pBaseUrl) (This)->lpVtbl->putBaseURL(This,pBaseUrl) +#define ISAXXMLReader_getSecureBaseURL(This,pSecureBaseUrl) (This)->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl) +#define ISAXXMLReader_putSecureBaseURL(This,secureBaseUrl) (This)->lpVtbl->putSecureBaseURL(This,secureBaseUrl) +#define ISAXXMLReader_parse(This,varInput) (This)->lpVtbl->parse(This,varInput) +#define ISAXXMLReader_parseURL(This,url) (This)->lpVtbl->parseURL(This,url) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISAXXMLReader_QueryInterface(ISAXXMLReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISAXXMLReader_AddRef(ISAXXMLReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISAXXMLReader_Release(ISAXXMLReader* This) { + return This->lpVtbl->Release(This); +} +/*** ISAXXMLReader methods ***/ +static FORCEINLINE HRESULT ISAXXMLReader_getFeature(ISAXXMLReader* This,const WCHAR *pFeature,VARIANT_BOOL *pValue) { + return This->lpVtbl->getFeature(This,pFeature,pValue); +} +static FORCEINLINE HRESULT ISAXXMLReader_putFeature(ISAXXMLReader* This,const WCHAR *pFeature,VARIANT_BOOL vfValue) { + return This->lpVtbl->putFeature(This,pFeature,vfValue); +} +static FORCEINLINE HRESULT ISAXXMLReader_getProperty(ISAXXMLReader* This,const WCHAR *pProp,VARIANT *pValue) { + return This->lpVtbl->getProperty(This,pProp,pValue); +} +static FORCEINLINE HRESULT ISAXXMLReader_putProperty(ISAXXMLReader* This,const WCHAR *pProp,VARIANT value) { + return This->lpVtbl->putProperty(This,pProp,value); +} +static FORCEINLINE HRESULT ISAXXMLReader_getEntityResolver(ISAXXMLReader* This,ISAXEntityResolver **ppEntityResolver) { + return This->lpVtbl->getEntityResolver(This,ppEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLReader_putEntityResolver(ISAXXMLReader* This,ISAXEntityResolver *pEntityResolver) { + return This->lpVtbl->putEntityResolver(This,pEntityResolver); +} +static FORCEINLINE HRESULT ISAXXMLReader_getContentHandler(ISAXXMLReader* This,ISAXContentHandler **pContentHandler) { + return This->lpVtbl->getContentHandler(This,pContentHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_putContentHandler(ISAXXMLReader* This,ISAXContentHandler *contentHandler) { + return This->lpVtbl->putContentHandler(This,contentHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_getDTDHandler(ISAXXMLReader* This,ISAXDTDHandler **pDTDHandler) { + return This->lpVtbl->getDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_putDTDHandler(ISAXXMLReader* This,ISAXDTDHandler *pDTDHandler) { + return This->lpVtbl->putDTDHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_getErrorHandler(ISAXXMLReader* This,ISAXErrorHandler **pErrorHandler) { + return This->lpVtbl->getErrorHandler(This,pErrorHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_putErrorHandler(ISAXXMLReader* This,ISAXErrorHandler *errorHandler) { + return This->lpVtbl->putErrorHandler(This,errorHandler); +} +static FORCEINLINE HRESULT ISAXXMLReader_getBaseURL(ISAXXMLReader* This,const WCHAR **pBaseUrl) { + return This->lpVtbl->getBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_putBaseURL(ISAXXMLReader* This,const WCHAR *pBaseUrl) { + return This->lpVtbl->putBaseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_getSecureBaseURL(ISAXXMLReader* This,const WCHAR **pSecureBaseUrl) { + return This->lpVtbl->getSecureBaseURL(This,pSecureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_putSecureBaseURL(ISAXXMLReader* This,const WCHAR *secureBaseUrl) { + return This->lpVtbl->putSecureBaseURL(This,secureBaseUrl); +} +static FORCEINLINE HRESULT ISAXXMLReader_parse(ISAXXMLReader* This,VARIANT varInput) { + return This->lpVtbl->parse(This,varInput); +} +static FORCEINLINE HRESULT ISAXXMLReader_parseURL(ISAXXMLReader* This,const WCHAR *url) { + return This->lpVtbl->parseURL(This,url); +} +#endif +#endif + +#endif + + +#endif /* __ISAXXMLReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXAttributes interface + */ +#ifndef __IVBSAXAttributes_INTERFACE_DEFINED__ +#define __IVBSAXAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXAttributes, 0x10dc0586, 0x132b, 0x4cac, 0x8b,0xb3, 0xdb,0x00,0xac,0x8b,0x7e,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("10dc0586-132b-4cac-8bb3-db00ac8b7ee0") +IVBSAXAttributes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_length( + int *nLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + int nIndex, + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE getLocalName( + int nIndex, + BSTR *localName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getQName( + int nIndex, + BSTR *QName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromName( + BSTR uri, + BSTR localName, + int *nIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE getIndexFromQName( + BSTR QName, + int *nIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE getType( + int nIndex, + BSTR *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromName( + BSTR uri, + BSTR localName, + BSTR *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE getTypeFromQName( + BSTR QName, + BSTR *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValue( + int nIndex, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromName( + BSTR uri, + BSTR localName, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE getValueFromQName( + BSTR QName, + BSTR *value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXAttributes, 0x10dc0586, 0x132b, 0x4cac, 0x8b,0xb3, 0xdb,0x00,0xac,0x8b,0x7e,0xe0) +#endif +#else +typedef struct IVBSAXAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXAttributes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXAttributes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXAttributes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXAttributes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXAttributes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_length)( + IVBSAXAttributes *This, + int *nLength); + + HRESULT (STDMETHODCALLTYPE *getURI)( + IVBSAXAttributes *This, + int nIndex, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *getLocalName)( + IVBSAXAttributes *This, + int nIndex, + BSTR *localName); + + HRESULT (STDMETHODCALLTYPE *getQName)( + IVBSAXAttributes *This, + int nIndex, + BSTR *QName); + + HRESULT (STDMETHODCALLTYPE *getIndexFromName)( + IVBSAXAttributes *This, + BSTR uri, + BSTR localName, + int *nIndex); + + HRESULT (STDMETHODCALLTYPE *getIndexFromQName)( + IVBSAXAttributes *This, + BSTR QName, + int *nIndex); + + HRESULT (STDMETHODCALLTYPE *getType)( + IVBSAXAttributes *This, + int nIndex, + BSTR *type); + + HRESULT (STDMETHODCALLTYPE *getTypeFromName)( + IVBSAXAttributes *This, + BSTR uri, + BSTR localName, + BSTR *type); + + HRESULT (STDMETHODCALLTYPE *getTypeFromQName)( + IVBSAXAttributes *This, + BSTR QName, + BSTR *type); + + HRESULT (STDMETHODCALLTYPE *getValue)( + IVBSAXAttributes *This, + int nIndex, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getValueFromName)( + IVBSAXAttributes *This, + BSTR uri, + BSTR localName, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *getValueFromQName)( + IVBSAXAttributes *This, + BSTR QName, + BSTR *value); + + END_INTERFACE +} IVBSAXAttributesVtbl; + +interface IVBSAXAttributes { + CONST_VTBL IVBSAXAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXAttributes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXAttributes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXAttributes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXAttributes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXAttributes methods ***/ +#define IVBSAXAttributes_get_length(This,nLength) (This)->lpVtbl->get_length(This,nLength) +#define IVBSAXAttributes_getURI(This,nIndex,uri) (This)->lpVtbl->getURI(This,nIndex,uri) +#define IVBSAXAttributes_getLocalName(This,nIndex,localName) (This)->lpVtbl->getLocalName(This,nIndex,localName) +#define IVBSAXAttributes_getQName(This,nIndex,QName) (This)->lpVtbl->getQName(This,nIndex,QName) +#define IVBSAXAttributes_getIndexFromName(This,uri,localName,nIndex) (This)->lpVtbl->getIndexFromName(This,uri,localName,nIndex) +#define IVBSAXAttributes_getIndexFromQName(This,QName,nIndex) (This)->lpVtbl->getIndexFromQName(This,QName,nIndex) +#define IVBSAXAttributes_getType(This,nIndex,type) (This)->lpVtbl->getType(This,nIndex,type) +#define IVBSAXAttributes_getTypeFromName(This,uri,localName,type) (This)->lpVtbl->getTypeFromName(This,uri,localName,type) +#define IVBSAXAttributes_getTypeFromQName(This,QName,type) (This)->lpVtbl->getTypeFromQName(This,QName,type) +#define IVBSAXAttributes_getValue(This,nIndex,value) (This)->lpVtbl->getValue(This,nIndex,value) +#define IVBSAXAttributes_getValueFromName(This,uri,localName,value) (This)->lpVtbl->getValueFromName(This,uri,localName,value) +#define IVBSAXAttributes_getValueFromQName(This,QName,value) (This)->lpVtbl->getValueFromQName(This,QName,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXAttributes_QueryInterface(IVBSAXAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXAttributes_AddRef(IVBSAXAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXAttributes_Release(IVBSAXAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXAttributes_GetTypeInfoCount(IVBSAXAttributes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXAttributes_GetTypeInfo(IVBSAXAttributes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXAttributes_GetIDsOfNames(IVBSAXAttributes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXAttributes_Invoke(IVBSAXAttributes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXAttributes methods ***/ +static FORCEINLINE HRESULT IVBSAXAttributes_get_length(IVBSAXAttributes* This,int *nLength) { + return This->lpVtbl->get_length(This,nLength); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getURI(IVBSAXAttributes* This,int nIndex,BSTR *uri) { + return This->lpVtbl->getURI(This,nIndex,uri); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getLocalName(IVBSAXAttributes* This,int nIndex,BSTR *localName) { + return This->lpVtbl->getLocalName(This,nIndex,localName); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getQName(IVBSAXAttributes* This,int nIndex,BSTR *QName) { + return This->lpVtbl->getQName(This,nIndex,QName); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getIndexFromName(IVBSAXAttributes* This,BSTR uri,BSTR localName,int *nIndex) { + return This->lpVtbl->getIndexFromName(This,uri,localName,nIndex); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getIndexFromQName(IVBSAXAttributes* This,BSTR QName,int *nIndex) { + return This->lpVtbl->getIndexFromQName(This,QName,nIndex); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getType(IVBSAXAttributes* This,int nIndex,BSTR *type) { + return This->lpVtbl->getType(This,nIndex,type); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getTypeFromName(IVBSAXAttributes* This,BSTR uri,BSTR localName,BSTR *type) { + return This->lpVtbl->getTypeFromName(This,uri,localName,type); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getTypeFromQName(IVBSAXAttributes* This,BSTR QName,BSTR *type) { + return This->lpVtbl->getTypeFromQName(This,QName,type); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getValue(IVBSAXAttributes* This,int nIndex,BSTR *value) { + return This->lpVtbl->getValue(This,nIndex,value); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getValueFromName(IVBSAXAttributes* This,BSTR uri,BSTR localName,BSTR *value) { + return This->lpVtbl->getValueFromName(This,uri,localName,value); +} +static FORCEINLINE HRESULT IVBSAXAttributes_getValueFromQName(IVBSAXAttributes* This,BSTR QName,BSTR *value) { + return This->lpVtbl->getValueFromQName(This,QName,value); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXAttributes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXContentHandler interface + */ +#ifndef __IVBSAXContentHandler_INTERFACE_DEFINED__ +#define __IVBSAXContentHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXContentHandler, 0x2ed7290a, 0x4dd5, 0x4b46, 0xbb,0x26, 0x4e,0x41,0x55,0xe7,0x7f,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2ed7290a-4dd5-4b46-bb26-4e4155e77faa") +IVBSAXContentHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE putref_documentLocator( + IVBSAXLocator *oLocator) = 0; + + virtual HRESULT STDMETHODCALLTYPE startDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startPrefixMapping( + BSTR *prefix, + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE endPrefixMapping( + BSTR *prefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE startElement( + BSTR *namespaceURI, + BSTR *localName, + BSTR *QName, + IVBSAXAttributes *oAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE endElement( + BSTR *namespaceURI, + BSTR *localName, + BSTR *strQName) = 0; + + virtual HRESULT STDMETHODCALLTYPE characters( + BSTR *chars) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWhitespace( + BSTR *chars) = 0; + + virtual HRESULT STDMETHODCALLTYPE processingInstruction( + BSTR *target, + BSTR *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE skippedEntity( + BSTR *name) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXContentHandler, 0x2ed7290a, 0x4dd5, 0x4b46, 0xbb,0x26, 0x4e,0x41,0x55,0xe7,0x7f,0xaa) +#endif +#else +typedef struct IVBSAXContentHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXContentHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXContentHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXContentHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXContentHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXContentHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXContentHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXContentHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXContentHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *putref_documentLocator)( + IVBSAXContentHandler *This, + IVBSAXLocator *oLocator); + + HRESULT (STDMETHODCALLTYPE *startDocument)( + IVBSAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *endDocument)( + IVBSAXContentHandler *This); + + HRESULT (STDMETHODCALLTYPE *startPrefixMapping)( + IVBSAXContentHandler *This, + BSTR *prefix, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *endPrefixMapping)( + IVBSAXContentHandler *This, + BSTR *prefix); + + HRESULT (STDMETHODCALLTYPE *startElement)( + IVBSAXContentHandler *This, + BSTR *namespaceURI, + BSTR *localName, + BSTR *QName, + IVBSAXAttributes *oAttributes); + + HRESULT (STDMETHODCALLTYPE *endElement)( + IVBSAXContentHandler *This, + BSTR *namespaceURI, + BSTR *localName, + BSTR *strQName); + + HRESULT (STDMETHODCALLTYPE *characters)( + IVBSAXContentHandler *This, + BSTR *chars); + + HRESULT (STDMETHODCALLTYPE *ignorableWhitespace)( + IVBSAXContentHandler *This, + BSTR *chars); + + HRESULT (STDMETHODCALLTYPE *processingInstruction)( + IVBSAXContentHandler *This, + BSTR *target, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *skippedEntity)( + IVBSAXContentHandler *This, + BSTR *name); + + END_INTERFACE +} IVBSAXContentHandlerVtbl; + +interface IVBSAXContentHandler { + CONST_VTBL IVBSAXContentHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXContentHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXContentHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXContentHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXContentHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXContentHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXContentHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXContentHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXContentHandler methods ***/ +#define IVBSAXContentHandler_putref_documentLocator(This,oLocator) (This)->lpVtbl->putref_documentLocator(This,oLocator) +#define IVBSAXContentHandler_startDocument(This) (This)->lpVtbl->startDocument(This) +#define IVBSAXContentHandler_endDocument(This) (This)->lpVtbl->endDocument(This) +#define IVBSAXContentHandler_startPrefixMapping(This,prefix,uri) (This)->lpVtbl->startPrefixMapping(This,prefix,uri) +#define IVBSAXContentHandler_endPrefixMapping(This,prefix) (This)->lpVtbl->endPrefixMapping(This,prefix) +#define IVBSAXContentHandler_startElement(This,namespaceURI,localName,QName,oAttributes) (This)->lpVtbl->startElement(This,namespaceURI,localName,QName,oAttributes) +#define IVBSAXContentHandler_endElement(This,namespaceURI,localName,strQName) (This)->lpVtbl->endElement(This,namespaceURI,localName,strQName) +#define IVBSAXContentHandler_characters(This,chars) (This)->lpVtbl->characters(This,chars) +#define IVBSAXContentHandler_ignorableWhitespace(This,chars) (This)->lpVtbl->ignorableWhitespace(This,chars) +#define IVBSAXContentHandler_processingInstruction(This,target,data) (This)->lpVtbl->processingInstruction(This,target,data) +#define IVBSAXContentHandler_skippedEntity(This,name) (This)->lpVtbl->skippedEntity(This,name) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXContentHandler_QueryInterface(IVBSAXContentHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXContentHandler_AddRef(IVBSAXContentHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXContentHandler_Release(IVBSAXContentHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXContentHandler_GetTypeInfoCount(IVBSAXContentHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_GetTypeInfo(IVBSAXContentHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_GetIDsOfNames(IVBSAXContentHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_Invoke(IVBSAXContentHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXContentHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXContentHandler_putref_documentLocator(IVBSAXContentHandler* This,IVBSAXLocator *oLocator) { + return This->lpVtbl->putref_documentLocator(This,oLocator); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_startDocument(IVBSAXContentHandler* This) { + return This->lpVtbl->startDocument(This); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_endDocument(IVBSAXContentHandler* This) { + return This->lpVtbl->endDocument(This); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_startPrefixMapping(IVBSAXContentHandler* This,BSTR *prefix,BSTR *uri) { + return This->lpVtbl->startPrefixMapping(This,prefix,uri); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_endPrefixMapping(IVBSAXContentHandler* This,BSTR *prefix) { + return This->lpVtbl->endPrefixMapping(This,prefix); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_startElement(IVBSAXContentHandler* This,BSTR *namespaceURI,BSTR *localName,BSTR *QName,IVBSAXAttributes *oAttributes) { + return This->lpVtbl->startElement(This,namespaceURI,localName,QName,oAttributes); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_endElement(IVBSAXContentHandler* This,BSTR *namespaceURI,BSTR *localName,BSTR *strQName) { + return This->lpVtbl->endElement(This,namespaceURI,localName,strQName); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_characters(IVBSAXContentHandler* This,BSTR *chars) { + return This->lpVtbl->characters(This,chars); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_ignorableWhitespace(IVBSAXContentHandler* This,BSTR *chars) { + return This->lpVtbl->ignorableWhitespace(This,chars); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_processingInstruction(IVBSAXContentHandler* This,BSTR *target,BSTR *data) { + return This->lpVtbl->processingInstruction(This,target,data); +} +static FORCEINLINE HRESULT IVBSAXContentHandler_skippedEntity(IVBSAXContentHandler* This,BSTR *name) { + return This->lpVtbl->skippedEntity(This,name); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXContentHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXDeclHandler interface + */ +#ifndef __IVBSAXDeclHandler_INTERFACE_DEFINED__ +#define __IVBSAXDeclHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXDeclHandler, 0xe8917260, 0x7579, 0x4be1, 0xb5,0xdd, 0x7a,0xfb,0xfa,0x6f,0x07,0x7b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e8917260-7579-4be1-b5dd-7afbfa6f077b") +IVBSAXDeclHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE elementDecl( + BSTR *name, + BSTR *model) = 0; + + virtual HRESULT STDMETHODCALLTYPE attributeDecl( + BSTR *elementName, + BSTR *attributeName, + BSTR *type, + BSTR *valueDefault, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE internalEntityDecl( + BSTR *name, + BSTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE externalEntityDecl( + BSTR *name, + BSTR *publicId, + BSTR *systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXDeclHandler, 0xe8917260, 0x7579, 0x4be1, 0xb5,0xdd, 0x7a,0xfb,0xfa,0x6f,0x07,0x7b) +#endif +#else +typedef struct IVBSAXDeclHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXDeclHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXDeclHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXDeclHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXDeclHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXDeclHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXDeclHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXDeclHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXDeclHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *elementDecl)( + IVBSAXDeclHandler *This, + BSTR *name, + BSTR *model); + + HRESULT (STDMETHODCALLTYPE *attributeDecl)( + IVBSAXDeclHandler *This, + BSTR *elementName, + BSTR *attributeName, + BSTR *type, + BSTR *valueDefault, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *internalEntityDecl)( + IVBSAXDeclHandler *This, + BSTR *name, + BSTR *value); + + HRESULT (STDMETHODCALLTYPE *externalEntityDecl)( + IVBSAXDeclHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId); + + END_INTERFACE +} IVBSAXDeclHandlerVtbl; + +interface IVBSAXDeclHandler { + CONST_VTBL IVBSAXDeclHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXDeclHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXDeclHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXDeclHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXDeclHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXDeclHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXDeclHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXDeclHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXDeclHandler methods ***/ +#define IVBSAXDeclHandler_elementDecl(This,name,model) (This)->lpVtbl->elementDecl(This,name,model) +#define IVBSAXDeclHandler_attributeDecl(This,elementName,attributeName,type,valueDefault,value) (This)->lpVtbl->attributeDecl(This,elementName,attributeName,type,valueDefault,value) +#define IVBSAXDeclHandler_internalEntityDecl(This,name,value) (This)->lpVtbl->internalEntityDecl(This,name,value) +#define IVBSAXDeclHandler_externalEntityDecl(This,name,publicId,systemId) (This)->lpVtbl->externalEntityDecl(This,name,publicId,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXDeclHandler_QueryInterface(IVBSAXDeclHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXDeclHandler_AddRef(IVBSAXDeclHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXDeclHandler_Release(IVBSAXDeclHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXDeclHandler_GetTypeInfoCount(IVBSAXDeclHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_GetTypeInfo(IVBSAXDeclHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_GetIDsOfNames(IVBSAXDeclHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_Invoke(IVBSAXDeclHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXDeclHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXDeclHandler_elementDecl(IVBSAXDeclHandler* This,BSTR *name,BSTR *model) { + return This->lpVtbl->elementDecl(This,name,model); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_attributeDecl(IVBSAXDeclHandler* This,BSTR *elementName,BSTR *attributeName,BSTR *type,BSTR *valueDefault,BSTR *value) { + return This->lpVtbl->attributeDecl(This,elementName,attributeName,type,valueDefault,value); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_internalEntityDecl(IVBSAXDeclHandler* This,BSTR *name,BSTR *value) { + return This->lpVtbl->internalEntityDecl(This,name,value); +} +static FORCEINLINE HRESULT IVBSAXDeclHandler_externalEntityDecl(IVBSAXDeclHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId) { + return This->lpVtbl->externalEntityDecl(This,name,publicId,systemId); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXDeclHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXDTDHandler interface + */ +#ifndef __IVBSAXDTDHandler_INTERFACE_DEFINED__ +#define __IVBSAXDTDHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXDTDHandler, 0x24fb3297, 0x302d, 0x4620, 0xba,0x39, 0x3a,0x73,0x2d,0x85,0x05,0x58); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("24fb3297-302d-4620-ba39-3a732d850558") +IVBSAXDTDHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE notationDecl( + BSTR *name, + BSTR *publicId, + BSTR *systemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE unparsedEntityDecl( + BSTR *name, + BSTR *publicId, + BSTR *systemId, + BSTR *notationName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXDTDHandler, 0x24fb3297, 0x302d, 0x4620, 0xba,0x39, 0x3a,0x73,0x2d,0x85,0x05,0x58) +#endif +#else +typedef struct IVBSAXDTDHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXDTDHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXDTDHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXDTDHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXDTDHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXDTDHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXDTDHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXDTDHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXDTDHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *notationDecl)( + IVBSAXDTDHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId); + + HRESULT (STDMETHODCALLTYPE *unparsedEntityDecl)( + IVBSAXDTDHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId, + BSTR *notationName); + + END_INTERFACE +} IVBSAXDTDHandlerVtbl; + +interface IVBSAXDTDHandler { + CONST_VTBL IVBSAXDTDHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXDTDHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXDTDHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXDTDHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXDTDHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXDTDHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXDTDHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXDTDHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXDTDHandler methods ***/ +#define IVBSAXDTDHandler_notationDecl(This,name,publicId,systemId) (This)->lpVtbl->notationDecl(This,name,publicId,systemId) +#define IVBSAXDTDHandler_unparsedEntityDecl(This,name,publicId,systemId,notationName) (This)->lpVtbl->unparsedEntityDecl(This,name,publicId,systemId,notationName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXDTDHandler_QueryInterface(IVBSAXDTDHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXDTDHandler_AddRef(IVBSAXDTDHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXDTDHandler_Release(IVBSAXDTDHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXDTDHandler_GetTypeInfoCount(IVBSAXDTDHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_GetTypeInfo(IVBSAXDTDHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_GetIDsOfNames(IVBSAXDTDHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_Invoke(IVBSAXDTDHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXDTDHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXDTDHandler_notationDecl(IVBSAXDTDHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId) { + return This->lpVtbl->notationDecl(This,name,publicId,systemId); +} +static FORCEINLINE HRESULT IVBSAXDTDHandler_unparsedEntityDecl(IVBSAXDTDHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId,BSTR *notationName) { + return This->lpVtbl->unparsedEntityDecl(This,name,publicId,systemId,notationName); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXDTDHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXEntityResolver interface + */ +#ifndef __IVBSAXEntityResolver_INTERFACE_DEFINED__ +#define __IVBSAXEntityResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXEntityResolver, 0x0c05d096, 0xf45b, 0x4aca, 0xad,0x1a, 0xaa,0x0b,0xc2,0x55,0x18,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c05d096-f45b-4aca-ad1a-aa0bc25518dc") +IVBSAXEntityResolver : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE resolveEntity( + BSTR *publicId, + BSTR *systemId, + VARIANT *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXEntityResolver, 0x0c05d096, 0xf45b, 0x4aca, 0xad,0x1a, 0xaa,0x0b,0xc2,0x55,0x18,0xdc) +#endif +#else +typedef struct IVBSAXEntityResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXEntityResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXEntityResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXEntityResolver *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXEntityResolver *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXEntityResolver *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXEntityResolver *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXEntityResolver *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXEntityResolver methods ***/ + HRESULT (STDMETHODCALLTYPE *resolveEntity)( + IVBSAXEntityResolver *This, + BSTR *publicId, + BSTR *systemId, + VARIANT *ret); + + END_INTERFACE +} IVBSAXEntityResolverVtbl; + +interface IVBSAXEntityResolver { + CONST_VTBL IVBSAXEntityResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXEntityResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXEntityResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXEntityResolver_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXEntityResolver_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXEntityResolver_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXEntityResolver_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXEntityResolver_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXEntityResolver methods ***/ +#define IVBSAXEntityResolver_resolveEntity(This,publicId,systemId,ret) (This)->lpVtbl->resolveEntity(This,publicId,systemId,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXEntityResolver_QueryInterface(IVBSAXEntityResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXEntityResolver_AddRef(IVBSAXEntityResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXEntityResolver_Release(IVBSAXEntityResolver* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXEntityResolver_GetTypeInfoCount(IVBSAXEntityResolver* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXEntityResolver_GetTypeInfo(IVBSAXEntityResolver* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXEntityResolver_GetIDsOfNames(IVBSAXEntityResolver* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXEntityResolver_Invoke(IVBSAXEntityResolver* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXEntityResolver methods ***/ +static FORCEINLINE HRESULT IVBSAXEntityResolver_resolveEntity(IVBSAXEntityResolver* This,BSTR *publicId,BSTR *systemId,VARIANT *ret) { + return This->lpVtbl->resolveEntity(This,publicId,systemId,ret); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXEntityResolver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXErrorHandler interface + */ +#ifndef __IVBSAXErrorHandler_INTERFACE_DEFINED__ +#define __IVBSAXErrorHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXErrorHandler, 0xd963d3fe, 0x173c, 0x4862, 0x90,0x95, 0xb9,0x2f,0x66,0x99,0x5f,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d963d3fe-173c-4862-9095-b92f66995f52") +IVBSAXErrorHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE error( + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE fatalError( + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE ignorableWarning( + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXErrorHandler, 0xd963d3fe, 0x173c, 0x4862, 0x90,0x95, 0xb9,0x2f,0x66,0x99,0x5f,0x52) +#endif +#else +typedef struct IVBSAXErrorHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXErrorHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXErrorHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXErrorHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXErrorHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXErrorHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXErrorHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXErrorHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXErrorHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *error)( + IVBSAXErrorHandler *This, + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode); + + HRESULT (STDMETHODCALLTYPE *fatalError)( + IVBSAXErrorHandler *This, + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode); + + HRESULT (STDMETHODCALLTYPE *ignorableWarning)( + IVBSAXErrorHandler *This, + IVBSAXLocator *locator, + BSTR *errorMessage, + LONG errorCode); + + END_INTERFACE +} IVBSAXErrorHandlerVtbl; + +interface IVBSAXErrorHandler { + CONST_VTBL IVBSAXErrorHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXErrorHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXErrorHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXErrorHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXErrorHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXErrorHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXErrorHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXErrorHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXErrorHandler methods ***/ +#define IVBSAXErrorHandler_error(This,locator,errorMessage,errorCode) (This)->lpVtbl->error(This,locator,errorMessage,errorCode) +#define IVBSAXErrorHandler_fatalError(This,locator,errorMessage,errorCode) (This)->lpVtbl->fatalError(This,locator,errorMessage,errorCode) +#define IVBSAXErrorHandler_ignorableWarning(This,locator,errorMessage,errorCode) (This)->lpVtbl->ignorableWarning(This,locator,errorMessage,errorCode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXErrorHandler_QueryInterface(IVBSAXErrorHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXErrorHandler_AddRef(IVBSAXErrorHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXErrorHandler_Release(IVBSAXErrorHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXErrorHandler_GetTypeInfoCount(IVBSAXErrorHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_GetTypeInfo(IVBSAXErrorHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_GetIDsOfNames(IVBSAXErrorHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_Invoke(IVBSAXErrorHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXErrorHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXErrorHandler_error(IVBSAXErrorHandler* This,IVBSAXLocator *locator,BSTR *errorMessage,LONG errorCode) { + return This->lpVtbl->error(This,locator,errorMessage,errorCode); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_fatalError(IVBSAXErrorHandler* This,IVBSAXLocator *locator,BSTR *errorMessage,LONG errorCode) { + return This->lpVtbl->fatalError(This,locator,errorMessage,errorCode); +} +static FORCEINLINE HRESULT IVBSAXErrorHandler_ignorableWarning(IVBSAXErrorHandler* This,IVBSAXLocator *locator,BSTR *errorMessage,LONG errorCode) { + return This->lpVtbl->ignorableWarning(This,locator,errorMessage,errorCode); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXErrorHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXLexicalHandler interface + */ +#ifndef __IVBSAXLexicalHandler_INTERFACE_DEFINED__ +#define __IVBSAXLexicalHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXLexicalHandler, 0x032aac35, 0x8c0e, 0x4d9d, 0x97,0x9f, 0xe3,0xb7,0x02,0x93,0x55,0x76); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("032aac35-8c0e-4d9d-979f-e3b702935576") +IVBSAXLexicalHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE startDTD( + BSTR *name, + BSTR *publicId, + BSTR *systemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE endDTD( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE startEntity( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE endEntity( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE startCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE endCDATA( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE comment( + BSTR *chars) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXLexicalHandler, 0x032aac35, 0x8c0e, 0x4d9d, 0x97,0x9f, 0xe3,0xb7,0x02,0x93,0x55,0x76) +#endif +#else +typedef struct IVBSAXLexicalHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXLexicalHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXLexicalHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXLexicalHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXLexicalHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXLexicalHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXLexicalHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXLexicalHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXLexicalHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *startDTD)( + IVBSAXLexicalHandler *This, + BSTR *name, + BSTR *publicId, + BSTR *systemId); + + HRESULT (STDMETHODCALLTYPE *endDTD)( + IVBSAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *startEntity)( + IVBSAXLexicalHandler *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *endEntity)( + IVBSAXLexicalHandler *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *startCDATA)( + IVBSAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *endCDATA)( + IVBSAXLexicalHandler *This); + + HRESULT (STDMETHODCALLTYPE *comment)( + IVBSAXLexicalHandler *This, + BSTR *chars); + + END_INTERFACE +} IVBSAXLexicalHandlerVtbl; + +interface IVBSAXLexicalHandler { + CONST_VTBL IVBSAXLexicalHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXLexicalHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXLexicalHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXLexicalHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXLexicalHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXLexicalHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXLexicalHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXLexicalHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXLexicalHandler methods ***/ +#define IVBSAXLexicalHandler_startDTD(This,name,publicId,systemId) (This)->lpVtbl->startDTD(This,name,publicId,systemId) +#define IVBSAXLexicalHandler_endDTD(This) (This)->lpVtbl->endDTD(This) +#define IVBSAXLexicalHandler_startEntity(This,name) (This)->lpVtbl->startEntity(This,name) +#define IVBSAXLexicalHandler_endEntity(This,name) (This)->lpVtbl->endEntity(This,name) +#define IVBSAXLexicalHandler_startCDATA(This) (This)->lpVtbl->startCDATA(This) +#define IVBSAXLexicalHandler_endCDATA(This) (This)->lpVtbl->endCDATA(This) +#define IVBSAXLexicalHandler_comment(This,chars) (This)->lpVtbl->comment(This,chars) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXLexicalHandler_QueryInterface(IVBSAXLexicalHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXLexicalHandler_AddRef(IVBSAXLexicalHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXLexicalHandler_Release(IVBSAXLexicalHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXLexicalHandler_GetTypeInfoCount(IVBSAXLexicalHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_GetTypeInfo(IVBSAXLexicalHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_GetIDsOfNames(IVBSAXLexicalHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_Invoke(IVBSAXLexicalHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXLexicalHandler methods ***/ +static FORCEINLINE HRESULT IVBSAXLexicalHandler_startDTD(IVBSAXLexicalHandler* This,BSTR *name,BSTR *publicId,BSTR *systemId) { + return This->lpVtbl->startDTD(This,name,publicId,systemId); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_endDTD(IVBSAXLexicalHandler* This) { + return This->lpVtbl->endDTD(This); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_startEntity(IVBSAXLexicalHandler* This,BSTR *name) { + return This->lpVtbl->startEntity(This,name); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_endEntity(IVBSAXLexicalHandler* This,BSTR *name) { + return This->lpVtbl->endEntity(This,name); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_startCDATA(IVBSAXLexicalHandler* This) { + return This->lpVtbl->startCDATA(This); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_endCDATA(IVBSAXLexicalHandler* This) { + return This->lpVtbl->endCDATA(This); +} +static FORCEINLINE HRESULT IVBSAXLexicalHandler_comment(IVBSAXLexicalHandler* This,BSTR *chars) { + return This->lpVtbl->comment(This,chars); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXLexicalHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXLocator interface + */ +#ifndef __IVBSAXLocator_INTERFACE_DEFINED__ +#define __IVBSAXLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXLocator, 0x796e7ac5, 0x5aa2, 0x4eff, 0xac,0xad, 0x3f,0xaa,0xf0,0x1a,0x32,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("796e7ac5-5aa2-4eff-acad-3faaf01a3288") +IVBSAXLocator : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_columnNumber( + int *column) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lineNumber( + int *line) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_publicId( + BSTR *publicId) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_systemId( + BSTR *systemId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXLocator, 0x796e7ac5, 0x5aa2, 0x4eff, 0xac,0xad, 0x3f,0xaa,0xf0,0x1a,0x32,0x88) +#endif +#else +typedef struct IVBSAXLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXLocator *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXLocator *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXLocator *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXLocator *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXLocator *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *get_columnNumber)( + IVBSAXLocator *This, + int *column); + + HRESULT (STDMETHODCALLTYPE *get_lineNumber)( + IVBSAXLocator *This, + int *line); + + HRESULT (STDMETHODCALLTYPE *get_publicId)( + IVBSAXLocator *This, + BSTR *publicId); + + HRESULT (STDMETHODCALLTYPE *get_systemId)( + IVBSAXLocator *This, + BSTR *systemId); + + END_INTERFACE +} IVBSAXLocatorVtbl; + +interface IVBSAXLocator { + CONST_VTBL IVBSAXLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXLocator_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXLocator methods ***/ +#define IVBSAXLocator_get_columnNumber(This,column) (This)->lpVtbl->get_columnNumber(This,column) +#define IVBSAXLocator_get_lineNumber(This,line) (This)->lpVtbl->get_lineNumber(This,line) +#define IVBSAXLocator_get_publicId(This,publicId) (This)->lpVtbl->get_publicId(This,publicId) +#define IVBSAXLocator_get_systemId(This,systemId) (This)->lpVtbl->get_systemId(This,systemId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXLocator_QueryInterface(IVBSAXLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXLocator_AddRef(IVBSAXLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXLocator_Release(IVBSAXLocator* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXLocator_GetTypeInfoCount(IVBSAXLocator* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXLocator_GetTypeInfo(IVBSAXLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXLocator_GetIDsOfNames(IVBSAXLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXLocator_Invoke(IVBSAXLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXLocator methods ***/ +static FORCEINLINE HRESULT IVBSAXLocator_get_columnNumber(IVBSAXLocator* This,int *column) { + return This->lpVtbl->get_columnNumber(This,column); +} +static FORCEINLINE HRESULT IVBSAXLocator_get_lineNumber(IVBSAXLocator* This,int *line) { + return This->lpVtbl->get_lineNumber(This,line); +} +static FORCEINLINE HRESULT IVBSAXLocator_get_publicId(IVBSAXLocator* This,BSTR *publicId) { + return This->lpVtbl->get_publicId(This,publicId); +} +static FORCEINLINE HRESULT IVBSAXLocator_get_systemId(IVBSAXLocator* This,BSTR *systemId) { + return This->lpVtbl->get_systemId(This,systemId); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXXMLFilter interface + */ +#ifndef __IVBSAXXMLFilter_INTERFACE_DEFINED__ +#define __IVBSAXXMLFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXXMLFilter, 0x1299eb1b, 0x5b88, 0x433e, 0x82,0xde, 0x82,0xca,0x75,0xad,0x4e,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1299eb1b-5b88-433e-82de-82ca75ad4e04") +IVBSAXXMLFilter : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_parent( + IVBSAXXMLReader **reader) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_parent( + IVBSAXXMLReader *reader) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXXMLFilter, 0x1299eb1b, 0x5b88, 0x433e, 0x82,0xde, 0x82,0xca,0x75,0xad,0x4e,0x04) +#endif +#else +typedef struct IVBSAXXMLFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXXMLFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXXMLFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXXMLFilter *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXXMLFilter *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXXMLFilter *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXXMLFilter *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXXMLFilter *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXXMLFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *get_parent)( + IVBSAXXMLFilter *This, + IVBSAXXMLReader **reader); + + HRESULT (STDMETHODCALLTYPE *putref_parent)( + IVBSAXXMLFilter *This, + IVBSAXXMLReader *reader); + + END_INTERFACE +} IVBSAXXMLFilterVtbl; + +interface IVBSAXXMLFilter { + CONST_VTBL IVBSAXXMLFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXXMLFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXXMLFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXXMLFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXXMLFilter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXXMLFilter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXXMLFilter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXXMLFilter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXXMLFilter methods ***/ +#define IVBSAXXMLFilter_get_parent(This,reader) (This)->lpVtbl->get_parent(This,reader) +#define IVBSAXXMLFilter_putref_parent(This,reader) (This)->lpVtbl->putref_parent(This,reader) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLFilter_QueryInterface(IVBSAXXMLFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXXMLFilter_AddRef(IVBSAXXMLFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXXMLFilter_Release(IVBSAXXMLFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLFilter_GetTypeInfoCount(IVBSAXXMLFilter* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_GetTypeInfo(IVBSAXXMLFilter* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_GetIDsOfNames(IVBSAXXMLFilter* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_Invoke(IVBSAXXMLFilter* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXXMLFilter methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLFilter_get_parent(IVBSAXXMLFilter* This,IVBSAXXMLReader **reader) { + return This->lpVtbl->get_parent(This,reader); +} +static FORCEINLINE HRESULT IVBSAXXMLFilter_putref_parent(IVBSAXXMLFilter* This,IVBSAXXMLReader *reader) { + return This->lpVtbl->putref_parent(This,reader); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXXMLFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBSAXXMLReader interface + */ +#ifndef __IVBSAXXMLReader_INTERFACE_DEFINED__ +#define __IVBSAXXMLReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBSAXXMLReader, 0x8c033caa, 0x6cd6, 0x4f73, 0xb7,0x28, 0x45,0x31,0xaf,0x74,0x94,0x5f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8c033caa-6cd6-4f73-b728-4531af74945f") +IVBSAXXMLReader : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getFeature( + BSTR pFeature, + VARIANT_BOOL *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putFeature( + BSTR pFeature, + VARIANT_BOOL vfValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR pProp, + VARIANT *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putProperty( + BSTR pProp, + VARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entityResolver( + IVBSAXEntityResolver **ppEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_entityResolver( + IVBSAXEntityResolver *pEntityResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentHandler( + IVBSAXContentHandler **pContentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_contentHandler( + IVBSAXContentHandler *contentHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dtdHandler( + IVBSAXDTDHandler **pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_dtdHandler( + IVBSAXDTDHandler *pDTDHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorHandler( + IVBSAXErrorHandler **pErrorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_errorHandler( + IVBSAXErrorHandler *errorHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseURL( + BSTR *pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_baseURL( + BSTR pBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_secureBaseURL( + BSTR *pSecureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_secureBaseURL( + BSTR secureBaseUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE parse( + VARIANT varInput) = 0; + + virtual HRESULT STDMETHODCALLTYPE parseURL( + BSTR url) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBSAXXMLReader, 0x8c033caa, 0x6cd6, 0x4f73, 0xb7,0x28, 0x45,0x31,0xaf,0x74,0x94,0x5f) +#endif +#else +typedef struct IVBSAXXMLReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBSAXXMLReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBSAXXMLReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBSAXXMLReader *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBSAXXMLReader *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBSAXXMLReader *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBSAXXMLReader *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBSAXXMLReader *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBSAXXMLReader methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + IVBSAXXMLReader *This, + BSTR pFeature, + VARIANT_BOOL *pValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + IVBSAXXMLReader *This, + BSTR pFeature, + VARIANT_BOOL vfValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IVBSAXXMLReader *This, + BSTR pProp, + VARIANT *pValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + IVBSAXXMLReader *This, + BSTR pProp, + VARIANT value); + + HRESULT (STDMETHODCALLTYPE *get_entityResolver)( + IVBSAXXMLReader *This, + IVBSAXEntityResolver **ppEntityResolver); + + HRESULT (STDMETHODCALLTYPE *putref_entityResolver)( + IVBSAXXMLReader *This, + IVBSAXEntityResolver *pEntityResolver); + + HRESULT (STDMETHODCALLTYPE *get_contentHandler)( + IVBSAXXMLReader *This, + IVBSAXContentHandler **pContentHandler); + + HRESULT (STDMETHODCALLTYPE *putref_contentHandler)( + IVBSAXXMLReader *This, + IVBSAXContentHandler *contentHandler); + + HRESULT (STDMETHODCALLTYPE *get_dtdHandler)( + IVBSAXXMLReader *This, + IVBSAXDTDHandler **pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *putref_dtdHandler)( + IVBSAXXMLReader *This, + IVBSAXDTDHandler *pDTDHandler); + + HRESULT (STDMETHODCALLTYPE *get_errorHandler)( + IVBSAXXMLReader *This, + IVBSAXErrorHandler **pErrorHandler); + + HRESULT (STDMETHODCALLTYPE *putref_errorHandler)( + IVBSAXXMLReader *This, + IVBSAXErrorHandler *errorHandler); + + HRESULT (STDMETHODCALLTYPE *get_baseURL)( + IVBSAXXMLReader *This, + BSTR *pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *put_baseURL)( + IVBSAXXMLReader *This, + BSTR pBaseUrl); + + HRESULT (STDMETHODCALLTYPE *get_secureBaseURL)( + IVBSAXXMLReader *This, + BSTR *pSecureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *put_secureBaseURL)( + IVBSAXXMLReader *This, + BSTR secureBaseUrl); + + HRESULT (STDMETHODCALLTYPE *parse)( + IVBSAXXMLReader *This, + VARIANT varInput); + + HRESULT (STDMETHODCALLTYPE *parseURL)( + IVBSAXXMLReader *This, + BSTR url); + + END_INTERFACE +} IVBSAXXMLReaderVtbl; + +interface IVBSAXXMLReader { + CONST_VTBL IVBSAXXMLReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBSAXXMLReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBSAXXMLReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBSAXXMLReader_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBSAXXMLReader_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBSAXXMLReader_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBSAXXMLReader_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBSAXXMLReader_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBSAXXMLReader methods ***/ +#define IVBSAXXMLReader_getFeature(This,pFeature,pValue) (This)->lpVtbl->getFeature(This,pFeature,pValue) +#define IVBSAXXMLReader_putFeature(This,pFeature,vfValue) (This)->lpVtbl->putFeature(This,pFeature,vfValue) +#define IVBSAXXMLReader_getProperty(This,pProp,pValue) (This)->lpVtbl->getProperty(This,pProp,pValue) +#define IVBSAXXMLReader_putProperty(This,pProp,value) (This)->lpVtbl->putProperty(This,pProp,value) +#define IVBSAXXMLReader_get_entityResolver(This,ppEntityResolver) (This)->lpVtbl->get_entityResolver(This,ppEntityResolver) +#define IVBSAXXMLReader_putref_entityResolver(This,pEntityResolver) (This)->lpVtbl->putref_entityResolver(This,pEntityResolver) +#define IVBSAXXMLReader_get_contentHandler(This,pContentHandler) (This)->lpVtbl->get_contentHandler(This,pContentHandler) +#define IVBSAXXMLReader_putref_contentHandler(This,contentHandler) (This)->lpVtbl->putref_contentHandler(This,contentHandler) +#define IVBSAXXMLReader_get_dtdHandler(This,pDTDHandler) (This)->lpVtbl->get_dtdHandler(This,pDTDHandler) +#define IVBSAXXMLReader_putref_dtdHandler(This,pDTDHandler) (This)->lpVtbl->putref_dtdHandler(This,pDTDHandler) +#define IVBSAXXMLReader_get_errorHandler(This,pErrorHandler) (This)->lpVtbl->get_errorHandler(This,pErrorHandler) +#define IVBSAXXMLReader_putref_errorHandler(This,errorHandler) (This)->lpVtbl->putref_errorHandler(This,errorHandler) +#define IVBSAXXMLReader_get_baseURL(This,pBaseUrl) (This)->lpVtbl->get_baseURL(This,pBaseUrl) +#define IVBSAXXMLReader_put_baseURL(This,pBaseUrl) (This)->lpVtbl->put_baseURL(This,pBaseUrl) +#define IVBSAXXMLReader_get_secureBaseURL(This,pSecureBaseUrl) (This)->lpVtbl->get_secureBaseURL(This,pSecureBaseUrl) +#define IVBSAXXMLReader_put_secureBaseURL(This,secureBaseUrl) (This)->lpVtbl->put_secureBaseURL(This,secureBaseUrl) +#define IVBSAXXMLReader_parse(This,varInput) (This)->lpVtbl->parse(This,varInput) +#define IVBSAXXMLReader_parseURL(This,url) (This)->lpVtbl->parseURL(This,url) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLReader_QueryInterface(IVBSAXXMLReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBSAXXMLReader_AddRef(IVBSAXXMLReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBSAXXMLReader_Release(IVBSAXXMLReader* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLReader_GetTypeInfoCount(IVBSAXXMLReader* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_GetTypeInfo(IVBSAXXMLReader* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_GetIDsOfNames(IVBSAXXMLReader* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_Invoke(IVBSAXXMLReader* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBSAXXMLReader methods ***/ +static FORCEINLINE HRESULT IVBSAXXMLReader_getFeature(IVBSAXXMLReader* This,BSTR pFeature,VARIANT_BOOL *pValue) { + return This->lpVtbl->getFeature(This,pFeature,pValue); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putFeature(IVBSAXXMLReader* This,BSTR pFeature,VARIANT_BOOL vfValue) { + return This->lpVtbl->putFeature(This,pFeature,vfValue); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_getProperty(IVBSAXXMLReader* This,BSTR pProp,VARIANT *pValue) { + return This->lpVtbl->getProperty(This,pProp,pValue); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putProperty(IVBSAXXMLReader* This,BSTR pProp,VARIANT value) { + return This->lpVtbl->putProperty(This,pProp,value); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_entityResolver(IVBSAXXMLReader* This,IVBSAXEntityResolver **ppEntityResolver) { + return This->lpVtbl->get_entityResolver(This,ppEntityResolver); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_entityResolver(IVBSAXXMLReader* This,IVBSAXEntityResolver *pEntityResolver) { + return This->lpVtbl->putref_entityResolver(This,pEntityResolver); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_contentHandler(IVBSAXXMLReader* This,IVBSAXContentHandler **pContentHandler) { + return This->lpVtbl->get_contentHandler(This,pContentHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_contentHandler(IVBSAXXMLReader* This,IVBSAXContentHandler *contentHandler) { + return This->lpVtbl->putref_contentHandler(This,contentHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_dtdHandler(IVBSAXXMLReader* This,IVBSAXDTDHandler **pDTDHandler) { + return This->lpVtbl->get_dtdHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_dtdHandler(IVBSAXXMLReader* This,IVBSAXDTDHandler *pDTDHandler) { + return This->lpVtbl->putref_dtdHandler(This,pDTDHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_errorHandler(IVBSAXXMLReader* This,IVBSAXErrorHandler **pErrorHandler) { + return This->lpVtbl->get_errorHandler(This,pErrorHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_putref_errorHandler(IVBSAXXMLReader* This,IVBSAXErrorHandler *errorHandler) { + return This->lpVtbl->putref_errorHandler(This,errorHandler); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_baseURL(IVBSAXXMLReader* This,BSTR *pBaseUrl) { + return This->lpVtbl->get_baseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_put_baseURL(IVBSAXXMLReader* This,BSTR pBaseUrl) { + return This->lpVtbl->put_baseURL(This,pBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_get_secureBaseURL(IVBSAXXMLReader* This,BSTR *pSecureBaseUrl) { + return This->lpVtbl->get_secureBaseURL(This,pSecureBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_put_secureBaseURL(IVBSAXXMLReader* This,BSTR secureBaseUrl) { + return This->lpVtbl->put_secureBaseURL(This,secureBaseUrl); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_parse(IVBSAXXMLReader* This,VARIANT varInput) { + return This->lpVtbl->parse(This,varInput); +} +static FORCEINLINE HRESULT IVBSAXXMLReader_parseURL(IVBSAXXMLReader* This,BSTR url) { + return This->lpVtbl->parseURL(This,url); +} +#endif +#endif + +#endif + + +#endif /* __IVBSAXXMLReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXAttributes interface + */ +#ifndef __IMXAttributes_INTERFACE_DEFINED__ +#define __IMXAttributes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXAttributes, 0xf10d27cc, 0x3ec0, 0x415c, 0x8e,0xd8, 0x77,0xab,0x1c,0x5e,0x72,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f10d27cc-3ec0-415c-8ed8-77ab1c5e7262") +IMXAttributes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE addAttribute( + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE addAttributeFromIndex( + VARIANT atts, + int index) = 0; + + virtual HRESULT STDMETHODCALLTYPE clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeAttribute( + int index) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttribute( + int index, + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE setAttributes( + VARIANT atts) = 0; + + virtual HRESULT STDMETHODCALLTYPE setLocalName( + int index, + BSTR localName) = 0; + + virtual HRESULT STDMETHODCALLTYPE setQName( + int index, + BSTR QName) = 0; + + virtual HRESULT STDMETHODCALLTYPE setType( + int index, + BSTR type) = 0; + + virtual HRESULT STDMETHODCALLTYPE setURI( + int index, + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE setValue( + int index, + BSTR value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXAttributes, 0xf10d27cc, 0x3ec0, 0x415c, 0x8e,0xd8, 0x77,0xab,0x1c,0x5e,0x72,0x62) +#endif +#else +typedef struct IMXAttributesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXAttributes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXAttributes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXAttributes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXAttributes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXAttributes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXAttributes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXAttributes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXAttributes methods ***/ + HRESULT (STDMETHODCALLTYPE *addAttribute)( + IMXAttributes *This, + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *addAttributeFromIndex)( + IMXAttributes *This, + VARIANT atts, + int index); + + HRESULT (STDMETHODCALLTYPE *clear)( + IMXAttributes *This); + + HRESULT (STDMETHODCALLTYPE *removeAttribute)( + IMXAttributes *This, + int index); + + HRESULT (STDMETHODCALLTYPE *setAttribute)( + IMXAttributes *This, + int index, + BSTR uri, + BSTR localName, + BSTR QName, + BSTR type, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *setAttributes)( + IMXAttributes *This, + VARIANT atts); + + HRESULT (STDMETHODCALLTYPE *setLocalName)( + IMXAttributes *This, + int index, + BSTR localName); + + HRESULT (STDMETHODCALLTYPE *setQName)( + IMXAttributes *This, + int index, + BSTR QName); + + HRESULT (STDMETHODCALLTYPE *setType)( + IMXAttributes *This, + int index, + BSTR type); + + HRESULT (STDMETHODCALLTYPE *setURI)( + IMXAttributes *This, + int index, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *setValue)( + IMXAttributes *This, + int index, + BSTR value); + + END_INTERFACE +} IMXAttributesVtbl; + +interface IMXAttributes { + CONST_VTBL IMXAttributesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXAttributes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXAttributes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXAttributes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXAttributes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXAttributes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXAttributes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXAttributes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXAttributes methods ***/ +#define IMXAttributes_addAttribute(This,uri,localName,QName,type,value) (This)->lpVtbl->addAttribute(This,uri,localName,QName,type,value) +#define IMXAttributes_addAttributeFromIndex(This,atts,index) (This)->lpVtbl->addAttributeFromIndex(This,atts,index) +#define IMXAttributes_clear(This) (This)->lpVtbl->clear(This) +#define IMXAttributes_removeAttribute(This,index) (This)->lpVtbl->removeAttribute(This,index) +#define IMXAttributes_setAttribute(This,index,uri,localName,QName,type,value) (This)->lpVtbl->setAttribute(This,index,uri,localName,QName,type,value) +#define IMXAttributes_setAttributes(This,atts) (This)->lpVtbl->setAttributes(This,atts) +#define IMXAttributes_setLocalName(This,index,localName) (This)->lpVtbl->setLocalName(This,index,localName) +#define IMXAttributes_setQName(This,index,QName) (This)->lpVtbl->setQName(This,index,QName) +#define IMXAttributes_setType(This,index,type) (This)->lpVtbl->setType(This,index,type) +#define IMXAttributes_setURI(This,index,uri) (This)->lpVtbl->setURI(This,index,uri) +#define IMXAttributes_setValue(This,index,value) (This)->lpVtbl->setValue(This,index,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXAttributes_QueryInterface(IMXAttributes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXAttributes_AddRef(IMXAttributes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXAttributes_Release(IMXAttributes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXAttributes_GetTypeInfoCount(IMXAttributes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXAttributes_GetTypeInfo(IMXAttributes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXAttributes_GetIDsOfNames(IMXAttributes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXAttributes_Invoke(IMXAttributes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXAttributes methods ***/ +static FORCEINLINE HRESULT IMXAttributes_addAttribute(IMXAttributes* This,BSTR uri,BSTR localName,BSTR QName,BSTR type,BSTR value) { + return This->lpVtbl->addAttribute(This,uri,localName,QName,type,value); +} +static FORCEINLINE HRESULT IMXAttributes_addAttributeFromIndex(IMXAttributes* This,VARIANT atts,int index) { + return This->lpVtbl->addAttributeFromIndex(This,atts,index); +} +static FORCEINLINE HRESULT IMXAttributes_clear(IMXAttributes* This) { + return This->lpVtbl->clear(This); +} +static FORCEINLINE HRESULT IMXAttributes_removeAttribute(IMXAttributes* This,int index) { + return This->lpVtbl->removeAttribute(This,index); +} +static FORCEINLINE HRESULT IMXAttributes_setAttribute(IMXAttributes* This,int index,BSTR uri,BSTR localName,BSTR QName,BSTR type,BSTR value) { + return This->lpVtbl->setAttribute(This,index,uri,localName,QName,type,value); +} +static FORCEINLINE HRESULT IMXAttributes_setAttributes(IMXAttributes* This,VARIANT atts) { + return This->lpVtbl->setAttributes(This,atts); +} +static FORCEINLINE HRESULT IMXAttributes_setLocalName(IMXAttributes* This,int index,BSTR localName) { + return This->lpVtbl->setLocalName(This,index,localName); +} +static FORCEINLINE HRESULT IMXAttributes_setQName(IMXAttributes* This,int index,BSTR QName) { + return This->lpVtbl->setQName(This,index,QName); +} +static FORCEINLINE HRESULT IMXAttributes_setType(IMXAttributes* This,int index,BSTR type) { + return This->lpVtbl->setType(This,index,type); +} +static FORCEINLINE HRESULT IMXAttributes_setURI(IMXAttributes* This,int index,BSTR uri) { + return This->lpVtbl->setURI(This,index,uri); +} +static FORCEINLINE HRESULT IMXAttributes_setValue(IMXAttributes* This,int index,BSTR value) { + return This->lpVtbl->setValue(This,index,value); +} +#endif +#endif + +#endif + + +#endif /* __IMXAttributes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXSchemaDeclHandler interface + */ +#ifndef __IMXSchemaDeclHandler_INTERFACE_DEFINED__ +#define __IMXSchemaDeclHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXSchemaDeclHandler, 0xfa4bb38c, 0xfaf9, 0x4cca, 0x93,0x02, 0xd1,0xdd,0x0f,0xe5,0x20,0xdb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fa4bb38c-faf9-4cca-9302-d1dd0fe520db") +IMXSchemaDeclHandler : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE schemaElementDecl( + ISchemaElement *oSchemaElement) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXSchemaDeclHandler, 0xfa4bb38c, 0xfaf9, 0x4cca, 0x93,0x02, 0xd1,0xdd,0x0f,0xe5,0x20,0xdb) +#endif +#else +typedef struct IMXSchemaDeclHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXSchemaDeclHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXSchemaDeclHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXSchemaDeclHandler *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXSchemaDeclHandler *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXSchemaDeclHandler *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXSchemaDeclHandler *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXSchemaDeclHandler *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXSchemaDeclHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *schemaElementDecl)( + IMXSchemaDeclHandler *This, + ISchemaElement *oSchemaElement); + + END_INTERFACE +} IMXSchemaDeclHandlerVtbl; + +interface IMXSchemaDeclHandler { + CONST_VTBL IMXSchemaDeclHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXSchemaDeclHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXSchemaDeclHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXSchemaDeclHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXSchemaDeclHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXSchemaDeclHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXSchemaDeclHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXSchemaDeclHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXSchemaDeclHandler methods ***/ +#define IMXSchemaDeclHandler_schemaElementDecl(This,oSchemaElement) (This)->lpVtbl->schemaElementDecl(This,oSchemaElement) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXSchemaDeclHandler_QueryInterface(IMXSchemaDeclHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXSchemaDeclHandler_AddRef(IMXSchemaDeclHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXSchemaDeclHandler_Release(IMXSchemaDeclHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXSchemaDeclHandler_GetTypeInfoCount(IMXSchemaDeclHandler* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXSchemaDeclHandler_GetTypeInfo(IMXSchemaDeclHandler* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXSchemaDeclHandler_GetIDsOfNames(IMXSchemaDeclHandler* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXSchemaDeclHandler_Invoke(IMXSchemaDeclHandler* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXSchemaDeclHandler methods ***/ +static FORCEINLINE HRESULT IMXSchemaDeclHandler_schemaElementDecl(IMXSchemaDeclHandler* This,ISchemaElement *oSchemaElement) { + return This->lpVtbl->schemaElementDecl(This,oSchemaElement); +} +#endif +#endif + +#endif + + +#endif /* __IMXSchemaDeclHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXReaderControl interface + */ +#ifndef __IMXReaderControl_INTERFACE_DEFINED__ +#define __IMXReaderControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXReaderControl, 0x808f4e35, 0x8d5a, 0x4fbe, 0x84,0x66, 0x33,0xa4,0x12,0x79,0xed,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("808f4e35-8d5a-4fbe-8466-33a41279ed30") +IMXReaderControl : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE resume( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE suspend( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXReaderControl, 0x808f4e35, 0x8d5a, 0x4fbe, 0x84,0x66, 0x33,0xa4,0x12,0x79,0xed,0x30) +#endif +#else +typedef struct IMXReaderControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXReaderControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXReaderControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXReaderControl *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXReaderControl *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXReaderControl *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXReaderControl *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXReaderControl *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXReaderControl methods ***/ + HRESULT (STDMETHODCALLTYPE *abort)( + IMXReaderControl *This); + + HRESULT (STDMETHODCALLTYPE *resume)( + IMXReaderControl *This); + + HRESULT (STDMETHODCALLTYPE *suspend)( + IMXReaderControl *This); + + END_INTERFACE +} IMXReaderControlVtbl; + +interface IMXReaderControl { + CONST_VTBL IMXReaderControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXReaderControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXReaderControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXReaderControl_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXReaderControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXReaderControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXReaderControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXReaderControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXReaderControl methods ***/ +#define IMXReaderControl_abort(This) (This)->lpVtbl->abort(This) +#define IMXReaderControl_resume(This) (This)->lpVtbl->resume(This) +#define IMXReaderControl_suspend(This) (This)->lpVtbl->suspend(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXReaderControl_QueryInterface(IMXReaderControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXReaderControl_AddRef(IMXReaderControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXReaderControl_Release(IMXReaderControl* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXReaderControl_GetTypeInfoCount(IMXReaderControl* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXReaderControl_GetTypeInfo(IMXReaderControl* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXReaderControl_GetIDsOfNames(IMXReaderControl* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXReaderControl_Invoke(IMXReaderControl* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXReaderControl methods ***/ +static FORCEINLINE HRESULT IMXReaderControl_abort(IMXReaderControl* This) { + return This->lpVtbl->abort(This); +} +static FORCEINLINE HRESULT IMXReaderControl_resume(IMXReaderControl* This) { + return This->lpVtbl->resume(This); +} +static FORCEINLINE HRESULT IMXReaderControl_suspend(IMXReaderControl* This) { + return This->lpVtbl->suspend(This); +} +#endif +#endif + +#endif + + +#endif /* __IMXReaderControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXWriter interface + */ +#ifndef __IMXWriter_INTERFACE_DEFINED__ +#define __IMXWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXWriter, 0x4d7ff4ba, 0x1565, 0x4ea8, 0x94,0xe1, 0x6e,0x72,0x4a,0x46,0xf9,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4d7ff4ba-1565-4ea8-94e1-6e724a46f98d") +IMXWriter : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_output( + VARIANT Destination) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_output( + VARIANT *Destination) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_encoding( + BSTR encoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_encoding( + BSTR *encoding) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_byteOrderMark( + VARIANT_BOOL writeByteOrderMark) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_byteOrderMark( + VARIANT_BOOL *writeByteOrderMark) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_indent( + VARIANT_BOOL indentMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_indent( + VARIANT_BOOL *indentMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_standalone( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_standalone( + VARIANT_BOOL *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_omitXMLDeclaration( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_omitXMLDeclaration( + VARIANT_BOOL *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_version( + BSTR version) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *version) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_disableOutputEscaping( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disableOutputEscaping( + VARIANT_BOOL *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE flush( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXWriter, 0x4d7ff4ba, 0x1565, 0x4ea8, 0x94,0xe1, 0x6e,0x72,0x4a,0x46,0xf9,0x8d) +#endif +#else +typedef struct IMXWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXWriter *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXWriter *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXWriter *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXWriter *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXWriter *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *put_output)( + IMXWriter *This, + VARIANT Destination); + + HRESULT (STDMETHODCALLTYPE *get_output)( + IMXWriter *This, + VARIANT *Destination); + + HRESULT (STDMETHODCALLTYPE *put_encoding)( + IMXWriter *This, + BSTR encoding); + + HRESULT (STDMETHODCALLTYPE *get_encoding)( + IMXWriter *This, + BSTR *encoding); + + HRESULT (STDMETHODCALLTYPE *put_byteOrderMark)( + IMXWriter *This, + VARIANT_BOOL writeByteOrderMark); + + HRESULT (STDMETHODCALLTYPE *get_byteOrderMark)( + IMXWriter *This, + VARIANT_BOOL *writeByteOrderMark); + + HRESULT (STDMETHODCALLTYPE *put_indent)( + IMXWriter *This, + VARIANT_BOOL indentMode); + + HRESULT (STDMETHODCALLTYPE *get_indent)( + IMXWriter *This, + VARIANT_BOOL *indentMode); + + HRESULT (STDMETHODCALLTYPE *put_standalone)( + IMXWriter *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_standalone)( + IMXWriter *This, + VARIANT_BOOL *value); + + HRESULT (STDMETHODCALLTYPE *put_omitXMLDeclaration)( + IMXWriter *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_omitXMLDeclaration)( + IMXWriter *This, + VARIANT_BOOL *value); + + HRESULT (STDMETHODCALLTYPE *put_version)( + IMXWriter *This, + BSTR version); + + HRESULT (STDMETHODCALLTYPE *get_version)( + IMXWriter *This, + BSTR *version); + + HRESULT (STDMETHODCALLTYPE *put_disableOutputEscaping)( + IMXWriter *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_disableOutputEscaping)( + IMXWriter *This, + VARIANT_BOOL *value); + + HRESULT (STDMETHODCALLTYPE *flush)( + IMXWriter *This); + + END_INTERFACE +} IMXWriterVtbl; + +interface IMXWriter { + CONST_VTBL IMXWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXWriter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXWriter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXWriter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXWriter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXWriter methods ***/ +#define IMXWriter_put_output(This,Destination) (This)->lpVtbl->put_output(This,Destination) +#define IMXWriter_get_output(This,Destination) (This)->lpVtbl->get_output(This,Destination) +#define IMXWriter_put_encoding(This,encoding) (This)->lpVtbl->put_encoding(This,encoding) +#define IMXWriter_get_encoding(This,encoding) (This)->lpVtbl->get_encoding(This,encoding) +#define IMXWriter_put_byteOrderMark(This,writeByteOrderMark) (This)->lpVtbl->put_byteOrderMark(This,writeByteOrderMark) +#define IMXWriter_get_byteOrderMark(This,writeByteOrderMark) (This)->lpVtbl->get_byteOrderMark(This,writeByteOrderMark) +#define IMXWriter_put_indent(This,indentMode) (This)->lpVtbl->put_indent(This,indentMode) +#define IMXWriter_get_indent(This,indentMode) (This)->lpVtbl->get_indent(This,indentMode) +#define IMXWriter_put_standalone(This,value) (This)->lpVtbl->put_standalone(This,value) +#define IMXWriter_get_standalone(This,value) (This)->lpVtbl->get_standalone(This,value) +#define IMXWriter_put_omitXMLDeclaration(This,value) (This)->lpVtbl->put_omitXMLDeclaration(This,value) +#define IMXWriter_get_omitXMLDeclaration(This,value) (This)->lpVtbl->get_omitXMLDeclaration(This,value) +#define IMXWriter_put_version(This,version) (This)->lpVtbl->put_version(This,version) +#define IMXWriter_get_version(This,version) (This)->lpVtbl->get_version(This,version) +#define IMXWriter_put_disableOutputEscaping(This,value) (This)->lpVtbl->put_disableOutputEscaping(This,value) +#define IMXWriter_get_disableOutputEscaping(This,value) (This)->lpVtbl->get_disableOutputEscaping(This,value) +#define IMXWriter_flush(This) (This)->lpVtbl->flush(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXWriter_QueryInterface(IMXWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXWriter_AddRef(IMXWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXWriter_Release(IMXWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXWriter_GetTypeInfoCount(IMXWriter* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXWriter_GetTypeInfo(IMXWriter* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXWriter_GetIDsOfNames(IMXWriter* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXWriter_Invoke(IMXWriter* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXWriter methods ***/ +static FORCEINLINE HRESULT IMXWriter_put_output(IMXWriter* This,VARIANT Destination) { + return This->lpVtbl->put_output(This,Destination); +} +static FORCEINLINE HRESULT IMXWriter_get_output(IMXWriter* This,VARIANT *Destination) { + return This->lpVtbl->get_output(This,Destination); +} +static FORCEINLINE HRESULT IMXWriter_put_encoding(IMXWriter* This,BSTR encoding) { + return This->lpVtbl->put_encoding(This,encoding); +} +static FORCEINLINE HRESULT IMXWriter_get_encoding(IMXWriter* This,BSTR *encoding) { + return This->lpVtbl->get_encoding(This,encoding); +} +static FORCEINLINE HRESULT IMXWriter_put_byteOrderMark(IMXWriter* This,VARIANT_BOOL writeByteOrderMark) { + return This->lpVtbl->put_byteOrderMark(This,writeByteOrderMark); +} +static FORCEINLINE HRESULT IMXWriter_get_byteOrderMark(IMXWriter* This,VARIANT_BOOL *writeByteOrderMark) { + return This->lpVtbl->get_byteOrderMark(This,writeByteOrderMark); +} +static FORCEINLINE HRESULT IMXWriter_put_indent(IMXWriter* This,VARIANT_BOOL indentMode) { + return This->lpVtbl->put_indent(This,indentMode); +} +static FORCEINLINE HRESULT IMXWriter_get_indent(IMXWriter* This,VARIANT_BOOL *indentMode) { + return This->lpVtbl->get_indent(This,indentMode); +} +static FORCEINLINE HRESULT IMXWriter_put_standalone(IMXWriter* This,VARIANT_BOOL value) { + return This->lpVtbl->put_standalone(This,value); +} +static FORCEINLINE HRESULT IMXWriter_get_standalone(IMXWriter* This,VARIANT_BOOL *value) { + return This->lpVtbl->get_standalone(This,value); +} +static FORCEINLINE HRESULT IMXWriter_put_omitXMLDeclaration(IMXWriter* This,VARIANT_BOOL value) { + return This->lpVtbl->put_omitXMLDeclaration(This,value); +} +static FORCEINLINE HRESULT IMXWriter_get_omitXMLDeclaration(IMXWriter* This,VARIANT_BOOL *value) { + return This->lpVtbl->get_omitXMLDeclaration(This,value); +} +static FORCEINLINE HRESULT IMXWriter_put_version(IMXWriter* This,BSTR version) { + return This->lpVtbl->put_version(This,version); +} +static FORCEINLINE HRESULT IMXWriter_get_version(IMXWriter* This,BSTR *version) { + return This->lpVtbl->get_version(This,version); +} +static FORCEINLINE HRESULT IMXWriter_put_disableOutputEscaping(IMXWriter* This,VARIANT_BOOL value) { + return This->lpVtbl->put_disableOutputEscaping(This,value); +} +static FORCEINLINE HRESULT IMXWriter_get_disableOutputEscaping(IMXWriter* This,VARIANT_BOOL *value) { + return This->lpVtbl->get_disableOutputEscaping(This,value); +} +static FORCEINLINE HRESULT IMXWriter_flush(IMXWriter* This) { + return This->lpVtbl->flush(This); +} +#endif +#endif + +#endif + + +#endif /* __IMXWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXNamespacePrefixes interface + */ +#ifndef __IMXNamespacePrefixes_INTERFACE_DEFINED__ +#define __IMXNamespacePrefixes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXNamespacePrefixes, 0xc90352f4, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f4-643c-4fbc-bb23-e996eb2d51fd") +IMXNamespacePrefixes : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + BSTR *prefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXNamespacePrefixes, 0xc90352f4, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IMXNamespacePrefixesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXNamespacePrefixes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXNamespacePrefixes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXNamespacePrefixes *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXNamespacePrefixes *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXNamespacePrefixes *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXNamespacePrefixes *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXNamespacePrefixes *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXNamespacePrefixes methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + IMXNamespacePrefixes *This, + LONG index, + BSTR *prefix); + + HRESULT (STDMETHODCALLTYPE *get_length)( + IMXNamespacePrefixes *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + IMXNamespacePrefixes *This, + IUnknown **ppUnk); + + END_INTERFACE +} IMXNamespacePrefixesVtbl; + +interface IMXNamespacePrefixes { + CONST_VTBL IMXNamespacePrefixesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXNamespacePrefixes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXNamespacePrefixes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXNamespacePrefixes_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXNamespacePrefixes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXNamespacePrefixes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXNamespacePrefixes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXNamespacePrefixes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXNamespacePrefixes methods ***/ +#define IMXNamespacePrefixes_get_item(This,index,prefix) (This)->lpVtbl->get_item(This,index,prefix) +#define IMXNamespacePrefixes_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define IMXNamespacePrefixes_get__newEnum(This,ppUnk) (This)->lpVtbl->get__newEnum(This,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXNamespacePrefixes_QueryInterface(IMXNamespacePrefixes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXNamespacePrefixes_AddRef(IMXNamespacePrefixes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXNamespacePrefixes_Release(IMXNamespacePrefixes* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXNamespacePrefixes_GetTypeInfoCount(IMXNamespacePrefixes* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_GetTypeInfo(IMXNamespacePrefixes* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_GetIDsOfNames(IMXNamespacePrefixes* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_Invoke(IMXNamespacePrefixes* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXNamespacePrefixes methods ***/ +static FORCEINLINE HRESULT IMXNamespacePrefixes_get_item(IMXNamespacePrefixes* This,LONG index,BSTR *prefix) { + return This->lpVtbl->get_item(This,index,prefix); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_get_length(IMXNamespacePrefixes* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT IMXNamespacePrefixes_get__newEnum(IMXNamespacePrefixes* This,IUnknown **ppUnk) { + return This->lpVtbl->get__newEnum(This,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IMXNamespacePrefixes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXNamespaceManager interface + */ +#ifndef __IMXNamespaceManager_INTERFACE_DEFINED__ +#define __IMXNamespaceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXNamespaceManager, 0xc90352f6, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f6-643c-4fbc-bb23-e996eb2d51fd") +IMXNamespaceManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE putAllowOverride( + VARIANT_BOOL fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAllowOverride( + VARIANT_BOOL *fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushNodeContext( + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep) = 0; + + virtual HRESULT STDMETHODCALLTYPE popContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE declarePrefix( + const WCHAR *prefix, + const WCHAR *namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDeclaredPrefix( + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPrefix( + const WCHAR *pwszNamespaceURI, + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + const WCHAR *pwchPrefix, + IXMLDOMNode *pContextNode, + WCHAR *pwchUri, + int *pcchUri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXNamespaceManager, 0xc90352f6, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IMXNamespaceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXNamespaceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXNamespaceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXNamespaceManager *This); + + /*** IMXNamespaceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *putAllowOverride)( + IMXNamespaceManager *This, + VARIANT_BOOL fOverride); + + HRESULT (STDMETHODCALLTYPE *getAllowOverride)( + IMXNamespaceManager *This, + VARIANT_BOOL *fOverride); + + HRESULT (STDMETHODCALLTYPE *reset)( + IMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushContext)( + IMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushNodeContext)( + IMXNamespaceManager *This, + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep); + + HRESULT (STDMETHODCALLTYPE *popContext)( + IMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *declarePrefix)( + IMXNamespaceManager *This, + const WCHAR *prefix, + const WCHAR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *getDeclaredPrefix)( + IMXNamespaceManager *This, + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix); + + HRESULT (STDMETHODCALLTYPE *getPrefix)( + IMXNamespaceManager *This, + const WCHAR *pwszNamespaceURI, + LONG nIndex, + WCHAR *pwchPrefix, + int *pcchPrefix); + + HRESULT (STDMETHODCALLTYPE *getURI)( + IMXNamespaceManager *This, + const WCHAR *pwchPrefix, + IXMLDOMNode *pContextNode, + WCHAR *pwchUri, + int *pcchUri); + + END_INTERFACE +} IMXNamespaceManagerVtbl; + +interface IMXNamespaceManager { + CONST_VTBL IMXNamespaceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXNamespaceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXNamespaceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXNamespaceManager_Release(This) (This)->lpVtbl->Release(This) +/*** IMXNamespaceManager methods ***/ +#define IMXNamespaceManager_putAllowOverride(This,fOverride) (This)->lpVtbl->putAllowOverride(This,fOverride) +#define IMXNamespaceManager_getAllowOverride(This,fOverride) (This)->lpVtbl->getAllowOverride(This,fOverride) +#define IMXNamespaceManager_reset(This) (This)->lpVtbl->reset(This) +#define IMXNamespaceManager_pushContext(This) (This)->lpVtbl->pushContext(This) +#define IMXNamespaceManager_pushNodeContext(This,contextNode,fDeep) (This)->lpVtbl->pushNodeContext(This,contextNode,fDeep) +#define IMXNamespaceManager_popContext(This) (This)->lpVtbl->popContext(This) +#define IMXNamespaceManager_declarePrefix(This,prefix,namespaceURI) (This)->lpVtbl->declarePrefix(This,prefix,namespaceURI) +#define IMXNamespaceManager_getDeclaredPrefix(This,nIndex,pwchPrefix,pcchPrefix) (This)->lpVtbl->getDeclaredPrefix(This,nIndex,pwchPrefix,pcchPrefix) +#define IMXNamespaceManager_getPrefix(This,pwszNamespaceURI,nIndex,pwchPrefix,pcchPrefix) (This)->lpVtbl->getPrefix(This,pwszNamespaceURI,nIndex,pwchPrefix,pcchPrefix) +#define IMXNamespaceManager_getURI(This,pwchPrefix,pContextNode,pwchUri,pcchUri) (This)->lpVtbl->getURI(This,pwchPrefix,pContextNode,pwchUri,pcchUri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXNamespaceManager_QueryInterface(IMXNamespaceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXNamespaceManager_AddRef(IMXNamespaceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXNamespaceManager_Release(IMXNamespaceManager* This) { + return This->lpVtbl->Release(This); +} +/*** IMXNamespaceManager methods ***/ +static FORCEINLINE HRESULT IMXNamespaceManager_putAllowOverride(IMXNamespaceManager* This,VARIANT_BOOL fOverride) { + return This->lpVtbl->putAllowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getAllowOverride(IMXNamespaceManager* This,VARIANT_BOOL *fOverride) { + return This->lpVtbl->getAllowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IMXNamespaceManager_reset(IMXNamespaceManager* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IMXNamespaceManager_pushContext(IMXNamespaceManager* This) { + return This->lpVtbl->pushContext(This); +} +static FORCEINLINE HRESULT IMXNamespaceManager_pushNodeContext(IMXNamespaceManager* This,IXMLDOMNode *contextNode,VARIANT_BOOL fDeep) { + return This->lpVtbl->pushNodeContext(This,contextNode,fDeep); +} +static FORCEINLINE HRESULT IMXNamespaceManager_popContext(IMXNamespaceManager* This) { + return This->lpVtbl->popContext(This); +} +static FORCEINLINE HRESULT IMXNamespaceManager_declarePrefix(IMXNamespaceManager* This,const WCHAR *prefix,const WCHAR *namespaceURI) { + return This->lpVtbl->declarePrefix(This,prefix,namespaceURI); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getDeclaredPrefix(IMXNamespaceManager* This,LONG nIndex,WCHAR *pwchPrefix,int *pcchPrefix) { + return This->lpVtbl->getDeclaredPrefix(This,nIndex,pwchPrefix,pcchPrefix); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getPrefix(IMXNamespaceManager* This,const WCHAR *pwszNamespaceURI,LONG nIndex,WCHAR *pwchPrefix,int *pcchPrefix) { + return This->lpVtbl->getPrefix(This,pwszNamespaceURI,nIndex,pwchPrefix,pcchPrefix); +} +static FORCEINLINE HRESULT IMXNamespaceManager_getURI(IMXNamespaceManager* This,const WCHAR *pwchPrefix,IXMLDOMNode *pContextNode,WCHAR *pwchUri,int *pcchUri) { + return This->lpVtbl->getURI(This,pwchPrefix,pContextNode,pwchUri,pcchUri); +} +#endif +#endif + +#endif + + +#endif /* __IMXNamespaceManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVBMXNamespaceManager interface + */ +#ifndef __IVBMXNamespaceManager_INTERFACE_DEFINED__ +#define __IVBMXNamespaceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVBMXNamespaceManager, 0xc90352f5, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f5-643c-4fbc-bb23-e996eb2d51fd") +IVBMXNamespaceManager : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE put_allowOverride( + VARIANT_BOOL fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_allowOverride( + VARIANT_BOOL *fOverride) = 0; + + virtual HRESULT STDMETHODCALLTYPE reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pushNodeContext( + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep = -1) = 0; + + virtual HRESULT STDMETHODCALLTYPE popContext( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE declarePrefix( + BSTR prefix, + BSTR namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE getDeclaredPrefixes( + IMXNamespacePrefixes **prefixes) = 0; + + virtual HRESULT STDMETHODCALLTYPE getPrefixes( + BSTR namespaceURI, + IMXNamespacePrefixes **prefixes) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURI( + BSTR prefix, + VARIANT *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE getURIFromNode( + BSTR strPrefix, + IXMLDOMNode *contextNode, + VARIANT *uri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVBMXNamespaceManager, 0xc90352f5, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IVBMXNamespaceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVBMXNamespaceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVBMXNamespaceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVBMXNamespaceManager *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IVBMXNamespaceManager *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IVBMXNamespaceManager *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IVBMXNamespaceManager *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IVBMXNamespaceManager *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IVBMXNamespaceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *put_allowOverride)( + IVBMXNamespaceManager *This, + VARIANT_BOOL fOverride); + + HRESULT (STDMETHODCALLTYPE *get_allowOverride)( + IVBMXNamespaceManager *This, + VARIANT_BOOL *fOverride); + + HRESULT (STDMETHODCALLTYPE *reset)( + IVBMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushContext)( + IVBMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *pushNodeContext)( + IVBMXNamespaceManager *This, + IXMLDOMNode *contextNode, + VARIANT_BOOL fDeep); + + HRESULT (STDMETHODCALLTYPE *popContext)( + IVBMXNamespaceManager *This); + + HRESULT (STDMETHODCALLTYPE *declarePrefix)( + IVBMXNamespaceManager *This, + BSTR prefix, + BSTR namespaceURI); + + HRESULT (STDMETHODCALLTYPE *getDeclaredPrefixes)( + IVBMXNamespaceManager *This, + IMXNamespacePrefixes **prefixes); + + HRESULT (STDMETHODCALLTYPE *getPrefixes)( + IVBMXNamespaceManager *This, + BSTR namespaceURI, + IMXNamespacePrefixes **prefixes); + + HRESULT (STDMETHODCALLTYPE *getURI)( + IVBMXNamespaceManager *This, + BSTR prefix, + VARIANT *uri); + + HRESULT (STDMETHODCALLTYPE *getURIFromNode)( + IVBMXNamespaceManager *This, + BSTR strPrefix, + IXMLDOMNode *contextNode, + VARIANT *uri); + + END_INTERFACE +} IVBMXNamespaceManagerVtbl; + +interface IVBMXNamespaceManager { + CONST_VTBL IVBMXNamespaceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVBMXNamespaceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVBMXNamespaceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVBMXNamespaceManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IVBMXNamespaceManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IVBMXNamespaceManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IVBMXNamespaceManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IVBMXNamespaceManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IVBMXNamespaceManager methods ***/ +#define IVBMXNamespaceManager_put_allowOverride(This,fOverride) (This)->lpVtbl->put_allowOverride(This,fOverride) +#define IVBMXNamespaceManager_get_allowOverride(This,fOverride) (This)->lpVtbl->get_allowOverride(This,fOverride) +#define IVBMXNamespaceManager_reset(This) (This)->lpVtbl->reset(This) +#define IVBMXNamespaceManager_pushContext(This) (This)->lpVtbl->pushContext(This) +#define IVBMXNamespaceManager_pushNodeContext(This,contextNode,fDeep) (This)->lpVtbl->pushNodeContext(This,contextNode,fDeep) +#define IVBMXNamespaceManager_popContext(This) (This)->lpVtbl->popContext(This) +#define IVBMXNamespaceManager_declarePrefix(This,prefix,namespaceURI) (This)->lpVtbl->declarePrefix(This,prefix,namespaceURI) +#define IVBMXNamespaceManager_getDeclaredPrefixes(This,prefixes) (This)->lpVtbl->getDeclaredPrefixes(This,prefixes) +#define IVBMXNamespaceManager_getPrefixes(This,namespaceURI,prefixes) (This)->lpVtbl->getPrefixes(This,namespaceURI,prefixes) +#define IVBMXNamespaceManager_getURI(This,prefix,uri) (This)->lpVtbl->getURI(This,prefix,uri) +#define IVBMXNamespaceManager_getURIFromNode(This,strPrefix,contextNode,uri) (This)->lpVtbl->getURIFromNode(This,strPrefix,contextNode,uri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVBMXNamespaceManager_QueryInterface(IVBMXNamespaceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVBMXNamespaceManager_AddRef(IVBMXNamespaceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVBMXNamespaceManager_Release(IVBMXNamespaceManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IVBMXNamespaceManager_GetTypeInfoCount(IVBMXNamespaceManager* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_GetTypeInfo(IVBMXNamespaceManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_GetIDsOfNames(IVBMXNamespaceManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_Invoke(IVBMXNamespaceManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IVBMXNamespaceManager methods ***/ +static FORCEINLINE HRESULT IVBMXNamespaceManager_put_allowOverride(IVBMXNamespaceManager* This,VARIANT_BOOL fOverride) { + return This->lpVtbl->put_allowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_get_allowOverride(IVBMXNamespaceManager* This,VARIANT_BOOL *fOverride) { + return This->lpVtbl->get_allowOverride(This,fOverride); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_reset(IVBMXNamespaceManager* This) { + return This->lpVtbl->reset(This); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_pushContext(IVBMXNamespaceManager* This) { + return This->lpVtbl->pushContext(This); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_pushNodeContext(IVBMXNamespaceManager* This,IXMLDOMNode *contextNode,VARIANT_BOOL fDeep) { + return This->lpVtbl->pushNodeContext(This,contextNode,fDeep); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_popContext(IVBMXNamespaceManager* This) { + return This->lpVtbl->popContext(This); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_declarePrefix(IVBMXNamespaceManager* This,BSTR prefix,BSTR namespaceURI) { + return This->lpVtbl->declarePrefix(This,prefix,namespaceURI); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getDeclaredPrefixes(IVBMXNamespaceManager* This,IMXNamespacePrefixes **prefixes) { + return This->lpVtbl->getDeclaredPrefixes(This,prefixes); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getPrefixes(IVBMXNamespaceManager* This,BSTR namespaceURI,IMXNamespacePrefixes **prefixes) { + return This->lpVtbl->getPrefixes(This,namespaceURI,prefixes); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getURI(IVBMXNamespaceManager* This,BSTR prefix,VARIANT *uri) { + return This->lpVtbl->getURI(This,prefix,uri); +} +static FORCEINLINE HRESULT IVBMXNamespaceManager_getURIFromNode(IVBMXNamespaceManager* This,BSTR strPrefix,IXMLDOMNode *contextNode,VARIANT *uri) { + return This->lpVtbl->getURIFromNode(This,strPrefix,contextNode,uri); +} +#endif +#endif + +#endif + + +#endif /* __IVBMXNamespaceManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMXXMLFilter interface + */ +#ifndef __IMXXMLFilter_INTERFACE_DEFINED__ +#define __IMXXMLFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMXXMLFilter, 0xc90352f7, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c90352f7-643c-4fbc-bb23-e996eb2d51fd") +IMXXMLFilter : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE getFeature( + BSTR strName, + VARIANT_BOOL *fValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putFeature( + BSTR strName, + VARIANT_BOOL fValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProperty( + BSTR strName, + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE putProperty( + BSTR strName, + VARIANT varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_entityResolver( + IUnknown **oResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_entityResolver( + IUnknown *oResolver) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentHandler( + IUnknown **oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_contentHandler( + IUnknown *oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_dtdHandler( + IUnknown **oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_dtdHandler( + IUnknown *oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorHandler( + IUnknown **oHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE putref_errorHandler( + IUnknown *oHandler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMXXMLFilter, 0xc90352f7, 0x643c, 0x4fbc, 0xbb,0x23, 0xe9,0x96,0xeb,0x2d,0x51,0xfd) +#endif +#else +typedef struct IMXXMLFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMXXMLFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMXXMLFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMXXMLFilter *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IMXXMLFilter *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IMXXMLFilter *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IMXXMLFilter *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IMXXMLFilter *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IMXXMLFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *getFeature)( + IMXXMLFilter *This, + BSTR strName, + VARIANT_BOOL *fValue); + + HRESULT (STDMETHODCALLTYPE *putFeature)( + IMXXMLFilter *This, + BSTR strName, + VARIANT_BOOL fValue); + + HRESULT (STDMETHODCALLTYPE *getProperty)( + IMXXMLFilter *This, + BSTR strName, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *putProperty)( + IMXXMLFilter *This, + BSTR strName, + VARIANT varValue); + + HRESULT (STDMETHODCALLTYPE *get_entityResolver)( + IMXXMLFilter *This, + IUnknown **oResolver); + + HRESULT (STDMETHODCALLTYPE *putref_entityResolver)( + IMXXMLFilter *This, + IUnknown *oResolver); + + HRESULT (STDMETHODCALLTYPE *get_contentHandler)( + IMXXMLFilter *This, + IUnknown **oHandler); + + HRESULT (STDMETHODCALLTYPE *putref_contentHandler)( + IMXXMLFilter *This, + IUnknown *oHandler); + + HRESULT (STDMETHODCALLTYPE *get_dtdHandler)( + IMXXMLFilter *This, + IUnknown **oHandler); + + HRESULT (STDMETHODCALLTYPE *putref_dtdHandler)( + IMXXMLFilter *This, + IUnknown *oHandler); + + HRESULT (STDMETHODCALLTYPE *get_errorHandler)( + IMXXMLFilter *This, + IUnknown **oHandler); + + HRESULT (STDMETHODCALLTYPE *putref_errorHandler)( + IMXXMLFilter *This, + IUnknown *oHandler); + + END_INTERFACE +} IMXXMLFilterVtbl; + +interface IMXXMLFilter { + CONST_VTBL IMXXMLFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMXXMLFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMXXMLFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMXXMLFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IMXXMLFilter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IMXXMLFilter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IMXXMLFilter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IMXXMLFilter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IMXXMLFilter methods ***/ +#define IMXXMLFilter_getFeature(This,strName,fValue) (This)->lpVtbl->getFeature(This,strName,fValue) +#define IMXXMLFilter_putFeature(This,strName,fValue) (This)->lpVtbl->putFeature(This,strName,fValue) +#define IMXXMLFilter_getProperty(This,strName,varValue) (This)->lpVtbl->getProperty(This,strName,varValue) +#define IMXXMLFilter_putProperty(This,strName,varValue) (This)->lpVtbl->putProperty(This,strName,varValue) +#define IMXXMLFilter_get_entityResolver(This,oResolver) (This)->lpVtbl->get_entityResolver(This,oResolver) +#define IMXXMLFilter_putref_entityResolver(This,oResolver) (This)->lpVtbl->putref_entityResolver(This,oResolver) +#define IMXXMLFilter_get_contentHandler(This,oHandler) (This)->lpVtbl->get_contentHandler(This,oHandler) +#define IMXXMLFilter_putref_contentHandler(This,oHandler) (This)->lpVtbl->putref_contentHandler(This,oHandler) +#define IMXXMLFilter_get_dtdHandler(This,oHandler) (This)->lpVtbl->get_dtdHandler(This,oHandler) +#define IMXXMLFilter_putref_dtdHandler(This,oHandler) (This)->lpVtbl->putref_dtdHandler(This,oHandler) +#define IMXXMLFilter_get_errorHandler(This,oHandler) (This)->lpVtbl->get_errorHandler(This,oHandler) +#define IMXXMLFilter_putref_errorHandler(This,oHandler) (This)->lpVtbl->putref_errorHandler(This,oHandler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMXXMLFilter_QueryInterface(IMXXMLFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMXXMLFilter_AddRef(IMXXMLFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMXXMLFilter_Release(IMXXMLFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IMXXMLFilter_GetTypeInfoCount(IMXXMLFilter* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IMXXMLFilter_GetTypeInfo(IMXXMLFilter* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IMXXMLFilter_GetIDsOfNames(IMXXMLFilter* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IMXXMLFilter_Invoke(IMXXMLFilter* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IMXXMLFilter methods ***/ +static FORCEINLINE HRESULT IMXXMLFilter_getFeature(IMXXMLFilter* This,BSTR strName,VARIANT_BOOL *fValue) { + return This->lpVtbl->getFeature(This,strName,fValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_putFeature(IMXXMLFilter* This,BSTR strName,VARIANT_BOOL fValue) { + return This->lpVtbl->putFeature(This,strName,fValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_getProperty(IMXXMLFilter* This,BSTR strName,VARIANT *varValue) { + return This->lpVtbl->getProperty(This,strName,varValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_putProperty(IMXXMLFilter* This,BSTR strName,VARIANT varValue) { + return This->lpVtbl->putProperty(This,strName,varValue); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_entityResolver(IMXXMLFilter* This,IUnknown **oResolver) { + return This->lpVtbl->get_entityResolver(This,oResolver); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_entityResolver(IMXXMLFilter* This,IUnknown *oResolver) { + return This->lpVtbl->putref_entityResolver(This,oResolver); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_contentHandler(IMXXMLFilter* This,IUnknown **oHandler) { + return This->lpVtbl->get_contentHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_contentHandler(IMXXMLFilter* This,IUnknown *oHandler) { + return This->lpVtbl->putref_contentHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_dtdHandler(IMXXMLFilter* This,IUnknown **oHandler) { + return This->lpVtbl->get_dtdHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_dtdHandler(IMXXMLFilter* This,IUnknown *oHandler) { + return This->lpVtbl->putref_dtdHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_get_errorHandler(IMXXMLFilter* This,IUnknown **oHandler) { + return This->lpVtbl->get_errorHandler(This,oHandler); +} +static FORCEINLINE HRESULT IMXXMLFilter_putref_errorHandler(IMXXMLFilter* This,IUnknown *oHandler) { + return This->lpVtbl->putref_errorHandler(This,oHandler); +} +#endif +#endif + +#endif + + +#endif /* __IMXXMLFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaStringCollection interface + */ +#ifndef __ISchemaStringCollection_INTERFACE_DEFINED__ +#define __ISchemaStringCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaStringCollection, 0x50ea08b1, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b1-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaStringCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + BSTR *bstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaStringCollection, 0x50ea08b1, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaStringCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaStringCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaStringCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaStringCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaStringCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaStringCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaStringCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaStringCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaStringCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + ISchemaStringCollection *This, + LONG index, + BSTR *bstr); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaStringCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + ISchemaStringCollection *This, + IUnknown **ppunk); + + END_INTERFACE +} ISchemaStringCollectionVtbl; + +interface ISchemaStringCollection { + CONST_VTBL ISchemaStringCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaStringCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaStringCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaStringCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaStringCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaStringCollection methods ***/ +#define ISchemaStringCollection_get_item(This,index,bstr) (This)->lpVtbl->get_item(This,index,bstr) +#define ISchemaStringCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaStringCollection_get__newEnum(This,ppunk) (This)->lpVtbl->get__newEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaStringCollection_QueryInterface(ISchemaStringCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaStringCollection_AddRef(ISchemaStringCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaStringCollection_Release(ISchemaStringCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaStringCollection_GetTypeInfoCount(ISchemaStringCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaStringCollection_GetTypeInfo(ISchemaStringCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaStringCollection_GetIDsOfNames(ISchemaStringCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaStringCollection_Invoke(ISchemaStringCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaStringCollection methods ***/ +static FORCEINLINE HRESULT ISchemaStringCollection_get_item(ISchemaStringCollection* This,LONG index,BSTR *bstr) { + return This->lpVtbl->get_item(This,index,bstr); +} +static FORCEINLINE HRESULT ISchemaStringCollection_get_length(ISchemaStringCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaStringCollection_get__newEnum(ISchemaStringCollection* This,IUnknown **ppunk) { + return This->lpVtbl->get__newEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaStringCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaItemCollection interface + */ +#ifndef __ISchemaItemCollection_INTERFACE_DEFINED__ +#define __ISchemaItemCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaItemCollection, 0x50ea08b2, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b2-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaItemCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_item( + LONG index, + ISchemaItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE itemByName( + BSTR name, + ISchemaItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE itemByQName( + BSTR name, + BSTR namespaceURI, + ISchemaItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + LONG *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__newEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaItemCollection, 0x50ea08b2, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaItemCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaItemCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaItemCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaItemCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaItemCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaItemCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaItemCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaItemCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItemCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_item)( + ISchemaItemCollection *This, + LONG index, + ISchemaItem **item); + + HRESULT (STDMETHODCALLTYPE *itemByName)( + ISchemaItemCollection *This, + BSTR name, + ISchemaItem **item); + + HRESULT (STDMETHODCALLTYPE *itemByQName)( + ISchemaItemCollection *This, + BSTR name, + BSTR namespaceURI, + ISchemaItem **item); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaItemCollection *This, + LONG *length); + + HRESULT (STDMETHODCALLTYPE *get__newEnum)( + ISchemaItemCollection *This, + IUnknown **ppunk); + + END_INTERFACE +} ISchemaItemCollectionVtbl; + +interface ISchemaItemCollection { + CONST_VTBL ISchemaItemCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaItemCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaItemCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaItemCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaItemCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaItemCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaItemCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaItemCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItemCollection methods ***/ +#define ISchemaItemCollection_get_item(This,index,item) (This)->lpVtbl->get_item(This,index,item) +#define ISchemaItemCollection_itemByName(This,name,item) (This)->lpVtbl->itemByName(This,name,item) +#define ISchemaItemCollection_itemByQName(This,name,namespaceURI,item) (This)->lpVtbl->itemByQName(This,name,namespaceURI,item) +#define ISchemaItemCollection_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaItemCollection_get__newEnum(This,ppunk) (This)->lpVtbl->get__newEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaItemCollection_QueryInterface(ISchemaItemCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaItemCollection_AddRef(ISchemaItemCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaItemCollection_Release(ISchemaItemCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaItemCollection_GetTypeInfoCount(ISchemaItemCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaItemCollection_GetTypeInfo(ISchemaItemCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaItemCollection_GetIDsOfNames(ISchemaItemCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaItemCollection_Invoke(ISchemaItemCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItemCollection methods ***/ +static FORCEINLINE HRESULT ISchemaItemCollection_get_item(ISchemaItemCollection* This,LONG index,ISchemaItem **item) { + return This->lpVtbl->get_item(This,index,item); +} +static FORCEINLINE HRESULT ISchemaItemCollection_itemByName(ISchemaItemCollection* This,BSTR name,ISchemaItem **item) { + return This->lpVtbl->itemByName(This,name,item); +} +static FORCEINLINE HRESULT ISchemaItemCollection_itemByQName(ISchemaItemCollection* This,BSTR name,BSTR namespaceURI,ISchemaItem **item) { + return This->lpVtbl->itemByQName(This,name,namespaceURI,item); +} +static FORCEINLINE HRESULT ISchemaItemCollection_get_length(ISchemaItemCollection* This,LONG *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaItemCollection_get__newEnum(ISchemaItemCollection* This,IUnknown **ppunk) { + return This->lpVtbl->get__newEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaItemCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaItem interface + */ +#ifndef __ISchemaItem_INTERFACE_DEFINED__ +#define __ISchemaItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaItem, 0x50ea08b3, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b3-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaItem : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_namespaceURI( + BSTR *namespaceURI) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_schema( + ISchema **schema) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_id( + BSTR *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_itemType( + SOMITEMTYPE *itemType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_unhandledAttributes( + IVBSAXAttributes **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE writeAnnotation( + IUnknown *annotationSink, + VARIANT_BOOL *isWritten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaItem, 0x50ea08b3, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaItem *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaItem *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaItem *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaItem *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaItem *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaItem *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaItem *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaItem *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaItem *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaItem *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaItem *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaItem *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + END_INTERFACE +} ISchemaItemVtbl; + +interface ISchemaItem { + CONST_VTBL ISchemaItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaItem_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaItem_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaItem_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaItem_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaItem_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaItem_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaItem_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaItem_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaItem_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaItem_QueryInterface(ISchemaItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaItem_AddRef(ISchemaItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaItem_Release(ISchemaItem* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaItem_GetTypeInfoCount(ISchemaItem* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaItem_GetTypeInfo(ISchemaItem* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaItem_GetIDsOfNames(ISchemaItem* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaItem_Invoke(ISchemaItem* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaItem_get_name(ISchemaItem* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaItem_get_namespaceURI(ISchemaItem* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaItem_get_schema(ISchemaItem* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaItem_get_id(ISchemaItem* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaItem_get_itemType(ISchemaItem* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaItem_get_unhandledAttributes(ISchemaItem* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaItem_writeAnnotation(ISchemaItem* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchema interface + */ +#ifndef __ISchema_INTERFACE_DEFINED__ +#define __ISchema_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchema, 0x50ea08b4, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b4-dd1b-4664-9a50-c2f40f4bd79a") +ISchema : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_targetNamespace( + BSTR *targetNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_version( + BSTR *version) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_types( + ISchemaItemCollection **types) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_elements( + ISchemaItemCollection **elements) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + ISchemaItemCollection **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributeGroups( + ISchemaItemCollection **attributeGroups) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_modelGroups( + ISchemaItemCollection **modelGroups) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_notations( + ISchemaItemCollection **notations) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_schemaLocations( + ISchemaStringCollection **schemaLocations) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchema, 0x50ea08b4, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchema *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchema *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchema *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchema *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchema *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchema *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchema *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchema *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchema *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchema *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchema *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchema *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchema *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchema *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchema methods ***/ + HRESULT (STDMETHODCALLTYPE *get_targetNamespace)( + ISchema *This, + BSTR *targetNamespace); + + HRESULT (STDMETHODCALLTYPE *get_version)( + ISchema *This, + BSTR *version); + + HRESULT (STDMETHODCALLTYPE *get_types)( + ISchema *This, + ISchemaItemCollection **types); + + HRESULT (STDMETHODCALLTYPE *get_elements)( + ISchema *This, + ISchemaItemCollection **elements); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + ISchema *This, + ISchemaItemCollection **attributes); + + HRESULT (STDMETHODCALLTYPE *get_attributeGroups)( + ISchema *This, + ISchemaItemCollection **attributeGroups); + + HRESULT (STDMETHODCALLTYPE *get_modelGroups)( + ISchema *This, + ISchemaItemCollection **modelGroups); + + HRESULT (STDMETHODCALLTYPE *get_notations)( + ISchema *This, + ISchemaItemCollection **notations); + + HRESULT (STDMETHODCALLTYPE *get_schemaLocations)( + ISchema *This, + ISchemaStringCollection **schemaLocations); + + END_INTERFACE +} ISchemaVtbl; + +interface ISchema { + CONST_VTBL ISchemaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchema_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchema_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchema_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchema_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchema_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchema_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchema_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchema_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchema_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchema_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchema_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchema_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchema_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchema_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchema methods ***/ +#define ISchema_get_targetNamespace(This,targetNamespace) (This)->lpVtbl->get_targetNamespace(This,targetNamespace) +#define ISchema_get_version(This,version) (This)->lpVtbl->get_version(This,version) +#define ISchema_get_types(This,types) (This)->lpVtbl->get_types(This,types) +#define ISchema_get_elements(This,elements) (This)->lpVtbl->get_elements(This,elements) +#define ISchema_get_attributes(This,attributes) (This)->lpVtbl->get_attributes(This,attributes) +#define ISchema_get_attributeGroups(This,attributeGroups) (This)->lpVtbl->get_attributeGroups(This,attributeGroups) +#define ISchema_get_modelGroups(This,modelGroups) (This)->lpVtbl->get_modelGroups(This,modelGroups) +#define ISchema_get_notations(This,notations) (This)->lpVtbl->get_notations(This,notations) +#define ISchema_get_schemaLocations(This,schemaLocations) (This)->lpVtbl->get_schemaLocations(This,schemaLocations) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchema_QueryInterface(ISchema* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchema_AddRef(ISchema* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchema_Release(ISchema* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchema_GetTypeInfoCount(ISchema* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchema_GetTypeInfo(ISchema* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchema_GetIDsOfNames(ISchema* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchema_Invoke(ISchema* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchema_get_name(ISchema* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchema_get_namespaceURI(ISchema* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchema_get_schema(ISchema* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchema_get_id(ISchema* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchema_get_itemType(ISchema* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchema_get_unhandledAttributes(ISchema* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchema_writeAnnotation(ISchema* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchema methods ***/ +static FORCEINLINE HRESULT ISchema_get_targetNamespace(ISchema* This,BSTR *targetNamespace) { + return This->lpVtbl->get_targetNamespace(This,targetNamespace); +} +static FORCEINLINE HRESULT ISchema_get_version(ISchema* This,BSTR *version) { + return This->lpVtbl->get_version(This,version); +} +static FORCEINLINE HRESULT ISchema_get_types(ISchema* This,ISchemaItemCollection **types) { + return This->lpVtbl->get_types(This,types); +} +static FORCEINLINE HRESULT ISchema_get_elements(ISchema* This,ISchemaItemCollection **elements) { + return This->lpVtbl->get_elements(This,elements); +} +static FORCEINLINE HRESULT ISchema_get_attributes(ISchema* This,ISchemaItemCollection **attributes) { + return This->lpVtbl->get_attributes(This,attributes); +} +static FORCEINLINE HRESULT ISchema_get_attributeGroups(ISchema* This,ISchemaItemCollection **attributeGroups) { + return This->lpVtbl->get_attributeGroups(This,attributeGroups); +} +static FORCEINLINE HRESULT ISchema_get_modelGroups(ISchema* This,ISchemaItemCollection **modelGroups) { + return This->lpVtbl->get_modelGroups(This,modelGroups); +} +static FORCEINLINE HRESULT ISchema_get_notations(ISchema* This,ISchemaItemCollection **notations) { + return This->lpVtbl->get_notations(This,notations); +} +static FORCEINLINE HRESULT ISchema_get_schemaLocations(ISchema* This,ISchemaStringCollection **schemaLocations) { + return This->lpVtbl->get_schemaLocations(This,schemaLocations); +} +#endif +#endif + +#endif + + +#endif /* __ISchema_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaParticle interface + */ +#ifndef __ISchemaParticle_INTERFACE_DEFINED__ +#define __ISchemaParticle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaParticle, 0x50ea08b5, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b5-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaParticle : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_minOccurs( + VARIANT *minOccurs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxOccurs( + VARIANT *maxOccurs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaParticle, 0x50ea08b5, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaParticleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaParticle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaParticle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaParticle *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaParticle *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaParticle *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaParticle *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaParticle *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaParticle *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaParticle *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaParticle *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaParticle *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaParticle *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaParticle *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaParticle *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaParticle *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaParticle *This, + VARIANT *maxOccurs); + + END_INTERFACE +} ISchemaParticleVtbl; + +interface ISchemaParticle { + CONST_VTBL ISchemaParticleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaParticle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaParticle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaParticle_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaParticle_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaParticle_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaParticle_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaParticle_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaParticle_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaParticle_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaParticle_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaParticle_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaParticle_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaParticle_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaParticle_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaParticle_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaParticle_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_QueryInterface(ISchemaParticle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaParticle_AddRef(ISchemaParticle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaParticle_Release(ISchemaParticle* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_GetTypeInfoCount(ISchemaParticle* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaParticle_GetTypeInfo(ISchemaParticle* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaParticle_GetIDsOfNames(ISchemaParticle* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaParticle_Invoke(ISchemaParticle* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_get_name(ISchemaParticle* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaParticle_get_namespaceURI(ISchemaParticle* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaParticle_get_schema(ISchemaParticle* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaParticle_get_id(ISchemaParticle* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaParticle_get_itemType(ISchemaParticle* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaParticle_get_unhandledAttributes(ISchemaParticle* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaParticle_writeAnnotation(ISchemaParticle* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaParticle_get_minOccurs(ISchemaParticle* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaParticle_get_maxOccurs(ISchemaParticle* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaParticle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaAttribute interface + */ +#ifndef __ISchemaAttribute_INTERFACE_DEFINED__ +#define __ISchemaAttribute_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaAttribute, 0x50ea08b6, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b6-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaAttribute : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + ISchemaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scope( + ISchemaComplexType **scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *defaultValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fixedValue( + BSTR *fixedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_use( + SCHEMAUSE *use) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isReference( + VARIANT_BOOL *reference) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaAttribute, 0x50ea08b6, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaAttributeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaAttribute *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaAttribute *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaAttribute *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaAttribute *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaAttribute *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaAttribute *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaAttribute *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaAttribute *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaAttribute *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaAttribute *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaAttribute *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaAttribute *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaAttribute *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaAttribute *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaAttribute methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + ISchemaAttribute *This, + ISchemaType **type); + + HRESULT (STDMETHODCALLTYPE *get_scope)( + ISchemaAttribute *This, + ISchemaComplexType **scope); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + ISchemaAttribute *This, + BSTR *defaultValue); + + HRESULT (STDMETHODCALLTYPE *get_fixedValue)( + ISchemaAttribute *This, + BSTR *fixedValue); + + HRESULT (STDMETHODCALLTYPE *get_use)( + ISchemaAttribute *This, + SCHEMAUSE *use); + + HRESULT (STDMETHODCALLTYPE *get_isReference)( + ISchemaAttribute *This, + VARIANT_BOOL *reference); + + END_INTERFACE +} ISchemaAttributeVtbl; + +interface ISchemaAttribute { + CONST_VTBL ISchemaAttributeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaAttribute_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaAttribute_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaAttribute_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaAttribute_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaAttribute_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaAttribute_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaAttribute_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaAttribute_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaAttribute_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaAttribute_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaAttribute_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaAttribute methods ***/ +#define ISchemaAttribute_get_type(This,type) (This)->lpVtbl->get_type(This,type) +#define ISchemaAttribute_get_scope(This,scope) (This)->lpVtbl->get_scope(This,scope) +#define ISchemaAttribute_get_defaultValue(This,defaultValue) (This)->lpVtbl->get_defaultValue(This,defaultValue) +#define ISchemaAttribute_get_fixedValue(This,fixedValue) (This)->lpVtbl->get_fixedValue(This,fixedValue) +#define ISchemaAttribute_get_use(This,use) (This)->lpVtbl->get_use(This,use) +#define ISchemaAttribute_get_isReference(This,reference) (This)->lpVtbl->get_isReference(This,reference) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_QueryInterface(ISchemaAttribute* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaAttribute_AddRef(ISchemaAttribute* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaAttribute_Release(ISchemaAttribute* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_GetTypeInfoCount(ISchemaAttribute* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaAttribute_GetTypeInfo(ISchemaAttribute* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaAttribute_GetIDsOfNames(ISchemaAttribute* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaAttribute_Invoke(ISchemaAttribute* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_get_name(ISchemaAttribute* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_namespaceURI(ISchemaAttribute* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_schema(ISchemaAttribute* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_id(ISchemaAttribute* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_itemType(ISchemaAttribute* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_unhandledAttributes(ISchemaAttribute* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaAttribute_writeAnnotation(ISchemaAttribute* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaAttribute methods ***/ +static FORCEINLINE HRESULT ISchemaAttribute_get_type(ISchemaAttribute* This,ISchemaType **type) { + return This->lpVtbl->get_type(This,type); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_scope(ISchemaAttribute* This,ISchemaComplexType **scope) { + return This->lpVtbl->get_scope(This,scope); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_defaultValue(ISchemaAttribute* This,BSTR *defaultValue) { + return This->lpVtbl->get_defaultValue(This,defaultValue); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_fixedValue(ISchemaAttribute* This,BSTR *fixedValue) { + return This->lpVtbl->get_fixedValue(This,fixedValue); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_use(ISchemaAttribute* This,SCHEMAUSE *use) { + return This->lpVtbl->get_use(This,use); +} +static FORCEINLINE HRESULT ISchemaAttribute_get_isReference(ISchemaAttribute* This,VARIANT_BOOL *reference) { + return This->lpVtbl->get_isReference(This,reference); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaAttribute_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaElement interface + */ +#ifndef __ISchemaElement_INTERFACE_DEFINED__ +#define __ISchemaElement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaElement, 0x50ea08b7, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b7-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaElement : public ISchemaParticle +{ + virtual HRESULT STDMETHODCALLTYPE get_type( + ISchemaType **type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_scope( + ISchemaComplexType **scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultValue( + BSTR *defaultValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fixedValue( + BSTR *fixedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isNillable( + VARIANT_BOOL *nillable) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_identityConstraints( + ISchemaItemCollection **constraints) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_substitutionGroup( + ISchemaElement **element) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_substitutionGroupExclusions( + SCHEMADERIVATIONMETHOD *exclusions) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_disallowedSubstitutions( + SCHEMADERIVATIONMETHOD *disallowed) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isAbstract( + VARIANT_BOOL *abstract) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isReference( + VARIANT_BOOL *reference) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaElement, 0x50ea08b7, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaElementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaElement *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaElement *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaElement *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaElement *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaElement *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaElement *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaElement *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaElement *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaElement *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaElement *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaElement *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaElement *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaElement *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaElement *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaElement *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaElement *This, + VARIANT *maxOccurs); + + /*** ISchemaElement methods ***/ + HRESULT (STDMETHODCALLTYPE *get_type)( + ISchemaElement *This, + ISchemaType **type); + + HRESULT (STDMETHODCALLTYPE *get_scope)( + ISchemaElement *This, + ISchemaComplexType **scope); + + HRESULT (STDMETHODCALLTYPE *get_defaultValue)( + ISchemaElement *This, + BSTR *defaultValue); + + HRESULT (STDMETHODCALLTYPE *get_fixedValue)( + ISchemaElement *This, + BSTR *fixedValue); + + HRESULT (STDMETHODCALLTYPE *get_isNillable)( + ISchemaElement *This, + VARIANT_BOOL *nillable); + + HRESULT (STDMETHODCALLTYPE *get_identityConstraints)( + ISchemaElement *This, + ISchemaItemCollection **constraints); + + HRESULT (STDMETHODCALLTYPE *get_substitutionGroup)( + ISchemaElement *This, + ISchemaElement **element); + + HRESULT (STDMETHODCALLTYPE *get_substitutionGroupExclusions)( + ISchemaElement *This, + SCHEMADERIVATIONMETHOD *exclusions); + + HRESULT (STDMETHODCALLTYPE *get_disallowedSubstitutions)( + ISchemaElement *This, + SCHEMADERIVATIONMETHOD *disallowed); + + HRESULT (STDMETHODCALLTYPE *get_isAbstract)( + ISchemaElement *This, + VARIANT_BOOL *abstract); + + HRESULT (STDMETHODCALLTYPE *get_isReference)( + ISchemaElement *This, + VARIANT_BOOL *reference); + + END_INTERFACE +} ISchemaElementVtbl; + +interface ISchemaElement { + CONST_VTBL ISchemaElementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaElement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaElement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaElement_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaElement_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaElement_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaElement_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaElement_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaElement_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaElement_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaElement_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaElement_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaElement_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaElement_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +/*** ISchemaElement methods ***/ +#define ISchemaElement_get_type(This,type) (This)->lpVtbl->get_type(This,type) +#define ISchemaElement_get_scope(This,scope) (This)->lpVtbl->get_scope(This,scope) +#define ISchemaElement_get_defaultValue(This,defaultValue) (This)->lpVtbl->get_defaultValue(This,defaultValue) +#define ISchemaElement_get_fixedValue(This,fixedValue) (This)->lpVtbl->get_fixedValue(This,fixedValue) +#define ISchemaElement_get_isNillable(This,nillable) (This)->lpVtbl->get_isNillable(This,nillable) +#define ISchemaElement_get_identityConstraints(This,constraints) (This)->lpVtbl->get_identityConstraints(This,constraints) +#define ISchemaElement_get_substitutionGroup(This,element) (This)->lpVtbl->get_substitutionGroup(This,element) +#define ISchemaElement_get_substitutionGroupExclusions(This,exclusions) (This)->lpVtbl->get_substitutionGroupExclusions(This,exclusions) +#define ISchemaElement_get_disallowedSubstitutions(This,disallowed) (This)->lpVtbl->get_disallowedSubstitutions(This,disallowed) +#define ISchemaElement_get_isAbstract(This,abstract) (This)->lpVtbl->get_isAbstract(This,abstract) +#define ISchemaElement_get_isReference(This,reference) (This)->lpVtbl->get_isReference(This,reference) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaElement_QueryInterface(ISchemaElement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaElement_AddRef(ISchemaElement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaElement_Release(ISchemaElement* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaElement_GetTypeInfoCount(ISchemaElement* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaElement_GetTypeInfo(ISchemaElement* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaElement_GetIDsOfNames(ISchemaElement* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaElement_Invoke(ISchemaElement* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaElement_get_name(ISchemaElement* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaElement_get_namespaceURI(ISchemaElement* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaElement_get_schema(ISchemaElement* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaElement_get_id(ISchemaElement* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaElement_get_itemType(ISchemaElement* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaElement_get_unhandledAttributes(ISchemaElement* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaElement_writeAnnotation(ISchemaElement* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaElement_get_minOccurs(ISchemaElement* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaElement_get_maxOccurs(ISchemaElement* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +/*** ISchemaElement methods ***/ +static FORCEINLINE HRESULT ISchemaElement_get_type(ISchemaElement* This,ISchemaType **type) { + return This->lpVtbl->get_type(This,type); +} +static FORCEINLINE HRESULT ISchemaElement_get_scope(ISchemaElement* This,ISchemaComplexType **scope) { + return This->lpVtbl->get_scope(This,scope); +} +static FORCEINLINE HRESULT ISchemaElement_get_defaultValue(ISchemaElement* This,BSTR *defaultValue) { + return This->lpVtbl->get_defaultValue(This,defaultValue); +} +static FORCEINLINE HRESULT ISchemaElement_get_fixedValue(ISchemaElement* This,BSTR *fixedValue) { + return This->lpVtbl->get_fixedValue(This,fixedValue); +} +static FORCEINLINE HRESULT ISchemaElement_get_isNillable(ISchemaElement* This,VARIANT_BOOL *nillable) { + return This->lpVtbl->get_isNillable(This,nillable); +} +static FORCEINLINE HRESULT ISchemaElement_get_identityConstraints(ISchemaElement* This,ISchemaItemCollection **constraints) { + return This->lpVtbl->get_identityConstraints(This,constraints); +} +static FORCEINLINE HRESULT ISchemaElement_get_substitutionGroup(ISchemaElement* This,ISchemaElement **element) { + return This->lpVtbl->get_substitutionGroup(This,element); +} +static FORCEINLINE HRESULT ISchemaElement_get_substitutionGroupExclusions(ISchemaElement* This,SCHEMADERIVATIONMETHOD *exclusions) { + return This->lpVtbl->get_substitutionGroupExclusions(This,exclusions); +} +static FORCEINLINE HRESULT ISchemaElement_get_disallowedSubstitutions(ISchemaElement* This,SCHEMADERIVATIONMETHOD *disallowed) { + return This->lpVtbl->get_disallowedSubstitutions(This,disallowed); +} +static FORCEINLINE HRESULT ISchemaElement_get_isAbstract(ISchemaElement* This,VARIANT_BOOL *abstract) { + return This->lpVtbl->get_isAbstract(This,abstract); +} +static FORCEINLINE HRESULT ISchemaElement_get_isReference(ISchemaElement* This,VARIANT_BOOL *reference) { + return This->lpVtbl->get_isReference(This,reference); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaElement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaType interface + */ +#ifndef __ISchemaType_INTERFACE_DEFINED__ +#define __ISchemaType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaType, 0x50ea08b8, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b8-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaType : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_baseTypes( + ISchemaItemCollection **baseTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_final( + SCHEMADERIVATIONMETHOD *final) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_variety( + SCHEMATYPEVARIETY *variety) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_derivedBy( + SCHEMADERIVATIONMETHOD *derivedBy) = 0; + + virtual HRESULT STDMETHODCALLTYPE isValid( + BSTR data, + VARIANT_BOOL *valid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minExclusive( + BSTR *minExclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minInclusive( + BSTR *minInclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxExclusive( + BSTR *maxExclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxInclusive( + BSTR *maxInclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_totalDigits( + VARIANT *totalDigits) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fractionDigits( + VARIANT *fractionDigits) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_length( + VARIANT *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_minLength( + VARIANT *minLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxLength( + VARIANT *maxLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_enumeration( + ISchemaStringCollection **enumeration) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_whitespace( + SCHEMAWHITESPACE *whitespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_patterns( + ISchemaStringCollection **patterns) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaType, 0x50ea08b8, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaType *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaType *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaType *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaType *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaType *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaType *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaType *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_baseTypes)( + ISchemaType *This, + ISchemaItemCollection **baseTypes); + + HRESULT (STDMETHODCALLTYPE *get_final)( + ISchemaType *This, + SCHEMADERIVATIONMETHOD *final); + + HRESULT (STDMETHODCALLTYPE *get_variety)( + ISchemaType *This, + SCHEMATYPEVARIETY *variety); + + HRESULT (STDMETHODCALLTYPE *get_derivedBy)( + ISchemaType *This, + SCHEMADERIVATIONMETHOD *derivedBy); + + HRESULT (STDMETHODCALLTYPE *isValid)( + ISchemaType *This, + BSTR data, + VARIANT_BOOL *valid); + + HRESULT (STDMETHODCALLTYPE *get_minExclusive)( + ISchemaType *This, + BSTR *minExclusive); + + HRESULT (STDMETHODCALLTYPE *get_minInclusive)( + ISchemaType *This, + BSTR *minInclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxExclusive)( + ISchemaType *This, + BSTR *maxExclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxInclusive)( + ISchemaType *This, + BSTR *maxInclusive); + + HRESULT (STDMETHODCALLTYPE *get_totalDigits)( + ISchemaType *This, + VARIANT *totalDigits); + + HRESULT (STDMETHODCALLTYPE *get_fractionDigits)( + ISchemaType *This, + VARIANT *fractionDigits); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaType *This, + VARIANT *length); + + HRESULT (STDMETHODCALLTYPE *get_minLength)( + ISchemaType *This, + VARIANT *minLength); + + HRESULT (STDMETHODCALLTYPE *get_maxLength)( + ISchemaType *This, + VARIANT *maxLength); + + HRESULT (STDMETHODCALLTYPE *get_enumeration)( + ISchemaType *This, + ISchemaStringCollection **enumeration); + + HRESULT (STDMETHODCALLTYPE *get_whitespace)( + ISchemaType *This, + SCHEMAWHITESPACE *whitespace); + + HRESULT (STDMETHODCALLTYPE *get_patterns)( + ISchemaType *This, + ISchemaStringCollection **patterns); + + END_INTERFACE +} ISchemaTypeVtbl; + +interface ISchemaType { + CONST_VTBL ISchemaTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaType_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaType_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaType_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaType_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaType_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaType_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaType_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaType methods ***/ +#define ISchemaType_get_baseTypes(This,baseTypes) (This)->lpVtbl->get_baseTypes(This,baseTypes) +#define ISchemaType_get_final(This,final) (This)->lpVtbl->get_final(This,final) +#define ISchemaType_get_variety(This,variety) (This)->lpVtbl->get_variety(This,variety) +#define ISchemaType_get_derivedBy(This,derivedBy) (This)->lpVtbl->get_derivedBy(This,derivedBy) +#define ISchemaType_isValid(This,data,valid) (This)->lpVtbl->isValid(This,data,valid) +#define ISchemaType_get_minExclusive(This,minExclusive) (This)->lpVtbl->get_minExclusive(This,minExclusive) +#define ISchemaType_get_minInclusive(This,minInclusive) (This)->lpVtbl->get_minInclusive(This,minInclusive) +#define ISchemaType_get_maxExclusive(This,maxExclusive) (This)->lpVtbl->get_maxExclusive(This,maxExclusive) +#define ISchemaType_get_maxInclusive(This,maxInclusive) (This)->lpVtbl->get_maxInclusive(This,maxInclusive) +#define ISchemaType_get_totalDigits(This,totalDigits) (This)->lpVtbl->get_totalDigits(This,totalDigits) +#define ISchemaType_get_fractionDigits(This,fractionDigits) (This)->lpVtbl->get_fractionDigits(This,fractionDigits) +#define ISchemaType_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaType_get_minLength(This,minLength) (This)->lpVtbl->get_minLength(This,minLength) +#define ISchemaType_get_maxLength(This,maxLength) (This)->lpVtbl->get_maxLength(This,maxLength) +#define ISchemaType_get_enumeration(This,enumeration) (This)->lpVtbl->get_enumeration(This,enumeration) +#define ISchemaType_get_whitespace(This,whitespace) (This)->lpVtbl->get_whitespace(This,whitespace) +#define ISchemaType_get_patterns(This,patterns) (This)->lpVtbl->get_patterns(This,patterns) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaType_QueryInterface(ISchemaType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaType_AddRef(ISchemaType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaType_Release(ISchemaType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaType_GetTypeInfoCount(ISchemaType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaType_GetTypeInfo(ISchemaType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaType_GetIDsOfNames(ISchemaType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaType_Invoke(ISchemaType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaType_get_name(ISchemaType* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaType_get_namespaceURI(ISchemaType* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaType_get_schema(ISchemaType* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaType_get_id(ISchemaType* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaType_get_itemType(ISchemaType* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaType_get_unhandledAttributes(ISchemaType* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaType_writeAnnotation(ISchemaType* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaType methods ***/ +static FORCEINLINE HRESULT ISchemaType_get_baseTypes(ISchemaType* This,ISchemaItemCollection **baseTypes) { + return This->lpVtbl->get_baseTypes(This,baseTypes); +} +static FORCEINLINE HRESULT ISchemaType_get_final(ISchemaType* This,SCHEMADERIVATIONMETHOD *final) { + return This->lpVtbl->get_final(This,final); +} +static FORCEINLINE HRESULT ISchemaType_get_variety(ISchemaType* This,SCHEMATYPEVARIETY *variety) { + return This->lpVtbl->get_variety(This,variety); +} +static FORCEINLINE HRESULT ISchemaType_get_derivedBy(ISchemaType* This,SCHEMADERIVATIONMETHOD *derivedBy) { + return This->lpVtbl->get_derivedBy(This,derivedBy); +} +static FORCEINLINE HRESULT ISchemaType_isValid(ISchemaType* This,BSTR data,VARIANT_BOOL *valid) { + return This->lpVtbl->isValid(This,data,valid); +} +static FORCEINLINE HRESULT ISchemaType_get_minExclusive(ISchemaType* This,BSTR *minExclusive) { + return This->lpVtbl->get_minExclusive(This,minExclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_minInclusive(ISchemaType* This,BSTR *minInclusive) { + return This->lpVtbl->get_minInclusive(This,minInclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_maxExclusive(ISchemaType* This,BSTR *maxExclusive) { + return This->lpVtbl->get_maxExclusive(This,maxExclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_maxInclusive(ISchemaType* This,BSTR *maxInclusive) { + return This->lpVtbl->get_maxInclusive(This,maxInclusive); +} +static FORCEINLINE HRESULT ISchemaType_get_totalDigits(ISchemaType* This,VARIANT *totalDigits) { + return This->lpVtbl->get_totalDigits(This,totalDigits); +} +static FORCEINLINE HRESULT ISchemaType_get_fractionDigits(ISchemaType* This,VARIANT *fractionDigits) { + return This->lpVtbl->get_fractionDigits(This,fractionDigits); +} +static FORCEINLINE HRESULT ISchemaType_get_length(ISchemaType* This,VARIANT *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaType_get_minLength(ISchemaType* This,VARIANT *minLength) { + return This->lpVtbl->get_minLength(This,minLength); +} +static FORCEINLINE HRESULT ISchemaType_get_maxLength(ISchemaType* This,VARIANT *maxLength) { + return This->lpVtbl->get_maxLength(This,maxLength); +} +static FORCEINLINE HRESULT ISchemaType_get_enumeration(ISchemaType* This,ISchemaStringCollection **enumeration) { + return This->lpVtbl->get_enumeration(This,enumeration); +} +static FORCEINLINE HRESULT ISchemaType_get_whitespace(ISchemaType* This,SCHEMAWHITESPACE *whitespace) { + return This->lpVtbl->get_whitespace(This,whitespace); +} +static FORCEINLINE HRESULT ISchemaType_get_patterns(ISchemaType* This,ISchemaStringCollection **patterns) { + return This->lpVtbl->get_patterns(This,patterns); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaComplexType interface + */ +#ifndef __ISchemaComplexType_INTERFACE_DEFINED__ +#define __ISchemaComplexType_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaComplexType, 0x50ea08b9, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08b9-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaComplexType : public ISchemaType +{ + virtual HRESULT STDMETHODCALLTYPE get_isAbstract( + VARIANT_BOOL *abstract) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_anyAttribute( + ISchemaAny **anyAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + ISchemaItemCollection **attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentType( + SCHEMACONTENTTYPE *contentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_contentModel( + ISchemaModelGroup **contentModel) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_prohibitedSubstitutions( + SCHEMADERIVATIONMETHOD *prohibited) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaComplexType, 0x50ea08b9, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaComplexTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaComplexType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaComplexType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaComplexType *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaComplexType *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaComplexType *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaComplexType *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaComplexType *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaComplexType *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaComplexType *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaComplexType *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaComplexType *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaComplexType *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaComplexType *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaComplexType *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_baseTypes)( + ISchemaComplexType *This, + ISchemaItemCollection **baseTypes); + + HRESULT (STDMETHODCALLTYPE *get_final)( + ISchemaComplexType *This, + SCHEMADERIVATIONMETHOD *final); + + HRESULT (STDMETHODCALLTYPE *get_variety)( + ISchemaComplexType *This, + SCHEMATYPEVARIETY *variety); + + HRESULT (STDMETHODCALLTYPE *get_derivedBy)( + ISchemaComplexType *This, + SCHEMADERIVATIONMETHOD *derivedBy); + + HRESULT (STDMETHODCALLTYPE *isValid)( + ISchemaComplexType *This, + BSTR data, + VARIANT_BOOL *valid); + + HRESULT (STDMETHODCALLTYPE *get_minExclusive)( + ISchemaComplexType *This, + BSTR *minExclusive); + + HRESULT (STDMETHODCALLTYPE *get_minInclusive)( + ISchemaComplexType *This, + BSTR *minInclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxExclusive)( + ISchemaComplexType *This, + BSTR *maxExclusive); + + HRESULT (STDMETHODCALLTYPE *get_maxInclusive)( + ISchemaComplexType *This, + BSTR *maxInclusive); + + HRESULT (STDMETHODCALLTYPE *get_totalDigits)( + ISchemaComplexType *This, + VARIANT *totalDigits); + + HRESULT (STDMETHODCALLTYPE *get_fractionDigits)( + ISchemaComplexType *This, + VARIANT *fractionDigits); + + HRESULT (STDMETHODCALLTYPE *get_length)( + ISchemaComplexType *This, + VARIANT *length); + + HRESULT (STDMETHODCALLTYPE *get_minLength)( + ISchemaComplexType *This, + VARIANT *minLength); + + HRESULT (STDMETHODCALLTYPE *get_maxLength)( + ISchemaComplexType *This, + VARIANT *maxLength); + + HRESULT (STDMETHODCALLTYPE *get_enumeration)( + ISchemaComplexType *This, + ISchemaStringCollection **enumeration); + + HRESULT (STDMETHODCALLTYPE *get_whitespace)( + ISchemaComplexType *This, + SCHEMAWHITESPACE *whitespace); + + HRESULT (STDMETHODCALLTYPE *get_patterns)( + ISchemaComplexType *This, + ISchemaStringCollection **patterns); + + /*** ISchemaComplexType methods ***/ + HRESULT (STDMETHODCALLTYPE *get_isAbstract)( + ISchemaComplexType *This, + VARIANT_BOOL *abstract); + + HRESULT (STDMETHODCALLTYPE *get_anyAttribute)( + ISchemaComplexType *This, + ISchemaAny **anyAttribute); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + ISchemaComplexType *This, + ISchemaItemCollection **attributes); + + HRESULT (STDMETHODCALLTYPE *get_contentType)( + ISchemaComplexType *This, + SCHEMACONTENTTYPE *contentType); + + HRESULT (STDMETHODCALLTYPE *get_contentModel)( + ISchemaComplexType *This, + ISchemaModelGroup **contentModel); + + HRESULT (STDMETHODCALLTYPE *get_prohibitedSubstitutions)( + ISchemaComplexType *This, + SCHEMADERIVATIONMETHOD *prohibited); + + END_INTERFACE +} ISchemaComplexTypeVtbl; + +interface ISchemaComplexType { + CONST_VTBL ISchemaComplexTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaComplexType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaComplexType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaComplexType_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaComplexType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaComplexType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaComplexType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaComplexType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaComplexType_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaComplexType_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaComplexType_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaComplexType_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaComplexType_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaComplexType_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaComplexType_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaType methods ***/ +#define ISchemaComplexType_get_baseTypes(This,baseTypes) (This)->lpVtbl->get_baseTypes(This,baseTypes) +#define ISchemaComplexType_get_final(This,final) (This)->lpVtbl->get_final(This,final) +#define ISchemaComplexType_get_variety(This,variety) (This)->lpVtbl->get_variety(This,variety) +#define ISchemaComplexType_get_derivedBy(This,derivedBy) (This)->lpVtbl->get_derivedBy(This,derivedBy) +#define ISchemaComplexType_isValid(This,data,valid) (This)->lpVtbl->isValid(This,data,valid) +#define ISchemaComplexType_get_minExclusive(This,minExclusive) (This)->lpVtbl->get_minExclusive(This,minExclusive) +#define ISchemaComplexType_get_minInclusive(This,minInclusive) (This)->lpVtbl->get_minInclusive(This,minInclusive) +#define ISchemaComplexType_get_maxExclusive(This,maxExclusive) (This)->lpVtbl->get_maxExclusive(This,maxExclusive) +#define ISchemaComplexType_get_maxInclusive(This,maxInclusive) (This)->lpVtbl->get_maxInclusive(This,maxInclusive) +#define ISchemaComplexType_get_totalDigits(This,totalDigits) (This)->lpVtbl->get_totalDigits(This,totalDigits) +#define ISchemaComplexType_get_fractionDigits(This,fractionDigits) (This)->lpVtbl->get_fractionDigits(This,fractionDigits) +#define ISchemaComplexType_get_length(This,length) (This)->lpVtbl->get_length(This,length) +#define ISchemaComplexType_get_minLength(This,minLength) (This)->lpVtbl->get_minLength(This,minLength) +#define ISchemaComplexType_get_maxLength(This,maxLength) (This)->lpVtbl->get_maxLength(This,maxLength) +#define ISchemaComplexType_get_enumeration(This,enumeration) (This)->lpVtbl->get_enumeration(This,enumeration) +#define ISchemaComplexType_get_whitespace(This,whitespace) (This)->lpVtbl->get_whitespace(This,whitespace) +#define ISchemaComplexType_get_patterns(This,patterns) (This)->lpVtbl->get_patterns(This,patterns) +/*** ISchemaComplexType methods ***/ +#define ISchemaComplexType_get_isAbstract(This,abstract) (This)->lpVtbl->get_isAbstract(This,abstract) +#define ISchemaComplexType_get_anyAttribute(This,anyAttribute) (This)->lpVtbl->get_anyAttribute(This,anyAttribute) +#define ISchemaComplexType_get_attributes(This,attributes) (This)->lpVtbl->get_attributes(This,attributes) +#define ISchemaComplexType_get_contentType(This,contentType) (This)->lpVtbl->get_contentType(This,contentType) +#define ISchemaComplexType_get_contentModel(This,contentModel) (This)->lpVtbl->get_contentModel(This,contentModel) +#define ISchemaComplexType_get_prohibitedSubstitutions(This,prohibited) (This)->lpVtbl->get_prohibitedSubstitutions(This,prohibited) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_QueryInterface(ISchemaComplexType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaComplexType_AddRef(ISchemaComplexType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaComplexType_Release(ISchemaComplexType* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_GetTypeInfoCount(ISchemaComplexType* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaComplexType_GetTypeInfo(ISchemaComplexType* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaComplexType_GetIDsOfNames(ISchemaComplexType* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaComplexType_Invoke(ISchemaComplexType* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_get_name(ISchemaComplexType* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_namespaceURI(ISchemaComplexType* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_schema(ISchemaComplexType* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_id(ISchemaComplexType* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_itemType(ISchemaComplexType* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_unhandledAttributes(ISchemaComplexType* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaComplexType_writeAnnotation(ISchemaComplexType* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaType methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_get_baseTypes(ISchemaComplexType* This,ISchemaItemCollection **baseTypes) { + return This->lpVtbl->get_baseTypes(This,baseTypes); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_final(ISchemaComplexType* This,SCHEMADERIVATIONMETHOD *final) { + return This->lpVtbl->get_final(This,final); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_variety(ISchemaComplexType* This,SCHEMATYPEVARIETY *variety) { + return This->lpVtbl->get_variety(This,variety); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_derivedBy(ISchemaComplexType* This,SCHEMADERIVATIONMETHOD *derivedBy) { + return This->lpVtbl->get_derivedBy(This,derivedBy); +} +static FORCEINLINE HRESULT ISchemaComplexType_isValid(ISchemaComplexType* This,BSTR data,VARIANT_BOOL *valid) { + return This->lpVtbl->isValid(This,data,valid); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_minExclusive(ISchemaComplexType* This,BSTR *minExclusive) { + return This->lpVtbl->get_minExclusive(This,minExclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_minInclusive(ISchemaComplexType* This,BSTR *minInclusive) { + return This->lpVtbl->get_minInclusive(This,minInclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_maxExclusive(ISchemaComplexType* This,BSTR *maxExclusive) { + return This->lpVtbl->get_maxExclusive(This,maxExclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_maxInclusive(ISchemaComplexType* This,BSTR *maxInclusive) { + return This->lpVtbl->get_maxInclusive(This,maxInclusive); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_totalDigits(ISchemaComplexType* This,VARIANT *totalDigits) { + return This->lpVtbl->get_totalDigits(This,totalDigits); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_fractionDigits(ISchemaComplexType* This,VARIANT *fractionDigits) { + return This->lpVtbl->get_fractionDigits(This,fractionDigits); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_length(ISchemaComplexType* This,VARIANT *length) { + return This->lpVtbl->get_length(This,length); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_minLength(ISchemaComplexType* This,VARIANT *minLength) { + return This->lpVtbl->get_minLength(This,minLength); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_maxLength(ISchemaComplexType* This,VARIANT *maxLength) { + return This->lpVtbl->get_maxLength(This,maxLength); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_enumeration(ISchemaComplexType* This,ISchemaStringCollection **enumeration) { + return This->lpVtbl->get_enumeration(This,enumeration); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_whitespace(ISchemaComplexType* This,SCHEMAWHITESPACE *whitespace) { + return This->lpVtbl->get_whitespace(This,whitespace); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_patterns(ISchemaComplexType* This,ISchemaStringCollection **patterns) { + return This->lpVtbl->get_patterns(This,patterns); +} +/*** ISchemaComplexType methods ***/ +static FORCEINLINE HRESULT ISchemaComplexType_get_isAbstract(ISchemaComplexType* This,VARIANT_BOOL *abstract) { + return This->lpVtbl->get_isAbstract(This,abstract); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_anyAttribute(ISchemaComplexType* This,ISchemaAny **anyAttribute) { + return This->lpVtbl->get_anyAttribute(This,anyAttribute); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_attributes(ISchemaComplexType* This,ISchemaItemCollection **attributes) { + return This->lpVtbl->get_attributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_contentType(ISchemaComplexType* This,SCHEMACONTENTTYPE *contentType) { + return This->lpVtbl->get_contentType(This,contentType); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_contentModel(ISchemaComplexType* This,ISchemaModelGroup **contentModel) { + return This->lpVtbl->get_contentModel(This,contentModel); +} +static FORCEINLINE HRESULT ISchemaComplexType_get_prohibitedSubstitutions(ISchemaComplexType* This,SCHEMADERIVATIONMETHOD *prohibited) { + return This->lpVtbl->get_prohibitedSubstitutions(This,prohibited); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaComplexType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaAttributeGroup interface + */ +#ifndef __ISchemaAttributeGroup_INTERFACE_DEFINED__ +#define __ISchemaAttributeGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaAttributeGroup, 0x50ea08ba, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08ba-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaAttributeGroup : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_anyAttribute( + ISchemaAny **anyAttribute) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributes( + ISchemaItemCollection **attributes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaAttributeGroup, 0x50ea08ba, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaAttributeGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaAttributeGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaAttributeGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaAttributeGroup *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaAttributeGroup *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaAttributeGroup *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaAttributeGroup *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaAttributeGroup *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaAttributeGroup *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaAttributeGroup *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaAttributeGroup *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaAttributeGroup *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaAttributeGroup *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaAttributeGroup *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaAttributeGroup *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaAttributeGroup methods ***/ + HRESULT (STDMETHODCALLTYPE *get_anyAttribute)( + ISchemaAttributeGroup *This, + ISchemaAny **anyAttribute); + + HRESULT (STDMETHODCALLTYPE *get_attributes)( + ISchemaAttributeGroup *This, + ISchemaItemCollection **attributes); + + END_INTERFACE +} ISchemaAttributeGroupVtbl; + +interface ISchemaAttributeGroup { + CONST_VTBL ISchemaAttributeGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaAttributeGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaAttributeGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaAttributeGroup_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaAttributeGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaAttributeGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaAttributeGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaAttributeGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaAttributeGroup_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaAttributeGroup_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaAttributeGroup_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaAttributeGroup_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaAttributeGroup_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaAttributeGroup_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaAttributeGroup_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaAttributeGroup methods ***/ +#define ISchemaAttributeGroup_get_anyAttribute(This,anyAttribute) (This)->lpVtbl->get_anyAttribute(This,anyAttribute) +#define ISchemaAttributeGroup_get_attributes(This,attributes) (This)->lpVtbl->get_attributes(This,attributes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_QueryInterface(ISchemaAttributeGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaAttributeGroup_AddRef(ISchemaAttributeGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaAttributeGroup_Release(ISchemaAttributeGroup* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_GetTypeInfoCount(ISchemaAttributeGroup* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_GetTypeInfo(ISchemaAttributeGroup* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_GetIDsOfNames(ISchemaAttributeGroup* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_Invoke(ISchemaAttributeGroup* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_name(ISchemaAttributeGroup* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_namespaceURI(ISchemaAttributeGroup* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_schema(ISchemaAttributeGroup* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_id(ISchemaAttributeGroup* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_itemType(ISchemaAttributeGroup* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_unhandledAttributes(ISchemaAttributeGroup* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_writeAnnotation(ISchemaAttributeGroup* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaAttributeGroup methods ***/ +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_anyAttribute(ISchemaAttributeGroup* This,ISchemaAny **anyAttribute) { + return This->lpVtbl->get_anyAttribute(This,anyAttribute); +} +static FORCEINLINE HRESULT ISchemaAttributeGroup_get_attributes(ISchemaAttributeGroup* This,ISchemaItemCollection **attributes) { + return This->lpVtbl->get_attributes(This,attributes); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaAttributeGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaModelGroup interface + */ +#ifndef __ISchemaModelGroup_INTERFACE_DEFINED__ +#define __ISchemaModelGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaModelGroup, 0x50ea08bb, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08bb-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaModelGroup : public ISchemaParticle +{ + virtual HRESULT STDMETHODCALLTYPE get_particles( + ISchemaItemCollection **particles) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaModelGroup, 0x50ea08bb, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaModelGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaModelGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaModelGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaModelGroup *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaModelGroup *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaModelGroup *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaModelGroup *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaModelGroup *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaModelGroup *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaModelGroup *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaModelGroup *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaModelGroup *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaModelGroup *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaModelGroup *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaModelGroup *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaModelGroup *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaModelGroup *This, + VARIANT *maxOccurs); + + /*** ISchemaModelGroup methods ***/ + HRESULT (STDMETHODCALLTYPE *get_particles)( + ISchemaModelGroup *This, + ISchemaItemCollection **particles); + + END_INTERFACE +} ISchemaModelGroupVtbl; + +interface ISchemaModelGroup { + CONST_VTBL ISchemaModelGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaModelGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaModelGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaModelGroup_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaModelGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaModelGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaModelGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaModelGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaModelGroup_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaModelGroup_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaModelGroup_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaModelGroup_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaModelGroup_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaModelGroup_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaModelGroup_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaModelGroup_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaModelGroup_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +/*** ISchemaModelGroup methods ***/ +#define ISchemaModelGroup_get_particles(This,particles) (This)->lpVtbl->get_particles(This,particles) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_QueryInterface(ISchemaModelGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaModelGroup_AddRef(ISchemaModelGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaModelGroup_Release(ISchemaModelGroup* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_GetTypeInfoCount(ISchemaModelGroup* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaModelGroup_GetTypeInfo(ISchemaModelGroup* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaModelGroup_GetIDsOfNames(ISchemaModelGroup* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaModelGroup_Invoke(ISchemaModelGroup* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_get_name(ISchemaModelGroup* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_namespaceURI(ISchemaModelGroup* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_schema(ISchemaModelGroup* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_id(ISchemaModelGroup* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_itemType(ISchemaModelGroup* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_unhandledAttributes(ISchemaModelGroup* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaModelGroup_writeAnnotation(ISchemaModelGroup* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_get_minOccurs(ISchemaModelGroup* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaModelGroup_get_maxOccurs(ISchemaModelGroup* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +/*** ISchemaModelGroup methods ***/ +static FORCEINLINE HRESULT ISchemaModelGroup_get_particles(ISchemaModelGroup* This,ISchemaItemCollection **particles) { + return This->lpVtbl->get_particles(This,particles); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaModelGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaAny interface + */ +#ifndef __ISchemaAny_INTERFACE_DEFINED__ +#define __ISchemaAny_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaAny, 0x50ea08bc, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08bc-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaAny : public ISchemaParticle +{ + virtual HRESULT STDMETHODCALLTYPE get_namespaces( + ISchemaStringCollection **namespaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_processContents( + SCHEMAPROCESSCONTENTS *processContents) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaAny, 0x50ea08bc, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaAnyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaAny *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaAny *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaAny *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaAny *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaAny *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaAny *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaAny *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaAny *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaAny *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaAny *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaAny *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaAny *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaAny *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaAny *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaParticle methods ***/ + HRESULT (STDMETHODCALLTYPE *get_minOccurs)( + ISchemaAny *This, + VARIANT *minOccurs); + + HRESULT (STDMETHODCALLTYPE *get_maxOccurs)( + ISchemaAny *This, + VARIANT *maxOccurs); + + /*** ISchemaAny methods ***/ + HRESULT (STDMETHODCALLTYPE *get_namespaces)( + ISchemaAny *This, + ISchemaStringCollection **namespaces); + + HRESULT (STDMETHODCALLTYPE *get_processContents)( + ISchemaAny *This, + SCHEMAPROCESSCONTENTS *processContents); + + END_INTERFACE +} ISchemaAnyVtbl; + +interface ISchemaAny { + CONST_VTBL ISchemaAnyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaAny_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaAny_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaAny_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaAny_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaAny_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaAny_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaAny_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaAny_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaAny_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaAny_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaAny_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaAny_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaAny_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaAny_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaParticle methods ***/ +#define ISchemaAny_get_minOccurs(This,minOccurs) (This)->lpVtbl->get_minOccurs(This,minOccurs) +#define ISchemaAny_get_maxOccurs(This,maxOccurs) (This)->lpVtbl->get_maxOccurs(This,maxOccurs) +/*** ISchemaAny methods ***/ +#define ISchemaAny_get_namespaces(This,namespaces) (This)->lpVtbl->get_namespaces(This,namespaces) +#define ISchemaAny_get_processContents(This,processContents) (This)->lpVtbl->get_processContents(This,processContents) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaAny_QueryInterface(ISchemaAny* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaAny_AddRef(ISchemaAny* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaAny_Release(ISchemaAny* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaAny_GetTypeInfoCount(ISchemaAny* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaAny_GetTypeInfo(ISchemaAny* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaAny_GetIDsOfNames(ISchemaAny* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaAny_Invoke(ISchemaAny* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaAny_get_name(ISchemaAny* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaAny_get_namespaceURI(ISchemaAny* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaAny_get_schema(ISchemaAny* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaAny_get_id(ISchemaAny* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaAny_get_itemType(ISchemaAny* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaAny_get_unhandledAttributes(ISchemaAny* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaAny_writeAnnotation(ISchemaAny* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaParticle methods ***/ +static FORCEINLINE HRESULT ISchemaAny_get_minOccurs(ISchemaAny* This,VARIANT *minOccurs) { + return This->lpVtbl->get_minOccurs(This,minOccurs); +} +static FORCEINLINE HRESULT ISchemaAny_get_maxOccurs(ISchemaAny* This,VARIANT *maxOccurs) { + return This->lpVtbl->get_maxOccurs(This,maxOccurs); +} +/*** ISchemaAny methods ***/ +static FORCEINLINE HRESULT ISchemaAny_get_namespaces(ISchemaAny* This,ISchemaStringCollection **namespaces) { + return This->lpVtbl->get_namespaces(This,namespaces); +} +static FORCEINLINE HRESULT ISchemaAny_get_processContents(ISchemaAny* This,SCHEMAPROCESSCONTENTS *processContents) { + return This->lpVtbl->get_processContents(This,processContents); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaAny_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaIdentityConstraint interface + */ +#ifndef __ISchemaIdentityConstraint_INTERFACE_DEFINED__ +#define __ISchemaIdentityConstraint_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaIdentityConstraint, 0x50ea08bd, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08bd-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaIdentityConstraint : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_selector( + BSTR *selector) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fields( + ISchemaStringCollection **fields) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_referencedKey( + ISchemaIdentityConstraint **key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaIdentityConstraint, 0x50ea08bd, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaIdentityConstraintVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaIdentityConstraint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaIdentityConstraint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaIdentityConstraint *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaIdentityConstraint *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaIdentityConstraint *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaIdentityConstraint *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaIdentityConstraint *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaIdentityConstraint *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaIdentityConstraint *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaIdentityConstraint *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaIdentityConstraint *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaIdentityConstraint *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaIdentityConstraint *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaIdentityConstraint *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaIdentityConstraint methods ***/ + HRESULT (STDMETHODCALLTYPE *get_selector)( + ISchemaIdentityConstraint *This, + BSTR *selector); + + HRESULT (STDMETHODCALLTYPE *get_fields)( + ISchemaIdentityConstraint *This, + ISchemaStringCollection **fields); + + HRESULT (STDMETHODCALLTYPE *get_referencedKey)( + ISchemaIdentityConstraint *This, + ISchemaIdentityConstraint **key); + + END_INTERFACE +} ISchemaIdentityConstraintVtbl; + +interface ISchemaIdentityConstraint { + CONST_VTBL ISchemaIdentityConstraintVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaIdentityConstraint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaIdentityConstraint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaIdentityConstraint_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaIdentityConstraint_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaIdentityConstraint_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaIdentityConstraint_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaIdentityConstraint_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaIdentityConstraint_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaIdentityConstraint_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaIdentityConstraint_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaIdentityConstraint_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaIdentityConstraint_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaIdentityConstraint_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaIdentityConstraint_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaIdentityConstraint methods ***/ +#define ISchemaIdentityConstraint_get_selector(This,selector) (This)->lpVtbl->get_selector(This,selector) +#define ISchemaIdentityConstraint_get_fields(This,fields) (This)->lpVtbl->get_fields(This,fields) +#define ISchemaIdentityConstraint_get_referencedKey(This,key) (This)->lpVtbl->get_referencedKey(This,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_QueryInterface(ISchemaIdentityConstraint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaIdentityConstraint_AddRef(ISchemaIdentityConstraint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaIdentityConstraint_Release(ISchemaIdentityConstraint* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_GetTypeInfoCount(ISchemaIdentityConstraint* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_GetTypeInfo(ISchemaIdentityConstraint* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_GetIDsOfNames(ISchemaIdentityConstraint* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_Invoke(ISchemaIdentityConstraint* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_name(ISchemaIdentityConstraint* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_namespaceURI(ISchemaIdentityConstraint* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_schema(ISchemaIdentityConstraint* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_id(ISchemaIdentityConstraint* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_itemType(ISchemaIdentityConstraint* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_unhandledAttributes(ISchemaIdentityConstraint* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_writeAnnotation(ISchemaIdentityConstraint* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaIdentityConstraint methods ***/ +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_selector(ISchemaIdentityConstraint* This,BSTR *selector) { + return This->lpVtbl->get_selector(This,selector); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_fields(ISchemaIdentityConstraint* This,ISchemaStringCollection **fields) { + return This->lpVtbl->get_fields(This,fields); +} +static FORCEINLINE HRESULT ISchemaIdentityConstraint_get_referencedKey(ISchemaIdentityConstraint* This,ISchemaIdentityConstraint **key) { + return This->lpVtbl->get_referencedKey(This,key); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaIdentityConstraint_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISchemaNotation interface + */ +#ifndef __ISchemaNotation_INTERFACE_DEFINED__ +#define __ISchemaNotation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISchemaNotation, 0x50ea08be, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("50ea08be-dd1b-4664-9a50-c2f40f4bd79a") +ISchemaNotation : public ISchemaItem +{ + virtual HRESULT STDMETHODCALLTYPE get_systemIdentifier( + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_publicIdentifier( + BSTR *uri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISchemaNotation, 0x50ea08be, 0xdd1b, 0x4664, 0x9a,0x50, 0xc2,0xf4,0x0f,0x4b,0xd7,0x9a) +#endif +#else +typedef struct ISchemaNotationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISchemaNotation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISchemaNotation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISchemaNotation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISchemaNotation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISchemaNotation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISchemaNotation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISchemaNotation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISchemaItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + ISchemaNotation *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_namespaceURI)( + ISchemaNotation *This, + BSTR *namespaceURI); + + HRESULT (STDMETHODCALLTYPE *get_schema)( + ISchemaNotation *This, + ISchema **schema); + + HRESULT (STDMETHODCALLTYPE *get_id)( + ISchemaNotation *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *get_itemType)( + ISchemaNotation *This, + SOMITEMTYPE *itemType); + + HRESULT (STDMETHODCALLTYPE *get_unhandledAttributes)( + ISchemaNotation *This, + IVBSAXAttributes **attributes); + + HRESULT (STDMETHODCALLTYPE *writeAnnotation)( + ISchemaNotation *This, + IUnknown *annotationSink, + VARIANT_BOOL *isWritten); + + /*** ISchemaNotation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_systemIdentifier)( + ISchemaNotation *This, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *get_publicIdentifier)( + ISchemaNotation *This, + BSTR *uri); + + END_INTERFACE +} ISchemaNotationVtbl; + +interface ISchemaNotation { + CONST_VTBL ISchemaNotationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISchemaNotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISchemaNotation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISchemaNotation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISchemaNotation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISchemaNotation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISchemaNotation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISchemaNotation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISchemaItem methods ***/ +#define ISchemaNotation_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define ISchemaNotation_get_namespaceURI(This,namespaceURI) (This)->lpVtbl->get_namespaceURI(This,namespaceURI) +#define ISchemaNotation_get_schema(This,schema) (This)->lpVtbl->get_schema(This,schema) +#define ISchemaNotation_get_id(This,id) (This)->lpVtbl->get_id(This,id) +#define ISchemaNotation_get_itemType(This,itemType) (This)->lpVtbl->get_itemType(This,itemType) +#define ISchemaNotation_get_unhandledAttributes(This,attributes) (This)->lpVtbl->get_unhandledAttributes(This,attributes) +#define ISchemaNotation_writeAnnotation(This,annotationSink,isWritten) (This)->lpVtbl->writeAnnotation(This,annotationSink,isWritten) +/*** ISchemaNotation methods ***/ +#define ISchemaNotation_get_systemIdentifier(This,uri) (This)->lpVtbl->get_systemIdentifier(This,uri) +#define ISchemaNotation_get_publicIdentifier(This,uri) (This)->lpVtbl->get_publicIdentifier(This,uri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_QueryInterface(ISchemaNotation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISchemaNotation_AddRef(ISchemaNotation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISchemaNotation_Release(ISchemaNotation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_GetTypeInfoCount(ISchemaNotation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISchemaNotation_GetTypeInfo(ISchemaNotation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISchemaNotation_GetIDsOfNames(ISchemaNotation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISchemaNotation_Invoke(ISchemaNotation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISchemaItem methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_get_name(ISchemaNotation* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT ISchemaNotation_get_namespaceURI(ISchemaNotation* This,BSTR *namespaceURI) { + return This->lpVtbl->get_namespaceURI(This,namespaceURI); +} +static FORCEINLINE HRESULT ISchemaNotation_get_schema(ISchemaNotation* This,ISchema **schema) { + return This->lpVtbl->get_schema(This,schema); +} +static FORCEINLINE HRESULT ISchemaNotation_get_id(ISchemaNotation* This,BSTR *id) { + return This->lpVtbl->get_id(This,id); +} +static FORCEINLINE HRESULT ISchemaNotation_get_itemType(ISchemaNotation* This,SOMITEMTYPE *itemType) { + return This->lpVtbl->get_itemType(This,itemType); +} +static FORCEINLINE HRESULT ISchemaNotation_get_unhandledAttributes(ISchemaNotation* This,IVBSAXAttributes **attributes) { + return This->lpVtbl->get_unhandledAttributes(This,attributes); +} +static FORCEINLINE HRESULT ISchemaNotation_writeAnnotation(ISchemaNotation* This,IUnknown *annotationSink,VARIANT_BOOL *isWritten) { + return This->lpVtbl->writeAnnotation(This,annotationSink,isWritten); +} +/*** ISchemaNotation methods ***/ +static FORCEINLINE HRESULT ISchemaNotation_get_systemIdentifier(ISchemaNotation* This,BSTR *uri) { + return This->lpVtbl->get_systemIdentifier(This,uri); +} +static FORCEINLINE HRESULT ISchemaNotation_get_publicIdentifier(ISchemaNotation* This,BSTR *uri) { + return This->lpVtbl->get_publicIdentifier(This,uri); +} +#endif +#endif + +#endif + + +#endif /* __ISchemaNotation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * SAXXMLReader coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader, 0x079aa557, 0x4a18, 0x424a, 0x8e,0xee, 0xe3,0x9f,0x0a,0x8d,0x41,0xb9); + +#ifdef __cplusplus +class DECLSPEC_UUID("079aa557-4a18-424a-8eee-e39f0a8d41b9") SAXXMLReader; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader, 0x079aa557, 0x4a18, 0x424a, 0x8e,0xee, 0xe3,0x9f,0x0a,0x8d,0x41,0xb9) +#endif +#endif + +/***************************************************************************** + * SAXXMLReader30 coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader30, 0x3124c396, 0xfb13, 0x4836, 0xa6,0xad, 0x13,0x17,0xf1,0x71,0x36,0x88); + +#ifdef __cplusplus +class DECLSPEC_UUID("3124c396-fb13-4836-a6ad-1317f1713688") SAXXMLReader30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader30, 0x3124c396, 0xfb13, 0x4836, 0xa6,0xad, 0x13,0x17,0xf1,0x71,0x36,0x88) +#endif +#endif + +/***************************************************************************** + * SAXXMLReader40 coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader40, 0x7c6e29bc, 0x8b8b, 0x4c3d, 0x85,0x9e, 0xaf,0x6c,0xd1,0x58,0xbe,0x0f); + +#ifdef __cplusplus +class DECLSPEC_UUID("7c6e29bc-8b8b-4c3d-859e-af6cd158be0f") SAXXMLReader40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader40, 0x7c6e29bc, 0x8b8b, 0x4c3d, 0x85,0x9e, 0xaf,0x6c,0xd1,0x58,0xbe,0x0f) +#endif +#endif + +/***************************************************************************** + * SAXXMLReader60 coclass + */ + +DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0c-f192-11d4-a65f-0040963251e5") SAXXMLReader60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter, 0xa4c23ec3, 0x6b70, 0x4466, 0x91,0x27, 0x55,0x00,0x77,0x23,0x99,0x78); + +#ifdef __cplusplus +class DECLSPEC_UUID("a4c23ec3-6b70-4466-9127-550077239978") MXHTMLWriter; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter, 0xa4c23ec3, 0x6b70, 0x4466, 0x91,0x27, 0x55,0x00,0x77,0x23,0x99,0x78) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter30 coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter30, 0x853d1540, 0xc1a7, 0x4aa9, 0xa2,0x26, 0x4d,0x3b,0xd3,0x01,0x14,0x6d); + +#ifdef __cplusplus +class DECLSPEC_UUID("853d1540-c1a7-4aa9-a226-4d3bd301146d") MXHTMLWriter30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter30, 0x853d1540, 0xc1a7, 0x4aa9, 0xa2,0x26, 0x4d,0x3b,0xd3,0x01,0x14,0x6d) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter40 coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter40, 0x88d969c9, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c9-f192-11d4-a65f-0040963251e5") MXHTMLWriter40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter40, 0x88d969c9, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXHTMLWriter60 coclass + */ + +DEFINE_GUID(CLSID_MXHTMLWriter60, 0x88d96a10, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a10-f192-11d4-a65f-0040963251e5") MXHTMLWriter60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXHTMLWriter60, 0x88d96a10, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter, 0xfc220ad8, 0xa72a, 0x4ee8, 0x92,0x6e, 0x0b,0x7a,0xd1,0x52,0xa0,0x20); + +#ifdef __cplusplus +class DECLSPEC_UUID("fc220ad8-a72a-4ee8-926e-0b7ad152a020") MXXMLWriter; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter, 0xfc220ad8, 0xa72a, 0x4ee8, 0x92,0x6e, 0x0b,0x7a,0xd1,0x52,0xa0,0x20) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter30 coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter30, 0x3d813dfe, 0x6c91, 0x4a4e, 0x8f,0x41, 0x04,0x34,0x6a,0x84,0x1d,0x9c); + +#ifdef __cplusplus +class DECLSPEC_UUID("3d813dfe-6c91-4a4e-8f41-04346a841d9c") MXXMLWriter30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter30, 0x3d813dfe, 0x6c91, 0x4a4e, 0x8f,0x41, 0x04,0x34,0x6a,0x84,0x1d,0x9c) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter40 coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter40, 0x88d969c8, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969c8-f192-11d4-a65f-0040963251e5") MXXMLWriter40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter40, 0x88d969c8, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXXMLWriter60 coclass + */ + +DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0f-f192-11d4-a65f-0040963251e5") MXXMLWriter60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXNamespaceManager coclass + */ + +DEFINE_GUID(CLSID_MXNamespaceManager, 0x88d969d5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969d5-f192-11d4-a65f-0040963251e5") MXNamespaceManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXNamespaceManager, 0x88d969d5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXNamespaceManager40 coclass + */ + +DEFINE_GUID(CLSID_MXNamespaceManager40, 0x88d969d6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969d6-f192-11d4-a65f-0040963251e5") MXNamespaceManager40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXNamespaceManager40, 0x88d969d6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * MXNamespaceManager60 coclass + */ + +DEFINE_GUID(CLSID_MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a11-f192-11d4-a65f-0040963251e5") MXNamespaceManager60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * SAXAttributes coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes, 0x4dd441ad, 0x526d, 0x4a77, 0x9f,0x1b, 0x98,0x41,0xed,0x80,0x2f,0xb0); + +#ifdef __cplusplus +class DECLSPEC_UUID("4dd441ad-526d-4a77-9f1b-9841ed802fb0") SAXAttributes; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes, 0x4dd441ad, 0x526d, 0x4a77, 0x9f,0x1b, 0x98,0x41,0xed,0x80,0x2f,0xb0) +#endif +#endif + +/***************************************************************************** + * SAXAttributes30 coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes30, 0x3e784a01, 0xf3ae, 0x4dc0, 0x93,0x54, 0x95,0x26,0xb9,0x37,0x0e,0xba); + +#ifdef __cplusplus +class DECLSPEC_UUID("3e784a01-f3ae-4dc0-9354-9526b9370eba") SAXAttributes30; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes30, 0x3e784a01, 0xf3ae, 0x4dc0, 0x93,0x54, 0x95,0x26,0xb9,0x37,0x0e,0xba) +#endif +#endif + +/***************************************************************************** + * SAXAttributes40 coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes40, 0x88d969ca, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d969ca-f192-11d4-a65f-0040963251e5") SAXAttributes40; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes40, 0x88d969ca, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +/***************************************************************************** + * SAXAttributes60 coclass + */ + +DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); + +#ifdef __cplusplus +class DECLSPEC_UUID("88d96a0e-f192-11d4-a65f-0040963251e5") SAXAttributes60; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) +#endif +#endif + +#define E_XML_NOTWF 0xC00CE223 +#define E_XML_NODTD 0xC00CE224 +#define E_XML_INVALID 0xC00CE225 +#define E_XML_BUFFERTOOSMALL 0xC00CE226 +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __msxml6_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6.idl new file mode 100644 index 0000000..1169e13 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6.idl @@ -0,0 +1,3422 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * Copyright (C) 2008 Alistair Leslie-Hughes + * Copyright (C) 2010 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include + +import "unknwn.idl"; +import "objidl.idl"; +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + uuid(f5078f18-c551-11d3-89b9-0000f81fe221), + version(6.0), + helpstring("Microsoft XML, v6.0") +] +library MSXML2 +{ + +importlib("stdole2.tlb"); + +interface IXMLDOMImplementation; +interface IXMLDOMNode; +interface IXMLDOMDocumentFragment; +interface IXMLDOMDocument; +interface IXMLDOMSchemaCollection; +interface IXMLDOMDocument2; +interface IXMLDOMNodeList; +interface IXMLDOMNamedNodeMap; +interface IXMLDOMCharacterData; +interface IXMLDOMAttribute; +interface IXMLDOMElement; +interface IXMLDOMText; +interface IXMLDOMComment; +interface IXMLDOMProcessingInstruction; +interface IXMLDOMCDATASection; +interface IXMLDOMDocumentType; +interface IXMLDOMNotation; +interface IXMLDOMEntity; +interface IXMLDOMEntityReference; +interface IXMLDOMParseError; +interface IXMLDOMParseErrorCollection; +interface IXTLRuntime; +interface IXSLTemplate; +interface IXSLProcessor; + +/* SAX Interfaces */ +interface ISAXAttributes; +interface ISAXContentHandler; +interface ISAXDeclHandler; +interface ISAXDTDHandler; +interface ISAXEntityResolver; +interface ISAXErrorHandler; +interface ISAXLexicalHandler; +interface ISAXLocator; +interface ISAXXMLFilter; +interface ISAXXMLReader; + +interface IVBSAXAttributes; +interface IVBSAXContentHandler; +interface IVBSAXDeclHandler; +interface IVBSAXDTDHandler; +interface IVBSAXEntityResolver; +interface IVBSAXErrorHandler; +interface IVBSAXLexicalHandler; +interface IVBSAXLocator; +interface IVBSAXXMLFilter; +interface IVBSAXXMLReader; + +interface IMXAttributes; +interface IMXReaderControl; +interface IMXWriter; + +interface IXMLDOMSchemaCollection2; +interface ISchemaStringCollection; +interface ISchemaItemCollection; +interface ISchemaItem; +interface ISchema; +interface ISchemaParticle; +interface ISchemaAttribute; +interface ISchemaElement; +interface ISchemaType; +interface ISchemaComplexType; +interface ISchemaAttributeGroup; +interface ISchemaModelGroup; +interface ISchemaAny; +interface ISchemaIdentityConstraint; +interface ISchemaNotation; + + +cpp_quote("#define DOMDocument DOMDocument2") +cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2") + +cpp_quote("#ifndef __MSXML_DOMNODETYPE_DEFINED") +cpp_quote("#define __MSXML_DOMNODETYPE_DEFINED") +typedef enum tagDOMNodeType +{ + NODE_INVALID = 0, + NODE_ELEMENT = 1, + NODE_ATTRIBUTE = 2, + NODE_TEXT = 3, + NODE_CDATA_SECTION = 4, + NODE_ENTITY_REFERENCE = 5, + NODE_ENTITY = 6, + NODE_PROCESSING_INSTRUCTION = 7, + NODE_COMMENT = 8, + NODE_DOCUMENT = 9, + NODE_DOCUMENT_TYPE = 10, + NODE_DOCUMENT_FRAGMENT = 11, + NODE_NOTATION = 12 +} DOMNodeType; +cpp_quote("#endif") + +typedef enum _SOMITEMTYPE +{ + SOMITEM_SCHEMA = 0x1000, + SOMITEM_ATTRIBUTE = 0x1001, + SOMITEM_ATTRIBUTEGROUP = 0x1002, + SOMITEM_NOTATION = 0x1003, + SOMITEM_IDENTITYCONSTRAINT = 0x1100, + SOMITEM_KEY = 0x1101, + SOMITEM_KEYREF = 0x1102, + SOMITEM_UNIQUE = 0x1103, + SOMITEM_ANYTYPE = 0x2000, + SOMITEM_DATATYPE = 0x2100, + SOMITEM_DATATYPE_ANYTYPE = 0x2101, + SOMITEM_DATATYPE_ANYURI = 0x2102, + SOMITEM_DATATYPE_BASE64BINARY = 0x2103, + SOMITEM_DATATYPE_BOOLEAN = 0x2104, + SOMITEM_DATATYPE_BYTE = 0x2105, + SOMITEM_DATATYPE_DATE = 0x2106, + SOMITEM_DATATYPE_DATETIME = 0x2107, + SOMITEM_DATATYPE_DAY = 0x2108, + SOMITEM_DATATYPE_DECIMAL = 0x2109, + SOMITEM_DATATYPE_DOUBLE = 0x210A, + SOMITEM_DATATYPE_DURATION = 0x210B, + SOMITEM_DATATYPE_ENTITIES = 0x210C, + SOMITEM_DATATYPE_ENTITY = 0x210D, + SOMITEM_DATATYPE_FLOAT = 0x210E, + SOMITEM_DATATYPE_HEXBINARY = 0x210F, + SOMITEM_DATATYPE_ID = 0x2110, + SOMITEM_DATATYPE_IDREF = 0x2111, + SOMITEM_DATATYPE_IDREFS = 0x2112, + SOMITEM_DATATYPE_INT = 0x2113, + SOMITEM_DATATYPE_INTEGER = 0x2114, + SOMITEM_DATATYPE_LANGUAGE = 0x2115, + SOMITEM_DATATYPE_LONG = 0x2116, + SOMITEM_DATATYPE_MONTH = 0x2117, + SOMITEM_DATATYPE_MONTHDAY = 0x2118, + SOMITEM_DATATYPE_NAME = 0x2119, + SOMITEM_DATATYPE_NCNAME = 0x211A, + SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211B, + SOMITEM_DATATYPE_NMTOKEN = 0x211C, + SOMITEM_DATATYPE_NMTOKENS = 0x211D, + SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211E, + SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211F, + SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120, + SOMITEM_DATATYPE_NOTATION = 0x2121, + SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122, + SOMITEM_DATATYPE_QNAME = 0x2123, + SOMITEM_DATATYPE_SHORT = 0x2124, + SOMITEM_DATATYPE_STRING = 0x2125, + SOMITEM_DATATYPE_TIME = 0x2126, + SOMITEM_DATATYPE_TOKEN = 0x2127, + SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128, + SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129, + SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212A, + SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212B, + SOMITEM_DATATYPE_YEAR = 0x212C, + SOMITEM_DATATYPE_YEARMONTH = 0x212D, + SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21FF, + SOMITEM_SIMPLETYPE = 0x2200, + SOMITEM_COMPLEXTYPE = 0x2400, + SOMITEM_PARTICLE = 0x4000, + SOMITEM_ANY = 0x4001, + SOMITEM_ANYATTRIBUTE = 0x4002, + SOMITEM_ELEMENT = 0x4003, + SOMITEM_GROUP = 0x4100, + SOMITEM_ALL = 0x4101, + SOMITEM_CHOICE = 0x4102, + SOMITEM_SEQUENCE = 0x4103, + SOMITEM_EMPTYPARTICLE = 0x4104, + SOMITEM_NULL = 0x0800, + SOMITEM_NULL_TYPE = 0x2800, + SOMITEM_NULL_ANY = 0x4801, + SOMITEM_NULL_ANYATTRIBUTE = 0x4802, + SOMITEM_NULL_ELEMENT = 0x4803, +} SOMITEMTYPE; + +typedef enum _SCHEMAUSE +{ + SCHEMAUSE_OPTIONAL, + SCHEMAUSE_PROHIBITED, + SCHEMAUSE_REQUIRED, +} SCHEMAUSE; + +typedef enum _SCHEMADERIVATIONMETHOD +{ + SCHEMADERIVATIONMETHOD_EMPTY = 0x0000, + SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x0001, + SCHEMADERIVATIONMETHOD_EXTENSION = 0x0002, + SCHEMADERIVATIONMETHOD_RESTRICTION = 0x0004, + SCHEMADERIVATIONMETHOD_LIST = 0x0008, + SCHEMADERIVATIONMETHOD_UNION = 0x0010, + SCHEMADERIVATIONMETHOD_ALL = 0x00FF, + SCHEMADERIVATIONMETHOD_NONE = 0x0100, +} SCHEMADERIVATIONMETHOD; + +typedef enum _SCHEMACONTENTTYPE +{ + SCHEMACONTENTTYPE_EMPTY, + SCHEMACONTENTTYPE_TEXTONLY, + SCHEMACONTENTTYPE_ELEMENTONLY, + SCHEMACONTENTTYPE_MIXED, +} SCHEMACONTENTTYPE; + +typedef enum _SCHEMAPROCESSCONTENTS +{ + SCHEMAPROCESSCONTENTS_NONE, + SCHEMAPROCESSCONTENTS_SKIP, + SCHEMAPROCESSCONTENTS_LAX, + SCHEMAPROCESSCONTENTS_STRICT, +} SCHEMAPROCESSCONTENTS; + +typedef enum _SCHEMAWHITESPACE +{ + SCHEMAWHITESPACE_NONE = -1, + SCHEMAWHITESPACE_PRESERVE = 0, + SCHEMAWHITESPACE_REPLACE = 1, + SCHEMAWHITESPACE_COLLAPSE = 2, +} SCHEMAWHITESPACE; + + +typedef enum _SCHEMATYPEVARIETY +{ + SCHEMATYPEVARIETY_NONE = -1, + SCHEMATYPEVARIETY_ATOMIC = 0, + SCHEMATYPEVARIETY_LIST = 1, + SCHEMATYPEVARIETY_UNION = 2, +} SCHEMATYPEVARIETY; + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF80-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNode : IDispatch +{ + [propget, id(DISPID_DOM_NODE_NODENAME)] + HRESULT nodeName([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_NODE_NODEVALUE)] + HRESULT nodeValue([retval, out] VARIANT *var1); + + [propput, id(DISPID_DOM_NODE_NODEVALUE)] + HRESULT nodeValue([in] VARIANT var1); + + [propget, id(DISPID_DOM_NODE_NODETYPE)] + HRESULT nodeType([retval, out] DOMNodeType *domNodeType); + + [propget, id(DISPID_DOM_NODE_PARENTNODE)] + HRESULT parentNode([retval, out] IXMLDOMNode **parent); + + [propget, id(DISPID_DOM_NODE_CHILDNODES)] + HRESULT childNodes([retval, out] IXMLDOMNodeList **outList); + + [propget, id(DISPID_DOM_NODE_FIRSTCHILD)] + HRESULT firstChild([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_LASTCHILD)] + HRESULT lastChild([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)] + HRESULT previousSibling([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_NEXTSIBLING)] + HRESULT nextSibling([retval, out] IXMLDOMNode **domNode); + + [propget, id(DISPID_DOM_NODE_ATTRIBUTES)] + HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap); + + [id(DISPID_DOM_NODE_INSERTBEFORE)] + HRESULT insertBefore( + [in] IXMLDOMNode *newNode, + [in] VARIANT var1, + [retval, out] IXMLDOMNode **outOldNode); + + [id(DISPID_DOM_NODE_REPLACECHILD)] + HRESULT replaceChild( + [in] IXMLDOMNode *newNode, + [in] IXMLDOMNode *oldNode, + [retval, out] IXMLDOMNode **outOldNode); + + [id(DISPID_DOM_NODE_REMOVECHILD)] + HRESULT removeChild( + [in] IXMLDOMNode *domNode, + [retval, out] IXMLDOMNode **oldNode); + + [id(DISPID_DOM_NODE_APPENDCHILD)] + HRESULT appendChild( + [in] IXMLDOMNode *newNode, + [retval, out] IXMLDOMNode **outNewNode); + + [id(DISPID_DOM_NODE_HASCHILDNODES)] + HRESULT hasChildNodes( + [retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_DOM_NODE_OWNERDOC)] + HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument); + + [id(DISPID_DOM_NODE_CLONENODE)] + HRESULT cloneNode( + [in] VARIANT_BOOL pbool, + [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)] + HRESULT nodeTypeString([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_NODE_TEXT)] + HRESULT text([retval, out] BSTR *p); + + [propput, id(DISPID_XMLDOM_NODE_TEXT)] + HRESULT text([in] BSTR p); + + [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)] + HRESULT specified([retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_XMLDOM_NODE_DEFINITION)] + HRESULT definition([retval,out] IXMLDOMNode **domNode); + + [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)] + HRESULT nodeTypedValue([retval, out] VARIANT *var1); + + [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)] + HRESULT nodeTypedValue([in] VARIANT var1); + + [propget, id(DISPID_XMLDOM_NODE_DATATYPE)] + HRESULT dataType([retval, out] VARIANT *var1); + + [propput, id(DISPID_XMLDOM_NODE_DATATYPE)] + HRESULT dataType([in] BSTR p); + + [propget, id(DISPID_XMLDOM_NODE_XML)] + HRESULT xml([retval, out] BSTR *p); + + [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)] + HRESULT transformNode( + [in] IXMLDOMNode *domNode, + [retval, out] BSTR *p); + + [id(DISPID_XMLDOM_NODE_SELECTNODES)] + HRESULT selectNodes( + [in] BSTR p, + [retval, out] IXMLDOMNodeList **outList); + + [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)] + HRESULT selectSingleNode( + [in] BSTR p, + [retval, out] IXMLDOMNode **outNode); + + [propget,id(DISPID_XMLDOM_NODE_PARSED)] + HRESULT parsed([retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)] + HRESULT namespaceURI([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_NODE_PREFIX)] + HRESULT prefix([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_NODE_BASENAME)] + HRESULT baseName([retval, out] BSTR *p); + + [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)] + HRESULT transformNodeToObject( + [in] IXMLDOMNode *domNode, + [in] VARIANT var1); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF81-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMDocument : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)] + HRESULT doctype([retval, out] IXMLDOMDocumentType **docType); + + [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)] + HRESULT implementation([retval, out] IXMLDOMImplementation **impl); + + [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)] + HRESULT documentElement([retval, out] IXMLDOMElement **domElement); + + [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)] + HRESULT documentElement([in] IXMLDOMElement *domElement); + + [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)] + HRESULT createElement( + [in] BSTR p, + [retval, out] IXMLDOMElement **domElement); + + [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)] + HRESULT createDocumentFragment( + [retval, out] IXMLDOMDocumentFragment **docFrag); + + [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)] + HRESULT createTextNode( + [in] BSTR p, + [retval, out] IXMLDOMText **text); + + [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)] + HRESULT createComment( + [in] BSTR p, + [retval, out] IXMLDOMComment **comment); + + [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)] + HRESULT createCDATASection( + [in] BSTR p, + [retval, out] IXMLDOMCDATASection **cdata); + + [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)] + HRESULT createProcessingInstruction( + [in] BSTR target, + [in] BSTR data, + [retval, out] IXMLDOMProcessingInstruction **pi); + + [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)] + HRESULT createAttribute( + [in] BSTR p, + [retval, out] IXMLDOMAttribute **attribute); + + [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)] + HRESULT createEntityReference( + [in] BSTR p, + [retval, out] IXMLDOMEntityReference **entityRef); + + [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( + [in] BSTR p, + [retval, out] IXMLDOMNodeList **resultList); + + [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)] + HRESULT createNode( + [in] VARIANT var, + [in] BSTR name, + [in] BSTR uri, + [retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)] + HRESULT nodeFromID( + [in] BSTR id, + [retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_DOCUMENT_LOAD)] + HRESULT load( + [in] VARIANT var1, + [retval, out] VARIANT_BOOL *pbool); + + [propget, id(DISPID_READYSTATE)] + HRESULT readyState([retval, out] LONG *value); + + [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)] + HRESULT parseError([retval, out] IXMLDOMParseError **err); + + [propget, id(DISPID_XMLDOM_DOCUMENT_URL)] + HRESULT url([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)] + HRESULT async([retval, out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)] + HRESULT async([in] VARIANT_BOOL pbool); + + [id(DISPID_XMLDOM_DOCUMENT_ABORT)] + HRESULT abort(); + + [id(DISPID_XMLDOM_DOCUMENT_LOADXML)] + HRESULT loadXML( + [in] BSTR p, + [out, retval] VARIANT_BOOL *pbool); + + [id(DISPID_XMLDOM_DOCUMENT_SAVE)] + HRESULT save( + [in] VARIANT var1); + + [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)] + HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)] + HRESULT validateOnParse([in] VARIANT_BOOL pbool); + + [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)] + HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)] + HRESULT resolveExternals([in] VARIANT_BOOL pbool); + + [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)] + HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)] + HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)] + HRESULT onreadystatechange([in] VARIANT var1); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)] + HRESULT ondataavailable([in] VARIANT var1); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)] + HRESULT ontransformnode([in] VARIANT var1); +} + +[ +local, +object, +dual, +oleautomation, +uuid (373984c8-b845-449b-91e7-45ac83036ade) +] +interface IXMLDOMSchemaCollection : IDispatch +{ + [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)] + HRESULT add( + [in] BSTR uri, + [in] VARIANT var); + + [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)] + HRESULT get( + [in] BSTR uri, + [retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)] + HRESULT remove( + [in] BSTR uri); + + [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)] + HRESULT length( + [retval, out] LONG *length); + + [propget, id(DISPID_VALUE)] + HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len); + + [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)] + HRESULT addCollection( + [in] IXMLDOMSchemaCollection *otherCollection); + + [propget, id(DISPID_NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **ppUnk); +} + +[ + local, + object, + dual, + oleautomation, + uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a), +] +interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection +{ + [id(DISPID_SOM_VALIDATE)] + HRESULT validate(); + + [propput, id(DISPID_SOM_VALIDATEONLOAD)] + HRESULT validateOnLoad( + [in] VARIANT_BOOL validateOnLoad); + + [propget, id(DISPID_SOM_VALIDATEONLOAD)] + HRESULT validateOnLoad( + [out,retval] VARIANT_BOOL* validateOnLoad); + + [id(DISPID_SOM_GETSCHEMA)] + HRESULT getSchema( + [in] BSTR namespaceURI, + [out,retval] ISchema** schema); + + [id(DISPID_SOM_GETDECLARATION)] + HRESULT getDeclaration( + [in] IXMLDOMNode* node, + [out,retval]ISchemaItem** item); +}; + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF95-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMDocument2 : IXMLDOMDocument +{ + [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)] + HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection); + + [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)] + HRESULT schemas([retval, out] VARIANT *var1); + + [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)] + HRESULT schemas([in] VARIANT var1); + + [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)] + HRESULT validate( + [retval, out] IXMLDOMParseError **err); + + [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)] + HRESULT setProperty( + [in] BSTR p, + [in] VARIANT var); + + [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)] + HRESULT getProperty( + [in] BSTR p, + [retval, out] VARIANT *var); +} + +[ + local, + object, + dual, + uuid(2933bf96-7b36-11d2-b20e-00c04f983e60), + oleautomation, +] +interface IXMLDOMDocument3 : IXMLDOMDocument2 +{ + [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)] + HRESULT validateNode( + [in] IXMLDOMNode *node, + [out, retval] IXMLDOMParseError **error); + + [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)] + HRESULT importNode( + [in] IXMLDOMNode *node, + [in] VARIANT_BOOL deep, + [out, retval] IXMLDOMNode **clone); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF82-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNodeList : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_DOM_NODELIST_LENGTH)] + HRESULT length([retval, out] LONG *lLength); + + [id(DISPID_XMLDOM_NODELIST_NEXTNODE)] + HRESULT nextNode( + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NODELIST_RESET)] + HRESULT reset(); + + [propget, id(DISPID_NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **ppUnk); +} + +[ +local, +object, +dual, +oleautomation, +uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E) +] +interface IXMLDOMSelection : IXMLDOMNodeList +{ + [propget, id(DISPID_XMLDOM_SELECTION_EXPR)] + HRESULT expr([retval, out] BSTR *p); + + [propput, id(DISPID_XMLDOM_SELECTION_EXPR)] + HRESULT expr([in] BSTR p); + + [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)] + HRESULT context([retval, out] IXMLDOMNode **ppNode); + + [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)] + HRESULT context([in] IXMLDOMNode * pNode); + + [id(DISPID_XMLDOM_SELECTION_PEEKNODE)] + HRESULT peekNode( + [retval, out] IXMLDOMNode **ppNode); + + [id(DISPID_XMLDOM_SELECTION_MATCHES)] + HRESULT matches( + [in] IXMLDOMNode *pNode, + [retval, out] IXMLDOMNode **ppNode); + + [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)] + HRESULT removeNext( + [retval, out] IXMLDOMNode **ppNode); + + [id(DISPID_XMLDOM_SELECTION_REMOVEALL)] + HRESULT removeAll(); + + [id(DISPID_XMLDOM_SELECTION_CLONE)] + HRESULT clone( + [retval, out] IXMLDOMSelection **ppNode); + + [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)] + HRESULT getProperty( + [in] BSTR p, + [retval, out] VARIANT * var); + + [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)] + HRESULT setProperty( + [in] BSTR p, + [in] VARIANT var); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF83-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNamedNodeMap : IDispatch +{ + [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)] + HRESULT getNamedItem( + [in] BSTR p, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)] + HRESULT setNamedItem( + [in] IXMLDOMNode *newNode, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)] + HRESULT removeNamedItem( + [in] BSTR p, + [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_VALUE)] + HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode); + + [propget, id(DISPID_DOM_NODELIST_LENGTH)] + HRESULT length([retval, out] LONG *lLength); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)] + HRESULT getQualifiedItem( + [in] BSTR name, + [in] BSTR uri, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)] + HRESULT removeQualifiedItem( + [in] BSTR name, + [in] BSTR uri, + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)] + HRESULT nextNode( + [retval, out] IXMLDOMNode **outNode); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)] + HRESULT reset(); + + [propget, id(DISPID_NEWENUM)] + HRESULT _newEnum([retval, out] IUnknown **ppUnk); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa413-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMDocumentFragment : IXMLDOMNode +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF84-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMCharacterData : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DATA_DATA)] + HRESULT data([retval, out] BSTR *p); + + [propput, id(DISPID_DOM_DATA_DATA)] + HRESULT data([in] BSTR data); + + [propget, id(DISPID_DOM_DATA_LENGTH)] + HRESULT length([retval, out] LONG *len); + + [id(DISPID_DOM_DATA_SUBSTRING)] + HRESULT substringData( + [in] LONG offset, + [in] LONG count, + [retval, out] BSTR *p); + + [id(DISPID_DOM_DATA_APPEND)] + HRESULT appendData( + [in] BSTR p); + + [id(DISPID_DOM_DATA_INSERT)] + HRESULT insertData( + [in] LONG offset, + [in] BSTR p); + + [id(DISPID_DOM_DATA_DELETE)] + HRESULT deleteData( + [in] LONG offset, + [in] LONG count); + + [id(DISPID_DOM_DATA_REPLACE)] + HRESULT replaceData( + [in] LONG offset, + [in] LONG count, + [in] BSTR p); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF85-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMAttribute : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)] + HRESULT name([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)] + HRESULT value([retval, out] VARIANT *var1); + + [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)] + HRESULT value([in] VARIANT var1); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF86-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMElement : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)] + HRESULT tagName([retval, out] BSTR *p); + + [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( + [in] BSTR p, + [retval, out] VARIANT *var); + + [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( + [in] BSTR p, + [in] VARIANT var); + + [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute( + [in] BSTR p); + + [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)] + HRESULT getAttributeNode( + [in] BSTR p, + [retval, out] IXMLDOMAttribute **attributeNode); + + [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)] + HRESULT setAttributeNode( + [in] IXMLDOMAttribute *domAttribute, + [retval, out] IXMLDOMAttribute **attributeNode); + + [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)] + HRESULT removeAttributeNode( + [in] IXMLDOMAttribute *domAttribute, + [retval, out] IXMLDOMAttribute **attributeNode); + + [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( + [in] BSTR p, + [retval, out] IXMLDOMNodeList **resultList); + + [id(DISPID_DOM_ELEMENT_NORMALIZE)] + HRESULT normalize(); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF87-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMText : IXMLDOMCharacterData +{ + [id(DISPID_DOM_TEXT_SPLITTEXT)] + HRESULT splitText( + [in] LONG offset, + [retval, out] IXMLDOMText **txtNode); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF88-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMComment : IXMLDOMCharacterData +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF89-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMProcessingInstruction : IXMLDOMNode +{ + [propget, id(DISPID_DOM_PI_TARGET)] + HRESULT target([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_PI_DATA)] + HRESULT data([retval, out] BSTR *p); + + [propput, id(DISPID_DOM_PI_DATA)] + HRESULT data([in] BSTR p); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMCDATASection : IXMLDOMText +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMDocumentType : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)] + HRESULT name([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)] + HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap); + + [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)] + HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMNotation : IXMLDOMNode +{ + [propget, id(DISPID_DOM_NOTATION_PUBLICID)] + HRESULT publicId([retval, out] VARIANT *id); + + [propget, id(DISPID_DOM_NOTATION_SYSTEMID)] + HRESULT systemId([retval, out] VARIANT *id); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMEntity : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ENTITY_PUBLICID)] + HRESULT publicId([retval, out] VARIANT *id1); + + [propget, id(DISPID_DOM_ENTITY_SYSTEMID)] + HRESULT systemId([retval, out] VARIANT *id1); + + [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)] + HRESULT notationName([retval, out] BSTR *p); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMEntityReference : IXMLDOMNode +{ +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60) +] +interface IXMLDOMImplementation : IDispatch +{ + [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)] + HRESULT hasFeature( + [in] BSTR feature, + [in] BSTR version, + [retval, out] VARIANT_BOOL *pbool); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa425-272f-11d2-836f-0000f87a7782) +] +interface IXTLRuntime : IXMLDOMNode +{ + [id(DISPID_XTLRUNTIME_UNIQUEID)] + HRESULT uniqueID( + [in]IXMLDOMNode *pNode, + [retval, out]LONG *pID); + + [id(DISPID_XTLRUNTIME_DEPTH)] + HRESULT depth( + [in] IXMLDOMNode *pNode, + [retval, out]LONG * pDepth); + + [id(DISPID_XTLRUNTIME_CHILDNUMBER)] + HRESULT childNumber( + [in]IXMLDOMNode *pNode, + [retval, out] LONG *pNumber); + + [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)] + HRESULT ancestorChildNumber( + [in]BSTR bstr, + [in]IXMLDOMNode *pNode, + [retval, out]LONG *pNumber); + + [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)] + HRESULT absoluteChildNumber( + [in]IXMLDOMNode *pNode, + [retval, out]LONG *pNumber); + + [id(DISPID_XTLRUNTIME_FORMATINDEX)] + HRESULT formatIndex( + [in] LONG lIndex, + [in] BSTR bstr, + [retval, out]BSTR *pbstr); + + [id(DISPID_XTLRUNTIME_FORMATNUMBER)] + HRESULT formatNumber( + [in] double dblNumber, + [in] BSTR bstr, + [retval, out]BSTR *pbstr); + + [id(DISPID_XTLRUNTIME_FORMATDATE)] + HRESULT formatDate( + [in] VARIANT var1, + [in] BSTR bstr, + [optional, in] VARIANT var2, + [retval, out]BSTR *pbstr); + + [id(DISPID_XTLRUNTIME_FORMATTIME)] + HRESULT formatTime( + [in] VARIANT var1, + [in] BSTR bstr, + [optional, in] VARIANT var2, + [retval, out]BSTR *pbstr); + +} + +[ + uuid(3efaa427-272f-11d2-836f-0000f87a7782) +] +dispinterface XMLDOMDocumentEvents +{ + properties: + methods: + [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)] + HRESULT ondataavailable(); + + [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)] + HRESULT onreadystatechange(); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF92-7B36-11d2-B20E-00C04F983E60) +] +interface IXSLProcessor : IDispatch +{ + [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)] + HRESULT input([in] VARIANT var); + + [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)] + HRESULT input([retval, out] VARIANT *var); + + [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)] + HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate); + + [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)] + HRESULT setStartMode( + [in] BSTR p, + [in, defaultvalue("")] BSTR uri); + + [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)] + HRESULT startMode([retval, out] BSTR *p); + + [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)] + HRESULT startModeURI([retval, out] BSTR *uri); + + [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)] + HRESULT output([in] VARIANT var); + + [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)] + HRESULT output([retval, out] VARIANT *var); + + [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)] + HRESULT transform( + [retval, out] VARIANT_BOOL *pbool); + + [id(DISPID_XMLDOM_PROCESSOR_RESET)] + HRESULT reset(); + + [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)] + HRESULT readyState([retval, out] LONG *pstate); + + [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)] + HRESULT addParameter( + [in] BSTR p, + [in] VARIANT var, + [in, defaultvalue("")] BSTR uri); + + [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)] + HRESULT addObject( + [in] IDispatch* obj, + [in] BSTR uri); + + [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)] + HRESULT stylesheet([retval, out] IXMLDOMNode **node); +} + +[ +local, +object, +dual, +oleautomation, +uuid (2933BF93-7B36-11d2-B20E-00C04F983E60) +] +interface IXSLTemplate : IDispatch +{ + [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)] + HRESULT stylesheet([in] IXMLDOMNode *node); + + [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)] + HRESULT stylesheet([retval, out] IXMLDOMNode **node); + + [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)] + HRESULT createProcessor( + [retval, out] IXSLProcessor **ppProcessor); +} + +[ + object, + uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8), + odl, + dual, + oleautomation, + pointer_default(unique) +] +interface IXMLHTTPRequest : IDispatch +{ + [id(1)] + HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync, + [in,optional] VARIANT username, [in,optional] VARIANT password); + + [id(2)] + HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue); + + [id(3)] + HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value); + + [id(4)] + HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders); + + [id(5)] + HRESULT send([in, optional] VARIANT body); + + [id(6)] + HRESULT abort(); + + [propget, id(7)] + HRESULT status([out, retval] LONG *pStatus); + + [propget, id(8)] + HRESULT statusText([out, retval] BSTR *pStatus); + + [propget, id(9)] + HRESULT responseXML([out, retval] IDispatch **pBody); + + [propget, id(10)] + HRESULT responseText([out, retval] BSTR *pBody); + + [propget, id(11)] + HRESULT responseBody([out, retval] VARIANT *pBody); + + [propget, id(12)] + HRESULT responseStream([out, retval] VARIANT *pBody); + + [propget, id(13)] + HRESULT readyState([out, retval] LONG *pState); + + [propput, id(14)] + HRESULT onreadystatechange([in] IDispatch *pReadyStateSink); +}; + +[ +object, +dual, +oleautomation, +uuid(2e9196bf-13ba-4dd4-91ca-6c571f281495) +] +interface IServerXMLHTTPRequest : IXMLHTTPRequest +{ + typedef enum _SERVERXMLHTTP_OPTION + { + SXH_OPTION_URL = -1, + SXH_OPTION_URL_CODEPAGE, + SXH_OPTION_ESCAPE_PERCENT_IN_URL, + SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS, + SXH_OPTION_SELECT_CLIENT_SSL_CERT + } SERVERXMLHTTP_OPTION; + + [id(15)] + HRESULT setTimeouts( + [in] long resolveTimeout, + [in] long connectTimeout, + [in] long sendTimeout, + [in] long receiveTimeout); + + [id(16)] + HRESULT waitForResponse( + [in, optional] VARIANT timeoutInSeconds, + [out, retval] VARIANT_BOOL * isSuccessful); + + [id(17)] + HRESULT getOption( + [in] SERVERXMLHTTP_OPTION option, + [out, retval] VARIANT * value); + + [id(18)] + HRESULT setOption( + [in] SERVERXMLHTTP_OPTION option, + [in] VARIANT value); +} + +[ +object, +dual, +oleautomation, +uuid(2e01311b-c322-4b0a-bd77-b90cfdc8dce7) +] +interface IServerXMLHTTPRequest2 : IServerXMLHTTPRequest +{ + typedef enum _SXH_PROXY_SETTING + { + SXH_PROXY_SET_DEFAULT = 0, + SXH_PROXY_SET_PRECONFIG = 0, + SXH_PROXY_SET_DIRECT, + SXH_PROXY_SET_PROXY + } SXH_PROXY_SETTING; + + [id(19)] + HRESULT setProxy( + [in] SXH_PROXY_SETTING proxySetting, + [in, optional] VARIANT varProxyServer, + [in, optional] VARIANT varBypassList); + + [id(20)] + HRESULT setProxyCredentials( + [in] BSTR bstrUserName, + [in] BSTR bstrPassword); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa426-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseError : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT errorCode([retval, out] LONG *errCode); + + [propget, id(DISPID_DOM_ERROR_URL)] + HRESULT url([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_REASON)] + HRESULT reason([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_SRCTEXT)] + HRESULT srcText([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_LINE)] + HRESULT line([retval, out] LONG *lineNo); + + [propget, id(DISPID_DOM_ERROR_LINEPOS)] + HRESULT linepos([retval, out] LONG * linePos); + + [propget, id(DISPID_DOM_ERROR_FILEPOS)] + HRESULT filepos([retval, out] LONG * filePos); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa428-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseError2 : IXMLDOMParseError +{ + [propget, id(DISPID_DOM_ERROR2_ERRORXPATH)] + HRESULT errorXPath([retval, out] BSTR *xpathexpr); + + [propget, id(DISPID_DOM_ERROR2_ALLERRORS)] + HRESULT allErrors([retval, out] IXMLDOMParseErrorCollection **allErrors); + + [id(DISPID_DOM_ERROR2_ERRORPARAMETERS)] + HRESULT errorParameters( + [in] long index, + [retval, out] BSTR *param); + + [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT)] + HRESULT errorParametersCount([retval, out] long *count); +} + +[ +local, +object, +dual, +oleautomation, +uuid (3efaa429-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseErrorCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item( + [in] long index, + [retval, out] IXMLDOMParseError2 **error); + + [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH)] + HRESULT length( [retval, out] long *length); + + [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT)] + HRESULT next( [retval, out] IXMLDOMParseError2 **error); + + [id(DISPID_DOM_ERRORCOLLECTION_RESET)] + HRESULT reset(); + + [propget, hidden, restricted, id(DISPID_NEWENUM)] + HRESULT _newEnum( [retval, out] IUnknown **ppunk); +} + +[ + uuid(F6D90F11-9C73-11D3-B32E-00C04F990BB4) +] +coclass DOMDocument +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f5078f1b-c551-11d3-89b9-0000f81fe221) +] +coclass DOMDocument26 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f5078f32-c551-11d3-89b9-0000f81fe221) +] +coclass DOMDocument30 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(88d969c0-f192-11d4-a65f-0040963251e5) +] +coclass DOMDocument40 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("XML DOM Document 6.0"), + progid("Msxml2.DOMDocument.6.0"), + threading(both), + uuid(88d96a05-f192-11d4-a65f-0040963251e5) +] +coclass DOMDocument60 +{ + [default] interface IXMLDOMDocument3; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(F6D90F12-9C73-11D3-B32E-00C04F990BB4) +] +coclass FreeThreadedDOMDocument +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f5078f1c-c551-11d3-89b9-0000f81fe221) +] +coclass FreeThreadedDOMDocument26 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f5078f33-c551-11d3-89b9-0000f81fe221) +] +coclass FreeThreadedDOMDocument30 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(88d969c1-f192-11d4-a65f-0040963251e5) +] +coclass FreeThreadedDOMDocument40 +{ + [default] interface IXMLDOMDocument2; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("Free threaded XML DOM Document 6.0"), + progid("Msxml2.FreeThreadedDOMDocument.6.0"), + threading(both), + uuid(88d96a06-f192-11d4-a65f-0040963251e5), +] +coclass FreeThreadedDOMDocument60 +{ + [default] interface IXMLDOMDocument3; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + uuid(f6d90f16-9c73-11d3-b32e-00c04f990bb4) +] +coclass XMLHTTP +{ + [default] interface IXMLHTTPRequest; +} + +[ + uuid(f5078f1e-c551-11d3-89b9-0000f81fe221) +] +coclass XMLHTTP26 +{ + [default] interface IXMLHTTPRequest; +} + +[ + uuid(f5078f35-c551-11d3-89b9-0000f81fe221) +] +coclass XMLHTTP30 +{ + [default] interface IXMLHTTPRequest; +} + +[ + uuid(88d969c5-f192-11d4-a65f-0040963251e5) +] +coclass XMLHTTP40 +{ + [default] interface IXMLHTTPRequest; +} + +[ + helpstring("XML HTTP 6.0"), + progid("Msxml2.XMLHTTP.6.0"), + threading(apartment), + uuid(88d96a0a-f192-11d4-a65f-0040963251e5) +] +coclass XMLHTTP60 +{ + [default] interface IXMLHTTPRequest; +} + +[ + uuid(afba6b42-5692-48ea-8141-dc517dcf0ef1) +] +coclass ServerXMLHTTP +{ + [default] interface IServerXMLHTTPRequest; +} + +[ + uuid(afb40ffd-b609-40a3-9828-f88bbe11e4e3) +] +coclass ServerXMLHTTP30 +{ + [default] interface IServerXMLHTTPRequest; +} + +[ + uuid(88d969c6-f192-11d4-a65f-0040963251e5) +] +coclass ServerXMLHTTP40 +{ + [default] interface IServerXMLHTTPRequest2; +} + +[ + helpstring("Server XML HTTP 6.0"), + progid("Msxml2.ServerXMLHTTP.6.0"), + threading(apartment), + uuid(88d96a0b-f192-11d4-a65f-0040963251e5) +] +coclass ServerXMLHTTP60 +{ + [default] interface IServerXMLHTTPRequest2; +} + +[ + uuid(373984c9-b845-449b-91e7-45ac83036ade) +] +coclass XMLSchemaCache +{ + [default] interface IXMLDOMSchemaCollection; +} + +[ + uuid(f5078f1d-c551-11d3-89b9-0000f81fe221) +] +coclass XMLSchemaCache26 +{ + [default] interface IXMLDOMSchemaCollection; +} + +[ + uuid(f5078f34-c551-11d3-89b9-0000f81fe221) +] +coclass XMLSchemaCache30 +{ + [default] interface IXMLDOMSchemaCollection; +} + +[ + uuid(88d969c2-f192-11d4-a65f-0040963251e5) +] +coclass XMLSchemaCache40 +{ + [default] interface IXMLDOMSchemaCollection2; +} + +[ + helpstring("XML Schema Cache 6.0"), + progid("Msxml2.XMLSchemaCache.6.0"), + threading(both), + uuid(88d96a07-f192-11d4-a65f-0040963251e5) +] +coclass XMLSchemaCache60 +{ + [default] interface IXMLDOMSchemaCollection2; +} + +[ + uuid(2933BF94-7B36-11d2-B20E-00C04F983E60) +] +coclass XSLTemplate +{ + [default] interface IXSLTemplate; +} + +[ + uuid(f5078f21-c551-11d3-89b9-0000f81fe221) +] +coclass XSLTemplate26 +{ + [default] interface IXSLTemplate; +} + +[ + uuid(f5078f36-c551-11d3-89b9-0000f81fe221) +] +coclass XSLTemplate30 +{ + [default] interface IXSLTemplate; +} + +[ + uuid(88d969c3-f192-11d4-a65f-0040963251e5) +] +coclass XSLTemplate40 +{ + [default] interface IXSLTemplate; +} + +[ + helpstring("XSL Template 6.0"), + progid("Msxml2.XSLTemplate.6.0"), + threading(both), + uuid(88d96a08-f192-11d4-a65f-0040963251e5) +] +coclass XSLTemplate60 +{ + [default] interface IXSLTemplate; +} + +/* + * Sax Interfaces + */ +[ + object, + local, + uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9) +] +interface ISAXAttributes : IUnknown +{ + HRESULT getLength( + [out, retval] int *length); + + HRESULT getURI( + [in] int nIndex, + [out] const WCHAR **pUrl, + [out] int *pUriSize); + + HRESULT getLocalName( + [in] int nIndex, + [out] const WCHAR **pLocalName, + [out] int *pLocalNameLength); + + HRESULT getQName( + [in] int nIndex, + [out] const WCHAR **pQName, + [out] int *pQNameLength); + + HRESULT getName( + [in] int nIndex, + [out] const WCHAR **pUri, + [out] int * pUriLength, + [out] const WCHAR ** pLocalName, + [out] int * pLocalNameSize, + [out] const WCHAR ** pQName, + [out] int * pQNameLength); + + HRESULT getIndexFromName( + [in] const WCHAR * pUri, + [in] int cUriLength, + [in] const WCHAR * pLocalName, + [in] int cocalNameLength, + [out, retval] int * index); + + HRESULT getIndexFromQName( + [in] const WCHAR * pQName, + [in] int nQNameLength, + [out, retval] int * index); + + HRESULT getType( + [in] int nIndex, + [out] const WCHAR ** pType, + [out] int * pTypeLength); + + HRESULT getTypeFromName( + [in] const WCHAR * pUri, + [in] int nUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [out] const WCHAR ** pType, + [out] int * nType); + + HRESULT getTypeFromQName( + [in] const WCHAR * pQName, + [in] int nQName, + [out] const WCHAR ** pType, + [out] int * nType); + + HRESULT getValue( + [in] int nIndex, + [out] const WCHAR ** pValue, + [out] int * nValue); + + HRESULT getValueFromName( + [in] const WCHAR * pUri, + [in] int nUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [out] const WCHAR ** pValue, + [out] int * nValue); + + HRESULT getValueFromQName( + [in] const WCHAR * pQName, + [in] int nQName, + [out] const WCHAR ** pValue, + [out] int * nValue); +}; + +[ + object, + local, + uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44) +] +interface ISAXContentHandler : IUnknown +{ + HRESULT putDocumentLocator( + [in] ISAXLocator * pLocator); + + HRESULT startDocument(); + + HRESULT endDocument(); + + HRESULT startPrefixMapping( + [in] const WCHAR * pPrefix, + [in] int nPrefix, + [in] const WCHAR * pUri, + [in] int nUri); + + HRESULT endPrefixMapping( + [in] const WCHAR * pPrefix, + [in] int nPrefix); + + HRESULT startElement( + [in] const WCHAR * pNamespaceUri, + [in] int nNamespaceUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [in] const WCHAR * pQName, + [in] int nQName, + [in] ISAXAttributes * pAttr); + + HRESULT endElement( + [in] const WCHAR * pNamespaceUri, + [in] int nNamespaceUri, + [in] const WCHAR * pLocalName, + [in] int nLocalName, + [in] const WCHAR * pQName, + [in] int nQName); + + HRESULT characters( + [in] const WCHAR * pChars, + [in] int nChars); + + HRESULT ignorableWhitespace( + [in] const WCHAR * pChars, + [in] int nChars); + + HRESULT processingInstruction( + [in] const WCHAR * pTarget, + [in] int nTarget, + [in] const WCHAR * pData, + [in] int nData); + + HRESULT skippedEntity( + [in] const WCHAR * pName, + [in] int nName); +}; + +[ + object, + local, + uuid(862629ac-771a-47b2-8337-4e6843c1be90) +] +interface ISAXDeclHandler : IUnknown +{ + HRESULT elementDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pModel, + [in] int nModel); + + HRESULT attributeDecl( + [in] const WCHAR * pElementName, + [in] int nElementName, + [in] const WCHAR * pAttributeName, + [in] int nAttributeName, + [in] const WCHAR * pType, + [in] int nType, + [in] const WCHAR * pValueDefault, + [in] int nValueDefault, + [in] const WCHAR * pValue, + [in] int nValue); + + HRESULT internalEntityDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pValue, + [in] int nValue); + + HRESULT externalEntityDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId); +}; + +[ + object, + local, + uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed) +] +interface ISAXDTDHandler : IUnknown +{ + HRESULT notationDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId); + + HRESULT unparsedEntityDecl( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId, + [in] const WCHAR * pNotationName, + [in] int nNotationName); +}; + +[ + object, + local, + uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07), +] +interface ISAXEntityResolver : IUnknown +{ + HRESULT resolveEntity( + [in] const WCHAR * pPublicId, + [in] const WCHAR * pSystemId, + [out, retval] VARIANT * ret); +}; + +[ + object, + local, + uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0) +] +interface ISAXErrorHandler : IUnknown +{ + HRESULT error( + [in] ISAXLocator * pLocator, + [in] const WCHAR * pErrorMessage, + [in] HRESULT hrErrorCode); + + HRESULT fatalError( + [in] ISAXLocator * pLocator, + [in] const WCHAR * pErrorMessage, + [in] HRESULT hrErrorCode); + + HRESULT ignorableWarning( + [in] ISAXLocator * pLocator, + [in] const WCHAR * pErrorMessage, + [in] HRESULT hrErrorCode); +}; + +[ + object, + local, + uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6) +] +interface ISAXLexicalHandler : IUnknown +{ + HRESULT startDTD( + [in] const WCHAR * pName, + [in] int nName, + [in] const WCHAR * pPublicId, + [in] int nPublicId, + [in] const WCHAR * pSystemId, + [in] int nSystemId); + + HRESULT endDTD(); + + HRESULT startEntity( + [in] const WCHAR * pName, + [in] int nName); + + HRESULT endEntity( + [in] const WCHAR * pName, + [in] int nName); + + HRESULT startCDATA(); + + HRESULT endCDATA(); + + HRESULT comment( + [in] const WCHAR * pChars, + [in] int nChars); +}; + +[ + object, + local, + uuid(9b7e472a-0de4-4640-bff3-84d38a051c31) +] +interface ISAXLocator : IUnknown +{ + HRESULT getColumnNumber( + [out, retval] int * nColumn); + + HRESULT getLineNumber( + [out, retval] int * nLine); + + HRESULT getPublicId( + [out, retval] const WCHAR ** publicId); + + HRESULT getSystemId( + [out, retval] const WCHAR ** systemId); +}; + +[ + local, + object, + uuid(70409222-ca09-4475-acb8-40312fe8d145) +] +interface ISAXXMLFilter : ISAXXMLReader +{ + HRESULT getParent( + [out, retval] ISAXXMLReader ** pReader); + HRESULT putParent( + [in] ISAXXMLReader * reader); +}; + +[ +local, +object, +uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802) +] +interface ISAXXMLReader : IUnknown +{ + HRESULT getFeature( + [in] const WCHAR * pFeature, + [out, retval] VARIANT_BOOL * pValue); + HRESULT putFeature( + [in] const WCHAR * pFeature, + [in] VARIANT_BOOL vfValue); + + HRESULT getProperty( + [in] const WCHAR * pProp, + [out, retval] VARIANT * pValue); + HRESULT putProperty( + [in] const WCHAR * pProp, + [in] VARIANT value); + + HRESULT getEntityResolver( + [out, retval] ISAXEntityResolver ** ppEntityResolver); + HRESULT putEntityResolver( + [in] ISAXEntityResolver * pEntityResolver); + + HRESULT getContentHandler( + [out, retval] ISAXContentHandler ** pContentHandler); + HRESULT putContentHandler( + [in] ISAXContentHandler * contentHandler); + + HRESULT getDTDHandler( + [out, retval] ISAXDTDHandler ** pDTDHandler); + HRESULT putDTDHandler( + [in] ISAXDTDHandler * pDTDHandler); + + HRESULT getErrorHandler( + [out, retval] ISAXErrorHandler ** pErrorHandler); + HRESULT putErrorHandler( + [in] ISAXErrorHandler * errorHandler); + + HRESULT getBaseURL( + [out, retval] const WCHAR ** pBaseUrl); + HRESULT putBaseURL( + [in] const WCHAR * pBaseUrl); + + HRESULT getSecureBaseURL( + [out, retval] const WCHAR ** pSecureBaseUrl); + HRESULT putSecureBaseURL( + [in] const WCHAR * secureBaseUrl); + + HRESULT parse( + [in] VARIANT varInput); + HRESULT parseURL( + [in] const WCHAR * url); +} + +[ + object, + dual, + oleautomation, + uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0) +] +interface IVBSAXAttributes : IDispatch +{ + [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)] + HRESULT length( [out, retval] int * nLength); + + [id(DISPID_SAX_ATTRIBUTES_GETURI)] + HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri); + + [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)] + HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName); + + [id(DISPID_SAX_ATTRIBUTES_GETQNAME)] + HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName); + + [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)] + HRESULT getIndexFromName( [in] BSTR uri, + [in] BSTR localName, [out, retval] int * nIndex); + + [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)] + HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex); + + [id(DISPID_SAX_ATTRIBUTES_GETTYPE)] + HRESULT getType( [in] int nIndex, [out, retval] BSTR * type); + + [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)] + HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName, + [out, retval] BSTR * type); + + [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)] + HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type); + + [id(DISPID_SAX_ATTRIBUTES_GETVALUE)] + HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value); + + [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)] + HRESULT getValueFromName( [in] BSTR uri, + [in] BSTR localName, + [out, retval] BSTR * value); + + [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)] + HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value); +}; + +[ + object, + dual, + oleautomation, + uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa) +] +interface IVBSAXContentHandler : IDispatch +{ + [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)] + HRESULT documentLocator( [in] IVBSAXLocator * oLocator); + + [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)] + HRESULT startDocument(); + + [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)] + HRESULT endDocument(); + + [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)] + HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri); + + [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)] + HRESULT endPrefixMapping( [in, out] BSTR * prefix); + + [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)] + HRESULT startElement( [in, out] BSTR * namespaceURI, + [in, out] BSTR * localName, + [in, out] BSTR * QName, + [in] IVBSAXAttributes * oAttributes); + + [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)] + HRESULT endElement( [in, out] BSTR * namespaceURI, + [in, out] BSTR * localName, [in, out] BSTR * strQName); + + [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)] + HRESULT characters( [in, out] BSTR * chars); + + [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)] + HRESULT ignorableWhitespace( [in, out] BSTR * chars); + + [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)] + HRESULT processingInstruction( [in, out] BSTR * target, + [in, out] BSTR * data); + + [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)] + HRESULT skippedEntity( [in, out] BSTR * name); +}; + +[ + object, + dual, + oleautomation, + uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b) +] +interface IVBSAXDeclHandler : IDispatch +{ + [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)] + HRESULT elementDecl( + [in, out] BSTR * name, + [in, out] BSTR * model); + + [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)] + HRESULT attributeDecl( + [in, out] BSTR * elementName, + [in, out] BSTR * attributeName, + [in, out] BSTR * type, + [in, out] BSTR * valueDefault, + [in, out] BSTR * value); + + [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)] + HRESULT internalEntityDecl( + [in, out] BSTR * name, + [in, out] BSTR * value); + + [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)] + HRESULT externalEntityDecl( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId); +}; + +[ + object, + dual, + oleautomation, + uuid(24fb3297-302d-4620-ba39-3a732d850558) +] +interface IVBSAXDTDHandler : IDispatch +{ + [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)] + HRESULT notationDecl( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId); + + [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)] + HRESULT unparsedEntityDecl( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId, + [in, out] BSTR * notationName); +}; + +[ + object, + dual, + oleautomation, + uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc) +] +interface IVBSAXEntityResolver : IDispatch +{ + [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)] + HRESULT resolveEntity( + [in, out] BSTR * publicId, + [in, out] BSTR * systemId, + [out, retval] VARIANT * ret); +}; + +[ + object, + dual, + oleautomation, + uuid(d963d3fe-173c-4862-9095-b92f66995f52) +] +interface IVBSAXErrorHandler : IDispatch +{ + [id(DISPID_SAX_ERRORHANDLER_ERROR)] + HRESULT error( + [in] IVBSAXLocator * locator, + [in, out] BSTR * errorMessage, + [in] LONG errorCode); + + [id(DISPID_SAX_ERRORHANDLER_FATALERROR)] + HRESULT fatalError( + [in] IVBSAXLocator * locator, + [in, out] BSTR * errorMessage, + [in] LONG errorCode); + + [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)] + HRESULT ignorableWarning( + [in] IVBSAXLocator * locator, + [in, out] BSTR * errorMessage, + [in] LONG errorCode); +}; + +[ + object, + dual, + oleautomation, + uuid(032aac35-8c0e-4d9d-979f-e3b702935576) +] +interface IVBSAXLexicalHandler : IDispatch +{ + [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)] + HRESULT startDTD( + [in, out] BSTR * name, + [in, out] BSTR * publicId, + [in, out] BSTR * systemId); + [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)] + HRESULT endDTD(); + + [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)] + HRESULT startEntity([in, out] BSTR * name); + [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)] + HRESULT endEntity([in, out] BSTR * name); + + [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)] + HRESULT startCDATA(); + [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)] + HRESULT endCDATA(); + + [id(DISPID_SAX_LEXICALHANDLER_COMMENT)] + HRESULT comment( [in, out] BSTR * chars); +}; + +[ + object, + dual, + oleautomation, + uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288) +] +interface IVBSAXLocator : IDispatch +{ + [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)] + HRESULT columnNumber( [out, retval] int * column); + + [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)] + HRESULT lineNumber( [out, retval] int * line); + + [propget, id(DISPID_SAX_LOCATOR_PUBLICID)] + HRESULT publicId( [out, retval] BSTR * publicId); + + [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)] + HRESULT systemId( [out, retval] BSTR * systemId); +}; + +[ + object, + dual, + oleautomation, + uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04) +] +interface IVBSAXXMLFilter : IDispatch +{ + [propget, id(DISPID_SAX_XMLFILTER_PARENT)] + HRESULT parent( [out, retval] IVBSAXXMLReader ** reader); + [propputref, id(DISPID_SAX_XMLFILTER_PARENT)] + HRESULT parent( [in] IVBSAXXMLReader * reader); + +}; + +[ + dual, + oleautomation, + object, + uuid (8c033caa-6cd6-4f73-b728-4531af74945f) +] +interface IVBSAXXMLReader : IDispatch +{ + [id(DISPID_SAX_XMLREADER_GETFEATURE)] + HRESULT getFeature( [in] BSTR pFeature, + [out, retval] VARIANT_BOOL * pValue); + [id(DISPID_SAX_XMLREADER_PUTFEATURE)] + HRESULT putFeature( [in] BSTR pFeature, + [in] VARIANT_BOOL vfValue); + + [id(DISPID_SAX_XMLREADER_GETPROPERTY)] + HRESULT getProperty( [in] BSTR pProp, + [out, retval] VARIANT * pValue); + [id(DISPID_SAX_XMLREADER_PUTPROPERTY)] + HRESULT putProperty( [in] BSTR pProp, [in] VARIANT value); + + [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)] + HRESULT entityResolver( + [out, retval] IVBSAXEntityResolver ** ppEntityResolver); + [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)] + HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver); + + [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)] + HRESULT contentHandler( + [out, retval] IVBSAXContentHandler ** pContentHandler); + [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)] + HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler); + + [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)] + HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler); + [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)] + HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler); + + [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)] + HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler); + [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)] + HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler); + + [propget, id(DISPID_SAX_XMLREADER_BASEURL)] + HRESULT baseURL([out, retval] BSTR *pBaseUrl); + [propput, id(DISPID_SAX_XMLREADER_BASEURL)] + HRESULT baseURL([in] BSTR pBaseUrl); + + [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)] + HRESULT secureBaseURL([out, retval] BSTR *pSecureBaseUrl); + [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)] + HRESULT secureBaseURL([in] BSTR secureBaseUrl); + + [id(DISPID_SAX_XMLREADER_PARSE)] + HRESULT parse( [in] VARIANT varInput); + [id(DISPID_SAX_XMLREADER_PARSEURL)] + HRESULT parseURL([in] BSTR url); +} + +[ + object, + dual, + oleautomation, + uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262) +] +interface IMXAttributes : IDispatch +{ + [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)] + HRESULT addAttribute( + [in] BSTR uri, + [in] BSTR localName, + [in] BSTR QName, + [in] BSTR type, + [in] BSTR value); + + [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)] + HRESULT addAttributeFromIndex( [in] VARIANT atts, + [in] int index); + + [id(DISPID_MX_ATTRIBUTES_CLEAR)] + HRESULT clear(); + + [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)] + HRESULT removeAttribute( [in] int index); + + [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)] + HRESULT setAttribute( + [in] int index, + [in] BSTR uri, + [in] BSTR localName, + [in] BSTR QName, + [in] BSTR type, + [in] BSTR value); + + [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)] + HRESULT setAttributes( [in] VARIANT atts); + + [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)] + HRESULT setLocalName( [in] int index, + [in] BSTR localName); + + [id(DISPID_MX_ATTRIBUTES_SETQNAME)] + HRESULT setQName( + [in] int index, + [in] BSTR QName); + + [id(DISPID_MX_ATTRIBUTES_SETTYPE)] + HRESULT setType( [in] int index, [in] BSTR type); + + [id(DISPID_MX_ATTRIBUTES_SETURI)] + HRESULT setURI( [in] int index, [in] BSTR uri); + + [id(DISPID_MX_ATTRIBUTES_SETVALUE)] + HRESULT setValue([in] int index, [in] BSTR value); +}; + +[ + local, + object, + dual, + oleautomation, + uuid(fa4bb38c-faf9-4cca-9302-d1dd0fe520db) +] +interface IMXSchemaDeclHandler : IDispatch +{ + [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL)] + HRESULT schemaElementDecl( [in] ISchemaElement *oSchemaElement ); +} + +[ + object, + dual, + oleautomation, + uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30) +] +interface IMXReaderControl : IDispatch +{ + [id(DISPID_MX_READER_CONTROL_ABORT)] + HRESULT abort(); + + [id(DISPID_MX_READER_CONTROL_RESUME)] + HRESULT resume(); + + [id(DISPID_MX_READER_CONTROL_SUSPEND)] + HRESULT suspend(); +}; + +[ + object, + dual, + oleautomation, + uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d) +] +interface IMXWriter : IDispatch +{ + [propput, id(DISPID_MX_WRITER_OUTPUT)] + HRESULT output ( [in] VARIANT Destination); + [propget, id(DISPID_MX_WRITER_OUTPUT)] + HRESULT output ( [out, retval] VARIANT * Destination); + + [propput, id(DISPID_MX_WRITER_ENCODING)] + HRESULT encoding ([in] BSTR encoding); + [propget, id(DISPID_MX_WRITER_ENCODING)] + HRESULT encoding ([out, retval] BSTR * encoding); + + [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)] + HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark); + [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)] + HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark); + + [propput, id(DISPID_MX_WRITER_INDENT)] + HRESULT indent ([in] VARIANT_BOOL indentMode); + [propget, id(DISPID_MX_WRITER_INDENT)] + HRESULT indent ([out, retval] VARIANT_BOOL * indentMode); + + [propput, id(DISPID_MX_WRITER_STANDALONE)] + HRESULT standalone ([in] VARIANT_BOOL value); + [propget, id(DISPID_MX_WRITER_STANDALONE)] + HRESULT standalone ([out, retval] VARIANT_BOOL * value); + + [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)] + HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value); + [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)] + HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value); + + [propput, id(DISPID_MX_WRITER_VERSION)] + HRESULT version ([in] BSTR version); + [propget, id(DISPID_MX_WRITER_VERSION)] + HRESULT version ([out, retval] BSTR * version); + + [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)] + HRESULT disableOutputEscaping([in] VARIANT_BOOL value); + [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)] + HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value); + + [id(DISPID_MX_WRITER_FLUSH)] + HRESULT flush(); +}; + +[ + local, + object, + dual, + oleautomation, + uuid(c90352f4-643c-4fbc-bb23-e996eb2d51fd) +] +interface IMXNamespacePrefixes : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item( + [in] long index, + [out, retval] BSTR *prefix); + + [propget, id(DISPID_MX_NSMGR_LENGTH)] + HRESULT length( [out,retval] long *length ); + + [propget, restricted, hidden, id(DISPID_NEWENUM)] + HRESULT _newEnum( [out, retval] IUnknown **ppUnk ); +} + +[ + local, + object, + hidden, + uuid(c90352f6-643c-4fbc-bb23-e996eb2d51fd) +] +interface IMXNamespaceManager : IUnknown +{ + HRESULT putAllowOverride([in] VARIANT_BOOL fOverride); + + HRESULT getAllowOverride([out, retval] VARIANT_BOOL *fOverride); + + HRESULT reset(); + + HRESULT pushContext(); + + HRESULT pushNodeContext( + [in] IXMLDOMNode *contextNode, + [in] VARIANT_BOOL fDeep); + + HRESULT popContext(); + + HRESULT declarePrefix( + [in] const WCHAR *prefix, + [in] const WCHAR *namespaceURI); + + HRESULT getDeclaredPrefix( + [in] long nIndex, + [in, out] WCHAR *pwchPrefix, + [in, out] int *pcchPrefix); + + HRESULT getPrefix( + [in] const WCHAR *pwszNamespaceURI, + [in] long nIndex, + [in, out] WCHAR *pwchPrefix, + [in, out] int *pcchPrefix); + + HRESULT getURI( + [in] const WCHAR *pwchPrefix, + [in] IXMLDOMNode* pContextNode, + [in, out] WCHAR *pwchUri, + [in, out] int *pcchUri); +} + +[ + local, + object, + dual, + oleautomation, + uuid(c90352f5-643c-4fbc-bb23-e996eb2d51fd) +] +interface IVBMXNamespaceManager : IDispatch +{ + [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)] + HRESULT allowOverride([in] VARIANT_BOOL fOverride); + + [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)] + HRESULT allowOverride([out,retval] VARIANT_BOOL* fOverride); + + [id(DISPID_MX_NSMGR_RESET)] + HRESULT reset(); + + [id(DISPID_MX_NSMGR_PUSHCONTEXT)] + HRESULT pushContext(); + + [id(DISPID_MX_NSMGR_PUSHNODECONTEXT)] + HRESULT pushNodeContext( + [in] IXMLDOMNode* contextNode, + [in, defaultvalue(-1)] VARIANT_BOOL fDeep); + + [id(DISPID_MX_NSMGR_POPCONTEXT)] + HRESULT popContext(); + + [id(DISPID_MX_NSMGR_DECLAREPREFIX)] + HRESULT declarePrefix( + [in] BSTR prefix, + [in] BSTR namespaceURI); + + [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES)] + HRESULT getDeclaredPrefixes([out, retval] IMXNamespacePrefixes** prefixes); + + [id(DISPID_MX_NSMGR_GETPREFIXES)] + HRESULT getPrefixes( + [in] BSTR namespaceURI, + [out, retval] IMXNamespacePrefixes** prefixes); + + [id(DISPID_MX_NSMGR_GETURI)] + HRESULT getURI( + [in] BSTR prefix, + [out, retval] VARIANT* uri); + + [id(DISPID_MX_NSMGR_GETURIFROMNODE)] + HRESULT getURIFromNode( + [in] BSTR strPrefix, + [in] IXMLDOMNode* contextNode, + [out, retval] VARIANT* uri); +} + +[ + local, + object, + dual, + oleautomation, + uuid(c90352f7-643c-4fbc-bb23-e996eb2d51fd) +] +interface IMXXMLFilter : IDispatch +{ + [id(DISPID_MXXML_FILTER_GETFEATURE)] + HRESULT getFeature( + [in] BSTR strName, + [out, retval] VARIANT_BOOL * fValue); + + [id(DISPID_MXXML_FILTER_PUTFEATURE)] + HRESULT putFeature( + [in] BSTR strName, + [in] VARIANT_BOOL fValue); + + [id(DISPID_MXXML_FILTER_GETPROPERTY)] + HRESULT getProperty( + [in] BSTR strName, + [out, retval] VARIANT * varValue); + + [id(DISPID_MXXML_FILTER_PUTPROPERTY)] + HRESULT putProperty( + [in] BSTR strName, + [in] VARIANT varValue); + + [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propget] + HRESULT entityResolver( [out, retval] IUnknown **oResolver ); + + [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propputref] + HRESULT entityResolver( [in] IUnknown *oResolver ); + + [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propget] + HRESULT contentHandler( [out, retval] IUnknown **oHandler ); + + [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propputref] + HRESULT contentHandler( [in] IUnknown *oHandler ); + + [id(DISPID_MXXML_FILTER_DTDHANDLER), propget] + HRESULT dtdHandler( [out, retval] IUnknown **oHandler ); + + [id(DISPID_MXXML_FILTER_DTDHANDLER), propputref] + HRESULT dtdHandler( [in] IUnknown *oHandler ); + + [id(DISPID_MXXML_FILTER_ERRORHANDLER), propget] + HRESULT errorHandler( [out, retval] IUnknown **oHandler ); + + [id(DISPID_MXXML_FILTER_ERRORHANDLER), propputref] + HRESULT errorHandler( [in] IUnknown *oHandler ); +} + +[ + local, + object, + uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaStringCollection : IDispatch +{ + [id(DISPID_VALUE), propget] + HRESULT item( + [in] long index, + [out,retval] BSTR* bstr); + + [id(DISPID_SOM_LENGTH), propget] + HRESULT length( + [out,retval] long* length); + + [id(DISPID_NEWENUM), hidden, restricted, propget] + HRESULT _newEnum( + [out,retval] IUnknown** ppunk); +}; + +[ + local, + object, + uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaItemCollection : IDispatch +{ + [id(DISPID_VALUE), propget] + HRESULT item( + [in] long index, + [out,retval]ISchemaItem** item); + + [id(DISPID_SOM_ITEMBYNAME)] + HRESULT itemByName( + [in] BSTR name, + [out,retval] ISchemaItem** item); + + [id(DISPID_SOM_ITEMBYQNAME)] + HRESULT itemByQName( + [in] BSTR name, + [in] BSTR namespaceURI, + [out,retval] ISchemaItem** item); + + [id(DISPID_SOM_LENGTH), propget] + HRESULT length( + [out,retval]long* length); + + [id(DISPID_NEWENUM), hidden, restricted, propget] + HRESULT _newEnum( + [out,retval]IUnknown** ppunk); +}; + +[ + local, + object, + uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaItem : IDispatch +{ + [id(DISPID_SOM_NAME), propget] + HRESULT name( + [out,retval] BSTR* name); + + [id(DISPID_SOM_NAMESPACEURI), propget] + HRESULT namespaceURI( + [out,retval] BSTR* namespaceURI); + + [id(DISPID_SOM_SCHEMA), propget] + HRESULT schema( + [out,retval] ISchema** schema); + + [id(DISPID_SOM_ID), propget] + HRESULT id( + [out,retval] BSTR* id); + + [id(DISPID_SOM_ITEMTYPE), propget] + HRESULT itemType( + [out,retval] SOMITEMTYPE* itemType); + + [id(DISPID_SOM_UNHANDLEDATTRS), propget] + HRESULT unhandledAttributes( + [out,retval] IVBSAXAttributes** attributes); + + [id(DISPID_SOM_WRITEANNOTATION)] + HRESULT writeAnnotation( + [in] IUnknown* annotationSink, + [out,retval] VARIANT_BOOL* isWritten); +}; + +[ + local, + object, + uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchema : ISchemaItem +{ + [id(DISPID_SOM_TARGETNAMESPACE), propget] + HRESULT targetNamespace( + [out,retval] BSTR* targetNamespace); + + [id(DISPID_SOM_VERSION), propget] + HRESULT version( + [out,retval] BSTR* version); + + [id(DISPID_SOM_TYPES), propget] + HRESULT types( + [out,retval] ISchemaItemCollection** types); + + [id(DISPID_SOM_ELEMENTS), propget] + HRESULT elements( + [out,retval] ISchemaItemCollection** elements); + + [id(DISPID_SOM_ATTRIBUTES), propget] + HRESULT attributes( + [out,retval] ISchemaItemCollection** attributes); + + [id(DISPID_SOM_ATTRIBUTEGROUPS), propget] + HRESULT attributeGroups( + [out,retval] ISchemaItemCollection** attributeGroups); + + [id(DISPID_SOM_MODELGROUPS), propget] + HRESULT modelGroups( + [out,retval] ISchemaItemCollection** modelGroups); + + [id(DISPID_SOM_NOTATIONS), propget] + HRESULT notations( + [out,retval] ISchemaItemCollection** notations); + + [id(DISPID_SOM_SCHEMALOCATIONS), propget] + HRESULT schemaLocations( + [out,retval] ISchemaStringCollection** schemaLocations); +}; + +[ + local, + object, + uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaParticle : ISchemaItem +{ + [id(DISPID_SOM_MINOCCURS), propget] + HRESULT minOccurs( + [out,retval] VARIANT* minOccurs); + + [id(DISPID_SOM_MAXOCCURS), propget] + HRESULT maxOccurs( + [out,retval] VARIANT* maxOccurs); +}; + +[ + object, + uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaAttribute : ISchemaItem +{ + [id(DISPID_SOM_TYPE), propget] + HRESULT type( + [out,retval] ISchemaType** type); + + [id(DISPID_SOM_SCOPE), propget] + HRESULT scope( + [out,retval] ISchemaComplexType** scope); + + [id(DISPID_SOM_DEFAULTVALUE), propget] + HRESULT defaultValue( + [out,retval]BSTR* defaultValue); + + [id(DISPID_SOM_FIXEDVALUE), propget] + HRESULT fixedValue( + [out,retval] BSTR* fixedValue); + + [id(DISPID_SOM_USE), propget] + HRESULT use( + [out,retval] SCHEMAUSE* use); + + [id(DISPID_SOM_ISREFERENCE), propget] + HRESULT isReference( + [out,retval] VARIANT_BOOL* reference); +}; + +[ + local, + object, + uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaElement : ISchemaParticle +{ + [id(DISPID_SOM_TYPE), propget] + HRESULT type( + [out,retval] ISchemaType** type); + + [id(DISPID_SOM_SCOPE), propget] + HRESULT scope( + [out,retval] ISchemaComplexType** scope); + + [id(DISPID_SOM_DEFAULTVALUE), propget] + HRESULT defaultValue( + [out,retval] BSTR* defaultValue); + + [id(DISPID_SOM_FIXEDVALUE), propget] + HRESULT fixedValue( + [out,retval] BSTR* fixedValue); + + [id(DISPID_SOM_ISNILLABLE), propget] + HRESULT isNillable( + [out,retval] VARIANT_BOOL* nillable); + + [id(DISPID_SOM_IDCONSTRAINTS), propget] + HRESULT identityConstraints( + [out,retval] ISchemaItemCollection** constraints); + + [id(DISPID_SOM_SUBSTITUTIONGROUP), propget] + HRESULT substitutionGroup( + [out,retval] ISchemaElement** element); + + [id(DISPID_SOM_EXCLUSIONS), propget] + HRESULT substitutionGroupExclusions( + [out,retval] SCHEMADERIVATIONMETHOD* exclusions); + + [id(DISPID_SOM_DISALLOWED), propget] + HRESULT disallowedSubstitutions( + [out,retval] SCHEMADERIVATIONMETHOD* disallowed); + + [id(DISPID_SOM_ISABSTRACT), propget] + HRESULT isAbstract( + [out,retval] VARIANT_BOOL* abstract); + + [id(DISPID_SOM_ISREFERENCE), propget] + HRESULT isReference( + [out,retval] VARIANT_BOOL* reference); +}; + +[ + local, + object, + uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaType : ISchemaItem +{ + [id(DISPID_SOM_BASETYPES), propget] + HRESULT baseTypes( + [out,retval] ISchemaItemCollection** baseTypes); + + [id(DISPID_SOM_FINAL), propget] + HRESULT final( + [out,retval] SCHEMADERIVATIONMETHOD* final); + + [id(DISPID_SOM_VARIETY), propget] + HRESULT variety( + [out,retval] SCHEMATYPEVARIETY* variety); + + [id(DISPID_SOM_DERIVEDBY), propget] + HRESULT derivedBy( + [out,retval] SCHEMADERIVATIONMETHOD* derivedBy); + + [id(DISPID_SOM_ISVALID)] + HRESULT isValid( + [in] BSTR data, + [out,retval] VARIANT_BOOL* valid); + + [id(DISPID_SOM_MINEXCLUSIVE), propget] + HRESULT minExclusive( + [out,retval]BSTR* minExclusive); + + [id(DISPID_SOM_MININCLUSIVE), propget] + HRESULT minInclusive( + [out,retval] BSTR* minInclusive); + + [id(DISPID_SOM_MAXEXCLUSIVE), propget] + HRESULT maxExclusive( + [out,retval] BSTR* maxExclusive); + + [id(DISPID_SOM_MAXINCLUSIVE), propget] + HRESULT maxInclusive( + [out,retval] BSTR* maxInclusive); + + [id(DISPID_SOM_TOTALDIGITS), propget] + HRESULT totalDigits( + [out,retval] VARIANT* totalDigits); + + [id(DISPID_SOM_FRACTIONDIGITS), propget] + HRESULT fractionDigits( + [out,retval] VARIANT* fractionDigits); + + [id(DISPID_SOM_LENGTH), propget] + HRESULT length( + [out,retval] VARIANT* length); + + [id(DISPID_SOM_MINLENGTH), propget] + HRESULT minLength( + [out,retval]VARIANT* minLength); + + [id(DISPID_SOM_MAXLENGTH), propget] + HRESULT maxLength( + [out,retval]VARIANT* maxLength); + + [id(DISPID_SOM_ENUMERATION), propget] + HRESULT enumeration( + [out,retval] ISchemaStringCollection** enumeration); + + [id(DISPID_SOM_WHITESPACE), propget] + HRESULT whitespace( + [out,retval]SCHEMAWHITESPACE* whitespace); + + [id(DISPID_SOM_PATTERNS), propget] + HRESULT patterns( + [out,retval] ISchemaStringCollection** patterns); +}; + +[ + local, + object, + uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaComplexType : ISchemaType +{ + [id(DISPID_SOM_ISABSTRACT), propget] + HRESULT isAbstract( + [out,retval] VARIANT_BOOL* abstract); + + [id(DISPID_SOM_ANYATTRIBUTE), propget] + HRESULT anyAttribute( + [out,retval] ISchemaAny** anyAttribute); + + [id(DISPID_SOM_ATTRIBUTES), propget] + HRESULT attributes( + [out,retval] ISchemaItemCollection** attributes); + + [id(DISPID_SOM_CONTENTTYPE), propget] + HRESULT contentType( + [out,retval] SCHEMACONTENTTYPE* contentType); + + [id(DISPID_SOM_CONTENTMODEL), propget] + HRESULT contentModel( + [out,retval] ISchemaModelGroup** contentModel); + + [id(DISPID_SOM_PROHIBITED), propget] + HRESULT prohibitedSubstitutions( + [out,retval] SCHEMADERIVATIONMETHOD* prohibited); +}; + +[ + local, + object, + uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaAttributeGroup : ISchemaItem +{ + [id(DISPID_SOM_ANYATTRIBUTE), propget] + HRESULT anyAttribute( + [out,retval] ISchemaAny** anyAttribute); + + [id(DISPID_SOM_ATTRIBUTES), propget] + HRESULT attributes( + [out,retval] ISchemaItemCollection** attributes); +}; + +[ + local, + object, + uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual, +] +interface ISchemaModelGroup : ISchemaParticle +{ + [id(DISPID_SOM_PARTICLES), propget] + HRESULT particles( + [out,retval] ISchemaItemCollection** particles); +}; + +[ + local, + object, + uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaAny : ISchemaParticle +{ + [id(DISPID_SOM_NAMESPACES), propget] + HRESULT namespaces( + [out,retval] ISchemaStringCollection** namespaces); + + [id(DISPID_SOM_PROCESSCONTENTS), propget] + HRESULT processContents( + [out,retval] SCHEMAPROCESSCONTENTS* processContents); +}; + +[ + local, + object, + uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaIdentityConstraint : ISchemaItem +{ + [id(DISPID_SOM_SELECTOR), propget] + HRESULT selector( + [out,retval] BSTR* selector); + + [id(DISPID_SOM_FIELDS), propget] + HRESULT fields( + [out,retval] ISchemaStringCollection** fields); + + [id(DISPID_SOM_REFERENCEDKEY), propget] + HRESULT referencedKey( + [out,retval] ISchemaIdentityConstraint** key); +}; + +[ + local, + object, + uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a), + oleautomation, + dual +] +interface ISchemaNotation : ISchemaItem +{ + [id(DISPID_SOM_SYSTEMIDENTIFIER), propget] + HRESULT systemIdentifier( + [out,retval] BSTR* uri); + + [id(DISPID_SOM_PUBLICIDENTIFIER), propget] + HRESULT publicIdentifier( + [out,retval] BSTR* uri); +}; + + +[ + uuid(079aa557-4a18-424a-8eee-e39f0a8d41b9) +] +coclass SAXXMLReader +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; + interface IMXReaderControl; +}; + +[ + uuid(3124c396-fb13-4836-a6ad-1317f1713688) +] +coclass SAXXMLReader30 +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; + interface IMXReaderControl; +}; + +[ + uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f) +] +coclass SAXXMLReader40 +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; +} + +[ + helpstring("SAX XML Reader 6.0"), + progid("Msxml2.SAXXMLReader.6.0"), + threading(both), + uuid(88d96a0c-f192-11d4-a65f-0040963251e5) +] +coclass SAXXMLReader60 +{ + [default] interface IVBSAXXMLReader; + interface ISAXXMLReader; +} + +[ + uuid(a4c23ec3-6b70-4466-9127-550077239978) +] +coclass MXHTMLWriter +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXErrorHandler; + interface ISAXDTDHandler; + interface ISAXLexicalHandler; + interface ISAXDeclHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(853d1540-c1a7-4aa9-a226-4d3bd301146d) +] +coclass MXHTMLWriter30 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(88d969c9-f192-11d4-a65f-0040963251e5) +] +coclass MXHTMLWriter40 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + helpstring("MXHTMLWriter 6.0"), + progid("Msxml2.MXHTMLWriter.6.0"), + threading(both), + uuid(88d96a10-f192-11d4-a65f-0040963251e5) +] +coclass MXHTMLWriter60 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020) +] +coclass MXXMLWriter +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXErrorHandler; + interface ISAXDTDHandler; + interface ISAXLexicalHandler; + interface ISAXDeclHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +}; + +[ + uuid(3d813dfe-6c91-4a4e-8f41-04346a841d9c) +] +coclass MXXMLWriter30 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +}; + +[ + uuid(88d969c8-f192-11d4-a65f-0040963251e5), +] +coclass MXXMLWriter40 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + helpstring("MXXMLWriter 6.0"), + progid("Msxml2.MXXMLWriter.6.0"), + threading(both), + uuid(88d96a0f-f192-11d4-a65f-0040963251e5) +] +coclass MXXMLWriter60 +{ + [default] interface IMXWriter; + + interface ISAXContentHandler; + interface ISAXDeclHandler; + interface ISAXDTDHandler; + interface ISAXErrorHandler; + interface ISAXLexicalHandler; + + interface IVBSAXContentHandler; + interface IVBSAXDeclHandler; + interface IVBSAXDTDHandler; + interface IVBSAXErrorHandler; + interface IVBSAXLexicalHandler; +} + +[ + uuid(88d969d5-f192-11d4-a65f-0040963251e5) +] +coclass MXNamespaceManager +{ + [default] interface IVBMXNamespaceManager; + interface IMXNamespaceManager; +} + +[ + uuid(88d969d6-f192-11d4-a65f-0040963251e5) +] +coclass MXNamespaceManager40 +{ + [default] interface IVBMXNamespaceManager; + interface IMXNamespaceManager; +} + +[ + helpstring("MXNamespaceManager 6.0"), + progid("Msxml2.MXNamespaceManager.6.0"), + threading(both), + uuid(88d96a11-f192-11d4-a65f-0040963251e5) +] +coclass MXNamespaceManager60 +{ + [default] interface IVBMXNamespaceManager; + interface IMXNamespaceManager; +} + +[ + uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0) +] +coclass SAXAttributes +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +[ + uuid(3e784a01-f3ae-4dc0-9354-9526b9370eba) +] +coclass SAXAttributes30 +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +[ + uuid(88d969ca-f192-11d4-a65f-0040963251e5), +] +coclass SAXAttributes40 +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +[ + helpstring("SAXAttributes 6.0"), + progid("Msxml2.SAXAttributes.6.0"), + threading(both), + uuid(88d96a0e-f192-11d4-a65f-0040963251e5) +] +coclass SAXAttributes60 +{ + [default] interface IMXAttributes; + interface IVBSAXAttributes; + interface ISAXAttributes; +} + +/* + * Error Codes + */ +cpp_quote("#define E_XML_NOTWF 0xC00CE223") +cpp_quote("#define E_XML_NODTD 0xC00CE224") +cpp_quote("#define E_XML_INVALID 0xC00CE225") +cpp_quote("#define E_XML_BUFFERTOOSMALL 0xC00CE226") + +} /* Library MSXML */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6did.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6did.h new file mode 100644 index 0000000..1e52578 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxml6did.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2010 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __MSXML6DID_H__ +#define __MSXML6DID_H__ + +#include + +#endif /* __MSXML6DID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxmldid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxmldid.h new file mode 100644 index 0000000..aa83673 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/msxmldid.h @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __MSXMLDID_H__ +#define __MSXMLDID_H__ + +#define DISPID_XOBJ_MIN 0x10000 +#define DISPID_XOBJ_MAX 0x1FFFF +#define DISPID_XOBJ_BASE 0x10000 + +#define DISPID_XMLELEMENTCOLLECTION 0x10000 +#define DISPID_XMLELEMENTCOLLECTION_LENGTH 0x10001 +#define DISPID_XMLELEMENTCOLLECTION_NEWENUM DISPID_NEWENUM +#define DISPID_XMLELEMENTCOLLECTION_ITEM 0x10003 + +#define DISPID_XMLDOCUMENT 0x10064 +#define DISPID_XMLDOCUMENT_ROOT 0x10065 +#define DISPID_XMLDOCUMENT_FILESIZE 0x10066 +#define DISPID_XMLDOCUMENT_FILEMODIFIEDDATE 0x10067 +#define DISPID_XMLDOCUMENT_FILEUPDATEDDATE 0x10068 +#define DISPID_XMLDOCUMENT_URL 0x10069 +#define DISPID_XMLDOCUMENT_MIMETYPE 0x1006a +#define DISPID_XMLDOCUMENT_READYSTATE 0x1006b +#define DISPID_XMLDOCUMENT_CREATEELEMENT 0x1006c +#define DISPID_XMLDOCUMENT_CHARSET 0x1006d +#define DISPID_XMLDOCUMENT_VERSION 0x1006e +#define DISPID_XMLDOCUMENT_DOCTYPE 0x1006f +#define DISPID_XMLDOCUMENT_DTDURL 0x10070 +#define DISPID_XMLDOCUMENT_ASYNC 0x10071 +#define DISPID_XMLDOCUMENT_CASEINSENSITIVE 0x10072 + +#define DISPID_XMLELEMENT 0x100c8 +#define DISPID_XMLELEMENT_TAGNAME 0x100c9 +#define DISPID_XMLELEMENT_PARENT 0x100ca +#define DISPID_XMLELEMENT_SETATTRIBUTE 0x100cb +#define DISPID_XMLELEMENT_GETATTRIBUTE 0x100cc +#define DISPID_XMLELEMENT_REMOVEATTRIBUTE 0x100cd +#define DISPID_XMLELEMENT_CHILDREN 0x100ce +#define DISPID_XMLELEMENT_TYPE 0x100cf +#define DISPID_XMLELEMENT_TEXT 0x100d0 +#define DISPID_XMLELEMENT_ADDCHILD 0x100d1 +#define DISPID_XMLELEMENT_REMOVECHILD 0x100d2 +#define DISPID_XMLELEMENT_ATTRIBUTES 0x100d3 + +#define DISPID_XMLNOTIFSINK 0x1012c +#define DISPID_XMLNOTIFSINK_CHILDADDED 0x1012d + +#define DISPID_XMLATTRIBUTE 0x10190 +#define DISPID_XMLATTRIBUTE_NAME 0x10191 +#define DISPID_XMLATTRIBUTE_VALUE 0x10192 + +#endif /* __MSXMLDID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mtxdm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mtxdm.h new file mode 100644 index 0000000..94098ea --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/mtxdm.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __MTXDM_H__ +#define __MTXDM_H__ + +#include "comsvcs.h" + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT CDECL GetDispenserManager(IDispenserManager**); + +#ifdef __cplusplus +} +#endif + + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/multimon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/multimon.h new file mode 100644 index 0000000..22f00ab --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/multimon.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2017 Alex Henrie + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* This file intentionally left blank */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nb30.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nb30.h new file mode 100644 index 0000000..0a2336e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nb30.h @@ -0,0 +1,222 @@ +/* + * Copyright (C) 2001 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef NCB_INCLUDED +#define NCB_INCLUDED + +#ifdef __cplusplus +extern "C" { +#endif + +#define NCBNAMSZ 16 +#define MAX_LANA 0xfe + +#define NCBCALL 0x10 +#define NCBLISTEN 0x11 +#define NCBHANGUP 0x12 +#define NCBSEND 0x14 +#define NCBRECV 0x15 +#define NCBRECVANY 0x16 +#define NCBCHAINSEND 0x17 +#define NCBDGSEND 0x20 +#define NCBDGRECV 0x21 +#define NCBDGSENDBC 0x22 +#define NCBDGRECVBC 0x23 +#define NCBADDNAME 0x30 +#define NCBDELNAME 0x31 +#define NCBRESET 0x32 +#define NCBASTAT 0x33 +#define NCBSSTAT 0x34 +#define NCBCANCEL 0x35 +#define NCBADDGRNAME 0x36 +#define NCBENUM 0x37 +#define NCBUNLINK 0x70 +#define NCBSENDNA 0x71 +#define NCBCHAINSENDNA 0x72 +#define NCBLANSTALERT 0x73 +#define NCBACTION 0x77 +#define NCBFINDNAME 0x78 +#define NCBTRACE 0x79 + +#define ASYNCH 0x80 + +typedef struct _NCB +{ + UCHAR ncb_command; + UCHAR ncb_retcode; + UCHAR ncb_lsn; + UCHAR ncb_num; + PUCHAR ncb_buffer; + WORD ncb_length; + UCHAR ncb_callname[NCBNAMSZ]; + UCHAR ncb_name[NCBNAMSZ]; + UCHAR ncb_rto; + UCHAR ncb_sto; + VOID (CALLBACK *ncb_post)(struct _NCB *); + UCHAR ncb_lana_num; + UCHAR ncb_cmd_cplt; +#ifdef _WIN64 + UCHAR ncb_reserve[18]; +#else + UCHAR ncb_reserve[10]; +#endif + HANDLE ncb_event; +} NCB, *PNCB; + +typedef struct _ADAPTER_STATUS +{ + UCHAR adapter_address[6]; + UCHAR rev_major; + UCHAR reserved0; + UCHAR adapter_type; + UCHAR rev_minor; + WORD duration; + WORD frmr_recv; + WORD frmr_xmit; + WORD iframe_recv_error; + WORD xmit_aborts; + DWORD xmit_success; + DWORD recv_success; + WORD iframe_xmit_error; + WORD recv_buffer_unavail; + WORD t1_timeouts; + WORD ti_timeouts; + DWORD reserved1; + WORD free_ncbs; + WORD max_cfg_ncbs; + WORD max_ncbs; + WORD xmit_buf_unavail; + WORD max_dgram_size; + WORD pending_sess; + WORD max_cfg_sess; + WORD max_sess; + WORD max_sess_pkt_size; + WORD name_count; +} ADAPTER_STATUS, *PADAPTER_STATUS; + +typedef struct _NAME_BUFFER +{ + UCHAR name[NCBNAMSZ]; + UCHAR name_num; + UCHAR name_flags; +} NAME_BUFFER, *PNAME_BUFFER; + +#define NAME_FLAGS_MASK 0x87 +#define GROUP_NAME 0x80 +#define UNIQUE_NAME 0x00 +#define REGISTERING 0x00 +#define REGISTERED 0x04 +#define DEREGISTERED 0x05 +#define DUPLICATE 0x06 +#define DUPLICATE_DEREG 0x07 + +typedef struct _LANA_ENUM +{ + UCHAR length; + UCHAR lana[MAX_LANA+1]; +} LANA_ENUM, *PLANA_ENUM; + +typedef struct _FIND_NAME_HEADER +{ + WORD node_count; + UCHAR reserved; + UCHAR unique_group; +} FIND_NAME_HEADER, *PFIND_NAME_HEADER; + +typedef struct _FIND_NAME_BUFFER +{ + UCHAR length; + UCHAR access_control; + UCHAR frame_control; + UCHAR destination_addr[6]; + UCHAR source_addr[6]; + UCHAR routing_info[6]; +} FIND_NAME_BUFFER, *PFIND_NAME_BUFFER; + +typedef struct _SESSION_HEADER { + UCHAR sess_name; + UCHAR num_sess; + UCHAR rcv_dg_outstanding; + UCHAR rcv_any_outstanding; +} SESSION_HEADER, *PSESSION_HEADER; + +typedef struct _SESSION_BUFFER { + UCHAR lsn; + UCHAR state; + UCHAR local_name[NCBNAMSZ]; + UCHAR remote_name[NCBNAMSZ]; + UCHAR rcvs_outstanding; + UCHAR sends_outstanding; +} SESSION_BUFFER, *PSESSION_BUFFER; + +#define LISTEN_OUTSTANDING 0x01 +#define CALL_PENDING 0x02 +#define SESSION_ESTABLISHED 0x03 +#define HANGUP_PENDING 0x04 +#define HANGUP_COMPLETE 0x05 +#define SESSION_ABORTED 0x06 + +#define ALL_TRANSPORTS "M\0\0\0" + +#define NRC_GOODRET 0x00 +#define NRC_BUFLEN 0x01 +#define NRC_ILLCMD 0x03 +#define NRC_CMDTMO 0x05 +#define NRC_INCOMP 0x06 +#define NRC_BADDR 0x07 +#define NRC_SNUMOUT 0x08 +#define NRC_NORES 0x09 +#define NRC_SCLOSED 0x0a +#define NRC_CMDCAN 0x0b +#define NRC_DUPNAME 0x0d +#define NRC_NAMTFUL 0x0e +#define NRC_ACTSES 0x0f +#define NRC_LOCTFUL 0x11 +#define NRC_REMTFUL 0x12 +#define NRC_ILLNN 0x13 +#define NRC_NOCALL 0x14 +#define NRC_NOWILD 0x15 +#define NRC_INUSE 0x16 +#define NRC_NAMERR 0x17 +#define NRC_SABORT 0x18 +#define NRC_NAMCONF 0x19 +#define NRC_IFBUSY 0x21 +#define NRC_TOOMANY 0x22 +#define NRC_BRIDGE 0x23 +#define NRC_CANOCCR 0x24 +#define NRC_CANCEL 0x26 +#define NRC_DUPENV 0x30 +#define NRC_ENVNOTDEF 0x34 +#define NRC_OSRESNOTAV 0x35 +#define NRC_MAXAPPS 0x36 +#define NRC_NOSAPS 0x37 +#define NRC_NORESOURCES 0x38 +#define NRC_INVADDRESS 0x39 +#define NRC_INVDDID 0x3b +#define NRC_LOCKFAIL 0x3c +#define NRC_OPENERROR 0x3f +#define NRC_SYSTEM 0x40 +#define NRC_PENDING 0xff + +UCHAR WINAPI Netbios(PNCB pncb); + +#ifdef __cplusplus +} +#endif + +#endif /* NCB_INCLUDED */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ncrypt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ncrypt.h new file mode 100644 index 0000000..2bfdae0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ncrypt.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2016 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __NCRYPT_H__ +#define __NCRYPT_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef WINAPI +#define WINAPI __stdcall +#endif + +#ifndef __SECSTATUS_DEFINED__ +typedef LONG SECURITY_STATUS; +#define __SECSTATUS_DEFINED__ +#endif + +typedef ULONG_PTR NCRYPT_HANDLE; +typedef ULONG_PTR NCRYPT_PROV_HANDLE; +typedef ULONG_PTR NCRYPT_KEY_HANDLE; +typedef ULONG_PTR NCRYPT_HASH_HANDLE; +typedef ULONG_PTR NCRYPT_SECRET_HANDLE; + +SECURITY_STATUS WINAPI NCryptCreatePersistedKey(NCRYPT_PROV_HANDLE, NCRYPT_KEY_HANDLE *, const WCHAR *, const WCHAR *, DWORD, DWORD); +SECURITY_STATUS WINAPI NCryptDecrypt(NCRYPT_KEY_HANDLE, BYTE *, DWORD, void *, BYTE *, DWORD, DWORD *, DWORD); +SECURITY_STATUS WINAPI NCryptEncrypt(NCRYPT_KEY_HANDLE, BYTE *, DWORD, void *, BYTE *, DWORD, DWORD *, DWORD); +SECURITY_STATUS WINAPI NCryptFinalizeKey(NCRYPT_KEY_HANDLE, DWORD); +SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE); +SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE, NCRYPT_KEY_HANDLE *, const WCHAR *, DWORD, DWORD); +SECURITY_STATUS WINAPI NCryptOpenStorageProvider(NCRYPT_PROV_HANDLE *, const WCHAR *, DWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __NCRYPT_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ndrtypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ndrtypes.h new file mode 100644 index 0000000..b353ce5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ndrtypes.h @@ -0,0 +1,185 @@ +/* + * NDR Types + * + * Copyright 2006 Robert Shearman (for CodeWeavers) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __NDRTYPES_H__ +#define __NDRTYPES_H__ + +#include + +typedef struct +{ + unsigned short MustSize : 1; /* 0x0001 - client interpreter MUST size this + * parameter, other parameters may be skipped, using the value in + * NDR_PROC_PARTIAL_OIF_HEADER::constant_client_buffer_size instead. */ + unsigned short MustFree : 1; /* 0x0002 - server interpreter MUST size this + * parameter, other parameters may be skipped, using the value in + * NDR_PROC_PARTIAL_OIF_HEADER::constant_server_buffer_size instead. */ + unsigned short IsPipe : 1; /* 0x0004 - The parameter is a pipe handle */ + unsigned short IsIn : 1; /* 0x0008 - The parameter is an input */ + unsigned short IsOut : 1; /* 0x0010 - The parameter is an output */ + unsigned short IsReturn : 1; /* 0x0020 - The parameter is to be returned */ + unsigned short IsBasetype : 1; /* 0x0040 - The parameter is simple and has the + * format defined by NDR_PARAM_OIF_BASETYPE rather than by + * NDR_PARAM_OIF_OTHER. */ + unsigned short IsByValue : 1; /* 0x0080 - Set for compound types being sent by + * value. Can be of type: structure, union, transmit_as, represent_as, + * wire_marshal and SAFEARRAY. */ + unsigned short IsSimpleRef : 1; /* 0x0100 - parameter that is a reference + * pointer to anything other than another pointer, and which has no + * allocate attributes. */ + unsigned short IsDontCallFreeInst : 1; /* 0x0200 - Used for some represent_as types + * for when the free instance routine should not be called. */ + unsigned short SaveForAsyncFinish : 1; /* 0x0400 - Unknown */ + unsigned short Unused : 2; + unsigned short ServerAllocSize : 3; /* 0xe000 - If non-zero + * specifies the size of the object in numbers of 8byte blocks needed. + * It will be stored on the server's stack rather than using an allocate + * call. */ +} PARAM_ATTRIBUTES; + +typedef struct +{ + unsigned char ServerMustSize : 1; /* 0x01 - the server must perform a + * sizing pass. */ + unsigned char ClientMustSize : 1; /* 0x02 - the client must perform a + * sizing pass. */ + unsigned char HasReturn : 1; /* 0x04 - procedure has a return value. */ + unsigned char HasPipes : 1; /* 0x08 - the pipe package should be used. */ + unsigned char Unused : 1; /* 0x10 - not used */ + unsigned char HasAsyncUuid : 1; /* 0x20 - indicates an asynchronous DCOM + * procedure. */ + unsigned char HasExtensions : 1; /* 0x40 - indicates that Win2000 + * extensions are in use. */ + unsigned char HasAsyncHandle : 1; /* 0x80 - indicates an asynchronous RPC + * procedure. */ +} INTERPRETER_OPT_FLAGS, *PINTERPRETER_OPT_FLAGS; + +typedef struct +{ + unsigned char HasNewCorrDesc : 1; /* 0x01 - indicates new correlation + * descriptors in use. */ + unsigned char ClientCorrCheck : 1; /* 0x02 - client needs correlation + * check. */ + unsigned char ServerCorrCheck : 1; /* 0x04 - server needs correlation + * check. */ + unsigned char HasNotify : 1; /* 0x08 - should call MIDL [notify] + * routine @ NotifyIndex. */ + unsigned char HasNotify2 : 1; /* 0x10 - should call MIDL [notify_flag] routine @ + * NotifyIndex. */ + + /* The following bits are in fact used by midl but haven't yet been + named in the SDK. */ + unsigned char Unused : 3; /* 0x20 - has complex return */ + /* 0x40 - has range on conformance */ +} INTERPRETER_OPT_FLAGS2, *PINTERPRETER_OPT_FLAGS2; + +/* Win2000 extensions */ +typedef struct +{ + /* size in bytes of all following extensions */ + unsigned char Size; + + INTERPRETER_OPT_FLAGS2 Flags2; + + /* client cache size hint */ + unsigned short ClientCorrHint; + + /* server cache size hint */ + unsigned short ServerCorrHint; + + /* index of routine in MIDL_STUB_DESC::NotifyRoutineTable to call if + * HasNotify or HasNotify2 flag set */ + unsigned short NotifyIndex; +} NDR_PROC_HEADER_EXTS; + +typedef struct +{ + /* size in bytes of all following extensions */ + unsigned char Size; + + INTERPRETER_OPT_FLAGS2 Flags2; + + /* client cache size hint */ + unsigned short ClientCorrHint; + + /* server cache size hint */ + unsigned short ServerCorrHint; + + /* index of routine in MIDL_STUB_DESC::NotifyRoutineTable to call if + * HasNotify or HasNotify2 flag set */ + unsigned short NotifyIndex; + + /* needed only on IA64 to cope with float/register loading */ + unsigned short FloatArgMask; +} NDR_PROC_HEADER_EXTS64; + +typedef enum +{ + FC_BYTE = 0x01, /* 0x01 */ + FC_CHAR, /* 0x02 */ + FC_SMALL, /* 0x03 */ + FC_USMALL, /* 0x04 */ + FC_WCHAR, /* 0x05 */ + FC_SHORT, /* 0x06 */ + FC_USHORT, /* 0x07 */ + FC_LONG, /* 0x08 */ + FC_ULONG, /* 0x09 */ + FC_FLOAT, /* 0x0a */ + FC_HYPER, /* 0x0b */ + FC_DOUBLE, /* 0x0c */ + FC_ENUM16, /* 0x0d */ + FC_ENUM32, /* 0x0e */ + FC_IGNORE, /* 0x0f */ + FC_ERROR_STATUS_T, /* 0x10 */ + + FC_RP, /* 0x11 */ /* reference pointer */ + FC_UP, /* 0x12 */ /* unique pointer */ + FC_OP, /* 0x13 */ /* object pointer */ + FC_FP, /* 0x14 */ /* full pointer */ + + FC_STRUCT, /* 0x15 */ /* simple structure */ + FC_PSTRUCT, /* 0x16 */ /* simple structure w/ pointers */ + FC_CSTRUCT, /* 0x17 */ /* conformant structure */ + FC_CPSTRUCT, /* 0x18 */ /* conformant structure w/ pointers */ + FC_CVSTRUCT, /* 0x19 */ /* conformant varying struct */ + FC_BOGUS_STRUCT, /* 0x1a */ /* complex structure */ + + FC_CARRAY, /* 0x1b */ /* conformant array */ + FC_CVARRAY, /* 0x1c */ /* conformant varying array */ + FC_SMFARRAY, /* 0x1d */ /* small (<64K) fixed array */ + FC_LGFARRAY, /* 0x1e */ /* large (>= 64k) fixed array */ + FC_SMVARRAY, /* 0x1f */ /* small (<64k) varying array */ + FC_LGVARRAY, /* 0x20 */ /* large (>= 64k) varying array */ + FC_BOGUS_ARRAY, /* 0x21 */ /* complex array */ +} FORMAT_CHARACTER; + +/* flags for all handle types */ +#define HANDLE_PARAM_IS_VIA_PTR 0x80 +#define HANDLE_PARAM_IS_IN 0x40 +#define HANDLE_PARAM_IS_OUT 0x20 +#define HANDLE_PARAM_IS_RETURN 0x10 + +/* flags for context handles */ +#define NDR_STRICT_CONTEXT_HANDLE 0x08 +#define NDR_CONTEXT_HANDLE_NOSERIALIZE 0x04 +#define NDR_CONTEXT_HANDLE_SERIALIZE 0x02 +#define NDR_CONTEXT_HANDLE_CANNOT_BE_NULL 0x01 + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcfgx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcfgx.h new file mode 100644 index 0000000..d03679b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcfgx.h @@ -0,0 +1,680 @@ +/*** Autogenerated by WIDL 2.18 from netcfgx.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __netcfgx_h__ +#define __netcfgx_h__ + +/* Forward declarations */ + +#ifndef __INetCfgComponent_FWD_DEFINED__ +#define __INetCfgComponent_FWD_DEFINED__ +typedef interface INetCfgComponent INetCfgComponent; +#ifdef __cplusplus +interface INetCfgComponent; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumNetCfgComponent_FWD_DEFINED__ +#define __IEnumNetCfgComponent_FWD_DEFINED__ +typedef interface IEnumNetCfgComponent IEnumNetCfgComponent; +#ifdef __cplusplus +interface IEnumNetCfgComponent; +#endif /* __cplusplus */ +#endif + +#ifndef __INetCfgLock_FWD_DEFINED__ +#define __INetCfgLock_FWD_DEFINED__ +typedef interface INetCfgLock INetCfgLock; +#ifdef __cplusplus +interface INetCfgLock; +#endif /* __cplusplus */ +#endif + +#ifndef __INetCfg_FWD_DEFINED__ +#define __INetCfg_FWD_DEFINED__ +typedef interface INetCfg INetCfg; +#ifdef __cplusplus +interface INetCfg; +#endif /* __cplusplus */ +#endif + +#ifndef __CNetCfg_FWD_DEFINED__ +#define __CNetCfg_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CNetCfg CNetCfg; +#else +typedef struct CNetCfg CNetCfg; +#endif /* defined __cplusplus */ +#endif /* defined __CNetCfg_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define NETCFG_E_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA020) +#define NETCFG_E_NO_WRITE_LOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA024) +/***************************************************************************** + * INetCfgComponent interface + */ +#ifndef __INetCfgComponent_INTERFACE_DEFINED__ +#define __INetCfgComponent_INTERFACE_DEFINED__ + +typedef enum tagCOMPONENT_CHARACTERISTICS { + NCF_VIRTUAL = 0x1, + NCF_SOFTWARE_ENUMERATED = 0x2, + NCF_PHYSICAL = 0x4, + NCF_HIDDEN = 0x8, + NCF_NO_SERVICE = 0x10, + NCF_NOT_USER_REMOVABLE = 0x20, + NCF_MULTIPORT_INSTANCED_ADAPTER = 0x40, + NCF_HAS_UI = 0x80, + NCF_SINGLE_INSTANCE = 0x100, + NCF_FILTER = 0x400, + NCF_DONTEXPOSELOWER = 0x1000, + NCF_HIDE_BINDING = 0x2000, + NCF_NDIS_PROTOCOL = 0x4000, + NCF_FIXED_BINDING = 0x20000, + NCF_LW_FILTER = 0x40000 +} COMPONENT_CHARACTERISTICS; +typedef enum tagNCRP_FLAGS { + NCRP_QUERY_PROPERTY_UI = 0x1, + NCRP_SHOW_PROPERTY_UI = 0x2 +} NCRP_FLAGS; +DEFINE_GUID(IID_INetCfgComponent, 0xc0e8ae99, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0e8ae99-306e-11d1-aacf-00805fc1270e") +INetCfgComponent : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPWSTR *ppszwDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDisplayName( + LPCWSTR pszwDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHelpText( + LPWSTR *pszwHelpText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetId( + LPWSTR *ppszwId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCharacteristics( + LPDWORD pdwCharacteristics) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInstanceGuid( + GUID *pGuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPnpDevNodeId( + LPWSTR *ppszwDevNodeId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClassGuid( + GUID *pGuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBindName( + LPWSTR *ppszwBindName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceStatus( + ULONG *pulStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenParamKey( + HKEY *phkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE RaisePropertyUi( + HWND hwndParent, + DWORD dwFlags, + IUnknown *punkContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetCfgComponent, 0xc0e8ae99, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetCfgComponentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetCfgComponent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetCfgComponent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetCfgComponent *This); + + /*** INetCfgComponent methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + INetCfgComponent *This, + LPWSTR *ppszwDisplayName); + + HRESULT (STDMETHODCALLTYPE *SetDisplayName)( + INetCfgComponent *This, + LPCWSTR pszwDisplayName); + + HRESULT (STDMETHODCALLTYPE *GetHelpText)( + INetCfgComponent *This, + LPWSTR *pszwHelpText); + + HRESULT (STDMETHODCALLTYPE *GetId)( + INetCfgComponent *This, + LPWSTR *ppszwId); + + HRESULT (STDMETHODCALLTYPE *GetCharacteristics)( + INetCfgComponent *This, + LPDWORD pdwCharacteristics); + + HRESULT (STDMETHODCALLTYPE *GetInstanceGuid)( + INetCfgComponent *This, + GUID *pGuid); + + HRESULT (STDMETHODCALLTYPE *GetPnpDevNodeId)( + INetCfgComponent *This, + LPWSTR *ppszwDevNodeId); + + HRESULT (STDMETHODCALLTYPE *GetClassGuid)( + INetCfgComponent *This, + GUID *pGuid); + + HRESULT (STDMETHODCALLTYPE *GetBindName)( + INetCfgComponent *This, + LPWSTR *ppszwBindName); + + HRESULT (STDMETHODCALLTYPE *GetDeviceStatus)( + INetCfgComponent *This, + ULONG *pulStatus); + + HRESULT (STDMETHODCALLTYPE *OpenParamKey)( + INetCfgComponent *This, + HKEY *phkey); + + HRESULT (STDMETHODCALLTYPE *RaisePropertyUi)( + INetCfgComponent *This, + HWND hwndParent, + DWORD dwFlags, + IUnknown *punkContext); + + END_INTERFACE +} INetCfgComponentVtbl; + +interface INetCfgComponent { + CONST_VTBL INetCfgComponentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetCfgComponent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetCfgComponent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetCfgComponent_Release(This) (This)->lpVtbl->Release(This) +/*** INetCfgComponent methods ***/ +#define INetCfgComponent_GetDisplayName(This,ppszwDisplayName) (This)->lpVtbl->GetDisplayName(This,ppszwDisplayName) +#define INetCfgComponent_SetDisplayName(This,pszwDisplayName) (This)->lpVtbl->SetDisplayName(This,pszwDisplayName) +#define INetCfgComponent_GetHelpText(This,pszwHelpText) (This)->lpVtbl->GetHelpText(This,pszwHelpText) +#define INetCfgComponent_GetId(This,ppszwId) (This)->lpVtbl->GetId(This,ppszwId) +#define INetCfgComponent_GetCharacteristics(This,pdwCharacteristics) (This)->lpVtbl->GetCharacteristics(This,pdwCharacteristics) +#define INetCfgComponent_GetInstanceGuid(This,pGuid) (This)->lpVtbl->GetInstanceGuid(This,pGuid) +#define INetCfgComponent_GetPnpDevNodeId(This,ppszwDevNodeId) (This)->lpVtbl->GetPnpDevNodeId(This,ppszwDevNodeId) +#define INetCfgComponent_GetClassGuid(This,pGuid) (This)->lpVtbl->GetClassGuid(This,pGuid) +#define INetCfgComponent_GetBindName(This,ppszwBindName) (This)->lpVtbl->GetBindName(This,ppszwBindName) +#define INetCfgComponent_GetDeviceStatus(This,pulStatus) (This)->lpVtbl->GetDeviceStatus(This,pulStatus) +#define INetCfgComponent_OpenParamKey(This,phkey) (This)->lpVtbl->OpenParamKey(This,phkey) +#define INetCfgComponent_RaisePropertyUi(This,hwndParent,dwFlags,punkContext) (This)->lpVtbl->RaisePropertyUi(This,hwndParent,dwFlags,punkContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetCfgComponent_QueryInterface(INetCfgComponent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetCfgComponent_AddRef(INetCfgComponent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetCfgComponent_Release(INetCfgComponent* This) { + return This->lpVtbl->Release(This); +} +/*** INetCfgComponent methods ***/ +static FORCEINLINE HRESULT INetCfgComponent_GetDisplayName(INetCfgComponent* This,LPWSTR *ppszwDisplayName) { + return This->lpVtbl->GetDisplayName(This,ppszwDisplayName); +} +static FORCEINLINE HRESULT INetCfgComponent_SetDisplayName(INetCfgComponent* This,LPCWSTR pszwDisplayName) { + return This->lpVtbl->SetDisplayName(This,pszwDisplayName); +} +static FORCEINLINE HRESULT INetCfgComponent_GetHelpText(INetCfgComponent* This,LPWSTR *pszwHelpText) { + return This->lpVtbl->GetHelpText(This,pszwHelpText); +} +static FORCEINLINE HRESULT INetCfgComponent_GetId(INetCfgComponent* This,LPWSTR *ppszwId) { + return This->lpVtbl->GetId(This,ppszwId); +} +static FORCEINLINE HRESULT INetCfgComponent_GetCharacteristics(INetCfgComponent* This,LPDWORD pdwCharacteristics) { + return This->lpVtbl->GetCharacteristics(This,pdwCharacteristics); +} +static FORCEINLINE HRESULT INetCfgComponent_GetInstanceGuid(INetCfgComponent* This,GUID *pGuid) { + return This->lpVtbl->GetInstanceGuid(This,pGuid); +} +static FORCEINLINE HRESULT INetCfgComponent_GetPnpDevNodeId(INetCfgComponent* This,LPWSTR *ppszwDevNodeId) { + return This->lpVtbl->GetPnpDevNodeId(This,ppszwDevNodeId); +} +static FORCEINLINE HRESULT INetCfgComponent_GetClassGuid(INetCfgComponent* This,GUID *pGuid) { + return This->lpVtbl->GetClassGuid(This,pGuid); +} +static FORCEINLINE HRESULT INetCfgComponent_GetBindName(INetCfgComponent* This,LPWSTR *ppszwBindName) { + return This->lpVtbl->GetBindName(This,ppszwBindName); +} +static FORCEINLINE HRESULT INetCfgComponent_GetDeviceStatus(INetCfgComponent* This,ULONG *pulStatus) { + return This->lpVtbl->GetDeviceStatus(This,pulStatus); +} +static FORCEINLINE HRESULT INetCfgComponent_OpenParamKey(INetCfgComponent* This,HKEY *phkey) { + return This->lpVtbl->OpenParamKey(This,phkey); +} +static FORCEINLINE HRESULT INetCfgComponent_RaisePropertyUi(INetCfgComponent* This,HWND hwndParent,DWORD dwFlags,IUnknown *punkContext) { + return This->lpVtbl->RaisePropertyUi(This,hwndParent,dwFlags,punkContext); +} +#endif +#endif + +#endif + + +#endif /* __INetCfgComponent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumNetCfgComponent interface + */ +#ifndef __IEnumNetCfgComponent_INTERFACE_DEFINED__ +#define __IEnumNetCfgComponent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumNetCfgComponent, 0xc0e8ae92, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0e8ae92-306e-11d1-aacf-00805fc1270e") +IEnumNetCfgComponent : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + INetCfgComponent **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumNetCfgComponent **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumNetCfgComponent, 0xc0e8ae92, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct IEnumNetCfgComponentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumNetCfgComponent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumNetCfgComponent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumNetCfgComponent *This); + + /*** IEnumNetCfgComponent methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumNetCfgComponent *This, + ULONG celt, + INetCfgComponent **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumNetCfgComponent *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumNetCfgComponent *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumNetCfgComponent *This, + IEnumNetCfgComponent **ppenum); + + END_INTERFACE +} IEnumNetCfgComponentVtbl; + +interface IEnumNetCfgComponent { + CONST_VTBL IEnumNetCfgComponentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumNetCfgComponent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumNetCfgComponent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumNetCfgComponent_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumNetCfgComponent methods ***/ +#define IEnumNetCfgComponent_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumNetCfgComponent_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumNetCfgComponent_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumNetCfgComponent_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumNetCfgComponent_QueryInterface(IEnumNetCfgComponent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumNetCfgComponent_AddRef(IEnumNetCfgComponent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumNetCfgComponent_Release(IEnumNetCfgComponent* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumNetCfgComponent methods ***/ +static FORCEINLINE HRESULT IEnumNetCfgComponent_Next(IEnumNetCfgComponent* This,ULONG celt,INetCfgComponent **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumNetCfgComponent_Skip(IEnumNetCfgComponent* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumNetCfgComponent_Reset(IEnumNetCfgComponent* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumNetCfgComponent_Clone(IEnumNetCfgComponent* This,IEnumNetCfgComponent **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumNetCfgComponent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetCfgLock interface + */ +#ifndef __INetCfgLock_INTERFACE_DEFINED__ +#define __INetCfgLock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetCfgLock, 0xc0e8ae9f, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0e8ae9f-306e-11d1-aacf-00805fc1270e") +INetCfgLock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AcquireWriteLock( + DWORD cmsTimeout, + LPCWSTR pszwClientDescription, + LPWSTR *ppszwClientDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseWriteLock( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsWriteLocked( + LPWSTR *ppszwClientDescription) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetCfgLock, 0xc0e8ae9f, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetCfgLockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetCfgLock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetCfgLock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetCfgLock *This); + + /*** INetCfgLock methods ***/ + HRESULT (STDMETHODCALLTYPE *AcquireWriteLock)( + INetCfgLock *This, + DWORD cmsTimeout, + LPCWSTR pszwClientDescription, + LPWSTR *ppszwClientDescription); + + HRESULT (STDMETHODCALLTYPE *ReleaseWriteLock)( + INetCfgLock *This); + + HRESULT (STDMETHODCALLTYPE *IsWriteLocked)( + INetCfgLock *This, + LPWSTR *ppszwClientDescription); + + END_INTERFACE +} INetCfgLockVtbl; + +interface INetCfgLock { + CONST_VTBL INetCfgLockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetCfgLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetCfgLock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetCfgLock_Release(This) (This)->lpVtbl->Release(This) +/*** INetCfgLock methods ***/ +#define INetCfgLock_AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription) (This)->lpVtbl->AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription) +#define INetCfgLock_ReleaseWriteLock(This) (This)->lpVtbl->ReleaseWriteLock(This) +#define INetCfgLock_IsWriteLocked(This,ppszwClientDescription) (This)->lpVtbl->IsWriteLocked(This,ppszwClientDescription) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetCfgLock_QueryInterface(INetCfgLock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetCfgLock_AddRef(INetCfgLock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetCfgLock_Release(INetCfgLock* This) { + return This->lpVtbl->Release(This); +} +/*** INetCfgLock methods ***/ +static FORCEINLINE HRESULT INetCfgLock_AcquireWriteLock(INetCfgLock* This,DWORD cmsTimeout,LPCWSTR pszwClientDescription,LPWSTR *ppszwClientDescription) { + return This->lpVtbl->AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription); +} +static FORCEINLINE HRESULT INetCfgLock_ReleaseWriteLock(INetCfgLock* This) { + return This->lpVtbl->ReleaseWriteLock(This); +} +static FORCEINLINE HRESULT INetCfgLock_IsWriteLocked(INetCfgLock* This,LPWSTR *ppszwClientDescription) { + return This->lpVtbl->IsWriteLocked(This,ppszwClientDescription); +} +#endif +#endif + +#endif + + +#endif /* __INetCfgLock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetCfg interface + */ +#ifndef __INetCfg_INTERFACE_DEFINED__ +#define __INetCfg_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetCfg, 0xc0e8ae93, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0e8ae93-306e-11d1-aacf-00805fc1270e") +INetCfg : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + PVOID pvReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE Uninitialize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Apply( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumComponents( + const GUID *pguidClass, + IEnumNetCfgComponent **ppenumComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindComponent( + LPCWSTR pszwInfId, + INetCfgComponent **pComponent) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryNetCfgClass( + const GUID *pguidClass, + REFIID riid, + void **ppvObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetCfg, 0xc0e8ae93, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetCfgVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetCfg *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetCfg *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetCfg *This); + + /*** INetCfg methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INetCfg *This, + PVOID pvReserved); + + HRESULT (STDMETHODCALLTYPE *Uninitialize)( + INetCfg *This); + + HRESULT (STDMETHODCALLTYPE *Apply)( + INetCfg *This); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + INetCfg *This); + + HRESULT (STDMETHODCALLTYPE *EnumComponents)( + INetCfg *This, + const GUID *pguidClass, + IEnumNetCfgComponent **ppenumComponent); + + HRESULT (STDMETHODCALLTYPE *FindComponent)( + INetCfg *This, + LPCWSTR pszwInfId, + INetCfgComponent **pComponent); + + HRESULT (STDMETHODCALLTYPE *QueryNetCfgClass)( + INetCfg *This, + const GUID *pguidClass, + REFIID riid, + void **ppvObject); + + END_INTERFACE +} INetCfgVtbl; + +interface INetCfg { + CONST_VTBL INetCfgVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetCfg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetCfg_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetCfg_Release(This) (This)->lpVtbl->Release(This) +/*** INetCfg methods ***/ +#define INetCfg_Initialize(This,pvReserved) (This)->lpVtbl->Initialize(This,pvReserved) +#define INetCfg_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) +#define INetCfg_Apply(This) (This)->lpVtbl->Apply(This) +#define INetCfg_Cancel(This) (This)->lpVtbl->Cancel(This) +#define INetCfg_EnumComponents(This,pguidClass,ppenumComponent) (This)->lpVtbl->EnumComponents(This,pguidClass,ppenumComponent) +#define INetCfg_FindComponent(This,pszwInfId,pComponent) (This)->lpVtbl->FindComponent(This,pszwInfId,pComponent) +#define INetCfg_QueryNetCfgClass(This,pguidClass,riid,ppvObject) (This)->lpVtbl->QueryNetCfgClass(This,pguidClass,riid,ppvObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetCfg_QueryInterface(INetCfg* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetCfg_AddRef(INetCfg* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetCfg_Release(INetCfg* This) { + return This->lpVtbl->Release(This); +} +/*** INetCfg methods ***/ +static FORCEINLINE HRESULT INetCfg_Initialize(INetCfg* This,PVOID pvReserved) { + return This->lpVtbl->Initialize(This,pvReserved); +} +static FORCEINLINE HRESULT INetCfg_Uninitialize(INetCfg* This) { + return This->lpVtbl->Uninitialize(This); +} +static FORCEINLINE HRESULT INetCfg_Apply(INetCfg* This) { + return This->lpVtbl->Apply(This); +} +static FORCEINLINE HRESULT INetCfg_Cancel(INetCfg* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT INetCfg_EnumComponents(INetCfg* This,const GUID *pguidClass,IEnumNetCfgComponent **ppenumComponent) { + return This->lpVtbl->EnumComponents(This,pguidClass,ppenumComponent); +} +static FORCEINLINE HRESULT INetCfg_FindComponent(INetCfg* This,LPCWSTR pszwInfId,INetCfgComponent **pComponent) { + return This->lpVtbl->FindComponent(This,pszwInfId,pComponent); +} +static FORCEINLINE HRESULT INetCfg_QueryNetCfgClass(INetCfg* This,const GUID *pguidClass,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryNetCfgClass(This,pguidClass,riid,ppvObject); +} +#endif +#endif + +#endif + + +#endif /* __INetCfg_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * CNetCfg coclass + */ + +DEFINE_GUID(CLSID_CNetCfg, 0x5b035261, 0x40f9, 0x11d1, 0xaa,0xec, 0x00,0x80,0x5f,0xc1,0x27,0x0e); + +#ifdef __cplusplus +class DECLSPEC_UUID("5b035261-40f9-11d1-aaec-00805fc1270e") CNetCfg; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CNetCfg, 0x5b035261, 0x40f9, 0x11d1, 0xaa,0xec, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __netcfgx_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcfgx.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcfgx.idl new file mode 100644 index 0000000..d51407f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcfgx.idl @@ -0,0 +1,133 @@ +/* + * + * Copyright 2014 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "wtypes.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +cpp_quote("#define NETCFG_E_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA020)") +cpp_quote("#define NETCFG_E_NO_WRITE_LOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA024)") + +[ + local, + object, + uuid(c0e8ae99-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface INetCfgComponent : IUnknown +{ + typedef enum tagCOMPONENT_CHARACTERISTICS + { + NCF_VIRTUAL = 0x00000001, + NCF_SOFTWARE_ENUMERATED = 0x00000002, + NCF_PHYSICAL = 0x00000004, + NCF_HIDDEN = 0x00000008, + NCF_NO_SERVICE = 0x00000010, + NCF_NOT_USER_REMOVABLE = 0x00000020, + NCF_MULTIPORT_INSTANCED_ADAPTER = 0x00000040, + NCF_HAS_UI = 0x00000080, + NCF_SINGLE_INSTANCE = 0x00000100, + NCF_FILTER = 0x00000400, + NCF_DONTEXPOSELOWER = 0x00001000, + NCF_HIDE_BINDING = 0x00002000, + NCF_NDIS_PROTOCOL = 0x00004000, + NCF_FIXED_BINDING = 0x00020000, + NCF_LW_FILTER = 0x00040000 + } COMPONENT_CHARACTERISTICS; + + typedef enum tagNCRP_FLAGS + { + NCRP_QUERY_PROPERTY_UI = 0x00000001, + NCRP_SHOW_PROPERTY_UI = 0x00000002 + } NCRP_FLAGS; + + HRESULT GetDisplayName ([out] LPWSTR* ppszwDisplayName); + HRESULT SetDisplayName ([in] LPCWSTR pszwDisplayName); + HRESULT GetHelpText ([out] LPWSTR* pszwHelpText); + HRESULT GetId ([out] LPWSTR* ppszwId); + HRESULT GetCharacteristics ([out] LPDWORD pdwCharacteristics); + HRESULT GetInstanceGuid ([out] GUID* pGuid); + HRESULT GetPnpDevNodeId ([out] LPWSTR* ppszwDevNodeId); + HRESULT GetClassGuid ([out] GUID* pGuid); + HRESULT GetBindName ([out] LPWSTR* ppszwBindName); + HRESULT GetDeviceStatus ([out] ULONG* pulStatus); + HRESULT OpenParamKey ([out] HKEY* phkey); + HRESULT RaisePropertyUi ([in] HWND hwndParent, [in] DWORD dwFlags, [in] IUnknown* punkContext); +}; + + +[ + local, + object, + uuid(c0e8ae92-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface IEnumNetCfgComponent : IUnknown +{ + HRESULT Next ([in] ULONG celt, [out] INetCfgComponent** rgelt, [out] ULONG *pceltFetched); + HRESULT Skip ([in] ULONG celt); + HRESULT Reset (); + HRESULT Clone ([out] IEnumNetCfgComponent** ppenum); +}; + +[ + local, + object, + uuid(c0e8ae9f-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface INetCfgLock : IUnknown +{ + HRESULT AcquireWriteLock ([in] DWORD cmsTimeout, [in] LPCWSTR pszwClientDescription, + [out] LPWSTR* ppszwClientDescription); + HRESULT ReleaseWriteLock (); + HRESULT IsWriteLocked ([out] LPWSTR* ppszwClientDescription); +}; + +[ + local, + object, + uuid(c0e8ae93-306e-11d1-aacf-00805fc1270e), + pointer_default(unique) +] +interface INetCfg : IUnknown +{ + HRESULT Initialize ([in] PVOID pvReserved); + HRESULT Uninitialize (); + HRESULT Apply (); + HRESULT Cancel (); + HRESULT EnumComponents ([in] const GUID* pguidClass, [out] IEnumNetCfgComponent** ppenumComponent); + HRESULT FindComponent ([in] LPCWSTR pszwInfId, [out] INetCfgComponent** pComponent); + HRESULT QueryNetCfgClass ([in] const GUID* pguidClass, [in] REFIID riid,[out] void** ppvObject); +}; + +[ + helpstring("Network Configuration Component Object"), + threading(both), + uuid(5b035261-40f9-11d1-aaec-00805fc1270e) +] +coclass CNetCfg +{ + [default] interface INetCfg; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcon.h new file mode 100644 index 0000000..a87a318 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcon.h @@ -0,0 +1,2097 @@ +/*** Autogenerated by WIDL 2.18 from netcon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __netcon_h__ +#define __netcon_h__ + +/* Forward declarations */ + +#ifndef __INetConnection_FWD_DEFINED__ +#define __INetConnection_FWD_DEFINED__ +typedef interface INetConnection INetConnection; +#ifdef __cplusplus +interface INetConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingPortMappingProps_FWD_DEFINED__ +#define __INetSharingPortMappingProps_FWD_DEFINED__ +typedef interface INetSharingPortMappingProps INetSharingPortMappingProps; +#ifdef __cplusplus +interface INetSharingPortMappingProps; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingPortMapping_FWD_DEFINED__ +#define __INetSharingPortMapping_FWD_DEFINED__ +typedef interface INetSharingPortMapping INetSharingPortMapping; +#ifdef __cplusplus +interface INetSharingPortMapping; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingPortMappingCollection_FWD_DEFINED__ +#define __INetSharingPortMappingCollection_FWD_DEFINED__ +typedef interface INetSharingPortMappingCollection INetSharingPortMappingCollection; +#ifdef __cplusplus +interface INetSharingPortMappingCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingConfiguration_FWD_DEFINED__ +#define __INetSharingConfiguration_FWD_DEFINED__ +typedef interface INetSharingConfiguration INetSharingConfiguration; +#ifdef __cplusplus +interface INetSharingConfiguration; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumNetSharingPublicConnection_FWD_DEFINED__ +#define __IEnumNetSharingPublicConnection_FWD_DEFINED__ +typedef interface IEnumNetSharingPublicConnection IEnumNetSharingPublicConnection; +#ifdef __cplusplus +interface IEnumNetSharingPublicConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumNetSharingPrivateConnection_FWD_DEFINED__ +#define __IEnumNetSharingPrivateConnection_FWD_DEFINED__ +typedef interface IEnumNetSharingPrivateConnection IEnumNetSharingPrivateConnection; +#ifdef __cplusplus +interface IEnumNetSharingPrivateConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetConnectionProps_FWD_DEFINED__ +#define __INetConnectionProps_FWD_DEFINED__ +typedef interface INetConnectionProps INetConnectionProps; +#ifdef __cplusplus +interface INetConnectionProps; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingPublicConnectionCollection_FWD_DEFINED__ +#define __INetSharingPublicConnectionCollection_FWD_DEFINED__ +typedef interface INetSharingPublicConnectionCollection INetSharingPublicConnectionCollection; +#ifdef __cplusplus +interface INetSharingPublicConnectionCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingEveryConnectionCollection_FWD_DEFINED__ +#define __INetSharingEveryConnectionCollection_FWD_DEFINED__ +typedef interface INetSharingEveryConnectionCollection INetSharingEveryConnectionCollection; +#ifdef __cplusplus +interface INetSharingEveryConnectionCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingPrivateConnectionCollection_FWD_DEFINED__ +#define __INetSharingPrivateConnectionCollection_FWD_DEFINED__ +typedef interface INetSharingPrivateConnectionCollection INetSharingPrivateConnectionCollection; +#ifdef __cplusplus +interface INetSharingPrivateConnectionCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetSharingManager_FWD_DEFINED__ +#define __INetSharingManager_FWD_DEFINED__ +typedef interface INetSharingManager INetSharingManager; +#ifdef __cplusplus +interface INetSharingManager; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DEFINE_GUID(CLSID_NetSharingManager,0x5c63c1ad,0x3956,0x4ff8,0x84,0x86,0x40,0x03,0x47,0x58,0x31,0x5b); +/***************************************************************************** + * INetConnection interface + */ +#ifndef __INetConnection_INTERFACE_DEFINED__ +#define __INetConnection_INTERFACE_DEFINED__ + +typedef enum tagNETCON_CHARACTERISTIC_FLAGS { + NCCF_NONE = 0x0, + NCCF_ALL_USERS = 0x1, + NCCF_ALLOW_DUPLICATION = 0x2, + NCCF_ALLOW_REMOVAL = 0x4, + NCCF_ALLOW_RENAME = 0x8, + NCCF_INCOMING_ONLY = 0x20, + NCCF_OUTGOING_ONLY = 0x40, + NCCF_BRANDED = 0x80, + NCCF_SHARED = 0x100, + NCCF_BRIDGED = 0x200, + NCCF_FIREWALLED = 0x400, + NCCF_DEFAULT = 0x800, + NCCF_HOMENET_CAPABLE = 0x1000, + NCCF_SHARED_PRIVATE = 0x2000, + NCCF_QUARANTINED = 0x4000, + NCCF_RESERVED = 0x8000, + NCCF_BLUETOOTH_MASK = 0xf0000, + NCCF_LAN_MASK = 0xf00000 +} NETCON_CHARACTERISTIC_FLAGS; +typedef enum tagNETCON_STATUS { + NCS_DISCONNECTED = 0, + NCS_CONNECTING = 1, + NCS_CONNECTED = 2, + NCS_DISCONNECTING = 3, + NCS_HARDWARE_NOT_PRESENT = 4, + NCS_HARDWARE_DISABLED = 5, + NCS_HARDWARE_MALFUNCTION = 6, + NCS_MEDIA_DISCONNECTED = 7, + NCS_AUTHENTICATING = 8, + NCS_AUTHENTICATION_SUCCEEDED = 9, + NCS_AUTHENTICATION_FAILED = 10, + NCS_INVALID_ADDRESS = 11, + NCS_CREDENTIALS_REQUIRED = 12 +} NETCON_STATUS; +typedef enum tagNETCON_TYPE { + NCT_DIRECT_CONNECT = 0, + NCT_INBOUND = 1, + NCT_INTERNET = 2, + NCT_LAN = 3, + NCT_PHONE = 4, + NCT_TUNNEL = 5, + NCT_BRIDGE = 6 +} NETCON_TYPE; +typedef enum tagNETCON_MEDIATYPE { + NCM_NONE = 0, + NCM_DIRECT = 1, + NCM_ISDN = 2, + NCM_LAN = 3, + NCM_PHONE = 4, + NCM_TUNNEL = 5, + NCM_PPPOE = 6, + NCM_BRIDGE = 7, + NCM_SHAREDACCESSHOST_LAN = 8, + NCM_SHAREDACCESSHOST_RAS = 9 +} NETCON_MEDIATYPE; +typedef struct tagNETCON_PROPERTIES { + GUID guidId; + LPWSTR pszwName; + LPWSTR pszwDeviceName; + NETCON_STATUS Status; + NETCON_MEDIATYPE MediaType; + DWORD dwCharacter; + CLSID clsidThisObject; + CLSID clsidUiObject; +} NETCON_PROPERTIES; +DEFINE_GUID(IID_INetConnection, 0xc08956a1, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c08956a1-1cd3-11d1-b1c5-00805fc1270e") +INetConnection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Connect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Duplicate( + LPCWSTR pszwDuplicateName, + INetConnection **ppCon) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperties( + NETCON_PROPERTIES **ppProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUiObjectClassId( + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rename( + LPCWSTR pszwNewName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetConnection, 0xc08956a1, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetConnection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetConnection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetConnection *This); + + /*** INetConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *Connect)( + INetConnection *This); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + INetConnection *This); + + HRESULT (STDMETHODCALLTYPE *Delete)( + INetConnection *This); + + HRESULT (STDMETHODCALLTYPE *Duplicate)( + INetConnection *This, + LPCWSTR pszwDuplicateName, + INetConnection **ppCon); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + INetConnection *This, + NETCON_PROPERTIES **ppProps); + + HRESULT (STDMETHODCALLTYPE *GetUiObjectClassId)( + INetConnection *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *Rename)( + INetConnection *This, + LPCWSTR pszwNewName); + + END_INTERFACE +} INetConnectionVtbl; + +interface INetConnection { + CONST_VTBL INetConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetConnection_Release(This) (This)->lpVtbl->Release(This) +/*** INetConnection methods ***/ +#define INetConnection_Connect(This) (This)->lpVtbl->Connect(This) +#define INetConnection_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define INetConnection_Delete(This) (This)->lpVtbl->Delete(This) +#define INetConnection_Duplicate(This,pszwDuplicateName,ppCon) (This)->lpVtbl->Duplicate(This,pszwDuplicateName,ppCon) +#define INetConnection_GetProperties(This,ppProps) (This)->lpVtbl->GetProperties(This,ppProps) +#define INetConnection_GetUiObjectClassId(This,pclsid) (This)->lpVtbl->GetUiObjectClassId(This,pclsid) +#define INetConnection_Rename(This,pszwNewName) (This)->lpVtbl->Rename(This,pszwNewName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetConnection_QueryInterface(INetConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetConnection_AddRef(INetConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetConnection_Release(INetConnection* This) { + return This->lpVtbl->Release(This); +} +/*** INetConnection methods ***/ +static FORCEINLINE HRESULT INetConnection_Connect(INetConnection* This) { + return This->lpVtbl->Connect(This); +} +static FORCEINLINE HRESULT INetConnection_Disconnect(INetConnection* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT INetConnection_Delete(INetConnection* This) { + return This->lpVtbl->Delete(This); +} +static FORCEINLINE HRESULT INetConnection_Duplicate(INetConnection* This,LPCWSTR pszwDuplicateName,INetConnection **ppCon) { + return This->lpVtbl->Duplicate(This,pszwDuplicateName,ppCon); +} +static FORCEINLINE HRESULT INetConnection_GetProperties(INetConnection* This,NETCON_PROPERTIES **ppProps) { + return This->lpVtbl->GetProperties(This,ppProps); +} +static FORCEINLINE HRESULT INetConnection_GetUiObjectClassId(INetConnection* This,CLSID *pclsid) { + return This->lpVtbl->GetUiObjectClassId(This,pclsid); +} +static FORCEINLINE HRESULT INetConnection_Rename(INetConnection* This,LPCWSTR pszwNewName) { + return This->lpVtbl->Rename(This,pszwNewName); +} +#endif +#endif + +#endif + + +#endif /* __INetConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingPortMappingProps interface + */ +#ifndef __INetSharingPortMappingProps_INTERFACE_DEFINED__ +#define __INetSharingPortMappingProps_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingPortMappingProps, 0x24b7e9b5, 0xe38f, 0x4685, 0x85,0x1b, 0x00,0x89,0x2c,0xf5,0xf9,0x40); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("24b7e9b5-e38f-4685-851b-00892cf5f940") +INetSharingPortMappingProps : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IPProtocol( + UCHAR *pucIPProt) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExternalPort( + LONG *pusPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InternalPort( + LONG *pusPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Options( + LONG *pdwOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TargetName( + BSTR *pbstrTargetName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TargetIPAddress( + BSTR *pbstrTargetIPAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *pbool) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingPortMappingProps, 0x24b7e9b5, 0xe38f, 0x4685, 0x85,0x1b, 0x00,0x89,0x2c,0xf5,0xf9,0x40) +#endif +#else +typedef struct INetSharingPortMappingPropsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingPortMappingProps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingPortMappingProps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingPortMappingProps *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingPortMappingProps *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingPortMappingProps *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingPortMappingProps *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingPortMappingProps *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingPortMappingProps methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetSharingPortMappingProps *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *get_IPProtocol)( + INetSharingPortMappingProps *This, + UCHAR *pucIPProt); + + HRESULT (STDMETHODCALLTYPE *get_ExternalPort)( + INetSharingPortMappingProps *This, + LONG *pusPort); + + HRESULT (STDMETHODCALLTYPE *get_InternalPort)( + INetSharingPortMappingProps *This, + LONG *pusPort); + + HRESULT (STDMETHODCALLTYPE *get_Options)( + INetSharingPortMappingProps *This, + LONG *pdwOptions); + + HRESULT (STDMETHODCALLTYPE *get_TargetName)( + INetSharingPortMappingProps *This, + BSTR *pbstrTargetName); + + HRESULT (STDMETHODCALLTYPE *get_TargetIPAddress)( + INetSharingPortMappingProps *This, + BSTR *pbstrTargetIPAddress); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + INetSharingPortMappingProps *This, + VARIANT_BOOL *pbool); + + END_INTERFACE +} INetSharingPortMappingPropsVtbl; + +interface INetSharingPortMappingProps { + CONST_VTBL INetSharingPortMappingPropsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingPortMappingProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingPortMappingProps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingPortMappingProps_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingPortMappingProps_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingPortMappingProps_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingPortMappingProps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingPortMappingProps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingPortMappingProps methods ***/ +#define INetSharingPortMappingProps_get_Name(This,pbstrName) (This)->lpVtbl->get_Name(This,pbstrName) +#define INetSharingPortMappingProps_get_IPProtocol(This,pucIPProt) (This)->lpVtbl->get_IPProtocol(This,pucIPProt) +#define INetSharingPortMappingProps_get_ExternalPort(This,pusPort) (This)->lpVtbl->get_ExternalPort(This,pusPort) +#define INetSharingPortMappingProps_get_InternalPort(This,pusPort) (This)->lpVtbl->get_InternalPort(This,pusPort) +#define INetSharingPortMappingProps_get_Options(This,pdwOptions) (This)->lpVtbl->get_Options(This,pdwOptions) +#define INetSharingPortMappingProps_get_TargetName(This,pbstrTargetName) (This)->lpVtbl->get_TargetName(This,pbstrTargetName) +#define INetSharingPortMappingProps_get_TargetIPAddress(This,pbstrTargetIPAddress) (This)->lpVtbl->get_TargetIPAddress(This,pbstrTargetIPAddress) +#define INetSharingPortMappingProps_get_Enabled(This,pbool) (This)->lpVtbl->get_Enabled(This,pbool) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingPortMappingProps_QueryInterface(INetSharingPortMappingProps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingPortMappingProps_AddRef(INetSharingPortMappingProps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingPortMappingProps_Release(INetSharingPortMappingProps* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingPortMappingProps_GetTypeInfoCount(INetSharingPortMappingProps* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_GetTypeInfo(INetSharingPortMappingProps* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_GetIDsOfNames(INetSharingPortMappingProps* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_Invoke(INetSharingPortMappingProps* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingPortMappingProps methods ***/ +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_Name(INetSharingPortMappingProps* This,BSTR *pbstrName) { + return This->lpVtbl->get_Name(This,pbstrName); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_IPProtocol(INetSharingPortMappingProps* This,UCHAR *pucIPProt) { + return This->lpVtbl->get_IPProtocol(This,pucIPProt); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_ExternalPort(INetSharingPortMappingProps* This,LONG *pusPort) { + return This->lpVtbl->get_ExternalPort(This,pusPort); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_InternalPort(INetSharingPortMappingProps* This,LONG *pusPort) { + return This->lpVtbl->get_InternalPort(This,pusPort); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_Options(INetSharingPortMappingProps* This,LONG *pdwOptions) { + return This->lpVtbl->get_Options(This,pdwOptions); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_TargetName(INetSharingPortMappingProps* This,BSTR *pbstrTargetName) { + return This->lpVtbl->get_TargetName(This,pbstrTargetName); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_TargetIPAddress(INetSharingPortMappingProps* This,BSTR *pbstrTargetIPAddress) { + return This->lpVtbl->get_TargetIPAddress(This,pbstrTargetIPAddress); +} +static FORCEINLINE HRESULT INetSharingPortMappingProps_get_Enabled(INetSharingPortMappingProps* This,VARIANT_BOOL *pbool) { + return This->lpVtbl->get_Enabled(This,pbool); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingPortMappingProps_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingPortMapping interface + */ +#ifndef __INetSharingPortMapping_INTERFACE_DEFINED__ +#define __INetSharingPortMapping_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingPortMapping, 0xc08956b1, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c08956b1-1cd3-11d1-b1c5-00805fc1270e") +INetSharingPortMapping : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Disable( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enable( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Properties( + INetSharingPortMappingProps **ppNSPMP) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingPortMapping, 0xc08956b1, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetSharingPortMappingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingPortMapping *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingPortMapping *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingPortMapping *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingPortMapping *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingPortMapping *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingPortMapping *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingPortMapping *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingPortMapping methods ***/ + HRESULT (STDMETHODCALLTYPE *Disable)( + INetSharingPortMapping *This); + + HRESULT (STDMETHODCALLTYPE *Enable)( + INetSharingPortMapping *This); + + HRESULT (STDMETHODCALLTYPE *get_Properties)( + INetSharingPortMapping *This, + INetSharingPortMappingProps **ppNSPMP); + + HRESULT (STDMETHODCALLTYPE *Delete)( + INetSharingPortMapping *This); + + END_INTERFACE +} INetSharingPortMappingVtbl; + +interface INetSharingPortMapping { + CONST_VTBL INetSharingPortMappingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingPortMapping_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingPortMapping_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingPortMapping_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingPortMapping_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingPortMapping_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingPortMapping_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingPortMapping_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingPortMapping methods ***/ +#define INetSharingPortMapping_Disable(This) (This)->lpVtbl->Disable(This) +#define INetSharingPortMapping_Enable(This) (This)->lpVtbl->Enable(This) +#define INetSharingPortMapping_get_Properties(This,ppNSPMP) (This)->lpVtbl->get_Properties(This,ppNSPMP) +#define INetSharingPortMapping_Delete(This) (This)->lpVtbl->Delete(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingPortMapping_QueryInterface(INetSharingPortMapping* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingPortMapping_AddRef(INetSharingPortMapping* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingPortMapping_Release(INetSharingPortMapping* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingPortMapping_GetTypeInfoCount(INetSharingPortMapping* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingPortMapping_GetTypeInfo(INetSharingPortMapping* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingPortMapping_GetIDsOfNames(INetSharingPortMapping* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingPortMapping_Invoke(INetSharingPortMapping* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingPortMapping methods ***/ +static FORCEINLINE HRESULT INetSharingPortMapping_Disable(INetSharingPortMapping* This) { + return This->lpVtbl->Disable(This); +} +static FORCEINLINE HRESULT INetSharingPortMapping_Enable(INetSharingPortMapping* This) { + return This->lpVtbl->Enable(This); +} +static FORCEINLINE HRESULT INetSharingPortMapping_get_Properties(INetSharingPortMapping* This,INetSharingPortMappingProps **ppNSPMP) { + return This->lpVtbl->get_Properties(This,ppNSPMP); +} +static FORCEINLINE HRESULT INetSharingPortMapping_Delete(INetSharingPortMapping* This) { + return This->lpVtbl->Delete(This); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingPortMapping_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingPortMappingCollection interface + */ +#ifndef __INetSharingPortMappingCollection_INTERFACE_DEFINED__ +#define __INetSharingPortMappingCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingPortMappingCollection, 0x02e4a2de, 0xda20, 0x4e34, 0x89,0xc8, 0xac,0x22,0x27,0x5a,0x01,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("02e4a2de-da20-4e34-89c8-ac22275a010b") +INetSharingPortMappingCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *pVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingPortMappingCollection, 0x02e4a2de, 0xda20, 0x4e34, 0x89,0xc8, 0xac,0x22,0x27,0x5a,0x01,0x0b) +#endif +#else +typedef struct INetSharingPortMappingCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingPortMappingCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingPortMappingCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingPortMappingCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingPortMappingCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingPortMappingCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingPortMappingCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingPortMappingCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingPortMappingCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetSharingPortMappingCollection *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetSharingPortMappingCollection *This, + LONG *pVal); + + END_INTERFACE +} INetSharingPortMappingCollectionVtbl; + +interface INetSharingPortMappingCollection { + CONST_VTBL INetSharingPortMappingCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingPortMappingCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingPortMappingCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingPortMappingCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingPortMappingCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingPortMappingCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingPortMappingCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingPortMappingCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingPortMappingCollection methods ***/ +#define INetSharingPortMappingCollection_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal) +#define INetSharingPortMappingCollection_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingPortMappingCollection_QueryInterface(INetSharingPortMappingCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingPortMappingCollection_AddRef(INetSharingPortMappingCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingPortMappingCollection_Release(INetSharingPortMappingCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingPortMappingCollection_GetTypeInfoCount(INetSharingPortMappingCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingPortMappingCollection_GetTypeInfo(INetSharingPortMappingCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingPortMappingCollection_GetIDsOfNames(INetSharingPortMappingCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingPortMappingCollection_Invoke(INetSharingPortMappingCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingPortMappingCollection methods ***/ +static FORCEINLINE HRESULT INetSharingPortMappingCollection_get__NewEnum(INetSharingPortMappingCollection* This,IUnknown **pVal) { + return This->lpVtbl->get__NewEnum(This,pVal); +} +static FORCEINLINE HRESULT INetSharingPortMappingCollection_get_Count(INetSharingPortMappingCollection* This,LONG *pVal) { + return This->lpVtbl->get_Count(This,pVal); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingPortMappingCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingConfiguration interface + */ +#ifndef __INetSharingConfiguration_INTERFACE_DEFINED__ +#define __INetSharingConfiguration_INTERFACE_DEFINED__ + +typedef enum tagSHARINGCONNECTIONTYPE { + ICSSHARINGTYPE_PUBLIC = 0, + ICSSHARINGTYPE_PRIVATE = 1 +} SHARINGCONNECTIONTYPE; +typedef enum tagSHARINGCONNECTIONTYPE *LPSHARINGCONNECTIONTYPE; +typedef enum tagSHARINGCONNECTION_ENUM_FLAGS { + ICSSC_DEFAULT = 0, + ICSSC_ENABLED = 1 +} SHARINGCONNECTION_ENUM_FLAGS; +typedef enum tagICS_TARGETTYPE { + ICSTT_NAME = 0, + ICSTT_IPADDRESS = 1 +} ICS_TARGETTYPE; +DEFINE_GUID(IID_INetSharingConfiguration, 0xc08956b6, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c08956b6-1cd3-11d1-b1c5-00805fc1270e") +INetSharingConfiguration : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_SharingEnabled( + VARIANT_BOOL *pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SharingConnectionType( + SHARINGCONNECTIONTYPE *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableSharing( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableSharing( + SHARINGCONNECTIONTYPE Type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InternetFirewallEnabled( + VARIANT_BOOL *pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableInternetFirewall( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableInternetFirewall( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EnumPortMappings( + SHARINGCONNECTION_ENUM_FLAGS Flags, + INetSharingPortMappingCollection **ppColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddPortMapping( + BSTR bstrName, + UCHAR ucIPProtocol, + USHORT usExternalPort, + USHORT usInternalPort, + DWORD dwOptions, + BSTR bstrTargetNameOrIPAddress, + ICS_TARGETTYPE eTargetType, + INetSharingPortMapping **ppMapping) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemovePortMapping( + INetSharingPortMapping *pMapping) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingConfiguration, 0xc08956b6, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetSharingConfigurationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingConfiguration *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingConfiguration *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingConfiguration *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingConfiguration *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingConfiguration *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingConfiguration *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingConfiguration *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingConfiguration methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SharingEnabled)( + INetSharingConfiguration *This, + VARIANT_BOOL *pbEnabled); + + HRESULT (STDMETHODCALLTYPE *get_SharingConnectionType)( + INetSharingConfiguration *This, + SHARINGCONNECTIONTYPE *pType); + + HRESULT (STDMETHODCALLTYPE *DisableSharing)( + INetSharingConfiguration *This); + + HRESULT (STDMETHODCALLTYPE *EnableSharing)( + INetSharingConfiguration *This, + SHARINGCONNECTIONTYPE Type); + + HRESULT (STDMETHODCALLTYPE *get_InternetFirewallEnabled)( + INetSharingConfiguration *This, + VARIANT_BOOL *pbEnabled); + + HRESULT (STDMETHODCALLTYPE *DisableInternetFirewall)( + INetSharingConfiguration *This); + + HRESULT (STDMETHODCALLTYPE *EnableInternetFirewall)( + INetSharingConfiguration *This); + + HRESULT (STDMETHODCALLTYPE *get_EnumPortMappings)( + INetSharingConfiguration *This, + SHARINGCONNECTION_ENUM_FLAGS Flags, + INetSharingPortMappingCollection **ppColl); + + HRESULT (STDMETHODCALLTYPE *AddPortMapping)( + INetSharingConfiguration *This, + BSTR bstrName, + UCHAR ucIPProtocol, + USHORT usExternalPort, + USHORT usInternalPort, + DWORD dwOptions, + BSTR bstrTargetNameOrIPAddress, + ICS_TARGETTYPE eTargetType, + INetSharingPortMapping **ppMapping); + + HRESULT (STDMETHODCALLTYPE *RemovePortMapping)( + INetSharingConfiguration *This, + INetSharingPortMapping *pMapping); + + END_INTERFACE +} INetSharingConfigurationVtbl; + +interface INetSharingConfiguration { + CONST_VTBL INetSharingConfigurationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingConfiguration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingConfiguration_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingConfiguration_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingConfiguration_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingConfiguration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingConfiguration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingConfiguration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingConfiguration methods ***/ +#define INetSharingConfiguration_get_SharingEnabled(This,pbEnabled) (This)->lpVtbl->get_SharingEnabled(This,pbEnabled) +#define INetSharingConfiguration_get_SharingConnectionType(This,pType) (This)->lpVtbl->get_SharingConnectionType(This,pType) +#define INetSharingConfiguration_DisableSharing(This) (This)->lpVtbl->DisableSharing(This) +#define INetSharingConfiguration_EnableSharing(This,Type) (This)->lpVtbl->EnableSharing(This,Type) +#define INetSharingConfiguration_get_InternetFirewallEnabled(This,pbEnabled) (This)->lpVtbl->get_InternetFirewallEnabled(This,pbEnabled) +#define INetSharingConfiguration_DisableInternetFirewall(This) (This)->lpVtbl->DisableInternetFirewall(This) +#define INetSharingConfiguration_EnableInternetFirewall(This) (This)->lpVtbl->EnableInternetFirewall(This) +#define INetSharingConfiguration_get_EnumPortMappings(This,Flags,ppColl) (This)->lpVtbl->get_EnumPortMappings(This,Flags,ppColl) +#define INetSharingConfiguration_AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping) (This)->lpVtbl->AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping) +#define INetSharingConfiguration_RemovePortMapping(This,pMapping) (This)->lpVtbl->RemovePortMapping(This,pMapping) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingConfiguration_QueryInterface(INetSharingConfiguration* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingConfiguration_AddRef(INetSharingConfiguration* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingConfiguration_Release(INetSharingConfiguration* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingConfiguration_GetTypeInfoCount(INetSharingConfiguration* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingConfiguration_GetTypeInfo(INetSharingConfiguration* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingConfiguration_GetIDsOfNames(INetSharingConfiguration* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingConfiguration_Invoke(INetSharingConfiguration* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingConfiguration methods ***/ +static FORCEINLINE HRESULT INetSharingConfiguration_get_SharingEnabled(INetSharingConfiguration* This,VARIANT_BOOL *pbEnabled) { + return This->lpVtbl->get_SharingEnabled(This,pbEnabled); +} +static FORCEINLINE HRESULT INetSharingConfiguration_get_SharingConnectionType(INetSharingConfiguration* This,SHARINGCONNECTIONTYPE *pType) { + return This->lpVtbl->get_SharingConnectionType(This,pType); +} +static FORCEINLINE HRESULT INetSharingConfiguration_DisableSharing(INetSharingConfiguration* This) { + return This->lpVtbl->DisableSharing(This); +} +static FORCEINLINE HRESULT INetSharingConfiguration_EnableSharing(INetSharingConfiguration* This,SHARINGCONNECTIONTYPE Type) { + return This->lpVtbl->EnableSharing(This,Type); +} +static FORCEINLINE HRESULT INetSharingConfiguration_get_InternetFirewallEnabled(INetSharingConfiguration* This,VARIANT_BOOL *pbEnabled) { + return This->lpVtbl->get_InternetFirewallEnabled(This,pbEnabled); +} +static FORCEINLINE HRESULT INetSharingConfiguration_DisableInternetFirewall(INetSharingConfiguration* This) { + return This->lpVtbl->DisableInternetFirewall(This); +} +static FORCEINLINE HRESULT INetSharingConfiguration_EnableInternetFirewall(INetSharingConfiguration* This) { + return This->lpVtbl->EnableInternetFirewall(This); +} +static FORCEINLINE HRESULT INetSharingConfiguration_get_EnumPortMappings(INetSharingConfiguration* This,SHARINGCONNECTION_ENUM_FLAGS Flags,INetSharingPortMappingCollection **ppColl) { + return This->lpVtbl->get_EnumPortMappings(This,Flags,ppColl); +} +static FORCEINLINE HRESULT INetSharingConfiguration_AddPortMapping(INetSharingConfiguration* This,BSTR bstrName,UCHAR ucIPProtocol,USHORT usExternalPort,USHORT usInternalPort,DWORD dwOptions,BSTR bstrTargetNameOrIPAddress,ICS_TARGETTYPE eTargetType,INetSharingPortMapping **ppMapping) { + return This->lpVtbl->AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping); +} +static FORCEINLINE HRESULT INetSharingConfiguration_RemovePortMapping(INetSharingConfiguration* This,INetSharingPortMapping *pMapping) { + return This->lpVtbl->RemovePortMapping(This,pMapping); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingConfiguration_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumNetSharingPublicConnection interface + */ +#ifndef __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__ +#define __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumNetSharingPublicConnection, 0xc08956b4, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c08956b4-1cd3-11d1-b1c5-00805fc1270e") +IEnumNetSharingPublicConnection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + VARIANT *rgVar, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumNetSharingPublicConnection **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumNetSharingPublicConnection, 0xc08956b4, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct IEnumNetSharingPublicConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumNetSharingPublicConnection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumNetSharingPublicConnection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumNetSharingPublicConnection *This); + + /*** IEnumNetSharingPublicConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumNetSharingPublicConnection *This, + ULONG celt, + VARIANT *rgVar, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumNetSharingPublicConnection *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumNetSharingPublicConnection *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumNetSharingPublicConnection *This, + IEnumNetSharingPublicConnection **ppenum); + + END_INTERFACE +} IEnumNetSharingPublicConnectionVtbl; + +interface IEnumNetSharingPublicConnection { + CONST_VTBL IEnumNetSharingPublicConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumNetSharingPublicConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumNetSharingPublicConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumNetSharingPublicConnection_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumNetSharingPublicConnection methods ***/ +#define IEnumNetSharingPublicConnection_Next(This,celt,rgVar,pceltFetched) (This)->lpVtbl->Next(This,celt,rgVar,pceltFetched) +#define IEnumNetSharingPublicConnection_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumNetSharingPublicConnection_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumNetSharingPublicConnection_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumNetSharingPublicConnection_QueryInterface(IEnumNetSharingPublicConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumNetSharingPublicConnection_AddRef(IEnumNetSharingPublicConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumNetSharingPublicConnection_Release(IEnumNetSharingPublicConnection* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumNetSharingPublicConnection methods ***/ +static FORCEINLINE HRESULT IEnumNetSharingPublicConnection_Next(IEnumNetSharingPublicConnection* This,ULONG celt,VARIANT *rgVar,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgVar,pceltFetched); +} +static FORCEINLINE HRESULT IEnumNetSharingPublicConnection_Skip(IEnumNetSharingPublicConnection* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumNetSharingPublicConnection_Reset(IEnumNetSharingPublicConnection* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumNetSharingPublicConnection_Clone(IEnumNetSharingPublicConnection* This,IEnumNetSharingPublicConnection **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumNetSharingPrivateConnection interface + */ +#ifndef __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__ +#define __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumNetSharingPrivateConnection, 0xc08956b5, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c08956b5-1cd3-11d1-b1c5-00805fc1270e") +IEnumNetSharingPrivateConnection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumNetSharingPrivateConnection **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumNetSharingPrivateConnection, 0xc08956b5, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct IEnumNetSharingPrivateConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumNetSharingPrivateConnection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumNetSharingPrivateConnection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumNetSharingPrivateConnection *This); + + /*** IEnumNetSharingPrivateConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumNetSharingPrivateConnection *This, + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumNetSharingPrivateConnection *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumNetSharingPrivateConnection *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumNetSharingPrivateConnection *This, + IEnumNetSharingPrivateConnection **ppenum); + + END_INTERFACE +} IEnumNetSharingPrivateConnectionVtbl; + +interface IEnumNetSharingPrivateConnection { + CONST_VTBL IEnumNetSharingPrivateConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumNetSharingPrivateConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumNetSharingPrivateConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumNetSharingPrivateConnection_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumNetSharingPrivateConnection methods ***/ +#define IEnumNetSharingPrivateConnection_Next(This,celt,rgVar,pCeltFetched) (This)->lpVtbl->Next(This,celt,rgVar,pCeltFetched) +#define IEnumNetSharingPrivateConnection_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumNetSharingPrivateConnection_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumNetSharingPrivateConnection_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumNetSharingPrivateConnection_QueryInterface(IEnumNetSharingPrivateConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumNetSharingPrivateConnection_AddRef(IEnumNetSharingPrivateConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumNetSharingPrivateConnection_Release(IEnumNetSharingPrivateConnection* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumNetSharingPrivateConnection methods ***/ +static FORCEINLINE HRESULT IEnumNetSharingPrivateConnection_Next(IEnumNetSharingPrivateConnection* This,ULONG celt,VARIANT *rgVar,ULONG *pCeltFetched) { + return This->lpVtbl->Next(This,celt,rgVar,pCeltFetched); +} +static FORCEINLINE HRESULT IEnumNetSharingPrivateConnection_Skip(IEnumNetSharingPrivateConnection* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumNetSharingPrivateConnection_Reset(IEnumNetSharingPrivateConnection* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumNetSharingPrivateConnection_Clone(IEnumNetSharingPrivateConnection* This,IEnumNetSharingPrivateConnection **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetConnectionProps interface + */ +#ifndef __INetConnectionProps_INTERFACE_DEFINED__ +#define __INetConnectionProps_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetConnectionProps, 0xf4277c95, 0xce5b, 0x463d, 0x81,0x67, 0x56,0x62,0xd9,0xbc,0xaa,0x72); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f4277c95-ce5b-463d-8167-5662d9bcaa72") +INetConnectionProps : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Guid( + BSTR *pbstrGuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DeviceName( + BSTR *pbstrDeviceName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Status( + NETCON_STATUS *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MediaType( + NETCON_MEDIATYPE *pMediaType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Characteristics( + DWORD *pdwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetConnectionProps, 0xf4277c95, 0xce5b, 0x463d, 0x81,0x67, 0x56,0x62,0xd9,0xbc,0xaa,0x72) +#endif +#else +typedef struct INetConnectionPropsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetConnectionProps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetConnectionProps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetConnectionProps *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetConnectionProps *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetConnectionProps *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetConnectionProps *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetConnectionProps *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetConnectionProps methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Guid)( + INetConnectionProps *This, + BSTR *pbstrGuid); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetConnectionProps *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *get_DeviceName)( + INetConnectionProps *This, + BSTR *pbstrDeviceName); + + HRESULT (STDMETHODCALLTYPE *get_Status)( + INetConnectionProps *This, + NETCON_STATUS *pStatus); + + HRESULT (STDMETHODCALLTYPE *get_MediaType)( + INetConnectionProps *This, + NETCON_MEDIATYPE *pMediaType); + + HRESULT (STDMETHODCALLTYPE *get_Characteristics)( + INetConnectionProps *This, + DWORD *pdwFlags); + + END_INTERFACE +} INetConnectionPropsVtbl; + +interface INetConnectionProps { + CONST_VTBL INetConnectionPropsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetConnectionProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetConnectionProps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetConnectionProps_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetConnectionProps_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetConnectionProps_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetConnectionProps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetConnectionProps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetConnectionProps methods ***/ +#define INetConnectionProps_get_Guid(This,pbstrGuid) (This)->lpVtbl->get_Guid(This,pbstrGuid) +#define INetConnectionProps_get_Name(This,pbstrName) (This)->lpVtbl->get_Name(This,pbstrName) +#define INetConnectionProps_get_DeviceName(This,pbstrDeviceName) (This)->lpVtbl->get_DeviceName(This,pbstrDeviceName) +#define INetConnectionProps_get_Status(This,pStatus) (This)->lpVtbl->get_Status(This,pStatus) +#define INetConnectionProps_get_MediaType(This,pMediaType) (This)->lpVtbl->get_MediaType(This,pMediaType) +#define INetConnectionProps_get_Characteristics(This,pdwFlags) (This)->lpVtbl->get_Characteristics(This,pdwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetConnectionProps_QueryInterface(INetConnectionProps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetConnectionProps_AddRef(INetConnectionProps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetConnectionProps_Release(INetConnectionProps* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetConnectionProps_GetTypeInfoCount(INetConnectionProps* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetConnectionProps_GetTypeInfo(INetConnectionProps* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetConnectionProps_GetIDsOfNames(INetConnectionProps* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetConnectionProps_Invoke(INetConnectionProps* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetConnectionProps methods ***/ +static FORCEINLINE HRESULT INetConnectionProps_get_Guid(INetConnectionProps* This,BSTR *pbstrGuid) { + return This->lpVtbl->get_Guid(This,pbstrGuid); +} +static FORCEINLINE HRESULT INetConnectionProps_get_Name(INetConnectionProps* This,BSTR *pbstrName) { + return This->lpVtbl->get_Name(This,pbstrName); +} +static FORCEINLINE HRESULT INetConnectionProps_get_DeviceName(INetConnectionProps* This,BSTR *pbstrDeviceName) { + return This->lpVtbl->get_DeviceName(This,pbstrDeviceName); +} +static FORCEINLINE HRESULT INetConnectionProps_get_Status(INetConnectionProps* This,NETCON_STATUS *pStatus) { + return This->lpVtbl->get_Status(This,pStatus); +} +static FORCEINLINE HRESULT INetConnectionProps_get_MediaType(INetConnectionProps* This,NETCON_MEDIATYPE *pMediaType) { + return This->lpVtbl->get_MediaType(This,pMediaType); +} +static FORCEINLINE HRESULT INetConnectionProps_get_Characteristics(INetConnectionProps* This,DWORD *pdwFlags) { + return This->lpVtbl->get_Characteristics(This,pdwFlags); +} +#endif +#endif + +#endif + + +#endif /* __INetConnectionProps_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingPublicConnectionCollection interface + */ +#ifndef __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__ +#define __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingPublicConnectionCollection, 0x7d7a6355, 0xf372, 0x4971, 0xa1,0x49, 0xbf,0xc9,0x27,0xbe,0x76,0x2a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7d7a6355-f372-4971-a149-bfc927be762a") +INetSharingPublicConnectionCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *pVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingPublicConnectionCollection, 0x7d7a6355, 0xf372, 0x4971, 0xa1,0x49, 0xbf,0xc9,0x27,0xbe,0x76,0x2a) +#endif +#else +typedef struct INetSharingPublicConnectionCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingPublicConnectionCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingPublicConnectionCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingPublicConnectionCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingPublicConnectionCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingPublicConnectionCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingPublicConnectionCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingPublicConnectionCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingPublicConnectionCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetSharingPublicConnectionCollection *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetSharingPublicConnectionCollection *This, + LONG *pVal); + + END_INTERFACE +} INetSharingPublicConnectionCollectionVtbl; + +interface INetSharingPublicConnectionCollection { + CONST_VTBL INetSharingPublicConnectionCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingPublicConnectionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingPublicConnectionCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingPublicConnectionCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingPublicConnectionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingPublicConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingPublicConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingPublicConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingPublicConnectionCollection methods ***/ +#define INetSharingPublicConnectionCollection_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal) +#define INetSharingPublicConnectionCollection_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_QueryInterface(INetSharingPublicConnectionCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingPublicConnectionCollection_AddRef(INetSharingPublicConnectionCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingPublicConnectionCollection_Release(INetSharingPublicConnectionCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_GetTypeInfoCount(INetSharingPublicConnectionCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_GetTypeInfo(INetSharingPublicConnectionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_GetIDsOfNames(INetSharingPublicConnectionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_Invoke(INetSharingPublicConnectionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingPublicConnectionCollection methods ***/ +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_get__NewEnum(INetSharingPublicConnectionCollection* This,IUnknown **pVal) { + return This->lpVtbl->get__NewEnum(This,pVal); +} +static FORCEINLINE HRESULT INetSharingPublicConnectionCollection_get_Count(INetSharingPublicConnectionCollection* This,LONG *pVal) { + return This->lpVtbl->get_Count(This,pVal); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingEveryConnectionCollection interface + */ +#ifndef __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__ +#define __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingEveryConnectionCollection, 0x33c4643c, 0x7811, 0x46fa, 0xa8,0x9a, 0x76,0x85,0x97,0xbd,0x72,0x23); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("33c4643c-7811-46fa-a89a-768597bd7223") +INetSharingEveryConnectionCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *pVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingEveryConnectionCollection, 0x33c4643c, 0x7811, 0x46fa, 0xa8,0x9a, 0x76,0x85,0x97,0xbd,0x72,0x23) +#endif +#else +typedef struct INetSharingEveryConnectionCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingEveryConnectionCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingEveryConnectionCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingEveryConnectionCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingEveryConnectionCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingEveryConnectionCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingEveryConnectionCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingEveryConnectionCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingEveryConnectionCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetSharingEveryConnectionCollection *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetSharingEveryConnectionCollection *This, + LONG *pVal); + + END_INTERFACE +} INetSharingEveryConnectionCollectionVtbl; + +interface INetSharingEveryConnectionCollection { + CONST_VTBL INetSharingEveryConnectionCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingEveryConnectionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingEveryConnectionCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingEveryConnectionCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingEveryConnectionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingEveryConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingEveryConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingEveryConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingEveryConnectionCollection methods ***/ +#define INetSharingEveryConnectionCollection_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal) +#define INetSharingEveryConnectionCollection_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_QueryInterface(INetSharingEveryConnectionCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingEveryConnectionCollection_AddRef(INetSharingEveryConnectionCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingEveryConnectionCollection_Release(INetSharingEveryConnectionCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_GetTypeInfoCount(INetSharingEveryConnectionCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_GetTypeInfo(INetSharingEveryConnectionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_GetIDsOfNames(INetSharingEveryConnectionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_Invoke(INetSharingEveryConnectionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingEveryConnectionCollection methods ***/ +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_get__NewEnum(INetSharingEveryConnectionCollection* This,IUnknown **pVal) { + return This->lpVtbl->get__NewEnum(This,pVal); +} +static FORCEINLINE HRESULT INetSharingEveryConnectionCollection_get_Count(INetSharingEveryConnectionCollection* This,LONG *pVal) { + return This->lpVtbl->get_Count(This,pVal); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingPrivateConnectionCollection interface + */ +#ifndef __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__ +#define __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingPrivateConnectionCollection, 0x38ae69e0, 0x4409, 0x402a, 0xa2,0xcb, 0xe9,0x65,0xc7,0x27,0xf8,0x40); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("38ae69e0-4409-402a-a2cb-e965c727f840") +INetSharingPrivateConnectionCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *pVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingPrivateConnectionCollection, 0x38ae69e0, 0x4409, 0x402a, 0xa2,0xcb, 0xe9,0x65,0xc7,0x27,0xf8,0x40) +#endif +#else +typedef struct INetSharingPrivateConnectionCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingPrivateConnectionCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingPrivateConnectionCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingPrivateConnectionCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingPrivateConnectionCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingPrivateConnectionCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingPrivateConnectionCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingPrivateConnectionCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingPrivateConnectionCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetSharingPrivateConnectionCollection *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetSharingPrivateConnectionCollection *This, + LONG *pVal); + + END_INTERFACE +} INetSharingPrivateConnectionCollectionVtbl; + +interface INetSharingPrivateConnectionCollection { + CONST_VTBL INetSharingPrivateConnectionCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingPrivateConnectionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingPrivateConnectionCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingPrivateConnectionCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingPrivateConnectionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingPrivateConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingPrivateConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingPrivateConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingPrivateConnectionCollection methods ***/ +#define INetSharingPrivateConnectionCollection_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal) +#define INetSharingPrivateConnectionCollection_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_QueryInterface(INetSharingPrivateConnectionCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingPrivateConnectionCollection_AddRef(INetSharingPrivateConnectionCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingPrivateConnectionCollection_Release(INetSharingPrivateConnectionCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_GetTypeInfoCount(INetSharingPrivateConnectionCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_GetTypeInfo(INetSharingPrivateConnectionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_GetIDsOfNames(INetSharingPrivateConnectionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_Invoke(INetSharingPrivateConnectionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingPrivateConnectionCollection methods ***/ +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_get__NewEnum(INetSharingPrivateConnectionCollection* This,IUnknown **pVal) { + return This->lpVtbl->get__NewEnum(This,pVal); +} +static FORCEINLINE HRESULT INetSharingPrivateConnectionCollection_get_Count(INetSharingPrivateConnectionCollection* This,LONG *pVal) { + return This->lpVtbl->get_Count(This,pVal); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetSharingManager interface + */ +#ifndef __INetSharingManager_INTERFACE_DEFINED__ +#define __INetSharingManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetSharingManager, 0xc08956b7, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c08956b7-1cd3-11d1-b1c5-00805fc1270e") +INetSharingManager : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_SharingInstalled( + VARIANT_BOOL *pbInstalled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EnumPublicConnections( + SHARINGCONNECTION_ENUM_FLAGS Flags, + INetSharingPublicConnectionCollection **ppColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EnumPrivateConnections( + SHARINGCONNECTION_ENUM_FLAGS Flags, + INetSharingPrivateConnectionCollection **ppColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_INetSharingConfigurationForINetConnection( + INetConnection *pNetConnection, + INetSharingConfiguration **ppNetSharingConfiguration) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EnumEveryConnection( + INetSharingEveryConnectionCollection **ppColl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NetConnectionProps( + INetConnection *pNetConnection, + INetConnectionProps **ppProps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetSharingManager, 0xc08956b7, 0x1cd3, 0x11d1, 0xb1,0xc5, 0x00,0x80,0x5f,0xc1,0x27,0x0e) +#endif +#else +typedef struct INetSharingManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetSharingManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetSharingManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetSharingManager *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetSharingManager *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetSharingManager *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetSharingManager *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetSharingManager *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetSharingManager methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SharingInstalled)( + INetSharingManager *This, + VARIANT_BOOL *pbInstalled); + + HRESULT (STDMETHODCALLTYPE *get_EnumPublicConnections)( + INetSharingManager *This, + SHARINGCONNECTION_ENUM_FLAGS Flags, + INetSharingPublicConnectionCollection **ppColl); + + HRESULT (STDMETHODCALLTYPE *get_EnumPrivateConnections)( + INetSharingManager *This, + SHARINGCONNECTION_ENUM_FLAGS Flags, + INetSharingPrivateConnectionCollection **ppColl); + + HRESULT (STDMETHODCALLTYPE *get_INetSharingConfigurationForINetConnection)( + INetSharingManager *This, + INetConnection *pNetConnection, + INetSharingConfiguration **ppNetSharingConfiguration); + + HRESULT (STDMETHODCALLTYPE *get_EnumEveryConnection)( + INetSharingManager *This, + INetSharingEveryConnectionCollection **ppColl); + + HRESULT (STDMETHODCALLTYPE *get_NetConnectionProps)( + INetSharingManager *This, + INetConnection *pNetConnection, + INetConnectionProps **ppProps); + + END_INTERFACE +} INetSharingManagerVtbl; + +interface INetSharingManager { + CONST_VTBL INetSharingManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetSharingManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetSharingManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetSharingManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetSharingManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetSharingManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetSharingManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetSharingManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetSharingManager methods ***/ +#define INetSharingManager_get_SharingInstalled(This,pbInstalled) (This)->lpVtbl->get_SharingInstalled(This,pbInstalled) +#define INetSharingManager_get_EnumPublicConnections(This,Flags,ppColl) (This)->lpVtbl->get_EnumPublicConnections(This,Flags,ppColl) +#define INetSharingManager_get_EnumPrivateConnections(This,Flags,ppColl) (This)->lpVtbl->get_EnumPrivateConnections(This,Flags,ppColl) +#define INetSharingManager_get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration) (This)->lpVtbl->get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration) +#define INetSharingManager_get_EnumEveryConnection(This,ppColl) (This)->lpVtbl->get_EnumEveryConnection(This,ppColl) +#define INetSharingManager_get_NetConnectionProps(This,pNetConnection,ppProps) (This)->lpVtbl->get_NetConnectionProps(This,pNetConnection,ppProps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetSharingManager_QueryInterface(INetSharingManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetSharingManager_AddRef(INetSharingManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetSharingManager_Release(INetSharingManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetSharingManager_GetTypeInfoCount(INetSharingManager* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetSharingManager_GetTypeInfo(INetSharingManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetSharingManager_GetIDsOfNames(INetSharingManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetSharingManager_Invoke(INetSharingManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetSharingManager methods ***/ +static FORCEINLINE HRESULT INetSharingManager_get_SharingInstalled(INetSharingManager* This,VARIANT_BOOL *pbInstalled) { + return This->lpVtbl->get_SharingInstalled(This,pbInstalled); +} +static FORCEINLINE HRESULT INetSharingManager_get_EnumPublicConnections(INetSharingManager* This,SHARINGCONNECTION_ENUM_FLAGS Flags,INetSharingPublicConnectionCollection **ppColl) { + return This->lpVtbl->get_EnumPublicConnections(This,Flags,ppColl); +} +static FORCEINLINE HRESULT INetSharingManager_get_EnumPrivateConnections(INetSharingManager* This,SHARINGCONNECTION_ENUM_FLAGS Flags,INetSharingPrivateConnectionCollection **ppColl) { + return This->lpVtbl->get_EnumPrivateConnections(This,Flags,ppColl); +} +static FORCEINLINE HRESULT INetSharingManager_get_INetSharingConfigurationForINetConnection(INetSharingManager* This,INetConnection *pNetConnection,INetSharingConfiguration **ppNetSharingConfiguration) { + return This->lpVtbl->get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration); +} +static FORCEINLINE HRESULT INetSharingManager_get_EnumEveryConnection(INetSharingManager* This,INetSharingEveryConnectionCollection **ppColl) { + return This->lpVtbl->get_EnumEveryConnection(This,ppColl); +} +static FORCEINLINE HRESULT INetSharingManager_get_NetConnectionProps(INetSharingManager* This,INetConnection *pNetConnection,INetConnectionProps **ppProps) { + return This->lpVtbl->get_NetConnectionProps(This,pNetConnection,ppProps); +} +#endif +#endif + +#endif + + +#endif /* __INetSharingManager_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __netcon_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcon.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcon.idl new file mode 100644 index 0000000..eecc1d2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netcon.idl @@ -0,0 +1,412 @@ +/* + * Copyright 2009 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "oaidl.idl"; +import "unknwn.idl"; +import "wtypes.idl"; +/* import "prsht.idl"; */ +#endif + +cpp_quote("DEFINE_GUID(CLSID_NetSharingManager,0x5c63c1ad,0x3956,0x4ff8,0x84,0x86,0x40,0x03,0x47,0x58,0x31,0x5b);") + +[ + object, + uuid(c08956a1-1cd3-11d1-b1c5-00805fc1270e), + pointer_default(unique) +] +interface INetConnection : IUnknown +{ + typedef enum tagNETCON_CHARACTERISTIC_FLAGS + { + NCCF_NONE = 0x0000, + NCCF_ALL_USERS = 0x0001, + NCCF_ALLOW_DUPLICATION = 0x0002, + NCCF_ALLOW_REMOVAL = 0x0004, + NCCF_ALLOW_RENAME = 0x0008, + NCCF_INCOMING_ONLY = 0x0020, + NCCF_OUTGOING_ONLY = 0x0040, + NCCF_BRANDED = 0x0080, + NCCF_SHARED = 0x0100, + NCCF_BRIDGED = 0x0200, + NCCF_FIREWALLED = 0x0400, + NCCF_DEFAULT = 0x0800, + NCCF_HOMENET_CAPABLE = 0x1000, + NCCF_SHARED_PRIVATE = 0x2000, + NCCF_QUARANTINED = 0x4000, + NCCF_RESERVED = 0x8000, + NCCF_BLUETOOTH_MASK = 0x000F0000, + NCCF_LAN_MASK = 0x00F00000 + } NETCON_CHARACTERISTIC_FLAGS; + + typedef enum tagNETCON_STATUS + { + NCS_DISCONNECTED, + NCS_CONNECTING, + NCS_CONNECTED, + NCS_DISCONNECTING, + NCS_HARDWARE_NOT_PRESENT, + NCS_HARDWARE_DISABLED, + NCS_HARDWARE_MALFUNCTION, + NCS_MEDIA_DISCONNECTED, + NCS_AUTHENTICATING, + NCS_AUTHENTICATION_SUCCEEDED, + NCS_AUTHENTICATION_FAILED, + NCS_INVALID_ADDRESS, + NCS_CREDENTIALS_REQUIRED + } NETCON_STATUS; + + typedef enum tagNETCON_TYPE + { + NCT_DIRECT_CONNECT, + NCT_INBOUND, + NCT_INTERNET, + NCT_LAN, + NCT_PHONE, + NCT_TUNNEL, + NCT_BRIDGE + } NETCON_TYPE; + + typedef enum tagNETCON_MEDIATYPE + { + NCM_NONE, + NCM_DIRECT, + NCM_ISDN, + NCM_LAN, + NCM_PHONE, + NCM_TUNNEL, + NCM_PPPOE, + NCM_BRIDGE, + NCM_SHAREDACCESSHOST_LAN, + NCM_SHAREDACCESSHOST_RAS + } NETCON_MEDIATYPE; + + typedef struct tagNETCON_PROPERTIES + { + GUID guidId; + [string] LPWSTR pszwName; + [string] LPWSTR pszwDeviceName; + NETCON_STATUS Status; + NETCON_MEDIATYPE MediaType; + DWORD dwCharacter; + CLSID clsidThisObject; + CLSID clsidUiObject; + } NETCON_PROPERTIES; + + HRESULT Connect(); + + HRESULT Disconnect(); + + HRESULT Delete(); + + HRESULT Duplicate( + [in, string] LPCWSTR pszwDuplicateName, + [out] INetConnection **ppCon); + + HRESULT GetProperties([out] NETCON_PROPERTIES **ppProps); + + HRESULT GetUiObjectClassId([out, ref] CLSID *pclsid); + + HRESULT Rename([in, string] LPCWSTR pszwNewName); +} + +[ + object, + uuid(24b7e9b5-e38f-4685-851b-00892cf5f940), + oleautomation, + dual, + pointer_default(unique) +] +interface INetSharingPortMappingProps : IDispatch +{ + [propget, id(1)] + HRESULT Name([out, retval] BSTR *pbstrName); + + [propget, id(2)] + HRESULT IPProtocol([out, retval] UCHAR *pucIPProt); + + [propget, id(3)] + HRESULT ExternalPort([out, retval] long *pusPort); + + [propget, id(4)] + HRESULT InternalPort([out, retval] long *pusPort); + + [propget, id(5)] + HRESULT Options([out, retval] long *pdwOptions); + + [propget, id(6)] + HRESULT TargetName([out, retval] BSTR *pbstrTargetName); + + [propget, id(7)] + HRESULT TargetIPAddress([out, retval] BSTR *pbstrTargetIPAddress); + + [propget, id(8)] + HRESULT Enabled([out, retval] VARIANT_BOOL *pbool); +} + +[ + object, + uuid(c08956b1-1cd3-11d1-b1c5-00805fc1270e), + oleautomation, + dual, + pointer_default(unique) +] +interface INetSharingPortMapping : IDispatch +{ + [id(1)] + HRESULT Disable(); + + [id(2)] + HRESULT Enable(); + + [propget, id(3)] + HRESULT Properties([out, retval] INetSharingPortMappingProps **ppNSPMP); + + [id(4)] + HRESULT Delete(); +}; +[ + object, + uuid(02e4a2de-da20-4e34-89c8-ac22275a010b), + oleautomation, + dual, + pointer_default(unique) +] +interface INetSharingPortMappingCollection : IDispatch +{ + [propget, id(DISPID_NEWENUM), restricted] + HRESULT _NewEnum([out, retval] IUnknown **pVal); + + [propget, id(1)] + HRESULT Count([out, retval] long *pVal); +} + +[ + object, + uuid(c08956b6-1cd3-11d1-b1c5-00805fc1270e), + oleautomation, + dual, + pointer_default(unique) +] +interface INetSharingConfiguration : IDispatch +{ + typedef enum tagSHARINGCONNECTIONTYPE { + ICSSHARINGTYPE_PUBLIC, + ICSSHARINGTYPE_PRIVATE + } SHARINGCONNECTIONTYPE, *LPSHARINGCONNECTIONTYPE; + + typedef enum tagSHARINGCONNECTION_ENUM_FLAGS { + ICSSC_DEFAULT, + ICSSC_ENABLED + } SHARINGCONNECTION_ENUM_FLAGS; + + typedef enum tagICS_TARGETTYPE { + ICSTT_NAME, + ICSTT_IPADDRESS + }ICS_TARGETTYPE; + + [propget, id(1)] + HRESULT SharingEnabled([out, retval] VARIANT_BOOL *pbEnabled); + + [propget, id(2)] + HRESULT SharingConnectionType([out, retval] SHARINGCONNECTIONTYPE *pType); + + [id(3)] + HRESULT DisableSharing(); + + [id(4)] + HRESULT EnableSharing([in] SHARINGCONNECTIONTYPE Type); + + [propget, id(5)] + HRESULT InternetFirewallEnabled([out, retval] VARIANT_BOOL *pbEnabled); + + [id(6)] + HRESULT DisableInternetFirewall(); + + [id(7)] + HRESULT EnableInternetFirewall(); + + [propget, id(8)] + HRESULT EnumPortMappings( + [in] SHARINGCONNECTION_ENUM_FLAGS Flags, + [out, retval] INetSharingPortMappingCollection **ppColl); + + [id(9)] + HRESULT AddPortMapping( + [in] BSTR bstrName, + [in] UCHAR ucIPProtocol, + [in] USHORT usExternalPort, + [in] USHORT usInternalPort, + [in] DWORD dwOptions, + [in] BSTR bstrTargetNameOrIPAddress, + [in] ICS_TARGETTYPE eTargetType, + [out, retval] INetSharingPortMapping **ppMapping ); + + [id(10)] + HRESULT RemovePortMapping([in] INetSharingPortMapping *pMapping); +} + +[ + object, + uuid(c08956b4-1cd3-11d1-b1c5-00805fc1270e), + pointer_default(unique) +] +interface IEnumNetSharingPublicConnection : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] VARIANT *rgVar, + [out] ULONG *pceltFetched); + + HRESULT Skip([in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone([out] IEnumNetSharingPublicConnection **ppenum); +} + +[ + object, + uuid(c08956b5-1cd3-11d1-b1c5-00805fc1270e), + pointer_default(unique) +] +interface IEnumNetSharingPrivateConnection : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pCeltFetched)] VARIANT *rgVar, + [out] ULONG *pCeltFetched); + + HRESULT Skip([in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone([out] IEnumNetSharingPrivateConnection **ppenum); +} + +[ + object, + uuid(f4277c95-ce5b-463d-8167-5662d9bcaa72), + oleautomation, + dual, + pointer_default(unique) +] +interface INetConnectionProps : IDispatch +{ + [propget, id(1)] + HRESULT Guid([out, retval] BSTR *pbstrGuid); + + [propget, id(2)] + HRESULT Name([out, retval] BSTR *pbstrName); + + [propget, id(3)] + HRESULT DeviceName([out, retval] BSTR *pbstrDeviceName); + + [propget, id(4)] + HRESULT Status([out, retval] NETCON_STATUS *pStatus); + + [propget, id(5)] + HRESULT MediaType([out, retval] NETCON_MEDIATYPE *pMediaType); + + [propget, id(6)] + HRESULT Characteristics([out, retval] DWORD *pdwFlags); +} + +[ + object, + uuid(7d7a6355-f372-4971-a149-bfc927be762a), + oleautomation, + dual, + pointer_default(unique) +] +interface INetSharingPublicConnectionCollection : IDispatch +{ + [propget, id(DISPID_NEWENUM), restricted] + HRESULT _NewEnum([out, retval] IUnknown **pVal); + + [propget, id(1)] + HRESULT Count([out, retval] long *pVal); +} + +[ + object, + uuid(33c4643c-7811-46fa-a89a-768597bd7223), + oleautomation, + dual, + pointer_default(unique) + ] +interface INetSharingEveryConnectionCollection : IDispatch +{ + [propget, id(DISPID_NEWENUM), restricted] + HRESULT _NewEnum([out, retval] IUnknown **pVal); + + [propget, id(1)] + HRESULT Count([out, retval] long *pVal); +} + +[ + object, + uuid(38ae69e0-4409-402a-a2cb-e965c727f840), + oleautomation, + dual, + pointer_default(unique) + ] +interface INetSharingPrivateConnectionCollection : IDispatch +{ + [propget, id(DISPID_NEWENUM), restricted] + HRESULT _NewEnum([out, retval] IUnknown **pVal); + + [propget, id(1)] + HRESULT Count([out, retval] long *pVal); +} + +[ + object, + uuid(c08956b7-1cd3-11d1-b1c5-00805fc1270e), + oleautomation, + dual, + pointer_default(unique) +] +interface INetSharingManager : IDispatch +{ + [propget, id(1)] + HRESULT SharingInstalled([out, retval] VARIANT_BOOL *pbInstalled); + + [propget, id(2)] + HRESULT EnumPublicConnections( + [in] SHARINGCONNECTION_ENUM_FLAGS Flags, + [out, retval] INetSharingPublicConnectionCollection **ppColl); + + [propget, id(3)] + HRESULT EnumPrivateConnections( + [in] SHARINGCONNECTION_ENUM_FLAGS Flags, + [out, retval] INetSharingPrivateConnectionCollection **ppColl); + + [propget, id(6)] + HRESULT INetSharingConfigurationForINetConnection( + [in] INetConnection *pNetConnection, + [out, retval] INetSharingConfiguration **ppNetSharingConfiguration); + + [propget, id(7)] + HRESULT EnumEveryConnection([out, retval] INetSharingEveryConnectionCollection **ppColl); + + [propget, id(8)] + HRESULT NetConnectionProps( + [in] INetConnection *pNetConnection, + [out, retval] INetConnectionProps **ppProps); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netfw.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netfw.h new file mode 100644 index 0000000..9d3a586 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netfw.h @@ -0,0 +1,3980 @@ +/*** Autogenerated by WIDL 2.18 from netfw.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __netfw_h__ +#define __netfw_h__ + +/* Forward declarations */ + +#ifndef __INetFwIcmpSettings_FWD_DEFINED__ +#define __INetFwIcmpSettings_FWD_DEFINED__ +typedef interface INetFwIcmpSettings INetFwIcmpSettings; +#ifdef __cplusplus +interface INetFwIcmpSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwOpenPort_FWD_DEFINED__ +#define __INetFwOpenPort_FWD_DEFINED__ +typedef interface INetFwOpenPort INetFwOpenPort; +#ifdef __cplusplus +interface INetFwOpenPort; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwOpenPorts_FWD_DEFINED__ +#define __INetFwOpenPorts_FWD_DEFINED__ +typedef interface INetFwOpenPorts INetFwOpenPorts; +#ifdef __cplusplus +interface INetFwOpenPorts; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwService_FWD_DEFINED__ +#define __INetFwService_FWD_DEFINED__ +typedef interface INetFwService INetFwService; +#ifdef __cplusplus +interface INetFwService; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwServices_FWD_DEFINED__ +#define __INetFwServices_FWD_DEFINED__ +typedef interface INetFwServices INetFwServices; +#ifdef __cplusplus +interface INetFwServices; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwAuthorizedApplication_FWD_DEFINED__ +#define __INetFwAuthorizedApplication_FWD_DEFINED__ +typedef interface INetFwAuthorizedApplication INetFwAuthorizedApplication; +#ifdef __cplusplus +interface INetFwAuthorizedApplication; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwRemoteAdminSettings_FWD_DEFINED__ +#define __INetFwRemoteAdminSettings_FWD_DEFINED__ +typedef interface INetFwRemoteAdminSettings INetFwRemoteAdminSettings; +#ifdef __cplusplus +interface INetFwRemoteAdminSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwAuthorizedApplications_FWD_DEFINED__ +#define __INetFwAuthorizedApplications_FWD_DEFINED__ +typedef interface INetFwAuthorizedApplications INetFwAuthorizedApplications; +#ifdef __cplusplus +interface INetFwAuthorizedApplications; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwRule_FWD_DEFINED__ +#define __INetFwRule_FWD_DEFINED__ +typedef interface INetFwRule INetFwRule; +#ifdef __cplusplus +interface INetFwRule; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwRules_FWD_DEFINED__ +#define __INetFwRules_FWD_DEFINED__ +typedef interface INetFwRules INetFwRules; +#ifdef __cplusplus +interface INetFwRules; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwServiceRestriction_FWD_DEFINED__ +#define __INetFwServiceRestriction_FWD_DEFINED__ +typedef interface INetFwServiceRestriction INetFwServiceRestriction; +#ifdef __cplusplus +interface INetFwServiceRestriction; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwProfile_FWD_DEFINED__ +#define __INetFwProfile_FWD_DEFINED__ +typedef interface INetFwProfile INetFwProfile; +#ifdef __cplusplus +interface INetFwProfile; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwPolicy_FWD_DEFINED__ +#define __INetFwPolicy_FWD_DEFINED__ +typedef interface INetFwPolicy INetFwPolicy; +#ifdef __cplusplus +interface INetFwPolicy; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwPolicy2_FWD_DEFINED__ +#define __INetFwPolicy2_FWD_DEFINED__ +typedef interface INetFwPolicy2 INetFwPolicy2; +#ifdef __cplusplus +interface INetFwPolicy2; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwMgr_FWD_DEFINED__ +#define __INetFwMgr_FWD_DEFINED__ +typedef interface INetFwMgr INetFwMgr; +#ifdef __cplusplus +interface INetFwMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __NetFwOpenPort_FWD_DEFINED__ +#define __NetFwOpenPort_FWD_DEFINED__ +#ifdef __cplusplus +typedef class NetFwOpenPort NetFwOpenPort; +#else +typedef struct NetFwOpenPort NetFwOpenPort; +#endif /* defined __cplusplus */ +#endif /* defined __NetFwOpenPort_FWD_DEFINED__ */ + +#ifndef __NetFwAuthorizedApplication_FWD_DEFINED__ +#define __NetFwAuthorizedApplication_FWD_DEFINED__ +#ifdef __cplusplus +typedef class NetFwAuthorizedApplication NetFwAuthorizedApplication; +#else +typedef struct NetFwAuthorizedApplication NetFwAuthorizedApplication; +#endif /* defined __cplusplus */ +#endif /* defined __NetFwAuthorizedApplication_FWD_DEFINED__ */ + +#ifndef __NetFwMgr_FWD_DEFINED__ +#define __NetFwMgr_FWD_DEFINED__ +#ifdef __cplusplus +typedef class NetFwMgr NetFwMgr; +#else +typedef struct NetFwMgr NetFwMgr; +#endif /* defined __cplusplus */ +#endif /* defined __NetFwMgr_FWD_DEFINED__ */ + +#ifndef __NetFwPolicy2_FWD_DEFINED__ +#define __NetFwPolicy2_FWD_DEFINED__ +#ifdef __cplusplus +typedef class NetFwPolicy2 NetFwPolicy2; +#else +typedef struct NetFwPolicy2 NetFwPolicy2; +#endif /* defined __cplusplus */ +#endif /* defined __NetFwPolicy2_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * INetFwIcmpSettings interface + */ +#ifndef __INetFwIcmpSettings_INTERFACE_DEFINED__ +#define __INetFwIcmpSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwIcmpSettings, 0xa6207b2e, 0x7cdd, 0x426a, 0x95,0x1e, 0x5e,0x1c,0xbc,0x5a,0xfe,0xad); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6207b2e-7cdd-426a-951e-5e1cbc5afead") +INetFwIcmpSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AllowOutboundDestinationUnreachable( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowOutboundDestinationUnreachable( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowRedirect( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowRedirect( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowInboundEchoRequest( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowInboundEchoRequest( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowOutboundTimeExceeded( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowOutboundTimeExceeded( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowOutboundParameterProblem( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowOutboundParameterProblem( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowOutboundSourceQuench( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowOutboundSourceQuench( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowInboundRouterRequest( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowInboundRouterRequest( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowInboundTimestampRequest( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowInboundTimestampRequest( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowInboundMaskRequest( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowInboundMaskRequest( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowOutboundPacketTooBig( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowOutboundPacketTooBig( + VARIANT_BOOL allow) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwIcmpSettings, 0xa6207b2e, 0x7cdd, 0x426a, 0x95,0x1e, 0x5e,0x1c,0xbc,0x5a,0xfe,0xad) +#endif +#else +typedef struct INetFwIcmpSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwIcmpSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwIcmpSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwIcmpSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwIcmpSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwIcmpSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwIcmpSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwIcmpSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwIcmpSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AllowOutboundDestinationUnreachable)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowOutboundDestinationUnreachable)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowRedirect)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowRedirect)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowInboundEchoRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowInboundEchoRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowOutboundTimeExceeded)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowOutboundTimeExceeded)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowOutboundParameterProblem)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowOutboundParameterProblem)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowOutboundSourceQuench)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowOutboundSourceQuench)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowInboundRouterRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowInboundRouterRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowInboundTimestampRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowInboundTimestampRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowInboundMaskRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowInboundMaskRequest)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_AllowOutboundPacketTooBig)( + INetFwIcmpSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowOutboundPacketTooBig)( + INetFwIcmpSettings *This, + VARIANT_BOOL allow); + + END_INTERFACE +} INetFwIcmpSettingsVtbl; + +interface INetFwIcmpSettings { + CONST_VTBL INetFwIcmpSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwIcmpSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwIcmpSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwIcmpSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwIcmpSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwIcmpSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwIcmpSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwIcmpSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwIcmpSettings methods ***/ +#define INetFwIcmpSettings_get_AllowOutboundDestinationUnreachable(This,allow) (This)->lpVtbl->get_AllowOutboundDestinationUnreachable(This,allow) +#define INetFwIcmpSettings_put_AllowOutboundDestinationUnreachable(This,allow) (This)->lpVtbl->put_AllowOutboundDestinationUnreachable(This,allow) +#define INetFwIcmpSettings_get_AllowRedirect(This,allow) (This)->lpVtbl->get_AllowRedirect(This,allow) +#define INetFwIcmpSettings_put_AllowRedirect(This,allow) (This)->lpVtbl->put_AllowRedirect(This,allow) +#define INetFwIcmpSettings_get_AllowInboundEchoRequest(This,allow) (This)->lpVtbl->get_AllowInboundEchoRequest(This,allow) +#define INetFwIcmpSettings_put_AllowInboundEchoRequest(This,allow) (This)->lpVtbl->put_AllowInboundEchoRequest(This,allow) +#define INetFwIcmpSettings_get_AllowOutboundTimeExceeded(This,allow) (This)->lpVtbl->get_AllowOutboundTimeExceeded(This,allow) +#define INetFwIcmpSettings_put_AllowOutboundTimeExceeded(This,allow) (This)->lpVtbl->put_AllowOutboundTimeExceeded(This,allow) +#define INetFwIcmpSettings_get_AllowOutboundParameterProblem(This,allow) (This)->lpVtbl->get_AllowOutboundParameterProblem(This,allow) +#define INetFwIcmpSettings_put_AllowOutboundParameterProblem(This,allow) (This)->lpVtbl->put_AllowOutboundParameterProblem(This,allow) +#define INetFwIcmpSettings_get_AllowOutboundSourceQuench(This,allow) (This)->lpVtbl->get_AllowOutboundSourceQuench(This,allow) +#define INetFwIcmpSettings_put_AllowOutboundSourceQuench(This,allow) (This)->lpVtbl->put_AllowOutboundSourceQuench(This,allow) +#define INetFwIcmpSettings_get_AllowInboundRouterRequest(This,allow) (This)->lpVtbl->get_AllowInboundRouterRequest(This,allow) +#define INetFwIcmpSettings_put_AllowInboundRouterRequest(This,allow) (This)->lpVtbl->put_AllowInboundRouterRequest(This,allow) +#define INetFwIcmpSettings_get_AllowInboundTimestampRequest(This,allow) (This)->lpVtbl->get_AllowInboundTimestampRequest(This,allow) +#define INetFwIcmpSettings_put_AllowInboundTimestampRequest(This,allow) (This)->lpVtbl->put_AllowInboundTimestampRequest(This,allow) +#define INetFwIcmpSettings_get_AllowInboundMaskRequest(This,allow) (This)->lpVtbl->get_AllowInboundMaskRequest(This,allow) +#define INetFwIcmpSettings_put_AllowInboundMaskRequest(This,allow) (This)->lpVtbl->put_AllowInboundMaskRequest(This,allow) +#define INetFwIcmpSettings_get_AllowOutboundPacketTooBig(This,allow) (This)->lpVtbl->get_AllowOutboundPacketTooBig(This,allow) +#define INetFwIcmpSettings_put_AllowOutboundPacketTooBig(This,allow) (This)->lpVtbl->put_AllowOutboundPacketTooBig(This,allow) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwIcmpSettings_QueryInterface(INetFwIcmpSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwIcmpSettings_AddRef(INetFwIcmpSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwIcmpSettings_Release(INetFwIcmpSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwIcmpSettings_GetTypeInfoCount(INetFwIcmpSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_GetTypeInfo(INetFwIcmpSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_GetIDsOfNames(INetFwIcmpSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_Invoke(INetFwIcmpSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwIcmpSettings methods ***/ +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowOutboundDestinationUnreachable(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowOutboundDestinationUnreachable(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowOutboundDestinationUnreachable(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowOutboundDestinationUnreachable(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowRedirect(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowRedirect(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowRedirect(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowRedirect(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowInboundEchoRequest(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowInboundEchoRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowInboundEchoRequest(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowInboundEchoRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowOutboundTimeExceeded(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowOutboundTimeExceeded(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowOutboundTimeExceeded(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowOutboundTimeExceeded(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowOutboundParameterProblem(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowOutboundParameterProblem(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowOutboundParameterProblem(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowOutboundParameterProblem(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowOutboundSourceQuench(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowOutboundSourceQuench(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowOutboundSourceQuench(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowOutboundSourceQuench(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowInboundRouterRequest(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowInboundRouterRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowInboundRouterRequest(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowInboundRouterRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowInboundTimestampRequest(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowInboundTimestampRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowInboundTimestampRequest(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowInboundTimestampRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowInboundMaskRequest(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowInboundMaskRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowInboundMaskRequest(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowInboundMaskRequest(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_get_AllowOutboundPacketTooBig(INetFwIcmpSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowOutboundPacketTooBig(This,allow); +} +static FORCEINLINE HRESULT INetFwIcmpSettings_put_AllowOutboundPacketTooBig(INetFwIcmpSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowOutboundPacketTooBig(This,allow); +} +#endif +#endif + +#endif + + +#endif /* __INetFwIcmpSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwOpenPort interface + */ +#ifndef __INetFwOpenPort_INTERFACE_DEFINED__ +#define __INetFwOpenPort_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwOpenPort, 0xe0483ba0, 0x47ff, 0x4d9c, 0xa6,0xd6, 0x77,0x41,0xd0,0xb1,0x95,0xf7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e0483ba0-47ff-4d9c-a6d6-7741d0b195f7") +INetFwOpenPort : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Name( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IpVersion( + NET_FW_IP_VERSION *ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IpVersion( + NET_FW_IP_VERSION ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Protocol( + NET_FW_IP_PROTOCOL *ipProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Protocol( + NET_FW_IP_PROTOCOL ipProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Port( + LONG *portNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Port( + LONG portNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Scope( + NET_FW_SCOPE *scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Scope( + NET_FW_SCOPE scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemoteAddresses( + BSTR *remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RemoteAddresses( + BSTR remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BuiltIn( + VARIANT_BOOL *builtIn) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwOpenPort, 0xe0483ba0, 0x47ff, 0x4d9c, 0xa6,0xd6, 0x77,0x41,0xd0,0xb1,0x95,0xf7) +#endif +#else +typedef struct INetFwOpenPortVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwOpenPort *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwOpenPort *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwOpenPort *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwOpenPort *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwOpenPort *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwOpenPort *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwOpenPort *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwOpenPort methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetFwOpenPort *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + INetFwOpenPort *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_IpVersion)( + INetFwOpenPort *This, + NET_FW_IP_VERSION *ipVersion); + + HRESULT (STDMETHODCALLTYPE *put_IpVersion)( + INetFwOpenPort *This, + NET_FW_IP_VERSION ipVersion); + + HRESULT (STDMETHODCALLTYPE *get_Protocol)( + INetFwOpenPort *This, + NET_FW_IP_PROTOCOL *ipProtocol); + + HRESULT (STDMETHODCALLTYPE *put_Protocol)( + INetFwOpenPort *This, + NET_FW_IP_PROTOCOL ipProtocol); + + HRESULT (STDMETHODCALLTYPE *get_Port)( + INetFwOpenPort *This, + LONG *portNumber); + + HRESULT (STDMETHODCALLTYPE *put_Port)( + INetFwOpenPort *This, + LONG portNumber); + + HRESULT (STDMETHODCALLTYPE *get_Scope)( + INetFwOpenPort *This, + NET_FW_SCOPE *scope); + + HRESULT (STDMETHODCALLTYPE *put_Scope)( + INetFwOpenPort *This, + NET_FW_SCOPE scope); + + HRESULT (STDMETHODCALLTYPE *get_RemoteAddresses)( + INetFwOpenPort *This, + BSTR *remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *put_RemoteAddresses)( + INetFwOpenPort *This, + BSTR remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + INetFwOpenPort *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + INetFwOpenPort *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_BuiltIn)( + INetFwOpenPort *This, + VARIANT_BOOL *builtIn); + + END_INTERFACE +} INetFwOpenPortVtbl; + +interface INetFwOpenPort { + CONST_VTBL INetFwOpenPortVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwOpenPort_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwOpenPort_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwOpenPort_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwOpenPort_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwOpenPort_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwOpenPort_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwOpenPort_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwOpenPort methods ***/ +#define INetFwOpenPort_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define INetFwOpenPort_put_Name(This,name) (This)->lpVtbl->put_Name(This,name) +#define INetFwOpenPort_get_IpVersion(This,ipVersion) (This)->lpVtbl->get_IpVersion(This,ipVersion) +#define INetFwOpenPort_put_IpVersion(This,ipVersion) (This)->lpVtbl->put_IpVersion(This,ipVersion) +#define INetFwOpenPort_get_Protocol(This,ipProtocol) (This)->lpVtbl->get_Protocol(This,ipProtocol) +#define INetFwOpenPort_put_Protocol(This,ipProtocol) (This)->lpVtbl->put_Protocol(This,ipProtocol) +#define INetFwOpenPort_get_Port(This,portNumber) (This)->lpVtbl->get_Port(This,portNumber) +#define INetFwOpenPort_put_Port(This,portNumber) (This)->lpVtbl->put_Port(This,portNumber) +#define INetFwOpenPort_get_Scope(This,scope) (This)->lpVtbl->get_Scope(This,scope) +#define INetFwOpenPort_put_Scope(This,scope) (This)->lpVtbl->put_Scope(This,scope) +#define INetFwOpenPort_get_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->get_RemoteAddresses(This,remoteAddrs) +#define INetFwOpenPort_put_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->put_RemoteAddresses(This,remoteAddrs) +#define INetFwOpenPort_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define INetFwOpenPort_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#define INetFwOpenPort_get_BuiltIn(This,builtIn) (This)->lpVtbl->get_BuiltIn(This,builtIn) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwOpenPort_QueryInterface(INetFwOpenPort* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwOpenPort_AddRef(INetFwOpenPort* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwOpenPort_Release(INetFwOpenPort* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwOpenPort_GetTypeInfoCount(INetFwOpenPort* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwOpenPort_GetTypeInfo(INetFwOpenPort* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwOpenPort_GetIDsOfNames(INetFwOpenPort* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwOpenPort_Invoke(INetFwOpenPort* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwOpenPort methods ***/ +static FORCEINLINE HRESULT INetFwOpenPort_get_Name(INetFwOpenPort* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_Name(INetFwOpenPort* This,BSTR name) { + return This->lpVtbl->put_Name(This,name); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_IpVersion(INetFwOpenPort* This,NET_FW_IP_VERSION *ipVersion) { + return This->lpVtbl->get_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_IpVersion(INetFwOpenPort* This,NET_FW_IP_VERSION ipVersion) { + return This->lpVtbl->put_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_Protocol(INetFwOpenPort* This,NET_FW_IP_PROTOCOL *ipProtocol) { + return This->lpVtbl->get_Protocol(This,ipProtocol); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_Protocol(INetFwOpenPort* This,NET_FW_IP_PROTOCOL ipProtocol) { + return This->lpVtbl->put_Protocol(This,ipProtocol); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_Port(INetFwOpenPort* This,LONG *portNumber) { + return This->lpVtbl->get_Port(This,portNumber); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_Port(INetFwOpenPort* This,LONG portNumber) { + return This->lpVtbl->put_Port(This,portNumber); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_Scope(INetFwOpenPort* This,NET_FW_SCOPE *scope) { + return This->lpVtbl->get_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_Scope(INetFwOpenPort* This,NET_FW_SCOPE scope) { + return This->lpVtbl->put_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_RemoteAddresses(INetFwOpenPort* This,BSTR *remoteAddrs) { + return This->lpVtbl->get_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_RemoteAddresses(INetFwOpenPort* This,BSTR remoteAddrs) { + return This->lpVtbl->put_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_Enabled(INetFwOpenPort* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwOpenPort_put_Enabled(INetFwOpenPort* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwOpenPort_get_BuiltIn(INetFwOpenPort* This,VARIANT_BOOL *builtIn) { + return This->lpVtbl->get_BuiltIn(This,builtIn); +} +#endif +#endif + +#endif + + +#endif /* __INetFwOpenPort_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwOpenPorts interface + */ +#ifndef __INetFwOpenPorts_INTERFACE_DEFINED__ +#define __INetFwOpenPorts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwOpenPorts, 0xc0e9d7fa, 0xe07e, 0x430a, 0xb1,0x9a, 0x09,0x0c,0xe8,0x2d,0x92,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c0e9d7fa-e07e-430a-b19a-090ce82d92e2") +INetFwOpenPorts : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + INetFwOpenPort *port) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + LONG portNumber, + NET_FW_IP_PROTOCOL ipProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG portNumber, + NET_FW_IP_PROTOCOL ipProtocol, + INetFwOpenPort **openPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **newEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwOpenPorts, 0xc0e9d7fa, 0xe07e, 0x430a, 0xb1,0x9a, 0x09,0x0c,0xe8,0x2d,0x92,0xe2) +#endif +#else +typedef struct INetFwOpenPortsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwOpenPorts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwOpenPorts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwOpenPorts *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwOpenPorts *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwOpenPorts *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwOpenPorts *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwOpenPorts *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwOpenPorts methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetFwOpenPorts *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *Add)( + INetFwOpenPorts *This, + INetFwOpenPort *port); + + HRESULT (STDMETHODCALLTYPE *Remove)( + INetFwOpenPorts *This, + LONG portNumber, + NET_FW_IP_PROTOCOL ipProtocol); + + HRESULT (STDMETHODCALLTYPE *Item)( + INetFwOpenPorts *This, + LONG portNumber, + NET_FW_IP_PROTOCOL ipProtocol, + INetFwOpenPort **openPort); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetFwOpenPorts *This, + IUnknown **newEnum); + + END_INTERFACE +} INetFwOpenPortsVtbl; + +interface INetFwOpenPorts { + CONST_VTBL INetFwOpenPortsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwOpenPorts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwOpenPorts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwOpenPorts_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwOpenPorts_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwOpenPorts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwOpenPorts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwOpenPorts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwOpenPorts methods ***/ +#define INetFwOpenPorts_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define INetFwOpenPorts_Add(This,port) (This)->lpVtbl->Add(This,port) +#define INetFwOpenPorts_Remove(This,portNumber,ipProtocol) (This)->lpVtbl->Remove(This,portNumber,ipProtocol) +#define INetFwOpenPorts_Item(This,portNumber,ipProtocol,openPort) (This)->lpVtbl->Item(This,portNumber,ipProtocol,openPort) +#define INetFwOpenPorts_get__NewEnum(This,newEnum) (This)->lpVtbl->get__NewEnum(This,newEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwOpenPorts_QueryInterface(INetFwOpenPorts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwOpenPorts_AddRef(INetFwOpenPorts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwOpenPorts_Release(INetFwOpenPorts* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwOpenPorts_GetTypeInfoCount(INetFwOpenPorts* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwOpenPorts_GetTypeInfo(INetFwOpenPorts* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwOpenPorts_GetIDsOfNames(INetFwOpenPorts* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwOpenPorts_Invoke(INetFwOpenPorts* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwOpenPorts methods ***/ +static FORCEINLINE HRESULT INetFwOpenPorts_get_Count(INetFwOpenPorts* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT INetFwOpenPorts_Add(INetFwOpenPorts* This,INetFwOpenPort *port) { + return This->lpVtbl->Add(This,port); +} +static FORCEINLINE HRESULT INetFwOpenPorts_Remove(INetFwOpenPorts* This,LONG portNumber,NET_FW_IP_PROTOCOL ipProtocol) { + return This->lpVtbl->Remove(This,portNumber,ipProtocol); +} +static FORCEINLINE HRESULT INetFwOpenPorts_Item(INetFwOpenPorts* This,LONG portNumber,NET_FW_IP_PROTOCOL ipProtocol,INetFwOpenPort **openPort) { + return This->lpVtbl->Item(This,portNumber,ipProtocol,openPort); +} +static FORCEINLINE HRESULT INetFwOpenPorts_get__NewEnum(INetFwOpenPorts* This,IUnknown **newEnum) { + return This->lpVtbl->get__NewEnum(This,newEnum); +} +#endif +#endif + +#endif + + +#endif /* __INetFwOpenPorts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwService interface + */ +#ifndef __INetFwService_INTERFACE_DEFINED__ +#define __INetFwService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwService, 0x79fd57c8, 0x908e, 0x4a36, 0x98,0x88, 0xd5,0xb3,0xf0,0xa4,0x44,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79fd57c8-908e-4a36-9888-d5b3f0a444cf") +INetFwService : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + NET_FW_SERVICE_TYPE *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Customized( + VARIANT_BOOL *customized) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IpVersion( + NET_FW_IP_VERSION *ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IpVersion( + NET_FW_IP_VERSION ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Scope( + NET_FW_SCOPE *scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Scope( + NET_FW_SCOPE scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemoteAddresses( + BSTR *remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RemoteAddresses( + BSTR remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GloballyOpenPorts( + INetFwOpenPorts **openPorts) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwService, 0x79fd57c8, 0x908e, 0x4a36, 0x98,0x88, 0xd5,0xb3,0xf0,0xa4,0x44,0xcf) +#endif +#else +typedef struct INetFwServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwService *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwService *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwService *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwService *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwService *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwService methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetFwService *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + INetFwService *This, + NET_FW_SERVICE_TYPE *type); + + HRESULT (STDMETHODCALLTYPE *get_Customized)( + INetFwService *This, + VARIANT_BOOL *customized); + + HRESULT (STDMETHODCALLTYPE *get_IpVersion)( + INetFwService *This, + NET_FW_IP_VERSION *ipVersion); + + HRESULT (STDMETHODCALLTYPE *put_IpVersion)( + INetFwService *This, + NET_FW_IP_VERSION ipVersion); + + HRESULT (STDMETHODCALLTYPE *get_Scope)( + INetFwService *This, + NET_FW_SCOPE *scope); + + HRESULT (STDMETHODCALLTYPE *put_Scope)( + INetFwService *This, + NET_FW_SCOPE scope); + + HRESULT (STDMETHODCALLTYPE *get_RemoteAddresses)( + INetFwService *This, + BSTR *remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *put_RemoteAddresses)( + INetFwService *This, + BSTR remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + INetFwService *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + INetFwService *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_GloballyOpenPorts)( + INetFwService *This, + INetFwOpenPorts **openPorts); + + END_INTERFACE +} INetFwServiceVtbl; + +interface INetFwService { + CONST_VTBL INetFwServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwService_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwService_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwService methods ***/ +#define INetFwService_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define INetFwService_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +#define INetFwService_get_Customized(This,customized) (This)->lpVtbl->get_Customized(This,customized) +#define INetFwService_get_IpVersion(This,ipVersion) (This)->lpVtbl->get_IpVersion(This,ipVersion) +#define INetFwService_put_IpVersion(This,ipVersion) (This)->lpVtbl->put_IpVersion(This,ipVersion) +#define INetFwService_get_Scope(This,scope) (This)->lpVtbl->get_Scope(This,scope) +#define INetFwService_put_Scope(This,scope) (This)->lpVtbl->put_Scope(This,scope) +#define INetFwService_get_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->get_RemoteAddresses(This,remoteAddrs) +#define INetFwService_put_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->put_RemoteAddresses(This,remoteAddrs) +#define INetFwService_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define INetFwService_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#define INetFwService_get_GloballyOpenPorts(This,openPorts) (This)->lpVtbl->get_GloballyOpenPorts(This,openPorts) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwService_QueryInterface(INetFwService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwService_AddRef(INetFwService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwService_Release(INetFwService* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwService_GetTypeInfoCount(INetFwService* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwService_GetTypeInfo(INetFwService* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwService_GetIDsOfNames(INetFwService* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwService_Invoke(INetFwService* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwService methods ***/ +static FORCEINLINE HRESULT INetFwService_get_Name(INetFwService* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT INetFwService_get_Type(INetFwService* This,NET_FW_SERVICE_TYPE *type) { + return This->lpVtbl->get_Type(This,type); +} +static FORCEINLINE HRESULT INetFwService_get_Customized(INetFwService* This,VARIANT_BOOL *customized) { + return This->lpVtbl->get_Customized(This,customized); +} +static FORCEINLINE HRESULT INetFwService_get_IpVersion(INetFwService* This,NET_FW_IP_VERSION *ipVersion) { + return This->lpVtbl->get_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwService_put_IpVersion(INetFwService* This,NET_FW_IP_VERSION ipVersion) { + return This->lpVtbl->put_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwService_get_Scope(INetFwService* This,NET_FW_SCOPE *scope) { + return This->lpVtbl->get_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwService_put_Scope(INetFwService* This,NET_FW_SCOPE scope) { + return This->lpVtbl->put_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwService_get_RemoteAddresses(INetFwService* This,BSTR *remoteAddrs) { + return This->lpVtbl->get_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwService_put_RemoteAddresses(INetFwService* This,BSTR remoteAddrs) { + return This->lpVtbl->put_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwService_get_Enabled(INetFwService* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwService_put_Enabled(INetFwService* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwService_get_GloballyOpenPorts(INetFwService* This,INetFwOpenPorts **openPorts) { + return This->lpVtbl->get_GloballyOpenPorts(This,openPorts); +} +#endif +#endif + +#endif + + +#endif /* __INetFwService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwServices interface + */ +#ifndef __INetFwServices_INTERFACE_DEFINED__ +#define __INetFwServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwServices, 0x79649bb4, 0x903e, 0x421b, 0x94,0xc9, 0x79,0x84,0x8e,0x79,0xf6,0xee); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79649bb4-903e-421b-94c9-79848e79f6ee") +INetFwServices : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + NET_FW_SERVICE_TYPE svcType, + INetFwService **service) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **newEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwServices, 0x79649bb4, 0x903e, 0x421b, 0x94,0xc9, 0x79,0x84,0x8e,0x79,0xf6,0xee) +#endif +#else +typedef struct INetFwServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwServices *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwServices *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwServices *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwServices *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwServices *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwServices methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetFwServices *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *Item)( + INetFwServices *This, + NET_FW_SERVICE_TYPE svcType, + INetFwService **service); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetFwServices *This, + IUnknown **newEnum); + + END_INTERFACE +} INetFwServicesVtbl; + +interface INetFwServices { + CONST_VTBL INetFwServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwServices_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwServices_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwServices methods ***/ +#define INetFwServices_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define INetFwServices_Item(This,svcType,service) (This)->lpVtbl->Item(This,svcType,service) +#define INetFwServices_get__NewEnum(This,newEnum) (This)->lpVtbl->get__NewEnum(This,newEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwServices_QueryInterface(INetFwServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwServices_AddRef(INetFwServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwServices_Release(INetFwServices* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwServices_GetTypeInfoCount(INetFwServices* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwServices_GetTypeInfo(INetFwServices* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwServices_GetIDsOfNames(INetFwServices* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwServices_Invoke(INetFwServices* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwServices methods ***/ +static FORCEINLINE HRESULT INetFwServices_get_Count(INetFwServices* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT INetFwServices_Item(INetFwServices* This,NET_FW_SERVICE_TYPE svcType,INetFwService **service) { + return This->lpVtbl->Item(This,svcType,service); +} +static FORCEINLINE HRESULT INetFwServices_get__NewEnum(INetFwServices* This,IUnknown **newEnum) { + return This->lpVtbl->get__NewEnum(This,newEnum); +} +#endif +#endif + +#endif + + +#endif /* __INetFwServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwAuthorizedApplication interface + */ +#ifndef __INetFwAuthorizedApplication_INTERFACE_DEFINED__ +#define __INetFwAuthorizedApplication_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwAuthorizedApplication, 0xb5e64ffa, 0xc2c5, 0x444e, 0xa3,0x01, 0xfb,0x5e,0x00,0x01,0x80,0x50); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b5e64ffa-c2c5-444e-a301-fb5e00018050") +INetFwAuthorizedApplication : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Name( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ProcessImageFileName( + BSTR *imageFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ProcessImageFileName( + BSTR imageFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IpVersion( + NET_FW_IP_VERSION *ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IpVersion( + NET_FW_IP_VERSION ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Scope( + NET_FW_SCOPE *scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Scope( + NET_FW_SCOPE scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemoteAddresses( + BSTR *remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RemoteAddresses( + BSTR remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwAuthorizedApplication, 0xb5e64ffa, 0xc2c5, 0x444e, 0xa3,0x01, 0xfb,0x5e,0x00,0x01,0x80,0x50) +#endif +#else +typedef struct INetFwAuthorizedApplicationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwAuthorizedApplication *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwAuthorizedApplication *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwAuthorizedApplication *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwAuthorizedApplication *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwAuthorizedApplication *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwAuthorizedApplication *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwAuthorizedApplication *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwAuthorizedApplication methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetFwAuthorizedApplication *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + INetFwAuthorizedApplication *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_ProcessImageFileName)( + INetFwAuthorizedApplication *This, + BSTR *imageFileName); + + HRESULT (STDMETHODCALLTYPE *put_ProcessImageFileName)( + INetFwAuthorizedApplication *This, + BSTR imageFileName); + + HRESULT (STDMETHODCALLTYPE *get_IpVersion)( + INetFwAuthorizedApplication *This, + NET_FW_IP_VERSION *ipVersion); + + HRESULT (STDMETHODCALLTYPE *put_IpVersion)( + INetFwAuthorizedApplication *This, + NET_FW_IP_VERSION ipVersion); + + HRESULT (STDMETHODCALLTYPE *get_Scope)( + INetFwAuthorizedApplication *This, + NET_FW_SCOPE *scope); + + HRESULT (STDMETHODCALLTYPE *put_Scope)( + INetFwAuthorizedApplication *This, + NET_FW_SCOPE scope); + + HRESULT (STDMETHODCALLTYPE *get_RemoteAddresses)( + INetFwAuthorizedApplication *This, + BSTR *remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *put_RemoteAddresses)( + INetFwAuthorizedApplication *This, + BSTR remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + INetFwAuthorizedApplication *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + INetFwAuthorizedApplication *This, + VARIANT_BOOL enabled); + + END_INTERFACE +} INetFwAuthorizedApplicationVtbl; + +interface INetFwAuthorizedApplication { + CONST_VTBL INetFwAuthorizedApplicationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwAuthorizedApplication_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwAuthorizedApplication_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwAuthorizedApplication_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwAuthorizedApplication_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwAuthorizedApplication_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwAuthorizedApplication_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwAuthorizedApplication_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwAuthorizedApplication methods ***/ +#define INetFwAuthorizedApplication_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define INetFwAuthorizedApplication_put_Name(This,name) (This)->lpVtbl->put_Name(This,name) +#define INetFwAuthorizedApplication_get_ProcessImageFileName(This,imageFileName) (This)->lpVtbl->get_ProcessImageFileName(This,imageFileName) +#define INetFwAuthorizedApplication_put_ProcessImageFileName(This,imageFileName) (This)->lpVtbl->put_ProcessImageFileName(This,imageFileName) +#define INetFwAuthorizedApplication_get_IpVersion(This,ipVersion) (This)->lpVtbl->get_IpVersion(This,ipVersion) +#define INetFwAuthorizedApplication_put_IpVersion(This,ipVersion) (This)->lpVtbl->put_IpVersion(This,ipVersion) +#define INetFwAuthorizedApplication_get_Scope(This,scope) (This)->lpVtbl->get_Scope(This,scope) +#define INetFwAuthorizedApplication_put_Scope(This,scope) (This)->lpVtbl->put_Scope(This,scope) +#define INetFwAuthorizedApplication_get_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->get_RemoteAddresses(This,remoteAddrs) +#define INetFwAuthorizedApplication_put_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->put_RemoteAddresses(This,remoteAddrs) +#define INetFwAuthorizedApplication_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define INetFwAuthorizedApplication_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwAuthorizedApplication_QueryInterface(INetFwAuthorizedApplication* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwAuthorizedApplication_AddRef(INetFwAuthorizedApplication* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwAuthorizedApplication_Release(INetFwAuthorizedApplication* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwAuthorizedApplication_GetTypeInfoCount(INetFwAuthorizedApplication* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_GetTypeInfo(INetFwAuthorizedApplication* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_GetIDsOfNames(INetFwAuthorizedApplication* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_Invoke(INetFwAuthorizedApplication* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwAuthorizedApplication methods ***/ +static FORCEINLINE HRESULT INetFwAuthorizedApplication_get_Name(INetFwAuthorizedApplication* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_put_Name(INetFwAuthorizedApplication* This,BSTR name) { + return This->lpVtbl->put_Name(This,name); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_get_ProcessImageFileName(INetFwAuthorizedApplication* This,BSTR *imageFileName) { + return This->lpVtbl->get_ProcessImageFileName(This,imageFileName); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_put_ProcessImageFileName(INetFwAuthorizedApplication* This,BSTR imageFileName) { + return This->lpVtbl->put_ProcessImageFileName(This,imageFileName); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_get_IpVersion(INetFwAuthorizedApplication* This,NET_FW_IP_VERSION *ipVersion) { + return This->lpVtbl->get_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_put_IpVersion(INetFwAuthorizedApplication* This,NET_FW_IP_VERSION ipVersion) { + return This->lpVtbl->put_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_get_Scope(INetFwAuthorizedApplication* This,NET_FW_SCOPE *scope) { + return This->lpVtbl->get_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_put_Scope(INetFwAuthorizedApplication* This,NET_FW_SCOPE scope) { + return This->lpVtbl->put_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_get_RemoteAddresses(INetFwAuthorizedApplication* This,BSTR *remoteAddrs) { + return This->lpVtbl->get_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_put_RemoteAddresses(INetFwAuthorizedApplication* This,BSTR remoteAddrs) { + return This->lpVtbl->put_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_get_Enabled(INetFwAuthorizedApplication* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplication_put_Enabled(INetFwAuthorizedApplication* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +#endif +#endif + +#endif + + +#endif /* __INetFwAuthorizedApplication_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwRemoteAdminSettings interface + */ +#ifndef __INetFwRemoteAdminSettings_INTERFACE_DEFINED__ +#define __INetFwRemoteAdminSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwRemoteAdminSettings, 0xd4becddf, 0x6f73, 0x4a83, 0xb8,0x32, 0x9c,0x66,0x87,0x4c,0xd2,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d4becddf-6f73-4a83-b832-9c66874cd20e") +INetFwRemoteAdminSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_IpVersion( + NET_FW_IP_VERSION *ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IpVersion( + NET_FW_IP_VERSION ipVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Scope( + NET_FW_SCOPE *scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Scope( + NET_FW_SCOPE scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemoteAddresses( + BSTR *remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RemoteAddresses( + BSTR remoteAddrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwRemoteAdminSettings, 0xd4becddf, 0x6f73, 0x4a83, 0xb8,0x32, 0x9c,0x66,0x87,0x4c,0xd2,0x0e) +#endif +#else +typedef struct INetFwRemoteAdminSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwRemoteAdminSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwRemoteAdminSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwRemoteAdminSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwRemoteAdminSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwRemoteAdminSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwRemoteAdminSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwRemoteAdminSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwRemoteAdminSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_IpVersion)( + INetFwRemoteAdminSettings *This, + NET_FW_IP_VERSION *ipVersion); + + HRESULT (STDMETHODCALLTYPE *put_IpVersion)( + INetFwRemoteAdminSettings *This, + NET_FW_IP_VERSION ipVersion); + + HRESULT (STDMETHODCALLTYPE *get_Scope)( + INetFwRemoteAdminSettings *This, + NET_FW_SCOPE *scope); + + HRESULT (STDMETHODCALLTYPE *put_Scope)( + INetFwRemoteAdminSettings *This, + NET_FW_SCOPE scope); + + HRESULT (STDMETHODCALLTYPE *get_RemoteAddresses)( + INetFwRemoteAdminSettings *This, + BSTR *remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *put_RemoteAddresses)( + INetFwRemoteAdminSettings *This, + BSTR remoteAddrs); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + INetFwRemoteAdminSettings *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + INetFwRemoteAdminSettings *This, + VARIANT_BOOL enabled); + + END_INTERFACE +} INetFwRemoteAdminSettingsVtbl; + +interface INetFwRemoteAdminSettings { + CONST_VTBL INetFwRemoteAdminSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwRemoteAdminSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwRemoteAdminSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwRemoteAdminSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwRemoteAdminSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwRemoteAdminSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwRemoteAdminSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwRemoteAdminSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwRemoteAdminSettings methods ***/ +#define INetFwRemoteAdminSettings_get_IpVersion(This,ipVersion) (This)->lpVtbl->get_IpVersion(This,ipVersion) +#define INetFwRemoteAdminSettings_put_IpVersion(This,ipVersion) (This)->lpVtbl->put_IpVersion(This,ipVersion) +#define INetFwRemoteAdminSettings_get_Scope(This,scope) (This)->lpVtbl->get_Scope(This,scope) +#define INetFwRemoteAdminSettings_put_Scope(This,scope) (This)->lpVtbl->put_Scope(This,scope) +#define INetFwRemoteAdminSettings_get_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->get_RemoteAddresses(This,remoteAddrs) +#define INetFwRemoteAdminSettings_put_RemoteAddresses(This,remoteAddrs) (This)->lpVtbl->put_RemoteAddresses(This,remoteAddrs) +#define INetFwRemoteAdminSettings_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define INetFwRemoteAdminSettings_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_QueryInterface(INetFwRemoteAdminSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwRemoteAdminSettings_AddRef(INetFwRemoteAdminSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwRemoteAdminSettings_Release(INetFwRemoteAdminSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_GetTypeInfoCount(INetFwRemoteAdminSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_GetTypeInfo(INetFwRemoteAdminSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_GetIDsOfNames(INetFwRemoteAdminSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_Invoke(INetFwRemoteAdminSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwRemoteAdminSettings methods ***/ +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_get_IpVersion(INetFwRemoteAdminSettings* This,NET_FW_IP_VERSION *ipVersion) { + return This->lpVtbl->get_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_put_IpVersion(INetFwRemoteAdminSettings* This,NET_FW_IP_VERSION ipVersion) { + return This->lpVtbl->put_IpVersion(This,ipVersion); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_get_Scope(INetFwRemoteAdminSettings* This,NET_FW_SCOPE *scope) { + return This->lpVtbl->get_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_put_Scope(INetFwRemoteAdminSettings* This,NET_FW_SCOPE scope) { + return This->lpVtbl->put_Scope(This,scope); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_get_RemoteAddresses(INetFwRemoteAdminSettings* This,BSTR *remoteAddrs) { + return This->lpVtbl->get_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_put_RemoteAddresses(INetFwRemoteAdminSettings* This,BSTR remoteAddrs) { + return This->lpVtbl->put_RemoteAddresses(This,remoteAddrs); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_get_Enabled(INetFwRemoteAdminSettings* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwRemoteAdminSettings_put_Enabled(INetFwRemoteAdminSettings* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +#endif +#endif + +#endif + + +#endif /* __INetFwRemoteAdminSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwAuthorizedApplications interface + */ +#ifndef __INetFwAuthorizedApplications_INTERFACE_DEFINED__ +#define __INetFwAuthorizedApplications_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwAuthorizedApplications, 0x644efd52, 0xccf9, 0x486c, 0x97,0xa2, 0x39,0xf3,0x52,0x57,0x0b,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("644efd52-ccf9-486c-97a2-39f352570b30") +INetFwAuthorizedApplications : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + INetFwAuthorizedApplication *app) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + BSTR imageFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR imageFileName, + INetFwAuthorizedApplication **app) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **newEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwAuthorizedApplications, 0x644efd52, 0xccf9, 0x486c, 0x97,0xa2, 0x39,0xf3,0x52,0x57,0x0b,0x30) +#endif +#else +typedef struct INetFwAuthorizedApplicationsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwAuthorizedApplications *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwAuthorizedApplications *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwAuthorizedApplications *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwAuthorizedApplications *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwAuthorizedApplications *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwAuthorizedApplications *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwAuthorizedApplications *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwAuthorizedApplications methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetFwAuthorizedApplications *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *Add)( + INetFwAuthorizedApplications *This, + INetFwAuthorizedApplication *app); + + HRESULT (STDMETHODCALLTYPE *Remove)( + INetFwAuthorizedApplications *This, + BSTR imageFileName); + + HRESULT (STDMETHODCALLTYPE *Item)( + INetFwAuthorizedApplications *This, + BSTR imageFileName, + INetFwAuthorizedApplication **app); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetFwAuthorizedApplications *This, + IUnknown **newEnum); + + END_INTERFACE +} INetFwAuthorizedApplicationsVtbl; + +interface INetFwAuthorizedApplications { + CONST_VTBL INetFwAuthorizedApplicationsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwAuthorizedApplications_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwAuthorizedApplications_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwAuthorizedApplications_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwAuthorizedApplications_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwAuthorizedApplications_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwAuthorizedApplications_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwAuthorizedApplications_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwAuthorizedApplications methods ***/ +#define INetFwAuthorizedApplications_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define INetFwAuthorizedApplications_Add(This,app) (This)->lpVtbl->Add(This,app) +#define INetFwAuthorizedApplications_Remove(This,imageFileName) (This)->lpVtbl->Remove(This,imageFileName) +#define INetFwAuthorizedApplications_Item(This,imageFileName,app) (This)->lpVtbl->Item(This,imageFileName,app) +#define INetFwAuthorizedApplications_get__NewEnum(This,newEnum) (This)->lpVtbl->get__NewEnum(This,newEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwAuthorizedApplications_QueryInterface(INetFwAuthorizedApplications* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwAuthorizedApplications_AddRef(INetFwAuthorizedApplications* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwAuthorizedApplications_Release(INetFwAuthorizedApplications* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwAuthorizedApplications_GetTypeInfoCount(INetFwAuthorizedApplications* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_GetTypeInfo(INetFwAuthorizedApplications* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_GetIDsOfNames(INetFwAuthorizedApplications* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_Invoke(INetFwAuthorizedApplications* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwAuthorizedApplications methods ***/ +static FORCEINLINE HRESULT INetFwAuthorizedApplications_get_Count(INetFwAuthorizedApplications* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_Add(INetFwAuthorizedApplications* This,INetFwAuthorizedApplication *app) { + return This->lpVtbl->Add(This,app); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_Remove(INetFwAuthorizedApplications* This,BSTR imageFileName) { + return This->lpVtbl->Remove(This,imageFileName); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_Item(INetFwAuthorizedApplications* This,BSTR imageFileName,INetFwAuthorizedApplication **app) { + return This->lpVtbl->Item(This,imageFileName,app); +} +static FORCEINLINE HRESULT INetFwAuthorizedApplications_get__NewEnum(INetFwAuthorizedApplications* This,IUnknown **newEnum) { + return This->lpVtbl->get__NewEnum(This,newEnum); +} +#endif +#endif + +#endif + + +#endif /* __INetFwAuthorizedApplications_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwRule interface + */ +#ifndef __INetFwRule_INTERFACE_DEFINED__ +#define __INetFwRule_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwRule, 0xaf230d27, 0xbaba, 0x4e42, 0xac,0xed, 0xf5,0x24,0xf2,0x2c,0xfc,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("af230d27-baba-4e42-aced-f524f22cfce2") +INetFwRule : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Name( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Description( + BSTR desc) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ApplicationName( + BSTR *imagename) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ApplicationName( + BSTR imagename) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServiceName( + BSTR *service) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ServiceName( + BSTR service) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Protocol( + LONG *protocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Protocol( + LONG protocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocalPorts( + BSTR *ports) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LocalPorts( + BSTR ports) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemotePorts( + BSTR *ports) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RemotePorts( + BSTR ports) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocalAddresses( + BSTR *address) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LocalAddresses( + BSTR address) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemoteAddresses( + BSTR *address) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RemoteAddresses( + BSTR address) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IcmpTypesAndCodes( + BSTR *codes) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IcmpTypesAndCodes( + BSTR codes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Direction( + NET_FW_RULE_DIRECTION *dir) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Direction( + NET_FW_RULE_DIRECTION dir) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Interfaces( + VARIANT *interfaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Interfaces( + VARIANT interfaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InterfaceTypes( + BSTR *types) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_InterfaceTypes( + BSTR types) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Grouping( + BSTR *context) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Grouping( + BSTR context) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Profiles( + LONG *profiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Profiles( + LONG profiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EdgeTraversal( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_EdgeTraversal( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Action( + NET_FW_ACTION *action) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Action( + NET_FW_ACTION action) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwRule, 0xaf230d27, 0xbaba, 0x4e42, 0xac,0xed, 0xf5,0x24,0xf2,0x2c,0xfc,0xe2) +#endif +#else +typedef struct INetFwRuleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwRule *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwRule *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwRule *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwRule *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwRule *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwRule *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwRule *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwRule methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetFwRule *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + INetFwRule *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_Description)( + INetFwRule *This, + BSTR *desc); + + HRESULT (STDMETHODCALLTYPE *put_Description)( + INetFwRule *This, + BSTR desc); + + HRESULT (STDMETHODCALLTYPE *get_ApplicationName)( + INetFwRule *This, + BSTR *imagename); + + HRESULT (STDMETHODCALLTYPE *put_ApplicationName)( + INetFwRule *This, + BSTR imagename); + + HRESULT (STDMETHODCALLTYPE *get_ServiceName)( + INetFwRule *This, + BSTR *service); + + HRESULT (STDMETHODCALLTYPE *put_ServiceName)( + INetFwRule *This, + BSTR service); + + HRESULT (STDMETHODCALLTYPE *get_Protocol)( + INetFwRule *This, + LONG *protocol); + + HRESULT (STDMETHODCALLTYPE *put_Protocol)( + INetFwRule *This, + LONG protocol); + + HRESULT (STDMETHODCALLTYPE *get_LocalPorts)( + INetFwRule *This, + BSTR *ports); + + HRESULT (STDMETHODCALLTYPE *put_LocalPorts)( + INetFwRule *This, + BSTR ports); + + HRESULT (STDMETHODCALLTYPE *get_RemotePorts)( + INetFwRule *This, + BSTR *ports); + + HRESULT (STDMETHODCALLTYPE *put_RemotePorts)( + INetFwRule *This, + BSTR ports); + + HRESULT (STDMETHODCALLTYPE *get_LocalAddresses)( + INetFwRule *This, + BSTR *address); + + HRESULT (STDMETHODCALLTYPE *put_LocalAddresses)( + INetFwRule *This, + BSTR address); + + HRESULT (STDMETHODCALLTYPE *get_RemoteAddresses)( + INetFwRule *This, + BSTR *address); + + HRESULT (STDMETHODCALLTYPE *put_RemoteAddresses)( + INetFwRule *This, + BSTR address); + + HRESULT (STDMETHODCALLTYPE *get_IcmpTypesAndCodes)( + INetFwRule *This, + BSTR *codes); + + HRESULT (STDMETHODCALLTYPE *put_IcmpTypesAndCodes)( + INetFwRule *This, + BSTR codes); + + HRESULT (STDMETHODCALLTYPE *get_Direction)( + INetFwRule *This, + NET_FW_RULE_DIRECTION *dir); + + HRESULT (STDMETHODCALLTYPE *put_Direction)( + INetFwRule *This, + NET_FW_RULE_DIRECTION dir); + + HRESULT (STDMETHODCALLTYPE *get_Interfaces)( + INetFwRule *This, + VARIANT *interfaces); + + HRESULT (STDMETHODCALLTYPE *put_Interfaces)( + INetFwRule *This, + VARIANT interfaces); + + HRESULT (STDMETHODCALLTYPE *get_InterfaceTypes)( + INetFwRule *This, + BSTR *types); + + HRESULT (STDMETHODCALLTYPE *put_InterfaceTypes)( + INetFwRule *This, + BSTR types); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + INetFwRule *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + INetFwRule *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_Grouping)( + INetFwRule *This, + BSTR *context); + + HRESULT (STDMETHODCALLTYPE *put_Grouping)( + INetFwRule *This, + BSTR context); + + HRESULT (STDMETHODCALLTYPE *get_Profiles)( + INetFwRule *This, + LONG *profiles); + + HRESULT (STDMETHODCALLTYPE *put_Profiles)( + INetFwRule *This, + LONG profiles); + + HRESULT (STDMETHODCALLTYPE *get_EdgeTraversal)( + INetFwRule *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_EdgeTraversal)( + INetFwRule *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_Action)( + INetFwRule *This, + NET_FW_ACTION *action); + + HRESULT (STDMETHODCALLTYPE *put_Action)( + INetFwRule *This, + NET_FW_ACTION action); + + END_INTERFACE +} INetFwRuleVtbl; + +interface INetFwRule { + CONST_VTBL INetFwRuleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwRule_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwRule_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwRule_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwRule_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwRule methods ***/ +#define INetFwRule_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define INetFwRule_put_Name(This,name) (This)->lpVtbl->put_Name(This,name) +#define INetFwRule_get_Description(This,desc) (This)->lpVtbl->get_Description(This,desc) +#define INetFwRule_put_Description(This,desc) (This)->lpVtbl->put_Description(This,desc) +#define INetFwRule_get_ApplicationName(This,imagename) (This)->lpVtbl->get_ApplicationName(This,imagename) +#define INetFwRule_put_ApplicationName(This,imagename) (This)->lpVtbl->put_ApplicationName(This,imagename) +#define INetFwRule_get_ServiceName(This,service) (This)->lpVtbl->get_ServiceName(This,service) +#define INetFwRule_put_ServiceName(This,service) (This)->lpVtbl->put_ServiceName(This,service) +#define INetFwRule_get_Protocol(This,protocol) (This)->lpVtbl->get_Protocol(This,protocol) +#define INetFwRule_put_Protocol(This,protocol) (This)->lpVtbl->put_Protocol(This,protocol) +#define INetFwRule_get_LocalPorts(This,ports) (This)->lpVtbl->get_LocalPorts(This,ports) +#define INetFwRule_put_LocalPorts(This,ports) (This)->lpVtbl->put_LocalPorts(This,ports) +#define INetFwRule_get_RemotePorts(This,ports) (This)->lpVtbl->get_RemotePorts(This,ports) +#define INetFwRule_put_RemotePorts(This,ports) (This)->lpVtbl->put_RemotePorts(This,ports) +#define INetFwRule_get_LocalAddresses(This,address) (This)->lpVtbl->get_LocalAddresses(This,address) +#define INetFwRule_put_LocalAddresses(This,address) (This)->lpVtbl->put_LocalAddresses(This,address) +#define INetFwRule_get_RemoteAddresses(This,address) (This)->lpVtbl->get_RemoteAddresses(This,address) +#define INetFwRule_put_RemoteAddresses(This,address) (This)->lpVtbl->put_RemoteAddresses(This,address) +#define INetFwRule_get_IcmpTypesAndCodes(This,codes) (This)->lpVtbl->get_IcmpTypesAndCodes(This,codes) +#define INetFwRule_put_IcmpTypesAndCodes(This,codes) (This)->lpVtbl->put_IcmpTypesAndCodes(This,codes) +#define INetFwRule_get_Direction(This,dir) (This)->lpVtbl->get_Direction(This,dir) +#define INetFwRule_put_Direction(This,dir) (This)->lpVtbl->put_Direction(This,dir) +#define INetFwRule_get_Interfaces(This,interfaces) (This)->lpVtbl->get_Interfaces(This,interfaces) +#define INetFwRule_put_Interfaces(This,interfaces) (This)->lpVtbl->put_Interfaces(This,interfaces) +#define INetFwRule_get_InterfaceTypes(This,types) (This)->lpVtbl->get_InterfaceTypes(This,types) +#define INetFwRule_put_InterfaceTypes(This,types) (This)->lpVtbl->put_InterfaceTypes(This,types) +#define INetFwRule_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define INetFwRule_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#define INetFwRule_get_Grouping(This,context) (This)->lpVtbl->get_Grouping(This,context) +#define INetFwRule_put_Grouping(This,context) (This)->lpVtbl->put_Grouping(This,context) +#define INetFwRule_get_Profiles(This,profiles) (This)->lpVtbl->get_Profiles(This,profiles) +#define INetFwRule_put_Profiles(This,profiles) (This)->lpVtbl->put_Profiles(This,profiles) +#define INetFwRule_get_EdgeTraversal(This,enabled) (This)->lpVtbl->get_EdgeTraversal(This,enabled) +#define INetFwRule_put_EdgeTraversal(This,enabled) (This)->lpVtbl->put_EdgeTraversal(This,enabled) +#define INetFwRule_get_Action(This,action) (This)->lpVtbl->get_Action(This,action) +#define INetFwRule_put_Action(This,action) (This)->lpVtbl->put_Action(This,action) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwRule_QueryInterface(INetFwRule* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwRule_AddRef(INetFwRule* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwRule_Release(INetFwRule* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwRule_GetTypeInfoCount(INetFwRule* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwRule_GetTypeInfo(INetFwRule* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwRule_GetIDsOfNames(INetFwRule* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwRule_Invoke(INetFwRule* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwRule methods ***/ +static FORCEINLINE HRESULT INetFwRule_get_Name(INetFwRule* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT INetFwRule_put_Name(INetFwRule* This,BSTR name) { + return This->lpVtbl->put_Name(This,name); +} +static FORCEINLINE HRESULT INetFwRule_get_Description(INetFwRule* This,BSTR *desc) { + return This->lpVtbl->get_Description(This,desc); +} +static FORCEINLINE HRESULT INetFwRule_put_Description(INetFwRule* This,BSTR desc) { + return This->lpVtbl->put_Description(This,desc); +} +static FORCEINLINE HRESULT INetFwRule_get_ApplicationName(INetFwRule* This,BSTR *imagename) { + return This->lpVtbl->get_ApplicationName(This,imagename); +} +static FORCEINLINE HRESULT INetFwRule_put_ApplicationName(INetFwRule* This,BSTR imagename) { + return This->lpVtbl->put_ApplicationName(This,imagename); +} +static FORCEINLINE HRESULT INetFwRule_get_ServiceName(INetFwRule* This,BSTR *service) { + return This->lpVtbl->get_ServiceName(This,service); +} +static FORCEINLINE HRESULT INetFwRule_put_ServiceName(INetFwRule* This,BSTR service) { + return This->lpVtbl->put_ServiceName(This,service); +} +static FORCEINLINE HRESULT INetFwRule_get_Protocol(INetFwRule* This,LONG *protocol) { + return This->lpVtbl->get_Protocol(This,protocol); +} +static FORCEINLINE HRESULT INetFwRule_put_Protocol(INetFwRule* This,LONG protocol) { + return This->lpVtbl->put_Protocol(This,protocol); +} +static FORCEINLINE HRESULT INetFwRule_get_LocalPorts(INetFwRule* This,BSTR *ports) { + return This->lpVtbl->get_LocalPorts(This,ports); +} +static FORCEINLINE HRESULT INetFwRule_put_LocalPorts(INetFwRule* This,BSTR ports) { + return This->lpVtbl->put_LocalPorts(This,ports); +} +static FORCEINLINE HRESULT INetFwRule_get_RemotePorts(INetFwRule* This,BSTR *ports) { + return This->lpVtbl->get_RemotePorts(This,ports); +} +static FORCEINLINE HRESULT INetFwRule_put_RemotePorts(INetFwRule* This,BSTR ports) { + return This->lpVtbl->put_RemotePorts(This,ports); +} +static FORCEINLINE HRESULT INetFwRule_get_LocalAddresses(INetFwRule* This,BSTR *address) { + return This->lpVtbl->get_LocalAddresses(This,address); +} +static FORCEINLINE HRESULT INetFwRule_put_LocalAddresses(INetFwRule* This,BSTR address) { + return This->lpVtbl->put_LocalAddresses(This,address); +} +static FORCEINLINE HRESULT INetFwRule_get_RemoteAddresses(INetFwRule* This,BSTR *address) { + return This->lpVtbl->get_RemoteAddresses(This,address); +} +static FORCEINLINE HRESULT INetFwRule_put_RemoteAddresses(INetFwRule* This,BSTR address) { + return This->lpVtbl->put_RemoteAddresses(This,address); +} +static FORCEINLINE HRESULT INetFwRule_get_IcmpTypesAndCodes(INetFwRule* This,BSTR *codes) { + return This->lpVtbl->get_IcmpTypesAndCodes(This,codes); +} +static FORCEINLINE HRESULT INetFwRule_put_IcmpTypesAndCodes(INetFwRule* This,BSTR codes) { + return This->lpVtbl->put_IcmpTypesAndCodes(This,codes); +} +static FORCEINLINE HRESULT INetFwRule_get_Direction(INetFwRule* This,NET_FW_RULE_DIRECTION *dir) { + return This->lpVtbl->get_Direction(This,dir); +} +static FORCEINLINE HRESULT INetFwRule_put_Direction(INetFwRule* This,NET_FW_RULE_DIRECTION dir) { + return This->lpVtbl->put_Direction(This,dir); +} +static FORCEINLINE HRESULT INetFwRule_get_Interfaces(INetFwRule* This,VARIANT *interfaces) { + return This->lpVtbl->get_Interfaces(This,interfaces); +} +static FORCEINLINE HRESULT INetFwRule_put_Interfaces(INetFwRule* This,VARIANT interfaces) { + return This->lpVtbl->put_Interfaces(This,interfaces); +} +static FORCEINLINE HRESULT INetFwRule_get_InterfaceTypes(INetFwRule* This,BSTR *types) { + return This->lpVtbl->get_InterfaceTypes(This,types); +} +static FORCEINLINE HRESULT INetFwRule_put_InterfaceTypes(INetFwRule* This,BSTR types) { + return This->lpVtbl->put_InterfaceTypes(This,types); +} +static FORCEINLINE HRESULT INetFwRule_get_Enabled(INetFwRule* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwRule_put_Enabled(INetFwRule* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwRule_get_Grouping(INetFwRule* This,BSTR *context) { + return This->lpVtbl->get_Grouping(This,context); +} +static FORCEINLINE HRESULT INetFwRule_put_Grouping(INetFwRule* This,BSTR context) { + return This->lpVtbl->put_Grouping(This,context); +} +static FORCEINLINE HRESULT INetFwRule_get_Profiles(INetFwRule* This,LONG *profiles) { + return This->lpVtbl->get_Profiles(This,profiles); +} +static FORCEINLINE HRESULT INetFwRule_put_Profiles(INetFwRule* This,LONG profiles) { + return This->lpVtbl->put_Profiles(This,profiles); +} +static FORCEINLINE HRESULT INetFwRule_get_EdgeTraversal(INetFwRule* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_EdgeTraversal(This,enabled); +} +static FORCEINLINE HRESULT INetFwRule_put_EdgeTraversal(INetFwRule* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_EdgeTraversal(This,enabled); +} +static FORCEINLINE HRESULT INetFwRule_get_Action(INetFwRule* This,NET_FW_ACTION *action) { + return This->lpVtbl->get_Action(This,action); +} +static FORCEINLINE HRESULT INetFwRule_put_Action(INetFwRule* This,NET_FW_ACTION action) { + return This->lpVtbl->put_Action(This,action); +} +#endif +#endif + +#endif + + +#endif /* __INetFwRule_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwRules interface + */ +#ifndef __INetFwRules_INTERFACE_DEFINED__ +#define __INetFwRules_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwRules, 0x9c4c6277, 0x5027, 0x441e, 0xaf,0xae, 0xca,0x1f,0x54,0x2d,0xa0,0x09); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9c4c6277-5027-441e-afae-ca1f542da009") +INetFwRules : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + INetFwRule *rule) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR name, + INetFwRule **rule) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **newEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwRules, 0x9c4c6277, 0x5027, 0x441e, 0xaf,0xae, 0xca,0x1f,0x54,0x2d,0xa0,0x09) +#endif +#else +typedef struct INetFwRulesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwRules *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwRules *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwRules *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwRules *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwRules *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwRules *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwRules *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwRules methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + INetFwRules *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *Add)( + INetFwRules *This, + INetFwRule *rule); + + HRESULT (STDMETHODCALLTYPE *Remove)( + INetFwRules *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *Item)( + INetFwRules *This, + BSTR name, + INetFwRule **rule); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + INetFwRules *This, + IUnknown **newEnum); + + END_INTERFACE +} INetFwRulesVtbl; + +interface INetFwRules { + CONST_VTBL INetFwRulesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwRules_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwRules_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwRules_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwRules_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwRules_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwRules_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwRules_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwRules methods ***/ +#define INetFwRules_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define INetFwRules_Add(This,rule) (This)->lpVtbl->Add(This,rule) +#define INetFwRules_Remove(This,name) (This)->lpVtbl->Remove(This,name) +#define INetFwRules_Item(This,name,rule) (This)->lpVtbl->Item(This,name,rule) +#define INetFwRules_get__NewEnum(This,newEnum) (This)->lpVtbl->get__NewEnum(This,newEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwRules_QueryInterface(INetFwRules* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwRules_AddRef(INetFwRules* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwRules_Release(INetFwRules* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwRules_GetTypeInfoCount(INetFwRules* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwRules_GetTypeInfo(INetFwRules* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwRules_GetIDsOfNames(INetFwRules* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwRules_Invoke(INetFwRules* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwRules methods ***/ +static FORCEINLINE HRESULT INetFwRules_get_Count(INetFwRules* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT INetFwRules_Add(INetFwRules* This,INetFwRule *rule) { + return This->lpVtbl->Add(This,rule); +} +static FORCEINLINE HRESULT INetFwRules_Remove(INetFwRules* This,BSTR name) { + return This->lpVtbl->Remove(This,name); +} +static FORCEINLINE HRESULT INetFwRules_Item(INetFwRules* This,BSTR name,INetFwRule **rule) { + return This->lpVtbl->Item(This,name,rule); +} +static FORCEINLINE HRESULT INetFwRules_get__NewEnum(INetFwRules* This,IUnknown **newEnum) { + return This->lpVtbl->get__NewEnum(This,newEnum); +} +#endif +#endif + +#endif + + +#endif /* __INetFwRules_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwServiceRestriction interface + */ +#ifndef __INetFwServiceRestriction_INTERFACE_DEFINED__ +#define __INetFwServiceRestriction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwServiceRestriction, 0x8267bbe3, 0xf890, 0x491c, 0xb7,0xb6, 0x2d,0xb1,0xef,0x0e,0x5d,0x2b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8267bbe3-f890-491c-b7b6-2db1ef0e5d2b") +INetFwServiceRestriction : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE RestrictService( + BSTR serviceName, + BSTR appName, + VARIANT_BOOL restrictService, + VARIANT_BOOL serviceSidRestricted) = 0; + + virtual HRESULT STDMETHODCALLTYPE ServiceRestricted( + BSTR serviceName, + BSTR appName, + VARIANT_BOOL *serviceRestricted) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Rules( + INetFwRules **rules) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwServiceRestriction, 0x8267bbe3, 0xf890, 0x491c, 0xb7,0xb6, 0x2d,0xb1,0xef,0x0e,0x5d,0x2b) +#endif +#else +typedef struct INetFwServiceRestrictionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwServiceRestriction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwServiceRestriction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwServiceRestriction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwServiceRestriction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwServiceRestriction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwServiceRestriction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwServiceRestriction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwServiceRestriction methods ***/ + HRESULT (STDMETHODCALLTYPE *RestrictService)( + INetFwServiceRestriction *This, + BSTR serviceName, + BSTR appName, + VARIANT_BOOL restrictService, + VARIANT_BOOL serviceSidRestricted); + + HRESULT (STDMETHODCALLTYPE *ServiceRestricted)( + INetFwServiceRestriction *This, + BSTR serviceName, + BSTR appName, + VARIANT_BOOL *serviceRestricted); + + HRESULT (STDMETHODCALLTYPE *get_Rules)( + INetFwServiceRestriction *This, + INetFwRules **rules); + + END_INTERFACE +} INetFwServiceRestrictionVtbl; + +interface INetFwServiceRestriction { + CONST_VTBL INetFwServiceRestrictionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwServiceRestriction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwServiceRestriction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwServiceRestriction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwServiceRestriction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwServiceRestriction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwServiceRestriction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwServiceRestriction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwServiceRestriction methods ***/ +#define INetFwServiceRestriction_RestrictService(This,serviceName,appName,restrictService,serviceSidRestricted) (This)->lpVtbl->RestrictService(This,serviceName,appName,restrictService,serviceSidRestricted) +#define INetFwServiceRestriction_ServiceRestricted(This,serviceName,appName,serviceRestricted) (This)->lpVtbl->ServiceRestricted(This,serviceName,appName,serviceRestricted) +#define INetFwServiceRestriction_get_Rules(This,rules) (This)->lpVtbl->get_Rules(This,rules) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwServiceRestriction_QueryInterface(INetFwServiceRestriction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwServiceRestriction_AddRef(INetFwServiceRestriction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwServiceRestriction_Release(INetFwServiceRestriction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwServiceRestriction_GetTypeInfoCount(INetFwServiceRestriction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwServiceRestriction_GetTypeInfo(INetFwServiceRestriction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwServiceRestriction_GetIDsOfNames(INetFwServiceRestriction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwServiceRestriction_Invoke(INetFwServiceRestriction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwServiceRestriction methods ***/ +static FORCEINLINE HRESULT INetFwServiceRestriction_RestrictService(INetFwServiceRestriction* This,BSTR serviceName,BSTR appName,VARIANT_BOOL restrictService,VARIANT_BOOL serviceSidRestricted) { + return This->lpVtbl->RestrictService(This,serviceName,appName,restrictService,serviceSidRestricted); +} +static FORCEINLINE HRESULT INetFwServiceRestriction_ServiceRestricted(INetFwServiceRestriction* This,BSTR serviceName,BSTR appName,VARIANT_BOOL *serviceRestricted) { + return This->lpVtbl->ServiceRestricted(This,serviceName,appName,serviceRestricted); +} +static FORCEINLINE HRESULT INetFwServiceRestriction_get_Rules(INetFwServiceRestriction* This,INetFwRules **rules) { + return This->lpVtbl->get_Rules(This,rules); +} +#endif +#endif + +#endif + + +#endif /* __INetFwServiceRestriction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwProfile interface + */ +#ifndef __INetFwProfile_INTERFACE_DEFINED__ +#define __INetFwProfile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwProfile, 0x174a0dda, 0xe9f9, 0x449d, 0x99,0x3b, 0x21,0xab,0x66,0x7c,0xa4,0x56); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("174a0dda-e9f9-449d-993b-21ab667ca456") +INetFwProfile : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Type( + NET_FW_PROFILE_TYPE *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FirewallEnabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FirewallEnabled( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExceptionsNotAllowed( + VARIANT_BOOL *notAllowed) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ExceptionsNotAllowed( + VARIANT_BOOL notAllowed) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NotificationsDisabled( + VARIANT_BOOL *disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_NotificationsDisabled( + VARIANT_BOOL disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UnicastResponsesToMulticastBroadcastDisabled( + VARIANT_BOOL *disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_UnicastResponsesToMulticastBroadcastDisabled( + VARIANT_BOOL disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RemoteAdminSettings( + INetFwRemoteAdminSettings **remoteAdminSettings) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IcmpSettings( + INetFwIcmpSettings **icmpSettings) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GloballyOpenPorts( + INetFwOpenPorts **openPorts) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Services( + INetFwServices **services) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AuthorizedApplications( + INetFwAuthorizedApplications **apps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwProfile, 0x174a0dda, 0xe9f9, 0x449d, 0x99,0x3b, 0x21,0xab,0x66,0x7c,0xa4,0x56) +#endif +#else +typedef struct INetFwProfileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwProfile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwProfile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwProfile *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwProfile *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwProfile *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwProfile *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwProfile *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwProfile methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Type)( + INetFwProfile *This, + NET_FW_PROFILE_TYPE *type); + + HRESULT (STDMETHODCALLTYPE *get_FirewallEnabled)( + INetFwProfile *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_FirewallEnabled)( + INetFwProfile *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_ExceptionsNotAllowed)( + INetFwProfile *This, + VARIANT_BOOL *notAllowed); + + HRESULT (STDMETHODCALLTYPE *put_ExceptionsNotAllowed)( + INetFwProfile *This, + VARIANT_BOOL notAllowed); + + HRESULT (STDMETHODCALLTYPE *get_NotificationsDisabled)( + INetFwProfile *This, + VARIANT_BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *put_NotificationsDisabled)( + INetFwProfile *This, + VARIANT_BOOL disabled); + + HRESULT (STDMETHODCALLTYPE *get_UnicastResponsesToMulticastBroadcastDisabled)( + INetFwProfile *This, + VARIANT_BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *put_UnicastResponsesToMulticastBroadcastDisabled)( + INetFwProfile *This, + VARIANT_BOOL disabled); + + HRESULT (STDMETHODCALLTYPE *get_RemoteAdminSettings)( + INetFwProfile *This, + INetFwRemoteAdminSettings **remoteAdminSettings); + + HRESULT (STDMETHODCALLTYPE *get_IcmpSettings)( + INetFwProfile *This, + INetFwIcmpSettings **icmpSettings); + + HRESULT (STDMETHODCALLTYPE *get_GloballyOpenPorts)( + INetFwProfile *This, + INetFwOpenPorts **openPorts); + + HRESULT (STDMETHODCALLTYPE *get_Services)( + INetFwProfile *This, + INetFwServices **services); + + HRESULT (STDMETHODCALLTYPE *get_AuthorizedApplications)( + INetFwProfile *This, + INetFwAuthorizedApplications **apps); + + END_INTERFACE +} INetFwProfileVtbl; + +interface INetFwProfile { + CONST_VTBL INetFwProfileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwProfile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwProfile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwProfile_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwProfile_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwProfile_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwProfile_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwProfile_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwProfile methods ***/ +#define INetFwProfile_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +#define INetFwProfile_get_FirewallEnabled(This,enabled) (This)->lpVtbl->get_FirewallEnabled(This,enabled) +#define INetFwProfile_put_FirewallEnabled(This,enabled) (This)->lpVtbl->put_FirewallEnabled(This,enabled) +#define INetFwProfile_get_ExceptionsNotAllowed(This,notAllowed) (This)->lpVtbl->get_ExceptionsNotAllowed(This,notAllowed) +#define INetFwProfile_put_ExceptionsNotAllowed(This,notAllowed) (This)->lpVtbl->put_ExceptionsNotAllowed(This,notAllowed) +#define INetFwProfile_get_NotificationsDisabled(This,disabled) (This)->lpVtbl->get_NotificationsDisabled(This,disabled) +#define INetFwProfile_put_NotificationsDisabled(This,disabled) (This)->lpVtbl->put_NotificationsDisabled(This,disabled) +#define INetFwProfile_get_UnicastResponsesToMulticastBroadcastDisabled(This,disabled) (This)->lpVtbl->get_UnicastResponsesToMulticastBroadcastDisabled(This,disabled) +#define INetFwProfile_put_UnicastResponsesToMulticastBroadcastDisabled(This,disabled) (This)->lpVtbl->put_UnicastResponsesToMulticastBroadcastDisabled(This,disabled) +#define INetFwProfile_get_RemoteAdminSettings(This,remoteAdminSettings) (This)->lpVtbl->get_RemoteAdminSettings(This,remoteAdminSettings) +#define INetFwProfile_get_IcmpSettings(This,icmpSettings) (This)->lpVtbl->get_IcmpSettings(This,icmpSettings) +#define INetFwProfile_get_GloballyOpenPorts(This,openPorts) (This)->lpVtbl->get_GloballyOpenPorts(This,openPorts) +#define INetFwProfile_get_Services(This,services) (This)->lpVtbl->get_Services(This,services) +#define INetFwProfile_get_AuthorizedApplications(This,apps) (This)->lpVtbl->get_AuthorizedApplications(This,apps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwProfile_QueryInterface(INetFwProfile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwProfile_AddRef(INetFwProfile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwProfile_Release(INetFwProfile* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwProfile_GetTypeInfoCount(INetFwProfile* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwProfile_GetTypeInfo(INetFwProfile* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwProfile_GetIDsOfNames(INetFwProfile* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwProfile_Invoke(INetFwProfile* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwProfile methods ***/ +static FORCEINLINE HRESULT INetFwProfile_get_Type(INetFwProfile* This,NET_FW_PROFILE_TYPE *type) { + return This->lpVtbl->get_Type(This,type); +} +static FORCEINLINE HRESULT INetFwProfile_get_FirewallEnabled(INetFwProfile* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_FirewallEnabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwProfile_put_FirewallEnabled(INetFwProfile* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_FirewallEnabled(This,enabled); +} +static FORCEINLINE HRESULT INetFwProfile_get_ExceptionsNotAllowed(INetFwProfile* This,VARIANT_BOOL *notAllowed) { + return This->lpVtbl->get_ExceptionsNotAllowed(This,notAllowed); +} +static FORCEINLINE HRESULT INetFwProfile_put_ExceptionsNotAllowed(INetFwProfile* This,VARIANT_BOOL notAllowed) { + return This->lpVtbl->put_ExceptionsNotAllowed(This,notAllowed); +} +static FORCEINLINE HRESULT INetFwProfile_get_NotificationsDisabled(INetFwProfile* This,VARIANT_BOOL *disabled) { + return This->lpVtbl->get_NotificationsDisabled(This,disabled); +} +static FORCEINLINE HRESULT INetFwProfile_put_NotificationsDisabled(INetFwProfile* This,VARIANT_BOOL disabled) { + return This->lpVtbl->put_NotificationsDisabled(This,disabled); +} +static FORCEINLINE HRESULT INetFwProfile_get_UnicastResponsesToMulticastBroadcastDisabled(INetFwProfile* This,VARIANT_BOOL *disabled) { + return This->lpVtbl->get_UnicastResponsesToMulticastBroadcastDisabled(This,disabled); +} +static FORCEINLINE HRESULT INetFwProfile_put_UnicastResponsesToMulticastBroadcastDisabled(INetFwProfile* This,VARIANT_BOOL disabled) { + return This->lpVtbl->put_UnicastResponsesToMulticastBroadcastDisabled(This,disabled); +} +static FORCEINLINE HRESULT INetFwProfile_get_RemoteAdminSettings(INetFwProfile* This,INetFwRemoteAdminSettings **remoteAdminSettings) { + return This->lpVtbl->get_RemoteAdminSettings(This,remoteAdminSettings); +} +static FORCEINLINE HRESULT INetFwProfile_get_IcmpSettings(INetFwProfile* This,INetFwIcmpSettings **icmpSettings) { + return This->lpVtbl->get_IcmpSettings(This,icmpSettings); +} +static FORCEINLINE HRESULT INetFwProfile_get_GloballyOpenPorts(INetFwProfile* This,INetFwOpenPorts **openPorts) { + return This->lpVtbl->get_GloballyOpenPorts(This,openPorts); +} +static FORCEINLINE HRESULT INetFwProfile_get_Services(INetFwProfile* This,INetFwServices **services) { + return This->lpVtbl->get_Services(This,services); +} +static FORCEINLINE HRESULT INetFwProfile_get_AuthorizedApplications(INetFwProfile* This,INetFwAuthorizedApplications **apps) { + return This->lpVtbl->get_AuthorizedApplications(This,apps); +} +#endif +#endif + +#endif + + +#endif /* __INetFwProfile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwPolicy interface + */ +#ifndef __INetFwPolicy_INTERFACE_DEFINED__ +#define __INetFwPolicy_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwPolicy, 0xd46d2478, 0x9ac9, 0x4008, 0x9d,0xc7, 0x55,0x63,0xce,0x55,0x36,0xcc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d46d2478-9ac9-4008-9dc7-5563ce5536cc") +INetFwPolicy : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_CurrentProfile( + INetFwProfile **profile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProfileByType( + NET_FW_PROFILE_TYPE profileType, + INetFwProfile **profile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwPolicy, 0xd46d2478, 0x9ac9, 0x4008, 0x9d,0xc7, 0x55,0x63,0xce,0x55,0x36,0xcc) +#endif +#else +typedef struct INetFwPolicyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwPolicy *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwPolicy *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwPolicy *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwPolicy *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwPolicy *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwPolicy *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwPolicy *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwPolicy methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CurrentProfile)( + INetFwPolicy *This, + INetFwProfile **profile); + + HRESULT (STDMETHODCALLTYPE *GetProfileByType)( + INetFwPolicy *This, + NET_FW_PROFILE_TYPE profileType, + INetFwProfile **profile); + + END_INTERFACE +} INetFwPolicyVtbl; + +interface INetFwPolicy { + CONST_VTBL INetFwPolicyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwPolicy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwPolicy_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwPolicy_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwPolicy_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwPolicy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwPolicy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwPolicy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwPolicy methods ***/ +#define INetFwPolicy_get_CurrentProfile(This,profile) (This)->lpVtbl->get_CurrentProfile(This,profile) +#define INetFwPolicy_GetProfileByType(This,profileType,profile) (This)->lpVtbl->GetProfileByType(This,profileType,profile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwPolicy_QueryInterface(INetFwPolicy* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwPolicy_AddRef(INetFwPolicy* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwPolicy_Release(INetFwPolicy* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwPolicy_GetTypeInfoCount(INetFwPolicy* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwPolicy_GetTypeInfo(INetFwPolicy* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwPolicy_GetIDsOfNames(INetFwPolicy* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwPolicy_Invoke(INetFwPolicy* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwPolicy methods ***/ +static FORCEINLINE HRESULT INetFwPolicy_get_CurrentProfile(INetFwPolicy* This,INetFwProfile **profile) { + return This->lpVtbl->get_CurrentProfile(This,profile); +} +static FORCEINLINE HRESULT INetFwPolicy_GetProfileByType(INetFwPolicy* This,NET_FW_PROFILE_TYPE profileType,INetFwProfile **profile) { + return This->lpVtbl->GetProfileByType(This,profileType,profile); +} +#endif +#endif + +#endif + + +#endif /* __INetFwPolicy_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwPolicy2 interface + */ +#ifndef __INetFwPolicy2_INTERFACE_DEFINED__ +#define __INetFwPolicy2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwPolicy2, 0x98325047, 0xc671, 0x4174, 0x8d,0x81, 0xde,0xfc,0xd3,0xf0,0x31,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("98325047-c671-4174-8d81-defcd3f03186") +INetFwPolicy2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_CurrentProfileTypes( + LONG *profile) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FirewallEnabled( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FirewallEnabled( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExcludedInterfaces( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT *interfaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ExcludedInterfaces( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT interfaces) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BlockAllInboundTraffic( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *block) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_BlockAllInboundTraffic( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL block) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NotificationsDisabled( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_NotificationsDisabled( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UnicastResponsesToMulticastBroadcastDisabled( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_UnicastResponsesToMulticastBroadcastDisabled( + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL disabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Rules( + INetFwRules **rules) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServiceRestriction( + INetFwServiceRestriction **ServiceRestriction) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableRuleGroup( + LONG profileTypesBitmask, + BSTR group, + VARIANT_BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRuleGroupEnabled( + LONG profileTypesBitmask, + BSTR group, + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestoreLocalFirewallDefaults( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DefaultInboundAction( + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION *action) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DefaultInboundAction( + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION action) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DefaultOutboundAction( + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION *action) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DefaultOutboundAction( + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION action) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsRuleGroupCurrentlyEnabled( + BSTR group, + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LocalPolicyModifyState( + NET_FW_MODIFY_STATE *modifyState) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwPolicy2, 0x98325047, 0xc671, 0x4174, 0x8d,0x81, 0xde,0xfc,0xd3,0xf0,0x31,0x86) +#endif +#else +typedef struct INetFwPolicy2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwPolicy2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwPolicy2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwPolicy2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwPolicy2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwPolicy2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwPolicy2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwPolicy2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwPolicy2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CurrentProfileTypes)( + INetFwPolicy2 *This, + LONG *profile); + + HRESULT (STDMETHODCALLTYPE *get_FirewallEnabled)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_FirewallEnabled)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_ExcludedInterfaces)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT *interfaces); + + HRESULT (STDMETHODCALLTYPE *put_ExcludedInterfaces)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT interfaces); + + HRESULT (STDMETHODCALLTYPE *get_BlockAllInboundTraffic)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *block); + + HRESULT (STDMETHODCALLTYPE *put_BlockAllInboundTraffic)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL block); + + HRESULT (STDMETHODCALLTYPE *get_NotificationsDisabled)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *put_NotificationsDisabled)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL disabled); + + HRESULT (STDMETHODCALLTYPE *get_UnicastResponsesToMulticastBroadcastDisabled)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL *disabled); + + HRESULT (STDMETHODCALLTYPE *put_UnicastResponsesToMulticastBroadcastDisabled)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + VARIANT_BOOL disabled); + + HRESULT (STDMETHODCALLTYPE *get_Rules)( + INetFwPolicy2 *This, + INetFwRules **rules); + + HRESULT (STDMETHODCALLTYPE *get_ServiceRestriction)( + INetFwPolicy2 *This, + INetFwServiceRestriction **ServiceRestriction); + + HRESULT (STDMETHODCALLTYPE *EnableRuleGroup)( + INetFwPolicy2 *This, + LONG profileTypesBitmask, + BSTR group, + VARIANT_BOOL enable); + + HRESULT (STDMETHODCALLTYPE *IsRuleGroupEnabled)( + INetFwPolicy2 *This, + LONG profileTypesBitmask, + BSTR group, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *RestoreLocalFirewallDefaults)( + INetFwPolicy2 *This); + + HRESULT (STDMETHODCALLTYPE *get_DefaultInboundAction)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION *action); + + HRESULT (STDMETHODCALLTYPE *put_DefaultInboundAction)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION action); + + HRESULT (STDMETHODCALLTYPE *get_DefaultOutboundAction)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION *action); + + HRESULT (STDMETHODCALLTYPE *put_DefaultOutboundAction)( + INetFwPolicy2 *This, + NET_FW_PROFILE_TYPE2 profileType, + NET_FW_ACTION action); + + HRESULT (STDMETHODCALLTYPE *get_IsRuleGroupCurrentlyEnabled)( + INetFwPolicy2 *This, + BSTR group, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *get_LocalPolicyModifyState)( + INetFwPolicy2 *This, + NET_FW_MODIFY_STATE *modifyState); + + END_INTERFACE +} INetFwPolicy2Vtbl; + +interface INetFwPolicy2 { + CONST_VTBL INetFwPolicy2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwPolicy2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwPolicy2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwPolicy2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwPolicy2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwPolicy2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwPolicy2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwPolicy2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwPolicy2 methods ***/ +#define INetFwPolicy2_get_CurrentProfileTypes(This,profile) (This)->lpVtbl->get_CurrentProfileTypes(This,profile) +#define INetFwPolicy2_get_FirewallEnabled(This,profileType,enabled) (This)->lpVtbl->get_FirewallEnabled(This,profileType,enabled) +#define INetFwPolicy2_put_FirewallEnabled(This,profileType,enabled) (This)->lpVtbl->put_FirewallEnabled(This,profileType,enabled) +#define INetFwPolicy2_get_ExcludedInterfaces(This,profileType,interfaces) (This)->lpVtbl->get_ExcludedInterfaces(This,profileType,interfaces) +#define INetFwPolicy2_put_ExcludedInterfaces(This,profileType,interfaces) (This)->lpVtbl->put_ExcludedInterfaces(This,profileType,interfaces) +#define INetFwPolicy2_get_BlockAllInboundTraffic(This,profileType,block) (This)->lpVtbl->get_BlockAllInboundTraffic(This,profileType,block) +#define INetFwPolicy2_put_BlockAllInboundTraffic(This,profileType,block) (This)->lpVtbl->put_BlockAllInboundTraffic(This,profileType,block) +#define INetFwPolicy2_get_NotificationsDisabled(This,profileType,disabled) (This)->lpVtbl->get_NotificationsDisabled(This,profileType,disabled) +#define INetFwPolicy2_put_NotificationsDisabled(This,profileType,disabled) (This)->lpVtbl->put_NotificationsDisabled(This,profileType,disabled) +#define INetFwPolicy2_get_UnicastResponsesToMulticastBroadcastDisabled(This,profileType,disabled) (This)->lpVtbl->get_UnicastResponsesToMulticastBroadcastDisabled(This,profileType,disabled) +#define INetFwPolicy2_put_UnicastResponsesToMulticastBroadcastDisabled(This,profileType,disabled) (This)->lpVtbl->put_UnicastResponsesToMulticastBroadcastDisabled(This,profileType,disabled) +#define INetFwPolicy2_get_Rules(This,rules) (This)->lpVtbl->get_Rules(This,rules) +#define INetFwPolicy2_get_ServiceRestriction(This,ServiceRestriction) (This)->lpVtbl->get_ServiceRestriction(This,ServiceRestriction) +#define INetFwPolicy2_EnableRuleGroup(This,profileTypesBitmask,group,enable) (This)->lpVtbl->EnableRuleGroup(This,profileTypesBitmask,group,enable) +#define INetFwPolicy2_IsRuleGroupEnabled(This,profileTypesBitmask,group,enabled) (This)->lpVtbl->IsRuleGroupEnabled(This,profileTypesBitmask,group,enabled) +#define INetFwPolicy2_RestoreLocalFirewallDefaults(This) (This)->lpVtbl->RestoreLocalFirewallDefaults(This) +#define INetFwPolicy2_get_DefaultInboundAction(This,profileType,action) (This)->lpVtbl->get_DefaultInboundAction(This,profileType,action) +#define INetFwPolicy2_put_DefaultInboundAction(This,profileType,action) (This)->lpVtbl->put_DefaultInboundAction(This,profileType,action) +#define INetFwPolicy2_get_DefaultOutboundAction(This,profileType,action) (This)->lpVtbl->get_DefaultOutboundAction(This,profileType,action) +#define INetFwPolicy2_put_DefaultOutboundAction(This,profileType,action) (This)->lpVtbl->put_DefaultOutboundAction(This,profileType,action) +#define INetFwPolicy2_get_IsRuleGroupCurrentlyEnabled(This,group,enabled) (This)->lpVtbl->get_IsRuleGroupCurrentlyEnabled(This,group,enabled) +#define INetFwPolicy2_get_LocalPolicyModifyState(This,modifyState) (This)->lpVtbl->get_LocalPolicyModifyState(This,modifyState) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwPolicy2_QueryInterface(INetFwPolicy2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwPolicy2_AddRef(INetFwPolicy2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwPolicy2_Release(INetFwPolicy2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwPolicy2_GetTypeInfoCount(INetFwPolicy2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwPolicy2_GetTypeInfo(INetFwPolicy2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwPolicy2_GetIDsOfNames(INetFwPolicy2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwPolicy2_Invoke(INetFwPolicy2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwPolicy2 methods ***/ +static FORCEINLINE HRESULT INetFwPolicy2_get_CurrentProfileTypes(INetFwPolicy2* This,LONG *profile) { + return This->lpVtbl->get_CurrentProfileTypes(This,profile); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_FirewallEnabled(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_FirewallEnabled(This,profileType,enabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_FirewallEnabled(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL enabled) { + return This->lpVtbl->put_FirewallEnabled(This,profileType,enabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_ExcludedInterfaces(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT *interfaces) { + return This->lpVtbl->get_ExcludedInterfaces(This,profileType,interfaces); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_ExcludedInterfaces(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT interfaces) { + return This->lpVtbl->put_ExcludedInterfaces(This,profileType,interfaces); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_BlockAllInboundTraffic(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL *block) { + return This->lpVtbl->get_BlockAllInboundTraffic(This,profileType,block); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_BlockAllInboundTraffic(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL block) { + return This->lpVtbl->put_BlockAllInboundTraffic(This,profileType,block); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_NotificationsDisabled(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL *disabled) { + return This->lpVtbl->get_NotificationsDisabled(This,profileType,disabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_NotificationsDisabled(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL disabled) { + return This->lpVtbl->put_NotificationsDisabled(This,profileType,disabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_UnicastResponsesToMulticastBroadcastDisabled(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL *disabled) { + return This->lpVtbl->get_UnicastResponsesToMulticastBroadcastDisabled(This,profileType,disabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_UnicastResponsesToMulticastBroadcastDisabled(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,VARIANT_BOOL disabled) { + return This->lpVtbl->put_UnicastResponsesToMulticastBroadcastDisabled(This,profileType,disabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_Rules(INetFwPolicy2* This,INetFwRules **rules) { + return This->lpVtbl->get_Rules(This,rules); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_ServiceRestriction(INetFwPolicy2* This,INetFwServiceRestriction **ServiceRestriction) { + return This->lpVtbl->get_ServiceRestriction(This,ServiceRestriction); +} +static FORCEINLINE HRESULT INetFwPolicy2_EnableRuleGroup(INetFwPolicy2* This,LONG profileTypesBitmask,BSTR group,VARIANT_BOOL enable) { + return This->lpVtbl->EnableRuleGroup(This,profileTypesBitmask,group,enable); +} +static FORCEINLINE HRESULT INetFwPolicy2_IsRuleGroupEnabled(INetFwPolicy2* This,LONG profileTypesBitmask,BSTR group,VARIANT_BOOL *enabled) { + return This->lpVtbl->IsRuleGroupEnabled(This,profileTypesBitmask,group,enabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_RestoreLocalFirewallDefaults(INetFwPolicy2* This) { + return This->lpVtbl->RestoreLocalFirewallDefaults(This); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_DefaultInboundAction(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,NET_FW_ACTION *action) { + return This->lpVtbl->get_DefaultInboundAction(This,profileType,action); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_DefaultInboundAction(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,NET_FW_ACTION action) { + return This->lpVtbl->put_DefaultInboundAction(This,profileType,action); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_DefaultOutboundAction(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,NET_FW_ACTION *action) { + return This->lpVtbl->get_DefaultOutboundAction(This,profileType,action); +} +static FORCEINLINE HRESULT INetFwPolicy2_put_DefaultOutboundAction(INetFwPolicy2* This,NET_FW_PROFILE_TYPE2 profileType,NET_FW_ACTION action) { + return This->lpVtbl->put_DefaultOutboundAction(This,profileType,action); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_IsRuleGroupCurrentlyEnabled(INetFwPolicy2* This,BSTR group,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_IsRuleGroupCurrentlyEnabled(This,group,enabled); +} +static FORCEINLINE HRESULT INetFwPolicy2_get_LocalPolicyModifyState(INetFwPolicy2* This,NET_FW_MODIFY_STATE *modifyState) { + return This->lpVtbl->get_LocalPolicyModifyState(This,modifyState); +} +#endif +#endif + +#endif + + +#endif /* __INetFwPolicy2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetFwMgr interface + */ +#ifndef __INetFwMgr_INTERFACE_DEFINED__ +#define __INetFwMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetFwMgr, 0xf7898af5, 0xcac4, 0x4632, 0xa2,0xec, 0xda,0x06,0xe5,0x11,0x1a,0xf2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f7898af5-cac4-4632-a2ec-da06e5111af2") +INetFwMgr : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_LocalPolicy( + INetFwPolicy **localPolicy) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentProfileType( + NET_FW_PROFILE_TYPE *profileType) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestoreDefaults( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPortAllowed( + BSTR imageFileName, + NET_FW_IP_VERSION ipVersion, + LONG portNumber, + BSTR localAddress, + NET_FW_IP_PROTOCOL ipProtocol, + VARIANT *allowed, + VARIANT *restricted) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsIcmpTypeAllowed( + NET_FW_IP_VERSION ipVersion, + BSTR localAddress, + BYTE type, + VARIANT *allowed, + VARIANT *restricted) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetFwMgr, 0xf7898af5, 0xcac4, 0x4632, 0xa2,0xec, 0xda,0x06,0xe5,0x11,0x1a,0xf2) +#endif +#else +typedef struct INetFwMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetFwMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetFwMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetFwMgr *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetFwMgr *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetFwMgr *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetFwMgr *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetFwMgr *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetFwMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *get_LocalPolicy)( + INetFwMgr *This, + INetFwPolicy **localPolicy); + + HRESULT (STDMETHODCALLTYPE *get_CurrentProfileType)( + INetFwMgr *This, + NET_FW_PROFILE_TYPE *profileType); + + HRESULT (STDMETHODCALLTYPE *RestoreDefaults)( + INetFwMgr *This); + + HRESULT (STDMETHODCALLTYPE *IsPortAllowed)( + INetFwMgr *This, + BSTR imageFileName, + NET_FW_IP_VERSION ipVersion, + LONG portNumber, + BSTR localAddress, + NET_FW_IP_PROTOCOL ipProtocol, + VARIANT *allowed, + VARIANT *restricted); + + HRESULT (STDMETHODCALLTYPE *IsIcmpTypeAllowed)( + INetFwMgr *This, + NET_FW_IP_VERSION ipVersion, + BSTR localAddress, + BYTE type, + VARIANT *allowed, + VARIANT *restricted); + + END_INTERFACE +} INetFwMgrVtbl; + +interface INetFwMgr { + CONST_VTBL INetFwMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetFwMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetFwMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetFwMgr_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetFwMgr_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetFwMgr_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetFwMgr_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetFwMgr_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetFwMgr methods ***/ +#define INetFwMgr_get_LocalPolicy(This,localPolicy) (This)->lpVtbl->get_LocalPolicy(This,localPolicy) +#define INetFwMgr_get_CurrentProfileType(This,profileType) (This)->lpVtbl->get_CurrentProfileType(This,profileType) +#define INetFwMgr_RestoreDefaults(This) (This)->lpVtbl->RestoreDefaults(This) +#define INetFwMgr_IsPortAllowed(This,imageFileName,ipVersion,portNumber,localAddress,ipProtocol,allowed,restricted) (This)->lpVtbl->IsPortAllowed(This,imageFileName,ipVersion,portNumber,localAddress,ipProtocol,allowed,restricted) +#define INetFwMgr_IsIcmpTypeAllowed(This,ipVersion,localAddress,type,allowed,restricted) (This)->lpVtbl->IsIcmpTypeAllowed(This,ipVersion,localAddress,type,allowed,restricted) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetFwMgr_QueryInterface(INetFwMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetFwMgr_AddRef(INetFwMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetFwMgr_Release(INetFwMgr* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetFwMgr_GetTypeInfoCount(INetFwMgr* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetFwMgr_GetTypeInfo(INetFwMgr* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetFwMgr_GetIDsOfNames(INetFwMgr* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetFwMgr_Invoke(INetFwMgr* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetFwMgr methods ***/ +static FORCEINLINE HRESULT INetFwMgr_get_LocalPolicy(INetFwMgr* This,INetFwPolicy **localPolicy) { + return This->lpVtbl->get_LocalPolicy(This,localPolicy); +} +static FORCEINLINE HRESULT INetFwMgr_get_CurrentProfileType(INetFwMgr* This,NET_FW_PROFILE_TYPE *profileType) { + return This->lpVtbl->get_CurrentProfileType(This,profileType); +} +static FORCEINLINE HRESULT INetFwMgr_RestoreDefaults(INetFwMgr* This) { + return This->lpVtbl->RestoreDefaults(This); +} +static FORCEINLINE HRESULT INetFwMgr_IsPortAllowed(INetFwMgr* This,BSTR imageFileName,NET_FW_IP_VERSION ipVersion,LONG portNumber,BSTR localAddress,NET_FW_IP_PROTOCOL ipProtocol,VARIANT *allowed,VARIANT *restricted) { + return This->lpVtbl->IsPortAllowed(This,imageFileName,ipVersion,portNumber,localAddress,ipProtocol,allowed,restricted); +} +static FORCEINLINE HRESULT INetFwMgr_IsIcmpTypeAllowed(INetFwMgr* This,NET_FW_IP_VERSION ipVersion,BSTR localAddress,BYTE type,VARIANT *allowed,VARIANT *restricted) { + return This->lpVtbl->IsIcmpTypeAllowed(This,ipVersion,localAddress,type,allowed,restricted); +} +#endif +#endif + +#endif + + +#endif /* __INetFwMgr_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_NetFwPublicTypeLib, 0xdb4f3345, 0x3ef8, 0x45ed, 0xb9,0x76, 0x25,0xa6,0xd3,0xb8,0x1b,0x71); + +#ifndef __INetFwRemoteAdminSettings_FWD_DEFINED__ +#define __INetFwRemoteAdminSettings_FWD_DEFINED__ +typedef interface INetFwRemoteAdminSettings INetFwRemoteAdminSettings; +#ifdef __cplusplus +interface INetFwRemoteAdminSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwIcmpSettings_FWD_DEFINED__ +#define __INetFwIcmpSettings_FWD_DEFINED__ +typedef interface INetFwIcmpSettings INetFwIcmpSettings; +#ifdef __cplusplus +interface INetFwIcmpSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwOpenPort_FWD_DEFINED__ +#define __INetFwOpenPort_FWD_DEFINED__ +typedef interface INetFwOpenPort INetFwOpenPort; +#ifdef __cplusplus +interface INetFwOpenPort; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwOpenPorts_FWD_DEFINED__ +#define __INetFwOpenPorts_FWD_DEFINED__ +typedef interface INetFwOpenPorts INetFwOpenPorts; +#ifdef __cplusplus +interface INetFwOpenPorts; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwService_FWD_DEFINED__ +#define __INetFwService_FWD_DEFINED__ +typedef interface INetFwService INetFwService; +#ifdef __cplusplus +interface INetFwService; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwServices_FWD_DEFINED__ +#define __INetFwServices_FWD_DEFINED__ +typedef interface INetFwServices INetFwServices; +#ifdef __cplusplus +interface INetFwServices; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwAuthorizedApplication_FWD_DEFINED__ +#define __INetFwAuthorizedApplication_FWD_DEFINED__ +typedef interface INetFwAuthorizedApplication INetFwAuthorizedApplication; +#ifdef __cplusplus +interface INetFwAuthorizedApplication; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwAuthorizedApplications_FWD_DEFINED__ +#define __INetFwAuthorizedApplications_FWD_DEFINED__ +typedef interface INetFwAuthorizedApplications INetFwAuthorizedApplications; +#ifdef __cplusplus +interface INetFwAuthorizedApplications; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwProfile_FWD_DEFINED__ +#define __INetFwProfile_FWD_DEFINED__ +typedef interface INetFwProfile INetFwProfile; +#ifdef __cplusplus +interface INetFwProfile; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwPolicy_FWD_DEFINED__ +#define __INetFwPolicy_FWD_DEFINED__ +typedef interface INetFwPolicy INetFwPolicy; +#ifdef __cplusplus +interface INetFwPolicy; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwPolicy2_FWD_DEFINED__ +#define __INetFwPolicy2_FWD_DEFINED__ +typedef interface INetFwPolicy2 INetFwPolicy2; +#ifdef __cplusplus +interface INetFwPolicy2; +#endif /* __cplusplus */ +#endif + +#ifndef __INetFwMgr_FWD_DEFINED__ +#define __INetFwMgr_FWD_DEFINED__ +typedef interface INetFwMgr INetFwMgr; +#ifdef __cplusplus +interface INetFwMgr; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * NetFwOpenPort coclass + */ + +DEFINE_GUID(CLSID_NetFwOpenPort, 0x0ca545c6, 0x37ad, 0x4a6c, 0xbf,0x92, 0x9f,0x76,0x10,0x06,0x7e,0xf5); + +#ifdef __cplusplus +class DECLSPEC_UUID("0ca545c6-37ad-4a6c-bf92-9f7610067ef5") NetFwOpenPort; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(NetFwOpenPort, 0x0ca545c6, 0x37ad, 0x4a6c, 0xbf,0x92, 0x9f,0x76,0x10,0x06,0x7e,0xf5) +#endif +#endif + +/***************************************************************************** + * NetFwAuthorizedApplication coclass + */ + +DEFINE_GUID(CLSID_NetFwAuthorizedApplication, 0xec9846b3, 0x2762, 0x4a6b, 0xa2,0x14, 0x6a,0xcb,0x60,0x34,0x62,0xd2); + +#ifdef __cplusplus +class DECLSPEC_UUID("ec9846b3-2762-4a6b-a214-6acb603462d2") NetFwAuthorizedApplication; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(NetFwAuthorizedApplication, 0xec9846b3, 0x2762, 0x4a6b, 0xa2,0x14, 0x6a,0xcb,0x60,0x34,0x62,0xd2) +#endif +#endif + +/***************************************************************************** + * NetFwMgr coclass + */ + +DEFINE_GUID(CLSID_NetFwMgr, 0x304ce942, 0x6e39, 0x40d8, 0x94,0x3a, 0xb9,0x13,0xc4,0x0c,0x9c,0xd4); + +#ifdef __cplusplus +class DECLSPEC_UUID("304ce942-6e39-40d8-943a-b913c40c9cd4") NetFwMgr; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(NetFwMgr, 0x304ce942, 0x6e39, 0x40d8, 0x94,0x3a, 0xb9,0x13,0xc4,0x0c,0x9c,0xd4) +#endif +#endif + +/***************************************************************************** + * NetFwPolicy2 coclass + */ + +DEFINE_GUID(CLSID_NetFwPolicy2, 0xe2b3c97f, 0x6ae1, 0x41ac, 0x81,0x7a, 0xf6,0xf9,0x21,0x66,0xd7,0xdd); + +#ifdef __cplusplus +class DECLSPEC_UUID("e2b3c97f-6ae1-41ac-817a-f6f92166d7dd") NetFwPolicy2; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(NetFwPolicy2, 0xe2b3c97f, 0x6ae1, 0x41ac, 0x81,0x7a, 0xf6,0xf9,0x21,0x66,0xd7,0xdd) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __netfw_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netfw.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netfw.idl new file mode 100644 index 0000000..cf03b82 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netfw.idl @@ -0,0 +1,697 @@ +/* + * Copyright 2007 Jeff Latimer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + ***************************************************************************** + * + * The firewall management interface + * + */ + +import "icftypes.idl"; +import "oaidl.idl"; + +[ + object, + uuid(A6207B2E-7CDD-426A-951E-5E1CBC5AFEAD), + dual +] +interface INetFwIcmpSettings : IDispatch +{ + [id(1), propget] + HRESULT AllowOutboundDestinationUnreachable([out, retval] VARIANT_BOOL* allow); + + [id(1), propput] + HRESULT AllowOutboundDestinationUnreachable( [in] VARIANT_BOOL allow ); + + [id(2), propget] + HRESULT AllowRedirect( [out, retval] VARIANT_BOOL* allow ); + + [id(2), propput] + HRESULT AllowRedirect( [in] VARIANT_BOOL allow ); + + [id(3), propget] + HRESULT AllowInboundEchoRequest( [out, retval] VARIANT_BOOL* allow ); + + [id(3), propput] + HRESULT AllowInboundEchoRequest( [in] VARIANT_BOOL allow ); + + [id(4), propget] + HRESULT AllowOutboundTimeExceeded( [out, retval] VARIANT_BOOL* allow ); + + [id(4), propput] + HRESULT AllowOutboundTimeExceeded( [in] VARIANT_BOOL allow ); + + [id(5), propget] + HRESULT AllowOutboundParameterProblem( [out, retval] VARIANT_BOOL* allow ); + + [id(5), propput] + HRESULT AllowOutboundParameterProblem( [in] VARIANT_BOOL allow ); + + [id(6), propget] + HRESULT AllowOutboundSourceQuench( [out, retval] VARIANT_BOOL* allow ); + + [id(6), propput] + HRESULT AllowOutboundSourceQuench( [in] VARIANT_BOOL allow ); + + [id(7), propget] + HRESULT AllowInboundRouterRequest( [out, retval] VARIANT_BOOL* allow ); + + [id(7), propput] + HRESULT AllowInboundRouterRequest( [in] VARIANT_BOOL allow ); + + [id(8), propget] + HRESULT AllowInboundTimestampRequest( [out, retval] VARIANT_BOOL* allow ); + + [id(8), propput] + HRESULT AllowInboundTimestampRequest( [in] VARIANT_BOOL allow ); + + [id(9), propget] + HRESULT AllowInboundMaskRequest( [out, retval] VARIANT_BOOL* allow ); + + [id(9), propput] + HRESULT AllowInboundMaskRequest( [in] VARIANT_BOOL allow ); + + [id(10), propget] + HRESULT AllowOutboundPacketTooBig( [out, retval] VARIANT_BOOL* allow ); + + [id(10), propput] + HRESULT AllowOutboundPacketTooBig( [in] VARIANT_BOOL allow ); +} + +[ + object, + uuid(E0483BA0-47FF-4D9C-A6D6-7741D0B195F7), + dual +] +interface INetFwOpenPort : IDispatch +{ + [id(1), propget] + HRESULT Name( [out, retval] BSTR* name ); + + [id(1), propput] + HRESULT Name( [in] BSTR name ); + + [id(2), propget] + HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion ); + + [id(2), propput] + HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion ); + + [id(3), propget] + HRESULT Protocol( [out, retval] NET_FW_IP_PROTOCOL* ipProtocol ); + + [id(3), propput] + HRESULT Protocol( [in] NET_FW_IP_PROTOCOL ipProtocol ); + + [id(4), propget] + HRESULT Port( [out, retval] LONG* portNumber ); + + [id(4), propput] + HRESULT Port( [in] LONG portNumber ); + + [id(5), propget] + HRESULT Scope( [out, retval] NET_FW_SCOPE* scope ); + + [id(5), propput] + HRESULT Scope( [in] NET_FW_SCOPE scope ); + + [id(6), propget] + HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs ); + + [id(6), propput] + HRESULT RemoteAddresses( [in] BSTR remoteAddrs ); + + [id(7), propget] + HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled ); + + [id(7), propput] + HRESULT Enabled( [in] VARIANT_BOOL enabled ); + + [id(8), propget] + HRESULT BuiltIn( [out, retval] VARIANT_BOOL* builtIn ); +} + +[ + object, + uuid(C0E9D7FA-E07E-430A-B19A-090CE82D92E2), + dual +] +interface INetFwOpenPorts : IDispatch +{ + [id(1), propget] + HRESULT Count( [out, retval] long* count ); + + [id(2)] + HRESULT Add( [in] INetFwOpenPort* port ); + + [id(3)] + HRESULT Remove( [in] LONG portNumber, [in] NET_FW_IP_PROTOCOL ipProtocol ); + + [id(4)] + HRESULT Item( [in] LONG portNumber, [in] NET_FW_IP_PROTOCOL ipProtocol, + [out, retval] INetFwOpenPort** openPort ); + + [id(DISPID_NEWENUM), propget, restricted] + HRESULT _NewEnum( [out, retval] IUnknown** newEnum ); +} + +[ + object, + uuid(79FD57C8-908E-4A36-9888-D5B3F0A444CF), + dual +] +interface INetFwService : IDispatch +{ + [id(1), propget] + HRESULT Name( [out, retval] BSTR* name ); + + [id(2), propget] + HRESULT Type( [out, retval] NET_FW_SERVICE_TYPE* type ); + + [id(3), propget] + HRESULT Customized( [out, retval] VARIANT_BOOL* customized ); + + [id(4), propget] + HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion ); + + [id(4), propput] + HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion ); + + [id(5), propget] + HRESULT Scope( [out, retval] NET_FW_SCOPE* scope ); + + [id(5), propput] + HRESULT Scope( [in] NET_FW_SCOPE scope ); + + [id(6), propget] + HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs ); + + [id(6), propput] + HRESULT RemoteAddresses( [in] BSTR remoteAddrs ); + + [id(7), propget] + HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled ); + + [id(7), propput] + HRESULT Enabled( [in] VARIANT_BOOL enabled ); + + [id(8), propget] + HRESULT GloballyOpenPorts( [out, retval] INetFwOpenPorts** openPorts ); +} + +[ + object, + uuid(79649BB4-903E-421B-94C9-79848E79F6EE), + dual +] +interface INetFwServices : IDispatch +{ + [id(1), propget] + HRESULT Count( [out, retval] long* count ); + + [id(2)] + HRESULT Item( [in] NET_FW_SERVICE_TYPE svcType, + [out, retval] INetFwService** service ); + + [id(DISPID_NEWENUM), propget, restricted] + HRESULT _NewEnum( [out, retval] IUnknown** newEnum ); +} + +[ + object, + uuid(B5E64FFA-C2C5-444E-A301-FB5E00018050), + dual +] +interface INetFwAuthorizedApplication : IDispatch +{ + [id(1), propget] + HRESULT Name( [out, retval] BSTR* name ); + + [id(1), propput] + HRESULT Name( [in] BSTR name ); + + [id(2), propget] + HRESULT ProcessImageFileName( [out, retval] BSTR* imageFileName ); + + [id(2), propput] + HRESULT ProcessImageFileName( [in] BSTR imageFileName ); + + [id(3), propget] + HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion ); + + [id(3), propput] + HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion ); + + [id(4), propget] + HRESULT Scope( [out, retval] NET_FW_SCOPE* scope ); + + [id(4), propput] + HRESULT Scope( [in] NET_FW_SCOPE scope ); + + [id(5), propget] + HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs ); + + [id(5), propput] + HRESULT RemoteAddresses( [in] BSTR remoteAddrs ); + + [id(6), propget] + HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled ); + + [id(6), propput] + HRESULT Enabled( [in] VARIANT_BOOL enabled ); +} + +[ + object, + uuid(D4BECDDF-6F73-4A83-B832-9C66874CD20E), + dual +] +interface INetFwRemoteAdminSettings : IDispatch +{ + [id(1), propget] + HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion ); + + [id(1), propput] + HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion ); + + [id(2), propget] + HRESULT Scope( [out, retval] NET_FW_SCOPE* scope ); + + [id(2), propput] + HRESULT Scope( [in] NET_FW_SCOPE scope ); + + [id(3), propget] + HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs ); + + [id(3), propput] + HRESULT RemoteAddresses( [in] BSTR remoteAddrs ); + + [id(4), propget] + HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled ); + + [id(4), propput] + HRESULT Enabled( [in] VARIANT_BOOL enabled ); +} + + +[ + object, + uuid(644EFD52-CCF9-486C-97A2-39F352570B30), + dual +] +interface INetFwAuthorizedApplications : IDispatch +{ + [id(1), propget] + HRESULT Count( [out, retval] long* count ); + + [id(2)] + HRESULT Add( [in] INetFwAuthorizedApplication* app ); + + [id(3)] + HRESULT Remove( [in] BSTR imageFileName ); + + [id(4)] + HRESULT Item( [in] BSTR imageFileName, + [out, retval] INetFwAuthorizedApplication** app ); + + [id(DISPID_NEWENUM), propget, restricted] + HRESULT _NewEnum( [out, retval] IUnknown** newEnum ); +} + +[ + local, + object, + uuid(af230d27-baba-4e42-aced-f524f22cfce2), + dual +] +interface INetFwRule : IDispatch +{ + [id(1), propget] + HRESULT Name( [out, retval] BSTR *name ); + [id(1), propput] + HRESULT Name( [in] BSTR name ); + + [id(2), propget] + HRESULT Description( [out, retval] BSTR* desc ); + [id(2), propput] + HRESULT Description( [in] BSTR desc ); + + [id(3), propget] + HRESULT ApplicationName( [out, retval] BSTR *imagename ); + [id(3), propput] + HRESULT ApplicationName( [in] BSTR imagename ); + + [id(4), propget] + HRESULT ServiceName( [out, retval] BSTR *service ); + [id(4), propput] + HRESULT ServiceName( [in] BSTR service ); + + [id(5), propget] + HRESULT Protocol( [out, retval] long* protocol ); + [id(5), propput] + HRESULT Protocol( [in] long protocol ); + + [id(6), propget] + HRESULT LocalPorts( [out, retval] BSTR* ports ); + [id(6), propput] + HRESULT LocalPorts( [in] BSTR ports ); + + [id(7), propget] + HRESULT RemotePorts( [out, retval] BSTR *ports ); + [id(7), propput] + HRESULT RemotePorts( [in] BSTR ports ); + + [id(8), propget] + HRESULT LocalAddresses([out, retval] BSTR* address ); + [id(8), propput] + HRESULT LocalAddresses([in] BSTR address); + + [id(9), propget] + HRESULT RemoteAddresses( [out, retval] BSTR* address ); + [id(9), propput] + HRESULT RemoteAddresses( [in] BSTR address ); + + [id(10), propget] + HRESULT IcmpTypesAndCodes( [out, retval] BSTR *codes ); + [id(10), propput] + HRESULT IcmpTypesAndCodes( [in] BSTR codes ); + + [id(11), propget] + HRESULT Direction( [out, retval] NET_FW_RULE_DIRECTION* dir ); + [id(11), propput] + HRESULT Direction( [in] NET_FW_RULE_DIRECTION dir ); + + [id(12), propget] + HRESULT Interfaces( [out, retval] VARIANT* interfaces ); + [id(12), propput] + HRESULT Interfaces( [in] VARIANT interfaces ); + + [id(13), propget] + HRESULT InterfaceTypes( [out, retval] BSTR* types ); + [id(13), propput] + HRESULT InterfaceTypes( [in] BSTR types ); + + [id(14), propget] + HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled ); + [id(14), propput] + HRESULT Enabled( [in] VARIANT_BOOL enabled ); + + [id(15), propget] + HRESULT Grouping( [out, retval] BSTR* context ); + [id(15), propput] + HRESULT Grouping( [in] BSTR context ); + + [id(16), propget] + HRESULT Profiles( [out, retval] long* profiles ); + [id(16), propput] + HRESULT Profiles( [in] long profiles ); + + [id(17), propget] + HRESULT EdgeTraversal( [out, retval] VARIANT_BOOL* enabled ); + [id(17), propput] + HRESULT EdgeTraversal( [in] VARIANT_BOOL enabled ); + + [id(18), propget] + HRESULT Action( [out, retval] NET_FW_ACTION* action ); + [id(18), propput] + HRESULT Action( [in] NET_FW_ACTION action ); +} + +[ + local, + object, + uuid(9c4c6277-5027-441e-afae-ca1f542da009), + dual +] +interface INetFwRules : IDispatch +{ + [id(1), propget] + HRESULT Count( [out, retval] long* count ); + + [id(2)] + HRESULT Add( [in] INetFwRule* rule ); + + [id(3)] + HRESULT Remove( [in] BSTR name ); + + [id(4)] + HRESULT Item( [in] BSTR name, [out, retval] INetFwRule** rule ); + + [id(DISPID_NEWENUM), propget, restricted] + HRESULT _NewEnum( [out, retval] IUnknown** newEnum ); +} + +[ + local, + object, + uuid(8267bbe3-f890-491c-b7b6-2db1ef0e5d2b), + dual +] +interface INetFwServiceRestriction : IDispatch +{ + [id(1)] + HRESULT RestrictService( [in] BSTR serviceName, [in] BSTR appName, + [in] VARIANT_BOOL restrictService, [in] VARIANT_BOOL serviceSidRestricted ); + + [id(2)] + HRESULT ServiceRestricted( [in] BSTR serviceName, [in] BSTR appName, + [out, retval] VARIANT_BOOL* serviceRestricted ); + + [id(3), propget] + HRESULT Rules( [out, retval] INetFwRules** rules ); +} + +[ + object, + uuid(174A0DDA-E9F9-449D-993B-21AB667CA456), + dual +] +interface INetFwProfile : IDispatch +{ + [id(1), propget] + HRESULT Type( [out, retval] NET_FW_PROFILE_TYPE* type ); + + [id(2), propget] + HRESULT FirewallEnabled( [out, retval] VARIANT_BOOL* enabled ); + + [id(2), propput] + HRESULT FirewallEnabled( [in] VARIANT_BOOL enabled ); + + [id(3), propget] + HRESULT ExceptionsNotAllowed( [out, retval] VARIANT_BOOL* notAllowed ); + + [id(3), propput] + HRESULT ExceptionsNotAllowed( [in] VARIANT_BOOL notAllowed ); + + [id(4), propget] + HRESULT NotificationsDisabled( [out, retval] VARIANT_BOOL* disabled ); + + [id(4), propput] + HRESULT NotificationsDisabled( [in] VARIANT_BOOL disabled ); + + [id(5), propget] + HRESULT UnicastResponsesToMulticastBroadcastDisabled( [out, retval] VARIANT_BOOL* disabled ); + + [id(5), propput] + HRESULT UnicastResponsesToMulticastBroadcastDisabled( [in] VARIANT_BOOL disabled ); + + [id(6), propget] + HRESULT RemoteAdminSettings( [out, retval] INetFwRemoteAdminSettings** remoteAdminSettings ); + + [id(7), propget] + HRESULT IcmpSettings( [out, retval] INetFwIcmpSettings** icmpSettings ); + + [id(8), propget] + HRESULT GloballyOpenPorts( [out, retval] INetFwOpenPorts** openPorts ); + + [id(9), propget] + HRESULT Services( [out, retval] INetFwServices** services ); + + [id(10), propget] + HRESULT AuthorizedApplications( [out, retval] INetFwAuthorizedApplications** apps ); +} + +[ + object, + uuid(D46D2478-9AC9-4008-9DC7-5563CE5536CC), + dual +] +interface INetFwPolicy : IDispatch +{ + [id(1), propget] + HRESULT CurrentProfile( [out, retval] INetFwProfile** profile ); + + [id(2)] + HRESULT GetProfileByType( [in] NET_FW_PROFILE_TYPE profileType, + [out, retval] INetFwProfile** profile ); +} + +[ + local, + object, + uuid(98325047-c671-4174-8d81-defcd3f03186), + dual +] +interface INetFwPolicy2 : IDispatch +{ + [id(1), propget] + HRESULT CurrentProfileTypes( [out, retval] long *profile ); + + [id(2), propget] + HRESULT FirewallEnabled( [in] NET_FW_PROFILE_TYPE2 profileType, [out, retval] VARIANT_BOOL* enabled ); + + [id(2), propput] + HRESULT FirewallEnabled( [in] NET_FW_PROFILE_TYPE2 profileType, [in] VARIANT_BOOL enabled ); + + [id(3), propget] + HRESULT ExcludedInterfaces( [in] NET_FW_PROFILE_TYPE2 profileType, [out, retval] VARIANT *interfaces ); + + [id(3), propput] + HRESULT ExcludedInterfaces( [in] NET_FW_PROFILE_TYPE2 profileType, [in] VARIANT interfaces ); + + [id(4), propget] + HRESULT BlockAllInboundTraffic( [in] NET_FW_PROFILE_TYPE2 profileType, [out, retval] VARIANT_BOOL* block ); + + [id(4), propput] + HRESULT BlockAllInboundTraffic( [in] NET_FW_PROFILE_TYPE2 profileType, [in] VARIANT_BOOL block ); + + [id(5), propget] + HRESULT NotificationsDisabled( [in] NET_FW_PROFILE_TYPE2 profileType, [out, retval] VARIANT_BOOL* disabled ); + [id(5), propput] + HRESULT NotificationsDisabled( [in] NET_FW_PROFILE_TYPE2 profileType, [in] VARIANT_BOOL disabled ); + + [id(6), propget] + HRESULT UnicastResponsesToMulticastBroadcastDisabled( [in] NET_FW_PROFILE_TYPE2 profileType, + [out, retval] VARIANT_BOOL* disabled ); + [id(6), propput] + HRESULT UnicastResponsesToMulticastBroadcastDisabled( [in] NET_FW_PROFILE_TYPE2 profileType, + [in] VARIANT_BOOL disabled ); + + [id(7), propget] + HRESULT Rules( [out, retval] INetFwRules** rules ); + + [id(8), propget] + HRESULT ServiceRestriction( [out, retval] INetFwServiceRestriction **ServiceRestriction ); + + [id(9)] + HRESULT EnableRuleGroup( [in] long profileTypesBitmask, [in] BSTR group, [in] VARIANT_BOOL enable ); + + [id(10)] + HRESULT IsRuleGroupEnabled( [in] long profileTypesBitmask, [in] BSTR group, [out, retval] VARIANT_BOOL *enabled ); + + [id(11)] + HRESULT RestoreLocalFirewallDefaults(); + + [id(12), propget] + HRESULT DefaultInboundAction( [in] NET_FW_PROFILE_TYPE2 profileType, [out, retval] NET_FW_ACTION* action ); + + [id(12), propput] + HRESULT DefaultInboundAction( [in] NET_FW_PROFILE_TYPE2 profileType, [in] NET_FW_ACTION action ); + + [id(13), propget] + HRESULT DefaultOutboundAction( [in] NET_FW_PROFILE_TYPE2 profileType, [out, retval] NET_FW_ACTION* action ); + + [id(13), propput] + HRESULT DefaultOutboundAction( [in] NET_FW_PROFILE_TYPE2 profileType, [in] NET_FW_ACTION action ); + + [id(14), propget] + HRESULT IsRuleGroupCurrentlyEnabled( [in] BSTR group, [out, retval] VARIANT_BOOL* enabled ); + + [id(15), propget] + HRESULT LocalPolicyModifyState( [out, retval] NET_FW_MODIFY_STATE* modifyState ); +} + +[ + object, + uuid(F7898AF5-CAC4-4632-A2EC-DA06E5111AF2), + dual +] +interface INetFwMgr : IDispatch +{ + [id(1), propget] + HRESULT LocalPolicy( [out, retval] INetFwPolicy** localPolicy ); + + [id(2), propget] + HRESULT CurrentProfileType( [out, retval] NET_FW_PROFILE_TYPE* profileType ); + + [id(3)] + HRESULT RestoreDefaults(); + + [id(4)] + HRESULT IsPortAllowed( [in] BSTR imageFileName, [in] NET_FW_IP_VERSION ipVersion, + [in] LONG portNumber, [in] BSTR localAddress, + [in] NET_FW_IP_PROTOCOL ipProtocol, [out] VARIANT* allowed, + [out] VARIANT* restricted ); + + [id(5)] + HRESULT IsIcmpTypeAllowed( [in] NET_FW_IP_VERSION ipVersion, [in] BSTR localAddress, + [in] BYTE type, [out] VARIANT* allowed, + [out] VARIANT* restricted ); +} + +[ + uuid(DB4F3345-3EF8-45ED-B976-25A6D3B81B71), + version(1.0) +] +library NetFwPublicTypeLib +{ + importlib("stdole2.tlb"); + interface INetFwRemoteAdminSettings; + interface INetFwIcmpSettings; + interface INetFwOpenPort; + interface INetFwOpenPorts; + interface INetFwService; + interface INetFwServices; + interface INetFwAuthorizedApplication; + interface INetFwAuthorizedApplications; + interface INetFwProfile; + interface INetFwPolicy; + interface INetFwPolicy2; + interface INetFwMgr; + + [ + uuid(0CA545C6-37AD-4A6C-BF92-9F7610067EF5) + ] + coclass NetFwOpenPort + { + [default] interface INetFwOpenPort; + } + + [ + uuid(EC9846B3-2762-4A6B-A214-6ACB603462D2) + ] + coclass NetFwAuthorizedApplication + { + [default] interface INetFwAuthorizedApplication; + } + + [ + uuid(304CE942-6E39-40D8-943A-B913C40C9CD4) + ] + coclass NetFwMgr + { + [default] interface INetFwMgr; + } + + [ + uuid(e2b3c97f-6ae1-41ac-817a-f6f92166d7dd) + ] + coclass NetFwPolicy2 + { + [default] interface INetFwPolicy2; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netioapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netioapi.h new file mode 100644 index 0000000..4f5f671 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netioapi.h @@ -0,0 +1,178 @@ +/* + * Copyright 2015 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_NETIOAPI_H +#define __WINE_NETIOAPI_H + +#include + +typedef enum _MIB_IF_TABLE_LEVEL +{ + MibIfTableNormal, + MibIfTableRaw +} MIB_IF_TABLE_LEVEL, *PMIB_IF_TABLE_LEVEL; + +typedef enum _MIB_NOTIFICATION_TYPE +{ + MibParameterNotification, + MibAddInstance, + MibDeleteInstance, + MibInitialNotification, +} MIB_NOTIFICATION_TYPE, *PMIB_NOTIFICATION_TYPE; + +typedef struct _MIB_IF_ROW2 +{ + NET_LUID InterfaceLuid; + NET_IFINDEX InterfaceIndex; + GUID InterfaceGuid; + WCHAR Alias[IF_MAX_STRING_SIZE + 1]; + WCHAR Description[IF_MAX_STRING_SIZE + 1]; + ULONG PhysicalAddressLength; + UCHAR PhysicalAddress[IF_MAX_PHYS_ADDRESS_LENGTH]; + UCHAR PermanentPhysicalAddress[IF_MAX_PHYS_ADDRESS_LENGTH]; + ULONG Mtu; + IFTYPE Type; + TUNNEL_TYPE TunnelType; + NDIS_MEDIUM MediaType; + NDIS_PHYSICAL_MEDIUM PhysicalMediumType; + NET_IF_ACCESS_TYPE AccessType; + NET_IF_DIRECTION_TYPE DirectionType; + struct + { + BOOLEAN HardwareInterface : 1; + BOOLEAN FilterInterface : 1; + BOOLEAN ConnectorPresent : 1; + BOOLEAN NotAuthenticated : 1; + BOOLEAN NotMediaConnected : 1; + BOOLEAN Paused : 1; + BOOLEAN LowPower : 1; + BOOLEAN EndPointInterface : 1; + } InterfaceAndOperStatusFlags; + IF_OPER_STATUS OperStatus; + NET_IF_ADMIN_STATUS AdminStatus; + NET_IF_MEDIA_CONNECT_STATE MediaConnectState; + NET_IF_NETWORK_GUID NetworkGuid; + NET_IF_CONNECTION_TYPE ConnectionType; + ULONG64 TransmitLinkSpeed; + ULONG64 ReceiveLinkSpeed; + ULONG64 InOctets; + ULONG64 InUcastPkts; + ULONG64 InNUcastPkts; + ULONG64 InDiscards; + ULONG64 InErrors; + ULONG64 InUnknownProtos; + ULONG64 InUcastOctets; + ULONG64 InMulticastOctets; + ULONG64 InBroadcastOctets; + ULONG64 OutOctets; + ULONG64 OutUcastPkts; + ULONG64 OutNUcastPkts; + ULONG64 OutDiscards; + ULONG64 OutErrors; + ULONG64 OutUcastOctets; + ULONG64 OutMulticastOctets; + ULONG64 OutBroadcastOctets; + ULONG64 OutQLen; +} MIB_IF_ROW2, *PMIB_IF_ROW2; + +typedef struct _MIB_IF_TABLE2 +{ + ULONG NumEntries; + MIB_IF_ROW2 Table[1]; +} MIB_IF_TABLE2, *PMIB_IF_TABLE2; + +typedef struct _MIB_IPINTERFACE_ROW +{ + ADDRESS_FAMILY Family; + NET_LUID InterfaceLuid; + NET_IFINDEX InterfaceIndex; + ULONG MaxReassemblySize; + ULONG64 InterfaceIdentifier; + ULONG MinRouterAdvertisementInterval; + ULONG MaxRouterAdvertisementInterval; + BOOLEAN AdvertisingEnabled; + BOOLEAN ForwardingEnabled; + BOOLEAN WeakHostSend; + BOOLEAN WeakHostReceive; + BOOLEAN UseAutomaticMetric; + BOOLEAN UseNeighborUnreachabilityDetection; + BOOLEAN ManagedAddressConfigurationSupported; + BOOLEAN OtherStatefulConfigurationSupported; + BOOLEAN AdvertiseDefaultRoute; + NL_ROUTER_DISCOVERY_BEHAVIOR RouterDiscoveryBehavior; + ULONG DadTransmits; + ULONG BaseReachableTime; + ULONG RetransmitTime; + ULONG PathMtuDiscoveryTimeout; + NL_LINK_LOCAL_ADDRESS_BEHAVIOR LinkLocalAddressBehavior; + ULONG LinkLocalAddressTimeout; + ULONG ZoneIndices[ScopeLevelCount]; + ULONG SitePrefixLength; + ULONG Metric; + ULONG NlMtu; + BOOLEAN Connected; + BOOLEAN SupportsWakeUpPatterns; + BOOLEAN SupportsNeighborDiscovery; + BOOLEAN SupportsRouterDiscovery; + ULONG ReachableTime; + NL_INTERFACE_OFFLOAD_ROD TransmitOffload; + NL_INTERFACE_OFFLOAD_ROD ReceiveOffload; + BOOLEAN DisableDefaultRoutes; +} MIB_IPINTERFACE_ROW, *PMIB_IPINTERFACE_ROW; + +typedef struct _MIB_UNICASTIPADDRESS_ROW +{ + SOCKADDR_INET Address; + NET_LUID InterfaceLuid; + NET_IFINDEX InterfaceIndex; + NL_PREFIX_ORIGIN PrefixOrigin; + NL_SUFFIX_ORIGIN SuffixOrigin; + ULONG ValidLifetime; + ULONG PreferredLifetime; + UINT8 OnLinkPrefixLength; + BOOLEAN SkipAsSource; + NL_DAD_STATE DadState; + SCOPE_ID ScopeId; + LARGE_INTEGER CreationTimeStamp; +} MIB_UNICASTIPADDRESS_ROW, *PMIB_UNICASTIPADDRESS_ROW; + +typedef struct _MIB_UNICASTIPADDRESS_TABLE +{ + ULONG NumEntries; + MIB_UNICASTIPADDRESS_ROW Table[1]; +} MIB_UNICASTIPADDRESS_TABLE, *PMIB_UNICASTIPADDRESS_TABLE; + +typedef VOID (WINAPI *PIPINTERFACE_CHANGE_CALLBACK)(PVOID, PMIB_IPINTERFACE_ROW, + MIB_NOTIFICATION_TYPE); +typedef VOID (WINAPI *PUNICAST_IPADDRESS_CHANGE_CALLBACK)(PVOID, PMIB_UNICASTIPADDRESS_ROW, + MIB_NOTIFICATION_TYPE); + +DWORD WINAPI ConvertInterfaceGuidToLuid(const GUID*,NET_LUID*); +DWORD WINAPI ConvertInterfaceIndexToLuid(NET_IFINDEX,NET_LUID*); +DWORD WINAPI ConvertInterfaceLuidToGuid(const NET_LUID*,GUID*); +DWORD WINAPI ConvertInterfaceLuidToIndex(const NET_LUID*,NET_IFINDEX*); +DWORD WINAPI ConvertInterfaceLuidToNameA(const NET_LUID*,char*,SIZE_T); +DWORD WINAPI ConvertInterfaceLuidToNameW(const NET_LUID*,WCHAR*,SIZE_T); +DWORD WINAPI ConvertInterfaceNameToLuidA(const char*,NET_LUID*); +DWORD WINAPI ConvertInterfaceNameToLuidW(const WCHAR*,NET_LUID*); +void WINAPI FreeMibTable(void*); +DWORD WINAPI GetIfEntry2(MIB_IF_ROW2*); +DWORD WINAPI GetIfTable2(MIB_IF_TABLE2**); +DWORD WINAPI GetUnicastIpAddressEntry(MIB_UNICASTIPADDRESS_ROW*); + +#endif /* __WINE_NETIOAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netlistmgr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netlistmgr.h new file mode 100644 index 0000000..949969b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netlistmgr.h @@ -0,0 +1,1707 @@ +/*** Autogenerated by WIDL 2.18 from netlistmgr.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __netlistmgr_h__ +#define __netlistmgr_h__ + +/* Forward declarations */ + +#ifndef __INetworkCostManager_FWD_DEFINED__ +#define __INetworkCostManager_FWD_DEFINED__ +typedef interface INetworkCostManager INetworkCostManager; +#ifdef __cplusplus +interface INetworkCostManager; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkConnectionCost_FWD_DEFINED__ +#define __INetworkConnectionCost_FWD_DEFINED__ +typedef interface INetworkConnectionCost INetworkConnectionCost; +#ifdef __cplusplus +interface INetworkConnectionCost; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkCostManagerEvents_FWD_DEFINED__ +#define __INetworkCostManagerEvents_FWD_DEFINED__ +typedef interface INetworkCostManagerEvents INetworkCostManagerEvents; +#ifdef __cplusplus +interface INetworkCostManagerEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumNetworks_FWD_DEFINED__ +#define __IEnumNetworks_FWD_DEFINED__ +typedef interface IEnumNetworks IEnumNetworks; +#ifdef __cplusplus +interface IEnumNetworks; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumNetworkConnections_FWD_DEFINED__ +#define __IEnumNetworkConnections_FWD_DEFINED__ +typedef interface IEnumNetworkConnections IEnumNetworkConnections; +#ifdef __cplusplus +interface IEnumNetworkConnections; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkListManager_FWD_DEFINED__ +#define __INetworkListManager_FWD_DEFINED__ +typedef interface INetworkListManager INetworkListManager; +#ifdef __cplusplus +interface INetworkListManager; +#endif /* __cplusplus */ +#endif + +#ifndef __NetworkListManager_FWD_DEFINED__ +#define __NetworkListManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class NetworkListManager NetworkListManager; +#else +typedef struct NetworkListManager NetworkListManager; +#endif /* defined __cplusplus */ +#endif /* defined __NetworkListManager_FWD_DEFINED__ */ + +#ifndef __INetworkListManagerEvents_FWD_DEFINED__ +#define __INetworkListManagerEvents_FWD_DEFINED__ +typedef interface INetworkListManagerEvents INetworkListManagerEvents; +#ifdef __cplusplus +interface INetworkListManagerEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkConnectionEvents_FWD_DEFINED__ +#define __INetworkConnectionEvents_FWD_DEFINED__ +typedef interface INetworkConnectionEvents INetworkConnectionEvents; +#ifdef __cplusplus +interface INetworkConnectionEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkConnection_FWD_DEFINED__ +#define __INetworkConnection_FWD_DEFINED__ +typedef interface INetworkConnection INetworkConnection; +#ifdef __cplusplus +interface INetworkConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetwork_FWD_DEFINED__ +#define __INetwork_FWD_DEFINED__ +typedef interface INetwork INetwork; +#ifdef __cplusplus +interface INetwork; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IEnumNetworks_FWD_DEFINED__ +#define __IEnumNetworks_FWD_DEFINED__ +typedef interface IEnumNetworks IEnumNetworks; +#ifdef __cplusplus +interface IEnumNetworks; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumNetworkConnections_FWD_DEFINED__ +#define __IEnumNetworkConnections_FWD_DEFINED__ +typedef interface IEnumNetworkConnections IEnumNetworkConnections; +#ifdef __cplusplus +interface IEnumNetworkConnections; +#endif /* __cplusplus */ +#endif + +#ifndef __INetwork_FWD_DEFINED__ +#define __INetwork_FWD_DEFINED__ +typedef interface INetwork INetwork; +#ifdef __cplusplus +interface INetwork; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkConnection_FWD_DEFINED__ +#define __INetworkConnection_FWD_DEFINED__ +typedef interface INetworkConnection INetworkConnection; +#ifdef __cplusplus +interface INetworkConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkCostManager_FWD_DEFINED__ +#define __INetworkCostManager_FWD_DEFINED__ +typedef interface INetworkCostManager INetworkCostManager; +#ifdef __cplusplus +interface INetworkCostManager; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkListManager_FWD_DEFINED__ +#define __INetworkListManager_FWD_DEFINED__ +typedef interface INetworkListManager INetworkListManager; +#ifdef __cplusplus +interface INetworkListManager; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkListManagerEvents_FWD_DEFINED__ +#define __INetworkListManagerEvents_FWD_DEFINED__ +typedef interface INetworkListManagerEvents INetworkListManagerEvents; +#ifdef __cplusplus +interface INetworkListManagerEvents; +#endif /* __cplusplus */ +#endif + +typedef enum NLM_CONNECTIVITY { + NLM_CONNECTIVITY_DISCONNECTED = 0x0, + NLM_CONNECTIVITY_IPV4_NOTRAFFIC = 0x1, + NLM_CONNECTIVITY_IPV6_NOTRAFFIC = 0x2, + NLM_CONNECTIVITY_IPV4_SUBNET = 0x10, + NLM_CONNECTIVITY_IPV4_LOCALNETWORK = 0x20, + NLM_CONNECTIVITY_IPV4_INTERNET = 0x40, + NLM_CONNECTIVITY_IPV6_SUBNET = 0x100, + NLM_CONNECTIVITY_IPV6_LOCALNETWORK = 0x200, + NLM_CONNECTIVITY_IPV6_INTERNET = 0x400 +} NLM_CONNECTIVITY; +typedef enum NLM_DOMAIN_TYPE { + NLM_DOMAIN_TYPE_NON_DOMAIN_NETWORK = 0x0, + NLM_DOMAIN_TYPE_DOMAIN_NETWORK = 0x1, + NLM_DOMAIN_TYPE_DOMAIN_AUTHENTICATED = 0x2 +} NLM_DOMAIN_TYPE; +typedef enum NLM_ENUM_NETWORK { + NLM_ENUM_NETWORK_CONNECTED = 0x1, + NLM_ENUM_NETWORK_DISCONNECTED = 0x2, + NLM_ENUM_NETWORK_ALL = 0x3 +} NLM_ENUM_NETWORK; +typedef enum NLM_CONNECTION_COST { + NLM_CONNECTION_COST_UNKNOWN = 0x0, + NLM_CONNECTION_COST_UNRESTRICTED = 0x1, + NLM_CONNECTION_COST_FIXED = 0x2, + NLM_CONNECTION_COST_VARIABLE = 0x4, + NLM_CONNECTION_COST_OVERDATALIMIT = 0x10000, + NLM_CONNECTION_COST_CONGESTED = 0x20000, + NLM_CONNECTION_COST_ROAMING = 0x40000, + NLM_CONNECTION_COST_APPROACHINGDATALIMIT = 0x80000 +} NLM_CONNECTION_COST; +typedef struct NLM_SOCKADDR { + BYTE data[128]; +} NLM_SOCKADDR; +#define NLM_UNKNOWN_DATAPLAN_STATUS (0xffffffff) + +typedef struct NLM_USAGE_DATA { + DWORD UsageInMegabytes; + FILETIME LastSyncTime; +} NLM_USAGE_DATA; +typedef struct NLM_DATAPLAN_STATUS { + GUID InterfaceGuid; + NLM_USAGE_DATA UsageData; + DWORD DataLimitInMegabytes; + DWORD InboundBandwidthInKbps; + DWORD OutboundBandwidthInKbps; + FILETIME NextBillingCycle; + DWORD MaxTransferSizeInMegabytes; + DWORD Reserved; +} NLM_DATAPLAN_STATUS; +/***************************************************************************** + * INetworkCostManager interface + */ +#ifndef __INetworkCostManager_INTERFACE_DEFINED__ +#define __INetworkCostManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkCostManager, 0xdcb00008, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00008-570f-4a9b-8d69-199fdba5723b") +INetworkCostManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCost( + DWORD *pCost, + NLM_SOCKADDR *pDestIPAddr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataPlanStatus( + NLM_DATAPLAN_STATUS *pDataPlanStatus, + NLM_SOCKADDR *pDestIPAddr) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDestinationAddresses( + UINT32 length, + NLM_SOCKADDR *pDestIPAddrList, + VARIANT_BOOL bAppend) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkCostManager, 0xdcb00008, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkCostManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkCostManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkCostManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkCostManager *This); + + /*** INetworkCostManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCost)( + INetworkCostManager *This, + DWORD *pCost, + NLM_SOCKADDR *pDestIPAddr); + + HRESULT (STDMETHODCALLTYPE *GetDataPlanStatus)( + INetworkCostManager *This, + NLM_DATAPLAN_STATUS *pDataPlanStatus, + NLM_SOCKADDR *pDestIPAddr); + + HRESULT (STDMETHODCALLTYPE *SetDestinationAddresses)( + INetworkCostManager *This, + UINT32 length, + NLM_SOCKADDR *pDestIPAddrList, + VARIANT_BOOL bAppend); + + END_INTERFACE +} INetworkCostManagerVtbl; + +interface INetworkCostManager { + CONST_VTBL INetworkCostManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkCostManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkCostManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkCostManager_Release(This) (This)->lpVtbl->Release(This) +/*** INetworkCostManager methods ***/ +#define INetworkCostManager_GetCost(This,pCost,pDestIPAddr) (This)->lpVtbl->GetCost(This,pCost,pDestIPAddr) +#define INetworkCostManager_GetDataPlanStatus(This,pDataPlanStatus,pDestIPAddr) (This)->lpVtbl->GetDataPlanStatus(This,pDataPlanStatus,pDestIPAddr) +#define INetworkCostManager_SetDestinationAddresses(This,length,pDestIPAddrList,bAppend) (This)->lpVtbl->SetDestinationAddresses(This,length,pDestIPAddrList,bAppend) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkCostManager_QueryInterface(INetworkCostManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkCostManager_AddRef(INetworkCostManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkCostManager_Release(INetworkCostManager* This) { + return This->lpVtbl->Release(This); +} +/*** INetworkCostManager methods ***/ +static FORCEINLINE HRESULT INetworkCostManager_GetCost(INetworkCostManager* This,DWORD *pCost,NLM_SOCKADDR *pDestIPAddr) { + return This->lpVtbl->GetCost(This,pCost,pDestIPAddr); +} +static FORCEINLINE HRESULT INetworkCostManager_GetDataPlanStatus(INetworkCostManager* This,NLM_DATAPLAN_STATUS *pDataPlanStatus,NLM_SOCKADDR *pDestIPAddr) { + return This->lpVtbl->GetDataPlanStatus(This,pDataPlanStatus,pDestIPAddr); +} +static FORCEINLINE HRESULT INetworkCostManager_SetDestinationAddresses(INetworkCostManager* This,UINT32 length,NLM_SOCKADDR *pDestIPAddrList,VARIANT_BOOL bAppend) { + return This->lpVtbl->SetDestinationAddresses(This,length,pDestIPAddrList,bAppend); +} +#endif +#endif + +#endif + + +#endif /* __INetworkCostManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetworkConnectionCost interface + */ +#ifndef __INetworkConnectionCost_INTERFACE_DEFINED__ +#define __INetworkConnectionCost_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkConnectionCost, 0xdcb0000a, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb0000a-570f-4a9b-8d69-199fdba5723b") +INetworkConnectionCost : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCost( + DWORD *pCost) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataPlanStatus( + NLM_DATAPLAN_STATUS *pDataPlanStatus) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkConnectionCost, 0xdcb0000a, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkConnectionCostVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkConnectionCost *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkConnectionCost *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkConnectionCost *This); + + /*** INetworkConnectionCost methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCost)( + INetworkConnectionCost *This, + DWORD *pCost); + + HRESULT (STDMETHODCALLTYPE *GetDataPlanStatus)( + INetworkConnectionCost *This, + NLM_DATAPLAN_STATUS *pDataPlanStatus); + + END_INTERFACE +} INetworkConnectionCostVtbl; + +interface INetworkConnectionCost { + CONST_VTBL INetworkConnectionCostVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkConnectionCost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkConnectionCost_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkConnectionCost_Release(This) (This)->lpVtbl->Release(This) +/*** INetworkConnectionCost methods ***/ +#define INetworkConnectionCost_GetCost(This,pCost) (This)->lpVtbl->GetCost(This,pCost) +#define INetworkConnectionCost_GetDataPlanStatus(This,pDataPlanStatus) (This)->lpVtbl->GetDataPlanStatus(This,pDataPlanStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkConnectionCost_QueryInterface(INetworkConnectionCost* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkConnectionCost_AddRef(INetworkConnectionCost* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkConnectionCost_Release(INetworkConnectionCost* This) { + return This->lpVtbl->Release(This); +} +/*** INetworkConnectionCost methods ***/ +static FORCEINLINE HRESULT INetworkConnectionCost_GetCost(INetworkConnectionCost* This,DWORD *pCost) { + return This->lpVtbl->GetCost(This,pCost); +} +static FORCEINLINE HRESULT INetworkConnectionCost_GetDataPlanStatus(INetworkConnectionCost* This,NLM_DATAPLAN_STATUS *pDataPlanStatus) { + return This->lpVtbl->GetDataPlanStatus(This,pDataPlanStatus); +} +#endif +#endif + +#endif + + +#endif /* __INetworkConnectionCost_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetworkCostManagerEvents interface + */ +#ifndef __INetworkCostManagerEvents_INTERFACE_DEFINED__ +#define __INetworkCostManagerEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkCostManagerEvents, 0xdcb00009, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00009-570f-4a9b-8d69-199fdba5723b") +INetworkCostManagerEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CostChanged( + DWORD newCost, + NLM_SOCKADDR *pDestAddr) = 0; + + virtual HRESULT STDMETHODCALLTYPE DataPlanStatusChanged( + NLM_SOCKADDR *pDestAddr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkCostManagerEvents, 0xdcb00009, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkCostManagerEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkCostManagerEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkCostManagerEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkCostManagerEvents *This); + + /*** INetworkCostManagerEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *CostChanged)( + INetworkCostManagerEvents *This, + DWORD newCost, + NLM_SOCKADDR *pDestAddr); + + HRESULT (STDMETHODCALLTYPE *DataPlanStatusChanged)( + INetworkCostManagerEvents *This, + NLM_SOCKADDR *pDestAddr); + + END_INTERFACE +} INetworkCostManagerEventsVtbl; + +interface INetworkCostManagerEvents { + CONST_VTBL INetworkCostManagerEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkCostManagerEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkCostManagerEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkCostManagerEvents_Release(This) (This)->lpVtbl->Release(This) +/*** INetworkCostManagerEvents methods ***/ +#define INetworkCostManagerEvents_CostChanged(This,newCost,pDestAddr) (This)->lpVtbl->CostChanged(This,newCost,pDestAddr) +#define INetworkCostManagerEvents_DataPlanStatusChanged(This,pDestAddr) (This)->lpVtbl->DataPlanStatusChanged(This,pDestAddr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkCostManagerEvents_QueryInterface(INetworkCostManagerEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkCostManagerEvents_AddRef(INetworkCostManagerEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkCostManagerEvents_Release(INetworkCostManagerEvents* This) { + return This->lpVtbl->Release(This); +} +/*** INetworkCostManagerEvents methods ***/ +static FORCEINLINE HRESULT INetworkCostManagerEvents_CostChanged(INetworkCostManagerEvents* This,DWORD newCost,NLM_SOCKADDR *pDestAddr) { + return This->lpVtbl->CostChanged(This,newCost,pDestAddr); +} +static FORCEINLINE HRESULT INetworkCostManagerEvents_DataPlanStatusChanged(INetworkCostManagerEvents* This,NLM_SOCKADDR *pDestAddr) { + return This->lpVtbl->DataPlanStatusChanged(This,pDestAddr); +} +#endif +#endif + +#endif + + +#endif /* __INetworkCostManagerEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumNetworks interface + */ +#ifndef __IEnumNetworks_INTERFACE_DEFINED__ +#define __IEnumNetworks_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumNetworks, 0xdcb00003, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00003-570f-4a9b-8d69-199fdba5723b") +IEnumNetworks : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IEnumVARIANT **ppEnumVar) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + INetwork **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumNetworks **ppEnumNetwork) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumNetworks, 0xdcb00003, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct IEnumNetworksVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumNetworks *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumNetworks *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumNetworks *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IEnumNetworks *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IEnumNetworks *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IEnumNetworks *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IEnumNetworks *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IEnumNetworks methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IEnumNetworks *This, + IEnumVARIANT **ppEnumVar); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumNetworks *This, + ULONG celt, + INetwork **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumNetworks *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumNetworks *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumNetworks *This, + IEnumNetworks **ppEnumNetwork); + + END_INTERFACE +} IEnumNetworksVtbl; + +interface IEnumNetworks { + CONST_VTBL IEnumNetworksVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumNetworks_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumNetworks_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumNetworks_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IEnumNetworks_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IEnumNetworks_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IEnumNetworks_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IEnumNetworks_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IEnumNetworks methods ***/ +#define IEnumNetworks_get__NewEnum(This,ppEnumVar) (This)->lpVtbl->get__NewEnum(This,ppEnumVar) +#define IEnumNetworks_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumNetworks_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumNetworks_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumNetworks_Clone(This,ppEnumNetwork) (This)->lpVtbl->Clone(This,ppEnumNetwork) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumNetworks_QueryInterface(IEnumNetworks* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumNetworks_AddRef(IEnumNetworks* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumNetworks_Release(IEnumNetworks* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IEnumNetworks_GetTypeInfoCount(IEnumNetworks* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IEnumNetworks_GetTypeInfo(IEnumNetworks* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IEnumNetworks_GetIDsOfNames(IEnumNetworks* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IEnumNetworks_Invoke(IEnumNetworks* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IEnumNetworks methods ***/ +static FORCEINLINE HRESULT IEnumNetworks_get__NewEnum(IEnumNetworks* This,IEnumVARIANT **ppEnumVar) { + return This->lpVtbl->get__NewEnum(This,ppEnumVar); +} +static FORCEINLINE HRESULT IEnumNetworks_Next(IEnumNetworks* This,ULONG celt,INetwork **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumNetworks_Skip(IEnumNetworks* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumNetworks_Reset(IEnumNetworks* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumNetworks_Clone(IEnumNetworks* This,IEnumNetworks **ppEnumNetwork) { + return This->lpVtbl->Clone(This,ppEnumNetwork); +} +#endif +#endif + +#endif + + +#endif /* __IEnumNetworks_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumNetworkConnections interface + */ +#ifndef __IEnumNetworkConnections_INTERFACE_DEFINED__ +#define __IEnumNetworkConnections_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumNetworkConnections, 0xdcb00006, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00006-570f-4a9b-8d69-199fdba5723b") +IEnumNetworkConnections : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IEnumVARIANT **ppEnumVar) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + INetworkConnection **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumNetworkConnections **ppEnumNetwork) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumNetworkConnections, 0xdcb00006, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct IEnumNetworkConnectionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumNetworkConnections *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumNetworkConnections *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumNetworkConnections *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IEnumNetworkConnections *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IEnumNetworkConnections *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IEnumNetworkConnections *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IEnumNetworkConnections *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IEnumNetworkConnections methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IEnumNetworkConnections *This, + IEnumVARIANT **ppEnumVar); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumNetworkConnections *This, + ULONG celt, + INetworkConnection **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumNetworkConnections *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumNetworkConnections *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumNetworkConnections *This, + IEnumNetworkConnections **ppEnumNetwork); + + END_INTERFACE +} IEnumNetworkConnectionsVtbl; + +interface IEnumNetworkConnections { + CONST_VTBL IEnumNetworkConnectionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumNetworkConnections_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumNetworkConnections_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumNetworkConnections_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IEnumNetworkConnections_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IEnumNetworkConnections_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IEnumNetworkConnections_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IEnumNetworkConnections_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IEnumNetworkConnections methods ***/ +#define IEnumNetworkConnections_get__NewEnum(This,ppEnumVar) (This)->lpVtbl->get__NewEnum(This,ppEnumVar) +#define IEnumNetworkConnections_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumNetworkConnections_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumNetworkConnections_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumNetworkConnections_Clone(This,ppEnumNetwork) (This)->lpVtbl->Clone(This,ppEnumNetwork) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumNetworkConnections_QueryInterface(IEnumNetworkConnections* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumNetworkConnections_AddRef(IEnumNetworkConnections* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumNetworkConnections_Release(IEnumNetworkConnections* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IEnumNetworkConnections_GetTypeInfoCount(IEnumNetworkConnections* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_GetTypeInfo(IEnumNetworkConnections* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_GetIDsOfNames(IEnumNetworkConnections* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_Invoke(IEnumNetworkConnections* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IEnumNetworkConnections methods ***/ +static FORCEINLINE HRESULT IEnumNetworkConnections_get__NewEnum(IEnumNetworkConnections* This,IEnumVARIANT **ppEnumVar) { + return This->lpVtbl->get__NewEnum(This,ppEnumVar); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_Next(IEnumNetworkConnections* This,ULONG celt,INetworkConnection **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_Skip(IEnumNetworkConnections* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_Reset(IEnumNetworkConnections* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumNetworkConnections_Clone(IEnumNetworkConnections* This,IEnumNetworkConnections **ppEnumNetwork) { + return This->lpVtbl->Clone(This,ppEnumNetwork); +} +#endif +#endif + +#endif + + +#endif /* __IEnumNetworkConnections_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetworkListManager interface + */ +#ifndef __INetworkListManager_INTERFACE_DEFINED__ +#define __INetworkListManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkListManager, 0xdcb00000, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00000-570f-4a9b-8d69-199fdba5723b") +INetworkListManager : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetNetworks( + NLM_ENUM_NETWORK Flags, + IEnumNetworks **ppEnumNetwork) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetwork( + GUID gdNetworkId, + INetwork **ppNetwork) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkConnections( + IEnumNetworkConnections **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkConnection( + GUID gdNetworkConnectionId, + INetworkConnection **ppNetworkConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsConnectedToInternet( + VARIANT_BOOL *pbIsConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsConnected( + VARIANT_BOOL *pbIsConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectivity( + NLM_CONNECTIVITY *pConnectivity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkListManager, 0xdcb00000, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkListManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkListManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkListManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkListManager *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetworkListManager *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetworkListManager *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetworkListManager *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetworkListManager *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetworkListManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNetworks)( + INetworkListManager *This, + NLM_ENUM_NETWORK Flags, + IEnumNetworks **ppEnumNetwork); + + HRESULT (STDMETHODCALLTYPE *GetNetwork)( + INetworkListManager *This, + GUID gdNetworkId, + INetwork **ppNetwork); + + HRESULT (STDMETHODCALLTYPE *GetNetworkConnections)( + INetworkListManager *This, + IEnumNetworkConnections **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetNetworkConnection)( + INetworkListManager *This, + GUID gdNetworkConnectionId, + INetworkConnection **ppNetworkConnection); + + HRESULT (STDMETHODCALLTYPE *IsConnectedToInternet)( + INetworkListManager *This, + VARIANT_BOOL *pbIsConnected); + + HRESULT (STDMETHODCALLTYPE *IsConnected)( + INetworkListManager *This, + VARIANT_BOOL *pbIsConnected); + + HRESULT (STDMETHODCALLTYPE *GetConnectivity)( + INetworkListManager *This, + NLM_CONNECTIVITY *pConnectivity); + + END_INTERFACE +} INetworkListManagerVtbl; + +interface INetworkListManager { + CONST_VTBL INetworkListManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkListManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkListManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkListManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetworkListManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetworkListManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetworkListManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetworkListManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetworkListManager methods ***/ +#define INetworkListManager_GetNetworks(This,Flags,ppEnumNetwork) (This)->lpVtbl->GetNetworks(This,Flags,ppEnumNetwork) +#define INetworkListManager_GetNetwork(This,gdNetworkId,ppNetwork) (This)->lpVtbl->GetNetwork(This,gdNetworkId,ppNetwork) +#define INetworkListManager_GetNetworkConnections(This,ppEnum) (This)->lpVtbl->GetNetworkConnections(This,ppEnum) +#define INetworkListManager_GetNetworkConnection(This,gdNetworkConnectionId,ppNetworkConnection) (This)->lpVtbl->GetNetworkConnection(This,gdNetworkConnectionId,ppNetworkConnection) +#define INetworkListManager_IsConnectedToInternet(This,pbIsConnected) (This)->lpVtbl->IsConnectedToInternet(This,pbIsConnected) +#define INetworkListManager_IsConnected(This,pbIsConnected) (This)->lpVtbl->IsConnected(This,pbIsConnected) +#define INetworkListManager_GetConnectivity(This,pConnectivity) (This)->lpVtbl->GetConnectivity(This,pConnectivity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkListManager_QueryInterface(INetworkListManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkListManager_AddRef(INetworkListManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkListManager_Release(INetworkListManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetworkListManager_GetTypeInfoCount(INetworkListManager* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetworkListManager_GetTypeInfo(INetworkListManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetworkListManager_GetIDsOfNames(INetworkListManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetworkListManager_Invoke(INetworkListManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetworkListManager methods ***/ +static FORCEINLINE HRESULT INetworkListManager_GetNetworks(INetworkListManager* This,NLM_ENUM_NETWORK Flags,IEnumNetworks **ppEnumNetwork) { + return This->lpVtbl->GetNetworks(This,Flags,ppEnumNetwork); +} +static FORCEINLINE HRESULT INetworkListManager_GetNetwork(INetworkListManager* This,GUID gdNetworkId,INetwork **ppNetwork) { + return This->lpVtbl->GetNetwork(This,gdNetworkId,ppNetwork); +} +static FORCEINLINE HRESULT INetworkListManager_GetNetworkConnections(INetworkListManager* This,IEnumNetworkConnections **ppEnum) { + return This->lpVtbl->GetNetworkConnections(This,ppEnum); +} +static FORCEINLINE HRESULT INetworkListManager_GetNetworkConnection(INetworkListManager* This,GUID gdNetworkConnectionId,INetworkConnection **ppNetworkConnection) { + return This->lpVtbl->GetNetworkConnection(This,gdNetworkConnectionId,ppNetworkConnection); +} +static FORCEINLINE HRESULT INetworkListManager_IsConnectedToInternet(INetworkListManager* This,VARIANT_BOOL *pbIsConnected) { + return This->lpVtbl->IsConnectedToInternet(This,pbIsConnected); +} +static FORCEINLINE HRESULT INetworkListManager_IsConnected(INetworkListManager* This,VARIANT_BOOL *pbIsConnected) { + return This->lpVtbl->IsConnected(This,pbIsConnected); +} +static FORCEINLINE HRESULT INetworkListManager_GetConnectivity(INetworkListManager* This,NLM_CONNECTIVITY *pConnectivity) { + return This->lpVtbl->GetConnectivity(This,pConnectivity); +} +#endif +#endif + +#endif + + +#endif /* __INetworkListManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * NetworkListManager coclass + */ + +DEFINE_GUID(CLSID_NetworkListManager, 0xdcb00c01, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); + +#ifdef __cplusplus +class DECLSPEC_UUID("dcb00c01-570f-4a9b-8d69-199fdba5723b") NetworkListManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(NetworkListManager, 0xdcb00c01, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#endif + +/***************************************************************************** + * INetworkListManagerEvents interface + */ +#ifndef __INetworkListManagerEvents_INTERFACE_DEFINED__ +#define __INetworkListManagerEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkListManagerEvents, 0xdcb00001, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00001-570f-4a9b-8d69-199fdba5723b") +INetworkListManagerEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ConnectivityChanged( + NLM_CONNECTIVITY newConnectivity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkListManagerEvents, 0xdcb00001, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkListManagerEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkListManagerEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkListManagerEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkListManagerEvents *This); + + /*** INetworkListManagerEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *ConnectivityChanged)( + INetworkListManagerEvents *This, + NLM_CONNECTIVITY newConnectivity); + + END_INTERFACE +} INetworkListManagerEventsVtbl; + +interface INetworkListManagerEvents { + CONST_VTBL INetworkListManagerEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkListManagerEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkListManagerEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkListManagerEvents_Release(This) (This)->lpVtbl->Release(This) +/*** INetworkListManagerEvents methods ***/ +#define INetworkListManagerEvents_ConnectivityChanged(This,newConnectivity) (This)->lpVtbl->ConnectivityChanged(This,newConnectivity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkListManagerEvents_QueryInterface(INetworkListManagerEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkListManagerEvents_AddRef(INetworkListManagerEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkListManagerEvents_Release(INetworkListManagerEvents* This) { + return This->lpVtbl->Release(This); +} +/*** INetworkListManagerEvents methods ***/ +static FORCEINLINE HRESULT INetworkListManagerEvents_ConnectivityChanged(INetworkListManagerEvents* This,NLM_CONNECTIVITY newConnectivity) { + return This->lpVtbl->ConnectivityChanged(This,newConnectivity); +} +#endif +#endif + +#endif + + +#endif /* __INetworkListManagerEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetworkConnectionEvents interface + */ +#ifndef __INetworkConnectionEvents_INTERFACE_DEFINED__ +#define __INetworkConnectionEvents_INTERFACE_DEFINED__ + +typedef enum NLM_CONNECTION_PROPERTY_CHANGE { + NLM_CONNECTION_PROPERTY_CHANGE_AUTHENTICATION = 1 +} NLM_CONNECTION_PROPERTY_CHANGE; +DEFINE_GUID(IID_INetworkConnectionEvents, 0xdcb00007, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00007-570f-4a9b-8d69-199fdba5723b") +INetworkConnectionEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NetworkConnectionConnectivityChanged( + GUID connectionId, + NLM_CONNECTIVITY newConnectivity) = 0; + + virtual HRESULT STDMETHODCALLTYPE NetworkConnectionPropertyChanged( + GUID connectionId, + NLM_CONNECTION_PROPERTY_CHANGE flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkConnectionEvents, 0xdcb00007, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkConnectionEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkConnectionEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkConnectionEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkConnectionEvents *This); + + /*** INetworkConnectionEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *NetworkConnectionConnectivityChanged)( + INetworkConnectionEvents *This, + GUID connectionId, + NLM_CONNECTIVITY newConnectivity); + + HRESULT (STDMETHODCALLTYPE *NetworkConnectionPropertyChanged)( + INetworkConnectionEvents *This, + GUID connectionId, + NLM_CONNECTION_PROPERTY_CHANGE flags); + + END_INTERFACE +} INetworkConnectionEventsVtbl; + +interface INetworkConnectionEvents { + CONST_VTBL INetworkConnectionEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkConnectionEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkConnectionEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkConnectionEvents_Release(This) (This)->lpVtbl->Release(This) +/*** INetworkConnectionEvents methods ***/ +#define INetworkConnectionEvents_NetworkConnectionConnectivityChanged(This,connectionId,newConnectivity) (This)->lpVtbl->NetworkConnectionConnectivityChanged(This,connectionId,newConnectivity) +#define INetworkConnectionEvents_NetworkConnectionPropertyChanged(This,connectionId,flags) (This)->lpVtbl->NetworkConnectionPropertyChanged(This,connectionId,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkConnectionEvents_QueryInterface(INetworkConnectionEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkConnectionEvents_AddRef(INetworkConnectionEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkConnectionEvents_Release(INetworkConnectionEvents* This) { + return This->lpVtbl->Release(This); +} +/*** INetworkConnectionEvents methods ***/ +static FORCEINLINE HRESULT INetworkConnectionEvents_NetworkConnectionConnectivityChanged(INetworkConnectionEvents* This,GUID connectionId,NLM_CONNECTIVITY newConnectivity) { + return This->lpVtbl->NetworkConnectionConnectivityChanged(This,connectionId,newConnectivity); +} +static FORCEINLINE HRESULT INetworkConnectionEvents_NetworkConnectionPropertyChanged(INetworkConnectionEvents* This,GUID connectionId,NLM_CONNECTION_PROPERTY_CHANGE flags) { + return This->lpVtbl->NetworkConnectionPropertyChanged(This,connectionId,flags); +} +#endif +#endif + +#endif + + +#endif /* __INetworkConnectionEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetworkConnection interface + */ +#ifndef __INetworkConnection_INTERFACE_DEFINED__ +#define __INetworkConnection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkConnection, 0xdcb00005, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00005-570f-4a9b-8d69-199fdba5723b") +INetworkConnection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetNetwork( + INetwork **ppNetwork) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsConnectedToInternet( + VARIANT_BOOL *pbIsConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsConnected( + VARIANT_BOOL *pbIsConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectivity( + NLM_CONNECTIVITY *pConnectivity) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionId( + GUID *pgdConnectionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdapterId( + GUID *pgdAdapterId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDomainType( + NLM_DOMAIN_TYPE *pDomainType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkConnection, 0xdcb00005, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkConnection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkConnection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkConnection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetworkConnection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetworkConnection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetworkConnection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetworkConnection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetworkConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNetwork)( + INetworkConnection *This, + INetwork **ppNetwork); + + HRESULT (STDMETHODCALLTYPE *get_IsConnectedToInternet)( + INetworkConnection *This, + VARIANT_BOOL *pbIsConnected); + + HRESULT (STDMETHODCALLTYPE *get_IsConnected)( + INetworkConnection *This, + VARIANT_BOOL *pbIsConnected); + + HRESULT (STDMETHODCALLTYPE *GetConnectivity)( + INetworkConnection *This, + NLM_CONNECTIVITY *pConnectivity); + + HRESULT (STDMETHODCALLTYPE *GetConnectionId)( + INetworkConnection *This, + GUID *pgdConnectionId); + + HRESULT (STDMETHODCALLTYPE *GetAdapterId)( + INetworkConnection *This, + GUID *pgdAdapterId); + + HRESULT (STDMETHODCALLTYPE *GetDomainType)( + INetworkConnection *This, + NLM_DOMAIN_TYPE *pDomainType); + + END_INTERFACE +} INetworkConnectionVtbl; + +interface INetworkConnection { + CONST_VTBL INetworkConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkConnection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetworkConnection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetworkConnection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetworkConnection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetworkConnection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetworkConnection methods ***/ +#define INetworkConnection_GetNetwork(This,ppNetwork) (This)->lpVtbl->GetNetwork(This,ppNetwork) +#define INetworkConnection_get_IsConnectedToInternet(This,pbIsConnected) (This)->lpVtbl->get_IsConnectedToInternet(This,pbIsConnected) +#define INetworkConnection_get_IsConnected(This,pbIsConnected) (This)->lpVtbl->get_IsConnected(This,pbIsConnected) +#define INetworkConnection_GetConnectivity(This,pConnectivity) (This)->lpVtbl->GetConnectivity(This,pConnectivity) +#define INetworkConnection_GetConnectionId(This,pgdConnectionId) (This)->lpVtbl->GetConnectionId(This,pgdConnectionId) +#define INetworkConnection_GetAdapterId(This,pgdAdapterId) (This)->lpVtbl->GetAdapterId(This,pgdAdapterId) +#define INetworkConnection_GetDomainType(This,pDomainType) (This)->lpVtbl->GetDomainType(This,pDomainType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkConnection_QueryInterface(INetworkConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkConnection_AddRef(INetworkConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkConnection_Release(INetworkConnection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetworkConnection_GetTypeInfoCount(INetworkConnection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetworkConnection_GetTypeInfo(INetworkConnection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetworkConnection_GetIDsOfNames(INetworkConnection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetworkConnection_Invoke(INetworkConnection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetworkConnection methods ***/ +static FORCEINLINE HRESULT INetworkConnection_GetNetwork(INetworkConnection* This,INetwork **ppNetwork) { + return This->lpVtbl->GetNetwork(This,ppNetwork); +} +static FORCEINLINE HRESULT INetworkConnection_get_IsConnectedToInternet(INetworkConnection* This,VARIANT_BOOL *pbIsConnected) { + return This->lpVtbl->get_IsConnectedToInternet(This,pbIsConnected); +} +static FORCEINLINE HRESULT INetworkConnection_get_IsConnected(INetworkConnection* This,VARIANT_BOOL *pbIsConnected) { + return This->lpVtbl->get_IsConnected(This,pbIsConnected); +} +static FORCEINLINE HRESULT INetworkConnection_GetConnectivity(INetworkConnection* This,NLM_CONNECTIVITY *pConnectivity) { + return This->lpVtbl->GetConnectivity(This,pConnectivity); +} +static FORCEINLINE HRESULT INetworkConnection_GetConnectionId(INetworkConnection* This,GUID *pgdConnectionId) { + return This->lpVtbl->GetConnectionId(This,pgdConnectionId); +} +static FORCEINLINE HRESULT INetworkConnection_GetAdapterId(INetworkConnection* This,GUID *pgdAdapterId) { + return This->lpVtbl->GetAdapterId(This,pgdAdapterId); +} +static FORCEINLINE HRESULT INetworkConnection_GetDomainType(INetworkConnection* This,NLM_DOMAIN_TYPE *pDomainType) { + return This->lpVtbl->GetDomainType(This,pDomainType); +} +#endif +#endif + +#endif + + +#endif /* __INetworkConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetwork interface + */ +#ifndef __INetwork_INTERFACE_DEFINED__ +#define __INetwork_INTERFACE_DEFINED__ + +typedef enum NLM_NETWORK_CATEGORY { + NLM_NETWORK_CATEGORY_PUBLIC = 0x0, + NLM_NETWORK_CATEGORY_PRIVATE = 0x1, + NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED = 0x2 +} NLM_NETWORK_CATEGORY; +DEFINE_GUID(IID_INetwork, 0xdcb00002, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcb00002-570f-4a9b-8d69-199fdba5723b") +INetwork : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + BSTR *pszNetworkName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetName( + BSTR szNetworkNewName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *pszDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + BSTR szDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkId( + GUID *pgdGuidNetworkId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDomainType( + NLM_DOMAIN_TYPE *pNetworkType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkConnections( + IEnumNetworkConnections **ppEnumNetworkConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimeCreatedAndConnected( + DWORD *pdwLowDateTimeCreated, + DWORD *pdwHighDateTimeCreated, + DWORD *pdwLowDateTimeConnected, + DWORD *pdwHighDateTimeConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsConnectedToInternet( + VARIANT_BOOL *pbIsConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsConnected( + VARIANT_BOOL *pbIsConnected) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectivity( + NLM_CONNECTIVITY *pConnectivity) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCategory( + NLM_NETWORK_CATEGORY *pCategory) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCategory( + NLM_NETWORK_CATEGORY NewCategory) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetwork, 0xdcb00002, 0x570f, 0x4a9b, 0x8d,0x69, 0x19,0x9f,0xdb,0xa5,0x72,0x3b) +#endif +#else +typedef struct INetworkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetwork *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetwork *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetwork *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetwork *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetwork *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetwork *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetwork *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetwork methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + INetwork *This, + BSTR *pszNetworkName); + + HRESULT (STDMETHODCALLTYPE *SetName)( + INetwork *This, + BSTR szNetworkNewName); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + INetwork *This, + BSTR *pszDescription); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + INetwork *This, + BSTR szDescription); + + HRESULT (STDMETHODCALLTYPE *GetNetworkId)( + INetwork *This, + GUID *pgdGuidNetworkId); + + HRESULT (STDMETHODCALLTYPE *GetDomainType)( + INetwork *This, + NLM_DOMAIN_TYPE *pNetworkType); + + HRESULT (STDMETHODCALLTYPE *GetNetworkConnections)( + INetwork *This, + IEnumNetworkConnections **ppEnumNetworkConnection); + + HRESULT (STDMETHODCALLTYPE *GetTimeCreatedAndConnected)( + INetwork *This, + DWORD *pdwLowDateTimeCreated, + DWORD *pdwHighDateTimeCreated, + DWORD *pdwLowDateTimeConnected, + DWORD *pdwHighDateTimeConnected); + + HRESULT (STDMETHODCALLTYPE *get_IsConnectedToInternet)( + INetwork *This, + VARIANT_BOOL *pbIsConnected); + + HRESULT (STDMETHODCALLTYPE *get_IsConnected)( + INetwork *This, + VARIANT_BOOL *pbIsConnected); + + HRESULT (STDMETHODCALLTYPE *GetConnectivity)( + INetwork *This, + NLM_CONNECTIVITY *pConnectivity); + + HRESULT (STDMETHODCALLTYPE *GetCategory)( + INetwork *This, + NLM_NETWORK_CATEGORY *pCategory); + + HRESULT (STDMETHODCALLTYPE *SetCategory)( + INetwork *This, + NLM_NETWORK_CATEGORY NewCategory); + + END_INTERFACE +} INetworkVtbl; + +interface INetwork { + CONST_VTBL INetworkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetwork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetwork_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetwork_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetwork_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetwork_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetwork_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetwork_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetwork methods ***/ +#define INetwork_GetName(This,pszNetworkName) (This)->lpVtbl->GetName(This,pszNetworkName) +#define INetwork_SetName(This,szNetworkNewName) (This)->lpVtbl->SetName(This,szNetworkNewName) +#define INetwork_GetDescription(This,pszDescription) (This)->lpVtbl->GetDescription(This,pszDescription) +#define INetwork_SetDescription(This,szDescription) (This)->lpVtbl->SetDescription(This,szDescription) +#define INetwork_GetNetworkId(This,pgdGuidNetworkId) (This)->lpVtbl->GetNetworkId(This,pgdGuidNetworkId) +#define INetwork_GetDomainType(This,pNetworkType) (This)->lpVtbl->GetDomainType(This,pNetworkType) +#define INetwork_GetNetworkConnections(This,ppEnumNetworkConnection) (This)->lpVtbl->GetNetworkConnections(This,ppEnumNetworkConnection) +#define INetwork_GetTimeCreatedAndConnected(This,pdwLowDateTimeCreated,pdwHighDateTimeCreated,pdwLowDateTimeConnected,pdwHighDateTimeConnected) (This)->lpVtbl->GetTimeCreatedAndConnected(This,pdwLowDateTimeCreated,pdwHighDateTimeCreated,pdwLowDateTimeConnected,pdwHighDateTimeConnected) +#define INetwork_get_IsConnectedToInternet(This,pbIsConnected) (This)->lpVtbl->get_IsConnectedToInternet(This,pbIsConnected) +#define INetwork_get_IsConnected(This,pbIsConnected) (This)->lpVtbl->get_IsConnected(This,pbIsConnected) +#define INetwork_GetConnectivity(This,pConnectivity) (This)->lpVtbl->GetConnectivity(This,pConnectivity) +#define INetwork_GetCategory(This,pCategory) (This)->lpVtbl->GetCategory(This,pCategory) +#define INetwork_SetCategory(This,NewCategory) (This)->lpVtbl->SetCategory(This,NewCategory) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetwork_QueryInterface(INetwork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetwork_AddRef(INetwork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetwork_Release(INetwork* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetwork_GetTypeInfoCount(INetwork* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetwork_GetTypeInfo(INetwork* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetwork_GetIDsOfNames(INetwork* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetwork_Invoke(INetwork* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetwork methods ***/ +static FORCEINLINE HRESULT INetwork_GetName(INetwork* This,BSTR *pszNetworkName) { + return This->lpVtbl->GetName(This,pszNetworkName); +} +static FORCEINLINE HRESULT INetwork_SetName(INetwork* This,BSTR szNetworkNewName) { + return This->lpVtbl->SetName(This,szNetworkNewName); +} +static FORCEINLINE HRESULT INetwork_GetDescription(INetwork* This,BSTR *pszDescription) { + return This->lpVtbl->GetDescription(This,pszDescription); +} +static FORCEINLINE HRESULT INetwork_SetDescription(INetwork* This,BSTR szDescription) { + return This->lpVtbl->SetDescription(This,szDescription); +} +static FORCEINLINE HRESULT INetwork_GetNetworkId(INetwork* This,GUID *pgdGuidNetworkId) { + return This->lpVtbl->GetNetworkId(This,pgdGuidNetworkId); +} +static FORCEINLINE HRESULT INetwork_GetDomainType(INetwork* This,NLM_DOMAIN_TYPE *pNetworkType) { + return This->lpVtbl->GetDomainType(This,pNetworkType); +} +static FORCEINLINE HRESULT INetwork_GetNetworkConnections(INetwork* This,IEnumNetworkConnections **ppEnumNetworkConnection) { + return This->lpVtbl->GetNetworkConnections(This,ppEnumNetworkConnection); +} +static FORCEINLINE HRESULT INetwork_GetTimeCreatedAndConnected(INetwork* This,DWORD *pdwLowDateTimeCreated,DWORD *pdwHighDateTimeCreated,DWORD *pdwLowDateTimeConnected,DWORD *pdwHighDateTimeConnected) { + return This->lpVtbl->GetTimeCreatedAndConnected(This,pdwLowDateTimeCreated,pdwHighDateTimeCreated,pdwLowDateTimeConnected,pdwHighDateTimeConnected); +} +static FORCEINLINE HRESULT INetwork_get_IsConnectedToInternet(INetwork* This,VARIANT_BOOL *pbIsConnected) { + return This->lpVtbl->get_IsConnectedToInternet(This,pbIsConnected); +} +static FORCEINLINE HRESULT INetwork_get_IsConnected(INetwork* This,VARIANT_BOOL *pbIsConnected) { + return This->lpVtbl->get_IsConnected(This,pbIsConnected); +} +static FORCEINLINE HRESULT INetwork_GetConnectivity(INetwork* This,NLM_CONNECTIVITY *pConnectivity) { + return This->lpVtbl->GetConnectivity(This,pConnectivity); +} +static FORCEINLINE HRESULT INetwork_GetCategory(INetwork* This,NLM_NETWORK_CATEGORY *pCategory) { + return This->lpVtbl->GetCategory(This,pCategory); +} +static FORCEINLINE HRESULT INetwork_SetCategory(INetwork* This,NLM_NETWORK_CATEGORY NewCategory) { + return This->lpVtbl->SetCategory(This,NewCategory); +} +#endif +#endif + +#endif + + +#endif /* __INetwork_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __netlistmgr_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netlistmgr.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netlistmgr.idl new file mode 100644 index 0000000..e098f72 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/netlistmgr.idl @@ -0,0 +1,392 @@ +/* + * Copyright 2014 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "objidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#endif + +interface IEnumNetworks; +interface IEnumNetworkConnections; +interface INetwork; +interface INetworkConnection; +interface INetworkCostManager; +interface INetworkListManager; +interface INetworkListManagerEvents; + +typedef [v1_enum] enum NLM_CONNECTIVITY +{ + NLM_CONNECTIVITY_DISCONNECTED = 0x0000, + NLM_CONNECTIVITY_IPV4_NOTRAFFIC = 0x0001, + NLM_CONNECTIVITY_IPV6_NOTRAFFIC = 0x0002, + NLM_CONNECTIVITY_IPV4_SUBNET = 0x0010, + NLM_CONNECTIVITY_IPV4_LOCALNETWORK = 0x0020, + NLM_CONNECTIVITY_IPV4_INTERNET = 0x0040, + NLM_CONNECTIVITY_IPV6_SUBNET = 0x0100, + NLM_CONNECTIVITY_IPV6_LOCALNETWORK = 0x0200, + NLM_CONNECTIVITY_IPV6_INTERNET = 0x0400 +} NLM_CONNECTIVITY; + +typedef [v1_enum] enum NLM_DOMAIN_TYPE +{ + NLM_DOMAIN_TYPE_NON_DOMAIN_NETWORK = 0x00, + NLM_DOMAIN_TYPE_DOMAIN_NETWORK = 0x01, + NLM_DOMAIN_TYPE_DOMAIN_AUTHENTICATED = 0x02 +} NLM_DOMAIN_TYPE; + +typedef [v1_enum] enum NLM_ENUM_NETWORK +{ + NLM_ENUM_NETWORK_CONNECTED = 0x01, + NLM_ENUM_NETWORK_DISCONNECTED = 0x02, + NLM_ENUM_NETWORK_ALL = 0x03 +} NLM_ENUM_NETWORK; + +typedef [v1_enum] enum NLM_CONNECTION_COST +{ + NLM_CONNECTION_COST_UNKNOWN = 0x0, + NLM_CONNECTION_COST_UNRESTRICTED = 0x1, + NLM_CONNECTION_COST_FIXED = 0x2, + NLM_CONNECTION_COST_VARIABLE = 0x4, + NLM_CONNECTION_COST_OVERDATALIMIT = 0x10000, + NLM_CONNECTION_COST_CONGESTED = 0x20000, + NLM_CONNECTION_COST_ROAMING = 0x40000, + NLM_CONNECTION_COST_APPROACHINGDATALIMIT = 0x80000 +} NLM_CONNECTION_COST; + +typedef struct NLM_SOCKADDR +{ + BYTE data[128]; +} NLM_SOCKADDR; + +const UINT32 NLM_UNKNOWN_DATAPLAN_STATUS = 0xffffffff; + +typedef struct NLM_USAGE_DATA +{ + DWORD UsageInMegabytes; + FILETIME LastSyncTime; +} NLM_USAGE_DATA; + +typedef struct NLM_DATAPLAN_STATUS +{ + GUID InterfaceGuid; + NLM_USAGE_DATA UsageData; + DWORD DataLimitInMegabytes; + DWORD InboundBandwidthInKbps; + DWORD OutboundBandwidthInKbps; + FILETIME NextBillingCycle; + DWORD MaxTransferSizeInMegabytes; + DWORD Reserved; +} NLM_DATAPLAN_STATUS; + +[ + object, + pointer_default(unique), + uuid(dcb00008-570f-4a9b-8d69-199fdba5723b) +] +interface INetworkCostManager : IUnknown +{ + HRESULT GetCost( + [out] DWORD *pCost, + [in, unique] NLM_SOCKADDR *pDestIPAddr); + + HRESULT GetDataPlanStatus( + [out] NLM_DATAPLAN_STATUS *pDataPlanStatus, + [in, unique] NLM_SOCKADDR *pDestIPAddr); + + HRESULT SetDestinationAddresses( + [in] UINT32 length, + [in, unique, size_is(length)] NLM_SOCKADDR *pDestIPAddrList, + [in] VARIANT_BOOL bAppend); +} + +[ + object, + pointer_default(unique), + uuid(dcb0000a-570f-4a9b-8d69-199fdba5723b) +] +interface INetworkConnectionCost : IUnknown +{ + HRESULT GetCost( + [out] DWORD *pCost); + + HRESULT GetDataPlanStatus( + [out] NLM_DATAPLAN_STATUS *pDataPlanStatus); +} + +[ + object, + pointer_default(unique), + uuid(dcb00009-570f-4a9b-8d69-199fdba5723b) +] +interface INetworkCostManagerEvents : IUnknown +{ + HRESULT CostChanged( + [in] DWORD newCost, + [in, unique] NLM_SOCKADDR *pDestAddr); + + HRESULT DataPlanStatusChanged( + [in, unique] NLM_SOCKADDR *pDestAddr); +} + +[ + object, + oleautomation, + pointer_default(unique), + dual, + uuid(dcb00003-570f-4a9b-8d69-199fdba5723b) +] +interface IEnumNetworks : IDispatch +{ + [id(DISPID_NEWENUM), propget, hidden, restricted] + HRESULT _NewEnum( + [out, retval] IEnumVARIANT **ppEnumVar); + + [id(1)] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] INetwork **rgelt, + [in, out] ULONG *pceltFetched); + + [id(2)] + HRESULT Skip( + [in] ULONG celt); + + [id(3)] + HRESULT Reset(); + + [id(4)] + HRESULT Clone( + [out, retval] IEnumNetworks **ppEnumNetwork); +} + +[ + object, + oleautomation, + pointer_default(unique), + dual, + uuid(dcb00006-570f-4a9b-8d69-199fdba5723b) +] +interface IEnumNetworkConnections : IDispatch +{ + [id(DISPID_NEWENUM), propget, hidden, restricted] + HRESULT _NewEnum( + [out, retval] IEnumVARIANT **ppEnumVar); + + [id(1)] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] INetworkConnection **rgelt, + [in, out] ULONG *pceltFetched); + + [id(2)] + HRESULT Skip( + [in] ULONG celt); + + [id(3)] + HRESULT Reset(); + + [id(4)] + HRESULT Clone( + [out, retval] IEnumNetworkConnections **ppEnumNetwork); +} + +[ + dual, + object, + oleautomation, + pointer_default(unique), + uuid(dcb00000-570f-4a9b-8d69-199fdba5723b) +] +interface INetworkListManager : IDispatch +{ + HRESULT GetNetworks( + [in] NLM_ENUM_NETWORK Flags, + [out, retval] IEnumNetworks **ppEnumNetwork); + + HRESULT GetNetwork( + [in] GUID gdNetworkId, + [out, retval] INetwork **ppNetwork); + + HRESULT GetNetworkConnections( + [out, retval] IEnumNetworkConnections **ppEnum); + + HRESULT GetNetworkConnection( + [in] GUID gdNetworkConnectionId, + [out, retval] INetworkConnection **ppNetworkConnection); + + HRESULT IsConnectedToInternet( + [out, retval] VARIANT_BOOL *pbIsConnected); + + HRESULT IsConnected( + [out, retval] VARIANT_BOOL *pbIsConnected); + + HRESULT GetConnectivity( + [out, retval] NLM_CONNECTIVITY *pConnectivity); +} + +[ + threading(both), + uuid(dcb00c01-570f-4a9b-8d69-199fdba5723b) +] +coclass NetworkListManager { interface INetworkListManager; } + +[ + object, + oleautomation, + pointer_default(unique), + uuid(DCB00001-570F-4A9B-8D69-199FDBA5723B) +] +interface INetworkListManagerEvents : IUnknown +{ + HRESULT ConnectivityChanged( + [in] NLM_CONNECTIVITY newConnectivity); +} + +[ + object, + oleautomation, + pointer_default(unique), + uuid(dcb00007-570f-4a9b-8d69-199fdba5723b) +] +interface INetworkConnectionEvents : IUnknown +{ + typedef enum NLM_CONNECTION_PROPERTY_CHANGE + { + NLM_CONNECTION_PROPERTY_CHANGE_AUTHENTICATION = 1 + } NLM_CONNECTION_PROPERTY_CHANGE; + + HRESULT NetworkConnectionConnectivityChanged( + [in] GUID connectionId, + [in] NLM_CONNECTIVITY newConnectivity); + + HRESULT NetworkConnectionPropertyChanged( + [in] GUID connectionId, + [in] NLM_CONNECTION_PROPERTY_CHANGE flags); +} + +[ + object, + oleautomation, + pointer_default(unique), + dual, + uuid(dcb00005-570f-4a9b-8d69-199fdba5723b) +] +interface INetworkConnection : IDispatch +{ + [id(1)] + HRESULT GetNetwork( + [out, retval] INetwork **ppNetwork); + + [propget, id(2)] + HRESULT IsConnectedToInternet( + [out, retval] VARIANT_BOOL *pbIsConnected); + + [propget, id(3)] + HRESULT IsConnected( + [out, retval] VARIANT_BOOL *pbIsConnected); + + [id(4)] + HRESULT GetConnectivity( + [out, retval] NLM_CONNECTIVITY *pConnectivity); + + [id(5)] + HRESULT GetConnectionId( + [out, retval] GUID *pgdConnectionId); + + [id(6)] + HRESULT GetAdapterId( + [out, retval] GUID *pgdAdapterId); + + [id(7)] + HRESULT GetDomainType( + [out, retval] NLM_DOMAIN_TYPE *pDomainType); +} + +[ + object, + oleautomation, + pointer_default(unique), + dual, + uuid(dcb00002-570f-4a9b-8d69-199fdba5723b) +] +interface INetwork : IDispatch +{ + typedef enum NLM_NETWORK_CATEGORY + { + NLM_NETWORK_CATEGORY_PUBLIC = 0x00, + NLM_NETWORK_CATEGORY_PRIVATE = 0x01, + NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED = 0x02 + } NLM_NETWORK_CATEGORY; + + [id(1)] + HRESULT GetName( + [out, string, retval] BSTR *pszNetworkName); + + [id(2)] + HRESULT SetName( + [in, string] BSTR szNetworkNewName); + + [id(3)] + HRESULT GetDescription( + [out, string, retval] BSTR *pszDescription); + + [id(4)] + HRESULT SetDescription( + [in, string] BSTR szDescription); + + [id(5)] + HRESULT GetNetworkId( + [out, retval] GUID *pgdGuidNetworkId); + + [id(6)] + HRESULT GetDomainType( + [out, retval] NLM_DOMAIN_TYPE *pNetworkType); + + [id(7)] + HRESULT GetNetworkConnections( + [out, retval] IEnumNetworkConnections **ppEnumNetworkConnection); + + [id(8)] + HRESULT GetTimeCreatedAndConnected( + [out] DWORD *pdwLowDateTimeCreated, + [out] DWORD *pdwHighDateTimeCreated, + [out] DWORD *pdwLowDateTimeConnected, + [out] DWORD *pdwHighDateTimeConnected); + + [propget, id(9)] + HRESULT IsConnectedToInternet( + [out, retval] VARIANT_BOOL *pbIsConnected); + + [propget, id(10)] + HRESULT IsConnected( + [out, retval] VARIANT_BOOL *pbIsConnected); + + [id(11)] + HRESULT GetConnectivity( + [out, retval] NLM_CONNECTIVITY *pConnectivity); + + [id(12)] + HRESULT GetCategory( + [out, retval] NLM_NETWORK_CATEGORY *pCategory); + + [id(13)] + HRESULT SetCategory( + [in] NLM_NETWORK_CATEGORY NewCategory); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nldef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nldef.h new file mode 100644 index 0000000..1f96773 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nldef.h @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_NLDEF_H +#define __WINE_NLDEF_H + +typedef enum +{ + IpPrefixOriginOther = 0, + IpPrefixOriginManual, + IpPrefixOriginWellKnown, + IpPrefixOriginDhcp, + IpPrefixOriginRouterAdvertisement, + IpPrefixOriginUnchanged = 16, +} NL_PREFIX_ORIGIN; + +typedef enum +{ + IpSuffixOriginOther = 0, + IpSuffixOriginManual, + IpSuffixOriginWellKnown, + IpSuffixOriginDhcp, + IpSuffixOriginLinkLayerAddress, + IpSuffixOriginRandom, + IpSuffixOriginUnchanged = 16, +} NL_SUFFIX_ORIGIN; + +typedef enum +{ + IpDadStateInvalid = 0, + IpDadStateTentative, + IpDadStateDuplicate, + IpDadStateDeprecated, + IpDadStatePreferred, +} NL_DAD_STATE; + +typedef enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR +{ + LinkLocalAlwaysOff = 0, + LinkLocalDelayed, + LinkLocalAlwaysOn, + LinkLocalUnchanged = -1, +} NL_LINK_LOCAL_ADDRESS_BEHAVIOR; + +typedef enum _NL_ROUTER_DISCOVERY_BEHAVIOR +{ + RouterDiscoveryDisabled = 0, + RouterDiscoveryEnabled, + RouterDiscoveryDhcp, + RouterDiscoveryUnchanged = -1, +} NL_ROUTER_DISCOVERY_BEHAVIOR; + +typedef enum +{ +#define MAKE_ROUTE_PROTOCOL(name, value) \ + MIB_IPPROTO_ ## name = value, \ + PROTO_IP_ ## name = value + + MAKE_ROUTE_PROTOCOL(OTHER, 1), + MAKE_ROUTE_PROTOCOL(LOCAL, 2), + MAKE_ROUTE_PROTOCOL(NETMGMT, 3), + MAKE_ROUTE_PROTOCOL(ICMP, 4), + MAKE_ROUTE_PROTOCOL(EGP, 5), + MAKE_ROUTE_PROTOCOL(GGP, 6), + MAKE_ROUTE_PROTOCOL(HELLO, 7), + MAKE_ROUTE_PROTOCOL(RIP, 8), + MAKE_ROUTE_PROTOCOL(IS_IS, 9), + MAKE_ROUTE_PROTOCOL(ES_IS, 10), + MAKE_ROUTE_PROTOCOL(CISCO, 11), + MAKE_ROUTE_PROTOCOL(BBN, 12), + MAKE_ROUTE_PROTOCOL(OSPF, 13), + MAKE_ROUTE_PROTOCOL(BGP, 14), + + MAKE_ROUTE_PROTOCOL(NT_AUTOSTATIC, 10002), + MAKE_ROUTE_PROTOCOL(NT_STATIC, 10006), + MAKE_ROUTE_PROTOCOL(NT_STATIC_NON_DOD, 10007), +} NL_ROUTE_PROTOCOL, *PNL_ROUTE_PROTOCOL; + +typedef struct _NL_INTERFACE_OFFLOAD_ROD +{ + BOOLEAN NlChecksumSupported : 1; + BOOLEAN NlOptionsSupported : 1; + BOOLEAN TlDatagramChecksumSupported : 1; + BOOLEAN TlStreamChecksumSupported : 1; + BOOLEAN TlStreamOptionsSupported : 1; + BOOLEAN FastPathCompatible : 1; + BOOLEAN TlLargeSendOffloadSupported : 1; + BOOLEAN TlGiantSendOffloadSupported : 1; +} NL_INTERFACE_OFFLOAD_ROD, *PNL_INTERFACE_OFFLOAD_ROD; + +#endif /* __WINE_NLDEF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/npapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/npapi.h new file mode 100644 index 0000000..b5d7c97 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/npapi.h @@ -0,0 +1,219 @@ +/* + * Copyright (C) 2004 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_NPAPI_H__ +#define __WINE_NPAPI_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +/* capabilities */ +#define WNNC_SPEC_VERSION 0x00000001 +#define WNNC_SPEC_VERSION51 0x00050001 +#define WNNC_NET_TYPE 0x00000002 +#define WNNC_NET_NONE 0x00000000 + +#define WNNC_DRIVER_VERSION 0x00000003 + +#define WNNC_USER 0x00000004 +#define WNNC_USR_GETUSER 0x00000001 + +#define WNNC_CONNECTION 0x00000006 +#define WNNC_CON_ADDCONNECTION 0x00000001 +#define WNNC_CON_CANCELCONNECTION 0x00000002 +#define WNNC_CON_GETCONNECTIONS 0x00000004 +#define WNNC_CON_ADDCONNECTION3 0x00000008 +#define WNNC_CON_GETPERFORMANCE 0x00000040 +#define WNNC_CON_DEFER 0x00000080 + +#define WNNC_DIALOG 0x00000008 +#define WNNC_DLG_DEVICEMODE 0x00000001 +#define WNNC_DLG_PROPERTYDIALOG 0x00000020 +#define WNNC_DLG_SEARCHDIALOG 0x00000040 +#define WNNC_DLG_FORMATNETWORKNAME 0x00000080 +#define WNNC_DLG_PERMISSIONEDITOR 0x00000100 +#define WNNC_DLG_GETRESOURCEPARENT 0x00000200 +#define WNNC_DLG_GETRESOURCEINFORMATION 0x00000800 + +#define WNNC_ADMIN 0x00000009 +#define WNNC_ADM_GETDIRECTORYTYPE 0x00000001 +#define WNNC_ADM_DIRECTORYNOTIFY 0x00000002 + +#define WNNC_ENUMERATION 0x0000000b +#define WNNC_ENUM_GLOBAL 0x00000001 +#define WNNC_ENUM_LOCAL 0x00000002 +#define WNNC_ENUM_CONTEXT 0x00000004 + +#define WNNC_START 0x0000000c +#define WNNC_WAIT_FOR_START 0x00000001 + +typedef DWORD (APIENTRY *PF_NPGetCaps)(DWORD ndex); + +/* get user */ +typedef DWORD (APIENTRY *PF_NPGetUser)(LPWSTR lpName, LPWSTR lpUserName, + LPDWORD lpnBufferLen); + +/* enumeration-related */ +typedef DWORD (APIENTRY *PF_NPOpenEnum)(DWORD dwScope, DWORD dwType, DWORD dwUsage, + LPNETRESOURCEW lpNetResource, LPHANDLE lphEnum); +typedef DWORD (APIENTRY *PF_NPEnumResource)(HANDLE hEnum, LPDWORD lpcCount, + LPVOID lpBuffer, LPDWORD lpBufferSize); +typedef DWORD (APIENTRY *PF_NPCloseEnum)(HANDLE hEnum); +typedef DWORD (APIENTRY *PF_NPGetResourceInformation)(LPNETRESOURCEW lpNetResource, + LPVOID lpBuffer, LPDWORD lpcbBuffer, LPWSTR* lplpSystem); + +/* connection-related */ +typedef DWORD (APIENTRY *PF_NPAddConnection)(LPNETRESOURCEW lpNetResource, + LPWSTR lpPassword, LPWSTR lpUserName); +typedef DWORD (APIENTRY *PF_NPAddConnection3)(HWND hwndOwner, + LPNETRESOURCEW lpNetResource, LPWSTR lpPassword, LPWSTR lpUserName, + DWORD dwFlags); +typedef DWORD (APIENTRY *PF_NPCancelConnection)(LPWSTR lpName, BOOL fForce); +typedef DWORD (APIENTRY *PF_NPGetConnection)(LPWSTR lpLocalName, + LPWSTR lpRemoteName, LPDWORD lpnBufferLen); + +/* network name manipulation */ +typedef DWORD (APIENTRY *PF_NPGetUniversalName)(LPWSTR lpLocalPath, + DWORD dwInfoLevel, LPVOID lpBuffer, LPDWORD lpnBufferSize); +typedef DWORD (APIENTRY *PF_NPFormatNetworkName)(LPWSTR lpRemoteName, + LPWSTR lpFormattedName, LPDWORD lpnLength, DWORD dwFlags, + DWORD dwAveCharPerLine); + +/* dialogs */ +typedef DWORD (APIENTRY *PF_NPDeviceMode)(HWND hParent); + +/* search dialog */ +#define WNSRCH_REFRESH_FIRST_LEVEL 0x00000001 + +typedef DWORD (APIENTRY *PF_NPSearchDialog)(HWND hwndParent, + LPNETRESOURCEW lpNetResource, LPVOID lpBuffer, DWORD cbBuffer, + LPDWORD lpnFlags); + +/* property dialog */ + +#define WNTYPE_DRIVE 1 +#define WNTYPE_FILE 2 +#define WNTYPE_PRINTER 3 +#define WNTYPE_COMM 4 + +#define WNPS_FILE 0 +#define WNPS_DIR 1 +#define WNPS_MULT 2 + +typedef DWORD (APIENTRY *PF_NPGetPropertyText)(DWORD iButton, DWORD nPropSel, + LPWSTR lpName, LPWSTR lpButtonName, DWORD nButtonNameLen, DWORD nType); + +typedef DWORD (APIENTRY *PF_NPPropertyDialog)(HWND hwndParent, DWORD iButtonDlg, + DWORD nPropSel, LPWSTR lpFileName, DWORD nType); + +/* admin */ +#define WNDT_NORMAL 0 +#define WNDT_NETWORK 1 + +#define WNDN_MKDIR 1 +#define WNDN_RMDIR 2 +#define WNDN_MVDIR 3 + +typedef DWORD (APIENTRY *PF_NPGetDirectoryType)(LPWSTR lpName, LPINT lpType, + BOOL bFlushCache); +typedef DWORD (APIENTRY *PF_NPDirectoryNotify)(HWND hwnd, LPWSTR lpDir, + DWORD dwOper); + +/* permission editor dialogs */ +#define WNPERMC_PERM 0x00000001 +#define WNPERMC_AUDIT 0x00000002 +#define WNPERMC_OWNER 0x00000004 + +typedef DWORD (APIENTRY *PF_NPFMXGetPermCaps)(LPWSTR lpDriveName); + +#define WNPERM_DLG_PERM 0 +#define WNPERM_DLG_AUDIT 1 +#define WNPERM_DLG_OWNER 2 + +typedef DWORD (APIENTRY *PF_NPFMXEditPerm)(LPWSTR lpDriveName, HWND hwndFMX, + DWORD nDialogType); + +typedef DWORD (APIENTRY *PF_NPFMXGetPermHelp)(LPWSTR lpDriveName, + DWORD nDialogType, BOOL fDirectory, LPVOID lpFileNameBuffer, + LPDWORD lpBufferSize, LPDWORD lpnHelpContext); + +VOID WINAPI WNetSetLastErrorA(DWORD err, LPSTR lpError, LPSTR lpProviders); +VOID WINAPI WNetSetLastErrorW(DWORD err, LPWSTR lpError, LPWSTR lpProviders); +#define WNetSetLastError WINELIB_NAME_AW(WNetSetLastError) + +/* provider classes */ +#define WN_NETWORK_CLASS 0x00000001 +#define WN_CREDENTIAL_CLASS 0x00000002 +#define WN_PRIMARY_AUTHENT_CLASS 0x00000004 +#define WN_SERVICE_CLASS 0x00000008 + +#define WN_VALID_LOGON_ACCOUNT 0x00000001 +#define WN_NT_PASSWORD_CHANGED 0x00000002 + +/* notifications */ +typedef DWORD (APIENTRY *PF_NPLogonNotify)(PLUID lpLogonId, + LPCWSTR lpAuthentInfoType, LPVOID lpAuthentInfo, + LPCWSTR lpPreviousAuthentInfoType, LPVOID lpPreviousAuthentInfo, + LPWSTR lpStationName, LPVOID StationHandle, LPWSTR *lpLogonScript); +typedef DWORD (APIENTRY *PF_NPPasswordChangeNotify)(LPCWSTR lpAuthentInfoType, + LPVOID lpAuthentInfo, LPCWSTR lpPreviousAuthentInfoType, + LPVOID lpPreviousAuthentInfo, LPWSTR lpStationName, LPVOID StationHandle, + DWORD dwChangeInfo); + +#define NOTIFY_PRE 0x00000001 +#define NOTIFY_POST 0x00000002 + +typedef struct _NOTIFYINFO +{ + DWORD dwNotifyStatus; + DWORD dwOperationStatus; + LPVOID lpContext; +} NOTIFYINFO, *LPNOTIFYINFO; + +/* FIXME: NetResource is declared as a NETRESOURCE in psdk, not a NETRESOURCEW, + * but how can the type change in a service provider? Defaulting to wide-char + * for consistency with the rest of the api. + */ +typedef struct _NOTIFYADD +{ + HWND hwndOwner; + NETRESOURCEW NetResource; + DWORD dwAddFlags; +} NOTIFYADD, *LPNOTIFYADD; + +/* FIXME: lpName and lpProvider are declared as LPTSTRs in psdk, but again + * for consistency with rest of api defaulting to LPWSTRs. + */ +typedef struct _NOTIFYCANCEL +{ + LPWSTR lpName; + LPWSTR lpProvider; + DWORD dwFlags; + BOOL fForce; +} NOTIFYCANCEL, *LPNOTIFYCANCEL; + +typedef DWORD (APIENTRY *PF_AddConnectNotify)(LPNOTIFYINFO lpNotifyInfo, + LPNOTIFYADD lpAddInfo); +typedef DWORD (APIENTRY *PF_CancelConnectNotify)(LPNOTIFYINFO lpNotifyInfo, + LPNOTIFYADD lpAddInfo); + +#ifdef __cplusplus +} +#endif + +#endif /* ndef __WINE_NPAPI_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nserror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nserror.h new file mode 100644 index 0000000..00f267d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nserror.h @@ -0,0 +1,1266 @@ +/* + * Copyright (C) 2017 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NSERROR_H +#define _NSERROR_H + +/* Facility codes */ +#define FACILITY_NS_WIN32 0x7 +#define FACILITY_NS 0xD + +/* Severity codes */ +#define STATUS_SEVERITY_WARNING 0x2 +#define STATUS_SEVERITY_SUCCESS 0x0 +#define STATUS_SEVERITY_INFORMATIONAL 0x1 +#define STATUS_SEVERITY_ERROR 0x3 + +/* Success events */ +#define NS_S_CALLPENDING _HRESULT_TYPEDEF_(0x000d0000) +#define NS_S_CALLABORTED _HRESULT_TYPEDEF_(0x000d0001) +#define NS_S_STREAM_TRUNCATED _HRESULT_TYPEDEF_(0x000d0002) + +/* Warning events */ +#define NS_W_SERVER_BANDWIDTH_LIMIT _HRESULT_TYPEDEF_(0x800d0003) +#define NS_W_FILE_BANDWIDTH_LIMIT _HRESULT_TYPEDEF_(0x800d0004) + +/* Error events */ +#define NS_E_NOCONNECTION _HRESULT_TYPEDEF_(0xc00d0005) +#define NS_E_CANNOTCONNECT _HRESULT_TYPEDEF_(0xc00d0006) +#define NS_E_CANNOTDESTROYTITLE _HRESULT_TYPEDEF_(0xc00d0007) +#define NS_E_CANNOTRENAMETITLE _HRESULT_TYPEDEF_(0xc00d0008) +#define NS_E_CANNOTOFFLINEDISK _HRESULT_TYPEDEF_(0xc00d0009) +#define NS_E_CANNOTONLINEDISK _HRESULT_TYPEDEF_(0xc00d000a) +#define NS_E_NOREGISTEREDWALKER _HRESULT_TYPEDEF_(0xc00d000b) +#define NS_E_NOFUNNEL _HRESULT_TYPEDEF_(0xc00d000c) +#define NS_E_NO_LOCALPLAY _HRESULT_TYPEDEF_(0xc00d000d) +#define NS_E_NETWORK_BUSY _HRESULT_TYPEDEF_(0xc00d000e) +#define NS_E_TOO_MANY_SESS _HRESULT_TYPEDEF_(0xc00d000f) +#define NS_E_ALREADY_CONNECTED _HRESULT_TYPEDEF_(0xc00d0010) +#define NS_E_INVALID_INDEX _HRESULT_TYPEDEF_(0xc00d0011) +#define NS_E_PROTOCOL_MISMATCH _HRESULT_TYPEDEF_(0xc00d0012) +#define NS_E_TIMEOUT _HRESULT_TYPEDEF_(0xc00d0013) +#define NS_E_NET_WRITE _HRESULT_TYPEDEF_(0xc00d0014) +#define NS_E_NET_READ _HRESULT_TYPEDEF_(0xc00d0015) +#define NS_E_DISK_WRITE _HRESULT_TYPEDEF_(0xc00d0016) +#define NS_E_DISK_READ _HRESULT_TYPEDEF_(0xc00d0017) +#define NS_E_FILE_WRITE _HRESULT_TYPEDEF_(0xc00d0018) +#define NS_E_FILE_READ _HRESULT_TYPEDEF_(0xc00d0019) +#define NS_E_FILE_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d001a) +#define NS_E_FILE_EXISTS _HRESULT_TYPEDEF_(0xc00d001b) +#define NS_E_INVALID_NAME _HRESULT_TYPEDEF_(0xc00d001c) +#define NS_E_FILE_OPEN_FAILED _HRESULT_TYPEDEF_(0xc00d001d) +#define NS_E_FILE_ALLOCATION_FAILED _HRESULT_TYPEDEF_(0xc00d001e) +#define NS_E_FILE_INIT_FAILED _HRESULT_TYPEDEF_(0xc00d001f) +#define NS_E_FILE_PLAY_FAILED _HRESULT_TYPEDEF_(0xc00d0020) +#define NS_E_SET_DISK_UID_FAILED _HRESULT_TYPEDEF_(0xc00d0021) +#define NS_E_INDUCED _HRESULT_TYPEDEF_(0xc00d0022) +#define NS_E_CCLINK_DOWN _HRESULT_TYPEDEF_(0xc00d0023) +#define NS_E_INTERNAL _HRESULT_TYPEDEF_(0xc00d0024) +#define NS_E_BUSY _HRESULT_TYPEDEF_(0xc00d0025) +#define NS_E_UNRECOGNIZED_STREAM_TYPE _HRESULT_TYPEDEF_(0xc00d0026) +#define NS_E_NETWORK_SERVICE_FAILURE _HRESULT_TYPEDEF_(0xc00d0027) +#define NS_E_NETWORK_RESOURCE_FAILURE _HRESULT_TYPEDEF_(0xc00d0028) +#define NS_E_CONNECTION_FAILURE _HRESULT_TYPEDEF_(0xc00d0029) +#define NS_E_SHUTDOWN _HRESULT_TYPEDEF_(0xc00d002a) +#define NS_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0xc00d002b) +#define NS_E_INSUFFICIENT_BANDWIDTH _HRESULT_TYPEDEF_(0xc00d002c) +#define NS_E_NOT_REBUILDING _HRESULT_TYPEDEF_(0xc00d002d) +#define NS_E_LATE_OPERATION _HRESULT_TYPEDEF_(0xc00d002e) +#define NS_E_INVALID_DATA _HRESULT_TYPEDEF_(0xc00d002f) +#define NS_E_FILE_BANDWIDTH_LIMIT _HRESULT_TYPEDEF_(0xc00d0030) +#define NS_E_OPEN_FILE_LIMIT _HRESULT_TYPEDEF_(0xc00d0031) +#define NS_E_BAD_CONTROL_DATA _HRESULT_TYPEDEF_(0xc00d0032) +#define NS_E_NO_STREAM _HRESULT_TYPEDEF_(0xc00d0033) +#define NS_E_STREAM_END _HRESULT_TYPEDEF_(0xc00d0034) +#define NS_E_SERVER_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d0035) +#define NS_E_DUPLICATE_NAME _HRESULT_TYPEDEF_(0xc00d0036) +#define NS_E_DUPLICATE_ADDRESS _HRESULT_TYPEDEF_(0xc00d0037) +#define NS_E_BAD_MULTICAST_ADDRESS _HRESULT_TYPEDEF_(0xc00d0038) +#define NS_E_BAD_ADAPTER_ADDRESS _HRESULT_TYPEDEF_(0xc00d0039) +#define NS_E_BAD_DELIVERY_MODE _HRESULT_TYPEDEF_(0xc00d003a) +#define NS_E_INVALID_CHANNEL _HRESULT_TYPEDEF_(0xc00d003b) +#define NS_E_INVALID_STREAM _HRESULT_TYPEDEF_(0xc00d003c) +#define NS_E_INVALID_ARCHIVE _HRESULT_TYPEDEF_(0xc00d003d) +#define NS_E_NOTITLES _HRESULT_TYPEDEF_(0xc00d003e) +#define NS_E_INVALID_CLIENT _HRESULT_TYPEDEF_(0xc00d003f) +#define NS_E_INVALID_BLACKHOLE_ADDRESS _HRESULT_TYPEDEF_(0xc00d0040) +#define NS_E_INCOMPATIBLE_FORMAT _HRESULT_TYPEDEF_(0xc00d0041) +#define NS_E_INVALID_KEY _HRESULT_TYPEDEF_(0xc00d0042) +#define NS_E_INVALID_PORT _HRESULT_TYPEDEF_(0xc00d0043) +#define NS_E_INVALID_TTL _HRESULT_TYPEDEF_(0xc00d0044) +#define NS_E_STRIDE_REFUSED _HRESULT_TYPEDEF_(0xc00d0045) +#define NS_E_MMSAUTOSERVER_CANTFINDWALKER _HRESULT_TYPEDEF_(0xc00d0046) +#define NS_E_MAX_BITRATE _HRESULT_TYPEDEF_(0xc00d0047) +#define NS_E_LOGFILEPERIOD _HRESULT_TYPEDEF_(0xc00d0048) +#define NS_E_MAX_CLIENTS _HRESULT_TYPEDEF_(0xc00d0049) +#define NS_E_LOG_FILE_SIZE _HRESULT_TYPEDEF_(0xc00d004a) +#define NS_E_MAX_FILERATE _HRESULT_TYPEDEF_(0xc00d004b) +#define NS_E_WALKER_UNKNOWN _HRESULT_TYPEDEF_(0xc00d004c) +#define NS_E_WALKER_SERVER _HRESULT_TYPEDEF_(0xc00d004d) +#define NS_E_WALKER_USAGE _HRESULT_TYPEDEF_(0xc00d004e) + +/* Monitor events */ +#define NS_I_TIGER_START _HRESULT_TYPEDEF_(0x400d004f) +#define NS_E_TIGER_FAIL _HRESULT_TYPEDEF_(0xc00d0050) +#define NS_I_CUB_START _HRESULT_TYPEDEF_(0x400d0051) +#define NS_I_CUB_RUNNING _HRESULT_TYPEDEF_(0x400d0052) +#define NS_E_CUB_FAIL _HRESULT_TYPEDEF_(0xc00d0053) +#define NS_I_DISK_START _HRESULT_TYPEDEF_(0x400d0054) +#define NS_E_DISK_FAIL _HRESULT_TYPEDEF_(0xc00d0055) +#define NS_I_DISK_REBUILD_STARTED _HRESULT_TYPEDEF_(0x400d0056) +#define NS_I_DISK_REBUILD_FINISHED _HRESULT_TYPEDEF_(0x400d0057) +#define NS_I_DISK_REBUILD_ABORTED _HRESULT_TYPEDEF_(0x400d0058) +#define NS_I_LIMIT_FUNNELS _HRESULT_TYPEDEF_(0x400d0059) +#define NS_I_START_DISK _HRESULT_TYPEDEF_(0x400d005a) +#define NS_I_STOP_DISK _HRESULT_TYPEDEF_(0x400d005b) +#define NS_I_STOP_CUB _HRESULT_TYPEDEF_(0x400d005c) +#define NS_I_KILL_USERSESSION _HRESULT_TYPEDEF_(0x400d005d) +#define NS_I_KILL_CONNECTION _HRESULT_TYPEDEF_(0x400d005e) +#define NS_I_REBUILD_DISK _HRESULT_TYPEDEF_(0x400d005f) +#define NS_W_UNKNOWN_EVENT _HRESULT_TYPEDEF_(0x800d0060) +#define NS_E_MAX_FUNNELS_ALERT _HRESULT_TYPEDEF_(0xc00d0060) +#define NS_E_ALLOCATE_FILE_FAIL _HRESULT_TYPEDEF_(0xc00d0061) +#define NS_E_PAGING_ERROR _HRESULT_TYPEDEF_(0xc00d0062) +#define NS_E_BAD_BLOCK0_VERSION _HRESULT_TYPEDEF_(0xc00d0063) +#define NS_E_BAD_DISK_UID _HRESULT_TYPEDEF_(0xc00d0064) +#define NS_E_BAD_FSMAJOR_VERSION _HRESULT_TYPEDEF_(0xc00d0065) +#define NS_E_BAD_STAMPNUMBER _HRESULT_TYPEDEF_(0xc00d0066) +#define NS_E_PARTIALLY_REBUILT_DISK _HRESULT_TYPEDEF_(0xc00d0067) +#define NS_E_ENACTPLAN_GIVEUP _HRESULT_TYPEDEF_(0xc00d0068) +#define MCMADM_I_NO_EVENTS _HRESULT_TYPEDEF_(0x400d0069) +#define MCMADM_E_REGKEY_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d006a) +#define NS_E_NO_FORMATS _HRESULT_TYPEDEF_(0xc00d006b) +#define NS_E_NO_REFERENCES _HRESULT_TYPEDEF_(0xc00d006c) +#define NS_E_WAVE_OPEN _HRESULT_TYPEDEF_(0xc00d006d) +#define NS_I_LOGGING_FAILED _HRESULT_TYPEDEF_(0x400d006e) +#define NS_E_CANNOTCONNECTEVENTS _HRESULT_TYPEDEF_(0xc00d006f) +#define NS_I_LIMIT_BANDWIDTH _HRESULT_TYPEDEF_(0x400d0070) +#define NS_E_NO_DEVICE _HRESULT_TYPEDEF_(0xc00d0071) +#define NS_E_NO_SPECIFIED_DEVICE _HRESULT_TYPEDEF_(0xc00d0072) +#define NS_E_NOTHING_TO_DO _HRESULT_TYPEDEF_(0xc00d07f1) +#define NS_E_NO_MULTICAST _HRESULT_TYPEDEF_(0xc00d07f2) + +/* Error events */ +#define NS_E_MONITOR_GIVEUP _HRESULT_TYPEDEF_(0xc00d00c8) +#define NS_E_REMIRRORED_DISK _HRESULT_TYPEDEF_(0xc00d00c9) +#define NS_E_INSUFFICIENT_DATA _HRESULT_TYPEDEF_(0xc00d00ca) +#define NS_E_ASSERT _HRESULT_TYPEDEF_(0xc00d00cb) +#define NS_E_BAD_ADAPTER_NAME _HRESULT_TYPEDEF_(0xc00d00cc) +#define NS_E_NOT_LICENSED _HRESULT_TYPEDEF_(0xc00d00cd) +#define NS_E_NO_SERVER_CONTACT _HRESULT_TYPEDEF_(0xc00d00ce) +#define NS_E_TOO_MANY_TITLES _HRESULT_TYPEDEF_(0xc00d00cf) +#define NS_E_TITLE_SIZE_EXCEEDED _HRESULT_TYPEDEF_(0xc00d00d0) +#define NS_E_UDP_DISABLED _HRESULT_TYPEDEF_(0xc00d00d1) +#define NS_E_TCP_DISABLED _HRESULT_TYPEDEF_(0xc00d00d2) +#define NS_E_HTTP_DISABLED _HRESULT_TYPEDEF_(0xc00d00d3) +#define NS_E_LICENSE_EXPIRED _HRESULT_TYPEDEF_(0xc00d00d4) +#define NS_E_TITLE_BITRATE _HRESULT_TYPEDEF_(0xc00d00d5) +#define NS_E_EMPTY_PROGRAM_NAME _HRESULT_TYPEDEF_(0xc00d00d6) +#define NS_E_MISSING_CHANNEL _HRESULT_TYPEDEF_(0xc00d00d7) +#define NS_E_NO_CHANNELS _HRESULT_TYPEDEF_(0xc00d00d8) +#define NS_E_INVALID_INDEX2 _HRESULT_TYPEDEF_(0xc00d00d9) + +/* (More) error events */ +#define NS_E_CUB_FAIL_LINK _HRESULT_TYPEDEF_(0xc00d0190) +#define NS_I_CUB_UNFAIL_LINK _HRESULT_TYPEDEF_(0x400d0191) +#define NS_E_BAD_CUB_UID _HRESULT_TYPEDEF_(0xc00d0192) +#define NS_I_RESTRIPE_START _HRESULT_TYPEDEF_(0x400d0193) +#define NS_I_RESTRIPE_DONE _HRESULT_TYPEDEF_(0x400d0194) +#define NS_E_GLITCH_MODE _HRESULT_TYPEDEF_(0xc00d0195) +#define NS_I_RESTRIPE_DISK_OUT _HRESULT_TYPEDEF_(0x400d0196) +#define NS_I_RESTRIPE_CUB_OUT _HRESULT_TYPEDEF_(0x400d0197) +#define NS_I_DISK_STOP _HRESULT_TYPEDEF_(0x400d0198) +#define NS_I_CATATONIC_FAILURE _HRESULT_TYPEDEF_(0x800d0199) +#define NS_I_CATATONIC_AUTO_UNFAIL _HRESULT_TYPEDEF_(0x800d019a) +#define NS_E_NO_MEDIA_PROTOCOL _HRESULT_TYPEDEF_(0xc00d019b) + +/* WMSDK errors */ +#define NS_E_INVALID_INPUT_FORMAT _HRESULT_TYPEDEF_(0xc00d0bb8) +#define NS_E_MSAUDIO_NOT_INSTALLED _HRESULT_TYPEDEF_(0xc00d0bb9) +#define NS_E_UNEXPECTED_MSAUDIO_ERROR _HRESULT_TYPEDEF_(0xc00d0bba) +#define NS_E_INVALID_OUTPUT_FORMAT _HRESULT_TYPEDEF_(0xc00d0bbb) +#define NS_E_NOT_CONFIGURED _HRESULT_TYPEDEF_(0xc00d0bbc) +#define NS_E_PROTECTED_CONTENT _HRESULT_TYPEDEF_(0xc00d0bbd) +#define NS_E_LICENSE_REQUIRED _HRESULT_TYPEDEF_(0xc00d0bbe) +#define NS_E_TAMPERED_CONTENT _HRESULT_TYPEDEF_(0xc00d0bbf) +#define NS_E_LICENSE_OUTOFDATE _HRESULT_TYPEDEF_(0xc00d0bc0) +#define NS_E_LICENSE_INCORRECT_RIGHTS _HRESULT_TYPEDEF_(0xc00d0bc1) +#define NS_E_AUDIO_CODEC_NOT_INSTALLED _HRESULT_TYPEDEF_(0xc00d0bc2) +#define NS_E_AUDIO_CODEC_ERROR _HRESULT_TYPEDEF_(0xc00d0bc3) +#define NS_E_VIDEO_CODEC_NOT_INSTALLED _HRESULT_TYPEDEF_(0xc00d0bc4) +#define NS_E_VIDEO_CODEC_ERROR _HRESULT_TYPEDEF_(0xc00d0bc5) +#define NS_E_INVALIDPROFILE _HRESULT_TYPEDEF_(0xc00d0bc6) +#define NS_E_INCOMPATIBLE_VERSION _HRESULT_TYPEDEF_(0xc00d0bc7) +#define NS_S_REBUFFERING _HRESULT_TYPEDEF_(0x000d0bc8) +#define NS_S_DEGRADING_QUALITY _HRESULT_TYPEDEF_(0x000d0bc9) +#define NS_E_OFFLINE_MODE _HRESULT_TYPEDEF_(0xc00d0bca) +#define NS_E_NOT_CONNECTED _HRESULT_TYPEDEF_(0xc00d0bcb) +#define NS_E_TOO_MUCH_DATA _HRESULT_TYPEDEF_(0xc00d0bcc) +#define NS_E_UNSUPPORTED_PROPERTY _HRESULT_TYPEDEF_(0xc00d0bcd) +#define NS_E_8BIT_WAVE_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d0bce) +#define NS_E_NO_MORE_SAMPLES _HRESULT_TYPEDEF_(0xc00d0bcf) +#define NS_E_INVALID_SAMPLING_RATE _HRESULT_TYPEDEF_(0xc00d0bd0) +#define NS_E_MAX_PACKET_SIZE_TOO_SMALL _HRESULT_TYPEDEF_(0xc00d0bd1) +#define NS_E_LATE_PACKET _HRESULT_TYPEDEF_(0xc00d0bd2) +#define NS_E_DUPLICATE_PACKET _HRESULT_TYPEDEF_(0xc00d0bd3) +#define NS_E_SDK_BUFFERTOOSMALL _HRESULT_TYPEDEF_(0xc00d0bd4) +#define NS_E_INVALID_NUM_PASSES _HRESULT_TYPEDEF_(0xc00d0bd5) +#define NS_E_ATTRIBUTE_READ_ONLY _HRESULT_TYPEDEF_(0xc00d0bd6) +#define NS_E_ATTRIBUTE_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d0bd7) +#define NS_E_INVALID_EDL _HRESULT_TYPEDEF_(0xc00d0bd8) +#define NS_E_DATA_UNIT_EXTENSION_TOO_LARGE _HRESULT_TYPEDEF_(0xc00d0bd9) +#define NS_E_CODEC_DMO_ERROR _HRESULT_TYPEDEF_(0xc00d0bda) +#define NS_S_TRANSCRYPTOR_EOF _HRESULT_TYPEDEF_(0x000d0bdb) +#define NS_E_FEATURE_DISABLED_BY_GROUP_POLICY _HRESULT_TYPEDEF_(0xc00d0bdc) +#define NS_E_FEATURE_DISABLED_IN_SKU _HRESULT_TYPEDEF_(0xc00d0bdd) + +/* WMP errors */ +#define NS_E_NO_CD _HRESULT_TYPEDEF_(0xc00d0fa0) +#define NS_E_CANT_READ_DIGITAL _HRESULT_TYPEDEF_(0xc00d0fa1) +#define NS_E_DEVICE_DISCONNECTED _HRESULT_TYPEDEF_(0xc00d0fa2) +#define NS_E_DEVICE_NOT_SUPPORT_FORMAT _HRESULT_TYPEDEF_(0xc00d0fa3) +#define NS_E_SLOW_READ_DIGITAL _HRESULT_TYPEDEF_(0xc00d0fa4) +#define NS_E_MIXER_INVALID_LINE _HRESULT_TYPEDEF_(0xc00d0fa5) +#define NS_E_MIXER_INVALID_CONTROL _HRESULT_TYPEDEF_(0xc00d0fa6) +#define NS_E_MIXER_INVALID_VALUE _HRESULT_TYPEDEF_(0xc00d0fa7) +#define NS_E_MIXER_UNKNOWN_MMRESULT _HRESULT_TYPEDEF_(0xc00d0fa8) +#define NS_E_USER_STOP _HRESULT_TYPEDEF_(0xc00d0fa9) +#define NS_E_MP3_FORMAT_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d0faa) +#define NS_E_CD_READ_ERROR_NO_CORRECTION _HRESULT_TYPEDEF_(0xc00d0fab) +#define NS_E_CD_READ_ERROR _HRESULT_TYPEDEF_(0xc00d0fac) +#define NS_E_CD_SLOW_COPY _HRESULT_TYPEDEF_(0xc00d0fad) +#define NS_E_CD_COPYTO_CD _HRESULT_TYPEDEF_(0xc00d0fae) +#define NS_E_MIXER_NODRIVER _HRESULT_TYPEDEF_(0xc00d0faf) +#define NS_E_REDBOOK_ENABLED_WHILE_COPYING _HRESULT_TYPEDEF_(0xc00d0fb0) +#define NS_E_CD_REFRESH _HRESULT_TYPEDEF_(0xc00d0fb1) +#define NS_E_CD_DRIVER_PROBLEM _HRESULT_TYPEDEF_(0xc00d0fb2) +#define NS_E_WONT_DO_DIGITAL _HRESULT_TYPEDEF_(0xc00d0fb3) +#define NS_E_WMPXML_NOERROR _HRESULT_TYPEDEF_(0xc00d0fb4) +#define NS_E_WMPXML_ENDOFDATA _HRESULT_TYPEDEF_(0xc00d0fb5) +#define NS_E_WMPXML_PARSEERROR _HRESULT_TYPEDEF_(0xc00d0fb6) +#define NS_E_WMPXML_ATTRIBUTENOTFOUND _HRESULT_TYPEDEF_(0xc00d0fb7) +#define NS_E_WMPXML_PINOTFOUND _HRESULT_TYPEDEF_(0xc00d0fb8) +#define NS_E_WMPXML_EMPTYDOC _HRESULT_TYPEDEF_(0xc00d0fb9) +#define NS_E_WMP_PATH_ALREADY_IN_LIBRARY _HRESULT_TYPEDEF_(0xc00d0fba) +#define NS_E_WMP_FILESCANALREADYSTARTED _HRESULT_TYPEDEF_(0xc00d0fbe) +#define NS_E_WMP_HME_INVALIDOBJECTID _HRESULT_TYPEDEF_(0xc00d0fbf) +#define NS_E_WMP_MF_CODE_EXPIRED _HRESULT_TYPEDEF_(0xc00d0fc0) +#define NS_E_WMP_HME_NOTSEARCHABLEFORITEMS _HRESULT_TYPEDEF_(0xc00d0fc1) +#define NS_E_WMP_HME_STALEREQUEST _HRESULT_TYPEDEF_(0xc00d0fc2) +#define NS_E_WMP_ADDTOLIBRARY_FAILED _HRESULT_TYPEDEF_(0xc00d0fc7) +#define NS_E_WMP_WINDOWSAPIFAILURE _HRESULT_TYPEDEF_(0xc00d0fc8) +#define NS_E_WMP_RECORDING_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d0fc9) +#define NS_E_DEVICE_NOT_READY _HRESULT_TYPEDEF_(0xc00d0fca) +#define NS_E_DAMAGED_FILE _HRESULT_TYPEDEF_(0xc00d0fcb) +#define NS_E_MPDB_GENERIC _HRESULT_TYPEDEF_(0xc00d0fcc) +#define NS_E_FILE_FAILED_CHECKS _HRESULT_TYPEDEF_(0xc00d0fcd) +#define NS_E_MEDIA_LIBRARY_FAILED _HRESULT_TYPEDEF_(0xc00d0fce) +#define NS_E_SHARING_VIOLATION _HRESULT_TYPEDEF_(0xc00d0fcf) +#define NS_E_NO_ERROR_STRING_FOUND _HRESULT_TYPEDEF_(0xc00d0fd0) +#define NS_E_WMPOCX_NO_REMOTE_CORE _HRESULT_TYPEDEF_(0xc00d0fd1) +#define NS_E_WMPOCX_NO_ACTIVE_CORE _HRESULT_TYPEDEF_(0xc00d0fd2) +#define NS_E_WMPOCX_NOT_RUNNING_REMOTELY _HRESULT_TYPEDEF_(0xc00d0fd3) +#define NS_E_WMPOCX_NO_REMOTE_WINDOW _HRESULT_TYPEDEF_(0xc00d0fd4) +#define NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE _HRESULT_TYPEDEF_(0xc00d0fd5) +#define NS_E_PLUGIN_NOTSHUTDOWN _HRESULT_TYPEDEF_(0xc00d0fd6) +#define NS_E_WMP_CANNOT_FIND_FOLDER _HRESULT_TYPEDEF_(0xc00d0fd7) +#define NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d0fd8) +#define NS_E_WMP_PLUGINDLL_NOTFOUND _HRESULT_TYPEDEF_(0xc00d0fd9) +#define NS_E_NEED_TO_ASK_USER _HRESULT_TYPEDEF_(0xc00d0fda) +#define NS_E_WMPOCX_PLAYER_NOT_DOCKED _HRESULT_TYPEDEF_(0xc00d0fdb) +#define NS_E_WMP_EXTERNAL_NOTREADY _HRESULT_TYPEDEF_(0xc00d0fdc) +#define NS_E_WMP_MLS_STALE_DATA _HRESULT_TYPEDEF_(0xc00d0fdd) +#define NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED _HRESULT_TYPEDEF_(0xc00d0fde) +#define NS_E_WMP_UI_VERSIONMISMATCH _HRESULT_TYPEDEF_(0xc00d0fdf) +#define NS_E_WMP_UI_NOTATHEMEFILE _HRESULT_TYPEDEF_(0xc00d0fe0) +#define NS_E_WMP_UI_SUBELEMENTNOTFOUND _HRESULT_TYPEDEF_(0xc00d0fe1) +#define NS_E_WMP_UI_VERSIONPARSE _HRESULT_TYPEDEF_(0xc00d0fe2) +#define NS_E_WMP_UI_VIEWIDNOTFOUND _HRESULT_TYPEDEF_(0xc00d0fe3) +#define NS_E_WMP_UI_PASSTHROUGH _HRESULT_TYPEDEF_(0xc00d0fe4) +#define NS_E_WMP_UI_OBJECTNOTFOUND _HRESULT_TYPEDEF_(0xc00d0fe5) +#define NS_E_WMP_UI_SECONDHANDLER _HRESULT_TYPEDEF_(0xc00d0fe6) +#define NS_E_WMP_UI_NOSKININZIP _HRESULT_TYPEDEF_(0xc00d0fe7) +#define NS_S_WMP_UI_VERSIONMISMATCH _HRESULT_TYPEDEF_(0x000d0fe8) +#define NS_S_WMP_EXCEPTION _HRESULT_TYPEDEF_(0x000d0fe9) +#define NS_E_WMP_URLDOWNLOADFAILED _HRESULT_TYPEDEF_(0xc00d0fea) +#define NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN _HRESULT_TYPEDEF_(0xc00d0feb) +#define NS_E_WMP_INVALID_SKIN _HRESULT_TYPEDEF_(0xc00d0fec) +#define NS_E_WMP_SENDMAILFAILED _HRESULT_TYPEDEF_(0xc00d0fed) +#define NS_E_WMP_LOCKEDINSKINMODE _HRESULT_TYPEDEF_(0xc00d0fee) +#define NS_E_WMP_FAILED_TO_SAVE_FILE _HRESULT_TYPEDEF_(0xc00d0fef) +#define NS_E_WMP_SAVEAS_READONLY _HRESULT_TYPEDEF_(0xc00d0ff0) +#define NS_E_WMP_FAILED_TO_SAVE_PLAYLIST _HRESULT_TYPEDEF_(0xc00d0ff1) +#define NS_E_WMP_FAILED_TO_OPEN_WMD _HRESULT_TYPEDEF_(0xc00d0ff2) +#define NS_E_WMP_CANT_PLAY_PROTECTED _HRESULT_TYPEDEF_(0xc00d0ff3) +#define NS_E_SHARING_STATE_OUT_OF_SYNC _HRESULT_TYPEDEF_(0xc00d0ff4) +#define NS_E_WMPOCX_REMOTE_PLAYER_ALREADY_RUNNING _HRESULT_TYPEDEF_(0xc00d0ffa) +#define NS_E_WMP_RBC_JPGMAPPINGIMAGE _HRESULT_TYPEDEF_(0xc00d1004) +#define NS_E_WMP_JPGTRANSPARENCY _HRESULT_TYPEDEF_(0xc00d1005) +#define NS_E_WMP_INVALID_MAX_VAL _HRESULT_TYPEDEF_(0xc00d1009) +#define NS_E_WMP_INVALID_MIN_VAL _HRESULT_TYPEDEF_(0xc00d100a) +#define NS_E_WMP_CS_JPGPOSITIONIMAGE _HRESULT_TYPEDEF_(0xc00d100e) +#define NS_E_WMP_CS_NOTEVENLYDIVISIBLE _HRESULT_TYPEDEF_(0xc00d100f) +#define NS_E_WMPZIP_NOTAZIPFILE _HRESULT_TYPEDEF_(0xc00d1018) +#define NS_E_WMPZIP_CORRUPT _HRESULT_TYPEDEF_(0xc00d1019) +#define NS_E_WMPZIP_FILENOTFOUND _HRESULT_TYPEDEF_(0xc00d101a) +#define NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d1022) +#define NS_E_WMP_IMAGE_INVALID_FORMAT _HRESULT_TYPEDEF_(0xc00d1023) +#define NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE _HRESULT_TYPEDEF_(0xc00d1024) +#define NS_E_WMP_GIF_INVALID_FORMAT _HRESULT_TYPEDEF_(0xc00d1025) +#define NS_E_WMP_GIF_BAD_VERSION_NUMBER _HRESULT_TYPEDEF_(0xc00d1026) +#define NS_E_WMP_GIF_NO_IMAGE_IN_FILE _HRESULT_TYPEDEF_(0xc00d1027) +#define NS_E_WMP_PNG_INVALIDFORMAT _HRESULT_TYPEDEF_(0xc00d1028) +#define NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH _HRESULT_TYPEDEF_(0xc00d1029) +#define NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION _HRESULT_TYPEDEF_(0xc00d102a) +#define NS_E_WMP_PNG_UNSUPPORTED_FILTER _HRESULT_TYPEDEF_(0xc00d102b) +#define NS_E_WMP_PNG_UNSUPPORTED_INTERLACE _HRESULT_TYPEDEF_(0xc00d102c) +#define NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC _HRESULT_TYPEDEF_(0xc00d102d) +#define NS_E_WMP_BMP_INVALID_BITMASK _HRESULT_TYPEDEF_(0xc00d102e) +#define NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d102f) +#define NS_E_WMP_BMP_BITMAP_NOT_CREATED _HRESULT_TYPEDEF_(0xc00d1030) +#define NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d1031) +#define NS_E_WMP_BMP_INVALID_FORMAT _HRESULT_TYPEDEF_(0xc00d1032) +#define NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL _HRESULT_TYPEDEF_(0xc00d1033) +#define NS_E_WMP_JPG_INVALID_FORMAT _HRESULT_TYPEDEF_(0xc00d1034) +#define NS_E_WMP_JPG_BAD_DCTSIZE _HRESULT_TYPEDEF_(0xc00d1035) +#define NS_E_WMP_JPG_BAD_VERSION_NUMBER _HRESULT_TYPEDEF_(0xc00d1036) +#define NS_E_WMP_JPG_BAD_PRECISION _HRESULT_TYPEDEF_(0xc00d1037) +#define NS_E_WMP_JPG_CCIR601_NOTIMPL _HRESULT_TYPEDEF_(0xc00d1038) +#define NS_E_WMP_JPG_NO_IMAGE_IN_FILE _HRESULT_TYPEDEF_(0xc00d1039) +#define NS_E_WMP_JPG_READ_ERROR _HRESULT_TYPEDEF_(0xc00d103a) +#define NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL _HRESULT_TYPEDEF_(0xc00d103b) +#define NS_E_WMP_JPG_IMAGE_TOO_BIG _HRESULT_TYPEDEF_(0xc00d103c) +#define NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE _HRESULT_TYPEDEF_(0xc00d103d) +#define NS_E_WMP_JPG_SOF_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d103e) +#define NS_E_WMP_JPG_UNKNOWN_MARKER _HRESULT_TYPEDEF_(0xc00d103f) +#define NS_S_WMP_LOADED_GIF_IMAGE _HRESULT_TYPEDEF_(0x000d1040) +#define NS_S_WMP_LOADED_PNG_IMAGE _HRESULT_TYPEDEF_(0x000d1041) +#define NS_S_WMP_LOADED_BMP_IMAGE _HRESULT_TYPEDEF_(0x000d1042) +#define NS_S_WMP_LOADED_JPG_IMAGE _HRESULT_TYPEDEF_(0x000d1043) +#define NS_E_WMP_FAILED_TO_OPEN_IMAGE _HRESULT_TYPEDEF_(0xc00d1044) +#define NS_E_WMP_DAI_SONGTOOSHORT _HRESULT_TYPEDEF_(0xc00d1049) +#define NS_E_WMG_RATEUNAVAILABLE _HRESULT_TYPEDEF_(0xc00d104a) +#define NS_E_WMG_PLUGINUNAVAILABLE _HRESULT_TYPEDEF_(0xc00d104b) +#define NS_E_WMG_CANNOTQUEUE _HRESULT_TYPEDEF_(0xc00d104c) +#define NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED _HRESULT_TYPEDEF_(0xc00d104d) +#define NS_E_WMG_UNEXPECTEDPREROLLSTATUS _HRESULT_TYPEDEF_(0xc00d104e) +#define NS_S_WMG_FORCE_DROP_FRAME _HRESULT_TYPEDEF_(0x000d104f) +#define NS_E_WMG_INVALID_COPP_CERTIFICATE _HRESULT_TYPEDEF_(0xc00d1051) +#define NS_E_WMG_COPP_SECURITY_INVALID _HRESULT_TYPEDEF_(0xc00d1052) +#define NS_E_WMG_COPP_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d1053) +#define NS_E_WMG_INVALIDSTATE _HRESULT_TYPEDEF_(0xc00d1054) +#define NS_E_WMG_SINKALREADYEXISTS _HRESULT_TYPEDEF_(0xc00d1055) +#define NS_E_WMG_NOSDKINTERFACE _HRESULT_TYPEDEF_(0xc00d1056) +#define NS_E_WMG_NOTALLOUTPUTSRENDERED _HRESULT_TYPEDEF_(0xc00d1057) +#define NS_E_WMG_FILETRANSFERNOTALLOWED _HRESULT_TYPEDEF_(0xc00d1058) +#define NS_E_WMR_UNSUPPORTEDSTREAM _HRESULT_TYPEDEF_(0xc00d1059) +#define NS_E_WMR_PINNOTFOUND _HRESULT_TYPEDEF_(0xc00d105a) +#define NS_E_WMR_WAITINGONFORMATSWITCH _HRESULT_TYPEDEF_(0xc00d105b) +#define NS_E_WMR_NOSOURCEFILTER _HRESULT_TYPEDEF_(0xc00d105c) +#define NS_E_WMR_PINTYPENOMATCH _HRESULT_TYPEDEF_(0xc00d105d) +#define NS_E_WMR_NOCALLBACKAVAILABLE _HRESULT_TYPEDEF_(0xc00d105e) +#define NS_S_WMR_ALREADYRENDERED _HRESULT_TYPEDEF_(0x000d105f) +#define NS_S_WMR_PINTYPEPARTIALMATCH _HRESULT_TYPEDEF_(0x000d1060) +#define NS_S_WMR_PINTYPEFULLMATCH _HRESULT_TYPEDEF_(0x000d1061) +#define NS_E_WMR_SAMPLEPROPERTYNOTSET _HRESULT_TYPEDEF_(0xc00d1062) +#define NS_E_WMR_CANNOT_RENDER_BINARY_STREAM _HRESULT_TYPEDEF_(0xc00d1063) +#define NS_E_WMG_LICENSE_TAMPERED _HRESULT_TYPEDEF_(0xc00d1064) +#define NS_E_WMR_WILLNOT_RENDER_BINARY_STREAM _HRESULT_TYPEDEF_(0xc00d1065) +#define NS_S_WMG_ADVISE_DROP_FRAME _HRESULT_TYPEDEF_(0x000d1066) +#define NS_S_WMG_ADVISE_DROP_TO_KEYFRAME _HRESULT_TYPEDEF_(0x000d1067) +#define NS_E_WMX_UNRECOGNIZED_PLAYLIST_FORMAT _HRESULT_TYPEDEF_(0xc00d1068) +#define NS_E_ASX_INVALIDFORMAT _HRESULT_TYPEDEF_(0xc00d1069) +#define NS_E_ASX_INVALIDVERSION _HRESULT_TYPEDEF_(0xc00d106a) +#define NS_E_ASX_INVALID_REPEAT_BLOCK _HRESULT_TYPEDEF_(0xc00d106b) +#define NS_E_ASX_NOTHING_TO_WRITE _HRESULT_TYPEDEF_(0xc00d106c) +#define NS_E_URLLIST_INVALIDFORMAT _HRESULT_TYPEDEF_(0xc00d106d) +#define NS_E_WMX_ATTRIBUTE_DOES_NOT_EXIST _HRESULT_TYPEDEF_(0xc00d106e) +#define NS_E_WMX_ATTRIBUTE_ALREADY_EXISTS _HRESULT_TYPEDEF_(0xc00d106f) +#define NS_E_WMX_ATTRIBUTE_UNRETRIEVABLE _HRESULT_TYPEDEF_(0xc00d1070) +#define NS_E_WMX_ITEM_DOES_NOT_EXIST _HRESULT_TYPEDEF_(0xc00d1071) +#define NS_E_WMX_ITEM_TYPE_ILLEGAL _HRESULT_TYPEDEF_(0xc00d1072) +#define NS_E_WMX_ITEM_UNSETTABLE _HRESULT_TYPEDEF_(0xc00d1073) +#define NS_E_WMX_PLAYLIST_EMPTY _HRESULT_TYPEDEF_(0xc00d1074) +#define NS_E_MLS_SMARTPLAYLIST_FILTER_NOT_REGISTERED _HRESULT_TYPEDEF_(0xc00d1075) +#define NS_E_WMX_INVALID_FORMAT_OVER_NESTING _HRESULT_TYPEDEF_(0xc00d1076) +#define NS_E_WMPCORE_NOSOURCEURLSTRING _HRESULT_TYPEDEF_(0xc00d107c) +#define NS_E_WMPCORE_COCREATEFAILEDFORGITOBJECT _HRESULT_TYPEDEF_(0xc00d107d) +#define NS_E_WMPCORE_FAILEDTOGETMARSHALLEDEVENTHANDLERINTERFACE _HRESULT_TYPEDEF_(0xc00d107e) +#define NS_E_WMPCORE_BUFFERTOOSMALL _HRESULT_TYPEDEF_(0xc00d107f) +#define NS_E_WMPCORE_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d1080) +#define NS_E_WMPCORE_INVALIDPLAYLISTMODE _HRESULT_TYPEDEF_(0xc00d1081) +#define NS_E_WMPCORE_ITEMNOTINPLAYLIST _HRESULT_TYPEDEF_(0xc00d1086) +#define NS_E_WMPCORE_PLAYLISTEMPTY _HRESULT_TYPEDEF_(0xc00d1087) +#define NS_E_WMPCORE_NOBROWSER _HRESULT_TYPEDEF_(0xc00d1088) +#define NS_E_WMPCORE_UNRECOGNIZED_MEDIA_URL _HRESULT_TYPEDEF_(0xc00d1089) +#define NS_E_WMPCORE_GRAPH_NOT_IN_LIST _HRESULT_TYPEDEF_(0xc00d108a) +#define NS_E_WMPCORE_PLAYLIST_EMPTY_OR_SINGLE_MEDIA _HRESULT_TYPEDEF_(0xc00d108b) +#define NS_E_WMPCORE_ERRORSINKNOTREGISTERED _HRESULT_TYPEDEF_(0xc00d108c) +#define NS_E_WMPCORE_ERRORMANAGERNOTAVAILABLE _HRESULT_TYPEDEF_(0xc00d108d) +#define NS_E_WMPCORE_WEBHELPFAILED _HRESULT_TYPEDEF_(0xc00d108e) +#define NS_E_WMPCORE_MEDIA_ERROR_RESUME_FAILED _HRESULT_TYPEDEF_(0xc00d108f) +#define NS_E_WMPCORE_NO_REF_IN_ENTRY _HRESULT_TYPEDEF_(0xc00d1090) +#define NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_EMPTY _HRESULT_TYPEDEF_(0xc00d1091) +#define NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_ILLEGAL _HRESULT_TYPEDEF_(0xc00d1092) +#define NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_EMPTY _HRESULT_TYPEDEF_(0xc00d1093) +#define NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_ILLEGAL _HRESULT_TYPEDEF_(0xc00d1094) +#define NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_EMPTY _HRESULT_TYPEDEF_(0xc00d1095) +#define NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_ILLEGAL _HRESULT_TYPEDEF_(0xc00d1096) +#define NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_VALUE_EMPTY _HRESULT_TYPEDEF_(0xc00d1097) +#define NS_E_WMPCORE_LIST_ENTRY_NO_REF _HRESULT_TYPEDEF_(0xc00d1098) +#define NS_E_WMPCORE_MISNAMED_FILE _HRESULT_TYPEDEF_(0xc00d1099) +#define NS_E_WMPCORE_CODEC_NOT_TRUSTED _HRESULT_TYPEDEF_(0xc00d109a) +#define NS_E_WMPCORE_CODEC_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d109b) +#define NS_E_WMPCORE_CODEC_DOWNLOAD_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d109c) +#define NS_E_WMPCORE_ERROR_DOWNLOADING_PLAYLIST _HRESULT_TYPEDEF_(0xc00d109d) +#define NS_E_WMPCORE_FAILED_TO_BUILD_PLAYLIST _HRESULT_TYPEDEF_(0xc00d109e) +#define NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NONE _HRESULT_TYPEDEF_(0xc00d109f) +#define NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_EXHAUSTED _HRESULT_TYPEDEF_(0xc00d10a0) +#define NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NAME_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d10a1) +#define NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_MORPH_FAILED _HRESULT_TYPEDEF_(0xc00d10a2) +#define NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_INIT_FAILED _HRESULT_TYPEDEF_(0xc00d10a3) +#define NS_E_WMPCORE_MEDIA_ALTERNATE_REF_EMPTY _HRESULT_TYPEDEF_(0xc00d10a4) +#define NS_E_WMPCORE_PLAYLIST_NO_EVENT_NAME _HRESULT_TYPEDEF_(0xc00d10a5) +#define NS_E_WMPCORE_PLAYLIST_EVENT_ATTRIBUTE_ABSENT _HRESULT_TYPEDEF_(0xc00d10a6) +#define NS_E_WMPCORE_PLAYLIST_EVENT_EMPTY _HRESULT_TYPEDEF_(0xc00d10a7) +#define NS_E_WMPCORE_PLAYLIST_STACK_EMPTY _HRESULT_TYPEDEF_(0xc00d10a8) +#define NS_E_WMPCORE_CURRENT_MEDIA_NOT_ACTIVE _HRESULT_TYPEDEF_(0xc00d10a9) +#define NS_E_WMPCORE_USER_CANCEL _HRESULT_TYPEDEF_(0xc00d10ab) +#define NS_E_WMPCORE_PLAYLIST_REPEAT_EMPTY _HRESULT_TYPEDEF_(0xc00d10ac) +#define NS_E_WMPCORE_PLAYLIST_REPEAT_START_MEDIA_NONE _HRESULT_TYPEDEF_(0xc00d10ad) +#define NS_E_WMPCORE_PLAYLIST_REPEAT_END_MEDIA_NONE _HRESULT_TYPEDEF_(0xc00d10ae) +#define NS_E_WMPCORE_INVALID_PLAYLIST_URL _HRESULT_TYPEDEF_(0xc00d10af) +#define NS_E_WMPCORE_MISMATCHED_RUNTIME _HRESULT_TYPEDEF_(0xc00d10b0) +#define NS_E_WMPCORE_PLAYLIST_IMPORT_FAILED_NO_ITEMS _HRESULT_TYPEDEF_(0xc00d10b1) +#define NS_E_WMPCORE_VIDEO_TRANSFORM_FILTER_INSERTION _HRESULT_TYPEDEF_(0xc00d10b2) +#define NS_E_WMPCORE_MEDIA_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d10b3) +#define NS_E_WMPCORE_WMX_ENTRYREF_NO_REF _HRESULT_TYPEDEF_(0xc00d10b4) +#define NS_E_WMPCORE_NO_PLAYABLE_MEDIA_IN_PLAYLIST _HRESULT_TYPEDEF_(0xc00d10b5) +#define NS_E_WMPCORE_PLAYLIST_EMPTY_NESTED_PLAYLIST_SKIPPED_ITEMS _HRESULT_TYPEDEF_(0xc00d10b6) +#define NS_E_WMPCORE_BUSY _HRESULT_TYPEDEF_(0xc00d10b7) +#define NS_E_WMPCORE_MEDIA_CHILD_PLAYLIST_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d10b8) +#define NS_E_WMPCORE_MEDIA_NO_CHILD_PLAYLIST _HRESULT_TYPEDEF_(0xc00d10b9) +#define NS_E_WMPCORE_FILE_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d10ba) +#define NS_E_WMPCORE_TEMP_FILE_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d10bb) +#define NS_E_WMDM_REVOKED _HRESULT_TYPEDEF_(0xc00d10bc) +#define NS_E_DDRAW_GENERIC _HRESULT_TYPEDEF_(0xc00d10bd) +#define NS_E_DISPLAY_MODE_CHANGE_FAILED _HRESULT_TYPEDEF_(0xc00d10be) +#define NS_E_PLAYLIST_CONTAINS_ERRORS _HRESULT_TYPEDEF_(0xc00d10bf) +#define NS_E_CHANGING_PROXY_NAME _HRESULT_TYPEDEF_(0xc00d10c0) +#define NS_E_CHANGING_PROXY_PORT _HRESULT_TYPEDEF_(0xc00d10c1) +#define NS_E_CHANGING_PROXY_EXCEPTIONLIST _HRESULT_TYPEDEF_(0xc00d10c2) +#define NS_E_CHANGING_PROXYBYPASS _HRESULT_TYPEDEF_(0xc00d10c3) +#define NS_E_CHANGING_PROXY_PROTOCOL_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d10c4) +#define NS_E_GRAPH_NOAUDIOLANGUAGE _HRESULT_TYPEDEF_(0xc00d10c5) +#define NS_E_GRAPH_NOAUDIOLANGUAGESELECTED _HRESULT_TYPEDEF_(0xc00d10c6) +#define NS_E_CORECD_NOTAMEDIACD _HRESULT_TYPEDEF_(0xc00d10c7) +#define NS_E_WMPCORE_MEDIA_URL_TOO_LONG _HRESULT_TYPEDEF_(0xc00d10c8) +#define NS_E_WMPFLASH_CANT_FIND_COM_SERVER _HRESULT_TYPEDEF_(0xc00d10c9) +#define NS_E_WMPFLASH_INCOMPATIBLEVERSION _HRESULT_TYPEDEF_(0xc00d10ca) +#define NS_E_WMPOCXGRAPH_IE_DISALLOWS_ACTIVEX_CONTROLS _HRESULT_TYPEDEF_(0xc00d10cb) +#define NS_E_NEED_CORE_REFERENCE _HRESULT_TYPEDEF_(0xc00d10cc) +#define NS_E_MEDIACD_READ_ERROR _HRESULT_TYPEDEF_(0xc00d10cd) +#define NS_E_IE_DISALLOWS_ACTIVEX_CONTROLS _HRESULT_TYPEDEF_(0xc00d10ce) +#define NS_E_FLASH_PLAYBACK_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d10cf) +#define NS_E_UNABLE_TO_CREATE_RIP_LOCATION _HRESULT_TYPEDEF_(0xc00d10d0) +#define NS_E_WMPCORE_SOME_CODECS_MISSING _HRESULT_TYPEDEF_(0xc00d10d1) +#define NS_E_WMP_RIP_FAILED _HRESULT_TYPEDEF_(0xc00d10d2) +#define NS_E_WMP_FAILED_TO_RIP_TRACK _HRESULT_TYPEDEF_(0xc00d10d3) +#define NS_E_WMP_ERASE_FAILED _HRESULT_TYPEDEF_(0xc00d10d4) +#define NS_E_WMP_FORMAT_FAILED _HRESULT_TYPEDEF_(0xc00d10d5) +#define NS_E_WMP_CANNOT_BURN_NON_LOCAL_FILE _HRESULT_TYPEDEF_(0xc00d10d6) +#define NS_E_WMP_FILE_TYPE_CANNOT_BURN_TO_AUDIO_CD _HRESULT_TYPEDEF_(0xc00d10d7) +#define NS_E_WMP_FILE_DOES_NOT_FIT_ON_CD _HRESULT_TYPEDEF_(0xc00d10d8) +#define NS_E_WMP_FILE_NO_DURATION _HRESULT_TYPEDEF_(0xc00d10d9) +#define NS_E_PDA_FAILED_TO_BURN _HRESULT_TYPEDEF_(0xc00d10da) +#define NS_S_NEED_TO_BUY_BURN_RIGHTS _HRESULT_TYPEDEF_(0x000d10db) +#define NS_E_FAILED_DOWNLOAD_ABORT_BURN _HRESULT_TYPEDEF_(0xc00d10dc) +#define NS_E_WMPCORE_DEVICE_DRIVERS_MISSING _HRESULT_TYPEDEF_(0xc00d10dd) +#define NS_S_WMPCORE_PLAYLISTCLEARABORT _HRESULT_TYPEDEF_(0x000d10fe) +#define NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT _HRESULT_TYPEDEF_(0x000d10ff) +#define NS_S_WMPCORE_PLAYLIST_CREATION_PENDING _HRESULT_TYPEDEF_(0x000d1102) +#define NS_S_WMPCORE_MEDIA_VALIDATION_PENDING _HRESULT_TYPEDEF_(0x000d1103) +#define NS_S_WMPCORE_PLAYLIST_REPEAT_SECONDARY_SEGMENTS_IGNORED _HRESULT_TYPEDEF_(0x000d1104) +#define NS_S_WMPCORE_COMMAND_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x000d1105) +#define NS_S_WMPCORE_PLAYLIST_NAME_AUTO_GENERATED _HRESULT_TYPEDEF_(0x000d1106) +#define NS_S_WMPCORE_PLAYLIST_IMPORT_MISSING_ITEMS _HRESULT_TYPEDEF_(0x000d1107) +#define NS_S_WMPCORE_PLAYLIST_COLLAPSED_TO_SINGLE_MEDIA _HRESULT_TYPEDEF_(0x000d1108) +#define NS_S_WMPCORE_MEDIA_CHILD_PLAYLIST_OPEN_PENDING _HRESULT_TYPEDEF_(0x000d1109) +#define NS_S_WMPCORE_MORE_NODES_AVAIABLE _HRESULT_TYPEDEF_(0x000d110a) +#define NS_E_WMPIM_USEROFFLINE _HRESULT_TYPEDEF_(0xc00d1126) +#define NS_E_WMPIM_USERCANCELED _HRESULT_TYPEDEF_(0xc00d1127) +#define NS_E_WMPIM_DIALUPFAILED _HRESULT_TYPEDEF_(0xc00d1128) +#define NS_E_WINSOCK_ERROR_STRING _HRESULT_TYPEDEF_(0xc00d1129) +#define NS_E_WMPBR_NOLISTENER _HRESULT_TYPEDEF_(0xc00d1130) +#define NS_E_WMPBR_BACKUPCANCEL _HRESULT_TYPEDEF_(0xc00d1131) +#define NS_E_WMPBR_RESTORECANCEL _HRESULT_TYPEDEF_(0xc00d1132) +#define NS_E_WMPBR_ERRORWITHURL _HRESULT_TYPEDEF_(0xc00d1133) +#define NS_E_WMPBR_NAMECOLLISION _HRESULT_TYPEDEF_(0xc00d1134) +#define NS_S_WMPBR_SUCCESS _HRESULT_TYPEDEF_(0x000d1135) +#define NS_S_WMPBR_PARTIALSUCCESS _HRESULT_TYPEDEF_(0x000d1136) +#define NS_E_WMPBR_DRIVE_INVALID _HRESULT_TYPEDEF_(0xc00d1137) +#define NS_E_WMPBR_BACKUPRESTOREFAILED _HRESULT_TYPEDEF_(0xc00d1138) +#define NS_S_WMPEFFECT_TRANSPARENT _HRESULT_TYPEDEF_(0x000d1144) +#define NS_S_WMPEFFECT_OPAQUE _HRESULT_TYPEDEF_(0x000d1145) +#define NS_S_OPERATION_PENDING _HRESULT_TYPEDEF_(0x000d114e) +#define NS_E_WMP_CONVERT_FILE_FAILED _HRESULT_TYPEDEF_(0xc00d1158) +#define NS_E_WMP_CONVERT_NO_RIGHTS_ERRORURL _HRESULT_TYPEDEF_(0xc00d1159) +#define NS_E_WMP_CONVERT_NO_RIGHTS_NOERRORURL _HRESULT_TYPEDEF_(0xc00d115a) +#define NS_E_WMP_CONVERT_FILE_CORRUPT _HRESULT_TYPEDEF_(0xc00d115b) +#define NS_E_WMP_CONVERT_PLUGIN_UNAVAILABLE_ERRORURL _HRESULT_TYPEDEF_(0xc00d115c) +#define NS_E_WMP_CONVERT_PLUGIN_UNAVAILABLE_NOERRORURL _HRESULT_TYPEDEF_(0xc00d115d) +#define NS_E_WMP_CONVERT_PLUGIN_UNKNOWN_FILE_OWNER _HRESULT_TYPEDEF_(0xc00d115e) +#define NS_E_DVD_DISC_COPY_PROTECT_OUTPUT_NS _HRESULT_TYPEDEF_(0xc00d1160) +#define NS_E_DVD_DISC_COPY_PROTECT_OUTPUT_FAILED _HRESULT_TYPEDEF_(0xc00d1161) +#define NS_E_DVD_NO_SUBPICTURE_STREAM _HRESULT_TYPEDEF_(0xc00d1162) +#define NS_E_DVD_COPY_PROTECT _HRESULT_TYPEDEF_(0xc00d1163) +#define NS_E_DVD_AUTHORING_PROBLEM _HRESULT_TYPEDEF_(0xc00d1164) +#define NS_E_DVD_INVALID_DISC_REGION _HRESULT_TYPEDEF_(0xc00d1165) +#define NS_E_DVD_COMPATIBLE_VIDEO_CARD _HRESULT_TYPEDEF_(0xc00d1166) +#define NS_E_DVD_MACROVISION _HRESULT_TYPEDEF_(0xc00d1167) +#define NS_E_DVD_SYSTEM_DECODER_REGION _HRESULT_TYPEDEF_(0xc00d1168) +#define NS_E_DVD_DISC_DECODER_REGION _HRESULT_TYPEDEF_(0xc00d1169) +#define NS_E_DVD_NO_VIDEO_STREAM _HRESULT_TYPEDEF_(0xc00d116a) +#define NS_E_DVD_NO_AUDIO_STREAM _HRESULT_TYPEDEF_(0xc00d116b) +#define NS_E_DVD_GRAPH_BUILDING _HRESULT_TYPEDEF_(0xc00d116c) +#define NS_E_DVD_NO_DECODER _HRESULT_TYPEDEF_(0xc00d116d) +#define NS_E_DVD_PARENTAL _HRESULT_TYPEDEF_(0xc00d116e) +#define NS_E_DVD_CANNOT_JUMP _HRESULT_TYPEDEF_(0xc00d116f) +#define NS_E_DVD_DEVICE_CONTENTION _HRESULT_TYPEDEF_(0xc00d1170) +#define NS_E_DVD_NO_VIDEO_MEMORY _HRESULT_TYPEDEF_(0xc00d1171) +#define NS_E_DVD_CANNOT_COPY_PROTECTED _HRESULT_TYPEDEF_(0xc00d1172) +#define NS_E_DVD_REQUIRED_PROPERTY_NOT_SET _HRESULT_TYPEDEF_(0xc00d1173) +#define NS_E_DVD_INVALID_TITLE_CHAPTER _HRESULT_TYPEDEF_(0xc00d1174) +#define NS_E_NO_CD_BURNER _HRESULT_TYPEDEF_(0xc00d1176) +#define NS_E_DEVICE_IS_NOT_READY _HRESULT_TYPEDEF_(0xc00d1177) +#define NS_E_PDA_UNSUPPORTED_FORMAT _HRESULT_TYPEDEF_(0xc00d1178) +#define NS_E_NO_PDA _HRESULT_TYPEDEF_(0xc00d1179) +#define NS_E_PDA_UNSPECIFIED_ERROR _HRESULT_TYPEDEF_(0xc00d117a) +#define NS_E_MEMSTORAGE_BAD_DATA _HRESULT_TYPEDEF_(0xc00d117b) +#define NS_E_PDA_FAIL_SELECT_DEVICE _HRESULT_TYPEDEF_(0xc00d117c) +#define NS_E_PDA_FAIL_READ_WAVE_FILE _HRESULT_TYPEDEF_(0xc00d117d) +#define NS_E_IMAPI_LOSSOFSTREAMING _HRESULT_TYPEDEF_(0xc00d117e) +#define NS_E_PDA_DEVICE_FULL _HRESULT_TYPEDEF_(0xc00d117f) +#define NS_E_FAIL_LAUNCH_ROXIO_PLUGIN _HRESULT_TYPEDEF_(0xc00d1180) +#define NS_E_PDA_DEVICE_FULL_IN_SESSION _HRESULT_TYPEDEF_(0xc00d1181) +#define NS_E_IMAPI_MEDIUM_INVALIDTYPE _HRESULT_TYPEDEF_(0xc00d1182) +#define NS_E_PDA_MANUALDEVICE _HRESULT_TYPEDEF_(0xc00d1183) +#define NS_E_PDA_PARTNERSHIPNOTEXIST _HRESULT_TYPEDEF_(0xc00d1184) +#define NS_E_PDA_CANNOT_CREATE_ADDITIONAL_SYNC_RELATIONSHIP _HRESULT_TYPEDEF_(0xc00d1185) +#define NS_E_PDA_NO_TRANSCODE_OF_DRM _HRESULT_TYPEDEF_(0xc00d1186) +#define NS_E_PDA_TRANSCODECACHEFULL _HRESULT_TYPEDEF_(0xc00d1187) +#define NS_E_PDA_TOO_MANY_FILE_COLLISIONS _HRESULT_TYPEDEF_(0xc00d1188) +#define NS_E_PDA_CANNOT_TRANSCODE _HRESULT_TYPEDEF_(0xc00d1189) +#define NS_E_PDA_TOO_MANY_FILES_IN_DIRECTORY _HRESULT_TYPEDEF_(0xc00d118a) +#define NS_E_PROCESSINGSHOWSYNCWIZARD _HRESULT_TYPEDEF_(0xc00d118b) +#define NS_E_PDA_TRANSCODE_NOT_PERMITTED _HRESULT_TYPEDEF_(0xc00d118c) +#define NS_E_PDA_INITIALIZINGDEVICES _HRESULT_TYPEDEF_(0xc00d118d) +#define NS_E_PDA_OBSOLETE_SP _HRESULT_TYPEDEF_(0xc00d118e) +#define NS_E_PDA_TITLE_COLLISION _HRESULT_TYPEDEF_(0xc00d118f) +#define NS_E_PDA_DEVICESUPPORTDISABLED _HRESULT_TYPEDEF_(0xc00d1190) +#define NS_E_PDA_NO_LONGER_AVAILABLE _HRESULT_TYPEDEF_(0xc00d1191) +#define NS_E_PDA_ENCODER_NOT_RESPONDING _HRESULT_TYPEDEF_(0xc00d1192) +#define NS_E_PDA_CANNOT_SYNC_FROM_LOCATION _HRESULT_TYPEDEF_(0xc00d1193) +#define NS_E_WMP_PROTOCOL_PROBLEM _HRESULT_TYPEDEF_(0xc00d1194) +#define NS_E_WMP_NO_DISK_SPACE _HRESULT_TYPEDEF_(0xc00d1195) +#define NS_E_WMP_LOGON_FAILURE _HRESULT_TYPEDEF_(0xc00d1196) +#define NS_E_WMP_CANNOT_FIND_FILE _HRESULT_TYPEDEF_(0xc00d1197) +#define NS_E_WMP_SERVER_INACCESSIBLE _HRESULT_TYPEDEF_(0xc00d1198) +#define NS_E_WMP_UNSUPPORTED_FORMAT _HRESULT_TYPEDEF_(0xc00d1199) +#define NS_E_WMP_DSHOW_UNSUPPORTED_FORMAT _HRESULT_TYPEDEF_(0xc00d119a) +#define NS_E_WMP_PLAYLIST_EXISTS _HRESULT_TYPEDEF_(0xc00d119b) +#define NS_E_WMP_NONMEDIA_FILES _HRESULT_TYPEDEF_(0xc00d119c) +#define NS_E_WMP_INVALID_ASX _HRESULT_TYPEDEF_(0xc00d119d) +#define NS_E_WMP_ALREADY_IN_USE _HRESULT_TYPEDEF_(0xc00d119e) +#define NS_E_WMP_IMAPI_FAILURE _HRESULT_TYPEDEF_(0xc00d119f) +#define NS_E_WMP_WMDM_FAILURE _HRESULT_TYPEDEF_(0xc00d11a0) +#define NS_E_WMP_CODEC_NEEDED_WITH_4CC _HRESULT_TYPEDEF_(0xc00d11a1) +#define NS_E_WMP_CODEC_NEEDED_WITH_FORMATTAG _HRESULT_TYPEDEF_(0xc00d11a2) +#define NS_E_WMP_MSSAP_NOT_AVAILABLE _HRESULT_TYPEDEF_(0xc00d11a3) +#define NS_E_WMP_WMDM_INTERFACEDEAD _HRESULT_TYPEDEF_(0xc00d11a4) +#define NS_E_WMP_WMDM_NOTCERTIFIED _HRESULT_TYPEDEF_(0xc00d11a5) +#define NS_E_WMP_WMDM_LICENSE_NOTEXIST _HRESULT_TYPEDEF_(0xc00d11a6) +#define NS_E_WMP_WMDM_LICENSE_EXPIRED _HRESULT_TYPEDEF_(0xc00d11a7) +#define NS_E_WMP_WMDM_BUSY _HRESULT_TYPEDEF_(0xc00d11a8) +#define NS_E_WMP_WMDM_NORIGHTS _HRESULT_TYPEDEF_(0xc00d11a9) +#define NS_E_WMP_WMDM_INCORRECT_RIGHTS _HRESULT_TYPEDEF_(0xc00d11aa) +#define NS_E_WMP_IMAPI_GENERIC _HRESULT_TYPEDEF_(0xc00d11ab) +#define NS_E_WMP_IMAPI_DEVICE_NOTPRESENT _HRESULT_TYPEDEF_(0xc00d11ad) +#define NS_E_WMP_IMAPI_DEVICE_BUSY _HRESULT_TYPEDEF_(0xc00d11ae) +#define NS_E_WMP_IMAPI_LOSS_OF_STREAMING _HRESULT_TYPEDEF_(0xc00d11af) +#define NS_E_WMP_SERVER_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d11b0) +#define NS_E_WMP_FILE_OPEN_FAILED _HRESULT_TYPEDEF_(0xc00d11b1) +#define NS_E_WMP_VERIFY_ONLINE _HRESULT_TYPEDEF_(0xc00d11b2) +#define NS_E_WMP_SERVER_NOT_RESPONDING _HRESULT_TYPEDEF_(0xc00d11b3) +#define NS_E_WMP_DRM_CORRUPT_BACKUP _HRESULT_TYPEDEF_(0xc00d11b4) +#define NS_E_WMP_DRM_LICENSE_SERVER_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d11b5) +#define NS_E_WMP_NETWORK_FIREWALL _HRESULT_TYPEDEF_(0xc00d11b6) +#define NS_E_WMP_NO_REMOVABLE_MEDIA _HRESULT_TYPEDEF_(0xc00d11b7) +#define NS_E_WMP_PROXY_CONNECT_TIMEOUT _HRESULT_TYPEDEF_(0xc00d11b8) +#define NS_E_WMP_NEED_UPGRADE _HRESULT_TYPEDEF_(0xc00d11b9) +#define NS_E_WMP_AUDIO_HW_PROBLEM _HRESULT_TYPEDEF_(0xc00d11ba) +#define NS_E_WMP_INVALID_PROTOCOL _HRESULT_TYPEDEF_(0xc00d11bb) +#define NS_E_WMP_INVALID_LIBRARY_ADD _HRESULT_TYPEDEF_(0xc00d11bc) +#define NS_E_WMP_MMS_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d11bd) +#define NS_E_WMP_NO_PROTOCOLS_SELECTED _HRESULT_TYPEDEF_(0xc00d11be) +#define NS_E_WMP_GOFULLSCREEN_FAILED _HRESULT_TYPEDEF_(0xc00d11bf) +#define NS_E_WMP_NETWORK_ERROR _HRESULT_TYPEDEF_(0xc00d11c0) +#define NS_E_WMP_CONNECT_TIMEOUT _HRESULT_TYPEDEF_(0xc00d11c1) +#define NS_E_WMP_MULTICAST_DISABLED _HRESULT_TYPEDEF_(0xc00d11c2) +#define NS_E_WMP_SERVER_DNS_TIMEOUT _HRESULT_TYPEDEF_(0xc00d11c3) +#define NS_E_WMP_PROXY_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d11c4) +#define NS_E_WMP_TAMPERED_CONTENT _HRESULT_TYPEDEF_(0xc00d11c5) +#define NS_E_WMP_OUTOFMEMORY _HRESULT_TYPEDEF_(0xc00d11c6) +#define NS_E_WMP_AUDIO_CODEC_NOT_INSTALLED _HRESULT_TYPEDEF_(0xc00d11c7) +#define NS_E_WMP_VIDEO_CODEC_NOT_INSTALLED _HRESULT_TYPEDEF_(0xc00d11c8) +#define NS_E_WMP_IMAPI_DEVICE_INVALIDTYPE _HRESULT_TYPEDEF_(0xc00d11c9) +#define NS_E_WMP_DRM_DRIVER_AUTH_FAILURE _HRESULT_TYPEDEF_(0xc00d11ca) +#define NS_E_WMP_NETWORK_RESOURCE_FAILURE _HRESULT_TYPEDEF_(0xc00d11cb) +#define NS_E_WMP_UPGRADE_APPLICATION _HRESULT_TYPEDEF_(0xc00d11cc) +#define NS_E_WMP_UNKNOWN_ERROR _HRESULT_TYPEDEF_(0xc00d11cd) +#define NS_E_WMP_INVALID_KEY _HRESULT_TYPEDEF_(0xc00d11ce) +#define NS_E_WMP_CD_ANOTHER_USER _HRESULT_TYPEDEF_(0xc00d11cf) +#define NS_E_WMP_DRM_NEEDS_AUTHORIZATION _HRESULT_TYPEDEF_(0xc00d11d0) +#define NS_E_WMP_BAD_DRIVER _HRESULT_TYPEDEF_(0xc00d11d1) +#define NS_E_WMP_ACCESS_DENIED _HRESULT_TYPEDEF_(0xc00d11d2) +#define NS_E_WMP_LICENSE_RESTRICTS _HRESULT_TYPEDEF_(0xc00d11d3) +#define NS_E_WMP_INVALID_REQUEST _HRESULT_TYPEDEF_(0xc00d11d4) +#define NS_E_WMP_CD_STASH_NO_SPACE _HRESULT_TYPEDEF_(0xc00d11d5) +#define NS_E_WMP_DRM_NEW_HARDWARE _HRESULT_TYPEDEF_(0xc00d11d6) +#define NS_E_WMP_DRM_INVALID_SIG _HRESULT_TYPEDEF_(0xc00d11d7) +#define NS_E_WMP_DRM_CANNOT_RESTORE _HRESULT_TYPEDEF_(0xc00d11d8) +#define NS_E_WMP_BURN_DISC_OVERFLOW _HRESULT_TYPEDEF_(0xc00d11d9) +#define NS_E_WMP_DRM_GENERIC_LICENSE_FAILURE _HRESULT_TYPEDEF_(0xc00d11da) +#define NS_E_WMP_DRM_NO_SECURE_CLOCK _HRESULT_TYPEDEF_(0xc00d11db) +#define NS_E_WMP_DRM_NO_RIGHTS _HRESULT_TYPEDEF_(0xc00d11dc) +#define NS_E_WMP_DRM_INDIV_FAILED _HRESULT_TYPEDEF_(0xc00d11dd) +#define NS_E_WMP_SERVER_NONEWCONNECTIONS _HRESULT_TYPEDEF_(0xc00d11de) +#define NS_E_WMP_MULTIPLE_ERROR_IN_PLAYLIST _HRESULT_TYPEDEF_(0xc00d11df) +#define NS_E_WMP_IMAPI2_ERASE_FAIL _HRESULT_TYPEDEF_(0xc00d11e0) +#define NS_E_WMP_IMAPI2_ERASE_DEVICE_BUSY _HRESULT_TYPEDEF_(0xc00d11e1) +#define NS_E_WMP_DRM_COMPONENT_FAILURE _HRESULT_TYPEDEF_(0xc00d11e2) +#define NS_E_WMP_DRM_NO_DEVICE_CERT _HRESULT_TYPEDEF_(0xc00d11e3) +#define NS_E_WMP_SERVER_SECURITY_ERROR _HRESULT_TYPEDEF_(0xc00d11e4) +#define NS_E_WMP_AUDIO_DEVICE_LOST _HRESULT_TYPEDEF_(0xc00d11e5) +#define NS_E_WMP_IMAPI_MEDIA_INCOMPATIBLE _HRESULT_TYPEDEF_(0xc00d11e6) +#define NS_E_SYNCWIZ_DEVICE_FULL _HRESULT_TYPEDEF_(0xc00d11ee) +#define NS_E_SYNCWIZ_CANNOT_CHANGE_SETTINGS _HRESULT_TYPEDEF_(0xc00d11ef) +#define NS_E_TRANSCODE_DELETECACHEERROR _HRESULT_TYPEDEF_(0xc00d11f0) +#define NS_E_CD_NO_BUFFERS_READ _HRESULT_TYPEDEF_(0xc00d11f8) +#define NS_E_CD_EMPTY_TRACK_QUEUE _HRESULT_TYPEDEF_(0xc00d11f9) +#define NS_E_CD_NO_READER _HRESULT_TYPEDEF_(0xc00d11fa) +#define NS_E_CD_ISRC_INVALID _HRESULT_TYPEDEF_(0xc00d11fb) +#define NS_E_CD_MEDIA_CATALOG_NUMBER_INVALID _HRESULT_TYPEDEF_(0xc00d11fc) +#define NS_E_SLOW_READ_DIGITAL_WITH_ERRORCORRECTION _HRESULT_TYPEDEF_(0xc00d11fd) +#define NS_E_CD_SPEEDDETECT_NOT_ENOUGH_READS _HRESULT_TYPEDEF_(0xc00d11fe) +#define NS_E_CD_QUEUEING_DISABLED _HRESULT_TYPEDEF_(0xc00d11ff) +#define NS_E_WMP_DRM_ACQUIRING_LICENSE _HRESULT_TYPEDEF_(0xc00d1202) +#define NS_E_WMP_DRM_LICENSE_EXPIRED _HRESULT_TYPEDEF_(0xc00d1203) +#define NS_E_WMP_DRM_LICENSE_NOTACQUIRED _HRESULT_TYPEDEF_(0xc00d1204) +#define NS_E_WMP_DRM_LICENSE_NOTENABLED _HRESULT_TYPEDEF_(0xc00d1205) +#define NS_E_WMP_DRM_LICENSE_UNUSABLE _HRESULT_TYPEDEF_(0xc00d1206) +#define NS_E_WMP_DRM_LICENSE_CONTENT_REVOKED _HRESULT_TYPEDEF_(0xc00d1207) +#define NS_E_WMP_DRM_LICENSE_NOSAP _HRESULT_TYPEDEF_(0xc00d1208) +#define NS_E_WMP_DRM_UNABLE_TO_ACQUIRE_LICENSE _HRESULT_TYPEDEF_(0xc00d1209) +#define NS_E_WMP_LICENSE_REQUIRED _HRESULT_TYPEDEF_(0xc00d120a) +#define NS_E_WMP_PROTECTED_CONTENT _HRESULT_TYPEDEF_(0xc00d120b) +#define NS_E_WMP_POLICY_VALUE_NOT_CONFIGURED _HRESULT_TYPEDEF_(0xc00d122a) +#define NS_E_PDA_CANNOT_SYNC_FROM_INTERNET _HRESULT_TYPEDEF_(0xc00d1234) +#define NS_E_PDA_CANNOT_SYNC_INVALID_PLAYLIST _HRESULT_TYPEDEF_(0xc00d1235) +#define NS_E_PDA_FAILED_TO_SYNCHRONIZE_FILE _HRESULT_TYPEDEF_(0xc00d1236) +#define NS_E_PDA_SYNC_FAILED _HRESULT_TYPEDEF_(0xc00d1237) +#define NS_E_PDA_DELETE_FAILED _HRESULT_TYPEDEF_(0xc00d1238) +#define NS_E_PDA_FAILED_TO_RETRIEVE_FILE _HRESULT_TYPEDEF_(0xc00d1239) +#define NS_E_PDA_DEVICE_NOT_RESPONDING _HRESULT_TYPEDEF_(0xc00d123a) +#define NS_E_PDA_FAILED_TO_TRANSCODE_PHOTO _HRESULT_TYPEDEF_(0xc00d123b) +#define NS_E_PDA_FAILED_TO_ENCRYPT_TRANSCODED_FILE _HRESULT_TYPEDEF_(0xc00d123c) +#define NS_E_PDA_CANNOT_TRANSCODE_TO_AUDIO _HRESULT_TYPEDEF_(0xc00d123d) +#define NS_E_PDA_CANNOT_TRANSCODE_TO_VIDEO _HRESULT_TYPEDEF_(0xc00d123e) +#define NS_E_PDA_CANNOT_TRANSCODE_TO_IMAGE _HRESULT_TYPEDEF_(0xc00d123f) +#define NS_E_PDA_RETRIEVED_FILE_FILENAME_TOO_LONG _HRESULT_TYPEDEF_(0xc00d1240) +#define NS_E_PDA_CEWMDM_DRM_ERROR _HRESULT_TYPEDEF_(0xc00d1241) +#define NS_E_INCOMPLETE_PLAYLIST _HRESULT_TYPEDEF_(0xc00d1242) +#define NS_E_PDA_SYNC_RUNNING _HRESULT_TYPEDEF_(0xc00d1243) +#define NS_E_PDA_SYNC_LOGIN_ERROR _HRESULT_TYPEDEF_(0xc00d1244) +#define NS_E_PDA_TRANSCODE_CODEC_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d1245) +#define NS_E_CANNOT_SYNC_DRM_TO_NON_JANUS_DEVICE _HRESULT_TYPEDEF_(0xc00d1246) +#define NS_E_CANNOT_SYNC_PREVIOUS_SYNC_RUNNING _HRESULT_TYPEDEF_(0xc00d1247) +#define NS_E_WMP_HWND_NOTFOUND _HRESULT_TYPEDEF_(0xc00d125c) +#define NS_E_BKGDOWNLOAD_WRONG_NO_FILES _HRESULT_TYPEDEF_(0xc00d125d) +#define NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB _HRESULT_TYPEDEF_(0xc00d125e) +#define NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB _HRESULT_TYPEDEF_(0xc00d125f) +#define NS_E_BKGDOWNLOAD_NOJOBPOINTER _HRESULT_TYPEDEF_(0xc00d1260) +#define NS_E_BKGDOWNLOAD_INVALIDJOBSIGNATURE _HRESULT_TYPEDEF_(0xc00d1261) +#define NS_E_BKGDOWNLOAD_FAILED_TO_CREATE_TEMPFILE _HRESULT_TYPEDEF_(0xc00d1262) +#define NS_E_BKGDOWNLOAD_PLUGIN_FAILEDINITIALIZE _HRESULT_TYPEDEF_(0xc00d1263) +#define NS_E_BKGDOWNLOAD_PLUGIN_FAILEDTOMOVEFILE _HRESULT_TYPEDEF_(0xc00d1264) +#define NS_E_BKGDOWNLOAD_CALLFUNCFAILED _HRESULT_TYPEDEF_(0xc00d1265) +#define NS_E_BKGDOWNLOAD_CALLFUNCTIMEOUT _HRESULT_TYPEDEF_(0xc00d1266) +#define NS_E_BKGDOWNLOAD_CALLFUNCENDED _HRESULT_TYPEDEF_(0xc00d1267) +#define NS_E_BKGDOWNLOAD_WMDUNPACKFAILED _HRESULT_TYPEDEF_(0xc00d1268) +#define NS_E_BKGDOWNLOAD_FAILEDINITIALIZE _HRESULT_TYPEDEF_(0xc00d1269) +#define NS_E_INTERFACE_NOT_REGISTERED_IN_GIT _HRESULT_TYPEDEF_(0xc00d126a) +#define NS_E_BKGDOWNLOAD_INVALID_FILE_NAME _HRESULT_TYPEDEF_(0xc00d126b) +#define NS_E_IMAGE_DOWNLOAD_FAILED _HRESULT_TYPEDEF_(0xc00d128e) +#define NS_E_WMP_UDRM_NOUSERLIST _HRESULT_TYPEDEF_(0xc00d12c0) +#define NS_E_WMP_DRM_NOT_ACQUIRING _HRESULT_TYPEDEF_(0xc00d12c1) +#define NS_E_WMP_BSTR_TOO_LONG _HRESULT_TYPEDEF_(0xc00d12f2) +#define NS_E_WMP_AUTOPLAY_INVALID_STATE _HRESULT_TYPEDEF_(0xc00d12fc) +#define NS_E_WMP_COMPONENT_REVOKED _HRESULT_TYPEDEF_(0xc00d1306) +#define NS_E_CURL_NOTSAFE _HRESULT_TYPEDEF_(0xc00d1324) +#define NS_E_CURL_INVALIDCHAR _HRESULT_TYPEDEF_(0xc00d1325) +#define NS_E_CURL_INVALIDHOSTNAME _HRESULT_TYPEDEF_(0xc00d1326) +#define NS_E_CURL_INVALIDPATH _HRESULT_TYPEDEF_(0xc00d1327) +#define NS_E_CURL_INVALIDSCHEME _HRESULT_TYPEDEF_(0xc00d1328) +#define NS_E_CURL_INVALIDURL _HRESULT_TYPEDEF_(0xc00d1329) +#define NS_E_CURL_CANTWALK _HRESULT_TYPEDEF_(0xc00d132b) +#define NS_E_CURL_INVALIDPORT _HRESULT_TYPEDEF_(0xc00d132c) +#define NS_E_CURLHELPER_NOTADIRECTORY _HRESULT_TYPEDEF_(0xc00d132d) +#define NS_E_CURLHELPER_NOTAFILE _HRESULT_TYPEDEF_(0xc00d132e) +#define NS_E_CURL_CANTDECODE _HRESULT_TYPEDEF_(0xc00d132f) +#define NS_E_CURLHELPER_NOTRELATIVE _HRESULT_TYPEDEF_(0xc00d1330) +#define NS_E_CURL_INVALIDBUFFERSIZE _HRESULT_TYPEDEF_(0xc00d1331) +#define NS_E_SUBSCRIPTIONSERVICE_PLAYBACK_DISALLOWED _HRESULT_TYPEDEF_(0xc00d1356) +#define NS_E_CANNOT_BUY_OR_DOWNLOAD_FROM_MULTIPLE_SERVICES _HRESULT_TYPEDEF_(0xc00d1357) +#define NS_E_CANNOT_BUY_OR_DOWNLOAD_CONTENT _HRESULT_TYPEDEF_(0xc00d1358) +#define NS_S_TRACK_BUY_REQUIRES_ALBUM_PURCHASE _HRESULT_TYPEDEF_(0x000d1359) +#define NS_E_NOT_CONTENT_PARTNER_TRACK _HRESULT_TYPEDEF_(0xc00d135a) +#define NS_E_TRACK_DOWNLOAD_REQUIRES_ALBUM_PURCHASE _HRESULT_TYPEDEF_(0xc00d135b) +#define NS_E_TRACK_DOWNLOAD_REQUIRES_PURCHASE _HRESULT_TYPEDEF_(0xc00d135c) +#define NS_E_TRACK_PURCHASE_MAXIMUM_EXCEEDED _HRESULT_TYPEDEF_(0xc00d135d) +#define NS_S_NAVIGATION_COMPLETE_WITH_ERRORS _HRESULT_TYPEDEF_(0x000d135e) +#define NS_E_SUBSCRIPTIONSERVICE_LOGIN_FAILED _HRESULT_TYPEDEF_(0xc00d135f) +#define NS_E_SUBSCRIPTIONSERVICE_DOWNLOAD_TIMEOUT _HRESULT_TYPEDEF_(0xc00d1360) +#define NS_S_TRACK_ALREADY_DOWNLOADED _HRESULT_TYPEDEF_(0x000d1361) +#define NS_E_CONTENT_PARTNER_STILL_INITIALIZING _HRESULT_TYPEDEF_(0xc00d1362) +#define NS_E_OPEN_CONTAINING_FOLDER_FAILED _HRESULT_TYPEDEF_(0xc00d1363) +#define NS_E_ADVANCEDEDIT_TOO_MANY_PICTURES _HRESULT_TYPEDEF_(0xc00d136a) + +/* Windows Media Server errors */ +#define NS_E_REDIRECT _HRESULT_TYPEDEF_(0xc00d1388) +#define NS_E_STALE_PRESENTATION _HRESULT_TYPEDEF_(0xc00d1389) +#define NS_E_NAMESPACE_WRONG_PERSIST _HRESULT_TYPEDEF_(0xc00d138a) +#define NS_E_NAMESPACE_WRONG_TYPE _HRESULT_TYPEDEF_(0xc00d138b) +#define NS_E_NAMESPACE_NODE_CONFLICT _HRESULT_TYPEDEF_(0xc00d138c) +#define NS_E_NAMESPACE_NODE_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d138d) +#define NS_E_NAMESPACE_BUFFER_TOO_SMALL _HRESULT_TYPEDEF_(0xc00d138e) +#define NS_E_NAMESPACE_TOO_MANY_CALLBACKS _HRESULT_TYPEDEF_(0xc00d138f) +#define NS_E_NAMESPACE_DUPLICATE_CALLBACK _HRESULT_TYPEDEF_(0xc00d1390) +#define NS_E_NAMESPACE_CALLBACK_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d1391) +#define NS_E_NAMESPACE_NAME_TOO_LONG _HRESULT_TYPEDEF_(0xc00d1392) +#define NS_E_NAMESPACE_DUPLICATE_NAME _HRESULT_TYPEDEF_(0xc00d1393) +#define NS_E_NAMESPACE_EMPTY_NAME _HRESULT_TYPEDEF_(0xc00d1394) +#define NS_E_NAMESPACE_INDEX_TOO_LARGE _HRESULT_TYPEDEF_(0xc00d1395) +#define NS_E_NAMESPACE_BAD_NAME _HRESULT_TYPEDEF_(0xc00d1396) +#define NS_E_NAMESPACE_WRONG_SECURITY _HRESULT_TYPEDEF_(0xc00d1397) +#define NS_E_CACHE_ARCHIVE_CONFLICT _HRESULT_TYPEDEF_(0xc00d13ec) +#define NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d13ed) +#define NS_E_CACHE_ORIGIN_SERVER_TIMEOUT _HRESULT_TYPEDEF_(0xc00d13ee) +#define NS_E_CACHE_NOT_BROADCAST _HRESULT_TYPEDEF_(0xc00d13ef) +#define NS_E_CACHE_CANNOT_BE_CACHED _HRESULT_TYPEDEF_(0xc00d13f0) +#define NS_E_CACHE_NOT_MODIFIED _HRESULT_TYPEDEF_(0xc00d13f1) +#define NS_E_CANNOT_REMOVE_PUBLISHING_POINT _HRESULT_TYPEDEF_(0xc00d1450) +#define NS_E_CANNOT_REMOVE_PLUGIN _HRESULT_TYPEDEF_(0xc00d1451) +#define NS_E_WRONG_PUBLISHING_POINT_TYPE _HRESULT_TYPEDEF_(0xc00d1452) +#define NS_E_UNSUPPORTED_LOAD_TYPE _HRESULT_TYPEDEF_(0xc00d1453) +#define NS_E_INVALID_PLUGIN_LOAD_TYPE_CONFIGURATION _HRESULT_TYPEDEF_(0xc00d1454) +#define NS_E_INVALID_PUBLISHING_POINT_NAME _HRESULT_TYPEDEF_(0xc00d1455) +#define NS_E_TOO_MANY_MULTICAST_SINKS _HRESULT_TYPEDEF_(0xc00d1456) +#define NS_E_PUBLISHING_POINT_INVALID_REQUEST_WHILE_STARTED _HRESULT_TYPEDEF_(0xc00d1457) +#define NS_E_MULTICAST_PLUGIN_NOT_ENABLED _HRESULT_TYPEDEF_(0xc00d1458) +#define NS_E_INVALID_OPERATING_SYSTEM_VERSION _HRESULT_TYPEDEF_(0xc00d1459) +#define NS_E_PUBLISHING_POINT_REMOVED _HRESULT_TYPEDEF_(0xc00d145a) +#define NS_E_INVALID_PUSH_PUBLISHING_POINT_START_REQUEST _HRESULT_TYPEDEF_(0xc00d145b) +#define NS_E_UNSUPPORTED_LANGUAGE _HRESULT_TYPEDEF_(0xc00d145c) +#define NS_E_WRONG_OS_VERSION _HRESULT_TYPEDEF_(0xc00d145d) +#define NS_E_PUBLISHING_POINT_STOPPED _HRESULT_TYPEDEF_(0xc00d145e) +#define NS_E_PLAYLIST_ENTRY_ALREADY_PLAYING _HRESULT_TYPEDEF_(0xc00d14b4) +#define NS_E_EMPTY_PLAYLIST _HRESULT_TYPEDEF_(0xc00d14b5) +#define NS_E_PLAYLIST_PARSE_FAILURE _HRESULT_TYPEDEF_(0xc00d14b6) +#define NS_E_PLAYLIST_UNSUPPORTED_ENTRY _HRESULT_TYPEDEF_(0xc00d14b7) +#define NS_E_PLAYLIST_ENTRY_NOT_IN_PLAYLIST _HRESULT_TYPEDEF_(0xc00d14b8) +#define NS_E_PLAYLIST_ENTRY_SEEK _HRESULT_TYPEDEF_(0xc00d14b9) +#define NS_E_PLAYLIST_RECURSIVE_PLAYLISTS _HRESULT_TYPEDEF_(0xc00d14ba) +#define NS_E_PLAYLIST_TOO_MANY_NESTED_PLAYLISTS _HRESULT_TYPEDEF_(0xc00d14bb) +#define NS_E_PLAYLIST_SHUTDOWN _HRESULT_TYPEDEF_(0xc00d14bc) +#define NS_E_PLAYLIST_END_RECEDING _HRESULT_TYPEDEF_(0xc00d14bd) +#define NS_I_PLAYLIST_CHANGE_RECEDING _HRESULT_TYPEDEF_(0x400d14be) +#define NS_E_DATAPATH_NO_SINK _HRESULT_TYPEDEF_(0xc00d1518) +#define NS_S_PUBLISHING_POINT_STARTED_WITH_FAILED_SINKS _HRESULT_TYPEDEF_(0x000d1519) +#define NS_E_INVALID_PUSH_TEMPLATE _HRESULT_TYPEDEF_(0xc00d151a) +#define NS_E_INVALID_PUSH_PUBLISHING_POINT _HRESULT_TYPEDEF_(0xc00d151b) +#define NS_E_CRITICAL_ERROR _HRESULT_TYPEDEF_(0xc00d151c) +#define NS_E_NO_NEW_CONNECTIONS _HRESULT_TYPEDEF_(0xc00d151d) +#define NS_E_WSX_INVALID_VERSION _HRESULT_TYPEDEF_(0xc00d151e) +#define NS_E_HEADER_MISMATCH _HRESULT_TYPEDEF_(0xc00d151f) +#define NS_E_PUSH_DUPLICATE_PUBLISHING_POINT_NAME _HRESULT_TYPEDEF_(0xc00d1520) +#define NS_E_NO_SCRIPT_ENGINE _HRESULT_TYPEDEF_(0xc00d157c) +#define NS_E_PLUGIN_ERROR_REPORTED _HRESULT_TYPEDEF_(0xc00d157d) +#define NS_E_SOURCE_PLUGIN_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d157e) +#define NS_E_PLAYLIST_PLUGIN_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d157f) +#define NS_E_DATA_SOURCE_ENUMERATION_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d1580) +#define NS_E_MEDIA_PARSER_INVALID_FORMAT _HRESULT_TYPEDEF_(0xc00d1581) +#define NS_E_SCRIPT_DEBUGGER_NOT_INSTALLED _HRESULT_TYPEDEF_(0xc00d1582) +#define NS_E_FEATURE_REQUIRES_ENTERPRISE_SERVER _HRESULT_TYPEDEF_(0xc00d1583) +#define NS_E_WIZARD_RUNNING _HRESULT_TYPEDEF_(0xc00d1584) +#define NS_E_INVALID_LOG_URL _HRESULT_TYPEDEF_(0xc00d1585) +#define NS_E_INVALID_MTU_RANGE _HRESULT_TYPEDEF_(0xc00d1586) +#define NS_E_INVALID_PLAY_STATISTICS _HRESULT_TYPEDEF_(0xc00d1587) +#define NS_E_LOG_NEED_TO_BE_SKIPPED _HRESULT_TYPEDEF_(0xc00d1588) +#define NS_E_HTTP_TEXT_DATACONTAINER_SIZE_LIMIT_EXCEEDED _HRESULT_TYPEDEF_(0xc00d1589) +#define NS_E_PORT_IN_USE _HRESULT_TYPEDEF_(0xc00d158a) +#define NS_E_PORT_IN_USE_HTTP _HRESULT_TYPEDEF_(0xc00d158b) +#define NS_E_HTTP_TEXT_DATACONTAINER_INVALID_SERVER_RESPONSE _HRESULT_TYPEDEF_(0xc00d158c) +#define NS_E_ARCHIVE_REACH_QUOTA _HRESULT_TYPEDEF_(0xc00d158d) +#define NS_E_ARCHIVE_ABORT_DUE_TO_BCAST _HRESULT_TYPEDEF_(0xc00d158e) +#define NS_E_ARCHIVE_GAP_DETECTED _HRESULT_TYPEDEF_(0xc00d158f) +#define NS_E_AUTHORIZATION_FILE_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d1590) + +/* Windows Media Tools errors */ +#define NS_E_BAD_MARKIN _HRESULT_TYPEDEF_(0xc00d1b58) +#define NS_E_BAD_MARKOUT _HRESULT_TYPEDEF_(0xc00d1b59) +#define NS_E_NOMATCHING_MEDIASOURCE _HRESULT_TYPEDEF_(0xc00d1b5a) +#define NS_E_UNSUPPORTED_SOURCETYPE _HRESULT_TYPEDEF_(0xc00d1b5b) +#define NS_E_TOO_MANY_AUDIO _HRESULT_TYPEDEF_(0xc00d1b5c) +#define NS_E_TOO_MANY_VIDEO _HRESULT_TYPEDEF_(0xc00d1b5d) +#define NS_E_NOMATCHING_ELEMENT _HRESULT_TYPEDEF_(0xc00d1b5e) +#define NS_E_MISMATCHED_MEDIACONTENT _HRESULT_TYPEDEF_(0xc00d1b5f) +#define NS_E_CANNOT_DELETE_ACTIVE_SOURCEGROUP _HRESULT_TYPEDEF_(0xc00d1b60) +#define NS_E_AUDIODEVICE_BUSY _HRESULT_TYPEDEF_(0xc00d1b61) +#define NS_E_AUDIODEVICE_UNEXPECTED _HRESULT_TYPEDEF_(0xc00d1b62) +#define NS_E_AUDIODEVICE_BADFORMAT _HRESULT_TYPEDEF_(0xc00d1b63) +#define NS_E_VIDEODEVICE_BUSY _HRESULT_TYPEDEF_(0xc00d1b64) +#define NS_E_VIDEODEVICE_UNEXPECTED _HRESULT_TYPEDEF_(0xc00d1b65) +#define NS_E_INVALIDCALL_WHILE_ENCODER_RUNNING _HRESULT_TYPEDEF_(0xc00d1b66) +#define NS_E_NO_PROFILE_IN_SOURCEGROUP _HRESULT_TYPEDEF_(0xc00d1b67) +#define NS_E_VIDEODRIVER_UNSTABLE _HRESULT_TYPEDEF_(0xc00d1b68) +#define NS_E_VIDCAPSTARTFAILED _HRESULT_TYPEDEF_(0xc00d1b69) +#define NS_E_VIDSOURCECOMPRESSION _HRESULT_TYPEDEF_(0xc00d1b6a) +#define NS_E_VIDSOURCESIZE _HRESULT_TYPEDEF_(0xc00d1b6b) +#define NS_E_ICMQUERYFORMAT _HRESULT_TYPEDEF_(0xc00d1b6c) +#define NS_E_VIDCAPCREATEWINDOW _HRESULT_TYPEDEF_(0xc00d1b6d) +#define NS_E_VIDCAPDRVINUSE _HRESULT_TYPEDEF_(0xc00d1b6e) +#define NS_E_NO_MEDIAFORMAT_IN_SOURCE _HRESULT_TYPEDEF_(0xc00d1b6f) +#define NS_E_NO_VALID_OUTPUT_STREAM _HRESULT_TYPEDEF_(0xc00d1b70) +#define NS_E_NO_VALID_SOURCE_PLUGIN _HRESULT_TYPEDEF_(0xc00d1b71) +#define NS_E_NO_ACTIVE_SOURCEGROUP _HRESULT_TYPEDEF_(0xc00d1b72) +#define NS_E_NO_SCRIPT_STREAM _HRESULT_TYPEDEF_(0xc00d1b73) +#define NS_E_INVALIDCALL_WHILE_ARCHIVAL_RUNNING _HRESULT_TYPEDEF_(0xc00d1b74) +#define NS_E_INVALIDPACKETSIZE _HRESULT_TYPEDEF_(0xc00d1b75) +#define NS_E_PLUGIN_CLSID_INVALID _HRESULT_TYPEDEF_(0xc00d1b76) +#define NS_E_UNSUPPORTED_ARCHIVETYPE _HRESULT_TYPEDEF_(0xc00d1b77) +#define NS_E_UNSUPPORTED_ARCHIVEOPERATION _HRESULT_TYPEDEF_(0xc00d1b78) +#define NS_E_ARCHIVE_FILENAME_NOTSET _HRESULT_TYPEDEF_(0xc00d1b79) +#define NS_E_SOURCEGROUP_NOTPREPARED _HRESULT_TYPEDEF_(0xc00d1b7a) +#define NS_E_PROFILE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1b7b) +#define NS_E_INCORRECTCLIPSETTINGS _HRESULT_TYPEDEF_(0xc00d1b7c) +#define NS_E_NOSTATSAVAILABLE _HRESULT_TYPEDEF_(0xc00d1b7d) +#define NS_E_NOTARCHIVING _HRESULT_TYPEDEF_(0xc00d1b7e) +#define NS_E_INVALIDCALL_WHILE_ENCODER_STOPPED _HRESULT_TYPEDEF_(0xc00d1b7f) +#define NS_E_NOSOURCEGROUPS _HRESULT_TYPEDEF_(0xc00d1b80) +#define NS_E_INVALIDINPUTFPS _HRESULT_TYPEDEF_(0xc00d1b81) +#define NS_E_NO_DATAVIEW_SUPPORT _HRESULT_TYPEDEF_(0xc00d1b82) +#define NS_E_CODEC_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d1b83) +#define NS_E_ARCHIVE_SAME_AS_INPUT _HRESULT_TYPEDEF_(0xc00d1b84) +#define NS_E_SOURCE_NOTSPECIFIED _HRESULT_TYPEDEF_(0xc00d1b85) +#define NS_E_NO_REALTIME_TIMECOMPRESSION _HRESULT_TYPEDEF_(0xc00d1b86) +#define NS_E_UNSUPPORTED_ENCODER_DEVICE _HRESULT_TYPEDEF_(0xc00d1b87) +#define NS_E_UNEXPECTED_DISPLAY_SETTINGS _HRESULT_TYPEDEF_(0xc00d1b88) +#define NS_E_NO_AUDIODATA _HRESULT_TYPEDEF_(0xc00d1b89) +#define NS_E_INPUTSOURCE_PROBLEM _HRESULT_TYPEDEF_(0xc00d1b8a) +#define NS_E_WME_VERSION_MISMATCH _HRESULT_TYPEDEF_(0xc00d1b8b) +#define NS_E_NO_REALTIME_PREPROCESS _HRESULT_TYPEDEF_(0xc00d1b8c) +#define NS_E_NO_REPEAT_PREPROCESS _HRESULT_TYPEDEF_(0xc00d1b8d) +#define NS_E_CANNOT_PAUSE_LIVEBROADCAST _HRESULT_TYPEDEF_(0xc00d1b8e) +#define NS_E_DRM_PROFILE_NOT_SET _HRESULT_TYPEDEF_(0xc00d1b8f) +#define NS_E_DUPLICATE_DRMPROFILE _HRESULT_TYPEDEF_(0xc00d1b90) +#define NS_E_INVALID_DEVICE _HRESULT_TYPEDEF_(0xc00d1b91) +#define NS_E_SPEECHEDL_ON_NON_MIXEDMODE _HRESULT_TYPEDEF_(0xc00d1b92) +#define NS_E_DRM_PASSWORD_TOO_LONG _HRESULT_TYPEDEF_(0xc00d1b93) +#define NS_E_DEVCONTROL_FAILED_SEEK _HRESULT_TYPEDEF_(0xc00d1b94) +#define NS_E_INTERLACE_REQUIRE_SAMESIZE _HRESULT_TYPEDEF_(0xc00d1b95) +#define NS_E_TOO_MANY_DEVICECONTROL _HRESULT_TYPEDEF_(0xc00d1b96) +#define NS_E_NO_MULTIPASS_FOR_LIVEDEVICE _HRESULT_TYPEDEF_(0xc00d1b97) +#define NS_E_MISSING_AUDIENCE _HRESULT_TYPEDEF_(0xc00d1b98) +#define NS_E_AUDIENCE_CONTENTTYPE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1b99) +#define NS_E_MISSING_SOURCE_INDEX _HRESULT_TYPEDEF_(0xc00d1b9a) +#define NS_E_NUM_LANGUAGE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1b9b) +#define NS_E_LANGUAGE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1b9c) +#define NS_E_VBRMODE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1b9d) +#define NS_E_INVALID_INPUT_AUDIENCE_INDEX _HRESULT_TYPEDEF_(0xc00d1b9e) +#define NS_E_INVALID_INPUT_LANGUAGE _HRESULT_TYPEDEF_(0xc00d1b9f) +#define NS_E_INVALID_INPUT_STREAM _HRESULT_TYPEDEF_(0xc00d1ba0) +#define NS_E_EXPECT_MONO_WAV_INPUT _HRESULT_TYPEDEF_(0xc00d1ba1) +#define NS_E_INPUT_WAVFORMAT_MISMATCH _HRESULT_TYPEDEF_(0xc00d1ba2) +#define NS_E_RECORDQ_DISK_FULL _HRESULT_TYPEDEF_(0xc00d1ba3) +#define NS_E_NO_PAL_INVERSE_TELECINE _HRESULT_TYPEDEF_(0xc00d1ba4) +#define NS_E_ACTIVE_SG_DEVICE_DISCONNECTED _HRESULT_TYPEDEF_(0xc00d1ba5) +#define NS_E_ACTIVE_SG_DEVICE_CONTROL_DISCONNECTED _HRESULT_TYPEDEF_(0xc00d1ba6) +#define NS_E_NO_FRAMES_SUBMITTED_TO_ANALYZER _HRESULT_TYPEDEF_(0xc00d1ba7) +#define NS_E_INPUT_DOESNOT_SUPPORT_SMPTE _HRESULT_TYPEDEF_(0xc00d1ba8) +#define NS_E_NO_SMPTE_WITH_MULTIPLE_SOURCEGROUPS _HRESULT_TYPEDEF_(0xc00d1ba9) +#define NS_E_BAD_CONTENTEDL _HRESULT_TYPEDEF_(0xc00d1baa) +#define NS_E_INTERLACEMODE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1bab) +#define NS_E_NONSQUAREPIXELMODE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1bac) +#define NS_E_SMPTEMODE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1bad) +#define NS_E_END_OF_TAPE _HRESULT_TYPEDEF_(0xc00d1bae) +#define NS_E_NO_MEDIA_IN_AUDIENCE _HRESULT_TYPEDEF_(0xc00d1baf) +#define NS_E_NO_AUDIENCES _HRESULT_TYPEDEF_(0xc00d1bb0) +#define NS_E_NO_AUDIO_COMPAT _HRESULT_TYPEDEF_(0xc00d1bb1) +#define NS_E_INVALID_VBR_COMPAT _HRESULT_TYPEDEF_(0xc00d1bb2) +#define NS_E_NO_PROFILE_NAME _HRESULT_TYPEDEF_(0xc00d1bb3) +#define NS_E_INVALID_VBR_WITH_UNCOMP _HRESULT_TYPEDEF_(0xc00d1bb4) +#define NS_E_MULTIPLE_VBR_AUDIENCES _HRESULT_TYPEDEF_(0xc00d1bb5) +#define NS_E_UNCOMP_COMP_COMBINATION _HRESULT_TYPEDEF_(0xc00d1bb6) +#define NS_E_MULTIPLE_AUDIO_CODECS _HRESULT_TYPEDEF_(0xc00d1bb7) +#define NS_E_MULTIPLE_AUDIO_FORMATS _HRESULT_TYPEDEF_(0xc00d1bb8) +#define NS_E_AUDIO_BITRATE_STEPDOWN _HRESULT_TYPEDEF_(0xc00d1bb9) +#define NS_E_INVALID_AUDIO_PEAKRATE _HRESULT_TYPEDEF_(0xc00d1bba) +#define NS_E_INVALID_AUDIO_PEAKRATE_2 _HRESULT_TYPEDEF_(0xc00d1bbb) +#define NS_E_INVALID_AUDIO_BUFFERMAX _HRESULT_TYPEDEF_(0xc00d1bbc) +#define NS_E_MULTIPLE_VIDEO_CODECS _HRESULT_TYPEDEF_(0xc00d1bbd) +#define NS_E_MULTIPLE_VIDEO_SIZES _HRESULT_TYPEDEF_(0xc00d1bbe) +#define NS_E_INVALID_VIDEO_BITRATE _HRESULT_TYPEDEF_(0xc00d1bbf) +#define NS_E_VIDEO_BITRATE_STEPDOWN _HRESULT_TYPEDEF_(0xc00d1bc0) +#define NS_E_INVALID_VIDEO_PEAKRATE _HRESULT_TYPEDEF_(0xc00d1bc1) +#define NS_E_INVALID_VIDEO_PEAKRATE_2 _HRESULT_TYPEDEF_(0xc00d1bc2) +#define NS_E_INVALID_VIDEO_WIDTH _HRESULT_TYPEDEF_(0xc00d1bc3) +#define NS_E_INVALID_VIDEO_HEIGHT _HRESULT_TYPEDEF_(0xc00d1bc4) +#define NS_E_INVALID_VIDEO_FPS _HRESULT_TYPEDEF_(0xc00d1bc5) +#define NS_E_INVALID_VIDEO_KEYFRAME _HRESULT_TYPEDEF_(0xc00d1bc6) +#define NS_E_INVALID_VIDEO_IQUALITY _HRESULT_TYPEDEF_(0xc00d1bc7) +#define NS_E_INVALID_VIDEO_CQUALITY _HRESULT_TYPEDEF_(0xc00d1bc8) +#define NS_E_INVALID_VIDEO_BUFFER _HRESULT_TYPEDEF_(0xc00d1bc9) +#define NS_E_INVALID_VIDEO_BUFFERMAX _HRESULT_TYPEDEF_(0xc00d1bca) +#define NS_E_INVALID_VIDEO_BUFFERMAX_2 _HRESULT_TYPEDEF_(0xc00d1bcb) +#define NS_E_INVALID_VIDEO_WIDTH_ALIGN _HRESULT_TYPEDEF_(0xc00d1bcc) +#define NS_E_INVALID_VIDEO_HEIGHT_ALIGN _HRESULT_TYPEDEF_(0xc00d1bcd) +#define NS_E_MULTIPLE_SCRIPT_BITRATES _HRESULT_TYPEDEF_(0xc00d1bce) +#define NS_E_INVALID_SCRIPT_BITRATE _HRESULT_TYPEDEF_(0xc00d1bcf) +#define NS_E_MULTIPLE_FILE_BITRATES _HRESULT_TYPEDEF_(0xc00d1bd0) +#define NS_E_INVALID_FILE_BITRATE _HRESULT_TYPEDEF_(0xc00d1bd1) +#define NS_E_SAME_AS_INPUT_COMBINATION _HRESULT_TYPEDEF_(0xc00d1bd2) +#define NS_E_SOURCE_CANNOT_LOOP _HRESULT_TYPEDEF_(0xc00d1bd3) +#define NS_E_INVALID_FOLDDOWN_COEFFICIENTS _HRESULT_TYPEDEF_(0xc00d1bd4) +#define NS_E_DRMPROFILE_NOTFOUND _HRESULT_TYPEDEF_(0xc00d1bd5) +#define NS_E_INVALID_TIMECODE _HRESULT_TYPEDEF_(0xc00d1bd6) +#define NS_E_NO_AUDIO_TIMECOMPRESSION _HRESULT_TYPEDEF_(0xc00d1bd7) +#define NS_E_NO_TWOPASS_TIMECOMPRESSION _HRESULT_TYPEDEF_(0xc00d1bd8) +#define NS_E_TIMECODE_REQUIRES_VIDEOSTREAM _HRESULT_TYPEDEF_(0xc00d1bd9) +#define NS_E_NO_MBR_WITH_TIMECODE _HRESULT_TYPEDEF_(0xc00d1bda) +#define NS_E_INVALID_INTERLACEMODE _HRESULT_TYPEDEF_(0xc00d1bdb) +#define NS_E_INVALID_INTERLACE_COMPAT _HRESULT_TYPEDEF_(0xc00d1bdc) +#define NS_E_INVALID_NONSQUAREPIXEL_COMPAT _HRESULT_TYPEDEF_(0xc00d1bdd) +#define NS_E_INVALID_SOURCE_WITH_DEVICE_CONTROL _HRESULT_TYPEDEF_(0xc00d1bde) +#define NS_E_CANNOT_GENERATE_BROADCAST_INFO_FOR_QUALITYVBR _HRESULT_TYPEDEF_(0xc00d1bdf) +#define NS_E_EXCEED_MAX_DRM_PROFILE_LIMIT _HRESULT_TYPEDEF_(0xc00d1be0) +#define NS_E_DEVICECONTROL_UNSTABLE _HRESULT_TYPEDEF_(0xc00d1be1) +#define NS_E_INVALID_PIXEL_ASPECT_RATIO _HRESULT_TYPEDEF_(0xc00d1be2) +#define NS_E_AUDIENCE__LANGUAGE_CONTENTTYPE_MISMATCH _HRESULT_TYPEDEF_(0xc00d1be3) +#define NS_E_INVALID_PROFILE_CONTENTTYPE _HRESULT_TYPEDEF_(0xc00d1be4) +#define NS_E_TRANSFORM_PLUGIN_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d1be5) +#define NS_E_TRANSFORM_PLUGIN_INVALID _HRESULT_TYPEDEF_(0xc00d1be6) +#define NS_E_EDL_REQUIRED_FOR_DEVICE_MULTIPASS _HRESULT_TYPEDEF_(0xc00d1be7) +#define NS_E_INVALID_VIDEO_WIDTH_FOR_INTERLACED_ENCODING _HRESULT_TYPEDEF_(0xc00d1be8) +#define NS_E_MARKIN_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d1be9) + +/* DRM errors */ +#define NS_E_DRM_INVALID_APPLICATION _HRESULT_TYPEDEF_(0xc00d2711) +#define NS_E_DRM_LICENSE_STORE_ERROR _HRESULT_TYPEDEF_(0xc00d2712) +#define NS_E_DRM_SECURE_STORE_ERROR _HRESULT_TYPEDEF_(0xc00d2713) +#define NS_E_DRM_LICENSE_STORE_SAVE_ERROR _HRESULT_TYPEDEF_(0xc00d2714) +#define NS_E_DRM_SECURE_STORE_UNLOCK_ERROR _HRESULT_TYPEDEF_(0xc00d2715) +#define NS_E_DRM_INVALID_CONTENT _HRESULT_TYPEDEF_(0xc00d2716) +#define NS_E_DRM_UNABLE_TO_OPEN_LICENSE _HRESULT_TYPEDEF_(0xc00d2717) +#define NS_E_DRM_INVALID_LICENSE _HRESULT_TYPEDEF_(0xc00d2718) +#define NS_E_DRM_INVALID_MACHINE _HRESULT_TYPEDEF_(0xc00d2719) +#define NS_E_DRM_ENUM_LICENSE_FAILED _HRESULT_TYPEDEF_(0xc00d271b) +#define NS_E_DRM_INVALID_LICENSE_REQUEST _HRESULT_TYPEDEF_(0xc00d271c) +#define NS_E_DRM_UNABLE_TO_INITIALIZE _HRESULT_TYPEDEF_(0xc00d271d) +#define NS_E_DRM_UNABLE_TO_ACQUIRE_LICENSE _HRESULT_TYPEDEF_(0xc00d271e) +#define NS_E_DRM_INVALID_LICENSE_ACQUIRED _HRESULT_TYPEDEF_(0xc00d271f) +#define NS_E_DRM_NO_RIGHTS _HRESULT_TYPEDEF_(0xc00d2720) +#define NS_E_DRM_KEY_ERROR _HRESULT_TYPEDEF_(0xc00d2721) +#define NS_E_DRM_ENCRYPT_ERROR _HRESULT_TYPEDEF_(0xc00d2722) +#define NS_E_DRM_DECRYPT_ERROR _HRESULT_TYPEDEF_(0xc00d2723) +#define NS_E_DRM_LICENSE_INVALID_XML _HRESULT_TYPEDEF_(0xc00d2725) +#define NS_S_DRM_LICENSE_ACQUIRED _HRESULT_TYPEDEF_(0x000d2726) +#define NS_S_DRM_INDIVIDUALIZED _HRESULT_TYPEDEF_(0x000d2727) +#define NS_E_DRM_NEEDS_INDIVIDUALIZATION _HRESULT_TYPEDEF_(0xc00d2728) +#define NS_E_DRM_ALREADY_INDIVIDUALIZED _HRESULT_TYPEDEF_(0xc00d2729) +#define NS_E_DRM_ACTION_NOT_QUERIED _HRESULT_TYPEDEF_(0xc00d272a) +#define NS_E_DRM_ACQUIRING_LICENSE _HRESULT_TYPEDEF_(0xc00d272b) +#define NS_E_DRM_INDIVIDUALIZING _HRESULT_TYPEDEF_(0xc00d272c) +#define NS_E_BACKUP_RESTORE_FAILURE _HRESULT_TYPEDEF_(0xc00d272d) +#define NS_E_BACKUP_RESTORE_BAD_REQUEST_ID _HRESULT_TYPEDEF_(0xc00d272e) +#define NS_E_DRM_PARAMETERS_MISMATCHED _HRESULT_TYPEDEF_(0xc00d272f) +#define NS_E_DRM_UNABLE_TO_CREATE_LICENSE_OBJECT _HRESULT_TYPEDEF_(0xc00d2730) +#define NS_E_DRM_UNABLE_TO_CREATE_INDI_OBJECT _HRESULT_TYPEDEF_(0xc00d2731) +#define NS_E_DRM_UNABLE_TO_CREATE_ENCRYPT_OBJECT _HRESULT_TYPEDEF_(0xc00d2732) +#define NS_E_DRM_UNABLE_TO_CREATE_DECRYPT_OBJECT _HRESULT_TYPEDEF_(0xc00d2733) +#define NS_E_DRM_UNABLE_TO_CREATE_PROPERTIES_OBJECT _HRESULT_TYPEDEF_(0xc00d2734) +#define NS_E_DRM_UNABLE_TO_CREATE_BACKUP_OBJECT _HRESULT_TYPEDEF_(0xc00d2735) +#define NS_E_DRM_INDIVIDUALIZE_ERROR _HRESULT_TYPEDEF_(0xc00d2736) +#define NS_E_DRM_LICENSE_OPEN_ERROR _HRESULT_TYPEDEF_(0xc00d2737) +#define NS_E_DRM_LICENSE_CLOSE_ERROR _HRESULT_TYPEDEF_(0xc00d2738) +#define NS_E_DRM_GET_LICENSE_ERROR _HRESULT_TYPEDEF_(0xc00d2739) +#define NS_E_DRM_QUERY_ERROR _HRESULT_TYPEDEF_(0xc00d273a) +#define NS_E_DRM_REPORT_ERROR _HRESULT_TYPEDEF_(0xc00d273b) +#define NS_E_DRM_GET_LICENSESTRING_ERROR _HRESULT_TYPEDEF_(0xc00d273c) +#define NS_E_DRM_GET_CONTENTSTRING_ERROR _HRESULT_TYPEDEF_(0xc00d273d) +#define NS_E_DRM_MONITOR_ERROR _HRESULT_TYPEDEF_(0xc00d273e) +#define NS_E_DRM_UNABLE_TO_SET_PARAMETER _HRESULT_TYPEDEF_(0xc00d273f) +#define NS_E_DRM_INVALID_APPDATA _HRESULT_TYPEDEF_(0xc00d2740) +#define NS_E_DRM_INVALID_APPDATA_VERSION _HRESULT_TYPEDEF_(0xc00d2741) +#define NS_E_DRM_BACKUP_EXISTS _HRESULT_TYPEDEF_(0xc00d2742) +#define NS_E_DRM_BACKUP_CORRUPT _HRESULT_TYPEDEF_(0xc00d2743) +#define NS_E_DRM_BACKUPRESTORE_BUSY _HRESULT_TYPEDEF_(0xc00d2744) +#define NS_E_BACKUP_RESTORE_BAD_DATA _HRESULT_TYPEDEF_(0xc00d2745) +#define NS_S_DRM_MONITOR_CANCELLED _HRESULT_TYPEDEF_(0x000d2746) +#define NS_S_DRM_ACQUIRE_CANCELLED _HRESULT_TYPEDEF_(0x000d2747) +#define NS_E_DRM_LICENSE_UNUSABLE _HRESULT_TYPEDEF_(0xc00d2748) +#define NS_E_DRM_INVALID_PROPERTY _HRESULT_TYPEDEF_(0xc00d2749) +#define NS_E_DRM_SECURE_STORE_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d274a) +#define NS_E_DRM_CACHED_CONTENT_ERROR _HRESULT_TYPEDEF_(0xc00d274b) +#define NS_E_DRM_INDIVIDUALIZATION_INCOMPLETE _HRESULT_TYPEDEF_(0xc00d274c) +#define NS_E_DRM_DRIVER_AUTH_FAILURE _HRESULT_TYPEDEF_(0xc00d274d) +#define NS_E_DRM_NEED_UPGRADE_MSSAP _HRESULT_TYPEDEF_(0xc00d274e) +#define NS_E_DRM_REOPEN_CONTENT _HRESULT_TYPEDEF_(0xc00d274f) +#define NS_E_DRM_DRIVER_DIGIOUT_FAILURE _HRESULT_TYPEDEF_(0xc00d2750) +#define NS_E_DRM_INVALID_SECURESTORE_PASSWORD _HRESULT_TYPEDEF_(0xc00d2751) +#define NS_E_DRM_APPCERT_REVOKED _HRESULT_TYPEDEF_(0xc00d2752) +#define NS_E_DRM_RESTORE_FRAUD _HRESULT_TYPEDEF_(0xc00d2753) +#define NS_E_DRM_HARDWARE_INCONSISTENT _HRESULT_TYPEDEF_(0xc00d2754) +#define NS_E_DRM_SDMI_TRIGGER _HRESULT_TYPEDEF_(0xc00d2755) +#define NS_E_DRM_SDMI_NOMORECOPIES _HRESULT_TYPEDEF_(0xc00d2756) +#define NS_E_DRM_UNABLE_TO_CREATE_HEADER_OBJECT _HRESULT_TYPEDEF_(0xc00d2757) +#define NS_E_DRM_UNABLE_TO_CREATE_KEYS_OBJECT _HRESULT_TYPEDEF_(0xc00d2758) +#define NS_E_DRM_LICENSE_NOTACQUIRED _HRESULT_TYPEDEF_(0xc00d2759) +#define NS_E_DRM_UNABLE_TO_CREATE_CODING_OBJECT _HRESULT_TYPEDEF_(0xc00d275a) +#define NS_E_DRM_UNABLE_TO_CREATE_STATE_DATA_OBJECT _HRESULT_TYPEDEF_(0xc00d275b) +#define NS_E_DRM_BUFFER_TOO_SMALL _HRESULT_TYPEDEF_(0xc00d275c) +#define NS_E_DRM_UNSUPPORTED_PROPERTY _HRESULT_TYPEDEF_(0xc00d275d) +#define NS_E_DRM_ERROR_BAD_NET_RESP _HRESULT_TYPEDEF_(0xc00d275e) +#define NS_E_DRM_STORE_NOTALLSTORED _HRESULT_TYPEDEF_(0xc00d275f) +#define NS_E_DRM_SECURITY_COMPONENT_SIGNATURE_INVALID _HRESULT_TYPEDEF_(0xc00d2760) +#define NS_E_DRM_INVALID_DATA _HRESULT_TYPEDEF_(0xc00d2761) +#define NS_E_DRM_POLICY_DISABLE_ONLINE _HRESULT_TYPEDEF_(0xc00d2762) +#define NS_E_DRM_UNABLE_TO_CREATE_AUTHENTICATION_OBJECT _HRESULT_TYPEDEF_(0xc00d2763) +#define NS_E_DRM_NOT_CONFIGURED _HRESULT_TYPEDEF_(0xc00d2764) +#define NS_E_DRM_DEVICE_ACTIVATION_CANCELED _HRESULT_TYPEDEF_(0xc00d2765) +#define NS_E_BACKUP_RESTORE_TOO_MANY_RESETS _HRESULT_TYPEDEF_(0xc00d2766) +#define NS_E_DRM_DEBUGGING_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d2767) +#define NS_E_DRM_OPERATION_CANCELED _HRESULT_TYPEDEF_(0xc00d2768) +#define NS_E_DRM_RESTRICTIONS_NOT_RETRIEVED _HRESULT_TYPEDEF_(0xc00d2769) +#define NS_E_DRM_UNABLE_TO_CREATE_PLAYLIST_OBJECT _HRESULT_TYPEDEF_(0xc00d276a) +#define NS_E_DRM_UNABLE_TO_CREATE_PLAYLIST_BURN_OBJECT _HRESULT_TYPEDEF_(0xc00d276b) +#define NS_E_DRM_UNABLE_TO_CREATE_DEVICE_REGISTRATION_OBJECT _HRESULT_TYPEDEF_(0xc00d276c) +#define NS_E_DRM_UNABLE_TO_CREATE_METERING_OBJECT _HRESULT_TYPEDEF_(0xc00d276d) +#define NS_S_DRM_BURNABLE_TRACK _HRESULT_TYPEDEF_(0x000d276e) +#define NS_S_DRM_BURNABLE_TRACK_WITH_PLAYLIST_RESTRICTION _HRESULT_TYPEDEF_(0x000d276f) +#define NS_E_DRM_TRACK_EXCEEDED_PLAYLIST_RESTICTION _HRESULT_TYPEDEF_(0xc00d2770) +#define NS_E_DRM_TRACK_EXCEEDED_TRACKBURN_RESTRICTION _HRESULT_TYPEDEF_(0xc00d2771) +#define NS_E_DRM_UNABLE_TO_GET_DEVICE_CERT _HRESULT_TYPEDEF_(0xc00d2772) +#define NS_E_DRM_UNABLE_TO_GET_SECURE_CLOCK _HRESULT_TYPEDEF_(0xc00d2773) +#define NS_E_DRM_UNABLE_TO_SET_SECURE_CLOCK _HRESULT_TYPEDEF_(0xc00d2774) +#define NS_E_DRM_UNABLE_TO_GET_SECURE_CLOCK_FROM_SERVER _HRESULT_TYPEDEF_(0xc00d2775) +#define NS_E_DRM_POLICY_METERING_DISABLED _HRESULT_TYPEDEF_(0xc00d2776) +#define NS_E_DRM_TRANSFER_CHAINED_LICENSES_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2777) +#define NS_E_DRM_SDK_VERSIONMISMATCH _HRESULT_TYPEDEF_(0xc00d2778) +#define NS_E_DRM_LIC_NEEDS_DEVICE_CLOCK_SET _HRESULT_TYPEDEF_(0xc00d2779) +#define NS_E_LICENSE_HEADER_MISSING_URL _HRESULT_TYPEDEF_(0xc00d277a) +#define NS_E_DEVICE_NOT_WMDRM_DEVICE _HRESULT_TYPEDEF_(0xc00d277b) +#define NS_E_DRM_INVALID_APPCERT _HRESULT_TYPEDEF_(0xc00d277c) +#define NS_E_DRM_PROTOCOL_FORCEFUL_TERMINATION_ON_PETITION _HRESULT_TYPEDEF_(0xc00d277d) +#define NS_E_DRM_PROTOCOL_FORCEFUL_TERMINATION_ON_CHALLENGE _HRESULT_TYPEDEF_(0xc00d277e) +#define NS_E_DRM_CHECKPOINT_FAILED _HRESULT_TYPEDEF_(0xc00d277f) +#define NS_E_DRM_BB_UNABLE_TO_INITIALIZE _HRESULT_TYPEDEF_(0xc00d2780) +#define NS_E_DRM_UNABLE_TO_LOAD_HARDWARE_ID _HRESULT_TYPEDEF_(0xc00d2781) +#define NS_E_DRM_UNABLE_TO_OPEN_DATA_STORE _HRESULT_TYPEDEF_(0xc00d2782) +#define NS_E_DRM_DATASTORE_CORRUPT _HRESULT_TYPEDEF_(0xc00d2783) +#define NS_E_DRM_UNABLE_TO_CREATE_INMEMORYSTORE_OBJECT _HRESULT_TYPEDEF_(0xc00d2784) +#define NS_E_DRM_STUBLIB_REQUIRED _HRESULT_TYPEDEF_(0xc00d2785) +#define NS_E_DRM_UNABLE_TO_CREATE_CERTIFICATE_OBJECT _HRESULT_TYPEDEF_(0xc00d2786) +#define NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE _HRESULT_TYPEDEF_(0xc00d2787) +#define NS_E_DRM_INVALID_MIGRATION_IMAGE _HRESULT_TYPEDEF_(0xc00d2788) +#define NS_E_DRM_MIGRATION_TARGET_STATES_CORRUPTED _HRESULT_TYPEDEF_(0xc00d2789) +#define NS_E_DRM_MIGRATION_IMPORTER_NOT_AVAILABLE _HRESULT_TYPEDEF_(0xc00d278a) +#define NS_DRM_E_MIGRATION_UPGRADE_WITH_DIFF_SID _HRESULT_TYPEDEF_(0xc00d278b) +#define NS_DRM_E_MIGRATION_SOURCE_MACHINE_IN_USE _HRESULT_TYPEDEF_(0xc00d278c) +#define NS_DRM_E_MIGRATION_TARGET_MACHINE_LESS_THAN_LH _HRESULT_TYPEDEF_(0xc00d278d) +#define NS_DRM_E_MIGRATION_IMAGE_ALREADY_EXISTS _HRESULT_TYPEDEF_(0xc00d278e) +#define NS_E_DRM_HARDWAREID_MISMATCH _HRESULT_TYPEDEF_(0xc00d278f) +#define NS_E_INVALID_DRMV2CLT_STUBLIB _HRESULT_TYPEDEF_(0xc00d2790) +#define NS_E_DRM_MIGRATION_INVALID_LEGACYV2_DATA _HRESULT_TYPEDEF_(0xc00d2791) +#define NS_E_DRM_MIGRATION_LICENSE_ALREADY_EXISTS _HRESULT_TYPEDEF_(0xc00d2792) +#define NS_E_DRM_MIGRATION_INVALID_LEGACYV2_SST_PASSWORD _HRESULT_TYPEDEF_(0xc00d2793) +#define NS_E_DRM_MIGRATION_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d2794) +#define NS_E_DRM_UNABLE_TO_CREATE_MIGRATION_IMPORTER_OBJECT _HRESULT_TYPEDEF_(0xc00d2795) +#define NS_E_DRM_CHECKPOINT_MISMATCH _HRESULT_TYPEDEF_(0xc00d2796) +#define NS_E_DRM_CHECKPOINT_CORRUPT _HRESULT_TYPEDEF_(0xc00d2797) +#define NS_E_REG_FLUSH_FAILURE _HRESULT_TYPEDEF_(0xc00d2798) +#define NS_E_HDS_KEY_MISMATCH _HRESULT_TYPEDEF_(0xc00d2799) +#define NS_E_DRM_MIGRATION_OPERATION_CANCELLED _HRESULT_TYPEDEF_(0xc00d279a) +#define NS_E_DRM_MIGRATION_OBJECT_IN_USE _HRESULT_TYPEDEF_(0xc00d279b) +#define NS_E_DRM_MALFORMED_CONTENT_HEADER _HRESULT_TYPEDEF_(0xc00d279c) +#define NS_E_DRM_LICENSE_EXPIRED _HRESULT_TYPEDEF_(0xc00d27d8) +#define NS_E_DRM_LICENSE_NOTENABLED _HRESULT_TYPEDEF_(0xc00d27d9) +#define NS_E_DRM_LICENSE_APPSECLOW _HRESULT_TYPEDEF_(0xc00d27da) +#define NS_E_DRM_STORE_NEEDINDI _HRESULT_TYPEDEF_(0xc00d27db) +#define NS_E_DRM_STORE_NOTALLOWED _HRESULT_TYPEDEF_(0xc00d27dc) +#define NS_E_DRM_LICENSE_APP_NOTALLOWED _HRESULT_TYPEDEF_(0xc00d27dd) +#define NS_S_DRM_NEEDS_INDIVIDUALIZATION _HRESULT_TYPEDEF_(0x000d27de) +#define NS_E_DRM_LICENSE_CERT_EXPIRED _HRESULT_TYPEDEF_(0xc00d27df) +#define NS_E_DRM_LICENSE_SECLOW _HRESULT_TYPEDEF_(0xc00d27e0) +#define NS_E_DRM_LICENSE_CONTENT_REVOKED _HRESULT_TYPEDEF_(0xc00d27e1) +#define NS_E_DRM_DEVICE_NOT_REGISTERED _HRESULT_TYPEDEF_(0xc00d27e2) +#define NS_E_DRM_LICENSE_NOSAP _HRESULT_TYPEDEF_(0xc00d280a) +#define NS_E_DRM_LICENSE_NOSVP _HRESULT_TYPEDEF_(0xc00d280b) +#define NS_E_DRM_LICENSE_NOWDM _HRESULT_TYPEDEF_(0xc00d280c) +#define NS_E_DRM_LICENSE_NOTRUSTEDCODEC _HRESULT_TYPEDEF_(0xc00d280d) +#define NS_E_DRM_SOURCEID_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d280e) +#define NS_E_DRM_NEEDS_UPGRADE_TEMPFILE _HRESULT_TYPEDEF_(0xc00d283d) +#define NS_E_DRM_NEED_UPGRADE_PD _HRESULT_TYPEDEF_(0xc00d283e) +#define NS_E_DRM_SIGNATURE_FAILURE _HRESULT_TYPEDEF_(0xc00d283f) +#define NS_E_DRM_LICENSE_SERVER_INFO_MISSING _HRESULT_TYPEDEF_(0xc00d2840) +#define NS_E_DRM_BUSY _HRESULT_TYPEDEF_(0xc00d2841) +#define NS_E_DRM_PD_TOO_MANY_DEVICES _HRESULT_TYPEDEF_(0xc00d2842) +#define NS_E_DRM_INDIV_FRAUD _HRESULT_TYPEDEF_(0xc00d2843) +#define NS_E_DRM_INDIV_NO_CABS _HRESULT_TYPEDEF_(0xc00d2844) +#define NS_E_DRM_INDIV_SERVICE_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d2845) +#define NS_E_DRM_RESTORE_SERVICE_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d2846) +#define NS_E_DRM_CLIENT_CODE_EXPIRED _HRESULT_TYPEDEF_(0xc00d2847) +#define NS_E_DRM_NO_UPLINK_LICENSE _HRESULT_TYPEDEF_(0xc00d2848) +#define NS_E_DRM_INVALID_KID _HRESULT_TYPEDEF_(0xc00d2849) +#define NS_E_DRM_LICENSE_INITIALIZATION_ERROR _HRESULT_TYPEDEF_(0xc00d284a) +#define NS_E_DRM_CHAIN_TOO_LONG _HRESULT_TYPEDEF_(0xc00d284c) +#define NS_E_DRM_UNSUPPORTED_ALGORITHM _HRESULT_TYPEDEF_(0xc00d284d) +#define NS_E_DRM_LICENSE_DELETION_ERROR _HRESULT_TYPEDEF_(0xc00d284e) +#define NS_E_DRM_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0xc00d28a0) +#define NS_E_DRM_CERTIFICATE_REVOKED _HRESULT_TYPEDEF_(0xc00d28a1) +#define NS_E_DRM_LICENSE_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d28a2) +#define NS_E_DRM_DEVICE_LIMIT_REACHED _HRESULT_TYPEDEF_(0xc00d28a3) +#define NS_E_DRM_UNABLE_TO_VERIFY_PROXIMITY _HRESULT_TYPEDEF_(0xc00d28a4) +#define NS_E_DRM_MUST_REGISTER _HRESULT_TYPEDEF_(0xc00d28a5) +#define NS_E_DRM_MUST_APPROVE _HRESULT_TYPEDEF_(0xc00d28a6) +#define NS_E_DRM_MUST_REVALIDATE _HRESULT_TYPEDEF_(0xc00d28a7) +#define NS_E_DRM_INVALID_PROXIMITY_RESPONSE _HRESULT_TYPEDEF_(0xc00d28a8) +#define NS_E_DRM_INVALID_SESSION _HRESULT_TYPEDEF_(0xc00d28a9) +#define NS_E_DRM_DEVICE_NOT_OPEN _HRESULT_TYPEDEF_(0xc00d28aa) +#define NS_E_DRM_DEVICE_ALREADY_REGISTERED _HRESULT_TYPEDEF_(0xc00d28ab) +#define NS_E_DRM_UNSUPPORTED_PROTOCOL_VERSION _HRESULT_TYPEDEF_(0xc00d28ac) +#define NS_E_DRM_UNSUPPORTED_ACTION _HRESULT_TYPEDEF_(0xc00d28ad) +#define NS_E_DRM_CERTIFICATE_SECURITY_LEVEL_INADEQUATE _HRESULT_TYPEDEF_(0xc00d28ae) +#define NS_E_DRM_UNABLE_TO_OPEN_PORT _HRESULT_TYPEDEF_(0xc00d28af) +#define NS_E_DRM_BAD_REQUEST _HRESULT_TYPEDEF_(0xc00d28b0) +#define NS_E_DRM_INVALID_CRL _HRESULT_TYPEDEF_(0xc00d28b1) +#define NS_E_DRM_ATTRIBUTE_TOO_LONG _HRESULT_TYPEDEF_(0xc00d28b2) +#define NS_E_DRM_EXPIRED_LICENSEBLOB _HRESULT_TYPEDEF_(0xc00d28b3) +#define NS_E_DRM_INVALID_LICENSEBLOB _HRESULT_TYPEDEF_(0xc00d28b4) +#define NS_E_DRM_INCLUSION_LIST_REQUIRED _HRESULT_TYPEDEF_(0xc00d28b5) +#define NS_E_DRM_DRMV2CLT_REVOKED _HRESULT_TYPEDEF_(0xc00d28b6) +#define NS_E_DRM_RIV_TOO_SMALL _HRESULT_TYPEDEF_(0xc00d28b7) +#define NS_E_OUTPUT_PROTECTION_LEVEL_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2904) +#define NS_E_COMPRESSED_DIGITAL_VIDEO_PROTECTION_LEVEL_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2905) +#define NS_E_UNCOMPRESSED_DIGITAL_VIDEO_PROTECTION_LEVEL_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2906) +#define NS_E_ANALOG_VIDEO_PROTECTION_LEVEL_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2907) +#define NS_E_COMPRESSED_DIGITAL_AUDIO_PROTECTION_LEVEL_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2908) +#define NS_E_UNCOMPRESSED_DIGITAL_AUDIO_PROTECTION_LEVEL_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d2909) +#define NS_E_OUTPUT_PROTECTION_SCHEME_UNSUPPORTED _HRESULT_TYPEDEF_(0xc00d290a) + +/* Setup errors */ +#define NS_S_REBOOT_RECOMMENDED _HRESULT_TYPEDEF_(0x000d2af8) +#define NS_S_REBOOT_REQUIRED _HRESULT_TYPEDEF_(0x000d2af9) +#define NS_E_REBOOT_RECOMMENDED _HRESULT_TYPEDEF_(0xc00d2afa) +#define NS_E_REBOOT_REQUIRED _HRESULT_TYPEDEF_(0xc00d2afb) +#define NS_E_SETUP_INCOMPLETE _HRESULT_TYPEDEF_(0xc00d2afc) +#define NS_E_SETUP_DRM_MIGRATION_FAILED _HRESULT_TYPEDEF_(0xc00d2afd) +#define NS_E_SETUP_IGNORABLE_FAILURE _HRESULT_TYPEDEF_(0xc00d2afe) +#define NS_E_SETUP_DRM_MIGRATION_FAILED_AND_IGNORABLE_FAILURE _HRESULT_TYPEDEF_(0xc00d2aff) +#define NS_E_SETUP_BLOCKED _HRESULT_TYPEDEF_(0xc00d2b00) + +/* Networking errors */ +#define NS_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0xc00d2ee0) +#define NS_E_REDIRECT_TO_PROXY _HRESULT_TYPEDEF_(0xc00d2ee1) +#define NS_E_INTERNAL_SERVER_ERROR _HRESULT_TYPEDEF_(0xc00d2ee2) +#define NS_E_BAD_REQUEST _HRESULT_TYPEDEF_(0xc00d2ee3) +#define NS_E_ERROR_FROM_PROXY _HRESULT_TYPEDEF_(0xc00d2ee4) +#define NS_E_PROXY_TIMEOUT _HRESULT_TYPEDEF_(0xc00d2ee5) +#define NS_E_SERVER_UNAVAILABLE _HRESULT_TYPEDEF_(0xc00d2ee6) +#define NS_E_REFUSED_BY_SERVER _HRESULT_TYPEDEF_(0xc00d2ee7) +#define NS_E_INCOMPATIBLE_SERVER _HRESULT_TYPEDEF_(0xc00d2ee8) +#define NS_E_MULTICAST_DISABLED _HRESULT_TYPEDEF_(0xc00d2ee9) +#define NS_E_INVALID_REDIRECT _HRESULT_TYPEDEF_(0xc00d2eea) +#define NS_E_ALL_PROTOCOLS_DISABLED _HRESULT_TYPEDEF_(0xc00d2eeb) +#define NS_E_MSBD_NO_LONGER_SUPPORTED _HRESULT_TYPEDEF_(0xc00d2eec) +#define NS_E_PROXY_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d2eed) +#define NS_E_CANNOT_CONNECT_TO_PROXY _HRESULT_TYPEDEF_(0xc00d2eee) +#define NS_E_SERVER_DNS_TIMEOUT _HRESULT_TYPEDEF_(0xc00d2eef) +#define NS_E_PROXY_DNS_TIMEOUT _HRESULT_TYPEDEF_(0xc00d2ef0) +#define NS_E_CLOSED_ON_SUSPEND _HRESULT_TYPEDEF_(0xc00d2ef1) +#define NS_E_CANNOT_READ_PLAYLIST_FROM_MEDIASERVER _HRESULT_TYPEDEF_(0xc00d2ef2) +#define NS_E_SESSION_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d2ef3) +#define NS_E_REQUIRE_STREAMING_CLIENT _HRESULT_TYPEDEF_(0xc00d2ef4) +#define NS_E_PLAYLIST_ENTRY_HAS_CHANGED _HRESULT_TYPEDEF_(0xc00d2ef5) +#define NS_E_PROXY_ACCESSDENIED _HRESULT_TYPEDEF_(0xc00d2ef6) +#define NS_E_PROXY_SOURCE_ACCESSDENIED _HRESULT_TYPEDEF_(0xc00d2ef7) +#define NS_E_NETWORK_SINK_WRITE _HRESULT_TYPEDEF_(0xc00d2ef8) +#define NS_E_FIREWALL _HRESULT_TYPEDEF_(0xc00d2ef9) +#define NS_E_MMS_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d2efa) +#define NS_E_SERVER_ACCESSDENIED _HRESULT_TYPEDEF_(0xc00d2efb) +#define NS_E_RESOURCE_GONE _HRESULT_TYPEDEF_(0xc00d2efc) +#define NS_E_NO_EXISTING_PACKETIZER _HRESULT_TYPEDEF_(0xc00d2efd) +#define NS_E_BAD_SYNTAX_IN_SERVER_RESPONSE _HRESULT_TYPEDEF_(0xc00d2efe) +#define NS_I_RECONNECTED _HRESULT_TYPEDEF_(0x400d2eff) +#define NS_E_RESET_SOCKET_CONNECTION _HRESULT_TYPEDEF_(0xc00d2f00) +#define NS_I_NOLOG_STOP _HRESULT_TYPEDEF_(0x400d2f01) +#define NS_E_TOO_MANY_HOPS _HRESULT_TYPEDEF_(0xc00d2f02) +#define NS_I_EXISTING_PACKETIZER _HRESULT_TYPEDEF_(0x400d2f03) +#define NS_I_MANUAL_PROXY _HRESULT_TYPEDEF_(0x400d2f04) +#define NS_E_TOO_MUCH_DATA_FROM_SERVER _HRESULT_TYPEDEF_(0xc00d2f05) +#define NS_E_CONNECT_TIMEOUT _HRESULT_TYPEDEF_(0xc00d2f06) +#define NS_E_PROXY_CONNECT_TIMEOUT _HRESULT_TYPEDEF_(0xc00d2f07) +#define NS_E_SESSION_INVALID _HRESULT_TYPEDEF_(0xc00d2f08) +#define NS_S_EOSRECEDING _HRESULT_TYPEDEF_(0x000d2f09) +#define NS_E_PACKETSINK_UNKNOWN_FEC_STREAM _HRESULT_TYPEDEF_(0xc00d2f0a) +#define NS_E_PUSH_CANNOTCONNECT _HRESULT_TYPEDEF_(0xc00d2f0b) +#define NS_E_INCOMPATIBLE_PUSH_SERVER _HRESULT_TYPEDEF_(0xc00d2f0c) +#define NS_S_CHANGENOTICE _HRESULT_TYPEDEF_(0x000d2f0d) + +/* Client media service errors */ +#define NS_E_END_OF_PLAYLIST _HRESULT_TYPEDEF_(0xc00d32c8) +#define NS_E_USE_FILE_SOURCE _HRESULT_TYPEDEF_(0xc00d32c9) +#define NS_E_PROPERTY_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d32ca) +#define NS_E_PROPERTY_READ_ONLY _HRESULT_TYPEDEF_(0xc00d32cc) +#define NS_E_TABLE_KEY_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d32cd) +#define NS_E_INVALID_QUERY_OPERATOR _HRESULT_TYPEDEF_(0xc00d32cf) +#define NS_E_INVALID_QUERY_PROPERTY _HRESULT_TYPEDEF_(0xc00d32d0) +#define NS_E_PROPERTY_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d32d2) +#define NS_E_SCHEMA_CLASSIFY_FAILURE _HRESULT_TYPEDEF_(0xc00d32d4) +#define NS_E_METADATA_FORMAT_NOT_SUPPORTED _HRESULT_TYPEDEF_(0xc00d32d5) +#define NS_E_METADATA_NO_EDITING_CAPABILITY _HRESULT_TYPEDEF_(0xc00d32d6) +#define NS_E_METADATA_CANNOT_SET_LOCALE _HRESULT_TYPEDEF_(0xc00d32d7) +#define NS_E_METADATA_LANGUAGE_NOT_SUPORTED _HRESULT_TYPEDEF_(0xc00d32d8) +#define NS_E_METADATA_NO_RFC1766_NAME_FOR_LOCALE _HRESULT_TYPEDEF_(0xc00d32d9) +#define NS_E_METADATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0xc00d32da) +#define NS_E_METADATA_CACHE_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0xc00d32db) +#define NS_E_METADATA_INVALID_DOCUMENT_TYPE _HRESULT_TYPEDEF_(0xc00d32dc) +#define NS_E_METADATA_IDENTIFIER_NOT_AVAILABLE _HRESULT_TYPEDEF_(0xc00d32dd) +#define NS_E_METADATA_CANNOT_RETRIEVE_FROM_OFFLINE_CACHE _HRESULT_TYPEDEF_(0xc00d32de) + +#endif /* _NSERROR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nspapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nspapi.h new file mode 100644 index 0000000..dc0e0f5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/nspapi.h @@ -0,0 +1,205 @@ +/* NSPAPI.H -- winsock 1.1 + * not supported on win95 + * + * Copyright (C) 2001 Stefan Leichter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINE_NSPAPI_ +#define _WINE_NSPAPI_ + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ +/* + * constants + */ +#define XP_CONNECTIONLESS 0x00000001 +#define XP_GUARANTEED_DELIVERY 0x00000002 +#define XP_GUARANTEED_ORDER 0x00000004 +#define XP_MESSAGE_ORIENTED 0x00000008 +#define XP_PSEUDO_STREAM 0x00000010 +#define XP_GRACEFUL_CLOSE 0x00000020 +#define XP_EXPEDITED_DATA 0x00000040 +#define XP_CONNECT_DATA 0x00000080 +#define XP_DISCONNECT_DATA 0x00000100 +#define XP_SUPPORTS_BROADCAST 0x00000200 +#define XP_SUPPORTS_MULTICAST 0x00000400 +#define XP_BANDWIDTH_ALLOCATION 0x00000800 +#define XP_FRAGMENTATION 0x00001000 +#define XP_ENCRYPTS 0x00002000 + +/* + * structures + */ +typedef struct _PROTOCOL_INFOA +{ + DWORD dwServiceFlags; + INT iAddressFamily; + INT iMaxSockAddr; + INT iMinSockAddr; + INT iSocketType; + INT iProtocol; + DWORD dwMessageSize; + LPSTR lpProtocol; +} PROTOCOL_INFOA, *PPROTOCOL_INFOA, *LPPROTOCOL_INFOA; + +typedef struct _PROTOCOL_INFOW +{ + DWORD dwServiceFlags; + INT iAddressFamily; + INT iMaxSockAddr; + INT iMinSockAddr; + INT iSocketType; + INT iProtocol; + DWORD dwMessageSize; + LPWSTR lpProtocol; +} PROTOCOL_INFOW, *PPROTOCOL_INFOW, *LPPROTOCOL_INFOW; + +DECL_WINELIB_TYPE_AW(PROTOCOL_INFO) +DECL_WINELIB_TYPE_AW(PPROTOCOL_INFO) +DECL_WINELIB_TYPE_AW(LPPROTOCOL_INFO) + +typedef struct _SERVICE_ADDRESS +{ + DWORD dwAddressType; + DWORD dwAddressFlags; + DWORD dwAddressLength; + DWORD dwPrincipalLength; + BYTE* lpAddress; + BYTE* lpPrincipal; +} SERVICE_ADDRESS, *PSERVICE_ADDRESS, *LPSERVICE_ADDRESS; + +typedef struct _SERVICE_ADDRESSES +{ + DWORD dwAddressCount; + SERVICE_ADDRESS Addresses[1]; +} SERVICE_ADDRESSES, *PSERVICE_ADDRESSES, *LPSERVICE_ADDRESSES; + +typedef struct _SERVICE_INFOA +{ + LPGUID lpServiceType; + LPSTR lpServiceName; + LPSTR lpComment; + LPSTR lpLocale; + DWORD dwDisplayHint; + DWORD dwVersion; + DWORD dwTime; + LPSTR lpMachineName; + LPSERVICE_ADDRESSES lpServiceAddress; + BLOB ServiceSpecificInfo; +} SERVICE_INFOA, *PSERVICE_INFOA, *LPSERVICE_INFOA; + +typedef struct _SERVICE_INFOW +{ + LPGUID lpServiceType; + LPWSTR lpServiceName; + LPWSTR lpComment; + LPWSTR lpLocale; + DWORD dwDisplayHint; + DWORD dwVersion; + DWORD dwTime; + LPSTR lpMachineName; + LPSERVICE_ADDRESSES lpServiceAddress; + BLOB ServiceSpecificInfo; /* May point to SERVICE_TYPE_INFO_ABS */ +} SERVICE_INFOW, *PSERVICE_INFOW, *LPSERVICE_INFOW; + +DECL_WINELIB_TYPE_AW(SERVICE_INFO) +DECL_WINELIB_TYPE_AW(PSERVICE_INFO) +DECL_WINELIB_TYPE_AW(LPSERVICE_INFO) + +typedef struct _SERVICE_TYPE_VALUE_ABSA +{ + DWORD dwNameSpace; /* Name space or set of name spaces */ + DWORD dwValueType; /* Type of the value data */ + DWORD dwValueSize; /* Size of the value data */ + LPSTR lpValueName; /* Name of the value */ + PVOID lpValue; /* Pointer to the value data */ +} SERVICE_TYPE_VALUE_ABSA, *PSERVICE_TYPE_VALUE_ABSA, *LPSERVICE_TYPE_VALUE_ABSA; + +typedef struct _SERVICE_TYPE_VALUE_ABSW +{ + DWORD dwNameSpace; /* Name space or set of name spaces */ + DWORD dwValueType; /* Type of the value data */ + DWORD dwValueSize; /* Size of the value data */ + LPWSTR lpValueName; /* Name of the value */ + PVOID lpValue; /* Pointer to the value data */ +} SERVICE_TYPE_VALUE_ABSW, *PSERVICE_TYPE_VALUE_ABSW, *LPSERVICE_TYPE_VALUE_ABSW; + +DECL_WINELIB_TYPE_AW(SERVICE_TYPE_VALUE_ABS) +DECL_WINELIB_TYPE_AW(PSERVICE_TYPE_VALUE_ABS) +DECL_WINELIB_TYPE_AW(LPSERVICE_TYPE_VALUE_ABS) + +typedef struct _SERVICE_TYPE_INFO_ABSA +{ + LPSTR lpTypeName; /* Name of the network service type */ + DWORD dwValueCount; /* Number of SERVICE_TYPE_VALUE_ABS structures */ + SERVICE_TYPE_VALUE_ABSA Values[1]; /* Array of SERVICE_TYPE_VALUE_ABS structures */ +} SERVICE_TYPE_INFO_ABSA, *PSERVICE_TYPE_INFO_ABSA, *LPSERVICE_TYPE_INFO_ABSA; + +typedef struct _SERVICE_TYPE_INFO_ABSW +{ + LPWSTR lpTypeName; /* Name of the network service type */ + DWORD dwValueCount; /* Number of SERVICE_TYPE_VALUE_ABS structures */ + SERVICE_TYPE_VALUE_ABSW Values[1]; /* Array of SERVICE_TYPE_VALUE_ABS structures */ +} SERVICE_TYPE_INFO_ABSW, *PSERVICE_TYPE_INFO_ABSW, *LPSERVICE_TYPE_INFO_ABSW; + +DECL_WINELIB_TYPE_AW(SERVICE_TYPE_INFO_ABS) +DECL_WINELIB_TYPE_AW(PSERVICE_TYPE_INFO_ABS) +DECL_WINELIB_TYPE_AW(LPSERVICE_TYPE_INFO_ABS) + +typedef void (*LPSERVICE_CALLBACK_PROC)(LPARAM lParam, HANDLE hAsyncTaskHandle); + +typedef struct _SERVICE_ASYNC_INFO +{ + LPSERVICE_CALLBACK_PROC lpServiceCallbackProc; + LPARAM lParam; + HANDLE hAsyncTaskHandle; +} SERVICE_ASYNC_INFO, *PSERVICE_ASYNC_INFO, *LPSERVICE_ASYNC_INFO; + +/* + * function prototypes + */ +INT WINAPI GetAddressByNameA(DWORD dwNameSpace, LPGUID lpServiceType, LPSTR lpServiceName, + LPINT lpiProtocols, DWORD dwResolution, LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, + LPVOID lpCsaddrBuffer, LPDWORD lpdwBufferLength, LPSTR lpAliasBuffer, + LPDWORD lpdwAliasBufferLength); +INT WINAPI GetAddressByNameW(DWORD dwNameSpace, LPGUID lpServiceType, LPWSTR lpServiceName, + LPINT lpiProtocols, DWORD dwResolution, LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, + LPVOID lpCsaddrBuffer, LPDWORD lpdwBufferLength, LPWSTR lpAliasBuffer, + LPDWORD lpdwAliasBufferLength); +#define GetAddressByName WINELIB_NAME_AW(GetAddressByName) +INT WINAPI GetTypeByNameA(LPSTR lpServiceName, LPGUID lpServiceType); +INT WINAPI GetTypeByNameW(LPWSTR lpServiceName, LPGUID lpServiceType); +#define GetTypeByName WINELIB_NAME_AW(GetTypeByName) +INT WINAPI SetServiceA(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSERVICE_INFOA lpServiceInfo, + LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags); +INT WINAPI SetServiceW(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSERVICE_INFOW lpServiceInfo, + LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags); +#define SetService WINELIB_NAME_AW(SetService) +INT WINAPI GetServiceA(DWORD dwNameSpace, LPGUID lpGuid, LPSTR lpServiceName, + DWORD dwProperties, LPVOID lpBuffer, LPDWORD lpdwBufferSize, + LPSERVICE_ASYNC_INFO lpServiceAsyncInfo); +INT WINAPI GetServiceW(DWORD dwNameSpace, LPGUID lpGuid, LPSTR lpServiceName, + DWORD dwProperties, LPVOID lpBuffer, LPDWORD lpdwBufferSize, + LPSERVICE_ASYNC_INFO lpServiceAsyncInfo); +#define GetService WINELIB_NAME_AW(GetService) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* _WINE_NSPAPI_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddcdrm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddcdrm.h new file mode 100644 index 0000000..8d45b30 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddcdrm.h @@ -0,0 +1,185 @@ +/* + * DDK information for CD ROM + * + * Copyright (C) 2002 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __NTDDCDRM_H +#define __NTDDCDRM_H + +#define IOCTL_CDROM_BASE FILE_DEVICE_CD_ROM +#define IOCTL_CDROM_UNLOAD_DRIVER CTL_CODE(IOCTL_CDROM_BASE, 0x0402, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_READ_TOC CTL_CODE(IOCTL_CDROM_BASE, 0x0000, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_GET_CONTROL CTL_CODE(IOCTL_CDROM_BASE, 0x000D, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_PLAY_AUDIO_MSF CTL_CODE(IOCTL_CDROM_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_SEEK_AUDIO_MSF CTL_CODE(IOCTL_CDROM_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_STOP_AUDIO CTL_CODE(IOCTL_CDROM_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_PAUSE_AUDIO CTL_CODE(IOCTL_CDROM_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_RESUME_AUDIO CTL_CODE(IOCTL_CDROM_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_GET_VOLUME CTL_CODE(IOCTL_CDROM_BASE, 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_SET_VOLUME CTL_CODE(IOCTL_CDROM_BASE, 0x000A, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_READ_Q_CHANNEL CTL_CODE(IOCTL_CDROM_BASE, 0x000B, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_GET_LAST_SESSION CTL_CODE(IOCTL_CDROM_BASE, 0x000E, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_RAW_READ CTL_CODE(IOCTL_CDROM_BASE, 0x000F, METHOD_OUT_DIRECT, FILE_READ_ACCESS) +#define IOCTL_CDROM_DISK_TYPE CTL_CODE(IOCTL_CDROM_BASE, 0x0010, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_CDROM_GET_DRIVE_GEOMETRY CTL_CODE(IOCTL_CDROM_BASE, 0x0013, METHOD_BUFFERED, FILE_READ_ACCESS) + +#define IOCTL_CDROM_CHECK_VERIFY CTL_CODE(IOCTL_CDROM_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_MEDIA_REMOVAL CTL_CODE(IOCTL_CDROM_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_EJECT_MEDIA CTL_CODE(IOCTL_CDROM_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_LOAD_MEDIA CTL_CODE(IOCTL_CDROM_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_RESERVE CTL_CODE(IOCTL_CDROM_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_RELEASE CTL_CODE(IOCTL_CDROM_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_FIND_NEW_DEVICES CTL_CODE(IOCTL_CDROM_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS) + +#include + +#define MAXIMUM_NUMBER_TRACKS 100 +#define MAXIMUM_CDROM_SIZE 804 + +typedef struct _TRACK_DATA { + UCHAR Reserved; + UCHAR Control : 4; + UCHAR Adr : 4; + UCHAR TrackNumber; + UCHAR Reserved1; + UCHAR Address[4]; +} TRACK_DATA, *PTRACK_DATA; + +typedef struct _CDROM_TOC { + UCHAR Length[2]; + UCHAR FirstTrack; + UCHAR LastTrack; + TRACK_DATA TrackData[MAXIMUM_NUMBER_TRACKS]; +} CDROM_TOC, *PCDROM_TOC; + +#define CDROM_TOC_SIZE sizeof(CDROM_TOC) + +typedef struct _CDROM_PLAY_AUDIO_MSF { + UCHAR StartingM; + UCHAR StartingS; + UCHAR StartingF; + UCHAR EndingM; + UCHAR EndingS; + UCHAR EndingF; +} CDROM_PLAY_AUDIO_MSF, *PCDROM_PLAY_AUDIO_MSF; + +typedef struct _CDROM_SEEK_AUDIO_MSF { + UCHAR M; + UCHAR S; + UCHAR F; +} CDROM_SEEK_AUDIO_MSF, *PCDROM_SEEK_AUDIO_MSF; + +typedef struct _CDROM_DISK_DATA { + ULONG DiskData; +} CDROM_DISK_DATA, *PCDROM_DISK_DATA; + +#define CDROM_DISK_AUDIO_TRACK (0x00000001) +#define CDROM_DISK_DATA_TRACK (0x00000002) + +#define IOCTL_CDROM_SUB_Q_CHANNEL 0x00 +#define IOCTL_CDROM_CURRENT_POSITION 0x01 +#define IOCTL_CDROM_MEDIA_CATALOG 0x02 +#define IOCTL_CDROM_TRACK_ISRC 0x03 + +typedef struct _CDROM_SUB_Q_DATA_FORMAT { + UCHAR Format; + UCHAR Track; +} CDROM_SUB_Q_DATA_FORMAT, *PCDROM_SUB_Q_DATA_FORMAT; + +typedef struct _SUB_Q_HEADER { + UCHAR Reserved; + UCHAR AudioStatus; + UCHAR DataLength[2]; +} SUB_Q_HEADER, *PSUB_Q_HEADER; + +typedef struct _SUB_Q_CURRENT_POSITION { + SUB_Q_HEADER Header; + UCHAR FormatCode; + UCHAR Control : 4; + UCHAR ADR : 4; + UCHAR TrackNumber; + UCHAR IndexNumber; + UCHAR AbsoluteAddress[4]; + UCHAR TrackRelativeAddress[4]; +} SUB_Q_CURRENT_POSITION, *PSUB_Q_CURRENT_POSITION; + +typedef struct _SUB_Q_MEDIA_CATALOG_NUMBER { + SUB_Q_HEADER Header; + UCHAR FormatCode; + UCHAR Reserved[3]; + UCHAR Reserved1 : 7; + UCHAR Mcval : 1; + UCHAR MediaCatalog[15]; +} SUB_Q_MEDIA_CATALOG_NUMBER, *PSUB_Q_MEDIA_CATALOG_NUMBER; + +typedef struct _SUB_Q_TRACK_ISRC { + SUB_Q_HEADER Header; + UCHAR FormatCode; + UCHAR Reserved0; + UCHAR Track; + UCHAR Reserved1; + UCHAR Reserved2 : 7; + UCHAR Tcval : 1; + UCHAR TrackIsrc[15]; +} SUB_Q_TRACK_ISRC, *PSUB_Q_TRACK_ISRC; + +typedef union _SUB_Q_CHANNEL_DATA { + SUB_Q_CURRENT_POSITION CurrentPosition; + SUB_Q_MEDIA_CATALOG_NUMBER MediaCatalog; + SUB_Q_TRACK_ISRC TrackIsrc; +} SUB_Q_CHANNEL_DATA, *PSUB_Q_CHANNEL_DATA; + +#define AUDIO_STATUS_NOT_SUPPORTED 0x00 +#define AUDIO_STATUS_IN_PROGRESS 0x11 +#define AUDIO_STATUS_PAUSED 0x12 +#define AUDIO_STATUS_PLAY_COMPLETE 0x13 +#define AUDIO_STATUS_PLAY_ERROR 0x14 +#define AUDIO_STATUS_NO_STATUS 0x15 + +#define ADR_NO_MODE_INFORMATION 0x0 +#define ADR_ENCODES_CURRENT_POSITION 0x1 +#define ADR_ENCODES_MEDIA_CATALOG 0x2 +#define ADR_ENCODES_ISRC 0x3 + +#define AUDIO_WITH_PREEMPHASIS 0x0 +#define DIGITAL_COPY_PERMITTED 0x2 +#define AUDIO_DATA_TRACK 0x4 +#define TWO_FOUR_CHANNEL_AUDIO 0x8 + +typedef struct _CDROM_AUDIO_CONTROL { + UCHAR LbaFormat; + USHORT LogicalBlocksPerSecond; +} CDROM_AUDIO_CONTROL, *PCDROM_AUDIO_CONTROL; + +typedef struct _VOLUME_CONTROL { + UCHAR PortVolume[4]; +} VOLUME_CONTROL, *PVOLUME_CONTROL; + +typedef enum _TRACK_MODE_TYPE { + YellowMode2, + XAForm2, + CDDA +} TRACK_MODE_TYPE, *PTRACK_MODE_TYPE; + +typedef struct __RAW_READ_INFO { + LARGE_INTEGER DiskOffset; + ULONG SectorCount; + TRACK_MODE_TYPE TrackMode; +} RAW_READ_INFO, *PRAW_READ_INFO; + +#endif /* __NTDDCDRM_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddndis.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddndis.h new file mode 100644 index 0000000..e820a81 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddndis.h @@ -0,0 +1,278 @@ +/* + * Copyright 2009 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDDNDIS_ +#define _NTDDNDIS_ + +#include +#include +/* #include */ + +#ifndef GUID_DEFINED +# include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#define _NDIS_CONTROL_CODE(request, method) \ + CTL_CODE(FILE_DEVICE_PHYSICAL_NETCARD, request, method, FILE_ANY_ACCESS) + +#define IOCTL_NDIS_QUERY_GLOBAL_STATS _NDIS_CONTROL_CODE(0, METHOD_OUT_DIRECT) +#define IOCTL_NDIS_QUERY_ALL_STATS _NDIS_CONTROL_CODE(1, METHOD_OUT_DIRECT) +#define IOCTL_NDIS_DO_PNP_OPERATION _NDIS_CONTROL_CODE(2, METHOD_BUFFERED) +#define IOCTL_NDIS_QUERY_SELECTED_STATS _NDIS_CONTROL_CODE(3, METHOD_OUT_DIRECT) +#define IOCTL_NDIS_ENUMERATE_INTERFACES _NDIS_CONTROL_CODE(4, METHOD_BUFFERED) +#define IOCTL_NDIS_ADD_TDI_DEVICE _NDIS_CONTROL_CODE(5, METHOD_BUFFERED) +#define IOCTL_NDIS_GET_LOG_DATA _NDIS_CONTROL_CODE(7, METHOD_OUT_DIRECT) +#define IOCTL_NDIS_GET_VERSION _NDIS_CONTROL_CODE(8, METHOD_BUFFERED) + +#define IOCTL_NDIS_RESERVED1 _NDIS_CONTROL_CODE(0x09, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED2 _NDIS_CONTROL_CODE(0x0a, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED3 _NDIS_CONTROL_CODE(0x0b, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED4 _NDIS_CONTROL_CODE(0x0c, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED5 CTL_CODE(FILE_DEVICE_PHYSICAL_NETCARD, 0x0d, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_NDIS_RESERVED6 CTL_CODE(FILE_DEVICE_PHYSICAL_NETCARD, 0x0e, METHOD_BUFFERED, FILE_WRITE_ACCESS) +#define IOCTL_NDIS_RESERVED7 _NDIS_CONTROL_CODE(0x0f, METHOD_OUT_DIRECT) +#define IOCTL_NDIS_RESERVED8 _NDIS_CONTROL_CODE(0x10, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED9 _NDIS_CONTROL_CODE(0x11, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED10 _NDIS_CONTROL_CODE(0x12, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED11 _NDIS_CONTROL_CODE(0x13, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED12 _NDIS_CONTROL_CODE(0x14, METHOD_BUFFERED) +#define IOCTL_NDIS_RESERVED13 _NDIS_CONTROL_CODE(0x15, METHOD_BUFFERED) + +#define OID_GEN_SUPPORTED_LIST 0x00010101 +#define OID_GEN_HARDWARE_STATUS 0x00010102 +#define OID_GEN_MEDIA_SUPPORTED 0x00010103 +#define OID_GEN_MEDIA_IN_USE 0x00010104 +#define OID_GEN_MAXIMUM_LOOKAHEAD 0x00010105 +#define OID_GEN_MAXIMUM_FRAME_SIZE 0x00010106 +#define OID_GEN_LINK_SPEED 0x00010107 +#define OID_GEN_TRANSMIT_BUFFER_SPACE 0x00010108 +#define OID_GEN_RECEIVE_BUFFER_SPACE 0x00010109 +#define OID_GEN_TRANSMIT_BLOCK_SIZE 0x0001010a +#define OID_GEN_RECEIVE_BLOCK_SIZE 0x0001010b +#define OID_GEN_VENDOR_ID 0x0001010c +#define OID_GEN_VENDOR_DESCRIPTION 0x0001010d +#define OID_GEN_CURRENT_PACKET_FILTER 0x0001010e +#define OID_GEN_CURRENT_LOOKAHEAD 0x0001010f +#define OID_GEN_DRIVER_VERSION 0x00010110 +#define OID_GEN_MAXIMUM_TOTAL_SIZE 0x00010111 +#define OID_GEN_PROTOCOL_OPTIONS 0x00010112 +#define OID_GEN_MAC_OPTIONS 0x00010113 +#define OID_GEN_MEDIA_CONNECT_STATUS 0x00010114 +#define OID_GEN_MAXIMUM_SEND_PACKETS 0x00010115 + +#define OID_802_3_PERMANENT_ADDRESS 0x01010101 +#define OID_802_3_CURRENT_ADDRESS 0x01010102 +#define OID_802_3_MULTICAST_LIST 0x01010103 +#define OID_802_3_MAXIMUM_LIST_SIZE 0x01010104 +#define OID_802_3_MAC_OPTIONS 0x01010105 +#define OID_802_3_RCV_ERROR_ALIGNMENT 0x01020101 +#define OID_802_3_XMIT_ONE_COLLISION 0x01020102 +#define OID_802_3_XMIT_MORE_COLLISIONS 0x01020103 +#define OID_802_3_XMIT_DEFERRED 0x01020201 +#define OID_802_3_XMIT_MAX_COLLISIONS 0x01020202 +#define OID_802_3_RCV_OVERRUN 0x01020203 +#define OID_802_3_XMIT_UNDERRUN 0x01020204 +#define OID_802_3_XMIT_HEARTBEAT_FAILURE 0x01020205 +#define OID_802_3_XMIT_TIMES_CRS_LOST 0x01020206 +#define OID_802_3_XMIT_LATE_COLLISIONS 0x01020207 +#define OID_802_3_ADD_MULTICAST_ADDRESS 0x01010208 +#define OID_802_3_DELETE_MULTICAST_ADDRESS 0x01010209 + +#define OID_802_5_PERMANENT_ADDRESS 0x02010101 +#define OID_802_5_CURRENT_ADDRESS 0x02010102 +#define OID_802_5_CURRENT_FUNCTIONAL 0x02010103 +#define OID_802_5_CURRENT_GROUP 0x02010104 +#define OID_802_5_LAST_OPEN_STATUS 0x02010105 +#define OID_802_5_CURRENT_RING_STATUS 0x02010106 +#define OID_802_5_CURRENT_RING_STATE 0x02010107 +#define OID_802_5_LINE_ERRORS 0x02020101 +#define OID_802_5_LOST_FRAMES 0x02020102 +#define OID_802_5_BURST_ERRORS 0x02020201 +#define OID_802_5_AC_ERRORS 0x02020202 +#define OID_802_5_ABORT_DELIMETERS 0x02020203 +#define OID_802_5_FRAME_COPIED_ERRORS 0x02020204 +#define OID_802_5_FREQUENCY_ERRORS 0x02020205 +#define OID_802_5_TOKEN_ERRORS 0x02020206 +#define OID_802_5_INTERNAL_ERRORS 0x02020207 + +#define OID_802_11_BSSID 0x0d010101 +#define OID_802_11_SSID 0x0d010102 +#define OID_802_11_NETWORK_TYPES_SUPPORTED 0x0d010203 +#define OID_802_11_NETWORK_TYPE_IN_USE 0x0d010204 +#define OID_802_11_TX_POWER_LEVEL 0x0d010205 +#define OID_802_11_RSSI 0x0d010206 +#define OID_802_11_RSSI_TRIGGER 0x0d010207 +#define OID_802_11_INFRASTRUCTURE_MODE 0x0d010108 +#define OID_802_11_FRAGMENTATION_THRESHOLD 0x0d010209 +#define OID_802_11_RTS_THRESHOLD 0x0d01020a +#define OID_802_11_NUMBER_OF_ANTENNAS 0x0d01020b +#define OID_802_11_RX_ANTENNA_SELECTED 0x0d01020c +#define OID_802_11_TX_ANTENNA_SELECTED 0x0d01020d +#define OID_802_11_SUPPORTED_RATES 0x0d01020e +#define OID_802_11_DESIRED_RATES 0x0d010210 +#define OID_802_11_CONFIGURATION 0x0d010211 +#define OID_802_11_STATISTICS 0x0d020212 +#define OID_802_11_ADD_WEP 0x0d010113 +#define OID_802_11_REMOVE_WEP 0x0d010114 +#define OID_802_11_DISASSOCIATE 0x0d010115 +#define OID_802_11_POWER_MODE 0x0d010216 +#define OID_802_11_BSSID_LIST 0x0d010217 +#define OID_802_11_AUTHENTICATION_MODE 0x0d010118 +#define OID_802_11_PRIVACY_FILTER 0x0d010119 +#define OID_802_11_BSSID_LIST_SCAN 0x0d01011a +#define OID_802_11_WEP_STATUS 0x0d01011b +#define OID_802_11_ENCRYPTION_STATUS OID_802_11_WEP_STATUS +#define OID_802_11_RELOAD_DEFAULTS 0x0d01011c +#define OID_802_11_ADD_KEY 0x0d01011d +#define OID_802_11_REMOVE_KEY 0x0d01011e +#define OID_802_11_ASSOCIATION_INFORMATION 0x0d01011f +#define OID_802_11_TEST 0x0d010120 +#define OID_802_11_MEDIA_STREAM_MODE 0x0d010121 +#define OID_802_11_CAPABILITY 0x0d010122 +#define OID_802_11_PMKID 0x0d010123 +#define OID_802_11_NON_BCAST_SSID_LIST 0x0d010124 +#define OID_802_11_RADIO_STATUS 0x0d010125 + +#define NDIS_802_11_LENGTH_SSID 32 +#define NDIS_802_11_LENGTH_RATES 8 +#define NDIS_802_11_LENGTH_RATES_EX 16 + +typedef LONG NDIS_802_11_RSSI; + +typedef struct _NDIS_802_11_CONFIGURATION_FH { + ULONG Length; + ULONG HopPattern; + ULONG HopSet; + ULONG DwellTime; +} NDIS_802_11_CONFIGURATION_FH, *PNDIS_802_11_CONFIGURATION_FH; + +typedef struct _NDIS_802_11_CONFIGURATION { + ULONG Length; + ULONG BeaconPeriod; + ULONG ATIMWindow; + ULONG DSConfig; + NDIS_802_11_CONFIGURATION_FH FHConfig; +} NDIS_802_11_CONFIGURATION, *PNDIS_802_11_CONFIGURATION; + +typedef UCHAR NDIS_802_11_MAC_ADDRESS[6]; + +typedef enum _NDIS_802_11_NETWORK_INFRASTRUCTURE { + Ndis802_11IBSS, + Ndis802_11Infrastructure, + Ndis802_11AutoUnknown, + Ndis802_11InfrastructureMax +} NDIS_802_11_NETWORK_INFRASTRUCTURE, *PNDIS_802_11_NETWORK_INFRASTRUCTURE; + +typedef enum _NDIS_802_11_NETWORK_TYPE { + Ndis802_11FH, + Ndis802_11DS, + Ndis802_11OFDM5, + Ndis802_11OFDM24, + Ndis802_11Automode, + Ndis802_11NetworkTypeMax +} NDIS_802_11_NETWORK_TYPE, *PNDIS_802_11_NETWORK_TYPE; + +typedef UCHAR NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES]; +typedef UCHAR NDIS_802_11_RATES_EX[NDIS_802_11_LENGTH_RATES_EX]; + +typedef struct _NDIS_802_11_SSID { + ULONG SsidLength; + UCHAR Ssid[NDIS_802_11_LENGTH_SSID]; +} NDIS_802_11_SSID, *PNDIS_802_11_SSID; + +typedef struct _NDIS_WLAN_BSSID { + ULONG Length; + NDIS_802_11_MAC_ADDRESS MacAddress; + UCHAR Reserved[2]; + NDIS_802_11_SSID Ssid; + ULONG Privacy; + NDIS_802_11_RSSI Rssi; + NDIS_802_11_NETWORK_TYPE NetworkTypeInUse; + NDIS_802_11_CONFIGURATION Configuration; + NDIS_802_11_NETWORK_INFRASTRUCTURE InfrastructureMode; + NDIS_802_11_RATES SupportedRates; +} NDIS_WLAN_BSSID, *PNDIS_WLAN_BSSID; + +typedef struct _NDIS_802_11_BSSID_LIST { + ULONG NumberOfItems; + NDIS_WLAN_BSSID Bssid[1]; +} NDIS_802_11_BSSID_LIST, *PNDIS_802_11_BSSID_LIST; + +#ifndef _NDIS_ +typedef int NDIS_STATUS, *PNDIS_STATUS; +#endif + +typedef enum _NDIS_MEDIUM +{ + NdisMedium802_3, + NdisMedium802_5, + NdisMediumFddi, + NdisMediumWan, + NdisMediumLocalTalk, + NdisMediumDix, + NdisMediumArcnetRaw, + NdisMediumArcnet878_2, + NdisMediumAtm, + NdisMediumWirelessWan, + NdisMediumIrda, + NdisMediumBpc, + NdisMediumCoWan, + NdisMedium1394, + NdisMediumInfiniBand, + NdisMediumTunnel, + NdisMediumNative802_11, + NdisMediumLoopback, + NdisMediumWiMAX, + NdisMediumIP, + NdisMediumMax +} NDIS_MEDIUM, *PNDIS_MEDIUM; + +typedef enum _NDIS_PHYSICAL_MEDIUM +{ + NdisPhysicalMediumUnspecified, + NdisPhysicalMediumWirelessLan, + NdisPhysicalMediumCableModem, + NdisPhysicalMediumPhoneLine, + NdisPhysicalMediumPowerLine, + NdisPhysicalMediumDSL, + NdisPhysicalMediumFibreChannel, + NdisPhysicalMedium1394, + NdisPhysicalMediumWirelessWan, + NdisPhysicalMediumNative802_11, + NdisPhysicalMediumBluetooth, + NdisPhysicalMediumInfiniband, + NdisPhysicalMediumWiMax, + NdisPhysicalMediumUWB, + NdisPhysicalMedium802_3, + NdisPhysicalMedium802_5, + NdisPhysicalMediumIrda, + NdisPhysicalMediumWiredWAN, + NdisPhysicalMediumWiredCoWan, + NdisPhysicalMediumOther, + NdisPhysicalMediumMax +} NDIS_PHYSICAL_MEDIUM, *PNDIS_PHYSICAL_MEDIUM; + +#ifdef __cplusplus +} +#endif + +#endif /* _NTDDNDIS_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddscsi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddscsi.h new file mode 100644 index 0000000..390b653 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddscsi.h @@ -0,0 +1,124 @@ +/* + * Definitions for scsi media access + * + * Copyright (C) 2002 Laurent Pinchart + * Copyright 2005 Ivan Leo Puoti + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDDSCSI_H_ +#define _NTDDSCSI_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define IOCTL_SCSI_BASE FILE_DEVICE_CONTROLLER + +#define IOCTL_SCSI_PASS_THROUGH CTL_CODE(IOCTL_SCSI_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_SCSI_MINIPORT CTL_CODE(IOCTL_SCSI_BASE, 0x0402, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_SCSI_GET_INQUIRY_DATA CTL_CODE(IOCTL_SCSI_BASE, 0x0403, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SCSI_GET_CAPABILITIES CTL_CODE(IOCTL_SCSI_BASE, 0x0404, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SCSI_PASS_THROUGH_DIRECT CTL_CODE(IOCTL_SCSI_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_SCSI_GET_ADDRESS CTL_CODE(IOCTL_SCSI_BASE, 0x0406, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SCSI_RESCAN_BUS CTL_CODE(IOCTL_SCSI_BASE, 0x0407, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SCSI_GET_DUMP_POINTERS CTL_CODE(IOCTL_SCSI_BASE, 0x0408, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SCSI_FREE_DUMP_POINTERS CTL_CODE(IOCTL_SCSI_BASE, 0x0409, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_IDE_PASS_THROUGH CTL_CODE(IOCTL_SCSI_BASE, 0x040a, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_ATA_PASS_THROUGH CTL_CODE(IOCTL_SCSI_BASE, 0x040b, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_ATA_PASS_THROUGH_DIRECT CTL_CODE(IOCTL_SCSI_BASE, 0x040c, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + +#define SCSI_IOCTL_DATA_OUT 0 +#define SCSI_IOCTL_DATA_IN 1 +#define SCSI_IOCTL_DATA_UNSPECIFIED 2 + +typedef struct _SCSI_PASS_THROUGH { + USHORT Length; + UCHAR ScsiStatus; + UCHAR PathId; + UCHAR TargetId; + UCHAR Lun; + UCHAR CdbLength; + UCHAR SenseInfoLength; + UCHAR DataIn; + ULONG DataTransferLength; + ULONG TimeOutValue; + ULONG_PTR DataBufferOffset; + ULONG SenseInfoOffset; + UCHAR Cdb[16]; +} SCSI_PASS_THROUGH, *PSCSI_PASS_THROUGH; + +typedef struct _SCSI_PASS_THROUGH_DIRECT { + USHORT Length; + UCHAR ScsiStatus; + UCHAR PathId; + UCHAR TargetId; + UCHAR Lun; + UCHAR CdbLength; + UCHAR SenseInfoLength; + UCHAR DataIn; + ULONG DataTransferLength; + ULONG TimeOutValue; + PVOID DataBuffer; + ULONG SenseInfoOffset; + UCHAR Cdb[16]; +} SCSI_PASS_THROUGH_DIRECT, *PSCSI_PASS_THROUGH_DIRECT; + +typedef struct _SCSI_ADDRESS { + ULONG Length; + UCHAR PortNumber; + UCHAR PathId; + UCHAR TargetId; + UCHAR Lun; +} SCSI_ADDRESS, *PSCSI_ADDRESS; + +typedef struct _IO_SCSI_CAPABILITIES { + ULONG Length; + ULONG MaximumTransferLength; + ULONG MaximumPhysicalPages; + ULONG SupportedAsynchronousEvents; + ULONG AlignmentMask; + BOOLEAN TaggedQueuing; + BOOLEAN AdapterScansDown; + BOOLEAN AdapterUsesPio; +} IO_SCSI_CAPABILITIES, *PIO_SCSI_CAPABILITIES; + +typedef struct _SCSI_BUS_DATA { + UCHAR NumberOfLogicalUnits; + UCHAR InitiatorBusId; + ULONG InquiryDataOffset; +} SCSI_BUS_DATA, *PSCSI_BUS_DATA; + +typedef struct _SCSI_ADAPTER_BUS_INFO { + UCHAR NumberOfBuses; + SCSI_BUS_DATA BusData[1]; +} SCSI_ADAPTER_BUS_INFO, *PSCSI_ADAPTER_BUS_INFO; + +typedef struct _SCSI_INQUIRY_DATA { + UCHAR PathId; + UCHAR TargetId; + UCHAR Lun; + BOOLEAN DeviceClaimed; + ULONG InquiryDataLength; + ULONG NextInquiryDataOffset; + UCHAR InquiryData[1]; +} SCSI_INQUIRY_DATA, *PSCSI_INQUIRY_DATA; + +#ifdef __cplusplus +} +#endif + +#endif /* _NTDDSCSI_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddstor.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddstor.h new file mode 100644 index 0000000..d38a947 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntddstor.h @@ -0,0 +1,279 @@ +/* + * DDK definitions for storage media access + * + * Copyright (C) 2002 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDDSTOR_H_ +#define _NTDDSTOR_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define IOCTL_STORAGE_BASE FILE_DEVICE_MASS_STORAGE + +#define IOCTL_STORAGE_CHECK_VERIFY CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_CHECK_VERIFY2 CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_MEDIA_REMOVAL CTL_CODE(IOCTL_STORAGE_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_EJECT_MEDIA CTL_CODE(IOCTL_STORAGE_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_LOAD_MEDIA CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_LOAD_MEDIA2 CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_RESERVE CTL_CODE(IOCTL_STORAGE_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_RELEASE CTL_CODE(IOCTL_STORAGE_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_FIND_NEW_DEVICES CTL_CODE(IOCTL_STORAGE_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_EJECTION_CONTROL CTL_CODE(IOCTL_STORAGE_BASE, 0x0250, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_MCN_CONTROL CTL_CODE(IOCTL_STORAGE_BASE, 0x0251, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_MEDIA_TYPES CTL_CODE(IOCTL_STORAGE_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER CTL_CODE(IOCTL_STORAGE_BASE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_HOTPLUG_INFO CTL_CODE(IOCTL_STORAGE_BASE, 0x0305, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_SET_HOTPLUG_INFO CTL_CODE(IOCTL_STORAGE_BASE, 0x0306, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_STORAGE_RESET_BUS CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_RESET_DEVICE CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_BREAK_RESERVATION CTL_CODE(IOCTL_STORAGE_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_GET_DEVICE_NUMBER CTL_CODE(IOCTL_STORAGE_BASE, 0x0420, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_PREDICT_FAILURE CTL_CODE(IOCTL_STORAGE_BASE, 0x0440, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_QUERY_PROPERTY CTL_CODE(IOCTL_STORAGE_BASE, 0x0500, METHOD_BUFFERED, FILE_ANY_ACCESS) + +DEFINE_GUID(DiskClassGuid, + 0x53f56307, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(CdRomClassGuid, + 0x53f56308, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(PartitionClassGuid, + 0x53f5630a, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(TapeClassGuid, + 0x53f5630b, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(WriteOnceDiskClassGuid, + 0x53f5630c, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(VolumeClassGuid, + 0x53f5630d, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(MediumChangerClassGuid, + 0x53f56310, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(FloppyClassGuid, + 0x53f56311, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(CdChangerClassGuid, + 0x53f56312, 0xb6bf, 0x11d0, 0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); +DEFINE_GUID(StroagePortClassGuid, + 0x2accfe60, 0xc130, 0x11d2, 0xb0, 0x82, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b); + +typedef struct _STORAGE_DEVICE_NUMBER { + DEVICE_TYPE DeviceType; + ULONG DeviceNumber; + ULONG PartitionNumber; +} STORAGE_DEVICE_NUMBER, *PSTORAGE_DEVICE_NUMBER; + +typedef struct _STORAGE_BUS_RESET_REQUEST { + UCHAR PathId; +} STORAGE_BUS_RESET_REQUEST, *PSTORAGE_BUS_RESET_REQUEST; + +typedef struct _PREVENT_MEDIA_REMOVAL { + BOOLEAN PreventMediaRemoval; +} PREVENT_MEDIA_REMOVAL, *PPREVENT_MEDIA_REMOVAL; + +typedef struct _TAPE_STATISTICS { + ULONG Version; + ULONG Flags; + LARGE_INTEGER RecoveredWrites; + LARGE_INTEGER UnrecoveredWrites; + LARGE_INTEGER RecoveredReads; + LARGE_INTEGER UnrecoveredReads; + UCHAR CompressionRatioReads; + UCHAR CompressionRatioWrites; +} TAPE_STATISTICS, *PTAPE_STATISTICS; + +#define RECOVERED_WRITES_VALID 0x00000001 +#define UNRECOVERED_WRITES_VALID 0x00000002 +#define RECOVERED_READS_VALID 0x00000004 +#define UNRECOVERED_READS_VALID 0x00000008 +#define WRITE_COMPRESSION_INFO_VALID 0x00000010 +#define READ_COMPRESSION_INFO_VALID 0x00000020 + +typedef struct _TAPE_GET_STATISTICS { + ULONG Operation; +} TAPE_GET_STATISTICS, *PTAPE_GET_STATISTICS; + +#define TAPE_RETURN_STATISTICS __MSABI_LONG(0) +#define TAPE_RETURN_ENV_INFO __MSABI_LONG(1) +#define TAPE_RESET_STATISTICS __MSABI_LONG(2) + +typedef enum _STORAGE_MEDIA_TYPE { + /* see also defines in ntdddisk.h */ + + DDS_4mm = 0x20, + MiniQic, + Travan, + QIC, + MP_8mm, + AME_8mm, + AIT1_8mm, + DLT, + NCTP, + IBM_3480, + IBM_3490E, + IBM_Magstar_3590, + IBM_Magstar_MP, + STK_DATA_D3, + SONY_DTF, + DV_6mm, + DMI, + SONY_D2, + CLEANER_CARTRIDGE, + CD_ROM, + CD_R, + CD_RW, + DVD_ROM, + DVD_R, + DVD_RW, + MO_3_RW, + MO_5_WO, + MO_5_RW, + MO_5_LIMDOW, + PC_5_WO, + PC_5_RW, + PD_5_RW, + ABL_5_WO, + PINNACLE_APEX_5_RW, + SONY_12_WO, + PHILIPS_12_WO, + HITACHI_12_WO, + CYGNET_12_WO, + KODAK_14_WO, + MO_NFR_525, + NIKON_12_RW, + IOMEGA_ZIP, + IOMEGA_JAZ, + SYQUEST_EZ135, + SYQUEST_EZFLYER, + SYQUEST_SYJET, + AVATAR_F2, + MP2_8mm +} STORAGE_MEDIA_TYPE, *PSTORAGE_MEDIA_TYPE; + +#define MEDIA_ERASEABLE 0x00000001 +#define MEDIA_WRITE_ONCE 0x00000002 +#define MEDIA_READ_ONLY 0x00000004 +#define MEDIA_READ_WRITE 0x00000008 +#define MEDIA_WRITE_PROTECTED 0x00000100 +#define MEDIA_CURRENTLY_MOUNTED 0x80000000 + +typedef struct _DEVICE_MEDIA_INFO { + union { + struct { + LARGE_INTEGER Cylinders; + STORAGE_MEDIA_TYPE MediaType; + ULONG TracksPerCylinder; + ULONG SectorsPerTrack; + ULONG BytesPerSector; + ULONG NumberMediaSides; + ULONG MediaCharacteristics; + } DiskInfo; + struct { + LARGE_INTEGER Cylinders; + STORAGE_MEDIA_TYPE MediaType; + ULONG TracksPerCylinder; + ULONG SectorsPerTrack; + ULONG BytesPerSector; + ULONG NumberMediaSides; + ULONG MediaCharacteristics; + } RemovableDiskInfo; + struct { + STORAGE_MEDIA_TYPE MediaType; + ULONG MediaCharacteristics; + ULONG CurrentBlockSize; + } TapeInfo; + } DeviceSpecific; +} DEVICE_MEDIA_INFO, *PDEVICE_MEDIA_INFO; + +typedef struct _GET_MEDIA_TYPES { + ULONG DeviceType; + ULONG MediaInfoCount; + DEVICE_MEDIA_INFO MediaInfo[1]; +} GET_MEDIA_TYPES, *PGET_MEDIA_TYPES; + +typedef enum _STORAGE_QUERY_TYPE { + PropertyStandardQuery = 0, + PropertyExistsQuery, + PropertyMaskQuery, + PropertyQueryMaxDefined +} STORAGE_QUERY_TYPE, *PSTORAGE_QUERY_TYPE; + +typedef enum _STORAGE_PROPERTY_ID { + StorageDeviceProperty = 0, + StorageAdapterProperty +} STORAGE_PROPERTY_ID, *PSTORAGE_PROPERTY_ID; + +typedef struct _STORAGE_PROPERTY_QUERY { + STORAGE_PROPERTY_ID PropertyId; + STORAGE_QUERY_TYPE QueryType; + UCHAR AdditionalParameters[1]; +} STORAGE_PROPERTY_QUERY, *PSTORAGE_PROPERTY_QUERY; + +typedef struct _STORAGE_DESCRIPTOR_HEADER { + ULONG Version; + ULONG Size; +} STORAGE_DESCRIPTOR_HEADER, *PSTORAGE_DESCRIPTOR_HEADER; + +typedef enum _STORAGE_BUS_TYPE { + BusTypeUnknown = 0x00, + BusTypeScsi, + BusTypeAtapi, + BusTypeAta, + BusType1394, + BusTypeSsa, + BusTypeFibre, + BusTypeUsb, + BusTypeRAID, + BusTypeMaxReserved = 0x7F +} STORAGE_BUS_TYPE, *PSTORAGE_BUS_TYPE; + +typedef struct _STORAGE_DEVICE_DESCRIPTOR { + ULONG Version; + ULONG Size; + UCHAR DeviceType; + UCHAR DeviceTypeModifier; + BOOLEAN RemovableMedia; + BOOLEAN CommandQueueing; + ULONG VendorIdOffset; + ULONG ProductIdOffset; + ULONG ProductRevisionOffset; + ULONG SerialNumberOffset; + STORAGE_BUS_TYPE BusType; + ULONG RawPropertiesLength; + UCHAR RawDeviceProperties[1]; +} STORAGE_DEVICE_DESCRIPTOR, *PSTORAGE_DEVICE_DESCRIPTOR; + +typedef struct _STORAGE_ADAPTER_DESCRIPTOR { + ULONG Version; + ULONG Size; + ULONG MaximumTransferLength; + ULONG MaximumPhysicalPages; + ULONG AlignmentMask; + BOOLEAN AdapterUsesPio; + BOOLEAN AdapterScansDown; + BOOLEAN CommandQueueing; + BOOLEAN AcceleratedTransfer; + BOOLEAN BusType; + USHORT BusMajorVersion; + USHORT BusMinorVersion; +} STORAGE_ADAPTER_DESCRIPTOR, *PSTORAGE_ADAPTER_DESCRIPTOR; + +#ifdef __cplusplus +} +#endif + +#endif /* _NTDDSTOR_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntdef.h new file mode 100644 index 0000000..83ecffd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntdef.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2015 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTDEF_ +#define _NTDEF_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _EVENT_TYPE { + NotificationEvent, + SynchronizationEvent +} EVENT_TYPE; + +typedef enum _TIMER_TYPE { + NotificationTimer, + SynchronizationTimer +} TIMER_TYPE; + +typedef enum _WAIT_TYPE { + WaitAll, + WaitAny, + WaitNotification +} WAIT_TYPE; + +#ifdef __cplusplus +} +#endif + +#endif /* _NTDEF_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntdsapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntdsapi.h new file mode 100644 index 0000000..672ea63 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntdsapi.h @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2006 Dmitry Timoshkov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_NTDSAPI_H +#define __WINE_NTDSAPI_H + +/* FIXME: #include */ + +#ifdef __cplusplus +extern "C" { +#endif + +DWORD WINAPI DsClientMakeSpnForTargetServerA(LPCSTR, LPCSTR, DWORD*, LPSTR); +DWORD WINAPI DsClientMakeSpnForTargetServerW(LPCWSTR, LPCWSTR, DWORD*, LPWSTR); +#define DsClientMakeSpnForTargetServer WINELIB_NAME_AW(DsClientMakeSpnForTargetServer) + +DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR); +DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR); +#define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn) + +typedef enum +{ + DS_SPN_DNS_HOST = 0, + DS_SPN_DN_HOST = 1, + DS_SPN_NB_HOST = 2, + DS_SPN_DOMAIN = 3, + DS_SPN_NB_DOMAIN = 4, + DS_SPN_SERVICE = 5 +} DS_SPN_NAME_TYPE; + +typedef enum +{ + DS_SPN_ADD_SPN_OP = 0, + DS_SPN_REPLACE_SPN_OP = 1, + DS_SPN_DELETE_SPN_OP = 2 +} DS_SPN_WRITE_OP; + +DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN); +DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN); +#define DsServerRegisterSpn WINELIB_NAME_AW(DsServerRegisterSpn) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_NTDSAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntquery.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntquery.h new file mode 100644 index 0000000..307304f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntquery.h @@ -0,0 +1,60 @@ +/* + * Copyright 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_NTQUERY_H__ +#define __WINE_NTQUERY_H__ + +#include "stgprop.h" +#include + +typedef struct _CI_STATE +{ + DWORD cbStruct; + DWORD cWordList; + DWORD cPersistentIndex; + DWORD cQueries; + DWORD cDocuments; + DWORD cFreshTest; + DWORD dwMergeProgress; + DWORD eState; + DWORD cFilteredDocuments; + DWORD cTotalDocuments; + DWORD cPendingScans; + DWORD dwIndexSize; + DWORD cUniqueKeys; + DWORD cSeqQDocuments; + DWORD dwPropCacheSize; +} CI_STATE; + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *); +STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *); +STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *); +#define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs) +STDAPI LoadIFilter(WCHAR const *, IUnknown *, void **); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntsecapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntsecapi.h new file mode 100644 index 0000000..2bb3d31 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntsecapi.h @@ -0,0 +1,394 @@ +/* + * Copyright (C) 1999 Juergen Schmied + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_NTSECAPI_H +#define __WINE_NTSECAPI_H + +#ifndef GUID_DEFINED +# include +#endif + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/* Policy access rights */ +#define POLICY_VIEW_LOCAL_INFORMATION __MSABI_LONG(0x00000001) +#define POLICY_VIEW_AUDIT_INFORMATION __MSABI_LONG(0x00000002) +#define POLICY_GET_PRIVATE_INFORMATION __MSABI_LONG(0x00000004) +#define POLICY_TRUST_ADMIN __MSABI_LONG(0x00000008) +#define POLICY_CREATE_ACCOUNT __MSABI_LONG(0x00000010) +#define POLICY_CREATE_SECRET __MSABI_LONG(0x00000020) +#define POLICY_CREATE_PRIVILEGE __MSABI_LONG(0x00000040) +#define POLICY_SET_DEFAULT_QUOTA_LIMITS __MSABI_LONG(0x00000080) +#define POLICY_SET_AUDIT_REQUIREMENTS __MSABI_LONG(0x00000100) +#define POLICY_AUDIT_LOG_ADMIN __MSABI_LONG(0x00000200) +#define POLICY_SERVER_ADMIN __MSABI_LONG(0x00000400) +#define POLICY_LOOKUP_NAMES __MSABI_LONG(0x00000800) +#define POLICY_NOTIFICATION __MSABI_LONG(0x00001000) + +#define POLICY_ALL_ACCESS ( \ + STANDARD_RIGHTS_REQUIRED | \ + POLICY_VIEW_LOCAL_INFORMATION | \ + POLICY_VIEW_AUDIT_INFORMATION | \ + POLICY_GET_PRIVATE_INFORMATION | \ + POLICY_TRUST_ADMIN | \ + POLICY_CREATE_ACCOUNT | \ + POLICY_CREATE_SECRET | \ + POLICY_CREATE_PRIVILEGE | \ + POLICY_SET_DEFAULT_QUOTA_LIMITS | \ + POLICY_SET_AUDIT_REQUIREMENTS | \ + POLICY_AUDIT_LOG_ADMIN | \ + POLICY_SERVER_ADMIN | \ + POLICY_LOOKUP_NAMES) + + +#define POLICY_READ ( \ + STANDARD_RIGHTS_READ | \ + POLICY_VIEW_AUDIT_INFORMATION | \ + POLICY_GET_PRIVATE_INFORMATION) + +#define POLICY_WRITE ( \ + STANDARD_RIGHTS_WRITE | \ + POLICY_TRUST_ADMIN | \ + POLICY_CREATE_ACCOUNT | \ + POLICY_CREATE_SECRET | \ + POLICY_CREATE_PRIVILEGE | \ + POLICY_SET_DEFAULT_QUOTA_LIMITS | \ + POLICY_SET_AUDIT_REQUIREMENTS | \ + POLICY_AUDIT_LOG_ADMIN | \ + POLICY_SERVER_ADMIN) + +#define POLICY_EXECUTE ( \ + STANDARD_RIGHTS_EXECUTE | \ + POLICY_VIEW_LOCAL_INFORMATION | \ + POLICY_LOOKUP_NAMES) + +#define POLICY_AUDIT_EVENT_UNCHANGED __MSABI_LONG(0x00000000) +#define POLICY_AUDIT_EVENT_SUCCESS __MSABI_LONG(0x00000001) +#define POLICY_AUDIT_EVENT_FAILURE __MSABI_LONG(0x00000002) +#define POLICY_AUDIT_EVENT_NONE __MSABI_LONG(0x00000004) + +#define POLICY_AUDIT_EVENT_MASK (POLICY_AUDIT_EVENT_SUCCESS | \ + POLICY_AUDIT_EVENT_FAILURE | \ + POLICY_AUDIT_EVENT_NONE) + +/* logon rights names */ +#define SE_BATCH_LOGON_NAME \ + TEXT("SeBatchLogonRight") +#define SE_INTERACTIVE_LOGON_NAME \ + TEXT("SeInteractiveLogonRight") +#define SE_NETWORK_LOGON_NAME \ + TEXT("SeNetworkLogonRight") +#define SE_REMOTE_INTERACTIVE_LOGON_NAME \ + TEXT("SeRemoteInteractiveLogonRight") +#define SE_SERVICE_LOGON_NAME \ + TEXT("SeServiceLogonRight") +#define SE_DENY_BATCH_LOGON_NAME \ + TEXT("SeDenyBatchLogonRight") +#define SE_DENY_INTERACTIVE_LOGON_NAME \ + TEXT("SeDenyInteractiveLogonRight") +#define SE_DENY_NETWORK_LOGON_NAME \ + TEXT("SeDenyNetworkLogonRight") +#define SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME \ + TEXT("SeDenyRemoteInteractiveLogonRight") +#define SE_DENY_SERVICE_LOGON_NAME \ + TEXT("SeDenyServiceLogonRight") + +#ifndef WINE_NTSTATUS_DECLARED +#define WINE_NTSTATUS_DECLARED +typedef LONG NTSTATUS; +#endif +#ifndef WINE_PNTSTATUS_DECLARED +#define WINE_PNTSTATUS_DECLARED +typedef NTSTATUS *PNTSTATUS; +#endif + +typedef enum _SECURITY_LOGON_TYPE +{ + Interactive = 2, + Network, + Batch, + Service, + Proxy +} SECURITY_LOGON_TYPE, *PSECURITY_LOGON_TYPE; + +typedef enum _POLICY_AUDIT_EVENT_TYPE +{ + AuditCategorySystem, + AuditCategoryLogon, + AuditCategoryObjectAccess, + AuditCategoryPrivilegeUse, + AuditCategoryDetailedTracking, + AuditCategoryPolicyChange, + AuditCategoryAccountManagement +} POLICY_AUDIT_EVENT_TYPE, *PPOLICY_AUDIT_EVENT_TYPE; + +#ifndef __STRING_DEFINED__ +#define __STRING_DEFINED__ +typedef struct _STRING { + USHORT Length; + USHORT MaximumLength; + PCHAR Buffer; +} STRING, *PSTRING; +#endif + +#ifndef __UNICODE_STRING_DEFINED__ +#define __UNICODE_STRING_DEFINED__ +typedef struct _UNICODE_STRING { + USHORT Length; /* bytes */ + USHORT MaximumLength; /* bytes */ + PWSTR Buffer; +} UNICODE_STRING, *PUNICODE_STRING; +#endif + +#ifndef __OBJECT_ATTRIBUTES_DEFINED__ +#define __OBJECT_ATTRIBUTES_DEFINED__ +typedef struct _OBJECT_ATTRIBUTES { + ULONG Length; + HANDLE RootDirectory; + PUNICODE_STRING ObjectName; + ULONG Attributes; + PVOID SecurityDescriptor; /* type SECURITY_DESCRIPTOR */ + PVOID SecurityQualityOfService; /* type SECURITY_QUALITY_OF_SERVICE */ +} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES; +#endif + +typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING; +typedef STRING LSA_STRING, *PLSA_STRING; +typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES; + +typedef PVOID LSA_HANDLE, *PLSA_HANDLE; +typedef ULONG LSA_ENUMERATION_HANDLE, *PLSA_ENUMERATION_HANDLE; +typedef ULONG LSA_OPERATIONAL_MODE, *PLSA_OPERATIONAL_MODE; + +typedef enum +{ + PolicyAuditLogInformation = 1, + PolicyAuditEventsInformation, + PolicyPrimaryDomainInformation, + PolicyPdAccountInformation, + PolicyAccountDomainInformation, + PolicyLsaServerRoleInformation, + PolicyReplicaSourceInformation, + PolicyDefaultQuotaInformation, + PolicyModificationInformation, + PolicyAuditFullSetInformation, + PolicyAuditFullQueryInformation, + PolicyDnsDomainInformation +} POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS; + +typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS; + +typedef struct _POLICY_AUDIT_EVENTS_INFO +{ + BOOLEAN AuditingMode; + PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions; + ULONG MaximumAuditEventCount; +} POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO; + +typedef struct _POLICY_PRIMARY_DOMAIN_INFO +{ + LSA_UNICODE_STRING Name; + PSID Sid; +} POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO; + +typedef struct _POLICY_ACCOUNT_DOMAIN_INFO +{ + LSA_UNICODE_STRING DomainName; + PSID DomainSid; +} POLICY_ACCOUNT_DOMAIN_INFO, *PPOLICY_ACCOUNT_DOMAIN_INFO; + +typedef struct _POLICY_DNS_DOMAIN_INFO +{ + LSA_UNICODE_STRING Name; + LSA_UNICODE_STRING DnsDomainName; + LSA_UNICODE_STRING DnsForestName; + GUID DomainGuid; + PSID Sid; +} POLICY_DNS_DOMAIN_INFO, *PPOLICY_DNS_DOMAIN_INFO; + +typedef enum _POLICY_LSA_SERVER_ROLE +{ + PolicyServerRoleBackup = 2, + PolicyServerRolePrimary +} POLICY_LSA_SERVER_ROLE, *PPOLICY_LSA_SERVER_ROLE; + +typedef struct _POLICY_LSA_SERVER_ROLE_INFO +{ + POLICY_LSA_SERVER_ROLE LsaServerRole; +} POLICY_LSA_SERVER_ROLE_INFO, *PPOLICY_LSA_SERVER_ROLE_INFO; + +typedef struct _POLICY_MODIFICATION_INFO +{ + LARGE_INTEGER ModifiedId; + LARGE_INTEGER DatabaseCreationTime; +} POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO; + +typedef struct _SECURITY_LOGON_SESSION_DATA { + ULONG Size; + LUID LogonId; + LSA_UNICODE_STRING UserName; + LSA_UNICODE_STRING LogonDomain; + LSA_UNICODE_STRING AuthenticationPackage; + ULONG LogonType; + ULONG Session; + PSID Sid; + LARGE_INTEGER LogonTime; + LSA_UNICODE_STRING LogonServer; + LSA_UNICODE_STRING DnsDomainName; + LSA_UNICODE_STRING Upn; +} SECURITY_LOGON_SESSION_DATA, *PSECURITY_LOGON_SESSION_DATA; + +typedef struct +{ + SID_NAME_USE Use; + LSA_UNICODE_STRING Name; + LONG DomainIndex; +} LSA_TRANSLATED_NAME, *PLSA_TRANSLATED_NAME; + +typedef struct +{ + LSA_UNICODE_STRING Name; + PSID Sid; +} LSA_TRUST_INFORMATION, *PLSA_TRUST_INFORMATION; + +typedef struct +{ + ULONG Entries; + PLSA_TRUST_INFORMATION Domains; +} LSA_REFERENCED_DOMAIN_LIST, *PLSA_REFERENCED_DOMAIN_LIST; + +typedef struct _LSA_TRANSLATED_SID +{ + SID_NAME_USE Use; + ULONG RelativeId; + LONG DomainIndex; +} LSA_TRANSLATED_SID, *PLSA_TRANSLATED_SID; + +typedef struct _TRUSTED_DOMAIN_INFORMATION_EX +{ + LSA_UNICODE_STRING Name; + LSA_UNICODE_STRING FlatName; + PSID Sid; + ULONG TrustDirection; + ULONG TrustType; + ULONG TrustAttributes; +} TRUSTED_DOMAIN_INFORMATION_EX, *PTRUSTED_DOMAIN_INFORMATION_EX; + +typedef struct _LSA_AUTH_INFORMATION +{ + LARGE_INTEGER LastUpdateTime; + ULONG AuthType; + ULONG AuthInfoLength; + PUCHAR AuthInfo; +} LSA_AUTH_INFORMATION, *PLSA_AUTH_INFORMATION; + +typedef struct _TRUSTED_DOMAIN_AUTH_INFORMATION +{ + ULONG IncomingAuthInfos; + PLSA_AUTH_INFORMATION IncomingAuthenticationInformation; + PLSA_AUTH_INFORMATION IncomingPreviousAuthenticationInformation; + ULONG OutgoingAuthInfos; + PLSA_AUTH_INFORMATION OutgoingAuthenticationInformation; + PLSA_AUTH_INFORMATION OutgoingPreviousAuthenticationInformation; +} TRUSTED_DOMAIN_AUTH_INFORMATION, *PTRUSTED_DOMAIN_AUTH_INFORMATION; + +typedef struct _LSA_TRANSLATED_SID2 +{ + SID_NAME_USE Use; + PSID Sid; + LONG DomainIndex; + ULONG Flags; +} LSA_TRANSLATED_SID2, *PLSA_TRANSLATED_SID2; + +typedef enum _TRUSTED_INFORMATION_CLASS +{ + TrustedDomainNameInformation = 1, + TrustedControllersInformation, + TrustedPosixOffsetInformation, + TrustedPasswordInformation, + TrustedDomainInformationBasic, + TrustedDomainInformationEx, + TrustedDomainAuthInformation, + TrustedDomainFullInformation +} TRUSTED_INFORMATION_CLASS, *PTRUSTED_INFORMATION_CLASS; + +typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS +{ + PolicyNotifyAuditEventsInformation = 1, + PolicyNotifyAccountDomainInformation, + PolicyNotifyServerRoleInformation, + PolicyNotifyDnsDomainInformation, + PolicyNotifyDomainEfsInformation, + PolicyNotifyDomainKerberosTicketInformation, + PolicyNotifyMachineAccountPasswordInformation +} POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS; + +#define RtlGenRandom SystemFunction036 +#define RtlEncryptMemory SystemFunction040 +#define RtlDecryptMemory SystemFunction041 + +BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG); +NTSTATUS WINAPI RtlEncryptMemory(PVOID,ULONG,ULONG); +NTSTATUS WINAPI RtlDecryptMemory(PVOID,ULONG,ULONG); + +NTSTATUS WINAPI LsaAddAccountRights(LSA_HANDLE,PSID,PLSA_UNICODE_STRING,ULONG); +NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE,ULONG,PVOID,ULONG,PVOID*,PULONG,PNTSTATUS); +NTSTATUS WINAPI LsaClose(LSA_HANDLE); +NTSTATUS WINAPI LsaConnectUntrusted(PHANDLE); +NTSTATUS WINAPI LsaCreateTrustedDomainEx(LSA_HANDLE,PTRUSTED_DOMAIN_INFORMATION_EX, + PTRUSTED_DOMAIN_AUTH_INFORMATION,ACCESS_MASK,PLSA_HANDLE); +NTSTATUS WINAPI LsaDeleteTrustedDomain(LSA_HANDLE,PSID); +NTSTATUS WINAPI LsaDeregisterLogonProcess(HANDLE); +NTSTATUS WINAPI LsaEnumerateAccountRights(LSA_HANDLE,PSID,PLSA_UNICODE_STRING*,PULONG); +NTSTATUS WINAPI LsaEnumerateAccountsWithUserRight(LSA_HANDLE,PLSA_UNICODE_STRING,PVOID*,PULONG); +NTSTATUS WINAPI LsaEnumerateLogonSessions(PULONG,PLUID*); +NTSTATUS WINAPI LsaEnumerateTrustedDomains(LSA_HANDLE,PLSA_ENUMERATION_HANDLE,PVOID*,ULONG,PULONG); +NTSTATUS WINAPI LsaEnumerateTrustedDomainsEx(LSA_HANDLE,PLSA_ENUMERATION_HANDLE,PVOID*,ULONG,PULONG); +NTSTATUS WINAPI LsaFreeMemory(PVOID); +NTSTATUS WINAPI LsaFreeReturnBuffer(PVOID); +NTSTATUS WINAPI LsaGetLogonSessionData(PLUID,PSECURITY_LOGON_SESSION_DATA*); +NTSTATUS WINAPI LsaLogonUser(HANDLE,PLSA_STRING,SECURITY_LOGON_TYPE,ULONG,PVOID,ULONG,PTOKEN_GROUPS,PTOKEN_SOURCE,PVOID*,PULONG,PLUID,PHANDLE,PQUOTA_LIMITS,PNTSTATUS); +NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE,PLSA_STRING,PULONG); +NTSTATUS WINAPI LsaLookupNames(LSA_HANDLE,ULONG,PLSA_UNICODE_STRING,PLSA_REFERENCED_DOMAIN_LIST*, + PLSA_TRANSLATED_SID*); +NTSTATUS WINAPI LsaLookupNames2(LSA_HANDLE,ULONG,ULONG,PLSA_UNICODE_STRING,PLSA_REFERENCED_DOMAIN_LIST*, + PLSA_TRANSLATED_SID2*); +NTSTATUS WINAPI LsaLookupSids(LSA_HANDLE,ULONG,PSID *,PLSA_REFERENCED_DOMAIN_LIST *,PLSA_TRANSLATED_NAME *); +ULONG WINAPI LsaNtStatusToWinError(NTSTATUS); +NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE); +NTSTATUS WINAPI LsaOpenTrustedDomainByName(LSA_HANDLE,PLSA_UNICODE_STRING,ACCESS_MASK,PLSA_HANDLE); +NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*); +NTSTATUS WINAPI LsaQueryTrustedDomainInfo(LSA_HANDLE,PSID,TRUSTED_INFORMATION_CLASS,PVOID*); +NTSTATUS WINAPI LsaQueryTrustedDomainInfoByName(LSA_HANDLE,PLSA_UNICODE_STRING,TRUSTED_INFORMATION_CLASS,PVOID*); +NTSTATUS WINAPI LsaRegisterLogonProcess(PLSA_STRING,PHANDLE,PLSA_OPERATIONAL_MODE); +NTSTATUS WINAPI LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS,HANDLE); +NTSTATUS WINAPI LsaRemoveAccountRights(LSA_HANDLE,PSID,BOOLEAN,PLSA_UNICODE_STRING,ULONG); +NTSTATUS WINAPI LsaRetrievePrivateData(LSA_HANDLE,PLSA_UNICODE_STRING,PLSA_UNICODE_STRING*); +NTSTATUS WINAPI LsaSetInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID); +NTSTATUS WINAPI LsaSetTrustedDomainInfoByName(LSA_HANDLE,PLSA_UNICODE_STRING,TRUSTED_INFORMATION_CLASS,PVOID); +NTSTATUS WINAPI LsaSetTrustedDomainInformation(LSA_HANDLE,PSID,TRUSTED_INFORMATION_CLASS,PVOID); +NTSTATUS WINAPI LsaStorePrivateData(LSA_HANDLE,PLSA_UNICODE_STRING,PLSA_UNICODE_STRING); +NTSTATUS WINAPI LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS,HANDLE); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* !defined(__WINE_NTSECAPI_H) */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntsecpkg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntsecpkg.h new file mode 100644 index 0000000..0df345d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntsecpkg.h @@ -0,0 +1,481 @@ +/* + * Copyright (C) 2007 Yuval Fledel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _NTSECPKG_H +#define _NTSECPKG_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Flags for the MachineState field in SECPKG_PARAMETERS */ +#define SECPKG_STATE_ENCRYPTION_PERMITTED 0x01 +#define SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED 0x02 +#define SECPKG_STATE_DOMAIN_CONTROLLER 0x04 +#define SECPKG_STATE_WORKSTATION 0x08 +#define SECPKG_STATE_STANDALONE 0x10 + +/* Version magics as passed to or returned from Sp[Lsa,Mode]ModeInitialize */ +#define SECPKG_INTERFACE_VERSION 0x10000 +#define SECPKG_INTERFACE_VERSION_2 0x20000 +#define SECPKG_INTERFACE_VERSION_3 0x40000 +#define SECPKG_INTERFACE_VERSION_4 0x80000 +#define SECPKG_INTERFACE_VERSION_5 0x100000 +#define SECPKG_INTERFACE_VERSION_6 0x200000 +#define SECPKG_INTERFACE_VERSION_7 0x400000 + +/* enum definitions for Secure Service Provider/Authentication Packages */ +typedef enum _LSA_TOKEN_INFORMATION_TYPE { + LsaTokenInformationNull, + LsaTokenInformationV1 +} LSA_TOKEN_INFORMATION_TYPE, *PLSA_TOKEN_INFORMATION_TYPE; + +typedef enum _SECPKG_EXTENDED_INFORMATION_CLASS +{ + SecpkgGssInfo = 1, + SecpkgContextThunks, + SecpkgMutualAuthLevel, + SecpkgMaxInfo +} SECPKG_EXTENDED_INFORMATION_CLASS; + +typedef enum _SECPKG_NAME_TYPE { + SecNameSamCompatible, + SecNameAlternateId, + SecNameFlat, + SecNameDN +} SECPKG_NAME_TYPE; + +/* struct definitions for SSP/AP */ +typedef struct _SECPKG_PRIMARY_CRED { + LUID LogonId; + UNICODE_STRING DownlevelName; + UNICODE_STRING DomainName; + UNICODE_STRING Password; + UNICODE_STRING OldPassword; + PSID UserSid; + ULONG Flags; + UNICODE_STRING DnsDomainName; + UNICODE_STRING Upn; + UNICODE_STRING LogonServer; + UNICODE_STRING Spare1; + UNICODE_STRING Spare2; + UNICODE_STRING Spare3; + UNICODE_STRING Spare4; +} SECPKG_PRIMARY_CRED, *PSECPKG_PRIMARY_CRED; + +typedef struct _SECPKG_SUPPLEMENTAL_CRED { + UNICODE_STRING PackageName; + ULONG CredentialSize; + PUCHAR Credentials; +} SECPKG_SUPPLEMENTAL_CRED, *PSECPKG_SUPPLEMENTAL_CRED; + +typedef struct _SECPKG_SUPPLEMENTAL_CRED_ARRAY { + ULONG CredentialCount; + SECPKG_SUPPLEMENTAL_CRED Credentials[1]; +} SECPKG_SUPPLEMENTAL_CRED_ARRAY, *PSECPKG_SUPPLEMENTAL_CRED_ARRAY; + +typedef struct _SECPKG_PARAMETERS { + ULONG Version; + ULONG MachineState; + ULONG SetupMode; + PSID DomainSid; + UNICODE_STRING DomainName; + UNICODE_STRING DnsDomainName; + GUID DomainGuid; +} SECPKG_PARAMETERS, *PSECPKG_PARAMETERS, + SECPKG_EVENT_DOMAIN_CHANGE, *PSECPKG_EVENT_DOMAIN_CHANGE; + +typedef struct _SECPKG_CLIENT_INFO { + LUID LogonId; + ULONG ProcessID; + ULONG ThreadID; + BOOLEAN HasTcbPrivilege; + BOOLEAN Impersonating; + BOOLEAN Restricted; +} SECPKG_CLIENT_INFO, + *PSECPKG_CLIENT_INFO; + +typedef struct _SECURITY_USER_DATA { + UNICODE_STRING UserName; + UNICODE_STRING LogonDomainName; + UNICODE_STRING LogonServer; + PSID pSid; +} SECURITY_USER_DATA, *PSECURITY_USER_DATA, + SecurityUserData, *PSecurityUserData; + +typedef struct _SECPKG_GSS_INFO { + ULONG EncodedIdLength; + UCHAR EncodedId[4]; +} SECPKG_GSS_INFO, *PSECPKG_GSS_INFO; + +typedef struct _SECPKG_CONTEXT_THUNKS { + ULONG InfoLevelCount; + ULONG Levels[1]; +} SECPKG_CONTEXT_THUNKS, *PSECPKG_CONTEXT_THUNKS; + +typedef struct _SECPKG_MUTUAL_AUTH_LEVEL { + ULONG MutualAuthLevel; +} SECPKG_MUTUAL_AUTH_LEVEL, *PSECPKG_MUTUAL_AUTH_LEVEL; + +typedef struct _SECPKG_CALL_INFO { + ULONG ProcessId; + ULONG ThreadId; + ULONG Attributes; + ULONG CallCount; +} SECPKG_CALL_INFO, *PSECPKG_CALL_INFO; + +typedef struct _SECPKG_EXTENDED_INFORMATION { + SECPKG_EXTENDED_INFORMATION_CLASS Class; + union { + SECPKG_GSS_INFO GssInfo; + SECPKG_CONTEXT_THUNKS ContextThunks; + SECPKG_MUTUAL_AUTH_LEVEL MutualAuthLevel; + } Info; +} SECPKG_EXTENDED_INFORMATION, *PSECPKG_EXTENDED_INFORMATION; + +typedef struct _SECPKG_TARGETINFO { + PSID DomainSid; + PCWSTR ComputerName; +} SECPKG_TARGETINFO, *PSECPKG_TARGETINFO; + +typedef struct _SECPKG_POST_LOGON_USER_INFO { + ULONG Flags; + LUID LogonId; + LUID LinkedLogonId; +} SECPKG_POST_LOGON_USER_INFO, *PSECPKG_POST_LOGON_USER_INFO; + +/* callbacks implemented by SSP/AP dlls and called by the LSA */ +typedef VOID (NTAPI *PLSA_CALLBACK_FUNCTION)(ULONG_PTR, ULONG_PTR, PSecBuffer, + PSecBuffer); + +/* misc typedefs used in the below prototypes */ +typedef PVOID *PLSA_CLIENT_REQUEST; +typedef ULONG LSA_SEC_HANDLE, *PLSA_SEC_HANDLE; +typedef LPTHREAD_START_ROUTINE SEC_THREAD_START; +typedef PSECURITY_ATTRIBUTES SEC_ATTRS; + +/* functions used by SSP/AP obtainable by dispatch tables */ +typedef NTSTATUS (NTAPI *PLSA_REGISTER_CALLBACK)(ULONG, PLSA_CALLBACK_FUNCTION); +typedef NTSTATUS (NTAPI *PLSA_CREATE_LOGON_SESSION)(PLUID); +typedef NTSTATUS (NTAPI *PLSA_DELETE_LOGON_SESSION)(PLUID); +typedef NTSTATUS (NTAPI *PLSA_ADD_CREDENTIAL)(PLUID, ULONG, PLSA_STRING, + PLSA_STRING); +typedef NTSTATUS (NTAPI *PLSA_GET_CREDENTIALS)(PLUID, ULONG, PULONG, BOOLEAN, + PLSA_STRING, PULONG, PLSA_STRING); +typedef NTSTATUS (NTAPI *PLSA_DELETE_CREDENTIAL)(PLUID, ULONG, PLSA_STRING); +typedef PVOID (NTAPI *PLSA_ALLOCATE_LSA_HEAP)(ULONG); +typedef VOID (NTAPI *PLSA_FREE_LSA_HEAP)(PVOID); +typedef NTSTATUS (NTAPI *PLSA_ALLOCATE_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, + ULONG, PVOID*); +typedef NTSTATUS (NTAPI *PLSA_FREE_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, PVOID); +typedef NTSTATUS (NTAPI *PLSA_COPY_TO_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, ULONG, + PVOID, PVOID); +typedef NTSTATUS (NTAPI *PLSA_COPY_FROM_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, + ULONG, PVOID, PVOID); +typedef NTSTATUS (NTAPI *PLSA_IMPERSONATE_CLIENT)(void); +typedef NTSTATUS (NTAPI *PLSA_UNLOAD_PACKAGE)(void); +typedef NTSTATUS (NTAPI *PLSA_DUPLICATE_HANDLE)(HANDLE, PHANDLE); +typedef NTSTATUS (NTAPI *PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS)(PLUID, ULONG, + PVOID, BOOLEAN); +typedef HANDLE (NTAPI *PLSA_CREATE_THREAD)(SEC_ATTRS, ULONG, SEC_THREAD_START, + PVOID, ULONG, PULONG); +typedef NTSTATUS (NTAPI *PLSA_GET_CLIENT_INFO)(PSECPKG_CLIENT_INFO); +typedef HANDLE (NTAPI *PLSA_REGISTER_NOTIFICATION)(SEC_THREAD_START, PVOID, + ULONG, ULONG, ULONG, ULONG, HANDLE); +typedef NTSTATUS (NTAPI *PLSA_CANCEL_NOTIFICATION)(HANDLE); +typedef NTSTATUS (NTAPI *PLSA_MAP_BUFFER)(PSecBuffer, PSecBuffer); +typedef NTSTATUS (NTAPI *PLSA_CREATE_TOKEN)(PLUID, PTOKEN_SOURCE, + SECURITY_LOGON_TYPE, SECURITY_IMPERSONATION_LEVEL, LSA_TOKEN_INFORMATION_TYPE, + PVOID, PTOKEN_GROUPS, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, + PUNICODE_STRING, PHANDLE, PNTSTATUS); +typedef VOID (NTAPI *PLSA_AUDIT_LOGON)(NTSTATUS, NTSTATUS, PUNICODE_STRING, + PUNICODE_STRING, PUNICODE_STRING, OPTIONAL PSID, SECURITY_LOGON_TYPE, + PTOKEN_SOURCE, PLUID); +typedef NTSTATUS (NTAPI *PLSA_CALL_PACKAGE)(PUNICODE_STRING, PVOID, ULONG, + PVOID*, PULONG, PNTSTATUS); +typedef BOOLEAN (NTAPI *PLSA_GET_CALL_INFO)(PSECPKG_CALL_INFO); +typedef NTSTATUS (NTAPI *PLSA_CALL_PACKAGEEX)(PUNICODE_STRING, PVOID, PVOID, + ULONG, PVOID*, PULONG, PNTSTATUS); +typedef PVOID (NTAPI *PLSA_CREATE_SHARED_MEMORY)(ULONG, ULONG); +typedef PVOID (NTAPI *PLSA_ALLOCATE_SHARED_MEMORY)(PVOID, ULONG); +typedef VOID (NTAPI *PLSA_FREE_SHARED_MEMORY)(PVOID, PVOID); +typedef BOOLEAN (NTAPI *PLSA_DELETE_SHARED_MEMORY)(PVOID); +typedef NTSTATUS (NTAPI *PLSA_OPEN_SAM_USER)(PUNICODE_STRING, SECPKG_NAME_TYPE, + PUNICODE_STRING, BOOLEAN, ULONG, PVOID*); +typedef NTSTATUS (NTAPI *PLSA_GET_USER_CREDENTIALS)(PVOID, PVOID *, PULONG, + PVOID *, PULONG); +typedef NTSTATUS (NTAPI *PLSA_GET_USER_AUTH_DATA)(PVOID, PUCHAR *, PULONG); +typedef NTSTATUS (NTAPI *PLSA_CLOSE_SAM_USER)(PVOID); +typedef NTSTATUS (NTAPI *PLSA_CONVERT_AUTH_DATA_TO_TOKEN)(PVOID, ULONG, + SECURITY_IMPERSONATION_LEVEL, PTOKEN_SOURCE, SECURITY_LOGON_TYPE, + PUNICODE_STRING, PHANDLE, PLUID, PUNICODE_STRING, PNTSTATUS); +typedef NTSTATUS (NTAPI *PLSA_CLIENT_CALLBACK)(PCHAR, ULONG_PTR, ULONG_PTR, + PSecBuffer, PSecBuffer); +typedef NTSTATUS (NTAPI *PLSA_UPDATE_PRIMARY_CREDENTIALS)(PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY); +typedef NTSTATUS (NTAPI *PLSA_GET_AUTH_DATA_FOR_USER)(PUNICODE_STRING, + SECPKG_NAME_TYPE, PUNICODE_STRING, PUCHAR *, PULONG, PUNICODE_STRING); +typedef NTSTATUS (NTAPI *PLSA_CRACK_SINGLE_NAME)(ULONG, BOOLEAN, + PUNICODE_STRING, PUNICODE_STRING, ULONG, PUNICODE_STRING, PUNICODE_STRING, + PULONG); +typedef NTSTATUS (NTAPI *PLSA_AUDIT_ACCOUNT_LOGON)(ULONG, BOOLEAN, + PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, NTSTATUS); +typedef NTSTATUS (NTAPI *PLSA_CALL_PACKAGE_PASSTHROUGH)(PUNICODE_STRING, PVOID, + PVOID, ULONG, PVOID*, PULONG, PNTSTATUS); + +/* Dispatch tables of functions used by SSP/AP */ +typedef struct SECPKG_DLL_FUNCTIONS { + PLSA_ALLOCATE_LSA_HEAP AllocateHeap; + PLSA_FREE_LSA_HEAP FreeHeap; + PLSA_REGISTER_CALLBACK RegisterCallback; +} SECPKG_DLL_FUNCTIONS, + *PSECPKG_DLL_FUNCTIONS; + +typedef struct LSA_DISPATCH_TABLE { + PLSA_CREATE_LOGON_SESSION CreateLogonSession; + PLSA_DELETE_LOGON_SESSION DeleteLogonSession; + PLSA_ADD_CREDENTIAL AddCredential; + PLSA_GET_CREDENTIALS GetCredentials; + PLSA_DELETE_CREDENTIAL DeleteCredential; + PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap; + PLSA_FREE_LSA_HEAP FreeLsaHeap; + PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer; + PLSA_FREE_CLIENT_BUFFER FreeClientBuffer; + PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer; + PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer; +} LSA_DISPATCH_TABLE, + *PLSA_DISPATCH_TABLE; + +typedef struct _LSA_SECPKG_FUNCTION_TABLE { + PLSA_CREATE_LOGON_SESSION CreateLogonSession; + PLSA_DELETE_LOGON_SESSION DeleteLogonSession; + PLSA_ADD_CREDENTIAL AddCredential; + PLSA_GET_CREDENTIALS GetCredentials; + PLSA_DELETE_CREDENTIAL DeleteCredential; + PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap; + PLSA_FREE_LSA_HEAP FreeLsaHeap; + PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer; + PLSA_FREE_CLIENT_BUFFER FreeClientBuffer; + PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer; + PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer; + PLSA_IMPERSONATE_CLIENT ImpersonateClient; + PLSA_UNLOAD_PACKAGE UnloadPackage; + PLSA_DUPLICATE_HANDLE DuplicateHandle; + PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS SaveSupplementalCredentials; + PLSA_CREATE_THREAD CreateThread; + PLSA_GET_CLIENT_INFO GetClientInfo; + PLSA_REGISTER_NOTIFICATION RegisterNotification; + PLSA_CANCEL_NOTIFICATION CancelNotification; + PLSA_MAP_BUFFER MapBuffer; + PLSA_CREATE_TOKEN CreateToken; + PLSA_AUDIT_LOGON AuditLogon; + PLSA_CALL_PACKAGE CallPackage; + PLSA_FREE_LSA_HEAP FreeReturnBuffer; + PLSA_GET_CALL_INFO GetCallInfo; + PLSA_CALL_PACKAGEEX CallPackageEx; + PLSA_CREATE_SHARED_MEMORY CreateSharedMemory; + PLSA_ALLOCATE_SHARED_MEMORY AllocateSharedMemory; + PLSA_FREE_SHARED_MEMORY FreeSharedMemory; + PLSA_DELETE_SHARED_MEMORY DeleteSharedMemory; + PLSA_OPEN_SAM_USER OpenSamUser; + PLSA_GET_USER_CREDENTIALS GetUserCredentials; + PLSA_GET_USER_AUTH_DATA GetUserAuthData; + PLSA_CLOSE_SAM_USER CloseSamUser; + PLSA_CONVERT_AUTH_DATA_TO_TOKEN ConvertAuthDataToToken; + PLSA_CLIENT_CALLBACK ClientCallback; + PLSA_UPDATE_PRIMARY_CREDENTIALS UpdateCredentials; + PLSA_GET_AUTH_DATA_FOR_USER GetAuthDataForUser; + PLSA_CRACK_SINGLE_NAME CrackSingleName; + PLSA_AUDIT_ACCOUNT_LOGON AuditAccountLogon; + PLSA_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough; +} LSA_SECPKG_FUNCTION_TABLE, + *PLSA_SECPKG_FUNCTION_TABLE; + +/* LSA-mode functions implemented by SSP/AP obtainable by a dispatch table */ +typedef NTSTATUS (NTAPI *PLSA_AP_INITIALIZE_PACKAGE)(ULONG, PLSA_DISPATCH_TABLE, + PLSA_STRING, PLSA_STRING, PLSA_STRING *); +typedef NTSTATUS (NTAPI *PLSA_AP_LOGON_USER)(LPWSTR, LPWSTR, LPWSTR, LPWSTR, + DWORD, DWORD, PHANDLE); +typedef NTSTATUS (NTAPI *PLSA_AP_CALL_PACKAGE)(PUNICODE_STRING, PVOID, ULONG, + PVOID *, PULONG, PNTSTATUS); +typedef VOID (NTAPI *PLSA_AP_LOGON_TERMINATED)(PLUID); +typedef NTSTATUS (NTAPI *PLSA_AP_CALL_PACKAGE_UNTRUSTED)(PLSA_CLIENT_REQUEST, + PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS); +typedef NTSTATUS (NTAPI *PLSA_AP_CALL_PACKAGE_PASSTHROUGH)(PUNICODE_STRING, + PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS); +typedef NTSTATUS (NTAPI *PLSA_AP_LOGON_USER_EX)(PLSA_CLIENT_REQUEST, + SECURITY_LOGON_TYPE, PVOID, PVOID, ULONG, PVOID *, PULONG, PLUID, PNTSTATUS, + PLSA_TOKEN_INFORMATION_TYPE, PVOID *, PUNICODE_STRING *, PUNICODE_STRING *, + PUNICODE_STRING *); +typedef NTSTATUS (NTAPI *PLSA_AP_LOGON_USER_EX2)(PLSA_CLIENT_REQUEST, + SECURITY_LOGON_TYPE, PVOID, PVOID, ULONG, PVOID *, PULONG, PLUID, PNTSTATUS, + PLSA_TOKEN_INFORMATION_TYPE, PVOID *, PUNICODE_STRING *, PUNICODE_STRING *, + PUNICODE_STRING *, PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY *); +typedef NTSTATUS (SpInitializeFn)(ULONG_PTR, PSECPKG_PARAMETERS, + PLSA_SECPKG_FUNCTION_TABLE); +typedef NTSTATUS (NTAPI SpShutDownFn)(void); +typedef NTSTATUS (NTAPI SpGetInfoFn)(PSecPkgInfoW); +typedef NTSTATUS (NTAPI SpAcceptCredentialsFn)(SECURITY_LOGON_TYPE, + PUNICODE_STRING, PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED); +typedef NTSTATUS (NTAPI SpAcquireCredentialsHandleFn)(PUNICODE_STRING, ULONG, + PLUID, PVOID, PVOID, PVOID, PLSA_SEC_HANDLE, PTimeStamp); +typedef NTSTATUS (NTAPI SpQueryCredentialsAttributesFn)(LSA_SEC_HANDLE, ULONG, + PVOID); +typedef NTSTATUS (NTAPI SpFreeCredentialsHandleFn)(LSA_SEC_HANDLE); +typedef NTSTATUS (NTAPI SpSaveCredentialsFn)(LSA_SEC_HANDLE, PSecBuffer); +typedef NTSTATUS (NTAPI SpGetCredentialsFn)(LSA_SEC_HANDLE, PSecBuffer); +typedef NTSTATUS (NTAPI SpDeleteCredentialsFn)(LSA_SEC_HANDLE, PSecBuffer); +typedef NTSTATUS (NTAPI SpInitLsaModeContextFn)(LSA_SEC_HANDLE, LSA_SEC_HANDLE, + PUNICODE_STRING, ULONG, ULONG, PSecBufferDesc, PLSA_SEC_HANDLE, PSecBufferDesc, + PULONG, PTimeStamp, PBOOLEAN, PSecBuffer); +typedef NTSTATUS (NTAPI SpAcceptLsaModeContextFn)(LSA_SEC_HANDLE, + LSA_SEC_HANDLE, PSecBufferDesc, ULONG, ULONG, PLSA_SEC_HANDLE, PSecBufferDesc, + PULONG, PTimeStamp, PBOOLEAN, PSecBuffer); +typedef NTSTATUS (NTAPI SpDeleteContextFn)(LSA_SEC_HANDLE); +typedef NTSTATUS (NTAPI SpApplyControlTokenFn)(LSA_SEC_HANDLE, PSecBufferDesc); +typedef NTSTATUS (NTAPI SpGetUserInfoFn)(PLUID, ULONG, PSecurityUserData *); +typedef NTSTATUS (NTAPI SpGetExtendedInformationFn)( + SECPKG_EXTENDED_INFORMATION_CLASS, PSECPKG_EXTENDED_INFORMATION *); +typedef NTSTATUS (NTAPI SpQueryContextAttributesFn)(LSA_SEC_HANDLE, ULONG, + PVOID); +typedef NTSTATUS (NTAPI SpAddCredentialsFn)(LSA_SEC_HANDLE, PUNICODE_STRING, + PUNICODE_STRING, ULONG, PVOID, PVOID, PVOID, PTimeStamp); +typedef NTSTATUS (NTAPI SpSetExtendedInformationFn)( + SECPKG_EXTENDED_INFORMATION_CLASS, PSECPKG_EXTENDED_INFORMATION); +typedef NTSTATUS (NTAPI SpSetContextAttributesFn)(LSA_SEC_HANDLE, ULONG, PVOID, + ULONG); +typedef NTSTATUS (NTAPI SpSetCredentialsAttributesFn)(LSA_SEC_HANDLE, ULONG, + PVOID, ULONG); +typedef NTSTATUS (NTAPI SpChangeAccountPasswordFn)(PUNICODE_STRING, + PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, BOOLEAN, PSecBufferDesc); +typedef NTSTATUS (NTAPI SpQueryMetaDataFn)(LSA_SEC_HANDLE, PUNICODE_STRING, + ULONG, PULONG, PUCHAR *, PLSA_SEC_HANDLE); +typedef NTSTATUS (NTAPI SpExchangeMetaDataFn)(LSA_SEC_HANDLE, PUNICODE_STRING, + ULONG, ULONG, PUCHAR, PLSA_SEC_HANDLE); +typedef NTSTATUS (NTAPI SpGetCredUIContextFn)(LSA_SEC_HANDLE, GUID *, PULONG, + PUCHAR *); +typedef NTSTATUS (NTAPI SpUpdateCredentialsFn)(LSA_SEC_HANDLE, GUID *, ULONG, + PUCHAR); +typedef NTSTATUS (NTAPI SpValidateTargetInfoFn)(PLSA_CLIENT_REQUEST, PVOID, + PVOID, ULONG, PSECPKG_TARGETINFO); +typedef NTSTATUS (NTAPI LSA_AP_POST_LOGON_USER)(PSECPKG_POST_LOGON_USER_INFO); + +/* User-mode functions implemented by SSP/AP obtainable by a dispatch table */ +typedef NTSTATUS (NTAPI SpInstanceInitFn)(ULONG, PSECPKG_DLL_FUNCTIONS, + PVOID *); +typedef NTSTATUS (NTAPI SpInitUserModeContextFn)(LSA_SEC_HANDLE, PSecBuffer); +typedef NTSTATUS (NTAPI SpMakeSignatureFn)(LSA_SEC_HANDLE, ULONG, + PSecBufferDesc, ULONG); +typedef NTSTATUS (NTAPI SpVerifySignatureFn)(LSA_SEC_HANDLE, PSecBufferDesc, + ULONG, PULONG); +typedef NTSTATUS (NTAPI SpSealMessageFn)(LSA_SEC_HANDLE, ULONG, PSecBufferDesc, + ULONG); +typedef NTSTATUS (NTAPI SpUnsealMessageFn)(LSA_SEC_HANDLE, PSecBufferDesc, + ULONG, PULONG); +typedef NTSTATUS (NTAPI SpGetContextTokenFn)(LSA_SEC_HANDLE, PHANDLE); +typedef NTSTATUS (NTAPI SpCompleteAuthTokenFn)(LSA_SEC_HANDLE, PSecBufferDesc); +typedef NTSTATUS (NTAPI SpFormatCredentialsFn)(PSecBuffer, PSecBuffer); +typedef NTSTATUS (NTAPI SpMarshallSupplementalCredsFn)(ULONG, PUCHAR, PULONG, + PVOID *); +typedef NTSTATUS (NTAPI SpExportSecurityContextFn)(LSA_SEC_HANDLE, ULONG, + PSecBuffer, PHANDLE); +typedef NTSTATUS (NTAPI SpImportSecurityContextFn)(PSecBuffer, HANDLE, + PLSA_SEC_HANDLE); + +#ifdef WINE_NO_UNICODE_MACROS +#undef SetContextAttributes +#endif + +/* dispatch tables of LSA-mode functions implemented by SSP/AP */ +typedef struct SECPKG_FUNCTION_TABLE { + PLSA_AP_INITIALIZE_PACKAGE InitializePackage; + PLSA_AP_LOGON_USER LsaLogonUser; + PLSA_AP_CALL_PACKAGE CallPackage; + PLSA_AP_LOGON_TERMINATED LogonTerminated; + PLSA_AP_CALL_PACKAGE_UNTRUSTED CallPackageUntrusted; + PLSA_AP_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough; + PLSA_AP_LOGON_USER_EX LogonUserEx; + PLSA_AP_LOGON_USER_EX2 LogonUserEx2; + SpInitializeFn *Initialize; + SpShutDownFn *Shutdown; + SpGetInfoFn *GetInfo; + SpAcceptCredentialsFn *AcceptCredentials; + SpAcquireCredentialsHandleFn *SpAcquireCredentialsHandle; + SpQueryCredentialsAttributesFn *SpQueryCredentialsAttributes; + SpFreeCredentialsHandleFn *FreeCredentialsHandle; + SpSaveCredentialsFn *SaveCredentials; + SpGetCredentialsFn *GetCredentials; + SpDeleteCredentialsFn *DeleteCredentials; + SpInitLsaModeContextFn *InitLsaModeContext; + SpAcceptLsaModeContextFn *AcceptLsaModeContext; + SpDeleteContextFn *DeleteContext; + SpApplyControlTokenFn *ApplyControlToken; + SpGetUserInfoFn *GetUserInfo; + SpGetExtendedInformationFn *GetExtendedInformation; + SpQueryContextAttributesFn *SpQueryContextAttributes; + SpAddCredentialsFn *SpAddCredentials; + SpSetExtendedInformationFn *SetExtendedInformation; + /* Packages with version SECPKG_INTERFACE_VERSION end here */ + SpSetContextAttributesFn *SetContextAttributes; + /* Packages with version SECPKG_INTERFACE_VERSION_2 end here */ + SpSetCredentialsAttributesFn *SetCredentialsAttributes; + /* Packages with version SECPKG_INTERFACE_VERSION_3 end here */ + SpChangeAccountPasswordFn *ChangeAccountPassword; + /* Packages with version SECPKG_INTERFACE_VERSION_4 end here */ + SpQueryMetaDataFn *QueryMetaData; + SpExchangeMetaDataFn *ExchangeMetaData; + SpGetCredUIContextFn *GetCredUIContext; + SpUpdateCredentialsFn *UpdateCredentials; + /* Packages with version SECPKG_INTERFACE_VERSION_5 end here */ + SpValidateTargetInfoFn *ValidateTargetInfo; + /* Packages with version SECPKG_INTERFACE_VERSION_6 end here */ + LSA_AP_POST_LOGON_USER* PostLogonUser; + /* Packages with version SECPKG_INTERFACE_VERSION_7 end here */ +} SECPKG_FUNCTION_TABLE, + *PSECPKG_FUNCTION_TABLE; + +/* dispatch tables of user-mode functions implemented by SSP/AP */ +typedef struct SECPKG_USER_FUNCTION_TABLE { + SpInstanceInitFn *InstanceInit; + SpInitUserModeContextFn *InitUserModeContext; + SpMakeSignatureFn *MakeSignature; + SpVerifySignatureFn *VerifySignature; + SpSealMessageFn *SealMessage; + SpUnsealMessageFn *UnsealMessage; + SpGetContextTokenFn *GetContextToken; + SpQueryContextAttributesFn *SpQueryContextAttributes; + SpCompleteAuthTokenFn *CompleteAuthToken; + SpDeleteContextFn *DeleteUserModeContext; + SpFormatCredentialsFn *FormatCredentials; + SpMarshallSupplementalCredsFn *MarshallSupplementalCreds; + SpExportSecurityContextFn *ExportContext; + SpImportSecurityContextFn *ImportContext; +} SECPKG_USER_FUNCTION_TABLE, + *PSECPKG_USER_FUNCTION_TABLE; + +/* LSA-mode entry point to SSP/APs */ +typedef NTSTATUS (NTAPI *SpLsaModeInitializeFn)(ULONG, PULONG, + PSECPKG_FUNCTION_TABLE *, PULONG); + +/* User-mode entry point to SSP/APs */ +typedef NTSTATUS (WINAPI *SpUserModeInitializeFn)(ULONG, PULONG, + PSECPKG_USER_FUNCTION_TABLE *, PULONG); + +#ifdef __cplusplus +} +#endif +#endif /* _NTSECPKG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntstatus.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntstatus.h new file mode 100644 index 0000000..86dad85 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ntstatus.h @@ -0,0 +1,1222 @@ +/* + * Win32 definitions for Windows NT + * + * Copyright 1996 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_NTSTATUS_H +#define __WINE_NTSTATUS_H + +#ifndef WIN32_NO_STATUS + +/* + * Exception codes + */ + +#define STATUS_SUCCESS ((NTSTATUS) 0x00000000) +#define STATUS_SEVERITY_SUCCESS ((NTSTATUS) 0x00000000) +#define STATUS_SEVERITY_INFORMATIONAL ((NTSTATUS) 0x00000001) +#define STATUS_SEVERITY_WARNING ((NTSTATUS) 0x00000002) +#define STATUS_SEVERITY_ERROR ((NTSTATUS) 0x00000003) + +#define STATUS_WAIT_0 ((NTSTATUS) 0x00000000) +#define STATUS_WAIT_1 ((NTSTATUS) 0x00000001) +#define STATUS_WAIT_2 ((NTSTATUS) 0x00000002) +#define STATUS_WAIT_3 ((NTSTATUS) 0x00000003) +#define STATUS_WAIT_63 ((NTSTATUS) 0x0000003f) +#define STATUS_ABANDONED ((NTSTATUS) 0x00000080) +#define STATUS_ABANDONED_WAIT_0 ((NTSTATUS) 0x00000080) +#define STATUS_ABANDONED_WAIT_63 ((NTSTATUS) 0x000000BF) +#define STATUS_USER_APC ((NTSTATUS) 0x000000C0) +#define STATUS_KERNEL_APC ((NTSTATUS) 0x00000100) +#define STATUS_ALERTED ((NTSTATUS) 0x00000101) +#define STATUS_TIMEOUT ((NTSTATUS) 0x00000102) +#define STATUS_PENDING ((NTSTATUS) 0x00000103) +#define STATUS_REPARSE ((NTSTATUS) 0x00000104) +#define STATUS_MORE_ENTRIES ((NTSTATUS) 0x00000105) +#define STATUS_NOT_ALL_ASSIGNED ((NTSTATUS) 0x00000106) +#define STATUS_SOME_NOT_MAPPED ((NTSTATUS) 0x00000107) +#define STATUS_OPLOCK_BREAK_IN_PROGRESS ((NTSTATUS) 0x00000108) +#define STATUS_VOLUME_MOUNTED ((NTSTATUS) 0x00000109) +#define STATUS_RXACT_COMMITTED ((NTSTATUS) 0x0000010A) +#define STATUS_NOTIFY_CLEANUP ((NTSTATUS) 0x0000010B) +#define STATUS_NOTIFY_ENUM_DIR ((NTSTATUS) 0x0000010C) +#define STATUS_NO_QUOTAS_FOR_ACCOUNT ((NTSTATUS) 0x0000010D) +#define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED ((NTSTATUS) 0x0000010E) +#define STATUS_PAGE_FAULT_TRANSITION ((NTSTATUS) 0x00000110) +#define STATUS_PAGE_FAULT_DEMAND_ZERO ((NTSTATUS) 0x00000111) +#define STATUS_PAGE_FAULT_COPY_ON_WRITE ((NTSTATUS) 0x00000112) +#define STATUS_PAGE_FAULT_GUARD_PAGE ((NTSTATUS) 0x00000113) +#define STATUS_PAGE_FAULT_PAGING_FILE ((NTSTATUS) 0x00000114) +#define STATUS_CACHE_PAGE_LOCKED ((NTSTATUS) 0x00000115) +#define STATUS_CRASH_DUMP ((NTSTATUS) 0x00000116) +#define STATUS_BUFFER_ALL_ZEROS ((NTSTATUS) 0x00000117) +#define STATUS_REPARSE_OBJECT ((NTSTATUS) 0x00000118) +#define STATUS_RESOURCE_REQUIREMENTS_CHANGED ((NTSTATUS) 0x00000119) +#define STATUS_TRANSLATION_COMPLETE ((NTSTATUS) 0x00000120) +#define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ((NTSTATUS) 0x00000121) +#define STATUS_NOTHING_TO_TERMINATE ((NTSTATUS) 0x00000122) +#define STATUS_PROCESS_NOT_IN_JOB ((NTSTATUS) 0x00000123) +#define STATUS_PROCESS_IN_JOB ((NTSTATUS) 0x00000124) +#define STATUS_VOLSNAP_HIBERNATE_READY ((NTSTATUS) 0x00000125) +#define STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY ((NTSTATUS) 0x00000126) + +#define STATUS_OBJECT_NAME_EXISTS ((NTSTATUS) 0x40000000) +#define STATUS_THREAD_WAS_SUSPENDED ((NTSTATUS) 0x40000001) +#define STATUS_WORKING_SET_LIMIT_RANGE ((NTSTATUS) 0x40000002) +#define STATUS_IMAGE_NOT_AT_BASE ((NTSTATUS) 0x40000003) +#define STATUS_RXACT_STATE_CREATED ((NTSTATUS) 0x40000004) +#define STATUS_SEGMENT_NOTIFICATION ((NTSTATUS) 0x40000005) +#define STATUS_LOCAL_USER_SESSION_KEY ((NTSTATUS) 0x40000006) +#define STATUS_BAD_CURRENT_DIRECTORY ((NTSTATUS) 0x40000007) +#define STATUS_SERIAL_MORE_WRITES ((NTSTATUS) 0x40000008) +#define STATUS_REGISTRY_RECOVERED ((NTSTATUS) 0x40000009) +#define STATUS_FT_READ_RECOVERY_FROM_BACKUP ((NTSTATUS) 0x4000000A) +#define STATUS_FT_WRITE_RECOVERY ((NTSTATUS) 0x4000000B) +#define STATUS_SERIAL_COUNTER_TIMEOUT ((NTSTATUS) 0x4000000C) +#define STATUS_NULL_LM_PASSWORD ((NTSTATUS) 0x4000000D) +#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH ((NTSTATUS) 0x4000000E) +#define STATUS_RECEIVE_PARTIAL ((NTSTATUS) 0x4000000F) +#define STATUS_RECEIVE_EXPEDITED ((NTSTATUS) 0x40000010) +#define STATUS_RECEIVE_PARTIAL_EXPEDITED ((NTSTATUS) 0x40000011) +#define STATUS_EVENT_DONE ((NTSTATUS) 0x40000012) +#define STATUS_EVENT_PENDING ((NTSTATUS) 0x40000013) +#define STATUS_CHECKING_FILE_SYSTEM ((NTSTATUS) 0x40000014) +#define STATUS_FATAL_APP_EXIT ((NTSTATUS) 0x40000015) +#define STATUS_PREDEFINED_HANDLE ((NTSTATUS) 0x40000016) +#define STATUS_WAS_UNLOCKED ((NTSTATUS) 0x40000017) +#define STATUS_SERVICE_NOTIFICATION ((NTSTATUS) 0x40000018) +#define STATUS_WAS_LOCKED ((NTSTATUS) 0x40000019) +#define STATUS_LOG_HARD_ERROR ((NTSTATUS) 0x4000001A) +#define STATUS_ALREADY_WIN32 ((NTSTATUS) 0x4000001B) +#define STATUS_WX86_UNSIMULATE ((NTSTATUS) 0x4000001C) +#define STATUS_WX86_CONTINUE ((NTSTATUS) 0x4000001D) +#define STATUS_WX86_SINGLE_STEP ((NTSTATUS) 0x4000001E) +#define STATUS_WX86_BREAKPOINT ((NTSTATUS) 0x4000001F) +#define STATUS_WX86_EXCEPTION_CONTINUE ((NTSTATUS) 0x40000020) +#define STATUS_WX86_EXCEPTION_LASTCHANCE ((NTSTATUS) 0x40000021) +#define STATUS_WX86_EXCEPTION_CHAIN ((NTSTATUS) 0x40000022) +#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE ((NTSTATUS) 0x40000023) +#define STATUS_NO_YIELD_PERFORMED ((NTSTATUS) 0x40000024) +#define STATUS_TIMER_RESUME_IGNORED ((NTSTATUS) 0x40000025) +#define STATUS_ARBITRATION_UNHANDLED ((NTSTATUS) 0x40000026) +#define STATUS_CARDBUS_NOT_SUPPORTED ((NTSTATUS) 0x40000027) +#define STATUS_WX86_CREATEWX86TIB ((NTSTATUS) 0x40000028) +#define STATUS_MP_PROCESSOR_MISMATCH ((NTSTATUS) 0x40000029) +#define STATUS_HIBERNATED ((NTSTATUS) 0x4000002A) +#define STATUS_RESUME_HIBERNATION ((NTSTATUS) 0x4000002B) +#define STATUS_FIRMWARE_UPDATED ((NTSTATUS) 0x4000002C) +#define STATUS_WAKE_SYSTEM ((NTSTATUS) 0x40000294) +#define STATUS_DS_SHUTTING_DOWN ((NTSTATUS) 0x40000370) + +#define RPC_NT_UUID_LOCAL_ONLY ((NTSTATUS) 0x40020056) +#define RPC_NT_SEND_INCOMPLETE ((NTSTATUS) 0x400200AF) + +#define STATUS_CTX_CDM_CONNECT ((NTSTATUS) 0x400A0004) +#define STATUS_CTX_CDM_DISCONNECT ((NTSTATUS) 0x400A0005) + +#define STATUS_SXS_RELEASE_ACTIVATION_CONTEXT ((NTSTATUS) 0x4015000D) + +#define STATUS_GUARD_PAGE_VIOLATION ((NTSTATUS) 0x80000001) +#define STATUS_DATATYPE_MISALIGNMENT ((NTSTATUS) 0x80000002) +#define STATUS_BREAKPOINT ((NTSTATUS) 0x80000003) +#define STATUS_SINGLE_STEP ((NTSTATUS) 0x80000004) +#define STATUS_BUFFER_OVERFLOW ((NTSTATUS) 0x80000005) +#define STATUS_NO_MORE_FILES ((NTSTATUS) 0x80000006) +#define STATUS_WAKE_SYSTEM_DEBUGGER ((NTSTATUS) 0x80000007) + +#define STATUS_HANDLES_CLOSED ((NTSTATUS) 0x8000000A) +#define STATUS_NO_INHERITANCE ((NTSTATUS) 0x8000000B) +#define STATUS_GUID_SUBSTITUTION_MADE ((NTSTATUS) 0x8000000C) +#define STATUS_PARTIAL_COPY ((NTSTATUS) 0x8000000D) +#define STATUS_DEVICE_PAPER_EMPTY ((NTSTATUS) 0x8000000E) +#define STATUS_DEVICE_POWERED_OFF ((NTSTATUS) 0x8000000F) +#define STATUS_DEVICE_OFF_LINE ((NTSTATUS) 0x80000010) +#define STATUS_DEVICE_BUSY ((NTSTATUS) 0x80000011) +#define STATUS_NO_MORE_EAS ((NTSTATUS) 0x80000012) +#define STATUS_INVALID_EA_NAME ((NTSTATUS) 0x80000013) +#define STATUS_EA_LIST_INCONSISTENT ((NTSTATUS) 0x80000014) +#define STATUS_INVALID_EA_FLAG ((NTSTATUS) 0x80000015) +#define STATUS_VERIFY_REQUIRED ((NTSTATUS) 0x80000016) +#define STATUS_EXTRANEOUS_INFORMATION ((NTSTATUS) 0x80000017) +#define STATUS_RXACT_COMMIT_NECESSARY ((NTSTATUS) 0x80000018) +#define STATUS_NO_MORE_ENTRIES ((NTSTATUS) 0x8000001A) +#define STATUS_FILEMARK_DETECTED ((NTSTATUS) 0x8000001B) +#define STATUS_MEDIA_CHANGED ((NTSTATUS) 0x8000001C) +#define STATUS_BUS_RESET ((NTSTATUS) 0x8000001D) +#define STATUS_END_OF_MEDIA ((NTSTATUS) 0x8000001E) +#define STATUS_BEGINNING_OF_MEDIA ((NTSTATUS) 0x8000001F) +#define STATUS_MEDIA_CHECK ((NTSTATUS) 0x80000020) +#define STATUS_SETMARK_DETECTED ((NTSTATUS) 0x80000021) +#define STATUS_NO_DATA_DETECTED ((NTSTATUS) 0x80000022) +#define STATUS_REDIRECTOR_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000023) +#define STATUS_SERVER_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000024) +#define STATUS_ALREADY_DISCONNECTED ((NTSTATUS) 0x80000025) +#define STATUS_LONGJUMP ((NTSTATUS) 0x80000026) +#define STATUS_CLEANER_CARTRIDGE_INSTALLED ((NTSTATUS) 0x80000027) +#define STATUS_PLUGPLAY_QUERY_VETOED ((NTSTATUS) 0x80000028) +#define STATUS_UNWIND_CONSOLIDATE ((NTSTATUS) 0x80000029) +#define STATUS_REGISTRY_HIVE_RECOVERED ((NTSTATUS) 0x8000002A) +#define STATUS_DLL_MIGHT_BE_INSECURE ((NTSTATUS) 0x8000002B) +#define STATUS_DLL_MIGHT_BE_INCOMPATIBLE ((NTSTATUS) 0x8000002C) + +#define STATUS_DEVICE_REQUIRES_CLEANING ((NTSTATUS) 0x80000288) +#define STATUS_DEVICE_DOOR_OPEN ((NTSTATUS) 0x80000289) + +#define STATUS_CLUSTER_NODE_ALREADY_UP ((NTSTATUS) 0x80130001) +#define STATUS_CLUSTER_NODE_ALREADY_DOWN ((NTSTATUS) 0x80130002) +#define STATUS_CLUSTER_NETWORK_ALREADY_ONLINE ((NTSTATUS) 0x80130003) +#define STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE ((NTSTATUS) 0x80130004) +#define STATUS_CLUSTER_NODE_ALREADY_MEMBER ((NTSTATUS) 0x80130005) + +#define STATUS_UNSUCCESSFUL ((NTSTATUS) 0xC0000001) +#define STATUS_NOT_IMPLEMENTED ((NTSTATUS) 0xC0000002) +#define STATUS_INVALID_INFO_CLASS ((NTSTATUS) 0xC0000003) +#define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xC0000004) +#define STATUS_ACCESS_VIOLATION ((NTSTATUS) 0xC0000005) +#define STATUS_IN_PAGE_ERROR ((NTSTATUS) 0xC0000006) +#define STATUS_PAGEFILE_QUOTA ((NTSTATUS) 0xC0000007) +#define STATUS_INVALID_HANDLE ((NTSTATUS) 0xC0000008) +#define STATUS_BAD_INITIAL_STACK ((NTSTATUS) 0xC0000009) +#define STATUS_BAD_INITIAL_PC ((NTSTATUS) 0xC000000A) +#define STATUS_INVALID_CID ((NTSTATUS) 0xC000000B) +#define STATUS_TIMER_NOT_CANCELED ((NTSTATUS) 0xC000000C) +#define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xC000000D) +#define STATUS_NO_SUCH_DEVICE ((NTSTATUS) 0xC000000E) +#define STATUS_NO_SUCH_FILE ((NTSTATUS) 0xC000000F) +#define STATUS_INVALID_DEVICE_REQUEST ((NTSTATUS) 0xC0000010) +#define STATUS_END_OF_FILE ((NTSTATUS) 0xC0000011) +#define STATUS_WRONG_VOLUME ((NTSTATUS) 0xC0000012) +#define STATUS_NO_MEDIA_IN_DEVICE ((NTSTATUS) 0xC0000013) +#define STATUS_UNRECOGNIZED_MEDIA ((NTSTATUS) 0xC0000014) +#define STATUS_NONEXISTENT_SECTOR ((NTSTATUS) 0xC0000015) +#define STATUS_MORE_PROCESSING_REQUIRED ((NTSTATUS) 0xC0000016) +#define STATUS_NO_MEMORY ((NTSTATUS) 0xC0000017) +#define STATUS_CONFLICTING_ADDRESSES ((NTSTATUS) 0xC0000018) +#define STATUS_NOT_MAPPED_VIEW ((NTSTATUS) 0xC0000019) +#define STATUS_UNABLE_TO_FREE_VM ((NTSTATUS) 0xC000001A) +#define STATUS_UNABLE_TO_DELETE_SECTION ((NTSTATUS) 0xC000001B) +#define STATUS_INVALID_SYSTEM_SERVICE ((NTSTATUS) 0xC000001C) +#define STATUS_ILLEGAL_INSTRUCTION ((NTSTATUS) 0xC000001D) +#define STATUS_INVALID_LOCK_SEQUENCE ((NTSTATUS) 0xC000001E) +#define STATUS_INVALID_VIEW_SIZE ((NTSTATUS) 0xC000001F) +#define STATUS_INVALID_FILE_FOR_SECTION ((NTSTATUS) 0xC0000020) +#define STATUS_ALREADY_COMMITTED ((NTSTATUS) 0xC0000021) +#define STATUS_ACCESS_DENIED ((NTSTATUS) 0xC0000022) +#define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xC0000023) +#define STATUS_OBJECT_TYPE_MISMATCH ((NTSTATUS) 0xC0000024) +#define STATUS_NONCONTINUABLE_EXCEPTION ((NTSTATUS) 0xC0000025) +#define STATUS_INVALID_DISPOSITION ((NTSTATUS) 0xC0000026) +#define STATUS_UNWIND ((NTSTATUS) 0xC0000027) +#define STATUS_BAD_STACK ((NTSTATUS) 0xC0000028) +#define STATUS_INVALID_UNWIND_TARGET ((NTSTATUS) 0xC0000029) +#define STATUS_NOT_LOCKED ((NTSTATUS) 0xC000002A) +#define STATUS_PARITY_ERROR ((NTSTATUS) 0xC000002B) +#define STATUS_UNABLE_TO_DECOMMIT_VM ((NTSTATUS) 0xC000002C) +#define STATUS_NOT_COMMITTED ((NTSTATUS) 0xC000002D) +#define STATUS_INVALID_PORT_ATTRIBUTES ((NTSTATUS) 0xC000002E) +#define STATUS_PORT_MESSAGE_TOO_LONG ((NTSTATUS) 0xC000002F) +#define STATUS_INVALID_PARAMETER_MIX ((NTSTATUS) 0xC0000030) +#define STATUS_INVALID_QUOTA_LOWER ((NTSTATUS) 0xC0000031) +#define STATUS_DISK_CORRUPT_ERROR ((NTSTATUS) 0xC0000032) +#define STATUS_OBJECT_NAME_INVALID ((NTSTATUS) 0xC0000033) +#define STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS) 0xC0000034) +#define STATUS_OBJECT_NAME_COLLISION ((NTSTATUS) 0xC0000035) +#define STATUS_PORT_DISCONNECTED ((NTSTATUS) 0xC0000037) +#define STATUS_DEVICE_ALREADY_ATTACHED ((NTSTATUS) 0xC0000038) +#define STATUS_OBJECT_PATH_INVALID ((NTSTATUS) 0xC0000039) +#define STATUS_OBJECT_PATH_NOT_FOUND ((NTSTATUS) 0xC000003A) +#define STATUS_OBJECT_PATH_SYNTAX_BAD ((NTSTATUS) 0xC000003B) +#define STATUS_DATA_OVERRUN ((NTSTATUS) 0xC000003C) +#define STATUS_DATA_LATE_ERROR ((NTSTATUS) 0xC000003D) +#define STATUS_DATA_ERROR ((NTSTATUS) 0xC000003E) +#define STATUS_CRC_ERROR ((NTSTATUS) 0xC000003F) +#define STATUS_SECTION_TOO_BIG ((NTSTATUS) 0xC0000040) +#define STATUS_PORT_CONNECTION_REFUSED ((NTSTATUS) 0xC0000041) +#define STATUS_INVALID_PORT_HANDLE ((NTSTATUS) 0xC0000042) +#define STATUS_SHARING_VIOLATION ((NTSTATUS) 0xC0000043) +#define STATUS_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000044) +#define STATUS_INVALID_PAGE_PROTECTION ((NTSTATUS) 0xC0000045) +#define STATUS_MUTANT_NOT_OWNED ((NTSTATUS) 0xC0000046) +#define STATUS_SEMAPHORE_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000047) +#define STATUS_PORT_ALREADY_SET ((NTSTATUS) 0xC0000048) +#define STATUS_SECTION_NOT_IMAGE ((NTSTATUS) 0xC0000049) +#define STATUS_SUSPEND_COUNT_EXCEEDED ((NTSTATUS) 0xC000004A) +#define STATUS_THREAD_IS_TERMINATING ((NTSTATUS) 0xC000004B) +#define STATUS_BAD_WORKING_SET_LIMIT ((NTSTATUS) 0xC000004C) +#define STATUS_INCOMPATIBLE_FILE_MAP ((NTSTATUS) 0xC000004D) +#define STATUS_SECTION_PROTECTION ((NTSTATUS) 0xC000004E) +#define STATUS_EAS_NOT_SUPPORTED ((NTSTATUS) 0xC000004F) +#define STATUS_EA_TOO_LARGE ((NTSTATUS) 0xC0000050) +#define STATUS_NONEXISTENT_EA_ENTRY ((NTSTATUS) 0xC0000051) +#define STATUS_NO_EAS_ON_FILE ((NTSTATUS) 0xC0000052) +#define STATUS_EA_CORRUPT_ERROR ((NTSTATUS) 0xC0000053) +#define STATUS_FILE_LOCK_CONFLICT ((NTSTATUS) 0xC0000054) +#define STATUS_LOCK_NOT_GRANTED ((NTSTATUS) 0xC0000055) +#define STATUS_DELETE_PENDING ((NTSTATUS) 0xC0000056) +#define STATUS_CTL_FILE_NOT_SUPPORTED ((NTSTATUS) 0xC0000057) +#define STATUS_UNKNOWN_REVISION ((NTSTATUS) 0xC0000058) +#define STATUS_REVISION_MISMATCH ((NTSTATUS) 0xC0000059) +#define STATUS_INVALID_OWNER ((NTSTATUS) 0xC000005A) +#define STATUS_INVALID_PRIMARY_GROUP ((NTSTATUS) 0xC000005B) +#define STATUS_NO_IMPERSONATION_TOKEN ((NTSTATUS) 0xC000005C) +#define STATUS_CANT_DISABLE_MANDATORY ((NTSTATUS) 0xC000005D) +#define STATUS_NO_LOGON_SERVERS ((NTSTATUS) 0xC000005E) +#define STATUS_NO_SUCH_LOGON_SESSION ((NTSTATUS) 0xC000005F) +#define STATUS_NO_SUCH_PRIVILEGE ((NTSTATUS) 0xC0000060) +#define STATUS_PRIVILEGE_NOT_HELD ((NTSTATUS) 0xC0000061) +#define STATUS_INVALID_ACCOUNT_NAME ((NTSTATUS) 0xC0000062) +#define STATUS_USER_EXISTS ((NTSTATUS) 0xC0000063) +#define STATUS_NO_SUCH_USER ((NTSTATUS) 0xC0000064) +#define STATUS_GROUP_EXISTS ((NTSTATUS) 0xC0000065) +#define STATUS_NO_SUCH_GROUP ((NTSTATUS) 0xC0000066) +#define STATUS_MEMBER_IN_GROUP ((NTSTATUS) 0xC0000067) +#define STATUS_MEMBER_NOT_IN_GROUP ((NTSTATUS) 0xC0000068) +#define STATUS_LAST_ADMIN ((NTSTATUS) 0xC0000069) +#define STATUS_WRONG_PASSWORD ((NTSTATUS) 0xC000006A) +#define STATUS_ILL_FORMED_PASSWORD ((NTSTATUS) 0xC000006B) +#define STATUS_PASSWORD_RESTRICTION ((NTSTATUS) 0xC000006C) +#define STATUS_LOGON_FAILURE ((NTSTATUS) 0xC000006D) +#define STATUS_ACCOUNT_RESTRICTION ((NTSTATUS) 0xC000006E) +#define STATUS_INVALID_LOGON_HOURS ((NTSTATUS) 0xC000006F) +#define STATUS_INVALID_WORKSTATION ((NTSTATUS) 0xC0000070) +#define STATUS_PASSWORD_EXPIRED ((NTSTATUS) 0xC0000071) +#define STATUS_ACCOUNT_DISABLED ((NTSTATUS) 0xC0000072) +#define STATUS_NONE_MAPPED ((NTSTATUS) 0xC0000073) +#define STATUS_TOO_MANY_LUIDS_REQUESTED ((NTSTATUS) 0xC0000074) +#define STATUS_LUIDS_EXHAUSTED ((NTSTATUS) 0xC0000075) +#define STATUS_INVALID_SUB_AUTHORITY ((NTSTATUS) 0xC0000076) +#define STATUS_INVALID_ACL ((NTSTATUS) 0xC0000077) +#define STATUS_INVALID_SID ((NTSTATUS) 0xC0000078) +#define STATUS_INVALID_SECURITY_DESCR ((NTSTATUS) 0xC0000079) +#define STATUS_PROCEDURE_NOT_FOUND ((NTSTATUS) 0xC000007A) +#define STATUS_INVALID_IMAGE_FORMAT ((NTSTATUS) 0xC000007B) +#define STATUS_NO_TOKEN ((NTSTATUS) 0xC000007C) +#define STATUS_BAD_INHERITANCE_ACL ((NTSTATUS) 0xC000007D) +#define STATUS_RANGE_NOT_LOCKED ((NTSTATUS) 0xC000007E) +#define STATUS_DISK_FULL ((NTSTATUS) 0xC000007F) +#define STATUS_SERVER_DISABLED ((NTSTATUS) 0xC0000080) +#define STATUS_SERVER_NOT_DISABLED ((NTSTATUS) 0xC0000081) +#define STATUS_TOO_MANY_GUIDS_REQUESTED ((NTSTATUS) 0xC0000082) +#define STATUS_GUIDS_EXHAUSTED ((NTSTATUS) 0xC0000083) +#define STATUS_INVALID_ID_AUTHORITY ((NTSTATUS) 0xC0000084) +#define STATUS_AGENTS_EXHAUSTED ((NTSTATUS) 0xC0000085) +#define STATUS_INVALID_VOLUME_LABEL ((NTSTATUS) 0xC0000086) +#define STATUS_SECTION_NOT_EXTENDED ((NTSTATUS) 0xC0000087) +#define STATUS_NOT_MAPPED_DATA ((NTSTATUS) 0xC0000088) +#define STATUS_RESOURCE_DATA_NOT_FOUND ((NTSTATUS) 0xC0000089) +#define STATUS_RESOURCE_TYPE_NOT_FOUND ((NTSTATUS) 0xC000008A) +#define STATUS_RESOURCE_NAME_NOT_FOUND ((NTSTATUS) 0xC000008B) +#define STATUS_ARRAY_BOUNDS_EXCEEDED ((NTSTATUS) 0xC000008C) +#define STATUS_FLOAT_DENORMAL_OPERAND ((NTSTATUS) 0xC000008D) +#define STATUS_FLOAT_DIVIDE_BY_ZERO ((NTSTATUS) 0xC000008E) +#define STATUS_FLOAT_INEXACT_RESULT ((NTSTATUS) 0xC000008F) +#define STATUS_FLOAT_INVALID_OPERATION ((NTSTATUS) 0xC0000090) +#define STATUS_FLOAT_OVERFLOW ((NTSTATUS) 0xC0000091) +#define STATUS_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000092) +#define STATUS_FLOAT_UNDERFLOW ((NTSTATUS) 0xC0000093) +#define STATUS_INTEGER_DIVIDE_BY_ZERO ((NTSTATUS) 0xC0000094) +#define STATUS_INTEGER_OVERFLOW ((NTSTATUS) 0xC0000095) +#define STATUS_PRIVILEGED_INSTRUCTION ((NTSTATUS) 0xC0000096) +#define STATUS_TOO_MANY_PAGING_FILES ((NTSTATUS) 0xC0000097) +#define STATUS_FILE_INVALID ((NTSTATUS) 0xC0000098) +#define STATUS_ALLOTTED_SPACE_EXCEEDED ((NTSTATUS) 0xC0000099) +#define STATUS_INSUFFICIENT_RESOURCES ((NTSTATUS) 0xC000009A) +#define STATUS_DFS_EXIT_PATH_FOUND ((NTSTATUS) 0xC000009B) +#define STATUS_DEVICE_DATA_ERROR ((NTSTATUS) 0xC000009C) +#define STATUS_DEVICE_NOT_CONNECTED ((NTSTATUS) 0xC000009D) +#define STATUS_DEVICE_POWER_FAILURE ((NTSTATUS) 0xC000009E) +#define STATUS_FREE_VM_NOT_AT_BASE ((NTSTATUS) 0xC000009F) +#define STATUS_MEMORY_NOT_ALLOCATED ((NTSTATUS) 0xC00000A0) +#define STATUS_WORKING_SET_QUOTA ((NTSTATUS) 0xC00000A1) +#define STATUS_MEDIA_WRITE_PROTECTED ((NTSTATUS) 0xC00000A2) +#define STATUS_DEVICE_NOT_READY ((NTSTATUS) 0xC00000A3) +#define STATUS_INVALID_GROUP_ATTRIBUTES ((NTSTATUS) 0xC00000A4) +#define STATUS_BAD_IMPERSONATION_LEVEL ((NTSTATUS) 0xC00000A5) +#define STATUS_CANT_OPEN_ANONYMOUS ((NTSTATUS) 0xC00000A6) +#define STATUS_BAD_VALIDATION_CLASS ((NTSTATUS) 0xC00000A7) +#define STATUS_BAD_TOKEN_TYPE ((NTSTATUS) 0xC00000A8) +#define STATUS_BAD_MASTER_BOOT_RECORD ((NTSTATUS) 0xC00000A9) +#define STATUS_INSTRUCTION_MISALIGNMENT ((NTSTATUS) 0xC00000AA) +#define STATUS_INSTANCE_NOT_AVAILABLE ((NTSTATUS) 0xC00000AB) +#define STATUS_PIPE_NOT_AVAILABLE ((NTSTATUS) 0xC00000AC) +#define STATUS_INVALID_PIPE_STATE ((NTSTATUS) 0xC00000AD) +#define STATUS_PIPE_BUSY ((NTSTATUS) 0xC00000AE) +#define STATUS_ILLEGAL_FUNCTION ((NTSTATUS) 0xC00000AF) +#define STATUS_PIPE_DISCONNECTED ((NTSTATUS) 0xC00000B0) +#define STATUS_PIPE_CLOSING ((NTSTATUS) 0xC00000B1) +#define STATUS_PIPE_CONNECTED ((NTSTATUS) 0xC00000B2) +#define STATUS_PIPE_LISTENING ((NTSTATUS) 0xC00000B3) +#define STATUS_INVALID_READ_MODE ((NTSTATUS) 0xC00000B4) +#define STATUS_IO_TIMEOUT ((NTSTATUS) 0xC00000B5) +#define STATUS_FILE_FORCED_CLOSED ((NTSTATUS) 0xC00000B6) +#define STATUS_PROFILING_NOT_STARTED ((NTSTATUS) 0xC00000B7) +#define STATUS_PROFILING_NOT_STOPPED ((NTSTATUS) 0xC00000B8) +#define STATUS_COULD_NOT_INTERPRET ((NTSTATUS) 0xC00000B9) +#define STATUS_FILE_IS_A_DIRECTORY ((NTSTATUS) 0xC00000BA) +#define STATUS_NOT_SUPPORTED ((NTSTATUS) 0xC00000BB) +#define STATUS_REMOTE_NOT_LISTENING ((NTSTATUS) 0xC00000BC) +#define STATUS_DUPLICATE_NAME ((NTSTATUS) 0xC00000BD) +#define STATUS_BAD_NETWORK_PATH ((NTSTATUS) 0xC00000BE) +#define STATUS_NETWORK_BUSY ((NTSTATUS) 0xC00000BF) +#define STATUS_DEVICE_DOES_NOT_EXIST ((NTSTATUS) 0xC00000C0) +#define STATUS_TOO_MANY_COMMANDS ((NTSTATUS) 0xC00000C1) +#define STATUS_ADAPTER_HARDWARE_ERROR ((NTSTATUS) 0xC00000C2) +#define STATUS_INVALID_NETWORK_RESPONSE ((NTSTATUS) 0xC00000C3) +#define STATUS_UNEXPECTED_NETWORK_ERROR ((NTSTATUS) 0xC00000C4) +#define STATUS_BAD_REMOTE_ADAPTER ((NTSTATUS) 0xC00000C5) +#define STATUS_PRINT_QUEUE_FULL ((NTSTATUS) 0xC00000C6) +#define STATUS_NO_SPOOL_SPACE ((NTSTATUS) 0xC00000C7) +#define STATUS_PRINT_CANCELLED ((NTSTATUS) 0xC00000C8) +#define STATUS_NETWORK_NAME_DELETED ((NTSTATUS) 0xC00000C9) +#define STATUS_NETWORK_ACCESS_DENIED ((NTSTATUS) 0xC00000CA) +#define STATUS_BAD_DEVICE_TYPE ((NTSTATUS) 0xC00000CB) +#define STATUS_BAD_NETWORK_NAME ((NTSTATUS) 0xC00000CC) +#define STATUS_TOO_MANY_NAMES ((NTSTATUS) 0xC00000CD) +#define STATUS_TOO_MANY_SESSIONS ((NTSTATUS) 0xC00000CE) +#define STATUS_SHARING_PAUSED ((NTSTATUS) 0xC00000CF) +#define STATUS_REQUEST_NOT_ACCEPTED ((NTSTATUS) 0xC00000D0) +#define STATUS_REDIRECTOR_PAUSED ((NTSTATUS) 0xC00000D1) +#define STATUS_NET_WRITE_FAULT ((NTSTATUS) 0xC00000D2) +#define STATUS_PROFILING_AT_LIMIT ((NTSTATUS) 0xC00000D3) +#define STATUS_NOT_SAME_DEVICE ((NTSTATUS) 0xC00000D4) +#define STATUS_FILE_RENAMED ((NTSTATUS) 0xC00000D5) +#define STATUS_VIRTUAL_CIRCUIT_CLOSED ((NTSTATUS) 0xC00000D6) +#define STATUS_NO_SECURITY_ON_OBJECT ((NTSTATUS) 0xC00000D7) +#define STATUS_CANT_WAIT ((NTSTATUS) 0xC00000D8) +#define STATUS_PIPE_EMPTY ((NTSTATUS) 0xC00000D9) +#define STATUS_CANT_ACCESS_DOMAIN_INFO ((NTSTATUS) 0xC00000DA) +#define STATUS_CANT_TERMINATE_SELF ((NTSTATUS) 0xC00000DB) +#define STATUS_INVALID_SERVER_STATE ((NTSTATUS) 0xC00000DC) +#define STATUS_INVALID_DOMAIN_STATE ((NTSTATUS) 0xC00000DD) +#define STATUS_INVALID_DOMAIN_ROLE ((NTSTATUS) 0xC00000DE) +#define STATUS_NO_SUCH_DOMAIN ((NTSTATUS) 0xC00000DF) +#define STATUS_DOMAIN_EXISTS ((NTSTATUS) 0xC00000E0) +#define STATUS_DOMAIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00000E1) +#define STATUS_OPLOCK_NOT_GRANTED ((NTSTATUS) 0xC00000E2) +#define STATUS_INVALID_OPLOCK_PROTOCOL ((NTSTATUS) 0xC00000E3) +#define STATUS_INTERNAL_DB_CORRUPTION ((NTSTATUS) 0xC00000E4) +#define STATUS_INTERNAL_ERROR ((NTSTATUS) 0xC00000E5) +#define STATUS_GENERIC_NOT_MAPPED ((NTSTATUS) 0xC00000E6) +#define STATUS_BAD_DESCRIPTOR_FORMAT ((NTSTATUS) 0xC00000E7) +#define STATUS_INVALID_USER_BUFFER ((NTSTATUS) 0xC00000E8) +#define STATUS_UNEXPECTED_IO_ERROR ((NTSTATUS) 0xC00000E9) +#define STATUS_UNEXPECTED_MM_CREATE_ERR ((NTSTATUS) 0xC00000EA) +#define STATUS_UNEXPECTED_MM_MAP_ERROR ((NTSTATUS) 0xC00000EB) +#define STATUS_UNEXPECTED_MM_EXTEND_ERR ((NTSTATUS) 0xC00000EC) +#define STATUS_NOT_LOGON_PROCESS ((NTSTATUS) 0xC00000ED) +#define STATUS_LOGON_SESSION_EXISTS ((NTSTATUS) 0xC00000EE) +#define STATUS_INVALID_PARAMETER_1 ((NTSTATUS) 0xC00000EF) +#define STATUS_INVALID_PARAMETER_2 ((NTSTATUS) 0xC00000F0) +#define STATUS_INVALID_PARAMETER_3 ((NTSTATUS) 0xC00000F1) +#define STATUS_INVALID_PARAMETER_4 ((NTSTATUS) 0xC00000F2) +#define STATUS_INVALID_PARAMETER_5 ((NTSTATUS) 0xC00000F3) +#define STATUS_INVALID_PARAMETER_6 ((NTSTATUS) 0xC00000F4) +#define STATUS_INVALID_PARAMETER_7 ((NTSTATUS) 0xC00000F5) +#define STATUS_INVALID_PARAMETER_8 ((NTSTATUS) 0xC00000F6) +#define STATUS_INVALID_PARAMETER_9 ((NTSTATUS) 0xC00000F7) +#define STATUS_INVALID_PARAMETER_10 ((NTSTATUS) 0xC00000F8) +#define STATUS_INVALID_PARAMETER_11 ((NTSTATUS) 0xC00000F9) +#define STATUS_INVALID_PARAMETER_12 ((NTSTATUS) 0xC00000FA) +#define STATUS_REDIRECTOR_NOT_STARTED ((NTSTATUS) 0xC00000FB) +#define STATUS_REDIRECTOR_STARTED ((NTSTATUS) 0xC00000FC) +#define STATUS_STACK_OVERFLOW ((NTSTATUS) 0xC00000FD) +#define STATUS_NO_SUCH_PACKAGE ((NTSTATUS) 0xC00000FE) +#define STATUS_BAD_FUNCTION_TABLE ((NTSTATUS) 0xC00000FF) +#define STATUS_VARIABLE_NOT_FOUND ((NTSTATUS) 0xC0000100) +#define STATUS_DIRECTORY_NOT_EMPTY ((NTSTATUS) 0xC0000101) +#define STATUS_FILE_CORRUPT_ERROR ((NTSTATUS) 0xC0000102) +#define STATUS_NOT_A_DIRECTORY ((NTSTATUS) 0xC0000103) +#define STATUS_BAD_LOGON_SESSION_STATE ((NTSTATUS) 0xC0000104) +#define STATUS_LOGON_SESSION_COLLISION ((NTSTATUS) 0xC0000105) +#define STATUS_NAME_TOO_LONG ((NTSTATUS) 0xC0000106) +#define STATUS_FILES_OPEN ((NTSTATUS) 0xC0000107) +#define STATUS_CONNECTION_IN_USE ((NTSTATUS) 0xC0000108) +#define STATUS_MESSAGE_NOT_FOUND ((NTSTATUS) 0xC0000109) +#define STATUS_PROCESS_IS_TERMINATING ((NTSTATUS) 0xC000010A) +#define STATUS_INVALID_LOGON_TYPE ((NTSTATUS) 0xC000010B) +#define STATUS_NO_GUID_TRANSLATION ((NTSTATUS) 0xC000010C) +#define STATUS_CANNOT_IMPERSONATE ((NTSTATUS) 0xC000010D) +#define STATUS_IMAGE_ALREADY_LOADED ((NTSTATUS) 0xC000010E) +#define STATUS_ABIOS_NOT_PRESENT ((NTSTATUS) 0xC000010F) +#define STATUS_ABIOS_LID_NOT_EXIST ((NTSTATUS) 0xC0000110) +#define STATUS_ABIOS_LID_ALREADY_OWNED ((NTSTATUS) 0xC0000111) +#define STATUS_ABIOS_NOT_LID_OWNER ((NTSTATUS) 0xC0000112) +#define STATUS_ABIOS_INVALID_COMMAND ((NTSTATUS) 0xC0000113) +#define STATUS_ABIOS_INVALID_LID ((NTSTATUS) 0xC0000114) +#define STATUS_ABIOS_SELECTOR_NOT_AVAILABLE ((NTSTATUS) 0xC0000115) +#define STATUS_ABIOS_INVALID_SELECTOR ((NTSTATUS) 0xC0000116) +#define STATUS_NO_LDT ((NTSTATUS) 0xC0000117) +#define STATUS_INVALID_LDT_SIZE ((NTSTATUS) 0xC0000118) +#define STATUS_INVALID_LDT_OFFSET ((NTSTATUS) 0xC0000119) +#define STATUS_INVALID_LDT_DESCRIPTOR ((NTSTATUS) 0xC000011A) +#define STATUS_INVALID_IMAGE_NE_FORMAT ((NTSTATUS) 0xC000011B) +#define STATUS_RXACT_INVALID_STATE ((NTSTATUS) 0xC000011C) +#define STATUS_RXACT_COMMIT_FAILURE ((NTSTATUS) 0xC000011D) +#define STATUS_MAPPED_FILE_SIZE_ZERO ((NTSTATUS) 0xC000011E) +#define STATUS_TOO_MANY_OPENED_FILES ((NTSTATUS) 0xC000011F) +#define STATUS_CANCELLED ((NTSTATUS) 0xC0000120) +#define STATUS_CANNOT_DELETE ((NTSTATUS) 0xC0000121) +#define STATUS_INVALID_COMPUTER_NAME ((NTSTATUS) 0xC0000122) +#define STATUS_FILE_DELETED ((NTSTATUS) 0xC0000123) +#define STATUS_SPECIAL_ACCOUNT ((NTSTATUS) 0xC0000124) +#define STATUS_SPECIAL_GROUP ((NTSTATUS) 0xC0000125) +#define STATUS_SPECIAL_USER ((NTSTATUS) 0xC0000126) +#define STATUS_MEMBERS_PRIMARY_GROUP ((NTSTATUS) 0xC0000127) +#define STATUS_FILE_CLOSED ((NTSTATUS) 0xC0000128) +#define STATUS_TOO_MANY_THREADS ((NTSTATUS) 0xC0000129) +#define STATUS_THREAD_NOT_IN_PROCESS ((NTSTATUS) 0xC000012A) +#define STATUS_TOKEN_ALREADY_IN_USE ((NTSTATUS) 0xC000012B) +#define STATUS_PAGEFILE_QUOTA_EXCEEDED ((NTSTATUS) 0xC000012C) +#define STATUS_COMMITMENT_LIMIT ((NTSTATUS) 0xC000012D) +#define STATUS_INVALID_IMAGE_LE_FORMAT ((NTSTATUS) 0xC000012E) +#define STATUS_INVALID_IMAGE_NOT_MZ ((NTSTATUS) 0xC000012F) +#define STATUS_INVALID_IMAGE_PROTECT ((NTSTATUS) 0xC0000130) +#define STATUS_INVALID_IMAGE_WIN_16 ((NTSTATUS) 0xC0000131) +#define STATUS_LOGON_SERVER_CONFLICT ((NTSTATUS) 0xC0000132) +#define STATUS_TIME_DIFFERENCE_AT_DC ((NTSTATUS) 0xC0000133) +#define STATUS_SYNCHRONIZATION_REQUIRED ((NTSTATUS) 0xC0000134) +#define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xC0000135) +#define STATUS_OPEN_FAILED ((NTSTATUS) 0xC0000136) +#define STATUS_IO_PRIVILEGE_FAILED ((NTSTATUS) 0xC0000137) +#define STATUS_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000138) +#define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000139) +#define STATUS_CONTROL_C_EXIT ((NTSTATUS) 0xC000013A) +#define STATUS_LOCAL_DISCONNECT ((NTSTATUS) 0xC000013B) +#define STATUS_REMOTE_DISCONNECT ((NTSTATUS) 0xC000013C) +#define STATUS_REMOTE_RESOURCES ((NTSTATUS) 0xC000013D) +#define STATUS_LINK_FAILED ((NTSTATUS) 0xC000013E) +#define STATUS_LINK_TIMEOUT ((NTSTATUS) 0xC000013F) +#define STATUS_INVALID_CONNECTION ((NTSTATUS) 0xC0000140) +#define STATUS_INVALID_ADDRESS ((NTSTATUS) 0xC0000141) +#define STATUS_DLL_INIT_FAILED ((NTSTATUS) 0xC0000142) +#define STATUS_MISSING_SYSTEMFILE ((NTSTATUS) 0xC0000143) +#define STATUS_UNHANDLED_EXCEPTION ((NTSTATUS) 0xC0000144) +#define STATUS_APP_INIT_FAILURE ((NTSTATUS) 0xC0000145) +#define STATUS_PAGEFILE_CREATE_FAILED ((NTSTATUS) 0xC0000146) +#define STATUS_NO_PAGEFILE ((NTSTATUS) 0xC0000147) +#define STATUS_INVALID_LEVEL ((NTSTATUS) 0xC0000148) +#define STATUS_WRONG_PASSWORD_CORE ((NTSTATUS) 0xC0000149) +#define STATUS_ILLEGAL_FLOAT_CONTEXT ((NTSTATUS) 0xC000014A) +#define STATUS_PIPE_BROKEN ((NTSTATUS) 0xC000014B) +#define STATUS_REGISTRY_CORRUPT ((NTSTATUS) 0xC000014C) +#define STATUS_REGISTRY_IO_FAILED ((NTSTATUS) 0xC000014D) +#define STATUS_NO_EVENT_PAIR ((NTSTATUS) 0xC000014E) +#define STATUS_UNRECOGNIZED_VOLUME ((NTSTATUS) 0xC000014F) +#define STATUS_SERIAL_NO_DEVICE_INITED ((NTSTATUS) 0xC0000150) +#define STATUS_NO_SUCH_ALIAS ((NTSTATUS) 0xC0000151) +#define STATUS_MEMBER_NOT_IN_ALIAS ((NTSTATUS) 0xC0000152) +#define STATUS_MEMBER_IN_ALIAS ((NTSTATUS) 0xC0000153) +#define STATUS_ALIAS_EXISTS ((NTSTATUS) 0xC0000154) +#define STATUS_LOGON_NOT_GRANTED ((NTSTATUS) 0xC0000155) +#define STATUS_TOO_MANY_SECRETS ((NTSTATUS) 0xC0000156) +#define STATUS_SECRET_TOO_LONG ((NTSTATUS) 0xC0000157) +#define STATUS_INTERNAL_DB_ERROR ((NTSTATUS) 0xC0000158) +#define STATUS_FULLSCREEN_MODE ((NTSTATUS) 0xC0000159) +#define STATUS_TOO_MANY_CONTEXT_IDS ((NTSTATUS) 0xC000015A) +#define STATUS_LOGON_TYPE_NOT_GRANTED ((NTSTATUS) 0xC000015B) +#define STATUS_NOT_REGISTRY_FILE ((NTSTATUS) 0xC000015C) +#define STATUS_NT_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000015D) +#define STATUS_DOMAIN_CTRLR_CONFIG_ERROR ((NTSTATUS) 0xC000015E) +#define STATUS_FT_MISSING_MEMBER ((NTSTATUS) 0xC000015F) +#define STATUS_ILL_FORMED_SERVICE_ENTRY ((NTSTATUS) 0xC0000160) +#define STATUS_ILLEGAL_CHARACTER ((NTSTATUS) 0xC0000161) +#define STATUS_UNMAPPABLE_CHARACTER ((NTSTATUS) 0xC0000162) +#define STATUS_UNDEFINED_CHARACTER ((NTSTATUS) 0xC0000163) +#define STATUS_FLOPPY_VOLUME ((NTSTATUS) 0xC0000164) +#define STATUS_FLOPPY_ID_MARK_NOT_FOUND ((NTSTATUS) 0xC0000165) +#define STATUS_FLOPPY_WRONG_CYLINDER ((NTSTATUS) 0xC0000166) +#define STATUS_FLOPPY_UNKNOWN_ERROR ((NTSTATUS) 0xC0000167) +#define STATUS_FLOPPY_BAD_REGISTERS ((NTSTATUS) 0xC0000168) +#define STATUS_DISK_RECALIBRATE_FAILED ((NTSTATUS) 0xC0000169) +#define STATUS_DISK_OPERATION_FAILED ((NTSTATUS) 0xC000016A) +#define STATUS_DISK_RESET_FAILED ((NTSTATUS) 0xC000016B) +#define STATUS_SHARED_IRQ_BUSY ((NTSTATUS) 0xC000016C) +#define STATUS_FT_ORPHANING ((NTSTATUS) 0xC000016D) +#define STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT ((NTSTATUS) 0xC000016E) + +#define STATUS_PARTITION_FAILURE ((NTSTATUS) 0xC0000172) +#define STATUS_INVALID_BLOCK_LENGTH ((NTSTATUS) 0xC0000173) +#define STATUS_DEVICE_NOT_PARTITIONED ((NTSTATUS) 0xC0000174) +#define STATUS_UNABLE_TO_LOCK_MEDIA ((NTSTATUS) 0xC0000175) +#define STATUS_UNABLE_TO_UNLOAD_MEDIA ((NTSTATUS) 0xC0000176) +#define STATUS_EOM_OVERFLOW ((NTSTATUS) 0xC0000177) +#define STATUS_NO_MEDIA ((NTSTATUS) 0xC0000178) +#define STATUS_NO_SUCH_MEMBER ((NTSTATUS) 0xC000017A) +#define STATUS_INVALID_MEMBER ((NTSTATUS) 0xC000017B) +#define STATUS_KEY_DELETED ((NTSTATUS) 0xC000017C) +#define STATUS_NO_LOG_SPACE ((NTSTATUS) 0xC000017D) +#define STATUS_TOO_MANY_SIDS ((NTSTATUS) 0xC000017E) +#define STATUS_LM_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000017F) +#define STATUS_KEY_HAS_CHILDREN ((NTSTATUS) 0xC0000180) +#define STATUS_CHILD_MUST_BE_VOLATILE ((NTSTATUS) 0xC0000181) +#define STATUS_DEVICE_CONFIGURATION_ERROR ((NTSTATUS) 0xC0000182) +#define STATUS_DRIVER_INTERNAL_ERROR ((NTSTATUS) 0xC0000183) +#define STATUS_INVALID_DEVICE_STATE ((NTSTATUS) 0xC0000184) +#define STATUS_IO_DEVICE_ERROR ((NTSTATUS) 0xC0000185) +#define STATUS_DEVICE_PROTOCOL_ERROR ((NTSTATUS) 0xC0000186) +#define STATUS_BACKUP_CONTROLLER ((NTSTATUS) 0xC0000187) +#define STATUS_LOG_FILE_FULL ((NTSTATUS) 0xC0000188) +#define STATUS_TOO_LATE ((NTSTATUS) 0xC0000189) +#define STATUS_NO_TRUST_LSA_SECRET ((NTSTATUS) 0xC000018A) +#define STATUS_NO_TRUST_SAM_ACCOUNT ((NTSTATUS) 0xC000018B) +#define STATUS_TRUSTED_DOMAIN_FAILURE ((NTSTATUS) 0xC000018C) +#define STATUS_TRUSTED_RELATIONSHIP_FAILURE ((NTSTATUS) 0xC000018D) +#define STATUS_EVENTLOG_FILE_CORRUPT ((NTSTATUS) 0xC000018E) +#define STATUS_EVENTLOG_CANT_START ((NTSTATUS) 0xC000018F) +#define STATUS_TRUST_FAILURE ((NTSTATUS) 0xC0000190) +#define STATUS_MUTANT_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000191) +#define STATUS_NETLOGON_NOT_STARTED ((NTSTATUS) 0xC0000192) +#define STATUS_ACCOUNT_EXPIRED ((NTSTATUS) 0xC0000193) +#define STATUS_POSSIBLE_DEADLOCK ((NTSTATUS) 0xC0000194) +#define STATUS_NETWORK_CREDENTIAL_CONFLICT ((NTSTATUS) 0xC0000195) +#define STATUS_REMOTE_SESSION_LIMIT ((NTSTATUS) 0xC0000196) +#define STATUS_EVENTLOG_FILE_CHANGED ((NTSTATUS) 0xC0000197) +#define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT ((NTSTATUS) 0xC0000198) +#define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT ((NTSTATUS) 0xC0000199) +#define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT ((NTSTATUS) 0xC000019A) +#define STATUS_DOMAIN_TRUST_INCONSISTENT ((NTSTATUS) 0xC000019B) +#define STATUS_FS_DRIVER_REQUIRED ((NTSTATUS) 0xC000019C) +#define STATUS_NO_USER_SESSION_KEY ((NTSTATUS) 0xC0000202) +#define STATUS_USER_SESSION_DELETED ((NTSTATUS) 0xC0000203) +#define STATUS_RESOURCE_LANG_NOT_FOUND ((NTSTATUS) 0xC0000204) +#define STATUS_INSUFF_SERVER_RESOURCES ((NTSTATUS) 0xC0000205) +#define STATUS_INVALID_BUFFER_SIZE ((NTSTATUS) 0xC0000206) +#define STATUS_INVALID_ADDRESS_COMPONENT ((NTSTATUS) 0xC0000207) +#define STATUS_INVALID_ADDRESS_WILDCARD ((NTSTATUS) 0xC0000208) +#define STATUS_TOO_MANY_ADDRESSES ((NTSTATUS) 0xC0000209) +#define STATUS_ADDRESS_ALREADY_EXISTS ((NTSTATUS) 0xC000020A) +#define STATUS_ADDRESS_CLOSED ((NTSTATUS) 0xC000020B) +#define STATUS_CONNECTION_DISCONNECTED ((NTSTATUS) 0xC000020C) +#define STATUS_CONNECTION_RESET ((NTSTATUS) 0xC000020D) +#define STATUS_TOO_MANY_NODES ((NTSTATUS) 0xC000020E) +#define STATUS_TRANSACTION_ABORTED ((NTSTATUS) 0xC000020F) +#define STATUS_TRANSACTION_TIMED_OUT ((NTSTATUS) 0xC0000210) +#define STATUS_TRANSACTION_NO_RELEASE ((NTSTATUS) 0xC0000211) +#define STATUS_TRANSACTION_NO_MATCH ((NTSTATUS) 0xC0000212) +#define STATUS_TRANSACTION_RESPONDED ((NTSTATUS) 0xC0000213) +#define STATUS_TRANSACTION_INVALID_ID ((NTSTATUS) 0xC0000214) +#define STATUS_TRANSACTION_INVALID_TYPE ((NTSTATUS) 0xC0000215) +#define STATUS_NOT_SERVER_SESSION ((NTSTATUS) 0xC0000216) +#define STATUS_NOT_CLIENT_SESSION ((NTSTATUS) 0xC0000217) +#define STATUS_CANNOT_LOAD_REGISTRY_FILE ((NTSTATUS) 0xC0000218) +#define STATUS_DEBUG_ATTACH_FAILED ((NTSTATUS) 0xC0000219) +#define STATUS_SYSTEM_PROCESS_TERMINATED ((NTSTATUS) 0xC000021A) +#define STATUS_DATA_NOT_ACCEPTED ((NTSTATUS) 0xC000021B) +#define STATUS_NO_BROWSER_SERVERS_FOUND ((NTSTATUS) 0xC000021C) +#define STATUS_VDM_HARD_ERROR ((NTSTATUS) 0xC000021D) +#define STATUS_DRIVER_CANCEL_TIMEOUT ((NTSTATUS) 0xC000021E) +#define STATUS_REPLY_MESSAGE_MISMATCH ((NTSTATUS) 0xC000021F) +#define STATUS_MAPPED_ALIGNMENT ((NTSTATUS) 0xC0000220) +#define STATUS_IMAGE_CHECKSUM_MISMATCH ((NTSTATUS) 0xC0000221) +#define STATUS_LOST_WRITEBEHIND_DATA ((NTSTATUS) 0xC0000222) +#define STATUS_CLIENT_SERVER_PARAMETERS_INVALID ((NTSTATUS) 0xC0000223) +#define STATUS_PASSWORD_MUST_CHANGE ((NTSTATUS) 0xC0000224) +#define STATUS_NOT_FOUND ((NTSTATUS) 0xC0000225) +#define STATUS_NOT_TINY_STREAM ((NTSTATUS) 0xC0000226) +#define STATUS_RECOVERY_FAILURE ((NTSTATUS) 0xC0000227) +#define STATUS_STACK_OVERFLOW_READ ((NTSTATUS) 0xC0000228) +#define STATUS_FAIL_CHECK ((NTSTATUS) 0xC0000229) +#define STATUS_DUPLICATE_OBJECTID ((NTSTATUS) 0xC000022A) +#define STATUS_OBJECTID_EXISTS ((NTSTATUS) 0xC000022B) +#define STATUS_CONVERT_TO_LARGE ((NTSTATUS) 0xC000022C) +#define STATUS_RETRY ((NTSTATUS) 0xC000022D) +#define STATUS_FOUND_OUT_OF_SCOPE ((NTSTATUS) 0xC000022E) +#define STATUS_ALLOCATE_BUCKET ((NTSTATUS) 0xC000022F) +#define STATUS_PROPSET_NOT_FOUND ((NTSTATUS) 0xC0000230) +#define STATUS_MARSHALL_OVERFLOW ((NTSTATUS) 0xC0000231) +#define STATUS_INVALID_VARIANT ((NTSTATUS) 0xC0000232) +#define STATUS_DOMAIN_CONTROLLER_NOT_FOUND ((NTSTATUS) 0xC0000233) +#define STATUS_ACCOUNT_LOCKED_OUT ((NTSTATUS) 0xC0000234) +#define STATUS_HANDLE_NOT_CLOSABLE ((NTSTATUS) 0xC0000235) +#define STATUS_CONNECTION_REFUSED ((NTSTATUS) 0xC0000236) +#define STATUS_GRACEFUL_DISCONNECT ((NTSTATUS) 0xC0000237) +#define STATUS_ADDRESS_ALREADY_ASSOCIATED ((NTSTATUS) 0xC0000238) +#define STATUS_ADDRESS_NOT_ASSOCIATED ((NTSTATUS) 0xC0000239) +#define STATUS_CONNECTION_INVALID ((NTSTATUS) 0xC000023A) +#define STATUS_CONNECTION_ACTIVE ((NTSTATUS) 0xC000023B) +#define STATUS_NETWORK_UNREACHABLE ((NTSTATUS) 0xC000023C) +#define STATUS_HOST_UNREACHABLE ((NTSTATUS) 0xC000023D) +#define STATUS_PROTOCOL_UNREACHABLE ((NTSTATUS) 0xC000023E) +#define STATUS_PORT_UNREACHABLE ((NTSTATUS) 0xC000023F) +#define STATUS_REQUEST_ABORTED ((NTSTATUS) 0xC0000240) +#define STATUS_CONNECTION_ABORTED ((NTSTATUS) 0xC0000241) +#define STATUS_BAD_COMPRESSION_BUFFER ((NTSTATUS) 0xC0000242) +#define STATUS_USER_MAPPED_FILE ((NTSTATUS) 0xC0000243) +#define STATUS_AUDIT_FAILED ((NTSTATUS) 0xC0000244) +#define STATUS_TIMER_RESOLUTION_NOT_SET ((NTSTATUS) 0xC0000245) +#define STATUS_CONNECTION_COUNT_LIMIT ((NTSTATUS) 0xC0000246) +#define STATUS_LOGIN_TIME_RESTRICTION ((NTSTATUS) 0xC0000247) +#define STATUS_LOGIN_WKSTA_RESTRICTION ((NTSTATUS) 0xC0000248) +#define STATUS_IMAGE_MP_UP_MISMATCH ((NTSTATUS) 0xC0000249) +#define STATUS_INSUFFICIENT_LOGON_INFO ((NTSTATUS) 0xC0000250) +#define STATUS_BAD_DLL_ENTRYPOINT ((NTSTATUS) 0xC0000251) +#define STATUS_BAD_SERVICE_ENTRYPOINT ((NTSTATUS) 0xC0000252) +#define STATUS_LPC_REPLY_LOST ((NTSTATUS) 0xC0000253) +#define STATUS_IP_ADDRESS_CONFLICT1 ((NTSTATUS) 0xC0000254) +#define STATUS_IP_ADDRESS_CONFLICT2 ((NTSTATUS) 0xC0000255) +#define STATUS_REGISTRY_QUOTA_LIMIT ((NTSTATUS) 0xC0000256) +#define STATUS_PATH_NOT_COVERED ((NTSTATUS) 0xC0000257) +#define STATUS_NO_CALLBACK_ACTIVE ((NTSTATUS) 0xC0000258) +#define STATUS_LICENSE_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000259) +#define STATUS_PWD_TOO_SHORT ((NTSTATUS) 0xC000025A) +#define STATUS_PWD_TOO_RECENT ((NTSTATUS) 0xC000025B) +#define STATUS_PWD_HISTORY_CONFLICT ((NTSTATUS) 0xC000025C) +#define STATUS_PLUGPLAY_NO_DEVICE ((NTSTATUS) 0xC000025E) +#define STATUS_UNSUPPORTED_COMPRESSION ((NTSTATUS) 0xC000025F) +#define STATUS_INVALID_HW_PROFILE ((NTSTATUS) 0xC0000260) +#define STATUS_INVALID_PLUGPLAY_DEVICE_PATH ((NTSTATUS) 0xC0000261) +#define STATUS_DRIVER_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000262) +#define STATUS_DRIVER_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000263) +#define STATUS_RESOURCE_NOT_OWNED ((NTSTATUS) 0xC0000264) +#define STATUS_TOO_MANY_LINKS ((NTSTATUS) 0xC0000265) +#define STATUS_QUOTA_LIST_INCONSISTENT ((NTSTATUS) 0xC0000266) +#define STATUS_FILE_IS_OFFLINE ((NTSTATUS) 0xC0000267) +#define STATUS_EVALUATION_EXPIRATION ((NTSTATUS) 0xC0000268) +#define STATUS_ILLEGAL_DLL_RELOCATION ((NTSTATUS) 0xC0000269) +#define STATUS_LICENSE_VIOLATION ((NTSTATUS) 0xC000026A) +#define STATUS_DLL_INIT_FAILED_LOGOFF ((NTSTATUS) 0xC000026B) +#define STATUS_DRIVER_UNABLE_TO_LOAD ((NTSTATUS) 0xC000026C) +#define STATUS_DFS_UNAVAILABLE ((NTSTATUS) 0xC000026D) +#define STATUS_VOLUME_DISMOUNTED ((NTSTATUS) 0xC000026E) +#define STATUS_WX86_INTERNAL_ERROR ((NTSTATUS) 0xC000026F) +#define STATUS_WX86_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000270) +#define STATUS_VALIDATE_CONTINUE ((NTSTATUS) 0xC0000271) +#define STATUS_NO_MATCH ((NTSTATUS) 0xC0000272) +#define STATUS_NO_MORE_MATCHES ((NTSTATUS) 0xC0000273) +#define STATUS_NOT_A_REPARSE_POINT ((NTSTATUS) 0xC0000275) +#define STATUS_IO_REPARSE_TAG_INVALID ((NTSTATUS) 0xC0000276) +#define STATUS_IO_REPARSE_TAG_MISMATCH ((NTSTATUS) 0xC0000277) +#define STATUS_IO_REPARSE_DATA_INVALID ((NTSTATUS) 0xC0000278) +#define STATUS_IO_REPARSE_TAG_NOT_HANDLED ((NTSTATUS) 0xC0000279) +#define STATUS_REPARSE_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000280) +#define STATUS_DIRECTORY_IS_A_REPARSE_POINT ((NTSTATUS) 0xC0000281) +#define STATUS_RANGE_LIST_CONFLICT ((NTSTATUS) 0xC0000282) +#define STATUS_SOURCE_ELEMENT_EMPTY ((NTSTATUS) 0xC0000283) +#define STATUS_DESTINATION_ELEMENT_FULL ((NTSTATUS) 0xC0000284) +#define STATUS_ILLEGAL_ELEMENT_ADDRESS ((NTSTATUS) 0xC0000285) +#define STATUS_MAGAZINE_NOT_PRESENT ((NTSTATUS) 0xC0000286) +#define STATUS_REINITIALIZATION_NEEDED ((NTSTATUS) 0xC0000287) +#define STATUS_ENCRYPTION_FAILED ((NTSTATUS) 0xC000028A) +#define STATUS_DECRYPTION_FAILED ((NTSTATUS) 0xC000028B) +#define STATUS_RANGE_NOT_FOUND ((NTSTATUS) 0xC000028C) +#define STATUS_NO_RECOVERY_POLICY ((NTSTATUS) 0xC000028D) +#define STATUS_NO_EFS ((NTSTATUS) 0xC000028E) +#define STATUS_WRONG_EFS ((NTSTATUS) 0xC000028F) +#define STATUS_NO_USER_KEYS ((NTSTATUS) 0xC0000290) +#define STATUS_FILE_NOT_ENCRYPTED ((NTSTATUS) 0xC0000291) +#define STATUS_NOT_EXPORT_FORMAT ((NTSTATUS) 0xC0000292) +#define STATUS_FILE_ENCRYPTED ((NTSTATUS) 0xC0000293) +#define STATUS_WMI_GUID_NOT_FOUND ((NTSTATUS) 0xC0000295) +#define STATUS_WMI_INSTANCE_NOT_FOUND ((NTSTATUS) 0xC0000296) +#define STATUS_WMI_ITEMID_NOT_FOUND ((NTSTATUS) 0xC0000297) +#define STATUS_WMI_TRY_AGAIN ((NTSTATUS) 0xC0000298) +#define STATUS_SHARED_POLICY ((NTSTATUS) 0xC0000299) +#define STATUS_POLICY_OBJECT_NOT_FOUND ((NTSTATUS) 0xC000029A) +#define STATUS_POLICY_ONLY_IN_DS ((NTSTATUS) 0xC000029B) +#define STATUS_VOLUME_NOT_UPGRADED ((NTSTATUS) 0xC000029C) +#define STATUS_REMOTE_STORAGE_NOT_ACTIVE ((NTSTATUS) 0xC000029D) +#define STATUS_REMOTE_STORAGE_MEDIA_ERROR ((NTSTATUS) 0xC000029E) +#define STATUS_NO_TRACKING_SERVICE ((NTSTATUS) 0xC000029F) +#define STATUS_SERVER_SID_MISMATCH ((NTSTATUS) 0xC00002A0) +#define STATUS_DS_NO_ATTRIBUTE_OR_VALUE ((NTSTATUS) 0xC00002A1) +#define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ((NTSTATUS) 0xC00002A2) +#define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ((NTSTATUS) 0xC00002A3) +#define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ((NTSTATUS) 0xC00002A4) +#define STATUS_DS_BUSY ((NTSTATUS) 0xC00002A5) +#define STATUS_DS_UNAVAILABLE ((NTSTATUS) 0xC00002A6) +#define STATUS_DS_NO_RIDS_ALLOCATED ((NTSTATUS) 0xC00002A7) +#define STATUS_DS_NO_MORE_RIDS ((NTSTATUS) 0xC00002A8) +#define STATUS_DS_INCORRECT_ROLE_OWNER ((NTSTATUS) 0xC00002A9) +#define STATUS_DS_RIDMGR_INIT_ERROR ((NTSTATUS) 0xC00002AA) +#define STATUS_DS_OBJ_CLASS_VIOLATION ((NTSTATUS) 0xC00002AB) +#define STATUS_DS_CANT_ON_NON_LEAF ((NTSTATUS) 0xC00002AC) +#define STATUS_DS_CANT_ON_RDN ((NTSTATUS) 0xC00002AD) +#define STATUS_DS_CANT_MOD_OBJ_CLASS ((NTSTATUS) 0xC00002AE) +#define STATUS_DS_CROSS_DOM_MOVE_FAILED ((NTSTATUS) 0xC00002AF) +#define STATUS_DS_GC_NOT_AVAILABLE ((NTSTATUS) 0xC00002B0) +#define STATUS_DIRECTORY_SERVICE_REQUIRED ((NTSTATUS) 0xC00002B1) +#define STATUS_REPARSE_ATTRIBUTE_CONFLICT ((NTSTATUS) 0xC00002B2) +#define STATUS_CANT_ENABLE_DENY_ONLY ((NTSTATUS) 0xC00002B3) +#define STATUS_FLOAT_MULTIPLE_FAULTS ((NTSTATUS) 0xC00002B4) +#define STATUS_FLOAT_MULTIPLE_TRAPS ((NTSTATUS) 0xC00002B5) +#define STATUS_DEVICE_REMOVED ((NTSTATUS) 0xC00002B6) +#define STATUS_JOURNAL_DELETE_IN_PROGRESS ((NTSTATUS) 0xC00002B7) +#define STATUS_JOURNAL_NOT_ACTIVE ((NTSTATUS) 0xC00002B8) +#define STATUS_NOINTERFACE ((NTSTATUS) 0xC00002B9) +#define STATUS_DS_ADMIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00002C1) +#define STATUS_DRIVER_FAILED_SLEEP ((NTSTATUS) 0xC00002C2) +#define STATUS_MUTUAL_AUTHENTICATION_FAILED ((NTSTATUS) 0xC00002C3) +#define STATUS_CORRUPT_SYSTEM_FILE ((NTSTATUS) 0xC00002C4) +#define STATUS_DATATYPE_MISALIGNMENT_ERROR ((NTSTATUS) 0xC00002C5) +#define STATUS_WMI_READ_ONLY ((NTSTATUS) 0xC00002C6) +#define STATUS_WMI_SET_FAILURE ((NTSTATUS) 0xC00002C7) +#define STATUS_COMMITMENT_MINIMUM ((NTSTATUS) 0xC00002C8) +#define STATUS_REG_NAT_CONSUMPTION ((NTSTATUS) 0xC00002C9) +#define STATUS_TRANSPORT_FULL ((NTSTATUS) 0xC00002CA) +#define STATUS_DS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002CB) +#define STATUS_ONLY_IF_CONNECTED ((NTSTATUS) 0xC00002CC) +#define STATUS_DS_SENSITIVE_GROUP_VIOLATION ((NTSTATUS) 0xC00002CD) +#define STATUS_PNP_RESTART_ENUMERATION ((NTSTATUS) 0xC00002CE) +#define STATUS_JOURNAL_ENTRY_DELETED ((NTSTATUS) 0xC00002CF) +#define STATUS_DS_CANT_MOD_PRIMARYGROUPID ((NTSTATUS) 0xC00002D0) +#define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ((NTSTATUS) 0xC00002D1) +#define STATUS_PNP_REBOOT_REQUIRED ((NTSTATUS) 0xC00002D2) +#define STATUS_POWER_STATE_INVALID ((NTSTATUS) 0xC00002D3) +#define STATUS_DS_INVALID_GROUP_TYPE ((NTSTATUS) 0xC00002D4) +#define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D5) +#define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D6) +#define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D7) +#define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC00002D8) +#define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D9) +#define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ((NTSTATUS) 0xC00002DA) +#define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ((NTSTATUS) 0xC00002DB) +#define STATUS_DS_HAVE_PRIMARY_MEMBERS ((NTSTATUS) 0xC00002DC) +#define STATUS_WMI_NOT_SUPPORTED ((NTSTATUS) 0xC00002DD) +#define STATUS_INSUFFICIENT_POWER ((NTSTATUS) 0xC00002DE) +#define STATUS_SAM_NEED_BOOTKEY_PASSWORD ((NTSTATUS) 0xC00002DF) +#define STATUS_SAM_NEED_BOOTKEY_FLOPPY ((NTSTATUS) 0xC00002E0) +#define STATUS_DS_CANT_START ((NTSTATUS) 0xC00002E1) +#define STATUS_DS_INIT_FAILURE ((NTSTATUS) 0xC00002E2) +#define STATUS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002E3) +#define STATUS_DS_GC_REQUIRED ((NTSTATUS) 0xC00002E4) +#define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ((NTSTATUS) 0xC00002E5) +#define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ((NTSTATUS) 0xC00002E6) +#define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ((NTSTATUS) 0xC00002E7) +#define STATUS_MULTIPLE_FAULT_VIOLATION ((NTSTATUS) 0xC00002E8) +#define STATUS_CURRENT_DOMAIN_NOT_ALLOWED ((NTSTATUS) 0xC00002E9) +#define STATUS_CANNOT_MAKE ((NTSTATUS) 0xC00002EA) +#define STATUS_SYSTEM_SHUTDOWN ((NTSTATUS) 0xC00002EB) +#define STATUS_DS_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002EC) +#define STATUS_DS_SAM_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002ED) +#define STATUS_UNFINISHED_CONTEXT_DELETED ((NTSTATUS) 0xC00002EE) +#define STATUS_NO_TGT_REPLY ((NTSTATUS) 0xC00002EF) +#define STATUS_OBJECTID_NOT_FOUND ((NTSTATUS) 0xC00002F0) +#define STATUS_NO_IP_ADDRESSES ((NTSTATUS) 0xC00002F1) +#define STATUS_WRONG_CREDENTIAL_HANDLE ((NTSTATUS) 0xC00002F2) +#define STATUS_CRYPTO_SYSTEM_INVALID ((NTSTATUS) 0xC00002F3) +#define STATUS_MAX_REFERRALS_EXCEEDED ((NTSTATUS) 0xC00002F4) +#define STATUS_MUST_BE_KDC ((NTSTATUS) 0xC00002F5) +#define STATUS_STRONG_CRYPTO_NOT_SUPPORTED ((NTSTATUS) 0xC00002F6) +#define STATUS_TOO_MANY_PRINCIPALS ((NTSTATUS) 0xC00002F7) +#define STATUS_NO_PA_DATA ((NTSTATUS) 0xC00002F8) +#define STATUS_PKINIT_NAME_MISMATCH ((NTSTATUS) 0xC00002F9) +#define STATUS_SMARTCARD_LOGON_REQUIRED ((NTSTATUS) 0xC00002FA) +#define STATUS_KDC_INVALID_REQUEST ((NTSTATUS) 0xC00002FB) +#define STATUS_KDC_UNABLE_TO_REFER ((NTSTATUS) 0xC00002FC) +#define STATUS_KDC_UNKNOWN_ETYPE ((NTSTATUS) 0xC00002FD) +#define STATUS_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FE) +#define STATUS_SERVER_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FF) +#define STATUS_NOT_SUPPORTED_ON_SBS ((NTSTATUS) 0xC0000300) +#define STATUS_WMI_GUID_DISCONNECTED ((NTSTATUS) 0xC0000301) +#define STATUS_WMI_ALREADY_DISABLED ((NTSTATUS) 0xC0000302) +#define STATUS_WMI_ALREADY_ENABLED ((NTSTATUS) 0xC0000303) +#define STATUS_MFT_TOO_FRAGMENTED ((NTSTATUS) 0xC0000304) +#define STATUS_COPY_PROTECTION_FAILURE ((NTSTATUS) 0xC0000305) +#define STATUS_CSS_AUTHENTICATION_FAILURE ((NTSTATUS) 0xC0000306) +#define STATUS_CSS_KEY_NOT_PRESENT ((NTSTATUS) 0xC0000307) +#define STATUS_CSS_KEY_NOT_ESTABLISHED ((NTSTATUS) 0xC0000308) +#define STATUS_CSS_SCRAMBLED_SECTOR ((NTSTATUS) 0xC0000309) +#define STATUS_CSS_REGION_MISMATCH ((NTSTATUS) 0xC000030A) +#define STATUS_CSS_RESETS_EXHAUSTED ((NTSTATUS) 0xC000030B) +#define STATUS_PKINIT_FAILURE ((NTSTATUS) 0xC0000320) +#define STATUS_SMARTCARD_SUBSYSTEM_FAILURE ((NTSTATUS) 0xC0000321) +#define STATUS_NO_KERB_KEY ((NTSTATUS) 0xC0000322) +#define STATUS_HOST_DOWN ((NTSTATUS) 0xC0000350) +#define STATUS_UNSUPPORTED_PREAUTH ((NTSTATUS) 0xC0000351) +#define STATUS_EFS_ALG_BLOB_TOO_BIG ((NTSTATUS) 0xC0000352) +#define STATUS_PORT_NOT_SET ((NTSTATUS) 0xC0000353) +#define STATUS_DEBUGGER_INACTIVE ((NTSTATUS) 0xC0000354) +#define STATUS_DS_VERSION_CHECK_FAILURE ((NTSTATUS) 0xC0000355) +#define STATUS_AUDITING_DISABLED ((NTSTATUS) 0xC0000356) +#define STATUS_PRENT4_MACHINE_ACCOUNT ((NTSTATUS) 0xC0000357) +#define STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC0000358) +#define STATUS_INVALID_IMAGE_WIN_32 ((NTSTATUS) 0xC0000359) +#define STATUS_INVALID_IMAGE_WIN_64 ((NTSTATUS) 0xC000035A) +#define STATUS_BAD_BINDINGS ((NTSTATUS) 0xC000035B) +#define STATUS_NETWORK_SESSION_EXPIRED ((NTSTATUS) 0xC000035C) +#define STATUS_APPHELP_BLOCK ((NTSTATUS) 0xC000035D) +#define STATUS_ALL_SIDS_FILTERED ((NTSTATUS) 0xC000035E) +#define STATUS_NOT_SAFE_MODE_DRIVER ((NTSTATUS) 0xC000035F) +#define STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT ((NTSTATUS) 0xC0000361) +#define STATUS_ACCESS_DISABLED_BY_POLICY_PATH ((NTSTATUS) 0xC0000362) +#define STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER ((NTSTATUS) 0xC0000363) +#define STATUS_ACCESS_DISABLED_BY_POLICY_OTHER ((NTSTATUS) 0xC0000364) +#define STATUS_FAILED_DRIVER_ENTRY ((NTSTATUS) 0xC0000365) +#define STATUS_DEVICE_ENUMERATION_ERROR ((NTSTATUS) 0xC0000366) +#define STATUS_WAIT_FOR_OPLOCK ((NTSTATUS) 0x00000367) +#define STATUS_MOUNT_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000368) +#define STATUS_INVALID_DEVICE_OBJECT_PARAMETER ((NTSTATUS) 0xC0000369) +/* STATUS_MCA_OCCURED is not a typo, as per Microsoft's headers */ +#define STATUS_MCA_OCCURED ((NTSTATUS) 0xC000036A) +#define STATUS_DRIVER_BLOCKED_CRITICAL ((NTSTATUS) 0xC000036B) +#define STATUS_DRIVER_BLOCKED ((NTSTATUS) 0xC000036C) +#define STATUS_DRIVER_DATABASE_ERROR ((NTSTATUS) 0xC000036D) +#define STATUS_SYSTEM_HIVE_TOO_LARGE ((NTSTATUS) 0xC000036E) +#define STATUS_INVALID_IMPORT_OF_NON_DLL ((NTSTATUS) 0xC000036F) +#define STATUS_SMARTCARD_WRONG_PIN ((NTSTATUS) 0xC0000380) +#define STATUS_SMARTCARD_CARD_BLOCKED ((NTSTATUS) 0xC0000381) +#define STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED ((NTSTATUS) 0xC0000382) +#define STATUS_SMARTCARD_NO_CARD ((NTSTATUS) 0xC0000383) +#define STATUS_SMARTCARD_NO_KEY_CONTAINER ((NTSTATUS) 0xC0000384) +#define STATUS_SMARTCARD_NO_CERTIFICATE ((NTSTATUS) 0xC0000385) +#define STATUS_SMARTCARD_NO_KEYSET ((NTSTATUS) 0xC0000386) +#define STATUS_SMARTCARD_IO_ERROR ((NTSTATUS) 0xC0000387) +#define STATUS_DOWNGRADE_DETECTED ((NTSTATUS) 0xC0000388) +#define STATUS_SMARTCARD_CERT_REVOKED ((NTSTATUS) 0xC0000389) +#define STATUS_ISSUING_CA_UNTRUSTED ((NTSTATUS) 0xC000038A) +#define STATUS_REVOCATION_OFFLINE_C ((NTSTATUS) 0xC000038B) +#define STATUS_PKINIT_CLIENT_FAILURE ((NTSTATUS) 0xC000038C) +#define STATUS_SMARTCARD_CERT_EXPIRED ((NTSTATUS) 0xC000038D) +#define STATUS_DRIVER_FAILED_PRIOR_UNLOAD ((NTSTATUS) 0xC000038E) +#define STATUS_SMARTCARD_SILENT_CONTEXT ((NTSTATUS) 0xC000038F) +#define STATUS_PER_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000401) +#define STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000402) +#define STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000403) +#define STATUS_DS_NAME_NOT_UNIQUE ((NTSTATUS) 0xC0000404) +#define STATUS_DS_DUPLICATE_ID_FOUND ((NTSTATUS) 0xC0000405) +#define STATUS_DS_GROUP_CONVERSION_ERROR ((NTSTATUS) 0xC0000406) +#define STATUS_VOLSNAP_PREPARE_HIBERNATE ((NTSTATUS) 0xC0000407) +#define STATUS_USER2USER_REQUIRED ((NTSTATUS) 0xC0000408) +#define STATUS_STACK_BUFFER_OVERRUN ((NTSTATUS) 0xC0000409) +#define STATUS_NO_S4U_PROT_SUPPORT ((NTSTATUS) 0xC000040A) +#define STATUS_CROSSREALM_DELEGATION_FAILURE ((NTSTATUS) 0xC000040B) +#define STATUS_REVOCATION_OFFLINE_KDC ((NTSTATUS) 0xC000040C) +#define STATUS_ISSUING_CA_UNTRUSTED_KDC ((NTSTATUS) 0xC000040D) +#define STATUS_KDC_CERT_EXPIRED ((NTSTATUS) 0xC000040E) +#define STATUS_KDC_CERT_REVOKED ((NTSTATUS) 0xC000040F) +#define STATUS_PARAMETER_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000410) +#define STATUS_HIBERNATION_FAILURE ((NTSTATUS) 0xC0000411) +#define STATUS_DELAY_LOAD_FAILED ((NTSTATUS) 0xC0000412) +#define STATUS_AUTHENTICATION_FIREWALL_FAILED ((NTSTATUS) 0xC0000413) +#define STATUS_VDM_DISALLOWED ((NTSTATUS) 0xC0000414) +#define STATUS_HUNG_DISPLAY_DRIVER_THREAD ((NTSTATUS) 0xC0000415) +#define STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE ((NTSTATUS) 0xC0000416) +#define STATUS_INVALID_CRUNTIME_PARAMETER ((NTSTATUS) 0xC0000417) +#define STATUS_NTLM_BLOCKED ((NTSTATUS) 0xC0000418) +#define STATUS_ASSERTION_FAILURE ((NTSTATUS) 0xC0000420) +#define STATUS_VERIFIER_STOP ((NTSTATUS) 0xC0000421) +#define STATUS_CALLBACK_POP_STACK ((NTSTATUS) 0xC0000423) +#define STATUS_INCOMPATIBLE_DRIVER_BLOCKED ((NTSTATUS) 0xC0000424) +#define STATUS_HIVE_UNLOADED ((NTSTATUS) 0xC0000425) +#define STATUS_COMPRESSION_DISABLED ((NTSTATUS) 0xC0000426) +#define STATUS_FILE_SYSTEM_LIMITATION ((NTSTATUS) 0xC0000427) +#define STATUS_INVALID_IMAGE_HASH ((NTSTATUS) 0xC0000428) +#define STATUS_NOT_CAPABLE ((NTSTATUS) 0xC0000429) +#define STATUS_REQUEST_OUT_OF_SEQUENCE ((NTSTATUS) 0xC000042A) +#define STATUS_IMPLEMENTATION_LIMIT ((NTSTATUS) 0xC000042B) +#define STATUS_ELEVATION_REQUIRED ((NTSTATUS) 0xC000042C) +#define STATUS_BEYOND_VDL ((NTSTATUS) 0xC0000432) +#define STATUS_ENCOUNTERED_WRITE_IN_PROGRESS ((NTSTATUS) 0xC0000433) +#define STATUS_PTE_CHANGED ((NTSTATUS) 0xC0000434) +#define STATUS_PURGE_FAILED ((NTSTATUS) 0xC0000435) +#define STATUS_CRED_REQUIRES_CONFIRMATION ((NTSTATUS) 0xC0000440) +#define STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE ((NTSTATUS) 0xC0000441) +#define STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER ((NTSTATUS) 0xC0000442) +#define STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE ((NTSTATUS) 0xC0000443) +#define STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE ((NTSTATUS) 0xC0000444) +#define STATUS_CS_ENCRYPTION_FILE_NOT_CSE ((NTSTATUS) 0xC0000445) +#define STATUS_INVALID_LABEL ((NTSTATUS) 0xC0000446) +#define STATUS_DRIVER_PROCESS_TERMINATED ((NTSTATUS) 0xC0000450) +#define STATUS_AMBIGUOUS_SYSTEM_DEVICE ((NTSTATUS) 0xC0000451) +#define STATUS_SYSTEM_DEVICE_NOT_FOUND ((NTSTATUS) 0xC0000452) +#define STATUS_RESTART_BOOT_APPLICATION ((NTSTATUS) 0xC0000453) +#define STATUS_INVALID_TASK_NAME ((NTSTATUS) 0xC0000500) +#define STATUS_INVALID_TASK_INDEX ((NTSTATUS) 0xC0000501) +#define STATUS_THREAD_ALREADY_IN_TASK ((NTSTATUS) 0xC0000502) +#define STATUS_CALLBACK_BYPASS ((NTSTATUS) 0xC0000503) +#define STATUS_PORT_CLOSED ((NTSTATUS) 0xC0000700) +#define STATUS_MESSAGE_LOST ((NTSTATUS) 0xC0000701) +#define STATUS_INVALID_MESSAGE ((NTSTATUS) 0xC0000702) +#define STATUS_REQUEST_CANCELED ((NTSTATUS) 0xC0000703) +#define STATUS_RECURSIVE_DISPATCH ((NTSTATUS) 0xC0000704) +#define STATUS_LPC_RECEIVE_BUFFER_EXPECTED ((NTSTATUS) 0xC0000705) +#define STATUS_LPC_INVALID_CONNECTION_USAGE ((NTSTATUS) 0xC0000706) +#define STATUS_LPC_REQUESTS_NOT_ALLOWED ((NTSTATUS) 0xC0000707) +#define STATUS_RESOURCE_IN_USE ((NTSTATUS) 0xC0000708) +#define STATUS_HARDWARE_MEMORY_ERROR ((NTSTATUS) 0xC0000709) +#define STATUS_THREADPOOL_HANDLE_EXCEPTION ((NTSTATUS) 0xC000070A) +#define STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070B) +#define STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070C) +#define STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070D) +#define STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070E) +#define STATUS_THREADPOOL_RELEASED_DURING_OPERATION ((NTSTATUS) 0xC000070F) +#define STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000710) +#define STATUS_APC_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000711) +#define STATUS_PROCESS_IS_PROTECTED ((NTSTATUS) 0xC0000712) +#define STATUS_MCA_EXCEPTION ((NTSTATUS) 0xC0000713) +#define STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE ((NTSTATUS) 0xC0000714) +#define STATUS_SYMLINK_CLASS_DISABLED ((NTSTATUS) 0xC0000715) +#define STATUS_INVALID_IDN_NORMALIZATION ((NTSTATUS) 0xC0000716) +#define STATUS_NO_UNICODE_TRANSLATION ((NTSTATUS) 0xC0000717) +#define STATUS_ALREADY_REGISTERED ((NTSTATUS) 0xC0000718) +#define STATUS_CONTEXT_MISMATCH ((NTSTATUS) 0xC0000719) +#define STATUS_PORT_ALREADY_HAS_COMPLETION_LIST ((NTSTATUS) 0xC000071A) +#define STATUS_CALLBACK_RETURNED_THREAD_PRIORITY ((NTSTATUS) 0xC000071B) +#define STATUS_INVALID_THREAD ((NTSTATUS) 0xC000071C) +#define STATUS_CALLBACK_RETURNED_TRANSACTION ((NTSTATUS) 0xC000071D) +#define STATUS_CALLBACK_RETURNED_LDR_LOCK ((NTSTATUS) 0xC000071E) +#define STATUS_CALLBACK_RETURNED_LANG ((NTSTATUS) 0xC000071F) +#define STATUS_CALLBACK_RETURNED_PRI_BACK ((NTSTATUS) 0xC0000720) +#define STATUS_CALLBACK_RETURNED_THREAD_AFFINITY ((NTSTATUS) 0xC0000721) +#define STATUS_DISK_REPAIR_DISABLED ((NTSTATUS) 0xC0000800) +#define STATUS_DS_DOMAIN_RENAME_IN_PROGRESS ((NTSTATUS) 0xC0000801) +#define STATUS_DISK_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000802) +#define STATUS_CONTENT_BLOCKED ((NTSTATUS) 0xC0000804) +#define STATUS_BAD_CLUSTERS ((NTSTATUS) 0xC0000805) +#define STATUS_VOLUME_DIRTY ((NTSTATUS) 0xC0000806) +#define STATUS_FILE_CHECKED_OUT ((NTSTATUS) 0xC0000901) +#define STATUS_CHECKOUT_REQUIRED ((NTSTATUS) 0xC0000902) +#define STATUS_BAD_FILE_TYPE ((NTSTATUS) 0xC0000903) +#define STATUS_FILE_TOO_LARGE ((NTSTATUS) 0xC0000904) +#define STATUS_FORMS_AUTH_REQUIRED ((NTSTATUS) 0xC0000905) +#define STATUS_VIRUS_INFECTED ((NTSTATUS) 0xC0000906) +#define STATUS_VIRUS_DELETED ((NTSTATUS) 0xC0000907) +#define STATUS_BAD_MCFG_TABLE ((NTSTATUS) 0xC0000908) + +#define STATUS_WOW_ASSERTION ((NTSTATUS) 0xC0009898) + +#define RPC_NT_INVALID_STRING_BINDING ((NTSTATUS) 0xC0020001) +#define RPC_NT_WRONG_KIND_OF_BINDING ((NTSTATUS) 0xC0020002) +#define RPC_NT_INVALID_BINDING ((NTSTATUS) 0xC0020003) +#define RPC_NT_PROTSEQ_NOT_SUPPORTED ((NTSTATUS) 0xC0020004) +#define RPC_NT_INVALID_RPC_PROTSEQ ((NTSTATUS) 0xC0020005) +#define RPC_NT_INVALID_STRING_UUID ((NTSTATUS) 0xC0020006) +#define RPC_NT_INVALID_ENDPOINT_FORMAT ((NTSTATUS) 0xC0020007) +#define RPC_NT_INVALID_NET_ADDR ((NTSTATUS) 0xC0020008) +#define RPC_NT_NO_ENDPOINT_FOUND ((NTSTATUS) 0xC0020009) +#define RPC_NT_INVALID_TIMEOUT ((NTSTATUS) 0xC002000A) +#define RPC_NT_OBJECT_NOT_FOUND ((NTSTATUS) 0xC002000B) +#define RPC_NT_ALREADY_REGISTERED ((NTSTATUS) 0xC002000C) +#define RPC_NT_TYPE_ALREADY_REGISTERED ((NTSTATUS) 0xC002000D) +#define RPC_NT_ALREADY_LISTENING ((NTSTATUS) 0xC002000E) +#define RPC_NT_NO_PROTSEQS_REGISTERED ((NTSTATUS) 0xC002000F) +#define RPC_NT_NOT_LISTENING ((NTSTATUS) 0xC0020010) +#define RPC_NT_UNKNOWN_MGR_TYPE ((NTSTATUS) 0xC0020011) +#define RPC_NT_UNKNOWN_IF ((NTSTATUS) 0xC0020012) +#define RPC_NT_NO_BINDINGS ((NTSTATUS) 0xC0020013) +#define RPC_NT_NO_PROTSEQS ((NTSTATUS) 0xC0020014) +#define RPC_NT_CANT_CREATE_ENDPOINT ((NTSTATUS) 0xC0020015) +#define RPC_NT_OUT_OF_RESOURCES ((NTSTATUS) 0xC0020016) +#define RPC_NT_SERVER_UNAVAILABLE ((NTSTATUS) 0xC0020017) +#define RPC_NT_SERVER_TOO_BUSY ((NTSTATUS) 0xC0020018) +#define RPC_NT_INVALID_NETWORK_OPTIONS ((NTSTATUS) 0xC0020019) +#define RPC_NT_NO_CALL_ACTIVE ((NTSTATUS) 0xC002001A) +#define RPC_NT_CALL_FAILED ((NTSTATUS) 0xC002001B) +#define RPC_NT_CALL_FAILED_DNE ((NTSTATUS) 0xC002001C) +#define RPC_NT_PROTOCOL_ERROR ((NTSTATUS) 0xC002001D) +#define RPC_NT_UNSUPPORTED_TRANS_SYN ((NTSTATUS) 0xC002001F) +#define RPC_NT_UNSUPPORTED_TYPE ((NTSTATUS) 0xC0020021) +#define RPC_NT_INVALID_TAG ((NTSTATUS) 0xC0020022) +#define RPC_NT_INVALID_BOUND ((NTSTATUS) 0xC0020023) +#define RPC_NT_NO_ENTRY_NAME ((NTSTATUS) 0xC0020024) +#define RPC_NT_INVALID_NAME_SYNTAX ((NTSTATUS) 0xC0020025) +#define RPC_NT_UNSUPPORTED_NAME_SYNTAX ((NTSTATUS) 0xC0020026) +#define RPC_NT_UUID_NO_ADDRESS ((NTSTATUS) 0xC0020028) +#define RPC_NT_DUPLICATE_ENDPOINT ((NTSTATUS) 0xC0020029) +#define RPC_NT_UNKNOWN_AUTHN_TYPE ((NTSTATUS) 0xC002002A) +#define RPC_NT_MAX_CALLS_TOO_SMALL ((NTSTATUS) 0xC002002B) +#define RPC_NT_STRING_TOO_LONG ((NTSTATUS) 0xC002002C) +#define RPC_NT_PROTSEQ_NOT_FOUND ((NTSTATUS) 0xC002002D) +#define RPC_NT_PROCNUM_OUT_OF_RANGE ((NTSTATUS) 0xC002002E) +#define RPC_NT_BINDING_HAS_NO_AUTH ((NTSTATUS) 0xC002002F) +#define RPC_NT_UNKNOWN_AUTHN_SERVICE ((NTSTATUS) 0xC0020030) +#define RPC_NT_UNKNOWN_AUTHN_LEVEL ((NTSTATUS) 0xC0020031) +#define RPC_NT_INVALID_AUTH_IDENTITY ((NTSTATUS) 0xC0020032) +#define RPC_NT_UNKNOWN_AUTHZ_SERVICE ((NTSTATUS) 0xC0020033) +#define EPT_NT_INVALID_ENTRY ((NTSTATUS) 0xC0020034) +#define EPT_NT_CANT_PERFORM_OP ((NTSTATUS) 0xC0020035) +#define EPT_NT_NOT_REGISTERED ((NTSTATUS) 0xC0020036) +#define RPC_NT_NOTHING_TO_EXPORT ((NTSTATUS) 0xC0020037) +#define RPC_NT_INCOMPLETE_NAME ((NTSTATUS) 0xC0020038) +#define RPC_NT_INVALID_VERS_OPTION ((NTSTATUS) 0xC0020039) +#define RPC_NT_NO_MORE_MEMBERS ((NTSTATUS) 0xC002003A) +#define RPC_NT_NOT_ALL_OBJS_UNEXPORTED ((NTSTATUS) 0xC002003B) +#define RPC_NT_INTERFACE_NOT_FOUND ((NTSTATUS) 0xC002003C) +#define RPC_NT_ENTRY_ALREADY_EXISTS ((NTSTATUS) 0xC002003D) +#define RPC_NT_ENTRY_NOT_FOUND ((NTSTATUS) 0xC002003E) +#define RPC_NT_NAME_SERVICE_UNAVAILABLE ((NTSTATUS) 0xC002003F) +#define RPC_NT_INVALID_NAF_ID ((NTSTATUS) 0xC0020040) +#define RPC_NT_CANNOT_SUPPORT ((NTSTATUS) 0xC0020041) +#define RPC_NT_NO_CONTEXT_AVAILABLE ((NTSTATUS) 0xC0020042) +#define RPC_NT_INTERNAL_ERROR ((NTSTATUS) 0xC0020043) +#define RPC_NT_ZERO_DIVIDE ((NTSTATUS) 0xC0020044) +#define RPC_NT_ADDRESS_ERROR ((NTSTATUS) 0xC0020045) +#define RPC_NT_FP_DIV_ZERO ((NTSTATUS) 0xC0020046) +#define RPC_NT_FP_UNDERFLOW ((NTSTATUS) 0xC0020047) +#define RPC_NT_FP_OVERFLOW ((NTSTATUS) 0xC0020048) +#define RPC_NT_CALL_IN_PROGRESS ((NTSTATUS) 0xC0020049) +#define RPC_NT_NO_MORE_BINDINGS ((NTSTATUS) 0xC002004A) +#define RPC_NT_GROUP_MEMBER_NOT_FOUND ((NTSTATUS) 0xC002004B) +#define EPT_NT_CANT_CREATE ((NTSTATUS) 0xC002004C) +#define RPC_NT_INVALID_OBJECT ((NTSTATUS) 0xC002004D) +#define RPC_NT_NO_INTERFACES ((NTSTATUS) 0xC002004F) +#define RPC_NT_CALL_CANCELLED ((NTSTATUS) 0xC0020050) +#define RPC_NT_BINDING_INCOMPLETE ((NTSTATUS) 0xC0020051) +#define RPC_NT_COMM_FAILURE ((NTSTATUS) 0xC0020052) +#define RPC_NT_UNSUPPORTED_AUTHN_LEVEL ((NTSTATUS) 0xC0020053) +#define RPC_NT_NO_PRINC_NAME ((NTSTATUS) 0xC0020054) +#define RPC_NT_NOT_RPC_ERROR ((NTSTATUS) 0xC0020055) +#define RPC_NT_SEC_PKG_ERROR ((NTSTATUS) 0xC0020057) +#define RPC_NT_NOT_CANCELLED ((NTSTATUS) 0xC0020058) +#define RPC_NT_INVALID_ASYNC_HANDLE ((NTSTATUS) 0xC0020062) +#define RPC_NT_INVALID_ASYNC_CALL ((NTSTATUS) 0xC0020063) + +#define RPC_NT_NO_MORE_ENTRIES ((NTSTATUS) 0xC0030001) +#define RPC_NT_SS_CHAR_TRANS_OPEN_FAIL ((NTSTATUS) 0xC0030002) +#define RPC_NT_SS_CHAR_TRANS_SHORT_FILE ((NTSTATUS) 0xC0030003) +#define RPC_NT_SS_IN_NULL_CONTEXT ((NTSTATUS) 0xC0030004) +#define RPC_NT_SS_CONTEXT_MISMATCH ((NTSTATUS) 0xC0030005) +#define RPC_NT_SS_CONTEXT_DAMAGED ((NTSTATUS) 0xC0030006) +#define RPC_NT_SS_HANDLES_MISMATCH ((NTSTATUS) 0xC0030007) +#define RPC_NT_SS_CANNOT_GET_CALL_HANDLE ((NTSTATUS) 0xC0030008) +#define RPC_NT_NULL_REF_POINTER ((NTSTATUS) 0xC0030009) +#define RPC_NT_ENUM_VALUE_OUT_OF_RANGE ((NTSTATUS) 0xC003000A) +#define RPC_NT_BYTE_COUNT_TOO_SMALL ((NTSTATUS) 0xC003000B) +#define RPC_NT_BAD_STUB_DATA ((NTSTATUS) 0xC003000C) +#define RPC_NT_INVALID_ES_ACTION ((NTSTATUS) 0xC0030059) +#define RPC_NT_WRONG_ES_VERSION ((NTSTATUS) 0xC003005A) +#define RPC_NT_WRONG_STUB_VERSION ((NTSTATUS) 0xC003005B) +#define RPC_NT_INVALID_PIPE_OBJECT ((NTSTATUS) 0xC003005C) +#define RPC_NT_INVALID_PIPE_OPERATION ((NTSTATUS) 0xC003005D) +#define RPC_NT_WRONG_PIPE_VERSION ((NTSTATUS) 0xC003005E) +#define RPC_NT_PIPE_CLOSED ((NTSTATUS) 0xC003005F) +#define RPC_NT_PIPE_DISCIPLINE_ERROR ((NTSTATUS) 0xC0030060) +#define RPC_NT_PIPE_EMPTY ((NTSTATUS) 0xC0030061) + +#define STATUS_PNP_BAD_MPS_TABLE ((NTSTATUS) 0xC0040035) +#define STATUS_PNP_TRANSLATION_FAILED ((NTSTATUS) 0xC0040036) +#define STATUS_PNP_IRQ_TRANSLATION_FAILED ((NTSTATUS) 0xC0040037) +#define STATUS_PNP_INVALID_ID ((NTSTATUS) 0xC0040038) + +#define STATUS_CTX_WINSTATION_NAME_INVALID ((NTSTATUS) 0xC00A0001) +#define STATUS_CTX_INVALID_PD ((NTSTATUS) 0xC00A0002) +#define STATUS_CTX_PD_NOT_FOUND ((NTSTATUS) 0xC00A0003) +#define STATUS_CTX_CLOSE_PENDING ((NTSTATUS) 0xC00A0006) +#define STATUS_CTX_NO_OUTBUF ((NTSTATUS) 0xC00A0007) +#define STATUS_CTX_MODEM_INF_NOT_FOUND ((NTSTATUS) 0xC00A0008) +#define STATUS_CTX_INVALID_MODEMNAME ((NTSTATUS) 0xC00A0009) +#define STATUS_CTX_RESPONSE_ERROR ((NTSTATUS) 0xC00A000A) +#define STATUS_CTX_MODEM_RESPONSE_TIMEOUT ((NTSTATUS) 0xC00A000B) +#define STATUS_CTX_MODEM_RESPONSE_NO_CARRIER ((NTSTATUS) 0xC00A000C) +#define STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE ((NTSTATUS) 0xC00A000D) +#define STATUS_CTX_MODEM_RESPONSE_BUSY ((NTSTATUS) 0xC00A000E) +#define STATUS_CTX_MODEM_RESPONSE_VOICE ((NTSTATUS) 0xC00A000F) +#define STATUS_CTX_TD_ERROR ((NTSTATUS) 0xC00A0010) +#define STATUS_CTX_LICENSE_CLIENT_INVALID ((NTSTATUS) 0xC00A0012) +#define STATUS_CTX_LICENSE_NOT_AVAILABLE ((NTSTATUS) 0xC00A0013) +#define STATUS_CTX_LICENSE_EXPIRED ((NTSTATUS) 0xC00A0014) +#define STATUS_CTX_WINSTATION_NOT_FOUND ((NTSTATUS) 0xC00A0015) +#define STATUS_CTX_WINSTATION_NAME_COLLISION ((NTSTATUS) 0xC00A0016) +#define STATUS_CTX_WINSTATION_BUSY ((NTSTATUS) 0xC00A0017) +#define STATUS_CTX_BAD_VIDEO_MODE ((NTSTATUS) 0xC00A0018) +#define STATUS_CTX_GRAPHICS_INVALID ((NTSTATUS) 0xC00A0022) +#define STATUS_CTX_NOT_CONSOLE ((NTSTATUS) 0xC00A0024) +#define STATUS_CTX_CLIENT_QUERY_TIMEOUT ((NTSTATUS) 0xC00A0026) +#define STATUS_CTX_CONSOLE_DISCONNECT ((NTSTATUS) 0xC00A0027) +#define STATUS_CTX_CONSOLE_CONNECT ((NTSTATUS) 0xC00A0028) +#define STATUS_CTX_SHADOW_DENIED ((NTSTATUS) 0xC00A002A) +#define STATUS_CTX_WINSTATION_ACCESS_DENIED ((NTSTATUS) 0xC00A002B) +#define STATUS_CTX_INVALID_WD ((NTSTATUS) 0xC00A002E) +#define STATUS_CTX_WD_NOT_FOUND ((NTSTATUS) 0xC00A002F) +#define STATUS_CTX_SHADOW_INVALID ((NTSTATUS) 0xC00A0030) +#define STATUS_CTX_SHADOW_DISABLED ((NTSTATUS) 0xC00A0031) +#define STATUS_RDP_PROTOCOL_ERROR ((NTSTATUS) 0xC00A0032) +#define STATUS_CTX_CLIENT_LICENSE_NOT_SET ((NTSTATUS) 0xC00A0033) +#define STATUS_CTX_CLIENT_LICENSE_IN_USE ((NTSTATUS) 0xC00A0034) +#define STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE ((NTSTATUS) 0xC00A0035) +#define STATUS_CTX_SHADOW_NOT_RUNNING ((NTSTATUS) 0xC00A0036) +#define STATUS_CTX_LOGON_DISABLED ((NTSTATUS) 0xC00A0037) +#define STATUS_CTX_SECURITY_LAYER_ERROR ((NTSTATUS) 0xC00A0038) + +#define STATUS_CLUSTER_INVALID_NODE ((NTSTATUS) 0xC0130001) +#define STATUS_CLUSTER_NODE_EXISTS ((NTSTATUS) 0xC0130002) +#define STATUS_CLUSTER_JOIN_IN_PROGRESS ((NTSTATUS) 0xC0130003) +#define STATUS_CLUSTER_NODE_NOT_FOUND ((NTSTATUS) 0xC0130004) +#define STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND ((NTSTATUS) 0xC0130005) +#define STATUS_CLUSTER_NETWORK_EXISTS ((NTSTATUS) 0xC0130006) +#define STATUS_CLUSTER_NETWORK_NOT_FOUND ((NTSTATUS) 0xC0130007) +#define STATUS_CLUSTER_NETINTERFACE_EXISTS ((NTSTATUS) 0xC0130008) +#define STATUS_CLUSTER_NETINTERFACE_NOT_FOUND ((NTSTATUS) 0xC0130009) +#define STATUS_CLUSTER_INVALID_REQUEST ((NTSTATUS) 0xC013000A) +#define STATUS_CLUSTER_INVALID_NETWORK_PROVIDER ((NTSTATUS) 0xC013000B) +#define STATUS_CLUSTER_NODE_DOWN ((NTSTATUS) 0xC013000C) +#define STATUS_CLUSTER_NODE_UNREACHABLE ((NTSTATUS) 0xC013000D) +#define STATUS_CLUSTER_NODE_NOT_MEMBER ((NTSTATUS) 0xC013000E) +#define STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS ((NTSTATUS) 0xC013000F) +#define STATUS_CLUSTER_INVALID_NETWORK ((NTSTATUS) 0xC0130010) +#define STATUS_CLUSTER_NO_NET_ADAPTERS ((NTSTATUS) 0xC0130011) +#define STATUS_CLUSTER_NODE_UP ((NTSTATUS) 0xC0130012) +#define STATUS_CLUSTER_NODE_PAUSED ((NTSTATUS) 0xC0130013) +#define STATUS_CLUSTER_NODE_NOT_PAUSED ((NTSTATUS) 0xC0130014) +#define STATUS_CLUSTER_NO_SECURITY_CONTEXT ((NTSTATUS) 0xC0130015) +#define STATUS_CLUSTER_NETWORK_NOT_INTERNAL ((NTSTATUS) 0xC0130016) +#define STATUS_CLUSTER_POISONED ((NTSTATUS) 0xC0130017) + +#define STATUS_SXS_SECTION_NOT_FOUND ((NTSTATUS) 0xC0150001) +#define STATUS_SXS_CANT_GEN_ACTCTX ((NTSTATUS) 0xC0150002) +#define STATUS_SXS_INVALID_ACTCTXDATA_FORMAT ((NTSTATUS) 0xC0150003) +#define STATUS_SXS_ASSEMBLY_NOT_FOUND ((NTSTATUS) 0xC0150004) +#define STATUS_SXS_MANIFEST_FORMAT_ERROR ((NTSTATUS) 0xC0150005) +#define STATUS_SXS_MANIFEST_PARSE_ERROR ((NTSTATUS) 0xC0150006) +#define STATUS_SXS_ACTIVATION_CONTEXT_DISABLED ((NTSTATUS) 0xC0150007) +#define STATUS_SXS_KEY_NOT_FOUND ((NTSTATUS) 0xC0150008) +#define STATUS_SXS_VERSION_CONFLICT ((NTSTATUS) 0xC0150009) +#define STATUS_SXS_WRONG_SECTION_TYPE ((NTSTATUS) 0xC015000A) +#define STATUS_SXS_THREAD_QUERIES_DISABLED ((NTSTATUS) 0xC015000B) +#define STATUS_SXS_ASSEMBLY_MISSING ((NTSTATUS) 0xC015000C) +#define STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET ((NTSTATUS) 0xC015000E) +#define STATUS_SXS_EARLY_DEACTIVATION ((NTSTATUS) 0xC015000F) +#define STATUS_SXS_INVALID_DEACTIVATION ((NTSTATUS) 0xC0150010) +#define STATUS_SXS_MULTIPLE_DEACTIVATION ((NTSTATUS) 0xC0150011) +#define STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY ((NTSTATUS) 0xC0150012) +#define STATUS_SXS_PROCESS_TERMINATION_REQUESTED ((NTSTATUS) 0xC0150013) +#define STATUS_SXS_CORRUPT_ACTIVATION_STACK ((NTSTATUS) 0xC0150014) +#define STATUS_SXS_CORRUPTION ((NTSTATUS) 0xC0150015) +#define STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE ((NTSTATUS) 0xC0150016) +#define STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME ((NTSTATUS) 0xC0150017) +#define STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE ((NTSTATUS) 0xC0150018) +#define STATUS_SXS_IDENTITY_PARSE_ERROR ((NTSTATUS) 0xC0150019) +#define STATUS_SXS_COMPONENT_STORE_CORRUPT ((NTSTATUS) 0xC015001A) +#define STATUS_SXS_FILE_HASH_MISMATCH ((NTSTATUS) 0xC015001B) +#define STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT ((NTSTATUS) 0xC015001C) +#define STATUS_SXS_IDENTITIES_DIFFERENT ((NTSTATUS) 0xC015001D) +#define STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT ((NTSTATUS) 0xC015001E) +#define STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY ((NTSTATUS) 0xC015001F) +#define STATUS_ADVANCED_INSTALLER_FAILED ((NTSTATUS) 0xC0150020) +#define STATUS_XML_ENCODING_MISMATCH ((NTSTATUS) 0xC0150021) +#define STATUS_SXS_MANIFEST_TOO_BIG ((NTSTATUS) 0xC0150022) +#define STATUS_SXS_SETTING_NOT_REGISTERED ((NTSTATUS) 0xC0150023) +#define STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE ((NTSTATUS) 0xC0150024) +#define STATUS_SMI_PRIMITIVE_INSTALLER_FAILED ((NTSTATUS) 0xC0150025) +#define STATUS_GENERIC_COMMAND_FAILED ((NTSTATUS) 0xC0150026) +#define STATUS_SXS_FILE_HASH_MISSING ((NTSTATUS) 0xC0150027) + +#define DBG_EXCEPTION_HANDLED ((NTSTATUS) 0x00010001) +#define DBG_CONTINUE ((NTSTATUS) 0x00010002) +#define DBG_TERMINATE_THREAD ((NTSTATUS) 0x40010003) +#define DBG_TERMINATE_PROCESS ((NTSTATUS) 0x40010004) +#define DBG_CONTROL_C ((NTSTATUS) 0x40010005) +#define DBG_PRINTEXCEPTION_C ((NTSTATUS) 0x40010006) +#define DBG_RIPEXCEPTION ((NTSTATUS) 0x40010007) +#define DBG_CONTROL_BREAK ((NTSTATUS) 0x40010008) +#define DBG_COMMAND_EXCEPTION ((NTSTATUS) 0x40010009) +#define DBG_EXCEPTION_NOT_HANDLED ((NTSTATUS) 0x80010001) + +#endif /* WIN32_NO_STATUS */ + +#endif /* __WINE_NTSTATUS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oaidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oaidl.h new file mode 100644 index 0000000..5958fc0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oaidl.h @@ -0,0 +1,5253 @@ +/*** Autogenerated by WIDL 2.18 from oaidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __oaidl_h__ +#define __oaidl_h__ + +/* Forward declarations */ + +#ifndef __IDispatch_FWD_DEFINED__ +#define __IDispatch_FWD_DEFINED__ +typedef interface IDispatch IDispatch; +#ifdef __cplusplus +interface IDispatch; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumVARIANT_FWD_DEFINED__ +#define __IEnumVARIANT_FWD_DEFINED__ +typedef interface IEnumVARIANT IEnumVARIANT; +#ifdef __cplusplus +interface IEnumVARIANT; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeComp_FWD_DEFINED__ +#define __ITypeComp_FWD_DEFINED__ +typedef interface ITypeComp ITypeComp; +#ifdef __cplusplus +interface ITypeComp; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeInfo_FWD_DEFINED__ +#define __ITypeInfo_FWD_DEFINED__ +typedef interface ITypeInfo ITypeInfo; +#ifdef __cplusplus +interface ITypeInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeInfo2_FWD_DEFINED__ +#define __ITypeInfo2_FWD_DEFINED__ +typedef interface ITypeInfo2 ITypeInfo2; +#ifdef __cplusplus +interface ITypeInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeLib_FWD_DEFINED__ +#define __ITypeLib_FWD_DEFINED__ +typedef interface ITypeLib ITypeLib; +#ifdef __cplusplus +interface ITypeLib; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeLib2_FWD_DEFINED__ +#define __ITypeLib2_FWD_DEFINED__ +typedef interface ITypeLib2 ITypeLib2; +#ifdef __cplusplus +interface ITypeLib2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeChangeEvents_FWD_DEFINED__ +#define __ITypeChangeEvents_FWD_DEFINED__ +typedef interface ITypeChangeEvents ITypeChangeEvents; +#ifdef __cplusplus +interface ITypeChangeEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IErrorInfo_FWD_DEFINED__ +#define __IErrorInfo_FWD_DEFINED__ +typedef interface IErrorInfo IErrorInfo; +#ifdef __cplusplus +interface IErrorInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateErrorInfo_FWD_DEFINED__ +#define __ICreateErrorInfo_FWD_DEFINED__ +typedef interface ICreateErrorInfo ICreateErrorInfo; +#ifdef __cplusplus +interface ICreateErrorInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ISupportErrorInfo_FWD_DEFINED__ +#define __ISupportErrorInfo_FWD_DEFINED__ +typedef interface ISupportErrorInfo ISupportErrorInfo; +#ifdef __cplusplus +interface ISupportErrorInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeFactory_FWD_DEFINED__ +#define __ITypeFactory_FWD_DEFINED__ +typedef interface ITypeFactory ITypeFactory; +#ifdef __cplusplus +interface ITypeFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeMarshal_FWD_DEFINED__ +#define __ITypeMarshal_FWD_DEFINED__ +typedef interface ITypeMarshal ITypeMarshal; +#ifdef __cplusplus +interface ITypeMarshal; +#endif /* __cplusplus */ +#endif + +#ifndef __IRecordInfo_FWD_DEFINED__ +#define __IRecordInfo_FWD_DEFINED__ +typedef interface IRecordInfo IRecordInfo; +#ifdef __cplusplus +interface IRecordInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateTypeInfo_FWD_DEFINED__ +#define __ICreateTypeInfo_FWD_DEFINED__ +typedef interface ICreateTypeInfo ICreateTypeInfo; +#ifdef __cplusplus +interface ICreateTypeInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateTypeInfo2_FWD_DEFINED__ +#define __ICreateTypeInfo2_FWD_DEFINED__ +typedef interface ICreateTypeInfo2 ICreateTypeInfo2; +#ifdef __cplusplus +interface ICreateTypeInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateTypeLib_FWD_DEFINED__ +#define __ICreateTypeLib_FWD_DEFINED__ +typedef interface ICreateTypeLib ICreateTypeLib; +#ifdef __cplusplus +interface ICreateTypeLib; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateTypeLib2_FWD_DEFINED__ +#define __ICreateTypeLib2_FWD_DEFINED__ +typedef interface ICreateTypeLib2 ICreateTypeLib2; +#ifdef __cplusplus +interface ICreateTypeLib2; +#endif /* __cplusplus */ +#endif + +#ifndef __IErrorLog_FWD_DEFINED__ +#define __IErrorLog_FWD_DEFINED__ +typedef interface IErrorLog IErrorLog; +#ifdef __cplusplus +interface IErrorLog; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyBag_FWD_DEFINED__ +#define __IPropertyBag_FWD_DEFINED__ +typedef interface IPropertyBag IPropertyBag; +#ifdef __cplusplus +interface IPropertyBag; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IDispatch_FWD_DEFINED__ +#define __IDispatch_FWD_DEFINED__ +typedef interface IDispatch IDispatch; +#ifdef __cplusplus +interface IDispatch; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeInfo_FWD_DEFINED__ +#define __ITypeInfo_FWD_DEFINED__ +typedef interface ITypeInfo ITypeInfo; +#ifdef __cplusplus +interface ITypeInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ITypeLib_FWD_DEFINED__ +#define __ITypeLib_FWD_DEFINED__ +typedef interface ITypeLib ITypeLib; +#ifdef __cplusplus +interface ITypeLib; +#endif /* __cplusplus */ +#endif + +#ifndef __IRecordInfo_FWD_DEFINED__ +#define __IRecordInfo_FWD_DEFINED__ +typedef interface IRecordInfo IRecordInfo; +#ifdef __cplusplus +interface IRecordInfo; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IOleAutomationTypes interface (v1.0) + */ +#ifndef __IOleAutomationTypes_INTERFACE_DEFINED__ +#define __IOleAutomationTypes_INTERFACE_DEFINED__ + +extern RPC_IF_HANDLE IOleAutomationTypes_v1_0_c_ifspec; +extern RPC_IF_HANDLE IOleAutomationTypes_v1_0_s_ifspec; +typedef CY CURRENCY; +typedef struct tagSAFEARRAYBOUND { + ULONG cElements; + LONG lLbound; +} SAFEARRAYBOUND; +typedef struct tagSAFEARRAYBOUND *LPSAFEARRAYBOUND; +typedef struct _wireVARIANT *wireVARIANT; +typedef struct _wireBRECORD *wireBRECORD; +typedef struct _wireSAFEARR_BSTR { + ULONG Size; + wireBSTR *aBstr; +} SAFEARR_BSTR; +typedef struct _wireSAFEARR_UNKNOWN { + ULONG Size; + IUnknown **apUnknown; +} SAFEARR_UNKNOWN; +typedef struct _wireSAFEARR_DISPATCH { + ULONG Size; + IDispatch **apDispatch; +} SAFEARR_DISPATCH; +typedef struct _wireSAFEARR_VARIANT { + ULONG Size; + wireVARIANT *aVariant; +} SAFEARR_VARIANT; +typedef struct _wireSAFEARR_BRECORD { + ULONG Size; + wireBRECORD *aRecord; +} SAFEARR_BRECORD; +typedef struct _wireSAFEARR_HAVEIID { + ULONG Size; + IUnknown **apUnknown; + IID iid; +} SAFEARR_HAVEIID; +typedef enum tagSF_TYPE { + SF_ERROR = VT_ERROR, + SF_I1 = VT_I1, + SF_I2 = VT_I2, + SF_I4 = VT_I4, + SF_I8 = VT_I8, + SF_BSTR = VT_BSTR, + SF_UNKNOWN = VT_UNKNOWN, + SF_DISPATCH = VT_DISPATCH, + SF_VARIANT = VT_VARIANT, + SF_RECORD = VT_RECORD, + SF_HAVEIID = VT_UNKNOWN | VT_RESERVED +} SF_TYPE; +typedef struct _wireSAFEARRAY_UNION { + ULONG sfType; + union { + SAFEARR_BSTR BstrStr; + SAFEARR_UNKNOWN UnknownStr; + SAFEARR_DISPATCH DispatchStr; + SAFEARR_VARIANT VariantStr; + SAFEARR_BRECORD RecordStr; + SAFEARR_HAVEIID HaveIidStr; + BYTE_SIZEDARR ByteStr; + WORD_SIZEDARR WordStr; + DWORD_SIZEDARR LongStr; + HYPER_SIZEDARR HyperStr; + } u; +} SAFEARRAYUNION; +typedef struct _wireSAFEARRAY { + USHORT cDims; + USHORT fFeatures; + ULONG cbElements; + ULONG cLocks; + SAFEARRAYUNION uArrayStructs; + SAFEARRAYBOUND rgsabound[1]; +} *wireSAFEARRAY; +typedef wireSAFEARRAY *wirePSAFEARRAY; +typedef struct tagSAFEARRAY { + USHORT cDims; + USHORT fFeatures; + ULONG cbElements; + ULONG cLocks; + PVOID pvData; + SAFEARRAYBOUND rgsabound[1]; +} SAFEARRAY; +typedef SAFEARRAY *LPSAFEARRAY; +#define FADF_AUTO (0x1) + +#define FADF_STATIC (0x2) + +#define FADF_EMBEDDED (0x4) + +#define FADF_FIXEDSIZE (0x10) + +#define FADF_RECORD (0x20) + +#define FADF_HAVEIID (0x40) + +#define FADF_HAVEVARTYPE (0x80) + +#define FADF_BSTR (0x100) + +#define FADF_UNKNOWN (0x200) + +#define FADF_DISPATCH (0x400) + +#define FADF_VARIANT (0x800) + +#define FADF_RESERVED (0xf008) + +#define FADF_DATADELETED (0x1000) + +#define FADF_CREATEVECTOR (0x2000) + +#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION) +#define __VARIANT_NAME_1 n1 +#define __VARIANT_NAME_2 n2 +#define __VARIANT_NAME_3 n3 +#define __VARIANT_NAME_4 brecVal +#else +#define __tagVARIANT +#define __VARIANT_NAME_1 +#define __VARIANT_NAME_2 +#define __VARIANT_NAME_3 +#define __tagBRECORD +#define __VARIANT_NAME_4 +#endif +typedef struct tagVARIANT VARIANT; +struct tagVARIANT { + union { + struct __tagVARIANT { + VARTYPE vt; + WORD wReserved1; + WORD wReserved2; + WORD wReserved3; + union { + signed char cVal; + USHORT uiVal; + ULONG ulVal; + INT intVal; + UINT uintVal; + BYTE bVal; + SHORT iVal; + LONG lVal; + FLOAT fltVal; + DOUBLE dblVal; + VARIANT_BOOL boolVal; + SCODE scode; + DATE date; + BSTR bstrVal; + CY cyVal; + IUnknown *punkVal; + IDispatch *pdispVal; + SAFEARRAY *parray; + LONGLONG llVal; + ULONGLONG ullVal; + signed char *pcVal; + USHORT *puiVal; + ULONG *pulVal; + INT *pintVal; + UINT *puintVal; + BYTE *pbVal; + SHORT *piVal; + LONG *plVal; + FLOAT *pfltVal; + DOUBLE *pdblVal; + VARIANT_BOOL *pboolVal; + SCODE *pscode; + DATE *pdate; + BSTR *pbstrVal; + VARIANT *pvarVal; + PVOID byref; + CY *pcyVal; + DECIMAL *pdecVal; + IUnknown **ppunkVal; + IDispatch **ppdispVal; + SAFEARRAY **pparray; + LONGLONG *pllVal; + ULONGLONG *pullVal; + struct __tagBRECORD { + PVOID pvRecord; + IRecordInfo *pRecInfo; + } __VARIANT_NAME_4; + } __VARIANT_NAME_3; + } __VARIANT_NAME_2; + DECIMAL decVal; + } __VARIANT_NAME_1; +}; +typedef VARIANT *LPVARIANT; +typedef VARIANT VARIANTARG; +typedef VARIANTARG *LPVARIANTARG; +#if 0 +typedef const VARIANT *REFVARIANT; +#elif !defined(_REFVARIANT_DEFINED) +#define _REFVARIANT_DEFINED +#ifdef __cplusplus +#define REFVARIANT const VARIANT & +#else +#define REFVARIANT const VARIANT *__MIDL_CONST +#endif +#endif +struct _wireBRECORD { + ULONG fFlags; + ULONG clSize; + IRecordInfo *pRecInfo; + byte *pRecord; +}; +struct _wireVARIANT { + DWORD clSize; + DWORD rpcReserved; + USHORT vt; + USHORT wReserved1; + USHORT wReserved2; + USHORT wReserved3; + union { + signed char cVal; + USHORT uiVal; + ULONG ulVal; + INT intVal; + UINT uintVal; + BYTE bVal; + SHORT iVal; + LONG lVal; + FLOAT fltVal; + DOUBLE dblVal; + VARIANT_BOOL boolVal; + SCODE scode; + DATE date; + wireBSTR bstrVal; + CY cyVal; + DECIMAL decVal; + IUnknown *punkVal; + IDispatch *pdispVal; + wireSAFEARRAY parray; + signed char *pcVal; + USHORT *puiVal; + ULONG *pulVal; + INT *pintVal; + UINT *puintVal; + BYTE *pbVal; + SHORT *piVal; + LONG *plVal; + FLOAT *pfltVal; + DOUBLE *pdblVal; + VARIANT_BOOL *pboolVal; + SCODE *pscode; + DATE *pdate; + wireBSTR *pbstrVal; + wireVARIANT *pvarVal; + CY *pcyVal; + DECIMAL *pdecVal; + IUnknown **ppunkVal; + IDispatch **ppdispVal; + wireSAFEARRAY *pparray; + wireBRECORD brecVal; + } DUMMYUNIONNAME; +}; +typedef LONG DISPID; +typedef DWORD HREFTYPE; +typedef DISPID MEMBERID; +typedef enum tagTYPEKIND { + TKIND_ENUM = 0, + TKIND_RECORD = 1, + TKIND_MODULE = 2, + TKIND_INTERFACE = 3, + TKIND_DISPATCH = 4, + TKIND_COCLASS = 5, + TKIND_ALIAS = 6, + TKIND_UNION = 7, + TKIND_MAX = 8 +} TYPEKIND; +typedef struct tagTYPEDESC { + union { + struct tagTYPEDESC *lptdesc; + struct tagARRAYDESC *lpadesc; + HREFTYPE hreftype; + } DUMMYUNIONNAME; + VARTYPE vt; +} TYPEDESC; +typedef struct tagARRAYDESC { + TYPEDESC tdescElem; + USHORT cDims; + SAFEARRAYBOUND rgbounds[1]; +} ARRAYDESC; +typedef struct tagPARAMDESCEX { + ULONG cBytes; + VARIANTARG varDefaultValue; +} PARAMDESCEX; +typedef struct tagPARAMDESCEX *LPPARAMDESCEX; +typedef struct tagPARAMDESC { + LPPARAMDESCEX pparamdescex; + USHORT wParamFlags; +} PARAMDESC; +typedef struct tagPARAMDESC *LPPARAMDESC; +#define PARAMFLAG_NONE (0x0) + +#define PARAMFLAG_FIN (0x1) + +#define PARAMFLAG_FOUT (0x2) + +#define PARAMFLAG_FLCID (0x4) + +#define PARAMFLAG_FRETVAL (0x8) + +#define PARAMFLAG_FOPT (0x10) + +#define PARAMFLAG_FHASDEFAULT (0x20) + +#define PARAMFLAG_FHASCUSTDATA (0x40) + +typedef struct tagIDLDESC { + ULONG_PTR dwReserved; + USHORT wIDLFlags; +} IDLDESC; +typedef struct tagIDLDESC *LPIDLDESC; +#define IDLFLAG_NONE (PARAMFLAG_NONE) + +#define IDLFLAG_FIN (PARAMFLAG_FIN) + +#define IDLFLAG_FOUT (PARAMFLAG_FOUT) + +#define IDLFLAG_FLCID (PARAMFLAG_FLCID) + +#define IDLFLAG_FRETVAL (PARAMFLAG_FRETVAL) + +#if 0 +typedef struct tagELEMDESC { + TYPEDESC tdesc; + PARAMDESC paramdesc; +} ELEMDESC; +#else +typedef struct tagELEMDESC { + TYPEDESC tdesc; + union { + IDLDESC idldesc; + PARAMDESC paramdesc; + } DUMMYUNIONNAME; +} ELEMDESC, *LPELEMDESC; +#endif +typedef struct tagTYPEATTR { + GUID guid; + LCID lcid; + DWORD dwReserved; + MEMBERID memidConstructor; + MEMBERID memidDestructor; + LPOLESTR lpstrSchema; + ULONG cbSizeInstance; + TYPEKIND typekind; + WORD cFuncs; + WORD cVars; + WORD cImplTypes; + WORD cbSizeVft; + WORD cbAlignment; + WORD wTypeFlags; + WORD wMajorVerNum; + WORD wMinorVerNum; + TYPEDESC tdescAlias; + IDLDESC idldescType; +} TYPEATTR; +typedef struct tagTYPEATTR *LPTYPEATTR; +typedef struct tagDISPPARAMS { + VARIANTARG *rgvarg; + DISPID *rgdispidNamedArgs; + UINT cArgs; + UINT cNamedArgs; +} DISPPARAMS; +#if 0 +typedef struct tagEXCEPINFO { + WORD wCode; + WORD wReserved; + BSTR bstrSource; + BSTR bstrDescription; + BSTR bstrHelpFile; + DWORD dwHelpContext; + ULONG_PTR pvReserved; + ULONG_PTR pfnDeferredFillIn; + SCODE scode; +} EXCEPINFO; +#else +typedef struct tagEXCEPINFO { + WORD wCode; + WORD wReserved; + BSTR bstrSource; + BSTR bstrDescription; + BSTR bstrHelpFile; + DWORD dwHelpContext; + PVOID pvReserved; + HRESULT (__stdcall *pfnDeferredFillIn)(struct tagEXCEPINFO *); + SCODE scode; +} EXCEPINFO, *LPEXCEPINFO; +#endif +typedef enum tagCALLCONV { + CC_FASTCALL = 0, + CC_CDECL = 1, + CC_MSCPASCAL = 2, + CC_PASCAL = CC_MSCPASCAL, + CC_MACPASCAL = 3, + CC_STDCALL = 4, + CC_FPFASTCALL = 5, + CC_SYSCALL = 6, + CC_MPWCDECL = 7, + CC_MPWPASCAL = 8, + CC_MAX = 9 +} CALLCONV; +typedef enum tagFUNCKIND { + FUNC_VIRTUAL = 0, + FUNC_PUREVIRTUAL = 1, + FUNC_NONVIRTUAL = 2, + FUNC_STATIC = 3, + FUNC_DISPATCH = 4 +} FUNCKIND; +typedef enum tagINVOKEKIND { + INVOKE_FUNC = 1, + INVOKE_PROPERTYGET = 2, + INVOKE_PROPERTYPUT = 4, + INVOKE_PROPERTYPUTREF = 8 +} INVOKEKIND; +typedef struct tagFUNCDESC { + MEMBERID memid; + SCODE *lprgscode; + ELEMDESC *lprgelemdescParam; + FUNCKIND funckind; + INVOKEKIND invkind; + CALLCONV callconv; + SHORT cParams; + SHORT cParamsOpt; + SHORT oVft; + SHORT cScodes; + ELEMDESC elemdescFunc; + WORD wFuncFlags; +} FUNCDESC; +typedef struct tagFUNCDESC *LPFUNCDESC; +typedef enum tagVARKIND { + VAR_PERINSTANCE = 0, + VAR_STATIC = 1, + VAR_CONST = 2, + VAR_DISPATCH = 3 +} VARKIND; +#define IMPLTYPEFLAG_FDEFAULT (0x1) + +#define IMPLTYPEFLAG_FSOURCE (0x2) + +#define IMPLTYPEFLAG_FRESTRICTED (0x4) + +#define IMPLTYPEFLAG_FDEFAULTVTABLE (0x8) + +typedef struct tagVARDESC { + MEMBERID memid; + LPOLESTR lpstrSchema; + union { + ULONG oInst; + VARIANT *lpvarValue; + } DUMMYUNIONNAME; + ELEMDESC elemdescVar; + WORD wVarFlags; + VARKIND varkind; +} VARDESC; +typedef struct tagVARDESC *LPVARDESC; +typedef enum tagTYPEFLAGS { + TYPEFLAG_FAPPOBJECT = 0x1, + TYPEFLAG_FCANCREATE = 0x2, + TYPEFLAG_FLICENSED = 0x4, + TYPEFLAG_FPREDECLID = 0x8, + TYPEFLAG_FHIDDEN = 0x10, + TYPEFLAG_FCONTROL = 0x20, + TYPEFLAG_FDUAL = 0x40, + TYPEFLAG_FNONEXTENSIBLE = 0x80, + TYPEFLAG_FOLEAUTOMATION = 0x100, + TYPEFLAG_FRESTRICTED = 0x200, + TYPEFLAG_FAGGREGATABLE = 0x400, + TYPEFLAG_FREPLACEABLE = 0x800, + TYPEFLAG_FDISPATCHABLE = 0x1000, + TYPEFLAG_FREVERSEBIND = 0x2000, + TYPEFLAG_FPROXY = 0x4000 +} TYPEFLAGS; +typedef enum tagFUNCFLAGS { + FUNCFLAG_FRESTRICTED = 0x1, + FUNCFLAG_FSOURCE = 0x2, + FUNCFLAG_FBINDABLE = 0x4, + FUNCFLAG_FREQUESTEDIT = 0x8, + FUNCFLAG_FDISPLAYBIND = 0x10, + FUNCFLAG_FDEFAULTBIND = 0x20, + FUNCFLAG_FHIDDEN = 0x40, + FUNCFLAG_FUSESGETLASTERROR = 0x80, + FUNCFLAG_FDEFAULTCOLLELEM = 0x100, + FUNCFLAG_FUIDEFAULT = 0x200, + FUNCFLAG_FNONBROWSABLE = 0x400, + FUNCFLAG_FREPLACEABLE = 0x800, + FUNCFLAG_FIMMEDIATEBIND = 0x1000 +} FUNCFLAGS; +typedef enum tagVARFLAGS { + VARFLAG_FREADONLY = 0x1, + VARFLAG_FSOURCE = 0x2, + VARFLAG_FBINDABLE = 0x4, + VARFLAG_FREQUESTEDIT = 0x8, + VARFLAG_FDISPLAYBIND = 0x10, + VARFLAG_FDEFAULTBIND = 0x20, + VARFLAG_FHIDDEN = 0x40, + VARFLAG_FRESTRICTED = 0x80, + VARFLAG_FDEFAULTCOLLELEM = 0x100, + VARFLAG_FUIDEFAULT = 0x200, + VARFLAG_FNONBROWSABLE = 0x400, + VARFLAG_FREPLACEABLE = 0x800, + VARFLAG_FIMMEDIATEBIND = 0x1000 +} VARFLAGS; +typedef struct tagCLEANLOCALSTORAGE { + IUnknown *pInterface; + PVOID pStorage; + DWORD flags; +} CLEANLOCALSTORAGE; +typedef struct tagCUSTDATAITEM { + GUID guid; + VARIANTARG varValue; +} CUSTDATAITEM; +typedef struct tagCUSTDATAITEM *LPCUSTDATAITEM; +typedef struct tagCUSTDATA { + DWORD cCustData; + LPCUSTDATAITEM prgCustData; +} CUSTDATA; +typedef struct tagCUSTDATA *LPCUSTDATA; + +#endif /* __IOleAutomationTypes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDispatch interface + */ +#ifndef __IDispatch_INTERFACE_DEFINED__ +#define __IDispatch_INTERFACE_DEFINED__ + +typedef IDispatch *LPDISPATCH; +#define DISPID_UNKNOWN (-1) + +#define DISPID_VALUE (0) + +#define DISPID_PROPERTYPUT (-3) + +#define DISPID_NEWENUM (-4) + +#define DISPID_EVALUATE (-5) + +#define DISPID_CONSTRUCTOR (-6) + +#define DISPID_DESTRUCTOR (-7) + +#define DISPID_COLLECT (-8) + +DEFINE_GUID(IID_IDispatch, 0x00020400, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020400-0000-0000-c000-000000000046") +IDispatch : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount( + UINT *pctinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeInfo( + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames( + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invoke( + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDispatch, 0x00020400, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IDispatchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDispatch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDispatch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDispatch *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDispatch *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDispatch *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDispatch *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDispatch *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} IDispatchVtbl; + +interface IDispatch { + CONST_VTBL IDispatchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDispatch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDispatch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDispatch_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDispatch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDispatch_QueryInterface(IDispatch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDispatch_AddRef(IDispatch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDispatch_Release(IDispatch* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDispatch_GetTypeInfoCount(IDispatch* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDispatch_GetTypeInfo(IDispatch* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDispatch_GetIDsOfNames(IDispatch* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDispatch_Invoke(IDispatch* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDispatch_RemoteInvoke_Proxy( + IDispatch* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + DWORD dwFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *pArgErr, + UINT cVarRef, + UINT *rgVarRefIdx, + VARIANTARG *rgVarRef); +void __RPC_STUB IDispatch_RemoteInvoke_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDispatch_Invoke_Proxy( + IDispatch* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); +HRESULT __RPC_STUB IDispatch_Invoke_Stub( + IDispatch* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + DWORD dwFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *pArgErr, + UINT cVarRef, + UINT *rgVarRefIdx, + VARIANTARG *rgVarRef); + +#endif /* __IDispatch_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumVARIANT interface + */ +#ifndef __IEnumVARIANT_INTERFACE_DEFINED__ +#define __IEnumVARIANT_INTERFACE_DEFINED__ + +typedef IEnumVARIANT *LPENUMVARIANT; +DEFINE_GUID(IID_IEnumVARIANT, 0x00020404, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020404-0000-0000-c000-000000000046") +IEnumVARIANT : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumVARIANT **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumVARIANT, 0x00020404, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumVARIANTVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumVARIANT *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumVARIANT *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumVARIANT *This); + + /*** IEnumVARIANT methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumVARIANT *This, + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumVARIANT *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumVARIANT *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumVARIANT *This, + IEnumVARIANT **ppEnum); + + END_INTERFACE +} IEnumVARIANTVtbl; + +interface IEnumVARIANT { + CONST_VTBL IEnumVARIANTVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumVARIANT_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumVARIANT_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumVARIANT_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumVARIANT methods ***/ +#define IEnumVARIANT_Next(This,celt,rgVar,pCeltFetched) (This)->lpVtbl->Next(This,celt,rgVar,pCeltFetched) +#define IEnumVARIANT_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumVARIANT_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumVARIANT_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumVARIANT_QueryInterface(IEnumVARIANT* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumVARIANT_AddRef(IEnumVARIANT* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumVARIANT_Release(IEnumVARIANT* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumVARIANT methods ***/ +static FORCEINLINE HRESULT IEnumVARIANT_Next(IEnumVARIANT* This,ULONG celt,VARIANT *rgVar,ULONG *pCeltFetched) { + return This->lpVtbl->Next(This,celt,rgVar,pCeltFetched); +} +static FORCEINLINE HRESULT IEnumVARIANT_Skip(IEnumVARIANT* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumVARIANT_Reset(IEnumVARIANT* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumVARIANT_Clone(IEnumVARIANT* This,IEnumVARIANT **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumVARIANT_RemoteNext_Proxy( + IEnumVARIANT* This, + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched); +void __RPC_STUB IEnumVARIANT_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumVARIANT_Next_Proxy( + IEnumVARIANT* This, + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched); +HRESULT __RPC_STUB IEnumVARIANT_Next_Stub( + IEnumVARIANT* This, + ULONG celt, + VARIANT *rgVar, + ULONG *pCeltFetched); + +#endif /* __IEnumVARIANT_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeComp interface + */ +#ifndef __ITypeComp_INTERFACE_DEFINED__ +#define __ITypeComp_INTERFACE_DEFINED__ + +typedef ITypeComp *LPTYPECOMP; +typedef enum tagDESCKIND { + DESCKIND_NONE = 0, + DESCKIND_FUNCDESC = 1, + DESCKIND_VARDESC = 2, + DESCKIND_TYPECOMP = 3, + DESCKIND_IMPLICITAPPOBJ = 4, + DESCKIND_MAX = 5 +} DESCKIND; +typedef union tagBINDPTR { + FUNCDESC *lpfuncdesc; + VARDESC *lpvardesc; + ITypeComp *lptcomp; +} BINDPTR; +typedef union tagBINDPTR *LPBINDPTR; +DEFINE_GUID(IID_ITypeComp, 0x00020403, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020403-0000-0000-c000-000000000046") +ITypeComp : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Bind( + LPOLESTR szName, + ULONG lHashVal, + WORD wFlags, + ITypeInfo **ppTInfo, + DESCKIND *pDescKind, + BINDPTR *pBindPtr) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindType( + LPOLESTR szName, + ULONG lHashVal, + ITypeInfo **ppTInfo, + ITypeComp **ppTComp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeComp, 0x00020403, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeCompVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeComp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeComp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeComp *This); + + /*** ITypeComp methods ***/ + HRESULT (STDMETHODCALLTYPE *Bind)( + ITypeComp *This, + LPOLESTR szName, + ULONG lHashVal, + WORD wFlags, + ITypeInfo **ppTInfo, + DESCKIND *pDescKind, + BINDPTR *pBindPtr); + + HRESULT (STDMETHODCALLTYPE *BindType)( + ITypeComp *This, + LPOLESTR szName, + ULONG lHashVal, + ITypeInfo **ppTInfo, + ITypeComp **ppTComp); + + END_INTERFACE +} ITypeCompVtbl; + +interface ITypeComp { + CONST_VTBL ITypeCompVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeComp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeComp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeComp_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeComp methods ***/ +#define ITypeComp_Bind(This,szName,lHashVal,wFlags,ppTInfo,pDescKind,pBindPtr) (This)->lpVtbl->Bind(This,szName,lHashVal,wFlags,ppTInfo,pDescKind,pBindPtr) +#define ITypeComp_BindType(This,szName,lHashVal,ppTInfo,ppTComp) (This)->lpVtbl->BindType(This,szName,lHashVal,ppTInfo,ppTComp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeComp_QueryInterface(ITypeComp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeComp_AddRef(ITypeComp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeComp_Release(ITypeComp* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeComp methods ***/ +static FORCEINLINE HRESULT ITypeComp_Bind(ITypeComp* This,LPOLESTR szName,ULONG lHashVal,WORD wFlags,ITypeInfo **ppTInfo,DESCKIND *pDescKind,BINDPTR *pBindPtr) { + return This->lpVtbl->Bind(This,szName,lHashVal,wFlags,ppTInfo,pDescKind,pBindPtr); +} +static FORCEINLINE HRESULT ITypeComp_BindType(ITypeComp* This,LPOLESTR szName,ULONG lHashVal,ITypeInfo **ppTInfo,ITypeComp **ppTComp) { + return This->lpVtbl->BindType(This,szName,lHashVal,ppTInfo,ppTComp); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBind_Proxy( + ITypeComp* This, + LPOLESTR szName, + ULONG lHashVal, + WORD wFlags, + ITypeInfo **ppTInfo, + DESCKIND *pDescKind, + LPFUNCDESC *ppFuncDesc, + LPVARDESC *ppVarDesc, + ITypeComp **ppTypeComp, + CLEANLOCALSTORAGE *pDummy); +void __RPC_STUB ITypeComp_RemoteBind_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBindType_Proxy( + ITypeComp* This, + LPOLESTR szName, + ULONG lHashVal, + ITypeInfo **ppTInfo); +void __RPC_STUB ITypeComp_RemoteBindType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ITypeComp_Bind_Proxy( + ITypeComp* This, + LPOLESTR szName, + ULONG lHashVal, + WORD wFlags, + ITypeInfo **ppTInfo, + DESCKIND *pDescKind, + BINDPTR *pBindPtr); +HRESULT __RPC_STUB ITypeComp_Bind_Stub( + ITypeComp* This, + LPOLESTR szName, + ULONG lHashVal, + WORD wFlags, + ITypeInfo **ppTInfo, + DESCKIND *pDescKind, + LPFUNCDESC *ppFuncDesc, + LPVARDESC *ppVarDesc, + ITypeComp **ppTypeComp, + CLEANLOCALSTORAGE *pDummy); +HRESULT CALLBACK ITypeComp_BindType_Proxy( + ITypeComp* This, + LPOLESTR szName, + ULONG lHashVal, + ITypeInfo **ppTInfo, + ITypeComp **ppTComp); +HRESULT __RPC_STUB ITypeComp_BindType_Stub( + ITypeComp* This, + LPOLESTR szName, + ULONG lHashVal, + ITypeInfo **ppTInfo); + +#endif /* __ITypeComp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeInfo interface + */ +#ifndef __ITypeInfo_INTERFACE_DEFINED__ +#define __ITypeInfo_INTERFACE_DEFINED__ + +typedef ITypeInfo *LPTYPEINFO; +DEFINE_GUID(IID_ITypeInfo, 0x00020401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020401-0000-0000-c000-000000000046") +ITypeInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetTypeAttr( + TYPEATTR **ppTypeAttr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeComp( + ITypeComp **ppTComp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFuncDesc( + UINT index, + FUNCDESC **ppFuncDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVarDesc( + UINT index, + VARDESC **ppVarDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNames( + MEMBERID memid, + BSTR *rgBstrNames, + UINT cMaxNames, + UINT *pcNames) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRefTypeOfImplType( + UINT index, + HREFTYPE *pRefType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImplTypeFlags( + UINT index, + INT *pImplTypeFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames( + LPOLESTR *rgszNames, + UINT cNames, + MEMBERID *pMemId) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invoke( + PVOID pvInstance, + MEMBERID memid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocumentation( + MEMBERID memid, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDllEntry( + MEMBERID memid, + INVOKEKIND invKind, + BSTR *pBstrDllName, + BSTR *pBstrName, + WORD *pwOrdinal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRefTypeInfo( + HREFTYPE hRefType, + ITypeInfo **ppTInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddressOfMember( + MEMBERID memid, + INVOKEKIND invKind, + PVOID *ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IUnknown *pUnkOuter, + REFIID riid, + PVOID *ppvObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMops( + MEMBERID memid, + BSTR *pBstrMops) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainingTypeLib( + ITypeLib **ppTLib, + UINT *pIndex) = 0; + + virtual void STDMETHODCALLTYPE ReleaseTypeAttr( + TYPEATTR *pTypeAttr) = 0; + + virtual void STDMETHODCALLTYPE ReleaseFuncDesc( + FUNCDESC *pFuncDesc) = 0; + + virtual void STDMETHODCALLTYPE ReleaseVarDesc( + VARDESC *pVarDesc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeInfo, 0x00020401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeInfo *This); + + /*** ITypeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeAttr)( + ITypeInfo *This, + TYPEATTR **ppTypeAttr); + + HRESULT (STDMETHODCALLTYPE *GetTypeComp)( + ITypeInfo *This, + ITypeComp **ppTComp); + + HRESULT (STDMETHODCALLTYPE *GetFuncDesc)( + ITypeInfo *This, + UINT index, + FUNCDESC **ppFuncDesc); + + HRESULT (STDMETHODCALLTYPE *GetVarDesc)( + ITypeInfo *This, + UINT index, + VARDESC **ppVarDesc); + + HRESULT (STDMETHODCALLTYPE *GetNames)( + ITypeInfo *This, + MEMBERID memid, + BSTR *rgBstrNames, + UINT cMaxNames, + UINT *pcNames); + + HRESULT (STDMETHODCALLTYPE *GetRefTypeOfImplType)( + ITypeInfo *This, + UINT index, + HREFTYPE *pRefType); + + HRESULT (STDMETHODCALLTYPE *GetImplTypeFlags)( + ITypeInfo *This, + UINT index, + INT *pImplTypeFlags); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITypeInfo *This, + LPOLESTR *rgszNames, + UINT cNames, + MEMBERID *pMemId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITypeInfo *This, + PVOID pvInstance, + MEMBERID memid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + HRESULT (STDMETHODCALLTYPE *GetDocumentation)( + ITypeInfo *This, + MEMBERID memid, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); + + HRESULT (STDMETHODCALLTYPE *GetDllEntry)( + ITypeInfo *This, + MEMBERID memid, + INVOKEKIND invKind, + BSTR *pBstrDllName, + BSTR *pBstrName, + WORD *pwOrdinal); + + HRESULT (STDMETHODCALLTYPE *GetRefTypeInfo)( + ITypeInfo *This, + HREFTYPE hRefType, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *AddressOfMember)( + ITypeInfo *This, + MEMBERID memid, + INVOKEKIND invKind, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + ITypeInfo *This, + IUnknown *pUnkOuter, + REFIID riid, + PVOID *ppvObj); + + HRESULT (STDMETHODCALLTYPE *GetMops)( + ITypeInfo *This, + MEMBERID memid, + BSTR *pBstrMops); + + HRESULT (STDMETHODCALLTYPE *GetContainingTypeLib)( + ITypeInfo *This, + ITypeLib **ppTLib, + UINT *pIndex); + + void (STDMETHODCALLTYPE *ReleaseTypeAttr)( + ITypeInfo *This, + TYPEATTR *pTypeAttr); + + void (STDMETHODCALLTYPE *ReleaseFuncDesc)( + ITypeInfo *This, + FUNCDESC *pFuncDesc); + + void (STDMETHODCALLTYPE *ReleaseVarDesc)( + ITypeInfo *This, + VARDESC *pVarDesc); + + END_INTERFACE +} ITypeInfoVtbl; + +interface ITypeInfo { + CONST_VTBL ITypeInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeInfo methods ***/ +#define ITypeInfo_GetTypeAttr(This,ppTypeAttr) (This)->lpVtbl->GetTypeAttr(This,ppTypeAttr) +#define ITypeInfo_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp) +#define ITypeInfo_GetFuncDesc(This,index,ppFuncDesc) (This)->lpVtbl->GetFuncDesc(This,index,ppFuncDesc) +#define ITypeInfo_GetVarDesc(This,index,ppVarDesc) (This)->lpVtbl->GetVarDesc(This,index,ppVarDesc) +#define ITypeInfo_GetNames(This,memid,rgBstrNames,cMaxNames,pcNames) (This)->lpVtbl->GetNames(This,memid,rgBstrNames,cMaxNames,pcNames) +#define ITypeInfo_GetRefTypeOfImplType(This,index,pRefType) (This)->lpVtbl->GetRefTypeOfImplType(This,index,pRefType) +#define ITypeInfo_GetImplTypeFlags(This,index,pImplTypeFlags) (This)->lpVtbl->GetImplTypeFlags(This,index,pImplTypeFlags) +#define ITypeInfo_GetIDsOfNames(This,rgszNames,cNames,pMemId) (This)->lpVtbl->GetIDsOfNames(This,rgszNames,cNames,pMemId) +#define ITypeInfo_Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#define ITypeInfo_GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) +#define ITypeInfo_GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal) (This)->lpVtbl->GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal) +#define ITypeInfo_GetRefTypeInfo(This,hRefType,ppTInfo) (This)->lpVtbl->GetRefTypeInfo(This,hRefType,ppTInfo) +#define ITypeInfo_AddressOfMember(This,memid,invKind,ppv) (This)->lpVtbl->AddressOfMember(This,memid,invKind,ppv) +#define ITypeInfo_CreateInstance(This,pUnkOuter,riid,ppvObj) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObj) +#define ITypeInfo_GetMops(This,memid,pBstrMops) (This)->lpVtbl->GetMops(This,memid,pBstrMops) +#define ITypeInfo_GetContainingTypeLib(This,ppTLib,pIndex) (This)->lpVtbl->GetContainingTypeLib(This,ppTLib,pIndex) +#define ITypeInfo_ReleaseTypeAttr(This,pTypeAttr) (This)->lpVtbl->ReleaseTypeAttr(This,pTypeAttr) +#define ITypeInfo_ReleaseFuncDesc(This,pFuncDesc) (This)->lpVtbl->ReleaseFuncDesc(This,pFuncDesc) +#define ITypeInfo_ReleaseVarDesc(This,pVarDesc) (This)->lpVtbl->ReleaseVarDesc(This,pVarDesc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeInfo_QueryInterface(ITypeInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeInfo_AddRef(ITypeInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeInfo_Release(ITypeInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeInfo methods ***/ +static FORCEINLINE HRESULT ITypeInfo_GetTypeAttr(ITypeInfo* This,TYPEATTR **ppTypeAttr) { + return This->lpVtbl->GetTypeAttr(This,ppTypeAttr); +} +static FORCEINLINE HRESULT ITypeInfo_GetTypeComp(ITypeInfo* This,ITypeComp **ppTComp) { + return This->lpVtbl->GetTypeComp(This,ppTComp); +} +static FORCEINLINE HRESULT ITypeInfo_GetFuncDesc(ITypeInfo* This,UINT index,FUNCDESC **ppFuncDesc) { + return This->lpVtbl->GetFuncDesc(This,index,ppFuncDesc); +} +static FORCEINLINE HRESULT ITypeInfo_GetVarDesc(ITypeInfo* This,UINT index,VARDESC **ppVarDesc) { + return This->lpVtbl->GetVarDesc(This,index,ppVarDesc); +} +static FORCEINLINE HRESULT ITypeInfo_GetNames(ITypeInfo* This,MEMBERID memid,BSTR *rgBstrNames,UINT cMaxNames,UINT *pcNames) { + return This->lpVtbl->GetNames(This,memid,rgBstrNames,cMaxNames,pcNames); +} +static FORCEINLINE HRESULT ITypeInfo_GetRefTypeOfImplType(ITypeInfo* This,UINT index,HREFTYPE *pRefType) { + return This->lpVtbl->GetRefTypeOfImplType(This,index,pRefType); +} +static FORCEINLINE HRESULT ITypeInfo_GetImplTypeFlags(ITypeInfo* This,UINT index,INT *pImplTypeFlags) { + return This->lpVtbl->GetImplTypeFlags(This,index,pImplTypeFlags); +} +static FORCEINLINE HRESULT ITypeInfo_GetIDsOfNames(ITypeInfo* This,LPOLESTR *rgszNames,UINT cNames,MEMBERID *pMemId) { + return This->lpVtbl->GetIDsOfNames(This,rgszNames,cNames,pMemId); +} +static FORCEINLINE HRESULT ITypeInfo_Invoke(ITypeInfo* This,PVOID pvInstance,MEMBERID memid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +static FORCEINLINE HRESULT ITypeInfo_GetDocumentation(ITypeInfo* This,MEMBERID memid,BSTR *pBstrName,BSTR *pBstrDocString,DWORD *pdwHelpContext,BSTR *pBstrHelpFile) { + return This->lpVtbl->GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile); +} +static FORCEINLINE HRESULT ITypeInfo_GetDllEntry(ITypeInfo* This,MEMBERID memid,INVOKEKIND invKind,BSTR *pBstrDllName,BSTR *pBstrName,WORD *pwOrdinal) { + return This->lpVtbl->GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal); +} +static FORCEINLINE HRESULT ITypeInfo_GetRefTypeInfo(ITypeInfo* This,HREFTYPE hRefType,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetRefTypeInfo(This,hRefType,ppTInfo); +} +static FORCEINLINE HRESULT ITypeInfo_AddressOfMember(ITypeInfo* This,MEMBERID memid,INVOKEKIND invKind,PVOID *ppv) { + return This->lpVtbl->AddressOfMember(This,memid,invKind,ppv); +} +static FORCEINLINE HRESULT ITypeInfo_CreateInstance(ITypeInfo* This,IUnknown *pUnkOuter,REFIID riid,PVOID *ppvObj) { + return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObj); +} +static FORCEINLINE HRESULT ITypeInfo_GetMops(ITypeInfo* This,MEMBERID memid,BSTR *pBstrMops) { + return This->lpVtbl->GetMops(This,memid,pBstrMops); +} +static FORCEINLINE HRESULT ITypeInfo_GetContainingTypeLib(ITypeInfo* This,ITypeLib **ppTLib,UINT *pIndex) { + return This->lpVtbl->GetContainingTypeLib(This,ppTLib,pIndex); +} +static FORCEINLINE void ITypeInfo_ReleaseTypeAttr(ITypeInfo* This,TYPEATTR *pTypeAttr) { + This->lpVtbl->ReleaseTypeAttr(This,pTypeAttr); +} +static FORCEINLINE void ITypeInfo_ReleaseFuncDesc(ITypeInfo* This,FUNCDESC *pFuncDesc) { + This->lpVtbl->ReleaseFuncDesc(This,pFuncDesc); +} +static FORCEINLINE void ITypeInfo_ReleaseVarDesc(ITypeInfo* This,VARDESC *pVarDesc) { + This->lpVtbl->ReleaseVarDesc(This,pVarDesc); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetTypeAttr_Proxy( + ITypeInfo* This, + LPTYPEATTR *ppTypeAttr, + CLEANLOCALSTORAGE *pDummy); +void __RPC_STUB ITypeInfo_RemoteGetTypeAttr_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetFuncDesc_Proxy( + ITypeInfo* This, + UINT index, + LPFUNCDESC *ppFuncDesc, + CLEANLOCALSTORAGE *pDummy); +void __RPC_STUB ITypeInfo_RemoteGetFuncDesc_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetVarDesc_Proxy( + ITypeInfo* This, + UINT index, + LPVARDESC *ppVarDesc, + CLEANLOCALSTORAGE *pDummy); +void __RPC_STUB ITypeInfo_RemoteGetVarDesc_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetNames_Proxy( + ITypeInfo* This, + MEMBERID memid, + BSTR *rgBstrNames, + UINT cMaxNames, + UINT *pcNames); +void __RPC_STUB ITypeInfo_RemoteGetNames_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy( + ITypeInfo* This); +void __RPC_STUB ITypeInfo_LocalGetIDsOfNames_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy( + ITypeInfo* This); +void __RPC_STUB ITypeInfo_LocalInvoke_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDocumentation_Proxy( + ITypeInfo* This, + MEMBERID memid, + DWORD refPtrFlags, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); +void __RPC_STUB ITypeInfo_RemoteGetDocumentation_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDllEntry_Proxy( + ITypeInfo* This, + MEMBERID memid, + INVOKEKIND invKind, + DWORD refPtrFlags, + BSTR *pBstrDllName, + BSTR *pBstrName, + WORD *pwOrdinal); +void __RPC_STUB ITypeInfo_RemoteGetDllEntry_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy( + ITypeInfo* This); +void __RPC_STUB ITypeInfo_LocalAddressOfMember_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteCreateInstance_Proxy( + ITypeInfo* This, + REFIID riid, + IUnknown **ppvObj); +void __RPC_STUB ITypeInfo_RemoteCreateInstance_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetContainingTypeLib_Proxy( + ITypeInfo* This, + ITypeLib **ppTLib, + UINT *pIndex); +void __RPC_STUB ITypeInfo_RemoteGetContainingTypeLib_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy( + ITypeInfo* This); +void __RPC_STUB ITypeInfo_LocalReleaseTypeAttr_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy( + ITypeInfo* This); +void __RPC_STUB ITypeInfo_LocalReleaseFuncDesc_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy( + ITypeInfo* This); +void __RPC_STUB ITypeInfo_LocalReleaseVarDesc_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ITypeInfo_GetTypeAttr_Proxy( + ITypeInfo* This, + TYPEATTR **ppTypeAttr); +HRESULT __RPC_STUB ITypeInfo_GetTypeAttr_Stub( + ITypeInfo* This, + LPTYPEATTR *ppTypeAttr, + CLEANLOCALSTORAGE *pDummy); +HRESULT CALLBACK ITypeInfo_GetFuncDesc_Proxy( + ITypeInfo* This, + UINT index, + FUNCDESC **ppFuncDesc); +HRESULT __RPC_STUB ITypeInfo_GetFuncDesc_Stub( + ITypeInfo* This, + UINT index, + LPFUNCDESC *ppFuncDesc, + CLEANLOCALSTORAGE *pDummy); +HRESULT CALLBACK ITypeInfo_GetVarDesc_Proxy( + ITypeInfo* This, + UINT index, + VARDESC **ppVarDesc); +HRESULT __RPC_STUB ITypeInfo_GetVarDesc_Stub( + ITypeInfo* This, + UINT index, + LPVARDESC *ppVarDesc, + CLEANLOCALSTORAGE *pDummy); +HRESULT CALLBACK ITypeInfo_GetNames_Proxy( + ITypeInfo* This, + MEMBERID memid, + BSTR *rgBstrNames, + UINT cMaxNames, + UINT *pcNames); +HRESULT __RPC_STUB ITypeInfo_GetNames_Stub( + ITypeInfo* This, + MEMBERID memid, + BSTR *rgBstrNames, + UINT cMaxNames, + UINT *pcNames); +HRESULT CALLBACK ITypeInfo_GetIDsOfNames_Proxy( + ITypeInfo* This, + LPOLESTR *rgszNames, + UINT cNames, + MEMBERID *pMemId); +HRESULT __RPC_STUB ITypeInfo_GetIDsOfNames_Stub( + ITypeInfo* This); +HRESULT CALLBACK ITypeInfo_Invoke_Proxy( + ITypeInfo* This, + PVOID pvInstance, + MEMBERID memid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); +HRESULT __RPC_STUB ITypeInfo_Invoke_Stub( + ITypeInfo* This); +HRESULT CALLBACK ITypeInfo_GetDocumentation_Proxy( + ITypeInfo* This, + MEMBERID memid, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); +HRESULT __RPC_STUB ITypeInfo_GetDocumentation_Stub( + ITypeInfo* This, + MEMBERID memid, + DWORD refPtrFlags, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); +HRESULT CALLBACK ITypeInfo_GetDllEntry_Proxy( + ITypeInfo* This, + MEMBERID memid, + INVOKEKIND invKind, + BSTR *pBstrDllName, + BSTR *pBstrName, + WORD *pwOrdinal); +HRESULT __RPC_STUB ITypeInfo_GetDllEntry_Stub( + ITypeInfo* This, + MEMBERID memid, + INVOKEKIND invKind, + DWORD refPtrFlags, + BSTR *pBstrDllName, + BSTR *pBstrName, + WORD *pwOrdinal); +HRESULT CALLBACK ITypeInfo_AddressOfMember_Proxy( + ITypeInfo* This, + MEMBERID memid, + INVOKEKIND invKind, + PVOID *ppv); +HRESULT __RPC_STUB ITypeInfo_AddressOfMember_Stub( + ITypeInfo* This); +HRESULT CALLBACK ITypeInfo_CreateInstance_Proxy( + ITypeInfo* This, + IUnknown *pUnkOuter, + REFIID riid, + PVOID *ppvObj); +HRESULT __RPC_STUB ITypeInfo_CreateInstance_Stub( + ITypeInfo* This, + REFIID riid, + IUnknown **ppvObj); +HRESULT CALLBACK ITypeInfo_GetContainingTypeLib_Proxy( + ITypeInfo* This, + ITypeLib **ppTLib, + UINT *pIndex); +HRESULT __RPC_STUB ITypeInfo_GetContainingTypeLib_Stub( + ITypeInfo* This, + ITypeLib **ppTLib, + UINT *pIndex); +void CALLBACK ITypeInfo_ReleaseTypeAttr_Proxy( + ITypeInfo* This, + TYPEATTR *pTypeAttr); +HRESULT __RPC_STUB ITypeInfo_ReleaseTypeAttr_Stub( + ITypeInfo* This); +void CALLBACK ITypeInfo_ReleaseFuncDesc_Proxy( + ITypeInfo* This, + FUNCDESC *pFuncDesc); +HRESULT __RPC_STUB ITypeInfo_ReleaseFuncDesc_Stub( + ITypeInfo* This); +void CALLBACK ITypeInfo_ReleaseVarDesc_Proxy( + ITypeInfo* This, + VARDESC *pVarDesc); +HRESULT __RPC_STUB ITypeInfo_ReleaseVarDesc_Stub( + ITypeInfo* This); + +#endif /* __ITypeInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeInfo2 interface + */ +#ifndef __ITypeInfo2_INTERFACE_DEFINED__ +#define __ITypeInfo2_INTERFACE_DEFINED__ + +typedef ITypeInfo2 *LPTYPEINFO2; +DEFINE_GUID(IID_ITypeInfo2, 0x00020412, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020412-0000-0000-c000-000000000046") +ITypeInfo2 : public ITypeInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetTypeKind( + TYPEKIND *pTypeKind) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeFlags( + ULONG *pTypeFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFuncIndexOfMemId( + MEMBERID memid, + INVOKEKIND invKind, + UINT *pFuncIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVarIndexOfMemId( + MEMBERID memid, + UINT *pVarIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCustData( + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFuncCustData( + UINT index, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParamCustData( + UINT indexFunc, + UINT indexParam, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVarCustData( + UINT index, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImplTypeCustData( + UINT index, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocumentation2( + MEMBERID memid, + LCID lcid, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllCustData( + CUSTDATA *pCustData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllFuncCustData( + UINT index, + CUSTDATA *pCustData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllParamCustData( + UINT indexFunc, + UINT indexParam, + CUSTDATA *pCustData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllVarCustData( + UINT index, + CUSTDATA *pCustData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllImplTypeCustData( + UINT index, + CUSTDATA *pCustData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeInfo2, 0x00020412, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeInfo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeInfo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeInfo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeInfo2 *This); + + /*** ITypeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeAttr)( + ITypeInfo2 *This, + TYPEATTR **ppTypeAttr); + + HRESULT (STDMETHODCALLTYPE *GetTypeComp)( + ITypeInfo2 *This, + ITypeComp **ppTComp); + + HRESULT (STDMETHODCALLTYPE *GetFuncDesc)( + ITypeInfo2 *This, + UINT index, + FUNCDESC **ppFuncDesc); + + HRESULT (STDMETHODCALLTYPE *GetVarDesc)( + ITypeInfo2 *This, + UINT index, + VARDESC **ppVarDesc); + + HRESULT (STDMETHODCALLTYPE *GetNames)( + ITypeInfo2 *This, + MEMBERID memid, + BSTR *rgBstrNames, + UINT cMaxNames, + UINT *pcNames); + + HRESULT (STDMETHODCALLTYPE *GetRefTypeOfImplType)( + ITypeInfo2 *This, + UINT index, + HREFTYPE *pRefType); + + HRESULT (STDMETHODCALLTYPE *GetImplTypeFlags)( + ITypeInfo2 *This, + UINT index, + INT *pImplTypeFlags); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITypeInfo2 *This, + LPOLESTR *rgszNames, + UINT cNames, + MEMBERID *pMemId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITypeInfo2 *This, + PVOID pvInstance, + MEMBERID memid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + HRESULT (STDMETHODCALLTYPE *GetDocumentation)( + ITypeInfo2 *This, + MEMBERID memid, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); + + HRESULT (STDMETHODCALLTYPE *GetDllEntry)( + ITypeInfo2 *This, + MEMBERID memid, + INVOKEKIND invKind, + BSTR *pBstrDllName, + BSTR *pBstrName, + WORD *pwOrdinal); + + HRESULT (STDMETHODCALLTYPE *GetRefTypeInfo)( + ITypeInfo2 *This, + HREFTYPE hRefType, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *AddressOfMember)( + ITypeInfo2 *This, + MEMBERID memid, + INVOKEKIND invKind, + PVOID *ppv); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + ITypeInfo2 *This, + IUnknown *pUnkOuter, + REFIID riid, + PVOID *ppvObj); + + HRESULT (STDMETHODCALLTYPE *GetMops)( + ITypeInfo2 *This, + MEMBERID memid, + BSTR *pBstrMops); + + HRESULT (STDMETHODCALLTYPE *GetContainingTypeLib)( + ITypeInfo2 *This, + ITypeLib **ppTLib, + UINT *pIndex); + + void (STDMETHODCALLTYPE *ReleaseTypeAttr)( + ITypeInfo2 *This, + TYPEATTR *pTypeAttr); + + void (STDMETHODCALLTYPE *ReleaseFuncDesc)( + ITypeInfo2 *This, + FUNCDESC *pFuncDesc); + + void (STDMETHODCALLTYPE *ReleaseVarDesc)( + ITypeInfo2 *This, + VARDESC *pVarDesc); + + /*** ITypeInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeKind)( + ITypeInfo2 *This, + TYPEKIND *pTypeKind); + + HRESULT (STDMETHODCALLTYPE *GetTypeFlags)( + ITypeInfo2 *This, + ULONG *pTypeFlags); + + HRESULT (STDMETHODCALLTYPE *GetFuncIndexOfMemId)( + ITypeInfo2 *This, + MEMBERID memid, + INVOKEKIND invKind, + UINT *pFuncIndex); + + HRESULT (STDMETHODCALLTYPE *GetVarIndexOfMemId)( + ITypeInfo2 *This, + MEMBERID memid, + UINT *pVarIndex); + + HRESULT (STDMETHODCALLTYPE *GetCustData)( + ITypeInfo2 *This, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *GetFuncCustData)( + ITypeInfo2 *This, + UINT index, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *GetParamCustData)( + ITypeInfo2 *This, + UINT indexFunc, + UINT indexParam, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *GetVarCustData)( + ITypeInfo2 *This, + UINT index, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *GetImplTypeCustData)( + ITypeInfo2 *This, + UINT index, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *GetDocumentation2)( + ITypeInfo2 *This, + MEMBERID memid, + LCID lcid, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); + + HRESULT (STDMETHODCALLTYPE *GetAllCustData)( + ITypeInfo2 *This, + CUSTDATA *pCustData); + + HRESULT (STDMETHODCALLTYPE *GetAllFuncCustData)( + ITypeInfo2 *This, + UINT index, + CUSTDATA *pCustData); + + HRESULT (STDMETHODCALLTYPE *GetAllParamCustData)( + ITypeInfo2 *This, + UINT indexFunc, + UINT indexParam, + CUSTDATA *pCustData); + + HRESULT (STDMETHODCALLTYPE *GetAllVarCustData)( + ITypeInfo2 *This, + UINT index, + CUSTDATA *pCustData); + + HRESULT (STDMETHODCALLTYPE *GetAllImplTypeCustData)( + ITypeInfo2 *This, + UINT index, + CUSTDATA *pCustData); + + END_INTERFACE +} ITypeInfo2Vtbl; + +interface ITypeInfo2 { + CONST_VTBL ITypeInfo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeInfo2_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeInfo methods ***/ +#define ITypeInfo2_GetTypeAttr(This,ppTypeAttr) (This)->lpVtbl->GetTypeAttr(This,ppTypeAttr) +#define ITypeInfo2_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp) +#define ITypeInfo2_GetFuncDesc(This,index,ppFuncDesc) (This)->lpVtbl->GetFuncDesc(This,index,ppFuncDesc) +#define ITypeInfo2_GetVarDesc(This,index,ppVarDesc) (This)->lpVtbl->GetVarDesc(This,index,ppVarDesc) +#define ITypeInfo2_GetNames(This,memid,rgBstrNames,cMaxNames,pcNames) (This)->lpVtbl->GetNames(This,memid,rgBstrNames,cMaxNames,pcNames) +#define ITypeInfo2_GetRefTypeOfImplType(This,index,pRefType) (This)->lpVtbl->GetRefTypeOfImplType(This,index,pRefType) +#define ITypeInfo2_GetImplTypeFlags(This,index,pImplTypeFlags) (This)->lpVtbl->GetImplTypeFlags(This,index,pImplTypeFlags) +#define ITypeInfo2_GetIDsOfNames(This,rgszNames,cNames,pMemId) (This)->lpVtbl->GetIDsOfNames(This,rgszNames,cNames,pMemId) +#define ITypeInfo2_Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#define ITypeInfo2_GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) +#define ITypeInfo2_GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal) (This)->lpVtbl->GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal) +#define ITypeInfo2_GetRefTypeInfo(This,hRefType,ppTInfo) (This)->lpVtbl->GetRefTypeInfo(This,hRefType,ppTInfo) +#define ITypeInfo2_AddressOfMember(This,memid,invKind,ppv) (This)->lpVtbl->AddressOfMember(This,memid,invKind,ppv) +#define ITypeInfo2_CreateInstance(This,pUnkOuter,riid,ppvObj) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObj) +#define ITypeInfo2_GetMops(This,memid,pBstrMops) (This)->lpVtbl->GetMops(This,memid,pBstrMops) +#define ITypeInfo2_GetContainingTypeLib(This,ppTLib,pIndex) (This)->lpVtbl->GetContainingTypeLib(This,ppTLib,pIndex) +#define ITypeInfo2_ReleaseTypeAttr(This,pTypeAttr) (This)->lpVtbl->ReleaseTypeAttr(This,pTypeAttr) +#define ITypeInfo2_ReleaseFuncDesc(This,pFuncDesc) (This)->lpVtbl->ReleaseFuncDesc(This,pFuncDesc) +#define ITypeInfo2_ReleaseVarDesc(This,pVarDesc) (This)->lpVtbl->ReleaseVarDesc(This,pVarDesc) +/*** ITypeInfo2 methods ***/ +#define ITypeInfo2_GetTypeKind(This,pTypeKind) (This)->lpVtbl->GetTypeKind(This,pTypeKind) +#define ITypeInfo2_GetTypeFlags(This,pTypeFlags) (This)->lpVtbl->GetTypeFlags(This,pTypeFlags) +#define ITypeInfo2_GetFuncIndexOfMemId(This,memid,invKind,pFuncIndex) (This)->lpVtbl->GetFuncIndexOfMemId(This,memid,invKind,pFuncIndex) +#define ITypeInfo2_GetVarIndexOfMemId(This,memid,pVarIndex) (This)->lpVtbl->GetVarIndexOfMemId(This,memid,pVarIndex) +#define ITypeInfo2_GetCustData(This,guid,pVarVal) (This)->lpVtbl->GetCustData(This,guid,pVarVal) +#define ITypeInfo2_GetFuncCustData(This,index,guid,pVarVal) (This)->lpVtbl->GetFuncCustData(This,index,guid,pVarVal) +#define ITypeInfo2_GetParamCustData(This,indexFunc,indexParam,guid,pVarVal) (This)->lpVtbl->GetParamCustData(This,indexFunc,indexParam,guid,pVarVal) +#define ITypeInfo2_GetVarCustData(This,index,guid,pVarVal) (This)->lpVtbl->GetVarCustData(This,index,guid,pVarVal) +#define ITypeInfo2_GetImplTypeCustData(This,index,guid,pVarVal) (This)->lpVtbl->GetImplTypeCustData(This,index,guid,pVarVal) +#define ITypeInfo2_GetDocumentation2(This,memid,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll) (This)->lpVtbl->GetDocumentation2(This,memid,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll) +#define ITypeInfo2_GetAllCustData(This,pCustData) (This)->lpVtbl->GetAllCustData(This,pCustData) +#define ITypeInfo2_GetAllFuncCustData(This,index,pCustData) (This)->lpVtbl->GetAllFuncCustData(This,index,pCustData) +#define ITypeInfo2_GetAllParamCustData(This,indexFunc,indexParam,pCustData) (This)->lpVtbl->GetAllParamCustData(This,indexFunc,indexParam,pCustData) +#define ITypeInfo2_GetAllVarCustData(This,index,pCustData) (This)->lpVtbl->GetAllVarCustData(This,index,pCustData) +#define ITypeInfo2_GetAllImplTypeCustData(This,index,pCustData) (This)->lpVtbl->GetAllImplTypeCustData(This,index,pCustData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeInfo2_QueryInterface(ITypeInfo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeInfo2_AddRef(ITypeInfo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeInfo2_Release(ITypeInfo2* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeInfo methods ***/ +static FORCEINLINE HRESULT ITypeInfo2_GetTypeAttr(ITypeInfo2* This,TYPEATTR **ppTypeAttr) { + return This->lpVtbl->GetTypeAttr(This,ppTypeAttr); +} +static FORCEINLINE HRESULT ITypeInfo2_GetTypeComp(ITypeInfo2* This,ITypeComp **ppTComp) { + return This->lpVtbl->GetTypeComp(This,ppTComp); +} +static FORCEINLINE HRESULT ITypeInfo2_GetFuncDesc(ITypeInfo2* This,UINT index,FUNCDESC **ppFuncDesc) { + return This->lpVtbl->GetFuncDesc(This,index,ppFuncDesc); +} +static FORCEINLINE HRESULT ITypeInfo2_GetVarDesc(ITypeInfo2* This,UINT index,VARDESC **ppVarDesc) { + return This->lpVtbl->GetVarDesc(This,index,ppVarDesc); +} +static FORCEINLINE HRESULT ITypeInfo2_GetNames(ITypeInfo2* This,MEMBERID memid,BSTR *rgBstrNames,UINT cMaxNames,UINT *pcNames) { + return This->lpVtbl->GetNames(This,memid,rgBstrNames,cMaxNames,pcNames); +} +static FORCEINLINE HRESULT ITypeInfo2_GetRefTypeOfImplType(ITypeInfo2* This,UINT index,HREFTYPE *pRefType) { + return This->lpVtbl->GetRefTypeOfImplType(This,index,pRefType); +} +static FORCEINLINE HRESULT ITypeInfo2_GetImplTypeFlags(ITypeInfo2* This,UINT index,INT *pImplTypeFlags) { + return This->lpVtbl->GetImplTypeFlags(This,index,pImplTypeFlags); +} +static FORCEINLINE HRESULT ITypeInfo2_GetIDsOfNames(ITypeInfo2* This,LPOLESTR *rgszNames,UINT cNames,MEMBERID *pMemId) { + return This->lpVtbl->GetIDsOfNames(This,rgszNames,cNames,pMemId); +} +static FORCEINLINE HRESULT ITypeInfo2_Invoke(ITypeInfo2* This,PVOID pvInstance,MEMBERID memid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +static FORCEINLINE HRESULT ITypeInfo2_GetDocumentation(ITypeInfo2* This,MEMBERID memid,BSTR *pBstrName,BSTR *pBstrDocString,DWORD *pdwHelpContext,BSTR *pBstrHelpFile) { + return This->lpVtbl->GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile); +} +static FORCEINLINE HRESULT ITypeInfo2_GetDllEntry(ITypeInfo2* This,MEMBERID memid,INVOKEKIND invKind,BSTR *pBstrDllName,BSTR *pBstrName,WORD *pwOrdinal) { + return This->lpVtbl->GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal); +} +static FORCEINLINE HRESULT ITypeInfo2_GetRefTypeInfo(ITypeInfo2* This,HREFTYPE hRefType,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetRefTypeInfo(This,hRefType,ppTInfo); +} +static FORCEINLINE HRESULT ITypeInfo2_AddressOfMember(ITypeInfo2* This,MEMBERID memid,INVOKEKIND invKind,PVOID *ppv) { + return This->lpVtbl->AddressOfMember(This,memid,invKind,ppv); +} +static FORCEINLINE HRESULT ITypeInfo2_CreateInstance(ITypeInfo2* This,IUnknown *pUnkOuter,REFIID riid,PVOID *ppvObj) { + return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObj); +} +static FORCEINLINE HRESULT ITypeInfo2_GetMops(ITypeInfo2* This,MEMBERID memid,BSTR *pBstrMops) { + return This->lpVtbl->GetMops(This,memid,pBstrMops); +} +static FORCEINLINE HRESULT ITypeInfo2_GetContainingTypeLib(ITypeInfo2* This,ITypeLib **ppTLib,UINT *pIndex) { + return This->lpVtbl->GetContainingTypeLib(This,ppTLib,pIndex); +} +static FORCEINLINE void ITypeInfo2_ReleaseTypeAttr(ITypeInfo2* This,TYPEATTR *pTypeAttr) { + This->lpVtbl->ReleaseTypeAttr(This,pTypeAttr); +} +static FORCEINLINE void ITypeInfo2_ReleaseFuncDesc(ITypeInfo2* This,FUNCDESC *pFuncDesc) { + This->lpVtbl->ReleaseFuncDesc(This,pFuncDesc); +} +static FORCEINLINE void ITypeInfo2_ReleaseVarDesc(ITypeInfo2* This,VARDESC *pVarDesc) { + This->lpVtbl->ReleaseVarDesc(This,pVarDesc); +} +/*** ITypeInfo2 methods ***/ +static FORCEINLINE HRESULT ITypeInfo2_GetTypeKind(ITypeInfo2* This,TYPEKIND *pTypeKind) { + return This->lpVtbl->GetTypeKind(This,pTypeKind); +} +static FORCEINLINE HRESULT ITypeInfo2_GetTypeFlags(ITypeInfo2* This,ULONG *pTypeFlags) { + return This->lpVtbl->GetTypeFlags(This,pTypeFlags); +} +static FORCEINLINE HRESULT ITypeInfo2_GetFuncIndexOfMemId(ITypeInfo2* This,MEMBERID memid,INVOKEKIND invKind,UINT *pFuncIndex) { + return This->lpVtbl->GetFuncIndexOfMemId(This,memid,invKind,pFuncIndex); +} +static FORCEINLINE HRESULT ITypeInfo2_GetVarIndexOfMemId(ITypeInfo2* This,MEMBERID memid,UINT *pVarIndex) { + return This->lpVtbl->GetVarIndexOfMemId(This,memid,pVarIndex); +} +static FORCEINLINE HRESULT ITypeInfo2_GetCustData(ITypeInfo2* This,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->GetCustData(This,guid,pVarVal); +} +static FORCEINLINE HRESULT ITypeInfo2_GetFuncCustData(ITypeInfo2* This,UINT index,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->GetFuncCustData(This,index,guid,pVarVal); +} +static FORCEINLINE HRESULT ITypeInfo2_GetParamCustData(ITypeInfo2* This,UINT indexFunc,UINT indexParam,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->GetParamCustData(This,indexFunc,indexParam,guid,pVarVal); +} +static FORCEINLINE HRESULT ITypeInfo2_GetVarCustData(ITypeInfo2* This,UINT index,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->GetVarCustData(This,index,guid,pVarVal); +} +static FORCEINLINE HRESULT ITypeInfo2_GetImplTypeCustData(ITypeInfo2* This,UINT index,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->GetImplTypeCustData(This,index,guid,pVarVal); +} +static FORCEINLINE HRESULT ITypeInfo2_GetDocumentation2(ITypeInfo2* This,MEMBERID memid,LCID lcid,BSTR *pbstrHelpString,DWORD *pdwHelpStringContext,BSTR *pbstrHelpStringDll) { + return This->lpVtbl->GetDocumentation2(This,memid,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll); +} +static FORCEINLINE HRESULT ITypeInfo2_GetAllCustData(ITypeInfo2* This,CUSTDATA *pCustData) { + return This->lpVtbl->GetAllCustData(This,pCustData); +} +static FORCEINLINE HRESULT ITypeInfo2_GetAllFuncCustData(ITypeInfo2* This,UINT index,CUSTDATA *pCustData) { + return This->lpVtbl->GetAllFuncCustData(This,index,pCustData); +} +static FORCEINLINE HRESULT ITypeInfo2_GetAllParamCustData(ITypeInfo2* This,UINT indexFunc,UINT indexParam,CUSTDATA *pCustData) { + return This->lpVtbl->GetAllParamCustData(This,indexFunc,indexParam,pCustData); +} +static FORCEINLINE HRESULT ITypeInfo2_GetAllVarCustData(ITypeInfo2* This,UINT index,CUSTDATA *pCustData) { + return This->lpVtbl->GetAllVarCustData(This,index,pCustData); +} +static FORCEINLINE HRESULT ITypeInfo2_GetAllImplTypeCustData(ITypeInfo2* This,UINT index,CUSTDATA *pCustData) { + return This->lpVtbl->GetAllImplTypeCustData(This,index,pCustData); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ITypeInfo2_RemoteGetDocumentation2_Proxy( + ITypeInfo2* This, + MEMBERID memid, + LCID lcid, + DWORD refPtrFlags, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); +void __RPC_STUB ITypeInfo2_RemoteGetDocumentation2_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ITypeInfo2_GetDocumentation2_Proxy( + ITypeInfo2* This, + MEMBERID memid, + LCID lcid, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); +HRESULT __RPC_STUB ITypeInfo2_GetDocumentation2_Stub( + ITypeInfo2* This, + MEMBERID memid, + LCID lcid, + DWORD refPtrFlags, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); + +#endif /* __ITypeInfo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeLib interface + */ +#ifndef __ITypeLib_INTERFACE_DEFINED__ +#define __ITypeLib_INTERFACE_DEFINED__ + +typedef ITypeLib *LPTYPELIB; +typedef enum tagSYSKIND { + SYS_WIN16 = 0, + SYS_WIN32 = 1, + SYS_MAC = 2, + SYS_WIN64 = 3 +} SYSKIND; +typedef enum tagLIBFLAGS { + LIBFLAG_FRESTRICTED = 0x1, + LIBFLAG_FCONTROL = 0x2, + LIBFLAG_FHIDDEN = 0x4, + LIBFLAG_FHASDISKIMAGE = 0x8 +} LIBFLAGS; +typedef struct tagTLIBATTR { + GUID guid; + LCID lcid; + SYSKIND syskind; + WORD wMajorVerNum; + WORD wMinorVerNum; + WORD wLibFlags; +} TLIBATTR; +typedef struct tagTLIBATTR *LPTLIBATTR; +DEFINE_GUID(IID_ITypeLib, 0x00020402, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020402-0000-0000-c000-000000000046") +ITypeLib : public IUnknown +{ + virtual UINT STDMETHODCALLTYPE GetTypeInfoCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeInfo( + UINT index, + ITypeInfo **ppTInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeInfoType( + UINT index, + TYPEKIND *pTKind) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeInfoOfGuid( + REFGUID guid, + ITypeInfo **ppTinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLibAttr( + TLIBATTR **ppTLibAttr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeComp( + ITypeComp **ppTComp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocumentation( + INT index, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsName( + LPOLESTR szNameBuf, + ULONG lHashVal, + BOOL *pfName) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindName( + LPOLESTR szNameBuf, + ULONG lHashVal, + ITypeInfo **ppTInfo, + MEMBERID *rgMemId, + USHORT *pcFound) = 0; + + virtual void STDMETHODCALLTYPE ReleaseTLibAttr( + TLIBATTR *pTLibAttr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeLib, 0x00020402, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeLibVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeLib *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeLib *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeLib *This); + + /*** ITypeLib methods ***/ + UINT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITypeLib *This); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITypeLib *This, + UINT index, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfoType)( + ITypeLib *This, + UINT index, + TYPEKIND *pTKind); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfoOfGuid)( + ITypeLib *This, + REFGUID guid, + ITypeInfo **ppTinfo); + + HRESULT (STDMETHODCALLTYPE *GetLibAttr)( + ITypeLib *This, + TLIBATTR **ppTLibAttr); + + HRESULT (STDMETHODCALLTYPE *GetTypeComp)( + ITypeLib *This, + ITypeComp **ppTComp); + + HRESULT (STDMETHODCALLTYPE *GetDocumentation)( + ITypeLib *This, + INT index, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); + + HRESULT (STDMETHODCALLTYPE *IsName)( + ITypeLib *This, + LPOLESTR szNameBuf, + ULONG lHashVal, + BOOL *pfName); + + HRESULT (STDMETHODCALLTYPE *FindName)( + ITypeLib *This, + LPOLESTR szNameBuf, + ULONG lHashVal, + ITypeInfo **ppTInfo, + MEMBERID *rgMemId, + USHORT *pcFound); + + void (STDMETHODCALLTYPE *ReleaseTLibAttr)( + ITypeLib *This, + TLIBATTR *pTLibAttr); + + END_INTERFACE +} ITypeLibVtbl; + +interface ITypeLib { + CONST_VTBL ITypeLibVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeLib_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeLib_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeLib_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeLib methods ***/ +#define ITypeLib_GetTypeInfoCount(This) (This)->lpVtbl->GetTypeInfoCount(This) +#define ITypeLib_GetTypeInfo(This,index,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,index,ppTInfo) +#define ITypeLib_GetTypeInfoType(This,index,pTKind) (This)->lpVtbl->GetTypeInfoType(This,index,pTKind) +#define ITypeLib_GetTypeInfoOfGuid(This,guid,ppTinfo) (This)->lpVtbl->GetTypeInfoOfGuid(This,guid,ppTinfo) +#define ITypeLib_GetLibAttr(This,ppTLibAttr) (This)->lpVtbl->GetLibAttr(This,ppTLibAttr) +#define ITypeLib_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp) +#define ITypeLib_GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) +#define ITypeLib_IsName(This,szNameBuf,lHashVal,pfName) (This)->lpVtbl->IsName(This,szNameBuf,lHashVal,pfName) +#define ITypeLib_FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound) (This)->lpVtbl->FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound) +#define ITypeLib_ReleaseTLibAttr(This,pTLibAttr) (This)->lpVtbl->ReleaseTLibAttr(This,pTLibAttr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeLib_QueryInterface(ITypeLib* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeLib_AddRef(ITypeLib* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeLib_Release(ITypeLib* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeLib methods ***/ +static FORCEINLINE UINT ITypeLib_GetTypeInfoCount(ITypeLib* This) { + return This->lpVtbl->GetTypeInfoCount(This); +} +static FORCEINLINE HRESULT ITypeLib_GetTypeInfo(ITypeLib* This,UINT index,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,index,ppTInfo); +} +static FORCEINLINE HRESULT ITypeLib_GetTypeInfoType(ITypeLib* This,UINT index,TYPEKIND *pTKind) { + return This->lpVtbl->GetTypeInfoType(This,index,pTKind); +} +static FORCEINLINE HRESULT ITypeLib_GetTypeInfoOfGuid(ITypeLib* This,REFGUID guid,ITypeInfo **ppTinfo) { + return This->lpVtbl->GetTypeInfoOfGuid(This,guid,ppTinfo); +} +static FORCEINLINE HRESULT ITypeLib_GetLibAttr(ITypeLib* This,TLIBATTR **ppTLibAttr) { + return This->lpVtbl->GetLibAttr(This,ppTLibAttr); +} +static FORCEINLINE HRESULT ITypeLib_GetTypeComp(ITypeLib* This,ITypeComp **ppTComp) { + return This->lpVtbl->GetTypeComp(This,ppTComp); +} +static FORCEINLINE HRESULT ITypeLib_GetDocumentation(ITypeLib* This,INT index,BSTR *pBstrName,BSTR *pBstrDocString,DWORD *pdwHelpContext,BSTR *pBstrHelpFile) { + return This->lpVtbl->GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile); +} +static FORCEINLINE HRESULT ITypeLib_IsName(ITypeLib* This,LPOLESTR szNameBuf,ULONG lHashVal,BOOL *pfName) { + return This->lpVtbl->IsName(This,szNameBuf,lHashVal,pfName); +} +static FORCEINLINE HRESULT ITypeLib_FindName(ITypeLib* This,LPOLESTR szNameBuf,ULONG lHashVal,ITypeInfo **ppTInfo,MEMBERID *rgMemId,USHORT *pcFound) { + return This->lpVtbl->FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound); +} +static FORCEINLINE void ITypeLib_ReleaseTLibAttr(ITypeLib* This,TLIBATTR *pTLibAttr) { + This->lpVtbl->ReleaseTLibAttr(This,pTLibAttr); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy( + ITypeLib* This, + UINT *pcTInfo); +void __RPC_STUB ITypeLib_RemoteGetTypeInfoCount_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetLibAttr_Proxy( + ITypeLib* This, + LPTLIBATTR *ppTLibAttr, + CLEANLOCALSTORAGE *pDummy); +void __RPC_STUB ITypeLib_RemoteGetLibAttr_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetDocumentation_Proxy( + ITypeLib* This, + INT index, + DWORD refPtrFlags, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); +void __RPC_STUB ITypeLib_RemoteGetDocumentation_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeLib_RemoteIsName_Proxy( + ITypeLib* This, + LPOLESTR szNameBuf, + ULONG lHashVal, + BOOL *pfName, + BSTR *pBstrLibName); +void __RPC_STUB ITypeLib_RemoteIsName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeLib_RemoteFindName_Proxy( + ITypeLib* This, + LPOLESTR szNameBuf, + ULONG lHashVal, + ITypeInfo **ppTInfo, + MEMBERID *rgMemId, + USHORT *pcFound, + BSTR *pBstrLibName); +void __RPC_STUB ITypeLib_RemoteFindName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy( + ITypeLib* This); +void __RPC_STUB ITypeLib_LocalReleaseTLibAttr_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +UINT CALLBACK ITypeLib_GetTypeInfoCount_Proxy( + ITypeLib* This); +HRESULT __RPC_STUB ITypeLib_GetTypeInfoCount_Stub( + ITypeLib* This, + UINT *pcTInfo); +HRESULT CALLBACK ITypeLib_GetLibAttr_Proxy( + ITypeLib* This, + TLIBATTR **ppTLibAttr); +HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub( + ITypeLib* This, + LPTLIBATTR *ppTLibAttr, + CLEANLOCALSTORAGE *pDummy); +HRESULT CALLBACK ITypeLib_GetDocumentation_Proxy( + ITypeLib* This, + INT index, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); +HRESULT __RPC_STUB ITypeLib_GetDocumentation_Stub( + ITypeLib* This, + INT index, + DWORD refPtrFlags, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); +HRESULT CALLBACK ITypeLib_IsName_Proxy( + ITypeLib* This, + LPOLESTR szNameBuf, + ULONG lHashVal, + BOOL *pfName); +HRESULT __RPC_STUB ITypeLib_IsName_Stub( + ITypeLib* This, + LPOLESTR szNameBuf, + ULONG lHashVal, + BOOL *pfName, + BSTR *pBstrLibName); +HRESULT CALLBACK ITypeLib_FindName_Proxy( + ITypeLib* This, + LPOLESTR szNameBuf, + ULONG lHashVal, + ITypeInfo **ppTInfo, + MEMBERID *rgMemId, + USHORT *pcFound); +HRESULT __RPC_STUB ITypeLib_FindName_Stub( + ITypeLib* This, + LPOLESTR szNameBuf, + ULONG lHashVal, + ITypeInfo **ppTInfo, + MEMBERID *rgMemId, + USHORT *pcFound, + BSTR *pBstrLibName); +void CALLBACK ITypeLib_ReleaseTLibAttr_Proxy( + ITypeLib* This, + TLIBATTR *pTLibAttr); +HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub( + ITypeLib* This); + +#endif /* __ITypeLib_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeLib2 interface + */ +#ifndef __ITypeLib2_INTERFACE_DEFINED__ +#define __ITypeLib2_INTERFACE_DEFINED__ + +typedef ITypeLib2 *LPTYPELIB2; +DEFINE_GUID(IID_ITypeLib2, 0x00020411, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020411-0000-0000-c000-000000000046") +ITypeLib2 : public ITypeLib +{ + virtual HRESULT STDMETHODCALLTYPE GetCustData( + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLibStatistics( + ULONG *pcUniqueNames, + ULONG *pcchUniqueNames) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDocumentation2( + INT index, + LCID lcid, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllCustData( + CUSTDATA *pCustData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeLib2, 0x00020411, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeLib2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeLib2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeLib2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeLib2 *This); + + /*** ITypeLib methods ***/ + UINT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITypeLib2 *This); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITypeLib2 *This, + UINT index, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfoType)( + ITypeLib2 *This, + UINT index, + TYPEKIND *pTKind); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfoOfGuid)( + ITypeLib2 *This, + REFGUID guid, + ITypeInfo **ppTinfo); + + HRESULT (STDMETHODCALLTYPE *GetLibAttr)( + ITypeLib2 *This, + TLIBATTR **ppTLibAttr); + + HRESULT (STDMETHODCALLTYPE *GetTypeComp)( + ITypeLib2 *This, + ITypeComp **ppTComp); + + HRESULT (STDMETHODCALLTYPE *GetDocumentation)( + ITypeLib2 *This, + INT index, + BSTR *pBstrName, + BSTR *pBstrDocString, + DWORD *pdwHelpContext, + BSTR *pBstrHelpFile); + + HRESULT (STDMETHODCALLTYPE *IsName)( + ITypeLib2 *This, + LPOLESTR szNameBuf, + ULONG lHashVal, + BOOL *pfName); + + HRESULT (STDMETHODCALLTYPE *FindName)( + ITypeLib2 *This, + LPOLESTR szNameBuf, + ULONG lHashVal, + ITypeInfo **ppTInfo, + MEMBERID *rgMemId, + USHORT *pcFound); + + void (STDMETHODCALLTYPE *ReleaseTLibAttr)( + ITypeLib2 *This, + TLIBATTR *pTLibAttr); + + /*** ITypeLib2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCustData)( + ITypeLib2 *This, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *GetLibStatistics)( + ITypeLib2 *This, + ULONG *pcUniqueNames, + ULONG *pcchUniqueNames); + + HRESULT (STDMETHODCALLTYPE *GetDocumentation2)( + ITypeLib2 *This, + INT index, + LCID lcid, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); + + HRESULT (STDMETHODCALLTYPE *GetAllCustData)( + ITypeLib2 *This, + CUSTDATA *pCustData); + + END_INTERFACE +} ITypeLib2Vtbl; + +interface ITypeLib2 { + CONST_VTBL ITypeLib2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeLib2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeLib2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeLib2_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeLib methods ***/ +#define ITypeLib2_GetTypeInfoCount(This) (This)->lpVtbl->GetTypeInfoCount(This) +#define ITypeLib2_GetTypeInfo(This,index,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,index,ppTInfo) +#define ITypeLib2_GetTypeInfoType(This,index,pTKind) (This)->lpVtbl->GetTypeInfoType(This,index,pTKind) +#define ITypeLib2_GetTypeInfoOfGuid(This,guid,ppTinfo) (This)->lpVtbl->GetTypeInfoOfGuid(This,guid,ppTinfo) +#define ITypeLib2_GetLibAttr(This,ppTLibAttr) (This)->lpVtbl->GetLibAttr(This,ppTLibAttr) +#define ITypeLib2_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp) +#define ITypeLib2_GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) +#define ITypeLib2_IsName(This,szNameBuf,lHashVal,pfName) (This)->lpVtbl->IsName(This,szNameBuf,lHashVal,pfName) +#define ITypeLib2_FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound) (This)->lpVtbl->FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound) +#define ITypeLib2_ReleaseTLibAttr(This,pTLibAttr) (This)->lpVtbl->ReleaseTLibAttr(This,pTLibAttr) +/*** ITypeLib2 methods ***/ +#define ITypeLib2_GetCustData(This,guid,pVarVal) (This)->lpVtbl->GetCustData(This,guid,pVarVal) +#define ITypeLib2_GetLibStatistics(This,pcUniqueNames,pcchUniqueNames) (This)->lpVtbl->GetLibStatistics(This,pcUniqueNames,pcchUniqueNames) +#define ITypeLib2_GetDocumentation2(This,index,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll) (This)->lpVtbl->GetDocumentation2(This,index,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll) +#define ITypeLib2_GetAllCustData(This,pCustData) (This)->lpVtbl->GetAllCustData(This,pCustData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeLib2_QueryInterface(ITypeLib2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeLib2_AddRef(ITypeLib2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeLib2_Release(ITypeLib2* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeLib methods ***/ +static FORCEINLINE UINT ITypeLib2_GetTypeInfoCount(ITypeLib2* This) { + return This->lpVtbl->GetTypeInfoCount(This); +} +static FORCEINLINE HRESULT ITypeLib2_GetTypeInfo(ITypeLib2* This,UINT index,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,index,ppTInfo); +} +static FORCEINLINE HRESULT ITypeLib2_GetTypeInfoType(ITypeLib2* This,UINT index,TYPEKIND *pTKind) { + return This->lpVtbl->GetTypeInfoType(This,index,pTKind); +} +static FORCEINLINE HRESULT ITypeLib2_GetTypeInfoOfGuid(ITypeLib2* This,REFGUID guid,ITypeInfo **ppTinfo) { + return This->lpVtbl->GetTypeInfoOfGuid(This,guid,ppTinfo); +} +static FORCEINLINE HRESULT ITypeLib2_GetLibAttr(ITypeLib2* This,TLIBATTR **ppTLibAttr) { + return This->lpVtbl->GetLibAttr(This,ppTLibAttr); +} +static FORCEINLINE HRESULT ITypeLib2_GetTypeComp(ITypeLib2* This,ITypeComp **ppTComp) { + return This->lpVtbl->GetTypeComp(This,ppTComp); +} +static FORCEINLINE HRESULT ITypeLib2_GetDocumentation(ITypeLib2* This,INT index,BSTR *pBstrName,BSTR *pBstrDocString,DWORD *pdwHelpContext,BSTR *pBstrHelpFile) { + return This->lpVtbl->GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile); +} +static FORCEINLINE HRESULT ITypeLib2_IsName(ITypeLib2* This,LPOLESTR szNameBuf,ULONG lHashVal,BOOL *pfName) { + return This->lpVtbl->IsName(This,szNameBuf,lHashVal,pfName); +} +static FORCEINLINE HRESULT ITypeLib2_FindName(ITypeLib2* This,LPOLESTR szNameBuf,ULONG lHashVal,ITypeInfo **ppTInfo,MEMBERID *rgMemId,USHORT *pcFound) { + return This->lpVtbl->FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound); +} +static FORCEINLINE void ITypeLib2_ReleaseTLibAttr(ITypeLib2* This,TLIBATTR *pTLibAttr) { + This->lpVtbl->ReleaseTLibAttr(This,pTLibAttr); +} +/*** ITypeLib2 methods ***/ +static FORCEINLINE HRESULT ITypeLib2_GetCustData(ITypeLib2* This,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->GetCustData(This,guid,pVarVal); +} +static FORCEINLINE HRESULT ITypeLib2_GetLibStatistics(ITypeLib2* This,ULONG *pcUniqueNames,ULONG *pcchUniqueNames) { + return This->lpVtbl->GetLibStatistics(This,pcUniqueNames,pcchUniqueNames); +} +static FORCEINLINE HRESULT ITypeLib2_GetDocumentation2(ITypeLib2* This,INT index,LCID lcid,BSTR *pbstrHelpString,DWORD *pdwHelpStringContext,BSTR *pbstrHelpStringDll) { + return This->lpVtbl->GetDocumentation2(This,index,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll); +} +static FORCEINLINE HRESULT ITypeLib2_GetAllCustData(ITypeLib2* This,CUSTDATA *pCustData) { + return This->lpVtbl->GetAllCustData(This,pCustData); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetLibStatistics_Proxy( + ITypeLib2* This, + ULONG *pcUniqueNames, + ULONG *pcchUniqueNames); +void __RPC_STUB ITypeLib2_RemoteGetLibStatistics_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetDocumentation2_Proxy( + ITypeLib2* This, + INT index, + LCID lcid, + DWORD refPtrFlags, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); +void __RPC_STUB ITypeLib2_RemoteGetDocumentation2_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ITypeLib2_GetLibStatistics_Proxy( + ITypeLib2* This, + ULONG *pcUniqueNames, + ULONG *pcchUniqueNames); +HRESULT __RPC_STUB ITypeLib2_GetLibStatistics_Stub( + ITypeLib2* This, + ULONG *pcUniqueNames, + ULONG *pcchUniqueNames); +HRESULT CALLBACK ITypeLib2_GetDocumentation2_Proxy( + ITypeLib2* This, + INT index, + LCID lcid, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); +HRESULT __RPC_STUB ITypeLib2_GetDocumentation2_Stub( + ITypeLib2* This, + INT index, + LCID lcid, + DWORD refPtrFlags, + BSTR *pbstrHelpString, + DWORD *pdwHelpStringContext, + BSTR *pbstrHelpStringDll); + +#endif /* __ITypeLib2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeChangeEvents interface + */ +#ifndef __ITypeChangeEvents_INTERFACE_DEFINED__ +#define __ITypeChangeEvents_INTERFACE_DEFINED__ + +typedef ITypeChangeEvents *LPTYPECHANGEEVENTS; +typedef enum tagCHANGEKIND { + CHANGEKIND_ADDMEMBER = 0, + CHANGEKIND_DELETEMEMBER = 1, + CHANGEKIND_SETNAMES = 2, + CHANGEKIND_SETDOCUMENTATION = 3, + CHANGEKIND_GENERAL = 4, + CHANGEKIND_INVALIDATE = 5, + CHANGEKIND_CHANGEFAILED = 6, + CHANGEKIND_MAX = 7 +} CHANGEKIND; +DEFINE_GUID(IID_ITypeChangeEvents, 0x00020410, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020410-0000-0000-c000-000000000046") +ITypeChangeEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RequestTypeChange( + CHANGEKIND changeKind, + ITypeInfo *pTInfoBefore, + LPOLESTR pStrName, + INT *pfCancel) = 0; + + virtual HRESULT STDMETHODCALLTYPE AfterTypeChange( + CHANGEKIND changeKind, + ITypeInfo *pTInfoAfter, + LPOLESTR pStrName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeChangeEvents, 0x00020410, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeChangeEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeChangeEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeChangeEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeChangeEvents *This); + + /*** ITypeChangeEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *RequestTypeChange)( + ITypeChangeEvents *This, + CHANGEKIND changeKind, + ITypeInfo *pTInfoBefore, + LPOLESTR pStrName, + INT *pfCancel); + + HRESULT (STDMETHODCALLTYPE *AfterTypeChange)( + ITypeChangeEvents *This, + CHANGEKIND changeKind, + ITypeInfo *pTInfoAfter, + LPOLESTR pStrName); + + END_INTERFACE +} ITypeChangeEventsVtbl; + +interface ITypeChangeEvents { + CONST_VTBL ITypeChangeEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeChangeEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeChangeEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeChangeEvents_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeChangeEvents methods ***/ +#define ITypeChangeEvents_RequestTypeChange(This,changeKind,pTInfoBefore,pStrName,pfCancel) (This)->lpVtbl->RequestTypeChange(This,changeKind,pTInfoBefore,pStrName,pfCancel) +#define ITypeChangeEvents_AfterTypeChange(This,changeKind,pTInfoAfter,pStrName) (This)->lpVtbl->AfterTypeChange(This,changeKind,pTInfoAfter,pStrName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeChangeEvents_QueryInterface(ITypeChangeEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeChangeEvents_AddRef(ITypeChangeEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeChangeEvents_Release(ITypeChangeEvents* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeChangeEvents methods ***/ +static FORCEINLINE HRESULT ITypeChangeEvents_RequestTypeChange(ITypeChangeEvents* This,CHANGEKIND changeKind,ITypeInfo *pTInfoBefore,LPOLESTR pStrName,INT *pfCancel) { + return This->lpVtbl->RequestTypeChange(This,changeKind,pTInfoBefore,pStrName,pfCancel); +} +static FORCEINLINE HRESULT ITypeChangeEvents_AfterTypeChange(ITypeChangeEvents* This,CHANGEKIND changeKind,ITypeInfo *pTInfoAfter,LPOLESTR pStrName) { + return This->lpVtbl->AfterTypeChange(This,changeKind,pTInfoAfter,pStrName); +} +#endif +#endif + +#endif + + +#endif /* __ITypeChangeEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IErrorInfo interface + */ +#ifndef __IErrorInfo_INTERFACE_DEFINED__ +#define __IErrorInfo_INTERFACE_DEFINED__ + +typedef IErrorInfo *LPERRORINFO; +DEFINE_GUID(IID_IErrorInfo, 0x1cf2b120, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1cf2b120-547d-101b-8e65-08002b2bd119") +IErrorInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetGUID( + GUID *pGUID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSource( + BSTR *pBstrSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *pBstrDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHelpFile( + BSTR *pBstrHelpFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHelpContext( + DWORD *pdwHelpContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IErrorInfo, 0x1cf2b120, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19) +#endif +#else +typedef struct IErrorInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IErrorInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IErrorInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IErrorInfo *This); + + /*** IErrorInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IErrorInfo *This, + GUID *pGUID); + + HRESULT (STDMETHODCALLTYPE *GetSource)( + IErrorInfo *This, + BSTR *pBstrSource); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IErrorInfo *This, + BSTR *pBstrDescription); + + HRESULT (STDMETHODCALLTYPE *GetHelpFile)( + IErrorInfo *This, + BSTR *pBstrHelpFile); + + HRESULT (STDMETHODCALLTYPE *GetHelpContext)( + IErrorInfo *This, + DWORD *pdwHelpContext); + + END_INTERFACE +} IErrorInfoVtbl; + +interface IErrorInfo { + CONST_VTBL IErrorInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IErrorInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IErrorInfo methods ***/ +#define IErrorInfo_GetGUID(This,pGUID) (This)->lpVtbl->GetGUID(This,pGUID) +#define IErrorInfo_GetSource(This,pBstrSource) (This)->lpVtbl->GetSource(This,pBstrSource) +#define IErrorInfo_GetDescription(This,pBstrDescription) (This)->lpVtbl->GetDescription(This,pBstrDescription) +#define IErrorInfo_GetHelpFile(This,pBstrHelpFile) (This)->lpVtbl->GetHelpFile(This,pBstrHelpFile) +#define IErrorInfo_GetHelpContext(This,pdwHelpContext) (This)->lpVtbl->GetHelpContext(This,pdwHelpContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IErrorInfo_QueryInterface(IErrorInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IErrorInfo_AddRef(IErrorInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IErrorInfo_Release(IErrorInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IErrorInfo methods ***/ +static FORCEINLINE HRESULT IErrorInfo_GetGUID(IErrorInfo* This,GUID *pGUID) { + return This->lpVtbl->GetGUID(This,pGUID); +} +static FORCEINLINE HRESULT IErrorInfo_GetSource(IErrorInfo* This,BSTR *pBstrSource) { + return This->lpVtbl->GetSource(This,pBstrSource); +} +static FORCEINLINE HRESULT IErrorInfo_GetDescription(IErrorInfo* This,BSTR *pBstrDescription) { + return This->lpVtbl->GetDescription(This,pBstrDescription); +} +static FORCEINLINE HRESULT IErrorInfo_GetHelpFile(IErrorInfo* This,BSTR *pBstrHelpFile) { + return This->lpVtbl->GetHelpFile(This,pBstrHelpFile); +} +static FORCEINLINE HRESULT IErrorInfo_GetHelpContext(IErrorInfo* This,DWORD *pdwHelpContext) { + return This->lpVtbl->GetHelpContext(This,pdwHelpContext); +} +#endif +#endif + +#endif + + +#endif /* __IErrorInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateErrorInfo interface + */ +#ifndef __ICreateErrorInfo_INTERFACE_DEFINED__ +#define __ICreateErrorInfo_INTERFACE_DEFINED__ + +typedef ICreateErrorInfo *LPCREATEERRORINFO; +DEFINE_GUID(IID_ICreateErrorInfo, 0x22f03340, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("22f03340-547d-101b-8e65-08002b2bd119") +ICreateErrorInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetGUID( + REFGUID rguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSource( + LPOLESTR szSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + LPOLESTR szDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpFile( + LPOLESTR szHelpFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpContext( + DWORD dwHelpContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateErrorInfo, 0x22f03340, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19) +#endif +#else +typedef struct ICreateErrorInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateErrorInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateErrorInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateErrorInfo *This); + + /*** ICreateErrorInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGUID)( + ICreateErrorInfo *This, + REFGUID rguid); + + HRESULT (STDMETHODCALLTYPE *SetSource)( + ICreateErrorInfo *This, + LPOLESTR szSource); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + ICreateErrorInfo *This, + LPOLESTR szDescription); + + HRESULT (STDMETHODCALLTYPE *SetHelpFile)( + ICreateErrorInfo *This, + LPOLESTR szHelpFile); + + HRESULT (STDMETHODCALLTYPE *SetHelpContext)( + ICreateErrorInfo *This, + DWORD dwHelpContext); + + END_INTERFACE +} ICreateErrorInfoVtbl; + +interface ICreateErrorInfo { + CONST_VTBL ICreateErrorInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateErrorInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateErrorInfo methods ***/ +#define ICreateErrorInfo_SetGUID(This,rguid) (This)->lpVtbl->SetGUID(This,rguid) +#define ICreateErrorInfo_SetSource(This,szSource) (This)->lpVtbl->SetSource(This,szSource) +#define ICreateErrorInfo_SetDescription(This,szDescription) (This)->lpVtbl->SetDescription(This,szDescription) +#define ICreateErrorInfo_SetHelpFile(This,szHelpFile) (This)->lpVtbl->SetHelpFile(This,szHelpFile) +#define ICreateErrorInfo_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateErrorInfo_QueryInterface(ICreateErrorInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateErrorInfo_AddRef(ICreateErrorInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateErrorInfo_Release(ICreateErrorInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateErrorInfo methods ***/ +static FORCEINLINE HRESULT ICreateErrorInfo_SetGUID(ICreateErrorInfo* This,REFGUID rguid) { + return This->lpVtbl->SetGUID(This,rguid); +} +static FORCEINLINE HRESULT ICreateErrorInfo_SetSource(ICreateErrorInfo* This,LPOLESTR szSource) { + return This->lpVtbl->SetSource(This,szSource); +} +static FORCEINLINE HRESULT ICreateErrorInfo_SetDescription(ICreateErrorInfo* This,LPOLESTR szDescription) { + return This->lpVtbl->SetDescription(This,szDescription); +} +static FORCEINLINE HRESULT ICreateErrorInfo_SetHelpFile(ICreateErrorInfo* This,LPOLESTR szHelpFile) { + return This->lpVtbl->SetHelpFile(This,szHelpFile); +} +static FORCEINLINE HRESULT ICreateErrorInfo_SetHelpContext(ICreateErrorInfo* This,DWORD dwHelpContext) { + return This->lpVtbl->SetHelpContext(This,dwHelpContext); +} +#endif +#endif + +#endif + + +#endif /* __ICreateErrorInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISupportErrorInfo interface + */ +#ifndef __ISupportErrorInfo_INTERFACE_DEFINED__ +#define __ISupportErrorInfo_INTERFACE_DEFINED__ + +typedef ISupportErrorInfo *LPSUPPORTERRORINFO; +DEFINE_GUID(IID_ISupportErrorInfo, 0xdf0b3d60, 0x548f, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("df0b3d60-548f-101b-8e65-08002b2bd119") +ISupportErrorInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InterfaceSupportsErrorInfo( + REFIID riid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISupportErrorInfo, 0xdf0b3d60, 0x548f, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19) +#endif +#else +typedef struct ISupportErrorInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISupportErrorInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISupportErrorInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISupportErrorInfo *This); + + /*** ISupportErrorInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *InterfaceSupportsErrorInfo)( + ISupportErrorInfo *This, + REFIID riid); + + END_INTERFACE +} ISupportErrorInfoVtbl; + +interface ISupportErrorInfo { + CONST_VTBL ISupportErrorInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISupportErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISupportErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISupportErrorInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ISupportErrorInfo methods ***/ +#define ISupportErrorInfo_InterfaceSupportsErrorInfo(This,riid) (This)->lpVtbl->InterfaceSupportsErrorInfo(This,riid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISupportErrorInfo_QueryInterface(ISupportErrorInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISupportErrorInfo_AddRef(ISupportErrorInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISupportErrorInfo_Release(ISupportErrorInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ISupportErrorInfo methods ***/ +static FORCEINLINE HRESULT ISupportErrorInfo_InterfaceSupportsErrorInfo(ISupportErrorInfo* This,REFIID riid) { + return This->lpVtbl->InterfaceSupportsErrorInfo(This,riid); +} +#endif +#endif + +#endif + + +#endif /* __ISupportErrorInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeFactory interface + */ +#ifndef __ITypeFactory_INTERFACE_DEFINED__ +#define __ITypeFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITypeFactory, 0x0000002e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000002e-0000-0000-c000-000000000046") +ITypeFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateFromTypeInfo( + ITypeInfo *pTypeInfo, + REFIID riid, + IUnknown **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeFactory, 0x0000002e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeFactory *This); + + /*** ITypeFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateFromTypeInfo)( + ITypeFactory *This, + ITypeInfo *pTypeInfo, + REFIID riid, + IUnknown **ppv); + + END_INTERFACE +} ITypeFactoryVtbl; + +interface ITypeFactory { + CONST_VTBL ITypeFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeFactory_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeFactory methods ***/ +#define ITypeFactory_CreateFromTypeInfo(This,pTypeInfo,riid,ppv) (This)->lpVtbl->CreateFromTypeInfo(This,pTypeInfo,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeFactory_QueryInterface(ITypeFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeFactory_AddRef(ITypeFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeFactory_Release(ITypeFactory* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeFactory methods ***/ +static FORCEINLINE HRESULT ITypeFactory_CreateFromTypeInfo(ITypeFactory* This,ITypeInfo *pTypeInfo,REFIID riid,IUnknown **ppv) { + return This->lpVtbl->CreateFromTypeInfo(This,pTypeInfo,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __ITypeFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITypeMarshal interface + */ +#ifndef __ITypeMarshal_INTERFACE_DEFINED__ +#define __ITypeMarshal_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITypeMarshal, 0x0000002d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000002d-0000-0000-c000-000000000046") +ITypeMarshal : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Size( + PVOID pvType, + DWORD dwDestContext, + PVOID pvDestContext, + ULONG *pSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE Marshal( + PVOID pvType, + DWORD dwDestContext, + PVOID pvDestContext, + ULONG cbBufferLength, + BYTE *pBuffer, + ULONG *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unmarshal( + PVOID pvType, + DWORD dwFlags, + ULONG cbBufferLength, + BYTE *pBuffer, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE Free( + PVOID pvType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITypeMarshal, 0x0000002d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ITypeMarshalVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITypeMarshal *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITypeMarshal *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITypeMarshal *This); + + /*** ITypeMarshal methods ***/ + HRESULT (STDMETHODCALLTYPE *Size)( + ITypeMarshal *This, + PVOID pvType, + DWORD dwDestContext, + PVOID pvDestContext, + ULONG *pSize); + + HRESULT (STDMETHODCALLTYPE *Marshal)( + ITypeMarshal *This, + PVOID pvType, + DWORD dwDestContext, + PVOID pvDestContext, + ULONG cbBufferLength, + BYTE *pBuffer, + ULONG *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *Unmarshal)( + ITypeMarshal *This, + PVOID pvType, + DWORD dwFlags, + ULONG cbBufferLength, + BYTE *pBuffer, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Free)( + ITypeMarshal *This, + PVOID pvType); + + END_INTERFACE +} ITypeMarshalVtbl; + +interface ITypeMarshal { + CONST_VTBL ITypeMarshalVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITypeMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITypeMarshal_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITypeMarshal_Release(This) (This)->lpVtbl->Release(This) +/*** ITypeMarshal methods ***/ +#define ITypeMarshal_Size(This,pvType,dwDestContext,pvDestContext,pSize) (This)->lpVtbl->Size(This,pvType,dwDestContext,pvDestContext,pSize) +#define ITypeMarshal_Marshal(This,pvType,dwDestContext,pvDestContext,cbBufferLength,pBuffer,pcbWritten) (This)->lpVtbl->Marshal(This,pvType,dwDestContext,pvDestContext,cbBufferLength,pBuffer,pcbWritten) +#define ITypeMarshal_Unmarshal(This,pvType,dwFlags,cbBufferLength,pBuffer,pcbRead) (This)->lpVtbl->Unmarshal(This,pvType,dwFlags,cbBufferLength,pBuffer,pcbRead) +#define ITypeMarshal_Free(This,pvType) (This)->lpVtbl->Free(This,pvType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITypeMarshal_QueryInterface(ITypeMarshal* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITypeMarshal_AddRef(ITypeMarshal* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITypeMarshal_Release(ITypeMarshal* This) { + return This->lpVtbl->Release(This); +} +/*** ITypeMarshal methods ***/ +static FORCEINLINE HRESULT ITypeMarshal_Size(ITypeMarshal* This,PVOID pvType,DWORD dwDestContext,PVOID pvDestContext,ULONG *pSize) { + return This->lpVtbl->Size(This,pvType,dwDestContext,pvDestContext,pSize); +} +static FORCEINLINE HRESULT ITypeMarshal_Marshal(ITypeMarshal* This,PVOID pvType,DWORD dwDestContext,PVOID pvDestContext,ULONG cbBufferLength,BYTE *pBuffer,ULONG *pcbWritten) { + return This->lpVtbl->Marshal(This,pvType,dwDestContext,pvDestContext,cbBufferLength,pBuffer,pcbWritten); +} +static FORCEINLINE HRESULT ITypeMarshal_Unmarshal(ITypeMarshal* This,PVOID pvType,DWORD dwFlags,ULONG cbBufferLength,BYTE *pBuffer,ULONG *pcbRead) { + return This->lpVtbl->Unmarshal(This,pvType,dwFlags,cbBufferLength,pBuffer,pcbRead); +} +static FORCEINLINE HRESULT ITypeMarshal_Free(ITypeMarshal* This,PVOID pvType) { + return This->lpVtbl->Free(This,pvType); +} +#endif +#endif + +#endif + + +#endif /* __ITypeMarshal_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRecordInfo interface + */ +#ifndef __IRecordInfo_INTERFACE_DEFINED__ +#define __IRecordInfo_INTERFACE_DEFINED__ + +typedef IRecordInfo *LPRECORDINFO; +DEFINE_GUID(IID_IRecordInfo, 0x0000002f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000002f-0000-0000-c000-000000000046") +IRecordInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RecordInit( + PVOID pvNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecordClear( + PVOID pvExisting) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecordCopy( + PVOID pvExisting, + PVOID pvNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGuid( + GUID *pguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + ULONG *pcbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeInfo( + ITypeInfo **ppTypeInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetField( + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFieldNoCopy( + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField, + PVOID *ppvDataCArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutField( + ULONG wFlags, + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutFieldNoCopy( + ULONG wFlags, + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFieldNames( + ULONG *pcNames, + BSTR *rgBstrNames) = 0; + + virtual BOOL STDMETHODCALLTYPE IsMatchingType( + IRecordInfo *pRecordInfo) = 0; + + virtual PVOID STDMETHODCALLTYPE RecordCreate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecordCreateCopy( + PVOID pvSource, + PVOID *ppvDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecordDestroy( + PVOID pvRecord) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRecordInfo, 0x0000002f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRecordInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRecordInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRecordInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRecordInfo *This); + + /*** IRecordInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *RecordInit)( + IRecordInfo *This, + PVOID pvNew); + + HRESULT (STDMETHODCALLTYPE *RecordClear)( + IRecordInfo *This, + PVOID pvExisting); + + HRESULT (STDMETHODCALLTYPE *RecordCopy)( + IRecordInfo *This, + PVOID pvExisting, + PVOID pvNew); + + HRESULT (STDMETHODCALLTYPE *GetGuid)( + IRecordInfo *This, + GUID *pguid); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IRecordInfo *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + IRecordInfo *This, + ULONG *pcbSize); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRecordInfo *This, + ITypeInfo **ppTypeInfo); + + HRESULT (STDMETHODCALLTYPE *GetField)( + IRecordInfo *This, + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField); + + HRESULT (STDMETHODCALLTYPE *GetFieldNoCopy)( + IRecordInfo *This, + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField, + PVOID *ppvDataCArray); + + HRESULT (STDMETHODCALLTYPE *PutField)( + IRecordInfo *This, + ULONG wFlags, + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField); + + HRESULT (STDMETHODCALLTYPE *PutFieldNoCopy)( + IRecordInfo *This, + ULONG wFlags, + PVOID pvData, + LPCOLESTR szFieldName, + VARIANT *pvarField); + + HRESULT (STDMETHODCALLTYPE *GetFieldNames)( + IRecordInfo *This, + ULONG *pcNames, + BSTR *rgBstrNames); + + BOOL (STDMETHODCALLTYPE *IsMatchingType)( + IRecordInfo *This, + IRecordInfo *pRecordInfo); + + PVOID (STDMETHODCALLTYPE *RecordCreate)( + IRecordInfo *This); + + HRESULT (STDMETHODCALLTYPE *RecordCreateCopy)( + IRecordInfo *This, + PVOID pvSource, + PVOID *ppvDest); + + HRESULT (STDMETHODCALLTYPE *RecordDestroy)( + IRecordInfo *This, + PVOID pvRecord); + + END_INTERFACE +} IRecordInfoVtbl; + +interface IRecordInfo { + CONST_VTBL IRecordInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRecordInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRecordInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRecordInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IRecordInfo methods ***/ +#define IRecordInfo_RecordInit(This,pvNew) (This)->lpVtbl->RecordInit(This,pvNew) +#define IRecordInfo_RecordClear(This,pvExisting) (This)->lpVtbl->RecordClear(This,pvExisting) +#define IRecordInfo_RecordCopy(This,pvExisting,pvNew) (This)->lpVtbl->RecordCopy(This,pvExisting,pvNew) +#define IRecordInfo_GetGuid(This,pguid) (This)->lpVtbl->GetGuid(This,pguid) +#define IRecordInfo_GetName(This,pbstrName) (This)->lpVtbl->GetName(This,pbstrName) +#define IRecordInfo_GetSize(This,pcbSize) (This)->lpVtbl->GetSize(This,pcbSize) +#define IRecordInfo_GetTypeInfo(This,ppTypeInfo) (This)->lpVtbl->GetTypeInfo(This,ppTypeInfo) +#define IRecordInfo_GetField(This,pvData,szFieldName,pvarField) (This)->lpVtbl->GetField(This,pvData,szFieldName,pvarField) +#define IRecordInfo_GetFieldNoCopy(This,pvData,szFieldName,pvarField,ppvDataCArray) (This)->lpVtbl->GetFieldNoCopy(This,pvData,szFieldName,pvarField,ppvDataCArray) +#define IRecordInfo_PutField(This,wFlags,pvData,szFieldName,pvarField) (This)->lpVtbl->PutField(This,wFlags,pvData,szFieldName,pvarField) +#define IRecordInfo_PutFieldNoCopy(This,wFlags,pvData,szFieldName,pvarField) (This)->lpVtbl->PutFieldNoCopy(This,wFlags,pvData,szFieldName,pvarField) +#define IRecordInfo_GetFieldNames(This,pcNames,rgBstrNames) (This)->lpVtbl->GetFieldNames(This,pcNames,rgBstrNames) +#define IRecordInfo_IsMatchingType(This,pRecordInfo) (This)->lpVtbl->IsMatchingType(This,pRecordInfo) +#define IRecordInfo_RecordCreate(This) (This)->lpVtbl->RecordCreate(This) +#define IRecordInfo_RecordCreateCopy(This,pvSource,ppvDest) (This)->lpVtbl->RecordCreateCopy(This,pvSource,ppvDest) +#define IRecordInfo_RecordDestroy(This,pvRecord) (This)->lpVtbl->RecordDestroy(This,pvRecord) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRecordInfo_QueryInterface(IRecordInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRecordInfo_AddRef(IRecordInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRecordInfo_Release(IRecordInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IRecordInfo methods ***/ +static FORCEINLINE HRESULT IRecordInfo_RecordInit(IRecordInfo* This,PVOID pvNew) { + return This->lpVtbl->RecordInit(This,pvNew); +} +static FORCEINLINE HRESULT IRecordInfo_RecordClear(IRecordInfo* This,PVOID pvExisting) { + return This->lpVtbl->RecordClear(This,pvExisting); +} +static FORCEINLINE HRESULT IRecordInfo_RecordCopy(IRecordInfo* This,PVOID pvExisting,PVOID pvNew) { + return This->lpVtbl->RecordCopy(This,pvExisting,pvNew); +} +static FORCEINLINE HRESULT IRecordInfo_GetGuid(IRecordInfo* This,GUID *pguid) { + return This->lpVtbl->GetGuid(This,pguid); +} +static FORCEINLINE HRESULT IRecordInfo_GetName(IRecordInfo* This,BSTR *pbstrName) { + return This->lpVtbl->GetName(This,pbstrName); +} +static FORCEINLINE HRESULT IRecordInfo_GetSize(IRecordInfo* This,ULONG *pcbSize) { + return This->lpVtbl->GetSize(This,pcbSize); +} +static FORCEINLINE HRESULT IRecordInfo_GetTypeInfo(IRecordInfo* This,ITypeInfo **ppTypeInfo) { + return This->lpVtbl->GetTypeInfo(This,ppTypeInfo); +} +static FORCEINLINE HRESULT IRecordInfo_GetField(IRecordInfo* This,PVOID pvData,LPCOLESTR szFieldName,VARIANT *pvarField) { + return This->lpVtbl->GetField(This,pvData,szFieldName,pvarField); +} +static FORCEINLINE HRESULT IRecordInfo_GetFieldNoCopy(IRecordInfo* This,PVOID pvData,LPCOLESTR szFieldName,VARIANT *pvarField,PVOID *ppvDataCArray) { + return This->lpVtbl->GetFieldNoCopy(This,pvData,szFieldName,pvarField,ppvDataCArray); +} +static FORCEINLINE HRESULT IRecordInfo_PutField(IRecordInfo* This,ULONG wFlags,PVOID pvData,LPCOLESTR szFieldName,VARIANT *pvarField) { + return This->lpVtbl->PutField(This,wFlags,pvData,szFieldName,pvarField); +} +static FORCEINLINE HRESULT IRecordInfo_PutFieldNoCopy(IRecordInfo* This,ULONG wFlags,PVOID pvData,LPCOLESTR szFieldName,VARIANT *pvarField) { + return This->lpVtbl->PutFieldNoCopy(This,wFlags,pvData,szFieldName,pvarField); +} +static FORCEINLINE HRESULT IRecordInfo_GetFieldNames(IRecordInfo* This,ULONG *pcNames,BSTR *rgBstrNames) { + return This->lpVtbl->GetFieldNames(This,pcNames,rgBstrNames); +} +static FORCEINLINE BOOL IRecordInfo_IsMatchingType(IRecordInfo* This,IRecordInfo *pRecordInfo) { + return This->lpVtbl->IsMatchingType(This,pRecordInfo); +} +static FORCEINLINE PVOID IRecordInfo_RecordCreate(IRecordInfo* This) { + return This->lpVtbl->RecordCreate(This); +} +static FORCEINLINE HRESULT IRecordInfo_RecordCreateCopy(IRecordInfo* This,PVOID pvSource,PVOID *ppvDest) { + return This->lpVtbl->RecordCreateCopy(This,pvSource,ppvDest); +} +static FORCEINLINE HRESULT IRecordInfo_RecordDestroy(IRecordInfo* This,PVOID pvRecord) { + return This->lpVtbl->RecordDestroy(This,pvRecord); +} +#endif +#endif + +#endif + + +#endif /* __IRecordInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateTypeInfo interface + */ +#ifndef __ICreateTypeInfo_INTERFACE_DEFINED__ +#define __ICreateTypeInfo_INTERFACE_DEFINED__ + +typedef ICreateTypeInfo *LPCREATETYPEINFO; +DEFINE_GUID(IID_ICreateTypeInfo, 0x00020405, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020405-0000-0000-c000-000000000046") +ICreateTypeInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetGuid( + REFGUID guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTypeFlags( + UINT uTypeFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDocString( + LPOLESTR pStrDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpContext( + DWORD dwHelpContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVersion( + WORD wMajorVerNum, + WORD wMinorVerNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRefTypeInfo( + ITypeInfo *pTInfo, + HREFTYPE *phRefType) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFuncDesc( + UINT index, + FUNCDESC *pFuncDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddImplType( + UINT index, + HREFTYPE hRefType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetImplTypeFlags( + UINT index, + INT implTypeFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAlignment( + WORD cbAlignment) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSchema( + LPOLESTR pStrSchema) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddVarDesc( + UINT index, + VARDESC *pVarDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFuncAndParamNames( + UINT index, + LPOLESTR *rgszNames, + UINT cNames) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVarName( + UINT index, + LPOLESTR szName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTypeDescAlias( + TYPEDESC *pTDescAlias) = 0; + + virtual HRESULT STDMETHODCALLTYPE DefineFuncAsDllEntry( + UINT index, + LPOLESTR szDllName, + LPOLESTR szProcName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFuncDocString( + UINT index, + LPOLESTR szDocString) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVarDocString( + UINT index, + LPOLESTR szDocString) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFuncHelpContext( + UINT index, + DWORD dwHelpContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVarHelpContext( + UINT index, + DWORD dwHelpContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMops( + UINT index, + BSTR bstrMops) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTypeIdldesc( + IDLDESC *pIdlDesc) = 0; + + virtual HRESULT STDMETHODCALLTYPE LayOut( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateTypeInfo, 0x00020405, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICreateTypeInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateTypeInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateTypeInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateTypeInfo *This); + + /*** ICreateTypeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGuid)( + ICreateTypeInfo *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *SetTypeFlags)( + ICreateTypeInfo *This, + UINT uTypeFlags); + + HRESULT (STDMETHODCALLTYPE *SetDocString)( + ICreateTypeInfo *This, + LPOLESTR pStrDoc); + + HRESULT (STDMETHODCALLTYPE *SetHelpContext)( + ICreateTypeInfo *This, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetVersion)( + ICreateTypeInfo *This, + WORD wMajorVerNum, + WORD wMinorVerNum); + + HRESULT (STDMETHODCALLTYPE *AddRefTypeInfo)( + ICreateTypeInfo *This, + ITypeInfo *pTInfo, + HREFTYPE *phRefType); + + HRESULT (STDMETHODCALLTYPE *AddFuncDesc)( + ICreateTypeInfo *This, + UINT index, + FUNCDESC *pFuncDesc); + + HRESULT (STDMETHODCALLTYPE *AddImplType)( + ICreateTypeInfo *This, + UINT index, + HREFTYPE hRefType); + + HRESULT (STDMETHODCALLTYPE *SetImplTypeFlags)( + ICreateTypeInfo *This, + UINT index, + INT implTypeFlags); + + HRESULT (STDMETHODCALLTYPE *SetAlignment)( + ICreateTypeInfo *This, + WORD cbAlignment); + + HRESULT (STDMETHODCALLTYPE *SetSchema)( + ICreateTypeInfo *This, + LPOLESTR pStrSchema); + + HRESULT (STDMETHODCALLTYPE *AddVarDesc)( + ICreateTypeInfo *This, + UINT index, + VARDESC *pVarDesc); + + HRESULT (STDMETHODCALLTYPE *SetFuncAndParamNames)( + ICreateTypeInfo *This, + UINT index, + LPOLESTR *rgszNames, + UINT cNames); + + HRESULT (STDMETHODCALLTYPE *SetVarName)( + ICreateTypeInfo *This, + UINT index, + LPOLESTR szName); + + HRESULT (STDMETHODCALLTYPE *SetTypeDescAlias)( + ICreateTypeInfo *This, + TYPEDESC *pTDescAlias); + + HRESULT (STDMETHODCALLTYPE *DefineFuncAsDllEntry)( + ICreateTypeInfo *This, + UINT index, + LPOLESTR szDllName, + LPOLESTR szProcName); + + HRESULT (STDMETHODCALLTYPE *SetFuncDocString)( + ICreateTypeInfo *This, + UINT index, + LPOLESTR szDocString); + + HRESULT (STDMETHODCALLTYPE *SetVarDocString)( + ICreateTypeInfo *This, + UINT index, + LPOLESTR szDocString); + + HRESULT (STDMETHODCALLTYPE *SetFuncHelpContext)( + ICreateTypeInfo *This, + UINT index, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetVarHelpContext)( + ICreateTypeInfo *This, + UINT index, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetMops)( + ICreateTypeInfo *This, + UINT index, + BSTR bstrMops); + + HRESULT (STDMETHODCALLTYPE *SetTypeIdldesc)( + ICreateTypeInfo *This, + IDLDESC *pIdlDesc); + + HRESULT (STDMETHODCALLTYPE *LayOut)( + ICreateTypeInfo *This); + + END_INTERFACE +} ICreateTypeInfoVtbl; + +interface ICreateTypeInfo { + CONST_VTBL ICreateTypeInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateTypeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateTypeInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateTypeInfo_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateTypeInfo methods ***/ +#define ICreateTypeInfo_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid) +#define ICreateTypeInfo_SetTypeFlags(This,uTypeFlags) (This)->lpVtbl->SetTypeFlags(This,uTypeFlags) +#define ICreateTypeInfo_SetDocString(This,pStrDoc) (This)->lpVtbl->SetDocString(This,pStrDoc) +#define ICreateTypeInfo_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext) +#define ICreateTypeInfo_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum) +#define ICreateTypeInfo_AddRefTypeInfo(This,pTInfo,phRefType) (This)->lpVtbl->AddRefTypeInfo(This,pTInfo,phRefType) +#define ICreateTypeInfo_AddFuncDesc(This,index,pFuncDesc) (This)->lpVtbl->AddFuncDesc(This,index,pFuncDesc) +#define ICreateTypeInfo_AddImplType(This,index,hRefType) (This)->lpVtbl->AddImplType(This,index,hRefType) +#define ICreateTypeInfo_SetImplTypeFlags(This,index,implTypeFlags) (This)->lpVtbl->SetImplTypeFlags(This,index,implTypeFlags) +#define ICreateTypeInfo_SetAlignment(This,cbAlignment) (This)->lpVtbl->SetAlignment(This,cbAlignment) +#define ICreateTypeInfo_SetSchema(This,pStrSchema) (This)->lpVtbl->SetSchema(This,pStrSchema) +#define ICreateTypeInfo_AddVarDesc(This,index,pVarDesc) (This)->lpVtbl->AddVarDesc(This,index,pVarDesc) +#define ICreateTypeInfo_SetFuncAndParamNames(This,index,rgszNames,cNames) (This)->lpVtbl->SetFuncAndParamNames(This,index,rgszNames,cNames) +#define ICreateTypeInfo_SetVarName(This,index,szName) (This)->lpVtbl->SetVarName(This,index,szName) +#define ICreateTypeInfo_SetTypeDescAlias(This,pTDescAlias) (This)->lpVtbl->SetTypeDescAlias(This,pTDescAlias) +#define ICreateTypeInfo_DefineFuncAsDllEntry(This,index,szDllName,szProcName) (This)->lpVtbl->DefineFuncAsDllEntry(This,index,szDllName,szProcName) +#define ICreateTypeInfo_SetFuncDocString(This,index,szDocString) (This)->lpVtbl->SetFuncDocString(This,index,szDocString) +#define ICreateTypeInfo_SetVarDocString(This,index,szDocString) (This)->lpVtbl->SetVarDocString(This,index,szDocString) +#define ICreateTypeInfo_SetFuncHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetFuncHelpContext(This,index,dwHelpContext) +#define ICreateTypeInfo_SetVarHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetVarHelpContext(This,index,dwHelpContext) +#define ICreateTypeInfo_SetMops(This,index,bstrMops) (This)->lpVtbl->SetMops(This,index,bstrMops) +#define ICreateTypeInfo_SetTypeIdldesc(This,pIdlDesc) (This)->lpVtbl->SetTypeIdldesc(This,pIdlDesc) +#define ICreateTypeInfo_LayOut(This) (This)->lpVtbl->LayOut(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateTypeInfo_QueryInterface(ICreateTypeInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateTypeInfo_AddRef(ICreateTypeInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateTypeInfo_Release(ICreateTypeInfo* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateTypeInfo methods ***/ +static FORCEINLINE HRESULT ICreateTypeInfo_SetGuid(ICreateTypeInfo* This,REFGUID guid) { + return This->lpVtbl->SetGuid(This,guid); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetTypeFlags(ICreateTypeInfo* This,UINT uTypeFlags) { + return This->lpVtbl->SetTypeFlags(This,uTypeFlags); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetDocString(ICreateTypeInfo* This,LPOLESTR pStrDoc) { + return This->lpVtbl->SetDocString(This,pStrDoc); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetHelpContext(ICreateTypeInfo* This,DWORD dwHelpContext) { + return This->lpVtbl->SetHelpContext(This,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetVersion(ICreateTypeInfo* This,WORD wMajorVerNum,WORD wMinorVerNum) { + return This->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum); +} +static FORCEINLINE HRESULT ICreateTypeInfo_AddRefTypeInfo(ICreateTypeInfo* This,ITypeInfo *pTInfo,HREFTYPE *phRefType) { + return This->lpVtbl->AddRefTypeInfo(This,pTInfo,phRefType); +} +static FORCEINLINE HRESULT ICreateTypeInfo_AddFuncDesc(ICreateTypeInfo* This,UINT index,FUNCDESC *pFuncDesc) { + return This->lpVtbl->AddFuncDesc(This,index,pFuncDesc); +} +static FORCEINLINE HRESULT ICreateTypeInfo_AddImplType(ICreateTypeInfo* This,UINT index,HREFTYPE hRefType) { + return This->lpVtbl->AddImplType(This,index,hRefType); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetImplTypeFlags(ICreateTypeInfo* This,UINT index,INT implTypeFlags) { + return This->lpVtbl->SetImplTypeFlags(This,index,implTypeFlags); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetAlignment(ICreateTypeInfo* This,WORD cbAlignment) { + return This->lpVtbl->SetAlignment(This,cbAlignment); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetSchema(ICreateTypeInfo* This,LPOLESTR pStrSchema) { + return This->lpVtbl->SetSchema(This,pStrSchema); +} +static FORCEINLINE HRESULT ICreateTypeInfo_AddVarDesc(ICreateTypeInfo* This,UINT index,VARDESC *pVarDesc) { + return This->lpVtbl->AddVarDesc(This,index,pVarDesc); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetFuncAndParamNames(ICreateTypeInfo* This,UINT index,LPOLESTR *rgszNames,UINT cNames) { + return This->lpVtbl->SetFuncAndParamNames(This,index,rgszNames,cNames); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetVarName(ICreateTypeInfo* This,UINT index,LPOLESTR szName) { + return This->lpVtbl->SetVarName(This,index,szName); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetTypeDescAlias(ICreateTypeInfo* This,TYPEDESC *pTDescAlias) { + return This->lpVtbl->SetTypeDescAlias(This,pTDescAlias); +} +static FORCEINLINE HRESULT ICreateTypeInfo_DefineFuncAsDllEntry(ICreateTypeInfo* This,UINT index,LPOLESTR szDllName,LPOLESTR szProcName) { + return This->lpVtbl->DefineFuncAsDllEntry(This,index,szDllName,szProcName); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetFuncDocString(ICreateTypeInfo* This,UINT index,LPOLESTR szDocString) { + return This->lpVtbl->SetFuncDocString(This,index,szDocString); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetVarDocString(ICreateTypeInfo* This,UINT index,LPOLESTR szDocString) { + return This->lpVtbl->SetVarDocString(This,index,szDocString); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetFuncHelpContext(ICreateTypeInfo* This,UINT index,DWORD dwHelpContext) { + return This->lpVtbl->SetFuncHelpContext(This,index,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetVarHelpContext(ICreateTypeInfo* This,UINT index,DWORD dwHelpContext) { + return This->lpVtbl->SetVarHelpContext(This,index,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetMops(ICreateTypeInfo* This,UINT index,BSTR bstrMops) { + return This->lpVtbl->SetMops(This,index,bstrMops); +} +static FORCEINLINE HRESULT ICreateTypeInfo_SetTypeIdldesc(ICreateTypeInfo* This,IDLDESC *pIdlDesc) { + return This->lpVtbl->SetTypeIdldesc(This,pIdlDesc); +} +static FORCEINLINE HRESULT ICreateTypeInfo_LayOut(ICreateTypeInfo* This) { + return This->lpVtbl->LayOut(This); +} +#endif +#endif + +#endif + + +#endif /* __ICreateTypeInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateTypeInfo2 interface + */ +#ifndef __ICreateTypeInfo2_INTERFACE_DEFINED__ +#define __ICreateTypeInfo2_INTERFACE_DEFINED__ + +typedef ICreateTypeInfo2 *LPCREATETYPEINFO2; +DEFINE_GUID(IID_ICreateTypeInfo2, 0x0002040e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002040e-0000-0000-c000-000000000046") +ICreateTypeInfo2 : public ICreateTypeInfo +{ + virtual HRESULT STDMETHODCALLTYPE DeleteFuncDesc( + UINT index) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteFuncDescByMemId( + MEMBERID memid, + INVOKEKIND invKind) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteVarDesc( + UINT index) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteVarDescByMemId( + MEMBERID memid) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteImplType( + UINT index) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCustData( + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFuncCustData( + UINT index, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetParamCustData( + UINT indexFunc, + UINT indexParam, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVarCustData( + UINT index, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetImplTypeCustData( + UINT index, + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpStringContext( + ULONG dwHelpStringContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFuncHelpStringContext( + UINT index, + ULONG dwHelpStringContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVarHelpStringContext( + UINT index, + ULONG dwHelpStringContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invalidate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetName( + LPOLESTR szName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateTypeInfo2, 0x0002040e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICreateTypeInfo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateTypeInfo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateTypeInfo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateTypeInfo2 *This); + + /*** ICreateTypeInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGuid)( + ICreateTypeInfo2 *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *SetTypeFlags)( + ICreateTypeInfo2 *This, + UINT uTypeFlags); + + HRESULT (STDMETHODCALLTYPE *SetDocString)( + ICreateTypeInfo2 *This, + LPOLESTR pStrDoc); + + HRESULT (STDMETHODCALLTYPE *SetHelpContext)( + ICreateTypeInfo2 *This, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetVersion)( + ICreateTypeInfo2 *This, + WORD wMajorVerNum, + WORD wMinorVerNum); + + HRESULT (STDMETHODCALLTYPE *AddRefTypeInfo)( + ICreateTypeInfo2 *This, + ITypeInfo *pTInfo, + HREFTYPE *phRefType); + + HRESULT (STDMETHODCALLTYPE *AddFuncDesc)( + ICreateTypeInfo2 *This, + UINT index, + FUNCDESC *pFuncDesc); + + HRESULT (STDMETHODCALLTYPE *AddImplType)( + ICreateTypeInfo2 *This, + UINT index, + HREFTYPE hRefType); + + HRESULT (STDMETHODCALLTYPE *SetImplTypeFlags)( + ICreateTypeInfo2 *This, + UINT index, + INT implTypeFlags); + + HRESULT (STDMETHODCALLTYPE *SetAlignment)( + ICreateTypeInfo2 *This, + WORD cbAlignment); + + HRESULT (STDMETHODCALLTYPE *SetSchema)( + ICreateTypeInfo2 *This, + LPOLESTR pStrSchema); + + HRESULT (STDMETHODCALLTYPE *AddVarDesc)( + ICreateTypeInfo2 *This, + UINT index, + VARDESC *pVarDesc); + + HRESULT (STDMETHODCALLTYPE *SetFuncAndParamNames)( + ICreateTypeInfo2 *This, + UINT index, + LPOLESTR *rgszNames, + UINT cNames); + + HRESULT (STDMETHODCALLTYPE *SetVarName)( + ICreateTypeInfo2 *This, + UINT index, + LPOLESTR szName); + + HRESULT (STDMETHODCALLTYPE *SetTypeDescAlias)( + ICreateTypeInfo2 *This, + TYPEDESC *pTDescAlias); + + HRESULT (STDMETHODCALLTYPE *DefineFuncAsDllEntry)( + ICreateTypeInfo2 *This, + UINT index, + LPOLESTR szDllName, + LPOLESTR szProcName); + + HRESULT (STDMETHODCALLTYPE *SetFuncDocString)( + ICreateTypeInfo2 *This, + UINT index, + LPOLESTR szDocString); + + HRESULT (STDMETHODCALLTYPE *SetVarDocString)( + ICreateTypeInfo2 *This, + UINT index, + LPOLESTR szDocString); + + HRESULT (STDMETHODCALLTYPE *SetFuncHelpContext)( + ICreateTypeInfo2 *This, + UINT index, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetVarHelpContext)( + ICreateTypeInfo2 *This, + UINT index, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetMops)( + ICreateTypeInfo2 *This, + UINT index, + BSTR bstrMops); + + HRESULT (STDMETHODCALLTYPE *SetTypeIdldesc)( + ICreateTypeInfo2 *This, + IDLDESC *pIdlDesc); + + HRESULT (STDMETHODCALLTYPE *LayOut)( + ICreateTypeInfo2 *This); + + /*** ICreateTypeInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *DeleteFuncDesc)( + ICreateTypeInfo2 *This, + UINT index); + + HRESULT (STDMETHODCALLTYPE *DeleteFuncDescByMemId)( + ICreateTypeInfo2 *This, + MEMBERID memid, + INVOKEKIND invKind); + + HRESULT (STDMETHODCALLTYPE *DeleteVarDesc)( + ICreateTypeInfo2 *This, + UINT index); + + HRESULT (STDMETHODCALLTYPE *DeleteVarDescByMemId)( + ICreateTypeInfo2 *This, + MEMBERID memid); + + HRESULT (STDMETHODCALLTYPE *DeleteImplType)( + ICreateTypeInfo2 *This, + UINT index); + + HRESULT (STDMETHODCALLTYPE *SetCustData)( + ICreateTypeInfo2 *This, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *SetFuncCustData)( + ICreateTypeInfo2 *This, + UINT index, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *SetParamCustData)( + ICreateTypeInfo2 *This, + UINT indexFunc, + UINT indexParam, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *SetVarCustData)( + ICreateTypeInfo2 *This, + UINT index, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *SetImplTypeCustData)( + ICreateTypeInfo2 *This, + UINT index, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *SetHelpStringContext)( + ICreateTypeInfo2 *This, + ULONG dwHelpStringContext); + + HRESULT (STDMETHODCALLTYPE *SetFuncHelpStringContext)( + ICreateTypeInfo2 *This, + UINT index, + ULONG dwHelpStringContext); + + HRESULT (STDMETHODCALLTYPE *SetVarHelpStringContext)( + ICreateTypeInfo2 *This, + UINT index, + ULONG dwHelpStringContext); + + HRESULT (STDMETHODCALLTYPE *Invalidate)( + ICreateTypeInfo2 *This); + + HRESULT (STDMETHODCALLTYPE *SetName)( + ICreateTypeInfo2 *This, + LPOLESTR szName); + + END_INTERFACE +} ICreateTypeInfo2Vtbl; + +interface ICreateTypeInfo2 { + CONST_VTBL ICreateTypeInfo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateTypeInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateTypeInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateTypeInfo2_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateTypeInfo methods ***/ +#define ICreateTypeInfo2_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid) +#define ICreateTypeInfo2_SetTypeFlags(This,uTypeFlags) (This)->lpVtbl->SetTypeFlags(This,uTypeFlags) +#define ICreateTypeInfo2_SetDocString(This,pStrDoc) (This)->lpVtbl->SetDocString(This,pStrDoc) +#define ICreateTypeInfo2_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext) +#define ICreateTypeInfo2_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum) +#define ICreateTypeInfo2_AddRefTypeInfo(This,pTInfo,phRefType) (This)->lpVtbl->AddRefTypeInfo(This,pTInfo,phRefType) +#define ICreateTypeInfo2_AddFuncDesc(This,index,pFuncDesc) (This)->lpVtbl->AddFuncDesc(This,index,pFuncDesc) +#define ICreateTypeInfo2_AddImplType(This,index,hRefType) (This)->lpVtbl->AddImplType(This,index,hRefType) +#define ICreateTypeInfo2_SetImplTypeFlags(This,index,implTypeFlags) (This)->lpVtbl->SetImplTypeFlags(This,index,implTypeFlags) +#define ICreateTypeInfo2_SetAlignment(This,cbAlignment) (This)->lpVtbl->SetAlignment(This,cbAlignment) +#define ICreateTypeInfo2_SetSchema(This,pStrSchema) (This)->lpVtbl->SetSchema(This,pStrSchema) +#define ICreateTypeInfo2_AddVarDesc(This,index,pVarDesc) (This)->lpVtbl->AddVarDesc(This,index,pVarDesc) +#define ICreateTypeInfo2_SetFuncAndParamNames(This,index,rgszNames,cNames) (This)->lpVtbl->SetFuncAndParamNames(This,index,rgszNames,cNames) +#define ICreateTypeInfo2_SetVarName(This,index,szName) (This)->lpVtbl->SetVarName(This,index,szName) +#define ICreateTypeInfo2_SetTypeDescAlias(This,pTDescAlias) (This)->lpVtbl->SetTypeDescAlias(This,pTDescAlias) +#define ICreateTypeInfo2_DefineFuncAsDllEntry(This,index,szDllName,szProcName) (This)->lpVtbl->DefineFuncAsDllEntry(This,index,szDllName,szProcName) +#define ICreateTypeInfo2_SetFuncDocString(This,index,szDocString) (This)->lpVtbl->SetFuncDocString(This,index,szDocString) +#define ICreateTypeInfo2_SetVarDocString(This,index,szDocString) (This)->lpVtbl->SetVarDocString(This,index,szDocString) +#define ICreateTypeInfo2_SetFuncHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetFuncHelpContext(This,index,dwHelpContext) +#define ICreateTypeInfo2_SetVarHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetVarHelpContext(This,index,dwHelpContext) +#define ICreateTypeInfo2_SetMops(This,index,bstrMops) (This)->lpVtbl->SetMops(This,index,bstrMops) +#define ICreateTypeInfo2_SetTypeIdldesc(This,pIdlDesc) (This)->lpVtbl->SetTypeIdldesc(This,pIdlDesc) +#define ICreateTypeInfo2_LayOut(This) (This)->lpVtbl->LayOut(This) +/*** ICreateTypeInfo2 methods ***/ +#define ICreateTypeInfo2_DeleteFuncDesc(This,index) (This)->lpVtbl->DeleteFuncDesc(This,index) +#define ICreateTypeInfo2_DeleteFuncDescByMemId(This,memid,invKind) (This)->lpVtbl->DeleteFuncDescByMemId(This,memid,invKind) +#define ICreateTypeInfo2_DeleteVarDesc(This,index) (This)->lpVtbl->DeleteVarDesc(This,index) +#define ICreateTypeInfo2_DeleteVarDescByMemId(This,memid) (This)->lpVtbl->DeleteVarDescByMemId(This,memid) +#define ICreateTypeInfo2_DeleteImplType(This,index) (This)->lpVtbl->DeleteImplType(This,index) +#define ICreateTypeInfo2_SetCustData(This,guid,pVarVal) (This)->lpVtbl->SetCustData(This,guid,pVarVal) +#define ICreateTypeInfo2_SetFuncCustData(This,index,guid,pVarVal) (This)->lpVtbl->SetFuncCustData(This,index,guid,pVarVal) +#define ICreateTypeInfo2_SetParamCustData(This,indexFunc,indexParam,guid,pVarVal) (This)->lpVtbl->SetParamCustData(This,indexFunc,indexParam,guid,pVarVal) +#define ICreateTypeInfo2_SetVarCustData(This,index,guid,pVarVal) (This)->lpVtbl->SetVarCustData(This,index,guid,pVarVal) +#define ICreateTypeInfo2_SetImplTypeCustData(This,index,guid,pVarVal) (This)->lpVtbl->SetImplTypeCustData(This,index,guid,pVarVal) +#define ICreateTypeInfo2_SetHelpStringContext(This,dwHelpStringContext) (This)->lpVtbl->SetHelpStringContext(This,dwHelpStringContext) +#define ICreateTypeInfo2_SetFuncHelpStringContext(This,index,dwHelpStringContext) (This)->lpVtbl->SetFuncHelpStringContext(This,index,dwHelpStringContext) +#define ICreateTypeInfo2_SetVarHelpStringContext(This,index,dwHelpStringContext) (This)->lpVtbl->SetVarHelpStringContext(This,index,dwHelpStringContext) +#define ICreateTypeInfo2_Invalidate(This) (This)->lpVtbl->Invalidate(This) +#define ICreateTypeInfo2_SetName(This,szName) (This)->lpVtbl->SetName(This,szName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateTypeInfo2_QueryInterface(ICreateTypeInfo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateTypeInfo2_AddRef(ICreateTypeInfo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateTypeInfo2_Release(ICreateTypeInfo2* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateTypeInfo methods ***/ +static FORCEINLINE HRESULT ICreateTypeInfo2_SetGuid(ICreateTypeInfo2* This,REFGUID guid) { + return This->lpVtbl->SetGuid(This,guid); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetTypeFlags(ICreateTypeInfo2* This,UINT uTypeFlags) { + return This->lpVtbl->SetTypeFlags(This,uTypeFlags); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetDocString(ICreateTypeInfo2* This,LPOLESTR pStrDoc) { + return This->lpVtbl->SetDocString(This,pStrDoc); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetHelpContext(ICreateTypeInfo2* This,DWORD dwHelpContext) { + return This->lpVtbl->SetHelpContext(This,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetVersion(ICreateTypeInfo2* This,WORD wMajorVerNum,WORD wMinorVerNum) { + return This->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_AddRefTypeInfo(ICreateTypeInfo2* This,ITypeInfo *pTInfo,HREFTYPE *phRefType) { + return This->lpVtbl->AddRefTypeInfo(This,pTInfo,phRefType); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_AddFuncDesc(ICreateTypeInfo2* This,UINT index,FUNCDESC *pFuncDesc) { + return This->lpVtbl->AddFuncDesc(This,index,pFuncDesc); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_AddImplType(ICreateTypeInfo2* This,UINT index,HREFTYPE hRefType) { + return This->lpVtbl->AddImplType(This,index,hRefType); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetImplTypeFlags(ICreateTypeInfo2* This,UINT index,INT implTypeFlags) { + return This->lpVtbl->SetImplTypeFlags(This,index,implTypeFlags); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetAlignment(ICreateTypeInfo2* This,WORD cbAlignment) { + return This->lpVtbl->SetAlignment(This,cbAlignment); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetSchema(ICreateTypeInfo2* This,LPOLESTR pStrSchema) { + return This->lpVtbl->SetSchema(This,pStrSchema); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_AddVarDesc(ICreateTypeInfo2* This,UINT index,VARDESC *pVarDesc) { + return This->lpVtbl->AddVarDesc(This,index,pVarDesc); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetFuncAndParamNames(ICreateTypeInfo2* This,UINT index,LPOLESTR *rgszNames,UINT cNames) { + return This->lpVtbl->SetFuncAndParamNames(This,index,rgszNames,cNames); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetVarName(ICreateTypeInfo2* This,UINT index,LPOLESTR szName) { + return This->lpVtbl->SetVarName(This,index,szName); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetTypeDescAlias(ICreateTypeInfo2* This,TYPEDESC *pTDescAlias) { + return This->lpVtbl->SetTypeDescAlias(This,pTDescAlias); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_DefineFuncAsDllEntry(ICreateTypeInfo2* This,UINT index,LPOLESTR szDllName,LPOLESTR szProcName) { + return This->lpVtbl->DefineFuncAsDllEntry(This,index,szDllName,szProcName); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetFuncDocString(ICreateTypeInfo2* This,UINT index,LPOLESTR szDocString) { + return This->lpVtbl->SetFuncDocString(This,index,szDocString); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetVarDocString(ICreateTypeInfo2* This,UINT index,LPOLESTR szDocString) { + return This->lpVtbl->SetVarDocString(This,index,szDocString); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetFuncHelpContext(ICreateTypeInfo2* This,UINT index,DWORD dwHelpContext) { + return This->lpVtbl->SetFuncHelpContext(This,index,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetVarHelpContext(ICreateTypeInfo2* This,UINT index,DWORD dwHelpContext) { + return This->lpVtbl->SetVarHelpContext(This,index,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetMops(ICreateTypeInfo2* This,UINT index,BSTR bstrMops) { + return This->lpVtbl->SetMops(This,index,bstrMops); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetTypeIdldesc(ICreateTypeInfo2* This,IDLDESC *pIdlDesc) { + return This->lpVtbl->SetTypeIdldesc(This,pIdlDesc); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_LayOut(ICreateTypeInfo2* This) { + return This->lpVtbl->LayOut(This); +} +/*** ICreateTypeInfo2 methods ***/ +static FORCEINLINE HRESULT ICreateTypeInfo2_DeleteFuncDesc(ICreateTypeInfo2* This,UINT index) { + return This->lpVtbl->DeleteFuncDesc(This,index); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_DeleteFuncDescByMemId(ICreateTypeInfo2* This,MEMBERID memid,INVOKEKIND invKind) { + return This->lpVtbl->DeleteFuncDescByMemId(This,memid,invKind); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_DeleteVarDesc(ICreateTypeInfo2* This,UINT index) { + return This->lpVtbl->DeleteVarDesc(This,index); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_DeleteVarDescByMemId(ICreateTypeInfo2* This,MEMBERID memid) { + return This->lpVtbl->DeleteVarDescByMemId(This,memid); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_DeleteImplType(ICreateTypeInfo2* This,UINT index) { + return This->lpVtbl->DeleteImplType(This,index); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetCustData(ICreateTypeInfo2* This,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->SetCustData(This,guid,pVarVal); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetFuncCustData(ICreateTypeInfo2* This,UINT index,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->SetFuncCustData(This,index,guid,pVarVal); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetParamCustData(ICreateTypeInfo2* This,UINT indexFunc,UINT indexParam,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->SetParamCustData(This,indexFunc,indexParam,guid,pVarVal); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetVarCustData(ICreateTypeInfo2* This,UINT index,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->SetVarCustData(This,index,guid,pVarVal); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetImplTypeCustData(ICreateTypeInfo2* This,UINT index,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->SetImplTypeCustData(This,index,guid,pVarVal); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetHelpStringContext(ICreateTypeInfo2* This,ULONG dwHelpStringContext) { + return This->lpVtbl->SetHelpStringContext(This,dwHelpStringContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetFuncHelpStringContext(ICreateTypeInfo2* This,UINT index,ULONG dwHelpStringContext) { + return This->lpVtbl->SetFuncHelpStringContext(This,index,dwHelpStringContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetVarHelpStringContext(ICreateTypeInfo2* This,UINT index,ULONG dwHelpStringContext) { + return This->lpVtbl->SetVarHelpStringContext(This,index,dwHelpStringContext); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_Invalidate(ICreateTypeInfo2* This) { + return This->lpVtbl->Invalidate(This); +} +static FORCEINLINE HRESULT ICreateTypeInfo2_SetName(ICreateTypeInfo2* This,LPOLESTR szName) { + return This->lpVtbl->SetName(This,szName); +} +#endif +#endif + +#endif + + +#endif /* __ICreateTypeInfo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateTypeLib interface + */ +#ifndef __ICreateTypeLib_INTERFACE_DEFINED__ +#define __ICreateTypeLib_INTERFACE_DEFINED__ + +typedef ICreateTypeLib *LPCREATETYPELIB; +DEFINE_GUID(IID_ICreateTypeLib, 0x00020406, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020406-0000-0000-c000-000000000046") +ICreateTypeLib : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateTypeInfo( + LPOLESTR szName, + TYPEKIND tkind, + ICreateTypeInfo **ppCTInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetName( + LPOLESTR szName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVersion( + WORD wMajorVerNum, + WORD wMinorVerNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGuid( + REFGUID guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDocString( + LPOLESTR szDoc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpFileName( + LPOLESTR szHelpFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpContext( + DWORD dwHelpContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLcid( + LCID lcid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLibFlags( + UINT uLibFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveAllChanges( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateTypeLib, 0x00020406, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICreateTypeLibVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateTypeLib *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateTypeLib *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateTypeLib *This); + + /*** ICreateTypeLib methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTypeInfo)( + ICreateTypeLib *This, + LPOLESTR szName, + TYPEKIND tkind, + ICreateTypeInfo **ppCTInfo); + + HRESULT (STDMETHODCALLTYPE *SetName)( + ICreateTypeLib *This, + LPOLESTR szName); + + HRESULT (STDMETHODCALLTYPE *SetVersion)( + ICreateTypeLib *This, + WORD wMajorVerNum, + WORD wMinorVerNum); + + HRESULT (STDMETHODCALLTYPE *SetGuid)( + ICreateTypeLib *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *SetDocString)( + ICreateTypeLib *This, + LPOLESTR szDoc); + + HRESULT (STDMETHODCALLTYPE *SetHelpFileName)( + ICreateTypeLib *This, + LPOLESTR szHelpFileName); + + HRESULT (STDMETHODCALLTYPE *SetHelpContext)( + ICreateTypeLib *This, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetLcid)( + ICreateTypeLib *This, + LCID lcid); + + HRESULT (STDMETHODCALLTYPE *SetLibFlags)( + ICreateTypeLib *This, + UINT uLibFlags); + + HRESULT (STDMETHODCALLTYPE *SaveAllChanges)( + ICreateTypeLib *This); + + END_INTERFACE +} ICreateTypeLibVtbl; + +interface ICreateTypeLib { + CONST_VTBL ICreateTypeLibVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateTypeLib_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateTypeLib_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateTypeLib_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateTypeLib methods ***/ +#define ICreateTypeLib_CreateTypeInfo(This,szName,tkind,ppCTInfo) (This)->lpVtbl->CreateTypeInfo(This,szName,tkind,ppCTInfo) +#define ICreateTypeLib_SetName(This,szName) (This)->lpVtbl->SetName(This,szName) +#define ICreateTypeLib_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum) +#define ICreateTypeLib_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid) +#define ICreateTypeLib_SetDocString(This,szDoc) (This)->lpVtbl->SetDocString(This,szDoc) +#define ICreateTypeLib_SetHelpFileName(This,szHelpFileName) (This)->lpVtbl->SetHelpFileName(This,szHelpFileName) +#define ICreateTypeLib_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext) +#define ICreateTypeLib_SetLcid(This,lcid) (This)->lpVtbl->SetLcid(This,lcid) +#define ICreateTypeLib_SetLibFlags(This,uLibFlags) (This)->lpVtbl->SetLibFlags(This,uLibFlags) +#define ICreateTypeLib_SaveAllChanges(This) (This)->lpVtbl->SaveAllChanges(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateTypeLib_QueryInterface(ICreateTypeLib* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateTypeLib_AddRef(ICreateTypeLib* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateTypeLib_Release(ICreateTypeLib* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateTypeLib methods ***/ +static FORCEINLINE HRESULT ICreateTypeLib_CreateTypeInfo(ICreateTypeLib* This,LPOLESTR szName,TYPEKIND tkind,ICreateTypeInfo **ppCTInfo) { + return This->lpVtbl->CreateTypeInfo(This,szName,tkind,ppCTInfo); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetName(ICreateTypeLib* This,LPOLESTR szName) { + return This->lpVtbl->SetName(This,szName); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetVersion(ICreateTypeLib* This,WORD wMajorVerNum,WORD wMinorVerNum) { + return This->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetGuid(ICreateTypeLib* This,REFGUID guid) { + return This->lpVtbl->SetGuid(This,guid); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetDocString(ICreateTypeLib* This,LPOLESTR szDoc) { + return This->lpVtbl->SetDocString(This,szDoc); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetHelpFileName(ICreateTypeLib* This,LPOLESTR szHelpFileName) { + return This->lpVtbl->SetHelpFileName(This,szHelpFileName); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetHelpContext(ICreateTypeLib* This,DWORD dwHelpContext) { + return This->lpVtbl->SetHelpContext(This,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetLcid(ICreateTypeLib* This,LCID lcid) { + return This->lpVtbl->SetLcid(This,lcid); +} +static FORCEINLINE HRESULT ICreateTypeLib_SetLibFlags(ICreateTypeLib* This,UINT uLibFlags) { + return This->lpVtbl->SetLibFlags(This,uLibFlags); +} +static FORCEINLINE HRESULT ICreateTypeLib_SaveAllChanges(ICreateTypeLib* This) { + return This->lpVtbl->SaveAllChanges(This); +} +#endif +#endif + +#endif + + +#endif /* __ICreateTypeLib_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateTypeLib2 interface + */ +#ifndef __ICreateTypeLib2_INTERFACE_DEFINED__ +#define __ICreateTypeLib2_INTERFACE_DEFINED__ + +typedef ICreateTypeLib2 *LPCREATETYPELIB2; +DEFINE_GUID(IID_ICreateTypeLib2, 0x0002040f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0002040f-0000-0000-c000-000000000046") +ICreateTypeLib2 : public ICreateTypeLib +{ + virtual HRESULT STDMETHODCALLTYPE DeleteTypeInfo( + LPOLESTR szName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCustData( + REFGUID guid, + VARIANT *pVarVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpStringContext( + ULONG dwHelpStringContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHelpStringDll( + LPOLESTR szFileName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateTypeLib2, 0x0002040f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICreateTypeLib2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateTypeLib2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateTypeLib2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateTypeLib2 *This); + + /*** ICreateTypeLib methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTypeInfo)( + ICreateTypeLib2 *This, + LPOLESTR szName, + TYPEKIND tkind, + ICreateTypeInfo **ppCTInfo); + + HRESULT (STDMETHODCALLTYPE *SetName)( + ICreateTypeLib2 *This, + LPOLESTR szName); + + HRESULT (STDMETHODCALLTYPE *SetVersion)( + ICreateTypeLib2 *This, + WORD wMajorVerNum, + WORD wMinorVerNum); + + HRESULT (STDMETHODCALLTYPE *SetGuid)( + ICreateTypeLib2 *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *SetDocString)( + ICreateTypeLib2 *This, + LPOLESTR szDoc); + + HRESULT (STDMETHODCALLTYPE *SetHelpFileName)( + ICreateTypeLib2 *This, + LPOLESTR szHelpFileName); + + HRESULT (STDMETHODCALLTYPE *SetHelpContext)( + ICreateTypeLib2 *This, + DWORD dwHelpContext); + + HRESULT (STDMETHODCALLTYPE *SetLcid)( + ICreateTypeLib2 *This, + LCID lcid); + + HRESULT (STDMETHODCALLTYPE *SetLibFlags)( + ICreateTypeLib2 *This, + UINT uLibFlags); + + HRESULT (STDMETHODCALLTYPE *SaveAllChanges)( + ICreateTypeLib2 *This); + + /*** ICreateTypeLib2 methods ***/ + HRESULT (STDMETHODCALLTYPE *DeleteTypeInfo)( + ICreateTypeLib2 *This, + LPOLESTR szName); + + HRESULT (STDMETHODCALLTYPE *SetCustData)( + ICreateTypeLib2 *This, + REFGUID guid, + VARIANT *pVarVal); + + HRESULT (STDMETHODCALLTYPE *SetHelpStringContext)( + ICreateTypeLib2 *This, + ULONG dwHelpStringContext); + + HRESULT (STDMETHODCALLTYPE *SetHelpStringDll)( + ICreateTypeLib2 *This, + LPOLESTR szFileName); + + END_INTERFACE +} ICreateTypeLib2Vtbl; + +interface ICreateTypeLib2 { + CONST_VTBL ICreateTypeLib2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateTypeLib2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateTypeLib2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateTypeLib2_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateTypeLib methods ***/ +#define ICreateTypeLib2_CreateTypeInfo(This,szName,tkind,ppCTInfo) (This)->lpVtbl->CreateTypeInfo(This,szName,tkind,ppCTInfo) +#define ICreateTypeLib2_SetName(This,szName) (This)->lpVtbl->SetName(This,szName) +#define ICreateTypeLib2_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum) +#define ICreateTypeLib2_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid) +#define ICreateTypeLib2_SetDocString(This,szDoc) (This)->lpVtbl->SetDocString(This,szDoc) +#define ICreateTypeLib2_SetHelpFileName(This,szHelpFileName) (This)->lpVtbl->SetHelpFileName(This,szHelpFileName) +#define ICreateTypeLib2_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext) +#define ICreateTypeLib2_SetLcid(This,lcid) (This)->lpVtbl->SetLcid(This,lcid) +#define ICreateTypeLib2_SetLibFlags(This,uLibFlags) (This)->lpVtbl->SetLibFlags(This,uLibFlags) +#define ICreateTypeLib2_SaveAllChanges(This) (This)->lpVtbl->SaveAllChanges(This) +/*** ICreateTypeLib2 methods ***/ +#define ICreateTypeLib2_DeleteTypeInfo(This,szName) (This)->lpVtbl->DeleteTypeInfo(This,szName) +#define ICreateTypeLib2_SetCustData(This,guid,pVarVal) (This)->lpVtbl->SetCustData(This,guid,pVarVal) +#define ICreateTypeLib2_SetHelpStringContext(This,dwHelpStringContext) (This)->lpVtbl->SetHelpStringContext(This,dwHelpStringContext) +#define ICreateTypeLib2_SetHelpStringDll(This,szFileName) (This)->lpVtbl->SetHelpStringDll(This,szFileName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateTypeLib2_QueryInterface(ICreateTypeLib2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateTypeLib2_AddRef(ICreateTypeLib2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateTypeLib2_Release(ICreateTypeLib2* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateTypeLib methods ***/ +static FORCEINLINE HRESULT ICreateTypeLib2_CreateTypeInfo(ICreateTypeLib2* This,LPOLESTR szName,TYPEKIND tkind,ICreateTypeInfo **ppCTInfo) { + return This->lpVtbl->CreateTypeInfo(This,szName,tkind,ppCTInfo); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetName(ICreateTypeLib2* This,LPOLESTR szName) { + return This->lpVtbl->SetName(This,szName); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetVersion(ICreateTypeLib2* This,WORD wMajorVerNum,WORD wMinorVerNum) { + return This->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetGuid(ICreateTypeLib2* This,REFGUID guid) { + return This->lpVtbl->SetGuid(This,guid); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetDocString(ICreateTypeLib2* This,LPOLESTR szDoc) { + return This->lpVtbl->SetDocString(This,szDoc); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetHelpFileName(ICreateTypeLib2* This,LPOLESTR szHelpFileName) { + return This->lpVtbl->SetHelpFileName(This,szHelpFileName); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetHelpContext(ICreateTypeLib2* This,DWORD dwHelpContext) { + return This->lpVtbl->SetHelpContext(This,dwHelpContext); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetLcid(ICreateTypeLib2* This,LCID lcid) { + return This->lpVtbl->SetLcid(This,lcid); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetLibFlags(ICreateTypeLib2* This,UINT uLibFlags) { + return This->lpVtbl->SetLibFlags(This,uLibFlags); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SaveAllChanges(ICreateTypeLib2* This) { + return This->lpVtbl->SaveAllChanges(This); +} +/*** ICreateTypeLib2 methods ***/ +static FORCEINLINE HRESULT ICreateTypeLib2_DeleteTypeInfo(ICreateTypeLib2* This,LPOLESTR szName) { + return This->lpVtbl->DeleteTypeInfo(This,szName); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetCustData(ICreateTypeLib2* This,REFGUID guid,VARIANT *pVarVal) { + return This->lpVtbl->SetCustData(This,guid,pVarVal); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetHelpStringContext(ICreateTypeLib2* This,ULONG dwHelpStringContext) { + return This->lpVtbl->SetHelpStringContext(This,dwHelpStringContext); +} +static FORCEINLINE HRESULT ICreateTypeLib2_SetHelpStringDll(ICreateTypeLib2* This,LPOLESTR szFileName) { + return This->lpVtbl->SetHelpStringDll(This,szFileName); +} +#endif +#endif + +#endif + + +#endif /* __ICreateTypeLib2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IErrorLog interface + */ +#ifndef __IErrorLog_INTERFACE_DEFINED__ +#define __IErrorLog_INTERFACE_DEFINED__ + +typedef IErrorLog *LPERRORLOG; +DEFINE_GUID(IID_IErrorLog, 0x3127ca40, 0x446e, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3127ca40-446e-11ce-8135-00aa004bb851") +IErrorLog : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddError( + LPCOLESTR pszPropName, + EXCEPINFO *pExcepInfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IErrorLog, 0x3127ca40, 0x446e, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51) +#endif +#else +typedef struct IErrorLogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IErrorLog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IErrorLog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IErrorLog *This); + + /*** IErrorLog methods ***/ + HRESULT (STDMETHODCALLTYPE *AddError)( + IErrorLog *This, + LPCOLESTR pszPropName, + EXCEPINFO *pExcepInfo); + + END_INTERFACE +} IErrorLogVtbl; + +interface IErrorLog { + CONST_VTBL IErrorLogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IErrorLog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IErrorLog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IErrorLog_Release(This) (This)->lpVtbl->Release(This) +/*** IErrorLog methods ***/ +#define IErrorLog_AddError(This,pszPropName,pExcepInfo) (This)->lpVtbl->AddError(This,pszPropName,pExcepInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IErrorLog_QueryInterface(IErrorLog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IErrorLog_AddRef(IErrorLog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IErrorLog_Release(IErrorLog* This) { + return This->lpVtbl->Release(This); +} +/*** IErrorLog methods ***/ +static FORCEINLINE HRESULT IErrorLog_AddError(IErrorLog* This,LPCOLESTR pszPropName,EXCEPINFO *pExcepInfo) { + return This->lpVtbl->AddError(This,pszPropName,pExcepInfo); +} +#endif +#endif + +#endif + + +#endif /* __IErrorLog_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyBag interface + */ +#ifndef __IPropertyBag_INTERFACE_DEFINED__ +#define __IPropertyBag_INTERFACE_DEFINED__ + +typedef IPropertyBag *LPPROPERTYBAG; +DEFINE_GUID(IID_IPropertyBag, 0x55272a00, 0x42cb, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("55272a00-42cb-11ce-8135-00aa004bb851") +IPropertyBag : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Read( + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog) = 0; + + virtual HRESULT STDMETHODCALLTYPE Write( + LPCOLESTR pszPropName, + VARIANT *pVar) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyBag, 0x55272a00, 0x42cb, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51) +#endif +#else +typedef struct IPropertyBagVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyBag *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyBag *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyBag *This); + + /*** IPropertyBag methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IPropertyBag *This, + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog); + + HRESULT (STDMETHODCALLTYPE *Write)( + IPropertyBag *This, + LPCOLESTR pszPropName, + VARIANT *pVar); + + END_INTERFACE +} IPropertyBagVtbl; + +interface IPropertyBag { + CONST_VTBL IPropertyBagVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyBag_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyBag methods ***/ +#define IPropertyBag_Read(This,pszPropName,pVar,pErrorLog) (This)->lpVtbl->Read(This,pszPropName,pVar,pErrorLog) +#define IPropertyBag_Write(This,pszPropName,pVar) (This)->lpVtbl->Write(This,pszPropName,pVar) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyBag_QueryInterface(IPropertyBag* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyBag_AddRef(IPropertyBag* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyBag_Release(IPropertyBag* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyBag methods ***/ +static FORCEINLINE HRESULT IPropertyBag_Read(IPropertyBag* This,LPCOLESTR pszPropName,VARIANT *pVar,IErrorLog *pErrorLog) { + return This->lpVtbl->Read(This,pszPropName,pVar,pErrorLog); +} +static FORCEINLINE HRESULT IPropertyBag_Write(IPropertyBag* This,LPCOLESTR pszPropName,VARIANT *pVar) { + return This->lpVtbl->Write(This,pszPropName,pVar); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPropertyBag_RemoteRead_Proxy( + IPropertyBag* This, + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog, + DWORD varType, + IUnknown *pUnkObj); +void __RPC_STUB IPropertyBag_RemoteRead_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IPropertyBag_Read_Proxy( + IPropertyBag* This, + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog); +HRESULT __RPC_STUB IPropertyBag_Read_Stub( + IPropertyBag* This, + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog, + DWORD varType, + IUnknown *pUnkObj); + +#endif /* __IPropertyBag_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER CLEANLOCALSTORAGE_UserSize (ULONG *, ULONG, CLEANLOCALSTORAGE *); +unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal (ULONG *, unsigned char *, CLEANLOCALSTORAGE *); +unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *); +void __RPC_USER CLEANLOCALSTORAGE_UserFree (ULONG *, CLEANLOCALSTORAGE *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __oaidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oaidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oaidl.idl new file mode 100644 index 0000000..37da734 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oaidl.idl @@ -0,0 +1,1642 @@ +/* + * Copyright 2002 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "objidl.idl"; +#endif + +interface IDispatch; +interface ITypeInfo; +interface ITypeLib; +interface IRecordInfo; + +[ + version(1.0), + pointer_default(unique) +] +interface IOleAutomationTypes +{ + +typedef CY CURRENCY; + +/* Safe Array */ + +typedef struct tagSAFEARRAYBOUND { + ULONG cElements; + LONG lLbound; +} SAFEARRAYBOUND, *LPSAFEARRAYBOUND; + +typedef [unique] struct _wireVARIANT *wireVARIANT; +typedef [unique] struct _wireBRECORD *wireBRECORD; + +typedef struct _wireSAFEARR_BSTR { + ULONG Size; + [size_is(Size), ref] wireBSTR *aBstr; +} SAFEARR_BSTR; + +typedef struct _wireSAFEARR_UNKNOWN { + ULONG Size; + [size_is(Size), ref] IUnknown **apUnknown; +} SAFEARR_UNKNOWN; + +typedef struct _wireSAFEARR_DISPATCH { + ULONG Size; + [size_is(Size), ref] IDispatch **apDispatch; +} SAFEARR_DISPATCH; + +typedef struct _wireSAFEARR_VARIANT { + ULONG Size; + [size_is(Size), ref] wireVARIANT *aVariant; +} SAFEARR_VARIANT; + +typedef struct _wireSAFEARR_BRECORD { + ULONG Size; + [size_is(Size), ref] wireBRECORD *aRecord; +} SAFEARR_BRECORD; + +typedef struct _wireSAFEARR_HAVEIID { + ULONG Size; + [size_is(Size), ref] IUnknown **apUnknown; + IID iid; +} SAFEARR_HAVEIID; + +typedef [v1_enum] enum tagSF_TYPE { + SF_ERROR = VT_ERROR, + SF_I1 = VT_I1, + SF_I2 = VT_I2, + SF_I4 = VT_I4, + SF_I8 = VT_I8, + SF_BSTR = VT_BSTR, + SF_UNKNOWN = VT_UNKNOWN, + SF_DISPATCH = VT_DISPATCH, + SF_VARIANT = VT_VARIANT, + SF_RECORD = VT_RECORD, + SF_HAVEIID = VT_UNKNOWN|VT_RESERVED, +} SF_TYPE; + +typedef union _wireSAFEARRAY_UNION switch(ULONG sfType) u { + case SF_BSTR: SAFEARR_BSTR BstrStr; + case SF_UNKNOWN: SAFEARR_UNKNOWN UnknownStr; + case SF_DISPATCH: SAFEARR_DISPATCH DispatchStr; + case SF_VARIANT: SAFEARR_VARIANT VariantStr; + case SF_RECORD: SAFEARR_BRECORD RecordStr; + case SF_HAVEIID: SAFEARR_HAVEIID HaveIidStr; + case SF_I1: BYTE_SIZEDARR ByteStr; + case SF_I2: WORD_SIZEDARR WordStr; + case SF_I4: DWORD_SIZEDARR LongStr; + case SF_I8: HYPER_SIZEDARR HyperStr; +} SAFEARRAYUNION; + +typedef [unique] struct _wireSAFEARRAY { + USHORT cDims; + USHORT fFeatures; + ULONG cbElements; + ULONG cLocks; + SAFEARRAYUNION uArrayStructs; + [size_is(cDims)] SAFEARRAYBOUND rgsabound[]; +} *wireSAFEARRAY; + +typedef [unique] wireSAFEARRAY *wirePSAFEARRAY; + +typedef struct tagSAFEARRAY { + USHORT cDims; + USHORT fFeatures; + ULONG cbElements; + ULONG cLocks; + PVOID pvData; + SAFEARRAYBOUND rgsabound[]; +} SAFEARRAY; + +typedef [wire_marshal(wirePSAFEARRAY)] SAFEARRAY *LPSAFEARRAY; + +const USHORT FADF_AUTO = 0x0001; +const USHORT FADF_STATIC = 0x0002; +const USHORT FADF_EMBEDDED = 0x0004; +const USHORT FADF_FIXEDSIZE = 0x0010; +const USHORT FADF_RECORD = 0x0020; +const USHORT FADF_HAVEIID = 0x0040; +const USHORT FADF_HAVEVARTYPE = 0x0080; +const USHORT FADF_BSTR = 0x0100; +const USHORT FADF_UNKNOWN = 0x0200; +const USHORT FADF_DISPATCH = 0x0400; +const USHORT FADF_VARIANT = 0x0800; +const USHORT FADF_RESERVED = 0xF008; +/* Undocumented flags */ +const USHORT FADF_DATADELETED = 0x1000; /* Data in a vector has been deleted */ +const USHORT FADF_CREATEVECTOR = 0x2000; /* This array is a vector */ + +/* Variant */ + +cpp_quote("#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)") +cpp_quote("#define __VARIANT_NAME_1 n1") +cpp_quote("#define __VARIANT_NAME_2 n2") +cpp_quote("#define __VARIANT_NAME_3 n3") +cpp_quote("#define __VARIANT_NAME_4 brecVal") +cpp_quote("#else") +cpp_quote("#define __tagVARIANT") +cpp_quote("#define __VARIANT_NAME_1") +cpp_quote("#define __VARIANT_NAME_2") +cpp_quote("#define __VARIANT_NAME_3") +cpp_quote("#define __tagBRECORD") +cpp_quote("#define __VARIANT_NAME_4") +cpp_quote("#endif") + +typedef [wire_marshal(wireVARIANT)] struct tagVARIANT VARIANT; + +struct tagVARIANT { + union { + struct __tagVARIANT { + VARTYPE vt; + WORD wReserved1; + WORD wReserved2; + WORD wReserved3; + union { + signed char cVal; + USHORT uiVal; + ULONG ulVal; + INT intVal; + UINT uintVal; + BYTE bVal; + SHORT iVal; + LONG lVal; + FLOAT fltVal; + DOUBLE dblVal; + VARIANT_BOOL boolVal; +#if 0 /* illegal in C++ */ + _VARIANT_BOOL bool; +#endif + SCODE scode; + DATE date; + BSTR bstrVal; + CY cyVal; + IUnknown *punkVal; + IDispatch *pdispVal; + SAFEARRAY *parray; + LONGLONG llVal; + ULONGLONG ullVal; + signed char *pcVal; + USHORT *puiVal; + ULONG *pulVal; + INT *pintVal; + UINT *puintVal; + BYTE *pbVal; + SHORT *piVal; + LONG *plVal; + FLOAT *pfltVal; + DOUBLE *pdblVal; + VARIANT_BOOL *pboolVal; +#if 0 + _VARIANT_BOOL *pbool; +#endif + SCODE *pscode; + DATE *pdate; + BSTR *pbstrVal; + VARIANT *pvarVal; + PVOID byref; + CY *pcyVal; + DECIMAL *pdecVal; + IUnknown **ppunkVal; + IDispatch **ppdispVal; + SAFEARRAY **pparray; + LONGLONG *pllVal; + ULONGLONG *pullVal; + struct __tagBRECORD { + PVOID pvRecord; + IRecordInfo *pRecInfo; + } __VARIANT_NAME_4; + } __VARIANT_NAME_3; + } __VARIANT_NAME_2; + + DECIMAL decVal; + } __VARIANT_NAME_1; +}; + +typedef VARIANT *LPVARIANT; +typedef VARIANT VARIANTARG; +typedef VARIANTARG *LPVARIANTARG; + +cpp_quote("#if 0") +typedef const VARIANT *REFVARIANT; +cpp_quote("#elif !defined(_REFVARIANT_DEFINED)") +cpp_quote("#define _REFVARIANT_DEFINED") +cpp_quote("#ifdef __cplusplus") +cpp_quote("#define REFVARIANT const VARIANT &") +cpp_quote("#else") +cpp_quote("#define REFVARIANT const VARIANT *__MIDL_CONST") +cpp_quote("#endif") +cpp_quote("#endif") + +struct _wireBRECORD { + ULONG fFlags; + ULONG clSize; + IRecordInfo *pRecInfo; + [size_is(clSize)] byte *pRecord; +}; + +struct _wireVARIANT { + DWORD clSize; + DWORD rpcReserved; + USHORT vt; + USHORT wReserved1; + USHORT wReserved2; + USHORT wReserved3; + [switch_is(vt)] union { + [case(VT_EMPTY, VT_NULL)] ; + [case(VT_I1)] signed char cVal; + [case(VT_UI2)] USHORT uiVal; + [case(VT_UI4)] ULONG ulVal; + [case(VT_INT)] INT intVal; + [case(VT_UINT)] UINT uintVal; + [case(VT_UI1)] BYTE bVal; + [case(VT_I2)] SHORT iVal; + [case(VT_I4)] LONG lVal; + [case(VT_R4)] FLOAT fltVal; + [case(VT_R8)] DOUBLE dblVal; + [case(VT_BOOL)] VARIANT_BOOL boolVal; + [case(VT_ERROR)] SCODE scode; + [case(VT_DATE)] DATE date; + [case(VT_BSTR)] wireBSTR bstrVal; + [case(VT_CY)] CY cyVal; + [case(VT_DECIMAL)] DECIMAL decVal; + [case(VT_UNKNOWN)] IUnknown *punkVal; + [case(VT_DISPATCH)] IDispatch *pdispVal; + [case(VT_ARRAY)] wireSAFEARRAY parray; + [case(VT_I1|VT_BYREF)] signed char *pcVal; + [case(VT_UI2|VT_BYREF)] USHORT *puiVal; + [case(VT_UI4|VT_BYREF)] ULONG *pulVal; + [case(VT_INT|VT_BYREF)] INT *pintVal; + [case(VT_UINT|VT_BYREF)] UINT *puintVal; + [case(VT_UI1|VT_BYREF)] BYTE *pbVal; + [case(VT_I2|VT_BYREF)] SHORT *piVal; + [case(VT_I4|VT_BYREF)] LONG *plVal; + [case(VT_R4|VT_BYREF)] FLOAT *pfltVal; + [case(VT_R8|VT_BYREF)] DOUBLE *pdblVal; + [case(VT_BOOL|VT_BYREF)] VARIANT_BOOL *pboolVal; + [case(VT_ERROR|VT_BYREF)] SCODE *pscode; + [case(VT_DATE|VT_BYREF)] DATE *pdate; + [case(VT_BSTR|VT_BYREF)] wireBSTR *pbstrVal; + [case(VT_VARIANT|VT_BYREF)] wireVARIANT *pvarVal; + [case(VT_CY|VT_BYREF)] CY *pcyVal; + [case(VT_DECIMAL|VT_BYREF)] DECIMAL *pdecVal; + [case(VT_UNKNOWN|VT_BYREF)] IUnknown **ppunkVal; + [case(VT_DISPATCH|VT_BYREF)] IDispatch **ppdispVal; + [case(VT_ARRAY|VT_BYREF)] wireSAFEARRAY *pparray; + [case(VT_RECORD, VT_RECORD|VT_BYREF)] wireBRECORD brecVal; + } DUMMYUNIONNAME; +}; + +/* Dispatch */ + +typedef LONG DISPID; +typedef DWORD HREFTYPE; +typedef DISPID MEMBERID; + +typedef [v1_enum] enum tagTYPEKIND { + TKIND_ENUM = 0, + TKIND_RECORD, + TKIND_MODULE, + TKIND_INTERFACE, + TKIND_DISPATCH, + TKIND_COCLASS, + TKIND_ALIAS, + TKIND_UNION, + TKIND_MAX +} TYPEKIND; + +typedef struct tagTYPEDESC { + [switch_is(vt)] union { + [case(VT_PTR, VT_SAFEARRAY)] struct tagTYPEDESC *lptdesc; + [case(VT_CARRAY)] struct tagARRAYDESC *lpadesc; + [case(VT_USERDEFINED)] HREFTYPE hreftype; + [default] ; + } DUMMYUNIONNAME; + VARTYPE vt; +} TYPEDESC; + +typedef struct tagARRAYDESC { + TYPEDESC tdescElem; + USHORT cDims; + [size_is(cDims)] SAFEARRAYBOUND rgbounds[]; +} ARRAYDESC; + +typedef struct tagPARAMDESCEX { + ULONG cBytes; + VARIANTARG varDefaultValue; +} PARAMDESCEX, *LPPARAMDESCEX; + +typedef struct tagPARAMDESC { + LPPARAMDESCEX pparamdescex; + USHORT wParamFlags; +} PARAMDESC, *LPPARAMDESC; + +const USHORT PARAMFLAG_NONE = 0x00; +const USHORT PARAMFLAG_FIN = 0x01; +const USHORT PARAMFLAG_FOUT = 0x02; +const USHORT PARAMFLAG_FLCID = 0x04; +const USHORT PARAMFLAG_FRETVAL = 0x08; +const USHORT PARAMFLAG_FOPT = 0x10; +const USHORT PARAMFLAG_FHASDEFAULT = 0x20; +const USHORT PARAMFLAG_FHASCUSTDATA = 0x40; + +typedef struct tagIDLDESC { + ULONG_PTR dwReserved; + USHORT wIDLFlags; +} IDLDESC, *LPIDLDESC; + +const USHORT IDLFLAG_NONE = PARAMFLAG_NONE; +const USHORT IDLFLAG_FIN = PARAMFLAG_FIN; +const USHORT IDLFLAG_FOUT = PARAMFLAG_FOUT; +const USHORT IDLFLAG_FLCID = PARAMFLAG_FLCID; +const USHORT IDLFLAG_FRETVAL = PARAMFLAG_FRETVAL; + +cpp_quote("#if 0") /* for IDL only */ +typedef struct tagELEMDESC { + TYPEDESC tdesc; + PARAMDESC paramdesc; +} ELEMDESC; +cpp_quote("#else") /* C/C++ defs */ +cpp_quote("typedef struct tagELEMDESC {") +cpp_quote(" TYPEDESC tdesc;") +cpp_quote(" union {") +cpp_quote(" IDLDESC idldesc;") +cpp_quote(" PARAMDESC paramdesc;") +cpp_quote(" } DUMMYUNIONNAME;") +cpp_quote("} ELEMDESC, *LPELEMDESC;") +cpp_quote("#endif") + +typedef struct tagTYPEATTR { + GUID guid; + LCID lcid; + DWORD dwReserved; + MEMBERID memidConstructor; + MEMBERID memidDestructor; + LPOLESTR lpstrSchema; + ULONG cbSizeInstance; + TYPEKIND typekind; + WORD cFuncs; + WORD cVars; + WORD cImplTypes; + WORD cbSizeVft; + WORD cbAlignment; + WORD wTypeFlags; + WORD wMajorVerNum; + WORD wMinorVerNum; + TYPEDESC tdescAlias; + IDLDESC idldescType; +} TYPEATTR, *LPTYPEATTR; + +typedef struct tagDISPPARAMS { + [size_is(cArgs)] VARIANTARG *rgvarg; + [size_is(cNamedArgs)] DISPID *rgdispidNamedArgs; + UINT cArgs; + UINT cNamedArgs; +} DISPPARAMS; + +cpp_quote("#if 0") /* for IDL only */ +typedef struct tagEXCEPINFO { + WORD wCode; + WORD wReserved; + BSTR bstrSource; + BSTR bstrDescription; + BSTR bstrHelpFile; + DWORD dwHelpContext; + ULONG_PTR pvReserved; + ULONG_PTR pfnDeferredFillIn; + SCODE scode; +} EXCEPINFO; +cpp_quote("#else") +cpp_quote("typedef struct tagEXCEPINFO {") +cpp_quote(" WORD wCode;") +cpp_quote(" WORD wReserved;") +cpp_quote(" BSTR bstrSource;") +cpp_quote(" BSTR bstrDescription;") +cpp_quote(" BSTR bstrHelpFile;") +cpp_quote(" DWORD dwHelpContext;") +cpp_quote(" PVOID pvReserved;") +cpp_quote(" HRESULT (__stdcall *pfnDeferredFillIn)(struct tagEXCEPINFO *);") +cpp_quote(" SCODE scode;") +cpp_quote("} EXCEPINFO, *LPEXCEPINFO;") +cpp_quote("#endif") + +typedef [v1_enum] enum tagCALLCONV { + CC_FASTCALL = 0, + CC_CDECL = 1, + CC_MSCPASCAL, + CC_PASCAL = CC_MSCPASCAL, + CC_MACPASCAL, + CC_STDCALL, + CC_FPFASTCALL, + CC_SYSCALL, + CC_MPWCDECL, + CC_MPWPASCAL, + CC_MAX +} CALLCONV; + +typedef [v1_enum] enum tagFUNCKIND { + FUNC_VIRTUAL, + FUNC_PUREVIRTUAL, + FUNC_NONVIRTUAL, + FUNC_STATIC, + FUNC_DISPATCH +} FUNCKIND; + +typedef [v1_enum] enum tagINVOKEKIND { + INVOKE_FUNC = 1, + INVOKE_PROPERTYGET = 2, + INVOKE_PROPERTYPUT = 4, + INVOKE_PROPERTYPUTREF = 8 +} INVOKEKIND; + +typedef struct tagFUNCDESC { + MEMBERID memid; + [size_is(cScodes)] SCODE *lprgscode; + [size_is(cParams)] ELEMDESC *lprgelemdescParam; + FUNCKIND funckind; + INVOKEKIND invkind; + CALLCONV callconv; + SHORT cParams; + SHORT cParamsOpt; + SHORT oVft; + SHORT cScodes; + ELEMDESC elemdescFunc; + WORD wFuncFlags; +} FUNCDESC, *LPFUNCDESC; + +typedef [v1_enum] enum tagVARKIND { + VAR_PERINSTANCE, + VAR_STATIC, + VAR_CONST, + VAR_DISPATCH +} VARKIND; + +const USHORT IMPLTYPEFLAG_FDEFAULT = 0x1; +const USHORT IMPLTYPEFLAG_FSOURCE = 0x2; +const USHORT IMPLTYPEFLAG_FRESTRICTED = 0x4; +const USHORT IMPLTYPEFLAG_FDEFAULTVTABLE = 0x8; + +typedef struct tagVARDESC { + MEMBERID memid; + LPOLESTR lpstrSchema; + [switch_is(varkind)] union { + [case(VAR_PERINSTANCE, VAR_DISPATCH, VAR_STATIC)] ULONG oInst; + [case(VAR_CONST)] VARIANT *lpvarValue; + } DUMMYUNIONNAME; + ELEMDESC elemdescVar; + WORD wVarFlags; + VARKIND varkind; +} VARDESC, *LPVARDESC; + +typedef enum tagTYPEFLAGS { + TYPEFLAG_FAPPOBJECT = 0x0001, + TYPEFLAG_FCANCREATE = 0x0002, + TYPEFLAG_FLICENSED = 0x0004, + TYPEFLAG_FPREDECLID = 0x0008, + TYPEFLAG_FHIDDEN = 0x0010, + TYPEFLAG_FCONTROL = 0x0020, + TYPEFLAG_FDUAL = 0x0040, + TYPEFLAG_FNONEXTENSIBLE = 0x0080, + TYPEFLAG_FOLEAUTOMATION = 0x0100, + TYPEFLAG_FRESTRICTED = 0x0200, + TYPEFLAG_FAGGREGATABLE = 0x0400, + TYPEFLAG_FREPLACEABLE = 0x0800, + TYPEFLAG_FDISPATCHABLE = 0x1000, + TYPEFLAG_FREVERSEBIND = 0x2000, + TYPEFLAG_FPROXY = 0x4000 +} TYPEFLAGS; + +typedef enum tagFUNCFLAGS { + FUNCFLAG_FRESTRICTED = 0x0001, + FUNCFLAG_FSOURCE = 0x0002, + FUNCFLAG_FBINDABLE = 0x0004, + FUNCFLAG_FREQUESTEDIT = 0x0008, + FUNCFLAG_FDISPLAYBIND = 0x0010, + FUNCFLAG_FDEFAULTBIND = 0x0020, + FUNCFLAG_FHIDDEN = 0x0040, + FUNCFLAG_FUSESGETLASTERROR = 0x0080, + FUNCFLAG_FDEFAULTCOLLELEM = 0x0100, + FUNCFLAG_FUIDEFAULT = 0x0200, + FUNCFLAG_FNONBROWSABLE = 0x0400, + FUNCFLAG_FREPLACEABLE = 0x0800, + FUNCFLAG_FIMMEDIATEBIND = 0x1000 +} FUNCFLAGS; + +typedef enum tagVARFLAGS { + VARFLAG_FREADONLY = 0x0001, + VARFLAG_FSOURCE = 0x0002, + VARFLAG_FBINDABLE = 0x0004, + VARFLAG_FREQUESTEDIT = 0x0008, + VARFLAG_FDISPLAYBIND = 0x0010, + VARFLAG_FDEFAULTBIND = 0x0020, + VARFLAG_FHIDDEN = 0x0040, + VARFLAG_FRESTRICTED = 0x0080, + VARFLAG_FDEFAULTCOLLELEM = 0x0100, + VARFLAG_FUIDEFAULT = 0x0200, + VARFLAG_FNONBROWSABLE = 0x0400, + VARFLAG_FREPLACEABLE = 0x0800, + VARFLAG_FIMMEDIATEBIND = 0x1000 +} VARFLAGS; + +typedef [wire_marshal(DWORD)] struct tagCLEANLOCALSTORAGE { + IUnknown *pInterface; + PVOID pStorage; + DWORD flags; +} CLEANLOCALSTORAGE; + +typedef struct tagCUSTDATAITEM { + GUID guid; + VARIANTARG varValue; +} CUSTDATAITEM, *LPCUSTDATAITEM; + +typedef struct tagCUSTDATA { + DWORD cCustData; + [size_is(cCustData)] LPCUSTDATAITEM prgCustData; +} CUSTDATA, *LPCUSTDATA; + +} /* interface IOleAutomationTypes */ + +/******************** INTERFACES ********************/ + +[ + object, + uuid(00020400-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IDispatch : IUnknown +{ + typedef [unique] IDispatch *LPDISPATCH; + + const DISPID DISPID_UNKNOWN = -1; + const DISPID DISPID_VALUE = 0; + const DISPID DISPID_PROPERTYPUT = -3; + const DISPID DISPID_NEWENUM = -4; + const DISPID DISPID_EVALUATE = -5; + const DISPID DISPID_CONSTRUCTOR = -6; + const DISPID DISPID_DESTRUCTOR = -7; + const DISPID DISPID_COLLECT = -8; + + HRESULT GetTypeInfoCount( + [out] UINT *pctinfo); + + HRESULT GetTypeInfo( + [in] UINT iTInfo, + [in] LCID lcid, + [out] ITypeInfo **ppTInfo); + + HRESULT GetIDsOfNames( + [in] REFIID riid, + [in, size_is(cNames)] LPOLESTR *rgszNames, + [in] UINT cNames, + [in] LCID lcid, + [out, size_is(cNames)] DISPID *rgDispId); + + [local] + HRESULT Invoke( + [in] DISPID dispIdMember, + [in] REFIID riid, + [in] LCID lcid, + [in] WORD wFlags, + [in, out] DISPPARAMS *pDispParams, + [out] VARIANT *pVarResult, + [out] EXCEPINFO *pExcepInfo, + [out] UINT *puArgErr); + + [call_as(Invoke)] + HRESULT RemoteInvoke( + [in] DISPID dispIdMember, + [in] REFIID riid, + [in] LCID lcid, + [in] DWORD dwFlags, + [in] DISPPARAMS *pDispParams, + [out] VARIANT *pVarResult, + [out] EXCEPINFO *pExcepInfo, + [out] UINT *pArgErr, + [in] UINT cVarRef, + [in, size_is(cVarRef)] UINT *rgVarRefIdx, + [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef); +} + +[ + object, + uuid(00020404-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumVARIANT : IUnknown +{ + typedef [unique] IEnumVARIANT *LPENUMVARIANT; + + [local] + HRESULT Next( + [in] ULONG celt, + [out] VARIANT *rgVar, + [out] ULONG *pCeltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pCeltFetched)] + VARIANT *rgVar, + [out] ULONG *pCeltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumVARIANT **ppEnum); +} + +[ + object, + uuid(00020403-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ITypeComp : IUnknown +{ + typedef [unique] ITypeComp *LPTYPECOMP; + + typedef [v1_enum] enum tagDESCKIND { + DESCKIND_NONE = 0, + DESCKIND_FUNCDESC, + DESCKIND_VARDESC, + DESCKIND_TYPECOMP, + DESCKIND_IMPLICITAPPOBJ, + DESCKIND_MAX + } DESCKIND; + + typedef union tagBINDPTR { + FUNCDESC *lpfuncdesc; + VARDESC *lpvardesc; + ITypeComp *lptcomp; + } BINDPTR, *LPBINDPTR; + + [local] + HRESULT Bind( + [in] LPOLESTR szName, + [in] ULONG lHashVal, + [in] WORD wFlags, + [out] ITypeInfo **ppTInfo, + [out] DESCKIND *pDescKind, + [out] BINDPTR *pBindPtr); + + [call_as(Bind)] + HRESULT RemoteBind( + [in] LPOLESTR szName, + [in] ULONG lHashVal, + [in] WORD wFlags, + [out] ITypeInfo **ppTInfo, + [out] DESCKIND *pDescKind, + [out] LPFUNCDESC *ppFuncDesc, + [out] LPVARDESC *ppVarDesc, + [out] ITypeComp **ppTypeComp, + [out] CLEANLOCALSTORAGE *pDummy); + + [local] + HRESULT BindType( + [in] LPOLESTR szName, + [in] ULONG lHashVal, + [out] ITypeInfo **ppTInfo, + [out] ITypeComp **ppTComp); + + [call_as(BindType)] + HRESULT RemoteBindType( + [in] LPOLESTR szName, + [in] ULONG lHashVal, + [out] ITypeInfo **ppTInfo); +} + +[ + object, + uuid(00020401-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ITypeInfo : IUnknown +{ + typedef [unique] ITypeInfo *LPTYPEINFO; + + [local] + HRESULT GetTypeAttr( + [out] TYPEATTR **ppTypeAttr); + + [call_as(GetTypeAttr)] + HRESULT RemoteGetTypeAttr( + [out] LPTYPEATTR *ppTypeAttr, + [out] CLEANLOCALSTORAGE *pDummy); + + HRESULT GetTypeComp( + [out] ITypeComp **ppTComp); + + [local] + HRESULT GetFuncDesc( + [in] UINT index, + [out] FUNCDESC **ppFuncDesc); + + [call_as(GetFuncDesc)] + HRESULT RemoteGetFuncDesc( + [in] UINT index, + [out] LPFUNCDESC *ppFuncDesc, + [out] CLEANLOCALSTORAGE *pDummy); + + [local] + HRESULT GetVarDesc( + [in] UINT index, + [out] VARDESC **ppVarDesc); + + [call_as(GetVarDesc)] + HRESULT RemoteGetVarDesc( + [in] UINT index, + [out] LPVARDESC *ppVarDesc, + [out] CLEANLOCALSTORAGE *pDummy); + + [local] + HRESULT GetNames( + [in] MEMBERID memid, + [out, size_is(cMaxNames), length_is(*pcNames)] BSTR *rgBstrNames, + [in] UINT cMaxNames, + [out] UINT *pcNames); + + [call_as(GetNames)] + HRESULT RemoteGetNames( + [in] MEMBERID memid, + [out, size_is(cMaxNames), length_is(*pcNames)] BSTR *rgBstrNames, + [in] UINT cMaxNames, + [out] UINT *pcNames); + + HRESULT GetRefTypeOfImplType( + [in] UINT index, + [out] HREFTYPE *pRefType); + + HRESULT GetImplTypeFlags( + [in] UINT index, + [out] INT *pImplTypeFlags); + + [local] + HRESULT GetIDsOfNames( + [in, size_is(cNames)] LPOLESTR *rgszNames, + [in] UINT cNames, + [out, size_is(cNames)] MEMBERID *pMemId); + + [call_as(GetIDsOfNames)] + HRESULT LocalGetIDsOfNames(); + + [local] + HRESULT Invoke( + [in] PVOID pvInstance, + [in] MEMBERID memid, + [in] WORD wFlags, + [in, out] DISPPARAMS *pDispParams, + [out] VARIANT *pVarResult, + [out] EXCEPINFO *pExcepInfo, + [out] UINT *puArgErr); + + [call_as(Invoke)] + HRESULT LocalInvoke(); + + [local] + HRESULT GetDocumentation( + [in] MEMBERID memid, + [out] BSTR *pBstrName, + [out] BSTR *pBstrDocString, + [out] DWORD *pdwHelpContext, + [out] BSTR *pBstrHelpFile); + + [call_as(GetDocumentation)] + HRESULT RemoteGetDocumentation( + [in] MEMBERID memid, + [in] DWORD refPtrFlags, + [out] BSTR *pBstrName, + [out] BSTR *pBstrDocString, + [out] DWORD *pdwHelpContext, + [out] BSTR *pBstrHelpFile); + + [local] + HRESULT GetDllEntry( + [in] MEMBERID memid, + [in] INVOKEKIND invKind, + [out] BSTR *pBstrDllName, + [out] BSTR *pBstrName, + [out] WORD *pwOrdinal); + + [call_as(GetDllEntry)] + HRESULT RemoteGetDllEntry( + [in] MEMBERID memid, + [in] INVOKEKIND invKind, + [in] DWORD refPtrFlags, + [out] BSTR *pBstrDllName, + [out] BSTR *pBstrName, + [out] WORD *pwOrdinal); + + HRESULT GetRefTypeInfo( + [in] HREFTYPE hRefType, + [out] ITypeInfo **ppTInfo); + + [local] + HRESULT AddressOfMember( + [in] MEMBERID memid, + [in] INVOKEKIND invKind, + [out] PVOID *ppv); + + [call_as(AddressOfMember)] + HRESULT LocalAddressOfMember(); + + [local] + HRESULT CreateInstance( + [in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] PVOID *ppvObj); + + [call_as(CreateInstance)] + HRESULT RemoteCreateInstance( + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppvObj); + + HRESULT GetMops( + [in] MEMBERID memid, + [out] BSTR *pBstrMops); + + [local] + HRESULT GetContainingTypeLib( + [out] ITypeLib **ppTLib, + [out] UINT *pIndex); + + [call_as(GetContainingTypeLib)] + HRESULT RemoteGetContainingTypeLib( + [out] ITypeLib **ppTLib, + [out] UINT *pIndex); + + [local] + void ReleaseTypeAttr( + [in] TYPEATTR *pTypeAttr); + + [call_as(ReleaseTypeAttr)] + HRESULT LocalReleaseTypeAttr(); + + [local] + void ReleaseFuncDesc( + [in] FUNCDESC *pFuncDesc); + + [call_as(ReleaseFuncDesc)] + HRESULT LocalReleaseFuncDesc(); + + [local] + void ReleaseVarDesc( + [in] VARDESC *pVarDesc); + + [call_as(ReleaseVarDesc)] + HRESULT LocalReleaseVarDesc(); +} + +[ + object, + uuid(00020412-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ITypeInfo2 : ITypeInfo +{ + typedef [unique] ITypeInfo2 *LPTYPEINFO2; + + HRESULT GetTypeKind( + [out] TYPEKIND *pTypeKind); + + HRESULT GetTypeFlags( + [out] ULONG *pTypeFlags); + + HRESULT GetFuncIndexOfMemId( + [in] MEMBERID memid, + [in] INVOKEKIND invKind, + [out] UINT *pFuncIndex); + + HRESULT GetVarIndexOfMemId( + [in] MEMBERID memid, + [out] UINT *pVarIndex); + + HRESULT GetCustData( + [in] REFGUID guid, + [out] VARIANT *pVarVal); + + HRESULT GetFuncCustData( + [in] UINT index, + [in] REFGUID guid, + [out] VARIANT *pVarVal); + + HRESULT GetParamCustData( + [in] UINT indexFunc, + [in] UINT indexParam, + [in] REFGUID guid, + [out] VARIANT *pVarVal); + + HRESULT GetVarCustData( + [in] UINT index, + [in] REFGUID guid, + [out] VARIANT *pVarVal); + + HRESULT GetImplTypeCustData( + [in] UINT index, + [in] REFGUID guid, + [out] VARIANT *pVarVal); + + [local] + HRESULT GetDocumentation2( + [in] MEMBERID memid, + [in] LCID lcid, + [out] BSTR *pbstrHelpString, + [out] DWORD *pdwHelpStringContext, + [out] BSTR *pbstrHelpStringDll); + + [call_as(GetDocumentation2)] + HRESULT RemoteGetDocumentation2( + [in] MEMBERID memid, + [in] LCID lcid, + [in] DWORD refPtrFlags, + [out] BSTR *pbstrHelpString, + [out] DWORD *pdwHelpStringContext, + [out] BSTR *pbstrHelpStringDll); + + HRESULT GetAllCustData( + [out] CUSTDATA *pCustData); + + HRESULT GetAllFuncCustData( + [in] UINT index, + [out] CUSTDATA *pCustData); + + HRESULT GetAllParamCustData( + [in] UINT indexFunc, + [in] UINT indexParam, + [out] CUSTDATA *pCustData); + + HRESULT GetAllVarCustData( + [in] UINT index, + [out] CUSTDATA *pCustData); + + HRESULT GetAllImplTypeCustData( + [in] UINT index, + [out] CUSTDATA *pCustData); +} + +[ + object, + uuid(00020402-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ITypeLib : IUnknown +{ + typedef [unique] ITypeLib *LPTYPELIB; + + typedef [v1_enum] enum tagSYSKIND { + SYS_WIN16 = 0, + SYS_WIN32, + SYS_MAC, + SYS_WIN64 + } SYSKIND; + + typedef [v1_enum] enum tagLIBFLAGS { + LIBFLAG_FRESTRICTED = 0x01, + LIBFLAG_FCONTROL = 0x02, + LIBFLAG_FHIDDEN = 0x04, + LIBFLAG_FHASDISKIMAGE = 0x08 + } LIBFLAGS; + + typedef struct tagTLIBATTR { + GUID guid; + LCID lcid; + SYSKIND syskind; + WORD wMajorVerNum; + WORD wMinorVerNum; + WORD wLibFlags; + } TLIBATTR, *LPTLIBATTR; + + [local] + UINT GetTypeInfoCount(); + + [call_as(GetTypeInfoCount)] + HRESULT RemoteGetTypeInfoCount( + [out] UINT *pcTInfo); + + HRESULT GetTypeInfo( + [in] UINT index, + [out] ITypeInfo **ppTInfo); + + HRESULT GetTypeInfoType( + [in] UINT index, + [out] TYPEKIND *pTKind); + + HRESULT GetTypeInfoOfGuid( + [in] REFGUID guid, + [out] ITypeInfo **ppTinfo); + + [local] + HRESULT GetLibAttr( + [out] TLIBATTR **ppTLibAttr); + + [call_as(GetLibAttr)] + HRESULT RemoteGetLibAttr( + [out] LPTLIBATTR *ppTLibAttr, + [out] CLEANLOCALSTORAGE *pDummy); + + HRESULT GetTypeComp( + [out] ITypeComp **ppTComp); + + [local] + HRESULT GetDocumentation( + [in] INT index, + [out] BSTR *pBstrName, + [out] BSTR *pBstrDocString, + [out] DWORD *pdwHelpContext, + [out] BSTR *pBstrHelpFile); + + [call_as(GetDocumentation)] + HRESULT RemoteGetDocumentation( + [in] INT index, + [in] DWORD refPtrFlags, + [out] BSTR *pBstrName, + [out] BSTR *pBstrDocString, + [out] DWORD *pdwHelpContext, + [out] BSTR *pBstrHelpFile); + + [local] + HRESULT IsName( + [in, out] LPOLESTR szNameBuf, + [in] ULONG lHashVal, + [out] BOOL *pfName); + + [call_as(IsName)] + HRESULT RemoteIsName( + [in] LPOLESTR szNameBuf, + [in] ULONG lHashVal, + [out] BOOL *pfName, + [out] BSTR *pBstrLibName); + + [local] + HRESULT FindName( + [in, out] LPOLESTR szNameBuf, + [in] ULONG lHashVal, + [out, size_is(*pcFound), length_is(*pcFound)] ITypeInfo **ppTInfo, + [out, size_is(*pcFound), length_is(*pcFound)] MEMBERID *rgMemId, + [in, out] USHORT *pcFound); + + [call_as(FindName)] + HRESULT RemoteFindName( + [in] LPOLESTR szNameBuf, + [in] ULONG lHashVal, + [out, size_is(*pcFound), length_is(*pcFound)] ITypeInfo **ppTInfo, + [out, size_is(*pcFound), length_is(*pcFound)] MEMBERID *rgMemId, + [in, out] USHORT *pcFound, + [out] BSTR *pBstrLibName); + + [local] + void ReleaseTLibAttr( + [in] TLIBATTR *pTLibAttr); + + [call_as(ReleaseTLibAttr)] + HRESULT LocalReleaseTLibAttr(); +} + +[ + object, + uuid(00020411-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ITypeLib2 : ITypeLib +{ + typedef [unique] ITypeLib2 *LPTYPELIB2; + + HRESULT GetCustData( + [in] REFGUID guid, + [out] VARIANT *pVarVal); + + [local] + HRESULT GetLibStatistics( + [out] ULONG *pcUniqueNames, + [out] ULONG *pcchUniqueNames); + + [call_as(GetLibStatistics)] + HRESULT RemoteGetLibStatistics( + [out] ULONG *pcUniqueNames, + [out] ULONG *pcchUniqueNames); + + [local] + HRESULT GetDocumentation2( + [in] INT index, + [in] LCID lcid, + [out] BSTR *pbstrHelpString, + [out] DWORD *pdwHelpStringContext, + [out] BSTR *pbstrHelpStringDll); + + [call_as(GetDocumentation2)] + HRESULT RemoteGetDocumentation2( + [in] INT index, + [in] LCID lcid, + [in] DWORD refPtrFlags, + [out] BSTR *pbstrHelpString, + [out] DWORD *pdwHelpStringContext, + [out] BSTR *pbstrHelpStringDll); + + HRESULT GetAllCustData( + [out] CUSTDATA *pCustData); +} + +[ + local, + object, + uuid(00020410-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ITypeChangeEvents : IUnknown +{ + typedef [unique] ITypeChangeEvents *LPTYPECHANGEEVENTS; + + typedef enum tagCHANGEKIND { + CHANGEKIND_ADDMEMBER, + CHANGEKIND_DELETEMEMBER, + CHANGEKIND_SETNAMES, + CHANGEKIND_SETDOCUMENTATION, + CHANGEKIND_GENERAL, + CHANGEKIND_INVALIDATE, + CHANGEKIND_CHANGEFAILED, + CHANGEKIND_MAX + } CHANGEKIND; + + HRESULT RequestTypeChange( + [in] CHANGEKIND changeKind, + [in] ITypeInfo *pTInfoBefore, + [in] LPOLESTR pStrName, + [out] INT *pfCancel); + + HRESULT AfterTypeChange( + [in] CHANGEKIND changeKind, + [in] ITypeInfo *pTInfoAfter, + [in] LPOLESTR pStrName); +} + +[ + object, + uuid(1CF2B120-547D-101B-8E65-08002B2BD119), + pointer_default(unique) +] +interface IErrorInfo : IUnknown +{ + typedef [unique] IErrorInfo *LPERRORINFO; + + HRESULT GetGUID( + [out] GUID *pGUID); + + HRESULT GetSource( + [out] BSTR *pBstrSource); + + HRESULT GetDescription( + [out] BSTR *pBstrDescription); + + HRESULT GetHelpFile( + [out] BSTR *pBstrHelpFile); + + HRESULT GetHelpContext( + [out] DWORD *pdwHelpContext); +} + +[ + object, + uuid(22F03340-547D-101B-8E65-08002B2BD119), + pointer_default(unique) +] +interface ICreateErrorInfo : IUnknown +{ + typedef [unique] ICreateErrorInfo *LPCREATEERRORINFO; + + HRESULT SetGUID( + [in] REFGUID rguid); + + HRESULT SetSource( + [in] LPOLESTR szSource); + + HRESULT SetDescription( + [in] LPOLESTR szDescription); + + HRESULT SetHelpFile( + [in] LPOLESTR szHelpFile); + + HRESULT SetHelpContext( + [in] DWORD dwHelpContext); +} + +[ + object, + uuid(DF0B3D60-548F-101B-8E65-08002B2BD119), + pointer_default(unique) +] +interface ISupportErrorInfo : IUnknown +{ + typedef [unique] ISupportErrorInfo *LPSUPPORTERRORINFO; + + HRESULT InterfaceSupportsErrorInfo( + [in] REFIID riid); +} + +[ + object, + uuid(0000002E-0000-0000-C000-000000000046) +] +interface ITypeFactory : IUnknown +{ + HRESULT CreateFromTypeInfo( + [in] ITypeInfo *pTypeInfo, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppv); +} + +[ + local, + object, + uuid(0000002D-0000-0000-C000-000000000046) +] +interface ITypeMarshal : IUnknown +{ + HRESULT Size( + [in] PVOID pvType, + [in] DWORD dwDestContext, + [in] PVOID pvDestContext, + [out] ULONG *pSize); + + HRESULT Marshal( + [in] PVOID pvType, + [in] DWORD dwDestContext, + [in] PVOID pvDestContext, + [in] ULONG cbBufferLength, + [out] BYTE *pBuffer, + [out] ULONG *pcbWritten); + + HRESULT Unmarshal( + [out] PVOID pvType, + [in] DWORD dwFlags, + [in] ULONG cbBufferLength, + [in] BYTE *pBuffer, + [out] ULONG *pcbRead); + + HRESULT Free( + [in] PVOID pvType); +} + +[ + local, + object, + uuid(0000002F-0000-0000-C000-000000000046) +] +interface IRecordInfo : IUnknown +{ + typedef [unique] IRecordInfo *LPRECORDINFO; + + HRESULT RecordInit( + [out] PVOID pvNew); + + HRESULT RecordClear( + [in] PVOID pvExisting); + + HRESULT RecordCopy( + [in] PVOID pvExisting, + [out] PVOID pvNew); + + HRESULT GetGuid( + [out] GUID *pguid); + + HRESULT GetName( + [out] BSTR *pbstrName); + + HRESULT GetSize( + [out] ULONG *pcbSize); + + HRESULT GetTypeInfo( + [out] ITypeInfo **ppTypeInfo); + + HRESULT GetField( + [in] PVOID pvData, + [in] LPCOLESTR szFieldName, + [out] VARIANT *pvarField); + + HRESULT GetFieldNoCopy( + [in] PVOID pvData, + [in] LPCOLESTR szFieldName, + [out] VARIANT *pvarField, + [out] PVOID *ppvDataCArray); + + HRESULT PutField( + [in] ULONG wFlags, + [in, out] PVOID pvData, + [in] LPCOLESTR szFieldName, + [in] VARIANT *pvarField); + + HRESULT PutFieldNoCopy( + [in] ULONG wFlags, + [in, out] PVOID pvData, + [in] LPCOLESTR szFieldName, + [in] VARIANT *pvarField); + + HRESULT GetFieldNames( + [in, out] ULONG *pcNames, + [out, size_is(*pcNames), length_is(*pcNames)] BSTR *rgBstrNames); + + BOOL IsMatchingType( + [in] IRecordInfo *pRecordInfo); + + PVOID RecordCreate(); + + HRESULT RecordCreateCopy( + [in] PVOID pvSource, + [out] PVOID *ppvDest); + + HRESULT RecordDestroy( + [in] PVOID pvRecord); +} + +[ + local, + object, + uuid(00020405-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ICreateTypeInfo : IUnknown +{ + typedef [unique] ICreateTypeInfo *LPCREATETYPEINFO; + + HRESULT SetGuid( + [in] REFGUID guid); + + HRESULT SetTypeFlags( + [in] UINT uTypeFlags); + + HRESULT SetDocString( + [in] LPOLESTR pStrDoc); + + HRESULT SetHelpContext( + [in] DWORD dwHelpContext); + + HRESULT SetVersion( + [in] WORD wMajorVerNum, + [in] WORD wMinorVerNum); + + HRESULT AddRefTypeInfo( + [in] ITypeInfo *pTInfo, + [in] HREFTYPE *phRefType); + + HRESULT AddFuncDesc( + [in] UINT index, + [in] FUNCDESC *pFuncDesc); + + HRESULT AddImplType( + [in] UINT index, + [in] HREFTYPE hRefType); + + HRESULT SetImplTypeFlags( + [in] UINT index, + [in] INT implTypeFlags); + + HRESULT SetAlignment( + [in] WORD cbAlignment); + + HRESULT SetSchema( + [in] LPOLESTR pStrSchema); + + HRESULT AddVarDesc( + [in] UINT index, + [in] VARDESC *pVarDesc); + + HRESULT SetFuncAndParamNames( + [in] UINT index, + [in, size_is(cNames)] LPOLESTR *rgszNames, + [in] UINT cNames); + + HRESULT SetVarName( + [in] UINT index, + [in] LPOLESTR szName); + + HRESULT SetTypeDescAlias( + [in] TYPEDESC *pTDescAlias); + + HRESULT DefineFuncAsDllEntry( + [in] UINT index, + [in] LPOLESTR szDllName, + [in] LPOLESTR szProcName); + + HRESULT SetFuncDocString( + [in] UINT index, + [in] LPOLESTR szDocString); + + HRESULT SetVarDocString( + [in] UINT index, + [in] LPOLESTR szDocString); + + HRESULT SetFuncHelpContext( + [in] UINT index, + [in] DWORD dwHelpContext); + + HRESULT SetVarHelpContext( + [in] UINT index, + [in] DWORD dwHelpContext); + + HRESULT SetMops( + [in] UINT index, + [in] BSTR bstrMops); + + HRESULT SetTypeIdldesc( + [in] IDLDESC * pIdlDesc); + + HRESULT LayOut(); +} + +[ + local, + object, + uuid(0002040E-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ICreateTypeInfo2 : ICreateTypeInfo +{ + typedef [unique] ICreateTypeInfo2 *LPCREATETYPEINFO2; + + HRESULT DeleteFuncDesc( + [in] UINT index); + + HRESULT DeleteFuncDescByMemId( + [in] MEMBERID memid, + [in] INVOKEKIND invKind); + + HRESULT DeleteVarDesc( + [in] UINT index); + + HRESULT DeleteVarDescByMemId( + [in] MEMBERID memid); + + HRESULT DeleteImplType( + [in] UINT index); + + HRESULT SetCustData( + [in] REFGUID guid, + [in] VARIANT *pVarVal); + + HRESULT SetFuncCustData( + [in] UINT index, + [in] REFGUID guid, + [in] VARIANT *pVarVal); + + HRESULT SetParamCustData( + [in] UINT indexFunc, + [in] UINT indexParam, + [in] REFGUID guid, + [in] VARIANT *pVarVal); + + HRESULT SetVarCustData( + [in] UINT index, + [in] REFGUID guid, + [in] VARIANT *pVarVal); + + HRESULT SetImplTypeCustData( + [in] UINT index, + [in] REFGUID guid, + [in] VARIANT *pVarVal); + + HRESULT SetHelpStringContext( + [in] ULONG dwHelpStringContext); + + HRESULT SetFuncHelpStringContext( + [in] UINT index, + [in] ULONG dwHelpStringContext); + + HRESULT SetVarHelpStringContext( + [in] UINT index, + [in] ULONG dwHelpStringContext); + + HRESULT Invalidate(); + + HRESULT SetName( + [in] LPOLESTR szName); +} + +[ + local, + object, + uuid(00020406-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ICreateTypeLib : IUnknown +{ + typedef [unique] ICreateTypeLib *LPCREATETYPELIB; + + HRESULT CreateTypeInfo( + [in] LPOLESTR szName, + [in] TYPEKIND tkind, + [out] ICreateTypeInfo **ppCTInfo); + + HRESULT SetName( + [in] LPOLESTR szName); + + HRESULT SetVersion( + [in] WORD wMajorVerNum, + [in] WORD wMinorVerNum); + + HRESULT SetGuid( + [in] REFGUID guid); + + HRESULT SetDocString( + [in] LPOLESTR szDoc); + + HRESULT SetHelpFileName( + [in] LPOLESTR szHelpFileName); + + HRESULT SetHelpContext( + [in] DWORD dwHelpContext); + + HRESULT SetLcid( + [in] LCID lcid); + + HRESULT SetLibFlags( + [in] UINT uLibFlags); + + HRESULT SaveAllChanges(); +} + +[ + local, + object, + uuid(0002040F-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ICreateTypeLib2 : ICreateTypeLib +{ + typedef [unique] ICreateTypeLib2 *LPCREATETYPELIB2; + + HRESULT DeleteTypeInfo( + [in] LPOLESTR szName); + + HRESULT SetCustData( + [in] REFGUID guid, + [in] VARIANT *pVarVal); + + HRESULT SetHelpStringContext( + [in] ULONG dwHelpStringContext); + + HRESULT SetHelpStringDll( + [in] LPOLESTR szFileName); +} + + +/***************************************************************************** + * IErrorLog interface + */ +[ + object, + uuid(3127ca40-446e-11ce-8135-00aa004bb851), + pointer_default(unique) +] +interface IErrorLog : IUnknown +{ + typedef IErrorLog *LPERRORLOG; + + HRESULT AddError( + [in] LPCOLESTR pszPropName, + [in] EXCEPINFO *pExcepInfo); +} + + +/***************************************************************************** + * IPropertyBag interface + */ +[ + object, + uuid(55272a00-42cb-11ce-8135-00aa004bb851), + pointer_default(unique) +] +interface IPropertyBag : IUnknown +{ + typedef IPropertyBag *LPPROPERTYBAG; + + [local] + HRESULT Read( + [in] LPCOLESTR pszPropName, + [in, out] VARIANT *pVar, + [in] IErrorLog *pErrorLog); + + [call_as(Read)] + HRESULT RemoteRead( + [in] LPCOLESTR pszPropName, + [out] VARIANT *pVar, + [in] IErrorLog *pErrorLog, + [in] DWORD varType, + [in] IUnknown *pUnkObj); + + HRESULT Write( + [in] LPCOLESTR pszPropName, + [in] VARIANT *pVar); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objbase.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objbase.h new file mode 100644 index 0000000..875f0e1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objbase.h @@ -0,0 +1,508 @@ +/* + * Copyright (C) 1998-1999 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include + +#ifndef _OBJBASE_H_ +#define _OBJBASE_H_ + +/***************************************************************************** + * Macros to define a COM interface + */ +/* + * The goal of the following set of definitions is to provide a way to use the same + * header file definitions to provide both a C interface and a C++ object oriented + * interface to COM interfaces. The type of interface is selected automatically + * depending on the language but it is always possible to get the C interface in C++ + * by defining CINTERFACE. + * + * It is based on the following assumptions: + * - all COM interfaces derive from IUnknown, this should not be a problem. + * - the header file only defines the interface, the actual fields are defined + * separately in the C file implementing the interface. + * + * The natural approach to this problem would be to make sure we get a C++ class and + * virtual methods in C++ and a structure with a table of pointer to functions in C. + * Unfortunately the layout of the virtual table is compiler specific, the layout of + * g++ virtual tables is not the same as that of an egcs virtual table which is not the + * same as that generated by Visual C++. There are workarounds to make the virtual tables + * compatible via padding but unfortunately the one which is imposed to the WINE emulator + * by the Windows binaries, i.e. the Visual C++ one, is the most compact of all. + * + * So the solution I finally adopted does not use virtual tables. Instead I use inline + * non virtual methods that dereference the method pointer themselves and perform the call. + * + * Let's take Direct3D as an example: + * + * #define INTERFACE IDirect3D + * DECLARE_INTERFACE_(IDirect3D,IUnknown) + * { + * // *** IUnknown methods *** // + * STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID, void**) PURE; + * STDMETHOD_(ULONG,AddRef)(THIS) PURE; + * STDMETHOD_(ULONG,Release)(THIS) PURE; + * // *** IDirect3D methods *** // + * STDMETHOD(Initialize)(THIS_ REFIID) PURE; + * STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK, LPVOID) PURE; + * STDMETHOD(CreateLight)(THIS_ LPDIRECT3DLIGHT *, IUnknown *) PURE; + * STDMETHOD(CreateMaterial)(THIS_ LPDIRECT3DMATERIAL *, IUnknown *) PURE; + * STDMETHOD(CreateViewport)(THIS_ LPDIRECT3DVIEWPORT *, IUnknown *) PURE; + * STDMETHOD(FindDevice)(THIS_ LPD3DFINDDEVICESEARCH, LPD3DFINDDEVICERESULT) PURE; + * }; + * #undef INTERFACE + * + * #ifdef COBJMACROS + * // *** IUnknown methods *** // + * #define IDirect3D_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) + * #define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p) + * #define IDirect3D_Release(p) (p)->lpVtbl->Release(p) + * // *** IDirect3D methods *** // + * #define IDirect3D_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) + * #define IDirect3D_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevice(p,a,b) + * #define IDirect3D_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b) + * #define IDirect3D_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) + * #define IDirect3D_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b) + * #define IDirect3D_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b) + * #endif + * + * Comments: + * - The INTERFACE macro is used in the STDMETHOD macros to define the type of the 'this' + * pointer. Defining this macro here saves us the trouble of having to repeat the interface + * name everywhere. Note however that because of the way macros work, a macro like STDMETHOD + * cannot use 'INTERFACE##_VTABLE' because this would give 'INTERFACE_VTABLE' and not + * 'IDirect3D_VTABLE'. + * - The DECLARE_INTERFACE declares all the structures necessary for the interface. We have to + * explicitly use the interface name for macro expansion reasons again. It defines the list of + * methods that are inheritable from this interface. It must be written manually (rather than + * using a macro to generate the equivalent code) to avoid macro recursion (which compilers + * don't like). It must start with the methods definition of the parent interface so that + * method inheritance works properly. + * - The 'undef INTERFACE' is here to remind you that using INTERFACE in the following macros + * will not work. + * - Finally the set of 'IDirect3D_Xxx' macros is a standard set of macros defined to ease access + * to the interface methods in C. Unfortunately I don't see any way to avoid having to duplicate + * the inherited method definitions there. This time I could have used a trick to use only one + * macro whatever the number of parameters but I preferred to have it work the same way as above. + * - You probably have noticed that we don't define the fields we need to actually implement this + * interface: reference count, pointer to other resources and miscellaneous fields. That's + * because these interfaces are just that: interfaces. They may be implemented more than once, in + * different contexts and sometimes not even in Wine. Thus it would not make sense to impose + * that the interface contains some specific fields. + * + * + * In C this gives: + * typedef struct IDirect3DVtbl IDirect3DVtbl; + * struct IDirect3D { + * IDirect3DVtbl* lpVtbl; + * }; + * struct IDirect3DVtbl { + * HRESULT (*QueryInterface)(IDirect3D* me, REFIID riid, LPVOID* ppvObj); + * ULONG (*AddRef)(IDirect3D* me); + * ULONG (*Release)(IDirect3D* me); + * HRESULT (*Initialize)(IDirect3D* me, REFIID a); + * HRESULT (*EnumDevices)(IDirect3D* me, LPD3DENUMDEVICESCALLBACK a, LPVOID b); + * HRESULT (*CreateLight)(IDirect3D* me, LPDIRECT3DLIGHT* a, IUnknown* b); + * HRESULT (*CreateMaterial)(IDirect3D* me, LPDIRECT3DMATERIAL* a, IUnknown* b); + * HRESULT (*CreateViewport)(IDirect3D* me, LPDIRECT3DVIEWPORT* a, IUnknown* b); + * HRESULT (*FindDevice)(IDirect3D* me, LPD3DFINDDEVICESEARCH a, LPD3DFINDDEVICERESULT b); + * }; + * + * #ifdef COBJMACROS + * // *** IUnknown methods *** // + * #define IDirect3D_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) + * #define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p) + * #define IDirect3D_Release(p) (p)->lpVtbl->Release(p) + * // *** IDirect3D methods *** // + * #define IDirect3D_Initialize(p,a) (p)->lpVtbl->Initialize(p,a) + * #define IDirect3D_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevice(p,a,b) + * #define IDirect3D_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b) + * #define IDirect3D_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b) + * #define IDirect3D_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b) + * #define IDirect3D_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b) + * #endif + * + * Comments: + * - IDirect3D only contains a pointer to the IDirect3D virtual/jump table. This is the only thing + * the user needs to know to use the interface. Of course the structure we will define to + * implement this interface will have more fields but the first one will match this pointer. + * - The code generated by DECLARE_INTERFACE defines both the structure representing the interface and + * the structure for the jump table. + * - Each method is declared as a pointer to function field in the jump table. The implementation + * will fill this jump table with appropriate values, probably using a static variable, and + * initialize the lpVtbl field to point to this variable. + * - The IDirect3D_Xxx macros then just derefence the lpVtbl pointer and use the function pointer + * corresponding to the macro name. This emulates the behavior of a virtual table and should be + * just as fast. + * - This C code should be quite compatible with the Windows headers both for code that uses COM + * interfaces and for code implementing a COM interface. + * + * + * And in C++ (with gcc's g++): + * + * typedef struct IDirect3D: public IUnknown { + * virtual HRESULT Initialize(REFIID a) = 0; + * virtual HRESULT EnumDevices(LPD3DENUMDEVICESCALLBACK a, LPVOID b) = 0; + * virtual HRESULT CreateLight(LPDIRECT3DLIGHT* a, IUnknown* b) = 0; + * virtual HRESULT CreateMaterial(LPDIRECT3DMATERIAL* a, IUnknown* b) = 0; + * virtual HRESULT CreateViewport(LPDIRECT3DVIEWPORT* a, IUnknown* b) = 0; + * virtual HRESULT FindDevice(LPD3DFINDDEVICESEARCH a, LPD3DFINDDEVICERESULT b) = 0; + * }; + * + * Comments: + * - Of course in C++ we use inheritance so that we don't have to duplicate the method definitions. + * - Finally there is no IDirect3D_Xxx macro. These are not needed in C++ unless the CINTERFACE + * macro is defined in which case we would not be here. + */ + +#if defined(__cplusplus) && !defined(CINTERFACE) + +/* C++ interface */ + +#define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method +#define STDMETHOD_(type,method) virtual type STDMETHODCALLTYPE method +#define STDMETHODV(method) virtual HRESULT STDMETHODVCALLTYPE method +#define STDMETHODV_(type,method) virtual type STDMETHODVCALLTYPE method + +#define PURE = 0 +#define THIS_ +#define THIS void + +#define interface struct +#define DECLARE_INTERFACE(iface) interface DECLSPEC_NOVTABLE iface +#define DECLARE_INTERFACE_(iface,ibase) interface DECLSPEC_NOVTABLE iface : public ibase +#define DECLARE_INTERFACE_IID_(iface, ibase, iid) interface DECLSPEC_UUID(iid) DECLSPEC_NOVTABLE iface : public ibase + +#define BEGIN_INTERFACE +#define END_INTERFACE + +#else /* __cplusplus && !CINTERFACE */ + +/* C interface */ + +#define STDMETHOD(method) HRESULT (STDMETHODCALLTYPE *method) +#define STDMETHOD_(type,method) type (STDMETHODCALLTYPE *method) +#define STDMETHODV(method) HRESULT (STDMETHODVCALLTYPE *method) +#define STDMETHODV_(type,method) type (STDMETHODVCALLTYPE *method) + +#define PURE +#define THIS_ INTERFACE *This, +#define THIS INTERFACE *This + +#define interface struct + +#ifdef __WINESRC__ +#define CONST_VTABLE +#endif + +#ifdef CONST_VTABLE +#undef CONST_VTBL +#define CONST_VTBL const +#define DECLARE_INTERFACE(iface) \ + typedef interface iface { const struct iface##Vtbl *lpVtbl; } iface; \ + typedef struct iface##Vtbl iface##Vtbl; \ + struct iface##Vtbl +#else +#undef CONST_VTBL +#define CONST_VTBL +#define DECLARE_INTERFACE(iface) \ + typedef interface iface { struct iface##Vtbl *lpVtbl; } iface; \ + typedef struct iface##Vtbl iface##Vtbl; \ + struct iface##Vtbl +#endif +#define DECLARE_INTERFACE_(iface,ibase) DECLARE_INTERFACE(iface) +#define DECLARE_INTERFACE_IID_(iface, ibase, iid) DECLARE_INTERFACE_(iface, ibase) + +#define BEGIN_INTERFACE +#define END_INTERFACE + +#endif /* __cplusplus && !CINTERFACE */ + +#ifndef __IRpcStubBuffer_FWD_DEFINED__ +#define __IRpcStubBuffer_FWD_DEFINED__ +typedef interface IRpcStubBuffer IRpcStubBuffer; +#endif +#ifndef __IRpcChannelBuffer_FWD_DEFINED__ +#define __IRpcChannelBuffer_FWD_DEFINED__ +typedef interface IRpcChannelBuffer IRpcChannelBuffer; +#endif + +#ifndef RC_INVOKED +/* For compatibility only, at least for now */ +#include +#endif + +#include +#include +#include + +#include +#ifndef INITGUID +#include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef NONAMELESSSTRUCT +#define LISet32(li, v) ((li).HighPart = (v) < 0 ? -1 : 0, (li).LowPart = (v)) +#define ULISet32(li, v) ((li).HighPart = 0, (li).LowPart = (v)) +#else +#define LISet32(li, v) ((li).u.HighPart = (v) < 0 ? -1 : 0, (li).u.LowPart = (v)) +#define ULISet32(li, v) ((li).u.HighPart = 0, (li).u.LowPart = (v)) +#endif + +/***************************************************************************** + * Standard API + */ +DWORD WINAPI CoBuildVersion(void); + +typedef enum tagCOINIT +{ + COINIT_APARTMENTTHREADED = 0x2, /* Apartment model */ + COINIT_MULTITHREADED = 0x0, /* OLE calls objects on any thread */ + COINIT_DISABLE_OLE1DDE = 0x4, /* Don't use DDE for Ole1 support */ + COINIT_SPEED_OVER_MEMORY = 0x8 /* Trade memory for speed */ +} COINIT; + +HRESULT WINAPI CoInitialize(LPVOID lpReserved); +HRESULT WINAPI CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit); +void WINAPI CoUninitialize(void); +DWORD WINAPI CoGetCurrentProcess(void); +HRESULT WINAPI CoGetCurrentLogicalThreadId(GUID *id); +HRESULT WINAPI CoGetApartmentType(APTTYPE *type, APTTYPEQUALIFIER *qualifier); + +HINSTANCE WINAPI CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree); +void WINAPI CoFreeAllLibraries(void); +void WINAPI CoFreeLibrary(HINSTANCE hLibrary); +void WINAPI CoFreeUnusedLibraries(void); +void WINAPI CoFreeUnusedLibrariesEx(DWORD dwUnloadDelay, DWORD dwReserved); + +HRESULT WINAPI CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv); +HRESULT WINAPI CoCreateInstanceEx(REFCLSID rclsid, + LPUNKNOWN pUnkOuter, + DWORD dwClsContext, + COSERVERINFO* pServerInfo, + ULONG cmq, + MULTI_QI* pResults); + +HRESULT WINAPI CoGetInstanceFromFile(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, DWORD grfMode, OLECHAR* pwszName, DWORD dwCount, MULTI_QI* pResults); +HRESULT WINAPI CoGetInstanceFromIStorage(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, IStorage* pstg, DWORD dwCount, MULTI_QI* pResults); + +HRESULT WINAPI CoGetMalloc(DWORD dwMemContext, LPMALLOC* lpMalloc); +LPVOID WINAPI CoTaskMemAlloc(SIZE_T size) __WINE_ALLOC_SIZE(1); +void WINAPI CoTaskMemFree(LPVOID ptr); +LPVOID WINAPI CoTaskMemRealloc(LPVOID ptr, SIZE_T size); + +HRESULT WINAPI CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy); +HRESULT WINAPI CoRevokeMallocSpy(void); + +HRESULT WINAPI CoGetContextToken( ULONG_PTR *token ); + +/* class registration flags; passed to CoRegisterClassObject */ +typedef enum tagREGCLS +{ + REGCLS_SINGLEUSE = 0, + REGCLS_MULTIPLEUSE = 1, + REGCLS_MULTI_SEPARATE = 2, + REGCLS_SUSPENDED = 4, + REGCLS_SURROGATE = 8 +} REGCLS; + +HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, REFIID iid, LPVOID *ppv); +HRESULT WINAPI CoRegisterClassObject(REFCLSID rclsid,LPUNKNOWN pUnk,DWORD dwClsContext,DWORD flags,LPDWORD lpdwRegister); +HRESULT WINAPI CoRevokeClassObject(DWORD dwRegister); +HRESULT WINAPI CoGetPSClsid(REFIID riid,CLSID *pclsid); +HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid); +HRESULT WINAPI CoRegisterSurrogate(LPSURROGATE pSurrogate); +HRESULT WINAPI CoSuspendClassObjects(void); +HRESULT WINAPI CoResumeClassObjects(void); +ULONG WINAPI CoAddRefServerProcess(void); +ULONG WINAPI CoReleaseServerProcess(void); + +/* marshalling */ +HRESULT WINAPI CoCreateFreeThreadedMarshaler(LPUNKNOWN punkOuter, LPUNKNOWN* ppunkMarshal); +HRESULT WINAPI CoGetInterfaceAndReleaseStream(LPSTREAM pStm, REFIID iid, LPVOID* ppv); +HRESULT WINAPI CoGetMarshalSizeMax(ULONG* pulSize, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags); +HRESULT WINAPI CoGetStandardMarshal(REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL* ppMarshal); +HRESULT WINAPI CoMarshalHresult(LPSTREAM pstm, HRESULT hresult); +HRESULT WINAPI CoMarshalInterface(LPSTREAM pStm, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags); +HRESULT WINAPI CoMarshalInterThreadInterfaceInStream(REFIID riid, LPUNKNOWN pUnk, LPSTREAM* ppStm); +HRESULT WINAPI CoReleaseMarshalData(LPSTREAM pStm); +HRESULT WINAPI CoDisconnectObject(LPUNKNOWN lpUnk, DWORD reserved); +HRESULT WINAPI CoUnmarshalHresult(LPSTREAM pstm, HRESULT* phresult); +HRESULT WINAPI CoUnmarshalInterface(LPSTREAM pStm, REFIID riid, LPVOID* ppv); +HRESULT WINAPI CoLockObjectExternal(LPUNKNOWN pUnk, BOOL fLock, BOOL fLastUnlockReleases); +BOOL WINAPI CoIsHandlerConnected(LPUNKNOWN pUnk); + +/* security */ +HRESULT WINAPI CoInitializeSecurity(PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, SOLE_AUTHENTICATION_SERVICE* asAuthSvc, void* pReserved1, DWORD dwAuthnLevel, DWORD dwImpLevel, void* pReserved2, DWORD dwCapabilities, void* pReserved3); +HRESULT WINAPI CoGetCallContext(REFIID riid, void** ppInterface); +HRESULT WINAPI CoSwitchCallContext(IUnknown *pContext, IUnknown **ppOldContext); +HRESULT WINAPI CoQueryAuthenticationServices(DWORD* pcAuthSvc, SOLE_AUTHENTICATION_SERVICE** asAuthSvc); + +HRESULT WINAPI CoQueryProxyBlanket(IUnknown* pProxy, DWORD* pwAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTH_IDENTITY_HANDLE* pAuthInfo, DWORD* pCapabilities); +HRESULT WINAPI CoSetProxyBlanket(IUnknown* pProxy, DWORD dwAuthnSvc, DWORD dwAuthzSvc, OLECHAR* pServerPrincName, DWORD dwAuthnLevel, DWORD dwImpLevel, RPC_AUTH_IDENTITY_HANDLE pAuthInfo, DWORD dwCapabilities); +HRESULT WINAPI CoCopyProxy(IUnknown* pProxy, IUnknown** ppCopy); + +HRESULT WINAPI CoImpersonateClient(void); +HRESULT WINAPI CoQueryClientBlanket(DWORD* pAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTHZ_HANDLE* pPrivs, DWORD* pCapabilities); +HRESULT WINAPI CoRevertToSelf(void); + +/* misc */ +HRESULT WINAPI CoGetTreatAsClass(REFCLSID clsidOld, LPCLSID pClsidNew); +HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew); +HRESULT WINAPI CoAllowSetForegroundWindow(IUnknown *pUnk, LPVOID lpvReserved); +HRESULT WINAPI CoGetObjectContext(REFIID riid, LPVOID *ppv); +HRESULT WINAPI CoRegisterInitializeSpy(IInitializeSpy *spy, ULARGE_INTEGER *cookie); +HRESULT WINAPI CoRevokeInitializeSpy(ULARGE_INTEGER cookie); + +HRESULT WINAPI CoCreateGuid(GUID* pguid); +BOOL WINAPI CoIsOle1Class(REFCLSID rclsid); + +BOOL WINAPI CoDosDateTimeToFileTime(WORD nDosDate, WORD nDosTime, FILETIME* lpFileTime); +BOOL WINAPI CoFileTimeToDosDateTime(FILETIME* lpFileTime, WORD* lpDosDate, WORD* lpDosTime); +HRESULT WINAPI CoFileTimeNow(FILETIME* lpFileTime); +HRESULT WINAPI CoRegisterMessageFilter(LPMESSAGEFILTER lpMessageFilter,LPMESSAGEFILTER *lplpMessageFilter); +HRESULT WINAPI CoRegisterChannelHook(REFGUID ExtensionGuid, IChannelHook *pChannelHook); + +typedef enum tagCOWAIT_FLAGS +{ + COWAIT_WAITALL = 0x00000001, + COWAIT_ALERTABLE = 0x00000002, + COWAIT_INPUTAVAILABLE = 0x00000004 +} COWAIT_FLAGS; + +HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags,DWORD dwTimeout,ULONG cHandles,LPHANDLE pHandles,LPDWORD lpdwindex); + +/***************************************************************************** + * GUID API + */ +HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR*); +HRESULT WINAPI CLSIDFromString(LPCOLESTR, LPCLSID); +HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID riid); +HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *lplpszProgID); +INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax); +HRESULT WINAPI IIDFromString(LPCOLESTR str, IID *iid); +HRESULT WINAPI StringFromIID(REFIID riid, LPOLESTR str); + +/***************************************************************************** + * COM Server dll - exports + */ +HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN; +HRESULT WINAPI DllCanUnloadNow(void) DECLSPEC_HIDDEN; + +/* shouldn't be here, but is nice for type checking */ +#ifdef __WINESRC__ +HRESULT WINAPI DllRegisterServer(void) DECLSPEC_HIDDEN; +HRESULT WINAPI DllUnregisterServer(void) DECLSPEC_HIDDEN; +#endif + + +/***************************************************************************** + * Data Object + */ +HRESULT WINAPI CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder); +HRESULT WINAPI CreateDataCache(LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID iid, LPVOID* ppv); + +/***************************************************************************** + * Moniker API + */ +HRESULT WINAPI BindMoniker(LPMONIKER pmk, DWORD grfOpt, REFIID iidResult, LPVOID* ppvResult); +HRESULT WINAPI CoGetObject(LPCWSTR pszName, BIND_OPTS *pBindOptions, REFIID riid, void **ppv); +HRESULT WINAPI CreateAntiMoniker(LPMONIKER * ppmk); +HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC* ppbc); +HRESULT WINAPI CreateClassMoniker(REFCLSID rclsid, LPMONIKER* ppmk); +HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER* ppmk); +HRESULT WINAPI CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER* ppmkComposite); +HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk); +HRESULT WINAPI CreateObjrefMoniker(LPUNKNOWN punk, LPMONIKER * ppmk); +HRESULT WINAPI CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER * ppmk); +HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid); +HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot); +HRESULT WINAPI MkParseDisplayName(LPBC pbc, LPCOLESTR szUserName, ULONG * pchEaten, LPMONIKER * ppmk); +HRESULT WINAPI MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon); +HRESULT WINAPI MonikerRelativePathTo(LPMONIKER pmkSrc, LPMONIKER pmkDest, LPMONIKER * ppmkRelPath, BOOL dwReserved); + +/***************************************************************************** + * Storage API + */ +#define STGM_DIRECT 0x00000000 +#define STGM_TRANSACTED 0x00010000 +#define STGM_SIMPLE 0x08000000 +#define STGM_READ 0x00000000 +#define STGM_WRITE 0x00000001 +#define STGM_READWRITE 0x00000002 +#define STGM_SHARE_DENY_NONE 0x00000040 +#define STGM_SHARE_DENY_READ 0x00000030 +#define STGM_SHARE_DENY_WRITE 0x00000020 +#define STGM_SHARE_EXCLUSIVE 0x00000010 +#define STGM_PRIORITY 0x00040000 +#define STGM_DELETEONRELEASE 0x04000000 +#define STGM_CREATE 0x00001000 +#define STGM_CONVERT 0x00020000 +#define STGM_FAILIFTHERE 0x00000000 +#define STGM_NOSCRATCH 0x00100000 +#define STGM_NOSNAPSHOT 0x00200000 +#define STGM_DIRECT_SWMR 0x00400000 + +#define STGFMT_STORAGE 0 +#define STGFMT_FILE 3 +#define STGFMT_ANY 4 +#define STGFMT_DOCFILE 5 + +typedef struct tagSTGOPTIONS +{ + USHORT usVersion; + USHORT reserved; + ULONG ulSectorSize; + const WCHAR* pwcsTemplateFile; +} STGOPTIONS; + +HRESULT WINAPI StgCreateDocfile(LPCOLESTR pwcsName,DWORD grfMode,DWORD reserved,IStorage **ppstgOpen); +HRESULT WINAPI StgCreateStorageEx(const WCHAR*,DWORD,DWORD,DWORD,STGOPTIONS*,void*,REFIID,void**); +HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn); +HRESULT WINAPI StgIsStorageILockBytes(ILockBytes *plkbyt); +HRESULT WINAPI StgOpenStorage(const OLECHAR* pwcsName,IStorage* pstgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage**ppstgOpen); +HRESULT WINAPI StgOpenStorageEx(const WCHAR* pwcwName,DWORD grfMode,DWORD stgfmt,DWORD grfAttrs,STGOPTIONS *pStgOptions, void *reserved, REFIID riid, void **ppObjectOpen); + +HRESULT WINAPI StgCreateDocfileOnILockBytes(ILockBytes *plkbyt,DWORD grfMode, DWORD reserved, IStorage** ppstgOpen); +HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen); +HRESULT WINAPI StgSetTimes( OLECHAR const *lpszName, FILETIME const *pctime, FILETIME const *patime, FILETIME const *pmtime); + +#ifdef __cplusplus +} +#endif + +#ifndef __WINESRC__ +# include +#endif +#include + +#ifndef __WINESRC__ + +#define FARSTRUCT +#define HUGEP + +#define WINOLEAPI STDAPI +#define WINOLEAPI_(type) STDAPI_(type) + +#endif /* __WINESRC__ */ + +#endif /* _OBJBASE_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objectarray.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objectarray.h new file mode 100644 index 0000000..eadeceb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objectarray.h @@ -0,0 +1,276 @@ +/*** Autogenerated by WIDL 2.18 from objectarray.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __objectarray_h__ +#define __objectarray_h__ + +/* Forward declarations */ + +#ifndef __IObjectArray_FWD_DEFINED__ +#define __IObjectArray_FWD_DEFINED__ +typedef interface IObjectArray IObjectArray; +#ifdef __cplusplus +interface IObjectArray; +#endif /* __cplusplus */ +#endif + +#ifndef __IObjectCollection_FWD_DEFINED__ +#define __IObjectCollection_FWD_DEFINED__ +typedef interface IObjectCollection IObjectCollection; +#ifdef __cplusplus +interface IObjectCollection; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IObjectArray interface + */ +#ifndef __IObjectArray_INTERFACE_DEFINED__ +#define __IObjectArray_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IObjectArray, 0x92ca9dcd, 0x5622, 0x4bba, 0xa8,0x05, 0x5e,0x9f,0x54,0x1b,0xd8,0xc9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("92ca9dcd-5622-4bba-a805-5e9f541bd8c9") +IObjectArray : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pcObjects) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAt( + UINT uiIndex, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjectArray, 0x92ca9dcd, 0x5622, 0x4bba, 0xa8,0x05, 0x5e,0x9f,0x54,0x1b,0xd8,0xc9) +#endif +#else +typedef struct IObjectArrayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjectArray *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjectArray *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjectArray *This); + + /*** IObjectArray methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IObjectArray *This, + UINT *pcObjects); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IObjectArray *This, + UINT uiIndex, + REFIID riid, + void **ppv); + + END_INTERFACE +} IObjectArrayVtbl; + +interface IObjectArray { + CONST_VTBL IObjectArrayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjectArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjectArray_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjectArray_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectArray methods ***/ +#define IObjectArray_GetCount(This,pcObjects) (This)->lpVtbl->GetCount(This,pcObjects) +#define IObjectArray_GetAt(This,uiIndex,riid,ppv) (This)->lpVtbl->GetAt(This,uiIndex,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjectArray_QueryInterface(IObjectArray* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjectArray_AddRef(IObjectArray* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjectArray_Release(IObjectArray* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectArray methods ***/ +static FORCEINLINE HRESULT IObjectArray_GetCount(IObjectArray* This,UINT *pcObjects) { + return This->lpVtbl->GetCount(This,pcObjects); +} +static FORCEINLINE HRESULT IObjectArray_GetAt(IObjectArray* This,UINT uiIndex,REFIID riid,void **ppv) { + return This->lpVtbl->GetAt(This,uiIndex,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IObjectArray_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IObjectCollection interface + */ +#ifndef __IObjectCollection_INTERFACE_DEFINED__ +#define __IObjectCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IObjectCollection, 0x5632b1a4, 0xe38a, 0x400a, 0x92,0x8a, 0xd4,0xcd,0x63,0x23,0x02,0x95); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5632b1a4-e38a-400a-928a-d4cd63230295") +IObjectCollection : public IObjectArray +{ + virtual HRESULT STDMETHODCALLTYPE AddObject( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFromArray( + IObjectArray *poaSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveObjectAt( + UINT uiIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjectCollection, 0x5632b1a4, 0xe38a, 0x400a, 0x92,0x8a, 0xd4,0xcd,0x63,0x23,0x02,0x95) +#endif +#else +typedef struct IObjectCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjectCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjectCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjectCollection *This); + + /*** IObjectArray methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IObjectCollection *This, + UINT *pcObjects); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IObjectCollection *This, + UINT uiIndex, + REFIID riid, + void **ppv); + + /*** IObjectCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *AddObject)( + IObjectCollection *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *AddFromArray)( + IObjectCollection *This, + IObjectArray *poaSource); + + HRESULT (STDMETHODCALLTYPE *RemoveObjectAt)( + IObjectCollection *This, + UINT uiIndex); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IObjectCollection *This); + + END_INTERFACE +} IObjectCollectionVtbl; + +interface IObjectCollection { + CONST_VTBL IObjectCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjectCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjectCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjectCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectArray methods ***/ +#define IObjectCollection_GetCount(This,pcObjects) (This)->lpVtbl->GetCount(This,pcObjects) +#define IObjectCollection_GetAt(This,uiIndex,riid,ppv) (This)->lpVtbl->GetAt(This,uiIndex,riid,ppv) +/*** IObjectCollection methods ***/ +#define IObjectCollection_AddObject(This,punk) (This)->lpVtbl->AddObject(This,punk) +#define IObjectCollection_AddFromArray(This,poaSource) (This)->lpVtbl->AddFromArray(This,poaSource) +#define IObjectCollection_RemoveObjectAt(This,uiIndex) (This)->lpVtbl->RemoveObjectAt(This,uiIndex) +#define IObjectCollection_Clear(This) (This)->lpVtbl->Clear(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjectCollection_QueryInterface(IObjectCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjectCollection_AddRef(IObjectCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjectCollection_Release(IObjectCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectArray methods ***/ +static FORCEINLINE HRESULT IObjectCollection_GetCount(IObjectCollection* This,UINT *pcObjects) { + return This->lpVtbl->GetCount(This,pcObjects); +} +static FORCEINLINE HRESULT IObjectCollection_GetAt(IObjectCollection* This,UINT uiIndex,REFIID riid,void **ppv) { + return This->lpVtbl->GetAt(This,uiIndex,riid,ppv); +} +/*** IObjectCollection methods ***/ +static FORCEINLINE HRESULT IObjectCollection_AddObject(IObjectCollection* This,IUnknown *punk) { + return This->lpVtbl->AddObject(This,punk); +} +static FORCEINLINE HRESULT IObjectCollection_AddFromArray(IObjectCollection* This,IObjectArray *poaSource) { + return This->lpVtbl->AddFromArray(This,poaSource); +} +static FORCEINLINE HRESULT IObjectCollection_RemoveObjectAt(IObjectCollection* This,UINT uiIndex) { + return This->lpVtbl->RemoveObjectAt(This,uiIndex); +} +static FORCEINLINE HRESULT IObjectCollection_Clear(IObjectCollection* This) { + return This->lpVtbl->Clear(This); +} +#endif +#endif + +#endif + + +#endif /* __IObjectCollection_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __objectarray_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objectarray.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objectarray.idl new file mode 100644 index 0000000..0112503 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objectarray.idl @@ -0,0 +1,47 @@ +/* + * Copyright 2011 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +[ + uuid(92ca9dcd-5622-4bba-a805-5e9f541bd8c9), + object, + pointer_default(unique) +] +interface IObjectArray : IUnknown +{ + HRESULT GetCount([out] UINT *pcObjects); + HRESULT GetAt( + [in] UINT uiIndex, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); +} + +[ + uuid(5632b1a4-e38a-400a-928a-d4cd63230295), + object, + pointer_default(unique) +] +interface IObjectCollection : IObjectArray +{ + HRESULT AddObject([in] IUnknown *punk); + HRESULT AddFromArray([in] IObjectArray *poaSource); + HRESULT RemoveObjectAt([in] UINT uiIndex); + HRESULT Clear(); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objidl.h new file mode 100644 index 0000000..c2f7ca0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objidl.h @@ -0,0 +1,11180 @@ +/*** Autogenerated by WIDL 2.18 from objidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __objidl_h__ +#define __objidl_h__ + +/* Forward declarations */ + +#ifndef __IMarshal_FWD_DEFINED__ +#define __IMarshal_FWD_DEFINED__ +typedef interface IMarshal IMarshal; +#ifdef __cplusplus +interface IMarshal; +#endif /* __cplusplus */ +#endif + +#ifndef __IMarshal2_FWD_DEFINED__ +#define __IMarshal2_FWD_DEFINED__ +typedef interface IMarshal2 IMarshal2; +#ifdef __cplusplus +interface IMarshal2; +#endif /* __cplusplus */ +#endif + +#ifndef __IStdMarshalInfo_FWD_DEFINED__ +#define __IStdMarshalInfo_FWD_DEFINED__ +typedef interface IStdMarshalInfo IStdMarshalInfo; +#ifdef __cplusplus +interface IStdMarshalInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IExternalConnection_FWD_DEFINED__ +#define __IExternalConnection_FWD_DEFINED__ +typedef interface IExternalConnection IExternalConnection; +#ifdef __cplusplus +interface IExternalConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __IMultiQI_FWD_DEFINED__ +#define __IMultiQI_FWD_DEFINED__ +typedef interface IMultiQI IMultiQI; +#ifdef __cplusplus +interface IMultiQI; +#endif /* __cplusplus */ +#endif + +#ifndef __IMalloc_FWD_DEFINED__ +#define __IMalloc_FWD_DEFINED__ +typedef interface IMalloc IMalloc; +#ifdef __cplusplus +interface IMalloc; +#endif /* __cplusplus */ +#endif + +#ifndef __IMallocSpy_FWD_DEFINED__ +#define __IMallocSpy_FWD_DEFINED__ +typedef interface IMallocSpy IMallocSpy; +#ifdef __cplusplus +interface IMallocSpy; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternalUnknown_FWD_DEFINED__ +#define __IInternalUnknown_FWD_DEFINED__ +typedef interface IInternalUnknown IInternalUnknown; +#ifdef __cplusplus +interface IInternalUnknown; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumUnknown_FWD_DEFINED__ +#define __IEnumUnknown_FWD_DEFINED__ +typedef interface IEnumUnknown IEnumUnknown; +#ifdef __cplusplus +interface IEnumUnknown; +#endif /* __cplusplus */ +#endif + +#ifndef __ISurrogate_FWD_DEFINED__ +#define __ISurrogate_FWD_DEFINED__ +typedef interface ISurrogate ISurrogate; +#ifdef __cplusplus +interface ISurrogate; +#endif /* __cplusplus */ +#endif + +#ifndef __IGlobalInterfaceTable_FWD_DEFINED__ +#define __IGlobalInterfaceTable_FWD_DEFINED__ +typedef interface IGlobalInterfaceTable IGlobalInterfaceTable; +#ifdef __cplusplus +interface IGlobalInterfaceTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindCtx_FWD_DEFINED__ +#define __IBindCtx_FWD_DEFINED__ +typedef interface IBindCtx IBindCtx; +#ifdef __cplusplus +interface IBindCtx; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumMoniker_FWD_DEFINED__ +#define __IEnumMoniker_FWD_DEFINED__ +typedef interface IEnumMoniker IEnumMoniker; +#ifdef __cplusplus +interface IEnumMoniker; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunnableObject_FWD_DEFINED__ +#define __IRunnableObject_FWD_DEFINED__ +typedef interface IRunnableObject IRunnableObject; +#ifdef __cplusplus +interface IRunnableObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunningObjectTable_FWD_DEFINED__ +#define __IRunningObjectTable_FWD_DEFINED__ +typedef interface IRunningObjectTable IRunningObjectTable; +#ifdef __cplusplus +interface IRunningObjectTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersist_FWD_DEFINED__ +#define __IPersist_FWD_DEFINED__ +typedef interface IPersist IPersist; +#ifdef __cplusplus +interface IPersist; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistStream_FWD_DEFINED__ +#define __IPersistStream_FWD_DEFINED__ +typedef interface IPersistStream IPersistStream; +#ifdef __cplusplus +interface IPersistStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IMoniker_FWD_DEFINED__ +#define __IMoniker_FWD_DEFINED__ +typedef interface IMoniker IMoniker; +#ifdef __cplusplus +interface IMoniker; +#endif /* __cplusplus */ +#endif + +#ifndef __IROTData_FWD_DEFINED__ +#define __IROTData_FWD_DEFINED__ +typedef interface IROTData IROTData; +#ifdef __cplusplus +interface IROTData; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumString_FWD_DEFINED__ +#define __IEnumString_FWD_DEFINED__ +typedef interface IEnumString IEnumString; +#ifdef __cplusplus +interface IEnumString; +#endif /* __cplusplus */ +#endif + +#ifndef __IClassActivator_FWD_DEFINED__ +#define __IClassActivator_FWD_DEFINED__ +typedef interface IClassActivator IClassActivator; +#ifdef __cplusplus +interface IClassActivator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISequentialStream_FWD_DEFINED__ +#define __ISequentialStream_FWD_DEFINED__ +typedef interface ISequentialStream ISequentialStream; +#ifdef __cplusplus +interface ISequentialStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IStream_FWD_DEFINED__ +#define __IStream_FWD_DEFINED__ +typedef interface IStream IStream; +#ifdef __cplusplus +interface IStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumSTATSTG_FWD_DEFINED__ +#define __IEnumSTATSTG_FWD_DEFINED__ +typedef interface IEnumSTATSTG IEnumSTATSTG; +#ifdef __cplusplus +interface IEnumSTATSTG; +#endif /* __cplusplus */ +#endif + +#ifndef __IStorage_FWD_DEFINED__ +#define __IStorage_FWD_DEFINED__ +typedef interface IStorage IStorage; +#ifdef __cplusplus +interface IStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistFile_FWD_DEFINED__ +#define __IPersistFile_FWD_DEFINED__ +typedef interface IPersistFile IPersistFile; +#ifdef __cplusplus +interface IPersistFile; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistStorage_FWD_DEFINED__ +#define __IPersistStorage_FWD_DEFINED__ +typedef interface IPersistStorage IPersistStorage; +#ifdef __cplusplus +interface IPersistStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IRootStorage_FWD_DEFINED__ +#define __IRootStorage_FWD_DEFINED__ +typedef interface IRootStorage IRootStorage; +#ifdef __cplusplus +interface IRootStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __ILockBytes_FWD_DEFINED__ +#define __ILockBytes_FWD_DEFINED__ +typedef interface ILockBytes ILockBytes; +#ifdef __cplusplus +interface ILockBytes; +#endif /* __cplusplus */ +#endif + +#ifndef __IFillLockBytes_FWD_DEFINED__ +#define __IFillLockBytes_FWD_DEFINED__ +typedef interface IFillLockBytes IFillLockBytes; +#ifdef __cplusplus +interface IFillLockBytes; +#endif /* __cplusplus */ +#endif + +#ifndef __IProgressNotify_FWD_DEFINED__ +#define __IProgressNotify_FWD_DEFINED__ +typedef interface IProgressNotify IProgressNotify; +#ifdef __cplusplus +interface IProgressNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __ILayoutStorage_FWD_DEFINED__ +#define __ILayoutStorage_FWD_DEFINED__ +typedef interface ILayoutStorage ILayoutStorage; +#ifdef __cplusplus +interface ILayoutStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IBlockingLock_FWD_DEFINED__ +#define __IBlockingLock_FWD_DEFINED__ +typedef interface IBlockingLock IBlockingLock; +#ifdef __cplusplus +interface IBlockingLock; +#endif /* __cplusplus */ +#endif + +#ifndef __ITimeAndNoticeControl_FWD_DEFINED__ +#define __ITimeAndNoticeControl_FWD_DEFINED__ +typedef interface ITimeAndNoticeControl ITimeAndNoticeControl; +#ifdef __cplusplus +interface ITimeAndNoticeControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IOplockStorage_FWD_DEFINED__ +#define __IOplockStorage_FWD_DEFINED__ +typedef interface IOplockStorage IOplockStorage; +#ifdef __cplusplus +interface IOplockStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumFORMATETC_FWD_DEFINED__ +#define __IEnumFORMATETC_FWD_DEFINED__ +typedef interface IEnumFORMATETC IEnumFORMATETC; +#ifdef __cplusplus +interface IEnumFORMATETC; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumSTATDATA_FWD_DEFINED__ +#define __IEnumSTATDATA_FWD_DEFINED__ +typedef interface IEnumSTATDATA IEnumSTATDATA; +#ifdef __cplusplus +interface IEnumSTATDATA; +#endif /* __cplusplus */ +#endif + +#ifndef __IAdviseSink_FWD_DEFINED__ +#define __IAdviseSink_FWD_DEFINED__ +typedef interface IAdviseSink IAdviseSink; +#ifdef __cplusplus +interface IAdviseSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IAdviseSink2_FWD_DEFINED__ +#define __IAdviseSink2_FWD_DEFINED__ +typedef interface IAdviseSink2 IAdviseSink2; +#ifdef __cplusplus +interface IAdviseSink2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDataObject_FWD_DEFINED__ +#define __IDataObject_FWD_DEFINED__ +typedef interface IDataObject IDataObject; +#ifdef __cplusplus +interface IDataObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IDataAdviseHolder_FWD_DEFINED__ +#define __IDataAdviseHolder_FWD_DEFINED__ +typedef interface IDataAdviseHolder IDataAdviseHolder; +#ifdef __cplusplus +interface IDataAdviseHolder; +#endif /* __cplusplus */ +#endif + +#ifndef __IMessageFilter_FWD_DEFINED__ +#define __IMessageFilter_FWD_DEFINED__ +typedef interface IMessageFilter IMessageFilter; +#ifdef __cplusplus +interface IMessageFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcChannelBuffer_FWD_DEFINED__ +#define __IRpcChannelBuffer_FWD_DEFINED__ +typedef interface IRpcChannelBuffer IRpcChannelBuffer; +#ifdef __cplusplus +interface IRpcChannelBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcChannelBuffer2_FWD_DEFINED__ +#define __IRpcChannelBuffer2_FWD_DEFINED__ +typedef interface IRpcChannelBuffer2 IRpcChannelBuffer2; +#ifdef __cplusplus +interface IRpcChannelBuffer2; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcChannelBuffer3_FWD_DEFINED__ +#define __IRpcChannelBuffer3_FWD_DEFINED__ +typedef interface IRpcChannelBuffer3 IRpcChannelBuffer3; +#ifdef __cplusplus +interface IRpcChannelBuffer3; +#endif /* __cplusplus */ +#endif + +#ifndef __IAsyncRpcChannelBuffer_FWD_DEFINED__ +#define __IAsyncRpcChannelBuffer_FWD_DEFINED__ +typedef interface IAsyncRpcChannelBuffer IAsyncRpcChannelBuffer; +#ifdef __cplusplus +interface IAsyncRpcChannelBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcSyntaxNegotiate_FWD_DEFINED__ +#define __IRpcSyntaxNegotiate_FWD_DEFINED__ +typedef interface IRpcSyntaxNegotiate IRpcSyntaxNegotiate; +#ifdef __cplusplus +interface IRpcSyntaxNegotiate; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcProxyBuffer_FWD_DEFINED__ +#define __IRpcProxyBuffer_FWD_DEFINED__ +typedef interface IRpcProxyBuffer IRpcProxyBuffer; +#ifdef __cplusplus +interface IRpcProxyBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcStubBuffer_FWD_DEFINED__ +#define __IRpcStubBuffer_FWD_DEFINED__ +typedef interface IRpcStubBuffer IRpcStubBuffer; +#ifdef __cplusplus +interface IRpcStubBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IPSFactoryBuffer_FWD_DEFINED__ +#define __IPSFactoryBuffer_FWD_DEFINED__ +typedef interface IPSFactoryBuffer IPSFactoryBuffer; +#ifdef __cplusplus +interface IPSFactoryBuffer; +#endif /* __cplusplus */ +#endif + +#ifndef __IChannelHook_FWD_DEFINED__ +#define __IChannelHook_FWD_DEFINED__ +typedef interface IChannelHook IChannelHook; +#ifdef __cplusplus +interface IChannelHook; +#endif /* __cplusplus */ +#endif + +#ifndef __IClientSecurity_FWD_DEFINED__ +#define __IClientSecurity_FWD_DEFINED__ +typedef interface IClientSecurity IClientSecurity; +#ifdef __cplusplus +interface IClientSecurity; +#endif /* __cplusplus */ +#endif + +#ifndef __IServerSecurity_FWD_DEFINED__ +#define __IServerSecurity_FWD_DEFINED__ +typedef interface IServerSecurity IServerSecurity; +#ifdef __cplusplus +interface IServerSecurity; +#endif /* __cplusplus */ +#endif + +#ifndef __IAsyncSetup_FWD_DEFINED__ +#define __IAsyncSetup_FWD_DEFINED__ +typedef interface IAsyncSetup IAsyncSetup; +#ifdef __cplusplus +interface IAsyncSetup; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirectWriterLock_FWD_DEFINED__ +#define __IDirectWriterLock_FWD_DEFINED__ +typedef interface IDirectWriterLock IDirectWriterLock; +#ifdef __cplusplus +interface IDirectWriterLock; +#endif /* __cplusplus */ +#endif + +#ifndef __ISynchronize_FWD_DEFINED__ +#define __ISynchronize_FWD_DEFINED__ +typedef interface ISynchronize ISynchronize; +#ifdef __cplusplus +interface ISynchronize; +#endif /* __cplusplus */ +#endif + +#ifndef __ISynchronizeHandle_FWD_DEFINED__ +#define __ISynchronizeHandle_FWD_DEFINED__ +typedef interface ISynchronizeHandle ISynchronizeHandle; +#ifdef __cplusplus +interface ISynchronizeHandle; +#endif /* __cplusplus */ +#endif + +#ifndef __ISynchronizeEvent_FWD_DEFINED__ +#define __ISynchronizeEvent_FWD_DEFINED__ +typedef interface ISynchronizeEvent ISynchronizeEvent; +#ifdef __cplusplus +interface ISynchronizeEvent; +#endif /* __cplusplus */ +#endif + +#ifndef __ISynchronizeContainer_FWD_DEFINED__ +#define __ISynchronizeContainer_FWD_DEFINED__ +typedef interface ISynchronizeContainer ISynchronizeContainer; +#ifdef __cplusplus +interface ISynchronizeContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __ISynchronizeMutex_FWD_DEFINED__ +#define __ISynchronizeMutex_FWD_DEFINED__ +typedef interface ISynchronizeMutex ISynchronizeMutex; +#ifdef __cplusplus +interface ISynchronizeMutex; +#endif /* __cplusplus */ +#endif + +#ifndef __ICancelMethodCalls_FWD_DEFINED__ +#define __ICancelMethodCalls_FWD_DEFINED__ +typedef interface ICancelMethodCalls ICancelMethodCalls; +#ifdef __cplusplus +interface ICancelMethodCalls; +#endif /* __cplusplus */ +#endif + +#ifndef __IAsyncManager_FWD_DEFINED__ +#define __IAsyncManager_FWD_DEFINED__ +typedef interface IAsyncManager IAsyncManager; +#ifdef __cplusplus +interface IAsyncManager; +#endif /* __cplusplus */ +#endif + +#ifndef __ICallFactory_FWD_DEFINED__ +#define __ICallFactory_FWD_DEFINED__ +typedef interface ICallFactory ICallFactory; +#ifdef __cplusplus +interface ICallFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcOptions_FWD_DEFINED__ +#define __IRpcOptions_FWD_DEFINED__ +typedef interface IRpcOptions IRpcOptions; +#ifdef __cplusplus +interface IRpcOptions; +#endif /* __cplusplus */ +#endif + +#ifndef __IRpcHelper_FWD_DEFINED__ +#define __IRpcHelper_FWD_DEFINED__ +typedef interface IRpcHelper IRpcHelper; +#ifdef __cplusplus +interface IRpcHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __IReleaseMarshalBuffers_FWD_DEFINED__ +#define __IReleaseMarshalBuffers_FWD_DEFINED__ +typedef interface IReleaseMarshalBuffers IReleaseMarshalBuffers; +#ifdef __cplusplus +interface IReleaseMarshalBuffers; +#endif /* __cplusplus */ +#endif + +#ifndef __IWaitMultiple_FWD_DEFINED__ +#define __IWaitMultiple_FWD_DEFINED__ +typedef interface IWaitMultiple IWaitMultiple; +#ifdef __cplusplus +interface IWaitMultiple; +#endif /* __cplusplus */ +#endif + +#ifndef __IUrlMon_FWD_DEFINED__ +#define __IUrlMon_FWD_DEFINED__ +typedef interface IUrlMon IUrlMon; +#ifdef __cplusplus +interface IUrlMon; +#endif /* __cplusplus */ +#endif + +#ifndef __IForegroundTransfer_FWD_DEFINED__ +#define __IForegroundTransfer_FWD_DEFINED__ +typedef interface IForegroundTransfer IForegroundTransfer; +#ifdef __cplusplus +interface IForegroundTransfer; +#endif /* __cplusplus */ +#endif + +#ifndef __IAddrTrackingControl_FWD_DEFINED__ +#define __IAddrTrackingControl_FWD_DEFINED__ +typedef interface IAddrTrackingControl IAddrTrackingControl; +#ifdef __cplusplus +interface IAddrTrackingControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IAddrExclusionControl_FWD_DEFINED__ +#define __IAddrExclusionControl_FWD_DEFINED__ +typedef interface IAddrExclusionControl IAddrExclusionControl; +#ifdef __cplusplus +interface IAddrExclusionControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IComThreadingInfo_FWD_DEFINED__ +#define __IComThreadingInfo_FWD_DEFINED__ +typedef interface IComThreadingInfo IComThreadingInfo; +#ifdef __cplusplus +interface IComThreadingInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IProcessInitControl_FWD_DEFINED__ +#define __IProcessInitControl_FWD_DEFINED__ +typedef interface IProcessInitControl IProcessInitControl; +#ifdef __cplusplus +interface IProcessInitControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IInitializeSpy_FWD_DEFINED__ +#define __IInitializeSpy_FWD_DEFINED__ +typedef interface IInitializeSpy IInitializeSpy; +#ifdef __cplusplus +interface IInitializeSpy; +#endif /* __cplusplus */ +#endif + +#ifndef __IThumbnailExtractor_FWD_DEFINED__ +#define __IThumbnailExtractor_FWD_DEFINED__ +typedef interface IThumbnailExtractor IThumbnailExtractor; +#ifdef __cplusplus +interface IThumbnailExtractor; +#endif /* __cplusplus */ +#endif + +#ifndef __IGlobalOptions_FWD_DEFINED__ +#define __IGlobalOptions_FWD_DEFINED__ +typedef interface IGlobalOptions IGlobalOptions; +#ifdef __cplusplus +interface IGlobalOptions; +#endif /* __cplusplus */ +#endif + +#ifndef __IDummyHICONIncluder_FWD_DEFINED__ +#define __IDummyHICONIncluder_FWD_DEFINED__ +typedef interface IDummyHICONIncluder IDummyHICONIncluder; +#ifdef __cplusplus +interface IDummyHICONIncluder; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumContextProps_FWD_DEFINED__ +#define __IEnumContextProps_FWD_DEFINED__ +typedef interface IEnumContextProps IEnumContextProps; +#ifdef __cplusplus +interface IEnumContextProps; +#endif /* __cplusplus */ +#endif + +#ifndef __IContext_FWD_DEFINED__ +#define __IContext_FWD_DEFINED__ +typedef interface IContext IContext; +#ifdef __cplusplus +interface IContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IObjContext_FWD_DEFINED__ +#define __IObjContext_FWD_DEFINED__ +typedef interface IObjContext IObjContext; +#ifdef __cplusplus +interface IObjContext; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IStream_FWD_DEFINED__ +#define __IStream_FWD_DEFINED__ +typedef interface IStream IStream; +#ifdef __cplusplus +interface IStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumString_FWD_DEFINED__ +#define __IEnumString_FWD_DEFINED__ +typedef interface IEnumString IEnumString; +#ifdef __cplusplus +interface IEnumString; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunningObjectTable_FWD_DEFINED__ +#define __IRunningObjectTable_FWD_DEFINED__ +typedef interface IRunningObjectTable IRunningObjectTable; +#ifdef __cplusplus +interface IRunningObjectTable; +#endif /* __cplusplus */ +#endif + +#ifndef __IMoniker_FWD_DEFINED__ +#define __IMoniker_FWD_DEFINED__ +typedef interface IMoniker IMoniker; +#ifdef __cplusplus +interface IMoniker; +#endif /* __cplusplus */ +#endif + +#ifndef __IAdviseSink_FWD_DEFINED__ +#define __IAdviseSink_FWD_DEFINED__ +typedef interface IAdviseSink IAdviseSink; +#ifdef __cplusplus +interface IAdviseSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IAsyncManager_FWD_DEFINED__ +#define __IAsyncManager_FWD_DEFINED__ +typedef interface IAsyncManager IAsyncManager; +#ifdef __cplusplus +interface IAsyncManager; +#endif /* __cplusplus */ +#endif + +#ifndef __ISynchronize_FWD_DEFINED__ +#define __ISynchronize_FWD_DEFINED__ +typedef interface ISynchronize ISynchronize; +#ifdef __cplusplus +interface ISynchronize; +#endif /* __cplusplus */ +#endif + +typedef struct _COSERVERINFO { + DWORD dwReserved1; + LPWSTR pwszName; + COAUTHINFO *pAuthInfo; + DWORD dwReserved2; +} COSERVERINFO; +/***************************************************************************** + * IMarshal interface + */ +#ifndef __IMarshal_INTERFACE_DEFINED__ +#define __IMarshal_INTERFACE_DEFINED__ + +typedef IMarshal *LPMARSHAL; +DEFINE_GUID(IID_IMarshal, 0x00000003, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000003-0000-0000-c000-000000000046") +IMarshal : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetUnmarshalClass( + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags, + CLSID *pCid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax( + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags, + DWORD *pSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE MarshalInterface( + IStream *pStm, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnmarshalInterface( + IStream *pStm, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData( + IStream *pStm) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisconnectObject( + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMarshal, 0x00000003, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMarshalVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMarshal *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMarshal *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMarshal *This); + + /*** IMarshal methods ***/ + HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)( + IMarshal *This, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags, + CLSID *pCid); + + HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)( + IMarshal *This, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags, + DWORD *pSize); + + HRESULT (STDMETHODCALLTYPE *MarshalInterface)( + IMarshal *This, + IStream *pStm, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags); + + HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)( + IMarshal *This, + IStream *pStm, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)( + IMarshal *This, + IStream *pStm); + + HRESULT (STDMETHODCALLTYPE *DisconnectObject)( + IMarshal *This, + DWORD dwReserved); + + END_INTERFACE +} IMarshalVtbl; + +interface IMarshal { + CONST_VTBL IMarshalVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMarshal_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMarshal_Release(This) (This)->lpVtbl->Release(This) +/*** IMarshal methods ***/ +#define IMarshal_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) +#define IMarshal_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) +#define IMarshal_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) +#define IMarshal_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv) +#define IMarshal_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm) +#define IMarshal_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMarshal_QueryInterface(IMarshal* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMarshal_AddRef(IMarshal* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMarshal_Release(IMarshal* This) { + return This->lpVtbl->Release(This); +} +/*** IMarshal methods ***/ +static FORCEINLINE HRESULT IMarshal_GetUnmarshalClass(IMarshal* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,CLSID *pCid) { + return This->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid); +} +static FORCEINLINE HRESULT IMarshal_GetMarshalSizeMax(IMarshal* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,DWORD *pSize) { + return This->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize); +} +static FORCEINLINE HRESULT IMarshal_MarshalInterface(IMarshal* This,IStream *pStm,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags) { + return This->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags); +} +static FORCEINLINE HRESULT IMarshal_UnmarshalInterface(IMarshal* This,IStream *pStm,REFIID riid,void **ppv) { + return This->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv); +} +static FORCEINLINE HRESULT IMarshal_ReleaseMarshalData(IMarshal* This,IStream *pStm) { + return This->lpVtbl->ReleaseMarshalData(This,pStm); +} +static FORCEINLINE HRESULT IMarshal_DisconnectObject(IMarshal* This,DWORD dwReserved) { + return This->lpVtbl->DisconnectObject(This,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IMarshal_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMarshal2 interface + */ +#ifndef __IMarshal2_INTERFACE_DEFINED__ +#define __IMarshal2_INTERFACE_DEFINED__ + +typedef IMarshal2 *LPMARSHAL2; +DEFINE_GUID(IID_IMarshal2, 0x000001cf, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000001cf-0000-0000-c000-000000000046") +IMarshal2 : public IMarshal +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMarshal2, 0x000001cf, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMarshal2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMarshal2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMarshal2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMarshal2 *This); + + /*** IMarshal methods ***/ + HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)( + IMarshal2 *This, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags, + CLSID *pCid); + + HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)( + IMarshal2 *This, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags, + DWORD *pSize); + + HRESULT (STDMETHODCALLTYPE *MarshalInterface)( + IMarshal2 *This, + IStream *pStm, + REFIID riid, + void *pv, + DWORD dwDestContext, + void *pvDestContext, + DWORD mshlflags); + + HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)( + IMarshal2 *This, + IStream *pStm, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)( + IMarshal2 *This, + IStream *pStm); + + HRESULT (STDMETHODCALLTYPE *DisconnectObject)( + IMarshal2 *This, + DWORD dwReserved); + + END_INTERFACE +} IMarshal2Vtbl; + +interface IMarshal2 { + CONST_VTBL IMarshal2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMarshal2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMarshal2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMarshal2_Release(This) (This)->lpVtbl->Release(This) +/*** IMarshal methods ***/ +#define IMarshal2_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) +#define IMarshal2_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) +#define IMarshal2_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) +#define IMarshal2_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv) +#define IMarshal2_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm) +#define IMarshal2_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMarshal2_QueryInterface(IMarshal2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMarshal2_AddRef(IMarshal2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMarshal2_Release(IMarshal2* This) { + return This->lpVtbl->Release(This); +} +/*** IMarshal methods ***/ +static FORCEINLINE HRESULT IMarshal2_GetUnmarshalClass(IMarshal2* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,CLSID *pCid) { + return This->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid); +} +static FORCEINLINE HRESULT IMarshal2_GetMarshalSizeMax(IMarshal2* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,DWORD *pSize) { + return This->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize); +} +static FORCEINLINE HRESULT IMarshal2_MarshalInterface(IMarshal2* This,IStream *pStm,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags) { + return This->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags); +} +static FORCEINLINE HRESULT IMarshal2_UnmarshalInterface(IMarshal2* This,IStream *pStm,REFIID riid,void **ppv) { + return This->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv); +} +static FORCEINLINE HRESULT IMarshal2_ReleaseMarshalData(IMarshal2* This,IStream *pStm) { + return This->lpVtbl->ReleaseMarshalData(This,pStm); +} +static FORCEINLINE HRESULT IMarshal2_DisconnectObject(IMarshal2* This,DWORD dwReserved) { + return This->lpVtbl->DisconnectObject(This,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IMarshal2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IStdMarshalInfo interface + */ +#ifndef __IStdMarshalInfo_INTERFACE_DEFINED__ +#define __IStdMarshalInfo_INTERFACE_DEFINED__ + +typedef IStdMarshalInfo *LPSTDMARSHALINFO; +DEFINE_GUID(IID_IStdMarshalInfo, 0x00000018, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000018-0000-0000-c000-000000000046") +IStdMarshalInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClassForHandler( + DWORD dwDestContext, + void *pvDestContext, + CLSID *pClsid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IStdMarshalInfo, 0x00000018, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IStdMarshalInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IStdMarshalInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IStdMarshalInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IStdMarshalInfo *This); + + /*** IStdMarshalInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassForHandler)( + IStdMarshalInfo *This, + DWORD dwDestContext, + void *pvDestContext, + CLSID *pClsid); + + END_INTERFACE +} IStdMarshalInfoVtbl; + +interface IStdMarshalInfo { + CONST_VTBL IStdMarshalInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IStdMarshalInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IStdMarshalInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IStdMarshalInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IStdMarshalInfo methods ***/ +#define IStdMarshalInfo_GetClassForHandler(This,dwDestContext,pvDestContext,pClsid) (This)->lpVtbl->GetClassForHandler(This,dwDestContext,pvDestContext,pClsid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IStdMarshalInfo_QueryInterface(IStdMarshalInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IStdMarshalInfo_AddRef(IStdMarshalInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IStdMarshalInfo_Release(IStdMarshalInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IStdMarshalInfo methods ***/ +static FORCEINLINE HRESULT IStdMarshalInfo_GetClassForHandler(IStdMarshalInfo* This,DWORD dwDestContext,void *pvDestContext,CLSID *pClsid) { + return This->lpVtbl->GetClassForHandler(This,dwDestContext,pvDestContext,pClsid); +} +#endif +#endif + +#endif + + +#endif /* __IStdMarshalInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IExternalConnection interface + */ +#ifndef __IExternalConnection_INTERFACE_DEFINED__ +#define __IExternalConnection_INTERFACE_DEFINED__ + +typedef IExternalConnection *LPEXTERNALCONNECTION; +typedef enum tagEXTCONN { + EXTCONN_STRONG = 0x1, + EXTCONN_WEAK = 0x2, + EXTCONN_CALLABLE = 0x4 +} EXTCONN; +DEFINE_GUID(IID_IExternalConnection, 0x00000019, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000019-0000-0000-c000-000000000046") +IExternalConnection : public IUnknown +{ + virtual DWORD STDMETHODCALLTYPE AddConnection( + DWORD extconn, + DWORD reserved) = 0; + + virtual DWORD STDMETHODCALLTYPE ReleaseConnection( + DWORD extconn, + DWORD reserved, + BOOL fLastReleaseCloses) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExternalConnection, 0x00000019, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IExternalConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExternalConnection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExternalConnection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExternalConnection *This); + + /*** IExternalConnection methods ***/ + DWORD (STDMETHODCALLTYPE *AddConnection)( + IExternalConnection *This, + DWORD extconn, + DWORD reserved); + + DWORD (STDMETHODCALLTYPE *ReleaseConnection)( + IExternalConnection *This, + DWORD extconn, + DWORD reserved, + BOOL fLastReleaseCloses); + + END_INTERFACE +} IExternalConnectionVtbl; + +interface IExternalConnection { + CONST_VTBL IExternalConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExternalConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExternalConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExternalConnection_Release(This) (This)->lpVtbl->Release(This) +/*** IExternalConnection methods ***/ +#define IExternalConnection_AddConnection(This,extconn,reserved) (This)->lpVtbl->AddConnection(This,extconn,reserved) +#define IExternalConnection_ReleaseConnection(This,extconn,reserved,fLastReleaseCloses) (This)->lpVtbl->ReleaseConnection(This,extconn,reserved,fLastReleaseCloses) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExternalConnection_QueryInterface(IExternalConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExternalConnection_AddRef(IExternalConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExternalConnection_Release(IExternalConnection* This) { + return This->lpVtbl->Release(This); +} +/*** IExternalConnection methods ***/ +static FORCEINLINE DWORD IExternalConnection_AddConnection(IExternalConnection* This,DWORD extconn,DWORD reserved) { + return This->lpVtbl->AddConnection(This,extconn,reserved); +} +static FORCEINLINE DWORD IExternalConnection_ReleaseConnection(IExternalConnection* This,DWORD extconn,DWORD reserved,BOOL fLastReleaseCloses) { + return This->lpVtbl->ReleaseConnection(This,extconn,reserved,fLastReleaseCloses); +} +#endif +#endif + +#endif + + +#endif /* __IExternalConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMultiQI interface + */ +#ifndef __IMultiQI_INTERFACE_DEFINED__ +#define __IMultiQI_INTERFACE_DEFINED__ + +typedef IMultiQI *LPMULTIQI; +typedef struct tagMULTI_QI { + const IID *pIID; + IUnknown *pItf; + HRESULT hr; +} MULTI_QI; +DEFINE_GUID(IID_IMultiQI, 0x00000020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000020-0000-0000-c000-000000000046") +IMultiQI : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryMultipleInterfaces( + ULONG cMQIs, + MULTI_QI *pMQIs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMultiQI, 0x00000020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMultiQIVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMultiQI *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMultiQI *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMultiQI *This); + + /*** IMultiQI methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryMultipleInterfaces)( + IMultiQI *This, + ULONG cMQIs, + MULTI_QI *pMQIs); + + END_INTERFACE +} IMultiQIVtbl; + +interface IMultiQI { + CONST_VTBL IMultiQIVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMultiQI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMultiQI_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMultiQI_Release(This) (This)->lpVtbl->Release(This) +/*** IMultiQI methods ***/ +#define IMultiQI_QueryMultipleInterfaces(This,cMQIs,pMQIs) (This)->lpVtbl->QueryMultipleInterfaces(This,cMQIs,pMQIs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMultiQI_QueryInterface(IMultiQI* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMultiQI_AddRef(IMultiQI* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMultiQI_Release(IMultiQI* This) { + return This->lpVtbl->Release(This); +} +/*** IMultiQI methods ***/ +static FORCEINLINE HRESULT IMultiQI_QueryMultipleInterfaces(IMultiQI* This,ULONG cMQIs,MULTI_QI *pMQIs) { + return This->lpVtbl->QueryMultipleInterfaces(This,cMQIs,pMQIs); +} +#endif +#endif + +#endif + + +#endif /* __IMultiQI_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMalloc interface + */ +#ifndef __IMalloc_INTERFACE_DEFINED__ +#define __IMalloc_INTERFACE_DEFINED__ + +typedef IMalloc *LPMALLOC; +DEFINE_GUID(IID_IMalloc, 0x00000002, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000002-0000-0000-c000-000000000046") +IMalloc : public IUnknown +{ + virtual LPVOID STDMETHODCALLTYPE Alloc( + SIZE_T cb) = 0; + + virtual LPVOID STDMETHODCALLTYPE Realloc( + LPVOID pv, + SIZE_T cb) = 0; + + virtual void STDMETHODCALLTYPE Free( + LPVOID pv) = 0; + + virtual SIZE_T STDMETHODCALLTYPE GetSize( + LPVOID pv) = 0; + + virtual int STDMETHODCALLTYPE DidAlloc( + LPVOID pv) = 0; + + virtual void STDMETHODCALLTYPE HeapMinimize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMalloc, 0x00000002, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMallocVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMalloc *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMalloc *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMalloc *This); + + /*** IMalloc methods ***/ + LPVOID (STDMETHODCALLTYPE *Alloc)( + IMalloc *This, + SIZE_T cb); + + LPVOID (STDMETHODCALLTYPE *Realloc)( + IMalloc *This, + LPVOID pv, + SIZE_T cb); + + void (STDMETHODCALLTYPE *Free)( + IMalloc *This, + LPVOID pv); + + SIZE_T (STDMETHODCALLTYPE *GetSize)( + IMalloc *This, + LPVOID pv); + + int (STDMETHODCALLTYPE *DidAlloc)( + IMalloc *This, + LPVOID pv); + + void (STDMETHODCALLTYPE *HeapMinimize)( + IMalloc *This); + + END_INTERFACE +} IMallocVtbl; + +interface IMalloc { + CONST_VTBL IMallocVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMalloc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMalloc_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMalloc_Release(This) (This)->lpVtbl->Release(This) +/*** IMalloc methods ***/ +#define IMalloc_Alloc(This,cb) (This)->lpVtbl->Alloc(This,cb) +#define IMalloc_Realloc(This,pv,cb) (This)->lpVtbl->Realloc(This,pv,cb) +#define IMalloc_Free(This,pv) (This)->lpVtbl->Free(This,pv) +#define IMalloc_GetSize(This,pv) (This)->lpVtbl->GetSize(This,pv) +#define IMalloc_DidAlloc(This,pv) (This)->lpVtbl->DidAlloc(This,pv) +#define IMalloc_HeapMinimize(This) (This)->lpVtbl->HeapMinimize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMalloc_QueryInterface(IMalloc* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMalloc_AddRef(IMalloc* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMalloc_Release(IMalloc* This) { + return This->lpVtbl->Release(This); +} +/*** IMalloc methods ***/ +static FORCEINLINE LPVOID IMalloc_Alloc(IMalloc* This,SIZE_T cb) { + return This->lpVtbl->Alloc(This,cb); +} +static FORCEINLINE LPVOID IMalloc_Realloc(IMalloc* This,LPVOID pv,SIZE_T cb) { + return This->lpVtbl->Realloc(This,pv,cb); +} +static FORCEINLINE void IMalloc_Free(IMalloc* This,LPVOID pv) { + This->lpVtbl->Free(This,pv); +} +static FORCEINLINE SIZE_T IMalloc_GetSize(IMalloc* This,LPVOID pv) { + return This->lpVtbl->GetSize(This,pv); +} +static FORCEINLINE int IMalloc_DidAlloc(IMalloc* This,LPVOID pv) { + return This->lpVtbl->DidAlloc(This,pv); +} +static FORCEINLINE void IMalloc_HeapMinimize(IMalloc* This) { + This->lpVtbl->HeapMinimize(This); +} +#endif +#endif + +#endif + + +#endif /* __IMalloc_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMallocSpy interface + */ +#ifndef __IMallocSpy_INTERFACE_DEFINED__ +#define __IMallocSpy_INTERFACE_DEFINED__ + +typedef IMallocSpy *LPMALLOCSPY; +DEFINE_GUID(IID_IMallocSpy, 0x0000001d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000001d-0000-0000-c000-000000000046") +IMallocSpy : public IUnknown +{ + virtual SIZE_T STDMETHODCALLTYPE PreAlloc( + SIZE_T cbRequest) = 0; + + virtual LPVOID STDMETHODCALLTYPE PostAlloc( + LPVOID pActual) = 0; + + virtual LPVOID STDMETHODCALLTYPE PreFree( + LPVOID pRequest, + BOOL fSpyed) = 0; + + virtual void STDMETHODCALLTYPE PostFree( + BOOL fSpyed) = 0; + + virtual SIZE_T STDMETHODCALLTYPE PreRealloc( + LPVOID pRequest, + SIZE_T cbRequest, + LPVOID *ppNewRequest, + BOOL fSpyed) = 0; + + virtual LPVOID STDMETHODCALLTYPE PostRealloc( + LPVOID pActual, + BOOL fSpyed) = 0; + + virtual LPVOID STDMETHODCALLTYPE PreGetSize( + LPVOID pRequest, + BOOL fSpyed) = 0; + + virtual SIZE_T STDMETHODCALLTYPE PostGetSize( + SIZE_T cbActual, + BOOL fSpyed) = 0; + + virtual LPVOID STDMETHODCALLTYPE PreDidAlloc( + LPVOID pRequest, + BOOL fSpyed) = 0; + + virtual int STDMETHODCALLTYPE PostDidAlloc( + LPVOID pRequest, + BOOL fSpyed, + int fActual) = 0; + + virtual void STDMETHODCALLTYPE PreHeapMinimize( + ) = 0; + + virtual void STDMETHODCALLTYPE PostHeapMinimize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMallocSpy, 0x0000001d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMallocSpyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMallocSpy *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMallocSpy *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMallocSpy *This); + + /*** IMallocSpy methods ***/ + SIZE_T (STDMETHODCALLTYPE *PreAlloc)( + IMallocSpy *This, + SIZE_T cbRequest); + + LPVOID (STDMETHODCALLTYPE *PostAlloc)( + IMallocSpy *This, + LPVOID pActual); + + LPVOID (STDMETHODCALLTYPE *PreFree)( + IMallocSpy *This, + LPVOID pRequest, + BOOL fSpyed); + + void (STDMETHODCALLTYPE *PostFree)( + IMallocSpy *This, + BOOL fSpyed); + + SIZE_T (STDMETHODCALLTYPE *PreRealloc)( + IMallocSpy *This, + LPVOID pRequest, + SIZE_T cbRequest, + LPVOID *ppNewRequest, + BOOL fSpyed); + + LPVOID (STDMETHODCALLTYPE *PostRealloc)( + IMallocSpy *This, + LPVOID pActual, + BOOL fSpyed); + + LPVOID (STDMETHODCALLTYPE *PreGetSize)( + IMallocSpy *This, + LPVOID pRequest, + BOOL fSpyed); + + SIZE_T (STDMETHODCALLTYPE *PostGetSize)( + IMallocSpy *This, + SIZE_T cbActual, + BOOL fSpyed); + + LPVOID (STDMETHODCALLTYPE *PreDidAlloc)( + IMallocSpy *This, + LPVOID pRequest, + BOOL fSpyed); + + int (STDMETHODCALLTYPE *PostDidAlloc)( + IMallocSpy *This, + LPVOID pRequest, + BOOL fSpyed, + int fActual); + + void (STDMETHODCALLTYPE *PreHeapMinimize)( + IMallocSpy *This); + + void (STDMETHODCALLTYPE *PostHeapMinimize)( + IMallocSpy *This); + + END_INTERFACE +} IMallocSpyVtbl; + +interface IMallocSpy { + CONST_VTBL IMallocSpyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMallocSpy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMallocSpy_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMallocSpy_Release(This) (This)->lpVtbl->Release(This) +/*** IMallocSpy methods ***/ +#define IMallocSpy_PreAlloc(This,cbRequest) (This)->lpVtbl->PreAlloc(This,cbRequest) +#define IMallocSpy_PostAlloc(This,pActual) (This)->lpVtbl->PostAlloc(This,pActual) +#define IMallocSpy_PreFree(This,pRequest,fSpyed) (This)->lpVtbl->PreFree(This,pRequest,fSpyed) +#define IMallocSpy_PostFree(This,fSpyed) (This)->lpVtbl->PostFree(This,fSpyed) +#define IMallocSpy_PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed) (This)->lpVtbl->PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed) +#define IMallocSpy_PostRealloc(This,pActual,fSpyed) (This)->lpVtbl->PostRealloc(This,pActual,fSpyed) +#define IMallocSpy_PreGetSize(This,pRequest,fSpyed) (This)->lpVtbl->PreGetSize(This,pRequest,fSpyed) +#define IMallocSpy_PostGetSize(This,cbActual,fSpyed) (This)->lpVtbl->PostGetSize(This,cbActual,fSpyed) +#define IMallocSpy_PreDidAlloc(This,pRequest,fSpyed) (This)->lpVtbl->PreDidAlloc(This,pRequest,fSpyed) +#define IMallocSpy_PostDidAlloc(This,pRequest,fSpyed,fActual) (This)->lpVtbl->PostDidAlloc(This,pRequest,fSpyed,fActual) +#define IMallocSpy_PreHeapMinimize(This) (This)->lpVtbl->PreHeapMinimize(This) +#define IMallocSpy_PostHeapMinimize(This) (This)->lpVtbl->PostHeapMinimize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMallocSpy_QueryInterface(IMallocSpy* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMallocSpy_AddRef(IMallocSpy* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMallocSpy_Release(IMallocSpy* This) { + return This->lpVtbl->Release(This); +} +/*** IMallocSpy methods ***/ +static FORCEINLINE SIZE_T IMallocSpy_PreAlloc(IMallocSpy* This,SIZE_T cbRequest) { + return This->lpVtbl->PreAlloc(This,cbRequest); +} +static FORCEINLINE LPVOID IMallocSpy_PostAlloc(IMallocSpy* This,LPVOID pActual) { + return This->lpVtbl->PostAlloc(This,pActual); +} +static FORCEINLINE LPVOID IMallocSpy_PreFree(IMallocSpy* This,LPVOID pRequest,BOOL fSpyed) { + return This->lpVtbl->PreFree(This,pRequest,fSpyed); +} +static FORCEINLINE void IMallocSpy_PostFree(IMallocSpy* This,BOOL fSpyed) { + This->lpVtbl->PostFree(This,fSpyed); +} +static FORCEINLINE SIZE_T IMallocSpy_PreRealloc(IMallocSpy* This,LPVOID pRequest,SIZE_T cbRequest,LPVOID *ppNewRequest,BOOL fSpyed) { + return This->lpVtbl->PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed); +} +static FORCEINLINE LPVOID IMallocSpy_PostRealloc(IMallocSpy* This,LPVOID pActual,BOOL fSpyed) { + return This->lpVtbl->PostRealloc(This,pActual,fSpyed); +} +static FORCEINLINE LPVOID IMallocSpy_PreGetSize(IMallocSpy* This,LPVOID pRequest,BOOL fSpyed) { + return This->lpVtbl->PreGetSize(This,pRequest,fSpyed); +} +static FORCEINLINE SIZE_T IMallocSpy_PostGetSize(IMallocSpy* This,SIZE_T cbActual,BOOL fSpyed) { + return This->lpVtbl->PostGetSize(This,cbActual,fSpyed); +} +static FORCEINLINE LPVOID IMallocSpy_PreDidAlloc(IMallocSpy* This,LPVOID pRequest,BOOL fSpyed) { + return This->lpVtbl->PreDidAlloc(This,pRequest,fSpyed); +} +static FORCEINLINE int IMallocSpy_PostDidAlloc(IMallocSpy* This,LPVOID pRequest,BOOL fSpyed,int fActual) { + return This->lpVtbl->PostDidAlloc(This,pRequest,fSpyed,fActual); +} +static FORCEINLINE void IMallocSpy_PreHeapMinimize(IMallocSpy* This) { + This->lpVtbl->PreHeapMinimize(This); +} +static FORCEINLINE void IMallocSpy_PostHeapMinimize(IMallocSpy* This) { + This->lpVtbl->PostHeapMinimize(This); +} +#endif +#endif + +#endif + + +#endif /* __IMallocSpy_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternalUnknown interface + */ +#ifndef __IInternalUnknown_INTERFACE_DEFINED__ +#define __IInternalUnknown_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternalUnknown, 0x00000021, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000021-0000-0000-c000-000000000046") +IInternalUnknown : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryInternalInterface( + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternalUnknown, 0x00000021, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IInternalUnknownVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternalUnknown *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternalUnknown *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternalUnknown *This); + + /*** IInternalUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInternalInterface)( + IInternalUnknown *This, + REFIID riid, + void **ppv); + + END_INTERFACE +} IInternalUnknownVtbl; + +interface IInternalUnknown { + CONST_VTBL IInternalUnknownVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternalUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternalUnknown_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternalUnknown_Release(This) (This)->lpVtbl->Release(This) +/*** IInternalUnknown methods ***/ +#define IInternalUnknown_QueryInternalInterface(This,riid,ppv) (This)->lpVtbl->QueryInternalInterface(This,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternalUnknown_QueryInterface(IInternalUnknown* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternalUnknown_AddRef(IInternalUnknown* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternalUnknown_Release(IInternalUnknown* This) { + return This->lpVtbl->Release(This); +} +/*** IInternalUnknown methods ***/ +static FORCEINLINE HRESULT IInternalUnknown_QueryInternalInterface(IInternalUnknown* This,REFIID riid,void **ppv) { + return This->lpVtbl->QueryInternalInterface(This,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IInternalUnknown_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumUnknown interface + */ +#ifndef __IEnumUnknown_INTERFACE_DEFINED__ +#define __IEnumUnknown_INTERFACE_DEFINED__ + +typedef IEnumUnknown *LPENUMUNKNOWN; +DEFINE_GUID(IID_IEnumUnknown, 0x00000100, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000100-0000-0000-c000-000000000046") +IEnumUnknown : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumUnknown **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumUnknown, 0x00000100, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumUnknownVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumUnknown *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumUnknown *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumUnknown *This); + + /*** IEnumUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumUnknown *This, + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumUnknown *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumUnknown *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumUnknown *This, + IEnumUnknown **ppenum); + + END_INTERFACE +} IEnumUnknownVtbl; + +interface IEnumUnknown { + CONST_VTBL IEnumUnknownVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumUnknown_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumUnknown_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumUnknown methods ***/ +#define IEnumUnknown_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumUnknown_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumUnknown_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumUnknown_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumUnknown_QueryInterface(IEnumUnknown* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumUnknown_AddRef(IEnumUnknown* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumUnknown_Release(IEnumUnknown* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumUnknown methods ***/ +static FORCEINLINE HRESULT IEnumUnknown_Next(IEnumUnknown* This,ULONG celt,IUnknown **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumUnknown_Skip(IEnumUnknown* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumUnknown_Reset(IEnumUnknown* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumUnknown_Clone(IEnumUnknown* This,IEnumUnknown **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Proxy( + IEnumUnknown* This, + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumUnknown_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumUnknown_Next_Proxy( + IEnumUnknown* This, + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumUnknown_Next_Stub( + IEnumUnknown* This, + ULONG celt, + IUnknown **rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumUnknown_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISurrogate interface + */ +#ifndef __ISurrogate_INTERFACE_DEFINED__ +#define __ISurrogate_INTERFACE_DEFINED__ + +typedef ISurrogate *LPSURROGATE; +DEFINE_GUID(IID_ISurrogate, 0x00000022, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000022-0000-0000-c000-000000000046") +ISurrogate : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE LoadDllServer( + REFCLSID Clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeSurrogate( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISurrogate, 0x00000022, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ISurrogateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISurrogate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISurrogate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISurrogate *This); + + /*** ISurrogate methods ***/ + HRESULT (STDMETHODCALLTYPE *LoadDllServer)( + ISurrogate *This, + REFCLSID Clsid); + + HRESULT (STDMETHODCALLTYPE *FreeSurrogate)( + ISurrogate *This); + + END_INTERFACE +} ISurrogateVtbl; + +interface ISurrogate { + CONST_VTBL ISurrogateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISurrogate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISurrogate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISurrogate_Release(This) (This)->lpVtbl->Release(This) +/*** ISurrogate methods ***/ +#define ISurrogate_LoadDllServer(This,Clsid) (This)->lpVtbl->LoadDllServer(This,Clsid) +#define ISurrogate_FreeSurrogate(This) (This)->lpVtbl->FreeSurrogate(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISurrogate_QueryInterface(ISurrogate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISurrogate_AddRef(ISurrogate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISurrogate_Release(ISurrogate* This) { + return This->lpVtbl->Release(This); +} +/*** ISurrogate methods ***/ +static FORCEINLINE HRESULT ISurrogate_LoadDllServer(ISurrogate* This,REFCLSID Clsid) { + return This->lpVtbl->LoadDllServer(This,Clsid); +} +static FORCEINLINE HRESULT ISurrogate_FreeSurrogate(ISurrogate* This) { + return This->lpVtbl->FreeSurrogate(This); +} +#endif +#endif + +#endif + + +#endif /* __ISurrogate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGlobalInterfaceTable interface + */ +#ifndef __IGlobalInterfaceTable_INTERFACE_DEFINED__ +#define __IGlobalInterfaceTable_INTERFACE_DEFINED__ + +typedef IGlobalInterfaceTable *LPGLOBALINTERFACETABLE; +DEFINE_GUID(IID_IGlobalInterfaceTable, 0x00000146, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000146-0000-0000-c000-000000000046") +IGlobalInterfaceTable : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterInterfaceInGlobal( + IUnknown *pUnk, + REFIID riid, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RevokeInterfaceFromGlobal( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInterfaceFromGlobal( + DWORD dwCookie, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGlobalInterfaceTable, 0x00000146, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IGlobalInterfaceTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGlobalInterfaceTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGlobalInterfaceTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGlobalInterfaceTable *This); + + /*** IGlobalInterfaceTable methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterInterfaceInGlobal)( + IGlobalInterfaceTable *This, + IUnknown *pUnk, + REFIID riid, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *RevokeInterfaceFromGlobal)( + IGlobalInterfaceTable *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *GetInterfaceFromGlobal)( + IGlobalInterfaceTable *This, + DWORD dwCookie, + REFIID riid, + void **ppv); + + END_INTERFACE +} IGlobalInterfaceTableVtbl; + +interface IGlobalInterfaceTable { + CONST_VTBL IGlobalInterfaceTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGlobalInterfaceTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGlobalInterfaceTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGlobalInterfaceTable_Release(This) (This)->lpVtbl->Release(This) +/*** IGlobalInterfaceTable methods ***/ +#define IGlobalInterfaceTable_RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie) (This)->lpVtbl->RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie) +#define IGlobalInterfaceTable_RevokeInterfaceFromGlobal(This,dwCookie) (This)->lpVtbl->RevokeInterfaceFromGlobal(This,dwCookie) +#define IGlobalInterfaceTable_GetInterfaceFromGlobal(This,dwCookie,riid,ppv) (This)->lpVtbl->GetInterfaceFromGlobal(This,dwCookie,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGlobalInterfaceTable_QueryInterface(IGlobalInterfaceTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGlobalInterfaceTable_AddRef(IGlobalInterfaceTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGlobalInterfaceTable_Release(IGlobalInterfaceTable* This) { + return This->lpVtbl->Release(This); +} +/*** IGlobalInterfaceTable methods ***/ +static FORCEINLINE HRESULT IGlobalInterfaceTable_RegisterInterfaceInGlobal(IGlobalInterfaceTable* This,IUnknown *pUnk,REFIID riid,DWORD *pdwCookie) { + return This->lpVtbl->RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie); +} +static FORCEINLINE HRESULT IGlobalInterfaceTable_RevokeInterfaceFromGlobal(IGlobalInterfaceTable* This,DWORD dwCookie) { + return This->lpVtbl->RevokeInterfaceFromGlobal(This,dwCookie); +} +static FORCEINLINE HRESULT IGlobalInterfaceTable_GetInterfaceFromGlobal(IGlobalInterfaceTable* This,DWORD dwCookie,REFIID riid,void **ppv) { + return This->lpVtbl->GetInterfaceFromGlobal(This,dwCookie,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IGlobalInterfaceTable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBindCtx interface + */ +#ifndef __IBindCtx_INTERFACE_DEFINED__ +#define __IBindCtx_INTERFACE_DEFINED__ + +typedef IBindCtx *LPBINDCTX; +typedef IBindCtx *LPBC; +typedef struct tagBIND_OPTS { + DWORD cbStruct; + DWORD grfFlags; + DWORD grfMode; + DWORD dwTickCountDeadline; +} BIND_OPTS; +typedef struct tagBIND_OPTS *LPBIND_OPTS; +typedef struct tagBIND_OPTS2 { + DWORD cbStruct; + DWORD grfFlags; + DWORD grfMode; + DWORD dwTickCountDeadline; + DWORD dwTrackFlags; + DWORD dwClassContext; + LCID locale; + COSERVERINFO *pServerInfo; +} BIND_OPTS2; +typedef struct tagBIND_OPTS2 *LPBIND_OPTS2; +typedef struct tagBIND_OPTS3 { + DWORD cbStruct; + DWORD grfFlags; + DWORD grfMode; + DWORD dwTickCountDeadline; + DWORD dwTrackFlags; + DWORD dwClassContext; + LCID locale; + COSERVERINFO *pServerInfo; + HWND hwnd; +} BIND_OPTS3; +typedef struct tagBIND_OPTS3 *LPBIND_OPTS3; +typedef enum tagBIND_FLAGS { + BIND_MAYBOTHERUSER = 1, + BIND_JUSTTESTEXISTENCE = 2 +} BIND_FLAGS; +DEFINE_GUID(IID_IBindCtx, 0x0000000e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000000e-0000-0000-c000-000000000046") +IBindCtx : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterObjectBound( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE RevokeObjectBound( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseBoundObjects( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBindOptions( + BIND_OPTS *pbindopts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBindOptions( + BIND_OPTS *pbindopts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRunningObjectTable( + IRunningObjectTable **pprot) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterObjectParam( + LPOLESTR pszKey, + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectParam( + LPOLESTR pszKey, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumObjectParam( + IEnumString **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE RevokeObjectParam( + LPOLESTR pszKey) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindCtx, 0x0000000e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IBindCtxVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindCtx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindCtx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindCtx *This); + + /*** IBindCtx methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterObjectBound)( + IBindCtx *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *RevokeObjectBound)( + IBindCtx *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *ReleaseBoundObjects)( + IBindCtx *This); + + HRESULT (STDMETHODCALLTYPE *SetBindOptions)( + IBindCtx *This, + BIND_OPTS *pbindopts); + + HRESULT (STDMETHODCALLTYPE *GetBindOptions)( + IBindCtx *This, + BIND_OPTS *pbindopts); + + HRESULT (STDMETHODCALLTYPE *GetRunningObjectTable)( + IBindCtx *This, + IRunningObjectTable **pprot); + + HRESULT (STDMETHODCALLTYPE *RegisterObjectParam)( + IBindCtx *This, + LPOLESTR pszKey, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *GetObjectParam)( + IBindCtx *This, + LPOLESTR pszKey, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *EnumObjectParam)( + IBindCtx *This, + IEnumString **ppenum); + + HRESULT (STDMETHODCALLTYPE *RevokeObjectParam)( + IBindCtx *This, + LPOLESTR pszKey); + + END_INTERFACE +} IBindCtxVtbl; + +interface IBindCtx { + CONST_VTBL IBindCtxVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindCtx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindCtx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindCtx_Release(This) (This)->lpVtbl->Release(This) +/*** IBindCtx methods ***/ +#define IBindCtx_RegisterObjectBound(This,punk) (This)->lpVtbl->RegisterObjectBound(This,punk) +#define IBindCtx_RevokeObjectBound(This,punk) (This)->lpVtbl->RevokeObjectBound(This,punk) +#define IBindCtx_ReleaseBoundObjects(This) (This)->lpVtbl->ReleaseBoundObjects(This) +#define IBindCtx_SetBindOptions(This,pbindopts) (This)->lpVtbl->SetBindOptions(This,pbindopts) +#define IBindCtx_GetBindOptions(This,pbindopts) (This)->lpVtbl->GetBindOptions(This,pbindopts) +#define IBindCtx_GetRunningObjectTable(This,pprot) (This)->lpVtbl->GetRunningObjectTable(This,pprot) +#define IBindCtx_RegisterObjectParam(This,pszKey,punk) (This)->lpVtbl->RegisterObjectParam(This,pszKey,punk) +#define IBindCtx_GetObjectParam(This,pszKey,ppunk) (This)->lpVtbl->GetObjectParam(This,pszKey,ppunk) +#define IBindCtx_EnumObjectParam(This,ppenum) (This)->lpVtbl->EnumObjectParam(This,ppenum) +#define IBindCtx_RevokeObjectParam(This,pszKey) (This)->lpVtbl->RevokeObjectParam(This,pszKey) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindCtx_QueryInterface(IBindCtx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindCtx_AddRef(IBindCtx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindCtx_Release(IBindCtx* This) { + return This->lpVtbl->Release(This); +} +/*** IBindCtx methods ***/ +static FORCEINLINE HRESULT IBindCtx_RegisterObjectBound(IBindCtx* This,IUnknown *punk) { + return This->lpVtbl->RegisterObjectBound(This,punk); +} +static FORCEINLINE HRESULT IBindCtx_RevokeObjectBound(IBindCtx* This,IUnknown *punk) { + return This->lpVtbl->RevokeObjectBound(This,punk); +} +static FORCEINLINE HRESULT IBindCtx_ReleaseBoundObjects(IBindCtx* This) { + return This->lpVtbl->ReleaseBoundObjects(This); +} +static FORCEINLINE HRESULT IBindCtx_SetBindOptions(IBindCtx* This,BIND_OPTS *pbindopts) { + return This->lpVtbl->SetBindOptions(This,pbindopts); +} +static FORCEINLINE HRESULT IBindCtx_GetBindOptions(IBindCtx* This,BIND_OPTS *pbindopts) { + return This->lpVtbl->GetBindOptions(This,pbindopts); +} +static FORCEINLINE HRESULT IBindCtx_GetRunningObjectTable(IBindCtx* This,IRunningObjectTable **pprot) { + return This->lpVtbl->GetRunningObjectTable(This,pprot); +} +static FORCEINLINE HRESULT IBindCtx_RegisterObjectParam(IBindCtx* This,LPOLESTR pszKey,IUnknown *punk) { + return This->lpVtbl->RegisterObjectParam(This,pszKey,punk); +} +static FORCEINLINE HRESULT IBindCtx_GetObjectParam(IBindCtx* This,LPOLESTR pszKey,IUnknown **ppunk) { + return This->lpVtbl->GetObjectParam(This,pszKey,ppunk); +} +static FORCEINLINE HRESULT IBindCtx_EnumObjectParam(IBindCtx* This,IEnumString **ppenum) { + return This->lpVtbl->EnumObjectParam(This,ppenum); +} +static FORCEINLINE HRESULT IBindCtx_RevokeObjectParam(IBindCtx* This,LPOLESTR pszKey) { + return This->lpVtbl->RevokeObjectParam(This,pszKey); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IBindCtx_RemoteSetBindOptions_Proxy( + IBindCtx* This, + BIND_OPTS2 *pbindopts); +void __RPC_STUB IBindCtx_RemoteSetBindOptions_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IBindCtx_RemoteGetBindOptions_Proxy( + IBindCtx* This, + BIND_OPTS2 *pbindopts); +void __RPC_STUB IBindCtx_RemoteGetBindOptions_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IBindCtx_SetBindOptions_Proxy( + IBindCtx* This, + BIND_OPTS *pbindopts); +HRESULT __RPC_STUB IBindCtx_SetBindOptions_Stub( + IBindCtx* This, + BIND_OPTS2 *pbindopts); +HRESULT CALLBACK IBindCtx_GetBindOptions_Proxy( + IBindCtx* This, + BIND_OPTS *pbindopts); +HRESULT __RPC_STUB IBindCtx_GetBindOptions_Stub( + IBindCtx* This, + BIND_OPTS2 *pbindopts); + +#endif /* __IBindCtx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumMoniker interface + */ +#ifndef __IEnumMoniker_INTERFACE_DEFINED__ +#define __IEnumMoniker_INTERFACE_DEFINED__ + +typedef IEnumMoniker *LPENUMMONIKER; +DEFINE_GUID(IID_IEnumMoniker, 0x00000102, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000102-0000-0000-c000-000000000046") +IEnumMoniker : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IMoniker **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumMoniker **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumMoniker, 0x00000102, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumMonikerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumMoniker *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumMoniker *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumMoniker *This); + + /*** IEnumMoniker methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumMoniker *This, + ULONG celt, + IMoniker **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumMoniker *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumMoniker *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumMoniker *This, + IEnumMoniker **ppenum); + + END_INTERFACE +} IEnumMonikerVtbl; + +interface IEnumMoniker { + CONST_VTBL IEnumMonikerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumMoniker_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumMoniker_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumMoniker methods ***/ +#define IEnumMoniker_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumMoniker_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumMoniker_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumMoniker_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumMoniker_QueryInterface(IEnumMoniker* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumMoniker_AddRef(IEnumMoniker* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumMoniker_Release(IEnumMoniker* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumMoniker methods ***/ +static FORCEINLINE HRESULT IEnumMoniker_Next(IEnumMoniker* This,ULONG celt,IMoniker **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumMoniker_Skip(IEnumMoniker* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumMoniker_Reset(IEnumMoniker* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumMoniker_Clone(IEnumMoniker* This,IEnumMoniker **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumMoniker_RemoteNext_Proxy( + IEnumMoniker* This, + ULONG celt, + IMoniker **rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumMoniker_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumMoniker_Next_Proxy( + IEnumMoniker* This, + ULONG celt, + IMoniker **rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumMoniker_Next_Stub( + IEnumMoniker* This, + ULONG celt, + IMoniker **rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumMoniker_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRunnableObject interface + */ +#ifndef __IRunnableObject_INTERFACE_DEFINED__ +#define __IRunnableObject_INTERFACE_DEFINED__ + +typedef IRunnableObject *LPRUNNABLEOBJECT; +DEFINE_GUID(IID_IRunnableObject, 0x00000126, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000126-0000-0000-c000-000000000046") +IRunnableObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRunningClass( + LPCLSID lpClsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Run( + LPBINDCTX pbc) = 0; + + virtual BOOL STDMETHODCALLTYPE IsRunning( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockRunning( + BOOL fLock, + BOOL fLastUnlockCloses) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetContainedObject( + BOOL fContained) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRunnableObject, 0x00000126, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRunnableObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRunnableObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRunnableObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRunnableObject *This); + + /*** IRunnableObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRunningClass)( + IRunnableObject *This, + LPCLSID lpClsid); + + HRESULT (STDMETHODCALLTYPE *Run)( + IRunnableObject *This, + LPBINDCTX pbc); + + BOOL (STDMETHODCALLTYPE *IsRunning)( + IRunnableObject *This); + + HRESULT (STDMETHODCALLTYPE *LockRunning)( + IRunnableObject *This, + BOOL fLock, + BOOL fLastUnlockCloses); + + HRESULT (STDMETHODCALLTYPE *SetContainedObject)( + IRunnableObject *This, + BOOL fContained); + + END_INTERFACE +} IRunnableObjectVtbl; + +interface IRunnableObject { + CONST_VTBL IRunnableObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRunnableObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRunnableObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRunnableObject_Release(This) (This)->lpVtbl->Release(This) +/*** IRunnableObject methods ***/ +#define IRunnableObject_GetRunningClass(This,lpClsid) (This)->lpVtbl->GetRunningClass(This,lpClsid) +#define IRunnableObject_Run(This,pbc) (This)->lpVtbl->Run(This,pbc) +#define IRunnableObject_IsRunning(This) (This)->lpVtbl->IsRunning(This) +#define IRunnableObject_LockRunning(This,fLock,fLastUnlockCloses) (This)->lpVtbl->LockRunning(This,fLock,fLastUnlockCloses) +#define IRunnableObject_SetContainedObject(This,fContained) (This)->lpVtbl->SetContainedObject(This,fContained) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRunnableObject_QueryInterface(IRunnableObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRunnableObject_AddRef(IRunnableObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRunnableObject_Release(IRunnableObject* This) { + return This->lpVtbl->Release(This); +} +/*** IRunnableObject methods ***/ +static FORCEINLINE HRESULT IRunnableObject_GetRunningClass(IRunnableObject* This,LPCLSID lpClsid) { + return This->lpVtbl->GetRunningClass(This,lpClsid); +} +static FORCEINLINE HRESULT IRunnableObject_Run(IRunnableObject* This,LPBINDCTX pbc) { + return This->lpVtbl->Run(This,pbc); +} +static FORCEINLINE BOOL IRunnableObject_IsRunning(IRunnableObject* This) { + return This->lpVtbl->IsRunning(This); +} +static FORCEINLINE HRESULT IRunnableObject_LockRunning(IRunnableObject* This,BOOL fLock,BOOL fLastUnlockCloses) { + return This->lpVtbl->LockRunning(This,fLock,fLastUnlockCloses); +} +static FORCEINLINE HRESULT IRunnableObject_SetContainedObject(IRunnableObject* This,BOOL fContained) { + return This->lpVtbl->SetContainedObject(This,fContained); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IRunnableObject_RemoteIsRunning_Proxy( + IRunnableObject* This); +void __RPC_STUB IRunnableObject_RemoteIsRunning_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +BOOL CALLBACK IRunnableObject_IsRunning_Proxy( + IRunnableObject* This); +HRESULT __RPC_STUB IRunnableObject_IsRunning_Stub( + IRunnableObject* This); + +#endif /* __IRunnableObject_INTERFACE_DEFINED__ */ + +#ifdef WINE_NO_UNICODE_MACROS +#undef GetObject +#endif +/***************************************************************************** + * IRunningObjectTable interface + */ +#ifndef __IRunningObjectTable_INTERFACE_DEFINED__ +#define __IRunningObjectTable_INTERFACE_DEFINED__ + +typedef IRunningObjectTable *LPRUNNINGOBJECTTABLE; +DEFINE_GUID(IID_IRunningObjectTable, 0x00000010, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000010-0000-0000-c000-000000000046") +IRunningObjectTable : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Register( + DWORD grfFlags, + IUnknown *punkObject, + IMoniker *pmkObjectName, + DWORD *pdwRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revoke( + DWORD dwRegister) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRunning( + IMoniker *pmkObjectName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + IMoniker *pmkObjectName, + IUnknown **ppunkObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE NoteChangeTime( + DWORD dwRegister, + FILETIME *pfiletime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange( + IMoniker *pmkObjectName, + FILETIME *pfiletime) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRunning( + IEnumMoniker **ppenumMoniker) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRunningObjectTable, 0x00000010, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRunningObjectTableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRunningObjectTable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRunningObjectTable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRunningObjectTable *This); + + /*** IRunningObjectTable methods ***/ + HRESULT (STDMETHODCALLTYPE *Register)( + IRunningObjectTable *This, + DWORD grfFlags, + IUnknown *punkObject, + IMoniker *pmkObjectName, + DWORD *pdwRegister); + + HRESULT (STDMETHODCALLTYPE *Revoke)( + IRunningObjectTable *This, + DWORD dwRegister); + + HRESULT (STDMETHODCALLTYPE *IsRunning)( + IRunningObjectTable *This, + IMoniker *pmkObjectName); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IRunningObjectTable *This, + IMoniker *pmkObjectName, + IUnknown **ppunkObject); + + HRESULT (STDMETHODCALLTYPE *NoteChangeTime)( + IRunningObjectTable *This, + DWORD dwRegister, + FILETIME *pfiletime); + + HRESULT (STDMETHODCALLTYPE *GetTimeOfLastChange)( + IRunningObjectTable *This, + IMoniker *pmkObjectName, + FILETIME *pfiletime); + + HRESULT (STDMETHODCALLTYPE *EnumRunning)( + IRunningObjectTable *This, + IEnumMoniker **ppenumMoniker); + + END_INTERFACE +} IRunningObjectTableVtbl; + +interface IRunningObjectTable { + CONST_VTBL IRunningObjectTableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRunningObjectTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRunningObjectTable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRunningObjectTable_Release(This) (This)->lpVtbl->Release(This) +/*** IRunningObjectTable methods ***/ +#define IRunningObjectTable_Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister) (This)->lpVtbl->Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister) +#define IRunningObjectTable_Revoke(This,dwRegister) (This)->lpVtbl->Revoke(This,dwRegister) +#define IRunningObjectTable_IsRunning(This,pmkObjectName) (This)->lpVtbl->IsRunning(This,pmkObjectName) +#define IRunningObjectTable_GetObject(This,pmkObjectName,ppunkObject) (This)->lpVtbl->GetObject(This,pmkObjectName,ppunkObject) +#define IRunningObjectTable_NoteChangeTime(This,dwRegister,pfiletime) (This)->lpVtbl->NoteChangeTime(This,dwRegister,pfiletime) +#define IRunningObjectTable_GetTimeOfLastChange(This,pmkObjectName,pfiletime) (This)->lpVtbl->GetTimeOfLastChange(This,pmkObjectName,pfiletime) +#define IRunningObjectTable_EnumRunning(This,ppenumMoniker) (This)->lpVtbl->EnumRunning(This,ppenumMoniker) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRunningObjectTable_QueryInterface(IRunningObjectTable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRunningObjectTable_AddRef(IRunningObjectTable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRunningObjectTable_Release(IRunningObjectTable* This) { + return This->lpVtbl->Release(This); +} +/*** IRunningObjectTable methods ***/ +static FORCEINLINE HRESULT IRunningObjectTable_Register(IRunningObjectTable* This,DWORD grfFlags,IUnknown *punkObject,IMoniker *pmkObjectName,DWORD *pdwRegister) { + return This->lpVtbl->Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister); +} +static FORCEINLINE HRESULT IRunningObjectTable_Revoke(IRunningObjectTable* This,DWORD dwRegister) { + return This->lpVtbl->Revoke(This,dwRegister); +} +static FORCEINLINE HRESULT IRunningObjectTable_IsRunning(IRunningObjectTable* This,IMoniker *pmkObjectName) { + return This->lpVtbl->IsRunning(This,pmkObjectName); +} +static FORCEINLINE HRESULT IRunningObjectTable_GetObject(IRunningObjectTable* This,IMoniker *pmkObjectName,IUnknown **ppunkObject) { + return This->lpVtbl->GetObject(This,pmkObjectName,ppunkObject); +} +static FORCEINLINE HRESULT IRunningObjectTable_NoteChangeTime(IRunningObjectTable* This,DWORD dwRegister,FILETIME *pfiletime) { + return This->lpVtbl->NoteChangeTime(This,dwRegister,pfiletime); +} +static FORCEINLINE HRESULT IRunningObjectTable_GetTimeOfLastChange(IRunningObjectTable* This,IMoniker *pmkObjectName,FILETIME *pfiletime) { + return This->lpVtbl->GetTimeOfLastChange(This,pmkObjectName,pfiletime); +} +static FORCEINLINE HRESULT IRunningObjectTable_EnumRunning(IRunningObjectTable* This,IEnumMoniker **ppenumMoniker) { + return This->lpVtbl->EnumRunning(This,ppenumMoniker); +} +#endif +#endif + +#endif + + +#endif /* __IRunningObjectTable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersist interface + */ +#ifndef __IPersist_INTERFACE_DEFINED__ +#define __IPersist_INTERFACE_DEFINED__ + +typedef IPersist *LPPERSIST; +DEFINE_GUID(IID_IPersist, 0x0000010c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000010c-0000-0000-c000-000000000046") +IPersist : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClassID( + CLSID *pClassID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersist, 0x0000010c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPersistVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersist *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersist *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersist *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersist *This, + CLSID *pClassID); + + END_INTERFACE +} IPersistVtbl; + +interface IPersist { + CONST_VTBL IPersistVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersist_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersist_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersist_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersist_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersist_QueryInterface(IPersist* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersist_AddRef(IPersist* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersist_Release(IPersist* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersist_GetClassID(IPersist* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +#endif +#endif + +#endif + + +#endif /* __IPersist_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistStream interface + */ +#ifndef __IPersistStream_INTERFACE_DEFINED__ +#define __IPersistStream_INTERFACE_DEFINED__ + +typedef IPersistStream *LPPERSISTSTREAM; +DEFINE_GUID(IID_IPersistStream, 0x00000109, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000109-0000-0000-c000-000000000046") +IPersistStream : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + IStream *pStm) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + IStream *pStm, + BOOL fClearDirty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSizeMax( + ULARGE_INTEGER *pcbSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistStream, 0x00000109, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPersistStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistStream *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistStream *This, + CLSID *pClassID); + + /*** IPersistStream methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistStream *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistStream *This, + IStream *pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistStream *This, + IStream *pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IPersistStream *This, + ULARGE_INTEGER *pcbSize); + + END_INTERFACE +} IPersistStreamVtbl; + +interface IPersistStream { + CONST_VTBL IPersistStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistStream_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistStream_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStream methods ***/ +#define IPersistStream_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IPersistStream_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IPersistStream_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IPersistStream_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistStream_QueryInterface(IPersistStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistStream_AddRef(IPersistStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistStream_Release(IPersistStream* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistStream_GetClassID(IPersistStream* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStream methods ***/ +static FORCEINLINE HRESULT IPersistStream_IsDirty(IPersistStream* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IPersistStream_Load(IPersistStream* This,IStream *pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IPersistStream_Save(IPersistStream* This,IStream *pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IPersistStream_GetSizeMax(IPersistStream* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +#endif +#endif + +#endif + + +#endif /* __IPersistStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMoniker interface + */ +#ifndef __IMoniker_INTERFACE_DEFINED__ +#define __IMoniker_INTERFACE_DEFINED__ + +typedef IMoniker *LPMONIKER; +typedef enum tagMKSYS { + MKSYS_NONE = 0, + MKSYS_GENERICCOMPOSITE = 1, + MKSYS_FILEMONIKER = 2, + MKSYS_ANTIMONIKER = 3, + MKSYS_ITEMMONIKER = 4, + MKSYS_POINTERMONIKER = 5, + MKSYS_CLASSMONIKER = 7 +} MKSYS; +typedef enum tagMKREDUCE { + MKRREDUCE_ONE = 3 << 16, + MKRREDUCE_TOUSER = 2 << 16, + MKRREDUCE_THROUGHUSER = 1 << 16, + MKRREDUCE_ALL = 0 +} MKRREDUCE; +DEFINE_GUID(IID_IMoniker, 0x0000000f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000000f-0000-0000-c000-000000000046") +IMoniker : public IPersistStream +{ + virtual HRESULT STDMETHODCALLTYPE BindToObject( + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riidResult, + void **ppvResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToStorage( + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riid, + void **ppvObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reduce( + IBindCtx *pbc, + DWORD dwReduceHowFar, + IMoniker **ppmkToLeft, + IMoniker **ppmkReduced) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComposeWith( + IMoniker *pmkRight, + BOOL fOnlyIfNotGeneric, + IMoniker **ppmkComposite) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enum( + BOOL fForward, + IEnumMoniker **ppenumMoniker) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + IMoniker *pmkOtherMoniker) = 0; + + virtual HRESULT STDMETHODCALLTYPE Hash( + DWORD *pdwHash) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRunning( + IBindCtx *pbc, + IMoniker *pmkToLeft, + IMoniker *pmkNewlyRunning) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange( + IBindCtx *pbc, + IMoniker *pmkToLeft, + FILETIME *pFileTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE Inverse( + IMoniker **ppmk) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommonPrefixWith( + IMoniker *pmkOther, + IMoniker **ppmkPrefix) = 0; + + virtual HRESULT STDMETHODCALLTYPE RelativePathTo( + IMoniker *pmkOther, + IMoniker **ppmkRelPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + IBindCtx *pbc, + IMoniker *pmkToLeft, + LPOLESTR *ppszDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE ParseDisplayName( + IBindCtx *pbc, + IMoniker *pmkToLeft, + LPOLESTR pszDisplayName, + ULONG *pchEaten, + IMoniker **ppmkOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSystemMoniker( + DWORD *pdwMksys) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMoniker, 0x0000000f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMonikerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMoniker *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMoniker *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMoniker *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMoniker *This, + CLSID *pClassID); + + /*** IPersistStream methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IMoniker *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IMoniker *This, + IStream *pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IMoniker *This, + IStream *pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IMoniker *This, + ULARGE_INTEGER *pcbSize); + + /*** IMoniker methods ***/ + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IMoniker *This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riidResult, + void **ppvResult); + + HRESULT (STDMETHODCALLTYPE *BindToStorage)( + IMoniker *This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riid, + void **ppvObj); + + HRESULT (STDMETHODCALLTYPE *Reduce)( + IMoniker *This, + IBindCtx *pbc, + DWORD dwReduceHowFar, + IMoniker **ppmkToLeft, + IMoniker **ppmkReduced); + + HRESULT (STDMETHODCALLTYPE *ComposeWith)( + IMoniker *This, + IMoniker *pmkRight, + BOOL fOnlyIfNotGeneric, + IMoniker **ppmkComposite); + + HRESULT (STDMETHODCALLTYPE *Enum)( + IMoniker *This, + BOOL fForward, + IEnumMoniker **ppenumMoniker); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IMoniker *This, + IMoniker *pmkOtherMoniker); + + HRESULT (STDMETHODCALLTYPE *Hash)( + IMoniker *This, + DWORD *pdwHash); + + HRESULT (STDMETHODCALLTYPE *IsRunning)( + IMoniker *This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + IMoniker *pmkNewlyRunning); + + HRESULT (STDMETHODCALLTYPE *GetTimeOfLastChange)( + IMoniker *This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + FILETIME *pFileTime); + + HRESULT (STDMETHODCALLTYPE *Inverse)( + IMoniker *This, + IMoniker **ppmk); + + HRESULT (STDMETHODCALLTYPE *CommonPrefixWith)( + IMoniker *This, + IMoniker *pmkOther, + IMoniker **ppmkPrefix); + + HRESULT (STDMETHODCALLTYPE *RelativePathTo)( + IMoniker *This, + IMoniker *pmkOther, + IMoniker **ppmkRelPath); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IMoniker *This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + LPOLESTR *ppszDisplayName); + + HRESULT (STDMETHODCALLTYPE *ParseDisplayName)( + IMoniker *This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + LPOLESTR pszDisplayName, + ULONG *pchEaten, + IMoniker **ppmkOut); + + HRESULT (STDMETHODCALLTYPE *IsSystemMoniker)( + IMoniker *This, + DWORD *pdwMksys); + + END_INTERFACE +} IMonikerVtbl; + +interface IMoniker { + CONST_VTBL IMonikerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMoniker_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMoniker_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMoniker_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStream methods ***/ +#define IMoniker_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IMoniker_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IMoniker_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IMoniker_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +/*** IMoniker methods ***/ +#define IMoniker_BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult) (This)->lpVtbl->BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult) +#define IMoniker_BindToStorage(This,pbc,pmkToLeft,riid,ppvObj) (This)->lpVtbl->BindToStorage(This,pbc,pmkToLeft,riid,ppvObj) +#define IMoniker_Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced) (This)->lpVtbl->Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced) +#define IMoniker_ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite) (This)->lpVtbl->ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite) +#define IMoniker_Enum(This,fForward,ppenumMoniker) (This)->lpVtbl->Enum(This,fForward,ppenumMoniker) +#define IMoniker_IsEqual(This,pmkOtherMoniker) (This)->lpVtbl->IsEqual(This,pmkOtherMoniker) +#define IMoniker_Hash(This,pdwHash) (This)->lpVtbl->Hash(This,pdwHash) +#define IMoniker_IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning) (This)->lpVtbl->IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning) +#define IMoniker_GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime) (This)->lpVtbl->GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime) +#define IMoniker_Inverse(This,ppmk) (This)->lpVtbl->Inverse(This,ppmk) +#define IMoniker_CommonPrefixWith(This,pmkOther,ppmkPrefix) (This)->lpVtbl->CommonPrefixWith(This,pmkOther,ppmkPrefix) +#define IMoniker_RelativePathTo(This,pmkOther,ppmkRelPath) (This)->lpVtbl->RelativePathTo(This,pmkOther,ppmkRelPath) +#define IMoniker_GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName) (This)->lpVtbl->GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName) +#define IMoniker_ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut) +#define IMoniker_IsSystemMoniker(This,pdwMksys) (This)->lpVtbl->IsSystemMoniker(This,pdwMksys) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMoniker_QueryInterface(IMoniker* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMoniker_AddRef(IMoniker* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMoniker_Release(IMoniker* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMoniker_GetClassID(IMoniker* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStream methods ***/ +static FORCEINLINE HRESULT IMoniker_IsDirty(IMoniker* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IMoniker_Load(IMoniker* This,IStream *pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IMoniker_Save(IMoniker* This,IStream *pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IMoniker_GetSizeMax(IMoniker* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +/*** IMoniker methods ***/ +static FORCEINLINE HRESULT IMoniker_BindToObject(IMoniker* This,IBindCtx *pbc,IMoniker *pmkToLeft,REFIID riidResult,void **ppvResult) { + return This->lpVtbl->BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult); +} +static FORCEINLINE HRESULT IMoniker_BindToStorage(IMoniker* This,IBindCtx *pbc,IMoniker *pmkToLeft,REFIID riid,void **ppvObj) { + return This->lpVtbl->BindToStorage(This,pbc,pmkToLeft,riid,ppvObj); +} +static FORCEINLINE HRESULT IMoniker_Reduce(IMoniker* This,IBindCtx *pbc,DWORD dwReduceHowFar,IMoniker **ppmkToLeft,IMoniker **ppmkReduced) { + return This->lpVtbl->Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced); +} +static FORCEINLINE HRESULT IMoniker_ComposeWith(IMoniker* This,IMoniker *pmkRight,BOOL fOnlyIfNotGeneric,IMoniker **ppmkComposite) { + return This->lpVtbl->ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite); +} +static FORCEINLINE HRESULT IMoniker_Enum(IMoniker* This,BOOL fForward,IEnumMoniker **ppenumMoniker) { + return This->lpVtbl->Enum(This,fForward,ppenumMoniker); +} +static FORCEINLINE HRESULT IMoniker_IsEqual(IMoniker* This,IMoniker *pmkOtherMoniker) { + return This->lpVtbl->IsEqual(This,pmkOtherMoniker); +} +static FORCEINLINE HRESULT IMoniker_Hash(IMoniker* This,DWORD *pdwHash) { + return This->lpVtbl->Hash(This,pdwHash); +} +static FORCEINLINE HRESULT IMoniker_IsRunning(IMoniker* This,IBindCtx *pbc,IMoniker *pmkToLeft,IMoniker *pmkNewlyRunning) { + return This->lpVtbl->IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning); +} +static FORCEINLINE HRESULT IMoniker_GetTimeOfLastChange(IMoniker* This,IBindCtx *pbc,IMoniker *pmkToLeft,FILETIME *pFileTime) { + return This->lpVtbl->GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime); +} +static FORCEINLINE HRESULT IMoniker_Inverse(IMoniker* This,IMoniker **ppmk) { + return This->lpVtbl->Inverse(This,ppmk); +} +static FORCEINLINE HRESULT IMoniker_CommonPrefixWith(IMoniker* This,IMoniker *pmkOther,IMoniker **ppmkPrefix) { + return This->lpVtbl->CommonPrefixWith(This,pmkOther,ppmkPrefix); +} +static FORCEINLINE HRESULT IMoniker_RelativePathTo(IMoniker* This,IMoniker *pmkOther,IMoniker **ppmkRelPath) { + return This->lpVtbl->RelativePathTo(This,pmkOther,ppmkRelPath); +} +static FORCEINLINE HRESULT IMoniker_GetDisplayName(IMoniker* This,IBindCtx *pbc,IMoniker *pmkToLeft,LPOLESTR *ppszDisplayName) { + return This->lpVtbl->GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName); +} +static FORCEINLINE HRESULT IMoniker_ParseDisplayName(IMoniker* This,IBindCtx *pbc,IMoniker *pmkToLeft,LPOLESTR pszDisplayName,ULONG *pchEaten,IMoniker **ppmkOut) { + return This->lpVtbl->ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut); +} +static FORCEINLINE HRESULT IMoniker_IsSystemMoniker(IMoniker* This,DWORD *pdwMksys) { + return This->lpVtbl->IsSystemMoniker(This,pdwMksys); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToObject_Proxy( + IMoniker* This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riidResult, + IUnknown **ppvResult); +void __RPC_STUB IMoniker_RemoteBindToObject_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToStorage_Proxy( + IMoniker* This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riid, + IUnknown **ppvObj); +void __RPC_STUB IMoniker_RemoteBindToStorage_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IMoniker_BindToObject_Proxy( + IMoniker* This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riidResult, + void **ppvResult); +HRESULT __RPC_STUB IMoniker_BindToObject_Stub( + IMoniker* This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riidResult, + IUnknown **ppvResult); +HRESULT CALLBACK IMoniker_BindToStorage_Proxy( + IMoniker* This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riid, + void **ppvObj); +HRESULT __RPC_STUB IMoniker_BindToStorage_Stub( + IMoniker* This, + IBindCtx *pbc, + IMoniker *pmkToLeft, + REFIID riid, + IUnknown **ppvObj); + +#endif /* __IMoniker_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IROTData interface + */ +#ifndef __IROTData_INTERFACE_DEFINED__ +#define __IROTData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IROTData, 0xf29f6bc0, 0x5021, 0x11ce, 0xaa,0x15, 0x00,0x00,0x69,0x01,0x29,0x3f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f29f6bc0-5021-11ce-aa15-00006901293f") +IROTData : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetComparisonData( + byte *pbData, + ULONG cbMax, + ULONG *pcbData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IROTData, 0xf29f6bc0, 0x5021, 0x11ce, 0xaa,0x15, 0x00,0x00,0x69,0x01,0x29,0x3f) +#endif +#else +typedef struct IROTDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IROTData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IROTData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IROTData *This); + + /*** IROTData methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComparisonData)( + IROTData *This, + byte *pbData, + ULONG cbMax, + ULONG *pcbData); + + END_INTERFACE +} IROTDataVtbl; + +interface IROTData { + CONST_VTBL IROTDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IROTData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IROTData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IROTData_Release(This) (This)->lpVtbl->Release(This) +/*** IROTData methods ***/ +#define IROTData_GetComparisonData(This,pbData,cbMax,pcbData) (This)->lpVtbl->GetComparisonData(This,pbData,cbMax,pcbData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IROTData_QueryInterface(IROTData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IROTData_AddRef(IROTData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IROTData_Release(IROTData* This) { + return This->lpVtbl->Release(This); +} +/*** IROTData methods ***/ +static FORCEINLINE HRESULT IROTData_GetComparisonData(IROTData* This,byte *pbData,ULONG cbMax,ULONG *pcbData) { + return This->lpVtbl->GetComparisonData(This,pbData,cbMax,pcbData); +} +#endif +#endif + +#endif + + +#endif /* __IROTData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumString interface + */ +#ifndef __IEnumString_INTERFACE_DEFINED__ +#define __IEnumString_INTERFACE_DEFINED__ + +typedef IEnumString *LPENUMSTRING; +DEFINE_GUID(IID_IEnumString, 0x00000101, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000101-0000-0000-c000-000000000046") +IEnumString : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + LPOLESTR *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumString **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumString, 0x00000101, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumStringVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumString *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumString *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumString *This); + + /*** IEnumString methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumString *This, + ULONG celt, + LPOLESTR *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumString *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumString *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumString *This, + IEnumString **ppenum); + + END_INTERFACE +} IEnumStringVtbl; + +interface IEnumString { + CONST_VTBL IEnumStringVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumString_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumString_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumString methods ***/ +#define IEnumString_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumString_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumString_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumString_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumString_QueryInterface(IEnumString* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumString_AddRef(IEnumString* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumString_Release(IEnumString* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumString methods ***/ +static FORCEINLINE HRESULT IEnumString_Next(IEnumString* This,ULONG celt,LPOLESTR *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumString_Skip(IEnumString* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumString_Reset(IEnumString* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumString_Clone(IEnumString* This,IEnumString **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy( + IEnumString* This, + ULONG celt, + LPOLESTR *rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumString_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumString_Next_Proxy( + IEnumString* This, + ULONG celt, + LPOLESTR *rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumString_Next_Stub( + IEnumString* This, + ULONG celt, + LPOLESTR *rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumString_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IClassActivator interface + */ +#ifndef __IClassActivator_INTERFACE_DEFINED__ +#define __IClassActivator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IClassActivator, 0x00000140, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000140-0000-0000-c000-000000000046") +IClassActivator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClassObject( + REFCLSID rclsid, + DWORD dwClassContext, + LCID locale, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IClassActivator, 0x00000140, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IClassActivatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IClassActivator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IClassActivator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IClassActivator *This); + + /*** IClassActivator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassObject)( + IClassActivator *This, + REFCLSID rclsid, + DWORD dwClassContext, + LCID locale, + REFIID riid, + void **ppv); + + END_INTERFACE +} IClassActivatorVtbl; + +interface IClassActivator { + CONST_VTBL IClassActivatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IClassActivator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IClassActivator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IClassActivator_Release(This) (This)->lpVtbl->Release(This) +/*** IClassActivator methods ***/ +#define IClassActivator_GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv) (This)->lpVtbl->GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IClassActivator_QueryInterface(IClassActivator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IClassActivator_AddRef(IClassActivator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IClassActivator_Release(IClassActivator* This) { + return This->lpVtbl->Release(This); +} +/*** IClassActivator methods ***/ +static FORCEINLINE HRESULT IClassActivator_GetClassObject(IClassActivator* This,REFCLSID rclsid,DWORD dwClassContext,LCID locale,REFIID riid,void **ppv) { + return This->lpVtbl->GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IClassActivator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISequentialStream interface + */ +#ifndef __ISequentialStream_INTERFACE_DEFINED__ +#define __ISequentialStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISequentialStream, 0x0c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a30-2a1c-11ce-ade5-00aa0044773d") +ISequentialStream : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Read( + void *pv, + ULONG cb, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE Write( + const void *pv, + ULONG cb, + ULONG *pcbWritten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISequentialStream, 0x0c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ISequentialStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISequentialStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISequentialStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISequentialStream *This); + + /*** ISequentialStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + ISequentialStream *This, + void *pv, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Write)( + ISequentialStream *This, + const void *pv, + ULONG cb, + ULONG *pcbWritten); + + END_INTERFACE +} ISequentialStreamVtbl; + +interface ISequentialStream { + CONST_VTBL ISequentialStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISequentialStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISequentialStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISequentialStream_Release(This) (This)->lpVtbl->Release(This) +/*** ISequentialStream methods ***/ +#define ISequentialStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) +#define ISequentialStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISequentialStream_QueryInterface(ISequentialStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISequentialStream_AddRef(ISequentialStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISequentialStream_Release(ISequentialStream* This) { + return This->lpVtbl->Release(This); +} +/*** ISequentialStream methods ***/ +static FORCEINLINE HRESULT ISequentialStream_Read(ISequentialStream* This,void *pv,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->Read(This,pv,cb,pcbRead); +} +static FORCEINLINE HRESULT ISequentialStream_Write(ISequentialStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->Write(This,pv,cb,pcbWritten); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteRead_Proxy( + ISequentialStream* This, + byte *pv, + ULONG cb, + ULONG *pcbRead); +void __RPC_STUB ISequentialStream_RemoteRead_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteWrite_Proxy( + ISequentialStream* This, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); +void __RPC_STUB ISequentialStream_RemoteWrite_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ISequentialStream_Read_Proxy( + ISequentialStream* This, + void *pv, + ULONG cb, + ULONG *pcbRead); +HRESULT __RPC_STUB ISequentialStream_Read_Stub( + ISequentialStream* This, + byte *pv, + ULONG cb, + ULONG *pcbRead); +HRESULT CALLBACK ISequentialStream_Write_Proxy( + ISequentialStream* This, + const void *pv, + ULONG cb, + ULONG *pcbWritten); +HRESULT __RPC_STUB ISequentialStream_Write_Stub( + ISequentialStream* This, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); + +#endif /* __ISequentialStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IStream interface + */ +#ifndef __IStream_INTERFACE_DEFINED__ +#define __IStream_INTERFACE_DEFINED__ + +typedef IStream *LPSTREAM; +typedef struct tagSTATSTG { + LPOLESTR pwcsName; + DWORD type; + ULARGE_INTEGER cbSize; + FILETIME mtime; + FILETIME ctime; + FILETIME atime; + DWORD grfMode; + DWORD grfLocksSupported; + CLSID clsid; + DWORD grfStateBits; + DWORD reserved; +} STATSTG; +typedef enum tagSTGTY { + STGTY_STORAGE = 1, + STGTY_STREAM = 2, + STGTY_LOCKBYTES = 3, + STGTY_PROPERTY = 4 +} STGTY; +typedef enum tagSTREAM_SEEK { + STREAM_SEEK_SET = 0, + STREAM_SEEK_CUR = 1, + STREAM_SEEK_END = 2 +} STREAM_SEEK; +#undef LOCK_MAND +#undef LOCK_READ +#undef LOCK_WRITE +#undef LOCK_RW +typedef enum tagLOCKTYPE { + LOCK_WRITE = 1, + LOCK_EXCLUSIVE = 2, + LOCK_ONLYONCE = 4 +} LOCKTYPE; +DEFINE_GUID(IID_IStream, 0x0000000c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000000c-0000-0000-c000-000000000046") +IStream : public ISequentialStream +{ + virtual HRESULT STDMETHODCALLTYPE Seek( + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSize( + ULARGE_INTEGER libNewSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyTo( + IStream *pstm, + ULARGE_INTEGER cb, + ULARGE_INTEGER *pcbRead, + ULARGE_INTEGER *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + DWORD grfCommitFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revert( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockRegion( + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnlockRegion( + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stat( + STATSTG *pstatstg, + DWORD grfStatFlag) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IStream **ppstm) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IStream, 0x0000000c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IStream *This); + + /*** ISequentialStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IStream *This, + void *pv, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Write)( + IStream *This, + const void *pv, + ULONG cb, + ULONG *pcbWritten); + + /*** IStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Seek)( + IStream *This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); + + HRESULT (STDMETHODCALLTYPE *SetSize)( + IStream *This, + ULARGE_INTEGER libNewSize); + + HRESULT (STDMETHODCALLTYPE *CopyTo)( + IStream *This, + IStream *pstm, + ULARGE_INTEGER cb, + ULARGE_INTEGER *pcbRead, + ULARGE_INTEGER *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IStream *This, + DWORD grfCommitFlags); + + HRESULT (STDMETHODCALLTYPE *Revert)( + IStream *This); + + HRESULT (STDMETHODCALLTYPE *LockRegion)( + IStream *This, + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType); + + HRESULT (STDMETHODCALLTYPE *UnlockRegion)( + IStream *This, + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType); + + HRESULT (STDMETHODCALLTYPE *Stat)( + IStream *This, + STATSTG *pstatstg, + DWORD grfStatFlag); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IStream *This, + IStream **ppstm); + + END_INTERFACE +} IStreamVtbl; + +interface IStream { + CONST_VTBL IStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IStream_Release(This) (This)->lpVtbl->Release(This) +/*** ISequentialStream methods ***/ +#define IStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) +#define IStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) +/*** IStream methods ***/ +#define IStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition) +#define IStream_SetSize(This,libNewSize) (This)->lpVtbl->SetSize(This,libNewSize) +#define IStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten) (This)->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten) +#define IStream_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags) +#define IStream_Revert(This) (This)->lpVtbl->Revert(This) +#define IStream_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType) +#define IStream_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType) +#define IStream_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag) +#define IStream_Clone(This,ppstm) (This)->lpVtbl->Clone(This,ppstm) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IStream_QueryInterface(IStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IStream_AddRef(IStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IStream_Release(IStream* This) { + return This->lpVtbl->Release(This); +} +/*** ISequentialStream methods ***/ +static FORCEINLINE HRESULT IStream_Read(IStream* This,void *pv,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->Read(This,pv,cb,pcbRead); +} +static FORCEINLINE HRESULT IStream_Write(IStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->Write(This,pv,cb,pcbWritten); +} +/*** IStream methods ***/ +static FORCEINLINE HRESULT IStream_Seek(IStream* This,LARGE_INTEGER dlibMove,DWORD dwOrigin,ULARGE_INTEGER *plibNewPosition) { + return This->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition); +} +static FORCEINLINE HRESULT IStream_SetSize(IStream* This,ULARGE_INTEGER libNewSize) { + return This->lpVtbl->SetSize(This,libNewSize); +} +static FORCEINLINE HRESULT IStream_CopyTo(IStream* This,IStream *pstm,ULARGE_INTEGER cb,ULARGE_INTEGER *pcbRead,ULARGE_INTEGER *pcbWritten) { + return This->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten); +} +static FORCEINLINE HRESULT IStream_Commit(IStream* This,DWORD grfCommitFlags) { + return This->lpVtbl->Commit(This,grfCommitFlags); +} +static FORCEINLINE HRESULT IStream_Revert(IStream* This) { + return This->lpVtbl->Revert(This); +} +static FORCEINLINE HRESULT IStream_LockRegion(IStream* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { + return This->lpVtbl->LockRegion(This,libOffset,cb,dwLockType); +} +static FORCEINLINE HRESULT IStream_UnlockRegion(IStream* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { + return This->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType); +} +static FORCEINLINE HRESULT IStream_Stat(IStream* This,STATSTG *pstatstg,DWORD grfStatFlag) { + return This->lpVtbl->Stat(This,pstatstg,grfStatFlag); +} +static FORCEINLINE HRESULT IStream_Clone(IStream* This,IStream **ppstm) { + return This->lpVtbl->Clone(This,ppstm); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy( + IStream* This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); +void __RPC_STUB IStream_RemoteSeek_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy( + IStream* This, + IStream *pstm, + ULARGE_INTEGER cb, + ULARGE_INTEGER *pcbRead, + ULARGE_INTEGER *pcbWritten); +void __RPC_STUB IStream_RemoteCopyTo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IStream_Seek_Proxy( + IStream* This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); +HRESULT __RPC_STUB IStream_Seek_Stub( + IStream* This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); +HRESULT CALLBACK IStream_CopyTo_Proxy( + IStream* This, + IStream *pstm, + ULARGE_INTEGER cb, + ULARGE_INTEGER *pcbRead, + ULARGE_INTEGER *pcbWritten); +HRESULT __RPC_STUB IStream_CopyTo_Stub( + IStream* This, + IStream *pstm, + ULARGE_INTEGER cb, + ULARGE_INTEGER *pcbRead, + ULARGE_INTEGER *pcbWritten); + +#endif /* __IStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumSTATSTG interface + */ +#ifndef __IEnumSTATSTG_INTERFACE_DEFINED__ +#define __IEnumSTATSTG_INTERFACE_DEFINED__ + +typedef IEnumSTATSTG *LPENUMSTATSTG; +DEFINE_GUID(IID_IEnumSTATSTG, 0x0000000d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000000d-0000-0000-c000-000000000046") +IEnumSTATSTG : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + STATSTG *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumSTATSTG **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumSTATSTG, 0x0000000d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumSTATSTGVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumSTATSTG *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumSTATSTG *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumSTATSTG *This); + + /*** IEnumSTATSTG methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumSTATSTG *This, + ULONG celt, + STATSTG *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumSTATSTG *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumSTATSTG *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumSTATSTG *This, + IEnumSTATSTG **ppenum); + + END_INTERFACE +} IEnumSTATSTGVtbl; + +interface IEnumSTATSTG { + CONST_VTBL IEnumSTATSTGVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumSTATSTG_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumSTATSTG_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumSTATSTG_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSTATSTG methods ***/ +#define IEnumSTATSTG_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumSTATSTG_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumSTATSTG_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumSTATSTG_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumSTATSTG_QueryInterface(IEnumSTATSTG* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumSTATSTG_AddRef(IEnumSTATSTG* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumSTATSTG_Release(IEnumSTATSTG* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSTATSTG methods ***/ +static FORCEINLINE HRESULT IEnumSTATSTG_Next(IEnumSTATSTG* This,ULONG celt,STATSTG *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumSTATSTG_Skip(IEnumSTATSTG* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumSTATSTG_Reset(IEnumSTATSTG* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumSTATSTG_Clone(IEnumSTATSTG* This,IEnumSTATSTG **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Proxy( + IEnumSTATSTG* This, + ULONG celt, + STATSTG *rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumSTATSTG_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumSTATSTG_Next_Proxy( + IEnumSTATSTG* This, + ULONG celt, + STATSTG *rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumSTATSTG_Next_Stub( + IEnumSTATSTG* This, + ULONG celt, + STATSTG *rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumSTATSTG_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IStorage interface + */ +#ifndef __IStorage_INTERFACE_DEFINED__ +#define __IStorage_INTERFACE_DEFINED__ + +typedef IStorage *LPSTORAGE; +typedef struct tagRemSNB { + ULONG ulCntStr; + ULONG ulCntChar; + OLECHAR rgString[1]; +} RemSNB; +typedef RemSNB *wireSNB; +typedef OLECHAR **SNB; +DEFINE_GUID(IID_IStorage, 0x0000000b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000000b-0000-0000-c000-000000000046") +IStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateStream( + LPCOLESTR pwcsName, + DWORD grfMode, + DWORD reserved1, + DWORD reserved2, + IStream **ppstm) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenStream( + LPCOLESTR pwcsName, + void *reserved1, + DWORD grfMode, + DWORD reserved2, + IStream **ppstm) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStorage( + LPCOLESTR pwcsName, + DWORD grfMode, + DWORD dwStgFmt, + DWORD reserved2, + IStorage **ppstg) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenStorage( + LPCOLESTR pwcsName, + IStorage *pstgPriority, + DWORD grfMode, + SNB snbExclude, + DWORD reserved, + IStorage **ppstg) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyTo( + DWORD ciidExclude, + const IID *rgiidExclude, + SNB snbExclude, + IStorage *pstgDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveElementTo( + LPCOLESTR pwcsName, + IStorage *pstgDest, + LPCOLESTR pwcsNewName, + DWORD grfFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + DWORD grfCommitFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revert( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumElements( + DWORD reserved1, + void *reserved2, + DWORD reserved3, + IEnumSTATSTG **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyElement( + LPCOLESTR pwcsName) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenameElement( + LPCOLESTR pwcsOldName, + LPCOLESTR pwcsNewName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetElementTimes( + LPCOLESTR pwcsName, + const FILETIME *pctime, + const FILETIME *patime, + const FILETIME *pmtime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClass( + REFCLSID clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStateBits( + DWORD grfStateBits, + DWORD grfMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stat( + STATSTG *pstatstg, + DWORD grfStatFlag) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IStorage, 0x0000000b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IStorage *This); + + /*** IStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStream)( + IStorage *This, + LPCOLESTR pwcsName, + DWORD grfMode, + DWORD reserved1, + DWORD reserved2, + IStream **ppstm); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IStorage *This, + LPCOLESTR pwcsName, + void *reserved1, + DWORD grfMode, + DWORD reserved2, + IStream **ppstm); + + HRESULT (STDMETHODCALLTYPE *CreateStorage)( + IStorage *This, + LPCOLESTR pwcsName, + DWORD grfMode, + DWORD dwStgFmt, + DWORD reserved2, + IStorage **ppstg); + + HRESULT (STDMETHODCALLTYPE *OpenStorage)( + IStorage *This, + LPCOLESTR pwcsName, + IStorage *pstgPriority, + DWORD grfMode, + SNB snbExclude, + DWORD reserved, + IStorage **ppstg); + + HRESULT (STDMETHODCALLTYPE *CopyTo)( + IStorage *This, + DWORD ciidExclude, + const IID *rgiidExclude, + SNB snbExclude, + IStorage *pstgDest); + + HRESULT (STDMETHODCALLTYPE *MoveElementTo)( + IStorage *This, + LPCOLESTR pwcsName, + IStorage *pstgDest, + LPCOLESTR pwcsNewName, + DWORD grfFlags); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IStorage *This, + DWORD grfCommitFlags); + + HRESULT (STDMETHODCALLTYPE *Revert)( + IStorage *This); + + HRESULT (STDMETHODCALLTYPE *EnumElements)( + IStorage *This, + DWORD reserved1, + void *reserved2, + DWORD reserved3, + IEnumSTATSTG **ppenum); + + HRESULT (STDMETHODCALLTYPE *DestroyElement)( + IStorage *This, + LPCOLESTR pwcsName); + + HRESULT (STDMETHODCALLTYPE *RenameElement)( + IStorage *This, + LPCOLESTR pwcsOldName, + LPCOLESTR pwcsNewName); + + HRESULT (STDMETHODCALLTYPE *SetElementTimes)( + IStorage *This, + LPCOLESTR pwcsName, + const FILETIME *pctime, + const FILETIME *patime, + const FILETIME *pmtime); + + HRESULT (STDMETHODCALLTYPE *SetClass)( + IStorage *This, + REFCLSID clsid); + + HRESULT (STDMETHODCALLTYPE *SetStateBits)( + IStorage *This, + DWORD grfStateBits, + DWORD grfMask); + + HRESULT (STDMETHODCALLTYPE *Stat)( + IStorage *This, + STATSTG *pstatstg, + DWORD grfStatFlag); + + END_INTERFACE +} IStorageVtbl; + +interface IStorage { + CONST_VTBL IStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IStorage methods ***/ +#define IStorage_CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm) (This)->lpVtbl->CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm) +#define IStorage_OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm) (This)->lpVtbl->OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm) +#define IStorage_CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg) (This)->lpVtbl->CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg) +#define IStorage_OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg) (This)->lpVtbl->OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg) +#define IStorage_CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest) (This)->lpVtbl->CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest) +#define IStorage_MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags) (This)->lpVtbl->MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags) +#define IStorage_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags) +#define IStorage_Revert(This) (This)->lpVtbl->Revert(This) +#define IStorage_EnumElements(This,reserved1,reserved2,reserved3,ppenum) (This)->lpVtbl->EnumElements(This,reserved1,reserved2,reserved3,ppenum) +#define IStorage_DestroyElement(This,pwcsName) (This)->lpVtbl->DestroyElement(This,pwcsName) +#define IStorage_RenameElement(This,pwcsOldName,pwcsNewName) (This)->lpVtbl->RenameElement(This,pwcsOldName,pwcsNewName) +#define IStorage_SetElementTimes(This,pwcsName,pctime,patime,pmtime) (This)->lpVtbl->SetElementTimes(This,pwcsName,pctime,patime,pmtime) +#define IStorage_SetClass(This,clsid) (This)->lpVtbl->SetClass(This,clsid) +#define IStorage_SetStateBits(This,grfStateBits,grfMask) (This)->lpVtbl->SetStateBits(This,grfStateBits,grfMask) +#define IStorage_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IStorage_QueryInterface(IStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IStorage_AddRef(IStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IStorage_Release(IStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IStorage methods ***/ +static FORCEINLINE HRESULT IStorage_CreateStream(IStorage* This,LPCOLESTR pwcsName,DWORD grfMode,DWORD reserved1,DWORD reserved2,IStream **ppstm) { + return This->lpVtbl->CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm); +} +static FORCEINLINE HRESULT IStorage_OpenStream(IStorage* This,LPCOLESTR pwcsName,void *reserved1,DWORD grfMode,DWORD reserved2,IStream **ppstm) { + return This->lpVtbl->OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm); +} +static FORCEINLINE HRESULT IStorage_CreateStorage(IStorage* This,LPCOLESTR pwcsName,DWORD grfMode,DWORD dwStgFmt,DWORD reserved2,IStorage **ppstg) { + return This->lpVtbl->CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg); +} +static FORCEINLINE HRESULT IStorage_OpenStorage(IStorage* This,LPCOLESTR pwcsName,IStorage *pstgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage **ppstg) { + return This->lpVtbl->OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg); +} +static FORCEINLINE HRESULT IStorage_CopyTo(IStorage* This,DWORD ciidExclude,const IID *rgiidExclude,SNB snbExclude,IStorage *pstgDest) { + return This->lpVtbl->CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest); +} +static FORCEINLINE HRESULT IStorage_MoveElementTo(IStorage* This,LPCOLESTR pwcsName,IStorage *pstgDest,LPCOLESTR pwcsNewName,DWORD grfFlags) { + return This->lpVtbl->MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags); +} +static FORCEINLINE HRESULT IStorage_Commit(IStorage* This,DWORD grfCommitFlags) { + return This->lpVtbl->Commit(This,grfCommitFlags); +} +static FORCEINLINE HRESULT IStorage_Revert(IStorage* This) { + return This->lpVtbl->Revert(This); +} +static FORCEINLINE HRESULT IStorage_EnumElements(IStorage* This,DWORD reserved1,void *reserved2,DWORD reserved3,IEnumSTATSTG **ppenum) { + return This->lpVtbl->EnumElements(This,reserved1,reserved2,reserved3,ppenum); +} +static FORCEINLINE HRESULT IStorage_DestroyElement(IStorage* This,LPCOLESTR pwcsName) { + return This->lpVtbl->DestroyElement(This,pwcsName); +} +static FORCEINLINE HRESULT IStorage_RenameElement(IStorage* This,LPCOLESTR pwcsOldName,LPCOLESTR pwcsNewName) { + return This->lpVtbl->RenameElement(This,pwcsOldName,pwcsNewName); +} +static FORCEINLINE HRESULT IStorage_SetElementTimes(IStorage* This,LPCOLESTR pwcsName,const FILETIME *pctime,const FILETIME *patime,const FILETIME *pmtime) { + return This->lpVtbl->SetElementTimes(This,pwcsName,pctime,patime,pmtime); +} +static FORCEINLINE HRESULT IStorage_SetClass(IStorage* This,REFCLSID clsid) { + return This->lpVtbl->SetClass(This,clsid); +} +static FORCEINLINE HRESULT IStorage_SetStateBits(IStorage* This,DWORD grfStateBits,DWORD grfMask) { + return This->lpVtbl->SetStateBits(This,grfStateBits,grfMask); +} +static FORCEINLINE HRESULT IStorage_Stat(IStorage* This,STATSTG *pstatstg,DWORD grfStatFlag) { + return This->lpVtbl->Stat(This,pstatstg,grfStatFlag); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IStorage_RemoteOpenStream_Proxy( + IStorage* This, + LPCOLESTR pwcsName, + ULONG cbReserved1, + byte *reserved1, + DWORD grfMode, + DWORD reserved2, + IStream **ppstm); +void __RPC_STUB IStorage_RemoteOpenStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IStorage_RemoteEnumElements_Proxy( + IStorage* This, + DWORD reserved1, + ULONG cbReserved2, + byte *reserved2, + DWORD reserved3, + IEnumSTATSTG **ppenum); +void __RPC_STUB IStorage_RemoteEnumElements_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IStorage_OpenStream_Proxy( + IStorage* This, + LPCOLESTR pwcsName, + void *reserved1, + DWORD grfMode, + DWORD reserved2, + IStream **ppstm); +HRESULT __RPC_STUB IStorage_OpenStream_Stub( + IStorage* This, + LPCOLESTR pwcsName, + ULONG cbReserved1, + byte *reserved1, + DWORD grfMode, + DWORD reserved2, + IStream **ppstm); +HRESULT CALLBACK IStorage_EnumElements_Proxy( + IStorage* This, + DWORD reserved1, + void *reserved2, + DWORD reserved3, + IEnumSTATSTG **ppenum); +HRESULT __RPC_STUB IStorage_EnumElements_Stub( + IStorage* This, + DWORD reserved1, + ULONG cbReserved2, + byte *reserved2, + DWORD reserved3, + IEnumSTATSTG **ppenum); + +#endif /* __IStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistFile interface + */ +#ifndef __IPersistFile_INTERFACE_DEFINED__ +#define __IPersistFile_INTERFACE_DEFINED__ + +typedef IPersistFile *LPPERSISTFILE; +DEFINE_GUID(IID_IPersistFile, 0x0000010b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000010b-0000-0000-c000-000000000046") +IPersistFile : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + LPCOLESTR pszFileName, + DWORD dwMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + LPCOLESTR pszFileName, + BOOL fRemember) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveCompleted( + LPCOLESTR pszFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurFile( + LPOLESTR *ppszFileName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistFile, 0x0000010b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPersistFileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistFile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistFile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistFile *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistFile *This, + CLSID *pClassID); + + /*** IPersistFile methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistFile *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistFile *This, + LPCOLESTR pszFileName, + DWORD dwMode); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistFile *This, + LPCOLESTR pszFileName, + BOOL fRemember); + + HRESULT (STDMETHODCALLTYPE *SaveCompleted)( + IPersistFile *This, + LPCOLESTR pszFileName); + + HRESULT (STDMETHODCALLTYPE *GetCurFile)( + IPersistFile *This, + LPOLESTR *ppszFileName); + + END_INTERFACE +} IPersistFileVtbl; + +interface IPersistFile { + CONST_VTBL IPersistFileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistFile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistFile_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistFile_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistFile methods ***/ +#define IPersistFile_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IPersistFile_Load(This,pszFileName,dwMode) (This)->lpVtbl->Load(This,pszFileName,dwMode) +#define IPersistFile_Save(This,pszFileName,fRemember) (This)->lpVtbl->Save(This,pszFileName,fRemember) +#define IPersistFile_SaveCompleted(This,pszFileName) (This)->lpVtbl->SaveCompleted(This,pszFileName) +#define IPersistFile_GetCurFile(This,ppszFileName) (This)->lpVtbl->GetCurFile(This,ppszFileName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistFile_QueryInterface(IPersistFile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistFile_AddRef(IPersistFile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistFile_Release(IPersistFile* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistFile_GetClassID(IPersistFile* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistFile methods ***/ +static FORCEINLINE HRESULT IPersistFile_IsDirty(IPersistFile* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IPersistFile_Load(IPersistFile* This,LPCOLESTR pszFileName,DWORD dwMode) { + return This->lpVtbl->Load(This,pszFileName,dwMode); +} +static FORCEINLINE HRESULT IPersistFile_Save(IPersistFile* This,LPCOLESTR pszFileName,BOOL fRemember) { + return This->lpVtbl->Save(This,pszFileName,fRemember); +} +static FORCEINLINE HRESULT IPersistFile_SaveCompleted(IPersistFile* This,LPCOLESTR pszFileName) { + return This->lpVtbl->SaveCompleted(This,pszFileName); +} +static FORCEINLINE HRESULT IPersistFile_GetCurFile(IPersistFile* This,LPOLESTR *ppszFileName) { + return This->lpVtbl->GetCurFile(This,ppszFileName); +} +#endif +#endif + +#endif + + +#endif /* __IPersistFile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistStorage interface + */ +#ifndef __IPersistStorage_INTERFACE_DEFINED__ +#define __IPersistStorage_INTERFACE_DEFINED__ + +typedef IPersistStorage *LPPERSISTSTORAGE; +DEFINE_GUID(IID_IPersistStorage, 0x0000010a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000010a-0000-0000-c000-000000000046") +IPersistStorage : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitNew( + IStorage *pStg) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + IStorage *pStg) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + IStorage *pStgSave, + BOOL fSameAsLoad) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveCompleted( + IStorage *pStgNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandsOffStorage( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistStorage, 0x0000010a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPersistStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistStorage *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistStorage *This, + CLSID *pClassID); + + /*** IPersistStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistStorage *This); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPersistStorage *This, + IStorage *pStg); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistStorage *This, + IStorage *pStg); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistStorage *This, + IStorage *pStgSave, + BOOL fSameAsLoad); + + HRESULT (STDMETHODCALLTYPE *SaveCompleted)( + IPersistStorage *This, + IStorage *pStgNew); + + HRESULT (STDMETHODCALLTYPE *HandsOffStorage)( + IPersistStorage *This); + + END_INTERFACE +} IPersistStorageVtbl; + +interface IPersistStorage { + CONST_VTBL IPersistStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistStorage_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStorage methods ***/ +#define IPersistStorage_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IPersistStorage_InitNew(This,pStg) (This)->lpVtbl->InitNew(This,pStg) +#define IPersistStorage_Load(This,pStg) (This)->lpVtbl->Load(This,pStg) +#define IPersistStorage_Save(This,pStgSave,fSameAsLoad) (This)->lpVtbl->Save(This,pStgSave,fSameAsLoad) +#define IPersistStorage_SaveCompleted(This,pStgNew) (This)->lpVtbl->SaveCompleted(This,pStgNew) +#define IPersistStorage_HandsOffStorage(This) (This)->lpVtbl->HandsOffStorage(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistStorage_QueryInterface(IPersistStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistStorage_AddRef(IPersistStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistStorage_Release(IPersistStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistStorage_GetClassID(IPersistStorage* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStorage methods ***/ +static FORCEINLINE HRESULT IPersistStorage_IsDirty(IPersistStorage* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IPersistStorage_InitNew(IPersistStorage* This,IStorage *pStg) { + return This->lpVtbl->InitNew(This,pStg); +} +static FORCEINLINE HRESULT IPersistStorage_Load(IPersistStorage* This,IStorage *pStg) { + return This->lpVtbl->Load(This,pStg); +} +static FORCEINLINE HRESULT IPersistStorage_Save(IPersistStorage* This,IStorage *pStgSave,BOOL fSameAsLoad) { + return This->lpVtbl->Save(This,pStgSave,fSameAsLoad); +} +static FORCEINLINE HRESULT IPersistStorage_SaveCompleted(IPersistStorage* This,IStorage *pStgNew) { + return This->lpVtbl->SaveCompleted(This,pStgNew); +} +static FORCEINLINE HRESULT IPersistStorage_HandsOffStorage(IPersistStorage* This) { + return This->lpVtbl->HandsOffStorage(This); +} +#endif +#endif + +#endif + + +#endif /* __IPersistStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRootStorage interface + */ +#ifndef __IRootStorage_INTERFACE_DEFINED__ +#define __IRootStorage_INTERFACE_DEFINED__ + +typedef IRootStorage *LPROOTSTORAGE; +DEFINE_GUID(IID_IRootStorage, 0x00000012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000012-0000-0000-c000-000000000046") +IRootStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SwitchToFile( + LPOLESTR pszFile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRootStorage, 0x00000012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRootStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRootStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRootStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRootStorage *This); + + /*** IRootStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *SwitchToFile)( + IRootStorage *This, + LPOLESTR pszFile); + + END_INTERFACE +} IRootStorageVtbl; + +interface IRootStorage { + CONST_VTBL IRootStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRootStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRootStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRootStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IRootStorage methods ***/ +#define IRootStorage_SwitchToFile(This,pszFile) (This)->lpVtbl->SwitchToFile(This,pszFile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRootStorage_QueryInterface(IRootStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRootStorage_AddRef(IRootStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRootStorage_Release(IRootStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IRootStorage methods ***/ +static FORCEINLINE HRESULT IRootStorage_SwitchToFile(IRootStorage* This,LPOLESTR pszFile) { + return This->lpVtbl->SwitchToFile(This,pszFile); +} +#endif +#endif + +#endif + + +#endif /* __IRootStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ILockBytes interface + */ +#ifndef __ILockBytes_INTERFACE_DEFINED__ +#define __ILockBytes_INTERFACE_DEFINED__ + +typedef ILockBytes *LPLOCKBYTES; +DEFINE_GUID(IID_ILockBytes, 0x0000000a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000000a-0000-0000-c000-000000000046") +ILockBytes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ReadAt( + ULARGE_INTEGER ulOffset, + void *pv, + ULONG cb, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteAt( + ULARGE_INTEGER ulOffset, + const void *pv, + ULONG cb, + ULONG *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSize( + ULARGE_INTEGER cb) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockRegion( + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnlockRegion( + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stat( + STATSTG *pstatstg, + DWORD grfStatFlag) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ILockBytes, 0x0000000a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ILockBytesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ILockBytes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ILockBytes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ILockBytes *This); + + /*** ILockBytes methods ***/ + HRESULT (STDMETHODCALLTYPE *ReadAt)( + ILockBytes *This, + ULARGE_INTEGER ulOffset, + void *pv, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *WriteAt)( + ILockBytes *This, + ULARGE_INTEGER ulOffset, + const void *pv, + ULONG cb, + ULONG *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *Flush)( + ILockBytes *This); + + HRESULT (STDMETHODCALLTYPE *SetSize)( + ILockBytes *This, + ULARGE_INTEGER cb); + + HRESULT (STDMETHODCALLTYPE *LockRegion)( + ILockBytes *This, + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType); + + HRESULT (STDMETHODCALLTYPE *UnlockRegion)( + ILockBytes *This, + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType); + + HRESULT (STDMETHODCALLTYPE *Stat)( + ILockBytes *This, + STATSTG *pstatstg, + DWORD grfStatFlag); + + END_INTERFACE +} ILockBytesVtbl; + +interface ILockBytes { + CONST_VTBL ILockBytesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ILockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ILockBytes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ILockBytes_Release(This) (This)->lpVtbl->Release(This) +/*** ILockBytes methods ***/ +#define ILockBytes_ReadAt(This,ulOffset,pv,cb,pcbRead) (This)->lpVtbl->ReadAt(This,ulOffset,pv,cb,pcbRead) +#define ILockBytes_WriteAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->WriteAt(This,ulOffset,pv,cb,pcbWritten) +#define ILockBytes_Flush(This) (This)->lpVtbl->Flush(This) +#define ILockBytes_SetSize(This,cb) (This)->lpVtbl->SetSize(This,cb) +#define ILockBytes_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType) +#define ILockBytes_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType) +#define ILockBytes_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ILockBytes_QueryInterface(ILockBytes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ILockBytes_AddRef(ILockBytes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ILockBytes_Release(ILockBytes* This) { + return This->lpVtbl->Release(This); +} +/*** ILockBytes methods ***/ +static FORCEINLINE HRESULT ILockBytes_ReadAt(ILockBytes* This,ULARGE_INTEGER ulOffset,void *pv,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->ReadAt(This,ulOffset,pv,cb,pcbRead); +} +static FORCEINLINE HRESULT ILockBytes_WriteAt(ILockBytes* This,ULARGE_INTEGER ulOffset,const void *pv,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->WriteAt(This,ulOffset,pv,cb,pcbWritten); +} +static FORCEINLINE HRESULT ILockBytes_Flush(ILockBytes* This) { + return This->lpVtbl->Flush(This); +} +static FORCEINLINE HRESULT ILockBytes_SetSize(ILockBytes* This,ULARGE_INTEGER cb) { + return This->lpVtbl->SetSize(This,cb); +} +static FORCEINLINE HRESULT ILockBytes_LockRegion(ILockBytes* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { + return This->lpVtbl->LockRegion(This,libOffset,cb,dwLockType); +} +static FORCEINLINE HRESULT ILockBytes_UnlockRegion(ILockBytes* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { + return This->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType); +} +static FORCEINLINE HRESULT ILockBytes_Stat(ILockBytes* This,STATSTG *pstatstg,DWORD grfStatFlag) { + return This->lpVtbl->Stat(This,pstatstg,grfStatFlag); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ILockBytes_RemoteReadAt_Proxy( + ILockBytes* This, + ULARGE_INTEGER ulOffset, + byte *pv, + ULONG cb, + ULONG *pcbRead); +void __RPC_STUB ILockBytes_RemoteReadAt_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Proxy( + ILockBytes* This, + ULARGE_INTEGER ulOffset, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); +void __RPC_STUB ILockBytes_RemoteWriteAt_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ILockBytes_ReadAt_Proxy( + ILockBytes* This, + ULARGE_INTEGER ulOffset, + void *pv, + ULONG cb, + ULONG *pcbRead); +HRESULT __RPC_STUB ILockBytes_ReadAt_Stub( + ILockBytes* This, + ULARGE_INTEGER ulOffset, + byte *pv, + ULONG cb, + ULONG *pcbRead); +HRESULT CALLBACK ILockBytes_WriteAt_Proxy( + ILockBytes* This, + ULARGE_INTEGER ulOffset, + const void *pv, + ULONG cb, + ULONG *pcbWritten); +HRESULT __RPC_STUB ILockBytes_WriteAt_Stub( + ILockBytes* This, + ULARGE_INTEGER ulOffset, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); + +#endif /* __ILockBytes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFillLockBytes interface + */ +#ifndef __IFillLockBytes_INTERFACE_DEFINED__ +#define __IFillLockBytes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFillLockBytes, 0x99caf010, 0x415e, 0x11cf, 0x88,0x14, 0x00,0xaa,0x00,0xb5,0x69,0xf5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("99caf010-415e-11cf-8814-00aa00b569f5") +IFillLockBytes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FillAppend( + const void *pv, + ULONG cb, + ULONG *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE FillAt( + ULARGE_INTEGER ulOffset, + const void *pv, + ULONG cb, + ULONG *pcbWritten) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFillSize( + ULARGE_INTEGER ulSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE Terminate( + BOOL bCanceled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFillLockBytes, 0x99caf010, 0x415e, 0x11cf, 0x88,0x14, 0x00,0xaa,0x00,0xb5,0x69,0xf5) +#endif +#else +typedef struct IFillLockBytesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFillLockBytes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFillLockBytes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFillLockBytes *This); + + /*** IFillLockBytes methods ***/ + HRESULT (STDMETHODCALLTYPE *FillAppend)( + IFillLockBytes *This, + const void *pv, + ULONG cb, + ULONG *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *FillAt)( + IFillLockBytes *This, + ULARGE_INTEGER ulOffset, + const void *pv, + ULONG cb, + ULONG *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *SetFillSize)( + IFillLockBytes *This, + ULARGE_INTEGER ulSize); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + IFillLockBytes *This, + BOOL bCanceled); + + END_INTERFACE +} IFillLockBytesVtbl; + +interface IFillLockBytes { + CONST_VTBL IFillLockBytesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFillLockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFillLockBytes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFillLockBytes_Release(This) (This)->lpVtbl->Release(This) +/*** IFillLockBytes methods ***/ +#define IFillLockBytes_FillAppend(This,pv,cb,pcbWritten) (This)->lpVtbl->FillAppend(This,pv,cb,pcbWritten) +#define IFillLockBytes_FillAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->FillAt(This,ulOffset,pv,cb,pcbWritten) +#define IFillLockBytes_SetFillSize(This,ulSize) (This)->lpVtbl->SetFillSize(This,ulSize) +#define IFillLockBytes_Terminate(This,bCanceled) (This)->lpVtbl->Terminate(This,bCanceled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFillLockBytes_QueryInterface(IFillLockBytes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFillLockBytes_AddRef(IFillLockBytes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFillLockBytes_Release(IFillLockBytes* This) { + return This->lpVtbl->Release(This); +} +/*** IFillLockBytes methods ***/ +static FORCEINLINE HRESULT IFillLockBytes_FillAppend(IFillLockBytes* This,const void *pv,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->FillAppend(This,pv,cb,pcbWritten); +} +static FORCEINLINE HRESULT IFillLockBytes_FillAt(IFillLockBytes* This,ULARGE_INTEGER ulOffset,const void *pv,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->FillAt(This,ulOffset,pv,cb,pcbWritten); +} +static FORCEINLINE HRESULT IFillLockBytes_SetFillSize(IFillLockBytes* This,ULARGE_INTEGER ulSize) { + return This->lpVtbl->SetFillSize(This,ulSize); +} +static FORCEINLINE HRESULT IFillLockBytes_Terminate(IFillLockBytes* This,BOOL bCanceled) { + return This->lpVtbl->Terminate(This,bCanceled); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IFillLockBytes_RemoteFillAppend_Proxy( + IFillLockBytes* This, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); +void __RPC_STUB IFillLockBytes_RemoteFillAppend_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFillLockBytes_RemoteFillAt_Proxy( + IFillLockBytes* This, + ULARGE_INTEGER ulOffset, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); +void __RPC_STUB IFillLockBytes_RemoteFillAt_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy( + IFillLockBytes* This, + const void *pv, + ULONG cb, + ULONG *pcbWritten); +HRESULT __RPC_STUB IFillLockBytes_FillAppend_Stub( + IFillLockBytes* This, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); +HRESULT CALLBACK IFillLockBytes_FillAt_Proxy( + IFillLockBytes* This, + ULARGE_INTEGER ulOffset, + const void *pv, + ULONG cb, + ULONG *pcbWritten); +HRESULT __RPC_STUB IFillLockBytes_FillAt_Stub( + IFillLockBytes* This, + ULARGE_INTEGER ulOffset, + const byte *pv, + ULONG cb, + ULONG *pcbWritten); + +#endif /* __IFillLockBytes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProgressNotify interface + */ +#ifndef __IProgressNotify_INTERFACE_DEFINED__ +#define __IProgressNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IProgressNotify, 0xa9d758a0, 0x4617, 0x11cf, 0x95,0xfc, 0x00,0xaa,0x00,0x68,0x0d,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a9d758a0-4617-11cf-95fc-00aa00680db4") +IProgressNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnProgress( + DWORD dwProgressCurrent, + DWORD dwProgressMaximum, + BOOL fAccurate, + BOOL fOwner) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProgressNotify, 0xa9d758a0, 0x4617, 0x11cf, 0x95,0xfc, 0x00,0xaa,0x00,0x68,0x0d,0xb4) +#endif +#else +typedef struct IProgressNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProgressNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProgressNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProgressNotify *This); + + /*** IProgressNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnProgress)( + IProgressNotify *This, + DWORD dwProgressCurrent, + DWORD dwProgressMaximum, + BOOL fAccurate, + BOOL fOwner); + + END_INTERFACE +} IProgressNotifyVtbl; + +interface IProgressNotify { + CONST_VTBL IProgressNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProgressNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProgressNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProgressNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IProgressNotify methods ***/ +#define IProgressNotify_OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner) (This)->lpVtbl->OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProgressNotify_QueryInterface(IProgressNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProgressNotify_AddRef(IProgressNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProgressNotify_Release(IProgressNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IProgressNotify methods ***/ +static FORCEINLINE HRESULT IProgressNotify_OnProgress(IProgressNotify* This,DWORD dwProgressCurrent,DWORD dwProgressMaximum,BOOL fAccurate,BOOL fOwner) { + return This->lpVtbl->OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner); +} +#endif +#endif + +#endif + + +#endif /* __IProgressNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ILayoutStorage interface + */ +#ifndef __ILayoutStorage_INTERFACE_DEFINED__ +#define __ILayoutStorage_INTERFACE_DEFINED__ + +typedef struct tagStorageLayout { + DWORD LayoutType; + OLECHAR *pwcsElementName; + LARGE_INTEGER cOffset; + LARGE_INTEGER cBytes; +} StorageLayout; +DEFINE_GUID(IID_ILayoutStorage, 0x0e6d4d90, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0e6d4d90-6738-11cf-9608-00aa00680db4") +ILayoutStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE LayoutScript( + StorageLayout *pStorageLayout, + DWORD nEntries, + DWORD glfInterleavedFlag) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginMonitor( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndMonitor( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReLayoutDocfile( + OLECHAR *pwcsNewDfName) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReLayoutDocfileOnILockBytes( + ILockBytes *pILockBytes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ILayoutStorage, 0x0e6d4d90, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4) +#endif +#else +typedef struct ILayoutStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ILayoutStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ILayoutStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ILayoutStorage *This); + + /*** ILayoutStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *LayoutScript)( + ILayoutStorage *This, + StorageLayout *pStorageLayout, + DWORD nEntries, + DWORD glfInterleavedFlag); + + HRESULT (STDMETHODCALLTYPE *BeginMonitor)( + ILayoutStorage *This); + + HRESULT (STDMETHODCALLTYPE *EndMonitor)( + ILayoutStorage *This); + + HRESULT (STDMETHODCALLTYPE *ReLayoutDocfile)( + ILayoutStorage *This, + OLECHAR *pwcsNewDfName); + + HRESULT (STDMETHODCALLTYPE *ReLayoutDocfileOnILockBytes)( + ILayoutStorage *This, + ILockBytes *pILockBytes); + + END_INTERFACE +} ILayoutStorageVtbl; + +interface ILayoutStorage { + CONST_VTBL ILayoutStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ILayoutStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ILayoutStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ILayoutStorage_Release(This) (This)->lpVtbl->Release(This) +/*** ILayoutStorage methods ***/ +#define ILayoutStorage_LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag) (This)->lpVtbl->LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag) +#define ILayoutStorage_BeginMonitor(This) (This)->lpVtbl->BeginMonitor(This) +#define ILayoutStorage_EndMonitor(This) (This)->lpVtbl->EndMonitor(This) +#define ILayoutStorage_ReLayoutDocfile(This,pwcsNewDfName) (This)->lpVtbl->ReLayoutDocfile(This,pwcsNewDfName) +#define ILayoutStorage_ReLayoutDocfileOnILockBytes(This,pILockBytes) (This)->lpVtbl->ReLayoutDocfileOnILockBytes(This,pILockBytes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ILayoutStorage_QueryInterface(ILayoutStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ILayoutStorage_AddRef(ILayoutStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ILayoutStorage_Release(ILayoutStorage* This) { + return This->lpVtbl->Release(This); +} +/*** ILayoutStorage methods ***/ +static FORCEINLINE HRESULT ILayoutStorage_LayoutScript(ILayoutStorage* This,StorageLayout *pStorageLayout,DWORD nEntries,DWORD glfInterleavedFlag) { + return This->lpVtbl->LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag); +} +static FORCEINLINE HRESULT ILayoutStorage_BeginMonitor(ILayoutStorage* This) { + return This->lpVtbl->BeginMonitor(This); +} +static FORCEINLINE HRESULT ILayoutStorage_EndMonitor(ILayoutStorage* This) { + return This->lpVtbl->EndMonitor(This); +} +static FORCEINLINE HRESULT ILayoutStorage_ReLayoutDocfile(ILayoutStorage* This,OLECHAR *pwcsNewDfName) { + return This->lpVtbl->ReLayoutDocfile(This,pwcsNewDfName); +} +static FORCEINLINE HRESULT ILayoutStorage_ReLayoutDocfileOnILockBytes(ILayoutStorage* This,ILockBytes *pILockBytes) { + return This->lpVtbl->ReLayoutDocfileOnILockBytes(This,pILockBytes); +} +#endif +#endif + +#endif + + +#endif /* __ILayoutStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBlockingLock interface + */ +#ifndef __IBlockingLock_INTERFACE_DEFINED__ +#define __IBlockingLock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBlockingLock, 0x30f3d47a, 0x6447, 0x11d1, 0x8e,0x3c, 0x00,0xc0,0x4f,0xb9,0x38,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30f3d47a-6447-11d1-8e3c-00c04fb9386d") +IBlockingLock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Lock( + DWORD dwTimeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unlock( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBlockingLock, 0x30f3d47a, 0x6447, 0x11d1, 0x8e,0x3c, 0x00,0xc0,0x4f,0xb9,0x38,0x6d) +#endif +#else +typedef struct IBlockingLockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBlockingLock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBlockingLock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBlockingLock *This); + + /*** IBlockingLock methods ***/ + HRESULT (STDMETHODCALLTYPE *Lock)( + IBlockingLock *This, + DWORD dwTimeout); + + HRESULT (STDMETHODCALLTYPE *Unlock)( + IBlockingLock *This); + + END_INTERFACE +} IBlockingLockVtbl; + +interface IBlockingLock { + CONST_VTBL IBlockingLockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBlockingLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBlockingLock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBlockingLock_Release(This) (This)->lpVtbl->Release(This) +/*** IBlockingLock methods ***/ +#define IBlockingLock_Lock(This,dwTimeout) (This)->lpVtbl->Lock(This,dwTimeout) +#define IBlockingLock_Unlock(This) (This)->lpVtbl->Unlock(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBlockingLock_QueryInterface(IBlockingLock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBlockingLock_AddRef(IBlockingLock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBlockingLock_Release(IBlockingLock* This) { + return This->lpVtbl->Release(This); +} +/*** IBlockingLock methods ***/ +static FORCEINLINE HRESULT IBlockingLock_Lock(IBlockingLock* This,DWORD dwTimeout) { + return This->lpVtbl->Lock(This,dwTimeout); +} +static FORCEINLINE HRESULT IBlockingLock_Unlock(IBlockingLock* This) { + return This->lpVtbl->Unlock(This); +} +#endif +#endif + +#endif + + +#endif /* __IBlockingLock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITimeAndNoticeControl interface + */ +#ifndef __ITimeAndNoticeControl_INTERFACE_DEFINED__ +#define __ITimeAndNoticeControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITimeAndNoticeControl, 0xbc0bf6ae, 0x8878, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc0bf6ae-8878-11d1-83e9-00c04fc2c6d4") +ITimeAndNoticeControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SuppressChanges( + DWORD res1, + DWORD res2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITimeAndNoticeControl, 0xbc0bf6ae, 0x8878, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4) +#endif +#else +typedef struct ITimeAndNoticeControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITimeAndNoticeControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITimeAndNoticeControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITimeAndNoticeControl *This); + + /*** ITimeAndNoticeControl methods ***/ + HRESULT (STDMETHODCALLTYPE *SuppressChanges)( + ITimeAndNoticeControl *This, + DWORD res1, + DWORD res2); + + END_INTERFACE +} ITimeAndNoticeControlVtbl; + +interface ITimeAndNoticeControl { + CONST_VTBL ITimeAndNoticeControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITimeAndNoticeControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITimeAndNoticeControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITimeAndNoticeControl_Release(This) (This)->lpVtbl->Release(This) +/*** ITimeAndNoticeControl methods ***/ +#define ITimeAndNoticeControl_SuppressChanges(This,res1,res2) (This)->lpVtbl->SuppressChanges(This,res1,res2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITimeAndNoticeControl_QueryInterface(ITimeAndNoticeControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITimeAndNoticeControl_AddRef(ITimeAndNoticeControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITimeAndNoticeControl_Release(ITimeAndNoticeControl* This) { + return This->lpVtbl->Release(This); +} +/*** ITimeAndNoticeControl methods ***/ +static FORCEINLINE HRESULT ITimeAndNoticeControl_SuppressChanges(ITimeAndNoticeControl* This,DWORD res1,DWORD res2) { + return This->lpVtbl->SuppressChanges(This,res1,res2); +} +#endif +#endif + +#endif + + +#endif /* __ITimeAndNoticeControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOplockStorage interface + */ +#ifndef __IOplockStorage_INTERFACE_DEFINED__ +#define __IOplockStorage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOplockStorage, 0x8d19c834, 0x8879, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8d19c834-8879-11d1-83e9-00c04fc2c6d4") +IOplockStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateStorageEx( + LPCWSTR pwcsName, + DWORD grfMode, + DWORD stgfmt, + DWORD grfAttrs, + REFIID riid, + void **ppstgOpen) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenStorageEx( + LPCWSTR pwcsName, + DWORD grfMode, + DWORD stgfmt, + DWORD grfAttrs, + REFIID riid, + void **ppstgOpen) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOplockStorage, 0x8d19c834, 0x8879, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4) +#endif +#else +typedef struct IOplockStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOplockStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOplockStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOplockStorage *This); + + /*** IOplockStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStorageEx)( + IOplockStorage *This, + LPCWSTR pwcsName, + DWORD grfMode, + DWORD stgfmt, + DWORD grfAttrs, + REFIID riid, + void **ppstgOpen); + + HRESULT (STDMETHODCALLTYPE *OpenStorageEx)( + IOplockStorage *This, + LPCWSTR pwcsName, + DWORD grfMode, + DWORD stgfmt, + DWORD grfAttrs, + REFIID riid, + void **ppstgOpen); + + END_INTERFACE +} IOplockStorageVtbl; + +interface IOplockStorage { + CONST_VTBL IOplockStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOplockStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOplockStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOplockStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IOplockStorage methods ***/ +#define IOplockStorage_CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) (This)->lpVtbl->CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) +#define IOplockStorage_OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) (This)->lpVtbl->OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOplockStorage_QueryInterface(IOplockStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOplockStorage_AddRef(IOplockStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOplockStorage_Release(IOplockStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IOplockStorage methods ***/ +static FORCEINLINE HRESULT IOplockStorage_CreateStorageEx(IOplockStorage* This,LPCWSTR pwcsName,DWORD grfMode,DWORD stgfmt,DWORD grfAttrs,REFIID riid,void **ppstgOpen) { + return This->lpVtbl->CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen); +} +static FORCEINLINE HRESULT IOplockStorage_OpenStorageEx(IOplockStorage* This,LPCWSTR pwcsName,DWORD grfMode,DWORD stgfmt,DWORD grfAttrs,REFIID riid,void **ppstgOpen) { + return This->lpVtbl->OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen); +} +#endif +#endif + +#endif + + +#endif /* __IOplockStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumFORMATETC interface + */ +#ifndef __IEnumFORMATETC_INTERFACE_DEFINED__ +#define __IEnumFORMATETC_INTERFACE_DEFINED__ + +typedef IEnumFORMATETC *LPENUMFORMATETC; +typedef struct tagDVTARGETDEVICE { + DWORD tdSize; + WORD tdDriverNameOffset; + WORD tdDeviceNameOffset; + WORD tdPortNameOffset; + WORD tdExtDevmodeOffset; + BYTE tdData[1]; +} DVTARGETDEVICE; +typedef CLIPFORMAT *LPCLIPFORMAT; +typedef struct tagFORMATETC { + CLIPFORMAT cfFormat; + DVTARGETDEVICE *ptd; + DWORD dwAspect; + LONG lindex; + DWORD tymed; +} FORMATETC; +typedef struct tagFORMATETC *LPFORMATETC; +DEFINE_GUID(IID_IEnumFORMATETC, 0x00000103, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000103-0000-0000-c000-000000000046") +IEnumFORMATETC : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + FORMATETC *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumFORMATETC **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumFORMATETC, 0x00000103, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumFORMATETCVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumFORMATETC *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumFORMATETC *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumFORMATETC *This); + + /*** IEnumFORMATETC methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumFORMATETC *This, + ULONG celt, + FORMATETC *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumFORMATETC *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumFORMATETC *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumFORMATETC *This, + IEnumFORMATETC **ppenum); + + END_INTERFACE +} IEnumFORMATETCVtbl; + +interface IEnumFORMATETC { + CONST_VTBL IEnumFORMATETCVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumFORMATETC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumFORMATETC_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumFORMATETC_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumFORMATETC methods ***/ +#define IEnumFORMATETC_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumFORMATETC_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumFORMATETC_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumFORMATETC_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumFORMATETC_QueryInterface(IEnumFORMATETC* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumFORMATETC_AddRef(IEnumFORMATETC* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumFORMATETC_Release(IEnumFORMATETC* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumFORMATETC methods ***/ +static FORCEINLINE HRESULT IEnumFORMATETC_Next(IEnumFORMATETC* This,ULONG celt,FORMATETC *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumFORMATETC_Skip(IEnumFORMATETC* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumFORMATETC_Reset(IEnumFORMATETC* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumFORMATETC_Clone(IEnumFORMATETC* This,IEnumFORMATETC **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Proxy( + IEnumFORMATETC* This, + ULONG celt, + FORMATETC *rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumFORMATETC_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumFORMATETC_Next_Proxy( + IEnumFORMATETC* This, + ULONG celt, + FORMATETC *rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub( + IEnumFORMATETC* This, + ULONG celt, + FORMATETC *rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumFORMATETC_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumSTATDATA interface + */ +#ifndef __IEnumSTATDATA_INTERFACE_DEFINED__ +#define __IEnumSTATDATA_INTERFACE_DEFINED__ + +typedef IEnumSTATDATA *LPENUMSTATDATA; +typedef enum tagADVF { + ADVF_NODATA = 1, + ADVF_PRIMEFIRST = 2, + ADVF_ONLYONCE = 4, + ADVF_DATAONSTOP = 64, + ADVFCACHE_NOHANDLER = 8, + ADVFCACHE_FORCEBUILTIN = 16, + ADVFCACHE_ONSAVE = 32 +} ADVF; +typedef struct tagSTATDATA { + FORMATETC formatetc; + DWORD advf; + IAdviseSink *pAdvSink; + DWORD dwConnection; +} STATDATA; +typedef struct tagSTATDATA *LPSTATDATA; +DEFINE_GUID(IID_IEnumSTATDATA, 0x00000105, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000105-0000-0000-c000-000000000046") +IEnumSTATDATA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + STATDATA *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumSTATDATA **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumSTATDATA, 0x00000105, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumSTATDATAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumSTATDATA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumSTATDATA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumSTATDATA *This); + + /*** IEnumSTATDATA methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumSTATDATA *This, + ULONG celt, + STATDATA *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumSTATDATA *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumSTATDATA *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumSTATDATA *This, + IEnumSTATDATA **ppenum); + + END_INTERFACE +} IEnumSTATDATAVtbl; + +interface IEnumSTATDATA { + CONST_VTBL IEnumSTATDATAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumSTATDATA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumSTATDATA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumSTATDATA_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSTATDATA methods ***/ +#define IEnumSTATDATA_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumSTATDATA_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumSTATDATA_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumSTATDATA_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumSTATDATA_QueryInterface(IEnumSTATDATA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumSTATDATA_AddRef(IEnumSTATDATA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumSTATDATA_Release(IEnumSTATDATA* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSTATDATA methods ***/ +static FORCEINLINE HRESULT IEnumSTATDATA_Next(IEnumSTATDATA* This,ULONG celt,STATDATA *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumSTATDATA_Skip(IEnumSTATDATA* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumSTATDATA_Reset(IEnumSTATDATA* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumSTATDATA_Clone(IEnumSTATDATA* This,IEnumSTATDATA **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Proxy( + IEnumSTATDATA* This, + ULONG celt, + STATDATA *rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumSTATDATA_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumSTATDATA_Next_Proxy( + IEnumSTATDATA* This, + ULONG celt, + STATDATA *rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumSTATDATA_Next_Stub( + IEnumSTATDATA* This, + ULONG celt, + STATDATA *rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumSTATDATA_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAdviseSink interface + */ +#ifndef __IAdviseSink_INTERFACE_DEFINED__ +#define __IAdviseSink_INTERFACE_DEFINED__ + +typedef IAdviseSink *LPADVISESINK; +typedef enum tagTYMED { + TYMED_HGLOBAL = 1, + TYMED_FILE = 2, + TYMED_ISTREAM = 4, + TYMED_ISTORAGE = 8, + TYMED_GDI = 16, + TYMED_MFPICT = 32, + TYMED_ENHMF = 64, + TYMED_NULL = 0 +} TYMED; +typedef struct tagRemSTGMEDIUM { + DWORD tymed; + DWORD dwHandleType; + ULONG pData; + ULONG pUnkForRelease; + ULONG cbData; + byte data[1]; +} RemSTGMEDIUM; +typedef struct tagSTGMEDIUM { + DWORD tymed; + union { + HBITMAP hBitmap; + HMETAFILEPICT hMetaFilePict; + HENHMETAFILE hEnhMetaFile; + HGLOBAL hGlobal; + LPOLESTR lpszFileName; + IStream *pstm; + IStorage *pstg; + } DUMMYUNIONNAME; + IUnknown *pUnkForRelease; +} uSTGMEDIUM; +typedef struct _GDI_OBJECT { + DWORD ObjectType; + union { + wireHBITMAP hBitmap; + wireHPALETTE hPalette; + wireHGLOBAL hGeneric; + } u; +} GDI_OBJECT; +typedef struct _userSTGMEDIUM { + struct { + DWORD tymed; + union { + wireHMETAFILEPICT hMetaFilePict; + wireHENHMETAFILE hHEnhMetaFile; + GDI_OBJECT *hGdiHandle; + wireHGLOBAL hGlobal; + LPOLESTR lpszFileName; + BYTE_BLOB *pstm; + BYTE_BLOB *pstg; + } u; + } DUMMYUNIONNAME; + IUnknown *pUnkForRelease; +} userSTGMEDIUM; +typedef userSTGMEDIUM *wireSTGMEDIUM; +typedef uSTGMEDIUM STGMEDIUM; +typedef userSTGMEDIUM *wireASYNC_STGMEDIUM; +typedef STGMEDIUM ASYNC_STGMEDIUM; +typedef STGMEDIUM *LPSTGMEDIUM; +typedef struct _userFLAG_STGMEDIUM { + LONG ContextFlags; + LONG fPassOwnership; + userSTGMEDIUM Stgmed; +} userFLAG_STGMEDIUM; +typedef userFLAG_STGMEDIUM *wireFLAG_STGMEDIUM; +typedef struct _FLAG_STGMEDIUM { + LONG ContextFlags; + LONG fPassOwnership; + STGMEDIUM Stgmed; +} FLAG_STGMEDIUM; +DEFINE_GUID(IID_IAdviseSink, 0x0000010f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000010f-0000-0000-c000-000000000046") +IAdviseSink : public IUnknown +{ + virtual void STDMETHODCALLTYPE OnDataChange( + FORMATETC *pFormatetc, + STGMEDIUM *pStgmed) = 0; + + virtual void STDMETHODCALLTYPE OnViewChange( + DWORD dwAspect, + LONG lindex) = 0; + + virtual void STDMETHODCALLTYPE OnRename( + IMoniker *pmk) = 0; + + virtual void STDMETHODCALLTYPE OnSave( + ) = 0; + + virtual void STDMETHODCALLTYPE OnClose( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAdviseSink, 0x0000010f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IAdviseSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAdviseSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAdviseSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAdviseSink *This); + + /*** IAdviseSink methods ***/ + void (STDMETHODCALLTYPE *OnDataChange)( + IAdviseSink *This, + FORMATETC *pFormatetc, + STGMEDIUM *pStgmed); + + void (STDMETHODCALLTYPE *OnViewChange)( + IAdviseSink *This, + DWORD dwAspect, + LONG lindex); + + void (STDMETHODCALLTYPE *OnRename)( + IAdviseSink *This, + IMoniker *pmk); + + void (STDMETHODCALLTYPE *OnSave)( + IAdviseSink *This); + + void (STDMETHODCALLTYPE *OnClose)( + IAdviseSink *This); + + END_INTERFACE +} IAdviseSinkVtbl; + +interface IAdviseSink { + CONST_VTBL IAdviseSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAdviseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAdviseSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAdviseSink_Release(This) (This)->lpVtbl->Release(This) +/*** IAdviseSink methods ***/ +#define IAdviseSink_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed) +#define IAdviseSink_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex) +#define IAdviseSink_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk) +#define IAdviseSink_OnSave(This) (This)->lpVtbl->OnSave(This) +#define IAdviseSink_OnClose(This) (This)->lpVtbl->OnClose(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAdviseSink_QueryInterface(IAdviseSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAdviseSink_AddRef(IAdviseSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAdviseSink_Release(IAdviseSink* This) { + return This->lpVtbl->Release(This); +} +/*** IAdviseSink methods ***/ +static FORCEINLINE void IAdviseSink_OnDataChange(IAdviseSink* This,FORMATETC *pFormatetc,STGMEDIUM *pStgmed) { + This->lpVtbl->OnDataChange(This,pFormatetc,pStgmed); +} +static FORCEINLINE void IAdviseSink_OnViewChange(IAdviseSink* This,DWORD dwAspect,LONG lindex) { + This->lpVtbl->OnViewChange(This,dwAspect,lindex); +} +static FORCEINLINE void IAdviseSink_OnRename(IAdviseSink* This,IMoniker *pmk) { + This->lpVtbl->OnRename(This,pmk); +} +static FORCEINLINE void IAdviseSink_OnSave(IAdviseSink* This) { + This->lpVtbl->OnSave(This); +} +static FORCEINLINE void IAdviseSink_OnClose(IAdviseSink* This) { + This->lpVtbl->OnClose(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Proxy( + IAdviseSink* This, + FORMATETC *pFormatetc, + ASYNC_STGMEDIUM *pStgmed); +void __RPC_STUB IAdviseSink_RemoteOnDataChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Proxy( + IAdviseSink* This, + DWORD dwAspect, + LONG lindex); +void __RPC_STUB IAdviseSink_RemoteOnViewChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Proxy( + IAdviseSink* This, + IMoniker *pmk); +void __RPC_STUB IAdviseSink_RemoteOnRename_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Proxy( + IAdviseSink* This); +void __RPC_STUB IAdviseSink_RemoteOnSave_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Proxy( + IAdviseSink* This); +void __RPC_STUB IAdviseSink_RemoteOnClose_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +void CALLBACK IAdviseSink_OnDataChange_Proxy( + IAdviseSink* This, + FORMATETC *pFormatetc, + STGMEDIUM *pStgmed); +HRESULT __RPC_STUB IAdviseSink_OnDataChange_Stub( + IAdviseSink* This, + FORMATETC *pFormatetc, + ASYNC_STGMEDIUM *pStgmed); +void CALLBACK IAdviseSink_OnViewChange_Proxy( + IAdviseSink* This, + DWORD dwAspect, + LONG lindex); +HRESULT __RPC_STUB IAdviseSink_OnViewChange_Stub( + IAdviseSink* This, + DWORD dwAspect, + LONG lindex); +void CALLBACK IAdviseSink_OnRename_Proxy( + IAdviseSink* This, + IMoniker *pmk); +HRESULT __RPC_STUB IAdviseSink_OnRename_Stub( + IAdviseSink* This, + IMoniker *pmk); +void CALLBACK IAdviseSink_OnSave_Proxy( + IAdviseSink* This); +HRESULT __RPC_STUB IAdviseSink_OnSave_Stub( + IAdviseSink* This); +void CALLBACK IAdviseSink_OnClose_Proxy( + IAdviseSink* This); +HRESULT __RPC_STUB IAdviseSink_OnClose_Stub( + IAdviseSink* This); + +#endif /* __IAdviseSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAdviseSink2 interface + */ +#ifndef __IAdviseSink2_INTERFACE_DEFINED__ +#define __IAdviseSink2_INTERFACE_DEFINED__ + +typedef IAdviseSink2 *LPADVISESINK2; +DEFINE_GUID(IID_IAdviseSink2, 0x00000125, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000125-0000-0000-c000-000000000046") +IAdviseSink2 : public IAdviseSink +{ + virtual void STDMETHODCALLTYPE OnLinkSrcChange( + IMoniker *pmk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAdviseSink2, 0x00000125, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IAdviseSink2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAdviseSink2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAdviseSink2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAdviseSink2 *This); + + /*** IAdviseSink methods ***/ + void (STDMETHODCALLTYPE *OnDataChange)( + IAdviseSink2 *This, + FORMATETC *pFormatetc, + STGMEDIUM *pStgmed); + + void (STDMETHODCALLTYPE *OnViewChange)( + IAdviseSink2 *This, + DWORD dwAspect, + LONG lindex); + + void (STDMETHODCALLTYPE *OnRename)( + IAdviseSink2 *This, + IMoniker *pmk); + + void (STDMETHODCALLTYPE *OnSave)( + IAdviseSink2 *This); + + void (STDMETHODCALLTYPE *OnClose)( + IAdviseSink2 *This); + + /*** IAdviseSink2 methods ***/ + void (STDMETHODCALLTYPE *OnLinkSrcChange)( + IAdviseSink2 *This, + IMoniker *pmk); + + END_INTERFACE +} IAdviseSink2Vtbl; + +interface IAdviseSink2 { + CONST_VTBL IAdviseSink2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAdviseSink2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAdviseSink2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAdviseSink2_Release(This) (This)->lpVtbl->Release(This) +/*** IAdviseSink methods ***/ +#define IAdviseSink2_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed) +#define IAdviseSink2_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex) +#define IAdviseSink2_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk) +#define IAdviseSink2_OnSave(This) (This)->lpVtbl->OnSave(This) +#define IAdviseSink2_OnClose(This) (This)->lpVtbl->OnClose(This) +/*** IAdviseSink2 methods ***/ +#define IAdviseSink2_OnLinkSrcChange(This,pmk) (This)->lpVtbl->OnLinkSrcChange(This,pmk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAdviseSink2_QueryInterface(IAdviseSink2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAdviseSink2_AddRef(IAdviseSink2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAdviseSink2_Release(IAdviseSink2* This) { + return This->lpVtbl->Release(This); +} +/*** IAdviseSink methods ***/ +static FORCEINLINE void IAdviseSink2_OnDataChange(IAdviseSink2* This,FORMATETC *pFormatetc,STGMEDIUM *pStgmed) { + This->lpVtbl->OnDataChange(This,pFormatetc,pStgmed); +} +static FORCEINLINE void IAdviseSink2_OnViewChange(IAdviseSink2* This,DWORD dwAspect,LONG lindex) { + This->lpVtbl->OnViewChange(This,dwAspect,lindex); +} +static FORCEINLINE void IAdviseSink2_OnRename(IAdviseSink2* This,IMoniker *pmk) { + This->lpVtbl->OnRename(This,pmk); +} +static FORCEINLINE void IAdviseSink2_OnSave(IAdviseSink2* This) { + This->lpVtbl->OnSave(This); +} +static FORCEINLINE void IAdviseSink2_OnClose(IAdviseSink2* This) { + This->lpVtbl->OnClose(This); +} +/*** IAdviseSink2 methods ***/ +static FORCEINLINE void IAdviseSink2_OnLinkSrcChange(IAdviseSink2* This,IMoniker *pmk) { + This->lpVtbl->OnLinkSrcChange(This,pmk); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Proxy( + IAdviseSink2* This, + IMoniker *pmk); +void __RPC_STUB IAdviseSink2_RemoteOnLinkSrcChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +void CALLBACK IAdviseSink2_OnLinkSrcChange_Proxy( + IAdviseSink2* This, + IMoniker *pmk); +HRESULT __RPC_STUB IAdviseSink2_OnLinkSrcChange_Stub( + IAdviseSink2* This, + IMoniker *pmk); + +#endif /* __IAdviseSink2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDataObject interface + */ +#ifndef __IDataObject_INTERFACE_DEFINED__ +#define __IDataObject_INTERFACE_DEFINED__ + +typedef IDataObject *LPDATAOBJECT; +typedef enum tagDATADIR { + DATADIR_GET = 1, + DATADIR_SET = 2 +} DATADIR; +DEFINE_GUID(IID_IDataObject, 0x0000010e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000010e-0000-0000-c000-000000000046") +IDataObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetData( + FORMATETC *pformatetcIn, + STGMEDIUM *pmedium) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataHere( + FORMATETC *pformatetc, + STGMEDIUM *pmedium) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryGetData( + FORMATETC *pformatetc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCanonicalFormatEtc( + FORMATETC *pformatectIn, + FORMATETC *pformatetcOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetData( + FORMATETC *pformatetc, + STGMEDIUM *pmedium, + BOOL fRelease) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumFormatEtc( + DWORD dwDirection, + IEnumFORMATETC **ppenumFormatEtc) = 0; + + virtual HRESULT STDMETHODCALLTYPE DAdvise( + FORMATETC *pformatetc, + DWORD advf, + IAdviseSink *pAdvSink, + DWORD *pdwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE DUnadvise( + DWORD dwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumDAdvise( + IEnumSTATDATA **ppenumAdvise) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDataObject, 0x0000010e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IDataObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDataObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDataObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDataObject *This); + + /*** IDataObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetData)( + IDataObject *This, + FORMATETC *pformatetcIn, + STGMEDIUM *pmedium); + + HRESULT (STDMETHODCALLTYPE *GetDataHere)( + IDataObject *This, + FORMATETC *pformatetc, + STGMEDIUM *pmedium); + + HRESULT (STDMETHODCALLTYPE *QueryGetData)( + IDataObject *This, + FORMATETC *pformatetc); + + HRESULT (STDMETHODCALLTYPE *GetCanonicalFormatEtc)( + IDataObject *This, + FORMATETC *pformatectIn, + FORMATETC *pformatetcOut); + + HRESULT (STDMETHODCALLTYPE *SetData)( + IDataObject *This, + FORMATETC *pformatetc, + STGMEDIUM *pmedium, + BOOL fRelease); + + HRESULT (STDMETHODCALLTYPE *EnumFormatEtc)( + IDataObject *This, + DWORD dwDirection, + IEnumFORMATETC **ppenumFormatEtc); + + HRESULT (STDMETHODCALLTYPE *DAdvise)( + IDataObject *This, + FORMATETC *pformatetc, + DWORD advf, + IAdviseSink *pAdvSink, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *DUnadvise)( + IDataObject *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *EnumDAdvise)( + IDataObject *This, + IEnumSTATDATA **ppenumAdvise); + + END_INTERFACE +} IDataObjectVtbl; + +interface IDataObject { + CONST_VTBL IDataObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDataObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDataObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDataObject_Release(This) (This)->lpVtbl->Release(This) +/*** IDataObject methods ***/ +#define IDataObject_GetData(This,pformatetcIn,pmedium) (This)->lpVtbl->GetData(This,pformatetcIn,pmedium) +#define IDataObject_GetDataHere(This,pformatetc,pmedium) (This)->lpVtbl->GetDataHere(This,pformatetc,pmedium) +#define IDataObject_QueryGetData(This,pformatetc) (This)->lpVtbl->QueryGetData(This,pformatetc) +#define IDataObject_GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut) (This)->lpVtbl->GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut) +#define IDataObject_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease) +#define IDataObject_EnumFormatEtc(This,dwDirection,ppenumFormatEtc) (This)->lpVtbl->EnumFormatEtc(This,dwDirection,ppenumFormatEtc) +#define IDataObject_DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection) (This)->lpVtbl->DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection) +#define IDataObject_DUnadvise(This,dwConnection) (This)->lpVtbl->DUnadvise(This,dwConnection) +#define IDataObject_EnumDAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumDAdvise(This,ppenumAdvise) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDataObject_QueryInterface(IDataObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDataObject_AddRef(IDataObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDataObject_Release(IDataObject* This) { + return This->lpVtbl->Release(This); +} +/*** IDataObject methods ***/ +static FORCEINLINE HRESULT IDataObject_GetData(IDataObject* This,FORMATETC *pformatetcIn,STGMEDIUM *pmedium) { + return This->lpVtbl->GetData(This,pformatetcIn,pmedium); +} +static FORCEINLINE HRESULT IDataObject_GetDataHere(IDataObject* This,FORMATETC *pformatetc,STGMEDIUM *pmedium) { + return This->lpVtbl->GetDataHere(This,pformatetc,pmedium); +} +static FORCEINLINE HRESULT IDataObject_QueryGetData(IDataObject* This,FORMATETC *pformatetc) { + return This->lpVtbl->QueryGetData(This,pformatetc); +} +static FORCEINLINE HRESULT IDataObject_GetCanonicalFormatEtc(IDataObject* This,FORMATETC *pformatectIn,FORMATETC *pformatetcOut) { + return This->lpVtbl->GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut); +} +static FORCEINLINE HRESULT IDataObject_SetData(IDataObject* This,FORMATETC *pformatetc,STGMEDIUM *pmedium,BOOL fRelease) { + return This->lpVtbl->SetData(This,pformatetc,pmedium,fRelease); +} +static FORCEINLINE HRESULT IDataObject_EnumFormatEtc(IDataObject* This,DWORD dwDirection,IEnumFORMATETC **ppenumFormatEtc) { + return This->lpVtbl->EnumFormatEtc(This,dwDirection,ppenumFormatEtc); +} +static FORCEINLINE HRESULT IDataObject_DAdvise(IDataObject* This,FORMATETC *pformatetc,DWORD advf,IAdviseSink *pAdvSink,DWORD *pdwConnection) { + return This->lpVtbl->DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection); +} +static FORCEINLINE HRESULT IDataObject_DUnadvise(IDataObject* This,DWORD dwConnection) { + return This->lpVtbl->DUnadvise(This,dwConnection); +} +static FORCEINLINE HRESULT IDataObject_EnumDAdvise(IDataObject* This,IEnumSTATDATA **ppenumAdvise) { + return This->lpVtbl->EnumDAdvise(This,ppenumAdvise); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetData_Proxy( + IDataObject* This, + FORMATETC *pformatetcIn, + STGMEDIUM *pRemoteMedium); +void __RPC_STUB IDataObject_RemoteGetData_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetDataHere_Proxy( + IDataObject* This, + FORMATETC *pformatetc, + STGMEDIUM *pRemoteMedium); +void __RPC_STUB IDataObject_RemoteGetDataHere_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDataObject_RemoteSetData_Proxy( + IDataObject* This, + FORMATETC *pformatetc, + FLAG_STGMEDIUM *pmedium, + BOOL fRelease); +void __RPC_STUB IDataObject_RemoteSetData_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDataObject_GetData_Proxy( + IDataObject* This, + FORMATETC *pformatetcIn, + STGMEDIUM *pmedium); +HRESULT __RPC_STUB IDataObject_GetData_Stub( + IDataObject* This, + FORMATETC *pformatetcIn, + STGMEDIUM *pRemoteMedium); +HRESULT CALLBACK IDataObject_GetDataHere_Proxy( + IDataObject* This, + FORMATETC *pformatetc, + STGMEDIUM *pmedium); +HRESULT __RPC_STUB IDataObject_GetDataHere_Stub( + IDataObject* This, + FORMATETC *pformatetc, + STGMEDIUM *pRemoteMedium); +HRESULT CALLBACK IDataObject_SetData_Proxy( + IDataObject* This, + FORMATETC *pformatetc, + STGMEDIUM *pmedium, + BOOL fRelease); +HRESULT __RPC_STUB IDataObject_SetData_Stub( + IDataObject* This, + FORMATETC *pformatetc, + FLAG_STGMEDIUM *pmedium, + BOOL fRelease); + +#endif /* __IDataObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDataAdviseHolder interface + */ +#ifndef __IDataAdviseHolder_INTERFACE_DEFINED__ +#define __IDataAdviseHolder_INTERFACE_DEFINED__ + +typedef IDataAdviseHolder *LPDATAADVISEHOLDER; +DEFINE_GUID(IID_IDataAdviseHolder, 0x00000110, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000110-0000-0000-c000-000000000046") +IDataAdviseHolder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Advise( + IDataObject *pDataObject, + FORMATETC *pFetc, + DWORD advf, + IAdviseSink *pAdvise, + DWORD *pdwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumAdvise( + IEnumSTATDATA **ppenumAdvise) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendOnDataChange( + IDataObject *pDataObject, + DWORD dwReserved, + DWORD advf) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDataAdviseHolder, 0x00000110, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IDataAdviseHolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDataAdviseHolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDataAdviseHolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDataAdviseHolder *This); + + /*** IDataAdviseHolder methods ***/ + HRESULT (STDMETHODCALLTYPE *Advise)( + IDataAdviseHolder *This, + IDataObject *pDataObject, + FORMATETC *pFetc, + DWORD advf, + IAdviseSink *pAdvise, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IDataAdviseHolder *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *EnumAdvise)( + IDataAdviseHolder *This, + IEnumSTATDATA **ppenumAdvise); + + HRESULT (STDMETHODCALLTYPE *SendOnDataChange)( + IDataAdviseHolder *This, + IDataObject *pDataObject, + DWORD dwReserved, + DWORD advf); + + END_INTERFACE +} IDataAdviseHolderVtbl; + +interface IDataAdviseHolder { + CONST_VTBL IDataAdviseHolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDataAdviseHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDataAdviseHolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDataAdviseHolder_Release(This) (This)->lpVtbl->Release(This) +/*** IDataAdviseHolder methods ***/ +#define IDataAdviseHolder_Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection) (This)->lpVtbl->Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection) +#define IDataAdviseHolder_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection) +#define IDataAdviseHolder_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise) +#define IDataAdviseHolder_SendOnDataChange(This,pDataObject,dwReserved,advf) (This)->lpVtbl->SendOnDataChange(This,pDataObject,dwReserved,advf) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDataAdviseHolder_QueryInterface(IDataAdviseHolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDataAdviseHolder_AddRef(IDataAdviseHolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDataAdviseHolder_Release(IDataAdviseHolder* This) { + return This->lpVtbl->Release(This); +} +/*** IDataAdviseHolder methods ***/ +static FORCEINLINE HRESULT IDataAdviseHolder_Advise(IDataAdviseHolder* This,IDataObject *pDataObject,FORMATETC *pFetc,DWORD advf,IAdviseSink *pAdvise,DWORD *pdwConnection) { + return This->lpVtbl->Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection); +} +static FORCEINLINE HRESULT IDataAdviseHolder_Unadvise(IDataAdviseHolder* This,DWORD dwConnection) { + return This->lpVtbl->Unadvise(This,dwConnection); +} +static FORCEINLINE HRESULT IDataAdviseHolder_EnumAdvise(IDataAdviseHolder* This,IEnumSTATDATA **ppenumAdvise) { + return This->lpVtbl->EnumAdvise(This,ppenumAdvise); +} +static FORCEINLINE HRESULT IDataAdviseHolder_SendOnDataChange(IDataAdviseHolder* This,IDataObject *pDataObject,DWORD dwReserved,DWORD advf) { + return This->lpVtbl->SendOnDataChange(This,pDataObject,dwReserved,advf); +} +#endif +#endif + +#endif + + +#endif /* __IDataAdviseHolder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMessageFilter interface + */ +#ifndef __IMessageFilter_INTERFACE_DEFINED__ +#define __IMessageFilter_INTERFACE_DEFINED__ + +typedef IMessageFilter *LPMESSAGEFILTER; +typedef enum tagCALLTYPE { + CALLTYPE_TOPLEVEL = 1, + CALLTYPE_NESTED = 2, + CALLTYPE_ASYNC = 3, + CALLTYPE_TOPLEVEL_CALLPENDING = 4, + CALLTYPE_ASYNC_CALLPENDING = 5 +} CALLTYPE; +typedef enum tagSERVERCALL { + SERVERCALL_ISHANDLED = 0, + SERVERCALL_REJECTED = 1, + SERVERCALL_RETRYLATER = 2 +} SERVERCALL; +typedef enum tagPENDINGTYPE { + PENDINGTYPE_TOPLEVEL = 1, + PENDINGTYPE_NESTED = 2 +} PENDINGTYPE; +typedef enum tagPENDINGMSG { + PENDINGMSG_CANCELCALL = 0, + PENDINGMSG_WAITNOPROCESS = 1, + PENDINGMSG_WAITDEFPROCESS = 2 +} PENDINGMSG; +typedef struct tagINTERFACEINFO { + IUnknown *pUnk; + IID iid; + WORD wMethod; +} INTERFACEINFO; +typedef struct tagINTERFACEINFO *LPINTERFACEINFO; +DEFINE_GUID(IID_IMessageFilter, 0x00000016, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000016-0000-0000-c000-000000000046") +IMessageFilter : public IUnknown +{ + virtual DWORD STDMETHODCALLTYPE HandleInComingCall( + DWORD dwCallType, + HTASK htaskCaller, + DWORD dwTickCount, + LPINTERFACEINFO lpInterfaceInfo) = 0; + + virtual DWORD STDMETHODCALLTYPE RetryRejectedCall( + HTASK htaskCallee, + DWORD dwTickCount, + DWORD dwRejectType) = 0; + + virtual DWORD STDMETHODCALLTYPE MessagePending( + HTASK htaskCallee, + DWORD dwTickCount, + DWORD dwPendingType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMessageFilter, 0x00000016, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IMessageFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMessageFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMessageFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMessageFilter *This); + + /*** IMessageFilter methods ***/ + DWORD (STDMETHODCALLTYPE *HandleInComingCall)( + IMessageFilter *This, + DWORD dwCallType, + HTASK htaskCaller, + DWORD dwTickCount, + LPINTERFACEINFO lpInterfaceInfo); + + DWORD (STDMETHODCALLTYPE *RetryRejectedCall)( + IMessageFilter *This, + HTASK htaskCallee, + DWORD dwTickCount, + DWORD dwRejectType); + + DWORD (STDMETHODCALLTYPE *MessagePending)( + IMessageFilter *This, + HTASK htaskCallee, + DWORD dwTickCount, + DWORD dwPendingType); + + END_INTERFACE +} IMessageFilterVtbl; + +interface IMessageFilter { + CONST_VTBL IMessageFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMessageFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMessageFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMessageFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IMessageFilter methods ***/ +#define IMessageFilter_HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo) (This)->lpVtbl->HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo) +#define IMessageFilter_RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType) (This)->lpVtbl->RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType) +#define IMessageFilter_MessagePending(This,htaskCallee,dwTickCount,dwPendingType) (This)->lpVtbl->MessagePending(This,htaskCallee,dwTickCount,dwPendingType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMessageFilter_QueryInterface(IMessageFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMessageFilter_AddRef(IMessageFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMessageFilter_Release(IMessageFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IMessageFilter methods ***/ +static FORCEINLINE DWORD IMessageFilter_HandleInComingCall(IMessageFilter* This,DWORD dwCallType,HTASK htaskCaller,DWORD dwTickCount,LPINTERFACEINFO lpInterfaceInfo) { + return This->lpVtbl->HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo); +} +static FORCEINLINE DWORD IMessageFilter_RetryRejectedCall(IMessageFilter* This,HTASK htaskCallee,DWORD dwTickCount,DWORD dwRejectType) { + return This->lpVtbl->RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType); +} +static FORCEINLINE DWORD IMessageFilter_MessagePending(IMessageFilter* This,HTASK htaskCallee,DWORD dwTickCount,DWORD dwPendingType) { + return This->lpVtbl->MessagePending(This,htaskCallee,dwTickCount,dwPendingType); +} +#endif +#endif + +#endif + + +#endif /* __IMessageFilter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcChannelBuffer interface + */ +#ifndef __IRpcChannelBuffer_INTERFACE_DEFINED__ +#define __IRpcChannelBuffer_INTERFACE_DEFINED__ + +typedef IRpcChannelBuffer *LPRPCCHANNELBUFFER; +typedef ULONG RPCOLEDATAREP; +typedef struct tagRPCOLEMESSAGE { + void *reserved1; + RPCOLEDATAREP dataRepresentation; + void *Buffer; + ULONG cbBuffer; + ULONG iMethod; + void * reserved2[5]; + ULONG rpcFlags; +} RPCOLEMESSAGE; +typedef RPCOLEMESSAGE *PRPCOLEMESSAGE; +DEFINE_GUID(IID_IRpcChannelBuffer, 0xd5f56b60, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d5f56b60-593b-101a-b569-08002b2dbf7a") +IRpcChannelBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + RPCOLEMESSAGE *pMessage, + REFIID riid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendReceive( + RPCOLEMESSAGE *pMessage, + ULONG *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeBuffer( + RPCOLEMESSAGE *pMessage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDestCtx( + DWORD *pdwDestContext, + void **ppvDestContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsConnected( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcChannelBuffer, 0xd5f56b60, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a) +#endif +#else +typedef struct IRpcChannelBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcChannelBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcChannelBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcChannelBuffer *This); + + /*** IRpcChannelBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IRpcChannelBuffer *This, + RPCOLEMESSAGE *pMessage, + REFIID riid); + + HRESULT (STDMETHODCALLTYPE *SendReceive)( + IRpcChannelBuffer *This, + RPCOLEMESSAGE *pMessage, + ULONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *FreeBuffer)( + IRpcChannelBuffer *This, + RPCOLEMESSAGE *pMessage); + + HRESULT (STDMETHODCALLTYPE *GetDestCtx)( + IRpcChannelBuffer *This, + DWORD *pdwDestContext, + void **ppvDestContext); + + HRESULT (STDMETHODCALLTYPE *IsConnected)( + IRpcChannelBuffer *This); + + END_INTERFACE +} IRpcChannelBufferVtbl; + +interface IRpcChannelBuffer { + CONST_VTBL IRpcChannelBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcChannelBuffer methods ***/ +#define IRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) +#define IRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) +#define IRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) +#define IRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) +#define IRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer_QueryInterface(IRpcChannelBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcChannelBuffer_AddRef(IRpcChannelBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcChannelBuffer_Release(IRpcChannelBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcChannelBuffer methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer_GetBuffer(IRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,REFIID riid) { + return This->lpVtbl->GetBuffer(This,pMessage,riid); +} +static FORCEINLINE HRESULT IRpcChannelBuffer_SendReceive(IRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { + return This->lpVtbl->SendReceive(This,pMessage,pStatus); +} +static FORCEINLINE HRESULT IRpcChannelBuffer_FreeBuffer(IRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage) { + return This->lpVtbl->FreeBuffer(This,pMessage); +} +static FORCEINLINE HRESULT IRpcChannelBuffer_GetDestCtx(IRpcChannelBuffer* This,DWORD *pdwDestContext,void **ppvDestContext) { + return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); +} +static FORCEINLINE HRESULT IRpcChannelBuffer_IsConnected(IRpcChannelBuffer* This) { + return This->lpVtbl->IsConnected(This); +} +#endif +#endif + +#endif + + +#endif /* __IRpcChannelBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcChannelBuffer2 interface + */ +#ifndef __IRpcChannelBuffer2_INTERFACE_DEFINED__ +#define __IRpcChannelBuffer2_INTERFACE_DEFINED__ + +typedef IRpcChannelBuffer2 *LPRPCCHANNELBUFFER2; +DEFINE_GUID(IID_IRpcChannelBuffer2, 0x594f31d0, 0x7f19, 0x11d0, 0xb1,0x94, 0x00,0xa0,0xc9,0x0d,0xc8,0xbf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("594f31d0-7f19-11d0-b194-00a0c90dc8bf") +IRpcChannelBuffer2 : public IRpcChannelBuffer +{ + virtual HRESULT STDMETHODCALLTYPE GetProtocolVersion( + DWORD *pdwVersion) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcChannelBuffer2, 0x594f31d0, 0x7f19, 0x11d0, 0xb1,0x94, 0x00,0xa0,0xc9,0x0d,0xc8,0xbf) +#endif +#else +typedef struct IRpcChannelBuffer2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcChannelBuffer2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcChannelBuffer2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcChannelBuffer2 *This); + + /*** IRpcChannelBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IRpcChannelBuffer2 *This, + RPCOLEMESSAGE *pMessage, + REFIID riid); + + HRESULT (STDMETHODCALLTYPE *SendReceive)( + IRpcChannelBuffer2 *This, + RPCOLEMESSAGE *pMessage, + ULONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *FreeBuffer)( + IRpcChannelBuffer2 *This, + RPCOLEMESSAGE *pMessage); + + HRESULT (STDMETHODCALLTYPE *GetDestCtx)( + IRpcChannelBuffer2 *This, + DWORD *pdwDestContext, + void **ppvDestContext); + + HRESULT (STDMETHODCALLTYPE *IsConnected)( + IRpcChannelBuffer2 *This); + + /*** IRpcChannelBuffer2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)( + IRpcChannelBuffer2 *This, + DWORD *pdwVersion); + + END_INTERFACE +} IRpcChannelBuffer2Vtbl; + +interface IRpcChannelBuffer2 { + CONST_VTBL IRpcChannelBuffer2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcChannelBuffer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcChannelBuffer2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcChannelBuffer2_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcChannelBuffer methods ***/ +#define IRpcChannelBuffer2_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) +#define IRpcChannelBuffer2_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) +#define IRpcChannelBuffer2_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) +#define IRpcChannelBuffer2_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) +#define IRpcChannelBuffer2_IsConnected(This) (This)->lpVtbl->IsConnected(This) +/*** IRpcChannelBuffer2 methods ***/ +#define IRpcChannelBuffer2_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer2_QueryInterface(IRpcChannelBuffer2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcChannelBuffer2_AddRef(IRpcChannelBuffer2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcChannelBuffer2_Release(IRpcChannelBuffer2* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcChannelBuffer methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer2_GetBuffer(IRpcChannelBuffer2* This,RPCOLEMESSAGE *pMessage,REFIID riid) { + return This->lpVtbl->GetBuffer(This,pMessage,riid); +} +static FORCEINLINE HRESULT IRpcChannelBuffer2_SendReceive(IRpcChannelBuffer2* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { + return This->lpVtbl->SendReceive(This,pMessage,pStatus); +} +static FORCEINLINE HRESULT IRpcChannelBuffer2_FreeBuffer(IRpcChannelBuffer2* This,RPCOLEMESSAGE *pMessage) { + return This->lpVtbl->FreeBuffer(This,pMessage); +} +static FORCEINLINE HRESULT IRpcChannelBuffer2_GetDestCtx(IRpcChannelBuffer2* This,DWORD *pdwDestContext,void **ppvDestContext) { + return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); +} +static FORCEINLINE HRESULT IRpcChannelBuffer2_IsConnected(IRpcChannelBuffer2* This) { + return This->lpVtbl->IsConnected(This); +} +/*** IRpcChannelBuffer2 methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer2_GetProtocolVersion(IRpcChannelBuffer2* This,DWORD *pdwVersion) { + return This->lpVtbl->GetProtocolVersion(This,pdwVersion); +} +#endif +#endif + +#endif + + +#endif /* __IRpcChannelBuffer2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcChannelBuffer3 interface + */ +#ifndef __IRpcChannelBuffer3_INTERFACE_DEFINED__ +#define __IRpcChannelBuffer3_INTERFACE_DEFINED__ + +typedef IRpcChannelBuffer3 *LPRPCCHANNELBUFFER3; +DEFINE_GUID(IID_IRpcChannelBuffer3, 0x25b15600, 0x0115, 0x11d0, 0xbf,0x0d, 0x00,0xaa,0x00,0xb8,0xdf,0xd2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("25b15600-0115-11d0-bf0d-00aa00b8dfd2") +IRpcChannelBuffer3 : public IRpcChannelBuffer2 +{ + virtual HRESULT STDMETHODCALLTYPE Send( + RPCOLEMESSAGE *pMsg, + ULONG *pulStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Receive( + RPCOLEMESSAGE *pMsg, + ULONG ulSize, + ULONG *pulStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cancel( + RPCOLEMESSAGE *pMsg) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCallContext( + RPCOLEMESSAGE *pMsg, + REFIID riid, + void **pInterface) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx( + RPCOLEMESSAGE *pMsg, + DWORD *pdwDestContext, + void **ppvDestContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + RPCOLEMESSAGE *pMsg, + DWORD *pState) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterAsync( + RPCOLEMESSAGE *pMsg, + IAsyncManager *pAsyncMgr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcChannelBuffer3, 0x25b15600, 0x0115, 0x11d0, 0xbf,0x0d, 0x00,0xaa,0x00,0xb8,0xdf,0xd2) +#endif +#else +typedef struct IRpcChannelBuffer3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcChannelBuffer3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcChannelBuffer3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcChannelBuffer3 *This); + + /*** IRpcChannelBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMessage, + REFIID riid); + + HRESULT (STDMETHODCALLTYPE *SendReceive)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMessage, + ULONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *FreeBuffer)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMessage); + + HRESULT (STDMETHODCALLTYPE *GetDestCtx)( + IRpcChannelBuffer3 *This, + DWORD *pdwDestContext, + void **ppvDestContext); + + HRESULT (STDMETHODCALLTYPE *IsConnected)( + IRpcChannelBuffer3 *This); + + /*** IRpcChannelBuffer2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)( + IRpcChannelBuffer3 *This, + DWORD *pdwVersion); + + /*** IRpcChannelBuffer3 methods ***/ + HRESULT (STDMETHODCALLTYPE *Send)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg, + ULONG *pulStatus); + + HRESULT (STDMETHODCALLTYPE *Receive)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg, + ULONG ulSize, + ULONG *pulStatus); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg); + + HRESULT (STDMETHODCALLTYPE *GetCallContext)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg, + REFIID riid, + void **pInterface); + + HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg, + DWORD *pdwDestContext, + void **ppvDestContext); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg, + DWORD *pState); + + HRESULT (STDMETHODCALLTYPE *RegisterAsync)( + IRpcChannelBuffer3 *This, + RPCOLEMESSAGE *pMsg, + IAsyncManager *pAsyncMgr); + + END_INTERFACE +} IRpcChannelBuffer3Vtbl; + +interface IRpcChannelBuffer3 { + CONST_VTBL IRpcChannelBuffer3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcChannelBuffer3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcChannelBuffer3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcChannelBuffer3_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcChannelBuffer methods ***/ +#define IRpcChannelBuffer3_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) +#define IRpcChannelBuffer3_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) +#define IRpcChannelBuffer3_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) +#define IRpcChannelBuffer3_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) +#define IRpcChannelBuffer3_IsConnected(This) (This)->lpVtbl->IsConnected(This) +/*** IRpcChannelBuffer2 methods ***/ +#define IRpcChannelBuffer3_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion) +/*** IRpcChannelBuffer3 methods ***/ +#define IRpcChannelBuffer3_Send(This,pMsg,pulStatus) (This)->lpVtbl->Send(This,pMsg,pulStatus) +#define IRpcChannelBuffer3_Receive(This,pMsg,ulSize,pulStatus) (This)->lpVtbl->Receive(This,pMsg,ulSize,pulStatus) +#define IRpcChannelBuffer3_Cancel(This,pMsg) (This)->lpVtbl->Cancel(This,pMsg) +#define IRpcChannelBuffer3_GetCallContext(This,pMsg,riid,pInterface) (This)->lpVtbl->GetCallContext(This,pMsg,riid,pInterface) +#define IRpcChannelBuffer3_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) +#define IRpcChannelBuffer3_GetState(This,pMsg,pState) (This)->lpVtbl->GetState(This,pMsg,pState) +#define IRpcChannelBuffer3_RegisterAsync(This,pMsg,pAsyncMgr) (This)->lpVtbl->RegisterAsync(This,pMsg,pAsyncMgr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer3_QueryInterface(IRpcChannelBuffer3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcChannelBuffer3_AddRef(IRpcChannelBuffer3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcChannelBuffer3_Release(IRpcChannelBuffer3* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcChannelBuffer methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer3_GetBuffer(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMessage,REFIID riid) { + return This->lpVtbl->GetBuffer(This,pMessage,riid); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_SendReceive(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { + return This->lpVtbl->SendReceive(This,pMessage,pStatus); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_FreeBuffer(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMessage) { + return This->lpVtbl->FreeBuffer(This,pMessage); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_GetDestCtx(IRpcChannelBuffer3* This,DWORD *pdwDestContext,void **ppvDestContext) { + return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_IsConnected(IRpcChannelBuffer3* This) { + return This->lpVtbl->IsConnected(This); +} +/*** IRpcChannelBuffer2 methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer3_GetProtocolVersion(IRpcChannelBuffer3* This,DWORD *pdwVersion) { + return This->lpVtbl->GetProtocolVersion(This,pdwVersion); +} +/*** IRpcChannelBuffer3 methods ***/ +static FORCEINLINE HRESULT IRpcChannelBuffer3_Send(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg,ULONG *pulStatus) { + return This->lpVtbl->Send(This,pMsg,pulStatus); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_Receive(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg,ULONG ulSize,ULONG *pulStatus) { + return This->lpVtbl->Receive(This,pMsg,ulSize,pulStatus); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_Cancel(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg) { + return This->lpVtbl->Cancel(This,pMsg); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_GetCallContext(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg,REFIID riid,void **pInterface) { + return This->lpVtbl->GetCallContext(This,pMsg,riid,pInterface); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_GetDestCtxEx(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg,DWORD *pdwDestContext,void **ppvDestContext) { + return This->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_GetState(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg,DWORD *pState) { + return This->lpVtbl->GetState(This,pMsg,pState); +} +static FORCEINLINE HRESULT IRpcChannelBuffer3_RegisterAsync(IRpcChannelBuffer3* This,RPCOLEMESSAGE *pMsg,IAsyncManager *pAsyncMgr) { + return This->lpVtbl->RegisterAsync(This,pMsg,pAsyncMgr); +} +#endif +#endif + +#endif + + +#endif /* __IRpcChannelBuffer3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAsyncRpcChannelBuffer interface + */ +#ifndef __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ +#define __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAsyncRpcChannelBuffer, 0xa5029fb6, 0x3c34, 0x11d1, 0x9c,0x99, 0x00,0xc0,0x4f,0xb9,0x98,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a5029fb6-3c34-11d1-9c99-00c04fb998aa") +IAsyncRpcChannelBuffer : public IRpcChannelBuffer2 +{ + virtual HRESULT STDMETHODCALLTYPE Send( + RPCOLEMESSAGE *pMsg, + ISynchronize *pSync, + ULONG *pulStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Receive( + RPCOLEMESSAGE *pMsg, + ULONG *pulStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx( + RPCOLEMESSAGE *pMsg, + DWORD *pdwDestContext, + void **ppvDestContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAsyncRpcChannelBuffer, 0xa5029fb6, 0x3c34, 0x11d1, 0x9c,0x99, 0x00,0xc0,0x4f,0xb9,0x98,0xaa) +#endif +#else +typedef struct IAsyncRpcChannelBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAsyncRpcChannelBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAsyncRpcChannelBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAsyncRpcChannelBuffer *This); + + /*** IRpcChannelBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IAsyncRpcChannelBuffer *This, + RPCOLEMESSAGE *pMessage, + REFIID riid); + + HRESULT (STDMETHODCALLTYPE *SendReceive)( + IAsyncRpcChannelBuffer *This, + RPCOLEMESSAGE *pMessage, + ULONG *pStatus); + + HRESULT (STDMETHODCALLTYPE *FreeBuffer)( + IAsyncRpcChannelBuffer *This, + RPCOLEMESSAGE *pMessage); + + HRESULT (STDMETHODCALLTYPE *GetDestCtx)( + IAsyncRpcChannelBuffer *This, + DWORD *pdwDestContext, + void **ppvDestContext); + + HRESULT (STDMETHODCALLTYPE *IsConnected)( + IAsyncRpcChannelBuffer *This); + + /*** IRpcChannelBuffer2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)( + IAsyncRpcChannelBuffer *This, + DWORD *pdwVersion); + + /*** IAsyncRpcChannelBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *Send)( + IAsyncRpcChannelBuffer *This, + RPCOLEMESSAGE *pMsg, + ISynchronize *pSync, + ULONG *pulStatus); + + HRESULT (STDMETHODCALLTYPE *Receive)( + IAsyncRpcChannelBuffer *This, + RPCOLEMESSAGE *pMsg, + ULONG *pulStatus); + + HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)( + IAsyncRpcChannelBuffer *This, + RPCOLEMESSAGE *pMsg, + DWORD *pdwDestContext, + void **ppvDestContext); + + END_INTERFACE +} IAsyncRpcChannelBufferVtbl; + +interface IAsyncRpcChannelBuffer { + CONST_VTBL IAsyncRpcChannelBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAsyncRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAsyncRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAsyncRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcChannelBuffer methods ***/ +#define IAsyncRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) +#define IAsyncRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) +#define IAsyncRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) +#define IAsyncRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) +#define IAsyncRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This) +/*** IRpcChannelBuffer2 methods ***/ +#define IAsyncRpcChannelBuffer_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion) +/*** IAsyncRpcChannelBuffer methods ***/ +#define IAsyncRpcChannelBuffer_Send(This,pMsg,pSync,pulStatus) (This)->lpVtbl->Send(This,pMsg,pSync,pulStatus) +#define IAsyncRpcChannelBuffer_Receive(This,pMsg,pulStatus) (This)->lpVtbl->Receive(This,pMsg,pulStatus) +#define IAsyncRpcChannelBuffer_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_QueryInterface(IAsyncRpcChannelBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAsyncRpcChannelBuffer_AddRef(IAsyncRpcChannelBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAsyncRpcChannelBuffer_Release(IAsyncRpcChannelBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcChannelBuffer methods ***/ +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetBuffer(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,REFIID riid) { + return This->lpVtbl->GetBuffer(This,pMessage,riid); +} +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_SendReceive(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { + return This->lpVtbl->SendReceive(This,pMessage,pStatus); +} +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_FreeBuffer(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage) { + return This->lpVtbl->FreeBuffer(This,pMessage); +} +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetDestCtx(IAsyncRpcChannelBuffer* This,DWORD *pdwDestContext,void **ppvDestContext) { + return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); +} +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_IsConnected(IAsyncRpcChannelBuffer* This) { + return This->lpVtbl->IsConnected(This); +} +/*** IRpcChannelBuffer2 methods ***/ +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetProtocolVersion(IAsyncRpcChannelBuffer* This,DWORD *pdwVersion) { + return This->lpVtbl->GetProtocolVersion(This,pdwVersion); +} +/*** IAsyncRpcChannelBuffer methods ***/ +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_Send(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMsg,ISynchronize *pSync,ULONG *pulStatus) { + return This->lpVtbl->Send(This,pMsg,pSync,pulStatus); +} +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_Receive(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMsg,ULONG *pulStatus) { + return This->lpVtbl->Receive(This,pMsg,pulStatus); +} +static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetDestCtxEx(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMsg,DWORD *pdwDestContext,void **ppvDestContext) { + return This->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext); +} +#endif +#endif + +#endif + + +#endif /* __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcSyntaxNegotiate interface + */ +#ifndef __IRpcSyntaxNegotiate_INTERFACE_DEFINED__ +#define __IRpcSyntaxNegotiate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRpcSyntaxNegotiate, 0x58a08519, 0x24c8, 0x4935, 0xb4,0x82, 0x3f,0xd8,0x23,0x33,0x3a,0x4f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("58a08519-24c8-4935-b482-3fd823333a4f") +IRpcSyntaxNegotiate : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NegotiateSyntax( + RPCOLEMESSAGE *pMsg) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcSyntaxNegotiate, 0x58a08519, 0x24c8, 0x4935, 0xb4,0x82, 0x3f,0xd8,0x23,0x33,0x3a,0x4f) +#endif +#else +typedef struct IRpcSyntaxNegotiateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcSyntaxNegotiate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcSyntaxNegotiate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcSyntaxNegotiate *This); + + /*** IRpcSyntaxNegotiate methods ***/ + HRESULT (STDMETHODCALLTYPE *NegotiateSyntax)( + IRpcSyntaxNegotiate *This, + RPCOLEMESSAGE *pMsg); + + END_INTERFACE +} IRpcSyntaxNegotiateVtbl; + +interface IRpcSyntaxNegotiate { + CONST_VTBL IRpcSyntaxNegotiateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcSyntaxNegotiate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcSyntaxNegotiate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcSyntaxNegotiate_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcSyntaxNegotiate methods ***/ +#define IRpcSyntaxNegotiate_NegotiateSyntax(This,pMsg) (This)->lpVtbl->NegotiateSyntax(This,pMsg) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcSyntaxNegotiate_QueryInterface(IRpcSyntaxNegotiate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcSyntaxNegotiate_AddRef(IRpcSyntaxNegotiate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcSyntaxNegotiate_Release(IRpcSyntaxNegotiate* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcSyntaxNegotiate methods ***/ +static FORCEINLINE HRESULT IRpcSyntaxNegotiate_NegotiateSyntax(IRpcSyntaxNegotiate* This,RPCOLEMESSAGE *pMsg) { + return This->lpVtbl->NegotiateSyntax(This,pMsg); +} +#endif +#endif + +#endif + + +#endif /* __IRpcSyntaxNegotiate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcProxyBuffer interface + */ +#ifndef __IRpcProxyBuffer_INTERFACE_DEFINED__ +#define __IRpcProxyBuffer_INTERFACE_DEFINED__ + +typedef IRpcProxyBuffer *LPRPCPROXYBUFFER; +DEFINE_GUID(IID_IRpcProxyBuffer, 0xd5f56a34, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d5f56a34-593b-101a-b569-08002b2dbf7a") +IRpcProxyBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Connect( + IRpcChannelBuffer *pRpcChannelBuffer) = 0; + + virtual void STDMETHODCALLTYPE Disconnect( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcProxyBuffer, 0xd5f56a34, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a) +#endif +#else +typedef struct IRpcProxyBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcProxyBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcProxyBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcProxyBuffer *This); + + /*** IRpcProxyBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *Connect)( + IRpcProxyBuffer *This, + IRpcChannelBuffer *pRpcChannelBuffer); + + void (STDMETHODCALLTYPE *Disconnect)( + IRpcProxyBuffer *This); + + END_INTERFACE +} IRpcProxyBufferVtbl; + +interface IRpcProxyBuffer { + CONST_VTBL IRpcProxyBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcProxyBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcProxyBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcProxyBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcProxyBuffer methods ***/ +#define IRpcProxyBuffer_Connect(This,pRpcChannelBuffer) (This)->lpVtbl->Connect(This,pRpcChannelBuffer) +#define IRpcProxyBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcProxyBuffer_QueryInterface(IRpcProxyBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcProxyBuffer_AddRef(IRpcProxyBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcProxyBuffer_Release(IRpcProxyBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcProxyBuffer methods ***/ +static FORCEINLINE HRESULT IRpcProxyBuffer_Connect(IRpcProxyBuffer* This,IRpcChannelBuffer *pRpcChannelBuffer) { + return This->lpVtbl->Connect(This,pRpcChannelBuffer); +} +static FORCEINLINE void IRpcProxyBuffer_Disconnect(IRpcProxyBuffer* This) { + This->lpVtbl->Disconnect(This); +} +#endif +#endif + +#endif + + +#endif /* __IRpcProxyBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcStubBuffer interface + */ +#ifndef __IRpcStubBuffer_INTERFACE_DEFINED__ +#define __IRpcStubBuffer_INTERFACE_DEFINED__ + +typedef IRpcStubBuffer *LPRPCSTUBBUFFER; +DEFINE_GUID(IID_IRpcStubBuffer, 0xd5f56afc, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d5f56afc-593b-101a-b569-08002b2dbf7a") +IRpcStubBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Connect( + IUnknown *pUnkServer) = 0; + + virtual void STDMETHODCALLTYPE Disconnect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invoke( + RPCOLEMESSAGE *_prpcmsg, + IRpcChannelBuffer *_pRpcChannelBuffer) = 0; + + virtual IRpcStubBuffer * STDMETHODCALLTYPE IsIIDSupported( + REFIID riid) = 0; + + virtual ULONG STDMETHODCALLTYPE CountRefs( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DebugServerQueryInterface( + void **ppv) = 0; + + virtual void STDMETHODCALLTYPE DebugServerRelease( + void *pv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcStubBuffer, 0xd5f56afc, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a) +#endif +#else +typedef struct IRpcStubBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcStubBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcStubBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcStubBuffer *This); + + /*** IRpcStubBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *Connect)( + IRpcStubBuffer *This, + IUnknown *pUnkServer); + + void (STDMETHODCALLTYPE *Disconnect)( + IRpcStubBuffer *This); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRpcStubBuffer *This, + RPCOLEMESSAGE *_prpcmsg, + IRpcChannelBuffer *_pRpcChannelBuffer); + + IRpcStubBuffer * (STDMETHODCALLTYPE *IsIIDSupported)( + IRpcStubBuffer *This, + REFIID riid); + + ULONG (STDMETHODCALLTYPE *CountRefs)( + IRpcStubBuffer *This); + + HRESULT (STDMETHODCALLTYPE *DebugServerQueryInterface)( + IRpcStubBuffer *This, + void **ppv); + + void (STDMETHODCALLTYPE *DebugServerRelease)( + IRpcStubBuffer *This, + void *pv); + + END_INTERFACE +} IRpcStubBufferVtbl; + +interface IRpcStubBuffer { + CONST_VTBL IRpcStubBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcStubBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcStubBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcStubBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcStubBuffer methods ***/ +#define IRpcStubBuffer_Connect(This,pUnkServer) (This)->lpVtbl->Connect(This,pUnkServer) +#define IRpcStubBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IRpcStubBuffer_Invoke(This,_prpcmsg,_pRpcChannelBuffer) (This)->lpVtbl->Invoke(This,_prpcmsg,_pRpcChannelBuffer) +#define IRpcStubBuffer_IsIIDSupported(This,riid) (This)->lpVtbl->IsIIDSupported(This,riid) +#define IRpcStubBuffer_CountRefs(This) (This)->lpVtbl->CountRefs(This) +#define IRpcStubBuffer_DebugServerQueryInterface(This,ppv) (This)->lpVtbl->DebugServerQueryInterface(This,ppv) +#define IRpcStubBuffer_DebugServerRelease(This,pv) (This)->lpVtbl->DebugServerRelease(This,pv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcStubBuffer_QueryInterface(IRpcStubBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcStubBuffer_AddRef(IRpcStubBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcStubBuffer_Release(IRpcStubBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcStubBuffer methods ***/ +static FORCEINLINE HRESULT IRpcStubBuffer_Connect(IRpcStubBuffer* This,IUnknown *pUnkServer) { + return This->lpVtbl->Connect(This,pUnkServer); +} +static FORCEINLINE void IRpcStubBuffer_Disconnect(IRpcStubBuffer* This) { + This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IRpcStubBuffer_Invoke(IRpcStubBuffer* This,RPCOLEMESSAGE *_prpcmsg,IRpcChannelBuffer *_pRpcChannelBuffer) { + return This->lpVtbl->Invoke(This,_prpcmsg,_pRpcChannelBuffer); +} +static FORCEINLINE IRpcStubBuffer * IRpcStubBuffer_IsIIDSupported(IRpcStubBuffer* This,REFIID riid) { + return This->lpVtbl->IsIIDSupported(This,riid); +} +static FORCEINLINE ULONG IRpcStubBuffer_CountRefs(IRpcStubBuffer* This) { + return This->lpVtbl->CountRefs(This); +} +static FORCEINLINE HRESULT IRpcStubBuffer_DebugServerQueryInterface(IRpcStubBuffer* This,void **ppv) { + return This->lpVtbl->DebugServerQueryInterface(This,ppv); +} +static FORCEINLINE void IRpcStubBuffer_DebugServerRelease(IRpcStubBuffer* This,void *pv) { + This->lpVtbl->DebugServerRelease(This,pv); +} +#endif +#endif + +#endif + + +#endif /* __IRpcStubBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPSFactoryBuffer interface + */ +#ifndef __IPSFactoryBuffer_INTERFACE_DEFINED__ +#define __IPSFactoryBuffer_INTERFACE_DEFINED__ + +typedef IPSFactoryBuffer *LPPSFACTORYBUFFER; +DEFINE_GUID(IID_IPSFactoryBuffer, 0xd5f569d0, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d5f569d0-593b-101a-b569-08002b2dbf7a") +IPSFactoryBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateProxy( + IUnknown *pUnkOuter, + REFIID riid, + IRpcProxyBuffer **ppProxy, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStub( + REFIID riid, + IUnknown *pUnkServer, + IRpcStubBuffer **ppStub) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPSFactoryBuffer, 0xd5f569d0, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a) +#endif +#else +typedef struct IPSFactoryBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPSFactoryBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPSFactoryBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPSFactoryBuffer *This); + + /*** IPSFactoryBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateProxy)( + IPSFactoryBuffer *This, + IUnknown *pUnkOuter, + REFIID riid, + IRpcProxyBuffer **ppProxy, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *CreateStub)( + IPSFactoryBuffer *This, + REFIID riid, + IUnknown *pUnkServer, + IRpcStubBuffer **ppStub); + + END_INTERFACE +} IPSFactoryBufferVtbl; + +interface IPSFactoryBuffer { + CONST_VTBL IPSFactoryBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPSFactoryBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPSFactoryBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPSFactoryBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** IPSFactoryBuffer methods ***/ +#define IPSFactoryBuffer_CreateProxy(This,pUnkOuter,riid,ppProxy,ppv) (This)->lpVtbl->CreateProxy(This,pUnkOuter,riid,ppProxy,ppv) +#define IPSFactoryBuffer_CreateStub(This,riid,pUnkServer,ppStub) (This)->lpVtbl->CreateStub(This,riid,pUnkServer,ppStub) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPSFactoryBuffer_QueryInterface(IPSFactoryBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPSFactoryBuffer_AddRef(IPSFactoryBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPSFactoryBuffer_Release(IPSFactoryBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** IPSFactoryBuffer methods ***/ +static FORCEINLINE HRESULT IPSFactoryBuffer_CreateProxy(IPSFactoryBuffer* This,IUnknown *pUnkOuter,REFIID riid,IRpcProxyBuffer **ppProxy,void **ppv) { + return This->lpVtbl->CreateProxy(This,pUnkOuter,riid,ppProxy,ppv); +} +static FORCEINLINE HRESULT IPSFactoryBuffer_CreateStub(IPSFactoryBuffer* This,REFIID riid,IUnknown *pUnkServer,IRpcStubBuffer **ppStub) { + return This->lpVtbl->CreateStub(This,riid,pUnkServer,ppStub); +} +#endif +#endif + +#endif + + +#endif /* __IPSFactoryBuffer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IChannelHook interface + */ +#ifndef __IChannelHook_INTERFACE_DEFINED__ +#define __IChannelHook_INTERFACE_DEFINED__ + +typedef IChannelHook *LPCHANNELHOOK; +typedef struct SChannelHookCallInfo { + IID iid; + DWORD cbSize; + GUID uCausality; + DWORD dwServerPid; + DWORD iMethod; + void *pObject; +} SChannelHookCallInfo; +DEFINE_GUID(IID_IChannelHook, 0x1008c4a0, 0x7613, 0x11cf, 0x9a,0xf1, 0x00,0x20,0xaf,0x6e,0x72,0xf4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1008c4a0-7613-11cf-9af1-0020af6e72f4") +IChannelHook : public IUnknown +{ + virtual void STDMETHODCALLTYPE ClientGetSize( + REFGUID uExtent, + REFIID riid, + ULONG *pDataSize) = 0; + + virtual void STDMETHODCALLTYPE ClientFillBuffer( + REFGUID uExtent, + REFIID riid, + ULONG *pDataSize, + void *pDataBuffer) = 0; + + virtual void STDMETHODCALLTYPE ClientNotify( + REFGUID uExtent, + REFIID riid, + ULONG cbDataSize, + void *pDataBuffer, + DWORD lDataRep, + HRESULT hrFault) = 0; + + virtual void STDMETHODCALLTYPE ServerNotify( + REFGUID uExtent, + REFIID riid, + ULONG cbDataSize, + void *pDataBuffer, + DWORD lDataRep) = 0; + + virtual void STDMETHODCALLTYPE ServerGetSize( + REFGUID uExtent, + REFIID riid, + HRESULT hrFault, + ULONG *pDataSize) = 0; + + virtual void STDMETHODCALLTYPE ServerFillBuffer( + REFGUID uExtent, + REFIID riid, + ULONG *pDataSize, + void *pDataBuffer, + HRESULT hrFault) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IChannelHook, 0x1008c4a0, 0x7613, 0x11cf, 0x9a,0xf1, 0x00,0x20,0xaf,0x6e,0x72,0xf4) +#endif +#else +typedef struct IChannelHookVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IChannelHook *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IChannelHook *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IChannelHook *This); + + /*** IChannelHook methods ***/ + void (STDMETHODCALLTYPE *ClientGetSize)( + IChannelHook *This, + REFGUID uExtent, + REFIID riid, + ULONG *pDataSize); + + void (STDMETHODCALLTYPE *ClientFillBuffer)( + IChannelHook *This, + REFGUID uExtent, + REFIID riid, + ULONG *pDataSize, + void *pDataBuffer); + + void (STDMETHODCALLTYPE *ClientNotify)( + IChannelHook *This, + REFGUID uExtent, + REFIID riid, + ULONG cbDataSize, + void *pDataBuffer, + DWORD lDataRep, + HRESULT hrFault); + + void (STDMETHODCALLTYPE *ServerNotify)( + IChannelHook *This, + REFGUID uExtent, + REFIID riid, + ULONG cbDataSize, + void *pDataBuffer, + DWORD lDataRep); + + void (STDMETHODCALLTYPE *ServerGetSize)( + IChannelHook *This, + REFGUID uExtent, + REFIID riid, + HRESULT hrFault, + ULONG *pDataSize); + + void (STDMETHODCALLTYPE *ServerFillBuffer)( + IChannelHook *This, + REFGUID uExtent, + REFIID riid, + ULONG *pDataSize, + void *pDataBuffer, + HRESULT hrFault); + + END_INTERFACE +} IChannelHookVtbl; + +interface IChannelHook { + CONST_VTBL IChannelHookVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IChannelHook_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IChannelHook_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IChannelHook_Release(This) (This)->lpVtbl->Release(This) +/*** IChannelHook methods ***/ +#define IChannelHook_ClientGetSize(This,uExtent,riid,pDataSize) (This)->lpVtbl->ClientGetSize(This,uExtent,riid,pDataSize) +#define IChannelHook_ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer) (This)->lpVtbl->ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer) +#define IChannelHook_ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault) (This)->lpVtbl->ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault) +#define IChannelHook_ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep) (This)->lpVtbl->ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep) +#define IChannelHook_ServerGetSize(This,uExtent,riid,hrFault,pDataSize) (This)->lpVtbl->ServerGetSize(This,uExtent,riid,hrFault,pDataSize) +#define IChannelHook_ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault) (This)->lpVtbl->ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IChannelHook_QueryInterface(IChannelHook* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IChannelHook_AddRef(IChannelHook* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IChannelHook_Release(IChannelHook* This) { + return This->lpVtbl->Release(This); +} +/*** IChannelHook methods ***/ +static FORCEINLINE void IChannelHook_ClientGetSize(IChannelHook* This,REFGUID uExtent,REFIID riid,ULONG *pDataSize) { + This->lpVtbl->ClientGetSize(This,uExtent,riid,pDataSize); +} +static FORCEINLINE void IChannelHook_ClientFillBuffer(IChannelHook* This,REFGUID uExtent,REFIID riid,ULONG *pDataSize,void *pDataBuffer) { + This->lpVtbl->ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer); +} +static FORCEINLINE void IChannelHook_ClientNotify(IChannelHook* This,REFGUID uExtent,REFIID riid,ULONG cbDataSize,void *pDataBuffer,DWORD lDataRep,HRESULT hrFault) { + This->lpVtbl->ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault); +} +static FORCEINLINE void IChannelHook_ServerNotify(IChannelHook* This,REFGUID uExtent,REFIID riid,ULONG cbDataSize,void *pDataBuffer,DWORD lDataRep) { + This->lpVtbl->ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep); +} +static FORCEINLINE void IChannelHook_ServerGetSize(IChannelHook* This,REFGUID uExtent,REFIID riid,HRESULT hrFault,ULONG *pDataSize) { + This->lpVtbl->ServerGetSize(This,uExtent,riid,hrFault,pDataSize); +} +static FORCEINLINE void IChannelHook_ServerFillBuffer(IChannelHook* This,REFGUID uExtent,REFIID riid,ULONG *pDataSize,void *pDataBuffer,HRESULT hrFault) { + This->lpVtbl->ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault); +} +#endif +#endif + +#endif + + +#endif /* __IChannelHook_INTERFACE_DEFINED__ */ + +extern const FMTID FMTID_SummaryInformation; + +extern const FMTID FMTID_DocSummaryInformation; + +extern const FMTID FMTID_UserDefinedProperties; + +/***************************************************************************** + * IClientSecurity interface + */ +#ifndef __IClientSecurity_INTERFACE_DEFINED__ +#define __IClientSecurity_INTERFACE_DEFINED__ + +typedef struct tagSOLE_AUTHENTICATION_SERVICE { + DWORD dwAuthnSvc; + DWORD dwAuthzSvc; + OLECHAR *pPrincipalName; + HRESULT hr; +} SOLE_AUTHENTICATION_SERVICE; +typedef SOLE_AUTHENTICATION_SERVICE *PSOLE_AUTHENTICATION_SERVICE; +typedef struct tagSOLE_AUTHENTICATION_INFO { + DWORD dwAuthnSvc; + DWORD dwAuthzSvc; + void *pAuthInfo; +} SOLE_AUTHENTICATION_INFO; +#define COLE_DEFAULT_PRINCIPAL ((OLECHAR *)-1) + +#define COLE_DEFAULT_AUTHINFO ((void *)-1) + +typedef struct tagSOLE_AUTHENTICATION_LIST { + DWORD cAuthInfo; + SOLE_AUTHENTICATION_INFO *aAuthInfo; +} SOLE_AUTHENTICATION_LIST; +typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES { + EOAC_NONE = 0x0, + EOAC_MUTUAL_AUTH = 0x1, + EOAC_SECURE_REFS = 0x2, + EOAC_ACCESS_CONTROL = 0x4, + EOAC_APPID = 0x8, + EOAC_DYNAMIC = 0x10, + EOAC_STATIC_CLOAKING = 0x20, + EOAC_DYNAMIC_CLOAKING = 0x40, + EOAC_ANY_AUTHORITY = 0x80, + EOAC_MAKE_FULLSIC = 0x100, + EOAC_REQUIRE_FULLSIC = 0x200, + EOAC_AUTO_IMPERSONATE = 0x400, + EOAC_DEFAULT = 0x800, + EOAC_DISABLE_AAA = 0x1000, + EOAC_NO_CUSTOM_MARSHAL = 0x2000 +} EOLE_AUTHENTICATION_CAPABILITIES; +DEFINE_GUID(IID_IClientSecurity, 0x0000013d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000013d-0000-0000-c000-000000000046") +IClientSecurity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryBlanket( + IUnknown *pProxy, + DWORD *pAuthnSvc, + DWORD *pAuthzSvc, + OLECHAR **pServerPrincName, + DWORD *pAuthnLevel, + DWORD *pImpLevel, + void **pAuthInfo, + DWORD *pCapabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBlanket( + IUnknown *pProxy, + DWORD AuthnSvc, + DWORD AuthzSvc, + OLECHAR *pServerPrincName, + DWORD AuthnLevel, + DWORD ImpLevel, + void *pAuthInfo, + DWORD Capabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyProxy( + IUnknown *pProxy, + IUnknown **ppCopy) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IClientSecurity, 0x0000013d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IClientSecurityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IClientSecurity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IClientSecurity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IClientSecurity *This); + + /*** IClientSecurity methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryBlanket)( + IClientSecurity *This, + IUnknown *pProxy, + DWORD *pAuthnSvc, + DWORD *pAuthzSvc, + OLECHAR **pServerPrincName, + DWORD *pAuthnLevel, + DWORD *pImpLevel, + void **pAuthInfo, + DWORD *pCapabilities); + + HRESULT (STDMETHODCALLTYPE *SetBlanket)( + IClientSecurity *This, + IUnknown *pProxy, + DWORD AuthnSvc, + DWORD AuthzSvc, + OLECHAR *pServerPrincName, + DWORD AuthnLevel, + DWORD ImpLevel, + void *pAuthInfo, + DWORD Capabilities); + + HRESULT (STDMETHODCALLTYPE *CopyProxy)( + IClientSecurity *This, + IUnknown *pProxy, + IUnknown **ppCopy); + + END_INTERFACE +} IClientSecurityVtbl; + +interface IClientSecurity { + CONST_VTBL IClientSecurityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IClientSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IClientSecurity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IClientSecurity_Release(This) (This)->lpVtbl->Release(This) +/*** IClientSecurity methods ***/ +#define IClientSecurity_QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities) (This)->lpVtbl->QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities) +#define IClientSecurity_SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities) (This)->lpVtbl->SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities) +#define IClientSecurity_CopyProxy(This,pProxy,ppCopy) (This)->lpVtbl->CopyProxy(This,pProxy,ppCopy) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IClientSecurity_QueryInterface(IClientSecurity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IClientSecurity_AddRef(IClientSecurity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IClientSecurity_Release(IClientSecurity* This) { + return This->lpVtbl->Release(This); +} +/*** IClientSecurity methods ***/ +static FORCEINLINE HRESULT IClientSecurity_QueryBlanket(IClientSecurity* This,IUnknown *pProxy,DWORD *pAuthnSvc,DWORD *pAuthzSvc,OLECHAR **pServerPrincName,DWORD *pAuthnLevel,DWORD *pImpLevel,void **pAuthInfo,DWORD *pCapabilities) { + return This->lpVtbl->QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities); +} +static FORCEINLINE HRESULT IClientSecurity_SetBlanket(IClientSecurity* This,IUnknown *pProxy,DWORD AuthnSvc,DWORD AuthzSvc,OLECHAR *pServerPrincName,DWORD AuthnLevel,DWORD ImpLevel,void *pAuthInfo,DWORD Capabilities) { + return This->lpVtbl->SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities); +} +static FORCEINLINE HRESULT IClientSecurity_CopyProxy(IClientSecurity* This,IUnknown *pProxy,IUnknown **ppCopy) { + return This->lpVtbl->CopyProxy(This,pProxy,ppCopy); +} +#endif +#endif + +#endif + + +#endif /* __IClientSecurity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IServerSecurity interface + */ +#ifndef __IServerSecurity_INTERFACE_DEFINED__ +#define __IServerSecurity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IServerSecurity, 0x0000013e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000013e-0000-0000-c000-000000000046") +IServerSecurity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryBlanket( + DWORD *pAuthnSvc, + DWORD *pAuthzSvc, + OLECHAR **pServerPrincName, + DWORD *pAuthnLevel, + DWORD *pImpLevel, + void **pPrivs, + DWORD *pCapabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE ImpersonateClient( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RevertToSelf( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE IsImpersonating( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IServerSecurity, 0x0000013e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IServerSecurityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IServerSecurity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IServerSecurity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IServerSecurity *This); + + /*** IServerSecurity methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryBlanket)( + IServerSecurity *This, + DWORD *pAuthnSvc, + DWORD *pAuthzSvc, + OLECHAR **pServerPrincName, + DWORD *pAuthnLevel, + DWORD *pImpLevel, + void **pPrivs, + DWORD *pCapabilities); + + HRESULT (STDMETHODCALLTYPE *ImpersonateClient)( + IServerSecurity *This); + + HRESULT (STDMETHODCALLTYPE *RevertToSelf)( + IServerSecurity *This); + + BOOL (STDMETHODCALLTYPE *IsImpersonating)( + IServerSecurity *This); + + END_INTERFACE +} IServerSecurityVtbl; + +interface IServerSecurity { + CONST_VTBL IServerSecurityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IServerSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IServerSecurity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IServerSecurity_Release(This) (This)->lpVtbl->Release(This) +/*** IServerSecurity methods ***/ +#define IServerSecurity_QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities) (This)->lpVtbl->QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities) +#define IServerSecurity_ImpersonateClient(This) (This)->lpVtbl->ImpersonateClient(This) +#define IServerSecurity_RevertToSelf(This) (This)->lpVtbl->RevertToSelf(This) +#define IServerSecurity_IsImpersonating(This) (This)->lpVtbl->IsImpersonating(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IServerSecurity_QueryInterface(IServerSecurity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IServerSecurity_AddRef(IServerSecurity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IServerSecurity_Release(IServerSecurity* This) { + return This->lpVtbl->Release(This); +} +/*** IServerSecurity methods ***/ +static FORCEINLINE HRESULT IServerSecurity_QueryBlanket(IServerSecurity* This,DWORD *pAuthnSvc,DWORD *pAuthzSvc,OLECHAR **pServerPrincName,DWORD *pAuthnLevel,DWORD *pImpLevel,void **pPrivs,DWORD *pCapabilities) { + return This->lpVtbl->QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities); +} +static FORCEINLINE HRESULT IServerSecurity_ImpersonateClient(IServerSecurity* This) { + return This->lpVtbl->ImpersonateClient(This); +} +static FORCEINLINE HRESULT IServerSecurity_RevertToSelf(IServerSecurity* This) { + return This->lpVtbl->RevertToSelf(This); +} +static FORCEINLINE BOOL IServerSecurity_IsImpersonating(IServerSecurity* This) { + return This->lpVtbl->IsImpersonating(This); +} +#endif +#endif + +#endif + + +#endif /* __IServerSecurity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAsyncSetup interface + */ +#ifndef __IAsyncSetup_INTERFACE_DEFINED__ +#define __IAsyncSetup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAsyncSetup, 0x00000024, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000024-0000-0000-c000-000000000046") +IAsyncSetup : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAsyncManager( + REFIID riid, + IUnknown *pOuter, + DWORD dwFlags, + IUnknown **ppInner, + IAsyncManager **ppAsyncMgr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAsyncSetup, 0x00000024, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IAsyncSetupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAsyncSetup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAsyncSetup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAsyncSetup *This); + + /*** IAsyncSetup methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAsyncManager)( + IAsyncSetup *This, + REFIID riid, + IUnknown *pOuter, + DWORD dwFlags, + IUnknown **ppInner, + IAsyncManager **ppAsyncMgr); + + END_INTERFACE +} IAsyncSetupVtbl; + +interface IAsyncSetup { + CONST_VTBL IAsyncSetupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAsyncSetup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAsyncSetup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAsyncSetup_Release(This) (This)->lpVtbl->Release(This) +/*** IAsyncSetup methods ***/ +#define IAsyncSetup_GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr) (This)->lpVtbl->GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAsyncSetup_QueryInterface(IAsyncSetup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAsyncSetup_AddRef(IAsyncSetup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAsyncSetup_Release(IAsyncSetup* This) { + return This->lpVtbl->Release(This); +} +/*** IAsyncSetup methods ***/ +static FORCEINLINE HRESULT IAsyncSetup_GetAsyncManager(IAsyncSetup* This,REFIID riid,IUnknown *pOuter,DWORD dwFlags,IUnknown **ppInner,IAsyncManager **ppAsyncMgr) { + return This->lpVtbl->GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr); +} +#endif +#endif + +#endif + + +#endif /* __IAsyncSetup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDirectWriterLock interface + */ +#ifndef __IDirectWriterLock_INTERFACE_DEFINED__ +#define __IDirectWriterLock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDirectWriterLock, 0x0e6d4d92, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0e6d4d92-6738-11cf-9608-00aa00680db4") +IDirectWriterLock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE WaitForWriteAccess( + DWORD dwTimeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseWriteAccess( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE HaveWriteAccess( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDirectWriterLock, 0x0e6d4d92, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4) +#endif +#else +typedef struct IDirectWriterLockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDirectWriterLock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDirectWriterLock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDirectWriterLock *This); + + /*** IDirectWriterLock methods ***/ + HRESULT (STDMETHODCALLTYPE *WaitForWriteAccess)( + IDirectWriterLock *This, + DWORD dwTimeout); + + HRESULT (STDMETHODCALLTYPE *ReleaseWriteAccess)( + IDirectWriterLock *This); + + HRESULT (STDMETHODCALLTYPE *HaveWriteAccess)( + IDirectWriterLock *This); + + END_INTERFACE +} IDirectWriterLockVtbl; + +interface IDirectWriterLock { + CONST_VTBL IDirectWriterLockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDirectWriterLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDirectWriterLock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDirectWriterLock_Release(This) (This)->lpVtbl->Release(This) +/*** IDirectWriterLock methods ***/ +#define IDirectWriterLock_WaitForWriteAccess(This,dwTimeout) (This)->lpVtbl->WaitForWriteAccess(This,dwTimeout) +#define IDirectWriterLock_ReleaseWriteAccess(This) (This)->lpVtbl->ReleaseWriteAccess(This) +#define IDirectWriterLock_HaveWriteAccess(This) (This)->lpVtbl->HaveWriteAccess(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDirectWriterLock_QueryInterface(IDirectWriterLock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDirectWriterLock_AddRef(IDirectWriterLock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDirectWriterLock_Release(IDirectWriterLock* This) { + return This->lpVtbl->Release(This); +} +/*** IDirectWriterLock methods ***/ +static FORCEINLINE HRESULT IDirectWriterLock_WaitForWriteAccess(IDirectWriterLock* This,DWORD dwTimeout) { + return This->lpVtbl->WaitForWriteAccess(This,dwTimeout); +} +static FORCEINLINE HRESULT IDirectWriterLock_ReleaseWriteAccess(IDirectWriterLock* This) { + return This->lpVtbl->ReleaseWriteAccess(This); +} +static FORCEINLINE HRESULT IDirectWriterLock_HaveWriteAccess(IDirectWriterLock* This) { + return This->lpVtbl->HaveWriteAccess(This); +} +#endif +#endif + +#endif + + +#endif /* __IDirectWriterLock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISynchronize interface + */ +#ifndef __ISynchronize_INTERFACE_DEFINED__ +#define __ISynchronize_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISynchronize, 0x00000030, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000030-0000-0000-c000-000000000046") +ISynchronize : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Wait( + DWORD dwFlags, + DWORD dwMilliseconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE Signal( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISynchronize, 0x00000030, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ISynchronizeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISynchronize *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISynchronize *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISynchronize *This); + + /*** ISynchronize methods ***/ + HRESULT (STDMETHODCALLTYPE *Wait)( + ISynchronize *This, + DWORD dwFlags, + DWORD dwMilliseconds); + + HRESULT (STDMETHODCALLTYPE *Signal)( + ISynchronize *This); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ISynchronize *This); + + END_INTERFACE +} ISynchronizeVtbl; + +interface ISynchronize { + CONST_VTBL ISynchronizeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISynchronize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISynchronize_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISynchronize_Release(This) (This)->lpVtbl->Release(This) +/*** ISynchronize methods ***/ +#define ISynchronize_Wait(This,dwFlags,dwMilliseconds) (This)->lpVtbl->Wait(This,dwFlags,dwMilliseconds) +#define ISynchronize_Signal(This) (This)->lpVtbl->Signal(This) +#define ISynchronize_Reset(This) (This)->lpVtbl->Reset(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISynchronize_QueryInterface(ISynchronize* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISynchronize_AddRef(ISynchronize* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISynchronize_Release(ISynchronize* This) { + return This->lpVtbl->Release(This); +} +/*** ISynchronize methods ***/ +static FORCEINLINE HRESULT ISynchronize_Wait(ISynchronize* This,DWORD dwFlags,DWORD dwMilliseconds) { + return This->lpVtbl->Wait(This,dwFlags,dwMilliseconds); +} +static FORCEINLINE HRESULT ISynchronize_Signal(ISynchronize* This) { + return This->lpVtbl->Signal(This); +} +static FORCEINLINE HRESULT ISynchronize_Reset(ISynchronize* This) { + return This->lpVtbl->Reset(This); +} +#endif +#endif + +#endif + + +#endif /* __ISynchronize_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISynchronizeHandle interface + */ +#ifndef __ISynchronizeHandle_INTERFACE_DEFINED__ +#define __ISynchronizeHandle_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISynchronizeHandle, 0x00000031, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000031-0000-0000-c000-000000000046") +ISynchronizeHandle : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetHandle( + HANDLE *ph) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISynchronizeHandle, 0x00000031, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ISynchronizeHandleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISynchronizeHandle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISynchronizeHandle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISynchronizeHandle *This); + + /*** ISynchronizeHandle methods ***/ + HRESULT (STDMETHODCALLTYPE *GetHandle)( + ISynchronizeHandle *This, + HANDLE *ph); + + END_INTERFACE +} ISynchronizeHandleVtbl; + +interface ISynchronizeHandle { + CONST_VTBL ISynchronizeHandleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISynchronizeHandle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISynchronizeHandle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISynchronizeHandle_Release(This) (This)->lpVtbl->Release(This) +/*** ISynchronizeHandle methods ***/ +#define ISynchronizeHandle_GetHandle(This,ph) (This)->lpVtbl->GetHandle(This,ph) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISynchronizeHandle_QueryInterface(ISynchronizeHandle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISynchronizeHandle_AddRef(ISynchronizeHandle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISynchronizeHandle_Release(ISynchronizeHandle* This) { + return This->lpVtbl->Release(This); +} +/*** ISynchronizeHandle methods ***/ +static FORCEINLINE HRESULT ISynchronizeHandle_GetHandle(ISynchronizeHandle* This,HANDLE *ph) { + return This->lpVtbl->GetHandle(This,ph); +} +#endif +#endif + +#endif + + +#endif /* __ISynchronizeHandle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISynchronizeEvent interface + */ +#ifndef __ISynchronizeEvent_INTERFACE_DEFINED__ +#define __ISynchronizeEvent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISynchronizeEvent, 0x00000032, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000032-0000-0000-c000-000000000046") +ISynchronizeEvent : public ISynchronizeHandle +{ + virtual HRESULT STDMETHODCALLTYPE SetEventHandle( + HANDLE *ph) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISynchronizeEvent, 0x00000032, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ISynchronizeEventVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISynchronizeEvent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISynchronizeEvent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISynchronizeEvent *This); + + /*** ISynchronizeHandle methods ***/ + HRESULT (STDMETHODCALLTYPE *GetHandle)( + ISynchronizeEvent *This, + HANDLE *ph); + + /*** ISynchronizeEvent methods ***/ + HRESULT (STDMETHODCALLTYPE *SetEventHandle)( + ISynchronizeEvent *This, + HANDLE *ph); + + END_INTERFACE +} ISynchronizeEventVtbl; + +interface ISynchronizeEvent { + CONST_VTBL ISynchronizeEventVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISynchronizeEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISynchronizeEvent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISynchronizeEvent_Release(This) (This)->lpVtbl->Release(This) +/*** ISynchronizeHandle methods ***/ +#define ISynchronizeEvent_GetHandle(This,ph) (This)->lpVtbl->GetHandle(This,ph) +/*** ISynchronizeEvent methods ***/ +#define ISynchronizeEvent_SetEventHandle(This,ph) (This)->lpVtbl->SetEventHandle(This,ph) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISynchronizeEvent_QueryInterface(ISynchronizeEvent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISynchronizeEvent_AddRef(ISynchronizeEvent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISynchronizeEvent_Release(ISynchronizeEvent* This) { + return This->lpVtbl->Release(This); +} +/*** ISynchronizeHandle methods ***/ +static FORCEINLINE HRESULT ISynchronizeEvent_GetHandle(ISynchronizeEvent* This,HANDLE *ph) { + return This->lpVtbl->GetHandle(This,ph); +} +/*** ISynchronizeEvent methods ***/ +static FORCEINLINE HRESULT ISynchronizeEvent_SetEventHandle(ISynchronizeEvent* This,HANDLE *ph) { + return This->lpVtbl->SetEventHandle(This,ph); +} +#endif +#endif + +#endif + + +#endif /* __ISynchronizeEvent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISynchronizeContainer interface + */ +#ifndef __ISynchronizeContainer_INTERFACE_DEFINED__ +#define __ISynchronizeContainer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISynchronizeContainer, 0x00000033, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000033-0000-0000-c000-000000000046") +ISynchronizeContainer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddSynchronize( + ISynchronize *pSync) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitMultiple( + DWORD dwFlags, + DWORD dwTimeOut, + ISynchronize **ppSync) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISynchronizeContainer, 0x00000033, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ISynchronizeContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISynchronizeContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISynchronizeContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISynchronizeContainer *This); + + /*** ISynchronizeContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *AddSynchronize)( + ISynchronizeContainer *This, + ISynchronize *pSync); + + HRESULT (STDMETHODCALLTYPE *WaitMultiple)( + ISynchronizeContainer *This, + DWORD dwFlags, + DWORD dwTimeOut, + ISynchronize **ppSync); + + END_INTERFACE +} ISynchronizeContainerVtbl; + +interface ISynchronizeContainer { + CONST_VTBL ISynchronizeContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISynchronizeContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISynchronizeContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISynchronizeContainer_Release(This) (This)->lpVtbl->Release(This) +/*** ISynchronizeContainer methods ***/ +#define ISynchronizeContainer_AddSynchronize(This,pSync) (This)->lpVtbl->AddSynchronize(This,pSync) +#define ISynchronizeContainer_WaitMultiple(This,dwFlags,dwTimeOut,ppSync) (This)->lpVtbl->WaitMultiple(This,dwFlags,dwTimeOut,ppSync) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISynchronizeContainer_QueryInterface(ISynchronizeContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISynchronizeContainer_AddRef(ISynchronizeContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISynchronizeContainer_Release(ISynchronizeContainer* This) { + return This->lpVtbl->Release(This); +} +/*** ISynchronizeContainer methods ***/ +static FORCEINLINE HRESULT ISynchronizeContainer_AddSynchronize(ISynchronizeContainer* This,ISynchronize *pSync) { + return This->lpVtbl->AddSynchronize(This,pSync); +} +static FORCEINLINE HRESULT ISynchronizeContainer_WaitMultiple(ISynchronizeContainer* This,DWORD dwFlags,DWORD dwTimeOut,ISynchronize **ppSync) { + return This->lpVtbl->WaitMultiple(This,dwFlags,dwTimeOut,ppSync); +} +#endif +#endif + +#endif + + +#endif /* __ISynchronizeContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISynchronizeMutex interface + */ +#ifndef __ISynchronizeMutex_INTERFACE_DEFINED__ +#define __ISynchronizeMutex_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISynchronizeMutex, 0x00000025, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000025-0000-0000-c000-000000000046") +ISynchronizeMutex : public ISynchronize +{ + virtual HRESULT STDMETHODCALLTYPE ReleaseMutex( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISynchronizeMutex, 0x00000025, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ISynchronizeMutexVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISynchronizeMutex *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISynchronizeMutex *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISynchronizeMutex *This); + + /*** ISynchronize methods ***/ + HRESULT (STDMETHODCALLTYPE *Wait)( + ISynchronizeMutex *This, + DWORD dwFlags, + DWORD dwMilliseconds); + + HRESULT (STDMETHODCALLTYPE *Signal)( + ISynchronizeMutex *This); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ISynchronizeMutex *This); + + /*** ISynchronizeMutex methods ***/ + HRESULT (STDMETHODCALLTYPE *ReleaseMutex)( + ISynchronizeMutex *This); + + END_INTERFACE +} ISynchronizeMutexVtbl; + +interface ISynchronizeMutex { + CONST_VTBL ISynchronizeMutexVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISynchronizeMutex_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISynchronizeMutex_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISynchronizeMutex_Release(This) (This)->lpVtbl->Release(This) +/*** ISynchronize methods ***/ +#define ISynchronizeMutex_Wait(This,dwFlags,dwMilliseconds) (This)->lpVtbl->Wait(This,dwFlags,dwMilliseconds) +#define ISynchronizeMutex_Signal(This) (This)->lpVtbl->Signal(This) +#define ISynchronizeMutex_Reset(This) (This)->lpVtbl->Reset(This) +/*** ISynchronizeMutex methods ***/ +#define ISynchronizeMutex_ReleaseMutex(This) (This)->lpVtbl->ReleaseMutex(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISynchronizeMutex_QueryInterface(ISynchronizeMutex* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISynchronizeMutex_AddRef(ISynchronizeMutex* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISynchronizeMutex_Release(ISynchronizeMutex* This) { + return This->lpVtbl->Release(This); +} +/*** ISynchronize methods ***/ +static FORCEINLINE HRESULT ISynchronizeMutex_Wait(ISynchronizeMutex* This,DWORD dwFlags,DWORD dwMilliseconds) { + return This->lpVtbl->Wait(This,dwFlags,dwMilliseconds); +} +static FORCEINLINE HRESULT ISynchronizeMutex_Signal(ISynchronizeMutex* This) { + return This->lpVtbl->Signal(This); +} +static FORCEINLINE HRESULT ISynchronizeMutex_Reset(ISynchronizeMutex* This) { + return This->lpVtbl->Reset(This); +} +/*** ISynchronizeMutex methods ***/ +static FORCEINLINE HRESULT ISynchronizeMutex_ReleaseMutex(ISynchronizeMutex* This) { + return This->lpVtbl->ReleaseMutex(This); +} +#endif +#endif + +#endif + + +#endif /* __ISynchronizeMutex_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICancelMethodCalls interface + */ +#ifndef __ICancelMethodCalls_INTERFACE_DEFINED__ +#define __ICancelMethodCalls_INTERFACE_DEFINED__ + +typedef ICancelMethodCalls *LPCANCELMETHODCALLS; +DEFINE_GUID(IID_ICancelMethodCalls, 0x00000029, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000029-0000-0000-c000-000000000046") +ICancelMethodCalls : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ULONG ulSeconds) = 0; + + virtual HRESULT STDMETHODCALLTYPE TestCancel( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICancelMethodCalls, 0x00000029, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICancelMethodCallsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICancelMethodCalls *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICancelMethodCalls *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICancelMethodCalls *This); + + /*** ICancelMethodCalls methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + ICancelMethodCalls *This, + ULONG ulSeconds); + + HRESULT (STDMETHODCALLTYPE *TestCancel)( + ICancelMethodCalls *This); + + END_INTERFACE +} ICancelMethodCallsVtbl; + +interface ICancelMethodCalls { + CONST_VTBL ICancelMethodCallsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICancelMethodCalls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICancelMethodCalls_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICancelMethodCalls_Release(This) (This)->lpVtbl->Release(This) +/*** ICancelMethodCalls methods ***/ +#define ICancelMethodCalls_Cancel(This,ulSeconds) (This)->lpVtbl->Cancel(This,ulSeconds) +#define ICancelMethodCalls_TestCancel(This) (This)->lpVtbl->TestCancel(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICancelMethodCalls_QueryInterface(ICancelMethodCalls* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICancelMethodCalls_AddRef(ICancelMethodCalls* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICancelMethodCalls_Release(ICancelMethodCalls* This) { + return This->lpVtbl->Release(This); +} +/*** ICancelMethodCalls methods ***/ +static FORCEINLINE HRESULT ICancelMethodCalls_Cancel(ICancelMethodCalls* This,ULONG ulSeconds) { + return This->lpVtbl->Cancel(This,ulSeconds); +} +static FORCEINLINE HRESULT ICancelMethodCalls_TestCancel(ICancelMethodCalls* This) { + return This->lpVtbl->TestCancel(This); +} +#endif +#endif + +#endif + + +#endif /* __ICancelMethodCalls_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAsyncManager interface + */ +#ifndef __IAsyncManager_INTERFACE_DEFINED__ +#define __IAsyncManager_INTERFACE_DEFINED__ + +typedef enum tagDCOM_CALL_STATE { + DCOM_NONE = 0, + DCOM_CALL_COMPLETE = 1, + DCOM_CALL_CANCELED = 2 +} DCOM_CALL_STATE; +DEFINE_GUID(IID_IAsyncManager, 0x0000002a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000002a-0000-0000-c000-000000000046") +IAsyncManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CompleteCall( + HRESULT Result) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCallContext( + REFIID riid, + void **pInterface) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + ULONG *pulStateFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAsyncManager, 0x0000002a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IAsyncManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAsyncManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAsyncManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAsyncManager *This); + + /*** IAsyncManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CompleteCall)( + IAsyncManager *This, + HRESULT Result); + + HRESULT (STDMETHODCALLTYPE *GetCallContext)( + IAsyncManager *This, + REFIID riid, + void **pInterface); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IAsyncManager *This, + ULONG *pulStateFlags); + + END_INTERFACE +} IAsyncManagerVtbl; + +interface IAsyncManager { + CONST_VTBL IAsyncManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAsyncManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAsyncManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAsyncManager_Release(This) (This)->lpVtbl->Release(This) +/*** IAsyncManager methods ***/ +#define IAsyncManager_CompleteCall(This,Result) (This)->lpVtbl->CompleteCall(This,Result) +#define IAsyncManager_GetCallContext(This,riid,pInterface) (This)->lpVtbl->GetCallContext(This,riid,pInterface) +#define IAsyncManager_GetState(This,pulStateFlags) (This)->lpVtbl->GetState(This,pulStateFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAsyncManager_QueryInterface(IAsyncManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAsyncManager_AddRef(IAsyncManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAsyncManager_Release(IAsyncManager* This) { + return This->lpVtbl->Release(This); +} +/*** IAsyncManager methods ***/ +static FORCEINLINE HRESULT IAsyncManager_CompleteCall(IAsyncManager* This,HRESULT Result) { + return This->lpVtbl->CompleteCall(This,Result); +} +static FORCEINLINE HRESULT IAsyncManager_GetCallContext(IAsyncManager* This,REFIID riid,void **pInterface) { + return This->lpVtbl->GetCallContext(This,riid,pInterface); +} +static FORCEINLINE HRESULT IAsyncManager_GetState(IAsyncManager* This,ULONG *pulStateFlags) { + return This->lpVtbl->GetState(This,pulStateFlags); +} +#endif +#endif + +#endif + + +#endif /* __IAsyncManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICallFactory interface + */ +#ifndef __ICallFactory_INTERFACE_DEFINED__ +#define __ICallFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICallFactory, 0x1c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1c733a30-2a1c-11ce-ade5-00aa0044773d") +ICallFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateCall( + REFIID riid, + IUnknown *pCtrlUnk, + REFIID riid2, + IUnknown **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICallFactory, 0x1c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ICallFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICallFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICallFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICallFactory *This); + + /*** ICallFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateCall)( + ICallFactory *This, + REFIID riid, + IUnknown *pCtrlUnk, + REFIID riid2, + IUnknown **ppv); + + END_INTERFACE +} ICallFactoryVtbl; + +interface ICallFactory { + CONST_VTBL ICallFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICallFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICallFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICallFactory_Release(This) (This)->lpVtbl->Release(This) +/*** ICallFactory methods ***/ +#define ICallFactory_CreateCall(This,riid,pCtrlUnk,riid2,ppv) (This)->lpVtbl->CreateCall(This,riid,pCtrlUnk,riid2,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICallFactory_QueryInterface(ICallFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICallFactory_AddRef(ICallFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICallFactory_Release(ICallFactory* This) { + return This->lpVtbl->Release(This); +} +/*** ICallFactory methods ***/ +static FORCEINLINE HRESULT ICallFactory_CreateCall(ICallFactory* This,REFIID riid,IUnknown *pCtrlUnk,REFIID riid2,IUnknown **ppv) { + return This->lpVtbl->CreateCall(This,riid,pCtrlUnk,riid2,ppv); +} +#endif +#endif + +#endif + + +#endif /* __ICallFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRpcOptions interface + */ +#ifndef __IRpcOptions_INTERFACE_DEFINED__ +#define __IRpcOptions_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRpcOptions, 0x00000144, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000144-0000-0000-c000-000000000046") +IRpcOptions : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Set( + IUnknown *pPrx, + DWORD dwProperty, + ULONG_PTR dwValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE Query( + IUnknown *pPrx, + DWORD dwProperty, + ULONG_PTR *pdwValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcOptions, 0x00000144, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRpcOptionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcOptions *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcOptions *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcOptions *This); + + /*** IRpcOptions methods ***/ + HRESULT (STDMETHODCALLTYPE *Set)( + IRpcOptions *This, + IUnknown *pPrx, + DWORD dwProperty, + ULONG_PTR dwValue); + + HRESULT (STDMETHODCALLTYPE *Query)( + IRpcOptions *This, + IUnknown *pPrx, + DWORD dwProperty, + ULONG_PTR *pdwValue); + + END_INTERFACE +} IRpcOptionsVtbl; + +interface IRpcOptions { + CONST_VTBL IRpcOptionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcOptions_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcOptions_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcOptions methods ***/ +#define IRpcOptions_Set(This,pPrx,dwProperty,dwValue) (This)->lpVtbl->Set(This,pPrx,dwProperty,dwValue) +#define IRpcOptions_Query(This,pPrx,dwProperty,pdwValue) (This)->lpVtbl->Query(This,pPrx,dwProperty,pdwValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcOptions_QueryInterface(IRpcOptions* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcOptions_AddRef(IRpcOptions* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcOptions_Release(IRpcOptions* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcOptions methods ***/ +static FORCEINLINE HRESULT IRpcOptions_Set(IRpcOptions* This,IUnknown *pPrx,DWORD dwProperty,ULONG_PTR dwValue) { + return This->lpVtbl->Set(This,pPrx,dwProperty,dwValue); +} +static FORCEINLINE HRESULT IRpcOptions_Query(IRpcOptions* This,IUnknown *pPrx,DWORD dwProperty,ULONG_PTR *pdwValue) { + return This->lpVtbl->Query(This,pPrx,dwProperty,pdwValue); +} +#endif +#endif + +#endif + + +#endif /* __IRpcOptions_INTERFACE_DEFINED__ */ + +enum { + COMBND_RPCTIMEOUT = 1, + COMBND_SERVER_LOCALITY = 2 +}; +enum { + SERVER_LOCALITY_PROCESS_LOCAL = 0, + SERVER_LOCALITY_MACHINE_LOCAL = 1, + SERVER_LOCALITY_REMOTE = 2 +}; +/***************************************************************************** + * IRpcHelper interface + */ +#ifndef __IRpcHelper_INTERFACE_DEFINED__ +#define __IRpcHelper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRpcHelper, 0x00000149, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000149-0000-0000-c000-000000000046") +IRpcHelper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDCOMProtocolVersion( + DWORD *pComVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIIDFromOBJREF( + void *pObjRef, + IID **piid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRpcHelper, 0x00000149, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRpcHelperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRpcHelper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRpcHelper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRpcHelper *This); + + /*** IRpcHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDCOMProtocolVersion)( + IRpcHelper *This, + DWORD *pComVersion); + + HRESULT (STDMETHODCALLTYPE *GetIIDFromOBJREF)( + IRpcHelper *This, + void *pObjRef, + IID **piid); + + END_INTERFACE +} IRpcHelperVtbl; + +interface IRpcHelper { + CONST_VTBL IRpcHelperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRpcHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRpcHelper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRpcHelper_Release(This) (This)->lpVtbl->Release(This) +/*** IRpcHelper methods ***/ +#define IRpcHelper_GetDCOMProtocolVersion(This,pComVersion) (This)->lpVtbl->GetDCOMProtocolVersion(This,pComVersion) +#define IRpcHelper_GetIIDFromOBJREF(This,pObjRef,piid) (This)->lpVtbl->GetIIDFromOBJREF(This,pObjRef,piid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRpcHelper_QueryInterface(IRpcHelper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRpcHelper_AddRef(IRpcHelper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRpcHelper_Release(IRpcHelper* This) { + return This->lpVtbl->Release(This); +} +/*** IRpcHelper methods ***/ +static FORCEINLINE HRESULT IRpcHelper_GetDCOMProtocolVersion(IRpcHelper* This,DWORD *pComVersion) { + return This->lpVtbl->GetDCOMProtocolVersion(This,pComVersion); +} +static FORCEINLINE HRESULT IRpcHelper_GetIIDFromOBJREF(IRpcHelper* This,void *pObjRef,IID **piid) { + return This->lpVtbl->GetIIDFromOBJREF(This,pObjRef,piid); +} +#endif +#endif + +#endif + + +#endif /* __IRpcHelper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IReleaseMarshalBuffers interface + */ +#ifndef __IReleaseMarshalBuffers_INTERFACE_DEFINED__ +#define __IReleaseMarshalBuffers_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IReleaseMarshalBuffers, 0xeb0cb9e8, 0x7996, 0x11d2, 0x87,0x2e, 0x00,0x00,0xf8,0x08,0x08,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eb0cb9e8-7996-11d2-872e-0000f8080859") +IReleaseMarshalBuffers : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalBuffer( + RPCOLEMESSAGE *pMsg, + DWORD dwFlags, + IUnknown *pChnl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IReleaseMarshalBuffers, 0xeb0cb9e8, 0x7996, 0x11d2, 0x87,0x2e, 0x00,0x00,0xf8,0x08,0x08,0x59) +#endif +#else +typedef struct IReleaseMarshalBuffersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IReleaseMarshalBuffers *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IReleaseMarshalBuffers *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IReleaseMarshalBuffers *This); + + /*** IReleaseMarshalBuffers methods ***/ + HRESULT (STDMETHODCALLTYPE *ReleaseMarshalBuffer)( + IReleaseMarshalBuffers *This, + RPCOLEMESSAGE *pMsg, + DWORD dwFlags, + IUnknown *pChnl); + + END_INTERFACE +} IReleaseMarshalBuffersVtbl; + +interface IReleaseMarshalBuffers { + CONST_VTBL IReleaseMarshalBuffersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IReleaseMarshalBuffers_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IReleaseMarshalBuffers_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IReleaseMarshalBuffers_Release(This) (This)->lpVtbl->Release(This) +/*** IReleaseMarshalBuffers methods ***/ +#define IReleaseMarshalBuffers_ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl) (This)->lpVtbl->ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IReleaseMarshalBuffers_QueryInterface(IReleaseMarshalBuffers* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IReleaseMarshalBuffers_AddRef(IReleaseMarshalBuffers* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IReleaseMarshalBuffers_Release(IReleaseMarshalBuffers* This) { + return This->lpVtbl->Release(This); +} +/*** IReleaseMarshalBuffers methods ***/ +static FORCEINLINE HRESULT IReleaseMarshalBuffers_ReleaseMarshalBuffer(IReleaseMarshalBuffers* This,RPCOLEMESSAGE *pMsg,DWORD dwFlags,IUnknown *pChnl) { + return This->lpVtbl->ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl); +} +#endif +#endif + +#endif + + +#endif /* __IReleaseMarshalBuffers_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWaitMultiple interface + */ +#ifndef __IWaitMultiple_INTERFACE_DEFINED__ +#define __IWaitMultiple_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWaitMultiple, 0x0000002b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000002b-0000-0000-c000-000000000046") +IWaitMultiple : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE WaitMultiple( + DWORD timeout, + ISynchronize **pSync) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSynchronize( + ISynchronize *pSync) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWaitMultiple, 0x0000002b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IWaitMultipleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWaitMultiple *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWaitMultiple *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWaitMultiple *This); + + /*** IWaitMultiple methods ***/ + HRESULT (STDMETHODCALLTYPE *WaitMultiple)( + IWaitMultiple *This, + DWORD timeout, + ISynchronize **pSync); + + HRESULT (STDMETHODCALLTYPE *AddSynchronize)( + IWaitMultiple *This, + ISynchronize *pSync); + + END_INTERFACE +} IWaitMultipleVtbl; + +interface IWaitMultiple { + CONST_VTBL IWaitMultipleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWaitMultiple_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWaitMultiple_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWaitMultiple_Release(This) (This)->lpVtbl->Release(This) +/*** IWaitMultiple methods ***/ +#define IWaitMultiple_WaitMultiple(This,timeout,pSync) (This)->lpVtbl->WaitMultiple(This,timeout,pSync) +#define IWaitMultiple_AddSynchronize(This,pSync) (This)->lpVtbl->AddSynchronize(This,pSync) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWaitMultiple_QueryInterface(IWaitMultiple* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWaitMultiple_AddRef(IWaitMultiple* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWaitMultiple_Release(IWaitMultiple* This) { + return This->lpVtbl->Release(This); +} +/*** IWaitMultiple methods ***/ +static FORCEINLINE HRESULT IWaitMultiple_WaitMultiple(IWaitMultiple* This,DWORD timeout,ISynchronize **pSync) { + return This->lpVtbl->WaitMultiple(This,timeout,pSync); +} +static FORCEINLINE HRESULT IWaitMultiple_AddSynchronize(IWaitMultiple* This,ISynchronize *pSync) { + return This->lpVtbl->AddSynchronize(This,pSync); +} +#endif +#endif + +#endif + + +#endif /* __IWaitMultiple_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUrlMon interface + */ +#ifndef __IUrlMon_INTERFACE_DEFINED__ +#define __IUrlMon_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUrlMon, 0x00000026, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000026-0000-0000-c000-000000000046") +IUrlMon : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AsyncGetClassBits( + REFCLSID rclsid, + LPCWSTR pszTYPE, + LPCWSTR pszExt, + DWORD dwFileVersionMS, + DWORD dwFileVersionLS, + LPCWSTR pszCodeBase, + IBindCtx *pbc, + DWORD dwClassContext, + REFIID riid, + DWORD flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUrlMon, 0x00000026, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IUrlMonVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUrlMon *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUrlMon *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUrlMon *This); + + /*** IUrlMon methods ***/ + HRESULT (STDMETHODCALLTYPE *AsyncGetClassBits)( + IUrlMon *This, + REFCLSID rclsid, + LPCWSTR pszTYPE, + LPCWSTR pszExt, + DWORD dwFileVersionMS, + DWORD dwFileVersionLS, + LPCWSTR pszCodeBase, + IBindCtx *pbc, + DWORD dwClassContext, + REFIID riid, + DWORD flags); + + END_INTERFACE +} IUrlMonVtbl; + +interface IUrlMon { + CONST_VTBL IUrlMonVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUrlMon_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUrlMon_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUrlMon_Release(This) (This)->lpVtbl->Release(This) +/*** IUrlMon methods ***/ +#define IUrlMon_AsyncGetClassBits(This,rclsid,pszTYPE,pszExt,dwFileVersionMS,dwFileVersionLS,pszCodeBase,pbc,dwClassContext,riid,flags) (This)->lpVtbl->AsyncGetClassBits(This,rclsid,pszTYPE,pszExt,dwFileVersionMS,dwFileVersionLS,pszCodeBase,pbc,dwClassContext,riid,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUrlMon_QueryInterface(IUrlMon* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUrlMon_AddRef(IUrlMon* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUrlMon_Release(IUrlMon* This) { + return This->lpVtbl->Release(This); +} +/*** IUrlMon methods ***/ +static FORCEINLINE HRESULT IUrlMon_AsyncGetClassBits(IUrlMon* This,REFCLSID rclsid,LPCWSTR pszTYPE,LPCWSTR pszExt,DWORD dwFileVersionMS,DWORD dwFileVersionLS,LPCWSTR pszCodeBase,IBindCtx *pbc,DWORD dwClassContext,REFIID riid,DWORD flags) { + return This->lpVtbl->AsyncGetClassBits(This,rclsid,pszTYPE,pszExt,dwFileVersionMS,dwFileVersionLS,pszCodeBase,pbc,dwClassContext,riid,flags); +} +#endif +#endif + +#endif + + +#endif /* __IUrlMon_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IForegroundTransfer interface + */ +#ifndef __IForegroundTransfer_INTERFACE_DEFINED__ +#define __IForegroundTransfer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IForegroundTransfer, 0x00000145, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000145-0000-0000-c000-000000000046") +IForegroundTransfer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AllowForegroundTransfer( + void *lpvReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IForegroundTransfer, 0x00000145, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IForegroundTransferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IForegroundTransfer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IForegroundTransfer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IForegroundTransfer *This); + + /*** IForegroundTransfer methods ***/ + HRESULT (STDMETHODCALLTYPE *AllowForegroundTransfer)( + IForegroundTransfer *This, + void *lpvReserved); + + END_INTERFACE +} IForegroundTransferVtbl; + +interface IForegroundTransfer { + CONST_VTBL IForegroundTransferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IForegroundTransfer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IForegroundTransfer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IForegroundTransfer_Release(This) (This)->lpVtbl->Release(This) +/*** IForegroundTransfer methods ***/ +#define IForegroundTransfer_AllowForegroundTransfer(This,lpvReserved) (This)->lpVtbl->AllowForegroundTransfer(This,lpvReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IForegroundTransfer_QueryInterface(IForegroundTransfer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IForegroundTransfer_AddRef(IForegroundTransfer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IForegroundTransfer_Release(IForegroundTransfer* This) { + return This->lpVtbl->Release(This); +} +/*** IForegroundTransfer methods ***/ +static FORCEINLINE HRESULT IForegroundTransfer_AllowForegroundTransfer(IForegroundTransfer* This,void *lpvReserved) { + return This->lpVtbl->AllowForegroundTransfer(This,lpvReserved); +} +#endif +#endif + +#endif + + +#endif /* __IForegroundTransfer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAddrTrackingControl interface + */ +#ifndef __IAddrTrackingControl_INTERFACE_DEFINED__ +#define __IAddrTrackingControl_INTERFACE_DEFINED__ + +typedef IAddrTrackingControl *LPADDRTRACKINGCONTROL; +DEFINE_GUID(IID_IAddrTrackingControl, 0x00000147, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000147-0000-0000-c000-000000000046") +IAddrTrackingControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnableCOMDynamicAddrTracking( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableCOMDynamicAddrTracking( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAddrTrackingControl, 0x00000147, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IAddrTrackingControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAddrTrackingControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAddrTrackingControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAddrTrackingControl *This); + + /*** IAddrTrackingControl methods ***/ + HRESULT (STDMETHODCALLTYPE *EnableCOMDynamicAddrTracking)( + IAddrTrackingControl *This); + + HRESULT (STDMETHODCALLTYPE *DisableCOMDynamicAddrTracking)( + IAddrTrackingControl *This); + + END_INTERFACE +} IAddrTrackingControlVtbl; + +interface IAddrTrackingControl { + CONST_VTBL IAddrTrackingControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAddrTrackingControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAddrTrackingControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAddrTrackingControl_Release(This) (This)->lpVtbl->Release(This) +/*** IAddrTrackingControl methods ***/ +#define IAddrTrackingControl_EnableCOMDynamicAddrTracking(This) (This)->lpVtbl->EnableCOMDynamicAddrTracking(This) +#define IAddrTrackingControl_DisableCOMDynamicAddrTracking(This) (This)->lpVtbl->DisableCOMDynamicAddrTracking(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAddrTrackingControl_QueryInterface(IAddrTrackingControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAddrTrackingControl_AddRef(IAddrTrackingControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAddrTrackingControl_Release(IAddrTrackingControl* This) { + return This->lpVtbl->Release(This); +} +/*** IAddrTrackingControl methods ***/ +static FORCEINLINE HRESULT IAddrTrackingControl_EnableCOMDynamicAddrTracking(IAddrTrackingControl* This) { + return This->lpVtbl->EnableCOMDynamicAddrTracking(This); +} +static FORCEINLINE HRESULT IAddrTrackingControl_DisableCOMDynamicAddrTracking(IAddrTrackingControl* This) { + return This->lpVtbl->DisableCOMDynamicAddrTracking(This); +} +#endif +#endif + +#endif + + +#endif /* __IAddrTrackingControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAddrExclusionControl interface + */ +#ifndef __IAddrExclusionControl_INTERFACE_DEFINED__ +#define __IAddrExclusionControl_INTERFACE_DEFINED__ + +typedef IAddrExclusionControl *LPADDREXCLUSIONCONTROL; +DEFINE_GUID(IID_IAddrExclusionControl, 0x00000148, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000148-0000-0000-c000-000000000046") +IAddrExclusionControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCurrentAddrExclusionList( + REFIID riid, + void **ppEnumerator) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateAddrExclusionList( + IUnknown *pEnumerator) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAddrExclusionControl, 0x00000148, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IAddrExclusionControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAddrExclusionControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAddrExclusionControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAddrExclusionControl *This); + + /*** IAddrExclusionControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurrentAddrExclusionList)( + IAddrExclusionControl *This, + REFIID riid, + void **ppEnumerator); + + HRESULT (STDMETHODCALLTYPE *UpdateAddrExclusionList)( + IAddrExclusionControl *This, + IUnknown *pEnumerator); + + END_INTERFACE +} IAddrExclusionControlVtbl; + +interface IAddrExclusionControl { + CONST_VTBL IAddrExclusionControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAddrExclusionControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAddrExclusionControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAddrExclusionControl_Release(This) (This)->lpVtbl->Release(This) +/*** IAddrExclusionControl methods ***/ +#define IAddrExclusionControl_GetCurrentAddrExclusionList(This,riid,ppEnumerator) (This)->lpVtbl->GetCurrentAddrExclusionList(This,riid,ppEnumerator) +#define IAddrExclusionControl_UpdateAddrExclusionList(This,pEnumerator) (This)->lpVtbl->UpdateAddrExclusionList(This,pEnumerator) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAddrExclusionControl_QueryInterface(IAddrExclusionControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAddrExclusionControl_AddRef(IAddrExclusionControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAddrExclusionControl_Release(IAddrExclusionControl* This) { + return This->lpVtbl->Release(This); +} +/*** IAddrExclusionControl methods ***/ +static FORCEINLINE HRESULT IAddrExclusionControl_GetCurrentAddrExclusionList(IAddrExclusionControl* This,REFIID riid,void **ppEnumerator) { + return This->lpVtbl->GetCurrentAddrExclusionList(This,riid,ppEnumerator); +} +static FORCEINLINE HRESULT IAddrExclusionControl_UpdateAddrExclusionList(IAddrExclusionControl* This,IUnknown *pEnumerator) { + return This->lpVtbl->UpdateAddrExclusionList(This,pEnumerator); +} +#endif +#endif + +#endif + + +#endif /* __IAddrExclusionControl_INTERFACE_DEFINED__ */ + +typedef enum _APTTYPE { + APTTYPE_CURRENT = -1, + APTTYPE_STA = 0, + APTTYPE_MTA = 1, + APTTYPE_NA = 2, + APTTYPE_MAINSTA = 3 +} APTTYPE; +typedef enum _APTTYPEQUALIFIER { + APTTYPEQUALIFIER_NONE = 0, + APTTYPEQUALIFIER_IMPLICIT_MTA = 1, + APTTYPEQUALIFIER_NA_ON_MTA = 2, + APTTYPEQUALIFIER_NA_ON_STA = 3, + APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA = 4, + APTTYPEQUALIFIER_NA_ON_MAINSTA = 5 +} APTTYPEQUALIFIER; +typedef enum _THDTYPE { + THDTYPE_BLOCKMESSAGES = 0, + THDTYPE_PROCESSMESSAGES = 1 +} THDTYPE; +/***************************************************************************** + * IComThreadingInfo interface + */ +#ifndef __IComThreadingInfo_INTERFACE_DEFINED__ +#define __IComThreadingInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IComThreadingInfo, 0x000001ce, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000001ce-0000-0000-c000-000000000046") +IComThreadingInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCurrentApartmentType( + APTTYPE *pAptType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentThreadType( + THDTYPE *pThreadType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentLogicalThreadId( + GUID *pguidLogicalThreadId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentLogicalThreadId( + REFGUID rguid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IComThreadingInfo, 0x000001ce, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IComThreadingInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IComThreadingInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IComThreadingInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IComThreadingInfo *This); + + /*** IComThreadingInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurrentApartmentType)( + IComThreadingInfo *This, + APTTYPE *pAptType); + + HRESULT (STDMETHODCALLTYPE *GetCurrentThreadType)( + IComThreadingInfo *This, + THDTYPE *pThreadType); + + HRESULT (STDMETHODCALLTYPE *GetCurrentLogicalThreadId)( + IComThreadingInfo *This, + GUID *pguidLogicalThreadId); + + HRESULT (STDMETHODCALLTYPE *SetCurrentLogicalThreadId)( + IComThreadingInfo *This, + REFGUID rguid); + + END_INTERFACE +} IComThreadingInfoVtbl; + +interface IComThreadingInfo { + CONST_VTBL IComThreadingInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IComThreadingInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IComThreadingInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IComThreadingInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IComThreadingInfo methods ***/ +#define IComThreadingInfo_GetCurrentApartmentType(This,pAptType) (This)->lpVtbl->GetCurrentApartmentType(This,pAptType) +#define IComThreadingInfo_GetCurrentThreadType(This,pThreadType) (This)->lpVtbl->GetCurrentThreadType(This,pThreadType) +#define IComThreadingInfo_GetCurrentLogicalThreadId(This,pguidLogicalThreadId) (This)->lpVtbl->GetCurrentLogicalThreadId(This,pguidLogicalThreadId) +#define IComThreadingInfo_SetCurrentLogicalThreadId(This,rguid) (This)->lpVtbl->SetCurrentLogicalThreadId(This,rguid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IComThreadingInfo_QueryInterface(IComThreadingInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IComThreadingInfo_AddRef(IComThreadingInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IComThreadingInfo_Release(IComThreadingInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IComThreadingInfo methods ***/ +static FORCEINLINE HRESULT IComThreadingInfo_GetCurrentApartmentType(IComThreadingInfo* This,APTTYPE *pAptType) { + return This->lpVtbl->GetCurrentApartmentType(This,pAptType); +} +static FORCEINLINE HRESULT IComThreadingInfo_GetCurrentThreadType(IComThreadingInfo* This,THDTYPE *pThreadType) { + return This->lpVtbl->GetCurrentThreadType(This,pThreadType); +} +static FORCEINLINE HRESULT IComThreadingInfo_GetCurrentLogicalThreadId(IComThreadingInfo* This,GUID *pguidLogicalThreadId) { + return This->lpVtbl->GetCurrentLogicalThreadId(This,pguidLogicalThreadId); +} +static FORCEINLINE HRESULT IComThreadingInfo_SetCurrentLogicalThreadId(IComThreadingInfo* This,REFGUID rguid) { + return This->lpVtbl->SetCurrentLogicalThreadId(This,rguid); +} +#endif +#endif + +#endif + + +#endif /* __IComThreadingInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProcessInitControl interface + */ +#ifndef __IProcessInitControl_INTERFACE_DEFINED__ +#define __IProcessInitControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IProcessInitControl, 0x72380d55, 0x8d2b, 0x43a3, 0x85,0x13, 0x2b,0x6e,0xf3,0x14,0x34,0xe9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("72380d55-8d2b-43a3-8513-2b6ef31434e9") +IProcessInitControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ResetInitializerTimeout( + DWORD dwSecondsRemaining) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProcessInitControl, 0x72380d55, 0x8d2b, 0x43a3, 0x85,0x13, 0x2b,0x6e,0xf3,0x14,0x34,0xe9) +#endif +#else +typedef struct IProcessInitControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProcessInitControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProcessInitControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProcessInitControl *This); + + /*** IProcessInitControl methods ***/ + HRESULT (STDMETHODCALLTYPE *ResetInitializerTimeout)( + IProcessInitControl *This, + DWORD dwSecondsRemaining); + + END_INTERFACE +} IProcessInitControlVtbl; + +interface IProcessInitControl { + CONST_VTBL IProcessInitControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProcessInitControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProcessInitControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProcessInitControl_Release(This) (This)->lpVtbl->Release(This) +/*** IProcessInitControl methods ***/ +#define IProcessInitControl_ResetInitializerTimeout(This,dwSecondsRemaining) (This)->lpVtbl->ResetInitializerTimeout(This,dwSecondsRemaining) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProcessInitControl_QueryInterface(IProcessInitControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProcessInitControl_AddRef(IProcessInitControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProcessInitControl_Release(IProcessInitControl* This) { + return This->lpVtbl->Release(This); +} +/*** IProcessInitControl methods ***/ +static FORCEINLINE HRESULT IProcessInitControl_ResetInitializerTimeout(IProcessInitControl* This,DWORD dwSecondsRemaining) { + return This->lpVtbl->ResetInitializerTimeout(This,dwSecondsRemaining); +} +#endif +#endif + +#endif + + +#endif /* __IProcessInitControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInitializeSpy interface + */ +#ifndef __IInitializeSpy_INTERFACE_DEFINED__ +#define __IInitializeSpy_INTERFACE_DEFINED__ + +typedef IInitializeSpy *LPINITIALIZESPY; +DEFINE_GUID(IID_IInitializeSpy, 0x00000034, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000034-0000-0000-c000-000000000046") +IInitializeSpy : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PreInitialize( + DWORD dwCoInit, + DWORD dwCurThreadAptRefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostInitialize( + HRESULT hrCoInit, + DWORD dwCoInit, + DWORD dwNewThreadAptRefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreUninitialize( + DWORD dwCurThreadAptRefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostUninitialize( + DWORD dwNewThreadAptRefs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInitializeSpy, 0x00000034, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IInitializeSpyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInitializeSpy *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInitializeSpy *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInitializeSpy *This); + + /*** IInitializeSpy methods ***/ + HRESULT (STDMETHODCALLTYPE *PreInitialize)( + IInitializeSpy *This, + DWORD dwCoInit, + DWORD dwCurThreadAptRefs); + + HRESULT (STDMETHODCALLTYPE *PostInitialize)( + IInitializeSpy *This, + HRESULT hrCoInit, + DWORD dwCoInit, + DWORD dwNewThreadAptRefs); + + HRESULT (STDMETHODCALLTYPE *PreUninitialize)( + IInitializeSpy *This, + DWORD dwCurThreadAptRefs); + + HRESULT (STDMETHODCALLTYPE *PostUninitialize)( + IInitializeSpy *This, + DWORD dwNewThreadAptRefs); + + END_INTERFACE +} IInitializeSpyVtbl; + +interface IInitializeSpy { + CONST_VTBL IInitializeSpyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInitializeSpy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInitializeSpy_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInitializeSpy_Release(This) (This)->lpVtbl->Release(This) +/*** IInitializeSpy methods ***/ +#define IInitializeSpy_PreInitialize(This,dwCoInit,dwCurThreadAptRefs) (This)->lpVtbl->PreInitialize(This,dwCoInit,dwCurThreadAptRefs) +#define IInitializeSpy_PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs) (This)->lpVtbl->PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs) +#define IInitializeSpy_PreUninitialize(This,dwCurThreadAptRefs) (This)->lpVtbl->PreUninitialize(This,dwCurThreadAptRefs) +#define IInitializeSpy_PostUninitialize(This,dwNewThreadAptRefs) (This)->lpVtbl->PostUninitialize(This,dwNewThreadAptRefs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInitializeSpy_QueryInterface(IInitializeSpy* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInitializeSpy_AddRef(IInitializeSpy* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInitializeSpy_Release(IInitializeSpy* This) { + return This->lpVtbl->Release(This); +} +/*** IInitializeSpy methods ***/ +static FORCEINLINE HRESULT IInitializeSpy_PreInitialize(IInitializeSpy* This,DWORD dwCoInit,DWORD dwCurThreadAptRefs) { + return This->lpVtbl->PreInitialize(This,dwCoInit,dwCurThreadAptRefs); +} +static FORCEINLINE HRESULT IInitializeSpy_PostInitialize(IInitializeSpy* This,HRESULT hrCoInit,DWORD dwCoInit,DWORD dwNewThreadAptRefs) { + return This->lpVtbl->PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs); +} +static FORCEINLINE HRESULT IInitializeSpy_PreUninitialize(IInitializeSpy* This,DWORD dwCurThreadAptRefs) { + return This->lpVtbl->PreUninitialize(This,dwCurThreadAptRefs); +} +static FORCEINLINE HRESULT IInitializeSpy_PostUninitialize(IInitializeSpy* This,DWORD dwNewThreadAptRefs) { + return This->lpVtbl->PostUninitialize(This,dwNewThreadAptRefs); +} +#endif +#endif + +#endif + + +#endif /* __IInitializeSpy_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IThumbnailExtractor interface + */ +#ifndef __IThumbnailExtractor_INTERFACE_DEFINED__ +#define __IThumbnailExtractor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IThumbnailExtractor, 0x969dc708, 0x5c76, 0x11d1, 0x8d,0x86, 0x00,0x00,0xf8,0x04,0xb0,0x57); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("969dc708-5c76-11d1-8d86-0000f804b057") +IThumbnailExtractor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ExtractThumbnail( + IStorage *pStg, + ULONG ulLength, + ULONG ulHeight, + ULONG *pulOutputLength, + ULONG *pulOutputHeight, + HBITMAP *phOutputBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFileUpdated( + IStorage *pStg) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IThumbnailExtractor, 0x969dc708, 0x5c76, 0x11d1, 0x8d,0x86, 0x00,0x00,0xf8,0x04,0xb0,0x57) +#endif +#else +typedef struct IThumbnailExtractorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IThumbnailExtractor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IThumbnailExtractor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IThumbnailExtractor *This); + + /*** IThumbnailExtractor methods ***/ + HRESULT (STDMETHODCALLTYPE *ExtractThumbnail)( + IThumbnailExtractor *This, + IStorage *pStg, + ULONG ulLength, + ULONG ulHeight, + ULONG *pulOutputLength, + ULONG *pulOutputHeight, + HBITMAP *phOutputBitmap); + + HRESULT (STDMETHODCALLTYPE *OnFileUpdated)( + IThumbnailExtractor *This, + IStorage *pStg); + + END_INTERFACE +} IThumbnailExtractorVtbl; + +interface IThumbnailExtractor { + CONST_VTBL IThumbnailExtractorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IThumbnailExtractor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IThumbnailExtractor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IThumbnailExtractor_Release(This) (This)->lpVtbl->Release(This) +/*** IThumbnailExtractor methods ***/ +#define IThumbnailExtractor_ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap) (This)->lpVtbl->ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap) +#define IThumbnailExtractor_OnFileUpdated(This,pStg) (This)->lpVtbl->OnFileUpdated(This,pStg) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IThumbnailExtractor_QueryInterface(IThumbnailExtractor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IThumbnailExtractor_AddRef(IThumbnailExtractor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IThumbnailExtractor_Release(IThumbnailExtractor* This) { + return This->lpVtbl->Release(This); +} +/*** IThumbnailExtractor methods ***/ +static FORCEINLINE HRESULT IThumbnailExtractor_ExtractThumbnail(IThumbnailExtractor* This,IStorage *pStg,ULONG ulLength,ULONG ulHeight,ULONG *pulOutputLength,ULONG *pulOutputHeight,HBITMAP *phOutputBitmap) { + return This->lpVtbl->ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap); +} +static FORCEINLINE HRESULT IThumbnailExtractor_OnFileUpdated(IThumbnailExtractor* This,IStorage *pStg) { + return This->lpVtbl->OnFileUpdated(This,pStg); +} +#endif +#endif + +#endif + + +#endif /* __IThumbnailExtractor_INTERFACE_DEFINED__ */ + +typedef enum tagGLOBALOPT_PROPERTIES { + COMGLB_EXCEPTION_HANDLING = 1, + COMGLB_APPID = 2, + COMGLB_RPC_THREADPOOL_SETTING = 3 +} GLOBALOPT_PROPERTIES; +typedef enum tagGLOBALOPT_EH_VALUES { + COMGLB_EXCEPTION_HANDLE = 0, + COMGLB_EXCEPTION_DONOT_HANDLE_FATAL = 1, + COMGLB_EXCEPTION_DONOT_HANDLE = COMGLB_EXCEPTION_DONOT_HANDLE_FATAL, + COMGLB_EXCEPTION_DONOT_HANDLE_ANY = 2 +} GLOBALOPT_EH_VALUES; +typedef enum tagGLOBALOPT_RPCTP_VALUES { + COMGLB_RPC_THREADPOOL_SETTING_DEFAULT_POOL = 0, + COMGLB_RPC_THREADPOOL_SETTING_PRIVATE_POOL = 1 +} GLOBALOPT_RPCTP_VALUES; +/***************************************************************************** + * IGlobalOptions interface + */ +#ifndef __IGlobalOptions_INTERFACE_DEFINED__ +#define __IGlobalOptions_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGlobalOptions, 0x0000015b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000015b-0000-0000-c000-000000000046") +IGlobalOptions : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Set( + GLOBALOPT_PROPERTIES property, + ULONG_PTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Query( + GLOBALOPT_PROPERTIES property, + ULONG_PTR *value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGlobalOptions, 0x0000015b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IGlobalOptionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGlobalOptions *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGlobalOptions *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGlobalOptions *This); + + /*** IGlobalOptions methods ***/ + HRESULT (STDMETHODCALLTYPE *Set)( + IGlobalOptions *This, + GLOBALOPT_PROPERTIES property, + ULONG_PTR value); + + HRESULT (STDMETHODCALLTYPE *Query)( + IGlobalOptions *This, + GLOBALOPT_PROPERTIES property, + ULONG_PTR *value); + + END_INTERFACE +} IGlobalOptionsVtbl; + +interface IGlobalOptions { + CONST_VTBL IGlobalOptionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGlobalOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGlobalOptions_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGlobalOptions_Release(This) (This)->lpVtbl->Release(This) +/*** IGlobalOptions methods ***/ +#define IGlobalOptions_Set(This,property,value) (This)->lpVtbl->Set(This,property,value) +#define IGlobalOptions_Query(This,property,value) (This)->lpVtbl->Query(This,property,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGlobalOptions_QueryInterface(IGlobalOptions* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGlobalOptions_AddRef(IGlobalOptions* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGlobalOptions_Release(IGlobalOptions* This) { + return This->lpVtbl->Release(This); +} +/*** IGlobalOptions methods ***/ +static FORCEINLINE HRESULT IGlobalOptions_Set(IGlobalOptions* This,GLOBALOPT_PROPERTIES property,ULONG_PTR value) { + return This->lpVtbl->Set(This,property,value); +} +static FORCEINLINE HRESULT IGlobalOptions_Query(IGlobalOptions* This,GLOBALOPT_PROPERTIES property,ULONG_PTR *value) { + return This->lpVtbl->Query(This,property,value); +} +#endif +#endif + +#endif + + +#endif /* __IGlobalOptions_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDummyHICONIncluder interface + */ +#ifndef __IDummyHICONIncluder_INTERFACE_DEFINED__ +#define __IDummyHICONIncluder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDummyHICONIncluder, 0x947990de, 0xcc28, 0x11d2, 0xa0,0xf7, 0x00,0x80,0x5f,0x85,0x8f,0xb1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("947990de-cc28-11d2-a0f7-00805f858fb1") +IDummyHICONIncluder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Dummy( + HICON hIcon, + HDC hdc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDummyHICONIncluder, 0x947990de, 0xcc28, 0x11d2, 0xa0,0xf7, 0x00,0x80,0x5f,0x85,0x8f,0xb1) +#endif +#else +typedef struct IDummyHICONIncluderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDummyHICONIncluder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDummyHICONIncluder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDummyHICONIncluder *This); + + /*** IDummyHICONIncluder methods ***/ + HRESULT (STDMETHODCALLTYPE *Dummy)( + IDummyHICONIncluder *This, + HICON hIcon, + HDC hdc); + + END_INTERFACE +} IDummyHICONIncluderVtbl; + +interface IDummyHICONIncluder { + CONST_VTBL IDummyHICONIncluderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDummyHICONIncluder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDummyHICONIncluder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDummyHICONIncluder_Release(This) (This)->lpVtbl->Release(This) +/*** IDummyHICONIncluder methods ***/ +#define IDummyHICONIncluder_Dummy(This,hIcon,hdc) (This)->lpVtbl->Dummy(This,hIcon,hdc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDummyHICONIncluder_QueryInterface(IDummyHICONIncluder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDummyHICONIncluder_AddRef(IDummyHICONIncluder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDummyHICONIncluder_Release(IDummyHICONIncluder* This) { + return This->lpVtbl->Release(This); +} +/*** IDummyHICONIncluder methods ***/ +static FORCEINLINE HRESULT IDummyHICONIncluder_Dummy(IDummyHICONIncluder* This,HICON hIcon,HDC hdc) { + return This->lpVtbl->Dummy(This,hIcon,hdc); +} +#endif +#endif + +#endif + + +#endif /* __IDummyHICONIncluder_INTERFACE_DEFINED__ */ + +#ifdef USE_COM_CONTEXT_DEF +typedef DWORD CPFLAGS; +typedef struct tagContextProperty { + GUID policyId; + CPFLAGS flags; + IUnknown *pUnk; +} ContextProperty; +/***************************************************************************** + * IEnumContextProps interface + */ +#ifndef __IEnumContextProps_INTERFACE_DEFINED__ +#define __IEnumContextProps_INTERFACE_DEFINED__ + +typedef IEnumContextProps *LPENUMCONTEXTPROPS; +DEFINE_GUID(IID_IEnumContextProps, 0x000001c1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000001c1-0000-0000-c000-000000000046") +IEnumContextProps : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ContextProperty *pContextProperties, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumContextProps **ppEnumContextProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE Count( + ULONG *pcelt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumContextProps, 0x000001c1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumContextPropsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumContextProps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumContextProps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumContextProps *This); + + /*** IEnumContextProps methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumContextProps *This, + ULONG celt, + ContextProperty *pContextProperties, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumContextProps *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumContextProps *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumContextProps *This, + IEnumContextProps **ppEnumContextProps); + + HRESULT (STDMETHODCALLTYPE *Count)( + IEnumContextProps *This, + ULONG *pcelt); + + END_INTERFACE +} IEnumContextPropsVtbl; + +interface IEnumContextProps { + CONST_VTBL IEnumContextPropsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumContextProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumContextProps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumContextProps_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumContextProps methods ***/ +#define IEnumContextProps_Next(This,celt,pContextProperties,pceltFetched) (This)->lpVtbl->Next(This,celt,pContextProperties,pceltFetched) +#define IEnumContextProps_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumContextProps_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumContextProps_Clone(This,ppEnumContextProps) (This)->lpVtbl->Clone(This,ppEnumContextProps) +#define IEnumContextProps_Count(This,pcelt) (This)->lpVtbl->Count(This,pcelt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumContextProps_QueryInterface(IEnumContextProps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumContextProps_AddRef(IEnumContextProps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumContextProps_Release(IEnumContextProps* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumContextProps methods ***/ +static FORCEINLINE HRESULT IEnumContextProps_Next(IEnumContextProps* This,ULONG celt,ContextProperty *pContextProperties,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,pContextProperties,pceltFetched); +} +static FORCEINLINE HRESULT IEnumContextProps_Skip(IEnumContextProps* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumContextProps_Reset(IEnumContextProps* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumContextProps_Clone(IEnumContextProps* This,IEnumContextProps **ppEnumContextProps) { + return This->lpVtbl->Clone(This,ppEnumContextProps); +} +static FORCEINLINE HRESULT IEnumContextProps_Count(IEnumContextProps* This,ULONG *pcelt) { + return This->lpVtbl->Count(This,pcelt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumContextProps_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContext interface + */ +#ifndef __IContext_INTERFACE_DEFINED__ +#define __IContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IContext, 0x000001c0, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000001c0-0000-0000-c000-000000000046") +IContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetProperty( + REFGUID policyId, + CPFLAGS flags, + IUnknown *pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveProperty( + REFGUID policyId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + REFGUID guid, + CPFLAGS *pFlags, + IUnknown **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumContextProps( + IEnumContextProps **ppEnumContextProps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContext, 0x000001c0, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContext *This); + + /*** IContext methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IContext *This, + REFGUID policyId, + CPFLAGS flags, + IUnknown *pUnk); + + HRESULT (STDMETHODCALLTYPE *RemoveProperty)( + IContext *This, + REFGUID policyId); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IContext *This, + REFGUID guid, + CPFLAGS *pFlags, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *EnumContextProps)( + IContext *This, + IEnumContextProps **ppEnumContextProps); + + END_INTERFACE +} IContextVtbl; + +interface IContext { + CONST_VTBL IContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContext_Release(This) (This)->lpVtbl->Release(This) +/*** IContext methods ***/ +#define IContext_SetProperty(This,policyId,flags,pUnk) (This)->lpVtbl->SetProperty(This,policyId,flags,pUnk) +#define IContext_RemoveProperty(This,policyId) (This)->lpVtbl->RemoveProperty(This,policyId) +#define IContext_GetProperty(This,guid,pFlags,ppUnk) (This)->lpVtbl->GetProperty(This,guid,pFlags,ppUnk) +#define IContext_EnumContextProps(This,ppEnumContextProps) (This)->lpVtbl->EnumContextProps(This,ppEnumContextProps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContext_QueryInterface(IContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContext_AddRef(IContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContext_Release(IContext* This) { + return This->lpVtbl->Release(This); +} +/*** IContext methods ***/ +static FORCEINLINE HRESULT IContext_SetProperty(IContext* This,REFGUID policyId,CPFLAGS flags,IUnknown *pUnk) { + return This->lpVtbl->SetProperty(This,policyId,flags,pUnk); +} +static FORCEINLINE HRESULT IContext_RemoveProperty(IContext* This,REFGUID policyId) { + return This->lpVtbl->RemoveProperty(This,policyId); +} +static FORCEINLINE HRESULT IContext_GetProperty(IContext* This,REFGUID guid,CPFLAGS *pFlags,IUnknown **ppUnk) { + return This->lpVtbl->GetProperty(This,guid,pFlags,ppUnk); +} +static FORCEINLINE HRESULT IContext_EnumContextProps(IContext* This,IEnumContextProps **ppEnumContextProps) { + return This->lpVtbl->EnumContextProps(This,ppEnumContextProps); +} +#endif +#endif + +#endif + + +#endif /* __IContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IObjContext interface + */ +#ifndef __IObjContext_INTERFACE_DEFINED__ +#define __IObjContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IObjContext, 0x000001c6, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000001c6-0000-0000-c000-000000000046") +IObjContext : public IContext +{ + virtual void STDMETHODCALLTYPE Reserved1( + ) = 0; + + virtual void STDMETHODCALLTYPE Reserved2( + ) = 0; + + virtual void STDMETHODCALLTYPE Reserved3( + ) = 0; + + virtual void STDMETHODCALLTYPE Reserved4( + ) = 0; + + virtual void STDMETHODCALLTYPE Reserved5( + ) = 0; + + virtual void STDMETHODCALLTYPE Reserved6( + ) = 0; + + virtual void STDMETHODCALLTYPE Reserved7( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjContext, 0x000001c6, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IObjContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjContext *This); + + /*** IContext methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IObjContext *This, + REFGUID policyId, + CPFLAGS flags, + IUnknown *pUnk); + + HRESULT (STDMETHODCALLTYPE *RemoveProperty)( + IObjContext *This, + REFGUID policyId); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IObjContext *This, + REFGUID guid, + CPFLAGS *pFlags, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *EnumContextProps)( + IObjContext *This, + IEnumContextProps **ppEnumContextProps); + + /*** IObjContext methods ***/ + void (STDMETHODCALLTYPE *Reserved1)( + IObjContext *This); + + void (STDMETHODCALLTYPE *Reserved2)( + IObjContext *This); + + void (STDMETHODCALLTYPE *Reserved3)( + IObjContext *This); + + void (STDMETHODCALLTYPE *Reserved4)( + IObjContext *This); + + void (STDMETHODCALLTYPE *Reserved5)( + IObjContext *This); + + void (STDMETHODCALLTYPE *Reserved6)( + IObjContext *This); + + void (STDMETHODCALLTYPE *Reserved7)( + IObjContext *This); + + END_INTERFACE +} IObjContextVtbl; + +interface IObjContext { + CONST_VTBL IObjContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjContext_Release(This) (This)->lpVtbl->Release(This) +/*** IContext methods ***/ +#define IObjContext_SetProperty(This,policyId,flags,pUnk) (This)->lpVtbl->SetProperty(This,policyId,flags,pUnk) +#define IObjContext_RemoveProperty(This,policyId) (This)->lpVtbl->RemoveProperty(This,policyId) +#define IObjContext_GetProperty(This,guid,pFlags,ppUnk) (This)->lpVtbl->GetProperty(This,guid,pFlags,ppUnk) +#define IObjContext_EnumContextProps(This,ppEnumContextProps) (This)->lpVtbl->EnumContextProps(This,ppEnumContextProps) +/*** IObjContext methods ***/ +#define IObjContext_Reserved1(This) (This)->lpVtbl->Reserved1(This) +#define IObjContext_Reserved2(This) (This)->lpVtbl->Reserved2(This) +#define IObjContext_Reserved3(This) (This)->lpVtbl->Reserved3(This) +#define IObjContext_Reserved4(This) (This)->lpVtbl->Reserved4(This) +#define IObjContext_Reserved5(This) (This)->lpVtbl->Reserved5(This) +#define IObjContext_Reserved6(This) (This)->lpVtbl->Reserved6(This) +#define IObjContext_Reserved7(This) (This)->lpVtbl->Reserved7(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjContext_QueryInterface(IObjContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjContext_AddRef(IObjContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjContext_Release(IObjContext* This) { + return This->lpVtbl->Release(This); +} +/*** IContext methods ***/ +static FORCEINLINE HRESULT IObjContext_SetProperty(IObjContext* This,REFGUID policyId,CPFLAGS flags,IUnknown *pUnk) { + return This->lpVtbl->SetProperty(This,policyId,flags,pUnk); +} +static FORCEINLINE HRESULT IObjContext_RemoveProperty(IObjContext* This,REFGUID policyId) { + return This->lpVtbl->RemoveProperty(This,policyId); +} +static FORCEINLINE HRESULT IObjContext_GetProperty(IObjContext* This,REFGUID guid,CPFLAGS *pFlags,IUnknown **ppUnk) { + return This->lpVtbl->GetProperty(This,guid,pFlags,ppUnk); +} +static FORCEINLINE HRESULT IObjContext_EnumContextProps(IObjContext* This,IEnumContextProps **ppEnumContextProps) { + return This->lpVtbl->EnumContextProps(This,ppEnumContextProps); +} +/*** IObjContext methods ***/ +static FORCEINLINE void IObjContext_Reserved1(IObjContext* This) { + This->lpVtbl->Reserved1(This); +} +static FORCEINLINE void IObjContext_Reserved2(IObjContext* This) { + This->lpVtbl->Reserved2(This); +} +static FORCEINLINE void IObjContext_Reserved3(IObjContext* This) { + This->lpVtbl->Reserved3(This); +} +static FORCEINLINE void IObjContext_Reserved4(IObjContext* This) { + This->lpVtbl->Reserved4(This); +} +static FORCEINLINE void IObjContext_Reserved5(IObjContext* This) { + This->lpVtbl->Reserved5(This); +} +static FORCEINLINE void IObjContext_Reserved6(IObjContext* This) { + This->lpVtbl->Reserved6(This); +} +static FORCEINLINE void IObjContext_Reserved7(IObjContext* This) { + This->lpVtbl->Reserved7(This); +} +#endif +#endif + +#endif + + +#endif /* __IObjContext_INTERFACE_DEFINED__ */ + +#endif /* defined USE_COM_CONTEXT_DEF */ +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER SNB_UserSize (ULONG *, ULONG, SNB *); +unsigned char * __RPC_USER SNB_UserMarshal (ULONG *, unsigned char *, SNB *); +unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *); +void __RPC_USER SNB_UserFree (ULONG *, SNB *); +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); +ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *); +void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *); +ULONG __RPC_USER ASYNC_STGMEDIUM_UserSize (ULONG *, ULONG, ASYNC_STGMEDIUM *); +unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal (ULONG *, unsigned char *, ASYNC_STGMEDIUM *); +unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *); +void __RPC_USER ASYNC_STGMEDIUM_UserFree (ULONG *, ASYNC_STGMEDIUM *); +ULONG __RPC_USER FLAG_STGMEDIUM_UserSize (ULONG *, ULONG, FLAG_STGMEDIUM *); +unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal (ULONG *, unsigned char *, FLAG_STGMEDIUM *); +unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *); +void __RPC_USER FLAG_STGMEDIUM_UserFree (ULONG *, FLAG_STGMEDIUM *); +ULONG __RPC_USER HBITMAP_UserSize (ULONG *, ULONG, HBITMAP *); +unsigned char * __RPC_USER HBITMAP_UserMarshal (ULONG *, unsigned char *, HBITMAP *); +unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *); +void __RPC_USER HBITMAP_UserFree (ULONG *, HBITMAP *); +ULONG __RPC_USER HICON_UserSize (ULONG *, ULONG, HICON *); +unsigned char * __RPC_USER HICON_UserMarshal (ULONG *, unsigned char *, HICON *); +unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *); +void __RPC_USER HICON_UserFree (ULONG *, HICON *); +ULONG __RPC_USER HDC_UserSize (ULONG *, ULONG, HDC *); +unsigned char * __RPC_USER HDC_UserMarshal (ULONG *, unsigned char *, HDC *); +unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *); +void __RPC_USER HDC_UserFree (ULONG *, HDC *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __objidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objidl.idl new file mode 100644 index 0000000..168e533 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objidl.idl @@ -0,0 +1,2541 @@ +/* + * Copyright 2002 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +#endif + +interface IStream; +interface IEnumString; +interface IRunningObjectTable; +interface IMoniker; +interface IAdviseSink; +interface IAsyncManager; +interface ISynchronize; + +typedef struct _COSERVERINFO { + DWORD dwReserved1; + LPWSTR pwszName; + COAUTHINFO *pAuthInfo; + DWORD dwReserved2; +} COSERVERINFO; + +/******************** Fundamentals ********************/ + +[ + local, + object, + uuid(00000003-0000-0000-C000-000000000046) +] +interface IMarshal : IUnknown +{ + typedef [unique] IMarshal *LPMARSHAL; + + HRESULT GetUnmarshalClass( + [in] REFIID riid, + [in, unique] void *pv, + [in] DWORD dwDestContext, + [in, unique] void *pvDestContext, + [in] DWORD mshlflags, + [out] CLSID *pCid); + + HRESULT GetMarshalSizeMax( + [in] REFIID riid, + [in, unique] void *pv, + [in] DWORD dwDestContext, + [in, unique] void *pvDestContext, + [in] DWORD mshlflags, + [out] DWORD *pSize); + + HRESULT MarshalInterface( + [in, unique] IStream *pStm, + [in] REFIID riid, + [in, unique] void *pv, + [in] DWORD dwDestContext, + [in, unique] void *pvDestContext, + [in] DWORD mshlflags); + + HRESULT UnmarshalInterface( + [in, unique] IStream *pStm, + [in] REFIID riid, + [out] void **ppv); + + HRESULT ReleaseMarshalData( + [in, unique] IStream *pStm); + + HRESULT DisconnectObject( + [in] DWORD dwReserved); +} + +[ + local, + object, + uuid(000001cf-0000-0000-C000-000000000046) +] +interface IMarshal2 : IMarshal +{ + typedef [unique] IMarshal2 *LPMARSHAL2; +} + +[ + local, + object, + uuid(00000018-0000-0000-C000-000000000046) +] +interface IStdMarshalInfo : IUnknown +{ + typedef [unique] IStdMarshalInfo *LPSTDMARSHALINFO; + + HRESULT GetClassForHandler( + [in] DWORD dwDestContext, + [in, unique] void *pvDestContext, + [out] CLSID *pClsid); +} + +[ + local, + object, + uuid(00000019-0000-0000-C000-000000000046) +] +interface IExternalConnection : IUnknown +{ + typedef [unique] IExternalConnection *LPEXTERNALCONNECTION; + + typedef enum tagEXTCONN { + EXTCONN_STRONG = 0x0001, + EXTCONN_WEAK = 0x0002, + EXTCONN_CALLABLE = 0x0004 + } EXTCONN; + + DWORD AddConnection( + [in] DWORD extconn, + [in] DWORD reserved); + + DWORD ReleaseConnection( + [in] DWORD extconn, + [in] DWORD reserved, + [in] BOOL fLastReleaseCloses); +} + +[ + local, + object, + uuid(00000020-0000-0000-C000-000000000046) +] +interface IMultiQI : IUnknown +{ + typedef [unique] IMultiQI *LPMULTIQI; + + typedef struct tagMULTI_QI { + const IID *pIID; + IUnknown *pItf; + HRESULT hr; + } MULTI_QI; + + HRESULT QueryMultipleInterfaces( + [in] ULONG cMQIs, + [in, out] MULTI_QI *pMQIs); +} + +[ + local, + object, + uuid(00000002-0000-0000-C000-000000000046) +] +interface IMalloc : IUnknown +{ + typedef [unique] IMalloc *LPMALLOC; + + LPVOID Alloc( + [in] SIZE_T cb); + + LPVOID Realloc( + [in] LPVOID pv, + [in] SIZE_T cb); + + void Free( + [in] LPVOID pv); + + SIZE_T GetSize( + [in] LPVOID pv); + + int DidAlloc(LPVOID pv); + + void HeapMinimize(); +} + +[ + local, + object, + uuid(0000001d-0000-0000-C000-000000000046) +] +interface IMallocSpy : IUnknown +{ + typedef [unique] IMallocSpy *LPMALLOCSPY; + + SIZE_T PreAlloc( + [in] SIZE_T cbRequest); + + LPVOID PostAlloc( + [in] LPVOID pActual); + + LPVOID PreFree( + [in] LPVOID pRequest, + [in] BOOL fSpyed); + + void PostFree( + [in] BOOL fSpyed); + + SIZE_T PreRealloc( + [in] LPVOID pRequest, + [in] SIZE_T cbRequest, + [out] LPVOID *ppNewRequest, + [in] BOOL fSpyed); + + LPVOID PostRealloc( + [in] LPVOID pActual, + [in] BOOL fSpyed); + + LPVOID PreGetSize( + [in] LPVOID pRequest, + [in] BOOL fSpyed); + + SIZE_T PostGetSize( + [in] SIZE_T cbActual, + [in] BOOL fSpyed); + + LPVOID PreDidAlloc( + [in] LPVOID pRequest, + [in] BOOL fSpyed); + + int PostDidAlloc( + [in] LPVOID pRequest, + [in] BOOL fSpyed, + [in] int fActual); + + void PreHeapMinimize(); + + void PostHeapMinimize(); +} + +[ + local, + object, + uuid(00000021-0000-0000-C000-000000000046) +] +interface IInternalUnknown : IUnknown +{ + HRESULT QueryInternalInterface( + [in] REFIID riid, + [out] void **ppv); +} + +[ + object, + uuid(00000100-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumUnknown : IUnknown +{ + typedef [unique] IEnumUnknown *LPENUMUNKNOWN; + + [local] + HRESULT Next( + [in] ULONG celt, + [out] IUnknown **rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + IUnknown **rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumUnknown **ppenum); +} + +[ + object, + uuid(00000022-0000-0000-C000-000000000046), + version(1.0), + pointer_default(unique) +] +interface ISurrogate : IUnknown +{ + typedef [unique] ISurrogate *LPSURROGATE; + + HRESULT LoadDllServer( + [in] REFCLSID Clsid); + HRESULT FreeSurrogate(); +} + +[ + local, + object, + uuid(00000146-0000-0000-C000-000000000046) +] +interface IGlobalInterfaceTable : IUnknown +{ + typedef [unique] IGlobalInterfaceTable *LPGLOBALINTERFACETABLE; + + HRESULT RegisterInterfaceInGlobal( + [in] IUnknown *pUnk, + [in] REFIID riid, + [out] DWORD *pdwCookie); + + HRESULT RevokeInterfaceFromGlobal( + [in] DWORD dwCookie); + + HRESULT GetInterfaceFromGlobal( + [in] DWORD dwCookie, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); +} + +/******************** Monikers ********************/ + +[ + object, + uuid(0000000e-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IBindCtx : IUnknown +{ + typedef [unique] IBindCtx *LPBINDCTX; + typedef [unique] IBindCtx *LPBC; + + typedef struct tagBIND_OPTS { + DWORD cbStruct; + DWORD grfFlags; + DWORD grfMode; + DWORD dwTickCountDeadline; + } BIND_OPTS, *LPBIND_OPTS; + + /* FIXME: C++ crap */ + typedef struct tagBIND_OPTS2 { + DWORD cbStruct; + DWORD grfFlags; + DWORD grfMode; + DWORD dwTickCountDeadline; + DWORD dwTrackFlags; + DWORD dwClassContext; + LCID locale; + COSERVERINFO *pServerInfo; + } BIND_OPTS2, *LPBIND_OPTS2; + + typedef struct tagBIND_OPTS3 { + DWORD cbStruct; + DWORD grfFlags; + DWORD grfMode; + DWORD dwTickCountDeadline; + DWORD dwTrackFlags; + DWORD dwClassContext; + LCID locale; + COSERVERINFO *pServerInfo; + HWND hwnd; + } BIND_OPTS3, *LPBIND_OPTS3; + + typedef enum tagBIND_FLAGS { + BIND_MAYBOTHERUSER = 1, + BIND_JUSTTESTEXISTENCE = 2 + } BIND_FLAGS; + + HRESULT RegisterObjectBound( + [in, unique] IUnknown *punk); + + HRESULT RevokeObjectBound( + [in, unique] IUnknown *punk); + + HRESULT ReleaseBoundObjects(); + + [local] + HRESULT SetBindOptions( + [in] BIND_OPTS *pbindopts); + + [call_as(SetBindOptions)] + HRESULT RemoteSetBindOptions( + [in] BIND_OPTS2 *pbindopts); + + [local] + HRESULT GetBindOptions( + [in, out] BIND_OPTS *pbindopts); + + [call_as(GetBindOptions)] + HRESULT RemoteGetBindOptions( + [in, out] BIND_OPTS2 *pbindopts); + + HRESULT GetRunningObjectTable( + [out] IRunningObjectTable **pprot); + + HRESULT RegisterObjectParam( + [in] LPOLESTR pszKey, + [in, unique] IUnknown *punk); + + HRESULT GetObjectParam( + [in] LPOLESTR pszKey, + [out] IUnknown **ppunk); + + HRESULT EnumObjectParam( + [out] IEnumString **ppenum); + + HRESULT RevokeObjectParam( + [in] LPOLESTR pszKey); +} + +[ + object, + uuid(00000102-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumMoniker : IUnknown +{ + typedef [unique] IEnumMoniker *LPENUMMONIKER; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + IMoniker **rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + IMoniker **rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumMoniker **ppenum); +} + +[ + object, + uuid(00000126-0000-0000-C000-000000000046) +] +interface IRunnableObject : IUnknown +{ + typedef [unique] IRunnableObject *LPRUNNABLEOBJECT; + + HRESULT GetRunningClass( + [out] LPCLSID lpClsid); + + HRESULT Run( + [in] LPBINDCTX pbc); + + [local] + BOOL IsRunning(); + + [call_as(IsRunning)] + HRESULT RemoteIsRunning(); + + HRESULT LockRunning( + [in] BOOL fLock, + [in] BOOL fLastUnlockCloses); + + HRESULT SetContainedObject( + [in] BOOL fContained); +} + +/* GetObject is defined in wingdi.h as WINELIB_NAME_AW(GetObject), + * which resolves to a compilation failure if WINE_NO_UNICODE_MACROS is defined, + * but GetObject is used as a valid method name below, so we have + * to undefine it in that case */ +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetObject") +cpp_quote("#endif") + +[ + object, + uuid(00000010-0000-0000-C000-000000000046) +] +interface IRunningObjectTable : IUnknown +{ + typedef [unique] IRunningObjectTable *LPRUNNINGOBJECTTABLE; + + HRESULT Register( + [in] DWORD grfFlags, + [in, unique] IUnknown *punkObject, + [in, unique] IMoniker *pmkObjectName, + [out] DWORD *pdwRegister); + + HRESULT Revoke( + [in] DWORD dwRegister); + + HRESULT IsRunning( + [in, unique] IMoniker *pmkObjectName); + + HRESULT GetObject( + [in, unique] IMoniker *pmkObjectName, + [out] IUnknown **ppunkObject); + + HRESULT NoteChangeTime( + [in] DWORD dwRegister, + [in] FILETIME *pfiletime); + + HRESULT GetTimeOfLastChange( + [in, unique] IMoniker *pmkObjectName, + [out] FILETIME *pfiletime); + + HRESULT EnumRunning( + [out] IEnumMoniker **ppenumMoniker); +} + +[ + object, + uuid(0000010c-0000-0000-C000-000000000046) +] +interface IPersist : IUnknown +{ + typedef [unique] IPersist *LPPERSIST; + + HRESULT GetClassID( + [out] CLSID *pClassID); +} + +[ + object, + uuid(00000109-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IPersistStream : IPersist +{ + typedef [unique] IPersistStream *LPPERSISTSTREAM; + + HRESULT IsDirty(); + + HRESULT Load( + [in, unique] IStream *pStm); + + HRESULT Save( + [in, unique] IStream *pStm, + [in] BOOL fClearDirty); + + HRESULT GetSizeMax( + [out] ULARGE_INTEGER *pcbSize); +} + +[ + object, + uuid(0000000f-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IMoniker : IPersistStream +{ + typedef [unique] IMoniker *LPMONIKER; + + typedef enum tagMKSYS { + MKSYS_NONE = 0, + MKSYS_GENERICCOMPOSITE = 1, + MKSYS_FILEMONIKER = 2, + MKSYS_ANTIMONIKER = 3, + MKSYS_ITEMMONIKER = 4, + MKSYS_POINTERMONIKER = 5, + /* MKSYS_URLMONIKER = 6, */ /* defined in urlmon.idl */ + MKSYS_CLASSMONIKER = 7 + } MKSYS; + + typedef [v1_enum] enum tagMKREDUCE { + MKRREDUCE_ONE = 3 << 16, + MKRREDUCE_TOUSER = 2 << 16, + MKRREDUCE_THROUGHUSER = 1 << 16, + MKRREDUCE_ALL = 0 + } MKRREDUCE; + + [local] + HRESULT BindToObject( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [in] REFIID riidResult, + [out, iid_is(riidResult)] void **ppvResult); + + [call_as(BindToObject)] + HRESULT RemoteBindToObject( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [in] REFIID riidResult, + [out, iid_is(riidResult)] IUnknown **ppvResult); + + [local] + HRESULT BindToStorage( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObj); + + [call_as(BindToStorage)] + HRESULT RemoteBindToStorage( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppvObj); + + HRESULT Reduce( + [in, unique] IBindCtx *pbc, + [in] DWORD dwReduceHowFar, + [in, out, unique] IMoniker **ppmkToLeft, + [out] IMoniker **ppmkReduced); + + HRESULT ComposeWith( + [in, unique] IMoniker *pmkRight, + [in] BOOL fOnlyIfNotGeneric, + [out] IMoniker **ppmkComposite); + + HRESULT Enum( + [in] BOOL fForward, + [out] IEnumMoniker **ppenumMoniker); + + HRESULT IsEqual( + [in, unique] IMoniker *pmkOtherMoniker); + + HRESULT Hash( + [out] DWORD *pdwHash); + + HRESULT IsRunning( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [in, unique] IMoniker *pmkNewlyRunning); + + HRESULT GetTimeOfLastChange( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [out] FILETIME *pFileTime); + + HRESULT Inverse( + [out] IMoniker **ppmk); + + HRESULT CommonPrefixWith( + [in, unique] IMoniker *pmkOther, + [out] IMoniker **ppmkPrefix); + + HRESULT RelativePathTo( + [in, unique] IMoniker *pmkOther, + [out] IMoniker **ppmkRelPath); + + HRESULT GetDisplayName( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [out] LPOLESTR *ppszDisplayName); + + HRESULT ParseDisplayName( + [in, unique] IBindCtx *pbc, + [in, unique] IMoniker *pmkToLeft, + [in] LPOLESTR pszDisplayName, + [out] ULONG *pchEaten, + [out] IMoniker **ppmkOut); + + HRESULT IsSystemMoniker( + [out] DWORD *pdwMksys); +} + +[ + object, + uuid(f29f6bc0-5021-11ce-aa15-00006901293f), + pointer_default(unique) +] +interface IROTData : IUnknown +{ + HRESULT GetComparisonData( + [out, size_is(cbMax)] byte *pbData, + [in] ULONG cbMax, + [out] ULONG *pcbData); +} + +[ + object, + uuid(00000101-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumString : IUnknown +{ + typedef [unique] IEnumString *LPENUMSTRING; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + LPOLESTR *rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + LPOLESTR *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumString **ppenum); +} + +[ + object, + uuid(00000140-0000-0000-C000-000000000046) +] +interface IClassActivator : IUnknown +{ + HRESULT GetClassObject( + [in] REFCLSID rclsid, + [in] DWORD dwClassContext, + [in] LCID locale, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); +} + +/******************** Storage ********************/ + +[ + object, + uuid(0c733a30-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ISequentialStream : IUnknown +{ + [local] + HRESULT Read( + [out, size_is(cb), length_is(*pcbRead)] + void *pv, + [in] ULONG cb, + [out] ULONG *pcbRead); + + [call_as(Read)] + HRESULT RemoteRead( + [out, size_is(cb), length_is(*pcbRead)] + byte *pv, + [in] ULONG cb, + [out] ULONG *pcbRead); + + [local] + HRESULT Write( + [in, size_is(cb)] const void *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + [call_as(Write)] + HRESULT RemoteWrite( + [in, size_is(cb)] const byte *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); +} + +[ + object, + uuid(0000000c-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IStream : ISequentialStream +{ + typedef [unique] IStream *LPSTREAM; + + typedef struct tagSTATSTG { + LPOLESTR pwcsName; + DWORD type; + ULARGE_INTEGER cbSize; + FILETIME mtime; + FILETIME ctime; + FILETIME atime; + DWORD grfMode; + DWORD grfLocksSupported; + CLSID clsid; + DWORD grfStateBits; + DWORD reserved; + } STATSTG; + + typedef enum tagSTGTY { + STGTY_STORAGE = 1, + STGTY_STREAM = 2, + STGTY_LOCKBYTES = 3, + STGTY_PROPERTY = 4 + } STGTY; + + typedef enum tagSTREAM_SEEK { + STREAM_SEEK_SET = 0, + STREAM_SEEK_CUR = 1, + STREAM_SEEK_END = 2 + } STREAM_SEEK; + + /* these are defined in Linux's fcntl.h, + * undefine them to avoid conflicts */ + cpp_quote("#undef LOCK_MAND") + cpp_quote("#undef LOCK_READ") + cpp_quote("#undef LOCK_WRITE") + cpp_quote("#undef LOCK_RW") + + typedef enum tagLOCKTYPE { + LOCK_WRITE = 1, + LOCK_EXCLUSIVE = 2, + LOCK_ONLYONCE = 4 + } LOCKTYPE; + + [local] + HRESULT Seek( + [in] LARGE_INTEGER dlibMove, + [in] DWORD dwOrigin, + [out] ULARGE_INTEGER *plibNewPosition); + + [call_as(Seek)] + HRESULT RemoteSeek( + [in] LARGE_INTEGER dlibMove, + [in] DWORD dwOrigin, + [out] ULARGE_INTEGER *plibNewPosition); + + HRESULT SetSize( + [in] ULARGE_INTEGER libNewSize); + + [local] + HRESULT CopyTo( + [in, unique] IStream *pstm, + [in] ULARGE_INTEGER cb, + [out] ULARGE_INTEGER *pcbRead, + [out] ULARGE_INTEGER *pcbWritten); + + [call_as(CopyTo)] + HRESULT RemoteCopyTo( + [in, unique] IStream *pstm, + [in] ULARGE_INTEGER cb, + [out] ULARGE_INTEGER *pcbRead, + [out] ULARGE_INTEGER *pcbWritten); + + HRESULT Commit( + [in] DWORD grfCommitFlags); + + HRESULT Revert(); + + HRESULT LockRegion( + [in] ULARGE_INTEGER libOffset, + [in] ULARGE_INTEGER cb, + [in] DWORD dwLockType); + + HRESULT UnlockRegion( + [in] ULARGE_INTEGER libOffset, + [in] ULARGE_INTEGER cb, + [in] DWORD dwLockType); + + HRESULT Stat( + [out] STATSTG *pstatstg, + [in] DWORD grfStatFlag); + + HRESULT Clone( + [out] IStream **ppstm); +} + +[ + object, + uuid(0000000d-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumSTATSTG : IUnknown +{ + typedef [unique] IEnumSTATSTG *LPENUMSTATSTG; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATSTG *rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATSTG *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumSTATSTG **ppenum); +} + +[ + object, + uuid(0000000b-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IStorage : IUnknown +{ + typedef [unique] IStorage *LPSTORAGE; + + typedef struct tagRemSNB { + unsigned long ulCntStr; + unsigned long ulCntChar; + [size_is(ulCntChar)] OLECHAR rgString[]; + } RemSNB; + + typedef [unique] RemSNB *wireSNB; + typedef [wire_marshal(wireSNB)] OLECHAR **SNB; + + HRESULT CreateStream( + [in] LPCOLESTR pwcsName, + [in] DWORD grfMode, + [in] DWORD reserved1, + [in] DWORD reserved2, + [out] IStream **ppstm); + + [local] + HRESULT OpenStream( + [in] LPCOLESTR pwcsName, + [in, unique] void *reserved1, + [in] DWORD grfMode, + [in] DWORD reserved2, + [out] IStream **ppstm); + + [call_as(OpenStream)] + HRESULT RemoteOpenStream( + [in] LPCOLESTR pwcsName, + [in] unsigned long cbReserved1, + [in, unique, size_is(cbReserved1)] byte *reserved1, + [in] DWORD grfMode, + [in] DWORD reserved2, + [out] IStream **ppstm); + + HRESULT CreateStorage( + [in] LPCOLESTR pwcsName, + [in] DWORD grfMode, + [in] DWORD dwStgFmt, + [in] DWORD reserved2, + [out] IStorage **ppstg); + + HRESULT OpenStorage( + [in, unique] LPCOLESTR pwcsName, + [in, unique] IStorage *pstgPriority, + [in] DWORD grfMode, + [in, unique] SNB snbExclude, + [in] DWORD reserved, + [out] IStorage **ppstg); + + HRESULT CopyTo( + [in] DWORD ciidExclude, + [in, unique, size_is(ciidExclude)] const IID *rgiidExclude, + [in, unique] SNB snbExclude, + [in, unique] IStorage *pstgDest); + + HRESULT MoveElementTo( + [in] LPCOLESTR pwcsName, + [in, unique] IStorage *pstgDest, + [in] LPCOLESTR pwcsNewName, + [in] DWORD grfFlags); + + HRESULT Commit( + [in] DWORD grfCommitFlags); + + HRESULT Revert(); + + [local] + HRESULT EnumElements( + [in] DWORD reserved1, + [in, unique, size_is(1)] void *reserved2, + [in] DWORD reserved3, + [out] IEnumSTATSTG **ppenum); + + [call_as(EnumElements)] + HRESULT RemoteEnumElements( + [in] DWORD reserved1, + [in] unsigned long cbReserved2, + [in, unique, size_is(cbReserved2)] byte *reserved2, + [in] DWORD reserved3, + [out] IEnumSTATSTG **ppenum); + + HRESULT DestroyElement( + [in] LPCOLESTR pwcsName); + + HRESULT RenameElement( + [in] LPCOLESTR pwcsOldName, + [in] LPCOLESTR pwcsNewName); + + HRESULT SetElementTimes( + [in, unique] LPCOLESTR pwcsName, + [in, unique] const FILETIME *pctime, + [in, unique] const FILETIME *patime, + [in, unique] const FILETIME *pmtime); + + HRESULT SetClass( + [in] REFCLSID clsid); + + HRESULT SetStateBits( + [in] DWORD grfStateBits, + [in] DWORD grfMask); + + HRESULT Stat( + [out] STATSTG *pstatstg, + [in] DWORD grfStatFlag); +} + +[ + object, + uuid(0000010b-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IPersistFile : IPersist +{ + typedef [unique] IPersistFile *LPPERSISTFILE; + + HRESULT IsDirty(); + + HRESULT Load( + [in] LPCOLESTR pszFileName, + [in] DWORD dwMode); + + HRESULT Save( + [in, unique] LPCOLESTR pszFileName, + [in] BOOL fRemember); + + HRESULT SaveCompleted( + [in, unique] LPCOLESTR pszFileName); + + HRESULT GetCurFile( + [out] LPOLESTR *ppszFileName); +} + +[ + object, + uuid(0000010a-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IPersistStorage : IPersist +{ + typedef [unique] IPersistStorage *LPPERSISTSTORAGE; + + HRESULT IsDirty(); + + HRESULT InitNew( + [in, unique] IStorage *pStg); + + HRESULT Load( + [in, unique] IStorage *pStg); + + HRESULT Save( + [in, unique] IStorage *pStgSave, + [in] BOOL fSameAsLoad); + + HRESULT SaveCompleted( + [in, unique] IStorage *pStgNew); + + HRESULT HandsOffStorage(); +} + +[ + object, + uuid(00000012-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IRootStorage : IUnknown +{ + typedef [unique] IRootStorage *LPROOTSTORAGE; + + HRESULT SwitchToFile( + [in] LPOLESTR pszFile); +} + +[ + object, + uuid(0000000a-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface ILockBytes : IUnknown +{ + typedef [unique] ILockBytes *LPLOCKBYTES; + + [local] + HRESULT ReadAt( + [in] ULARGE_INTEGER ulOffset, + [out, size_is(cb), length_is(*pcbRead)] + void *pv, + [in] ULONG cb, + [out] ULONG *pcbRead); + + [call_as(ReadAt)] + HRESULT RemoteReadAt( + [in] ULARGE_INTEGER ulOffset, + [out, size_is(cb), length_is(*pcbRead)] + byte *pv, + [in] ULONG cb, + [out] ULONG *pcbRead); + + [local] + HRESULT WriteAt( + [in] ULARGE_INTEGER ulOffset, + [in, size_is(cb)] const void *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + [call_as(WriteAt)] + HRESULT RemoteWriteAt( + [in] ULARGE_INTEGER ulOffset, + [in, size_is(cb)] const byte *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + HRESULT Flush(); + + HRESULT SetSize( + [in] ULARGE_INTEGER cb); + + HRESULT LockRegion( + [in] ULARGE_INTEGER libOffset, + [in] ULARGE_INTEGER cb, + [in] DWORD dwLockType); + + HRESULT UnlockRegion( + [in] ULARGE_INTEGER libOffset, + [in] ULARGE_INTEGER cb, + [in] DWORD dwLockType); + + HRESULT Stat( + [out] STATSTG *pstatstg, + [in] DWORD grfStatFlag); +} + +[ + object, + uuid(99caf010-415e-11cf-8814-00aa00b569f5), + pointer_default(unique) +] +interface IFillLockBytes : IUnknown +{ + [local] + HRESULT FillAppend( + [in, size_is(cb)] const void *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + [call_as(FillAppend)] + HRESULT RemoteFillAppend( + [in, size_is(cb)] const byte *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + [local] + HRESULT FillAt( + [in] ULARGE_INTEGER ulOffset, + [in, size_is(cb)] const void *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + [call_as(FillAt)] + HRESULT RemoteFillAt( + [in] ULARGE_INTEGER ulOffset, + [in, size_is(cb)] const byte *pv, + [in] ULONG cb, + [out] ULONG *pcbWritten); + + HRESULT SetFillSize( + [in] ULARGE_INTEGER ulSize); + + HRESULT Terminate( + [in] BOOL bCanceled); +} + +[ + object, + uuid(a9d758a0-4617-11cf-95fc-00aa00680db4), + pointer_default(unique) +] +interface IProgressNotify : IUnknown +{ + HRESULT OnProgress( + [in] DWORD dwProgressCurrent, + [in] DWORD dwProgressMaximum, + [in] BOOL fAccurate, + [in] BOOL fOwner); +} + +[ + local, + object, + uuid(0e6d4d90-6738-11cf-9608-00aa00680db4), + pointer_default(unique) +] +interface ILayoutStorage : IUnknown +{ + typedef struct tagStorageLayout { + DWORD LayoutType; + OLECHAR *pwcsElementName; + LARGE_INTEGER cOffset; + LARGE_INTEGER cBytes; + } StorageLayout; + + HRESULT LayoutScript( + [in] StorageLayout *pStorageLayout, + [in] DWORD nEntries, + [in] DWORD glfInterleavedFlag); + + HRESULT BeginMonitor(); + + HRESULT EndMonitor(); + + HRESULT ReLayoutDocfile( + [in] OLECHAR *pwcsNewDfName); + + HRESULT ReLayoutDocfileOnILockBytes( + [in] ILockBytes *pILockBytes); +} + +[ + object, + uuid(30f3d47a-6447-11d1-8e3c-00c04fb9386d) +] +interface IBlockingLock : IUnknown +{ + HRESULT Lock( + [in] DWORD dwTimeout); + + HRESULT Unlock(); +} + + +[ + object, + uuid(bc0bf6ae-8878-11d1-83e9-00c04fc2c6d4) +] +interface ITimeAndNoticeControl : IUnknown +{ + HRESULT SuppressChanges( + [in] DWORD res1, + [in] DWORD res2); + +} + + + +[ + object, + uuid(8d19c834-8879-11d1-83e9-00c04fc2c6d4) +] +interface IOplockStorage: IUnknown +{ + HRESULT CreateStorageEx( + [in] LPCWSTR pwcsName, + [in] DWORD grfMode, + [in] DWORD stgfmt, + [in] DWORD grfAttrs, + [in] REFIID riid, + [out, iid_is(riid)] void **ppstgOpen); + + HRESULT OpenStorageEx( + [in] LPCWSTR pwcsName, + [in] DWORD grfMode, + [in] DWORD stgfmt, + [in] DWORD grfAttrs, + [in] REFIID riid, + [out, iid_is(riid)] void **ppstgOpen); +} + +/******************** Data Object ********************/ + +[ + object, + uuid(00000103-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumFORMATETC : IUnknown +{ + typedef [unique] IEnumFORMATETC *LPENUMFORMATETC; + + typedef struct tagDVTARGETDEVICE { + DWORD tdSize; + WORD tdDriverNameOffset; + WORD tdDeviceNameOffset; + WORD tdPortNameOffset; + WORD tdExtDevmodeOffset; + [size_is(tdSize - sizeof(DWORD) - 4*sizeof(WORD))] + BYTE tdData[]; + } DVTARGETDEVICE; + + typedef CLIPFORMAT *LPCLIPFORMAT; + + typedef struct tagFORMATETC { + CLIPFORMAT cfFormat; + [unique] DVTARGETDEVICE *ptd; + DWORD dwAspect; + LONG lindex; + DWORD tymed; + } FORMATETC, *LPFORMATETC; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + FORMATETC *rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + FORMATETC *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumFORMATETC **ppenum); +} + +[ + object, + uuid(00000105-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumSTATDATA : IUnknown +{ + typedef [unique] IEnumSTATDATA *LPENUMSTATDATA; + + typedef enum tagADVF { + ADVF_NODATA = 1, + ADVF_PRIMEFIRST = 2, + ADVF_ONLYONCE = 4, + ADVF_DATAONSTOP = 64, + ADVFCACHE_NOHANDLER = 8, + ADVFCACHE_FORCEBUILTIN = 16, + ADVFCACHE_ONSAVE = 32 + } ADVF; + + typedef struct tagSTATDATA + { + FORMATETC formatetc; + DWORD advf; + [unique] IAdviseSink *pAdvSink; + DWORD dwConnection; + } STATDATA, *LPSTATDATA; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATDATA *rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATDATA *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumSTATDATA **ppenum); +} + +[ + object, + uuid(0000010f-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IAdviseSink : IUnknown +{ + typedef IAdviseSink *LPADVISESINK; + + typedef [v1_enum] enum tagTYMED { + TYMED_HGLOBAL = 1, + TYMED_FILE = 2, + TYMED_ISTREAM = 4, + TYMED_ISTORAGE = 8, + TYMED_GDI = 16, + TYMED_MFPICT = 32, + TYMED_ENHMF = 64, + TYMED_NULL = 0 + } TYMED; + + typedef struct tagRemSTGMEDIUM { + DWORD tymed; + DWORD dwHandleType; + unsigned long pData; + unsigned long pUnkForRelease; + unsigned long cbData; + [size_is(cbData)] byte data[]; + } RemSTGMEDIUM; + + typedef struct tagSTGMEDIUM { + DWORD tymed; + [switch_is(tymed)] union { + [case(TYMED_GDI)] HBITMAP hBitmap; + [case(TYMED_MFPICT)] HMETAFILEPICT hMetaFilePict; + [case(TYMED_ENHMF)] HENHMETAFILE hEnhMetaFile; + [case(TYMED_HGLOBAL)] HGLOBAL hGlobal; + [case(TYMED_FILE)] LPOLESTR lpszFileName; + [case(TYMED_ISTREAM)] IStream *pstm; + [case(TYMED_ISTORAGE)] IStorage *pstg; + [default] ; + } DUMMYUNIONNAME; + [unique] IUnknown *pUnkForRelease; + } uSTGMEDIUM; + +/* copied from wingdi.h */ +#define OBJ_PEN 1 +#define OBJ_BRUSH 2 +#define OBJ_DC 3 +#define OBJ_METADC 4 +#define OBJ_PAL 5 +#define OBJ_FONT 6 +#define OBJ_BITMAP 7 +#define OBJ_REGION 8 +#define OBJ_METAFILE 9 +#define OBJ_MEMDC 10 +#define OBJ_EXTPEN 11 +#define OBJ_ENHMETADC 12 +#define OBJ_ENHMETAFILE 13 + + typedef union _GDI_OBJECT switch(DWORD ObjectType) u { + case OBJ_BITMAP: wireHBITMAP hBitmap; + case OBJ_PAL: wireHPALETTE hPalette; + default: wireHGLOBAL hGeneric; + } GDI_OBJECT; + + typedef struct _userSTGMEDIUM { + union switch(DWORD tymed) u { + case TYMED_NULL: ; + case TYMED_MFPICT: wireHMETAFILEPICT hMetaFilePict; + case TYMED_ENHMF: wireHENHMETAFILE hHEnhMetaFile; + case TYMED_GDI: GDI_OBJECT *hGdiHandle; + case TYMED_HGLOBAL: wireHGLOBAL hGlobal; + case TYMED_FILE: LPOLESTR lpszFileName; + case TYMED_ISTREAM: BYTE_BLOB *pstm; + case TYMED_ISTORAGE: BYTE_BLOB *pstg; + } DUMMYUNIONNAME; + IUnknown *pUnkForRelease; + } userSTGMEDIUM; + + typedef [unique] userSTGMEDIUM *wireSTGMEDIUM; + typedef [wire_marshal(wireSTGMEDIUM)] uSTGMEDIUM STGMEDIUM; + + typedef [unique] userSTGMEDIUM *wireASYNC_STGMEDIUM; + typedef [wire_marshal(wireASYNC_STGMEDIUM)] STGMEDIUM ASYNC_STGMEDIUM; + + typedef STGMEDIUM *LPSTGMEDIUM; + + typedef struct _userFLAG_STGMEDIUM { + long ContextFlags; + long fPassOwnership; + userSTGMEDIUM Stgmed; + } userFLAG_STGMEDIUM; + + typedef [unique] userFLAG_STGMEDIUM *wireFLAG_STGMEDIUM; + + typedef [wire_marshal(wireFLAG_STGMEDIUM)] struct _FLAG_STGMEDIUM { + long ContextFlags; + long fPassOwnership; + STGMEDIUM Stgmed; + } FLAG_STGMEDIUM; + + [local] + void OnDataChange( + [in, unique] FORMATETC *pFormatetc, + [in, unique] STGMEDIUM *pStgmed); + + [call_as(OnDataChange)] + HRESULT RemoteOnDataChange( + [in, unique] FORMATETC *pFormatetc, + [in, unique] ASYNC_STGMEDIUM *pStgmed); + + [local] + void OnViewChange( + [in] DWORD dwAspect, + [in] LONG lindex); + + [call_as(OnViewChange)] + HRESULT RemoteOnViewChange( + [in] DWORD dwAspect, + [in] LONG lindex); + + [local] + void OnRename( + [in] IMoniker *pmk); + + [call_as(OnRename)] + HRESULT RemoteOnRename( + [in] IMoniker *pmk); + + [local] + void OnSave(); + + [call_as(OnSave)] + HRESULT RemoteOnSave(); + + [local] + void OnClose(); + + [call_as(OnClose)] + HRESULT RemoteOnClose(); +} + +[ + object, + uuid(00000125-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IAdviseSink2 : IAdviseSink +{ + typedef [unique] IAdviseSink2 *LPADVISESINK2; + + [local] + void OnLinkSrcChange( + [in, unique] IMoniker *pmk); + + [call_as(OnLinkSrcChange)] + HRESULT RemoteOnLinkSrcChange( + [in, unique] IMoniker *pmk); +} + +[ + object, + uuid(0000010e-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IDataObject : IUnknown +{ + typedef [unique] IDataObject *LPDATAOBJECT; + + typedef enum tagDATADIR { + DATADIR_GET = 1, + DATADIR_SET = 2 + } DATADIR; + + [local] + HRESULT GetData( + [in, unique] FORMATETC *pformatetcIn, + [out] STGMEDIUM *pmedium); + + [call_as(GetData)] + HRESULT RemoteGetData( + [in, unique] FORMATETC *pformatetcIn, + [out] STGMEDIUM *pRemoteMedium); + + [local] + HRESULT GetDataHere( + [in, unique] FORMATETC *pformatetc, + [in, out] STGMEDIUM *pmedium); + + [call_as(GetDataHere)] + HRESULT RemoteGetDataHere( + [in, unique] FORMATETC *pformatetc, + [in, out] STGMEDIUM *pRemoteMedium); + + HRESULT QueryGetData( + [in, unique] FORMATETC *pformatetc); + + HRESULT GetCanonicalFormatEtc( + [in, unique] FORMATETC *pformatectIn, + [out] FORMATETC *pformatetcOut); + + [local] + HRESULT SetData( + [in, unique] FORMATETC *pformatetc, + [in, unique] STGMEDIUM *pmedium, + [in] BOOL fRelease); + + [call_as(SetData)] + HRESULT RemoteSetData( + [in, unique] FORMATETC *pformatetc, + [in, unique] FLAG_STGMEDIUM *pmedium, + [in] BOOL fRelease); + + HRESULT EnumFormatEtc( + [in] DWORD dwDirection, + [out] IEnumFORMATETC **ppenumFormatEtc); + + HRESULT DAdvise( + [in] FORMATETC *pformatetc, + [in] DWORD advf, + [in, unique] IAdviseSink *pAdvSink, + [out] DWORD *pdwConnection); + + HRESULT DUnadvise( + [in] DWORD dwConnection); + + HRESULT EnumDAdvise( + [out] IEnumSTATDATA **ppenumAdvise); +} + +[ + local, + object, + uuid(00000110-0000-0000-C000-000000000046) +] +interface IDataAdviseHolder : IUnknown +{ + typedef [unique] IDataAdviseHolder *LPDATAADVISEHOLDER; + + HRESULT Advise( + [in, unique] IDataObject *pDataObject, + [in, unique] FORMATETC *pFetc, + [in] DWORD advf, + [in, unique] IAdviseSink *pAdvise, + [out] DWORD *pdwConnection); + + HRESULT Unadvise( + [in] DWORD dwConnection); + + HRESULT EnumAdvise( + [out] IEnumSTATDATA **ppenumAdvise); + + HRESULT SendOnDataChange( + [in, unique] IDataObject *pDataObject, + [in] DWORD dwReserved, + [in] DWORD advf); +} + +/******************** Remoting ********************/ + +[ + local, + object, + uuid(00000016-0000-0000-C000-000000000046) +] +interface IMessageFilter : IUnknown +{ + typedef [unique] IMessageFilter *LPMESSAGEFILTER; + + typedef enum tagCALLTYPE { + CALLTYPE_TOPLEVEL = 1, + CALLTYPE_NESTED = 2, + CALLTYPE_ASYNC = 3, + CALLTYPE_TOPLEVEL_CALLPENDING = 4, + CALLTYPE_ASYNC_CALLPENDING = 5 + } CALLTYPE; + + typedef enum tagSERVERCALL { + SERVERCALL_ISHANDLED = 0, + SERVERCALL_REJECTED = 1, + SERVERCALL_RETRYLATER = 2 + } SERVERCALL; + + typedef enum tagPENDINGTYPE { + PENDINGTYPE_TOPLEVEL = 1, + PENDINGTYPE_NESTED = 2 + } PENDINGTYPE; + + typedef enum tagPENDINGMSG { + PENDINGMSG_CANCELCALL = 0, + PENDINGMSG_WAITNOPROCESS = 1, + PENDINGMSG_WAITDEFPROCESS = 2 + } PENDINGMSG; + + typedef struct tagINTERFACEINFO { + IUnknown *pUnk; + IID iid; + WORD wMethod; + } INTERFACEINFO, *LPINTERFACEINFO; + + DWORD HandleInComingCall( + [in] DWORD dwCallType, + [in] HTASK htaskCaller, + [in] DWORD dwTickCount, + [in] LPINTERFACEINFO lpInterfaceInfo); + + DWORD RetryRejectedCall( + [in] HTASK htaskCallee, + [in] DWORD dwTickCount, + [in] DWORD dwRejectType); + + DWORD MessagePending( + [in] HTASK htaskCallee, + [in] DWORD dwTickCount, + [in] DWORD dwPendingType); +} + +[ + local, + object, + uuid(D5F56B60-593B-101A-B569-08002B2DBF7A) +] +interface IRpcChannelBuffer : IUnknown +{ + typedef [unique] IRpcChannelBuffer *LPRPCCHANNELBUFFER; + + typedef unsigned long RPCOLEDATAREP; + + typedef struct tagRPCOLEMESSAGE { + void *reserved1; + RPCOLEDATAREP dataRepresentation; + void *Buffer; + ULONG cbBuffer; + ULONG iMethod; + void *reserved2[5]; + ULONG rpcFlags; + } RPCOLEMESSAGE; + + typedef RPCOLEMESSAGE *PRPCOLEMESSAGE; + + HRESULT GetBuffer( + [in] RPCOLEMESSAGE *pMessage, + [in] REFIID riid); + + HRESULT SendReceive( + [in,out] RPCOLEMESSAGE *pMessage, + [out] ULONG *pStatus); + + HRESULT FreeBuffer( + [in] RPCOLEMESSAGE *pMessage); + + HRESULT GetDestCtx( + [out] DWORD *pdwDestContext, + [out] void **ppvDestContext); + + HRESULT IsConnected(); +} + +[ + local, + object, + uuid(594f31d0-7f19-11d0-b194-00a0c90dc8bf) +] +interface IRpcChannelBuffer2 : IRpcChannelBuffer +{ + typedef [unique] IRpcChannelBuffer2 *LPRPCCHANNELBUFFER2; + + HRESULT GetProtocolVersion( + [in,out] DWORD *pdwVersion); +} + +[ + local, + object, + uuid(25B15600-0115-11d0-BF0D-00AA00B8DFD2) +] +interface IRpcChannelBuffer3 : IRpcChannelBuffer2 +{ + typedef [unique] IRpcChannelBuffer3 *LPRPCCHANNELBUFFER3; + + HRESULT Send( + [in,out] RPCOLEMESSAGE *pMsg, + [out] ULONG *pulStatus); + + HRESULT Receive( + [in,out] RPCOLEMESSAGE *pMsg, + [in] ULONG ulSize, + [out] ULONG *pulStatus); + + HRESULT Cancel( + [in] RPCOLEMESSAGE *pMsg); + + HRESULT GetCallContext( + [in] RPCOLEMESSAGE *pMsg, + [in] REFIID riid, + [out] void **pInterface); + + HRESULT GetDestCtxEx( + [in] RPCOLEMESSAGE *pMsg, + [out] DWORD *pdwDestContext, + [out] void **ppvDestContext); + + HRESULT GetState( + [in] RPCOLEMESSAGE *pMsg, + [out] DWORD *pState); + + HRESULT RegisterAsync( + [in] RPCOLEMESSAGE *pMsg, + [in] IAsyncManager *pAsyncMgr); +} + +[ + local, + object, + uuid(a5029fb6-3c34-11d1-9c99-00c04fb998aa), + pointer_default(unique) +] +interface IAsyncRpcChannelBuffer : IRpcChannelBuffer2 +{ + HRESULT Send( + [in, out] RPCOLEMESSAGE *pMsg, + [in] ISynchronize *pSync, + [out] ULONG *pulStatus); + + HRESULT Receive( + [in, out] RPCOLEMESSAGE *pMsg, + [out] ULONG *pulStatus); + + HRESULT GetDestCtxEx( + [in] RPCOLEMESSAGE *pMsg, + [out] DWORD *pdwDestContext, + [out] void **ppvDestContext); +} + +[ + local, + object, + uuid(58a08519-24c8-4935-b482-3fd823333a4f) +] +interface IRpcSyntaxNegotiate : IUnknown +{ + HRESULT NegotiateSyntax( + [in, out] RPCOLEMESSAGE *pMsg); +} + +[ + local, + object, + uuid(D5F56A34-593B-101A-B569-08002B2DBF7A) +] +interface IRpcProxyBuffer : IUnknown +{ + typedef [unique] IRpcProxyBuffer *LPRPCPROXYBUFFER; + + HRESULT Connect( + [in, unique] IRpcChannelBuffer *pRpcChannelBuffer); + + void Disconnect(); +} + +[ + local, + object, + uuid(D5F56AFC-593B-101A-B569-08002B2DBF7A) +] +interface IRpcStubBuffer : IUnknown +{ + typedef [unique] IRpcStubBuffer *LPRPCSTUBBUFFER; + + HRESULT Connect( + [in] IUnknown *pUnkServer); + + void Disconnect(); + + HRESULT Invoke( + [in] RPCOLEMESSAGE *_prpcmsg, + [in] IRpcChannelBuffer *_pRpcChannelBuffer); + + IRpcStubBuffer *IsIIDSupported( + [in] REFIID riid); + + ULONG CountRefs(); + + HRESULT DebugServerQueryInterface( + void **ppv); + + void DebugServerRelease( + void *pv); +} + +[ + local, + object, + uuid(D5F569D0-593B-101A-B569-08002B2DBF7A) +] +interface IPSFactoryBuffer : IUnknown +{ + typedef [unique] IPSFactoryBuffer *LPPSFACTORYBUFFER; + + HRESULT CreateProxy( + [in] IUnknown *pUnkOuter, + [in] REFIID riid, + [out] IRpcProxyBuffer **ppProxy, + [out] void **ppv); + + HRESULT CreateStub( + [in] REFIID riid, + [in, unique] IUnknown *pUnkServer, + [out] IRpcStubBuffer **ppStub); +} + +[ + local, + object, + uuid(1008c4a0-7613-11cf-9af1-0020af6e72f4) +] +interface IChannelHook : IUnknown +{ + typedef [unique] IChannelHook *LPCHANNELHOOK; + + typedef struct SChannelHookCallInfo { + IID iid; + DWORD cbSize; + GUID uCausality; + DWORD dwServerPid; + DWORD iMethod; + void *pObject; + } SChannelHookCallInfo; + + void ClientGetSize( + [in] REFGUID uExtent, + [in] REFIID riid, + [out] ULONG *pDataSize); + + void ClientFillBuffer( + [in] REFGUID uExtent, + [in] REFIID riid, + [in, out] ULONG *pDataSize, + [in] void *pDataBuffer); + + void ClientNotify( + [in] REFGUID uExtent, + [in] REFIID riid, + [in] ULONG cbDataSize, + [in] void *pDataBuffer, + [in] DWORD lDataRep, + [in] HRESULT hrFault); + + void ServerNotify( + [in] REFGUID uExtent, + [in] REFIID riid, + [in] ULONG cbDataSize, + [in] void *pDataBuffer, + [in] DWORD lDataRep); + + void ServerGetSize( + [in] REFGUID uExtent, + [in] REFIID riid, + [in] HRESULT hrFault, + [out] ULONG *pDataSize); + + void ServerFillBuffer( + [in] REFGUID uExtent, + [in] REFIID riid, + [in, out] ULONG *pDataSize, + [in] void *pDataBuffer, + [in] HRESULT hrFault ); +} + +extern const FMTID FMTID_SummaryInformation; +extern const FMTID FMTID_DocSummaryInformation; +extern const FMTID FMTID_UserDefinedProperties; + + +/******************** Connection Points ********************/ +/* FIXME */ + +/******************** DCOM ********************/ + +[ + local, + object, + uuid(0000013D-0000-0000-C000-000000000046) +] +interface IClientSecurity : IUnknown +{ + typedef struct tagSOLE_AUTHENTICATION_SERVICE { + DWORD dwAuthnSvc; + DWORD dwAuthzSvc; + OLECHAR *pPrincipalName; + HRESULT hr; + } SOLE_AUTHENTICATION_SERVICE; + + typedef SOLE_AUTHENTICATION_SERVICE *PSOLE_AUTHENTICATION_SERVICE; + + typedef struct tagSOLE_AUTHENTICATION_INFO { + DWORD dwAuthnSvc; + DWORD dwAuthzSvc; + void *pAuthInfo; + } SOLE_AUTHENTICATION_INFO; + + const OLECHAR *COLE_DEFAULT_PRINCIPAL = (OLECHAR*) -1; + const void *COLE_DEFAULT_AUTHINFO = (void*) -1; + + typedef struct tagSOLE_AUTHENTICATION_LIST { + DWORD cAuthInfo; + SOLE_AUTHENTICATION_INFO *aAuthInfo; + } SOLE_AUTHENTICATION_LIST; + + typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES { + EOAC_NONE = 0x0, + EOAC_MUTUAL_AUTH = 0x1, + EOAC_SECURE_REFS = 0x2, /* CoInitializeSecurity only */ + EOAC_ACCESS_CONTROL = 0x4, /* CoInitializeSecurity only */ + EOAC_APPID = 0x8, /* CoInitializeSecurity only */ + EOAC_DYNAMIC = 0x10, /* CoInitializeSecurity only */ + EOAC_STATIC_CLOAKING = 0x20, + EOAC_DYNAMIC_CLOAKING = 0x40, + EOAC_ANY_AUTHORITY = 0x80, + EOAC_MAKE_FULLSIC = 0x100, + EOAC_REQUIRE_FULLSIC = 0x200, /* CoInitializeSecurity only */ + EOAC_AUTO_IMPERSONATE = 0x400, /* CoInitializeSecurity only */ + EOAC_DEFAULT = 0x800, + EOAC_DISABLE_AAA = 0x1000, /* CoInitializeSecurity only */ + EOAC_NO_CUSTOM_MARSHAL = 0x2000, /* CoInitializeSecurity only */ + } EOLE_AUTHENTICATION_CAPABILITIES; + + HRESULT QueryBlanket( + [in] IUnknown *pProxy, + [out] DWORD *pAuthnSvc, + [out] DWORD *pAuthzSvc, + [out] OLECHAR **pServerPrincName, + [out] DWORD *pAuthnLevel, + [out] DWORD *pImpLevel, + [out] void **pAuthInfo, + [out] DWORD *pCapabilities); + + HRESULT SetBlanket( + [in] IUnknown *pProxy, + [in] DWORD AuthnSvc, + [in] DWORD AuthzSvc, + [in] OLECHAR *pServerPrincName, + [in] DWORD AuthnLevel, + [in] DWORD ImpLevel, + [in] void *pAuthInfo, + [in] DWORD Capabilities); + + HRESULT CopyProxy( + [in] IUnknown *pProxy, + [out] IUnknown **ppCopy); +} + +[ + local, + object, + uuid(0000013E-0000-0000-C000-000000000046) +] +interface IServerSecurity : IUnknown +{ + HRESULT QueryBlanket( + [out] DWORD *pAuthnSvc, + [out] DWORD *pAuthzSvc, + [out] OLECHAR **pServerPrincName, + [out] DWORD *pAuthnLevel, + [out] DWORD *pImpLevel, + [out] void **pPrivs, + [out] DWORD *pCapabilities); + + HRESULT ImpersonateClient(); + + HRESULT RevertToSelf(); + + BOOL IsImpersonating(); +} + +[ + local, + object, + uuid(00000024-0000-0000-C000-000000000046) +] +interface IAsyncSetup : IUnknown +{ + HRESULT GetAsyncManager( + [in] REFIID riid, + [in] IUnknown *pOuter, + [in] DWORD dwFlags, + [out] IUnknown **ppInner, + [out] IAsyncManager **ppAsyncMgr); +} + +[ + object, + uuid(0e6d4d92-6738-11cf-9608-00aa00680db4) +] +interface IDirectWriterLock : IUnknown +{ + HRESULT WaitForWriteAccess( + [in] DWORD dwTimeout); + + HRESULT ReleaseWriteAccess(); + + HRESULT HaveWriteAccess(); +} + +[ + object, + uuid(00000030-0000-0000-C000-000000000046) +] + +interface ISynchronize : IUnknown +{ + HRESULT Wait( + [in] DWORD dwFlags, + [in] DWORD dwMilliseconds); + + HRESULT Signal(); + + HRESULT Reset(); +} + + +[ + local, + object, + uuid(00000031-0000-0000-C000-000000000046) +] +interface ISynchronizeHandle : IUnknown +{ + HRESULT GetHandle( + [out] HANDLE *ph); +} + + +[ + local, + object, + uuid(00000032-0000-0000-C000-000000000046) +] +interface ISynchronizeEvent : ISynchronizeHandle +{ + HRESULT SetEventHandle( + [in] HANDLE *ph); +} + + +[ + local, + object, + uuid(00000033-0000-0000-C000-000000000046) +] +interface ISynchronizeContainer : IUnknown +{ + HRESULT AddSynchronize( + [in] ISynchronize *pSync); + + HRESULT WaitMultiple( + [in] DWORD dwFlags, + [in] DWORD dwTimeOut, + [out] ISynchronize **ppSync); +} + +[ + local, + object, + uuid(00000025-0000-0000-C000-000000000046) +] +interface ISynchronizeMutex : ISynchronize +{ + HRESULT ReleaseMutex(); +} + +[ + local, + object, + uuid(00000029-0000-0000-C000-000000000046) +] + +interface ICancelMethodCalls : IUnknown +{ + typedef [unique] ICancelMethodCalls *LPCANCELMETHODCALLS; + + HRESULT Cancel( + [in] ULONG ulSeconds); + + HRESULT TestCancel(); +} + +[ + local, + object, + uuid(0000002A-0000-0000-C000-000000000046) +] +interface IAsyncManager : IUnknown +{ + typedef enum tagDCOM_CALL_STATE { + DCOM_NONE = 0, + DCOM_CALL_COMPLETE = 1, + DCOM_CALL_CANCELED = 2 + } DCOM_CALL_STATE; + + HRESULT CompleteCall( + [in] HRESULT Result); + + HRESULT GetCallContext( + [in] REFIID riid, + [out] void **pInterface); + + HRESULT GetState( + [out] ULONG *pulStateFlags); +} + +[ + local, + object, + uuid(1c733a30-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ICallFactory : IUnknown +{ + HRESULT CreateCall( + [in] REFIID riid, + [in] IUnknown *pCtrlUnk, + [in] REFIID riid2, + [out, iid_is(riid2)] IUnknown **ppv); +} + +[ + local, + object, + uuid(00000144-0000-0000-C000-000000000046) +] +interface IRpcOptions : IUnknown +{ + HRESULT Set( + [in] IUnknown *pPrx, + [in] DWORD dwProperty, + [in] ULONG_PTR dwValue); + + HRESULT Query( + [in] IUnknown *pPrx, + [in] DWORD dwProperty, + [out] ULONG_PTR *pdwValue); +} + +enum { + COMBND_RPCTIMEOUT = 1, + COMBND_SERVER_LOCALITY = 2 +}; + +enum { + SERVER_LOCALITY_PROCESS_LOCAL = 0, + SERVER_LOCALITY_MACHINE_LOCAL = 1, + SERVER_LOCALITY_REMOTE = 2 +}; + +[ + local, + object, + uuid(00000149-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IRpcHelper : IUnknown +{ + HRESULT GetDCOMProtocolVersion( + [out] DWORD *pComVersion); + + HRESULT GetIIDFromOBJREF( + [in] void *pObjRef, + [out] IID **piid); +} + +[ + local, + object, + uuid(eb0cb9e8-7996-11d2-872e-0000f8080859) +] +interface IReleaseMarshalBuffers : IUnknown +{ + HRESULT ReleaseMarshalBuffer( + [in] RPCOLEMESSAGE *pMsg, + [in] DWORD dwFlags, + [in, unique] IUnknown *pChnl); +} + +[ + local, + object, + uuid(0000002B-0000-0000-C000-000000000046) +] +interface IWaitMultiple : IUnknown +{ + HRESULT WaitMultiple( + [in] DWORD timeout, + [out] ISynchronize **pSync); + HRESULT AddSynchronize( + [in] ISynchronize *pSync); +} + + +[ + object, + uuid(00000026-0000-0000-C000-000000000046) +] +interface IUrlMon : IUnknown +{ + HRESULT AsyncGetClassBits( + [in] REFCLSID rclsid, + [in, unique] LPCWSTR pszTYPE, + [in, unique] LPCWSTR pszExt, + [in] DWORD dwFileVersionMS, + [in] DWORD dwFileVersionLS, + [in, unique] LPCWSTR pszCodeBase, + [in] IBindCtx *pbc, + [in] DWORD dwClassContext, + [in] REFIID riid, + [in] DWORD flags); +} + +[ + local, + object, + uuid(00000145-0000-0000-C000-000000000046) +] +interface IForegroundTransfer : IUnknown +{ + HRESULT AllowForegroundTransfer( + [in] void *lpvReserved); +} + +[ + local, + object, + uuid(00000147-0000-0000-C000-000000000046) +] +interface IAddrTrackingControl : IUnknown +{ + typedef [unique] IAddrTrackingControl *LPADDRTRACKINGCONTROL; + + HRESULT EnableCOMDynamicAddrTracking(); + HRESULT DisableCOMDynamicAddrTracking(); +} + +[ + local, + object, + uuid(00000148-0000-0000-C000-000000000046) +] +interface IAddrExclusionControl : IUnknown +{ + typedef [unique] IAddrExclusionControl *LPADDREXCLUSIONCONTROL; + + HRESULT GetCurrentAddrExclusionList( + [in] REFIID riid, + [out, iid_is(riid)] void **ppEnumerator); + HRESULT UpdateAddrExclusionList( + [in] IUnknown *pEnumerator); +} + +typedef enum _APTTYPE { + APTTYPE_CURRENT = -1, + APTTYPE_STA = 0, + APTTYPE_MTA = 1, + APTTYPE_NA = 2, + APTTYPE_MAINSTA = 3 +} APTTYPE; + +typedef enum _APTTYPEQUALIFIER { + APTTYPEQUALIFIER_NONE, + APTTYPEQUALIFIER_IMPLICIT_MTA, + APTTYPEQUALIFIER_NA_ON_MTA, + APTTYPEQUALIFIER_NA_ON_STA, + APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA, + APTTYPEQUALIFIER_NA_ON_MAINSTA +} APTTYPEQUALIFIER; + +typedef enum _THDTYPE { + THDTYPE_BLOCKMESSAGES = 0, + THDTYPE_PROCESSMESSAGES = 1 +} THDTYPE; + +[ + local, + object, + uuid(000001ce-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IComThreadingInfo : IUnknown +{ + HRESULT GetCurrentApartmentType( + [out] APTTYPE *pAptType); + HRESULT GetCurrentThreadType( + [out] THDTYPE *pThreadType); + HRESULT GetCurrentLogicalThreadId( + [out] GUID *pguidLogicalThreadId); + HRESULT SetCurrentLogicalThreadId( + [in] REFGUID rguid); +} + + +[ + object, + pointer_default(unique), + uuid(72380d55-8d2b-43a3-8513-2b6ef31434e9) +] +interface IProcessInitControl : IUnknown +{ + HRESULT ResetInitializerTimeout( + [in] DWORD dwSecondsRemaining); +} + +[ + local, + object, + uuid(00000034-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IInitializeSpy : IUnknown +{ + typedef [unique] IInitializeSpy *LPINITIALIZESPY; + + HRESULT PreInitialize( + [in] DWORD dwCoInit, + [in] DWORD dwCurThreadAptRefs); + + HRESULT PostInitialize( + [in] HRESULT hrCoInit, + [in] DWORD dwCoInit, + [in] DWORD dwNewThreadAptRefs); + + HRESULT PreUninitialize( + [in] DWORD dwCurThreadAptRefs); + + HRESULT PostUninitialize( + [in] DWORD dwNewThreadAptRefs); +} + +[ + object, + uuid(969dc708-5c76-11d1-8d86-0000f804b057) +] +interface IThumbnailExtractor : IUnknown +{ + HRESULT ExtractThumbnail( + [in] IStorage *pStg, + [in] ULONG ulLength, + [in] ULONG ulHeight, + [out] ULONG *pulOutputLength, + [out] ULONG *pulOutputHeight, + [out] HBITMAP *phOutputBitmap); + + + HRESULT OnFileUpdated( + [in] IStorage *pStg); +} + +typedef enum tagGLOBALOPT_PROPERTIES +{ + COMGLB_EXCEPTION_HANDLING = 1, + COMGLB_APPID = 2, + COMGLB_RPC_THREADPOOL_SETTING = 3 +} GLOBALOPT_PROPERTIES; + +typedef enum tagGLOBALOPT_EH_VALUES +{ + COMGLB_EXCEPTION_HANDLE = 0, + COMGLB_EXCEPTION_DONOT_HANDLE_FATAL = 1, + COMGLB_EXCEPTION_DONOT_HANDLE = COMGLB_EXCEPTION_DONOT_HANDLE_FATAL, + COMGLB_EXCEPTION_DONOT_HANDLE_ANY = 2 +} GLOBALOPT_EH_VALUES; + +typedef enum tagGLOBALOPT_RPCTP_VALUES +{ + COMGLB_RPC_THREADPOOL_SETTING_DEFAULT_POOL = 0, + COMGLB_RPC_THREADPOOL_SETTING_PRIVATE_POOL = 1 +} GLOBALOPT_RPCTP_VALUES; + + +[ + object, + local, + pointer_default(unique), + uuid(0000015B-0000-0000-C000-000000000046) +] +interface IGlobalOptions : IUnknown +{ + HRESULT Set([in] GLOBALOPT_PROPERTIES property, [in] ULONG_PTR value); + HRESULT Query([in] GLOBALOPT_PROPERTIES property, [out ] ULONG_PTR *value); +} + +[ + object, + pointer_default(unique), + uuid(947990de-cc28-11d2-a0f7-00805f858fb1) +] +interface IDummyHICONIncluder : IUnknown +{ + HRESULT Dummy([in] HICON hIcon, [in] HDC hdc); +} + +cpp_quote("#ifdef USE_COM_CONTEXT_DEF") + +typedef DWORD CPFLAGS; + +typedef struct tagContextProperty +{ + GUID policyId; + CPFLAGS flags; + [unique] IUnknown *pUnk; +} ContextProperty; + +[ + local, + object, + uuid(000001c1-0000-0000-C000-000000000046) +] +interface IEnumContextProps : IUnknown +{ + typedef [unique] IEnumContextProps *LPENUMCONTEXTPROPS; + + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] ContextProperty *pContextProperties, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumContextProps **ppEnumContextProps); + + HRESULT Count( + [out] ULONG *pcelt); +} + +[ + local, + object, + uuid(000001c0-0000-0000-C000-000000000046) +] +interface IContext : IUnknown +{ + HRESULT SetProperty( + [in] REFGUID policyId, + [in] CPFLAGS flags, + [in] IUnknown *pUnk); + + HRESULT RemoveProperty( + [in] REFGUID policyId); + + HRESULT GetProperty( + [in] REFGUID guid, + [out] CPFLAGS *pFlags, + [out] IUnknown **ppUnk); + + HRESULT EnumContextProps( + [out] IEnumContextProps **ppEnumContextProps); +} + +[ + local, + object, + uuid(000001c6-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IObjContext : IContext +{ + void Reserved1(); + void Reserved2(); + void Reserved3(); + void Reserved4(); + void Reserved5(); + void Reserved6(); + void Reserved7(); +} + +cpp_quote("#endif /* defined USE_COM_CONTEXT_DEF */") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsafe.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsafe.h new file mode 100644 index 0000000..245ae6f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsafe.h @@ -0,0 +1,147 @@ +/*** Autogenerated by WIDL 2.18 from objsafe.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __objsafe_h__ +#define __objsafe_h__ + +/* Forward declarations */ + +#ifndef __IObjectSafety_FWD_DEFINED__ +#define __IObjectSafety_FWD_DEFINED__ +typedef interface IObjectSafety IObjectSafety; +#ifdef __cplusplus +interface IObjectSafety; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define INTERFACESAFE_FOR_UNTRUSTED_CALLER 1 +#define INTERFACESAFE_FOR_UNTRUSTED_DATA 2 +#define INTERFACE_USES_DISPEX 4 +#define INTERFACE_USES_SECURITY_MANAGER 8 +DEFINE_GUID(CATID_SafeForScripting, 0x7dd95801,0x9882,0x11cf,0x9f,0xa9,0x00,0xaa,0x00,0x6c,0x42,0xc4); +DEFINE_GUID(CATID_SafeForInitializing, 0x7dd95802,0x9882,0x11cf,0x9f,0xa9,0x00,0xaa,0x00,0x6c,0x42,0xc4); +/***************************************************************************** + * IObjectSafety interface + */ +#ifndef __IObjectSafety_INTERFACE_DEFINED__ +#define __IObjectSafety_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IObjectSafety, 0xcb5bdc81, 0x93c1, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cb5bdc81-93c1-11cf-8f20-00805f2cd064") +IObjectSafety : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetInterfaceSafetyOptions( + REFIID riid, + DWORD *pdwSupportedOptions, + DWORD *pdwEnabledOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInterfaceSafetyOptions( + REFIID riid, + DWORD dwOptionSetMask, + DWORD dwEnabledOptions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjectSafety, 0xcb5bdc81, 0x93c1, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IObjectSafetyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjectSafety *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjectSafety *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjectSafety *This); + + /*** IObjectSafety methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInterfaceSafetyOptions)( + IObjectSafety *This, + REFIID riid, + DWORD *pdwSupportedOptions, + DWORD *pdwEnabledOptions); + + HRESULT (STDMETHODCALLTYPE *SetInterfaceSafetyOptions)( + IObjectSafety *This, + REFIID riid, + DWORD dwOptionSetMask, + DWORD dwEnabledOptions); + + END_INTERFACE +} IObjectSafetyVtbl; + +interface IObjectSafety { + CONST_VTBL IObjectSafetyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjectSafety_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjectSafety_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjectSafety_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectSafety methods ***/ +#define IObjectSafety_GetInterfaceSafetyOptions(This,riid,pdwSupportedOptions,pdwEnabledOptions) (This)->lpVtbl->GetInterfaceSafetyOptions(This,riid,pdwSupportedOptions,pdwEnabledOptions) +#define IObjectSafety_SetInterfaceSafetyOptions(This,riid,dwOptionSetMask,dwEnabledOptions) (This)->lpVtbl->SetInterfaceSafetyOptions(This,riid,dwOptionSetMask,dwEnabledOptions) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjectSafety_QueryInterface(IObjectSafety* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjectSafety_AddRef(IObjectSafety* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjectSafety_Release(IObjectSafety* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectSafety methods ***/ +static FORCEINLINE HRESULT IObjectSafety_GetInterfaceSafetyOptions(IObjectSafety* This,REFIID riid,DWORD *pdwSupportedOptions,DWORD *pdwEnabledOptions) { + return This->lpVtbl->GetInterfaceSafetyOptions(This,riid,pdwSupportedOptions,pdwEnabledOptions); +} +static FORCEINLINE HRESULT IObjectSafety_SetInterfaceSafetyOptions(IObjectSafety* This,REFIID riid,DWORD dwOptionSetMask,DWORD dwEnabledOptions) { + return This->lpVtbl->SetInterfaceSafetyOptions(This,riid,dwOptionSetMask,dwEnabledOptions); +} +#endif +#endif + +#endif + + +#endif /* __IObjectSafety_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __objsafe_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsafe.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsafe.idl new file mode 100644 index 0000000..76df444 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsafe.idl @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2005 CorVu Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "unknwn.idl"; +#endif + +cpp_quote("#define INTERFACESAFE_FOR_UNTRUSTED_CALLER 1") +cpp_quote("#define INTERFACESAFE_FOR_UNTRUSTED_DATA 2") +cpp_quote("#define INTERFACE_USES_DISPEX 4") +cpp_quote("#define INTERFACE_USES_SECURITY_MANAGER 8") + +cpp_quote("DEFINE_GUID(CATID_SafeForScripting, 0x7dd95801,0x9882,0x11cf,0x9f,0xa9,0x00,0xaa,0x00,0x6c,0x42,0xc4);") +cpp_quote("DEFINE_GUID(CATID_SafeForInitializing, 0x7dd95802,0x9882,0x11cf,0x9f,0xa9,0x00,0xaa,0x00,0x6c,0x42,0xc4);") + +[ + object, + uuid(cb5bdc81-93c1-11cf-8f20-00805f2cd064), + pointer_default(unique) +] +interface IObjectSafety : IUnknown +{ + HRESULT GetInterfaceSafetyOptions([in] REFIID riid, + [out] DWORD *pdwSupportedOptions, + [out] DWORD *pdwEnabledOptions); + + HRESULT SetInterfaceSafetyOptions([in] REFIID riid, + [in] DWORD dwOptionSetMask, + [in] DWORD dwEnabledOptions); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsel.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsel.h new file mode 100644 index 0000000..c01d4c7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/objsel.h @@ -0,0 +1,169 @@ +/* + * objsel.h + * + * Object Picker Dialog + * + * THIS SOFTWARE IS NOT COPYRIGHTED + * + * This source code is offered for use in the public domain. You may + * use, modify or distribute it freely. + * + * This code is distributed in the hope that it will be useful but + * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + * DISCLAIMED. This includes but is not limited to warranties of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + */ +#ifndef __OBJSEL_H_ +#define __OBJSEL_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0xb9,0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7); +DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0xb9,0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7); + +#define CFSTR_DSOP_DS_SELECTION_LIST TEXT("CFSTR_DSOP_DS_SELECTION_LIST") + +/* up-level scope filters in the DSOP_UPLEVEL_FILTER_FLAGS structure */ +#define DSOP_FILTER_INCLUDE_ADVANCED_VIEW (0x1) +#define DSOP_FILTER_USERS (0x2) +#define DSOP_FILTER_BUILTIN_GROUPS (0x4) +#define DSOP_FILTER_WELL_KNOWN_PRINCIPALS (0x8) +#define DSOP_FILTER_UNIVERSAL_GROUPS_DL (0x10) +#define DSOP_FILTER_UNIVERSAL_GROUPS_SE (0x20) +#define DSOP_FILTER_GLOBAL_GROUPS_DL (0x40) +#define DSOP_FILTER_GLOBAL_GROUPS_SE (0x80) +#define DSOP_FILTER_DOMAIN_LOCAL_GROUPS_DL (0x100) +#define DSOP_FILTER_DOMAIN_LOCAL_GROUPS_SE (0x200) +#define DSOP_FILTER_CONTACTS (0x400) +#define DSOP_FILTER_COMPUTERS (0x800) + +typedef struct _DSOP_UPLEVEL_FILTER_FLAGS +{ + ULONG flBothModes; + ULONG flMixedModeOnly; + ULONG flNativeModeOnly; +} DSOP_UPLEVEL_FILTER_FLAGS, *PDSOP_UPLEVEL_FILTER_FLAGS; + +/* down-level scope filters in the DSOP_FILTER_FLAGS structure */ +#define DSOP_DOWNLEVEL_FILTER_USERS (0x80000001) +#define DSOP_DOWNLEVEL_FILTER_LOCAL_GROUPS (0x80000002) +#define DSOP_DOWNLEVEL_FILTER_GLOBAL_GROUPS (0x80000004) +#define DSOP_DOWNLEVEL_FILTER_COMPUTERS (0x80000008) +#define DSOP_DOWNLEVEL_FILTER_WORLD (0x80000010) +#define DSOP_DOWNLEVEL_FILTER_AUTHENTICATED_USER (0x80000020) +#define DSOP_DOWNLEVEL_FILTER_ANONYMOUS (0x80000040) +#define DSOP_DOWNLEVEL_FILTER_BATCH (0x80000080) +#define DSOP_DOWNLEVEL_FILTER_CREATOR_OWNER (0x80000100) +#define DSOP_DOWNLEVEL_FILTER_CREATOR_GROUP (0x80000200) +#define DSOP_DOWNLEVEL_FILTER_DIALUP (0x80000400) +#define DSOP_DOWNLEVEL_FILTER_INTERACTIVE (0x80000800) +#define DSOP_DOWNLEVEL_FILTER_NETWORK (0x80001000) +#define DSOP_DOWNLEVEL_FILTER_SERVICE (0x80002000) +#define DSOP_DOWNLEVEL_FILTER_SYSTEM (0x80004000) +#define DSOP_DOWNLEVEL_FILTER_EXCLUDE_BUILTIN_GROUPS (0x80008000) +#define DSOP_DOWNLEVEL_FILTER_TERMINAL_SERVER (0x80010000) +#define DSOP_DOWNLEVEL_FILTER_ALL_WELLKNOWN_SIDS (0x80020000) +#define DSOP_DOWNLEVEL_FILTER_LOCAL_SERVICE (0x80040000) +#define DSOP_DOWNLEVEL_FILTER_NETWORK_SERVICE (0x80080000) +#define DSOP_DOWNLEVEL_FILTER_REMOTE_LOGON (0x80100000) + +typedef struct _DSOP_FILTER_FLAGS +{ + DSOP_UPLEVEL_FILTER_FLAGS Uplevel; + ULONG flDownlevel; +} DSOP_FILTER_FLAGS, *PDSOP_FILTER_FLAGS; + +/* ADsPath format flags in the DSOP_SCOPE_INIT_INFO structure */ +#define DSOP_SCOPE_FLAG_STARTING_SCOPE (0x1) +#define DSOP_SCOPE_FLAG_WANT_PROVIDER_WINNT (0x2) +#define DSOP_SCOPE_FLAG_WANT_PROVIDER_LDAP (0x4) +#define DSOP_SCOPE_FLAG_WANT_PROVIDER_GC (0x8) +#define DSOP_SCOPE_FLAG_WANT_SID_PATH (0x10) +#define DSOP_SCOPE_FLAG_WANT_DOWNLEVEL_BUILTIN_PATH (0x20) +#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_USERS (0x40) +#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_GROUPS (0x80) +#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_COMPUTERS (0x100) +#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_CONTACTS (0x200) + +typedef struct _DSOP_SCOPE_INIT_INFO +{ + ULONG cbSize; + ULONG flType; + ULONG flScope; + DSOP_FILTER_FLAGS FilterFlags; + PCWSTR pwzDcName; + PCWSTR pwzADsPath; + HRESULT hr; +} DSOP_SCOPE_INIT_INFO, *PDSOP_SCOPE_INIT_INFO; +typedef const DSOP_SCOPE_INIT_INFO *PCDSOP_SCOPE_INIT_INFO; + +/* object picker options in the DSOP_INIT_INFO structure */ +#define DSOP_FLAG_MULTISELECT (0x1) +#define DSOP_FLAG_SKIP_TARGET_COMPUTER_DC_CHECK (0x2) + +typedef struct _DSOP_INIT_INFO +{ + ULONG cbSize; + PCWSTR pwzTargetComputer; + ULONG cDsScopeInfos; + PDSOP_SCOPE_INIT_INFO aDsScopeInfos; + ULONG flOptions; + ULONG cAttributesToFetch; + PCWSTR *apwzAttributeNames; +} DSOP_INIT_INFO, *PDSOP_INIT_INFO; + +typedef const DSOP_INIT_INFO *PCDSOP_INIT_INFO; + +/* selection scope types in the DS_SELECTION structure */ +#define DSOP_SCOPE_TYPE_TARGET_COMPUTER (0x1) +#define DSOP_SCOPE_TYPE_UPLEVEL_JOINED_DOMAIN (0x2) +#define DSOP_SCOPE_TYPE_DOWNLEVEL_JOINED_DOMAIN (0x4) +#define DSOP_SCOPE_TYPE_ENTERPRISE_DOMAIN (0x8) +#define DSOP_SCOPE_TYPE_GLOBAL_CATALOG (0x10) +#define DSOP_SCOPE_TYPE_EXTERNAL_UPLEVEL_DOMAIN (0x20) +#define DSOP_SCOPE_TYPE_EXTERNAL_DOWNLEVEL_DOMAIN (0x40) +#define DSOP_SCOPE_TYPE_WORKGROUP (0x80) +#define DSOP_SCOPE_TYPE_USER_ENTERED_UPLEVEL_SCOPE (0x100) +#define DSOP_SCOPE_TYPE_USER_ENTERED_DOWNLEVEL_SCOPE (0x200) + +typedef struct _DS_SELECTION +{ + PWSTR pwzName; + PWSTR pwzADsPath; + PWSTR pwzClass; + PWSTR pwzUPN; + VARIANT *pvarFetchedAttributes; + ULONG flScopeType; +} DS_SELECTION, *PDS_SELECTION; + +typedef struct _DS_SELECTION_LIST +{ + ULONG cItems; + ULONG cFetchedAttributes; + DS_SELECTION aDsSelection[ANYSIZE_ARRAY]; +} DS_SELECTION_LIST, *PDS_SELECTION_LIST; + +/***************************************************************************** + * IDsObjectPicker interface + */ +#define INTERFACE IDsObjectPicker +DECLARE_INTERFACE_(IDsObjectPicker,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IDsObjectPicker methods ***/ + STDMETHOD(Initialize)(THIS_ PDSOP_INIT_INFO pInitInfo) PURE; + STDMETHOD(InvokeDialog)(THIS_ HWND hwndParent, IDataObject** ppdoSelections) PURE; +}; +#undef INTERFACE + + +#ifdef __cplusplus +} +#endif +#endif /* __OBJSEL_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocidl.h new file mode 100644 index 0000000..7e167d3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocidl.h @@ -0,0 +1,6299 @@ +/*** Autogenerated by WIDL 2.18 from ocidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __ocidl_h__ +#define __ocidl_h__ + +/* Forward declarations */ + +#ifndef __IFont_FWD_DEFINED__ +#define __IFont_FWD_DEFINED__ +typedef interface IFont IFont; +#ifdef __cplusplus +interface IFont; +#endif /* __cplusplus */ +#endif + +#ifndef __IFontDisp_FWD_DEFINED__ +#define __IFontDisp_FWD_DEFINED__ +typedef interface IFontDisp IFontDisp; +#ifdef __cplusplus +interface IFontDisp; +#endif /* __cplusplus */ +#endif + +#ifndef __IFontEventsDisp_FWD_DEFINED__ +#define __IFontEventsDisp_FWD_DEFINED__ +typedef interface IFontEventsDisp IFontEventsDisp; +#ifdef __cplusplus +interface IFontEventsDisp; +#endif /* __cplusplus */ +#endif + +#ifndef __IPicture_FWD_DEFINED__ +#define __IPicture_FWD_DEFINED__ +typedef interface IPicture IPicture; +#ifdef __cplusplus +interface IPicture; +#endif /* __cplusplus */ +#endif + +#ifndef __IPictureDisp_FWD_DEFINED__ +#define __IPictureDisp_FWD_DEFINED__ +typedef interface IPictureDisp IPictureDisp; +#ifdef __cplusplus +interface IPictureDisp; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleControl_FWD_DEFINED__ +#define __IOleControl_FWD_DEFINED__ +typedef interface IOleControl IOleControl; +#ifdef __cplusplus +interface IOleControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleControlSite_FWD_DEFINED__ +#define __IOleControlSite_FWD_DEFINED__ +typedef interface IOleControlSite IOleControlSite; +#ifdef __cplusplus +interface IOleControlSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceSiteEx_FWD_DEFINED__ +#define __IOleInPlaceSiteEx_FWD_DEFINED__ +typedef interface IOleInPlaceSiteEx IOleInPlaceSiteEx; +#ifdef __cplusplus +interface IOleInPlaceSiteEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceSiteWindowless_FWD_DEFINED__ +#define __IOleInPlaceSiteWindowless_FWD_DEFINED__ +typedef interface IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless; +#ifdef __cplusplus +interface IOleInPlaceSiteWindowless; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceObjectWindowless_FWD_DEFINED__ +#define __IOleInPlaceObjectWindowless_FWD_DEFINED__ +typedef interface IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless; +#ifdef __cplusplus +interface IOleInPlaceObjectWindowless; +#endif /* __cplusplus */ +#endif + +#ifndef __IClassFactory2_FWD_DEFINED__ +#define __IClassFactory2_FWD_DEFINED__ +typedef interface IClassFactory2 IClassFactory2; +#ifdef __cplusplus +interface IClassFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __IViewObjectEx_FWD_DEFINED__ +#define __IViewObjectEx_FWD_DEFINED__ +typedef interface IViewObjectEx IViewObjectEx; +#ifdef __cplusplus +interface IViewObjectEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IProvideClassInfo_FWD_DEFINED__ +#define __IProvideClassInfo_FWD_DEFINED__ +typedef interface IProvideClassInfo IProvideClassInfo; +#ifdef __cplusplus +interface IProvideClassInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IProvideClassInfo2_FWD_DEFINED__ +#define __IProvideClassInfo2_FWD_DEFINED__ +typedef interface IProvideClassInfo2 IProvideClassInfo2; +#ifdef __cplusplus +interface IProvideClassInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __IProvideMultipleClassInfo_FWD_DEFINED__ +#define __IProvideMultipleClassInfo_FWD_DEFINED__ +typedef interface IProvideMultipleClassInfo IProvideMultipleClassInfo; +#ifdef __cplusplus +interface IProvideMultipleClassInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IConnectionPoint_FWD_DEFINED__ +#define __IConnectionPoint_FWD_DEFINED__ +typedef interface IConnectionPoint IConnectionPoint; +#ifdef __cplusplus +interface IConnectionPoint; +#endif /* __cplusplus */ +#endif + +#ifndef __IConnectionPointContainer_FWD_DEFINED__ +#define __IConnectionPointContainer_FWD_DEFINED__ +typedef interface IConnectionPointContainer IConnectionPointContainer; +#ifdef __cplusplus +interface IConnectionPointContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumConnections_FWD_DEFINED__ +#define __IEnumConnections_FWD_DEFINED__ +typedef interface IEnumConnections IEnumConnections; +#ifdef __cplusplus +interface IEnumConnections; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumConnectionPoints_FWD_DEFINED__ +#define __IEnumConnectionPoints_FWD_DEFINED__ +typedef interface IEnumConnectionPoints IEnumConnectionPoints; +#ifdef __cplusplus +interface IEnumConnectionPoints; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyPage_FWD_DEFINED__ +#define __IPropertyPage_FWD_DEFINED__ +typedef interface IPropertyPage IPropertyPage; +#ifdef __cplusplus +interface IPropertyPage; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyPage2_FWD_DEFINED__ +#define __IPropertyPage2_FWD_DEFINED__ +typedef interface IPropertyPage2 IPropertyPage2; +#ifdef __cplusplus +interface IPropertyPage2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyPageSite_FWD_DEFINED__ +#define __IPropertyPageSite_FWD_DEFINED__ +typedef interface IPropertyPageSite IPropertyPageSite; +#ifdef __cplusplus +interface IPropertyPageSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyNotifySink_FWD_DEFINED__ +#define __IPropertyNotifySink_FWD_DEFINED__ +typedef interface IPropertyNotifySink IPropertyNotifySink; +#ifdef __cplusplus +interface IPropertyNotifySink; +#endif /* __cplusplus */ +#endif + +#ifndef __ISimpleFrameSite_FWD_DEFINED__ +#define __ISimpleFrameSite_FWD_DEFINED__ +typedef interface ISimpleFrameSite ISimpleFrameSite; +#ifdef __cplusplus +interface ISimpleFrameSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistStreamInit_FWD_DEFINED__ +#define __IPersistStreamInit_FWD_DEFINED__ +typedef interface IPersistStreamInit IPersistStreamInit; +#ifdef __cplusplus +interface IPersistStreamInit; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistMemory_FWD_DEFINED__ +#define __IPersistMemory_FWD_DEFINED__ +typedef interface IPersistMemory IPersistMemory; +#ifdef __cplusplus +interface IPersistMemory; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistPropertyBag_FWD_DEFINED__ +#define __IPersistPropertyBag_FWD_DEFINED__ +typedef interface IPersistPropertyBag IPersistPropertyBag; +#ifdef __cplusplus +interface IPersistPropertyBag; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyBag2_FWD_DEFINED__ +#define __IPropertyBag2_FWD_DEFINED__ +typedef interface IPropertyBag2 IPropertyBag2; +#ifdef __cplusplus +interface IPropertyBag2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistPropertyBag2_FWD_DEFINED__ +#define __IPersistPropertyBag2_FWD_DEFINED__ +typedef interface IPersistPropertyBag2 IPersistPropertyBag2; +#ifdef __cplusplus +interface IPersistPropertyBag2; +#endif /* __cplusplus */ +#endif + +#ifndef __ISpecifyPropertyPages_FWD_DEFINED__ +#define __ISpecifyPropertyPages_FWD_DEFINED__ +typedef interface ISpecifyPropertyPages ISpecifyPropertyPages; +#ifdef __cplusplus +interface ISpecifyPropertyPages; +#endif /* __cplusplus */ +#endif + +#ifndef __IPerPropertyBrowsing_FWD_DEFINED__ +#define __IPerPropertyBrowsing_FWD_DEFINED__ +typedef interface IPerPropertyBrowsing IPerPropertyBrowsing; +#ifdef __cplusplus +interface IPerPropertyBrowsing; +#endif /* __cplusplus */ +#endif + +#ifndef __IAdviseSinkEx_FWD_DEFINED__ +#define __IAdviseSinkEx_FWD_DEFINED__ +typedef interface IAdviseSinkEx IAdviseSinkEx; +#ifdef __cplusplus +interface IAdviseSinkEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IPointerInactive_FWD_DEFINED__ +#define __IPointerInactive_FWD_DEFINED__ +typedef interface IPointerInactive IPointerInactive; +#ifdef __cplusplus +interface IPointerInactive; +#endif /* __cplusplus */ +#endif + +#ifndef __IObjectWithSite_FWD_DEFINED__ +#define __IObjectWithSite_FWD_DEFINED__ +typedef interface IObjectWithSite IObjectWithSite; +#ifdef __cplusplus +interface IObjectWithSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleUndoUnit_FWD_DEFINED__ +#define __IOleUndoUnit_FWD_DEFINED__ +typedef interface IOleUndoUnit IOleUndoUnit; +#ifdef __cplusplus +interface IOleUndoUnit; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleParentUndoUnit_FWD_DEFINED__ +#define __IOleParentUndoUnit_FWD_DEFINED__ +typedef interface IOleParentUndoUnit IOleParentUndoUnit; +#ifdef __cplusplus +interface IOleParentUndoUnit; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumOleUndoUnits_FWD_DEFINED__ +#define __IEnumOleUndoUnits_FWD_DEFINED__ +typedef interface IEnumOleUndoUnits IEnumOleUndoUnits; +#ifdef __cplusplus +interface IEnumOleUndoUnits; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleUndoManager_FWD_DEFINED__ +#define __IOleUndoManager_FWD_DEFINED__ +typedef interface IOleUndoManager IOleUndoManager; +#ifdef __cplusplus +interface IOleUndoManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IQuickActivate_FWD_DEFINED__ +#define __IQuickActivate_FWD_DEFINED__ +typedef interface IQuickActivate IQuickActivate; +#ifdef __cplusplus +interface IQuickActivate; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IOleControlTypes interface (v0.0) + */ +#ifndef __IOleControlTypes_INTERFACE_DEFINED__ +#define __IOleControlTypes_INTERFACE_DEFINED__ + +extern RPC_IF_HANDLE IOleControlTypes_v0_0_c_ifspec; +extern RPC_IF_HANDLE IOleControlTypes_v0_0_s_ifspec; +typedef enum tagUASFLAGS { + UAS_NORMAL = 0x0, + UAS_BLOCKED = 0x1, + UAS_NOPARENTABLE = 0x2, + UAS_MASK = 0x3 +} UASFLAGS; +typedef enum tagREADYSTATE { + READYSTATE_UNINITIALIZED = 0, + READYSTATE_LOADING = 1, + READYSTATE_LOADED = 2, + READYSTATE_INTERACTIVE = 3, + READYSTATE_COMPLETE = 4 +} READYSTATE; +typedef struct tagVARIANT_BLOB { + DWORD clSize; + DWORD rpcReserved; + ULONGLONG ahData[1]; +} wireVARIANT_BLOB; +typedef struct tagUserVARIANT { + wireVARIANT_BLOB pVarBlob; +} UserVARIANT; + +#endif /* __IOleControlTypes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFont interface + */ +#ifndef __IFont_INTERFACE_DEFINED__ +#define __IFont_INTERFACE_DEFINED__ + +typedef IFont *LPFONT; +typedef TEXTMETRICW TEXTMETRICOLE; +typedef TEXTMETRICW *LPTEXTMETRICOLE; +DEFINE_GUID(IID_IFont, 0xbef6e002, 0xa874, 0x101a, 0x8b,0xba, 0x00,0xaa,0x00,0x30,0x0c,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bef6e002-a874-101a-8bba-00aa00300cab") +IFont : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *pname) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Name( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Size( + CY *psize) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Size( + CY size) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Bold( + BOOL *pbold) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Bold( + BOOL bold) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Italic( + BOOL *pitalic) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Italic( + BOOL italic) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Underline( + BOOL *punderline) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Underline( + BOOL underline) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Strikethrough( + BOOL *pstrikethrough) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Strikethrough( + BOOL strikethrough) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Weight( + SHORT *pweight) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Weight( + SHORT weight) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Charset( + SHORT *pcharset) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Charset( + SHORT charset) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hFont( + HFONT *phfont) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IFont **ppfont) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + IFont *pFontOther) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRatio( + LONG cyLogical, + LONG cyHimetric) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryTextMetrics( + TEXTMETRICOLE *ptm) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRefHfont( + HFONT hfont) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseHfont( + HFONT hfont) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHdc( + HDC hdc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFont, 0xbef6e002, 0xa874, 0x101a, 0x8b,0xba, 0x00,0xaa,0x00,0x30,0x0c,0xab) +#endif +#else +typedef struct IFontVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFont *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFont *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFont *This); + + /*** IFont methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IFont *This, + BSTR *pname); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + IFont *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_Size)( + IFont *This, + CY *psize); + + HRESULT (STDMETHODCALLTYPE *put_Size)( + IFont *This, + CY size); + + HRESULT (STDMETHODCALLTYPE *get_Bold)( + IFont *This, + BOOL *pbold); + + HRESULT (STDMETHODCALLTYPE *put_Bold)( + IFont *This, + BOOL bold); + + HRESULT (STDMETHODCALLTYPE *get_Italic)( + IFont *This, + BOOL *pitalic); + + HRESULT (STDMETHODCALLTYPE *put_Italic)( + IFont *This, + BOOL italic); + + HRESULT (STDMETHODCALLTYPE *get_Underline)( + IFont *This, + BOOL *punderline); + + HRESULT (STDMETHODCALLTYPE *put_Underline)( + IFont *This, + BOOL underline); + + HRESULT (STDMETHODCALLTYPE *get_Strikethrough)( + IFont *This, + BOOL *pstrikethrough); + + HRESULT (STDMETHODCALLTYPE *put_Strikethrough)( + IFont *This, + BOOL strikethrough); + + HRESULT (STDMETHODCALLTYPE *get_Weight)( + IFont *This, + SHORT *pweight); + + HRESULT (STDMETHODCALLTYPE *put_Weight)( + IFont *This, + SHORT weight); + + HRESULT (STDMETHODCALLTYPE *get_Charset)( + IFont *This, + SHORT *pcharset); + + HRESULT (STDMETHODCALLTYPE *put_Charset)( + IFont *This, + SHORT charset); + + HRESULT (STDMETHODCALLTYPE *get_hFont)( + IFont *This, + HFONT *phfont); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IFont *This, + IFont **ppfont); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IFont *This, + IFont *pFontOther); + + HRESULT (STDMETHODCALLTYPE *SetRatio)( + IFont *This, + LONG cyLogical, + LONG cyHimetric); + + HRESULT (STDMETHODCALLTYPE *QueryTextMetrics)( + IFont *This, + TEXTMETRICOLE *ptm); + + HRESULT (STDMETHODCALLTYPE *AddRefHfont)( + IFont *This, + HFONT hfont); + + HRESULT (STDMETHODCALLTYPE *ReleaseHfont)( + IFont *This, + HFONT hfont); + + HRESULT (STDMETHODCALLTYPE *SetHdc)( + IFont *This, + HDC hdc); + + END_INTERFACE +} IFontVtbl; + +interface IFont { + CONST_VTBL IFontVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFont_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFont_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFont_Release(This) (This)->lpVtbl->Release(This) +/*** IFont methods ***/ +#define IFont_get_Name(This,pname) (This)->lpVtbl->get_Name(This,pname) +#define IFont_put_Name(This,name) (This)->lpVtbl->put_Name(This,name) +#define IFont_get_Size(This,psize) (This)->lpVtbl->get_Size(This,psize) +#define IFont_put_Size(This,size) (This)->lpVtbl->put_Size(This,size) +#define IFont_get_Bold(This,pbold) (This)->lpVtbl->get_Bold(This,pbold) +#define IFont_put_Bold(This,bold) (This)->lpVtbl->put_Bold(This,bold) +#define IFont_get_Italic(This,pitalic) (This)->lpVtbl->get_Italic(This,pitalic) +#define IFont_put_Italic(This,italic) (This)->lpVtbl->put_Italic(This,italic) +#define IFont_get_Underline(This,punderline) (This)->lpVtbl->get_Underline(This,punderline) +#define IFont_put_Underline(This,underline) (This)->lpVtbl->put_Underline(This,underline) +#define IFont_get_Strikethrough(This,pstrikethrough) (This)->lpVtbl->get_Strikethrough(This,pstrikethrough) +#define IFont_put_Strikethrough(This,strikethrough) (This)->lpVtbl->put_Strikethrough(This,strikethrough) +#define IFont_get_Weight(This,pweight) (This)->lpVtbl->get_Weight(This,pweight) +#define IFont_put_Weight(This,weight) (This)->lpVtbl->put_Weight(This,weight) +#define IFont_get_Charset(This,pcharset) (This)->lpVtbl->get_Charset(This,pcharset) +#define IFont_put_Charset(This,charset) (This)->lpVtbl->put_Charset(This,charset) +#define IFont_get_hFont(This,phfont) (This)->lpVtbl->get_hFont(This,phfont) +#define IFont_Clone(This,ppfont) (This)->lpVtbl->Clone(This,ppfont) +#define IFont_IsEqual(This,pFontOther) (This)->lpVtbl->IsEqual(This,pFontOther) +#define IFont_SetRatio(This,cyLogical,cyHimetric) (This)->lpVtbl->SetRatio(This,cyLogical,cyHimetric) +#define IFont_QueryTextMetrics(This,ptm) (This)->lpVtbl->QueryTextMetrics(This,ptm) +#define IFont_AddRefHfont(This,hfont) (This)->lpVtbl->AddRefHfont(This,hfont) +#define IFont_ReleaseHfont(This,hfont) (This)->lpVtbl->ReleaseHfont(This,hfont) +#define IFont_SetHdc(This,hdc) (This)->lpVtbl->SetHdc(This,hdc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFont_QueryInterface(IFont* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFont_AddRef(IFont* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFont_Release(IFont* This) { + return This->lpVtbl->Release(This); +} +/*** IFont methods ***/ +static FORCEINLINE HRESULT IFont_get_Name(IFont* This,BSTR *pname) { + return This->lpVtbl->get_Name(This,pname); +} +static FORCEINLINE HRESULT IFont_put_Name(IFont* This,BSTR name) { + return This->lpVtbl->put_Name(This,name); +} +static FORCEINLINE HRESULT IFont_get_Size(IFont* This,CY *psize) { + return This->lpVtbl->get_Size(This,psize); +} +static FORCEINLINE HRESULT IFont_put_Size(IFont* This,CY size) { + return This->lpVtbl->put_Size(This,size); +} +static FORCEINLINE HRESULT IFont_get_Bold(IFont* This,BOOL *pbold) { + return This->lpVtbl->get_Bold(This,pbold); +} +static FORCEINLINE HRESULT IFont_put_Bold(IFont* This,BOOL bold) { + return This->lpVtbl->put_Bold(This,bold); +} +static FORCEINLINE HRESULT IFont_get_Italic(IFont* This,BOOL *pitalic) { + return This->lpVtbl->get_Italic(This,pitalic); +} +static FORCEINLINE HRESULT IFont_put_Italic(IFont* This,BOOL italic) { + return This->lpVtbl->put_Italic(This,italic); +} +static FORCEINLINE HRESULT IFont_get_Underline(IFont* This,BOOL *punderline) { + return This->lpVtbl->get_Underline(This,punderline); +} +static FORCEINLINE HRESULT IFont_put_Underline(IFont* This,BOOL underline) { + return This->lpVtbl->put_Underline(This,underline); +} +static FORCEINLINE HRESULT IFont_get_Strikethrough(IFont* This,BOOL *pstrikethrough) { + return This->lpVtbl->get_Strikethrough(This,pstrikethrough); +} +static FORCEINLINE HRESULT IFont_put_Strikethrough(IFont* This,BOOL strikethrough) { + return This->lpVtbl->put_Strikethrough(This,strikethrough); +} +static FORCEINLINE HRESULT IFont_get_Weight(IFont* This,SHORT *pweight) { + return This->lpVtbl->get_Weight(This,pweight); +} +static FORCEINLINE HRESULT IFont_put_Weight(IFont* This,SHORT weight) { + return This->lpVtbl->put_Weight(This,weight); +} +static FORCEINLINE HRESULT IFont_get_Charset(IFont* This,SHORT *pcharset) { + return This->lpVtbl->get_Charset(This,pcharset); +} +static FORCEINLINE HRESULT IFont_put_Charset(IFont* This,SHORT charset) { + return This->lpVtbl->put_Charset(This,charset); +} +static FORCEINLINE HRESULT IFont_get_hFont(IFont* This,HFONT *phfont) { + return This->lpVtbl->get_hFont(This,phfont); +} +static FORCEINLINE HRESULT IFont_Clone(IFont* This,IFont **ppfont) { + return This->lpVtbl->Clone(This,ppfont); +} +static FORCEINLINE HRESULT IFont_IsEqual(IFont* This,IFont *pFontOther) { + return This->lpVtbl->IsEqual(This,pFontOther); +} +static FORCEINLINE HRESULT IFont_SetRatio(IFont* This,LONG cyLogical,LONG cyHimetric) { + return This->lpVtbl->SetRatio(This,cyLogical,cyHimetric); +} +static FORCEINLINE HRESULT IFont_QueryTextMetrics(IFont* This,TEXTMETRICOLE *ptm) { + return This->lpVtbl->QueryTextMetrics(This,ptm); +} +static FORCEINLINE HRESULT IFont_AddRefHfont(IFont* This,HFONT hfont) { + return This->lpVtbl->AddRefHfont(This,hfont); +} +static FORCEINLINE HRESULT IFont_ReleaseHfont(IFont* This,HFONT hfont) { + return This->lpVtbl->ReleaseHfont(This,hfont); +} +static FORCEINLINE HRESULT IFont_SetHdc(IFont* This,HDC hdc) { + return This->lpVtbl->SetHdc(This,hdc); +} +#endif +#endif + +#endif + + +#endif /* __IFont_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFontDisp interface + */ +#ifndef __IFontDisp_INTERFACE_DEFINED__ +#define __IFontDisp_INTERFACE_DEFINED__ + +typedef IFontDisp *LPFONTDISP; +DEFINE_GUID(IID_IFontDisp, 0xbef6e003, 0xa874, 0x101a, 0x8b,0xba, 0x00,0xaa,0x00,0x30,0x0c,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bef6e003-a874-101a-8bba-00aa00300cab") +IFontDisp : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFontDisp, 0xbef6e003, 0xa874, 0x101a, 0x8b,0xba, 0x00,0xaa,0x00,0x30,0x0c,0xab) +#endif +#else +typedef struct IFontDispVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFontDisp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFontDisp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFontDisp *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFontDisp *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFontDisp *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFontDisp *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFontDisp *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} IFontDispVtbl; + +interface IFontDisp { + CONST_VTBL IFontDispVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFontDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFontDisp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFontDisp_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFontDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFontDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFontDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFontDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFontDisp_QueryInterface(IFontDisp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFontDisp_AddRef(IFontDisp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFontDisp_Release(IFontDisp* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFontDisp_GetTypeInfoCount(IFontDisp* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFontDisp_GetTypeInfo(IFontDisp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFontDisp_GetIDsOfNames(IFontDisp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFontDisp_Invoke(IFontDisp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + + +#endif /* __IFontDisp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFontEventsDisp interface + */ +#ifndef __IFontEventsDisp_INTERFACE_DEFINED__ +#define __IFontEventsDisp_INTERFACE_DEFINED__ + +typedef IFontEventsDisp *LPFONTEVENTS; +DEFINE_GUID(IID_IFontEventsDisp, 0x4ef6100a, 0xaf88, 0x11d0, 0x98,0x46, 0x00,0xc0,0x4f,0xc2,0x99,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4ef6100a-af88-11d0-9846-00c04fc29993") +IFontEventsDisp : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFontEventsDisp, 0x4ef6100a, 0xaf88, 0x11d0, 0x98,0x46, 0x00,0xc0,0x4f,0xc2,0x99,0x93) +#endif +#else +typedef struct IFontEventsDispVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFontEventsDisp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFontEventsDisp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFontEventsDisp *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFontEventsDisp *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFontEventsDisp *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFontEventsDisp *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFontEventsDisp *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} IFontEventsDispVtbl; + +interface IFontEventsDisp { + CONST_VTBL IFontEventsDispVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFontEventsDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFontEventsDisp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFontEventsDisp_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFontEventsDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFontEventsDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFontEventsDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFontEventsDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFontEventsDisp_QueryInterface(IFontEventsDisp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFontEventsDisp_AddRef(IFontEventsDisp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFontEventsDisp_Release(IFontEventsDisp* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFontEventsDisp_GetTypeInfoCount(IFontEventsDisp* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFontEventsDisp_GetTypeInfo(IFontEventsDisp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFontEventsDisp_GetIDsOfNames(IFontEventsDisp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFontEventsDisp_Invoke(IFontEventsDisp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + + +#endif /* __IFontEventsDisp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPicture interface + */ +#ifndef __IPicture_INTERFACE_DEFINED__ +#define __IPicture_INTERFACE_DEFINED__ + +typedef IPicture *LPPICTURE; +typedef enum tagPicture { + PICTURE_SCALABLE = 0x1, + PICTURE_TRANSPARENT = 0x2 +} PICTUREATTRIBUTES; +typedef UINT OLE_HANDLE; +typedef LONG OLE_XPOS_HIMETRIC; +typedef LONG OLE_YPOS_HIMETRIC; +typedef LONG OLE_XSIZE_HIMETRIC; +typedef LONG OLE_YSIZE_HIMETRIC; +DEFINE_GUID(IID_IPicture, 0x7bf80980, 0xbf32, 0x101a, 0x8b,0xbb, 0x00,0xaa,0x00,0x30,0x0c,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7bf80980-bf32-101a-8bbb-00aa00300cab") +IPicture : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_Handle( + OLE_HANDLE *pHandle) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hPal( + OLE_HANDLE *phPal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + SHORT *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Width( + OLE_XSIZE_HIMETRIC *pWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Height( + OLE_YSIZE_HIMETRIC *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE Render( + HDC hdc, + LONG x, + LONG y, + LONG cx, + LONG cy, + OLE_XPOS_HIMETRIC xSrc, + OLE_YPOS_HIMETRIC ySrc, + OLE_XSIZE_HIMETRIC cxSrc, + OLE_YSIZE_HIMETRIC cySrc, + LPCRECT pRcWBounds) = 0; + + virtual HRESULT STDMETHODCALLTYPE set_hPal( + OLE_HANDLE hPal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurDC( + HDC *phDC) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectPicture( + HDC hDCIn, + HDC *phDCOut, + OLE_HANDLE *phBmpOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_KeepOriginalFormat( + BOOL *pKeep) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_KeepOriginalFormat( + BOOL keep) = 0; + + virtual HRESULT STDMETHODCALLTYPE PictureChanged( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveAsFile( + LPSTREAM pStream, + BOOL fSaveMemCopy, + LONG *pCbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Attributes( + DWORD *pDwAttr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPicture, 0x7bf80980, 0xbf32, 0x101a, 0x8b,0xbb, 0x00,0xaa,0x00,0x30,0x0c,0xab) +#endif +#else +typedef struct IPictureVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPicture *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPicture *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPicture *This); + + /*** IPicture methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Handle)( + IPicture *This, + OLE_HANDLE *pHandle); + + HRESULT (STDMETHODCALLTYPE *get_hPal)( + IPicture *This, + OLE_HANDLE *phPal); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IPicture *This, + SHORT *pType); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IPicture *This, + OLE_XSIZE_HIMETRIC *pWidth); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IPicture *This, + OLE_YSIZE_HIMETRIC *pHeight); + + HRESULT (STDMETHODCALLTYPE *Render)( + IPicture *This, + HDC hdc, + LONG x, + LONG y, + LONG cx, + LONG cy, + OLE_XPOS_HIMETRIC xSrc, + OLE_YPOS_HIMETRIC ySrc, + OLE_XSIZE_HIMETRIC cxSrc, + OLE_YSIZE_HIMETRIC cySrc, + LPCRECT pRcWBounds); + + HRESULT (STDMETHODCALLTYPE *set_hPal)( + IPicture *This, + OLE_HANDLE hPal); + + HRESULT (STDMETHODCALLTYPE *get_CurDC)( + IPicture *This, + HDC *phDC); + + HRESULT (STDMETHODCALLTYPE *SelectPicture)( + IPicture *This, + HDC hDCIn, + HDC *phDCOut, + OLE_HANDLE *phBmpOut); + + HRESULT (STDMETHODCALLTYPE *get_KeepOriginalFormat)( + IPicture *This, + BOOL *pKeep); + + HRESULT (STDMETHODCALLTYPE *put_KeepOriginalFormat)( + IPicture *This, + BOOL keep); + + HRESULT (STDMETHODCALLTYPE *PictureChanged)( + IPicture *This); + + HRESULT (STDMETHODCALLTYPE *SaveAsFile)( + IPicture *This, + LPSTREAM pStream, + BOOL fSaveMemCopy, + LONG *pCbSize); + + HRESULT (STDMETHODCALLTYPE *get_Attributes)( + IPicture *This, + DWORD *pDwAttr); + + END_INTERFACE +} IPictureVtbl; + +interface IPicture { + CONST_VTBL IPictureVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPicture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPicture_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPicture_Release(This) (This)->lpVtbl->Release(This) +/*** IPicture methods ***/ +#define IPicture_get_Handle(This,pHandle) (This)->lpVtbl->get_Handle(This,pHandle) +#define IPicture_get_hPal(This,phPal) (This)->lpVtbl->get_hPal(This,phPal) +#define IPicture_get_Type(This,pType) (This)->lpVtbl->get_Type(This,pType) +#define IPicture_get_Width(This,pWidth) (This)->lpVtbl->get_Width(This,pWidth) +#define IPicture_get_Height(This,pHeight) (This)->lpVtbl->get_Height(This,pHeight) +#define IPicture_Render(This,hdc,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds) (This)->lpVtbl->Render(This,hdc,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds) +#define IPicture_set_hPal(This,hPal) (This)->lpVtbl->set_hPal(This,hPal) +#define IPicture_get_CurDC(This,phDC) (This)->lpVtbl->get_CurDC(This,phDC) +#define IPicture_SelectPicture(This,hDCIn,phDCOut,phBmpOut) (This)->lpVtbl->SelectPicture(This,hDCIn,phDCOut,phBmpOut) +#define IPicture_get_KeepOriginalFormat(This,pKeep) (This)->lpVtbl->get_KeepOriginalFormat(This,pKeep) +#define IPicture_put_KeepOriginalFormat(This,keep) (This)->lpVtbl->put_KeepOriginalFormat(This,keep) +#define IPicture_PictureChanged(This) (This)->lpVtbl->PictureChanged(This) +#define IPicture_SaveAsFile(This,pStream,fSaveMemCopy,pCbSize) (This)->lpVtbl->SaveAsFile(This,pStream,fSaveMemCopy,pCbSize) +#define IPicture_get_Attributes(This,pDwAttr) (This)->lpVtbl->get_Attributes(This,pDwAttr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPicture_QueryInterface(IPicture* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPicture_AddRef(IPicture* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPicture_Release(IPicture* This) { + return This->lpVtbl->Release(This); +} +/*** IPicture methods ***/ +static FORCEINLINE HRESULT IPicture_get_Handle(IPicture* This,OLE_HANDLE *pHandle) { + return This->lpVtbl->get_Handle(This,pHandle); +} +static FORCEINLINE HRESULT IPicture_get_hPal(IPicture* This,OLE_HANDLE *phPal) { + return This->lpVtbl->get_hPal(This,phPal); +} +static FORCEINLINE HRESULT IPicture_get_Type(IPicture* This,SHORT *pType) { + return This->lpVtbl->get_Type(This,pType); +} +static FORCEINLINE HRESULT IPicture_get_Width(IPicture* This,OLE_XSIZE_HIMETRIC *pWidth) { + return This->lpVtbl->get_Width(This,pWidth); +} +static FORCEINLINE HRESULT IPicture_get_Height(IPicture* This,OLE_YSIZE_HIMETRIC *pHeight) { + return This->lpVtbl->get_Height(This,pHeight); +} +static FORCEINLINE HRESULT IPicture_Render(IPicture* This,HDC hdc,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds) { + return This->lpVtbl->Render(This,hdc,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds); +} +static FORCEINLINE HRESULT IPicture_set_hPal(IPicture* This,OLE_HANDLE hPal) { + return This->lpVtbl->set_hPal(This,hPal); +} +static FORCEINLINE HRESULT IPicture_get_CurDC(IPicture* This,HDC *phDC) { + return This->lpVtbl->get_CurDC(This,phDC); +} +static FORCEINLINE HRESULT IPicture_SelectPicture(IPicture* This,HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut) { + return This->lpVtbl->SelectPicture(This,hDCIn,phDCOut,phBmpOut); +} +static FORCEINLINE HRESULT IPicture_get_KeepOriginalFormat(IPicture* This,BOOL *pKeep) { + return This->lpVtbl->get_KeepOriginalFormat(This,pKeep); +} +static FORCEINLINE HRESULT IPicture_put_KeepOriginalFormat(IPicture* This,BOOL keep) { + return This->lpVtbl->put_KeepOriginalFormat(This,keep); +} +static FORCEINLINE HRESULT IPicture_PictureChanged(IPicture* This) { + return This->lpVtbl->PictureChanged(This); +} +static FORCEINLINE HRESULT IPicture_SaveAsFile(IPicture* This,LPSTREAM pStream,BOOL fSaveMemCopy,LONG *pCbSize) { + return This->lpVtbl->SaveAsFile(This,pStream,fSaveMemCopy,pCbSize); +} +static FORCEINLINE HRESULT IPicture_get_Attributes(IPicture* This,DWORD *pDwAttr) { + return This->lpVtbl->get_Attributes(This,pDwAttr); +} +#endif +#endif + +#endif + + +#endif /* __IPicture_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPictureDisp interface + */ +#ifndef __IPictureDisp_INTERFACE_DEFINED__ +#define __IPictureDisp_INTERFACE_DEFINED__ + +typedef IPictureDisp *LPPICTUREDISP; +DEFINE_GUID(IID_IPictureDisp, 0x7bf80981, 0xbf32, 0x101a, 0x8b,0xbb, 0x00,0xaa,0x00,0x30,0x0c,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7bf80981-bf32-101a-8bbb-00aa00300cab") +IPictureDisp : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPictureDisp, 0x7bf80981, 0xbf32, 0x101a, 0x8b,0xbb, 0x00,0xaa,0x00,0x30,0x0c,0xab) +#endif +#else +typedef struct IPictureDispVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPictureDisp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPictureDisp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPictureDisp *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IPictureDisp *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IPictureDisp *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IPictureDisp *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IPictureDisp *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} IPictureDispVtbl; + +interface IPictureDisp { + CONST_VTBL IPictureDispVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPictureDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPictureDisp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPictureDisp_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IPictureDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IPictureDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IPictureDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IPictureDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPictureDisp_QueryInterface(IPictureDisp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPictureDisp_AddRef(IPictureDisp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPictureDisp_Release(IPictureDisp* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IPictureDisp_GetTypeInfoCount(IPictureDisp* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IPictureDisp_GetTypeInfo(IPictureDisp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IPictureDisp_GetIDsOfNames(IPictureDisp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IPictureDisp_Invoke(IPictureDisp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + + +#endif /* __IPictureDisp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleControl interface + */ +#ifndef __IOleControl_INTERFACE_DEFINED__ +#define __IOleControl_INTERFACE_DEFINED__ + +typedef IOleControl *LPOLECONTROL; +typedef struct tagCONTROLINFO { + ULONG cb; + HACCEL hAccel; + USHORT cAccel; + DWORD dwFlags; +} CONTROLINFO; +typedef struct tagCONTROLINFO *LPCONTROLINFO; +typedef enum tagCTRLINFO { + CTRLINFO_EATS_RETURN = 1, + CTRLINFO_EATS_ESCAPE = 2 +} CTRLINFO; +DEFINE_GUID(IID_IOleControl, 0xb196b288, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b288-bab4-101a-b69c-00aa00341d07") +IOleControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetControlInfo( + CONTROLINFO *pCI) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnMnemonic( + MSG *pMsg) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnAmbientPropertyChange( + DISPID dispID) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreezeEvents( + BOOL bFreeze) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleControl, 0xb196b288, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IOleControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleControl *This); + + /*** IOleControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetControlInfo)( + IOleControl *This, + CONTROLINFO *pCI); + + HRESULT (STDMETHODCALLTYPE *OnMnemonic)( + IOleControl *This, + MSG *pMsg); + + HRESULT (STDMETHODCALLTYPE *OnAmbientPropertyChange)( + IOleControl *This, + DISPID dispID); + + HRESULT (STDMETHODCALLTYPE *FreezeEvents)( + IOleControl *This, + BOOL bFreeze); + + END_INTERFACE +} IOleControlVtbl; + +interface IOleControl { + CONST_VTBL IOleControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleControl_Release(This) (This)->lpVtbl->Release(This) +/*** IOleControl methods ***/ +#define IOleControl_GetControlInfo(This,pCI) (This)->lpVtbl->GetControlInfo(This,pCI) +#define IOleControl_OnMnemonic(This,pMsg) (This)->lpVtbl->OnMnemonic(This,pMsg) +#define IOleControl_OnAmbientPropertyChange(This,dispID) (This)->lpVtbl->OnAmbientPropertyChange(This,dispID) +#define IOleControl_FreezeEvents(This,bFreeze) (This)->lpVtbl->FreezeEvents(This,bFreeze) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleControl_QueryInterface(IOleControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleControl_AddRef(IOleControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleControl_Release(IOleControl* This) { + return This->lpVtbl->Release(This); +} +/*** IOleControl methods ***/ +static FORCEINLINE HRESULT IOleControl_GetControlInfo(IOleControl* This,CONTROLINFO *pCI) { + return This->lpVtbl->GetControlInfo(This,pCI); +} +static FORCEINLINE HRESULT IOleControl_OnMnemonic(IOleControl* This,MSG *pMsg) { + return This->lpVtbl->OnMnemonic(This,pMsg); +} +static FORCEINLINE HRESULT IOleControl_OnAmbientPropertyChange(IOleControl* This,DISPID dispID) { + return This->lpVtbl->OnAmbientPropertyChange(This,dispID); +} +static FORCEINLINE HRESULT IOleControl_FreezeEvents(IOleControl* This,BOOL bFreeze) { + return This->lpVtbl->FreezeEvents(This,bFreeze); +} +#endif +#endif + +#endif + + +#endif /* __IOleControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleControlSite interface + */ +#ifndef __IOleControlSite_INTERFACE_DEFINED__ +#define __IOleControlSite_INTERFACE_DEFINED__ + +typedef IOleControlSite *LPOLECONTROLSITE; +typedef struct tagPOINTF { + FLOAT x; + FLOAT y; +} POINTF; +typedef struct tagPOINTF *LPPOINTF; +typedef enum tagXFORMCOORDS { + XFORMCOORDS_POSITION = 0x1, + XFORMCOORDS_SIZE = 0x2, + XFORMCOORDS_HIMETRICTOCONTAINER = 0x4, + XFORMCOORDS_CONTAINERTOHIMETRIC = 0x8, + XFORMCOORDS_EVENTCOMPAT = 0x10 +} XFORMCOORDS; +DEFINE_GUID(IID_IOleControlSite, 0xb196b289, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b289-bab4-101a-b69c-00aa00341d07") +IOleControlSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnControlInfoChanged( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockInPlaceActive( + BOOL fLock) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExtendedControl( + IDispatch **ppDisp) = 0; + + virtual HRESULT STDMETHODCALLTYPE TransformCoords( + POINTL *pPtlHimetric, + POINTF *pPtfContainer, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + MSG *pMsg, + DWORD grfModifiers) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFocus( + BOOL fGotFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowPropertyFrame( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleControlSite, 0xb196b289, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IOleControlSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleControlSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleControlSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleControlSite *This); + + /*** IOleControlSite methods ***/ + HRESULT (STDMETHODCALLTYPE *OnControlInfoChanged)( + IOleControlSite *This); + + HRESULT (STDMETHODCALLTYPE *LockInPlaceActive)( + IOleControlSite *This, + BOOL fLock); + + HRESULT (STDMETHODCALLTYPE *GetExtendedControl)( + IOleControlSite *This, + IDispatch **ppDisp); + + HRESULT (STDMETHODCALLTYPE *TransformCoords)( + IOleControlSite *This, + POINTL *pPtlHimetric, + POINTF *pPtfContainer, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IOleControlSite *This, + MSG *pMsg, + DWORD grfModifiers); + + HRESULT (STDMETHODCALLTYPE *OnFocus)( + IOleControlSite *This, + BOOL fGotFocus); + + HRESULT (STDMETHODCALLTYPE *ShowPropertyFrame)( + IOleControlSite *This); + + END_INTERFACE +} IOleControlSiteVtbl; + +interface IOleControlSite { + CONST_VTBL IOleControlSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleControlSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleControlSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleControlSite_Release(This) (This)->lpVtbl->Release(This) +/*** IOleControlSite methods ***/ +#define IOleControlSite_OnControlInfoChanged(This) (This)->lpVtbl->OnControlInfoChanged(This) +#define IOleControlSite_LockInPlaceActive(This,fLock) (This)->lpVtbl->LockInPlaceActive(This,fLock) +#define IOleControlSite_GetExtendedControl(This,ppDisp) (This)->lpVtbl->GetExtendedControl(This,ppDisp) +#define IOleControlSite_TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags) (This)->lpVtbl->TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags) +#define IOleControlSite_TranslateAccelerator(This,pMsg,grfModifiers) (This)->lpVtbl->TranslateAccelerator(This,pMsg,grfModifiers) +#define IOleControlSite_OnFocus(This,fGotFocus) (This)->lpVtbl->OnFocus(This,fGotFocus) +#define IOleControlSite_ShowPropertyFrame(This) (This)->lpVtbl->ShowPropertyFrame(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleControlSite_QueryInterface(IOleControlSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleControlSite_AddRef(IOleControlSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleControlSite_Release(IOleControlSite* This) { + return This->lpVtbl->Release(This); +} +/*** IOleControlSite methods ***/ +static FORCEINLINE HRESULT IOleControlSite_OnControlInfoChanged(IOleControlSite* This) { + return This->lpVtbl->OnControlInfoChanged(This); +} +static FORCEINLINE HRESULT IOleControlSite_LockInPlaceActive(IOleControlSite* This,BOOL fLock) { + return This->lpVtbl->LockInPlaceActive(This,fLock); +} +static FORCEINLINE HRESULT IOleControlSite_GetExtendedControl(IOleControlSite* This,IDispatch **ppDisp) { + return This->lpVtbl->GetExtendedControl(This,ppDisp); +} +static FORCEINLINE HRESULT IOleControlSite_TransformCoords(IOleControlSite* This,POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags) { + return This->lpVtbl->TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags); +} +static FORCEINLINE HRESULT IOleControlSite_TranslateAccelerator(IOleControlSite* This,MSG *pMsg,DWORD grfModifiers) { + return This->lpVtbl->TranslateAccelerator(This,pMsg,grfModifiers); +} +static FORCEINLINE HRESULT IOleControlSite_OnFocus(IOleControlSite* This,BOOL fGotFocus) { + return This->lpVtbl->OnFocus(This,fGotFocus); +} +static FORCEINLINE HRESULT IOleControlSite_ShowPropertyFrame(IOleControlSite* This) { + return This->lpVtbl->ShowPropertyFrame(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleControlSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceSiteEx interface + */ +#ifndef __IOleInPlaceSiteEx_INTERFACE_DEFINED__ +#define __IOleInPlaceSiteEx_INTERFACE_DEFINED__ + +typedef IOleInPlaceSiteEx *LPOLEINPLACESITEEX; +typedef enum tagACTIVATEFLAGS { + ACTIVATE_WINDOWLESS = 1 +} ACTIVATE_FLAGS; +DEFINE_GUID(IID_IOleInPlaceSiteEx, 0x9c2cad80, 0x3424, 0x11cf, 0xb6,0x70, 0x00,0xaa,0x00,0x4c,0xd6,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9c2cad80-3424-11cf-b670-00aa004cd6d8") +IOleInPlaceSiteEx : public IOleInPlaceSite +{ + virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivateEx( + BOOL *pfNoRedraw, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivateEx( + BOOL fNoRedraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestUIActivate( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceSiteEx, 0x9c2cad80, 0x3424, 0x11cf, 0xb6,0x70, 0x00,0xaa,0x00,0x4c,0xd6,0xd8) +#endif +#else +typedef struct IOleInPlaceSiteExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceSiteEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceSiteEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceSiteEx *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceSiteEx *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceSiteEx *This, + BOOL fEnterMode); + + /*** IOleInPlaceSite methods ***/ + HRESULT (STDMETHODCALLTYPE *CanInPlaceActivate)( + IOleInPlaceSiteEx *This); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceActivate)( + IOleInPlaceSiteEx *This); + + HRESULT (STDMETHODCALLTYPE *OnUIActivate)( + IOleInPlaceSiteEx *This); + + HRESULT (STDMETHODCALLTYPE *GetWindowContext)( + IOleInPlaceSiteEx *This, + IOleInPlaceFrame **ppFrame, + IOleInPlaceUIWindow **ppDoc, + LPRECT lprcPosRect, + LPRECT lprcClipRect, + LPOLEINPLACEFRAMEINFO lpFrameInfo); + + HRESULT (STDMETHODCALLTYPE *Scroll)( + IOleInPlaceSiteEx *This, + SIZE scrollExtent); + + HRESULT (STDMETHODCALLTYPE *OnUIDeactivate)( + IOleInPlaceSiteEx *This, + BOOL fUndoable); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceDeactivate)( + IOleInPlaceSiteEx *This); + + HRESULT (STDMETHODCALLTYPE *DiscardUndoState)( + IOleInPlaceSiteEx *This); + + HRESULT (STDMETHODCALLTYPE *DeactivateAndUndo)( + IOleInPlaceSiteEx *This); + + HRESULT (STDMETHODCALLTYPE *OnPosRectChange)( + IOleInPlaceSiteEx *This, + LPCRECT lprcPosRect); + + /*** IOleInPlaceSiteEx methods ***/ + HRESULT (STDMETHODCALLTYPE *OnInPlaceActivateEx)( + IOleInPlaceSiteEx *This, + BOOL *pfNoRedraw, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceDeactivateEx)( + IOleInPlaceSiteEx *This, + BOOL fNoRedraw); + + HRESULT (STDMETHODCALLTYPE *RequestUIActivate)( + IOleInPlaceSiteEx *This); + + END_INTERFACE +} IOleInPlaceSiteExVtbl; + +interface IOleInPlaceSiteEx { + CONST_VTBL IOleInPlaceSiteExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceSiteEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceSiteEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceSiteEx_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceSiteEx_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceSiteEx_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceSite methods ***/ +#define IOleInPlaceSiteEx_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This) +#define IOleInPlaceSiteEx_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This) +#define IOleInPlaceSiteEx_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This) +#define IOleInPlaceSiteEx_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) +#define IOleInPlaceSiteEx_Scroll(This,scrollExtent) (This)->lpVtbl->Scroll(This,scrollExtent) +#define IOleInPlaceSiteEx_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable) +#define IOleInPlaceSiteEx_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This) +#define IOleInPlaceSiteEx_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This) +#define IOleInPlaceSiteEx_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This) +#define IOleInPlaceSiteEx_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect) +/*** IOleInPlaceSiteEx methods ***/ +#define IOleInPlaceSiteEx_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) (This)->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) +#define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(This,fNoRedraw) (This)->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw) +#define IOleInPlaceSiteEx_RequestUIActivate(This) (This)->lpVtbl->RequestUIActivate(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteEx_QueryInterface(IOleInPlaceSiteEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceSiteEx_AddRef(IOleInPlaceSiteEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceSiteEx_Release(IOleInPlaceSiteEx* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteEx_GetWindow(IOleInPlaceSiteEx* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_ContextSensitiveHelp(IOleInPlaceSiteEx* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceSite methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteEx_CanInPlaceActivate(IOleInPlaceSiteEx* This) { + return This->lpVtbl->CanInPlaceActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnInPlaceActivate(IOleInPlaceSiteEx* This) { + return This->lpVtbl->OnInPlaceActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnUIActivate(IOleInPlaceSiteEx* This) { + return This->lpVtbl->OnUIActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_GetWindowContext(IOleInPlaceSiteEx* This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo) { + return This->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_Scroll(IOleInPlaceSiteEx* This,SIZE scrollExtent) { + return This->lpVtbl->Scroll(This,scrollExtent); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnUIDeactivate(IOleInPlaceSiteEx* This,BOOL fUndoable) { + return This->lpVtbl->OnUIDeactivate(This,fUndoable); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnInPlaceDeactivate(IOleInPlaceSiteEx* This) { + return This->lpVtbl->OnInPlaceDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_DiscardUndoState(IOleInPlaceSiteEx* This) { + return This->lpVtbl->DiscardUndoState(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_DeactivateAndUndo(IOleInPlaceSiteEx* This) { + return This->lpVtbl->DeactivateAndUndo(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnPosRectChange(IOleInPlaceSiteEx* This,LPCRECT lprcPosRect) { + return This->lpVtbl->OnPosRectChange(This,lprcPosRect); +} +/*** IOleInPlaceSiteEx methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnInPlaceActivateEx(IOleInPlaceSiteEx* This,BOOL *pfNoRedraw,DWORD dwFlags) { + return This->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_OnInPlaceDeactivateEx(IOleInPlaceSiteEx* This,BOOL fNoRedraw) { + return This->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw); +} +static FORCEINLINE HRESULT IOleInPlaceSiteEx_RequestUIActivate(IOleInPlaceSiteEx* This) { + return This->lpVtbl->RequestUIActivate(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceSiteEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceSiteWindowless interface + */ +#ifndef __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__ +#define __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__ + +typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS; +typedef enum tagOLEDCFLAGS { + OLEDC_NODRAW = 0x1, + OLEDC_PAINTBKGND = 0x2, + OLEDC_OFFSCREEN = 0x4 +} OLEDCFLAGS; +DEFINE_GUID(IID_IOleInPlaceSiteWindowless, 0x922eada0, 0x3424, 0x11cf, 0xb6,0x70, 0x00,0xaa,0x00,0x4c,0xd6,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("922eada0-3424-11cf-b670-00aa004cd6d8") +IOleInPlaceSiteWindowless : public IOleInPlaceSiteEx +{ + virtual HRESULT STDMETHODCALLTYPE CanWindowlessActivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCapture( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCapture( + BOOL fCapture) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFocus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFocus( + BOOL fFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDC( + LPCRECT pRect, + DWORD grfFlags, + HDC *phDC) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseDC( + HDC hDC) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvalidateRect( + LPCRECT pRect, + BOOL fErase) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvalidateRgn( + HRGN hRGN, + BOOL fErase) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScrollRect( + INT dx, + INT dy, + LPCRECT pRectScroll, + LPCRECT pRectClip) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdjustRect( + LPRECT prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDefWindowMessage( + UINT msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceSiteWindowless, 0x922eada0, 0x3424, 0x11cf, 0xb6,0x70, 0x00,0xaa,0x00,0x4c,0xd6,0xd8) +#endif +#else +typedef struct IOleInPlaceSiteWindowlessVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceSiteWindowless *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceSiteWindowless *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceSiteWindowless *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceSiteWindowless *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceSiteWindowless *This, + BOOL fEnterMode); + + /*** IOleInPlaceSite methods ***/ + HRESULT (STDMETHODCALLTYPE *CanInPlaceActivate)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceActivate)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *OnUIActivate)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *GetWindowContext)( + IOleInPlaceSiteWindowless *This, + IOleInPlaceFrame **ppFrame, + IOleInPlaceUIWindow **ppDoc, + LPRECT lprcPosRect, + LPRECT lprcClipRect, + LPOLEINPLACEFRAMEINFO lpFrameInfo); + + HRESULT (STDMETHODCALLTYPE *Scroll)( + IOleInPlaceSiteWindowless *This, + SIZE scrollExtent); + + HRESULT (STDMETHODCALLTYPE *OnUIDeactivate)( + IOleInPlaceSiteWindowless *This, + BOOL fUndoable); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceDeactivate)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *DiscardUndoState)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *DeactivateAndUndo)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *OnPosRectChange)( + IOleInPlaceSiteWindowless *This, + LPCRECT lprcPosRect); + + /*** IOleInPlaceSiteEx methods ***/ + HRESULT (STDMETHODCALLTYPE *OnInPlaceActivateEx)( + IOleInPlaceSiteWindowless *This, + BOOL *pfNoRedraw, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceDeactivateEx)( + IOleInPlaceSiteWindowless *This, + BOOL fNoRedraw); + + HRESULT (STDMETHODCALLTYPE *RequestUIActivate)( + IOleInPlaceSiteWindowless *This); + + /*** IOleInPlaceSiteWindowless methods ***/ + HRESULT (STDMETHODCALLTYPE *CanWindowlessActivate)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *GetCapture)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *SetCapture)( + IOleInPlaceSiteWindowless *This, + BOOL fCapture); + + HRESULT (STDMETHODCALLTYPE *GetFocus)( + IOleInPlaceSiteWindowless *This); + + HRESULT (STDMETHODCALLTYPE *SetFocus)( + IOleInPlaceSiteWindowless *This, + BOOL fFocus); + + HRESULT (STDMETHODCALLTYPE *GetDC)( + IOleInPlaceSiteWindowless *This, + LPCRECT pRect, + DWORD grfFlags, + HDC *phDC); + + HRESULT (STDMETHODCALLTYPE *ReleaseDC)( + IOleInPlaceSiteWindowless *This, + HDC hDC); + + HRESULT (STDMETHODCALLTYPE *InvalidateRect)( + IOleInPlaceSiteWindowless *This, + LPCRECT pRect, + BOOL fErase); + + HRESULT (STDMETHODCALLTYPE *InvalidateRgn)( + IOleInPlaceSiteWindowless *This, + HRGN hRGN, + BOOL fErase); + + HRESULT (STDMETHODCALLTYPE *ScrollRect)( + IOleInPlaceSiteWindowless *This, + INT dx, + INT dy, + LPCRECT pRectScroll, + LPCRECT pRectClip); + + HRESULT (STDMETHODCALLTYPE *AdjustRect)( + IOleInPlaceSiteWindowless *This, + LPRECT prc); + + HRESULT (STDMETHODCALLTYPE *OnDefWindowMessage)( + IOleInPlaceSiteWindowless *This, + UINT msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult); + + END_INTERFACE +} IOleInPlaceSiteWindowlessVtbl; + +interface IOleInPlaceSiteWindowless { + CONST_VTBL IOleInPlaceSiteWindowlessVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceSiteWindowless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceSiteWindowless_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceSiteWindowless_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceSiteWindowless_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceSiteWindowless_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceSite methods ***/ +#define IOleInPlaceSiteWindowless_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This) +#define IOleInPlaceSiteWindowless_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This) +#define IOleInPlaceSiteWindowless_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This) +#define IOleInPlaceSiteWindowless_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) +#define IOleInPlaceSiteWindowless_Scroll(This,scrollExtent) (This)->lpVtbl->Scroll(This,scrollExtent) +#define IOleInPlaceSiteWindowless_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable) +#define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This) +#define IOleInPlaceSiteWindowless_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This) +#define IOleInPlaceSiteWindowless_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This) +#define IOleInPlaceSiteWindowless_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect) +/*** IOleInPlaceSiteEx methods ***/ +#define IOleInPlaceSiteWindowless_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) (This)->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) +#define IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(This,fNoRedraw) (This)->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw) +#define IOleInPlaceSiteWindowless_RequestUIActivate(This) (This)->lpVtbl->RequestUIActivate(This) +/*** IOleInPlaceSiteWindowless methods ***/ +#define IOleInPlaceSiteWindowless_CanWindowlessActivate(This) (This)->lpVtbl->CanWindowlessActivate(This) +#define IOleInPlaceSiteWindowless_GetCapture(This) (This)->lpVtbl->GetCapture(This) +#define IOleInPlaceSiteWindowless_SetCapture(This,fCapture) (This)->lpVtbl->SetCapture(This,fCapture) +#define IOleInPlaceSiteWindowless_GetFocus(This) (This)->lpVtbl->GetFocus(This) +#define IOleInPlaceSiteWindowless_SetFocus(This,fFocus) (This)->lpVtbl->SetFocus(This,fFocus) +#define IOleInPlaceSiteWindowless_GetDC(This,pRect,grfFlags,phDC) (This)->lpVtbl->GetDC(This,pRect,grfFlags,phDC) +#define IOleInPlaceSiteWindowless_ReleaseDC(This,hDC) (This)->lpVtbl->ReleaseDC(This,hDC) +#define IOleInPlaceSiteWindowless_InvalidateRect(This,pRect,fErase) (This)->lpVtbl->InvalidateRect(This,pRect,fErase) +#define IOleInPlaceSiteWindowless_InvalidateRgn(This,hRGN,fErase) (This)->lpVtbl->InvalidateRgn(This,hRGN,fErase) +#define IOleInPlaceSiteWindowless_ScrollRect(This,dx,dy,pRectScroll,pRectClip) (This)->lpVtbl->ScrollRect(This,dx,dy,pRectScroll,pRectClip) +#define IOleInPlaceSiteWindowless_AdjustRect(This,prc) (This)->lpVtbl->AdjustRect(This,prc) +#define IOleInPlaceSiteWindowless_OnDefWindowMessage(This,msg,wParam,lParam,plResult) (This)->lpVtbl->OnDefWindowMessage(This,msg,wParam,lParam,plResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_QueryInterface(IOleInPlaceSiteWindowless* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceSiteWindowless_AddRef(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceSiteWindowless_Release(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_GetWindow(IOleInPlaceSiteWindowless* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_ContextSensitiveHelp(IOleInPlaceSiteWindowless* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceSite methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_CanInPlaceActivate(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->CanInPlaceActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnInPlaceActivate(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->OnInPlaceActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnUIActivate(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->OnUIActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_GetWindowContext(IOleInPlaceSiteWindowless* This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo) { + return This->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_Scroll(IOleInPlaceSiteWindowless* This,SIZE scrollExtent) { + return This->lpVtbl->Scroll(This,scrollExtent); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnUIDeactivate(IOleInPlaceSiteWindowless* This,BOOL fUndoable) { + return This->lpVtbl->OnUIDeactivate(This,fUndoable); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnInPlaceDeactivate(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->OnInPlaceDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_DiscardUndoState(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->DiscardUndoState(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_DeactivateAndUndo(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->DeactivateAndUndo(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnPosRectChange(IOleInPlaceSiteWindowless* This,LPCRECT lprcPosRect) { + return This->lpVtbl->OnPosRectChange(This,lprcPosRect); +} +/*** IOleInPlaceSiteEx methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnInPlaceActivateEx(IOleInPlaceSiteWindowless* This,BOOL *pfNoRedraw,DWORD dwFlags) { + return This->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(IOleInPlaceSiteWindowless* This,BOOL fNoRedraw) { + return This->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_RequestUIActivate(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->RequestUIActivate(This); +} +/*** IOleInPlaceSiteWindowless methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_CanWindowlessActivate(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->CanWindowlessActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_GetCapture(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->GetCapture(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_SetCapture(IOleInPlaceSiteWindowless* This,BOOL fCapture) { + return This->lpVtbl->SetCapture(This,fCapture); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_GetFocus(IOleInPlaceSiteWindowless* This) { + return This->lpVtbl->GetFocus(This); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_SetFocus(IOleInPlaceSiteWindowless* This,BOOL fFocus) { + return This->lpVtbl->SetFocus(This,fFocus); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_GetDC(IOleInPlaceSiteWindowless* This,LPCRECT pRect,DWORD grfFlags,HDC *phDC) { + return This->lpVtbl->GetDC(This,pRect,grfFlags,phDC); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_ReleaseDC(IOleInPlaceSiteWindowless* This,HDC hDC) { + return This->lpVtbl->ReleaseDC(This,hDC); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_InvalidateRect(IOleInPlaceSiteWindowless* This,LPCRECT pRect,BOOL fErase) { + return This->lpVtbl->InvalidateRect(This,pRect,fErase); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_InvalidateRgn(IOleInPlaceSiteWindowless* This,HRGN hRGN,BOOL fErase) { + return This->lpVtbl->InvalidateRgn(This,hRGN,fErase); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_ScrollRect(IOleInPlaceSiteWindowless* This,INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip) { + return This->lpVtbl->ScrollRect(This,dx,dy,pRectScroll,pRectClip); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_AdjustRect(IOleInPlaceSiteWindowless* This,LPRECT prc) { + return This->lpVtbl->AdjustRect(This,prc); +} +static FORCEINLINE HRESULT IOleInPlaceSiteWindowless_OnDefWindowMessage(IOleInPlaceSiteWindowless* This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) { + return This->lpVtbl->OnDefWindowMessage(This,msg,wParam,lParam,plResult); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceObjectWindowless interface + */ +#ifndef __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__ +#define __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__ + +typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS; +DEFINE_GUID(IID_IOleInPlaceObjectWindowless, 0x1c2056cc, 0x5ef4, 0x101b, 0x8b,0xc8, 0x00,0xaa,0x00,0x3e,0x3b,0x29); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1c2056cc-5ef4-101b-8bc8-00aa003e3b29") +IOleInPlaceObjectWindowless : public IOleInPlaceObject +{ + virtual HRESULT STDMETHODCALLTYPE OnWindowMessage( + UINT msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDropTarget( + IDropTarget **ppDropTarget) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceObjectWindowless, 0x1c2056cc, 0x5ef4, 0x101b, 0x8b,0xc8, 0x00,0xaa,0x00,0x3e,0x3b,0x29) +#endif +#else +typedef struct IOleInPlaceObjectWindowlessVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceObjectWindowless *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceObjectWindowless *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceObjectWindowless *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceObjectWindowless *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceObjectWindowless *This, + BOOL fEnterMode); + + /*** IOleInPlaceObject methods ***/ + HRESULT (STDMETHODCALLTYPE *InPlaceDeactivate)( + IOleInPlaceObjectWindowless *This); + + HRESULT (STDMETHODCALLTYPE *UIDeactivate)( + IOleInPlaceObjectWindowless *This); + + HRESULT (STDMETHODCALLTYPE *SetObjectRects)( + IOleInPlaceObjectWindowless *This, + LPCRECT lprcPosRect, + LPCRECT lprcClipRect); + + HRESULT (STDMETHODCALLTYPE *ReactivateAndUndo)( + IOleInPlaceObjectWindowless *This); + + /*** IOleInPlaceObjectWindowless methods ***/ + HRESULT (STDMETHODCALLTYPE *OnWindowMessage)( + IOleInPlaceObjectWindowless *This, + UINT msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult); + + HRESULT (STDMETHODCALLTYPE *GetDropTarget)( + IOleInPlaceObjectWindowless *This, + IDropTarget **ppDropTarget); + + END_INTERFACE +} IOleInPlaceObjectWindowlessVtbl; + +interface IOleInPlaceObjectWindowless { + CONST_VTBL IOleInPlaceObjectWindowlessVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceObjectWindowless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceObjectWindowless_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceObjectWindowless_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceObjectWindowless_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceObjectWindowless_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceObject methods ***/ +#define IOleInPlaceObjectWindowless_InPlaceDeactivate(This) (This)->lpVtbl->InPlaceDeactivate(This) +#define IOleInPlaceObjectWindowless_UIDeactivate(This) (This)->lpVtbl->UIDeactivate(This) +#define IOleInPlaceObjectWindowless_SetObjectRects(This,lprcPosRect,lprcClipRect) (This)->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect) +#define IOleInPlaceObjectWindowless_ReactivateAndUndo(This) (This)->lpVtbl->ReactivateAndUndo(This) +/*** IOleInPlaceObjectWindowless methods ***/ +#define IOleInPlaceObjectWindowless_OnWindowMessage(This,msg,wParam,lParam,plResult) (This)->lpVtbl->OnWindowMessage(This,msg,wParam,lParam,plResult) +#define IOleInPlaceObjectWindowless_GetDropTarget(This,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,ppDropTarget) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_QueryInterface(IOleInPlaceObjectWindowless* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceObjectWindowless_AddRef(IOleInPlaceObjectWindowless* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceObjectWindowless_Release(IOleInPlaceObjectWindowless* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_GetWindow(IOleInPlaceObjectWindowless* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_ContextSensitiveHelp(IOleInPlaceObjectWindowless* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceObject methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_InPlaceDeactivate(IOleInPlaceObjectWindowless* This) { + return This->lpVtbl->InPlaceDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_UIDeactivate(IOleInPlaceObjectWindowless* This) { + return This->lpVtbl->UIDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_SetObjectRects(IOleInPlaceObjectWindowless* This,LPCRECT lprcPosRect,LPCRECT lprcClipRect) { + return This->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect); +} +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_ReactivateAndUndo(IOleInPlaceObjectWindowless* This) { + return This->lpVtbl->ReactivateAndUndo(This); +} +/*** IOleInPlaceObjectWindowless methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_OnWindowMessage(IOleInPlaceObjectWindowless* This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) { + return This->lpVtbl->OnWindowMessage(This,msg,wParam,lParam,plResult); +} +static FORCEINLINE HRESULT IOleInPlaceObjectWindowless_GetDropTarget(IOleInPlaceObjectWindowless* This,IDropTarget **ppDropTarget) { + return This->lpVtbl->GetDropTarget(This,ppDropTarget); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IClassFactory2 interface + */ +#ifndef __IClassFactory2_INTERFACE_DEFINED__ +#define __IClassFactory2_INTERFACE_DEFINED__ + +typedef IClassFactory2 *LPCLASSFACTORY2; +typedef struct tagLICINFO { + LONG cbLicInfo; + BOOL fRuntimeKeyAvail; + BOOL fLicVerified; +} LICINFO; +typedef struct tagLICINFO *LPLICINFO; +DEFINE_GUID(IID_IClassFactory2, 0xb196b28f, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b28f-bab4-101a-b69c-00aa00341d07") +IClassFactory2 : public IClassFactory +{ + virtual HRESULT STDMETHODCALLTYPE GetLicInfo( + LICINFO *pLicInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestLicKey( + DWORD dwReserved, + BSTR *pBstrKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstanceLic( + IUnknown *pUnkOuter, + IUnknown *pUnkReserved, + REFIID riid, + BSTR bstrKey, + PVOID *ppvObj) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IClassFactory2, 0xb196b28f, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IClassFactory2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IClassFactory2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IClassFactory2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IClassFactory2 *This); + + /*** IClassFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IClassFactory2 *This, + IUnknown *pUnkOuter, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *LockServer)( + IClassFactory2 *This, + BOOL fLock); + + /*** IClassFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLicInfo)( + IClassFactory2 *This, + LICINFO *pLicInfo); + + HRESULT (STDMETHODCALLTYPE *RequestLicKey)( + IClassFactory2 *This, + DWORD dwReserved, + BSTR *pBstrKey); + + HRESULT (STDMETHODCALLTYPE *CreateInstanceLic)( + IClassFactory2 *This, + IUnknown *pUnkOuter, + IUnknown *pUnkReserved, + REFIID riid, + BSTR bstrKey, + PVOID *ppvObj); + + END_INTERFACE +} IClassFactory2Vtbl; + +interface IClassFactory2 { + CONST_VTBL IClassFactory2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IClassFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IClassFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IClassFactory2_Release(This) (This)->lpVtbl->Release(This) +/*** IClassFactory methods ***/ +#define IClassFactory2_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject) +#define IClassFactory2_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock) +/*** IClassFactory2 methods ***/ +#define IClassFactory2_GetLicInfo(This,pLicInfo) (This)->lpVtbl->GetLicInfo(This,pLicInfo) +#define IClassFactory2_RequestLicKey(This,dwReserved,pBstrKey) (This)->lpVtbl->RequestLicKey(This,dwReserved,pBstrKey) +#define IClassFactory2_CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj) (This)->lpVtbl->CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IClassFactory2_QueryInterface(IClassFactory2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IClassFactory2_AddRef(IClassFactory2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IClassFactory2_Release(IClassFactory2* This) { + return This->lpVtbl->Release(This); +} +/*** IClassFactory methods ***/ +static FORCEINLINE HRESULT IClassFactory2_CreateInstance(IClassFactory2* This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject) { + return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject); +} +static FORCEINLINE HRESULT IClassFactory2_LockServer(IClassFactory2* This,BOOL fLock) { + return This->lpVtbl->LockServer(This,fLock); +} +/*** IClassFactory2 methods ***/ +static FORCEINLINE HRESULT IClassFactory2_GetLicInfo(IClassFactory2* This,LICINFO *pLicInfo) { + return This->lpVtbl->GetLicInfo(This,pLicInfo); +} +static FORCEINLINE HRESULT IClassFactory2_RequestLicKey(IClassFactory2* This,DWORD dwReserved,BSTR *pBstrKey) { + return This->lpVtbl->RequestLicKey(This,dwReserved,pBstrKey); +} +static FORCEINLINE HRESULT IClassFactory2_CreateInstanceLic(IClassFactory2* This,IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj) { + return This->lpVtbl->CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IClassFactory2_RemoteCreateInstanceLic_Proxy( + IClassFactory2* This, + REFIID riid, + BSTR bstrKey, + IUnknown **ppvObj); +void __RPC_STUB IClassFactory2_RemoteCreateInstanceLic_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IClassFactory2_CreateInstanceLic_Proxy( + IClassFactory2* This, + IUnknown *pUnkOuter, + IUnknown *pUnkReserved, + REFIID riid, + BSTR bstrKey, + PVOID *ppvObj); +HRESULT __RPC_STUB IClassFactory2_CreateInstanceLic_Stub( + IClassFactory2* This, + REFIID riid, + BSTR bstrKey, + IUnknown **ppvObj); + +#endif /* __IClassFactory2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IViewObjectEx interface + */ +#ifndef __IViewObjectEx_INTERFACE_DEFINED__ +#define __IViewObjectEx_INTERFACE_DEFINED__ + +typedef IViewObjectEx *LPVIEWOBJECTEX; +typedef enum tagVIEWSTATUS { + VIEWSTATUS_OPAQUE = 1, + VIEWSTATUS_SOLIDBKGND = 2, + VIEWSTATUS_DVASPECTOPAQUE = 4, + VIEWSTATUS_DVASPECTTRANSPARENT = 8, + VIEWSTATUS_SURFACE = 16, + VIEWSTATUS_3DSURFACE = 32 +} VIEWSTATUS; +typedef enum tagHITRESULT { + HITRESULT_OUTSIDE = 0, + HITRESULT_TRANSPARENT = 1, + HITRESULT_CLOSE = 2, + HITRESULT_HIT = 3 +} HITRESULT; +typedef enum tagDVASPECT2 { + DVASPECT_OPAQUE = 16, + DVASPECT_TRANSPARENT = 32 +} DVASPECT2; +typedef struct tagExtentInfo { + ULONG cb; + DWORD dwExtentMode; + SIZEL sizelProposed; +} DVEXTENTINFO; +typedef enum tagAspectInfoFlag { + DVASPECTINFOFLAG_CANOPTIMIZE = 1 +} DVASPECTINFOFLAG; +typedef struct tagAspectInfo { + ULONG cb; + DWORD dwFlags; +} DVASPECTINFO; +DEFINE_GUID(IID_IViewObjectEx, 0x3af24292, 0x0c96, 0x11ce, 0xa0,0xcf, 0x00,0xaa,0x00,0x60,0x0a,0xb8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3af24292-0c96-11ce-a0cf-00aa00600ab8") +IViewObjectEx : public IViewObject2 +{ + virtual HRESULT STDMETHODCALLTYPE GetRect( + DWORD dwAspect, + LPRECTL pRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewStatus( + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryHitPoint( + DWORD dwAspect, + LPCRECT pRectBounds, + POINT ptlLoc, + LONG lCloseHint, + DWORD *pHitResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryHitRect( + DWORD dwAspect, + LPCRECT pRectBounds, + LPCRECT pRectLoc, + LONG lCloseHint, + DWORD *pHitResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNaturalExtent( + DWORD dwAspect, + LONG lindex, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + DVEXTENTINFO *pExtentInfo, + LPSIZEL pSizel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IViewObjectEx, 0x3af24292, 0x0c96, 0x11ce, 0xa0,0xcf, 0x00,0xaa,0x00,0x60,0x0a,0xb8) +#endif +#else +typedef struct IViewObjectExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IViewObjectEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IViewObjectEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IViewObjectEx *This); + + /*** IViewObject methods ***/ + HRESULT (STDMETHODCALLTYPE *Draw)( + IViewObjectEx *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hdcTargetDev, + HDC hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), + ULONG_PTR dwContinue); + + HRESULT (STDMETHODCALLTYPE *GetColorSet)( + IViewObjectEx *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + LOGPALETTE **ppColorSet); + + HRESULT (STDMETHODCALLTYPE *Freeze)( + IViewObjectEx *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DWORD *pdwFreeze); + + HRESULT (STDMETHODCALLTYPE *Unfreeze)( + IViewObjectEx *This, + DWORD dwFreeze); + + HRESULT (STDMETHODCALLTYPE *SetAdvise)( + IViewObjectEx *This, + DWORD aspects, + DWORD advf, + IAdviseSink *pAdvSink); + + HRESULT (STDMETHODCALLTYPE *GetAdvise)( + IViewObjectEx *This, + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink); + + /*** IViewObject2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetExtent)( + IViewObjectEx *This, + DWORD dwDrawAspect, + LONG lindex, + DVTARGETDEVICE *ptd, + LPSIZEL lpsizel); + + /*** IViewObjectEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRect)( + IViewObjectEx *This, + DWORD dwAspect, + LPRECTL pRect); + + HRESULT (STDMETHODCALLTYPE *GetViewStatus)( + IViewObjectEx *This, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *QueryHitPoint)( + IViewObjectEx *This, + DWORD dwAspect, + LPCRECT pRectBounds, + POINT ptlLoc, + LONG lCloseHint, + DWORD *pHitResult); + + HRESULT (STDMETHODCALLTYPE *QueryHitRect)( + IViewObjectEx *This, + DWORD dwAspect, + LPCRECT pRectBounds, + LPCRECT pRectLoc, + LONG lCloseHint, + DWORD *pHitResult); + + HRESULT (STDMETHODCALLTYPE *GetNaturalExtent)( + IViewObjectEx *This, + DWORD dwAspect, + LONG lindex, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + DVEXTENTINFO *pExtentInfo, + LPSIZEL pSizel); + + END_INTERFACE +} IViewObjectExVtbl; + +interface IViewObjectEx { + CONST_VTBL IViewObjectExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IViewObjectEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IViewObjectEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IViewObjectEx_Release(This) (This)->lpVtbl->Release(This) +/*** IViewObject methods ***/ +#define IViewObjectEx_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) (This)->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) +#define IViewObjectEx_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) +#define IViewObjectEx_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) +#define IViewObjectEx_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze) +#define IViewObjectEx_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink) +#define IViewObjectEx_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink) +/*** IViewObject2 methods ***/ +#define IViewObjectEx_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) +/*** IViewObjectEx methods ***/ +#define IViewObjectEx_GetRect(This,dwAspect,pRect) (This)->lpVtbl->GetRect(This,dwAspect,pRect) +#define IViewObjectEx_GetViewStatus(This,pdwStatus) (This)->lpVtbl->GetViewStatus(This,pdwStatus) +#define IViewObjectEx_QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult) (This)->lpVtbl->QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult) +#define IViewObjectEx_QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult) (This)->lpVtbl->QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult) +#define IViewObjectEx_GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel) (This)->lpVtbl->GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IViewObjectEx_QueryInterface(IViewObjectEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IViewObjectEx_AddRef(IViewObjectEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IViewObjectEx_Release(IViewObjectEx* This) { + return This->lpVtbl->Release(This); +} +/*** IViewObject methods ***/ +static FORCEINLINE HRESULT IViewObjectEx_Draw(IViewObjectEx* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcTargetDev,HDC hdcDraw,LPCRECTL lprcBounds,LPCRECTL lprcWBounds,BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),ULONG_PTR dwContinue) { + return This->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue); +} +static FORCEINLINE HRESULT IViewObjectEx_GetColorSet(IViewObjectEx* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hicTargetDev,LOGPALETTE **ppColorSet) { + return This->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet); +} +static FORCEINLINE HRESULT IViewObjectEx_Freeze(IViewObjectEx* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DWORD *pdwFreeze) { + return This->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze); +} +static FORCEINLINE HRESULT IViewObjectEx_Unfreeze(IViewObjectEx* This,DWORD dwFreeze) { + return This->lpVtbl->Unfreeze(This,dwFreeze); +} +static FORCEINLINE HRESULT IViewObjectEx_SetAdvise(IViewObjectEx* This,DWORD aspects,DWORD advf,IAdviseSink *pAdvSink) { + return This->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink); +} +static FORCEINLINE HRESULT IViewObjectEx_GetAdvise(IViewObjectEx* This,DWORD *pAspects,DWORD *pAdvf,IAdviseSink **ppAdvSink) { + return This->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink); +} +/*** IViewObject2 methods ***/ +static FORCEINLINE HRESULT IViewObjectEx_GetExtent(IViewObjectEx* This,DWORD dwDrawAspect,LONG lindex,DVTARGETDEVICE *ptd,LPSIZEL lpsizel) { + return This->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel); +} +/*** IViewObjectEx methods ***/ +static FORCEINLINE HRESULT IViewObjectEx_GetRect(IViewObjectEx* This,DWORD dwAspect,LPRECTL pRect) { + return This->lpVtbl->GetRect(This,dwAspect,pRect); +} +static FORCEINLINE HRESULT IViewObjectEx_GetViewStatus(IViewObjectEx* This,DWORD *pdwStatus) { + return This->lpVtbl->GetViewStatus(This,pdwStatus); +} +static FORCEINLINE HRESULT IViewObjectEx_QueryHitPoint(IViewObjectEx* This,DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult) { + return This->lpVtbl->QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult); +} +static FORCEINLINE HRESULT IViewObjectEx_QueryHitRect(IViewObjectEx* This,DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult) { + return This->lpVtbl->QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult); +} +static FORCEINLINE HRESULT IViewObjectEx_GetNaturalExtent(IViewObjectEx* This,DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel) { + return This->lpVtbl->GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel); +} +#endif +#endif + +#endif + + +#endif /* __IViewObjectEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProvideClassInfo interface + */ +#ifndef __IProvideClassInfo_INTERFACE_DEFINED__ +#define __IProvideClassInfo_INTERFACE_DEFINED__ + +typedef IProvideClassInfo *LPPROVIDECLASSINFO; +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassInfo +#endif +DEFINE_GUID(IID_IProvideClassInfo, 0xb196b283, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b283-bab4-101a-b69c-00aa00341d07") +IProvideClassInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClassInfo( + ITypeInfo **ppTI) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProvideClassInfo, 0xb196b283, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IProvideClassInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProvideClassInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProvideClassInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProvideClassInfo *This); + + /*** IProvideClassInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassInfo)( + IProvideClassInfo *This, + ITypeInfo **ppTI); + + END_INTERFACE +} IProvideClassInfoVtbl; + +interface IProvideClassInfo { + CONST_VTBL IProvideClassInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProvideClassInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProvideClassInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProvideClassInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IProvideClassInfo methods ***/ +#define IProvideClassInfo_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProvideClassInfo_QueryInterface(IProvideClassInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProvideClassInfo_AddRef(IProvideClassInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProvideClassInfo_Release(IProvideClassInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IProvideClassInfo methods ***/ +static FORCEINLINE HRESULT IProvideClassInfo_GetClassInfo(IProvideClassInfo* This,ITypeInfo **ppTI) { + return This->lpVtbl->GetClassInfo(This,ppTI); +} +#endif +#endif + +#endif + + +#endif /* __IProvideClassInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProvideClassInfo2 interface + */ +#ifndef __IProvideClassInfo2_INTERFACE_DEFINED__ +#define __IProvideClassInfo2_INTERFACE_DEFINED__ + +typedef IProvideClassInfo2 *LPPROVIDECLASSINFO2; +typedef enum tagGUIDKIND { + GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1 +} GUIDKIND; +DEFINE_GUID(IID_IProvideClassInfo2, 0xa6bc3ac0, 0xdbaa, 0x11ce, 0x9d,0xe3, 0x00,0xaa,0x00,0x4b,0xb8,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6bc3ac0-dbaa-11ce-9de3-00aa004bb851") +IProvideClassInfo2 : public IProvideClassInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetGUID( + DWORD dwGuidKind, + GUID *pGUID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProvideClassInfo2, 0xa6bc3ac0, 0xdbaa, 0x11ce, 0x9d,0xe3, 0x00,0xaa,0x00,0x4b,0xb8,0x51) +#endif +#else +typedef struct IProvideClassInfo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProvideClassInfo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProvideClassInfo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProvideClassInfo2 *This); + + /*** IProvideClassInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassInfo)( + IProvideClassInfo2 *This, + ITypeInfo **ppTI); + + /*** IProvideClassInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IProvideClassInfo2 *This, + DWORD dwGuidKind, + GUID *pGUID); + + END_INTERFACE +} IProvideClassInfo2Vtbl; + +interface IProvideClassInfo2 { + CONST_VTBL IProvideClassInfo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProvideClassInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProvideClassInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProvideClassInfo2_Release(This) (This)->lpVtbl->Release(This) +/*** IProvideClassInfo methods ***/ +#define IProvideClassInfo2_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI) +/*** IProvideClassInfo2 methods ***/ +#define IProvideClassInfo2_GetGUID(This,dwGuidKind,pGUID) (This)->lpVtbl->GetGUID(This,dwGuidKind,pGUID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProvideClassInfo2_QueryInterface(IProvideClassInfo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProvideClassInfo2_AddRef(IProvideClassInfo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProvideClassInfo2_Release(IProvideClassInfo2* This) { + return This->lpVtbl->Release(This); +} +/*** IProvideClassInfo methods ***/ +static FORCEINLINE HRESULT IProvideClassInfo2_GetClassInfo(IProvideClassInfo2* This,ITypeInfo **ppTI) { + return This->lpVtbl->GetClassInfo(This,ppTI); +} +/*** IProvideClassInfo2 methods ***/ +static FORCEINLINE HRESULT IProvideClassInfo2_GetGUID(IProvideClassInfo2* This,DWORD dwGuidKind,GUID *pGUID) { + return This->lpVtbl->GetGUID(This,dwGuidKind,pGUID); +} +#endif +#endif + +#endif + + +#endif /* __IProvideClassInfo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProvideMultipleClassInfo interface + */ +#ifndef __IProvideMultipleClassInfo_INTERFACE_DEFINED__ +#define __IProvideMultipleClassInfo_INTERFACE_DEFINED__ + +#define MULTICLASSINFO_GETTYPEINFO 0x00000001 +#define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002 +#define MULTICLASSINFO_GETIIDPRIMARY 0x00000004 +#define MULTICLASSINFO_GETIIDSOURCE 0x00000008 +#define TIFLAGS_EXTENDDISPATCHONLY 0x00000001 +typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO; +DEFINE_GUID(IID_IProvideMultipleClassInfo, 0xa7aba9c1, 0x8983, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a7aba9c1-8983-11cf-8f20-00805f2cd064") +IProvideMultipleClassInfo : public IProvideClassInfo2 +{ + virtual HRESULT STDMETHODCALLTYPE GetMultiTypeInfoCount( + ULONG *pcti) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfoOfIndex( + ULONG iti, + DWORD dwFlags, + ITypeInfo **pptiCoClass, + DWORD *pdwTIFlags, + ULONG *pcdispidReserved, + IID *piidPrimary, + IID *piidSource) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProvideMultipleClassInfo, 0xa7aba9c1, 0x8983, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64) +#endif +#else +typedef struct IProvideMultipleClassInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProvideMultipleClassInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProvideMultipleClassInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProvideMultipleClassInfo *This); + + /*** IProvideClassInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassInfo)( + IProvideMultipleClassInfo *This, + ITypeInfo **ppTI); + + /*** IProvideClassInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGUID)( + IProvideMultipleClassInfo *This, + DWORD dwGuidKind, + GUID *pGUID); + + /*** IProvideMultipleClassInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMultiTypeInfoCount)( + IProvideMultipleClassInfo *This, + ULONG *pcti); + + HRESULT (STDMETHODCALLTYPE *GetInfoOfIndex)( + IProvideMultipleClassInfo *This, + ULONG iti, + DWORD dwFlags, + ITypeInfo **pptiCoClass, + DWORD *pdwTIFlags, + ULONG *pcdispidReserved, + IID *piidPrimary, + IID *piidSource); + + END_INTERFACE +} IProvideMultipleClassInfoVtbl; + +interface IProvideMultipleClassInfo { + CONST_VTBL IProvideMultipleClassInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProvideMultipleClassInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProvideMultipleClassInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProvideMultipleClassInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IProvideClassInfo methods ***/ +#define IProvideMultipleClassInfo_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI) +/*** IProvideClassInfo2 methods ***/ +#define IProvideMultipleClassInfo_GetGUID(This,dwGuidKind,pGUID) (This)->lpVtbl->GetGUID(This,dwGuidKind,pGUID) +/*** IProvideMultipleClassInfo methods ***/ +#define IProvideMultipleClassInfo_GetMultiTypeInfoCount(This,pcti) (This)->lpVtbl->GetMultiTypeInfoCount(This,pcti) +#define IProvideMultipleClassInfo_GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource) (This)->lpVtbl->GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProvideMultipleClassInfo_QueryInterface(IProvideMultipleClassInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProvideMultipleClassInfo_AddRef(IProvideMultipleClassInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProvideMultipleClassInfo_Release(IProvideMultipleClassInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IProvideClassInfo methods ***/ +static FORCEINLINE HRESULT IProvideMultipleClassInfo_GetClassInfo(IProvideMultipleClassInfo* This,ITypeInfo **ppTI) { + return This->lpVtbl->GetClassInfo(This,ppTI); +} +/*** IProvideClassInfo2 methods ***/ +static FORCEINLINE HRESULT IProvideMultipleClassInfo_GetGUID(IProvideMultipleClassInfo* This,DWORD dwGuidKind,GUID *pGUID) { + return This->lpVtbl->GetGUID(This,dwGuidKind,pGUID); +} +/*** IProvideMultipleClassInfo methods ***/ +static FORCEINLINE HRESULT IProvideMultipleClassInfo_GetMultiTypeInfoCount(IProvideMultipleClassInfo* This,ULONG *pcti) { + return This->lpVtbl->GetMultiTypeInfoCount(This,pcti); +} +static FORCEINLINE HRESULT IProvideMultipleClassInfo_GetInfoOfIndex(IProvideMultipleClassInfo* This,ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource) { + return This->lpVtbl->GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource); +} +#endif +#endif + +#endif + + +#endif /* __IProvideMultipleClassInfo_INTERFACE_DEFINED__ */ + +#ifndef __IConnectionPointContainer_FWD_DEFINED__ +#define __IConnectionPointContainer_FWD_DEFINED__ +typedef interface IConnectionPointContainer IConnectionPointContainer; +#ifdef __cplusplus +interface IConnectionPointContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumConnections_FWD_DEFINED__ +#define __IEnumConnections_FWD_DEFINED__ +typedef interface IEnumConnections IEnumConnections; +#ifdef __cplusplus +interface IEnumConnections; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IConnectionPoint interface + */ +#ifndef __IConnectionPoint_INTERFACE_DEFINED__ +#define __IConnectionPoint_INTERFACE_DEFINED__ + +typedef IConnectionPoint *PCONNECTIONPOINT; +typedef IConnectionPoint *LPCONNECTIONPOINT; +DEFINE_GUID(IID_IConnectionPoint, 0xb196b286, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b286-bab4-101a-b69c-00aa00341d07") +IConnectionPoint : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetConnectionInterface( + IID *pIID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionPointContainer( + IConnectionPointContainer **ppCPC) = 0; + + virtual HRESULT STDMETHODCALLTYPE Advise( + IUnknown *pUnkSink, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumConnections( + IEnumConnections **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IConnectionPoint, 0xb196b286, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IConnectionPointVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IConnectionPoint *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IConnectionPoint *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IConnectionPoint *This); + + /*** IConnectionPoint methods ***/ + HRESULT (STDMETHODCALLTYPE *GetConnectionInterface)( + IConnectionPoint *This, + IID *pIID); + + HRESULT (STDMETHODCALLTYPE *GetConnectionPointContainer)( + IConnectionPoint *This, + IConnectionPointContainer **ppCPC); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IConnectionPoint *This, + IUnknown *pUnkSink, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IConnectionPoint *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *EnumConnections)( + IConnectionPoint *This, + IEnumConnections **ppEnum); + + END_INTERFACE +} IConnectionPointVtbl; + +interface IConnectionPoint { + CONST_VTBL IConnectionPointVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IConnectionPoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IConnectionPoint_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IConnectionPoint_Release(This) (This)->lpVtbl->Release(This) +/*** IConnectionPoint methods ***/ +#define IConnectionPoint_GetConnectionInterface(This,pIID) (This)->lpVtbl->GetConnectionInterface(This,pIID) +#define IConnectionPoint_GetConnectionPointContainer(This,ppCPC) (This)->lpVtbl->GetConnectionPointContainer(This,ppCPC) +#define IConnectionPoint_Advise(This,pUnkSink,pdwCookie) (This)->lpVtbl->Advise(This,pUnkSink,pdwCookie) +#define IConnectionPoint_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define IConnectionPoint_EnumConnections(This,ppEnum) (This)->lpVtbl->EnumConnections(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IConnectionPoint_QueryInterface(IConnectionPoint* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IConnectionPoint_AddRef(IConnectionPoint* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IConnectionPoint_Release(IConnectionPoint* This) { + return This->lpVtbl->Release(This); +} +/*** IConnectionPoint methods ***/ +static FORCEINLINE HRESULT IConnectionPoint_GetConnectionInterface(IConnectionPoint* This,IID *pIID) { + return This->lpVtbl->GetConnectionInterface(This,pIID); +} +static FORCEINLINE HRESULT IConnectionPoint_GetConnectionPointContainer(IConnectionPoint* This,IConnectionPointContainer **ppCPC) { + return This->lpVtbl->GetConnectionPointContainer(This,ppCPC); +} +static FORCEINLINE HRESULT IConnectionPoint_Advise(IConnectionPoint* This,IUnknown *pUnkSink,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,pUnkSink,pdwCookie); +} +static FORCEINLINE HRESULT IConnectionPoint_Unadvise(IConnectionPoint* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT IConnectionPoint_EnumConnections(IConnectionPoint* This,IEnumConnections **ppEnum) { + return This->lpVtbl->EnumConnections(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IConnectionPoint_INTERFACE_DEFINED__ */ + +#ifndef __IEnumConnectionPoints_FWD_DEFINED__ +#define __IEnumConnectionPoints_FWD_DEFINED__ +typedef interface IEnumConnectionPoints IEnumConnectionPoints; +#ifdef __cplusplus +interface IEnumConnectionPoints; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IConnectionPointContainer interface + */ +#ifndef __IConnectionPointContainer_INTERFACE_DEFINED__ +#define __IConnectionPointContainer_INTERFACE_DEFINED__ + +typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER; +typedef IConnectionPointContainer *LPCONNECTIONPOINTCONTAINER; +DEFINE_GUID(IID_IConnectionPointContainer, 0xb196b284, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b284-bab4-101a-b69c-00aa00341d07") +IConnectionPointContainer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumConnectionPoints( + IEnumConnectionPoints **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindConnectionPoint( + REFIID riid, + IConnectionPoint **ppCP) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IConnectionPointContainer, 0xb196b284, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IConnectionPointContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IConnectionPointContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IConnectionPointContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IConnectionPointContainer *This); + + /*** IConnectionPointContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumConnectionPoints)( + IConnectionPointContainer *This, + IEnumConnectionPoints **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindConnectionPoint)( + IConnectionPointContainer *This, + REFIID riid, + IConnectionPoint **ppCP); + + END_INTERFACE +} IConnectionPointContainerVtbl; + +interface IConnectionPointContainer { + CONST_VTBL IConnectionPointContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IConnectionPointContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IConnectionPointContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IConnectionPointContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IConnectionPointContainer methods ***/ +#define IConnectionPointContainer_EnumConnectionPoints(This,ppEnum) (This)->lpVtbl->EnumConnectionPoints(This,ppEnum) +#define IConnectionPointContainer_FindConnectionPoint(This,riid,ppCP) (This)->lpVtbl->FindConnectionPoint(This,riid,ppCP) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IConnectionPointContainer_QueryInterface(IConnectionPointContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IConnectionPointContainer_AddRef(IConnectionPointContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IConnectionPointContainer_Release(IConnectionPointContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IConnectionPointContainer methods ***/ +static FORCEINLINE HRESULT IConnectionPointContainer_EnumConnectionPoints(IConnectionPointContainer* This,IEnumConnectionPoints **ppEnum) { + return This->lpVtbl->EnumConnectionPoints(This,ppEnum); +} +static FORCEINLINE HRESULT IConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer* This,REFIID riid,IConnectionPoint **ppCP) { + return This->lpVtbl->FindConnectionPoint(This,riid,ppCP); +} +#endif +#endif + +#endif + + +#endif /* __IConnectionPointContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumConnections interface + */ +#ifndef __IEnumConnections_INTERFACE_DEFINED__ +#define __IEnumConnections_INTERFACE_DEFINED__ + +typedef IEnumConnections *PENUMCONNECTIONS; +typedef IEnumConnections *LPENUMCONNECTIONS; +typedef struct tagCONNECTDATA { + IUnknown *pUnk; + DWORD dwCookie; +} CONNECTDATA; +typedef struct tagCONNECTDATA *PCONNECTDATA; +typedef struct tagCONNECTDATA *LPCONNECTDATA; +DEFINE_GUID(IID_IEnumConnections, 0xb196b287, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b287-bab4-101a-b69c-00aa00341d07") +IEnumConnections : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cConnections, + LPCONNECTDATA rgcd, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cConnections) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumConnections **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumConnections, 0xb196b287, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IEnumConnectionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumConnections *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumConnections *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumConnections *This); + + /*** IEnumConnections methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumConnections *This, + ULONG cConnections, + LPCONNECTDATA rgcd, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumConnections *This, + ULONG cConnections); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumConnections *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumConnections *This, + IEnumConnections **ppEnum); + + END_INTERFACE +} IEnumConnectionsVtbl; + +interface IEnumConnections { + CONST_VTBL IEnumConnectionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumConnections_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumConnections_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumConnections_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumConnections methods ***/ +#define IEnumConnections_Next(This,cConnections,rgcd,pcFetched) (This)->lpVtbl->Next(This,cConnections,rgcd,pcFetched) +#define IEnumConnections_Skip(This,cConnections) (This)->lpVtbl->Skip(This,cConnections) +#define IEnumConnections_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumConnections_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumConnections_QueryInterface(IEnumConnections* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumConnections_AddRef(IEnumConnections* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumConnections_Release(IEnumConnections* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumConnections methods ***/ +static FORCEINLINE HRESULT IEnumConnections_Next(IEnumConnections* This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cConnections,rgcd,pcFetched); +} +static FORCEINLINE HRESULT IEnumConnections_Skip(IEnumConnections* This,ULONG cConnections) { + return This->lpVtbl->Skip(This,cConnections); +} +static FORCEINLINE HRESULT IEnumConnections_Reset(IEnumConnections* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumConnections_Clone(IEnumConnections* This,IEnumConnections **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumConnections_RemoteNext_Proxy( + IEnumConnections* This, + ULONG cConnections, + LPCONNECTDATA rgcd, + ULONG *pcFetched); +void __RPC_STUB IEnumConnections_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumConnections_Next_Proxy( + IEnumConnections* This, + ULONG cConnections, + LPCONNECTDATA rgcd, + ULONG *pcFetched); +HRESULT __RPC_STUB IEnumConnections_Next_Stub( + IEnumConnections* This, + ULONG cConnections, + LPCONNECTDATA rgcd, + ULONG *pcFetched); + +#endif /* __IEnumConnections_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumConnectionPoints interface + */ +#ifndef __IEnumConnectionPoints_INTERFACE_DEFINED__ +#define __IEnumConnectionPoints_INTERFACE_DEFINED__ + +typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS; +typedef IEnumConnectionPoints *LPENUMCONNECTIONPOINTS; +DEFINE_GUID(IID_IEnumConnectionPoints, 0xb196b285, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b285-bab4-101a-b69c-00aa00341d07") +IEnumConnectionPoints : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cConnections, + LPCONNECTIONPOINT *ppCP, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cConnections) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumConnectionPoints **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumConnectionPoints, 0xb196b285, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IEnumConnectionPointsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumConnectionPoints *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumConnectionPoints *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumConnectionPoints *This); + + /*** IEnumConnectionPoints methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumConnectionPoints *This, + ULONG cConnections, + LPCONNECTIONPOINT *ppCP, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumConnectionPoints *This, + ULONG cConnections); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumConnectionPoints *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumConnectionPoints *This, + IEnumConnectionPoints **ppEnum); + + END_INTERFACE +} IEnumConnectionPointsVtbl; + +interface IEnumConnectionPoints { + CONST_VTBL IEnumConnectionPointsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumConnectionPoints_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumConnectionPoints_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumConnectionPoints_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumConnectionPoints methods ***/ +#define IEnumConnectionPoints_Next(This,cConnections,ppCP,pcFetched) (This)->lpVtbl->Next(This,cConnections,ppCP,pcFetched) +#define IEnumConnectionPoints_Skip(This,cConnections) (This)->lpVtbl->Skip(This,cConnections) +#define IEnumConnectionPoints_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumConnectionPoints_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumConnectionPoints_QueryInterface(IEnumConnectionPoints* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumConnectionPoints_AddRef(IEnumConnectionPoints* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumConnectionPoints_Release(IEnumConnectionPoints* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumConnectionPoints methods ***/ +static FORCEINLINE HRESULT IEnumConnectionPoints_Next(IEnumConnectionPoints* This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cConnections,ppCP,pcFetched); +} +static FORCEINLINE HRESULT IEnumConnectionPoints_Skip(IEnumConnectionPoints* This,ULONG cConnections) { + return This->lpVtbl->Skip(This,cConnections); +} +static FORCEINLINE HRESULT IEnumConnectionPoints_Reset(IEnumConnectionPoints* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumConnectionPoints_Clone(IEnumConnectionPoints* This,IEnumConnectionPoints **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_RemoteNext_Proxy( + IEnumConnectionPoints* This, + ULONG cConnections, + LPCONNECTIONPOINT *ppCP, + ULONG *pcFetched); +void __RPC_STUB IEnumConnectionPoints_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumConnectionPoints_Next_Proxy( + IEnumConnectionPoints* This, + ULONG cConnections, + LPCONNECTIONPOINT *ppCP, + ULONG *pcFetched); +HRESULT __RPC_STUB IEnumConnectionPoints_Next_Stub( + IEnumConnectionPoints* This, + ULONG cConnections, + LPCONNECTIONPOINT *ppCP, + ULONG *pcFetched); + +#endif /* __IEnumConnectionPoints_INTERFACE_DEFINED__ */ + +#ifndef __IPropertyPageSite_FWD_DEFINED__ +#define __IPropertyPageSite_FWD_DEFINED__ +typedef interface IPropertyPageSite IPropertyPageSite; +#ifdef __cplusplus +interface IPropertyPageSite; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IPropertyPage interface + */ +#ifndef __IPropertyPage_INTERFACE_DEFINED__ +#define __IPropertyPage_INTERFACE_DEFINED__ + +typedef IPropertyPage *LPPROPERTYPAGE; +typedef struct tagPROPPAGEINFO { + ULONG cb; + LPOLESTR pszTitle; + SIZE size; + LPOLESTR pszDocString; + LPOLESTR pszHelpFile; + DWORD dwHelpContext; +} PROPPAGEINFO; +typedef struct tagPROPPAGEINFO *LPPROPPAGEINFO; +DEFINE_GUID(IID_IPropertyPage, 0xb196b28d, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b28d-bab4-101a-b69c-00aa00341d07") +IPropertyPage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetPageSite( + IPropertyPageSite *pPageSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE Activate( + HWND hWndParent, + LPCRECT pRect, + BOOL bModal) = 0; + + virtual HRESULT STDMETHODCALLTYPE Deactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPageInfo( + PROPPAGEINFO *pPageInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetObjects( + ULONG cObjects, + IUnknown **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Show( + UINT nCmdShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE Move( + LPCRECT pRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPageDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Apply( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Help( + LPCOLESTR pszHelpDir) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + MSG *pMsg) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyPage, 0xb196b28d, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IPropertyPageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyPage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyPage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyPage *This); + + /*** IPropertyPage methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPageSite)( + IPropertyPage *This, + IPropertyPageSite *pPageSite); + + HRESULT (STDMETHODCALLTYPE *Activate)( + IPropertyPage *This, + HWND hWndParent, + LPCRECT pRect, + BOOL bModal); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + IPropertyPage *This); + + HRESULT (STDMETHODCALLTYPE *GetPageInfo)( + IPropertyPage *This, + PROPPAGEINFO *pPageInfo); + + HRESULT (STDMETHODCALLTYPE *SetObjects)( + IPropertyPage *This, + ULONG cObjects, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *Show)( + IPropertyPage *This, + UINT nCmdShow); + + HRESULT (STDMETHODCALLTYPE *Move)( + IPropertyPage *This, + LPCRECT pRect); + + HRESULT (STDMETHODCALLTYPE *IsPageDirty)( + IPropertyPage *This); + + HRESULT (STDMETHODCALLTYPE *Apply)( + IPropertyPage *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IPropertyPage *This, + LPCOLESTR pszHelpDir); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IPropertyPage *This, + MSG *pMsg); + + END_INTERFACE +} IPropertyPageVtbl; + +interface IPropertyPage { + CONST_VTBL IPropertyPageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyPage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyPage_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyPage methods ***/ +#define IPropertyPage_SetPageSite(This,pPageSite) (This)->lpVtbl->SetPageSite(This,pPageSite) +#define IPropertyPage_Activate(This,hWndParent,pRect,bModal) (This)->lpVtbl->Activate(This,hWndParent,pRect,bModal) +#define IPropertyPage_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#define IPropertyPage_GetPageInfo(This,pPageInfo) (This)->lpVtbl->GetPageInfo(This,pPageInfo) +#define IPropertyPage_SetObjects(This,cObjects,ppUnk) (This)->lpVtbl->SetObjects(This,cObjects,ppUnk) +#define IPropertyPage_Show(This,nCmdShow) (This)->lpVtbl->Show(This,nCmdShow) +#define IPropertyPage_Move(This,pRect) (This)->lpVtbl->Move(This,pRect) +#define IPropertyPage_IsPageDirty(This) (This)->lpVtbl->IsPageDirty(This) +#define IPropertyPage_Apply(This) (This)->lpVtbl->Apply(This) +#define IPropertyPage_Help(This,pszHelpDir) (This)->lpVtbl->Help(This,pszHelpDir) +#define IPropertyPage_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyPage_QueryInterface(IPropertyPage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyPage_AddRef(IPropertyPage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyPage_Release(IPropertyPage* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyPage methods ***/ +static FORCEINLINE HRESULT IPropertyPage_SetPageSite(IPropertyPage* This,IPropertyPageSite *pPageSite) { + return This->lpVtbl->SetPageSite(This,pPageSite); +} +static FORCEINLINE HRESULT IPropertyPage_Activate(IPropertyPage* This,HWND hWndParent,LPCRECT pRect,BOOL bModal) { + return This->lpVtbl->Activate(This,hWndParent,pRect,bModal); +} +static FORCEINLINE HRESULT IPropertyPage_Deactivate(IPropertyPage* This) { + return This->lpVtbl->Deactivate(This); +} +static FORCEINLINE HRESULT IPropertyPage_GetPageInfo(IPropertyPage* This,PROPPAGEINFO *pPageInfo) { + return This->lpVtbl->GetPageInfo(This,pPageInfo); +} +static FORCEINLINE HRESULT IPropertyPage_SetObjects(IPropertyPage* This,ULONG cObjects,IUnknown **ppUnk) { + return This->lpVtbl->SetObjects(This,cObjects,ppUnk); +} +static FORCEINLINE HRESULT IPropertyPage_Show(IPropertyPage* This,UINT nCmdShow) { + return This->lpVtbl->Show(This,nCmdShow); +} +static FORCEINLINE HRESULT IPropertyPage_Move(IPropertyPage* This,LPCRECT pRect) { + return This->lpVtbl->Move(This,pRect); +} +static FORCEINLINE HRESULT IPropertyPage_IsPageDirty(IPropertyPage* This) { + return This->lpVtbl->IsPageDirty(This); +} +static FORCEINLINE HRESULT IPropertyPage_Apply(IPropertyPage* This) { + return This->lpVtbl->Apply(This); +} +static FORCEINLINE HRESULT IPropertyPage_Help(IPropertyPage* This,LPCOLESTR pszHelpDir) { + return This->lpVtbl->Help(This,pszHelpDir); +} +static FORCEINLINE HRESULT IPropertyPage_TranslateAccelerator(IPropertyPage* This,MSG *pMsg) { + return This->lpVtbl->TranslateAccelerator(This,pMsg); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyPage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyPage2 interface + */ +#ifndef __IPropertyPage2_INTERFACE_DEFINED__ +#define __IPropertyPage2_INTERFACE_DEFINED__ + +typedef IPropertyPage2 *LPPROPERTYPAGE2; +DEFINE_GUID(IID_IPropertyPage2, 0x01e44665, 0x24ac, 0x101b, 0x84,0xed, 0x08,0x00,0x2b,0x2e,0xc7,0x13); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("01e44665-24ac-101b-84ed-08002b2ec713") +IPropertyPage2 : public IPropertyPage +{ + virtual HRESULT STDMETHODCALLTYPE EditProperty( + DISPID dispID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyPage2, 0x01e44665, 0x24ac, 0x101b, 0x84,0xed, 0x08,0x00,0x2b,0x2e,0xc7,0x13) +#endif +#else +typedef struct IPropertyPage2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyPage2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyPage2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyPage2 *This); + + /*** IPropertyPage methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPageSite)( + IPropertyPage2 *This, + IPropertyPageSite *pPageSite); + + HRESULT (STDMETHODCALLTYPE *Activate)( + IPropertyPage2 *This, + HWND hWndParent, + LPCRECT pRect, + BOOL bModal); + + HRESULT (STDMETHODCALLTYPE *Deactivate)( + IPropertyPage2 *This); + + HRESULT (STDMETHODCALLTYPE *GetPageInfo)( + IPropertyPage2 *This, + PROPPAGEINFO *pPageInfo); + + HRESULT (STDMETHODCALLTYPE *SetObjects)( + IPropertyPage2 *This, + ULONG cObjects, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *Show)( + IPropertyPage2 *This, + UINT nCmdShow); + + HRESULT (STDMETHODCALLTYPE *Move)( + IPropertyPage2 *This, + LPCRECT pRect); + + HRESULT (STDMETHODCALLTYPE *IsPageDirty)( + IPropertyPage2 *This); + + HRESULT (STDMETHODCALLTYPE *Apply)( + IPropertyPage2 *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IPropertyPage2 *This, + LPCOLESTR pszHelpDir); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IPropertyPage2 *This, + MSG *pMsg); + + /*** IPropertyPage2 methods ***/ + HRESULT (STDMETHODCALLTYPE *EditProperty)( + IPropertyPage2 *This, + DISPID dispID); + + END_INTERFACE +} IPropertyPage2Vtbl; + +interface IPropertyPage2 { + CONST_VTBL IPropertyPage2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyPage2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyPage2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyPage2_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyPage methods ***/ +#define IPropertyPage2_SetPageSite(This,pPageSite) (This)->lpVtbl->SetPageSite(This,pPageSite) +#define IPropertyPage2_Activate(This,hWndParent,pRect,bModal) (This)->lpVtbl->Activate(This,hWndParent,pRect,bModal) +#define IPropertyPage2_Deactivate(This) (This)->lpVtbl->Deactivate(This) +#define IPropertyPage2_GetPageInfo(This,pPageInfo) (This)->lpVtbl->GetPageInfo(This,pPageInfo) +#define IPropertyPage2_SetObjects(This,cObjects,ppUnk) (This)->lpVtbl->SetObjects(This,cObjects,ppUnk) +#define IPropertyPage2_Show(This,nCmdShow) (This)->lpVtbl->Show(This,nCmdShow) +#define IPropertyPage2_Move(This,pRect) (This)->lpVtbl->Move(This,pRect) +#define IPropertyPage2_IsPageDirty(This) (This)->lpVtbl->IsPageDirty(This) +#define IPropertyPage2_Apply(This) (This)->lpVtbl->Apply(This) +#define IPropertyPage2_Help(This,pszHelpDir) (This)->lpVtbl->Help(This,pszHelpDir) +#define IPropertyPage2_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg) +/*** IPropertyPage2 methods ***/ +#define IPropertyPage2_EditProperty(This,dispID) (This)->lpVtbl->EditProperty(This,dispID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyPage2_QueryInterface(IPropertyPage2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyPage2_AddRef(IPropertyPage2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyPage2_Release(IPropertyPage2* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyPage methods ***/ +static FORCEINLINE HRESULT IPropertyPage2_SetPageSite(IPropertyPage2* This,IPropertyPageSite *pPageSite) { + return This->lpVtbl->SetPageSite(This,pPageSite); +} +static FORCEINLINE HRESULT IPropertyPage2_Activate(IPropertyPage2* This,HWND hWndParent,LPCRECT pRect,BOOL bModal) { + return This->lpVtbl->Activate(This,hWndParent,pRect,bModal); +} +static FORCEINLINE HRESULT IPropertyPage2_Deactivate(IPropertyPage2* This) { + return This->lpVtbl->Deactivate(This); +} +static FORCEINLINE HRESULT IPropertyPage2_GetPageInfo(IPropertyPage2* This,PROPPAGEINFO *pPageInfo) { + return This->lpVtbl->GetPageInfo(This,pPageInfo); +} +static FORCEINLINE HRESULT IPropertyPage2_SetObjects(IPropertyPage2* This,ULONG cObjects,IUnknown **ppUnk) { + return This->lpVtbl->SetObjects(This,cObjects,ppUnk); +} +static FORCEINLINE HRESULT IPropertyPage2_Show(IPropertyPage2* This,UINT nCmdShow) { + return This->lpVtbl->Show(This,nCmdShow); +} +static FORCEINLINE HRESULT IPropertyPage2_Move(IPropertyPage2* This,LPCRECT pRect) { + return This->lpVtbl->Move(This,pRect); +} +static FORCEINLINE HRESULT IPropertyPage2_IsPageDirty(IPropertyPage2* This) { + return This->lpVtbl->IsPageDirty(This); +} +static FORCEINLINE HRESULT IPropertyPage2_Apply(IPropertyPage2* This) { + return This->lpVtbl->Apply(This); +} +static FORCEINLINE HRESULT IPropertyPage2_Help(IPropertyPage2* This,LPCOLESTR pszHelpDir) { + return This->lpVtbl->Help(This,pszHelpDir); +} +static FORCEINLINE HRESULT IPropertyPage2_TranslateAccelerator(IPropertyPage2* This,MSG *pMsg) { + return This->lpVtbl->TranslateAccelerator(This,pMsg); +} +/*** IPropertyPage2 methods ***/ +static FORCEINLINE HRESULT IPropertyPage2_EditProperty(IPropertyPage2* This,DISPID dispID) { + return This->lpVtbl->EditProperty(This,dispID); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyPage2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyPageSite interface + */ +#ifndef __IPropertyPageSite_INTERFACE_DEFINED__ +#define __IPropertyPageSite_INTERFACE_DEFINED__ + +typedef IPropertyPageSite *LPPROPERTYPAGESITE; +typedef enum tagPROPPAGESTATUS { + PROPPAGESTATUS_DIRTY = 0x1, + PROPPAGESTATUS_VALIDATE = 0x2, + PROPPAGESTATUS_CLEAN = 0x4 +} PROPPAGESTATUS; +DEFINE_GUID(IID_IPropertyPageSite, 0xb196b28c, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b28c-bab4-101a-b69c-00aa00341d07") +IPropertyPageSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnStatusChange( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocaleID( + LCID *pLocaleID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPageContainer( + IUnknown **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + MSG *pMsg) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyPageSite, 0xb196b28c, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IPropertyPageSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyPageSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyPageSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyPageSite *This); + + /*** IPropertyPageSite methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStatusChange)( + IPropertyPageSite *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetLocaleID)( + IPropertyPageSite *This, + LCID *pLocaleID); + + HRESULT (STDMETHODCALLTYPE *GetPageContainer)( + IPropertyPageSite *This, + IUnknown **ppUnk); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IPropertyPageSite *This, + MSG *pMsg); + + END_INTERFACE +} IPropertyPageSiteVtbl; + +interface IPropertyPageSite { + CONST_VTBL IPropertyPageSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyPageSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyPageSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyPageSite_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyPageSite methods ***/ +#define IPropertyPageSite_OnStatusChange(This,dwFlags) (This)->lpVtbl->OnStatusChange(This,dwFlags) +#define IPropertyPageSite_GetLocaleID(This,pLocaleID) (This)->lpVtbl->GetLocaleID(This,pLocaleID) +#define IPropertyPageSite_GetPageContainer(This,ppUnk) (This)->lpVtbl->GetPageContainer(This,ppUnk) +#define IPropertyPageSite_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyPageSite_QueryInterface(IPropertyPageSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyPageSite_AddRef(IPropertyPageSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyPageSite_Release(IPropertyPageSite* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyPageSite methods ***/ +static FORCEINLINE HRESULT IPropertyPageSite_OnStatusChange(IPropertyPageSite* This,DWORD dwFlags) { + return This->lpVtbl->OnStatusChange(This,dwFlags); +} +static FORCEINLINE HRESULT IPropertyPageSite_GetLocaleID(IPropertyPageSite* This,LCID *pLocaleID) { + return This->lpVtbl->GetLocaleID(This,pLocaleID); +} +static FORCEINLINE HRESULT IPropertyPageSite_GetPageContainer(IPropertyPageSite* This,IUnknown **ppUnk) { + return This->lpVtbl->GetPageContainer(This,ppUnk); +} +static FORCEINLINE HRESULT IPropertyPageSite_TranslateAccelerator(IPropertyPageSite* This,MSG *pMsg) { + return This->lpVtbl->TranslateAccelerator(This,pMsg); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyPageSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyNotifySink interface + */ +#ifndef __IPropertyNotifySink_INTERFACE_DEFINED__ +#define __IPropertyNotifySink_INTERFACE_DEFINED__ + +typedef IPropertyNotifySink *LPPROPERTYNOTIFYSINK; +DEFINE_GUID(IID_IPropertyNotifySink, 0x9bfbbc02, 0xeff1, 0x101a, 0x84,0xed, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9bfbbc02-eff1-101a-84ed-00aa00341d07") +IPropertyNotifySink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnChanged( + DISPID dispID) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnRequestEdit( + DISPID dispID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyNotifySink, 0x9bfbbc02, 0xeff1, 0x101a, 0x84,0xed, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct IPropertyNotifySinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyNotifySink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyNotifySink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyNotifySink *This); + + /*** IPropertyNotifySink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnChanged)( + IPropertyNotifySink *This, + DISPID dispID); + + HRESULT (STDMETHODCALLTYPE *OnRequestEdit)( + IPropertyNotifySink *This, + DISPID dispID); + + END_INTERFACE +} IPropertyNotifySinkVtbl; + +interface IPropertyNotifySink { + CONST_VTBL IPropertyNotifySinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyNotifySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyNotifySink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyNotifySink_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyNotifySink methods ***/ +#define IPropertyNotifySink_OnChanged(This,dispID) (This)->lpVtbl->OnChanged(This,dispID) +#define IPropertyNotifySink_OnRequestEdit(This,dispID) (This)->lpVtbl->OnRequestEdit(This,dispID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyNotifySink_QueryInterface(IPropertyNotifySink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyNotifySink_AddRef(IPropertyNotifySink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyNotifySink_Release(IPropertyNotifySink* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyNotifySink methods ***/ +static FORCEINLINE HRESULT IPropertyNotifySink_OnChanged(IPropertyNotifySink* This,DISPID dispID) { + return This->lpVtbl->OnChanged(This,dispID); +} +static FORCEINLINE HRESULT IPropertyNotifySink_OnRequestEdit(IPropertyNotifySink* This,DISPID dispID) { + return This->lpVtbl->OnRequestEdit(This,dispID); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyNotifySink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISimpleFrameSite interface + */ +#ifndef __ISimpleFrameSite_INTERFACE_DEFINED__ +#define __ISimpleFrameSite_INTERFACE_DEFINED__ + +typedef ISimpleFrameSite *LPSIMPLEFRAMESITE; +DEFINE_GUID(IID_ISimpleFrameSite, 0x742b0e01, 0x14e6, 0x101b, 0x91,0x4e, 0x00,0xaa,0x00,0x30,0x0c,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("742b0e01-14e6-101b-914e-00aa00300cab") +ISimpleFrameSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PreMessageFilter( + HWND hWnd, + UINT msg, + WPARAM wp, + LPARAM lp, + LRESULT *plResult, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostMessageFilter( + HWND hWnd, + UINT msg, + WPARAM wp, + LPARAM lp, + LRESULT *plResult, + DWORD dwCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISimpleFrameSite, 0x742b0e01, 0x14e6, 0x101b, 0x91,0x4e, 0x00,0xaa,0x00,0x30,0x0c,0xab) +#endif +#else +typedef struct ISimpleFrameSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISimpleFrameSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISimpleFrameSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISimpleFrameSite *This); + + /*** ISimpleFrameSite methods ***/ + HRESULT (STDMETHODCALLTYPE *PreMessageFilter)( + ISimpleFrameSite *This, + HWND hWnd, + UINT msg, + WPARAM wp, + LPARAM lp, + LRESULT *plResult, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *PostMessageFilter)( + ISimpleFrameSite *This, + HWND hWnd, + UINT msg, + WPARAM wp, + LPARAM lp, + LRESULT *plResult, + DWORD dwCookie); + + END_INTERFACE +} ISimpleFrameSiteVtbl; + +interface ISimpleFrameSite { + CONST_VTBL ISimpleFrameSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISimpleFrameSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISimpleFrameSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISimpleFrameSite_Release(This) (This)->lpVtbl->Release(This) +/*** ISimpleFrameSite methods ***/ +#define ISimpleFrameSite_PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie) (This)->lpVtbl->PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie) +#define ISimpleFrameSite_PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie) (This)->lpVtbl->PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISimpleFrameSite_QueryInterface(ISimpleFrameSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISimpleFrameSite_AddRef(ISimpleFrameSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISimpleFrameSite_Release(ISimpleFrameSite* This) { + return This->lpVtbl->Release(This); +} +/*** ISimpleFrameSite methods ***/ +static FORCEINLINE HRESULT ISimpleFrameSite_PreMessageFilter(ISimpleFrameSite* This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie) { + return This->lpVtbl->PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie); +} +static FORCEINLINE HRESULT ISimpleFrameSite_PostMessageFilter(ISimpleFrameSite* This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie) { + return This->lpVtbl->PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie); +} +#endif +#endif + +#endif + + +#endif /* __ISimpleFrameSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistStreamInit interface + */ +#ifndef __IPersistStreamInit_INTERFACE_DEFINED__ +#define __IPersistStreamInit_INTERFACE_DEFINED__ + +typedef IPersistStreamInit *LPPERSISTSTREAMINIT; +DEFINE_GUID(IID_IPersistStreamInit, 0x7fd52380, 0x4e07, 0x101b, 0xae,0x2d, 0x08,0x00,0x2b,0x2e,0xc7,0x13); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7fd52380-4e07-101b-ae2d-08002b2ec713") +IPersistStreamInit : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + LPSTREAM pStm) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + LPSTREAM pStm, + BOOL fClearDirty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSizeMax( + ULARGE_INTEGER *pcbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistStreamInit, 0x7fd52380, 0x4e07, 0x101b, 0xae,0x2d, 0x08,0x00,0x2b,0x2e,0xc7,0x13) +#endif +#else +typedef struct IPersistStreamInitVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistStreamInit *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistStreamInit *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistStreamInit *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistStreamInit *This, + CLSID *pClassID); + + /*** IPersistStreamInit methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistStreamInit *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistStreamInit *This, + LPSTREAM pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistStreamInit *This, + LPSTREAM pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IPersistStreamInit *This, + ULARGE_INTEGER *pcbSize); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPersistStreamInit *This); + + END_INTERFACE +} IPersistStreamInitVtbl; + +interface IPersistStreamInit { + CONST_VTBL IPersistStreamInitVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistStreamInit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistStreamInit_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistStreamInit_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistStreamInit_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStreamInit methods ***/ +#define IPersistStreamInit_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IPersistStreamInit_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IPersistStreamInit_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IPersistStreamInit_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +#define IPersistStreamInit_InitNew(This) (This)->lpVtbl->InitNew(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistStreamInit_QueryInterface(IPersistStreamInit* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistStreamInit_AddRef(IPersistStreamInit* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistStreamInit_Release(IPersistStreamInit* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistStreamInit_GetClassID(IPersistStreamInit* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStreamInit methods ***/ +static FORCEINLINE HRESULT IPersistStreamInit_IsDirty(IPersistStreamInit* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IPersistStreamInit_Load(IPersistStreamInit* This,LPSTREAM pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IPersistStreamInit_Save(IPersistStreamInit* This,LPSTREAM pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IPersistStreamInit_GetSizeMax(IPersistStreamInit* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +static FORCEINLINE HRESULT IPersistStreamInit_InitNew(IPersistStreamInit* This) { + return This->lpVtbl->InitNew(This); +} +#endif +#endif + +#endif + + +#endif /* __IPersistStreamInit_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistMemory interface + */ +#ifndef __IPersistMemory_INTERFACE_DEFINED__ +#define __IPersistMemory_INTERFACE_DEFINED__ + +typedef IPersistMemory *LPPERSISTMEMORY; +DEFINE_GUID(IID_IPersistMemory, 0xbd1ae5e0, 0xa6ae, 0x11ce, 0xbd,0x37, 0x50,0x42,0x00,0xc1,0x00,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bd1ae5e0-a6ae-11ce-bd37-504200c10000") +IPersistMemory : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + LPVOID pMem, + ULONG cbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + LPVOID pMem, + BOOL fClearDirty, + ULONG cbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSizeMax( + ULONG *pCbSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistMemory, 0xbd1ae5e0, 0xa6ae, 0x11ce, 0xbd,0x37, 0x50,0x42,0x00,0xc1,0x00,0x00) +#endif +#else +typedef struct IPersistMemoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistMemory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistMemory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistMemory *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistMemory *This, + CLSID *pClassID); + + /*** IPersistMemory methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistMemory *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistMemory *This, + LPVOID pMem, + ULONG cbSize); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistMemory *This, + LPVOID pMem, + BOOL fClearDirty, + ULONG cbSize); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IPersistMemory *This, + ULONG *pCbSize); + + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPersistMemory *This); + + END_INTERFACE +} IPersistMemoryVtbl; + +interface IPersistMemory { + CONST_VTBL IPersistMemoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistMemory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistMemory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistMemory_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistMemory_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistMemory methods ***/ +#define IPersistMemory_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IPersistMemory_Load(This,pMem,cbSize) (This)->lpVtbl->Load(This,pMem,cbSize) +#define IPersistMemory_Save(This,pMem,fClearDirty,cbSize) (This)->lpVtbl->Save(This,pMem,fClearDirty,cbSize) +#define IPersistMemory_GetSizeMax(This,pCbSize) (This)->lpVtbl->GetSizeMax(This,pCbSize) +#define IPersistMemory_InitNew(This) (This)->lpVtbl->InitNew(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistMemory_QueryInterface(IPersistMemory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistMemory_AddRef(IPersistMemory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistMemory_Release(IPersistMemory* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistMemory_GetClassID(IPersistMemory* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistMemory methods ***/ +static FORCEINLINE HRESULT IPersistMemory_IsDirty(IPersistMemory* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IPersistMemory_Load(IPersistMemory* This,LPVOID pMem,ULONG cbSize) { + return This->lpVtbl->Load(This,pMem,cbSize); +} +static FORCEINLINE HRESULT IPersistMemory_Save(IPersistMemory* This,LPVOID pMem,BOOL fClearDirty,ULONG cbSize) { + return This->lpVtbl->Save(This,pMem,fClearDirty,cbSize); +} +static FORCEINLINE HRESULT IPersistMemory_GetSizeMax(IPersistMemory* This,ULONG *pCbSize) { + return This->lpVtbl->GetSizeMax(This,pCbSize); +} +static FORCEINLINE HRESULT IPersistMemory_InitNew(IPersistMemory* This) { + return This->lpVtbl->InitNew(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPersistMemory_RemoteLoad_Proxy( + IPersistMemory* This, + BYTE *pMem, + ULONG cbSize); +void __RPC_STUB IPersistMemory_RemoteLoad_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IPersistMemory_RemoteSave_Proxy( + IPersistMemory* This, + BYTE *pMem, + BOOL fClearDirty, + ULONG cbSize); +void __RPC_STUB IPersistMemory_RemoteSave_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IPersistMemory_Load_Proxy( + IPersistMemory* This, + LPVOID pMem, + ULONG cbSize); +HRESULT __RPC_STUB IPersistMemory_Load_Stub( + IPersistMemory* This, + BYTE *pMem, + ULONG cbSize); +HRESULT CALLBACK IPersistMemory_Save_Proxy( + IPersistMemory* This, + LPVOID pMem, + BOOL fClearDirty, + ULONG cbSize); +HRESULT __RPC_STUB IPersistMemory_Save_Stub( + IPersistMemory* This, + BYTE *pMem, + BOOL fClearDirty, + ULONG cbSize); + +#endif /* __IPersistMemory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistPropertyBag interface + */ +#ifndef __IPersistPropertyBag_INTERFACE_DEFINED__ +#define __IPersistPropertyBag_INTERFACE_DEFINED__ + +typedef IPersistPropertyBag *LPPERSISTPROPERTYBAG; +DEFINE_GUID(IID_IPersistPropertyBag, 0x37d84f60, 0x42cb, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("37d84f60-42cb-11ce-8135-00aa004bb851") +IPersistPropertyBag : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + IPropertyBag *pPropBag, + IErrorLog *pErrorLog) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + IPropertyBag *pPropBag, + BOOL fClearDirty, + BOOL fSaveAllProperties) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistPropertyBag, 0x37d84f60, 0x42cb, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51) +#endif +#else +typedef struct IPersistPropertyBagVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistPropertyBag *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistPropertyBag *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistPropertyBag *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistPropertyBag *This, + CLSID *pClassID); + + /*** IPersistPropertyBag methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPersistPropertyBag *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistPropertyBag *This, + IPropertyBag *pPropBag, + IErrorLog *pErrorLog); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistPropertyBag *This, + IPropertyBag *pPropBag, + BOOL fClearDirty, + BOOL fSaveAllProperties); + + END_INTERFACE +} IPersistPropertyBagVtbl; + +interface IPersistPropertyBag { + CONST_VTBL IPersistPropertyBagVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistPropertyBag_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistPropertyBag_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistPropertyBag methods ***/ +#define IPersistPropertyBag_InitNew(This) (This)->lpVtbl->InitNew(This) +#define IPersistPropertyBag_Load(This,pPropBag,pErrorLog) (This)->lpVtbl->Load(This,pPropBag,pErrorLog) +#define IPersistPropertyBag_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistPropertyBag_QueryInterface(IPersistPropertyBag* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistPropertyBag_AddRef(IPersistPropertyBag* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistPropertyBag_Release(IPersistPropertyBag* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistPropertyBag_GetClassID(IPersistPropertyBag* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistPropertyBag methods ***/ +static FORCEINLINE HRESULT IPersistPropertyBag_InitNew(IPersistPropertyBag* This) { + return This->lpVtbl->InitNew(This); +} +static FORCEINLINE HRESULT IPersistPropertyBag_Load(IPersistPropertyBag* This,IPropertyBag *pPropBag,IErrorLog *pErrorLog) { + return This->lpVtbl->Load(This,pPropBag,pErrorLog); +} +static FORCEINLINE HRESULT IPersistPropertyBag_Save(IPersistPropertyBag* This,IPropertyBag *pPropBag,BOOL fClearDirty,BOOL fSaveAllProperties) { + return This->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties); +} +#endif +#endif + +#endif + + +#endif /* __IPersistPropertyBag_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyBag2 interface + */ +#ifndef __IPropertyBag2_INTERFACE_DEFINED__ +#define __IPropertyBag2_INTERFACE_DEFINED__ + +typedef IPropertyBag2 *LPPROPERTYBAG2; +typedef enum tagPROPBAG2_TYPE { + PROPBAG2_TYPE_UNDEFINED = 0, + PROPBAG2_TYPE_DATA = 1, + PROPBAG2_TYPE_URL = 2, + PROPBAG2_TYPE_OBJECT = 3, + PROPBAG2_TYPE_STREAM = 4, + PROPBAG2_TYPE_STORAGE = 5, + PROPBAG2_TYPE_MONIKER = 6 +} PROPBAG2_TYPE; +typedef struct tagPROPBAG2 { + DWORD dwType; + VARTYPE vt; + CLIPFORMAT cfType; + DWORD dwHint; + LPOLESTR pstrName; + CLSID clsid; +} PROPBAG2; +DEFINE_GUID(IID_IPropertyBag2, 0x22f55882, 0x280b, 0x11d0, 0xa8,0xa9, 0x00,0xa0,0xc9,0x0c,0x20,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("22f55882-280b-11d0-a8a9-00a0c90c2004") +IPropertyBag2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Read( + ULONG cProperties, + PROPBAG2 *pPropBag, + IErrorLog *pErrLog, + VARIANT *pvarValue, + HRESULT *phrError) = 0; + + virtual HRESULT STDMETHODCALLTYPE Write( + ULONG cProperties, + PROPBAG2 *pPropBag, + VARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE CountProperties( + ULONG *pcProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo( + ULONG iProperty, + ULONG cProperties, + PROPBAG2 *pPropBag, + ULONG *pcProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadObject( + LPCOLESTR pstrName, + DWORD dwHint, + IUnknown *pUnkObject, + IErrorLog *pErrLog) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyBag2, 0x22f55882, 0x280b, 0x11d0, 0xa8,0xa9, 0x00,0xa0,0xc9,0x0c,0x20,0x04) +#endif +#else +typedef struct IPropertyBag2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyBag2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyBag2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyBag2 *This); + + /*** IPropertyBag2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IPropertyBag2 *This, + ULONG cProperties, + PROPBAG2 *pPropBag, + IErrorLog *pErrLog, + VARIANT *pvarValue, + HRESULT *phrError); + + HRESULT (STDMETHODCALLTYPE *Write)( + IPropertyBag2 *This, + ULONG cProperties, + PROPBAG2 *pPropBag, + VARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *CountProperties)( + IPropertyBag2 *This, + ULONG *pcProperties); + + HRESULT (STDMETHODCALLTYPE *GetPropertyInfo)( + IPropertyBag2 *This, + ULONG iProperty, + ULONG cProperties, + PROPBAG2 *pPropBag, + ULONG *pcProperties); + + HRESULT (STDMETHODCALLTYPE *LoadObject)( + IPropertyBag2 *This, + LPCOLESTR pstrName, + DWORD dwHint, + IUnknown *pUnkObject, + IErrorLog *pErrLog); + + END_INTERFACE +} IPropertyBag2Vtbl; + +interface IPropertyBag2 { + CONST_VTBL IPropertyBag2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyBag2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyBag2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyBag2_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyBag2 methods ***/ +#define IPropertyBag2_Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError) (This)->lpVtbl->Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError) +#define IPropertyBag2_Write(This,cProperties,pPropBag,pvarValue) (This)->lpVtbl->Write(This,cProperties,pPropBag,pvarValue) +#define IPropertyBag2_CountProperties(This,pcProperties) (This)->lpVtbl->CountProperties(This,pcProperties) +#define IPropertyBag2_GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties) (This)->lpVtbl->GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties) +#define IPropertyBag2_LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog) (This)->lpVtbl->LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyBag2_QueryInterface(IPropertyBag2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyBag2_AddRef(IPropertyBag2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyBag2_Release(IPropertyBag2* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyBag2 methods ***/ +static FORCEINLINE HRESULT IPropertyBag2_Read(IPropertyBag2* This,ULONG cProperties,PROPBAG2 *pPropBag,IErrorLog *pErrLog,VARIANT *pvarValue,HRESULT *phrError) { + return This->lpVtbl->Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError); +} +static FORCEINLINE HRESULT IPropertyBag2_Write(IPropertyBag2* This,ULONG cProperties,PROPBAG2 *pPropBag,VARIANT *pvarValue) { + return This->lpVtbl->Write(This,cProperties,pPropBag,pvarValue); +} +static FORCEINLINE HRESULT IPropertyBag2_CountProperties(IPropertyBag2* This,ULONG *pcProperties) { + return This->lpVtbl->CountProperties(This,pcProperties); +} +static FORCEINLINE HRESULT IPropertyBag2_GetPropertyInfo(IPropertyBag2* This,ULONG iProperty,ULONG cProperties,PROPBAG2 *pPropBag,ULONG *pcProperties) { + return This->lpVtbl->GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties); +} +static FORCEINLINE HRESULT IPropertyBag2_LoadObject(IPropertyBag2* This,LPCOLESTR pstrName,DWORD dwHint,IUnknown *pUnkObject,IErrorLog *pErrLog) { + return This->lpVtbl->LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyBag2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistPropertyBag2 interface + */ +#ifndef __IPersistPropertyBag2_INTERFACE_DEFINED__ +#define __IPersistPropertyBag2_INTERFACE_DEFINED__ + +typedef IPersistPropertyBag2 *LPPERSISTPROPERTYBAG2; +DEFINE_GUID(IID_IPersistPropertyBag2, 0x22f55881, 0x280b, 0x11d0, 0xa8,0xa9, 0x00,0xa0,0xc9,0x0c,0x20,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("22f55881-280b-11d0-a8a9-00a0c90c2004") +IPersistPropertyBag2 : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + IPropertyBag2 *pPropBag, + IErrorLog *pErrorLog) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + IPropertyBag2 *pPropBag, + BOOL fClearDirty, + BOOL fSaveAllProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistPropertyBag2, 0x22f55881, 0x280b, 0x11d0, 0xa8,0xa9, 0x00,0xa0,0xc9,0x0c,0x20,0x04) +#endif +#else +typedef struct IPersistPropertyBag2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistPropertyBag2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistPropertyBag2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistPropertyBag2 *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistPropertyBag2 *This, + CLSID *pClassID); + + /*** IPersistPropertyBag2 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPersistPropertyBag2 *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistPropertyBag2 *This, + IPropertyBag2 *pPropBag, + IErrorLog *pErrorLog); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistPropertyBag2 *This, + IPropertyBag2 *pPropBag, + BOOL fClearDirty, + BOOL fSaveAllProperties); + + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistPropertyBag2 *This); + + END_INTERFACE +} IPersistPropertyBag2Vtbl; + +interface IPersistPropertyBag2 { + CONST_VTBL IPersistPropertyBag2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistPropertyBag2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistPropertyBag2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistPropertyBag2_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistPropertyBag2_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistPropertyBag2 methods ***/ +#define IPersistPropertyBag2_InitNew(This) (This)->lpVtbl->InitNew(This) +#define IPersistPropertyBag2_Load(This,pPropBag,pErrorLog) (This)->lpVtbl->Load(This,pPropBag,pErrorLog) +#define IPersistPropertyBag2_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties) +#define IPersistPropertyBag2_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistPropertyBag2_QueryInterface(IPersistPropertyBag2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistPropertyBag2_AddRef(IPersistPropertyBag2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistPropertyBag2_Release(IPersistPropertyBag2* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistPropertyBag2_GetClassID(IPersistPropertyBag2* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistPropertyBag2 methods ***/ +static FORCEINLINE HRESULT IPersistPropertyBag2_InitNew(IPersistPropertyBag2* This) { + return This->lpVtbl->InitNew(This); +} +static FORCEINLINE HRESULT IPersistPropertyBag2_Load(IPersistPropertyBag2* This,IPropertyBag2 *pPropBag,IErrorLog *pErrorLog) { + return This->lpVtbl->Load(This,pPropBag,pErrorLog); +} +static FORCEINLINE HRESULT IPersistPropertyBag2_Save(IPersistPropertyBag2* This,IPropertyBag2 *pPropBag,BOOL fClearDirty,BOOL fSaveAllProperties) { + return This->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties); +} +static FORCEINLINE HRESULT IPersistPropertyBag2_IsDirty(IPersistPropertyBag2* This) { + return This->lpVtbl->IsDirty(This); +} +#endif +#endif + +#endif + + +#endif /* __IPersistPropertyBag2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISpecifyPropertyPages interface + */ +#ifndef __ISpecifyPropertyPages_INTERFACE_DEFINED__ +#define __ISpecifyPropertyPages_INTERFACE_DEFINED__ + +typedef ISpecifyPropertyPages *LPSPECIFYPROPERTYPAGES; +typedef struct tagCAUUID { + ULONG cElems; + GUID *pElems; +} CAUUID; +typedef struct tagCAUUID *LPCAUUID; +DEFINE_GUID(IID_ISpecifyPropertyPages, 0xb196b28b, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b196b28b-bab4-101a-b69c-00aa00341d07") +ISpecifyPropertyPages : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPages( + CAUUID *pPages) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISpecifyPropertyPages, 0xb196b28b, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07) +#endif +#else +typedef struct ISpecifyPropertyPagesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISpecifyPropertyPages *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISpecifyPropertyPages *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISpecifyPropertyPages *This); + + /*** ISpecifyPropertyPages methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPages)( + ISpecifyPropertyPages *This, + CAUUID *pPages); + + END_INTERFACE +} ISpecifyPropertyPagesVtbl; + +interface ISpecifyPropertyPages { + CONST_VTBL ISpecifyPropertyPagesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISpecifyPropertyPages_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISpecifyPropertyPages_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISpecifyPropertyPages_Release(This) (This)->lpVtbl->Release(This) +/*** ISpecifyPropertyPages methods ***/ +#define ISpecifyPropertyPages_GetPages(This,pPages) (This)->lpVtbl->GetPages(This,pPages) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISpecifyPropertyPages_QueryInterface(ISpecifyPropertyPages* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISpecifyPropertyPages_AddRef(ISpecifyPropertyPages* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISpecifyPropertyPages_Release(ISpecifyPropertyPages* This) { + return This->lpVtbl->Release(This); +} +/*** ISpecifyPropertyPages methods ***/ +static FORCEINLINE HRESULT ISpecifyPropertyPages_GetPages(ISpecifyPropertyPages* This,CAUUID *pPages) { + return This->lpVtbl->GetPages(This,pPages); +} +#endif +#endif + +#endif + + +#endif /* __ISpecifyPropertyPages_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPerPropertyBrowsing interface + */ +#ifndef __IPerPropertyBrowsing_INTERFACE_DEFINED__ +#define __IPerPropertyBrowsing_INTERFACE_DEFINED__ + +typedef IPerPropertyBrowsing *LPPERPROPERTYBROWSING; +typedef struct tagCALPOLESTR { + ULONG cElems; + LPOLESTR *pElems; +} CALPOLESTR; +typedef struct tagCALPOLESTR *LPCALPOLESTR; +typedef struct tagCADWORD { + ULONG cElems; + DWORD *pElems; +} CADWORD; +typedef struct tagCADWORD *LPCADWORD; +DEFINE_GUID(IID_IPerPropertyBrowsing, 0x376bd3aa, 0x3845, 0x101b, 0x84,0xed, 0x08,0x00,0x2b,0x2e,0xc7,0x13); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("376bd3aa-3845-101b-84ed-08002b2ec713") +IPerPropertyBrowsing : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDisplayString( + DISPID dispID, + BSTR *pBstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapPropertyToPage( + DISPID dispID, + CLSID *pClsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPredefinedStrings( + DISPID dispID, + CALPOLESTR *pCaStringsOut, + CADWORD *pCaCookiesOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPredefinedValue( + DISPID dispID, + DWORD dwCookie, + VARIANT *pVarOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPerPropertyBrowsing, 0x376bd3aa, 0x3845, 0x101b, 0x84,0xed, 0x08,0x00,0x2b,0x2e,0xc7,0x13) +#endif +#else +typedef struct IPerPropertyBrowsingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPerPropertyBrowsing *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPerPropertyBrowsing *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPerPropertyBrowsing *This); + + /*** IPerPropertyBrowsing methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDisplayString)( + IPerPropertyBrowsing *This, + DISPID dispID, + BSTR *pBstr); + + HRESULT (STDMETHODCALLTYPE *MapPropertyToPage)( + IPerPropertyBrowsing *This, + DISPID dispID, + CLSID *pClsid); + + HRESULT (STDMETHODCALLTYPE *GetPredefinedStrings)( + IPerPropertyBrowsing *This, + DISPID dispID, + CALPOLESTR *pCaStringsOut, + CADWORD *pCaCookiesOut); + + HRESULT (STDMETHODCALLTYPE *GetPredefinedValue)( + IPerPropertyBrowsing *This, + DISPID dispID, + DWORD dwCookie, + VARIANT *pVarOut); + + END_INTERFACE +} IPerPropertyBrowsingVtbl; + +interface IPerPropertyBrowsing { + CONST_VTBL IPerPropertyBrowsingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPerPropertyBrowsing_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPerPropertyBrowsing_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPerPropertyBrowsing_Release(This) (This)->lpVtbl->Release(This) +/*** IPerPropertyBrowsing methods ***/ +#define IPerPropertyBrowsing_GetDisplayString(This,dispID,pBstr) (This)->lpVtbl->GetDisplayString(This,dispID,pBstr) +#define IPerPropertyBrowsing_MapPropertyToPage(This,dispID,pClsid) (This)->lpVtbl->MapPropertyToPage(This,dispID,pClsid) +#define IPerPropertyBrowsing_GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut) (This)->lpVtbl->GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut) +#define IPerPropertyBrowsing_GetPredefinedValue(This,dispID,dwCookie,pVarOut) (This)->lpVtbl->GetPredefinedValue(This,dispID,dwCookie,pVarOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPerPropertyBrowsing_QueryInterface(IPerPropertyBrowsing* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPerPropertyBrowsing_AddRef(IPerPropertyBrowsing* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPerPropertyBrowsing_Release(IPerPropertyBrowsing* This) { + return This->lpVtbl->Release(This); +} +/*** IPerPropertyBrowsing methods ***/ +static FORCEINLINE HRESULT IPerPropertyBrowsing_GetDisplayString(IPerPropertyBrowsing* This,DISPID dispID,BSTR *pBstr) { + return This->lpVtbl->GetDisplayString(This,dispID,pBstr); +} +static FORCEINLINE HRESULT IPerPropertyBrowsing_MapPropertyToPage(IPerPropertyBrowsing* This,DISPID dispID,CLSID *pClsid) { + return This->lpVtbl->MapPropertyToPage(This,dispID,pClsid); +} +static FORCEINLINE HRESULT IPerPropertyBrowsing_GetPredefinedStrings(IPerPropertyBrowsing* This,DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut) { + return This->lpVtbl->GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut); +} +static FORCEINLINE HRESULT IPerPropertyBrowsing_GetPredefinedValue(IPerPropertyBrowsing* This,DISPID dispID,DWORD dwCookie,VARIANT *pVarOut) { + return This->lpVtbl->GetPredefinedValue(This,dispID,dwCookie,pVarOut); +} +#endif +#endif + +#endif + + +#endif /* __IPerPropertyBrowsing_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAdviseSinkEx interface + */ +#ifndef __IAdviseSinkEx_INTERFACE_DEFINED__ +#define __IAdviseSinkEx_INTERFACE_DEFINED__ + +typedef IAdviseSinkEx *LPADVISESINKEX; +DEFINE_GUID(IID_IAdviseSinkEx, 0x3af24290, 0x0c96, 0x11ce, 0xa0,0xcf, 0x00,0xaa,0x00,0x60,0x0a,0xb8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3af24290-0c96-11ce-a0cf-00aa00600ab8") +IAdviseSinkEx : public IAdviseSink +{ + virtual void STDMETHODCALLTYPE OnViewStatusChange( + DWORD dwViewStatus) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAdviseSinkEx, 0x3af24290, 0x0c96, 0x11ce, 0xa0,0xcf, 0x00,0xaa,0x00,0x60,0x0a,0xb8) +#endif +#else +typedef struct IAdviseSinkExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAdviseSinkEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAdviseSinkEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAdviseSinkEx *This); + + /*** IAdviseSink methods ***/ + void (STDMETHODCALLTYPE *OnDataChange)( + IAdviseSinkEx *This, + FORMATETC *pFormatetc, + STGMEDIUM *pStgmed); + + void (STDMETHODCALLTYPE *OnViewChange)( + IAdviseSinkEx *This, + DWORD dwAspect, + LONG lindex); + + void (STDMETHODCALLTYPE *OnRename)( + IAdviseSinkEx *This, + IMoniker *pmk); + + void (STDMETHODCALLTYPE *OnSave)( + IAdviseSinkEx *This); + + void (STDMETHODCALLTYPE *OnClose)( + IAdviseSinkEx *This); + + /*** IAdviseSinkEx methods ***/ + void (STDMETHODCALLTYPE *OnViewStatusChange)( + IAdviseSinkEx *This, + DWORD dwViewStatus); + + END_INTERFACE +} IAdviseSinkExVtbl; + +interface IAdviseSinkEx { + CONST_VTBL IAdviseSinkExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAdviseSinkEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAdviseSinkEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAdviseSinkEx_Release(This) (This)->lpVtbl->Release(This) +/*** IAdviseSink methods ***/ +#define IAdviseSinkEx_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed) +#define IAdviseSinkEx_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex) +#define IAdviseSinkEx_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk) +#define IAdviseSinkEx_OnSave(This) (This)->lpVtbl->OnSave(This) +#define IAdviseSinkEx_OnClose(This) (This)->lpVtbl->OnClose(This) +/*** IAdviseSinkEx methods ***/ +#define IAdviseSinkEx_OnViewStatusChange(This,dwViewStatus) (This)->lpVtbl->OnViewStatusChange(This,dwViewStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAdviseSinkEx_QueryInterface(IAdviseSinkEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAdviseSinkEx_AddRef(IAdviseSinkEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAdviseSinkEx_Release(IAdviseSinkEx* This) { + return This->lpVtbl->Release(This); +} +/*** IAdviseSink methods ***/ +static FORCEINLINE void IAdviseSinkEx_OnDataChange(IAdviseSinkEx* This,FORMATETC *pFormatetc,STGMEDIUM *pStgmed) { + This->lpVtbl->OnDataChange(This,pFormatetc,pStgmed); +} +static FORCEINLINE void IAdviseSinkEx_OnViewChange(IAdviseSinkEx* This,DWORD dwAspect,LONG lindex) { + This->lpVtbl->OnViewChange(This,dwAspect,lindex); +} +static FORCEINLINE void IAdviseSinkEx_OnRename(IAdviseSinkEx* This,IMoniker *pmk) { + This->lpVtbl->OnRename(This,pmk); +} +static FORCEINLINE void IAdviseSinkEx_OnSave(IAdviseSinkEx* This) { + This->lpVtbl->OnSave(This); +} +static FORCEINLINE void IAdviseSinkEx_OnClose(IAdviseSinkEx* This) { + This->lpVtbl->OnClose(This); +} +/*** IAdviseSinkEx methods ***/ +static FORCEINLINE void IAdviseSinkEx_OnViewStatusChange(IAdviseSinkEx* This,DWORD dwViewStatus) { + This->lpVtbl->OnViewStatusChange(This,dwViewStatus); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IAdviseSinkEx_RemoteOnViewStatusChange_Proxy( + IAdviseSinkEx* This, + DWORD dwViewStatus); +void __RPC_STUB IAdviseSinkEx_RemoteOnViewStatusChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +void CALLBACK IAdviseSinkEx_OnViewStatusChange_Proxy( + IAdviseSinkEx* This, + DWORD dwViewStatus); +HRESULT __RPC_STUB IAdviseSinkEx_OnViewStatusChange_Stub( + IAdviseSinkEx* This, + DWORD dwViewStatus); + +#endif /* __IAdviseSinkEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPointerInactive interface + */ +#ifndef __IPointerInactive_INTERFACE_DEFINED__ +#define __IPointerInactive_INTERFACE_DEFINED__ + +typedef IPointerInactive *LPPOINTERINACTIVE; +DEFINE_GUID(IID_IPointerInactive, 0x55980ba0, 0x35aa, 0x11cf, 0xb6,0x71, 0x00,0xaa,0x00,0x4c,0xd6,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("55980ba0-35aa-11cf-b671-00aa004cd6d8") +IPointerInactive : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetActivationPolicy( + DWORD *pdwPolicy) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInactiveMouseMove( + LPCRECT pRectBounds, + LONG x, + LONG y, + DWORD grfKeyState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInactiveSetCursor( + LPCRECT pRectBounds, + LONG x, + LONG y, + DWORD dwMouseMsg, + BOOL fSetAlways) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPointerInactive, 0x55980ba0, 0x35aa, 0x11cf, 0xb6,0x71, 0x00,0xaa,0x00,0x4c,0xd6,0xd8) +#endif +#else +typedef struct IPointerInactiveVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPointerInactive *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPointerInactive *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPointerInactive *This); + + /*** IPointerInactive methods ***/ + HRESULT (STDMETHODCALLTYPE *GetActivationPolicy)( + IPointerInactive *This, + DWORD *pdwPolicy); + + HRESULT (STDMETHODCALLTYPE *OnInactiveMouseMove)( + IPointerInactive *This, + LPCRECT pRectBounds, + LONG x, + LONG y, + DWORD grfKeyState); + + HRESULT (STDMETHODCALLTYPE *OnInactiveSetCursor)( + IPointerInactive *This, + LPCRECT pRectBounds, + LONG x, + LONG y, + DWORD dwMouseMsg, + BOOL fSetAlways); + + END_INTERFACE +} IPointerInactiveVtbl; + +interface IPointerInactive { + CONST_VTBL IPointerInactiveVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPointerInactive_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPointerInactive_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPointerInactive_Release(This) (This)->lpVtbl->Release(This) +/*** IPointerInactive methods ***/ +#define IPointerInactive_GetActivationPolicy(This,pdwPolicy) (This)->lpVtbl->GetActivationPolicy(This,pdwPolicy) +#define IPointerInactive_OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState) (This)->lpVtbl->OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState) +#define IPointerInactive_OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways) (This)->lpVtbl->OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPointerInactive_QueryInterface(IPointerInactive* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPointerInactive_AddRef(IPointerInactive* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPointerInactive_Release(IPointerInactive* This) { + return This->lpVtbl->Release(This); +} +/*** IPointerInactive methods ***/ +static FORCEINLINE HRESULT IPointerInactive_GetActivationPolicy(IPointerInactive* This,DWORD *pdwPolicy) { + return This->lpVtbl->GetActivationPolicy(This,pdwPolicy); +} +static FORCEINLINE HRESULT IPointerInactive_OnInactiveMouseMove(IPointerInactive* This,LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState) { + return This->lpVtbl->OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState); +} +static FORCEINLINE HRESULT IPointerInactive_OnInactiveSetCursor(IPointerInactive* This,LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,BOOL fSetAlways) { + return This->lpVtbl->OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways); +} +#endif +#endif + +#endif + + +#endif /* __IPointerInactive_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IObjectWithSite interface + */ +#ifndef __IObjectWithSite_INTERFACE_DEFINED__ +#define __IObjectWithSite_INTERFACE_DEFINED__ + +typedef IObjectWithSite *LPOBJECTWITHSITE; +DEFINE_GUID(IID_IObjectWithSite, 0xfc4801a3, 0x2ba9, 0x11cf, 0xa2,0x29, 0x00,0xaa,0x00,0x3d,0x73,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fc4801a3-2ba9-11cf-a229-00aa003d7352") +IObjectWithSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetSite( + IUnknown *pUnkSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSite( + REFIID riid, + PVOID *ppvSite) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjectWithSite, 0xfc4801a3, 0x2ba9, 0x11cf, 0xa2,0x29, 0x00,0xaa,0x00,0x3d,0x73,0x52) +#endif +#else +typedef struct IObjectWithSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjectWithSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjectWithSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjectWithSite *This); + + /*** IObjectWithSite methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSite)( + IObjectWithSite *This, + IUnknown *pUnkSite); + + HRESULT (STDMETHODCALLTYPE *GetSite)( + IObjectWithSite *This, + REFIID riid, + PVOID *ppvSite); + + END_INTERFACE +} IObjectWithSiteVtbl; + +interface IObjectWithSite { + CONST_VTBL IObjectWithSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjectWithSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjectWithSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjectWithSite_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectWithSite methods ***/ +#define IObjectWithSite_SetSite(This,pUnkSite) (This)->lpVtbl->SetSite(This,pUnkSite) +#define IObjectWithSite_GetSite(This,riid,ppvSite) (This)->lpVtbl->GetSite(This,riid,ppvSite) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjectWithSite_QueryInterface(IObjectWithSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjectWithSite_AddRef(IObjectWithSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjectWithSite_Release(IObjectWithSite* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectWithSite methods ***/ +static FORCEINLINE HRESULT IObjectWithSite_SetSite(IObjectWithSite* This,IUnknown *pUnkSite) { + return This->lpVtbl->SetSite(This,pUnkSite); +} +static FORCEINLINE HRESULT IObjectWithSite_GetSite(IObjectWithSite* This,REFIID riid,PVOID *ppvSite) { + return This->lpVtbl->GetSite(This,riid,ppvSite); +} +#endif +#endif + +#endif + + +#endif /* __IObjectWithSite_INTERFACE_DEFINED__ */ + +#ifndef __IOleUndoManager_FWD_DEFINED__ +#define __IOleUndoManager_FWD_DEFINED__ +typedef interface IOleUndoManager IOleUndoManager; +#ifdef __cplusplus +interface IOleUndoManager; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IOleUndoUnit interface + */ +#ifndef __IOleUndoUnit_INTERFACE_DEFINED__ +#define __IOleUndoUnit_INTERFACE_DEFINED__ + +typedef IOleUndoUnit *LPOLEUNDOUNIT; +DEFINE_GUID(IID_IOleUndoUnit, 0x894ad3b0, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("894ad3b0-ef97-11ce-9bc9-00aa00608e01") +IOleUndoUnit : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Do( + IOleUndoManager *pUndoManager) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + BSTR *pBstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUnitType( + CLSID *pClsid, + LONG *plID) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNextAdd( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleUndoUnit, 0x894ad3b0, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01) +#endif +#else +typedef struct IOleUndoUnitVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleUndoUnit *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleUndoUnit *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleUndoUnit *This); + + /*** IOleUndoUnit methods ***/ + HRESULT (STDMETHODCALLTYPE *Do)( + IOleUndoUnit *This, + IOleUndoManager *pUndoManager); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IOleUndoUnit *This, + BSTR *pBstr); + + HRESULT (STDMETHODCALLTYPE *GetUnitType)( + IOleUndoUnit *This, + CLSID *pClsid, + LONG *plID); + + HRESULT (STDMETHODCALLTYPE *OnNextAdd)( + IOleUndoUnit *This); + + END_INTERFACE +} IOleUndoUnitVtbl; + +interface IOleUndoUnit { + CONST_VTBL IOleUndoUnitVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleUndoUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleUndoUnit_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleUndoUnit_Release(This) (This)->lpVtbl->Release(This) +/*** IOleUndoUnit methods ***/ +#define IOleUndoUnit_Do(This,pUndoManager) (This)->lpVtbl->Do(This,pUndoManager) +#define IOleUndoUnit_GetDescription(This,pBstr) (This)->lpVtbl->GetDescription(This,pBstr) +#define IOleUndoUnit_GetUnitType(This,pClsid,plID) (This)->lpVtbl->GetUnitType(This,pClsid,plID) +#define IOleUndoUnit_OnNextAdd(This) (This)->lpVtbl->OnNextAdd(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleUndoUnit_QueryInterface(IOleUndoUnit* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleUndoUnit_AddRef(IOleUndoUnit* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleUndoUnit_Release(IOleUndoUnit* This) { + return This->lpVtbl->Release(This); +} +/*** IOleUndoUnit methods ***/ +static FORCEINLINE HRESULT IOleUndoUnit_Do(IOleUndoUnit* This,IOleUndoManager *pUndoManager) { + return This->lpVtbl->Do(This,pUndoManager); +} +static FORCEINLINE HRESULT IOleUndoUnit_GetDescription(IOleUndoUnit* This,BSTR *pBstr) { + return This->lpVtbl->GetDescription(This,pBstr); +} +static FORCEINLINE HRESULT IOleUndoUnit_GetUnitType(IOleUndoUnit* This,CLSID *pClsid,LONG *plID) { + return This->lpVtbl->GetUnitType(This,pClsid,plID); +} +static FORCEINLINE HRESULT IOleUndoUnit_OnNextAdd(IOleUndoUnit* This) { + return This->lpVtbl->OnNextAdd(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleUndoUnit_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleParentUndoUnit interface + */ +#ifndef __IOleParentUndoUnit_INTERFACE_DEFINED__ +#define __IOleParentUndoUnit_INTERFACE_DEFINED__ + +typedef IOleParentUndoUnit *LPOLEPARENTUNDOUNIT; +DEFINE_GUID(IID_IOleParentUndoUnit, 0xa1faf330, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a1faf330-ef97-11ce-9bc9-00aa00608e01") +IOleParentUndoUnit : public IOleUndoUnit +{ + virtual HRESULT STDMETHODCALLTYPE Open( + IOleParentUndoUnit *pPUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + IOleParentUndoUnit *pPUU, + BOOL fCommit) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + IOleUndoUnit *pUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindUnit( + IOleUndoUnit *pUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParentState( + DWORD *pdwState) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleParentUndoUnit, 0xa1faf330, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01) +#endif +#else +typedef struct IOleParentUndoUnitVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleParentUndoUnit *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleParentUndoUnit *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleParentUndoUnit *This); + + /*** IOleUndoUnit methods ***/ + HRESULT (STDMETHODCALLTYPE *Do)( + IOleParentUndoUnit *This, + IOleUndoManager *pUndoManager); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IOleParentUndoUnit *This, + BSTR *pBstr); + + HRESULT (STDMETHODCALLTYPE *GetUnitType)( + IOleParentUndoUnit *This, + CLSID *pClsid, + LONG *plID); + + HRESULT (STDMETHODCALLTYPE *OnNextAdd)( + IOleParentUndoUnit *This); + + /*** IOleParentUndoUnit methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + IOleParentUndoUnit *This, + IOleParentUndoUnit *pPUU); + + HRESULT (STDMETHODCALLTYPE *Close)( + IOleParentUndoUnit *This, + IOleParentUndoUnit *pPUU, + BOOL fCommit); + + HRESULT (STDMETHODCALLTYPE *Add)( + IOleParentUndoUnit *This, + IOleUndoUnit *pUU); + + HRESULT (STDMETHODCALLTYPE *FindUnit)( + IOleParentUndoUnit *This, + IOleUndoUnit *pUU); + + HRESULT (STDMETHODCALLTYPE *GetParentState)( + IOleParentUndoUnit *This, + DWORD *pdwState); + + END_INTERFACE +} IOleParentUndoUnitVtbl; + +interface IOleParentUndoUnit { + CONST_VTBL IOleParentUndoUnitVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleParentUndoUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleParentUndoUnit_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleParentUndoUnit_Release(This) (This)->lpVtbl->Release(This) +/*** IOleUndoUnit methods ***/ +#define IOleParentUndoUnit_Do(This,pUndoManager) (This)->lpVtbl->Do(This,pUndoManager) +#define IOleParentUndoUnit_GetDescription(This,pBstr) (This)->lpVtbl->GetDescription(This,pBstr) +#define IOleParentUndoUnit_GetUnitType(This,pClsid,plID) (This)->lpVtbl->GetUnitType(This,pClsid,plID) +#define IOleParentUndoUnit_OnNextAdd(This) (This)->lpVtbl->OnNextAdd(This) +/*** IOleParentUndoUnit methods ***/ +#define IOleParentUndoUnit_Open(This,pPUU) (This)->lpVtbl->Open(This,pPUU) +#define IOleParentUndoUnit_Close(This,pPUU,fCommit) (This)->lpVtbl->Close(This,pPUU,fCommit) +#define IOleParentUndoUnit_Add(This,pUU) (This)->lpVtbl->Add(This,pUU) +#define IOleParentUndoUnit_FindUnit(This,pUU) (This)->lpVtbl->FindUnit(This,pUU) +#define IOleParentUndoUnit_GetParentState(This,pdwState) (This)->lpVtbl->GetParentState(This,pdwState) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleParentUndoUnit_QueryInterface(IOleParentUndoUnit* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleParentUndoUnit_AddRef(IOleParentUndoUnit* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleParentUndoUnit_Release(IOleParentUndoUnit* This) { + return This->lpVtbl->Release(This); +} +/*** IOleUndoUnit methods ***/ +static FORCEINLINE HRESULT IOleParentUndoUnit_Do(IOleParentUndoUnit* This,IOleUndoManager *pUndoManager) { + return This->lpVtbl->Do(This,pUndoManager); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_GetDescription(IOleParentUndoUnit* This,BSTR *pBstr) { + return This->lpVtbl->GetDescription(This,pBstr); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_GetUnitType(IOleParentUndoUnit* This,CLSID *pClsid,LONG *plID) { + return This->lpVtbl->GetUnitType(This,pClsid,plID); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_OnNextAdd(IOleParentUndoUnit* This) { + return This->lpVtbl->OnNextAdd(This); +} +/*** IOleParentUndoUnit methods ***/ +static FORCEINLINE HRESULT IOleParentUndoUnit_Open(IOleParentUndoUnit* This,IOleParentUndoUnit *pPUU) { + return This->lpVtbl->Open(This,pPUU); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_Close(IOleParentUndoUnit* This,IOleParentUndoUnit *pPUU,BOOL fCommit) { + return This->lpVtbl->Close(This,pPUU,fCommit); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_Add(IOleParentUndoUnit* This,IOleUndoUnit *pUU) { + return This->lpVtbl->Add(This,pUU); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_FindUnit(IOleParentUndoUnit* This,IOleUndoUnit *pUU) { + return This->lpVtbl->FindUnit(This,pUU); +} +static FORCEINLINE HRESULT IOleParentUndoUnit_GetParentState(IOleParentUndoUnit* This,DWORD *pdwState) { + return This->lpVtbl->GetParentState(This,pdwState); +} +#endif +#endif + +#endif + + +#endif /* __IOleParentUndoUnit_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumOleUndoUnits interface + */ +#ifndef __IEnumOleUndoUnits_INTERFACE_DEFINED__ +#define __IEnumOleUndoUnits_INTERFACE_DEFINED__ + +typedef IEnumOleUndoUnits *LPENUMOLEUNDOUNITS; +DEFINE_GUID(IID_IEnumOleUndoUnits, 0xb3e7c340, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b3e7c340-ef97-11ce-9bc9-00aa00608e01") +IEnumOleUndoUnits : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cElt, + IOleUndoUnit **rgElt, + ULONG *pcEltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cElt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumOleUndoUnits **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumOleUndoUnits, 0xb3e7c340, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01) +#endif +#else +typedef struct IEnumOleUndoUnitsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumOleUndoUnits *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumOleUndoUnits *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumOleUndoUnits *This); + + /*** IEnumOleUndoUnits methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumOleUndoUnits *This, + ULONG cElt, + IOleUndoUnit **rgElt, + ULONG *pcEltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumOleUndoUnits *This, + ULONG cElt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumOleUndoUnits *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumOleUndoUnits *This, + IEnumOleUndoUnits **ppEnum); + + END_INTERFACE +} IEnumOleUndoUnitsVtbl; + +interface IEnumOleUndoUnits { + CONST_VTBL IEnumOleUndoUnitsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumOleUndoUnits_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumOleUndoUnits_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumOleUndoUnits_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumOleUndoUnits methods ***/ +#define IEnumOleUndoUnits_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched) +#define IEnumOleUndoUnits_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt) +#define IEnumOleUndoUnits_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumOleUndoUnits_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumOleUndoUnits_QueryInterface(IEnumOleUndoUnits* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumOleUndoUnits_AddRef(IEnumOleUndoUnits* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumOleUndoUnits_Release(IEnumOleUndoUnits* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumOleUndoUnits methods ***/ +static FORCEINLINE HRESULT IEnumOleUndoUnits_Next(IEnumOleUndoUnits* This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched) { + return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched); +} +static FORCEINLINE HRESULT IEnumOleUndoUnits_Skip(IEnumOleUndoUnits* This,ULONG cElt) { + return This->lpVtbl->Skip(This,cElt); +} +static FORCEINLINE HRESULT IEnumOleUndoUnits_Reset(IEnumOleUndoUnits* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumOleUndoUnits_Clone(IEnumOleUndoUnits* This,IEnumOleUndoUnits **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_RemoteNext_Proxy( + IEnumOleUndoUnits* This, + ULONG cElt, + IOleUndoUnit **rgElt, + ULONG *pcEltFetched); +void __RPC_STUB IEnumOleUndoUnits_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy( + IEnumOleUndoUnits* This, + ULONG cElt, + IOleUndoUnit **rgElt, + ULONG *pcEltFetched); +HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub( + IEnumOleUndoUnits* This, + ULONG cElt, + IOleUndoUnit **rgElt, + ULONG *pcEltFetched); + +#endif /* __IEnumOleUndoUnits_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleUndoManager interface + */ +#ifndef __IOleUndoManager_INTERFACE_DEFINED__ +#define __IOleUndoManager_INTERFACE_DEFINED__ + +#define SID_SOleUndoManager IID_IOleUndoManager +typedef IOleUndoManager *LPOLEUNDOMANAGER; +DEFINE_GUID(IID_IOleUndoManager, 0xd001f200, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d001f200-ef97-11ce-9bc9-00aa00608e01") +IOleUndoManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Open( + IOleParentUndoUnit *pPUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + IOleParentUndoUnit *pPUU, + BOOL fCommit) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + IOleUndoUnit *pUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOpenParentState( + DWORD *pdwState) = 0; + + virtual HRESULT STDMETHODCALLTYPE DiscardFrom( + IOleUndoUnit *pUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE UndoTo( + IOleUndoUnit *pUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE RedoTo( + IOleUndoUnit *pUU) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumUndoable( + IEnumOleUndoUnits **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumRedoable( + IEnumOleUndoUnits **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastUndoDescription( + BSTR *pBstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastRedoDescription( + BSTR *pBstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enable( + BOOL fEnable) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleUndoManager, 0xd001f200, 0xef97, 0x11ce, 0x9b,0xc9, 0x00,0xaa,0x00,0x60,0x8e,0x01) +#endif +#else +typedef struct IOleUndoManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleUndoManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleUndoManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleUndoManager *This); + + /*** IOleUndoManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + IOleUndoManager *This, + IOleParentUndoUnit *pPUU); + + HRESULT (STDMETHODCALLTYPE *Close)( + IOleUndoManager *This, + IOleParentUndoUnit *pPUU, + BOOL fCommit); + + HRESULT (STDMETHODCALLTYPE *Add)( + IOleUndoManager *This, + IOleUndoUnit *pUU); + + HRESULT (STDMETHODCALLTYPE *GetOpenParentState)( + IOleUndoManager *This, + DWORD *pdwState); + + HRESULT (STDMETHODCALLTYPE *DiscardFrom)( + IOleUndoManager *This, + IOleUndoUnit *pUU); + + HRESULT (STDMETHODCALLTYPE *UndoTo)( + IOleUndoManager *This, + IOleUndoUnit *pUU); + + HRESULT (STDMETHODCALLTYPE *RedoTo)( + IOleUndoManager *This, + IOleUndoUnit *pUU); + + HRESULT (STDMETHODCALLTYPE *EnumUndoable)( + IOleUndoManager *This, + IEnumOleUndoUnits **ppEnum); + + HRESULT (STDMETHODCALLTYPE *EnumRedoable)( + IOleUndoManager *This, + IEnumOleUndoUnits **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetLastUndoDescription)( + IOleUndoManager *This, + BSTR *pBstr); + + HRESULT (STDMETHODCALLTYPE *GetLastRedoDescription)( + IOleUndoManager *This, + BSTR *pBstr); + + HRESULT (STDMETHODCALLTYPE *Enable)( + IOleUndoManager *This, + BOOL fEnable); + + END_INTERFACE +} IOleUndoManagerVtbl; + +interface IOleUndoManager { + CONST_VTBL IOleUndoManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleUndoManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleUndoManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleUndoManager_Release(This) (This)->lpVtbl->Release(This) +/*** IOleUndoManager methods ***/ +#define IOleUndoManager_Open(This,pPUU) (This)->lpVtbl->Open(This,pPUU) +#define IOleUndoManager_Close(This,pPUU,fCommit) (This)->lpVtbl->Close(This,pPUU,fCommit) +#define IOleUndoManager_Add(This,pUU) (This)->lpVtbl->Add(This,pUU) +#define IOleUndoManager_GetOpenParentState(This,pdwState) (This)->lpVtbl->GetOpenParentState(This,pdwState) +#define IOleUndoManager_DiscardFrom(This,pUU) (This)->lpVtbl->DiscardFrom(This,pUU) +#define IOleUndoManager_UndoTo(This,pUU) (This)->lpVtbl->UndoTo(This,pUU) +#define IOleUndoManager_RedoTo(This,pUU) (This)->lpVtbl->RedoTo(This,pUU) +#define IOleUndoManager_EnumUndoable(This,ppEnum) (This)->lpVtbl->EnumUndoable(This,ppEnum) +#define IOleUndoManager_EnumRedoable(This,ppEnum) (This)->lpVtbl->EnumRedoable(This,ppEnum) +#define IOleUndoManager_GetLastUndoDescription(This,pBstr) (This)->lpVtbl->GetLastUndoDescription(This,pBstr) +#define IOleUndoManager_GetLastRedoDescription(This,pBstr) (This)->lpVtbl->GetLastRedoDescription(This,pBstr) +#define IOleUndoManager_Enable(This,fEnable) (This)->lpVtbl->Enable(This,fEnable) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleUndoManager_QueryInterface(IOleUndoManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleUndoManager_AddRef(IOleUndoManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleUndoManager_Release(IOleUndoManager* This) { + return This->lpVtbl->Release(This); +} +/*** IOleUndoManager methods ***/ +static FORCEINLINE HRESULT IOleUndoManager_Open(IOleUndoManager* This,IOleParentUndoUnit *pPUU) { + return This->lpVtbl->Open(This,pPUU); +} +static FORCEINLINE HRESULT IOleUndoManager_Close(IOleUndoManager* This,IOleParentUndoUnit *pPUU,BOOL fCommit) { + return This->lpVtbl->Close(This,pPUU,fCommit); +} +static FORCEINLINE HRESULT IOleUndoManager_Add(IOleUndoManager* This,IOleUndoUnit *pUU) { + return This->lpVtbl->Add(This,pUU); +} +static FORCEINLINE HRESULT IOleUndoManager_GetOpenParentState(IOleUndoManager* This,DWORD *pdwState) { + return This->lpVtbl->GetOpenParentState(This,pdwState); +} +static FORCEINLINE HRESULT IOleUndoManager_DiscardFrom(IOleUndoManager* This,IOleUndoUnit *pUU) { + return This->lpVtbl->DiscardFrom(This,pUU); +} +static FORCEINLINE HRESULT IOleUndoManager_UndoTo(IOleUndoManager* This,IOleUndoUnit *pUU) { + return This->lpVtbl->UndoTo(This,pUU); +} +static FORCEINLINE HRESULT IOleUndoManager_RedoTo(IOleUndoManager* This,IOleUndoUnit *pUU) { + return This->lpVtbl->RedoTo(This,pUU); +} +static FORCEINLINE HRESULT IOleUndoManager_EnumUndoable(IOleUndoManager* This,IEnumOleUndoUnits **ppEnum) { + return This->lpVtbl->EnumUndoable(This,ppEnum); +} +static FORCEINLINE HRESULT IOleUndoManager_EnumRedoable(IOleUndoManager* This,IEnumOleUndoUnits **ppEnum) { + return This->lpVtbl->EnumRedoable(This,ppEnum); +} +static FORCEINLINE HRESULT IOleUndoManager_GetLastUndoDescription(IOleUndoManager* This,BSTR *pBstr) { + return This->lpVtbl->GetLastUndoDescription(This,pBstr); +} +static FORCEINLINE HRESULT IOleUndoManager_GetLastRedoDescription(IOleUndoManager* This,BSTR *pBstr) { + return This->lpVtbl->GetLastRedoDescription(This,pBstr); +} +static FORCEINLINE HRESULT IOleUndoManager_Enable(IOleUndoManager* This,BOOL fEnable) { + return This->lpVtbl->Enable(This,fEnable); +} +#endif +#endif + +#endif + + +#endif /* __IOleUndoManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IQuickActivate interface + */ +#ifndef __IQuickActivate_INTERFACE_DEFINED__ +#define __IQuickActivate_INTERFACE_DEFINED__ + +typedef IQuickActivate *LPQUICKACTIVATE; +typedef enum tagQACONTAINERFLAGS { + QACONTAINER_SHOWHATCHING = 0x1, + QACONTAINER_SHOWGRABHANDLES = 0x2, + QACONTAINER_USERMODE = 0x4, + QACONTAINER_DISPLAYASDEFAULT = 0x8, + QACONTAINER_UIDEAD = 0x10, + QACONTAINER_AUTOCLIP = 0x20, + QACONTAINER_MESSAGEREFLECT = 0x40, + QACONTAINER_SUPPORTSMNEMONICS = 0x80 +} QACONTAINERFLAGS; +typedef DWORD OLE_COLOR; +typedef struct tagQACONTAINER { + ULONG cbSize; + IOleClientSite *pClientSite; + IAdviseSinkEx *pAdviseSink; + IPropertyNotifySink *pPropertyNotifySink; + IUnknown *pUnkEventSink; + DWORD dwAmbientFlags; + OLE_COLOR colorFore; + OLE_COLOR colorBack; + IFont *pFont; + IOleUndoManager *pUndoMgr; + DWORD dwAppearance; + LONG lcid; + HPALETTE hpal; + IBindHost *pBindHost; + IOleControlSite *pOleControlSite; + IServiceProvider *pServiceProvider; +} QACONTAINER; +typedef struct tagQACONTROL { + ULONG cbSize; + DWORD dwMiscStatus; + DWORD dwViewStatus; + DWORD dwEventCookie; + DWORD dwPropNotifyCookie; + DWORD dwPointerActivationPolicy; +} QACONTROL; +DEFINE_GUID(IID_IQuickActivate, 0xcf51ed10, 0x62fe, 0x11cf, 0xbf,0x86, 0x00,0xa0,0xc9,0x03,0x48,0x36); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cf51ed10-62fe-11cf-bf86-00a0c9034836") +IQuickActivate : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QuickActivate( + QACONTAINER *pQaContainer, + QACONTROL *pQaControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetContentExtent( + LPSIZEL pSizel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContentExtent( + LPSIZEL pSizel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IQuickActivate, 0xcf51ed10, 0x62fe, 0x11cf, 0xbf,0x86, 0x00,0xa0,0xc9,0x03,0x48,0x36) +#endif +#else +typedef struct IQuickActivateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IQuickActivate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IQuickActivate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IQuickActivate *This); + + /*** IQuickActivate methods ***/ + HRESULT (STDMETHODCALLTYPE *QuickActivate)( + IQuickActivate *This, + QACONTAINER *pQaContainer, + QACONTROL *pQaControl); + + HRESULT (STDMETHODCALLTYPE *SetContentExtent)( + IQuickActivate *This, + LPSIZEL pSizel); + + HRESULT (STDMETHODCALLTYPE *GetContentExtent)( + IQuickActivate *This, + LPSIZEL pSizel); + + END_INTERFACE +} IQuickActivateVtbl; + +interface IQuickActivate { + CONST_VTBL IQuickActivateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IQuickActivate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IQuickActivate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IQuickActivate_Release(This) (This)->lpVtbl->Release(This) +/*** IQuickActivate methods ***/ +#define IQuickActivate_QuickActivate(This,pQaContainer,pQaControl) (This)->lpVtbl->QuickActivate(This,pQaContainer,pQaControl) +#define IQuickActivate_SetContentExtent(This,pSizel) (This)->lpVtbl->SetContentExtent(This,pSizel) +#define IQuickActivate_GetContentExtent(This,pSizel) (This)->lpVtbl->GetContentExtent(This,pSizel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IQuickActivate_QueryInterface(IQuickActivate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IQuickActivate_AddRef(IQuickActivate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IQuickActivate_Release(IQuickActivate* This) { + return This->lpVtbl->Release(This); +} +/*** IQuickActivate methods ***/ +static FORCEINLINE HRESULT IQuickActivate_QuickActivate(IQuickActivate* This,QACONTAINER *pQaContainer,QACONTROL *pQaControl) { + return This->lpVtbl->QuickActivate(This,pQaContainer,pQaControl); +} +static FORCEINLINE HRESULT IQuickActivate_SetContentExtent(IQuickActivate* This,LPSIZEL pSizel) { + return This->lpVtbl->SetContentExtent(This,pSizel); +} +static FORCEINLINE HRESULT IQuickActivate_GetContentExtent(IQuickActivate* This,LPSIZEL pSizel) { + return This->lpVtbl->GetContentExtent(This,pSizel); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IQuickActivate_RemoteQuickActivate_Proxy( + IQuickActivate* This, + QACONTAINER *pQaContainer, + QACONTROL *pQaControl); +void __RPC_STUB IQuickActivate_RemoteQuickActivate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IQuickActivate_QuickActivate_Proxy( + IQuickActivate* This, + QACONTAINER *pQaContainer, + QACONTROL *pQaControl); +HRESULT __RPC_STUB IQuickActivate_QuickActivate_Stub( + IQuickActivate* This, + QACONTAINER *pQaContainer, + QACONTROL *pQaControl); + +#endif /* __IQuickActivate_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HFONT_UserSize (ULONG *, ULONG, HFONT *); +unsigned char * __RPC_USER HFONT_UserMarshal (ULONG *, unsigned char *, HFONT *); +unsigned char * __RPC_USER HFONT_UserUnmarshal(ULONG *, unsigned char *, HFONT *); +void __RPC_USER HFONT_UserFree (ULONG *, HFONT *); +ULONG __RPC_USER HDC_UserSize (ULONG *, ULONG, HDC *); +unsigned char * __RPC_USER HDC_UserMarshal (ULONG *, unsigned char *, HDC *); +unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *); +void __RPC_USER HDC_UserFree (ULONG *, HDC *); +ULONG __RPC_USER HACCEL_UserSize (ULONG *, ULONG, HACCEL *); +unsigned char * __RPC_USER HACCEL_UserMarshal (ULONG *, unsigned char *, HACCEL *); +unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *); +void __RPC_USER HACCEL_UserFree (ULONG *, HACCEL *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER HPALETTE_UserSize (ULONG *, ULONG, HPALETTE *); +unsigned char * __RPC_USER HPALETTE_UserMarshal (ULONG *, unsigned char *, HPALETTE *); +unsigned char * __RPC_USER HPALETTE_UserUnmarshal(ULONG *, unsigned char *, HPALETTE *); +void __RPC_USER HPALETTE_UserFree (ULONG *, HPALETTE *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __ocidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocidl.idl new file mode 100644 index 0000000..c40d155 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocidl.idl @@ -0,0 +1,1334 @@ +/* + * Copyright (C) 1999 Paul Quinn + * Copyright (C) 1999 Francis Beaudet + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "oleidl.idl"; +import "oaidl.idl"; +import "servprov.idl"; +import "urlmon.idl"; +#endif + +/***************************************************************************** + * IOleControlTypes interface + */ +[ + pointer_default(unique) +] +interface IOleControlTypes +{ + typedef [v1_enum] enum tagUASFLAGS + { + UAS_NORMAL = 0x0, + UAS_BLOCKED = 0x1, + UAS_NOPARENTABLE = 0x2, + UAS_MASK = 0x3 + } UASFLAGS; + + typedef enum tagREADYSTATE + { + READYSTATE_UNINITIALIZED = 0, + READYSTATE_LOADING = 1, + READYSTATE_LOADED = 2, + READYSTATE_INTERACTIVE = 3, + READYSTATE_COMPLETE = 4 + } READYSTATE; + + typedef struct tagVARIANT_BLOB + { + DWORD clSize; + DWORD rpcReserved; + [size_is(clSize-1)] ULONGLONG ahData[]; + } wireVARIANT_BLOB; + + typedef struct tagUserVARIANT + { + wireVARIANT_BLOB pVarBlob; + } UserVARIANT; +} + + +/***************************************************************************** + * IFont interface + */ +[ + object, + uuid(bef6e002-a874-101a-8bba-00aa00300cab), + pointer_default(unique) +] +interface IFont : IUnknown +{ + typedef IFont *LPFONT; + typedef TEXTMETRICW TEXTMETRICOLE, *LPTEXTMETRICOLE; + + [propget] HRESULT Name( [out] BSTR *pname); + [propput] HRESULT Name( [in] BSTR name ); + [propget] HRESULT Size( [out] CY *psize ); + [propput] HRESULT Size( [in] CY size ); + [propget] HRESULT Bold( [out] BOOL *pbold ); + [propput] HRESULT Bold( [in] BOOL bold ); + [propget] HRESULT Italic( [out] BOOL *pitalic ); + [propput] HRESULT Italic( [in] BOOL italic ); + [propget] HRESULT Underline( [out] BOOL *punderline ); + [propput] HRESULT Underline( [in] BOOL underline ); + [propget] HRESULT Strikethrough( [out] BOOL *pstrikethrough ); + [propput] HRESULT Strikethrough( [in] BOOL strikethrough ); + [propget] HRESULT Weight( [out] SHORT *pweight ); + [propput] HRESULT Weight( [in] SHORT weight ); + [propget] HRESULT Charset( [out] SHORT *pcharset ); + [propput] HRESULT Charset( [in] SHORT charset ); + [propget] HRESULT hFont( [out] HFONT *phfont ); + HRESULT Clone( [out] IFont **ppfont ); + HRESULT IsEqual( [in] IFont *pFontOther ); + HRESULT SetRatio( [in] LONG cyLogical, [in] LONG cyHimetric ); + HRESULT QueryTextMetrics( [out] TEXTMETRICOLE * ptm ); + HRESULT AddRefHfont( [in] HFONT hfont ); + HRESULT ReleaseHfont( [in] HFONT hfont ); + HRESULT SetHdc( [in] HDC hdc ); +} + + +/***************************************************************************** + * IFontDisp interface + */ +[ + object, + uuid(bef6e003-a874-101a-8bba-00aa00300cab), + pointer_default(unique) +] +interface IFontDisp : IDispatch +{ + typedef IFontDisp *LPFONTDISP; +} + + +/***************************************************************************** + * IFontEventsDisp interface + */ +[ + object, + uuid(4ef6100a-af88-11d0-9846-00c04fc29993), + pointer_default(unique) +] +interface IFontEventsDisp : IDispatch +{ + typedef IFontEventsDisp *LPFONTEVENTS; +} + + +/***************************************************************************** + * IPicture interface + */ +[ + object, + uuid(7bf80980-bf32-101a-8bbb-00aa00300cab), + pointer_default(unique) +] +interface IPicture : IUnknown +{ + typedef IPicture *LPPICTURE; + + typedef enum tagPicture + { + PICTURE_SCALABLE = 0x1, + PICTURE_TRANSPARENT = 0x2 + } PICTUREATTRIBUTES; + + typedef UINT OLE_HANDLE; + typedef LONG OLE_XPOS_HIMETRIC; + typedef LONG OLE_YPOS_HIMETRIC; + typedef LONG OLE_XSIZE_HIMETRIC; + typedef LONG OLE_YSIZE_HIMETRIC; + + [propget] HRESULT Handle( [out] OLE_HANDLE *pHandle ); + [propget] HRESULT hPal( [out] OLE_HANDLE *phPal ); + [propget] HRESULT Type( [out] SHORT *pType ); + [propget] HRESULT Width( [out] OLE_XSIZE_HIMETRIC *pWidth ); + [propget] HRESULT Height( [out] OLE_YSIZE_HIMETRIC *pHeight ); + + HRESULT Render( + [in] HDC hdc, + [in] LONG x, + [in] LONG y, + [in] LONG cx, + [in] LONG cy, + [in] OLE_XPOS_HIMETRIC xSrc, + [in] OLE_YPOS_HIMETRIC ySrc, + [in] OLE_XSIZE_HIMETRIC cxSrc, + [in] OLE_YSIZE_HIMETRIC cySrc, + [in] LPCRECT pRcWBounds); + + HRESULT set_hPal( [in] OLE_HANDLE hPal ); + + [propget] HRESULT CurDC( [out] HDC *phDC ); + + HRESULT SelectPicture( + [in] HDC hDCIn, + [out] HDC * phDCOut, + [out] OLE_HANDLE * phBmpOut); + + [propget] HRESULT KeepOriginalFormat( [out] BOOL *pKeep ); + + [propput] HRESULT KeepOriginalFormat( [in] BOOL keep ); + + HRESULT PictureChanged(); + + HRESULT SaveAsFile( + [in] LPSTREAM pStream, + [in] BOOL fSaveMemCopy, + [out] LONG *pCbSize); + + [propget] HRESULT Attributes( [out] DWORD *pDwAttr ); +} + + +/***************************************************************************** + * IPictureDisp interface + */ +[ + object, + uuid(7bf80981-bf32-101a-8bbb-00aa00300cab), + pointer_default(unique) +] +interface IPictureDisp : IDispatch +{ + typedef IPictureDisp *LPPICTUREDISP; +} + + +/***************************************************************************** + * IOleControl interface + */ +[ + object, + uuid(b196b288-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] + +interface IOleControl : IUnknown +{ + typedef IOleControl *LPOLECONTROL; + + typedef struct tagCONTROLINFO + { + ULONG cb; + HACCEL hAccel; + USHORT cAccel; + DWORD dwFlags; + } CONTROLINFO, *LPCONTROLINFO; + + typedef enum tagCTRLINFO + { + CTRLINFO_EATS_RETURN = 1, + CTRLINFO_EATS_ESCAPE = 2 + } CTRLINFO; + + HRESULT GetControlInfo( [out] CONTROLINFO *pCI ); + HRESULT OnMnemonic( [in] MSG *pMsg ); + HRESULT OnAmbientPropertyChange( [in] DISPID dispID ); + HRESULT FreezeEvents( [in] BOOL bFreeze ); +} + + +/***************************************************************************** + * IOleControlSite interface + */ +[ + object, + uuid(b196b289-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IOleControlSite : IUnknown +{ + typedef IOleControlSite *LPOLECONTROLSITE; + + typedef struct tagPOINTF + { + FLOAT x; + FLOAT y; + } POINTF, *LPPOINTF; + + typedef enum tagXFORMCOORDS + { + XFORMCOORDS_POSITION = 0x1, + XFORMCOORDS_SIZE = 0x2, + XFORMCOORDS_HIMETRICTOCONTAINER = 0x4, + XFORMCOORDS_CONTAINERTOHIMETRIC = 0x8, + XFORMCOORDS_EVENTCOMPAT = 0x10 + } XFORMCOORDS; + + HRESULT OnControlInfoChanged(); + + HRESULT LockInPlaceActive( [in] BOOL fLock ); + + HRESULT GetExtendedControl( [out] IDispatch ** ppDisp ); + + HRESULT TransformCoords( + [in, out] POINTL *pPtlHimetric, + [in, out] POINTF *pPtfContainer, + [in] DWORD dwFlags); + + HRESULT TranslateAccelerator( [in] MSG *pMsg, [in] DWORD grfModifiers ); + + HRESULT OnFocus( [in] BOOL fGotFocus ); + + HRESULT ShowPropertyFrame(); +} + + +/***************************************************************************** + * IOleInPlaceSiteEx interface + */ +[ + object, + uuid(9c2cad80-3424-11cf-b670-00aa004cd6d8), + pointer_default(unique) +] +interface IOleInPlaceSiteEx : IOleInPlaceSite +{ + typedef IOleInPlaceSiteEx *LPOLEINPLACESITEEX; + + typedef enum tagACTIVATEFLAGS + { + ACTIVATE_WINDOWLESS = 1 + } ACTIVATE_FLAGS; + + HRESULT OnInPlaceActivateEx( [out] BOOL * pfNoRedraw, [in] DWORD dwFlags ); + HRESULT OnInPlaceDeactivateEx( [in] BOOL fNoRedraw ); + HRESULT RequestUIActivate(); +} + + +/***************************************************************************** + * IOleInPlaceSiteWindowless interface + */ +[ + local, + object, + uuid(922eada0-3424-11cf-b670-00aa004cd6d8), + pointer_default(unique) +] +interface IOleInPlaceSiteWindowless : IOleInPlaceSiteEx +{ + typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS; + + typedef enum tagOLEDCFLAGS + { + OLEDC_NODRAW = 0x1, + OLEDC_PAINTBKGND = 0x2, + OLEDC_OFFSCREEN = 0x4 + } OLEDCFLAGS; + + HRESULT CanWindowlessActivate(); + + HRESULT GetCapture(); + + HRESULT SetCapture( [in] BOOL fCapture ); + + HRESULT GetFocus(); + + HRESULT SetFocus( [in] BOOL fFocus ); + + HRESULT GetDC( + [in] LPCRECT pRect, + [in] DWORD grfFlags, + [out] HDC *phDC); + + HRESULT ReleaseDC( [in] HDC hDC ); + + HRESULT InvalidateRect( + [in] LPCRECT pRect, + [in] BOOL fErase); + + HRESULT InvalidateRgn( + [in] HRGN hRGN, + [in] BOOL fErase); + + HRESULT ScrollRect( + [in] INT dx, + [in] INT dy, + [in] LPCRECT pRectScroll, + [in] LPCRECT pRectClip); + + HRESULT AdjustRect( [in, out] LPRECT prc ); + + HRESULT OnDefWindowMessage( + [in] UINT msg, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] LRESULT *plResult); +} + + +/***************************************************************************** + * IOleInPlaceObjectWindowless interface + */ +[ + local, + object, + uuid(1c2056cc-5ef4-101b-8bc8-00aa003e3b29), + pointer_default(unique) +] +interface IOleInPlaceObjectWindowless : IOleInPlaceObject +{ + typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS; + + HRESULT OnWindowMessage( + [in] UINT msg, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] LRESULT *plResult); + + HRESULT GetDropTarget( [out] IDropTarget **ppDropTarget ); +} + + +/***************************************************************************** + * IClassFactory2 interface + */ +[ + object, + uuid(b196b28f-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IClassFactory2 : IClassFactory +{ + typedef IClassFactory2 *LPCLASSFACTORY2; + + typedef struct tagLICINFO + { + LONG cbLicInfo; + BOOL fRuntimeKeyAvail; + BOOL fLicVerified; + } LICINFO, *LPLICINFO; + + HRESULT GetLicInfo( [out] LICINFO *pLicInfo ); + + HRESULT RequestLicKey( + [in] DWORD dwReserved, + [out] BSTR *pBstrKey); + + [local] + HRESULT CreateInstanceLic( + [in] IUnknown *pUnkOuter, + [in] IUnknown *pUnkReserved, + [in] REFIID riid, + [in] BSTR bstrKey, + [out, iid_is(riid)] PVOID *ppvObj); + + [call_as(CreateInstanceLic)] + HRESULT RemoteCreateInstanceLic( + [in] REFIID riid, + [in] BSTR bstrKey, + [out, iid_is(riid)] IUnknown **ppvObj); +} + + +/***************************************************************************** + * IViewObject interface + */ +[ + local, + object, + uuid(3af24292-0c96-11ce-a0cf-00aa00600ab8), + pointer_default(unique) +] +interface IViewObjectEx : IViewObject2 +{ + typedef IViewObjectEx *LPVIEWOBJECTEX; + + typedef enum tagVIEWSTATUS + { + VIEWSTATUS_OPAQUE = 1, + VIEWSTATUS_SOLIDBKGND = 2, + VIEWSTATUS_DVASPECTOPAQUE = 4, + VIEWSTATUS_DVASPECTTRANSPARENT = 8, + VIEWSTATUS_SURFACE = 16, + VIEWSTATUS_3DSURFACE = 32 + } VIEWSTATUS; + + typedef enum tagHITRESULT + { + HITRESULT_OUTSIDE = 0, + HITRESULT_TRANSPARENT = 1, + HITRESULT_CLOSE = 2, + HITRESULT_HIT = 3 + } HITRESULT; + + typedef enum tagDVASPECT2 + { + DVASPECT_OPAQUE = 16, + DVASPECT_TRANSPARENT = 32 + } DVASPECT2; + + typedef struct tagExtentInfo + { + ULONG cb; + DWORD dwExtentMode; + SIZEL sizelProposed; + } DVEXTENTINFO; + + typedef enum tagAspectInfoFlag + { + DVASPECTINFOFLAG_CANOPTIMIZE = 1 + } DVASPECTINFOFLAG; + + typedef struct tagAspectInfo + { + ULONG cb; + DWORD dwFlags; + } DVASPECTINFO; + + HRESULT GetRect( + [in] DWORD dwAspect, + [out] LPRECTL pRect); + + HRESULT GetViewStatus( [out] DWORD *pdwStatus ); + + HRESULT QueryHitPoint( + [in] DWORD dwAspect, + [in] LPCRECT pRectBounds, + [in] POINT ptlLoc, + [in] LONG lCloseHint, + [out] DWORD *pHitResult); + + HRESULT QueryHitRect( + [in] DWORD dwAspect, + [in] LPCRECT pRectBounds, + [in] LPCRECT pRectLoc, + [in] LONG lCloseHint, + [out] DWORD *pHitResult); + + HRESULT GetNaturalExtent ( + [in] DWORD dwAspect, + [in] LONG lindex, + [in] DVTARGETDEVICE *ptd, + [in] HDC hicTargetDev, + [in] DVEXTENTINFO *pExtentInfo, + [out] LPSIZEL pSizel); +} + + +/***************************************************************************** + * IProvideClassInfo interface + */ +[ + object, + uuid(b196b283-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IProvideClassInfo : IUnknown +{ + typedef IProvideClassInfo *LPPROVIDECLASSINFO; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetClassInfo") +cpp_quote("#endif") + + HRESULT GetClassInfo( [out] ITypeInfo ** ppTI ); +} + + +/***************************************************************************** + * IProvideClassInfo2 interface + */ +[ + object, + uuid(a6bc3ac0-dbaa-11ce-9de3-00aa004bb851), + pointer_default(unique) +] +interface IProvideClassInfo2 : IProvideClassInfo +{ + typedef IProvideClassInfo2 *LPPROVIDECLASSINFO2; + + typedef enum tagGUIDKIND + { + GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1 + } GUIDKIND; + + HRESULT GetGUID( + [in] DWORD dwGuidKind, + [out] GUID *pGUID ); +} + + +[ + object, + uuid(a7aba9c1-8983-11cf-8f20-00805f2cd064), + pointer_default(unique) +] +interface IProvideMultipleClassInfo : IProvideClassInfo2 +{ + cpp_quote("#define MULTICLASSINFO_GETTYPEINFO 0x00000001") + cpp_quote("#define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002") + cpp_quote("#define MULTICLASSINFO_GETIIDPRIMARY 0x00000004") + cpp_quote("#define MULTICLASSINFO_GETIIDSOURCE 0x00000008") + + cpp_quote("#define TIFLAGS_EXTENDDISPATCHONLY 0x00000001") + + typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO; + + HRESULT GetMultiTypeInfoCount( + [out] ULONG *pcti); + + HRESULT GetInfoOfIndex( + [in] ULONG iti, + [in] DWORD dwFlags, + [out] ITypeInfo **pptiCoClass, + [out] DWORD *pdwTIFlags, + [out] ULONG *pcdispidReserved, + [out] IID *piidPrimary, + [out] IID *piidSource); +} + + +/***************************************************************************** + * IConnectionPoint interface + */ +interface IConnectionPointContainer; /* forward declarations */ +interface IEnumConnections; + +[ + object, + uuid(b196b286-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IConnectionPoint : IUnknown +{ + typedef IConnectionPoint *PCONNECTIONPOINT, *LPCONNECTIONPOINT; + + HRESULT GetConnectionInterface( [out] IID *pIID ); + HRESULT GetConnectionPointContainer( [out] IConnectionPointContainer **ppCPC ); + HRESULT Advise( [in] IUnknown *pUnkSink, [out] DWORD *pdwCookie ); + HRESULT Unadvise( [in] DWORD dwCookie ); + HRESULT EnumConnections( [out] IEnumConnections **ppEnum ); +} + + +/***************************************************************************** + * IConnectionPointContainer interface + */ +interface IEnumConnectionPoints; /* forward declaration */ +[ + object, + uuid(b196b284-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IConnectionPointContainer : IUnknown +{ + typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER, *LPCONNECTIONPOINTCONTAINER; + + HRESULT EnumConnectionPoints( [out] IEnumConnectionPoints **ppEnum ); + HRESULT FindConnectionPoint( [in] REFIID riid, [out] IConnectionPoint **ppCP ); +} + + +/***************************************************************************** + * IEnumConnections interface + */ +[ + object, + uuid(b196b287-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IEnumConnections : IUnknown +{ + typedef IEnumConnections *PENUMCONNECTIONS, *LPENUMCONNECTIONS; + + typedef struct tagCONNECTDATA + { + IUnknown *pUnk; + DWORD dwCookie; + } CONNECTDATA, *PCONNECTDATA, *LPCONNECTDATA; + + [local] + HRESULT Next( + [in] ULONG cConnections, + [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTDATA rgcd, + [out] ULONG *pcFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG cConnections, + [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTDATA rgcd, + [out] ULONG *pcFetched); + + HRESULT Skip( [in] ULONG cConnections ); + + HRESULT Reset(); + + HRESULT Clone( [out] IEnumConnections **ppEnum ); +} + + +/***************************************************************************** + * IEnumConnectionPoints interface + */ +[ + object, + uuid(b196b285-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IEnumConnectionPoints : IUnknown +{ + typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS, *LPENUMCONNECTIONPOINTS; + + [local] + HRESULT Next( + [in] ULONG cConnections, + [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTIONPOINT *ppCP, + [out] ULONG *pcFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG cConnections, + [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTIONPOINT *ppCP, + [out] ULONG *pcFetched); + + HRESULT Skip( [in] ULONG cConnections ); + + HRESULT Reset(); + + HRESULT Clone( [out] IEnumConnectionPoints **ppEnum ); +} + + +/***************************************************************************** + * IPropertyPage interface + */ +interface IPropertyPageSite; /* forward declaration */ +[ + object, + uuid(b196b28d-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IPropertyPage : IUnknown +{ + typedef IPropertyPage *LPPROPERTYPAGE; + + typedef struct tagPROPPAGEINFO + { + ULONG cb; + LPOLESTR pszTitle; + SIZE size; + LPOLESTR pszDocString; + LPOLESTR pszHelpFile; + DWORD dwHelpContext; + } PROPPAGEINFO, *LPPROPPAGEINFO; + + HRESULT SetPageSite( [in] IPropertyPageSite *pPageSite ); + + HRESULT Activate( + [in] HWND hWndParent, + [in] LPCRECT pRect, + [in] BOOL bModal); + + HRESULT Deactivate(); + + HRESULT GetPageInfo( [out] PROPPAGEINFO *pPageInfo ); + + HRESULT SetObjects( + [in] ULONG cObjects, + [in, size_is(cObjects)] IUnknown **ppUnk); + + HRESULT Show( [in] UINT nCmdShow ); + + HRESULT Move( [in] LPCRECT pRect ); + + HRESULT IsPageDirty(); + + HRESULT Apply(); + + HRESULT Help( [in] LPCOLESTR pszHelpDir ); + + HRESULT TranslateAccelerator( [in] MSG *pMsg ); +} + + +/***************************************************************************** + * IPropertyPage2 interface + */ +[ + object, + uuid(01e44665-24ac-101b-84ed-08002b2ec713), + pointer_default(unique) +] +interface IPropertyPage2 : IPropertyPage +{ + typedef IPropertyPage2 *LPPROPERTYPAGE2; + + HRESULT EditProperty( [in] DISPID dispID ); +} + + +/***************************************************************************** + * IPropertyPageSite interface + */ +[ + object, + uuid(b196b28c-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface IPropertyPageSite : IUnknown +{ + typedef IPropertyPageSite *LPPROPERTYPAGESITE; + + typedef enum tagPROPPAGESTATUS + { + PROPPAGESTATUS_DIRTY = 0x1, + PROPPAGESTATUS_VALIDATE = 0x2, + PROPPAGESTATUS_CLEAN = 0x4 + } PROPPAGESTATUS; + + HRESULT OnStatusChange( [in] DWORD dwFlags ); + HRESULT GetLocaleID( [out] LCID *pLocaleID ); + HRESULT GetPageContainer( [out] IUnknown **ppUnk ); + HRESULT TranslateAccelerator( [in] MSG *pMsg ); +} + + +/***************************************************************************** + * IPropertyNotifySink interface + */ +[ + object, + uuid(9bfbbc02-eff1-101a-84ed-00aa00341d07), + pointer_default(unique) +] +interface IPropertyNotifySink : IUnknown +{ + typedef IPropertyNotifySink *LPPROPERTYNOTIFYSINK; + + HRESULT OnChanged( [in] DISPID dispID ); + HRESULT OnRequestEdit( [in] DISPID dispID ); +} + + +/***************************************************************************** + * ISimpleFrameSite interface + */ +[ + object, + uuid(742b0e01-14e6-101b-914e-00aa00300cab), + pointer_default(unique) +] +interface ISimpleFrameSite : IUnknown +{ + typedef ISimpleFrameSite *LPSIMPLEFRAMESITE; + + HRESULT PreMessageFilter( + [in] HWND hWnd, + [in] UINT msg, + [in] WPARAM wp, + [in] LPARAM lp, + [out] LRESULT *plResult, + [out] DWORD *pdwCookie); + + HRESULT PostMessageFilter( + [in] HWND hWnd, + [in] UINT msg, + [in] WPARAM wp, + [in] LPARAM lp, + [out] LRESULT *plResult, + [in] DWORD dwCookie); +} + + +/***************************************************************************** + * IPersistStreamInit interface + */ +[ + object, + uuid(7fd52380-4e07-101b-ae2d-08002b2ec713), + pointer_default(unique) +] +interface IPersistStreamInit : IPersist +{ + typedef IPersistStreamInit *LPPERSISTSTREAMINIT; + + HRESULT IsDirty(); + HRESULT Load( [in] LPSTREAM pStm ); + HRESULT Save( [in] LPSTREAM pStm, [in] BOOL fClearDirty ); + HRESULT GetSizeMax( [out] ULARGE_INTEGER *pcbSize ); + HRESULT InitNew(); +} + + +/***************************************************************************** + * IPersistMemory interface + */ +[ + object, + uuid(bd1ae5e0-a6ae-11ce-bd37-504200c10000), + pointer_default(unique) +] +interface IPersistMemory : IPersist +{ + typedef IPersistMemory *LPPERSISTMEMORY; + + HRESULT IsDirty(); + + [local] + HRESULT Load( + [in, size_is(cbSize)] LPVOID pMem, + [in] ULONG cbSize); + + [call_as(Load)] + HRESULT RemoteLoad( + [in, size_is(cbSize)] BYTE *pMem, + [in] ULONG cbSize); + + [local] + HRESULT Save( + [out, size_is(cbSize)] LPVOID pMem, + [in] BOOL fClearDirty, + [in] ULONG cbSize); + + [call_as(Save)] + HRESULT RemoteSave( + [out, size_is(cbSize)] BYTE *pMem, + [in] BOOL fClearDirty, + [in] ULONG cbSize); + + HRESULT GetSizeMax( [out] ULONG *pCbSize ); + HRESULT InitNew(); +} + + +/***************************************************************************** + * IPersistPropertyBag interface + */ +[ + object, + uuid(37d84f60-42cb-11ce-8135-00aa004bb851), + pointer_default(unique) +] +interface IPersistPropertyBag : IPersist +{ + typedef IPersistPropertyBag *LPPERSISTPROPERTYBAG; + + HRESULT InitNew(); + + HRESULT Load( + [in] IPropertyBag *pPropBag, + [in] IErrorLog *pErrorLog); + + HRESULT Save( + [in] IPropertyBag *pPropBag, + [in] BOOL fClearDirty, + [in] BOOL fSaveAllProperties); +} + + +/***************************************************************************** + * IPropertyBag2 interface + */ +[ + object, + uuid(22f55882-280b-11d0-a8a9-00a0c90c2004), + pointer_default(unique) +] +interface IPropertyBag2 : IUnknown +{ + typedef IPropertyBag2 *LPPROPERTYBAG2; + + typedef enum tagPROPBAG2_TYPE + { + PROPBAG2_TYPE_UNDEFINED = 0, + PROPBAG2_TYPE_DATA = 1, + PROPBAG2_TYPE_URL = 2, + PROPBAG2_TYPE_OBJECT = 3, + PROPBAG2_TYPE_STREAM = 4, + PROPBAG2_TYPE_STORAGE = 5, + PROPBAG2_TYPE_MONIKER = 6 + } PROPBAG2_TYPE; + + typedef struct tagPROPBAG2 + { + DWORD dwType; + VARTYPE vt; + CLIPFORMAT cfType; + DWORD dwHint; + LPOLESTR pstrName; + CLSID clsid; + } PROPBAG2; + + HRESULT Read( + [in] ULONG cProperties, + [in] PROPBAG2 *pPropBag, + [in] IErrorLog *pErrLog, + [out] VARIANT *pvarValue, + [out] HRESULT *phrError); + + HRESULT Write( + [in] ULONG cProperties, + [in] PROPBAG2 *pPropBag, + [in] VARIANT *pvarValue); + + HRESULT CountProperties( + [out] ULONG *pcProperties ); + + HRESULT GetPropertyInfo( + [in] ULONG iProperty, + [in] ULONG cProperties, + [out] PROPBAG2 *pPropBag, + [out] ULONG *pcProperties); + + HRESULT LoadObject( + [in] LPCOLESTR pstrName, + [in] DWORD dwHint, + [in] IUnknown *pUnkObject, + [in] IErrorLog *pErrLog); +} + + +/***************************************************************************** + * IPersistPropertyBag2 interface + */ +[ + object, + uuid(22f55881-280b-11d0-a8a9-00a0c90c2004), + pointer_default(unique) +] +interface IPersistPropertyBag2 : IPersist +{ + typedef IPersistPropertyBag2 *LPPERSISTPROPERTYBAG2; + + HRESULT InitNew(); + + HRESULT Load( + [in] IPropertyBag2 *pPropBag, + [in] IErrorLog *pErrorLog); + + HRESULT Save( + [in] IPropertyBag2 *pPropBag, + [in] BOOL fClearDirty, + [in] BOOL fSaveAllProperties); + + HRESULT IsDirty(); +} + + +/***************************************************************************** + * ISpecifyPropertyPages interface + */ +[ + object, + uuid(b196b28b-bab4-101a-b69c-00aa00341d07), + pointer_default(unique) +] +interface ISpecifyPropertyPages : IUnknown +{ + typedef ISpecifyPropertyPages *LPSPECIFYPROPERTYPAGES; + + typedef struct tagCAUUID + { + ULONG cElems; + [size_is(cElems)] GUID *pElems; + } CAUUID, *LPCAUUID; + + HRESULT GetPages( [out] CAUUID *pPages ); +} + + +/***************************************************************************** + * IPerPropertyBrowsing interface + */ +[ + object, + uuid(376bd3aa-3845-101b-84ed-08002b2ec713), + pointer_default(unique) +] +interface IPerPropertyBrowsing : IUnknown +{ + typedef IPerPropertyBrowsing *LPPERPROPERTYBROWSING; + + typedef struct tagCALPOLESTR + { + ULONG cElems; + [size_is(cElems)] LPOLESTR *pElems; + } CALPOLESTR, *LPCALPOLESTR; + + typedef struct tagCADWORD + { + ULONG cElems; + [size_is(cElems)] DWORD *pElems; + } CADWORD, *LPCADWORD; + + HRESULT GetDisplayString( + [in] DISPID dispID, + [out] BSTR *pBstr); + + HRESULT MapPropertyToPage( + [in] DISPID dispID, + [out] CLSID *pClsid); + + HRESULT GetPredefinedStrings( + [in] DISPID dispID, + [out] CALPOLESTR *pCaStringsOut, + [out] CADWORD *pCaCookiesOut); + + HRESULT GetPredefinedValue( + [in] DISPID dispID, + [in] DWORD dwCookie, + [out] VARIANT *pVarOut); +} + + +/***************************************************************************** + * IAdviseSinkEx interface + */ +[ + object, + uuid(3af24290-0c96-11ce-a0cf-00aa00600ab8), + pointer_default(unique) +] +interface IAdviseSinkEx : IAdviseSink +{ + typedef IAdviseSinkEx *LPADVISESINKEX; + + [local] + void OnViewStatusChange( [in] DWORD dwViewStatus ); + + [call_as(OnViewStatusChange)] + HRESULT RemoteOnViewStatusChange( [in] DWORD dwViewStatus ); +} + + +/***************************************************************************** + * IPointerInactive interface + */ +[ + object, + uuid(55980ba0-35aa-11cf-b671-00aa004cd6d8), + pointer_default(unique) +] +interface IPointerInactive : IUnknown +{ + typedef IPointerInactive *LPPOINTERINACTIVE; + + HRESULT GetActivationPolicy( + [out] DWORD *pdwPolicy); + + HRESULT OnInactiveMouseMove( + [in] LPCRECT pRectBounds, + [in] LONG x, + [in] LONG y, + [in] DWORD grfKeyState); + + HRESULT OnInactiveSetCursor( + [in] LPCRECT pRectBounds, + [in] LONG x, + [in] LONG y, + [in] DWORD dwMouseMsg, + [in] BOOL fSetAlways); +} + + +/***************************************************************************** + * IObjectWithSite interface + */ +[ + object, + uuid(fc4801a3-2ba9-11cf-a229-00aa003d7352), + pointer_default(unique) +] +interface IObjectWithSite : IUnknown +{ + typedef IObjectWithSite *LPOBJECTWITHSITE; + + HRESULT SetSite( + [in] IUnknown * pUnkSite); + + HRESULT GetSite( + [in] REFIID riid, + [out, iid_is(riid)] PVOID *ppvSite); +} + + +/***************************************************************************** + * IOleUndoUnit interface + */ +interface IOleUndoManager; /* forward declaration */ +[ + object, + uuid(894ad3b0-ef97-11ce-9bc9-00aa00608e01), + pointer_default(unique) +] +interface IOleUndoUnit : IUnknown +{ + typedef IOleUndoUnit *LPOLEUNDOUNIT; + + HRESULT Do( [in] IOleUndoManager *pUndoManager ); + HRESULT GetDescription( [out] BSTR *pBstr ); + HRESULT GetUnitType( [out] CLSID *pClsid, [out] LONG *plID ); + HRESULT OnNextAdd(); +} + + +/***************************************************************************** + * IOleParentUndoUnit interface + */ +[ + object, + uuid(a1faf330-ef97-11ce-9bc9-00aa00608e01), + pointer_default(unique) +] +interface IOleParentUndoUnit : IOleUndoUnit +{ + typedef IOleParentUndoUnit *LPOLEPARENTUNDOUNIT; + + HRESULT Open( [in] IOleParentUndoUnit *pPUU ); + HRESULT Close( [in] IOleParentUndoUnit *pPUU, [in] BOOL fCommit ); + HRESULT Add( [in] IOleUndoUnit *pUU ); + HRESULT FindUnit( [in] IOleUndoUnit *pUU ); + HRESULT GetParentState( [out] DWORD *pdwState ); +} + + +/***************************************************************************** + * IEnumOleUndoUnits interface + */ +[ + object, + uuid(b3e7c340-ef97-11ce-9bc9-00aa00608e01), + pointer_default(unique) +] +interface IEnumOleUndoUnits : IUnknown +{ + typedef IEnumOleUndoUnits *LPENUMOLEUNDOUNITS; + + [local] + HRESULT Next( + [in] ULONG cElt, + [out, size_is(cElt), length_is(*pcEltFetched)] IOleUndoUnit **rgElt, + [out] ULONG *pcEltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG cElt, + [out, size_is(cElt), length_is(*pcEltFetched)] IOleUndoUnit **rgElt, + [out] ULONG *pcEltFetched); + + HRESULT Skip( [in] ULONG cElt ); + + HRESULT Reset(); + + HRESULT Clone( [out] IEnumOleUndoUnits **ppEnum ); +} + + +/***************************************************************************** + * IOleUndoManager interface + */ +[ + object, + uuid(d001f200-ef97-11ce-9bc9-00aa00608e01), + pointer_default(unique) +] +interface IOleUndoManager : IUnknown +{ +cpp_quote("#define SID_SOleUndoManager IID_IOleUndoManager") + typedef IOleUndoManager *LPOLEUNDOMANAGER; + + HRESULT Open( [in] IOleParentUndoUnit *pPUU ); + HRESULT Close( [in] IOleParentUndoUnit *pPUU, [in] BOOL fCommit ); + HRESULT Add( [in] IOleUndoUnit *pUU ); + HRESULT GetOpenParentState( [out] DWORD *pdwState ); + HRESULT DiscardFrom( [in] IOleUndoUnit *pUU ); + HRESULT UndoTo( [in] IOleUndoUnit *pUU ); + HRESULT RedoTo( [in] IOleUndoUnit *pUU ); + HRESULT EnumUndoable( [out] IEnumOleUndoUnits **ppEnum ); + HRESULT EnumRedoable( [out] IEnumOleUndoUnits **ppEnum ); + HRESULT GetLastUndoDescription( [out] BSTR *pBstr ); + HRESULT GetLastRedoDescription( [out] BSTR *pBstr ); + HRESULT Enable( [in] BOOL fEnable ); +} + + +/***************************************************************************** + * IQuickActivate interface + */ +[ + object, + uuid(cf51ed10-62fe-11cf-bf86-00a0c9034836), + pointer_default(unique) +] +interface IQuickActivate : IUnknown +{ + typedef IQuickActivate *LPQUICKACTIVATE; + + typedef enum tagQACONTAINERFLAGS + { + QACONTAINER_SHOWHATCHING = 0x1, + QACONTAINER_SHOWGRABHANDLES = 0x2, + QACONTAINER_USERMODE = 0x4, + QACONTAINER_DISPLAYASDEFAULT = 0x8, + QACONTAINER_UIDEAD = 0x10, + QACONTAINER_AUTOCLIP = 0x20, + QACONTAINER_MESSAGEREFLECT = 0x40, + QACONTAINER_SUPPORTSMNEMONICS = 0x80 + } QACONTAINERFLAGS; + + typedef DWORD OLE_COLOR; + + typedef struct tagQACONTAINER + { + ULONG cbSize; + IOleClientSite *pClientSite; + IAdviseSinkEx *pAdviseSink; + IPropertyNotifySink *pPropertyNotifySink; + IUnknown *pUnkEventSink; + DWORD dwAmbientFlags; + OLE_COLOR colorFore; + OLE_COLOR colorBack; + IFont *pFont; + IOleUndoManager *pUndoMgr; + DWORD dwAppearance; + LONG lcid; + HPALETTE hpal; + IBindHost *pBindHost; + IOleControlSite *pOleControlSite; + IServiceProvider *pServiceProvider; + } QACONTAINER; + + typedef struct tagQACONTROL + { + ULONG cbSize; + DWORD dwMiscStatus; + DWORD dwViewStatus; + DWORD dwEventCookie; + DWORD dwPropNotifyCookie; + DWORD dwPointerActivationPolicy; + } QACONTROL; + + [local] + HRESULT QuickActivate( + [in] QACONTAINER *pQaContainer, + [in,out] QACONTROL *pQaControl); + + [call_as(QuickActivate)] + HRESULT RemoteQuickActivate( + [in] QACONTAINER *pQaContainer, + [out] QACONTROL *pQaControl); + + HRESULT SetContentExtent( [in] LPSIZEL pSizel ); + + HRESULT GetContentExtent( [out] LPSIZEL pSizel ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocmm.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocmm.h new file mode 100644 index 0000000..871382f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocmm.h @@ -0,0 +1,370 @@ +/*** Autogenerated by WIDL 2.18 from ocmm.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __ocmm_h__ +#define __ocmm_h__ + +/* Forward declarations */ + +#ifndef __ITimerSink_FWD_DEFINED__ +#define __ITimerSink_FWD_DEFINED__ +typedef interface ITimerSink ITimerSink; +#ifdef __cplusplus +interface ITimerSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITimer_FWD_DEFINED__ +#define __ITimer_FWD_DEFINED__ +typedef interface ITimer ITimer; +#ifdef __cplusplus +interface ITimer; +#endif /* __cplusplus */ +#endif + +#ifndef __ITimerService_FWD_DEFINED__ +#define __ITimerService_FWD_DEFINED__ +typedef interface ITimerService ITimerService; +#ifdef __cplusplus +interface ITimerService; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +EXTERN_C const GUID NAMEDTIMER_DRAW; +/***************************************************************************** + * ITimerSink interface + */ +#ifndef __ITimerSink_INTERFACE_DEFINED__ +#define __ITimerSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITimerSink, 0x3050f361, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f361-98b5-11cf-bb82-00aa00bdce0b") +ITimerSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnTimer( + VARIANT vtimeAdvise) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITimerSink, 0x3050f361, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ITimerSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITimerSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITimerSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITimerSink *This); + + /*** ITimerSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTimer)( + ITimerSink *This, + VARIANT vtimeAdvise); + + END_INTERFACE +} ITimerSinkVtbl; + +interface ITimerSink { + CONST_VTBL ITimerSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITimerSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITimerSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITimerSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITimerSink methods ***/ +#define ITimerSink_OnTimer(This,vtimeAdvise) (This)->lpVtbl->OnTimer(This,vtimeAdvise) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITimerSink_QueryInterface(ITimerSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITimerSink_AddRef(ITimerSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITimerSink_Release(ITimerSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITimerSink methods ***/ +static FORCEINLINE HRESULT ITimerSink_OnTimer(ITimerSink* This,VARIANT vtimeAdvise) { + return This->lpVtbl->OnTimer(This,vtimeAdvise); +} +#endif +#endif + +#endif + + +#endif /* __ITimerSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITimer interface + */ +#ifndef __ITimer_INTERFACE_DEFINED__ +#define __ITimer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITimer, 0x3050f360, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f360-98b5-11cf-bb82-00aa00bdce0b") +ITimer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Advise( + VARIANT vtimeMin, + VARIANT vtimeMax, + VARIANT vtimeInterval, + DWORD dwFlags, + ITimerSink *pTimerSink, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Freeze( + BOOL fFreeze) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTime( + VARIANT *pvtime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITimer, 0x3050f360, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ITimerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITimer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITimer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITimer *This); + + /*** ITimer methods ***/ + HRESULT (STDMETHODCALLTYPE *Advise)( + ITimer *This, + VARIANT vtimeMin, + VARIANT vtimeMax, + VARIANT vtimeInterval, + DWORD dwFlags, + ITimerSink *pTimerSink, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + ITimer *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *Freeze)( + ITimer *This, + BOOL fFreeze); + + HRESULT (STDMETHODCALLTYPE *GetTime)( + ITimer *This, + VARIANT *pvtime); + + END_INTERFACE +} ITimerVtbl; + +interface ITimer { + CONST_VTBL ITimerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITimer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITimer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITimer_Release(This) (This)->lpVtbl->Release(This) +/*** ITimer methods ***/ +#define ITimer_Advise(This,vtimeMin,vtimeMax,vtimeInterval,dwFlags,pTimerSink,pdwCookie) (This)->lpVtbl->Advise(This,vtimeMin,vtimeMax,vtimeInterval,dwFlags,pTimerSink,pdwCookie) +#define ITimer_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define ITimer_Freeze(This,fFreeze) (This)->lpVtbl->Freeze(This,fFreeze) +#define ITimer_GetTime(This,pvtime) (This)->lpVtbl->GetTime(This,pvtime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITimer_QueryInterface(ITimer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITimer_AddRef(ITimer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITimer_Release(ITimer* This) { + return This->lpVtbl->Release(This); +} +/*** ITimer methods ***/ +static FORCEINLINE HRESULT ITimer_Advise(ITimer* This,VARIANT vtimeMin,VARIANT vtimeMax,VARIANT vtimeInterval,DWORD dwFlags,ITimerSink *pTimerSink,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,vtimeMin,vtimeMax,vtimeInterval,dwFlags,pTimerSink,pdwCookie); +} +static FORCEINLINE HRESULT ITimer_Unadvise(ITimer* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT ITimer_Freeze(ITimer* This,BOOL fFreeze) { + return This->lpVtbl->Freeze(This,fFreeze); +} +static FORCEINLINE HRESULT ITimer_GetTime(ITimer* This,VARIANT *pvtime) { + return This->lpVtbl->GetTime(This,pvtime); +} +#endif +#endif + +#endif + + +#endif /* __ITimer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITimerService interface + */ +#ifndef __ITimerService_INTERFACE_DEFINED__ +#define __ITimerService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITimerService, 0x3050f35f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3050f35f-98b5-11cf-bb82-00aa00bdce0b") +ITimerService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateTimer( + ITimer *pReferenceTimer, + ITimer **ppNewTimer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNamedTimer( + REFGUID rguidName, + ITimer **ppTimer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNamedTimerReference( + REFGUID rguidName, + ITimer *pReferenceTimer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITimerService, 0x3050f35f, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b) +#endif +#else +typedef struct ITimerServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITimerService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITimerService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITimerService *This); + + /*** ITimerService methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTimer)( + ITimerService *This, + ITimer *pReferenceTimer, + ITimer **ppNewTimer); + + HRESULT (STDMETHODCALLTYPE *GetNamedTimer)( + ITimerService *This, + REFGUID rguidName, + ITimer **ppTimer); + + HRESULT (STDMETHODCALLTYPE *SetNamedTimerReference)( + ITimerService *This, + REFGUID rguidName, + ITimer *pReferenceTimer); + + END_INTERFACE +} ITimerServiceVtbl; + +interface ITimerService { + CONST_VTBL ITimerServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITimerService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITimerService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITimerService_Release(This) (This)->lpVtbl->Release(This) +/*** ITimerService methods ***/ +#define ITimerService_CreateTimer(This,pReferenceTimer,ppNewTimer) (This)->lpVtbl->CreateTimer(This,pReferenceTimer,ppNewTimer) +#define ITimerService_GetNamedTimer(This,rguidName,ppTimer) (This)->lpVtbl->GetNamedTimer(This,rguidName,ppTimer) +#define ITimerService_SetNamedTimerReference(This,rguidName,pReferenceTimer) (This)->lpVtbl->SetNamedTimerReference(This,rguidName,pReferenceTimer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITimerService_QueryInterface(ITimerService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITimerService_AddRef(ITimerService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITimerService_Release(ITimerService* This) { + return This->lpVtbl->Release(This); +} +/*** ITimerService methods ***/ +static FORCEINLINE HRESULT ITimerService_CreateTimer(ITimerService* This,ITimer *pReferenceTimer,ITimer **ppNewTimer) { + return This->lpVtbl->CreateTimer(This,pReferenceTimer,ppNewTimer); +} +static FORCEINLINE HRESULT ITimerService_GetNamedTimer(ITimerService* This,REFGUID rguidName,ITimer **ppTimer) { + return This->lpVtbl->GetNamedTimer(This,rguidName,ppTimer); +} +static FORCEINLINE HRESULT ITimerService_SetNamedTimerReference(ITimerService* This,REFGUID rguidName,ITimer *pReferenceTimer) { + return This->lpVtbl->SetNamedTimerReference(This,rguidName,pReferenceTimer); +} +#endif +#endif + +#endif + + +#endif /* __ITimerService_INTERFACE_DEFINED__ */ + +#define SID_STimerService IID_ITimerService +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __ocmm_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocmm.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocmm.idl new file mode 100644 index 0000000..0d2c2c0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ocmm.idl @@ -0,0 +1,74 @@ +/* + * Copyright 2006 Matthew Kehrer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "oleidl.idl"; + +cpp_quote("EXTERN_C const GUID NAMEDTIMER_DRAW;") + +[ + object, + uuid(3050F361-98B5-11CF-BB82-00AA00BDCE0B), + pointer_default(unique) +] +interface ITimerSink : IUnknown +{ + HRESULT OnTimer([in] VARIANT vtimeAdvise); +} + + +[ + object, + uuid(3050F360-98B5-11CF-BB82-00AA00BDCE0B), + pointer_default(unique) +] +interface ITimer : IUnknown +{ + HRESULT Advise([in] VARIANT vtimeMin, + [in] VARIANT vtimeMax, + [in] VARIANT vtimeInterval, + [in] DWORD dwFlags, + [in] ITimerSink *pTimerSink, + [out] DWORD *pdwCookie); + + HRESULT Unadvise([in] DWORD dwCookie); + + HRESULT Freeze([in] BOOL fFreeze); + + HRESULT GetTime([out] VARIANT *pvtime); +} + + +[ + object, + uuid(3050F35F-98B5-11CF-BB82-00AA00BDCE0B), + pointer_default(unique) +] +interface ITimerService : IUnknown +{ + HRESULT CreateTimer([in] ITimer *pReferenceTimer, + [out] ITimer **ppNewTimer); + + HRESULT GetNamedTimer([in] REFGUID rguidName, + [out] ITimer **ppTimer); + + HRESULT SetNamedTimerReference([in] REFGUID rguidName, + [in] ITimer *pReferenceTimer); +} + +cpp_quote("#define SID_STimerService IID_ITimerService") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/odbcinst.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/odbcinst.h new file mode 100644 index 0000000..7395cb5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/odbcinst.h @@ -0,0 +1,132 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ODBCINST_H +#define __WINE_ODBCINST_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/* flags for Installer function requests */ +#define ODBC_INSTALL_INQUIRY 1 +#define ODBC_INSTALL_COMPLETE 2 + +#define ODBC_INSTALL_DRIVER 1 +#define ODBC_REMOVE_DRIVER 2 +#define ODBC_CONFIG_DRIVER 3 +#define ODBC_CONFIG_DRIVER_MAX 100 + +#define ODBC_ADD_DSN 1 +#define ODBC_CONFIG_DSN 2 +#define ODBC_REMOVE_DSN 3 +#define ODBC_ADD_SYS_DSN 4 +#define ODBC_CONFIG_SYS_DSN 5 +#define ODBC_REMOVE_SYS_DSN 6 +#define ODBC_REMOVE_DEFAULT_DSN 7 + +/* Mode values for SQLSetConfigMode/SQLGetConfigMode */ +#define ODBC_BOTH_DSN 0 +#define ODBC_USER_DSN 1 +#define ODBC_SYSTEM_DSN 2 + +/* error values */ +#define ODBC_ERROR_GENERAL_ERR 1 +#define ODBC_ERROR_INVALID_BUFF_LEN 2 +#define ODBC_ERROR_INVALID_HWND 3 +#define ODBC_ERROR_INVALID_STR 4 +#define ODBC_ERROR_INVALID_REQUEST_TYPE 5 +#define ODBC_ERROR_COMPONENT_NOT_FOUND 6 +#define ODBC_ERROR_INVALID_NAME 7 +#define ODBC_ERROR_INVALID_KEYWORD_VALUE 8 +#define ODBC_ERROR_INVALID_DSN 9 +#define ODBC_ERROR_INVALID_INF 10 +#define ODBC_ERROR_REQUEST_FAILED 11 +#define ODBC_ERROR_INVALID_PATH 12 +#define ODBC_ERROR_LOAD_LIB_FAILED 13 +#define ODBC_ERROR_INVALID_PARAM_SEQUENCE 14 +#define ODBC_ERROR_INVALID_LOG_FILE 15 +#define ODBC_ERROR_USER_CANCELED 16 +#define ODBC_ERROR_USAGE_UPDATE_FAILED 17 +#define ODBC_ERROR_CREATE_DSN_FAILED 18 +#define ODBC_ERROR_WRITING_SYSINFO_FAILED 19 +#define ODBC_ERROR_REMOVE_DSN_FAILED 20 +#define ODBC_ERROR_OUT_OF_MEM 21 +#define ODBC_ERROR_OUTPUT_STRING_TRUNCATED 22 + + +BOOL WINAPI ODBCCPlApplet(LONG,LONG,LONG*,LONG*); +BOOL WINAPI SQLConfigDataSource(HWND,WORD,LPCSTR,LPCSTR); +BOOL WINAPI SQLConfigDataSourceW(HWND,WORD,LPCWSTR,LPCWSTR); +BOOL WINAPI SQLConfigDriver(HWND,WORD,LPCSTR,LPCSTR,LPSTR,WORD,WORD*); +BOOL WINAPI SQLConfigDriverW(HWND,WORD,LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*); +BOOL WINAPI SQLCreateDataSource(HWND,LPCSTR); +BOOL WINAPI SQLCreateDataSourceW(HWND,LPCWSTR); +BOOL WINAPI SQLGetAvailableDrivers(LPCSTR,LPSTR,WORD,WORD*); +BOOL WINAPI SQLGetAvailableDriversW(LPCWSTR,LPWSTR,WORD,WORD*); +BOOL WINAPI SQLGetConfigMode(UWORD*); +BOOL WINAPI SQLGetInstalledDrivers(LPSTR,WORD,WORD*); +BOOL WINAPI SQLGetInstalledDriversW(LPWSTR,WORD,WORD*); +int WINAPI SQLGetPrivateProfileString(LPCSTR,LPCSTR,LPCSTR,LPSTR,int,LPCSTR); +int WINAPI SQLGetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,int,LPCWSTR); +BOOL WINAPI SQLGetTranslator(HWND,LPSTR,WORD,WORD*,LPSTR,WORD,WORD*,DWORD*); +BOOL WINAPI SQLGetTranslatorW(HWND,LPWSTR,WORD,WORD*,LPWSTR,WORD,WORD*,DWORD*); +BOOL WINAPI SQLInstallDriver(LPCSTR,LPCSTR,LPSTR,WORD,WORD*); +BOOL WINAPI SQLInstallDriverW(LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*); +BOOL WINAPI SQLInstallDriverEx(LPCSTR,LPCSTR,LPSTR,WORD,WORD*,WORD,LPDWORD); +BOOL WINAPI SQLInstallDriverExW(LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*,WORD,LPDWORD); +BOOL WINAPI SQLInstallDriverManager(LPSTR,WORD,WORD*); +BOOL WINAPI SQLInstallDriverManagerW(LPWSTR,WORD,WORD*); +SQLRETURN WINAPI SQLInstallerError(WORD,DWORD*,LPSTR,WORD,WORD*); +SQLRETURN WINAPI SQLInstallerErrorW(WORD,DWORD*,LPWSTR,WORD,WORD*); +BOOL WINAPI SQLInstallODBC(HWND,LPCSTR,LPCSTR,LPCSTR); +BOOL WINAPI SQLInstallODBCW(HWND,LPCWSTR,LPCWSTR,LPCWSTR); +BOOL WINAPI SQLInstallTranslatorEx(LPCSTR,LPCSTR,LPSTR,WORD,WORD*,WORD,LPDWORD); +BOOL WINAPI SQLInstallTranslatorExW(LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*,WORD,LPDWORD); +BOOL WINAPI SQLInstallTranslator(LPCSTR,LPCSTR,LPCSTR,LPSTR,WORD,WORD*,WORD,LPDWORD); +BOOL WINAPI SQLInstallTranslatorW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*,WORD,LPDWORD); +BOOL WINAPI SQLManageDataSources(HWND hwnd); +SQLRETURN WINAPI SQLPostInstallerError(DWORD,LPCSTR); +SQLRETURN WINAPI SQLPostInstallerErrorW(DWORD,LPCWSTR); +BOOL WINAPI SQLReadFileDSN(LPCSTR,LPCSTR,LPCSTR,LPSTR,WORD,WORD*); +BOOL WINAPI SQLReadFileDSNW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*); +BOOL WINAPI SQLRemoveDefaultDataSource(void); +BOOL WINAPI SQLRemoveDriver(LPCSTR,BOOL,LPDWORD); +BOOL WINAPI SQLRemoveDriverW(LPCWSTR,BOOL,LPDWORD); +BOOL WINAPI SQLRemoveDriverManager(LPDWORD); +BOOL WINAPI SQLRemoveDSNFromIni(LPCSTR); +BOOL WINAPI SQLRemoveDSNFromIniW(LPCWSTR); +BOOL WINAPI SQLRemoveTranslator(LPCSTR,LPDWORD); +BOOL WINAPI SQLRemoveTranslatorW(LPCWSTR,LPDWORD); +BOOL WINAPI SQLSetConfigMode(UWORD); +BOOL WINAPI SQLValidDSN(LPCSTR); +BOOL WINAPI SQLValidDSNW(LPCWSTR); +BOOL WINAPI SQLWriteDSNToIni(LPCSTR,LPCSTR); +BOOL WINAPI SQLWriteDSNToIniW(LPCWSTR,LPCWSTR); +BOOL WINAPI SQLWriteFileDSN(LPCSTR,LPCSTR,LPCSTR,LPCSTR); +BOOL WINAPI SQLWriteFileDSNW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); +BOOL WINAPI SQLWritePrivateProfileString(LPCSTR,LPCSTR,LPCSTR,LPCSTR); +BOOL WINAPI SQLWritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); + +#ifdef __cplusplus +} +#endif + +#endif /*__WINE_ODBCINST_H*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ole2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ole2.h new file mode 100644 index 0000000..05c1b55 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ole2.h @@ -0,0 +1,173 @@ +/* + * Declarations for OLE2 + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_OLE2_H +#define __WINE_OLE2_H + +#include +#include +#include +#include + +struct tagMSG; + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#define E_DRAW VIEW_E_DRAW +#define DATA_E_FORMATETC DV_E_FORMATETC + +#define OLEIVERB_PRIMARY (__MSABI_LONG(0)) +#define OLEIVERB_SHOW (__MSABI_LONG(-1)) +#define OLEIVERB_OPEN (__MSABI_LONG(-2)) +#define OLEIVERB_HIDE (__MSABI_LONG(-3)) +#define OLEIVERB_UIACTIVATE (__MSABI_LONG(-4)) +#define OLEIVERB_INPLACEACTIVATE (__MSABI_LONG(-5)) +#define OLEIVERB_DISCARDUNDOSTATE (__MSABI_LONG(-6)) +#define OLEIVERB_PROPERTIES (__MSABI_LONG(-7)) + +#define EMBDHLP_INPROC_HANDLER 0x00000000 +#define EMBDHLP_INPROC_SERVER 0x00000001 +#define EMBDHLP_CREATENOW 0x00000000 +#define EMBDHLP_DELAYCREATE 0x00010000 + +/* + * API declarations + */ +HRESULT WINAPI RegisterDragDrop(HWND,LPDROPTARGET); +HRESULT WINAPI RevokeDragDrop(HWND); +HRESULT WINAPI DoDragDrop(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*); +HRESULT WINAPI OleLoadFromStream(IStream *pStm,REFIID iidInterface,void** ppvObj); +HRESULT WINAPI OleSaveToStream(IPersistStream *pPStm,IStream *pStm); +HOLEMENU WINAPI OleCreateMenuDescriptor(HMENU hmenuCombined,LPOLEMENUGROUPWIDTHS lpMenuWidths); +HRESULT WINAPI OleDestroyMenuDescriptor(HOLEMENU hmenuDescriptor); +HRESULT WINAPI OleSetMenuDescriptor(HOLEMENU hmenuDescriptor,HWND hwndFrame,HWND hwndActiveObject,LPOLEINPLACEFRAME lpFrame,LPOLEINPLACEACTIVEOBJECT lpActiveObject); + +HRESULT WINAPI WriteClassStg(IStorage *pstg, REFCLSID rclsid); +HRESULT WINAPI ReadClassStg(IStorage *pstg,CLSID *pclsid); +HRESULT WINAPI WriteClassStm(IStream *pStm,REFCLSID rclsid); +HRESULT WINAPI ReadClassStm(IStream *pStm,CLSID *pclsid); + + +HRESULT WINAPI OleSave(LPPERSISTSTORAGE pPS, LPSTORAGE pStg, BOOL fSameAsLoad); +HRESULT WINAPI OleRegGetUserType(REFCLSID clsid, + DWORD dwFormOfType, + LPOLESTR* pszUserType); +HRESULT WINAPI OleRegGetMiscStatus (REFCLSID clsid, DWORD dwAspect, DWORD* pdwStatus); +HRESULT WINAPI OleRegEnumFormatEtc (REFCLSID clsid, + DWORD dwDirection, + LPENUMFORMATETC* ppenumFormatetc); +HRESULT WINAPI CreateStreamOnHGlobal (HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM* ppstm); +HRESULT WINAPI GetHGlobalFromStream(LPSTREAM pstm, HGLOBAL* phglobal); +HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum); +BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject); +HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid, + DWORD renderopt, LPFORMATETC pFormatEtc, + LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, + LPVOID* ppvObj); +HRESULT WINAPI OleSetContainedObject(LPUNKNOWN pUnknown, BOOL fContained); +HRESULT WINAPI OleNoteObjectVisible(LPUNKNOWN pUnknown, BOOL fVisible); +HRESULT WINAPI OleQueryLinkFromData(IDataObject* pSrcDataObject); +HRESULT WINAPI OleQueryCreateFromData(LPDATAOBJECT pSrcDataObject); +HRESULT WINAPI OleRun(LPUNKNOWN pUnknown); +HRESULT WINAPI OleDraw(LPUNKNOWN pUnknown, DWORD dwAspect, HDC hdcDraw, LPCRECT lprcBounds); +VOID WINAPI ReleaseStgMedium(LPSTGMEDIUM); +HRESULT WINAPI OleGetClipboard(IDataObject** ppDataObj); +HRESULT WINAPI OleIsCurrentClipboard(LPDATAOBJECT); +HRESULT WINAPI OleSetClipboard(LPDATAOBJECT); +HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid, + DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, + LPSTORAGE pStg, LPVOID* ppvObj); +HRESULT WINAPI ReadFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lplpszUserType); +HRESULT WINAPI OleLoad(LPSTORAGE pStg, REFIID riid, LPOLECLIENTSITE pClientSite, LPVOID* ppvObj); +HRESULT WINAPI GetHGlobalFromILockBytes(LPLOCKBYTES plkbyt, HGLOBAL* phglobal); +HRESULT WINAPI CreateILockBytesOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPLOCKBYTES* pplkbyt); +HRESULT WINAPI CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder); +HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel); +HGLOBAL WINAPI OleGetIconOfFile(LPOLESTR lpszPath, BOOL fUseFileAsLabel); +HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel, LPOLESTR lpszSourceFile, UINT iIconIndex); +HRESULT WINAPI OleLockRunning(LPUNKNOWN pUnknown, BOOL fLock, BOOL fLastUnlockCloses); +HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid, + DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); +HRESULT WINAPI OleCreateFromFileEx(REFCLSID clsid, LPCOLESTR filename, REFIID iid, DWORD flags, + DWORD renderopt, ULONG num_fmts, DWORD *adv_flags, LPFORMATETC fmts, IAdviseSink *sink, + DWORD *conns, LPOLECLIENTSITE client_site, LPSTORAGE storage, LPVOID* obj); +HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, + LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); +HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, + LPSTORAGE pStg, LPVOID* ppvObj); +HRESULT WINAPI OleFlushClipboard(void); +HRESULT WINAPI GetConvertStg(LPSTORAGE pStg); +HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert); +BOOL WINAPI IsAccelerator(HACCEL hAccel, int cAccelEntries, struct tagMSG* lpMsg, WORD* lpwCmd); +HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, + LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); +HANDLE WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat, UINT uiFlags); +HRESULT WINAPI WriteFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType); +HRESULT WINAPI OleTranslateAccelerator (LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEFRAMEINFO lpFrameInfo, struct tagMSG* lpmsg); +HRESULT WINAPI OleCreateFromData(LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, + LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); +HRESULT WINAPI OleCreateFromDataEx(LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG num_formats, + DWORD *adv_flags, LPFORMATETC fmts, IAdviseSink *sink, DWORD *conns, + LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); +HRESULT WINAPI OleCreateDefaultHandler(REFCLSID clsid, + LPUNKNOWN pUnkOuter, + REFIID riid, + LPVOID* ppvObj); +HRESULT WINAPI OleCreateEmbeddingHelper(REFCLSID clsid, + LPUNKNOWN pUnkOuter, + DWORD flags, + IClassFactory *pCF, + REFIID riid, + LPVOID* ppvObj); +HRESULT WINAPI CreateOleAdviseHolder (LPOLEADVISEHOLDER *ppOAHolder); +HRESULT WINAPI OleInitialize(LPVOID pvReserved); +void WINAPI OleUninitialize(void); +BOOL WINAPI IsValidInterface(LPUNKNOWN punk); +DWORD WINAPI OleBuildVersion(VOID); + +/* + * OLE version conversion declarations + */ + + +typedef struct _OLESTREAM* LPOLESTREAM; +typedef struct _OLESTREAMVTBL { + DWORD (CALLBACK *Get)(LPOLESTREAM,LPSTR,DWORD); + DWORD (CALLBACK *Put)(LPOLESTREAM,LPSTR,DWORD); +} OLESTREAMVTBL; +typedef OLESTREAMVTBL* LPOLESTREAMVTBL; +typedef struct _OLESTREAM { + LPOLESTREAMVTBL lpstbl; +} OLESTREAM; + +HRESULT WINAPI OleConvertOLESTREAMToIStorage( LPOLESTREAM lpolestream, LPSTORAGE pstg, const DVTARGETDEVICE* ptd); +HRESULT WINAPI OleConvertIStorageToOLESTREAM( LPSTORAGE pstg, LPOLESTREAM lpolestream); + +HRESULT WINAPI OleDoAutoConvert( LPSTORAGE pStg, LPCLSID pClsidNew ); +HRESULT WINAPI OleGetAutoConvert( REFCLSID clsidOld, LPCLSID pClsidNew ); +HRESULT WINAPI OleSetAutoConvert( REFCLSID clsidOld, REFCLSID clsidNew ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_OLE2_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ole2ver.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ole2ver.h new file mode 100644 index 0000000..b40db25 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ole2ver.h @@ -0,0 +1,44 @@ +/* + * Version number info + * + * Copyright (C) 1999 Paul Quinn + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_OLE2VER_H +#define __WINE_OLE2VER_H + +/* + * other versions rmm/rup: + * 23/639 + * 23/700 + * 23/730 + * 23/824 + * + * Win98 SE original files: + * COMPOBJ: CoBuildVersion 23/700 + * OLE2: OleBuildVersion -> COMPOBJ.CoBuildVersion + * OLE32: CoBuildVersion and Ole~ 23/824 + * + * We probably should reorganize the OLE version stuff, i.e. + * use different values for every *BuildVersion function and Win version. + */ + +/* bad: we shouldn't make use of it that globally ! */ +#define rmm 23 +#define rup 824 + +#endif /* __WINE_OLE2VER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleacc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleacc.h new file mode 100644 index 0000000..00042e9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleacc.h @@ -0,0 +1,1323 @@ +/*** Autogenerated by WIDL 2.18 from oleacc.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __oleacc_h__ +#define __oleacc_h__ + +/* Forward declarations */ + +#ifndef __IAccessible_FWD_DEFINED__ +#define __IAccessible_FWD_DEFINED__ +typedef interface IAccessible IAccessible; +#ifdef __cplusplus +interface IAccessible; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccessibleHandler_FWD_DEFINED__ +#define __IAccessibleHandler_FWD_DEFINED__ +typedef interface IAccessibleHandler IAccessibleHandler; +#ifdef __cplusplus +interface IAccessibleHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccIdentity_FWD_DEFINED__ +#define __IAccIdentity_FWD_DEFINED__ +typedef interface IAccIdentity IAccIdentity; +#ifdef __cplusplus +interface IAccIdentity; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccPropServer_FWD_DEFINED__ +#define __IAccPropServer_FWD_DEFINED__ +typedef interface IAccPropServer IAccPropServer; +#ifdef __cplusplus +interface IAccPropServer; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccPropServices_FWD_DEFINED__ +#define __IAccPropServices_FWD_DEFINED__ +typedef interface IAccPropServices IAccPropServices; +#ifdef __cplusplus +interface IAccPropServices; +#endif /* __cplusplus */ +#endif + +#ifndef __CAccPropServices_FWD_DEFINED__ +#define __CAccPropServices_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CAccPropServices CAccPropServices; +#else +typedef struct CAccPropServices CAccPropServices; +#endif /* defined __cplusplus */ +#endif /* defined __CAccPropServices_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define NAVDIR_MIN 0 +#define NAVDIR_UP 1 +#define NAVDIR_DOWN 2 +#define NAVDIR_LEFT 3 +#define NAVDIR_RIGHT 4 +#define NAVDIR_NEXT 5 +#define NAVDIR_PREVIOUS 6 +#define NAVDIR_FIRSTCHILD 7 +#define NAVDIR_LASTCHILD 8 +#define NAVDIR_MAX 9 +#define ROLE_SYSTEM_TITLEBAR 1 +#define ROLE_SYSTEM_MENUBAR 2 +#define ROLE_SYSTEM_SCROLLBAR 3 +#define ROLE_SYSTEM_GRIP 4 +#define ROLE_SYSTEM_SOUND 5 +#define ROLE_SYSTEM_CURSOR 6 +#define ROLE_SYSTEM_CARET 7 +#define ROLE_SYSTEM_ALERT 8 +#define ROLE_SYSTEM_WINDOW 9 +#define ROLE_SYSTEM_CLIENT 10 +#define ROLE_SYSTEM_MENUPOPUP 11 +#define ROLE_SYSTEM_MENUITEM 12 +#define ROLE_SYSTEM_TOOLTIP 13 +#define ROLE_SYSTEM_APPLICATION 14 +#define ROLE_SYSTEM_DOCUMENT 15 +#define ROLE_SYSTEM_PANE 16 +#define ROLE_SYSTEM_CHART 17 +#define ROLE_SYSTEM_DIALOG 18 +#define ROLE_SYSTEM_BORDER 19 +#define ROLE_SYSTEM_GROUPING 20 +#define ROLE_SYSTEM_SEPARATOR 21 +#define ROLE_SYSTEM_TOOLBAR 22 +#define ROLE_SYSTEM_STATUSBAR 23 +#define ROLE_SYSTEM_TABLE 24 +#define ROLE_SYSTEM_COLUMNHEADER 25 +#define ROLE_SYSTEM_ROWHEADER 26 +#define ROLE_SYSTEM_COLUMN 27 +#define ROLE_SYSTEM_ROW 28 +#define ROLE_SYSTEM_CELL 29 +#define ROLE_SYSTEM_LINK 30 +#define ROLE_SYSTEM_HELPBALLOON 31 +#define ROLE_SYSTEM_CHARACTER 32 +#define ROLE_SYSTEM_LIST 33 +#define ROLE_SYSTEM_LISTITEM 34 +#define ROLE_SYSTEM_OUTLINE 35 +#define ROLE_SYSTEM_OUTLINEITEM 36 +#define ROLE_SYSTEM_PAGETAB 37 +#define ROLE_SYSTEM_PROPERTYPAGE 38 +#define ROLE_SYSTEM_INDICATOR 39 +#define ROLE_SYSTEM_GRAPHIC 40 +#define ROLE_SYSTEM_STATICTEXT 41 +#define ROLE_SYSTEM_TEXT 42 +#define ROLE_SYSTEM_PUSHBUTTON 43 +#define ROLE_SYSTEM_CHECKBUTTON 44 +#define ROLE_SYSTEM_RADIOBUTTON 45 +#define ROLE_SYSTEM_COMBOBOX 46 +#define ROLE_SYSTEM_DROPLIST 47 +#define ROLE_SYSTEM_PROGRESSBAR 48 +#define ROLE_SYSTEM_DIAL 49 +#define ROLE_SYSTEM_HOTKEYFIELD 50 +#define ROLE_SYSTEM_SLIDER 51 +#define ROLE_SYSTEM_SPINBUTTON 52 +#define ROLE_SYSTEM_DIAGRAM 53 +#define ROLE_SYSTEM_ANIMATION 54 +#define ROLE_SYSTEM_EQUATION 55 +#define ROLE_SYSTEM_BUTTONDROPDOWN 56 +#define ROLE_SYSTEM_BUTTONMENU 57 +#define ROLE_SYSTEM_BUTTONDROPDOWNGRID 58 +#define ROLE_SYSTEM_WHITESPACE 59 +#define ROLE_SYSTEM_PAGETABLIST 60 +#define ROLE_SYSTEM_CLOCK 61 +#define ROLE_SYSTEM_SPLITBUTTON 62 +#define ROLE_SYSTEM_IPADDRESS 63 +#define ROLE_SYSTEM_OUTLINEBUTTON 64 +#define SELFLAG_NONE 0x00 +#define SELFLAG_TAKEFOCUS 0x01 +#define SELFLAG_TAKESELECTION 0x02 +#define SELFLAG_EXTENDSELECTION 0x04 +#define SELFLAG_ADDSELECTION 0x08 +#define SELFLAG_REMOVESELECTION 0x10 +#define SELFLAG_VALID 0x1f +#ifndef STATE_SYSTEM_UNAVAILABLE +#define STATE_SYSTEM_NORMAL 0x00000000 +#define STATE_SYSTEM_UNAVAILABLE 0x00000001 +#define STATE_SYSTEM_SELECTED 0x00000002 +#define STATE_SYSTEM_FOCUSED 0x00000004 +#define STATE_SYSTEM_PRESSED 0x00000008 +#define STATE_SYSTEM_CHECKED 0x00000010 +#define STATE_SYSTEM_MIXED 0x00000020 +#define STATE_SYSTEM_INDETERMINATE STATE_SYSTEM_MIXED +#define STATE_SYSTEM_READONLY 0x00000040 +#define STATE_SYSTEM_HOTTRACKED 0x00000080 +#define STATE_SYSTEM_DEFAULT 0x00000100 +#define STATE_SYSTEM_EXPANDED 0x00000200 +#define STATE_SYSTEM_COLLAPSED 0x00000400 +#define STATE_SYSTEM_BUSY 0x00000800 +#define STATE_SYSTEM_FLOATING 0x00001000 +#define STATE_SYSTEM_MARQUEED 0x00002000 +#define STATE_SYSTEM_ANIMATED 0x00004000 +#define STATE_SYSTEM_INVISIBLE 0x00008000 +#define STATE_SYSTEM_OFFSCREEN 0x00010000 +#define STATE_SYSTEM_SIZEABLE 0x00020000 +#define STATE_SYSTEM_MOVEABLE 0x00040000 +#define STATE_SYSTEM_SELFVOICING 0x00080000 +#define STATE_SYSTEM_FOCUSABLE 0x00100000 +#define STATE_SYSTEM_SELECTABLE 0x00200000 +#define STATE_SYSTEM_LINKED 0x00400000 +#define STATE_SYSTEM_TRAVERSED 0x00800000 +#define STATE_SYSTEM_MULTISELECTABLE 0x01000000 +#define STATE_SYSTEM_EXTSELECTABLE 0x02000000 +#define STATE_SYSTEM_ALERT_LOW 0x04000000 +#define STATE_SYSTEM_ALERT_MEDIUM 0x08000000 +#define STATE_SYSTEM_ALERT_HIGH 0x10000000 +#define STATE_SYSTEM_PROTECTED 0x20000000 +#define STATE_SYSTEM_VALID 0x7FFFFFFF +#endif +#ifndef STATE_SYSTEM_HASPOPUP +#define STATE_SYSTEM_HASPOPUP 0x40000000 +#endif +typedef GUID MSAAPROPID; +typedef enum AnnoScope { + ANNO_THIS = 0, + ANNO_CONTAINER = 1 +} AnnoScope; +/***************************************************************************** + * IAccessible interface + */ +#ifndef __IAccessible_INTERFACE_DEFINED__ +#define __IAccessible_INTERFACE_DEFINED__ + +typedef IAccessible *LPACCESSIBLE; +#define DISPID_ACC_PARENT (-5000) + +#define DISPID_ACC_CHILDCOUNT (-5001) + +#define DISPID_ACC_CHILD (-5002) + +#define DISPID_ACC_NAME (-5003) + +#define DISPID_ACC_VALUE (-5004) + +#define DISPID_ACC_DESCRIPTION (-5005) + +#define DISPID_ACC_ROLE (-5006) + +#define DISPID_ACC_STATE (-5007) + +#define DISPID_ACC_HELP (-5008) + +#define DISPID_ACC_HELPTOPIC (-5009) + +#define DISPID_ACC_KEYBOARDSHORTCUT (-5010) + +#define DISPID_ACC_FOCUS (-5011) + +#define DISPID_ACC_SELECTION (-5012) + +#define DISPID_ACC_DEFAULTACTION (-5013) + +#define DISPID_ACC_SELECT (-5014) + +#define DISPID_ACC_LOCATION (-5015) + +#define DISPID_ACC_NAVIGATE (-5016) + +#define DISPID_ACC_HITTEST (-5017) + +#define DISPID_ACC_DODEFAULTACTION (-5018) + +DEFINE_GUID(IID_IAccessible, 0x618736e0, 0x3c3d, 0x11cf, 0x81,0x0c, 0x00,0xaa,0x00,0x38,0x9b,0x71); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("618736e0-3c3d-11cf-810c-00aa00389b71") +IAccessible : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_accParent( + IDispatch **ppdispParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accChildCount( + LONG *pcountChildren) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accChild( + VARIANT varChildID, + IDispatch **ppdispChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accName( + VARIANT varID, + BSTR *pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accValue( + VARIANT varID, + BSTR *pszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accDescription( + VARIANT varID, + BSTR *description) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accRole( + VARIANT varID, + VARIANT *role) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accState( + VARIANT varID, + VARIANT *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accHelp( + VARIANT varID, + BSTR *help) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accHelpTopic( + BSTR *helpfile, + VARIANT varID, + LONG *pidTopic) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accKeyboardShortcut( + VARIANT varID, + BSTR *shortcut) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accFocus( + VARIANT *pvarID) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accSelection( + VARIANT *pvarID) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_accDefaultAction( + VARIANT varID, + BSTR *action) = 0; + + virtual HRESULT STDMETHODCALLTYPE accSelect( + LONG flagsSelect, + VARIANT varID) = 0; + + virtual HRESULT STDMETHODCALLTYPE accLocation( + LONG *left, + LONG *top, + LONG *width, + LONG *height, + VARIANT varID) = 0; + + virtual HRESULT STDMETHODCALLTYPE accNavigate( + LONG dir, + VARIANT varStart, + VARIANT *pvarEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE accHitTest( + LONG left, + LONG top, + VARIANT *pvarID) = 0; + + virtual HRESULT STDMETHODCALLTYPE accDoDefaultAction( + VARIANT varID) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accName( + VARIANT varID, + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_accValue( + VARIANT varID, + BSTR value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccessible, 0x618736e0, 0x3c3d, 0x11cf, 0x81,0x0c, 0x00,0xaa,0x00,0x38,0x9b,0x71) +#endif +#else +typedef struct IAccessibleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccessible *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccessible *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccessible *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IAccessible *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IAccessible *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IAccessible *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAccessible *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAccessible methods ***/ + HRESULT (STDMETHODCALLTYPE *get_accParent)( + IAccessible *This, + IDispatch **ppdispParent); + + HRESULT (STDMETHODCALLTYPE *get_accChildCount)( + IAccessible *This, + LONG *pcountChildren); + + HRESULT (STDMETHODCALLTYPE *get_accChild)( + IAccessible *This, + VARIANT varChildID, + IDispatch **ppdispChild); + + HRESULT (STDMETHODCALLTYPE *get_accName)( + IAccessible *This, + VARIANT varID, + BSTR *pszName); + + HRESULT (STDMETHODCALLTYPE *get_accValue)( + IAccessible *This, + VARIANT varID, + BSTR *pszValue); + + HRESULT (STDMETHODCALLTYPE *get_accDescription)( + IAccessible *This, + VARIANT varID, + BSTR *description); + + HRESULT (STDMETHODCALLTYPE *get_accRole)( + IAccessible *This, + VARIANT varID, + VARIANT *role); + + HRESULT (STDMETHODCALLTYPE *get_accState)( + IAccessible *This, + VARIANT varID, + VARIANT *state); + + HRESULT (STDMETHODCALLTYPE *get_accHelp)( + IAccessible *This, + VARIANT varID, + BSTR *help); + + HRESULT (STDMETHODCALLTYPE *get_accHelpTopic)( + IAccessible *This, + BSTR *helpfile, + VARIANT varID, + LONG *pidTopic); + + HRESULT (STDMETHODCALLTYPE *get_accKeyboardShortcut)( + IAccessible *This, + VARIANT varID, + BSTR *shortcut); + + HRESULT (STDMETHODCALLTYPE *get_accFocus)( + IAccessible *This, + VARIANT *pvarID); + + HRESULT (STDMETHODCALLTYPE *get_accSelection)( + IAccessible *This, + VARIANT *pvarID); + + HRESULT (STDMETHODCALLTYPE *get_accDefaultAction)( + IAccessible *This, + VARIANT varID, + BSTR *action); + + HRESULT (STDMETHODCALLTYPE *accSelect)( + IAccessible *This, + LONG flagsSelect, + VARIANT varID); + + HRESULT (STDMETHODCALLTYPE *accLocation)( + IAccessible *This, + LONG *left, + LONG *top, + LONG *width, + LONG *height, + VARIANT varID); + + HRESULT (STDMETHODCALLTYPE *accNavigate)( + IAccessible *This, + LONG dir, + VARIANT varStart, + VARIANT *pvarEnd); + + HRESULT (STDMETHODCALLTYPE *accHitTest)( + IAccessible *This, + LONG left, + LONG top, + VARIANT *pvarID); + + HRESULT (STDMETHODCALLTYPE *accDoDefaultAction)( + IAccessible *This, + VARIANT varID); + + HRESULT (STDMETHODCALLTYPE *put_accName)( + IAccessible *This, + VARIANT varID, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *put_accValue)( + IAccessible *This, + VARIANT varID, + BSTR value); + + END_INTERFACE +} IAccessibleVtbl; + +interface IAccessible { + CONST_VTBL IAccessibleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccessible_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccessible_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccessible_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IAccessible_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IAccessible_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IAccessible_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IAccessible_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAccessible methods ***/ +#define IAccessible_get_accParent(This,ppdispParent) (This)->lpVtbl->get_accParent(This,ppdispParent) +#define IAccessible_get_accChildCount(This,pcountChildren) (This)->lpVtbl->get_accChildCount(This,pcountChildren) +#define IAccessible_get_accChild(This,varChildID,ppdispChild) (This)->lpVtbl->get_accChild(This,varChildID,ppdispChild) +#define IAccessible_get_accName(This,varID,pszName) (This)->lpVtbl->get_accName(This,varID,pszName) +#define IAccessible_get_accValue(This,varID,pszValue) (This)->lpVtbl->get_accValue(This,varID,pszValue) +#define IAccessible_get_accDescription(This,varID,description) (This)->lpVtbl->get_accDescription(This,varID,description) +#define IAccessible_get_accRole(This,varID,role) (This)->lpVtbl->get_accRole(This,varID,role) +#define IAccessible_get_accState(This,varID,state) (This)->lpVtbl->get_accState(This,varID,state) +#define IAccessible_get_accHelp(This,varID,help) (This)->lpVtbl->get_accHelp(This,varID,help) +#define IAccessible_get_accHelpTopic(This,helpfile,varID,pidTopic) (This)->lpVtbl->get_accHelpTopic(This,helpfile,varID,pidTopic) +#define IAccessible_get_accKeyboardShortcut(This,varID,shortcut) (This)->lpVtbl->get_accKeyboardShortcut(This,varID,shortcut) +#define IAccessible_get_accFocus(This,pvarID) (This)->lpVtbl->get_accFocus(This,pvarID) +#define IAccessible_get_accSelection(This,pvarID) (This)->lpVtbl->get_accSelection(This,pvarID) +#define IAccessible_get_accDefaultAction(This,varID,action) (This)->lpVtbl->get_accDefaultAction(This,varID,action) +#define IAccessible_accSelect(This,flagsSelect,varID) (This)->lpVtbl->accSelect(This,flagsSelect,varID) +#define IAccessible_accLocation(This,left,top,width,height,varID) (This)->lpVtbl->accLocation(This,left,top,width,height,varID) +#define IAccessible_accNavigate(This,dir,varStart,pvarEnd) (This)->lpVtbl->accNavigate(This,dir,varStart,pvarEnd) +#define IAccessible_accHitTest(This,left,top,pvarID) (This)->lpVtbl->accHitTest(This,left,top,pvarID) +#define IAccessible_accDoDefaultAction(This,varID) (This)->lpVtbl->accDoDefaultAction(This,varID) +#define IAccessible_put_accName(This,varID,name) (This)->lpVtbl->put_accName(This,varID,name) +#define IAccessible_put_accValue(This,varID,value) (This)->lpVtbl->put_accValue(This,varID,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccessible_QueryInterface(IAccessible* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccessible_AddRef(IAccessible* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccessible_Release(IAccessible* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IAccessible_GetTypeInfoCount(IAccessible* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IAccessible_GetTypeInfo(IAccessible* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IAccessible_GetIDsOfNames(IAccessible* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IAccessible_Invoke(IAccessible* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAccessible methods ***/ +static FORCEINLINE HRESULT IAccessible_get_accParent(IAccessible* This,IDispatch **ppdispParent) { + return This->lpVtbl->get_accParent(This,ppdispParent); +} +static FORCEINLINE HRESULT IAccessible_get_accChildCount(IAccessible* This,LONG *pcountChildren) { + return This->lpVtbl->get_accChildCount(This,pcountChildren); +} +static FORCEINLINE HRESULT IAccessible_get_accChild(IAccessible* This,VARIANT varChildID,IDispatch **ppdispChild) { + return This->lpVtbl->get_accChild(This,varChildID,ppdispChild); +} +static FORCEINLINE HRESULT IAccessible_get_accName(IAccessible* This,VARIANT varID,BSTR *pszName) { + return This->lpVtbl->get_accName(This,varID,pszName); +} +static FORCEINLINE HRESULT IAccessible_get_accValue(IAccessible* This,VARIANT varID,BSTR *pszValue) { + return This->lpVtbl->get_accValue(This,varID,pszValue); +} +static FORCEINLINE HRESULT IAccessible_get_accDescription(IAccessible* This,VARIANT varID,BSTR *description) { + return This->lpVtbl->get_accDescription(This,varID,description); +} +static FORCEINLINE HRESULT IAccessible_get_accRole(IAccessible* This,VARIANT varID,VARIANT *role) { + return This->lpVtbl->get_accRole(This,varID,role); +} +static FORCEINLINE HRESULT IAccessible_get_accState(IAccessible* This,VARIANT varID,VARIANT *state) { + return This->lpVtbl->get_accState(This,varID,state); +} +static FORCEINLINE HRESULT IAccessible_get_accHelp(IAccessible* This,VARIANT varID,BSTR *help) { + return This->lpVtbl->get_accHelp(This,varID,help); +} +static FORCEINLINE HRESULT IAccessible_get_accHelpTopic(IAccessible* This,BSTR *helpfile,VARIANT varID,LONG *pidTopic) { + return This->lpVtbl->get_accHelpTopic(This,helpfile,varID,pidTopic); +} +static FORCEINLINE HRESULT IAccessible_get_accKeyboardShortcut(IAccessible* This,VARIANT varID,BSTR *shortcut) { + return This->lpVtbl->get_accKeyboardShortcut(This,varID,shortcut); +} +static FORCEINLINE HRESULT IAccessible_get_accFocus(IAccessible* This,VARIANT *pvarID) { + return This->lpVtbl->get_accFocus(This,pvarID); +} +static FORCEINLINE HRESULT IAccessible_get_accSelection(IAccessible* This,VARIANT *pvarID) { + return This->lpVtbl->get_accSelection(This,pvarID); +} +static FORCEINLINE HRESULT IAccessible_get_accDefaultAction(IAccessible* This,VARIANT varID,BSTR *action) { + return This->lpVtbl->get_accDefaultAction(This,varID,action); +} +static FORCEINLINE HRESULT IAccessible_accSelect(IAccessible* This,LONG flagsSelect,VARIANT varID) { + return This->lpVtbl->accSelect(This,flagsSelect,varID); +} +static FORCEINLINE HRESULT IAccessible_accLocation(IAccessible* This,LONG *left,LONG *top,LONG *width,LONG *height,VARIANT varID) { + return This->lpVtbl->accLocation(This,left,top,width,height,varID); +} +static FORCEINLINE HRESULT IAccessible_accNavigate(IAccessible* This,LONG dir,VARIANT varStart,VARIANT *pvarEnd) { + return This->lpVtbl->accNavigate(This,dir,varStart,pvarEnd); +} +static FORCEINLINE HRESULT IAccessible_accHitTest(IAccessible* This,LONG left,LONG top,VARIANT *pvarID) { + return This->lpVtbl->accHitTest(This,left,top,pvarID); +} +static FORCEINLINE HRESULT IAccessible_accDoDefaultAction(IAccessible* This,VARIANT varID) { + return This->lpVtbl->accDoDefaultAction(This,varID); +} +static FORCEINLINE HRESULT IAccessible_put_accName(IAccessible* This,VARIANT varID,BSTR name) { + return This->lpVtbl->put_accName(This,varID,name); +} +static FORCEINLINE HRESULT IAccessible_put_accValue(IAccessible* This,VARIANT varID,BSTR value) { + return This->lpVtbl->put_accValue(This,varID,value); +} +#endif +#endif + +#endif + + +#endif /* __IAccessible_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAccessibleHandler interface + */ +#ifndef __IAccessibleHandler_INTERFACE_DEFINED__ +#define __IAccessibleHandler_INTERFACE_DEFINED__ + +typedef IAccessibleHandler *LPACCESSIBLEHANDLER; +DEFINE_GUID(IID_IAccessibleHandler, 0x03022430, 0xabc4, 0x11d0, 0xbd,0xe2, 0x00,0xaa,0x00,0x1a,0x19,0x53); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("03022430-abc4-11d0-bde2-00aa001a1953") +IAccessibleHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AccessibleObjectFromID( + LONG hwnd, + LONG lObjectID, + LPACCESSIBLE *pIAccessible) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccessibleHandler, 0x03022430, 0xabc4, 0x11d0, 0xbd,0xe2, 0x00,0xaa,0x00,0x1a,0x19,0x53) +#endif +#else +typedef struct IAccessibleHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccessibleHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccessibleHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccessibleHandler *This); + + /*** IAccessibleHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *AccessibleObjectFromID)( + IAccessibleHandler *This, + LONG hwnd, + LONG lObjectID, + LPACCESSIBLE *pIAccessible); + + END_INTERFACE +} IAccessibleHandlerVtbl; + +interface IAccessibleHandler { + CONST_VTBL IAccessibleHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccessibleHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccessibleHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccessibleHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IAccessibleHandler methods ***/ +#define IAccessibleHandler_AccessibleObjectFromID(This,hwnd,lObjectID,pIAccessible) (This)->lpVtbl->AccessibleObjectFromID(This,hwnd,lObjectID,pIAccessible) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccessibleHandler_QueryInterface(IAccessibleHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccessibleHandler_AddRef(IAccessibleHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccessibleHandler_Release(IAccessibleHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IAccessibleHandler methods ***/ +static FORCEINLINE HRESULT IAccessibleHandler_AccessibleObjectFromID(IAccessibleHandler* This,LONG hwnd,LONG lObjectID,LPACCESSIBLE *pIAccessible) { + return This->lpVtbl->AccessibleObjectFromID(This,hwnd,lObjectID,pIAccessible); +} +#endif +#endif + +#endif + + +#endif /* __IAccessibleHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAccIdentity interface + */ +#ifndef __IAccIdentity_INTERFACE_DEFINED__ +#define __IAccIdentity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAccIdentity, 0x7852b78d, 0x1cfd, 0x41c1, 0xa6,0x15, 0x9c,0x0c,0x85,0x96,0x0b,0x5f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7852b78d-1cfd-41c1-a615-9c0c85960b5f") +IAccIdentity : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIdentityString( + DWORD idchild, + BYTE **str, + DWORD *string_len) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccIdentity, 0x7852b78d, 0x1cfd, 0x41c1, 0xa6,0x15, 0x9c,0x0c,0x85,0x96,0x0b,0x5f) +#endif +#else +typedef struct IAccIdentityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccIdentity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccIdentity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccIdentity *This); + + /*** IAccIdentity methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIdentityString)( + IAccIdentity *This, + DWORD idchild, + BYTE **str, + DWORD *string_len); + + END_INTERFACE +} IAccIdentityVtbl; + +interface IAccIdentity { + CONST_VTBL IAccIdentityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccIdentity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccIdentity_Release(This) (This)->lpVtbl->Release(This) +/*** IAccIdentity methods ***/ +#define IAccIdentity_GetIdentityString(This,idchild,str,string_len) (This)->lpVtbl->GetIdentityString(This,idchild,str,string_len) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccIdentity_QueryInterface(IAccIdentity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccIdentity_AddRef(IAccIdentity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccIdentity_Release(IAccIdentity* This) { + return This->lpVtbl->Release(This); +} +/*** IAccIdentity methods ***/ +static FORCEINLINE HRESULT IAccIdentity_GetIdentityString(IAccIdentity* This,DWORD idchild,BYTE **str,DWORD *string_len) { + return This->lpVtbl->GetIdentityString(This,idchild,str,string_len); +} +#endif +#endif + +#endif + + +#endif /* __IAccIdentity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAccPropServer interface + */ +#ifndef __IAccPropServer_INTERFACE_DEFINED__ +#define __IAccPropServer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAccPropServer, 0x76c0dbbb, 0x15e0, 0x4e7b, 0xb6,0x1b, 0x20,0xee,0xea,0x20,0x01,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("76c0dbbb-15e0-4e7b-b61b-20eeea2001e0") +IAccPropServer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPropValue( + const BYTE *str, + DWORD string_len, + MSAAPROPID idProp, + VARIANT *value, + BOOL *has_prop) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccPropServer, 0x76c0dbbb, 0x15e0, 0x4e7b, 0xb6,0x1b, 0x20,0xee,0xea,0x20,0x01,0xe0) +#endif +#else +typedef struct IAccPropServerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccPropServer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccPropServer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccPropServer *This); + + /*** IAccPropServer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropValue)( + IAccPropServer *This, + const BYTE *str, + DWORD string_len, + MSAAPROPID idProp, + VARIANT *value, + BOOL *has_prop); + + END_INTERFACE +} IAccPropServerVtbl; + +interface IAccPropServer { + CONST_VTBL IAccPropServerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccPropServer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccPropServer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccPropServer_Release(This) (This)->lpVtbl->Release(This) +/*** IAccPropServer methods ***/ +#define IAccPropServer_GetPropValue(This,str,string_len,idProp,value,has_prop) (This)->lpVtbl->GetPropValue(This,str,string_len,idProp,value,has_prop) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccPropServer_QueryInterface(IAccPropServer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccPropServer_AddRef(IAccPropServer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccPropServer_Release(IAccPropServer* This) { + return This->lpVtbl->Release(This); +} +/*** IAccPropServer methods ***/ +static FORCEINLINE HRESULT IAccPropServer_GetPropValue(IAccPropServer* This,const BYTE *str,DWORD string_len,MSAAPROPID idProp,VARIANT *value,BOOL *has_prop) { + return This->lpVtbl->GetPropValue(This,str,string_len,idProp,value,has_prop); +} +#endif +#endif + +#endif + + +#endif /* __IAccPropServer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAccPropServices interface + */ +#ifndef __IAccPropServices_INTERFACE_DEFINED__ +#define __IAccPropServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAccPropServices, 0x6e26e776, 0x04f0, 0x495d, 0x80,0xe4, 0x33,0x30,0x35,0x2e,0x31,0x69); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6e26e776-04f0-495d-80e4-3330352e3169") +IAccPropServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetPropValue( + const BYTE *str, + DWORD string_len, + MSAAPROPID idProp, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropServer( + const BYTE *str, + DWORD string_len, + const MSAAPROPID *props, + int cProps, + IAccPropServer *pServer, + AnnoScope AnnoScope) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearProps( + const BYTE *str, + DWORD string_len, + const MSAAPROPID *props, + int cProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHwndProp( + HWND hwnd, + DWORD idObject, + DWORD idChild, + MSAAPROPID idProp, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHwndPropStr( + HWND hwnd, + DWORD idObject, + DWORD idChild, + MSAAPROPID idProp, + LPWSTR str) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHwndPropServer( + HWND hwnd, + DWORD idObject, + DWORD idChild, + const MSAAPROPID *props, + int cProps, + IAccPropServer *server, + AnnoScope scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearHwndProps( + HWND hwnd, + DWORD idObject, + DWORD idChild, + const MSAAPROPID *props, + int cProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComposeHwndIdentityString( + HWND hwnd, + DWORD idObject, + DWORD idChild, + BYTE **str, + DWORD *string_len) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecomposeHwndIdentityString( + const BYTE *str, + DWORD string_len, + HWND *phwnd, + DWORD *pidObject, + DWORD *pidChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHmenuProp( + HMENU hmenu, + DWORD idChild, + MSAAPROPID idProp, + VARIANT var) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHmenuPropStr( + HMENU hmenu, + DWORD idChild, + MSAAPROPID idProp, + LPWSTR str) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHmenuPropServer( + HMENU hmenu, + DWORD idChild, + const MSAAPROPID *props, + int cProps, + IAccPropServer *server, + AnnoScope scope) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearHmenuProps( + HMENU hmenu, + DWORD idChild, + const MSAAPROPID *props, + int cProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE ComposeHmenuIdentityString( + HMENU hmenu, + DWORD idChild, + BYTE **str, + DWORD *string_len) = 0; + + virtual HRESULT STDMETHODCALLTYPE DecomposeHmenuIdentityString( + const BYTE *str, + DWORD string_len, + HMENU *phmenu, + DWORD *pidChild) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccPropServices, 0x6e26e776, 0x04f0, 0x495d, 0x80,0xe4, 0x33,0x30,0x35,0x2e,0x31,0x69) +#endif +#else +typedef struct IAccPropServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccPropServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccPropServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccPropServices *This); + + /*** IAccPropServices methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPropValue)( + IAccPropServices *This, + const BYTE *str, + DWORD string_len, + MSAAPROPID idProp, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *SetPropServer)( + IAccPropServices *This, + const BYTE *str, + DWORD string_len, + const MSAAPROPID *props, + int cProps, + IAccPropServer *pServer, + AnnoScope AnnoScope); + + HRESULT (STDMETHODCALLTYPE *ClearProps)( + IAccPropServices *This, + const BYTE *str, + DWORD string_len, + const MSAAPROPID *props, + int cProps); + + HRESULT (STDMETHODCALLTYPE *SetHwndProp)( + IAccPropServices *This, + HWND hwnd, + DWORD idObject, + DWORD idChild, + MSAAPROPID idProp, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *SetHwndPropStr)( + IAccPropServices *This, + HWND hwnd, + DWORD idObject, + DWORD idChild, + MSAAPROPID idProp, + LPWSTR str); + + HRESULT (STDMETHODCALLTYPE *SetHwndPropServer)( + IAccPropServices *This, + HWND hwnd, + DWORD idObject, + DWORD idChild, + const MSAAPROPID *props, + int cProps, + IAccPropServer *server, + AnnoScope scope); + + HRESULT (STDMETHODCALLTYPE *ClearHwndProps)( + IAccPropServices *This, + HWND hwnd, + DWORD idObject, + DWORD idChild, + const MSAAPROPID *props, + int cProps); + + HRESULT (STDMETHODCALLTYPE *ComposeHwndIdentityString)( + IAccPropServices *This, + HWND hwnd, + DWORD idObject, + DWORD idChild, + BYTE **str, + DWORD *string_len); + + HRESULT (STDMETHODCALLTYPE *DecomposeHwndIdentityString)( + IAccPropServices *This, + const BYTE *str, + DWORD string_len, + HWND *phwnd, + DWORD *pidObject, + DWORD *pidChild); + + HRESULT (STDMETHODCALLTYPE *SetHmenuProp)( + IAccPropServices *This, + HMENU hmenu, + DWORD idChild, + MSAAPROPID idProp, + VARIANT var); + + HRESULT (STDMETHODCALLTYPE *SetHmenuPropStr)( + IAccPropServices *This, + HMENU hmenu, + DWORD idChild, + MSAAPROPID idProp, + LPWSTR str); + + HRESULT (STDMETHODCALLTYPE *SetHmenuPropServer)( + IAccPropServices *This, + HMENU hmenu, + DWORD idChild, + const MSAAPROPID *props, + int cProps, + IAccPropServer *server, + AnnoScope scope); + + HRESULT (STDMETHODCALLTYPE *ClearHmenuProps)( + IAccPropServices *This, + HMENU hmenu, + DWORD idChild, + const MSAAPROPID *props, + int cProps); + + HRESULT (STDMETHODCALLTYPE *ComposeHmenuIdentityString)( + IAccPropServices *This, + HMENU hmenu, + DWORD idChild, + BYTE **str, + DWORD *string_len); + + HRESULT (STDMETHODCALLTYPE *DecomposeHmenuIdentityString)( + IAccPropServices *This, + const BYTE *str, + DWORD string_len, + HMENU *phmenu, + DWORD *pidChild); + + END_INTERFACE +} IAccPropServicesVtbl; + +interface IAccPropServices { + CONST_VTBL IAccPropServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccPropServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccPropServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccPropServices_Release(This) (This)->lpVtbl->Release(This) +/*** IAccPropServices methods ***/ +#define IAccPropServices_SetPropValue(This,str,string_len,idProp,var) (This)->lpVtbl->SetPropValue(This,str,string_len,idProp,var) +#define IAccPropServices_SetPropServer(This,str,string_len,props,cProps,pServer,AnnoScope) (This)->lpVtbl->SetPropServer(This,str,string_len,props,cProps,pServer,AnnoScope) +#define IAccPropServices_ClearProps(This,str,string_len,props,cProps) (This)->lpVtbl->ClearProps(This,str,string_len,props,cProps) +#define IAccPropServices_SetHwndProp(This,hwnd,idObject,idChild,idProp,var) (This)->lpVtbl->SetHwndProp(This,hwnd,idObject,idChild,idProp,var) +#define IAccPropServices_SetHwndPropStr(This,hwnd,idObject,idChild,idProp,str) (This)->lpVtbl->SetHwndPropStr(This,hwnd,idObject,idChild,idProp,str) +#define IAccPropServices_SetHwndPropServer(This,hwnd,idObject,idChild,props,cProps,server,scope) (This)->lpVtbl->SetHwndPropServer(This,hwnd,idObject,idChild,props,cProps,server,scope) +#define IAccPropServices_ClearHwndProps(This,hwnd,idObject,idChild,props,cProps) (This)->lpVtbl->ClearHwndProps(This,hwnd,idObject,idChild,props,cProps) +#define IAccPropServices_ComposeHwndIdentityString(This,hwnd,idObject,idChild,str,string_len) (This)->lpVtbl->ComposeHwndIdentityString(This,hwnd,idObject,idChild,str,string_len) +#define IAccPropServices_DecomposeHwndIdentityString(This,str,string_len,phwnd,pidObject,pidChild) (This)->lpVtbl->DecomposeHwndIdentityString(This,str,string_len,phwnd,pidObject,pidChild) +#define IAccPropServices_SetHmenuProp(This,hmenu,idChild,idProp,var) (This)->lpVtbl->SetHmenuProp(This,hmenu,idChild,idProp,var) +#define IAccPropServices_SetHmenuPropStr(This,hmenu,idChild,idProp,str) (This)->lpVtbl->SetHmenuPropStr(This,hmenu,idChild,idProp,str) +#define IAccPropServices_SetHmenuPropServer(This,hmenu,idChild,props,cProps,server,scope) (This)->lpVtbl->SetHmenuPropServer(This,hmenu,idChild,props,cProps,server,scope) +#define IAccPropServices_ClearHmenuProps(This,hmenu,idChild,props,cProps) (This)->lpVtbl->ClearHmenuProps(This,hmenu,idChild,props,cProps) +#define IAccPropServices_ComposeHmenuIdentityString(This,hmenu,idChild,str,string_len) (This)->lpVtbl->ComposeHmenuIdentityString(This,hmenu,idChild,str,string_len) +#define IAccPropServices_DecomposeHmenuIdentityString(This,str,string_len,phmenu,pidChild) (This)->lpVtbl->DecomposeHmenuIdentityString(This,str,string_len,phmenu,pidChild) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccPropServices_QueryInterface(IAccPropServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccPropServices_AddRef(IAccPropServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccPropServices_Release(IAccPropServices* This) { + return This->lpVtbl->Release(This); +} +/*** IAccPropServices methods ***/ +static FORCEINLINE HRESULT IAccPropServices_SetPropValue(IAccPropServices* This,const BYTE *str,DWORD string_len,MSAAPROPID idProp,VARIANT var) { + return This->lpVtbl->SetPropValue(This,str,string_len,idProp,var); +} +static FORCEINLINE HRESULT IAccPropServices_SetPropServer(IAccPropServices* This,const BYTE *str,DWORD string_len,const MSAAPROPID *props,int cProps,IAccPropServer *pServer,AnnoScope AnnoScope) { + return This->lpVtbl->SetPropServer(This,str,string_len,props,cProps,pServer,AnnoScope); +} +static FORCEINLINE HRESULT IAccPropServices_ClearProps(IAccPropServices* This,const BYTE *str,DWORD string_len,const MSAAPROPID *props,int cProps) { + return This->lpVtbl->ClearProps(This,str,string_len,props,cProps); +} +static FORCEINLINE HRESULT IAccPropServices_SetHwndProp(IAccPropServices* This,HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,VARIANT var) { + return This->lpVtbl->SetHwndProp(This,hwnd,idObject,idChild,idProp,var); +} +static FORCEINLINE HRESULT IAccPropServices_SetHwndPropStr(IAccPropServices* This,HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,LPWSTR str) { + return This->lpVtbl->SetHwndPropStr(This,hwnd,idObject,idChild,idProp,str); +} +static FORCEINLINE HRESULT IAccPropServices_SetHwndPropServer(IAccPropServices* This,HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *props,int cProps,IAccPropServer *server,AnnoScope scope) { + return This->lpVtbl->SetHwndPropServer(This,hwnd,idObject,idChild,props,cProps,server,scope); +} +static FORCEINLINE HRESULT IAccPropServices_ClearHwndProps(IAccPropServices* This,HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *props,int cProps) { + return This->lpVtbl->ClearHwndProps(This,hwnd,idObject,idChild,props,cProps); +} +static FORCEINLINE HRESULT IAccPropServices_ComposeHwndIdentityString(IAccPropServices* This,HWND hwnd,DWORD idObject,DWORD idChild,BYTE **str,DWORD *string_len) { + return This->lpVtbl->ComposeHwndIdentityString(This,hwnd,idObject,idChild,str,string_len); +} +static FORCEINLINE HRESULT IAccPropServices_DecomposeHwndIdentityString(IAccPropServices* This,const BYTE *str,DWORD string_len,HWND *phwnd,DWORD *pidObject,DWORD *pidChild) { + return This->lpVtbl->DecomposeHwndIdentityString(This,str,string_len,phwnd,pidObject,pidChild); +} +static FORCEINLINE HRESULT IAccPropServices_SetHmenuProp(IAccPropServices* This,HMENU hmenu,DWORD idChild,MSAAPROPID idProp,VARIANT var) { + return This->lpVtbl->SetHmenuProp(This,hmenu,idChild,idProp,var); +} +static FORCEINLINE HRESULT IAccPropServices_SetHmenuPropStr(IAccPropServices* This,HMENU hmenu,DWORD idChild,MSAAPROPID idProp,LPWSTR str) { + return This->lpVtbl->SetHmenuPropStr(This,hmenu,idChild,idProp,str); +} +static FORCEINLINE HRESULT IAccPropServices_SetHmenuPropServer(IAccPropServices* This,HMENU hmenu,DWORD idChild,const MSAAPROPID *props,int cProps,IAccPropServer *server,AnnoScope scope) { + return This->lpVtbl->SetHmenuPropServer(This,hmenu,idChild,props,cProps,server,scope); +} +static FORCEINLINE HRESULT IAccPropServices_ClearHmenuProps(IAccPropServices* This,HMENU hmenu,DWORD idChild,const MSAAPROPID *props,int cProps) { + return This->lpVtbl->ClearHmenuProps(This,hmenu,idChild,props,cProps); +} +static FORCEINLINE HRESULT IAccPropServices_ComposeHmenuIdentityString(IAccPropServices* This,HMENU hmenu,DWORD idChild,BYTE **str,DWORD *string_len) { + return This->lpVtbl->ComposeHmenuIdentityString(This,hmenu,idChild,str,string_len); +} +static FORCEINLINE HRESULT IAccPropServices_DecomposeHmenuIdentityString(IAccPropServices* This,const BYTE *str,DWORD string_len,HMENU *phmenu,DWORD *pidChild) { + return This->lpVtbl->DecomposeHmenuIdentityString(This,str,string_len,phmenu,pidChild); +} +#endif +#endif + +#endif + + +#endif /* __IAccPropServices_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_Accessibility, 0x1ea4dbf0, 0x3c3b, 0x11cf, 0x81,0x0c, 0x00,0xaa,0x00,0x38,0x9b,0x71); + +#ifndef __IAccessible_FWD_DEFINED__ +#define __IAccessible_FWD_DEFINED__ +typedef interface IAccessible IAccessible; +#ifdef __cplusplus +interface IAccessible; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccessibleHandler_FWD_DEFINED__ +#define __IAccessibleHandler_FWD_DEFINED__ +typedef interface IAccessibleHandler IAccessibleHandler; +#ifdef __cplusplus +interface IAccessibleHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccIdentity_FWD_DEFINED__ +#define __IAccIdentity_FWD_DEFINED__ +typedef interface IAccIdentity IAccIdentity; +#ifdef __cplusplus +interface IAccIdentity; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccPropServer_FWD_DEFINED__ +#define __IAccPropServer_FWD_DEFINED__ +typedef interface IAccPropServer IAccPropServer; +#ifdef __cplusplus +interface IAccPropServer; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccPropServices_FWD_DEFINED__ +#define __IAccPropServices_FWD_DEFINED__ +typedef interface IAccPropServices IAccPropServices; +#ifdef __cplusplus +interface IAccPropServices; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * CAccPropServices coclass + */ + +DEFINE_GUID(CLSID_CAccPropServices, 0xb5f8350b, 0x0548, 0x48b1, 0xa6,0xee, 0x88,0xbd,0x00,0xb4,0xa5,0xe7); + +#ifdef __cplusplus +class DECLSPEC_UUID("b5f8350b-0548-48b1-a6ee-88bd00b4a5e7") CAccPropServices; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(CAccPropServices, 0xb5f8350b, 0x0548, 0x48b1, 0xa6,0xee, 0x88,0xbd,0x00,0xb4,0xa5,0xe7) +#endif +#endif + +DEFINE_GUID(CLSID_AccPropServices, 0xb5f8350b, 0x0548, 0x48b1, 0xa6, 0xee, 0x88, 0xbd, 0x00, 0xb4, 0xa5, 0xe7); +DEFINE_GUID(IIS_IsOleaccProxy, 0x902697fa, 0x80e4, 0x4560, 0x80, 0x2a, 0xa1, 0x3f, 0x22, 0xa6, 0x47, 0x09); +LRESULT WINAPI LresultFromObject(REFIID,WPARAM,LPUNKNOWN); +HRESULT WINAPI ObjectFromLresult(LRESULT,REFIID,WPARAM,void **); +HRESULT WINAPI WindowFromAccessibleObject(IAccessible *,HWND *); +HRESULT WINAPI AccessibleObjectFromWindow(HWND,DWORD,REFIID,void **); +HRESULT WINAPI AccessibleObjectFromEvent(HWND,DWORD,DWORD,IAccessible **,VARIANT *); +HRESULT WINAPI AccessibleObjectFromPoint(POINT,IAccessible **,VARIANT *); +HRESULT WINAPI AccessibleChildren(IAccessible *,LONG,LONG,VARIANT *,LONG *); +void WINAPI GetOleaccVersionInfo(DWORD *,DWORD *); +HRESULT WINAPI CreateStdAccessibleObject(HWND,LONG,REFIID,void **); +HRESULT WINAPI CreateStdAccessibleProxyA(HWND,LPCSTR,LONG,REFIID,void **); +HRESULT WINAPI CreateStdAccessibleProxyW(HWND,LPCWSTR,LONG,REFIID,void **); +#define CreateStdAccessibleProxy WINELIB_NAME_AW(CreateStdAccessibleProxy) +UINT WINAPI GetRoleTextA(DWORD,LPSTR,UINT); +UINT WINAPI GetRoleTextW(DWORD,LPWSTR,UINT); +#define GetRoleText WINELIB_NAME_AW(GetRoleText) +UINT WINAPI GetStateTextA(DWORD,LPSTR,UINT); +UINT WINAPI GetStateTextW(DWORD,LPWSTR,UINT); +#define GetStateText WINELIB_NAME_AW(GetStateText) +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER HMENU_UserSize (ULONG *, ULONG, HMENU *); +unsigned char * __RPC_USER HMENU_UserMarshal (ULONG *, unsigned char *, HMENU *); +unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *); +void __RPC_USER HMENU_UserFree (ULONG *, HMENU *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __oleacc_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleacc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleacc.idl new file mode 100644 index 0000000..3328548 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleacc.idl @@ -0,0 +1,382 @@ +/* + * Copyright (C) 2005 Dmitry Timoshkov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#endif + +cpp_quote("#define NAVDIR_MIN 0") +cpp_quote("#define NAVDIR_UP 1") +cpp_quote("#define NAVDIR_DOWN 2") +cpp_quote("#define NAVDIR_LEFT 3") +cpp_quote("#define NAVDIR_RIGHT 4") +cpp_quote("#define NAVDIR_NEXT 5") +cpp_quote("#define NAVDIR_PREVIOUS 6") +cpp_quote("#define NAVDIR_FIRSTCHILD 7") +cpp_quote("#define NAVDIR_LASTCHILD 8") +cpp_quote("#define NAVDIR_MAX 9") + +cpp_quote("#define ROLE_SYSTEM_TITLEBAR 1") +cpp_quote("#define ROLE_SYSTEM_MENUBAR 2") +cpp_quote("#define ROLE_SYSTEM_SCROLLBAR 3") +cpp_quote("#define ROLE_SYSTEM_GRIP 4") +cpp_quote("#define ROLE_SYSTEM_SOUND 5") +cpp_quote("#define ROLE_SYSTEM_CURSOR 6") +cpp_quote("#define ROLE_SYSTEM_CARET 7") +cpp_quote("#define ROLE_SYSTEM_ALERT 8") +cpp_quote("#define ROLE_SYSTEM_WINDOW 9") +cpp_quote("#define ROLE_SYSTEM_CLIENT 10") +cpp_quote("#define ROLE_SYSTEM_MENUPOPUP 11") +cpp_quote("#define ROLE_SYSTEM_MENUITEM 12") +cpp_quote("#define ROLE_SYSTEM_TOOLTIP 13") +cpp_quote("#define ROLE_SYSTEM_APPLICATION 14") +cpp_quote("#define ROLE_SYSTEM_DOCUMENT 15") +cpp_quote("#define ROLE_SYSTEM_PANE 16") +cpp_quote("#define ROLE_SYSTEM_CHART 17") +cpp_quote("#define ROLE_SYSTEM_DIALOG 18") +cpp_quote("#define ROLE_SYSTEM_BORDER 19") +cpp_quote("#define ROLE_SYSTEM_GROUPING 20") +cpp_quote("#define ROLE_SYSTEM_SEPARATOR 21") +cpp_quote("#define ROLE_SYSTEM_TOOLBAR 22") +cpp_quote("#define ROLE_SYSTEM_STATUSBAR 23") +cpp_quote("#define ROLE_SYSTEM_TABLE 24") +cpp_quote("#define ROLE_SYSTEM_COLUMNHEADER 25") +cpp_quote("#define ROLE_SYSTEM_ROWHEADER 26") +cpp_quote("#define ROLE_SYSTEM_COLUMN 27") +cpp_quote("#define ROLE_SYSTEM_ROW 28") +cpp_quote("#define ROLE_SYSTEM_CELL 29") +cpp_quote("#define ROLE_SYSTEM_LINK 30") +cpp_quote("#define ROLE_SYSTEM_HELPBALLOON 31") +cpp_quote("#define ROLE_SYSTEM_CHARACTER 32") +cpp_quote("#define ROLE_SYSTEM_LIST 33") +cpp_quote("#define ROLE_SYSTEM_LISTITEM 34") +cpp_quote("#define ROLE_SYSTEM_OUTLINE 35") +cpp_quote("#define ROLE_SYSTEM_OUTLINEITEM 36") +cpp_quote("#define ROLE_SYSTEM_PAGETAB 37") +cpp_quote("#define ROLE_SYSTEM_PROPERTYPAGE 38") +cpp_quote("#define ROLE_SYSTEM_INDICATOR 39") +cpp_quote("#define ROLE_SYSTEM_GRAPHIC 40") +cpp_quote("#define ROLE_SYSTEM_STATICTEXT 41") +cpp_quote("#define ROLE_SYSTEM_TEXT 42") +cpp_quote("#define ROLE_SYSTEM_PUSHBUTTON 43") +cpp_quote("#define ROLE_SYSTEM_CHECKBUTTON 44") +cpp_quote("#define ROLE_SYSTEM_RADIOBUTTON 45") +cpp_quote("#define ROLE_SYSTEM_COMBOBOX 46") +cpp_quote("#define ROLE_SYSTEM_DROPLIST 47") +cpp_quote("#define ROLE_SYSTEM_PROGRESSBAR 48") +cpp_quote("#define ROLE_SYSTEM_DIAL 49") +cpp_quote("#define ROLE_SYSTEM_HOTKEYFIELD 50") +cpp_quote("#define ROLE_SYSTEM_SLIDER 51") +cpp_quote("#define ROLE_SYSTEM_SPINBUTTON 52") +cpp_quote("#define ROLE_SYSTEM_DIAGRAM 53") +cpp_quote("#define ROLE_SYSTEM_ANIMATION 54") +cpp_quote("#define ROLE_SYSTEM_EQUATION 55") +cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWN 56") +cpp_quote("#define ROLE_SYSTEM_BUTTONMENU 57") +cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWNGRID 58") +cpp_quote("#define ROLE_SYSTEM_WHITESPACE 59") +cpp_quote("#define ROLE_SYSTEM_PAGETABLIST 60") +cpp_quote("#define ROLE_SYSTEM_CLOCK 61") +cpp_quote("#define ROLE_SYSTEM_SPLITBUTTON 62") +cpp_quote("#define ROLE_SYSTEM_IPADDRESS 63") +cpp_quote("#define ROLE_SYSTEM_OUTLINEBUTTON 64") + +cpp_quote("#define SELFLAG_NONE 0x00") +cpp_quote("#define SELFLAG_TAKEFOCUS 0x01") +cpp_quote("#define SELFLAG_TAKESELECTION 0x02") +cpp_quote("#define SELFLAG_EXTENDSELECTION 0x04") +cpp_quote("#define SELFLAG_ADDSELECTION 0x08") +cpp_quote("#define SELFLAG_REMOVESELECTION 0x10") +cpp_quote("#define SELFLAG_VALID 0x1f") + +cpp_quote("#ifndef STATE_SYSTEM_UNAVAILABLE") +cpp_quote("#define STATE_SYSTEM_NORMAL 0x00000000") +cpp_quote("#define STATE_SYSTEM_UNAVAILABLE 0x00000001") +cpp_quote("#define STATE_SYSTEM_SELECTED 0x00000002") +cpp_quote("#define STATE_SYSTEM_FOCUSED 0x00000004") +cpp_quote("#define STATE_SYSTEM_PRESSED 0x00000008") +cpp_quote("#define STATE_SYSTEM_CHECKED 0x00000010") +cpp_quote("#define STATE_SYSTEM_MIXED 0x00000020") +cpp_quote("#define STATE_SYSTEM_INDETERMINATE STATE_SYSTEM_MIXED") +cpp_quote("#define STATE_SYSTEM_READONLY 0x00000040") +cpp_quote("#define STATE_SYSTEM_HOTTRACKED 0x00000080") +cpp_quote("#define STATE_SYSTEM_DEFAULT 0x00000100") +cpp_quote("#define STATE_SYSTEM_EXPANDED 0x00000200") +cpp_quote("#define STATE_SYSTEM_COLLAPSED 0x00000400") +cpp_quote("#define STATE_SYSTEM_BUSY 0x00000800") +cpp_quote("#define STATE_SYSTEM_FLOATING 0x00001000") +cpp_quote("#define STATE_SYSTEM_MARQUEED 0x00002000") +cpp_quote("#define STATE_SYSTEM_ANIMATED 0x00004000") +cpp_quote("#define STATE_SYSTEM_INVISIBLE 0x00008000") +cpp_quote("#define STATE_SYSTEM_OFFSCREEN 0x00010000") +cpp_quote("#define STATE_SYSTEM_SIZEABLE 0x00020000") +cpp_quote("#define STATE_SYSTEM_MOVEABLE 0x00040000") +cpp_quote("#define STATE_SYSTEM_SELFVOICING 0x00080000") +cpp_quote("#define STATE_SYSTEM_FOCUSABLE 0x00100000") +cpp_quote("#define STATE_SYSTEM_SELECTABLE 0x00200000") +cpp_quote("#define STATE_SYSTEM_LINKED 0x00400000") +cpp_quote("#define STATE_SYSTEM_TRAVERSED 0x00800000") +cpp_quote("#define STATE_SYSTEM_MULTISELECTABLE 0x01000000") +cpp_quote("#define STATE_SYSTEM_EXTSELECTABLE 0x02000000") +cpp_quote("#define STATE_SYSTEM_ALERT_LOW 0x04000000") +cpp_quote("#define STATE_SYSTEM_ALERT_MEDIUM 0x08000000") +cpp_quote("#define STATE_SYSTEM_ALERT_HIGH 0x10000000") +cpp_quote("#define STATE_SYSTEM_PROTECTED 0x20000000") +cpp_quote("#define STATE_SYSTEM_VALID 0x7FFFFFFF") +cpp_quote("#endif") +cpp_quote("#ifndef STATE_SYSTEM_HASPOPUP") +cpp_quote("#define STATE_SYSTEM_HASPOPUP 0x40000000") +cpp_quote("#endif") + +typedef GUID MSAAPROPID; + +typedef enum AnnoScope +{ + ANNO_THIS, + ANNO_CONTAINER +} AnnoScope; + +[ + object, + hidden, + dual, + uuid(618736e0-3c3d-11cf-810c-00aa00389b71), + pointer_default(unique) +] +interface IAccessible : IDispatch +{ + typedef [unique] IAccessible *LPACCESSIBLE; + const long DISPID_ACC_PARENT = -5000; + const long DISPID_ACC_CHILDCOUNT = -5001; + const long DISPID_ACC_CHILD = -5002; + const long DISPID_ACC_NAME = -5003; + const long DISPID_ACC_VALUE = -5004; + const long DISPID_ACC_DESCRIPTION= -5005; + const long DISPID_ACC_ROLE = -5006; + const long DISPID_ACC_STATE = -5007; + const long DISPID_ACC_HELP = -5008; + const long DISPID_ACC_HELPTOPIC = -5009; + const long DISPID_ACC_KEYBOARDSHORTCUT = -5010; + const long DISPID_ACC_FOCUS = -5011; + const long DISPID_ACC_SELECTION = -5012; + const long DISPID_ACC_DEFAULTACTION = -5013; + const long DISPID_ACC_SELECT = -5014; + const long DISPID_ACC_LOCATION = -5015; + const long DISPID_ACC_NAVIGATE = -5016; + const long DISPID_ACC_HITTEST = -5017; + const long DISPID_ACC_DODEFAULTACTION = -5018; + + [hidden, propget, id(DISPID_ACC_PARENT)] HRESULT accParent([out, retval]IDispatch** ppdispParent); + [hidden, propget, id(DISPID_ACC_CHILDCOUNT)] HRESULT accChildCount([out, retval] long* pcountChildren); + [hidden, propget, id(DISPID_ACC_CHILD)] HRESULT accChild([in] VARIANT varChildID, [out, retval]IDispatch **ppdispChild); + [hidden, propget, id(DISPID_ACC_NAME)] HRESULT accName([in, optional] VARIANT varID, [out, retval] BSTR* pszName); + [hidden, propget, id(DISPID_ACC_VALUE)] HRESULT accValue([in, optional] VARIANT varID, [out, retval] BSTR* pszValue); + [hidden, propget, id(DISPID_ACC_DESCRIPTION)] HRESULT accDescription([in, optional] VARIANT varID, [out, retval] BSTR *description); + [hidden, propget, id(DISPID_ACC_ROLE)] HRESULT accRole([in, optional] VARIANT varID, [out, retval] VARIANT *role); + [hidden, propget, id(DISPID_ACC_STATE)] HRESULT accState([in, optional] VARIANT varID, [out, retval] VARIANT *state); + [hidden, propget, id(DISPID_ACC_HELP)] HRESULT accHelp([in, optional] VARIANT varID, [out, retval] BSTR *help); + [hidden, propget, id(DISPID_ACC_HELPTOPIC)] HRESULT accHelpTopic([out] BSTR *helpfile, [in, optional] VARIANT varID, [out, retval] long* pidTopic); + [hidden, propget, id(DISPID_ACC_KEYBOARDSHORTCUT)] HRESULT accKeyboardShortcut([in, optional] VARIANT varID, [out, retval] BSTR *shortcut); + [hidden, propget, id(DISPID_ACC_FOCUS)] HRESULT accFocus([out, retval] VARIANT* pvarID); + [hidden, propget, id(DISPID_ACC_SELECTION)] HRESULT accSelection([out, retval] VARIANT* pvarID); + [hidden, propget, id(DISPID_ACC_DEFAULTACTION)] HRESULT accDefaultAction([in, optional] VARIANT varID, [out, retval] BSTR *action); + + [hidden, id(DISPID_ACC_SELECT)] HRESULT accSelect([in] long flagsSelect, [in, optional] VARIANT varID); + [hidden, id(DISPID_ACC_LOCATION)] HRESULT accLocation([out] long *left, [out] long *top, [out] long *width, [out] long *height, [in, optional] VARIANT varID); + [hidden, id(DISPID_ACC_NAVIGATE)] HRESULT accNavigate([in] long dir, [in, optional] VARIANT varStart, [out, retval] VARIANT *pvarEnd); + [hidden, id(DISPID_ACC_HITTEST)] HRESULT accHitTest([in] long left, [in] long top, [out, retval] VARIANT *pvarID); + [hidden, id(DISPID_ACC_DODEFAULTACTION)] HRESULT accDoDefaultAction([in, optional] VARIANT varID); + + [hidden, propput, id(DISPID_ACC_NAME)] HRESULT accName([in, optional] VARIANT varID, [in] BSTR name); + [hidden, propput, id(DISPID_ACC_VALUE)] HRESULT accValue([in, optional] VARIANT varID, [in] BSTR value); +} + +[ + object, + uuid(03022430-ABC4-11d0-BDE2-00AA001A1953), + hidden, + oleautomation, + pointer_default(unique) +] +interface IAccessibleHandler : IUnknown +{ + typedef [unique] IAccessibleHandler *LPACCESSIBLEHANDLER; + + HRESULT AccessibleObjectFromID( [in] long hwnd, [in] long lObjectID, [out] LPACCESSIBLE *pIAccessible ); +} + +[ + object, + uuid(7852b78d-1cfd-41c1-a615-9c0c85960b5f), + pointer_default(unique) +] +interface IAccIdentity : IUnknown +{ + HRESULT GetIdentityString([in] DWORD idchild, + [out, size_is(,*string_len)] BYTE **str, + [out] DWORD *string_len); +} + +[ + object, + uuid(76c0dbbb-15e0-4e7b-b61b-20eeea2001e0), + pointer_default(unique) +] +interface IAccPropServer: IUnknown +{ + HRESULT GetPropValue([in, size_is(string_len)] const BYTE *str, + [in] DWORD string_len, + [in] MSAAPROPID idProp, + [out] VARIANT *value, + [out] BOOL *has_prop); +} + +[ + object, + uuid(6e26e776-04f0-495d-80e4-3330352e3169), + pointer_default(unique) +] +interface IAccPropServices : IUnknown +{ + HRESULT SetPropValue([in, size_is(string_len)] const BYTE *str, + [in] DWORD string_len, + [in] MSAAPROPID idProp, + [in] VARIANT var); + + HRESULT SetPropServer([in, size_is(string_len)] const BYTE *str, + [in] DWORD string_len, + [in, size_is(cProps)] const MSAAPROPID *props, + [in] int cProps, + [in] IAccPropServer* pServer, + [in] AnnoScope AnnoScope); + + HRESULT ClearProps([in, size_is(string_len)] const BYTE *str, + [in] DWORD string_len, + [in, size_is(cProps)] const MSAAPROPID *props, + [in] int cProps); + + HRESULT SetHwndProp([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, + [in] MSAAPROPID idProp, [in] VARIANT var); + + HRESULT SetHwndPropStr([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, + [in] MSAAPROPID idProp, [in, string] LPWSTR str); + + HRESULT SetHwndPropServer([in] HWND hwnd, + [in] DWORD idObject, + [in] DWORD idChild, + [in, size_is(cProps)] const MSAAPROPID *props, + [in] int cProps, + [in] IAccPropServer *server, + [in] AnnoScope scope); + + HRESULT ClearHwndProps([in] HWND hwnd, + [in] DWORD idObject, + [in] DWORD idChild, + [in, size_is(cProps)] const MSAAPROPID *props, + [in] int cProps); + + HRESULT ComposeHwndIdentityString([in] HWND hwnd, + [in] DWORD idObject, + [in] DWORD idChild, + [out, size_is(,*string_len)] BYTE **str, + [out] DWORD *string_len); + + HRESULT DecomposeHwndIdentityString([in, size_is(string_len)] const BYTE *str, + [in] DWORD string_len, + [out] HWND *phwnd, + [out] DWORD *pidObject, + [out] DWORD *pidChild); + + HRESULT SetHmenuProp([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in] VARIANT var); + + HRESULT SetHmenuPropStr([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in, string] LPWSTR str); + + HRESULT SetHmenuPropServer([in] HMENU hmenu, + [in] DWORD idChild, + [in, size_is(cProps)] const MSAAPROPID *props, + [in] int cProps, + [in] IAccPropServer *server, + [in] AnnoScope scope); + + HRESULT ClearHmenuProps([in] HMENU hmenu, + [in] DWORD idChild, + [in, size_is(cProps)] const MSAAPROPID *props, + [in] int cProps); + + HRESULT ComposeHmenuIdentityString([in] HMENU hmenu, + [in] DWORD idChild, + [out, size_is(,*string_len)] BYTE **str, + [out] DWORD *string_len); + + HRESULT DecomposeHmenuIdentityString([in, size_is(string_len)] const BYTE *str, + [in] DWORD string_len, + [out] HMENU *phmenu, + [out] DWORD *pidChild); +} + +[ + uuid(1ea4dbf0-3c3b-11cf-810c-00aa00389b71), + lcid(0), + version(1.1), + hidden +] +library Accessibility +{ + importlib ("stdole2.tlb"); + interface IAccessible; + interface IAccessibleHandler; + + interface IAccIdentity; + interface IAccPropServer; + interface IAccPropServices; + + [ + uuid(b5f8350b-0548-48b1-a6ee-88bd00b4a5e7), + threading(apartment) + ] + coclass CAccPropServices + { + interface IAccPropServices; + } +}; + +cpp_quote("DEFINE_GUID(CLSID_AccPropServices, 0xb5f8350b, 0x0548, 0x48b1, 0xa6, 0xee, 0x88, 0xbd, 0x00, 0xb4, 0xa5, 0xe7);") +cpp_quote("DEFINE_GUID(IIS_IsOleaccProxy, 0x902697fa, 0x80e4, 0x4560, 0x80, 0x2a, 0xa1, 0x3f, 0x22, 0xa6, 0x47, 0x09);") + +cpp_quote("LRESULT WINAPI LresultFromObject(REFIID,WPARAM,LPUNKNOWN);") +cpp_quote("HRESULT WINAPI ObjectFromLresult(LRESULT,REFIID,WPARAM,void **);") +cpp_quote("HRESULT WINAPI WindowFromAccessibleObject(IAccessible *,HWND *);") +cpp_quote("HRESULT WINAPI AccessibleObjectFromWindow(HWND,DWORD,REFIID,void **);") +cpp_quote("HRESULT WINAPI AccessibleObjectFromEvent(HWND,DWORD,DWORD,IAccessible **,VARIANT *);") +cpp_quote("HRESULT WINAPI AccessibleObjectFromPoint(POINT,IAccessible **,VARIANT *);") +cpp_quote("HRESULT WINAPI AccessibleChildren(IAccessible *,LONG,LONG,VARIANT *,LONG *);") + +cpp_quote("void WINAPI GetOleaccVersionInfo(DWORD *,DWORD *);") +cpp_quote("HRESULT WINAPI CreateStdAccessibleObject(HWND,LONG,REFIID,void **);") +cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyA(HWND,LPCSTR,LONG,REFIID,void **);") +cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyW(HWND,LPCWSTR,LONG,REFIID,void **);") +cpp_quote("#define CreateStdAccessibleProxy WINELIB_NAME_AW(CreateStdAccessibleProxy)") + +cpp_quote("UINT WINAPI GetRoleTextA(DWORD,LPSTR,UINT);") +cpp_quote("UINT WINAPI GetRoleTextW(DWORD,LPWSTR,UINT);") +cpp_quote("#define GetRoleText WINELIB_NAME_AW(GetRoleText)") +cpp_quote("UINT WINAPI GetStateTextA(DWORD,LPSTR,UINT);") +cpp_quote("UINT WINAPI GetStateTextW(DWORD,LPWSTR,UINT);") +cpp_quote("#define GetStateText WINELIB_NAME_AW(GetStateText)") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleauto.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleauto.h new file mode 100644 index 0000000..07c46ad --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleauto.h @@ -0,0 +1,767 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_OLEAUTO_H +#define __WINE_OLEAUTO_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DEFINE_OLEGUID(IID_StdOle, 0x00020430,0,0); + +#define STDOLE_MAJORVERNUM 1 +#define STDOLE_MINORVERNUM 0 +#define STDOLE_LCID 0 + +#define STDOLE2_MAJORVERNUM 2 +#define STDOLE2_MINORVERNUM 0 +#define STDOLE2_LCID 0 + +ULONG WINAPI OaBuildVersion(void); + +/* BSTR functions */ +BSTR WINAPI SysAllocString(const OLECHAR*); +BSTR WINAPI SysAllocStringByteLen(LPCSTR,UINT); +BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT); +void WINAPI SysFreeString(BSTR); +INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*); +int WINAPI SysReAllocStringLen(BSTR*,const OLECHAR*,UINT); +UINT WINAPI SysStringByteLen(BSTR); +UINT WINAPI SysStringLen(BSTR); + +/* IErrorInfo helpers */ +HRESULT WINAPI SetErrorInfo(ULONG,IErrorInfo*); +HRESULT WINAPI GetErrorInfo(ULONG,IErrorInfo**); +HRESULT WINAPI CreateErrorInfo(ICreateErrorInfo**); + +/* SafeArray functions */ +SAFEARRAY* WINAPI SafeArrayCreate(VARTYPE,UINT,SAFEARRAYBOUND*); +SAFEARRAY* WINAPI SafeArrayCreateEx(VARTYPE,UINT,SAFEARRAYBOUND*,LPVOID); +SAFEARRAY* WINAPI SafeArrayCreateVector(VARTYPE,LONG,ULONG); +SAFEARRAY* WINAPI SafeArrayCreateVectorEx(VARTYPE,LONG,ULONG,LPVOID); + +HRESULT WINAPI SafeArrayAllocDescriptor(UINT,SAFEARRAY**); +HRESULT WINAPI SafeArrayAllocDescriptorEx(VARTYPE,UINT,SAFEARRAY**); +HRESULT WINAPI SafeArrayAllocData(SAFEARRAY*); +HRESULT WINAPI SafeArrayDestroyDescriptor(SAFEARRAY*); +HRESULT WINAPI SafeArrayPutElement(SAFEARRAY*,LONG*,void*); +HRESULT WINAPI SafeArrayGetElement(SAFEARRAY*,LONG*,void*); +HRESULT WINAPI SafeArrayLock(SAFEARRAY*); +HRESULT WINAPI SafeArrayUnlock(SAFEARRAY*); +HRESULT WINAPI SafeArrayGetUBound(SAFEARRAY*,UINT,LONG*); +HRESULT WINAPI SafeArrayGetLBound(SAFEARRAY*,UINT,LONG*); +UINT WINAPI SafeArrayGetDim(SAFEARRAY*); +UINT WINAPI SafeArrayGetElemsize(SAFEARRAY*); +HRESULT WINAPI SafeArrayGetVartype(SAFEARRAY*,VARTYPE*); +HRESULT WINAPI SafeArrayAccessData(SAFEARRAY*,void**); +HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY*); +HRESULT WINAPI SafeArrayPtrOfIndex(SAFEARRAY*,LONG*,void **); +HRESULT WINAPI SafeArrayCopyData(SAFEARRAY*,SAFEARRAY*); +HRESULT WINAPI SafeArrayDestroyData(SAFEARRAY*); +HRESULT WINAPI SafeArrayDestroy(SAFEARRAY*); +HRESULT WINAPI SafeArrayCopy(SAFEARRAY*,SAFEARRAY**); +HRESULT WINAPI SafeArrayRedim(SAFEARRAY*,SAFEARRAYBOUND*); +HRESULT WINAPI SafeArraySetRecordInfo(SAFEARRAY*,IRecordInfo*); +HRESULT WINAPI SafeArrayGetRecordInfo(SAFEARRAY*,IRecordInfo**); +HRESULT WINAPI SafeArraySetIID(SAFEARRAY*,REFGUID); +HRESULT WINAPI SafeArrayGetIID(SAFEARRAY*,GUID*); + +HRESULT WINAPI VectorFromBstr(BSTR,SAFEARRAY**); +HRESULT WINAPI BstrFromVector(SAFEARRAY*,BSTR*); + +/* Object registration helpers */ +#define ACTIVEOBJECT_STRONG 0 +#define ACTIVEOBJECT_WEAK 1 + +HRESULT WINAPI RegisterActiveObject(LPUNKNOWN,REFCLSID,DWORD,LPDWORD); +HRESULT WINAPI RevokeActiveObject(DWORD,LPVOID); +HRESULT WINAPI GetActiveObject(REFCLSID,LPVOID,LPUNKNOWN*); + +/* IRecordInfo helpers */ +HRESULT WINAPI GetRecordInfoFromTypeInfo(ITypeInfo*,IRecordInfo**); +HRESULT WINAPI GetRecordInfoFromGuids(REFGUID,ULONG,ULONG,LCID,REFGUID,IRecordInfo**); + +/* + * Variants + */ + +/* Macros for accessing the fields of the VARIANT type */ +#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION) +#define V_VT(A) ((A)->n1.n2.vt) +#define V_UNION(A,B) ((A)->n1.n2.n3.B) +#define V_RECORD(A) (V_UNION(A,brecVal).pvRecord) +#define V_RECORDINFO(A) (V_UNION(A,brecVal).pRecInfo) +#else +#define V_VT(A) ((A)->vt) +#define V_UNION(A,B) ((A)->B) +#define V_RECORD(A) ((A)->pvRecord) +#define V_RECORDINFO(A) ((A)->pRecInfo) +#endif + +#define V_ISBYREF(A) (V_VT(A) & VT_BYREF) +#define V_ISARRAY(A) (V_VT(A) & VT_ARRAY) +#define V_ISVECTOR(A) (V_VT(A) & VT_VECTOR) +#define V_NONE(A) V_I2(A) + +#define V_ARRAY(A) V_UNION(A,parray) +#define V_ARRAYREF(A) V_UNION(A,pparray) +#define V_BOOL(A) V_UNION(A,boolVal) +#define V_BOOLREF(A) V_UNION(A,pboolVal) +#define V_BSTR(A) V_UNION(A,bstrVal) +#define V_BSTRREF(A) V_UNION(A,pbstrVal) +#define V_BYREF(A) V_UNION(A,byref) +#define V_CY(A) V_UNION(A,cyVal) +#define V_CYREF(A) V_UNION(A,pcyVal) +#define V_DATE(A) V_UNION(A,date) +#define V_DATEREF(A) V_UNION(A,pdate) +#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION) +#define V_DECIMAL(A) ((A)->n1.decVal) +#else +#define V_DECIMAL(A) ((A)->decVal) +#endif +#define V_DECIMALREF(A) V_UNION(A,pdecVal) +#define V_DISPATCH(A) V_UNION(A,pdispVal) +#define V_DISPATCHREF(A) V_UNION(A,ppdispVal) +#define V_ERROR(A) V_UNION(A,scode) +#define V_ERRORREF(A) V_UNION(A,pscode) +#define V_I1(A) V_UNION(A,cVal) +#define V_I1REF(A) V_UNION(A,pcVal) +#define V_I2(A) V_UNION(A,iVal) +#define V_I2REF(A) V_UNION(A,piVal) +#define V_I4(A) V_UNION(A,lVal) +#define V_I4REF(A) V_UNION(A,plVal) +#define V_I8(A) V_UNION(A,llVal) +#define V_I8REF(A) V_UNION(A,pllVal) +#define V_INT(A) V_UNION(A,intVal) +#define V_INTREF(A) V_UNION(A,pintVal) +#ifdef _WIN64 +#define V_INT_PTR(A) V_I8(A) +#define V_INT_PTRREF(A) V_I8REF(A) +#else +#define V_INT_PTR(A) V_I4(A) +#define V_INT_PTRREF(A) V_I4REF(A) +#endif +#define V_R4(A) V_UNION(A,fltVal) +#define V_R4REF(A) V_UNION(A,pfltVal) +#define V_R8(A) V_UNION(A,dblVal) +#define V_R8REF(A) V_UNION(A,pdblVal) +#define V_UINT(A) V_UNION(A,uintVal) +#define V_UINTREF(A) V_UNION(A,puintVal) +#define V_UI1(A) V_UNION(A,bVal) +#define V_UI1REF(A) V_UNION(A,pbVal) +#define V_UI2(A) V_UNION(A,uiVal) +#define V_UI2REF(A) V_UNION(A,puiVal) +#define V_UI4(A) V_UNION(A,ulVal) +#define V_UI4REF(A) V_UNION(A,pulVal) +#define V_UI8(A) V_UNION(A,ullVal) +#define V_UI8REF(A) V_UNION(A,pullVal) +#ifdef _WIN64 +#define V_UINT_PTR(A) V_UI8(A) +#define V_UINT_PTRREF(A) V_UI8REF(A) +#else +#define V_UINT_PTR(A) V_UI4(A) +#define V_UINT_PTRREF(A) V_UI4REF(A) +#endif +#define V_UNKNOWN(A) V_UNION(A,punkVal) +#define V_UNKNOWNREF(A) V_UNION(A,ppunkVal) +#define V_VARIANTREF(A) V_UNION(A,pvarVal) + +void WINAPI VariantInit(VARIANT*); +HRESULT WINAPI VariantClear(VARIANT*); +HRESULT WINAPI VariantCopy(VARIANT*,VARIANT*); +HRESULT WINAPI VariantCopyInd(VARIANT*,VARIANT*); +HRESULT WINAPI VariantChangeType(VARIANT*,VARIANT*,USHORT,VARTYPE); +HRESULT WINAPI VariantChangeTypeEx(VARIANT*,VARIANT*,LCID,USHORT,VARTYPE); + +/* VariantChangeType/VariantChangeTypeEx flags */ +#define VARIANT_NOVALUEPROP 0x01 /* Don't get the default value property from IDispatch */ +#define VARIANT_ALPHABOOL 0x02 /* Coerce to "True"|"False" instead of "-1"|"0" */ +#define VARIANT_NOUSEROVERRIDE 0x04 /* Pass LOCALE_NOUSEROVERRIDE to low level conversions */ +#define VARIANT_CALENDAR_HIJRI 0x08 /* Use the Hijri calendar */ +#define VARIANT_LOCALBOOL 0x10 /* Like VARIANT_ALPHABOOL, but use localised text */ +#define VARIANT_CALENDAR_THAI 0x20 /* Use the Thai buddhist calendar */ +#define VARIANT_CALENDAR_GREGORIAN 0x40 /* Use the Gregorian calendar */ +#define VARIANT_USE_NLS 0x80 /* Format result using NLS calls */ + +/* + * Low level Variant coercion functions + */ + +#define VT_HARDTYPE VT_RESERVED /* Don't coerce this variant when comparing it to others */ + +/* Flags for low level coercions. LOCALE_ flags can also be passed */ +#define VAR_TIMEVALUEONLY 0x001 /* Ignore date portion of VT_DATE */ +#define VAR_DATEVALUEONLY 0x002 /* Ignore time portion of VT_DATE */ +#define VAR_VALIDDATE 0x004 +#define VAR_CALENDAR_HIJRI 0x008 /* Use the Hijri calendar */ +#define VAR_LOCALBOOL 0x010 /* VT_BOOL<->VT_BSTR: Use localised boolean text */ +#define VAR_FORMAT_NOSUBSTITUTE 0x020 /* Don't change format strings for un-coercable types */ +#define VAR_FOURDIGITYEARS 0x040 /* Always print years with 4 digits */ +#define VAR_CALENDAR_THAI 0x080 /* Use the Thai buddhist calendar */ +#define VAR_CALENDAR_GREGORIAN 0x100 /* Use the Gregorian calendar */ + +#ifndef LOCALE_USE_NLS +/* This is missing from native winnls.h, but may be added at some point */ +#define LOCALE_USE_NLS 0x10000000 +#endif + +#define VTDATEGRE_MIN -657434 /* Minimum possible Gregorian date: 1/1/100 */ +#define VTDATEGRE_MAX 2958465 /* Maximum possible Gregorian date: 31/12/9999 */ + +HRESULT WINAPI VarUI1FromI2(SHORT,BYTE*); +HRESULT WINAPI VarUI1FromI4(LONG,BYTE*); +HRESULT WINAPI VarUI1FromI8(LONG64,BYTE*); +HRESULT WINAPI VarUI1FromR4(FLOAT,BYTE*); +HRESULT WINAPI VarUI1FromR8(DOUBLE,BYTE*); +HRESULT WINAPI VarUI1FromDate(DATE,BYTE*); +HRESULT WINAPI VarUI1FromBool(VARIANT_BOOL,BYTE*); +HRESULT WINAPI VarUI1FromI1(signed char,BYTE*); +HRESULT WINAPI VarUI1FromUI2(USHORT,BYTE*); +HRESULT WINAPI VarUI1FromUI4(ULONG,BYTE*); +HRESULT WINAPI VarUI1FromUI8(ULONG64,BYTE*); +HRESULT WINAPI VarUI1FromStr(OLECHAR*,LCID,ULONG,BYTE*); +HRESULT WINAPI VarUI1FromCy(CY,BYTE*); +HRESULT WINAPI VarUI1FromDec(DECIMAL*,BYTE*); +HRESULT WINAPI VarUI1FromDisp(IDispatch*,LCID,BYTE*); + +HRESULT WINAPI VarI2FromUI1(BYTE,SHORT*); +HRESULT WINAPI VarI2FromI4(LONG,SHORT*); +HRESULT WINAPI VarI2FromI8(LONG64,SHORT*); +HRESULT WINAPI VarI2FromR4(FLOAT,SHORT*); +HRESULT WINAPI VarI2FromR8(DOUBLE,SHORT*); +HRESULT WINAPI VarI2FromDate(DATE,SHORT*); +HRESULT WINAPI VarI2FromBool(VARIANT_BOOL,SHORT*); +HRESULT WINAPI VarI2FromI1(signed char,SHORT*); +HRESULT WINAPI VarI2FromUI2(USHORT,SHORT*); +HRESULT WINAPI VarI2FromUI4(ULONG,SHORT*); +HRESULT WINAPI VarI2FromUI8(ULONG64,SHORT*); +HRESULT WINAPI VarI2FromStr(OLECHAR*,LCID,ULONG,SHORT*); +HRESULT WINAPI VarI2FromCy(CY,SHORT*); +HRESULT WINAPI VarI2FromDec(DECIMAL*,SHORT*); +HRESULT WINAPI VarI2FromDisp(IDispatch*,LCID,SHORT*); + +HRESULT WINAPI VarI4FromUI1(BYTE,LONG*); +HRESULT WINAPI VarI4FromI2(SHORT,LONG*); +HRESULT WINAPI VarI4FromI8(LONG64,LONG*); +HRESULT WINAPI VarI4FromR4(FLOAT,LONG*); +HRESULT WINAPI VarI4FromR8(DOUBLE,LONG*); +HRESULT WINAPI VarI4FromDate(DATE,LONG*); +HRESULT WINAPI VarI4FromBool(VARIANT_BOOL,LONG*); +HRESULT WINAPI VarI4FromI1(signed char,LONG*); +HRESULT WINAPI VarI4FromUI2(USHORT,LONG*); +HRESULT WINAPI VarI4FromUI4(ULONG,LONG*); +HRESULT WINAPI VarI4FromUI8(ULONG64,LONG*); +HRESULT WINAPI VarI4FromStr(OLECHAR*,LCID,ULONG,LONG*); +HRESULT WINAPI VarI4FromCy(CY,LONG*); +HRESULT WINAPI VarI4FromDec(DECIMAL*,LONG*); +HRESULT WINAPI VarI4FromDisp(IDispatch*,LCID,LONG*); + +HRESULT WINAPI VarI8FromUI1(BYTE,LONG64*); +HRESULT WINAPI VarI8FromI2(SHORT,LONG64*); +HRESULT WINAPI VarI8FromI4(LONG,LONG64*); +HRESULT WINAPI VarI8FromR4(FLOAT,LONG64*); +HRESULT WINAPI VarI8FromR8(DOUBLE,LONG64*); +HRESULT WINAPI VarI8FromDate(DATE,LONG64*); +HRESULT WINAPI VarI8FromStr(OLECHAR*,LCID,ULONG,LONG64*); +HRESULT WINAPI VarI8FromBool(VARIANT_BOOL,LONG64*); +HRESULT WINAPI VarI8FromI1(signed char,LONG64*); +HRESULT WINAPI VarI8FromUI2(USHORT,LONG64*); +HRESULT WINAPI VarI8FromUI4(ULONG,LONG64*); +HRESULT WINAPI VarI8FromUI8(ULONG64,LONG64*); +HRESULT WINAPI VarI8FromDec(DECIMAL *pdecIn,LONG64*); +HRESULT WINAPI VarI8FromInt(INT intIn,LONG64*); +HRESULT WINAPI VarI8FromCy(CY,LONG64*); +HRESULT WINAPI VarI8FromDisp(IDispatch*,LCID,LONG64*); + +HRESULT WINAPI VarR4FromUI1(BYTE,FLOAT*); +HRESULT WINAPI VarR4FromI2(SHORT,FLOAT*); +HRESULT WINAPI VarR4FromI4(LONG,FLOAT*); +HRESULT WINAPI VarR4FromI8(LONG64,FLOAT*); +HRESULT WINAPI VarR4FromR8(DOUBLE,FLOAT*); +HRESULT WINAPI VarR4FromDate(DATE,FLOAT*); +HRESULT WINAPI VarR4FromBool(VARIANT_BOOL,FLOAT*); +HRESULT WINAPI VarR4FromI1(signed char,FLOAT*); +HRESULT WINAPI VarR4FromUI2(USHORT,FLOAT*); +HRESULT WINAPI VarR4FromUI4(ULONG,FLOAT*); +HRESULT WINAPI VarR4FromUI8(ULONG64,FLOAT*); +HRESULT WINAPI VarR4FromStr(OLECHAR*,LCID,ULONG,FLOAT*); +HRESULT WINAPI VarR4FromCy(CY,FLOAT*); +HRESULT WINAPI VarR4FromDec(DECIMAL*,FLOAT*); +HRESULT WINAPI VarR4FromDisp(IDispatch*,LCID,FLOAT*); + +HRESULT WINAPI VarR8FromUI1(BYTE,double*); +HRESULT WINAPI VarR8FromI2(SHORT,double*); +HRESULT WINAPI VarR8FromI4(LONG,double*); +HRESULT WINAPI VarR8FromI8(LONG64,double*); +HRESULT WINAPI VarR8FromR4(FLOAT,double*); +HRESULT WINAPI VarR8FromDate(DATE,double*); +HRESULT WINAPI VarR8FromBool(VARIANT_BOOL,double*); +HRESULT WINAPI VarR8FromI1(signed char,double*); +HRESULT WINAPI VarR8FromUI2(USHORT,double*); +HRESULT WINAPI VarR8FromUI4(ULONG,double*); +HRESULT WINAPI VarR8FromUI8(ULONG64,double*); +HRESULT WINAPI VarR8FromStr(OLECHAR*,LCID,ULONG,double*); +HRESULT WINAPI VarR8FromCy(CY,double*); +HRESULT WINAPI VarR8FromDec(const DECIMAL*,double*); +HRESULT WINAPI VarR8FromDisp(IDispatch*,LCID,double*); + +HRESULT WINAPI VarDateFromUI1(BYTE,DATE*); +HRESULT WINAPI VarDateFromI2(SHORT,DATE*); +HRESULT WINAPI VarDateFromI4(LONG,DATE*); +HRESULT WINAPI VarDateFromI8(LONG64,DATE*); +HRESULT WINAPI VarDateFromR4(FLOAT,DATE*); +HRESULT WINAPI VarDateFromR8(DOUBLE,DATE*); +HRESULT WINAPI VarDateFromStr(OLECHAR*,LCID,ULONG,DATE*); +HRESULT WINAPI VarDateFromI1(signed char,DATE*); +HRESULT WINAPI VarDateFromUI2(USHORT,DATE*); +HRESULT WINAPI VarDateFromUI4(ULONG,DATE*); +HRESULT WINAPI VarDateFromUI8(ULONG64,DATE*); +HRESULT WINAPI VarDateFromBool(VARIANT_BOOL,DATE*); +HRESULT WINAPI VarDateFromCy(CY,DATE*); +HRESULT WINAPI VarDateFromDec(DECIMAL*,DATE*); +HRESULT WINAPI VarDateFromDisp(IDispatch*,LCID,DATE*); + +HRESULT WINAPI VarCyFromUI1(BYTE,CY*); +HRESULT WINAPI VarCyFromI2(SHORT sIn,CY*); +HRESULT WINAPI VarCyFromI4(LONG,CY*); +HRESULT WINAPI VarCyFromI8(LONG64,CY*); +HRESULT WINAPI VarCyFromR4(FLOAT,CY*); +HRESULT WINAPI VarCyFromR8(DOUBLE,CY*); +HRESULT WINAPI VarCyFromDate(DATE,CY*); +HRESULT WINAPI VarCyFromStr(OLECHAR*,LCID,ULONG,CY*); +HRESULT WINAPI VarCyFromBool(VARIANT_BOOL,CY*); +HRESULT WINAPI VarCyFromI1(signed char,CY*); +HRESULT WINAPI VarCyFromUI2(USHORT,CY*); +HRESULT WINAPI VarCyFromUI4(ULONG,CY*); +HRESULT WINAPI VarCyFromUI8(ULONG64,CY*); +HRESULT WINAPI VarCyFromDec(DECIMAL*,CY*); +HRESULT WINAPI VarCyFromDisp(IDispatch*,LCID,CY*); + +HRESULT WINAPI VarBstrFromUI1(BYTE,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromI2(SHORT,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromI4(LONG,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromI8(LONG64,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromR4(FLOAT,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromR8(DOUBLE,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromDate(DATE,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromBool(VARIANT_BOOL,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromI1(signed char,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromUI2(USHORT,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromUI8(ULONG64,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromUI4(ULONG,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromCy(CY,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromDec(DECIMAL*,LCID,ULONG,BSTR*); +HRESULT WINAPI VarBstrFromDisp(IDispatch*,LCID,ULONG,BSTR*); + +HRESULT WINAPI VarBoolFromUI1(BYTE,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromI2(SHORT,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromI4(LONG,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromI8(LONG64,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromR4(FLOAT,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromR8(DOUBLE,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromDate(DATE,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromStr(OLECHAR*,LCID,ULONG,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromI1(signed char,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromUI2(USHORT,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromUI4(ULONG,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromUI8(ULONG64,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromCy(CY,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromDec(DECIMAL*,VARIANT_BOOL*); +HRESULT WINAPI VarBoolFromDisp(IDispatch*,LCID,VARIANT_BOOL*); + +HRESULT WINAPI VarI1FromUI1(BYTE,signed char*); +HRESULT WINAPI VarI1FromI2(SHORT,signed char*); +HRESULT WINAPI VarI1FromI4(LONG,signed char*); +HRESULT WINAPI VarI1FromI8(LONG64,signed char*); +HRESULT WINAPI VarI1FromR4(FLOAT,signed char*); +HRESULT WINAPI VarI1FromR8(DOUBLE,signed char*); +HRESULT WINAPI VarI1FromDate(DATE,signed char*); +HRESULT WINAPI VarI1FromStr(OLECHAR*,LCID,ULONG,signed char*); +HRESULT WINAPI VarI1FromBool(VARIANT_BOOL,signed char*); +HRESULT WINAPI VarI1FromUI2(USHORT,signed char*); +HRESULT WINAPI VarI1FromUI4(ULONG,signed char*); +HRESULT WINAPI VarI1FromUI8(ULONG64,signed char*); +HRESULT WINAPI VarI1FromCy(CY,signed char*); +HRESULT WINAPI VarI1FromDec(DECIMAL*,signed char*); +HRESULT WINAPI VarI1FromDisp(IDispatch*,LCID,signed char*); + +HRESULT WINAPI VarUI2FromUI1(BYTE,USHORT*); +HRESULT WINAPI VarUI2FromI2(SHORT,USHORT*); +HRESULT WINAPI VarUI2FromI4(LONG,USHORT*); +HRESULT WINAPI VarUI2FromI8(LONG64,USHORT*); +HRESULT WINAPI VarUI2FromR4(FLOAT,USHORT*); +HRESULT WINAPI VarUI2FromR8(DOUBLE,USHORT*); +HRESULT WINAPI VarUI2FromDate(DATE,USHORT*); +HRESULT WINAPI VarUI2FromStr(OLECHAR*,LCID,ULONG,USHORT*); +HRESULT WINAPI VarUI2FromBool(VARIANT_BOOL,USHORT*); +HRESULT WINAPI VarUI2FromI1(signed char,USHORT*); +HRESULT WINAPI VarUI2FromUI4(ULONG,USHORT*); +HRESULT WINAPI VarUI2FromUI8(ULONG64,USHORT*); +HRESULT WINAPI VarUI2FromCy(CY,USHORT*); +HRESULT WINAPI VarUI2FromDec(DECIMAL*,USHORT*); +HRESULT WINAPI VarUI2FromDisp(IDispatch*,LCID,USHORT*); + +HRESULT WINAPI VarUI4FromStr(OLECHAR*,LCID,ULONG,ULONG*); +HRESULT WINAPI VarUI4FromUI1(BYTE,ULONG*); +HRESULT WINAPI VarUI4FromI2(SHORT,ULONG*); +HRESULT WINAPI VarUI4FromI4(LONG,ULONG*); +HRESULT WINAPI VarUI4FromI8(LONG64,ULONG*); +HRESULT WINAPI VarUI4FromR4(FLOAT,ULONG*); +HRESULT WINAPI VarUI4FromR8(DOUBLE,ULONG*); +HRESULT WINAPI VarUI4FromDate(DATE,ULONG*); +HRESULT WINAPI VarUI4FromBool(VARIANT_BOOL,ULONG*); +HRESULT WINAPI VarUI4FromI1(signed char,ULONG*); +HRESULT WINAPI VarUI4FromUI2(USHORT,ULONG*); +HRESULT WINAPI VarUI4FromUI8(ULONG64,ULONG*); +HRESULT WINAPI VarUI4FromCy(CY,ULONG*); +HRESULT WINAPI VarUI4FromDec(DECIMAL*,ULONG*); +HRESULT WINAPI VarUI4FromDisp(IDispatch*,LCID,ULONG*); + +HRESULT WINAPI VarUI8FromUI1(BYTE,ULONG64*); +HRESULT WINAPI VarUI8FromI2(SHORT,ULONG64*); +HRESULT WINAPI VarUI8FromI4(LONG,ULONG64*); +HRESULT WINAPI VarUI8FromI8(LONG64,ULONG64*); +HRESULT WINAPI VarUI8FromR4(FLOAT,ULONG64*); +HRESULT WINAPI VarUI8FromR8(DOUBLE,ULONG64*); +HRESULT WINAPI VarUI8FromDate(DATE,ULONG64*); +HRESULT WINAPI VarUI8FromStr(OLECHAR*,LCID,ULONG,ULONG64*); +HRESULT WINAPI VarUI8FromBool(VARIANT_BOOL,ULONG64*); +HRESULT WINAPI VarUI8FromI1(signed char,ULONG64*); +HRESULT WINAPI VarUI8FromUI2(USHORT,ULONG64*); +HRESULT WINAPI VarUI8FromUI4(ULONG,ULONG64*); +HRESULT WINAPI VarUI8FromDec(DECIMAL*,ULONG64*); +HRESULT WINAPI VarUI8FromInt(INT,ULONG64*); +HRESULT WINAPI VarUI8FromCy(CY,ULONG64*); +HRESULT WINAPI VarUI8FromDisp(IDispatch*,LCID,ULONG64*); + +HRESULT WINAPI VarDecFromUI1(BYTE,DECIMAL*); +HRESULT WINAPI VarDecFromI2(SHORT,DECIMAL*); +HRESULT WINAPI VarDecFromI4(LONG,DECIMAL*); +HRESULT WINAPI VarDecFromI8(LONG64,DECIMAL*); +HRESULT WINAPI VarDecFromR4(FLOAT,DECIMAL*); +HRESULT WINAPI VarDecFromR8(DOUBLE,DECIMAL*); +HRESULT WINAPI VarDecFromDate(DATE,DECIMAL*); +HRESULT WINAPI VarDecFromStr(OLECHAR*,LCID,ULONG,DECIMAL*); +HRESULT WINAPI VarDecFromBool(VARIANT_BOOL,DECIMAL*); +HRESULT WINAPI VarDecFromI1(signed char,DECIMAL*); +HRESULT WINAPI VarDecFromUI2(USHORT,DECIMAL*); +HRESULT WINAPI VarDecFromUI4(ULONG,DECIMAL*); +HRESULT WINAPI VarDecFromUI8(ULONG64,DECIMAL*); +HRESULT WINAPI VarDecFromCy(CY,DECIMAL*); +HRESULT WINAPI VarDecFromDisp(IDispatch*,LCID,DECIMAL*); + +#define VarUI4FromUI4( in,pOut ) ( *(pOut) = (in) ) +#define VarI4FromI4( in,pOut ) ( *(pOut) = (in) ) + +#define VarUI1FromInt VarUI1FromI4 +#define VarUI1FromUint VarUI1FromUI4 +#define VarI2FromInt VarI2FromI4 +#define VarI2FromUint VarI2FromUI4 +#define VarI4FromInt VarI4FromI4 +#define VarI4FromUint VarI4FromUI4 +#define VarI8FromInt VarI8FromI4 +#define VarI8FromUint VarI8FromUI4 +#define VarR4FromInt VarR4FromI4 +#define VarR4FromUint VarR4FromUI4 +#define VarR8FromInt VarR8FromI4 +#define VarR8FromUint VarR8FromUI4 +#define VarDateFromInt VarDateFromI4 +#define VarDateFromUint VarDateFromUI4 +#define VarCyFromInt VarCyFromI4 +#define VarCyFromUint VarCyFromUI4 +#define VarBstrFromInt VarBstrFromI4 +#define VarBstrFromUint VarBstrFromUI4 +#define VarBoolFromInt VarBoolFromI4 +#define VarBoolFromUint VarBoolFromUI4 +#define VarI1FromInt VarI1FromI4 +#define VarI1FromUint VarI1FromUI4 +#define VarUI2FromInt VarUI2FromI4 +#define VarUI2FromUint VarUI2FromUI4 +#define VarUI4FromInt VarUI4FromI4 +#define VarUI4FromUint VarUI4FromUI4 +#define VarUI8FromInt VarUI8FromI4 +#define VarUI8FromUint VarUI8FromUI4 +#define VarDecFromInt VarDecFromI4 +#define VarDecFromUint VarDecFromUI4 +#define VarIntFromUI1 VarI4FromUI1 +#define VarIntFromI2 VarI4FromI2 +#define VarIntFromI4 VarI4FromI4 +#define VarIntFromI8 VarI4FromI8 +#define VarIntFromR4 VarI4FromR4 +#define VarIntFromR8 VarI4FromR8 +#define VarIntFromDate VarI4FromDate +#define VarIntFromCy VarI4FromCy +#define VarIntFromStr VarI4FromStr +#define VarIntFromDisp VarI4FromDisp +#define VarIntFromBool VarI4FromBool +#define VarIntFromI1 VarI4FromI1 +#define VarIntFromUI2 VarI4FromUI2 +#define VarIntFromUI4 VarI4FromUI4 +#define VarIntFromUI8 VarI4FromUI8 +#define VarIntFromDec VarI4FromDec +#define VarIntFromUint VarI4FromUI4 +#define VarUintFromUI1 VarUI4FromUI1 +#define VarUintFromI2 VarUI4FromI2 +#define VarUintFromI4 VarUI4FromI4 +#define VarUintFromI8 VarUI4FromI8 +#define VarUintFromR4 VarUI4FromR4 +#define VarUintFromR8 VarUI4FromR8 +#define VarUintFromDate VarUI4FromDate +#define VarUintFromCy VarUI4FromCy +#define VarUintFromStr VarUI4FromStr +#define VarUintFromDisp VarUI4FromDisp +#define VarUintFromBool VarUI4FromBool +#define VarUintFromI1 VarUI4FromI1 +#define VarUintFromUI2 VarUI4FromUI2 +#define VarUintFromUI4 VarUI4FromUI4 +#define VarUintFromUI8 VarUI4FromUI8 +#define VarUintFromDec VarUI4FromDec +#define VarUintFromInt VarUI4FromI4 + +/* + * Variant Math operations + */ +#define VARCMP_LT 0 +#define VARCMP_EQ 1 +#define VARCMP_GT 2 +#define VARCMP_NULL 3 + +HRESULT WINAPI VarR4CmpR8(float,double); + +HRESULT WINAPI VarR8Pow(double,double,double*); +HRESULT WINAPI VarR8Round(double,int,double*); + +HRESULT WINAPI VarDecAbs(const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecAdd(const DECIMAL*,const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecCmp(const DECIMAL*,const DECIMAL*); +HRESULT WINAPI VarDecCmpR8(const DECIMAL*,DOUBLE); +HRESULT WINAPI VarDecDiv(const DECIMAL*,const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecFix(const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecInt(const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecMul(const DECIMAL*,const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecNeg(const DECIMAL*,DECIMAL*); +HRESULT WINAPI VarDecRound(const DECIMAL*,int,DECIMAL*); +HRESULT WINAPI VarDecSub(const DECIMAL*,const DECIMAL*,DECIMAL*); + +HRESULT WINAPI VarCyAbs(const CY,CY*); +HRESULT WINAPI VarCyAdd(const CY,const CY,CY*); +HRESULT WINAPI VarCyCmp(const CY,const CY); +HRESULT WINAPI VarCyCmpR8(const CY,DOUBLE); +HRESULT WINAPI VarCyFix(const CY,CY*); +HRESULT WINAPI VarCyInt(const CY,CY*); +HRESULT WINAPI VarCyMul(const CY,CY,CY*); +HRESULT WINAPI VarCyMulI4(const CY,LONG,CY*); +HRESULT WINAPI VarCyMulI8(const CY,LONG64,CY*); +HRESULT WINAPI VarCyNeg(const CY,CY*); +HRESULT WINAPI VarCyRound(const CY,INT,CY*); +HRESULT WINAPI VarCySub(const CY,const CY,CY*); + +HRESULT WINAPI VarAdd(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarAnd(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarCat(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarDiv(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarEqv(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarIdiv(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarImp(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarMod(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarMul(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarOr(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarPow(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarSub(LPVARIANT,LPVARIANT,LPVARIANT); +HRESULT WINAPI VarXor(LPVARIANT,LPVARIANT,LPVARIANT); + +HRESULT WINAPI VarAbs(LPVARIANT,LPVARIANT); +HRESULT WINAPI VarFix(LPVARIANT,LPVARIANT); +HRESULT WINAPI VarInt(LPVARIANT,LPVARIANT); +HRESULT WINAPI VarNeg(LPVARIANT,LPVARIANT); +HRESULT WINAPI VarNot(LPVARIANT,LPVARIANT); + +HRESULT WINAPI VarRound(LPVARIANT,int,LPVARIANT); + +HRESULT WINAPI VarCmp(LPVARIANT,LPVARIANT,LCID,ULONG); + +HRESULT WINAPI VarBstrCmp(BSTR,BSTR,LCID,ULONG); +HRESULT WINAPI VarBstrCat(BSTR,BSTR,BSTR*); + + +typedef struct { + SYSTEMTIME st; + USHORT wDayOfYear; +} UDATE; + +typedef struct +{ + INT cDig; /* Number of parsed digits */ + ULONG dwInFlags; /* Acceptable state of the input string (NUMPRS_ flags) */ + ULONG dwOutFlags; /* Parsed state of the output string (NUMPRS_ flags) */ + INT cchUsed; /* Number of characters parsed from input string */ + INT nBaseShift; /* Base of the number (but apparently unused) */ + INT nPwr10; /* Scale of the number in powers of 10 */ +} NUMPARSE; + +#define NUMPRS_LEADING_WHITE 0x00001 /* Leading whitespace */ +#define NUMPRS_TRAILING_WHITE 0x00002 /* Trailing whitespace */ +#define NUMPRS_LEADING_PLUS 0x00004 /* Leading '+' sign */ +#define NUMPRS_TRAILING_PLUS 0x00008 /* Trailing '+' sign */ +#define NUMPRS_LEADING_MINUS 0x00010 /* Leading '-' sign */ +#define NUMPRS_TRAILING_MINUS 0x00020 /* Trailing '-' sign */ +#define NUMPRS_HEX_OCT 0x00040 /* Octal number (with a leading 0) */ +#define NUMPRS_PARENS 0x00080 /* Parentheses for negative numbers */ +#define NUMPRS_DECIMAL 0x00100 /* Decimal separator */ +#define NUMPRS_THOUSANDS 0x00200 /* Thousands separator */ +#define NUMPRS_CURRENCY 0x00400 /* Currency symbol */ +#define NUMPRS_EXPONENT 0x00800 /* Exponent (e.g. "e-14") */ +#define NUMPRS_USE_ALL 0x01000 /* Parse the entire string */ +#define NUMPRS_STD 0x01FFF /* Standard flags for internal coercions (All of the above) */ +#define NUMPRS_NEG 0x10000 /* Number is negative (dwOutFlags only) */ +#define NUMPRS_INEXACT 0x20000 /* Number is represented inexactly (dwOutFlags only) */ + +#define VTBIT_I1 (1 << VT_I1) +#define VTBIT_UI1 (1 << VT_UI1) +#define VTBIT_I2 (1 << VT_I2) +#define VTBIT_UI2 (1 << VT_UI2) +#define VTBIT_I4 (1 << VT_I4) +#define VTBIT_UI4 (1 << VT_UI4) +#define VTBIT_I8 (1 << VT_I8) +#define VTBIT_UI8 (1 << VT_UI8) +#define VTBIT_R4 (1 << VT_R4) +#define VTBIT_R8 (1 << VT_R8) +#define VTBIT_CY (1 << VT_CY) +#define VTBIT_DECIMAL (1 << VT_DECIMAL) + +HRESULT WINAPI VarParseNumFromStr(OLECHAR*,LCID,ULONG,NUMPARSE*,BYTE*); +HRESULT WINAPI VarNumFromParseNum(NUMPARSE*,BYTE*,ULONG,VARIANT*); + +INT WINAPI DosDateTimeToVariantTime(USHORT,USHORT,double*); +INT WINAPI VariantTimeToDosDateTime(double,USHORT*,USHORT*); + +INT WINAPI VariantTimeToSystemTime(DOUBLE,LPSYSTEMTIME); +INT WINAPI SystemTimeToVariantTime(LPSYSTEMTIME,double*); + +HRESULT WINAPI VarDateFromUdate(UDATE*,ULONG,DATE*); +HRESULT WINAPI VarDateFromUdateEx(UDATE*,LCID,ULONG,DATE*); +HRESULT WINAPI VarUdateFromDate(DATE,ULONG,UDATE*); + +/* Variant formatting */ +HRESULT WINAPI VarWeekdayName(int,int,int,ULONG,BSTR*); +HRESULT WINAPI VarMonthName(int,int,ULONG,BSTR*); +HRESULT WINAPI GetAltMonthNames(LCID,LPOLESTR**); + +HRESULT WINAPI VarFormat(LPVARIANT,LPOLESTR,int,int,ULONG,BSTR*); +HRESULT WINAPI VarFormatCurrency(LPVARIANT,int,int,int,int,ULONG,BSTR*); +HRESULT WINAPI VarFormatDateTime(LPVARIANT,int,ULONG,BSTR*); +HRESULT WINAPI VarFormatNumber(LPVARIANT,int,int,int,int,ULONG,BSTR*); +HRESULT WINAPI VarFormatPercent(LPVARIANT,int,int,int,int,ULONG,BSTR*); + +HRESULT WINAPI VarFormatFromTokens(LPVARIANT,LPOLESTR,LPBYTE,ULONG,BSTR*,LCID); +HRESULT WINAPI VarTokenizeFormatString(LPOLESTR,LPBYTE,int,int,int,LCID,int*); + + +/* + * IDispatch types and helper functions + */ + +/* A structure describing a single parameter to a com object method. */ +typedef struct tagPARAMDATA +{ + OLECHAR *szName; /* Name of Parameter */ + VARTYPE vt; /* Type of Parameter */ +} PARAMDATA, *LPPARAMDATA; + +/* A structure describing a single method of a com object. */ +typedef struct tagMETHODDATA +{ + OLECHAR *szName; /* Name of method */ + PARAMDATA *ppdata; /* Parameters of the method */ + DISPID dispid; /* Id of the method */ + UINT iMeth; /* Vtable index of the method */ + CALLCONV cc; /* Calling convention of the method */ + UINT cArgs; /* Number of parameters in the method */ + WORD wFlags; /* Type of the method (DISPATCH_ flags) */ + VARTYPE vtReturn; /* Type of the return value */ +} METHODDATA, *LPMETHODDATA; + +/* Structure describing a single com object */ +typedef struct tagINTERFACEDATA +{ + METHODDATA *pmethdata; /* Methods of the object */ + UINT cMembers; /* Number of methods in the object */ +} INTERFACEDATA, *LPINTERFACEDATA; + +typedef enum tagREGKIND +{ + REGKIND_DEFAULT, + REGKIND_REGISTER, + REGKIND_NONE +} REGKIND; + +HRESULT WINAPI DispGetParam(DISPPARAMS*,UINT,VARTYPE,VARIANT*,UINT*); +HRESULT WINAPI DispGetIDsOfNames(ITypeInfo*,OLECHAR**,UINT,DISPID*); +HRESULT WINAPI DispInvoke(void*,ITypeInfo*,DISPID,WORD,DISPPARAMS*,VARIANT*, + EXCEPINFO*,UINT*); +HRESULT WINAPI CreateDispTypeInfo(INTERFACEDATA*,LCID,ITypeInfo**); +HRESULT WINAPI CreateStdDispatch(IUnknown*,void*,ITypeInfo*,IUnknown**); +HRESULT WINAPI DispCallFunc(void*,ULONG_PTR,CALLCONV,VARTYPE,UINT,VARTYPE*, + VARIANTARG**,VARIANT*); + + +/* + * TypeLib API + */ + +ULONG WINAPI LHashValOfNameSysA(SYSKIND,LCID,LPCSTR); +ULONG WINAPI LHashValOfNameSys(SYSKIND,LCID,LPCOLESTR); + +#define LHashValOfName(lcid,name) LHashValOfNameSys(SYS_WIN32,lcid,name) +#define WHashValOfLHashVal(hash) ((USHORT)((hash) & 0xffff)) +#define IsHashValCompatible(hash1,hash2) ((hash1) & 0xff0000 == (hash2) & 0xff0000) + +#define MEMBERID_NIL DISPID_UNKNOWN +#define ID_DEFAULTINST -2 + +#define DISPATCH_METHOD 0x1 +#define DISPATCH_PROPERTYGET 0x2 +#define DISPATCH_PROPERTYPUT 0x4 +#define DISPATCH_PROPERTYPUTREF 0x8 + +#define LOAD_TLB_AS_32BIT 0x20 +#define LOAD_TLB_AS_64BIT 0x40 +#define MASK_TO_RESET_TLB_BITS ~(LOAD_TLB_AS_32BIT|LOAD_TLB_AS_64BIT) + +HRESULT WINAPI CreateTypeLib(SYSKIND,const OLECHAR*,ICreateTypeLib**); +HRESULT WINAPI CreateTypeLib2(SYSKIND,LPCOLESTR,ICreateTypeLib2**); +HRESULT WINAPI LoadRegTypeLib(REFGUID,WORD,WORD,LCID,ITypeLib**); +HRESULT WINAPI LoadTypeLib(const OLECHAR*,ITypeLib**); +HRESULT WINAPI LoadTypeLibEx(LPCOLESTR,REGKIND,ITypeLib**); +HRESULT WINAPI QueryPathOfRegTypeLib(REFGUID,WORD,WORD,LCID,LPBSTR); +HRESULT WINAPI RegisterTypeLib(ITypeLib*,OLECHAR*,OLECHAR*); +HRESULT WINAPI UnRegisterTypeLib(REFGUID,WORD,WORD,LCID,SYSKIND); +HRESULT WINAPI RegisterTypeLibForUser(ITypeLib*,OLECHAR*,OLECHAR*); +HRESULT WINAPI UnRegisterTypeLibForUser(REFGUID,WORD,WORD,LCID,SYSKIND); + +VOID WINAPI ClearCustData(LPCUSTDATA); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /*__WINE_OLEAUTO_H*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/olectl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/olectl.h new file mode 100644 index 0000000..3ccf09c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/olectl.h @@ -0,0 +1,449 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_OLECTL_H +#define __WINE_OLECTL_H + +#if !defined(__midl) && !defined(__WIDL__) + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + + +/* + * Ole Control Interfaces + */ +DEFINE_GUID(CLSID_ConvertVBX, + 0xfb8f0822,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13); +DEFINE_GUID(CLSID_PersistPropset, + 0xfb8f0821,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13); + +DEFINE_GUID(CLSID_StdFont, + 0x0be35203,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51); +DEFINE_GUID(CLSID_StdPicture, + 0x0be35204,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51); + +DEFINE_GUID(IID_IPropertyFrame, + 0xb196b28a,0xbab4,0x101a,0xb6,0x9c,0x00,0xaa,0x00,0x34,0x1d,0x07); + +DEFINE_GUID(CLSID_CFontPropPage, + 0x0be35200,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51); +DEFINE_GUID(CLSID_CColorPropPage, + 0x0be35201,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51); +DEFINE_GUID(CLSID_CPicturePropPage, + 0x0be35202,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51); + +DEFINE_GUID(GUID_HIMETRIC, + 0x66504300,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_COLOR, + 0x66504301,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_XPOSPIXEL, + 0x66504302,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_YPOSPIXEL, + 0x66504303,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_XSIZEPIXEL, + 0x66504304,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_YSIZEPIXEL, + 0x66504305,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_XPOS, + 0x66504306,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_YPOS, + 0x66504307,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_XSIZE, + 0x66504308,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); +DEFINE_GUID(GUID_YSIZE, + 0x66504309,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB); + +#ifndef __CGUID_H__ +DEFINE_GUID(GUID_TRISTATE, + 0x6650430a,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +#endif + +DEFINE_GUID(GUID_OPTIONVALUEEXCLUSIVE, + 0x6650430b,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_CHECKVALUEEXCLUSIVE, + 0x6650430c,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_FONTNAME, + 0x6650430d,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_FONTSIZE, + 0x6650430e,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_FONTBOLD, + 0x6650430f,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_FONTITALIC, + 0x66504310,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_FONTUNDERSCORE, + 0x66504311,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_FONTSTRIKETHROUGH, + 0x66504312,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); +DEFINE_GUID(GUID_HANDLE, + 0x66504313,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab); + +typedef struct tagOCPFIPARAMS +{ + ULONG cbStructSize; + HWND hWndOwner; + int x; + int y; + LPCOLESTR lpszCaption; + ULONG cObjects; + LPUNKNOWN *lplpUnk; + ULONG cPages; + CLSID *lpPages; + LCID lcid; + DISPID dispidInitialProperty; +} OCPFIPARAMS, *LPOCPFIPARAMS; + +/* + * FONTDESC is used as an OLE encapsulation of the GDI fonts + */ +typedef struct tagFONTDESC { + UINT cbSizeofstruct; + LPOLESTR lpstrName; + CY cySize; + SHORT sWeight; + SHORT sCharset; + BOOL fItalic; + BOOL fUnderline; + BOOL fStrikethrough; +} FONTDESC, *LPFONTDESC; + +#define FONTSIZE(n) { n##0000, 0 } + +#define PICTYPE_UNINITIALIZED (-1) +#define PICTYPE_NONE 0 +#define PICTYPE_BITMAP 1 +#define PICTYPE_METAFILE 2 +#define PICTYPE_ICON 3 +#define PICTYPE_ENHMETAFILE 4 + +typedef struct tagPICTDESC { + UINT cbSizeofstruct; + UINT picType; + union { + struct { + HBITMAP hbitmap; + HPALETTE hpal; + } bmp; + struct { + HMETAFILE hmeta; + int xExt; + int yExt; + } wmf; + struct { + HICON hicon; + } icon; + struct { + HENHMETAFILE hemf; + } emf; + } DUMMYUNIONNAME; +} PICTDESC, *LPPICTDESC; + +typedef LONG OLE_XPOS_PIXELS; +typedef LONG OLE_YPOS_PIXELS; +typedef LONG OLE_XSIZE_PIXELS; +typedef LONG OLE_YSIZE_PIXELS; +typedef float OLE_XPOS_CONTAINER; +typedef float OLE_YPOS_CONTAINER; +typedef float OLE_XSIZE_CONTAINER; +typedef float OLE_YSIZE_CONTAINER; + +typedef enum +{ + triUnchecked = 0, + triChecked = 1, + triGray = 2 +} OLE_TRISTATE; + +typedef VARIANT_BOOL OLE_OPTEXCLUSIVE; +typedef VARIANT_BOOL OLE_CANCELBOOL; +typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL; + +/* flags for OleLoadPictureEx and OleLoadPictureFileEx */ +#define LP_DEFAULT 0x0 +#define LP_MONOCHROME 0x1 +#define LP_VGACOLOR 0x2 +#define LP_COLOR 0x4 + +HRESULT WINAPI DllRegisterServer(void); + +HRESULT WINAPI DllUnregisterServer(void); + +HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon); + +HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams); + +HRESULT WINAPI OleCreatePropertyFrame( + HWND hwndOwner, UINT x, UINT y, + LPCOLESTR lpszCaption, ULONG cObjects, LPUNKNOWN* ppUnk, + ULONG cPages, LPCLSID pPageClsID, LCID lcid, DWORD dwReserved, + LPVOID pvReserved ); + +HRESULT WINAPI OleLoadPicture( LPSTREAM lpstream, LONG lSize, BOOL fRunmode, + REFIID riid, LPVOID *lplpvObj ); + +HRESULT WINAPI OleLoadPictureEx( LPSTREAM lpstream, LONG lSize, BOOL fRunMode, + REFIID riid, DWORD xSizeDesired, DWORD ySizeDesired, + DWORD dwFlags, LPVOID *lplpvObj ); + +HRESULT WINAPI OleLoadPictureFile( VARIANT varFilename, IDispatch **ppdispPicture ); + +HRESULT WINAPI OleLoadPictureFileEx( VARIANT varFilename, DWORD xSizeDesired, + DWORD ySizeDesired, DWORD dwFlags, IDispatch **ppdispPicture ); + +HRESULT WINAPI OleSavePictureFile( IDispatch *pdispPicture, BSTR bstrFilename ); + +HRESULT WINAPI OleLoadPicturePath( LPOLESTR szURLorPath, LPUNKNOWN punkCaller, + DWORD dwReserved, OLE_COLOR clrReserved, REFIID riid, + LPVOID *ppvRet ); + +HRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid, + BOOL fOwn, LPVOID * lplpvObj ); + +HRESULT WINAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid, + LPVOID* lplpvObj); + +HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal, + COLORREF* lpcolorref); + +/* Reflected Window Message IDs */ +#define OCM__BASE (WM_USER+0x1c00) +#define OCM_COMMAND (OCM__BASE + WM_COMMAND) + +#define OCM_CTLCOLORBTN (OCM__BASE + WM_CTLCOLORBTN) +#define OCM_CTLCOLOREDIT (OCM__BASE + WM_CTLCOLOREDIT) +#define OCM_CTLCOLORDLG (OCM__BASE + WM_CTLCOLORDLG) +#define OCM_CTLCOLORLISTBOX (OCM__BASE + WM_CTLCOLORLISTBOX) +#define OCM_CTLCOLORMSGBOX (OCM__BASE + WM_CTLCOLORMSGBOX) +#define OCM_CTLCOLORSCROLLBAR (OCM__BASE + WM_CTLCOLORSCROLLBAR) +#define OCM_CTLCOLORSTATIC (OCM__BASE + WM_CTLCOLORSTATIC) + +#define OCM_DRAWITEM (OCM__BASE + WM_DRAWITEM) +#define OCM_MEASUREITEM (OCM__BASE + WM_MEASUREITEM) +#define OCM_DELETEITEM (OCM__BASE + WM_DELETEITEM) +#define OCM_VKEYTOITEM (OCM__BASE + WM_VKEYTOITEM) +#define OCM_CHARTOITEM (OCM__BASE + WM_CHARTOITEM) +#define OCM_COMPAREITEM (OCM__BASE + WM_COMPAREITEM) +#define OCM_HSCROLL (OCM__BASE + WM_HSCROLL) +#define OCM_VSCROLL (OCM__BASE + WM_VSCROLL) +#define OCM_PARENTNOTIFY (OCM__BASE + WM_PARENTNOTIFY) +#define OCM_NOTIFY (OCM__BASE + WM_NOTIFY) + +#define CONNECT_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200) +#define CONNECT_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F) +#define CONNECT_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200) +#define CONNECT_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F) + +#define CONNECT_E_NOCONNECTION (CONNECT_E_FIRST+0) +#define CONNECT_E_ADVISELIMIT (CONNECT_E_FIRST+1) +#define CONNECT_E_CANNOTCONNECT (CONNECT_E_FIRST+2) +#define CONNECT_E_OVERRIDDEN (CONNECT_E_FIRST+3) + +#define SELFREG_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200) +#define SELFREG_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F) +#define SELFREG_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200) +#define SELFREG_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F) +#define SELFREG_E_TYPELIB (SELFREG_E_FIRST+0) +#define SELFREG_E_CLASS (SELFREG_E_FIRST+1) + +#ifndef FACILITY_CONTROL +#define FACILITY_CONTROL 0xa +#endif +#define STD_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n) +#define CTL_E_ILLEGALFUNCTIONCALL STD_CTL_SCODE(5) +#define CTL_E_OVERFLOW STD_CTL_SCODE(6) +#define CTL_E_OUTOFMEMORY STD_CTL_SCODE(7) +#define CTL_E_DIVISIONBYZERO STD_CTL_SCODE(11) +#define CTL_E_OUTOFSTRINGSPACE STD_CTL_SCODE(14) +#define CTL_E_OUTOFSTACKSPACE STD_CTL_SCODE(28) +#define CTL_E_BADFILENAMEORNUMBER STD_CTL_SCODE(52) +#define CTL_E_FILENOTFOUND STD_CTL_SCODE(53) +#define CTL_E_BADFILEMODE STD_CTL_SCODE(54) +#define CTL_E_FILEALREADYOPEN STD_CTL_SCODE(55) +#define CTL_E_DEVICEIOERROR STD_CTL_SCODE(57) +#define CTL_E_FILEALREADYEXISTS STD_CTL_SCODE(58) +#define CTL_E_BADRECORDLENGTH STD_CTL_SCODE(59) +#define CTL_E_DISKFULL STD_CTL_SCODE(61) +#define CTL_E_BADRECORDNUMBER STD_CTL_SCODE(63) +#define CTL_E_BADFILENAME STD_CTL_SCODE(64) +#define CTL_E_TOOMANYFILES STD_CTL_SCODE(67) +#define CTL_E_DEVICEUNAVAILABLE STD_CTL_SCODE(68) +#define CTL_E_PERMISSIONDENIED STD_CTL_SCODE(70) +#define CTL_E_DISKNOTREADY STD_CTL_SCODE(71) +#define CTL_E_PATHFILEACCESSERROR STD_CTL_SCODE(75) +#define CTL_E_PATHNOTFOUND STD_CTL_SCODE(76) +#define CTL_E_INVALIDPATTERNSTRING STD_CTL_SCODE(93) +#define CTL_E_INVALIDUSEOFNULL STD_CTL_SCODE(94) +#define CTL_E_INVALIDFILEFORMAT STD_CTL_SCODE(321) +#define CTL_E_INVALIDPROPERTYVALUE STD_CTL_SCODE(380) +#define CTL_E_INVALIDPROPERTYARRAYINDEX STD_CTL_SCODE(381) +#define CTL_E_SETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(382) +#define CTL_E_SETNOTSUPPORTED STD_CTL_SCODE(383) +#define CTL_E_NEEDPROPERTYARRAYINDEX STD_CTL_SCODE(385) +#define CTL_E_SETNOTPERMITTED STD_CTL_SCODE(387) +#define CTL_E_GETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(393) +#define CTL_E_GETNOTSUPPORTED STD_CTL_SCODE(394) +#define CTL_E_PROPERTYNOTFOUND STD_CTL_SCODE(422) +#define CTL_E_INVALIDCLIPBOARDFORMAT STD_CTL_SCODE(460) +#define CTL_E_INVALIDPICTURE STD_CTL_SCODE(481) +#define CTL_E_PRINTERERROR STD_CTL_SCODE(482) +#define CTL_E_CANTSAVEFILETOTEMP STD_CTL_SCODE(735) +#define CTL_E_SEARCHTEXTNOTFOUND STD_CTL_SCODE(744) +#define CTL_E_REPLACEMENTSTOOLONG STD_CTL_SCODE(746) + +#define CUSTOM_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n) +#define CTL_E_CUSTOM_FIRST CUSTOM_CTL_SCODE(600) + +#define VT_COLOR VT_I4 +#define VT_XPOS_PIXELS VT_I4 +#define VT_YPOS_PIXELS VT_I4 +#define VT_XSIZE_PIXELS VT_I4 +#define VT_YSIZE_PIXELS VT_I4 +#define VT_XPOS_HIMETRIC VT_I4 +#define VT_YPOS_HIMETRIC VT_I4 +#define VT_XSIZE_HIMETRIC VT_I4 +#define VT_YSIZE_HIMETRIC VT_I4 +#define VT_TRISTATE VT_I2 +#define VT_OPTEXCLUSIVE VT_BOOL +#define VT_FONT VT_DISPATCH +#define VT_PICTURE VT_DISPATCH + +#define VT_STREAMED_PROPSET 73 +#define VT_STORED_PROPSET 74 +#define VT_BLOB_PROPSET 75 +#define VT_VERBOSE_ENUM 76 + +#ifndef OLEIVERB_PROPERTIES +#define OLEIVERB_PROPERTIES (__MSABI_LONG(-7)) +#endif + +#define PERPROP_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200) +#define PERPROP_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F) +#define PERPROP_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200) +#define PERPROP_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F) + +#define PERPROP_E_NOPAGEAVAILABLE (PERPROP_E_FIRST+0) + + +#ifdef __cplusplus +} +#endif + +#endif /* !__midl && !__WIDL__ */ + +/* standard dispatch ID's */ +#define DISPID_AUTOSIZE (-500) +#define DISPID_BACKCOLOR (-501) +#define DISPID_BACKSTYLE (-502) +#define DISPID_BORDERCOLOR (-503) +#define DISPID_BORDERSTYLE (-504) +#define DISPID_BORDERWIDTH (-505) +#define DISPID_DRAWMODE (-507) +#define DISPID_DRAWSTYLE (-508) +#define DISPID_DRAWWIDTH (-509) +#define DISPID_FILLCOLOR (-510) +#define DISPID_FILLSTYLE (-511) +#define DISPID_FONT (-512) +#define DISPID_FORECOLOR (-513) +#define DISPID_ENABLED (-514) +#define DISPID_HWND (-515) +#define DISPID_TABSTOP (-516) +#define DISPID_TEXT (-517) +#define DISPID_CAPTION (-518) +#define DISPID_BORDERVISIBLE (-519) +#define DISPID_APPEARANCE (-520) +#define DISPID_MOUSEPOINTER (-521) +#define DISPID_MOUSEICON (-522) +#define DISPID_PICTURE (-523) +#define DISPID_VALID (-524) +#define DISPID_READYSTATE (-525) + +#define DISPID_REFRESH (-550) +#define DISPID_DOCLICK (-551) +#define DISPID_ABOUTBOX (-552) +#define DISPID_ADDITEM (-553) +#define DISPID_CLEAR (-554) +#define DISPID_REMOVEITEM (-555) + +#define DISPID_CLICK (-600) +#define DISPID_DBLCLICK (-601) +#define DISPID_KEYDOWN (-602) +#define DISPID_KEYPRESS (-603) +#define DISPID_KEYUP (-604) +#define DISPID_MOUSEDOWN (-605) +#define DISPID_MOUSEMOVE (-606) +#define DISPID_MOUSEUP (-607) +#define DISPID_ERROREVENT (-608) +#define DISPID_READYSTATECHANGE (-609) +#define DISPID_CLICK_VALUE (-610) +#define DISPID_RIGHTTOLEFT (-611) +#define DISPID_TOPTOBOTTOM (-612) +#define DISPID_THIS (-613) + +#define DISPID_AMBIENT_BACKCOLOR (-701) +#define DISPID_AMBIENT_DISPLAYNAME (-702) +#define DISPID_AMBIENT_FONT (-703) +#define DISPID_AMBIENT_FORECOLOR (-704) +#define DISPID_AMBIENT_LOCALEID (-705) +#define DISPID_AMBIENT_MESSAGEREFLECT (-706) +#define DISPID_AMBIENT_SCALEUNITS (-707) +#define DISPID_AMBIENT_TEXTALIGN (-708) +#define DISPID_AMBIENT_USERMODE (-709) +#define DISPID_AMBIENT_UIDEAD (-710) +#define DISPID_AMBIENT_SHOWGRABHANDLES (-711) +#define DISPID_AMBIENT_SHOWHATCHING (-712) +#define DISPID_AMBIENT_DISPLAYASDEFAULT (-713) +#define DISPID_AMBIENT_SUPPORTSMNEMONICS (-714) +#define DISPID_AMBIENT_AUTOCLIP (-715) +#define DISPID_AMBIENT_APPEARANCE (-716) + +#define DISPID_AMBIENT_CODEPAGE (-725) +#define DISPID_AMBIENT_PALETTE (-726) +#define DISPID_AMBIENT_CHARSET (-727) +#define DISPID_AMBIENT_TRANSFERPRIORITY (-728) + +#define DISPID_AMBIENT_RIGHTTOLEFT (-732) +#define DISPID_AMBIENT_TOPTOBOTTOM (-733) + +#define DISPID_Name (-800) +#define DISPID_Delete (-801) +#define DISPID_Object (-802) +#define DISPID_Parent (-803) + +#define DISPID_FONT_NAME 0 +#define DISPID_FONT_SIZE 2 +#define DISPID_FONT_BOLD 3 +#define DISPID_FONT_ITALIC 4 +#define DISPID_FONT_UNDER 5 +#define DISPID_FONT_STRIKE 6 +#define DISPID_FONT_WEIGHT 7 +#define DISPID_FONT_CHARSET 8 +#define DISPID_FONT_CHANGED 9 + +/* IPicture */ +#define DISPID_PICT_HANDLE 0 +#define DISPID_PICT_HPAL 2 +#define DISPID_PICT_TYPE 3 +#define DISPID_PICT_WIDTH 4 +#define DISPID_PICT_HEIGHT 5 +#define DISPID_PICT_RENDER 6 + +#endif /* __WINE_OLECTL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledb.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledb.h new file mode 100644 index 0000000..17376d3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledb.h @@ -0,0 +1,5087 @@ +/*** Autogenerated by WIDL 2.18 from oledb.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __oledb_h__ +#define __oledb_h__ + +/* Forward declarations */ + +#ifndef __IAccessor_FWD_DEFINED__ +#define __IAccessor_FWD_DEFINED__ +typedef interface IAccessor IAccessor; +#ifdef __cplusplus +interface IAccessor; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowset_FWD_DEFINED__ +#define __IRowset_FWD_DEFINED__ +typedef interface IRowset IRowset; +#ifdef __cplusplus +interface IRowset; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowsetInfo_FWD_DEFINED__ +#define __IRowsetInfo_FWD_DEFINED__ +typedef interface IRowsetInfo IRowsetInfo; +#ifdef __cplusplus +interface IRowsetInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowsetLocate_FWD_DEFINED__ +#define __IRowsetLocate_FWD_DEFINED__ +typedef interface IRowsetLocate IRowsetLocate; +#ifdef __cplusplus +interface IRowsetLocate; +#endif /* __cplusplus */ +#endif + +#ifndef __IChapteredRowset_FWD_DEFINED__ +#define __IChapteredRowset_FWD_DEFINED__ +typedef interface IChapteredRowset IChapteredRowset; +#ifdef __cplusplus +interface IChapteredRowset; +#endif /* __cplusplus */ +#endif + +#ifndef __ICommand_FWD_DEFINED__ +#define __ICommand_FWD_DEFINED__ +typedef interface ICommand ICommand; +#ifdef __cplusplus +interface ICommand; +#endif /* __cplusplus */ +#endif + +#ifndef __ICommandText_FWD_DEFINED__ +#define __ICommandText_FWD_DEFINED__ +typedef interface ICommandText ICommandText; +#ifdef __cplusplus +interface ICommandText; +#endif /* __cplusplus */ +#endif + +#ifndef __IColumnsInfo_FWD_DEFINED__ +#define __IColumnsInfo_FWD_DEFINED__ +typedef interface IColumnsInfo IColumnsInfo; +#ifdef __cplusplus +interface IColumnsInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBCreateCommand_FWD_DEFINED__ +#define __IDBCreateCommand_FWD_DEFINED__ +typedef interface IDBCreateCommand IDBCreateCommand; +#ifdef __cplusplus +interface IDBCreateCommand; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBCreateSession_FWD_DEFINED__ +#define __IDBCreateSession_FWD_DEFINED__ +typedef interface IDBCreateSession IDBCreateSession; +#ifdef __cplusplus +interface IDBCreateSession; +#endif /* __cplusplus */ +#endif + +#ifndef __ISourcesRowset_FWD_DEFINED__ +#define __ISourcesRowset_FWD_DEFINED__ +typedef interface ISourcesRowset ISourcesRowset; +#ifdef __cplusplus +interface ISourcesRowset; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBProperties_FWD_DEFINED__ +#define __IDBProperties_FWD_DEFINED__ +typedef interface IDBProperties IDBProperties; +#ifdef __cplusplus +interface IDBProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBInitialize_FWD_DEFINED__ +#define __IDBInitialize_FWD_DEFINED__ +typedef interface IDBInitialize IDBInitialize; +#ifdef __cplusplus +interface IDBInitialize; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBDataSourceAdmin_FWD_DEFINED__ +#define __IDBDataSourceAdmin_FWD_DEFINED__ +typedef interface IDBDataSourceAdmin IDBDataSourceAdmin; +#ifdef __cplusplus +interface IDBDataSourceAdmin; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBAsynchNotify_FWD_DEFINED__ +#define __IDBAsynchNotify_FWD_DEFINED__ +typedef interface IDBAsynchNotify IDBAsynchNotify; +#ifdef __cplusplus +interface IDBAsynchNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IDBAsynchStatus_FWD_DEFINED__ +#define __IDBAsynchStatus_FWD_DEFINED__ +typedef interface IDBAsynchStatus IDBAsynchStatus; +#ifdef __cplusplus +interface IDBAsynchStatus; +#endif /* __cplusplus */ +#endif + +#ifndef __ISessionProperties_FWD_DEFINED__ +#define __ISessionProperties_FWD_DEFINED__ +typedef interface ISessionProperties ISessionProperties; +#ifdef __cplusplus +interface ISessionProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowsetNotify_FWD_DEFINED__ +#define __IRowsetNotify_FWD_DEFINED__ +typedef interface IRowsetNotify IRowsetNotify; +#ifdef __cplusplus +interface IRowsetNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IOpenRowset_FWD_DEFINED__ +#define __IOpenRowset_FWD_DEFINED__ +typedef interface IOpenRowset IOpenRowset; +#ifdef __cplusplus +interface IOpenRowset; +#endif /* __cplusplus */ +#endif + +#ifndef __IRow_FWD_DEFINED__ +#define __IRow_FWD_DEFINED__ +typedef interface IRow IRow; +#ifdef __cplusplus +interface IRow; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowChange_FWD_DEFINED__ +#define __IRowChange_FWD_DEFINED__ +typedef interface IRowChange IRowChange; +#ifdef __cplusplus +interface IRowChange; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowPosition_FWD_DEFINED__ +#define __IRowPosition_FWD_DEFINED__ +typedef interface IRowPosition IRowPosition; +#ifdef __cplusplus +interface IRowPosition; +#endif /* __cplusplus */ +#endif + +#ifndef __IRowPositionChange_FWD_DEFINED__ +#define __IRowPositionChange_FWD_DEFINED__ +typedef interface IRowPositionChange IRowPositionChange; +#ifdef __cplusplus +interface IRowPositionChange; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindResource_FWD_DEFINED__ +#define __IBindResource_FWD_DEFINED__ +typedef interface IBindResource IBindResource; +#ifdef __cplusplus +interface IBindResource; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateRow_FWD_DEFINED__ +#define __ICreateRow_FWD_DEFINED__ +typedef interface ICreateRow ICreateRow; +#ifdef __cplusplus +interface ICreateRow; +#endif /* __cplusplus */ +#endif + +#ifndef __IErrorRecords_FWD_DEFINED__ +#define __IErrorRecords_FWD_DEFINED__ +typedef interface IErrorRecords IErrorRecords; +#ifdef __cplusplus +interface IErrorRecords; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _WIN64 +#include +#else +#include +#endif + +typedef ULONG_PTR DBBYTEOFFSET; +typedef LONG_PTR DBROWOFFSET; +typedef LONG_PTR DBROWCOUNT; +typedef ULONG_PTR DBCOUNTITEM; +typedef ULONG_PTR DBLENGTH; +typedef ULONG_PTR DBORDINAL; +typedef ULONG_PTR DBBKMARK; +typedef DWORD_PTR DB_DWRESERVE; +typedef ULONG_PTR DBREFCOUNT; +typedef ULONG_PTR DB_UPARAMS; +typedef LONG_PTR DB_LPARAMS; +typedef DWORD_PTR DBHASHVALUE; +typedef DWORD DBKIND; +enum DBKINDENUM { + DBKIND_GUID_NAME = 0, + DBKIND_GUID_PROPID = 1, + DBKIND_NAME = 2, + DBKIND_PGUID_NAME = 3, + DBKIND_PGUID_PROPID = 4, + DBKIND_PROPID = 5, + DBKIND_GUID = 6 +}; +typedef struct tagDBID { + union { + GUID guid; + GUID *pguid; + } uGuid; + DBKIND eKind; + union { + LPOLESTR pwszName; + ULONG ulPropid; + } uName; +} DBID; +typedef struct tagDB_NUMERIC { + BYTE precision; + BYTE scale; + BYTE sign; + BYTE val[16]; +} DB_NUMERIC; +typedef DWORD DBPROPID; +typedef struct tagDBPROPIDSET { + DBPROPID *rgPropertyIDs; + ULONG cPropertyIDs; + GUID guidPropertySet; +} DBPROPIDSET; +typedef DWORD DBPROPOPTIONS; +enum DBPROPOPTIONENUM { + DBPROPOPTIONS_REQUIRED = 0, + DBPROPOPTIONS_SETIFCHEAP = 1, + DBPROPOPTIONS_OPTIONAL = 1 +}; +typedef DWORD DBPROPSTATUS; +typedef struct tagDBPROP { + DBPROPID dwPropertyID; + DBPROPOPTIONS dwOptions; + DBPROPSTATUS dwStatus; + DBID colid; + VARIANT vValue; +} DBPROP; +typedef struct tagDBPROPSET { + DBPROP *rgProperties; + ULONG cProperties; + GUID guidPropertySet; +} DBPROPSET; +typedef DWORD DBPROPFLAGS; +typedef struct tagDBPROPINFO { + LPOLESTR pwszDescription; + DBPROPID dwPropertyID; + DBPROPFLAGS dwFlags; + VARTYPE vtType; + VARIANT vValues; +} DBPROPINFO; +typedef DBPROPINFO *PDBPROPINFO; +typedef struct tagDBPROPINFOSET { + PDBPROPINFO rgPropertyInfos; + ULONG cPropertyInfos; + GUID guidPropertySet; +} DBPROPINFOSET; +typedef DWORD DBBINDURLFLAG; +typedef DWORD DBBINDURLSTATUS; +typedef struct tagDBIMPLICITSESSION { + IUnknown *pUnkOuter; + IID *piid; + IUnknown *pSession; +} DBIMPLICITSESSION; +typedef WORD DBTYPE; +enum DBTYPEENUM { + DBTYPE_EMPTY = 0, + DBTYPE_NULL = 1, + DBTYPE_I2 = 2, + DBTYPE_I4 = 3, + DBTYPE_R4 = 4, + DBTYPE_R8 = 5, + DBTYPE_CY = 6, + DBTYPE_DATE = 7, + DBTYPE_BSTR = 8, + DBTYPE_IDISPATCH = 9, + DBTYPE_ERROR = 10, + DBTYPE_BOOL = 11, + DBTYPE_VARIANT = 12, + DBTYPE_IUNKNOWN = 13, + DBTYPE_DECIMAL = 14, + DBTYPE_I1 = 16, + DBTYPE_UI1 = 17, + DBTYPE_UI2 = 18, + DBTYPE_UI4 = 19, + DBTYPE_I8 = 20, + DBTYPE_UI8 = 21, + DBTYPE_GUID = 72, + DBTYPE_BYTES = 128, + DBTYPE_STR = 129, + DBTYPE_WSTR = 130, + DBTYPE_NUMERIC = 131, + DBTYPE_UDT = 132, + DBTYPE_DBDATE = 133, + DBTYPE_DBTIME = 134, + DBTYPE_DBTIMESTAMP = 135, + DBTYPE_VECTOR = 0x1000, + DBTYPE_ARRAY = 0x2000, + DBTYPE_BYREF = 0x4000, + DBTYPE_RESERVED = 0x8000 +}; +enum DBTYPEENUM15 { + DBTYPE_HCHAPTER = 136 +}; +enum DBTYPEENUM20 { + DBTYPE_FILETIME = 64, + DBTYPE_PROPVARIANT = 138, + DBTYPE_VARNUMERIC = 139 +}; +typedef DWORD DBSTATUS; +enum DBSTATUSENUM { + DBSTATUS_S_OK = 0, + DBSTATUS_E_BADACCESSOR = 1, + DBSTATUS_E_CANTCONVERTVALUE = 2, + DBSTATUS_S_ISNULL = 3, + DBSTATUS_S_TRUNCATED = 4, + DBSTATUS_E_SIGNMISMATCH = 5, + DBSTATUS_E_DATAOVERFLOW = 6, + DBSTATUS_E_CANTCREATE = 7, + DBSTATUS_E_UNAVAILABLE = 8, + DBSTATUS_E_PERMISSIONDENIED = 9, + DBSTATUS_E_INTEGRITYVIOLATION = 10, + DBSTATUS_E_SCHEMAVIOLATION = 11, + DBSTATUS_E_BADSTATUS = 12, + DBSTATUS_S_DEFAULT = 13 +}; +enum DBPROPENUM { + DBPROP_ABORTPRESERVE = 0x2, + DBPROP_ACTIVESESSIONS = 0x3, + DBPROP_ASYNCTXNCOMMIT = 0x4, + DBPROP_AUTH_CACHE_AUTHINFO = 0x5, + DBPROP_AUTH_ENCRYPT_PASSWORD = 0x6, + DBPROP_AUTH_INTEGRATED = 0x7, + DBPROP_AUTH_MASK_PASSWORD = 0x8, + DBPROP_AUTH_PASSWORD = 0x9, + DBPROP_AUTH_PERSIST_ENCRYPTED = 0xa, + DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO = 0xb, + DBPROP_AUTH_USERID = 0xc, + DBPROP_BLOCKINGSTORAGEOBJECTS = 0xd, + DBPROP_BOOKMARKS = 0xe, + DBPROP_BOOKMARKSKIPPED = 0xf, + DBPROP_BOOKMARKTYPE = 0x10, + DBPROP_CACHEDEFERRED = 0x11, + DBPROP_CANFETCHBACKWARDS = 0x12, + DBPROP_CANHOLDROWS = 0x13, + DBPROP_CANSCROLLBACKWARDS = 0x15, + DBPROP_CATALOGLOCATION = 0x16, + DBPROP_CATALOGTERM = 0x17, + DBPROP_CATALOGUSAGE = 0x18, + DBPROP_COL_AUTOINCREMENT = 0x1a, + DBPROP_COL_DEFAULT = 0x1b, + DBPROP_COL_DESCRIPTION = 0x1c, + DBPROP_COL_NULLABLE = 0x1d, + DBPROP_COL_PRIMARYKEY = 0x1e, + DBPROP_COL_UNIQUE = 0x1f, + DBPROP_COLUMNDEFINITION = 0x20, + DBPROP_COLUMNRESTRICT = 0x21, + DBPROP_COMMANDTIMEOUT = 0x22, + DBPROP_COMMITPRESERVE = 0x23, + DBPROP_CONCATNULLBEHAVIOR = 0x24, + DBPROP_CURRENTCATALOG = 0x25, + DBPROP_DATASOURCENAME = 0x26, + DBPROP_DATASOURCEREADONLY = 0x27, + DBPROP_DBMSNAME = 0x28, + DBPROP_DBMSVER = 0x29, + DBPROP_DEFERRED = 0x2a, + DBPROP_DELAYSTORAGEOBJECTS = 0x2b, + DBPROP_GROUPBY = 0x2c, + DBPROP_HETEROGENEOUSTABLES = 0x2d, + DBPROP_IDENTIFIERCASE = 0x2e, + DBPROP_IMMOBILEROWS = 0x2f, + DBPROP_INDEX_AUTOUPDATE = 0x30, + DBPROP_INDEX_CLUSTERED = 0x31, + DBPROP_INDEX_FILLFACTOR = 0x32, + DBPROP_INDEX_INITIALSIZE = 0x33, + DBPROP_INDEX_NULLCOLLATION = 0x34, + DBPROP_INDEX_NULLS = 0x35, + DBPROP_INDEX_PRIMARYKEY = 0x36, + DBPROP_INDEX_SORTBOOKMARKS = 0x37, + DBPROP_INDEX_TYPE = 0x38, + DBPROP_INDEX_UNIQUE = 0x39, + DBPROP_INIT_DATASOURCE = 0x3b, + DBPROP_INIT_HWND = 0x3c, + DBPROP_INIT_IMPERSONATION_LEVEL = 0x3d, + DBPROP_INIT_LOCATION = 0x3e, + DBPROP_INIT_MODE = 0x3f, + DBPROP_INIT_PROMPT = 0x40, + DBPROP_INIT_PROTECTION_LEVEL = 0x41, + DBPROP_INIT_TIMEOUT = 0x42, + DBPROP_LITERALBOOKMARKS = 0x43, + DBPROP_LITERALIDENTITY = 0x44, + DBPROP_MAXINDEXSIZE = 0x46, + DBPROP_MAXOPENROWS = 0x47, + DBPROP_MAXPENDINGROWS = 0x48, + DBPROP_MAXROWS = 0x49, + DBPROP_MAXROWSIZE = 0x4a, + DBPROP_MAXROWSIZEINCLUDESBLOB = 0x4b, + DBPROP_MAXTABLESINSELECT = 0x4c, + DBPROP_MAYWRITECOLUMN = 0x4d, + DBPROP_MEMORYUSAGE = 0x4e, + DBPROP_MULTIPLESTORAGEOBJECTS = 0x50, + DBPROP_MULTITABLEUPDATE = 0x51, + DBPROP_NOTIFICATIONPHASES = 0x52, + DBPROP_NULLCOLLATION = 0x53, + DBPROP_OLEOBJECTS = 0x54, + DBPROP_ORDERBYCOLUMNSINSELECT = 0x55, + DBPROP_ORDEREDBOOKMARKS = 0x56, + DBPROP_OTHERINSERT = 0x57, + DBPROP_OTHERUPDATEDELETE = 0x58, + DBPROP_OWNINSERT = 0x59, + DBPROP_OWNUPDATEDELETE = 0x5a, + DBPROP_PREPAREABORTBEHAVIOR = 0x5b, + DBPROP_PREPARECOMMITBEHAVIOR = 0x5c, + DBPROP_PROCEDURETERM = 0x5d, + DBPROP_PROVIDERNAME = 0x60, + DBPROP_PROVIDEROLEDBVER = 0x61, + DBPROP_PROVIDERVER = 0x62, + DBPROP_QUICKRESTART = 0x63, + DBPROP_QUOTEDIDENTIFIERCASE = 0x64, + DBPROP_REENTRANTEVENTS = 0x65, + DBPROP_REMOVEDELETED = 0x66, + DBPROP_REPORTMULTIPLECHANGES = 0x67, + DBPROP_ROWRESTRICT = 0x68, + DBPROP_ROWTHREADMODEL = 0x69, + DBPROP_SCHEMATERM = 0x6a, + DBPROP_SCHEMAUSAGE = 0x6b, + DBPROP_SERVERCURSOR = 0x6c, + DBPROP_SQLSUPPORT = 0x6d, + DBPROP_STRUCTUREDSTORAGE = 0x6f, + DBPROP_SUBQUERIES = 0x70, + DBPROP_SUPPORTEDTXNISOLEVELS = 0x71, + DBPROP_SUPPORTEDTXNISORETAIN = 0x72, + DBPROP_TABLETERM = 0x73, + DBPROP_TRANSACTEDOBJECT = 0x74, + DBPROP_UPDATABILITY = 0x75, + DBPROP_USERNAME = 0x76, + DBPROP_STRONGIDENTITY = 0x77, + DBPROP_BYREFACCESSORS = 0x78, + DBPROP_IAccessor = 0x79, + DBPROP_IColumnsInfo = 0x7a, + DBPROP_IColumnsRowset = 0x7b, + DBPROP_IConnectionPointContainer = 0x7c, + DBPROP_IRowset = 0x7e, + DBPROP_IRowsetChange = 0x7f, + DBPROP_IRowsetIdentity = 0x80, + DBPROP_IRowsetInfo = 0x81, + DBPROP_IRowsetLocate = 0x82, + DBPROP_IRowsetResynch = 0x84, + DBPROP_IRowsetScroll = 0x85, + DBPROP_IRowsetUpdate = 0x86, + DBPROP_ISupportErrorInfo = 0x87, + DBPROP_ILockBytes = 0x88, + DBPROP_ISequentialStream = 0x89, + DBPROP_IStorage = 0x8a, + DBPROP_IStream = 0x8b, + DBPROP_TBL_TEMPTABLE = 0x8c, + DBPROP_IRowsetIndex = 0x9f, + DBPROP_INIT_PROVIDERSTRING = 0xa0, + DBPROP_SUPPORTEDTXNDDL = 0xa1, + DBPROP_INDEX_TEMPINDEX = 0xa3, + DBPROP_COL_FIXEDLENGTH = 0xa7, + DBPROP_ASYNCTXNABORT = 0xa8, + DBPROP_DSOTHREADMODEL = 0xa9, + DBPROP_NOTIFYCOLUMNSET = 0xab, + DBPROP_NOTIFYROWDELETE = 0xad, + DBPROP_NOTIFYROWFIRSTCHANGE = 0xae, + DBPROP_NOTIFYROWINSERT = 0xaf, + DBPROP_NOTIFYROWRESYNCH = 0xb1, + DBPROP_NOTIFYROWSETRELEASE = 0xb2, + DBPROP_NOTIFYROWSETFETCHPOSITIONCHANGE = 0xb3, + DBPROP_NOTIFYROWUNDOCHANGE = 0xb4, + DBPROP_NOTIFYROWUNDODELETE = 0xb5, + DBPROP_NOTIFYROWUNDOINSERT = 0xb6, + DBPROP_NOTIFYROWUPDATE = 0xb7, + DBPROP_OUTPUTPARAMETERAVAILABILITY = 0xb8, + DBPROP_PERSISTENTIDTYPE = 0xb9, + DBPROP_INIT_LCID = 0xba, + DBPROP_APPENDONLY = 0xbb, + DBPROP_CHANGEINSERTEDROWS = 0xbc, + DBPROP_RETURNPENDINGINSERTS = 0xbd, + DBPROP_SESS_AUTOCOMMITISOLEVELS = 0xbe, + DBPROP_MULTIPLEPARAMSETS = 0xbf, + DBPROP_ROWSETCONVERSIONSONCOMMAND = 0xc0, + DBPROP_IConvertType = 0xc2, + DBPROP_MULTIPLERESULTS = 0xc4, + DBPROP_NOTIFICATIONGRANULARITY = 0xc6, + DBPROP_NOTIFYROWSETCHANGED = 0xd3 +}; +enum DBPROPENUM15 { + DBPROP_FILTERCOMPAREOPS = 0xd1, + DBPROP_FINDCOMPAREOPS = 0xd2, + DBPROP_IChapteredRowset = 0xca, + DBPROP_IDBAsynchStatus = 0xcb, + DBPROP_IRowsetFind = 0xcc, + DBPROP_IRowsetView = 0xd4, + DBPROP_IViewChapter = 0xd5, + DBPROP_IViewFilter = 0xd6, + DBPROP_IViewRowset = 0xd7, + DBPROP_IViewSort = 0xd8, + DBPROP_INIT_ASYNCH = 0xc8, + DBPROP_MAXOPENCHAPTERS = 0xc7, + DBPROP_MAXORSINFILTER = 0xcd, + DBPROP_MAXSORTCOLUMNS = 0xce, + DBPROP_ROWSET_ASYNCH = 0xc9, + DBPROP_SORTONINDEX = 0xcf +}; +enum DBPROPENUM20 { + DBPROP_IMultipleResults = 0xd9, + DBPROP_DATASOURCE_TYPE = 0xfb, + MDPROP_AXES = 0xfc, + MDPROP_FLATTENING_SUPPORT = 0xfd, + MDPROP_MDX_JOINCUBES = 0xfe, + MDPROP_NAMED_LEVELS = 0xff, + MDPROP_RANGEROWSET = 0x100, + MDPROP_MDX_SLICER = 0xda, + MDPROP_MDX_CUBEQUALIFICATION = 0xdb, + MDPROP_MDX_OUTERREFERENCE = 0xdc, + MDPROP_MDX_QUERYBYPROPERTY = 0xdd, + MDPROP_MDX_CASESUPPORT = 0xde, + MDPROP_MDX_STRING_COMPOP = 0xe0, + MDPROP_MDX_DESCFLAGS = 0xe1, + MDPROP_MDX_SET_FUNCTIONS = 0xe2, + MDPROP_MDX_MEMBER_FUNCTIONS = 0xe3, + MDPROP_MDX_NUMERIC_FUNCTIONS = 0xe4, + MDPROP_MDX_FORMULAS = 0xe5, + MDPROP_AGGREGATECELL_UPDATE = 0xe6, + MDPROP_MDX_AGGREGATECELL_UPDATE = MDPROP_AGGREGATECELL_UPDATE, + MDPROP_MDX_OBJQUALIFICATION = 0x105, + MDPROP_MDX_NONMEASURE_EXPRESSIONS = 0x106, + DBPROP_ACCESSORDER = 0xe7, + DBPROP_BOOKMARKINFO = 0xe8, + DBPROP_INIT_CATALOG = 0xe9, + DBPROP_ROW_BULKOPS = 0xea, + DBPROP_PROVIDERFRIENDLYNAME = 0xeb, + DBPROP_LOCKMODE = 0xec, + DBPROP_MULTIPLECONNECTIONS = 0xed, + DBPROP_UNIQUEROWS = 0xee, + DBPROP_SERVERDATAONINSERT = 0xef, + DBPROP_STORAGEFLAGS = 0xf0, + DBPROP_CONNECTIONSTATUS = 0xf4, + DBPROP_ALTERCOLUMN = 0xf5, + DBPROP_COLUMNLCID = 0xf6, + DBPROP_RESETDATASOURCE = 0xf7, + DBPROP_INIT_OLEDBSERVICES = 0xf8, + DBPROP_IRowsetRefresh = 0xf9, + DBPROP_SERVERNAME = 0xfa, + DBPROP_IParentRowset = 0x101, + DBPROP_HIDDENCOLUMNS = 0x102, + DBPROP_PROVIDERMEMORY = 0x103, + DBPROP_CLIENTCURSOR = 0x104 +}; +enum DBPROPENUM21 { + DBPROP_TRUSTEE_USERNAME = 0xf1, + DBPROP_TRUSTEE_AUTHENTICATION = 0xf2, + DBPROP_TRUSTEE_NEWAUTHENTICATION = 0xf3, + DBPROP_IRow = 0x107, + DBPROP_IRowChange = 0x108, + DBPROP_IRowSchemaChange = 0x109, + DBPROP_IGetRow = 0x10a, + DBPROP_IScopedOperations = 0x10b, + DBPROP_IBindResource = 0x10c, + DBPROP_ICreateRow = 0x10d, + DBPROP_INIT_BINDFLAGS = 0x10e, + DBPROP_INIT_LOCKOWNER = 0x10f, + DBPROP_GENERATEURL = 0x111, + DBPROP_IDBBinderProperties = 0x112, + DBPROP_IColumnsInfo2 = 0x113, + DBPROP_IRegisterProvider = 0x114, + DBPROP_IGetSession = 0x115, + DBPROP_IGetSourceRow = 0x116, + DBPROP_IRowsetCurrentIndex = 0x117, + DBPROP_OPENROWSETSUPPORT = 0x118, + DBPROP_COL_ISLONG = 0x119 +}; +enum DBPROPENUM25 { + DBPROP_COL_SEED = 0x11a, + DBPROP_COL_INCREMENT = 0x11b, + DBPROP_INIT_GENERALTIMEOUT = 0x11c, + DBPROP_COMSERVICES = 0x11d +}; +enum DBPROPENUM26 { + DBPROP_OUTPUTSTREAM = 0x11e, + DBPROP_OUTPUTENCODING = 0x11f, + DBPROP_TABLESTATISTICS = 0x120, + DBPROP_SKIPROWCOUNTRESULTS = 0x123, + DBPROP_IRowsetBookmark = 0x124, + MDPROP_VISUALMODE = 0x125 +}; +#ifdef DBINITCONSTANTS +#ifdef __cplusplus +#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN; \ + EXTERN_C const GUID name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#else +#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + const GUID name DECLSPEC_HIDDEN; \ + const GUID name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#endif +#else +#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN +#endif +DEFINE_DBGUID(DB_NULLGUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); +DEFINE_DBGUID(DBPROPSET_DBINIT, 0xc8b522bc, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_DBGUID(DBGUID_SESSION, 0xc8b522f5, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_DBGUID(DBGUID_ROWSET, 0xc8b522f6, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_DBGUID(DBGUID_ROW, 0xc8b522f7, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +DEFINE_DBGUID(DBGUID_STREAM, 0xc8b522f9, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d); +#define DBPROMPT_PROMPT 0x01 +#define DBPROMPT_COMPLETE 0x02 +#define DBPROMPT_COMPLETEREQUIRED 0x03 +#define DBPROMPT_NOPROMPT 0x04 +#define DBPROPVAL_STGM_READ OF_READ +#define DBPROPVAL_STGM_WRITE OF_WRITE +#define DBPROPVAL_STGM_READWRITE OF_READWRITE +#define DBPROPVAL_STGM_SHARE_DENY_NONE OF_SHARE_DENY_NONE +#define DBPROPVAL_STGM_SHARE_DENY_READ OF_SHARE_DENY_READ +#define DBPROPVAL_STGM_SHARE_DENY_WRITE OF_SHARE_DENY_WRITE) +#define DBPROPVAL_STGM_SHARE_EXCLUSIVE OF_SHARE_EXCLUSIVE +#define DBPROPVAL_STGM_DIRECT 0x00010000 +#define DBPROPVAL_STGM_TRANSACTED 0x00020000 +#define DBPROPVAL_STGM_CREATE OF_CREATE +#define DBPROPVAL_STGM_CONVERT 0x00040000 +#define DBPROPVAL_STGM_FAILIFTHERE 0x00080000 +#define DBPROPVAL_STGM_PRIORITY 0x00100000 +#define DBPROPVAL_STGM_DELETEONRELEASE 0x00200000 +#define DBPROPVAL_GB_COLLATE __MSABI_LONG(0x00000010) +#define DBPROPVAL_CS_UNINITIALIZED __MSABI_LONG(0x00000000) +#define DBPROPVAL_CS_INITIALIZED __MSABI_LONG(0x00000001) +#define DBPROPVAL_CS_COMMUNICATIONFAILURE __MSABI_LONG(0x00000002) +#define DBPROPVAL_RD_RESETALL __MSABI_LONG(0xffffffff) +#define DBPROPVAL_OS_RESOURCEPOOLING __MSABI_LONG(0x00000001) +#define DBPROPVAL_OS_TXNENLISTMENT __MSABI_LONG(0x00000002) +#define DBPROPVAL_OS_CLIENTCURSOR __MSABI_LONG(0x00000004) +#define DBPROPVAL_OS_ENABLEALL __MSABI_LONG(0xffffffff) +#define DBPROPVAL_BI_CROSSROWSET __MSABI_LONG(0x00000001) +#define DB_MODE_READ 0x01 +#define DB_MODE_WRITE 0x02 +#define DB_MODE_READWRITE 0x03 +#define DB_MODE_SHARE_DENY_READ 0x04 +#define DB_MODE_SHARE_DENY_WRITE 0x08 +#define DB_MODE_SHARE_EXCLUSIVE 0x0c +#define DB_MODE_SHARE_DENY_NONE 0x10 +typedef struct tagDBCOLUMNACCESS { + void *pData; + DBID columnid; + DBLENGTH cbDataLen; + DBSTATUS dwStatus; + DBLENGTH cbMaxLen; + DB_DWRESERVE dwReserved; + DBTYPE wType; + BYTE bPrecision; + BYTE bScale; +} DBCOLUMNACCESS; +typedef DWORD DBROWSTATUS; +enum DBROWSTATUSENUM { + DBROWSTATUS_S_OK = 0, + DBROWSTATUS_S_LOCKUPGRADED = 1, + DBROWSTATUS_S_MULTIPLECHANGES = 2, + DBROWSTATUS_S_PENDINGCHANGES = 3, + DBROWSTATUS_E_CANCELED = 4, + DBROWSTATUS_E_CANTLOCKROW = 5, + DBROWSTATUS_E_CANTRELEASE = 6, + DBROWSTATUS_E_CONCURRENCYVIOLATION = 7, + DBROWSTATUS_E_DELETED = 8, + DBROWSTATUS_E_PENDINGINSERT = 9, + DBROWSTATUS_E_NEWLYINSERTED = 10, + DBROWSTATUS_E_INTEGRITYVIOLATION = 11, + DBROWSTATUS_E_INVALID = 12, + DBROWSTATUS_E_MAXPENDCHANGESEXCEEDED = 13, + DBROWSTATUS_E_OBJECTOPEN = 14, + DBROWSTATUS_E_OUTOFMEMORY = 15, + DBROWSTATUS_E_PERMISSIONDENIED = 16, + DBROWSTATUS_E_LIMITREACHED = 17, + DBROWSTATUS_E_SCHEMAVIOLATION = 18, + DBROWSTATUS_E_FAIL = 19 +}; +typedef DWORD DBPART; +enum DBPARTENUM { + DBPART_INVALID = 0, + DBPART_VALUE = 1, + DBPART_LENGTH = 2, + DBPART_STATUS = 4 +}; +typedef DWORD DBPARAMIO; +enum DBPARAMIOENUM { + DBPARAMIO_NOTPARAM = 0, + DBPARAMIO_INPUT = 1, + DBPARAMIO_OUTPUT = 2 +}; +typedef DWORD DBMEMOWNER; +enum DBMEMOWNERENUM { + DBMEMOWNER_CLIENTOWNED = 0, + DBMEMOWNER_PROVIDEROWNED = 1 +}; +typedef struct tagDBOBJECT { + DWORD dwFlags; + IID iid; +} DBOBJECT; +typedef struct tagDBBINDEXT { + BYTE *pExtension; + DBCOUNTITEM ulExtension; +} DBBINDEXT; +typedef struct tagDBBINDING { + DBORDINAL iOrdinal; + DBBYTEOFFSET obValue; + DBBYTEOFFSET obLength; + DBBYTEOFFSET obStatus; + ITypeInfo *pTypeInfo; + DBOBJECT *pObject; + DBBINDEXT *pBindExt; + DBPART dwPart; + DBMEMOWNER dwMemOwner; + DBPARAMIO eParamIO; + DBLENGTH cbMaxLen; + DWORD dwFlags; + DBTYPE wType; + BYTE bPrecision; + BYTE bScale; +} DBBINDING; +typedef ULONG_PTR HACCESSOR; +#define DB_INVALID_HACCESSOR 0x00 +typedef ULONG_PTR HROW; +#define DB_NULL_HROW 0x00 +typedef ULONG_PTR HWATCHREGION; +#define DBWATCHREGION_NULL NULL +typedef ULONG_PTR HCHAPTER; +#define DB_NULL_HCHAPTER 0x00 +typedef struct tagDBPARAMS { + void *pData; + DB_UPARAMS cParamSets; + HACCESSOR hAccessor; +} DBPARAMS; +typedef DWORD DBASYNCHOP; +enum DBASYNCHOPENUM { + DBSYNCHOP_OPEN = 0 +}; +typedef DWORD DBASYNCHPHASE; +enum DBASYNCHPHASEENUM { + DBASYNCHPHASE_INITIALIZATION = 0, + DBASYNCHPHASE_POPULATION = 1, + DBASYNCHPHASE_COMPLETE = 2, + DBASYNCHPHASE_CANCELED = 3 +}; +typedef struct tagRMTPACK { + ISequentialStream *pISeqStream; + ULONG cbData; + ULONG cBSTR; + BSTR *rgBSTR; + ULONG cVARIANT; + VARIANT *rgVARIANT; + ULONG cIDISPATCH; + IDispatch **rgIDISPATCH; + ULONG cIUNKNOWN; + IUnknown **rgIUNKNOWN; + ULONG cPROPVARIANT; + PROPVARIANT *rgPROPVARIANT; + ULONG cArray; + VARIANT *rgArray; +} RMTPACK; +typedef struct tagDBDATE { + SHORT year; + USHORT month; + USHORT day; +} DBDATE; +typedef struct tagDBTIME { + USHORT hour; + USHORT minute; + USHORT second; +} DBTIME; +typedef struct tagDBTIMESTAMP { + SHORT year; + USHORT month; + USHORT day; + USHORT hour; + USHORT minute; + USHORT second; + ULONG fraction; +} DBTIMESTAMP; +typedef DWORD DBREASON; +typedef DWORD DBEVENTPHASE; +enum DBEVENTPHASEENUM { + DBEVENTPHASE_OKTODO = 0, + DBEVENTPHASE_ABOUTTODO = 1, + DBEVENTPHASE_SYNCHAFTER = 2, + DBEVENTPHASE_FAILEDTODO = 3, + DBEVENTPHASE_DIDEVENT = 4 +}; +enum DBREASONENUM { + DBREASON_ROWSET_FETCHPOSITIONCHANGE = 0, + DBREASON_ROWSET_RELEASE = 1, + DBREASON_COLUMN_SET = 2, + DBREASON_COLUMN_RECALCULATED = 3, + DBREASON_ROW_ACTIVATE = 4, + DBREASON_ROW_RELEASE = 5, + DBREASON_ROW_DELETE = 6, + DBREASON_ROW_FIRSTCHANCE = 7, + DBREASON_ROW_INSERT = 8, + DBREASON_ROW_RESYNCH = 9, + DBREASON_ROW_UNDOCHANGE = 10, + DBREASON_ROW_UNDOINSERT = 11, + DBREASON_ROW_UNDODELETE = 12, + DBREASON_ROW_UPDATE = 13, + DBREASON_ROWSET_CHANGED = 14 +}; +enum DBREASONENUM15 { + DBREASON_ROWPOSITION_CHANGED = DBREASON_ROWSET_CHANGED + 1, + DBREASON_ROWPOSITION_CHAPTERCHANGED = 16, + DBREASON_ROWPOSITION_CLEARED = 17, + DBREASON_ROW_ASYNCHINSERT = 18 +}; +typedef DWORD DBCOLUMNFLAGS; +enum DBCOLUMNFLAGSENUM { + DBCOLUMNFLAGS_ISBOOKMARK = 0x1, + DBCOLUMNFLAGS_MAYDEFER = 0x2, + DBCOLUMNFLAGS_WRITE = 0x4, + DBCOLUMNFLAGS_WRITEUNKNOWN = 0x8, + DBCOLUMNFLAGS_ISFIXEDLENGTH = 0x10, + DBCOLUMNFLAGS_ISNULLABLE = 0x20, + DBCOLUMNFLAGS_MAYBENULL = 0x40, + DBCOLUMNFLAGS_ISLONG = 0x80, + DBCOLUMNFLAGS_ISROWID = 0x100, + DBCOLUMNFLAGS_ISROWVER = 0x200, + DBCOLUMNFLAGS_CACHEDEFERRED = 0x1000 +}; +typedef struct tagDBCOLUMNINFO { + LPOLESTR pwszName; + ITypeInfo *pTypeInfo; + DBORDINAL iOrdinal; + DBCOLUMNFLAGS dwFlags; + DBLENGTH ulColumnSize; + DBTYPE wType; + BYTE bPrecision; + BYTE bScale; + DBID columnid; +} DBCOLUMNINFO; +/***************************************************************************** + * IAccessor interface + */ +#ifndef __IAccessor_INTERFACE_DEFINED__ +#define __IAccessor_INTERFACE_DEFINED__ + +typedef DWORD DBACCESSORFLAGS; +typedef DWORD DBBINDSTATUS; +DEFINE_GUID(IID_IAccessor, 0x0c733a8c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a8c-2a1c-11ce-ade5-00aa0044773d") +IAccessor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddRefAccessor( + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAccessor( + DBACCESSORFLAGS dwAccessorFlags, + DBCOUNTITEM cBindings, + const DBBINDING rgBindings[], + DBLENGTH cbRowSize, + HACCESSOR *phAccessor, + DBBINDSTATUS rgStatus[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBindings( + HACCESSOR hAccessor, + DBACCESSORFLAGS *pdwAccessorFlags, + DBCOUNTITEM *pcBindings, + DBBINDING **prgBindings) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseAccessor( + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccessor, 0x0c733a8c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IAccessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccessor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccessor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccessor *This); + + /*** IAccessor methods ***/ + HRESULT (STDMETHODCALLTYPE *AddRefAccessor)( + IAccessor *This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount); + + HRESULT (STDMETHODCALLTYPE *CreateAccessor)( + IAccessor *This, + DBACCESSORFLAGS dwAccessorFlags, + DBCOUNTITEM cBindings, + const DBBINDING rgBindings[], + DBLENGTH cbRowSize, + HACCESSOR *phAccessor, + DBBINDSTATUS rgStatus[]); + + HRESULT (STDMETHODCALLTYPE *GetBindings)( + IAccessor *This, + HACCESSOR hAccessor, + DBACCESSORFLAGS *pdwAccessorFlags, + DBCOUNTITEM *pcBindings, + DBBINDING **prgBindings); + + HRESULT (STDMETHODCALLTYPE *ReleaseAccessor)( + IAccessor *This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount); + + END_INTERFACE +} IAccessorVtbl; + +interface IAccessor { + CONST_VTBL IAccessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccessor_Release(This) (This)->lpVtbl->Release(This) +/*** IAccessor methods ***/ +#define IAccessor_AddRefAccessor(This,hAccessor,pcRefCount) (This)->lpVtbl->AddRefAccessor(This,hAccessor,pcRefCount) +#define IAccessor_CreateAccessor(This,dwAccessorFlags,cBindings,rgBindings,cbRowSize,phAccessor,rgStatus) (This)->lpVtbl->CreateAccessor(This,dwAccessorFlags,cBindings,rgBindings,cbRowSize,phAccessor,rgStatus) +#define IAccessor_GetBindings(This,hAccessor,pdwAccessorFlags,pcBindings,prgBindings) (This)->lpVtbl->GetBindings(This,hAccessor,pdwAccessorFlags,pcBindings,prgBindings) +#define IAccessor_ReleaseAccessor(This,hAccessor,pcRefCount) (This)->lpVtbl->ReleaseAccessor(This,hAccessor,pcRefCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccessor_QueryInterface(IAccessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccessor_AddRef(IAccessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccessor_Release(IAccessor* This) { + return This->lpVtbl->Release(This); +} +/*** IAccessor methods ***/ +static FORCEINLINE HRESULT IAccessor_AddRefAccessor(IAccessor* This,HACCESSOR hAccessor,DBREFCOUNT *pcRefCount) { + return This->lpVtbl->AddRefAccessor(This,hAccessor,pcRefCount); +} +static FORCEINLINE HRESULT IAccessor_CreateAccessor(IAccessor* This,DBACCESSORFLAGS dwAccessorFlags,DBCOUNTITEM cBindings,const DBBINDING rgBindings[],DBLENGTH cbRowSize,HACCESSOR *phAccessor,DBBINDSTATUS rgStatus[]) { + return This->lpVtbl->CreateAccessor(This,dwAccessorFlags,cBindings,rgBindings,cbRowSize,phAccessor,rgStatus); +} +static FORCEINLINE HRESULT IAccessor_GetBindings(IAccessor* This,HACCESSOR hAccessor,DBACCESSORFLAGS *pdwAccessorFlags,DBCOUNTITEM *pcBindings,DBBINDING **prgBindings) { + return This->lpVtbl->GetBindings(This,hAccessor,pdwAccessorFlags,pcBindings,prgBindings); +} +static FORCEINLINE HRESULT IAccessor_ReleaseAccessor(IAccessor* This,HACCESSOR hAccessor,DBREFCOUNT *pcRefCount) { + return This->lpVtbl->ReleaseAccessor(This,hAccessor,pcRefCount); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IAccessor_RemoteAddRefAccessor_Proxy( + IAccessor* This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IAccessor_RemoteAddRefAccessor_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAccessor_RemoteCreateAccessor_Proxy( + IAccessor* This, + DBACCESSORFLAGS dwAccessorFlags, + DBCOUNTITEM cBindings, + DBBINDING *rgBindings, + DBLENGTH cbRowSize, + HACCESSOR *phAccessor, + DBBINDSTATUS *rgStatus, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IAccessor_RemoteCreateAccessor_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAccessor_RemoteGetBindings_Proxy( + IAccessor* This, + HACCESSOR hAccessor, + DBACCESSORFLAGS *pdwAccessorFlags, + DBCOUNTITEM *pcBindings, + DBBINDING **prgBindings, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IAccessor_RemoteGetBindings_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAccessor_RemoteReleaseAccessor_Proxy( + IAccessor* This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IAccessor_RemoteReleaseAccessor_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IAccessor_AddRefAccessor_Proxy( + IAccessor* This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount); +HRESULT __RPC_STUB IAccessor_AddRefAccessor_Stub( + IAccessor* This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IAccessor_CreateAccessor_Proxy( + IAccessor* This, + DBACCESSORFLAGS dwAccessorFlags, + DBCOUNTITEM cBindings, + const DBBINDING rgBindings[], + DBLENGTH cbRowSize, + HACCESSOR *phAccessor, + DBBINDSTATUS rgStatus[]); +HRESULT __RPC_STUB IAccessor_CreateAccessor_Stub( + IAccessor* This, + DBACCESSORFLAGS dwAccessorFlags, + DBCOUNTITEM cBindings, + DBBINDING *rgBindings, + DBLENGTH cbRowSize, + HACCESSOR *phAccessor, + DBBINDSTATUS *rgStatus, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IAccessor_GetBindings_Proxy( + IAccessor* This, + HACCESSOR hAccessor, + DBACCESSORFLAGS *pdwAccessorFlags, + DBCOUNTITEM *pcBindings, + DBBINDING **prgBindings); +HRESULT __RPC_STUB IAccessor_GetBindings_Stub( + IAccessor* This, + HACCESSOR hAccessor, + DBACCESSORFLAGS *pdwAccessorFlags, + DBCOUNTITEM *pcBindings, + DBBINDING **prgBindings, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IAccessor_ReleaseAccessor_Proxy( + IAccessor* This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount); +HRESULT __RPC_STUB IAccessor_ReleaseAccessor_Stub( + IAccessor* This, + HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IAccessor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowset interface + */ +#ifndef __IRowset_INTERFACE_DEFINED__ +#define __IRowset_INTERFACE_DEFINED__ + +typedef DWORD DBROWOPTIONS; +DEFINE_GUID(IID_IRowset, 0x0c733a7c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a7c-2a1c-11ce-ade5-00aa0044773d") +IRowset : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddRefRows( + DBCOUNTITEM cRows, + const HROW rghRows[], + DBREFCOUNT rgRefCounts[], + DBROWSTATUS rgRowStatus[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetData( + HROW hRow, + HACCESSOR hAccessor, + void *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextRows( + HCHAPTER hReserved, + DBROWOFFSET lRowsOffset, + DBROWCOUNT cRows, + DBCOUNTITEM *pcRowObtained, + HROW **prghRows) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseRows( + DBCOUNTITEM cRows, + const HROW rghRows[], + DBROWOPTIONS rgRowOptions[], + DBREFCOUNT rgRefCounts[], + DBROWSTATUS rgRowStatus[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestartPosition( + HCHAPTER hReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowset, 0x0c733a7c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowsetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowset *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowset *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowset *This); + + /*** IRowset methods ***/ + HRESULT (STDMETHODCALLTYPE *AddRefRows)( + IRowset *This, + DBCOUNTITEM cRows, + const HROW rghRows[], + DBREFCOUNT rgRefCounts[], + DBROWSTATUS rgRowStatus[]); + + HRESULT (STDMETHODCALLTYPE *GetData)( + IRowset *This, + HROW hRow, + HACCESSOR hAccessor, + void *pData); + + HRESULT (STDMETHODCALLTYPE *GetNextRows)( + IRowset *This, + HCHAPTER hReserved, + DBROWOFFSET lRowsOffset, + DBROWCOUNT cRows, + DBCOUNTITEM *pcRowObtained, + HROW **prghRows); + + HRESULT (STDMETHODCALLTYPE *ReleaseRows)( + IRowset *This, + DBCOUNTITEM cRows, + const HROW rghRows[], + DBROWOPTIONS rgRowOptions[], + DBREFCOUNT rgRefCounts[], + DBROWSTATUS rgRowStatus[]); + + HRESULT (STDMETHODCALLTYPE *RestartPosition)( + IRowset *This, + HCHAPTER hReserved); + + END_INTERFACE +} IRowsetVtbl; + +interface IRowset { + CONST_VTBL IRowsetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowset_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowset_Release(This) (This)->lpVtbl->Release(This) +/*** IRowset methods ***/ +#define IRowset_AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus) (This)->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus) +#define IRowset_GetData(This,hRow,hAccessor,pData) (This)->lpVtbl->GetData(This,hRow,hAccessor,pData) +#define IRowset_GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows) (This)->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows) +#define IRowset_ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus) (This)->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus) +#define IRowset_RestartPosition(This,hReserved) (This)->lpVtbl->RestartPosition(This,hReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowset_QueryInterface(IRowset* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowset_AddRef(IRowset* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowset_Release(IRowset* This) { + return This->lpVtbl->Release(This); +} +/*** IRowset methods ***/ +static FORCEINLINE HRESULT IRowset_AddRefRows(IRowset* This,DBCOUNTITEM cRows,const HROW rghRows[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) { + return This->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus); +} +static FORCEINLINE HRESULT IRowset_GetData(IRowset* This,HROW hRow,HACCESSOR hAccessor,void *pData) { + return This->lpVtbl->GetData(This,hRow,hAccessor,pData); +} +static FORCEINLINE HRESULT IRowset_GetNextRows(IRowset* This,HCHAPTER hReserved,DBROWOFFSET lRowsOffset,DBROWCOUNT cRows,DBCOUNTITEM *pcRowObtained,HROW **prghRows) { + return This->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows); +} +static FORCEINLINE HRESULT IRowset_ReleaseRows(IRowset* This,DBCOUNTITEM cRows,const HROW rghRows[],DBROWOPTIONS rgRowOptions[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) { + return This->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus); +} +static FORCEINLINE HRESULT IRowset_RestartPosition(IRowset* This,HCHAPTER hReserved) { + return This->lpVtbl->RestartPosition(This,hReserved); +} +#endif +#endif + +#endif + + +#endif /* __IRowset_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowsetInfo interface + */ +#ifndef __IRowsetInfo_INTERFACE_DEFINED__ +#define __IRowsetInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRowsetInfo, 0x0c733a55, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a55-2a1c-11ce-ade5-00aa0044773d") +IRowsetInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProperties( + const ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReferencedRowset( + DBORDINAL iOrdinal, + REFIID riid, + IUnknown **ppReferencedRowset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSpecification( + REFIID riid, + IUnknown **ppSpecification) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowsetInfo, 0x0c733a55, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowsetInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowsetInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowsetInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowsetInfo *This); + + /*** IRowsetInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IRowsetInfo *This, + const ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets); + + HRESULT (STDMETHODCALLTYPE *GetReferencedRowset)( + IRowsetInfo *This, + DBORDINAL iOrdinal, + REFIID riid, + IUnknown **ppReferencedRowset); + + HRESULT (STDMETHODCALLTYPE *GetSpecification)( + IRowsetInfo *This, + REFIID riid, + IUnknown **ppSpecification); + + END_INTERFACE +} IRowsetInfoVtbl; + +interface IRowsetInfo { + CONST_VTBL IRowsetInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowsetInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowsetInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowsetInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IRowsetInfo methods ***/ +#define IRowsetInfo_GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) (This)->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) +#define IRowsetInfo_GetReferencedRowset(This,iOrdinal,riid,ppReferencedRowset) (This)->lpVtbl->GetReferencedRowset(This,iOrdinal,riid,ppReferencedRowset) +#define IRowsetInfo_GetSpecification(This,riid,ppSpecification) (This)->lpVtbl->GetSpecification(This,riid,ppSpecification) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowsetInfo_QueryInterface(IRowsetInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowsetInfo_AddRef(IRowsetInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowsetInfo_Release(IRowsetInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IRowsetInfo methods ***/ +static FORCEINLINE HRESULT IRowsetInfo_GetProperties(IRowsetInfo* This,const ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertySets,DBPROPSET **prgPropertySets) { + return This->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets); +} +static FORCEINLINE HRESULT IRowsetInfo_GetReferencedRowset(IRowsetInfo* This,DBORDINAL iOrdinal,REFIID riid,IUnknown **ppReferencedRowset) { + return This->lpVtbl->GetReferencedRowset(This,iOrdinal,riid,ppReferencedRowset); +} +static FORCEINLINE HRESULT IRowsetInfo_GetSpecification(IRowsetInfo* This,REFIID riid,IUnknown **ppSpecification) { + return This->lpVtbl->GetSpecification(This,riid,ppSpecification); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IRowsetInfo_RemoteGetProperties_Proxy( + IRowsetInfo* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IRowsetInfo_RemoteGetProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowsetInfo_RemoteGetReferencedRowset_Proxy( + IRowsetInfo* This, + DBORDINAL iOrdinal, + REFIID riid, + IUnknown **ppReferencedRowset, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IRowsetInfo_RemoteGetReferencedRowset_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowsetInfo_RemoteGetSpecification_Proxy( + IRowsetInfo* This, + REFIID riid, + IUnknown **ppSpecification, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IRowsetInfo_RemoteGetSpecification_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IRowsetInfo_GetProperties_Proxy( + IRowsetInfo* This, + const ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets); +HRESULT __RPC_STUB IRowsetInfo_GetProperties_Stub( + IRowsetInfo* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IRowsetInfo_GetReferencedRowset_Proxy( + IRowsetInfo* This, + DBORDINAL iOrdinal, + REFIID riid, + IUnknown **ppReferencedRowset); +HRESULT __RPC_STUB IRowsetInfo_GetReferencedRowset_Stub( + IRowsetInfo* This, + DBORDINAL iOrdinal, + REFIID riid, + IUnknown **ppReferencedRowset, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IRowsetInfo_GetSpecification_Proxy( + IRowsetInfo* This, + REFIID riid, + IUnknown **ppSpecification); +HRESULT __RPC_STUB IRowsetInfo_GetSpecification_Stub( + IRowsetInfo* This, + REFIID riid, + IUnknown **ppSpecification, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IRowsetInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowsetLocate interface + */ +#ifndef __IRowsetLocate_INTERFACE_DEFINED__ +#define __IRowsetLocate_INTERFACE_DEFINED__ + +typedef DWORD DBCOMPARE; +enum DBCOMPAREENUM { + DBCOMPARE_LT = 0, + DBCOMPARE_EQ = 1, + DBCOMPARE_GT = 2, + DBCOMPARE_NE = 3, + DBCOMPARE_NOTCOMPARABLE = 4 +}; +DEFINE_GUID(IID_IRowsetLocate, 0x0c733a7d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a7d-2a1c-11ce-ade5-00aa0044773d") +IRowsetLocate : public IRowset +{ + virtual HRESULT STDMETHODCALLTYPE Compare( + HCHAPTER hReserved, + DBBKMARK cbBookmark1, + const BYTE *pBookmark1, + DBBKMARK cbBookmark2, + const BYTE *pBookmark2, + DBCOMPARE *pComparison) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRowsAt( + HWATCHREGION hReserved1, + HCHAPTER hReserved2, + DBBKMARK cbBookmark, + const BYTE *pBookmark, + DBROWOFFSET lRowsOffset, + DBROWCOUNT cRows, + DBCOUNTITEM *pcRowsObtained, + HROW **prghRows) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRowsByBookmark( + HCHAPTER hReserved, + DBCOUNTITEM cRows, + const DBBKMARK rgcbBookmarks[], + const BYTE * rgpBookmarks[], + HROW rghRows[], + DBROWSTATUS rgRowStatus[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE Hash( + HCHAPTER hReserved, + DBBKMARK cBookmarks, + const DBBKMARK rgcbBookmarks[], + const BYTE * rgpBookmarks[], + DBHASHVALUE rgHashedValues[], + DBROWSTATUS rgBookmarkStatus[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowsetLocate, 0x0c733a7d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowsetLocateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowsetLocate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowsetLocate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowsetLocate *This); + + /*** IRowset methods ***/ + HRESULT (STDMETHODCALLTYPE *AddRefRows)( + IRowsetLocate *This, + DBCOUNTITEM cRows, + const HROW rghRows[], + DBREFCOUNT rgRefCounts[], + DBROWSTATUS rgRowStatus[]); + + HRESULT (STDMETHODCALLTYPE *GetData)( + IRowsetLocate *This, + HROW hRow, + HACCESSOR hAccessor, + void *pData); + + HRESULT (STDMETHODCALLTYPE *GetNextRows)( + IRowsetLocate *This, + HCHAPTER hReserved, + DBROWOFFSET lRowsOffset, + DBROWCOUNT cRows, + DBCOUNTITEM *pcRowObtained, + HROW **prghRows); + + HRESULT (STDMETHODCALLTYPE *ReleaseRows)( + IRowsetLocate *This, + DBCOUNTITEM cRows, + const HROW rghRows[], + DBROWOPTIONS rgRowOptions[], + DBREFCOUNT rgRefCounts[], + DBROWSTATUS rgRowStatus[]); + + HRESULT (STDMETHODCALLTYPE *RestartPosition)( + IRowsetLocate *This, + HCHAPTER hReserved); + + /*** IRowsetLocate methods ***/ + HRESULT (STDMETHODCALLTYPE *Compare)( + IRowsetLocate *This, + HCHAPTER hReserved, + DBBKMARK cbBookmark1, + const BYTE *pBookmark1, + DBBKMARK cbBookmark2, + const BYTE *pBookmark2, + DBCOMPARE *pComparison); + + HRESULT (STDMETHODCALLTYPE *GetRowsAt)( + IRowsetLocate *This, + HWATCHREGION hReserved1, + HCHAPTER hReserved2, + DBBKMARK cbBookmark, + const BYTE *pBookmark, + DBROWOFFSET lRowsOffset, + DBROWCOUNT cRows, + DBCOUNTITEM *pcRowsObtained, + HROW **prghRows); + + HRESULT (STDMETHODCALLTYPE *GetRowsByBookmark)( + IRowsetLocate *This, + HCHAPTER hReserved, + DBCOUNTITEM cRows, + const DBBKMARK rgcbBookmarks[], + const BYTE * rgpBookmarks[], + HROW rghRows[], + DBROWSTATUS rgRowStatus[]); + + HRESULT (STDMETHODCALLTYPE *Hash)( + IRowsetLocate *This, + HCHAPTER hReserved, + DBBKMARK cBookmarks, + const DBBKMARK rgcbBookmarks[], + const BYTE * rgpBookmarks[], + DBHASHVALUE rgHashedValues[], + DBROWSTATUS rgBookmarkStatus[]); + + END_INTERFACE +} IRowsetLocateVtbl; + +interface IRowsetLocate { + CONST_VTBL IRowsetLocateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowsetLocate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowsetLocate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowsetLocate_Release(This) (This)->lpVtbl->Release(This) +/*** IRowset methods ***/ +#define IRowsetLocate_AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus) (This)->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus) +#define IRowsetLocate_GetData(This,hRow,hAccessor,pData) (This)->lpVtbl->GetData(This,hRow,hAccessor,pData) +#define IRowsetLocate_GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows) (This)->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows) +#define IRowsetLocate_ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus) (This)->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus) +#define IRowsetLocate_RestartPosition(This,hReserved) (This)->lpVtbl->RestartPosition(This,hReserved) +/*** IRowsetLocate methods ***/ +#define IRowsetLocate_Compare(This,hReserved,cbBookmark1,pBookmark1,cbBookmark2,pBookmark2,pComparison) (This)->lpVtbl->Compare(This,hReserved,cbBookmark1,pBookmark1,cbBookmark2,pBookmark2,pComparison) +#define IRowsetLocate_GetRowsAt(This,hReserved1,hReserved2,cbBookmark,pBookmark,lRowsOffset,cRows,pcRowsObtained,prghRows) (This)->lpVtbl->GetRowsAt(This,hReserved1,hReserved2,cbBookmark,pBookmark,lRowsOffset,cRows,pcRowsObtained,prghRows) +#define IRowsetLocate_GetRowsByBookmark(This,hReserved,cRows,rgcbBookmarks,rgpBookmarks,rghRows,rgRowStatus) (This)->lpVtbl->GetRowsByBookmark(This,hReserved,cRows,rgcbBookmarks,rgpBookmarks,rghRows,rgRowStatus) +#define IRowsetLocate_Hash(This,hReserved,cBookmarks,rgcbBookmarks,rgpBookmarks,rgHashedValues,rgBookmarkStatus) (This)->lpVtbl->Hash(This,hReserved,cBookmarks,rgcbBookmarks,rgpBookmarks,rgHashedValues,rgBookmarkStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowsetLocate_QueryInterface(IRowsetLocate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowsetLocate_AddRef(IRowsetLocate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowsetLocate_Release(IRowsetLocate* This) { + return This->lpVtbl->Release(This); +} +/*** IRowset methods ***/ +static FORCEINLINE HRESULT IRowsetLocate_AddRefRows(IRowsetLocate* This,DBCOUNTITEM cRows,const HROW rghRows[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) { + return This->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus); +} +static FORCEINLINE HRESULT IRowsetLocate_GetData(IRowsetLocate* This,HROW hRow,HACCESSOR hAccessor,void *pData) { + return This->lpVtbl->GetData(This,hRow,hAccessor,pData); +} +static FORCEINLINE HRESULT IRowsetLocate_GetNextRows(IRowsetLocate* This,HCHAPTER hReserved,DBROWOFFSET lRowsOffset,DBROWCOUNT cRows,DBCOUNTITEM *pcRowObtained,HROW **prghRows) { + return This->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows); +} +static FORCEINLINE HRESULT IRowsetLocate_ReleaseRows(IRowsetLocate* This,DBCOUNTITEM cRows,const HROW rghRows[],DBROWOPTIONS rgRowOptions[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) { + return This->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus); +} +static FORCEINLINE HRESULT IRowsetLocate_RestartPosition(IRowsetLocate* This,HCHAPTER hReserved) { + return This->lpVtbl->RestartPosition(This,hReserved); +} +/*** IRowsetLocate methods ***/ +static FORCEINLINE HRESULT IRowsetLocate_Compare(IRowsetLocate* This,HCHAPTER hReserved,DBBKMARK cbBookmark1,const BYTE *pBookmark1,DBBKMARK cbBookmark2,const BYTE *pBookmark2,DBCOMPARE *pComparison) { + return This->lpVtbl->Compare(This,hReserved,cbBookmark1,pBookmark1,cbBookmark2,pBookmark2,pComparison); +} +static FORCEINLINE HRESULT IRowsetLocate_GetRowsAt(IRowsetLocate* This,HWATCHREGION hReserved1,HCHAPTER hReserved2,DBBKMARK cbBookmark,const BYTE *pBookmark,DBROWOFFSET lRowsOffset,DBROWCOUNT cRows,DBCOUNTITEM *pcRowsObtained,HROW **prghRows) { + return This->lpVtbl->GetRowsAt(This,hReserved1,hReserved2,cbBookmark,pBookmark,lRowsOffset,cRows,pcRowsObtained,prghRows); +} +static FORCEINLINE HRESULT IRowsetLocate_GetRowsByBookmark(IRowsetLocate* This,HCHAPTER hReserved,DBCOUNTITEM cRows,const DBBKMARK rgcbBookmarks[],const BYTE * rgpBookmarks[],HROW rghRows[],DBROWSTATUS rgRowStatus[]) { + return This->lpVtbl->GetRowsByBookmark(This,hReserved,cRows,rgcbBookmarks,rgpBookmarks,rghRows,rgRowStatus); +} +static FORCEINLINE HRESULT IRowsetLocate_Hash(IRowsetLocate* This,HCHAPTER hReserved,DBBKMARK cBookmarks,const DBBKMARK rgcbBookmarks[],const BYTE * rgpBookmarks[],DBHASHVALUE rgHashedValues[],DBROWSTATUS rgBookmarkStatus[]) { + return This->lpVtbl->Hash(This,hReserved,cBookmarks,rgcbBookmarks,rgpBookmarks,rgHashedValues,rgBookmarkStatus); +} +#endif +#endif + +#endif + + +#endif /* __IRowsetLocate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IChapteredRowset interface + */ +#ifndef __IChapteredRowset_INTERFACE_DEFINED__ +#define __IChapteredRowset_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IChapteredRowset, 0x0c733a93, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a93-2a1c-11ce-ade5-00aa0044773d") +IChapteredRowset : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddRefChapter( + HCHAPTER chapter, + DBREFCOUNT *refcount) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseChapter( + HCHAPTER chapter, + DBREFCOUNT *refcount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IChapteredRowset, 0x0c733a93, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IChapteredRowsetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IChapteredRowset *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IChapteredRowset *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IChapteredRowset *This); + + /*** IChapteredRowset methods ***/ + HRESULT (STDMETHODCALLTYPE *AddRefChapter)( + IChapteredRowset *This, + HCHAPTER chapter, + DBREFCOUNT *refcount); + + HRESULT (STDMETHODCALLTYPE *ReleaseChapter)( + IChapteredRowset *This, + HCHAPTER chapter, + DBREFCOUNT *refcount); + + END_INTERFACE +} IChapteredRowsetVtbl; + +interface IChapteredRowset { + CONST_VTBL IChapteredRowsetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IChapteredRowset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IChapteredRowset_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IChapteredRowset_Release(This) (This)->lpVtbl->Release(This) +/*** IChapteredRowset methods ***/ +#define IChapteredRowset_AddRefChapter(This,chapter,refcount) (This)->lpVtbl->AddRefChapter(This,chapter,refcount) +#define IChapteredRowset_ReleaseChapter(This,chapter,refcount) (This)->lpVtbl->ReleaseChapter(This,chapter,refcount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IChapteredRowset_QueryInterface(IChapteredRowset* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IChapteredRowset_AddRef(IChapteredRowset* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IChapteredRowset_Release(IChapteredRowset* This) { + return This->lpVtbl->Release(This); +} +/*** IChapteredRowset methods ***/ +static FORCEINLINE HRESULT IChapteredRowset_AddRefChapter(IChapteredRowset* This,HCHAPTER chapter,DBREFCOUNT *refcount) { + return This->lpVtbl->AddRefChapter(This,chapter,refcount); +} +static FORCEINLINE HRESULT IChapteredRowset_ReleaseChapter(IChapteredRowset* This,HCHAPTER chapter,DBREFCOUNT *refcount) { + return This->lpVtbl->ReleaseChapter(This,chapter,refcount); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IChapteredRowset_RemoteAddRefChapter_Proxy( + IChapteredRowset* This, + HCHAPTER chapter, + DBREFCOUNT *refcount, + IErrorInfo **errorinfo); +void __RPC_STUB IChapteredRowset_RemoteAddRefChapter_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IChapteredRowset_RemoteReleaseChapter_Proxy( + IChapteredRowset* This, + HCHAPTER chapter, + DBREFCOUNT *refcount, + IErrorInfo **errorinfo); +void __RPC_STUB IChapteredRowset_RemoteReleaseChapter_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IChapteredRowset_AddRefChapter_Proxy( + IChapteredRowset* This, + HCHAPTER chapter, + DBREFCOUNT *refcount); +HRESULT __RPC_STUB IChapteredRowset_AddRefChapter_Stub( + IChapteredRowset* This, + HCHAPTER chapter, + DBREFCOUNT *refcount, + IErrorInfo **errorinfo); +HRESULT CALLBACK IChapteredRowset_ReleaseChapter_Proxy( + IChapteredRowset* This, + HCHAPTER chapter, + DBREFCOUNT *refcount); +HRESULT __RPC_STUB IChapteredRowset_ReleaseChapter_Stub( + IChapteredRowset* This, + HCHAPTER chapter, + DBREFCOUNT *refcount, + IErrorInfo **errorinfo); + +#endif /* __IChapteredRowset_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICommand interface + */ +#ifndef __ICommand_INTERFACE_DEFINED__ +#define __ICommand_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICommand, 0x0c733a63, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a63-2a1c-11ce-ade5-00aa0044773d") +ICommand : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Execute( + IUnknown *pUnkOuter, + REFIID riid, + DBPARAMS *pParams, + DBROWCOUNT *pcRowsAffected, + IUnknown **ppRowset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDBSession( + REFIID riid, + IUnknown **ppSession) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICommand, 0x0c733a63, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ICommandVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICommand *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICommand *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICommand *This); + + /*** ICommand methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + ICommand *This); + + HRESULT (STDMETHODCALLTYPE *Execute)( + ICommand *This, + IUnknown *pUnkOuter, + REFIID riid, + DBPARAMS *pParams, + DBROWCOUNT *pcRowsAffected, + IUnknown **ppRowset); + + HRESULT (STDMETHODCALLTYPE *GetDBSession)( + ICommand *This, + REFIID riid, + IUnknown **ppSession); + + END_INTERFACE +} ICommandVtbl; + +interface ICommand { + CONST_VTBL ICommandVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICommand_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICommand_Release(This) (This)->lpVtbl->Release(This) +/*** ICommand methods ***/ +#define ICommand_Cancel(This) (This)->lpVtbl->Cancel(This) +#define ICommand_Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset) (This)->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset) +#define ICommand_GetDBSession(This,riid,ppSession) (This)->lpVtbl->GetDBSession(This,riid,ppSession) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICommand_QueryInterface(ICommand* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICommand_AddRef(ICommand* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICommand_Release(ICommand* This) { + return This->lpVtbl->Release(This); +} +/*** ICommand methods ***/ +static FORCEINLINE HRESULT ICommand_Cancel(ICommand* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT ICommand_Execute(ICommand* This,IUnknown *pUnkOuter,REFIID riid,DBPARAMS *pParams,DBROWCOUNT *pcRowsAffected,IUnknown **ppRowset) { + return This->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset); +} +static FORCEINLINE HRESULT ICommand_GetDBSession(ICommand* This,REFIID riid,IUnknown **ppSession) { + return This->lpVtbl->GetDBSession(This,riid,ppSession); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ICommand_RemoteCancel_Proxy( + ICommand* This, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ICommand_RemoteCancel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ICommand_RemoteExecute_Proxy( + ICommand* This, + IUnknown *pUnkOuter, + REFIID riid, + HACCESSOR hAccessor, + DB_UPARAMS cParamSets, + GUID *pGuid, + ULONG ulGuidOffset, + RMTPACK *pInputParams, + RMTPACK *pOutputParams, + DBCOUNTITEM cBindings, + DBBINDING *rgBindings, + DBSTATUS *rgStatus, + DBROWCOUNT *pcRowsAffected, + IUnknown **ppRowset); +void __RPC_STUB ICommand_RemoteExecute_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ICommand_RemoteGetDBSession_Proxy( + ICommand* This, + REFIID riid, + IUnknown **ppSession, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ICommand_RemoteGetDBSession_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ICommand_Cancel_Proxy( + ICommand* This); +HRESULT __RPC_STUB ICommand_Cancel_Stub( + ICommand* This, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK ICommand_Execute_Proxy( + ICommand* This, + IUnknown *pUnkOuter, + REFIID riid, + DBPARAMS *pParams, + DBROWCOUNT *pcRowsAffected, + IUnknown **ppRowset); +HRESULT __RPC_STUB ICommand_Execute_Stub( + ICommand* This, + IUnknown *pUnkOuter, + REFIID riid, + HACCESSOR hAccessor, + DB_UPARAMS cParamSets, + GUID *pGuid, + ULONG ulGuidOffset, + RMTPACK *pInputParams, + RMTPACK *pOutputParams, + DBCOUNTITEM cBindings, + DBBINDING *rgBindings, + DBSTATUS *rgStatus, + DBROWCOUNT *pcRowsAffected, + IUnknown **ppRowset); +HRESULT CALLBACK ICommand_GetDBSession_Proxy( + ICommand* This, + REFIID riid, + IUnknown **ppSession); +HRESULT __RPC_STUB ICommand_GetDBSession_Stub( + ICommand* This, + REFIID riid, + IUnknown **ppSession, + IErrorInfo **ppErrorInfoRem); + +#endif /* __ICommand_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICommandText interface + */ +#ifndef __ICommandText_INTERFACE_DEFINED__ +#define __ICommandText_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICommandText, 0x0c733a27, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a27-2a1c-11ce-ade5-00aa0044773d") +ICommandText : public ICommand +{ + virtual HRESULT STDMETHODCALLTYPE GetCommandText( + GUID *pguidDialect, + LPOLESTR *ppwszCommand) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCommandText( + REFGUID rguidDialect, + LPCOLESTR pwszCommand) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICommandText, 0x0c733a27, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ICommandTextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICommandText *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICommandText *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICommandText *This); + + /*** ICommand methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + ICommandText *This); + + HRESULT (STDMETHODCALLTYPE *Execute)( + ICommandText *This, + IUnknown *pUnkOuter, + REFIID riid, + DBPARAMS *pParams, + DBROWCOUNT *pcRowsAffected, + IUnknown **ppRowset); + + HRESULT (STDMETHODCALLTYPE *GetDBSession)( + ICommandText *This, + REFIID riid, + IUnknown **ppSession); + + /*** ICommandText methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCommandText)( + ICommandText *This, + GUID *pguidDialect, + LPOLESTR *ppwszCommand); + + HRESULT (STDMETHODCALLTYPE *SetCommandText)( + ICommandText *This, + REFGUID rguidDialect, + LPCOLESTR pwszCommand); + + END_INTERFACE +} ICommandTextVtbl; + +interface ICommandText { + CONST_VTBL ICommandTextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICommandText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICommandText_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICommandText_Release(This) (This)->lpVtbl->Release(This) +/*** ICommand methods ***/ +#define ICommandText_Cancel(This) (This)->lpVtbl->Cancel(This) +#define ICommandText_Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset) (This)->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset) +#define ICommandText_GetDBSession(This,riid,ppSession) (This)->lpVtbl->GetDBSession(This,riid,ppSession) +/*** ICommandText methods ***/ +#define ICommandText_GetCommandText(This,pguidDialect,ppwszCommand) (This)->lpVtbl->GetCommandText(This,pguidDialect,ppwszCommand) +#define ICommandText_SetCommandText(This,rguidDialect,pwszCommand) (This)->lpVtbl->SetCommandText(This,rguidDialect,pwszCommand) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICommandText_QueryInterface(ICommandText* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICommandText_AddRef(ICommandText* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICommandText_Release(ICommandText* This) { + return This->lpVtbl->Release(This); +} +/*** ICommand methods ***/ +static FORCEINLINE HRESULT ICommandText_Cancel(ICommandText* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT ICommandText_Execute(ICommandText* This,IUnknown *pUnkOuter,REFIID riid,DBPARAMS *pParams,DBROWCOUNT *pcRowsAffected,IUnknown **ppRowset) { + return This->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset); +} +static FORCEINLINE HRESULT ICommandText_GetDBSession(ICommandText* This,REFIID riid,IUnknown **ppSession) { + return This->lpVtbl->GetDBSession(This,riid,ppSession); +} +/*** ICommandText methods ***/ +static FORCEINLINE HRESULT ICommandText_GetCommandText(ICommandText* This,GUID *pguidDialect,LPOLESTR *ppwszCommand) { + return This->lpVtbl->GetCommandText(This,pguidDialect,ppwszCommand); +} +static FORCEINLINE HRESULT ICommandText_SetCommandText(ICommandText* This,REFGUID rguidDialect,LPCOLESTR pwszCommand) { + return This->lpVtbl->SetCommandText(This,rguidDialect,pwszCommand); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ICommandText_RemoteGetCommandText_Proxy( + ICommandText* This, + GUID *pguidDialect, + LPOLESTR *ppwszCommand, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ICommandText_RemoteGetCommandText_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ICommandText_RemoteSetCommandText_Proxy( + ICommandText* This, + REFGUID rguidDialect, + LPCOLESTR pwszCommand, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ICommandText_RemoteSetCommandText_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ICommandText_GetCommandText_Proxy( + ICommandText* This, + GUID *pguidDialect, + LPOLESTR *ppwszCommand); +HRESULT __RPC_STUB ICommandText_GetCommandText_Stub( + ICommandText* This, + GUID *pguidDialect, + LPOLESTR *ppwszCommand, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK ICommandText_SetCommandText_Proxy( + ICommandText* This, + REFGUID rguidDialect, + LPCOLESTR pwszCommand); +HRESULT __RPC_STUB ICommandText_SetCommandText_Stub( + ICommandText* This, + REFGUID rguidDialect, + LPCOLESTR pwszCommand, + IErrorInfo **ppErrorInfoRem); + +#endif /* __ICommandText_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IColumnsInfo interface + */ +#ifndef __IColumnsInfo_INTERFACE_DEFINED__ +#define __IColumnsInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IColumnsInfo, 0x0c733a11, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a11-2a1c-11ce-ade5-00aa0044773d") +IColumnsInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetColumnInfo( + DBORDINAL *columns, + DBCOLUMNINFO **colinfo, + OLECHAR **stringsbuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapColumnIDs( + DBORDINAL column_ids, + const DBID *dbids, + DBORDINAL *columns) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IColumnsInfo, 0x0c733a11, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IColumnsInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IColumnsInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IColumnsInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IColumnsInfo *This); + + /*** IColumnsInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetColumnInfo)( + IColumnsInfo *This, + DBORDINAL *columns, + DBCOLUMNINFO **colinfo, + OLECHAR **stringsbuffer); + + HRESULT (STDMETHODCALLTYPE *MapColumnIDs)( + IColumnsInfo *This, + DBORDINAL column_ids, + const DBID *dbids, + DBORDINAL *columns); + + END_INTERFACE +} IColumnsInfoVtbl; + +interface IColumnsInfo { + CONST_VTBL IColumnsInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IColumnsInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IColumnsInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IColumnsInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IColumnsInfo methods ***/ +#define IColumnsInfo_GetColumnInfo(This,columns,colinfo,stringsbuffer) (This)->lpVtbl->GetColumnInfo(This,columns,colinfo,stringsbuffer) +#define IColumnsInfo_MapColumnIDs(This,column_ids,dbids,columns) (This)->lpVtbl->MapColumnIDs(This,column_ids,dbids,columns) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IColumnsInfo_QueryInterface(IColumnsInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IColumnsInfo_AddRef(IColumnsInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IColumnsInfo_Release(IColumnsInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IColumnsInfo methods ***/ +static FORCEINLINE HRESULT IColumnsInfo_GetColumnInfo(IColumnsInfo* This,DBORDINAL *columns,DBCOLUMNINFO **colinfo,OLECHAR **stringsbuffer) { + return This->lpVtbl->GetColumnInfo(This,columns,colinfo,stringsbuffer); +} +static FORCEINLINE HRESULT IColumnsInfo_MapColumnIDs(IColumnsInfo* This,DBORDINAL column_ids,const DBID *dbids,DBORDINAL *columns) { + return This->lpVtbl->MapColumnIDs(This,column_ids,dbids,columns); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IColumnsInfo_RemoteGetColumnInfo_Proxy( + IColumnsInfo* This, + DBORDINAL *columns, + DBCOLUMNINFO **colinfo, + DBBYTEOFFSET **name_offsets, + DBBYTEOFFSET **columnid_offsets, + DBLENGTH *string_len, + OLECHAR **stringsbuffer, + IErrorInfo **errorinfo); +void __RPC_STUB IColumnsInfo_RemoteGetColumnInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IColumnsInfo_RemoteMapColumnIDs_Proxy( + IColumnsInfo* This, + DBORDINAL column_ids, + const DBID *dbids, + DBORDINAL *columns, + IErrorInfo **errorinfo); +void __RPC_STUB IColumnsInfo_RemoteMapColumnIDs_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IColumnsInfo_GetColumnInfo_Proxy( + IColumnsInfo* This, + DBORDINAL *columns, + DBCOLUMNINFO **colinfo, + OLECHAR **stringsbuffer); +HRESULT __RPC_STUB IColumnsInfo_GetColumnInfo_Stub( + IColumnsInfo* This, + DBORDINAL *columns, + DBCOLUMNINFO **colinfo, + DBBYTEOFFSET **name_offsets, + DBBYTEOFFSET **columnid_offsets, + DBLENGTH *string_len, + OLECHAR **stringsbuffer, + IErrorInfo **errorinfo); +HRESULT CALLBACK IColumnsInfo_MapColumnIDs_Proxy( + IColumnsInfo* This, + DBORDINAL column_ids, + const DBID *dbids, + DBORDINAL *columns); +HRESULT __RPC_STUB IColumnsInfo_MapColumnIDs_Stub( + IColumnsInfo* This, + DBORDINAL column_ids, + const DBID *dbids, + DBORDINAL *columns, + IErrorInfo **errorinfo); + +#endif /* __IColumnsInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBCreateCommand interface + */ +#ifndef __IDBCreateCommand_INTERFACE_DEFINED__ +#define __IDBCreateCommand_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBCreateCommand, 0x0c733a1d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a1d-2a1c-11ce-ade5-00aa0044773d") +IDBCreateCommand : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateCommand( + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppCommand) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBCreateCommand, 0x0c733a1d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBCreateCommandVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBCreateCommand *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBCreateCommand *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBCreateCommand *This); + + /*** IDBCreateCommand methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateCommand)( + IDBCreateCommand *This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppCommand); + + END_INTERFACE +} IDBCreateCommandVtbl; + +interface IDBCreateCommand { + CONST_VTBL IDBCreateCommandVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBCreateCommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBCreateCommand_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBCreateCommand_Release(This) (This)->lpVtbl->Release(This) +/*** IDBCreateCommand methods ***/ +#define IDBCreateCommand_CreateCommand(This,pUnkOuter,riid,ppCommand) (This)->lpVtbl->CreateCommand(This,pUnkOuter,riid,ppCommand) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBCreateCommand_QueryInterface(IDBCreateCommand* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBCreateCommand_AddRef(IDBCreateCommand* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBCreateCommand_Release(IDBCreateCommand* This) { + return This->lpVtbl->Release(This); +} +/*** IDBCreateCommand methods ***/ +static FORCEINLINE HRESULT IDBCreateCommand_CreateCommand(IDBCreateCommand* This,IUnknown *pUnkOuter,REFIID riid,IUnknown **ppCommand) { + return This->lpVtbl->CreateCommand(This,pUnkOuter,riid,ppCommand); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBCreateCommand_RemoteCreateCommand_Proxy( + IDBCreateCommand* This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppCommand, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBCreateCommand_RemoteCreateCommand_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBCreateCommand_CreateCommand_Proxy( + IDBCreateCommand* This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppCommand); +HRESULT __RPC_STUB IDBCreateCommand_CreateCommand_Stub( + IDBCreateCommand* This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppCommand, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IDBCreateCommand_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBCreateSession interface + */ +#ifndef __IDBCreateSession_INTERFACE_DEFINED__ +#define __IDBCreateSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBCreateSession, 0x0c733a5d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a5d-2a1c-11ce-ade5-00aa0044773d") +IDBCreateSession : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateSession( + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBCreateSession, 0x0c733a5d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBCreateSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBCreateSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBCreateSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBCreateSession *This); + + /*** IDBCreateSession methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateSession)( + IDBCreateSession *This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession); + + END_INTERFACE +} IDBCreateSessionVtbl; + +interface IDBCreateSession { + CONST_VTBL IDBCreateSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBCreateSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBCreateSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBCreateSession_Release(This) (This)->lpVtbl->Release(This) +/*** IDBCreateSession methods ***/ +#define IDBCreateSession_CreateSession(This,pUnkOuter,riid,ppDBSession) (This)->lpVtbl->CreateSession(This,pUnkOuter,riid,ppDBSession) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBCreateSession_QueryInterface(IDBCreateSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBCreateSession_AddRef(IDBCreateSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBCreateSession_Release(IDBCreateSession* This) { + return This->lpVtbl->Release(This); +} +/*** IDBCreateSession methods ***/ +static FORCEINLINE HRESULT IDBCreateSession_CreateSession(IDBCreateSession* This,IUnknown *pUnkOuter,REFIID riid,IUnknown **ppDBSession) { + return This->lpVtbl->CreateSession(This,pUnkOuter,riid,ppDBSession); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBCreateSession_RemoteCreateSession_Proxy( + IDBCreateSession* This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBCreateSession_RemoteCreateSession_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBCreateSession_CreateSession_Proxy( + IDBCreateSession* This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession); +HRESULT __RPC_STUB IDBCreateSession_CreateSession_Stub( + IDBCreateSession* This, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IDBCreateSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISourcesRowset interface + */ +#ifndef __ISourcesRowset_INTERFACE_DEFINED__ +#define __ISourcesRowset_INTERFACE_DEFINED__ + +typedef DWORD DBSOURCETYPE; +enum DBSOURCETYPEENUM { + DBSOURCETYPE_DATASOURCE = 1, + DBSOURCETYPE_ENUMERATOR = 2 +}; +enum DBSOURCETYPEENUM20 { + DBSOURCETYPE_DATASOURCE_TDP = 1, + DBSOURCETYPE_DATASOURCE_MDP = 3 +}; +enum DBSOURCETYPEENUM25 { + DBSOURCETYPE_BINDER = 4 +}; +DEFINE_GUID(IID_ISourcesRowset, 0x0c733a1e, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a1e-2a1c-11ce-ade5-00aa0044773d") +ISourcesRowset : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSourcesRowset( + IUnknown *pUnkOuter, + REFIID riid, + ULONG cPropertySets, + DBPROPSET rgProperties[], + IUnknown **ppSourcesRowset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISourcesRowset, 0x0c733a1e, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ISourcesRowsetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISourcesRowset *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISourcesRowset *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISourcesRowset *This); + + /*** ISourcesRowset methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSourcesRowset)( + ISourcesRowset *This, + IUnknown *pUnkOuter, + REFIID riid, + ULONG cPropertySets, + DBPROPSET rgProperties[], + IUnknown **ppSourcesRowset); + + END_INTERFACE +} ISourcesRowsetVtbl; + +interface ISourcesRowset { + CONST_VTBL ISourcesRowsetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISourcesRowset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISourcesRowset_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISourcesRowset_Release(This) (This)->lpVtbl->Release(This) +/*** ISourcesRowset methods ***/ +#define ISourcesRowset_GetSourcesRowset(This,pUnkOuter,riid,cPropertySets,rgProperties,ppSourcesRowset) (This)->lpVtbl->GetSourcesRowset(This,pUnkOuter,riid,cPropertySets,rgProperties,ppSourcesRowset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISourcesRowset_QueryInterface(ISourcesRowset* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISourcesRowset_AddRef(ISourcesRowset* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISourcesRowset_Release(ISourcesRowset* This) { + return This->lpVtbl->Release(This); +} +/*** ISourcesRowset methods ***/ +static FORCEINLINE HRESULT ISourcesRowset_GetSourcesRowset(ISourcesRowset* This,IUnknown *pUnkOuter,REFIID riid,ULONG cPropertySets,DBPROPSET rgProperties[],IUnknown **ppSourcesRowset) { + return This->lpVtbl->GetSourcesRowset(This,pUnkOuter,riid,cPropertySets,rgProperties,ppSourcesRowset); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ISourcesRowset_RemoteGetSourcesRowset_Proxy( + ISourcesRowset* This, + IUnknown *pUnkOuter, + REFIID riid, + ULONG cPropertySets, + DBPROPSET *rgProperties, + IUnknown **ppSourcesRowset, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ISourcesRowset_RemoteGetSourcesRowset_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ISourcesRowset_GetSourcesRowset_Proxy( + ISourcesRowset* This, + IUnknown *pUnkOuter, + REFIID riid, + ULONG cPropertySets, + DBPROPSET rgProperties[], + IUnknown **ppSourcesRowset); +HRESULT __RPC_STUB ISourcesRowset_GetSourcesRowset_Stub( + ISourcesRowset* This, + IUnknown *pUnkOuter, + REFIID riid, + ULONG cPropertySets, + DBPROPSET *rgProperties, + IUnknown **ppSourcesRowset, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); + +#endif /* __ISourcesRowset_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBProperties interface + */ +#ifndef __IDBProperties_INTERFACE_DEFINED__ +#define __IDBProperties_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBProperties, 0x0c733a8a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a8a-2a1c-11ce-ade5-00aa0044773d") +IDBProperties : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProperties( + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo( + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + OLECHAR **ppDescBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperties( + ULONG cPropertySets, + DBPROPSET rgPropertySets[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBProperties, 0x0c733a8a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBProperties *This); + + /*** IDBProperties methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IDBProperties *This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets); + + HRESULT (STDMETHODCALLTYPE *GetPropertyInfo)( + IDBProperties *This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + OLECHAR **ppDescBuffer); + + HRESULT (STDMETHODCALLTYPE *SetProperties)( + IDBProperties *This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[]); + + END_INTERFACE +} IDBPropertiesVtbl; + +interface IDBProperties { + CONST_VTBL IDBPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBProperties_Release(This) (This)->lpVtbl->Release(This) +/*** IDBProperties methods ***/ +#define IDBProperties_GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) (This)->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) +#define IDBProperties_GetPropertyInfo(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer) (This)->lpVtbl->GetPropertyInfo(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer) +#define IDBProperties_SetProperties(This,cPropertySets,rgPropertySets) (This)->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBProperties_QueryInterface(IDBProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBProperties_AddRef(IDBProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBProperties_Release(IDBProperties* This) { + return This->lpVtbl->Release(This); +} +/*** IDBProperties methods ***/ +static FORCEINLINE HRESULT IDBProperties_GetProperties(IDBProperties* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertySets,DBPROPSET **prgPropertySets) { + return This->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets); +} +static FORCEINLINE HRESULT IDBProperties_GetPropertyInfo(IDBProperties* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertyInfoSets,DBPROPINFOSET **prgPropertyInfoSets,OLECHAR **ppDescBuffer) { + return This->lpVtbl->GetPropertyInfo(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer); +} +static FORCEINLINE HRESULT IDBProperties_SetProperties(IDBProperties* This,ULONG cPropertySets,DBPROPSET rgPropertySets[]) { + return This->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBProperties_RemoteGetProperties_Proxy( + IDBProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBProperties_RemoteGetProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBProperties_RemoteGetPropertyInfo_Proxy( + IDBProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + ULONG *pcOffsets, + DBBYTEOFFSET **prgDescOffsets, + ULONG *pcbDescBuffer, + OLECHAR **ppDescBuffer, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBProperties_RemoteGetPropertyInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBProperties_RemoteSetProperties_Proxy( + IDBProperties* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBProperties_RemoteSetProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBProperties_GetProperties_Proxy( + IDBProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets); +HRESULT __RPC_STUB IDBProperties_GetProperties_Stub( + IDBProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBProperties_GetPropertyInfo_Proxy( + IDBProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + OLECHAR **ppDescBuffer); +HRESULT __RPC_STUB IDBProperties_GetPropertyInfo_Stub( + IDBProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + ULONG *pcOffsets, + DBBYTEOFFSET **prgDescOffsets, + ULONG *pcbDescBuffer, + OLECHAR **ppDescBuffer, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBProperties_SetProperties_Proxy( + IDBProperties* This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[]); +HRESULT __RPC_STUB IDBProperties_SetProperties_Stub( + IDBProperties* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IDBProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBInitialize interface + */ +#ifndef __IDBInitialize_INTERFACE_DEFINED__ +#define __IDBInitialize_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBInitialize, 0x0c733a8b, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a8b-2a1c-11ce-ade5-00aa0044773d") +IDBInitialize : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Uninitialize( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBInitialize, 0x0c733a8b, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBInitializeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBInitialize *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBInitialize *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBInitialize *This); + + /*** IDBInitialize methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IDBInitialize *This); + + HRESULT (STDMETHODCALLTYPE *Uninitialize)( + IDBInitialize *This); + + END_INTERFACE +} IDBInitializeVtbl; + +interface IDBInitialize { + CONST_VTBL IDBInitializeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBInitialize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBInitialize_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBInitialize_Release(This) (This)->lpVtbl->Release(This) +/*** IDBInitialize methods ***/ +#define IDBInitialize_Initialize(This) (This)->lpVtbl->Initialize(This) +#define IDBInitialize_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBInitialize_QueryInterface(IDBInitialize* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBInitialize_AddRef(IDBInitialize* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBInitialize_Release(IDBInitialize* This) { + return This->lpVtbl->Release(This); +} +/*** IDBInitialize methods ***/ +static FORCEINLINE HRESULT IDBInitialize_Initialize(IDBInitialize* This) { + return This->lpVtbl->Initialize(This); +} +static FORCEINLINE HRESULT IDBInitialize_Uninitialize(IDBInitialize* This) { + return This->lpVtbl->Uninitialize(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBInitialize_RemoteInitialize_Proxy( + IDBInitialize* This, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBInitialize_RemoteInitialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBInitialize_RemoteUninitialize_Proxy( + IDBInitialize* This, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBInitialize_RemoteUninitialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBInitialize_Initialize_Proxy( + IDBInitialize* This); +HRESULT __RPC_STUB IDBInitialize_Initialize_Stub( + IDBInitialize* This, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBInitialize_Uninitialize_Proxy( + IDBInitialize* This); +HRESULT __RPC_STUB IDBInitialize_Uninitialize_Stub( + IDBInitialize* This, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IDBInitialize_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBDataSourceAdmin interface + */ +#ifndef __IDBDataSourceAdmin_INTERFACE_DEFINED__ +#define __IDBDataSourceAdmin_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBDataSourceAdmin, 0x0c733a7a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a7a-2a1c-11ce-ade5-00aa0044773d") +IDBDataSourceAdmin : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateDataSource( + ULONG cPropertySets, + DBPROPSET rgPropertySets[], + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyDataSource( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCreationProperties( + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + OLECHAR **ppDescBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyDataSource( + ULONG cPropertySets, + DBPROPSET rgPropertySets[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBDataSourceAdmin, 0x0c733a7a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBDataSourceAdminVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBDataSourceAdmin *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBDataSourceAdmin *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBDataSourceAdmin *This); + + /*** IDBDataSourceAdmin methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateDataSource)( + IDBDataSourceAdmin *This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[], + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession); + + HRESULT (STDMETHODCALLTYPE *DestroyDataSource)( + IDBDataSourceAdmin *This); + + HRESULT (STDMETHODCALLTYPE *GetCreationProperties)( + IDBDataSourceAdmin *This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + OLECHAR **ppDescBuffer); + + HRESULT (STDMETHODCALLTYPE *ModifyDataSource)( + IDBDataSourceAdmin *This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[]); + + END_INTERFACE +} IDBDataSourceAdminVtbl; + +interface IDBDataSourceAdmin { + CONST_VTBL IDBDataSourceAdminVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBDataSourceAdmin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBDataSourceAdmin_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBDataSourceAdmin_Release(This) (This)->lpVtbl->Release(This) +/*** IDBDataSourceAdmin methods ***/ +#define IDBDataSourceAdmin_CreateDataSource(This,cPropertySets,rgPropertySets,pUnkOuter,riid,ppDBSession) (This)->lpVtbl->CreateDataSource(This,cPropertySets,rgPropertySets,pUnkOuter,riid,ppDBSession) +#define IDBDataSourceAdmin_DestroyDataSource(This) (This)->lpVtbl->DestroyDataSource(This) +#define IDBDataSourceAdmin_GetCreationProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer) (This)->lpVtbl->GetCreationProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer) +#define IDBDataSourceAdmin_ModifyDataSource(This,cPropertySets,rgPropertySets) (This)->lpVtbl->ModifyDataSource(This,cPropertySets,rgPropertySets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBDataSourceAdmin_QueryInterface(IDBDataSourceAdmin* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBDataSourceAdmin_AddRef(IDBDataSourceAdmin* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBDataSourceAdmin_Release(IDBDataSourceAdmin* This) { + return This->lpVtbl->Release(This); +} +/*** IDBDataSourceAdmin methods ***/ +static FORCEINLINE HRESULT IDBDataSourceAdmin_CreateDataSource(IDBDataSourceAdmin* This,ULONG cPropertySets,DBPROPSET rgPropertySets[],IUnknown *pUnkOuter,REFIID riid,IUnknown **ppDBSession) { + return This->lpVtbl->CreateDataSource(This,cPropertySets,rgPropertySets,pUnkOuter,riid,ppDBSession); +} +static FORCEINLINE HRESULT IDBDataSourceAdmin_DestroyDataSource(IDBDataSourceAdmin* This) { + return This->lpVtbl->DestroyDataSource(This); +} +static FORCEINLINE HRESULT IDBDataSourceAdmin_GetCreationProperties(IDBDataSourceAdmin* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertyInfoSets,DBPROPINFOSET **prgPropertyInfoSets,OLECHAR **ppDescBuffer) { + return This->lpVtbl->GetCreationProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer); +} +static FORCEINLINE HRESULT IDBDataSourceAdmin_ModifyDataSource(IDBDataSourceAdmin* This,ULONG cPropertySets,DBPROPSET rgPropertySets[]) { + return This->lpVtbl->ModifyDataSource(This,cPropertySets,rgPropertySets); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteCreateDataSource_Proxy( + IDBDataSourceAdmin* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBDataSourceAdmin_RemoteCreateDataSource_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteDestroyDataSource_Proxy( + IDBDataSourceAdmin* This, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBDataSourceAdmin_RemoteDestroyDataSource_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteGetCreationProperties_Proxy( + IDBDataSourceAdmin* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + DBCOUNTITEM *pcOffsets, + DBBYTEOFFSET **prgDescOffsets, + ULONG *pcbDescBuffer, + OLECHAR **ppDescBuffer, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBDataSourceAdmin_RemoteGetCreationProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteModifyDataSource_Proxy( + IDBDataSourceAdmin* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBDataSourceAdmin_RemoteModifyDataSource_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBDataSourceAdmin_CreateDataSource_Proxy( + IDBDataSourceAdmin* This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[], + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession); +HRESULT __RPC_STUB IDBDataSourceAdmin_CreateDataSource_Stub( + IDBDataSourceAdmin* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + IUnknown *pUnkOuter, + REFIID riid, + IUnknown **ppDBSession, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBDataSourceAdmin_DestroyDataSource_Proxy( + IDBDataSourceAdmin* This); +HRESULT __RPC_STUB IDBDataSourceAdmin_DestroyDataSource_Stub( + IDBDataSourceAdmin* This, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBDataSourceAdmin_GetCreationProperties_Proxy( + IDBDataSourceAdmin* This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + OLECHAR **ppDescBuffer); +HRESULT __RPC_STUB IDBDataSourceAdmin_GetCreationProperties_Stub( + IDBDataSourceAdmin* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertyInfoSets, + DBPROPINFOSET **prgPropertyInfoSets, + DBCOUNTITEM *pcOffsets, + DBBYTEOFFSET **prgDescOffsets, + ULONG *pcbDescBuffer, + OLECHAR **ppDescBuffer, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBDataSourceAdmin_ModifyDataSource_Proxy( + IDBDataSourceAdmin* This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[]); +HRESULT __RPC_STUB IDBDataSourceAdmin_ModifyDataSource_Stub( + IDBDataSourceAdmin* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IDBDataSourceAdmin_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBAsynchNotify interface + */ +#ifndef __IDBAsynchNotify_INTERFACE_DEFINED__ +#define __IDBAsynchNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBAsynchNotify, 0x0c733a96, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a96-2a1c-11ce-ade5-00aa0044773d") +IDBAsynchNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnLowResource( + DB_DWRESERVE dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnProgress( + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM ulProgress, + DBCOUNTITEM ulProgressMax, + DBASYNCHPHASE eAsynchPhase, + LPOLESTR pwszStatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStop( + HCHAPTER hChapter, + DBASYNCHOP eOperation, + HRESULT hrStatus, + LPOLESTR pwszStatusText) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBAsynchNotify, 0x0c733a96, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBAsynchNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBAsynchNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBAsynchNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBAsynchNotify *This); + + /*** IDBAsynchNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnLowResource)( + IDBAsynchNotify *This, + DB_DWRESERVE dwReserved); + + HRESULT (STDMETHODCALLTYPE *OnProgress)( + IDBAsynchNotify *This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM ulProgress, + DBCOUNTITEM ulProgressMax, + DBASYNCHPHASE eAsynchPhase, + LPOLESTR pwszStatusText); + + HRESULT (STDMETHODCALLTYPE *OnStop)( + IDBAsynchNotify *This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + HRESULT hrStatus, + LPOLESTR pwszStatusText); + + END_INTERFACE +} IDBAsynchNotifyVtbl; + +interface IDBAsynchNotify { + CONST_VTBL IDBAsynchNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBAsynchNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBAsynchNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBAsynchNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IDBAsynchNotify methods ***/ +#define IDBAsynchNotify_OnLowResource(This,dwReserved) (This)->lpVtbl->OnLowResource(This,dwReserved) +#define IDBAsynchNotify_OnProgress(This,hChapter,eOperation,ulProgress,ulProgressMax,eAsynchPhase,pwszStatusText) (This)->lpVtbl->OnProgress(This,hChapter,eOperation,ulProgress,ulProgressMax,eAsynchPhase,pwszStatusText) +#define IDBAsynchNotify_OnStop(This,hChapter,eOperation,hrStatus,pwszStatusText) (This)->lpVtbl->OnStop(This,hChapter,eOperation,hrStatus,pwszStatusText) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBAsynchNotify_QueryInterface(IDBAsynchNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBAsynchNotify_AddRef(IDBAsynchNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBAsynchNotify_Release(IDBAsynchNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IDBAsynchNotify methods ***/ +static FORCEINLINE HRESULT IDBAsynchNotify_OnLowResource(IDBAsynchNotify* This,DB_DWRESERVE dwReserved) { + return This->lpVtbl->OnLowResource(This,dwReserved); +} +static FORCEINLINE HRESULT IDBAsynchNotify_OnProgress(IDBAsynchNotify* This,HCHAPTER hChapter,DBASYNCHOP eOperation,DBCOUNTITEM ulProgress,DBCOUNTITEM ulProgressMax,DBASYNCHPHASE eAsynchPhase,LPOLESTR pwszStatusText) { + return This->lpVtbl->OnProgress(This,hChapter,eOperation,ulProgress,ulProgressMax,eAsynchPhase,pwszStatusText); +} +static FORCEINLINE HRESULT IDBAsynchNotify_OnStop(IDBAsynchNotify* This,HCHAPTER hChapter,DBASYNCHOP eOperation,HRESULT hrStatus,LPOLESTR pwszStatusText) { + return This->lpVtbl->OnStop(This,hChapter,eOperation,hrStatus,pwszStatusText); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBAsynchNotify_RemoteOnLowResource_Proxy( + IDBAsynchNotify* This, + DB_DWRESERVE dwReserved); +void __RPC_STUB IDBAsynchNotify_RemoteOnLowResource_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBAsynchNotify_RemoteOnProgress_Proxy( + IDBAsynchNotify* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM ulProgress, + DBCOUNTITEM ulProgressMax, + DBASYNCHPHASE eAsynchPhase, + LPOLESTR pwszStatusText); +void __RPC_STUB IDBAsynchNotify_RemoteOnProgress_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBAsynchNotify_RemoteOnStop_Proxy( + IDBAsynchNotify* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + HRESULT hrStatus, + LPOLESTR pwszStatusText); +void __RPC_STUB IDBAsynchNotify_RemoteOnStop_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBAsynchNotify_OnLowResource_Proxy( + IDBAsynchNotify* This, + DB_DWRESERVE dwReserved); +HRESULT __RPC_STUB IDBAsynchNotify_OnLowResource_Stub( + IDBAsynchNotify* This, + DB_DWRESERVE dwReserved); +HRESULT CALLBACK IDBAsynchNotify_OnProgress_Proxy( + IDBAsynchNotify* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM ulProgress, + DBCOUNTITEM ulProgressMax, + DBASYNCHPHASE eAsynchPhase, + LPOLESTR pwszStatusText); +HRESULT __RPC_STUB IDBAsynchNotify_OnProgress_Stub( + IDBAsynchNotify* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM ulProgress, + DBCOUNTITEM ulProgressMax, + DBASYNCHPHASE eAsynchPhase, + LPOLESTR pwszStatusText); +HRESULT CALLBACK IDBAsynchNotify_OnStop_Proxy( + IDBAsynchNotify* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + HRESULT hrStatus, + LPOLESTR pwszStatusText); +HRESULT __RPC_STUB IDBAsynchNotify_OnStop_Stub( + IDBAsynchNotify* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + HRESULT hrStatus, + LPOLESTR pwszStatusText); + +#endif /* __IDBAsynchNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDBAsynchStatus interface + */ +#ifndef __IDBAsynchStatus_INTERFACE_DEFINED__ +#define __IDBAsynchStatus_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDBAsynchStatus, 0x0c733a95, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a95-2a1c-11ce-ade5-00aa0044773d") +IDBAsynchStatus : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Abort( + HCHAPTER hChapter, + DBASYNCHOP eOperation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM *pulProgress, + DBCOUNTITEM *pulProgressMax, + DBASYNCHPHASE *peAsynchPhase, + LPOLESTR *ppwszStatusText) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDBAsynchStatus, 0x0c733a95, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IDBAsynchStatusVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDBAsynchStatus *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDBAsynchStatus *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDBAsynchStatus *This); + + /*** IDBAsynchStatus methods ***/ + HRESULT (STDMETHODCALLTYPE *Abort)( + IDBAsynchStatus *This, + HCHAPTER hChapter, + DBASYNCHOP eOperation); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IDBAsynchStatus *This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM *pulProgress, + DBCOUNTITEM *pulProgressMax, + DBASYNCHPHASE *peAsynchPhase, + LPOLESTR *ppwszStatusText); + + END_INTERFACE +} IDBAsynchStatusVtbl; + +interface IDBAsynchStatus { + CONST_VTBL IDBAsynchStatusVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDBAsynchStatus_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDBAsynchStatus_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDBAsynchStatus_Release(This) (This)->lpVtbl->Release(This) +/*** IDBAsynchStatus methods ***/ +#define IDBAsynchStatus_Abort(This,hChapter,eOperation) (This)->lpVtbl->Abort(This,hChapter,eOperation) +#define IDBAsynchStatus_GetStatus(This,hChapter,eOperation,pulProgress,pulProgressMax,peAsynchPhase,ppwszStatusText) (This)->lpVtbl->GetStatus(This,hChapter,eOperation,pulProgress,pulProgressMax,peAsynchPhase,ppwszStatusText) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDBAsynchStatus_QueryInterface(IDBAsynchStatus* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDBAsynchStatus_AddRef(IDBAsynchStatus* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDBAsynchStatus_Release(IDBAsynchStatus* This) { + return This->lpVtbl->Release(This); +} +/*** IDBAsynchStatus methods ***/ +static FORCEINLINE HRESULT IDBAsynchStatus_Abort(IDBAsynchStatus* This,HCHAPTER hChapter,DBASYNCHOP eOperation) { + return This->lpVtbl->Abort(This,hChapter,eOperation); +} +static FORCEINLINE HRESULT IDBAsynchStatus_GetStatus(IDBAsynchStatus* This,HCHAPTER hChapter,DBASYNCHOP eOperation,DBCOUNTITEM *pulProgress,DBCOUNTITEM *pulProgressMax,DBASYNCHPHASE *peAsynchPhase,LPOLESTR *ppwszStatusText) { + return This->lpVtbl->GetStatus(This,hChapter,eOperation,pulProgress,pulProgressMax,peAsynchPhase,ppwszStatusText); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDBAsynchStatus_RemoteAbort_Proxy( + IDBAsynchStatus* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBAsynchStatus_RemoteAbort_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDBAsynchStatus_RemoteGetStatus_Proxy( + IDBAsynchStatus* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM *pulProgress, + DBCOUNTITEM *pulProgressMax, + DBASYNCHPHASE *peAsynchPhase, + LPOLESTR *ppwszStatusText, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IDBAsynchStatus_RemoteGetStatus_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IDBAsynchStatus_Abort_Proxy( + IDBAsynchStatus* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation); +HRESULT __RPC_STUB IDBAsynchStatus_Abort_Stub( + IDBAsynchStatus* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IDBAsynchStatus_GetStatus_Proxy( + IDBAsynchStatus* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM *pulProgress, + DBCOUNTITEM *pulProgressMax, + DBASYNCHPHASE *peAsynchPhase, + LPOLESTR *ppwszStatusText); +HRESULT __RPC_STUB IDBAsynchStatus_GetStatus_Stub( + IDBAsynchStatus* This, + HCHAPTER hChapter, + DBASYNCHOP eOperation, + DBCOUNTITEM *pulProgress, + DBCOUNTITEM *pulProgressMax, + DBASYNCHPHASE *peAsynchPhase, + LPOLESTR *ppwszStatusText, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IDBAsynchStatus_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISessionProperties interface + */ +#ifndef __ISessionProperties_INTERFACE_DEFINED__ +#define __ISessionProperties_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISessionProperties, 0x0c733a85, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a85-2a1c-11ce-ade5-00aa0044773d") +ISessionProperties : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetProperties( + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperties( + ULONG cPropertySets, + DBPROPSET rgPropertySets[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISessionProperties, 0x0c733a85, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ISessionPropertiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISessionProperties *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISessionProperties *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISessionProperties *This); + + /*** ISessionProperties methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProperties)( + ISessionProperties *This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets); + + HRESULT (STDMETHODCALLTYPE *SetProperties)( + ISessionProperties *This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[]); + + END_INTERFACE +} ISessionPropertiesVtbl; + +interface ISessionProperties { + CONST_VTBL ISessionPropertiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISessionProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISessionProperties_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISessionProperties_Release(This) (This)->lpVtbl->Release(This) +/*** ISessionProperties methods ***/ +#define ISessionProperties_GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) (This)->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) +#define ISessionProperties_SetProperties(This,cPropertySets,rgPropertySets) (This)->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISessionProperties_QueryInterface(ISessionProperties* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISessionProperties_AddRef(ISessionProperties* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISessionProperties_Release(ISessionProperties* This) { + return This->lpVtbl->Release(This); +} +/*** ISessionProperties methods ***/ +static FORCEINLINE HRESULT ISessionProperties_GetProperties(ISessionProperties* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertySets,DBPROPSET **prgPropertySets) { + return This->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets); +} +static FORCEINLINE HRESULT ISessionProperties_SetProperties(ISessionProperties* This,ULONG cPropertySets,DBPROPSET rgPropertySets[]) { + return This->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ISessionProperties_RemoteGetProperties_Proxy( + ISessionProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ISessionProperties_RemoteGetProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ISessionProperties_RemoteSetProperties_Proxy( + ISessionProperties* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB ISessionProperties_RemoteSetProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ISessionProperties_GetProperties_Proxy( + ISessionProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET rgPropertyIDSets[], + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets); +HRESULT __RPC_STUB ISessionProperties_GetProperties_Stub( + ISessionProperties* This, + ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, + ULONG *pcPropertySets, + DBPROPSET **prgPropertySets, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK ISessionProperties_SetProperties_Proxy( + ISessionProperties* This, + ULONG cPropertySets, + DBPROPSET rgPropertySets[]); +HRESULT __RPC_STUB ISessionProperties_SetProperties_Stub( + ISessionProperties* This, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); + +#endif /* __ISessionProperties_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowsetNotify interface + */ +#ifndef __IRowsetNotify_INTERFACE_DEFINED__ +#define __IRowsetNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRowsetNotify, 0x0c733a83, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a83-2a1c-11ce-ade5-00aa0044773d") +IRowsetNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnFieldChange( + IRowset *rowset, + HROW row, + DBORDINAL ccols, + DBORDINAL *columns, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnRowChange( + IRowset *rowset, + DBCOUNTITEM rows, + HROW *hrows, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnRowsetChange( + IRowset *rowset, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowsetNotify, 0x0c733a83, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowsetNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowsetNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowsetNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowsetNotify *This); + + /*** IRowsetNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnFieldChange)( + IRowsetNotify *This, + IRowset *rowset, + HROW row, + DBORDINAL ccols, + DBORDINAL *columns, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); + + HRESULT (STDMETHODCALLTYPE *OnRowChange)( + IRowsetNotify *This, + IRowset *rowset, + DBCOUNTITEM rows, + HROW *hrows, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); + + HRESULT (STDMETHODCALLTYPE *OnRowsetChange)( + IRowsetNotify *This, + IRowset *rowset, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); + + END_INTERFACE +} IRowsetNotifyVtbl; + +interface IRowsetNotify { + CONST_VTBL IRowsetNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowsetNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowsetNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowsetNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IRowsetNotify methods ***/ +#define IRowsetNotify_OnFieldChange(This,rowset,row,ccols,columns,reason,phase,cantdeny) (This)->lpVtbl->OnFieldChange(This,rowset,row,ccols,columns,reason,phase,cantdeny) +#define IRowsetNotify_OnRowChange(This,rowset,rows,hrows,reason,phase,cantdeny) (This)->lpVtbl->OnRowChange(This,rowset,rows,hrows,reason,phase,cantdeny) +#define IRowsetNotify_OnRowsetChange(This,rowset,reason,phase,cantdeny) (This)->lpVtbl->OnRowsetChange(This,rowset,reason,phase,cantdeny) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowsetNotify_QueryInterface(IRowsetNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowsetNotify_AddRef(IRowsetNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowsetNotify_Release(IRowsetNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IRowsetNotify methods ***/ +static FORCEINLINE HRESULT IRowsetNotify_OnFieldChange(IRowsetNotify* This,IRowset *rowset,HROW row,DBORDINAL ccols,DBORDINAL *columns,DBREASON reason,DBEVENTPHASE phase,BOOL cantdeny) { + return This->lpVtbl->OnFieldChange(This,rowset,row,ccols,columns,reason,phase,cantdeny); +} +static FORCEINLINE HRESULT IRowsetNotify_OnRowChange(IRowsetNotify* This,IRowset *rowset,DBCOUNTITEM rows,HROW *hrows,DBREASON reason,DBEVENTPHASE phase,BOOL cantdeny) { + return This->lpVtbl->OnRowChange(This,rowset,rows,hrows,reason,phase,cantdeny); +} +static FORCEINLINE HRESULT IRowsetNotify_OnRowsetChange(IRowsetNotify* This,IRowset *rowset,DBREASON reason,DBEVENTPHASE phase,BOOL cantdeny) { + return This->lpVtbl->OnRowsetChange(This,rowset,reason,phase,cantdeny); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IRowsetNotify_RemoteOnFieldChange_Proxy( + IRowsetNotify* This, + IRowset *rowset, + HROW row, + DBORDINAL ccols, + DBORDINAL *columns, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +void __RPC_STUB IRowsetNotify_RemoteOnFieldChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowsetNotify_RemoteOnRowChange_Proxy( + IRowsetNotify* This, + IRowset *rowset, + DBCOUNTITEM rows, + HROW *hrows, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +void __RPC_STUB IRowsetNotify_RemoteOnRowChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowsetNotify_RemoteOnRowsetChange_Proxy( + IRowsetNotify* This, + IRowset *rowset, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +void __RPC_STUB IRowsetNotify_RemoteOnRowsetChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IRowsetNotify_OnFieldChange_Proxy( + IRowsetNotify* This, + IRowset *rowset, + HROW row, + DBORDINAL ccols, + DBORDINAL *columns, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +HRESULT __RPC_STUB IRowsetNotify_OnFieldChange_Stub( + IRowsetNotify* This, + IRowset *rowset, + HROW row, + DBORDINAL ccols, + DBORDINAL *columns, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +HRESULT CALLBACK IRowsetNotify_OnRowChange_Proxy( + IRowsetNotify* This, + IRowset *rowset, + DBCOUNTITEM rows, + HROW *hrows, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +HRESULT __RPC_STUB IRowsetNotify_OnRowChange_Stub( + IRowsetNotify* This, + IRowset *rowset, + DBCOUNTITEM rows, + HROW *hrows, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +HRESULT CALLBACK IRowsetNotify_OnRowsetChange_Proxy( + IRowsetNotify* This, + IRowset *rowset, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); +HRESULT __RPC_STUB IRowsetNotify_OnRowsetChange_Stub( + IRowsetNotify* This, + IRowset *rowset, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cantdeny); + +#endif /* __IRowsetNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOpenRowset interface + */ +#ifndef __IOpenRowset_INTERFACE_DEFINED__ +#define __IOpenRowset_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOpenRowset, 0x0c733a69, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a69-2a1c-11ce-ade5-00aa0044773d") +IOpenRowset : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OpenRowset( + IUnknown *pUnkOuter, + DBID *pTableID, + DBID *pIndexID, + REFIID riid, + ULONG cPropertySets, + DBPROPSET rgPropertySets[], + IUnknown **ppRowset) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOpenRowset, 0x0c733a69, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IOpenRowsetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOpenRowset *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOpenRowset *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOpenRowset *This); + + /*** IOpenRowset methods ***/ + HRESULT (STDMETHODCALLTYPE *OpenRowset)( + IOpenRowset *This, + IUnknown *pUnkOuter, + DBID *pTableID, + DBID *pIndexID, + REFIID riid, + ULONG cPropertySets, + DBPROPSET rgPropertySets[], + IUnknown **ppRowset); + + END_INTERFACE +} IOpenRowsetVtbl; + +interface IOpenRowset { + CONST_VTBL IOpenRowsetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOpenRowset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOpenRowset_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOpenRowset_Release(This) (This)->lpVtbl->Release(This) +/*** IOpenRowset methods ***/ +#define IOpenRowset_OpenRowset(This,pUnkOuter,pTableID,pIndexID,riid,cPropertySets,rgPropertySets,ppRowset) (This)->lpVtbl->OpenRowset(This,pUnkOuter,pTableID,pIndexID,riid,cPropertySets,rgPropertySets,ppRowset) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOpenRowset_QueryInterface(IOpenRowset* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOpenRowset_AddRef(IOpenRowset* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOpenRowset_Release(IOpenRowset* This) { + return This->lpVtbl->Release(This); +} +/*** IOpenRowset methods ***/ +static FORCEINLINE HRESULT IOpenRowset_OpenRowset(IOpenRowset* This,IUnknown *pUnkOuter,DBID *pTableID,DBID *pIndexID,REFIID riid,ULONG cPropertySets,DBPROPSET rgPropertySets[],IUnknown **ppRowset) { + return This->lpVtbl->OpenRowset(This,pUnkOuter,pTableID,pIndexID,riid,cPropertySets,rgPropertySets,ppRowset); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IOpenRowset_RemoteOpenRowset_Proxy( + IOpenRowset* This, + IUnknown *pUnkOuter, + DBID *pTableID, + DBID *pIndexID, + REFIID riid, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + IUnknown **ppRowset, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IOpenRowset_RemoteOpenRowset_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IOpenRowset_OpenRowset_Proxy( + IOpenRowset* This, + IUnknown *pUnkOuter, + DBID *pTableID, + DBID *pIndexID, + REFIID riid, + ULONG cPropertySets, + DBPROPSET rgPropertySets[], + IUnknown **ppRowset); +HRESULT __RPC_STUB IOpenRowset_OpenRowset_Stub( + IOpenRowset* This, + IUnknown *pUnkOuter, + DBID *pTableID, + DBID *pIndexID, + REFIID riid, + ULONG cPropertySets, + DBPROPSET *rgPropertySets, + IUnknown **ppRowset, + ULONG cTotalProps, + DBPROPSTATUS *rgPropStatus, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IOpenRowset_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRow interface + */ +#ifndef __IRow_INTERFACE_DEFINED__ +#define __IRow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRow, 0x0c733ab4, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733ab4-2a1c-11ce-ade5-00aa0044773d") +IRow : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetColumns( + DBORDINAL cColumns, + DBCOLUMNACCESS rgColumns[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceRowset( + REFIID riid, + IUnknown **ppRowset, + HROW *phRow) = 0; + + virtual HRESULT STDMETHODCALLTYPE Open( + IUnknown *pUnkOuter, + DBID *pColumnID, + REFGUID rguidColumnType, + DWORD dwBindFlags, + REFIID riid, + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRow, 0x0c733ab4, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRow *This); + + /*** IRow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetColumns)( + IRow *This, + DBORDINAL cColumns, + DBCOLUMNACCESS rgColumns[]); + + HRESULT (STDMETHODCALLTYPE *GetSourceRowset)( + IRow *This, + REFIID riid, + IUnknown **ppRowset, + HROW *phRow); + + HRESULT (STDMETHODCALLTYPE *Open)( + IRow *This, + IUnknown *pUnkOuter, + DBID *pColumnID, + REFGUID rguidColumnType, + DWORD dwBindFlags, + REFIID riid, + IUnknown **ppUnk); + + END_INTERFACE +} IRowVtbl; + +interface IRow { + CONST_VTBL IRowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRow_Release(This) (This)->lpVtbl->Release(This) +/*** IRow methods ***/ +#define IRow_GetColumns(This,cColumns,rgColumns) (This)->lpVtbl->GetColumns(This,cColumns,rgColumns) +#define IRow_GetSourceRowset(This,riid,ppRowset,phRow) (This)->lpVtbl->GetSourceRowset(This,riid,ppRowset,phRow) +#define IRow_Open(This,pUnkOuter,pColumnID,rguidColumnType,dwBindFlags,riid,ppUnk) (This)->lpVtbl->Open(This,pUnkOuter,pColumnID,rguidColumnType,dwBindFlags,riid,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRow_QueryInterface(IRow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRow_AddRef(IRow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRow_Release(IRow* This) { + return This->lpVtbl->Release(This); +} +/*** IRow methods ***/ +static FORCEINLINE HRESULT IRow_GetColumns(IRow* This,DBORDINAL cColumns,DBCOLUMNACCESS rgColumns[]) { + return This->lpVtbl->GetColumns(This,cColumns,rgColumns); +} +static FORCEINLINE HRESULT IRow_GetSourceRowset(IRow* This,REFIID riid,IUnknown **ppRowset,HROW *phRow) { + return This->lpVtbl->GetSourceRowset(This,riid,ppRowset,phRow); +} +static FORCEINLINE HRESULT IRow_Open(IRow* This,IUnknown *pUnkOuter,DBID *pColumnID,REFGUID rguidColumnType,DWORD dwBindFlags,REFIID riid,IUnknown **ppUnk) { + return This->lpVtbl->Open(This,pUnkOuter,pColumnID,rguidColumnType,dwBindFlags,riid,ppUnk); +} +#endif +#endif + +#endif + + +#endif /* __IRow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowChange interface + */ +#ifndef __IRowChange_INTERFACE_DEFINED__ +#define __IRowChange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRowChange, 0x0c733ab5, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733ab5-2a1c-11ce-ade5-00aa0044773d") +IRowChange : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetColumns( + DBORDINAL cColumns, + DBCOLUMNACCESS rgColumns[]) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowChange, 0x0c733ab5, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowChangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowChange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowChange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowChange *This); + + /*** IRowChange methods ***/ + HRESULT (STDMETHODCALLTYPE *SetColumns)( + IRowChange *This, + DBORDINAL cColumns, + DBCOLUMNACCESS rgColumns[]); + + END_INTERFACE +} IRowChangeVtbl; + +interface IRowChange { + CONST_VTBL IRowChangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowChange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowChange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowChange_Release(This) (This)->lpVtbl->Release(This) +/*** IRowChange methods ***/ +#define IRowChange_SetColumns(This,cColumns,rgColumns) (This)->lpVtbl->SetColumns(This,cColumns,rgColumns) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowChange_QueryInterface(IRowChange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowChange_AddRef(IRowChange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowChange_Release(IRowChange* This) { + return This->lpVtbl->Release(This); +} +/*** IRowChange methods ***/ +static FORCEINLINE HRESULT IRowChange_SetColumns(IRowChange* This,DBORDINAL cColumns,DBCOLUMNACCESS rgColumns[]) { + return This->lpVtbl->SetColumns(This,cColumns,rgColumns); +} +#endif +#endif + +#endif + + +#endif /* __IRowChange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowPosition interface + */ +#ifndef __IRowPosition_INTERFACE_DEFINED__ +#define __IRowPosition_INTERFACE_DEFINED__ + +typedef DWORD DBPOSITIONFLAGS; +enum DBPOSITIONFLAGSENUM { + DBPOSITION_OK = 0, + DBPOSITION_NOROW = 1, + DBPOSITION_BOF = 2, + DBPOSITION_EOF = 3 +}; +DEFINE_GUID(IID_IRowPosition, 0x0c733a94, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a94-2a1c-11ce-ade5-00aa0044773d") +IRowPosition : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ClearRowPosition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRowPosition( + HCHAPTER *chapter, + HROW *row, + DBPOSITIONFLAGS *position_flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRowset( + REFIID riid, + IUnknown **rowset) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + IUnknown *rowset) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRowPosition( + HCHAPTER chapter, + HROW row, + DBPOSITIONFLAGS flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowPosition, 0x0c733a94, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IRowPositionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowPosition *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowPosition *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowPosition *This); + + /*** IRowPosition methods ***/ + HRESULT (STDMETHODCALLTYPE *ClearRowPosition)( + IRowPosition *This); + + HRESULT (STDMETHODCALLTYPE *GetRowPosition)( + IRowPosition *This, + HCHAPTER *chapter, + HROW *row, + DBPOSITIONFLAGS *position_flags); + + HRESULT (STDMETHODCALLTYPE *GetRowset)( + IRowPosition *This, + REFIID riid, + IUnknown **rowset); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IRowPosition *This, + IUnknown *rowset); + + HRESULT (STDMETHODCALLTYPE *SetRowPosition)( + IRowPosition *This, + HCHAPTER chapter, + HROW row, + DBPOSITIONFLAGS flags); + + END_INTERFACE +} IRowPositionVtbl; + +interface IRowPosition { + CONST_VTBL IRowPositionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowPosition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowPosition_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowPosition_Release(This) (This)->lpVtbl->Release(This) +/*** IRowPosition methods ***/ +#define IRowPosition_ClearRowPosition(This) (This)->lpVtbl->ClearRowPosition(This) +#define IRowPosition_GetRowPosition(This,chapter,row,position_flags) (This)->lpVtbl->GetRowPosition(This,chapter,row,position_flags) +#define IRowPosition_GetRowset(This,riid,rowset) (This)->lpVtbl->GetRowset(This,riid,rowset) +#define IRowPosition_Initialize(This,rowset) (This)->lpVtbl->Initialize(This,rowset) +#define IRowPosition_SetRowPosition(This,chapter,row,flags) (This)->lpVtbl->SetRowPosition(This,chapter,row,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowPosition_QueryInterface(IRowPosition* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowPosition_AddRef(IRowPosition* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowPosition_Release(IRowPosition* This) { + return This->lpVtbl->Release(This); +} +/*** IRowPosition methods ***/ +static FORCEINLINE HRESULT IRowPosition_ClearRowPosition(IRowPosition* This) { + return This->lpVtbl->ClearRowPosition(This); +} +static FORCEINLINE HRESULT IRowPosition_GetRowPosition(IRowPosition* This,HCHAPTER *chapter,HROW *row,DBPOSITIONFLAGS *position_flags) { + return This->lpVtbl->GetRowPosition(This,chapter,row,position_flags); +} +static FORCEINLINE HRESULT IRowPosition_GetRowset(IRowPosition* This,REFIID riid,IUnknown **rowset) { + return This->lpVtbl->GetRowset(This,riid,rowset); +} +static FORCEINLINE HRESULT IRowPosition_Initialize(IRowPosition* This,IUnknown *rowset) { + return This->lpVtbl->Initialize(This,rowset); +} +static FORCEINLINE HRESULT IRowPosition_SetRowPosition(IRowPosition* This,HCHAPTER chapter,HROW row,DBPOSITIONFLAGS flags) { + return This->lpVtbl->SetRowPosition(This,chapter,row,flags); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IRowPosition_RemoteClearRowPosition_Proxy( + IRowPosition* This, + IErrorInfo **errorinfo); +void __RPC_STUB IRowPosition_RemoteClearRowPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowPosition_RemoteGetRowPosition_Proxy( + IRowPosition* This, + HCHAPTER *chapter, + HROW *row, + DBPOSITIONFLAGS *position_flags, + IErrorInfo **errorinfo); +void __RPC_STUB IRowPosition_RemoteGetRowPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowPosition_RemoteGetRowset_Proxy( + IRowPosition* This, + REFIID riid, + IUnknown **rowset, + IErrorInfo **errorinfo); +void __RPC_STUB IRowPosition_RemoteGetRowset_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowPosition_RemoteInitialize_Proxy( + IRowPosition* This, + IUnknown *rowset, + IErrorInfo **errorinfo); +void __RPC_STUB IRowPosition_RemoteInitialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IRowPosition_RemoteSetRowPosition_Proxy( + IRowPosition* This, + HCHAPTER chapter, + HROW row, + DBPOSITIONFLAGS flags, + IErrorInfo **errorinfo); +void __RPC_STUB IRowPosition_RemoteSetRowPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IRowPosition_ClearRowPosition_Proxy( + IRowPosition* This); +HRESULT __RPC_STUB IRowPosition_ClearRowPosition_Stub( + IRowPosition* This, + IErrorInfo **errorinfo); +HRESULT CALLBACK IRowPosition_GetRowPosition_Proxy( + IRowPosition* This, + HCHAPTER *chapter, + HROW *row, + DBPOSITIONFLAGS *position_flags); +HRESULT __RPC_STUB IRowPosition_GetRowPosition_Stub( + IRowPosition* This, + HCHAPTER *chapter, + HROW *row, + DBPOSITIONFLAGS *position_flags, + IErrorInfo **errorinfo); +HRESULT CALLBACK IRowPosition_GetRowset_Proxy( + IRowPosition* This, + REFIID riid, + IUnknown **rowset); +HRESULT __RPC_STUB IRowPosition_GetRowset_Stub( + IRowPosition* This, + REFIID riid, + IUnknown **rowset, + IErrorInfo **errorinfo); +HRESULT CALLBACK IRowPosition_Initialize_Proxy( + IRowPosition* This, + IUnknown *rowset); +HRESULT __RPC_STUB IRowPosition_Initialize_Stub( + IRowPosition* This, + IUnknown *rowset, + IErrorInfo **errorinfo); +HRESULT CALLBACK IRowPosition_SetRowPosition_Proxy( + IRowPosition* This, + HCHAPTER chapter, + HROW row, + DBPOSITIONFLAGS flags); +HRESULT __RPC_STUB IRowPosition_SetRowPosition_Stub( + IRowPosition* This, + HCHAPTER chapter, + HROW row, + DBPOSITIONFLAGS flags, + IErrorInfo **errorinfo); + +#endif /* __IRowPosition_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRowPositionChange interface + */ +#ifndef __IRowPositionChange_INTERFACE_DEFINED__ +#define __IRowPositionChange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRowPositionChange, 0x0997a571, 0x126e, 0x11d0, 0x9f,0x8a, 0x00,0xa0,0xc9,0xa0,0x63,0x1e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0997a571-126e-11d0-9f8a-00a0c9a0631e") +IRowPositionChange : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnRowPositionChange( + DBREASON reason, + DBEVENTPHASE phase, + BOOL cant_deny) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRowPositionChange, 0x0997a571, 0x126e, 0x11d0, 0x9f,0x8a, 0x00,0xa0,0xc9,0xa0,0x63,0x1e) +#endif +#else +typedef struct IRowPositionChangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRowPositionChange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRowPositionChange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRowPositionChange *This); + + /*** IRowPositionChange methods ***/ + HRESULT (STDMETHODCALLTYPE *OnRowPositionChange)( + IRowPositionChange *This, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cant_deny); + + END_INTERFACE +} IRowPositionChangeVtbl; + +interface IRowPositionChange { + CONST_VTBL IRowPositionChangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRowPositionChange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRowPositionChange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRowPositionChange_Release(This) (This)->lpVtbl->Release(This) +/*** IRowPositionChange methods ***/ +#define IRowPositionChange_OnRowPositionChange(This,reason,phase,cant_deny) (This)->lpVtbl->OnRowPositionChange(This,reason,phase,cant_deny) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRowPositionChange_QueryInterface(IRowPositionChange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRowPositionChange_AddRef(IRowPositionChange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRowPositionChange_Release(IRowPositionChange* This) { + return This->lpVtbl->Release(This); +} +/*** IRowPositionChange methods ***/ +static FORCEINLINE HRESULT IRowPositionChange_OnRowPositionChange(IRowPositionChange* This,DBREASON reason,DBEVENTPHASE phase,BOOL cant_deny) { + return This->lpVtbl->OnRowPositionChange(This,reason,phase,cant_deny); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IRowPositionChange_RemoteOnRowPositionChange_Proxy( + IRowPositionChange* This, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cant_deny, + IErrorInfo **errorinfo); +void __RPC_STUB IRowPositionChange_RemoteOnRowPositionChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IRowPositionChange_OnRowPositionChange_Proxy( + IRowPositionChange* This, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cant_deny); +HRESULT __RPC_STUB IRowPositionChange_OnRowPositionChange_Stub( + IRowPositionChange* This, + DBREASON reason, + DBEVENTPHASE phase, + BOOL cant_deny, + IErrorInfo **errorinfo); + +#endif /* __IRowPositionChange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBindResource interface + */ +#ifndef __IBindResource_INTERFACE_DEFINED__ +#define __IBindResource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBindResource, 0x0c733ab1, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733ab1-2a1c-11ce-ade5-00aa0044773d") +IBindResource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Bind( + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + DBIMPLICITSESSION *pImplSession, + DBBINDURLSTATUS *pdwBindStatus, + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindResource, 0x0c733ab1, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IBindResourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindResource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindResource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindResource *This); + + /*** IBindResource methods ***/ + HRESULT (STDMETHODCALLTYPE *Bind)( + IBindResource *This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + DBIMPLICITSESSION *pImplSession, + DBBINDURLSTATUS *pdwBindStatus, + IUnknown **ppUnk); + + END_INTERFACE +} IBindResourceVtbl; + +interface IBindResource { + CONST_VTBL IBindResourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindResource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindResource_Release(This) (This)->lpVtbl->Release(This) +/*** IBindResource methods ***/ +#define IBindResource_Bind(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppUnk) (This)->lpVtbl->Bind(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindResource_QueryInterface(IBindResource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindResource_AddRef(IBindResource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindResource_Release(IBindResource* This) { + return This->lpVtbl->Release(This); +} +/*** IBindResource methods ***/ +static FORCEINLINE HRESULT IBindResource_Bind(IBindResource* This,IUnknown *pUnkOuter,LPCOLESTR pwszURL,DBBINDURLFLAG dwBindURLFlags,REFGUID rguid,REFIID riid,IAuthenticate *pAuthenticate,DBIMPLICITSESSION *pImplSession,DBBINDURLSTATUS *pdwBindStatus,IUnknown **ppUnk) { + return This->lpVtbl->Bind(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppUnk); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IBindResource_RemoteBind_Proxy( + IBindResource* This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + IUnknown *pSessionUnkOuter, + IID *piid, + IUnknown **ppSession, + DBBINDURLSTATUS *pdwBindStatus, + IUnknown **ppUnk); +void __RPC_STUB IBindResource_RemoteBind_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IBindResource_Bind_Proxy( + IBindResource* This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + DBIMPLICITSESSION *pImplSession, + DBBINDURLSTATUS *pdwBindStatus, + IUnknown **ppUnk); +HRESULT __RPC_STUB IBindResource_Bind_Stub( + IBindResource* This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + IUnknown *pSessionUnkOuter, + IID *piid, + IUnknown **ppSession, + DBBINDURLSTATUS *pdwBindStatus, + IUnknown **ppUnk); + +#endif /* __IBindResource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateRow interface + */ +#ifndef __ICreateRow_INTERFACE_DEFINED__ +#define __ICreateRow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICreateRow, 0x0c733ab2, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733ab2-2a1c-11ce-ade5-00aa0044773d") +ICreateRow : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateRow( + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + DBIMPLICITSESSION *pImplSession, + DBBINDURLSTATUS *pdwBindStatus, + LPOLESTR *ppwszNewURL, + IUnknown **ppUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateRow, 0x0c733ab2, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct ICreateRowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateRow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateRow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateRow *This); + + /*** ICreateRow methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateRow)( + ICreateRow *This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + DBIMPLICITSESSION *pImplSession, + DBBINDURLSTATUS *pdwBindStatus, + LPOLESTR *ppwszNewURL, + IUnknown **ppUnk); + + END_INTERFACE +} ICreateRowVtbl; + +interface ICreateRow { + CONST_VTBL ICreateRowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateRow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateRow_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateRow methods ***/ +#define ICreateRow_CreateRow(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppwszNewURL,ppUnk) (This)->lpVtbl->CreateRow(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppwszNewURL,ppUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateRow_QueryInterface(ICreateRow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateRow_AddRef(ICreateRow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateRow_Release(ICreateRow* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateRow methods ***/ +static FORCEINLINE HRESULT ICreateRow_CreateRow(ICreateRow* This,IUnknown *pUnkOuter,LPCOLESTR pwszURL,DBBINDURLFLAG dwBindURLFlags,REFGUID rguid,REFIID riid,IAuthenticate *pAuthenticate,DBIMPLICITSESSION *pImplSession,DBBINDURLSTATUS *pdwBindStatus,LPOLESTR *ppwszNewURL,IUnknown **ppUnk) { + return This->lpVtbl->CreateRow(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppwszNewURL,ppUnk); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ICreateRow_RemoteCreateRow_Proxy( + ICreateRow* This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + IUnknown *pSessionUnkOuter, + IID *piid, + IUnknown **ppSession, + DBBINDURLSTATUS *pdwBindStatus, + LPOLESTR *ppwszNewURL, + IUnknown **ppUnk); +void __RPC_STUB ICreateRow_RemoteCreateRow_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ICreateRow_CreateRow_Proxy( + ICreateRow* This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + DBIMPLICITSESSION *pImplSession, + DBBINDURLSTATUS *pdwBindStatus, + LPOLESTR *ppwszNewURL, + IUnknown **ppUnk); +HRESULT __RPC_STUB ICreateRow_CreateRow_Stub( + ICreateRow* This, + IUnknown *pUnkOuter, + LPCOLESTR pwszURL, + DBBINDURLFLAG dwBindURLFlags, + REFGUID rguid, + REFIID riid, + IAuthenticate *pAuthenticate, + IUnknown *pSessionUnkOuter, + IID *piid, + IUnknown **ppSession, + DBBINDURLSTATUS *pdwBindStatus, + LPOLESTR *ppwszNewURL, + IUnknown **ppUnk); + +#endif /* __ICreateRow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IErrorRecords interface + */ +#ifndef __IErrorRecords_INTERFACE_DEFINED__ +#define __IErrorRecords_INTERFACE_DEFINED__ + +#define IDENTIFIER_SDK_MASK 0xF0000000 +#define IDENTIFIER_SDK_ERROR 0x10000000 +typedef struct tagERRORINFO { + HRESULT hrError; + DWORD dwMinor; + CLSID clsid; + IID iid; + DISPID dispid; +} ERRORINFO; +DEFINE_GUID(IID_IErrorRecords, 0x0c733a67, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0c733a67-2a1c-11ce-ade5-00aa0044773d") +IErrorRecords : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddErrorRecord( + ERRORINFO *pErrorInfo, + DWORD dwLookupID, + DISPPARAMS *pdispparams, + IUnknown *punkCustomError, + DWORD dwDynamicErrorID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBasicErrorInfo( + ULONG ulRecordNum, + ERRORINFO *pErrorInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCustomErrorObject( + ULONG ulRecordNum, + REFIID riid, + IUnknown **ppObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorInfo( + ULONG ulRecordNum, + LCID lcid, + IErrorInfo **ppErrorInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorParameters( + ULONG ulRecordNum, + DISPPARAMS *pdispparams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRecordCount( + ULONG *records) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IErrorRecords, 0x0c733a67, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) +#endif +#else +typedef struct IErrorRecordsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IErrorRecords *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IErrorRecords *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IErrorRecords *This); + + /*** IErrorRecords methods ***/ + HRESULT (STDMETHODCALLTYPE *AddErrorRecord)( + IErrorRecords *This, + ERRORINFO *pErrorInfo, + DWORD dwLookupID, + DISPPARAMS *pdispparams, + IUnknown *punkCustomError, + DWORD dwDynamicErrorID); + + HRESULT (STDMETHODCALLTYPE *GetBasicErrorInfo)( + IErrorRecords *This, + ULONG ulRecordNum, + ERRORINFO *pErrorInfo); + + HRESULT (STDMETHODCALLTYPE *GetCustomErrorObject)( + IErrorRecords *This, + ULONG ulRecordNum, + REFIID riid, + IUnknown **ppObject); + + HRESULT (STDMETHODCALLTYPE *GetErrorInfo)( + IErrorRecords *This, + ULONG ulRecordNum, + LCID lcid, + IErrorInfo **ppErrorInfo); + + HRESULT (STDMETHODCALLTYPE *GetErrorParameters)( + IErrorRecords *This, + ULONG ulRecordNum, + DISPPARAMS *pdispparams); + + HRESULT (STDMETHODCALLTYPE *GetRecordCount)( + IErrorRecords *This, + ULONG *records); + + END_INTERFACE +} IErrorRecordsVtbl; + +interface IErrorRecords { + CONST_VTBL IErrorRecordsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IErrorRecords_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IErrorRecords_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IErrorRecords_Release(This) (This)->lpVtbl->Release(This) +/*** IErrorRecords methods ***/ +#define IErrorRecords_AddErrorRecord(This,pErrorInfo,dwLookupID,pdispparams,punkCustomError,dwDynamicErrorID) (This)->lpVtbl->AddErrorRecord(This,pErrorInfo,dwLookupID,pdispparams,punkCustomError,dwDynamicErrorID) +#define IErrorRecords_GetBasicErrorInfo(This,ulRecordNum,pErrorInfo) (This)->lpVtbl->GetBasicErrorInfo(This,ulRecordNum,pErrorInfo) +#define IErrorRecords_GetCustomErrorObject(This,ulRecordNum,riid,ppObject) (This)->lpVtbl->GetCustomErrorObject(This,ulRecordNum,riid,ppObject) +#define IErrorRecords_GetErrorInfo(This,ulRecordNum,lcid,ppErrorInfo) (This)->lpVtbl->GetErrorInfo(This,ulRecordNum,lcid,ppErrorInfo) +#define IErrorRecords_GetErrorParameters(This,ulRecordNum,pdispparams) (This)->lpVtbl->GetErrorParameters(This,ulRecordNum,pdispparams) +#define IErrorRecords_GetRecordCount(This,records) (This)->lpVtbl->GetRecordCount(This,records) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IErrorRecords_QueryInterface(IErrorRecords* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IErrorRecords_AddRef(IErrorRecords* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IErrorRecords_Release(IErrorRecords* This) { + return This->lpVtbl->Release(This); +} +/*** IErrorRecords methods ***/ +static FORCEINLINE HRESULT IErrorRecords_AddErrorRecord(IErrorRecords* This,ERRORINFO *pErrorInfo,DWORD dwLookupID,DISPPARAMS *pdispparams,IUnknown *punkCustomError,DWORD dwDynamicErrorID) { + return This->lpVtbl->AddErrorRecord(This,pErrorInfo,dwLookupID,pdispparams,punkCustomError,dwDynamicErrorID); +} +static FORCEINLINE HRESULT IErrorRecords_GetBasicErrorInfo(IErrorRecords* This,ULONG ulRecordNum,ERRORINFO *pErrorInfo) { + return This->lpVtbl->GetBasicErrorInfo(This,ulRecordNum,pErrorInfo); +} +static FORCEINLINE HRESULT IErrorRecords_GetCustomErrorObject(IErrorRecords* This,ULONG ulRecordNum,REFIID riid,IUnknown **ppObject) { + return This->lpVtbl->GetCustomErrorObject(This,ulRecordNum,riid,ppObject); +} +static FORCEINLINE HRESULT IErrorRecords_GetErrorInfo(IErrorRecords* This,ULONG ulRecordNum,LCID lcid,IErrorInfo **ppErrorInfo) { + return This->lpVtbl->GetErrorInfo(This,ulRecordNum,lcid,ppErrorInfo); +} +static FORCEINLINE HRESULT IErrorRecords_GetErrorParameters(IErrorRecords* This,ULONG ulRecordNum,DISPPARAMS *pdispparams) { + return This->lpVtbl->GetErrorParameters(This,ulRecordNum,pdispparams); +} +static FORCEINLINE HRESULT IErrorRecords_GetRecordCount(IErrorRecords* This,ULONG *records) { + return This->lpVtbl->GetRecordCount(This,records); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IErrorRecords_RemoteAddErrorRecord_Proxy( + IErrorRecords* This, + ERRORINFO *pErrorInfo, + DWORD dwLookupID, + DISPPARAMS *pdispparams, + IUnknown *punkCustomError, + DWORD dwDynamicErrorID, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IErrorRecords_RemoteAddErrorRecord_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IErrorRecords_RemoteGetBasicErrorInfo_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + ERRORINFO *pErrorInfo, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IErrorRecords_RemoteGetBasicErrorInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IErrorRecords_RemoteGetCustomErrorObject_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + REFIID riid, + IUnknown **ppObject, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IErrorRecords_RemoteGetCustomErrorObject_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IErrorRecords_RemoteGetErrorInfo_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + LCID lcid, + IErrorInfo **ppErrorInfo, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IErrorRecords_RemoteGetErrorInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IErrorRecords_RemoteGetErrorParameters_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + DISPPARAMS *pdispparams, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IErrorRecords_RemoteGetErrorParameters_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IErrorRecords_RemoteGetRecordCount_Proxy( + IErrorRecords* This, + ULONG *pcRecords, + IErrorInfo **ppErrorInfoRem); +void __RPC_STUB IErrorRecords_RemoteGetRecordCount_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IErrorRecords_AddErrorRecord_Proxy( + IErrorRecords* This, + ERRORINFO *pErrorInfo, + DWORD dwLookupID, + DISPPARAMS *pdispparams, + IUnknown *punkCustomError, + DWORD dwDynamicErrorID); +HRESULT __RPC_STUB IErrorRecords_AddErrorRecord_Stub( + IErrorRecords* This, + ERRORINFO *pErrorInfo, + DWORD dwLookupID, + DISPPARAMS *pdispparams, + IUnknown *punkCustomError, + DWORD dwDynamicErrorID, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IErrorRecords_GetBasicErrorInfo_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + ERRORINFO *pErrorInfo); +HRESULT __RPC_STUB IErrorRecords_GetBasicErrorInfo_Stub( + IErrorRecords* This, + ULONG ulRecordNum, + ERRORINFO *pErrorInfo, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IErrorRecords_GetCustomErrorObject_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + REFIID riid, + IUnknown **ppObject); +HRESULT __RPC_STUB IErrorRecords_GetCustomErrorObject_Stub( + IErrorRecords* This, + ULONG ulRecordNum, + REFIID riid, + IUnknown **ppObject, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IErrorRecords_GetErrorInfo_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + LCID lcid, + IErrorInfo **ppErrorInfo); +HRESULT __RPC_STUB IErrorRecords_GetErrorInfo_Stub( + IErrorRecords* This, + ULONG ulRecordNum, + LCID lcid, + IErrorInfo **ppErrorInfo, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IErrorRecords_GetErrorParameters_Proxy( + IErrorRecords* This, + ULONG ulRecordNum, + DISPPARAMS *pdispparams); +HRESULT __RPC_STUB IErrorRecords_GetErrorParameters_Stub( + IErrorRecords* This, + ULONG ulRecordNum, + DISPPARAMS *pdispparams, + IErrorInfo **ppErrorInfoRem); +HRESULT CALLBACK IErrorRecords_GetRecordCount_Proxy( + IErrorRecords* This, + ULONG *records); +HRESULT __RPC_STUB IErrorRecords_GetRecordCount_Stub( + IErrorRecords* This, + ULONG *pcRecords, + IErrorInfo **ppErrorInfoRem); + +#endif /* __IErrorRecords_INTERFACE_DEFINED__ */ + +#include +#include + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __oledb_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledb.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledb.idl new file mode 100644 index 0000000..537bb21 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledb.idl @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +cpp_quote("#ifdef _WIN64") +cpp_quote("#include ") +cpp_quote("#else") +cpp_quote("#include ") +cpp_quote("#endif") +cpp_quote("") + +import "wtypes.idl"; +import "oaidl.idl"; +import "ocidl.idl"; +import "propidl.idl"; +import "urlmon.idl"; + +typedef ULONG_PTR DBBYTEOFFSET; +typedef LONG_PTR DBROWOFFSET; +typedef LONG_PTR DBROWCOUNT; +typedef ULONG_PTR DBCOUNTITEM; +typedef ULONG_PTR DBLENGTH; +typedef ULONG_PTR DBORDINAL; +typedef ULONG_PTR DBBKMARK; +typedef DWORD_PTR DB_DWRESERVE; +typedef ULONG_PTR DBREFCOUNT; +typedef ULONG_PTR DB_UPARAMS; +typedef LONG_PTR DB_LPARAMS; +typedef DWORD_PTR DBHASHVALUE; + +#include "dbs.idl" + +#include "access.idl" +#include "rstbas.idl" +#include "rstinf.idl" +#include "rstloc.idl" +#include "chprst.idl" +#include "cmdbas.idl" +#include "cmdtxt.idl" +#include "colinf.idl" +#include "dbccmd.idl" +#include "dbcses.idl" +#include "srcrst.idl" +#include "dbprop.idl" +#include "dbinit.idl" +#include "dbdsad.idl" +#include "asynot.idl" +#include "asysta.idl" +#include "sesprp.idl" +#include "rstnot.idl" +#include "opnrst.idl" +#include "row.idl" +#include "rowchg.idl" +#include "rowpos.idl" +#include "rowpsc.idl" +#include "binres.idl" +#include "crtrow.idl" +#include "errrec.idl" + +cpp_quote("#include ") + +cpp_quote("#include ") +cpp_quote("") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledberr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledberr.h new file mode 100644 index 0000000..8af38ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledberr.h @@ -0,0 +1,80 @@ +/* OLE DB error codes. + * + * Copyright 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + + +#ifndef __WINE_OLEDBERR_H +#define __WINE_OLEDBERR_H + +#define DB_E_BADBINDINFO 0x80040e08 + +#define DB_E_ERRORSINCOMMAND 0x80040e14 +#define DB_E_CANTCANCEL 0x80040e15 +#define DB_E_DIALECTNOTSUPPORTED 0x80040e16 +#define DB_E_DUPLICATEDATASOURCE 0x80040e17 +#define DB_E_CANNOTRESTART 0x80040e18 +#define DB_E_NOTFOUND 0x80040e19 + +#define DB_E_UNSUPPORTEDCONVERSION 0x80040e1d + +#define DB_E_ERRORSOCCURRED 0x80040e21 + +#define DB_E_BADSTORAGEFLAG 0x80040e26 +#define DB_E_BADCOMPAREOP 0x80040e27 +#define DB_E_BADSTATUSVALUE 0x80040e28 +#define DB_E_CANTSCROLLBACKWARDS 0x80040e29 +#define DB_E_BADREGIONHANDLE 0x80040e2a +#define DB_E_NONCONTIGUOUSRANGE 0x80040e2b +#define DB_E_INVALIDTRANSITION 0x80040e2c +#define DB_E_NOTASUBREGION 0x80040e2d +#define DB_E_MULTIPLESTATEMENTS 0x80040e2e +#define DB_E_INTEGRITYVIOLATION 0x80040e2f +#define DB_E_BADTYPENAME 0x80040e30 +#define DB_E_ABORTLIMITREACHED 0x80040e31 +#define DB_E_ROWSETINCOMMAND 0x80040e32 +#define DB_E_CANTTRANSLATE 0x80040e33 +#define DB_E_DUPLICATEINDEXID 0x80040e34 +#define DB_E_NOINDEX 0x80040e35 +#define DB_E_INDEXINUSE 0x80040e36 +#define DB_E_NOTABLE 0x80040e37 +#define DB_E_CONCURRENCYVIOLATION 0x80040e38 + +#define DB_E_TABLEINUSE 0x80040e40 +#define DB_E_NOLOCALE 0x80040e41 +#define DB_E_BADRECORDNUM 0x80040e42 +#define DB_E_BOOKMARKSKIPPED 0x80040e43 +#define DB_E_BADPROPERTYVALUE 0x80040e44 +#define DB_E_INVALID 0x80040e45 +#define DB_E_BADACCESSORFLAGS 0x80040e46 +#define DB_E_BADSTORAGEFLAGS 0x80040e47 +#define DB_E_BYREFACCESSORNOTSUPPORTED 0x80040e48 +#define DB_E_NULLACCESSORNOTSUPPORTED 0x80040e49 +#define DB_E_NOTPREPARED 0x80040e4a +#define DB_E_BADACCESSORTYPE 0x80040e4b +#define DB_E_WRITEONLYACCESSOR 0x80040e4c +#define DB_SEC_E_AUTH_FAILED 0x80040e4d +#define DB_E_CANCELED 0x80040e4e + +#define DB_E_ALREADYINITIALIZED 0x80040e52 +#define DB_E_DATAOVERFLOW 0x80040e57 + +#define DB_E_MISMATCHEDPROVIDER 0x80040e75 + +#define DB_S_ERRORSOCCURRED 0x00040eda + +#endif /* __WINE_OLEDBERR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledlg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledlg.h new file mode 100644 index 0000000..f009d76 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oledlg.h @@ -0,0 +1,979 @@ +/* + * Declarations for OLEDLG + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_OLEDLG_H +#define __WINE_OLEDLG_H + +#include +#include +#include +#include +#ifndef __WINESRC__ +# include +# include +#endif +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +typedef struct IOleUILinkContainerA *POLEUILINKCONTAINERA, *LPOLEUILINKCONTAINERA; +typedef struct IOleUILinkContainerW *POLEUILINKCONTAINERW, *LPOLEUILINKCONTAINERW; + +typedef struct IOleUILinkInfoA *POLEUILINKINFOA, *LPOLEUILINKINFOA; +typedef struct IOleUILinkInfoW *POLEUILINKINFOW, *LPOLEUILINKINFOW; + +typedef struct IOleUIObjInfoA *POLEUIOBJINFOA, *LPOLEUIOBJINFOA; +typedef struct IOleUIObjInfoW *POLEUIOBJINFOW, *LPOLEUIOBJINFOW; + +#define IDC_OLEUIHELP 99 + + +#define OLEUI_ERR_STANDARDMAX 116 + +#define OLEUI_BZERR_HTASKINVALID (OLEUI_ERR_STANDARDMAX+0) +#define OLEUI_BZ_SWITCHTOSELECTED (OLEUI_ERR_STANDARDMAX+1) +#define OLEUI_BZ_RETRYSELECTED (OLEUI_ERR_STANDARDMAX+2) +#define OLEUI_BZ_CALLUNBLOCKED (OLEUI_ERR_STANDARDMAX+3) + +#define OLEUI_FALSE 0 +#define OLEUI_SUCCESS 1 /* Same as OLEUI_OK */ +#define OLEUI_OK 1 /* OK button pressed */ +#define OLEUI_CANCEL 2 /* Cancel button pressed */ + +#define OLEUI_ERR_STANDARDMIN 100 +#define OLEUI_ERR_OLEMEMALLOC 100 +#define OLEUI_ERR_STRUCTURENULL 101 +#define OLEUI_ERR_STRUCTUREINVALID 102 +#define OLEUI_ERR_CBSTRUCTINCORRECT 103 +#define OLEUI_ERR_HWNDOWNERINVALID 104 +#define OLEUI_ERR_LPSZCAPTIONINVALID 105 +#define OLEUI_ERR_LPFNHOOKINVALID 106 +#define OLEUI_ERR_HINSTANCEINVALID 107 +#define OLEUI_ERR_LPSZTEMPLATEINVALID 108 +#define OLEUI_ERR_HRESOURCEINVALID 109 +#define OLEUI_ERR_FINDTEMPLATEFAILURE 110 +#define OLEUI_ERR_LOADTEMPLATEFAILURE 111 +#define OLEUI_ERR_DIALOGFAILURE 112 +#define OLEUI_ERR_LOCALMEMALLOC 113 +#define OLEUI_ERR_GLOBALMEMALLOC 114 +#define OLEUI_ERR_LOADSTRING 115 +#define OLEUI_ERR_STANDARDMAX 116 + +typedef UINT (CALLBACK *LPFNOLEUIHOOK)(HWND, UINT, WPARAM, LPARAM); + +/***************************************************************************** + * Registered Message Names + */ +#define SZOLEUI_MSG_HELPA "OLEUI_MSG_HELP" +#define SZOLEUI_MSG_ENDDIALOGA "OLEUI_MSG_ENDDIALOG" +#define SZOLEUI_MSG_BROWSEA "OLEUI_MSG_BROWSE" +#define SZOLEUI_MSG_CHANGEICONA "OLEUI_MSG_CHANGEICON" +#define SZOLEUI_MSG_CLOSEBUSYDIALOGA "OLEUI_MSG_CLOSEBUSYDIALOG" +#define SZOLEUI_MSG_CONVERTA "OLEUI_MSG_CONVERT" +#define SZOLEUI_MSG_CHANGESOURCEA "OLEUI_MSG_CHANGESOURCE" +#define SZOLEUI_MSG_ADDCONTROLA "OLEUI_MSG_ADDCONTROL" +#define SZOLEUI_MSG_BROWSE_OFNA "OLEUI_MSG_BROWSE_OFN" +#if defined(__GNUC__) +# define SZOLEUI_MSG_HELPW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','H','E','L','P',0 } +# define SZOLEUI_MSG_ENDDIALOGW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','E','N','D','D','I','A','L','O','G',0 } +# define SZOLEUI_MSG_BROWSEW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E',0 } +# define SZOLEUI_MSG_CHANGEICONW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','I','C','O','N',0 } +# define SZOLEUI_MSG_CLOSEBUSYDIALOGW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','L','O','S','E','B','U','S','Y','D','I','A','L','O','G',0 } +# define SZOLEUI_MSG_CONVERTW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','O','N','V','E','R','T',0 } +# define SZOLEUI_MSG_CHANGESOURCEW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','S','O','U','R','C','E',0 } +# define SZOLEUI_MSG_ADDCONTROLW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','A','D','D','C','O','N','T','R','O','L',0 } +# define SZOLEUI_MSG_BROWSE_OFNW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E','_','O','F','N',0 } +#elif defined(_MSC_VER) +# define SZOLEUI_MSG_HELPW L"OLEUI_MSG_HELP" +# define SZOLEUI_MSG_ENDDIALOGW L"OLEUI_MSG_ENDDIALOG" +# define SZOLEUI_MSG_BROWSEW L"OLEUI_MSG_BROWSE" +# define SZOLEUI_MSG_CHANGEICONW L"OLEUI_MSG_CHANGEICON" +# define SZOLEUI_MSG_CLOSEBUSYDIALOGW L"OLEUI_MSG_CLOSEBUSYDIALOG" +# define SZOLEUI_MSG_CONVERTW L"OLEUI_MSG_CONVERT" +# define SZOLEUI_MSG_CHANGESOURCEW L"OLEUI_MSG_CHANGESOURCE" +# define SZOLEUI_MSG_ADDCONTROLW L"OLEUI_MSG_ADDCONTROL" +# define SZOLEUI_MSG_BROWSE_OFNW L"OLEUI_MSG_BROWSE_OFN" +#else +static const WCHAR SZOLEUI_MSG_HELPW[] = { 'O','L','E','U','I','_','M','S','G','_','H','E','L','P',0 }; +static const WCHAR SZOLEUI_MSG_ENDDIALOGW[] = { 'O','L','E','U','I','_','M','S','G','_','E','N','D','D','I','A','L','O','G',0 }; +static const WCHAR SZOLEUI_MSG_BROWSEW[] = { 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E',0 }; +static const WCHAR SZOLEUI_MSG_CHANGEICONW[] = { 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','I','C','O','N',0 }; +static const WCHAR SZOLEUI_MSG_CLOSEBUSYDIALOGW[] = { 'O','L','E','U','I','_','M','S','G','_','C','L','O','S','E','B','U','S','Y','D','I','A','L','O','G',0 }; +static const WCHAR SZOLEUI_MSG_CONVERTW[] = { 'O','L','E','U','I','_','M','S','G','_','C','O','N','V','E','R','T',0 }; +static const WCHAR SZOLEUI_MSG_CHANGESOURCEW[] = { 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','S','O','U','R','C','E',0 }; +static const WCHAR SZOLEUI_MSG_ADDCONTROLW[] = { 'O','L','E','U','I','_','M','S','G','_','A','D','D','C','O','N','T','R','O','L',0 }; +static const WCHAR SZOLEUI_MSG_BROWSE_OFNW[] = { 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E','_','O','F','N',0 }; +#endif +#define SZOLEUI_MSG_HELP WINELIB_NAME_AW(SZOLEUI_MSG_HELP) +#define SZOLEUI_MSG_ENDDIALOG WINELIB_NAME_AW(SZOLEUI_MSG_ENDDIALOG) +#define SZOLEUI_MSG_BROWSE WINELIB_NAME_AW(SZOLEUI_MSG_BROWSE) +#define SZOLEUI_MSG_CHANGEICON WINELIB_NAME_AW(SZOLEUI_MSG_CHANGEICON) +#define SZOLEUI_MSG_CLOSEBUSYDIALOG WINELIB_NAME_AW(SZOLEUI_MSG_CLOSEBUSYDIALOG) +#define SZOLEUI_MSG_CONVERT WINELIB_NAME_AW(SZOLEUI_MSG_CONVERT) +#define SZOLEUI_MSG_CHANGESOURCE WINELIB_NAME_AW(SZOLEUI_MSG_CHANGESOURCE) +#define SZOLEUI_MSG_ADDCONTROL WINELIB_NAME_AW(SZOLEUI_MSG_ADDCONTROL) +#define SZOLEUI_MSG_BROWSE_OFN WINELIB_NAME_AW(SZOLEUI_MSG_BROWSE_OFN) + + +/***************************************************************************** + * INSERT OBJECT DIALOG + */ +typedef struct tagOLEUIINSERTOBJECTA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + CLSID clsid; + LPSTR lpszFile; + UINT cchFile; + UINT cClsidExclude; + LPCLSID lpClsidExclude; + IID iid; + DWORD oleRender; + LPFORMATETC lpFormatEtc; + LPOLECLIENTSITE lpIOleClientSite; + LPSTORAGE lpIStorage; + LPVOID *ppvObj; + SCODE sc; + HGLOBAL hMetaPict; +} OLEUIINSERTOBJECTA, *POLEUIINSERTOBJECTA, *LPOLEUIINSERTOBJECTA; + +typedef struct tagOLEUIINSERTOBJECTW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + CLSID clsid; + LPWSTR lpszFile; + UINT cchFile; + UINT cClsidExclude; + LPCLSID lpClsidExclude; + IID iid; + DWORD oleRender; + LPFORMATETC lpFormatEtc; + LPOLECLIENTSITE lpIOleClientSite; + LPSTORAGE lpIStorage; + LPVOID *ppvObj; + SCODE sc; + HGLOBAL hMetaPict; +} OLEUIINSERTOBJECTW, *POLEUIINSERTOBJECTW, *LPOLEUIINSERTOBJECTW; + +DECL_WINELIB_TYPE_AW(OLEUIINSERTOBJECT) +DECL_WINELIB_TYPE_AW(POLEUIINSERTOBJECT) +DECL_WINELIB_TYPE_AW(LPOLEUIINSERTOBJECT) + +#define IOF_SHOWHELP __MSABI_LONG(0x00000001) +#define IOF_SELECTCREATENEW __MSABI_LONG(0x00000002) +#define IOF_SELECTCREATEFROMFILE __MSABI_LONG(0x00000004) +#define IOF_CHECKLINK __MSABI_LONG(0x00000008) +#define IOF_CHECKDISPLAYASICON __MSABI_LONG(0x00000010) +#define IOF_CREATENEWOBJECT __MSABI_LONG(0x00000020) +#define IOF_CREATEFILEOBJECT __MSABI_LONG(0x00000040) +#define IOF_CREATELINKOBJECT __MSABI_LONG(0x00000080) +#define IOF_DISABLELINK __MSABI_LONG(0x00000100) +#define IOF_VERIFYSERVERSEXIST __MSABI_LONG(0x00000200) +#define IOF_DISABLEDISPLAYASICON __MSABI_LONG(0x00000400) +#define IOF_HIDECHANGEICON __MSABI_LONG(0x00000800) +#define IOF_SHOWINSERTCONTROL __MSABI_LONG(0x00001000) +#define IOF_SELECTCREATECONTROL __MSABI_LONG(0x00002000) + +/***************************************************************************** + * CONVERT DIALOG + */ +typedef struct tagOLEUICONVERTA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + CLSID clsid; + CLSID clsidConvertDefault; + CLSID clsidActivateDefault; + CLSID clsidNew; + DWORD dvAspect; + WORD wFormat; + BOOL fIsLinkedObject; + HGLOBAL hMetaPict; + LPSTR lpszUserType; + BOOL fObjectsIconChanged; + LPSTR lpszDefLabel; + UINT cClsidExclude; + LPCLSID lpClsidExclude; +} OLEUICONVERTA, *POLEUICONVERTA, *LPOLEUICONVERTA; + +typedef struct tagOLEUICONVERTW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + CLSID clsid; + CLSID clsidConvertDefault; + CLSID clsidActivateDefault; + CLSID clsidNew; + DWORD dvAspect; + WORD wFormat; + BOOL fIsLinkedObject; + HGLOBAL hMetaPict; + LPWSTR lpszUserType; + BOOL fObjectsIconChanged; + LPWSTR lpszDefLabel; + UINT cClsidExclude; + LPCLSID lpClsidExclude; +} OLEUICONVERTW, *POLEUICONVERTW, *LPOLEUICONVERTW; + +DECL_WINELIB_TYPE_AW(OLEUICONVERT) +DECL_WINELIB_TYPE_AW(POLEUICONVERT) +DECL_WINELIB_TYPE_AW(LPOLEUICONVERT) + +#define CF_SHOWHELPBUTTON __MSABI_LONG(0x00000001) +#define CF_SETCONVERTDEFAULT __MSABI_LONG(0x00000002) +#define CF_SETACTIVATEDEFAULT __MSABI_LONG(0x00000004) +#define CF_SELECTCONVERTTO __MSABI_LONG(0x00000008) +#define CF_SELECTACTIVATEAS __MSABI_LONG(0x00000010) +#define CF_DISABLEDISPLAYASICON __MSABI_LONG(0x00000020) +#define CF_DISABLEACTIVATEAS __MSABI_LONG(0x00000040) +#define CF_HIDECHANGEICON __MSABI_LONG(0x00000080) +#define CF_CONVERTONLY __MSABI_LONG(0x00000100) + +/***************************************************************************** + * CHANGE ICON DIALOG + */ +typedef struct tagOLEUICHANGEICONA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + HGLOBAL hMetaPict; + CLSID clsid; + CHAR szIconExe[MAX_PATH]; + INT cchIconExe; +} OLEUICHANGEICONA, *POLEUICHANGEICONA, *LPOLEUICHANGEICONA; + +typedef struct tagOLEUICHANGEICONW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + HGLOBAL hMetaPict; + CLSID clsid; + WCHAR szIconExe[MAX_PATH]; + INT cchIconExe; +} OLEUICHANGEICONW, *POLEUICHANGEICONW, *LPOLEUICHANGEICONW; + +DECL_WINELIB_TYPE_AW(OLEUICHANGEICON) +DECL_WINELIB_TYPE_AW(POLEUICHANGEICON) +DECL_WINELIB_TYPE_AW(LPOLEUICHANGEICON) + + +#define CIF_SHOWHELP __MSABI_LONG(0x00000001) +#define CIF_SELECTCURRENT __MSABI_LONG(0x00000002) +#define CIF_SELECTDEFAULT __MSABI_LONG(0x00000004) +#define CIF_SELECTFROMFILE __MSABI_LONG(0x00000008) +#define CIF_USEICONEXE __MSABI_LONG(0x00000010) + +/***************************************************************************** + * PASTE SPECIAL DIALOG + */ + +typedef enum tagOLEUIPASTEFLAG +{ + OLEUIPASTE_ENABLEICON = 2048, + OLEUIPASTE_PASTEONLY = 0, + OLEUIPASTE_PASTE = 512, + OLEUIPASTE_LINKANYTYPE = 1024, + OLEUIPASTE_LINKTYPE1 = 1, + OLEUIPASTE_LINKTYPE2 = 2, + OLEUIPASTE_LINKTYPE3 = 4, + OLEUIPASTE_LINKTYPE4 = 8, + OLEUIPASTE_LINKTYPE5 = 16, + OLEUIPASTE_LINKTYPE6 = 32, + OLEUIPASTE_LINKTYPE7 = 64, + OLEUIPASTE_LINKTYPE8 = 128 +} OLEUIPASTEFLAG; + +typedef struct tagOLEUIPASTEENTRYA +{ + FORMATETC fmtetc; + LPCSTR lpstrFormatName; + LPCSTR lpstrResultText; + DWORD dwFlags; + DWORD dwScratchSpace; +} OLEUIPASTEENTRYA, *POLEUIPASTEENTRYA, *LPOLEUIPASTEENTRYA; + +typedef struct tagOLEUIPASTEENTRYW +{ + FORMATETC fmtetc; + LPCWSTR lpstrFormatName; + LPCWSTR lpstrResultText; + DWORD dwFlags; + DWORD dwScratchSpace; +} OLEUIPASTEENTRYW, *POLEUIPASTEENTRYW, *LPOLEUIPASTEENTRYW; + +DECL_WINELIB_TYPE_AW(OLEUIPASTEENTRY) +DECL_WINELIB_TYPE_AW(POLEUIPASTEENTRY) +DECL_WINELIB_TYPE_AW(LPOLEUIPASTEENTRY) + +typedef struct tagOLEUIPASTESPECIALA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + LPDATAOBJECT lpSrcDataObj; + LPOLEUIPASTEENTRYA arrPasteEntries; + INT cPasteEntries; + UINT* arrLinkTypes; + INT cLinkTypes; + UINT cClsidExclude; + LPCLSID lpClsidExclude; + INT nSelectedIndex; + BOOL fLink; + HGLOBAL hMetaPict; + SIZEL sizel; +} OLEUIPASTESPECIALA, *POLEUIPASTESPECIALA, *LPOLEUIPASTESPECIALA; + +typedef struct tagOLEUIPASTESPECIALW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + LPDATAOBJECT lpSrcDataObj; + LPOLEUIPASTEENTRYW arrPasteEntries; + INT cPasteEntries; + UINT* arrLinkTypes; + INT cLinkTypes; + UINT cClsidExclude; + LPCLSID lpClsidExclude; + INT nSelectedIndex; + BOOL fLink; + HGLOBAL hMetaPict; + SIZEL sizel; +} OLEUIPASTESPECIALW, *POLEUIPASTESPECIALW, *LPOLEUIPASTESPECIALW; + +DECL_WINELIB_TYPE_AW(OLEUIPASTESPECIAL) +DECL_WINELIB_TYPE_AW(POLEUIPASTESPECIAL) +DECL_WINELIB_TYPE_AW(LPOLEUIPASTESPECIAL) + +#define PS_MAXLINKTYPES 8 + +#define PSF_SHOWHELP __MSABI_LONG(0x00000001) +#define PSF_SELECTPASTE __MSABI_LONG(0x00000002) +#define PSF_SELECTPASTELINK __MSABI_LONG(0x00000004) + +#define PSF_CHECKDISPLAYASICON __MSABI_LONG(0x00000008) +#define PSF_DISABLEDISPLAYASICON __MSABI_LONG(0x00000010) +#define PSF_HIDECHANGEICON __MSABI_LONG(0x00000020) +#define PSF_STAYONCLIPBOARDCHANGE __MSABI_LONG(0x00000040) +#define PSF_NOREFRESHDATAOBJECT __MSABI_LONG(0x00000080) + +#define OLEUI_IOERR_SRCDATAOBJECTINVALID (OLEUI_ERR_STANDARDMAX+0) +#define OLEUI_IOERR_ARRPASTEENTRIESINVALID (OLEUI_ERR_STANDARDMAX+1) +#define OLEUI_IOERR_ARRLINKTYPESINVALID (OLEUI_ERR_STANDARDMAX+2) +#define OLEUI_PSERR_CLIPBOARDCHANGED (OLEUI_ERR_STANDARDMAX+3) +#define OLEUI_PSERR_GETCLIPBOARDFAILED (OLEUI_ERR_STANDARDMAX+4) + +/* Paste Special dialog resource ids */ +#define IDD_PASTESPECIAL 1003 +#define IDD_PASTESPECIAL4 1108 + +/* Paste Special dialog control ids */ +#define IDC_PS_PASTE 500 +#define IDC_PS_PASTELINK 501 +#define IDC_PS_SOURCETEXT 502 +#define IDC_PS_PASTELIST 503 +#define IDC_PS_PASTELINKLIST 504 +#define IDC_PS_DISPLAYLIST 505 +#define IDC_PS_DISPLAYASICON 506 +#define IDC_PS_ICONDISPLAY 507 +#define IDC_PS_CHANGEICON 508 +#define IDC_PS_RESULTIMAGE 509 +#define IDC_PS_RESULTTEXT 510 + +/***************************************************************************** + * EDIT LINKS DIALOG + */ + +#define ELF_SHOWHELP __MSABI_LONG(0x00000001) +#define ELF_DISABLEUPDATENOW __MSABI_LONG(0x00000002) +#define ELF_DISABLEOPENSOURCE __MSABI_LONG(0x00000004) +#define ELF_DISABLECHANGESOURCE __MSABI_LONG(0x00000008) +#define ELF_DISABLECANCELLINK __MSABI_LONG(0x00000010) + +typedef struct tagOLEUIEDITLINKSW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + LPOLEUILINKCONTAINERW lpOleUILinkContainer; +} OLEUIEDITLINKSW, *POLEUIEDITLINKSW, *LPOLEUIEDITLINKSW; + +typedef struct tagOLEUIEDITLINKSA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + LPOLEUILINKCONTAINERA lpOleUILinkContainer; +} OLEUIEDITLINKSA, *POLEUIEDITLINKSA, *LPOLEUIEDITLINKSA; + +DECL_WINELIB_TYPE_AW(OLEUIEDITLINKS) +DECL_WINELIB_TYPE_AW(POLEUIEDITLINKS) +DECL_WINELIB_TYPE_AW(LPOLEUIEDITLINKS) + + +/*********************************************************************************** + * BUSY DIALOG + */ +typedef struct tagOLEUIBUSYA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + HTASK hTask; + HWND* lphWndDialog; +} OLEUIBUSYA, *POLEUIBUSYA, *LPOLEUIBUSYA; + +typedef struct tagOLEUIBUSYW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + HTASK hTask; + HWND* lphWndDialog; +} OLEUIBUSYW, *POLEUIBUSYW, *LPOLEUIBUSYW; + +DECL_WINELIB_TYPE_AW(OLEUIBUSY) +DECL_WINELIB_TYPE_AW(POLEUIBUSY) +DECL_WINELIB_TYPE_AW(LPOLEUIBUSY) + + +#define BZ_DISABLECANCELBUTTON __MSABI_LONG(0x00000001) +#define BZ_DISABLESWITCHTOBUTTON __MSABI_LONG(0x00000002) +#define BZ_DISABLERETRYBUTTON __MSABI_LONG(0x00000004) +#define BZ_NOTRESPONDINGDIALOG __MSABI_LONG(0x00000008) + +/*********************************************************************************** + * OBJECT PROPERTIES DIALOG + */ + +struct tagOLEUIOBJECTPROPSW; +struct tagOLEUIOBJECTPROPSA; + +typedef struct tagOLEUIGNRLPROPSA +{ + DWORD cbStruct; + DWORD dwFlags; + DWORD dwReserved1[2]; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + DWORD dwReserved2[3]; + struct tagOLEUIOBJECTPROPSA* lpOP; + +} OLEUIGNRLPROPSA, *POLEUIGNRLPROPSA, *LPOLEUIGNRLPROPSA; + +typedef struct tagOLEUIGNRLPROPSW +{ + DWORD cbStruct; + DWORD dwFlags; + DWORD dwReserved1[2]; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + DWORD dwReserved2[3]; + struct tagOLEUIOBJECTPROPSW* lpOP; +} OLEUIGNRLPROPSW, *POLEUIGNRLPROPSW, *LPOLEUIGNRLPROPSW; + +DECL_WINELIB_TYPE_AW(OLEUIGNRLPROPS) +DECL_WINELIB_TYPE_AW(POLEUIGNRLPROPS) +DECL_WINELIB_TYPE_AW(LPOLEUIGNRLPROPS) + +typedef struct tagOLEUIVIEWPROPSA +{ + DWORD cbStruct; + DWORD dwFlags; + DWORD dwReserved1[2]; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + DWORD dwReserved2[3]; + struct tagOLEUIOBJECTPROPSA* lpOP; + INT nScaleMin; + INT nScaleMax; +} OLEUIVIEWPROPSA, *POLEUIVIEWPROPSA, *LPOLEUIVIEWPROPSA; + +typedef struct tagOLEUIVIEWPROPSW +{ + DWORD cbStruct; + DWORD dwFlags; + DWORD dwReserved1[2]; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + DWORD dwReserved2[3]; + struct tagOLEUIOBJECTPROPSW* lpOP; + INT nScaleMin; + INT nScaleMax; +} OLEUIVIEWPROPSW, *POLEUIVIEWPROPSW, *LPOLEUIVIEWPROPSW; + +DECL_WINELIB_TYPE_AW(OLEUIVIEWPROPS) +DECL_WINELIB_TYPE_AW(POLEUIVIEWPROPS) +DECL_WINELIB_TYPE_AW(LPOLEUIVIEWPROPS) + + +#define VPF_SELECTRELATIVE __MSABI_LONG(0x00000001) +#define VPF_DISABLERELATIVE __MSABI_LONG(0x00000002) +#define VPF_DISABLESCALE __MSABI_LONG(0x00000004) + +typedef struct tagOLEUILINKPROPSA +{ + DWORD cbStruct; + DWORD dwFlags; + DWORD dwReserved1[2]; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + DWORD dwReserved2[3]; + struct tagOLEUIOBJECTPROPSA* lpOP; +} OLEUILINKPROPSA, *POLEUILINKPROPSA, *LPOLEUILINKPROPSA; + +typedef struct tagOLEUILINKPROPSW +{ + DWORD cbStruct; + DWORD dwFlags; + DWORD dwReserved1[2]; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + DWORD dwReserved2[3]; + struct tagOLEUIOBJECTPROPSW* lpOP; +} OLEUILINKPROPSW, *POLEUILINKPROPSW, *LPOLEUILINKPROPSW; + +DECL_WINELIB_TYPE_AW(OLEUILINKPROPS) +DECL_WINELIB_TYPE_AW(POLEUILINKPROPS) +DECL_WINELIB_TYPE_AW(LPOLEUILINKPROPS) + +typedef struct tagOLEUIOBJECTPROPSA +{ + DWORD cbStruct; + DWORD dwFlags; + LPPROPSHEETHEADERA lpPS; + DWORD dwObject; + LPOLEUIOBJINFOA lpObjInfo; + DWORD dwLink; + LPOLEUILINKINFOA lpLinkInfo; + LPOLEUIGNRLPROPSA lpGP; + LPOLEUIVIEWPROPSA lpVP; + LPOLEUILINKPROPSA lpLP; +} OLEUIOBJECTPROPSA, *POLEUIOBJECTPROPSA, *LPOLEUIOBJECTPROPSA; + +typedef struct tagOLEUIOBJECTPROPSW +{ + DWORD cbStruct; + DWORD dwFlags; + LPPROPSHEETHEADERW lpPS; + DWORD dwObject; + LPOLEUIOBJINFOW lpObjInfo; + DWORD dwLink; + LPOLEUILINKINFOW lpLinkInfo; + LPOLEUIGNRLPROPSW lpGP; + LPOLEUIVIEWPROPSW lpVP; + LPOLEUILINKPROPSW lpLP; +} OLEUIOBJECTPROPSW, *POLEUIOBJECTPROPSW, *LPOLEUIOBJECTPROPSW; + +DECL_WINELIB_TYPE_AW(OLEUIOBJECTPROPS) +DECL_WINELIB_TYPE_AW(POLEUIOBJECTPROPS) +DECL_WINELIB_TYPE_AW(LPOLEUIOBJECTPROPS) + +#define OPF_OBJECTISLINK __MSABI_LONG(0x00000001) +#define OPF_NOFILLDEFAULT __MSABI_LONG(0x00000002) +#define OPF_SHOWHELP __MSABI_LONG(0x00000004) +#define OPF_DISABLECONVERT __MSABI_LONG(0x00000008) + + +/************************************************************************************ + * CHANGE SOURCE DIALOG + */ + + +typedef struct tagOLEUICHANGESOURCEW +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCWSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCWSTR lpszTemplate; + HRSRC hResource; + OPENFILENAMEW*lpOFN; + DWORD dwReserved1[4]; + LPOLEUILINKCONTAINERW lpOleUILinkContainer; + DWORD dwLink; + LPWSTR lpszDisplayName; + ULONG nFileLength; + LPWSTR lpszFrom; + LPWSTR lpszTo; +} OLEUICHANGESOURCEW, *POLEUICHANGESOURCEW, *LPOLEUICHANGESOURCEW; + + +typedef struct tagOLEUICHANGESOURCEA +{ + DWORD cbStruct; + DWORD dwFlags; + HWND hWndOwner; + LPCSTR lpszCaption; + LPFNOLEUIHOOK lpfnHook; + LPARAM lCustData; + HINSTANCE hInstance; + LPCSTR lpszTemplate; + HRSRC hResource; + OPENFILENAMEA* lpOFN; + DWORD dwReserved1[4]; + LPOLEUILINKCONTAINERA lpOleUILinkContainer; + DWORD dwLink; + LPSTR lpszDisplayName; + ULONG nFileLength; + LPSTR lpszFrom; + LPSTR lpszTo; +} OLEUICHANGESOURCEA, *POLEUICHANGESOURCEA, *LPOLEUICHANGESOURCEA; + + +DECL_WINELIB_TYPE_AW(OLEUICHANGESOURCE) +DECL_WINELIB_TYPE_AW(POLEUICHANGESOURCE) +DECL_WINELIB_TYPE_AW(LPOLEUICHANGESOURCE) + +/* Change Source Dialog flags */ +#define CSF_SHOWHELP __MSABI_LONG(0x00000001) +#define CSF_VALIDSOURCE __MSABI_LONG(0x00000002) +#define CSF_ONLYGETSOURCE __MSABI_LONG(0x00000004) +#define CSF_EXPLORER __MSABI_LONG(0x00000008) + + +/***************************************************************************** + * IOleUILinkContainer interface + */ +#define INTERFACE IOleUILinkContainerA +DECLARE_INTERFACE_(IOleUILinkContainerA,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IOleUILinkContainerA methods ***/ + STDMETHOD_(DWORD,GetNextLink)(THIS_ DWORD dwLink) PURE; + STDMETHOD(SetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD dwUpdateOpt) PURE; + STDMETHOD(GetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD *lpdwUpdateOpt) PURE; + STDMETHOD(SetLinkSource)(THIS_ DWORD dwLink, LPSTR lpszDisplayName, + ULONG lenFileName, ULONG *pchEaten, BOOL fValidateSource) PURE; + STDMETHOD(GetLinkSource)(THIS_ DWORD dwLink, LPSTR *lplpszDisplayName, ULONG *lplenFileName, + LPSTR *lplpszFullLinkType, LPSTR *lplpszShortLinkType, + BOOL *lpfSourceAvailable, BOOL *lpfIsSelected) PURE; + STDMETHOD(OpenLinkSource)(THIS_ DWORD dwLink) PURE; + STDMETHOD(UpdateLink)(THIS_ DWORD dwLink, BOOL fErrorMessage, BOOL fReserved) PURE; + STDMETHOD(CancelLink)(THIS_ DWORD dwLink) PURE; +}; +#undef INTERFACE + +#define INTERFACE IOleUILinkContainerW +DECLARE_INTERFACE_(IOleUILinkContainerW,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IOleUILinkContainerW methods ***/ + STDMETHOD_(DWORD,GetNextLink)(THIS_ DWORD dwLink) PURE; + STDMETHOD(SetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD dwUpdateOpt) PURE; + STDMETHOD(GetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD *lpdwUpdateOpt) PURE; + STDMETHOD(SetLinkSource)(THIS_ DWORD dwLink, LPWSTR lpszDisplayName, + ULONG lenFileName, ULONG *pchEaten, BOOL fValidateSource) PURE; + STDMETHOD(GetLinkSource)(THIS_ DWORD dwLink, LPWSTR *lplpszDisplayName, ULONG *lplenFileName, + LPWSTR *lplpszFullLinkType, LPWSTR *lplpszShortLinkType, + BOOL *lpfSourceAvailable, BOOL *lpfIsSelected) PURE; + STDMETHOD(OpenLinkSource)(THIS_ DWORD dwLink) PURE; + STDMETHOD(UpdateLink)(THIS_ DWORD dwLink, BOOL fErrorMessage, BOOL fReserved) PURE; + STDMETHOD(CancelLink)(THIS_ DWORD dwLink) PURE; +}; +#undef INTERFACE + +DECL_WINELIB_TYPE_AW(IOleUILinkContainer) +DECL_WINELIB_TYPE_AW(POLEUILINKCONTAINER) +DECL_WINELIB_TYPE_AW(LPOLEUILINKCONTAINER) + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IOleUILinkContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IOleUILinkContainer_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IOleUILinkContainer_Release(p) (p)->lpVtbl->Release(p) +/*** IOleUILinkContainer methods ***/ +#define IOleUILinkContainer_GetNextLink(p,a) (p)->lpVtbl->GetNextLink(p,a) +#define IOleUILinkContainer_SetLinkUpdateOptions(p,a,b) (p)->lpVtbl->SetLinkUpdateOptions(p,a,b) +#define IOleUILinkContainer_GetLinkUpdateOptions(p,a,b) (p)->lpVtbl->GetLinkUpdateOptions(p,a,b) +#define IOleUILinkContainer_SetLinkSource(p,a,b,c,d,e) (p)->lpVtbl->SetLinkSource(p,a,b,c,d,e) +#define IOleUILinkContainer_GetLinkSource(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetLinkSource(p,a,b,c,d,e,f,g) +#define IOleUILinkContainer_OpenLinkSource(p,a) (p)->lpVtbl->OpenLinkSource(p,a) +#define IOleUILinkContainer_UpdateLink(p,a,b,c) (p)->lpVtbl->UpdateLink(p,a,b,c) +#define IOleUILinkContainer_CancelLink(p,a) (p)->lpVtbl->CancelLink(p,a) +#endif + + +/***************************************************************************** + * IOleUILinkInfo interface + */ +#define INTERFACE IOleUILinkInfoA +DECLARE_INTERFACE_(IOleUILinkInfoA,IOleUILinkContainerA) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IOleUILinkContainerA methods ***/ + STDMETHOD_(DWORD,GetNextLink)(THIS_ DWORD dwLink) PURE; + STDMETHOD(SetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD dwUpdateOpt) PURE; + STDMETHOD(GetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD *lpdwUpdateOpt) PURE; + STDMETHOD(SetLinkSource)(THIS_ DWORD dwLink, LPSTR lpszDisplayName, + ULONG lenFileName, ULONG *pchEaten, BOOL fValidateSource) PURE; + STDMETHOD(GetLinkSource)(THIS_ DWORD dwLink, LPSTR *lplpszDisplayName, ULONG *lplenFileName, + LPSTR *lplpszFullLinkType, LPSTR *lplpszShortLinkType, + BOOL *lpfSourceAvailable, BOOL *lpfIsSelected) PURE; + STDMETHOD(OpenLinkSource)(THIS_ DWORD dwLink) PURE; + STDMETHOD(UpdateLink)(THIS_ DWORD dwLink, BOOL fErrorMessage, BOOL fReserved) PURE; + STDMETHOD(CancelLink)(THIS_ DWORD dwLink) PURE; + /*** IOleUILinkInfoA methods ***/ + STDMETHOD(GetLastUpdate)(THIS_ DWORD dwLink, FILETIME *lpLastUpdate) PURE; +}; +#undef INTERFACE + +#define INTERFACE IOleUILinkInfoW +DECLARE_INTERFACE_(IOleUILinkInfoW,IOleUILinkContainerW) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IOleUILinkContainerW methods ***/ + STDMETHOD_(DWORD,GetNextLink)(THIS_ DWORD dwLink) PURE; + STDMETHOD(SetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD dwUpdateOpt) PURE; + STDMETHOD(GetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD *lpdwUpdateOpt) PURE; + STDMETHOD(SetLinkSource)(THIS_ DWORD dwLink, LPWSTR lpszDisplayName, + ULONG lenFileName, ULONG *pchEaten, BOOL fValidateSource) PURE; + STDMETHOD(GetLinkSource)(THIS_ DWORD dwLink, LPWSTR *lplpszDisplayName, ULONG *lplenFileName, + LPWSTR *lplpszFullLinkType, LPWSTR *lplpszShortLinkType, + BOOL *lpfSourceAvailable, BOOL *lpfIsSelected) PURE; + STDMETHOD(OpenLinkSource)(THIS_ DWORD dwLink) PURE; + STDMETHOD(UpdateLink)(THIS_ DWORD dwLink, BOOL fErrorMessage, BOOL fReserved) PURE; + STDMETHOD(CancelLink)(THIS_ DWORD dwLink) PURE; + /*** IOleUILinkInfoW methods ***/ + STDMETHOD(GetLastUpdate)(THIS_ DWORD dwLink, FILETIME *lpLastUpdate) PURE; +}; +#undef INTERFACE + +DECL_WINELIB_TYPE_AW(IOleUILinkInfo) +DECL_WINELIB_TYPE_AW(POLEUILINKINFO) +DECL_WINELIB_TYPE_AW(LPOLEUILINKINFO) + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IOleUILinkInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IOleUILinkInfo_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IOleUILinkInfo_Release(p) (p)->lpVtbl->Release(p) +/*** IOleUILinkContainer methods ***/ +#define IOleUILinkInfo_GetNextLink(p,a) (p)->lpVtbl->GetNextLink(p,a) +#define IOleUILinkInfo_SetLinkUpdateOptions(p,a,b) (p)->lpVtbl->SetLinkUpdateOptions(p,a,b) +#define IOleUILinkInfo_GetLinkUpdateOptions(p,a,b) (p)->lpVtbl->GetLinkUpdateOptions(p,a,b) +#define IOleUILinkInfo_SetLinkSource(p,a,b,c,d,e) (p)->lpVtbl->SetLinkSource(p,a,b,c,d,e) +#define IOleUILinkInfo_GetLinkSource(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetLinkSource(p,a,b,c,d,e,f,g) +#define IOleUILinkInfo_OpenLinkSource(p,a) (p)->lpVtbl->OpenLinkSource(p,a) +#define IOleUILinkInfo_UpdateLink(p,a,b,c) (p)->lpVtbl->UpdateLink(p,a,b,c) +#define IOleUILinkInfo_CancelLink(p,a) (p)->lpVtbl->CancelLink(p,a) +/*** IOleUILinkInfo methods ***/ +#define IOleUILinkInfo_GetLastUpdate(p,a,b) (p)->lpVtbl->GetLastUpdate(p,a,b) +#endif + + +/***************************************************************************** + * IOleUIObjInfo interface + */ +#define INTERFACE IOleUIObjInfoA +DECLARE_INTERFACE_(IOleUIObjInfoA,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IOleUIObjInfoA methods ***/ + STDMETHOD(GetObjectInfo)(THIS_ DWORD dwObject, DWORD *lpdwObjSize, LPSTR *lplpszLabel, + LPSTR *lplpszType, LPSTR *lplpszShortType, LPSTR *lplpszLocation) PURE; + STDMETHOD(GetConvertInfo)(THIS_ DWORD dwObject, CLSID *lpClassID, WORD *lpwFormat, + CLSID *lpConvertDefaultClassID, LPCLSID *lplpClsidExclude, UINT *lpcClsidExclude) PURE; + STDMETHOD(ConvertObject)(THIS_ DWORD dwObject, REFCLSID clsidNew) PURE; + STDMETHOD(GetViewInfo)(THIS_ DWORD dwObject, HGLOBAL *phMetaPict, DWORD *pdvAspect, INT *pnCurrentScale) PURE; + STDMETHOD(SetViewInfo)(THIS_ DWORD dwObject, HGLOBAL hMetaPict, DWORD dvAspect, + INT nCurrentScale, BOOL bRelativeToOrig) PURE; +}; +#undef INTERFACE + +#define INTERFACE IOleUIObjInfoW +DECLARE_INTERFACE_(IOleUIObjInfoW,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IOleUIObjInfoW methods ***/ + STDMETHOD(GetObjectInfo)(THIS_ DWORD dwObject, DWORD *lpdwObjSize, LPWSTR *lplpszLabel, + LPWSTR *lplpszType, LPWSTR *lplpszShortType, LPWSTR *lplpszLocation) PURE; + STDMETHOD(GetConvertInfo)(THIS_ DWORD dwObject, CLSID *lpClassID, WORD *lpwFormat, + CLSID *lpConvertDefaultClassID, LPCLSID *lplpClsidExclude, UINT *lpcClsidExclude) PURE; + STDMETHOD(ConvertObject)(THIS_ DWORD dwObject, REFCLSID clsidNew) PURE; + STDMETHOD(GetViewInfo)(THIS_ DWORD dwObject, HGLOBAL *phMetaPict, DWORD *pdvAspect, INT *pnCurrentScale) PURE; + STDMETHOD(SetViewInfo)(THIS_ DWORD dwObject, HGLOBAL hMetaPict, DWORD dvAspect, + INT nCurrentScale, BOOL bRelativeToOrig) PURE; +}; +#undef INTERFACE + +DECL_WINELIB_TYPE_AW(IOleUIObjInfo) +DECL_WINELIB_TYPE_AW(POLEUIOBJINFO) +DECL_WINELIB_TYPE_AW(LPOLEUIOBJINFO) + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IOleUIObjInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IOleUIObjInfo_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IOleUIObjInfo_Release(p) (p)->lpVtbl->Release(p) +/*** IOleUIObjInfo methods ***/ +#define IOleUIObjInfo_GetObjectInfo(p,a,b,c,d,e,f) (p)->lpVtbl->GetObjectInfo(p,a,b,c,d,e,f) +#define IOleUIObjInfo_GetConvertInfo(p,a,b,c,d,e,f) (p)->lpVtbl->GetConvertInfo(p,a,b,c,d,e,f) +#define IOleUIObjInfo_ConvertObject(p,a,b) (p)->lpVtbl->ConvertObject(p,a,b) +#define IOleUIObjInfo_GetViewInfo(p,a,b,c,d) (p)->lpVtbl->GetViewInfo(p,a,b,c,d) +#define IOleUIObjInfo_SetViewInfo(p,a,b,c,d,e) (p)->lpVtbl->SetViewInfo(p,a,b,c,d,e) +#endif + +UINT WINAPI OleUIInsertObjectW(LPOLEUIINSERTOBJECTW); +UINT WINAPI OleUIInsertObjectA(LPOLEUIINSERTOBJECTA); +#define OleUIInsertObject WINELIB_NAME_AW(OleUIInsertObject) +UINT WINAPI OleUIConvertA(LPOLEUICONVERTA); +UINT WINAPI OleUIConvertW(LPOLEUICONVERTW); +#define OleUIConvert WINELIB_NAME_AW(OleUIConvert) +UINT WINAPI OleUIChangeIconA(LPOLEUICHANGEICONA); +UINT WINAPI OleUIChangeIconW(LPOLEUICHANGEICONW); +#define OleUIChangeIcon WINELIB_NAME_AW(OleUIChangeIcon) +UINT WINAPI OleUIBusyA(LPOLEUIBUSYA); +UINT WINAPI OleUIBusyW(LPOLEUIBUSYW); +#define OleUIBusy WINELIB_NAME_AW(OleUIBusy) +UINT WINAPI OleUIObjectPropertiesA(LPOLEUIOBJECTPROPSA); +UINT WINAPI OleUIObjectPropertiesW(LPOLEUIOBJECTPROPSW); +#define OleUIObjectProperties WINELIB_NAME_AW(OleUIObjectProperties) +UINT WINAPI OleUIChangeSourceW(LPOLEUICHANGESOURCEW); +UINT WINAPI OleUIChangeSourceA(LPOLEUICHANGESOURCEA); +#define OleUIChangeSource WINELIB_NAME_AW(OleUIChangeSource) +UINT WINAPI OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks); +UINT WINAPI OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks); +#define OleUIEditLinks WINELIB_NAME_AW(OleUIEditLinks) +BOOL WINAPI OleUIUpdateLinksA(LPOLEUILINKCONTAINERA lpOleUILinkCntr, HWND hwndParent, LPSTR lpszTitle, INT cLinks); +BOOL WINAPI OleUIUpdateLinksW(LPOLEUILINKCONTAINERW lpOleUILinkCntr, HWND hwndParent, LPWSTR lpszTitle, INT cLinks); +#define OleUIUpdateLinks WINELIB_NAME_AW(OleUIUpdateLinks) +BOOL WINAPI OleUIAddVerbMenuA(LPOLEOBJECT lpOleObj, LPCSTR lpszShortType, HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax, + BOOL bAddConvert, UINT idConvert, HMENU *lphMenu); +BOOL WINAPI OleUIAddVerbMenuW(LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType, HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax, + BOOL bAddConvert, UINT idConvert, HMENU *lphMenu); +#define OleUIAddVerbMenu WINELIB_NAME_AW(OleUIAddVerbMenu) +UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial); +UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial); +#define OleUIPasteSpecial WINELIB_NAME_AW(OleUIPasteSpecial) +INT __cdecl OleUIPromptUserA(INT,HWND, ...); +INT __cdecl OleUIPromptUserW(INT,HWND, ...); +#define OleUIPromptUser WINELIB_NAME_AW(OleUIPromptUser) + +#ifdef __cplusplus +} /* Extern "C" */ +#endif + + +#endif /* __WINE_OLEDLG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleidl.h new file mode 100644 index 0000000..9915ceb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleidl.h @@ -0,0 +1,3815 @@ +/*** Autogenerated by WIDL 2.18 from oleidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __oleidl_h__ +#define __oleidl_h__ + +/* Forward declarations */ + +#ifndef __IOleWindow_FWD_DEFINED__ +#define __IOleWindow_FWD_DEFINED__ +typedef interface IOleWindow IOleWindow; +#ifdef __cplusplus +interface IOleWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceObject_FWD_DEFINED__ +#define __IOleInPlaceObject_FWD_DEFINED__ +typedef interface IOleInPlaceObject IOleInPlaceObject; +#ifdef __cplusplus +interface IOleInPlaceObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceUIWindow_FWD_DEFINED__ +#define __IOleInPlaceUIWindow_FWD_DEFINED__ +typedef interface IOleInPlaceUIWindow IOleInPlaceUIWindow; +#ifdef __cplusplus +interface IOleInPlaceUIWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceFrame_FWD_DEFINED__ +#define __IOleInPlaceFrame_FWD_DEFINED__ +typedef interface IOleInPlaceFrame IOleInPlaceFrame; +#ifdef __cplusplus +interface IOleInPlaceFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceActiveObject_FWD_DEFINED__ +#define __IOleInPlaceActiveObject_FWD_DEFINED__ +typedef interface IOleInPlaceActiveObject IOleInPlaceActiveObject; +#ifdef __cplusplus +interface IOleInPlaceActiveObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleInPlaceSite_FWD_DEFINED__ +#define __IOleInPlaceSite_FWD_DEFINED__ +typedef interface IOleInPlaceSite IOleInPlaceSite; +#ifdef __cplusplus +interface IOleInPlaceSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IParseDisplayName_FWD_DEFINED__ +#define __IParseDisplayName_FWD_DEFINED__ +typedef interface IParseDisplayName IParseDisplayName; +#ifdef __cplusplus +interface IParseDisplayName; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleContainer_FWD_DEFINED__ +#define __IOleContainer_FWD_DEFINED__ +typedef interface IOleContainer IOleContainer; +#ifdef __cplusplus +interface IOleContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleItemContainer_FWD_DEFINED__ +#define __IOleItemContainer_FWD_DEFINED__ +typedef interface IOleItemContainer IOleItemContainer; +#ifdef __cplusplus +interface IOleItemContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleLink_FWD_DEFINED__ +#define __IOleLink_FWD_DEFINED__ +typedef interface IOleLink IOleLink; +#ifdef __cplusplus +interface IOleLink; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleClientSite_FWD_DEFINED__ +#define __IOleClientSite_FWD_DEFINED__ +typedef interface IOleClientSite IOleClientSite; +#ifdef __cplusplus +interface IOleClientSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleCache_FWD_DEFINED__ +#define __IOleCache_FWD_DEFINED__ +typedef interface IOleCache IOleCache; +#ifdef __cplusplus +interface IOleCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleCache2_FWD_DEFINED__ +#define __IOleCache2_FWD_DEFINED__ +typedef interface IOleCache2 IOleCache2; +#ifdef __cplusplus +interface IOleCache2; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleCacheControl_FWD_DEFINED__ +#define __IOleCacheControl_FWD_DEFINED__ +typedef interface IOleCacheControl IOleCacheControl; +#ifdef __cplusplus +interface IOleCacheControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumOLEVERB_FWD_DEFINED__ +#define __IEnumOLEVERB_FWD_DEFINED__ +typedef interface IEnumOLEVERB IEnumOLEVERB; +#ifdef __cplusplus +interface IEnumOLEVERB; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleObject_FWD_DEFINED__ +#define __IOleObject_FWD_DEFINED__ +typedef interface IOleObject IOleObject; +#ifdef __cplusplus +interface IOleObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IOleAdviseHolder_FWD_DEFINED__ +#define __IOleAdviseHolder_FWD_DEFINED__ +typedef interface IOleAdviseHolder IOleAdviseHolder; +#ifdef __cplusplus +interface IOleAdviseHolder; +#endif /* __cplusplus */ +#endif + +#ifndef __IContinue_FWD_DEFINED__ +#define __IContinue_FWD_DEFINED__ +typedef interface IContinue IContinue; +#ifdef __cplusplus +interface IContinue; +#endif /* __cplusplus */ +#endif + +#ifndef __IViewObject_FWD_DEFINED__ +#define __IViewObject_FWD_DEFINED__ +typedef interface IViewObject IViewObject; +#ifdef __cplusplus +interface IViewObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IViewObject2_FWD_DEFINED__ +#define __IViewObject2_FWD_DEFINED__ +typedef interface IViewObject2 IViewObject2; +#ifdef __cplusplus +interface IViewObject2; +#endif /* __cplusplus */ +#endif + +#ifndef __IDropSource_FWD_DEFINED__ +#define __IDropSource_FWD_DEFINED__ +typedef interface IDropSource IDropSource; +#ifdef __cplusplus +interface IDropSource; +#endif /* __cplusplus */ +#endif + +#ifndef __IDropTarget_FWD_DEFINED__ +#define __IDropTarget_FWD_DEFINED__ +typedef interface IDropTarget IDropTarget; +#ifdef __cplusplus +interface IDropTarget; +#endif /* __cplusplus */ +#endif + +#ifndef __IDropSourceNotify_FWD_DEFINED__ +#define __IDropSourceNotify_FWD_DEFINED__ +typedef interface IDropSourceNotify IDropSourceNotify; +#ifdef __cplusplus +interface IDropSourceNotify; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IOleInPlaceActiveObject_FWD_DEFINED__ +#define __IOleInPlaceActiveObject_FWD_DEFINED__ +typedef interface IOleInPlaceActiveObject IOleInPlaceActiveObject; +#ifdef __cplusplus +interface IOleInPlaceActiveObject; +#endif /* __cplusplus */ +#endif + +#include +/***************************************************************************** + * IOLETypes interface (v0.0) + */ +#ifndef __IOLETypes_INTERFACE_DEFINED__ +#define __IOLETypes_INTERFACE_DEFINED__ + +extern RPC_IF_HANDLE IOLETypes_v0_0_c_ifspec; +extern RPC_IF_HANDLE IOLETypes_v0_0_s_ifspec; +typedef enum tagOLERENDER { + OLERENDER_NONE = 0, + OLERENDER_DRAW = 1, + OLERENDER_FORMAT = 2, + OLERENDER_ASIS = 3 +} OLERENDER; +typedef enum tagOLERENDER *LPOLERENDER; +typedef struct tagOBJECTDESCRIPTOR { + ULONG cbSize; + CLSID clsid; + DWORD dwDrawAspect; + SIZEL sizel; + POINTL pointl; + DWORD dwStatus; + DWORD dwFullUserTypeName; + DWORD dwSrcOfCopy; +} OBJECTDESCRIPTOR; +typedef struct tagOBJECTDESCRIPTOR *POBJECTDESCRIPTOR; +typedef struct tagOBJECTDESCRIPTOR *LPOBJECTDESCRIPTOR; +typedef struct tagOBJECTDESCRIPTOR LINKSRCDESCRIPTOR; +typedef struct tagOBJECTDESCRIPTOR *PLINKSRCDESCRIPTOR; +typedef struct tagOBJECTDESCRIPTOR *LPLINKSRCDESCRIPTOR; + +#endif /* __IOLETypes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleWindow interface + */ +#ifndef __IOleWindow_INTERFACE_DEFINED__ +#define __IOleWindow_INTERFACE_DEFINED__ + +typedef IOleWindow *LPOLEWINDOW; +DEFINE_GUID(IID_IOleWindow, 0x00000114, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000114-0000-0000-c000-000000000046") +IOleWindow : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetWindow( + HWND *phwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp( + BOOL fEnterMode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleWindow, 0x00000114, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleWindow *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleWindow *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleWindow *This, + BOOL fEnterMode); + + END_INTERFACE +} IOleWindowVtbl; + +interface IOleWindow { + CONST_VTBL IOleWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleWindow_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleWindow_QueryInterface(IOleWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleWindow_AddRef(IOleWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleWindow_Release(IOleWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleWindow_GetWindow(IOleWindow* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleWindow_ContextSensitiveHelp(IOleWindow* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +#endif +#endif + +#endif + + +#endif /* __IOleWindow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceObject interface + */ +#ifndef __IOleInPlaceObject_INTERFACE_DEFINED__ +#define __IOleInPlaceObject_INTERFACE_DEFINED__ + +typedef IOleInPlaceObject *LPOLEINPLACEOBJECT; +DEFINE_GUID(IID_IOleInPlaceObject, 0x00000113, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000113-0000-0000-c000-000000000046") +IOleInPlaceObject : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE InPlaceDeactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UIDeactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetObjectRects( + LPCRECT lprcPosRect, + LPCRECT lprcClipRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReactivateAndUndo( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceObject, 0x00000113, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleInPlaceObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceObject *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceObject *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceObject *This, + BOOL fEnterMode); + + /*** IOleInPlaceObject methods ***/ + HRESULT (STDMETHODCALLTYPE *InPlaceDeactivate)( + IOleInPlaceObject *This); + + HRESULT (STDMETHODCALLTYPE *UIDeactivate)( + IOleInPlaceObject *This); + + HRESULT (STDMETHODCALLTYPE *SetObjectRects)( + IOleInPlaceObject *This, + LPCRECT lprcPosRect, + LPCRECT lprcClipRect); + + HRESULT (STDMETHODCALLTYPE *ReactivateAndUndo)( + IOleInPlaceObject *This); + + END_INTERFACE +} IOleInPlaceObjectVtbl; + +interface IOleInPlaceObject { + CONST_VTBL IOleInPlaceObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceObject_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceObject_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceObject_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceObject methods ***/ +#define IOleInPlaceObject_InPlaceDeactivate(This) (This)->lpVtbl->InPlaceDeactivate(This) +#define IOleInPlaceObject_UIDeactivate(This) (This)->lpVtbl->UIDeactivate(This) +#define IOleInPlaceObject_SetObjectRects(This,lprcPosRect,lprcClipRect) (This)->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect) +#define IOleInPlaceObject_ReactivateAndUndo(This) (This)->lpVtbl->ReactivateAndUndo(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObject_QueryInterface(IOleInPlaceObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceObject_AddRef(IOleInPlaceObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceObject_Release(IOleInPlaceObject* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObject_GetWindow(IOleInPlaceObject* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceObject_ContextSensitiveHelp(IOleInPlaceObject* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceObject methods ***/ +static FORCEINLINE HRESULT IOleInPlaceObject_InPlaceDeactivate(IOleInPlaceObject* This) { + return This->lpVtbl->InPlaceDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceObject_UIDeactivate(IOleInPlaceObject* This) { + return This->lpVtbl->UIDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceObject_SetObjectRects(IOleInPlaceObject* This,LPCRECT lprcPosRect,LPCRECT lprcClipRect) { + return This->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect); +} +static FORCEINLINE HRESULT IOleInPlaceObject_ReactivateAndUndo(IOleInPlaceObject* This) { + return This->lpVtbl->ReactivateAndUndo(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceUIWindow interface + */ +#ifndef __IOleInPlaceUIWindow_INTERFACE_DEFINED__ +#define __IOleInPlaceUIWindow_INTERFACE_DEFINED__ + +typedef IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW; +typedef RECT BORDERWIDTHS; +typedef LPRECT LPBORDERWIDTHS; +typedef LPCRECT LPCBORDERWIDTHS; +DEFINE_GUID(IID_IOleInPlaceUIWindow, 0x00000115, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000115-0000-0000-c000-000000000046") +IOleInPlaceUIWindow : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE GetBorder( + LPRECT lprectBorder) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestBorderSpace( + LPCBORDERWIDTHS pborderwidths) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBorderSpace( + LPCBORDERWIDTHS pborderwidths) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetActiveObject( + IOleInPlaceActiveObject *pActiveObject, + LPCOLESTR pszObjName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceUIWindow, 0x00000115, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleInPlaceUIWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceUIWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceUIWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceUIWindow *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceUIWindow *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceUIWindow *This, + BOOL fEnterMode); + + /*** IOleInPlaceUIWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBorder)( + IOleInPlaceUIWindow *This, + LPRECT lprectBorder); + + HRESULT (STDMETHODCALLTYPE *RequestBorderSpace)( + IOleInPlaceUIWindow *This, + LPCBORDERWIDTHS pborderwidths); + + HRESULT (STDMETHODCALLTYPE *SetBorderSpace)( + IOleInPlaceUIWindow *This, + LPCBORDERWIDTHS pborderwidths); + + HRESULT (STDMETHODCALLTYPE *SetActiveObject)( + IOleInPlaceUIWindow *This, + IOleInPlaceActiveObject *pActiveObject, + LPCOLESTR pszObjName); + + END_INTERFACE +} IOleInPlaceUIWindowVtbl; + +interface IOleInPlaceUIWindow { + CONST_VTBL IOleInPlaceUIWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceUIWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceUIWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceUIWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceUIWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceUIWindow_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceUIWindow methods ***/ +#define IOleInPlaceUIWindow_GetBorder(This,lprectBorder) (This)->lpVtbl->GetBorder(This,lprectBorder) +#define IOleInPlaceUIWindow_RequestBorderSpace(This,pborderwidths) (This)->lpVtbl->RequestBorderSpace(This,pborderwidths) +#define IOleInPlaceUIWindow_SetBorderSpace(This,pborderwidths) (This)->lpVtbl->SetBorderSpace(This,pborderwidths) +#define IOleInPlaceUIWindow_SetActiveObject(This,pActiveObject,pszObjName) (This)->lpVtbl->SetActiveObject(This,pActiveObject,pszObjName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceUIWindow_QueryInterface(IOleInPlaceUIWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceUIWindow_AddRef(IOleInPlaceUIWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceUIWindow_Release(IOleInPlaceUIWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceUIWindow_GetWindow(IOleInPlaceUIWindow* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceUIWindow_ContextSensitiveHelp(IOleInPlaceUIWindow* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceUIWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceUIWindow_GetBorder(IOleInPlaceUIWindow* This,LPRECT lprectBorder) { + return This->lpVtbl->GetBorder(This,lprectBorder); +} +static FORCEINLINE HRESULT IOleInPlaceUIWindow_RequestBorderSpace(IOleInPlaceUIWindow* This,LPCBORDERWIDTHS pborderwidths) { + return This->lpVtbl->RequestBorderSpace(This,pborderwidths); +} +static FORCEINLINE HRESULT IOleInPlaceUIWindow_SetBorderSpace(IOleInPlaceUIWindow* This,LPCBORDERWIDTHS pborderwidths) { + return This->lpVtbl->SetBorderSpace(This,pborderwidths); +} +static FORCEINLINE HRESULT IOleInPlaceUIWindow_SetActiveObject(IOleInPlaceUIWindow* This,IOleInPlaceActiveObject *pActiveObject,LPCOLESTR pszObjName) { + return This->lpVtbl->SetActiveObject(This,pActiveObject,pszObjName); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceUIWindow_INTERFACE_DEFINED__ */ + +#ifdef WINE_NO_UNICODE_MACROS +#undef TranslateAccelerator +#endif +/***************************************************************************** + * IOleInPlaceFrame interface + */ +#ifndef __IOleInPlaceFrame_INTERFACE_DEFINED__ +#define __IOleInPlaceFrame_INTERFACE_DEFINED__ + +typedef IOleInPlaceFrame *LPOLEINPLACEFRAME; +typedef struct tagOleInPlaceFrameInfo { + UINT cb; + BOOL fMDIApp; + HWND hwndFrame; + HACCEL haccel; + UINT cAccelEntries; +} OLEINPLACEFRAMEINFO; +typedef struct tagOleInPlaceFrameInfo *LPOLEINPLACEFRAMEINFO; +typedef struct tagOleMenuGroupWidths { + LONG width[6]; +} OLEMENUGROUPWIDTHS; +typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS; +typedef HGLOBAL HOLEMENU; +DEFINE_GUID(IID_IOleInPlaceFrame, 0x00000116, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000116-0000-0000-c000-000000000046") +IOleInPlaceFrame : public IOleInPlaceUIWindow +{ + virtual HRESULT STDMETHODCALLTYPE InsertMenus( + HMENU hmenuShared, + LPOLEMENUGROUPWIDTHS lpMenuWidths) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMenu( + HMENU hmenuShared, + HOLEMENU holemenu, + HWND hwndActiveObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveMenus( + HMENU hmenuShared) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStatusText( + LPCOLESTR pszStatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + BOOL fEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + LPMSG lpmsg, + WORD wID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceFrame, 0x00000116, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleInPlaceFrameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceFrame *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceFrame *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceFrame *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceFrame *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceFrame *This, + BOOL fEnterMode); + + /*** IOleInPlaceUIWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBorder)( + IOleInPlaceFrame *This, + LPRECT lprectBorder); + + HRESULT (STDMETHODCALLTYPE *RequestBorderSpace)( + IOleInPlaceFrame *This, + LPCBORDERWIDTHS pborderwidths); + + HRESULT (STDMETHODCALLTYPE *SetBorderSpace)( + IOleInPlaceFrame *This, + LPCBORDERWIDTHS pborderwidths); + + HRESULT (STDMETHODCALLTYPE *SetActiveObject)( + IOleInPlaceFrame *This, + IOleInPlaceActiveObject *pActiveObject, + LPCOLESTR pszObjName); + + /*** IOleInPlaceFrame methods ***/ + HRESULT (STDMETHODCALLTYPE *InsertMenus)( + IOleInPlaceFrame *This, + HMENU hmenuShared, + LPOLEMENUGROUPWIDTHS lpMenuWidths); + + HRESULT (STDMETHODCALLTYPE *SetMenu)( + IOleInPlaceFrame *This, + HMENU hmenuShared, + HOLEMENU holemenu, + HWND hwndActiveObject); + + HRESULT (STDMETHODCALLTYPE *RemoveMenus)( + IOleInPlaceFrame *This, + HMENU hmenuShared); + + HRESULT (STDMETHODCALLTYPE *SetStatusText)( + IOleInPlaceFrame *This, + LPCOLESTR pszStatusText); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IOleInPlaceFrame *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IOleInPlaceFrame *This, + LPMSG lpmsg, + WORD wID); + + END_INTERFACE +} IOleInPlaceFrameVtbl; + +interface IOleInPlaceFrame { + CONST_VTBL IOleInPlaceFrameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceFrame_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceFrame_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceFrame_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceFrame_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceUIWindow methods ***/ +#define IOleInPlaceFrame_GetBorder(This,lprectBorder) (This)->lpVtbl->GetBorder(This,lprectBorder) +#define IOleInPlaceFrame_RequestBorderSpace(This,pborderwidths) (This)->lpVtbl->RequestBorderSpace(This,pborderwidths) +#define IOleInPlaceFrame_SetBorderSpace(This,pborderwidths) (This)->lpVtbl->SetBorderSpace(This,pborderwidths) +#define IOleInPlaceFrame_SetActiveObject(This,pActiveObject,pszObjName) (This)->lpVtbl->SetActiveObject(This,pActiveObject,pszObjName) +/*** IOleInPlaceFrame methods ***/ +#define IOleInPlaceFrame_InsertMenus(This,hmenuShared,lpMenuWidths) (This)->lpVtbl->InsertMenus(This,hmenuShared,lpMenuWidths) +#define IOleInPlaceFrame_SetMenu(This,hmenuShared,holemenu,hwndActiveObject) (This)->lpVtbl->SetMenu(This,hmenuShared,holemenu,hwndActiveObject) +#define IOleInPlaceFrame_RemoveMenus(This,hmenuShared) (This)->lpVtbl->RemoveMenus(This,hmenuShared) +#define IOleInPlaceFrame_SetStatusText(This,pszStatusText) (This)->lpVtbl->SetStatusText(This,pszStatusText) +#define IOleInPlaceFrame_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#define IOleInPlaceFrame_TranslateAccelerator(This,lpmsg,wID) (This)->lpVtbl->TranslateAccelerator(This,lpmsg,wID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceFrame_QueryInterface(IOleInPlaceFrame* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceFrame_AddRef(IOleInPlaceFrame* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceFrame_Release(IOleInPlaceFrame* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceFrame_GetWindow(IOleInPlaceFrame* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_ContextSensitiveHelp(IOleInPlaceFrame* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceUIWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceFrame_GetBorder(IOleInPlaceFrame* This,LPRECT lprectBorder) { + return This->lpVtbl->GetBorder(This,lprectBorder); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_RequestBorderSpace(IOleInPlaceFrame* This,LPCBORDERWIDTHS pborderwidths) { + return This->lpVtbl->RequestBorderSpace(This,pborderwidths); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_SetBorderSpace(IOleInPlaceFrame* This,LPCBORDERWIDTHS pborderwidths) { + return This->lpVtbl->SetBorderSpace(This,pborderwidths); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_SetActiveObject(IOleInPlaceFrame* This,IOleInPlaceActiveObject *pActiveObject,LPCOLESTR pszObjName) { + return This->lpVtbl->SetActiveObject(This,pActiveObject,pszObjName); +} +/*** IOleInPlaceFrame methods ***/ +static FORCEINLINE HRESULT IOleInPlaceFrame_InsertMenus(IOleInPlaceFrame* This,HMENU hmenuShared,LPOLEMENUGROUPWIDTHS lpMenuWidths) { + return This->lpVtbl->InsertMenus(This,hmenuShared,lpMenuWidths); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_SetMenu(IOleInPlaceFrame* This,HMENU hmenuShared,HOLEMENU holemenu,HWND hwndActiveObject) { + return This->lpVtbl->SetMenu(This,hmenuShared,holemenu,hwndActiveObject); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_RemoveMenus(IOleInPlaceFrame* This,HMENU hmenuShared) { + return This->lpVtbl->RemoveMenus(This,hmenuShared); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_SetStatusText(IOleInPlaceFrame* This,LPCOLESTR pszStatusText) { + return This->lpVtbl->SetStatusText(This,pszStatusText); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_EnableModeless(IOleInPlaceFrame* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +static FORCEINLINE HRESULT IOleInPlaceFrame_TranslateAccelerator(IOleInPlaceFrame* This,LPMSG lpmsg,WORD wID) { + return This->lpVtbl->TranslateAccelerator(This,lpmsg,wID); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceFrame_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceActiveObject interface + */ +#ifndef __IOleInPlaceActiveObject_INTERFACE_DEFINED__ +#define __IOleInPlaceActiveObject_INTERFACE_DEFINED__ + +typedef IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; +DEFINE_GUID(IID_IOleInPlaceActiveObject, 0x00000117, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000117-0000-0000-c000-000000000046") +IOleInPlaceActiveObject : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + LPMSG lpmsg) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate( + BOOL fActivate) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate( + BOOL fActivate) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeBorder( + LPCRECT prcBorder, + IOleInPlaceUIWindow *pUIWindow, + BOOL fFrameWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + BOOL fEnable) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceActiveObject, 0x00000117, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleInPlaceActiveObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceActiveObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceActiveObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceActiveObject *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceActiveObject *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceActiveObject *This, + BOOL fEnterMode); + + /*** IOleInPlaceActiveObject methods ***/ + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IOleInPlaceActiveObject *This, + LPMSG lpmsg); + + HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)( + IOleInPlaceActiveObject *This, + BOOL fActivate); + + HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)( + IOleInPlaceActiveObject *This, + BOOL fActivate); + + HRESULT (STDMETHODCALLTYPE *ResizeBorder)( + IOleInPlaceActiveObject *This, + LPCRECT prcBorder, + IOleInPlaceUIWindow *pUIWindow, + BOOL fFrameWindow); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IOleInPlaceActiveObject *This, + BOOL fEnable); + + END_INTERFACE +} IOleInPlaceActiveObjectVtbl; + +interface IOleInPlaceActiveObject { + CONST_VTBL IOleInPlaceActiveObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceActiveObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceActiveObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceActiveObject_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceActiveObject_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceActiveObject_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceActiveObject methods ***/ +#define IOleInPlaceActiveObject_TranslateAccelerator(This,lpmsg) (This)->lpVtbl->TranslateAccelerator(This,lpmsg) +#define IOleInPlaceActiveObject_OnFrameWindowActivate(This,fActivate) (This)->lpVtbl->OnFrameWindowActivate(This,fActivate) +#define IOleInPlaceActiveObject_OnDocWindowActivate(This,fActivate) (This)->lpVtbl->OnDocWindowActivate(This,fActivate) +#define IOleInPlaceActiveObject_ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow) (This)->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow) +#define IOleInPlaceActiveObject_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceActiveObject_QueryInterface(IOleInPlaceActiveObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceActiveObject_AddRef(IOleInPlaceActiveObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceActiveObject_Release(IOleInPlaceActiveObject* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceActiveObject_GetWindow(IOleInPlaceActiveObject* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceActiveObject_ContextSensitiveHelp(IOleInPlaceActiveObject* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceActiveObject methods ***/ +static FORCEINLINE HRESULT IOleInPlaceActiveObject_TranslateAccelerator(IOleInPlaceActiveObject* This,LPMSG lpmsg) { + return This->lpVtbl->TranslateAccelerator(This,lpmsg); +} +static FORCEINLINE HRESULT IOleInPlaceActiveObject_OnFrameWindowActivate(IOleInPlaceActiveObject* This,BOOL fActivate) { + return This->lpVtbl->OnFrameWindowActivate(This,fActivate); +} +static FORCEINLINE HRESULT IOleInPlaceActiveObject_OnDocWindowActivate(IOleInPlaceActiveObject* This,BOOL fActivate) { + return This->lpVtbl->OnDocWindowActivate(This,fActivate); +} +static FORCEINLINE HRESULT IOleInPlaceActiveObject_ResizeBorder(IOleInPlaceActiveObject* This,LPCRECT prcBorder,IOleInPlaceUIWindow *pUIWindow,BOOL fFrameWindow) { + return This->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow); +} +static FORCEINLINE HRESULT IOleInPlaceActiveObject_EnableModeless(IOleInPlaceActiveObject* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy( + IOleInPlaceActiveObject* This); +void __RPC_STUB IOleInPlaceActiveObject_RemoteTranslateAccelerator_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteResizeBorder_Proxy( + IOleInPlaceActiveObject* This, + LPCRECT prcBorder, + REFIID riid, + IOleInPlaceUIWindow *pUIWindow, + BOOL fFrameWindow); +void __RPC_STUB IOleInPlaceActiveObject_RemoteResizeBorder_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IOleInPlaceActiveObject_TranslateAccelerator_Proxy( + IOleInPlaceActiveObject* This, + LPMSG lpmsg); +HRESULT __RPC_STUB IOleInPlaceActiveObject_TranslateAccelerator_Stub( + IOleInPlaceActiveObject* This); +HRESULT CALLBACK IOleInPlaceActiveObject_ResizeBorder_Proxy( + IOleInPlaceActiveObject* This, + LPCRECT prcBorder, + IOleInPlaceUIWindow *pUIWindow, + BOOL fFrameWindow); +HRESULT __RPC_STUB IOleInPlaceActiveObject_ResizeBorder_Stub( + IOleInPlaceActiveObject* This, + LPCRECT prcBorder, + REFIID riid, + IOleInPlaceUIWindow *pUIWindow, + BOOL fFrameWindow); + +#endif /* __IOleInPlaceActiveObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleInPlaceSite interface + */ +#ifndef __IOleInPlaceSite_INTERFACE_DEFINED__ +#define __IOleInPlaceSite_INTERFACE_DEFINED__ + +typedef IOleInPlaceSite *LPOLEINPLACESITE; +DEFINE_GUID(IID_IOleInPlaceSite, 0x00000119, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000119-0000-0000-c000-000000000046") +IOleInPlaceSite : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnUIActivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWindowContext( + IOleInPlaceFrame **ppFrame, + IOleInPlaceUIWindow **ppDoc, + LPRECT lprcPosRect, + LPRECT lprcClipRect, + LPOLEINPLACEFRAMEINFO lpFrameInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE Scroll( + SIZE scrollExtent) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate( + BOOL fUndoable) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DiscardUndoState( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPosRectChange( + LPCRECT lprcPosRect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleInPlaceSite, 0x00000119, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleInPlaceSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleInPlaceSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleInPlaceSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleInPlaceSite *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IOleInPlaceSite *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IOleInPlaceSite *This, + BOOL fEnterMode); + + /*** IOleInPlaceSite methods ***/ + HRESULT (STDMETHODCALLTYPE *CanInPlaceActivate)( + IOleInPlaceSite *This); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceActivate)( + IOleInPlaceSite *This); + + HRESULT (STDMETHODCALLTYPE *OnUIActivate)( + IOleInPlaceSite *This); + + HRESULT (STDMETHODCALLTYPE *GetWindowContext)( + IOleInPlaceSite *This, + IOleInPlaceFrame **ppFrame, + IOleInPlaceUIWindow **ppDoc, + LPRECT lprcPosRect, + LPRECT lprcClipRect, + LPOLEINPLACEFRAMEINFO lpFrameInfo); + + HRESULT (STDMETHODCALLTYPE *Scroll)( + IOleInPlaceSite *This, + SIZE scrollExtent); + + HRESULT (STDMETHODCALLTYPE *OnUIDeactivate)( + IOleInPlaceSite *This, + BOOL fUndoable); + + HRESULT (STDMETHODCALLTYPE *OnInPlaceDeactivate)( + IOleInPlaceSite *This); + + HRESULT (STDMETHODCALLTYPE *DiscardUndoState)( + IOleInPlaceSite *This); + + HRESULT (STDMETHODCALLTYPE *DeactivateAndUndo)( + IOleInPlaceSite *This); + + HRESULT (STDMETHODCALLTYPE *OnPosRectChange)( + IOleInPlaceSite *This, + LPCRECT lprcPosRect); + + END_INTERFACE +} IOleInPlaceSiteVtbl; + +interface IOleInPlaceSite { + CONST_VTBL IOleInPlaceSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleInPlaceSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleInPlaceSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleInPlaceSite_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IOleInPlaceSite_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IOleInPlaceSite_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IOleInPlaceSite methods ***/ +#define IOleInPlaceSite_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This) +#define IOleInPlaceSite_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This) +#define IOleInPlaceSite_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This) +#define IOleInPlaceSite_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) +#define IOleInPlaceSite_Scroll(This,scrollExtent) (This)->lpVtbl->Scroll(This,scrollExtent) +#define IOleInPlaceSite_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable) +#define IOleInPlaceSite_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This) +#define IOleInPlaceSite_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This) +#define IOleInPlaceSite_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This) +#define IOleInPlaceSite_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSite_QueryInterface(IOleInPlaceSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleInPlaceSite_AddRef(IOleInPlaceSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleInPlaceSite_Release(IOleInPlaceSite* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSite_GetWindow(IOleInPlaceSite* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IOleInPlaceSite_ContextSensitiveHelp(IOleInPlaceSite* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IOleInPlaceSite methods ***/ +static FORCEINLINE HRESULT IOleInPlaceSite_CanInPlaceActivate(IOleInPlaceSite* This) { + return This->lpVtbl->CanInPlaceActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSite_OnInPlaceActivate(IOleInPlaceSite* This) { + return This->lpVtbl->OnInPlaceActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSite_OnUIActivate(IOleInPlaceSite* This) { + return This->lpVtbl->OnUIActivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSite_GetWindowContext(IOleInPlaceSite* This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo) { + return This->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo); +} +static FORCEINLINE HRESULT IOleInPlaceSite_Scroll(IOleInPlaceSite* This,SIZE scrollExtent) { + return This->lpVtbl->Scroll(This,scrollExtent); +} +static FORCEINLINE HRESULT IOleInPlaceSite_OnUIDeactivate(IOleInPlaceSite* This,BOOL fUndoable) { + return This->lpVtbl->OnUIDeactivate(This,fUndoable); +} +static FORCEINLINE HRESULT IOleInPlaceSite_OnInPlaceDeactivate(IOleInPlaceSite* This) { + return This->lpVtbl->OnInPlaceDeactivate(This); +} +static FORCEINLINE HRESULT IOleInPlaceSite_DiscardUndoState(IOleInPlaceSite* This) { + return This->lpVtbl->DiscardUndoState(This); +} +static FORCEINLINE HRESULT IOleInPlaceSite_DeactivateAndUndo(IOleInPlaceSite* This) { + return This->lpVtbl->DeactivateAndUndo(This); +} +static FORCEINLINE HRESULT IOleInPlaceSite_OnPosRectChange(IOleInPlaceSite* This,LPCRECT lprcPosRect) { + return This->lpVtbl->OnPosRectChange(This,lprcPosRect); +} +#endif +#endif + +#endif + + +#endif /* __IOleInPlaceSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IParseDisplayName interface + */ +#ifndef __IParseDisplayName_INTERFACE_DEFINED__ +#define __IParseDisplayName_INTERFACE_DEFINED__ + +typedef IParseDisplayName *LPPARSEDISPLAYNAME; +DEFINE_GUID(IID_IParseDisplayName, 0x0000011a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000011a-0000-0000-c000-000000000046") +IParseDisplayName : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseDisplayName( + IBindCtx *pbc, + LPOLESTR pszDisplayName, + ULONG *pchEaten, + IMoniker **ppmkOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IParseDisplayName, 0x0000011a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IParseDisplayNameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IParseDisplayName *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IParseDisplayName *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IParseDisplayName *This); + + /*** IParseDisplayName methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseDisplayName)( + IParseDisplayName *This, + IBindCtx *pbc, + LPOLESTR pszDisplayName, + ULONG *pchEaten, + IMoniker **ppmkOut); + + END_INTERFACE +} IParseDisplayNameVtbl; + +interface IParseDisplayName { + CONST_VTBL IParseDisplayNameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IParseDisplayName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IParseDisplayName_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IParseDisplayName_Release(This) (This)->lpVtbl->Release(This) +/*** IParseDisplayName methods ***/ +#define IParseDisplayName_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IParseDisplayName_QueryInterface(IParseDisplayName* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IParseDisplayName_AddRef(IParseDisplayName* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IParseDisplayName_Release(IParseDisplayName* This) { + return This->lpVtbl->Release(This); +} +/*** IParseDisplayName methods ***/ +static FORCEINLINE HRESULT IParseDisplayName_ParseDisplayName(IParseDisplayName* This,IBindCtx *pbc,LPOLESTR pszDisplayName,ULONG *pchEaten,IMoniker **ppmkOut) { + return This->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut); +} +#endif +#endif + +#endif + + +#endif /* __IParseDisplayName_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleContainer interface + */ +#ifndef __IOleContainer_INTERFACE_DEFINED__ +#define __IOleContainer_INTERFACE_DEFINED__ + +typedef IOleContainer *LPOLECONTAINER; +DEFINE_GUID(IID_IOleContainer, 0x0000011b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000011b-0000-0000-c000-000000000046") +IOleContainer : public IParseDisplayName +{ + virtual HRESULT STDMETHODCALLTYPE EnumObjects( + DWORD grfFlags, + IEnumUnknown **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockContainer( + BOOL fLock) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleContainer, 0x0000011b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleContainer *This); + + /*** IParseDisplayName methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseDisplayName)( + IOleContainer *This, + IBindCtx *pbc, + LPOLESTR pszDisplayName, + ULONG *pchEaten, + IMoniker **ppmkOut); + + /*** IOleContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumObjects)( + IOleContainer *This, + DWORD grfFlags, + IEnumUnknown **ppenum); + + HRESULT (STDMETHODCALLTYPE *LockContainer)( + IOleContainer *This, + BOOL fLock); + + END_INTERFACE +} IOleContainerVtbl; + +interface IOleContainer { + CONST_VTBL IOleContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IParseDisplayName methods ***/ +#define IOleContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) +/*** IOleContainer methods ***/ +#define IOleContainer_EnumObjects(This,grfFlags,ppenum) (This)->lpVtbl->EnumObjects(This,grfFlags,ppenum) +#define IOleContainer_LockContainer(This,fLock) (This)->lpVtbl->LockContainer(This,fLock) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleContainer_QueryInterface(IOleContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleContainer_AddRef(IOleContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleContainer_Release(IOleContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IParseDisplayName methods ***/ +static FORCEINLINE HRESULT IOleContainer_ParseDisplayName(IOleContainer* This,IBindCtx *pbc,LPOLESTR pszDisplayName,ULONG *pchEaten,IMoniker **ppmkOut) { + return This->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut); +} +/*** IOleContainer methods ***/ +static FORCEINLINE HRESULT IOleContainer_EnumObjects(IOleContainer* This,DWORD grfFlags,IEnumUnknown **ppenum) { + return This->lpVtbl->EnumObjects(This,grfFlags,ppenum); +} +static FORCEINLINE HRESULT IOleContainer_LockContainer(IOleContainer* This,BOOL fLock) { + return This->lpVtbl->LockContainer(This,fLock); +} +#endif +#endif + +#endif + + +#endif /* __IOleContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleItemContainer interface + */ +#ifndef __IOleItemContainer_INTERFACE_DEFINED__ +#define __IOleItemContainer_INTERFACE_DEFINED__ + +typedef IOleItemContainer *LPOLEITEMCONTAINER; +typedef enum tagBINDSPEED { + BINDSPEED_INDEFINITE = 1, + BINDSPEED_MODERATE = 2, + BINDSPEED_IMMEDIATE = 3 +} BINDSPEED; +typedef enum tagOLECONTF { + OLECONTF_EMBEDDINGS = 1, + OLECONTF_LINKS = 2, + OLECONTF_OTHERS = 4, + OLECONTF_ONLYUSER = 8, + OLECONTF_ONLYIFRUNNING = 16 +} OLECONTF; +#ifdef WINE_NO_UNICODE_MACROS +#undef GetObject +#endif +DEFINE_GUID(IID_IOleItemContainer, 0x0000011c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000011c-0000-0000-c000-000000000046") +IOleItemContainer : public IOleContainer +{ + virtual HRESULT STDMETHODCALLTYPE GetObject( + LPOLESTR pszItem, + DWORD dwSpeedNeeded, + IBindCtx *pbc, + REFIID riid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectStorage( + LPOLESTR pszItem, + IBindCtx *pbc, + REFIID riid, + void **ppvStorage) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRunning( + LPOLESTR pszItem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleItemContainer, 0x0000011c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleItemContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleItemContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleItemContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleItemContainer *This); + + /*** IParseDisplayName methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseDisplayName)( + IOleItemContainer *This, + IBindCtx *pbc, + LPOLESTR pszDisplayName, + ULONG *pchEaten, + IMoniker **ppmkOut); + + /*** IOleContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumObjects)( + IOleItemContainer *This, + DWORD grfFlags, + IEnumUnknown **ppenum); + + HRESULT (STDMETHODCALLTYPE *LockContainer)( + IOleItemContainer *This, + BOOL fLock); + + /*** IOleItemContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetObject)( + IOleItemContainer *This, + LPOLESTR pszItem, + DWORD dwSpeedNeeded, + IBindCtx *pbc, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *GetObjectStorage)( + IOleItemContainer *This, + LPOLESTR pszItem, + IBindCtx *pbc, + REFIID riid, + void **ppvStorage); + + HRESULT (STDMETHODCALLTYPE *IsRunning)( + IOleItemContainer *This, + LPOLESTR pszItem); + + END_INTERFACE +} IOleItemContainerVtbl; + +interface IOleItemContainer { + CONST_VTBL IOleItemContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleItemContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleItemContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleItemContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IParseDisplayName methods ***/ +#define IOleItemContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) +/*** IOleContainer methods ***/ +#define IOleItemContainer_EnumObjects(This,grfFlags,ppenum) (This)->lpVtbl->EnumObjects(This,grfFlags,ppenum) +#define IOleItemContainer_LockContainer(This,fLock) (This)->lpVtbl->LockContainer(This,fLock) +/*** IOleItemContainer methods ***/ +#define IOleItemContainer_GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject) (This)->lpVtbl->GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject) +#define IOleItemContainer_GetObjectStorage(This,pszItem,pbc,riid,ppvStorage) (This)->lpVtbl->GetObjectStorage(This,pszItem,pbc,riid,ppvStorage) +#define IOleItemContainer_IsRunning(This,pszItem) (This)->lpVtbl->IsRunning(This,pszItem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleItemContainer_QueryInterface(IOleItemContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleItemContainer_AddRef(IOleItemContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleItemContainer_Release(IOleItemContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IParseDisplayName methods ***/ +static FORCEINLINE HRESULT IOleItemContainer_ParseDisplayName(IOleItemContainer* This,IBindCtx *pbc,LPOLESTR pszDisplayName,ULONG *pchEaten,IMoniker **ppmkOut) { + return This->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut); +} +/*** IOleContainer methods ***/ +static FORCEINLINE HRESULT IOleItemContainer_EnumObjects(IOleItemContainer* This,DWORD grfFlags,IEnumUnknown **ppenum) { + return This->lpVtbl->EnumObjects(This,grfFlags,ppenum); +} +static FORCEINLINE HRESULT IOleItemContainer_LockContainer(IOleItemContainer* This,BOOL fLock) { + return This->lpVtbl->LockContainer(This,fLock); +} +/*** IOleItemContainer methods ***/ +static FORCEINLINE HRESULT IOleItemContainer_GetObject(IOleItemContainer* This,LPOLESTR pszItem,DWORD dwSpeedNeeded,IBindCtx *pbc,REFIID riid,void **ppvObject) { + return This->lpVtbl->GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject); +} +static FORCEINLINE HRESULT IOleItemContainer_GetObjectStorage(IOleItemContainer* This,LPOLESTR pszItem,IBindCtx *pbc,REFIID riid,void **ppvStorage) { + return This->lpVtbl->GetObjectStorage(This,pszItem,pbc,riid,ppvStorage); +} +static FORCEINLINE HRESULT IOleItemContainer_IsRunning(IOleItemContainer* This,LPOLESTR pszItem) { + return This->lpVtbl->IsRunning(This,pszItem); +} +#endif +#endif + +#endif + + +#endif /* __IOleItemContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleLink interface + */ +#ifndef __IOleLink_INTERFACE_DEFINED__ +#define __IOleLink_INTERFACE_DEFINED__ + +typedef IOleLink *LPOLELINK; +typedef enum tagOLEUPDATE { + OLEUPDATE_ALWAYS = 1, + OLEUPDATE_ONCALL = 3 +} OLEUPDATE; +typedef enum tagOLEUPDATE *POLEUPDATE; +typedef enum tagOLEUPDATE *LPOLEUPDATE; +typedef enum tagOLELINKBIND { + OLELINKBIND_EVENIFCLASSDIFF = 1 +} OLELINKBIND; +DEFINE_GUID(IID_IOleLink, 0x0000011d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000011d-0000-0000-c000-000000000046") +IOleLink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetUpdateOptions( + DWORD dwUpdateOpt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUpdateOptions( + DWORD *pdwUpdateOpt) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSourceMoniker( + IMoniker *pmk, + REFCLSID rclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceMoniker( + IMoniker **ppmk) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSourceDisplayName( + LPCOLESTR pszStatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSourceDisplayName( + LPOLESTR *ppszDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToSource( + DWORD bindflags, + IBindCtx *pbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindIfRunning( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBoundSource( + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnbindSource( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Update( + IBindCtx *pbc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleLink, 0x0000011d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleLinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleLink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleLink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleLink *This); + + /*** IOleLink methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUpdateOptions)( + IOleLink *This, + DWORD dwUpdateOpt); + + HRESULT (STDMETHODCALLTYPE *GetUpdateOptions)( + IOleLink *This, + DWORD *pdwUpdateOpt); + + HRESULT (STDMETHODCALLTYPE *SetSourceMoniker)( + IOleLink *This, + IMoniker *pmk, + REFCLSID rclsid); + + HRESULT (STDMETHODCALLTYPE *GetSourceMoniker)( + IOleLink *This, + IMoniker **ppmk); + + HRESULT (STDMETHODCALLTYPE *SetSourceDisplayName)( + IOleLink *This, + LPCOLESTR pszStatusText); + + HRESULT (STDMETHODCALLTYPE *GetSourceDisplayName)( + IOleLink *This, + LPOLESTR *ppszDisplayName); + + HRESULT (STDMETHODCALLTYPE *BindToSource)( + IOleLink *This, + DWORD bindflags, + IBindCtx *pbc); + + HRESULT (STDMETHODCALLTYPE *BindIfRunning)( + IOleLink *This); + + HRESULT (STDMETHODCALLTYPE *GetBoundSource)( + IOleLink *This, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *UnbindSource)( + IOleLink *This); + + HRESULT (STDMETHODCALLTYPE *Update)( + IOleLink *This, + IBindCtx *pbc); + + END_INTERFACE +} IOleLinkVtbl; + +interface IOleLink { + CONST_VTBL IOleLinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleLink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleLink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleLink_Release(This) (This)->lpVtbl->Release(This) +/*** IOleLink methods ***/ +#define IOleLink_SetUpdateOptions(This,dwUpdateOpt) (This)->lpVtbl->SetUpdateOptions(This,dwUpdateOpt) +#define IOleLink_GetUpdateOptions(This,pdwUpdateOpt) (This)->lpVtbl->GetUpdateOptions(This,pdwUpdateOpt) +#define IOleLink_SetSourceMoniker(This,pmk,rclsid) (This)->lpVtbl->SetSourceMoniker(This,pmk,rclsid) +#define IOleLink_GetSourceMoniker(This,ppmk) (This)->lpVtbl->GetSourceMoniker(This,ppmk) +#define IOleLink_SetSourceDisplayName(This,pszStatusText) (This)->lpVtbl->SetSourceDisplayName(This,pszStatusText) +#define IOleLink_GetSourceDisplayName(This,ppszDisplayName) (This)->lpVtbl->GetSourceDisplayName(This,ppszDisplayName) +#define IOleLink_BindToSource(This,bindflags,pbc) (This)->lpVtbl->BindToSource(This,bindflags,pbc) +#define IOleLink_BindIfRunning(This) (This)->lpVtbl->BindIfRunning(This) +#define IOleLink_GetBoundSource(This,ppunk) (This)->lpVtbl->GetBoundSource(This,ppunk) +#define IOleLink_UnbindSource(This) (This)->lpVtbl->UnbindSource(This) +#define IOleLink_Update(This,pbc) (This)->lpVtbl->Update(This,pbc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleLink_QueryInterface(IOleLink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleLink_AddRef(IOleLink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleLink_Release(IOleLink* This) { + return This->lpVtbl->Release(This); +} +/*** IOleLink methods ***/ +static FORCEINLINE HRESULT IOleLink_SetUpdateOptions(IOleLink* This,DWORD dwUpdateOpt) { + return This->lpVtbl->SetUpdateOptions(This,dwUpdateOpt); +} +static FORCEINLINE HRESULT IOleLink_GetUpdateOptions(IOleLink* This,DWORD *pdwUpdateOpt) { + return This->lpVtbl->GetUpdateOptions(This,pdwUpdateOpt); +} +static FORCEINLINE HRESULT IOleLink_SetSourceMoniker(IOleLink* This,IMoniker *pmk,REFCLSID rclsid) { + return This->lpVtbl->SetSourceMoniker(This,pmk,rclsid); +} +static FORCEINLINE HRESULT IOleLink_GetSourceMoniker(IOleLink* This,IMoniker **ppmk) { + return This->lpVtbl->GetSourceMoniker(This,ppmk); +} +static FORCEINLINE HRESULT IOleLink_SetSourceDisplayName(IOleLink* This,LPCOLESTR pszStatusText) { + return This->lpVtbl->SetSourceDisplayName(This,pszStatusText); +} +static FORCEINLINE HRESULT IOleLink_GetSourceDisplayName(IOleLink* This,LPOLESTR *ppszDisplayName) { + return This->lpVtbl->GetSourceDisplayName(This,ppszDisplayName); +} +static FORCEINLINE HRESULT IOleLink_BindToSource(IOleLink* This,DWORD bindflags,IBindCtx *pbc) { + return This->lpVtbl->BindToSource(This,bindflags,pbc); +} +static FORCEINLINE HRESULT IOleLink_BindIfRunning(IOleLink* This) { + return This->lpVtbl->BindIfRunning(This); +} +static FORCEINLINE HRESULT IOleLink_GetBoundSource(IOleLink* This,IUnknown **ppunk) { + return This->lpVtbl->GetBoundSource(This,ppunk); +} +static FORCEINLINE HRESULT IOleLink_UnbindSource(IOleLink* This) { + return This->lpVtbl->UnbindSource(This); +} +static FORCEINLINE HRESULT IOleLink_Update(IOleLink* This,IBindCtx *pbc) { + return This->lpVtbl->Update(This,pbc); +} +#endif +#endif + +#endif + + +#endif /* __IOleLink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleClientSite interface + */ +#ifndef __IOleClientSite_INTERFACE_DEFINED__ +#define __IOleClientSite_INTERFACE_DEFINED__ + +typedef IOleClientSite *LPOLECLIENTSITE; +DEFINE_GUID(IID_IOleClientSite, 0x00000118, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000118-0000-0000-c000-000000000046") +IOleClientSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SaveObject( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMoniker( + DWORD dwAssign, + DWORD dwWhichMoniker, + IMoniker **ppmk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainer( + IOleContainer **ppContainer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowObject( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnShowWindow( + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleClientSite, 0x00000118, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleClientSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleClientSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleClientSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleClientSite *This); + + /*** IOleClientSite methods ***/ + HRESULT (STDMETHODCALLTYPE *SaveObject)( + IOleClientSite *This); + + HRESULT (STDMETHODCALLTYPE *GetMoniker)( + IOleClientSite *This, + DWORD dwAssign, + DWORD dwWhichMoniker, + IMoniker **ppmk); + + HRESULT (STDMETHODCALLTYPE *GetContainer)( + IOleClientSite *This, + IOleContainer **ppContainer); + + HRESULT (STDMETHODCALLTYPE *ShowObject)( + IOleClientSite *This); + + HRESULT (STDMETHODCALLTYPE *OnShowWindow)( + IOleClientSite *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *RequestNewObjectLayout)( + IOleClientSite *This); + + END_INTERFACE +} IOleClientSiteVtbl; + +interface IOleClientSite { + CONST_VTBL IOleClientSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleClientSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleClientSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleClientSite_Release(This) (This)->lpVtbl->Release(This) +/*** IOleClientSite methods ***/ +#define IOleClientSite_SaveObject(This) (This)->lpVtbl->SaveObject(This) +#define IOleClientSite_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) (This)->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) +#define IOleClientSite_GetContainer(This,ppContainer) (This)->lpVtbl->GetContainer(This,ppContainer) +#define IOleClientSite_ShowObject(This) (This)->lpVtbl->ShowObject(This) +#define IOleClientSite_OnShowWindow(This,fShow) (This)->lpVtbl->OnShowWindow(This,fShow) +#define IOleClientSite_RequestNewObjectLayout(This) (This)->lpVtbl->RequestNewObjectLayout(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleClientSite_QueryInterface(IOleClientSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleClientSite_AddRef(IOleClientSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleClientSite_Release(IOleClientSite* This) { + return This->lpVtbl->Release(This); +} +/*** IOleClientSite methods ***/ +static FORCEINLINE HRESULT IOleClientSite_SaveObject(IOleClientSite* This) { + return This->lpVtbl->SaveObject(This); +} +static FORCEINLINE HRESULT IOleClientSite_GetMoniker(IOleClientSite* This,DWORD dwAssign,DWORD dwWhichMoniker,IMoniker **ppmk) { + return This->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,ppmk); +} +static FORCEINLINE HRESULT IOleClientSite_GetContainer(IOleClientSite* This,IOleContainer **ppContainer) { + return This->lpVtbl->GetContainer(This,ppContainer); +} +static FORCEINLINE HRESULT IOleClientSite_ShowObject(IOleClientSite* This) { + return This->lpVtbl->ShowObject(This); +} +static FORCEINLINE HRESULT IOleClientSite_OnShowWindow(IOleClientSite* This,BOOL fShow) { + return This->lpVtbl->OnShowWindow(This,fShow); +} +static FORCEINLINE HRESULT IOleClientSite_RequestNewObjectLayout(IOleClientSite* This) { + return This->lpVtbl->RequestNewObjectLayout(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleClientSite_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleCache interface + */ +#ifndef __IOleCache_INTERFACE_DEFINED__ +#define __IOleCache_INTERFACE_DEFINED__ + +typedef IOleCache *LPOLECACHE; +DEFINE_GUID(IID_IOleCache, 0x0000011e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000011e-0000-0000-c000-000000000046") +IOleCache : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cache( + FORMATETC *pformatetc, + DWORD advf, + DWORD *pdwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE Uncache( + DWORD dwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCache( + IEnumSTATDATA **ppenumSTATDATA) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitCache( + IDataObject *pDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetData( + FORMATETC *pformatetc, + STGMEDIUM *pmedium, + BOOL fRelease) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleCache, 0x0000011e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleCacheVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleCache *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleCache *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleCache *This); + + /*** IOleCache methods ***/ + HRESULT (STDMETHODCALLTYPE *Cache)( + IOleCache *This, + FORMATETC *pformatetc, + DWORD advf, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Uncache)( + IOleCache *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *EnumCache)( + IOleCache *This, + IEnumSTATDATA **ppenumSTATDATA); + + HRESULT (STDMETHODCALLTYPE *InitCache)( + IOleCache *This, + IDataObject *pDataObject); + + HRESULT (STDMETHODCALLTYPE *SetData)( + IOleCache *This, + FORMATETC *pformatetc, + STGMEDIUM *pmedium, + BOOL fRelease); + + END_INTERFACE +} IOleCacheVtbl; + +interface IOleCache { + CONST_VTBL IOleCacheVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleCache_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleCache_Release(This) (This)->lpVtbl->Release(This) +/*** IOleCache methods ***/ +#define IOleCache_Cache(This,pformatetc,advf,pdwConnection) (This)->lpVtbl->Cache(This,pformatetc,advf,pdwConnection) +#define IOleCache_Uncache(This,dwConnection) (This)->lpVtbl->Uncache(This,dwConnection) +#define IOleCache_EnumCache(This,ppenumSTATDATA) (This)->lpVtbl->EnumCache(This,ppenumSTATDATA) +#define IOleCache_InitCache(This,pDataObject) (This)->lpVtbl->InitCache(This,pDataObject) +#define IOleCache_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleCache_QueryInterface(IOleCache* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleCache_AddRef(IOleCache* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleCache_Release(IOleCache* This) { + return This->lpVtbl->Release(This); +} +/*** IOleCache methods ***/ +static FORCEINLINE HRESULT IOleCache_Cache(IOleCache* This,FORMATETC *pformatetc,DWORD advf,DWORD *pdwConnection) { + return This->lpVtbl->Cache(This,pformatetc,advf,pdwConnection); +} +static FORCEINLINE HRESULT IOleCache_Uncache(IOleCache* This,DWORD dwConnection) { + return This->lpVtbl->Uncache(This,dwConnection); +} +static FORCEINLINE HRESULT IOleCache_EnumCache(IOleCache* This,IEnumSTATDATA **ppenumSTATDATA) { + return This->lpVtbl->EnumCache(This,ppenumSTATDATA); +} +static FORCEINLINE HRESULT IOleCache_InitCache(IOleCache* This,IDataObject *pDataObject) { + return This->lpVtbl->InitCache(This,pDataObject); +} +static FORCEINLINE HRESULT IOleCache_SetData(IOleCache* This,FORMATETC *pformatetc,STGMEDIUM *pmedium,BOOL fRelease) { + return This->lpVtbl->SetData(This,pformatetc,pmedium,fRelease); +} +#endif +#endif + +#endif + + +#endif /* __IOleCache_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleCache2 interface + */ +#ifndef __IOleCache2_INTERFACE_DEFINED__ +#define __IOleCache2_INTERFACE_DEFINED__ + +typedef IOleCache2 *LPOLECACHE2; +#define UPDFCACHE_NODATACACHE (0x1) + +#define UPDFCACHE_ONSAVECACHE (0x2) + +#define UPDFCACHE_ONSTOPCACHE (0x4) + +#define UPDFCACHE_NORMALCACHE (0x8) + +#define UPDFCACHE_IFBLANK (0x10) + +#define UPDFCACHE_ONLYIFBLANK (0x80000000) + +#define UPDFCACHE_IFBLANKORONSAVECACHE (UPDFCACHE_IFBLANK | UPDFCACHE_ONSAVECACHE) + +#define UPDFCACHE_ALL ((DWORD)~UPDFCACHE_ONLYIFBLANK) + +#define UPDFCACHE_ALLBUTNODATACACHE (UPDFCACHE_ALL & (DWORD)~UPDFCACHE_NODATACACHE) + +typedef enum tagDISCARDCACHE { + DISCARDCACHE_SAVEIFDIRTY = 0, + DISCARDCACHE_NOSAVE = 1 +} DISCARDCACHE; +DEFINE_GUID(IID_IOleCache2, 0x00000128, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000128-0000-0000-c000-000000000046") +IOleCache2 : public IOleCache +{ + virtual HRESULT STDMETHODCALLTYPE UpdateCache( + LPDATAOBJECT pDataObject, + DWORD grfUpdf, + LPVOID pReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE DiscardCache( + DWORD dwDiscardOptions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleCache2, 0x00000128, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleCache2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleCache2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleCache2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleCache2 *This); + + /*** IOleCache methods ***/ + HRESULT (STDMETHODCALLTYPE *Cache)( + IOleCache2 *This, + FORMATETC *pformatetc, + DWORD advf, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Uncache)( + IOleCache2 *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *EnumCache)( + IOleCache2 *This, + IEnumSTATDATA **ppenumSTATDATA); + + HRESULT (STDMETHODCALLTYPE *InitCache)( + IOleCache2 *This, + IDataObject *pDataObject); + + HRESULT (STDMETHODCALLTYPE *SetData)( + IOleCache2 *This, + FORMATETC *pformatetc, + STGMEDIUM *pmedium, + BOOL fRelease); + + /*** IOleCache2 methods ***/ + HRESULT (STDMETHODCALLTYPE *UpdateCache)( + IOleCache2 *This, + LPDATAOBJECT pDataObject, + DWORD grfUpdf, + LPVOID pReserved); + + HRESULT (STDMETHODCALLTYPE *DiscardCache)( + IOleCache2 *This, + DWORD dwDiscardOptions); + + END_INTERFACE +} IOleCache2Vtbl; + +interface IOleCache2 { + CONST_VTBL IOleCache2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleCache2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleCache2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleCache2_Release(This) (This)->lpVtbl->Release(This) +/*** IOleCache methods ***/ +#define IOleCache2_Cache(This,pformatetc,advf,pdwConnection) (This)->lpVtbl->Cache(This,pformatetc,advf,pdwConnection) +#define IOleCache2_Uncache(This,dwConnection) (This)->lpVtbl->Uncache(This,dwConnection) +#define IOleCache2_EnumCache(This,ppenumSTATDATA) (This)->lpVtbl->EnumCache(This,ppenumSTATDATA) +#define IOleCache2_InitCache(This,pDataObject) (This)->lpVtbl->InitCache(This,pDataObject) +#define IOleCache2_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease) +/*** IOleCache2 methods ***/ +#define IOleCache2_UpdateCache(This,pDataObject,grfUpdf,pReserved) (This)->lpVtbl->UpdateCache(This,pDataObject,grfUpdf,pReserved) +#define IOleCache2_DiscardCache(This,dwDiscardOptions) (This)->lpVtbl->DiscardCache(This,dwDiscardOptions) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleCache2_QueryInterface(IOleCache2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleCache2_AddRef(IOleCache2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleCache2_Release(IOleCache2* This) { + return This->lpVtbl->Release(This); +} +/*** IOleCache methods ***/ +static FORCEINLINE HRESULT IOleCache2_Cache(IOleCache2* This,FORMATETC *pformatetc,DWORD advf,DWORD *pdwConnection) { + return This->lpVtbl->Cache(This,pformatetc,advf,pdwConnection); +} +static FORCEINLINE HRESULT IOleCache2_Uncache(IOleCache2* This,DWORD dwConnection) { + return This->lpVtbl->Uncache(This,dwConnection); +} +static FORCEINLINE HRESULT IOleCache2_EnumCache(IOleCache2* This,IEnumSTATDATA **ppenumSTATDATA) { + return This->lpVtbl->EnumCache(This,ppenumSTATDATA); +} +static FORCEINLINE HRESULT IOleCache2_InitCache(IOleCache2* This,IDataObject *pDataObject) { + return This->lpVtbl->InitCache(This,pDataObject); +} +static FORCEINLINE HRESULT IOleCache2_SetData(IOleCache2* This,FORMATETC *pformatetc,STGMEDIUM *pmedium,BOOL fRelease) { + return This->lpVtbl->SetData(This,pformatetc,pmedium,fRelease); +} +/*** IOleCache2 methods ***/ +static FORCEINLINE HRESULT IOleCache2_UpdateCache(IOleCache2* This,LPDATAOBJECT pDataObject,DWORD grfUpdf,LPVOID pReserved) { + return This->lpVtbl->UpdateCache(This,pDataObject,grfUpdf,pReserved); +} +static FORCEINLINE HRESULT IOleCache2_DiscardCache(IOleCache2* This,DWORD dwDiscardOptions) { + return This->lpVtbl->DiscardCache(This,dwDiscardOptions); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IOleCache2_RemoteUpdateCache_Proxy( + IOleCache2* This, + LPDATAOBJECT pDataObject, + DWORD grfUpdf, + LONG_PTR pReserved); +void __RPC_STUB IOleCache2_RemoteUpdateCache_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IOleCache2_UpdateCache_Proxy( + IOleCache2* This, + LPDATAOBJECT pDataObject, + DWORD grfUpdf, + LPVOID pReserved); +HRESULT __RPC_STUB IOleCache2_UpdateCache_Stub( + IOleCache2* This, + LPDATAOBJECT pDataObject, + DWORD grfUpdf, + LONG_PTR pReserved); + +#endif /* __IOleCache2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleCacheControl interface + */ +#ifndef __IOleCacheControl_INTERFACE_DEFINED__ +#define __IOleCacheControl_INTERFACE_DEFINED__ + +typedef IOleCacheControl *LPOLECACHECONTROL; +DEFINE_GUID(IID_IOleCacheControl, 0x00000129, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000129-0000-0000-c000-000000000046") +IOleCacheControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnRun( + LPDATAOBJECT pDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStop( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleCacheControl, 0x00000129, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleCacheControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleCacheControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleCacheControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleCacheControl *This); + + /*** IOleCacheControl methods ***/ + HRESULT (STDMETHODCALLTYPE *OnRun)( + IOleCacheControl *This, + LPDATAOBJECT pDataObject); + + HRESULT (STDMETHODCALLTYPE *OnStop)( + IOleCacheControl *This); + + END_INTERFACE +} IOleCacheControlVtbl; + +interface IOleCacheControl { + CONST_VTBL IOleCacheControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleCacheControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleCacheControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleCacheControl_Release(This) (This)->lpVtbl->Release(This) +/*** IOleCacheControl methods ***/ +#define IOleCacheControl_OnRun(This,pDataObject) (This)->lpVtbl->OnRun(This,pDataObject) +#define IOleCacheControl_OnStop(This) (This)->lpVtbl->OnStop(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleCacheControl_QueryInterface(IOleCacheControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleCacheControl_AddRef(IOleCacheControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleCacheControl_Release(IOleCacheControl* This) { + return This->lpVtbl->Release(This); +} +/*** IOleCacheControl methods ***/ +static FORCEINLINE HRESULT IOleCacheControl_OnRun(IOleCacheControl* This,LPDATAOBJECT pDataObject) { + return This->lpVtbl->OnRun(This,pDataObject); +} +static FORCEINLINE HRESULT IOleCacheControl_OnStop(IOleCacheControl* This) { + return This->lpVtbl->OnStop(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleCacheControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumOLEVERB interface + */ +#ifndef __IEnumOLEVERB_INTERFACE_DEFINED__ +#define __IEnumOLEVERB_INTERFACE_DEFINED__ + +typedef IEnumOLEVERB *LPENUMOLEVERB; +typedef struct tagOLEVERB { + LONG lVerb; + LPOLESTR lpszVerbName; + DWORD fuFlags; + DWORD grfAttribs; +} OLEVERB; +typedef struct tagOLEVERB *LPOLEVERB; +typedef enum tagOLEVERBATTRIB { + OLEVERBATTRIB_NEVERDIRTIES = 1, + OLEVERBATTRIB_ONCONTAINERMENU = 2 +} OLEVERBATTRIB; +DEFINE_GUID(IID_IEnumOLEVERB, 0x00000104, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000104-0000-0000-c000-000000000046") +IEnumOLEVERB : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + LPOLEVERB rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumOLEVERB **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumOLEVERB, 0x00000104, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumOLEVERBVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumOLEVERB *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumOLEVERB *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumOLEVERB *This); + + /*** IEnumOLEVERB methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumOLEVERB *This, + ULONG celt, + LPOLEVERB rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumOLEVERB *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumOLEVERB *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumOLEVERB *This, + IEnumOLEVERB **ppenum); + + END_INTERFACE +} IEnumOLEVERBVtbl; + +interface IEnumOLEVERB { + CONST_VTBL IEnumOLEVERBVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumOLEVERB_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumOLEVERB_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumOLEVERB_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumOLEVERB methods ***/ +#define IEnumOLEVERB_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumOLEVERB_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumOLEVERB_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumOLEVERB_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumOLEVERB_QueryInterface(IEnumOLEVERB* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumOLEVERB_AddRef(IEnumOLEVERB* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumOLEVERB_Release(IEnumOLEVERB* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumOLEVERB methods ***/ +static FORCEINLINE HRESULT IEnumOLEVERB_Next(IEnumOLEVERB* This,ULONG celt,LPOLEVERB rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumOLEVERB_Skip(IEnumOLEVERB* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumOLEVERB_Reset(IEnumOLEVERB* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumOLEVERB_Clone(IEnumOLEVERB* This,IEnumOLEVERB **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumOLEVERB_RemoteNext_Proxy( + IEnumOLEVERB* This, + ULONG celt, + LPOLEVERB rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumOLEVERB_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumOLEVERB_Next_Proxy( + IEnumOLEVERB* This, + ULONG celt, + LPOLEVERB rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumOLEVERB_Next_Stub( + IEnumOLEVERB* This, + ULONG celt, + LPOLEVERB rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumOLEVERB_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleObject interface + */ +#ifndef __IOleObject_INTERFACE_DEFINED__ +#define __IOleObject_INTERFACE_DEFINED__ + +typedef IOleObject *LPOLEOBJECT; +typedef enum tagOLEGETMONIKER { + OLEGETMONIKER_ONLYIFTHERE = 1, + OLEGETMONIKER_FORCEASSIGN = 2, + OLEGETMONIKER_UNASSIGN = 3, + OLEGETMONIKER_TEMPFORUSER = 4 +} OLEGETMONIKER; +typedef enum tagOLEWHICHMK { + OLEWHICHMK_CONTAINER = 1, + OLEWHICHMK_OBJREL = 2, + OLEWHICHMK_OBJFULL = 3 +} OLEWHICHMK; +typedef enum tagUSERCLASSTYPE { + USERCLASSTYPE_FULL = 1, + USERCLASSTYPE_SHORT = 2, + USERCLASSTYPE_APPNAME = 3 +} USERCLASSTYPE; +typedef enum tagOLEMISC { + OLEMISC_RECOMPOSEONRESIZE = 0x1, + OLEMISC_ONLYICONIC = 0x2, + OLEMISC_INSERTNOTREPLACE = 0x4, + OLEMISC_STATIC = 0x8, + OLEMISC_CANTLINKINSIDE = 0x10, + OLEMISC_CANLINKBYOLE1 = 0x20, + OLEMISC_ISLINKOBJECT = 0x40, + OLEMISC_INSIDEOUT = 0x80, + OLEMISC_ACTIVATEWHENVISIBLE = 0x100, + OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200, + OLEMISC_INVISIBLEATRUNTIME = 0x400, + OLEMISC_ALWAYSRUN = 0x800, + OLEMISC_ACTSLIKEBUTTON = 0x1000, + OLEMISC_ACTSLIKELABEL = 0x2000, + OLEMISC_NOUIACTIVATE = 0x4000, + OLEMISC_ALIGNABLE = 0x8000, + OLEMISC_SIMPLEFRAME = 0x10000, + OLEMISC_SETCLIENTSITEFIRST = 0x20000, + OLEMISC_IMEMODE = 0x40000, + OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000, + OLEMISC_WANTSTOMENUMERGE = 0x100000, + OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000 +} OLEMISC; +typedef enum tagOLECLOSE { + OLECLOSE_SAVEIFDIRTY = 0, + OLECLOSE_NOSAVE = 1, + OLECLOSE_PROMPTSAVE = 2 +} OLECLOSE; +DEFINE_GUID(IID_IOleObject, 0x00000112, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000112-0000-0000-c000-000000000046") +IOleObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetClientSite( + IOleClientSite *pClientSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClientSite( + IOleClientSite **ppClientSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHostNames( + LPCOLESTR szContainerApp, + LPCOLESTR szContainerObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + DWORD dwSaveOption) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMoniker( + DWORD dwWhichMoniker, + IMoniker *pmk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMoniker( + DWORD dwAssign, + DWORD dwWhichMoniker, + IMoniker **ppmk) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitFromData( + IDataObject *pDataObject, + BOOL fCreation, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClipboardData( + DWORD dwReserved, + IDataObject **ppDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoVerb( + LONG iVerb, + LPMSG lpmsg, + IOleClientSite *pActiveSite, + LONG lindex, + HWND hwndParent, + LPCRECT lprcPosRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumVerbs( + IEnumOLEVERB **ppEnumOleVerb) = 0; + + virtual HRESULT STDMETHODCALLTYPE Update( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUpToDate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserClassID( + CLSID *pClsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserType( + DWORD dwFormOfType, + LPOLESTR *pszUserType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetExtent( + DWORD dwDrawAspect, + SIZEL *psizel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExtent( + DWORD dwDrawAspect, + SIZEL *psizel) = 0; + + virtual HRESULT STDMETHODCALLTYPE Advise( + IAdviseSink *pAdvSink, + DWORD *pdwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumAdvise( + IEnumSTATDATA **ppenumAdvise) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMiscStatus( + DWORD dwAspect, + DWORD *pdwStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorScheme( + LOGPALETTE *pLogpal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleObject, 0x00000112, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleObject *This); + + /*** IOleObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetClientSite)( + IOleObject *This, + IOleClientSite *pClientSite); + + HRESULT (STDMETHODCALLTYPE *GetClientSite)( + IOleObject *This, + IOleClientSite **ppClientSite); + + HRESULT (STDMETHODCALLTYPE *SetHostNames)( + IOleObject *This, + LPCOLESTR szContainerApp, + LPCOLESTR szContainerObj); + + HRESULT (STDMETHODCALLTYPE *Close)( + IOleObject *This, + DWORD dwSaveOption); + + HRESULT (STDMETHODCALLTYPE *SetMoniker)( + IOleObject *This, + DWORD dwWhichMoniker, + IMoniker *pmk); + + HRESULT (STDMETHODCALLTYPE *GetMoniker)( + IOleObject *This, + DWORD dwAssign, + DWORD dwWhichMoniker, + IMoniker **ppmk); + + HRESULT (STDMETHODCALLTYPE *InitFromData)( + IOleObject *This, + IDataObject *pDataObject, + BOOL fCreation, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *GetClipboardData)( + IOleObject *This, + DWORD dwReserved, + IDataObject **ppDataObject); + + HRESULT (STDMETHODCALLTYPE *DoVerb)( + IOleObject *This, + LONG iVerb, + LPMSG lpmsg, + IOleClientSite *pActiveSite, + LONG lindex, + HWND hwndParent, + LPCRECT lprcPosRect); + + HRESULT (STDMETHODCALLTYPE *EnumVerbs)( + IOleObject *This, + IEnumOLEVERB **ppEnumOleVerb); + + HRESULT (STDMETHODCALLTYPE *Update)( + IOleObject *This); + + HRESULT (STDMETHODCALLTYPE *IsUpToDate)( + IOleObject *This); + + HRESULT (STDMETHODCALLTYPE *GetUserClassID)( + IOleObject *This, + CLSID *pClsid); + + HRESULT (STDMETHODCALLTYPE *GetUserType)( + IOleObject *This, + DWORD dwFormOfType, + LPOLESTR *pszUserType); + + HRESULT (STDMETHODCALLTYPE *SetExtent)( + IOleObject *This, + DWORD dwDrawAspect, + SIZEL *psizel); + + HRESULT (STDMETHODCALLTYPE *GetExtent)( + IOleObject *This, + DWORD dwDrawAspect, + SIZEL *psizel); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IOleObject *This, + IAdviseSink *pAdvSink, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IOleObject *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *EnumAdvise)( + IOleObject *This, + IEnumSTATDATA **ppenumAdvise); + + HRESULT (STDMETHODCALLTYPE *GetMiscStatus)( + IOleObject *This, + DWORD dwAspect, + DWORD *pdwStatus); + + HRESULT (STDMETHODCALLTYPE *SetColorScheme)( + IOleObject *This, + LOGPALETTE *pLogpal); + + END_INTERFACE +} IOleObjectVtbl; + +interface IOleObject { + CONST_VTBL IOleObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleObject_Release(This) (This)->lpVtbl->Release(This) +/*** IOleObject methods ***/ +#define IOleObject_SetClientSite(This,pClientSite) (This)->lpVtbl->SetClientSite(This,pClientSite) +#define IOleObject_GetClientSite(This,ppClientSite) (This)->lpVtbl->GetClientSite(This,ppClientSite) +#define IOleObject_SetHostNames(This,szContainerApp,szContainerObj) (This)->lpVtbl->SetHostNames(This,szContainerApp,szContainerObj) +#define IOleObject_Close(This,dwSaveOption) (This)->lpVtbl->Close(This,dwSaveOption) +#define IOleObject_SetMoniker(This,dwWhichMoniker,pmk) (This)->lpVtbl->SetMoniker(This,dwWhichMoniker,pmk) +#define IOleObject_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) (This)->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) +#define IOleObject_InitFromData(This,pDataObject,fCreation,dwReserved) (This)->lpVtbl->InitFromData(This,pDataObject,fCreation,dwReserved) +#define IOleObject_GetClipboardData(This,dwReserved,ppDataObject) (This)->lpVtbl->GetClipboardData(This,dwReserved,ppDataObject) +#define IOleObject_DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect) (This)->lpVtbl->DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect) +#define IOleObject_EnumVerbs(This,ppEnumOleVerb) (This)->lpVtbl->EnumVerbs(This,ppEnumOleVerb) +#define IOleObject_Update(This) (This)->lpVtbl->Update(This) +#define IOleObject_IsUpToDate(This) (This)->lpVtbl->IsUpToDate(This) +#define IOleObject_GetUserClassID(This,pClsid) (This)->lpVtbl->GetUserClassID(This,pClsid) +#define IOleObject_GetUserType(This,dwFormOfType,pszUserType) (This)->lpVtbl->GetUserType(This,dwFormOfType,pszUserType) +#define IOleObject_SetExtent(This,dwDrawAspect,psizel) (This)->lpVtbl->SetExtent(This,dwDrawAspect,psizel) +#define IOleObject_GetExtent(This,dwDrawAspect,psizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,psizel) +#define IOleObject_Advise(This,pAdvSink,pdwConnection) (This)->lpVtbl->Advise(This,pAdvSink,pdwConnection) +#define IOleObject_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection) +#define IOleObject_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise) +#define IOleObject_GetMiscStatus(This,dwAspect,pdwStatus) (This)->lpVtbl->GetMiscStatus(This,dwAspect,pdwStatus) +#define IOleObject_SetColorScheme(This,pLogpal) (This)->lpVtbl->SetColorScheme(This,pLogpal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleObject_QueryInterface(IOleObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleObject_AddRef(IOleObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleObject_Release(IOleObject* This) { + return This->lpVtbl->Release(This); +} +/*** IOleObject methods ***/ +static FORCEINLINE HRESULT IOleObject_SetClientSite(IOleObject* This,IOleClientSite *pClientSite) { + return This->lpVtbl->SetClientSite(This,pClientSite); +} +static FORCEINLINE HRESULT IOleObject_GetClientSite(IOleObject* This,IOleClientSite **ppClientSite) { + return This->lpVtbl->GetClientSite(This,ppClientSite); +} +static FORCEINLINE HRESULT IOleObject_SetHostNames(IOleObject* This,LPCOLESTR szContainerApp,LPCOLESTR szContainerObj) { + return This->lpVtbl->SetHostNames(This,szContainerApp,szContainerObj); +} +static FORCEINLINE HRESULT IOleObject_Close(IOleObject* This,DWORD dwSaveOption) { + return This->lpVtbl->Close(This,dwSaveOption); +} +static FORCEINLINE HRESULT IOleObject_SetMoniker(IOleObject* This,DWORD dwWhichMoniker,IMoniker *pmk) { + return This->lpVtbl->SetMoniker(This,dwWhichMoniker,pmk); +} +static FORCEINLINE HRESULT IOleObject_GetMoniker(IOleObject* This,DWORD dwAssign,DWORD dwWhichMoniker,IMoniker **ppmk) { + return This->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,ppmk); +} +static FORCEINLINE HRESULT IOleObject_InitFromData(IOleObject* This,IDataObject *pDataObject,BOOL fCreation,DWORD dwReserved) { + return This->lpVtbl->InitFromData(This,pDataObject,fCreation,dwReserved); +} +static FORCEINLINE HRESULT IOleObject_GetClipboardData(IOleObject* This,DWORD dwReserved,IDataObject **ppDataObject) { + return This->lpVtbl->GetClipboardData(This,dwReserved,ppDataObject); +} +static FORCEINLINE HRESULT IOleObject_DoVerb(IOleObject* This,LONG iVerb,LPMSG lpmsg,IOleClientSite *pActiveSite,LONG lindex,HWND hwndParent,LPCRECT lprcPosRect) { + return This->lpVtbl->DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect); +} +static FORCEINLINE HRESULT IOleObject_EnumVerbs(IOleObject* This,IEnumOLEVERB **ppEnumOleVerb) { + return This->lpVtbl->EnumVerbs(This,ppEnumOleVerb); +} +static FORCEINLINE HRESULT IOleObject_Update(IOleObject* This) { + return This->lpVtbl->Update(This); +} +static FORCEINLINE HRESULT IOleObject_IsUpToDate(IOleObject* This) { + return This->lpVtbl->IsUpToDate(This); +} +static FORCEINLINE HRESULT IOleObject_GetUserClassID(IOleObject* This,CLSID *pClsid) { + return This->lpVtbl->GetUserClassID(This,pClsid); +} +static FORCEINLINE HRESULT IOleObject_GetUserType(IOleObject* This,DWORD dwFormOfType,LPOLESTR *pszUserType) { + return This->lpVtbl->GetUserType(This,dwFormOfType,pszUserType); +} +static FORCEINLINE HRESULT IOleObject_SetExtent(IOleObject* This,DWORD dwDrawAspect,SIZEL *psizel) { + return This->lpVtbl->SetExtent(This,dwDrawAspect,psizel); +} +static FORCEINLINE HRESULT IOleObject_GetExtent(IOleObject* This,DWORD dwDrawAspect,SIZEL *psizel) { + return This->lpVtbl->GetExtent(This,dwDrawAspect,psizel); +} +static FORCEINLINE HRESULT IOleObject_Advise(IOleObject* This,IAdviseSink *pAdvSink,DWORD *pdwConnection) { + return This->lpVtbl->Advise(This,pAdvSink,pdwConnection); +} +static FORCEINLINE HRESULT IOleObject_Unadvise(IOleObject* This,DWORD dwConnection) { + return This->lpVtbl->Unadvise(This,dwConnection); +} +static FORCEINLINE HRESULT IOleObject_EnumAdvise(IOleObject* This,IEnumSTATDATA **ppenumAdvise) { + return This->lpVtbl->EnumAdvise(This,ppenumAdvise); +} +static FORCEINLINE HRESULT IOleObject_GetMiscStatus(IOleObject* This,DWORD dwAspect,DWORD *pdwStatus) { + return This->lpVtbl->GetMiscStatus(This,dwAspect,pdwStatus); +} +static FORCEINLINE HRESULT IOleObject_SetColorScheme(IOleObject* This,LOGPALETTE *pLogpal) { + return This->lpVtbl->SetColorScheme(This,pLogpal); +} +#endif +#endif + +#endif + + +#endif /* __IOleObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IOleAdviseHolder interface + */ +#ifndef __IOleAdviseHolder_INTERFACE_DEFINED__ +#define __IOleAdviseHolder_INTERFACE_DEFINED__ + +typedef IOleAdviseHolder *LPOLEADVISEHOLDER; +DEFINE_GUID(IID_IOleAdviseHolder, 0x00000111, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000111-0000-0000-c000-000000000046") +IOleAdviseHolder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Advise( + IAdviseSink *pAdvise, + DWORD *pdwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumAdvise( + IEnumSTATDATA **ppenumAdvise) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendOnRename( + IMoniker *pmk) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendOnSave( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendOnClose( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOleAdviseHolder, 0x00000111, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IOleAdviseHolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOleAdviseHolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOleAdviseHolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOleAdviseHolder *This); + + /*** IOleAdviseHolder methods ***/ + HRESULT (STDMETHODCALLTYPE *Advise)( + IOleAdviseHolder *This, + IAdviseSink *pAdvise, + DWORD *pdwConnection); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IOleAdviseHolder *This, + DWORD dwConnection); + + HRESULT (STDMETHODCALLTYPE *EnumAdvise)( + IOleAdviseHolder *This, + IEnumSTATDATA **ppenumAdvise); + + HRESULT (STDMETHODCALLTYPE *SendOnRename)( + IOleAdviseHolder *This, + IMoniker *pmk); + + HRESULT (STDMETHODCALLTYPE *SendOnSave)( + IOleAdviseHolder *This); + + HRESULT (STDMETHODCALLTYPE *SendOnClose)( + IOleAdviseHolder *This); + + END_INTERFACE +} IOleAdviseHolderVtbl; + +interface IOleAdviseHolder { + CONST_VTBL IOleAdviseHolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOleAdviseHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOleAdviseHolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOleAdviseHolder_Release(This) (This)->lpVtbl->Release(This) +/*** IOleAdviseHolder methods ***/ +#define IOleAdviseHolder_Advise(This,pAdvise,pdwConnection) (This)->lpVtbl->Advise(This,pAdvise,pdwConnection) +#define IOleAdviseHolder_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection) +#define IOleAdviseHolder_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise) +#define IOleAdviseHolder_SendOnRename(This,pmk) (This)->lpVtbl->SendOnRename(This,pmk) +#define IOleAdviseHolder_SendOnSave(This) (This)->lpVtbl->SendOnSave(This) +#define IOleAdviseHolder_SendOnClose(This) (This)->lpVtbl->SendOnClose(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOleAdviseHolder_QueryInterface(IOleAdviseHolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOleAdviseHolder_AddRef(IOleAdviseHolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOleAdviseHolder_Release(IOleAdviseHolder* This) { + return This->lpVtbl->Release(This); +} +/*** IOleAdviseHolder methods ***/ +static FORCEINLINE HRESULT IOleAdviseHolder_Advise(IOleAdviseHolder* This,IAdviseSink *pAdvise,DWORD *pdwConnection) { + return This->lpVtbl->Advise(This,pAdvise,pdwConnection); +} +static FORCEINLINE HRESULT IOleAdviseHolder_Unadvise(IOleAdviseHolder* This,DWORD dwConnection) { + return This->lpVtbl->Unadvise(This,dwConnection); +} +static FORCEINLINE HRESULT IOleAdviseHolder_EnumAdvise(IOleAdviseHolder* This,IEnumSTATDATA **ppenumAdvise) { + return This->lpVtbl->EnumAdvise(This,ppenumAdvise); +} +static FORCEINLINE HRESULT IOleAdviseHolder_SendOnRename(IOleAdviseHolder* This,IMoniker *pmk) { + return This->lpVtbl->SendOnRename(This,pmk); +} +static FORCEINLINE HRESULT IOleAdviseHolder_SendOnSave(IOleAdviseHolder* This) { + return This->lpVtbl->SendOnSave(This); +} +static FORCEINLINE HRESULT IOleAdviseHolder_SendOnClose(IOleAdviseHolder* This) { + return This->lpVtbl->SendOnClose(This); +} +#endif +#endif + +#endif + + +#endif /* __IOleAdviseHolder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContinue interface + */ +#ifndef __IContinue_INTERFACE_DEFINED__ +#define __IContinue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IContinue, 0x0000012a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000012a-0000-0000-c000-000000000046") +IContinue : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FContinue( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContinue, 0x0000012a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IContinueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContinue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContinue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContinue *This); + + /*** IContinue methods ***/ + HRESULT (STDMETHODCALLTYPE *FContinue)( + IContinue *This); + + END_INTERFACE +} IContinueVtbl; + +interface IContinue { + CONST_VTBL IContinueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContinue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContinue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContinue_Release(This) (This)->lpVtbl->Release(This) +/*** IContinue methods ***/ +#define IContinue_FContinue(This) (This)->lpVtbl->FContinue(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContinue_QueryInterface(IContinue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContinue_AddRef(IContinue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContinue_Release(IContinue* This) { + return This->lpVtbl->Release(This); +} +/*** IContinue methods ***/ +static FORCEINLINE HRESULT IContinue_FContinue(IContinue* This) { + return This->lpVtbl->FContinue(This); +} +#endif +#endif + +#endif + + +#endif /* __IContinue_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IViewObject interface + */ +#ifndef __IViewObject_INTERFACE_DEFINED__ +#define __IViewObject_INTERFACE_DEFINED__ + +typedef IViewObject *LPVIEWOBJECT; +DEFINE_GUID(IID_IViewObject, 0x0000010d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000010d-0000-0000-c000-000000000046") +IViewObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Draw( + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hdcTargetDev, + HDC hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), + ULONG_PTR dwContinue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorSet( + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + LOGPALETTE **ppColorSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE Freeze( + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DWORD *pdwFreeze) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unfreeze( + DWORD dwFreeze) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAdvise( + DWORD aspects, + DWORD advf, + IAdviseSink *pAdvSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdvise( + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IViewObject, 0x0000010d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IViewObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IViewObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IViewObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IViewObject *This); + + /*** IViewObject methods ***/ + HRESULT (STDMETHODCALLTYPE *Draw)( + IViewObject *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hdcTargetDev, + HDC hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), + ULONG_PTR dwContinue); + + HRESULT (STDMETHODCALLTYPE *GetColorSet)( + IViewObject *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + LOGPALETTE **ppColorSet); + + HRESULT (STDMETHODCALLTYPE *Freeze)( + IViewObject *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DWORD *pdwFreeze); + + HRESULT (STDMETHODCALLTYPE *Unfreeze)( + IViewObject *This, + DWORD dwFreeze); + + HRESULT (STDMETHODCALLTYPE *SetAdvise)( + IViewObject *This, + DWORD aspects, + DWORD advf, + IAdviseSink *pAdvSink); + + HRESULT (STDMETHODCALLTYPE *GetAdvise)( + IViewObject *This, + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink); + + END_INTERFACE +} IViewObjectVtbl; + +interface IViewObject { + CONST_VTBL IViewObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IViewObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IViewObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IViewObject_Release(This) (This)->lpVtbl->Release(This) +/*** IViewObject methods ***/ +#define IViewObject_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) (This)->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) +#define IViewObject_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) +#define IViewObject_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) +#define IViewObject_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze) +#define IViewObject_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink) +#define IViewObject_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IViewObject_QueryInterface(IViewObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IViewObject_AddRef(IViewObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IViewObject_Release(IViewObject* This) { + return This->lpVtbl->Release(This); +} +/*** IViewObject methods ***/ +static FORCEINLINE HRESULT IViewObject_Draw(IViewObject* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcTargetDev,HDC hdcDraw,LPCRECTL lprcBounds,LPCRECTL lprcWBounds,BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),ULONG_PTR dwContinue) { + return This->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue); +} +static FORCEINLINE HRESULT IViewObject_GetColorSet(IViewObject* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hicTargetDev,LOGPALETTE **ppColorSet) { + return This->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet); +} +static FORCEINLINE HRESULT IViewObject_Freeze(IViewObject* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DWORD *pdwFreeze) { + return This->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze); +} +static FORCEINLINE HRESULT IViewObject_Unfreeze(IViewObject* This,DWORD dwFreeze) { + return This->lpVtbl->Unfreeze(This,dwFreeze); +} +static FORCEINLINE HRESULT IViewObject_SetAdvise(IViewObject* This,DWORD aspects,DWORD advf,IAdviseSink *pAdvSink) { + return This->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink); +} +static FORCEINLINE HRESULT IViewObject_GetAdvise(IViewObject* This,DWORD *pAspects,DWORD *pAdvf,IAdviseSink **ppAdvSink) { + return This->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IViewObject_RemoteDraw_Proxy( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + ULONG_PTR pvAspect, + DVTARGETDEVICE *ptd, + ULONG_PTR hdcTargetDev, + ULONG_PTR hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + IContinue *pContinue); +void __RPC_STUB IViewObject_RemoteDraw_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetColorSet_Proxy( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + ULONG_PTR pvAspect, + DVTARGETDEVICE *ptd, + ULONG_PTR hicTargetDev, + LOGPALETTE **ppColorSet); +void __RPC_STUB IViewObject_RemoteGetColorSet_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IViewObject_RemoteFreeze_Proxy( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + ULONG_PTR pvAspect, + DWORD *pdwFreeze); +void __RPC_STUB IViewObject_RemoteFreeze_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetAdvise_Proxy( + IViewObject* This, + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink); +void __RPC_STUB IViewObject_RemoteGetAdvise_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IViewObject_Draw_Proxy( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hdcTargetDev, + HDC hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), + ULONG_PTR dwContinue); +HRESULT __RPC_STUB IViewObject_Draw_Stub( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + ULONG_PTR pvAspect, + DVTARGETDEVICE *ptd, + ULONG_PTR hdcTargetDev, + ULONG_PTR hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + IContinue *pContinue); +HRESULT CALLBACK IViewObject_GetColorSet_Proxy( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + LOGPALETTE **ppColorSet); +HRESULT __RPC_STUB IViewObject_GetColorSet_Stub( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + ULONG_PTR pvAspect, + DVTARGETDEVICE *ptd, + ULONG_PTR hicTargetDev, + LOGPALETTE **ppColorSet); +HRESULT CALLBACK IViewObject_Freeze_Proxy( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DWORD *pdwFreeze); +HRESULT __RPC_STUB IViewObject_Freeze_Stub( + IViewObject* This, + DWORD dwDrawAspect, + LONG lindex, + ULONG_PTR pvAspect, + DWORD *pdwFreeze); +HRESULT CALLBACK IViewObject_GetAdvise_Proxy( + IViewObject* This, + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink); +HRESULT __RPC_STUB IViewObject_GetAdvise_Stub( + IViewObject* This, + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink); + +#endif /* __IViewObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IViewObject2 interface + */ +#ifndef __IViewObject2_INTERFACE_DEFINED__ +#define __IViewObject2_INTERFACE_DEFINED__ + +typedef IViewObject2 *LPVIEWOBJECT2; +DEFINE_GUID(IID_IViewObject2, 0x00000127, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000127-0000-0000-c000-000000000046") +IViewObject2 : public IViewObject +{ + virtual HRESULT STDMETHODCALLTYPE GetExtent( + DWORD dwDrawAspect, + LONG lindex, + DVTARGETDEVICE *ptd, + LPSIZEL lpsizel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IViewObject2, 0x00000127, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IViewObject2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IViewObject2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IViewObject2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IViewObject2 *This); + + /*** IViewObject methods ***/ + HRESULT (STDMETHODCALLTYPE *Draw)( + IViewObject2 *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hdcTargetDev, + HDC hdcDraw, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), + ULONG_PTR dwContinue); + + HRESULT (STDMETHODCALLTYPE *GetColorSet)( + IViewObject2 *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DVTARGETDEVICE *ptd, + HDC hicTargetDev, + LOGPALETTE **ppColorSet); + + HRESULT (STDMETHODCALLTYPE *Freeze)( + IViewObject2 *This, + DWORD dwDrawAspect, + LONG lindex, + void *pvAspect, + DWORD *pdwFreeze); + + HRESULT (STDMETHODCALLTYPE *Unfreeze)( + IViewObject2 *This, + DWORD dwFreeze); + + HRESULT (STDMETHODCALLTYPE *SetAdvise)( + IViewObject2 *This, + DWORD aspects, + DWORD advf, + IAdviseSink *pAdvSink); + + HRESULT (STDMETHODCALLTYPE *GetAdvise)( + IViewObject2 *This, + DWORD *pAspects, + DWORD *pAdvf, + IAdviseSink **ppAdvSink); + + /*** IViewObject2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetExtent)( + IViewObject2 *This, + DWORD dwDrawAspect, + LONG lindex, + DVTARGETDEVICE *ptd, + LPSIZEL lpsizel); + + END_INTERFACE +} IViewObject2Vtbl; + +interface IViewObject2 { + CONST_VTBL IViewObject2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IViewObject2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IViewObject2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IViewObject2_Release(This) (This)->lpVtbl->Release(This) +/*** IViewObject methods ***/ +#define IViewObject2_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) (This)->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) +#define IViewObject2_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) +#define IViewObject2_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) +#define IViewObject2_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze) +#define IViewObject2_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink) +#define IViewObject2_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink) +/*** IViewObject2 methods ***/ +#define IViewObject2_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IViewObject2_QueryInterface(IViewObject2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IViewObject2_AddRef(IViewObject2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IViewObject2_Release(IViewObject2* This) { + return This->lpVtbl->Release(This); +} +/*** IViewObject methods ***/ +static FORCEINLINE HRESULT IViewObject2_Draw(IViewObject2* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcTargetDev,HDC hdcDraw,LPCRECTL lprcBounds,LPCRECTL lprcWBounds,BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),ULONG_PTR dwContinue) { + return This->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue); +} +static FORCEINLINE HRESULT IViewObject2_GetColorSet(IViewObject2* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hicTargetDev,LOGPALETTE **ppColorSet) { + return This->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet); +} +static FORCEINLINE HRESULT IViewObject2_Freeze(IViewObject2* This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DWORD *pdwFreeze) { + return This->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze); +} +static FORCEINLINE HRESULT IViewObject2_Unfreeze(IViewObject2* This,DWORD dwFreeze) { + return This->lpVtbl->Unfreeze(This,dwFreeze); +} +static FORCEINLINE HRESULT IViewObject2_SetAdvise(IViewObject2* This,DWORD aspects,DWORD advf,IAdviseSink *pAdvSink) { + return This->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink); +} +static FORCEINLINE HRESULT IViewObject2_GetAdvise(IViewObject2* This,DWORD *pAspects,DWORD *pAdvf,IAdviseSink **ppAdvSink) { + return This->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink); +} +/*** IViewObject2 methods ***/ +static FORCEINLINE HRESULT IViewObject2_GetExtent(IViewObject2* This,DWORD dwDrawAspect,LONG lindex,DVTARGETDEVICE *ptd,LPSIZEL lpsizel) { + return This->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel); +} +#endif +#endif + +#endif + + +#endif /* __IViewObject2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDropSource interface + */ +#ifndef __IDropSource_INTERFACE_DEFINED__ +#define __IDropSource_INTERFACE_DEFINED__ + +typedef IDropSource *LPDROPSOURCE; +DEFINE_GUID(IID_IDropSource, 0x00000121, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000121-0000-0000-c000-000000000046") +IDropSource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryContinueDrag( + BOOL fEscapePressed, + DWORD grfKeyState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GiveFeedback( + DWORD dwEffect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDropSource, 0x00000121, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IDropSourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDropSource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDropSource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDropSource *This); + + /*** IDropSource methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryContinueDrag)( + IDropSource *This, + BOOL fEscapePressed, + DWORD grfKeyState); + + HRESULT (STDMETHODCALLTYPE *GiveFeedback)( + IDropSource *This, + DWORD dwEffect); + + END_INTERFACE +} IDropSourceVtbl; + +interface IDropSource { + CONST_VTBL IDropSourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDropSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDropSource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDropSource_Release(This) (This)->lpVtbl->Release(This) +/*** IDropSource methods ***/ +#define IDropSource_QueryContinueDrag(This,fEscapePressed,grfKeyState) (This)->lpVtbl->QueryContinueDrag(This,fEscapePressed,grfKeyState) +#define IDropSource_GiveFeedback(This,dwEffect) (This)->lpVtbl->GiveFeedback(This,dwEffect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDropSource_QueryInterface(IDropSource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDropSource_AddRef(IDropSource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDropSource_Release(IDropSource* This) { + return This->lpVtbl->Release(This); +} +/*** IDropSource methods ***/ +static FORCEINLINE HRESULT IDropSource_QueryContinueDrag(IDropSource* This,BOOL fEscapePressed,DWORD grfKeyState) { + return This->lpVtbl->QueryContinueDrag(This,fEscapePressed,grfKeyState); +} +static FORCEINLINE HRESULT IDropSource_GiveFeedback(IDropSource* This,DWORD dwEffect) { + return This->lpVtbl->GiveFeedback(This,dwEffect); +} +#endif +#endif + +#endif + + +#endif /* __IDropSource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDropTarget interface + */ +#ifndef __IDropTarget_INTERFACE_DEFINED__ +#define __IDropTarget_INTERFACE_DEFINED__ + +typedef IDropTarget *LPDROPTARGET; +#define MK_ALT (0x20) + +#define DROPEFFECT_NONE (0) + +#define DROPEFFECT_COPY (1) + +#define DROPEFFECT_MOVE (2) + +#define DROPEFFECT_LINK (4) + +#define DROPEFFECT_SCROLL (0x80000000) + +#define DD_DEFSCROLLINSET (11) + +#define DD_DEFSCROLLDELAY (50) + +#define DD_DEFSCROLLINTERVAL (50) + +#define DD_DEFDRAGDELAY (200) + +#define DD_DEFDRAGMINDIST (2) + +DEFINE_GUID(IID_IDropTarget, 0x00000122, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000122-0000-0000-c000-000000000046") +IDropTarget : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DragEnter( + IDataObject *pDataObj, + DWORD grfKeyState, + POINTL pt, + DWORD *pdwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragOver( + DWORD grfKeyState, + POINTL pt, + DWORD *pdwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragLeave( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Drop( + IDataObject *pDataObj, + DWORD grfKeyState, + POINTL pt, + DWORD *pdwEffect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDropTarget, 0x00000122, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IDropTargetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDropTarget *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDropTarget *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDropTarget *This); + + /*** IDropTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *DragEnter)( + IDropTarget *This, + IDataObject *pDataObj, + DWORD grfKeyState, + POINTL pt, + DWORD *pdwEffect); + + HRESULT (STDMETHODCALLTYPE *DragOver)( + IDropTarget *This, + DWORD grfKeyState, + POINTL pt, + DWORD *pdwEffect); + + HRESULT (STDMETHODCALLTYPE *DragLeave)( + IDropTarget *This); + + HRESULT (STDMETHODCALLTYPE *Drop)( + IDropTarget *This, + IDataObject *pDataObj, + DWORD grfKeyState, + POINTL pt, + DWORD *pdwEffect); + + END_INTERFACE +} IDropTargetVtbl; + +interface IDropTarget { + CONST_VTBL IDropTargetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDropTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDropTarget_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDropTarget_Release(This) (This)->lpVtbl->Release(This) +/*** IDropTarget methods ***/ +#define IDropTarget_DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect) (This)->lpVtbl->DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect) +#define IDropTarget_DragOver(This,grfKeyState,pt,pdwEffect) (This)->lpVtbl->DragOver(This,grfKeyState,pt,pdwEffect) +#define IDropTarget_DragLeave(This) (This)->lpVtbl->DragLeave(This) +#define IDropTarget_Drop(This,pDataObj,grfKeyState,pt,pdwEffect) (This)->lpVtbl->Drop(This,pDataObj,grfKeyState,pt,pdwEffect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDropTarget_QueryInterface(IDropTarget* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDropTarget_AddRef(IDropTarget* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDropTarget_Release(IDropTarget* This) { + return This->lpVtbl->Release(This); +} +/*** IDropTarget methods ***/ +static FORCEINLINE HRESULT IDropTarget_DragEnter(IDropTarget* This,IDataObject *pDataObj,DWORD grfKeyState,POINTL pt,DWORD *pdwEffect) { + return This->lpVtbl->DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect); +} +static FORCEINLINE HRESULT IDropTarget_DragOver(IDropTarget* This,DWORD grfKeyState,POINTL pt,DWORD *pdwEffect) { + return This->lpVtbl->DragOver(This,grfKeyState,pt,pdwEffect); +} +static FORCEINLINE HRESULT IDropTarget_DragLeave(IDropTarget* This) { + return This->lpVtbl->DragLeave(This); +} +static FORCEINLINE HRESULT IDropTarget_Drop(IDropTarget* This,IDataObject *pDataObj,DWORD grfKeyState,POINTL pt,DWORD *pdwEffect) { + return This->lpVtbl->Drop(This,pDataObj,grfKeyState,pt,pdwEffect); +} +#endif +#endif + +#endif + + +#endif /* __IDropTarget_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDropSourceNotify interface + */ +#ifndef __IDropSourceNotify_INTERFACE_DEFINED__ +#define __IDropSourceNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDropSourceNotify, 0x0000012b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000012b-0000-0000-c000-000000000046") +IDropSourceNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DragTargetEnter( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragTargetLeave( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDropSourceNotify, 0x0000012b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IDropSourceNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDropSourceNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDropSourceNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDropSourceNotify *This); + + /*** IDropSourceNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *DragTargetEnter)( + IDropSourceNotify *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *DragTargetLeave)( + IDropSourceNotify *This); + + END_INTERFACE +} IDropSourceNotifyVtbl; + +interface IDropSourceNotify { + CONST_VTBL IDropSourceNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDropSourceNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDropSourceNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDropSourceNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IDropSourceNotify methods ***/ +#define IDropSourceNotify_DragTargetEnter(This,hwnd) (This)->lpVtbl->DragTargetEnter(This,hwnd) +#define IDropSourceNotify_DragTargetLeave(This) (This)->lpVtbl->DragTargetLeave(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDropSourceNotify_QueryInterface(IDropSourceNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDropSourceNotify_AddRef(IDropSourceNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDropSourceNotify_Release(IDropSourceNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IDropSourceNotify methods ***/ +static FORCEINLINE HRESULT IDropSourceNotify_DragTargetEnter(IDropSourceNotify* This,HWND hwnd) { + return This->lpVtbl->DragTargetEnter(This,hwnd); +} +static FORCEINLINE HRESULT IDropSourceNotify_DragTargetLeave(IDropSourceNotify* This) { + return This->lpVtbl->DragTargetLeave(This); +} +#endif +#endif + +#endif + + +#endif /* __IDropSourceNotify_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER HMENU_UserSize (ULONG *, ULONG, HMENU *); +unsigned char * __RPC_USER HMENU_UserMarshal (ULONG *, unsigned char *, HMENU *); +unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *); +void __RPC_USER HMENU_UserFree (ULONG *, HMENU *); +ULONG __RPC_USER HGLOBAL_UserSize (ULONG *, ULONG, HGLOBAL *); +unsigned char * __RPC_USER HGLOBAL_UserMarshal (ULONG *, unsigned char *, HGLOBAL *); +unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *); +void __RPC_USER HGLOBAL_UserFree (ULONG *, HGLOBAL *); +ULONG __RPC_USER HACCEL_UserSize (ULONG *, ULONG, HACCEL *); +unsigned char * __RPC_USER HACCEL_UserMarshal (ULONG *, unsigned char *, HACCEL *); +unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *); +void __RPC_USER HACCEL_UserFree (ULONG *, HACCEL *); +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); +ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *); +void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *); +ULONG __RPC_USER HDC_UserSize (ULONG *, ULONG, HDC *); +unsigned char * __RPC_USER HDC_UserMarshal (ULONG *, unsigned char *, HDC *); +unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *); +void __RPC_USER HDC_UserFree (ULONG *, HDC *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __oleidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleidl.idl new file mode 100644 index 0000000..9a9d466 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/oleidl.idl @@ -0,0 +1,973 @@ +/* + * Copyright (C) 1999 Paul Quinn + * Copyright (C) 1999 Francis Beaudet + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "objidl.idl"; +#endif + +interface IOleInPlaceActiveObject; + +cpp_quote("#include ") + +/***************************************************************************** + * IOleTypes interface + */ +[ + uuid(b0916c84-7416-101a-bcea-08002b2b79ef) +] +interface IOLETypes +{ + typedef enum tagOLERENDER + { + OLERENDER_NONE = 0, + OLERENDER_DRAW = 1, + OLERENDER_FORMAT = 2, + OLERENDER_ASIS = 3 + } OLERENDER, *LPOLERENDER; + + typedef struct tagOBJECTDESCRIPTOR + { + ULONG cbSize; + CLSID clsid; + DWORD dwDrawAspect; + SIZEL sizel; + POINTL pointl; + DWORD dwStatus; + DWORD dwFullUserTypeName; + DWORD dwSrcOfCopy; + } OBJECTDESCRIPTOR, *POBJECTDESCRIPTOR, *LPOBJECTDESCRIPTOR, + LINKSRCDESCRIPTOR, *PLINKSRCDESCRIPTOR, *LPLINKSRCDESCRIPTOR; +} + + +/***************************************************************************** + * IOleWindow interface + */ +[ + object, + uuid(00000114-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleWindow : IUnknown +{ + typedef [unique] IOleWindow *LPOLEWINDOW; + + HRESULT GetWindow( + [out] HWND *phwnd); + + HRESULT ContextSensitiveHelp( + [in] BOOL fEnterMode); +} + + +/***************************************************************************** + * IOleInPlaceObject interface + */ +[ + object, + uuid(00000113-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleInPlaceObject : IOleWindow +{ + typedef [unique] IOleInPlaceObject *LPOLEINPLACEOBJECT; + + HRESULT InPlaceDeactivate(); + + HRESULT UIDeactivate(); + + HRESULT SetObjectRects( + [in] LPCRECT lprcPosRect, + [in] LPCRECT lprcClipRect); + + HRESULT ReactivateAndUndo(); +} + + +/***************************************************************************** + * IOleInPlaceUIWindow interface + */ +[ + object, + uuid(00000115-0000-0000-c000-000000000046), + pointer_default(unique) +] + +interface IOleInPlaceUIWindow : IOleWindow +{ + typedef [unique] IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW; + + typedef RECT BORDERWIDTHS; + typedef LPRECT LPBORDERWIDTHS; + typedef LPCRECT LPCBORDERWIDTHS; + + HRESULT GetBorder( + [out] LPRECT lprectBorder); + + HRESULT RequestBorderSpace( + [in, unique] LPCBORDERWIDTHS pborderwidths); + + HRESULT SetBorderSpace( + [in, unique] LPCBORDERWIDTHS pborderwidths); + + HRESULT SetActiveObject( + [in, unique] IOleInPlaceActiveObject *pActiveObject, + [in, string, unique] LPCOLESTR pszObjName); +} + + +/* avoid conflict with Wine Unicode macros */ +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef TranslateAccelerator") +cpp_quote("#endif") + +/***************************************************************************** + * IOleInPlaceFrame interface + */ +[ + object, + uuid(00000116-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleInPlaceFrame : IOleInPlaceUIWindow +{ + typedef [unique] IOleInPlaceFrame *LPOLEINPLACEFRAME; + + typedef struct tagOleInPlaceFrameInfo + { + UINT cb; + BOOL fMDIApp; + HWND hwndFrame; + HACCEL haccel; + UINT cAccelEntries; + } OLEINPLACEFRAMEINFO, *LPOLEINPLACEFRAMEINFO; + + typedef struct tagOleMenuGroupWidths + { + LONG width[ 6 ]; + } OLEMENUGROUPWIDTHS, *LPOLEMENUGROUPWIDTHS; + + typedef HGLOBAL HOLEMENU; + + HRESULT InsertMenus( + [in] HMENU hmenuShared, + [in,out] LPOLEMENUGROUPWIDTHS lpMenuWidths); + + HRESULT SetMenu( + [in] HMENU hmenuShared, + [in] HOLEMENU holemenu, + [in] HWND hwndActiveObject); + + HRESULT RemoveMenus( + [in] HMENU hmenuShared); + + HRESULT SetStatusText( + [in, unique] LPCOLESTR pszStatusText); + + HRESULT EnableModeless( + [in] BOOL fEnable); + + HRESULT TranslateAccelerator( + [in] LPMSG lpmsg, + [in] WORD wID); +} + + +/***************************************************************************** + * IOleInPlaceActiveObject interface + */ +[ + object, + uuid(00000117-0000-0000-c000-000000000046) +] +interface IOleInPlaceActiveObject : IOleWindow +{ + typedef [unique] IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; + + [local] + HRESULT TranslateAccelerator( + [in] LPMSG lpmsg); + + [call_as(TranslateAccelerator)] + HRESULT RemoteTranslateAccelerator(); + + HRESULT OnFrameWindowActivate( + [in] BOOL fActivate); + + HRESULT OnDocWindowActivate( + [in] BOOL fActivate); + + [local] + HRESULT ResizeBorder( + [in] LPCRECT prcBorder, + [in, unique] IOleInPlaceUIWindow *pUIWindow, + [in] BOOL fFrameWindow); + + [call_as(ResizeBorder)] + HRESULT RemoteResizeBorder( + [in] LPCRECT prcBorder, + [in] REFIID riid, + [in, unique, iid_is(riid)] IOleInPlaceUIWindow *pUIWindow, + [in] BOOL fFrameWindow); + + HRESULT EnableModeless( + [in] BOOL fEnable); +} + + +/***************************************************************************** + * IOleInPlaceSite interface + */ +[ + object, + uuid(00000119-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleInPlaceSite : IOleWindow +{ + typedef [unique] IOleInPlaceSite *LPOLEINPLACESITE; + + HRESULT CanInPlaceActivate(); + HRESULT OnInPlaceActivate(); + HRESULT OnUIActivate(); + + HRESULT GetWindowContext( + [out] IOleInPlaceFrame **ppFrame, + [out] IOleInPlaceUIWindow **ppDoc, + [out] LPRECT lprcPosRect, + [out] LPRECT lprcClipRect, + [in, out] LPOLEINPLACEFRAMEINFO lpFrameInfo); + + HRESULT Scroll( + [in] SIZE scrollExtent); + + HRESULT OnUIDeactivate( + [in] BOOL fUndoable); + + HRESULT OnInPlaceDeactivate(); + HRESULT DiscardUndoState(); + HRESULT DeactivateAndUndo(); + + HRESULT OnPosRectChange( + [in] LPCRECT lprcPosRect); +} + + +/***************************************************************************** + * IParseDisplayName interface + */ +[ + object, + uuid(0000011a-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IParseDisplayName : IUnknown +{ + typedef [unique] IParseDisplayName *LPPARSEDISPLAYNAME; + + HRESULT ParseDisplayName( + [in, unique] IBindCtx *pbc, + [in] LPOLESTR pszDisplayName, + [out] ULONG *pchEaten, + [out] IMoniker **ppmkOut); +} + + +/***************************************************************************** + * IOleContainer interface + */ +[ + object, + uuid(0000011b-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleContainer : IParseDisplayName +{ + typedef [unique] IOleContainer *LPOLECONTAINER; + + HRESULT EnumObjects( + [in] DWORD grfFlags, + [out] IEnumUnknown **ppenum); + + HRESULT LockContainer( + [in] BOOL fLock); +} + + +/***************************************************************************** + * IOleItemContainer interface + */ +[ + object, + uuid(0000011c-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleItemContainer : IOleContainer +{ + typedef [unique] IOleItemContainer *LPOLEITEMCONTAINER; + + typedef enum tagBINDSPEED + { + BINDSPEED_INDEFINITE = 1, + BINDSPEED_MODERATE = 2, + BINDSPEED_IMMEDIATE = 3 + } BINDSPEED; + + typedef enum tagOLECONTF + { + OLECONTF_EMBEDDINGS = 1, + OLECONTF_LINKS = 2, + OLECONTF_OTHERS = 4, + OLECONTF_ONLYUSER = 8, + OLECONTF_ONLYIFRUNNING = 16 + } OLECONTF; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetObject") +cpp_quote("#endif") + HRESULT GetObject( + [in] LPOLESTR pszItem, + [in] DWORD dwSpeedNeeded, + [in, unique] IBindCtx *pbc, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObject); + + HRESULT GetObjectStorage( + [in] LPOLESTR pszItem, + [in, unique] IBindCtx *pbc, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvStorage); + + HRESULT IsRunning( + [in] LPOLESTR pszItem); +} + + +/***************************************************************************** + * IOleLink interface + */ +[ + object, + uuid(0000011d-0000-0000-c000-000000000046) +] +interface IOleLink : IUnknown +{ + typedef [unique] IOleLink *LPOLELINK; + + typedef enum tagOLEUPDATE + { + OLEUPDATE_ALWAYS = 1, + OLEUPDATE_ONCALL = 3 + } OLEUPDATE, *POLEUPDATE, *LPOLEUPDATE; + + typedef enum tagOLELINKBIND + { + OLELINKBIND_EVENIFCLASSDIFF = 1 + } OLELINKBIND; + + HRESULT SetUpdateOptions( + [in] DWORD dwUpdateOpt); + + HRESULT GetUpdateOptions( + [out] DWORD *pdwUpdateOpt); + + HRESULT SetSourceMoniker( + [in, unique] IMoniker *pmk, + [in] REFCLSID rclsid); + + HRESULT GetSourceMoniker( + [out] IMoniker **ppmk); + + HRESULT SetSourceDisplayName( + [in]LPCOLESTR pszStatusText); + + HRESULT GetSourceDisplayName( + [out] LPOLESTR *ppszDisplayName); + + HRESULT BindToSource( + [in] DWORD bindflags, + [in, unique] IBindCtx *pbc); + + HRESULT BindIfRunning(); + + HRESULT GetBoundSource( + [out] IUnknown **ppunk); + + HRESULT UnbindSource(); + + HRESULT Update( + [in, unique] IBindCtx *pbc); +} + + +/***************************************************************************** + * IOleClientSite interface + */ +[ + object, + uuid(00000118-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleClientSite : IUnknown +{ + typedef [unique] IOleClientSite * LPOLECLIENTSITE; + + HRESULT SaveObject(); + + HRESULT GetMoniker( + [in] DWORD dwAssign, + [in] DWORD dwWhichMoniker, + [out] IMoniker **ppmk); + + HRESULT GetContainer( + [out] IOleContainer **ppContainer); + + HRESULT ShowObject(); + + HRESULT OnShowWindow( + [in] BOOL fShow); + + HRESULT RequestNewObjectLayout(); +} + + +/***************************************************************************** + * IOleCache interface + */ +[ + object, + uuid(0000011e-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleCache : IUnknown +{ + typedef [unique] IOleCache *LPOLECACHE; + + HRESULT Cache( + [in, unique] FORMATETC *pformatetc, + [in] DWORD advf, + [out] DWORD *pdwConnection); + + HRESULT Uncache( + [in] DWORD dwConnection); + + HRESULT EnumCache( + [out] IEnumSTATDATA **ppenumSTATDATA); + + HRESULT InitCache( + [in, unique] IDataObject *pDataObject); + + HRESULT SetData( + [in, unique] FORMATETC *pformatetc, + [in, unique] STGMEDIUM *pmedium, + [in] BOOL fRelease); +} + + +/***************************************************************************** + * IOleCache2 interface + */ +[ + object, + uuid(00000128-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleCache2 : IOleCache +{ + typedef [unique] IOleCache2 *LPOLECACHE2; + + const DWORD UPDFCACHE_NODATACACHE = 0x00000001; + const DWORD UPDFCACHE_ONSAVECACHE = 0x00000002; + const DWORD UPDFCACHE_ONSTOPCACHE = 0x00000004; + const DWORD UPDFCACHE_NORMALCACHE = 0x00000008; + const DWORD UPDFCACHE_IFBLANK = 0x00000010; + const DWORD UPDFCACHE_ONLYIFBLANK = 0x80000000; + + const DWORD UPDFCACHE_IFBLANKORONSAVECACHE = (UPDFCACHE_IFBLANK | UPDFCACHE_ONSAVECACHE); + const DWORD UPDFCACHE_ALL = ((DWORD)(~(UPDFCACHE_ONLYIFBLANK))); + const DWORD UPDFCACHE_ALLBUTNODATACACHE = (UPDFCACHE_ALL & ((DWORD)(~UPDFCACHE_NODATACACHE))); + + typedef enum tagDISCARDCACHE + { + DISCARDCACHE_SAVEIFDIRTY = 0, + DISCARDCACHE_NOSAVE = 1 + } DISCARDCACHE; + + [local] + HRESULT UpdateCache( + [in] LPDATAOBJECT pDataObject, + [in] DWORD grfUpdf, + [in] LPVOID pReserved); + + [call_as(UpdateCache)] + HRESULT RemoteUpdateCache( + [in] LPDATAOBJECT pDataObject, + [in] DWORD grfUpdf, + [in] LONG_PTR pReserved); + + HRESULT DiscardCache( + [in] DWORD dwDiscardOptions); +} + + +/***************************************************************************** + * IOleCacheControl interface + */ +[ + object, + uuid(00000129-0000-0000-c000-000000000046) +] +interface IOleCacheControl : IUnknown +{ + typedef [unique] IOleCacheControl *LPOLECACHECONTROL; + + HRESULT OnRun( + LPDATAOBJECT pDataObject); + + HRESULT OnStop(); +} + + +/***************************************************************************** + * IEnumOLEVERB interface + */ +[ + object, + uuid(00000104-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IEnumOLEVERB : IUnknown +{ + typedef [unique] IEnumOLEVERB *LPENUMOLEVERB; + + typedef struct tagOLEVERB + { + LONG lVerb; + LPOLESTR lpszVerbName; + DWORD fuFlags; + DWORD grfAttribs; + } OLEVERB, *LPOLEVERB; + + typedef enum tagOLEVERBATTRIB + { + OLEVERBATTRIB_NEVERDIRTIES = 1, + OLEVERBATTRIB_ONCONTAINERMENU = 2 + } OLEVERBATTRIB; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] LPOLEVERB rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] LPOLEVERB rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumOLEVERB **ppenum); +} + + +/***************************************************************************** + * IOleObject interface + */ +[ + object, + uuid(00000112-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IOleObject : IUnknown +{ + typedef [unique] IOleObject *LPOLEOBJECT; + + typedef enum tagOLEGETMONIKER + { + OLEGETMONIKER_ONLYIFTHERE = 1, + OLEGETMONIKER_FORCEASSIGN = 2, + OLEGETMONIKER_UNASSIGN = 3, + OLEGETMONIKER_TEMPFORUSER = 4 + } OLEGETMONIKER; + + typedef enum tagOLEWHICHMK + { + OLEWHICHMK_CONTAINER = 1, + OLEWHICHMK_OBJREL = 2, + OLEWHICHMK_OBJFULL = 3 + } OLEWHICHMK; + + typedef enum tagUSERCLASSTYPE + { + USERCLASSTYPE_FULL = 1, + USERCLASSTYPE_SHORT = 2, + USERCLASSTYPE_APPNAME = 3 + } USERCLASSTYPE; + + typedef enum tagOLEMISC + { + OLEMISC_RECOMPOSEONRESIZE = 0x1, + OLEMISC_ONLYICONIC = 0x2, + OLEMISC_INSERTNOTREPLACE = 0x4, + OLEMISC_STATIC = 0x8, + OLEMISC_CANTLINKINSIDE = 0x10, + OLEMISC_CANLINKBYOLE1 = 0x20, + OLEMISC_ISLINKOBJECT = 0x40, + OLEMISC_INSIDEOUT = 0x80, + OLEMISC_ACTIVATEWHENVISIBLE = 0x100, + OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200, + OLEMISC_INVISIBLEATRUNTIME = 0x400, + OLEMISC_ALWAYSRUN = 0x800, + OLEMISC_ACTSLIKEBUTTON = 0x1000, + OLEMISC_ACTSLIKELABEL = 0x2000, + OLEMISC_NOUIACTIVATE = 0x4000, + OLEMISC_ALIGNABLE = 0x8000, + OLEMISC_SIMPLEFRAME = 0x10000, + OLEMISC_SETCLIENTSITEFIRST = 0x20000, + OLEMISC_IMEMODE = 0x40000, + OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000, + OLEMISC_WANTSTOMENUMERGE = 0x100000, + OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000 + } OLEMISC; + + typedef enum tagOLECLOSE + { + OLECLOSE_SAVEIFDIRTY = 0, + OLECLOSE_NOSAVE = 1, + OLECLOSE_PROMPTSAVE = 2 + } OLECLOSE; + + HRESULT SetClientSite( + [in, unique] IOleClientSite *pClientSite); + + HRESULT GetClientSite( + [out] IOleClientSite **ppClientSite); + + HRESULT SetHostNames( + [in] LPCOLESTR szContainerApp, + [in, unique] LPCOLESTR szContainerObj); + + HRESULT Close( + [in] DWORD dwSaveOption); + + HRESULT SetMoniker( + [in] DWORD dwWhichMoniker, + [in, unique] IMoniker *pmk); + + HRESULT GetMoniker( + [in] DWORD dwAssign, + [in] DWORD dwWhichMoniker, + [out] IMoniker **ppmk); + + HRESULT InitFromData( + [in, unique] IDataObject *pDataObject, + [in] BOOL fCreation, + [in] DWORD dwReserved); + + HRESULT GetClipboardData( + [in] DWORD dwReserved, + [out] IDataObject **ppDataObject); + + HRESULT DoVerb( + [in] LONG iVerb, + [in, unique] LPMSG lpmsg, + [in, unique] IOleClientSite *pActiveSite, + [in] LONG lindex, + [in] HWND hwndParent, + [in, unique] LPCRECT lprcPosRect); + + HRESULT EnumVerbs( + [out] IEnumOLEVERB **ppEnumOleVerb); + + HRESULT Update(); + + HRESULT IsUpToDate(); + + HRESULT GetUserClassID( + [out] CLSID *pClsid); + + HRESULT GetUserType( + [in] DWORD dwFormOfType, + [out] LPOLESTR *pszUserType); + + HRESULT SetExtent( + [in] DWORD dwDrawAspect, + [in] SIZEL *psizel); + + HRESULT GetExtent( + [in] DWORD dwDrawAspect, + [out] SIZEL *psizel); + + HRESULT Advise( + [in, unique] IAdviseSink *pAdvSink, + [out] DWORD *pdwConnection); + + HRESULT Unadvise( + [in] DWORD dwConnection); + + HRESULT EnumAdvise( + [out] IEnumSTATDATA **ppenumAdvise); + + HRESULT GetMiscStatus( + [in] DWORD dwAspect, + [out] DWORD *pdwStatus); + + HRESULT SetColorScheme( + [in] LOGPALETTE *pLogpal); +} + + +/***************************************************************************** + * IOleAdviseHolder interface + */ +[ + local, + object, + uuid(00000111-0000-0000-c000-000000000046) +] +interface IOleAdviseHolder : IUnknown +{ + typedef [unique] IOleAdviseHolder * LPOLEADVISEHOLDER; + + HRESULT Advise( + [in, unique] IAdviseSink *pAdvise, + [out] DWORD *pdwConnection); + + HRESULT Unadvise( + [in] DWORD dwConnection); + + HRESULT EnumAdvise( + [out] IEnumSTATDATA **ppenumAdvise); + + HRESULT SendOnRename( + [in, unique] IMoniker *pmk); + + HRESULT SendOnSave(); + HRESULT SendOnClose(); +} + + +/***************************************************************************** + * IContinue interface + */ +[ + object, + uuid(0000012a-0000-0000-c000-000000000046) +] +interface IContinue : IUnknown +{ + HRESULT FContinue(); +} + + +/***************************************************************************** + * IViewObject interface + */ +[ + object, + uuid(0000010d-0000-0000-c000-000000000046) +] +interface IViewObject : IUnknown +{ + typedef [unique] IViewObject *LPVIEWOBJECT; + + [local] + HRESULT Draw( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in, unique] void * pvAspect, + [in, unique] DVTARGETDEVICE *ptd, + [in] HDC hdcTargetDev, + [in] HDC hdcDraw, + [in] LPCRECTL lprcBounds, + [in, unique] LPCRECTL lprcWBounds, + [in] BOOL (*pfnContinue)(ULONG_PTR dwContinue), + [in] ULONG_PTR dwContinue); + + [call_as(Draw)] + HRESULT RemoteDraw( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in] ULONG_PTR pvAspect, + [in, unique] DVTARGETDEVICE *ptd, + [in] ULONG_PTR hdcTargetDev, + [in] ULONG_PTR hdcDraw, + [in] LPCRECTL lprcBounds, + [in, unique] LPCRECTL lprcWBounds, + [in] IContinue *pContinue); + + [local] + HRESULT GetColorSet( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in, unique] void *pvAspect, + [in, unique] DVTARGETDEVICE *ptd, + [in] HDC hicTargetDev, + [out] LOGPALETTE **ppColorSet); + + [call_as(GetColorSet)] + HRESULT RemoteGetColorSet( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in] ULONG_PTR pvAspect, + [in, unique] DVTARGETDEVICE *ptd, + [in] ULONG_PTR hicTargetDev, + [out] LOGPALETTE **ppColorSet); + + [local] + HRESULT Freeze( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in, unique] void *pvAspect, + [out] DWORD *pdwFreeze); + + [call_as(Freeze)] + HRESULT RemoteFreeze( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in] ULONG_PTR pvAspect, + [out] DWORD *pdwFreeze); + + HRESULT Unfreeze( + [in] DWORD dwFreeze); + + HRESULT SetAdvise( + [in] DWORD aspects, + [in] DWORD advf, + [in, unique] IAdviseSink *pAdvSink); + + [local] + HRESULT GetAdvise( + [out, unique] DWORD *pAspects, + [out, unique] DWORD *pAdvf, + [out] IAdviseSink **ppAdvSink); + + [call_as(GetAdvise)] + HRESULT RemoteGetAdvise( + [out] DWORD *pAspects, + [out] DWORD *pAdvf, + [out] IAdviseSink **ppAdvSink); +} + + +/***************************************************************************** + * IViewObject2 interface + */ +[ + object, + uuid(00000127-0000-0000-c000-000000000046) +] +interface IViewObject2 : IViewObject +{ + typedef [unique] IViewObject2 *LPVIEWOBJECT2; + + HRESULT GetExtent( + [in] DWORD dwDrawAspect, + [in] LONG lindex, + [in, unique] DVTARGETDEVICE* ptd, + [out] LPSIZEL lpsizel); +} + + +/***************************************************************************** + * IDropSource interface + */ +[ + local, + object, + uuid(00000121-0000-0000-c000-000000000046) +] +interface IDropSource : IUnknown +{ + typedef [unique] IDropSource *LPDROPSOURCE; + + HRESULT QueryContinueDrag( + [in] BOOL fEscapePressed, + [in] DWORD grfKeyState); + + HRESULT GiveFeedback( + [in] DWORD dwEffect); +} + + +/***************************************************************************** + * IDropTarget interface + */ +[ + object, + uuid(00000122-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IDropTarget : IUnknown +{ + typedef [unique] IDropTarget *LPDROPTARGET; + + const DWORD MK_ALT = 0x20; + const DWORD DROPEFFECT_NONE = 0; + const DWORD DROPEFFECT_COPY = 1; + const DWORD DROPEFFECT_MOVE = 2; + const DWORD DROPEFFECT_LINK = 4; + const DWORD DROPEFFECT_SCROLL = 0x80000000; + const DWORD DD_DEFSCROLLINSET = 11; + const DWORD DD_DEFSCROLLDELAY = 50; + const DWORD DD_DEFSCROLLINTERVAL = 50; + const DWORD DD_DEFDRAGDELAY = 200; + const DWORD DD_DEFDRAGMINDIST = 2; + + HRESULT DragEnter( + [in, unique] IDataObject *pDataObj, + [in] DWORD grfKeyState, + [in] POINTL pt, + [in, out] DWORD *pdwEffect); + + HRESULT DragOver( + [in] DWORD grfKeyState, + [in] POINTL pt, + [in, out] DWORD *pdwEffect); + + HRESULT DragLeave(); + + HRESULT Drop( + [in, unique] IDataObject *pDataObj, + [in] DWORD grfKeyState, + [in] POINTL pt, + [in, out] DWORD *pdwEffect); +} + +/***************************************************************************** + * IDropSourceNotify interface + */ +[ + object, + uuid(0000012b-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IDropSourceNotify : IUnknown +{ + HRESULT DragTargetEnter( [in] HWND hwnd ); + HRESULT DragTargetLeave( void ); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/opnrst.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/opnrst.idl new file mode 100644 index 0000000..f5518fd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/opnrst.idl @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a69-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IOpenRowset : IUnknown +{ + [local] + HRESULT OpenRowset([in] IUnknown *pUnkOuter, + [in, unique] DBID *pTableID, + [in, unique] DBID *pIndexID, + [in] REFIID riid, + [in] ULONG cPropertySets, + [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[], + [out, iid_is(riid)] IUnknown **ppRowset); + + [call_as(OpenRowset)] + HRESULT RemoteOpenRowset([in] IUnknown *pUnkOuter, + [in, unique] DBID *pTableID, + [in, unique] DBID *pIndexID, + [in] REFIID riid, + [in] ULONG cPropertySets, + [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [in, out, unique, iid_is(riid)] IUnknown **ppRowset, + [in] ULONG cTotalProps, + [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus, + [out] IErrorInfo **ppErrorInfoRem); + +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/optary.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/optary.h new file mode 100644 index 0000000..26386dc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/optary.h @@ -0,0 +1,244 @@ +/*** Autogenerated by WIDL 2.18 from optary.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __optary_h__ +#define __optary_h__ + +/* Forward declarations */ + +#ifndef __IOptionArray_FWD_DEFINED__ +#define __IOptionArray_FWD_DEFINED__ +typedef interface IOptionArray IOptionArray; +#ifdef __cplusplus +interface IOptionArray; +#endif /* __cplusplus */ +#endif + +#ifndef __IHtmlLoadOptions_FWD_DEFINED__ +#define __IHtmlLoadOptions_FWD_DEFINED__ +typedef interface IHtmlLoadOptions IHtmlLoadOptions; +#ifdef __cplusplus +interface IHtmlLoadOptions; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IOptionArray interface + */ +#ifndef __IOptionArray_INTERFACE_DEFINED__ +#define __IOptionArray_INTERFACE_DEFINED__ + +typedef IOptionArray *LPOPTIONARRAY; +DEFINE_GUID(IID_IOptionArray, 0x22b6d492, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("22b6d492-0f88-11d1-ba19-00c04fd912d0") +IOptionArray : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryOption( + DWORD dwOption, + LPVOID pBuffer, + ULONG *pcbBuf) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOption( + DWORD dwOption, + LPVOID pBuffer, + ULONG cbBuf) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOptionArray, 0x22b6d492, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0) +#endif +#else +typedef struct IOptionArrayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOptionArray *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOptionArray *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOptionArray *This); + + /*** IOptionArray methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryOption)( + IOptionArray *This, + DWORD dwOption, + LPVOID pBuffer, + ULONG *pcbBuf); + + HRESULT (STDMETHODCALLTYPE *SetOption)( + IOptionArray *This, + DWORD dwOption, + LPVOID pBuffer, + ULONG cbBuf); + + END_INTERFACE +} IOptionArrayVtbl; + +interface IOptionArray { + CONST_VTBL IOptionArrayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOptionArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOptionArray_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOptionArray_Release(This) (This)->lpVtbl->Release(This) +/*** IOptionArray methods ***/ +#define IOptionArray_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) +#define IOptionArray_SetOption(This,dwOption,pBuffer,cbBuf) (This)->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOptionArray_QueryInterface(IOptionArray* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOptionArray_AddRef(IOptionArray* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOptionArray_Release(IOptionArray* This) { + return This->lpVtbl->Release(This); +} +/*** IOptionArray methods ***/ +static FORCEINLINE HRESULT IOptionArray_QueryOption(IOptionArray* This,DWORD dwOption,LPVOID pBuffer,ULONG *pcbBuf) { + return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf); +} +static FORCEINLINE HRESULT IOptionArray_SetOption(IOptionArray* This,DWORD dwOption,LPVOID pBuffer,ULONG cbBuf) { + return This->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf); +} +#endif +#endif + +#endif + + +#endif /* __IOptionArray_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHtmlLoadOptions interface + */ +#ifndef __IHtmlLoadOptions_INTERFACE_DEFINED__ +#define __IHtmlLoadOptions_INTERFACE_DEFINED__ + +typedef enum __WIDL_optary_generated_name_00000002 { + HTMLLOADOPTION_CODEPAGE = 0, + HTMLLOADOPTION_INETSHORTCUTPATH = 1, + HTMLLOADOPTION_HYPERLINK = 2, + HTMLLOADOPTION_FRAMELOAD = 3 +} HTMLLOADOPTION; +DEFINE_GUID(IID_IHtmlLoadOptions, 0xa71a0808, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a71a0808-0f88-11d1-ba19-00c04fd912d0") +IHtmlLoadOptions : public IOptionArray +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHtmlLoadOptions, 0xa71a0808, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0) +#endif +#else +typedef struct IHtmlLoadOptionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHtmlLoadOptions *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHtmlLoadOptions *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHtmlLoadOptions *This); + + /*** IOptionArray methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryOption)( + IHtmlLoadOptions *This, + DWORD dwOption, + LPVOID pBuffer, + ULONG *pcbBuf); + + HRESULT (STDMETHODCALLTYPE *SetOption)( + IHtmlLoadOptions *This, + DWORD dwOption, + LPVOID pBuffer, + ULONG cbBuf); + + END_INTERFACE +} IHtmlLoadOptionsVtbl; + +interface IHtmlLoadOptions { + CONST_VTBL IHtmlLoadOptionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHtmlLoadOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHtmlLoadOptions_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHtmlLoadOptions_Release(This) (This)->lpVtbl->Release(This) +/*** IOptionArray methods ***/ +#define IHtmlLoadOptions_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) +#define IHtmlLoadOptions_SetOption(This,dwOption,pBuffer,cbBuf) (This)->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHtmlLoadOptions_QueryInterface(IHtmlLoadOptions* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHtmlLoadOptions_AddRef(IHtmlLoadOptions* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHtmlLoadOptions_Release(IHtmlLoadOptions* This) { + return This->lpVtbl->Release(This); +} +/*** IOptionArray methods ***/ +static FORCEINLINE HRESULT IHtmlLoadOptions_QueryOption(IHtmlLoadOptions* This,DWORD dwOption,LPVOID pBuffer,ULONG *pcbBuf) { + return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf); +} +static FORCEINLINE HRESULT IHtmlLoadOptions_SetOption(IHtmlLoadOptions* This,DWORD dwOption,LPVOID pBuffer,ULONG cbBuf) { + return This->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf); +} +#endif +#endif + +#endif + + +#endif /* __IHtmlLoadOptions_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_HTMLLoadOptions, 0x18845040, 0x0FA5, 0x11D1, 0xBA,0x19, 0x00,0xC0,0x4F,0xD9,0x12,0xD0); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __optary_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/optary.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/optary.idl new file mode 100644 index 0000000..b0c49e6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/optary.idl @@ -0,0 +1,65 @@ +/* + * Copyright 2006 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; + +/***************************************************************************** + * IOptionArray interface + */ +[ + local, + object, + uuid(22b6d492-0f88-11d1-ba19-00c04fd912d0), + pointer_default(unique) +] +interface IOptionArray : IUnknown +{ + typedef [unique] IOptionArray *LPOPTIONARRAY; + + HRESULT QueryOption( + [in] DWORD dwOption, + [out, size_is(*pcbBuf)] LPVOID pBuffer, + [in, out] ULONG *pcbBuf); + + HRESULT SetOption( + [in] DWORD dwOption, + [in, size_is(cbBuf)] LPVOID pBuffer, + [in] ULONG cbBuf); +} + +/***************************************************************************** + * IHtmlLoadOptions interface + */ +[ + local, + object, + uuid(a71a0808-0f88-11d1-ba19-00c04fd912d0), + pointer_default(unique) +] +interface IHtmlLoadOptions : IOptionArray +{ + typedef enum { + HTMLLOADOPTION_CODEPAGE, + HTMLLOADOPTION_INETSHORTCUTPATH, + HTMLLOADOPTION_HYPERLINK, + HTMLLOADOPTION_FRAMELOAD + } HTMLLOADOPTION; +} + +cpp_quote("DEFINE_GUID(CLSID_HTMLLoadOptions, 0x18845040, 0x0FA5, 0x11D1, 0xBA,0x19, 0x00,0xC0,0x4F,0xD9,0x12,0xD0);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/patchapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/patchapi.h new file mode 100644 index 0000000..9a62a0f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/patchapi.h @@ -0,0 +1,52 @@ +/* + * Copyright 2011 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _PATCHAPI_H_ +#define _PATCHAPI_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define APPLY_OPTION_FAIL_IF_EXACT 0x00000001 +#define APPLY_OPTION_FAIL_IF_CLOSE 0x00000002 +#define APPLY_OPTION_TEST_ONLY 0x00000004 +#define APPLY_OPTION_VALID_FLAGS 0x00000007 + +typedef struct _PATCH_IGNORE_RANGE +{ + ULONG OffsetInOldFile; + ULONG LengthInBytes; +} PATCH_IGNORE_RANGE, *PPATCH_IGNORE_RANGE; + +typedef struct _PATCH_RETAIN_RANGE +{ + ULONG OffsetInOldFile; + ULONG LengthInBytes; + ULONG OffsetInNewFile; +} PATCH_RETAIN_RANGE, *PPATCH_RETAIN_RANGE; + +BOOL WINAPI ApplyPatchToFileA(LPCSTR,LPCSTR,LPCSTR,ULONG); +BOOL WINAPI ApplyPatchToFileW(LPCWSTR,LPCWSTR,LPCWSTR,ULONG); +#define ApplyPatchToFile WINELIB_NAME_AW(ApplyPatchToFile) + +#ifdef __cplusplus +} +#endif + +#endif /* _PATCHAPI_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pdh.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pdh.h new file mode 100644 index 0000000..3d688bd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pdh.h @@ -0,0 +1,249 @@ +/* + * Performance Data Helper + * + * Copyright 2007 Hans Leidekker + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _PDH_H_ +#define _PDH_H_ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef LONG PDH_STATUS; +typedef HANDLE PDH_HQUERY; +typedef HANDLE PDH_HCOUNTER; +typedef HANDLE PDH_HLOG; + +typedef PDH_HCOUNTER HCOUNTER; +typedef PDH_HQUERY HQUERY; +typedef PDH_HLOG HLOG; + +#define PDH_CVERSION_WIN40 0x0400 +#define PDH_CVERSION_WIN50 0x0500 +#define PDH_VERSION 0x0503 + +#define PDH_MAX_SCALE 7 +#define PDH_MIN_SCALE (-7) + +#define PDH_MAX_COUNTER_NAME 1024 + +#define PDH_FMT_LONG 0x00000100 +#define PDH_FMT_DOUBLE 0x00000200 +#define PDH_FMT_LARGE 0x00000400 +#define PDH_FMT_NOSCALE 0x00001000 +#define PDH_FMT_1000 0x00002000 +#define PDH_FMT_NOCAP100 0x00008000 + +#define DATA_SOURCE_REGISTRY 0x00000001 +#define DATA_SOURCE_LOGFILE 0x00000002 +#define DATA_SOURCE_WBEM 0x00000004 + +#ifdef WINE_NO_UNICODE_MACROS +# define DECL_PDH_TYPE_AW(name) /* nothing */ +#else /* WINE_NO_UNICODE_MACROS */ +# ifdef UNICODE +# define DECL_PDH_TYPE_AW(name) typedef name##_W name; +# else +# define DECL_PDH_TYPE_AW(name) typedef name##_A name; +# endif +#endif /* WINE_NO_UNICODE_MACROS */ + +typedef struct _PDH_FMT_COUNTERVALUE +{ + DWORD CStatus; + union + { + LONG longValue; + double doubleValue; + LONGLONG largeValue; + LPCSTR AnsiStringValue; + LPCWSTR WideStringValue; + } DUMMYUNIONNAME; +} PDH_FMT_COUNTERVALUE, *PPDH_FMT_COUNTERVALUE; + +typedef struct _PDH_RAW_COUNTER +{ + DWORD CStatus; + FILETIME TimeStamp; + LONGLONG FirstValue; + LONGLONG SecondValue; + DWORD MultiCount; +} PDH_RAW_COUNTER, *PPDH_RAW_COUNTER; + +typedef struct _PDH_COUNTER_PATH_ELEMENTS_A +{ + LPSTR szMachineName; + LPSTR szObjectName; + LPSTR szInstanceName; + LPSTR szParentInstance; + DWORD dwInstanceIndex; + LPSTR szCounterName; +} PDH_COUNTER_PATH_ELEMENTS_A, *PPDH_COUNTER_PATH_ELEMENTS_A; + +typedef struct _PDH_COUNTER_PATH_ELEMENTS_W +{ + LPWSTR szMachineName; + LPWSTR szObjectName; + LPWSTR szInstanceName; + LPWSTR szParentInstance; + DWORD dwInstanceIndex; + LPWSTR szCounterName; +} PDH_COUNTER_PATH_ELEMENTS_W, *PPDH_COUNTER_PATH_ELEMENTS_W; + +DECL_PDH_TYPE_AW(PDH_COUNTER_PATH_ELEMENTS) +DECL_PDH_TYPE_AW(PPDH_COUNTER_PATH_ELEMENTS) + +typedef struct _PDH_DATA_ITEM_PATH_ELEMENTS_A +{ + LPSTR szMachineName; + GUID ObjectGUID; + DWORD dwItemId; + LPSTR szInstanceName; +} PDH_DATA_ITEM_PATH_ELEMENTS_A, *PPDH_DATA_ITEM_PATH_ELEMENTS_A; + +typedef struct _PDH_DATA_ITEM_PATH_ELEMENTS_W +{ + LPWSTR szMachineName; + GUID ObjectGUID; + DWORD dwItemId; + LPWSTR szInstanceName; +} PDH_DATA_ITEM_PATH_ELEMENTS_W, *PPDH_DATA_ITEM_PATH_ELEMENTS_W; + +DECL_PDH_TYPE_AW(PDH_DATA_ITEM_PATH_ELEMENTS) +DECL_PDH_TYPE_AW(PPDH_DATA_ITEM_PATH_ELEMENTS) + +typedef struct _PDH_COUNTER_INFO_A +{ + DWORD dwLength; + DWORD dwType; + DWORD CVersion; + DWORD CStatus; + LONG lScale; + LONG lDefaultScale; + DWORD_PTR dwUserData; + DWORD_PTR dwQueryUserData; + LPSTR szFullPath; + union + { + PDH_DATA_ITEM_PATH_ELEMENTS_A DataItemPath; + PDH_COUNTER_PATH_ELEMENTS_A CounterPath; + struct + { + LPSTR szMachineName; + LPSTR szObjectName; + LPSTR szInstanceName; + LPSTR szParentInstance; + DWORD dwInstanceIndex; + LPSTR szCounterName; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + LPSTR szExplainText; + DWORD DataBuffer[1]; +} PDH_COUNTER_INFO_A, *PPDH_COUNTER_INFO_A; + +typedef struct _PDH_COUNTER_INFO_W +{ + DWORD dwLength; + DWORD dwType; + DWORD CVersion; + DWORD CStatus; + LONG lScale; + LONG lDefaultScale; + DWORD_PTR dwUserData; + DWORD_PTR dwQueryUserData; + LPWSTR szFullPath; + union + { + PDH_DATA_ITEM_PATH_ELEMENTS_W DataItemPath; + PDH_COUNTER_PATH_ELEMENTS_W CounterPath; + struct + { + LPWSTR szMachineName; + LPWSTR szObjectName; + LPWSTR szInstanceName; + LPWSTR szParentInstance; + DWORD dwInstanceIndex; + LPWSTR szCounterName; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + LPWSTR szExplainText; + DWORD DataBuffer[1]; +} PDH_COUNTER_INFO_W, *PPDH_COUNTER_INFO_W; + +DECL_PDH_TYPE_AW(PDH_COUNTER_INFO) +DECL_PDH_TYPE_AW(PPDH_COUNTER_INFO) + +#undef DECL_PDH_TYPE_AW + +PDH_STATUS WINAPI PdhAddCounterA(PDH_HQUERY, LPCSTR, DWORD_PTR, PDH_HCOUNTER *); +PDH_STATUS WINAPI PdhAddCounterW(PDH_HQUERY, LPCWSTR, DWORD_PTR, PDH_HCOUNTER *); +#define PdhAddCounter WINELIB_NAME_AW(PdhAddCounter) +PDH_STATUS WINAPI PdhAddEnglishCounterA(PDH_HQUERY, LPCSTR, DWORD_PTR, PDH_HCOUNTER *); +PDH_STATUS WINAPI PdhAddEnglishCounterW(PDH_HQUERY, LPCWSTR, DWORD_PTR, PDH_HCOUNTER *); +#define PdhAddEnglishCounter WINELIB_NAME_AW(PdhAddEnglishCounter) +PDH_STATUS WINAPI PdhBindInputDataSourceA(PDH_HLOG *, const char *); +PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *, const WCHAR *); +#define PdhBindInputDataSource WINELIB_NAME_AW(PdhBindInputDataSource) +PDH_STATUS WINAPI PdhCloseQuery(PDH_HQUERY); +PDH_STATUS WINAPI PdhCollectQueryData(PDH_HQUERY); +PDH_STATUS WINAPI PdhCollectQueryDataEx(PDH_HQUERY, DWORD, HANDLE); +PDH_STATUS WINAPI PdhCollectQueryDataWithTime(PDH_HQUERY,LONGLONG *); +PDH_STATUS WINAPI PdhEnumObjectsA(LPCSTR,LPCSTR,PZZSTR,LPDWORD,DWORD,BOOL); +PDH_STATUS WINAPI PdhEnumObjectsW(LPCWSTR,LPCWSTR,PZZWSTR,LPDWORD,DWORD,BOOL); +#define PdhEnumObjects WINELIB_NAME_AW(PdhEnumObjects) +PDH_STATUS WINAPI PdhEnumObjectItemsA(LPCSTR, LPCSTR, LPCSTR, LPSTR, LPDWORD, LPSTR, LPDWORD, DWORD, DWORD); +PDH_STATUS WINAPI PdhEnumObjectItemsW(LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, LPDWORD, LPWSTR, LPDWORD, DWORD, DWORD); +#define PdhEnumObjectItems WINELIB_NAME_AW(PdhEnumObjectItems) +PDH_STATUS WINAPI PdhGetCounterInfoA(PDH_HCOUNTER, BOOLEAN, LPDWORD, PPDH_COUNTER_INFO_A); +PDH_STATUS WINAPI PdhGetCounterInfoW(PDH_HCOUNTER, BOOLEAN, LPDWORD, PPDH_COUNTER_INFO_W); +#define PdhGetCounterInfo WINELIB_NAME_AW(PdhGetCounterInfo) +PDH_STATUS WINAPI PdhGetCounterTimeBase(PDH_HCOUNTER, LONGLONG *); +PDH_STATUS WINAPI PdhGetDllVersion(LPDWORD); +PDH_STATUS WINAPI PdhGetFormattedCounterValue(PDH_HCOUNTER, DWORD, LPDWORD, PPDH_FMT_COUNTERVALUE); +PDH_STATUS WINAPI PdhGetRawCounterValue(PDH_HCOUNTER, LPDWORD, PPDH_RAW_COUNTER); +PDH_STATUS WINAPI PdhLookupPerfIndexByNameA(LPCSTR, LPCSTR, LPDWORD); +PDH_STATUS WINAPI PdhLookupPerfIndexByNameW(LPCWSTR, LPCWSTR, LPDWORD); +#define PdhLookupPerfIndexByName WINELIB_NAME_AW(PdhLookupPerfIndexByName) +PDH_STATUS WINAPI PdhLookupPerfNameByIndexA(LPCSTR, DWORD, LPSTR, LPDWORD); +PDH_STATUS WINAPI PdhLookupPerfNameByIndexW(LPCWSTR, DWORD, LPWSTR, LPDWORD); +#define PdhLookupPerfNameByIndex WINELIB_NAME_AW(PdhLookupPerfNameByIndex) +PDH_STATUS WINAPI PdhMakeCounterPathA(PDH_COUNTER_PATH_ELEMENTS_A *, LPSTR, LPDWORD, DWORD); +PDH_STATUS WINAPI PdhMakeCounterPathW(PDH_COUNTER_PATH_ELEMENTS_W *, LPWSTR, LPDWORD, DWORD); +#define PdhMakeCounterPath WINELIB_NAME_AW(PdhMakeCounterPath) +PDH_STATUS WINAPI PdhOpenQueryA(LPCSTR, DWORD_PTR, PDH_HQUERY *); +PDH_STATUS WINAPI PdhOpenQueryW(LPCWSTR, DWORD_PTR, PDH_HQUERY *); +#define PdhOpenQuery WINELIB_NAME_AW(PdhOpenQuery) +PDH_STATUS WINAPI PdhRemoveCounter(PDH_HCOUNTER); +PDH_STATUS WINAPI PdhSetCounterScaleFactor(PDH_HCOUNTER, LONG); +PDH_STATUS WINAPI PdhSetDefaultRealTimeDataSource(DWORD); +PDH_STATUS WINAPI PdhValidatePathA(LPCSTR); +PDH_STATUS WINAPI PdhValidatePathW(LPCWSTR); +#define PdhValidatePath WINELIB_NAME_AW(PdhValidatePath) +PDH_STATUS WINAPI PdhValidatePathExA(PDH_HLOG, LPCSTR); +PDH_STATUS WINAPI PdhValidatePathExW(PDH_HLOG, LPCWSTR); +#define PdhValidatePathEx WINELIB_NAME_AW(PdhValidatePathEx) + +#ifdef __cplusplus +} +#endif + +#endif /* _PDH_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pdhmsg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pdhmsg.h new file mode 100644 index 0000000..bb7534a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pdhmsg.h @@ -0,0 +1,111 @@ +/* + * Performance Data Helper + * + * Copyright 2007 Hans Leidekker + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _PDH_MSG_H_ +#define _PDH_MSG_H_ + +#define PDH_CSTATUS_VALID_DATA 0x00000000 +#define PDH_CSTATUS_NEW_DATA 0x00000001 +#define PDH_CSTATUS_NO_MACHINE 0x800007d0 +#define PDH_CSTATUS_NO_INSTANCE 0x800007d1 +#define PDH_MORE_DATA 0x800007d2 +#define PDH_CSTATUS_ITEM_NOT_VALIDATED 0x800007d3 +#define PDH_RETRY 0x800007d4 +#define PDH_NO_DATA 0x800007d5 +#define PDH_CALC_NEGATIVE_DENOMINATOR 0x800007d6 +#define PDH_CALC_NEGATIVE_TIMEBASE 0x800007d7 +#define PDH_CALC_NEGATIVE_VALUE 0x800007d8 +#define PDH_DIALOG_CANCELLED 0x800007d9 +#define PDH_END_OF_LOG_FILE 0x800007da +#define PDH_ASYNC_QUERY_TIMEOUT 0x800007db +#define PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE 0x800007dc +#define PDH_UNABLE_MAP_NAME_FILES 0x80000bd5 +#define PDH_PLA_VALIDATION_WARNING 0x80000bf3 +#define PDH_CSTATUS_NO_OBJECT 0xc0000bb8 +#define PDH_CSTATUS_NO_COUNTER 0xc0000bb9 +#define PDH_CSTATUS_INVALID_DATA 0xc0000bba +#define PDH_MEMORY_ALLOCATION_FAILURE 0xc0000bbb +#define PDH_INVALID_HANDLE 0xc0000bbc +#define PDH_INVALID_ARGUMENT 0xc0000bbd +#define PDH_FUNCTION_NOT_FOUND 0xc0000bbe +#define PDH_CSTATUS_NO_COUNTERNAME 0xc0000bbf +#define PDH_CSTATUS_BAD_COUNTERNAME 0xc0000bc0 +#define PDH_INVALID_BUFFER 0xc0000bc1 +#define PDH_INSUFFICIENT_BUFFER 0xc0000bc2 +#define PDH_CANNOT_CONNECT_MACHINE 0xc0000bc3 +#define PDH_INVALID_PATH 0xc0000bc4 +#define PDH_INVALID_INSTANCE 0xc0000bc5 +#define PDH_INVALID_DATA 0xc0000bc6 +#define PDH_NO_DIALOG_DATA 0xc0000bc7 +#define PDH_CANNOT_READ_NAME_STRINGS 0xc0000bc8 +#define PDH_LOG_FILE_CREATE_ERROR 0xc0000bc9 +#define PDH_LOG_FILE_OPEN_ERROR 0xc0000bca +#define PDH_LOG_TYPE_NOT_FOUND 0xc0000bcb +#define PDH_NO_MORE_DATA 0xc0000bcc +#define PDH_ENTRY_NOT_IN_LOG_FILE 0xc0000bcd +#define PDH_DATA_SOURCE_IS_LOG_FILE 0xc0000bce +#define PDH_DATA_SOURCE_IS_REAL_TIME 0xc0000bcf +#define PDH_UNABLE_READ_LOG_HEADER 0xc0000bd0 +#define PDH_FILE_NOT_FOUND 0xc0000bd1 +#define PDH_FILE_ALREADY_EXISTS 0xc0000bd2 +#define PDH_NOT_IMPLEMENTED 0xc0000bd3 +#define PDH_STRING_NOT_FOUND 0xc0000bd4 +#define PDH_UNKNOWN_LOG_FORMAT 0xc0000bd6 +#define PDH_UNKNOWN_LOGSVC_COMMAND 0xc0000bd7 +#define PDH_LOGSVC_QUERY_NOT_FOUND 0xc0000bd8 +#define PDH_LOGSVC_NOT_OPENED 0xc0000bd9 +#define PDH_WBEM_ERROR 0xc0000bda +#define PDH_ACCESS_DENIED 0xc0000bdb +#define PDH_LOG_FILE_TOO_SMALL 0xc0000bdc +#define PDH_INVALID_DATASOURCE 0xc0000bdd +#define PDH_INVALID_SQLDB 0xc0000bde +#define PDH_NO_COUNTERS 0xc0000bdf +#define PDH_SQL_ALLOC_FAILED 0xc0000be0 +#define PDH_SQL_ALLOCCON_FAILED 0xc0000be1 +#define PDH_SQL_EXEC_DIRECT_FAILED 0xc0000be2 +#define PDH_SQL_FETCH_FAILED 0xc0000be3 +#define PDH_SQL_ROWCOUNT_FAILED 0xc0000be4 +#define PDH_SQL_MORE_RESULTS_FAILED 0xc0000be5 +#define PDH_SQL_CONNECT_FAILED 0xc0000be6 +#define PDH_SQL_BIND_FAILED 0xc0000be7 +#define PDH_CANNOT_CONNECT_WMI_SERVER 0xc0000be8 +#define PDH_PLA_COLLECTION_ALREADY_RUNNING 0xc0000be9 +#define PDH_PLA_ERROR_SCHEDULE_OVERLAP 0xc0000bea +#define PDH_PLA_COLLECTION_NOT_FOUND 0xc0000beb +#define PDH_PLA_ERROR_SCHEDULE_ELAPSED 0xc0000bec +#define PDH_PLA_ERROR_NOSTART 0xc0000bed +#define PDH_PLA_ERROR_ALREADY_EXISTS 0xc0000bee +#define PDH_PLA_ERROR_TYPE_MISMATCH 0xc0000bef +#define PDH_PLA_ERROR_FILEPATH 0xc0000bf0 +#define PDH_PLA_SERVICE_ERROR 0xc0000bf1 +#define PDH_PLA_VALIDATION_ERROR 0xc0000bf2 +#define PDH_PLA_ERROR_NAME_TOO_LONG 0xc0000bf4 +#define PDH_INVALID_SQL_LOG_FORMAT 0xc0000bf5 +#define PDH_COUNTER_ALREADY_IN_QUERY 0xc0000bf6 +#define PDH_BINARY_LOG_CORRUPT 0xc0000bf7 +#define PDH_LOG_SAMPLE_TOO_SMALL 0xc0000bf8 +#define PDH_OS_LATER_VERSION 0xc0000bf9 +#define PDH_OS_EARLIER_VERSION 0xc0000bfa +#define PDH_INCORRECT_APPEND_TIME 0xc0000bfb +#define PDH_UNMATCHED_APPEND_COUNTER 0xc0000bfc +#define PDH_SQL_ALTER_DETAIL_FAILED 0xc0000bfd +#define PDH_QUERY_PERF_DATA_TIMEOUT 0xc0000bfe + +#endif /* _PDH_MSG_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/perhist.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/perhist.h new file mode 100644 index 0000000..01d25f3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/perhist.h @@ -0,0 +1,170 @@ +/*** Autogenerated by WIDL 2.18 from perhist.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __perhist_h__ +#define __perhist_h__ + +/* Forward declarations */ + +#ifndef __IPersistHistory_FWD_DEFINED__ +#define __IPersistHistory_FWD_DEFINED__ +typedef interface IPersistHistory IPersistHistory; +#ifdef __cplusplus +interface IPersistHistory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IPersistHistory interface + */ +#ifndef __IPersistHistory_INTERFACE_DEFINED__ +#define __IPersistHistory_INTERFACE_DEFINED__ + +typedef IPersistHistory *LPPERSISTHISTORY; +DEFINE_GUID(IID_IPersistHistory, 0x91a565c1, 0xe38f, 0x11d0, 0x94,0xbf, 0x00,0xa0,0xc9,0x05,0x5c,0xbf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("91a565c1-e38f-11d0-94bf-00a0c9055cbf") +IPersistHistory : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE LoadHistory( + IStream *pStream, + IBindCtx *pbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveHistory( + IStream *pStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPositionCookie( + DWORD dwPositioncookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPositionCookie( + DWORD *pdwPositioncookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistHistory, 0x91a565c1, 0xe38f, 0x11d0, 0x94,0xbf, 0x00,0xa0,0xc9,0x05,0x5c,0xbf) +#endif +#else +typedef struct IPersistHistoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistHistory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistHistory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistHistory *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistHistory *This, + CLSID *pClassID); + + /*** IPersistHistory methods ***/ + HRESULT (STDMETHODCALLTYPE *LoadHistory)( + IPersistHistory *This, + IStream *pStream, + IBindCtx *pbc); + + HRESULT (STDMETHODCALLTYPE *SaveHistory)( + IPersistHistory *This, + IStream *pStream); + + HRESULT (STDMETHODCALLTYPE *SetPositionCookie)( + IPersistHistory *This, + DWORD dwPositioncookie); + + HRESULT (STDMETHODCALLTYPE *GetPositionCookie)( + IPersistHistory *This, + DWORD *pdwPositioncookie); + + END_INTERFACE +} IPersistHistoryVtbl; + +interface IPersistHistory { + CONST_VTBL IPersistHistoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistHistory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistHistory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistHistory_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistHistory_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistHistory methods ***/ +#define IPersistHistory_LoadHistory(This,pStream,pbc) (This)->lpVtbl->LoadHistory(This,pStream,pbc) +#define IPersistHistory_SaveHistory(This,pStream) (This)->lpVtbl->SaveHistory(This,pStream) +#define IPersistHistory_SetPositionCookie(This,dwPositioncookie) (This)->lpVtbl->SetPositionCookie(This,dwPositioncookie) +#define IPersistHistory_GetPositionCookie(This,pdwPositioncookie) (This)->lpVtbl->GetPositionCookie(This,pdwPositioncookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistHistory_QueryInterface(IPersistHistory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistHistory_AddRef(IPersistHistory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistHistory_Release(IPersistHistory* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistHistory_GetClassID(IPersistHistory* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistHistory methods ***/ +static FORCEINLINE HRESULT IPersistHistory_LoadHistory(IPersistHistory* This,IStream *pStream,IBindCtx *pbc) { + return This->lpVtbl->LoadHistory(This,pStream,pbc); +} +static FORCEINLINE HRESULT IPersistHistory_SaveHistory(IPersistHistory* This,IStream *pStream) { + return This->lpVtbl->SaveHistory(This,pStream); +} +static FORCEINLINE HRESULT IPersistHistory_SetPositionCookie(IPersistHistory* This,DWORD dwPositioncookie) { + return This->lpVtbl->SetPositionCookie(This,dwPositioncookie); +} +static FORCEINLINE HRESULT IPersistHistory_GetPositionCookie(IPersistHistory* This,DWORD *pdwPositioncookie) { + return This->lpVtbl->GetPositionCookie(This,pdwPositioncookie); +} +#endif +#endif + +#endif + + +#endif /* __IPersistHistory_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __perhist_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/perhist.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/perhist.idl new file mode 100644 index 0000000..d8cc531 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/perhist.idl @@ -0,0 +1,38 @@ +/* + * Copyright 2009 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; + +[ + object, + uuid(91A565C1-E38F-11d0-94BF-00A0C9055CBF), + pointer_default(unique) +] +interface IPersistHistory : IPersist +{ + typedef [unique] IPersistHistory *LPPERSISTHISTORY; + + HRESULT LoadHistory([in] IStream *pStream, [in] IBindCtx *pbc); + + HRESULT SaveHistory([in] IStream *pStream); + + HRESULT SetPositionCookie([in] DWORD dwPositioncookie); + + HRESULT GetPositionCookie([out] DWORD *pdwPositioncookie); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/physicalmonitorenumerationapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/physicalmonitorenumerationapi.h new file mode 100644 index 0000000..deac267 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/physicalmonitorenumerationapi.h @@ -0,0 +1,40 @@ +/* + * Copyright 2014 Michael Müller for Pipelight + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PHYSICALMONITORENUMERATIONAPI_H +#define __WINE_PHYSICALMONITORENUMERATIONAPI_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define PHYSICAL_MONITOR_DESCRIPTION_SIZE 128 + +typedef struct _PHYSICAL_MONITOR +{ + HANDLE hPhysicalMonitor; + WCHAR szPhysicalMonitorDescription[PHYSICAL_MONITOR_DESCRIPTION_SIZE]; +} PHYSICAL_MONITOR, *LPPHYSICAL_MONITOR; + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_PHYSICALMONITORENUMERATIONAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pktdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pktdef.h new file mode 100644 index 0000000..a162206 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pktdef.h @@ -0,0 +1,248 @@ +/* + * Copyright (C) 1991-1998 by LCS/Telegraphics + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PKTDEF_H +#define __WINE_PKTDEF_H + +/*********************************************************************** + * How to use pktdef.h: + * + * 1. Include wintab.h + * 2. if using just one packet format: + * a. Define PACKETDATA and PACKETMODE as or'ed combinations of WTPKT bits + * (use the PK_* identifiers). + * b. Include pktdef.h. + * c. The generated structure typedef will be called PACKET. Use PACKETDATA + * and PACKETMODE to fill in the LOGCONTEXT structure. + * 3. If using multiple packet formats, for each one: + * a. Define PACKETNAME. Its text value will be a prefix for this packet's + * parameters and names. + * b. Define PACKETDATA and PACKETMODE similar to + * 2.a. above. + * c. Include pktdef.h. + * d. The generated structure typedef will be called + * PACKET. Compare with 2.c. above and example #2 below. + * 4. If using extension packet data, do the following additional steps + * for each extension: + * a. Before including pktdef.h, define PACKET + * as either PKEXT_ABSOLUTE or PKEXT_RELATIVE. + * b. The generated structure typedef will contain a field for the + * extension data. + * c. Scan the WTI_EXTENSION categories to find the extension's + * packet mask bit. + * d. OR the packet mask bit with PACKETDATA and use the + * result in the lcPktData field of the LOGCONTEXT structure. + * e. If PACKET was PKEXT_RELATIVE, OR the + * packet mask bit with PACKETMODE and use the result + * in the lcPktMode field of the LOGCONTEXT structure. + * + * + * Example #1. -- single packet format + * + * #include + * #define PACKETDATA PK_X | PK_Y | PK_BUTTONS /@ x, y, buttons @/ + * #define PACKETMODE PK_BUTTONS /@ buttons relative mode @/ + * #include + * ... + * lc.lcPktData = PACKETDATA; + * lc.lcPktMode = PACKETMODE; + * + * Example #2. -- multiple formats + * + * #include + * #define PACKETNAME MOE + * #define MOEPACKETDATA PK_X | PK_Y | PK_BUTTONS /@ x, y, buttons @/ + * #define MOEPACKETMODE PK_BUTTONS /@ buttons relative mode @/ + * #include + * #define PACKETNAME LARRY + * #define LARRYPACKETDATA PK_Y | PK_Z | PK_BUTTONS /@ y, z, buttons @/ + * #define LARRYPACKETMODE PK_BUTTONS /@ buttons relative mode @/ + * #include + * #define PACKETNAME CURLY + * #define CURLYPACKETDATA PK_X | PK_Z | PK_BUTTONS /@ x, z, buttons @/ + * #define CURLYPACKETMODE PK_BUTTONS /@ buttons relative mode @/ + * #include + * ... + * lcMOE.lcPktData = MOEPACKETDATA; + * lcMOE.lcPktMode = MOEPACKETMODE; + * ... + * lcLARRY.lcPktData = LARRYPACKETDATA; + * lcLARRY.lcPktMode = LARRYPACKETMODE; + * ... + * lcCURLY.lcPktData = CURLYPACKETDATA; + * lcCURLY.lcPktMode = CURLYPACKETMODE; + * + * Example #3. -- extension packet data "XFOO". + * + * #include + * #define PACKETDATA PK_X | PK_Y | PK_BUTTONS /@ x, y, buttons @/ + * #define PACKETMODE PK_BUTTONS /@ buttons relative mode @/ + * #define PACKETXFOO PKEXT_ABSOLUTE /@ XFOO absolute mode @/ + * #include + * ... + * UINT ScanExts(UINT wTag) + * { + * UINT i; + * UINT wScanTag; + * + * /@ scan for wTag's info category. @/ + * for (i = 0; WTInfo(WTI_EXTENSIONS + i, EXT_TAG, &wScanTag); i++) { + * if (wTag == wScanTag) { + * /@ return category offset from WTI_EXTENSIONS. @/ + * return i; + * } + * } + * /@ return error code. @/ + * return 0xFFFF; + * } + * ... + * lc.lcPktData = PACKETDATA; + * lc.lcPktMode = PACKETMODE; + * #ifdef PACKETXFOO + * categoryXFOO = ScanExts(WTX_XFOO); + * WTInfo(WTI_EXTENSIONS + categoryXFOO, EXT_MASK, &maskXFOO); + * lc.lcPktData |= maskXFOO; + * #if PACKETXFOO == PKEXT_RELATIVE + * lc.lcPktMode |= maskXFOO; + * #endif + * #endif + * WTOpen(hWnd, &lc, TRUE); + */ + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef PACKETNAME +/* if no packet name prefix */ +# define __PFX(x) x +# define __IFX(x,y) x ## y +#else +/* add prefixes and infixes to packet format names */ +# define __PFX(x) __PFX2(PACKETNAME,x) +# define __PFX2(p,x) __PFX3(p,x) +# define __PFX3(p,x) p ## x +# define __IFX(x,y) __IFX2(x,PACKETNAME,y) +# define __IFX2(x,i,y) __IFX3(x,i,y) +# define __IFX3(x,i,y) x ## i ## y +#endif + +#define __SFX2(x,s) __SFX3(x,s) +#define __SFX3(x,s) x ## s + +#define __TAG __IFX(tag,PACKET) +#define __TYPES \ + __PFX(PACKET), * __IFX(P,PACKET), \ + * __IFX(NP,PACKET), * __IFX(LP,PACKET) + +#define __DATA (__PFX(PACKETDATA)) +#define __MODE (__PFX(PACKETMODE)) +#define __EXT(x) __SFX2(__PFX(PACKET),x) + +typedef struct __TAG { +#if (__DATA & PK_CONTEXT) + HCTX pkContext; +#endif +#if (__DATA & PK_STATUS) + UINT pkStatus; +#endif +#if (__DATA & PK_TIME) + DWORD pkTime; +#endif +#if (__DATA & PK_CHANGED) + WTPKT pkChanged; +#endif +#if (__DATA & PK_SERIAL_NUMBER) + UINT pkSerialNumber; +#endif +#if (__DATA & PK_CURSOR) + UINT pkCursor; +#endif +#if (__DATA & PK_BUTTONS) + DWORD pkButtons; +#endif +#if (__DATA & PK_X) + LONG pkX; +#endif +#if (__DATA & PK_Y) + LONG pkY; +#endif +#if (__DATA & PK_Z) + LONG pkZ; +#endif +#if (__DATA & PK_NORMAL_PRESSURE) +# if (__MODE & PK_NORMAL_PRESSURE) + /* relative */ + int pkNormalPressure; +# else + /* absolute */ + UINT pkNormalPressure; +# endif +#endif +#if (__DATA & PK_TANGENT_PRESSURE) +# if (__MODE & PK_TANGENT_PRESSURE) + /* relative */ + int pkTangentPressure; +# else + /* absolute */ + UINT pkTangentPressure; +# endif +#endif +#if (__DATA & PK_ORIENTATION) + ORIENTATION pkOrientation; +#endif +#if (__DATA & PK_ROTATION) + ROTATION pkRotation; /* 1.1 */ +#endif + +#ifndef NOWTEXTENSIONS + /* extensions begin here. */ + +#if (__EXT(FKEYS) == PKEXT_RELATIVE) || (__EXT(FKEYS) == PKEXT_ABSOLUTE) + UINT pkFKeys; +#endif +#if (__EXT(TILT) == PKEXT_RELATIVE) || (__EXT(TILT) == PKEXT_ABSOLUTE) + TILT pkTilt; +#endif + +#endif + +} __TYPES; + +#undef PACKETNAME +#undef __TAG +#undef __TAG2 +#undef __TYPES +#undef __TYPES2 +#undef __DATA +#undef __MODE +#undef __PFX +#undef __PFX2 +#undef __PFX3 +#undef __IFX +#undef __IFX2 +#undef __IFX3 +#undef __SFX2 +#undef __SFX3 + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* defined(__WINE_PKTDEF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/poppack.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/poppack.h new file mode 100644 index 0000000..e7a273f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/poppack.h @@ -0,0 +1,263 @@ +/* + * Copyright (C) 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if defined(__WINE_PSHPACK_H15) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H15 +# endif +/* Depth == 15 */ + +# if __WINE_PSHPACK_H14 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H14 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H14 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H14) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H14 +# endif +/* Depth == 14 */ + +# if __WINE_PSHPACK_H13 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H13 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H13 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H13) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H13 +# endif +/* Depth == 13 */ + +# if __WINE_PSHPACK_H12 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H12 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H12 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H12) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H12 +# endif +/* Depth == 12 */ + +# if __WINE_PSHPACK_H11 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H11 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H11 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H11) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H11 +# endif +/* Depth == 11 */ + +# if __WINE_PSHPACK_H10 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H10 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H10 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H10) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H10 +# endif +/* Depth == 10 */ + +# if __WINE_PSHPACK_H9 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H9 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H9 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H9) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H9 +# endif +/* Depth == 9 */ + +# if __WINE_PSHPACK_H8 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H8 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H8 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H8) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H8 +# endif +/* Depth == 8 */ + +# if __WINE_PSHPACK_H7 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H7 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H7 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H7) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H7 +# endif +/* Depth == 7 */ + +# if __WINE_PSHPACK_H6 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H6 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H6 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H6) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H6 +# endif +/* Depth == 6 */ + +# if __WINE_PSHPACK_H5 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H5 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H5 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H5) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H5 +# endif +/* Depth == 5 */ + +# if __WINE_PSHPACK_H4 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H4 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H4 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H4) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H4 +# endif +/* Depth == 4 */ + +# if __WINE_PSHPACK_H3 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H3 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H3 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H3) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H3 +# endif +/* Depth == 3 */ + +# if __WINE_PSHPACK_H2 == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H2 == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H2 == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H2) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H2 +# endif +/* Depth == 2 */ + +# if __WINE_PSHPACK_H == 1 +# pragma pack(1) +# elif __WINE_PSHPACK_H == 2 +# pragma pack(2) +# elif __WINE_PSHPACK_H == 8 +# pragma pack(8) +# else +# pragma pack(4) +# endif + +#elif defined(__WINE_PSHPACK_H) +# ifndef __WINE_INTERNAL_POPPACK +# undef __WINE_PSHPACK_H +# endif +/* Depth == 1 */ + +# if defined(__SUNPRO_CC) +# warning "Assuming a default alignment of 4" +# pragma pack(4) +# else +# pragma pack() +# endif + +#else +/* Depth == 0 ! */ + +#error "Popping alignment isn't possible since no alignment has been pushed" + +#endif + +#undef __WINE_INTERNAL_POPPACK diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/powrprof.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/powrprof.h new file mode 100644 index 0000000..239044e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/powrprof.h @@ -0,0 +1,147 @@ +/* + * Copyright (C) 2005 Benjamin Cutler + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_POWRPROF_H +#define __WINE_POWRPROF_H 1 + +#define EnableSysTrayBatteryMeter 0x01 +#define EnableMultiBatteryDisplay 0x02 +#define EnablePasswordLogon 0x04 +#define EnableWakeOnRing 0x08 +#define EnableVideoDimDisplay 0x10 + +typedef struct _GLOBAL_MACHINE_POWER_POLICY { + ULONG Revision; + SYSTEM_POWER_STATE LidOpenWakeAc; + SYSTEM_POWER_STATE LidOpenWakeDc; + ULONG BroadcastCapacityResolution; +} GLOBAL_MACHINE_POWER_POLICY, +*PGLOBAL_MACHINE_POWER_POLICY; + +typedef struct _GLOBAL_USER_POWER_POLICY { + ULONG Revision; + POWER_ACTION_POLICY PowerButtonAc; + POWER_ACTION_POLICY PowerButtonDc; + POWER_ACTION_POLICY SleepButtonAc; + POWER_ACTION_POLICY SleepButtonDc; + POWER_ACTION_POLICY LidCloseAc; + POWER_ACTION_POLICY LidCloseDc; + SYSTEM_POWER_LEVEL DischargePolicy[NUM_DISCHARGE_POLICIES]; + ULONG GlobalFlags; +} GLOBAL_USER_POWER_POLICY, +*PGLOBAL_USER_POWER_POLICY; + +typedef struct _GLOBAL_POWER_POLICY { + GLOBAL_USER_POWER_POLICY user; + GLOBAL_MACHINE_POWER_POLICY mach; +} GLOBAL_POWER_POLICY, +*PGLOBAL_POWER_POLICY; + +typedef struct _MACHINE_POWER_POLICY { + ULONG Revision; + SYSTEM_POWER_STATE MinSleepAc; + SYSTEM_POWER_STATE MinSleepDc; + SYSTEM_POWER_STATE ReducedLatencySleepAc; + SYSTEM_POWER_STATE ReducedLatencySleepDc; + ULONG DozeTimeoutAc; + ULONG DozeTimeoutDc; + ULONG DozeS4TimeoutAc; + ULONG DozeS4TimeoutDc; + UCHAR MinThrottleAc; + UCHAR MinThrottleDc; + UCHAR pad1[2]; + POWER_ACTION_POLICY OverThrottledAc; + POWER_ACTION_POLICY OverThrottledDc; +} MACHINE_POWER_POLICY, +*PMACHINE_POWER_POLICY; + +typedef struct _MACHINE_PROCESSOR_POWER_POLICY { + ULONG Revision; + PROCESSOR_POWER_POLICY ProcessorPolicyAc; + PROCESSOR_POWER_POLICY ProcessorPolicyDc; +} MACHINE_PROCESSOR_POWER_POLICY, +*PMACHINE_PROCESSOR_POWER_POLICY; + +typedef struct _USER_POWER_POLICY { + ULONG Revision; + POWER_ACTION_POLICY IdleAc; + POWER_ACTION_POLICY IdleDc; + ULONG IdleTimeoutAc; + ULONG IdleTimeoutDc; + UCHAR IdleSensitivityAc; + UCHAR IdleSensitivityDc; + UCHAR ThrottlePolicyAc; + UCHAR ThrottlePolicyDc; + SYSTEM_POWER_STATE MaxSleepAc; + SYSTEM_POWER_STATE MaxSleepDc; + ULONG Reserved[2]; + ULONG VideoTimeoutAc; + ULONG VideoTimeoutDc; + ULONG SpindownTimeoutAc; + ULONG SpindownTimeoutDc; + BOOLEAN OptimizeForPowerAc; + BOOLEAN OptimizeForPowerDc; + UCHAR FanThrottleToleranceAc; + UCHAR FanThrottleToleranceDc; + UCHAR ForcedThrottleAc; + UCHAR ForcedThrottleDc; +} USER_POWER_POLICY, +*PUSER_POWER_POLICY; + +typedef struct _POWER_POLICY { + USER_POWER_POLICY user; + MACHINE_POWER_POLICY mach; +} POWER_POLICY, +*PPOWER_POLICY; + + +#ifdef __cplusplus +extern "C" { +#endif + +typedef BOOLEAN (CALLBACK* PWRSCHEMESENUMPROC)(UINT, DWORD, LPWSTR, DWORD, LPWSTR, PPOWER_POLICY, LPARAM); + +NTSTATUS WINAPI CallNtPowerInformation(POWER_INFORMATION_LEVEL, PVOID, ULONG, PVOID, ULONG); +BOOLEAN WINAPI CanUserWritePwrScheme(VOID); +BOOLEAN WINAPI DeletePwrScheme(UINT); +BOOLEAN WINAPI EnumPwrSchemes(PWRSCHEMESENUMPROC, LPARAM); +BOOLEAN WINAPI GetActivePwrScheme(PUINT); +BOOLEAN WINAPI GetCurrentPowerPolicies(PGLOBAL_POWER_POLICY, PPOWER_POLICY); +BOOLEAN WINAPI GetPwrCapabilities(PSYSTEM_POWER_CAPABILITIES); +BOOLEAN WINAPI GetPwrDiskSpindownRange(PUINT, PUINT); +BOOLEAN WINAPI IsAdminOverrideActive(PADMINISTRATOR_POWER_POLICY); +BOOLEAN WINAPI IsPwrHibernateAllowed(VOID); +BOOLEAN WINAPI IsPwrShutdownAllowed(VOID); +BOOLEAN WINAPI IsPwrSuspendAllowed(VOID); +BOOLEAN WINAPI ReadGlobalPwrPolicy(PGLOBAL_POWER_POLICY); +BOOLEAN WINAPI ReadProcessorPwrScheme(UINT, PMACHINE_PROCESSOR_POWER_POLICY); +BOOLEAN WINAPI ReadPwrScheme(UINT, PPOWER_POLICY); +BOOLEAN WINAPI SetActivePwrScheme(UINT, PGLOBAL_POWER_POLICY, PPOWER_POLICY); +BOOLEAN WINAPI SetSuspendState(BOOLEAN, BOOLEAN, BOOLEAN); +BOOLEAN WINAPI WriteGlobalPwrPolicy(PGLOBAL_POWER_POLICY); +BOOLEAN WINAPI WriteProcessorPwrScheme(UINT, PMACHINE_PROCESSOR_POWER_POLICY); +BOOLEAN WINAPI WritePwrScheme(PUINT, LPWSTR, LPWSTR, PPOWER_POLICY); + +/* Power scheme */ +POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole(void); + +#ifdef __cplusplus +} +#endif + +#endif /* _POWRPROF_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/prntvpt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/prntvpt.h new file mode 100644 index 0000000..55ecbbe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/prntvpt.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2015 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _PRNPTNTV_H_ +#define _PRNPTNTV_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +DECLARE_HANDLE(HPTPROVIDER); + +HRESULT WINAPI PTOpenProvider(const WCHAR *printer, DWORD version, HPTPROVIDER *provider); + +#ifdef __cplusplus +} +#endif + +#endif /* _PRNPTNTV_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/profinfo.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/profinfo.h new file mode 100644 index 0000000..e8f4d55 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/profinfo.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PROFINFO_H +#define __WINE_PROFINFO_H + +typedef struct _PROFILEINFOA { + DWORD dwSize; + DWORD dwFlags; + LPSTR lpUserName; + LPSTR lpProfilePath; + LPSTR lpDefaultPath; + LPSTR lpServerName; + LPSTR lpPolicyPath; + HANDLE hProfile; +} PROFILEINFOA, *LPPROFILEINFOA; + +typedef struct _PROFILEINFOW { + DWORD dwSize; + DWORD dwFlags; + LPWSTR lpUserName; + LPWSTR lpProfilePath; + LPWSTR lpDefaultPath; + LPWSTR lpServerName; + LPWSTR lpPolicyPath; + HANDLE hProfile; +} PROFILEINFOW, *LPPROFILEINFOW; + +DECL_WINELIB_TYPE_AW(PROFILEINFO) +DECL_WINELIB_TYPE_AW(LPPROFILEINFO) + +#endif /* __WINE_PROFINFO_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propidl.h new file mode 100644 index 0000000..e723364 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propidl.h @@ -0,0 +1,1014 @@ +/*** Autogenerated by WIDL 2.18 from propidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __propidl_h__ +#define __propidl_h__ + +/* Forward declarations */ + +#ifndef __IPropertyStorage_FWD_DEFINED__ +#define __IPropertyStorage_FWD_DEFINED__ +typedef interface IPropertyStorage IPropertyStorage; +#ifdef __cplusplus +interface IPropertyStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertySetStorage_FWD_DEFINED__ +#define __IPropertySetStorage_FWD_DEFINED__ +typedef interface IPropertySetStorage IPropertySetStorage; +#ifdef __cplusplus +interface IPropertySetStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumSTATPROPSTG_FWD_DEFINED__ +#define __IEnumSTATPROPSTG_FWD_DEFINED__ +typedef interface IEnumSTATPROPSTG IEnumSTATPROPSTG; +#ifdef __cplusplus +interface IEnumSTATPROPSTG; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumSTATPROPSETSTG_FWD_DEFINED__ +#define __IEnumSTATPROPSETSTG_FWD_DEFINED__ +typedef interface IEnumSTATPROPSETSTG IEnumSTATPROPSETSTG; +#ifdef __cplusplus +interface IEnumSTATPROPSETSTG; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef PID_DICTIONARY +#undef PID_DICTIONARY +#endif +#ifdef PID_CODEPAGE +#undef PID_CODEPAGE +#endif +#ifdef PID_SECURITY +#undef PID_SECURITY +#endif +#ifndef __IEnumSTATPROPSTG_FWD_DEFINED__ +#define __IEnumSTATPROPSTG_FWD_DEFINED__ +typedef interface IEnumSTATPROPSTG IEnumSTATPROPSTG; +#ifdef __cplusplus +interface IEnumSTATPROPSTG; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumSTATPROPSETSTG_FWD_DEFINED__ +#define __IEnumSTATPROPSETSTG_FWD_DEFINED__ +typedef interface IEnumSTATPROPSETSTG IEnumSTATPROPSETSTG; +#ifdef __cplusplus +interface IEnumSTATPROPSETSTG; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IPropertyStorage interface + */ +#ifndef __IPropertyStorage_INTERFACE_DEFINED__ +#define __IPropertyStorage_INTERFACE_DEFINED__ + +typedef IPropertyStorage *LPPROPERTYSTORAGE; +#define PROPSETFLAG_DEFAULT (0) + +#define PROPSETFLAG_NONSIMPLE (1) + +#define PROPSETFLAG_ANSI (2) + +#define PROPSETFLAG_UNBUFFERED (4) + +#define PROPSETFLAG_CASE_SENSITIVE (8) + +#define PROPSET_BEHAVIOR_CASE_SENSITIVE (1) + +#define PID_DICTIONARY (0x0) + +#define PID_CODEPAGE (0x1) + +#define PID_FIRST_USABLE (0x2) + +#define PID_FIRST_NAME_DEFAULT (0xfff) + +#define PID_LOCALE (0x80000000) + +#define PID_MODIFY_TIME (0x80000001) + +#define PID_SECURITY (0x80000002) + +#define PID_BEHAVIOR (0x80000003) + +#define PID_ILLEGAL (0xffffffff) + +#define PID_MIN_READONLY (0x80000000) + +#define PID_MAX_READONLY (0xbfffffff) + +typedef struct tagPROPVARIANT PROPVARIANT; +typedef struct tagCAUB { + ULONG cElems; + unsigned char *pElems; +} CAUB; +typedef struct tagCAI { + ULONG cElems; + short *pElems; +} CAI; +typedef struct tagCAUI { + ULONG cElems; + USHORT *pElems; +} CAUI; +typedef struct tagCAL { + ULONG cElems; + LONG *pElems; +} CAL; +typedef struct tagCAUL { + ULONG cElems; + ULONG *pElems; +} CAUL; +typedef struct tagCAFLT { + ULONG cElems; + float *pElems; +} CAFLT; +typedef struct tagCADBL { + ULONG cElems; + double *pElems; +} CADBL; +typedef struct tagCACY { + ULONG cElems; + CY *pElems; +} CACY; +typedef struct tagCADATE { + ULONG cElems; + DATE *pElems; +} CADATE; +typedef struct tagCABSTR { + ULONG cElems; + BSTR *pElems; +} CABSTR; +typedef struct tagCABSTRBLOB { + ULONG cElems; + BSTRBLOB *pElems; +} CABSTRBLOB; +typedef struct tagCABOOL { + ULONG cElems; + VARIANT_BOOL *pElems; +} CABOOL; +typedef struct tagCASCODE { + ULONG cElems; + SCODE *pElems; +} CASCODE; +typedef struct tagCAPROPVARIANT { + ULONG cElems; + PROPVARIANT *pElems; +} CAPROPVARIANT; +typedef struct tagCAH { + ULONG cElems; + LARGE_INTEGER *pElems; +} CAH; +typedef struct tagCAUH { + ULONG cElems; + ULARGE_INTEGER *pElems; +} CAUH; +typedef struct tagCALPSTR { + ULONG cElems; + LPSTR *pElems; +} CALPSTR; +typedef struct tagCALPWSTR { + ULONG cElems; + LPWSTR *pElems; +} CALPWSTR; +typedef struct tagCAFILETIME { + ULONG cElems; + FILETIME *pElems; +} CAFILETIME; +typedef struct tagCACLIPDATA { + ULONG cElems; + CLIPDATA *pElems; +} CACLIPDATA; +typedef struct tagCACLSID { + ULONG cElems; + CLSID *pElems; +} CACLSID; +struct tagPROPVARIANT { + VARTYPE vt; + WORD wReserved1; + WORD wReserved2; + WORD wReserved3; + __C89_NAMELESS union { + char cVal; + UCHAR bVal; + short iVal; + USHORT uiVal; + VARIANT_BOOL boolVal; + LONG lVal; + ULONG ulVal; + float fltVal; + SCODE scode; + LARGE_INTEGER hVal; + ULARGE_INTEGER uhVal; + double dblVal; + CY cyVal; + DATE date; + FILETIME filetime; + CLSID *puuid; + BLOB blob; + CLIPDATA *pclipdata; + IStream *pStream; + IStorage *pStorage; + BSTR bstrVal; + BSTRBLOB bstrblobVal; + LPSTR pszVal; + LPWSTR pwszVal; + IUnknown *punkVal; + IDispatch *pdispVal; + CAUB caub; + CAI cai; + CAUI caui; + CABOOL cabool; + CAL cal; + CAUL caul; + CAFLT caflt; + CASCODE cascode; + CAH cah; + CAUH cauh; + CADBL cadbl; + CACY cacy; + CADATE cadate; + CAFILETIME cafiletime; + CACLSID cauuid; + CACLIPDATA caclipdata; + CABSTR cabstr; + CABSTRBLOB cabstrblob; + CALPSTR calpstr; + CALPWSTR calpwstr; + CAPROPVARIANT capropvar; + LPSAFEARRAY parray; + CHAR *pcVal; + UCHAR *pbVal; + SHORT *piVal; + USHORT *puiVal; + LONG *plVal; + ULONG *pulVal; + INT *pintVal; + UINT *puintVal; + FLOAT *pfltVal; + DOUBLE *pdblVal; + VARIANT_BOOL *pboolVal; + DECIMAL *pdecVal; + SCODE *pscode; + CY *pcyVal; + DATE *pdate; + BSTR *pbstrVal; + IUnknown **ppunkVal; + IDispatch **ppdispVal; + LPSAFEARRAY *pparray; + PROPVARIANT *pvarVal; + } __C89_NAMELESSUNIONNAME; +}; +typedef struct tagPROPVARIANT *LPPROPVARIANT; +#if 0 +typedef const PROPVARIANT *REFPROPVARIANT; +#endif +#ifndef _REFPROPVARIANT_DEFINED +#define _REFPROPVARIANT_DEFINED +#ifdef __cplusplus +#define REFPROPVARIANT const PROPVARIANT & +#else +#define REFPROPVARIANT const PROPVARIANT * __MIDL_CONST +#endif +#endif +#define PIDDI_THUMBNAIL 0x00000002L /* VT_BLOB */ + +#define PIDSI_TITLE 0x00000002L /* VT_LPSTR */ +#define PIDSI_SUBJECT 0x00000003L /* VT_LPSTR */ +#define PIDSI_AUTHOR 0x00000004L /* VT_LPSTR */ +#define PIDSI_KEYWORDS 0x00000005L /* VT_LPSTR */ +#define PIDSI_COMMENTS 0x00000006L /* VT_LPSTR */ +#define PIDSI_TEMPLATE 0x00000007L /* VT_LPSTR */ +#define PIDSI_LASTAUTHOR 0x00000008L /* VT_LPSTR */ +#define PIDSI_REVNUMBER 0x00000009L /* VT_LPSTR */ +#define PIDSI_EDITTIME 0x0000000AL /* VT_FILETIME (UTC) */ +#define PIDSI_LASTPRINTED 0x0000000BL /* VT_FILETIME (UTC) */ +#define PIDSI_CREATE_DTM 0x0000000CL /* VT_FILETIME (UTC) */ +#define PIDSI_LASTSAVE_DTM 0x0000000DL /* VT_FILETIME (UTC) */ +#define PIDSI_PAGECOUNT 0x0000000EL /* VT_I4 */ +#define PIDSI_WORDCOUNT 0x0000000FL /* VT_I4 */ +#define PIDSI_CHARCOUNT 0x00000010L /* VT_I4 */ +#define PIDSI_THUMBNAIL 0x00000011L /* VT_CF */ +#define PIDSI_APPNAME 0x00000012L /* VT_LPSTR */ +#define PIDSI_DOC_SECURITY 0x00000013L /* VT_I4 */ + +#define PIDDSI_CATEGORY 0x00000002L /* VT_LPSTR */ +#define PIDDSI_PRESFORMAT 0x00000003L /* VT_LPSTR */ +#define PIDDSI_BYTECOUNT 0x00000004L /* VT_I4 */ +#define PIDDSI_LINECOUNT 0x00000005L /* VT_I4 */ +#define PIDDSI_PARCOUNT 0x00000006L /* VT_I4 */ +#define PIDDSI_SLIDECOUNT 0x00000007L /* VT_I4 */ +#define PIDDSI_NOTECOUNT 0x00000008L /* VT_I4 */ +#define PIDDSI_HIDDENCOUNT 0x00000009L /* VT_I4 */ +#define PIDDSI_MMCLIPCOUNT 0x0000000AL /* VT_I4 */ +#define PIDDSI_SCALE 0x0000000BL /* VT_BOOL */ +#define PIDDSI_HEADINGPAIR 0x0000000CL /* VT_VARIANT|VT_VECTOR */ +#define PIDDSI_DOCPARTS 0x0000000DL /* VT_LPSTR|VT_VECTOR */ +#define PIDDSI_MANAGER 0x0000000EL /* VT_LPSTR */ +#define PIDDSI_COMPANY 0x0000000FL /* VT_LPSTR */ +#define PIDDSI_LINKSDIRTY 0x00000010L /* VT_B0OL */ +#define PRSPEC_INVALID (0xffffffff) + +#define PRSPEC_LPWSTR (0) + +#define PRSPEC_PROPID (1) + +typedef struct tagPROPSPEC { + ULONG ulKind; + union { + PROPID propid; + LPOLESTR lpwstr; + } DUMMYUNIONNAME; +} PROPSPEC; +typedef struct tagSTATPROPSTG { + LPOLESTR lpwstrName; + PROPID propid; + VARTYPE vt; +} STATPROPSTG; +/* Macros for dwOSVersion member of STATPROPSETSTG */ +#define PROPSETHDR_OSVER_KIND(dwOSVer) HIWORD((dwOSVer)) +#define PROPSETHDR_OSVER_MAJOR(dwOSVer) LOBYTE(LOWORD((dwOSVer))) +#define PROPSETHDR_OSVER_MINOR(dwOSVer) HIBYTE(LOWORD((dwOSVer))) +#define PROPSETHDR_OSVERSION_UNKNOWN 0xffffffff +typedef struct tagSTATPROPSETSTG { + FMTID fmtid; + CLSID clsid; + DWORD grfFlags; + FILETIME mtime; + FILETIME ctime; + FILETIME atime; + DWORD dwOSVersion; +} STATPROPSETSTG; +DEFINE_GUID(IID_IPropertyStorage, 0x00000138, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000138-0000-0000-c000-000000000046") +IPropertyStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ReadMultiple( + ULONG cpspec, + const PROPSPEC rgpspec[], + PROPVARIANT rgpropvar[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteMultiple( + ULONG cpspec, + const PROPSPEC rgpspec[], + const PROPVARIANT rgpropvar[], + PROPID propidNameFirst) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteMultiple( + ULONG cpspec, + const PROPSPEC rgpspec[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadPropertyNames( + ULONG cpropid, + const PROPID rgpropid[], + LPOLESTR rglpwstrName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE WritePropertyNames( + ULONG cpropid, + const PROPID rgpropid[], + const LPOLESTR rglpwstrName[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeletePropertyNames( + ULONG cpropid, + const PROPID rgpropid[]) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + DWORD grfCommitFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revert( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enum( + IEnumSTATPROPSTG **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTimes( + const FILETIME *pctime, + const FILETIME *patime, + const FILETIME *pmtime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClass( + REFCLSID clsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stat( + STATPROPSETSTG *statpsstg) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyStorage, 0x00000138, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPropertyStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyStorage *This); + + /*** IPropertyStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *ReadMultiple)( + IPropertyStorage *This, + ULONG cpspec, + const PROPSPEC rgpspec[], + PROPVARIANT rgpropvar[]); + + HRESULT (STDMETHODCALLTYPE *WriteMultiple)( + IPropertyStorage *This, + ULONG cpspec, + const PROPSPEC rgpspec[], + const PROPVARIANT rgpropvar[], + PROPID propidNameFirst); + + HRESULT (STDMETHODCALLTYPE *DeleteMultiple)( + IPropertyStorage *This, + ULONG cpspec, + const PROPSPEC rgpspec[]); + + HRESULT (STDMETHODCALLTYPE *ReadPropertyNames)( + IPropertyStorage *This, + ULONG cpropid, + const PROPID rgpropid[], + LPOLESTR rglpwstrName[]); + + HRESULT (STDMETHODCALLTYPE *WritePropertyNames)( + IPropertyStorage *This, + ULONG cpropid, + const PROPID rgpropid[], + const LPOLESTR rglpwstrName[]); + + HRESULT (STDMETHODCALLTYPE *DeletePropertyNames)( + IPropertyStorage *This, + ULONG cpropid, + const PROPID rgpropid[]); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IPropertyStorage *This, + DWORD grfCommitFlags); + + HRESULT (STDMETHODCALLTYPE *Revert)( + IPropertyStorage *This); + + HRESULT (STDMETHODCALLTYPE *Enum)( + IPropertyStorage *This, + IEnumSTATPROPSTG **ppenum); + + HRESULT (STDMETHODCALLTYPE *SetTimes)( + IPropertyStorage *This, + const FILETIME *pctime, + const FILETIME *patime, + const FILETIME *pmtime); + + HRESULT (STDMETHODCALLTYPE *SetClass)( + IPropertyStorage *This, + REFCLSID clsid); + + HRESULT (STDMETHODCALLTYPE *Stat)( + IPropertyStorage *This, + STATPROPSETSTG *statpsstg); + + END_INTERFACE +} IPropertyStorageVtbl; + +interface IPropertyStorage { + CONST_VTBL IPropertyStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyStorage methods ***/ +#define IPropertyStorage_ReadMultiple(This,cpspec,rgpspec,rgpropvar) (This)->lpVtbl->ReadMultiple(This,cpspec,rgpspec,rgpropvar) +#define IPropertyStorage_WriteMultiple(This,cpspec,rgpspec,rgpropvar,propidNameFirst) (This)->lpVtbl->WriteMultiple(This,cpspec,rgpspec,rgpropvar,propidNameFirst) +#define IPropertyStorage_DeleteMultiple(This,cpspec,rgpspec) (This)->lpVtbl->DeleteMultiple(This,cpspec,rgpspec) +#define IPropertyStorage_ReadPropertyNames(This,cpropid,rgpropid,rglpwstrName) (This)->lpVtbl->ReadPropertyNames(This,cpropid,rgpropid,rglpwstrName) +#define IPropertyStorage_WritePropertyNames(This,cpropid,rgpropid,rglpwstrName) (This)->lpVtbl->WritePropertyNames(This,cpropid,rgpropid,rglpwstrName) +#define IPropertyStorage_DeletePropertyNames(This,cpropid,rgpropid) (This)->lpVtbl->DeletePropertyNames(This,cpropid,rgpropid) +#define IPropertyStorage_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags) +#define IPropertyStorage_Revert(This) (This)->lpVtbl->Revert(This) +#define IPropertyStorage_Enum(This,ppenum) (This)->lpVtbl->Enum(This,ppenum) +#define IPropertyStorage_SetTimes(This,pctime,patime,pmtime) (This)->lpVtbl->SetTimes(This,pctime,patime,pmtime) +#define IPropertyStorage_SetClass(This,clsid) (This)->lpVtbl->SetClass(This,clsid) +#define IPropertyStorage_Stat(This,statpsstg) (This)->lpVtbl->Stat(This,statpsstg) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyStorage_QueryInterface(IPropertyStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyStorage_AddRef(IPropertyStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyStorage_Release(IPropertyStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyStorage methods ***/ +static FORCEINLINE HRESULT IPropertyStorage_ReadMultiple(IPropertyStorage* This,ULONG cpspec,const PROPSPEC rgpspec[],PROPVARIANT rgpropvar[]) { + return This->lpVtbl->ReadMultiple(This,cpspec,rgpspec,rgpropvar); +} +static FORCEINLINE HRESULT IPropertyStorage_WriteMultiple(IPropertyStorage* This,ULONG cpspec,const PROPSPEC rgpspec[],const PROPVARIANT rgpropvar[],PROPID propidNameFirst) { + return This->lpVtbl->WriteMultiple(This,cpspec,rgpspec,rgpropvar,propidNameFirst); +} +static FORCEINLINE HRESULT IPropertyStorage_DeleteMultiple(IPropertyStorage* This,ULONG cpspec,const PROPSPEC rgpspec[]) { + return This->lpVtbl->DeleteMultiple(This,cpspec,rgpspec); +} +static FORCEINLINE HRESULT IPropertyStorage_ReadPropertyNames(IPropertyStorage* This,ULONG cpropid,const PROPID rgpropid[],LPOLESTR rglpwstrName[]) { + return This->lpVtbl->ReadPropertyNames(This,cpropid,rgpropid,rglpwstrName); +} +static FORCEINLINE HRESULT IPropertyStorage_WritePropertyNames(IPropertyStorage* This,ULONG cpropid,const PROPID rgpropid[],const LPOLESTR rglpwstrName[]) { + return This->lpVtbl->WritePropertyNames(This,cpropid,rgpropid,rglpwstrName); +} +static FORCEINLINE HRESULT IPropertyStorage_DeletePropertyNames(IPropertyStorage* This,ULONG cpropid,const PROPID rgpropid[]) { + return This->lpVtbl->DeletePropertyNames(This,cpropid,rgpropid); +} +static FORCEINLINE HRESULT IPropertyStorage_Commit(IPropertyStorage* This,DWORD grfCommitFlags) { + return This->lpVtbl->Commit(This,grfCommitFlags); +} +static FORCEINLINE HRESULT IPropertyStorage_Revert(IPropertyStorage* This) { + return This->lpVtbl->Revert(This); +} +static FORCEINLINE HRESULT IPropertyStorage_Enum(IPropertyStorage* This,IEnumSTATPROPSTG **ppenum) { + return This->lpVtbl->Enum(This,ppenum); +} +static FORCEINLINE HRESULT IPropertyStorage_SetTimes(IPropertyStorage* This,const FILETIME *pctime,const FILETIME *patime,const FILETIME *pmtime) { + return This->lpVtbl->SetTimes(This,pctime,patime,pmtime); +} +static FORCEINLINE HRESULT IPropertyStorage_SetClass(IPropertyStorage* This,REFCLSID clsid) { + return This->lpVtbl->SetClass(This,clsid); +} +static FORCEINLINE HRESULT IPropertyStorage_Stat(IPropertyStorage* This,STATPROPSETSTG *statpsstg) { + return This->lpVtbl->Stat(This,statpsstg); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertySetStorage interface + */ +#ifndef __IPropertySetStorage_INTERFACE_DEFINED__ +#define __IPropertySetStorage_INTERFACE_DEFINED__ + +typedef IPropertySetStorage *LPPROPERTYSETSTORAGE; +DEFINE_GUID(IID_IPropertySetStorage, 0x0000013a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000013a-0000-0000-c000-000000000046") +IPropertySetStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + REFFMTID rfmtid, + const CLSID *pclsid, + DWORD grfFlags, + DWORD grfMode, + IPropertyStorage **ppprstg) = 0; + + virtual HRESULT STDMETHODCALLTYPE Open( + REFFMTID rfmtid, + DWORD grfMode, + IPropertyStorage **ppprstg) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + REFFMTID rfmtid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enum( + IEnumSTATPROPSETSTG **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertySetStorage, 0x0000013a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPropertySetStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertySetStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertySetStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertySetStorage *This); + + /*** IPropertySetStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + IPropertySetStorage *This, + REFFMTID rfmtid, + const CLSID *pclsid, + DWORD grfFlags, + DWORD grfMode, + IPropertyStorage **ppprstg); + + HRESULT (STDMETHODCALLTYPE *Open)( + IPropertySetStorage *This, + REFFMTID rfmtid, + DWORD grfMode, + IPropertyStorage **ppprstg); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IPropertySetStorage *This, + REFFMTID rfmtid); + + HRESULT (STDMETHODCALLTYPE *Enum)( + IPropertySetStorage *This, + IEnumSTATPROPSETSTG **ppenum); + + END_INTERFACE +} IPropertySetStorageVtbl; + +interface IPropertySetStorage { + CONST_VTBL IPropertySetStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertySetStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertySetStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertySetStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertySetStorage methods ***/ +#define IPropertySetStorage_Create(This,rfmtid,pclsid,grfFlags,grfMode,ppprstg) (This)->lpVtbl->Create(This,rfmtid,pclsid,grfFlags,grfMode,ppprstg) +#define IPropertySetStorage_Open(This,rfmtid,grfMode,ppprstg) (This)->lpVtbl->Open(This,rfmtid,grfMode,ppprstg) +#define IPropertySetStorage_Delete(This,rfmtid) (This)->lpVtbl->Delete(This,rfmtid) +#define IPropertySetStorage_Enum(This,ppenum) (This)->lpVtbl->Enum(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertySetStorage_QueryInterface(IPropertySetStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertySetStorage_AddRef(IPropertySetStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertySetStorage_Release(IPropertySetStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertySetStorage methods ***/ +static FORCEINLINE HRESULT IPropertySetStorage_Create(IPropertySetStorage* This,REFFMTID rfmtid,const CLSID *pclsid,DWORD grfFlags,DWORD grfMode,IPropertyStorage **ppprstg) { + return This->lpVtbl->Create(This,rfmtid,pclsid,grfFlags,grfMode,ppprstg); +} +static FORCEINLINE HRESULT IPropertySetStorage_Open(IPropertySetStorage* This,REFFMTID rfmtid,DWORD grfMode,IPropertyStorage **ppprstg) { + return This->lpVtbl->Open(This,rfmtid,grfMode,ppprstg); +} +static FORCEINLINE HRESULT IPropertySetStorage_Delete(IPropertySetStorage* This,REFFMTID rfmtid) { + return This->lpVtbl->Delete(This,rfmtid); +} +static FORCEINLINE HRESULT IPropertySetStorage_Enum(IPropertySetStorage* This,IEnumSTATPROPSETSTG **ppenum) { + return This->lpVtbl->Enum(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IPropertySetStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumSTATPROPSTG interface + */ +#ifndef __IEnumSTATPROPSTG_INTERFACE_DEFINED__ +#define __IEnumSTATPROPSTG_INTERFACE_DEFINED__ + +typedef IEnumSTATPROPSTG *LPENUMSTATPROPSTG; +DEFINE_GUID(IID_IEnumSTATPROPSTG, 0x00000139, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000139-0000-0000-c000-000000000046") +IEnumSTATPROPSTG : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + STATPROPSTG *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumSTATPROPSTG **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumSTATPROPSTG, 0x00000139, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumSTATPROPSTGVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumSTATPROPSTG *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumSTATPROPSTG *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumSTATPROPSTG *This); + + /*** IEnumSTATPROPSTG methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumSTATPROPSTG *This, + ULONG celt, + STATPROPSTG *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumSTATPROPSTG *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumSTATPROPSTG *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumSTATPROPSTG *This, + IEnumSTATPROPSTG **ppenum); + + END_INTERFACE +} IEnumSTATPROPSTGVtbl; + +interface IEnumSTATPROPSTG { + CONST_VTBL IEnumSTATPROPSTGVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumSTATPROPSTG_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumSTATPROPSTG_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumSTATPROPSTG_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSTATPROPSTG methods ***/ +#define IEnumSTATPROPSTG_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumSTATPROPSTG_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumSTATPROPSTG_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumSTATPROPSTG_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumSTATPROPSTG_QueryInterface(IEnumSTATPROPSTG* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumSTATPROPSTG_AddRef(IEnumSTATPROPSTG* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumSTATPROPSTG_Release(IEnumSTATPROPSTG* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSTATPROPSTG methods ***/ +static FORCEINLINE HRESULT IEnumSTATPROPSTG_Next(IEnumSTATPROPSTG* This,ULONG celt,STATPROPSTG *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumSTATPROPSTG_Skip(IEnumSTATPROPSTG* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumSTATPROPSTG_Reset(IEnumSTATPROPSTG* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumSTATPROPSTG_Clone(IEnumSTATPROPSTG* This,IEnumSTATPROPSTG **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumSTATPROPSTG_RemoteNext_Proxy( + IEnumSTATPROPSTG* This, + ULONG celt, + STATPROPSTG *rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumSTATPROPSTG_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumSTATPROPSTG_Next_Proxy( + IEnumSTATPROPSTG* This, + ULONG celt, + STATPROPSTG *rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumSTATPROPSTG_Next_Stub( + IEnumSTATPROPSTG* This, + ULONG celt, + STATPROPSTG *rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumSTATPROPSTG_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumSTATPROPSETSTG interface + */ +#ifndef __IEnumSTATPROPSETSTG_INTERFACE_DEFINED__ +#define __IEnumSTATPROPSETSTG_INTERFACE_DEFINED__ + +typedef IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG; +DEFINE_GUID(IID_IEnumSTATPROPSETSTG, 0x0000013b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0000013b-0000-0000-c000-000000000046") +IEnumSTATPROPSETSTG : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + STATPROPSETSTG *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumSTATPROPSETSTG **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumSTATPROPSETSTG, 0x0000013b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumSTATPROPSETSTGVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumSTATPROPSETSTG *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumSTATPROPSETSTG *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumSTATPROPSETSTG *This); + + /*** IEnumSTATPROPSETSTG methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumSTATPROPSETSTG *This, + ULONG celt, + STATPROPSETSTG *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumSTATPROPSETSTG *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumSTATPROPSETSTG *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumSTATPROPSETSTG *This, + IEnumSTATPROPSETSTG **ppenum); + + END_INTERFACE +} IEnumSTATPROPSETSTGVtbl; + +interface IEnumSTATPROPSETSTG { + CONST_VTBL IEnumSTATPROPSETSTGVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumSTATPROPSETSTG_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumSTATPROPSETSTG_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumSTATPROPSETSTG_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSTATPROPSETSTG methods ***/ +#define IEnumSTATPROPSETSTG_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumSTATPROPSETSTG_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumSTATPROPSETSTG_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumSTATPROPSETSTG_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumSTATPROPSETSTG_QueryInterface(IEnumSTATPROPSETSTG* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumSTATPROPSETSTG_AddRef(IEnumSTATPROPSETSTG* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumSTATPROPSETSTG_Release(IEnumSTATPROPSETSTG* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSTATPROPSETSTG methods ***/ +static FORCEINLINE HRESULT IEnumSTATPROPSETSTG_Next(IEnumSTATPROPSETSTG* This,ULONG celt,STATPROPSETSTG *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumSTATPROPSETSTG_Skip(IEnumSTATPROPSETSTG* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumSTATPROPSETSTG_Reset(IEnumSTATPROPSETSTG* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumSTATPROPSETSTG_Clone(IEnumSTATPROPSETSTG* This,IEnumSTATPROPSETSTG **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumSTATPROPSETSTG_RemoteNext_Proxy( + IEnumSTATPROPSETSTG* This, + ULONG celt, + STATPROPSETSTG *rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumSTATPROPSETSTG_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumSTATPROPSETSTG_Next_Proxy( + IEnumSTATPROPSETSTG* This, + ULONG celt, + STATPROPSETSTG *rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumSTATPROPSETSTG_Next_Stub( + IEnumSTATPROPSETSTG* This, + ULONG celt, + STATPROPSETSTG *rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumSTATPROPSETSTG_INTERFACE_DEFINED__ */ + +typedef struct SERIALIZEDPROPERTYVALUE { + DWORD dwType; + BYTE rgb[1]; +} SERIALIZEDPROPERTYVALUE; +HRESULT WINAPI FreePropVariantArray(ULONG,PROPVARIANT*); +HRESULT WINAPI PropVariantClear(PROPVARIANT*); +HRESULT WINAPI PropVariantCopy(PROPVARIANT*,const PROPVARIANT*); + +#define _PROPVARIANT_INIT_DEFINED_ +#define PropVariantInit(p) memset((p), 0, sizeof(PROPVARIANT)) + +#ifndef _STGCREATEPROPSTG_DEFINED_ +#define _STGCREATEPROPSTG_DEFINED_ +HRESULT WINAPI StgCreatePropStg(IUnknown *, REFFMTID, const CLSID *, DWORD, DWORD, IPropertyStorage **); +HRESULT WINAPI StgOpenPropStg(IUnknown *, REFFMTID, DWORD, DWORD, IPropertyStorage **); +HRESULT WINAPI StgCreatePropSetStg(IStorage *, DWORD, IPropertySetStorage **); +#define CCH_MAX_PROPSTG_NAME 31 +HRESULT WINAPI FmtIdToPropStgName(const FMTID *, LPOLESTR); +HRESULT WINAPI PropStgNameToFmtId(const LPOLESTR, FMTID *); +#endif /* _STGCREATEPROPSTG_DEFINED_ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __propidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propidl.idl new file mode 100644 index 0000000..71401cb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propidl.idl @@ -0,0 +1,457 @@ +/* + * Copyright 2002 Ove Kaaven + * Copyright 2004 Francois Gouget + * Copyright 2005 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "objidl.idl"; +import "oaidl.idl"; +#endif + +/* + * Windows SDK braindamage alert + * + * PID_DICTIONARY and PID_CODEPAGE are defined by msidefs.h too + * PID_SECURITY is defined in msidefs.h with a different value! + * So these need to be undefined first. + */ +cpp_quote("#ifdef PID_DICTIONARY") +cpp_quote("#undef PID_DICTIONARY") +cpp_quote("#endif") + +cpp_quote("#ifdef PID_CODEPAGE") +cpp_quote("#undef PID_CODEPAGE") +cpp_quote("#endif") + +cpp_quote("#ifdef PID_SECURITY") +cpp_quote("#undef PID_SECURITY") +cpp_quote("#endif") + +/******************** Property Storage ********************/ + +interface IEnumSTATPROPSTG; +interface IEnumSTATPROPSETSTG; + +[ + object, + uuid(00000138-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IPropertyStorage : IUnknown +{ + typedef [unique] IPropertyStorage *LPPROPERTYSTORAGE; + + const DWORD PROPSETFLAG_DEFAULT = 0; + const DWORD PROPSETFLAG_NONSIMPLE = 1; + const DWORD PROPSETFLAG_ANSI = 2; + const DWORD PROPSETFLAG_UNBUFFERED = 4; + const DWORD PROPSETFLAG_CASE_SENSITIVE = 8; + + const DWORD PROPSET_BEHAVIOR_CASE_SENSITIVE = 1; + + const PROPID PID_DICTIONARY = 0x00000000; + const PROPID PID_CODEPAGE = 0x00000001; + const PROPID PID_FIRST_USABLE = 0x00000002; + const PROPID PID_FIRST_NAME_DEFAULT = 0x00000fff; + const PROPID PID_LOCALE = 0x80000000; + const PROPID PID_MODIFY_TIME = 0x80000001; + const PROPID PID_SECURITY = 0x80000002; + const PROPID PID_BEHAVIOR = 0x80000003; + const PROPID PID_ILLEGAL = 0xffffffff; + const PROPID PID_MIN_READONLY = 0x80000000; + const PROPID PID_MAX_READONLY = 0xbfffffff; + + typedef struct tagPROPVARIANT PROPVARIANT; + +#define TYPEDEF_CA(type, name) \ + typedef struct tag##name { \ + ULONG cElems; \ + [size_is(cElems)] \ + type *pElems; \ + } name + + TYPEDEF_CA(unsigned char, CAUB); + TYPEDEF_CA(short, CAI); + TYPEDEF_CA(USHORT, CAUI); + TYPEDEF_CA(long, CAL); + TYPEDEF_CA(ULONG, CAUL); + TYPEDEF_CA(float, CAFLT); + TYPEDEF_CA(double, CADBL); + TYPEDEF_CA(CY, CACY); + TYPEDEF_CA(DATE, CADATE); + TYPEDEF_CA(BSTR, CABSTR); + TYPEDEF_CA(BSTRBLOB, CABSTRBLOB); + TYPEDEF_CA(VARIANT_BOOL, CABOOL); + TYPEDEF_CA(SCODE, CASCODE); + TYPEDEF_CA(PROPVARIANT, CAPROPVARIANT); + TYPEDEF_CA(LARGE_INTEGER, CAH); + TYPEDEF_CA(ULARGE_INTEGER, CAUH); + TYPEDEF_CA(LPSTR, CALPSTR); + TYPEDEF_CA(LPWSTR, CALPWSTR); + TYPEDEF_CA(FILETIME, CAFILETIME); + TYPEDEF_CA(CLIPDATA, CACLIPDATA); + TYPEDEF_CA(CLSID, CACLSID); + + struct tagPROPVARIANT { + VARTYPE vt; + WORD wReserved1; + WORD wReserved2; + WORD wReserved3; + [switch_is(vt & 0x1fff)] union { + [case(VT_EMPTY, VT_NULL)] ; + [case(VT_I1)] char cVal; + [case(VT_UI1)] UCHAR bVal; + [case(VT_I2)] short iVal; + [case(VT_UI2)] USHORT uiVal; + [case(VT_BOOL)] VARIANT_BOOL boolVal; +#if 0 /* illegal in C++ */ + [case(VT_ILLEGAL)] _VARIANT_BOOL bool; +#endif + [case(VT_I4)] long lVal; + [case(VT_UI4)] ULONG ulVal; + [case(VT_R4)] float fltVal; + [case(VT_ERROR)] SCODE scode; + [case(VT_I8)] LARGE_INTEGER hVal; + [case(VT_UI8)] ULARGE_INTEGER uhVal; + [case(VT_R8)] double dblVal; + [case(VT_CY)] CY cyVal; + [case(VT_DATE)] DATE date; + [case(VT_FILETIME)] FILETIME filetime; + [case(VT_CLSID)] CLSID *puuid; + [case(VT_BLOB, VT_BLOB_OBJECT)] BLOB blob; + [case(VT_CF)] CLIPDATA *pclipdata; + [case(VT_STREAM, VT_STREAMED_OBJECT)] IStream *pStream; + [case(VT_STORAGE, VT_STORED_OBJECT)] IStorage *pStorage; + [case(VT_BSTR)] BSTR bstrVal; + [case(VT_BSTR_BLOB)] BSTRBLOB bstrblobVal; + [case(VT_LPSTR)] LPSTR pszVal; + [case(VT_LPWSTR)] LPWSTR pwszVal; + [case(VT_UNKNOWN)] IUnknown *punkVal; + [case(VT_DISPATCH)] IDispatch *pdispVal; + [case(VT_UI1|VT_VECTOR)] CAUB caub; + [case(VT_I2|VT_VECTOR)] CAI cai; + [case(VT_UI2|VT_VECTOR)] CAUI caui; + [case(VT_BOOL|VT_VECTOR)] CABOOL cabool; + [case(VT_I4|VT_VECTOR)] CAL cal; + [case(VT_UI4|VT_VECTOR)] CAUL caul; + [case(VT_R4|VT_VECTOR)] CAFLT caflt; + [case(VT_ERROR|VT_VECTOR)] CASCODE cascode; + [case(VT_I8|VT_VECTOR)] CAH cah; + [case(VT_UI8|VT_VECTOR)] CAUH cauh; + [case(VT_R8|VT_VECTOR)] CADBL cadbl; + [case(VT_CY|VT_VECTOR)] CACY cacy; + [case(VT_DATE|VT_VECTOR)] CADATE cadate; + [case(VT_FILETIME|VT_VECTOR)] CAFILETIME cafiletime; + [case(VT_CLSID|VT_VECTOR)] CACLSID cauuid; + [case(VT_CF|VT_VECTOR)] CACLIPDATA caclipdata; + [case(VT_BSTR|VT_VECTOR)] CABSTR cabstr; + [case(VT_BSTR_BLOB|VT_VECTOR)] CABSTRBLOB cabstrblob; + [case(VT_LPSTR|VT_VECTOR)] CALPSTR calpstr; + [case(VT_LPWSTR|VT_VECTOR)] CALPWSTR calpwstr; + [case(VT_VARIANT|VT_VECTOR)] CAPROPVARIANT capropvar; + [case(VT_ARRAY|VT_I1, + VT_ARRAY|VT_UI1, + VT_ARRAY|VT_I2, + VT_ARRAY|VT_UI2, + VT_ARRAY|VT_I4, + VT_ARRAY|VT_UI4, + VT_ARRAY|VT_INT, + VT_ARRAY|VT_UINT, + VT_ARRAY|VT_R4, + VT_ARRAY|VT_R8, + VT_ARRAY|VT_CY, + VT_ARRAY|VT_DATE, + VT_ARRAY|VT_BSTR, + VT_ARRAY|VT_BOOL, + VT_ARRAY|VT_DECIMAL, + VT_ARRAY|VT_DISPATCH, + VT_ARRAY|VT_UNKNOWN, + VT_ARRAY|VT_ERROR, + VT_ARRAY|VT_VARIANT)] LPSAFEARRAY parray; + [case(VT_BYREF|VT_I1)] CHAR *pcVal; + [case(VT_BYREF|VT_UI1)] UCHAR *pbVal; + [case(VT_BYREF|VT_I2)] SHORT *piVal; + [case(VT_BYREF|VT_UI2)] USHORT *puiVal; + [case(VT_BYREF|VT_I4)] LONG *plVal; + [case(VT_BYREF|VT_UI4)] ULONG *pulVal; + [case(VT_BYREF|VT_INT)] INT *pintVal; + [case(VT_BYREF|VT_UINT)] UINT *puintVal; + [case(VT_BYREF|VT_R4)] FLOAT *pfltVal; + [case(VT_BYREF|VT_R8)] DOUBLE *pdblVal; + [case(VT_BYREF|VT_BOOL)] VARIANT_BOOL *pboolVal; + [case(VT_BYREF|VT_DECIMAL)] DECIMAL *pdecVal; + [case(VT_BYREF|VT_ERROR)] SCODE *pscode; + [case(VT_BYREF|VT_CY)] CY *pcyVal; + [case(VT_BYREF|VT_DATE)] DATE *pdate; + [case(VT_BYREF|VT_BSTR)] BSTR *pbstrVal; + [case(VT_BYREF|VT_UNKNOWN)] IUnknown **ppunkVal; + [case(VT_BYREF|VT_DISPATCH)] IDispatch **ppdispVal; + [case(VT_BYREF|VT_ARRAY)] LPSAFEARRAY *pparray; + [case(VT_BYREF|VT_VARIANT)] PROPVARIANT *pvarVal; + }; + }; + + typedef struct tagPROPVARIANT *LPPROPVARIANT; + + cpp_quote("#if 0") + typedef const PROPVARIANT * REFPROPVARIANT; + cpp_quote("#endif") + cpp_quote("#ifndef _REFPROPVARIANT_DEFINED") + cpp_quote("#define _REFPROPVARIANT_DEFINED") + cpp_quote("#ifdef __cplusplus") + cpp_quote("#define REFPROPVARIANT const PROPVARIANT &") + cpp_quote("#else") + cpp_quote("#define REFPROPVARIANT const PROPVARIANT * __MIDL_CONST") + cpp_quote("#endif") + cpp_quote("#endif") + + cpp_quote("#define PIDDI_THUMBNAIL 0x00000002L /* VT_BLOB */") + cpp_quote("") + cpp_quote("#define PIDSI_TITLE 0x00000002L /* VT_LPSTR */") + cpp_quote("#define PIDSI_SUBJECT 0x00000003L /* VT_LPSTR */") + cpp_quote("#define PIDSI_AUTHOR 0x00000004L /* VT_LPSTR */") + cpp_quote("#define PIDSI_KEYWORDS 0x00000005L /* VT_LPSTR */") + cpp_quote("#define PIDSI_COMMENTS 0x00000006L /* VT_LPSTR */") + cpp_quote("#define PIDSI_TEMPLATE 0x00000007L /* VT_LPSTR */") + cpp_quote("#define PIDSI_LASTAUTHOR 0x00000008L /* VT_LPSTR */") + cpp_quote("#define PIDSI_REVNUMBER 0x00000009L /* VT_LPSTR */") + cpp_quote("#define PIDSI_EDITTIME 0x0000000AL /* VT_FILETIME (UTC) */") + cpp_quote("#define PIDSI_LASTPRINTED 0x0000000BL /* VT_FILETIME (UTC) */") + cpp_quote("#define PIDSI_CREATE_DTM 0x0000000CL /* VT_FILETIME (UTC) */") + cpp_quote("#define PIDSI_LASTSAVE_DTM 0x0000000DL /* VT_FILETIME (UTC) */") + cpp_quote("#define PIDSI_PAGECOUNT 0x0000000EL /* VT_I4 */") + cpp_quote("#define PIDSI_WORDCOUNT 0x0000000FL /* VT_I4 */") + cpp_quote("#define PIDSI_CHARCOUNT 0x00000010L /* VT_I4 */") + cpp_quote("#define PIDSI_THUMBNAIL 0x00000011L /* VT_CF */") + cpp_quote("#define PIDSI_APPNAME 0x00000012L /* VT_LPSTR */") + cpp_quote("#define PIDSI_DOC_SECURITY 0x00000013L /* VT_I4 */") + cpp_quote("") + cpp_quote("#define PIDDSI_CATEGORY 0x00000002L /* VT_LPSTR */") + cpp_quote("#define PIDDSI_PRESFORMAT 0x00000003L /* VT_LPSTR */") + cpp_quote("#define PIDDSI_BYTECOUNT 0x00000004L /* VT_I4 */") + cpp_quote("#define PIDDSI_LINECOUNT 0x00000005L /* VT_I4 */") + cpp_quote("#define PIDDSI_PARCOUNT 0x00000006L /* VT_I4 */") + cpp_quote("#define PIDDSI_SLIDECOUNT 0x00000007L /* VT_I4 */") + cpp_quote("#define PIDDSI_NOTECOUNT 0x00000008L /* VT_I4 */") + cpp_quote("#define PIDDSI_HIDDENCOUNT 0x00000009L /* VT_I4 */") + cpp_quote("#define PIDDSI_MMCLIPCOUNT 0x0000000AL /* VT_I4 */") + cpp_quote("#define PIDDSI_SCALE 0x0000000BL /* VT_BOOL */") + cpp_quote("#define PIDDSI_HEADINGPAIR 0x0000000CL /* VT_VARIANT|VT_VECTOR */") + cpp_quote("#define PIDDSI_DOCPARTS 0x0000000DL /* VT_LPSTR|VT_VECTOR */") + cpp_quote("#define PIDDSI_MANAGER 0x0000000EL /* VT_LPSTR */") + cpp_quote("#define PIDDSI_COMPANY 0x0000000FL /* VT_LPSTR */") + cpp_quote("#define PIDDSI_LINKSDIRTY 0x00000010L /* VT_B0OL */") + + const ULONG PRSPEC_INVALID = 0xffffffff; + const ULONG PRSPEC_LPWSTR = 0; + const ULONG PRSPEC_PROPID = 1; + + typedef struct tagPROPSPEC { + ULONG ulKind; + [switch_is(ulKind)] union { + [case(PRSPEC_PROPID)] PROPID propid; + [case(PRSPEC_LPWSTR)] LPOLESTR lpwstr; + [default] ; + } DUMMYUNIONNAME; + } PROPSPEC; + + typedef struct tagSTATPROPSTG { + LPOLESTR lpwstrName; + PROPID propid; + VARTYPE vt; + } STATPROPSTG; + + cpp_quote("/* Macros for dwOSVersion member of STATPROPSETSTG */") + cpp_quote("#define PROPSETHDR_OSVER_KIND(dwOSVer) HIWORD((dwOSVer))") + cpp_quote("#define PROPSETHDR_OSVER_MAJOR(dwOSVer) LOBYTE(LOWORD((dwOSVer)))") + cpp_quote("#define PROPSETHDR_OSVER_MINOR(dwOSVer) HIBYTE(LOWORD((dwOSVer)))") + cpp_quote("#define PROPSETHDR_OSVERSION_UNKNOWN 0xffffffff") + + typedef struct tagSTATPROPSETSTG { + FMTID fmtid; + CLSID clsid; + DWORD grfFlags; + FILETIME mtime; + FILETIME ctime; + FILETIME atime; + DWORD dwOSVersion; + } STATPROPSETSTG; + + HRESULT ReadMultiple( + [in] ULONG cpspec, + [in, size_is(cpspec)] const PROPSPEC rgpspec[], + [out, size_is(cpspec)] PROPVARIANT rgpropvar[]); + + HRESULT WriteMultiple( + [in] ULONG cpspec, + [in, size_is(cpspec)] const PROPSPEC rgpspec[], + [in, size_is(cpspec)] const PROPVARIANT rgpropvar[], + [in] PROPID propidNameFirst); + + HRESULT DeleteMultiple( + [in] ULONG cpspec, + [in, size_is(cpspec)] const PROPSPEC rgpspec[]); + + HRESULT ReadPropertyNames( + [in] ULONG cpropid, + [in, size_is(cpropid)] const PROPID rgpropid[], + [out, size_is(cpropid)] LPOLESTR rglpwstrName[]); + + HRESULT WritePropertyNames( + [in] ULONG cpropid, + [in, size_is(cpropid)] const PROPID rgpropid[], + [in, size_is(cpropid)] const LPOLESTR rglpwstrName[]); + + HRESULT DeletePropertyNames( + [in] ULONG cpropid, + [in, size_is(cpropid)] const PROPID rgpropid[]); + + HRESULT Commit( + [in] DWORD grfCommitFlags); + + HRESULT Revert(); + + HRESULT Enum( + [out] IEnumSTATPROPSTG **ppenum); + + HRESULT SetTimes( + [in] const FILETIME *pctime, + [in] const FILETIME *patime, + [in] const FILETIME *pmtime); + + HRESULT SetClass( + [in] REFCLSID clsid); + + HRESULT Stat( + [out] STATPROPSETSTG *statpsstg); +} + +[ + object, + uuid(0000013A-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IPropertySetStorage : IUnknown +{ + typedef [unique] IPropertySetStorage *LPPROPERTYSETSTORAGE; + + HRESULT Create( + [in] REFFMTID rfmtid, + [in, unique] const CLSID *pclsid, + [in] DWORD grfFlags, + [in] DWORD grfMode, + [out] IPropertyStorage **ppprstg); + + HRESULT Open( + [in] REFFMTID rfmtid, + [in] DWORD grfMode, + [out] IPropertyStorage **ppprstg); + + HRESULT Delete( + [in] REFFMTID rfmtid); + + HRESULT Enum( + [out] IEnumSTATPROPSETSTG **ppenum); +} + +[ + object, + uuid(00000139-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumSTATPROPSTG : IUnknown +{ + typedef [unique] IEnumSTATPROPSTG *LPENUMSTATPROPSTG; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATPROPSTG *rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATPROPSTG *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumSTATPROPSTG **ppenum); +} + +[ + object, + uuid(0000013B-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IEnumSTATPROPSETSTG : IUnknown +{ + typedef [unique] IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG; + + [local] + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATPROPSETSTG *rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] + HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] + STATPROPSETSTG *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumSTATPROPSETSTG **ppenum); +} + +typedef struct SERIALIZEDPROPERTYVALUE { + DWORD dwType; + BYTE rgb[1]; +} SERIALIZEDPROPERTYVALUE; + +cpp_quote("HRESULT WINAPI FreePropVariantArray(ULONG,PROPVARIANT*);") +cpp_quote("HRESULT WINAPI PropVariantClear(PROPVARIANT*);") +cpp_quote("HRESULT WINAPI PropVariantCopy(PROPVARIANT*,const PROPVARIANT*);") +cpp_quote("") +cpp_quote("#define _PROPVARIANT_INIT_DEFINED_") +cpp_quote("#define PropVariantInit(p) memset((p), 0, sizeof(PROPVARIANT))") +cpp_quote("") +cpp_quote("#ifndef _STGCREATEPROPSTG_DEFINED_") +cpp_quote("#define _STGCREATEPROPSTG_DEFINED_") +cpp_quote("HRESULT WINAPI StgCreatePropStg(IUnknown *, REFFMTID, const CLSID *, DWORD, DWORD, IPropertyStorage **);") +cpp_quote("HRESULT WINAPI StgOpenPropStg(IUnknown *, REFFMTID, DWORD, DWORD, IPropertyStorage **);") +cpp_quote("HRESULT WINAPI StgCreatePropSetStg(IStorage *, DWORD, IPropertySetStorage **);") +cpp_quote("#define CCH_MAX_PROPSTG_NAME 31") +cpp_quote("HRESULT WINAPI FmtIdToPropStgName(const FMTID *, LPOLESTR);") +cpp_quote("HRESULT WINAPI PropStgNameToFmtId(const LPOLESTR, FMTID *);") +cpp_quote("#endif /* _STGCREATEPROPSTG_DEFINED_ */") +cpp_quote("") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propkey.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propkey.h new file mode 100644 index 0000000..de57e02 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propkey.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2010 Maarten Lankhorst for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_PROPKEY +#define _INC_PROPKEY + +#include + +DEFINE_PROPERTYKEY(PKEY_Audio_ChannelCount, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 7); +DEFINE_PROPERTYKEY(PKEY_Audio_Compression, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 10); +DEFINE_PROPERTYKEY(PKEY_Audio_Format, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 2); +DEFINE_PROPERTYKEY(PKEY_Audio_IsVariableBitRate, 0xe6822fee, 0x8c17, 0x4d62, 0x82, 0x3c, 0x8e, 0x9c, 0xfc, 0xbd, 0x1d, 0x5c, 100); +DEFINE_PROPERTYKEY(PKEY_Audio_PeakValue, 0x2579e5d0, 0x1116, 0x4084, 0xbd, 0x9a, 0x9b, 0x4f, 0x7c, 0xb4, 0xdf, 0x5e, 100); +DEFINE_PROPERTYKEY(PKEY_Audio_SampleRate, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 5); +DEFINE_PROPERTYKEY(PKEY_Audio_SampleSize, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 6); +DEFINE_PROPERTYKEY(PKEY_Audio_StreamName, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 9); +DEFINE_PROPERTYKEY(PKEY_Audio_StreamNumber, 0x64440490, 0x4c8b, 0x11d1, 0x8b, 0x80, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03, 8); + +DEFINE_PROPERTYKEY(PKEY_Title, 0xf29f85e0,0x4ff9,0x1068,0xab,0x91,0x08,0x00,0x2b,0x27,0xb3,0xd9,2); + +DEFINE_PROPERTYKEY(PKEY_ItemName, 0x6b8da074,0x3b5c,0x43bc,0x88,0x6f,0x0a,0x2c,0xdc,0xe0,0x0b,0x6f,100); + +DEFINE_PROPERTYKEY(PKEY_AppUserModel_ExcludeFromShowInNewInstall, 0x9f4c2855,0x9f79,0x4b39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,8); +DEFINE_PROPERTYKEY(PKEY_AppUserModel_ID, 0x9f4c2855,0x9f79,0x4B39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,5); +DEFINE_PROPERTYKEY(PKEY_AppUserModel_IsDestListSeparator, 0x9f4c2855,0x9f79,0x4b39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,6); +DEFINE_PROPERTYKEY(PKEY_AppUserModel_PreventPinning, 0x9f4c2855,0x9F79,0x4b39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,9); +DEFINE_PROPERTYKEY(PKEY_AppUserModel_RelaunchCommand, 0x9f4c2855,0x9f79,0x4b39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,2); +DEFINE_PROPERTYKEY(PKEY_AppUserModel_RelaunchDisplayNameResource, 0x9f4c2855,0x9f79,0x4b39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,4); +DEFINE_PROPERTYKEY(PKEY_AppUserModel_RelaunchIconResource, 0x9f4c2855,0x9f79,0x4b39,0xa8,0xd0,0xe1,0xd4,0x2d,0xe1,0xd5,0xf3,3); + +#endif /*_INC_PROPKEY*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propkeydef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propkeydef.h new file mode 100644 index 0000000..189af7f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propkeydef.h @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef PID_FIRST_USABLE +#define PID_FIRST_USABLE 2 +#endif + +#ifndef REFPROPERTYKEY +#ifdef __cplusplus +#define REFPROPERTYKEY const PROPERTYKEY & +#else /*!__cplusplus*/ +#define REFPROPERTYKEY const PROPERTYKEY * __MIDL_CONST +#endif +#endif + +#undef DEFINE_PROPERTYKEY + +#ifdef INITGUID +#ifdef __cplusplus +#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \ + EXTERN_C const PROPERTYKEY DECLSPEC_SELECTANY name DECLSPEC_HIDDEN = \ + { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid } +#else +#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \ + const PROPERTYKEY DECLSPEC_SELECTANY name DECLSPEC_HIDDEN = \ + { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid } +#endif +#else +#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \ + EXTERN_C const PROPERTYKEY name DECLSPEC_HIDDEN +#endif + +#ifndef IsEqualPropertyKey +#ifdef __cplusplus +#define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid,(b).fmtid)) +#else +#define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid,&(b).fmtid)) +#endif +#endif + +#ifndef _PROPERTYKEY_EQUALITY_OPERATORS_ +#define _PROPERTYKEY_EQUALITY_OPERATORS_ +#ifdef __cplusplus +extern "C++" +{ + +inline bool operator==(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther) +{ + return IsEqualPropertyKey(guidOne, guidOther); +} +inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther) +{ + return !(guidOne == guidOther); +} + +} +#endif +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propsys.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propsys.h new file mode 100644 index 0000000..f4cd3ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propsys.h @@ -0,0 +1,4120 @@ +/*** Autogenerated by WIDL 2.18 from propsys.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __propsys_h__ +#define __propsys_h__ + +/* Forward declarations */ + +#ifndef __IInitializeWithFile_FWD_DEFINED__ +#define __IInitializeWithFile_FWD_DEFINED__ +typedef interface IInitializeWithFile IInitializeWithFile; +#ifdef __cplusplus +interface IInitializeWithFile; +#endif /* __cplusplus */ +#endif + +#ifndef __IInitializeWithStream_FWD_DEFINED__ +#define __IInitializeWithStream_FWD_DEFINED__ +typedef interface IInitializeWithStream IInitializeWithStream; +#ifdef __cplusplus +interface IInitializeWithStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyStore_FWD_DEFINED__ +#define __IPropertyStore_FWD_DEFINED__ +typedef interface IPropertyStore IPropertyStore; +#ifdef __cplusplus +interface IPropertyStore; +#endif /* __cplusplus */ +#endif + +#ifndef __INamedPropertyStore_FWD_DEFINED__ +#define __INamedPropertyStore_FWD_DEFINED__ +typedef interface INamedPropertyStore INamedPropertyStore; +#ifdef __cplusplus +interface INamedPropertyStore; +#endif /* __cplusplus */ +#endif + +#ifndef __IObjectWithPropertyKey_FWD_DEFINED__ +#define __IObjectWithPropertyKey_FWD_DEFINED__ +typedef interface IObjectWithPropertyKey IObjectWithPropertyKey; +#ifdef __cplusplus +interface IObjectWithPropertyKey; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyChange_FWD_DEFINED__ +#define __IPropertyChange_FWD_DEFINED__ +typedef interface IPropertyChange IPropertyChange; +#ifdef __cplusplus +interface IPropertyChange; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyChangeArray_FWD_DEFINED__ +#define __IPropertyChangeArray_FWD_DEFINED__ +typedef interface IPropertyChangeArray IPropertyChangeArray; +#ifdef __cplusplus +interface IPropertyChangeArray; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyStoreCapabilities_FWD_DEFINED__ +#define __IPropertyStoreCapabilities_FWD_DEFINED__ +typedef interface IPropertyStoreCapabilities IPropertyStoreCapabilities; +#ifdef __cplusplus +interface IPropertyStoreCapabilities; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyStoreCache_FWD_DEFINED__ +#define __IPropertyStoreCache_FWD_DEFINED__ +typedef interface IPropertyStoreCache IPropertyStoreCache; +#ifdef __cplusplus +interface IPropertyStoreCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyEnumType_FWD_DEFINED__ +#define __IPropertyEnumType_FWD_DEFINED__ +typedef interface IPropertyEnumType IPropertyEnumType; +#ifdef __cplusplus +interface IPropertyEnumType; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyEnumType2_FWD_DEFINED__ +#define __IPropertyEnumType2_FWD_DEFINED__ +typedef interface IPropertyEnumType2 IPropertyEnumType2; +#ifdef __cplusplus +interface IPropertyEnumType2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyEnumTypeList_FWD_DEFINED__ +#define __IPropertyEnumTypeList_FWD_DEFINED__ +typedef interface IPropertyEnumTypeList IPropertyEnumTypeList; +#ifdef __cplusplus +interface IPropertyEnumTypeList; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyDescription_FWD_DEFINED__ +#define __IPropertyDescription_FWD_DEFINED__ +typedef interface IPropertyDescription IPropertyDescription; +#ifdef __cplusplus +interface IPropertyDescription; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyDescription2_FWD_DEFINED__ +#define __IPropertyDescription2_FWD_DEFINED__ +typedef interface IPropertyDescription2 IPropertyDescription2; +#ifdef __cplusplus +interface IPropertyDescription2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyDescriptionAliasInfo_FWD_DEFINED__ +#define __IPropertyDescriptionAliasInfo_FWD_DEFINED__ +typedef interface IPropertyDescriptionAliasInfo IPropertyDescriptionAliasInfo; +#ifdef __cplusplus +interface IPropertyDescriptionAliasInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyDescriptionSearchInfo_FWD_DEFINED__ +#define __IPropertyDescriptionSearchInfo_FWD_DEFINED__ +typedef interface IPropertyDescriptionSearchInfo IPropertyDescriptionSearchInfo; +#ifdef __cplusplus +interface IPropertyDescriptionSearchInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyDescriptionRelatedPropertyInfo_FWD_DEFINED__ +#define __IPropertyDescriptionRelatedPropertyInfo_FWD_DEFINED__ +typedef interface IPropertyDescriptionRelatedPropertyInfo IPropertyDescriptionRelatedPropertyInfo; +#ifdef __cplusplus +interface IPropertyDescriptionRelatedPropertyInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertySystem_FWD_DEFINED__ +#define __IPropertySystem_FWD_DEFINED__ +typedef interface IPropertySystem IPropertySystem; +#ifdef __cplusplus +interface IPropertySystem; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyDescriptionList_FWD_DEFINED__ +#define __IPropertyDescriptionList_FWD_DEFINED__ +typedef interface IPropertyDescriptionList IPropertyDescriptionList; +#ifdef __cplusplus +interface IPropertyDescriptionList; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertyStoreFactory_FWD_DEFINED__ +#define __IPropertyStoreFactory_FWD_DEFINED__ +typedef interface IPropertyStoreFactory IPropertyStoreFactory; +#ifdef __cplusplus +interface IPropertyStoreFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDelayedPropertyStoreFactory_FWD_DEFINED__ +#define __IDelayedPropertyStoreFactory_FWD_DEFINED__ +typedef interface IDelayedPropertyStoreFactory IDelayedPropertyStoreFactory; +#ifdef __cplusplus +interface IDelayedPropertyStoreFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistSerializedPropStorage_FWD_DEFINED__ +#define __IPersistSerializedPropStorage_FWD_DEFINED__ +typedef interface IPersistSerializedPropStorage IPersistSerializedPropStorage; +#ifdef __cplusplus +interface IPersistSerializedPropStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistSerializedPropStorage2_FWD_DEFINED__ +#define __IPersistSerializedPropStorage2_FWD_DEFINED__ +typedef interface IPersistSerializedPropStorage2 IPersistSerializedPropStorage2; +#ifdef __cplusplus +interface IPersistSerializedPropStorage2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertySystemChangeNotify_FWD_DEFINED__ +#define __IPropertySystemChangeNotify_FWD_DEFINED__ +typedef interface IPropertySystemChangeNotify IPropertySystemChangeNotify; +#ifdef __cplusplus +interface IPropertySystemChangeNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __ICreateObject_FWD_DEFINED__ +#define __ICreateObject_FWD_DEFINED__ +typedef interface ICreateObject ICreateObject; +#ifdef __cplusplus +interface ICreateObject; +#endif /* __cplusplus */ +#endif + +#ifndef __InMemoryPropertyStore_FWD_DEFINED__ +#define __InMemoryPropertyStore_FWD_DEFINED__ +#ifdef __cplusplus +typedef class InMemoryPropertyStore InMemoryPropertyStore; +#else +typedef struct InMemoryPropertyStore InMemoryPropertyStore; +#endif /* defined __cplusplus */ +#endif /* defined __InMemoryPropertyStore_FWD_DEFINED__ */ + +#ifndef __PropertySystem_FWD_DEFINED__ +#define __PropertySystem_FWD_DEFINED__ +#ifdef __cplusplus +typedef class PropertySystem PropertySystem; +#else +typedef struct PropertySystem PropertySystem; +#endif /* defined __cplusplus */ +#endif /* defined __PropertySystem_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef PSSTDAPI +#define PSSTDAPI EXTERN_C DECLSPEC_IMPORT HRESULT STDAPICALLTYPE +#endif +#if 0 +typedef PROPERTYKEY *REFPROPERTYKEY; +#endif +#include +/***************************************************************************** + * IInitializeWithFile interface + */ +#ifndef __IInitializeWithFile_INTERFACE_DEFINED__ +#define __IInitializeWithFile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInitializeWithFile, 0xb7d14566, 0x0509, 0x4cce, 0xa7,0x1f, 0x0a,0x55,0x42,0x33,0xbd,0x9b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b7d14566-0509-4cce-a71f-0a554233bd9b") +IInitializeWithFile : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + LPCWSTR pszFilePath, + DWORD grfMode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInitializeWithFile, 0xb7d14566, 0x0509, 0x4cce, 0xa7,0x1f, 0x0a,0x55,0x42,0x33,0xbd,0x9b) +#endif +#else +typedef struct IInitializeWithFileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInitializeWithFile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInitializeWithFile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInitializeWithFile *This); + + /*** IInitializeWithFile methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IInitializeWithFile *This, + LPCWSTR pszFilePath, + DWORD grfMode); + + END_INTERFACE +} IInitializeWithFileVtbl; + +interface IInitializeWithFile { + CONST_VTBL IInitializeWithFileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInitializeWithFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInitializeWithFile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInitializeWithFile_Release(This) (This)->lpVtbl->Release(This) +/*** IInitializeWithFile methods ***/ +#define IInitializeWithFile_Initialize(This,pszFilePath,grfMode) (This)->lpVtbl->Initialize(This,pszFilePath,grfMode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInitializeWithFile_QueryInterface(IInitializeWithFile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInitializeWithFile_AddRef(IInitializeWithFile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInitializeWithFile_Release(IInitializeWithFile* This) { + return This->lpVtbl->Release(This); +} +/*** IInitializeWithFile methods ***/ +static FORCEINLINE HRESULT IInitializeWithFile_Initialize(IInitializeWithFile* This,LPCWSTR pszFilePath,DWORD grfMode) { + return This->lpVtbl->Initialize(This,pszFilePath,grfMode); +} +#endif +#endif + +#endif + + +#endif /* __IInitializeWithFile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInitializeWithStream interface + */ +#ifndef __IInitializeWithStream_INTERFACE_DEFINED__ +#define __IInitializeWithStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInitializeWithStream, 0xb824b49d, 0x22ac, 0x4161, 0xac,0x8a, 0x99,0x16,0xe8,0xfa,0x3f,0x7f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b824b49d-22ac-4161-ac8a-9916e8fa3f7f") +IInitializeWithStream : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IStream *pstream, + DWORD grfMode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInitializeWithStream, 0xb824b49d, 0x22ac, 0x4161, 0xac,0x8a, 0x99,0x16,0xe8,0xfa,0x3f,0x7f) +#endif +#else +typedef struct IInitializeWithStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInitializeWithStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInitializeWithStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInitializeWithStream *This); + + /*** IInitializeWithStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IInitializeWithStream *This, + IStream *pstream, + DWORD grfMode); + + END_INTERFACE +} IInitializeWithStreamVtbl; + +interface IInitializeWithStream { + CONST_VTBL IInitializeWithStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInitializeWithStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInitializeWithStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInitializeWithStream_Release(This) (This)->lpVtbl->Release(This) +/*** IInitializeWithStream methods ***/ +#define IInitializeWithStream_Initialize(This,pstream,grfMode) (This)->lpVtbl->Initialize(This,pstream,grfMode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInitializeWithStream_QueryInterface(IInitializeWithStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInitializeWithStream_AddRef(IInitializeWithStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInitializeWithStream_Release(IInitializeWithStream* This) { + return This->lpVtbl->Release(This); +} +/*** IInitializeWithStream methods ***/ +static FORCEINLINE HRESULT IInitializeWithStream_Initialize(IInitializeWithStream* This,IStream *pstream,DWORD grfMode) { + return This->lpVtbl->Initialize(This,pstream,grfMode); +} +#endif +#endif + +#endif + + +#endif /* __IInitializeWithStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyStore interface + */ +#ifndef __IPropertyStore_INTERFACE_DEFINED__ +#define __IPropertyStore_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyStore, 0x886d8eeb, 0x8cf2, 0x4446, 0x8d,0x02, 0xcd,0xba,0x1d,0xbd,0xcf,0x99); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("886d8eeb-8cf2-4446-8d02-cdba1dbdcf99") +IPropertyStore : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + DWORD *cProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAt( + DWORD iProp, + PROPERTYKEY *pkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + REFPROPERTYKEY key, + PROPVARIANT *pv) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValue( + REFPROPERTYKEY key, + REFPROPVARIANT propvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyStore, 0x886d8eeb, 0x8cf2, 0x4446, 0x8d,0x02, 0xcd,0xba,0x1d,0xbd,0xcf,0x99) +#endif +#else +typedef struct IPropertyStoreVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyStore *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyStore *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyStore *This); + + /*** IPropertyStore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IPropertyStore *This, + DWORD *cProps); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IPropertyStore *This, + DWORD iProp, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IPropertyStore *This, + REFPROPERTYKEY key, + PROPVARIANT *pv); + + HRESULT (STDMETHODCALLTYPE *SetValue)( + IPropertyStore *This, + REFPROPERTYKEY key, + REFPROPVARIANT propvar); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IPropertyStore *This); + + END_INTERFACE +} IPropertyStoreVtbl; + +interface IPropertyStore { + CONST_VTBL IPropertyStoreVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyStore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyStore_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyStore_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyStore methods ***/ +#define IPropertyStore_GetCount(This,cProps) (This)->lpVtbl->GetCount(This,cProps) +#define IPropertyStore_GetAt(This,iProp,pkey) (This)->lpVtbl->GetAt(This,iProp,pkey) +#define IPropertyStore_GetValue(This,key,pv) (This)->lpVtbl->GetValue(This,key,pv) +#define IPropertyStore_SetValue(This,key,propvar) (This)->lpVtbl->SetValue(This,key,propvar) +#define IPropertyStore_Commit(This) (This)->lpVtbl->Commit(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyStore_QueryInterface(IPropertyStore* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyStore_AddRef(IPropertyStore* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyStore_Release(IPropertyStore* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyStore methods ***/ +static FORCEINLINE HRESULT IPropertyStore_GetCount(IPropertyStore* This,DWORD *cProps) { + return This->lpVtbl->GetCount(This,cProps); +} +static FORCEINLINE HRESULT IPropertyStore_GetAt(IPropertyStore* This,DWORD iProp,PROPERTYKEY *pkey) { + return This->lpVtbl->GetAt(This,iProp,pkey); +} +static FORCEINLINE HRESULT IPropertyStore_GetValue(IPropertyStore* This,REFPROPERTYKEY key,PROPVARIANT *pv) { + return This->lpVtbl->GetValue(This,key,pv); +} +static FORCEINLINE HRESULT IPropertyStore_SetValue(IPropertyStore* This,REFPROPERTYKEY key,REFPROPVARIANT propvar) { + return This->lpVtbl->SetValue(This,key,propvar); +} +static FORCEINLINE HRESULT IPropertyStore_Commit(IPropertyStore* This) { + return This->lpVtbl->Commit(This); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyStore_INTERFACE_DEFINED__ */ + +typedef IPropertyStore *LPPROPERTYSTORE; +/***************************************************************************** + * INamedPropertyStore interface + */ +#ifndef __INamedPropertyStore_INTERFACE_DEFINED__ +#define __INamedPropertyStore_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INamedPropertyStore, 0x71604b0f, 0x97b0, 0x4764, 0x85,0x77, 0x2f,0x13,0xe9,0x8a,0x14,0x22); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("71604b0f-97b0-4764-8577-2f13e98a1422") +INamedPropertyStore : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNamedValue( + LPCWSTR pszName, + PROPVARIANT *ppropvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNamedValue( + LPCWSTR pszName, + REFPROPVARIANT propvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNameCount( + DWORD *pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNameAt( + DWORD iProp, + BSTR *pbstrName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INamedPropertyStore, 0x71604b0f, 0x97b0, 0x4764, 0x85,0x77, 0x2f,0x13,0xe9,0x8a,0x14,0x22) +#endif +#else +typedef struct INamedPropertyStoreVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INamedPropertyStore *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INamedPropertyStore *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INamedPropertyStore *This); + + /*** INamedPropertyStore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNamedValue)( + INamedPropertyStore *This, + LPCWSTR pszName, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *SetNamedValue)( + INamedPropertyStore *This, + LPCWSTR pszName, + REFPROPVARIANT propvar); + + HRESULT (STDMETHODCALLTYPE *GetNameCount)( + INamedPropertyStore *This, + DWORD *pdwCount); + + HRESULT (STDMETHODCALLTYPE *GetNameAt)( + INamedPropertyStore *This, + DWORD iProp, + BSTR *pbstrName); + + END_INTERFACE +} INamedPropertyStoreVtbl; + +interface INamedPropertyStore { + CONST_VTBL INamedPropertyStoreVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INamedPropertyStore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INamedPropertyStore_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INamedPropertyStore_Release(This) (This)->lpVtbl->Release(This) +/*** INamedPropertyStore methods ***/ +#define INamedPropertyStore_GetNamedValue(This,pszName,ppropvar) (This)->lpVtbl->GetNamedValue(This,pszName,ppropvar) +#define INamedPropertyStore_SetNamedValue(This,pszName,propvar) (This)->lpVtbl->SetNamedValue(This,pszName,propvar) +#define INamedPropertyStore_GetNameCount(This,pdwCount) (This)->lpVtbl->GetNameCount(This,pdwCount) +#define INamedPropertyStore_GetNameAt(This,iProp,pbstrName) (This)->lpVtbl->GetNameAt(This,iProp,pbstrName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INamedPropertyStore_QueryInterface(INamedPropertyStore* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INamedPropertyStore_AddRef(INamedPropertyStore* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INamedPropertyStore_Release(INamedPropertyStore* This) { + return This->lpVtbl->Release(This); +} +/*** INamedPropertyStore methods ***/ +static FORCEINLINE HRESULT INamedPropertyStore_GetNamedValue(INamedPropertyStore* This,LPCWSTR pszName,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetNamedValue(This,pszName,ppropvar); +} +static FORCEINLINE HRESULT INamedPropertyStore_SetNamedValue(INamedPropertyStore* This,LPCWSTR pszName,REFPROPVARIANT propvar) { + return This->lpVtbl->SetNamedValue(This,pszName,propvar); +} +static FORCEINLINE HRESULT INamedPropertyStore_GetNameCount(INamedPropertyStore* This,DWORD *pdwCount) { + return This->lpVtbl->GetNameCount(This,pdwCount); +} +static FORCEINLINE HRESULT INamedPropertyStore_GetNameAt(INamedPropertyStore* This,DWORD iProp,BSTR *pbstrName) { + return This->lpVtbl->GetNameAt(This,iProp,pbstrName); +} +#endif +#endif + +#endif + + +#endif /* __INamedPropertyStore_INTERFACE_DEFINED__ */ + +typedef enum GETPROPERTYSTOREFLAGS { + GPS_DEFAULT = 0x0, + GPS_HANDLERPROPERTIESONLY = 0x1, + GPS_READWRITE = 0x2, + GPS_TEMPORARY = 0x4, + GPS_FASTPROPERTIESONLY = 0x8, + GPS_OPENSLOWITEM = 0x10, + GPS_DELAYCREATION = 0x20, + GPS_BESTEFFORT = 0x40, + GPS_NO_OPLOCK = 0x80, + GPS_MASK_VALID = 0xff +} GETPROPERTYSTOREFLAGS; +DEFINE_ENUM_FLAG_OPERATORS(GETPROPERTYSTOREFLAGS) +/***************************************************************************** + * IObjectWithPropertyKey interface + */ +#ifndef __IObjectWithPropertyKey_INTERFACE_DEFINED__ +#define __IObjectWithPropertyKey_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IObjectWithPropertyKey, 0xfc0ca0a7, 0xc316, 0x4fd2, 0x90,0x31, 0x3e,0x62,0x8e,0x6d,0x4f,0x23); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fc0ca0a7-c316-4fd2-9031-3e628e6d4f23") +IObjectWithPropertyKey : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetPropertyKey( + REFPROPERTYKEY key) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyKey( + PROPERTYKEY *key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IObjectWithPropertyKey, 0xfc0ca0a7, 0xc316, 0x4fd2, 0x90,0x31, 0x3e,0x62,0x8e,0x6d,0x4f,0x23) +#endif +#else +typedef struct IObjectWithPropertyKeyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IObjectWithPropertyKey *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IObjectWithPropertyKey *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IObjectWithPropertyKey *This); + + /*** IObjectWithPropertyKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPropertyKey)( + IObjectWithPropertyKey *This, + REFPROPERTYKEY key); + + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IObjectWithPropertyKey *This, + PROPERTYKEY *key); + + END_INTERFACE +} IObjectWithPropertyKeyVtbl; + +interface IObjectWithPropertyKey { + CONST_VTBL IObjectWithPropertyKeyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IObjectWithPropertyKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IObjectWithPropertyKey_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IObjectWithPropertyKey_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectWithPropertyKey methods ***/ +#define IObjectWithPropertyKey_SetPropertyKey(This,key) (This)->lpVtbl->SetPropertyKey(This,key) +#define IObjectWithPropertyKey_GetPropertyKey(This,key) (This)->lpVtbl->GetPropertyKey(This,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IObjectWithPropertyKey_QueryInterface(IObjectWithPropertyKey* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IObjectWithPropertyKey_AddRef(IObjectWithPropertyKey* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IObjectWithPropertyKey_Release(IObjectWithPropertyKey* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectWithPropertyKey methods ***/ +static FORCEINLINE HRESULT IObjectWithPropertyKey_SetPropertyKey(IObjectWithPropertyKey* This,REFPROPERTYKEY key) { + return This->lpVtbl->SetPropertyKey(This,key); +} +static FORCEINLINE HRESULT IObjectWithPropertyKey_GetPropertyKey(IObjectWithPropertyKey* This,PROPERTYKEY *key) { + return This->lpVtbl->GetPropertyKey(This,key); +} +#endif +#endif + +#endif + + +#endif /* __IObjectWithPropertyKey_INTERFACE_DEFINED__ */ + +typedef enum PKA_FLAGS { + PKA_SET = 0, + PKA_APPEND = 1, + PKA_DELETE = 2 +} PKA_FLAGS; +/***************************************************************************** + * IPropertyChange interface + */ +#ifndef __IPropertyChange_INTERFACE_DEFINED__ +#define __IPropertyChange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyChange, 0xf917bc8a, 0x1bba, 0x4478, 0xa2,0x45, 0x1b,0xde,0x03,0xeb,0x94,0x31); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f917bc8a-1bba-4478-a245-1bde03eb9431") +IPropertyChange : public IObjectWithPropertyKey +{ + virtual HRESULT STDMETHODCALLTYPE ApplyToPropVariant( + REFPROPVARIANT propvarin, + PROPVARIANT *propvarout) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyChange, 0xf917bc8a, 0x1bba, 0x4478, 0xa2,0x45, 0x1b,0xde,0x03,0xeb,0x94,0x31) +#endif +#else +typedef struct IPropertyChangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyChange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyChange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyChange *This); + + /*** IObjectWithPropertyKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPropertyKey)( + IPropertyChange *This, + REFPROPERTYKEY key); + + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IPropertyChange *This, + PROPERTYKEY *key); + + /*** IPropertyChange methods ***/ + HRESULT (STDMETHODCALLTYPE *ApplyToPropVariant)( + IPropertyChange *This, + REFPROPVARIANT propvarin, + PROPVARIANT *propvarout); + + END_INTERFACE +} IPropertyChangeVtbl; + +interface IPropertyChange { + CONST_VTBL IPropertyChangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyChange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyChange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyChange_Release(This) (This)->lpVtbl->Release(This) +/*** IObjectWithPropertyKey methods ***/ +#define IPropertyChange_SetPropertyKey(This,key) (This)->lpVtbl->SetPropertyKey(This,key) +#define IPropertyChange_GetPropertyKey(This,key) (This)->lpVtbl->GetPropertyKey(This,key) +/*** IPropertyChange methods ***/ +#define IPropertyChange_ApplyToPropVariant(This,propvarin,propvarout) (This)->lpVtbl->ApplyToPropVariant(This,propvarin,propvarout) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyChange_QueryInterface(IPropertyChange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyChange_AddRef(IPropertyChange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyChange_Release(IPropertyChange* This) { + return This->lpVtbl->Release(This); +} +/*** IObjectWithPropertyKey methods ***/ +static FORCEINLINE HRESULT IPropertyChange_SetPropertyKey(IPropertyChange* This,REFPROPERTYKEY key) { + return This->lpVtbl->SetPropertyKey(This,key); +} +static FORCEINLINE HRESULT IPropertyChange_GetPropertyKey(IPropertyChange* This,PROPERTYKEY *key) { + return This->lpVtbl->GetPropertyKey(This,key); +} +/*** IPropertyChange methods ***/ +static FORCEINLINE HRESULT IPropertyChange_ApplyToPropVariant(IPropertyChange* This,REFPROPVARIANT propvarin,PROPVARIANT *propvarout) { + return This->lpVtbl->ApplyToPropVariant(This,propvarin,propvarout); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyChange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyChangeArray interface + */ +#ifndef __IPropertyChangeArray_INTERFACE_DEFINED__ +#define __IPropertyChangeArray_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyChangeArray, 0x380f5cad, 0x1b5e, 0x42f2, 0x80,0x5d, 0x63,0x7f,0xd3,0x92,0xd3,0x1e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("380f5cad-1b5e-42f2-805d-637fd392d31e") +IPropertyChangeArray : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pcOperations) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAt( + UINT iIndex, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertAt( + UINT iIndex, + IPropertyChange *ppropChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE Append( + IPropertyChange *ppropChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendOrReplace( + IPropertyChange *ppropChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAt( + UINT iIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsKeyInArray( + REFPROPERTYKEY key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyChangeArray, 0x380f5cad, 0x1b5e, 0x42f2, 0x80,0x5d, 0x63,0x7f,0xd3,0x92,0xd3,0x1e) +#endif +#else +typedef struct IPropertyChangeArrayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyChangeArray *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyChangeArray *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyChangeArray *This); + + /*** IPropertyChangeArray methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IPropertyChangeArray *This, + UINT *pcOperations); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IPropertyChangeArray *This, + UINT iIndex, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *InsertAt)( + IPropertyChangeArray *This, + UINT iIndex, + IPropertyChange *ppropChange); + + HRESULT (STDMETHODCALLTYPE *Append)( + IPropertyChangeArray *This, + IPropertyChange *ppropChange); + + HRESULT (STDMETHODCALLTYPE *AppendOrReplace)( + IPropertyChangeArray *This, + IPropertyChange *ppropChange); + + HRESULT (STDMETHODCALLTYPE *RemoveAt)( + IPropertyChangeArray *This, + UINT iIndex); + + HRESULT (STDMETHODCALLTYPE *IsKeyInArray)( + IPropertyChangeArray *This, + REFPROPERTYKEY key); + + END_INTERFACE +} IPropertyChangeArrayVtbl; + +interface IPropertyChangeArray { + CONST_VTBL IPropertyChangeArrayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyChangeArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyChangeArray_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyChangeArray_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyChangeArray methods ***/ +#define IPropertyChangeArray_GetCount(This,pcOperations) (This)->lpVtbl->GetCount(This,pcOperations) +#define IPropertyChangeArray_GetAt(This,iIndex,riid,ppv) (This)->lpVtbl->GetAt(This,iIndex,riid,ppv) +#define IPropertyChangeArray_InsertAt(This,iIndex,ppropChange) (This)->lpVtbl->InsertAt(This,iIndex,ppropChange) +#define IPropertyChangeArray_Append(This,ppropChange) (This)->lpVtbl->Append(This,ppropChange) +#define IPropertyChangeArray_AppendOrReplace(This,ppropChange) (This)->lpVtbl->AppendOrReplace(This,ppropChange) +#define IPropertyChangeArray_RemoveAt(This,iIndex) (This)->lpVtbl->RemoveAt(This,iIndex) +#define IPropertyChangeArray_IsKeyInArray(This,key) (This)->lpVtbl->IsKeyInArray(This,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyChangeArray_QueryInterface(IPropertyChangeArray* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyChangeArray_AddRef(IPropertyChangeArray* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyChangeArray_Release(IPropertyChangeArray* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyChangeArray methods ***/ +static FORCEINLINE HRESULT IPropertyChangeArray_GetCount(IPropertyChangeArray* This,UINT *pcOperations) { + return This->lpVtbl->GetCount(This,pcOperations); +} +static FORCEINLINE HRESULT IPropertyChangeArray_GetAt(IPropertyChangeArray* This,UINT iIndex,REFIID riid,void **ppv) { + return This->lpVtbl->GetAt(This,iIndex,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyChangeArray_InsertAt(IPropertyChangeArray* This,UINT iIndex,IPropertyChange *ppropChange) { + return This->lpVtbl->InsertAt(This,iIndex,ppropChange); +} +static FORCEINLINE HRESULT IPropertyChangeArray_Append(IPropertyChangeArray* This,IPropertyChange *ppropChange) { + return This->lpVtbl->Append(This,ppropChange); +} +static FORCEINLINE HRESULT IPropertyChangeArray_AppendOrReplace(IPropertyChangeArray* This,IPropertyChange *ppropChange) { + return This->lpVtbl->AppendOrReplace(This,ppropChange); +} +static FORCEINLINE HRESULT IPropertyChangeArray_RemoveAt(IPropertyChangeArray* This,UINT iIndex) { + return This->lpVtbl->RemoveAt(This,iIndex); +} +static FORCEINLINE HRESULT IPropertyChangeArray_IsKeyInArray(IPropertyChangeArray* This,REFPROPERTYKEY key) { + return This->lpVtbl->IsKeyInArray(This,key); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyChangeArray_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyStoreCapabilities interface + */ +#ifndef __IPropertyStoreCapabilities_INTERFACE_DEFINED__ +#define __IPropertyStoreCapabilities_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyStoreCapabilities, 0xc8e2d566, 0x186e, 0x4d49, 0xbf,0x41, 0x69,0x09,0xea,0xd5,0x6a,0xcc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c8e2d566-186e-4d49-bf41-6909ead56acc") +IPropertyStoreCapabilities : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsPropertyWritable( + REFPROPERTYKEY key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyStoreCapabilities, 0xc8e2d566, 0x186e, 0x4d49, 0xbf,0x41, 0x69,0x09,0xea,0xd5,0x6a,0xcc) +#endif +#else +typedef struct IPropertyStoreCapabilitiesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyStoreCapabilities *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyStoreCapabilities *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyStoreCapabilities *This); + + /*** IPropertyStoreCapabilities methods ***/ + HRESULT (STDMETHODCALLTYPE *IsPropertyWritable)( + IPropertyStoreCapabilities *This, + REFPROPERTYKEY key); + + END_INTERFACE +} IPropertyStoreCapabilitiesVtbl; + +interface IPropertyStoreCapabilities { + CONST_VTBL IPropertyStoreCapabilitiesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyStoreCapabilities_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyStoreCapabilities_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyStoreCapabilities_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyStoreCapabilities methods ***/ +#define IPropertyStoreCapabilities_IsPropertyWritable(This,key) (This)->lpVtbl->IsPropertyWritable(This,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyStoreCapabilities_QueryInterface(IPropertyStoreCapabilities* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyStoreCapabilities_AddRef(IPropertyStoreCapabilities* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyStoreCapabilities_Release(IPropertyStoreCapabilities* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyStoreCapabilities methods ***/ +static FORCEINLINE HRESULT IPropertyStoreCapabilities_IsPropertyWritable(IPropertyStoreCapabilities* This,REFPROPERTYKEY key) { + return This->lpVtbl->IsPropertyWritable(This,key); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyStoreCapabilities_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyStoreCache interface + */ +#ifndef __IPropertyStoreCache_INTERFACE_DEFINED__ +#define __IPropertyStoreCache_INTERFACE_DEFINED__ + +typedef enum PSC_STATE { + PSC_NORMAL = 0, + PSC_NOTINSOURCE = 1, + PSC_DIRTY = 2, + PSC_READONLY = 3 +} PSC_STATE; +DEFINE_GUID(IID_IPropertyStoreCache, 0x3017056d, 0x9a91, 0x4e90, 0x93,0x7d, 0x74,0x6c,0x72,0xab,0xbf,0x4f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3017056d-9a91-4e90-937d-746c72abbf4f") +IPropertyStoreCache : public IPropertyStore +{ + virtual HRESULT STDMETHODCALLTYPE GetState( + REFPROPERTYKEY key, + PSC_STATE *pstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValueAndState( + REFPROPERTYKEY key, + PROPVARIANT *ppropvar, + PSC_STATE *pstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetState( + REFPROPERTYKEY key, + PSC_STATE pstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValueAndState( + REFPROPERTYKEY key, + const PROPVARIANT *ppropvar, + PSC_STATE state) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyStoreCache, 0x3017056d, 0x9a91, 0x4e90, 0x93,0x7d, 0x74,0x6c,0x72,0xab,0xbf,0x4f) +#endif +#else +typedef struct IPropertyStoreCacheVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyStoreCache *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyStoreCache *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyStoreCache *This); + + /*** IPropertyStore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IPropertyStoreCache *This, + DWORD *cProps); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IPropertyStoreCache *This, + DWORD iProp, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IPropertyStoreCache *This, + REFPROPERTYKEY key, + PROPVARIANT *pv); + + HRESULT (STDMETHODCALLTYPE *SetValue)( + IPropertyStoreCache *This, + REFPROPERTYKEY key, + REFPROPVARIANT propvar); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IPropertyStoreCache *This); + + /*** IPropertyStoreCache methods ***/ + HRESULT (STDMETHODCALLTYPE *GetState)( + IPropertyStoreCache *This, + REFPROPERTYKEY key, + PSC_STATE *pstate); + + HRESULT (STDMETHODCALLTYPE *GetValueAndState)( + IPropertyStoreCache *This, + REFPROPERTYKEY key, + PROPVARIANT *ppropvar, + PSC_STATE *pstate); + + HRESULT (STDMETHODCALLTYPE *SetState)( + IPropertyStoreCache *This, + REFPROPERTYKEY key, + PSC_STATE pstate); + + HRESULT (STDMETHODCALLTYPE *SetValueAndState)( + IPropertyStoreCache *This, + REFPROPERTYKEY key, + const PROPVARIANT *ppropvar, + PSC_STATE state); + + END_INTERFACE +} IPropertyStoreCacheVtbl; + +interface IPropertyStoreCache { + CONST_VTBL IPropertyStoreCacheVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyStoreCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyStoreCache_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyStoreCache_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyStore methods ***/ +#define IPropertyStoreCache_GetCount(This,cProps) (This)->lpVtbl->GetCount(This,cProps) +#define IPropertyStoreCache_GetAt(This,iProp,pkey) (This)->lpVtbl->GetAt(This,iProp,pkey) +#define IPropertyStoreCache_GetValue(This,key,pv) (This)->lpVtbl->GetValue(This,key,pv) +#define IPropertyStoreCache_SetValue(This,key,propvar) (This)->lpVtbl->SetValue(This,key,propvar) +#define IPropertyStoreCache_Commit(This) (This)->lpVtbl->Commit(This) +/*** IPropertyStoreCache methods ***/ +#define IPropertyStoreCache_GetState(This,key,pstate) (This)->lpVtbl->GetState(This,key,pstate) +#define IPropertyStoreCache_GetValueAndState(This,key,ppropvar,pstate) (This)->lpVtbl->GetValueAndState(This,key,ppropvar,pstate) +#define IPropertyStoreCache_SetState(This,key,pstate) (This)->lpVtbl->SetState(This,key,pstate) +#define IPropertyStoreCache_SetValueAndState(This,key,ppropvar,state) (This)->lpVtbl->SetValueAndState(This,key,ppropvar,state) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyStoreCache_QueryInterface(IPropertyStoreCache* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyStoreCache_AddRef(IPropertyStoreCache* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyStoreCache_Release(IPropertyStoreCache* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyStore methods ***/ +static FORCEINLINE HRESULT IPropertyStoreCache_GetCount(IPropertyStoreCache* This,DWORD *cProps) { + return This->lpVtbl->GetCount(This,cProps); +} +static FORCEINLINE HRESULT IPropertyStoreCache_GetAt(IPropertyStoreCache* This,DWORD iProp,PROPERTYKEY *pkey) { + return This->lpVtbl->GetAt(This,iProp,pkey); +} +static FORCEINLINE HRESULT IPropertyStoreCache_GetValue(IPropertyStoreCache* This,REFPROPERTYKEY key,PROPVARIANT *pv) { + return This->lpVtbl->GetValue(This,key,pv); +} +static FORCEINLINE HRESULT IPropertyStoreCache_SetValue(IPropertyStoreCache* This,REFPROPERTYKEY key,REFPROPVARIANT propvar) { + return This->lpVtbl->SetValue(This,key,propvar); +} +static FORCEINLINE HRESULT IPropertyStoreCache_Commit(IPropertyStoreCache* This) { + return This->lpVtbl->Commit(This); +} +/*** IPropertyStoreCache methods ***/ +static FORCEINLINE HRESULT IPropertyStoreCache_GetState(IPropertyStoreCache* This,REFPROPERTYKEY key,PSC_STATE *pstate) { + return This->lpVtbl->GetState(This,key,pstate); +} +static FORCEINLINE HRESULT IPropertyStoreCache_GetValueAndState(IPropertyStoreCache* This,REFPROPERTYKEY key,PROPVARIANT *ppropvar,PSC_STATE *pstate) { + return This->lpVtbl->GetValueAndState(This,key,ppropvar,pstate); +} +static FORCEINLINE HRESULT IPropertyStoreCache_SetState(IPropertyStoreCache* This,REFPROPERTYKEY key,PSC_STATE pstate) { + return This->lpVtbl->SetState(This,key,pstate); +} +static FORCEINLINE HRESULT IPropertyStoreCache_SetValueAndState(IPropertyStoreCache* This,REFPROPERTYKEY key,const PROPVARIANT *ppropvar,PSC_STATE state) { + return This->lpVtbl->SetValueAndState(This,key,ppropvar,state); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyStoreCache_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyEnumType interface + */ +#ifndef __IPropertyEnumType_INTERFACE_DEFINED__ +#define __IPropertyEnumType_INTERFACE_DEFINED__ + +typedef enum PROPENUMTYPE { + PET_DISCRETEVALUE = 0, + PET_RANGEDVALUE = 1, + PET_DEFAULTVALUE = 2, + PET_ENDRANGE = 3 +} PROPENUMTYPE; +DEFINE_GUID(IID_IPropertyEnumType, 0x11e1fbf9, 0x2d56, 0x4a6b, 0x8d,0xb3, 0x7c,0xd1,0x93,0xa4,0x71,0xf2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("11e1fbf9-2d56-4a6b-8db3-7cd193a471f2") +IPropertyEnumType : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetEnumType( + PROPENUMTYPE *penumtype) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + PROPVARIANT *ppropvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRangeMinValue( + PROPVARIANT *ppropvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRangeSetValue( + PROPVARIANT *ppropvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayText( + LPWSTR *ppszDisplay) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyEnumType, 0x11e1fbf9, 0x2d56, 0x4a6b, 0x8d,0xb3, 0x7c,0xd1,0x93,0xa4,0x71,0xf2) +#endif +#else +typedef struct IPropertyEnumTypeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyEnumType *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyEnumType *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyEnumType *This); + + /*** IPropertyEnumType methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEnumType)( + IPropertyEnumType *This, + PROPENUMTYPE *penumtype); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IPropertyEnumType *This, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetRangeMinValue)( + IPropertyEnumType *This, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetRangeSetValue)( + IPropertyEnumType *This, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetDisplayText)( + IPropertyEnumType *This, + LPWSTR *ppszDisplay); + + END_INTERFACE +} IPropertyEnumTypeVtbl; + +interface IPropertyEnumType { + CONST_VTBL IPropertyEnumTypeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyEnumType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyEnumType_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyEnumType_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyEnumType methods ***/ +#define IPropertyEnumType_GetEnumType(This,penumtype) (This)->lpVtbl->GetEnumType(This,penumtype) +#define IPropertyEnumType_GetValue(This,ppropvar) (This)->lpVtbl->GetValue(This,ppropvar) +#define IPropertyEnumType_GetRangeMinValue(This,ppropvar) (This)->lpVtbl->GetRangeMinValue(This,ppropvar) +#define IPropertyEnumType_GetRangeSetValue(This,ppropvar) (This)->lpVtbl->GetRangeSetValue(This,ppropvar) +#define IPropertyEnumType_GetDisplayText(This,ppszDisplay) (This)->lpVtbl->GetDisplayText(This,ppszDisplay) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyEnumType_QueryInterface(IPropertyEnumType* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyEnumType_AddRef(IPropertyEnumType* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyEnumType_Release(IPropertyEnumType* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyEnumType methods ***/ +static FORCEINLINE HRESULT IPropertyEnumType_GetEnumType(IPropertyEnumType* This,PROPENUMTYPE *penumtype) { + return This->lpVtbl->GetEnumType(This,penumtype); +} +static FORCEINLINE HRESULT IPropertyEnumType_GetValue(IPropertyEnumType* This,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetValue(This,ppropvar); +} +static FORCEINLINE HRESULT IPropertyEnumType_GetRangeMinValue(IPropertyEnumType* This,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetRangeMinValue(This,ppropvar); +} +static FORCEINLINE HRESULT IPropertyEnumType_GetRangeSetValue(IPropertyEnumType* This,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetRangeSetValue(This,ppropvar); +} +static FORCEINLINE HRESULT IPropertyEnumType_GetDisplayText(IPropertyEnumType* This,LPWSTR *ppszDisplay) { + return This->lpVtbl->GetDisplayText(This,ppszDisplay); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyEnumType_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyEnumType2 interface + */ +#ifndef __IPropertyEnumType2_INTERFACE_DEFINED__ +#define __IPropertyEnumType2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyEnumType2, 0x9b6e051c, 0x5ddd, 0x4321, 0x90,0x70, 0xfe,0x2a,0xcb,0x55,0xe9,0x74); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b6e051c-5ddd-4321-9070-fe2acb55e974") +IPropertyEnumType2 : public IPropertyEnumType +{ + virtual HRESULT STDMETHODCALLTYPE GetImageReference( + LPWSTR *ppszImageRes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyEnumType2, 0x9b6e051c, 0x5ddd, 0x4321, 0x90,0x70, 0xfe,0x2a,0xcb,0x55,0xe9,0x74) +#endif +#else +typedef struct IPropertyEnumType2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyEnumType2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyEnumType2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyEnumType2 *This); + + /*** IPropertyEnumType methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEnumType)( + IPropertyEnumType2 *This, + PROPENUMTYPE *penumtype); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IPropertyEnumType2 *This, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetRangeMinValue)( + IPropertyEnumType2 *This, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetRangeSetValue)( + IPropertyEnumType2 *This, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetDisplayText)( + IPropertyEnumType2 *This, + LPWSTR *ppszDisplay); + + /*** IPropertyEnumType2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetImageReference)( + IPropertyEnumType2 *This, + LPWSTR *ppszImageRes); + + END_INTERFACE +} IPropertyEnumType2Vtbl; + +interface IPropertyEnumType2 { + CONST_VTBL IPropertyEnumType2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyEnumType2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyEnumType2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyEnumType2_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyEnumType methods ***/ +#define IPropertyEnumType2_GetEnumType(This,penumtype) (This)->lpVtbl->GetEnumType(This,penumtype) +#define IPropertyEnumType2_GetValue(This,ppropvar) (This)->lpVtbl->GetValue(This,ppropvar) +#define IPropertyEnumType2_GetRangeMinValue(This,ppropvar) (This)->lpVtbl->GetRangeMinValue(This,ppropvar) +#define IPropertyEnumType2_GetRangeSetValue(This,ppropvar) (This)->lpVtbl->GetRangeSetValue(This,ppropvar) +#define IPropertyEnumType2_GetDisplayText(This,ppszDisplay) (This)->lpVtbl->GetDisplayText(This,ppszDisplay) +/*** IPropertyEnumType2 methods ***/ +#define IPropertyEnumType2_GetImageReference(This,ppszImageRes) (This)->lpVtbl->GetImageReference(This,ppszImageRes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyEnumType2_QueryInterface(IPropertyEnumType2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyEnumType2_AddRef(IPropertyEnumType2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyEnumType2_Release(IPropertyEnumType2* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyEnumType methods ***/ +static FORCEINLINE HRESULT IPropertyEnumType2_GetEnumType(IPropertyEnumType2* This,PROPENUMTYPE *penumtype) { + return This->lpVtbl->GetEnumType(This,penumtype); +} +static FORCEINLINE HRESULT IPropertyEnumType2_GetValue(IPropertyEnumType2* This,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetValue(This,ppropvar); +} +static FORCEINLINE HRESULT IPropertyEnumType2_GetRangeMinValue(IPropertyEnumType2* This,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetRangeMinValue(This,ppropvar); +} +static FORCEINLINE HRESULT IPropertyEnumType2_GetRangeSetValue(IPropertyEnumType2* This,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetRangeSetValue(This,ppropvar); +} +static FORCEINLINE HRESULT IPropertyEnumType2_GetDisplayText(IPropertyEnumType2* This,LPWSTR *ppszDisplay) { + return This->lpVtbl->GetDisplayText(This,ppszDisplay); +} +/*** IPropertyEnumType2 methods ***/ +static FORCEINLINE HRESULT IPropertyEnumType2_GetImageReference(IPropertyEnumType2* This,LPWSTR *ppszImageRes) { + return This->lpVtbl->GetImageReference(This,ppszImageRes); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyEnumType2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyEnumTypeList interface + */ +#ifndef __IPropertyEnumTypeList_INTERFACE_DEFINED__ +#define __IPropertyEnumTypeList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyEnumTypeList, 0xa99400f4, 0x3d84, 0x4557, 0x94,0xba, 0x12,0x42,0xfb,0x2c,0xc9,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a99400f4-3d84-4557-94ba-1242fb2cc9a6") +IPropertyEnumTypeList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pctypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAt( + UINT itype, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConditionAt( + UINT nIndex, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindMatchingIndex( + REFPROPVARIANT propvarCmp, + UINT *pnIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyEnumTypeList, 0xa99400f4, 0x3d84, 0x4557, 0x94,0xba, 0x12,0x42,0xfb,0x2c,0xc9,0xa6) +#endif +#else +typedef struct IPropertyEnumTypeListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyEnumTypeList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyEnumTypeList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyEnumTypeList *This); + + /*** IPropertyEnumTypeList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IPropertyEnumTypeList *This, + UINT *pctypes); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IPropertyEnumTypeList *This, + UINT itype, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetConditionAt)( + IPropertyEnumTypeList *This, + UINT nIndex, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *FindMatchingIndex)( + IPropertyEnumTypeList *This, + REFPROPVARIANT propvarCmp, + UINT *pnIndex); + + END_INTERFACE +} IPropertyEnumTypeListVtbl; + +interface IPropertyEnumTypeList { + CONST_VTBL IPropertyEnumTypeListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyEnumTypeList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyEnumTypeList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyEnumTypeList_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyEnumTypeList methods ***/ +#define IPropertyEnumTypeList_GetCount(This,pctypes) (This)->lpVtbl->GetCount(This,pctypes) +#define IPropertyEnumTypeList_GetAt(This,itype,riid,ppv) (This)->lpVtbl->GetAt(This,itype,riid,ppv) +#define IPropertyEnumTypeList_GetConditionAt(This,nIndex,riid,ppv) (This)->lpVtbl->GetConditionAt(This,nIndex,riid,ppv) +#define IPropertyEnumTypeList_FindMatchingIndex(This,propvarCmp,pnIndex) (This)->lpVtbl->FindMatchingIndex(This,propvarCmp,pnIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyEnumTypeList_QueryInterface(IPropertyEnumTypeList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyEnumTypeList_AddRef(IPropertyEnumTypeList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyEnumTypeList_Release(IPropertyEnumTypeList* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyEnumTypeList methods ***/ +static FORCEINLINE HRESULT IPropertyEnumTypeList_GetCount(IPropertyEnumTypeList* This,UINT *pctypes) { + return This->lpVtbl->GetCount(This,pctypes); +} +static FORCEINLINE HRESULT IPropertyEnumTypeList_GetAt(IPropertyEnumTypeList* This,UINT itype,REFIID riid,void **ppv) { + return This->lpVtbl->GetAt(This,itype,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyEnumTypeList_GetConditionAt(IPropertyEnumTypeList* This,UINT nIndex,REFIID riid,void **ppv) { + return This->lpVtbl->GetConditionAt(This,nIndex,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyEnumTypeList_FindMatchingIndex(IPropertyEnumTypeList* This,REFPROPVARIANT propvarCmp,UINT *pnIndex) { + return This->lpVtbl->FindMatchingIndex(This,propvarCmp,pnIndex); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyEnumTypeList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyDescription interface + */ +#ifndef __IPropertyDescription_INTERFACE_DEFINED__ +#define __IPropertyDescription_INTERFACE_DEFINED__ + +typedef enum PROPDESC_TYPE_FLAGS { + PDTF_DEFAULT = 0, + PDTF_MULTIPLEVALUES = 0x1, + PDTF_ISINNATE = 0x2, + PDTF_ISGROUP = 0x4, + PDTF_CANGROUPBY = 0x8, + PDTF_CANSTACKBY = 0x10, + PDTF_ISTREEPROPERTY = 0x20, + PDTF_INCLUDEINFULLTEXTQUERY = 0x40, + PDTF_ISVIEWABLE = 0x80, + PDTF_ISQUERYABLE = 0x100, + PDTF_CANBEPURGED = 0x200, + PDTF_SEARCHRAWVALUE = 0x400, + PDTF_ISSYSTEMPROPERTY = 0x80000000, + PDTF_MASK_ALL = 0x800007ff +} PROPDESC_TYPE_FLAGS; +DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_TYPE_FLAGS) +typedef enum PROPDESC_VIEW_FLAGS { + PDVF_DEFAULT = 0x0, + PDVF_CENTERALIGN = 0x1, + PDVF_RIGHTALIGN = 0x2, + PDVF_BEGINNEWGROUP = 0x4, + PDVF_FILLAREA = 0x8, + PDVF_SORTDESCENDING = 0x10, + PDVF_SHOWONLYIFPRESENT = 0x20, + PDVF_SHOWBYDEFAULT = 0x40, + PDVF_SHOWINPRIMARYLIST = 0x80, + PDVF_SHOWINSECONDARYLIST = 0x100, + PDVF_HIDELABEL = 0x200, + PDVF_HIDDEN = 0x800, + PDVF_CANWRAP = 0x1000, + PDVF_MASK_ALL = 0x1bff +} PROPDESC_VIEW_FLAGS; +DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_VIEW_FLAGS) +typedef enum PROPDESC_DISPLAYTYPE { + PDDT_STRING = 0, + PDDT_NUMBER = 1, + PDDT_BOOLEAN = 2, + PDDT_DATETIME = 3, + PDDT_ENUMERATED = 4 +} PROPDESC_DISPLAYTYPE; +typedef enum PROPDESC_GROUPING_RANGE { + PDGR_DISCRETE = 0, + PDGR_ALPHANUMERIC = 1, + PDGR_SIZE = 2, + PDGR_DYNAMIC = 3, + PDGR_DATE = 4, + PDGR_PERCENT = 5, + PDGR_ENUMERATED = 6 +} PROPDESC_GROUPING_RANGE; +typedef enum PROPDESC_FORMAT_FLAGS { + PDFF_DEFAULT = 0x0, + PDFF_PREFIXNAME = 0x1, + PDFF_FILENAME = 0x2, + PDFF_ALWAYSKB = 0x4, + PDFF_RESERVED_RIGHTTOLEFT = 0x8, + PDFF_SHORTTIME = 0x10, + PDFF_LONGTIME = 0x20, + PDFF_HIDETIME = 0x40, + PDFF_SHORTDATE = 0x80, + PDFF_LONGDATE = 0x100, + PDFF_HIDEDATE = 0x200, + PDFF_RELATIVEDATE = 0x400, + PDFF_USEEDITINVITATION = 0x800, + PDFF_READONLY = 0x1000, + PDFF_NOAUTOREADINGORDER = 0x2000 +} PROPDESC_FORMAT_FLAGS; +DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_FORMAT_FLAGS) +typedef enum PROPDESC_SORTDESCRIPTION { + PDSD_GENERAL = 0, + PDSD_A_Z = 1, + PDSD_LOWEST_HIGHEST = 2, + PDSD_SMALLEST_BIGGEST = 3, + PDSD_OLDEST_NEWEST = 4 +} PROPDESC_SORTDESCRIPTION; +typedef enum PROPDESC_RELATIVEDESCRIPTION_TYPE { + PDRDT_GENERAL = 0, + PDRDT_DATE = 1, + PDRDT_SIZE = 2, + PDRDT_COUNT = 3, + PDRDT_REVISION = 4, + PDRDT_LENGTH = 5, + PDRDT_DURATION = 6, + PDRDT_SPEED = 7, + PDRDT_RATE = 8, + PDRDT_RATING = 9, + PDRDT_PRIORITY = 10 +} PROPDESC_RELATIVEDESCRIPTION_TYPE; +typedef enum PROPDESC_AGGREGATION_TYPE { + PDAT_DEFAULT = 0, + PDAT_FIRST = 1, + PDAT_SUM = 2, + PDAT_AVERAGE = 3, + PDAT_DATERANGE = 4, + PDAT_UNION = 5, + PDAT_MAX = 6, + PDAT_MIN = 7 +} PROPDESC_AGGREGATION_TYPE; +typedef enum PROPDESC_CONDITION_TYPE { + PDCOT_NONE = 0, + PDCOT_STRING = 1, + PDCOT_SIZE = 2, + PDCOT_DATETIME = 3, + PDCOT_BOOLEAN = 4, + PDCOT_NUMBER = 5 +} PROPDESC_CONDITION_TYPE; +DEFINE_GUID(IID_IPropertyDescription, 0x6f79d558, 0x3e96, 0x4549, 0xa1,0xd1, 0x7d,0x75,0xd2,0x28,0x88,0x14); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6f79d558-3e96-4549-a1d1-7d75d2288814") +IPropertyDescription : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPropertyKey( + PROPERTYKEY *pkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCanonicalName( + LPWSTR *ppszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyType( + VARTYPE *pvartype) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPWSTR *ppszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEditInvitation( + LPWSTR *ppszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeFlags( + PROPDESC_TYPE_FLAGS mask, + PROPDESC_TYPE_FLAGS *ppdtFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewFlags( + PROPDESC_VIEW_FLAGS *ppdvFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultColumnWidth( + UINT *pcxChars) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayType( + PROPDESC_DISPLAYTYPE *pdisplaytype) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColumnState( + SHCOLSTATEF *pcsFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupingRange( + PROPDESC_GROUPING_RANGE *psd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRelativeDescriptionType( + PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRelativeDescription( + REFPROPVARIANT propvar1, + REFPROPVARIANT propvar2, + LPWSTR *ppszDesc1, + LPWSTR *ppszDesc2) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSortDescription( + PROPDESC_SORTDESCRIPTION *psd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSortDescriptionLabel( + BOOL fDescending, + LPWSTR *ppszDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAggregationType( + PROPDESC_AGGREGATION_TYPE *paggtype) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConditionType( + PROPDESC_CONDITION_TYPE *pcontype, + CONDITION_OPERATION *popDefault) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnumTypeList( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE CoerceToCanonicalValue( + PROPVARIANT *propvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE FormatForDisplay( + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS flags, + LPWSTR *ppszDisplay) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsValueCanonical( + REFPROPVARIANT propvar) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyDescription, 0x6f79d558, 0x3e96, 0x4549, 0xa1,0xd1, 0x7d,0x75,0xd2,0x28,0x88,0x14) +#endif +#else +typedef struct IPropertyDescriptionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyDescription *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyDescription *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyDescription *This); + + /*** IPropertyDescription methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IPropertyDescription *This, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetCanonicalName)( + IPropertyDescription *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetPropertyType)( + IPropertyDescription *This, + VARTYPE *pvartype); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IPropertyDescription *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetEditInvitation)( + IPropertyDescription *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetTypeFlags)( + IPropertyDescription *This, + PROPDESC_TYPE_FLAGS mask, + PROPDESC_TYPE_FLAGS *ppdtFlags); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + IPropertyDescription *This, + PROPDESC_VIEW_FLAGS *ppdvFlags); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumnWidth)( + IPropertyDescription *This, + UINT *pcxChars); + + HRESULT (STDMETHODCALLTYPE *GetDisplayType)( + IPropertyDescription *This, + PROPDESC_DISPLAYTYPE *pdisplaytype); + + HRESULT (STDMETHODCALLTYPE *GetColumnState)( + IPropertyDescription *This, + SHCOLSTATEF *pcsFlags); + + HRESULT (STDMETHODCALLTYPE *GetGroupingRange)( + IPropertyDescription *This, + PROPDESC_GROUPING_RANGE *psd); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescriptionType)( + IPropertyDescription *This, + PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescription)( + IPropertyDescription *This, + REFPROPVARIANT propvar1, + REFPROPVARIANT propvar2, + LPWSTR *ppszDesc1, + LPWSTR *ppszDesc2); + + HRESULT (STDMETHODCALLTYPE *GetSortDescription)( + IPropertyDescription *This, + PROPDESC_SORTDESCRIPTION *psd); + + HRESULT (STDMETHODCALLTYPE *GetSortDescriptionLabel)( + IPropertyDescription *This, + BOOL fDescending, + LPWSTR *ppszDescription); + + HRESULT (STDMETHODCALLTYPE *GetAggregationType)( + IPropertyDescription *This, + PROPDESC_AGGREGATION_TYPE *paggtype); + + HRESULT (STDMETHODCALLTYPE *GetConditionType)( + IPropertyDescription *This, + PROPDESC_CONDITION_TYPE *pcontype, + CONDITION_OPERATION *popDefault); + + HRESULT (STDMETHODCALLTYPE *GetEnumTypeList)( + IPropertyDescription *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *CoerceToCanonicalValue)( + IPropertyDescription *This, + PROPVARIANT *propvar); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplay)( + IPropertyDescription *This, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS flags, + LPWSTR *ppszDisplay); + + HRESULT (STDMETHODCALLTYPE *IsValueCanonical)( + IPropertyDescription *This, + REFPROPVARIANT propvar); + + END_INTERFACE +} IPropertyDescriptionVtbl; + +interface IPropertyDescription { + CONST_VTBL IPropertyDescriptionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyDescription_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyDescription_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyDescription_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyDescription methods ***/ +#define IPropertyDescription_GetPropertyKey(This,pkey) (This)->lpVtbl->GetPropertyKey(This,pkey) +#define IPropertyDescription_GetCanonicalName(This,ppszName) (This)->lpVtbl->GetCanonicalName(This,ppszName) +#define IPropertyDescription_GetPropertyType(This,pvartype) (This)->lpVtbl->GetPropertyType(This,pvartype) +#define IPropertyDescription_GetDisplayName(This,ppszName) (This)->lpVtbl->GetDisplayName(This,ppszName) +#define IPropertyDescription_GetEditInvitation(This,ppszName) (This)->lpVtbl->GetEditInvitation(This,ppszName) +#define IPropertyDescription_GetTypeFlags(This,mask,ppdtFlags) (This)->lpVtbl->GetTypeFlags(This,mask,ppdtFlags) +#define IPropertyDescription_GetViewFlags(This,ppdvFlags) (This)->lpVtbl->GetViewFlags(This,ppdvFlags) +#define IPropertyDescription_GetDefaultColumnWidth(This,pcxChars) (This)->lpVtbl->GetDefaultColumnWidth(This,pcxChars) +#define IPropertyDescription_GetDisplayType(This,pdisplaytype) (This)->lpVtbl->GetDisplayType(This,pdisplaytype) +#define IPropertyDescription_GetColumnState(This,pcsFlags) (This)->lpVtbl->GetColumnState(This,pcsFlags) +#define IPropertyDescription_GetGroupingRange(This,psd) (This)->lpVtbl->GetGroupingRange(This,psd) +#define IPropertyDescription_GetRelativeDescriptionType(This,prdt) (This)->lpVtbl->GetRelativeDescriptionType(This,prdt) +#define IPropertyDescription_GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) (This)->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) +#define IPropertyDescription_GetSortDescription(This,psd) (This)->lpVtbl->GetSortDescription(This,psd) +#define IPropertyDescription_GetSortDescriptionLabel(This,fDescending,ppszDescription) (This)->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription) +#define IPropertyDescription_GetAggregationType(This,paggtype) (This)->lpVtbl->GetAggregationType(This,paggtype) +#define IPropertyDescription_GetConditionType(This,pcontype,popDefault) (This)->lpVtbl->GetConditionType(This,pcontype,popDefault) +#define IPropertyDescription_GetEnumTypeList(This,riid,ppv) (This)->lpVtbl->GetEnumTypeList(This,riid,ppv) +#define IPropertyDescription_CoerceToCanonicalValue(This,propvar) (This)->lpVtbl->CoerceToCanonicalValue(This,propvar) +#define IPropertyDescription_FormatForDisplay(This,propvar,flags,ppszDisplay) (This)->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay) +#define IPropertyDescription_IsValueCanonical(This,propvar) (This)->lpVtbl->IsValueCanonical(This,propvar) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyDescription_QueryInterface(IPropertyDescription* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyDescription_AddRef(IPropertyDescription* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyDescription_Release(IPropertyDescription* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyDescription methods ***/ +static FORCEINLINE HRESULT IPropertyDescription_GetPropertyKey(IPropertyDescription* This,PROPERTYKEY *pkey) { + return This->lpVtbl->GetPropertyKey(This,pkey); +} +static FORCEINLINE HRESULT IPropertyDescription_GetCanonicalName(IPropertyDescription* This,LPWSTR *ppszName) { + return This->lpVtbl->GetCanonicalName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescription_GetPropertyType(IPropertyDescription* This,VARTYPE *pvartype) { + return This->lpVtbl->GetPropertyType(This,pvartype); +} +static FORCEINLINE HRESULT IPropertyDescription_GetDisplayName(IPropertyDescription* This,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescription_GetEditInvitation(IPropertyDescription* This,LPWSTR *ppszName) { + return This->lpVtbl->GetEditInvitation(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescription_GetTypeFlags(IPropertyDescription* This,PROPDESC_TYPE_FLAGS mask,PROPDESC_TYPE_FLAGS *ppdtFlags) { + return This->lpVtbl->GetTypeFlags(This,mask,ppdtFlags); +} +static FORCEINLINE HRESULT IPropertyDescription_GetViewFlags(IPropertyDescription* This,PROPDESC_VIEW_FLAGS *ppdvFlags) { + return This->lpVtbl->GetViewFlags(This,ppdvFlags); +} +static FORCEINLINE HRESULT IPropertyDescription_GetDefaultColumnWidth(IPropertyDescription* This,UINT *pcxChars) { + return This->lpVtbl->GetDefaultColumnWidth(This,pcxChars); +} +static FORCEINLINE HRESULT IPropertyDescription_GetDisplayType(IPropertyDescription* This,PROPDESC_DISPLAYTYPE *pdisplaytype) { + return This->lpVtbl->GetDisplayType(This,pdisplaytype); +} +static FORCEINLINE HRESULT IPropertyDescription_GetColumnState(IPropertyDescription* This,SHCOLSTATEF *pcsFlags) { + return This->lpVtbl->GetColumnState(This,pcsFlags); +} +static FORCEINLINE HRESULT IPropertyDescription_GetGroupingRange(IPropertyDescription* This,PROPDESC_GROUPING_RANGE *psd) { + return This->lpVtbl->GetGroupingRange(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescription_GetRelativeDescriptionType(IPropertyDescription* This,PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt) { + return This->lpVtbl->GetRelativeDescriptionType(This,prdt); +} +static FORCEINLINE HRESULT IPropertyDescription_GetRelativeDescription(IPropertyDescription* This,REFPROPVARIANT propvar1,REFPROPVARIANT propvar2,LPWSTR *ppszDesc1,LPWSTR *ppszDesc2) { + return This->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2); +} +static FORCEINLINE HRESULT IPropertyDescription_GetSortDescription(IPropertyDescription* This,PROPDESC_SORTDESCRIPTION *psd) { + return This->lpVtbl->GetSortDescription(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescription_GetSortDescriptionLabel(IPropertyDescription* This,BOOL fDescending,LPWSTR *ppszDescription) { + return This->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription); +} +static FORCEINLINE HRESULT IPropertyDescription_GetAggregationType(IPropertyDescription* This,PROPDESC_AGGREGATION_TYPE *paggtype) { + return This->lpVtbl->GetAggregationType(This,paggtype); +} +static FORCEINLINE HRESULT IPropertyDescription_GetConditionType(IPropertyDescription* This,PROPDESC_CONDITION_TYPE *pcontype,CONDITION_OPERATION *popDefault) { + return This->lpVtbl->GetConditionType(This,pcontype,popDefault); +} +static FORCEINLINE HRESULT IPropertyDescription_GetEnumTypeList(IPropertyDescription* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetEnumTypeList(This,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyDescription_CoerceToCanonicalValue(IPropertyDescription* This,PROPVARIANT *propvar) { + return This->lpVtbl->CoerceToCanonicalValue(This,propvar); +} +static FORCEINLINE HRESULT IPropertyDescription_FormatForDisplay(IPropertyDescription* This,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS flags,LPWSTR *ppszDisplay) { + return This->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay); +} +static FORCEINLINE HRESULT IPropertyDescription_IsValueCanonical(IPropertyDescription* This,REFPROPVARIANT propvar) { + return This->lpVtbl->IsValueCanonical(This,propvar); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPropertyDescription_RemoteCoerceToCanonicalValue_Proxy( + IPropertyDescription* This, + REFPROPVARIANT propvar, + PROPVARIANT *ppropvar); +void __RPC_STUB IPropertyDescription_RemoteCoerceToCanonicalValue_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IPropertyDescription_CoerceToCanonicalValue_Proxy( + IPropertyDescription* This, + PROPVARIANT *propvar); +HRESULT __RPC_STUB IPropertyDescription_CoerceToCanonicalValue_Stub( + IPropertyDescription* This, + REFPROPVARIANT propvar, + PROPVARIANT *ppropvar); + +#endif /* __IPropertyDescription_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyDescription2 interface + */ +#ifndef __IPropertyDescription2_INTERFACE_DEFINED__ +#define __IPropertyDescription2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyDescription2, 0x57d2eded, 0x5062, 0x400e, 0xb1,0x07, 0x5d,0xae,0x79,0xfe,0x57,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("57d2eded-5062-400e-b107-5dae79fe57a6") +IPropertyDescription2 : public IPropertyDescription +{ + virtual HRESULT STDMETHODCALLTYPE GetImageReferenceForValue( + REFPROPVARIANT propvar, + LPWSTR *ppszImageRes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyDescription2, 0x57d2eded, 0x5062, 0x400e, 0xb1,0x07, 0x5d,0xae,0x79,0xfe,0x57,0xa6) +#endif +#else +typedef struct IPropertyDescription2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyDescription2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyDescription2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyDescription2 *This); + + /*** IPropertyDescription methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IPropertyDescription2 *This, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetCanonicalName)( + IPropertyDescription2 *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetPropertyType)( + IPropertyDescription2 *This, + VARTYPE *pvartype); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IPropertyDescription2 *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetEditInvitation)( + IPropertyDescription2 *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetTypeFlags)( + IPropertyDescription2 *This, + PROPDESC_TYPE_FLAGS mask, + PROPDESC_TYPE_FLAGS *ppdtFlags); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + IPropertyDescription2 *This, + PROPDESC_VIEW_FLAGS *ppdvFlags); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumnWidth)( + IPropertyDescription2 *This, + UINT *pcxChars); + + HRESULT (STDMETHODCALLTYPE *GetDisplayType)( + IPropertyDescription2 *This, + PROPDESC_DISPLAYTYPE *pdisplaytype); + + HRESULT (STDMETHODCALLTYPE *GetColumnState)( + IPropertyDescription2 *This, + SHCOLSTATEF *pcsFlags); + + HRESULT (STDMETHODCALLTYPE *GetGroupingRange)( + IPropertyDescription2 *This, + PROPDESC_GROUPING_RANGE *psd); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescriptionType)( + IPropertyDescription2 *This, + PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescription)( + IPropertyDescription2 *This, + REFPROPVARIANT propvar1, + REFPROPVARIANT propvar2, + LPWSTR *ppszDesc1, + LPWSTR *ppszDesc2); + + HRESULT (STDMETHODCALLTYPE *GetSortDescription)( + IPropertyDescription2 *This, + PROPDESC_SORTDESCRIPTION *psd); + + HRESULT (STDMETHODCALLTYPE *GetSortDescriptionLabel)( + IPropertyDescription2 *This, + BOOL fDescending, + LPWSTR *ppszDescription); + + HRESULT (STDMETHODCALLTYPE *GetAggregationType)( + IPropertyDescription2 *This, + PROPDESC_AGGREGATION_TYPE *paggtype); + + HRESULT (STDMETHODCALLTYPE *GetConditionType)( + IPropertyDescription2 *This, + PROPDESC_CONDITION_TYPE *pcontype, + CONDITION_OPERATION *popDefault); + + HRESULT (STDMETHODCALLTYPE *GetEnumTypeList)( + IPropertyDescription2 *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *CoerceToCanonicalValue)( + IPropertyDescription2 *This, + PROPVARIANT *propvar); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplay)( + IPropertyDescription2 *This, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS flags, + LPWSTR *ppszDisplay); + + HRESULT (STDMETHODCALLTYPE *IsValueCanonical)( + IPropertyDescription2 *This, + REFPROPVARIANT propvar); + + /*** IPropertyDescription2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetImageReferenceForValue)( + IPropertyDescription2 *This, + REFPROPVARIANT propvar, + LPWSTR *ppszImageRes); + + END_INTERFACE +} IPropertyDescription2Vtbl; + +interface IPropertyDescription2 { + CONST_VTBL IPropertyDescription2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyDescription2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyDescription2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyDescription2_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyDescription methods ***/ +#define IPropertyDescription2_GetPropertyKey(This,pkey) (This)->lpVtbl->GetPropertyKey(This,pkey) +#define IPropertyDescription2_GetCanonicalName(This,ppszName) (This)->lpVtbl->GetCanonicalName(This,ppszName) +#define IPropertyDescription2_GetPropertyType(This,pvartype) (This)->lpVtbl->GetPropertyType(This,pvartype) +#define IPropertyDescription2_GetDisplayName(This,ppszName) (This)->lpVtbl->GetDisplayName(This,ppszName) +#define IPropertyDescription2_GetEditInvitation(This,ppszName) (This)->lpVtbl->GetEditInvitation(This,ppszName) +#define IPropertyDescription2_GetTypeFlags(This,mask,ppdtFlags) (This)->lpVtbl->GetTypeFlags(This,mask,ppdtFlags) +#define IPropertyDescription2_GetViewFlags(This,ppdvFlags) (This)->lpVtbl->GetViewFlags(This,ppdvFlags) +#define IPropertyDescription2_GetDefaultColumnWidth(This,pcxChars) (This)->lpVtbl->GetDefaultColumnWidth(This,pcxChars) +#define IPropertyDescription2_GetDisplayType(This,pdisplaytype) (This)->lpVtbl->GetDisplayType(This,pdisplaytype) +#define IPropertyDescription2_GetColumnState(This,pcsFlags) (This)->lpVtbl->GetColumnState(This,pcsFlags) +#define IPropertyDescription2_GetGroupingRange(This,psd) (This)->lpVtbl->GetGroupingRange(This,psd) +#define IPropertyDescription2_GetRelativeDescriptionType(This,prdt) (This)->lpVtbl->GetRelativeDescriptionType(This,prdt) +#define IPropertyDescription2_GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) (This)->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) +#define IPropertyDescription2_GetSortDescription(This,psd) (This)->lpVtbl->GetSortDescription(This,psd) +#define IPropertyDescription2_GetSortDescriptionLabel(This,fDescending,ppszDescription) (This)->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription) +#define IPropertyDescription2_GetAggregationType(This,paggtype) (This)->lpVtbl->GetAggregationType(This,paggtype) +#define IPropertyDescription2_GetConditionType(This,pcontype,popDefault) (This)->lpVtbl->GetConditionType(This,pcontype,popDefault) +#define IPropertyDescription2_GetEnumTypeList(This,riid,ppv) (This)->lpVtbl->GetEnumTypeList(This,riid,ppv) +#define IPropertyDescription2_CoerceToCanonicalValue(This,propvar) (This)->lpVtbl->CoerceToCanonicalValue(This,propvar) +#define IPropertyDescription2_FormatForDisplay(This,propvar,flags,ppszDisplay) (This)->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay) +#define IPropertyDescription2_IsValueCanonical(This,propvar) (This)->lpVtbl->IsValueCanonical(This,propvar) +/*** IPropertyDescription2 methods ***/ +#define IPropertyDescription2_GetImageReferenceForValue(This,propvar,ppszImageRes) (This)->lpVtbl->GetImageReferenceForValue(This,propvar,ppszImageRes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyDescription2_QueryInterface(IPropertyDescription2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyDescription2_AddRef(IPropertyDescription2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyDescription2_Release(IPropertyDescription2* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyDescription methods ***/ +static FORCEINLINE HRESULT IPropertyDescription2_GetPropertyKey(IPropertyDescription2* This,PROPERTYKEY *pkey) { + return This->lpVtbl->GetPropertyKey(This,pkey); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetCanonicalName(IPropertyDescription2* This,LPWSTR *ppszName) { + return This->lpVtbl->GetCanonicalName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetPropertyType(IPropertyDescription2* This,VARTYPE *pvartype) { + return This->lpVtbl->GetPropertyType(This,pvartype); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetDisplayName(IPropertyDescription2* This,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetEditInvitation(IPropertyDescription2* This,LPWSTR *ppszName) { + return This->lpVtbl->GetEditInvitation(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetTypeFlags(IPropertyDescription2* This,PROPDESC_TYPE_FLAGS mask,PROPDESC_TYPE_FLAGS *ppdtFlags) { + return This->lpVtbl->GetTypeFlags(This,mask,ppdtFlags); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetViewFlags(IPropertyDescription2* This,PROPDESC_VIEW_FLAGS *ppdvFlags) { + return This->lpVtbl->GetViewFlags(This,ppdvFlags); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetDefaultColumnWidth(IPropertyDescription2* This,UINT *pcxChars) { + return This->lpVtbl->GetDefaultColumnWidth(This,pcxChars); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetDisplayType(IPropertyDescription2* This,PROPDESC_DISPLAYTYPE *pdisplaytype) { + return This->lpVtbl->GetDisplayType(This,pdisplaytype); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetColumnState(IPropertyDescription2* This,SHCOLSTATEF *pcsFlags) { + return This->lpVtbl->GetColumnState(This,pcsFlags); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetGroupingRange(IPropertyDescription2* This,PROPDESC_GROUPING_RANGE *psd) { + return This->lpVtbl->GetGroupingRange(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetRelativeDescriptionType(IPropertyDescription2* This,PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt) { + return This->lpVtbl->GetRelativeDescriptionType(This,prdt); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetRelativeDescription(IPropertyDescription2* This,REFPROPVARIANT propvar1,REFPROPVARIANT propvar2,LPWSTR *ppszDesc1,LPWSTR *ppszDesc2) { + return This->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetSortDescription(IPropertyDescription2* This,PROPDESC_SORTDESCRIPTION *psd) { + return This->lpVtbl->GetSortDescription(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetSortDescriptionLabel(IPropertyDescription2* This,BOOL fDescending,LPWSTR *ppszDescription) { + return This->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetAggregationType(IPropertyDescription2* This,PROPDESC_AGGREGATION_TYPE *paggtype) { + return This->lpVtbl->GetAggregationType(This,paggtype); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetConditionType(IPropertyDescription2* This,PROPDESC_CONDITION_TYPE *pcontype,CONDITION_OPERATION *popDefault) { + return This->lpVtbl->GetConditionType(This,pcontype,popDefault); +} +static FORCEINLINE HRESULT IPropertyDescription2_GetEnumTypeList(IPropertyDescription2* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetEnumTypeList(This,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyDescription2_CoerceToCanonicalValue(IPropertyDescription2* This,PROPVARIANT *propvar) { + return This->lpVtbl->CoerceToCanonicalValue(This,propvar); +} +static FORCEINLINE HRESULT IPropertyDescription2_FormatForDisplay(IPropertyDescription2* This,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS flags,LPWSTR *ppszDisplay) { + return This->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay); +} +static FORCEINLINE HRESULT IPropertyDescription2_IsValueCanonical(IPropertyDescription2* This,REFPROPVARIANT propvar) { + return This->lpVtbl->IsValueCanonical(This,propvar); +} +/*** IPropertyDescription2 methods ***/ +static FORCEINLINE HRESULT IPropertyDescription2_GetImageReferenceForValue(IPropertyDescription2* This,REFPROPVARIANT propvar,LPWSTR *ppszImageRes) { + return This->lpVtbl->GetImageReferenceForValue(This,propvar,ppszImageRes); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyDescription2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyDescriptionAliasInfo interface + */ +#ifndef __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ +#define __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyDescriptionAliasInfo, 0xf67104fc, 0x2af9, 0x46fd, 0xb3,0x2d, 0x24,0x3c,0x14,0x04,0xf3,0xd1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f67104fc-2af9-46fd-b32d-243c1404f3d1") +IPropertyDescriptionAliasInfo : public IPropertyDescription +{ + virtual HRESULT STDMETHODCALLTYPE GetSortByAlias( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdditionalSortByAliases( + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyDescriptionAliasInfo, 0xf67104fc, 0x2af9, 0x46fd, 0xb3,0x2d, 0x24,0x3c,0x14,0x04,0xf3,0xd1) +#endif +#else +typedef struct IPropertyDescriptionAliasInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyDescriptionAliasInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyDescriptionAliasInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyDescriptionAliasInfo *This); + + /*** IPropertyDescription methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IPropertyDescriptionAliasInfo *This, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetCanonicalName)( + IPropertyDescriptionAliasInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetPropertyType)( + IPropertyDescriptionAliasInfo *This, + VARTYPE *pvartype); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IPropertyDescriptionAliasInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetEditInvitation)( + IPropertyDescriptionAliasInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetTypeFlags)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_TYPE_FLAGS mask, + PROPDESC_TYPE_FLAGS *ppdtFlags); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_VIEW_FLAGS *ppdvFlags); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumnWidth)( + IPropertyDescriptionAliasInfo *This, + UINT *pcxChars); + + HRESULT (STDMETHODCALLTYPE *GetDisplayType)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_DISPLAYTYPE *pdisplaytype); + + HRESULT (STDMETHODCALLTYPE *GetColumnState)( + IPropertyDescriptionAliasInfo *This, + SHCOLSTATEF *pcsFlags); + + HRESULT (STDMETHODCALLTYPE *GetGroupingRange)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_GROUPING_RANGE *psd); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescriptionType)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescription)( + IPropertyDescriptionAliasInfo *This, + REFPROPVARIANT propvar1, + REFPROPVARIANT propvar2, + LPWSTR *ppszDesc1, + LPWSTR *ppszDesc2); + + HRESULT (STDMETHODCALLTYPE *GetSortDescription)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_SORTDESCRIPTION *psd); + + HRESULT (STDMETHODCALLTYPE *GetSortDescriptionLabel)( + IPropertyDescriptionAliasInfo *This, + BOOL fDescending, + LPWSTR *ppszDescription); + + HRESULT (STDMETHODCALLTYPE *GetAggregationType)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_AGGREGATION_TYPE *paggtype); + + HRESULT (STDMETHODCALLTYPE *GetConditionType)( + IPropertyDescriptionAliasInfo *This, + PROPDESC_CONDITION_TYPE *pcontype, + CONDITION_OPERATION *popDefault); + + HRESULT (STDMETHODCALLTYPE *GetEnumTypeList)( + IPropertyDescriptionAliasInfo *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *CoerceToCanonicalValue)( + IPropertyDescriptionAliasInfo *This, + PROPVARIANT *propvar); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplay)( + IPropertyDescriptionAliasInfo *This, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS flags, + LPWSTR *ppszDisplay); + + HRESULT (STDMETHODCALLTYPE *IsValueCanonical)( + IPropertyDescriptionAliasInfo *This, + REFPROPVARIANT propvar); + + /*** IPropertyDescriptionAliasInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSortByAlias)( + IPropertyDescriptionAliasInfo *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetAdditionalSortByAliases)( + IPropertyDescriptionAliasInfo *This, + REFIID riid, + void **ppv); + + END_INTERFACE +} IPropertyDescriptionAliasInfoVtbl; + +interface IPropertyDescriptionAliasInfo { + CONST_VTBL IPropertyDescriptionAliasInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyDescriptionAliasInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyDescriptionAliasInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyDescriptionAliasInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyDescription methods ***/ +#define IPropertyDescriptionAliasInfo_GetPropertyKey(This,pkey) (This)->lpVtbl->GetPropertyKey(This,pkey) +#define IPropertyDescriptionAliasInfo_GetCanonicalName(This,ppszName) (This)->lpVtbl->GetCanonicalName(This,ppszName) +#define IPropertyDescriptionAliasInfo_GetPropertyType(This,pvartype) (This)->lpVtbl->GetPropertyType(This,pvartype) +#define IPropertyDescriptionAliasInfo_GetDisplayName(This,ppszName) (This)->lpVtbl->GetDisplayName(This,ppszName) +#define IPropertyDescriptionAliasInfo_GetEditInvitation(This,ppszName) (This)->lpVtbl->GetEditInvitation(This,ppszName) +#define IPropertyDescriptionAliasInfo_GetTypeFlags(This,mask,ppdtFlags) (This)->lpVtbl->GetTypeFlags(This,mask,ppdtFlags) +#define IPropertyDescriptionAliasInfo_GetViewFlags(This,ppdvFlags) (This)->lpVtbl->GetViewFlags(This,ppdvFlags) +#define IPropertyDescriptionAliasInfo_GetDefaultColumnWidth(This,pcxChars) (This)->lpVtbl->GetDefaultColumnWidth(This,pcxChars) +#define IPropertyDescriptionAliasInfo_GetDisplayType(This,pdisplaytype) (This)->lpVtbl->GetDisplayType(This,pdisplaytype) +#define IPropertyDescriptionAliasInfo_GetColumnState(This,pcsFlags) (This)->lpVtbl->GetColumnState(This,pcsFlags) +#define IPropertyDescriptionAliasInfo_GetGroupingRange(This,psd) (This)->lpVtbl->GetGroupingRange(This,psd) +#define IPropertyDescriptionAliasInfo_GetRelativeDescriptionType(This,prdt) (This)->lpVtbl->GetRelativeDescriptionType(This,prdt) +#define IPropertyDescriptionAliasInfo_GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) (This)->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) +#define IPropertyDescriptionAliasInfo_GetSortDescription(This,psd) (This)->lpVtbl->GetSortDescription(This,psd) +#define IPropertyDescriptionAliasInfo_GetSortDescriptionLabel(This,fDescending,ppszDescription) (This)->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription) +#define IPropertyDescriptionAliasInfo_GetAggregationType(This,paggtype) (This)->lpVtbl->GetAggregationType(This,paggtype) +#define IPropertyDescriptionAliasInfo_GetConditionType(This,pcontype,popDefault) (This)->lpVtbl->GetConditionType(This,pcontype,popDefault) +#define IPropertyDescriptionAliasInfo_GetEnumTypeList(This,riid,ppv) (This)->lpVtbl->GetEnumTypeList(This,riid,ppv) +#define IPropertyDescriptionAliasInfo_CoerceToCanonicalValue(This,propvar) (This)->lpVtbl->CoerceToCanonicalValue(This,propvar) +#define IPropertyDescriptionAliasInfo_FormatForDisplay(This,propvar,flags,ppszDisplay) (This)->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay) +#define IPropertyDescriptionAliasInfo_IsValueCanonical(This,propvar) (This)->lpVtbl->IsValueCanonical(This,propvar) +/*** IPropertyDescriptionAliasInfo methods ***/ +#define IPropertyDescriptionAliasInfo_GetSortByAlias(This,riid,ppv) (This)->lpVtbl->GetSortByAlias(This,riid,ppv) +#define IPropertyDescriptionAliasInfo_GetAdditionalSortByAliases(This,riid,ppv) (This)->lpVtbl->GetAdditionalSortByAliases(This,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_QueryInterface(IPropertyDescriptionAliasInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyDescriptionAliasInfo_AddRef(IPropertyDescriptionAliasInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyDescriptionAliasInfo_Release(IPropertyDescriptionAliasInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyDescription methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetPropertyKey(IPropertyDescriptionAliasInfo* This,PROPERTYKEY *pkey) { + return This->lpVtbl->GetPropertyKey(This,pkey); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetCanonicalName(IPropertyDescriptionAliasInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetCanonicalName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetPropertyType(IPropertyDescriptionAliasInfo* This,VARTYPE *pvartype) { + return This->lpVtbl->GetPropertyType(This,pvartype); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetDisplayName(IPropertyDescriptionAliasInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetEditInvitation(IPropertyDescriptionAliasInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetEditInvitation(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetTypeFlags(IPropertyDescriptionAliasInfo* This,PROPDESC_TYPE_FLAGS mask,PROPDESC_TYPE_FLAGS *ppdtFlags) { + return This->lpVtbl->GetTypeFlags(This,mask,ppdtFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetViewFlags(IPropertyDescriptionAliasInfo* This,PROPDESC_VIEW_FLAGS *ppdvFlags) { + return This->lpVtbl->GetViewFlags(This,ppdvFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetDefaultColumnWidth(IPropertyDescriptionAliasInfo* This,UINT *pcxChars) { + return This->lpVtbl->GetDefaultColumnWidth(This,pcxChars); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetDisplayType(IPropertyDescriptionAliasInfo* This,PROPDESC_DISPLAYTYPE *pdisplaytype) { + return This->lpVtbl->GetDisplayType(This,pdisplaytype); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetColumnState(IPropertyDescriptionAliasInfo* This,SHCOLSTATEF *pcsFlags) { + return This->lpVtbl->GetColumnState(This,pcsFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetGroupingRange(IPropertyDescriptionAliasInfo* This,PROPDESC_GROUPING_RANGE *psd) { + return This->lpVtbl->GetGroupingRange(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetRelativeDescriptionType(IPropertyDescriptionAliasInfo* This,PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt) { + return This->lpVtbl->GetRelativeDescriptionType(This,prdt); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetRelativeDescription(IPropertyDescriptionAliasInfo* This,REFPROPVARIANT propvar1,REFPROPVARIANT propvar2,LPWSTR *ppszDesc1,LPWSTR *ppszDesc2) { + return This->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetSortDescription(IPropertyDescriptionAliasInfo* This,PROPDESC_SORTDESCRIPTION *psd) { + return This->lpVtbl->GetSortDescription(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetSortDescriptionLabel(IPropertyDescriptionAliasInfo* This,BOOL fDescending,LPWSTR *ppszDescription) { + return This->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetAggregationType(IPropertyDescriptionAliasInfo* This,PROPDESC_AGGREGATION_TYPE *paggtype) { + return This->lpVtbl->GetAggregationType(This,paggtype); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetConditionType(IPropertyDescriptionAliasInfo* This,PROPDESC_CONDITION_TYPE *pcontype,CONDITION_OPERATION *popDefault) { + return This->lpVtbl->GetConditionType(This,pcontype,popDefault); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetEnumTypeList(IPropertyDescriptionAliasInfo* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetEnumTypeList(This,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_CoerceToCanonicalValue(IPropertyDescriptionAliasInfo* This,PROPVARIANT *propvar) { + return This->lpVtbl->CoerceToCanonicalValue(This,propvar); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_FormatForDisplay(IPropertyDescriptionAliasInfo* This,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS flags,LPWSTR *ppszDisplay) { + return This->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_IsValueCanonical(IPropertyDescriptionAliasInfo* This,REFPROPVARIANT propvar) { + return This->lpVtbl->IsValueCanonical(This,propvar); +} +/*** IPropertyDescriptionAliasInfo methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetSortByAlias(IPropertyDescriptionAliasInfo* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetSortByAlias(This,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyDescriptionAliasInfo_GetAdditionalSortByAliases(IPropertyDescriptionAliasInfo* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetAdditionalSortByAliases(This,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyDescriptionSearchInfo interface + */ +#ifndef __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ +#define __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ + +typedef enum PROPDESC_SEARCHINFO_FLAGS { + PDSIF_DEFAULT = 0x0, + PDSIF_ININVERTEDINDEX = 0x1, + PDSIF_ISCOLUMN = 0x2, + PDSIF_ISCOLUMNSPARSE = 0x4, + PDSIF_ALWAYSINCLUDE = 0x8 +} PROPDESC_SEARCHINFO_FLAGS; +DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_SEARCHINFO_FLAGS) +typedef enum PROPDESC_COLUMNINDEX_TYPE { + PDCIT_NONE = 0, + PDCIT_ONDISK = 1, + PDCIT_INMEMORY = 2, + PDCIT_ONDEMAND = 3, + PDCIT_ONDISKALL = 4, + PDCIT_ONDISKVECTOR = 5 +} PROPDESC_COLUMNINDEX_TYPE; +DEFINE_GUID(IID_IPropertyDescriptionSearchInfo, 0x078f91bd, 0x29a2, 0x440f, 0x92,0x4e, 0x46,0xa2,0x91,0x52,0x45,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("078f91bd-29a2-440f-924e-46a291524520") +IPropertyDescriptionSearchInfo : public IPropertyDescription +{ + virtual HRESULT STDMETHODCALLTYPE GetSearchInfoFlags( + PROPDESC_SEARCHINFO_FLAGS *ppdsiFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColumnIndexType( + PROPDESC_COLUMNINDEX_TYPE *ppdciType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProjectionString( + LPWSTR *ppszProjection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxSize( + UINT *pcbMaxSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyDescriptionSearchInfo, 0x078f91bd, 0x29a2, 0x440f, 0x92,0x4e, 0x46,0xa2,0x91,0x52,0x45,0x20) +#endif +#else +typedef struct IPropertyDescriptionSearchInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyDescriptionSearchInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyDescriptionSearchInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyDescriptionSearchInfo *This); + + /*** IPropertyDescription methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IPropertyDescriptionSearchInfo *This, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetCanonicalName)( + IPropertyDescriptionSearchInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetPropertyType)( + IPropertyDescriptionSearchInfo *This, + VARTYPE *pvartype); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IPropertyDescriptionSearchInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetEditInvitation)( + IPropertyDescriptionSearchInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetTypeFlags)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_TYPE_FLAGS mask, + PROPDESC_TYPE_FLAGS *ppdtFlags); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_VIEW_FLAGS *ppdvFlags); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumnWidth)( + IPropertyDescriptionSearchInfo *This, + UINT *pcxChars); + + HRESULT (STDMETHODCALLTYPE *GetDisplayType)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_DISPLAYTYPE *pdisplaytype); + + HRESULT (STDMETHODCALLTYPE *GetColumnState)( + IPropertyDescriptionSearchInfo *This, + SHCOLSTATEF *pcsFlags); + + HRESULT (STDMETHODCALLTYPE *GetGroupingRange)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_GROUPING_RANGE *psd); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescriptionType)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescription)( + IPropertyDescriptionSearchInfo *This, + REFPROPVARIANT propvar1, + REFPROPVARIANT propvar2, + LPWSTR *ppszDesc1, + LPWSTR *ppszDesc2); + + HRESULT (STDMETHODCALLTYPE *GetSortDescription)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_SORTDESCRIPTION *psd); + + HRESULT (STDMETHODCALLTYPE *GetSortDescriptionLabel)( + IPropertyDescriptionSearchInfo *This, + BOOL fDescending, + LPWSTR *ppszDescription); + + HRESULT (STDMETHODCALLTYPE *GetAggregationType)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_AGGREGATION_TYPE *paggtype); + + HRESULT (STDMETHODCALLTYPE *GetConditionType)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_CONDITION_TYPE *pcontype, + CONDITION_OPERATION *popDefault); + + HRESULT (STDMETHODCALLTYPE *GetEnumTypeList)( + IPropertyDescriptionSearchInfo *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *CoerceToCanonicalValue)( + IPropertyDescriptionSearchInfo *This, + PROPVARIANT *propvar); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplay)( + IPropertyDescriptionSearchInfo *This, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS flags, + LPWSTR *ppszDisplay); + + HRESULT (STDMETHODCALLTYPE *IsValueCanonical)( + IPropertyDescriptionSearchInfo *This, + REFPROPVARIANT propvar); + + /*** IPropertyDescriptionSearchInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSearchInfoFlags)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_SEARCHINFO_FLAGS *ppdsiFlags); + + HRESULT (STDMETHODCALLTYPE *GetColumnIndexType)( + IPropertyDescriptionSearchInfo *This, + PROPDESC_COLUMNINDEX_TYPE *ppdciType); + + HRESULT (STDMETHODCALLTYPE *GetProjectionString)( + IPropertyDescriptionSearchInfo *This, + LPWSTR *ppszProjection); + + HRESULT (STDMETHODCALLTYPE *GetMaxSize)( + IPropertyDescriptionSearchInfo *This, + UINT *pcbMaxSize); + + END_INTERFACE +} IPropertyDescriptionSearchInfoVtbl; + +interface IPropertyDescriptionSearchInfo { + CONST_VTBL IPropertyDescriptionSearchInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyDescriptionSearchInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyDescriptionSearchInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyDescriptionSearchInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyDescription methods ***/ +#define IPropertyDescriptionSearchInfo_GetPropertyKey(This,pkey) (This)->lpVtbl->GetPropertyKey(This,pkey) +#define IPropertyDescriptionSearchInfo_GetCanonicalName(This,ppszName) (This)->lpVtbl->GetCanonicalName(This,ppszName) +#define IPropertyDescriptionSearchInfo_GetPropertyType(This,pvartype) (This)->lpVtbl->GetPropertyType(This,pvartype) +#define IPropertyDescriptionSearchInfo_GetDisplayName(This,ppszName) (This)->lpVtbl->GetDisplayName(This,ppszName) +#define IPropertyDescriptionSearchInfo_GetEditInvitation(This,ppszName) (This)->lpVtbl->GetEditInvitation(This,ppszName) +#define IPropertyDescriptionSearchInfo_GetTypeFlags(This,mask,ppdtFlags) (This)->lpVtbl->GetTypeFlags(This,mask,ppdtFlags) +#define IPropertyDescriptionSearchInfo_GetViewFlags(This,ppdvFlags) (This)->lpVtbl->GetViewFlags(This,ppdvFlags) +#define IPropertyDescriptionSearchInfo_GetDefaultColumnWidth(This,pcxChars) (This)->lpVtbl->GetDefaultColumnWidth(This,pcxChars) +#define IPropertyDescriptionSearchInfo_GetDisplayType(This,pdisplaytype) (This)->lpVtbl->GetDisplayType(This,pdisplaytype) +#define IPropertyDescriptionSearchInfo_GetColumnState(This,pcsFlags) (This)->lpVtbl->GetColumnState(This,pcsFlags) +#define IPropertyDescriptionSearchInfo_GetGroupingRange(This,psd) (This)->lpVtbl->GetGroupingRange(This,psd) +#define IPropertyDescriptionSearchInfo_GetRelativeDescriptionType(This,prdt) (This)->lpVtbl->GetRelativeDescriptionType(This,prdt) +#define IPropertyDescriptionSearchInfo_GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) (This)->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) +#define IPropertyDescriptionSearchInfo_GetSortDescription(This,psd) (This)->lpVtbl->GetSortDescription(This,psd) +#define IPropertyDescriptionSearchInfo_GetSortDescriptionLabel(This,fDescending,ppszDescription) (This)->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription) +#define IPropertyDescriptionSearchInfo_GetAggregationType(This,paggtype) (This)->lpVtbl->GetAggregationType(This,paggtype) +#define IPropertyDescriptionSearchInfo_GetConditionType(This,pcontype,popDefault) (This)->lpVtbl->GetConditionType(This,pcontype,popDefault) +#define IPropertyDescriptionSearchInfo_GetEnumTypeList(This,riid,ppv) (This)->lpVtbl->GetEnumTypeList(This,riid,ppv) +#define IPropertyDescriptionSearchInfo_CoerceToCanonicalValue(This,propvar) (This)->lpVtbl->CoerceToCanonicalValue(This,propvar) +#define IPropertyDescriptionSearchInfo_FormatForDisplay(This,propvar,flags,ppszDisplay) (This)->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay) +#define IPropertyDescriptionSearchInfo_IsValueCanonical(This,propvar) (This)->lpVtbl->IsValueCanonical(This,propvar) +/*** IPropertyDescriptionSearchInfo methods ***/ +#define IPropertyDescriptionSearchInfo_GetSearchInfoFlags(This,ppdsiFlags) (This)->lpVtbl->GetSearchInfoFlags(This,ppdsiFlags) +#define IPropertyDescriptionSearchInfo_GetColumnIndexType(This,ppdciType) (This)->lpVtbl->GetColumnIndexType(This,ppdciType) +#define IPropertyDescriptionSearchInfo_GetProjectionString(This,ppszProjection) (This)->lpVtbl->GetProjectionString(This,ppszProjection) +#define IPropertyDescriptionSearchInfo_GetMaxSize(This,pcbMaxSize) (This)->lpVtbl->GetMaxSize(This,pcbMaxSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_QueryInterface(IPropertyDescriptionSearchInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyDescriptionSearchInfo_AddRef(IPropertyDescriptionSearchInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyDescriptionSearchInfo_Release(IPropertyDescriptionSearchInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyDescription methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetPropertyKey(IPropertyDescriptionSearchInfo* This,PROPERTYKEY *pkey) { + return This->lpVtbl->GetPropertyKey(This,pkey); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetCanonicalName(IPropertyDescriptionSearchInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetCanonicalName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetPropertyType(IPropertyDescriptionSearchInfo* This,VARTYPE *pvartype) { + return This->lpVtbl->GetPropertyType(This,pvartype); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetDisplayName(IPropertyDescriptionSearchInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetEditInvitation(IPropertyDescriptionSearchInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetEditInvitation(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetTypeFlags(IPropertyDescriptionSearchInfo* This,PROPDESC_TYPE_FLAGS mask,PROPDESC_TYPE_FLAGS *ppdtFlags) { + return This->lpVtbl->GetTypeFlags(This,mask,ppdtFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetViewFlags(IPropertyDescriptionSearchInfo* This,PROPDESC_VIEW_FLAGS *ppdvFlags) { + return This->lpVtbl->GetViewFlags(This,ppdvFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetDefaultColumnWidth(IPropertyDescriptionSearchInfo* This,UINT *pcxChars) { + return This->lpVtbl->GetDefaultColumnWidth(This,pcxChars); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetDisplayType(IPropertyDescriptionSearchInfo* This,PROPDESC_DISPLAYTYPE *pdisplaytype) { + return This->lpVtbl->GetDisplayType(This,pdisplaytype); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetColumnState(IPropertyDescriptionSearchInfo* This,SHCOLSTATEF *pcsFlags) { + return This->lpVtbl->GetColumnState(This,pcsFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetGroupingRange(IPropertyDescriptionSearchInfo* This,PROPDESC_GROUPING_RANGE *psd) { + return This->lpVtbl->GetGroupingRange(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetRelativeDescriptionType(IPropertyDescriptionSearchInfo* This,PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt) { + return This->lpVtbl->GetRelativeDescriptionType(This,prdt); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetRelativeDescription(IPropertyDescriptionSearchInfo* This,REFPROPVARIANT propvar1,REFPROPVARIANT propvar2,LPWSTR *ppszDesc1,LPWSTR *ppszDesc2) { + return This->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetSortDescription(IPropertyDescriptionSearchInfo* This,PROPDESC_SORTDESCRIPTION *psd) { + return This->lpVtbl->GetSortDescription(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetSortDescriptionLabel(IPropertyDescriptionSearchInfo* This,BOOL fDescending,LPWSTR *ppszDescription) { + return This->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetAggregationType(IPropertyDescriptionSearchInfo* This,PROPDESC_AGGREGATION_TYPE *paggtype) { + return This->lpVtbl->GetAggregationType(This,paggtype); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetConditionType(IPropertyDescriptionSearchInfo* This,PROPDESC_CONDITION_TYPE *pcontype,CONDITION_OPERATION *popDefault) { + return This->lpVtbl->GetConditionType(This,pcontype,popDefault); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetEnumTypeList(IPropertyDescriptionSearchInfo* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetEnumTypeList(This,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_CoerceToCanonicalValue(IPropertyDescriptionSearchInfo* This,PROPVARIANT *propvar) { + return This->lpVtbl->CoerceToCanonicalValue(This,propvar); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_FormatForDisplay(IPropertyDescriptionSearchInfo* This,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS flags,LPWSTR *ppszDisplay) { + return This->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_IsValueCanonical(IPropertyDescriptionSearchInfo* This,REFPROPVARIANT propvar) { + return This->lpVtbl->IsValueCanonical(This,propvar); +} +/*** IPropertyDescriptionSearchInfo methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetSearchInfoFlags(IPropertyDescriptionSearchInfo* This,PROPDESC_SEARCHINFO_FLAGS *ppdsiFlags) { + return This->lpVtbl->GetSearchInfoFlags(This,ppdsiFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetColumnIndexType(IPropertyDescriptionSearchInfo* This,PROPDESC_COLUMNINDEX_TYPE *ppdciType) { + return This->lpVtbl->GetColumnIndexType(This,ppdciType); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetProjectionString(IPropertyDescriptionSearchInfo* This,LPWSTR *ppszProjection) { + return This->lpVtbl->GetProjectionString(This,ppszProjection); +} +static FORCEINLINE HRESULT IPropertyDescriptionSearchInfo_GetMaxSize(IPropertyDescriptionSearchInfo* This,UINT *pcbMaxSize) { + return This->lpVtbl->GetMaxSize(This,pcbMaxSize); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyDescriptionRelatedPropertyInfo interface + */ +#ifndef __IPropertyDescriptionRelatedPropertyInfo_INTERFACE_DEFINED__ +#define __IPropertyDescriptionRelatedPropertyInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyDescriptionRelatedPropertyInfo, 0x507393f4, 0x2a3d, 0x4a60, 0xb5,0x9e, 0xd9,0xc7,0x57,0x16,0xc2,0xdd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("507393f4-2a3d-4a60-b59e-d9c75716c2dd") +IPropertyDescriptionRelatedPropertyInfo : public IPropertyDescription +{ + virtual HRESULT STDMETHODCALLTYPE GetRelatedProperty( + LPCWSTR ppszRelationshipName, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyDescriptionRelatedPropertyInfo, 0x507393f4, 0x2a3d, 0x4a60, 0xb5,0x9e, 0xd9,0xc7,0x57,0x16,0xc2,0xdd) +#endif +#else +typedef struct IPropertyDescriptionRelatedPropertyInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyDescriptionRelatedPropertyInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyDescriptionRelatedPropertyInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyDescriptionRelatedPropertyInfo *This); + + /*** IPropertyDescription methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyKey)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPERTYKEY *pkey); + + HRESULT (STDMETHODCALLTYPE *GetCanonicalName)( + IPropertyDescriptionRelatedPropertyInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetPropertyType)( + IPropertyDescriptionRelatedPropertyInfo *This, + VARTYPE *pvartype); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IPropertyDescriptionRelatedPropertyInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetEditInvitation)( + IPropertyDescriptionRelatedPropertyInfo *This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetTypeFlags)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_TYPE_FLAGS mask, + PROPDESC_TYPE_FLAGS *ppdtFlags); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_VIEW_FLAGS *ppdvFlags); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumnWidth)( + IPropertyDescriptionRelatedPropertyInfo *This, + UINT *pcxChars); + + HRESULT (STDMETHODCALLTYPE *GetDisplayType)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_DISPLAYTYPE *pdisplaytype); + + HRESULT (STDMETHODCALLTYPE *GetColumnState)( + IPropertyDescriptionRelatedPropertyInfo *This, + SHCOLSTATEF *pcsFlags); + + HRESULT (STDMETHODCALLTYPE *GetGroupingRange)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_GROUPING_RANGE *psd); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescriptionType)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); + + HRESULT (STDMETHODCALLTYPE *GetRelativeDescription)( + IPropertyDescriptionRelatedPropertyInfo *This, + REFPROPVARIANT propvar1, + REFPROPVARIANT propvar2, + LPWSTR *ppszDesc1, + LPWSTR *ppszDesc2); + + HRESULT (STDMETHODCALLTYPE *GetSortDescription)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_SORTDESCRIPTION *psd); + + HRESULT (STDMETHODCALLTYPE *GetSortDescriptionLabel)( + IPropertyDescriptionRelatedPropertyInfo *This, + BOOL fDescending, + LPWSTR *ppszDescription); + + HRESULT (STDMETHODCALLTYPE *GetAggregationType)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_AGGREGATION_TYPE *paggtype); + + HRESULT (STDMETHODCALLTYPE *GetConditionType)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPDESC_CONDITION_TYPE *pcontype, + CONDITION_OPERATION *popDefault); + + HRESULT (STDMETHODCALLTYPE *GetEnumTypeList)( + IPropertyDescriptionRelatedPropertyInfo *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *CoerceToCanonicalValue)( + IPropertyDescriptionRelatedPropertyInfo *This, + PROPVARIANT *propvar); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplay)( + IPropertyDescriptionRelatedPropertyInfo *This, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS flags, + LPWSTR *ppszDisplay); + + HRESULT (STDMETHODCALLTYPE *IsValueCanonical)( + IPropertyDescriptionRelatedPropertyInfo *This, + REFPROPVARIANT propvar); + + /*** IPropertyDescriptionRelatedPropertyInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRelatedProperty)( + IPropertyDescriptionRelatedPropertyInfo *This, + LPCWSTR ppszRelationshipName, + REFIID riid, + void **ppv); + + END_INTERFACE +} IPropertyDescriptionRelatedPropertyInfoVtbl; + +interface IPropertyDescriptionRelatedPropertyInfo { + CONST_VTBL IPropertyDescriptionRelatedPropertyInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyDescriptionRelatedPropertyInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyDescriptionRelatedPropertyInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyDescriptionRelatedPropertyInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyDescription methods ***/ +#define IPropertyDescriptionRelatedPropertyInfo_GetPropertyKey(This,pkey) (This)->lpVtbl->GetPropertyKey(This,pkey) +#define IPropertyDescriptionRelatedPropertyInfo_GetCanonicalName(This,ppszName) (This)->lpVtbl->GetCanonicalName(This,ppszName) +#define IPropertyDescriptionRelatedPropertyInfo_GetPropertyType(This,pvartype) (This)->lpVtbl->GetPropertyType(This,pvartype) +#define IPropertyDescriptionRelatedPropertyInfo_GetDisplayName(This,ppszName) (This)->lpVtbl->GetDisplayName(This,ppszName) +#define IPropertyDescriptionRelatedPropertyInfo_GetEditInvitation(This,ppszName) (This)->lpVtbl->GetEditInvitation(This,ppszName) +#define IPropertyDescriptionRelatedPropertyInfo_GetTypeFlags(This,mask,ppdtFlags) (This)->lpVtbl->GetTypeFlags(This,mask,ppdtFlags) +#define IPropertyDescriptionRelatedPropertyInfo_GetViewFlags(This,ppdvFlags) (This)->lpVtbl->GetViewFlags(This,ppdvFlags) +#define IPropertyDescriptionRelatedPropertyInfo_GetDefaultColumnWidth(This,pcxChars) (This)->lpVtbl->GetDefaultColumnWidth(This,pcxChars) +#define IPropertyDescriptionRelatedPropertyInfo_GetDisplayType(This,pdisplaytype) (This)->lpVtbl->GetDisplayType(This,pdisplaytype) +#define IPropertyDescriptionRelatedPropertyInfo_GetColumnState(This,pcsFlags) (This)->lpVtbl->GetColumnState(This,pcsFlags) +#define IPropertyDescriptionRelatedPropertyInfo_GetGroupingRange(This,psd) (This)->lpVtbl->GetGroupingRange(This,psd) +#define IPropertyDescriptionRelatedPropertyInfo_GetRelativeDescriptionType(This,prdt) (This)->lpVtbl->GetRelativeDescriptionType(This,prdt) +#define IPropertyDescriptionRelatedPropertyInfo_GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) (This)->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2) +#define IPropertyDescriptionRelatedPropertyInfo_GetSortDescription(This,psd) (This)->lpVtbl->GetSortDescription(This,psd) +#define IPropertyDescriptionRelatedPropertyInfo_GetSortDescriptionLabel(This,fDescending,ppszDescription) (This)->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription) +#define IPropertyDescriptionRelatedPropertyInfo_GetAggregationType(This,paggtype) (This)->lpVtbl->GetAggregationType(This,paggtype) +#define IPropertyDescriptionRelatedPropertyInfo_GetConditionType(This,pcontype,popDefault) (This)->lpVtbl->GetConditionType(This,pcontype,popDefault) +#define IPropertyDescriptionRelatedPropertyInfo_GetEnumTypeList(This,riid,ppv) (This)->lpVtbl->GetEnumTypeList(This,riid,ppv) +#define IPropertyDescriptionRelatedPropertyInfo_CoerceToCanonicalValue(This,propvar) (This)->lpVtbl->CoerceToCanonicalValue(This,propvar) +#define IPropertyDescriptionRelatedPropertyInfo_FormatForDisplay(This,propvar,flags,ppszDisplay) (This)->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay) +#define IPropertyDescriptionRelatedPropertyInfo_IsValueCanonical(This,propvar) (This)->lpVtbl->IsValueCanonical(This,propvar) +/*** IPropertyDescriptionRelatedPropertyInfo methods ***/ +#define IPropertyDescriptionRelatedPropertyInfo_GetRelatedProperty(This,ppszRelationshipName,riid,ppv) (This)->lpVtbl->GetRelatedProperty(This,ppszRelationshipName,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_QueryInterface(IPropertyDescriptionRelatedPropertyInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyDescriptionRelatedPropertyInfo_AddRef(IPropertyDescriptionRelatedPropertyInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyDescriptionRelatedPropertyInfo_Release(IPropertyDescriptionRelatedPropertyInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyDescription methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetPropertyKey(IPropertyDescriptionRelatedPropertyInfo* This,PROPERTYKEY *pkey) { + return This->lpVtbl->GetPropertyKey(This,pkey); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetCanonicalName(IPropertyDescriptionRelatedPropertyInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetCanonicalName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetPropertyType(IPropertyDescriptionRelatedPropertyInfo* This,VARTYPE *pvartype) { + return This->lpVtbl->GetPropertyType(This,pvartype); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetDisplayName(IPropertyDescriptionRelatedPropertyInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetEditInvitation(IPropertyDescriptionRelatedPropertyInfo* This,LPWSTR *ppszName) { + return This->lpVtbl->GetEditInvitation(This,ppszName); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetTypeFlags(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_TYPE_FLAGS mask,PROPDESC_TYPE_FLAGS *ppdtFlags) { + return This->lpVtbl->GetTypeFlags(This,mask,ppdtFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetViewFlags(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_VIEW_FLAGS *ppdvFlags) { + return This->lpVtbl->GetViewFlags(This,ppdvFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetDefaultColumnWidth(IPropertyDescriptionRelatedPropertyInfo* This,UINT *pcxChars) { + return This->lpVtbl->GetDefaultColumnWidth(This,pcxChars); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetDisplayType(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_DISPLAYTYPE *pdisplaytype) { + return This->lpVtbl->GetDisplayType(This,pdisplaytype); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetColumnState(IPropertyDescriptionRelatedPropertyInfo* This,SHCOLSTATEF *pcsFlags) { + return This->lpVtbl->GetColumnState(This,pcsFlags); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetGroupingRange(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_GROUPING_RANGE *psd) { + return This->lpVtbl->GetGroupingRange(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetRelativeDescriptionType(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt) { + return This->lpVtbl->GetRelativeDescriptionType(This,prdt); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetRelativeDescription(IPropertyDescriptionRelatedPropertyInfo* This,REFPROPVARIANT propvar1,REFPROPVARIANT propvar2,LPWSTR *ppszDesc1,LPWSTR *ppszDesc2) { + return This->lpVtbl->GetRelativeDescription(This,propvar1,propvar2,ppszDesc1,ppszDesc2); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetSortDescription(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_SORTDESCRIPTION *psd) { + return This->lpVtbl->GetSortDescription(This,psd); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetSortDescriptionLabel(IPropertyDescriptionRelatedPropertyInfo* This,BOOL fDescending,LPWSTR *ppszDescription) { + return This->lpVtbl->GetSortDescriptionLabel(This,fDescending,ppszDescription); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetAggregationType(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_AGGREGATION_TYPE *paggtype) { + return This->lpVtbl->GetAggregationType(This,paggtype); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetConditionType(IPropertyDescriptionRelatedPropertyInfo* This,PROPDESC_CONDITION_TYPE *pcontype,CONDITION_OPERATION *popDefault) { + return This->lpVtbl->GetConditionType(This,pcontype,popDefault); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetEnumTypeList(IPropertyDescriptionRelatedPropertyInfo* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetEnumTypeList(This,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_CoerceToCanonicalValue(IPropertyDescriptionRelatedPropertyInfo* This,PROPVARIANT *propvar) { + return This->lpVtbl->CoerceToCanonicalValue(This,propvar); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_FormatForDisplay(IPropertyDescriptionRelatedPropertyInfo* This,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS flags,LPWSTR *ppszDisplay) { + return This->lpVtbl->FormatForDisplay(This,propvar,flags,ppszDisplay); +} +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_IsValueCanonical(IPropertyDescriptionRelatedPropertyInfo* This,REFPROPVARIANT propvar) { + return This->lpVtbl->IsValueCanonical(This,propvar); +} +/*** IPropertyDescriptionRelatedPropertyInfo methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionRelatedPropertyInfo_GetRelatedProperty(IPropertyDescriptionRelatedPropertyInfo* This,LPCWSTR ppszRelationshipName,REFIID riid,void **ppv) { + return This->lpVtbl->GetRelatedProperty(This,ppszRelationshipName,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyDescriptionRelatedPropertyInfo_INTERFACE_DEFINED__ */ + +typedef enum PROPDESC_ENUMFILTER { + PDEF_ALL = 0, + PDEF_SYSTEM = 1, + PDEF_NONSYSTEM = 2, + PDEF_VIEWABLE = 3, + PDEF_QUERYABLE = 4, + PDEF_INFULLTEXTQUERY = 5, + PDEF_COLUMN = 6 +} PROPDESC_ENUMFILTER; +/***************************************************************************** + * IPropertySystem interface + */ +#ifndef __IPropertySystem_INTERFACE_DEFINED__ +#define __IPropertySystem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertySystem, 0xca724e8a, 0xc3e6, 0x442b, 0x88,0xa4, 0x6f,0xb0,0xdb,0x80,0x35,0xa3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ca724e8a-c3e6-442b-88a4-6fb0db8035a3") +IPropertySystem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPropertyDescription( + REFPROPERTYKEY propkey, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionByName( + LPCWSTR pszCanonicalName, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionListFromString( + LPCWSTR pszPropList, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumeratePropertyDescriptions( + PROPDESC_ENUMFILTER filterOn, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE FormatForDisplay( + REFPROPERTYKEY key, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS pdff, + LPWSTR pszText, + DWORD cchText) = 0; + + virtual HRESULT STDMETHODCALLTYPE FormatForDisplayAlloc( + REFPROPERTYKEY key, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS pdff, + LPWSTR *pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterPropertySchema( + LPCWSTR pszPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterPropertySchema( + LPCWSTR pszPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE RefreshPropertySchema( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertySystem, 0xca724e8a, 0xc3e6, 0x442b, 0x88,0xa4, 0x6f,0xb0,0xdb,0x80,0x35,0xa3) +#endif +#else +typedef struct IPropertySystemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertySystem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertySystem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertySystem *This); + + /*** IPropertySystem methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyDescription)( + IPropertySystem *This, + REFPROPERTYKEY propkey, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyDescriptionByName)( + IPropertySystem *This, + LPCWSTR pszCanonicalName, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyDescriptionListFromString)( + IPropertySystem *This, + LPCWSTR pszPropList, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *EnumeratePropertyDescriptions)( + IPropertySystem *This, + PROPDESC_ENUMFILTER filterOn, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplay)( + IPropertySystem *This, + REFPROPERTYKEY key, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS pdff, + LPWSTR pszText, + DWORD cchText); + + HRESULT (STDMETHODCALLTYPE *FormatForDisplayAlloc)( + IPropertySystem *This, + REFPROPERTYKEY key, + REFPROPVARIANT propvar, + PROPDESC_FORMAT_FLAGS pdff, + LPWSTR *pszText); + + HRESULT (STDMETHODCALLTYPE *RegisterPropertySchema)( + IPropertySystem *This, + LPCWSTR pszPath); + + HRESULT (STDMETHODCALLTYPE *UnregisterPropertySchema)( + IPropertySystem *This, + LPCWSTR pszPath); + + HRESULT (STDMETHODCALLTYPE *RefreshPropertySchema)( + IPropertySystem *This); + + END_INTERFACE +} IPropertySystemVtbl; + +interface IPropertySystem { + CONST_VTBL IPropertySystemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertySystem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertySystem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertySystem_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertySystem methods ***/ +#define IPropertySystem_GetPropertyDescription(This,propkey,riid,ppv) (This)->lpVtbl->GetPropertyDescription(This,propkey,riid,ppv) +#define IPropertySystem_GetPropertyDescriptionByName(This,pszCanonicalName,riid,ppv) (This)->lpVtbl->GetPropertyDescriptionByName(This,pszCanonicalName,riid,ppv) +#define IPropertySystem_GetPropertyDescriptionListFromString(This,pszPropList,riid,ppv) (This)->lpVtbl->GetPropertyDescriptionListFromString(This,pszPropList,riid,ppv) +#define IPropertySystem_EnumeratePropertyDescriptions(This,filterOn,riid,ppv) (This)->lpVtbl->EnumeratePropertyDescriptions(This,filterOn,riid,ppv) +#define IPropertySystem_FormatForDisplay(This,key,propvar,pdff,pszText,cchText) (This)->lpVtbl->FormatForDisplay(This,key,propvar,pdff,pszText,cchText) +#define IPropertySystem_FormatForDisplayAlloc(This,key,propvar,pdff,pszText) (This)->lpVtbl->FormatForDisplayAlloc(This,key,propvar,pdff,pszText) +#define IPropertySystem_RegisterPropertySchema(This,pszPath) (This)->lpVtbl->RegisterPropertySchema(This,pszPath) +#define IPropertySystem_UnregisterPropertySchema(This,pszPath) (This)->lpVtbl->UnregisterPropertySchema(This,pszPath) +#define IPropertySystem_RefreshPropertySchema(This) (This)->lpVtbl->RefreshPropertySchema(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertySystem_QueryInterface(IPropertySystem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertySystem_AddRef(IPropertySystem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertySystem_Release(IPropertySystem* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertySystem methods ***/ +static FORCEINLINE HRESULT IPropertySystem_GetPropertyDescription(IPropertySystem* This,REFPROPERTYKEY propkey,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyDescription(This,propkey,riid,ppv); +} +static FORCEINLINE HRESULT IPropertySystem_GetPropertyDescriptionByName(IPropertySystem* This,LPCWSTR pszCanonicalName,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyDescriptionByName(This,pszCanonicalName,riid,ppv); +} +static FORCEINLINE HRESULT IPropertySystem_GetPropertyDescriptionListFromString(IPropertySystem* This,LPCWSTR pszPropList,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyDescriptionListFromString(This,pszPropList,riid,ppv); +} +static FORCEINLINE HRESULT IPropertySystem_EnumeratePropertyDescriptions(IPropertySystem* This,PROPDESC_ENUMFILTER filterOn,REFIID riid,void **ppv) { + return This->lpVtbl->EnumeratePropertyDescriptions(This,filterOn,riid,ppv); +} +static FORCEINLINE HRESULT IPropertySystem_FormatForDisplay(IPropertySystem* This,REFPROPERTYKEY key,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS pdff,LPWSTR pszText,DWORD cchText) { + return This->lpVtbl->FormatForDisplay(This,key,propvar,pdff,pszText,cchText); +} +static FORCEINLINE HRESULT IPropertySystem_FormatForDisplayAlloc(IPropertySystem* This,REFPROPERTYKEY key,REFPROPVARIANT propvar,PROPDESC_FORMAT_FLAGS pdff,LPWSTR *pszText) { + return This->lpVtbl->FormatForDisplayAlloc(This,key,propvar,pdff,pszText); +} +static FORCEINLINE HRESULT IPropertySystem_RegisterPropertySchema(IPropertySystem* This,LPCWSTR pszPath) { + return This->lpVtbl->RegisterPropertySchema(This,pszPath); +} +static FORCEINLINE HRESULT IPropertySystem_UnregisterPropertySchema(IPropertySystem* This,LPCWSTR pszPath) { + return This->lpVtbl->UnregisterPropertySchema(This,pszPath); +} +static FORCEINLINE HRESULT IPropertySystem_RefreshPropertySchema(IPropertySystem* This) { + return This->lpVtbl->RefreshPropertySchema(This); +} +#endif +#endif + +#endif + + +#endif /* __IPropertySystem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyDescriptionList interface + */ +#ifndef __IPropertyDescriptionList_INTERFACE_DEFINED__ +#define __IPropertyDescriptionList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyDescriptionList, 0x1f9fc1d0, 0xc39b, 0x4b26, 0x81,0x7f, 0x01,0x19,0x67,0xd3,0x44,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f9fc1d0-c39b-4b26-817f-011967d3440e") +IPropertyDescriptionList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pcelem) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAt( + UINT iElem, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyDescriptionList, 0x1f9fc1d0, 0xc39b, 0x4b26, 0x81,0x7f, 0x01,0x19,0x67,0xd3,0x44,0x0e) +#endif +#else +typedef struct IPropertyDescriptionListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyDescriptionList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyDescriptionList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyDescriptionList *This); + + /*** IPropertyDescriptionList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IPropertyDescriptionList *This, + UINT *pcelem); + + HRESULT (STDMETHODCALLTYPE *GetAt)( + IPropertyDescriptionList *This, + UINT iElem, + REFIID riid, + void **ppv); + + END_INTERFACE +} IPropertyDescriptionListVtbl; + +interface IPropertyDescriptionList { + CONST_VTBL IPropertyDescriptionListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyDescriptionList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyDescriptionList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyDescriptionList_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyDescriptionList methods ***/ +#define IPropertyDescriptionList_GetCount(This,pcelem) (This)->lpVtbl->GetCount(This,pcelem) +#define IPropertyDescriptionList_GetAt(This,iElem,riid,ppv) (This)->lpVtbl->GetAt(This,iElem,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionList_QueryInterface(IPropertyDescriptionList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyDescriptionList_AddRef(IPropertyDescriptionList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyDescriptionList_Release(IPropertyDescriptionList* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyDescriptionList methods ***/ +static FORCEINLINE HRESULT IPropertyDescriptionList_GetCount(IPropertyDescriptionList* This,UINT *pcelem) { + return This->lpVtbl->GetCount(This,pcelem); +} +static FORCEINLINE HRESULT IPropertyDescriptionList_GetAt(IPropertyDescriptionList* This,UINT iElem,REFIID riid,void **ppv) { + return This->lpVtbl->GetAt(This,iElem,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyDescriptionList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertyStoreFactory interface + */ +#ifndef __IPropertyStoreFactory_INTERFACE_DEFINED__ +#define __IPropertyStoreFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertyStoreFactory, 0xbc110b6d, 0x57e8, 0x4148, 0xa9,0xc6, 0x91,0x01,0x5a,0xb2,0xf3,0xa5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc110b6d-57e8-4148-a9c6-91015ab2f3a5") +IPropertyStoreFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPropertyStore( + GETPROPERTYSTOREFLAGS flags, + IUnknown *pUnkFactory, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyStoreForKeys( + const PROPERTYKEY *rgKeys, + UINT cKeys, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertyStoreFactory, 0xbc110b6d, 0x57e8, 0x4148, 0xa9,0xc6, 0x91,0x01,0x5a,0xb2,0xf3,0xa5) +#endif +#else +typedef struct IPropertyStoreFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertyStoreFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertyStoreFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertyStoreFactory *This); + + /*** IPropertyStoreFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyStore)( + IPropertyStoreFactory *This, + GETPROPERTYSTOREFLAGS flags, + IUnknown *pUnkFactory, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStoreForKeys)( + IPropertyStoreFactory *This, + const PROPERTYKEY *rgKeys, + UINT cKeys, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv); + + END_INTERFACE +} IPropertyStoreFactoryVtbl; + +interface IPropertyStoreFactory { + CONST_VTBL IPropertyStoreFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertyStoreFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertyStoreFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertyStoreFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyStoreFactory methods ***/ +#define IPropertyStoreFactory_GetPropertyStore(This,flags,pUnkFactory,riid,ppv) (This)->lpVtbl->GetPropertyStore(This,flags,pUnkFactory,riid,ppv) +#define IPropertyStoreFactory_GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv) (This)->lpVtbl->GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertyStoreFactory_QueryInterface(IPropertyStoreFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertyStoreFactory_AddRef(IPropertyStoreFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertyStoreFactory_Release(IPropertyStoreFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyStoreFactory methods ***/ +static FORCEINLINE HRESULT IPropertyStoreFactory_GetPropertyStore(IPropertyStoreFactory* This,GETPROPERTYSTOREFLAGS flags,IUnknown *pUnkFactory,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStore(This,flags,pUnkFactory,riid,ppv); +} +static FORCEINLINE HRESULT IPropertyStoreFactory_GetPropertyStoreForKeys(IPropertyStoreFactory* This,const PROPERTYKEY *rgKeys,UINT cKeys,GETPROPERTYSTOREFLAGS flags,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IPropertyStoreFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDelayedPropertyStoreFactory interface + */ +#ifndef __IDelayedPropertyStoreFactory_INTERFACE_DEFINED__ +#define __IDelayedPropertyStoreFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDelayedPropertyStoreFactory, 0x40d4577f, 0xe237, 0x4bdb, 0xbd,0x69, 0x58,0xf0,0x89,0x43,0x1b,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("40d4577f-e237-4bdb-bd69-58f089431b6a") +IDelayedPropertyStoreFactory : public IPropertyStoreFactory +{ + virtual HRESULT STDMETHODCALLTYPE GetDelayedPropertyStore( + GETPROPERTYSTOREFLAGS flags, + DWORD dwStoreId, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDelayedPropertyStoreFactory, 0x40d4577f, 0xe237, 0x4bdb, 0xbd,0x69, 0x58,0xf0,0x89,0x43,0x1b,0x6a) +#endif +#else +typedef struct IDelayedPropertyStoreFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDelayedPropertyStoreFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDelayedPropertyStoreFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDelayedPropertyStoreFactory *This); + + /*** IPropertyStoreFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyStore)( + IDelayedPropertyStoreFactory *This, + GETPROPERTYSTOREFLAGS flags, + IUnknown *pUnkFactory, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStoreForKeys)( + IDelayedPropertyStoreFactory *This, + const PROPERTYKEY *rgKeys, + UINT cKeys, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv); + + /*** IDelayedPropertyStoreFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDelayedPropertyStore)( + IDelayedPropertyStoreFactory *This, + GETPROPERTYSTOREFLAGS flags, + DWORD dwStoreId, + REFIID riid, + void **ppv); + + END_INTERFACE +} IDelayedPropertyStoreFactoryVtbl; + +interface IDelayedPropertyStoreFactory { + CONST_VTBL IDelayedPropertyStoreFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDelayedPropertyStoreFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDelayedPropertyStoreFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDelayedPropertyStoreFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyStoreFactory methods ***/ +#define IDelayedPropertyStoreFactory_GetPropertyStore(This,flags,pUnkFactory,riid,ppv) (This)->lpVtbl->GetPropertyStore(This,flags,pUnkFactory,riid,ppv) +#define IDelayedPropertyStoreFactory_GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv) (This)->lpVtbl->GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv) +/*** IDelayedPropertyStoreFactory methods ***/ +#define IDelayedPropertyStoreFactory_GetDelayedPropertyStore(This,flags,dwStoreId,riid,ppv) (This)->lpVtbl->GetDelayedPropertyStore(This,flags,dwStoreId,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDelayedPropertyStoreFactory_QueryInterface(IDelayedPropertyStoreFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDelayedPropertyStoreFactory_AddRef(IDelayedPropertyStoreFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDelayedPropertyStoreFactory_Release(IDelayedPropertyStoreFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyStoreFactory methods ***/ +static FORCEINLINE HRESULT IDelayedPropertyStoreFactory_GetPropertyStore(IDelayedPropertyStoreFactory* This,GETPROPERTYSTOREFLAGS flags,IUnknown *pUnkFactory,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStore(This,flags,pUnkFactory,riid,ppv); +} +static FORCEINLINE HRESULT IDelayedPropertyStoreFactory_GetPropertyStoreForKeys(IDelayedPropertyStoreFactory* This,const PROPERTYKEY *rgKeys,UINT cKeys,GETPROPERTYSTOREFLAGS flags,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv); +} +/*** IDelayedPropertyStoreFactory methods ***/ +static FORCEINLINE HRESULT IDelayedPropertyStoreFactory_GetDelayedPropertyStore(IDelayedPropertyStoreFactory* This,GETPROPERTYSTOREFLAGS flags,DWORD dwStoreId,REFIID riid,void **ppv) { + return This->lpVtbl->GetDelayedPropertyStore(This,flags,dwStoreId,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IDelayedPropertyStoreFactory_INTERFACE_DEFINED__ */ + +enum _PERSIST_SPROPSTORE_FLAGS { + FPSPS_DEFAULT = 0, + FPSPS_READONLY = 1 +}; +typedef int PERSIST_SPROPSTORE_FLAGS; +typedef struct tagSERIALIZEDROPSTORAGE SERIALIZEDPROPSTORAGE; +#if 0 +typedef SERIALIZEDPROPSTORAGE *PUSERIALIZEDPROPSTORAGE; +typedef const SERIALIZEDPROPSTORAGE *PCUSERIALIZEDPROPSTORAGE; +#endif +typedef SERIALIZEDPROPSTORAGE UNALIGNED *PUSERIALIZEDPROPSTORAGE; +typedef const SERIALIZEDPROPSTORAGE UNALIGNED *PCUSERIALIZEDPROPSTORAGE; +/***************************************************************************** + * IPersistSerializedPropStorage interface + */ +#ifndef __IPersistSerializedPropStorage_INTERFACE_DEFINED__ +#define __IPersistSerializedPropStorage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPersistSerializedPropStorage, 0xe318ad57, 0x0aa0, 0x450f, 0xac,0xa5, 0x6f,0xab,0x71,0x03,0xd9,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e318ad57-0aa0-450f-aca5-6fab7103d917") +IPersistSerializedPropStorage : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFlags( + PERSIST_SPROPSTORE_FLAGS flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropertyStorage( + PCUSERIALIZEDPROPSTORAGE psps, + DWORD cb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyStorage( + SERIALIZEDPROPSTORAGE **psps, + DWORD *pcb) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistSerializedPropStorage, 0xe318ad57, 0x0aa0, 0x450f, 0xac,0xa5, 0x6f,0xab,0x71,0x03,0xd9,0x17) +#endif +#else +typedef struct IPersistSerializedPropStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistSerializedPropStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistSerializedPropStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistSerializedPropStorage *This); + + /*** IPersistSerializedPropStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFlags)( + IPersistSerializedPropStorage *This, + PERSIST_SPROPSTORE_FLAGS flags); + + HRESULT (STDMETHODCALLTYPE *SetPropertyStorage)( + IPersistSerializedPropStorage *This, + PCUSERIALIZEDPROPSTORAGE psps, + DWORD cb); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStorage)( + IPersistSerializedPropStorage *This, + SERIALIZEDPROPSTORAGE **psps, + DWORD *pcb); + + END_INTERFACE +} IPersistSerializedPropStorageVtbl; + +interface IPersistSerializedPropStorage { + CONST_VTBL IPersistSerializedPropStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistSerializedPropStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistSerializedPropStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistSerializedPropStorage_Release(This) (This)->lpVtbl->Release(This) +/*** IPersistSerializedPropStorage methods ***/ +#define IPersistSerializedPropStorage_SetFlags(This,flags) (This)->lpVtbl->SetFlags(This,flags) +#define IPersistSerializedPropStorage_SetPropertyStorage(This,psps,cb) (This)->lpVtbl->SetPropertyStorage(This,psps,cb) +#define IPersistSerializedPropStorage_GetPropertyStorage(This,psps,pcb) (This)->lpVtbl->GetPropertyStorage(This,psps,pcb) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistSerializedPropStorage_QueryInterface(IPersistSerializedPropStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistSerializedPropStorage_AddRef(IPersistSerializedPropStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistSerializedPropStorage_Release(IPersistSerializedPropStorage* This) { + return This->lpVtbl->Release(This); +} +/*** IPersistSerializedPropStorage methods ***/ +static FORCEINLINE HRESULT IPersistSerializedPropStorage_SetFlags(IPersistSerializedPropStorage* This,PERSIST_SPROPSTORE_FLAGS flags) { + return This->lpVtbl->SetFlags(This,flags); +} +static FORCEINLINE HRESULT IPersistSerializedPropStorage_SetPropertyStorage(IPersistSerializedPropStorage* This,PCUSERIALIZEDPROPSTORAGE psps,DWORD cb) { + return This->lpVtbl->SetPropertyStorage(This,psps,cb); +} +static FORCEINLINE HRESULT IPersistSerializedPropStorage_GetPropertyStorage(IPersistSerializedPropStorage* This,SERIALIZEDPROPSTORAGE **psps,DWORD *pcb) { + return This->lpVtbl->GetPropertyStorage(This,psps,pcb); +} +#endif +#endif + +#endif + + +#endif /* __IPersistSerializedPropStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistSerializedPropStorage2 interface + */ +#ifndef __IPersistSerializedPropStorage2_INTERFACE_DEFINED__ +#define __IPersistSerializedPropStorage2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPersistSerializedPropStorage2, 0x77effa68, 0x4f98, 0x4366, 0xba,0x72, 0x57,0x3b,0x3d,0x88,0x05,0x71); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("77effa68-4f98-4366-ba72-573b3d880571") +IPersistSerializedPropStorage2 : public IPersistSerializedPropStorage +{ + virtual HRESULT STDMETHODCALLTYPE GetpropertyStorageSize( + DWORD *pcb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyStorageBuffer( + SERIALIZEDPROPSTORAGE *psps, + DWORD cb, + DWORD *pcbWritten) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistSerializedPropStorage2, 0x77effa68, 0x4f98, 0x4366, 0xba,0x72, 0x57,0x3b,0x3d,0x88,0x05,0x71) +#endif +#else +typedef struct IPersistSerializedPropStorage2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistSerializedPropStorage2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistSerializedPropStorage2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistSerializedPropStorage2 *This); + + /*** IPersistSerializedPropStorage methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFlags)( + IPersistSerializedPropStorage2 *This, + PERSIST_SPROPSTORE_FLAGS flags); + + HRESULT (STDMETHODCALLTYPE *SetPropertyStorage)( + IPersistSerializedPropStorage2 *This, + PCUSERIALIZEDPROPSTORAGE psps, + DWORD cb); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStorage)( + IPersistSerializedPropStorage2 *This, + SERIALIZEDPROPSTORAGE **psps, + DWORD *pcb); + + /*** IPersistSerializedPropStorage2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetpropertyStorageSize)( + IPersistSerializedPropStorage2 *This, + DWORD *pcb); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStorageBuffer)( + IPersistSerializedPropStorage2 *This, + SERIALIZEDPROPSTORAGE *psps, + DWORD cb, + DWORD *pcbWritten); + + END_INTERFACE +} IPersistSerializedPropStorage2Vtbl; + +interface IPersistSerializedPropStorage2 { + CONST_VTBL IPersistSerializedPropStorage2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistSerializedPropStorage2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistSerializedPropStorage2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistSerializedPropStorage2_Release(This) (This)->lpVtbl->Release(This) +/*** IPersistSerializedPropStorage methods ***/ +#define IPersistSerializedPropStorage2_SetFlags(This,flags) (This)->lpVtbl->SetFlags(This,flags) +#define IPersistSerializedPropStorage2_SetPropertyStorage(This,psps,cb) (This)->lpVtbl->SetPropertyStorage(This,psps,cb) +#define IPersistSerializedPropStorage2_GetPropertyStorage(This,psps,pcb) (This)->lpVtbl->GetPropertyStorage(This,psps,pcb) +/*** IPersistSerializedPropStorage2 methods ***/ +#define IPersistSerializedPropStorage2_GetpropertyStorageSize(This,pcb) (This)->lpVtbl->GetpropertyStorageSize(This,pcb) +#define IPersistSerializedPropStorage2_GetPropertyStorageBuffer(This,psps,cb,pcbWritten) (This)->lpVtbl->GetPropertyStorageBuffer(This,psps,cb,pcbWritten) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistSerializedPropStorage2_QueryInterface(IPersistSerializedPropStorage2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistSerializedPropStorage2_AddRef(IPersistSerializedPropStorage2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistSerializedPropStorage2_Release(IPersistSerializedPropStorage2* This) { + return This->lpVtbl->Release(This); +} +/*** IPersistSerializedPropStorage methods ***/ +static FORCEINLINE HRESULT IPersistSerializedPropStorage2_SetFlags(IPersistSerializedPropStorage2* This,PERSIST_SPROPSTORE_FLAGS flags) { + return This->lpVtbl->SetFlags(This,flags); +} +static FORCEINLINE HRESULT IPersistSerializedPropStorage2_SetPropertyStorage(IPersistSerializedPropStorage2* This,PCUSERIALIZEDPROPSTORAGE psps,DWORD cb) { + return This->lpVtbl->SetPropertyStorage(This,psps,cb); +} +static FORCEINLINE HRESULT IPersistSerializedPropStorage2_GetPropertyStorage(IPersistSerializedPropStorage2* This,SERIALIZEDPROPSTORAGE **psps,DWORD *pcb) { + return This->lpVtbl->GetPropertyStorage(This,psps,pcb); +} +/*** IPersistSerializedPropStorage2 methods ***/ +static FORCEINLINE HRESULT IPersistSerializedPropStorage2_GetpropertyStorageSize(IPersistSerializedPropStorage2* This,DWORD *pcb) { + return This->lpVtbl->GetpropertyStorageSize(This,pcb); +} +static FORCEINLINE HRESULT IPersistSerializedPropStorage2_GetPropertyStorageBuffer(IPersistSerializedPropStorage2* This,SERIALIZEDPROPSTORAGE *psps,DWORD cb,DWORD *pcbWritten) { + return This->lpVtbl->GetPropertyStorageBuffer(This,psps,cb,pcbWritten); +} +#endif +#endif + +#endif + + +#endif /* __IPersistSerializedPropStorage2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPropertySystemChangeNotify interface + */ +#ifndef __IPropertySystemChangeNotify_INTERFACE_DEFINED__ +#define __IPropertySystemChangeNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertySystemChangeNotify, 0xfa955fd9, 0x38be, 0x4879, 0xa6,0xce, 0x82,0x4c,0xf5,0x2d,0x60,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fa955fd9-38be-4879-a6ce-824cf52d609f") +IPropertySystemChangeNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SchemaRefreshed( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertySystemChangeNotify, 0xfa955fd9, 0x38be, 0x4879, 0xa6,0xce, 0x82,0x4c,0xf5,0x2d,0x60,0x9f) +#endif +#else +typedef struct IPropertySystemChangeNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertySystemChangeNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertySystemChangeNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertySystemChangeNotify *This); + + /*** IPropertySystemChangeNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *SchemaRefreshed)( + IPropertySystemChangeNotify *This); + + END_INTERFACE +} IPropertySystemChangeNotifyVtbl; + +interface IPropertySystemChangeNotify { + CONST_VTBL IPropertySystemChangeNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertySystemChangeNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertySystemChangeNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertySystemChangeNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertySystemChangeNotify methods ***/ +#define IPropertySystemChangeNotify_SchemaRefreshed(This) (This)->lpVtbl->SchemaRefreshed(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertySystemChangeNotify_QueryInterface(IPropertySystemChangeNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertySystemChangeNotify_AddRef(IPropertySystemChangeNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertySystemChangeNotify_Release(IPropertySystemChangeNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertySystemChangeNotify methods ***/ +static FORCEINLINE HRESULT IPropertySystemChangeNotify_SchemaRefreshed(IPropertySystemChangeNotify* This) { + return This->lpVtbl->SchemaRefreshed(This); +} +#endif +#endif + +#endif + + +#endif /* __IPropertySystemChangeNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICreateObject interface + */ +#ifndef __ICreateObject_INTERFACE_DEFINED__ +#define __ICreateObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICreateObject, 0x75121952, 0xe0d0, 0x43e5, 0x93,0x80, 0x1d,0x80,0x48,0x3a,0xcf,0x72); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("75121952-e0d0-43e5-9380-1d80483acf72") +ICreateObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateObject( + REFCLSID clsid, + IUnknown *pUnkOuter, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateObject, 0x75121952, 0xe0d0, 0x43e5, 0x93,0x80, 0x1d,0x80,0x48,0x3a,0xcf,0x72) +#endif +#else +typedef struct ICreateObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateObject *This); + + /*** ICreateObject methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateObject)( + ICreateObject *This, + REFCLSID clsid, + IUnknown *pUnkOuter, + REFIID riid, + void **ppv); + + END_INTERFACE +} ICreateObjectVtbl; + +interface ICreateObject { + CONST_VTBL ICreateObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateObject_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateObject methods ***/ +#define ICreateObject_CreateObject(This,clsid,pUnkOuter,riid,ppv) (This)->lpVtbl->CreateObject(This,clsid,pUnkOuter,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateObject_QueryInterface(ICreateObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateObject_AddRef(ICreateObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateObject_Release(ICreateObject* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateObject methods ***/ +static FORCEINLINE HRESULT ICreateObject_CreateObject(ICreateObject* This,REFCLSID clsid,IUnknown *pUnkOuter,REFIID riid,void **ppv) { + return This->lpVtbl->CreateObject(This,clsid,pUnkOuter,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __ICreateObject_INTERFACE_DEFINED__ */ + +#define PKEY_PIDSTR_MAX 10 +#define GUIDSTRING_MAX 39 +#define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX) +HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY,LPWSTR,UINT); +HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR,PROPERTYKEY*); +HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY,REFIID,void **); +HRESULT WINAPI PSGetPropertyDescriptionListFromString(LPCWSTR,REFIID,void **); +HRESULT WINAPI PSRefreshPropertySchema(void); +HRESULT WINAPI PSRegisterPropertySchema(LPCWSTR); +HRESULT WINAPI PSUnregisterPropertySchema(LPCWSTR); + +DEFINE_GUID(LIBID_PropSysObjects, 0x2cda3294, 0x6c4f, 0x4020, 0xb1,0x61, 0x27,0xc5,0x30,0xc8,0x1f,0xa6); + +/***************************************************************************** + * InMemoryPropertyStore coclass + */ + +DEFINE_GUID(CLSID_InMemoryPropertyStore, 0x9a02e012, 0x6303, 0x4e1e, 0xb9,0xa1, 0x63,0x0f,0x80,0x25,0x92,0xc5); + +#ifdef __cplusplus +class DECLSPEC_UUID("9a02e012-6303-4e1e-b9a1-630f802592c5") InMemoryPropertyStore; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(InMemoryPropertyStore, 0x9a02e012, 0x6303, 0x4e1e, 0xb9,0xa1, 0x63,0x0f,0x80,0x25,0x92,0xc5) +#endif +#endif + +/***************************************************************************** + * PropertySystem coclass + */ + +DEFINE_GUID(CLSID_PropertySystem, 0xb8967f86, 0x58ae, 0x4f96, 0x9f,0xb2, 0x5d,0x79,0x04,0x79,0x8f,0x4b); + +#ifdef __cplusplus +class DECLSPEC_UUID("b8967f86-58ae-4f96-9fb2-5d7904798f4b") PropertySystem; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(PropertySystem, 0xb8967f86, 0x58ae, 0x4f96, 0x9f,0xb2, 0x5d,0x79,0x04,0x79,0x8f,0x4b) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __propsys_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propsys.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propsys.idl new file mode 100644 index 0000000..04d3fbf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propsys.idl @@ -0,0 +1,827 @@ +/* + * system property interfaces + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + + +import "objidl.idl"; +import "oleidl.idl"; +import "ocidl.idl"; +import "shtypes.idl"; +import "structuredquerycondition.idl"; + +cpp_quote("#ifndef PSSTDAPI") +cpp_quote("#define PSSTDAPI EXTERN_C DECLSPEC_IMPORT HRESULT STDAPICALLTYPE") +cpp_quote("#endif") + +cpp_quote("#if 0") +typedef PROPERTYKEY *REFPROPERTYKEY; +cpp_quote("#endif") +cpp_quote("#include ") + +[ + uuid(b7d14566-0509-4cce-a71f-0a554233bd9b), + object, + pointer_default(unique) +] +interface IInitializeWithFile : IUnknown +{ + HRESULT Initialize( + [in,string] LPCWSTR pszFilePath, + [in] DWORD grfMode + ); +} + +[ + uuid(b824b49d-22ac-4161-ac8a-9916e8fa3f7f), + object, + pointer_default(unique) +] +interface IInitializeWithStream : IUnknown +{ + [local] HRESULT Initialize( + [in] IStream *pstream, + [in] DWORD grfMode + ); +} + +[ + uuid(886d8eeb-8cf2-4446-8d02-cdba1dbdcf99), + object, + pointer_default(unique) +] +interface IPropertyStore : IUnknown +{ + HRESULT GetCount( + [out] DWORD *cProps + ); + HRESULT GetAt( + [in] DWORD iProp, + [out] PROPERTYKEY *pkey + ); + HRESULT GetValue( + [in] REFPROPERTYKEY key, + [out] PROPVARIANT *pv + ); + HRESULT SetValue( + [in] REFPROPERTYKEY key, + [in] REFPROPVARIANT propvar + ); + HRESULT Commit(void); +} + +typedef IPropertyStore *LPPROPERTYSTORE; + +[ + uuid(71604b0f-97b0-4764-8577-2f13e98a1422), + object, + pointer_default(unique) +] +interface INamedPropertyStore : IUnknown +{ + HRESULT GetNamedValue( + [in,string] LPCWSTR pszName, + [out] PROPVARIANT *ppropvar + ); + HRESULT SetNamedValue( + [in,string] LPCWSTR pszName, + [in] REFPROPVARIANT propvar + ); + HRESULT GetNameCount( + [out] DWORD *pdwCount + ); + HRESULT GetNameAt( + [in] DWORD iProp, + [out] BSTR *pbstrName + ); +} + +typedef [v1_enum] enum GETPROPERTYSTOREFLAGS +{ + GPS_DEFAULT = 0x00, + GPS_HANDLERPROPERTIESONLY = 0x01, + GPS_READWRITE = 0x02, + GPS_TEMPORARY = 0x04, + GPS_FASTPROPERTIESONLY = 0x08, + GPS_OPENSLOWITEM = 0x10, + GPS_DELAYCREATION = 0x20, + GPS_BESTEFFORT = 0x40, + GPS_NO_OPLOCK = 0x80, + GPS_MASK_VALID = 0xff +} GETPROPERTYSTOREFLAGS; + +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(GETPROPERTYSTOREFLAGS)") + +[ + uuid(fc0ca0a7-c316-4fd2-9031-3e628e6d4f23), + object +] +interface IObjectWithPropertyKey : IUnknown +{ + HRESULT SetPropertyKey( + [in] REFPROPERTYKEY key + ); + HRESULT GetPropertyKey( + [out] PROPERTYKEY *key + ); +} + +typedef [v1_enum] enum PKA_FLAGS +{ + PKA_SET, + PKA_APPEND, + PKA_DELETE +} PKA_FLAGS; + +[ + uuid(f917bc8a-1bba-4478-a245-1bde03eb9431), + object, + pointer_default(unique) +] +interface IPropertyChange : IObjectWithPropertyKey +{ + HRESULT ApplyToPropVariant([in] REFPROPVARIANT propvarin, [out] PROPVARIANT *propvarout); +} + +[ + uuid(380f5cad-1b5e-42f2-805d-637fd392d31e), + object, + pointer_default(unique) +] +interface IPropertyChangeArray : IUnknown +{ + HRESULT GetCount( + [out] UINT *pcOperations + ); + HRESULT GetAt( + [in] UINT iIndex, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv + ); + HRESULT InsertAt( + [in] UINT iIndex, + [in] IPropertyChange *ppropChange + ); + HRESULT Append( + [in] IPropertyChange *ppropChange + ); + HRESULT AppendOrReplace( + [in] IPropertyChange *ppropChange + ); + HRESULT RemoveAt( + [in] UINT iIndex + ); + HRESULT IsKeyInArray( + [in] REFPROPERTYKEY key + ); +} + +[ + uuid(c8e2d566-186e-4d49-bf41-6909ead56acc), + object, + pointer_default(unique) +] +interface IPropertyStoreCapabilities : IUnknown +{ + HRESULT IsPropertyWritable( + [in] REFPROPERTYKEY key + ); +} + +[ + uuid(3017056d-9a91-4e90-937d-746c72abbf4f), + object, + pointer_default(unique) +] +interface IPropertyStoreCache : IPropertyStore +{ + typedef [v1_enum] enum PSC_STATE + { + PSC_NORMAL = 0, + PSC_NOTINSOURCE, + PSC_DIRTY, + PSC_READONLY + } PSC_STATE; + + HRESULT GetState( + [in] REFPROPERTYKEY key, + [out] PSC_STATE *pstate + ); + HRESULT GetValueAndState( + [in] REFPROPERTYKEY key, + [out] PROPVARIANT *ppropvar, + [out] PSC_STATE *pstate + ); + HRESULT SetState( + [in] REFPROPERTYKEY key, + [in] PSC_STATE pstate + ); + HRESULT SetValueAndState( + [in] REFPROPERTYKEY key, + [in, unique] const PROPVARIANT *ppropvar, + [in] PSC_STATE state + ); +} + +[ + uuid(11e1fbf9-2d56-4a6b-8db3-7cd193a471f2), + object, + pointer_default(unique) +] +interface IPropertyEnumType : IUnknown +{ + typedef [v1_enum] enum PROPENUMTYPE + { + PET_DISCRETEVALUE = 0, + PET_RANGEDVALUE, + PET_DEFAULTVALUE, + PET_ENDRANGE + } PROPENUMTYPE; + + HRESULT GetEnumType( + [out] PROPENUMTYPE *penumtype + ); + HRESULT GetValue( + [out] PROPVARIANT *ppropvar + ); + HRESULT GetRangeMinValue( + [out] PROPVARIANT *ppropvar + ); + HRESULT GetRangeSetValue( + [out] PROPVARIANT *ppropvar + ); + HRESULT GetDisplayText( + [out] LPWSTR *ppszDisplay + ); +} + +[ + uuid(9b6e051c-5ddd-4321-9070-fe2acb55e974), + object, + pointer_default(unique) +] +interface IPropertyEnumType2 : IPropertyEnumType +{ + HRESULT GetImageReference( + [out] LPWSTR *ppszImageRes + ); +} + +[ + uuid(a99400f4-3d84-4557-94ba-1242fb2cc9a6), + object, + pointer_default(unique) +] +interface IPropertyEnumTypeList : IUnknown +{ + HRESULT GetCount( + [out] UINT *pctypes + ); + HRESULT GetAt( + [in] UINT itype, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv + ); + HRESULT GetConditionAt( + [in] UINT nIndex, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv + ); + HRESULT FindMatchingIndex( + [in] REFPROPVARIANT propvarCmp, + [out] UINT *pnIndex + ); +} + +[ + uuid(6f79d558-3e96-4549-a1d1-7d75d2288814), + object, + pointer_default(unique) +] +interface IPropertyDescription : IUnknown +{ + typedef [v1_enum] enum PROPDESC_TYPE_FLAGS + { + PDTF_DEFAULT = 0, + PDTF_MULTIPLEVALUES = 0x001, + PDTF_ISINNATE = 0x002, + PDTF_ISGROUP = 0x004, + PDTF_CANGROUPBY = 0x008, + PDTF_CANSTACKBY = 0x010, + PDTF_ISTREEPROPERTY = 0x020, + PDTF_INCLUDEINFULLTEXTQUERY = 0x040, + PDTF_ISVIEWABLE = 0x080, + PDTF_ISQUERYABLE = 0x100, + PDTF_CANBEPURGED = 0x200, + PDTF_SEARCHRAWVALUE = 0x400, + PDTF_ISSYSTEMPROPERTY = 0x80000000, + PDTF_MASK_ALL = 0x800007ff + } PROPDESC_TYPE_FLAGS; + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_TYPE_FLAGS)") + + typedef [v1_enum] enum PROPDESC_VIEW_FLAGS + { + PDVF_DEFAULT = 0x0000, + PDVF_CENTERALIGN = 0x0001, + PDVF_RIGHTALIGN = 0x0002, + PDVF_BEGINNEWGROUP = 0x0004, + PDVF_FILLAREA = 0x0008, + PDVF_SORTDESCENDING = 0x0010, + PDVF_SHOWONLYIFPRESENT = 0x0020, + PDVF_SHOWBYDEFAULT = 0x0040, + PDVF_SHOWINPRIMARYLIST = 0x0080, + PDVF_SHOWINSECONDARYLIST = 0x0100, + PDVF_HIDELABEL = 0x0200, + PDVF_HIDDEN = 0x0800, + PDVF_CANWRAP = 0x1000, + PDVF_MASK_ALL = 0x1bff + } PROPDESC_VIEW_FLAGS; + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_VIEW_FLAGS)") + + typedef [v1_enum] enum PROPDESC_DISPLAYTYPE + { + PDDT_STRING = 0, + PDDT_NUMBER, + PDDT_BOOLEAN, + PDDT_DATETIME, + PDDT_ENUMERATED + } PROPDESC_DISPLAYTYPE; + + typedef [v1_enum] enum PROPDESC_GROUPING_RANGE + { + PDGR_DISCRETE = 0, + PDGR_ALPHANUMERIC, + PDGR_SIZE, + PDGR_DYNAMIC, + PDGR_DATE, + PDGR_PERCENT, + PDGR_ENUMERATED + } PROPDESC_GROUPING_RANGE; + + typedef [v1_enum] enum PROPDESC_FORMAT_FLAGS + { + PDFF_DEFAULT = 0x0000, + PDFF_PREFIXNAME = 0x0001, + PDFF_FILENAME = 0x0002, + PDFF_ALWAYSKB = 0x0004, + PDFF_RESERVED_RIGHTTOLEFT = 0x0008, + PDFF_SHORTTIME = 0x0010, + PDFF_LONGTIME = 0x0020, + PDFF_HIDETIME = 0x0040, + PDFF_SHORTDATE = 0x0080, + PDFF_LONGDATE = 0x0100, + PDFF_HIDEDATE = 0x0200, + PDFF_RELATIVEDATE = 0x0400, + PDFF_USEEDITINVITATION = 0x0800, + PDFF_READONLY = 0x1000, + PDFF_NOAUTOREADINGORDER = 0x2000 + } PROPDESC_FORMAT_FLAGS; + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_FORMAT_FLAGS)") + + typedef [v1_enum] enum PROPDESC_SORTDESCRIPTION + { + PDSD_GENERAL = 0, + PDSD_A_Z, + PDSD_LOWEST_HIGHEST, + PDSD_SMALLEST_BIGGEST, + PDSD_OLDEST_NEWEST + } PROPDESC_SORTDESCRIPTION; + + typedef [v1_enum] enum PROPDESC_RELATIVEDESCRIPTION_TYPE + { + PDRDT_GENERAL = 0, + PDRDT_DATE, + PDRDT_SIZE, + PDRDT_COUNT, + PDRDT_REVISION, + PDRDT_LENGTH, + PDRDT_DURATION, + PDRDT_SPEED, + PDRDT_RATE, + PDRDT_RATING, + PDRDT_PRIORITY + } PROPDESC_RELATIVEDESCRIPTION_TYPE; + + typedef [v1_enum] enum PROPDESC_AGGREGATION_TYPE + { + PDAT_DEFAULT = 0, + PDAT_FIRST, + PDAT_SUM, + PDAT_AVERAGE, + PDAT_DATERANGE, + PDAT_UNION, + PDAT_MAX, + PDAT_MIN + } PROPDESC_AGGREGATION_TYPE; + + typedef [v1_enum] enum PROPDESC_CONDITION_TYPE + { + PDCOT_NONE = 0, + PDCOT_STRING, + PDCOT_SIZE, + PDCOT_DATETIME, + PDCOT_BOOLEAN, + PDCOT_NUMBER + } PROPDESC_CONDITION_TYPE; + + HRESULT GetPropertyKey( + [out] PROPERTYKEY *pkey + ); + HRESULT GetCanonicalName( + [out, string] LPWSTR *ppszName + ); + HRESULT GetPropertyType( + [out] VARTYPE *pvartype + ); + HRESULT GetDisplayName( + [out, string] LPWSTR *ppszName + ); + HRESULT GetEditInvitation( + [out, string] LPWSTR *ppszName + ); + HRESULT GetTypeFlags( + [in] PROPDESC_TYPE_FLAGS mask, + [out] PROPDESC_TYPE_FLAGS *ppdtFlags + ); + HRESULT GetViewFlags( + [out] PROPDESC_VIEW_FLAGS *ppdvFlags + ); + HRESULT GetDefaultColumnWidth( + [out] UINT *pcxChars + ); + HRESULT GetDisplayType( + [out] PROPDESC_DISPLAYTYPE *pdisplaytype + ); + HRESULT GetColumnState( + [out] SHCOLSTATEF *pcsFlags + ); + HRESULT GetGroupingRange( + [out] PROPDESC_GROUPING_RANGE *psd + ); + HRESULT GetRelativeDescriptionType( + [out] PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt + ); + HRESULT GetRelativeDescription( + [in] REFPROPVARIANT propvar1, + [in] REFPROPVARIANT propvar2, + [out,string] LPWSTR *ppszDesc1, + [out,string] LPWSTR *ppszDesc2 + ); + HRESULT GetSortDescription( + [out] PROPDESC_SORTDESCRIPTION *psd + ); + HRESULT GetSortDescriptionLabel( + [in] BOOL fDescending, + [out,string] LPWSTR *ppszDescription + ); + HRESULT GetAggregationType( + [out] PROPDESC_AGGREGATION_TYPE *paggtype + ); + HRESULT GetConditionType( + [out] PROPDESC_CONDITION_TYPE *pcontype, + [out] CONDITION_OPERATION *popDefault + ); + HRESULT GetEnumTypeList( + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + [local] HRESULT CoerceToCanonicalValue( + [in,out] PROPVARIANT *propvar + ); + [call_as(CoerceToCanonicalValue)] HRESULT RemoteCoerceToCanonicalValue( + [in] REFPROPVARIANT propvar, + [out] PROPVARIANT *ppropvar + ); + HRESULT FormatForDisplay( + [in] REFPROPVARIANT propvar, + [in] PROPDESC_FORMAT_FLAGS flags, + [out,string] LPWSTR *ppszDisplay + ); + HRESULT IsValueCanonical( + [in] REFPROPVARIANT propvar + ); +} + +[ + uuid(57d2eded-5062-400e-b107-5dae79fe57a6), + object, + pointer_default(unique) +] +interface IPropertyDescription2 : IPropertyDescription +{ + HRESULT GetImageReferenceForValue( + [in] REFPROPVARIANT propvar, + [out,string] LPWSTR *ppszImageRes + ); +} + +[ + uuid(f67104fc-2af9-46fd-b32d-243c1404f3d1), + object, + pointer_default(unique) +] +interface IPropertyDescriptionAliasInfo : IPropertyDescription +{ + HRESULT GetSortByAlias( + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + HRESULT GetAdditionalSortByAliases( + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); +} + +[ + uuid(078f91bd-29a2-440f-924e-46a291524520), + object, + pointer_default(unique) +] +interface IPropertyDescriptionSearchInfo : IPropertyDescription +{ + typedef [v1_enum] enum PROPDESC_SEARCHINFO_FLAGS + { + PDSIF_DEFAULT = 0x0, + PDSIF_ININVERTEDINDEX = 0x1, + PDSIF_ISCOLUMN = 0x2, + PDSIF_ISCOLUMNSPARSE = 0x4, + PDSIF_ALWAYSINCLUDE = 0x8, + } PROPDESC_SEARCHINFO_FLAGS; + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_SEARCHINFO_FLAGS)") + + typedef [v1_enum] enum PROPDESC_COLUMNINDEX_TYPE + { + PDCIT_NONE = 0, + PDCIT_ONDISK, + PDCIT_INMEMORY, + PDCIT_ONDEMAND, + PDCIT_ONDISKALL, + PDCIT_ONDISKVECTOR + } PROPDESC_COLUMNINDEX_TYPE; + + HRESULT GetSearchInfoFlags( + [out] PROPDESC_SEARCHINFO_FLAGS *ppdsiFlags + ); + HRESULT GetColumnIndexType( + [out] PROPDESC_COLUMNINDEX_TYPE *ppdciType + ); + HRESULT GetProjectionString( + [out] LPWSTR *ppszProjection + ); + HRESULT GetMaxSize( + [out] UINT *pcbMaxSize + ); +} + +[ + uuid(507393f4-2a3d-4a60-b59e-d9c75716c2dd), + object, + pointer_default(unique) +] +interface IPropertyDescriptionRelatedPropertyInfo : IPropertyDescription +{ + HRESULT GetRelatedProperty( + [in] LPCWSTR ppszRelationshipName, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); +} + +typedef [v1_enum] enum PROPDESC_ENUMFILTER +{ + PDEF_ALL = 0, + PDEF_SYSTEM, + PDEF_NONSYSTEM, + PDEF_VIEWABLE, + PDEF_QUERYABLE, + PDEF_INFULLTEXTQUERY, + PDEF_COLUMN +} PROPDESC_ENUMFILTER; + +[ + uuid(ca724e8a-c3e6-442b-88a4-6fb0db8035a3), + object, + pointer_default(unique) +] +interface IPropertySystem : IUnknown +{ + HRESULT GetPropertyDescription( + [in] REFPROPERTYKEY propkey, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + HRESULT GetPropertyDescriptionByName( + [in,string] LPCWSTR pszCanonicalName, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + HRESULT GetPropertyDescriptionListFromString( + [in,string] LPCWSTR pszPropList, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + HRESULT EnumeratePropertyDescriptions( + [in] PROPDESC_ENUMFILTER filterOn, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + HRESULT FormatForDisplay( + [in] REFPROPERTYKEY key, + [in] REFPROPVARIANT propvar, + [in] PROPDESC_FORMAT_FLAGS pdff, + [out,string,size_is(cchText)] LPWSTR pszText, + [in] DWORD cchText + ); + HRESULT FormatForDisplayAlloc( + [in] REFPROPERTYKEY key, + [in] REFPROPVARIANT propvar, + [in] PROPDESC_FORMAT_FLAGS pdff, + [out,string] LPWSTR *pszText + ); + HRESULT RegisterPropertySchema( + [in,string] LPCWSTR pszPath + ); + HRESULT UnregisterPropertySchema( + [in,string] LPCWSTR pszPath + ); + HRESULT RefreshPropertySchema(void); +} + +[ + uuid(1f9fc1d0-c39b-4b26-817f-011967d3440e), + object, + pointer_default(unique) +] +interface IPropertyDescriptionList : IUnknown +{ + HRESULT GetCount( + [out] UINT *pcelem + ); + HRESULT GetAt( + [in] UINT iElem, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); +} + +[ + uuid(bc110b6d-57e8-4148-a9c6-91015ab2f3a5), + object, + pointer_default(unique) +] +interface IPropertyStoreFactory : IUnknown +{ + HRESULT GetPropertyStore( + [in] GETPROPERTYSTOREFLAGS flags, + [in,unique] IUnknown *pUnkFactory, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); + HRESULT GetPropertyStoreForKeys( + [in,unique] const PROPERTYKEY *rgKeys, + [in] UINT cKeys, + [in] GETPROPERTYSTOREFLAGS flags, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); +} + +[ + uuid(40d4577f-e237-4bdb-bd69-58f089431b6a), + object, + pointer_default(unique) +] +interface IDelayedPropertyStoreFactory : IPropertyStoreFactory +{ + HRESULT GetDelayedPropertyStore( + [in] GETPROPERTYSTOREFLAGS flags, + [in] DWORD dwStoreId, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); +} + +[v1_enum] enum _PERSIST_SPROPSTORE_FLAGS +{ + FPSPS_DEFAULT = 0, + FPSPS_READONLY = 1 +}; +typedef int PERSIST_SPROPSTORE_FLAGS; + +typedef struct tagSERIALIZEDROPSTORAGE SERIALIZEDPROPSTORAGE; + +cpp_quote("#if 0") /* Wine doesn't have __unaligned builtin, hack */ +typedef SERIALIZEDPROPSTORAGE *PUSERIALIZEDPROPSTORAGE; +typedef const SERIALIZEDPROPSTORAGE *PCUSERIALIZEDPROPSTORAGE; +cpp_quote("#endif") +cpp_quote("typedef SERIALIZEDPROPSTORAGE UNALIGNED *PUSERIALIZEDPROPSTORAGE;") +cpp_quote("typedef const SERIALIZEDPROPSTORAGE UNALIGNED *PCUSERIALIZEDPROPSTORAGE;") + +[ + uuid(e318ad57-0aa0-450f-aca5-6fab7103d917), + pointer_default(unique), + local +] +interface IPersistSerializedPropStorage : IUnknown +{ + HRESULT SetFlags( + [in] PERSIST_SPROPSTORE_FLAGS flags + ); + HRESULT SetPropertyStorage( + [in] PCUSERIALIZEDPROPSTORAGE psps, + [in] DWORD cb + ); + HRESULT GetPropertyStorage( + [out] SERIALIZEDPROPSTORAGE **psps, + [out] DWORD *pcb + ); +} + +[ + uuid(77effa68-4f98-4366-ba72-573b3d880571), + pointer_default(unique), + local +] +interface IPersistSerializedPropStorage2 : IPersistSerializedPropStorage +{ + HRESULT GetpropertyStorageSize( + [out] DWORD *pcb + ); + HRESULT GetPropertyStorageBuffer( + [out] SERIALIZEDPROPSTORAGE *psps, + [in] DWORD cb, + [out] DWORD *pcbWritten + ); +} + +[ + uuid(fa955fd9-38be-4879-a6ce-824cf52d609f), + object, + pointer_default(unique) +] +interface IPropertySystemChangeNotify : IUnknown +{ + HRESULT SchemaRefreshed(void); +} + +/* Interface for CoCreateInstance? */ +[ + uuid(75121952-e0d0-43e5-9380-1d80483acf72), + pointer_default(unique) +] +interface ICreateObject : IUnknown +{ + HRESULT CreateObject( + [in] REFCLSID clsid, + [in,unique] IUnknown *pUnkOuter, + [in] REFIID riid, + [out,iid_is(riid)] void **ppv + ); +} + +cpp_quote("#define PKEY_PIDSTR_MAX 10") +cpp_quote("#define GUIDSTRING_MAX 39") +cpp_quote("#define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX)") + +cpp_quote("HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY,LPWSTR,UINT);") +cpp_quote("HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR,PROPERTYKEY*);") +cpp_quote("HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY,REFIID,void **);") +cpp_quote("HRESULT WINAPI PSGetPropertyDescriptionListFromString(LPCWSTR,REFIID,void **);") +cpp_quote("HRESULT WINAPI PSRefreshPropertySchema(void);") +cpp_quote("HRESULT WINAPI PSRegisterPropertySchema(LPCWSTR);") +cpp_quote("HRESULT WINAPI PSUnregisterPropertySchema(LPCWSTR);") + +/* TODO: Add remainder of the C api here */ + +[ + uuid(2cda3294-6c4f-4020-b161-27c530c81fa6), + lcid(0x0000), + version(1.0) +] +library PropSysObjects +{ + [uuid(9a02e012-6303-4e1e-b9a1-630f802592c5)] coclass InMemoryPropertyStore + { + interface IPropertyStore; + } + [uuid(b8967f86-58ae-4f96-9fb2-5d7904798f4b)] coclass PropertySystem + { + interface IPropertySystem; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propvarutil.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propvarutil.h new file mode 100644 index 0000000..4dc3521 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/propvarutil.h @@ -0,0 +1,121 @@ +/* + * Copyright 2008 James Hawkins for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PROPVARUTIL_H +#define __WINE_PROPVARUTIL_H + +#include +#include + +enum tagPROPVAR_CHANGE_FLAGS +{ + PVCHF_DEFAULT = 0x00000000, + PVCHF_NOVALUEPROP = 0x00000001, + PVCHF_ALPHABOOL = 0x00000002, + PVCHF_NOUSEROVERRIDE = 0x00000004, + PVCHF_LOCALBOOL = 0x00000008, + PVCHF_NOHEXSTRING = 0x00000010, +}; + +typedef int PROPVAR_CHANGE_FLAGS; + +enum tagPROPVAR_COMPARE_UNIT +{ + PVCU_DEFAULT = 0x00000000, + PVCU_SECOND = 0x00000001, + PVCU_MINUTE = 0x00000002, + PVCU_HOUR = 0x00000003, + PVCU_DAY = 0x00000004, + PVCU_MONTH = 0x00000005, + PVCU_YEAR = 0x00000006, +}; + +typedef int PROPVAR_COMPARE_UNIT; + +enum tagPROPVAR_COMPARE_FLAGS +{ + PVCF_DEFAULT = 0x00000000, + PVCF_TREATEMPTYASGREATERTHAN = 0x00000001, + PVCF_USESTRCMP = 0x00000002, + PVCF_USESTRCMPC = 0x00000004, + PVCF_USESTRCMPI = 0x00000008, + PVCF_USESTRCMPIC = 0x00000010, +}; + +typedef int PROPVAR_COMPARE_FLAGS; + +HRESULT WINAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT propvarSrc, + PROPVAR_CHANGE_FLAGS flags, VARTYPE vt); +HRESULT WINAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar); +HRESULT WINAPI InitVariantFromGUIDAsString(REFGUID guid, VARIANT *pvar); +HRESULT WINAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *ppropvar); +HRESULT WINAPI InitVariantFromBuffer(const VOID *pv, UINT cb, VARIANT *pvar); +HRESULT WINAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid); +HRESULT WINAPI VariantToGUID(const VARIANT *pvar, GUID *guid); +INT WINAPI PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2, + PROPVAR_COMPARE_UNIT uint, PROPVAR_COMPARE_FLAGS flags); + +HRESULT WINAPI PropVariantToInt16(REFPROPVARIANT propvarIn, SHORT *ret); +HRESULT WINAPI PropVariantToInt32(REFPROPVARIANT propvarIn, LONG *ret); +HRESULT WINAPI PropVariantToInt64(REFPROPVARIANT propvarIn, LONGLONG *ret); +HRESULT WINAPI PropVariantToUInt16(REFPROPVARIANT propvarIn, USHORT *ret); +HRESULT WINAPI PropVariantToUInt32(REFPROPVARIANT propvarIn, ULONG *ret); +HRESULT WINAPI PropVariantToUInt64(REFPROPVARIANT propvarIn, ULONGLONG *ret); +HRESULT WINAPI PropVariantToBoolean(REFPROPVARIANT propvarIn, BOOL *ret); + +HRESULT WINAPI PropVariantToStringAlloc(REFPROPVARIANT propvarIn, WCHAR **ret); + +#ifdef __cplusplus + +HRESULT InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar); +HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar); +HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar); + +#ifndef NO_PROPVAR_INLINES + +inline HRESULT InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar) +{ + ppropvar->vt = VT_BOOL; + ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE; + return S_OK; +} + +inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar) +{ + HRESULT hres; + + hres = SHStrDupW(psz, &ppropvar->pwszVal); + if(SUCCEEDED(hres)) + ppropvar->vt = VT_LPWSTR; + else + PropVariantInit(ppropvar); + + return hres; +} + +inline HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar) +{ + ppropvar->vt = VT_I8; + ppropvar->hVal.QuadPart = llVal; + return S_OK; +} + +#endif +#endif + +#endif /* __WINE_PROPVARUTIL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/prsht.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/prsht.h new file mode 100644 index 0000000..2b2a3e1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/prsht.h @@ -0,0 +1,539 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PRSHT_H +#define __WINE_PRSHT_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/* + * Property sheet support (callback procs) + */ + + +#define WC_PROPSHEETA "SysPropertySheet" +#if defined(__GNUC__) +# define WC_PROPSHEETW (const WCHAR []){ 'S','y','s', \ + 'P','r','o','p','e','r','t','y','S','h','e','e','t',0 } +#elif defined(_MSC_VER) +# define WC_PROPSHEETW L"SysPropertySheet" +#else +static const WCHAR WC_PROPSHEETW[] = { 'S','y','s', + 'P','r','o','p','e','r','t','y','S','h','e','e','t',0 }; +#endif +#define WC_PROPSHEET WINELIB_NAME_AW(WC_PROPSHEET) + +struct _PROPSHEETPAGEA; /** need to forward declare those structs **/ +struct _PROPSHEETPAGEW; +struct _PSP; +#ifndef _HPROPSHEETPAGE_DEFINED +#define _HPROPSHEETPAGE_DEFINED +typedef struct _PSP *HPROPSHEETPAGE; +#endif /* _HPROPSHEETPAGE_DEFINED */ + + +typedef UINT (CALLBACK *LPFNPSPCALLBACKA)(HWND, UINT, struct _PROPSHEETPAGEA*); +typedef UINT (CALLBACK *LPFNPSPCALLBACKW)(HWND, UINT, struct _PROPSHEETPAGEW*); +typedef INT (CALLBACK *PFNPROPSHEETCALLBACK)(HWND, UINT, LPARAM); +typedef BOOL (CALLBACK *LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM); +typedef BOOL (CALLBACK *LPFNADDPROPSHEETPAGES)(LPVOID, LPFNADDPROPSHEETPAGE, LPARAM); + +/* + * Property sheet support (structures) + */ + +typedef LPCDLGTEMPLATEA PROPSHEETPAGE_RESOURCEA; +typedef LPCDLGTEMPLATEW PROPSHEETPAGE_RESOURCEW; +DECL_WINELIB_TYPE_AW(PROPSHEETPAGE_RESOURCE) + +typedef struct _PROPSHEETPAGEA +{ + DWORD dwSize; + DWORD dwFlags; + HINSTANCE hInstance; + union + { + LPCSTR pszTemplate; + PROPSHEETPAGE_RESOURCEA pResource; + } DUMMYUNIONNAME; + union + { + HICON hIcon; + LPCSTR pszIcon; + } DUMMYUNIONNAME2; + LPCSTR pszTitle; + DLGPROC pfnDlgProc; + LPARAM lParam; + LPFNPSPCALLBACKA pfnCallback; + UINT* pcRefParent; + LPCSTR pszHeaderTitle; + LPCSTR pszHeaderSubTitle; + HANDLE hActCtx; + union + { + HBITMAP hbmHeader; + LPCSTR pszbmHeader; + } DUMMYUNIONNAME3; +} PROPSHEETPAGEA, *LPPROPSHEETPAGEA, + PROPSHEETPAGEA_LATEST, *LPPROPSHEETPAGEA_LATEST; + +typedef const PROPSHEETPAGEA *LPCPROPSHEETPAGEA, *LPCPROPSHEETPAGEA_LATEST; +#define PROPSHEETPAGEA_V1_SIZE CCSIZEOF_STRUCT(PROPSHEETPAGEA, pcRefParent) +#define PROPSHEETPAGEA_V2_SIZE CCSIZEOF_STRUCT(PROPSHEETPAGEA, pszHeaderSubTitle) +#define PROPSHEETPAGEA_V3_SIZE CCSIZEOF_STRUCT(PROPSHEETPAGEA, hActCtx) +#define PROPSHEETPAGEA_V4_SIZE sizeof(PROPSHEETPAGEA) + +typedef struct _PROPSHEETPAGEW +{ + DWORD dwSize; + DWORD dwFlags; + HINSTANCE hInstance; + union + { + LPCWSTR pszTemplate; + PROPSHEETPAGE_RESOURCEW pResource; + } DUMMYUNIONNAME; + union + { + HICON hIcon; + LPCWSTR pszIcon; + } DUMMYUNIONNAME2; + LPCWSTR pszTitle; + DLGPROC pfnDlgProc; + LPARAM lParam; + LPFNPSPCALLBACKW pfnCallback; + UINT* pcRefParent; + LPCWSTR pszHeaderTitle; + LPCWSTR pszHeaderSubTitle; + HANDLE hActCtx; + union + { + HBITMAP hbmHeader; + LPCWSTR pszbmHeader; + } DUMMYUNIONNAME3; +} PROPSHEETPAGEW, *LPPROPSHEETPAGEW, + PROPSHEETPAGEW_LATEST, *LPPROPSHEETPAGEW_LATEST; + +typedef const PROPSHEETPAGEW *LPCPROPSHEETPAGEW, *LPCPROPSHEETPAGEW_LATEST; +#define PROPSHEETPAGEW_V1_SIZE CCSIZEOF_STRUCT(PROPSHEETPAGEW, pcRefParent) +#define PROPSHEETPAGEW_V2_SIZE CCSIZEOF_STRUCT(PROPSHEETPAGEW, pszHeaderSubTitle) +#define PROPSHEETPAGEW_V3_SIZE CCSIZEOF_STRUCT(PROPSHEETPAGEW, hActCtx) +#define PROPSHEETPAGEW_V4_SIZE sizeof(PROPSHEETPAGEW) + + +typedef struct _PROPSHEETHEADERA +{ + DWORD dwSize; + DWORD dwFlags; + HWND hwndParent; + HINSTANCE hInstance; + union + { + HICON hIcon; + LPCSTR pszIcon; + }DUMMYUNIONNAME; + LPCSTR pszCaption; + UINT nPages; + union + { + UINT nStartPage; + LPCSTR pStartPage; + }DUMMYUNIONNAME2; + union + { + LPCPROPSHEETPAGEA ppsp; + HPROPSHEETPAGE* phpage; + }DUMMYUNIONNAME3; + PFNPROPSHEETCALLBACK pfnCallback; + union + { + HBITMAP hbmWatermark; + LPCSTR pszbmWatermark; + }DUMMYUNIONNAME4; + HPALETTE hplWatermark; + union + { + HBITMAP hbmHeader; + LPCSTR pszbmHeader; + }DUMMYUNIONNAME5; +} PROPSHEETHEADERA, *LPPROPSHEETHEADERA; + +typedef const PROPSHEETHEADERA *LPCPROPSHEETHEADERA; +#define PROPSHEETHEADERA_V1_SIZE CCSIZEOF_STRUCT(PROPSHEETHEADERA, pfnCallback) +#define PROPSHEETHEADERA_V2_SIZE sizeof(PROPSHEETHEADERA) + +typedef struct _PROPSHEETHEADERW +{ + DWORD dwSize; + DWORD dwFlags; + HWND hwndParent; + HINSTANCE hInstance; + union + { + HICON hIcon; + LPCWSTR pszIcon; + }DUMMYUNIONNAME; + LPCWSTR pszCaption; + UINT nPages; + union + { + UINT nStartPage; + LPCWSTR pStartPage; + }DUMMYUNIONNAME2; + union + { + LPCPROPSHEETPAGEW ppsp; + HPROPSHEETPAGE* phpage; + }DUMMYUNIONNAME3; + PFNPROPSHEETCALLBACK pfnCallback; + union + { + HBITMAP hbmWatermark; + LPCWSTR pszbmWatermark; + }DUMMYUNIONNAME4; + HPALETTE hplWatermark; + union + { + HBITMAP hbmHeader; + LPCWSTR pszbmHeader; + }DUMMYUNIONNAME5; +} PROPSHEETHEADERW, *LPPROPSHEETHEADERW; + +typedef const PROPSHEETHEADERW *LPCPROPSHEETHEADERW; +#define PROPSHEETHEADERW_V1_SIZE CCSIZEOF_STRUCT(PROPSHEETHEADERW, pfnCallback) +#define PROPSHEETHEADERW_V2_SIZE sizeof(PROPSHEETHEADERW) + + +/* + * Property sheet support (methods) + */ +INT_PTR WINAPI PropertySheetA(LPCPROPSHEETHEADERA); +INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW); +#define PropertySheet WINELIB_NAME_AW(PropertySheet) +HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA); +HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW); +#define CreatePropertySheetPage WINELIB_NAME_AW(CreatePropertySheetPage) +BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage); + +/* + * Property sheet support (UNICODE-Winelib) + */ + +DECL_WINELIB_TYPE_AW(PROPSHEETPAGE) +DECL_WINELIB_TYPE_AW(LPPROPSHEETPAGE) +DECL_WINELIB_TYPE_AW(LPCPROPSHEETPAGE) +DECL_WINELIB_TYPE_AW(PROPSHEETHEADER) +DECL_WINELIB_TYPE_AW(LPPROPSHEETHEADER) +DECL_WINELIB_TYPE_AW(LPCPROPSHEETHEADER) +DECL_WINELIB_TYPE_AW(LPFNPSPCALLBACK) + +#ifdef WINE_NO_UNICODE_MACROS +# define PRSHT_NAME_AW(base, suffix) \ + base##_##suffix##_must_use_W_or_A_in_this_context \ + base##_##suffix##_must_use_W_or_A_in_this_context +# define DECL_PRSHT_TYPE_AW(base, suffix) /* nothing */ +#else /* WINE_NO_UNICODE_MACROS */ +# ifdef UNICODE +# define PRSHT_NAME_AW(base, suffix) base##W_##suffix +# else +# define PRSHT_NAME_AW(base, suffix) base##A_##suffix +# endif +# define DECL_PRSHT_TYPE_AW(base, suffix) typedef PRSHT_NAME_AW(base, suffix) base##_##suffix; +#endif /* WINE_NO_UNICODE_MACROS */ + +DECL_PRSHT_TYPE_AW(PROPSHEETPAGE, LATEST) +DECL_PRSHT_TYPE_AW(LPPROPSHEETPAGE, LATEST) +DECL_PRSHT_TYPE_AW(LPCPROPSHEETPAGE, LATEST) +#define PROPSHEETPAGE_V1_SIZE PRSHT_NAME_AW(PROPSHEETPAGE, V1_SIZE) +#define PROPSHEETPAGE_V2_SIZE PRSHT_NAME_AW(PROPSHEETPAGE, V2_SIZE) +#define PROPSHEETPAGE_V3_SIZE PRSHT_NAME_AW(PROPSHEETPAGE, V3_SIZE) +#define PROPSHEETPAGE_V4_SIZE PRSHT_NAME_AW(PROPSHEETPAGE, V4_SIZE) +#define PROPSHEETHEADER_V1_SIZE PRSHT_NAME_AW(PROPSHEETHEADER, V1_SIZE) +#define PROPSHEETHEADER_V2_SIZE PRSHT_NAME_AW(PROPSHEETHEADER, V2_SIZE) + +#undef PRSHT_NAME_AW +#undef DECL_PRSHT_TYPE_AW + +/* + * Property sheet support (defines) + */ +#define PSP_DEFAULT 0x0000 +#define PSP_DLGINDIRECT 0x0001 +#define PSP_USEHICON 0x0002 +#define PSP_USEICONID 0x0004 +#define PSP_USETITLE 0x0008 +#define PSP_RTLREADING 0x0010 + +#define PSP_HASHELP 0x0020 +#define PSP_USEREFPARENT 0x0040 +#define PSP_USECALLBACK 0x0080 +#define PSP_PREMATURE 0x0400 + +#define PSP_HIDEHEADER 0x00000800 +#define PSP_USEHEADERTITLE 0x00001000 +#define PSP_USEHEADERSUBTITLE 0x00002000 +#define PSP_USEFUSIONCONTEXT 0x00004000 +#define PSP_COMMANDLINKS 0x00040000 + +#define PSPCB_ADDREF 0 +#define PSPCB_RELEASE 1 +#define PSPCB_CREATE 2 + +#define PSH_DEFAULT 0x0000 +#define PSH_PROPTITLE 0x0001 +#define PSH_USEHICON 0x0002 +#define PSH_USEICONID 0x0004 +#define PSH_PROPSHEETPAGE 0x0008 +#define PSH_WIZARDHASFINISH 0x0010 +#define PSH_WIZARD 0x0020 +#define PSH_USEPSTARTPAGE 0x0040 +#define PSH_NOAPPLYNOW 0x0080 +#define PSH_USECALLBACK 0x0100 +#define PSH_HASHELP 0x0200 +#define PSH_MODELESS 0x0400 +#define PSH_RTLREADING 0x0800 +#define PSH_WIZARDCONTEXTHELP 0x00001000 + +#define PSH_WIZARD97_OLD 0x00002000 /* for IE < 5 */ +#define PSH_AEROWIZARD 0x00004000 +#define PSH_WATERMARK 0x00008000 +#define PSH_USEHBMWATERMARK 0x00010000 +#define PSH_USEHPLWATERMARK 0x00020000 +#define PSH_STRETCHWATERMARK 0x00040000 +#define PSH_HEADER 0x00080000 +#define PSH_USEHBMHEADER 0x00100000 +#define PSH_USEPAGELANG 0x00200000 +#define PSH_WIZARD_LITE 0x00400000 +#define PSH_WIZARD97_NEW 0x01000000 /* for IE >= 5 */ +#define PSH_NOCONTEXTHELP 0x02000000 +#define PSH_RESIZABLE 0x04000000 +#define PSH_HEADERBITMAP 0x08000000 +#define PSH_NOMARGIN 0x10000000 +#ifndef __WINESRC__ +# if defined(_WIN32_IE) && (_WIN32_IE < 0x0500) +# define PSH_WIZARD97 PSH_WIZARD97_OLD +# else +# define PSH_WIZARD97 PSH_WIZARD97_NEW +# endif +#endif + +#define PSCB_INITIALIZED 1 +#define PSCB_PRECREATE 2 + +typedef struct _PSHNOTIFY +{ + NMHDR hdr; + LPARAM lParam; +} PSHNOTIFY, *LPPSHNOTIFY; + +#define PSN_FIRST (0U-200U) +#define PSN_LAST (0U-299U) + + +#define PSN_SETACTIVE (PSN_FIRST-0) +#define PSN_KILLACTIVE (PSN_FIRST-1) +/* #define PSN_VALIDATE (PSN_FIRST-1) */ +#define PSN_APPLY (PSN_FIRST-2) +#define PSN_RESET (PSN_FIRST-3) +/* #define PSN_CANCEL (PSN_FIRST-3) */ +#define PSN_HELP (PSN_FIRST-5) +#define PSN_WIZBACK (PSN_FIRST-6) +#define PSN_WIZNEXT (PSN_FIRST-7) +#define PSN_WIZFINISH (PSN_FIRST-8) +#define PSN_QUERYCANCEL (PSN_FIRST-9) +#define PSN_GETOBJECT (PSN_FIRST-10) +#define PSN_TRANSLATEACCELERATOR (PSN_FIRST-12) +#define PSN_QUERYINITIALFOCUS (PSN_FIRST-13) + +#define PSNRET_NOERROR 0 +#define PSNRET_INVALID 1 +#define PSNRET_INVALID_NOCHANGEPAGE 2 + + +#define PSM_SETCURSEL (WM_USER + 101) +#define PSM_REMOVEPAGE (WM_USER + 102) +#define PSM_ADDPAGE (WM_USER + 103) +#define PSM_CHANGED (WM_USER + 104) +#define PSM_RESTARTWINDOWS (WM_USER + 105) +#define PSM_REBOOTSYSTEM (WM_USER + 106) +#define PSM_CANCELTOCLOSE (WM_USER + 107) +#define PSM_QUERYSIBLINGS (WM_USER + 108) +#define PSM_UNCHANGED (WM_USER + 109) +#define PSM_APPLY (WM_USER + 110) +#define PSM_SETTITLEA (WM_USER + 111) +#define PSM_SETTITLEW (WM_USER + 120) +#define PSM_SETTITLE WINELIB_NAME_AW(PSM_SETTITLE) +#define PSM_SETWIZBUTTONS (WM_USER + 112) +#define PSM_PRESSBUTTON (WM_USER + 113) +#define PSM_SETCURSELID (WM_USER + 114) +#define PSM_SETFINISHTEXTA (WM_USER + 115) +#define PSM_SETFINISHTEXTW (WM_USER + 121) +#define PSM_SETFINISHTEXT WINELIB_NAME_AW(PSM_SETFINISHTEXT) +#define PSM_GETTABCONTROL (WM_USER + 116) +#define PSM_ISDIALOGMESSAGE (WM_USER + 117) +#define PSM_GETCURRENTPAGEHWND (WM_USER + 118) +#define PSM_INSERTPAGE (WM_USER + 119) +#define PSM_SETHEADERTITLEA (WM_USER + 125) +#define PSM_SETHEADERTITLEW (WM_USER + 126) +#define PSM_SETHEADERTITLE WINELIB_NAME_AW(PSM_SETHEADERTITLE) +#define PSM_SETHEADERSUBTITLEA (WM_USER + 127) +#define PSM_SETHEADERSUBTITLEW (WM_USER + 128) +#define PSM_SETHEADERSUBTITLE WINELIB_NAME_AW(PSM_SETHEADERSUBTITLE) +#define PSM_HWNDTOINDEX (WM_USER + 129) +#define PSM_INDEXTOHWND (WM_USER + 130) +#define PSM_PAGETOINDEX (WM_USER + 131) +#define PSM_INDEXTOPAGE (WM_USER + 132) +#define PSM_IDTOINDEX (WM_USER + 133) +#define PSM_INDEXTOID (WM_USER + 134) +#define PSM_GETRESULT (WM_USER + 135) +#define PSM_RECALCPAGESIZES (WM_USER + 136) + +#define PSWIZB_BACK 0x00000001 +#define PSWIZB_NEXT 0x00000002 +#define PSWIZB_FINISH 0x00000004 +#define PSWIZB_DISABLEDFINISH 0x00000008 + +#define PSBTN_BACK 0 +#define PSBTN_NEXT 1 +#define PSBTN_FINISH 2 +#define PSBTN_OK 3 +#define PSBTN_APPLYNOW 4 +#define PSBTN_CANCEL 5 +#define PSBTN_HELP 6 +#define PSBTN_MAX 6 + +#define ID_PSRESTARTWINDOWS 0x2 +#define ID_PSREBOOTSYSTEM (ID_PSRESTARTWINDOWS | 0x1) + + +#define WIZ_CXDLG 276 +#define WIZ_CYDLG 140 + +#define WIZ_CXBMP 80 + +#define WIZ_BODYX 92 +#define WIZ_BODYCX 184 + +#define PROP_SM_CXDLG 212 +#define PROP_SM_CYDLG 188 + +#define PROP_MED_CXDLG 227 +#define PROP_MED_CYDLG 215 + +#define PROP_LG_CXDLG 252 +#define PROP_LG_CYDLG 218 + +/* + * Property sheet support (macros) + */ + +#define PropSheet_SetCurSel(hDlg, hpage, index) \ + SendMessageA(hDlg, PSM_SETCURSEL, (WPARAM)index, (LPARAM)hpage) + +#define PropSheet_RemovePage(hDlg, index, hpage) \ + SNDMSG(hDlg, PSM_REMOVEPAGE, index, (LPARAM)hpage) + +#define PropSheet_AddPage(hDlg, hpage) \ + SNDMSG(hDlg, PSM_ADDPAGE, 0, (LPARAM)hpage) + +#define PropSheet_Changed(hDlg, hwnd) \ + SNDMSG(hDlg, PSM_CHANGED, (WPARAM)hwnd, 0) + +#define PropSheet_RestartWindows(hDlg) \ + SNDMSG(hDlg, PSM_RESTARTWINDOWS, 0, 0) + +#define PropSheet_RebootSystem(hDlg) \ + SNDMSG(hDlg, PSM_REBOOTSYSTEM, 0, 0) + +#define PropSheet_CancelToClose(hDlg) \ + PostMessage(hDlg, PSM_CANCELTOCLOSE, 0, 0) + +#define PropSheet_QuerySiblings(hDlg, wParam, lParam) \ + SNDMSG(hDlg, PSM_QUERYSIBLINGS, wParam, lParam) + +#define PropSheet_UnChanged(hDlg, hwnd) \ + SNDMSG(hDlg, PSM_UNCHANGED, (WPARAM)hwnd, 0) + +#define PropSheet_Apply(hDlg) \ + SNDMSG(hDlg, PSM_APPLY, 0, 0) + +#define PropSheet_SetTitle(hDlg, wStyle, lpszText)\ + SNDMSG(hDlg, PSM_SETTITLE, wStyle, (LPARAM)(LPCTSTR)lpszText) + +#define PropSheet_SetWizButtons(hDlg, dwFlags) \ + PostMessage(hDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)dwFlags) + +#define PropSheet_PressButton(hDlg, iButton) \ + PostMessage(hDlg, PSM_PRESSBUTTON, (WPARAM)iButton, 0) + +#define PropSheet_SetCurSelByID(hDlg, id) \ + SNDMSG(hDlg, PSM_SETCURSELID, 0, (LPARAM)id) + +#define PropSheet_SetFinishText(hDlg, lpszText) \ + SNDMSG(hDlg, PSM_SETFINISHTEXT, 0, (LPARAM)lpszText) + +#define PropSheet_GetTabControl(hDlg) \ + (HWND)SNDMSG(hDlg, PSM_GETTABCONTROL, 0, 0) + +#define PropSheet_IsDialogMessage(hDlg, pMsg) \ + (BOOL)SNDMSG(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg) + +#define PropSheet_GetCurrentPageHwnd(hDlg) \ + (HWND)SNDMSG(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0) + +#define PropSheet_InsertPage(hDlg, index, hpage) \ + SNDMSG(hDlg, PSM_INSERTPAGE, (WPARAM)(index), (LPARAM)(hpage)) + +#define PropSheet_SetHeaderTitle(hDlg, index, lpszText) \ + SNDMSG(hDlg, PSM_SETHEADERTITLE, (WPARAM)(index), (LPARAM)(lpszText)) + +#define PropSheet_SetHeaderSubTitle(hDlg, index, lpszText) \ + SNDMSG(hDlg, PSM_SETHEADERSUBTITLE, (WPARAM)(index), (LPARAM)(lpszText)) + +#define PropSheet_HwndToIndex(hDlg, hwnd) \ + (int)SNDMSG(hDlg, PSM_HWNDTOINDEX, (WPARAM)(hwnd), 0) + +#define PropSheet_IndexToHwnd(hDlg, i) \ + (HWND)SNDMSG(hDlg, PSM_INDEXTOHWND, (WPARAM)(i), 0) + +#define PropSheet_PageToIndex(hDlg, hpage) \ + (int)SNDMSG(hDlg, PSM_PAGETOINDEX, 0, (LPARAM)(hpage)) + +#define PropSheet_IndexToPage(hDlg, i) \ + (HPROPSHEETPAGE)SNDMSG(hDlg, PSM_INDEXTOPAGE, (WPARAM)(i), 0) + +#define PropSheet_IdToIndex(hDlg, id) \ + (int)SNDMSG(hDlg, PSM_IDTOINDEX, 0, (LPARAM)(id)) + +#define PropSheet_IndexToId(hDlg, i) \ + SNDMSG(hDlg, PSM_INDEXTOID, (WPARAM)(i), 0) + +#define PropSheet_GetResult(hDlg) \ + SNDMSG(hDlg, PSM_GETRESULT, 0, 0) + +#define PropSheet_RecalcPageSizes(hDlg) \ + SNDMSG(hDlg, PSM_RECALCPAGESIZES, 0, 0) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_PRSHT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/psapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/psapi.h new file mode 100644 index 0000000..c7663f8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/psapi.h @@ -0,0 +1,154 @@ +/* + * Declarations for PSAPI + * + * Copyright (C) 1998 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PSAPI_H +#define __WINE_PSAPI_H + +#ifndef PSAPI_VERSION +#define PSAPI_VERSION 2 +#endif + +typedef struct _MODULEINFO { + LPVOID lpBaseOfDll; + DWORD SizeOfImage; + LPVOID EntryPoint; +} MODULEINFO, *LPMODULEINFO; + +typedef struct _PROCESS_MEMORY_COUNTERS { + DWORD cb; + DWORD PageFaultCount; + SIZE_T PeakWorkingSetSize; + SIZE_T WorkingSetSize; + SIZE_T QuotaPeakPagedPoolUsage; + SIZE_T QuotaPagedPoolUsage; + SIZE_T QuotaPeakNonPagedPoolUsage; + SIZE_T QuotaNonPagedPoolUsage; + SIZE_T PagefileUsage; + SIZE_T PeakPagefileUsage; +} PROCESS_MEMORY_COUNTERS; +typedef PROCESS_MEMORY_COUNTERS *PPROCESS_MEMORY_COUNTERS; + +typedef struct _PSAPI_WS_WATCH_INFORMATION { + LPVOID FaultingPc; + LPVOID FaultingVa; +} PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION; + +typedef struct _PERFORMANCE_INFORMATION { + DWORD cb; + SIZE_T CommitTotal; + SIZE_T CommitLimit; + SIZE_T CommitPeak; + SIZE_T PhysicalTotal; + SIZE_T PhysicalAvailable; + SIZE_T SystemCache; + SIZE_T KernelTotal; + SIZE_T KernelPaged; + SIZE_T KernelNonpaged; + SIZE_T PageSize; + DWORD HandleCount; + DWORD ProcessCount; + DWORD ThreadCount; +} PERFORMANCE_INFORMATION, *PPERFORMANCE_INFORMATION; + +typedef struct _ENUM_PAGE_FILE_INFORMATION { + DWORD cb; + DWORD Reserved; + SIZE_T TotalSize; + SIZE_T TotalInUse; + SIZE_T PeakUsage; +} ENUM_PAGE_FILE_INFORMATION, *PENUM_PAGE_FILE_INFORMATION; + +typedef BOOL (*PENUM_PAGE_FILE_CALLBACKA) (LPVOID, PENUM_PAGE_FILE_INFORMATION, LPCSTR); +typedef BOOL (*PENUM_PAGE_FILE_CALLBACKW) (LPVOID, PENUM_PAGE_FILE_INFORMATION, LPCWSTR); +#define PENUM_PAGE_FILE_CALLBACK WINELIB_NAME_AW(PENUM_PAGE_FILE_CALLBACK) + +#ifdef __cplusplus +extern "C" { +#endif + +#if PSAPI_VERSION > 1 +#define EnumProcesses K32EnumProcesses +#define EnumProcessModules K32EnumProcessModules +#define EnumProcessModulesEx K32EnumProcessModulesEx +#define GetModuleBaseNameA K32GetModuleBaseNameA +#define GetModuleBaseNameW K32GetModuleBaseNameW +#define GetModuleFileNameExA K32GetModuleFileNameExA +#define GetModuleFileNameExW K32GetModuleFileNameExW +#define GetModuleInformation K32GetModuleInformation +#define EmptyWorkingSet K32EmptyWorkingSet +#define QueryWorkingSet K32QueryWorkingSet +#define QueryWorkingSetEx K32QueryWorkingSetEx +#define InitializeProcessForWsWatch K32InitializeProcessForWsWatch +#define GetWsChanges K32GetWsChanges +#define GetWsChangesEx K32GetWsChangesEx +#define GetMappedFileNameW K32GetMappedFileNameW +#define GetMappedFileNameA K32GetMappedFileNameA +#define EnumDeviceDrivers K32EnumDeviceDrivers +#define GetDeviceDriverBaseNameA K32GetDeviceDriverBaseNameA +#define GetDeviceDriverBaseNameW K32GetDeviceDriverBaseNameW +#define GetDeviceDriverFileNameA K32GetDeviceDriverFileNameA +#define GetDeviceDriverFileNameW K32GetDeviceDriverFileNameW +#define GetProcessMemoryInfo K32GetProcessMemoryInfo +#define GetPerformanceInfo K32GetPerformanceInfo +#define EnumPageFilesW K32EnumPageFilesW +#define EnumPageFilesA K32EnumPageFilesA +#define GetProcessImageFileNameA K32GetProcessImageFileNameA +#define GetProcessImageFileNameW K32GetProcessImageFileNameW +#endif + +BOOL WINAPI EnumProcesses(DWORD*, DWORD, DWORD*); +BOOL WINAPI EnumProcessModules(HANDLE, HMODULE*, DWORD, LPDWORD); +BOOL WINAPI EnumProcessModulesEx(HANDLE, HMODULE*, DWORD, LPDWORD, DWORD); +DWORD WINAPI GetModuleBaseNameA(HANDLE, HMODULE, LPSTR, DWORD); +DWORD WINAPI GetModuleBaseNameW(HANDLE, HMODULE, LPWSTR, DWORD); +#define GetModuleBaseName WINELIB_NAME_AW(GetModuleBaseName) +DWORD WINAPI GetModuleFileNameExA(HANDLE, HMODULE, LPSTR, DWORD); +DWORD WINAPI GetModuleFileNameExW(HANDLE, HMODULE, LPWSTR, DWORD); +#define GetModuleFileNameEx WINELIB_NAME_AW(GetModuleFileNameEx) +BOOL WINAPI GetModuleInformation(HANDLE, HMODULE, LPMODULEINFO, DWORD); +BOOL WINAPI EmptyWorkingSet(HANDLE); +BOOL WINAPI QueryWorkingSet(HANDLE, PVOID, DWORD); +BOOL WINAPI QueryWorkingSetEx(HANDLE, PVOID, DWORD); +BOOL WINAPI InitializeProcessForWsWatch(HANDLE); +BOOL WINAPI GetWsChanges(HANDLE, PPSAPI_WS_WATCH_INFORMATION, DWORD); +DWORD WINAPI GetMappedFileNameW(HANDLE, LPVOID, LPWSTR, DWORD); +DWORD WINAPI GetMappedFileNameA(HANDLE, LPVOID, LPSTR, DWORD); +#define GetMappedFileName WINELIB_NAME_AW(GetMappedFileName) +BOOL WINAPI EnumDeviceDrivers(LPVOID*, DWORD, LPDWORD); +DWORD WINAPI GetDeviceDriverBaseNameA(LPVOID, LPSTR, DWORD); +DWORD WINAPI GetDeviceDriverBaseNameW(LPVOID, LPWSTR, DWORD); +#define GetDeviceDriverBaseName WINELIB_NAME_AW(GetDeviceDriverBaseName) +DWORD WINAPI GetDeviceDriverFileNameA(LPVOID, LPSTR, DWORD); +DWORD WINAPI GetDeviceDriverFileNameW(LPVOID, LPWSTR, DWORD); +#define GetDeviceDriverFileName WINELIB_NAME_AW(GetDeviceDriverFileName) +BOOL WINAPI GetProcessMemoryInfo(HANDLE, PPROCESS_MEMORY_COUNTERS, DWORD); +BOOL WINAPI GetPerformanceInfo(PPERFORMANCE_INFORMATION, DWORD); +BOOL WINAPI EnumPageFilesA(PENUM_PAGE_FILE_CALLBACKA, LPVOID); +BOOL WINAPI EnumPageFilesW(PENUM_PAGE_FILE_CALLBACKW, LPVOID); +#define EnumPageFiles WINELIB_NAME_AW(EnumPageFiles) +DWORD WINAPI GetProcessImageFileNameA(HANDLE, LPSTR, DWORD); +DWORD WINAPI GetProcessImageFileNameW(HANDLE, LPWSTR, DWORD); +#define GetProcessImageFileName WINELIB_NAME_AW(GetProcessImageFileName) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_PSAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack1.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack1.h new file mode 100644 index 0000000..88fd9dc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack1.h @@ -0,0 +1,107 @@ +/* + * Copyright (C) 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if defined(__WINE_PSHPACK_H15) + + /* Depth > 15 */ +# error "Alignment nesting > 15 is not supported" + +#else + +# if !defined(__WINE_PSHPACK_H) +# define __WINE_PSHPACK_H 1 + /* Depth == 1 */ +# elif !defined(__WINE_PSHPACK_H2) +# define __WINE_PSHPACK_H2 1 + /* Depth == 2 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H3) +# define __WINE_PSHPACK_H3 1 + /* Depth == 3 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H4) +# define __WINE_PSHPACK_H4 1 + /* Depth == 4 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H5) +# define __WINE_PSHPACK_H5 1 + /* Depth == 5 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H6) +# define __WINE_PSHPACK_H6 1 + /* Depth == 6 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H7) +# define __WINE_PSHPACK_H7 1 + /* Depth == 7 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H8) +# define __WINE_PSHPACK_H8 1 + /* Depth == 8 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H9) +# define __WINE_PSHPACK_H9 1 + /* Depth == 9 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H10) +# define __WINE_PSHPACK_H10 1 + /* Depth == 10 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H11) +# define __WINE_PSHPACK_H11 1 + /* Depth == 11 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H12) +# define __WINE_PSHPACK_H12 1 + /* Depth == 12 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H13) +# define __WINE_PSHPACK_H13 1 + /* Depth == 13 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H14) +# define __WINE_PSHPACK_H14 1 + /* Depth == 14 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H15) +# define __WINE_PSHPACK_H15 1 + /* Depth == 15 */ +# define __WINE_INTERNAL_POPPACK +# include +# endif + +# if defined(_MSC_VER) && (_MSC_VER >= 800) +# pragma warning(disable:4103) +# endif + +# pragma pack(1) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack2.h new file mode 100644 index 0000000..9fe73b7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack2.h @@ -0,0 +1,107 @@ +/* + * Copyright (C) 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if defined(__WINE_PSHPACK_H15) + + /* Depth > 15 */ +# error "Alignment nesting > 15 is not supported" + +#else + +# if !defined(__WINE_PSHPACK_H) +# define __WINE_PSHPACK_H 2 + /* Depth == 1 */ +# elif !defined(__WINE_PSHPACK_H2) +# define __WINE_PSHPACK_H2 2 + /* Depth == 2 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H3) +# define __WINE_PSHPACK_H3 2 + /* Depth == 3 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H4) +# define __WINE_PSHPACK_H4 2 + /* Depth == 4 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H5) +# define __WINE_PSHPACK_H5 2 + /* Depth == 5 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H6) +# define __WINE_PSHPACK_H6 2 + /* Depth == 6 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H7) +# define __WINE_PSHPACK_H7 2 + /* Depth == 7 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H8) +# define __WINE_PSHPACK_H8 2 + /* Depth == 8 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H9) +# define __WINE_PSHPACK_H9 2 + /* Depth == 9 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H10) +# define __WINE_PSHPACK_H10 2 + /* Depth == 10 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H11) +# define __WINE_PSHPACK_H11 2 + /* Depth == 11 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H12) +# define __WINE_PSHPACK_H12 2 + /* Depth == 12 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H13) +# define __WINE_PSHPACK_H13 2 + /* Depth == 13 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H14) +# define __WINE_PSHPACK_H14 2 + /* Depth == 14 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H15) +# define __WINE_PSHPACK_H15 2 + /* Depth == 15 */ +# define __WINE_INTERNAL_POPPACK +# include +# endif + +# if defined(_MSC_VER) && (_MSC_VER >= 800) +# pragma warning(disable:4103) +# endif + +# pragma pack(2) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack4.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack4.h new file mode 100644 index 0000000..6fef029 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack4.h @@ -0,0 +1,107 @@ +/* + * Copyright (C) 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if defined(__WINE_PSHPACK_H15) + + /* Depth > 15 */ +# error "Alignment nesting > 15 is not supported" + +#else + +# if !defined(__WINE_PSHPACK_H) +# define __WINE_PSHPACK_H 4 + /* Depth == 1 */ +# elif !defined(__WINE_PSHPACK_H2) +# define __WINE_PSHPACK_H2 4 + /* Depth == 2 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H3) +# define __WINE_PSHPACK_H3 4 + /* Depth == 3 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H4) +# define __WINE_PSHPACK_H4 4 + /* Depth == 4 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H5) +# define __WINE_PSHPACK_H5 4 + /* Depth == 5 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H6) +# define __WINE_PSHPACK_H6 4 + /* Depth == 6 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H7) +# define __WINE_PSHPACK_H7 4 + /* Depth == 7 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H8) +# define __WINE_PSHPACK_H8 4 + /* Depth == 8 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H9) +# define __WINE_PSHPACK_H9 4 + /* Depth == 9 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H10) +# define __WINE_PSHPACK_H10 4 + /* Depth == 10 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H11) +# define __WINE_PSHPACK_H11 4 + /* Depth == 11 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H12) +# define __WINE_PSHPACK_H12 4 + /* Depth == 12 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H13) +# define __WINE_PSHPACK_H13 4 + /* Depth == 13 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H14) +# define __WINE_PSHPACK_H14 4 + /* Depth == 14 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H15) +# define __WINE_PSHPACK_H15 4 + /* Depth == 15 */ +# define __WINE_INTERNAL_POPPACK +# include +# endif + +# if defined(_MSC_VER) && (_MSC_VER >= 800) +# pragma warning(disable:4103) +# endif + +# pragma pack(4) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack8.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack8.h new file mode 100644 index 0000000..5a0ca38 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pshpack8.h @@ -0,0 +1,107 @@ +/* + * Copyright (C) 1999 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if defined(__WINE_PSHPACK_H15) + + /* Depth > 15 */ +# error "Alignment nesting > 15 is not supported" + +#else + +# if !defined(__WINE_PSHPACK_H) +# define __WINE_PSHPACK_H 8 + /* Depth == 1 */ +# elif !defined(__WINE_PSHPACK_H2) +# define __WINE_PSHPACK_H2 8 + /* Depth == 2 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H3) +# define __WINE_PSHPACK_H3 8 + /* Depth == 3 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H4) +# define __WINE_PSHPACK_H4 8 + /* Depth == 4 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H5) +# define __WINE_PSHPACK_H5 8 + /* Depth == 5 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H6) +# define __WINE_PSHPACK_H6 8 + /* Depth == 6 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H7) +# define __WINE_PSHPACK_H7 8 + /* Depth == 7 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H8) +# define __WINE_PSHPACK_H8 8 + /* Depth == 8 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H9) +# define __WINE_PSHPACK_H9 8 + /* Depth == 9 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H10) +# define __WINE_PSHPACK_H10 8 + /* Depth == 10 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H11) +# define __WINE_PSHPACK_H11 8 + /* Depth == 11 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H12) +# define __WINE_PSHPACK_H12 8 + /* Depth == 12 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H13) +# define __WINE_PSHPACK_H13 8 + /* Depth == 13 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H14) +# define __WINE_PSHPACK_H14 8 + /* Depth == 14 */ +# define __WINE_INTERNAL_POPPACK +# include +# elif !defined(__WINE_PSHPACK_H15) +# define __WINE_PSHPACK_H15 8 + /* Depth == 15 */ +# define __WINE_INTERNAL_POPPACK +# include +# endif + +# if defined(_MSC_VER) && (_MSC_VER >= 800) +# pragma warning(disable:4103) +# endif + +# pragma pack(8) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pstore.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pstore.h new file mode 100644 index 0000000..0abb560 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pstore.h @@ -0,0 +1,772 @@ +/*** Autogenerated by WIDL 2.18 from pstore.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __pstore_h__ +#define __pstore_h__ + +/* Forward declarations */ + +#ifndef __IEnumPStoreItems_FWD_DEFINED__ +#define __IEnumPStoreItems_FWD_DEFINED__ +typedef interface IEnumPStoreItems IEnumPStoreItems; +#ifdef __cplusplus +interface IEnumPStoreItems; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumPStoreTypes_FWD_DEFINED__ +#define __IEnumPStoreTypes_FWD_DEFINED__ +typedef interface IEnumPStoreTypes IEnumPStoreTypes; +#ifdef __cplusplus +interface IEnumPStoreTypes; +#endif /* __cplusplus */ +#endif + +#ifndef __IPStore_FWD_DEFINED__ +#define __IPStore_FWD_DEFINED__ +typedef interface IPStore IPStore; +#ifdef __cplusplus +interface IPStore; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define PST_KEY_CURRENT_USER 0 +#define PST_KEY_LOCAL_MACHINE 1 +#define PST_E_OK 0x00000000L +#define PST_E_TYPE_EXISTS 0x800C0004L +#define PST_AUTHENTICODE 1 +#define PST_BINARY_CHECK 2 +#define PST_SECURITY_DESCRIPTOR 4 +typedef DWORD PST_ACCESSMODE; +typedef DWORD PST_ACCESSCLAUSETYPE; +typedef DWORD PST_KEY; +typedef DWORD PST_PROVIDERCAPABILITIES; +typedef GUID PST_PROVIDERID; +typedef GUID *PPST_PROVIDERID; + +DEFINE_GUID(LIBID_PSTORECLib, 0x5a6f1ebd, 0x2db1, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b); + +typedef struct _PST_PROVIDERINFO { + DWORD cbSize; + PST_PROVIDERID ID; + PST_PROVIDERCAPABILITIES Capabilities; + LPWSTR szProviderName; +} PST_PROVIDERINFO; +typedef struct _PST_PROVIDERINFO *PPST_PROVIDERINFO; +typedef struct _PST_PROMPTINFO { + DWORD cbSize; + DWORD dwPromptFlags; + HWND hwndApp; + LPCWSTR szPrompt; +} PST_PROMPTINFO; +typedef struct _PST_PROMPTINFO *PPST_PROMPTINFO; +typedef struct _PST_ACCESSCLAUSE { + DWORD cbSize; + PST_ACCESSCLAUSETYPE ClauseType; + DWORD cbClauseData; + BYTE *pbClauseData; +} PST_ACCESSCLAUSE; +typedef struct _PST_ACCESSCLAUSE *PPST_ACCESSCLAUSE; +typedef struct _PST_ACCESSRULE { + DWORD cbSize; + PST_ACCESSMODE AccessModeFlags; + DWORD cClauses; + PST_ACCESSCLAUSE *rgClauses; +} PST_ACCESSRULE; +typedef struct _PST_ACCESSRULE *PPST_ACCESSRULE; +typedef struct _PST_ACCESSRULESET { + DWORD cbSize; + DWORD cClause; + PST_ACCESSRULE *rgRules; +} PST_ACCESSRULESET; +typedef struct _PST_ACCESSRULESET *PPST_ACCESSRULESET; +typedef struct _PST_TYPEINFO { + DWORD cbSize; + LPWSTR szDisplayName; +} PST_TYPEINFO; +typedef struct _PST_TYPEINFO *PPST_TYPEINFO; +/***************************************************************************** + * IEnumPStoreItems interface + */ +#ifndef __IEnumPStoreItems_INTERFACE_DEFINED__ +#define __IEnumPStoreItems_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumPStoreItems, 0x5a6f1ec1, 0x2db1, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5a6f1ec1-2db1-11d0-8c39-00c04fd9126b") +IEnumPStoreItems : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumPStoreItems **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + DWORD celt, + LPWSTR *rgelt, + DWORD *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + DWORD celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumPStoreItems, 0x5a6f1ec1, 0x2db1, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b) +#endif +#else +typedef struct IEnumPStoreItemsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumPStoreItems *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumPStoreItems *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumPStoreItems *This); + + /*** IEnumPStoreItems methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumPStoreItems *This, + IEnumPStoreItems **ppenum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumPStoreItems *This, + DWORD celt, + LPWSTR *rgelt, + DWORD *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumPStoreItems *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumPStoreItems *This, + DWORD celt); + + END_INTERFACE +} IEnumPStoreItemsVtbl; + +interface IEnumPStoreItems { + CONST_VTBL IEnumPStoreItemsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumPStoreItems_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumPStoreItems_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumPStoreItems_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumPStoreItems methods ***/ +#define IEnumPStoreItems_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#define IEnumPStoreItems_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumPStoreItems_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumPStoreItems_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumPStoreItems_QueryInterface(IEnumPStoreItems* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumPStoreItems_AddRef(IEnumPStoreItems* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumPStoreItems_Release(IEnumPStoreItems* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumPStoreItems methods ***/ +static FORCEINLINE HRESULT IEnumPStoreItems_Clone(IEnumPStoreItems* This,IEnumPStoreItems **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +static FORCEINLINE HRESULT IEnumPStoreItems_Next(IEnumPStoreItems* This,DWORD celt,LPWSTR *rgelt,DWORD *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumPStoreItems_Reset(IEnumPStoreItems* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumPStoreItems_Skip(IEnumPStoreItems* This,DWORD celt) { + return This->lpVtbl->Skip(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumPStoreItems_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumPStoreTypes interface + */ +#ifndef __IEnumPStoreTypes_INTERFACE_DEFINED__ +#define __IEnumPStoreTypes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumPStoreTypes, 0x789c1cbf, 0x31ee, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("789c1cbf-31ee-11d0-8c39-00c04fd9126b") +IEnumPStoreTypes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumPStoreTypes **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + DWORD celt, + LPWSTR *rgelt, + DWORD *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + DWORD celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumPStoreTypes, 0x789c1cbf, 0x31ee, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b) +#endif +#else +typedef struct IEnumPStoreTypesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumPStoreTypes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumPStoreTypes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumPStoreTypes *This); + + /*** IEnumPStoreTypes methods ***/ + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumPStoreTypes *This, + IEnumPStoreTypes **ppenum); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumPStoreTypes *This, + DWORD celt, + LPWSTR *rgelt, + DWORD *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumPStoreTypes *This); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumPStoreTypes *This, + DWORD celt); + + END_INTERFACE +} IEnumPStoreTypesVtbl; + +interface IEnumPStoreTypes { + CONST_VTBL IEnumPStoreTypesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumPStoreTypes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumPStoreTypes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumPStoreTypes_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumPStoreTypes methods ***/ +#define IEnumPStoreTypes_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#define IEnumPStoreTypes_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumPStoreTypes_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumPStoreTypes_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumPStoreTypes_QueryInterface(IEnumPStoreTypes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumPStoreTypes_AddRef(IEnumPStoreTypes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumPStoreTypes_Release(IEnumPStoreTypes* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumPStoreTypes methods ***/ +static FORCEINLINE HRESULT IEnumPStoreTypes_Clone(IEnumPStoreTypes* This,IEnumPStoreTypes **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +static FORCEINLINE HRESULT IEnumPStoreTypes_Next(IEnumPStoreTypes* This,DWORD celt,LPWSTR *rgelt,DWORD *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumPStoreTypes_Reset(IEnumPStoreTypes* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumPStoreTypes_Skip(IEnumPStoreTypes* This,DWORD celt) { + return This->lpVtbl->Skip(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumPStoreTypes_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPStore interface + */ +#ifndef __IPStore_INTERFACE_DEFINED__ +#define __IPStore_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPStore, 0x5a6f1ec0, 0x2db1, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5a6f1ec0-2db1-11d0-8c39-00c04fd9126b") +IPStore : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetInfo( + PPST_PROVIDERINFO *ppProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProvParam( + DWORD dwParam, + DWORD *pcbData, + BYTE **ppbData, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProvParam( + DWORD dwParam, + DWORD cbData, + BYTE *pbData, + DWORD *dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateType( + PST_KEY Key, + const GUID *pType, + PPST_TYPEINFO pInfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTypeInfo( + PST_KEY Key, + const GUID *pType, + PPST_TYPEINFO **ppInfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteType( + PST_KEY Key, + const GUID *pType, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSubtype( + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO pInfo, + PPST_ACCESSRULESET pRules, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubtypeInfo( + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO **ppInfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteSubtype( + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadAccessRuleset( + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO pInfo, + PPST_ACCESSRULESET **ppRules, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteAccessRuleset( + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO pInfo, + PPST_ACCESSRULESET pRules, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumTypes( + PST_KEY Key, + DWORD dwFlags, + IEnumPStoreTypes **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumSubtypes( + PST_KEY Key, + const GUID *pType, + DWORD dwFlags, + IEnumPStoreTypes **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteItem( + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubType, + LPCWSTR szItemName, + PPST_PROMPTINFO pPromptInfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadItem( + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR szItemName, + DWORD *cbData, + BYTE **pbData, + PPST_PROMPTINFO pPromptInfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteItem( + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR szItemName, + DWORD cbData, + BYTE *ppbData, + PPST_PROMPTINFO pPromptInfo, + DWORD dwDefaultConfirmationStyle, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenItem( + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR szItemName, + PST_ACCESSMODE ModeFlags, + PPST_PROMPTINFO pPromptInfo, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseItem( + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR *szItemName, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumItems( + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + DWORD dwFlags, + IEnumPStoreItems **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPStore, 0x5a6f1ec0, 0x2db1, 0x11d0, 0x8c,0x39, 0x00,0xc0,0x4f,0xd9,0x12,0x6b) +#endif +#else +typedef struct IPStoreVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPStore *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPStore *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPStore *This); + + /*** IPStore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IPStore *This, + PPST_PROVIDERINFO *ppProperties); + + HRESULT (STDMETHODCALLTYPE *GetProvParam)( + IPStore *This, + DWORD dwParam, + DWORD *pcbData, + BYTE **ppbData, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *SetProvParam)( + IPStore *This, + DWORD dwParam, + DWORD cbData, + BYTE *pbData, + DWORD *dwFlags); + + HRESULT (STDMETHODCALLTYPE *CreateType)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + PPST_TYPEINFO pInfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + PPST_TYPEINFO **ppInfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DeleteType)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *CreateSubtype)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO pInfo, + PPST_ACCESSRULESET pRules, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetSubtypeInfo)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO **ppInfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DeleteSubtype)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ReadAccessRuleset)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO pInfo, + PPST_ACCESSRULESET **ppRules, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *WriteAccessRuleset)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + const GUID *pSubtype, + PPST_TYPEINFO pInfo, + PPST_ACCESSRULESET pRules, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *EnumTypes)( + IPStore *This, + PST_KEY Key, + DWORD dwFlags, + IEnumPStoreTypes **ppenum); + + HRESULT (STDMETHODCALLTYPE *EnumSubtypes)( + IPStore *This, + PST_KEY Key, + const GUID *pType, + DWORD dwFlags, + IEnumPStoreTypes **ppenum); + + HRESULT (STDMETHODCALLTYPE *DeleteItem)( + IPStore *This, + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubType, + LPCWSTR szItemName, + PPST_PROMPTINFO pPromptInfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ReadItem)( + IPStore *This, + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR szItemName, + DWORD *cbData, + BYTE **pbData, + PPST_PROMPTINFO pPromptInfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *WriteItem)( + IPStore *This, + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR szItemName, + DWORD cbData, + BYTE *ppbData, + PPST_PROMPTINFO pPromptInfo, + DWORD dwDefaultConfirmationStyle, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *OpenItem)( + IPStore *This, + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR szItemName, + PST_ACCESSMODE ModeFlags, + PPST_PROMPTINFO pPromptInfo, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *CloseItem)( + IPStore *This, + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + LPCWSTR *szItemName, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *EnumItems)( + IPStore *This, + PST_KEY Key, + const GUID *pItemType, + const GUID *pItemSubtype, + DWORD dwFlags, + IEnumPStoreItems **ppenum); + + END_INTERFACE +} IPStoreVtbl; + +interface IPStore { + CONST_VTBL IPStoreVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPStore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPStore_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPStore_Release(This) (This)->lpVtbl->Release(This) +/*** IPStore methods ***/ +#define IPStore_GetInfo(This,ppProperties) (This)->lpVtbl->GetInfo(This,ppProperties) +#define IPStore_GetProvParam(This,dwParam,pcbData,ppbData,dwFlags) (This)->lpVtbl->GetProvParam(This,dwParam,pcbData,ppbData,dwFlags) +#define IPStore_SetProvParam(This,dwParam,cbData,pbData,dwFlags) (This)->lpVtbl->SetProvParam(This,dwParam,cbData,pbData,dwFlags) +#define IPStore_CreateType(This,Key,pType,pInfo,dwFlags) (This)->lpVtbl->CreateType(This,Key,pType,pInfo,dwFlags) +#define IPStore_GetTypeInfo(This,Key,pType,ppInfo,dwFlags) (This)->lpVtbl->GetTypeInfo(This,Key,pType,ppInfo,dwFlags) +#define IPStore_DeleteType(This,Key,pType,dwFlags) (This)->lpVtbl->DeleteType(This,Key,pType,dwFlags) +#define IPStore_CreateSubtype(This,Key,pType,pSubtype,pInfo,pRules,dwFlags) (This)->lpVtbl->CreateSubtype(This,Key,pType,pSubtype,pInfo,pRules,dwFlags) +#define IPStore_GetSubtypeInfo(This,Key,pType,pSubtype,ppInfo,dwFlags) (This)->lpVtbl->GetSubtypeInfo(This,Key,pType,pSubtype,ppInfo,dwFlags) +#define IPStore_DeleteSubtype(This,Key,pType,pSubtype,dwFlags) (This)->lpVtbl->DeleteSubtype(This,Key,pType,pSubtype,dwFlags) +#define IPStore_ReadAccessRuleset(This,Key,pType,pSubtype,pInfo,ppRules,dwFlags) (This)->lpVtbl->ReadAccessRuleset(This,Key,pType,pSubtype,pInfo,ppRules,dwFlags) +#define IPStore_WriteAccessRuleset(This,Key,pType,pSubtype,pInfo,pRules,dwFlags) (This)->lpVtbl->WriteAccessRuleset(This,Key,pType,pSubtype,pInfo,pRules,dwFlags) +#define IPStore_EnumTypes(This,Key,dwFlags,ppenum) (This)->lpVtbl->EnumTypes(This,Key,dwFlags,ppenum) +#define IPStore_EnumSubtypes(This,Key,pType,dwFlags,ppenum) (This)->lpVtbl->EnumSubtypes(This,Key,pType,dwFlags,ppenum) +#define IPStore_DeleteItem(This,Key,pItemType,pItemSubType,szItemName,pPromptInfo,dwFlags) (This)->lpVtbl->DeleteItem(This,Key,pItemType,pItemSubType,szItemName,pPromptInfo,dwFlags) +#define IPStore_ReadItem(This,Key,pItemType,pItemSubtype,szItemName,cbData,pbData,pPromptInfo,dwFlags) (This)->lpVtbl->ReadItem(This,Key,pItemType,pItemSubtype,szItemName,cbData,pbData,pPromptInfo,dwFlags) +#define IPStore_WriteItem(This,Key,pItemType,pItemSubtype,szItemName,cbData,ppbData,pPromptInfo,dwDefaultConfirmationStyle,dwFlags) (This)->lpVtbl->WriteItem(This,Key,pItemType,pItemSubtype,szItemName,cbData,ppbData,pPromptInfo,dwDefaultConfirmationStyle,dwFlags) +#define IPStore_OpenItem(This,Key,pItemType,pItemSubtype,szItemName,ModeFlags,pPromptInfo,dwFlags) (This)->lpVtbl->OpenItem(This,Key,pItemType,pItemSubtype,szItemName,ModeFlags,pPromptInfo,dwFlags) +#define IPStore_CloseItem(This,Key,pItemType,pItemSubtype,szItemName,dwFlags) (This)->lpVtbl->CloseItem(This,Key,pItemType,pItemSubtype,szItemName,dwFlags) +#define IPStore_EnumItems(This,Key,pItemType,pItemSubtype,dwFlags,ppenum) (This)->lpVtbl->EnumItems(This,Key,pItemType,pItemSubtype,dwFlags,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPStore_QueryInterface(IPStore* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPStore_AddRef(IPStore* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPStore_Release(IPStore* This) { + return This->lpVtbl->Release(This); +} +/*** IPStore methods ***/ +static FORCEINLINE HRESULT IPStore_GetInfo(IPStore* This,PPST_PROVIDERINFO *ppProperties) { + return This->lpVtbl->GetInfo(This,ppProperties); +} +static FORCEINLINE HRESULT IPStore_GetProvParam(IPStore* This,DWORD dwParam,DWORD *pcbData,BYTE **ppbData,DWORD dwFlags) { + return This->lpVtbl->GetProvParam(This,dwParam,pcbData,ppbData,dwFlags); +} +static FORCEINLINE HRESULT IPStore_SetProvParam(IPStore* This,DWORD dwParam,DWORD cbData,BYTE *pbData,DWORD *dwFlags) { + return This->lpVtbl->SetProvParam(This,dwParam,cbData,pbData,dwFlags); +} +static FORCEINLINE HRESULT IPStore_CreateType(IPStore* This,PST_KEY Key,const GUID *pType,PPST_TYPEINFO pInfo,DWORD dwFlags) { + return This->lpVtbl->CreateType(This,Key,pType,pInfo,dwFlags); +} +static FORCEINLINE HRESULT IPStore_GetTypeInfo(IPStore* This,PST_KEY Key,const GUID *pType,PPST_TYPEINFO **ppInfo,DWORD dwFlags) { + return This->lpVtbl->GetTypeInfo(This,Key,pType,ppInfo,dwFlags); +} +static FORCEINLINE HRESULT IPStore_DeleteType(IPStore* This,PST_KEY Key,const GUID *pType,DWORD dwFlags) { + return This->lpVtbl->DeleteType(This,Key,pType,dwFlags); +} +static FORCEINLINE HRESULT IPStore_CreateSubtype(IPStore* This,PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_TYPEINFO pInfo,PPST_ACCESSRULESET pRules,DWORD dwFlags) { + return This->lpVtbl->CreateSubtype(This,Key,pType,pSubtype,pInfo,pRules,dwFlags); +} +static FORCEINLINE HRESULT IPStore_GetSubtypeInfo(IPStore* This,PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_TYPEINFO **ppInfo,DWORD dwFlags) { + return This->lpVtbl->GetSubtypeInfo(This,Key,pType,pSubtype,ppInfo,dwFlags); +} +static FORCEINLINE HRESULT IPStore_DeleteSubtype(IPStore* This,PST_KEY Key,const GUID *pType,const GUID *pSubtype,DWORD dwFlags) { + return This->lpVtbl->DeleteSubtype(This,Key,pType,pSubtype,dwFlags); +} +static FORCEINLINE HRESULT IPStore_ReadAccessRuleset(IPStore* This,PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_TYPEINFO pInfo,PPST_ACCESSRULESET **ppRules,DWORD dwFlags) { + return This->lpVtbl->ReadAccessRuleset(This,Key,pType,pSubtype,pInfo,ppRules,dwFlags); +} +static FORCEINLINE HRESULT IPStore_WriteAccessRuleset(IPStore* This,PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_TYPEINFO pInfo,PPST_ACCESSRULESET pRules,DWORD dwFlags) { + return This->lpVtbl->WriteAccessRuleset(This,Key,pType,pSubtype,pInfo,pRules,dwFlags); +} +static FORCEINLINE HRESULT IPStore_EnumTypes(IPStore* This,PST_KEY Key,DWORD dwFlags,IEnumPStoreTypes **ppenum) { + return This->lpVtbl->EnumTypes(This,Key,dwFlags,ppenum); +} +static FORCEINLINE HRESULT IPStore_EnumSubtypes(IPStore* This,PST_KEY Key,const GUID *pType,DWORD dwFlags,IEnumPStoreTypes **ppenum) { + return This->lpVtbl->EnumSubtypes(This,Key,pType,dwFlags,ppenum); +} +static FORCEINLINE HRESULT IPStore_DeleteItem(IPStore* This,PST_KEY Key,const GUID *pItemType,const GUID *pItemSubType,LPCWSTR szItemName,PPST_PROMPTINFO pPromptInfo,DWORD dwFlags) { + return This->lpVtbl->DeleteItem(This,Key,pItemType,pItemSubType,szItemName,pPromptInfo,dwFlags); +} +static FORCEINLINE HRESULT IPStore_ReadItem(IPStore* This,PST_KEY Key,const GUID *pItemType,const GUID *pItemSubtype,LPCWSTR szItemName,DWORD *cbData,BYTE **pbData,PPST_PROMPTINFO pPromptInfo,DWORD dwFlags) { + return This->lpVtbl->ReadItem(This,Key,pItemType,pItemSubtype,szItemName,cbData,pbData,pPromptInfo,dwFlags); +} +static FORCEINLINE HRESULT IPStore_WriteItem(IPStore* This,PST_KEY Key,const GUID *pItemType,const GUID *pItemSubtype,LPCWSTR szItemName,DWORD cbData,BYTE *ppbData,PPST_PROMPTINFO pPromptInfo,DWORD dwDefaultConfirmationStyle,DWORD dwFlags) { + return This->lpVtbl->WriteItem(This,Key,pItemType,pItemSubtype,szItemName,cbData,ppbData,pPromptInfo,dwDefaultConfirmationStyle,dwFlags); +} +static FORCEINLINE HRESULT IPStore_OpenItem(IPStore* This,PST_KEY Key,const GUID *pItemType,const GUID *pItemSubtype,LPCWSTR szItemName,PST_ACCESSMODE ModeFlags,PPST_PROMPTINFO pPromptInfo,DWORD dwFlags) { + return This->lpVtbl->OpenItem(This,Key,pItemType,pItemSubtype,szItemName,ModeFlags,pPromptInfo,dwFlags); +} +static FORCEINLINE HRESULT IPStore_CloseItem(IPStore* This,PST_KEY Key,const GUID *pItemType,const GUID *pItemSubtype,LPCWSTR *szItemName,DWORD dwFlags) { + return This->lpVtbl->CloseItem(This,Key,pItemType,pItemSubtype,szItemName,dwFlags); +} +static FORCEINLINE HRESULT IPStore_EnumItems(IPStore* This,PST_KEY Key,const GUID *pItemType,const GUID *pItemSubtype,DWORD dwFlags,IEnumPStoreItems **ppenum) { + return This->lpVtbl->EnumItems(This,Key,pItemType,pItemSubtype,dwFlags,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IPStore_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __pstore_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pstore.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pstore.idl new file mode 100644 index 0000000..a963b25 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/pstore.idl @@ -0,0 +1,276 @@ +/* + * Copyright (C) 2004 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; +import "oaidl.idl"; + +cpp_quote("#define PST_KEY_CURRENT_USER 0") +cpp_quote("#define PST_KEY_LOCAL_MACHINE 1") + +cpp_quote("#define PST_E_OK 0x00000000L") +cpp_quote("#define PST_E_TYPE_EXISTS 0x800C0004L") + +cpp_quote("#define PST_AUTHENTICODE 1") +cpp_quote("#define PST_BINARY_CHECK 2") +cpp_quote("#define PST_SECURITY_DESCRIPTOR 4") + +typedef DWORD PST_ACCESSMODE; +typedef DWORD PST_ACCESSCLAUSETYPE; +typedef DWORD PST_KEY; +typedef DWORD PST_PROVIDERCAPABILITIES; +typedef GUID PST_PROVIDERID, *PPST_PROVIDERID; + +/***************************************************************************** + * PSTOREC library + */ +[ + uuid(5a6f1ebd-2db1-11d0-8c39-00c04fd9126b), + version(1.0), + helpstring("PStore 1.0 Type Library") +] +library PSTORECLib +{ + importlib("stdole2.tlb"); + +typedef struct _PST_PROVIDERINFO +{ + DWORD cbSize; + PST_PROVIDERID ID; + PST_PROVIDERCAPABILITIES Capabilities; + LPWSTR szProviderName; +} PST_PROVIDERINFO, *PPST_PROVIDERINFO; + +typedef struct _PST_PROMPTINFO +{ + DWORD cbSize; + DWORD dwPromptFlags; + HWND hwndApp; + LPCWSTR szPrompt; +} PST_PROMPTINFO, *PPST_PROMPTINFO; + +typedef struct _PST_ACCESSCLAUSE { + DWORD cbSize; + PST_ACCESSCLAUSETYPE ClauseType; + DWORD cbClauseData; + BYTE* pbClauseData; +} PST_ACCESSCLAUSE, *PPST_ACCESSCLAUSE; + +typedef struct _PST_ACCESSRULE { + DWORD cbSize; + PST_ACCESSMODE AccessModeFlags; + DWORD cClauses; + PST_ACCESSCLAUSE* rgClauses; +} PST_ACCESSRULE, *PPST_ACCESSRULE; + +typedef struct _PST_ACCESSRULESET { + DWORD cbSize; + DWORD cClause; + PST_ACCESSRULE* rgRules; +} PST_ACCESSRULESET, *PPST_ACCESSRULESET; + +typedef struct _PST_TYPEINFO { + DWORD cbSize; + LPWSTR szDisplayName; +} PST_TYPEINFO, *PPST_TYPEINFO; + +[ + object, + uuid(5a6f1ec1-2db1-11d0-8c39-00c04fd9126b), + pointer_default(unique) +] +interface IEnumPStoreItems : IUnknown +{ + HRESULT Clone( + [in] IEnumPStoreItems** ppenum ); + + HRESULT Next( + [in] DWORD celt, + [in] LPWSTR* rgelt, + [in] DWORD* pceltFetched ); + + HRESULT Reset(); + + HRESULT Skip( + [in] DWORD celt ); +} + +[ + object, + uuid(789c1cbf-31ee-11d0-8c39-00c04fd9126b), + pointer_default(unique) +] +interface IEnumPStoreTypes : IUnknown +{ + HRESULT Clone( + [in] IEnumPStoreTypes** ppenum ); + + HRESULT Next( + [in] DWORD celt, + [in] LPWSTR* rgelt, + [in] DWORD* pceltFetched ); + + HRESULT Reset(); + + HRESULT Skip( + [in] DWORD celt ); +} + +/***************************************************************************** + * IPStore interface + */ +[ + object, + uuid(5a6f1ec0-2db1-11d0-8c39-00c04fd9126b), + pointer_default(unique) +] +interface IPStore : IUnknown +{ + HRESULT GetInfo( + [in] PPST_PROVIDERINFO* ppProperties ); + + HRESULT GetProvParam( + [in] DWORD dwParam, + [out] DWORD* pcbData, + [out] BYTE** ppbData, + [in] DWORD dwFlags ); + + HRESULT SetProvParam( + [in] DWORD dwParam, + [in] DWORD cbData, + [in] BYTE* pbData, + [in] DWORD* dwFlags ); + + HRESULT CreateType( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] PPST_TYPEINFO pInfo, + [in] DWORD dwFlags ); + + HRESULT GetTypeInfo( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] PPST_TYPEINFO** ppInfo, + [in] DWORD dwFlags ); + + HRESULT DeleteType( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] DWORD dwFlags ); + + HRESULT CreateSubtype( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] const GUID* pSubtype, + [in] PPST_TYPEINFO pInfo, + [in] PPST_ACCESSRULESET pRules, + [in] DWORD dwFlags ); + + HRESULT GetSubtypeInfo( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] const GUID* pSubtype, + [in] PPST_TYPEINFO** ppInfo, + [in] DWORD dwFlags ); + + HRESULT DeleteSubtype( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] const GUID* pSubtype, + [in] DWORD dwFlags ); + + HRESULT ReadAccessRuleset( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] const GUID* pSubtype, + [in] PPST_TYPEINFO pInfo, + [in] PPST_ACCESSRULESET** ppRules, + [in] DWORD dwFlags ); + + HRESULT WriteAccessRuleset( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] const GUID* pSubtype, + [in] PPST_TYPEINFO pInfo, + [in] PPST_ACCESSRULESET pRules, + [in] DWORD dwFlags ); + + HRESULT EnumTypes( + [in] PST_KEY Key, + [in] DWORD dwFlags, + [in] IEnumPStoreTypes** ppenum ); + + HRESULT EnumSubtypes( + [in] PST_KEY Key, + [in] const GUID* pType, + [in] DWORD dwFlags, + [in] IEnumPStoreTypes** ppenum ); + + HRESULT DeleteItem( + [in] PST_KEY Key, + [in] const GUID* pItemType, + [in] const GUID* pItemSubType, + [in] LPCWSTR szItemName, + [in] PPST_PROMPTINFO pPromptInfo, + [in] DWORD dwFlags ); + + HRESULT ReadItem( + [in] PST_KEY Key, + [in] const GUID* pItemType, + [in] const GUID* pItemSubtype, + [in] LPCWSTR szItemName, + [in] DWORD *cbData, + [in] BYTE** pbData, + [in] PPST_PROMPTINFO pPromptInfo, + [in] DWORD dwFlags ); + + HRESULT WriteItem( + [in] PST_KEY Key, + [in] const GUID* pItemType, + [in] const GUID* pItemSubtype, + [in] LPCWSTR szItemName, + [in] DWORD cbData, + [in,size_is(cbData)] BYTE *ppbData, + [in] PPST_PROMPTINFO pPromptInfo, + [in] DWORD dwDefaultConfirmationStyle, + [in] DWORD dwFlags); + + HRESULT OpenItem( + [in] PST_KEY Key, + [in] const GUID* pItemType, + [in] const GUID* pItemSubtype, + [in] LPCWSTR szItemName, + [in] PST_ACCESSMODE ModeFlags, + [in] PPST_PROMPTINFO pPromptInfo, + [in] DWORD dwFlags ); + + HRESULT CloseItem( + [in] PST_KEY Key, + [in] const GUID* pItemType, + [in] const GUID* pItemSubtype, + [in] LPCWSTR* szItemName, + [in] DWORD dwFlags ); + + HRESULT EnumItems( + [in] PST_KEY Key, + [in] const GUID* pItemType, + [in] const GUID* pItemSubtype, + [in] DWORD dwFlags, + [in] IEnumPStoreItems** ppenum ); +} + +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/qedit.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/qedit.h new file mode 100644 index 0000000..d01ace0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/qedit.h @@ -0,0 +1,2715 @@ +/*** Autogenerated by WIDL 2.18 from qedit.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __qedit_h__ +#define __qedit_h__ + +/* Forward declarations */ + +#ifndef __ISampleGrabberCB_FWD_DEFINED__ +#define __ISampleGrabberCB_FWD_DEFINED__ +typedef interface ISampleGrabberCB ISampleGrabberCB; +#ifdef __cplusplus +interface ISampleGrabberCB; +#endif /* __cplusplus */ +#endif + +#ifndef __ISampleGrabber_FWD_DEFINED__ +#define __ISampleGrabber_FWD_DEFINED__ +typedef interface ISampleGrabber ISampleGrabber; +#ifdef __cplusplus +interface ISampleGrabber; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaDet_FWD_DEFINED__ +#define __IMediaDet_FWD_DEFINED__ +typedef interface IMediaDet IMediaDet; +#ifdef __cplusplus +interface IMediaDet; +#endif /* __cplusplus */ +#endif + +#ifndef __MediaDet_FWD_DEFINED__ +#define __MediaDet_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MediaDet MediaDet; +#else +typedef struct MediaDet MediaDet; +#endif /* defined __cplusplus */ +#endif /* defined __MediaDet_FWD_DEFINED__ */ + +#ifndef __IMediaLocator_FWD_DEFINED__ +#define __IMediaLocator_FWD_DEFINED__ +typedef interface IMediaLocator IMediaLocator; +#ifdef __cplusplus +interface IMediaLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IPropertySetter_FWD_DEFINED__ +#define __IPropertySetter_FWD_DEFINED__ +typedef interface IPropertySetter IPropertySetter; +#ifdef __cplusplus +interface IPropertySetter; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMErrorLog_FWD_DEFINED__ +#define __IAMErrorLog_FWD_DEFINED__ +typedef interface IAMErrorLog IAMErrorLog; +#ifdef __cplusplus +interface IAMErrorLog; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMSetErrorLog_FWD_DEFINED__ +#define __IAMSetErrorLog_FWD_DEFINED__ +typedef interface IAMSetErrorLog IAMSetErrorLog; +#ifdef __cplusplus +interface IAMSetErrorLog; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimeline_FWD_DEFINED__ +#define __IAMTimeline_FWD_DEFINED__ +typedef interface IAMTimeline IAMTimeline; +#ifdef __cplusplus +interface IAMTimeline; +#endif /* __cplusplus */ +#endif + +#ifndef __AMTimeline_FWD_DEFINED__ +#define __AMTimeline_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AMTimeline AMTimeline; +#else +typedef struct AMTimeline AMTimeline; +#endif /* defined __cplusplus */ +#endif /* defined __AMTimeline_FWD_DEFINED__ */ + +#ifndef __IAMTimelineGroup_FWD_DEFINED__ +#define __IAMTimelineGroup_FWD_DEFINED__ +typedef interface IAMTimelineGroup IAMTimelineGroup; +#ifdef __cplusplus +interface IAMTimelineGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimelineObj_FWD_DEFINED__ +#define __IAMTimelineObj_FWD_DEFINED__ +typedef interface IAMTimelineObj IAMTimelineObj; +#ifdef __cplusplus +interface IAMTimelineObj; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimelineSrc_FWD_DEFINED__ +#define __IAMTimelineSrc_FWD_DEFINED__ +typedef interface IAMTimelineSrc IAMTimelineSrc; +#ifdef __cplusplus +interface IAMTimelineSrc; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * ISampleGrabberCB interface + */ +#ifndef __ISampleGrabberCB_INTERFACE_DEFINED__ +#define __ISampleGrabberCB_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISampleGrabberCB, 0x0579154a, 0x2b53, 0x4994, 0xb0,0xd0, 0xe7,0x73,0x14,0x8e,0xff,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0579154a-2b53-4994-b0d0-e773148eff85") +ISampleGrabberCB : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SampleCB( + double SampleTime, + IMediaSample *pSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE BufferCB( + double SampleTime, + BYTE *pBuffer, + LONG BufferLen) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISampleGrabberCB, 0x0579154a, 0x2b53, 0x4994, 0xb0,0xd0, 0xe7,0x73,0x14,0x8e,0xff,0x85) +#endif +#else +typedef struct ISampleGrabberCBVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISampleGrabberCB *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISampleGrabberCB *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISampleGrabberCB *This); + + /*** ISampleGrabberCB methods ***/ + HRESULT (STDMETHODCALLTYPE *SampleCB)( + ISampleGrabberCB *This, + double SampleTime, + IMediaSample *pSample); + + HRESULT (STDMETHODCALLTYPE *BufferCB)( + ISampleGrabberCB *This, + double SampleTime, + BYTE *pBuffer, + LONG BufferLen); + + END_INTERFACE +} ISampleGrabberCBVtbl; + +interface ISampleGrabberCB { + CONST_VTBL ISampleGrabberCBVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISampleGrabberCB_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISampleGrabberCB_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISampleGrabberCB_Release(This) (This)->lpVtbl->Release(This) +/*** ISampleGrabberCB methods ***/ +#define ISampleGrabberCB_SampleCB(This,SampleTime,pSample) (This)->lpVtbl->SampleCB(This,SampleTime,pSample) +#define ISampleGrabberCB_BufferCB(This,SampleTime,pBuffer,BufferLen) (This)->lpVtbl->BufferCB(This,SampleTime,pBuffer,BufferLen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISampleGrabberCB_QueryInterface(ISampleGrabberCB* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISampleGrabberCB_AddRef(ISampleGrabberCB* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISampleGrabberCB_Release(ISampleGrabberCB* This) { + return This->lpVtbl->Release(This); +} +/*** ISampleGrabberCB methods ***/ +static FORCEINLINE HRESULT ISampleGrabberCB_SampleCB(ISampleGrabberCB* This,double SampleTime,IMediaSample *pSample) { + return This->lpVtbl->SampleCB(This,SampleTime,pSample); +} +static FORCEINLINE HRESULT ISampleGrabberCB_BufferCB(ISampleGrabberCB* This,double SampleTime,BYTE *pBuffer,LONG BufferLen) { + return This->lpVtbl->BufferCB(This,SampleTime,pBuffer,BufferLen); +} +#endif +#endif + +#endif + + +#endif /* __ISampleGrabberCB_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISampleGrabber interface + */ +#ifndef __ISampleGrabber_INTERFACE_DEFINED__ +#define __ISampleGrabber_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISampleGrabber, 0x6b652fff, 0x11fe, 0x4fce, 0x92,0xad, 0x02,0x66,0xb5,0xd7,0xc7,0x8f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6b652fff-11fe-4fce-92ad-0266b5d7c78f") +ISampleGrabber : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetOneShot( + BOOL OneShot) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaType( + const AM_MEDIA_TYPE *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectedMediaType( + AM_MEDIA_TYPE *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBufferSamples( + BOOL BufferThem) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentBuffer( + LONG *pBufferSize, + LONG *pBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentSample( + IMediaSample **ppSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCallback( + ISampleGrabberCB *pCallback, + LONG WhichMethodToCallback) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISampleGrabber, 0x6b652fff, 0x11fe, 0x4fce, 0x92,0xad, 0x02,0x66,0xb5,0xd7,0xc7,0x8f) +#endif +#else +typedef struct ISampleGrabberVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISampleGrabber *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISampleGrabber *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISampleGrabber *This); + + /*** ISampleGrabber methods ***/ + HRESULT (STDMETHODCALLTYPE *SetOneShot)( + ISampleGrabber *This, + BOOL OneShot); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + ISampleGrabber *This, + const AM_MEDIA_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *GetConnectedMediaType)( + ISampleGrabber *This, + AM_MEDIA_TYPE *pType); + + HRESULT (STDMETHODCALLTYPE *SetBufferSamples)( + ISampleGrabber *This, + BOOL BufferThem); + + HRESULT (STDMETHODCALLTYPE *GetCurrentBuffer)( + ISampleGrabber *This, + LONG *pBufferSize, + LONG *pBuffer); + + HRESULT (STDMETHODCALLTYPE *GetCurrentSample)( + ISampleGrabber *This, + IMediaSample **ppSample); + + HRESULT (STDMETHODCALLTYPE *SetCallback)( + ISampleGrabber *This, + ISampleGrabberCB *pCallback, + LONG WhichMethodToCallback); + + END_INTERFACE +} ISampleGrabberVtbl; + +interface ISampleGrabber { + CONST_VTBL ISampleGrabberVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISampleGrabber_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISampleGrabber_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISampleGrabber_Release(This) (This)->lpVtbl->Release(This) +/*** ISampleGrabber methods ***/ +#define ISampleGrabber_SetOneShot(This,OneShot) (This)->lpVtbl->SetOneShot(This,OneShot) +#define ISampleGrabber_SetMediaType(This,pType) (This)->lpVtbl->SetMediaType(This,pType) +#define ISampleGrabber_GetConnectedMediaType(This,pType) (This)->lpVtbl->GetConnectedMediaType(This,pType) +#define ISampleGrabber_SetBufferSamples(This,BufferThem) (This)->lpVtbl->SetBufferSamples(This,BufferThem) +#define ISampleGrabber_GetCurrentBuffer(This,pBufferSize,pBuffer) (This)->lpVtbl->GetCurrentBuffer(This,pBufferSize,pBuffer) +#define ISampleGrabber_GetCurrentSample(This,ppSample) (This)->lpVtbl->GetCurrentSample(This,ppSample) +#define ISampleGrabber_SetCallback(This,pCallback,WhichMethodToCallback) (This)->lpVtbl->SetCallback(This,pCallback,WhichMethodToCallback) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISampleGrabber_QueryInterface(ISampleGrabber* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISampleGrabber_AddRef(ISampleGrabber* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISampleGrabber_Release(ISampleGrabber* This) { + return This->lpVtbl->Release(This); +} +/*** ISampleGrabber methods ***/ +static FORCEINLINE HRESULT ISampleGrabber_SetOneShot(ISampleGrabber* This,BOOL OneShot) { + return This->lpVtbl->SetOneShot(This,OneShot); +} +static FORCEINLINE HRESULT ISampleGrabber_SetMediaType(ISampleGrabber* This,const AM_MEDIA_TYPE *pType) { + return This->lpVtbl->SetMediaType(This,pType); +} +static FORCEINLINE HRESULT ISampleGrabber_GetConnectedMediaType(ISampleGrabber* This,AM_MEDIA_TYPE *pType) { + return This->lpVtbl->GetConnectedMediaType(This,pType); +} +static FORCEINLINE HRESULT ISampleGrabber_SetBufferSamples(ISampleGrabber* This,BOOL BufferThem) { + return This->lpVtbl->SetBufferSamples(This,BufferThem); +} +static FORCEINLINE HRESULT ISampleGrabber_GetCurrentBuffer(ISampleGrabber* This,LONG *pBufferSize,LONG *pBuffer) { + return This->lpVtbl->GetCurrentBuffer(This,pBufferSize,pBuffer); +} +static FORCEINLINE HRESULT ISampleGrabber_GetCurrentSample(ISampleGrabber* This,IMediaSample **ppSample) { + return This->lpVtbl->GetCurrentSample(This,ppSample); +} +static FORCEINLINE HRESULT ISampleGrabber_SetCallback(ISampleGrabber* This,ISampleGrabberCB *pCallback,LONG WhichMethodToCallback) { + return This->lpVtbl->SetCallback(This,pCallback,WhichMethodToCallback); +} +#endif +#endif + +#endif + + +#endif /* __ISampleGrabber_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMediaDet interface + */ +#ifndef __IMediaDet_INTERFACE_DEFINED__ +#define __IMediaDet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaDet, 0x65bd0710, 0x24d2, 0x4ff7, 0x93,0x24, 0xed,0x2e,0x5d,0x3a,0xba,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("65bd0710-24d2-4ff7-9324-ed2e5d3abafa") +IMediaDet : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_Filter( + IUnknown **pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Filter( + IUnknown *newVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OutputStreams( + LONG *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentStream( + LONG *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CurrentStream( + LONG newVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StreamType( + GUID *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StreamTypeB( + BSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StreamLength( + double *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Filename( + BSTR *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Filename( + BSTR newVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBitmapBits( + double StreamTime, + LONG *pBufferSize, + char *pBuffer, + LONG Width, + LONG Height) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteBitmapBits( + double StreamTime, + LONG Width, + LONG Height, + BSTR Filename) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StreamMediaType( + AM_MEDIA_TYPE *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSampleGrabber( + ISampleGrabber **ppVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FrameRate( + double *pVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnterBitmapGrabMode( + double SeekTime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaDet, 0x65bd0710, 0x24d2, 0x4ff7, 0x93,0x24, 0xed,0x2e,0x5d,0x3a,0xba,0xfa) +#endif +#else +typedef struct IMediaDetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaDet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaDet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaDet *This); + + /*** IMediaDet methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Filter)( + IMediaDet *This, + IUnknown **pVal); + + HRESULT (STDMETHODCALLTYPE *put_Filter)( + IMediaDet *This, + IUnknown *newVal); + + HRESULT (STDMETHODCALLTYPE *get_OutputStreams)( + IMediaDet *This, + LONG *pVal); + + HRESULT (STDMETHODCALLTYPE *get_CurrentStream)( + IMediaDet *This, + LONG *pVal); + + HRESULT (STDMETHODCALLTYPE *put_CurrentStream)( + IMediaDet *This, + LONG newVal); + + HRESULT (STDMETHODCALLTYPE *get_StreamType)( + IMediaDet *This, + GUID *pVal); + + HRESULT (STDMETHODCALLTYPE *get_StreamTypeB)( + IMediaDet *This, + BSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *get_StreamLength)( + IMediaDet *This, + double *pVal); + + HRESULT (STDMETHODCALLTYPE *get_Filename)( + IMediaDet *This, + BSTR *pVal); + + HRESULT (STDMETHODCALLTYPE *put_Filename)( + IMediaDet *This, + BSTR newVal); + + HRESULT (STDMETHODCALLTYPE *GetBitmapBits)( + IMediaDet *This, + double StreamTime, + LONG *pBufferSize, + char *pBuffer, + LONG Width, + LONG Height); + + HRESULT (STDMETHODCALLTYPE *WriteBitmapBits)( + IMediaDet *This, + double StreamTime, + LONG Width, + LONG Height, + BSTR Filename); + + HRESULT (STDMETHODCALLTYPE *get_StreamMediaType)( + IMediaDet *This, + AM_MEDIA_TYPE *pVal); + + HRESULT (STDMETHODCALLTYPE *GetSampleGrabber)( + IMediaDet *This, + ISampleGrabber **ppVal); + + HRESULT (STDMETHODCALLTYPE *get_FrameRate)( + IMediaDet *This, + double *pVal); + + HRESULT (STDMETHODCALLTYPE *EnterBitmapGrabMode)( + IMediaDet *This, + double SeekTime); + + END_INTERFACE +} IMediaDetVtbl; + +interface IMediaDet { + CONST_VTBL IMediaDetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaDet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaDet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaDet_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaDet methods ***/ +#define IMediaDet_get_Filter(This,pVal) (This)->lpVtbl->get_Filter(This,pVal) +#define IMediaDet_put_Filter(This,newVal) (This)->lpVtbl->put_Filter(This,newVal) +#define IMediaDet_get_OutputStreams(This,pVal) (This)->lpVtbl->get_OutputStreams(This,pVal) +#define IMediaDet_get_CurrentStream(This,pVal) (This)->lpVtbl->get_CurrentStream(This,pVal) +#define IMediaDet_put_CurrentStream(This,newVal) (This)->lpVtbl->put_CurrentStream(This,newVal) +#define IMediaDet_get_StreamType(This,pVal) (This)->lpVtbl->get_StreamType(This,pVal) +#define IMediaDet_get_StreamTypeB(This,pVal) (This)->lpVtbl->get_StreamTypeB(This,pVal) +#define IMediaDet_get_StreamLength(This,pVal) (This)->lpVtbl->get_StreamLength(This,pVal) +#define IMediaDet_get_Filename(This,pVal) (This)->lpVtbl->get_Filename(This,pVal) +#define IMediaDet_put_Filename(This,newVal) (This)->lpVtbl->put_Filename(This,newVal) +#define IMediaDet_GetBitmapBits(This,StreamTime,pBufferSize,pBuffer,Width,Height) (This)->lpVtbl->GetBitmapBits(This,StreamTime,pBufferSize,pBuffer,Width,Height) +#define IMediaDet_WriteBitmapBits(This,StreamTime,Width,Height,Filename) (This)->lpVtbl->WriteBitmapBits(This,StreamTime,Width,Height,Filename) +#define IMediaDet_get_StreamMediaType(This,pVal) (This)->lpVtbl->get_StreamMediaType(This,pVal) +#define IMediaDet_GetSampleGrabber(This,ppVal) (This)->lpVtbl->GetSampleGrabber(This,ppVal) +#define IMediaDet_get_FrameRate(This,pVal) (This)->lpVtbl->get_FrameRate(This,pVal) +#define IMediaDet_EnterBitmapGrabMode(This,SeekTime) (This)->lpVtbl->EnterBitmapGrabMode(This,SeekTime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaDet_QueryInterface(IMediaDet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaDet_AddRef(IMediaDet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaDet_Release(IMediaDet* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaDet methods ***/ +static FORCEINLINE HRESULT IMediaDet_get_Filter(IMediaDet* This,IUnknown **pVal) { + return This->lpVtbl->get_Filter(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_put_Filter(IMediaDet* This,IUnknown *newVal) { + return This->lpVtbl->put_Filter(This,newVal); +} +static FORCEINLINE HRESULT IMediaDet_get_OutputStreams(IMediaDet* This,LONG *pVal) { + return This->lpVtbl->get_OutputStreams(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_get_CurrentStream(IMediaDet* This,LONG *pVal) { + return This->lpVtbl->get_CurrentStream(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_put_CurrentStream(IMediaDet* This,LONG newVal) { + return This->lpVtbl->put_CurrentStream(This,newVal); +} +static FORCEINLINE HRESULT IMediaDet_get_StreamType(IMediaDet* This,GUID *pVal) { + return This->lpVtbl->get_StreamType(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_get_StreamTypeB(IMediaDet* This,BSTR *pVal) { + return This->lpVtbl->get_StreamTypeB(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_get_StreamLength(IMediaDet* This,double *pVal) { + return This->lpVtbl->get_StreamLength(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_get_Filename(IMediaDet* This,BSTR *pVal) { + return This->lpVtbl->get_Filename(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_put_Filename(IMediaDet* This,BSTR newVal) { + return This->lpVtbl->put_Filename(This,newVal); +} +static FORCEINLINE HRESULT IMediaDet_GetBitmapBits(IMediaDet* This,double StreamTime,LONG *pBufferSize,char *pBuffer,LONG Width,LONG Height) { + return This->lpVtbl->GetBitmapBits(This,StreamTime,pBufferSize,pBuffer,Width,Height); +} +static FORCEINLINE HRESULT IMediaDet_WriteBitmapBits(IMediaDet* This,double StreamTime,LONG Width,LONG Height,BSTR Filename) { + return This->lpVtbl->WriteBitmapBits(This,StreamTime,Width,Height,Filename); +} +static FORCEINLINE HRESULT IMediaDet_get_StreamMediaType(IMediaDet* This,AM_MEDIA_TYPE *pVal) { + return This->lpVtbl->get_StreamMediaType(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_GetSampleGrabber(IMediaDet* This,ISampleGrabber **ppVal) { + return This->lpVtbl->GetSampleGrabber(This,ppVal); +} +static FORCEINLINE HRESULT IMediaDet_get_FrameRate(IMediaDet* This,double *pVal) { + return This->lpVtbl->get_FrameRate(This,pVal); +} +static FORCEINLINE HRESULT IMediaDet_EnterBitmapGrabMode(IMediaDet* This,double SeekTime) { + return This->lpVtbl->EnterBitmapGrabMode(This,SeekTime); +} +#endif +#endif + +#endif + + +#endif /* __IMediaDet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * MediaDet coclass + */ + +DEFINE_GUID(CLSID_MediaDet, 0x65bd0711, 0x24d2, 0x4ff7, 0x93,0x24, 0xed,0x2e,0x5d,0x3a,0xba,0xfa); + +#ifdef __cplusplus +class DECLSPEC_UUID("65bd0711-24d2-4ff7-9324-ed2e5d3abafa") MediaDet; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(MediaDet, 0x65bd0711, 0x24d2, 0x4ff7, 0x93,0x24, 0xed,0x2e,0x5d,0x3a,0xba,0xfa) +#endif +#endif + +/***************************************************************************** + * IMediaLocator interface + */ +#ifndef __IMediaLocator_INTERFACE_DEFINED__ +#define __IMediaLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaLocator, 0x288581e0, 0x66ce, 0x11d2, 0x91,0x8f, 0x00,0xc0,0xdf,0x10,0xd4,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("288581e0-66ce-11d2-918f-00c0df10d434") +IMediaLocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FindMediaFile( + BSTR input, + BSTR filter, + BSTR *output, + LONG flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFoundLocation( + BSTR dir) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaLocator, 0x288581e0, 0x66ce, 0x11d2, 0x91,0x8f, 0x00,0xc0,0xdf,0x10,0xd4,0x34) +#endif +#else +typedef struct IMediaLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaLocator *This); + + /*** IMediaLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *FindMediaFile)( + IMediaLocator *This, + BSTR input, + BSTR filter, + BSTR *output, + LONG flags); + + HRESULT (STDMETHODCALLTYPE *AddFoundLocation)( + IMediaLocator *This, + BSTR dir); + + END_INTERFACE +} IMediaLocatorVtbl; + +interface IMediaLocator { + CONST_VTBL IMediaLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaLocator_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaLocator methods ***/ +#define IMediaLocator_FindMediaFile(This,input,filter,output,flags) (This)->lpVtbl->FindMediaFile(This,input,filter,output,flags) +#define IMediaLocator_AddFoundLocation(This,dir) (This)->lpVtbl->AddFoundLocation(This,dir) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaLocator_QueryInterface(IMediaLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaLocator_AddRef(IMediaLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaLocator_Release(IMediaLocator* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaLocator methods ***/ +static FORCEINLINE HRESULT IMediaLocator_FindMediaFile(IMediaLocator* This,BSTR input,BSTR filter,BSTR *output,LONG flags) { + return This->lpVtbl->FindMediaFile(This,input,filter,output,flags); +} +static FORCEINLINE HRESULT IMediaLocator_AddFoundLocation(IMediaLocator* This,BSTR dir) { + return This->lpVtbl->AddFoundLocation(This,dir); +} +#endif +#endif + +#endif + + +#endif /* __IMediaLocator_INTERFACE_DEFINED__ */ + +typedef struct __WIDL_qedit_generated_name_0000001D { + BSTR name; + DISPID dispID; + LONG nValues; +} DEXTER_PARAM; +typedef struct __WIDL_qedit_generated_name_0000001E { + VARIANT v; + REFERENCE_TIME rt; + DWORD dwInterp; +} DEXTER_VALUE; +/***************************************************************************** + * IPropertySetter interface + */ +#ifndef __IPropertySetter_INTERFACE_DEFINED__ +#define __IPropertySetter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPropertySetter, 0xae9472bd, 0xb0c3, 0x11d2, 0x8d,0x24, 0x00,0xa0,0xc9,0x44,0x1e,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae9472bd-b0c3-11d2-8d24-00a0c9441e20") +IPropertySetter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE LoadXML( + IUnknown *pxml) = 0; + + virtual HRESULT STDMETHODCALLTYPE PrintXML( + char *xml, + int size, + int *printed, + int indent) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloneProps( + IPropertySetter **setter, + REFERENCE_TIME start, + REFERENCE_TIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddProp( + DEXTER_PARAM param, + DEXTER_VALUE *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProps( + LONG *params, + DEXTER_PARAM **param, + DEXTER_VALUE **value) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeProps( + LONG params, + DEXTER_PARAM *param, + DEXTER_VALUE *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearProps( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveToBlob( + LONG *size, + BYTE **blob) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadFromBlob( + LONG size, + BYTE *blob) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProps( + IUnknown *target, + REFERENCE_TIME now) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPropertySetter, 0xae9472bd, 0xb0c3, 0x11d2, 0x8d,0x24, 0x00,0xa0,0xc9,0x44,0x1e,0x20) +#endif +#else +typedef struct IPropertySetterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPropertySetter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPropertySetter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPropertySetter *This); + + /*** IPropertySetter methods ***/ + HRESULT (STDMETHODCALLTYPE *LoadXML)( + IPropertySetter *This, + IUnknown *pxml); + + HRESULT (STDMETHODCALLTYPE *PrintXML)( + IPropertySetter *This, + char *xml, + int size, + int *printed, + int indent); + + HRESULT (STDMETHODCALLTYPE *CloneProps)( + IPropertySetter *This, + IPropertySetter **setter, + REFERENCE_TIME start, + REFERENCE_TIME stop); + + HRESULT (STDMETHODCALLTYPE *AddProp)( + IPropertySetter *This, + DEXTER_PARAM param, + DEXTER_VALUE *value); + + HRESULT (STDMETHODCALLTYPE *GetProps)( + IPropertySetter *This, + LONG *params, + DEXTER_PARAM **param, + DEXTER_VALUE **value); + + HRESULT (STDMETHODCALLTYPE *FreeProps)( + IPropertySetter *This, + LONG params, + DEXTER_PARAM *param, + DEXTER_VALUE *value); + + HRESULT (STDMETHODCALLTYPE *ClearProps)( + IPropertySetter *This); + + HRESULT (STDMETHODCALLTYPE *SaveToBlob)( + IPropertySetter *This, + LONG *size, + BYTE **blob); + + HRESULT (STDMETHODCALLTYPE *LoadFromBlob)( + IPropertySetter *This, + LONG size, + BYTE *blob); + + HRESULT (STDMETHODCALLTYPE *SetProps)( + IPropertySetter *This, + IUnknown *target, + REFERENCE_TIME now); + + END_INTERFACE +} IPropertySetterVtbl; + +interface IPropertySetter { + CONST_VTBL IPropertySetterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPropertySetter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPropertySetter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPropertySetter_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertySetter methods ***/ +#define IPropertySetter_LoadXML(This,pxml) (This)->lpVtbl->LoadXML(This,pxml) +#define IPropertySetter_PrintXML(This,xml,size,printed,indent) (This)->lpVtbl->PrintXML(This,xml,size,printed,indent) +#define IPropertySetter_CloneProps(This,setter,start,stop) (This)->lpVtbl->CloneProps(This,setter,start,stop) +#define IPropertySetter_AddProp(This,param,value) (This)->lpVtbl->AddProp(This,param,value) +#define IPropertySetter_GetProps(This,params,param,value) (This)->lpVtbl->GetProps(This,params,param,value) +#define IPropertySetter_FreeProps(This,params,param,value) (This)->lpVtbl->FreeProps(This,params,param,value) +#define IPropertySetter_ClearProps(This) (This)->lpVtbl->ClearProps(This) +#define IPropertySetter_SaveToBlob(This,size,blob) (This)->lpVtbl->SaveToBlob(This,size,blob) +#define IPropertySetter_LoadFromBlob(This,size,blob) (This)->lpVtbl->LoadFromBlob(This,size,blob) +#define IPropertySetter_SetProps(This,target,now) (This)->lpVtbl->SetProps(This,target,now) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPropertySetter_QueryInterface(IPropertySetter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPropertySetter_AddRef(IPropertySetter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPropertySetter_Release(IPropertySetter* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertySetter methods ***/ +static FORCEINLINE HRESULT IPropertySetter_LoadXML(IPropertySetter* This,IUnknown *pxml) { + return This->lpVtbl->LoadXML(This,pxml); +} +static FORCEINLINE HRESULT IPropertySetter_PrintXML(IPropertySetter* This,char *xml,int size,int *printed,int indent) { + return This->lpVtbl->PrintXML(This,xml,size,printed,indent); +} +static FORCEINLINE HRESULT IPropertySetter_CloneProps(IPropertySetter* This,IPropertySetter **setter,REFERENCE_TIME start,REFERENCE_TIME stop) { + return This->lpVtbl->CloneProps(This,setter,start,stop); +} +static FORCEINLINE HRESULT IPropertySetter_AddProp(IPropertySetter* This,DEXTER_PARAM param,DEXTER_VALUE *value) { + return This->lpVtbl->AddProp(This,param,value); +} +static FORCEINLINE HRESULT IPropertySetter_GetProps(IPropertySetter* This,LONG *params,DEXTER_PARAM **param,DEXTER_VALUE **value) { + return This->lpVtbl->GetProps(This,params,param,value); +} +static FORCEINLINE HRESULT IPropertySetter_FreeProps(IPropertySetter* This,LONG params,DEXTER_PARAM *param,DEXTER_VALUE *value) { + return This->lpVtbl->FreeProps(This,params,param,value); +} +static FORCEINLINE HRESULT IPropertySetter_ClearProps(IPropertySetter* This) { + return This->lpVtbl->ClearProps(This); +} +static FORCEINLINE HRESULT IPropertySetter_SaveToBlob(IPropertySetter* This,LONG *size,BYTE **blob) { + return This->lpVtbl->SaveToBlob(This,size,blob); +} +static FORCEINLINE HRESULT IPropertySetter_LoadFromBlob(IPropertySetter* This,LONG size,BYTE *blob) { + return This->lpVtbl->LoadFromBlob(This,size,blob); +} +static FORCEINLINE HRESULT IPropertySetter_SetProps(IPropertySetter* This,IUnknown *target,REFERENCE_TIME now) { + return This->lpVtbl->SetProps(This,target,now); +} +#endif +#endif + +#endif + + +#endif /* __IPropertySetter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMErrorLog interface + */ +#ifndef __IAMErrorLog_INTERFACE_DEFINED__ +#define __IAMErrorLog_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMErrorLog, 0xe43e73a2, 0x0efa, 0x11d3, 0x96,0x01, 0x00,0xa0,0xc9,0x44,0x1e,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e43e73a2-0efa-11d3-9601-00a0c9441e20") +IAMErrorLog : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE LogError( + LONG severity, + BSTR error_str, + LONG error_code, + LONG hresult, + VARIANT *extra) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMErrorLog, 0xe43e73a2, 0x0efa, 0x11d3, 0x96,0x01, 0x00,0xa0,0xc9,0x44,0x1e,0x20) +#endif +#else +typedef struct IAMErrorLogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMErrorLog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMErrorLog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMErrorLog *This); + + /*** IAMErrorLog methods ***/ + HRESULT (STDMETHODCALLTYPE *LogError)( + IAMErrorLog *This, + LONG severity, + BSTR error_str, + LONG error_code, + LONG hresult, + VARIANT *extra); + + END_INTERFACE +} IAMErrorLogVtbl; + +interface IAMErrorLog { + CONST_VTBL IAMErrorLogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMErrorLog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMErrorLog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMErrorLog_Release(This) (This)->lpVtbl->Release(This) +/*** IAMErrorLog methods ***/ +#define IAMErrorLog_LogError(This,severity,error_str,error_code,hresult,extra) (This)->lpVtbl->LogError(This,severity,error_str,error_code,hresult,extra) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMErrorLog_QueryInterface(IAMErrorLog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMErrorLog_AddRef(IAMErrorLog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMErrorLog_Release(IAMErrorLog* This) { + return This->lpVtbl->Release(This); +} +/*** IAMErrorLog methods ***/ +static FORCEINLINE HRESULT IAMErrorLog_LogError(IAMErrorLog* This,LONG severity,BSTR error_str,LONG error_code,LONG hresult,VARIANT *extra) { + return This->lpVtbl->LogError(This,severity,error_str,error_code,hresult,extra); +} +#endif +#endif + +#endif + + +#endif /* __IAMErrorLog_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMSetErrorLog interface + */ +#ifndef __IAMSetErrorLog_INTERFACE_DEFINED__ +#define __IAMSetErrorLog_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMSetErrorLog, 0x963566da, 0xbe21, 0x4eaf, 0x88,0xe9, 0x35,0x70,0x4f,0x8f,0x52,0xa1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("963566da-be21-4eaf-88e9-35704f8f52a1") +IAMSetErrorLog : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_ErrorLog( + IAMErrorLog **log) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ErrorLog( + IAMErrorLog *log) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMSetErrorLog, 0x963566da, 0xbe21, 0x4eaf, 0x88,0xe9, 0x35,0x70,0x4f,0x8f,0x52,0xa1) +#endif +#else +typedef struct IAMSetErrorLogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMSetErrorLog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMSetErrorLog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMSetErrorLog *This); + + /*** IAMSetErrorLog methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ErrorLog)( + IAMSetErrorLog *This, + IAMErrorLog **log); + + HRESULT (STDMETHODCALLTYPE *put_ErrorLog)( + IAMSetErrorLog *This, + IAMErrorLog *log); + + END_INTERFACE +} IAMSetErrorLogVtbl; + +interface IAMSetErrorLog { + CONST_VTBL IAMSetErrorLogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMSetErrorLog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMSetErrorLog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMSetErrorLog_Release(This) (This)->lpVtbl->Release(This) +/*** IAMSetErrorLog methods ***/ +#define IAMSetErrorLog_get_ErrorLog(This,log) (This)->lpVtbl->get_ErrorLog(This,log) +#define IAMSetErrorLog_put_ErrorLog(This,log) (This)->lpVtbl->put_ErrorLog(This,log) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMSetErrorLog_QueryInterface(IAMSetErrorLog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMSetErrorLog_AddRef(IAMSetErrorLog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMSetErrorLog_Release(IAMSetErrorLog* This) { + return This->lpVtbl->Release(This); +} +/*** IAMSetErrorLog methods ***/ +static FORCEINLINE HRESULT IAMSetErrorLog_get_ErrorLog(IAMSetErrorLog* This,IAMErrorLog **log) { + return This->lpVtbl->get_ErrorLog(This,log); +} +static FORCEINLINE HRESULT IAMSetErrorLog_put_ErrorLog(IAMSetErrorLog* This,IAMErrorLog *log) { + return This->lpVtbl->put_ErrorLog(This,log); +} +#endif +#endif + +#endif + + +#endif /* __IAMSetErrorLog_INTERFACE_DEFINED__ */ + +#ifndef __IAMTimeline_FWD_DEFINED__ +#define __IAMTimeline_FWD_DEFINED__ +typedef interface IAMTimeline IAMTimeline; +#ifdef __cplusplus +interface IAMTimeline; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimelineGroup_FWD_DEFINED__ +#define __IAMTimelineGroup_FWD_DEFINED__ +typedef interface IAMTimelineGroup IAMTimelineGroup; +#ifdef __cplusplus +interface IAMTimelineGroup; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimelineObj_FWD_DEFINED__ +#define __IAMTimelineObj_FWD_DEFINED__ +typedef interface IAMTimelineObj IAMTimelineObj; +#ifdef __cplusplus +interface IAMTimelineObj; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimelineSrc_FWD_DEFINED__ +#define __IAMTimelineSrc_FWD_DEFINED__ +typedef interface IAMTimelineSrc IAMTimelineSrc; +#ifdef __cplusplus +interface IAMTimelineSrc; +#endif /* __cplusplus */ +#endif + +typedef enum __WIDL_qedit_generated_name_0000001F { + TIMELINE_MAJOR_TYPE_COMPOSITE = 1, + TIMELINE_MAJOR_TYPE_TRACK = 2, + TIMELINE_MAJOR_TYPE_SOURCE = 4, + TIMELINE_MAJOR_TYPE_TRANSITION = 8, + TIMELINE_MAJOR_TYPE_EFFECT = 16, + TIMELINE_MAJOR_TYPE_GROUP = 128 +} TIMELINE_MAJOR_TYPE; +/***************************************************************************** + * IAMTimeline interface + */ +#ifndef __IAMTimeline_INTERFACE_DEFINED__ +#define __IAMTimeline_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMTimeline, 0x78530b74, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("78530b74-61f9-11d2-8cad-00a024580902") +IAMTimeline : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateEmptyNode( + IAMTimelineObj **obj, + TIMELINE_MAJOR_TYPE type) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddGroup( + IAMTimelineObj *group) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemGroupFromList( + IAMTimelineObj *group) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroup( + IAMTimelineObj **group, + LONG index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupCount( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearAllGroups( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInsertMode( + LONG *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInsertMode( + LONG mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableTransitions( + BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE TransitionsEnabled( + BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableEffects( + BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE EffectsEnabled( + BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInterestRange( + REFERENCE_TIME start, + REFERENCE_TIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDuration( + REFERENCE_TIME *duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDuration2( + double *duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultFPS( + double fps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultFPS( + double *fps) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDirty( + BOOL *dirty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDirtyRange( + REFERENCE_TIME *start, + REFERENCE_TIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCountOfType( + LONG group, + LONG *value, + LONG *value_with_comps, + TIMELINE_MAJOR_TYPE type) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateSourceNames( + LONG flags, + IMediaLocator *override, + LONG_PTR notify_event) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultTransition( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultTransition( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultEffect( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultEffect( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultTransitionB( + BSTR guidb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultTransitionB( + BSTR *guidb) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultEffectB( + BSTR guidb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultEffectB( + BSTR *guidb) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMTimeline, 0x78530b74, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02) +#endif +#else +typedef struct IAMTimelineVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMTimeline *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMTimeline *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMTimeline *This); + + /*** IAMTimeline methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateEmptyNode)( + IAMTimeline *This, + IAMTimelineObj **obj, + TIMELINE_MAJOR_TYPE type); + + HRESULT (STDMETHODCALLTYPE *AddGroup)( + IAMTimeline *This, + IAMTimelineObj *group); + + HRESULT (STDMETHODCALLTYPE *RemGroupFromList)( + IAMTimeline *This, + IAMTimelineObj *group); + + HRESULT (STDMETHODCALLTYPE *GetGroup)( + IAMTimeline *This, + IAMTimelineObj **group, + LONG index); + + HRESULT (STDMETHODCALLTYPE *GetGroupCount)( + IAMTimeline *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *ClearAllGroups)( + IAMTimeline *This); + + HRESULT (STDMETHODCALLTYPE *GetInsertMode)( + IAMTimeline *This, + LONG *mode); + + HRESULT (STDMETHODCALLTYPE *SetInsertMode)( + IAMTimeline *This, + LONG mode); + + HRESULT (STDMETHODCALLTYPE *EnableTransitions)( + IAMTimeline *This, + BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *TransitionsEnabled)( + IAMTimeline *This, + BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *EnableEffects)( + IAMTimeline *This, + BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *EffectsEnabled)( + IAMTimeline *This, + BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *SetInterestRange)( + IAMTimeline *This, + REFERENCE_TIME start, + REFERENCE_TIME stop); + + HRESULT (STDMETHODCALLTYPE *GetDuration)( + IAMTimeline *This, + REFERENCE_TIME *duration); + + HRESULT (STDMETHODCALLTYPE *GetDuration2)( + IAMTimeline *This, + double *duration); + + HRESULT (STDMETHODCALLTYPE *SetDefaultFPS)( + IAMTimeline *This, + double fps); + + HRESULT (STDMETHODCALLTYPE *GetDefaultFPS)( + IAMTimeline *This, + double *fps); + + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IAMTimeline *This, + BOOL *dirty); + + HRESULT (STDMETHODCALLTYPE *GetDirtyRange)( + IAMTimeline *This, + REFERENCE_TIME *start, + REFERENCE_TIME *stop); + + HRESULT (STDMETHODCALLTYPE *GetCountOfType)( + IAMTimeline *This, + LONG group, + LONG *value, + LONG *value_with_comps, + TIMELINE_MAJOR_TYPE type); + + HRESULT (STDMETHODCALLTYPE *ValidateSourceNames)( + IAMTimeline *This, + LONG flags, + IMediaLocator *override, + LONG_PTR notify_event); + + HRESULT (STDMETHODCALLTYPE *SetDefaultTransition)( + IAMTimeline *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *GetDefaultTransition)( + IAMTimeline *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *SetDefaultEffect)( + IAMTimeline *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *GetDefaultEffect)( + IAMTimeline *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *SetDefaultTransitionB)( + IAMTimeline *This, + BSTR guidb); + + HRESULT (STDMETHODCALLTYPE *GetDefaultTransitionB)( + IAMTimeline *This, + BSTR *guidb); + + HRESULT (STDMETHODCALLTYPE *SetDefaultEffectB)( + IAMTimeline *This, + BSTR guidb); + + HRESULT (STDMETHODCALLTYPE *GetDefaultEffectB)( + IAMTimeline *This, + BSTR *guidb); + + END_INTERFACE +} IAMTimelineVtbl; + +interface IAMTimeline { + CONST_VTBL IAMTimelineVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMTimeline_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMTimeline_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMTimeline_Release(This) (This)->lpVtbl->Release(This) +/*** IAMTimeline methods ***/ +#define IAMTimeline_CreateEmptyNode(This,obj,type) (This)->lpVtbl->CreateEmptyNode(This,obj,type) +#define IAMTimeline_AddGroup(This,group) (This)->lpVtbl->AddGroup(This,group) +#define IAMTimeline_RemGroupFromList(This,group) (This)->lpVtbl->RemGroupFromList(This,group) +#define IAMTimeline_GetGroup(This,group,index) (This)->lpVtbl->GetGroup(This,group,index) +#define IAMTimeline_GetGroupCount(This,count) (This)->lpVtbl->GetGroupCount(This,count) +#define IAMTimeline_ClearAllGroups(This) (This)->lpVtbl->ClearAllGroups(This) +#define IAMTimeline_GetInsertMode(This,mode) (This)->lpVtbl->GetInsertMode(This,mode) +#define IAMTimeline_SetInsertMode(This,mode) (This)->lpVtbl->SetInsertMode(This,mode) +#define IAMTimeline_EnableTransitions(This,enabled) (This)->lpVtbl->EnableTransitions(This,enabled) +#define IAMTimeline_TransitionsEnabled(This,enabled) (This)->lpVtbl->TransitionsEnabled(This,enabled) +#define IAMTimeline_EnableEffects(This,enabled) (This)->lpVtbl->EnableEffects(This,enabled) +#define IAMTimeline_EffectsEnabled(This,enabled) (This)->lpVtbl->EffectsEnabled(This,enabled) +#define IAMTimeline_SetInterestRange(This,start,stop) (This)->lpVtbl->SetInterestRange(This,start,stop) +#define IAMTimeline_GetDuration(This,duration) (This)->lpVtbl->GetDuration(This,duration) +#define IAMTimeline_GetDuration2(This,duration) (This)->lpVtbl->GetDuration2(This,duration) +#define IAMTimeline_SetDefaultFPS(This,fps) (This)->lpVtbl->SetDefaultFPS(This,fps) +#define IAMTimeline_GetDefaultFPS(This,fps) (This)->lpVtbl->GetDefaultFPS(This,fps) +#define IAMTimeline_IsDirty(This,dirty) (This)->lpVtbl->IsDirty(This,dirty) +#define IAMTimeline_GetDirtyRange(This,start,stop) (This)->lpVtbl->GetDirtyRange(This,start,stop) +#define IAMTimeline_GetCountOfType(This,group,value,value_with_comps,type) (This)->lpVtbl->GetCountOfType(This,group,value,value_with_comps,type) +#define IAMTimeline_ValidateSourceNames(This,flags,override,notify_event) (This)->lpVtbl->ValidateSourceNames(This,flags,override,notify_event) +#define IAMTimeline_SetDefaultTransition(This,guid) (This)->lpVtbl->SetDefaultTransition(This,guid) +#define IAMTimeline_GetDefaultTransition(This,guid) (This)->lpVtbl->GetDefaultTransition(This,guid) +#define IAMTimeline_SetDefaultEffect(This,guid) (This)->lpVtbl->SetDefaultEffect(This,guid) +#define IAMTimeline_GetDefaultEffect(This,guid) (This)->lpVtbl->GetDefaultEffect(This,guid) +#define IAMTimeline_SetDefaultTransitionB(This,guidb) (This)->lpVtbl->SetDefaultTransitionB(This,guidb) +#define IAMTimeline_GetDefaultTransitionB(This,guidb) (This)->lpVtbl->GetDefaultTransitionB(This,guidb) +#define IAMTimeline_SetDefaultEffectB(This,guidb) (This)->lpVtbl->SetDefaultEffectB(This,guidb) +#define IAMTimeline_GetDefaultEffectB(This,guidb) (This)->lpVtbl->GetDefaultEffectB(This,guidb) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMTimeline_QueryInterface(IAMTimeline* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMTimeline_AddRef(IAMTimeline* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMTimeline_Release(IAMTimeline* This) { + return This->lpVtbl->Release(This); +} +/*** IAMTimeline methods ***/ +static FORCEINLINE HRESULT IAMTimeline_CreateEmptyNode(IAMTimeline* This,IAMTimelineObj **obj,TIMELINE_MAJOR_TYPE type) { + return This->lpVtbl->CreateEmptyNode(This,obj,type); +} +static FORCEINLINE HRESULT IAMTimeline_AddGroup(IAMTimeline* This,IAMTimelineObj *group) { + return This->lpVtbl->AddGroup(This,group); +} +static FORCEINLINE HRESULT IAMTimeline_RemGroupFromList(IAMTimeline* This,IAMTimelineObj *group) { + return This->lpVtbl->RemGroupFromList(This,group); +} +static FORCEINLINE HRESULT IAMTimeline_GetGroup(IAMTimeline* This,IAMTimelineObj **group,LONG index) { + return This->lpVtbl->GetGroup(This,group,index); +} +static FORCEINLINE HRESULT IAMTimeline_GetGroupCount(IAMTimeline* This,LONG *count) { + return This->lpVtbl->GetGroupCount(This,count); +} +static FORCEINLINE HRESULT IAMTimeline_ClearAllGroups(IAMTimeline* This) { + return This->lpVtbl->ClearAllGroups(This); +} +static FORCEINLINE HRESULT IAMTimeline_GetInsertMode(IAMTimeline* This,LONG *mode) { + return This->lpVtbl->GetInsertMode(This,mode); +} +static FORCEINLINE HRESULT IAMTimeline_SetInsertMode(IAMTimeline* This,LONG mode) { + return This->lpVtbl->SetInsertMode(This,mode); +} +static FORCEINLINE HRESULT IAMTimeline_EnableTransitions(IAMTimeline* This,BOOL enabled) { + return This->lpVtbl->EnableTransitions(This,enabled); +} +static FORCEINLINE HRESULT IAMTimeline_TransitionsEnabled(IAMTimeline* This,BOOL *enabled) { + return This->lpVtbl->TransitionsEnabled(This,enabled); +} +static FORCEINLINE HRESULT IAMTimeline_EnableEffects(IAMTimeline* This,BOOL enabled) { + return This->lpVtbl->EnableEffects(This,enabled); +} +static FORCEINLINE HRESULT IAMTimeline_EffectsEnabled(IAMTimeline* This,BOOL *enabled) { + return This->lpVtbl->EffectsEnabled(This,enabled); +} +static FORCEINLINE HRESULT IAMTimeline_SetInterestRange(IAMTimeline* This,REFERENCE_TIME start,REFERENCE_TIME stop) { + return This->lpVtbl->SetInterestRange(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimeline_GetDuration(IAMTimeline* This,REFERENCE_TIME *duration) { + return This->lpVtbl->GetDuration(This,duration); +} +static FORCEINLINE HRESULT IAMTimeline_GetDuration2(IAMTimeline* This,double *duration) { + return This->lpVtbl->GetDuration2(This,duration); +} +static FORCEINLINE HRESULT IAMTimeline_SetDefaultFPS(IAMTimeline* This,double fps) { + return This->lpVtbl->SetDefaultFPS(This,fps); +} +static FORCEINLINE HRESULT IAMTimeline_GetDefaultFPS(IAMTimeline* This,double *fps) { + return This->lpVtbl->GetDefaultFPS(This,fps); +} +static FORCEINLINE HRESULT IAMTimeline_IsDirty(IAMTimeline* This,BOOL *dirty) { + return This->lpVtbl->IsDirty(This,dirty); +} +static FORCEINLINE HRESULT IAMTimeline_GetDirtyRange(IAMTimeline* This,REFERENCE_TIME *start,REFERENCE_TIME *stop) { + return This->lpVtbl->GetDirtyRange(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimeline_GetCountOfType(IAMTimeline* This,LONG group,LONG *value,LONG *value_with_comps,TIMELINE_MAJOR_TYPE type) { + return This->lpVtbl->GetCountOfType(This,group,value,value_with_comps,type); +} +static FORCEINLINE HRESULT IAMTimeline_ValidateSourceNames(IAMTimeline* This,LONG flags,IMediaLocator *override,LONG_PTR notify_event) { + return This->lpVtbl->ValidateSourceNames(This,flags,override,notify_event); +} +static FORCEINLINE HRESULT IAMTimeline_SetDefaultTransition(IAMTimeline* This,GUID *guid) { + return This->lpVtbl->SetDefaultTransition(This,guid); +} +static FORCEINLINE HRESULT IAMTimeline_GetDefaultTransition(IAMTimeline* This,GUID *guid) { + return This->lpVtbl->GetDefaultTransition(This,guid); +} +static FORCEINLINE HRESULT IAMTimeline_SetDefaultEffect(IAMTimeline* This,GUID *guid) { + return This->lpVtbl->SetDefaultEffect(This,guid); +} +static FORCEINLINE HRESULT IAMTimeline_GetDefaultEffect(IAMTimeline* This,GUID *guid) { + return This->lpVtbl->GetDefaultEffect(This,guid); +} +static FORCEINLINE HRESULT IAMTimeline_SetDefaultTransitionB(IAMTimeline* This,BSTR guidb) { + return This->lpVtbl->SetDefaultTransitionB(This,guidb); +} +static FORCEINLINE HRESULT IAMTimeline_GetDefaultTransitionB(IAMTimeline* This,BSTR *guidb) { + return This->lpVtbl->GetDefaultTransitionB(This,guidb); +} +static FORCEINLINE HRESULT IAMTimeline_SetDefaultEffectB(IAMTimeline* This,BSTR guidb) { + return This->lpVtbl->SetDefaultEffectB(This,guidb); +} +static FORCEINLINE HRESULT IAMTimeline_GetDefaultEffectB(IAMTimeline* This,BSTR *guidb) { + return This->lpVtbl->GetDefaultEffectB(This,guidb); +} +#endif +#endif + +#endif + + +#endif /* __IAMTimeline_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * AMTimeline coclass + */ + +DEFINE_GUID(CLSID_AMTimeline, 0x78530b75, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02); + +#ifdef __cplusplus +class DECLSPEC_UUID("78530b75-61f9-11d2-8cad-00a024580902") AMTimeline; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AMTimeline, 0x78530b75, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02) +#endif +#endif + +/***************************************************************************** + * IAMTimelineGroup interface + */ +#ifndef __IAMTimelineGroup_INTERFACE_DEFINED__ +#define __IAMTimelineGroup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMTimelineGroup, 0x9eed4f00, 0xb8a6, 0x11d2, 0x80,0x23, 0x00,0xc0,0xdf,0x10,0xd4,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9eed4f00-b8a6-11d2-8023-00c0df10d434") +IAMTimelineGroup : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetTimeline( + IAMTimeline *timeline) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimeline( + IAMTimeline **timeline) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPriority( + LONG *priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaType( + AM_MEDIA_TYPE *a) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaType( + AM_MEDIA_TYPE *a) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputFPS( + double fps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputFPS( + double *fps) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGroupName( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPreviewMode( + BOOL preview) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreviewMode( + BOOL *preview) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaTypeForVB( + LONG type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputBuffering( + int *buffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputBuffering( + int buffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSmartRecompressFormat( + LONG *format) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSmartRecompressFormat( + LONG **format) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSmartRecompressFormatSet( + BOOL *set) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRecompressFormatDirty( + BOOL *dirty) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearRecompressFormatDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRecompFormatFromSource( + IAMTimelineSrc *source) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMTimelineGroup, 0x9eed4f00, 0xb8a6, 0x11d2, 0x80,0x23, 0x00,0xc0,0xdf,0x10,0xd4,0x34) +#endif +#else +typedef struct IAMTimelineGroupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMTimelineGroup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMTimelineGroup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMTimelineGroup *This); + + /*** IAMTimelineGroup methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTimeline)( + IAMTimelineGroup *This, + IAMTimeline *timeline); + + HRESULT (STDMETHODCALLTYPE *GetTimeline)( + IAMTimelineGroup *This, + IAMTimeline **timeline); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IAMTimelineGroup *This, + LONG *priority); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IAMTimelineGroup *This, + AM_MEDIA_TYPE *a); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IAMTimelineGroup *This, + AM_MEDIA_TYPE *a); + + HRESULT (STDMETHODCALLTYPE *SetOutputFPS)( + IAMTimelineGroup *This, + double fps); + + HRESULT (STDMETHODCALLTYPE *GetOutputFPS)( + IAMTimelineGroup *This, + double *fps); + + HRESULT (STDMETHODCALLTYPE *SetGroupName)( + IAMTimelineGroup *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *GetGroupName)( + IAMTimelineGroup *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *SetPreviewMode)( + IAMTimelineGroup *This, + BOOL preview); + + HRESULT (STDMETHODCALLTYPE *GetPreviewMode)( + IAMTimelineGroup *This, + BOOL *preview); + + HRESULT (STDMETHODCALLTYPE *SetMediaTypeForVB)( + IAMTimelineGroup *This, + LONG type); + + HRESULT (STDMETHODCALLTYPE *GetOutputBuffering)( + IAMTimelineGroup *This, + int *buffer); + + HRESULT (STDMETHODCALLTYPE *SetOutputBuffering)( + IAMTimelineGroup *This, + int buffer); + + HRESULT (STDMETHODCALLTYPE *SetSmartRecompressFormat)( + IAMTimelineGroup *This, + LONG *format); + + HRESULT (STDMETHODCALLTYPE *GetSmartRecompressFormat)( + IAMTimelineGroup *This, + LONG **format); + + HRESULT (STDMETHODCALLTYPE *IsSmartRecompressFormatSet)( + IAMTimelineGroup *This, + BOOL *set); + + HRESULT (STDMETHODCALLTYPE *IsRecompressFormatDirty)( + IAMTimelineGroup *This, + BOOL *dirty); + + HRESULT (STDMETHODCALLTYPE *ClearRecompressFormatDirty)( + IAMTimelineGroup *This); + + HRESULT (STDMETHODCALLTYPE *SetRecompFormatFromSource)( + IAMTimelineGroup *This, + IAMTimelineSrc *source); + + END_INTERFACE +} IAMTimelineGroupVtbl; + +interface IAMTimelineGroup { + CONST_VTBL IAMTimelineGroupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMTimelineGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMTimelineGroup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMTimelineGroup_Release(This) (This)->lpVtbl->Release(This) +/*** IAMTimelineGroup methods ***/ +#define IAMTimelineGroup_SetTimeline(This,timeline) (This)->lpVtbl->SetTimeline(This,timeline) +#define IAMTimelineGroup_GetTimeline(This,timeline) (This)->lpVtbl->GetTimeline(This,timeline) +#define IAMTimelineGroup_GetPriority(This,priority) (This)->lpVtbl->GetPriority(This,priority) +#define IAMTimelineGroup_GetMediaType(This,a) (This)->lpVtbl->GetMediaType(This,a) +#define IAMTimelineGroup_SetMediaType(This,a) (This)->lpVtbl->SetMediaType(This,a) +#define IAMTimelineGroup_SetOutputFPS(This,fps) (This)->lpVtbl->SetOutputFPS(This,fps) +#define IAMTimelineGroup_GetOutputFPS(This,fps) (This)->lpVtbl->GetOutputFPS(This,fps) +#define IAMTimelineGroup_SetGroupName(This,name) (This)->lpVtbl->SetGroupName(This,name) +#define IAMTimelineGroup_GetGroupName(This,name) (This)->lpVtbl->GetGroupName(This,name) +#define IAMTimelineGroup_SetPreviewMode(This,preview) (This)->lpVtbl->SetPreviewMode(This,preview) +#define IAMTimelineGroup_GetPreviewMode(This,preview) (This)->lpVtbl->GetPreviewMode(This,preview) +#define IAMTimelineGroup_SetMediaTypeForVB(This,type) (This)->lpVtbl->SetMediaTypeForVB(This,type) +#define IAMTimelineGroup_GetOutputBuffering(This,buffer) (This)->lpVtbl->GetOutputBuffering(This,buffer) +#define IAMTimelineGroup_SetOutputBuffering(This,buffer) (This)->lpVtbl->SetOutputBuffering(This,buffer) +#define IAMTimelineGroup_SetSmartRecompressFormat(This,format) (This)->lpVtbl->SetSmartRecompressFormat(This,format) +#define IAMTimelineGroup_GetSmartRecompressFormat(This,format) (This)->lpVtbl->GetSmartRecompressFormat(This,format) +#define IAMTimelineGroup_IsSmartRecompressFormatSet(This,set) (This)->lpVtbl->IsSmartRecompressFormatSet(This,set) +#define IAMTimelineGroup_IsRecompressFormatDirty(This,dirty) (This)->lpVtbl->IsRecompressFormatDirty(This,dirty) +#define IAMTimelineGroup_ClearRecompressFormatDirty(This) (This)->lpVtbl->ClearRecompressFormatDirty(This) +#define IAMTimelineGroup_SetRecompFormatFromSource(This,source) (This)->lpVtbl->SetRecompFormatFromSource(This,source) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMTimelineGroup_QueryInterface(IAMTimelineGroup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMTimelineGroup_AddRef(IAMTimelineGroup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMTimelineGroup_Release(IAMTimelineGroup* This) { + return This->lpVtbl->Release(This); +} +/*** IAMTimelineGroup methods ***/ +static FORCEINLINE HRESULT IAMTimelineGroup_SetTimeline(IAMTimelineGroup* This,IAMTimeline *timeline) { + return This->lpVtbl->SetTimeline(This,timeline); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetTimeline(IAMTimelineGroup* This,IAMTimeline **timeline) { + return This->lpVtbl->GetTimeline(This,timeline); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetPriority(IAMTimelineGroup* This,LONG *priority) { + return This->lpVtbl->GetPriority(This,priority); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetMediaType(IAMTimelineGroup* This,AM_MEDIA_TYPE *a) { + return This->lpVtbl->GetMediaType(This,a); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetMediaType(IAMTimelineGroup* This,AM_MEDIA_TYPE *a) { + return This->lpVtbl->SetMediaType(This,a); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetOutputFPS(IAMTimelineGroup* This,double fps) { + return This->lpVtbl->SetOutputFPS(This,fps); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetOutputFPS(IAMTimelineGroup* This,double *fps) { + return This->lpVtbl->GetOutputFPS(This,fps); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetGroupName(IAMTimelineGroup* This,BSTR name) { + return This->lpVtbl->SetGroupName(This,name); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetGroupName(IAMTimelineGroup* This,BSTR *name) { + return This->lpVtbl->GetGroupName(This,name); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetPreviewMode(IAMTimelineGroup* This,BOOL preview) { + return This->lpVtbl->SetPreviewMode(This,preview); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetPreviewMode(IAMTimelineGroup* This,BOOL *preview) { + return This->lpVtbl->GetPreviewMode(This,preview); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetMediaTypeForVB(IAMTimelineGroup* This,LONG type) { + return This->lpVtbl->SetMediaTypeForVB(This,type); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetOutputBuffering(IAMTimelineGroup* This,int *buffer) { + return This->lpVtbl->GetOutputBuffering(This,buffer); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetOutputBuffering(IAMTimelineGroup* This,int buffer) { + return This->lpVtbl->SetOutputBuffering(This,buffer); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetSmartRecompressFormat(IAMTimelineGroup* This,LONG *format) { + return This->lpVtbl->SetSmartRecompressFormat(This,format); +} +static FORCEINLINE HRESULT IAMTimelineGroup_GetSmartRecompressFormat(IAMTimelineGroup* This,LONG **format) { + return This->lpVtbl->GetSmartRecompressFormat(This,format); +} +static FORCEINLINE HRESULT IAMTimelineGroup_IsSmartRecompressFormatSet(IAMTimelineGroup* This,BOOL *set) { + return This->lpVtbl->IsSmartRecompressFormatSet(This,set); +} +static FORCEINLINE HRESULT IAMTimelineGroup_IsRecompressFormatDirty(IAMTimelineGroup* This,BOOL *dirty) { + return This->lpVtbl->IsRecompressFormatDirty(This,dirty); +} +static FORCEINLINE HRESULT IAMTimelineGroup_ClearRecompressFormatDirty(IAMTimelineGroup* This) { + return This->lpVtbl->ClearRecompressFormatDirty(This); +} +static FORCEINLINE HRESULT IAMTimelineGroup_SetRecompFormatFromSource(IAMTimelineGroup* This,IAMTimelineSrc *source) { + return This->lpVtbl->SetRecompFormatFromSource(This,source); +} +#endif +#endif + +#endif + + +#endif /* __IAMTimelineGroup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMTimelineObj interface + */ +#ifndef __IAMTimelineObj_INTERFACE_DEFINED__ +#define __IAMTimelineObj_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMTimelineObj, 0x78530b77, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("78530b77-61f9-11d2-8cad-00a024580902") +IAMTimelineObj : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStartStop( + REFERENCE_TIME *start, + REFERENCE_TIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStartStop2( + REFTIME *start, + REFTIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE FixTimes( + REFERENCE_TIME *start, + REFERENCE_TIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE FixTimes2( + REFTIME *start, + REFTIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStartStop( + REFERENCE_TIME start, + REFERENCE_TIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStartStop2( + REFTIME start, + REFTIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertySetter( + IPropertySetter **setter) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropertySetter( + IPropertySetter *setter) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubObject( + IUnknown **obj) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSubObject( + IUnknown *obj) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSubObjectGUID( + GUID guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSubObjectGUIDB( + BSTR guidb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubObjectGUID( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubObjectGUIDB( + BSTR *guidb) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubObjectLoaded( + BOOL *loaded) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimelineType( + TIMELINE_MAJOR_TYPE *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTimelineType( + TIMELINE_MAJOR_TYPE type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserID( + LONG *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUserID( + LONG id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGenID( + LONG *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUserName( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserData( + BYTE *data, + LONG *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUserData( + BYTE *data, + LONG size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMuted( + BOOL *muted) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMuted( + BOOL muted) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocked( + BOOL *locked) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLocked( + BOOL locked) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDirtyRange( + REFERENCE_TIME *start, + REFERENCE_TIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDirtyRange2( + REFTIME *start, + REFTIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDirtyRange( + REFERENCE_TIME start, + REFERENCE_TIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDirtyRange2( + REFTIME start, + REFTIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimelineNoRef( + IAMTimeline **timeline) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupIBelongTo( + IAMTimelineGroup **group) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEmbedDepth( + LONG *depth) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMTimelineObj, 0x78530b77, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02) +#endif +#else +typedef struct IAMTimelineObjVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMTimelineObj *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMTimelineObj *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMTimelineObj *This); + + /*** IAMTimelineObj methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStartStop)( + IAMTimelineObj *This, + REFERENCE_TIME *start, + REFERENCE_TIME *stop); + + HRESULT (STDMETHODCALLTYPE *GetStartStop2)( + IAMTimelineObj *This, + REFTIME *start, + REFTIME *stop); + + HRESULT (STDMETHODCALLTYPE *FixTimes)( + IAMTimelineObj *This, + REFERENCE_TIME *start, + REFERENCE_TIME *stop); + + HRESULT (STDMETHODCALLTYPE *FixTimes2)( + IAMTimelineObj *This, + REFTIME *start, + REFTIME *stop); + + HRESULT (STDMETHODCALLTYPE *SetStartStop)( + IAMTimelineObj *This, + REFERENCE_TIME start, + REFERENCE_TIME stop); + + HRESULT (STDMETHODCALLTYPE *SetStartStop2)( + IAMTimelineObj *This, + REFTIME start, + REFTIME stop); + + HRESULT (STDMETHODCALLTYPE *GetPropertySetter)( + IAMTimelineObj *This, + IPropertySetter **setter); + + HRESULT (STDMETHODCALLTYPE *SetPropertySetter)( + IAMTimelineObj *This, + IPropertySetter *setter); + + HRESULT (STDMETHODCALLTYPE *GetSubObject)( + IAMTimelineObj *This, + IUnknown **obj); + + HRESULT (STDMETHODCALLTYPE *SetSubObject)( + IAMTimelineObj *This, + IUnknown *obj); + + HRESULT (STDMETHODCALLTYPE *SetSubObjectGUID)( + IAMTimelineObj *This, + GUID guid); + + HRESULT (STDMETHODCALLTYPE *SetSubObjectGUIDB)( + IAMTimelineObj *This, + BSTR guidb); + + HRESULT (STDMETHODCALLTYPE *GetSubObjectGUID)( + IAMTimelineObj *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *GetSubObjectGUIDB)( + IAMTimelineObj *This, + BSTR *guidb); + + HRESULT (STDMETHODCALLTYPE *GetSubObjectLoaded)( + IAMTimelineObj *This, + BOOL *loaded); + + HRESULT (STDMETHODCALLTYPE *GetTimelineType)( + IAMTimelineObj *This, + TIMELINE_MAJOR_TYPE *type); + + HRESULT (STDMETHODCALLTYPE *SetTimelineType)( + IAMTimelineObj *This, + TIMELINE_MAJOR_TYPE type); + + HRESULT (STDMETHODCALLTYPE *GetUserID)( + IAMTimelineObj *This, + LONG *id); + + HRESULT (STDMETHODCALLTYPE *SetUserID)( + IAMTimelineObj *This, + LONG id); + + HRESULT (STDMETHODCALLTYPE *GetGenID)( + IAMTimelineObj *This, + LONG *id); + + HRESULT (STDMETHODCALLTYPE *GetUserName)( + IAMTimelineObj *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *SetUserName)( + IAMTimelineObj *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *GetUserData)( + IAMTimelineObj *This, + BYTE *data, + LONG *size); + + HRESULT (STDMETHODCALLTYPE *SetUserData)( + IAMTimelineObj *This, + BYTE *data, + LONG size); + + HRESULT (STDMETHODCALLTYPE *GetMuted)( + IAMTimelineObj *This, + BOOL *muted); + + HRESULT (STDMETHODCALLTYPE *SetMuted)( + IAMTimelineObj *This, + BOOL muted); + + HRESULT (STDMETHODCALLTYPE *GetLocked)( + IAMTimelineObj *This, + BOOL *locked); + + HRESULT (STDMETHODCALLTYPE *SetLocked)( + IAMTimelineObj *This, + BOOL locked); + + HRESULT (STDMETHODCALLTYPE *GetDirtyRange)( + IAMTimelineObj *This, + REFERENCE_TIME *start, + REFERENCE_TIME *stop); + + HRESULT (STDMETHODCALLTYPE *GetDirtyRange2)( + IAMTimelineObj *This, + REFTIME *start, + REFTIME *stop); + + HRESULT (STDMETHODCALLTYPE *SetDirtyRange)( + IAMTimelineObj *This, + REFERENCE_TIME start, + REFERENCE_TIME stop); + + HRESULT (STDMETHODCALLTYPE *SetDirtyRange2)( + IAMTimelineObj *This, + REFTIME start, + REFTIME stop); + + HRESULT (STDMETHODCALLTYPE *ClearDirty)( + IAMTimelineObj *This); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IAMTimelineObj *This); + + HRESULT (STDMETHODCALLTYPE *RemoveAll)( + IAMTimelineObj *This); + + HRESULT (STDMETHODCALLTYPE *GetTimelineNoRef)( + IAMTimelineObj *This, + IAMTimeline **timeline); + + HRESULT (STDMETHODCALLTYPE *GetGroupIBelongTo)( + IAMTimelineObj *This, + IAMTimelineGroup **group); + + HRESULT (STDMETHODCALLTYPE *GetEmbedDepth)( + IAMTimelineObj *This, + LONG *depth); + + END_INTERFACE +} IAMTimelineObjVtbl; + +interface IAMTimelineObj { + CONST_VTBL IAMTimelineObjVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMTimelineObj_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMTimelineObj_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMTimelineObj_Release(This) (This)->lpVtbl->Release(This) +/*** IAMTimelineObj methods ***/ +#define IAMTimelineObj_GetStartStop(This,start,stop) (This)->lpVtbl->GetStartStop(This,start,stop) +#define IAMTimelineObj_GetStartStop2(This,start,stop) (This)->lpVtbl->GetStartStop2(This,start,stop) +#define IAMTimelineObj_FixTimes(This,start,stop) (This)->lpVtbl->FixTimes(This,start,stop) +#define IAMTimelineObj_FixTimes2(This,start,stop) (This)->lpVtbl->FixTimes2(This,start,stop) +#define IAMTimelineObj_SetStartStop(This,start,stop) (This)->lpVtbl->SetStartStop(This,start,stop) +#define IAMTimelineObj_SetStartStop2(This,start,stop) (This)->lpVtbl->SetStartStop2(This,start,stop) +#define IAMTimelineObj_GetPropertySetter(This,setter) (This)->lpVtbl->GetPropertySetter(This,setter) +#define IAMTimelineObj_SetPropertySetter(This,setter) (This)->lpVtbl->SetPropertySetter(This,setter) +#define IAMTimelineObj_GetSubObject(This,obj) (This)->lpVtbl->GetSubObject(This,obj) +#define IAMTimelineObj_SetSubObject(This,obj) (This)->lpVtbl->SetSubObject(This,obj) +#define IAMTimelineObj_SetSubObjectGUID(This,guid) (This)->lpVtbl->SetSubObjectGUID(This,guid) +#define IAMTimelineObj_SetSubObjectGUIDB(This,guidb) (This)->lpVtbl->SetSubObjectGUIDB(This,guidb) +#define IAMTimelineObj_GetSubObjectGUID(This,guid) (This)->lpVtbl->GetSubObjectGUID(This,guid) +#define IAMTimelineObj_GetSubObjectGUIDB(This,guidb) (This)->lpVtbl->GetSubObjectGUIDB(This,guidb) +#define IAMTimelineObj_GetSubObjectLoaded(This,loaded) (This)->lpVtbl->GetSubObjectLoaded(This,loaded) +#define IAMTimelineObj_GetTimelineType(This,type) (This)->lpVtbl->GetTimelineType(This,type) +#define IAMTimelineObj_SetTimelineType(This,type) (This)->lpVtbl->SetTimelineType(This,type) +#define IAMTimelineObj_GetUserID(This,id) (This)->lpVtbl->GetUserID(This,id) +#define IAMTimelineObj_SetUserID(This,id) (This)->lpVtbl->SetUserID(This,id) +#define IAMTimelineObj_GetGenID(This,id) (This)->lpVtbl->GetGenID(This,id) +#define IAMTimelineObj_GetUserName(This,name) (This)->lpVtbl->GetUserName(This,name) +#define IAMTimelineObj_SetUserName(This,name) (This)->lpVtbl->SetUserName(This,name) +#define IAMTimelineObj_GetUserData(This,data,size) (This)->lpVtbl->GetUserData(This,data,size) +#define IAMTimelineObj_SetUserData(This,data,size) (This)->lpVtbl->SetUserData(This,data,size) +#define IAMTimelineObj_GetMuted(This,muted) (This)->lpVtbl->GetMuted(This,muted) +#define IAMTimelineObj_SetMuted(This,muted) (This)->lpVtbl->SetMuted(This,muted) +#define IAMTimelineObj_GetLocked(This,locked) (This)->lpVtbl->GetLocked(This,locked) +#define IAMTimelineObj_SetLocked(This,locked) (This)->lpVtbl->SetLocked(This,locked) +#define IAMTimelineObj_GetDirtyRange(This,start,stop) (This)->lpVtbl->GetDirtyRange(This,start,stop) +#define IAMTimelineObj_GetDirtyRange2(This,start,stop) (This)->lpVtbl->GetDirtyRange2(This,start,stop) +#define IAMTimelineObj_SetDirtyRange(This,start,stop) (This)->lpVtbl->SetDirtyRange(This,start,stop) +#define IAMTimelineObj_SetDirtyRange2(This,start,stop) (This)->lpVtbl->SetDirtyRange2(This,start,stop) +#define IAMTimelineObj_ClearDirty(This) (This)->lpVtbl->ClearDirty(This) +#define IAMTimelineObj_Remove(This) (This)->lpVtbl->Remove(This) +#define IAMTimelineObj_RemoveAll(This) (This)->lpVtbl->RemoveAll(This) +#define IAMTimelineObj_GetTimelineNoRef(This,timeline) (This)->lpVtbl->GetTimelineNoRef(This,timeline) +#define IAMTimelineObj_GetGroupIBelongTo(This,group) (This)->lpVtbl->GetGroupIBelongTo(This,group) +#define IAMTimelineObj_GetEmbedDepth(This,depth) (This)->lpVtbl->GetEmbedDepth(This,depth) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMTimelineObj_QueryInterface(IAMTimelineObj* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMTimelineObj_AddRef(IAMTimelineObj* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMTimelineObj_Release(IAMTimelineObj* This) { + return This->lpVtbl->Release(This); +} +/*** IAMTimelineObj methods ***/ +static FORCEINLINE HRESULT IAMTimelineObj_GetStartStop(IAMTimelineObj* This,REFERENCE_TIME *start,REFERENCE_TIME *stop) { + return This->lpVtbl->GetStartStop(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetStartStop2(IAMTimelineObj* This,REFTIME *start,REFTIME *stop) { + return This->lpVtbl->GetStartStop2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_FixTimes(IAMTimelineObj* This,REFERENCE_TIME *start,REFERENCE_TIME *stop) { + return This->lpVtbl->FixTimes(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_FixTimes2(IAMTimelineObj* This,REFTIME *start,REFTIME *stop) { + return This->lpVtbl->FixTimes2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetStartStop(IAMTimelineObj* This,REFERENCE_TIME start,REFERENCE_TIME stop) { + return This->lpVtbl->SetStartStop(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetStartStop2(IAMTimelineObj* This,REFTIME start,REFTIME stop) { + return This->lpVtbl->SetStartStop2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetPropertySetter(IAMTimelineObj* This,IPropertySetter **setter) { + return This->lpVtbl->GetPropertySetter(This,setter); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetPropertySetter(IAMTimelineObj* This,IPropertySetter *setter) { + return This->lpVtbl->SetPropertySetter(This,setter); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetSubObject(IAMTimelineObj* This,IUnknown **obj) { + return This->lpVtbl->GetSubObject(This,obj); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetSubObject(IAMTimelineObj* This,IUnknown *obj) { + return This->lpVtbl->SetSubObject(This,obj); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetSubObjectGUID(IAMTimelineObj* This,GUID guid) { + return This->lpVtbl->SetSubObjectGUID(This,guid); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetSubObjectGUIDB(IAMTimelineObj* This,BSTR guidb) { + return This->lpVtbl->SetSubObjectGUIDB(This,guidb); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetSubObjectGUID(IAMTimelineObj* This,GUID *guid) { + return This->lpVtbl->GetSubObjectGUID(This,guid); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetSubObjectGUIDB(IAMTimelineObj* This,BSTR *guidb) { + return This->lpVtbl->GetSubObjectGUIDB(This,guidb); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetSubObjectLoaded(IAMTimelineObj* This,BOOL *loaded) { + return This->lpVtbl->GetSubObjectLoaded(This,loaded); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetTimelineType(IAMTimelineObj* This,TIMELINE_MAJOR_TYPE *type) { + return This->lpVtbl->GetTimelineType(This,type); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetTimelineType(IAMTimelineObj* This,TIMELINE_MAJOR_TYPE type) { + return This->lpVtbl->SetTimelineType(This,type); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetUserID(IAMTimelineObj* This,LONG *id) { + return This->lpVtbl->GetUserID(This,id); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetUserID(IAMTimelineObj* This,LONG id) { + return This->lpVtbl->SetUserID(This,id); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetGenID(IAMTimelineObj* This,LONG *id) { + return This->lpVtbl->GetGenID(This,id); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetUserName(IAMTimelineObj* This,BSTR *name) { + return This->lpVtbl->GetUserName(This,name); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetUserName(IAMTimelineObj* This,BSTR name) { + return This->lpVtbl->SetUserName(This,name); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetUserData(IAMTimelineObj* This,BYTE *data,LONG *size) { + return This->lpVtbl->GetUserData(This,data,size); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetUserData(IAMTimelineObj* This,BYTE *data,LONG size) { + return This->lpVtbl->SetUserData(This,data,size); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetMuted(IAMTimelineObj* This,BOOL *muted) { + return This->lpVtbl->GetMuted(This,muted); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetMuted(IAMTimelineObj* This,BOOL muted) { + return This->lpVtbl->SetMuted(This,muted); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetLocked(IAMTimelineObj* This,BOOL *locked) { + return This->lpVtbl->GetLocked(This,locked); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetLocked(IAMTimelineObj* This,BOOL locked) { + return This->lpVtbl->SetLocked(This,locked); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetDirtyRange(IAMTimelineObj* This,REFERENCE_TIME *start,REFERENCE_TIME *stop) { + return This->lpVtbl->GetDirtyRange(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetDirtyRange2(IAMTimelineObj* This,REFTIME *start,REFTIME *stop) { + return This->lpVtbl->GetDirtyRange2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetDirtyRange(IAMTimelineObj* This,REFERENCE_TIME start,REFERENCE_TIME stop) { + return This->lpVtbl->SetDirtyRange(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_SetDirtyRange2(IAMTimelineObj* This,REFTIME start,REFTIME stop) { + return This->lpVtbl->SetDirtyRange2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineObj_ClearDirty(IAMTimelineObj* This) { + return This->lpVtbl->ClearDirty(This); +} +static FORCEINLINE HRESULT IAMTimelineObj_Remove(IAMTimelineObj* This) { + return This->lpVtbl->Remove(This); +} +static FORCEINLINE HRESULT IAMTimelineObj_RemoveAll(IAMTimelineObj* This) { + return This->lpVtbl->RemoveAll(This); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetTimelineNoRef(IAMTimelineObj* This,IAMTimeline **timeline) { + return This->lpVtbl->GetTimelineNoRef(This,timeline); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetGroupIBelongTo(IAMTimelineObj* This,IAMTimelineGroup **group) { + return This->lpVtbl->GetGroupIBelongTo(This,group); +} +static FORCEINLINE HRESULT IAMTimelineObj_GetEmbedDepth(IAMTimelineObj* This,LONG *depth) { + return This->lpVtbl->GetEmbedDepth(This,depth); +} +#endif +#endif + +#endif + + +#endif /* __IAMTimelineObj_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMTimelineSrc interface + */ +#ifndef __IAMTimelineSrc_INTERFACE_DEFINED__ +#define __IAMTimelineSrc_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMTimelineSrc, 0x78530b79, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("78530b79-61f9-11d2-8cad-00a024580902") +IAMTimelineSrc : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMediaTimes( + REFERENCE_TIME *start, + REFERENCE_TIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaTimes2( + REFTIME *start, + REFTIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyStopTime( + REFERENCE_TIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyStopTime2( + REFTIME stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE FixMediaTimes( + REFERENCE_TIME *start, + REFERENCE_TIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE FixMediaTimes2( + REFTIME *start, + REFTIME *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaTimes( + REFERENCE_TIME Start, + REFERENCE_TIME Stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaTimes2( + REFTIME Start, + REFTIME Stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaLength( + REFERENCE_TIME length) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaLength2( + REFTIME length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaLength( + REFERENCE_TIME *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaLength2( + REFTIME *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaName( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE SpliceWithNext( + IAMTimelineObj *next) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamNumber( + LONG *num) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamNumber( + LONG num) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsNormalRate( + BOOL *normal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultFPS( + double *fps) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultFPS( + double fps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStretchMode( + int *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStretchMode( + int mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMTimelineSrc, 0x78530b79, 0x61f9, 0x11d2, 0x8c,0xad, 0x00,0xa0,0x24,0x58,0x09,0x02) +#endif +#else +typedef struct IAMTimelineSrcVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMTimelineSrc *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMTimelineSrc *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMTimelineSrc *This); + + /*** IAMTimelineSrc methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMediaTimes)( + IAMTimelineSrc *This, + REFERENCE_TIME *start, + REFERENCE_TIME *stop); + + HRESULT (STDMETHODCALLTYPE *GetMediaTimes2)( + IAMTimelineSrc *This, + REFTIME *start, + REFTIME *stop); + + HRESULT (STDMETHODCALLTYPE *ModifyStopTime)( + IAMTimelineSrc *This, + REFERENCE_TIME stop); + + HRESULT (STDMETHODCALLTYPE *ModifyStopTime2)( + IAMTimelineSrc *This, + REFTIME stop); + + HRESULT (STDMETHODCALLTYPE *FixMediaTimes)( + IAMTimelineSrc *This, + REFERENCE_TIME *start, + REFERENCE_TIME *stop); + + HRESULT (STDMETHODCALLTYPE *FixMediaTimes2)( + IAMTimelineSrc *This, + REFTIME *start, + REFTIME *stop); + + HRESULT (STDMETHODCALLTYPE *SetMediaTimes)( + IAMTimelineSrc *This, + REFERENCE_TIME Start, + REFERENCE_TIME Stop); + + HRESULT (STDMETHODCALLTYPE *SetMediaTimes2)( + IAMTimelineSrc *This, + REFTIME Start, + REFTIME Stop); + + HRESULT (STDMETHODCALLTYPE *SetMediaLength)( + IAMTimelineSrc *This, + REFERENCE_TIME length); + + HRESULT (STDMETHODCALLTYPE *SetMediaLength2)( + IAMTimelineSrc *This, + REFTIME length); + + HRESULT (STDMETHODCALLTYPE *GetMediaLength)( + IAMTimelineSrc *This, + REFERENCE_TIME *length); + + HRESULT (STDMETHODCALLTYPE *GetMediaLength2)( + IAMTimelineSrc *This, + REFTIME *length); + + HRESULT (STDMETHODCALLTYPE *GetMediaName)( + IAMTimelineSrc *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *SetMediaName)( + IAMTimelineSrc *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *SpliceWithNext)( + IAMTimelineSrc *This, + IAMTimelineObj *next); + + HRESULT (STDMETHODCALLTYPE *GetStreamNumber)( + IAMTimelineSrc *This, + LONG *num); + + HRESULT (STDMETHODCALLTYPE *SetStreamNumber)( + IAMTimelineSrc *This, + LONG num); + + HRESULT (STDMETHODCALLTYPE *IsNormalRate)( + IAMTimelineSrc *This, + BOOL *normal); + + HRESULT (STDMETHODCALLTYPE *GetDefaultFPS)( + IAMTimelineSrc *This, + double *fps); + + HRESULT (STDMETHODCALLTYPE *SetDefaultFPS)( + IAMTimelineSrc *This, + double fps); + + HRESULT (STDMETHODCALLTYPE *GetStretchMode)( + IAMTimelineSrc *This, + int *mode); + + HRESULT (STDMETHODCALLTYPE *SetStretchMode)( + IAMTimelineSrc *This, + int mode); + + END_INTERFACE +} IAMTimelineSrcVtbl; + +interface IAMTimelineSrc { + CONST_VTBL IAMTimelineSrcVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMTimelineSrc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMTimelineSrc_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMTimelineSrc_Release(This) (This)->lpVtbl->Release(This) +/*** IAMTimelineSrc methods ***/ +#define IAMTimelineSrc_GetMediaTimes(This,start,stop) (This)->lpVtbl->GetMediaTimes(This,start,stop) +#define IAMTimelineSrc_GetMediaTimes2(This,start,stop) (This)->lpVtbl->GetMediaTimes2(This,start,stop) +#define IAMTimelineSrc_ModifyStopTime(This,stop) (This)->lpVtbl->ModifyStopTime(This,stop) +#define IAMTimelineSrc_ModifyStopTime2(This,stop) (This)->lpVtbl->ModifyStopTime2(This,stop) +#define IAMTimelineSrc_FixMediaTimes(This,start,stop) (This)->lpVtbl->FixMediaTimes(This,start,stop) +#define IAMTimelineSrc_FixMediaTimes2(This,start,stop) (This)->lpVtbl->FixMediaTimes2(This,start,stop) +#define IAMTimelineSrc_SetMediaTimes(This,Start,Stop) (This)->lpVtbl->SetMediaTimes(This,Start,Stop) +#define IAMTimelineSrc_SetMediaTimes2(This,Start,Stop) (This)->lpVtbl->SetMediaTimes2(This,Start,Stop) +#define IAMTimelineSrc_SetMediaLength(This,length) (This)->lpVtbl->SetMediaLength(This,length) +#define IAMTimelineSrc_SetMediaLength2(This,length) (This)->lpVtbl->SetMediaLength2(This,length) +#define IAMTimelineSrc_GetMediaLength(This,length) (This)->lpVtbl->GetMediaLength(This,length) +#define IAMTimelineSrc_GetMediaLength2(This,length) (This)->lpVtbl->GetMediaLength2(This,length) +#define IAMTimelineSrc_GetMediaName(This,name) (This)->lpVtbl->GetMediaName(This,name) +#define IAMTimelineSrc_SetMediaName(This,name) (This)->lpVtbl->SetMediaName(This,name) +#define IAMTimelineSrc_SpliceWithNext(This,next) (This)->lpVtbl->SpliceWithNext(This,next) +#define IAMTimelineSrc_GetStreamNumber(This,num) (This)->lpVtbl->GetStreamNumber(This,num) +#define IAMTimelineSrc_SetStreamNumber(This,num) (This)->lpVtbl->SetStreamNumber(This,num) +#define IAMTimelineSrc_IsNormalRate(This,normal) (This)->lpVtbl->IsNormalRate(This,normal) +#define IAMTimelineSrc_GetDefaultFPS(This,fps) (This)->lpVtbl->GetDefaultFPS(This,fps) +#define IAMTimelineSrc_SetDefaultFPS(This,fps) (This)->lpVtbl->SetDefaultFPS(This,fps) +#define IAMTimelineSrc_GetStretchMode(This,mode) (This)->lpVtbl->GetStretchMode(This,mode) +#define IAMTimelineSrc_SetStretchMode(This,mode) (This)->lpVtbl->SetStretchMode(This,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMTimelineSrc_QueryInterface(IAMTimelineSrc* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMTimelineSrc_AddRef(IAMTimelineSrc* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMTimelineSrc_Release(IAMTimelineSrc* This) { + return This->lpVtbl->Release(This); +} +/*** IAMTimelineSrc methods ***/ +static FORCEINLINE HRESULT IAMTimelineSrc_GetMediaTimes(IAMTimelineSrc* This,REFERENCE_TIME *start,REFERENCE_TIME *stop) { + return This->lpVtbl->GetMediaTimes(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetMediaTimes2(IAMTimelineSrc* This,REFTIME *start,REFTIME *stop) { + return This->lpVtbl->GetMediaTimes2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_ModifyStopTime(IAMTimelineSrc* This,REFERENCE_TIME stop) { + return This->lpVtbl->ModifyStopTime(This,stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_ModifyStopTime2(IAMTimelineSrc* This,REFTIME stop) { + return This->lpVtbl->ModifyStopTime2(This,stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_FixMediaTimes(IAMTimelineSrc* This,REFERENCE_TIME *start,REFERENCE_TIME *stop) { + return This->lpVtbl->FixMediaTimes(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_FixMediaTimes2(IAMTimelineSrc* This,REFTIME *start,REFTIME *stop) { + return This->lpVtbl->FixMediaTimes2(This,start,stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetMediaTimes(IAMTimelineSrc* This,REFERENCE_TIME Start,REFERENCE_TIME Stop) { + return This->lpVtbl->SetMediaTimes(This,Start,Stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetMediaTimes2(IAMTimelineSrc* This,REFTIME Start,REFTIME Stop) { + return This->lpVtbl->SetMediaTimes2(This,Start,Stop); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetMediaLength(IAMTimelineSrc* This,REFERENCE_TIME length) { + return This->lpVtbl->SetMediaLength(This,length); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetMediaLength2(IAMTimelineSrc* This,REFTIME length) { + return This->lpVtbl->SetMediaLength2(This,length); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetMediaLength(IAMTimelineSrc* This,REFERENCE_TIME *length) { + return This->lpVtbl->GetMediaLength(This,length); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetMediaLength2(IAMTimelineSrc* This,REFTIME *length) { + return This->lpVtbl->GetMediaLength2(This,length); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetMediaName(IAMTimelineSrc* This,BSTR *name) { + return This->lpVtbl->GetMediaName(This,name); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetMediaName(IAMTimelineSrc* This,BSTR name) { + return This->lpVtbl->SetMediaName(This,name); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SpliceWithNext(IAMTimelineSrc* This,IAMTimelineObj *next) { + return This->lpVtbl->SpliceWithNext(This,next); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetStreamNumber(IAMTimelineSrc* This,LONG *num) { + return This->lpVtbl->GetStreamNumber(This,num); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetStreamNumber(IAMTimelineSrc* This,LONG num) { + return This->lpVtbl->SetStreamNumber(This,num); +} +static FORCEINLINE HRESULT IAMTimelineSrc_IsNormalRate(IAMTimelineSrc* This,BOOL *normal) { + return This->lpVtbl->IsNormalRate(This,normal); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetDefaultFPS(IAMTimelineSrc* This,double *fps) { + return This->lpVtbl->GetDefaultFPS(This,fps); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetDefaultFPS(IAMTimelineSrc* This,double fps) { + return This->lpVtbl->SetDefaultFPS(This,fps); +} +static FORCEINLINE HRESULT IAMTimelineSrc_GetStretchMode(IAMTimelineSrc* This,int *mode) { + return This->lpVtbl->GetStretchMode(This,mode); +} +static FORCEINLINE HRESULT IAMTimelineSrc_SetStretchMode(IAMTimelineSrc* This,int mode) { + return This->lpVtbl->SetStretchMode(This,mode); +} +#endif +#endif + +#endif + + +#endif /* __IAMTimelineSrc_INTERFACE_DEFINED__ */ + +enum { + E_NOTINTREE = 0x80040400, + E_RENDER_ENGINE_IS_BROKEN = 0x80040401, + E_MUST_INIT_RENDERER = 0x80040402, + E_NOTDETERMINED = 0x80040403, + E_NO_TIMELINE = 0x80040404, + S_WARN_OUTPUTRESET = 40404 +}; +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __qedit_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/qedit.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/qedit.idl new file mode 100644 index 0000000..d42e691 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/qedit.idl @@ -0,0 +1,817 @@ +/* + * Copyright (C) 2008 Google (Lei Zhang) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +/* import "dxtrans.idl"; */ +import "amstream.idl"; +import "msxml.idl"; + +[ + object, + uuid(0579154A-2B53-4994-B0D0-E773148EFF85), + local, + pointer_default(unique) +] +interface ISampleGrabberCB : IUnknown +{ + HRESULT SampleCB( + double SampleTime, + IMediaSample * pSample + ); + HRESULT BufferCB( + double SampleTime, + BYTE * pBuffer, + LONG BufferLen + ); +} + +[ + object, + uuid(6B652FFF-11FE-4fce-92AD-0266B5D7C78F), + local, + pointer_default(unique) +] +interface ISampleGrabber: IUnknown +{ + HRESULT SetOneShot( + BOOL OneShot + ); + + HRESULT SetMediaType( + const AM_MEDIA_TYPE * pType + ); + + HRESULT GetConnectedMediaType( + AM_MEDIA_TYPE * pType + ); + + HRESULT SetBufferSamples( + BOOL BufferThem + ); + + HRESULT GetCurrentBuffer( + [in,out] LONG * pBufferSize, + [out] LONG * pBuffer + ); + + HRESULT GetCurrentSample( + [out] IMediaSample ** ppSample + ); + + HRESULT SetCallback( + ISampleGrabberCB * pCallback, + LONG WhichMethodToCallback + ); +}; + +[ + object, + uuid(65bd0710-24d2-4FF7-9324-ed2e5d3abafa), + pointer_default(unique) +] +interface IMediaDet : IUnknown +{ + HRESULT get_Filter( + [out] IUnknown* *pVal + ); + + HRESULT put_Filter( + IUnknown* newVal + ); + + HRESULT get_OutputStreams( + [out] LONG *pVal + ); + + HRESULT get_CurrentStream( + [out] LONG *pVal + ); + + HRESULT put_CurrentStream( + LONG newVal + ); + + HRESULT get_StreamType( + [out] GUID *pVal + ); + + HRESULT get_StreamTypeB( + [out] BSTR *pVal + ); + + HRESULT get_StreamLength( + [out] double *pVal + ); + + HRESULT get_Filename( + [out] BSTR *pVal + ); + + HRESULT put_Filename( + BSTR newVal + ); + + HRESULT GetBitmapBits( + double StreamTime, + LONG * pBufferSize, + char * pBuffer, + LONG Width, + LONG Height + ); + + HRESULT WriteBitmapBits( + double StreamTime, + LONG Width, + LONG Height, + BSTR Filename + ); + + HRESULT get_StreamMediaType( + [out] AM_MEDIA_TYPE * pVal + ); + + HRESULT GetSampleGrabber( + [out] ISampleGrabber ** ppVal + ); + + HRESULT get_FrameRate( + [out] double *pVal + ); + + HRESULT EnterBitmapGrabMode( + double SeekTime + ); +}; + +[ + uuid(65BD0711-24D2-4ff7-9324-ED2E5D3ABAFA), +] +coclass MediaDet +{ + [default] interface IMediaDet; +}; + +[ + object, + uuid(288581E0-66CE-11d2-918F-00C0DF10D434), + odl, + pointer_default(unique) +] +interface IMediaLocator : IUnknown +{ + HRESULT FindMediaFile( + BSTR input, + BSTR filter, + BSTR * output, + long flags + ); + + HRESULT AddFoundLocation( + BSTR dir + ); +}; + +typedef struct +{ + BSTR name; + DISPID dispID; + LONG nValues; +} DEXTER_PARAM; + +typedef struct +{ + VARIANT v; + REFERENCE_TIME rt; + DWORD dwInterp; +} DEXTER_VALUE; + +[ + object, + uuid(AE9472BD-B0C3-11D2-8D24-00A0C9441E20), + pointer_default(unique) +] +interface IPropertySetter : IUnknown +{ + HRESULT LoadXML( + [in] IUnknown * pxml + ); + + HRESULT PrintXML( + [out] char * xml, + [in] int size, + [out] int * printed, + [in] int indent + ); + + HRESULT CloneProps( + [out] IPropertySetter ** setter, + [in] REFERENCE_TIME start, + [in] REFERENCE_TIME stop + ); + + HRESULT AddProp( + [in] DEXTER_PARAM param, + [in] DEXTER_VALUE * value + ); + + HRESULT GetProps( + [out] LONG * params, + [out] DEXTER_PARAM ** param, + [out] DEXTER_VALUE ** value + ); + + HRESULT FreeProps( + [in] LONG params, + [in] DEXTER_PARAM * param, + [in] DEXTER_VALUE * value + ); + + HRESULT ClearProps(); + + HRESULT SaveToBlob( + [out] LONG * size, + [out] BYTE ** blob + ); + + HRESULT LoadFromBlob( + [in] LONG size, + [in] BYTE * blob + ); + + HRESULT SetProps( + [in] IUnknown * target, + [in] REFERENCE_TIME now + ); +}; + +[ + object, + uuid(E43E73A2-0EFA-11d3-9601-00A0C9441E20), + odl, + pointer_default(unique) +] +interface IAMErrorLog : IUnknown +{ + HRESULT LogError( + long severity, + BSTR error_str, + long error_code, + long hresult, + [in] VARIANT * extra + ); +}; + +[ + object, + uuid(963566DA-BE21-4eaf-88E9-35704F8F52A1), + odl, + pointer_default(unique) +] +interface IAMSetErrorLog : IUnknown +{ + [propget] HRESULT ErrorLog( + [out, retval] IAMErrorLog ** log + ); + + [propput] HRESULT ErrorLog( + [in] IAMErrorLog * log + ); +}; + +interface IAMTimeline; +interface IAMTimelineGroup; +interface IAMTimelineObj; +interface IAMTimelineSrc; + +typedef enum +{ + TIMELINE_MAJOR_TYPE_COMPOSITE = 1, + TIMELINE_MAJOR_TYPE_TRACK = 2, + TIMELINE_MAJOR_TYPE_SOURCE = 4, + TIMELINE_MAJOR_TYPE_TRANSITION = 8, + TIMELINE_MAJOR_TYPE_EFFECT = 16, + TIMELINE_MAJOR_TYPE_GROUP = 128 +} TIMELINE_MAJOR_TYPE; + +[ + object, + uuid(78530B74-61F9-11D2-8CAD-00A024580902), + odl, + pointer_default(unique) +] +interface IAMTimeline : IUnknown +{ + HRESULT CreateEmptyNode( + [out] IAMTimelineObj ** obj, + TIMELINE_MAJOR_TYPE type + ); + + HRESULT AddGroup( + IAMTimelineObj * group + ); + + HRESULT RemGroupFromList( + IAMTimelineObj * group + ); + + HRESULT GetGroup( + [out] IAMTimelineObj ** group, + long index + ); + + HRESULT GetGroupCount( + long * count + ); + + HRESULT ClearAllGroups(); + + HRESULT GetInsertMode( + long * mode + ); + + HRESULT SetInsertMode( + long mode + ); + + HRESULT EnableTransitions( + BOOL enabled + ); + + HRESULT TransitionsEnabled( + BOOL * enabled + ); + + HRESULT EnableEffects( + BOOL enabled + ); + + HRESULT EffectsEnabled( + BOOL * enabled + ); + + HRESULT SetInterestRange( + REFERENCE_TIME start, + REFERENCE_TIME stop + ); + + HRESULT GetDuration( + REFERENCE_TIME * duration + ); + + HRESULT GetDuration2( + double * duration + ); + + HRESULT SetDefaultFPS( + double fps + ); + + HRESULT GetDefaultFPS( + double * fps + ); + + HRESULT IsDirty( + BOOL * dirty + ); + + HRESULT GetDirtyRange( + REFERENCE_TIME * start, + REFERENCE_TIME * stop + ); + + HRESULT GetCountOfType( + long group, + long * value, + long * value_with_comps, + TIMELINE_MAJOR_TYPE type + ); + + HRESULT ValidateSourceNames( + long flags, + IMediaLocator * override, + LONG_PTR notify_event + ); + + HRESULT SetDefaultTransition( + GUID * guid + ); + + HRESULT GetDefaultTransition( + GUID * guid + ); + + HRESULT SetDefaultEffect( + GUID * guid + ); + + HRESULT GetDefaultEffect( + GUID * guid + ); + + HRESULT SetDefaultTransitionB( + BSTR guidb + ); + + HRESULT GetDefaultTransitionB( + [out,retval] BSTR * guidb + ); + + HRESULT SetDefaultEffectB( + BSTR guidb + ); + + HRESULT GetDefaultEffectB( + [out,retval] BSTR * guidb + ); +}; + +[ + uuid(78530B75-61F9-11D2-8CAD-00A024580902) +] +coclass AMTimeline +{ + [default] interface IAMTimeline; + interface IPersistStream; + interface IAMSetErrorLog; +}; + +[ + object, + uuid(9EED4F00-B8A6-11d2-8023-00C0DF10D434), + odl, + pointer_default(unique) +] +interface IAMTimelineGroup : IUnknown +{ + HRESULT SetTimeline( + IAMTimeline * timeline + ); + + HRESULT GetTimeline( + [out] IAMTimeline ** timeline + ); + + HRESULT GetPriority( + long * priority + ); + + HRESULT GetMediaType( + [out] AM_MEDIA_TYPE * + ); + + HRESULT SetMediaType( + [in] AM_MEDIA_TYPE * + ); + + HRESULT SetOutputFPS( + double fps + ); + + HRESULT GetOutputFPS( + double * fps + ); + + HRESULT SetGroupName( + BSTR name + ); + + HRESULT GetGroupName( + [out,retval] BSTR * name + ); + + HRESULT SetPreviewMode( + BOOL preview + ); + + HRESULT GetPreviewMode( + BOOL * preview + ); + + HRESULT SetMediaTypeForVB( + [in] long type + ); + + HRESULT GetOutputBuffering( + [out] int * buffer + ); + + HRESULT SetOutputBuffering( + [in] int buffer + ); + + HRESULT SetSmartRecompressFormat( + long * format + ); + + HRESULT GetSmartRecompressFormat( + long ** format + ); + + HRESULT IsSmartRecompressFormatSet( + BOOL * set + ); + + HRESULT IsRecompressFormatDirty( + BOOL * dirty + ); + + HRESULT ClearRecompressFormatDirty(); + + HRESULT SetRecompFormatFromSource( + IAMTimelineSrc * source + ); +}; + +[ + object, + local, + uuid(78530B77-61F9-11D2-8CAD-00A024580902), + odl, + pointer_default(unique) +] +interface IAMTimelineObj : IUnknown +{ + HRESULT GetStartStop( + REFERENCE_TIME * start, + REFERENCE_TIME * stop + ); + + HRESULT GetStartStop2( + REFTIME * start, REFTIME * stop + ); + + HRESULT FixTimes( + REFERENCE_TIME * start, REFERENCE_TIME * stop + ); + + HRESULT FixTimes2( + REFTIME * start, REFTIME * stop + ); + + HRESULT SetStartStop( + REFERENCE_TIME start, + REFERENCE_TIME stop + ); + + HRESULT SetStartStop2( + REFTIME start, + REFTIME stop + ); + + HRESULT GetPropertySetter( + [out,retval] IPropertySetter ** setter + ); + + HRESULT SetPropertySetter( + IPropertySetter * setter + ); + + HRESULT GetSubObject( + [out,retval] IUnknown ** obj + ); + + HRESULT SetSubObject( + IUnknown * obj + ); + + HRESULT SetSubObjectGUID( + GUID guid + ); + + HRESULT SetSubObjectGUIDB( + BSTR guidb + ); + + HRESULT GetSubObjectGUID( + GUID * guid + ); + + HRESULT GetSubObjectGUIDB( + [out,retval] BSTR * guidb + ); + + HRESULT GetSubObjectLoaded( + BOOL * loaded + ); + + HRESULT GetTimelineType( + TIMELINE_MAJOR_TYPE * type + ); + + HRESULT SetTimelineType( + TIMELINE_MAJOR_TYPE type + ); + + HRESULT GetUserID( + long * id + ); + + HRESULT SetUserID( + long id + ); + + HRESULT GetGenID( + long * id + ); + + HRESULT GetUserName( + [out,retval] BSTR * name + ); + + HRESULT SetUserName( + BSTR name + ); + + HRESULT GetUserData( + BYTE * data, + long * size + ); + + HRESULT SetUserData( + BYTE * data, + long size + ); + + HRESULT GetMuted( + BOOL * muted + ); + + HRESULT SetMuted( + BOOL muted + ); + + HRESULT GetLocked( + BOOL * locked + ); + + HRESULT SetLocked( + BOOL locked + ); + + HRESULT GetDirtyRange( + REFERENCE_TIME * start, + REFERENCE_TIME * stop + ); + + HRESULT GetDirtyRange2( + REFTIME * start, + REFTIME * stop + ); + + HRESULT SetDirtyRange( + REFERENCE_TIME start, + REFERENCE_TIME stop + ); + + HRESULT SetDirtyRange2( + REFTIME start, + REFTIME stop + ); + + HRESULT ClearDirty(); + + HRESULT Remove(); + + HRESULT RemoveAll(); + + HRESULT GetTimelineNoRef( + IAMTimeline ** timeline + ); + + HRESULT GetGroupIBelongTo( + [out] IAMTimelineGroup ** group + ); + + HRESULT GetEmbedDepth( + long * depth + ); +}; + +[ + object, + uuid(78530B79-61F9-11D2-8CAD-00A024580902), + odl, + pointer_default(unique) +] +interface IAMTimelineSrc : IUnknown +{ + HRESULT GetMediaTimes( + REFERENCE_TIME * start, + REFERENCE_TIME * stop + ); + + HRESULT GetMediaTimes2( + REFTIME * start, + REFTIME * stop + ); + + HRESULT ModifyStopTime( + REFERENCE_TIME stop + ); + + HRESULT ModifyStopTime2( + REFTIME stop + ); + + HRESULT FixMediaTimes( + REFERENCE_TIME * start, + REFERENCE_TIME * stop + ); + + HRESULT FixMediaTimes2( + REFTIME * start, + REFTIME * stop + ); + + HRESULT SetMediaTimes( + REFERENCE_TIME Start, + REFERENCE_TIME Stop + ); + + HRESULT SetMediaTimes2( + REFTIME Start, + REFTIME Stop + ); + + HRESULT SetMediaLength( + REFERENCE_TIME length + ); + + HRESULT SetMediaLength2( + REFTIME length + ); + + HRESULT GetMediaLength( + REFERENCE_TIME * length + ); + + HRESULT GetMediaLength2( + REFTIME * length + ); + + HRESULT GetMediaName( + [out,retval] BSTR * name + ); + + HRESULT SetMediaName( + BSTR name + ); + + HRESULT SpliceWithNext( + IAMTimelineObj * next + ); + + HRESULT GetStreamNumber( + long * num + ); + + HRESULT SetStreamNumber( + long num + ); + + HRESULT IsNormalRate( + BOOL * normal + ); + + HRESULT GetDefaultFPS( + double * fps + ); + + HRESULT SetDefaultFPS( + double fps + ); + + HRESULT GetStretchMode( + int * mode + ); + + HRESULT SetStretchMode( + int mode + ); +}; + +enum +{ + E_NOTINTREE = 0x80040400, + E_RENDER_ENGINE_IS_BROKEN = 0x80040401, + E_MUST_INIT_RENDERER = 0x80040402, + E_NOTDETERMINED = 0x80040403, + E_NO_TIMELINE = 0x80040404, + S_WARN_OUTPUTRESET = 40404 +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ras.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ras.h new file mode 100644 index 0000000..a8c04da --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ras.h @@ -0,0 +1,538 @@ +/* + * Copyright (C) 1998 Marcus Meissner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_RAS_H +#define __WINE_RAS_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif +#include +#include +#include + +#define RAS_MaxCallbackNumber RAS_MaxPhoneNumber +#define RAS_MaxDeviceName 128 +#define RAS_MaxDeviceType 16 +#define RAS_MaxEntryName 256 +#define RAS_MaxPhoneNumber 128 +#define RAS_MaxAreaCode 10 +#define RAS_MaxPadType 32 +#define RAS_MaxX25Address 200 +#define RAS_MaxFacilities 200 +#define RAS_MaxUserData 200 +#define RAS_MaxDnsSuffix 256 + +/* szDeviceType strings for RASDEVINFO */ +#define RASDT_Direct "direct" +#define RASDT_Modem "modem" +#define RASDT_Isdn "isdn" +#define RASDT_X25 "x25" +#define RASDT_Vpn "vpn" +#define RASDT_Pad "pad" +#define RASDT_Generic "GENERIC" +#define RASDT_Serial "SERIAL" +#define RASDT_FrameRelay "FRAMERELAY" +#define RASDT_Atm "ATM" +#define RASDT_Sonet "SONET" +#define RASDT_SW56 "SW56" +#define RASDT_Irda "IRDA" +#define RASDT_Parallel "PARALLEL" +#define RASDT_PPPoE "PPPoE" + +typedef struct tagRASDEVINFOA { + DWORD dwSize; + CHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; + CHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; +} RASDEVINFOA, *LPRASDEVINFOA; + +typedef struct tagRASDEVINFOW { + DWORD dwSize; + WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; + WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; +} RASDEVINFOW, *LPRASDEVINFOW; + +DECL_WINELIB_TYPE_AW(RASDEVINFO) +DECL_WINELIB_TYPE_AW(LPRASDEVINFO) + +DECLARE_HANDLE(HRASCONN); +typedef HRASCONN* LPHRASCONN; + +typedef struct tagRASCONNA { + DWORD dwSize; + HRASCONN hRasConn; + CHAR szEntryName[ RAS_MaxEntryName + 1 ]; + CHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; + CHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; + CHAR szPhonebook[ MAX_PATH ]; + DWORD dwSubEntry; + GUID guidEntry; + DWORD dwFlags; + LUID luid; + GUID guidCorrelationId; +} RASCONNA,*LPRASCONNA; + +typedef struct tagRASCONNW { + DWORD dwSize; + HRASCONN hRasConn; + WCHAR szEntryName[ RAS_MaxEntryName + 1 ]; + WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; + WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; + WCHAR szPhonebook[ MAX_PATH ]; + DWORD dwSubEntry; + GUID guidEntry; + DWORD dwFlags; + LUID luid; + GUID guidCorrelationId; +} RASCONNW,*LPRASCONNW; + +DECL_WINELIB_TYPE_AW(RASCONN) +DECL_WINELIB_TYPE_AW(LPRASCONN) + +typedef struct tagRASENTRYNAMEA { + DWORD dwSize; + CHAR szEntryName[ RAS_MaxEntryName + 1 ]; +} RASENTRYNAMEA, *LPRASENTRYNAMEA; + +typedef struct tagRASENTRYNAMEW { + DWORD dwSize; + WCHAR szEntryName[ RAS_MaxEntryName + 1 ]; +} RASENTRYNAMEW, *LPRASENTRYNAMEW; + +DECL_WINELIB_TYPE_AW(RASENTRYNAME) +DECL_WINELIB_TYPE_AW(LPRASENTRYNAME) + +typedef struct tagRASDIALPARAMSA { + DWORD dwSize; + CHAR szEntryName[ RAS_MaxEntryName + 1 ]; + CHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; + CHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ]; + CHAR szUserName[ UNLEN + 1 ]; + CHAR szPassword[ PWLEN + 1 ]; + CHAR szDomain[ DNLEN + 1 ]; + DWORD dwSubEntry; + DWORD dwCallbackId; +} RASDIALPARAMSA, *LPRASDIALPARAMSA; + +typedef struct tagRASDIALPARAMSW { + DWORD dwSize; + WCHAR szEntryName[ RAS_MaxEntryName + 1 ]; + WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; + WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ]; + WCHAR szUserName[ UNLEN + 1 ]; + WCHAR szPassword[ PWLEN + 1 ]; + WCHAR szDomain[ DNLEN + 1 ]; + DWORD dwSubEntry; + DWORD dwCallbackId; +} RASDIALPARAMSW, *LPRASDIALPARAMSW; + +DECL_WINELIB_TYPE_AW(RASDIALPARAMS) +DECL_WINELIB_TYPE_AW(LPRASDIALPARAMS) + +typedef struct tagRASIPADDR { + BYTE classA,classB,classC,classD; +} RASIPADDR; + +#define RASEO_UseCountryAndAreaCodes 0x0001 +#define RASEO_SpecificIpAddr 0x0002 +#define RASEO_SpecificNameServers 0x0004 +#define RASEO_IpHeaderCompression 0x0008 +#define RASEO_RemoteDefaultGateway 0x0010 +#define RASEO_DisableLcpExtensions 0x0020 +#define RASEO_TerminalBeforeDial 0x0040 +#define RASEO_TerminalAfterDial 0x0080 +#define RASEO_ModemLights 0x0100 +#define RASEO_SwCompression 0x0200 +#define RASEO_RequireEncryptedPw 0x0400 +#define RASEO_RequireMsEncryptedPw 0x0800 +#define RASEO_RequireDataEncryption 0x1000 +#define RASEO_NetworkLogon 0x2000 +#define RASEO_UseLogonCredentials 0x4000 +#define RASEO_PromoteAlternates 0x8000 +typedef struct tagRASENTRYA { + DWORD dwSize; + DWORD dwfOptions; + + /* Location */ + + DWORD dwCountryID; + DWORD dwCountryCode; + CHAR szAreaCode[ RAS_MaxAreaCode + 1 ]; + CHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; + DWORD dwAlternateOffset; + + /* IP related stuff */ + + RASIPADDR ipaddr; + RASIPADDR ipaddrDns; + RASIPADDR ipaddrDnsAlt; + RASIPADDR ipaddrWins; + RASIPADDR ipaddrWinsAlt; + + /* Framing (for ppp/isdn etc...) */ + + DWORD dwFrameSize; + DWORD dwfNetProtocols; + DWORD dwFramingProtocol; + + CHAR szScript[ MAX_PATH ]; + + CHAR szAutodialDll[ MAX_PATH ]; + CHAR szAutodialFunc[ MAX_PATH ]; + + CHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; + CHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; + + /* x25 only */ + + CHAR szX25PadType[ RAS_MaxPadType + 1 ]; + CHAR szX25Address[ RAS_MaxX25Address + 1 ]; + CHAR szX25Facilities[ RAS_MaxFacilities + 1 ]; + CHAR szX25UserData[ RAS_MaxUserData + 1 ]; + DWORD dwChannels; + + DWORD dwReserved1; + DWORD dwReserved2; + + /* Multilink and BAP */ + + DWORD dwSubEntries; + DWORD dwDialMode; + DWORD dwDialExtraPercent; + DWORD dwDialExtraSampleSeconds; + DWORD dwHangUpExtraPercent; + DWORD dwHangUpExtraSampleSeconds; + + /* Idle time out */ + DWORD dwIdleDisconnectSeconds; + + DWORD dwType; /* entry type */ + DWORD dwEncryptionType; /* type of encryption to use */ + DWORD dwCustomAuthKey; /* authentication key for EAP */ + GUID guidId; /* guid that represents the phone-book entry */ + CHAR szCustomDialDll[MAX_PATH]; /* DLL for custom dialing */ + DWORD dwVpnStrategy; /* specifies type of VPN protocol */ + + DWORD dwfOptions2; + DWORD dwfOptions3; + CHAR szDnsSuffix[RAS_MaxDnsSuffix]; + DWORD dwTcpWindowSize; + CHAR szPrerequisitePbk[MAX_PATH]; + CHAR szPrerequisiteEntry[RAS_MaxEntryName + 1]; + DWORD dwRedialCount; + DWORD dwRedialPause; +} RASENTRYA, *LPRASENTRYA; + +typedef struct tagRASENTRYW { + DWORD dwSize; + DWORD dwfOptions; + + /* Location */ + + DWORD dwCountryID; + DWORD dwCountryCode; + WCHAR szAreaCode[ RAS_MaxAreaCode + 1 ]; + WCHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; + DWORD dwAlternateOffset; + + /* IP related stuff */ + + RASIPADDR ipaddr; + RASIPADDR ipaddrDns; + RASIPADDR ipaddrDnsAlt; + RASIPADDR ipaddrWins; + RASIPADDR ipaddrWinsAlt; + + /* Framing (for ppp/isdn etc...) */ + + DWORD dwFrameSize; + DWORD dwfNetProtocols; + DWORD dwFramingProtocol; + + WCHAR szScript[ MAX_PATH ]; + + WCHAR szAutodialDll[ MAX_PATH ]; + WCHAR szAutodialFunc[ MAX_PATH ]; + + WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; + WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; + + /* x25 only */ + + WCHAR szX25PadType[ RAS_MaxPadType + 1 ]; + WCHAR szX25Address[ RAS_MaxX25Address + 1 ]; + WCHAR szX25Facilities[ RAS_MaxFacilities + 1 ]; + WCHAR szX25UserData[ RAS_MaxUserData + 1 ]; + DWORD dwChannels; + + DWORD dwReserved1; + DWORD dwReserved2; + + /* Multilink and BAP */ + + DWORD dwSubEntries; + DWORD dwDialMode; + DWORD dwDialExtraPercent; + DWORD dwDialExtraSampleSeconds; + DWORD dwHangUpExtraPercent; + DWORD dwHangUpExtraSampleSeconds; + + /* Idle time out */ + DWORD dwIdleDisconnectSeconds; + + DWORD dwType; /* entry type */ + DWORD dwEncryptionType; /* type of encryption to use */ + DWORD dwCustomAuthKey; /* authentication key for EAP */ + GUID guidId; /* guid that represents the phone-book entry */ + WCHAR szCustomDialDll[MAX_PATH]; /* DLL for custom dialing */ + DWORD dwVpnStrategy; /* specifies type of VPN protocol */ + + DWORD dwfOptions2; + DWORD dwfOptions3; + WCHAR szDnsSuffix[RAS_MaxDnsSuffix]; + DWORD dwTcpWindowSize; + WCHAR szPrerequisitePbk[MAX_PATH]; + WCHAR szPrerequisiteEntry[RAS_MaxEntryName + 1]; + DWORD dwRedialCount; + DWORD dwRedialPause; +} RASENTRYW, *LPRASENTRYW; + +DECL_WINELIB_TYPE_AW(RASENTRY) + +#define RASCS_PAUSED 0x1000 +#define RASCS_DONE 0x2000 +typedef enum tagRASCONNSTATE +{ + RASCS_OpenPort = 0, + RASCS_PortOpened, + RASCS_ConnectDevice, + RASCS_DeviceConnected, + RASCS_AllDevicesConnected, + RASCS_Authenticate, + RASCS_AuthNotify, + RASCS_AuthRetry, + RASCS_AuthCallback, + RASCS_AuthChangePassword, + RASCS_AuthProject, + RASCS_AuthLinkSpeed, + RASCS_AuthAck, + RASCS_ReAuthenticate, + RASCS_Authenticated, + RASCS_PrepareForCallback, + RASCS_WaitForModemReset, + RASCS_WaitForCallback, + RASCS_Projected, + RASCS_StartAuthentication, + RASCS_CallbackComplete, + RASCS_LogonNetwork, + RASCS_SubEntryConnected, + RASCS_SubEntryDisconnected, + RASCS_Interactive = RASCS_PAUSED, + RASCS_RetryAuthentication, + RASCS_CallbackSetByCaller, + RASCS_PasswordExpired, + RASCS_Connected = RASCS_DONE, + RASCS_Disconnected +} RASCONNSTATE, *LPRASCONNSTATE; + +typedef struct tagRASCONNSTATUSA +{ + DWORD dwSize; + RASCONNSTATE rasconnstate; + DWORD dwError; + CHAR szDeviceType[RAS_MaxDeviceType + 1]; + CHAR szDeviceName[RAS_MaxDeviceName + 1]; +} RASCONNSTATUSA, *LPRASCONNSTATUSA; + +typedef struct tagRASCONNSTATUSW +{ + DWORD dwSize; + RASCONNSTATE rasconnstate; + DWORD dwError; + WCHAR szDeviceType[RAS_MaxDeviceType + 1]; + WCHAR szDeviceName[RAS_MaxDeviceName + 1]; +} RASCONNSTATUSW, *LPRASCONNSTATUSW; + +DECL_WINELIB_TYPE_AW(RASCONNSTATUS) + +typedef enum tagRASPROJECTION +{ + RASP_Amb = 0x10000, + RASP_PppNbf = 0x803F, + RASP_PppIpx = 0x802B, + RASP_PppIp = 0x8021, + RASP_PppLcp = 0xC021, + RASP_Slip = 0x20000 +} RASPROJECTION, *LPRASPROJECTION; + +typedef struct tagRASSUBENTRYA +{ + DWORD dwSize; + DWORD dwfFlags; + CHAR szDeviceType[RAS_MaxDeviceType + 1]; + CHAR szDeviceName[RAS_MaxDeviceName + 1]; + CHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1]; + DWORD dwAlternateOffset; +} RASSUBENTRYA, *LPRASSUBENTRYA; + +typedef struct tagRASSUBENTRYW +{ + DWORD dwSize; + DWORD dwfFlags; + WCHAR szDeviceType[RAS_MaxDeviceType + 1]; + WCHAR szDeviceName[RAS_MaxDeviceName + 1]; + WCHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1]; + DWORD dwAlternateOffset; +} RASSUBENTRYW, *LPRASSUBENTRYW; + +typedef struct tagRASDIALEXTENSIONS +{ + DWORD dwSize; + DWORD dwfOptions; + HWND hwndParent; + ULONG_PTR reserved; +} RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS; + +typedef struct tagRASAUTODIALENTRYA +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwDialingLocation; + CHAR szEntry[ RAS_MaxEntryName + 1 ]; +} RASAUTODIALENTRYA, *LPRASAUTODIALENTRYA; + +typedef struct tagRASAUTODIALENTRYW +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwDialingLocation; + WCHAR szEntry[ RAS_MaxEntryName + 1 ]; +} RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW; + +typedef struct _RAS_STATS +{ + DWORD dwSize; + DWORD dwBytesXmited; + DWORD dwBytesRcved; + DWORD dwFramesXmited; + DWORD dwFramesRcved; + DWORD dwCrcErr; + DWORD dwTimeoutErr; + DWORD dwAlignmentErr; + DWORD dwHardwareOverrunErr; + DWORD dwFramingErr; + DWORD dwBufferOverrunErr; + DWORD dwCompressionRatioIn; + DWORD dwCompressionRatioOut; + DWORD dwBps; + DWORD dwConnectDuration; +} RAS_STATS, *PRAS_STATS; + +DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD); +DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD); +#define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification) +DWORD WINAPI RasCreatePhonebookEntryA(HWND,LPCSTR); +DWORD WINAPI RasCreatePhonebookEntryW(HWND,LPCWSTR); +#define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry) +DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR); +DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR); +#define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry) +DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD); +DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD); +#define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry) +DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS,LPCSTR,LPRASDIALPARAMSA,DWORD,LPVOID,LPHRASCONN); +DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS,LPCWSTR,LPRASDIALPARAMSW,DWORD,LPVOID,LPHRASCONN); +#define RasDial WINELIB_NAME_AW(RasDial) +DWORD WINAPI RasEditPhonebookEntryA(HWND,LPCSTR,LPCSTR); +DWORD WINAPI RasEditPhonebookEntryW(HWND,LPCWSTR,LPCWSTR); +#define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry) +DWORD WINAPI RasEnumAutodialAddressesA(LPSTR*,LPDWORD,LPDWORD); +DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR*,LPDWORD,LPDWORD); +#define RasEnumAutodialAddresses WINELIB_NAME_AW(RasEnumAutodialAddresses) +DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD); +DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD); +#define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections) +DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA,LPDWORD,LPDWORD); +DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD); +#define RasEnumDevices WINELIB_NAME_AW(RasEnumDevices) +DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD); +DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD); +#define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries) +DWORD WINAPI RasGetAutodialAddressA(LPCSTR,LPDWORD,LPRASAUTODIALENTRYA,LPDWORD,LPDWORD); +DWORD WINAPI RasGetAutodialAddressW(LPCWSTR,LPDWORD,LPRASAUTODIALENTRYW,LPDWORD,LPDWORD); +#define RasGetAutodialAddresses WINELIB_NAME_AW(RasGetAutodialAddresses) +DWORD WINAPI RasGetAutodialEnableA(DWORD,LPBOOL); +DWORD WINAPI RasGetAutodialEnableW(DWORD,LPBOOL); +#define RasGetAutodialEnable WINELIB_NAME_AW(RasGetAutodialEnable) +DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue); +DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue); +#define RasGetAutodialParam WINELIB_NAME_AW(RasGetAutodialParam) +DWORD WINAPI RasGetConnectStatusA(HRASCONN,LPRASCONNSTATUSA); +DWORD WINAPI RasGetConnectStatusW(HRASCONN,LPRASCONNSTATUSW); +#define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus) +DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL); +DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL); +#define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams) +DWORD WINAPI RasGetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,LPDWORD,LPBYTE,LPDWORD); +DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,LPDWORD,LPBYTE,LPDWORD); +#define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties) +DWORD WINAPI RasGetErrorStringA(UINT,LPSTR,DWORD); +DWORD WINAPI RasGetErrorStringW(UINT,LPWSTR,DWORD); +#define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString) +DWORD WINAPI RasGetProjectionInfoA(HRASCONN,RASPROJECTION,LPVOID,LPDWORD); +DWORD WINAPI RasGetProjectionInfoW(HRASCONN,RASPROJECTION,LPVOID,LPDWORD); +#define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo) +DWORD WINAPI RasHangUpA(HRASCONN); +DWORD WINAPI RasHangUpW(HRASCONN); +#define RasHangUp WINELIB_NAME_AW(RasHangUp) +DWORD WINAPI RasRenameEntryA(LPCSTR,LPCSTR,LPCSTR); +DWORD WINAPI RasRenameEntryW(LPCWSTR,LPCWSTR,LPCWSTR); +#define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry) +DWORD WINAPI RasSetAutodialAddressA(LPCSTR,DWORD,LPRASAUTODIALENTRYA,DWORD,DWORD); +DWORD WINAPI RasSetAutodialAddressW(LPCWSTR,DWORD,LPRASAUTODIALENTRYW,DWORD,DWORD); +#define RasSetAutodialAddress WINELIB_NAME_AW(RasSetAutodialAddress) +DWORD WINAPI RasSetAutodialParamA(DWORD,LPVOID,DWORD); +DWORD WINAPI RasSetAutodialParamW(DWORD,LPVOID,DWORD); +#define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam) +DWORD WINAPI RasSetCustomAuthDataA(const CHAR *,const CHAR *,BYTE *,DWORD); +DWORD WINAPI RasSetCustomAuthDataW(const WCHAR *,const WCHAR *,BYTE *,DWORD); +#define RasSetCustomAuthData WINELIB_NAME_AW(RasSetCustomAuthData) +DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL); +DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL); +#define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams) +DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR,LPCSTR,DWORD,LPRASSUBENTRYA,DWORD,LPBYTE,DWORD); +DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR,LPCWSTR,DWORD,LPRASSUBENTRYW,DWORD,LPBYTE,DWORD); +#define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties) +DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry); +DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry); +#define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName) +DWORD WINAPI RasSetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,DWORD,LPBYTE,DWORD); +DWORD WINAPI RasSetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,DWORD,LPBYTE,DWORD); +#define RasSetEntryProperties WINELIB_NAME_AW(RasSetEntryProperties) +DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled); +DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled); +#define RasSetAutodialEnable WINELIB_NAME_AW(RasSetAutodialEnable) + +#include +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rasdlg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rasdlg.h new file mode 100644 index 0000000..6d2aa85 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rasdlg.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2010 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _RASDLG_H_ +#define _RASDLG_H_ + +#include + +typedef struct tagRASENTRYDLGW +{ + DWORD dwSize; + HWND hwndOwner; + DWORD dwFlags; + LONG xDlg; + LONG yDlg; + WCHAR szEntry[ RAS_MaxEntryName + 1 ]; + DWORD dwError; + ULONG_PTR reserved; + ULONG_PTR reserved2; +} RASENTRYDLGW; + +#endif /* _RASDLG_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/raserror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/raserror.h new file mode 100644 index 0000000..1735936 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/raserror.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2008 Stefan Leichter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_RASERROR_H +#define __WINE_RASERROR_H + +#define RASBASE 600 +#define ERROR_BUFFER_TOO_SMALL (RASBASE+3) +#define ERROR_BUFFER_INVALID (RASBASE+10) +#define ERROR_INVALID_SIZE (RASBASE+32) +#define ERROR_STATE_MACHINES_NOT_STARTED (RASBASE+95) +#define ERROR_RASMAN_CANNOT_INITIALIZE (RASBASE+111) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/reason.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/reason.h new file mode 100644 index 0000000..e8bf7c1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/reason.h @@ -0,0 +1,75 @@ +/* + * ExitWindowsEx() reason codes + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_REASON_H +#define __WINE_REASON_H + + +#define SHTDN_REASON_FLAG_USER_DEFINED 0x40000000 +#define SHTDN_REASON_FLAG_PLANNED 0x80000000 + +#define SHTDN_REASON_MAJOR_OTHER 0x00000000 +#define SHTDN_REASON_MAJOR_NONE 0x00000000 +#define SHTDN_REASON_MAJOR_HARDWARE 0x00010000 +#define SHTDN_REASON_MAJOR_OPERATINGSYSTEM 0x00020000 +#define SHTDN_REASON_MAJOR_SOFTWARE 0x00030000 +#define SHTDN_REASON_MAJOR_APPLICATION 0x00040000 +#define SHTDN_REASON_MAJOR_SYSTEM 0x00050000 +#define SHTDN_REASON_MAJOR_POWER 0x00060000 +#define SHTDN_REASON_MAJOR_LEGACY_API 0x00070000 + +#define SHTDN_REASON_MINOR_OTHER 0x00000000 +#define SHTDN_REASON_MINOR_MAINTENANCE 0x00000001 +#define SHTDN_REASON_MINOR_INSTALLATION 0x00000002 +#define SHTDN_REASON_MINOR_UPGRADE 0x00000003 +#define SHTDN_REASON_MINOR_RECONFIG 0x00000004 +#define SHTDN_REASON_MINOR_HUNG 0x00000005 +#define SHTDN_REASON_MINOR_UNSTABLE 0x00000006 +#define SHTDN_REASON_MINOR_DISK 0x00000007 +#define SHTDN_REASON_MINOR_PROCESSOR 0x00000008 +#define SHTDN_REASON_MINOR_NETWORKCARD 0x00000009 +#define SHTDN_REASON_MINOR_POWER_SUPPLY 0x0000000a +#define SHTDN_REASON_MINOR_CORDUNPLUGGED 0x0000000b +#define SHTDN_REASON_MINOR_ENVIRONMENT 0x0000000c +#define SHTDN_REASON_MINOR_HARDWARE_DRIVER 0x0000000d +#define SHTDN_REASON_MINOR_OTHERDRIVER 0x0000000e +#define SHTDN_REASON_MINOR_BLUESCREEN 0x0000000f +#define SHTDN_REASON_MINOR_SERVICEPACK 0x00000010 +#define SHTDN_REASON_MINOR_HOTFIX 0x00000011 +#define SHTDN_REASON_MINOR_SECURITYFIX 0x00000012 +#define SHTDN_REASON_MINOR_SECURITY 0x00000013 +#define SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY 0x00000014 +#define SHTDN_REASON_MINOR_WMI 0x00000015 +#define SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL 0x00000016 +#define SHTDN_REASON_MINOR_HOTFIX_UNINSTALL 0x00000017 +#define SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL 0x00000018 +#define SHTDN_REASON_MINOR_MMC 0x00000019 +#define SHTDN_REASON_MINOR_SYSTEMRESTORE 0x0000001a +#define SHTDN_REASON_MINOR_TERMSRV 0x00000020 +#define SHTDN_REASON_MINOR_DC_PROMOTION 0x00000021 +#define SHTDN_REASON_MINOR_DC_DEMOTION 0x00000022 +#define SHTDN_REASON_MINOR_NONE 0x000000ff + +#define SHTDN_REASON_VALID_BIT_MASK 0xc0ffffff + +#define SHTDN_REASON_UNKNOWN SHTDN_REASON_MINOR_NONE +#define SHTDN_REASON_LEGACY_API (SHTDN_REASON_MAJOR_LEGACY_API | SHTDN_REASON_FLAG_PLANNED) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/regstr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/regstr.h new file mode 100644 index 0000000..0be6c9a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/regstr.h @@ -0,0 +1,34 @@ +/* + * Win32 registry string defines (see also winnt.h) + * + * Copyright (C) 2000 Andreas Mohr + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_REGSTR +#define _INC_REGSTR + + +#define REGSTR_PATH_UNINSTALL TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall") +#define REGSTR_VAL_MAX_HCID_LEN 1024 + +/* DisplayName <= 32 chars in Windows (otherwise not displayed for uninstall) */ +#define REGSTR_VAL_UNINSTALLER_DISPLAYNAME TEXT("DisplayName") +/* UninstallString <= 63 chars in Windows (otherwise problems) */ +#define REGSTR_VAL_UNINSTALLER_COMMANDLINE TEXT("UninstallString") + + +#endif /* _INC_REGSTR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/restartmanager.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/restartmanager.h new file mode 100644 index 0000000..9ee066d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/restartmanager.h @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2010 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef RESTARTMANAGER_H +#define RESTARTMANAGER_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define RM_SESSION_KEY_LEN sizeof(GUID) +#define CCH_RM_SESSION_KEY RM_SESSION_KEY_LEN*2 +#define CCH_RM_MAX_APP_NAME 255 +#define CH_RM_MAX_SVC_NAME 63 +#define RM_INVALID_TS_SESSION -1 +#define RM_INVALID_PROCESS -1 + +typedef enum { + RmUnknownApp = 0, + RmMainWindow = 1, + RmOtherWindow = 2, + RmService = 3, + RmExplorer = 4, + RmConsole = 5, + RmCritical = 1000 +} RM_APP_TYPE; + +typedef enum _RM_REBOOT_REASON { + RmRebootReasonNone = 0x0000, + RmRebootReasonPermissionDenied = 0x0001, + RmRebootReasonSessionMismatch = 0x0002, + RmRebootReasonCriticalProcess = 0x0004, + RmRebootReasonCriticalService = 0x0008, + RmRebootReasonDetectedSelf = 0x0010 +} RM_REBOOT_REASON; + +typedef struct { + DWORD dwProcessId; + FILETIME ProcessStartTime; +} RM_UNIQUE_PROCESS, *PRM_UNIQUE_PROCESS; + +typedef struct { + RM_UNIQUE_PROCESS Process; + WCHAR strAppName[CCH_RM_MAX_APP_NAME+1]; + WCHAR strServiceShortName[CH_RM_MAX_SVC_NAME+1]; + RM_APP_TYPE ApplicationType; + ULONG AppStatus; + DWORD TSSessionID; + BOOL bRestartable; +} RM_PROCESS_INFO, *PRM_PROCESS_INFO; + +typedef void (CDECL *RM_WRITE_STATUS_CALLBACK)(UINT); + +#ifdef __cplusplus +} +#endif + +#endif /* RESTARTMANAGER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richedit.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richedit.h new file mode 100644 index 0000000..63221e2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richedit.h @@ -0,0 +1,1089 @@ +/* + * Copyright (C) 2000 Jean-Claude Batista + * Copyright (C) 2002 Andriy Palamarchuk + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_RICHEDIT_H +#define __WINE_RICHEDIT_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _RICHEDIT_VER +#define _RICHEDIT_VER 0x0210 +#endif /* _RICHEDIT_VER */ + +#define cchTextLimitDefault 0x7fff + +#if defined(__GNUC__) +# define MSFTEDIT_CLASS (const WCHAR []){ 'R','i','c','h','E','d','i','t','5','0','W',0 } +#elif defined(_MSC_VER) +# define MSFTEDIT_CLASS L"RichEdit50W" +#else +static const WCHAR MSFTEDIT_CLASS[] = { 'R','i','c','h','E','d','i','t','5','0','W',0 }; +#endif + +#define RICHEDIT_CLASS20A "RichEdit20A" +#if defined(__GNUC__) +# define RICHEDIT_CLASS20W (const WCHAR []){ 'R','i','c','h','E','d','i','t','2','0','W',0 } +#elif defined(_MSC_VER) +# define RICHEDIT_CLASS20W L"RichEdit20W" +#else +static const WCHAR RICHEDIT_CLASS20W[] = { 'R','i','c','h','E','d','i','t','2','0','W',0 }; +#endif +#define RICHEDIT_CLASS10A "RICHEDIT" + +#if (_RICHEDIT_VER >= 0x0200 ) +#define RICHEDIT_CLASS WINELIB_NAME_AW(RICHEDIT_CLASS20) +#else +#define RICHEDIT_CLASS RICHEDIT_CLASS10A +#endif + +#ifndef WM_NOTIFY +#define WM_NOTIFY 0x004e +#endif +#ifndef WM_CONTEXTMENU +#define WM_CONTEXTMENU 0x007b +#endif +#ifndef WM_UNICHAR +#define WM_UNICHAR 0x0109 +#endif +#ifndef WM_PRINTCLIENT +#define WM_PRINTCLIENT 0x0318 +#endif + +#ifndef EM_GETLIMITTEXT +#define EM_GETLIMITTEXT (WM_USER + 37) +#endif +#ifndef EM_POSFROMCHAR +#define EM_POSFROMCHAR (WM_USER + 38) +#define EM_CHARFROMPOS (WM_USER + 39) +#endif +#ifndef EM_SCROLLCARET +#define EM_SCROLLCARET (WM_USER + 49) +#endif +#define EM_CANPASTE (WM_USER + 50) +#define EM_DISPLAYBAND (WM_USER + 51) +#define EM_EXGETSEL (WM_USER + 52) +#define EM_EXLIMITTEXT (WM_USER + 53) +#define EM_EXLINEFROMCHAR (WM_USER + 54) +#define EM_EXSETSEL (WM_USER + 55) +#define EM_FINDTEXT (WM_USER + 56) +#define EM_FORMATRANGE (WM_USER + 57) +#define EM_GETCHARFORMAT (WM_USER + 58) +#define EM_GETEVENTMASK (WM_USER + 59) +#define EM_GETOLEINTERFACE (WM_USER + 60) +#define EM_GETPARAFORMAT (WM_USER + 61) +#define EM_GETSELTEXT (WM_USER + 62) +#define EM_HIDESELECTION (WM_USER + 63) +#define EM_PASTESPECIAL (WM_USER + 64) +#define EM_REQUESTRESIZE (WM_USER + 65) +#define EM_SELECTIONTYPE (WM_USER + 66) +#define EM_SETBKGNDCOLOR (WM_USER + 67) +#define EM_SETCHARFORMAT (WM_USER + 68) +#define EM_SETEVENTMASK (WM_USER + 69) +#define EM_SETOLECALLBACK (WM_USER + 70) +#define EM_SETPARAFORMAT (WM_USER + 71) +#define EM_SETTARGETDEVICE (WM_USER + 72) +#define EM_STREAMIN (WM_USER + 73) +#define EM_STREAMOUT (WM_USER + 74) +#define EM_GETTEXTRANGE (WM_USER + 75) +#define EM_FINDWORDBREAK (WM_USER + 76) +#define EM_SETOPTIONS (WM_USER + 77) +#define EM_GETOPTIONS (WM_USER + 78) +#define EM_FINDTEXTEX (WM_USER + 79) +#define EM_GETWORDBREAKPROCEX (WM_USER + 80) +#define EM_SETWORDBREAKPROCEX (WM_USER + 81) + +#define EM_SETUNDOLIMIT (WM_USER + 82) +#define EM_REDO (WM_USER + 84) +#define EM_CANREDO (WM_USER + 85) +#define EM_GETUNDONAME (WM_USER + 86) +#define EM_GETREDONAME (WM_USER + 87) +#define EM_STOPGROUPTYPING (WM_USER + 88) + +#define EM_SETTEXTMODE (WM_USER + 89) +#define EM_GETTEXTMODE (WM_USER + 90) +#define EM_AUTOURLDETECT (WM_USER + 91) +#define EM_GETAUTOURLDETECT (WM_USER + 92) +#define EM_SETPALETTE (WM_USER + 93) +#define EM_GETTEXTEX (WM_USER + 94) +#define EM_GETTEXTLENGTHEX (WM_USER + 95) +#define EM_SHOWSCROLLBAR (WM_USER + 96) +#define EM_SETTEXTEX (WM_USER + 97) + +#define EM_SETPUNCTUATION (WM_USER + 100) +#define EM_GETPUNCTUATION (WM_USER + 101) +#define EM_SETWORDWRAPMODE (WM_USER + 102) +#define EM_GETWORDWRAPMODE (WM_USER + 103) +#define EM_SETIMECOLOR (WM_USER + 104) +#define EM_GETIMECOLOR (WM_USER + 105) +#define EM_SETIMEOPTIONS (WM_USER + 106) +#define EM_GETIMEOPTIONS (WM_USER + 107) +#define EM_CONVPOSITION (WM_USER + 108) + +#define EM_SETLANGOPTIONS (WM_USER + 120) +#define EM_GETLANGOPTIONS (WM_USER + 121) +#define EM_GETIMECOMPMODE (WM_USER + 122) + +#define EM_FINDTEXTW (WM_USER + 123) +#define EM_FINDTEXTEXW (WM_USER + 124) + +#define EM_RECONVERSION (WM_USER + 125) +#define EM_SETIMEMODEBIAS (WM_USER + 126) +#define EM_GETIMEMODEBIAS (WM_USER + 127) + +#define EM_SETBIDIOPTIONS (WM_USER + 200) +#define EM_GETBIDIOPTIONS (WM_USER + 201) + +#define EM_SETTYPOGRAPHYOPTIONS (WM_USER + 202) +#define EM_GETTYPOGRAPHYOPTIONS (WM_USER + 203) + +#define EM_SETEDITSTYLE (WM_USER + 204) +#define EM_GETEDITSTYLE (WM_USER + 205) + +#define EM_OUTLINE (WM_USER + 220) + +#define EM_GETSCROLLPOS (WM_USER + 221) +#define EM_SETSCROLLPOS (WM_USER + 222) + +#define EM_SETFONTSIZE (WM_USER + 223) +#define EM_GETZOOM (WM_USER + 224) +#define EM_SETZOOM (WM_USER + 225) +#define EM_GETVIEWKIND (WM_USER + 226) +#define EM_SETVIEWKIND (WM_USER + 227) + +#define EM_GETPAGE (WM_USER + 228) +#define EM_SETPAGE (WM_USER + 229) +#define EM_GETHYPHENATEINFO (WM_USER + 230) +#define EM_SETHYPHENATEINFO (WM_USER + 231) +#define EM_GETPAGEROTATE (WM_USER + 235) +#define EM_SETPAGEROTATE (WM_USER + 236) +#define EM_GETCTFMODEBIAS (WM_USER + 237) +#define EM_SETCTFMODEBIAS (WM_USER + 238) +#define EM_GETCTFOPENSTATUS (WM_USER + 240) +#define EM_SETCTFOPENSTATUS (WM_USER + 241) +#define EM_GETIMECOMPTEXT (WM_USER + 242) +#define EM_ISIME (WM_USER + 243) +#define EM_GETIMEPROPERTY (WM_USER + 244) +#define EM_GETQUERYRTFOBJ (WM_USER + 269) +#define EM_SETQUERYRTFOBJ (WM_USER + 270) + +/* New notifications */ +#define EN_MSGFILTER 0x0700 +#define EN_REQUESTRESIZE 0x0701 +#define EN_SELCHANGE 0x0702 +#define EN_DROPFILES 0x0703 +#define EN_PROTECTED 0x0704 +#define EN_CORRECTTEXT 0x0705 +#define EN_STOPNOUNDO 0x0706 +#define EN_IMECHANGE 0x0707 +#define EN_SAVECLIPBOARD 0x0708 +#define EN_OLEOPFAILED 0x0709 +#define EN_OBJECTPOSITIONS 0x070a +#define EN_LINK 0x070b +#define EN_DRAGDROPDONE 0x070c +#define EN_PARAGRAPHEXPANDED 0x070d +#define EN_PAGECHANGE 0x070e +#define EN_LOWFIRTF 0x070f +#define EN_ALIGNLTR 0x0710 +#define EN_ALIGNRTL 0x0711 + + +typedef DWORD (CALLBACK * EDITSTREAMCALLBACK)( DWORD_PTR, LPBYTE, LONG, LONG * ); + + +#define yHeightCharPtsMost 1638 +#define lDefaultTab 720 + +/* tab stops number limit */ +#define MAX_TAB_STOPS 0x00000020 + +#define MAX_TABLE_CELLS 63 + +/* Rich edit control styles */ +#define ES_NOOLEDRAGDROP 0x00000008 +#define ES_DISABLENOSCROLL 0x00002000 +#define ES_SUNKEN 0x00004000 +#define ES_SAVESEL 0x00008000 +#define ES_SELFIME 0x00040000 +#define ES_NOIME 0x00080000 +#define ES_VERTICAL 0x00400000 +#define ES_SELECTIONBAR 0x01000000 +#define ES_EX_NOCALLOLEINIT 0x01000000 + +/* the character formatting options */ +#define SCF_DEFAULT 0x00000000 +#define SCF_SELECTION 0x00000001 +#define SCF_WORD 0x00000002 +#define SCF_ALL 0x00000004 +#define SCF_USEUIRULES 0x00000008 +#define SCF_ASSOCIATEFONT 0x00000010 +#define SCF_NOKBUPDATE 0x00000020 +#define SCF_ASSOCIATEFONT2 0x00000040 + +#ifndef WM_NOTIFY +typedef struct _nmhdr +{ + HWND hwndFrom; + UINT idFrom; + UINT code; +} NMHDR; +#endif + +/* CHARFORMAT structure */ +typedef struct _charformat +{ + UINT cbSize; + DWORD dwMask; + DWORD dwEffects; + LONG yHeight; + LONG yOffset; + COLORREF crTextColor; + BYTE bCharSet; + BYTE bPitchAndFamily; + char szFaceName[LF_FACESIZE]; +} CHARFORMATA; + +typedef struct _charformatw +{ + UINT cbSize; + DWORD dwMask; + DWORD dwEffects; + LONG yHeight; + LONG yOffset; + COLORREF crTextColor; + BYTE bCharSet; + BYTE bPitchAndFamily; + WCHAR szFaceName[LF_FACESIZE]; +} CHARFORMATW; + +DECL_WINELIB_TYPE_AW(CHARFORMAT) + +typedef struct _charformat2a { + UINT cbSize; + DWORD dwMask; + DWORD dwEffects; + LONG yHeight; + LONG yOffset; + COLORREF crTextColor; + BYTE bCharSet; + BYTE bPitchAndFamily; + char szFaceName[LF_FACESIZE]; + WORD pad; /* Not in MS's C version, but needed to ensure that wWeight is at the correct offset to match the C++ version */ + WORD wWeight; + SHORT sSpacing; + COLORREF crBackColor; + LCID lcid; + DWORD dwReserved; + SHORT sStyle; + WORD wKerning; + BYTE bUnderlineType; + BYTE bAnimation; + BYTE bRevAuthor; +} CHARFORMAT2A; + +typedef struct _charformat2w { + UINT cbSize; + DWORD dwMask; + DWORD dwEffects; + LONG yHeight; + LONG yOffset; + COLORREF crTextColor; + BYTE bCharSet; + BYTE bPitchAndFamily; + WCHAR szFaceName[LF_FACESIZE]; + WORD pad; /* Not in MS's C version, but needed to ensure that wWeight is at the correct offset to match the C++ version */ + WORD wWeight; + SHORT sSpacing; + COLORREF crBackColor; + LCID lcid; + DWORD dwReserved; + SHORT sStyle; + WORD wKerning; + BYTE bUnderlineType; + BYTE bAnimation; + BYTE bRevAuthor; +} CHARFORMAT2W; + +DECL_WINELIB_TYPE_AW(CHARFORMAT2) + +#define CHARFORMATDELTA (sizeof(CHARFORMAT2) - sizeof(CHARFORMAT)) + +/* CHARFORMAT masks */ +#define CFM_BOLD 0x00000001 +#define CFM_ITALIC 0x00000002 +#define CFM_UNDERLINE 0x00000004 +#define CFM_STRIKEOUT 0x00000008 +#define CFM_PROTECTED 0x00000010 +#define CFM_LINK 0x00000020 +#define CFM_SMALLCAPS 0x00000040 +#define CFM_ALLCAPS 0x00000080 +#define CFM_HIDDEN 0x00000100 +#define CFM_OUTLINE 0x00000200 +#define CFM_SHADOW 0x00000400 +#define CFM_EMBOSS 0x00000800 +#define CFM_IMPRINT 0x00001000 +#define CFM_DISABLED 0x00002000 +#define CFM_REVISED 0x00004000 +#define CFM_REVAUTHOR 0x00008000 +#define CFM_SUBSCRIPT 0x00030000 +#define CFM_SUPERSCRIPT 0x00030000 +#define CFM_ANIMATION 0x00040000 +#define CFM_STYLE 0x00080000 +#define CFM_KERNING 0x00100000 +#define CFM_SPACING 0x00200000 +#define CFM_WEIGHT 0x00400000 +#define CFM_UNDERLINETYPE 0x00800000 +#define CFM_LCID 0x02000000 +#define CFM_BACKCOLOR 0x04000000 +#define CFM_CHARSET 0x08000000 +#define CFM_OFFSET 0x10000000 +#define CFM_FACE 0x20000000 +#define CFM_COLOR 0x40000000 +#define CFM_SIZE 0x80000000 + +#define CFM_EFFECTS (CFM_BOLD | \ + CFM_ITALIC | \ + CFM_UNDERLINE | \ + CFM_COLOR | \ + CFM_STRIKEOUT | \ + CFE_PROTECTED | \ + CFM_LINK) + +#define CFM_EFFECTS2 (CFM_EFFECTS | \ + CFM_DISABLED | \ + CFM_SMALLCAPS | \ + CFM_ALLCAPS | \ + CFM_HIDDEN | \ + CFM_OUTLINE | \ + CFM_SHADOW | \ + CFM_EMBOSS | \ + CFM_IMPRINT | \ + CFM_DISABLED | \ + CFM_REVISED | \ + CFM_SUBSCRIPT | \ + CFM_SUPERSCRIPT | \ + CFM_BACKCOLOR) + +#define CFM_ALL (CFM_EFFECTS | \ + CFM_SIZE | \ + CFM_FACE | \ + CFM_OFFSET | \ + CFM_CHARSET) + +#define CFM_ALL2 (CFM_ALL | \ + CFM_EFFECTS2 | \ + CFM_BACKCOLOR | \ + CFM_LCID | \ + CFM_UNDERLINETYPE | \ + CFM_WEIGHT | \ + CFM_REVAUTHOR | \ + CFM_SPACING | \ + CFM_KERNING | \ + CFM_STYLE | \ + CFM_ANIMATION) + +/* CHARFORMAT effects */ +#define CFE_BOLD 0x00000001 +#define CFE_ITALIC 0x00000002 +#define CFE_UNDERLINE 0x00000004 +#define CFE_STRIKEOUT 0x00000008 +#define CFE_PROTECTED 0x00000010 +#define CFE_LINK 0x00000020 +#define CFE_SUBSCRIPT 0x00010000 +#define CFE_SUPERSCRIPT 0x00020000 +#define CFE_AUTOCOLOR 0x40000000 + +#define CFE_SMALLCAPS CFM_SMALLCAPS +#define CFE_ALLCAPS CFM_ALLCAPS +#define CFE_HIDDEN CFM_HIDDEN +#define CFE_OUTLINE CFM_OUTLINE +#define CFE_SHADOW CFM_SHADOW +#define CFE_EMBOSS CFM_EMBOSS +#define CFE_IMPRINT CFM_IMPRINT +#define CFE_DISABLED CFM_DISABLED +#define CFE_REVISED CFM_REVISED +#define CFE_AUTOBACKCOLOR CFM_BACKCOLOR + +#define CFU_UNDERLINENONE 0x00 +#define CFU_UNDERLINE 0x01 +#define CFU_UNDERLINEWORD 0x02 +#define CFU_UNDERLINEDOUBLE 0x03 +#define CFU_UNDERLINEDOTTED 0x04 +#define CFU_UNDERLINEDASH 0x05 +#define CFU_UNDERLINEDASHDOT 0x06 +#define CFU_UNDERLINEDASHDOTDOT 0x07 +#define CFU_UNDERLINEWAVE 0x08 +#define CFU_UNDERLINETHICK 0x09 +#define CFU_UNDERLINEHAIRLINE 0x0a +#define CFU_UNDERLINEDOUBLEWAVE 0x0b +#define CFU_UNDERLINEHEAVYWAVE 0x0c +#define CFU_UNDERLINELONGDASH 0x0d +#define CFU_UNDERLINETHICKDASH 0x0e +#define CFU_UNDERLINETHICKDASHDOT 0x0f +#define CFU_UNDERLINETHICKDASHDOTDOT 0x10 +#define CFU_UNDERLINETHICKDOTTED 0x11 +#define CFU_UNDERLINETHICKLONGDASH 0x12 +#define CFU_INVERT 0xFE +#define CFU_CF1UNDERLINE 0xFF + +/* ECO operations */ +#define ECOOP_SET 0x0001 +#define ECOOP_OR 0x0002 +#define ECOOP_AND 0x0003 +#define ECOOP_XOR 0x0004 + +/* edit control options */ +#define ECO_AUTOWORDSELECTION 0x00000001 +#define ECO_AUTOVSCROLL 0x00000040 +#define ECO_AUTOHSCROLL 0x00000080 +#define ECO_NOHIDESEL 0x00000100 +#define ECO_READONLY 0x00000800 +#define ECO_WANTRETURN 0x00001000 +#define ECO_SAVESEL 0x00008000 +#define ECO_SELECTIONBAR 0x01000000 +#define ECO_VERTICAL 0x00400000 + +/* Event notification masks */ +#define ENM_NONE 0x00000000 +#define ENM_CHANGE 0x00000001 +#define ENM_UPDATE 0x00000002 +#define ENM_SCROLL 0x00000004 +#define ENM_SCROLLEVENTS 0x00000008 +#define ENM_DRAGDROPDONE 0x00000010 +#define ENM_PARAGRAPHEXPANDED 0x00000020 +#define ENM_PAGECHANGE 0x00000040 +#define ENM_KEYEVENTS 0x00010000 +#define ENM_MOUSEEVENTS 0x00020000 +#define ENM_REQUESTRESIZE 0x00040000 +#define ENM_SELCHANGE 0x00080000 +#define ENM_DROPFILES 0x00100000 +#define ENM_PROTECTED 0x00200000 +#define ENM_CORRECTTEXT 0x00400000 +#define ENM_IMECHANGE 0x00800000 +#define ENM_LANGCHANGE 0x01000000 +#define ENM_OBJECTPOSITIONS 0x02000000 +#define ENM_LINK 0x04000000 +#define ENM_LOWFIRTF 0x08000000 + +typedef struct _bidioptions +{ + UINT cbSize; + WORD wMask; + WORD wEffects; +} BIDIOPTIONS; + +#ifndef __RICHEDIT_CHARRANGE_DEFINED +#define __RICHEDIT_CHARRANGE_DEFINED + +typedef struct _charrange +{ + LONG cpMin; + LONG cpMax; +} CHARRANGE; + +#endif /* __RICHEDIT_CHARRANGE_DEFINED */ + +typedef struct _textrange +{ + CHARRANGE chrg; + LPSTR lpstrText; +} TEXTRANGEA; + +typedef struct _textrangew +{ + CHARRANGE chrg; + LPWSTR lpstrText; +} TEXTRANGEW; + +DECL_WINELIB_TYPE_AW(TEXTRANGE) + +typedef struct _editstream +{ + DWORD_PTR dwCookie; + DWORD dwError; + EDITSTREAMCALLBACK pfnCallback; +} EDITSTREAM; + +typedef struct _compcolor { + COLORREF crText; + COLORREF crBackground; + DWORD dwEffects; +} COMPCOLOR; + +typedef struct _encorrecttext { + NMHDR nmhdr; + CHARRANGE chrg; + WORD seltyp; +} ENCORRECTTEXT; + +typedef struct _endropfiles { + NMHDR nmhdr; + HANDLE hDrop; + LONG cp; + BOOL fProtected; +} ENDROPFILES; + +typedef struct _enlink { + NMHDR nmhdr; + UINT msg; + WPARAM wParam; + LPARAM lParam; + CHARRANGE chrg; +} ENLINK; + +typedef struct _enlowfirtf { + NMHDR nmhdr; + char *szControl; +} ENLOWFIRTF; + +typedef struct { + NMHDR nmhdr; + LONG iob; + LONG lOper; + HRESULT hr; +} ENOLEOPFAILED; + +typedef struct _enprotected { + NMHDR nmhdr; + UINT msg; + WPARAM wParam; + LPARAM lParam; + CHARRANGE chrg; +} ENPROTECTED, *LPENPROTECTED; + +typedef struct _ensaveclipboard { + NMHDR nmhdr; + LONG cObjectCount; + LONG cch; +} ENSAVECLIPBOARD; + +typedef struct _findtextA { + CHARRANGE chrg; + LPCSTR lpstrText; +} FINDTEXTA; + +typedef struct _findtextW { + CHARRANGE chrg; + LPCWSTR lpstrText; +} FINDTEXTW; + +DECL_WINELIB_TYPE_AW(FINDTEXT) + +typedef struct _findtextexA { + CHARRANGE chrg; + LPCSTR lpstrText; + CHARRANGE chrgText; +} FINDTEXTEXA; + +typedef struct _findtextexW { + CHARRANGE chrg; + LPCWSTR lpstrText; + CHARRANGE chrgText; +} FINDTEXTEXW; + +DECL_WINELIB_TYPE_AW(FINDTEXTEX) + +typedef struct _formatrange { + HDC hdc; + HDC hdcTarget; + RECT rc; + RECT rcPage; + CHARRANGE chrg; +} FORMATRANGE; + +typedef enum tagKHYPH +{ + khyphNil = 0, + khyphNormal = 1, + khyphAddBefore = 2, + khyphChangeBefore = 3, + khyphDeleteBefore = 4, + khyphChangeAfter = 5, + khyphDelAndChange = 6 +} KHYPH; + +typedef struct hyphresult +{ + KHYPH khyph; + LONG ichHyph; + WCHAR chHyph; +} HYPHRESULT; + +typedef struct tagHyphenateInfo +{ + SHORT cbSize; + SHORT dxHyphenateZone; + void (WINAPI* pfnHyphenate)(WCHAR*, LANGID, LONG, HYPHRESULT*); +} HYPHENATEINFO; + +typedef struct _msgfilter { + NMHDR nmhdr; + UINT msg; + WPARAM wParam; + LPARAM lParam; +} MSGFILTER; + +typedef struct _objectpositions { + NMHDR nmhdr; + LONG cObjectCount; + LONG *pcpPositions; +} OBJECTPOSITIONS; + +typedef struct _paraformat { + UINT cbSize; + DWORD dwMask; + WORD wNumbering; + WORD wReserved; + LONG dxStartIndent; + LONG dxRightIndent; + LONG dxOffset; + WORD wAlignment; + SHORT cTabCount; + LONG rgxTabs[MAX_TAB_STOPS]; +} PARAFORMAT; + +typedef struct _paraformat2 { + UINT cbSize; + DWORD dwMask; + WORD wNumbering; + WORD wEffects; + LONG dxStartIndent; + LONG dxRightIndent; + LONG dxOffset; + WORD wAlignment; + SHORT cTabCount; + LONG rgxTabs[MAX_TAB_STOPS]; + LONG dySpaceBefore, dySpaceAfter, dyLineSpacing; + SHORT sStyle; + BYTE bLineSpacingRule, bOutlineLevel; + WORD wShadingWeight, wShadingStyle; + WORD wNumberingStart, wNumberingStyle, wNumberingTab; + WORD wBorderSpace, wBorderWidth, wBorders; +} PARAFORMAT2; + +typedef struct _selchange { + NMHDR nmhdr; + CHARRANGE chrg; + WORD seltyp; +} SELCHANGE; + +typedef struct _reqresize { + NMHDR nmhdr; + RECT rc; +} REQRESIZE; + +typedef struct _repastespecial { + DWORD dwAspect; + DWORD_PTR dwParam; +} REPASTESPECIAL; + +typedef struct _punctuation { + UINT iSize; + LPSTR szPunctuation; +} PUNCTUATION; + +typedef struct _gettextex { + DWORD cb; + DWORD flags; + UINT codepage; + LPCSTR lpDefaultChar; + LPBOOL lpUsedDefChar; +} GETTEXTEX; + +typedef struct _imecomptext { + LONG cb; + DWORD flags; +} IMECOMPTEXT; + +void WINAPI HyphenateProc(WCHAR*, LANGID, LONG, HYPHRESULT*); + +#define SF_TEXT 0x00000001 +#define SF_RTF 0x00000002 +#define SF_RTFNOOBJS 0x00000003 +#define SF_TEXTIZED 0x00000004 +#define SF_UNICODE 0x00000010 +#define SF_USECODEPAGE 0x00000020 +#define SF_NCRFORNONASCII 0x00000040 +#define SF_RTFVAL 0x00000700 + +/* BIDIOPTIONS.wMask flag values */ +#define BOM_DEFPARADIR 0x00000001 +#define BOM_PLAINTEXT 0x00000002 +#define BOM_NEUTRALOVERRIDE 0x00000004 +#define BOM_CONTEXTREADING 0x00000008 +#define BOM_CONTEXTALIGNMENT 0x00000010 +#define BOM_LEGACYBIDICLASS 0x00000040 + +/* BIDIOPTIONS.wEffects flag values */ +#define BOE_RTLDIR 0x00000001 +#define BOE_PLAINTEXT 0x00000002 +#define BOE_NEUTRALOVERRIDE 0x00000004 +#define BOE_CONTEXTREADING 0x00000008 +#define BOE_CONTEXTALIGNMENT 0x00000010 +#define BOE_LEGACYBIDICLASS 0x00000040 + +/* Clipboard formats */ +#define CF_RTF TEXT("Rich Text Format") +#define CF_RTFNOOBJS TEXT("Rich Text Format Without Objects") +#define CF_RETEXTOBJ TEXT("RichEdit Text and Objects") + +/* Mode bias wParam values for EM_SETCTFMODEBIAS message */ +#define CTFMODEBIAS_DEFAULT 0x00000000 +#define CTFMODEBIAS_FILENAME 0x00000001 +#define CTFMODEBIAS_NAME 0x00000002 +#define CTFMODEBIAS_READING 0x00000003 +#define CTFMODEBIAS_DATETIME 0x00000004 +#define CTFMODEBIAS_CONVERSATION 0x00000005 +#define CTFMODEBIAS_NUMERIC 0x00000006 +#define CTFMODEBIAS_HIRAGANA 0x00000007 +#define CTFMODEBIAS_KATAKANA 0x00000008 +#define CTFMODEBIAS_HANGUL 0x00000009 +#define CTFMODEBIAS_HALFWIDTHKATAKANA 0x0000000a +#define CTFMODEBIAS_FULLWIDTHALPHANUMERIC 0x0000000b +#define CTFMODEBIAS_HALFWIDTHALPHANUMERIC 0x0000000c + +#define EMO_EXIT 0x00000000 +#define EMO_ENTER 0x00000001 +#define EMO_PROMOTE 0x00000002 +#define EMO_EXPAND 0x00000003 +#define EMO_MOVESELECTION 0x00000004 +#define EMO_GETVIEWMODE 0x00000005 + +#define EMO_EXPANDSELECTION 0x00000000 +#define EMO_EXPANDDOCUMENT 0x00000001 + +/* Page Rotate values used in wParam of EM_SETPAGEROTATE message */ +#define EPR_0 0x00000000 +#define EPR_270 0x00000001 +#define EPR_180 0x00000002 +#define EPR_90 0x00000003 + +/* Find flags for wParam of EM_FINDTEXT message */ +#define FR_MATCHDIAC 0x20000000 +#define FR_MATCHKASHIDA 0x40000000 +#define FR_MATCHALEFHAMZA 0x80000000 + +/* IME Compatibility Mode return values for EM_GETIMECOMPMODE message */ +#define ICM_NOTOPEN 0x00000000 +#define ICM_LEVEL3 0x00000001 +#define ICM_LEVEL2 0x00000002 +#define ICM_LEVEL2_5 0x00000003 +#define ICM_LEVEL2_SUI 0x00000004 +#define ICM_CTF 0x00000005 + +/* Flags value for IMECOMPTEXT structure */ +#define ICT_RESULTREADSTR 0x00000001 + +/* Input Method Flags used in EM_SETLANGOPTIONS message */ +#define IMF_AUTOKEYBOARD 0x00000001 +#define IMF_AUTOFONT 0x00000002 +#define IMF_IMECANCELCOMPLETE 0x00000004 +#define IMF_IMEALWAYSSENDNOTIFY 0x00000008 +#define IMF_AUTOFONTSIZEADJUST 0x00000010 +#define IMF_UIFONTS 0x00000020 +#define IMF_DUALFONT 0x00000080 + +/* Parameters values for the EM_SETIMEMODEBIAS message */ +#define IMF_SMODE_PLAURALCLAUSE 0x00000001 +#define IMF_SMODE_NONE 0x00000002 + +/* Parameters of the EM_SETIMEOPTIONS message */ +#define IMF_FORCENONE 0x00000001 +#define IMF_FORCEENABLE 0x00000002 +#define IMF_FORCEDISABLE 0x00000004 +#define IMF_CLOSESTATUSWINDOW 0x00000008 +#define IMF_VERTICAL 0x00000020 +#define IMF_FORCEACTIVE 0x00000040 +#define IMF_FORCEINACTIVE 0x00000080 +#define IMF_FORCEREMEMBER 0x00000100 +#define IMF_MULTIPLEEDIT 0x00000400 + +/* return values of the EM_SELECTION_TYPE message */ +#define SEL_EMPTY 0x00000000 +#define SEL_TEXT 0x00000001 +#define SEL_OBJECT 0x00000002 +#define SEL_MULTICHAR 0x00000004 +#define SEL_MULTIOBJECT 0x00000008 + +/* ENOLEOPFAILED.lOper value that indicates operation failure */ +#define OLEOP_DOVERB 0x00000001 + +/* punctionation type values for wParam of EM_SETPUNCTUATION message */ +#define PC_FOLLOWING 0x00000001 +#define PC_LEADING 0x00000002 +#define PC_OVERFLOW 0x00000003 +#define PC_DELIMITER 0x00000004 + +/* mask values in the PARAFORMAT structure */ +#define PFM_STARTINDENT 0x00000001 +#define PFM_RIGHTINDENT 0x00000002 +#define PFM_OFFSET 0x00000004 +#define PFM_ALIGNMENT 0x00000008 +#define PFM_TABSTOPS 0x00000010 +#define PFM_NUMBERING 0x00000020 +#define PFM_OFFSETINDENT 0x80000000 + +/* mask values in the PARAFORMAT2 structure */ +#define PFM_SPACEBEFORE 0x00000040 +#define PFM_SPACEAFTER 0x00000080 +#define PFM_LINESPACING 0x00000100 +#define PFM_STYLE 0x00000400 +#define PFM_BORDER 0x00000800 +#define PFM_SHADING 0x00001000 +#define PFM_NUMBERINGSTYLE 0x00002000 +#define PFM_NUMBERINGTAB 0x00004000 +#define PFM_NUMBERINGSTART 0x00008000 +#define PFM_RTLPARA 0x00010000 +#define PFM_KEEP 0x00020000 +#define PFM_KEEPNEXT 0x00040000 +#define PFM_PAGEBREAKBEFORE 0x00080000 +#define PFM_NOLINENUMBER 0x00100000 +#define PFM_NOWIDOWCONTROL 0x00200000 +#define PFM_DONOTHYPHEN 0x00400000 +#define PFM_SIDEBYSIDE 0x00800000 +#define PFM_COLLAPSED 0x01000000 +#define PFM_OUTLINELEVEL 0x02000000 +#define PFM_BOX 0x04000000 +#define PFM_RESERVED2 0x08000000 +#define PFM_TABLEROWDELIMITER 0x10000000 +#define PFM_TEXTWRAPPINGBREAK 0x20000000 +#define PFM_TABLE 0x40000000 + +#define PFM_ALL (PFM_STARTINDENT | \ + PFM_RIGHTINDENT | \ + PFM_OFFSET | \ + PFM_ALIGNMENT | \ + PFM_TABSTOPS | \ + PFM_NUMBERING | \ + PFM_OFFSETINDENT | \ + PFM_RTLPARA) + +#define PFM_EFFECTS (PFM_RTLPARA | \ + PFM_KEEP | \ + PFM_KEEPNEXT | \ + PFM_PAGEBREAKBEFORE | \ + PFM_NOLINENUMBER | \ + PFM_NOWIDOWCONTROL | \ + PFM_DONOTHYPHEN | \ + PFM_SIDEBYSIDE | \ + PFM_TABLEROWDELIMITER | \ + PFM_TABLE) + +#define PFM_ALL2 (PFM_ALL | \ + PFM_EFFECTS | \ + PFM_SPACEBEFORE | \ + PFM_SPACEAFTER | \ + PFM_LINESPACING | \ + PFM_STYLE | \ + PFM_BORDER | \ + PFM_SHADING | \ + PFM_NUMBERINGSTYLE | \ + PFM_NUMBERINGTAB | \ + PFM_NUMBERINGSTART) + +/* numbering option */ +#define PFN_BULLET 0x00000001 +#define PFN_ARABIC 0x00000002 +#define PFN_LCLETTER 0x00000003 +#define PFN_UCLETTER 0x00000004 +#define PFN_LCROMAN 0x00000005 +#define PFN_UCROMAN 0x00000006 + +/* paragraph format numbering styles */ +#define PFNS_PAREN 0x00000000 +#define PFNS_PARENS 0x00000100 +#define PFNS_PERIOD 0x00000200 +#define PFNS_PLAIN 0x00000300 +#define PFNS_NONUMBER 0x00000400 +#define PFNS_NEWNUMBER 0x00008000 + +/* paragraph alignment */ +#define PFA_LEFT 0x00000001 +#define PFA_RIGHT 0x00000002 +#define PFA_CENTER 0x00000003 +#define PFA_JUSTIFY 0x00000004 +#define PFA_FULL_INTERWORD 0x00000004 +#define PFA_FULL_INTERLETTER 0x00000005 +#define PFA_FULL_SCALED 0x00000006 +#define PFA_FULL_GLYPHS 0x00000007 +#define PFA_SNAP_GRID 0x00000008 + +/* paragraph effects */ +#define PFE_RTLPARA 0x00000001 +#define PFE_KEEP 0x00000002 +#define PFE_KEEPNEXT 0x00000004 +#define PFE_PAGEBREAKBEFORE 0x00000008 +#define PFE_NOLINENUMBER 0x00000010 +#define PFE_NOWIDOWCONTROL 0x00000020 +#define PFE_DONOTHYPHEN 0x00000040 +#define PFE_SIDEBYSIDE 0x00000080 +#define PFE_COLLAPSED 0x00000100 +#define PFE_BOX 0x00000400 +#define PFE_TABLEROWDELIMITER 0x00001000 +#define PFE_TEXTWRAPPINGBREAK 0x00002000 +#define PFE_TABLE 0x00004000 + +/* Set Edit Style flags for EM_SETEDITSTYLE message */ +#define SES_EMULATESYSEDIT 0x00000001 +#define SES_BEEPONMAXTEXT 0x00000002 +#define SES_EXTENDBACKCOLOR 0x00000004 +#define SES_MAPCPS 0x00000008 +#define SES_EMULATE10 0x00000010 +#define SES_USECRLF 0x00000020 +#define SES_NOXLTSYMBOLRANGE 0x00000020 +#define SES_USEAIMM 0x00000040 +#define SES_NOIME 0x00000080 +#define SES_ALLOWBEEPS 0x00000100 +#define SES_UPPERCASE 0x00000200 +#define SES_LOWERCASE 0x00000400 +#define SES_NOINPUTSEQUENCECHK 0x00000800 +#define SES_BIDI 0x00001000 +#define SES_SCROLLONKILLFOCUS 0x00002000 +#define SES_XLTCRCRLFTOCR 0x00004000 +#define SES_DRAFTMODE 0x00008000 +#define SES_USECTF 0x00010000 +#define SES_HIDEGRIDLINES 0x00020000 +#define SES_USEATFONT 0x00040000 +#define SES_CUSTOMLOOK 0x00080000 +#define SES_LBSCROLLNOTIFY 0x00100000 +#define SES_CTFALLOWEMBED 0x00200000 +#define SES_CTFALLOWSMARTTAG 0x00400000 +#define SES_CTFALLOWPROOFING 0x00800000 + +/* streaming flags */ +#define SFF_WRITEXTRAPAR 0x00000080 +#define SFF_PWD 0x00000800 +#define SFF_KEEPDOCINFO 0x00001000 +#define SFF_PERSISTVIEWSCALE 0x00002000 +#define SFF_PLAINRTF 0x00004000 +#define SFF_SELECTION 0x00008000 + +typedef enum _undonameid +{ + UID_UNKNOWN = 0, + UID_TYPING = 1, + UID_DELETE = 2, + UID_DRAGDROP = 3, + UID_CUT = 4, + UID_PASTE = 5, + UID_AUTOCORRECT = 6 +} UNDONAMEID; + +typedef LONG (*EDITWORDBREAKPROCEX)(char*,LONG,BYTE,INT); + +#define VM_OUTLINE 0x00000002 +#define VM_NORMAL 0x00000004 +#define VM_PAGE 0x00000009 + +/* options of the EM_FINDWORDBREAK message */ +#define WB_CLASSIFY 0x00000003 +#define WB_MOVEWORDLEFT 0x00000004 +#define WB_MOVEWORDPREV 0x00000004 +#define WB_MOVEWORDRIGHT 0x00000005 +#define WB_MOVEWORDNEXT 0x00000005 +#define WB_LEFTBREAK 0x00000006 +#define WB_PREVBREAK 0x00000006 +#define WB_RIGHTBREAK 0x00000007 +#define WB_NEXTBREAK 0x00000007 + +/* options of the EM_SETWORDWRAPMODE message */ +#define WBF_WORDWRAP 0x00000010 +#define WBF_WORDBREAK 0x00000020 +#define WBF_OVERFLOW 0x00000040 +#define WBF_LEVEL1 0x00000080 +#define WBF_LEVEL2 0x00000100 +#define WBF_CUSTOM 0x00000200 + +#define WBF_CLASS ((BYTE) 0x0F) +#define WBF_ISWHITE ((BYTE) 0x10) +#define WBF_BREAKLINE ((BYTE) 0x20) +#define WBF_BREAKAFTER ((BYTE) 0x40) + +/* Placeholder unicode character for an embedded object */ +#ifndef WCH_EMBEDDING +#define WCH_EMBEDDING (WCHAR)0xFFFC +#endif + +/* options of the EM_SETTEXTMODE message */ +#define TM_PLAINTEXT 0x00000001 +#define TM_RICHTEXT 0x00000002 +#define TM_SINGLELEVELUNDO 0x00000004 +#define TM_MULTILEVELUNDO 0x00000008 +#define TM_SINGLECODEPAGE 0x00000010 +#define TM_MULTICODEPAGE 0x00000020 + +/* GETTEXTEX structure flags */ +#define GT_DEFAULT 0x00000000 +#define GT_USECRLF 0x00000001 +#define GT_SELECTION 0x00000002 +#define GT_RAWTEXT 0x00000004 +#define GT_NOHIDDENTEXT 0x00000008 + +/* Options of the EM_SETTYPOGRAPHYOPTIONS message */ +#define TO_ADVANCEDTYPOGRAPHY 0x00000001 +#define TO_SIMPLELINEBREAK 0x00000002 +#define TO_DISABLECUSTOMTEXTOUT 0x00000004 +#define TO_ADVANCEDLAYOUT 0x00000008 + +typedef struct _gettextlengthex { + DWORD flags; + UINT codepage; +} GETTEXTLENGTHEX; + +/* Flags of the GETTEXTLENGTHEX structure */ +#define GTL_DEFAULT 0x00000000 +#define GTL_USECRLF 0x00000001 +#define GTL_PRECISE 0x00000002 +#define GTL_CLOSE 0x00000004 +#define GTL_NUMCHARS 0x00000008 +#define GTL_NUMBYTES 0x00000010 + +#define GCM_RIGHTMOUSEDROP 0x8000 + +/* Options of the EM_SETTEXTEX message */ +typedef struct _settextex { + DWORD flags; + UINT codepage; +} SETTEXTEX; + +/* Flags of the EM_SETTEXTEX message */ +#define ST_DEFAULT 0x00000000 +#define ST_KEEPUNDO 0x00000001 +#define ST_SELECTION 0x00000002 +#define ST_NEWCHARS 0x00000004 +#define ST_UNICODE 0x00000008 + +/* Flags for EM_AUTOURLDETECT message */ +#define AURL_ENABLEURL 0x00000001 +#define AURL_ENABLEMAILADDR 0x00000002 +#define AURL_ENABLETELNO 0x00000004 +#define AURL_ENABLEEAURLS 0x00000008 +#define AURL_ENABLEDRIVELETTERS 0x00000010 +#define AURL_DISABLEMIXEDLGC 0x00000020 + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_RICHEDIT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richole.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richole.h new file mode 100644 index 0000000..eaaaab3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richole.h @@ -0,0 +1,596 @@ +/*** Autogenerated by WIDL 2.18 from richole.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __richole_h__ +#define __richole_h__ + +/* Forward declarations */ + +#ifndef __IRichEditOle_FWD_DEFINED__ +#define __IRichEditOle_FWD_DEFINED__ +typedef interface IRichEditOle IRichEditOle; +#ifdef __cplusplus +interface IRichEditOle; +#endif /* __cplusplus */ +#endif + +#ifndef __IRichEditOleCallback_FWD_DEFINED__ +#define __IRichEditOleCallback_FWD_DEFINED__ +typedef interface IRichEditOleCallback IRichEditOleCallback; +#ifdef __cplusplus +interface IRichEditOleCallback; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +#endif +#define REO_GETOBJ_NO_INTERFACES 0x00000000 +#define REO_GETOBJ_POLEOBJ 0x00000001 +#define REO_GETOBJ_PSTG 0x00000002 +#define REO_GETOBJ_POLESITE 0x00000004 +#define REO_GETOBJ_ALL_INTERFACES 0x00000007 +#define REO_CP_SELECTION 0xFFFFFFFF +#define REO_IOB_SELECTION 0xFFFFFFFF +#define REO_IOB_USE_CP 0xFFFFFFFE +#define REO_NULL 0x00000000 +#define REO_READWRITEMASK 0x0000003F +#define REO_DONTNEEDPALETTE 0x00000020 +#define REO_BLANK 0x00000010 +#define REO_DYNAMICSIZE 0x00000008 +#define REO_INVERTEDSELECT 0x00000004 +#define REO_BELOWBASELINE 0x00000002 +#define REO_RESIZABLE 0x00000001 +#define REO_LINK 0x80000000 +#define REO_STATIC 0x40000000 +#define REO_SELECTED 0x08000000 +#define REO_OPEN 0x04000000 +#define REO_INPLACEACTIVE 0x02000000 +#define REO_HILITED 0x01000000 +#define REO_LINKAVAILABLE 0x00800000 +#define REO_GETMETAFILE 0x00400000 +#define RECO_PASTE 0x00000000 +#define RECO_DROP 0x00000001 +#define RECO_COPY 0x00000002 +#define RECO_CUT 0x00000003 +#define RECO_DRAG 0x00000004 +typedef struct _reobject { + DWORD cbStruct; + LONG cp; + CLSID clsid; + LPOLEOBJECT poleobj; + LPSTORAGE pstg; + LPOLECLIENTSITE polesite; + SIZEL sizel; + DWORD dvaspect; + DWORD dwFlags; + DWORD dwUser; +} REOBJECT; +#ifndef __RICHEDIT_CHARRANGE_DEFINED +#define __RICHEDIT_CHARRANGE_DEFINED +typedef struct _charrange { + LONG cpMin; + LONG cpMax; +} CHARRANGE; +#endif /* __RICHEDIT_CHARRANGE_DEFINED */ +/***************************************************************************** + * IRichEditOle interface + */ +#ifndef __IRichEditOle_INTERFACE_DEFINED__ +#define __IRichEditOle_INTERFACE_DEFINED__ + +typedef IRichEditOle *LPRICHEDITOLE; +DEFINE_GUID(IID_IRichEditOle, 0x00020d00, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020d00-0000-0000-c000-000000000046") +IRichEditOle : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClientSite( + LPOLECLIENTSITE *lplpolesite) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLinkCount( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + LONG iob, + REOBJECT *lpreobject, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertObject( + REOBJECT *lpreobject) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertObject( + LONG iob, + REFCLSID rclsidNew, + LPCSTR lpstrUserTypeNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE ActivateAs( + REFCLSID rclsid, + REFCLSID rclsidAs) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHostNames( + LPCSTR lpstrContainerApp, + LPCSTR lpstrContainerObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLinkAvailable( + LONG iob, + BOOL fAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDvaspect( + LONG iob, + DWORD dvaspect) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandsOffStorage( + LONG iob) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveCompleted( + LONG iob, + LPSTORAGE lpstg) = 0; + + virtual HRESULT STDMETHODCALLTYPE InPlaceDeactivate( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp( + BOOL fEnterMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClipboardData( + CHARRANGE *lpchrg, + DWORD reco, + LPDATAOBJECT *lplpdataobj) = 0; + + virtual HRESULT STDMETHODCALLTYPE ImportDataObject( + LPDATAOBJECT lpdataobj, + CLIPFORMAT cf, + HGLOBAL hMetaPict) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRichEditOle, 0x00020d00, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRichEditOleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRichEditOle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRichEditOle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRichEditOle *This); + + /*** IRichEditOle methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClientSite)( + IRichEditOle *This, + LPOLECLIENTSITE *lplpolesite); + + HRESULT (STDMETHODCALLTYPE *GetObjectCount)( + IRichEditOle *This); + + HRESULT (STDMETHODCALLTYPE *GetLinkCount)( + IRichEditOle *This); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IRichEditOle *This, + LONG iob, + REOBJECT *lpreobject, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *InsertObject)( + IRichEditOle *This, + REOBJECT *lpreobject); + + HRESULT (STDMETHODCALLTYPE *ConvertObject)( + IRichEditOle *This, + LONG iob, + REFCLSID rclsidNew, + LPCSTR lpstrUserTypeNew); + + HRESULT (STDMETHODCALLTYPE *ActivateAs)( + IRichEditOle *This, + REFCLSID rclsid, + REFCLSID rclsidAs); + + HRESULT (STDMETHODCALLTYPE *SetHostNames)( + IRichEditOle *This, + LPCSTR lpstrContainerApp, + LPCSTR lpstrContainerObj); + + HRESULT (STDMETHODCALLTYPE *SetLinkAvailable)( + IRichEditOle *This, + LONG iob, + BOOL fAvailable); + + HRESULT (STDMETHODCALLTYPE *SetDvaspect)( + IRichEditOle *This, + LONG iob, + DWORD dvaspect); + + HRESULT (STDMETHODCALLTYPE *HandsOffStorage)( + IRichEditOle *This, + LONG iob); + + HRESULT (STDMETHODCALLTYPE *SaveCompleted)( + IRichEditOle *This, + LONG iob, + LPSTORAGE lpstg); + + HRESULT (STDMETHODCALLTYPE *InPlaceDeactivate)( + IRichEditOle *This); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IRichEditOle *This, + BOOL fEnterMode); + + HRESULT (STDMETHODCALLTYPE *GetClipboardData)( + IRichEditOle *This, + CHARRANGE *lpchrg, + DWORD reco, + LPDATAOBJECT *lplpdataobj); + + HRESULT (STDMETHODCALLTYPE *ImportDataObject)( + IRichEditOle *This, + LPDATAOBJECT lpdataobj, + CLIPFORMAT cf, + HGLOBAL hMetaPict); + + END_INTERFACE +} IRichEditOleVtbl; + +interface IRichEditOle { + CONST_VTBL IRichEditOleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRichEditOle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRichEditOle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRichEditOle_Release(This) (This)->lpVtbl->Release(This) +/*** IRichEditOle methods ***/ +#define IRichEditOle_GetClientSite(This,lplpolesite) (This)->lpVtbl->GetClientSite(This,lplpolesite) +#define IRichEditOle_GetObjectCount(This) (This)->lpVtbl->GetObjectCount(This) +#define IRichEditOle_GetLinkCount(This) (This)->lpVtbl->GetLinkCount(This) +#define IRichEditOle_GetObject(This,iob,lpreobject,dwFlags) (This)->lpVtbl->GetObject(This,iob,lpreobject,dwFlags) +#define IRichEditOle_InsertObject(This,lpreobject) (This)->lpVtbl->InsertObject(This,lpreobject) +#define IRichEditOle_ConvertObject(This,iob,rclsidNew,lpstrUserTypeNew) (This)->lpVtbl->ConvertObject(This,iob,rclsidNew,lpstrUserTypeNew) +#define IRichEditOle_ActivateAs(This,rclsid,rclsidAs) (This)->lpVtbl->ActivateAs(This,rclsid,rclsidAs) +#define IRichEditOle_SetHostNames(This,lpstrContainerApp,lpstrContainerObj) (This)->lpVtbl->SetHostNames(This,lpstrContainerApp,lpstrContainerObj) +#define IRichEditOle_SetLinkAvailable(This,iob,fAvailable) (This)->lpVtbl->SetLinkAvailable(This,iob,fAvailable) +#define IRichEditOle_SetDvaspect(This,iob,dvaspect) (This)->lpVtbl->SetDvaspect(This,iob,dvaspect) +#define IRichEditOle_HandsOffStorage(This,iob) (This)->lpVtbl->HandsOffStorage(This,iob) +#define IRichEditOle_SaveCompleted(This,iob,lpstg) (This)->lpVtbl->SaveCompleted(This,iob,lpstg) +#define IRichEditOle_InPlaceDeactivate(This) (This)->lpVtbl->InPlaceDeactivate(This) +#define IRichEditOle_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +#define IRichEditOle_GetClipboardData(This,lpchrg,reco,lplpdataobj) (This)->lpVtbl->GetClipboardData(This,lpchrg,reco,lplpdataobj) +#define IRichEditOle_ImportDataObject(This,lpdataobj,cf,hMetaPict) (This)->lpVtbl->ImportDataObject(This,lpdataobj,cf,hMetaPict) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRichEditOle_QueryInterface(IRichEditOle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRichEditOle_AddRef(IRichEditOle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRichEditOle_Release(IRichEditOle* This) { + return This->lpVtbl->Release(This); +} +/*** IRichEditOle methods ***/ +static FORCEINLINE HRESULT IRichEditOle_GetClientSite(IRichEditOle* This,LPOLECLIENTSITE *lplpolesite) { + return This->lpVtbl->GetClientSite(This,lplpolesite); +} +static FORCEINLINE HRESULT IRichEditOle_GetObjectCount(IRichEditOle* This) { + return This->lpVtbl->GetObjectCount(This); +} +static FORCEINLINE HRESULT IRichEditOle_GetLinkCount(IRichEditOle* This) { + return This->lpVtbl->GetLinkCount(This); +} +static FORCEINLINE HRESULT IRichEditOle_GetObject(IRichEditOle* This,LONG iob,REOBJECT *lpreobject,DWORD dwFlags) { + return This->lpVtbl->GetObject(This,iob,lpreobject,dwFlags); +} +static FORCEINLINE HRESULT IRichEditOle_InsertObject(IRichEditOle* This,REOBJECT *lpreobject) { + return This->lpVtbl->InsertObject(This,lpreobject); +} +static FORCEINLINE HRESULT IRichEditOle_ConvertObject(IRichEditOle* This,LONG iob,REFCLSID rclsidNew,LPCSTR lpstrUserTypeNew) { + return This->lpVtbl->ConvertObject(This,iob,rclsidNew,lpstrUserTypeNew); +} +static FORCEINLINE HRESULT IRichEditOle_ActivateAs(IRichEditOle* This,REFCLSID rclsid,REFCLSID rclsidAs) { + return This->lpVtbl->ActivateAs(This,rclsid,rclsidAs); +} +static FORCEINLINE HRESULT IRichEditOle_SetHostNames(IRichEditOle* This,LPCSTR lpstrContainerApp,LPCSTR lpstrContainerObj) { + return This->lpVtbl->SetHostNames(This,lpstrContainerApp,lpstrContainerObj); +} +static FORCEINLINE HRESULT IRichEditOle_SetLinkAvailable(IRichEditOle* This,LONG iob,BOOL fAvailable) { + return This->lpVtbl->SetLinkAvailable(This,iob,fAvailable); +} +static FORCEINLINE HRESULT IRichEditOle_SetDvaspect(IRichEditOle* This,LONG iob,DWORD dvaspect) { + return This->lpVtbl->SetDvaspect(This,iob,dvaspect); +} +static FORCEINLINE HRESULT IRichEditOle_HandsOffStorage(IRichEditOle* This,LONG iob) { + return This->lpVtbl->HandsOffStorage(This,iob); +} +static FORCEINLINE HRESULT IRichEditOle_SaveCompleted(IRichEditOle* This,LONG iob,LPSTORAGE lpstg) { + return This->lpVtbl->SaveCompleted(This,iob,lpstg); +} +static FORCEINLINE HRESULT IRichEditOle_InPlaceDeactivate(IRichEditOle* This) { + return This->lpVtbl->InPlaceDeactivate(This); +} +static FORCEINLINE HRESULT IRichEditOle_ContextSensitiveHelp(IRichEditOle* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +static FORCEINLINE HRESULT IRichEditOle_GetClipboardData(IRichEditOle* This,CHARRANGE *lpchrg,DWORD reco,LPDATAOBJECT *lplpdataobj) { + return This->lpVtbl->GetClipboardData(This,lpchrg,reco,lplpdataobj); +} +static FORCEINLINE HRESULT IRichEditOle_ImportDataObject(IRichEditOle* This,LPDATAOBJECT lpdataobj,CLIPFORMAT cf,HGLOBAL hMetaPict) { + return This->lpVtbl->ImportDataObject(This,lpdataobj,cf,hMetaPict); +} +#endif +#endif + +#endif + + +#endif /* __IRichEditOle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRichEditOleCallback interface + */ +#ifndef __IRichEditOleCallback_INTERFACE_DEFINED__ +#define __IRichEditOleCallback_INTERFACE_DEFINED__ + +typedef IRichEditOleCallback *LPRICHEDITOLECALLBACK; +DEFINE_GUID(IID_IRichEditOleCallback, 0x00020d03, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00020d03-0000-0000-c000-000000000046") +IRichEditOleCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNewStorage( + LPSTORAGE *lplpstg) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInPlaceContext( + LPOLEINPLACEFRAME *lplpFrame, + LPOLEINPLACEUIWINDOW *lplpDoc, + LPOLEINPLACEFRAMEINFO lpFrameInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowContainerUI( + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryInsertObject( + LPCLSID lpclsid, + LPSTORAGE lpstg, + LONG cp) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteObject( + LPOLEOBJECT lpoleobj) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAcceptData( + LPDATAOBJECT lpdataobj, + CLIPFORMAT *lpcfFormat, + DWORD reco, + BOOL fReally, + HGLOBAL hMetaPict) = 0; + + virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp( + BOOL fEnterMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClipboardData( + CHARRANGE *lpchrg, + DWORD reco, + LPDATAOBJECT *lplpdataobj) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDragDropEffect( + BOOL fDrag, + DWORD grfKeyState, + LPDWORD pdwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContextMenu( + WORD seltype, + LPOLEOBJECT lpoleobj, + CHARRANGE *lpchrg, + HMENU *lphmenu) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRichEditOleCallback, 0x00020d03, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IRichEditOleCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRichEditOleCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRichEditOleCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRichEditOleCallback *This); + + /*** IRichEditOleCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNewStorage)( + IRichEditOleCallback *This, + LPSTORAGE *lplpstg); + + HRESULT (STDMETHODCALLTYPE *GetInPlaceContext)( + IRichEditOleCallback *This, + LPOLEINPLACEFRAME *lplpFrame, + LPOLEINPLACEUIWINDOW *lplpDoc, + LPOLEINPLACEFRAMEINFO lpFrameInfo); + + HRESULT (STDMETHODCALLTYPE *ShowContainerUI)( + IRichEditOleCallback *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *QueryInsertObject)( + IRichEditOleCallback *This, + LPCLSID lpclsid, + LPSTORAGE lpstg, + LONG cp); + + HRESULT (STDMETHODCALLTYPE *DeleteObject)( + IRichEditOleCallback *This, + LPOLEOBJECT lpoleobj); + + HRESULT (STDMETHODCALLTYPE *QueryAcceptData)( + IRichEditOleCallback *This, + LPDATAOBJECT lpdataobj, + CLIPFORMAT *lpcfFormat, + DWORD reco, + BOOL fReally, + HGLOBAL hMetaPict); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IRichEditOleCallback *This, + BOOL fEnterMode); + + HRESULT (STDMETHODCALLTYPE *GetClipboardData)( + IRichEditOleCallback *This, + CHARRANGE *lpchrg, + DWORD reco, + LPDATAOBJECT *lplpdataobj); + + HRESULT (STDMETHODCALLTYPE *GetDragDropEffect)( + IRichEditOleCallback *This, + BOOL fDrag, + DWORD grfKeyState, + LPDWORD pdwEffect); + + HRESULT (STDMETHODCALLTYPE *GetContextMenu)( + IRichEditOleCallback *This, + WORD seltype, + LPOLEOBJECT lpoleobj, + CHARRANGE *lpchrg, + HMENU *lphmenu); + + END_INTERFACE +} IRichEditOleCallbackVtbl; + +interface IRichEditOleCallback { + CONST_VTBL IRichEditOleCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRichEditOleCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRichEditOleCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRichEditOleCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IRichEditOleCallback methods ***/ +#define IRichEditOleCallback_GetNewStorage(This,lplpstg) (This)->lpVtbl->GetNewStorage(This,lplpstg) +#define IRichEditOleCallback_GetInPlaceContext(This,lplpFrame,lplpDoc,lpFrameInfo) (This)->lpVtbl->GetInPlaceContext(This,lplpFrame,lplpDoc,lpFrameInfo) +#define IRichEditOleCallback_ShowContainerUI(This,fShow) (This)->lpVtbl->ShowContainerUI(This,fShow) +#define IRichEditOleCallback_QueryInsertObject(This,lpclsid,lpstg,cp) (This)->lpVtbl->QueryInsertObject(This,lpclsid,lpstg,cp) +#define IRichEditOleCallback_DeleteObject(This,lpoleobj) (This)->lpVtbl->DeleteObject(This,lpoleobj) +#define IRichEditOleCallback_QueryAcceptData(This,lpdataobj,lpcfFormat,reco,fReally,hMetaPict) (This)->lpVtbl->QueryAcceptData(This,lpdataobj,lpcfFormat,reco,fReally,hMetaPict) +#define IRichEditOleCallback_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +#define IRichEditOleCallback_GetClipboardData(This,lpchrg,reco,lplpdataobj) (This)->lpVtbl->GetClipboardData(This,lpchrg,reco,lplpdataobj) +#define IRichEditOleCallback_GetDragDropEffect(This,fDrag,grfKeyState,pdwEffect) (This)->lpVtbl->GetDragDropEffect(This,fDrag,grfKeyState,pdwEffect) +#define IRichEditOleCallback_GetContextMenu(This,seltype,lpoleobj,lpchrg,lphmenu) (This)->lpVtbl->GetContextMenu(This,seltype,lpoleobj,lpchrg,lphmenu) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRichEditOleCallback_QueryInterface(IRichEditOleCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRichEditOleCallback_AddRef(IRichEditOleCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRichEditOleCallback_Release(IRichEditOleCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IRichEditOleCallback methods ***/ +static FORCEINLINE HRESULT IRichEditOleCallback_GetNewStorage(IRichEditOleCallback* This,LPSTORAGE *lplpstg) { + return This->lpVtbl->GetNewStorage(This,lplpstg); +} +static FORCEINLINE HRESULT IRichEditOleCallback_GetInPlaceContext(IRichEditOleCallback* This,LPOLEINPLACEFRAME *lplpFrame,LPOLEINPLACEUIWINDOW *lplpDoc,LPOLEINPLACEFRAMEINFO lpFrameInfo) { + return This->lpVtbl->GetInPlaceContext(This,lplpFrame,lplpDoc,lpFrameInfo); +} +static FORCEINLINE HRESULT IRichEditOleCallback_ShowContainerUI(IRichEditOleCallback* This,BOOL fShow) { + return This->lpVtbl->ShowContainerUI(This,fShow); +} +static FORCEINLINE HRESULT IRichEditOleCallback_QueryInsertObject(IRichEditOleCallback* This,LPCLSID lpclsid,LPSTORAGE lpstg,LONG cp) { + return This->lpVtbl->QueryInsertObject(This,lpclsid,lpstg,cp); +} +static FORCEINLINE HRESULT IRichEditOleCallback_DeleteObject(IRichEditOleCallback* This,LPOLEOBJECT lpoleobj) { + return This->lpVtbl->DeleteObject(This,lpoleobj); +} +static FORCEINLINE HRESULT IRichEditOleCallback_QueryAcceptData(IRichEditOleCallback* This,LPDATAOBJECT lpdataobj,CLIPFORMAT *lpcfFormat,DWORD reco,BOOL fReally,HGLOBAL hMetaPict) { + return This->lpVtbl->QueryAcceptData(This,lpdataobj,lpcfFormat,reco,fReally,hMetaPict); +} +static FORCEINLINE HRESULT IRichEditOleCallback_ContextSensitiveHelp(IRichEditOleCallback* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +static FORCEINLINE HRESULT IRichEditOleCallback_GetClipboardData(IRichEditOleCallback* This,CHARRANGE *lpchrg,DWORD reco,LPDATAOBJECT *lplpdataobj) { + return This->lpVtbl->GetClipboardData(This,lpchrg,reco,lplpdataobj); +} +static FORCEINLINE HRESULT IRichEditOleCallback_GetDragDropEffect(IRichEditOleCallback* This,BOOL fDrag,DWORD grfKeyState,LPDWORD pdwEffect) { + return This->lpVtbl->GetDragDropEffect(This,fDrag,grfKeyState,pdwEffect); +} +static FORCEINLINE HRESULT IRichEditOleCallback_GetContextMenu(IRichEditOleCallback* This,WORD seltype,LPOLEOBJECT lpoleobj,CHARRANGE *lpchrg,HMENU *lphmenu) { + return This->lpVtbl->GetContextMenu(This,seltype,lpoleobj,lpchrg,lphmenu); +} +#endif +#endif + +#endif + + +#endif /* __IRichEditOleCallback_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); +ULONG __RPC_USER HGLOBAL_UserSize (ULONG *, ULONG, HGLOBAL *); +unsigned char * __RPC_USER HGLOBAL_UserMarshal (ULONG *, unsigned char *, HGLOBAL *); +unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *); +void __RPC_USER HGLOBAL_UserFree (ULONG *, HGLOBAL *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER HACCEL_UserSize (ULONG *, ULONG, HACCEL *); +unsigned char * __RPC_USER HACCEL_UserMarshal (ULONG *, unsigned char *, HACCEL *); +unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *); +void __RPC_USER HACCEL_UserFree (ULONG *, HACCEL *); +ULONG __RPC_USER HMENU_UserSize (ULONG *, ULONG, HMENU *); +unsigned char * __RPC_USER HMENU_UserMarshal (ULONG *, unsigned char *, HMENU *); +unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *); +void __RPC_USER HMENU_UserFree (ULONG *, HMENU *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __richole_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richole.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richole.idl new file mode 100644 index 0000000..c74783f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/richole.idl @@ -0,0 +1,133 @@ +/* + * Copyright (C) 2002 Andriy Palamarchuk + * Copyright (C) 2004 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +cpp_quote("#if 0") /* not included on Windows */ +import "oleidl.idl"; +cpp_quote("#endif") + +/* REOBJECT structure flags */ +cpp_quote("#define REO_GETOBJ_NO_INTERFACES 0x00000000") +cpp_quote("#define REO_GETOBJ_POLEOBJ 0x00000001") +cpp_quote("#define REO_GETOBJ_PSTG 0x00000002") +cpp_quote("#define REO_GETOBJ_POLESITE 0x00000004") +cpp_quote("#define REO_GETOBJ_ALL_INTERFACES 0x00000007") +cpp_quote("#define REO_CP_SELECTION 0xFFFFFFFF") +cpp_quote("#define REO_IOB_SELECTION 0xFFFFFFFF") +cpp_quote("#define REO_IOB_USE_CP 0xFFFFFFFE") +cpp_quote("#define REO_NULL 0x00000000") +cpp_quote("#define REO_READWRITEMASK 0x0000003F") +cpp_quote("#define REO_DONTNEEDPALETTE 0x00000020") +cpp_quote("#define REO_BLANK 0x00000010") +cpp_quote("#define REO_DYNAMICSIZE 0x00000008") +cpp_quote("#define REO_INVERTEDSELECT 0x00000004") +cpp_quote("#define REO_BELOWBASELINE 0x00000002") +cpp_quote("#define REO_RESIZABLE 0x00000001") +cpp_quote("#define REO_LINK 0x80000000") +cpp_quote("#define REO_STATIC 0x40000000") +cpp_quote("#define REO_SELECTED 0x08000000") +cpp_quote("#define REO_OPEN 0x04000000") +cpp_quote("#define REO_INPLACEACTIVE 0x02000000") +cpp_quote("#define REO_HILITED 0x01000000") +cpp_quote("#define REO_LINKAVAILABLE 0x00800000") +cpp_quote("#define REO_GETMETAFILE 0x00400000") + +/* clipboard operation flags */ +cpp_quote("#define RECO_PASTE 0x00000000") +cpp_quote("#define RECO_DROP 0x00000001") +cpp_quote("#define RECO_COPY 0x00000002") +cpp_quote("#define RECO_CUT 0x00000003") +cpp_quote("#define RECO_DRAG 0x00000004") + +typedef struct _reobject { + DWORD cbStruct; + LONG cp; + CLSID clsid; + LPOLEOBJECT poleobj; + LPSTORAGE pstg; + LPOLECLIENTSITE polesite; + SIZEL sizel; + DWORD dvaspect; + DWORD dwFlags; + DWORD dwUser; +} REOBJECT; + +cpp_quote("#ifndef __RICHEDIT_CHARRANGE_DEFINED") +cpp_quote("#define __RICHEDIT_CHARRANGE_DEFINED") + +typedef struct _charrange +{ + LONG cpMin; + LONG cpMax; +} CHARRANGE; + +cpp_quote("#endif /* __RICHEDIT_CHARRANGE_DEFINED */") + +/***************************************************************************** + * IRichEditOle + */ +[ + object, + uuid(00020d00-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IRichEditOle : IUnknown +{ + typedef [unique] IRichEditOle *LPRICHEDITOLE; + + HRESULT GetClientSite(LPOLECLIENTSITE *lplpolesite); + HRESULT GetObjectCount(); + HRESULT GetLinkCount(); + HRESULT GetObject(LONG iob, REOBJECT *lpreobject, DWORD dwFlags); + HRESULT InsertObject(REOBJECT *lpreobject); + HRESULT ConvertObject(LONG iob, REFCLSID rclsidNew, LPCSTR lpstrUserTypeNew); + HRESULT ActivateAs(REFCLSID rclsid, REFCLSID rclsidAs); + HRESULT SetHostNames(LPCSTR lpstrContainerApp, LPCSTR lpstrContainerObj); + HRESULT SetLinkAvailable(LONG iob, BOOL fAvailable); + HRESULT SetDvaspect(LONG iob, DWORD dvaspect); + HRESULT HandsOffStorage(LONG iob); + HRESULT SaveCompleted(LONG iob, LPSTORAGE lpstg); + HRESULT InPlaceDeactivate(); + HRESULT ContextSensitiveHelp(BOOL fEnterMode); + HRESULT GetClipboardData(CHARRANGE* lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj); + HRESULT ImportDataObject(LPDATAOBJECT lpdataobj, CLIPFORMAT cf, HGLOBAL hMetaPict); +} + +/***************************************************************************** + * IRichEditOleCallback + */ +[ + object, + uuid(00020d03-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IRichEditOleCallback : IUnknown +{ + typedef [unique] IRichEditOleCallback *LPRICHEDITOLECALLBACK; + + HRESULT GetNewStorage(LPSTORAGE *lplpstg); + HRESULT GetInPlaceContext(LPOLEINPLACEFRAME *lplpFrame, LPOLEINPLACEUIWINDOW *lplpDoc, LPOLEINPLACEFRAMEINFO lpFrameInfo); + HRESULT ShowContainerUI(BOOL fShow); + HRESULT QueryInsertObject(LPCLSID lpclsid, LPSTORAGE lpstg, LONG cp); + HRESULT DeleteObject(LPOLEOBJECT lpoleobj); + HRESULT QueryAcceptData(LPDATAOBJECT lpdataobj, CLIPFORMAT *lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict); + HRESULT ContextSensitiveHelp(BOOL fEnterMode); + HRESULT GetClipboardData(CHARRANGE *lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj); + HRESULT GetDragDropEffect(BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect); + HRESULT GetContextMenu(WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE *lpchrg, HMENU *lphmenu); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxfguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxfguid.h new file mode 100644 index 0000000..da36e00 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxfguid.h @@ -0,0 +1,130 @@ +/* + * Copyright (C) 2007 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_RMXFGUID_H +#define __WINE_RMXFGUID_H + +/***************************************************************************** + * Define GUIDs + */ + +DEFINE_GUID(TID_D3DRMAnimation, 0x3d82ab4f, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMAnimationKey, 0x10dd46a8, 0x775b, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMAnimationOptions, 0xe2bf56c0, 0x840f, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMAnimationSet, 0x3d82ab50, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMAppData, 0xe5745280, 0xb24f, 0x11cf, 0x9d, 0xd5, 0x00, 0xaa, 0x00, 0xa7, 0x1a, 0x2f); + +DEFINE_GUID(TID_D3DRMBoolean, 0x537da6a0, 0xca37, 0x11d0, 0x94, 0x1c, 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b); + +DEFINE_GUID(TID_D3DRMBoolean2d, 0x4885ae63, 0x78e8, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMCamera, 0x3d82ab51, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMColorRGB, 0xd3e16e81, 0x7835, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMColorRGBA, 0x35ff44e0, 0x6c7c, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMCoords2d, 0xf6f23f44, 0x7686, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMExternalVisual, 0x98116aa0, 0xbdba, 0x11d1, 0x82, 0xc0, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x71); + +DEFINE_GUID(TID_D3DRMFloatKeys, 0x10dd46a9, 0x775b, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMFrame, 0x3d82ab46, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMFramePosition, 0xe2bf56c1, 0x840f, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMFrameRotation, 0xe2bf56c3, 0x840f, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMFrameTransformMatrix, 0xf6f23f41, 0x7686, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMFrameVelocity, 0xe2bf56c2, 0x840f, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMGuid, 0xa42790e0, 0x7810, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMIndexedColor, 0x1630b820, 0x7842, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMInfo, 0x2b957100, 0x9e9a, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMInlineData, 0x3a23eea0, 0x94b1, 0x11d0, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMLight, 0x3d82ab4a, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMLightAttenuation, 0xa8a98ba0, 0xc5e5, 0x11cf, 0xb9, 0x41, 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b); + +DEFINE_GUID(TID_D3DRMLightPenumbra, 0xaed22741, 0xb31f, 0x11cf, 0x9d, 0xd5, 0x00, 0xaa, 0x00, 0xa7, 0x1a, 0x2f); + +DEFINE_GUID(TID_D3DRMLightRange, 0xaed22742, 0xb31f, 0x11cf, 0x9d, 0xd5, 0x00, 0xaa, 0x00, 0xa7, 0x1a, 0x2f); + +DEFINE_GUID(TID_D3DRMLightUmbra, 0xaed22740, 0xb31f, 0x11cf, 0x9d, 0xd5, 0x00, 0xaa, 0x00, 0xa7, 0x1a, 0x2f); + +DEFINE_GUID(TID_D3DRMMaterial, 0x3d82ab4d, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMMaterialAmbientColor, 0x01411840, 0x7786, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMaterialArray, 0x35ff44e1, 0x6c7c, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMaterialDiffuseColor, 0x01411841, 0x7786, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMaterialEmissiveColor, 0xd3e16e80, 0x7835, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMaterialPower, 0x01411843, 0x7786, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMaterialSpecularColor, 0x01411842, 0x7786, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMaterialWrap, 0x4885ae60, 0x78e8, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMatrix4x4, 0xf6f23f45, 0x7686, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMesh, 0x3d82ab44, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMMeshFace, 0x3d82ab5f, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMMeshFaceWraps, 0xed1ec5c0, 0xc0a8, 0x11d0, 0x94, 0x1c, 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b); + +DEFINE_GUID(TID_D3DRMMeshMaterialList, 0xf6f23f42, 0x7686, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMeshNormals, 0xf6f23f43, 0x7686, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMeshTextureCoords, 0xf6f23f40, 0x7686, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMMeshVertexColors, 0x1630b821, 0x7842, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMProgressiveMesh, 0x8a63c360, 0x997d, 0x11d0, 0x94, 0x1c, 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b); + +DEFINE_GUID(TID_D3DRMPropertyBag, 0x7f0f21e1, 0xbfe1, 0x11d1, 0x82, 0xc0, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x71); + +DEFINE_GUID(TID_D3DRMRightHanded, 0x7f5d5ea0, 0xd53a, 0x11d1, 0x82, 0xc0, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x71); + +DEFINE_GUID(TID_D3DRMStringProperty, 0x7f0f21e0, 0xbfe1, 0x11d1, 0x82, 0xc0, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x71); + +DEFINE_GUID(TID_D3DRMTextureFilename, 0xa42790e1, 0x7810, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMTextureReference, 0xa42790e2, 0x7810, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMTimedFloatKeys, 0xf406b180, 0x7b3b, 0x11cf, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3); + +DEFINE_GUID(TID_D3DRMUrl, 0x3a23eea1, 0x94b1, 0x11d0, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +DEFINE_GUID(TID_D3DRMVector, 0x3d82ab5e, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33); + +#endif /* __WINE_RMXFGUID_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxftmpl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxftmpl.h new file mode 100644 index 0000000..1f72254 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxftmpl.h @@ -0,0 +1,285 @@ +/* File generated automatically from rmxftmpl.x; do not edit */ + +#ifndef __WINE_RMXFTMPL_H +#define __WINE_RMXFTMPL_H + +unsigned char D3DRM_XTEMPLATES[] = { + 0x78, 0x6f, 0x66, 0x20, 0x30, 0x33, 0x30, 0x32, 0x62, 0x69, 0x6e, 0x20, + 0x30, 0x30, 0x36, 0x34, 0x1f, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x0a, 0x00, 0x05, 0x00, 0x43, 0xab, + 0x82, 0x3d, 0xda, 0x62, 0xcf, 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, + 0xe4, 0x33, 0x28, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x6d, 0x61, + 0x6a, 0x6f, 0x72, 0x14, 0x00, 0x28, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, + 0x00, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x14, 0x00, 0x29, 0x00, 0x01, 0x00, + 0x05, 0x00, 0x00, 0x00, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x14, 0x00, 0x0b, + 0x00, 0x1f, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x0a, 0x00, 0x05, 0x00, 0x5e, 0xab, 0x82, 0x3d, 0xda, + 0x62, 0xcf, 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x2a, + 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x78, 0x14, 0x00, 0x2a, 0x00, + 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x79, 0x14, 0x00, 0x2a, 0x00, 0x01, + 0x00, 0x01, 0x00, 0x00, 0x00, 0x7a, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, + 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x73, + 0x32, 0x64, 0x0a, 0x00, 0x05, 0x00, 0x44, 0x3f, 0xf2, 0xf6, 0x86, 0x76, + 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x2a, 0x00, + 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x75, 0x14, 0x00, 0x2a, 0x00, 0x01, + 0x00, 0x01, 0x00, 0x00, 0x00, 0x76, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, + 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, + 0x34, 0x78, 0x34, 0x0a, 0x00, 0x05, 0x00, 0x45, 0x3f, 0xf2, 0xf6, 0x86, + 0x76, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x34, + 0x00, 0x2a, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x6d, 0x61, 0x74, + 0x72, 0x69, 0x78, 0x0e, 0x00, 0x03, 0x00, 0x10, 0x00, 0x00, 0x00, 0x0f, + 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x09, 0x00, 0x00, + 0x00, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x47, 0x42, 0x41, 0x0a, 0x00, + 0x05, 0x00, 0xe0, 0x44, 0xff, 0x35, 0x7c, 0x6c, 0xcf, 0x11, 0x8f, 0x52, + 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x2a, 0x00, 0x01, 0x00, 0x03, 0x00, + 0x00, 0x00, 0x72, 0x65, 0x64, 0x14, 0x00, 0x2a, 0x00, 0x01, 0x00, 0x05, + 0x00, 0x00, 0x00, 0x67, 0x72, 0x65, 0x65, 0x6e, 0x14, 0x00, 0x2a, 0x00, + 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x62, 0x6c, 0x75, 0x65, 0x14, 0x00, + 0x2a, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, + 0x00, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x47, 0x42, 0x0a, 0x00, 0x05, + 0x00, 0x81, 0x6e, 0xe1, 0xd3, 0x35, 0x78, 0xcf, 0x11, 0x8f, 0x52, 0x00, + 0x40, 0x33, 0x35, 0x94, 0xa3, 0x2a, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, + 0x00, 0x72, 0x65, 0x64, 0x14, 0x00, 0x2a, 0x00, 0x01, 0x00, 0x05, 0x00, + 0x00, 0x00, 0x67, 0x72, 0x65, 0x65, 0x6e, 0x14, 0x00, 0x2a, 0x00, 0x01, + 0x00, 0x04, 0x00, 0x00, 0x00, 0x62, 0x6c, 0x75, 0x65, 0x14, 0x00, 0x0b, + 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x0a, 0x00, 0x05, + 0x00, 0x20, 0xb8, 0x30, 0x16, 0x42, 0x78, 0xcf, 0x11, 0x8f, 0x52, 0x00, + 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, + 0x00, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x14, 0x00, 0x01, 0x00, 0x09, 0x00, + 0x00, 0x00, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x47, 0x42, 0x41, 0x01, + 0x00, 0x0a, 0x00, 0x00, 0x00, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x6f, + 0x6c, 0x6f, 0x72, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x07, + 0x00, 0x00, 0x00, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x0a, 0x00, + 0x05, 0x00, 0xa0, 0xa6, 0x7d, 0x53, 0x37, 0xca, 0xd0, 0x11, 0x94, 0x1c, + 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b, 0x29, 0x00, 0x01, 0x00, 0x09, 0x00, + 0x00, 0x00, 0x74, 0x72, 0x75, 0x65, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x14, + 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x42, + 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x32, 0x64, 0x0a, 0x00, 0x05, 0x00, + 0x63, 0xae, 0x85, 0x48, 0xe8, 0x78, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, + 0x33, 0x35, 0x94, 0xa3, 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, 0x42, 0x6f, + 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x75, + 0x14, 0x00, 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, 0x42, 0x6f, 0x6f, 0x6c, + 0x65, 0x61, 0x6e, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x76, 0x14, 0x00, + 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x57, 0x72, 0x61, 0x70, 0x0a, 0x00, + 0x05, 0x00, 0x60, 0xae, 0x85, 0x48, 0xe8, 0x78, 0xcf, 0x11, 0x8f, 0x52, + 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, + 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x01, 0x00, 0x01, 0x00, 0x00, + 0x00, 0x75, 0x14, 0x00, 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, 0x42, 0x6f, + 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x76, + 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0f, 0x00, 0x00, 0x00, + 0x54, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x0a, 0x00, 0x05, 0x00, 0xe1, 0x90, 0x27, 0xa4, 0x10, + 0x78, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x31, + 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x66, 0x69, 0x6c, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x08, + 0x00, 0x00, 0x00, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x0a, + 0x00, 0x05, 0x00, 0x4d, 0xab, 0x82, 0x3d, 0xda, 0x62, 0xcf, 0x11, 0xab, + 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x01, 0x00, 0x09, 0x00, 0x00, + 0x00, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x47, 0x42, 0x41, 0x01, 0x00, + 0x09, 0x00, 0x00, 0x00, 0x66, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6c, 0x6f, + 0x72, 0x14, 0x00, 0x2a, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x70, + 0x6f, 0x77, 0x65, 0x72, 0x14, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, + 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x47, 0x42, 0x01, 0x00, 0x0d, 0x00, + 0x00, 0x00, 0x73, 0x70, 0x65, 0x63, 0x75, 0x6c, 0x61, 0x72, 0x43, 0x6f, + 0x6c, 0x6f, 0x72, 0x14, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x43, + 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x47, 0x42, 0x01, 0x00, 0x0d, 0x00, 0x00, + 0x00, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6c, + 0x6f, 0x72, 0x14, 0x00, 0x0e, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, + 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, + 0x4d, 0x65, 0x73, 0x68, 0x46, 0x61, 0x63, 0x65, 0x0a, 0x00, 0x05, 0x00, + 0x5f, 0xab, 0x82, 0x3d, 0xda, 0x62, 0xcf, 0x11, 0xab, 0x39, 0x00, 0x20, + 0xaf, 0x71, 0xe4, 0x33, 0x29, 0x00, 0x01, 0x00, 0x12, 0x00, 0x00, 0x00, + 0x6e, 0x46, 0x61, 0x63, 0x65, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x49, + 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x14, 0x00, 0x34, 0x00, 0x29, 0x00, + 0x01, 0x00, 0x11, 0x00, 0x00, 0x00, 0x66, 0x61, 0x63, 0x65, 0x56, 0x65, + 0x72, 0x74, 0x65, 0x78, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x0e, + 0x00, 0x01, 0x00, 0x12, 0x00, 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, + 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0d, + 0x00, 0x00, 0x00, 0x4d, 0x65, 0x73, 0x68, 0x46, 0x61, 0x63, 0x65, 0x57, + 0x72, 0x61, 0x70, 0x73, 0x0a, 0x00, 0x05, 0x00, 0xc0, 0xc5, 0x1e, 0xed, + 0xa8, 0xc0, 0xd0, 0x11, 0x94, 0x1c, 0x00, 0x80, 0xc8, 0x0c, 0xfa, 0x7b, + 0x29, 0x00, 0x01, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, + 0x65, 0x57, 0x72, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x14, + 0x00, 0x34, 0x00, 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x42, 0x6f, 0x6f, + 0x6c, 0x65, 0x61, 0x6e, 0x32, 0x64, 0x01, 0x00, 0x0e, 0x00, 0x00, 0x00, + 0x66, 0x61, 0x63, 0x65, 0x57, 0x72, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x6e, 0x46, + 0x61, 0x63, 0x65, 0x57, 0x72, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x11, + 0x00, 0x00, 0x00, 0x4d, 0x65, 0x73, 0x68, 0x54, 0x65, 0x78, 0x74, 0x75, + 0x72, 0x65, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x73, 0x0a, 0x00, 0x05, 0x00, + 0x40, 0x3f, 0xf2, 0xf6, 0x86, 0x76, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, + 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, 0x01, 0x00, 0x0e, 0x00, 0x00, 0x00, + 0x6e, 0x54, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6f, 0x72, + 0x64, 0x73, 0x14, 0x00, 0x34, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, + 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x73, 0x32, 0x64, 0x01, 0x00, 0x0d, 0x00, + 0x00, 0x00, 0x74, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6f, + 0x72, 0x64, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x6e, + 0x54, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6f, 0x72, 0x64, + 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x10, + 0x00, 0x00, 0x00, 0x4d, 0x65, 0x73, 0x68, 0x4d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x0a, 0x00, 0x05, 0x00, 0x42, + 0x3f, 0xf2, 0xf6, 0x86, 0x76, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, + 0x35, 0x94, 0xa3, 0x29, 0x00, 0x01, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x6e, + 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x14, 0x00, 0x29, + 0x00, 0x01, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x14, 0x00, 0x34, 0x00, 0x29, + 0x00, 0x01, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x66, 0x61, 0x63, 0x65, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x0c, 0x00, + 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0e, 0x00, 0x01, 0x00, 0x08, 0x00, + 0x00, 0x00, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x0f, 0x00, + 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x4d, 0x65, + 0x73, 0x68, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x73, 0x0a, 0x00, 0x05, + 0x00, 0x43, 0x3f, 0xf2, 0xf6, 0x86, 0x76, 0xcf, 0x11, 0x8f, 0x52, 0x00, + 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, + 0x00, 0x6e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x73, 0x14, 0x00, 0x34, + 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, 0x6e, 0x6f, 0x72, 0x6d, 0x61, + 0x6c, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x6e, 0x4e, + 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x73, 0x0f, 0x00, 0x14, 0x00, 0x29, 0x00, + 0x01, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, 0x4e, + 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x73, 0x14, 0x00, 0x34, 0x00, 0x01, 0x00, + 0x08, 0x00, 0x00, 0x00, 0x4d, 0x65, 0x73, 0x68, 0x46, 0x61, 0x63, 0x65, + 0x01, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x6f, + 0x72, 0x6d, 0x61, 0x6c, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x00, + 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, + 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x10, + 0x00, 0x00, 0x00, 0x4d, 0x65, 0x73, 0x68, 0x56, 0x65, 0x72, 0x74, 0x65, + 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x0a, 0x00, 0x05, 0x00, 0x21, + 0xb8, 0x30, 0x16, 0x42, 0x78, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, + 0x35, 0x94, 0xa3, 0x29, 0x00, 0x01, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x6e, + 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, + 0x14, 0x00, 0x34, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x01, 0x00, + 0x0c, 0x00, 0x00, 0x00, 0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x43, 0x6f, + 0x6c, 0x6f, 0x72, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x0d, 0x00, 0x00, 0x00, + 0x6e, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, + 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x04, + 0x00, 0x00, 0x00, 0x4d, 0x65, 0x73, 0x68, 0x0a, 0x00, 0x05, 0x00, 0x44, + 0xab, 0x82, 0x3d, 0xda, 0x62, 0xcf, 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, + 0x71, 0xe4, 0x33, 0x29, 0x00, 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x6e, + 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73, 0x14, 0x00, 0x34, 0x00, + 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, + 0x65, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x6e, 0x56, + 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73, 0x0f, 0x00, 0x14, 0x00, 0x29, + 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, + 0x73, 0x14, 0x00, 0x34, 0x00, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x4d, + 0x65, 0x73, 0x68, 0x46, 0x61, 0x63, 0x65, 0x01, 0x00, 0x05, 0x00, 0x00, + 0x00, 0x66, 0x61, 0x63, 0x65, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x06, 0x00, + 0x00, 0x00, 0x6e, 0x46, 0x61, 0x63, 0x65, 0x73, 0x0f, 0x00, 0x14, 0x00, + 0x0e, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0x0f, 0x00, 0x0b, 0x00, + 0x1f, 0x00, 0x01, 0x00, 0x14, 0x00, 0x00, 0x00, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x4d, 0x61, + 0x74, 0x72, 0x69, 0x78, 0x0a, 0x00, 0x05, 0x00, 0x41, 0x3f, 0xf2, 0xf6, + 0x86, 0x76, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, + 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, + 0x34, 0x78, 0x34, 0x01, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x66, 0x72, 0x61, + 0x6d, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x14, 0x00, 0x0b, 0x00, + 0x1f, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x0a, 0x00, 0x05, 0x00, 0x46, 0xab, 0x82, 0x3d, 0xda, 0x62, 0xcf, + 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x0e, 0x00, 0x12, + 0x00, 0x12, 0x00, 0x12, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, + 0x00, 0x09, 0x00, 0x00, 0x00, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x4b, 0x65, + 0x79, 0x73, 0x0a, 0x00, 0x05, 0x00, 0xa9, 0x46, 0xdd, 0x10, 0x5b, 0x77, + 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, + 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x14, 0x00, 0x34, 0x00, 0x2a, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, + 0x00, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x07, + 0x00, 0x00, 0x00, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x0f, 0x00, + 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0e, 0x00, 0x00, 0x00, + 0x54, 0x69, 0x6d, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x4b, 0x65, + 0x79, 0x73, 0x0a, 0x00, 0x05, 0x00, 0x80, 0xb1, 0x06, 0xf4, 0x3b, 0x7b, + 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, + 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x74, 0x69, 0x6d, 0x65, 0x14, 0x00, + 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x4b, + 0x65, 0x79, 0x73, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x74, 0x66, 0x6b, + 0x65, 0x79, 0x73, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0c, + 0x00, 0x00, 0x00, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4b, 0x65, 0x79, 0x0a, 0x00, 0x05, 0x00, 0xa8, 0x46, 0xdd, 0x10, 0x5b, + 0x77, 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, + 0x00, 0x01, 0x00, 0x07, 0x00, 0x00, 0x00, 0x6b, 0x65, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x14, 0x00, 0x29, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, + 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x14, 0x00, 0x34, 0x00, 0x01, 0x00, 0x0e, + 0x00, 0x00, 0x00, 0x54, 0x69, 0x6d, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x4b, 0x65, 0x79, 0x73, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x6b, + 0x65, 0x79, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x6e, + 0x4b, 0x65, 0x79, 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, + 0x01, 0x00, 0x10, 0x00, 0x00, 0x00, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x0a, 0x00, + 0x05, 0x00, 0xc0, 0x56, 0xbf, 0xe2, 0x0f, 0x84, 0xcf, 0x11, 0x8f, 0x52, + 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, 0x01, 0x00, 0x0a, 0x00, + 0x00, 0x00, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, + 0x14, 0x00, 0x29, 0x00, 0x01, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, + 0x79, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x09, 0x00, 0x00, + 0x00, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x00, + 0x05, 0x00, 0x4f, 0xab, 0x82, 0x3d, 0xda, 0x62, 0xcf, 0x11, 0xab, 0x39, + 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x0e, 0x00, 0x12, 0x00, 0x12, 0x00, + 0x12, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0c, 0x00, + 0x00, 0x00, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x0a, 0x00, 0x05, 0x00, 0x50, 0xab, 0x82, 0x3d, 0xda, 0x62, + 0xcf, 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x0e, 0x00, + 0x01, 0x00, 0x09, 0x00, 0x00, 0x00, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0a, + 0x00, 0x00, 0x00, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x0a, 0x00, 0x05, 0x00, 0xa0, 0xee, 0x23, 0x3a, 0xb1, 0x94, 0xd0, + 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x0e, 0x00, 0x01, + 0x00, 0x06, 0x00, 0x00, 0x00, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x0f, + 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00, 0x55, + 0x72, 0x6c, 0x0a, 0x00, 0x05, 0x00, 0xa1, 0xee, 0x23, 0x3a, 0xb1, 0x94, + 0xd0, 0x11, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33, 0x29, 0x00, + 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x6e, 0x55, 0x72, 0x6c, 0x73, 0x14, + 0x00, 0x34, 0x00, 0x31, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x75, + 0x72, 0x6c, 0x73, 0x0e, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x6e, + 0x55, 0x72, 0x6c, 0x73, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, 0x1f, 0x00, + 0x01, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x68, 0x0a, 0x00, 0x05, + 0x00, 0x60, 0xc3, 0x63, 0x8a, 0x7d, 0x99, 0xd0, 0x11, 0x94, 0x1c, 0x00, + 0x80, 0xc8, 0x0c, 0xfa, 0x7b, 0x0e, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, + 0x00, 0x55, 0x72, 0x6c, 0x13, 0x00, 0x01, 0x00, 0x0a, 0x00, 0x00, 0x00, + 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x0f, 0x00, + 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x47, 0x75, + 0x69, 0x64, 0x0a, 0x00, 0x05, 0x00, 0xe0, 0x90, 0x27, 0xa4, 0x10, 0x78, + 0xcf, 0x11, 0x8f, 0x52, 0x00, 0x40, 0x33, 0x35, 0x94, 0xa3, 0x29, 0x00, + 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x64, 0x61, 0x74, 0x61, 0x31, 0x14, + 0x00, 0x28, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x64, 0x61, 0x74, + 0x61, 0x32, 0x14, 0x00, 0x28, 0x00, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, + 0x64, 0x61, 0x74, 0x61, 0x33, 0x14, 0x00, 0x34, 0x00, 0x2d, 0x00, 0x01, + 0x00, 0x05, 0x00, 0x00, 0x00, 0x64, 0x61, 0x74, 0x61, 0x34, 0x0e, 0x00, + 0x03, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x14, 0x00, 0x0b, 0x00, + 0x1f, 0x00, 0x01, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x0a, 0x00, + 0x05, 0x00, 0xe0, 0x21, 0x0f, 0x7f, 0xe1, 0xbf, 0xd1, 0x11, 0x82, 0xc0, + 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x71, 0x31, 0x00, 0x01, 0x00, 0x03, 0x00, + 0x00, 0x00, 0x6b, 0x65, 0x79, 0x14, 0x00, 0x31, 0x00, 0x01, 0x00, 0x05, + 0x00, 0x00, 0x00, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x14, 0x00, 0x0b, 0x00, + 0x1f, 0x00, 0x01, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x42, 0x61, 0x67, 0x0a, 0x00, 0x05, 0x00, 0xe1, + 0x21, 0x0f, 0x7f, 0xe1, 0xbf, 0xd1, 0x11, 0x82, 0xc0, 0x00, 0xa0, 0xc9, + 0x69, 0x72, 0x71, 0x0e, 0x00, 0x01, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x01, 0x00, 0x0e, 0x00, 0x00, + 0x00, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x69, 0x73, + 0x75, 0x61, 0x6c, 0x0a, 0x00, 0x05, 0x00, 0xa0, 0x6a, 0x11, 0x98, 0xba, + 0xbd, 0xd1, 0x11, 0x82, 0xc0, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x71, 0x01, + 0x00, 0x04, 0x00, 0x00, 0x00, 0x47, 0x75, 0x69, 0x64, 0x01, 0x00, 0x12, + 0x00, 0x00, 0x00, 0x67, 0x75, 0x69, 0x64, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x14, 0x00, 0x0e, + 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, + 0x00, 0x01, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x52, 0x69, 0x67, 0x68, 0x74, + 0x48, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x0a, 0x00, 0x05, 0x00, 0xa0, 0x5e, + 0x5d, 0x7f, 0x3a, 0xd5, 0xd1, 0x11, 0x82, 0xc0, 0x00, 0xa0, 0xc9, 0x69, + 0x72, 0x71, 0x29, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x62, 0x52, + 0x69, 0x67, 0x68, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x14, 0x00, + 0x0b, 0x00, +}; + +#define D3DRM_XTEMPLATE_BYTES 3278 + +#endif /* __WINE_RMXFTMPL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxftmpl.x b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxftmpl.x new file mode 100644 index 0000000..9bc08e2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rmxftmpl.x @@ -0,0 +1,272 @@ +xof 0302txt 0064 +// Copyright (C) 2011 Dylan Smith +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +#pragma xftmpl name D3DRM_XTEMPLATES +#pragma xftmpl size D3DRM_XTEMPLATE_BYTES +#pragma makedep install + +template Header +{ + <3D82AB43-62DA-11CF-AB39-0020AF71E433> + WORD major; + WORD minor; + DWORD flags; +} + +template Vector +{ + <3D82AB5E-62DA-11CF-AB39-0020AF71E433> + FLOAT x; + FLOAT y; + FLOAT z; +} + +template Coords2d +{ + + FLOAT u; + FLOAT v; +} + +template Matrix4x4 +{ + + array FLOAT matrix[16]; +} + +template ColorRGBA +{ + <35FF44E0-6C7C-11CF-8F52-0040333594A3> + FLOAT red; + FLOAT green; + FLOAT blue; + FLOAT alpha; +} + +template ColorRGB +{ + + FLOAT red; + FLOAT green; + FLOAT blue; +} + +template IndexedColor +{ + <1630B820-7842-11CF-8F52-0040333594A3> + DWORD index; + ColorRGBA indexColor; +} + +template Boolean +{ + <537DA6A0-CA37-11D0-941C-0080C80CFA7B> + DWORD truefalse; +} + +template Boolean2d +{ + <4885AE63-78E8-11CF-8F52-0040333594A3> + Boolean u; + Boolean v; +} + +template MaterialWrap +{ + <4885AE60-78E8-11CF-8F52-0040333594A3> + Boolean u; + Boolean v; +} + +template TextureFilename +{ + + STRING filename; +} + +template Material +{ + <3D82AB4D-62DA-11CF-AB39-0020AF71E433> + ColorRGBA faceColor; + FLOAT power; + ColorRGB specularColor; + ColorRGB emissiveColor; + [ ... ] +} + +template MeshFace +{ + <3D82AB5F-62DA-11CF-AB39-0020AF71E433> + DWORD nFaceVertexIndices; + array DWORD faceVertexIndices[nFaceVertexIndices]; +} + +template MeshFaceWraps +{ + + DWORD nFaceWrapValues; + array Boolean2d faceWrapValues[nFaceWrapValues]; +} + +template MeshTextureCoords +{ + + DWORD nTextureCoords; + array Coords2d textureCoords[nTextureCoords]; +} + +template MeshMaterialList +{ + + DWORD nMaterials; + DWORD nFaceIndexes; + array DWORD faceIndexes[nFaceIndexes]; + [ Material ] +} + +template MeshNormals +{ + + DWORD nNormals; + array Vector normals[nNormals]; + DWORD nFaceNormals; + array MeshFace faceNormals[nFaceNormals]; +} + +template MeshVertexColors +{ + <1630B821-7842-11CF-8F52-0040333594A3> + DWORD nVertexColors; + array IndexedColor vertexColors[nVertexColors]; +} + +template Mesh +{ + <3D82AB44-62DA-11CF-AB39-0020AF71E433> + DWORD nVertices; + array Vector vertices[nVertices]; + DWORD nFaces; + array MeshFace faces[nFaces]; + [ ... ] +} + +template FrameTransformMatrix +{ + + Matrix4x4 frameMatrix; +} + +template Frame +{ + <3D82AB46-62DA-11CF-AB39-0020AF71E433> + [ ... ] +} + +template FloatKeys +{ + <10DD46A9-775B-11CF-8F52-0040333594A3> + DWORD nValues; + array FLOAT values[nValues]; +} + +template TimedFloatKeys +{ + + DWORD time; + FloatKeys tfkeys; +} + +template AnimationKey +{ + <10DD46A8-775B-11CF-8F52-0040333594A3> + DWORD keyType; + DWORD nKeys; + array TimedFloatKeys keys[nKeys]; +} + +template AnimationOptions +{ + + DWORD openclosed; + DWORD positionquality; +} + +template Animation +{ + <3D82AB4F-62DA-11CF-AB39-0020AF71E433> + [ ... ] +} + +template AnimationSet +{ + <3D82AB50-62DA-11CF-AB39-0020AF71E433> + [ Animation ] +} + +template InlineData +{ + <3A23EEA0-94B1-11D0-AB39-0020AF71E433> + [ BINARY ] +} + +template Url +{ + <3A23EEA1-94B1-11D0-AB39-0020AF71E433> + DWORD nUrls; + array STRING urls[nUrls]; +} + +template ProgressiveMesh +{ + <8A63C360-997D-11D0-941C-0080C80CFA7B> + [ Url, InlineData ] +} + +template Guid +{ + + DWORD data1; + WORD data2; + WORD data3; + array UCHAR data4[8]; +} + +template StringProperty +{ + <7F0F21E0-BFE1-11D1-82C0-00A0C9697271> + STRING key; + STRING value; +} + +template PropertyBag +{ + <7F0F21E1-BFE1-11D1-82C0-00A0C9697271> + [ StringProperty ] +} + +template ExternalVisual +{ + <98116AA0-BDBA-11D1-82C0-00A0C9697271> + Guid guidExternalVisual; + [ ... ] +} + +template RightHanded +{ + <7F5D5EA0-D53A-11D1-82C0-00A0C9697271> + DWORD bRightHanded; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/roapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/roapi.h new file mode 100644 index 0000000..0421fe9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/roapi.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2014 Martin Storsjo + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ROAPI_H +#define __WINE_ROAPI_H + +#include + +typedef enum +{ + RO_INIT_SINGLETHREADED = 0, + RO_INIT_MULTITHREADED = 1, +} RO_INIT_TYPE; + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI RoInitialize(RO_INIT_TYPE type); +void WINAPI RoUninitialize(void); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ROAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/row.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/row.idl new file mode 100644 index 0000000..554bc4b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/row.idl @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + local, + object, + uuid(0c733ab4-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRow : IUnknown +{ + [local] + HRESULT GetColumns([in] DBORDINAL cColumns, + [in, out, size_is(cColumns), annotation("__inout_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]); + + + HRESULT GetSourceRowset([in, annotation("__in")] REFIID riid, + [out, iid_is(riid), annotation("__deref_opt_out_opt")] IUnknown **ppRowset, + [out, annotation("__out_opt")] HROW *phRow); + + HRESULT Open([in, unique, annotation("__in_opt")] IUnknown *pUnkOuter, + [in, annotation("__in")] DBID *pColumnID, + [in, annotation("__in")] REFGUID rguidColumnType, + [in] DWORD dwBindFlags, + [in, annotation("__in")] REFIID riid, + [out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppUnk); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowchg.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowchg.idl new file mode 100644 index 0000000..4c2000a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowchg.idl @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + local, + object, + uuid(0c733ab5-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowChange : IUnknown +{ + [local] + HRESULT SetColumns([in] DBORDINAL cColumns, + [in, out, size_is(cColumns), annotation("__in_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowpos.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowpos.idl new file mode 100644 index 0000000..7658d19 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowpos.idl @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2013 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a94-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowPosition : IUnknown +{ + typedef DWORD DBPOSITIONFLAGS; + + enum DBPOSITIONFLAGSENUM { + DBPOSITION_OK, + DBPOSITION_NOROW, + DBPOSITION_BOF, + DBPOSITION_EOF + }; + + [local] + HRESULT ClearRowPosition(); + + [call_as(ClearRowPosition)] + HRESULT RemoteClearRowPosition([out] IErrorInfo **errorinfo); + + [local] + HRESULT GetRowPosition([out] HCHAPTER *chapter, + [out] HROW *row, + [out] DBPOSITIONFLAGS *position_flags); + + [call_as(GetRowPosition)] + HRESULT RemoteGetRowPosition([out] HCHAPTER *chapter, + [out] HROW *row, + [out] DBPOSITIONFLAGS *position_flags, + [out] IErrorInfo **errorinfo); + [local] + HRESULT GetRowset([in] REFIID riid, + [out, iid_is(riid)] IUnknown **rowset); + + [call_as(GetRowset)] + HRESULT RemoteGetRowset([in] REFIID riid, + [out, iid_is(riid)] IUnknown **rowset, + [out] IErrorInfo **errorinfo); + + [local] + HRESULT Initialize([in] IUnknown *rowset); + + [call_as(Initialize)] + HRESULT RemoteInitialize([in] IUnknown *rowset, + [out] IErrorInfo **errorinfo); + + [local] + HRESULT SetRowPosition([in] HCHAPTER chapter, + [in] HROW row, + [in] DBPOSITIONFLAGS flags); + + [call_as(SetRowPosition)] + HRESULT RemoteSetRowPosition([in] HCHAPTER chapter, + [in] HROW row, + [in] DBPOSITIONFLAGS flags, + [out] IErrorInfo **errorinfo); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowpsc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowpsc.idl new file mode 100644 index 0000000..04fabd4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rowpsc.idl @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2013 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0997a571-126e-11d0-9f8a-00a0c9a0631e), + pointer_default(unique) +] +interface IRowPositionChange : IUnknown +{ + [local] + HRESULT OnRowPositionChange([in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cant_deny); + + [call_as(OnRowPositionChange)] + HRESULT RemoteOnRowPositionChange([in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cant_deny, + [out] IErrorInfo **errorinfo); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpc.h new file mode 100644 index 0000000..eb7d041 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpc.h @@ -0,0 +1,84 @@ +/* + * RPC interface + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef RPC_NO_WINDOWS_H +# include +#endif + +#ifndef __WINE_RPC_H +#define __WINE_RPC_H + +#if defined(__powerpc__) || defined(_MAC) /* ? */ +# define __RPC_MAC__ + /* Also define __RPC_WIN32__ to ensure compatibility */ +# define __RPC_WIN32__ +#elif defined(_WIN64) +# define __RPC_WIN64__ +#else +# define __RPC_WIN32__ +#endif + +#include + +#define __RPC_FAR +#define __RPC_API __stdcall +#define __RPC_USER __stdcall +#define __RPC_STUB __stdcall +#define RPC_ENTRY __stdcall +#define RPCRTAPI +typedef LONG RPC_STATUS; + +typedef void* I_RPC_HANDLE; + +#include +/* #include */ +#include +#include +#include +#ifndef RPC_NO_WINDOWS_H +#include +#endif + +#ifdef USE_COMPILER_EXCEPTIONS + +#define RpcTryExcept __try { +#define RpcExcept(expr) } __except (expr) { +#define RpcEndExcept } +#define RpcTryFinally __try { +#define RpcFinally } __finally { +#define RpcEndFinally } +#define RpcExceptionCode() GetExceptionCode() +#define RpcAbnormalTermination() AbnormalTermination() + +#else /* USE_COMPILER_EXCEPTIONS */ + +/* ignore exception handling for now */ +#define RpcTryExcept if (1) { +#define RpcExcept(expr) } else { +#define RpcEndExcept } +#define RpcTryFinally +#define RpcFinally +#define RpcEndFinally +#define RpcExceptionCode() 0 +/* #define RpcAbnormalTermination() abort() */ + +#endif /* USE_COMPILER_EXCEPTIONS */ + +#endif /*__WINE_RPC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcasync.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcasync.h new file mode 100644 index 0000000..f0bcb6d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcasync.h @@ -0,0 +1,201 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_RPCASYNC_H +#define __WINE_RPCASYNC_H + +#ifdef RPC_NO_WINDOWS_H +# include +#endif + +#ifdef __RPC_WIN64__ +# include +#endif + +typedef struct tagRPC_ERROR_ENUM_HANDLE +{ + ULONG Signature; + void* CurrentPos; + void* Head; +} RPC_ERROR_ENUM_HANDLE; + +typedef enum tagExtendedErrorParamTypes +{ + eeptAnsiString = 1, + eeptUnicodeString, + eeptLongVal, + eeptShortVal, + eeptPointerVal, + eeptNone, + eeptBinary +} ExtendedErrorParamTypes; + +#define MaxNumberOfEEInfoParams 4 +#define RPC_EEINFO_VERSION 1 + +typedef struct tagBinaryParam +{ + void *Buffer; + short Size; +} BinaryParam; + +typedef struct tagRPC_EE_INFO_PARAM +{ + ExtendedErrorParamTypes ParameterType; + union + { + LPSTR AnsiString; + LPWSTR UnicodeString; + LONG LVal; + short SVal; + ULONGLONG PVal; + BinaryParam BVal; + } u; +} RPC_EE_INFO_PARAM; + +#define EEInfoPreviousRecordsMissing 0x1 +#define EEInfoNextRecordsMissing 0x2 +#define EEInfoUseFileTime 0x4 + +#define EEInfoGCCOM 11 +#define EEInfoGCFRS 12 + +typedef struct tagRPC_EXTENDED_ERROR_INFO +{ + ULONG Version; + LPWSTR ComputerName; + ULONG ProcessID; + union + { + SYSTEMTIME SystemTime; + FILETIME FileTime; + } u; + ULONG GeneratingComponent; + ULONG Status; + USHORT DetectionLocation; + USHORT Flags; + int NumberOfParameters; + RPC_EE_INFO_PARAM Parameters[MaxNumberOfEEInfoParams]; +} RPC_EXTENDED_ERROR_INFO; + +#define RPC_ASYNC_VERSION_1_0 sizeof(RPC_ASYNC_STATE) + +typedef enum _RPC_NOTIFICATION_TYPES +{ + RpcNotificationTypeNone, + RpcNotificationTypeEvent, + RpcNotificationTypeApc, + RpcNotificationTypeIoc, + RpcNotificationTypeHwnd, + RpcNotificationTypeCallback, +} RPC_NOTIFICATION_TYPES; + +typedef enum _RPC_ASYNC_EVENT +{ + RpcCallComplete, + RpcSendComplete, + RpcReceiveComplete, + RpcClientDisconnect, + RpcClientCancel, +} RPC_ASYNC_EVENT; + +struct _RPC_ASYNC_STATE; + +typedef void RPC_ENTRY RPCNOTIFICATION_ROUTINE(struct _RPC_ASYNC_STATE *,void *,RPC_ASYNC_EVENT); +typedef RPCNOTIFICATION_ROUTINE *PFN_RPCNOTIFICATION_ROUTINE; + +typedef union _RPC_ASYNC_NOTIFICATION_INFO +{ + struct + { + PFN_RPCNOTIFICATION_ROUTINE NotificationRoutine; + HANDLE hThread; + } APC; + struct + { + HANDLE hIOPort; + DWORD dwNumberOfBytesTransferred; + DWORD_PTR dwCompletionKey; + LPOVERLAPPED lpOverlapped; + } IOC; + struct + { + HWND hWnd; + UINT Msg; + } HWND; + HANDLE hEvent; + PFN_RPCNOTIFICATION_ROUTINE NotificationRoutine; +} RPC_ASYNC_NOTIFICATION_INFO, *PRPC_ASYNC_NOTIFICATION_INFO; + +#define RPC_C_NOTIFY_ON_SEND_COMPLETE 0x1 +#define RPC_C_INFINITE_TIMEOUT INFINITE + +typedef struct _RPC_ASYNC_STATE +{ + unsigned int Size; + ULONG Signature; + LONG Lock; + ULONG Flags; + void *StubInfo; + void *UserInfo; + void *RuntimeInfo; + RPC_ASYNC_EVENT Event; + RPC_NOTIFICATION_TYPES NotificationType; + RPC_ASYNC_NOTIFICATION_INFO u; + LONG_PTR Reserved[4]; +} RPC_ASYNC_STATE, *PRPC_ASYNC_STATE; + +#define RpcAsyncGetCallHandle(async) (((PRPC_ASYNC_STATE)async)->RuntimeInfo) + +#ifdef __RPC_WIN64__ +# include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncInitializeHandle(PRPC_ASYNC_STATE,unsigned int); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncRegisterInfo(PRPC_ASYNC_STATE); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncGetCallStatus(PRPC_ASYNC_STATE); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncCompleteCall(PRPC_ASYNC_STATE,void *); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncAbortCall(PRPC_ASYNC_STATE,ULONG); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncCancelCall(PRPC_ASYNC_STATE,BOOL); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncCleanupThread(DWORD); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorGetNextRecord(RPC_ERROR_ENUM_HANDLE*,BOOL,RPC_EXTENDED_ERROR_INFO*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorEndEnumeration(RPC_ERROR_ENUM_HANDLE*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorResetEnumeration(RPC_ERROR_ENUM_HANDLE*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorGetNumberOfRecords(RPC_ERROR_ENUM_HANDLE*,int*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorSaveErrorInfo(RPC_ERROR_ENUM_HANDLE*,PVOID*,SIZE_T*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorLoadErrorInfo(PVOID,SIZE_T,RPC_ERROR_ENUM_HANDLE*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorAddRecord(RPC_EXTENDED_ERROR_INFO*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorClearInformation(void); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcGetAuthorizationContextForClient(RPC_BINDING_HANDLE,BOOL,LPVOID,PLARGE_INTEGER,LUID,DWORD,PVOID,PVOID*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcFreeAuthorizationContext(PVOID*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcSsContextLockExclusive(RPC_BINDING_HANDLE,PVOID); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcSsContextLockShared(RPC_BINDING_HANDLE,PVOID); + +RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcAsyncSetHandle(PRPC_MESSAGE,PRPC_ASYNC_STATE); +RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcAsyncAbortCall(PRPC_ASYNC_STATE,ULONG); +RPCRTAPI int RPC_ENTRY I_RpcExceptionFilter(ULONG); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcdce.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcdce.h new file mode 100644 index 0000000..ee01d88 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcdce.h @@ -0,0 +1,633 @@ +/* + * Copyright (C) 2000 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_RPCDCE_H +#define __WINE_RPCDCE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef IN +#define IN +#endif +#ifndef OUT +#define OUT +#endif +#ifndef OPTIONAL +#define OPTIONAL +#endif + +#ifndef GUID_DEFINED +#include +#endif + +#ifndef UUID_DEFINED +#define UUID_DEFINED +typedef GUID UUID; +#endif + +typedef unsigned char* RPC_CSTR; +typedef unsigned short* RPC_WSTR; +typedef void* RPC_AUTH_IDENTITY_HANDLE; +typedef void* RPC_AUTHZ_HANDLE; +typedef void* RPC_IF_HANDLE; +typedef I_RPC_HANDLE RPC_BINDING_HANDLE; +typedef RPC_BINDING_HANDLE handle_t; +#define rpc_binding_handle_t RPC_BINDING_HANDLE +#define RPC_MGR_EPV void + +typedef struct _RPC_BINDING_VECTOR +{ + ULONG Count; + RPC_BINDING_HANDLE BindingH[1]; +} RPC_BINDING_VECTOR; +#define rpc_binding_vector_t RPC_BINDING_VECTOR + +typedef struct _UUID_VECTOR +{ + ULONG Count; + UUID *Uuid[1]; +} UUID_VECTOR; +#define uuid_vector_t UUID_VECTOR + +typedef struct _RPC_IF_ID +{ + UUID Uuid; + unsigned short VersMajor; + unsigned short VersMinor; +} RPC_IF_ID; + +typedef struct +{ + ULONG Count; + RPC_IF_ID *IfId[1]; +} RPC_IF_ID_VECTOR; + +typedef struct +{ + unsigned int Count; + ULONG Stats[1]; +} RPC_STATS_VECTOR; + +typedef struct _RPC_PROTSEQ_VECTORA +{ + unsigned int Count; + unsigned char *Protseq[1]; +} RPC_PROTSEQ_VECTORA; + +typedef struct _RPC_PROTSEQ_VECTORW +{ + unsigned int Count; + unsigned short *Protseq[1]; +} RPC_PROTSEQ_VECTORW; + +DECL_WINELIB_TYPE_AW(RPC_PROTSEQ_VECTOR) + +typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE; + +#define RPC_C_EP_ALL_ELTS 0 +#define RPC_C_EP_MATCH_BY_IF 1 +#define RPC_C_EP_MATCH_BY_OBJ 2 +#define RPC_C_EP_MATCH_BY_BOTH 3 + +#define RPC_C_VERS_ALL 1 +#define RPC_C_VERS_COMPATIBLE 2 +#define RPC_C_VERS_EXACT 3 +#define RPC_C_VERS_MAJOR_ONLY 4 +#define RPC_C_VERS_UPTO 5 + +#define RPC_C_BINDING_INFINITE_TIMEOUT 10 +#define RPC_C_BINDING_MIN_TIMEOUT 0 +#define RPC_C_BINDING_DEFAULT_TIMEOUT 5 +#define RPC_C_BINDING_MAX_TIMEOUT 9 + +#define RPC_C_CANCEL_INFINITE_TIMEOUT -1 + +#define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234 +#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10 + +#define RPC_PROTSEQ_TCP 0x1 +#define RPC_PROTSEQ_NMP 0x2 +#define RPC_PROTSEQ_LRPC 0x3 +#define RPC_PROTSEQ_HTTP 0x4 + +/* RPC_POLICY EndpointFlags */ +#define RPC_C_BIND_TO_ALL_NICS 0x1 +#define RPC_C_USE_INTERNET_PORT 0x1 +#define RPC_C_USE_INTRANET_PORT 0x2 +#define RPC_C_DONT_FAIL 0x4 + +/* RPC_POLICY EndpointFlags specific to the Falcon/RPC transport */ +#define RPC_C_MQ_TEMPORARY 0x0000 +#define RPC_C_MQ_PERMANENT 0x0001 +#define RPC_C_MQ_CLEAR_ON_OPEN 0x0002 +#define RPC_C_MQ_USE_EXISTING_SECURITY 0x0004 +#define RPC_C_MQ_AUTHN_LEVEL_NONE 0x0000 +#define RPC_C_MQ_AUTHN_LEVEL_PKT_INTEGRITY 0x0008 +#define RPC_C_MQ_AUTHN_LEVEL_PKT_PRIVACY 0x0010 + +#define RPC_C_AUTHN_LEVEL_DEFAULT 0 +#define RPC_C_AUTHN_LEVEL_NONE 1 +#define RPC_C_AUTHN_LEVEL_CONNECT 2 +#define RPC_C_AUTHN_LEVEL_CALL 3 +#define RPC_C_AUTHN_LEVEL_PKT 4 +#define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY 5 +#define RPC_C_AUTHN_LEVEL_PKT_PRIVACY 6 + +#define RPC_C_AUTHN_NONE 0 +#define RPC_C_AUTHN_DCE_PRIVATE 1 +#define RPC_C_AUTHN_DCE_PUBLIC 2 +#define RPC_C_AUTHN_DEC_PUBLIC 4 +#define RPC_C_AUTHN_GSS_NEGOTIATE 9 +#define RPC_C_AUTHN_WINNT 10 +#define RPC_C_AUTHN_GSS_SCHANNEL 14 +#define RPC_C_AUTHN_GSS_KERBEROS 16 +#define RPC_C_AUTHN_DPA 17 +#define RPC_C_AUTHN_MSN 18 +#define RPC_C_AUTHN_DIGEST 21 +#define RPC_C_AUTHN_MQ 100 +#define RPC_C_AUTHN_DEFAULT 0xffffffff + +#define RPC_C_AUTHZ_NONE 0 +#define RPC_C_AUTHZ_NAME 1 +#define RPC_C_AUTHZ_DCE 2 +#define RPC_C_AUTHZ_DEFAULT 0xffffffff + +/* values for RPC_SECURITY_QOS*::ImpersonationType */ +#define RPC_C_IMP_LEVEL_DEFAULT 0 +#define RPC_C_IMP_LEVEL_ANONYMOUS 1 +#define RPC_C_IMP_LEVEL_IDENTIFY 2 +#define RPC_C_IMP_LEVEL_IMPERSONATE 3 +#define RPC_C_IMP_LEVEL_DELEGATE 4 + +/* values for RPC_SECURITY_QOS*::IdentityTracking */ +#define RPC_C_QOS_IDENTITY_STATIC 0 +#define RPC_C_QOS_IDENTITY_DYNAMIC 1 + +/* flags for RPC_SECURITY_QOS*::Capabilities */ +#define RPC_C_QOS_CAPABILITIES_DEFAULT 0x0 +#define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 0x1 +#define RPC_C_QOS_CAPABILITIES_MAKE_FULLSIC 0x2 +#define RPC_C_QOS_CAPABILITIES_ANY_AUTHORITY 0x4 + +/* values for RPC_SECURITY_QOS*::Version */ +#define RPC_C_SECURITY_QOS_VERSION 1 +#define RPC_C_SECURITY_QOS_VERSION_1 1 +#define RPC_C_SECURITY_QOS_VERSION_2 2 + +/* flags for RPC_SECURITY_QOS_V2::AdditionalSecurityInfoType */ +#define RPC_C_AUTHN_INFO_TYPE_HTTP 1 + +/* flags for RPC_HTTP_TRANSPORT_CREDENTIALS::Flags */ +#define RPC_C_HTTP_FLAG_USE_SSL 0x1 +#define RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME 0x2 + +/* values for RPC_HTTP_TRANSPORT_CREDENTIALS::AuthenticationTarget */ +#define RPC_C_HTTP_AUTHN_TARGET_SERVER 1 +#define RPC_C_HTTP_AUTHN_TARGET_PROXY 2 + +#define RPC_C_HTTP_AUTHN_SCHEME_BASIC 0x01 +#define RPC_C_HTTP_AUTHN_SCHEME_NTLM 0x02 +#define RPC_C_HTTP_AUTHN_SCHEME_PASSPORT 0x04 +#define RPC_C_HTTP_AUTHN_SCHEME_DIGEST 0x08 +#define RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE 0x10 + +typedef RPC_STATUS RPC_ENTRY RPC_IF_CALLBACK_FN( RPC_IF_HANDLE InterfaceUuid, void *Context ); +typedef void (__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)(void *, RPC_WSTR, ULONG, void **, RPC_STATUS *); + +typedef struct _RPC_POLICY +{ + unsigned int Length; + ULONG EndpointFlags; + ULONG NICFlags; +} RPC_POLICY, *PRPC_POLICY; + +typedef struct _SEC_WINNT_AUTH_IDENTITY_W +{ + unsigned short* User; + ULONG UserLength; + unsigned short* Domain; + ULONG DomainLength; + unsigned short* Password; + ULONG PasswordLength; + ULONG Flags; +} SEC_WINNT_AUTH_IDENTITY_W, *PSEC_WINNT_AUTH_IDENTITY_W; + +typedef struct _SEC_WINNT_AUTH_IDENTITY_A +{ + unsigned char* User; + ULONG UserLength; + unsigned char* Domain; + ULONG DomainLength; + unsigned char* Password; + ULONG PasswordLength; + ULONG Flags; +} SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A; + +typedef struct _RPC_HTTP_TRANSPORT_CREDENTIALS_W +{ + SEC_WINNT_AUTH_IDENTITY_W *TransportCredentials; + ULONG Flags; + ULONG AuthenticationTarget; + ULONG NumberOfAuthnSchemes; + ULONG *AuthnSchemes; + unsigned short *ServerCertificateSubject; +} RPC_HTTP_TRANSPORT_CREDENTIALS_W, *PRPC_HTTP_TRANSPORT_CREDENTIALS_W; + +typedef struct _RPC_HTTP_TRANSPORT_CREDENTIALS_A +{ + SEC_WINNT_AUTH_IDENTITY_A *TransportCredentials; + ULONG Flags; + ULONG AuthenticationTarget; + ULONG NumberOfAuthnSchemes; + ULONG *AuthnSchemes; + unsigned char *ServerCertificateSubject; +} RPC_HTTP_TRANSPORT_CREDENTIALS_A, *PRPC_HTTP_TRANSPORT_CREDENTIALS_A; + +typedef struct _RPC_SECURITY_QOS { + ULONG Version; + ULONG Capabilities; + ULONG IdentityTracking; + ULONG ImpersonationType; +} RPC_SECURITY_QOS, *PRPC_SECURITY_QOS; + +typedef struct _RPC_SECURITY_QOS_V2_W +{ + ULONG Version; + ULONG Capabilities; + ULONG IdentityTracking; + ULONG ImpersonationType; + ULONG AdditionalSecurityInfoType; + union + { + RPC_HTTP_TRANSPORT_CREDENTIALS_W *HttpCredentials; + } u; +} RPC_SECURITY_QOS_V2_W, *PRPC_SECURITY_QOS_V2_W; + +typedef struct _RPC_SECURITY_QOS_V2_A +{ + ULONG Version; + ULONG Capabilities; + ULONG IdentityTracking; + ULONG ImpersonationType; + ULONG AdditionalSecurityInfoType; + union + { + RPC_HTTP_TRANSPORT_CREDENTIALS_A *HttpCredentials; + } u; +} RPC_SECURITY_QOS_V2_A, *PRPC_SECURITY_QOS_V2_A; + +#define _SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(_SEC_WINNT_AUTH_IDENTITY_) +#define SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(SEC_WINNT_AUTH_IDENTITY_) +#define PSEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(PSEC_WINNT_AUTH_IDENTITY_) + +#define RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(RPC_HTTP_TRANSPORT_CREDENTIALS_) +#define PRPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(PRPC_HTTP_TRANSPORT_CREDENTIALS_) +#define _RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(_RPC_HTTP_TRANSPORT_CREDENTIALS_) + +#define RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(RPC_SECURITY_QOS_V2_) +#define PRPC_SECURITY_QOS_V2 WINELIB_NAME_AW(PRPC_SECURITY_QOS_V2_) +#define _RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(_RPC_SECURITY_QOS_V2_) + +/* SEC_WINNT_AUTH Flags */ +#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1 +#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2 + +/* RpcServerRegisterIfEx Flags */ +#define RPC_IF_AUTOLISTEN 0x01 +#define RPC_IF_OLE 0x02 +#define RPC_IF_ALLOW_UNKNOWN_AUTHORITY 0x04 +#define RPC_IF_ALLOW_SECURE_ONLY 0x08 +#define RPC_IF_ALLOW_CALLBACKS_WITH_NO_AUTH 0x10 +#define RPC_IF_ALLOW_LOCAL_ONLY 0x20 +#define RPC_IF_SEC_NO_CACHE 0x40 + +RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, RPC_CSTR buffer); +RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer); +#define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText) + +RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY + RpcRaiseException( RPC_STATUS exception ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingCopy( RPC_BINDING_HANDLE SourceBinding, RPC_BINDING_HANDLE* DestinationBinding ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingFree( RPC_BINDING_HANDLE* Binding ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR *OptionValue ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingReset( RPC_BINDING_HANDLE Binding ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingServerFromClient( RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE* ServerBinding ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingSetObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingSetOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR OptionValue ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingFromStringBindingA( RPC_CSTR StringBinding, RPC_BINDING_HANDLE* Binding ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingFromStringBindingW( RPC_WSTR StringBinding, RPC_BINDING_HANDLE* Binding ); +#define RpcBindingFromStringBinding WINELIB_NAME_AW(RpcBindingFromStringBinding) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, RPC_CSTR *StringBinding ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingToStringBindingW( RPC_BINDING_HANDLE Binding, RPC_WSTR *StringBinding ); +#define RpcBindingToStringBinding WINELIB_NAME_AW(RpcBindingToStringBinding) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingVectorFree( RPC_BINDING_VECTOR** BindingVector ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcStringBindingComposeA( RPC_CSTR ObjUuid, RPC_CSTR Protseq, RPC_CSTR NetworkAddr, + RPC_CSTR Endpoint, RPC_CSTR Options, RPC_CSTR *StringBinding ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcStringBindingComposeW( RPC_WSTR ObjUuid, RPC_WSTR Protseq, RPC_WSTR NetworkAddr, + RPC_WSTR Endpoint, RPC_WSTR Options, RPC_WSTR *StringBinding ); +#define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcStringBindingParseA( RPC_CSTR StringBinding, RPC_CSTR *ObjUuid, RPC_CSTR *Protseq, + RPC_CSTR *NetworkAddr, RPC_CSTR *Endpoint, RPC_CSTR *NetworkOptions ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcStringBindingParseW( RPC_WSTR StringBinding, RPC_WSTR *ObjUuid, RPC_WSTR *Protseq, + RPC_WSTR *NetworkAddr, RPC_WSTR *Endpoint, RPC_WSTR *NetworkOptions ); +#define RpcStringBindingParse WINELIB_NAME_AW(RpcStringBindingParse) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcEpResolveBinding( RPC_BINDING_HANDLE Binding, RPC_IF_HANDLE IfSpec ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcEpRegisterA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, + UUID_VECTOR* UuidVector, RPC_CSTR Annotation ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcEpRegisterW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, + UUID_VECTOR* UuidVector, RPC_WSTR Annotation ); +#define RpcEpRegister WINELIB_NAME_AW(RpcEpRegister) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcEpRegisterNoReplaceA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, + UUID_VECTOR* UuidVector, RPC_CSTR Annotation ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcEpRegisterNoReplaceW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, + UUID_VECTOR* UuidVector, RPC_WSTR Annotation ); +#define RpcEpRegisterNoReplace WINELIB_NAME_AW(RpcEpRegisterNoReplace) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcEpUnregister( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, + UUID_VECTOR* UuidVector ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerInqBindings( RPC_BINDING_VECTOR** BindingVector ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtEnableIdleCleanup( void ); + +typedef int (__RPC_API *RPC_MGMT_AUTHORIZATION_FN)( RPC_BINDING_HANDLE, ULONG, RPC_STATUS * ); + +RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetAuthorizationFn( RPC_MGMT_AUTHORIZATION_FN ); + +RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtWaitServerListen( void ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtInqStats( RPC_BINDING_HANDLE Binding, RPC_STATS_VECTOR **Statistics ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtStopServerListening( RPC_BINDING_HANDLE Binding ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtInqIfIds( RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR** IfIdVector ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtEpEltInqBegin( RPC_BINDING_HANDLE EpBinding, ULONG InquiryType, RPC_IF_ID *IfId, + ULONG VersOption, UUID *ObjectUuid, RPC_EP_INQ_HANDLE *InquiryContext); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtSetComTimeout( RPC_BINDING_HANDLE Binding, unsigned int Timeout ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcMgmtSetServerStackSize( ULONG ThreadStackSize ); + +RPCRTAPI RPC_STATUS RPC_ENTRY +RpcMgmtStatsVectorFree( RPC_STATS_VECTOR **StatsVector ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerRegisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerRegisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv, + unsigned int Flags, unsigned int MaxCalls, RPC_IF_CALLBACK_FN* IfCallbackFn ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerRegisterIf2( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv, + unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize, RPC_IF_CALLBACK_FN* IfCallbackFn ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerRegisterIf3( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv, + unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize, + RPC_IF_CALLBACK_FN* IfCallbackFn, void* SecurityDescriptor ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUnregisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, unsigned int WaitForCallsToComplete ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUnregisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, int RundownContextHandles ); + + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUseProtseqA(RPC_CSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUseProtseqW(RPC_WSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor); +#define RpcServerUseProtseq WINELIB_NAME_AW(RpcServerUseProtseq) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUseProtseqEpA( RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUseProtseqEpW( RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor ); +#define RpcServerUseProtseqEp WINELIB_NAME_AW(RpcServerUseProtseqEp) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUseProtseqEpExA( RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor, + PRPC_POLICY Policy ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerUseProtseqEpExW( RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor, + PRPC_POLICY Policy ); +#define RpcServerUseProtseqEpEx WINELIB_NAME_AW(RpcServerUseProtseqEpEx) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerRegisterAuthInfoA( RPC_CSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn, + void *Arg ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerRegisterAuthInfoW( RPC_WSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn, + void *Arg ); +#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, ULONG AuthnLevel, + ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr, + RPC_SECURITY_QOS *SecurityQos ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, ULONG AuthnLevel, + ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr, + RPC_SECURITY_QOS *SecurityQos ); +#define RpcBindingSetAuthInfoEx WINELIB_NAME_AW(RpcBindingSetAuthInfoEx) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingSetAuthInfoA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, ULONG AuthnLevel, + ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingSetAuthInfoW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, ULONG AuthnLevel, + ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr ); +#define RpcBindingSetAuthInfo WINELIB_NAME_AW(RpcBindingSetAuthInfo) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR * ServerPrincName, ULONG *AuthnLevel, + ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc, + ULONG RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, + ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc, + ULONG RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS ); +#define RpcBindingInqAuthInfoEx WINELIB_NAME_AW(RpcBindingInqAuthInfoEx) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthInfoA( RPC_BINDING_HANDLE Binding, RPC_CSTR * ServerPrincName, ULONG *AuthnLevel, + ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthInfoW( RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, + ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc ); +#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthClientA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, + RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc, + ULONG *AuthzSvc ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthClientW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, + RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc, + ULONG *AuthzSvc ); +#define RpcBindingInqAuthClient WINELIB_NAME_AW(RpcBindingInqAuthClient) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthClientExA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, + RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc, + ULONG *AuthzSvc, ULONG Flags ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcBindingInqAuthClientExW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, + RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc, + ULONG *AuthzSvc, ULONG Flags ); +#define RpcBindingInqAuthClientEx WINELIB_NAME_AW(RpcBindingInqAuthClientEx) + +RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*); +RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void*,LONG); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcImpersonateClient( RPC_BINDING_HANDLE Binding ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcNetworkIsProtseqValidA( RPC_CSTR protseq ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcNetworkIsProtseqValidW( RPC_WSTR protseq ); +#define RpcNetworkIsProtseqValid WINELIB_NAME_AW(RpcNetworkIsProtseqValid) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcNetworkInqProtseqsA( RPC_PROTSEQ_VECTORA** protseqs ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcNetworkInqProtseqsW( RPC_PROTSEQ_VECTORW** protseqs ); +#define RpcNetworkInqProtseqs WINELIB_NAME_AW(RpcNetworkInqProtseqs) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcProtseqVectorFreeA( RPC_PROTSEQ_VECTORA** protseqs ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcProtseqVectorFreeW( RPC_PROTSEQ_VECTORW** protseqs ); +#define RpcProtseqVectorFree WINELIB_NAME_AW(RpcProtseqVectorFree) + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcRevertToSelf( void ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcRevertToSelfEx( RPC_BINDING_HANDLE Binding ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcStringFreeA(RPC_CSTR* String); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcStringFreeW(RPC_WSTR* String); +#define RpcStringFree WINELIB_NAME_AW(RpcStringFree) + +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidToStringA( UUID* Uuid, RPC_CSTR* StringUuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidToStringW( UUID* Uuid, RPC_WSTR* StringUuid ); +#define UuidToString WINELIB_NAME_AW(UuidToString) + +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidFromStringA( RPC_CSTR StringUuid, UUID* Uuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidFromStringW( RPC_WSTR StringUuid, UUID* Uuid ); +#define UuidFromString WINELIB_NAME_AW(UuidFromString) + +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidCreate( UUID* Uuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidCreateSequential( UUID* Uuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + UuidCreateNil( UUID* Uuid ); +RPCRTAPI signed int RPC_ENTRY + UuidCompare( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ ); +RPCRTAPI int RPC_ENTRY + UuidEqual( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ ); +RPCRTAPI unsigned short RPC_ENTRY + UuidHash(UUID* Uuid, RPC_STATUS* Status_ ); +RPCRTAPI int RPC_ENTRY + UuidIsNil( UUID* Uuid, RPC_STATUS* Status_ ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerInqDefaultPrincNameA( ULONG AuthnSvc, RPC_CSTR *PrincName ); +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcServerInqDefaultPrincNameW( ULONG AuthnSvc, RPC_WSTR *PrincName ); +#define RpcServerInqDefaultPrincName WINELIB_NAME_AW(RpcServerInqDefaultPrincName) + +#ifdef __cplusplus +} +#endif + +#include + +#endif /*__WINE_RPCDCE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcdcep.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcdcep.h new file mode 100644 index 0000000..bf51806 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcdcep.h @@ -0,0 +1,235 @@ +/* + * Copyright (C) 2000 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_RPCDCEP_H +#define __WINE_RPCDCEP_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _RPC_VERSION { + unsigned short MajorVersion; + unsigned short MinorVersion; +} RPC_VERSION; + +typedef struct _RPC_SYNTAX_IDENTIFIER { + GUID SyntaxGUID; + RPC_VERSION SyntaxVersion; +} RPC_SYNTAX_IDENTIFIER, *PRPC_SYNTAX_IDENTIFIER; + +typedef struct _RPC_MESSAGE +{ + RPC_BINDING_HANDLE Handle; + ULONG DataRepresentation; + void* Buffer; + unsigned int BufferLength; + unsigned int ProcNum; + PRPC_SYNTAX_IDENTIFIER TransferSyntax; + void* RpcInterfaceInformation; + void* ReservedForRuntime; + RPC_MGR_EPV* ManagerEpv; + void* ImportContext; + ULONG RpcFlags; +} RPC_MESSAGE, *PRPC_MESSAGE; + +/* or'ed with ProcNum */ +#define RPC_FLAGS_VALID_BIT 0x00008000 + +#define RPC_CONTEXT_HANDLE_DEFAULT_GUARD ((void *)0xfffff00d) + +#define RPC_CONTEXT_HANDLE_DEFAULT_FLAGS 0x00000000 +#define RPC_CONTEXT_HANDLE_FLAGS 0x30000000 +#define RPC_CONTEXT_HANDLE_SERIALIZE 0x10000000 +#define RPC_CONTEXT_HANDLE_DONT_SERIALIZE 0x20000000 +#define RPC_TYPE_STRICT_CONTEXT_HANDLE 0x40000000 + +#define RPC_NCA_FLAGS_DEFAULT 0x00000000 +#define RPC_NCA_FLAGS_IDEMPOTENT 0x00000001 +#define RPC_NCA_FLAGS_BROADCAST 0x00000002 +#define RPC_NCA_FLAGS_MAYBE 0x00000004 + +#define RPC_BUFFER_COMPLETE 0x00001000 +#define RPC_BUFFER_PARTIAL 0x00002000 +#define RPC_BUFFER_EXTRA 0x00004000 +#define RPC_BUFFER_ASYNC 0x00008000 +#define RPC_BUFFER_NONOTIFY 0x00010000 + +#define RPCFLG_MESSAGE 0x01000000 +#define RPCFLG_HAS_MULTI_SYNTAXES 0x02000000 +#define RPCFLG_HAS_CALLBACK 0x04000000 +#define RPCFLG_AUTO_COMPLETE 0x08000000 +#define RPCFLG_LOCAL_CALL 0x10000000 +#define RPCFLG_INPUT_SYNCHRONOUS 0x20000000 +#define RPCFLG_ASYNCHRONOUS 0x40000000 +#define RPCFLG_NON_NDR 0x80000000 + +typedef void (__RPC_STUB *RPC_DISPATCH_FUNCTION)(PRPC_MESSAGE Message); +typedef RPC_STATUS (RPC_ENTRY *RPC_FORWARD_FUNCTION)(UUID *InterfaceId, RPC_VERSION *InterfaceVersion, UUID *ObjectId, unsigned char *Rpcpro, void **ppDestEndpoint); + +typedef struct +{ + unsigned int DispatchTableCount; + RPC_DISPATCH_FUNCTION* DispatchTable; + LONG_PTR Reserved; +} RPC_DISPATCH_TABLE, *PRPC_DISPATCH_TABLE; + +typedef struct _RPC_PROTSEQ_ENDPOINT +{ + unsigned char* RpcProtocolSequence; + unsigned char* Endpoint; +} RPC_PROTSEQ_ENDPOINT, *PRPC_PROTSEQ_ENDPOINT; + +#define NT351_INTERFACE_SIZE 0x40 +#define RPC_INTERFACE_HAS_PIPES 0x0001 + +typedef struct _RPC_SERVER_INTERFACE +{ + unsigned int Length; + RPC_SYNTAX_IDENTIFIER InterfaceId; + RPC_SYNTAX_IDENTIFIER TransferSyntax; + PRPC_DISPATCH_TABLE DispatchTable; + unsigned int RpcProtseqEndpointCount; + PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; + RPC_MGR_EPV* DefaultManagerEpv; + void const* InterpreterInfo; + unsigned int Flags; +} RPC_SERVER_INTERFACE, *PRPC_SERVER_INTERFACE; + +typedef struct _RPC_CLIENT_INTERFACE +{ + unsigned int Length; + RPC_SYNTAX_IDENTIFIER InterfaceId; + RPC_SYNTAX_IDENTIFIER TransferSyntax; + PRPC_DISPATCH_TABLE DispatchTable; + unsigned int RpcProtseqEndpointCount; + PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; + ULONG_PTR Reserved; + void const* InterpreterInfo; + unsigned int Flags; +} RPC_CLIENT_INTERFACE, *PRPC_CLIENT_INTERFACE; + +#define RPC_C_OPT_COOKIE_AUTH 7 + +typedef struct _RPC_C_OPT_COOKIE_AUTH_DESCRIPTOR +{ + ULONG BufferSize; + char *Buffer; +} RPC_C_OPT_COOKIE_AUTH_DESCRIPTOR; + +#define TRANSPORT_TYPE_CN 0x01 +#define TRANSPORT_TYPE_DG 0x02 +#define TRANSPORT_TYPE_LPC 0x04 +#define TRANSPORT_TYPE_WMSG 0x08 + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcNegotiateTransferSyntax( RPC_MESSAGE* Message ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcGetBuffer( RPC_MESSAGE* Message ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcGetBufferWithObject( RPC_MESSAGE* Message, UUID* ObjectUuid ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcSendReceive( RPC_MESSAGE* Message ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcFreeBuffer( RPC_MESSAGE* Message ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcSend( RPC_MESSAGE* Message ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcReceive( RPC_MESSAGE* Message ); + +RPCRTAPI void* RPC_ENTRY + I_RpcAllocate( unsigned int Size ); +RPCRTAPI void RPC_ENTRY + I_RpcFree( void* Object ); + +RPCRTAPI RPC_BINDING_HANDLE RPC_ENTRY + I_RpcGetCurrentCallHandle( void ); + +/* + * The platform SDK headers don't define these functions at all if WINNT is defined + * The MSVC6 headers define two different sets of functions : + * If WINNT and MSWMSG are defined, the NT versions are defined + * If WINNT is not defined, the windows 9x versions are defined. + * Note that the prototypes for I_RpcBindingSetAsync are different for each case. + * + * Wine defaults to the WinNT case and only defines these function is MSWMSG is + * defined. Defining the NT functions by default causes MIDL generated proxies + * to not compile. + */ + +#if 1 /* WINNT */ +#ifdef MSWMSG + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcServerStartListening( HWND hWnd ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcServerStopListening( void ); +/* WINNT */ +RPCRTAPI RPC_STATUS RPC_ENTRY + I_GetThreadWindowHandle( HWND* hWnd ); +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcAsyncSendReceive( RPC_MESSAGE* Message, void* Context, HWND hWnd ); + +typedef RPC_STATUS (*RPC_BLOCKING_FN)(void* hWnd, void* Context, HANDLE hSyncEvent); + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcBindingSetAsync( RPC_BINDING_HANDLE Binding, RPC_BLOCKING_FN BlockingFn ); + +RPCRTAPI UINT RPC_ENTRY + I_RpcWindowProc( void* hWnd, UINT Message, UINT wParam, ULONG lParam ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcSetWMsgEndpoint( WCHAR* Endpoint ); + +#endif + +#else + +/* WIN9x */ +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcServerStartListening( void* hWnd ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcServerStopListening( void ); + +typedef RPC_STATUS (*RPC_BLOCKING_FN)(void* hWnd, void* Context, void* hSyncEvent); + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcBindingSetAsync( RPC_BINDING_HANDLE Binding, RPC_BLOCKING_FN BlockingFn, ULONG ServerTid ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcSetThreadParams( int fClientFree, void* Context, void* hWndClient ); + +RPCRTAPI UINT RPC_ENTRY + I_RpcWindowProc( void* hWnd, unsigned int Message, unsigned int wParam, ULONG lParam ); + +#endif + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcBindingInqLocalClientPID (RPC_BINDING_HANDLE Binding, ULONG *Pid ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + I_RpcBindingInqTransportType( RPC_BINDING_HANDLE Binding, unsigned int* Type ); + +RPCRTAPI LONG RPC_ENTRY I_RpcMapWin32Status(RPC_STATUS); + +#ifdef __cplusplus +} +#endif + +#endif /*__WINE_RPCDCEP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcndr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcndr.h new file mode 100644 index 0000000..9029950 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcndr.h @@ -0,0 +1,777 @@ +/* + * Copyright (C) 2000 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __RPCNDR_H_VERSION__ +#define __RPCNDR_H_VERSION__ ( 500 ) +#endif + +#ifndef __WINE_RPCNDR_H +#define __WINE_RPCNDR_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#undef CONST_VTBL +#ifdef CONST_VTABLE +# define CONST_VTBL const +#else +# define CONST_VTBL +#endif + +#ifndef EXTERN_GUID +#ifdef __cplusplus +#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \ + EXTERN_C const GUID DECLSPEC_SELECTANY name = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } +#else +#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name +#endif +#endif + +/* stupid #if can't handle casts... this __stupidity + is just a workaround for that limitation */ + +#define __NDR_CHAR_REP_MASK 0x000f +#define __NDR_INT_REP_MASK 0x00f0 +#define __NDR_FLOAT_REP_MASK 0xff00 + +#define __NDR_IEEE_FLOAT 0x0000 +#define __NDR_VAX_FLOAT 0x0100 +#define __NDR_IBM_FLOAT 0x0300 + +#define __NDR_ASCII_CHAR 0x0000 +#define __NDR_EBCDIC_CHAR 0x0001 + +#define __NDR_LITTLE_ENDIAN 0x0010 +#define __NDR_BIG_ENDIAN 0x0000 + +/* Mac's are special */ +#if defined(__RPC_MAC__) +# define __NDR_LOCAL_DATA_REPRESENTATION \ + (__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_BIG_ENDIAN) +#else +# define __NDR_LOCAL_DATA_REPRESENTATION \ + (__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_LITTLE_ENDIAN) +#endif + +#define __NDR_LOCAL_ENDIAN \ + (__NDR_LOCAL_DATA_REPRESENTATION & __NDR_INT_REP_MASK) + +/* for convenience, define NDR_LOCAL_IS_BIG_ENDIAN iff it is */ +#if __NDR_LOCAL_ENDIAN == __NDR_BIG_ENDIAN +# define NDR_LOCAL_IS_BIG_ENDIAN +#elif __NDR_LOCAL_ENDIAN == __NDR_LITTLE_ENDIAN +# undef NDR_LOCAL_IS_BIG_ENDIAN +#else +# error alien NDR_LOCAL_ENDIAN - Greg botched the defines again, please report +#endif + +/* finally, do the casts like Microsoft */ + +#define NDR_CHAR_REP_MASK ((ULONG) __NDR_CHAR_REP_MASK) +#define NDR_INT_REP_MASK ((ULONG) __NDR_INT_REP_MASK) +#define NDR_FLOAT_REP_MASK ((ULONG) __NDR_FLOAT_REP_MASK) +#define NDR_IEEE_FLOAT ((ULONG) __NDR_IEEE_FLOAT) +#define NDR_VAX_FLOAT ((ULONG) __NDR_VAX_FLOAT) +#define NDR_IBM_FLOAT ((ULONG) __NDR_IBM_FLOAT) +#define NDR_ASCII_CHAR ((ULONG) __NDR_ASCII_CHAR) +#define NDR_EBCDIC_CHAR ((ULONG) __NDR_EBCDIC_CHAR) +#define NDR_LITTLE_ENDIAN ((ULONG) __NDR_LITTLE_ENDIAN) +#define NDR_BIG_ENDIAN ((ULONG) __NDR_BIG_ENDIAN) +#define NDR_LOCAL_DATA_REPRESENTATION ((ULONG) __NDR_LOCAL_DATA_REPRESENTATION) +#define NDR_LOCAL_ENDIAN ((ULONG) __NDR_LOCAL_ENDIAN) + + +#define TARGET_IS_NT50_OR_LATER 1 +#define TARGET_IS_NT40_OR_LATER 1 +#define TARGET_IS_NT351_OR_WIN95_OR_LATER 1 + +#define small char +typedef unsigned char byte; +typedef INT64 hyper; +typedef UINT64 MIDL_uhyper; +typedef unsigned char boolean; + +#define __RPC_CALLEE WINAPI +#define RPC_VAR_ENTRY __cdecl +#define NDR_SHAREABLE static + +#define MIDL_ascii_strlen(s) strlen(s) +#define MIDL_ascii_strcpy(d,s) strcpy(d,s) +#define MIDL_memset(d,v,n) memset(d,v,n) +#define midl_user_free MIDL_user_free +#define midl_user_allocate MIDL_user_allocate + +void * __RPC_USER MIDL_user_allocate(SIZE_T); +void __RPC_USER MIDL_user_free(void *); + +#define NdrFcShort(s) (unsigned char)(s & 0xff), (unsigned char)(s >> 8) +#define NdrFcLong(s) (unsigned char)(s & 0xff), (unsigned char)((s & 0x0000ff00) >> 8), \ + (unsigned char)((s & 0x00ff0000) >> 16), (unsigned char)(s >> 24) + +#define RPC_BAD_STUB_DATA_EXCEPTION_FILTER \ + ((RpcExceptionCode() == STATUS_ACCESS_VIOLATION) || \ + (RpcExceptionCode() == STATUS_DATATYPE_MISALIGNMENT) || \ + (RpcExceptionCode() == RPC_X_BAD_STUB_DATA) || \ + (RpcExceptionCode() == RPC_S_INVALID_BOUND)) + +typedef struct +{ + void *pad[2]; + void *userContext; +} *NDR_SCONTEXT; + +#define NDRSContextValue(hContext) (&(hContext)->userContext) +#define cbNDRContext 20 + +typedef void (__RPC_USER *NDR_RUNDOWN)(void *context); +typedef void (__RPC_USER *NDR_NOTIFY_ROUTINE)(void); +typedef void (__RPC_USER *NDR_NOTIFY2_ROUTINE)(boolean flag); + +#define DECLSPEC_UUID(x) +#define MIDL_INTERFACE(x) struct + +struct _MIDL_STUB_MESSAGE; +struct _MIDL_STUB_DESC; +struct _FULL_PTR_XLAT_TABLES; +struct NDR_ALLOC_ALL_NODES_CONTEXT; +struct NDR_POINTER_QUEUE_STATE; + +typedef unsigned char *RPC_BUFPTR; +typedef ULONG RPC_LENGTH; +typedef void (__RPC_USER *EXPR_EVAL)(struct _MIDL_STUB_MESSAGE *); +typedef const unsigned char *PFORMAT_STRING; + +typedef struct +{ + LONG Dimension; + ULONG *BufferConformanceMark; + ULONG *BufferVarianceMark; + ULONG *MaxCountArray; + ULONG *OffsetArray; + ULONG *ActualCountArray; +} ARRAY_INFO, *PARRAY_INFO; + +typedef struct +{ + ULONG WireCodeset; + ULONG DesiredReceivingCodeset; + void *CSArrayInfo; +} CS_STUB_INFO; + +typedef struct _NDR_PIPE_DESC *PNDR_PIPE_DESC; +typedef struct _NDR_PIPE_MESSAGE *PNDR_PIPE_MESSAGE; +typedef struct _NDR_ASYNC_MESSAGE *PNDR_ASYNC_MESSAGE; +typedef struct _NDR_CORRELATION_INFO *PNDR_CORRELATION_INFO; + +typedef struct _MIDL_STUB_MESSAGE +{ + PRPC_MESSAGE RpcMsg; + unsigned char *Buffer; + unsigned char *BufferStart; + unsigned char *BufferEnd; + unsigned char *BufferMark; + ULONG BufferLength; + ULONG MemorySize; + unsigned char *Memory; + unsigned char IsClient; + unsigned char Pad; + unsigned short uFlags2; + int ReuseBuffer; + struct NDR_ALLOC_ALL_NODES_CONTEXT *pAllocAllNodesContext; + struct NDR_POINTER_QUEUE_STATE *pPointerQueueState; + int IgnoreEmbeddedPointers; + unsigned char *PointerBufferMark; + unsigned char CorrDespIncrement; + unsigned char uFlags; + unsigned short UniquePtrCount; + ULONG_PTR MaxCount; + ULONG Offset; + ULONG ActualCount; + void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(SIZE_T); + void (__RPC_API *pfnFree)(void *); + unsigned char *StackTop; + unsigned char *pPresentedType; + unsigned char *pTransmitType; + handle_t SavedHandle; + const struct _MIDL_STUB_DESC *StubDesc; + struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables; + ULONG FullPtrRefId; + ULONG PointerLength; + unsigned int fInDontFree:1; + unsigned int fDontCallFreeInst:1; + unsigned int fInOnlyParam:1; + unsigned int fHasReturn:1; + unsigned int fHasExtensions:1; + unsigned int fHasNewCorrDesc:1; + unsigned int fIsIn:1; + unsigned int fIsOut:1; + unsigned int fIsOicf:1; + unsigned int fBufferValid:1; + unsigned int fHasMemoryValidateCallback:1; + unsigned int fInFree:1; + unsigned int fNeedMCCP:1; + int fUnused:3; + int fUnused2:16; + DWORD dwDestContext; + void *pvDestContext; + NDR_SCONTEXT *SavedContextHandles; + LONG ParamNumber; + struct IRpcChannelBuffer *pRpcChannelBuffer; + PARRAY_INFO pArrayInfo; + ULONG *SizePtrCountArray; + ULONG *SizePtrOffsetArray; + ULONG *SizePtrLengthArray; + void *pArgQueue; + DWORD dwStubPhase; + void *LowStackMark; + PNDR_ASYNC_MESSAGE pAsyncMsg; + PNDR_CORRELATION_INFO pCorrInfo; + unsigned char *pCorrMemory; + void *pMemoryList; + CS_STUB_INFO *pCSInfo; + unsigned char *ConformanceMark; + unsigned char *VarianceMark; + INT_PTR Unused; /* BackingStoreLowMark on IA64 */ + struct _NDR_PROC_CONTEXT *pContext; + void* ContextHandleHash; + void* pUserMarshalList; + INT_PTR Reserved51_3; + INT_PTR Reserved51_4; + INT_PTR Reserved51_5; +} MIDL_STUB_MESSAGE, *PMIDL_STUB_MESSAGE; + +typedef void * (__RPC_API * GENERIC_BINDING_ROUTINE)(void *); +typedef void (__RPC_API * GENERIC_UNBIND_ROUTINE)(void *, unsigned char *); + +typedef struct _GENERIC_BINDING_ROUTINE_PAIR +{ + GENERIC_BINDING_ROUTINE pfnBind; + GENERIC_UNBIND_ROUTINE pfnUnbind; +} GENERIC_BINDING_ROUTINE_PAIR, *PGENERIC_BINDING_ROUTINE_PAIR; + +typedef struct __GENERIC_BINDING_INFO +{ + void *pObj; + unsigned int Size; + GENERIC_BINDING_ROUTINE pfnBind; + GENERIC_UNBIND_ROUTINE pfnUnbind; +} GENERIC_BINDING_INFO, *PGENERIC_BINDING_INFO; + +typedef void (__RPC_USER *XMIT_HELPER_ROUTINE)(PMIDL_STUB_MESSAGE); + +typedef struct _XMIT_ROUTINE_QUINTUPLE +{ + XMIT_HELPER_ROUTINE pfnTranslateToXmit; + XMIT_HELPER_ROUTINE pfnTranslateFromXmit; + XMIT_HELPER_ROUTINE pfnFreeXmit; + XMIT_HELPER_ROUTINE pfnFreeInst; +} XMIT_ROUTINE_QUINTUPLE, *PXMIT_ROUTINE_QUINTUPLE; + +typedef ULONG (__RPC_USER *USER_MARSHAL_SIZING_ROUTINE)(ULONG *, ULONG, void *); +typedef unsigned char * (__RPC_USER *USER_MARSHAL_MARSHALLING_ROUTINE)(ULONG *, unsigned char *, void *); +typedef unsigned char * (__RPC_USER *USER_MARSHAL_UNMARSHALLING_ROUTINE)(ULONG *, unsigned char *, void *); +typedef void (__RPC_USER *USER_MARSHAL_FREEING_ROUTINE)(ULONG *, void *); + +typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE +{ + USER_MARSHAL_SIZING_ROUTINE pfnBufferSize; + USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall; + USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall; + USER_MARSHAL_FREEING_ROUTINE pfnFree; +} USER_MARSHAL_ROUTINE_QUADRUPLE; + +/* 'USRC' */ +#define USER_MARSHAL_CB_SIGNATURE \ + ( ( (DWORD)'U' << 24 ) | ( (DWORD)'S' << 16 ) | \ + ( (DWORD)'R' << 8 ) | ( (DWORD)'C' ) ) + +typedef enum +{ + USER_MARSHAL_CB_BUFFER_SIZE, + USER_MARSHAL_CB_MARSHALL, + USER_MARSHAL_CB_UNMARSHALL, + USER_MARSHAL_CB_FREE +} USER_MARSHAL_CB_TYPE; + +typedef struct _USER_MARSHAL_CB +{ + ULONG Flags; + PMIDL_STUB_MESSAGE pStubMsg; + PFORMAT_STRING pReserve; + ULONG Signature; + USER_MARSHAL_CB_TYPE CBType; + PFORMAT_STRING pFormat; + PFORMAT_STRING pTypeFormat; +} USER_MARSHAL_CB; + +#define USER_CALL_CTXT_MASK(f) ((f) & 0x00ff) +#define USER_CALL_AUX_MASK(f) ((f) & 0xff00) +#define GET_USER_DATA_REP(f) HIWORD(f) + +#define USER_CALL_IS_ASYNC 0x0100 +#define USER_CALL_NEW_CORRELATION_DESC 0x0200 + +typedef struct _MALLOC_FREE_STRUCT +{ + void * (__WINE_ALLOC_SIZE(1) __RPC_USER *pfnAllocate)(SIZE_T); + void (__RPC_USER *pfnFree)(void *); +} MALLOC_FREE_STRUCT; + +typedef struct _COMM_FAULT_OFFSETS +{ + short CommOffset; + short FaultOffset; +} COMM_FAULT_OFFSETS; + +typedef struct _MIDL_STUB_DESC +{ + void *RpcInterfaceInformation; + void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(SIZE_T); + void (__RPC_API *pfnFree)(void *); + union { + handle_t *pAutoHandle; + handle_t *pPrimitiveHandle; + PGENERIC_BINDING_INFO pGenericBindingInfo; + } IMPLICIT_HANDLE_INFO; + const NDR_RUNDOWN *apfnNdrRundownRoutines; + const GENERIC_BINDING_ROUTINE_PAIR *aGenericBindingRoutinePairs; + const EXPR_EVAL *apfnExprEval; + const XMIT_ROUTINE_QUINTUPLE *aXmitQuintuple; + const unsigned char *pFormatTypes; + int fCheckBounds; + ULONG Version; + MALLOC_FREE_STRUCT *pMallocFreeStruct; + LONG MIDLVersion; + const COMM_FAULT_OFFSETS *CommFaultOffsets; + const USER_MARSHAL_ROUTINE_QUADRUPLE *aUserMarshalQuadruple; + const NDR_NOTIFY_ROUTINE *NotifyRoutineTable; + ULONG_PTR mFlags; + ULONG_PTR Reserved3; + ULONG_PTR Reserved4; + ULONG_PTR Reserved5; +} MIDL_STUB_DESC; +typedef const MIDL_STUB_DESC *PMIDL_STUB_DESC; + +typedef struct _MIDL_FORMAT_STRING +{ + short Pad; +#if defined(__GNUC__) + unsigned char Format[0]; +#else + unsigned char Format[1]; +#endif +} MIDL_FORMAT_STRING; + +typedef struct _MIDL_SYNTAX_INFO +{ + RPC_SYNTAX_IDENTIFIER TransferSyntax; + RPC_DISPATCH_TABLE* DispatchTable; + PFORMAT_STRING ProcString; + const unsigned short* FmtStringOffset; + PFORMAT_STRING TypeString; + const void* aUserMarshalQuadruple; + ULONG_PTR pReserved1; + ULONG_PTR pReserved2; +} MIDL_SYNTAX_INFO, *PMIDL_SYNTAX_INFO; + +typedef void (__RPC_API *STUB_THUNK)( PMIDL_STUB_MESSAGE ); + +#ifdef WINE_STRICT_PROTOTYPES +typedef LONG (__RPC_API *SERVER_ROUTINE)(void); +#else +typedef LONG (__RPC_API *SERVER_ROUTINE)(); +#endif + +typedef struct _MIDL_SERVER_INFO_ +{ + PMIDL_STUB_DESC pStubDesc; + const SERVER_ROUTINE *DispatchTable; + PFORMAT_STRING ProcString; + const unsigned short *FmtStringOffset; + const STUB_THUNK *ThunkTable; + PRPC_SYNTAX_IDENTIFIER pTransferSyntax; + ULONG_PTR nCount; + PMIDL_SYNTAX_INFO pSyntaxInfo; +} MIDL_SERVER_INFO, *PMIDL_SERVER_INFO; + +typedef struct _MIDL_STUBLESS_PROXY_INFO +{ + PMIDL_STUB_DESC pStubDesc; + PFORMAT_STRING ProcFormatString; + const unsigned short *FormatStringOffset; + PRPC_SYNTAX_IDENTIFIER pTransferSyntax; + ULONG_PTR nCount; + PMIDL_SYNTAX_INFO pSyntaxInfo; +} MIDL_STUBLESS_PROXY_INFO, *PMIDL_STUBLESS_PROXY_INFO; + + +#if defined(__i386__) && !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(__CYGWIN__) +/* Calling convention for returning structures/unions is different between Windows and gcc on i386 */ +typedef LONG_PTR CLIENT_CALL_RETURN; +#else +typedef union _CLIENT_CALL_RETURN +{ + void *Pointer; + LONG_PTR Simple; +} CLIENT_CALL_RETURN; +#endif + +typedef enum { + STUB_UNMARSHAL, + STUB_CALL_SERVER, + STUB_MARSHAL, + STUB_CALL_SERVER_NO_HRESULT +} STUB_PHASE; + +typedef enum { + PROXY_CALCSIZE, + PROXY_GETBUFFER, + PROXY_MARSHAL, + PROXY_SENDRECEIVE, + PROXY_UNMARSHAL +} PROXY_PHASE; + +typedef enum { + XLAT_SERVER = 1, + XLAT_CLIENT +} XLAT_SIDE; + +typedef struct _FULL_PTR_TO_REFID_ELEMENT { + struct _FULL_PTR_TO_REFID_ELEMENT *Next; + void *Pointer; + ULONG RefId; + unsigned char State; +} FULL_PTR_TO_REFID_ELEMENT, *PFULL_PTR_TO_REFID_ELEMENT; + +/* Full pointer translation tables */ +typedef struct _FULL_PTR_XLAT_TABLES { + struct { + void **XlatTable; + unsigned char *StateTable; + ULONG NumberOfEntries; + } RefIdToPointer; + + struct { + PFULL_PTR_TO_REFID_ELEMENT *XlatTable; + ULONG NumberOfBuckets; + ULONG HashMask; + } PointerToRefId; + + ULONG NextRefId; + XLAT_SIDE XlatSide; +} FULL_PTR_XLAT_TABLES, *PFULL_PTR_XLAT_TABLES; + +struct IRpcStubBuffer; + +typedef ULONG error_status_t; +typedef void * NDR_CCONTEXT; + +typedef struct _SCONTEXT_QUEUE { + ULONG NumberOfObjects; + NDR_SCONTEXT *ArrayOfObjects; +} SCONTEXT_QUEUE, *PSCONTEXT_QUEUE; + +typedef struct _NDR_USER_MARSHAL_INFO_LEVEL1 +{ + void *Buffer; + ULONG BufferSize; + void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(SIZE_T); + void (__RPC_API *pfnFree)(void *); + struct IRpcChannelBuffer *pRpcChannelBuffer; + ULONG_PTR Reserved[5]; +} NDR_USER_MARSHAL_INFO_LEVEL1; + +typedef struct _NDR_USER_MARSHAL_INFO +{ + ULONG InformationLevel; + union + { + NDR_USER_MARSHAL_INFO_LEVEL1 Level1; + } DUMMYUNIONNAME1; +} NDR_USER_MARSHAL_INFO; + +/* Context Handles */ + +RPCRTAPI RPC_BINDING_HANDLE RPC_ENTRY + NDRCContextBinding( NDR_CCONTEXT CContext ); + +RPCRTAPI void RPC_ENTRY + NDRCContextMarshall( NDR_CCONTEXT CContext, void *pBuff ); + +RPCRTAPI void RPC_ENTRY + NDRCContextUnmarshall( NDR_CCONTEXT *pCContext, RPC_BINDING_HANDLE hBinding, + void *pBuff, ULONG DataRepresentation ); + +RPCRTAPI void RPC_ENTRY + NDRSContextMarshall( NDR_SCONTEXT CContext, void *pBuff, NDR_RUNDOWN userRunDownIn ); + +RPCRTAPI NDR_SCONTEXT RPC_ENTRY + NDRSContextUnmarshall( void *pBuff, ULONG DataRepresentation ); + +RPCRTAPI void RPC_ENTRY + NDRSContextMarshallEx( RPC_BINDING_HANDLE BindingHandle, NDR_SCONTEXT CContext, + void *pBuff, NDR_RUNDOWN userRunDownIn ); + +RPCRTAPI void RPC_ENTRY + NDRSContextMarshall2( RPC_BINDING_HANDLE BindingHandle, NDR_SCONTEXT CContext, + void *pBuff, NDR_RUNDOWN userRunDownIn, void * CtxGuard, + ULONG Flags ); + +RPCRTAPI NDR_SCONTEXT RPC_ENTRY + NDRSContextUnmarshallEx( RPC_BINDING_HANDLE BindingHandle, void *pBuff, + ULONG DataRepresentation ); + +RPCRTAPI NDR_SCONTEXT RPC_ENTRY + NDRSContextUnmarshall2( RPC_BINDING_HANDLE BindingHandle, void *pBuff, + ULONG DataRepresentation, void *CtxGuard, + ULONG Flags ); + +RPCRTAPI void RPC_ENTRY + NdrClientContextMarshall ( PMIDL_STUB_MESSAGE pStubMsg, NDR_CCONTEXT ContextHandle, int fCheck ); + +RPCRTAPI void RPC_ENTRY + NdrClientContextUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, NDR_CCONTEXT* pContextHandle, + RPC_BINDING_HANDLE BindHandle ); + +RPCRTAPI void RPC_ENTRY + NdrServerContextMarshall ( PMIDL_STUB_MESSAGE pStubMsg, NDR_SCONTEXT ContextHandle, NDR_RUNDOWN RundownRoutine ); + +RPCRTAPI NDR_SCONTEXT RPC_ENTRY + NdrServerContextUnmarshall( PMIDL_STUB_MESSAGE pStubMsg ); + +RPCRTAPI void RPC_ENTRY + NdrContextHandleSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); + +RPCRTAPI NDR_SCONTEXT RPC_ENTRY + NdrContextHandleInitialize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); + +RPCRTAPI void RPC_ENTRY + NdrServerContextNewMarshall( PMIDL_STUB_MESSAGE pStubMsg, NDR_SCONTEXT ContextHandle, + NDR_RUNDOWN RundownRoutine, PFORMAT_STRING pFormat ); + +RPCRTAPI NDR_SCONTEXT RPC_ENTRY + NdrServerContextNewUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + RpcSmDestroyClientContext( void **ContextHandle ); + +RPCRTAPI void RPC_ENTRY + RpcSsDestroyClientContext( void **ContextHandle ); + +RPCRTAPI void RPC_ENTRY + NdrSimpleTypeMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar ); +RPCRTAPI void RPC_ENTRY + NdrSimpleTypeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar ); + +RPCRTAPI unsigned char* RPC_ENTRY + NdrByteCountPointerMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); +RPCRTAPI unsigned char* RPC_ENTRY + NdrByteCountPointerUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); +RPCRTAPI void RPC_ENTRY + NdrByteCountPointerBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); +RPCRTAPI void RPC_ENTRY + NdrByteCountPointerFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); + +RPCRTAPI unsigned char* RPC_ENTRY + NdrRangeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); + +/* while MS declares each prototype separately, I prefer to use macros for this kind of thing instead */ +#define SIMPLE_TYPE_MARSHAL(type) \ +RPCRTAPI unsigned char* RPC_ENTRY \ + Ndr##type##Marshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); \ +RPCRTAPI unsigned char* RPC_ENTRY \ + Ndr##type##Unmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); \ +RPCRTAPI void RPC_ENTRY \ + Ndr##type##BufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); \ +RPCRTAPI ULONG RPC_ENTRY \ + Ndr##type##MemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); + +#define TYPE_MARSHAL(type) \ + SIMPLE_TYPE_MARSHAL(type) \ +RPCRTAPI void RPC_ENTRY \ + Ndr##type##Free( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); + +TYPE_MARSHAL(Pointer) +TYPE_MARSHAL(SimpleStruct) +TYPE_MARSHAL(ConformantStruct) +TYPE_MARSHAL(ConformantVaryingStruct) +TYPE_MARSHAL(ComplexStruct) +TYPE_MARSHAL(FixedArray) +TYPE_MARSHAL(ConformantArray) +TYPE_MARSHAL(ConformantVaryingArray) +TYPE_MARSHAL(VaryingArray) +TYPE_MARSHAL(ComplexArray) +TYPE_MARSHAL(EncapsulatedUnion) +TYPE_MARSHAL(NonEncapsulatedUnion) +TYPE_MARSHAL(XmitOrRepAs) +TYPE_MARSHAL(UserMarshal) +TYPE_MARSHAL(InterfacePointer) + +SIMPLE_TYPE_MARSHAL(ConformantString) +SIMPLE_TYPE_MARSHAL(NonConformantString) + +#undef TYPE_MARSHAL +#undef SIMPLE_TYPE_MARSHAL + +RPCRTAPI void RPC_ENTRY + NdrCorrelationInitialize( PMIDL_STUB_MESSAGE pStubMsg, void *pMemory, ULONG CacheSize, ULONG flags ); +RPCRTAPI void RPC_ENTRY + NdrCorrelationPass( PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI void RPC_ENTRY + NdrCorrelationFree( PMIDL_STUB_MESSAGE pStubMsg ); + +RPCRTAPI void RPC_ENTRY + NdrConvert2( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, LONG NumberParams ); +RPCRTAPI void RPC_ENTRY + NdrConvert( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); + +#define USER_MARSHAL_FC_BYTE 1 +#define USER_MARSHAL_FC_CHAR 2 +#define USER_MARSHAL_FC_SMALL 3 +#define USER_MARSHAL_FC_USMALL 4 +#define USER_MARSHAL_FC_WCHAR 5 +#define USER_MARSHAL_FC_SHORT 6 +#define USER_MARSHAL_FC_USHORT 7 +#define USER_MARSHAL_FC_LONG 8 +#define USER_MARSHAL_FC_ULONG 9 +#define USER_MARSHAL_FC_FLOAT 10 +#define USER_MARSHAL_FC_HYPER 11 +#define USER_MARSHAL_FC_DOUBLE 12 + +RPCRTAPI unsigned char* RPC_ENTRY + NdrUserMarshalSimpleTypeConvert( ULONG *pFlags, unsigned char *pBuffer, unsigned char FormatChar ); + +CLIENT_CALL_RETURN RPC_VAR_ENTRY + NdrClientCall2( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); +CLIENT_CALL_RETURN RPC_VAR_ENTRY + NdrClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); +CLIENT_CALL_RETURN RPC_VAR_ENTRY + NdrAsyncClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); +CLIENT_CALL_RETURN RPC_VAR_ENTRY + NdrDcomAsyncClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); + +RPCRTAPI void RPC_ENTRY + NdrServerCall2( PRPC_MESSAGE pRpcMsg ); +RPCRTAPI void RPC_ENTRY + NdrServerCall( PRPC_MESSAGE pRpcMsg ); +RPCRTAPI void RPC_ENTRY + NdrAsyncServerCall( PRPC_MESSAGE pRpcMsg ); + +RPCRTAPI LONG RPC_ENTRY + NdrStubCall2( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase ); +RPCRTAPI LONG RPC_ENTRY + NdrStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase ); +RPCRTAPI LONG RPC_ENTRY + NdrAsyncStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase ); +RPCRTAPI LONG RPC_ENTRY + NdrDcomAsyncStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase ); + +RPCRTAPI void* RPC_ENTRY + NdrAllocate( PMIDL_STUB_MESSAGE pStubMsg, SIZE_T Len ) __WINE_ALLOC_SIZE(2); + +RPCRTAPI void RPC_ENTRY + NdrClearOutParameters( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, void *ArgAddr ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + NdrMapCommAndFaultStatus( PMIDL_STUB_MESSAGE pStubMsg, ULONG *pCommStatus, + ULONG *pFaultStatus, RPC_STATUS Status_ ); + +RPCRTAPI void* RPC_ENTRY + NdrOleAllocate( SIZE_T Size ) __WINE_ALLOC_SIZE(1); +RPCRTAPI void RPC_ENTRY + NdrOleFree( void* NodeToFree ); + +RPCRTAPI void RPC_ENTRY + NdrClientInitialize( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum ); +RPCRTAPI void RPC_ENTRY + NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum ); +RPCRTAPI unsigned char* RPC_ENTRY + NdrServerInitialize( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc ); +RPCRTAPI unsigned char* RPC_ENTRY + NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc ); +RPCRTAPI unsigned char* RPC_ENTRY + NdrServerInitializeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc, PRPC_MESSAGE pRpcMsg ); +RPCRTAPI void RPC_ENTRY + NdrServerInitializeMarshall( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI void RPC_ENTRY + NdrServerMarshall( struct IRpcStubBuffer *pThis, struct IRpcChannelBuffer *pChannel, PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); +RPCRTAPI void RPC_ENTRY + NdrServerUnmarshall( struct IRpcChannelBuffer *pChannel, PRPC_MESSAGE pRpcMsg, + PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc, + PFORMAT_STRING pFormat, void *pParamList ); +RPCRTAPI unsigned char* RPC_ENTRY + NdrGetBuffer( PMIDL_STUB_MESSAGE stubmsg, ULONG buflen, RPC_BINDING_HANDLE handle ); +RPCRTAPI void RPC_ENTRY + NdrFreeBuffer( PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI unsigned char* RPC_ENTRY + NdrSendReceive( PMIDL_STUB_MESSAGE stubmsg, unsigned char *buffer ); + +RPCRTAPI unsigned char * RPC_ENTRY + NdrNsGetBuffer( PMIDL_STUB_MESSAGE pStubMsg, ULONG BufferLength, RPC_BINDING_HANDLE Handle ); +RPCRTAPI unsigned char * RPC_ENTRY + NdrNsSendReceive( PMIDL_STUB_MESSAGE pStubMsg, unsigned char *pBufferEnd, RPC_BINDING_HANDLE *pAutoHandle ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + NdrGetDcomProtocolVersion( PMIDL_STUB_MESSAGE pStubMsg, RPC_VERSION *pVersion ); + +RPCRTAPI PFULL_PTR_XLAT_TABLES RPC_ENTRY + NdrFullPointerXlatInit( ULONG NumberOfPointers, XLAT_SIDE XlatSide ); +RPCRTAPI void RPC_ENTRY + NdrFullPointerXlatFree( PFULL_PTR_XLAT_TABLES pXlatTables ); +RPCRTAPI int RPC_ENTRY + NdrFullPointerQueryPointer( PFULL_PTR_XLAT_TABLES pXlatTables, void *pPointer, + unsigned char QueryType, ULONG *pRefId ); +RPCRTAPI int RPC_ENTRY + NdrFullPointerQueryRefId( PFULL_PTR_XLAT_TABLES pXlatTables, ULONG RefId, + unsigned char QueryType, void **ppPointer ); +RPCRTAPI void RPC_ENTRY + NdrFullPointerInsertRefId( PFULL_PTR_XLAT_TABLES pXlatTables, ULONG RefId, void *pPointer ); +RPCRTAPI int RPC_ENTRY + NdrFullPointerFree( PFULL_PTR_XLAT_TABLES pXlatTables, void *Pointer ); + +RPCRTAPI void RPC_ENTRY + NdrRpcSsEnableAllocate( PMIDL_STUB_MESSAGE pMessage ); +RPCRTAPI void RPC_ENTRY + NdrRpcSsDisableAllocate( PMIDL_STUB_MESSAGE pMessage ); +RPCRTAPI void RPC_ENTRY + NdrRpcSmSetClientToOsf( PMIDL_STUB_MESSAGE pMessage ); +RPCRTAPI void * RPC_ENTRY + NdrRpcSmClientAllocate( SIZE_T Size ) __WINE_ALLOC_SIZE(1); +RPCRTAPI void RPC_ENTRY + NdrRpcSmClientFree( void *NodeToFree ); +RPCRTAPI void * RPC_ENTRY + NdrRpcSsDefaultAllocate( SIZE_T Size ) __WINE_ALLOC_SIZE(1); +RPCRTAPI void RPC_ENTRY + NdrRpcSsDefaultFree( void *NodeToFree ); + +RPCRTAPI RPC_STATUS RPC_ENTRY + NdrGetUserMarshalInfo( ULONG *pFlags, ULONG InformationLevel, NDR_USER_MARSHAL_INFO *pMarshalInfo ); + +#ifdef __cplusplus +} +#endif +#endif /*__WINE_RPCNDR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcnterr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcnterr.h new file mode 100644 index 0000000..3803da3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcnterr.h @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2001 Peter Hunnisett + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __RPCNTERR_H__ +#define __RPCNTERR_H__ + +#define RPC_S_OK ERROR_SUCCESS +#define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER +#define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY +#define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED +#define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER +#define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER +#define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR +#define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED +#define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY +#define RPC_S_ASYNC_CALL_PENDING ERROR_IO_PENDING +#define RPC_S_UNKNOWN_PRINCIPAL ERROR_NONE_MAPPED +#define RPC_S_TIMEOUT ERROR_TIMEOUT + +#define RPC_X_NO_MEMORY RPC_S_OUT_OF_MEMORY +#define RPC_X_INVALID_BOUND RPC_S_INVALID_BOUND +#define RPC_X_INVALID_TAG RPC_S_INVALID_TAG +#define RPC_X_ENUM_VALUE_TOO_LARGE RPC_X_ENUM_VALUE_OUT_OF_RANGE +#define RPC_X_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE +#define RPC_X_INVALID_BUFFER ERROR_INVALID_USER_BUFFER +#define RPC_X_PIPE_APP_MEMORY ERROR_OUTOFMEMORY +#define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER + +#endif /* __RPCNTERR_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcproxy.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcproxy.h new file mode 100644 index 0000000..4d2c63e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcproxy.h @@ -0,0 +1,385 @@ +/* + * Copyright (C) 2001 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __RPCPROXY_H_VERSION__ +/* FIXME: Find an appropriate version number. I guess something is better than nothing */ +#define __RPCPROXY_H_VERSION__ ( 399 ) +#endif + +#ifndef __WINE_RPCPROXY_H +#define __WINE_RPCPROXY_H + +#define __midl_proxy + +#include +#ifndef GUID_DEFINED +#include +#endif +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct tagCInterfaceStubVtbl *PCInterfaceStubVtblList; +typedef struct tagCInterfaceProxyVtbl *PCInterfaceProxyVtblList; +typedef const char *PCInterfaceName; +typedef int __stdcall IIDLookupRtn( const IID *pIID, int *pIndex ); +typedef IIDLookupRtn *PIIDLookup; + +typedef struct tagProxyFileInfo +{ + const PCInterfaceProxyVtblList *pProxyVtblList; + const PCInterfaceStubVtblList *pStubVtblList; + const PCInterfaceName *pNamesArray; + const IID **pDelegatedIIDs; + const PIIDLookup pIIDLookupRtn; + unsigned short TableSize; + unsigned short TableVersion; + const IID **pAsyncIIDLookup; + LONG_PTR Filler2; + LONG_PTR Filler3; + LONG_PTR Filler4; +} ProxyFileInfo; + +typedef ProxyFileInfo ExtendedProxyFileInfo; + +typedef struct tagCInterfaceProxyHeader +{ +#ifdef USE_STUBLESS_PROXY + const void *pStublessProxyInfo; +#endif + const IID *piid; +} CInterfaceProxyHeader; + +#define CINTERFACE_PROXY_VTABLE(n) \ + struct \ + { \ + CInterfaceProxyHeader header; \ + void *Vtbl[n]; \ + } + +typedef struct tagCInterfaceProxyVtbl +{ + CInterfaceProxyHeader header; +#if defined(__GNUC__) + void *Vtbl[0]; +#else + void *Vtbl[1]; +#endif +} CInterfaceProxyVtbl; + +typedef void (__RPC_STUB *PRPC_STUB_FUNCTION)( + IRpcStubBuffer *This, + IRpcChannelBuffer *_pRpcChannelBuffer, + PRPC_MESSAGE _pRpcMessage, + DWORD *pdwStubPhase); + +typedef struct tagCInterfaceStubHeader +{ + const IID *piid; + const MIDL_SERVER_INFO *pServerInfo; + ULONG DispatchTableCount; + const PRPC_STUB_FUNCTION *pDispatchTable; +} CInterfaceStubHeader; + +typedef struct tagCInterfaceStubVtbl +{ + CInterfaceStubHeader header; + IRpcStubBufferVtbl Vtbl; +} CInterfaceStubVtbl; + +typedef struct tagCStdStubBuffer +{ + const IRpcStubBufferVtbl *lpVtbl; + LONG RefCount; + struct IUnknown *pvServerObject; + const struct ICallFactoryVtbl *pCallFactoryVtbl; + const IID *pAsyncIID; + struct IPSFactoryBuffer *pPSFactory; +} CStdStubBuffer; + +typedef struct tagCStdPSFactoryBuffer +{ + const IPSFactoryBufferVtbl *lpVtbl; + LONG RefCount; + const ProxyFileInfo **pProxyFileList; + LONG Filler1; +} CStdPSFactoryBuffer; + +#define STUB_FORWARDING_FUNCTION NdrStubForwardingFunction + +ULONG STDMETHODCALLTYPE CStdStubBuffer2_Release(IRpcStubBuffer *This) DECLSPEC_HIDDEN; +ULONG STDMETHODCALLTYPE NdrCStdStubBuffer2_Release(IRpcStubBuffer *This, IPSFactoryBuffer *pPSF); + +#define CStdStubBuffer_DELEGATING_METHODS 0, 0, CStdStubBuffer2_Release, 0, 0, 0, 0, 0, 0, 0 + + +HRESULT WINAPI + CStdStubBuffer_QueryInterface( IRpcStubBuffer *This, REFIID riid, void **ppvObject ); +ULONG WINAPI + CStdStubBuffer_AddRef( IRpcStubBuffer *This ); +ULONG WINAPI + CStdStubBuffer_Release( IRpcStubBuffer *This ) DECLSPEC_HIDDEN; +ULONG WINAPI + NdrCStdStubBuffer_Release( IRpcStubBuffer *This, IPSFactoryBuffer *pPSF ); +HRESULT WINAPI + CStdStubBuffer_Connect( IRpcStubBuffer *This, IUnknown *pUnkServer ); +void WINAPI + CStdStubBuffer_Disconnect( IRpcStubBuffer *This ); +HRESULT WINAPI + CStdStubBuffer_Invoke( IRpcStubBuffer *This, RPCOLEMESSAGE *pRpcMsg, IRpcChannelBuffer *pRpcChannelBuffer ); +IRpcStubBuffer * WINAPI + CStdStubBuffer_IsIIDSupported( IRpcStubBuffer *This, REFIID riid ); +ULONG WINAPI + CStdStubBuffer_CountRefs( IRpcStubBuffer *This ); +HRESULT WINAPI + CStdStubBuffer_DebugServerQueryInterface( IRpcStubBuffer *This, void **ppv ); +void WINAPI + CStdStubBuffer_DebugServerRelease( IRpcStubBuffer *This, void *pv ); + +#define CStdStubBuffer_METHODS \ + CStdStubBuffer_QueryInterface, \ + CStdStubBuffer_AddRef, \ + CStdStubBuffer_Release, \ + CStdStubBuffer_Connect, \ + CStdStubBuffer_Disconnect, \ + CStdStubBuffer_Invoke, \ + CStdStubBuffer_IsIIDSupported, \ + CStdStubBuffer_CountRefs, \ + CStdStubBuffer_DebugServerQueryInterface, \ + CStdStubBuffer_DebugServerRelease + +RPCRTAPI void RPC_ENTRY + NdrProxyInitialize( void *This, PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDescriptor, unsigned int ProcNum ); +RPCRTAPI void RPC_ENTRY + NdrProxyGetBuffer( void *This, PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI void RPC_ENTRY + NdrProxySendReceive( void *This, PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI void RPC_ENTRY + NdrProxyFreeBuffer( void *This, PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI HRESULT RPC_ENTRY + NdrProxyErrorHandler( DWORD dwExceptionCode ); + +RPCRTAPI void RPC_ENTRY + NdrStubInitialize( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDescriptor, IRpcChannelBuffer *pRpcChannelBuffer ); +RPCRTAPI void RPC_ENTRY + NdrStubInitializePartial( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDescriptor, IRpcChannelBuffer *pRpcChannelBuffer, + ULONG RequestedBufferSize ); +void __RPC_STUB NdrStubForwardingFunction( IRpcStubBuffer *This, IRpcChannelBuffer *pChannel, + PRPC_MESSAGE pMsg, DWORD *pdwStubPhase ); +RPCRTAPI void RPC_ENTRY + NdrStubGetBuffer( IRpcStubBuffer *This, IRpcChannelBuffer *pRpcChannelBuffer, PMIDL_STUB_MESSAGE pStubMsg ); +RPCRTAPI HRESULT RPC_ENTRY + NdrStubErrorHandler( DWORD dwExceptionCode ); + +RPCRTAPI HRESULT RPC_ENTRY + NdrDllGetClassObject( REFCLSID rclsid, REFIID riid, void **ppv, const ProxyFileInfo **pProxyFileList, + const CLSID *pclsid, CStdPSFactoryBuffer *pPSFactoryBuffer ); +RPCRTAPI HRESULT RPC_ENTRY + NdrDllCanUnloadNow( CStdPSFactoryBuffer *pPSFactoryBuffer ); + +RPCRTAPI HRESULT RPC_ENTRY + NdrDllRegisterProxy( HMODULE hDll, const ProxyFileInfo **pProxyFileList, const CLSID *pclsid ); +RPCRTAPI HRESULT RPC_ENTRY + NdrDllUnregisterProxy( HMODULE hDll, const ProxyFileInfo **pProxyFileList, const CLSID *pclsid ); + +HRESULT __wine_register_resources( HMODULE module ) DECLSPEC_HIDDEN; +HRESULT __wine_unregister_resources( HMODULE module ) DECLSPEC_HIDDEN; + +#define CSTDSTUBBUFFERRELEASE(pFactory) \ +ULONG WINAPI CStdStubBuffer_Release(IRpcStubBuffer *This) \ + { return NdrCStdStubBuffer_Release(This, (IPSFactoryBuffer *)pFactory); } + +#ifdef PROXY_DELEGATION +#define CSTDSTUBBUFFER2RELEASE(pFactory) \ +ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ + { return NdrCStdStubBuffer2_Release(This, (IPSFactoryBuffer *)pFactory); } +#else +#define CSTDSTUBBUFFER2RELEASE(pFactory) +#endif + +#define IID_GENERIC_CHECK_IID(name,pIID,index) memcmp(pIID, name##_ProxyVtblList[index]->header.piid, sizeof(IID)) + +/* + * In these macros, BS stands for Binary Search. MIDL uses these to + * "unroll" a binary search into the module's IID_Lookup function. + * However, I haven't bothered to reimplement that stuff yet; + * I've just implemented a linear search for now. + */ +#define IID_BS_LOOKUP_SETUP \ + int c; +#define IID_BS_LOOKUP_INITIAL_TEST(name, sz, split) +#define IID_BS_LOOKUP_NEXT_TEST(name, split) +#define IID_BS_LOOKUP_RETURN_RESULT(name, sz, index) \ + for (c=0; cpStubVtblList[0] ? \ + aProxyFileList[0]->pStubVtblList[0]->header.piid : NULL) +#else +# define GET_DLL_CLSID &PROXY_CLSID +#endif + +#ifdef ENTRY_PREFIX +# define __rpc_macro_expand2(a, b) a##b +# define __rpc_macro_expand(a, b) __rpc_macro_expand2(a, b) +# define DLLREGISTERSERVER_ENTRY __rpc_macro_expand(ENTRY_PREFIX, DllRegisterServer) +# define DLLUNREGISTERSERVER_ENTRY __rpc_macro_expand(ENTRY_PREFIX, DllUnregisterServer) +# define DLLMAIN_ENTRY __rpc_macro_expand(ENTRY_PREFIX, DllMain) +# define DLLGETCLASSOBJECT_ENTRY __rpc_macro_expand(ENTRY_PREFIX, DllGetClassObject) +# define DLLCANUNLOADNOW_ENTRY __rpc_macro_expand(ENTRY_PREFIX, DllCanUnloadNow) +#else +# define DLLREGISTERSERVER_ENTRY DllRegisterServer +# define DLLUNREGISTERSERVER_ENTRY DllUnregisterServer +# define DLLMAIN_ENTRY DllMain +# define DLLGETCLASSOBJECT_ENTRY DllGetClassObject +# define DLLCANUNLOADNOW_ENTRY DllCanUnloadNow +#endif + +#ifdef WINE_REGISTER_DLL +# define WINE_DO_REGISTER_DLL(pfl, clsid) return __wine_register_resources( hProxyDll ) +# define WINE_DO_UNREGISTER_DLL(pfl, clsid) return __wine_unregister_resources( hProxyDll ) +#else +# define WINE_DO_REGISTER_DLL(pfl, clsid) return NdrDllRegisterProxy( hProxyDll, (pfl), (clsid) ) +# define WINE_DO_UNREGISTER_DLL(pfl, clsid) return NdrDllUnregisterProxy( hProxyDll, (pfl), (clsid) ) +#endif + + +#define DLLDATA_GETPROXYDLLINFO(pfl, rclsid) \ + void RPC_ENTRY GetProxyDllInfo(const ProxyFileInfo ***ppProxyFileInfo, \ + const CLSID **ppClsid) DECLSPEC_HIDDEN; \ + void RPC_ENTRY GetProxyDllInfo(const ProxyFileInfo ***ppProxyFileInfo, \ + const CLSID **ppClsid) \ + { \ + *ppProxyFileInfo = (pfl); \ + *ppClsid = (rclsid); \ + } + +#define DLLGETCLASSOBJECTROUTINE(pfl, factory_clsid, factory) \ + HRESULT WINAPI DLLGETCLASSOBJECT_ENTRY(REFCLSID rclsid, REFIID riid, void **ppv) DECLSPEC_HIDDEN; \ + HRESULT WINAPI DLLGETCLASSOBJECT_ENTRY(REFCLSID rclsid, REFIID riid, \ + void **ppv) \ + { \ + return NdrDllGetClassObject(rclsid, riid, ppv, (pfl), \ + (factory_clsid), factory); \ + } + +#define DLLCANUNLOADNOW(factory) \ + HRESULT WINAPI DLLCANUNLOADNOW_ENTRY(void) DECLSPEC_HIDDEN; \ + HRESULT WINAPI DLLCANUNLOADNOW_ENTRY(void) \ + { \ + return NdrDllCanUnloadNow((factory)); \ + } + +#define REGISTER_PROXY_DLL_ROUTINES(pfl, factory_clsid) \ + HINSTANCE hProxyDll DECLSPEC_HIDDEN = NULL; \ + \ + BOOL WINAPI DLLMAIN_ENTRY(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) DECLSPEC_HIDDEN; \ + BOOL WINAPI DLLMAIN_ENTRY(HINSTANCE hinstDLL, DWORD fdwReason, \ + LPVOID lpvReserved) \ + { \ + if (fdwReason == DLL_PROCESS_ATTACH) \ + { \ + DisableThreadLibraryCalls(hinstDLL); \ + hProxyDll = hinstDLL; \ + } \ + return TRUE; \ + } \ + \ + HRESULT WINAPI DLLREGISTERSERVER_ENTRY(void) DECLSPEC_HIDDEN; \ + HRESULT WINAPI DLLREGISTERSERVER_ENTRY(void) \ + { \ + WINE_DO_REGISTER_DLL( (pfl), (factory_clsid) ); \ + } \ + \ + HRESULT WINAPI DLLUNREGISTERSERVER_ENTRY(void) DECLSPEC_HIDDEN; \ + HRESULT WINAPI DLLUNREGISTERSERVER_ENTRY(void) \ + { \ + WINE_DO_UNREGISTER_DLL( (pfl), (factory_clsid) ); \ + } + +#if defined(REGISTER_PROXY_DLL) || defined(WINE_REGISTER_DLL) +# define DLLREGISTRY_ROUTINES(pfl, factory_clsid) \ + REGISTER_PROXY_DLL_ROUTINES(pfl, factory_clsid) +#else +# define DLLREGISTRY_ROUTINES(pfl, factory_clsid) +#endif + +#define DLLDATA_ROUTINES(pfl, factory_clsid) \ + CLSID_PSFACTORYBUFFER \ + CStdPSFactoryBuffer DECLSPEC_HIDDEN gPFactory = { NULL, 0, NULL, 0 }; \ + DLLDATA_GETPROXYDLLINFO(pfl, factory_clsid) \ + DLLGETCLASSOBJECTROUTINE(pfl, factory_clsid, &gPFactory) \ + DLLCANUNLOADNOW(&gPFactory) \ + CSTDSTUBBUFFERRELEASE(&gPFactory) \ + CSTDSTUBBUFFER2RELEASE(&gPFactory) \ + DLLREGISTRY_ROUTINES(pfl, factory_clsid) + +#if 0 + +RPCRTAPI HRESULT RPC_ENTRY + CreateProxyFromTypeInfo( LPTYPEINFO pTypeInfo, LPUNKNOWN pUnkOuter, REFIID riid, + LPRPCPROXYBUFFER *ppProxy, LPVOID *ppv ); +RPCRTAPI HRESULT RPC_ENTRY + CreateStubFromTypeInfo( LPTYPEINFO pTypeInfo, REFIID riid, LPUNKNOWN pUnkServer, + LPRPCSTUBBUFFER *ppStub ); + +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*__WINE_RPCPROXY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcsal.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcsal.h new file mode 100644 index 0000000..72a61ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rpcsal.h @@ -0,0 +1,170 @@ +/* + * Copyright (C) 2011 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + + +#ifndef __RPCSAL_H_VERSION__ +# define __RPCSAL_H_VERSION__ 100 +#endif + +#define __RPC__deref_in +#define __RPC__deref_in_opt +#define __RPC__deref_in_string +#define __RPC__deref_in_opt_string +#define __RPC__deref_in_ecount(size) +#define __RPC__deref_in_ecount_opt(size) +#define __RPC__deref_in_ecount_opt_string(size) +#define __RPC__deref_in_ecount_full(size) +#define __RPC__deref_in_ecount_full_opt(size) +#define __RPC__deref_in_ecount_full_string(size) +#define __RPC__deref_in_ecount_full_opt_string(size) +#define __RPC__deref_in_ecount_part(size, length) +#define __RPC__deref_in_ecount_part_opt(size, length) +#define __RPC__deref_in_xcount(size) +#define __RPC__deref_in_xcount_opt(size) +#define __RPC__deref_in_xcount_opt_string(size) +#define __RPC__deref_in_xcount_full(size) +#define __RPC__deref_in_xcount_full_opt(size) +#define __RPC__deref_in_xcount_full_string(size) +#define __RPC__deref_in_xcount_full_opt_string(size) +#define __RPC__deref_in_xcount_part(size, length) +#define __RPC__deref_in_xcount_part_opt(size, length) + +#define __RPC__deref_inout +#define __RPC__deref_inout_opt +#define __RPC__deref_inout_string +#define __RPC__deref_inout_opt_string +#define __RPC__deref_inout_ecount_opt(size) +#define __RPC__deref_inout_ecount_full(size) +#define __RPC__deref_inout_ecount_full_opt(size) +#define __RPC__deref_inout_ecount_full_string(size) +#define __RPC__deref_inout_ecount_full_opt_string(size) +#define __RPC__deref_inout_ecount_part_opt(size, length) +#define __RPC__deref_inout_xcount_opt(size) +#define __RPC__deref_inout_xcount_full(size) +#define __RPC__deref_inout_xcount_full_opt(size) +#define __RPC__deref_inout_xcount_full_string(size) +#define __RPC__deref_inout_xcount_full_opt_string(size) +#define __RPC__deref_inout_xcount_part_opt(size, length) + +#define __RPC__deref_out +#define __RPC__deref_out_opt +#define __RPC__deref_out_string +#define __RPC__deref_out_opt_string +#define __RPC__deref_out_ecount(size) +#define __RPC__deref_out_ecount_opt(size) +#define __RPC__deref_out_ecount_full(size) +#define __RPC__deref_out_ecount_full_opt(size) +#define __RPC__deref_out_ecount_full_string(size) +#define __RPC__deref_out_ecount_full_opt_string(size) +#define __RPC__deref_out_ecount_part(size, length) +#define __RPC__deref_out_ecount_part_opt(size, length) +#define __RPC__deref_out_xcount(size) +#define __RPC__deref_out_xcount_opt(size) +#define __RPC__deref_out_xcount_full(size) +#define __RPC__deref_out_xcount_full_opt(size) +#define __RPC__deref_out_xcount_full_string(size) +#define __RPC__deref_out_xcount_full_opt_string(size) +#define __RPC__deref_out_xcount_part(size, length) +#define __RPC__deref_out_xcount_part_opt(size, length) + +#define __RPC__deref_opt_in +#define __RPC__deref_opt_in_opt +#define __RPC__deref_opt_in_string +#define __RPC__deref_opt_in_opt_string + +#define __RPC__deref_opt_inout +#define __RPC__deref_opt_inout_opt +#define __RPC__deref_opt_inout_string +#define __RPC__deref_opt_inout_opt_string +#define __RPC__deref_opt_inout_ecount(size) +#define __RPC__deref_opt_inout_ecount_opt(size) +#define __RPC__deref_opt_inout_ecount_full(size) +#define __RPC__deref_opt_inout_ecount_full_opt(size) +#define __RPC__deref_opt_inout_ecount_full_string(size) +#define __RPC__deref_opt_inout_ecount_full_opt_string(size) +#define __RPC__deref_opt_inout_ecount_part(size, length) +#define __RPC__deref_opt_inout_ecount_part_opt(size, length) +#define __RPC__deref_opt_inout_xcount(size) +#define __RPC__deref_opt_inout_xcount_opt(size) +#define __RPC__deref_opt_inout_xcount_full(size) +#define __RPC__deref_opt_inout_xcount_full_opt(size) +#define __RPC__deref_opt_inout_xcount_full_string(size) +#define __RPC__deref_opt_inout_xcount_full_opt_string(size) +#define __RPC__deref_opt_inout_xcount_part(size, length) +#define __RPC__deref_opt_inout_xcount_part_opt(size, length) + +#define __RPC__in +#define __RPC__in_opt +#define __RPC__in_string +#define __RPC__in_opt_string +#define __RPC__in_ecount(size) +#define __RPC__in_ecount_opt(size) +#define __RPC__in_ecount_full(size) +#define __RPC__in_ecount_full_opt(size) +#define __RPC__in_ecount_full_string(size) +#define __RPC__in_ecount_full_opt_string(size) +#define __RPC__in_ecount_part(size, length) +#define __RPC__in_ecount_part_opt(size, length) +#define __RPC__in_xcount(size) +#define __RPC__in_xcount_opt(size) +#define __RPC__in_xcount_full(size) +#define __RPC__in_xcount_full_opt(size) +#define __RPC__in_xcount_full_string(size) +#define __RPC__in_xcount_full_opt_string(size) +#define __RPC__in_xcount_part(size, length) +#define __RPC__in_xcount_part_opt(size, length) + +#define __RPC__inout +#define __RPC__inout_opt +#define __RPC__inout_string +#define __RPC__inout_opt_string +#define __RPC__opt_inout +#define __RPC__inout_ecount(size) +#define __RPC__inout_ecount_opt(size) +#define __RPC__inout_ecount_full(size) +#define __RPC__inout_ecount_full_opt(size) +#define __RPC__inout_ecount_full_string(size) +#define __RPC__inout_ecount_full_opt_string(size) +#define __RPC__inout_ecount_part(size, length) +#define __RPC__inout_ecount_part_opt(size, length) +#define __RPC__inout_xcount(size) +#define __RPC__inout_xcount_opt(size) +#define __RPC__inout_xcount_full(size) +#define __RPC__inout_xcount_full_opt(size) +#define __RPC__inout_xcount_full_string(size) +#define __RPC__inout_xcount_full_opt_string(size) +#define __RPC__inout_xcount_part(size, length) +#define __RPC__inout_xcount_part_opt(size, length) + +#define __RPC__out +#define __RPC__out_ecount(size) +#define __RPC__out_ecount_full(size) +#define __RPC__out_ecount_full_string(size) +#define __RPC__out_ecount_part(size, length) +#define __RPC__out_xcount(size) +#define __RPC__out_xcount_full(size) +#define __RPC__out_xcount_full_string(size) +#define __RPC__out_xcount_part(size, length) + +#define __RPC_full_pointer +#define __RPC_ref_pointer +#define __RPC_string +#define __RPC_unique_pointer + +#define __RPC__range(min,max) +#define __RPC__in_range(min,max) diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstbas.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstbas.idl new file mode 100644 index 0000000..abf1359 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstbas.idl @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + local, + object, + uuid(0c733a7c-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowset : IUnknown +{ + typedef DWORD DBROWOPTIONS; + + HRESULT AddRefRows([in] DBCOUNTITEM cRows, + [in, size_is(cRows)] const HROW rghRows[], + [out, size_is(cRows)] DBREFCOUNT rgRefCounts[], + [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]); + + HRESULT GetData([in] HROW hRow, + [in] HACCESSOR hAccessor, + [out] void *pData); + + HRESULT GetNextRows([in] HCHAPTER hReserved, + [in] DBROWOFFSET lRowsOffset, + [in] DBROWCOUNT cRows, + [out] DBCOUNTITEM *pcRowObtained, + [out, size_is(,cRows)] HROW **prghRows); + + HRESULT ReleaseRows([in] DBCOUNTITEM cRows, + [in, size_is(cRows)] const HROW rghRows[], + [in, size_is(cRows)] DBROWOPTIONS rgRowOptions[], + [out, size_is(cRows)] DBREFCOUNT rgRefCounts[], + [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]); + + HRESULT RestartPosition([in] HCHAPTER hReserved); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstinf.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstinf.idl new file mode 100644 index 0000000..f26c55c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstinf.idl @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a55-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetInfo : IUnknown +{ + [local] + HRESULT GetProperties([in] const ULONG cPropertyIDSets, + [in, size_is(cPropertyIDSets), annotation("__in_ecount_opt(cPropertyIDSets)")] const DBPROPIDSET rgPropertyIDSets[], + [in, out, annotation("__out")] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets), annotation("__deref_out_ecount_opt(*pcPropertySets)")] DBPROPSET **prgPropertySets); + + [call_as(GetProperties)] + HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets, + [out] IErrorInfo **ppErrorInfoRem); + + [local] + HRESULT GetReferencedRowset([in] DBORDINAL iOrdinal, + [in, annotation("__in")] REFIID riid, + [out, iid_is(riid), annotation("deref_out_opt")] IUnknown **ppReferencedRowset); + + [call_as(GetReferencedRowset)] + HRESULT RemoteGetReferencedRowset([in] DBORDINAL iOrdinal, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppReferencedRowset, + [out] IErrorInfo **ppErrorInfoRem); + [local] + HRESULT GetSpecification([in, annotation("__in")] REFIID riid, + [out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSpecification); + + [call_as(GetSpecification)] + HRESULT RemoteGetSpecification([in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppSpecification, + [out] IErrorInfo **ppErrorInfoRem); + +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstloc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstloc.idl new file mode 100644 index 0000000..e02583a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstloc.idl @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + local, + object, + uuid(0c733a7d-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetLocate : IRowset +{ + typedef DWORD DBCOMPARE; + + enum DBCOMPAREENUM + { + DBCOMPARE_LT, + DBCOMPARE_EQ, + DBCOMPARE_GT, + DBCOMPARE_NE, + DBCOMPARE_NOTCOMPARABLE + }; + + HRESULT Compare([in] HCHAPTER hReserved, + [in] DBBKMARK cbBookmark1, + [in, size_is(cbBookmark1)] const BYTE *pBookmark1, + [in] DBBKMARK cbBookmark2, + [in, size_is(cbBookmark2)] const BYTE *pBookmark2, + [out] DBCOMPARE *pComparison); + + HRESULT GetRowsAt([in] HWATCHREGION hReserved1, + [in] HCHAPTER hReserved2, + [in] DBBKMARK cbBookmark, + [in, size_is(cbBookmark)] const BYTE *pBookmark, + [in] DBROWOFFSET lRowsOffset, + [in] DBROWCOUNT cRows, + [out] DBCOUNTITEM *pcRowsObtained, + [out, size_is(,cRows)] HROW **prghRows); + + HRESULT GetRowsByBookmark([in] HCHAPTER hReserved, + [in] DBCOUNTITEM cRows, + [in, size_is(cRows)] const DBBKMARK rgcbBookmarks[], + [in, size_is(cRows)] const BYTE *rgpBookmarks[], + [out, size_is(cRows)] HROW rghRows[], + [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]); + + HRESULT Hash([in] HCHAPTER hReserved, + [in] DBBKMARK cBookmarks, + [in, size_is(cBookmarks)] const DBBKMARK rgcbBookmarks[], + [in, size_is(cBookmarks)] const BYTE *rgpBookmarks[], + [out, size_is(cBookmarks)] DBHASHVALUE rgHashedValues[], + [out, size_is(cBookmarks)] DBROWSTATUS rgBookmarkStatus[]); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstnot.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstnot.idl new file mode 100644 index 0000000..9e6975f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rstnot.idl @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a83-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetNotify : IUnknown +{ + [local] + HRESULT OnFieldChange([in] IRowset *rowset, + [in] HROW row, + [in] DBORDINAL ccols, + [in, size_is((ULONG)ccols)] DBORDINAL *columns, + [in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cantdeny); + + [call_as(OnFieldChange)] + HRESULT RemoteOnFieldChange( + [in] IRowset *rowset, + [in] HROW row, + [in] DBORDINAL ccols, + [in, size_is((ULONG)ccols)] DBORDINAL *columns, + [in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cantdeny); + + [local] + HRESULT OnRowChange([in] IRowset *rowset, + [in] DBCOUNTITEM rows, + [in, size_is((ULONG)rows)] HROW *hrows, + [in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cantdeny); + + [call_as(OnRowChange)] + HRESULT RemoteOnRowChange( + [in] IRowset *rowset, + [in] DBCOUNTITEM rows, + [in, size_is((ULONG)rows)] HROW *hrows, + [in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cantdeny); + + [local] + HRESULT OnRowsetChange([in] IRowset *rowset, + [in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cantdeny); + + [call_as(OnRowsetChange)] + HRESULT RemoteOnRowsetChange( + [in] IRowset *rowset, + [in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cantdeny); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rtutils.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rtutils.h new file mode 100644 index 0000000..1e2921a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/rtutils.h @@ -0,0 +1,49 @@ +/* + * Rtutils.h - Routing utilities / RRAS tracing + * + * Copyright (C) 2009 Alexander Scott-Johns + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _RTUTILS_H_ +#define _RTUTILS_H_ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DWORD WINAPI TraceRegisterExW(LPCWSTR name, DWORD flags); +DWORD WINAPI TraceRegisterExA(LPCSTR name, DWORD flags); +#define TraceRegisterEx WINELIB_NAME_AW(TraceRegisterEx) + +#define TraceRegisterW(name) TraceRegisterExW((name), 0) +#define TraceRegisterA(name) TraceRegisterExA((name), 0) +#define TraceRegister WINELIB_NAME_AW(TraceRegister) + +/* Flags for TraceRegisterEx(W|A) */ +#define TRACE_USE_FILE 1 +#define TRACE_USE_CONSOLE 2 + +/* Return value of TraceRegisterEx(W|A) */ +#define INVALID_TRACEID 0xFFFFFFFF + +#ifdef __cplusplus +} +#endif + +#endif /* _RTUTILS_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapi.h new file mode 100644 index 0000000..4187607 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapi.h @@ -0,0 +1,1259 @@ +/*** Autogenerated by WIDL 2.18 from sapi.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __sapi_h__ +#define __sapi_h__ + +/* Forward declarations */ + +#ifndef __ISpDataKey_FWD_DEFINED__ +#define __ISpDataKey_FWD_DEFINED__ +typedef interface ISpDataKey ISpDataKey; +#ifdef __cplusplus +interface ISpDataKey; +#endif /* __cplusplus */ +#endif + +#ifndef __ISpRegDataKey_FWD_DEFINED__ +#define __ISpRegDataKey_FWD_DEFINED__ +typedef interface ISpRegDataKey ISpRegDataKey; +#ifdef __cplusplus +interface ISpRegDataKey; +#endif /* __cplusplus */ +#endif + +#ifndef __ISpObjectTokenCategory_FWD_DEFINED__ +#define __ISpObjectTokenCategory_FWD_DEFINED__ +typedef interface ISpObjectTokenCategory ISpObjectTokenCategory; +#ifdef __cplusplus +interface ISpObjectTokenCategory; +#endif /* __cplusplus */ +#endif + +#ifndef __ISpObjectToken_FWD_DEFINED__ +#define __ISpObjectToken_FWD_DEFINED__ +typedef interface ISpObjectToken ISpObjectToken; +#ifdef __cplusplus +interface ISpObjectToken; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumSpObjectTokens_FWD_DEFINED__ +#define __IEnumSpObjectTokens_FWD_DEFINED__ +typedef interface IEnumSpObjectTokens IEnumSpObjectTokens; +#ifdef __cplusplus +interface IEnumSpObjectTokens; +#endif /* __cplusplus */ +#endif + +#ifndef __SpObjectTokenCategory_FWD_DEFINED__ +#define __SpObjectTokenCategory_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SpObjectTokenCategory SpObjectTokenCategory; +#else +typedef struct SpObjectTokenCategory SpObjectTokenCategory; +#endif /* defined __cplusplus */ +#endif /* defined __SpObjectTokenCategory_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum SPDATAKEYLOCATION { + SPDKL_DefaultLocation = 0, + SPDKL_CurrentUser = 1, + SPDKL_LocalMachine = 2, + SPDKL_CurrentConfig = 5 +} SPDATAKEYLOCATION; +#if defined(__GNUC__) +#define SPCAT_AUDIOOUT (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\','S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','S','p','e','e','c','h','\\','A','u','d','i','o','O','u','t','p','u','t',0 } +#define SPCAT_AUDIOIN (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\','S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','S','p','e','e','c','h','\\','A','u','d','i','o','I','n','p','u','t',0 } +#define SPCAT_VOICES (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\','S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','S','p','e','e','c','h','\\','V','o','i','c','e','s',0 } +#elif defined(_MSC_VER) +#define SPCAT_AUDIOOUT L"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\AudioOutput" +#define SPCAT_AUDIOIN L"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\AudioInput" +#define SPCAT_VOICES L"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Voices" +#else +static const WCHAR SPCAT_AUDIOOUT[] = {'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\','S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','S','p','e','e','c','h','\\','A','u','d','i','o','O','u','t','p','u','t',0}; +static const WCHAR SPCAT_AUDIOIN[] = {'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\','S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','S','p','e','e','c','h','\\','A','u','d','i','o','I','n','p','u','t',0}; +static const WCHAR SPCAT_VOICES[] = {'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\','S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','S','p','e','e','c','h','\\','V','o','i','c','e','s',0}; +#endif +#ifndef __IEnumSpObjectTokens_FWD_DEFINED__ +#define __IEnumSpObjectTokens_FWD_DEFINED__ +typedef interface IEnumSpObjectTokens IEnumSpObjectTokens; +#ifdef __cplusplus +interface IEnumSpObjectTokens; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * ISpDataKey interface + */ +#ifndef __ISpDataKey_INTERFACE_DEFINED__ +#define __ISpDataKey_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISpDataKey, 0x14056581, 0xe16c, 0x11d2, 0xbb,0x90, 0x00,0xc0,0x4f,0x8e,0xe6,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("14056581-e16c-11d2-bb90-00c04f8ee6c0") +ISpDataKey : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetData( + LPCWSTR pszValueName, + ULONG cbData, + const BYTE *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetData( + LPCWSTR pszValueName, + ULONG *pcbData, + BYTE *pData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStringValue( + LPCWSTR pszValueName, + LPCWSTR pszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringValue( + LPCWSTR pszValueName, + LPWSTR *ppszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDWORD( + LPCWSTR pszValueName, + DWORD dwValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDWORD( + LPCWSTR pszValueName, + DWORD *pdwValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenKey( + LPCWSTR pszSubKeyName, + ISpDataKey **ppSubKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateKey( + LPCWSTR pszSubKey, + ISpDataKey **ppSubKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteKey( + LPCWSTR pszSubKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteValue( + LPCWSTR pszValueName) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumKeys( + ULONG Index, + LPWSTR *ppszSubKeyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumValues( + ULONG Index, + LPWSTR *ppszValueName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISpDataKey, 0x14056581, 0xe16c, 0x11d2, 0xbb,0x90, 0x00,0xc0,0x4f,0x8e,0xe6,0xc0) +#endif +#else +typedef struct ISpDataKeyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISpDataKey *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISpDataKey *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISpDataKey *This); + + /*** ISpDataKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetData)( + ISpDataKey *This, + LPCWSTR pszValueName, + ULONG cbData, + const BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ISpDataKey *This, + LPCWSTR pszValueName, + ULONG *pcbData, + BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *SetStringValue)( + ISpDataKey *This, + LPCWSTR pszValueName, + LPCWSTR pszValue); + + HRESULT (STDMETHODCALLTYPE *GetStringValue)( + ISpDataKey *This, + LPCWSTR pszValueName, + LPWSTR *ppszValue); + + HRESULT (STDMETHODCALLTYPE *SetDWORD)( + ISpDataKey *This, + LPCWSTR pszValueName, + DWORD dwValue); + + HRESULT (STDMETHODCALLTYPE *GetDWORD)( + ISpDataKey *This, + LPCWSTR pszValueName, + DWORD *pdwValue); + + HRESULT (STDMETHODCALLTYPE *OpenKey)( + ISpDataKey *This, + LPCWSTR pszSubKeyName, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *CreateKey)( + ISpDataKey *This, + LPCWSTR pszSubKey, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteKey)( + ISpDataKey *This, + LPCWSTR pszSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteValue)( + ISpDataKey *This, + LPCWSTR pszValueName); + + HRESULT (STDMETHODCALLTYPE *EnumKeys)( + ISpDataKey *This, + ULONG Index, + LPWSTR *ppszSubKeyName); + + HRESULT (STDMETHODCALLTYPE *EnumValues)( + ISpDataKey *This, + ULONG Index, + LPWSTR *ppszValueName); + + END_INTERFACE +} ISpDataKeyVtbl; + +interface ISpDataKey { + CONST_VTBL ISpDataKeyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISpDataKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISpDataKey_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISpDataKey_Release(This) (This)->lpVtbl->Release(This) +/*** ISpDataKey methods ***/ +#define ISpDataKey_SetData(This,pszValueName,cbData,pData) (This)->lpVtbl->SetData(This,pszValueName,cbData,pData) +#define ISpDataKey_GetData(This,pszValueName,pcbData,pData) (This)->lpVtbl->GetData(This,pszValueName,pcbData,pData) +#define ISpDataKey_SetStringValue(This,pszValueName,pszValue) (This)->lpVtbl->SetStringValue(This,pszValueName,pszValue) +#define ISpDataKey_GetStringValue(This,pszValueName,ppszValue) (This)->lpVtbl->GetStringValue(This,pszValueName,ppszValue) +#define ISpDataKey_SetDWORD(This,pszValueName,dwValue) (This)->lpVtbl->SetDWORD(This,pszValueName,dwValue) +#define ISpDataKey_GetDWORD(This,pszValueName,pdwValue) (This)->lpVtbl->GetDWORD(This,pszValueName,pdwValue) +#define ISpDataKey_OpenKey(This,pszSubKeyName,ppSubKey) (This)->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey) +#define ISpDataKey_CreateKey(This,pszSubKey,ppSubKey) (This)->lpVtbl->CreateKey(This,pszSubKey,ppSubKey) +#define ISpDataKey_DeleteKey(This,pszSubKey) (This)->lpVtbl->DeleteKey(This,pszSubKey) +#define ISpDataKey_DeleteValue(This,pszValueName) (This)->lpVtbl->DeleteValue(This,pszValueName) +#define ISpDataKey_EnumKeys(This,Index,ppszSubKeyName) (This)->lpVtbl->EnumKeys(This,Index,ppszSubKeyName) +#define ISpDataKey_EnumValues(This,Index,ppszValueName) (This)->lpVtbl->EnumValues(This,Index,ppszValueName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISpDataKey_QueryInterface(ISpDataKey* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISpDataKey_AddRef(ISpDataKey* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISpDataKey_Release(ISpDataKey* This) { + return This->lpVtbl->Release(This); +} +/*** ISpDataKey methods ***/ +static FORCEINLINE HRESULT ISpDataKey_SetData(ISpDataKey* This,LPCWSTR pszValueName,ULONG cbData,const BYTE *pData) { + return This->lpVtbl->SetData(This,pszValueName,cbData,pData); +} +static FORCEINLINE HRESULT ISpDataKey_GetData(ISpDataKey* This,LPCWSTR pszValueName,ULONG *pcbData,BYTE *pData) { + return This->lpVtbl->GetData(This,pszValueName,pcbData,pData); +} +static FORCEINLINE HRESULT ISpDataKey_SetStringValue(ISpDataKey* This,LPCWSTR pszValueName,LPCWSTR pszValue) { + return This->lpVtbl->SetStringValue(This,pszValueName,pszValue); +} +static FORCEINLINE HRESULT ISpDataKey_GetStringValue(ISpDataKey* This,LPCWSTR pszValueName,LPWSTR *ppszValue) { + return This->lpVtbl->GetStringValue(This,pszValueName,ppszValue); +} +static FORCEINLINE HRESULT ISpDataKey_SetDWORD(ISpDataKey* This,LPCWSTR pszValueName,DWORD dwValue) { + return This->lpVtbl->SetDWORD(This,pszValueName,dwValue); +} +static FORCEINLINE HRESULT ISpDataKey_GetDWORD(ISpDataKey* This,LPCWSTR pszValueName,DWORD *pdwValue) { + return This->lpVtbl->GetDWORD(This,pszValueName,pdwValue); +} +static FORCEINLINE HRESULT ISpDataKey_OpenKey(ISpDataKey* This,LPCWSTR pszSubKeyName,ISpDataKey **ppSubKey) { + return This->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey); +} +static FORCEINLINE HRESULT ISpDataKey_CreateKey(ISpDataKey* This,LPCWSTR pszSubKey,ISpDataKey **ppSubKey) { + return This->lpVtbl->CreateKey(This,pszSubKey,ppSubKey); +} +static FORCEINLINE HRESULT ISpDataKey_DeleteKey(ISpDataKey* This,LPCWSTR pszSubKey) { + return This->lpVtbl->DeleteKey(This,pszSubKey); +} +static FORCEINLINE HRESULT ISpDataKey_DeleteValue(ISpDataKey* This,LPCWSTR pszValueName) { + return This->lpVtbl->DeleteValue(This,pszValueName); +} +static FORCEINLINE HRESULT ISpDataKey_EnumKeys(ISpDataKey* This,ULONG Index,LPWSTR *ppszSubKeyName) { + return This->lpVtbl->EnumKeys(This,Index,ppszSubKeyName); +} +static FORCEINLINE HRESULT ISpDataKey_EnumValues(ISpDataKey* This,ULONG Index,LPWSTR *ppszValueName) { + return This->lpVtbl->EnumValues(This,Index,ppszValueName); +} +#endif +#endif + +#endif + + +#endif /* __ISpDataKey_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISpRegDataKey interface + */ +#ifndef __ISpRegDataKey_INTERFACE_DEFINED__ +#define __ISpRegDataKey_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISpRegDataKey, 0x92a66e2b, 0xc830, 0x4149, 0x83,0xdf, 0x6f,0xc2,0xba,0x1e,0x7a,0x5b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("92a66e2b-c830-4149-83df-6fc2ba1e7a5b") +ISpRegDataKey : public ISpDataKey +{ + virtual HRESULT STDMETHODCALLTYPE SetKey( + HKEY hkey, + BOOL fReadOnly) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISpRegDataKey, 0x92a66e2b, 0xc830, 0x4149, 0x83,0xdf, 0x6f,0xc2,0xba,0x1e,0x7a,0x5b) +#endif +#else +typedef struct ISpRegDataKeyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISpRegDataKey *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISpRegDataKey *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISpRegDataKey *This); + + /*** ISpDataKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetData)( + ISpRegDataKey *This, + LPCWSTR pszValueName, + ULONG cbData, + const BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ISpRegDataKey *This, + LPCWSTR pszValueName, + ULONG *pcbData, + BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *SetStringValue)( + ISpRegDataKey *This, + LPCWSTR pszValueName, + LPCWSTR pszValue); + + HRESULT (STDMETHODCALLTYPE *GetStringValue)( + ISpRegDataKey *This, + LPCWSTR pszValueName, + LPWSTR *ppszValue); + + HRESULT (STDMETHODCALLTYPE *SetDWORD)( + ISpRegDataKey *This, + LPCWSTR pszValueName, + DWORD dwValue); + + HRESULT (STDMETHODCALLTYPE *GetDWORD)( + ISpRegDataKey *This, + LPCWSTR pszValueName, + DWORD *pdwValue); + + HRESULT (STDMETHODCALLTYPE *OpenKey)( + ISpRegDataKey *This, + LPCWSTR pszSubKeyName, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *CreateKey)( + ISpRegDataKey *This, + LPCWSTR pszSubKey, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteKey)( + ISpRegDataKey *This, + LPCWSTR pszSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteValue)( + ISpRegDataKey *This, + LPCWSTR pszValueName); + + HRESULT (STDMETHODCALLTYPE *EnumKeys)( + ISpRegDataKey *This, + ULONG Index, + LPWSTR *ppszSubKeyName); + + HRESULT (STDMETHODCALLTYPE *EnumValues)( + ISpRegDataKey *This, + ULONG Index, + LPWSTR *ppszValueName); + + /*** ISpRegDataKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetKey)( + ISpRegDataKey *This, + HKEY hkey, + BOOL fReadOnly); + + END_INTERFACE +} ISpRegDataKeyVtbl; + +interface ISpRegDataKey { + CONST_VTBL ISpRegDataKeyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISpRegDataKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISpRegDataKey_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISpRegDataKey_Release(This) (This)->lpVtbl->Release(This) +/*** ISpDataKey methods ***/ +#define ISpRegDataKey_SetData(This,pszValueName,cbData,pData) (This)->lpVtbl->SetData(This,pszValueName,cbData,pData) +#define ISpRegDataKey_GetData(This,pszValueName,pcbData,pData) (This)->lpVtbl->GetData(This,pszValueName,pcbData,pData) +#define ISpRegDataKey_SetStringValue(This,pszValueName,pszValue) (This)->lpVtbl->SetStringValue(This,pszValueName,pszValue) +#define ISpRegDataKey_GetStringValue(This,pszValueName,ppszValue) (This)->lpVtbl->GetStringValue(This,pszValueName,ppszValue) +#define ISpRegDataKey_SetDWORD(This,pszValueName,dwValue) (This)->lpVtbl->SetDWORD(This,pszValueName,dwValue) +#define ISpRegDataKey_GetDWORD(This,pszValueName,pdwValue) (This)->lpVtbl->GetDWORD(This,pszValueName,pdwValue) +#define ISpRegDataKey_OpenKey(This,pszSubKeyName,ppSubKey) (This)->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey) +#define ISpRegDataKey_CreateKey(This,pszSubKey,ppSubKey) (This)->lpVtbl->CreateKey(This,pszSubKey,ppSubKey) +#define ISpRegDataKey_DeleteKey(This,pszSubKey) (This)->lpVtbl->DeleteKey(This,pszSubKey) +#define ISpRegDataKey_DeleteValue(This,pszValueName) (This)->lpVtbl->DeleteValue(This,pszValueName) +#define ISpRegDataKey_EnumKeys(This,Index,ppszSubKeyName) (This)->lpVtbl->EnumKeys(This,Index,ppszSubKeyName) +#define ISpRegDataKey_EnumValues(This,Index,ppszValueName) (This)->lpVtbl->EnumValues(This,Index,ppszValueName) +/*** ISpRegDataKey methods ***/ +#define ISpRegDataKey_SetKey(This,hkey,fReadOnly) (This)->lpVtbl->SetKey(This,hkey,fReadOnly) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISpRegDataKey_QueryInterface(ISpRegDataKey* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISpRegDataKey_AddRef(ISpRegDataKey* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISpRegDataKey_Release(ISpRegDataKey* This) { + return This->lpVtbl->Release(This); +} +/*** ISpDataKey methods ***/ +static FORCEINLINE HRESULT ISpRegDataKey_SetData(ISpRegDataKey* This,LPCWSTR pszValueName,ULONG cbData,const BYTE *pData) { + return This->lpVtbl->SetData(This,pszValueName,cbData,pData); +} +static FORCEINLINE HRESULT ISpRegDataKey_GetData(ISpRegDataKey* This,LPCWSTR pszValueName,ULONG *pcbData,BYTE *pData) { + return This->lpVtbl->GetData(This,pszValueName,pcbData,pData); +} +static FORCEINLINE HRESULT ISpRegDataKey_SetStringValue(ISpRegDataKey* This,LPCWSTR pszValueName,LPCWSTR pszValue) { + return This->lpVtbl->SetStringValue(This,pszValueName,pszValue); +} +static FORCEINLINE HRESULT ISpRegDataKey_GetStringValue(ISpRegDataKey* This,LPCWSTR pszValueName,LPWSTR *ppszValue) { + return This->lpVtbl->GetStringValue(This,pszValueName,ppszValue); +} +static FORCEINLINE HRESULT ISpRegDataKey_SetDWORD(ISpRegDataKey* This,LPCWSTR pszValueName,DWORD dwValue) { + return This->lpVtbl->SetDWORD(This,pszValueName,dwValue); +} +static FORCEINLINE HRESULT ISpRegDataKey_GetDWORD(ISpRegDataKey* This,LPCWSTR pszValueName,DWORD *pdwValue) { + return This->lpVtbl->GetDWORD(This,pszValueName,pdwValue); +} +static FORCEINLINE HRESULT ISpRegDataKey_OpenKey(ISpRegDataKey* This,LPCWSTR pszSubKeyName,ISpDataKey **ppSubKey) { + return This->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey); +} +static FORCEINLINE HRESULT ISpRegDataKey_CreateKey(ISpRegDataKey* This,LPCWSTR pszSubKey,ISpDataKey **ppSubKey) { + return This->lpVtbl->CreateKey(This,pszSubKey,ppSubKey); +} +static FORCEINLINE HRESULT ISpRegDataKey_DeleteKey(ISpRegDataKey* This,LPCWSTR pszSubKey) { + return This->lpVtbl->DeleteKey(This,pszSubKey); +} +static FORCEINLINE HRESULT ISpRegDataKey_DeleteValue(ISpRegDataKey* This,LPCWSTR pszValueName) { + return This->lpVtbl->DeleteValue(This,pszValueName); +} +static FORCEINLINE HRESULT ISpRegDataKey_EnumKeys(ISpRegDataKey* This,ULONG Index,LPWSTR *ppszSubKeyName) { + return This->lpVtbl->EnumKeys(This,Index,ppszSubKeyName); +} +static FORCEINLINE HRESULT ISpRegDataKey_EnumValues(ISpRegDataKey* This,ULONG Index,LPWSTR *ppszValueName) { + return This->lpVtbl->EnumValues(This,Index,ppszValueName); +} +/*** ISpRegDataKey methods ***/ +static FORCEINLINE HRESULT ISpRegDataKey_SetKey(ISpRegDataKey* This,HKEY hkey,BOOL fReadOnly) { + return This->lpVtbl->SetKey(This,hkey,fReadOnly); +} +#endif +#endif + +#endif + + +#endif /* __ISpRegDataKey_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISpObjectTokenCategory interface + */ +#ifndef __ISpObjectTokenCategory_INTERFACE_DEFINED__ +#define __ISpObjectTokenCategory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISpObjectTokenCategory, 0x2d3d3845, 0x39af, 0x4850, 0xbb,0xf9, 0x40,0xb4,0x97,0x80,0x01,0x1d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2d3d3845-39af-4850-bbf9-40b49780011d") +ISpObjectTokenCategory : public ISpDataKey +{ + virtual HRESULT STDMETHODCALLTYPE SetId( + LPCWSTR pszCategoryId, + BOOL fCreateIfNotExist) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetId( + LPWSTR *ppszCoMemCategoryId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataKey( + SPDATAKEYLOCATION spdkl, + ISpDataKey **ppDataKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumTokens( + LPCWSTR pszReqAttribs, + LPCWSTR pszOptAttribs, + IEnumSpObjectTokens **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultTokenId( + LPCWSTR pszTokenId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultTokenId( + LPWSTR *ppszCoMemTokenId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISpObjectTokenCategory, 0x2d3d3845, 0x39af, 0x4850, 0xbb,0xf9, 0x40,0xb4,0x97,0x80,0x01,0x1d) +#endif +#else +typedef struct ISpObjectTokenCategoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISpObjectTokenCategory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISpObjectTokenCategory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISpObjectTokenCategory *This); + + /*** ISpDataKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetData)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName, + ULONG cbData, + const BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName, + ULONG *pcbData, + BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *SetStringValue)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName, + LPCWSTR pszValue); + + HRESULT (STDMETHODCALLTYPE *GetStringValue)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName, + LPWSTR *ppszValue); + + HRESULT (STDMETHODCALLTYPE *SetDWORD)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName, + DWORD dwValue); + + HRESULT (STDMETHODCALLTYPE *GetDWORD)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName, + DWORD *pdwValue); + + HRESULT (STDMETHODCALLTYPE *OpenKey)( + ISpObjectTokenCategory *This, + LPCWSTR pszSubKeyName, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *CreateKey)( + ISpObjectTokenCategory *This, + LPCWSTR pszSubKey, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteKey)( + ISpObjectTokenCategory *This, + LPCWSTR pszSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteValue)( + ISpObjectTokenCategory *This, + LPCWSTR pszValueName); + + HRESULT (STDMETHODCALLTYPE *EnumKeys)( + ISpObjectTokenCategory *This, + ULONG Index, + LPWSTR *ppszSubKeyName); + + HRESULT (STDMETHODCALLTYPE *EnumValues)( + ISpObjectTokenCategory *This, + ULONG Index, + LPWSTR *ppszValueName); + + /*** ISpObjectTokenCategory methods ***/ + HRESULT (STDMETHODCALLTYPE *SetId)( + ISpObjectTokenCategory *This, + LPCWSTR pszCategoryId, + BOOL fCreateIfNotExist); + + HRESULT (STDMETHODCALLTYPE *GetId)( + ISpObjectTokenCategory *This, + LPWSTR *ppszCoMemCategoryId); + + HRESULT (STDMETHODCALLTYPE *GetDataKey)( + ISpObjectTokenCategory *This, + SPDATAKEYLOCATION spdkl, + ISpDataKey **ppDataKey); + + HRESULT (STDMETHODCALLTYPE *EnumTokens)( + ISpObjectTokenCategory *This, + LPCWSTR pszReqAttribs, + LPCWSTR pszOptAttribs, + IEnumSpObjectTokens **ppEnum); + + HRESULT (STDMETHODCALLTYPE *SetDefaultTokenId)( + ISpObjectTokenCategory *This, + LPCWSTR pszTokenId); + + HRESULT (STDMETHODCALLTYPE *GetDefaultTokenId)( + ISpObjectTokenCategory *This, + LPWSTR *ppszCoMemTokenId); + + END_INTERFACE +} ISpObjectTokenCategoryVtbl; + +interface ISpObjectTokenCategory { + CONST_VTBL ISpObjectTokenCategoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISpObjectTokenCategory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISpObjectTokenCategory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISpObjectTokenCategory_Release(This) (This)->lpVtbl->Release(This) +/*** ISpDataKey methods ***/ +#define ISpObjectTokenCategory_SetData(This,pszValueName,cbData,pData) (This)->lpVtbl->SetData(This,pszValueName,cbData,pData) +#define ISpObjectTokenCategory_GetData(This,pszValueName,pcbData,pData) (This)->lpVtbl->GetData(This,pszValueName,pcbData,pData) +#define ISpObjectTokenCategory_SetStringValue(This,pszValueName,pszValue) (This)->lpVtbl->SetStringValue(This,pszValueName,pszValue) +#define ISpObjectTokenCategory_GetStringValue(This,pszValueName,ppszValue) (This)->lpVtbl->GetStringValue(This,pszValueName,ppszValue) +#define ISpObjectTokenCategory_SetDWORD(This,pszValueName,dwValue) (This)->lpVtbl->SetDWORD(This,pszValueName,dwValue) +#define ISpObjectTokenCategory_GetDWORD(This,pszValueName,pdwValue) (This)->lpVtbl->GetDWORD(This,pszValueName,pdwValue) +#define ISpObjectTokenCategory_OpenKey(This,pszSubKeyName,ppSubKey) (This)->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey) +#define ISpObjectTokenCategory_CreateKey(This,pszSubKey,ppSubKey) (This)->lpVtbl->CreateKey(This,pszSubKey,ppSubKey) +#define ISpObjectTokenCategory_DeleteKey(This,pszSubKey) (This)->lpVtbl->DeleteKey(This,pszSubKey) +#define ISpObjectTokenCategory_DeleteValue(This,pszValueName) (This)->lpVtbl->DeleteValue(This,pszValueName) +#define ISpObjectTokenCategory_EnumKeys(This,Index,ppszSubKeyName) (This)->lpVtbl->EnumKeys(This,Index,ppszSubKeyName) +#define ISpObjectTokenCategory_EnumValues(This,Index,ppszValueName) (This)->lpVtbl->EnumValues(This,Index,ppszValueName) +/*** ISpObjectTokenCategory methods ***/ +#define ISpObjectTokenCategory_SetId(This,pszCategoryId,fCreateIfNotExist) (This)->lpVtbl->SetId(This,pszCategoryId,fCreateIfNotExist) +#define ISpObjectTokenCategory_GetId(This,ppszCoMemCategoryId) (This)->lpVtbl->GetId(This,ppszCoMemCategoryId) +#define ISpObjectTokenCategory_GetDataKey(This,spdkl,ppDataKey) (This)->lpVtbl->GetDataKey(This,spdkl,ppDataKey) +#define ISpObjectTokenCategory_EnumTokens(This,pszReqAttribs,pszOptAttribs,ppEnum) (This)->lpVtbl->EnumTokens(This,pszReqAttribs,pszOptAttribs,ppEnum) +#define ISpObjectTokenCategory_SetDefaultTokenId(This,pszTokenId) (This)->lpVtbl->SetDefaultTokenId(This,pszTokenId) +#define ISpObjectTokenCategory_GetDefaultTokenId(This,ppszCoMemTokenId) (This)->lpVtbl->GetDefaultTokenId(This,ppszCoMemTokenId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISpObjectTokenCategory_QueryInterface(ISpObjectTokenCategory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISpObjectTokenCategory_AddRef(ISpObjectTokenCategory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISpObjectTokenCategory_Release(ISpObjectTokenCategory* This) { + return This->lpVtbl->Release(This); +} +/*** ISpDataKey methods ***/ +static FORCEINLINE HRESULT ISpObjectTokenCategory_SetData(ISpObjectTokenCategory* This,LPCWSTR pszValueName,ULONG cbData,const BYTE *pData) { + return This->lpVtbl->SetData(This,pszValueName,cbData,pData); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_GetData(ISpObjectTokenCategory* This,LPCWSTR pszValueName,ULONG *pcbData,BYTE *pData) { + return This->lpVtbl->GetData(This,pszValueName,pcbData,pData); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_SetStringValue(ISpObjectTokenCategory* This,LPCWSTR pszValueName,LPCWSTR pszValue) { + return This->lpVtbl->SetStringValue(This,pszValueName,pszValue); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_GetStringValue(ISpObjectTokenCategory* This,LPCWSTR pszValueName,LPWSTR *ppszValue) { + return This->lpVtbl->GetStringValue(This,pszValueName,ppszValue); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_SetDWORD(ISpObjectTokenCategory* This,LPCWSTR pszValueName,DWORD dwValue) { + return This->lpVtbl->SetDWORD(This,pszValueName,dwValue); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_GetDWORD(ISpObjectTokenCategory* This,LPCWSTR pszValueName,DWORD *pdwValue) { + return This->lpVtbl->GetDWORD(This,pszValueName,pdwValue); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_OpenKey(ISpObjectTokenCategory* This,LPCWSTR pszSubKeyName,ISpDataKey **ppSubKey) { + return This->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_CreateKey(ISpObjectTokenCategory* This,LPCWSTR pszSubKey,ISpDataKey **ppSubKey) { + return This->lpVtbl->CreateKey(This,pszSubKey,ppSubKey); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_DeleteKey(ISpObjectTokenCategory* This,LPCWSTR pszSubKey) { + return This->lpVtbl->DeleteKey(This,pszSubKey); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_DeleteValue(ISpObjectTokenCategory* This,LPCWSTR pszValueName) { + return This->lpVtbl->DeleteValue(This,pszValueName); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_EnumKeys(ISpObjectTokenCategory* This,ULONG Index,LPWSTR *ppszSubKeyName) { + return This->lpVtbl->EnumKeys(This,Index,ppszSubKeyName); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_EnumValues(ISpObjectTokenCategory* This,ULONG Index,LPWSTR *ppszValueName) { + return This->lpVtbl->EnumValues(This,Index,ppszValueName); +} +/*** ISpObjectTokenCategory methods ***/ +static FORCEINLINE HRESULT ISpObjectTokenCategory_SetId(ISpObjectTokenCategory* This,LPCWSTR pszCategoryId,BOOL fCreateIfNotExist) { + return This->lpVtbl->SetId(This,pszCategoryId,fCreateIfNotExist); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_GetId(ISpObjectTokenCategory* This,LPWSTR *ppszCoMemCategoryId) { + return This->lpVtbl->GetId(This,ppszCoMemCategoryId); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_GetDataKey(ISpObjectTokenCategory* This,SPDATAKEYLOCATION spdkl,ISpDataKey **ppDataKey) { + return This->lpVtbl->GetDataKey(This,spdkl,ppDataKey); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_EnumTokens(ISpObjectTokenCategory* This,LPCWSTR pszReqAttribs,LPCWSTR pszOptAttribs,IEnumSpObjectTokens **ppEnum) { + return This->lpVtbl->EnumTokens(This,pszReqAttribs,pszOptAttribs,ppEnum); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_SetDefaultTokenId(ISpObjectTokenCategory* This,LPCWSTR pszTokenId) { + return This->lpVtbl->SetDefaultTokenId(This,pszTokenId); +} +static FORCEINLINE HRESULT ISpObjectTokenCategory_GetDefaultTokenId(ISpObjectTokenCategory* This,LPWSTR *ppszCoMemTokenId) { + return This->lpVtbl->GetDefaultTokenId(This,ppszCoMemTokenId); +} +#endif +#endif + +#endif + + +#endif /* __ISpObjectTokenCategory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISpObjectToken interface + */ +#ifndef __ISpObjectToken_INTERFACE_DEFINED__ +#define __ISpObjectToken_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISpObjectToken, 0x14056589, 0xe16c, 0x11d2, 0xbb,0x90, 0x00,0xc0,0x4f,0x8e,0xe6,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("14056589-e16c-11d2-bb90-00c04f8ee6c0") +ISpObjectToken : public ISpDataKey +{ + virtual HRESULT STDMETHODCALLTYPE SetId( + LPCWSTR pszCategoryId, + LPCWSTR pszTokenId, + BOOL fCreateIfNotExist) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetId( + LPWSTR *ppszCoMemTokenId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCategory( + ISpObjectTokenCategory **ppTokenCategory) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IUnknown *pUnkOuter, + DWORD dwClsContext, + REFIID riid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStorageFileName( + REFCLSID clsidCaller, + LPCWSTR pszValueName, + LPCWSTR pszFileNameSpecifier, + ULONG nFolder, + LPWSTR *ppszFilePath) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStorageFileName( + REFCLSID clsidCaller, + LPCWSTR pszKeyName, + BOOL fDeleteFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + const CLSID *pclsidCaller) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUISupported( + LPCWSTR pszTypeOfUI, + void *pvExtraData, + ULONG cbExtraData, + IUnknown *punkObject, + BOOL *pfSupported) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayUI( + HWND hwndParent, + LPCWSTR pszTitle, + LPCWSTR pszTypeOfUI, + void *pvExtraData, + ULONG cbExtraData, + IUnknown *punkObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchesAttributes( + LPCWSTR pszAttributes, + BOOL *pfMatches) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISpObjectToken, 0x14056589, 0xe16c, 0x11d2, 0xbb,0x90, 0x00,0xc0,0x4f,0x8e,0xe6,0xc0) +#endif +#else +typedef struct ISpObjectTokenVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISpObjectToken *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISpObjectToken *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISpObjectToken *This); + + /*** ISpDataKey methods ***/ + HRESULT (STDMETHODCALLTYPE *SetData)( + ISpObjectToken *This, + LPCWSTR pszValueName, + ULONG cbData, + const BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *GetData)( + ISpObjectToken *This, + LPCWSTR pszValueName, + ULONG *pcbData, + BYTE *pData); + + HRESULT (STDMETHODCALLTYPE *SetStringValue)( + ISpObjectToken *This, + LPCWSTR pszValueName, + LPCWSTR pszValue); + + HRESULT (STDMETHODCALLTYPE *GetStringValue)( + ISpObjectToken *This, + LPCWSTR pszValueName, + LPWSTR *ppszValue); + + HRESULT (STDMETHODCALLTYPE *SetDWORD)( + ISpObjectToken *This, + LPCWSTR pszValueName, + DWORD dwValue); + + HRESULT (STDMETHODCALLTYPE *GetDWORD)( + ISpObjectToken *This, + LPCWSTR pszValueName, + DWORD *pdwValue); + + HRESULT (STDMETHODCALLTYPE *OpenKey)( + ISpObjectToken *This, + LPCWSTR pszSubKeyName, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *CreateKey)( + ISpObjectToken *This, + LPCWSTR pszSubKey, + ISpDataKey **ppSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteKey)( + ISpObjectToken *This, + LPCWSTR pszSubKey); + + HRESULT (STDMETHODCALLTYPE *DeleteValue)( + ISpObjectToken *This, + LPCWSTR pszValueName); + + HRESULT (STDMETHODCALLTYPE *EnumKeys)( + ISpObjectToken *This, + ULONG Index, + LPWSTR *ppszSubKeyName); + + HRESULT (STDMETHODCALLTYPE *EnumValues)( + ISpObjectToken *This, + ULONG Index, + LPWSTR *ppszValueName); + + /*** ISpObjectToken methods ***/ + HRESULT (STDMETHODCALLTYPE *SetId)( + ISpObjectToken *This, + LPCWSTR pszCategoryId, + LPCWSTR pszTokenId, + BOOL fCreateIfNotExist); + + HRESULT (STDMETHODCALLTYPE *GetId)( + ISpObjectToken *This, + LPWSTR *ppszCoMemTokenId); + + HRESULT (STDMETHODCALLTYPE *GetCategory)( + ISpObjectToken *This, + ISpObjectTokenCategory **ppTokenCategory); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + ISpObjectToken *This, + IUnknown *pUnkOuter, + DWORD dwClsContext, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *GetStorageFileName)( + ISpObjectToken *This, + REFCLSID clsidCaller, + LPCWSTR pszValueName, + LPCWSTR pszFileNameSpecifier, + ULONG nFolder, + LPWSTR *ppszFilePath); + + HRESULT (STDMETHODCALLTYPE *RemoveStorageFileName)( + ISpObjectToken *This, + REFCLSID clsidCaller, + LPCWSTR pszKeyName, + BOOL fDeleteFile); + + HRESULT (STDMETHODCALLTYPE *Remove)( + ISpObjectToken *This, + const CLSID *pclsidCaller); + + HRESULT (STDMETHODCALLTYPE *IsUISupported)( + ISpObjectToken *This, + LPCWSTR pszTypeOfUI, + void *pvExtraData, + ULONG cbExtraData, + IUnknown *punkObject, + BOOL *pfSupported); + + HRESULT (STDMETHODCALLTYPE *DisplayUI)( + ISpObjectToken *This, + HWND hwndParent, + LPCWSTR pszTitle, + LPCWSTR pszTypeOfUI, + void *pvExtraData, + ULONG cbExtraData, + IUnknown *punkObject); + + HRESULT (STDMETHODCALLTYPE *MatchesAttributes)( + ISpObjectToken *This, + LPCWSTR pszAttributes, + BOOL *pfMatches); + + END_INTERFACE +} ISpObjectTokenVtbl; + +interface ISpObjectToken { + CONST_VTBL ISpObjectTokenVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISpObjectToken_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISpObjectToken_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISpObjectToken_Release(This) (This)->lpVtbl->Release(This) +/*** ISpDataKey methods ***/ +#define ISpObjectToken_SetData(This,pszValueName,cbData,pData) (This)->lpVtbl->SetData(This,pszValueName,cbData,pData) +#define ISpObjectToken_GetData(This,pszValueName,pcbData,pData) (This)->lpVtbl->GetData(This,pszValueName,pcbData,pData) +#define ISpObjectToken_SetStringValue(This,pszValueName,pszValue) (This)->lpVtbl->SetStringValue(This,pszValueName,pszValue) +#define ISpObjectToken_GetStringValue(This,pszValueName,ppszValue) (This)->lpVtbl->GetStringValue(This,pszValueName,ppszValue) +#define ISpObjectToken_SetDWORD(This,pszValueName,dwValue) (This)->lpVtbl->SetDWORD(This,pszValueName,dwValue) +#define ISpObjectToken_GetDWORD(This,pszValueName,pdwValue) (This)->lpVtbl->GetDWORD(This,pszValueName,pdwValue) +#define ISpObjectToken_OpenKey(This,pszSubKeyName,ppSubKey) (This)->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey) +#define ISpObjectToken_CreateKey(This,pszSubKey,ppSubKey) (This)->lpVtbl->CreateKey(This,pszSubKey,ppSubKey) +#define ISpObjectToken_DeleteKey(This,pszSubKey) (This)->lpVtbl->DeleteKey(This,pszSubKey) +#define ISpObjectToken_DeleteValue(This,pszValueName) (This)->lpVtbl->DeleteValue(This,pszValueName) +#define ISpObjectToken_EnumKeys(This,Index,ppszSubKeyName) (This)->lpVtbl->EnumKeys(This,Index,ppszSubKeyName) +#define ISpObjectToken_EnumValues(This,Index,ppszValueName) (This)->lpVtbl->EnumValues(This,Index,ppszValueName) +/*** ISpObjectToken methods ***/ +#define ISpObjectToken_SetId(This,pszCategoryId,pszTokenId,fCreateIfNotExist) (This)->lpVtbl->SetId(This,pszCategoryId,pszTokenId,fCreateIfNotExist) +#define ISpObjectToken_GetId(This,ppszCoMemTokenId) (This)->lpVtbl->GetId(This,ppszCoMemTokenId) +#define ISpObjectToken_GetCategory(This,ppTokenCategory) (This)->lpVtbl->GetCategory(This,ppTokenCategory) +#define ISpObjectToken_CreateInstance(This,pUnkOuter,dwClsContext,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,dwClsContext,riid,ppvObject) +#define ISpObjectToken_GetStorageFileName(This,clsidCaller,pszValueName,pszFileNameSpecifier,nFolder,ppszFilePath) (This)->lpVtbl->GetStorageFileName(This,clsidCaller,pszValueName,pszFileNameSpecifier,nFolder,ppszFilePath) +#define ISpObjectToken_RemoveStorageFileName(This,clsidCaller,pszKeyName,fDeleteFile) (This)->lpVtbl->RemoveStorageFileName(This,clsidCaller,pszKeyName,fDeleteFile) +#define ISpObjectToken_Remove(This,pclsidCaller) (This)->lpVtbl->Remove(This,pclsidCaller) +#define ISpObjectToken_IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported) (This)->lpVtbl->IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported) +#define ISpObjectToken_DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,punkObject) (This)->lpVtbl->DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,punkObject) +#define ISpObjectToken_MatchesAttributes(This,pszAttributes,pfMatches) (This)->lpVtbl->MatchesAttributes(This,pszAttributes,pfMatches) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISpObjectToken_QueryInterface(ISpObjectToken* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISpObjectToken_AddRef(ISpObjectToken* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISpObjectToken_Release(ISpObjectToken* This) { + return This->lpVtbl->Release(This); +} +/*** ISpDataKey methods ***/ +static FORCEINLINE HRESULT ISpObjectToken_SetData(ISpObjectToken* This,LPCWSTR pszValueName,ULONG cbData,const BYTE *pData) { + return This->lpVtbl->SetData(This,pszValueName,cbData,pData); +} +static FORCEINLINE HRESULT ISpObjectToken_GetData(ISpObjectToken* This,LPCWSTR pszValueName,ULONG *pcbData,BYTE *pData) { + return This->lpVtbl->GetData(This,pszValueName,pcbData,pData); +} +static FORCEINLINE HRESULT ISpObjectToken_SetStringValue(ISpObjectToken* This,LPCWSTR pszValueName,LPCWSTR pszValue) { + return This->lpVtbl->SetStringValue(This,pszValueName,pszValue); +} +static FORCEINLINE HRESULT ISpObjectToken_GetStringValue(ISpObjectToken* This,LPCWSTR pszValueName,LPWSTR *ppszValue) { + return This->lpVtbl->GetStringValue(This,pszValueName,ppszValue); +} +static FORCEINLINE HRESULT ISpObjectToken_SetDWORD(ISpObjectToken* This,LPCWSTR pszValueName,DWORD dwValue) { + return This->lpVtbl->SetDWORD(This,pszValueName,dwValue); +} +static FORCEINLINE HRESULT ISpObjectToken_GetDWORD(ISpObjectToken* This,LPCWSTR pszValueName,DWORD *pdwValue) { + return This->lpVtbl->GetDWORD(This,pszValueName,pdwValue); +} +static FORCEINLINE HRESULT ISpObjectToken_OpenKey(ISpObjectToken* This,LPCWSTR pszSubKeyName,ISpDataKey **ppSubKey) { + return This->lpVtbl->OpenKey(This,pszSubKeyName,ppSubKey); +} +static FORCEINLINE HRESULT ISpObjectToken_CreateKey(ISpObjectToken* This,LPCWSTR pszSubKey,ISpDataKey **ppSubKey) { + return This->lpVtbl->CreateKey(This,pszSubKey,ppSubKey); +} +static FORCEINLINE HRESULT ISpObjectToken_DeleteKey(ISpObjectToken* This,LPCWSTR pszSubKey) { + return This->lpVtbl->DeleteKey(This,pszSubKey); +} +static FORCEINLINE HRESULT ISpObjectToken_DeleteValue(ISpObjectToken* This,LPCWSTR pszValueName) { + return This->lpVtbl->DeleteValue(This,pszValueName); +} +static FORCEINLINE HRESULT ISpObjectToken_EnumKeys(ISpObjectToken* This,ULONG Index,LPWSTR *ppszSubKeyName) { + return This->lpVtbl->EnumKeys(This,Index,ppszSubKeyName); +} +static FORCEINLINE HRESULT ISpObjectToken_EnumValues(ISpObjectToken* This,ULONG Index,LPWSTR *ppszValueName) { + return This->lpVtbl->EnumValues(This,Index,ppszValueName); +} +/*** ISpObjectToken methods ***/ +static FORCEINLINE HRESULT ISpObjectToken_SetId(ISpObjectToken* This,LPCWSTR pszCategoryId,LPCWSTR pszTokenId,BOOL fCreateIfNotExist) { + return This->lpVtbl->SetId(This,pszCategoryId,pszTokenId,fCreateIfNotExist); +} +static FORCEINLINE HRESULT ISpObjectToken_GetId(ISpObjectToken* This,LPWSTR *ppszCoMemTokenId) { + return This->lpVtbl->GetId(This,ppszCoMemTokenId); +} +static FORCEINLINE HRESULT ISpObjectToken_GetCategory(ISpObjectToken* This,ISpObjectTokenCategory **ppTokenCategory) { + return This->lpVtbl->GetCategory(This,ppTokenCategory); +} +static FORCEINLINE HRESULT ISpObjectToken_CreateInstance(ISpObjectToken* This,IUnknown *pUnkOuter,DWORD dwClsContext,REFIID riid,void **ppvObject) { + return This->lpVtbl->CreateInstance(This,pUnkOuter,dwClsContext,riid,ppvObject); +} +static FORCEINLINE HRESULT ISpObjectToken_GetStorageFileName(ISpObjectToken* This,REFCLSID clsidCaller,LPCWSTR pszValueName,LPCWSTR pszFileNameSpecifier,ULONG nFolder,LPWSTR *ppszFilePath) { + return This->lpVtbl->GetStorageFileName(This,clsidCaller,pszValueName,pszFileNameSpecifier,nFolder,ppszFilePath); +} +static FORCEINLINE HRESULT ISpObjectToken_RemoveStorageFileName(ISpObjectToken* This,REFCLSID clsidCaller,LPCWSTR pszKeyName,BOOL fDeleteFile) { + return This->lpVtbl->RemoveStorageFileName(This,clsidCaller,pszKeyName,fDeleteFile); +} +static FORCEINLINE HRESULT ISpObjectToken_Remove(ISpObjectToken* This,const CLSID *pclsidCaller) { + return This->lpVtbl->Remove(This,pclsidCaller); +} +static FORCEINLINE HRESULT ISpObjectToken_IsUISupported(ISpObjectToken* This,LPCWSTR pszTypeOfUI,void *pvExtraData,ULONG cbExtraData,IUnknown *punkObject,BOOL *pfSupported) { + return This->lpVtbl->IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported); +} +static FORCEINLINE HRESULT ISpObjectToken_DisplayUI(ISpObjectToken* This,HWND hwndParent,LPCWSTR pszTitle,LPCWSTR pszTypeOfUI,void *pvExtraData,ULONG cbExtraData,IUnknown *punkObject) { + return This->lpVtbl->DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,punkObject); +} +static FORCEINLINE HRESULT ISpObjectToken_MatchesAttributes(ISpObjectToken* This,LPCWSTR pszAttributes,BOOL *pfMatches) { + return This->lpVtbl->MatchesAttributes(This,pszAttributes,pfMatches); +} +#endif +#endif + +#endif + + +#endif /* __ISpObjectToken_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumSpObjectTokens interface + */ +#ifndef __IEnumSpObjectTokens_INTERFACE_DEFINED__ +#define __IEnumSpObjectTokens_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumSpObjectTokens, 0x06b64f9e, 0x7fda, 0x11d2, 0xb4,0xf2, 0x00,0xc0,0x4f,0x79,0x73,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("06b64f9e-7fda-11d2-b4f2-00c04f797396") +IEnumSpObjectTokens : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + ISpObjectToken **pelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumSpObjectTokens **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + ULONG Index, + ISpObjectToken **ppToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *pCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumSpObjectTokens, 0x06b64f9e, 0x7fda, 0x11d2, 0xb4,0xf2, 0x00,0xc0,0x4f,0x79,0x73,0x96) +#endif +#else +typedef struct IEnumSpObjectTokensVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumSpObjectTokens *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumSpObjectTokens *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumSpObjectTokens *This); + + /*** IEnumSpObjectTokens methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumSpObjectTokens *This, + ULONG celt, + ISpObjectToken **pelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumSpObjectTokens *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumSpObjectTokens *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumSpObjectTokens *This, + IEnumSpObjectTokens **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + IEnumSpObjectTokens *This, + ULONG Index, + ISpObjectToken **ppToken); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IEnumSpObjectTokens *This, + ULONG *pCount); + + END_INTERFACE +} IEnumSpObjectTokensVtbl; + +interface IEnumSpObjectTokens { + CONST_VTBL IEnumSpObjectTokensVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumSpObjectTokens_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumSpObjectTokens_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumSpObjectTokens_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSpObjectTokens methods ***/ +#define IEnumSpObjectTokens_Next(This,celt,pelt,pceltFetched) (This)->lpVtbl->Next(This,celt,pelt,pceltFetched) +#define IEnumSpObjectTokens_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumSpObjectTokens_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumSpObjectTokens_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumSpObjectTokens_Item(This,Index,ppToken) (This)->lpVtbl->Item(This,Index,ppToken) +#define IEnumSpObjectTokens_GetCount(This,pCount) (This)->lpVtbl->GetCount(This,pCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumSpObjectTokens_QueryInterface(IEnumSpObjectTokens* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumSpObjectTokens_AddRef(IEnumSpObjectTokens* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumSpObjectTokens_Release(IEnumSpObjectTokens* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSpObjectTokens methods ***/ +static FORCEINLINE HRESULT IEnumSpObjectTokens_Next(IEnumSpObjectTokens* This,ULONG celt,ISpObjectToken **pelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,pelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumSpObjectTokens_Skip(IEnumSpObjectTokens* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumSpObjectTokens_Reset(IEnumSpObjectTokens* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumSpObjectTokens_Clone(IEnumSpObjectTokens* This,IEnumSpObjectTokens **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumSpObjectTokens_Item(IEnumSpObjectTokens* This,ULONG Index,ISpObjectToken **ppToken) { + return This->lpVtbl->Item(This,Index,ppToken); +} +static FORCEINLINE HRESULT IEnumSpObjectTokens_GetCount(IEnumSpObjectTokens* This,ULONG *pCount) { + return This->lpVtbl->GetCount(This,pCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumSpObjectTokens_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_SpeechLib, 0xc866ca3a, 0x32f7, 0x11d2, 0x96,0x02, 0x00,0xc0,0x4f,0x8e,0xe6,0x28); + +/***************************************************************************** + * SpObjectTokenCategory coclass + */ + +DEFINE_GUID(CLSID_SpObjectTokenCategory, 0xa910187f, 0x0c7a, 0x45ac, 0x92,0xcc, 0x59,0xed,0xaf,0xb7,0x7b,0x53); + +#ifdef __cplusplus +class DECLSPEC_UUID("a910187f-0c7a-45ac-92cc-59edafb77b53") SpObjectTokenCategory; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SpObjectTokenCategory, 0xa910187f, 0x0c7a, 0x45ac, 0x92,0xcc, 0x59,0xed,0xaf,0xb7,0x7b,0x53) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __sapi_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapi.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapi.idl new file mode 100644 index 0000000..e138432 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapi.idl @@ -0,0 +1,213 @@ +/* + * Speech API (SAPI) IDL file. + * + * Copyright (C) 2017 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +typedef [hidden] enum SPDATAKEYLOCATION +{ + SPDKL_DefaultLocation = 0, + SPDKL_CurrentUser = 1, + SPDKL_LocalMachine = 2, + SPDKL_CurrentConfig = 5 +} SPDATAKEYLOCATION; + +cpp_quote("#if defined(__GNUC__)") + +cpp_quote("#define SPCAT_AUDIOOUT (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','A','u','d','i','o','O','u','t','p','u','t',0 }") +cpp_quote("#define SPCAT_AUDIOIN (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','A','u','d','i','o','I','n','p','u','t',0 }") +cpp_quote("#define SPCAT_VOICES (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','V','o','i','c','e','s',0 }") + +cpp_quote("#elif defined(_MSC_VER)") + +cpp_quote("#define SPCAT_AUDIOOUT L\"HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Speech\\\\AudioOutput\"") +cpp_quote("#define SPCAT_AUDIOIN L\"HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Speech\\\\AudioInput\"") +cpp_quote("#define SPCAT_VOICES L\"HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Speech\\\\Voices\"") + +cpp_quote("#else") + +cpp_quote("static const WCHAR SPCAT_AUDIOOUT[] = {'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','A','u','d','i','o','O','u','t','p','u','t',0};") +cpp_quote("static const WCHAR SPCAT_AUDIOIN[] = {'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','A','u','d','i','o','I','n','p','u','t',0};") +cpp_quote("static const WCHAR SPCAT_VOICES[] = {'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','V','o','i','c','e','s',0};") + +cpp_quote("#endif") + +interface IEnumSpObjectTokens; + +[ + object, + uuid(14056581-e16c-11d2-bb90-00c04f8ee6c0), + helpstring("ISpDataKey"), + pointer_default(unique), + local, + restricted +] +interface ISpDataKey : IUnknown +{ + HRESULT SetData([in] LPCWSTR pszValueName, + [in] ULONG cbData, + [in] const BYTE *pData); + HRESULT GetData([in] LPCWSTR pszValueName, + [in] ULONG *pcbData, + [out] BYTE *pData); + HRESULT SetStringValue([in] LPCWSTR pszValueName, + [in] LPCWSTR pszValue); + HRESULT GetStringValue([in] LPCWSTR pszValueName, + [out] LPWSTR *ppszValue); + HRESULT SetDWORD([in] LPCWSTR pszValueName, + [in] DWORD dwValue); + HRESULT GetDWORD([in] LPCWSTR pszValueName, + [out] DWORD *pdwValue); + HRESULT OpenKey([in] LPCWSTR pszSubKeyName, + [out] ISpDataKey **ppSubKey); + HRESULT CreateKey([in] LPCWSTR pszSubKey, + [out] ISpDataKey **ppSubKey); + HRESULT DeleteKey([in] LPCWSTR pszSubKey); + HRESULT DeleteValue([in] LPCWSTR pszValueName); + HRESULT EnumKeys([in] ULONG Index, + [out] LPWSTR *ppszSubKeyName); + HRESULT EnumValues([in] ULONG Index, + [out] LPWSTR *ppszValueName); +} +[ + object, + uuid(92a66e2b-c830-4149-83df-6fc2ba1e7a5b), + helpstring("ISpRegDataKey"), + pointer_default(unique), + restricted +] +interface ISpRegDataKey : ISpDataKey +{ + [local] HRESULT SetKey([in] HKEY hkey, [in] BOOL fReadOnly); +} + +[ + object, + uuid(2d3d3845-39af-4850-bbf9-40b49780011d), + helpstring("ISpObjectTokenCategory"), + pointer_default(unique), + local, + restricted +] +interface ISpObjectTokenCategory : ISpDataKey +{ + HRESULT SetId([in] LPCWSTR pszCategoryId, + [in] BOOL fCreateIfNotExist); + HRESULT GetId([out] LPWSTR *ppszCoMemCategoryId); + HRESULT GetDataKey([in] SPDATAKEYLOCATION spdkl, + [out] ISpDataKey **ppDataKey); + HRESULT EnumTokens([in, string] LPCWSTR pszReqAttribs, + [in, string] LPCWSTR pszOptAttribs, + [out] IEnumSpObjectTokens **ppEnum); + HRESULT SetDefaultTokenId([in] LPCWSTR pszTokenId); + HRESULT GetDefaultTokenId([out] LPWSTR *ppszCoMemTokenId); +} + +[ + object, + uuid(14056589-e16c-11d2-bb90-00c04f8ee6c0), + helpstring("ISpObjectToken"), + pointer_default(unique), + local, + restricted +] +interface ISpObjectToken : ISpDataKey +{ + HRESULT SetId(/*[in]*/ LPCWSTR pszCategoryId, + [in] LPCWSTR pszTokenId, + [in] BOOL fCreateIfNotExist); + HRESULT GetId([out] LPWSTR *ppszCoMemTokenId); + HRESULT GetCategory([out] ISpObjectTokenCategory **ppTokenCategory); + HRESULT CreateInstance([in] IUnknown *pUnkOuter, + [in] DWORD dwClsContext, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObject); + HRESULT GetStorageFileName([in] REFCLSID clsidCaller, + [in] LPCWSTR pszValueName, + [in, string] LPCWSTR pszFileNameSpecifier, + [in] ULONG nFolder, + [out] LPWSTR *ppszFilePath); + HRESULT RemoveStorageFileName([in] REFCLSID clsidCaller, + [in] LPCWSTR pszKeyName, + [in] BOOL fDeleteFile); + HRESULT Remove(/*[in]*/ const CLSID *pclsidCaller); + [local] HRESULT IsUISupported([in] LPCWSTR pszTypeOfUI, + [in] void *pvExtraData, + [in] ULONG cbExtraData, + [in] IUnknown *punkObject, + [out] BOOL *pfSupported); + [local] HRESULT DisplayUI([in] HWND hwndParent, + [in] LPCWSTR pszTitle, + [in] LPCWSTR pszTypeOfUI, + [in] void *pvExtraData, + [in] ULONG cbExtraData, + [in] IUnknown *punkObject); + HRESULT MatchesAttributes([in] LPCWSTR pszAttributes, + [out] BOOL *pfMatches); +} + +[ + object, + uuid(06b64f9e-7fda-11d2-b4f2-00c04f797396), + helpstring("IEnumSpObjectTokens"), + pointer_default(unique), + local, + restricted +] +interface IEnumSpObjectTokens : IUnknown +{ + HRESULT Next([in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] ISpObjectToken **pelt, + [out] ULONG *pceltFetched); + HRESULT Skip([in] ULONG celt); + HRESULT Reset(void); + HRESULT Clone([out] IEnumSpObjectTokens **ppEnum); + HRESULT Item([in] ULONG Index, + [out] ISpObjectToken **ppToken); + HRESULT GetCount([out] ULONG *pCount); +} + +[ + helpstring("Speech Object Library"), + uuid(c866ca3a-32f7-11d2-9602-00c04f8ee628), + version(5.4) +] +library SpeechLib +{ + importlib("stdole2.tlb"); + + [ + uuid(a910187f-0c7a-45ac-92cc-59edafb77b53), + helpstring("SpObjectTokenCategory Class"), + progid("SAPI.SpObjectTokenCategory.1"), + vi_progid("SAPI.SpObjectTokenCategory"), + threading(both) + ] + coclass SpObjectTokenCategory + { + interface ISpObjectTokenCategory; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapiddk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapiddk.h new file mode 100644 index 0000000..bcdb4f1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapiddk.h @@ -0,0 +1,276 @@ +/*** Autogenerated by WIDL 2.18 from sapiddk.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __sapiddk_h__ +#define __sapiddk_h__ + +/* Forward declarations */ + +#ifndef __ISpObjectTokenEnumBuilder_FWD_DEFINED__ +#define __ISpObjectTokenEnumBuilder_FWD_DEFINED__ +typedef interface ISpObjectTokenEnumBuilder ISpObjectTokenEnumBuilder; +#ifdef __cplusplus +interface ISpObjectTokenEnumBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __SpDataKey_FWD_DEFINED__ +#define __SpDataKey_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SpDataKey SpDataKey; +#else +typedef struct SpDataKey SpDataKey; +#endif /* defined __cplusplus */ +#endif /* defined __SpDataKey_FWD_DEFINED__ */ + +#ifndef __SpObjectTokenEnum_FWD_DEFINED__ +#define __SpObjectTokenEnum_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SpObjectTokenEnum SpObjectTokenEnum; +#else +typedef struct SpObjectTokenEnum SpObjectTokenEnum; +#endif /* defined __cplusplus */ +#endif /* defined __SpObjectTokenEnum_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * ISpObjectTokenEnumBuilder interface + */ +#ifndef __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__ +#define __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISpObjectTokenEnumBuilder, 0x06b64f9f, 0x7fda, 0x11d2, 0xb4,0xf2, 0x00,0xc0,0x4f,0x79,0x73,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("06b64f9f-7fda-11d2-b4f2-00c04f797396") +ISpObjectTokenEnumBuilder : public IEnumSpObjectTokens +{ + virtual HRESULT STDMETHODCALLTYPE SetAttribs( + LPCWSTR pszReqAttribs, + LPCWSTR pszOptAttribs) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTokens( + ULONG cTokens, + ISpObjectToken **pToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTokensFromDataKey( + ISpDataKey *pDataKey, + LPCWSTR pszSubKey, + LPCWSTR pszCategoryId) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTokensFromTokenEnum( + IEnumSpObjectTokens *pTokenEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Sort( + LPCWSTR pszTokenIdToListFirst) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISpObjectTokenEnumBuilder, 0x06b64f9f, 0x7fda, 0x11d2, 0xb4,0xf2, 0x00,0xc0,0x4f,0x79,0x73,0x96) +#endif +#else +typedef struct ISpObjectTokenEnumBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISpObjectTokenEnumBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISpObjectTokenEnumBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISpObjectTokenEnumBuilder *This); + + /*** IEnumSpObjectTokens methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + ISpObjectTokenEnumBuilder *This, + ULONG celt, + ISpObjectToken **pelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + ISpObjectTokenEnumBuilder *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ISpObjectTokenEnumBuilder *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ISpObjectTokenEnumBuilder *This, + IEnumSpObjectTokens **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISpObjectTokenEnumBuilder *This, + ULONG Index, + ISpObjectToken **ppToken); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ISpObjectTokenEnumBuilder *This, + ULONG *pCount); + + /*** ISpObjectTokenEnumBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAttribs)( + ISpObjectTokenEnumBuilder *This, + LPCWSTR pszReqAttribs, + LPCWSTR pszOptAttribs); + + HRESULT (STDMETHODCALLTYPE *AddTokens)( + ISpObjectTokenEnumBuilder *This, + ULONG cTokens, + ISpObjectToken **pToken); + + HRESULT (STDMETHODCALLTYPE *AddTokensFromDataKey)( + ISpObjectTokenEnumBuilder *This, + ISpDataKey *pDataKey, + LPCWSTR pszSubKey, + LPCWSTR pszCategoryId); + + HRESULT (STDMETHODCALLTYPE *AddTokensFromTokenEnum)( + ISpObjectTokenEnumBuilder *This, + IEnumSpObjectTokens *pTokenEnum); + + HRESULT (STDMETHODCALLTYPE *Sort)( + ISpObjectTokenEnumBuilder *This, + LPCWSTR pszTokenIdToListFirst); + + END_INTERFACE +} ISpObjectTokenEnumBuilderVtbl; + +interface ISpObjectTokenEnumBuilder { + CONST_VTBL ISpObjectTokenEnumBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISpObjectTokenEnumBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISpObjectTokenEnumBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISpObjectTokenEnumBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSpObjectTokens methods ***/ +#define ISpObjectTokenEnumBuilder_Next(This,celt,pelt,pceltFetched) (This)->lpVtbl->Next(This,celt,pelt,pceltFetched) +#define ISpObjectTokenEnumBuilder_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define ISpObjectTokenEnumBuilder_Reset(This) (This)->lpVtbl->Reset(This) +#define ISpObjectTokenEnumBuilder_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define ISpObjectTokenEnumBuilder_Item(This,Index,ppToken) (This)->lpVtbl->Item(This,Index,ppToken) +#define ISpObjectTokenEnumBuilder_GetCount(This,pCount) (This)->lpVtbl->GetCount(This,pCount) +/*** ISpObjectTokenEnumBuilder methods ***/ +#define ISpObjectTokenEnumBuilder_SetAttribs(This,pszReqAttribs,pszOptAttribs) (This)->lpVtbl->SetAttribs(This,pszReqAttribs,pszOptAttribs) +#define ISpObjectTokenEnumBuilder_AddTokens(This,cTokens,pToken) (This)->lpVtbl->AddTokens(This,cTokens,pToken) +#define ISpObjectTokenEnumBuilder_AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId) (This)->lpVtbl->AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId) +#define ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum(This,pTokenEnum) (This)->lpVtbl->AddTokensFromTokenEnum(This,pTokenEnum) +#define ISpObjectTokenEnumBuilder_Sort(This,pszTokenIdToListFirst) (This)->lpVtbl->Sort(This,pszTokenIdToListFirst) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_QueryInterface(ISpObjectTokenEnumBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISpObjectTokenEnumBuilder_AddRef(ISpObjectTokenEnumBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISpObjectTokenEnumBuilder_Release(ISpObjectTokenEnumBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSpObjectTokens methods ***/ +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_Next(ISpObjectTokenEnumBuilder* This,ULONG celt,ISpObjectToken **pelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,pelt,pceltFetched); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_Skip(ISpObjectTokenEnumBuilder* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_Reset(ISpObjectTokenEnumBuilder* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_Clone(ISpObjectTokenEnumBuilder* This,IEnumSpObjectTokens **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_Item(ISpObjectTokenEnumBuilder* This,ULONG Index,ISpObjectToken **ppToken) { + return This->lpVtbl->Item(This,Index,ppToken); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_GetCount(ISpObjectTokenEnumBuilder* This,ULONG *pCount) { + return This->lpVtbl->GetCount(This,pCount); +} +/*** ISpObjectTokenEnumBuilder methods ***/ +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_SetAttribs(ISpObjectTokenEnumBuilder* This,LPCWSTR pszReqAttribs,LPCWSTR pszOptAttribs) { + return This->lpVtbl->SetAttribs(This,pszReqAttribs,pszOptAttribs); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_AddTokens(ISpObjectTokenEnumBuilder* This,ULONG cTokens,ISpObjectToken **pToken) { + return This->lpVtbl->AddTokens(This,cTokens,pToken); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_AddTokensFromDataKey(ISpObjectTokenEnumBuilder* This,ISpDataKey *pDataKey,LPCWSTR pszSubKey,LPCWSTR pszCategoryId) { + return This->lpVtbl->AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum(ISpObjectTokenEnumBuilder* This,IEnumSpObjectTokens *pTokenEnum) { + return This->lpVtbl->AddTokensFromTokenEnum(This,pTokenEnum); +} +static FORCEINLINE HRESULT ISpObjectTokenEnumBuilder_Sort(ISpObjectTokenEnumBuilder* This,LPCWSTR pszTokenIdToListFirst) { + return This->lpVtbl->Sort(This,pszTokenIdToListFirst); +} +#endif +#endif + +#endif + + +#endif /* __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_SpeechDDKLib, 0x9903f14c, 0x12ce, 0x4c99, 0x99,0x86, 0x2e,0xe3,0xd7,0xd5,0x88,0xa8); + +/***************************************************************************** + * SpDataKey coclass + */ + +DEFINE_GUID(CLSID_SpDataKey, 0xd9f6ee60, 0x58c9, 0x458b, 0x88,0xe1, 0x2f,0x90,0x8f,0xd7,0xf8,0x7c); + +#ifdef __cplusplus +class DECLSPEC_UUID("d9f6ee60-58c9-458b-88e1-2f908fd7f87c") SpDataKey; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SpDataKey, 0xd9f6ee60, 0x58c9, 0x458b, 0x88,0xe1, 0x2f,0x90,0x8f,0xd7,0xf8,0x7c) +#endif +#endif + +/***************************************************************************** + * SpObjectTokenEnum coclass + */ + +DEFINE_GUID(CLSID_SpObjectTokenEnum, 0x3918d75f, 0x0acb, 0x41f2, 0xb7,0x33, 0x92,0xaa,0x15,0xbc,0xec,0xf6); + +#ifdef __cplusplus +class DECLSPEC_UUID("3918d75f-0acb-41f2-b733-92aa15bcecf6") SpObjectTokenEnum; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SpObjectTokenEnum, 0x3918d75f, 0x0acb, 0x41f2, 0xb7,0x33, 0x92,0xaa,0x15,0xbc,0xec,0xf6) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __sapiddk_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapiddk.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapiddk.idl new file mode 100644 index 0000000..670b8c0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sapiddk.idl @@ -0,0 +1,86 @@ +/* + * Speech API (SAPI) DDK IDL file. + * + * Copyright (C) 2017 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "sapi.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + object, + uuid(06b64f9f-7fda-11d2-b4f2-00c04f797396), + helpstring("ISpObjectTokenEnumBuilder"), + pointer_default(unique), + local, + restricted +] +interface ISpObjectTokenEnumBuilder : IEnumSpObjectTokens +{ + HRESULT SetAttribs([in] LPCWSTR pszReqAttribs, + [in] LPCWSTR pszOptAttribs); + HRESULT AddTokens([in] ULONG cTokens, + [in] ISpObjectToken **pToken); + HRESULT AddTokensFromDataKey([in] ISpDataKey *pDataKey, + [in] LPCWSTR pszSubKey, + [in] LPCWSTR pszCategoryId); + HRESULT AddTokensFromTokenEnum([in] IEnumSpObjectTokens *pTokenEnum); + HRESULT Sort([in] LPCWSTR pszTokenIdToListFirst); +} + +[ + helpstring("Speech Object DDK Library"), + uuid(9903f14c-12ce-4c99-9986-2ee3d7d588a8), + version(5.4) +] +library SpeechDDKLib +{ + importlib("stdole2.tlb"); + + [ + uuid(d9f6ee60-58c9-458b-88e1-2f908fd7f87c), + helpstring("Data Key"), + progid("SAPI.SpDataKey.1"), + vi_progid("SAPI.SpDataKey"), + threading(both) + ] + coclass SpDataKey + { + interface ISpRegDataKey; + [default] interface ISpDataKey; + } + + [ + uuid(3918d75f-0acb-41f2-b733-92aa15bcecf6), + helpstring("Object Token Enumerator"), + progid("SAPI.SpObjectTokenEnum.1"), + vi_progid("SAPI.SpObjectTokenEnum"), + threading(both) + ] + coclass SpObjectTokenEnum + { + interface ISpObjectTokenEnumBuilder; + [default] interface IEnumSpObjectTokens; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/scarderr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/scarderr.h new file mode 100644 index 0000000..9ad60f8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/scarderr.h @@ -0,0 +1,96 @@ +/* + * Winscard definitions + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* Note that if you included winerror.h directly or indirectly, + * none of these definitions will be used! + */ +#ifndef SCARD_S_SUCCESS + +#define FACILITY_SYSTEM 0 +#define FACILITY_SCARD 16 + +#define STATUS_SEVERITY_INFORMATIONAL ((NTSTATUS) 0x00000001) +#define STATUS_SEVERITY_WARNING ((NTSTATUS) 0x00000002) +#define STATUS_SEVERITY_ERROR ((NTSTATUS) 0x00000003) + +#define SCARD_S_SUCCESS NO_ERROR +#define SCARD_F_INTERNAL_ERROR ((DWORD)0x80100001) +#define SCARD_E_CANCELLED ((DWORD)0x80100002) +#define SCARD_E_INVALID_HANDLE ((DWORD)0x80100003) +#define SCARD_E_INVALID_PARAMETER ((DWORD)0x80100004) +#define SCARD_E_INVALID_TARGET ((DWORD)0x80100005) +#define SCARD_E_NO_MEMORY ((DWORD)0x80100006) +#define SCARD_F_WAITED_TOO_LONG ((DWORD)0x80100007) +#define SCARD_E_INSUFFICIENT_BUFFER ((DWORD)0x80100008) +#define SCARD_E_UNKNOWN_READER ((DWORD)0x80100009) +#define SCARD_E_TIMEOUT ((DWORD)0x8010000A) +#define SCARD_E_SHARING_VIOLATION ((DWORD)0x8010000B) +#define SCARD_E_NO_SMARTCARD ((DWORD)0x8010000C) +#define SCARD_E_UNKNOWN_CARD ((DWORD)0x8010000D) +#define SCARD_E_CANT_DISPOSE ((DWORD)0x8010000E) +#define SCARD_E_PROTO_MISMATCH ((DWORD)0x8010000F) +#define SCARD_E_NOT_READY ((DWORD)0x80100010) +#define SCARD_E_INVALID_VALUE ((DWORD)0x80100011) +#define SCARD_E_SYSTEM_CANCELLED ((DWORD)0x80100012) +#define SCARD_F_COMM_ERROR ((DWORD)0x80100013) +#define SCARD_F_UNKNOWN_ERROR ((DWORD)0x80100014) +#define SCARD_E_INVALID_ATR ((DWORD)0x80100015) +#define SCARD_E_NOT_TRANSACTED ((DWORD)0x80100016) +#define SCARD_E_READER_UNAVAILABLE ((DWORD)0x80100017) +#define SCARD_P_SHUTDOWN ((DWORD)0x80100018) +#define SCARD_E_PCI_TOO_SMALL ((DWORD)0x80100019) +#define SCARD_E_READER_UNSUPPORTED ((DWORD)0x8010001A) +#define SCARD_E_DUPLICATE_READER ((DWORD)0x8010001B) +#define SCARD_E_CARD_UNSUPPORTED ((DWORD)0x8010001C) +#define SCARD_E_NO_SERVICE ((DWORD)0x8010001D) +#define SCARD_E_SERVICE_STOPPED ((DWORD)0x8010001E) +#define SCARD_E_UNEXPECTED ((DWORD)0x8010001F) +#define SCARD_E_ICC_INSTALLATION ((DWORD)0x80100020) +#define SCARD_E_ICC_CREATEORDER ((DWORD)0x80100021) +#define SCARD_E_UNSUPPORTED_FEATURE ((DWORD)0x80100022) +#define SCARD_E_DIR_NOT_FOUND ((DWORD)0x80100023) +#define SCARD_E_FILE_NOT_FOUND ((DWORD)0x80100024) +#define SCARD_E_NO_DIR ((DWORD)0x80100025) +#define SCARD_E_NO_FILE ((DWORD)0x80100026) +#define SCARD_E_NO_ACCESS ((DWORD)0x80100027) +#define SCARD_E_WRITE_TOO_MANY ((DWORD)0x80100028) +#define SCARD_E_BAD_SEEK ((DWORD)0x80100029) +#define SCARD_E_INVALID_CHV ((DWORD)0x8010002A) +#define SCARD_E_UNKNOWN_RES_MNG ((DWORD)0x8010002B) +#define SCARD_E_NO_SUCH_CERTIFICATE ((DWORD)0x8010002C) +#define SCARD_E_CERTIFICATE_UNAVAILABLE ((DWORD)0x8010002D) +#define SCARD_E_NO_READERS_AVAILABLE ((DWORD)0x8010002E) +#define SCARD_E_COMM_DATA_LOST ((DWORD)0x8010002F) +#define SCARD_E_NO_KEY_CONTAINER ((DWORD)0x80100030) +#define SCARD_E_SERVER_TOO_BUSY ((DWORD)0x80100031) +#define SCARD_W_UNSUPPORTED_CARD ((DWORD)0x80100065) +#define SCARD_W_UNRESPONSIVE_CARD ((DWORD)0x80100066) +#define SCARD_W_UNPOWERED_CARD ((DWORD)0x80100067) +#define SCARD_W_RESET_CARD ((DWORD)0x80100068) +#define SCARD_W_REMOVED_CARD ((DWORD)0x80100069) +#define SCARD_W_SECURITY_VIOLATION ((DWORD)0x8010006A) +#define SCARD_W_WRONG_CHV ((DWORD)0x8010006B) +#define SCARD_W_CHV_BLOCKED ((DWORD)0x8010006C) +#define SCARD_W_EOF ((DWORD)0x8010006D) +#define SCARD_W_CANCELLED_BY_USER ((DWORD)0x8010006E) +#define SCARD_W_CARD_NOT_AUTHENTICATED ((DWORD)0x8010006F) +#define SCARD_W_CACHE_ITEM_NOT_FOUND ((DWORD)0x80100070) +#define SCARD_W_CACHE_ITEM_STALE ((DWORD)0x80100071) +#define SCARD_W_CACHE_ITEM_TOO_BIG ((DWORD)0x80100072) + +#endif /* SCARD_S_SUCCESS */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schannel.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schannel.h new file mode 100644 index 0000000..2e1a9f6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schannel.h @@ -0,0 +1,239 @@ +/* + * Copyright (C) 2005 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SCHANNEL_H__ +#define __WINE_SCHANNEL_H__ + +#include + +/* Package names */ +#define UNISP_NAME_A "Microsoft Unified Security Protocol Provider" +#if defined(__GNUC__) +#define UNISP_NAME_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',\ + ' ','U','n','i','f','i','e','d',' ','S','e','c','u','r','i','t','y',' ',\ + 'P','r','o','t','o','c','o','l',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +#define UNISP_NAME_W L"Microsoft Unified Security Protocol Provider" +#else +static const WCHAR UNISP_NAME_W[] = { 'M','i','c','r','o','s','o','f','t', + ' ','U','n','i','f','i','e','d',' ','S','e','c','u','r','i','t','y',' ', + 'P','r','o','t','o','c','o','l',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define UNISP_NAME WINELIB_NAME_AW(UNISP_NAME_) + +#define SSL2SP_NAME_A "Microsoft SSL 2.0" +#if defined(__GNUC__) +#define SSL2SP_NAME_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',\ + ' ','S','S','L',' ','2','.','0',0 } +#elif defined(_MSC_VER) +#define SSL2SP_NAME_W L"Microsoft SSL 2.0" +#else +static const WCHAR SSL2SP_NAME_W[] = { 'M','i','c','r','o','s','o','f','t', + ' ','S','S','L',' ','2','.','0',0 }; +#endif +#define SSL2SP_NAME WINELIB_NAME_AW(SSL2SP_NAME_) + +#define SSL3SP_NAME_A "Microsoft SSL 3.0" +#if defined(__GNUC__) +#define SSL3SP_NAME_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',\ + ' ','S','S','L',' ','3','.','0',0 } +#elif defined(_MSC_VER) +#define SSL3SP_NAME_W L"Microsoft SSL 3.0" +#else +static const WCHAR SSL3SP_NAME_W[] = { 'M','i','c','r','o','s','o','f','t', + ' ','S','S','L',' ','3','.','0',0 }; +#endif +#define SSL3SP_NAME WINELIB_NAME_AW(SSL3SP_NAME_) + +#define TLS1SP_NAME_A "Microsoft TLS 1.0" +#if defined(__GNUC__) +#define TLS1SP_NAME_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',\ + ' ','T','L','S',' ','1','.','0',0 } +#elif defined(_MSC_VER) +#define TLS1SP_NAME_W L"Microsoft TLS 1.0" +#else +static const WCHAR TLS1SP_NAME_W[] = { 'M','i','c','r','o','s','o','f','t', + ' ','T','L','S',' ','1','.','0',0 }; +#endif +#define TLS1SP_NAME WINELIB_NAME_AW(TLS1SP_NAME_) + +#define PCT1SP_NAME_A "Microsoft PCT 1.0" +#if defined(__GNUC__) +#define PCT1SP_NAME_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',\ + ' ','P','C','T',' ','1','.','0',0 } +#elif defined(_MSC_VER) +#define PCT1SP_NAME_W L"Microsoft PCT 1.0" +#else +static const WCHAR PCT1SP_NAME_W[] = { 'M','i','c','r','o','s','o','f','t', + ' ','P','C','T',' ','1','.','0',0 }; +#endif +#define PCT1SP_NAME WINELIB_NAME_AW(PCT1SP_NAME_) + +#define SCHANNEL_NAME_A "Schannel" +#if defined(__GNUC__) +#define SCHANNEL_NAME_W (const WCHAR []){ 'S','c','h','a','n','n','e','l',0 } +#elif defined(_MSC_VER) +#define SCHANNEL_NAME_W L"Schannel" +#else +static const WCHAR SCHANNEL_NAME_W[] = { 'S','c','h','a','n','n','e','l',0 }; +#endif +#define SCHANNEL_NAME WINELIB_NAME_AW(SCHANNEL_NAME_) + +#define SCH_CRED_V1 1 +#define SCH_CRED_V2 2 +#define SCH_CRED_VERSION 2 +#define SCH_CRED_V3 3 +#define SCHANNEL_CRED_VERSION 4 + +#define SCHANNEL_RENEGOTIATE 0 +#define SCHANNEL_SHUTDOWN 1 +#define SCHANNEL_ALERT 2 +#define SCHANNEL_SESSION 3 + +#define SP_PROT_ALL 0xffffffff +#define SP_PROT_UNI_CLIENT 0x80000000 +#define SP_PROT_UNI_SERVER 0x40000000 +#define SP_PROT_TLS1_2_CLIENT 0x00000800 +#define SP_PROT_TLS1_2_SERVER 0x00000400 +#define SP_PROT_TLS1_1_CLIENT 0x00000200 +#define SP_PROT_TLS1_1_SERVER 0x00000100 +#define SP_PROT_TLS1_0_CLIENT SP_PROT_TLS1_CLIENT +#define SP_PROT_TLS1_0_SERVER SP_PROT_TLS1_SERVER +#define SP_PROT_TLS1_CLIENT 0x00000080 +#define SP_PROT_TLS1_SERVER 0x00000040 +#define SP_PROT_SSL3_CLIENT 0x00000020 +#define SP_PROT_SSL3_SERVER 0x00000010 +#define SP_PROT_SSL2_CLIENT 0x00000008 +#define SP_PROT_SSL2_SERVER 0x00000004 +#define SP_PROT_PCT1_CLIENT 0x00000002 +#define SP_PROT_PCT1_SERVER 0x00000001 +#define SP_PROT_NONE 0x00000000 + +#define SP_PROT_UNI (SP_PROT_UNI_CLIENT | SP_PROT_UNI_SERVER) +#define SP_PROT_TLS1_2 (SP_PROT_TLS1_2_CLIENT | SP_PROT_TLS1_2_SERVER) +#define SP_PROT_TLS1_1 (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_1_SERVER) +#define SP_PROT_TLS1_0 (SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_0_SERVER) +#define SP_PROT_TLS1 (SP_PROT_TLS1_CLIENT | SP_PROT_TLS1_SERVER) +#define SP_PROT_SSL3 (SP_PROT_SSL3_CLIENT | SP_PROT_SSL3_SERVER) +#define SP_PROT_SSL2 (SP_PROT_SSL2_CLIENT | SP_PROT_SSL2_SERVER) +#define SP_PROT_PCT1 (SP_PROT_PCT1_CLIENT | SP_PROT_PCT1_SERVER) + +#define SP_PROT_SSL3TLS1_CLIENTS (SP_PROT_SSL3_CLIENT | SP_PROT_TLS1_CLIENT) +#define SP_PROT_SSL3TLS1_SERVERS (SP_PROT_SSL3_SERVER | SP_PROT_TLS1_SERVER) +#define SP_PROT_SSL3TLS1_X_CLIENTS (SP_PROT_SSL3_CLIENT | SP_PROT_TLS1_X_CLIENT) +#define SP_PROT_SSL3TLS1_X_SERVERS (SP_PROT_SSL3_SERVER | SP_PROT_TLS1_X_SERVER) +#define SP_PROT_TLS1_X_CLIENT (SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT) +#define SP_PROT_TLS1_X_SERVER (SP_PROT_TLS1_0_SERVER | SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER) +#define SP_PROT_TLS1_1PLUS_CLIENT (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT) +#define SP_PROT_TLS1_1PLUS_SERVER (SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER) +#define SP_PROT_CLIENTS (SP_PROT_PCT1_CLIENT | SP_PROT_SSL2_CLIENT | SP_PROT_SSL3_CLIENT \ + | SP_PROT_TLS1_CLIENT | SP_PROT_UNI_CLIENT) +#define SP_PROT_SERVERS (SP_PROT_PCT1_SERVER | SP_PROT_SSL2_SERVER | SP_PROT_SSL3_SERVER \ + | SP_PROT_TLS1_SERVER | SP_PROT_UNI_SERVER) +#define SP_PROT_X_CLIENTS (SP_PROT_CLIENTS | SP_PROT_TLS1_X_CLIENT) +#define SP_PROT_X_SERVERS (SP_PROT_SERVERS | SP_PROT_TLS1_X_SERVER) + +#define SP_PROT_SSL3TLS1 (SP_PROT_SSL3 | SP_PROT_TLS1) +#define SP_PROT_SSL3TLS1_X (SP_PROT_SSL3 | SP_PROT_TLS1_X) +#define SP_PROT_TLS1_X (SP_PROT_TLS1_X_CLIENT | SP_PROT_TLS1_X_SERVER) +#define SP_PROT_TLS1_1PLUS (SP_PROT_TLS1_1PLUS_CLIENT | SP_PROT_TLS1_1PLUS_SERVER) + +#define SCH_CRED_NO_SYSTEM_MAPPER 2 +#define SCH_CRED_NO_SERVERNAME_CHECK 4 +#define SCH_CRED_MANUAL_CRED_VALIDATION 8 +#define SCH_CRED_NO_DEFAULT_CREDS 16 +#define SCH_CRED_AUTO_CRED_VALIDATION 32 +#define SCH_CRED_USE_DEFAULT_CREDS 64 +#define SCH_CRED_REVOCATION_CHECK_CHAIN_END_CERT 256 +#define SCH_CRED_REVOCATION_CHECK_CHAIN 512 +#define SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT 1024 +#define SCH_CRED_IGNORE_NO_REVOCATION_CHECK 2048 +#define SCH_CRED_IGNORE_REVOCATION_OFFLINE 4096 + +#define SECPKG_ATTR_ISSUER_LIST 0x50 +#define SECPKG_ATTR_REMOTE_CRED 0x51 +#define SECPKG_ATTR_LOCAL_CRED 0x52 +#define SECPKG_ATTR_REMOTE_CERT_CONTEXT 0x53 +#define SECPKG_ATTR_LOCAL_CERT_CONTEXT 0x54 +#define SECPKG_ATTR_ROOT_STORE 0x55 +#define SECPKG_ATTR_SUPPORTED_ALGS 0x56 +#define SECPKG_ATTR_CIPHER_STRENGTHS 0x57 +#define SECPKG_ATTR_SUPPORTED_PROTOCOLS 0x58 +#define SECPKG_ATTR_ISSUER_LIST_EX 0x59 +#define SECPKG_ATTR_CONNECTION_INFO 0x5a +#define SECPKG_ATTR_EAP_KEY_BLOCK 0x5b +#define SECPKG_ATTR_MAPPED_CRED_ATTR 0x5c +#define SECPKG_ATTR_SESSION_INFO 0x5d +#define SECPKG_ATTR_APP_DATA 0x5e + +#define UNISP_RPC_ID 14 + +struct _HMAPPER; + +typedef struct _SCHANNEL_CRED +{ + DWORD dwVersion; + DWORD cCreds; + PCCERT_CONTEXT *paCred; + HCERTSTORE hRootStore; + DWORD cMappers; + struct _HMAPPER **aphMappers; + DWORD cSupportedAlgs; + ALG_ID *palgSupportedAlgs; + DWORD grbitEnabledProtocols; + DWORD dwMinimumCipherStrength; + DWORD dwMaximumCipherStrength; + DWORD dwSessionLifespan; + DWORD dwFlags; + DWORD dwCredFormat; +} SCHANNEL_CRED, *PSCHANNEL_CRED; + +typedef struct _SecPkgCred_SupportedAlgs +{ + DWORD cSupportedAlgs; + ALG_ID *palgSupportedAlgs; +} SecPkgCred_SupportedAlgs, *PSecPkgCred_SupportedAlgs; + +typedef struct _SecPkgCred_CipherStrengths +{ + DWORD dwMinimumCipherStrength; + DWORD dwMaximumCipherStrength; +} SecPkgCred_CipherStrengths, *PSecPkgCred_CipherStrengths; + +typedef struct _SecPkgCred_SupportedProtocols +{ + DWORD grbitProtocol; +} SecPkgCred_SupportedProtocols, *PSecPkgCred_SupportedProtocols; + +typedef struct _SecPkgContext_IssuerListInfoEx +{ + PCERT_NAME_BLOB aIssuers; + DWORD cIssuers; +} SecPkgContext_IssuerListInfoEx, *PSecPkgContext_IssuerListInfoEx; + +typedef struct _SecPkgContext_ConnectionInfo +{ + DWORD dwProtocol; + ALG_ID aiCipher; + DWORD dwCipherStrength; + ALG_ID aiHash; + DWORD dwHashStrength; + ALG_ID aiExch; + DWORD dwExchStrength; +} SecPkgContext_ConnectionInfo, *PSecPkgContext_ConnectionInfo; + +#endif /* __WINE_SCHANNEL_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schemadef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schemadef.h new file mode 100644 index 0000000..2bca143 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schemadef.h @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2003 Kevin Koltzau + * Copyright (C) 2004 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SCHEMADEF_H +#define __WINE_SCHEMADEF_H + +#define BEGIN_TM_SCHEMA(name) +#define END_TM_SCHEMA(name) + +#define BEGIN_TM_ENUM(name) enum name { +#define TM_ENUM(value, prefix, name) prefix##_##name = (value), +#define END_TM_ENUM() }; + +#define BEGIN_TM_PROPS() enum PropValues { \ + DummyProp = 49, +#define TM_PROP(value, prefix, name, type) prefix##_##name = (value), +#define END_TM_PROPS() }; + +#define BEGIN_TM_CLASS_PARTS(name) enum name##PARTS { \ + name##PartFiller0, +#define TM_PART(value, prefix, name) prefix##_##name = (value), +#define END_TM_CLASS_PARTS() }; + +#define BEGIN_TM_PART_STATES(name) enum name##STATES { \ + name##StateFiller0, +#define TM_STATE(value, prefix, name) prefix##_##name = (value), +#define END_TM_PART_STATES() }; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schnlsp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schnlsp.h new file mode 100644 index 0000000..9d6341b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/schnlsp.h @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2005 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SHNLSP_H__ +#define __WINE_SHNLSP_H__ + +#include + +#endif /* __WINE_SHNLSP_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sddl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sddl.h new file mode 100644 index 0000000..badd6fa --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sddl.h @@ -0,0 +1,120 @@ +/* + * Copyright (C) 2003 Ulrich Czekalla for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __SDDL_H__ +#define __SDDL_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +/* Versioning */ +#define SDDL_REVISION_1 1 +#define SDDL_REVISION SDDL_REVISION_1 + +#ifndef WINE_NO_UNICODE_MACROS +/* Component tags */ +#ifndef UNICODE +# define SDDL_OWNER "O" +# define SDDL_GROUP "G" +# define SDDL_DACL "D" +# define SDDL_SACL "S" +#else +# if defined(__GNUC__) +# define SDDL_OWNER (const WCHAR[]){ 'O',0 } +# define SDDL_GROUP (const WCHAR[]){ 'G',0 } +# define SDDL_DACL (const WCHAR[]){ 'D',0 } +# define SDDL_SACL (const WCHAR[]){ 'S',0 } +# elif defined(_MSC_VER) +# define SDDL_OWNER L"O" +# define SDDL_GROUP L"G" +# define SDDL_DACL L"D" +# define SDDL_SACL L"S" +# else + static const WCHAR SDDL_OWNER[] = { 'O',0 }; + static const WCHAR SDDL_GROUP[] = { 'G',0 }; + static const WCHAR SDDL_DACL[] = { 'D',0 }; + static const WCHAR SDDL_SACL[] = { 'S',0 }; +# endif +#endif /* UNICODE */ + +/* Separators as characters */ +/* SDDL_SEPERATORC is not a typo, as per Microsoft's headers */ +#ifndef UNICODE +# define SDDL_SEPERATORC ';' +# define SDDL_DELIMINATORC ':' +# define SDDL_ACE_BEGINC '(' +# define SDDL_ACE_ENDC ')' +#else +# define SDDL_SEPERATORC ((WCHAR)';') +# define SDDL_DELIMINATORC ((WCHAR)':') +# define SDDL_ACE_BEGINC ((WCHAR)'(') +# define SDDL_ACE_ENDC ((WCHAR)')') +#endif /* UNICODE */ + +/* Separators as strings */ +/* SDDL_SEPERATOR is not a typo, as per Microsoft's headers */ +#ifndef UNICODE +# define SDDL_SEPERATOR ";" +# define SDDL_DELIMINATOR ":" +# define SDDL_ACE_BEGIN "(" +# define SDDL_ACE_END ")" +#else +# if defined(__GNUC__) +# define SDDL_SEPERATOR (const WCHAR[]){ ';',0 } +# define SDDL_DELIMINATOR (const WCHAR[]){ ':',0 } +# define SDDL_ACE_BEGIN (const WCHAR[]){ '(',0 } +# define SDDL_ACE_END (const WCHAR[]){ ')',0 } +# elif defined(_MSC_VER) +# define SDDL_SEPERATOR L";" +# define SDDL_DELIMINATOR L":" +# define SDDL_ACE_BEGIN L"(" +# define SDDL_ACE_END L")" +# else + static const WCHAR SDDL_SEPERATOR[] = { ';',0 }; + static const WCHAR SDDL_DELIMINATOR[] = { ':',0 }; + static const WCHAR SDDL_ACE_BEGIN[] = { '(',0 }; + static const WCHAR SDDL_ACE_END[] = { ')',0 }; +# endif +#endif /* UNICODE */ +#endif /* WINE_NO_UNICODE_MACROS */ + +BOOL WINAPI ConvertSidToStringSidA( PSID, LPSTR* ); +BOOL WINAPI ConvertSidToStringSidW( PSID, LPWSTR* ); +#define ConvertSidToStringSid WINELIB_NAME_AW(ConvertSidToStringSid) + +BOOL WINAPI ConvertStringSidToSidA( LPCSTR, PSID* ); +BOOL WINAPI ConvertStringSidToSidW( LPCWSTR, PSID* ); +#define ConvertStringSidToSid WINELIB_NAME_AW(ConvertStringSidToSid) + +BOOL WINAPI ConvertStringSecurityDescriptorToSecurityDescriptorA( + LPCSTR, DWORD, PSECURITY_DESCRIPTOR*, PULONG ); +BOOL WINAPI ConvertStringSecurityDescriptorToSecurityDescriptorW( + LPCWSTR, DWORD, PSECURITY_DESCRIPTOR*, PULONG ); +#define ConvertStringSecurityDescriptorToSecurityDescriptor WINELIB_NAME_AW(ConvertStringSecurityDescriptorToSecurityDescriptor) + +BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorA( + PSECURITY_DESCRIPTOR, DWORD, SECURITY_INFORMATION, LPSTR*, PULONG ); +BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorW( + PSECURITY_DESCRIPTOR, DWORD, SECURITY_INFORMATION, LPWSTR*, PULONG ); +#define ConvertSecurityDescriptorToStringSecurityDescriptor WINELIB_NAME_AW(ConvertSecurityDescriptorToStringSecurityDescriptor) + +#ifdef __cplusplus +} +#endif + +#endif /* __SDDL_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/secext.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/secext.h new file mode 100644 index 0000000..42b4b3e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/secext.h @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2004 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __SECEXT_H__ +#define __SECEXT_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum +{ + NameUnknown = 0, + NameFullyQualifiedDN = 1, + NameSamCompatible = 2, + NameDisplay = 3, + NameUniqueId = 6, + NameCanonical = 7, + NameUserPrincipal = 8, + NameCanonicalEx = 9, + NameServicePrincipal = 10, + NameDnsDomain = 12, + NameGivenName = 13, + NameSurname = 14, +} EXTENDED_NAME_FORMAT, *PEXTENDED_NAME_FORMAT; + +BOOLEAN WINAPI GetComputerObjectNameA( EXTENDED_NAME_FORMAT, LPSTR, PULONG ); +BOOLEAN WINAPI GetComputerObjectNameW( EXTENDED_NAME_FORMAT, LPWSTR, PULONG ); +#define GetComputerObjectName WINELIB_NAME_AW(GetComputerObjectName) + +BOOLEAN WINAPI GetUserNameExA( EXTENDED_NAME_FORMAT, LPSTR, PULONG ); +BOOLEAN WINAPI GetUserNameExW( EXTENDED_NAME_FORMAT, LPWSTR, PULONG ); +#define GetUserNameEx WINELIB_NAME_AW(GetUserNameEx) + +BOOLEAN WINAPI TranslateNameA( LPCSTR, EXTENDED_NAME_FORMAT, EXTENDED_NAME_FORMAT, LPSTR, PULONG); +BOOLEAN WINAPI TranslateNameW( LPCWSTR, EXTENDED_NAME_FORMAT, EXTENDED_NAME_FORMAT, LPWSTR, PULONG); +#define TranslateName WINELIB_NAME_AW(TranslateName) + +#ifdef __cplusplus +} +#endif + +#endif /* __SECEXT_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/security.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/security.h new file mode 100644 index 0000000..11ff6f7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/security.h @@ -0,0 +1,26 @@ +/* + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _SECURITY_H +#define _SECURITY_H + +#include + +#if defined(SECURITY_WIN32) || defined(SECURITY_KERNEL) +#include +#endif + +#endif /* _SECURITY_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensapi.h new file mode 100644 index 0000000..d934c53 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensapi.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2005 Steven Edwards + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __SENSAPI_H__ +#define __SENSAPI_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#define NETWORK_ALIVE_LAN 1 +#define NETWORK_ALIVE_WAN 2 +#define NETWORK_ALIVE_AOL 4 + +typedef struct tagQOCINFO +{ + DWORD dwSize; + DWORD dwFlags; + DWORD dwInSpeed; + DWORD dwOutSpeed; +} QOCINFO, *LPQOCINFO; + +BOOL WINAPI IsDestinationReachableA(LPCSTR lpszDestination, LPQOCINFO lpQOCInfo); +BOOL WINAPI IsDestinationReachableW(LPCWSTR lpszDestination, LPQOCINFO lpQOCInfo); +#define IsDestinationReachable WINELIB_NAME_AW(IsDestinationReachable) +BOOL WINAPI IsNetworkAlive(LPDWORD lpdwFlags); + +#ifdef __cplusplus +} +#endif + +#endif /* __SENSAPI_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensevts.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensevts.h new file mode 100644 index 0000000..984b535 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensevts.h @@ -0,0 +1,787 @@ +/*** Autogenerated by WIDL 2.18 from sensevts.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __sensevts_h__ +#define __sensevts_h__ + +/* Forward declarations */ + +#ifndef __ISensNetwork_FWD_DEFINED__ +#define __ISensNetwork_FWD_DEFINED__ +typedef interface ISensNetwork ISensNetwork; +#ifdef __cplusplus +interface ISensNetwork; +#endif /* __cplusplus */ +#endif + +#ifndef __ISensOnNow_FWD_DEFINED__ +#define __ISensOnNow_FWD_DEFINED__ +typedef interface ISensOnNow ISensOnNow; +#ifdef __cplusplus +interface ISensOnNow; +#endif /* __cplusplus */ +#endif + +#ifndef __ISensLogon_FWD_DEFINED__ +#define __ISensLogon_FWD_DEFINED__ +typedef interface ISensLogon ISensLogon; +#ifdef __cplusplus +interface ISensLogon; +#endif /* __cplusplus */ +#endif + +#ifndef __ISensLogon2_FWD_DEFINED__ +#define __ISensLogon2_FWD_DEFINED__ +typedef interface ISensLogon2 ISensLogon2; +#ifdef __cplusplus +interface ISensLogon2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_SensEvents, 0xd597deed, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e); + +typedef struct SENS_QOCINFO { + DWORD dwSize; + DWORD dwFlags; + DWORD dwOutSpeed; + DWORD dwInSpeed; +} SENS_QOCINFO; +typedef struct SENS_QOCINFO *LPSENS_QOCINFO; +/***************************************************************************** + * ISensNetwork interface + */ +#ifndef __ISensNetwork_INTERFACE_DEFINED__ +#define __ISensNetwork_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISensNetwork, 0xd597bab1, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d597bab1-5b9f-11d1-8dd2-00aa004abd5e") +ISensNetwork : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE ConnectionMade( + BSTR bstrConnection, + ULONG ulType, + LPSENS_QOCINFO lpQOCInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectionMadeNoQOCInfo( + BSTR bstrConnection, + ULONG ulType) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectionLost( + BSTR bstrConnection, + ULONG ulType) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestinationReachable( + BSTR bstrDestination, + BSTR bstrConnection, + ULONG ulType, + LPSENS_QOCINFO lpQOCInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestinationReachableNoQOCInfo( + BSTR bstrDestination, + BSTR bstrConnection, + ULONG ulType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISensNetwork, 0xd597bab1, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e) +#endif +#else +typedef struct ISensNetworkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISensNetwork *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISensNetwork *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISensNetwork *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISensNetwork *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISensNetwork *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISensNetwork *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISensNetwork *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISensNetwork methods ***/ + HRESULT (STDMETHODCALLTYPE *ConnectionMade)( + ISensNetwork *This, + BSTR bstrConnection, + ULONG ulType, + LPSENS_QOCINFO lpQOCInfo); + + HRESULT (STDMETHODCALLTYPE *ConnectionMadeNoQOCInfo)( + ISensNetwork *This, + BSTR bstrConnection, + ULONG ulType); + + HRESULT (STDMETHODCALLTYPE *ConnectionLost)( + ISensNetwork *This, + BSTR bstrConnection, + ULONG ulType); + + HRESULT (STDMETHODCALLTYPE *DestinationReachable)( + ISensNetwork *This, + BSTR bstrDestination, + BSTR bstrConnection, + ULONG ulType, + LPSENS_QOCINFO lpQOCInfo); + + HRESULT (STDMETHODCALLTYPE *DestinationReachableNoQOCInfo)( + ISensNetwork *This, + BSTR bstrDestination, + BSTR bstrConnection, + ULONG ulType); + + END_INTERFACE +} ISensNetworkVtbl; + +interface ISensNetwork { + CONST_VTBL ISensNetworkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISensNetwork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISensNetwork_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISensNetwork_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISensNetwork_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISensNetwork_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISensNetwork_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISensNetwork_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISensNetwork methods ***/ +#define ISensNetwork_ConnectionMade(This,bstrConnection,ulType,lpQOCInfo) (This)->lpVtbl->ConnectionMade(This,bstrConnection,ulType,lpQOCInfo) +#define ISensNetwork_ConnectionMadeNoQOCInfo(This,bstrConnection,ulType) (This)->lpVtbl->ConnectionMadeNoQOCInfo(This,bstrConnection,ulType) +#define ISensNetwork_ConnectionLost(This,bstrConnection,ulType) (This)->lpVtbl->ConnectionLost(This,bstrConnection,ulType) +#define ISensNetwork_DestinationReachable(This,bstrDestination,bstrConnection,ulType,lpQOCInfo) (This)->lpVtbl->DestinationReachable(This,bstrDestination,bstrConnection,ulType,lpQOCInfo) +#define ISensNetwork_DestinationReachableNoQOCInfo(This,bstrDestination,bstrConnection,ulType) (This)->lpVtbl->DestinationReachableNoQOCInfo(This,bstrDestination,bstrConnection,ulType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISensNetwork_QueryInterface(ISensNetwork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISensNetwork_AddRef(ISensNetwork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISensNetwork_Release(ISensNetwork* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISensNetwork_GetTypeInfoCount(ISensNetwork* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISensNetwork_GetTypeInfo(ISensNetwork* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISensNetwork_GetIDsOfNames(ISensNetwork* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISensNetwork_Invoke(ISensNetwork* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISensNetwork methods ***/ +static FORCEINLINE HRESULT ISensNetwork_ConnectionMade(ISensNetwork* This,BSTR bstrConnection,ULONG ulType,LPSENS_QOCINFO lpQOCInfo) { + return This->lpVtbl->ConnectionMade(This,bstrConnection,ulType,lpQOCInfo); +} +static FORCEINLINE HRESULT ISensNetwork_ConnectionMadeNoQOCInfo(ISensNetwork* This,BSTR bstrConnection,ULONG ulType) { + return This->lpVtbl->ConnectionMadeNoQOCInfo(This,bstrConnection,ulType); +} +static FORCEINLINE HRESULT ISensNetwork_ConnectionLost(ISensNetwork* This,BSTR bstrConnection,ULONG ulType) { + return This->lpVtbl->ConnectionLost(This,bstrConnection,ulType); +} +static FORCEINLINE HRESULT ISensNetwork_DestinationReachable(ISensNetwork* This,BSTR bstrDestination,BSTR bstrConnection,ULONG ulType,LPSENS_QOCINFO lpQOCInfo) { + return This->lpVtbl->DestinationReachable(This,bstrDestination,bstrConnection,ulType,lpQOCInfo); +} +static FORCEINLINE HRESULT ISensNetwork_DestinationReachableNoQOCInfo(ISensNetwork* This,BSTR bstrDestination,BSTR bstrConnection,ULONG ulType) { + return This->lpVtbl->DestinationReachableNoQOCInfo(This,bstrDestination,bstrConnection,ulType); +} +#endif +#endif + +#endif + + +#endif /* __ISensNetwork_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISensOnNow interface + */ +#ifndef __ISensOnNow_INTERFACE_DEFINED__ +#define __ISensOnNow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISensOnNow, 0xd597bab2, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d597bab2-5b9f-11d1-8dd2-00aa004abd5e") +ISensOnNow : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE OnAcPower( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnBatteryPower( + DWORD dwBatteryLifePercent) = 0; + + virtual HRESULT STDMETHODCALLTYPE BatteryLow( + DWORD dwBatteryLifePercent) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISensOnNow, 0xd597bab2, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e) +#endif +#else +typedef struct ISensOnNowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISensOnNow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISensOnNow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISensOnNow *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISensOnNow *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISensOnNow *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISensOnNow *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISensOnNow *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISensOnNow methods ***/ + HRESULT (STDMETHODCALLTYPE *OnAcPower)( + ISensOnNow *This); + + HRESULT (STDMETHODCALLTYPE *OnBatteryPower)( + ISensOnNow *This, + DWORD dwBatteryLifePercent); + + HRESULT (STDMETHODCALLTYPE *BatteryLow)( + ISensOnNow *This, + DWORD dwBatteryLifePercent); + + END_INTERFACE +} ISensOnNowVtbl; + +interface ISensOnNow { + CONST_VTBL ISensOnNowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISensOnNow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISensOnNow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISensOnNow_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISensOnNow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISensOnNow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISensOnNow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISensOnNow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISensOnNow methods ***/ +#define ISensOnNow_OnAcPower(This) (This)->lpVtbl->OnAcPower(This) +#define ISensOnNow_OnBatteryPower(This,dwBatteryLifePercent) (This)->lpVtbl->OnBatteryPower(This,dwBatteryLifePercent) +#define ISensOnNow_BatteryLow(This,dwBatteryLifePercent) (This)->lpVtbl->BatteryLow(This,dwBatteryLifePercent) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISensOnNow_QueryInterface(ISensOnNow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISensOnNow_AddRef(ISensOnNow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISensOnNow_Release(ISensOnNow* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISensOnNow_GetTypeInfoCount(ISensOnNow* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISensOnNow_GetTypeInfo(ISensOnNow* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISensOnNow_GetIDsOfNames(ISensOnNow* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISensOnNow_Invoke(ISensOnNow* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISensOnNow methods ***/ +static FORCEINLINE HRESULT ISensOnNow_OnAcPower(ISensOnNow* This) { + return This->lpVtbl->OnAcPower(This); +} +static FORCEINLINE HRESULT ISensOnNow_OnBatteryPower(ISensOnNow* This,DWORD dwBatteryLifePercent) { + return This->lpVtbl->OnBatteryPower(This,dwBatteryLifePercent); +} +static FORCEINLINE HRESULT ISensOnNow_BatteryLow(ISensOnNow* This,DWORD dwBatteryLifePercent) { + return This->lpVtbl->BatteryLow(This,dwBatteryLifePercent); +} +#endif +#endif + +#endif + + +#endif /* __ISensOnNow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISensLogon interface + */ +#ifndef __ISensLogon_INTERFACE_DEFINED__ +#define __ISensLogon_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISensLogon, 0xd597bab3, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d597bab3-5b9f-11d1-8dd2-00aa004abd5e") +ISensLogon : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Logon( + BSTR bstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Logoff( + BSTR bstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartShell( + BSTR bstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayLock( + BSTR bstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayUnlock( + BSTR bstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartScreenSaver( + BSTR bstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopScreenSaver( + BSTR bstrUserName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISensLogon, 0xd597bab3, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e) +#endif +#else +typedef struct ISensLogonVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISensLogon *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISensLogon *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISensLogon *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISensLogon *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISensLogon *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISensLogon *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISensLogon *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISensLogon methods ***/ + HRESULT (STDMETHODCALLTYPE *Logon)( + ISensLogon *This, + BSTR bstrUserName); + + HRESULT (STDMETHODCALLTYPE *Logoff)( + ISensLogon *This, + BSTR bstrUserName); + + HRESULT (STDMETHODCALLTYPE *StartShell)( + ISensLogon *This, + BSTR bstrUserName); + + HRESULT (STDMETHODCALLTYPE *DisplayLock)( + ISensLogon *This, + BSTR bstrUserName); + + HRESULT (STDMETHODCALLTYPE *DisplayUnlock)( + ISensLogon *This, + BSTR bstrUserName); + + HRESULT (STDMETHODCALLTYPE *StartScreenSaver)( + ISensLogon *This, + BSTR bstrUserName); + + HRESULT (STDMETHODCALLTYPE *StopScreenSaver)( + ISensLogon *This, + BSTR bstrUserName); + + END_INTERFACE +} ISensLogonVtbl; + +interface ISensLogon { + CONST_VTBL ISensLogonVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISensLogon_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISensLogon_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISensLogon_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISensLogon_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISensLogon_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISensLogon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISensLogon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISensLogon methods ***/ +#define ISensLogon_Logon(This,bstrUserName) (This)->lpVtbl->Logon(This,bstrUserName) +#define ISensLogon_Logoff(This,bstrUserName) (This)->lpVtbl->Logoff(This,bstrUserName) +#define ISensLogon_StartShell(This,bstrUserName) (This)->lpVtbl->StartShell(This,bstrUserName) +#define ISensLogon_DisplayLock(This,bstrUserName) (This)->lpVtbl->DisplayLock(This,bstrUserName) +#define ISensLogon_DisplayUnlock(This,bstrUserName) (This)->lpVtbl->DisplayUnlock(This,bstrUserName) +#define ISensLogon_StartScreenSaver(This,bstrUserName) (This)->lpVtbl->StartScreenSaver(This,bstrUserName) +#define ISensLogon_StopScreenSaver(This,bstrUserName) (This)->lpVtbl->StopScreenSaver(This,bstrUserName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISensLogon_QueryInterface(ISensLogon* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISensLogon_AddRef(ISensLogon* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISensLogon_Release(ISensLogon* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISensLogon_GetTypeInfoCount(ISensLogon* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISensLogon_GetTypeInfo(ISensLogon* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISensLogon_GetIDsOfNames(ISensLogon* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISensLogon_Invoke(ISensLogon* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISensLogon methods ***/ +static FORCEINLINE HRESULT ISensLogon_Logon(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->Logon(This,bstrUserName); +} +static FORCEINLINE HRESULT ISensLogon_Logoff(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->Logoff(This,bstrUserName); +} +static FORCEINLINE HRESULT ISensLogon_StartShell(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->StartShell(This,bstrUserName); +} +static FORCEINLINE HRESULT ISensLogon_DisplayLock(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->DisplayLock(This,bstrUserName); +} +static FORCEINLINE HRESULT ISensLogon_DisplayUnlock(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->DisplayUnlock(This,bstrUserName); +} +static FORCEINLINE HRESULT ISensLogon_StartScreenSaver(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->StartScreenSaver(This,bstrUserName); +} +static FORCEINLINE HRESULT ISensLogon_StopScreenSaver(ISensLogon* This,BSTR bstrUserName) { + return This->lpVtbl->StopScreenSaver(This,bstrUserName); +} +#endif +#endif + +#endif + + +#endif /* __ISensLogon_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISensLogon2 interface + */ +#ifndef __ISensLogon2_INTERFACE_DEFINED__ +#define __ISensLogon2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISensLogon2, 0xd597bab4, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d597bab4-5b9f-11d1-8dd2-00aa004abd5e") +ISensLogon2 : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Logon( + BSTR bstrUserName, + DWORD dwSessionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE Logoff( + BSTR bstrUserName, + DWORD dwSessionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SessionDisconnect( + BSTR bstrUserName, + DWORD dwSessionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SessionReconnect( + BSTR bstrUserName, + DWORD dwSessionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostShell( + BSTR bstrUserName, + DWORD dwSessionId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISensLogon2, 0xd597bab4, 0x5b9f, 0x11d1, 0x8d,0xd2, 0x00,0xaa,0x00,0x4a,0xbd,0x5e) +#endif +#else +typedef struct ISensLogon2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISensLogon2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISensLogon2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISensLogon2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISensLogon2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISensLogon2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISensLogon2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISensLogon2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISensLogon2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Logon)( + ISensLogon2 *This, + BSTR bstrUserName, + DWORD dwSessionId); + + HRESULT (STDMETHODCALLTYPE *Logoff)( + ISensLogon2 *This, + BSTR bstrUserName, + DWORD dwSessionId); + + HRESULT (STDMETHODCALLTYPE *SessionDisconnect)( + ISensLogon2 *This, + BSTR bstrUserName, + DWORD dwSessionId); + + HRESULT (STDMETHODCALLTYPE *SessionReconnect)( + ISensLogon2 *This, + BSTR bstrUserName, + DWORD dwSessionId); + + HRESULT (STDMETHODCALLTYPE *PostShell)( + ISensLogon2 *This, + BSTR bstrUserName, + DWORD dwSessionId); + + END_INTERFACE +} ISensLogon2Vtbl; + +interface ISensLogon2 { + CONST_VTBL ISensLogon2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISensLogon2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISensLogon2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISensLogon2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISensLogon2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISensLogon2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISensLogon2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISensLogon2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISensLogon2 methods ***/ +#define ISensLogon2_Logon(This,bstrUserName,dwSessionId) (This)->lpVtbl->Logon(This,bstrUserName,dwSessionId) +#define ISensLogon2_Logoff(This,bstrUserName,dwSessionId) (This)->lpVtbl->Logoff(This,bstrUserName,dwSessionId) +#define ISensLogon2_SessionDisconnect(This,bstrUserName,dwSessionId) (This)->lpVtbl->SessionDisconnect(This,bstrUserName,dwSessionId) +#define ISensLogon2_SessionReconnect(This,bstrUserName,dwSessionId) (This)->lpVtbl->SessionReconnect(This,bstrUserName,dwSessionId) +#define ISensLogon2_PostShell(This,bstrUserName,dwSessionId) (This)->lpVtbl->PostShell(This,bstrUserName,dwSessionId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISensLogon2_QueryInterface(ISensLogon2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISensLogon2_AddRef(ISensLogon2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISensLogon2_Release(ISensLogon2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISensLogon2_GetTypeInfoCount(ISensLogon2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISensLogon2_GetTypeInfo(ISensLogon2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISensLogon2_GetIDsOfNames(ISensLogon2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISensLogon2_Invoke(ISensLogon2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISensLogon2 methods ***/ +static FORCEINLINE HRESULT ISensLogon2_Logon(ISensLogon2* This,BSTR bstrUserName,DWORD dwSessionId) { + return This->lpVtbl->Logon(This,bstrUserName,dwSessionId); +} +static FORCEINLINE HRESULT ISensLogon2_Logoff(ISensLogon2* This,BSTR bstrUserName,DWORD dwSessionId) { + return This->lpVtbl->Logoff(This,bstrUserName,dwSessionId); +} +static FORCEINLINE HRESULT ISensLogon2_SessionDisconnect(ISensLogon2* This,BSTR bstrUserName,DWORD dwSessionId) { + return This->lpVtbl->SessionDisconnect(This,bstrUserName,dwSessionId); +} +static FORCEINLINE HRESULT ISensLogon2_SessionReconnect(ISensLogon2* This,BSTR bstrUserName,DWORD dwSessionId) { + return This->lpVtbl->SessionReconnect(This,bstrUserName,dwSessionId); +} +static FORCEINLINE HRESULT ISensLogon2_PostShell(ISensLogon2* This,BSTR bstrUserName,DWORD dwSessionId) { + return This->lpVtbl->PostShell(This,bstrUserName,dwSessionId); +} +#endif +#endif + +#endif + + +#endif /* __ISensLogon2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __sensevts_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensevts.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensevts.idl new file mode 100644 index 0000000..70a469a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sensevts.idl @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; +import "oaidl.idl"; + +[ + version(2.0), + uuid(d597deed-5b9f-11d1-8dd2-00aa004abd5e) +] +library SensEvents +{ + importlib("stdole2.tlb"); + + typedef struct SENS_QOCINFO + { + DWORD dwSize; + DWORD dwFlags; + DWORD dwOutSpeed; + DWORD dwInSpeed; + } SENS_QOCINFO, *LPSENS_QOCINFO; + + [ + object, + uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensNetwork : IDispatch + { + HRESULT ConnectionMade( + [in] BSTR bstrConnection, + [in] ULONG ulType, + [in] LPSENS_QOCINFO lpQOCInfo ); + HRESULT ConnectionMadeNoQOCInfo( + [in] BSTR bstrConnection, + [in] ULONG ulType ); + HRESULT ConnectionLost( + [in] BSTR bstrConnection, + [in] ULONG ulType ); + HRESULT DestinationReachable( + [in] BSTR bstrDestination, + [in] BSTR bstrConnection, + [in] ULONG ulType, + [in] LPSENS_QOCINFO lpQOCInfo ); + HRESULT DestinationReachableNoQOCInfo( + [in] BSTR bstrDestination, + [in] BSTR bstrConnection, + [in] ULONG ulType ); + } + + [ + object, + uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensOnNow : IDispatch + { + HRESULT OnAcPower( void ); + HRESULT OnBatteryPower( + [in] DWORD dwBatteryLifePercent ); + HRESULT BatteryLow( + [in] DWORD dwBatteryLifePercent ); + } + + [ + object, + uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensLogon : IDispatch + { + HRESULT Logon( + [in] BSTR bstrUserName ); + HRESULT Logoff( + [in] BSTR bstrUserName ); + HRESULT StartShell( + [in] BSTR bstrUserName ); + HRESULT DisplayLock( + [in] BSTR bstrUserName ); + HRESULT DisplayUnlock( + [in] BSTR bstrUserName ); + HRESULT StartScreenSaver( + [in] BSTR bstrUserName ); + HRESULT StopScreenSaver( + [in] BSTR bstrUserName ); + } + + [ + object, + uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensLogon2 : IDispatch + { + HRESULT Logon( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT Logoff( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT SessionDisconnect( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT SessionReconnect( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT PostShell( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + } + +} /* library SensEvents */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/servprov.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/servprov.h new file mode 100644 index 0000000..63ad194 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/servprov.h @@ -0,0 +1,147 @@ +/*** Autogenerated by WIDL 2.18 from servprov.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __servprov_h__ +#define __servprov_h__ + +/* Forward declarations */ + +#ifndef __IServiceProvider_FWD_DEFINED__ +#define __IServiceProvider_FWD_DEFINED__ +typedef interface IServiceProvider IServiceProvider; +#ifdef __cplusplus +interface IServiceProvider; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IServiceProvider interface + */ +#ifndef __IServiceProvider_INTERFACE_DEFINED__ +#define __IServiceProvider_INTERFACE_DEFINED__ + +typedef IServiceProvider *LPSERVICEPROVIDER; +DEFINE_GUID(IID_IServiceProvider, 0x6d5140c1, 0x7436, 0x11ce, 0x80,0x34, 0x00,0xaa,0x00,0x60,0x09,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6d5140c1-7436-11ce-8034-00aa006009fa") +IServiceProvider : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryService( + REFGUID guidService, + REFIID riid, + void **ppvObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IServiceProvider, 0x6d5140c1, 0x7436, 0x11ce, 0x80,0x34, 0x00,0xaa,0x00,0x60,0x09,0xfa) +#endif +#else +typedef struct IServiceProviderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IServiceProvider *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IServiceProvider *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IServiceProvider *This); + + /*** IServiceProvider methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryService)( + IServiceProvider *This, + REFGUID guidService, + REFIID riid, + void **ppvObject); + + END_INTERFACE +} IServiceProviderVtbl; + +interface IServiceProvider { + CONST_VTBL IServiceProviderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IServiceProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IServiceProvider_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IServiceProvider_Release(This) (This)->lpVtbl->Release(This) +/*** IServiceProvider methods ***/ +#define IServiceProvider_QueryService(This,guidService,riid,ppvObject) (This)->lpVtbl->QueryService(This,guidService,riid,ppvObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IServiceProvider_QueryInterface(IServiceProvider* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IServiceProvider_AddRef(IServiceProvider* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IServiceProvider_Release(IServiceProvider* This) { + return This->lpVtbl->Release(This); +} +/*** IServiceProvider methods ***/ +static FORCEINLINE HRESULT IServiceProvider_QueryService(IServiceProvider* This,REFGUID guidService,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryService(This,guidService,riid,ppvObject); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IServiceProvider_RemoteQueryService_Proxy( + IServiceProvider* This, + REFGUID guidService, + REFIID riid, + IUnknown **ppvObject); +void __RPC_STUB IServiceProvider_RemoteQueryService_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IServiceProvider_QueryService_Proxy( + IServiceProvider* This, + REFGUID guidService, + REFIID riid, + void **ppvObject); +HRESULT __RPC_STUB IServiceProvider_QueryService_Stub( + IServiceProvider* This, + REFGUID guidService, + REFIID riid, + IUnknown **ppvObject); + +#endif /* __IServiceProvider_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __servprov_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/servprov.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/servprov.idl new file mode 100644 index 0000000..e99c10d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/servprov.idl @@ -0,0 +1,46 @@ +/* + * Copyright (C) 1999 Francois Gouget + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + + +/***************************************************************************** + * IServiceProvider interface + */ +[ + object, + uuid(6d5140c1-7436-11ce-8034-00aa006009fa), + pointer_default(unique) +] +interface IServiceProvider : IUnknown +{ + typedef [unique] IServiceProvider *LPSERVICEPROVIDER; + + [local] + HRESULT QueryService( + [in] REFGUID guidService, + [in] REFIID riid, + [out] void ** ppvObject); + + [call_as(QueryService)] + HRESULT RemoteQueryService( + [in] REFGUID guidService, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown ** ppvObject); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sesprp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sesprp.idl new file mode 100644 index 0000000..fce5bbc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sesprp.idl @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a85-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ISessionProperties : IUnknown +{ + [local] + HRESULT GetProperties([in] ULONG cPropertyIDSets, + [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[], + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets); + + [call_as(GetProperties)] + HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets, + [out] IErrorInfo **ppErrorInfoRem); + + + [local] + HRESULT SetProperties([in] ULONG cPropertySets, + [in, out, unique, size_is(cPropertySets)] DBPROPSET rgPropertySets[]); + + [call_as(SetProperties)] + HRESULT RemoteSetProperties([in] ULONG cPropertySets, + [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [in] ULONG cTotalProps, + [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus, + [out] IErrorInfo **ppErrorInfoRem); + +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/setupapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/setupapi.h new file mode 100644 index 0000000..76e255c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/setupapi.h @@ -0,0 +1,1868 @@ +/* + * Copyright (C) 2000 James Hatheway + * Copyright (C) 2007 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_SETUPAPI +#define _INC_SETUPAPI + +#include +#include + +#ifdef _WIN64 +#include +#else +#include +#endif + +/* setupapi doesn't use the normal convention, it adds an underscore before A/W */ +#ifdef WINE_NO_UNICODE_MACROS +# define DECL_WINELIB_SETUPAPI_TYPE_AW(type) /* nothing */ +#else +# define DECL_WINELIB_SETUPAPI_TYPE_AW(type) typedef WINELIB_NAME_AW(type##_) type; +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Define type for handle to a loaded inf file */ +typedef PVOID HINF; + +/* Define type for handle to a device information set */ +typedef PVOID HDEVINFO; + +/* Define type for handle to a setup log file */ +typedef PVOID HSPFILELOG; + +/* Define type for setup file queue */ +typedef PVOID HSPFILEQ; + +typedef PVOID HDSKSPC; + +/* inf structure. */ +typedef struct _INFCONTEXT +{ + PVOID Inf; + PVOID CurrentInf; + UINT Section; + UINT Line; +} INFCONTEXT, *PINFCONTEXT; + +typedef struct _SP_ALTPLATFORM_INFO_V2 +{ + DWORD cbSize; + DWORD Platform; + DWORD MajorVersion; + DWORD MinorVersion; + WORD ProcessorArchitecture; + union + { + WORD Reserved; + WORD Flags; + } DUMMYUNIONNAME; + DWORD FirstValidatedMajorVersion; + DWORD FirstValidatedMinorVersion; +} SP_ALTPLATFORM_INFO_V2, *PSP_ALTPLATFORM_INFO_V2; + +#define SP_ALTPLATFORM_FLAGS_VERSION_RANGE 0x0001 + +typedef struct _SP_ALTPLATFORM_INFO_V1 +{ + DWORD cbSize; + DWORD Platform; + DWORD MajorVersion; + DWORD MinorVersion; + WORD ProcessorArchitecture; + WORD Reserved; +} SP_ALTPLATFORM_INFO_V1, *PSP_ALTPLATFORM_INFO_V1; + +typedef SP_ALTPLATFORM_INFO_V2 SP_ALTPLATFORM_INFO; +typedef PSP_ALTPLATFORM_INFO_V2 PSP_ALTPLATFORM_INFO; + +typedef struct _SP_FILE_COPY_PARAMS_A +{ + DWORD cbSize; + HSPFILEQ QueueHandle; + PCSTR SourceRootPath; + PCSTR SourcePath; + PCSTR SourceFilename; + PCSTR SourceDescription; + PCSTR SourceTagfile; + PCSTR TargetDirectory; + PCSTR TargetFilename; + DWORD CopyStyle; + HINF LayoutInf; + PCSTR SecurityDescriptor; +} SP_FILE_COPY_PARAMS_A, *PSP_FILE_COPY_PARAMS_A; + +typedef struct _SP_FILE_COPY_PARAMS_W +{ + DWORD cbSize; + HSPFILEQ QueueHandle; + PCWSTR SourceRootPath; + PCWSTR SourcePath; + PCWSTR SourceFilename; + PCWSTR SourceDescription; + PCWSTR SourceTagfile; + PCWSTR TargetDirectory; + PCWSTR TargetFilename; + DWORD CopyStyle; + HINF LayoutInf; + PCWSTR SecurityDescriptor; +} SP_FILE_COPY_PARAMS_W, *PSP_FILE_COPY_PARAMS_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_FILE_COPY_PARAMS) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_COPY_PARAMS) + +typedef struct _SP_REGISTER_CONTROL_STATUSA +{ + DWORD cbSize; + PCSTR FileName; + DWORD Win32Error; + DWORD FailureCode; +} SP_REGISTER_CONTROL_STATUSA, *PSP_REGISTER_CONTROL_STATUSA; + +typedef struct _SP_REGISTER_CONTROL_STATUSW +{ + DWORD cbSize; + PCWSTR FileName; + DWORD Win32Error; + DWORD FailureCode; +} SP_REGISTER_CONTROL_STATUSW, *PSP_REGISTER_CONTROL_STATUSW; + +DECL_WINELIB_TYPE_AW(SP_REGISTER_CONTROL_STATUS) +DECL_WINELIB_TYPE_AW(PSP_REGISTER_CONTROL_STATUS) + +#define SPREG_SUCCESS 0x00000000 +#define SPREG_LOADLIBRARY 0x00000001 +#define SPREG_GETPROCADDR 0x00000002 +#define SPREG_REGSVR 0x00000003 +#define SPREG_DLLINSTALL 0x00000004 +#define SPREG_TIMEOUT 0x00000005 +#define SPREG_UNKNOWN 0xffffffff + +typedef UINT (CALLBACK *PSP_FILE_CALLBACK_A)( PVOID Context, UINT Notification, + UINT_PTR Param1, UINT_PTR Param2 ); +typedef UINT (CALLBACK *PSP_FILE_CALLBACK_W)( PVOID Context, UINT Notification, + UINT_PTR Param1, UINT_PTR Param2 ); +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_FILE_CALLBACK) + +#define LINE_LEN 256 +#define MAX_INF_STRING_LENGTH 4096 +#define MAX_TITLE_LEN 60 +#define MAX_INSTRUCTION_LEN 256 +#define MAX_LABEL_LEN 30 +#define MAX_SERVICE_NAME_LEN 256 +#define MAX_SUBTITLE_LEN 256 +#define SP_MAX_MACHINENAME_LENGTH (MAX_PATH + 3) + +typedef UINT DI_FUNCTION; + +typedef struct _SP_CLASSINSTALL_HEADER +{ + DWORD cbSize; + DI_FUNCTION InstallFunction; +} SP_CLASSINSTALL_HEADER, *PSP_CLASSINSTALL_HEADER; + +typedef struct _SP_ENABLECLASS_PARAMS +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + GUID ClassGuid; + DWORD EnableMessage; +} SP_ENABLECLASS_PARAMS, *PSP_ENABLECLASS_PARAMS; + +/* SP_ENABLECLASS_PARAMS EnableMessage values */ +#define ENABLECLASS_QUERY 0 +#define ENABLECLASS_SUCCESS 1 +#define ENABLECLASS_FAILURE 2 + +typedef struct _SP_PROPCHANGE_PARAMS +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + DWORD StateChange; + DWORD Scope; + DWORD HwProfile; +} SP_PROPCHANGE_PARAMS, *PSP_PROPCHANGE_PARAMS; + +/* SP_PROPCHANGE_PARAMS StateChange values */ +#define DICS_ENABLE 0x00000001 +#define DICS_DISABLE 0x00000002 +#define DICS_PROPCHANGE 0x00000003 +#define DICS_START 0x00000004 +#define DICS_STOP 0x00000005 +/* SP_PROPCHANGE_PARAMS Scope values */ +#define DICS_FLAG_GLOBAL 0x00000001 +#define DICS_FLAG_CONFIGSPECIFIC 0x00000002 +#define DICS_FLAG_CONFIGGENERAL 0x00000004 + + +typedef struct _SP_DEVINSTALL_PARAMS_A +{ + DWORD cbSize; + DWORD Flags; + DWORD FlagsEx; + HWND hwndParent; + PSP_FILE_CALLBACK_A InstallMsgHandler; + PVOID InstallMsgHandlerContext; + HSPFILEQ FileQueue; + ULONG_PTR ClassInstallReserved; + DWORD Reserved; + CHAR DriverPath[MAX_PATH]; +} SP_DEVINSTALL_PARAMS_A, *PSP_DEVINSTALL_PARAMS_A; + +typedef struct _SP_DEVINSTALL_PARAMS_W +{ + DWORD cbSize; + DWORD Flags; + DWORD FlagsEx; + HWND hwndParent; + PSP_FILE_CALLBACK_W InstallMsgHandler; + PVOID InstallMsgHandlerContext; + HSPFILEQ FileQueue; + ULONG_PTR ClassInstallReserved; + DWORD Reserved; + WCHAR DriverPath[MAX_PATH]; +} SP_DEVINSTALL_PARAMS_W, *PSP_DEVINSTALL_PARAMS_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINSTALL_PARAMS) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINSTALL_PARAMS) + +/* SP_DEVINSTALL_PARAMS Flags values */ +#define DI_SHOWOEM 0x00000001 +#define DI_SHOWCOMPAT 0x00000002 +#define DI_SHOWCLASS 0x00000004 +#define DI_SHOWALL 0x00000007 +#define DI_NOVCP 0x00000008 +#define DI_DIDCOMPAT 0x00000010 +#define DI_DIDCLASS 0x00000020 +#define DI_AUTOASSIGNRES 0x00000040 +#define DI_NEEDRESTART 0x00000080 +#define DI_NEEDREBOOT 0x00000100 +#define DI_NOBROWSE 0x00000200 +#define DI_MULTMFGS 0x00000400 +#define DI_DISABLED 0x00000800 +#define DI_GENERALPAGE_ADDED 0x00001000 +#define DI_RESOURCEPAGE_ADDED 0x00002000 +#define DI_PROPERTIES_CHANGE 0x00004000 +#define DI_INF_IS_SORTED 0x00080000 +#define DI_ENUMSINGLEINF 0x00010000 +#define DI_DONOTCALLCONFIGMG 0x00020000 +#define DI_INSTALLDISABLED 0x00040000 +#define DI_COMPAT_FROM_CLASS 0x00080000 +#define DI_CLASSINSTALLPARAMS 0x00100000 +#define DI_NODI_DEFAULTACTION 0x00200000 +#define DI_QUIETINSTALL 0x00800000 +#define DI_NOFILECOPY 0x01000000 +#define DI_FORCECOPY 0x02000000 +#define DI_DRIVERPAGE_ADDED 0x04000000 +#define DI_USECI_SELECTSTRINGS 0x08000000 +#define DI_OVERRIDE_INFFLAGS 0x10000000 +#define DI_PROPS_NOCHANGEUSAGE 0x20000000 +#define DI_NOSELECTICONS 0x40000000 +#define DI_NOWRITE_IDS 0x80000000 +/* SP_DEVINSTALL_PARAMS FlagsEx values */ +#define DI_FLAGSEX_USEOLDINFSEARCH 0x00000001 +#define DI_FLAGSEX_RESERVED2 0x00000002 +#define DI_FLAGSEX_CI_FAILED 0x00000004 +#define DI_FLAGSEX_FINISHINSTALL_ACTION 0x00000008 +#define DI_FLAGSEX_DIDINFOLIST 0x00000010 +#define DI_FLAGSEX_DIDCOMPATINFO 0x00000020 +#define DI_FLAGSEX_FILTERCLASSES 0x00000040 +#define DI_FLAGSEX_SETFAILEDINSTALL 0x00000080 +#define DI_FLAGSEX_DEVICECHANGE 0x00000100 +#define DI_FLAGSEX_ALWAYSWRITEIDS 0x00000200 +#define DI_FLAGSEX_PROPCHANGE_PENDING 0x00000400 +#define DI_FLAGSEX_ALLOWEXCLUDEDDRVS 0x00000800 +#define DI_FLAGSEX_NOUIONQUERYREMOVE 0x00001000 +#define DI_FLAGSEX_USECLASSFORCOMPAT 0x00002000 +#define DI_FLAGSEX_RESERVED3 0x00004000 +#define DI_FLAGSEX_NO_DRVREG_MODIFY 0x00008000 +#define DI_FLAGSEX_IN_SYSTEM_SETUP 0x00010000 +#define DI_FLAGSEX_INET_DRIVER 0x00020000 +#define DI_FLAGSEX_APPENDDRIVERLIST 0x00040000 +#define DI_FLAGSEX_PREINSTALLBACKUP 0x00080000 +#define DI_FLAGSEX_BACKUPONREPLACE 0x00100000 +#define DI_FLAGSEX_DRIVERLIST_FROM_URL 0x00200000 +#define DI_FLAGSEX_RESERVED1 0x00400000 +#define DI_FLAGSEX_EXCLUDE_OLD_INET_DRIVERS 0x00800000 +#define DI_FLAGSEX_POWERPAGE_ADDED 0x01000000 +#define DI_FLAGSEX_FILTERSIMILARDRIVERS 0x02000000 +#define DI_FLAGSEX_INSTALLEDDRIVER 0x04000000 +#define DI_FLAGSEX_NO_CLASSLIST_NODE_MERGE 0x08000000 +#define DI_FLAGSEX_ALTPLATFORM_DRVSEARCH 0x10000000 +#define DI_FLAGSEX_RESTART_DEVICE_ONLY 0x20000000 +#define DI_FLAGSEX_RECURSIVESEARCH 0x40000000 +#define DI_FLAGSEX_SEARCH_PUBLISHED_INFS 0x80000000 + +typedef struct _SP_REMOVEDEVICE_PARAMS +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + DWORD Scope; + DWORD HwProfile; +} SP_REMOVEDEVICE_PARAMS, *PSP_REMOVEDEVICE_PARAMS; + +/* SP_REMOVEDEVICE_PARAMS Scope values */ +#define DI_REMOVEDEVICE_GLOBAL 0x00000001 +#define DI_REMOVEDEVICE_CONFIGSPECIFIC 0x00000002 + +typedef struct _SP_UNREMOVEDEVICE_PARAMS +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + DWORD Scope; + DWORD HwProfile; +} SP_UNREMOVEDEVICE_PARAMS, *PSP_UNREMOVEDEVICE_PARAMS; + +/* SP_UNREMOVEDEVICE_PARAMS Scope values */ +#define DI_UNREMOVEDEVICE_CONFIGSPECIFIC 0x00000002 + +typedef struct _SP_SELECTDEVICE_PARAMS_A +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + CHAR Title[MAX_TITLE_LEN]; + CHAR Instructions[MAX_INSTRUCTION_LEN]; + CHAR ListLabel[MAX_LABEL_LEN]; + CHAR SubTitle[MAX_SUBTITLE_LEN]; + BYTE Reserved[2]; +} SP_SELECTDEVICE_PARAMS_A, *PSP_SELECTDEVICE_PARAMS_A; + +typedef struct _SP_SELECTDEVICE_PARAMS_W +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + WCHAR Title[MAX_TITLE_LEN]; + WCHAR Instructions[MAX_INSTRUCTION_LEN]; + WCHAR ListLabel[MAX_LABEL_LEN]; + WCHAR SubTitle[MAX_SUBTITLE_LEN]; +} SP_SELECTDEVICE_PARAMS_W, *PSP_SELECTDEVICE_PARAMS_W; + +typedef BOOL (CALLBACK *PDETECT_PROGRESS_NOTIFY)(PVOID ProgressNotifyParam, + DWORD DetectComplete); + +typedef struct _SP_DETECTDEVICE_PARAMS +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + PDETECT_PROGRESS_NOTIFY DetectProgressNotify; + PVOID ProgressNotifyParam; +} SP_DETECTDEVICE_PARAMS, *PSP_DETECTDEVICE_PARAMS; + +#define MAX_INSTALLWIZARD_DYNAPAGES 20 + +typedef struct _SP_INSTALLWIZARD_DATA +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + DWORD Flags; + HPROPSHEETPAGE DynamicPages[MAX_INSTALLWIZARD_DYNAPAGES]; + DWORD NumDynamicPages; + DWORD DynamicPageFlags; + DWORD PrivateFlags; + LPARAM PrivateData; + HWND hwndWizardDlg; +} SP_INSTALLWIZARD_DATA, *PSP_INSTALLWIZARD_DATA; + +/* SP_INSTALLWIZARD_DATA Flags values */ +#define NDW_INSTALLFLAG_DIDFACTDEFS 0x00000001 +#define NDW_INSTALLFLAG_HARDWAREALLREADYIN 0x00000002 +#define NDW_INSTALLFLAG_NEEDRESTART DI_NEEDRESTART +#define NDW_INSTALLFLAG_NEEDREBOOT DI_NEEDREBOOT +#define NDW_INSTALLFLAG_NEEDSHUTDOWN 0x00000200 +#define NDW_INSTALLFLAG_EXPRESSINTRO 0x00000400 +#define NDW_INSTALLFLAG_SKIPISDEVINSTALLED 0x00000800 +#define NDW_INSTALLFLAG_NODETECTEDDEVS 0x00001000 +#define NDW_INSTALLFLAG_INSTALLSPECIFIC 0x00002000 +#define NDW_INSTALLFLAG_SKIPCLASSLIST 0x00004000 +#define NDW_INSTALLFLAG_CI_PICKED_OEM 0x00008000 +#define NDW_INSTALLFLAG_PCMCIAMODE 0x00010000 +#define NDW_INSTALLFLAG_PCMCIADEVICE 0x00020000 +#define NDW_INSTALLFLAG_USERCANCEL 0x00040000 +#define NDW_INSTALLFLAG_KNOWNCLASS 0x00080000 +/* SP_INSTALLWIZARD_DATA DynamicPageFlags values */ +#define DYNAWIZ_FLAG_PAGESADDED 0x00000001 +#define DYNAWIZ_FLAG_INSTALLDET_NEXT 0x00000002 +#define DYNAWIZ_FLAG_INSTALLDET_PREV 0x00000004 +#define DYNAWIZ_FLAG_ANALYZE_HANDLECONFLICT 0x00000008 + +/* Resource IDs */ +#define MIN_IDD_DYNAWIZ_RESOURCE_ID 10000 +#define MAX_IDD_DYNAWIZ_RESOURCE_ID 11000 + +#define IDD_DYNAWIZ_FIRSTPAGE 10000 +#define IDD_DYNAWIZ_SELECT_PREVPAGE 10001 +#define IDD_DYNAWIZ_SELECT_NEXTPAGE 10002 +#define IDD_DYNAWIZ_ANALYZE_PREVPAGE 10003 +#define IDD_DYNAWIZ_ANALYZE_NEXTPAGE 10004 +#define IDD_DYNAWIZ_INSTALLDETECTED_PREVPAGE 10006 +#define IDD_DYNAWIZ_INSTALLDETECTED_NEXTPAGE 10007 +#define IDD_DYNAWIZ_INSTALLDETECTED_NODEVS 10008 +#define IDD_DYNAWIZ_SELECTDEV_PAGE 10009 +#define IDD_DYNAWIZ_ANALYZEDEV_PAGE 10010 +#define IDD_DYNAWIZ_INSTALLDETECTEDDEVS_PAGE 10011 +#define IDD_DYNAWIZ_SELECTCLASS_PAGE 10012 + +#define IDI_RESOURCEFIRST 159 +#define IDI_RESOURCE IDI_RESOURCEFIRST +#define IDI_RESOURCELAST 161 +#define IDI_RESOURCEOVERLAYFIRST 161 +#define IDI_RESOURCEOVERLAYLAST 161 + +#define IDI_CLASSICON_OVERLAYFIRST 500 +#define IDI_CLASSICON_OVERLAYLAST 502 +#define IDI_PROBLEM_OVL 500 +#define IDI_DISABLED_OVL 501 +#define IDI_FORCED_OVL 502 + +typedef struct _SP_NEWDEVICEWIZARD_DATA +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + DWORD Flags; + HPROPSHEETPAGE DynamicPages[MAX_INSTALLWIZARD_DYNAPAGES]; + DWORD NumDynamicPages; + HWND hwndWizardDlg; +} SP_NEWDEVICEWIZARD_DATA, *PSP_NEWDEVICEWIZARD_DATA; + +typedef SP_NEWDEVICEWIZARD_DATA SP_ADDPROPERTYPAGE_DATA; +typedef PSP_NEWDEVICEWIZARD_DATA PSP_ADDPROPERTYPAGE_DATA; + +typedef struct _SP_TROUBLESHOOTER_PARAMS_A +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + CHAR ChmFile[MAX_PATH]; + CHAR HtmlTroubleShooter[MAX_PATH]; +} SP_TROUBLESHOOTER_PARAMS_A, *PSP_TROUBLESHOOTER_PARAMS_A; + +typedef struct _SP_TROUBLESHOOTER_PARAMS_W +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + WCHAR ChmFile[MAX_PATH]; + WCHAR HtmlTroubleShooter[MAX_PATH]; +} SP_TROUBLESHOOTER_PARAMS_W, *PSP_TROUBLESHOOTER_PARAMS_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_TROUBLESHOOTER_PARAMS) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_TROUBLESHOOTER_PARAMS) + +typedef struct _SP_POWERMESSAGEWAKE_PARAMS_A +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + CHAR PowerMessageWake[LINE_LEN * 2]; +} SP_POWERMESSAGEWAKE_PARAMS_A, *PSP_POWERMESSAGEWAKE_PARAMS_A; + +typedef struct _SP_POWERMESSAGEWAKE_PARAMS_W +{ + SP_CLASSINSTALL_HEADER ClassInstallHeader; + WCHAR PowerMessageWake[LINE_LEN * 2]; +} SP_POWERMESSAGEWAKE_PARAMS_W, *PSP_POWERMESSAGEWAKE_PARAMS_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_POWERMESSAGEWAKE_PARAMS) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_POWERMESSAGEWAKE_PARAMS) + +typedef struct _SP_DRVINFO_DATA_V1_A +{ + DWORD cbSize; + DWORD DriverType; + ULONG_PTR Reserved; + CHAR Description[LINE_LEN]; + CHAR MfgName[LINE_LEN]; + CHAR ProviderName[LINE_LEN]; +} SP_DRVINFO_DATA_V1_A, *PSP_DRVINFO_DATA_V1_A; + +typedef struct _SP_DRVINFO_DATA_V1_W +{ + DWORD cbSize; + DWORD DriverType; + ULONG_PTR Reserved; + WCHAR Description[LINE_LEN]; + WCHAR MfgName[LINE_LEN]; + WCHAR ProviderName[LINE_LEN]; +} SP_DRVINFO_DATA_V1_W, *PSP_DRVINFO_DATA_V1_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DATA_V1) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DATA_V1) + +typedef struct _SP_DRVINFO_DATA_V2_A +{ + DWORD cbSize; + DWORD DriverType; + ULONG_PTR Reserved; + CHAR Description[LINE_LEN]; + CHAR MfgName[LINE_LEN]; + CHAR ProviderName[LINE_LEN]; + FILETIME DriverDate; + DWORDLONG DriverVersion; +} SP_DRVINFO_DATA_V2_A, *PSP_DRVINFO_DATA_V2_A; + +typedef struct _SP_DRVINFO_DATA_V2_W +{ + DWORD cbSize; + DWORD DriverType; + ULONG_PTR Reserved; + WCHAR Description[LINE_LEN]; + WCHAR MfgName[LINE_LEN]; + WCHAR ProviderName[LINE_LEN]; + FILETIME DriverDate; + DWORDLONG DriverVersion; +} SP_DRVINFO_DATA_V2_W, *PSP_DRVINFO_DATA_V2_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DATA_V2) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DATA_V2) + +typedef SP_DRVINFO_DATA_V2_A SP_DRVINFO_DATA_A; +typedef PSP_DRVINFO_DATA_V2_A PSP_DRVINFO_DATA_A; +typedef SP_DRVINFO_DATA_V2_W SP_DRVINFO_DATA_W; +typedef PSP_DRVINFO_DATA_V2_W PSP_DRVINFO_DATA_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DATA) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DATA) + +typedef struct _SP_DRVINFO_DETAIL_DATA_A +{ + DWORD cbSize; + FILETIME InfDate; + DWORD CompatIDsOffset; + DWORD CompatIDsLength; + ULONG_PTR Reserved; + CHAR SectionName[LINE_LEN]; + CHAR InfFileName[MAX_PATH]; + CHAR DrvDescription[LINE_LEN]; + CHAR HardwareID[ANYSIZE_ARRAY]; +} SP_DRVINFO_DETAIL_DATA_A, *PSP_DRVINFO_DETAIL_DATA_A; + +typedef struct _SP_DRVINFO_DETAIL_DATA_W +{ + DWORD cbSize; + FILETIME InfDate; + DWORD CompatIDsOffset; + DWORD CompatIDsLength; + ULONG_PTR Reserved; + WCHAR SectionName[LINE_LEN]; + WCHAR InfFileName[MAX_PATH]; + WCHAR DrvDescription[LINE_LEN]; + WCHAR HardwareID[ANYSIZE_ARRAY]; +} SP_DRVINFO_DETAIL_DATA_W, *PSP_DRVINFO_DETAIL_DATA_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DRVINFO_DETAIL_DATA) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DRVINFO_DETAIL_DATA) + +typedef struct _SP_DRVINSTALL_PARAMS +{ + DWORD cbSize; + DWORD Rank; + DWORD Flags; + DWORD_PTR PrivateData; + DWORD Reserved; +} SP_DRVINSTALL_PARAMS, *PSP_DRVINSTALL_PARAMS; + +/* SP_DRVINSTALL_PARAMS Flags values */ +#define DNF_DUPDESC 0x00000001 +#define DNF_OLDDRIVER 0x00000002 +#define DNF_EXCLUDEFROMLIST 0x00000004 +#define DNF_NODRIVER 0x00000008 +#define DNF_LEGACYINF 0x00000010 +#define DNF_CLASS_DRIVER 0x00000020 +#define DNF_COMPATIBLE_DRIVER 0x00000040 +#define DNF_INET_DRIVER 0x00000080 +#define DNF_UNUSED1 0x00000100 +#define DNF_INDEXED_DRIVER 0x00000200 +#define DNF_OLD_INET_DRIVER 0x00000400 +#define DNF_BAD_DRIVER 0x00000800 +#define DNF_DUPPROVIDER 0x00001000 +#define DNF_INF_IS_SIGNED 0x00002000 +#define DNF_OEM_F6_INF 0x00004000 +#define DNF_DUPDRIVERVER 0x00008000 +#define DNF_BASIC_DRIVER 0x00010000 +#define DNF_AUTHENTICODE_SIGNED 0x00020000 +#define DNF_INSTALLEDDRIVER 0x00040000 +#define DNF_ALWAYSEXCLUDEFROMLIST 0x00080000 +/* SP_DRVINSTALL_PARAMS Rank values */ +#define DRIVER_HARDWAREID_RANK 0x00000fff +#define DRIVER_COMPATID_RANK 0x00003fff +#define DRIVER_UNTRUSTED_RANK 0x00008000 +#define DRIVER_UNTRUSTED_HARDWAREID_RANK 0x00008fff +#define DRIVER_UNTRUSTED_COMPATID_RANK 0x0000bfff +#define DRIVER_W9X_SUSPECT_RANK 0x0000c000 +#define DRIVER_W9X_SUSPECT_HARDWAREID_RANK 0x0000cfff + +/* Device Information structure (references a device instance that is a member + of a device information set) */ +typedef struct _SP_DEVINFO_DATA +{ + DWORD cbSize; + GUID ClassGuid; + DWORD DevInst; /* DEVINST handle */ + ULONG_PTR Reserved; +} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA; + +typedef struct _SP_DEVICE_INTERFACE_DATA +{ + DWORD cbSize; + GUID InterfaceClassGuid; + DWORD Flags; + ULONG_PTR Reserved; +} SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA; + +#define SPINT_ACTIVE 0x00000001 +#define SPINT_DEFAULT 0x00000002 +#define SPINT_REMOVED 0x00000004 + +typedef SP_DEVICE_INTERFACE_DATA SP_INTERFACE_DEVICE_DATA; +typedef PSP_DEVICE_INTERFACE_DATA PSP_INTERFACE_DEVICE_DATA; +#define SPID_ACTIVE SPINT_ACTIVE +#define SPID_DEFAULT SPINT_DEFAULT +#define SPID_REMOVED SPINT_REMOVED + +typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_A +{ + DWORD cbSize; + CHAR DevicePath[ANYSIZE_ARRAY]; +} SP_DEVICE_INTERFACE_DETAIL_DATA_A, *PSP_DEVICE_INTERFACE_DETAIL_DATA_A; + +typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W +{ + DWORD cbSize; + WCHAR DevicePath[ANYSIZE_ARRAY]; +} SP_DEVICE_INTERFACE_DETAIL_DATA_W, *PSP_DEVICE_INTERFACE_DETAIL_DATA_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVICE_INTERFACE_DETAIL_DATA) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVICE_INTERFACE_DETAIL_DATA) + +typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_A { + DWORD cbSize; + GUID ClassGuid; + HANDLE RemoteMachineHandle; + CHAR RemoteMachineName[SP_MAX_MACHINENAME_LENGTH]; +} SP_DEVINFO_LIST_DETAIL_DATA_A, *PSP_DEVINFO_LIST_DETAIL_DATA_A; + +typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_W { + DWORD cbSize; + GUID ClassGuid; + HANDLE RemoteMachineHandle; + WCHAR RemoteMachineName[SP_MAX_MACHINENAME_LENGTH]; +} SP_DEVINFO_LIST_DETAIL_DATA_W, *PSP_DEVINFO_LIST_DETAIL_DATA_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_DEVINFO_LIST_DETAIL_DATA) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_DEVINFO_LIST_DETAIL_DATA) + +typedef DWORD (CALLBACK *PSP_DETSIG_CMPPROC)(HDEVINFO, PSP_DEVINFO_DATA, + PSP_DEVINFO_DATA, PVOID); + +typedef struct _COINSTALLER_CONTEXT_DATA +{ + BOOL PostProcessing; + DWORD InstallResult; + PVOID PrivateData; +} COINSTALLER_CONTEXT_DATA, *PCOINSTALLER_CONTEXT_DATA; + +typedef struct _SP_CLASSIMAGELIST_DATA +{ + DWORD cbSize; + HIMAGELIST ImageList; + ULONG_PTR Reserved; +} SP_CLASSIMAGELIST_DATA, *PSP_CLASSIMAGELIST_DATA; + +typedef struct _SP_PROPSHEETPAGE_REQUEST +{ + DWORD cbSize; + DWORD PageRequested; + HDEVINFO DeviceInfoSet; + PSP_DEVINFO_DATA DeviceInfoData; +} SP_PROPSHEETPAGE_REQUEST, *PSP_PROPSHEETPAGE_REQUEST; + +/* SP_PROPSHEETPAGE_REQUEST PageRequested values */ +#define SPPSR_SELECT_DEVICE_RESOURCES 1 +#define SPPSR_ENUM_BASIC_DEVICE_PROPERTIES 2 +#define SPPSR_ENUM_ADV_DEVICE_PROPERTIES 3 + +typedef struct _SP_BACKUP_QUEUE_PARAMS_V1_A +{ + DWORD cbSize; + CHAR FullInfPath[MAX_PATH]; + INT FilenameOffset; +} SP_BACKUP_QUEUE_PARAMS_V1_A, *PSP_BACKUP_QUEUE_PARAMS_V1_A; + +typedef struct _SP_BACKUP_QUEUE_PARAMS_V1_W +{ + DWORD cbSize; + WCHAR FullInfPath[MAX_PATH]; + INT FilenameOffset; +} SP_BACKUP_QUEUE_PARAMS_V1_W, *PSP_BACKUP_QUEUE_PARAMS_V1_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_BACKUP_QUEUE_PARAMS_V1) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_BACKUP_QUEUE_PARAMS_V1) + +typedef struct _SP_BACKUP_QUEUE_PARAMS_V2_A +{ + DWORD cbSize; + CHAR FullInfPath[MAX_PATH]; + INT FilenameOffset; + CHAR ReinstallInstance[MAX_PATH]; +} SP_BACKUP_QUEUE_PARAMS_V2_A, *PSP_BACKUP_QUEUE_PARAMS_V2_A; + +typedef struct _SP_BACKUP_QUEUE_PARAMS_V2_W +{ + DWORD cbSize; + WCHAR FullInfPath[MAX_PATH]; + INT FilenameOffset; + WCHAR ReinstallInstance[MAX_PATH]; +} SP_BACKUP_QUEUE_PARAMS_V2_W, *PSP_BACKUP_QUEUE_PARAMS_V2_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_BACKUP_QUEUE_PARAMS_V2) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_BACKUP_QUEUE_PARAMS_V2) + +typedef SP_BACKUP_QUEUE_PARAMS_V2_A SP_BACKUP_QUEUE_PARAMS_A; +typedef PSP_BACKUP_QUEUE_PARAMS_V2_A PSP_BACKUP_QUEUE_PARAMS_A; +typedef SP_BACKUP_QUEUE_PARAMS_V2_W SP_BACKUP_QUEUE_PARAMS_W; +typedef PSP_BACKUP_QUEUE_PARAMS_V2_W PSP_BACKUP_QUEUE_PARAMS_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_BACKUP_QUEUE_PARAMS) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_BACKUP_QUEUE_PARAMS) + +typedef struct _FILE_IN_CABINET_INFO_A { + LPCSTR NameInCabinet; + DWORD FileSize; + DWORD Win32Error; + WORD DosDate; + WORD DosTime; + WORD DosAttribs; + CHAR FullTargetName[MAX_PATH]; +} FILE_IN_CABINET_INFO_A, *PFILE_IN_CABINET_INFO_A; + +typedef struct _FILE_IN_CABINET_INFO_W { + LPCWSTR NameInCabinet; + DWORD FileSize; + DWORD Win32Error; + WORD DosDate; + WORD DosTime; + WORD DosAttribs; + WCHAR FullTargetName[MAX_PATH]; +} FILE_IN_CABINET_INFO_W, *PFILE_IN_CABINET_INFO_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(FILE_IN_CABINET_INFO) +DECL_WINELIB_SETUPAPI_TYPE_AW(PFILE_IN_CABINET_INFO) + +typedef struct _CABINET_INFO_A { + PCSTR CabinetPath; + PCSTR CabinetFile; + PCSTR DiskName; + USHORT SetId; + USHORT CabinetNumber; +} CABINET_INFO_A, *PCABINET_INFO_A; + +typedef struct _CABINET_INFO_W { + PCWSTR CabinetPath; + PCWSTR CabinetFile; + PCWSTR DiskName; + USHORT SetId; + USHORT CabinetNumber; +} CABINET_INFO_W, *PCABINET_INFO_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(CABINET_INFO) +DECL_WINELIB_SETUPAPI_TYPE_AW(PCABINET_INFO) + +typedef struct _SP_INF_INFORMATION { + DWORD InfStyle; + DWORD InfCount; + BYTE VersionData[ANYSIZE_ARRAY]; +} SP_INF_INFORMATION, *PSP_INF_INFORMATION; + +#define INF_STYLE_NONE 0x00 +#define INF_STYLE_OLDNT 0x01 +#define INF_STYLE_WIN4 0x02 +#define INF_STYLE_CACHE_ENABLE 0x10 +#define INF_STYLE_CACHE_DISABLE 0x20 + +#define FILEOP_COPY 0 +#define FILEOP_RENAME 1 +#define FILEOP_DELETE 2 +#define FILEOP_BACKUP 3 + +#define FILEOP_ABORT 0 +#define FILEOP_DOIT 1 +#define FILEOP_SKIP 2 +#define FILEOP_RETRY FILEOP_DOIT +#define FILEOP_NEWPATH 4 + +#define COPYFLG_WARN_IF_SKIP 0x00000001 +#define COPYFLG_NOSKIP 0x00000002 +#define COPYFLG_NOVERSIONCHECK 0x00000004 +#define COPYFLG_FORCE_FILE_IN_USE 0x00000008 +#define COPYFLG_NO_OVERWRITE 0x00000010 +#define COPYFLG_NO_VERSION_DIALOG 0x00000020 +#define COPYFLG_OVERWRITE_OLDER_ONLY 0x00000040 +#define COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE 0x00000100 +#define COPYFLG_REPLACEONLY 0x00000400 +#define COPYFLG_NODECOMP 0x00000800 +#define COPYFLG_REPLACE_BOOT_FILE 0x00001000 +#define COPYFLG_NOPRUNE 0x00002000 +#define COPYFLG_IN_USE_TRY_RENAME 0x00004000 + +#define DELFLG_IN_USE 0x00000001 +#define DELFLG_IN_USE1 0x00010000 + +typedef struct _FILEPATHS_A +{ + PCSTR Target; + PCSTR Source; + UINT Win32Error; + DWORD Flags; +} FILEPATHS_A, *PFILEPATHS_A; + +typedef struct _FILEPATHS_W +{ + PCWSTR Target; + PCWSTR Source; + UINT Win32Error; + DWORD Flags; +} FILEPATHS_W, *PFILEPATHS_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS) +DECL_WINELIB_SETUPAPI_TYPE_AW(PFILEPATHS) + +typedef struct _FILEPATHS_SIGNERINFO_A +{ + PCSTR Target; + PCSTR Source; + UINT Win32Error; + DWORD Flags; + PCSTR DigitalSigner; + PCSTR Version; + PCSTR CatalogFile; +} FILEPATHS_SIGNERINFO_A, *PFILEPATHS_SIGNERINFO_A; + +typedef struct _FILEPATHS_SIGNERINFO_W +{ + PCWSTR Target; + PCWSTR Source; + UINT Win32Error; + DWORD Flags; + PCWSTR DigitalSigner; + PCWSTR Version; + PCWSTR CatalogFile; +} FILEPATHS_SIGNERINFO_W, *PFILEPATHS_SIGNERINFO_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS_SIGNERINFO) + +typedef struct _SOURCE_MEDIA_A +{ + PCSTR Reserved; + PCSTR Tagfile; + PCSTR Description; + PCSTR SourcePath; + PCSTR SourceFile; + DWORD Flags; +} SOURCE_MEDIA_A, *PSOURCE_MEDIA_A; + +typedef struct _SOURCE_MEDIA_W +{ + PCWSTR Reserved; + PCWSTR Tagfile; + PCWSTR Description; + PCWSTR SourcePath; + PCWSTR SourceFile; + DWORD Flags; +} SOURCE_MEDIA_W, *PSOURCE_MEDIA_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SOURCE_MEDIA) + +typedef struct _SP_ORIGINAL_FILE_INFO_A +{ + DWORD cbSize; + CHAR OriginalInfName[MAX_PATH]; + CHAR OriginalCatalogName[MAX_PATH]; +} SP_ORIGINAL_FILE_INFO_A, *PSP_ORIGINAL_FILE_INFO_A; + +typedef struct _SP_ORIGINAL_FILE_INFO_W +{ + DWORD cbSize; + WCHAR OriginalInfName[MAX_PATH]; + WCHAR OriginalCatalogName[MAX_PATH]; +} SP_ORIGINAL_FILE_INFO_W, *PSP_ORIGINAL_FILE_INFO_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_ORIGINAL_FILE_INFO) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_ORIGINAL_FILE_INFO) + +typedef struct _SP_INF_SIGNER_INFO_A +{ + DWORD cbSize; + CHAR CatalogFile[MAX_PATH]; + CHAR DigitalSigner[MAX_PATH]; + CHAR DigitalSignerVersion[MAX_PATH]; +} SP_INF_SIGNER_INFO_A, *PSP_INF_SIGNER_INFO_A; + +typedef struct _SP_INF_SIGNER_INFO_W +{ + DWORD cbSize; + WCHAR CatalogFile[MAX_PATH]; + WCHAR DigitalSigner[MAX_PATH]; + WCHAR DigitalSignerVersion[MAX_PATH]; +} SP_INF_SIGNER_INFO_W, *PSP_INF_SIGNER_INFO_W; + +DECL_WINELIB_SETUPAPI_TYPE_AW(SP_INF_SIGNER_INFO) +DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_INF_SIGNER_INFO) + +#define SPFILENOTIFY_STARTQUEUE 0x0001 +#define SPFILENOTIFY_ENDQUEUE 0x0002 +#define SPFILENOTIFY_STARTSUBQUEUE 0x0003 +#define SPFILENOTIFY_ENDSUBQUEUE 0x0004 +#define SPFILENOTIFY_STARTDELETE 0x0005 +#define SPFILENOTIFY_ENDDELETE 0x0006 +#define SPFILENOTIFY_DELETEERROR 0x0007 +#define SPFILENOTIFY_STARTRENAME 0x0008 +#define SPFILENOTIFY_ENDRENAME 0x0009 +#define SPFILENOTIFY_RENAMEERROR 0x000a +#define SPFILENOTIFY_STARTCOPY 0x000b +#define SPFILENOTIFY_ENDCOPY 0x000c +#define SPFILENOTIFY_COPYERROR 0x000d +#define SPFILENOTIFY_NEEDMEDIA 0x000e +#define SPFILENOTIFY_QUEUESCAN 0x000f +#define SPFILENOTIFY_CABINETINFO 0x0010 +#define SPFILENOTIFY_FILEINCABINET 0x0011 +#define SPFILENOTIFY_NEEDNEWCABINET 0x0012 +#define SPFILENOTIFY_FILEEXTRACTED 0x0013 +#define SPFILENOTIFY_FILEOPDELAYED 0x0014 +#define SPFILENOTIFY_STARTBACKUP 0x0015 +#define SPFILENOTIFY_BACKUPERROR 0x0016 +#define SPFILENOTIFY_ENDBACKUP 0x0017 +#define SPFILENOTIFY_QUEUESCAN_EX 0x0018 +#define SPFILENOTIFY_STARTREGISTRATION 0x0019 +#define SPFILENOTIFY_ENDREGISTRATION 0x0020 +#define SPFILENOTIFY_QUEUESCAN_SIGNERINFO 0x0040 + +#define SPFILENOTIFY_LANGMISMATCH 0x00010000 +#define SPFILENOTIFY_TARGETEXISTS 0x00020000 +#define SPFILENOTIFY_TARGETNEWER 0x00040000 + +#define SPINST_LOGCONFIG 0x00000001 +#define SPINST_INIFILES 0x00000002 +#define SPINST_REGISTRY 0x00000004 +#define SPINST_INI2REG 0x00000008 +#define SPINST_FILES 0x00000010 +#define SPINST_BITREG 0x00000020 +#define SPINST_REGSVR 0x00000040 +#define SPINST_UNREGSVR 0x00000080 +#define SPINST_PROFILEITEMS 0x00000100 +#define SPINST_COPYINF 0x00000200 +#define SPINST_ALL 0x000003ff +#define SPINST_SINGLESECTION 0x00010000 +#define SPINST_LOGCONFIG_IS_FORCED 0x00020000 +#define SPINST_LOGCONFIGS_ARE_OVERRIDES 0x00040000 +#define SPINST_REGISTERCALLBACKAWARE 0x00080000 + +#define SPSVCINST_TAGTOFRONT 0x00000001 +#define SPSVCINST_ASSOCSERVICE 0x00000002 +#define SPSVCINST_DELETEEVENTLOGENTRY 0x00000004 +#define SPSVCINST_NOCLOBBER_DISPLAYNAME 0x00000008 +#define SPSVCINST_NOCLOBBER_STARTTYPE 0x00000010 +#define SPSVCINST_NOCLOBBER_ERRORCONTROL 0x00000020 +#define SPSVCINST_NOCLOBBER_LOADORDERGROUP 0x00000040 +#define SPSVCINST_NOCLOBBER_DEPENDENCIES 0x00000080 +#define SPSVCINST_NOCLOBBER_DESCRIPTION 0x00000100 +#define SPSVCINST_STOPSERVICE 0x00000200 +#define SPSVCINST_CLOBBER_SECURITY 0x00000400 +#define SPSVCINST_STARTSERVICE 0x00000800 + +#define SP_COPY_DELETESOURCE 0x00000001 +#define SP_COPY_REPLACEONLY 0x00000002 +#define SP_COPY_NEWER 0x00000004 +#define SP_COPY_NEWER_OR_SAME SP_COPY_NEWER +#define SP_COPY_NOOVERWRITE 0x00000008 +#define SP_COPY_NODECOMP 0x00000010 +#define SP_COPY_LANGUAGEAWARE 0x00000020 +#define SP_COPY_SOURCE_ABSOLUTE 0x00000040 +#define SP_COPY_SOURCEPATH_ABSOLUTE 0x00000080 +#define SP_COPY_IN_USE_NEEDS_REBOOT 0x00000100 +#define SP_COPY_FORCE_IN_USE 0x00000200 +#define SP_COPY_NOSKIP 0x00000400 +#define SP_FLAG_CABINETCONTINUATION 0x00000800 +#define SP_COPY_FORCE_NOOVERWRITE 0x00001000 +#define SP_COPY_FORCE_NEWER 0x00002000 +#define SP_COPY_WARNIFSKIP 0x00004000 +#define SP_COPY_NOBROWSE 0x00008000 +#define SP_COPY_NEWER_ONLY 0x00010000 +#define SP_COPY_SOURCE_SIS_MASTER 0x00020000 +#define SP_COPY_OEMINF_CATALOG_ONLY 0x00040000 +#define SP_COPY_REPLACE_BOOT_FILE 0x00080000 +#define SP_COPY_NOPRUNE 0x00100000 +#define SP_COPY_OEM_F6_INF 0x00200000 + +#define SP_BACKUP_BACKUPPASS 0x00000001 +#define SP_BACKUP_DEMANDPASS 0x00000002 +#define SP_BACKUP_SPECIAL 0x00000004 +#define SP_BACKUP_BOOTFILE 0x00000008 + +#define SPOST_NONE 0 +#define SPOST_PATH 1 +#define SPOST_URL 2 +#define SPOST_MAX 3 + +#define SPQ_SCAN_FILE_PRESENCE 0x00000001 +#define SPQ_SCAN_FILE_VALIDITY 0x00000002 +#define SPQ_SCAN_USE_CALLBACK 0x00000004 +#define SPQ_SCAN_USE_CALLBACKEX 0x00000008 +#define SPQ_SCAN_INFORM_USER 0x00000010 +#define SPQ_SCAN_PRUNE_COPY_QUEUE 0x00000020 +#define SPQ_SCAN_USE_CALLBACK_SIGNERINFO 0x00000040 +#define SPQ_SCAN_PRUNE_DELREN 0x00000080 + +#define SPQ_DELAYED_COPY 0x00000001 + +#define SPQ_FLAG_BACKUP_AWARE 0x00000001 +#define SPQ_FLAG_ABORT_IF_UNSIGNED 0x00000002 +#define SPQ_FLAG_FILES_MODIFIED 0x00000004 +#define SPQ_FLAG_VALID 0x00000007 + +#define FLG_ADDREG_DELREG_BIT 0x00008000 +#define FLG_ADDREG_BINVALUETYPE 0x00000001 +#define FLG_ADDREG_NOCLOBBER 0x00000002 +#define FLG_ADDREG_DELVAL 0x00000004 +#define FLG_ADDREG_APPEND 0x00000008 +#define FLG_ADDREG_KEYONLY 0x00000010 +#define FLG_ADDREG_OVERWRITEONLY 0x00000020 +#define FLG_ADDREG_64BITKEY 0x00001000 +#define FLG_ADDREG_KEYONLY_COMMON 0x00002000 +#define FLG_ADDREG_32BITKEY 0x00004000 +#define FLG_ADDREG_TYPE_SZ 0x00000000 +#define FLG_ADDREG_TYPE_MULTI_SZ 0x00010000 +#define FLG_ADDREG_TYPE_EXPAND_SZ 0x00020000 +#define FLG_ADDREG_TYPE_BINARY (0x00000000 | FLG_ADDREG_BINVALUETYPE) +#define FLG_ADDREG_TYPE_DWORD (0x00010000 | FLG_ADDREG_BINVALUETYPE) +#define FLG_ADDREG_TYPE_NONE (0x00020000 | FLG_ADDREG_BINVALUETYPE) +#define FLG_ADDREG_TYPE_MASK (0xFFFF0000 | FLG_ADDREG_BINVALUETYPE) + +#define FLG_DELREG_VALUE (0x00000000) +#define FLG_DELREG_TYPE_MASK FLG_ADDREG_TYPE_MASK +#define FLG_DELREG_TYPE_SZ FLG_ADDREG_TYPE_SZ +#define FLG_DELREG_TYPE_MULTI_SZ FLG_ADDREG_TYPE_MULTI_SZ +#define FLG_DELREG_TYPE_EXPAND_SZ FLG_ADDREG_TYPE_EXPAND_SZ +#define FLG_DELREG_TYPE_BINARY FLG_ADDREG_TYPE_BINARY +#define FLG_DELREG_TYPE_DWORD FLG_ADDREG_TYPE_DWORD +#define FLG_DELREG_TYPE_NONE FLG_ADDREG_TYPE_NONE +#define FLG_DELREG_64BITKEY FLG_ADDREG_64BITKEY +#define FLG_DELREG_KEYONLY_COMMON FLG_ADDREG_KEYONLY_COMMON +#define FLG_DELREG_32BITKEY FLG_ADDREG_32BITKEY +#define FLG_DELREG_OPERATION_MASK (0x000000FE) +#define FLG_DELREG_MULTI_SZ_DELSTRING (FLG_DELREG_TYPE_MULTI_SZ | FLG_ADDREG_DELREG_BIT | 0x00000002) + +#define FLG_REGSVR_DLLREGISTER 0x00000001 +#define FLG_REGSVR_DLLINSTALL 0x00000002 + +#define FLG_PROFITEM_CURRENTUSER 0x00000001 +#define FLG_PROFITEM_DELETE 0x00000002 +#define FLG_PROFITEM_GROUP 0x00000004 +#define FLG_PROFITEM_CSIDL 0x00000008 + +#define DI_NOVCP 0x00000008 + +/* Class installer function codes */ +#define DIF_SELECTDEVICE 0x01 +#define DIF_INSTALLDEVICE 0x02 +#define DIF_ASSIGNRESOURCES 0x03 +#define DIF_PROPERTIES 0x04 +#define DIF_REMOVE 0x05 +#define DIF_FIRSTTIMESETUP 0x06 +#define DIF_FOUNDDEVICE 0x07 +#define DIF_SELECTCLASSDRIVERS 0x08 +#define DIF_VALIDATECLASSDRIVERS 0x09 +#define DIF_INSTALLCLASSDRIVERS 0x0a +#define DIF_CALCDISKSPACE 0x0b +#define DIF_DESTROYPRIVATEDATA 0x0c +#define DIF_VALIDATEDRIVER 0x0d +#define DIF_MOVEDEVICE 0x0e +#define DIF_DETECT 0x0f +#define DIF_INSTALLWIZARD 0x10 +#define DIF_DESTROYWIZARDDATA 0x11 +#define DIF_PROPERTYCHANGE 0x12 +#define DIF_ENABLECLASS 0x13 +#define DIF_DETECTVERIFY 0x14 +#define DIF_INSTALLDEVICEFILES 0x15 +#define DIF_UNREMOVE 0x16 +#define DIF_SELECTBESTCOMPATDRV 0x17 +#define DIF_ALLOW_INSTALL 0x18 +#define DIF_REGISTERDEVICE 0x19 +#define DIF_NEWDEVICEWIZARD_PRESELECT 0x1a +#define DIF_NEWDEVICEWIZARD_SELECT 0x1b +#define DIF_NEWDEVICEWIZARD_PREANALYZE 0x1c +#define DIF_NEWDEVICEWIZARD_POSTANALYZE 0x1d +#define DIF_NEWDEVICEWIZARD_FINISHINSTALL 0x1e +#define DIF_UNUSED1 0x1f +#define DIF_INSTALLINTERFACES 0x20 +#define DIF_DETECTCANCEL 0x21 +#define DIF_REGISTER_COINSTALLERS 0x22 +#define DIF_ADDPROPERTYPAGE_ADVANCED 0x23 +#define DIF_ADDPROPERTYPAGE_BASIC 0x24 +#define DIF_RESERVED1 0x25 +#define DIF_TROUBLESHOOTER 0x26 +#define DIF_POWERMESSAGEWAKE 0x27 +#define DIF_ADDREMOTEPROPERTYPAGE_ADVANCED 0x28 +#define DIF_UPDATEDRIVER_UI 0x29 +#define DIF_RESERVED2 0x30 + +/* Directory ids */ +#define DIRID_ABSOLUTE (-1) +#define DIRID_ABSOLUTE_16BIT 0xffff +#define DIRID_NULL 0 +#define DIRID_SRCPATH 1 +#define DIRID_WINDOWS 10 +#define DIRID_SYSTEM 11 +#define DIRID_DRIVERS 12 +#define DIRID_IOSUBSYS DIRID_DRIVERS +#define DIRID_INF 17 +#define DIRID_HELP 18 +#define DIRID_FONTS 20 +#define DIRID_VIEWERS 21 +#define DIRID_COLOR 23 +#define DIRID_APPS 24 +#define DIRID_SHARED 25 +#define DIRID_BOOT 30 +#define DIRID_SYSTEM16 50 +#define DIRID_SPOOL 51 +#define DIRID_SPOOLDRIVERS 52 +#define DIRID_USERPROFILE 53 +#define DIRID_LOADER 54 +#define DIRID_PRINTPROCESSOR 55 +#define DIRID_DEFAULT DIRID_SYSTEM + +#define DIRID_COMMON_STARTMENU 16406 +#define DIRID_COMMON_PROGRAMS 16407 +#define DIRID_COMMON_STARTUP 16408 +#define DIRID_COMMON_DESKTOPDIRECTORY 16409 +#define DIRID_COMMON_FAVORITES 16415 +#define DIRID_COMMON_APPDATA 16419 +#define DIRID_PROGRAM_FILES 16422 +#define DIRID_SYSTEM_X86 16425 +#define DIRID_PROGRAM_FILES_X86 16426 +#define DIRID_PROGRAM_FILES_COMMON 16427 +#define DIRID_PROGRAM_FILES_COMMONX86 16428 +#define DIRID_COMMON_TEMPLATES 16429 +#define DIRID_COMMON_DOCUMENTS 16430 + +#define DIRID_USER 0x8000 + + +/* Error code */ + +#define ERROR_EXPECTED_SECTION_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0) +#define ERROR_BAD_SECTION_NAME_LINE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|1) +#define ERROR_SECTION_NAME_TOO_LONG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|2) +#define ERROR_GENERAL_SYNTAX (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|3) +#define ERROR_WRONG_INF_STYLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x100) +#define ERROR_SECTION_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x101) +#define ERROR_LINE_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x102) +#define ERROR_NO_BACKUP (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x103) +#define ERROR_NO_ASSOCIATED_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x200) +#define ERROR_CLASS_MISMATCH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x201) +#define ERROR_DUPLICATE_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x202) +#define ERROR_NO_DRIVER_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x203) +#define ERROR_KEY_DOES_NOT_EXIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x204) +#define ERROR_INVALID_DEVINST_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x205) +#define ERROR_INVALID_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x206) +#define ERROR_DEVINST_ALREADY_EXISTS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x207) +#define ERROR_DEVINFO_NOT_REGISTERED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x208) +#define ERROR_INVALID_REG_PROPERTY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x209) +#define ERROR_NO_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20A) +#define ERROR_NO_SUCH_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20B) +#define ERROR_CANT_LOAD_CLASS_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20C) +#define ERROR_INVALID_CLASS_INSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20D) +#define ERROR_DI_DO_DEFAULT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20E) +#define ERROR_DI_NOFILECOPY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20F) +#define ERROR_INVALID_HWPROFILE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x210) +#define ERROR_NO_DEVICE_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x211) +#define ERROR_DEVINFO_LIST_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x212) +#define ERROR_DEVINFO_DATA_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x213) +#define ERROR_DI_BAD_PATH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x214) +#define ERROR_NO_CLASSINSTALL_PARAMS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x215) +#define ERROR_FILEQUEUE_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x216) +#define ERROR_BAD_SERVICE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x217) +#define ERROR_NO_CLASS_DRIVER_LIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x218) +#define ERROR_NO_ASSOCIATED_SERVICE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x219) +#define ERROR_NO_DEFAULT_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21A) +#define ERROR_DEVICE_INTERFACE_ACTIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21B) +#define ERROR_DEVICE_INTERFACE_REMOVED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21C) +#define ERROR_BAD_INTERFACE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21D) +#define ERROR_NO_SUCH_INTERFACE_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21E) +#define ERROR_INVALID_REFERENCE_STRING (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21F) +#define ERROR_INVALID_MACHINENAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x220) +#define ERROR_REMOTE_COMM_FAILURE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x221) +#define ERROR_MACHINE_UNAVAILABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x222) +#define ERROR_NO_CONFIGMGR_SERVICES (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x223) +#define ERROR_INVALID_PROPPAGE_PROVIDER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x224) +#define ERROR_NO_SUCH_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x225) +#define ERROR_DI_POSTPROCESSING_REQUIRED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x226) +#define ERROR_INVALID_COINSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x227) +#define ERROR_NO_COMPAT_DRIVERS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x228) +#define ERROR_NO_DEVICE_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x229) +#define ERROR_INVALID_INF_LOGCONFIG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22A) +#define ERROR_DI_DONT_INSTALL (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22B) +#define ERROR_INVALID_FILTER_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22C) +#define ERROR_NON_WINDOWS_NT_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22D) +#define ERROR_NON_WINDOWS_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22E) +#define ERROR_NO_CATALOG_FOR_OEM_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22F) +#define ERROR_DEVINSTALL_QUEUE_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x230) +#define ERROR_NOT_DISABLEABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x231) +#define ERROR_CANT_REMOVE_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x232) +#define ERROR_INVALID_TARGET (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x233) +#define ERROR_DRIVER_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x234) +#define ERROR_IN_WOW64 (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x235) +#define ERROR_SET_SYSTEM_RESTORE_POINT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x236) +#define ERROR_INCORRECTLY_COPIED_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x237) +#define ERROR_SCE_DISABLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x238) +#define ERROR_WRONG_INF_TYPE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24A) +#define ERROR_NO_DEFAULT_INTERFACE_DEVICE ERROR_NO_DEFAULT_DEVICE_INTERFACE +#define ERROR_INTERFACE_DEVICE_ACTIVE ERROR_DEVICE_INTERFACE_ACTIVE +#define ERROR_INTERFACE_DEVICE_REMOVED ERROR_DEVICE_INTERFACE_REMOVED +#define ERROR_NO_SUCH_INTERFACE_DEVICE ERROR_NO_SUCH_DEVICE_INTERFACE +#define ERROR_NOT_INSTALLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x1000) + +/* flags for SetupDiGetClassDevs */ +#define DIGCF_DEFAULT 0x00000001 +#define DIGCF_PRESENT 0x00000002 +#define DIGCF_ALLCLASSES 0x00000004 +#define DIGCF_PROFILE 0x00000008 +#define DIGCF_DEVICEINTERFACE 0x00000010 + +/* Flags for SetupDiOpenClassRegKeyEx */ +#define DIOCR_INSTALLER 0x00000001 +#define DIOCR_INTERFACE 0x00000002 + +/* Flags for SetupDiBuildClassInfoList(Ex) */ +#define DIBCI_NOINSTALLCLASS 0x00000001 +#define DIBCI_NODISPLAYCLASS 0x00000002 + +/* Flags for SetupDiCreateDeviceInfo */ +#define DICD_GENERATE_ID 0x00000001 +#define DICD_INHERIT_CLASSDRVS 0x00000002 + +/* Flags for SetupDiOpenDeviceInfo */ +#define DIOD_INHERIT_CLASSDRVS 0x00000002 +#define DIOD_CANCEL_REMOVE 0x00000004 + +/* Flags for SetupDiOpenDeviceInterface */ +#define DIODI_NO_ADD 0x00000001 + +/* Flags for SetupDiRegisterDeviceInfo */ +#define SPRDI_FIND_DUPS 0x00000001 + +/* Values for SetupDi*Info* DriverType */ +#define SPDIT_NODRIVER 0x00000000 +#define SPDIT_CLASSDRIVER 0x00000001 +#define SPDIT_COMPATDRIVER 0x00000002 + +/* setup device registry property codes */ +#define SPDRP_DEVICEDESC 0x00000000 +#define SPDRP_HARDWAREID 0x00000001 +#define SPDRP_COMPATIBLEIDS 0x00000002 +#define SPDRP_UNUSED0 0x00000003 +#define SPDRP_SERVICE 0x00000004 +#define SPDRP_UNUSED1 0x00000005 +#define SPDRP_UNUSED2 0x00000006 +#define SPDRP_CLASS 0x00000007 +#define SPDRP_CLASSGUID 0x00000008 +#define SPDRP_DRIVER 0x00000009 +#define SPDRP_CONFIGFLAGS 0x0000000a +#define SPDRP_MFG 0x0000000b +#define SPDRP_FRIENDLYNAME 0x0000000c +#define SPDRP_LOCATION_INFORMATION 0x0000000d +#define SPDRP_PHYSICAL_DEVICE_OBJECT_NAME 0x0000000e +#define SPDRP_CAPABILITIES 0x0000000f +#define SPDRP_UI_NUMBER 0x00000010 +#define SPDRP_UPPERFILTERS 0x00000011 +#define SPDRP_LOWERFILTERS 0x00000012 +#define SPDRP_BUSTYPEGUID 0x00000013 +#define SPDRP_LEGACYBUSTYPE 0x00000014 +#define SPDRP_BUSNUMBER 0x00000015 +#define SPDRP_ENUMERATOR_NAME 0x00000016 +#define SPDRP_SECURITY 0x00000017 +#define SPDRP_SECURITY_SDS 0x00000018 +#define SPDRP_DEVTYPE 0x00000019 +#define SPDRP_EXCLUSIVE 0x0000001a +#define SPDRP_CHARACTERISTICS 0x0000001b +#define SPDRP_ADDRESS 0x0000001c +#define SPDRP_UI_NUMBER_DESC_FORMAT 0x0000001d +#define SPDRP_DEVICE_POWER_DATA 0x0000001e +#define SPDRP_REMOVAL_POLICY 0x0000001f +#define SPDRP_REMOVAL_POLICY_HW_DEFAULT 0x00000020 +#define SPDRP_REMOVAL_POLICY_OVERRIDE 0x00000021 +#define SPDRP_INSTALL_STATE 0x00000022 +#define SPDRP_MAXIMUM_PROPERTY 0x00000023 + +#define DPROMPT_SUCCESS 0 +#define DPROMPT_CANCEL 1 +#define DPROMPT_SKIPFILE 2 +#define DPROMPT_BUFFERTOOSMALL 3 +#define DPROMPT_OUTOFMEMORY 4 + +#define SETDIRID_NOT_FULL_PATH 0x00000001 + +#define IDF_NOBROWSE 0x00000001 +#define IDF_NOSKIP 0x00000002 +#define IDF_NODETAILS 0x00000004 +#define IDF_NOCOMPRESSED 0x00000008 +#define IDF_CHECKFIRST 0x00000100 +#define IDF_NOBEEP 0x00000200 +#define IDF_NOFOREGROUND 0x00000400 +#define IDF_WARNIFSKIP 0x00000800 + +#define IDF_NOREMOVABLEMEDIAPROMPT 0x00001000 +#define IDF_USEDISKNAMEASPROMPT 0x00002000 +#define IDF_OEMDISK 0x80000000 + +#define INFINFO_INF_SPEC_IS_HINF 1 +#define INFINFO_INF_NAME_IS_ABSOLUTE 2 +#define INFINFO_DEFAULT_SEARCH 3 +#define INFINFO_REVERSE_DEFAULT_SEARCH 4 +#define INFINFO_INF_PATH_LIST_SEARCH 5 + +#define LogSeverity DWORD +#define LogSevInformation 0x00000000 +#define LogSevWarning 0x00000001 +#define LogSevError 0x00000002 +#define LogSevFatalError 0x00000003 +#define LogSevMaximum 0x00000004 + +#define SRCINFO_PATH 1 +#define SRCINFO_TAGFILE 2 +#define SRCINFO_DESCRIPTION 3 +#define SRCINFO_FLAGS 4 +#define SRCINFO_TAGFILE2 5 + +#define SRC_FLAGS_CABFILE (0x0010) + +#define FILE_COMPRESSION_NONE 0 +#define FILE_COMPRESSION_WINLZA 1 +#define FILE_COMPRESSION_MSZIP 2 +#define FILE_COMPRESSION_NTCAB 3 + +#define SPDSL_IGNORE_DISK 0x00000001 +#define SPDSL_DISALLOW_NEGATIVE_ADJUST 0x00000002 + +/* SetupInitializeFileLog Flags values */ +#define SPFILELOG_SYSTEMLOG 0x00000001 +#define SPFILELOG_FORCENEW 0x00000002 +#define SPFILELOG_QUERYONLY 0x00000004 + +/* SetupLogFile Flags values */ +#define SPFILELOG_OEMFILE 0x00000001 + +/* SetupDiCreateDevRegKey, SetupDiOpenDevRegKey, and SetupDiDeleteDevRegKey + * KeyType values + */ +#define DIREG_DEV 0x00000001 +#define DIREG_DRV 0x00000002 +#define DIREG_BOTH 0x00000004 + +/* SetupDiDrawMiniIcon Flags values */ +#define DMI_MASK 0x00000001 +#define DMI_BKCOLOR 0x00000002 +#define DMI_USERECT 0x00000004 + +/* SetupDiGetClassDevPropertySheets PropertySheetType values */ +#define DIGCDP_FLAG_BASIC 0x00000001 +#define DIGCDP_FLAG_ADVANCED 0x00000002 +#define DIGCDP_FLAG_REMOTE_BASIC 0x00000003 +#define DIGCDP_FLAG_REMOTE_ADVANCED 0x00000004 + +typedef enum { + SetupFileLogSourceFilename, + SetupFileLogChecksum, + SetupFileLogDiskTagfile, + SetupFileLogDiskDescription, + SetupFileLogOtherInfo, + SetupFileLogMax +} SetupFileLogInfo; + +/* SetupDiGetWizardPage PageType values */ +#define SPWPT_SELECTDEVICE 0x00000001 +/* SetupDiGetWizardPage Flags values */ +#define SPWP_USE_DEVINFO_DATA 0x00000001 + +/* SetupDiGetCustomDeviceProperty Flags values */ +#define DICUSTOMDEVPROP_MERGE_MULTISZ 0x00000001 + +/* SetupConfigureWmiFromInfSection Flags values */ +#define SCWMI_CLOBBER_SECURITY 0x00000001 + +/* SetupUninstallOEMInf Flags values */ +#define SUOI_FORCEDELETE 0x00000001 + +LONG WINAPI AddTagToGroupOrderList(PCWSTR lpGroupName, DWORD dwUnknown2, DWORD dwUnknown3); +DWORD WINAPI CaptureAndConvertAnsiArg(PCSTR lpSrc, PWSTR *lpDst); +DWORD WINAPI CaptureStringArg(PCWSTR lpSrc, PWSTR *lpDst); +BOOL WINAPI DelayedMove(PCWSTR lpExistingFileName, PCWSTR lpNewFileName); +BOOL WINAPI DoesUserHavePrivilege(PCWSTR lpPrivilegeName); +PWSTR WINAPI DuplicateString(PCWSTR lpSrc); +BOOL WINAPI EnablePrivilege(PCWSTR lpPrivilegeName, BOOL bEnable); +BOOL WINAPI FileExists(PCWSTR lpFileName, PWIN32_FIND_DATAW lpFileFindData); +void WINAPI InstallHinfSectionA( HWND hwnd, HINSTANCE handle, PCSTR cmdline, INT show ); +void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, PCWSTR cmdline, INT show ); +#define InstallHinfSection WINELIB_NAME_AW(InstallHinfSection) +BOOL WINAPI IsUserAdmin(VOID); +PWSTR WINAPI MultiByteToUnicode(PCSTR lpMultiByteStr, UINT uCodePage); +VOID WINAPI MyFree(PVOID lpMem); +PVOID WINAPI MyMalloc(DWORD dwSize); +PVOID WINAPI MyRealloc(PVOID lpSrc, DWORD dwSize); +DWORD WINAPI OpenAndMapForRead(PCWSTR, PDWORD, PHANDLE, PHANDLE, PVOID *); +LONG WINAPI QueryRegistryValue(HKEY, PCWSTR, PBYTE *, PDWORD, PDWORD); +/* RetreiveFileSecurity is not a typo, as per Microsoft's dlls */ +DWORD WINAPI RetreiveFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR *); +BOOL WINAPI SetupAddSectionToDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT); +BOOL WINAPI SetupAddSectionToDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT); +#define SetupAddSectionToDiskSpaceList WINELIB_NAME_AW(SetupAddSectionToDiskSpaceList) +BOOL WINAPI SetupAddToDiskSpaceListA(HDSKSPC, PCSTR, LONGLONG, UINT, PVOID, UINT); +BOOL WINAPI SetupAddToDiskSpaceListW(HDSKSPC, PCWSTR, LONGLONG, UINT, PVOID, UINT); +#define SetupAddToDiskSpaceList WINELIB_NAME_AW(SetupAddToDiskSpaceList) +BOOL WINAPI SetupAddToSourceListA(DWORD, PCSTR); +BOOL WINAPI SetupAddToSourceListW(DWORD, PCWSTR); +#define SetupAddToSourceList WINELIB_NAME_AW(SetupAddToSourceList) +BOOL WINAPI SetupAdjustDiskSpaceListA(HDSKSPC, LPCSTR, LONGLONG, PVOID, UINT); +BOOL WINAPI SetupAdjustDiskSpaceListW(HDSKSPC, LPCWSTR, LONGLONG, PVOID, UINT); +#define SetupAdjustDiskSpaceList WINELIB_NAME_AW(SetupAdjustDiskSpaceList) +BOOL WINAPI SetupCancelTemporarySourceList(void); +BOOL WINAPI SetupConfigureWmiFromInfSectionA(HINF, PCSTR, DWORD); +BOOL WINAPI SetupConfigureWmiFromInfSectionW(HINF, PCWSTR, DWORD); +#define SetupConfigureWmiFromInfSection WINELIB_NAME_AW(SetupConfigureWmiFromInfSection) +UINT WINAPI SetupBackupErrorA(HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD); +UINT WINAPI SetupBackupErrorW(HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD); +#define SetupBackupError WINELIB_NAME_AW(SetupBackupError) +BOOL WINAPI SetupCloseFileQueue( HSPFILEQ ); +void WINAPI SetupCloseInfFile( HINF hinf ); +void WINAPI SetupCloseLog(void); +BOOL WINAPI SetupCommitFileQueueA( HWND, HSPFILEQ, PSP_FILE_CALLBACK_A, PVOID ); +BOOL WINAPI SetupCommitFileQueueW( HWND, HSPFILEQ, PSP_FILE_CALLBACK_W, PVOID ); +#define SetupCommitFileQueue WINELIB_NAME_AW(SetupCommitFileQueue) +UINT WINAPI SetupCopyErrorA( HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, UINT, DWORD, PSTR, DWORD, PDWORD ); +UINT WINAPI SetupCopyErrorW( HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD, PWSTR, DWORD, PDWORD ); +#define SetupCopyError WINELIB_NAME_AW(SetupCopyError) +BOOL WINAPI SetupCopyOEMInfA( PCSTR, PCSTR, DWORD, DWORD, PSTR, DWORD, PDWORD, PSTR * ); +BOOL WINAPI SetupCopyOEMInfW( PCWSTR, PCWSTR, DWORD, DWORD, PWSTR, DWORD, PDWORD, PWSTR * ); +#define SetupCopyOEMInf WINELIB_NAME_AW(SetupCopyOEMInf) +HDSKSPC WINAPI SetupCreateDiskSpaceListA(PVOID, DWORD, UINT); +HDSKSPC WINAPI SetupCreateDiskSpaceListW(PVOID, DWORD, UINT); +#define SetupCreateDiskSpaceList WINELIB_NAME_AW(SetupCreateDiskSpaceList) +DWORD WINAPI SetupDecompressOrCopyFileA( PCSTR, PCSTR, PUINT ); +DWORD WINAPI SetupDecompressOrCopyFileW( PCWSTR, PCWSTR, PUINT ); +#define SetupDecompressOrCopyFile WINELIB_NAME_AW(SetupDecompressOrCopyFile) +UINT WINAPI SetupDefaultQueueCallbackA( PVOID, UINT, UINT_PTR, UINT_PTR ); +UINT WINAPI SetupDefaultQueueCallbackW( PVOID, UINT, UINT_PTR, UINT_PTR ); +#define SetupDefaultQueueCallback WINELIB_NAME_AW(SetupDefaultQueueCallback) +UINT WINAPI SetupDeleteErrorA( HWND, PCSTR, PCSTR, UINT, DWORD ); +UINT WINAPI SetupDeleteErrorW( HWND, PCWSTR, PCWSTR, UINT, DWORD ); +#define SetupDeleteError WINELIB_NAME_AW(SetupDeleteError) +BOOL WINAPI SetupDestroyDiskSpaceList(HDSKSPC); +BOOL WINAPI SetupDiAskForOEMDisk(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiBuildClassInfoList(DWORD, LPGUID, DWORD, PDWORD); +BOOL WINAPI SetupDiBuildClassInfoListExA(DWORD, LPGUID, DWORD, PDWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD, LPGUID, DWORD, PDWORD, PCWSTR, PVOID); +#define SetupDiBuildClassInfoListEx WINELIB_NAME_AW(SetupDiBuildClassInfoListEx) +BOOL WINAPI SetupDiBuildDriverInfoList(HDEVINFO, PSP_DEVINFO_DATA, DWORD); +BOOL WINAPI SetupDiCallClassInstaller(DI_FUNCTION, HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiCancelDriverInfoSearch(HDEVINFO); +BOOL WINAPI SetupDiChangeState(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiClassGuidsFromNameA(LPCSTR, LPGUID, DWORD, PDWORD); +BOOL WINAPI SetupDiClassGuidsFromNameW(LPCWSTR, LPGUID, DWORD, PDWORD); +#define SetupDiClassGuidsFromName WINELIB_NAME_AW(SetupDiClassGuidsFromName) +BOOL WINAPI SetupDiClassGuidsFromNameExA(LPCSTR, LPGUID, DWORD, PDWORD, LPCSTR, PVOID); +BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR, LPGUID, DWORD, PDWORD, LPCWSTR, PVOID); +#define SetupDiClassGuidsFromNameEx WINELIB_NAME_AW(SetupDiClassGuidsFromNameEx) +BOOL WINAPI SetupDiClassNameFromGuidA(const GUID*, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupDiClassNameFromGuidW(const GUID*, PWSTR, DWORD, PDWORD); +#define SetupDiClassNameFromGuid WINELIB_NAME_AW(SetupDiClassNameFromGuid) +BOOL WINAPI SetupDiClassNameFromGuidExA(const GUID*, PSTR, DWORD, PDWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiClassNameFromGuidExW(const GUID*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID); +#define SetupDiClassNameFromGuidEx WINELIB_NAME_AW(SetupDiClassNameFromGuidEx) +HDEVINFO WINAPI SetupDiCreateDeviceInfoList(const GUID *, HWND); +HDEVINFO WINAPI SetupDiCreateDeviceInfoListExA(const GUID *, HWND, PCSTR, PVOID); +HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(const GUID *, HWND, PCWSTR, PVOID); +#define SetupDiCreateDeviceInfoListEx WINELIB_NAME_AW(SetupDiCreateDeviceInfoListEx) +BOOL WINAPI SetupDiCreateDeviceInfoA(HDEVINFO, PCSTR, const GUID*, PCSTR, HWND, DWORD,PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiCreateDeviceInfoW(HDEVINFO, PCWSTR, const GUID*, PCWSTR, HWND, DWORD,PSP_DEVINFO_DATA); +#define SetupDiCreateDeviceInfo WINELIB_NAME_AW(SetupDiCreateDeviceInfo) +BOOL WINAPI SetupDiCreateDeviceInterfaceA(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); +BOOL WINAPI SetupDiCreateDeviceInterfaceW(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); +#define SetupDiCreateDeviceInterface WINELIB_NAME_AW(SetupDiCreateDeviceInterface) +HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM, HINF, PCSTR); +HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM, HINF, PCWSTR); +#define SetupDiCreateDeviceInterfaceRegKey WINELIB_NAME_AW(SetupDiCreateDeviceInterfaceRegKey) +HKEY WINAPI SetupDiCreateDevRegKeyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, HINF, PCSTR); +HKEY WINAPI SetupDiCreateDevRegKeyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, HINF, PCWSTR); +#define SetupDiCreateDevRegKey WINELIB_NAME_AW(SetupDiCreateDevRegKey) +BOOL WINAPI SetupDiDeleteDeviceInfo(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiDeleteDeviceInterfaceData(HDEVINFO, PSP_DEVICE_INTERFACE_DATA); +BOOL WINAPI SetupDiDeleteDeviceInterfaceRegKey(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD); +BOOL WINAPI SetupDiDeleteDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD); +BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA); +BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO); +BOOL WINAPI SetupDiDestroyDriverInfoList(HDEVINFO, PSP_DEVINFO_DATA, DWORD); +INT WINAPI SetupDiDrawMiniIcon(HDC, RECT, INT, DWORD); +BOOL WINAPI SetupDiEnumDeviceInfo(HDEVINFO, DWORD, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiEnumDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, DWORD, PSP_DEVICE_INTERFACE_DATA); +BOOL WINAPI SetupDiEnumDriverInfoA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, PSP_DRVINFO_DATA_A); +BOOL WINAPI SetupDiEnumDriverInfoW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, PSP_DRVINFO_DATA_W); +#define SetupDiEnumDriverInfo WINELIB_NAME_AW(SetupDiEnumDriverInfo) +BOOL WINAPI SetupDiGetActualModelsSectionA(PINFCONTEXT, PSP_ALTPLATFORM_INFO, PSTR, DWORD, PDWORD, PVOID); +BOOL WINAPI SetupDiGetActualModelsSectionW(PINFCONTEXT, PSP_ALTPLATFORM_INFO, PWSTR, DWORD, PDWORD, PVOID); +#define SetupDiGetActualModelsSection WINELIB_NAME_AW(SetupDiGetActualModelsSection) +BOOL WINAPI SetupDiGetActualSectionToInstallA(HINF, PCSTR, PSTR, DWORD, PDWORD, PSTR *); +BOOL WINAPI SetupDiGetActualSectionToInstallW(HINF, PCWSTR, PWSTR, DWORD, PDWORD, PWSTR *); +#define SetupDiGetActualSectionToInstall WINELIB_NAME_AW(SetupDiGetActualSectionToInstall) +BOOL WINAPI SetupDiGetActualSectionToInstallExA(HINF, PCSTR, PSTR, DWORD, PDWORD, PSTR *, PVOID); +BOOL WINAPI SetupDiGetActualSectionToInstallExW(HINF, PCWSTR, PWSTR, DWORD, PDWORD, PWSTR *, PVOID); +#define SetupDiGetActualSectionToInstallEx WINELIB_NAME_AW(SetupDiGetActualSectionToInstallEx) +BOOL WINAPI SetupDiGetClassBitmapIndex(const GUID *, PINT); +BOOL WINAPI SetupDiGetClassDescriptionA(const GUID*, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupDiGetClassDescriptionW(const GUID*, PWSTR, DWORD, PDWORD); +#define SetupDiGetClassDescription WINELIB_NAME_AW(SetupDiGetClassDescription) +BOOL WINAPI SetupDiGetClassDescriptionExA(const GUID*, PSTR, DWORD, PDWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiGetClassDescriptionExW(const GUID*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID); +#define SetupDiGetClassDescriptionEx WINELIB_NAME_AW(SetupDiGetClassDescriptionEx) +BOOL WINAPI SetupDiGetClassDevPropertySheetsA(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERA, DWORD, PDWORD, DWORD); +BOOL WINAPI SetupDiGetClassDevPropertySheetsW(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERW, DWORD, PDWORD, DWORD); +#define SetupDiGetClassDevPropertySheets WINELIB_NAME_AW(SetupDiGetClassDevPropertySheets) +HDEVINFO WINAPI SetupDiGetClassDevsA(const GUID *,LPCSTR,HWND,DWORD); +HDEVINFO WINAPI SetupDiGetClassDevsW(const GUID *,LPCWSTR,HWND,DWORD); +#define SetupDiGetClassDevs WINELIB_NAME_AW(SetupDiGetClassDevs) +HDEVINFO WINAPI SetupDiGetClassDevsExA(const GUID *, PCSTR, HWND, DWORD, HDEVINFO, PCSTR, PVOID); +HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *, PCWSTR, HWND, DWORD, HDEVINFO, PCWSTR, PVOID); +#define SetupDiGetClassDevsEx WINELIB_NAME_AW(SetupDiGetClassDevsEx) +BOOL WINAPI SetupDiGetClassImageIndex(PSP_CLASSIMAGELIST_DATA, const GUID *, PINT); +BOOL WINAPI SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA); +BOOL WINAPI SetupDiGetClassImageListExA(PSP_CLASSIMAGELIST_DATA, PCSTR, PVOID); +BOOL WINAPI SetupDiGetClassImageListExW(PSP_CLASSIMAGELIST_DATA, PCWSTR, PVOID); +#define SetupDiGetClassImageListEx WINELIB_NAME_AW(SetupDiGetClassImageListEx) +BOOL WINAPI SetupDiGetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD, PDWORD); +BOOL WINAPI SetupDiGetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD, PDWORD); +#define SetupDiGetClassInstallParams WINELIB_NAME_AW(SetupDiGetClassInstallParams) +BOOL WINAPI SetupDiGetClassRegistryPropertyA(const GUID *, DWORD, PDWORD, PBYTE, DWORD, PDWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiGetClassRegistryPropertyW(const GUID *, DWORD, PDWORD, PBYTE, DWORD, PDWORD, PCWSTR, PVOID); +#define SetupDiGetClassRegistryProperty WINELIB_NAME_AW(SetupDiGetClassRegistryProperty) +BOOL WINAPI SetupDiGetCustomDevicePropertyA(HDEVINFO, PSP_DEVINFO_DATA, PCSTR, DWORD, PDWORD, PBYTE, DWORD, PDWORD); +BOOL WINAPI SetupDiGetCustomDevicePropertyW(HDEVINFO, PSP_DEVINFO_DATA, PCWSTR, DWORD, PDWORD, PBYTE, DWORD, PDWORD); +#define SetupDiGetCustomDeviceProperty WINELIB_NAME_AW(SetupDiGetCustomDeviceProperty) +BOOL WINAPI SetupDiGetDeviceInfoListClass(HDEVINFO, LPGUID); +BOOL WINAPI SetupDiGetDeviceInfoListDetailA(HDEVINFO, PSP_DEVINFO_LIST_DETAIL_DATA_A); +BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO, PSP_DEVINFO_LIST_DETAIL_DATA_W); +#define SetupDiGetDeviceInfoListDetail WINELIB_NAME_AW(SetupDiGetDeviceInfoListDetail) +BOOL WINAPI SetupDiGetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A); +BOOL WINAPI SetupDiGetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W); +#define SetupDiGetDeviceInstallParams WINELIB_NAME_AW(SetupDiGetDeviceInstallParams) +BOOL WINAPI SetupDiGetDeviceInstanceIdA(HDEVINFO, PSP_DEVINFO_DATA, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupDiGetDeviceInstanceIdW(HDEVINFO, PSP_DEVINFO_DATA, PWSTR, DWORD, PDWORD); +#define SetupDiGetDeviceInstanceId WINELIB_NAME_AW(SetupDiGetDeviceInstanceId) +BOOL WINAPI SetupDiGetDeviceInterfaceAlias(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, const GUID *, PSP_DEVICE_INTERFACE_DATA); +BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_A, + DWORD, PDWORD, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_W, + DWORD, PDWORD, PSP_DEVINFO_DATA); +#define SetupDiGetDeviceInterfaceDetail WINELIB_NAME_AW(SetupDiGetDeviceInterfaceDetail) +BOOL WINAPI SetupDiGetDevicePropertyW(HDEVINFO, PSP_DEVINFO_DATA, const DEVPROPKEY *, DEVPROPTYPE *, BYTE *, DWORD, + DWORD *, DWORD); +#define SetupDiGetDeviceProperty WINELIB_NAME_AW(SetupDiGetDeviceProperty) /* note: A function doesn't exist */ +BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD); +BOOL WINAPI SetupDiGetDeviceRegistryPropertyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD); +#define SetupDiGetDeviceRegistryProperty WINELIB_NAME_AW(SetupDiGetDeviceRegistryProperty) +BOOL WINAPI SetupDiGetDriverInfoDetailA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINFO_DETAIL_DATA_A, DWORD, PDWORD); +BOOL WINAPI SetupDiGetDriverInfoDetailW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINFO_DETAIL_DATA_W, DWORD, PDWORD); +#define SetupDiGetDriverInfoDetail WINELIB_NAME_AW(SetupDiGetDriverInfoDetail) +BOOL WINAPI SetupDiGetDriverInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINSTALL_PARAMS); +BOOL WINAPI SetupDiGetDriverInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINSTALL_PARAMS); +#define SetupDiGetDriverInstallParams WINELIB_NAME_AW(SetupDiGetDriverInstallParams) +BOOL WINAPI SetupDiGetHwProfileFriendlyNameA(DWORD, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupDiGetHwProfileFriendlyNameW(DWORD, PWSTR, DWORD, PDWORD); +#define SetupDiGetHwProfileFriendlyName WINELIB_NAME_AW(SetupDiGetHwProfileFriendlyName) +BOOL WINAPI SetupDiGetHwProfileFriendlyNameExA(DWORD, PSTR, DWORD, PDWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiGetHwProfileFriendlyNameExW(DWORD, PWSTR, DWORD, PDWORD, PCWSTR, PVOID); +#define SetupDiGetHwProfileFriendlyNameEx WINELIB_NAME_AW(SetupDiGetHwProfileFriendlyNameEx) +BOOL WINAPI SetupDiGetHwProfileList(PDWORD, DWORD, PDWORD, PDWORD); +BOOL WINAPI SetupDiGetHwProfileListExA(PDWORD, DWORD, PDWORD, PDWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiGetHwProfileListExW(PDWORD, DWORD, PDWORD, PDWORD, PCWSTR, PVOID); +#define SetupDiGetHwProfileListEx WINELIB_NAME_AW(SetupDiGetHwProfileListEx) +BOOL WINAPI SetupDiGetINFClassA(PCSTR, LPGUID, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupDiGetINFClassW(PCWSTR, LPGUID, PWSTR, DWORD, PDWORD); +#define SetupDiGetINFClass WINELIB_NAME_AW(SetupDiGetINFClass) +BOOL WINAPI SetupDiGetSelectedDevice(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiGetSelectedDriverA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A); +BOOL WINAPI SetupDiGetSelectedDriverW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W); +#define SetupDiGetSelectedDriver WINELIB_NAME_AW(SetupDiGetSelectedDriver) +HPROPSHEETPAGE WINAPI SetupDiGetWizardPage(HDEVINFO, PSP_DEVINFO_DATA, PSP_INSTALLWIZARD_DATA, DWORD, DWORD); +BOOL WINAPI SetupDiInstallClassA(HWND, PCSTR, DWORD, HSPFILEQ); +BOOL WINAPI SetupDiInstallClassW(HWND, PCWSTR, DWORD, HSPFILEQ); +#define SetupDiInstallClass WINELIB_NAME_AW(SetupDiInstallClass) +BOOL WINAPI SetupDiInstallClassExA(HWND, PCSTR, DWORD, HSPFILEQ, const GUID *, PVOID, PVOID); +BOOL WINAPI SetupDiInstallClassExW(HWND, PCWSTR, DWORD, HSPFILEQ, const GUID *, PVOID, PVOID); +#define SetupDiInstallClassEx WINELIB_NAME_AW(SetupDiInstallClassEx) +BOOL WINAPI SetupDiInstallDevice(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiInstallDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiInstallDriverFiles(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiLoadClassIcon(const GUID *, HICON *, PINT); +HKEY WINAPI SetupDiOpenClassRegKey(const GUID*, REGSAM); +HKEY WINAPI SetupDiOpenClassRegKeyExA(const GUID*, REGSAM, DWORD, PCSTR, PVOID); +HKEY WINAPI SetupDiOpenClassRegKeyExW(const GUID*, REGSAM, DWORD, PCWSTR, PVOID); +#define SetupDiOpenClassRegKeyEx WINELIB_NAME_AW(SetupDiOpenClassRegKeyEx) +BOOL WINAPI SetupDiOpenDeviceInfoA(HDEVINFO, PCSTR, HWND, DWORD, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiOpenDeviceInfoW(HDEVINFO, PCWSTR, HWND, DWORD, PSP_DEVINFO_DATA); +#define SetupDiOpenDeviceInfo WINELIB_NAME_AW(SetupDiOpenDeviceInfo) +BOOL WINAPI SetupDiOpenDeviceInterfaceA(HDEVINFO, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); +BOOL WINAPI SetupDiOpenDeviceInterfaceW(HDEVINFO, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); +#define SetupDiOpenDeviceInterface WINELIB_NAME_AW(SetupDiOpenDeviceInterface) +BOOL WINAPI SetupDiOpenDeviceInterfaceRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, REGSAM); +HKEY WINAPI SetupDiOpenDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, REGSAM); +BOOL WINAPI SetupDiRegisterCoDeviceInstallers(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiRegisterDeviceInfo(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PSP_DETSIG_CMPPROC, PVOID, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiRemoveDevice(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO, PSP_DEVICE_INTERFACE_DATA); +BOOL WINAPI SetupDiRestartDevices(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiSelectBestCompatDrv(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiSelectDevice(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiSelectOEMDrv(HWND, HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiSetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD); +BOOL WINAPI SetupDiSetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD); +#define SetupDiSetClassInstallParams WINELIB_NAME_AW(SetupDiSetClassInstallParams) +BOOL WINAPI SetupDiSetClassRegistryPropertyA(const GUID *, DWORD, const BYTE *, DWORD, PCSTR, PVOID); +BOOL WINAPI SetupDiSetClassRegistryPropertyW(const GUID *, DWORD, const BYTE *, DWORD, PCWSTR, PVOID); +#define SetupDiSetClassRegistryProperty WINELIB_NAME_AW(SetupDiSetClassRegistryProperty) +BOOL WINAPI SetupDiSetDeviceInterfaceDefault(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, PVOID); +BOOL WINAPI SetupDiSetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A); +BOOL WINAPI SetupDiSetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W); +#define SetupDiSetDeviceInstallParams WINELIB_NAME_AW(SetupDiSetDeviceInstallParams) +BOOL WINAPI SetupDiSetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, const BYTE *, DWORD); +BOOL WINAPI SetupDiSetDeviceRegistryPropertyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, const BYTE *, DWORD); +#define SetupDiSetDeviceRegistryProperty WINELIB_NAME_AW(SetupDiSetDeviceRegistryProperty) +BOOL WINAPI SetupDiSetDriverInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINSTALL_PARAMS); +BOOL WINAPI SetupDiSetDriverInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINSTALL_PARAMS); +#define SetupDiSetDriverInstallParams WINELIB_NAME_AW(SetupDiSetDriverInstallParams) +BOOL WINAPI SetupDiSetSelectedDevice(HDEVINFO, PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiSetSelectedDriverA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A); +BOOL WINAPI SetupDiSetSelectedDriverW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W); +#define SetupDiSetSelectedDriver WINELIB_NAME_AW(SetupDiSetSelectedDriver) +BOOL WINAPI SetupDiUnremoveDevice(HDEVINFO, PSP_DEVINFO_DATA); +HDSKSPC WINAPI SetupDuplicateDiskSpaceListA(HDSKSPC, PVOID, DWORD, UINT); +HDSKSPC WINAPI SetupDuplicateDiskSpaceListW(HDSKSPC, PVOID, DWORD, UINT); +#define SetupDuplicateDiskSpaceList WINELIB_NAME_AW(SetupDuplicateDiskSpaceList) +BOOL WINAPI SetupEnumInfSectionsA(HINF, UINT, PSTR, DWORD, DWORD *); +BOOL WINAPI SetupEnumInfSectionsW(HINF, UINT, PWSTR, DWORD, DWORD *); +#define SetupEnumInfSections WINELIB_NAME_AW(SetupEnumInfSections) +BOOL WINAPI SetupFindFirstLineA( HINF hinf, PCSTR section, PCSTR key, INFCONTEXT *context ); +BOOL WINAPI SetupFindFirstLineW( HINF hinf, PCWSTR section, PCWSTR key, INFCONTEXT *context ); +#define SetupFindFirstLine WINELIB_NAME_AW(SetupFindFirstLine) +BOOL WINAPI SetupFindNextLine( PINFCONTEXT context_in, PINFCONTEXT context_out ); +BOOL WINAPI SetupFindNextMatchLineA( PINFCONTEXT context_in, PCSTR key, PINFCONTEXT context_out ); +BOOL WINAPI SetupFindNextMatchLineW( PINFCONTEXT context_in, PCWSTR key, PINFCONTEXT context_out ); +#define SetupFindNextMatchLine WINELIB_NAME_AW(SetupFindNextMatchLine) +BOOL WINAPI SetupFreeSourceListA(PCSTR **, UINT); +BOOL WINAPI SetupFreeSourceListW(PCWSTR **, UINT); +#define SetupFreeSourceList WINELIB_NAME_AW(SetupFreeSourceList) +BOOL WINAPI SetupGetBackupInformationA(HSPFILEQ, PSP_BACKUP_QUEUE_PARAMS_A BackupParams); +BOOL WINAPI SetupGetBackupInformationW(HSPFILEQ, PSP_BACKUP_QUEUE_PARAMS_W BackupParams); +#define SetupGetBackupInformation WINELIB_NAME_AW(SetupGetBackupInformation) +BOOL WINAPI SetupGetBinaryField( PINFCONTEXT context, DWORD index, BYTE *buffer, DWORD size, LPDWORD required ); +DWORD WINAPI SetupGetFieldCount( PINFCONTEXT context ); +DWORD WINAPI SetupGetFileCompressionInfoA(PCSTR, PSTR *, PDWORD, PDWORD, PUINT); +DWORD WINAPI SetupGetFileCompressionInfoW(PCWSTR, PWSTR *, PDWORD, PDWORD, PUINT); +#define SetupGetFileCompressionInfo WINELIB_NAME_AW(SetupGetFileCompressionInfo) +BOOL WINAPI SetupGetFileCompressionInfoExA(PCSTR, PSTR, DWORD, PDWORD, PDWORD, PDWORD, PUINT); +BOOL WINAPI SetupGetFileCompressionInfoExW(PCWSTR, PWSTR, DWORD, PDWORD, PDWORD, PDWORD, PUINT); +#define SetupGetFileCompressionInfoEx WINELIB_NAME_AW(SetupGetFileCompressionInfoEx) +BOOL WINAPI SetupGetFileQueueCount( HSPFILEQ, UINT, PUINT ); +BOOL WINAPI SetupGetFileQueueFlags( HSPFILEQ, PDWORD ); +BOOL WINAPI SetupGetInfFileListA(PCSTR, DWORD, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupGetInfFileListW(PCWSTR, DWORD, PWSTR, DWORD, PDWORD); +#define SetupGetInfFileList WINELIB_NAME_AW(SetupGetFileList) +BOOL WINAPI SetupGetInfInformationA( LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD); +BOOL WINAPI SetupGetInfInformationW( LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD); +#define SetupGetInfInformation WINELIB_NAME_AW(SetupGetInfInformation) +BOOL WINAPI SetupGetIntField( PINFCONTEXT context, DWORD index, PINT result ); +BOOL WINAPI SetupGetLineByIndexA( HINF, PCSTR, DWORD, INFCONTEXT * ); +BOOL WINAPI SetupGetLineByIndexW( HINF, PCWSTR, DWORD, INFCONTEXT * ); +#define SetupGetLineByIndex WINELIB_NAME_AW(SetupGetLineByIndex) +LONG WINAPI SetupGetLineCountA( HINF hinf, PCSTR section ); +LONG WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section ); +#define SetupGetLineCount WINELIB_NAME_AW(SetupGetLineCount) +BOOL WINAPI SetupGetLineTextA( PINFCONTEXT context, HINF hinf, PCSTR section_name,PCSTR key_name, PSTR buffer, DWORD size, PDWORD required ); +BOOL WINAPI SetupGetLineTextW( PINFCONTEXT context, HINF hinf, PCWSTR section_name, PCWSTR key_name, PWSTR buffer, DWORD size, PDWORD required ); +#define SetupGetLineText WINELIB_NAME_AW(SetupGetLineText) +BOOL WINAPI SetupGetMultiSzFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, LPDWORD required ); +BOOL WINAPI SetupGetMultiSzFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, LPDWORD required ); +#define SetupGetMultiSzField WINELIB_NAME_AW(SetupGetMultiSzField) +BOOL WINAPI SetupGetNonInteractiveMode(void); +BOOL WINAPI SetupGetSourceFileLocationA( HINF hinf, PINFCONTEXT context, PCSTR filename, PUINT source_id, PSTR buffer, DWORD buffer_size, PDWORD required_size ); +BOOL WINAPI SetupGetSourceFileLocationW( HINF hinf, PINFCONTEXT context, PCWSTR filename, PUINT source_id, PWSTR buffer, DWORD buffer_size, PDWORD required_size ); +#define SetupGetSourceFileLocation WINELIB_NAME_AW(SetupGetSourceFileLocation) +BOOL WINAPI SetupGetSourceFileSizeA(HINF, PINFCONTEXT, PCSTR, PCSTR, PDWORD, UINT); +BOOL WINAPI SetupGetSourceFileSizeW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PDWORD, UINT); +#define SetupGetSourceFileSize WINELIB_NAME_AW(SetupGetSourceFileSize) +BOOL WINAPI SetupGetSourceInfoA( HINF hinf, UINT source_id, UINT info, PSTR buffer, DWORD buffer_size, LPDWORD required_size ); +BOOL WINAPI SetupGetSourceInfoW( HINF hinf, UINT source_id, UINT info, PWSTR buffer, DWORD buffer_size, LPDWORD required_size ); +#define SetupGetSourceInfo WINELIB_NAME_AW(SetupGetSourceInfo) +BOOL WINAPI SetupGetStringFieldA( PINFCONTEXT context, DWORD index, PSTR buffer, DWORD size, PDWORD required ); +BOOL WINAPI SetupGetStringFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer, DWORD size, PDWORD required ); +#define SetupGetStringField WINELIB_NAME_AW(SetupGetStringField) +BOOL WINAPI SetupGetTargetPathA( HINF hinf, PINFCONTEXT context, PCSTR section, PSTR buffer, DWORD buffer_size, PDWORD required_size ); +BOOL WINAPI SetupGetTargetPathW( HINF hinf, PINFCONTEXT context, PCWSTR section, PWSTR buffer, DWORD buffer_size, PDWORD required_size ); +#define SetupGetTargetPath WINELIB_NAME_AW(SetupGetTargetPath) +PVOID WINAPI SetupInitDefaultQueueCallback( HWND ); +PVOID WINAPI SetupInitDefaultQueueCallbackEx( HWND, HWND, UINT, DWORD, PVOID ); +HSPFILELOG WINAPI SetupInitializeFileLogA(PCSTR, DWORD); +HSPFILELOG WINAPI SetupInitializeFileLogW(PCWSTR, DWORD); +#define SetupInitializeFileLog WINELIB_NAME_AW(SetupInitializeFileLog) +BOOL WINAPI SetupInstallFileA(HINF, PINFCONTEXT, PCSTR, PCSTR, PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID); +BOOL WINAPI SetupInstallFileW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID); +#define SetupInstallFile WINELIB_NAME_AW(SetupInstallFile) +BOOL WINAPI SetupInstallFileExA(HINF, PINFCONTEXT, PCSTR, PCSTR, PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID, PBOOL); +BOOL WINAPI SetupInstallFileExW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID, PBOOL); +#define SetupInstallFileEx WINELIB_NAME_AW(SetupInstallFileEx) +BOOL WINAPI SetupInstallFilesFromInfSectionA( HINF, HINF, HSPFILEQ, PCSTR, PCSTR, UINT ); +BOOL WINAPI SetupInstallFilesFromInfSectionW( HINF, HINF, HSPFILEQ, PCWSTR, PCWSTR, UINT ); +#define SetupInstallFilesFromInfSection WINELIB_NAME_AW(SetupInstallFilesFromInfSection) +BOOL WINAPI SetupInstallFromInfSectionA(HWND,HINF,PCSTR,UINT,HKEY,PCSTR,UINT, + PSP_FILE_CALLBACK_A,PVOID,HDEVINFO,PSP_DEVINFO_DATA); +BOOL WINAPI SetupInstallFromInfSectionW(HWND,HINF,PCWSTR,UINT,HKEY,PCWSTR,UINT, + PSP_FILE_CALLBACK_W,PVOID,HDEVINFO,PSP_DEVINFO_DATA); +#define SetupInstallFromInfSection WINELIB_NAME_AW(SetupInstallFromInfSection) +BOOL WINAPI SetupInstallServicesFromInfSectionA(HINF, PCSTR, DWORD); +BOOL WINAPI SetupInstallServicesFromInfSectionW(HINF, PCWSTR, DWORD); +#define SetupInstallServicesFromInfSection WINELIB_NAME_AW(SetupInstallServicesFromInfSection) +BOOL WINAPI SetupInstallServicesFromInfSectionExA(HINF, PCSTR, DWORD, HDEVINFO, PSP_DEVINFO_DATA, PVOID, PVOID); +BOOL WINAPI SetupInstallServicesFromInfSectionExW(HINF, PCWSTR, DWORD, HDEVINFO, PSP_DEVINFO_DATA, PVOID, PVOID); +#define SetupInstallServicesFromInfSectionEx WINELIB_NAME_AW(SetupInstallServicesFromInfSectionEx) +BOOL WINAPI SetupIterateCabinetA(PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID); +BOOL WINAPI SetupIterateCabinetW(PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID); +#define SetupIterateCabinet WINELIB_NAME_AW(SetupIterateCabinet) +BOOL WINAPI SetupLogErrorA(LPCSTR,LogSeverity); +BOOL WINAPI SetupLogErrorW(LPCWSTR,LogSeverity); +#define SetupLogError WINELIB_NAME_AW(SetupLogError) +BOOL WINAPI SetupLogFileA(HSPFILELOG, PCSTR, PCSTR, PCSTR, DWORD, PCSTR, PCSTR, PCSTR, DWORD); +BOOL WINAPI SetupLogFileW(HSPFILELOG, PCWSTR, PCWSTR, PCWSTR, DWORD, PCWSTR, PCWSTR, PCWSTR, DWORD); +#define SetupLogFile WINELIB_NAME_AW(SetupLogFile) +BOOL WINAPI SetupOpenAppendInfFileA( PCSTR, HINF, UINT * ); +BOOL WINAPI SetupOpenAppendInfFileW( PCWSTR, HINF, UINT * ); +#define SetupOpenAppendInfFile WINELIB_NAME_AW(SetupOpenAppendInfFile) +HSPFILEQ WINAPI SetupOpenFileQueue(void); +HINF WINAPI SetupOpenInfFileA( PCSTR name, PCSTR pszclass, DWORD style, UINT *error ); +HINF WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR pszclass, DWORD style, UINT *error ); +#define SetupOpenInfFile WINELIB_NAME_AW(SetupOpenInfFile) +BOOL WINAPI SetupOpenLog(BOOL); +HINF WINAPI SetupOpenMasterInf( VOID ); +BOOL WINAPI SetupPrepareQueueForRestoreA(HSPFILEQ, PCSTR, DWORD); +BOOL WINAPI SetupPrepareQueueForRestoreW(HSPFILEQ, PCWSTR, DWORD); +#define SetupPrepareQueueForRestore WINELIB_NAME_AW(SetupPrepareQueueForRestore) +UINT WINAPI SetupPromptForDiskA(HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, DWORD, PSTR, DWORD, PDWORD); +UINT WINAPI SetupPromptForDiskW(HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, DWORD, PWSTR, DWORD, PDWORD); +#define SetupPromptForDisk WINELIB_NAME_AW(SetupPromptForDisk) +INT WINAPI SetupPromptReboot( HSPFILEQ, HWND, BOOL); +BOOL WINAPI SetupQueryDrivesInDiskSpaceListA(HDSKSPC, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupQueryDrivesInDiskSpaceListW(HDSKSPC, PWSTR, DWORD, PDWORD); +#define SetupQueryDrivesInDiskSpaceList WINELIB_NAME_AW(SetupQueryDrivesInDiskSpaceList) +BOOL WINAPI SetupQueryFileLogA(HSPFILELOG, PCSTR, PCSTR, SetupFileLogInfo, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupQueryFileLogW(HSPFILELOG, PCWSTR, PCWSTR, SetupFileLogInfo, PWSTR, DWORD, PDWORD); +#define SetupQueryFileLog WINELIB_NAME_AW(SetupQueryFileLog) +BOOL WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD); +#define SetupQueryInfFileInformation WINELIB_NAME_AW(SetupQueryInFileInformation) +BOOL WINAPI SetupQueryInfOriginalFileInformationA(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_A); +BOOL WINAPI SetupQueryInfOriginalFileInformationW(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_W); +#define SetupQueryInfOriginalFileInformation WINELIB_NAME_AW(SetupQueryInfOriginalFileInformation) +BOOL WINAPI SetupQueryInfVersionInformationA(PSP_INF_INFORMATION, UINT, PCSTR, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupQueryInfVersionInformationW(PSP_INF_INFORMATION, UINT, PCWSTR, PWSTR, DWORD, PDWORD); +#define SetupQueryInfVersionInformation WINELIB_NAME_AW(SetupQueryInfVersionInformation) +BOOL WINAPI SetupQuerySourceListA(DWORD, PCSTR **, PUINT); +BOOL WINAPI SetupQuerySourceListW(DWORD, PCWSTR **, PUINT); +#define SetupQuerySourceList WINELIB_NAME_AW(SetupQuerySourceList) +BOOL WINAPI SetupQuerySpaceRequiredOnDriveA(HDSKSPC, PCSTR, LONGLONG *, PVOID, UINT); +BOOL WINAPI SetupQuerySpaceRequiredOnDriveW(HDSKSPC, PCWSTR, LONGLONG *, PVOID, UINT); +#define SetupQuerySpaceRequiredOnDrive WINELIB_NAME_AW(SetupQuerySpaceRequiredOnDrive) +BOOL WINAPI SetupQueueCopyA(HSPFILEQ,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,DWORD); +BOOL WINAPI SetupQueueCopyW(HSPFILEQ,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,DWORD); +#define SetupQueueCopy WINELIB_NAME_AW(SetupQueueCopy) +BOOL WINAPI SetupQueueCopyIndirectA( PSP_FILE_COPY_PARAMS_A ); +BOOL WINAPI SetupQueueCopyIndirectW( PSP_FILE_COPY_PARAMS_W ); +#define SetupQueueCopyIndirect WINELIB_NAME_AW(SetupQueueCopyIndirect) +BOOL WINAPI SetupQueueCopySectionA( HSPFILEQ, PCSTR, HINF, HINF, PCSTR, DWORD ); +BOOL WINAPI SetupQueueCopySectionW( HSPFILEQ, PCWSTR, HINF, HINF, PCWSTR, DWORD ); +#define SetupQueueCopySection WINELIB_NAME_AW(SetupQueueCopySection) +BOOL WINAPI SetupQueueDefaultCopyA( HSPFILEQ, HINF, PCSTR, PCSTR, PCSTR, DWORD ); +BOOL WINAPI SetupQueueDefaultCopyW( HSPFILEQ, HINF, PCWSTR, PCWSTR, PCWSTR, DWORD ); +#define SetupQueueDefaultCopy WINELIB_NAME_AW(SetupQueueDefaultCopy) +BOOL WINAPI SetupQueueDeleteA( HSPFILEQ, PCSTR, PCSTR ); +BOOL WINAPI SetupQueueDeleteW( HSPFILEQ, PCWSTR, PCWSTR ); +#define SetupQueueDelete WINELIB_NAME_AW(SetupQueueDelete) +BOOL WINAPI SetupQueueDeleteSectionA( HSPFILEQ, HINF, HINF, PCSTR ); +BOOL WINAPI SetupQueueDeleteSectionW( HSPFILEQ, HINF, HINF, PCWSTR ); +#define SetupQueueDeleteSection WINELIB_NAME_AW(SetupQueueDeleteSection) +BOOL WINAPI SetupQueueRenameA( HSPFILEQ, PCSTR, PCSTR, PCSTR, PCSTR ); +BOOL WINAPI SetupQueueRenameW( HSPFILEQ, PCWSTR, PCWSTR, PCWSTR, PCWSTR ); +#define SetupQueueRename WINELIB_NAME_AW(SetupQueueRename) +BOOL WINAPI SetupQueueRenameSectionA( HSPFILEQ, HINF, HINF, PCSTR ); +BOOL WINAPI SetupQueueRenameSectionW( HSPFILEQ, HINF, HINF, PCWSTR ); +#define SetupQueueRenameSection WINELIB_NAME_AW(SetupQueueRenameSection) +BOOL WINAPI SetupRemoveFileLogEntryA(HSPFILELOG, PCSTR, PCSTR); +BOOL WINAPI SetupRemoveFileLogEntryW(HSPFILELOG, PCWSTR, PCWSTR); +#define SetupRemoveFileLogEntry WINELIB_NAME_AW(SetupRemoveFileLogEntry) +BOOL WINAPI SetupRemoveFromDiskSpaceListA(HDSKSPC, PCSTR, UINT, PVOID, UINT); +BOOL WINAPI SetupRemoveFromDiskSpaceListW(HDSKSPC, PCWSTR, UINT, PVOID, UINT); +#define SetupRemoveFromDiskSpaceList WINELIB_NAME_AW(SetupRemoveFromDiskSpaceList) +BOOL WINAPI SetupRemoveInstallSectionFromDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, PVOID, UINT); +BOOL WINAPI SetupRemoveInstallSectionFromDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, PVOID, UINT); +#define SetupRemoveInstallSectionFromDiskSpaceList WINELIB_NAME_AW(SetupRemoveInstallSectionFromDiskSpaceList) +BOOL WINAPI SetupRemoveSectionFromDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT); +BOOL WINAPI SetupRemoveSectionFromDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT); +#define SetupRemoveSectionFromDiskSpaceList WINELIB_NAME_AW(SetupRemoveSectionFromDiskSpaceList) +BOOL WINAPI SetupRemoveFromSourceListA(DWORD, PCSTR); +BOOL WINAPI SetupRemoveFromSourceListW(DWORD, PCWSTR); +#define SetupRemoveFromSourceList WINELIB_NAME_AW(SetupRemoveFromSourceList) +UINT WINAPI SetupRenameErrorA( HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD ); +UINT WINAPI SetupRenameErrorW( HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD ); +#define SetupRenameError WINELIB_NAME_AW(SetupRenameError) +BOOL WINAPI SetupScanFileQueueA( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_A, PVOID, PDWORD ); +BOOL WINAPI SetupScanFileQueueW( HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_W, PVOID, PDWORD ); +#define SetupScanFileQueue WINELIB_NAME_AW(SetupScanFileQueue) +BOOL WINAPI SetupSetDirectoryIdA( HINF, DWORD, PCSTR ); +BOOL WINAPI SetupSetDirectoryIdW( HINF, DWORD, PCWSTR ); +#define SetupSetDirectoryId WINELIB_NAME_AW(SetupSetDirectoryId) +BOOL WINAPI SetupSetDirectoryIdExA( HINF, DWORD, PCSTR, DWORD, DWORD, PVOID ); +BOOL WINAPI SetupSetDirectoryIdExW( HINF, DWORD, PCWSTR, DWORD, DWORD, PVOID ); +#define SetupSetDirectoryIdEx WINELIB_NAME_AW(SetupSetDirectoryIdEx) +BOOL WINAPI SetupSetFileQueueAlternatePlatformA( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCSTR ); +BOOL WINAPI SetupSetFileQueueAlternatePlatformW( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCWSTR ); +#define SetupSetFileQueueAlternatePlatform WINELIB_NAME_AW(SetupSetFileQueueAlternatePlatform) +BOOL WINAPI SetupSetFileQueueFlags( HSPFILEQ, DWORD, DWORD ); +BOOL WINAPI SetupSetNonInteractiveMode(BOOL); +BOOL WINAPI SetupSetPlatformPathOverrideA(PCSTR); +BOOL WINAPI SetupSetPlatformPathOverrideW(PCWSTR); +#define SetupSetPlatformPathOverride WINELIB_NAME_AW(SetupSetPlatformPathOverride) +BOOL WINAPI SetupSetSourceListA(DWORD, PCSTR *, UINT); +BOOL WINAPI SetupSetSourceListW(DWORD, PCWSTR *, UINT); +#define SetupSetSourceList WINELIB_NAME_AW(SetupSetSourceList) +void WINAPI SetupTermDefaultQueueCallback( PVOID ); +BOOL WINAPI SetupTerminateFileLog(HSPFILELOG); +BOOL WINAPI SetupUninstallOEMInfA(PCSTR, DWORD, PVOID); +BOOL WINAPI SetupUninstallOEMInfW(PCWSTR, DWORD, PVOID); +#define SetupUninstallOEMInf WINELIB_NAME_AW(SetupUninstallOEMInf) +BOOL WINAPI SetupUninstallNewlyCopiedInfs(HSPFILEQ, DWORD, PVOID); +BOOL WINAPI SetupVerifyInfFileA(PCSTR, PSP_ALTPLATFORM_INFO, PSP_INF_SIGNER_INFO_A); +BOOL WINAPI SetupVerifyInfFileW(PCWSTR, PSP_ALTPLATFORM_INFO, PSP_INF_SIGNER_INFO_W); +#define SetupVerifyInfFile WINELIB_NAME_AW(SetupVerifyInfFile) +DWORD WINAPI StampFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR); +DWORD WINAPI TakeOwnershipOfFile(PCWSTR); +PSTR WINAPI UnicodeToMultiByte(PCWSTR lpUnicodeStr, UINT uCodePage); +BOOL WINAPI UnmapAndCloseFile(HANDLE, HANDLE, PVOID); + + +#ifdef __cplusplus +} +#endif + +#undef DECL_WINELIB_SETUPAPI_TYPE_AW + +#include + +#endif /* _INC_SETUPAPI */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sfc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sfc.h new file mode 100644 index 0000000..949e6b3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sfc.h @@ -0,0 +1,46 @@ +/* + * Definitions for the System File Checker (Windows File Protection) + * + * Copyright 2006 Detlef Riekenberg + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SFC_H +#define __WINE_SFC_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Types */ + +typedef struct _PROTECTED_FILE_DATA { + WCHAR FileName[MAX_PATH]; + DWORD FileNumber; +} PROTECTED_FILE_DATA, *PPROTECTED_FILE_DATA; + +/* Functions */ + +BOOL WINAPI SfcGetNextProtectedFile(HANDLE, PPROTECTED_FILE_DATA); +BOOL WINAPI SfcIsFileProtected(HANDLE, LPCWSTR); +BOOL WINAPI SfcIsKeyProtected(HKEY, LPCWSTR, REGSAM); +BOOL WINAPI SfpVerifyFile(LPCSTR, LPSTR, DWORD); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdeprecated.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdeprecated.h new file mode 100644 index 0000000..2e19f31 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdeprecated.h @@ -0,0 +1,2224 @@ +/*** Autogenerated by WIDL 2.18 from shdeprecated.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __shdeprecated_h__ +#define __shdeprecated_h__ + +/* Forward declarations */ + +#ifndef __ITravelEntry_FWD_DEFINED__ +#define __ITravelEntry_FWD_DEFINED__ +typedef interface ITravelEntry ITravelEntry; +#ifdef __cplusplus +interface ITravelEntry; +#endif /* __cplusplus */ +#endif + +#ifndef __ITravelLog_FWD_DEFINED__ +#define __ITravelLog_FWD_DEFINED__ +typedef interface ITravelLog ITravelLog; +#ifdef __cplusplus +interface ITravelLog; +#endif /* __cplusplus */ +#endif + +#ifndef __IExpDispSupport_FWD_DEFINED__ +#define __IExpDispSupport_FWD_DEFINED__ +typedef interface IExpDispSupport IExpDispSupport; +#ifdef __cplusplus +interface IExpDispSupport; +#endif /* __cplusplus */ +#endif + +#ifndef __IBrowserService_FWD_DEFINED__ +#define __IBrowserService_FWD_DEFINED__ +typedef interface IBrowserService IBrowserService; +#ifdef __cplusplus +interface IBrowserService; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellService_FWD_DEFINED__ +#define __IShellService_FWD_DEFINED__ +typedef interface IShellService IShellService; +#ifdef __cplusplus +interface IShellService; +#endif /* __cplusplus */ +#endif + +#ifndef __IBrowserService2_FWD_DEFINED__ +#define __IBrowserService2_FWD_DEFINED__ +typedef interface IBrowserService2 IBrowserService2; +#ifdef __cplusplus +interface IBrowserService2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define TLOG_BACK -1 +#define TLOG_FORE 1 +#define TLMENUF_INCLUDECURRENT 0x00000001 +#define TLMENUF_CHECKCURRENT (TLMENUF_INCLUDECURRENT | 0x00000002) +#define TLMENUF_BACK 0x00000010 +#define TLMENUF_FORE 0x00000020 +#define TLMENUF_BACKANDFORTH (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT) +/***************************************************************************** + * ITravelEntry interface + */ +#ifndef __ITravelEntry_INTERFACE_DEFINED__ +#define __ITravelEntry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITravelEntry, 0xf46edb3b, 0xbc2f, 0x11d0, 0x94,0x12, 0x00,0xaa,0x00,0xa3,0xeb,0xd3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f46edb3b-bc2f-11d0-9412-00aa00a3ebd3") +ITravelEntry : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Invoke( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Update( + IUnknown *punk, + BOOL fIsLocalAnchor) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPidl( + LPITEMIDLIST *ppidl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITravelEntry, 0xf46edb3b, 0xbc2f, 0x11d0, 0x94,0x12, 0x00,0xaa,0x00,0xa3,0xeb,0xd3) +#endif +#else +typedef struct ITravelEntryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITravelEntry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITravelEntry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITravelEntry *This); + + /*** ITravelEntry methods ***/ + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITravelEntry *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *Update)( + ITravelEntry *This, + IUnknown *punk, + BOOL fIsLocalAnchor); + + HRESULT (STDMETHODCALLTYPE *GetPidl)( + ITravelEntry *This, + LPITEMIDLIST *ppidl); + + END_INTERFACE +} ITravelEntryVtbl; + +interface ITravelEntry { + CONST_VTBL ITravelEntryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITravelEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITravelEntry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITravelEntry_Release(This) (This)->lpVtbl->Release(This) +/*** ITravelEntry methods ***/ +#define ITravelEntry_Invoke(This,punk) (This)->lpVtbl->Invoke(This,punk) +#define ITravelEntry_Update(This,punk,fIsLocalAnchor) (This)->lpVtbl->Update(This,punk,fIsLocalAnchor) +#define ITravelEntry_GetPidl(This,ppidl) (This)->lpVtbl->GetPidl(This,ppidl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITravelEntry_QueryInterface(ITravelEntry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITravelEntry_AddRef(ITravelEntry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITravelEntry_Release(ITravelEntry* This) { + return This->lpVtbl->Release(This); +} +/*** ITravelEntry methods ***/ +static FORCEINLINE HRESULT ITravelEntry_Invoke(ITravelEntry* This,IUnknown *punk) { + return This->lpVtbl->Invoke(This,punk); +} +static FORCEINLINE HRESULT ITravelEntry_Update(ITravelEntry* This,IUnknown *punk,BOOL fIsLocalAnchor) { + return This->lpVtbl->Update(This,punk,fIsLocalAnchor); +} +static FORCEINLINE HRESULT ITravelEntry_GetPidl(ITravelEntry* This,LPITEMIDLIST *ppidl) { + return This->lpVtbl->GetPidl(This,ppidl); +} +#endif +#endif + +#endif + + +#endif /* __ITravelEntry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITravelLog interface + */ +#ifndef __ITravelLog_INTERFACE_DEFINED__ +#define __ITravelLog_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITravelLog, 0x66a9cb08, 0x4802, 0x11d2, 0xa5,0x61, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("66a9cb08-4802-11d2-a561-00a0c92dbfe8") +ITravelLog : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddEntry( + IUnknown *punk, + BOOL fIsLocalAnchor) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateEntry( + IUnknown *punk, + BOOL fIsLocalAnchor) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateExternal( + IUnknown *punk, + IUnknown *punkHLBrowseContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE Travel( + IUnknown *punk, + int iOffset) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTravelEntry( + IUnknown *punk, + int iOffset, + ITravelEntry **ppte) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindTravelEntry( + IUnknown *punk, + LPCITEMIDLIST pidl, + ITravelEntry **ppte) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetToolTipText( + IUnknown *punk, + int iOffset, + int idsTemplate, + LPWSTR pwzText, + DWORD cchText) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertMenuEntries( + IUnknown *punk, + HMENU hmenu, + int nPos, + int idFirst, + int idLast, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + ITravelLog **pptl) = 0; + + virtual DWORD STDMETHODCALLTYPE CountEntries( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Revert( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITravelLog, 0x66a9cb08, 0x4802, 0x11d2, 0xa5,0x61, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8) +#endif +#else +typedef struct ITravelLogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITravelLog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITravelLog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITravelLog *This); + + /*** ITravelLog methods ***/ + HRESULT (STDMETHODCALLTYPE *AddEntry)( + ITravelLog *This, + IUnknown *punk, + BOOL fIsLocalAnchor); + + HRESULT (STDMETHODCALLTYPE *UpdateEntry)( + ITravelLog *This, + IUnknown *punk, + BOOL fIsLocalAnchor); + + HRESULT (STDMETHODCALLTYPE *UpdateExternal)( + ITravelLog *This, + IUnknown *punk, + IUnknown *punkHLBrowseContext); + + HRESULT (STDMETHODCALLTYPE *Travel)( + ITravelLog *This, + IUnknown *punk, + int iOffset); + + HRESULT (STDMETHODCALLTYPE *GetTravelEntry)( + ITravelLog *This, + IUnknown *punk, + int iOffset, + ITravelEntry **ppte); + + HRESULT (STDMETHODCALLTYPE *FindTravelEntry)( + ITravelLog *This, + IUnknown *punk, + LPCITEMIDLIST pidl, + ITravelEntry **ppte); + + HRESULT (STDMETHODCALLTYPE *GetToolTipText)( + ITravelLog *This, + IUnknown *punk, + int iOffset, + int idsTemplate, + LPWSTR pwzText, + DWORD cchText); + + HRESULT (STDMETHODCALLTYPE *InsertMenuEntries)( + ITravelLog *This, + IUnknown *punk, + HMENU hmenu, + int nPos, + int idFirst, + int idLast, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ITravelLog *This, + ITravelLog **pptl); + + DWORD (STDMETHODCALLTYPE *CountEntries)( + ITravelLog *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *Revert)( + ITravelLog *This); + + END_INTERFACE +} ITravelLogVtbl; + +interface ITravelLog { + CONST_VTBL ITravelLogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITravelLog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITravelLog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITravelLog_Release(This) (This)->lpVtbl->Release(This) +/*** ITravelLog methods ***/ +#define ITravelLog_AddEntry(This,punk,fIsLocalAnchor) (This)->lpVtbl->AddEntry(This,punk,fIsLocalAnchor) +#define ITravelLog_UpdateEntry(This,punk,fIsLocalAnchor) (This)->lpVtbl->UpdateEntry(This,punk,fIsLocalAnchor) +#define ITravelLog_UpdateExternal(This,punk,punkHLBrowseContext) (This)->lpVtbl->UpdateExternal(This,punk,punkHLBrowseContext) +#define ITravelLog_Travel(This,punk,iOffset) (This)->lpVtbl->Travel(This,punk,iOffset) +#define ITravelLog_GetTravelEntry(This,punk,iOffset,ppte) (This)->lpVtbl->GetTravelEntry(This,punk,iOffset,ppte) +#define ITravelLog_FindTravelEntry(This,punk,pidl,ppte) (This)->lpVtbl->FindTravelEntry(This,punk,pidl,ppte) +#define ITravelLog_GetToolTipText(This,punk,iOffset,idsTemplate,pwzText,cchText) (This)->lpVtbl->GetToolTipText(This,punk,iOffset,idsTemplate,pwzText,cchText) +#define ITravelLog_InsertMenuEntries(This,punk,hmenu,nPos,idFirst,idLast,dwFlags) (This)->lpVtbl->InsertMenuEntries(This,punk,hmenu,nPos,idFirst,idLast,dwFlags) +#define ITravelLog_Clone(This,pptl) (This)->lpVtbl->Clone(This,pptl) +#define ITravelLog_CountEntries(This,punk) (This)->lpVtbl->CountEntries(This,punk) +#define ITravelLog_Revert(This) (This)->lpVtbl->Revert(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITravelLog_QueryInterface(ITravelLog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITravelLog_AddRef(ITravelLog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITravelLog_Release(ITravelLog* This) { + return This->lpVtbl->Release(This); +} +/*** ITravelLog methods ***/ +static FORCEINLINE HRESULT ITravelLog_AddEntry(ITravelLog* This,IUnknown *punk,BOOL fIsLocalAnchor) { + return This->lpVtbl->AddEntry(This,punk,fIsLocalAnchor); +} +static FORCEINLINE HRESULT ITravelLog_UpdateEntry(ITravelLog* This,IUnknown *punk,BOOL fIsLocalAnchor) { + return This->lpVtbl->UpdateEntry(This,punk,fIsLocalAnchor); +} +static FORCEINLINE HRESULT ITravelLog_UpdateExternal(ITravelLog* This,IUnknown *punk,IUnknown *punkHLBrowseContext) { + return This->lpVtbl->UpdateExternal(This,punk,punkHLBrowseContext); +} +static FORCEINLINE HRESULT ITravelLog_Travel(ITravelLog* This,IUnknown *punk,int iOffset) { + return This->lpVtbl->Travel(This,punk,iOffset); +} +static FORCEINLINE HRESULT ITravelLog_GetTravelEntry(ITravelLog* This,IUnknown *punk,int iOffset,ITravelEntry **ppte) { + return This->lpVtbl->GetTravelEntry(This,punk,iOffset,ppte); +} +static FORCEINLINE HRESULT ITravelLog_FindTravelEntry(ITravelLog* This,IUnknown *punk,LPCITEMIDLIST pidl,ITravelEntry **ppte) { + return This->lpVtbl->FindTravelEntry(This,punk,pidl,ppte); +} +static FORCEINLINE HRESULT ITravelLog_GetToolTipText(ITravelLog* This,IUnknown *punk,int iOffset,int idsTemplate,LPWSTR pwzText,DWORD cchText) { + return This->lpVtbl->GetToolTipText(This,punk,iOffset,idsTemplate,pwzText,cchText); +} +static FORCEINLINE HRESULT ITravelLog_InsertMenuEntries(ITravelLog* This,IUnknown *punk,HMENU hmenu,int nPos,int idFirst,int idLast,DWORD dwFlags) { + return This->lpVtbl->InsertMenuEntries(This,punk,hmenu,nPos,idFirst,idLast,dwFlags); +} +static FORCEINLINE HRESULT ITravelLog_Clone(ITravelLog* This,ITravelLog **pptl) { + return This->lpVtbl->Clone(This,pptl); +} +static FORCEINLINE DWORD ITravelLog_CountEntries(ITravelLog* This,IUnknown *punk) { + return This->lpVtbl->CountEntries(This,punk); +} +static FORCEINLINE HRESULT ITravelLog_Revert(ITravelLog* This) { + return This->lpVtbl->Revert(This); +} +#endif +#endif + +#endif + + +#endif /* __ITravelLog_INTERFACE_DEFINED__ */ + +typedef void *CIE4ConnectionPoint; +/***************************************************************************** + * IExpDispSupport interface + */ +#ifndef __IExpDispSupport_INTERFACE_DEFINED__ +#define __IExpDispSupport_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IExpDispSupport, 0x0d7d1d00, 0x6fc0, 0x11d0, 0xa9,0x74, 0x00,0xc0,0x4f,0xd7,0x05,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0d7d1d00-6fc0-11d0-a974-00c04fd705a2") +IExpDispSupport : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FindCIE4ConnectionPoint( + REFIID riid, + CIE4ConnectionPoint **ppccp) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnTranslateAccelerator( + MSG *pMsg, + DWORD grfModifiers) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInvoke( + DISPID dispidMember, + REFIID iid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pdispparams, + VARIANT *pVarResult, + EXCEPINFO *pexcepinfo, + UINT *puArgErr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExpDispSupport, 0x0d7d1d00, 0x6fc0, 0x11d0, 0xa9,0x74, 0x00,0xc0,0x4f,0xd7,0x05,0xa2) +#endif +#else +typedef struct IExpDispSupportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExpDispSupport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExpDispSupport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExpDispSupport *This); + + /*** IExpDispSupport methods ***/ + HRESULT (STDMETHODCALLTYPE *FindCIE4ConnectionPoint)( + IExpDispSupport *This, + REFIID riid, + CIE4ConnectionPoint **ppccp); + + HRESULT (STDMETHODCALLTYPE *OnTranslateAccelerator)( + IExpDispSupport *This, + MSG *pMsg, + DWORD grfModifiers); + + HRESULT (STDMETHODCALLTYPE *OnInvoke)( + IExpDispSupport *This, + DISPID dispidMember, + REFIID iid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pdispparams, + VARIANT *pVarResult, + EXCEPINFO *pexcepinfo, + UINT *puArgErr); + + END_INTERFACE +} IExpDispSupportVtbl; + +interface IExpDispSupport { + CONST_VTBL IExpDispSupportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExpDispSupport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExpDispSupport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExpDispSupport_Release(This) (This)->lpVtbl->Release(This) +/*** IExpDispSupport methods ***/ +#define IExpDispSupport_FindCIE4ConnectionPoint(This,riid,ppccp) (This)->lpVtbl->FindCIE4ConnectionPoint(This,riid,ppccp) +#define IExpDispSupport_OnTranslateAccelerator(This,pMsg,grfModifiers) (This)->lpVtbl->OnTranslateAccelerator(This,pMsg,grfModifiers) +#define IExpDispSupport_OnInvoke(This,dispidMember,iid,lcid,wFlags,pdispparams,pVarResult,pexcepinfo,puArgErr) (This)->lpVtbl->OnInvoke(This,dispidMember,iid,lcid,wFlags,pdispparams,pVarResult,pexcepinfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExpDispSupport_QueryInterface(IExpDispSupport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExpDispSupport_AddRef(IExpDispSupport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExpDispSupport_Release(IExpDispSupport* This) { + return This->lpVtbl->Release(This); +} +/*** IExpDispSupport methods ***/ +static FORCEINLINE HRESULT IExpDispSupport_FindCIE4ConnectionPoint(IExpDispSupport* This,REFIID riid,CIE4ConnectionPoint **ppccp) { + return This->lpVtbl->FindCIE4ConnectionPoint(This,riid,ppccp); +} +static FORCEINLINE HRESULT IExpDispSupport_OnTranslateAccelerator(IExpDispSupport* This,MSG *pMsg,DWORD grfModifiers) { + return This->lpVtbl->OnTranslateAccelerator(This,pMsg,grfModifiers); +} +static FORCEINLINE HRESULT IExpDispSupport_OnInvoke(IExpDispSupport* This,DISPID dispidMember,REFIID iid,LCID lcid,WORD wFlags,DISPPARAMS *pdispparams,VARIANT *pVarResult,EXCEPINFO *pexcepinfo,UINT *puArgErr) { + return This->lpVtbl->OnInvoke(This,dispidMember,iid,lcid,wFlags,pdispparams,pVarResult,pexcepinfo,puArgErr); +} +#endif +#endif + +#endif + + +#endif /* __IExpDispSupport_INTERFACE_DEFINED__ */ + +typedef enum tagBNSTATE { + BNS_NORMAL = 0, + BNS_BEGIN_NAVIGATE = 1, + BNS_NAVIGATE = 2 +} BNSTATE; +enum { + SBSC_HIDE = 0, + SBSC_SHOW = 1, + SBSC_TOGGLE = 2, + SBSC_QUERY = 3 +}; +#define BSF_REGISTERASDROPTARGET 0x00000001 +#define BSF_THEATERMODE 0x00000002 +#define BSF_NOLOCALFILEWARNING 0x00000010 +#define BSF_UISETBYAUTOMATION 0x00000100 +#define BSF_RESIZABLE 0x00000200 +#define BSF_CANMAXIMIZE 0x00000400 +#define BSF_TOPBROWSER 0x00000800 +#define BSF_NAVNOHISTORY 0x00001000 +#define BSF_HTMLNAVCANCELED 0x00002000 +#define BSF_DONTSHOWNAVCANCELPAGE 0x00004000 +#define BSF_SETNAVIGATABLECODEPAGE 0x00008000 +#define BSF_DELEGATEDNAVIGATION 0x00010000 +#define BSF_TRUSTEDFORACTIVEX 0x00020000 +#define HLNF_CALLERUNTRUSTED 0x00200000 +#define HLNF_TRUSTEDFORACTIVEX 0x00400000 +#define HLNF_DISABLEWINDOWRESTRICTIONS 0x00800000 +#define HLNF_TRUSTFIRSTDOWNLOAD 0x01000000 +#define HLNF_UNTRUSTEDFORDOWNLOAD 0x02000000 +#define SHHLNF_NOAUTOSELECT 0x04000000 +#define SHHLNF_WRITENOHISTORY 0x08000000 +#define HLNF_EXTERNALNAVIGATE 0x10000000 +#define HLNF_ALLOW_AUTONAVIGATE 0x20000000 +#define HLNF_NEWWINDOWSMANAGED 0x80000000 +/***************************************************************************** + * IBrowserService interface + */ +#ifndef __IBrowserService_INTERFACE_DEFINED__ +#define __IBrowserService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBrowserService, 0x02ba3b52, 0x0547, 0x11d1, 0xb8,0x33, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("02ba3b52-0547-11d1-b833-00c04fc9b31f") +IBrowserService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetParentSite( + IOleInPlaceSite **ppipsite) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTitle( + IShellView *psv, + LPCWSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTitle( + IShellView *psv, + LPWSTR pszName, + DWORD cchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOleObject( + IOleObject **ppobjv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTravelLog( + ITravelLog **pptl) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowControlWindow( + UINT id, + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsControlWindowShown( + UINT id, + BOOL *pfShown) = 0; + + virtual HRESULT STDMETHODCALLTYPE IEGetDisplayName( + PCIDLIST_ABSOLUTE pidl, + LPWSTR pwszName, + UINT uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE IEParseDisplayName( + UINT uiCP, + LPCWSTR pwszPath, + PIDLIST_ABSOLUTE *ppidlOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayParseError( + HRESULT hres, + LPCWSTR pwszPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE NavigateToPidl( + PCIDLIST_ABSOLUTE pidl, + DWORD grfHLNF) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNavigateState( + BNSTATE bnstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNavigateState( + BNSTATE *pbnstate) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyRedirect( + IShellView *psv, + PCIDLIST_ABSOLUTE pidl, + BOOL *pfDidBrowse) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateWindowList( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateBackForwardState( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFlags( + DWORD dwFlags, + DWORD dwFlagMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlags( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanNavigateNow( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPidl( + PIDLIST_ABSOLUTE *ppidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetReferrer( + PCIDLIST_ABSOLUTE pidl) = 0; + + virtual DWORD STDMETHODCALLTYPE GetBrowserIndex( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBrowserByIndex( + DWORD dwID, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHistoryObject( + IOleObject **ppole, + IStream **pstm, + IBindCtx **ppbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHistoryObject( + IOleObject *pole, + BOOL fIsLocalAnchor) = 0; + + virtual HRESULT STDMETHODCALLTYPE CacheOLEServer( + IOleObject *pole) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSetCodePage( + VARIANT *pvarIn, + VARIANT *pvarOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnHttpEquiv( + IShellView *psv, + BOOL fDone, + VARIANT *pvarargIn, + VARIANT *pvarargOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPalette( + HPALETTE *hpal) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterWindow( + BOOL fForceRegister, + int swc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBrowserService, 0x02ba3b52, 0x0547, 0x11d1, 0xb8,0x33, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f) +#endif +#else +typedef struct IBrowserServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBrowserService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBrowserService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBrowserService *This); + + /*** IBrowserService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetParentSite)( + IBrowserService *This, + IOleInPlaceSite **ppipsite); + + HRESULT (STDMETHODCALLTYPE *SetTitle)( + IBrowserService *This, + IShellView *psv, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetTitle)( + IBrowserService *This, + IShellView *psv, + LPWSTR pszName, + DWORD cchName); + + HRESULT (STDMETHODCALLTYPE *GetOleObject)( + IBrowserService *This, + IOleObject **ppobjv); + + HRESULT (STDMETHODCALLTYPE *GetTravelLog)( + IBrowserService *This, + ITravelLog **pptl); + + HRESULT (STDMETHODCALLTYPE *ShowControlWindow)( + IBrowserService *This, + UINT id, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *IsControlWindowShown)( + IBrowserService *This, + UINT id, + BOOL *pfShown); + + HRESULT (STDMETHODCALLTYPE *IEGetDisplayName)( + IBrowserService *This, + PCIDLIST_ABSOLUTE pidl, + LPWSTR pwszName, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *IEParseDisplayName)( + IBrowserService *This, + UINT uiCP, + LPCWSTR pwszPath, + PIDLIST_ABSOLUTE *ppidlOut); + + HRESULT (STDMETHODCALLTYPE *DisplayParseError)( + IBrowserService *This, + HRESULT hres, + LPCWSTR pwszPath); + + HRESULT (STDMETHODCALLTYPE *NavigateToPidl)( + IBrowserService *This, + PCIDLIST_ABSOLUTE pidl, + DWORD grfHLNF); + + HRESULT (STDMETHODCALLTYPE *SetNavigateState)( + IBrowserService *This, + BNSTATE bnstate); + + HRESULT (STDMETHODCALLTYPE *GetNavigateState)( + IBrowserService *This, + BNSTATE *pbnstate); + + HRESULT (STDMETHODCALLTYPE *NotifyRedirect)( + IBrowserService *This, + IShellView *psv, + PCIDLIST_ABSOLUTE pidl, + BOOL *pfDidBrowse); + + HRESULT (STDMETHODCALLTYPE *UpdateWindowList)( + IBrowserService *This); + + HRESULT (STDMETHODCALLTYPE *UpdateBackForwardState)( + IBrowserService *This); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + IBrowserService *This, + DWORD dwFlags, + DWORD dwFlagMask); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + IBrowserService *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *CanNavigateNow)( + IBrowserService *This); + + HRESULT (STDMETHODCALLTYPE *GetPidl)( + IBrowserService *This, + PIDLIST_ABSOLUTE *ppidl); + + HRESULT (STDMETHODCALLTYPE *SetReferrer)( + IBrowserService *This, + PCIDLIST_ABSOLUTE pidl); + + DWORD (STDMETHODCALLTYPE *GetBrowserIndex)( + IBrowserService *This); + + HRESULT (STDMETHODCALLTYPE *GetBrowserByIndex)( + IBrowserService *This, + DWORD dwID, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *GetHistoryObject)( + IBrowserService *This, + IOleObject **ppole, + IStream **pstm, + IBindCtx **ppbc); + + HRESULT (STDMETHODCALLTYPE *SetHistoryObject)( + IBrowserService *This, + IOleObject *pole, + BOOL fIsLocalAnchor); + + HRESULT (STDMETHODCALLTYPE *CacheOLEServer)( + IBrowserService *This, + IOleObject *pole); + + HRESULT (STDMETHODCALLTYPE *GetSetCodePage)( + IBrowserService *This, + VARIANT *pvarIn, + VARIANT *pvarOut); + + HRESULT (STDMETHODCALLTYPE *OnHttpEquiv)( + IBrowserService *This, + IShellView *psv, + BOOL fDone, + VARIANT *pvarargIn, + VARIANT *pvarargOut); + + HRESULT (STDMETHODCALLTYPE *GetPalette)( + IBrowserService *This, + HPALETTE *hpal); + + HRESULT (STDMETHODCALLTYPE *RegisterWindow)( + IBrowserService *This, + BOOL fForceRegister, + int swc); + + END_INTERFACE +} IBrowserServiceVtbl; + +interface IBrowserService { + CONST_VTBL IBrowserServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBrowserService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBrowserService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBrowserService_Release(This) (This)->lpVtbl->Release(This) +/*** IBrowserService methods ***/ +#define IBrowserService_GetParentSite(This,ppipsite) (This)->lpVtbl->GetParentSite(This,ppipsite) +#define IBrowserService_SetTitle(This,psv,pszName) (This)->lpVtbl->SetTitle(This,psv,pszName) +#define IBrowserService_GetTitle(This,psv,pszName,cchName) (This)->lpVtbl->GetTitle(This,psv,pszName,cchName) +#define IBrowserService_GetOleObject(This,ppobjv) (This)->lpVtbl->GetOleObject(This,ppobjv) +#define IBrowserService_GetTravelLog(This,pptl) (This)->lpVtbl->GetTravelLog(This,pptl) +#define IBrowserService_ShowControlWindow(This,id,fShow) (This)->lpVtbl->ShowControlWindow(This,id,fShow) +#define IBrowserService_IsControlWindowShown(This,id,pfShown) (This)->lpVtbl->IsControlWindowShown(This,id,pfShown) +#define IBrowserService_IEGetDisplayName(This,pidl,pwszName,uFlags) (This)->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags) +#define IBrowserService_IEParseDisplayName(This,uiCP,pwszPath,ppidlOut) (This)->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut) +#define IBrowserService_DisplayParseError(This,hres,pwszPath) (This)->lpVtbl->DisplayParseError(This,hres,pwszPath) +#define IBrowserService_NavigateToPidl(This,pidl,grfHLNF) (This)->lpVtbl->NavigateToPidl(This,pidl,grfHLNF) +#define IBrowserService_SetNavigateState(This,bnstate) (This)->lpVtbl->SetNavigateState(This,bnstate) +#define IBrowserService_GetNavigateState(This,pbnstate) (This)->lpVtbl->GetNavigateState(This,pbnstate) +#define IBrowserService_NotifyRedirect(This,psv,pidl,pfDidBrowse) (This)->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse) +#define IBrowserService_UpdateWindowList(This) (This)->lpVtbl->UpdateWindowList(This) +#define IBrowserService_UpdateBackForwardState(This) (This)->lpVtbl->UpdateBackForwardState(This) +#define IBrowserService_SetFlags(This,dwFlags,dwFlagMask) (This)->lpVtbl->SetFlags(This,dwFlags,dwFlagMask) +#define IBrowserService_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define IBrowserService_CanNavigateNow(This) (This)->lpVtbl->CanNavigateNow(This) +#define IBrowserService_GetPidl(This,ppidl) (This)->lpVtbl->GetPidl(This,ppidl) +#define IBrowserService_SetReferrer(This,pidl) (This)->lpVtbl->SetReferrer(This,pidl) +#define IBrowserService_GetBrowserIndex(This) (This)->lpVtbl->GetBrowserIndex(This) +#define IBrowserService_GetBrowserByIndex(This,dwID,ppunk) (This)->lpVtbl->GetBrowserByIndex(This,dwID,ppunk) +#define IBrowserService_GetHistoryObject(This,ppole,pstm,ppbc) (This)->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc) +#define IBrowserService_SetHistoryObject(This,pole,fIsLocalAnchor) (This)->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor) +#define IBrowserService_CacheOLEServer(This,pole) (This)->lpVtbl->CacheOLEServer(This,pole) +#define IBrowserService_GetSetCodePage(This,pvarIn,pvarOut) (This)->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut) +#define IBrowserService_OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut) (This)->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut) +#define IBrowserService_GetPalette(This,hpal) (This)->lpVtbl->GetPalette(This,hpal) +#define IBrowserService_RegisterWindow(This,fForceRegister,swc) (This)->lpVtbl->RegisterWindow(This,fForceRegister,swc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBrowserService_QueryInterface(IBrowserService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBrowserService_AddRef(IBrowserService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBrowserService_Release(IBrowserService* This) { + return This->lpVtbl->Release(This); +} +/*** IBrowserService methods ***/ +static FORCEINLINE HRESULT IBrowserService_GetParentSite(IBrowserService* This,IOleInPlaceSite **ppipsite) { + return This->lpVtbl->GetParentSite(This,ppipsite); +} +static FORCEINLINE HRESULT IBrowserService_SetTitle(IBrowserService* This,IShellView *psv,LPCWSTR pszName) { + return This->lpVtbl->SetTitle(This,psv,pszName); +} +static FORCEINLINE HRESULT IBrowserService_GetTitle(IBrowserService* This,IShellView *psv,LPWSTR pszName,DWORD cchName) { + return This->lpVtbl->GetTitle(This,psv,pszName,cchName); +} +static FORCEINLINE HRESULT IBrowserService_GetOleObject(IBrowserService* This,IOleObject **ppobjv) { + return This->lpVtbl->GetOleObject(This,ppobjv); +} +static FORCEINLINE HRESULT IBrowserService_GetTravelLog(IBrowserService* This,ITravelLog **pptl) { + return This->lpVtbl->GetTravelLog(This,pptl); +} +static FORCEINLINE HRESULT IBrowserService_ShowControlWindow(IBrowserService* This,UINT id,BOOL fShow) { + return This->lpVtbl->ShowControlWindow(This,id,fShow); +} +static FORCEINLINE HRESULT IBrowserService_IsControlWindowShown(IBrowserService* This,UINT id,BOOL *pfShown) { + return This->lpVtbl->IsControlWindowShown(This,id,pfShown); +} +static FORCEINLINE HRESULT IBrowserService_IEGetDisplayName(IBrowserService* This,PCIDLIST_ABSOLUTE pidl,LPWSTR pwszName,UINT uFlags) { + return This->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags); +} +static FORCEINLINE HRESULT IBrowserService_IEParseDisplayName(IBrowserService* This,UINT uiCP,LPCWSTR pwszPath,PIDLIST_ABSOLUTE *ppidlOut) { + return This->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut); +} +static FORCEINLINE HRESULT IBrowserService_DisplayParseError(IBrowserService* This,HRESULT hres,LPCWSTR pwszPath) { + return This->lpVtbl->DisplayParseError(This,hres,pwszPath); +} +static FORCEINLINE HRESULT IBrowserService_NavigateToPidl(IBrowserService* This,PCIDLIST_ABSOLUTE pidl,DWORD grfHLNF) { + return This->lpVtbl->NavigateToPidl(This,pidl,grfHLNF); +} +static FORCEINLINE HRESULT IBrowserService_SetNavigateState(IBrowserService* This,BNSTATE bnstate) { + return This->lpVtbl->SetNavigateState(This,bnstate); +} +static FORCEINLINE HRESULT IBrowserService_GetNavigateState(IBrowserService* This,BNSTATE *pbnstate) { + return This->lpVtbl->GetNavigateState(This,pbnstate); +} +static FORCEINLINE HRESULT IBrowserService_NotifyRedirect(IBrowserService* This,IShellView *psv,PCIDLIST_ABSOLUTE pidl,BOOL *pfDidBrowse) { + return This->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse); +} +static FORCEINLINE HRESULT IBrowserService_UpdateWindowList(IBrowserService* This) { + return This->lpVtbl->UpdateWindowList(This); +} +static FORCEINLINE HRESULT IBrowserService_UpdateBackForwardState(IBrowserService* This) { + return This->lpVtbl->UpdateBackForwardState(This); +} +static FORCEINLINE HRESULT IBrowserService_SetFlags(IBrowserService* This,DWORD dwFlags,DWORD dwFlagMask) { + return This->lpVtbl->SetFlags(This,dwFlags,dwFlagMask); +} +static FORCEINLINE HRESULT IBrowserService_GetFlags(IBrowserService* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT IBrowserService_CanNavigateNow(IBrowserService* This) { + return This->lpVtbl->CanNavigateNow(This); +} +static FORCEINLINE HRESULT IBrowserService_GetPidl(IBrowserService* This,PIDLIST_ABSOLUTE *ppidl) { + return This->lpVtbl->GetPidl(This,ppidl); +} +static FORCEINLINE HRESULT IBrowserService_SetReferrer(IBrowserService* This,PCIDLIST_ABSOLUTE pidl) { + return This->lpVtbl->SetReferrer(This,pidl); +} +static FORCEINLINE DWORD IBrowserService_GetBrowserIndex(IBrowserService* This) { + return This->lpVtbl->GetBrowserIndex(This); +} +static FORCEINLINE HRESULT IBrowserService_GetBrowserByIndex(IBrowserService* This,DWORD dwID,IUnknown **ppunk) { + return This->lpVtbl->GetBrowserByIndex(This,dwID,ppunk); +} +static FORCEINLINE HRESULT IBrowserService_GetHistoryObject(IBrowserService* This,IOleObject **ppole,IStream **pstm,IBindCtx **ppbc) { + return This->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc); +} +static FORCEINLINE HRESULT IBrowserService_SetHistoryObject(IBrowserService* This,IOleObject *pole,BOOL fIsLocalAnchor) { + return This->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor); +} +static FORCEINLINE HRESULT IBrowserService_CacheOLEServer(IBrowserService* This,IOleObject *pole) { + return This->lpVtbl->CacheOLEServer(This,pole); +} +static FORCEINLINE HRESULT IBrowserService_GetSetCodePage(IBrowserService* This,VARIANT *pvarIn,VARIANT *pvarOut) { + return This->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut); +} +static FORCEINLINE HRESULT IBrowserService_OnHttpEquiv(IBrowserService* This,IShellView *psv,BOOL fDone,VARIANT *pvarargIn,VARIANT *pvarargOut) { + return This->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut); +} +static FORCEINLINE HRESULT IBrowserService_GetPalette(IBrowserService* This,HPALETTE *hpal) { + return This->lpVtbl->GetPalette(This,hpal); +} +static FORCEINLINE HRESULT IBrowserService_RegisterWindow(IBrowserService* This,BOOL fForceRegister,int swc) { + return This->lpVtbl->RegisterWindow(This,fForceRegister,swc); +} +#endif +#endif + +#endif + + +#endif /* __IBrowserService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellService interface + */ +#ifndef __IShellService_INTERFACE_DEFINED__ +#define __IShellService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellService, 0x5836fb00, 0x8187, 0x11cf, 0xa1,0x2b, 0x00,0xaa,0x00,0x4a,0xe8,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5836fb00-8187-11cf-a12b-00aa004ae837") +IShellService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetOwner( + IUnknown *pUnk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellService, 0x5836fb00, 0x8187, 0x11cf, 0xa1,0x2b, 0x00,0xaa,0x00,0x4a,0xe8,0x37) +#endif +#else +typedef struct IShellServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellService *This); + + /*** IShellService methods ***/ + HRESULT (STDMETHODCALLTYPE *SetOwner)( + IShellService *This, + IUnknown *pUnk); + + END_INTERFACE +} IShellServiceVtbl; + +interface IShellService { + CONST_VTBL IShellServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellService_Release(This) (This)->lpVtbl->Release(This) +/*** IShellService methods ***/ +#define IShellService_SetOwner(This,pUnk) (This)->lpVtbl->SetOwner(This,pUnk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellService_QueryInterface(IShellService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellService_AddRef(IShellService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellService_Release(IShellService* This) { + return This->lpVtbl->Release(This); +} +/*** IShellService methods ***/ +static FORCEINLINE HRESULT IShellService_SetOwner(IShellService* This,IUnknown *pUnk) { + return This->lpVtbl->SetOwner(This,pUnk); +} +#endif +#endif + +#endif + + +#endif /* __IShellService_INTERFACE_DEFINED__ */ + +#if 0 +typedef HANDLE HMONITOR; +#endif +enum { + SECURELOCK_NOCHANGE = -1, + SECURELOCK_SET_UNSECURE = 0, + SECURELOCK_SET_MIXED = 1, + SECURELOCK_SET_SECUREUNKNOWNBIT = 2, + SECURELOCK_SET_SECURE40BIT = 3, + SECURELOCK_SET_SECURE56BIT = 4, + SECURELOCK_SET_FORTEZZA = 5, + SECURELOCK_SET_SECURE128BIT = 6, + SECURELOCK_FIRSTSUGGEST = 7, + SECURELOCK_SUGGEST_UNSECURE = SECURELOCK_FIRSTSUGGEST, + SECURELOCK_SUGGEST_MIXED = 8, + SECURELOCK_SUGGEST_SECUREUNKNOWNBIT = 9, + SECURELOCK_SUGGEST_SECURE40BIT = 10, + SECURELOCK_SUGGEST_SECURE56BIT = 11, + SECURELOCK_SUGGEST_FORTEZZA = 12, + SECURELOCK_SUGGEST_SECURE128BIT = 13 +}; +typedef struct __WIDL_shdeprecated_generated_name_00000022 { + HWND _hwnd; + ITravelLog *_ptl; + IHlinkFrame *_phlf; + IWebBrowser2 *_pautoWB2; + IExpDispSupport *_pautoEDS; + IShellService *_pautoSS; + int _eSecureLockIcon; + DWORD _fCreatingViewWindow; + UINT _uActivateState; + LPCITEMIDLIST _pidlNewShellView; + IOleCommandTarget *_pctView; + LPITEMIDLIST _pidlCur; + IShellView *_psv; + IShellFolder *_psf; + HWND _hwndView; + LPWSTR _pszTitleCur; + LPITEMIDLIST _pidlPending; + IShellView *_psvPending; + IShellFolder *_psfPending; + HWND _hwndViewPending; + LPWSTR _pszTitlePending; + BOOL _fIsViewMSHTML; + BOOL _fPrivacyImpacted; +} BASEBROWSERDATA; +typedef struct __WIDL_shdeprecated_generated_name_00000022 *LPBASEBROWSERDATA; +typedef const BASEBROWSERDATA *LPCBASEBROWSERDATA; +#define VIEW_PRIORITY_RESTRICTED 0x00000070 +#define VIEW_PRIORITY_CACHEHIT 0x00000050 +#define VIEW_PRIORITY_STALECACHEHIT 0x00000045 +#define VIEW_PRIORITY_USEASDEFAULT 0x00000043 +#define VIEW_PRIORITY_SHELLEXT 0x00000040 +#define VIEW_PRIORITY_CACHEMISS 0x00000030 +#define VIEW_PRIORITY_INHERIT 0x00000020 +#define VIEW_PRIORITY_SHELLEXT_ASBACKUP 0x0015 +#define VIEW_PRIORITY_DESPERATE 0x00000010 +#define VIEW_PRIORITY_NONE 0x00000000 +typedef struct tagFolderSetData { + FOLDERSETTINGS _fs; + SHELLVIEWID _vidRestore; + DWORD _dwViewPriority; +} FOLDERSETDATA; +typedef struct tagFolderSetData *LPFOLDERSETDATA; +typedef struct SToolbarItem { + IDockingWindow *ptbar; + BORDERWIDTHS rcBorderTool; + LPWSTR pwszItem; + BOOL fShow; + HMONITOR hMon; +} TOOLBARITEM; +typedef struct SToolbarItem *LPTOOLBARITEM; +#define ITB_VIEW ((UINT)-1) +/***************************************************************************** + * IBrowserService2 interface + */ +#ifndef __IBrowserService2_INTERFACE_DEFINED__ +#define __IBrowserService2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IBrowserService2, 0x68bd21cc, 0x438b, 0x11d2, 0xa5,0x60, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("68bd21cc-438b-11d2-a560-00a0c92dbfe8") +IBrowserService2 : public IBrowserService +{ + virtual LRESULT STDMETHODCALLTYPE WndProcBS( + HWND hwnd, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAsDefFolderSettings( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewRect( + RECT *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSize( + WPARAM wParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnCreate( + struct tagCREATESTRUCTW *pcs) = 0; + + virtual LRESULT STDMETHODCALLTYPE OnCommand( + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDestroy( + ) = 0; + + virtual LRESULT STDMETHODCALLTYPE OnNotify( + struct tagNMHDR *pnm) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSetFocus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivateBS( + BOOL fActive) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseShellView( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ActivatePendingView( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateViewWindow( + IShellView *psvNew, + IShellView *psvOld, + LPRECT prcView, + HWND *phwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBrowserPropSheetExt( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewWindow( + HWND *phwndView) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBaseBrowserData( + LPCBASEBROWSERDATA *pbbd) = 0; + + virtual LPBASEBROWSERDATA STDMETHODCALLTYPE PutBaseBrowserData( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeTravelLog( + ITravelLog *ptl, + DWORD dw) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTopBrowser( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Offline( + int iCmd) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllowViewResize( + BOOL f) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetActivateState( + UINT u) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateSecureLockIcon( + int eSecureLock) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeDownloadManager( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeTransitionSite( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _Initialize( + HWND hwnd, + IUnknown *pauto) = 0; + + virtual HRESULT STDMETHODCALLTYPE _CancelPendingNavigationAsync( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _CancelPendingView( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _MaySaveChanges( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _PauseOrResumeView( + BOOL fPaused) = 0; + + virtual HRESULT STDMETHODCALLTYPE _DisableModeless( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _NavigateToPidl( + LPCITEMIDLIST pidl, + DWORD grfHLNF, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE _TryShell2Rename( + IShellView *psv, + LPCITEMIDLIST pidlNew) = 0; + + virtual HRESULT STDMETHODCALLTYPE _SwitchActivationNow( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _ExecChildren( + IUnknown *punkBar, + BOOL fBroadcast, + const GUID *pguidCmdGroup, + DWORD nCmdID, + DWORD nCmdexecopt, + VARIANTARG *pvarargIn, + VARIANTARG *pvarargOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE _SendChildren( + HWND hwndBar, + BOOL fBroadcast, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolderSetData( + struct tagFolderSetData *pfsd) = 0; + + virtual HRESULT STDMETHODCALLTYPE _OnFocusChange( + UINT itb) = 0; + + virtual HRESULT STDMETHODCALLTYPE v_ShowHideChildWindows( + BOOL fChildOnly) = 0; + + virtual UINT STDMETHODCALLTYPE _get_itbLastFocus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _put_itbLastFocus( + UINT itbLastFocus) = 0; + + virtual HRESULT STDMETHODCALLTYPE _UIActivateView( + UINT uState) = 0; + + virtual HRESULT STDMETHODCALLTYPE _GetViewBorderRect( + RECT *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE _UpdateViewRectSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _ResizeNextBorder( + UINT itb) = 0; + + virtual HRESULT STDMETHODCALLTYPE _ResizeView( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE _GetEffectiveClientArea( + LPRECT lprectBorder, + HMONITOR hmon) = 0; + + virtual IStream * STDMETHODCALLTYPE v_GetViewStream( + LPCITEMIDLIST pidl, + DWORD grfMode, + LPCWSTR pwszName) = 0; + + virtual LRESULT STDMETHODCALLTYPE ForwardViewMsg( + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAcceleratorMenu( + HACCEL hacc) = 0; + + virtual int STDMETHODCALLTYPE _GetToolbarCount( + ) = 0; + + virtual LPTOOLBARITEM STDMETHODCALLTYPE _GetToolbarItem( + int itb) = 0; + + virtual HRESULT STDMETHODCALLTYPE _SaveToolbars( + IStream *pstm) = 0; + + virtual HRESULT STDMETHODCALLTYPE _LoadToolbars( + IStream *pstm) = 0; + + virtual HRESULT STDMETHODCALLTYPE _CloseAndReleaseToolbars( + BOOL fClose) = 0; + + virtual HRESULT STDMETHODCALLTYPE v_MayGetNextToolbarFocus( + LPMSG lpMsg, + UINT itbNext, + int citb, + LPTOOLBARITEM *pptbi, + HWND *phwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE _ResizeNextBorderHelper( + UINT itb, + BOOL bUseHmonitor) = 0; + + virtual UINT STDMETHODCALLTYPE _FindTBar( + IUnknown *punkSrc) = 0; + + virtual HRESULT STDMETHODCALLTYPE _SetFocus( + LPTOOLBARITEM ptbi, + HWND hwnd, + LPMSG lpMsg) = 0; + + virtual HRESULT STDMETHODCALLTYPE v_MayTranslateAccelerator( + MSG *pmsg) = 0; + + virtual HRESULT STDMETHODCALLTYPE _GetBorderDWHelper( + IUnknown *punkSrc, + LPRECT lprectBorder, + BOOL bUseHmonitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE v_CheckZoneCrossing( + LPCITEMIDLIST pidl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBrowserService2, 0x68bd21cc, 0x438b, 0x11d2, 0xa5,0x60, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8) +#endif +#else +typedef struct IBrowserService2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBrowserService2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBrowserService2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBrowserService2 *This); + + /*** IBrowserService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetParentSite)( + IBrowserService2 *This, + IOleInPlaceSite **ppipsite); + + HRESULT (STDMETHODCALLTYPE *SetTitle)( + IBrowserService2 *This, + IShellView *psv, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetTitle)( + IBrowserService2 *This, + IShellView *psv, + LPWSTR pszName, + DWORD cchName); + + HRESULT (STDMETHODCALLTYPE *GetOleObject)( + IBrowserService2 *This, + IOleObject **ppobjv); + + HRESULT (STDMETHODCALLTYPE *GetTravelLog)( + IBrowserService2 *This, + ITravelLog **pptl); + + HRESULT (STDMETHODCALLTYPE *ShowControlWindow)( + IBrowserService2 *This, + UINT id, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *IsControlWindowShown)( + IBrowserService2 *This, + UINT id, + BOOL *pfShown); + + HRESULT (STDMETHODCALLTYPE *IEGetDisplayName)( + IBrowserService2 *This, + PCIDLIST_ABSOLUTE pidl, + LPWSTR pwszName, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *IEParseDisplayName)( + IBrowserService2 *This, + UINT uiCP, + LPCWSTR pwszPath, + PIDLIST_ABSOLUTE *ppidlOut); + + HRESULT (STDMETHODCALLTYPE *DisplayParseError)( + IBrowserService2 *This, + HRESULT hres, + LPCWSTR pwszPath); + + HRESULT (STDMETHODCALLTYPE *NavigateToPidl)( + IBrowserService2 *This, + PCIDLIST_ABSOLUTE pidl, + DWORD grfHLNF); + + HRESULT (STDMETHODCALLTYPE *SetNavigateState)( + IBrowserService2 *This, + BNSTATE bnstate); + + HRESULT (STDMETHODCALLTYPE *GetNavigateState)( + IBrowserService2 *This, + BNSTATE *pbnstate); + + HRESULT (STDMETHODCALLTYPE *NotifyRedirect)( + IBrowserService2 *This, + IShellView *psv, + PCIDLIST_ABSOLUTE pidl, + BOOL *pfDidBrowse); + + HRESULT (STDMETHODCALLTYPE *UpdateWindowList)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *UpdateBackForwardState)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + IBrowserService2 *This, + DWORD dwFlags, + DWORD dwFlagMask); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + IBrowserService2 *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *CanNavigateNow)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *GetPidl)( + IBrowserService2 *This, + PIDLIST_ABSOLUTE *ppidl); + + HRESULT (STDMETHODCALLTYPE *SetReferrer)( + IBrowserService2 *This, + PCIDLIST_ABSOLUTE pidl); + + DWORD (STDMETHODCALLTYPE *GetBrowserIndex)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *GetBrowserByIndex)( + IBrowserService2 *This, + DWORD dwID, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *GetHistoryObject)( + IBrowserService2 *This, + IOleObject **ppole, + IStream **pstm, + IBindCtx **ppbc); + + HRESULT (STDMETHODCALLTYPE *SetHistoryObject)( + IBrowserService2 *This, + IOleObject *pole, + BOOL fIsLocalAnchor); + + HRESULT (STDMETHODCALLTYPE *CacheOLEServer)( + IBrowserService2 *This, + IOleObject *pole); + + HRESULT (STDMETHODCALLTYPE *GetSetCodePage)( + IBrowserService2 *This, + VARIANT *pvarIn, + VARIANT *pvarOut); + + HRESULT (STDMETHODCALLTYPE *OnHttpEquiv)( + IBrowserService2 *This, + IShellView *psv, + BOOL fDone, + VARIANT *pvarargIn, + VARIANT *pvarargOut); + + HRESULT (STDMETHODCALLTYPE *GetPalette)( + IBrowserService2 *This, + HPALETTE *hpal); + + HRESULT (STDMETHODCALLTYPE *RegisterWindow)( + IBrowserService2 *This, + BOOL fForceRegister, + int swc); + + /*** IBrowserService2 methods ***/ + LRESULT (STDMETHODCALLTYPE *WndProcBS)( + IBrowserService2 *This, + HWND hwnd, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *SetAsDefFolderSettings)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *GetViewRect)( + IBrowserService2 *This, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *OnSize)( + IBrowserService2 *This, + WPARAM wParam); + + HRESULT (STDMETHODCALLTYPE *OnCreate)( + IBrowserService2 *This, + struct tagCREATESTRUCTW *pcs); + + LRESULT (STDMETHODCALLTYPE *OnCommand)( + IBrowserService2 *This, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *OnDestroy)( + IBrowserService2 *This); + + LRESULT (STDMETHODCALLTYPE *OnNotify)( + IBrowserService2 *This, + struct tagNMHDR *pnm); + + HRESULT (STDMETHODCALLTYPE *OnSetFocus)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivateBS)( + IBrowserService2 *This, + BOOL fActive); + + HRESULT (STDMETHODCALLTYPE *ReleaseShellView)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *ActivatePendingView)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *CreateViewWindow)( + IBrowserService2 *This, + IShellView *psvNew, + IShellView *psvOld, + LPRECT prcView, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *CreateBrowserPropSheetExt)( + IBrowserService2 *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetViewWindow)( + IBrowserService2 *This, + HWND *phwndView); + + HRESULT (STDMETHODCALLTYPE *GetBaseBrowserData)( + IBrowserService2 *This, + LPCBASEBROWSERDATA *pbbd); + + LPBASEBROWSERDATA (STDMETHODCALLTYPE *PutBaseBrowserData)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *InitializeTravelLog)( + IBrowserService2 *This, + ITravelLog *ptl, + DWORD dw); + + HRESULT (STDMETHODCALLTYPE *SetTopBrowser)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *Offline)( + IBrowserService2 *This, + int iCmd); + + HRESULT (STDMETHODCALLTYPE *AllowViewResize)( + IBrowserService2 *This, + BOOL f); + + HRESULT (STDMETHODCALLTYPE *SetActivateState)( + IBrowserService2 *This, + UINT u); + + HRESULT (STDMETHODCALLTYPE *UpdateSecureLockIcon)( + IBrowserService2 *This, + int eSecureLock); + + HRESULT (STDMETHODCALLTYPE *InitializeDownloadManager)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *InitializeTransitionSite)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_Initialize)( + IBrowserService2 *This, + HWND hwnd, + IUnknown *pauto); + + HRESULT (STDMETHODCALLTYPE *_CancelPendingNavigationAsync)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_CancelPendingView)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_MaySaveChanges)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_PauseOrResumeView)( + IBrowserService2 *This, + BOOL fPaused); + + HRESULT (STDMETHODCALLTYPE *_DisableModeless)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_NavigateToPidl)( + IBrowserService2 *This, + LPCITEMIDLIST pidl, + DWORD grfHLNF, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *_TryShell2Rename)( + IBrowserService2 *This, + IShellView *psv, + LPCITEMIDLIST pidlNew); + + HRESULT (STDMETHODCALLTYPE *_SwitchActivationNow)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_ExecChildren)( + IBrowserService2 *This, + IUnknown *punkBar, + BOOL fBroadcast, + const GUID *pguidCmdGroup, + DWORD nCmdID, + DWORD nCmdexecopt, + VARIANTARG *pvarargIn, + VARIANTARG *pvarargOut); + + HRESULT (STDMETHODCALLTYPE *_SendChildren)( + IBrowserService2 *This, + HWND hwndBar, + BOOL fBroadcast, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *GetFolderSetData)( + IBrowserService2 *This, + struct tagFolderSetData *pfsd); + + HRESULT (STDMETHODCALLTYPE *_OnFocusChange)( + IBrowserService2 *This, + UINT itb); + + HRESULT (STDMETHODCALLTYPE *v_ShowHideChildWindows)( + IBrowserService2 *This, + BOOL fChildOnly); + + UINT (STDMETHODCALLTYPE *_get_itbLastFocus)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_put_itbLastFocus)( + IBrowserService2 *This, + UINT itbLastFocus); + + HRESULT (STDMETHODCALLTYPE *_UIActivateView)( + IBrowserService2 *This, + UINT uState); + + HRESULT (STDMETHODCALLTYPE *_GetViewBorderRect)( + IBrowserService2 *This, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *_UpdateViewRectSize)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_ResizeNextBorder)( + IBrowserService2 *This, + UINT itb); + + HRESULT (STDMETHODCALLTYPE *_ResizeView)( + IBrowserService2 *This); + + HRESULT (STDMETHODCALLTYPE *_GetEffectiveClientArea)( + IBrowserService2 *This, + LPRECT lprectBorder, + HMONITOR hmon); + + IStream * (STDMETHODCALLTYPE *v_GetViewStream)( + IBrowserService2 *This, + LPCITEMIDLIST pidl, + DWORD grfMode, + LPCWSTR pwszName); + + LRESULT (STDMETHODCALLTYPE *ForwardViewMsg)( + IBrowserService2 *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *SetAcceleratorMenu)( + IBrowserService2 *This, + HACCEL hacc); + + int (STDMETHODCALLTYPE *_GetToolbarCount)( + IBrowserService2 *This); + + LPTOOLBARITEM (STDMETHODCALLTYPE *_GetToolbarItem)( + IBrowserService2 *This, + int itb); + + HRESULT (STDMETHODCALLTYPE *_SaveToolbars)( + IBrowserService2 *This, + IStream *pstm); + + HRESULT (STDMETHODCALLTYPE *_LoadToolbars)( + IBrowserService2 *This, + IStream *pstm); + + HRESULT (STDMETHODCALLTYPE *_CloseAndReleaseToolbars)( + IBrowserService2 *This, + BOOL fClose); + + HRESULT (STDMETHODCALLTYPE *v_MayGetNextToolbarFocus)( + IBrowserService2 *This, + LPMSG lpMsg, + UINT itbNext, + int citb, + LPTOOLBARITEM *pptbi, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *_ResizeNextBorderHelper)( + IBrowserService2 *This, + UINT itb, + BOOL bUseHmonitor); + + UINT (STDMETHODCALLTYPE *_FindTBar)( + IBrowserService2 *This, + IUnknown *punkSrc); + + HRESULT (STDMETHODCALLTYPE *_SetFocus)( + IBrowserService2 *This, + LPTOOLBARITEM ptbi, + HWND hwnd, + LPMSG lpMsg); + + HRESULT (STDMETHODCALLTYPE *v_MayTranslateAccelerator)( + IBrowserService2 *This, + MSG *pmsg); + + HRESULT (STDMETHODCALLTYPE *_GetBorderDWHelper)( + IBrowserService2 *This, + IUnknown *punkSrc, + LPRECT lprectBorder, + BOOL bUseHmonitor); + + HRESULT (STDMETHODCALLTYPE *v_CheckZoneCrossing)( + IBrowserService2 *This, + LPCITEMIDLIST pidl); + + END_INTERFACE +} IBrowserService2Vtbl; + +interface IBrowserService2 { + CONST_VTBL IBrowserService2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBrowserService2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBrowserService2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBrowserService2_Release(This) (This)->lpVtbl->Release(This) +/*** IBrowserService methods ***/ +#define IBrowserService2_GetParentSite(This,ppipsite) (This)->lpVtbl->GetParentSite(This,ppipsite) +#define IBrowserService2_SetTitle(This,psv,pszName) (This)->lpVtbl->SetTitle(This,psv,pszName) +#define IBrowserService2_GetTitle(This,psv,pszName,cchName) (This)->lpVtbl->GetTitle(This,psv,pszName,cchName) +#define IBrowserService2_GetOleObject(This,ppobjv) (This)->lpVtbl->GetOleObject(This,ppobjv) +#define IBrowserService2_GetTravelLog(This,pptl) (This)->lpVtbl->GetTravelLog(This,pptl) +#define IBrowserService2_ShowControlWindow(This,id,fShow) (This)->lpVtbl->ShowControlWindow(This,id,fShow) +#define IBrowserService2_IsControlWindowShown(This,id,pfShown) (This)->lpVtbl->IsControlWindowShown(This,id,pfShown) +#define IBrowserService2_IEGetDisplayName(This,pidl,pwszName,uFlags) (This)->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags) +#define IBrowserService2_IEParseDisplayName(This,uiCP,pwszPath,ppidlOut) (This)->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut) +#define IBrowserService2_DisplayParseError(This,hres,pwszPath) (This)->lpVtbl->DisplayParseError(This,hres,pwszPath) +#define IBrowserService2_NavigateToPidl(This,pidl,grfHLNF) (This)->lpVtbl->NavigateToPidl(This,pidl,grfHLNF) +#define IBrowserService2_SetNavigateState(This,bnstate) (This)->lpVtbl->SetNavigateState(This,bnstate) +#define IBrowserService2_GetNavigateState(This,pbnstate) (This)->lpVtbl->GetNavigateState(This,pbnstate) +#define IBrowserService2_NotifyRedirect(This,psv,pidl,pfDidBrowse) (This)->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse) +#define IBrowserService2_UpdateWindowList(This) (This)->lpVtbl->UpdateWindowList(This) +#define IBrowserService2_UpdateBackForwardState(This) (This)->lpVtbl->UpdateBackForwardState(This) +#define IBrowserService2_SetFlags(This,dwFlags,dwFlagMask) (This)->lpVtbl->SetFlags(This,dwFlags,dwFlagMask) +#define IBrowserService2_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define IBrowserService2_CanNavigateNow(This) (This)->lpVtbl->CanNavigateNow(This) +#define IBrowserService2_GetPidl(This,ppidl) (This)->lpVtbl->GetPidl(This,ppidl) +#define IBrowserService2_SetReferrer(This,pidl) (This)->lpVtbl->SetReferrer(This,pidl) +#define IBrowserService2_GetBrowserIndex(This) (This)->lpVtbl->GetBrowserIndex(This) +#define IBrowserService2_GetBrowserByIndex(This,dwID,ppunk) (This)->lpVtbl->GetBrowserByIndex(This,dwID,ppunk) +#define IBrowserService2_GetHistoryObject(This,ppole,pstm,ppbc) (This)->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc) +#define IBrowserService2_SetHistoryObject(This,pole,fIsLocalAnchor) (This)->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor) +#define IBrowserService2_CacheOLEServer(This,pole) (This)->lpVtbl->CacheOLEServer(This,pole) +#define IBrowserService2_GetSetCodePage(This,pvarIn,pvarOut) (This)->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut) +#define IBrowserService2_OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut) (This)->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut) +#define IBrowserService2_GetPalette(This,hpal) (This)->lpVtbl->GetPalette(This,hpal) +#define IBrowserService2_RegisterWindow(This,fForceRegister,swc) (This)->lpVtbl->RegisterWindow(This,fForceRegister,swc) +/*** IBrowserService2 methods ***/ +#define IBrowserService2_WndProcBS(This,hwnd,uMsg,wParam,lParam) (This)->lpVtbl->WndProcBS(This,hwnd,uMsg,wParam,lParam) +#define IBrowserService2_SetAsDefFolderSettings(This) (This)->lpVtbl->SetAsDefFolderSettings(This) +#define IBrowserService2_GetViewRect(This,prc) (This)->lpVtbl->GetViewRect(This,prc) +#define IBrowserService2_OnSize(This,wParam) (This)->lpVtbl->OnSize(This,wParam) +#define IBrowserService2_OnCreate(This,pcs) (This)->lpVtbl->OnCreate(This,pcs) +#define IBrowserService2_OnCommand(This,wParam,lParam) (This)->lpVtbl->OnCommand(This,wParam,lParam) +#define IBrowserService2_OnDestroy(This) (This)->lpVtbl->OnDestroy(This) +#define IBrowserService2_OnNotify(This,pnm) (This)->lpVtbl->OnNotify(This,pnm) +#define IBrowserService2_OnSetFocus(This) (This)->lpVtbl->OnSetFocus(This) +#define IBrowserService2_OnFrameWindowActivateBS(This,fActive) (This)->lpVtbl->OnFrameWindowActivateBS(This,fActive) +#define IBrowserService2_ReleaseShellView(This) (This)->lpVtbl->ReleaseShellView(This) +#define IBrowserService2_ActivatePendingView(This) (This)->lpVtbl->ActivatePendingView(This) +#define IBrowserService2_CreateViewWindow(This,psvNew,psvOld,prcView,phwnd) (This)->lpVtbl->CreateViewWindow(This,psvNew,psvOld,prcView,phwnd) +#define IBrowserService2_CreateBrowserPropSheetExt(This,riid,ppv) (This)->lpVtbl->CreateBrowserPropSheetExt(This,riid,ppv) +#define IBrowserService2_GetViewWindow(This,phwndView) (This)->lpVtbl->GetViewWindow(This,phwndView) +#define IBrowserService2_GetBaseBrowserData(This,pbbd) (This)->lpVtbl->GetBaseBrowserData(This,pbbd) +#define IBrowserService2_PutBaseBrowserData(This) (This)->lpVtbl->PutBaseBrowserData(This) +#define IBrowserService2_InitializeTravelLog(This,ptl,dw) (This)->lpVtbl->InitializeTravelLog(This,ptl,dw) +#define IBrowserService2_SetTopBrowser(This) (This)->lpVtbl->SetTopBrowser(This) +#define IBrowserService2_Offline(This,iCmd) (This)->lpVtbl->Offline(This,iCmd) +#define IBrowserService2_AllowViewResize(This,f) (This)->lpVtbl->AllowViewResize(This,f) +#define IBrowserService2_SetActivateState(This,u) (This)->lpVtbl->SetActivateState(This,u) +#define IBrowserService2_UpdateSecureLockIcon(This,eSecureLock) (This)->lpVtbl->UpdateSecureLockIcon(This,eSecureLock) +#define IBrowserService2_InitializeDownloadManager(This) (This)->lpVtbl->InitializeDownloadManager(This) +#define IBrowserService2_InitializeTransitionSite(This) (This)->lpVtbl->InitializeTransitionSite(This) +#define IBrowserService2__Initialize(This,hwnd,pauto) (This)->lpVtbl->_Initialize(This,hwnd,pauto) +#define IBrowserService2__CancelPendingNavigationAsync(This) (This)->lpVtbl->_CancelPendingNavigationAsync(This) +#define IBrowserService2__CancelPendingView(This) (This)->lpVtbl->_CancelPendingView(This) +#define IBrowserService2__MaySaveChanges(This) (This)->lpVtbl->_MaySaveChanges(This) +#define IBrowserService2__PauseOrResumeView(This,fPaused) (This)->lpVtbl->_PauseOrResumeView(This,fPaused) +#define IBrowserService2__DisableModeless(This) (This)->lpVtbl->_DisableModeless(This) +#define IBrowserService2__NavigateToPidl(This,pidl,grfHLNF,dwFlags) (This)->lpVtbl->_NavigateToPidl(This,pidl,grfHLNF,dwFlags) +#define IBrowserService2__TryShell2Rename(This,psv,pidlNew) (This)->lpVtbl->_TryShell2Rename(This,psv,pidlNew) +#define IBrowserService2__SwitchActivationNow(This) (This)->lpVtbl->_SwitchActivationNow(This) +#define IBrowserService2__ExecChildren(This,punkBar,fBroadcast,pguidCmdGroup,nCmdID,nCmdexecopt,pvarargIn,pvarargOut) (This)->lpVtbl->_ExecChildren(This,punkBar,fBroadcast,pguidCmdGroup,nCmdID,nCmdexecopt,pvarargIn,pvarargOut) +#define IBrowserService2__SendChildren(This,hwndBar,fBroadcast,uMsg,wParam,lParam) (This)->lpVtbl->_SendChildren(This,hwndBar,fBroadcast,uMsg,wParam,lParam) +#define IBrowserService2_GetFolderSetData(This,pfsd) (This)->lpVtbl->GetFolderSetData(This,pfsd) +#define IBrowserService2__OnFocusChange(This,itb) (This)->lpVtbl->_OnFocusChange(This,itb) +#define IBrowserService2_v_ShowHideChildWindows(This,fChildOnly) (This)->lpVtbl->v_ShowHideChildWindows(This,fChildOnly) +#define IBrowserService2__get_itbLastFocus(This) (This)->lpVtbl->_get_itbLastFocus(This) +#define IBrowserService2__put_itbLastFocus(This,itbLastFocus) (This)->lpVtbl->_put_itbLastFocus(This,itbLastFocus) +#define IBrowserService2__UIActivateView(This,uState) (This)->lpVtbl->_UIActivateView(This,uState) +#define IBrowserService2__GetViewBorderRect(This,prc) (This)->lpVtbl->_GetViewBorderRect(This,prc) +#define IBrowserService2__UpdateViewRectSize(This) (This)->lpVtbl->_UpdateViewRectSize(This) +#define IBrowserService2__ResizeNextBorder(This,itb) (This)->lpVtbl->_ResizeNextBorder(This,itb) +#define IBrowserService2__ResizeView(This) (This)->lpVtbl->_ResizeView(This) +#define IBrowserService2__GetEffectiveClientArea(This,lprectBorder,hmon) (This)->lpVtbl->_GetEffectiveClientArea(This,lprectBorder,hmon) +#define IBrowserService2_v_GetViewStream(This,pidl,grfMode,pwszName) (This)->lpVtbl->v_GetViewStream(This,pidl,grfMode,pwszName) +#define IBrowserService2_ForwardViewMsg(This,uMsg,wParam,lParam) (This)->lpVtbl->ForwardViewMsg(This,uMsg,wParam,lParam) +#define IBrowserService2_SetAcceleratorMenu(This,hacc) (This)->lpVtbl->SetAcceleratorMenu(This,hacc) +#define IBrowserService2__GetToolbarCount(This) (This)->lpVtbl->_GetToolbarCount(This) +#define IBrowserService2__GetToolbarItem(This,itb) (This)->lpVtbl->_GetToolbarItem(This,itb) +#define IBrowserService2__SaveToolbars(This,pstm) (This)->lpVtbl->_SaveToolbars(This,pstm) +#define IBrowserService2__LoadToolbars(This,pstm) (This)->lpVtbl->_LoadToolbars(This,pstm) +#define IBrowserService2__CloseAndReleaseToolbars(This,fClose) (This)->lpVtbl->_CloseAndReleaseToolbars(This,fClose) +#define IBrowserService2_v_MayGetNextToolbarFocus(This,lpMsg,itbNext,citb,pptbi,phwnd) (This)->lpVtbl->v_MayGetNextToolbarFocus(This,lpMsg,itbNext,citb,pptbi,phwnd) +#define IBrowserService2__ResizeNextBorderHelper(This,itb,bUseHmonitor) (This)->lpVtbl->_ResizeNextBorderHelper(This,itb,bUseHmonitor) +#define IBrowserService2__FindTBar(This,punkSrc) (This)->lpVtbl->_FindTBar(This,punkSrc) +#define IBrowserService2__SetFocus(This,ptbi,hwnd,lpMsg) (This)->lpVtbl->_SetFocus(This,ptbi,hwnd,lpMsg) +#define IBrowserService2_v_MayTranslateAccelerator(This,pmsg) (This)->lpVtbl->v_MayTranslateAccelerator(This,pmsg) +#define IBrowserService2__GetBorderDWHelper(This,punkSrc,lprectBorder,bUseHmonitor) (This)->lpVtbl->_GetBorderDWHelper(This,punkSrc,lprectBorder,bUseHmonitor) +#define IBrowserService2_v_CheckZoneCrossing(This,pidl) (This)->lpVtbl->v_CheckZoneCrossing(This,pidl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBrowserService2_QueryInterface(IBrowserService2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBrowserService2_AddRef(IBrowserService2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBrowserService2_Release(IBrowserService2* This) { + return This->lpVtbl->Release(This); +} +/*** IBrowserService methods ***/ +static FORCEINLINE HRESULT IBrowserService2_GetParentSite(IBrowserService2* This,IOleInPlaceSite **ppipsite) { + return This->lpVtbl->GetParentSite(This,ppipsite); +} +static FORCEINLINE HRESULT IBrowserService2_SetTitle(IBrowserService2* This,IShellView *psv,LPCWSTR pszName) { + return This->lpVtbl->SetTitle(This,psv,pszName); +} +static FORCEINLINE HRESULT IBrowserService2_GetTitle(IBrowserService2* This,IShellView *psv,LPWSTR pszName,DWORD cchName) { + return This->lpVtbl->GetTitle(This,psv,pszName,cchName); +} +static FORCEINLINE HRESULT IBrowserService2_GetOleObject(IBrowserService2* This,IOleObject **ppobjv) { + return This->lpVtbl->GetOleObject(This,ppobjv); +} +static FORCEINLINE HRESULT IBrowserService2_GetTravelLog(IBrowserService2* This,ITravelLog **pptl) { + return This->lpVtbl->GetTravelLog(This,pptl); +} +static FORCEINLINE HRESULT IBrowserService2_ShowControlWindow(IBrowserService2* This,UINT id,BOOL fShow) { + return This->lpVtbl->ShowControlWindow(This,id,fShow); +} +static FORCEINLINE HRESULT IBrowserService2_IsControlWindowShown(IBrowserService2* This,UINT id,BOOL *pfShown) { + return This->lpVtbl->IsControlWindowShown(This,id,pfShown); +} +static FORCEINLINE HRESULT IBrowserService2_IEGetDisplayName(IBrowserService2* This,PCIDLIST_ABSOLUTE pidl,LPWSTR pwszName,UINT uFlags) { + return This->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags); +} +static FORCEINLINE HRESULT IBrowserService2_IEParseDisplayName(IBrowserService2* This,UINT uiCP,LPCWSTR pwszPath,PIDLIST_ABSOLUTE *ppidlOut) { + return This->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut); +} +static FORCEINLINE HRESULT IBrowserService2_DisplayParseError(IBrowserService2* This,HRESULT hres,LPCWSTR pwszPath) { + return This->lpVtbl->DisplayParseError(This,hres,pwszPath); +} +static FORCEINLINE HRESULT IBrowserService2_NavigateToPidl(IBrowserService2* This,PCIDLIST_ABSOLUTE pidl,DWORD grfHLNF) { + return This->lpVtbl->NavigateToPidl(This,pidl,grfHLNF); +} +static FORCEINLINE HRESULT IBrowserService2_SetNavigateState(IBrowserService2* This,BNSTATE bnstate) { + return This->lpVtbl->SetNavigateState(This,bnstate); +} +static FORCEINLINE HRESULT IBrowserService2_GetNavigateState(IBrowserService2* This,BNSTATE *pbnstate) { + return This->lpVtbl->GetNavigateState(This,pbnstate); +} +static FORCEINLINE HRESULT IBrowserService2_NotifyRedirect(IBrowserService2* This,IShellView *psv,PCIDLIST_ABSOLUTE pidl,BOOL *pfDidBrowse) { + return This->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse); +} +static FORCEINLINE HRESULT IBrowserService2_UpdateWindowList(IBrowserService2* This) { + return This->lpVtbl->UpdateWindowList(This); +} +static FORCEINLINE HRESULT IBrowserService2_UpdateBackForwardState(IBrowserService2* This) { + return This->lpVtbl->UpdateBackForwardState(This); +} +static FORCEINLINE HRESULT IBrowserService2_SetFlags(IBrowserService2* This,DWORD dwFlags,DWORD dwFlagMask) { + return This->lpVtbl->SetFlags(This,dwFlags,dwFlagMask); +} +static FORCEINLINE HRESULT IBrowserService2_GetFlags(IBrowserService2* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT IBrowserService2_CanNavigateNow(IBrowserService2* This) { + return This->lpVtbl->CanNavigateNow(This); +} +static FORCEINLINE HRESULT IBrowserService2_GetPidl(IBrowserService2* This,PIDLIST_ABSOLUTE *ppidl) { + return This->lpVtbl->GetPidl(This,ppidl); +} +static FORCEINLINE HRESULT IBrowserService2_SetReferrer(IBrowserService2* This,PCIDLIST_ABSOLUTE pidl) { + return This->lpVtbl->SetReferrer(This,pidl); +} +static FORCEINLINE DWORD IBrowserService2_GetBrowserIndex(IBrowserService2* This) { + return This->lpVtbl->GetBrowserIndex(This); +} +static FORCEINLINE HRESULT IBrowserService2_GetBrowserByIndex(IBrowserService2* This,DWORD dwID,IUnknown **ppunk) { + return This->lpVtbl->GetBrowserByIndex(This,dwID,ppunk); +} +static FORCEINLINE HRESULT IBrowserService2_GetHistoryObject(IBrowserService2* This,IOleObject **ppole,IStream **pstm,IBindCtx **ppbc) { + return This->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc); +} +static FORCEINLINE HRESULT IBrowserService2_SetHistoryObject(IBrowserService2* This,IOleObject *pole,BOOL fIsLocalAnchor) { + return This->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor); +} +static FORCEINLINE HRESULT IBrowserService2_CacheOLEServer(IBrowserService2* This,IOleObject *pole) { + return This->lpVtbl->CacheOLEServer(This,pole); +} +static FORCEINLINE HRESULT IBrowserService2_GetSetCodePage(IBrowserService2* This,VARIANT *pvarIn,VARIANT *pvarOut) { + return This->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut); +} +static FORCEINLINE HRESULT IBrowserService2_OnHttpEquiv(IBrowserService2* This,IShellView *psv,BOOL fDone,VARIANT *pvarargIn,VARIANT *pvarargOut) { + return This->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut); +} +static FORCEINLINE HRESULT IBrowserService2_GetPalette(IBrowserService2* This,HPALETTE *hpal) { + return This->lpVtbl->GetPalette(This,hpal); +} +static FORCEINLINE HRESULT IBrowserService2_RegisterWindow(IBrowserService2* This,BOOL fForceRegister,int swc) { + return This->lpVtbl->RegisterWindow(This,fForceRegister,swc); +} +/*** IBrowserService2 methods ***/ +static FORCEINLINE LRESULT IBrowserService2_WndProcBS(IBrowserService2* This,HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->WndProcBS(This,hwnd,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT IBrowserService2_SetAsDefFolderSettings(IBrowserService2* This) { + return This->lpVtbl->SetAsDefFolderSettings(This); +} +static FORCEINLINE HRESULT IBrowserService2_GetViewRect(IBrowserService2* This,RECT *prc) { + return This->lpVtbl->GetViewRect(This,prc); +} +static FORCEINLINE HRESULT IBrowserService2_OnSize(IBrowserService2* This,WPARAM wParam) { + return This->lpVtbl->OnSize(This,wParam); +} +static FORCEINLINE HRESULT IBrowserService2_OnCreate(IBrowserService2* This,struct tagCREATESTRUCTW *pcs) { + return This->lpVtbl->OnCreate(This,pcs); +} +static FORCEINLINE LRESULT IBrowserService2_OnCommand(IBrowserService2* This,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->OnCommand(This,wParam,lParam); +} +static FORCEINLINE HRESULT IBrowserService2_OnDestroy(IBrowserService2* This) { + return This->lpVtbl->OnDestroy(This); +} +static FORCEINLINE LRESULT IBrowserService2_OnNotify(IBrowserService2* This,struct tagNMHDR *pnm) { + return This->lpVtbl->OnNotify(This,pnm); +} +static FORCEINLINE HRESULT IBrowserService2_OnSetFocus(IBrowserService2* This) { + return This->lpVtbl->OnSetFocus(This); +} +static FORCEINLINE HRESULT IBrowserService2_OnFrameWindowActivateBS(IBrowserService2* This,BOOL fActive) { + return This->lpVtbl->OnFrameWindowActivateBS(This,fActive); +} +static FORCEINLINE HRESULT IBrowserService2_ReleaseShellView(IBrowserService2* This) { + return This->lpVtbl->ReleaseShellView(This); +} +static FORCEINLINE HRESULT IBrowserService2_ActivatePendingView(IBrowserService2* This) { + return This->lpVtbl->ActivatePendingView(This); +} +static FORCEINLINE HRESULT IBrowserService2_CreateViewWindow(IBrowserService2* This,IShellView *psvNew,IShellView *psvOld,LPRECT prcView,HWND *phwnd) { + return This->lpVtbl->CreateViewWindow(This,psvNew,psvOld,prcView,phwnd); +} +static FORCEINLINE HRESULT IBrowserService2_CreateBrowserPropSheetExt(IBrowserService2* This,REFIID riid,void **ppv) { + return This->lpVtbl->CreateBrowserPropSheetExt(This,riid,ppv); +} +static FORCEINLINE HRESULT IBrowserService2_GetViewWindow(IBrowserService2* This,HWND *phwndView) { + return This->lpVtbl->GetViewWindow(This,phwndView); +} +static FORCEINLINE HRESULT IBrowserService2_GetBaseBrowserData(IBrowserService2* This,LPCBASEBROWSERDATA *pbbd) { + return This->lpVtbl->GetBaseBrowserData(This,pbbd); +} +static FORCEINLINE LPBASEBROWSERDATA IBrowserService2_PutBaseBrowserData(IBrowserService2* This) { + return This->lpVtbl->PutBaseBrowserData(This); +} +static FORCEINLINE HRESULT IBrowserService2_InitializeTravelLog(IBrowserService2* This,ITravelLog *ptl,DWORD dw) { + return This->lpVtbl->InitializeTravelLog(This,ptl,dw); +} +static FORCEINLINE HRESULT IBrowserService2_SetTopBrowser(IBrowserService2* This) { + return This->lpVtbl->SetTopBrowser(This); +} +static FORCEINLINE HRESULT IBrowserService2_Offline(IBrowserService2* This,int iCmd) { + return This->lpVtbl->Offline(This,iCmd); +} +static FORCEINLINE HRESULT IBrowserService2_AllowViewResize(IBrowserService2* This,BOOL f) { + return This->lpVtbl->AllowViewResize(This,f); +} +static FORCEINLINE HRESULT IBrowserService2_SetActivateState(IBrowserService2* This,UINT u) { + return This->lpVtbl->SetActivateState(This,u); +} +static FORCEINLINE HRESULT IBrowserService2_UpdateSecureLockIcon(IBrowserService2* This,int eSecureLock) { + return This->lpVtbl->UpdateSecureLockIcon(This,eSecureLock); +} +static FORCEINLINE HRESULT IBrowserService2_InitializeDownloadManager(IBrowserService2* This) { + return This->lpVtbl->InitializeDownloadManager(This); +} +static FORCEINLINE HRESULT IBrowserService2_InitializeTransitionSite(IBrowserService2* This) { + return This->lpVtbl->InitializeTransitionSite(This); +} +static FORCEINLINE HRESULT IBrowserService2__Initialize(IBrowserService2* This,HWND hwnd,IUnknown *pauto) { + return This->lpVtbl->_Initialize(This,hwnd,pauto); +} +static FORCEINLINE HRESULT IBrowserService2__CancelPendingNavigationAsync(IBrowserService2* This) { + return This->lpVtbl->_CancelPendingNavigationAsync(This); +} +static FORCEINLINE HRESULT IBrowserService2__CancelPendingView(IBrowserService2* This) { + return This->lpVtbl->_CancelPendingView(This); +} +static FORCEINLINE HRESULT IBrowserService2__MaySaveChanges(IBrowserService2* This) { + return This->lpVtbl->_MaySaveChanges(This); +} +static FORCEINLINE HRESULT IBrowserService2__PauseOrResumeView(IBrowserService2* This,BOOL fPaused) { + return This->lpVtbl->_PauseOrResumeView(This,fPaused); +} +static FORCEINLINE HRESULT IBrowserService2__DisableModeless(IBrowserService2* This) { + return This->lpVtbl->_DisableModeless(This); +} +static FORCEINLINE HRESULT IBrowserService2__NavigateToPidl(IBrowserService2* This,LPCITEMIDLIST pidl,DWORD grfHLNF,DWORD dwFlags) { + return This->lpVtbl->_NavigateToPidl(This,pidl,grfHLNF,dwFlags); +} +static FORCEINLINE HRESULT IBrowserService2__TryShell2Rename(IBrowserService2* This,IShellView *psv,LPCITEMIDLIST pidlNew) { + return This->lpVtbl->_TryShell2Rename(This,psv,pidlNew); +} +static FORCEINLINE HRESULT IBrowserService2__SwitchActivationNow(IBrowserService2* This) { + return This->lpVtbl->_SwitchActivationNow(This); +} +static FORCEINLINE HRESULT IBrowserService2__ExecChildren(IBrowserService2* This,IUnknown *punkBar,BOOL fBroadcast,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANTARG *pvarargIn,VARIANTARG *pvarargOut) { + return This->lpVtbl->_ExecChildren(This,punkBar,fBroadcast,pguidCmdGroup,nCmdID,nCmdexecopt,pvarargIn,pvarargOut); +} +static FORCEINLINE HRESULT IBrowserService2__SendChildren(IBrowserService2* This,HWND hwndBar,BOOL fBroadcast,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->_SendChildren(This,hwndBar,fBroadcast,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT IBrowserService2_GetFolderSetData(IBrowserService2* This,struct tagFolderSetData *pfsd) { + return This->lpVtbl->GetFolderSetData(This,pfsd); +} +static FORCEINLINE HRESULT IBrowserService2__OnFocusChange(IBrowserService2* This,UINT itb) { + return This->lpVtbl->_OnFocusChange(This,itb); +} +static FORCEINLINE HRESULT IBrowserService2_v_ShowHideChildWindows(IBrowserService2* This,BOOL fChildOnly) { + return This->lpVtbl->v_ShowHideChildWindows(This,fChildOnly); +} +static FORCEINLINE UINT IBrowserService2__get_itbLastFocus(IBrowserService2* This) { + return This->lpVtbl->_get_itbLastFocus(This); +} +static FORCEINLINE HRESULT IBrowserService2__put_itbLastFocus(IBrowserService2* This,UINT itbLastFocus) { + return This->lpVtbl->_put_itbLastFocus(This,itbLastFocus); +} +static FORCEINLINE HRESULT IBrowserService2__UIActivateView(IBrowserService2* This,UINT uState) { + return This->lpVtbl->_UIActivateView(This,uState); +} +static FORCEINLINE HRESULT IBrowserService2__GetViewBorderRect(IBrowserService2* This,RECT *prc) { + return This->lpVtbl->_GetViewBorderRect(This,prc); +} +static FORCEINLINE HRESULT IBrowserService2__UpdateViewRectSize(IBrowserService2* This) { + return This->lpVtbl->_UpdateViewRectSize(This); +} +static FORCEINLINE HRESULT IBrowserService2__ResizeNextBorder(IBrowserService2* This,UINT itb) { + return This->lpVtbl->_ResizeNextBorder(This,itb); +} +static FORCEINLINE HRESULT IBrowserService2__ResizeView(IBrowserService2* This) { + return This->lpVtbl->_ResizeView(This); +} +static FORCEINLINE HRESULT IBrowserService2__GetEffectiveClientArea(IBrowserService2* This,LPRECT lprectBorder,HMONITOR hmon) { + return This->lpVtbl->_GetEffectiveClientArea(This,lprectBorder,hmon); +} +static FORCEINLINE IStream * IBrowserService2_v_GetViewStream(IBrowserService2* This,LPCITEMIDLIST pidl,DWORD grfMode,LPCWSTR pwszName) { + return This->lpVtbl->v_GetViewStream(This,pidl,grfMode,pwszName); +} +static FORCEINLINE LRESULT IBrowserService2_ForwardViewMsg(IBrowserService2* This,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->ForwardViewMsg(This,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT IBrowserService2_SetAcceleratorMenu(IBrowserService2* This,HACCEL hacc) { + return This->lpVtbl->SetAcceleratorMenu(This,hacc); +} +static FORCEINLINE int IBrowserService2__GetToolbarCount(IBrowserService2* This) { + return This->lpVtbl->_GetToolbarCount(This); +} +static FORCEINLINE LPTOOLBARITEM IBrowserService2__GetToolbarItem(IBrowserService2* This,int itb) { + return This->lpVtbl->_GetToolbarItem(This,itb); +} +static FORCEINLINE HRESULT IBrowserService2__SaveToolbars(IBrowserService2* This,IStream *pstm) { + return This->lpVtbl->_SaveToolbars(This,pstm); +} +static FORCEINLINE HRESULT IBrowserService2__LoadToolbars(IBrowserService2* This,IStream *pstm) { + return This->lpVtbl->_LoadToolbars(This,pstm); +} +static FORCEINLINE HRESULT IBrowserService2__CloseAndReleaseToolbars(IBrowserService2* This,BOOL fClose) { + return This->lpVtbl->_CloseAndReleaseToolbars(This,fClose); +} +static FORCEINLINE HRESULT IBrowserService2_v_MayGetNextToolbarFocus(IBrowserService2* This,LPMSG lpMsg,UINT itbNext,int citb,LPTOOLBARITEM *pptbi,HWND *phwnd) { + return This->lpVtbl->v_MayGetNextToolbarFocus(This,lpMsg,itbNext,citb,pptbi,phwnd); +} +static FORCEINLINE HRESULT IBrowserService2__ResizeNextBorderHelper(IBrowserService2* This,UINT itb,BOOL bUseHmonitor) { + return This->lpVtbl->_ResizeNextBorderHelper(This,itb,bUseHmonitor); +} +static FORCEINLINE UINT IBrowserService2__FindTBar(IBrowserService2* This,IUnknown *punkSrc) { + return This->lpVtbl->_FindTBar(This,punkSrc); +} +static FORCEINLINE HRESULT IBrowserService2__SetFocus(IBrowserService2* This,LPTOOLBARITEM ptbi,HWND hwnd,LPMSG lpMsg) { + return This->lpVtbl->_SetFocus(This,ptbi,hwnd,lpMsg); +} +static FORCEINLINE HRESULT IBrowserService2_v_MayTranslateAccelerator(IBrowserService2* This,MSG *pmsg) { + return This->lpVtbl->v_MayTranslateAccelerator(This,pmsg); +} +static FORCEINLINE HRESULT IBrowserService2__GetBorderDWHelper(IBrowserService2* This,IUnknown *punkSrc,LPRECT lprectBorder,BOOL bUseHmonitor) { + return This->lpVtbl->_GetBorderDWHelper(This,punkSrc,lprectBorder,bUseHmonitor); +} +static FORCEINLINE HRESULT IBrowserService2_v_CheckZoneCrossing(IBrowserService2* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->v_CheckZoneCrossing(This,pidl); +} +#endif +#endif + +#endif + + +#endif /* __IBrowserService2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __shdeprecated_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdeprecated.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdeprecated.idl new file mode 100644 index 0000000..1f001fd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdeprecated.idl @@ -0,0 +1,604 @@ +/* + * Deprecated shell interfaces + * + * Copyright (C) 2010 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "ocidl.idl"; +import "shtypes.idl"; +import "shobjidl.idl"; +import "hlink.idl"; +import "exdisp.idl"; + +cpp_quote("#define TLOG_BACK -1") +cpp_quote("#define TLOG_FORE 1") + +cpp_quote("#define TLMENUF_INCLUDECURRENT 0x00000001") +cpp_quote("#define TLMENUF_CHECKCURRENT (TLMENUF_INCLUDECURRENT | 0x00000002)") +cpp_quote("#define TLMENUF_BACK 0x00000010") +cpp_quote("#define TLMENUF_FORE 0x00000020") +cpp_quote("#define TLMENUF_BACKANDFORTH (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT)") + +[ + hidden, + local, + object, + uuid(F46EDB3B-BC2F-11d0-9412-00AA00A3EBD3) +] +interface ITravelEntry : IUnknown +{ + HRESULT Invoke( + [in] IUnknown *punk); + + HRESULT Update( + [in] IUnknown *punk, + [in] BOOL fIsLocalAnchor); + + HRESULT GetPidl( + [out] LPITEMIDLIST *ppidl); +}; + +[ + hidden, + local, + object, + uuid(66A9CB08-4802-11d2-A561-00A0C92DBFE8) +] +interface ITravelLog : IUnknown +{ + HRESULT AddEntry( + [in] IUnknown *punk, + [in] BOOL fIsLocalAnchor); + + HRESULT UpdateEntry( + [in] IUnknown *punk, + [in] BOOL fIsLocalAnchor); + + HRESULT UpdateExternal( + [in] IUnknown *punk, + [in] IUnknown *punkHLBrowseContext); + + HRESULT Travel( + [in] IUnknown *punk, + [in] int iOffset); + + HRESULT GetTravelEntry( + [in] IUnknown *punk, + [in] int iOffset, + [optional, out] ITravelEntry **ppte); + + HRESULT FindTravelEntry( + [in] IUnknown *punk, + [in] LPCITEMIDLIST pidl, + [out] ITravelEntry **ppte); + + HRESULT GetToolTipText( + [in] IUnknown *punk, + [in] int iOffset, + [in] int idsTemplate, + [out, size_is(cchText)] LPWSTR pwzText, + [in] DWORD cchText); + + HRESULT InsertMenuEntries( + [in] IUnknown *punk, + [in] HMENU hmenu, + [in] int nPos, + [in] int idFirst, + [in] int idLast, + [in] DWORD dwFlags); + + HRESULT Clone( + [out] ITravelLog **pptl); + + DWORD CountEntries( + [in] IUnknown *punk); + + HRESULT Revert(); +}; + +typedef void *CIE4ConnectionPoint; + +[ + local, + object, + uuid(0D7D1D00-6FC0-11D0-A974-00C04FD705A2) +] +interface IExpDispSupport : IUnknown +{ + HRESULT FindCIE4ConnectionPoint( + REFIID riid, + CIE4ConnectionPoint **ppccp); + + HRESULT OnTranslateAccelerator( + MSG *pMsg, + DWORD grfModifiers); + + HRESULT OnInvoke( + DISPID dispidMember, + REFIID iid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pdispparams, + VARIANT *pVarResult, + EXCEPINFO *pexcepinfo, + UINT *puArgErr); +}; + +typedef enum tagBNSTATE +{ + BNS_NORMAL = 0, + BNS_BEGIN_NAVIGATE = 1, + BNS_NAVIGATE = 2 + +} BNSTATE; + +enum { + SBSC_HIDE = 0, + SBSC_SHOW = 1, + SBSC_TOGGLE = 2, + SBSC_QUERY = 3 +}; + +cpp_quote("#define BSF_REGISTERASDROPTARGET 0x00000001") +cpp_quote("#define BSF_THEATERMODE 0x00000002") +cpp_quote("#define BSF_NOLOCALFILEWARNING 0x00000010") +cpp_quote("#define BSF_UISETBYAUTOMATION 0x00000100") +cpp_quote("#define BSF_RESIZABLE 0x00000200") +cpp_quote("#define BSF_CANMAXIMIZE 0x00000400") +cpp_quote("#define BSF_TOPBROWSER 0x00000800") +cpp_quote("#define BSF_NAVNOHISTORY 0x00001000") +cpp_quote("#define BSF_HTMLNAVCANCELED 0x00002000") +cpp_quote("#define BSF_DONTSHOWNAVCANCELPAGE 0x00004000") +cpp_quote("#define BSF_SETNAVIGATABLECODEPAGE 0x00008000") +cpp_quote("#define BSF_DELEGATEDNAVIGATION 0x00010000") +cpp_quote("#define BSF_TRUSTEDFORACTIVEX 0x00020000") + +cpp_quote("#define HLNF_CALLERUNTRUSTED 0x00200000") +cpp_quote("#define HLNF_TRUSTEDFORACTIVEX 0x00400000") +cpp_quote("#define HLNF_DISABLEWINDOWRESTRICTIONS 0x00800000") +cpp_quote("#define HLNF_TRUSTFIRSTDOWNLOAD 0x01000000") +cpp_quote("#define HLNF_UNTRUSTEDFORDOWNLOAD 0x02000000") +cpp_quote("#define SHHLNF_NOAUTOSELECT 0x04000000") +cpp_quote("#define SHHLNF_WRITENOHISTORY 0x08000000") +cpp_quote("#define HLNF_EXTERNALNAVIGATE 0x10000000") +cpp_quote("#define HLNF_ALLOW_AUTONAVIGATE 0x20000000") +cpp_quote("#define HLNF_NEWWINDOWSMANAGED 0x80000000") + +[ + local, + object, + uuid(02ba3b52-0547-11d1-b833-00c04fc9b31f) +] +interface IBrowserService : IUnknown +{ + HRESULT GetParentSite( + [out] IOleInPlaceSite **ppipsite); + + HRESULT SetTitle( + [in] IShellView *psv, + [in] LPCWSTR pszName); + + HRESULT GetTitle( + [in] IShellView *psv, + [out, size_is(cchName)] LPWSTR pszName, + [in] DWORD cchName); + + HRESULT GetOleObject( + [out] IOleObject **ppobjv); + + HRESULT GetTravelLog( + [out, optional] ITravelLog **pptl); + + HRESULT ShowControlWindow( + [in] UINT id, + [in] BOOL fShow); + + HRESULT IsControlWindowShown( + [in] UINT id, + [out] BOOL *pfShown); + + HRESULT IEGetDisplayName( + [in] PCIDLIST_ABSOLUTE pidl, + [out] LPWSTR pwszName, + [in] UINT uFlags); + + HRESULT IEParseDisplayName( + [in] UINT uiCP, + [in] LPCWSTR pwszPath, + [out] PIDLIST_ABSOLUTE *ppidlOut); + + HRESULT DisplayParseError( + [in] HRESULT hres, + [in] LPCWSTR pwszPath); + + HRESULT NavigateToPidl( + [in] PCIDLIST_ABSOLUTE pidl, + [in] DWORD grfHLNF); + + HRESULT SetNavigateState( + [in] BNSTATE bnstate); + + HRESULT GetNavigateState( + [out] BNSTATE *pbnstate); + + HRESULT NotifyRedirect( + [in] IShellView *psv, + [in] PCIDLIST_ABSOLUTE pidl, + [out] BOOL *pfDidBrowse); + + HRESULT UpdateWindowList(); + + HRESULT UpdateBackForwardState(); + + HRESULT SetFlags( + [in] DWORD dwFlags, + [in] DWORD dwFlagMask); + + HRESULT GetFlags( + [out] DWORD *pdwFlags); + + HRESULT CanNavigateNow(); + + HRESULT GetPidl( + [out] PIDLIST_ABSOLUTE *ppidl); + + HRESULT SetReferrer( + [in] PCIDLIST_ABSOLUTE pidl); + + DWORD GetBrowserIndex(); + + HRESULT GetBrowserByIndex( + [in] DWORD dwID, + [out] IUnknown **ppunk); + + HRESULT GetHistoryObject( + [out] IOleObject **ppole, + [out] IStream **pstm, + [out] IBindCtx **ppbc); + + HRESULT SetHistoryObject( + [in] IOleObject *pole, + [in] BOOL fIsLocalAnchor); + + HRESULT CacheOLEServer( + [in] IOleObject *pole); + + HRESULT GetSetCodePage( + [in] VARIANT *pvarIn, + [out] VARIANT *pvarOut); + + HRESULT OnHttpEquiv( + [in] IShellView *psv, + [in] BOOL fDone, + [in] VARIANT *pvarargIn, + [out] VARIANT *pvarargOut); + + HRESULT GetPalette( + [out] HPALETTE *hpal); + + HRESULT RegisterWindow( + [in] BOOL fForceRegister, + [in] int swc); +} + +[ + object, + local, + uuid(5836fb00-8187-11cf-a12b-00aa004ae837) +] +interface IShellService : IUnknown +{ + HRESULT SetOwner( [in] IUnknown *pUnk ); +} + +cpp_quote("#if 0") +typedef HANDLE HMONITOR; +cpp_quote("#endif") + +enum { + SECURELOCK_NOCHANGE = -1, + SECURELOCK_SET_UNSECURE = 0, + SECURELOCK_SET_MIXED = 1, + SECURELOCK_SET_SECUREUNKNOWNBIT = 2, + SECURELOCK_SET_SECURE40BIT = 3, + SECURELOCK_SET_SECURE56BIT = 4, + SECURELOCK_SET_FORTEZZA = 5, + SECURELOCK_SET_SECURE128BIT = 6, + SECURELOCK_FIRSTSUGGEST = 7, + SECURELOCK_SUGGEST_UNSECURE = SECURELOCK_FIRSTSUGGEST, + SECURELOCK_SUGGEST_MIXED = 8, + SECURELOCK_SUGGEST_SECUREUNKNOWNBIT = 9, + SECURELOCK_SUGGEST_SECURE40BIT = 10, + SECURELOCK_SUGGEST_SECURE56BIT = 11, + SECURELOCK_SUGGEST_FORTEZZA = 12, + SECURELOCK_SUGGEST_SECURE128BIT = 13, +}; + + +typedef struct { + HWND _hwnd; + ITravelLog *_ptl; + IHlinkFrame *_phlf; + IWebBrowser2 *_pautoWB2; + IExpDispSupport *_pautoEDS; + IShellService *_pautoSS; + int _eSecureLockIcon; + DWORD _fCreatingViewWindow; + UINT _uActivateState; + + LPCITEMIDLIST _pidlNewShellView; + + IOleCommandTarget *_pctView; + + LPITEMIDLIST _pidlCur; + IShellView *_psv; + IShellFolder *_psf; + HWND _hwndView; + LPWSTR _pszTitleCur; + + LPITEMIDLIST _pidlPending; + IShellView *_psvPending; + IShellFolder *_psfPending; + HWND _hwndViewPending; + LPWSTR _pszTitlePending; + + BOOL _fIsViewMSHTML; + BOOL _fPrivacyImpacted; + +} BASEBROWSERDATA, *LPBASEBROWSERDATA; +typedef const BASEBROWSERDATA *LPCBASEBROWSERDATA; + +cpp_quote("#define VIEW_PRIORITY_RESTRICTED 0x00000070") +cpp_quote("#define VIEW_PRIORITY_CACHEHIT 0x00000050") +cpp_quote("#define VIEW_PRIORITY_STALECACHEHIT 0x00000045") +cpp_quote("#define VIEW_PRIORITY_USEASDEFAULT 0x00000043") +cpp_quote("#define VIEW_PRIORITY_SHELLEXT 0x00000040") +cpp_quote("#define VIEW_PRIORITY_CACHEMISS 0x00000030") +cpp_quote("#define VIEW_PRIORITY_INHERIT 0x00000020") +cpp_quote("#define VIEW_PRIORITY_SHELLEXT_ASBACKUP 0x0015") +cpp_quote("#define VIEW_PRIORITY_DESPERATE 0x00000010") +cpp_quote("#define VIEW_PRIORITY_NONE 0x00000000") + +typedef struct tagFolderSetData { + FOLDERSETTINGS _fs; + SHELLVIEWID _vidRestore; + DWORD _dwViewPriority; +} FOLDERSETDATA, *LPFOLDERSETDATA; + +typedef struct SToolbarItem { + IDockingWindow *ptbar; + BORDERWIDTHS rcBorderTool; + LPWSTR pwszItem; + BOOL fShow; + HMONITOR hMon; +} TOOLBARITEM, *LPTOOLBARITEM; + +cpp_quote("#define ITB_VIEW ((UINT)-1)") + +[ + local, + object, + uuid(68BD21CC-438B-11d2-A560-00A0C92DBFE8) +] +interface IBrowserService2 : IBrowserService +{ + LRESULT WndProcBS( + [in] HWND hwnd, + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT SetAsDefFolderSettings(); + + HRESULT GetViewRect( + [in, out] RECT *prc); + + HRESULT OnSize( + [in] WPARAM wParam); + + HRESULT OnCreate( + [in] struct tagCREATESTRUCTW *pcs); + + LRESULT OnCommand( + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT OnDestroy(); + + LRESULT OnNotify( + [in, out] struct tagNMHDR *pnm); + + HRESULT OnSetFocus(); + + HRESULT OnFrameWindowActivateBS( + [in] BOOL fActive); + + HRESULT ReleaseShellView(); + + HRESULT ActivatePendingView(); + + HRESULT CreateViewWindow( + [in] IShellView *psvNew, + [in] IShellView *psvOld, + [out] LPRECT prcView, + [out] HWND *phwnd); + + HRESULT CreateBrowserPropSheetExt( + [in] REFIID riid, + [out] void **ppv); + + HRESULT GetViewWindow( + [out] HWND *phwndView); + + HRESULT GetBaseBrowserData( + [in, out] LPCBASEBROWSERDATA *pbbd); + + LPBASEBROWSERDATA PutBaseBrowserData(); + + HRESULT InitializeTravelLog( + [in] ITravelLog *ptl, + [in] DWORD dw); + + HRESULT SetTopBrowser(); + + HRESULT Offline( + [in] int iCmd); + + HRESULT AllowViewResize( + [in] BOOL f); + + HRESULT SetActivateState( + [in] UINT u); + + HRESULT UpdateSecureLockIcon( + [in] int eSecureLock); + + HRESULT InitializeDownloadManager(); + + HRESULT InitializeTransitionSite(); + + HRESULT _Initialize( + [in] HWND hwnd, + [in] IUnknown *pauto); + + HRESULT _CancelPendingNavigationAsync(); + + HRESULT _CancelPendingView(); + + HRESULT _MaySaveChanges(); + + HRESULT _PauseOrResumeView( + [in] BOOL fPaused); + + HRESULT _DisableModeless(); + + HRESULT _NavigateToPidl( + [in] LPCITEMIDLIST pidl, + [in] DWORD grfHLNF, + [in] DWORD dwFlags); + + HRESULT _TryShell2Rename( + [in] IShellView *psv, + [in] LPCITEMIDLIST pidlNew); + + HRESULT _SwitchActivationNow(); + + HRESULT _ExecChildren( + [in] IUnknown *punkBar, + [in] BOOL fBroadcast, + [in] const GUID *pguidCmdGroup, + [in] DWORD nCmdID, + [in] DWORD nCmdexecopt, + [in] VARIANTARG *pvarargIn, + [in, out] VARIANTARG *pvarargOut); + + HRESULT _SendChildren( + [in] HWND hwndBar, + [in] BOOL fBroadcast, + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT GetFolderSetData( + [in, out] struct tagFolderSetData *pfsd); + + HRESULT _OnFocusChange( + [in] UINT itb); + + HRESULT v_ShowHideChildWindows( + [in] BOOL fChildOnly); + + UINT _get_itbLastFocus(); + + HRESULT _put_itbLastFocus( + [in] UINT itbLastFocus); + + HRESULT _UIActivateView( + [in] UINT uState); + + HRESULT _GetViewBorderRect( + [in, out] RECT* prc); + + HRESULT _UpdateViewRectSize(); + + HRESULT _ResizeNextBorder( + [in] UINT itb); + + HRESULT _ResizeView(); + + HRESULT _GetEffectiveClientArea( + [in, out] LPRECT lprectBorder, + [in] HMONITOR hmon); + + IStream* v_GetViewStream( + [in] LPCITEMIDLIST pidl, + [in] DWORD grfMode, + [in] LPCWSTR pwszName); + + LRESULT ForwardViewMsg( + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT SetAcceleratorMenu( + [in] HACCEL hacc); + + int _GetToolbarCount(); + + LPTOOLBARITEM _GetToolbarItem( + [in] int itb); + + HRESULT _SaveToolbars( + [in] IStream *pstm); + + HRESULT _LoadToolbars( + [in] IStream *pstm); + + HRESULT _CloseAndReleaseToolbars( + [in] BOOL fClose); + + HRESULT v_MayGetNextToolbarFocus( + [in] LPMSG lpMsg, + [in] UINT itbNext, + [in] int citb, + [out] LPTOOLBARITEM *pptbi, + [out] HWND *phwnd); + + HRESULT _ResizeNextBorderHelper( + [in] UINT itb, + [in] BOOL bUseHmonitor); + + UINT _FindTBar( + [in] IUnknown *punkSrc); + + HRESULT _SetFocus( + [in] LPTOOLBARITEM ptbi, + [in] HWND hwnd, + [in] LPMSG lpMsg); + + HRESULT v_MayTranslateAccelerator( + [in] MSG* pmsg); + + HRESULT _GetBorderDWHelper( + [in] IUnknown *punkSrc, + [in] LPRECT lprectBorder, + [in] BOOL bUseHmonitor); + + HRESULT v_CheckZoneCrossing( + [in, out] LPCITEMIDLIST pidl); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdispid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdispid.h new file mode 100644 index 0000000..5b3fc40 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shdispid.h @@ -0,0 +1,30 @@ +/* + * DispIds for Shell Interfaces + * + * Copyright (C) 2008 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _SHDISPID_H_ +#define _SHDISPID_H_ + +#define DISPID_SELECTIONCHANGED 200 +#define DISPID_FILELISTENUMDONE 201 +#define DISPID_VERBINVOKED 202 +#define DISPID_DEFAULTVERBINVOKED 203 +#define DISPID_BEGINDRAG 204 + +#endif /* defined _SHDISPID_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shellapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shellapi.h new file mode 100644 index 0000000..eb09937 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shellapi.h @@ -0,0 +1,673 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SHELLAPI_H +#define __WINE_SHELLAPI_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef _WIN64 +#include +#endif + +DECLARE_HANDLE(HDROP); + +/****************************************** + * DragObject + */ + +typedef struct _DRAGINFOA +{ UINT uSize; + POINT pt; + BOOL fNC; + LPSTR lpFileList; + DWORD grfKeyState; +} DRAGINFOA, *LPDRAGINFOA; + +typedef struct _DRAGINFOW +{ UINT uSize; + POINT pt; + BOOL fNC; + LPWSTR lpFileList; + DWORD grfKeyState; +} DRAGINFOW, *LPDRAGINFOW; + +DECL_WINELIB_TYPE_AW(DRAGINFO) +DECL_WINELIB_TYPE_AW(LPDRAGINFO) + +void WINAPI DragAcceptFiles(HWND hWnd, BOOL b); +UINT WINAPI DragQueryFileA(HDROP hDrop, UINT lFile, LPSTR lpszFile, UINT lLength); +UINT WINAPI DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszFile, UINT lLength); +#define DragQueryFile WINELIB_NAME_AW(DragQueryFile) +void WINAPI DragFinish(HDROP h); +BOOL WINAPI DragQueryPoint(HDROP hDrop, POINT *p); + + + +/****************************************** + * Application Bar + */ +#define ABM_NEW 0x00000000 +#define ABM_REMOVE 0x00000001 +#define ABM_QUERYPOS 0x00000002 +#define ABM_SETPOS 0x00000003 +#define ABM_GETSTATE 0x00000004 +#define ABM_GETTASKBARPOS 0x00000005 +#define ABM_ACTIVATE 0x00000006 +#define ABM_GETAUTOHIDEBAR 0x00000007 +#define ABM_SETAUTOHIDEBAR 0x00000008 +#define ABM_WINDOWPOSCHANGED 0x00000009 + +#define ABN_STATECHANGE 0x00000000 +#define ABN_POSCHANGED 0x00000001 +#define ABN_FULLSCREENAPP 0x00000002 +#define ABN_WINDOWARRANGE 0x00000003 + +#define ABS_AUTOHIDE 0x00000001 +#define ABS_ALWAYSONTOP 0x00000002 + +#define ABE_LEFT 0 +#define ABE_TOP 1 +#define ABE_RIGHT 2 +#define ABE_BOTTOM 3 + +typedef struct _AppBarData +{ DWORD cbSize; + HWND hWnd; + UINT uCallbackMessage; + UINT uEdge; + RECT rc; + LPARAM lParam; +} APPBARDATA, *PAPPBARDATA; + +UINT_PTR WINAPI SHAppBarMessage(DWORD,PAPPBARDATA); + +/****************************************** + * SHGetFileInfo + */ + +#define SHGFI_LARGEICON 0x000000000 /* get large icon */ +#define SHGFI_SMALLICON 0x000000001 /* get small icon */ +#define SHGFI_OPENICON 0x000000002 /* get open icon */ +#define SHGFI_SHELLICONSIZE 0x000000004 /* get shell size icon */ +#define SHGFI_PIDL 0x000000008 /* pszPath is a pidl */ +#define SHGFI_USEFILEATTRIBUTES 0x000000010 /* use passed dwFileAttribute */ +#define SHGFI_ADDOVERLAYS 0x000000020 +#define SHGFI_OVERLAYINDEX 0x000000040 +#define SHGFI_ICON 0x000000100 /* get icon */ +#define SHGFI_DISPLAYNAME 0x000000200 /* get display name */ +#define SHGFI_TYPENAME 0x000000400 /* get type name */ +#define SHGFI_ATTRIBUTES 0x000000800 /* get attributes */ +#define SHGFI_ICONLOCATION 0x000001000 /* get icon location */ +#define SHGFI_EXETYPE 0x000002000 /* return exe type */ +#define SHGFI_SYSICONINDEX 0x000004000 /* get system icon index */ +#define SHGFI_LINKOVERLAY 0x000008000 /* put a link overlay on icon */ +#define SHGFI_SELECTED 0x000010000 /* show icon in selected state */ +#define SHGFI_ATTR_SPECIFIED 0x000020000 /* get only specified attributes */ + +typedef struct tagSHFILEINFOA +{ HICON hIcon; /* icon */ + int iIcon; /* icon index */ + DWORD dwAttributes; /* SFGAO_ flags */ + CHAR szDisplayName[MAX_PATH];/* display name (or path) */ + CHAR szTypeName[80]; /* type name */ +} SHFILEINFOA; + +typedef struct tagSHFILEINFOW +{ HICON hIcon; /* icon */ + int iIcon; /* icon index */ + DWORD dwAttributes; /* SFGAO_ flags */ + WCHAR szDisplayName[MAX_PATH];/* display name (or path) */ + WCHAR szTypeName[80]; /* type name */ +} SHFILEINFOW; + +DECL_WINELIB_TYPE_AW(SHFILEINFO) + +DWORD_PTR WINAPI SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT); +DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT); +#define SHGetFileInfo WINELIB_NAME_AW(SHGetFileInfo) + +/****************************************** + * SHGetImageList + */ + +HRESULT WINAPI SHGetImageList(INT, REFIID, void **); + +#define SHIL_LARGE 0x0 +#define SHIL_SMALL 0x1 +#define SHIL_EXTRALARGE 0x2 +#define SHIL_SYSSMALL 0x3 +#define SHIL_JUMBO 0x4 +#define SHIL_LAST SHIL_JUMBO + +/****************************************** + * SHSetFileInfo + */ + +/****************************************** +* SHFileOperation +*/ +#define FO_MOVE 0x0001 +#define FO_COPY 0x0002 +#define FO_DELETE 0x0003 +#define FO_RENAME 0x0004 + +#define FOF_MULTIDESTFILES 0x0001 +#define FOF_CONFIRMMOUSE 0x0002 +#define FOF_SILENT 0x0004 +#define FOF_RENAMEONCOLLISION 0x0008 +#define FOF_NOCONFIRMATION 0x0010 +#define FOF_WANTMAPPINGHANDLE 0x0020 +#define FOF_ALLOWUNDO 0x0040 +#define FOF_FILESONLY 0x0080 +#define FOF_SIMPLEPROGRESS 0x0100 +#define FOF_NOCONFIRMMKDIR 0x0200 +#define FOF_NOERRORUI 0x0400 +#define FOF_NOCOPYSECURITYATTRIBS 0x0800 +#define FOF_NORECURSION 0x1000 /* don't do recursion into directories */ +#define FOF_NO_CONNECTED_ELEMENTS 0x2000 /* don't do connected files */ +#define FOF_WANTNUKEWARNING 0x4000 /* during delete operation, warn if delete instead + of recycling (even if FOF_NOCONFIRMATION) */ +#define FOF_NORECURSEREPARSE 0x8000 /* don't do recursion into reparse points */ +#define FOF_NO_UI (FOF_SILENT | FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_NOCONFIRMMKDIR) + +typedef WORD FILEOP_FLAGS; + +#define PO_DELETE 0x0013 +#define PO_RENAME 0x0014 +#define PO_PORTCHANGE 0x0020 +#define PO_REN_PORT (PO_RENAME | PO_PORTCHANGE) + +typedef WORD PRINTEROP_FLAGS; + +typedef struct _SHFILEOPSTRUCTA +{ HWND hwnd; + UINT wFunc; + LPCSTR pFrom; + LPCSTR pTo; + FILEOP_FLAGS fFlags; + BOOL fAnyOperationsAborted; + LPVOID hNameMappings; + LPCSTR lpszProgressTitle; +} SHFILEOPSTRUCTA, *LPSHFILEOPSTRUCTA; + +typedef struct _SHFILEOPSTRUCTW +{ HWND hwnd; + UINT wFunc; + LPCWSTR pFrom; + LPCWSTR pTo; + FILEOP_FLAGS fFlags; + BOOL fAnyOperationsAborted; + LPVOID hNameMappings; + LPCWSTR lpszProgressTitle; +} SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW; + +#define SHFILEOPSTRUCT WINELIB_NAME_AW(SHFILEOPSTRUCT) +#define LPSHFILEOPSTRUCT WINELIB_NAME_AW(LPSHFILEOPSTRUCT) + +int WINAPI SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp); +int WINAPI SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp); +#define SHFileOperation WINELIB_NAME_AW(SHFileOperation) + +typedef struct _SHNAMEMAPPINGA +{ + LPSTR pszOldPath; + LPSTR pszNewPath; + int cchOldPath; + int cchNewPath; +} SHNAMEMAPPINGA, *LPSHNAMEMAPPINGA; + +typedef struct _SHNAMEMAPPINGW +{ + LPWSTR pszOldPath; + LPWSTR pszNewPath; + int cchOldPath; + int cchNewPath; +} SHNAMEMAPPINGW, *LPSHNAMEMAPPINGW; + +DECL_WINELIB_TYPE_AW(SHNAMEMAPPING) +DECL_WINELIB_TYPE_AW(LPSHNAMEMAPPING) + +void WINAPI SHFreeNameMappings(HANDLE hNameMappings); + +/****************************************** + * ShellExecute + */ + +HINSTANCE WINAPI ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT); +HINSTANCE WINAPI ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT); +#define ShellExecute WINELIB_NAME_AW(ShellExecute) + +#define SE_ERR_FNF 2 /* file not found */ +#define SE_ERR_PNF 3 /* path not found */ +#define SE_ERR_ACCESSDENIED 5 /* access denied */ +#define SE_ERR_OOM 8 /* out of memory */ +#define SE_ERR_DLLNOTFOUND 32 +#define SE_ERR_SHARE 26 +#define SE_ERR_ASSOCINCOMPLETE 27 +#define SE_ERR_DDETIMEOUT 28 +#define SE_ERR_DDEFAIL 29 +#define SE_ERR_DDEBUSY 30 +#define SE_ERR_NOASSOC 31 + +#define SEE_MASK_DEFAULT 0x00000000 +#define SEE_MASK_CLASSNAME 0x00000001 +#define SEE_MASK_CLASSKEY 0x00000003 +#define SEE_MASK_IDLIST 0x00000004 +#define SEE_MASK_INVOKEIDLIST 0x0000000c +#define SEE_MASK_ICON 0x00000010 +#define SEE_MASK_HOTKEY 0x00000020 +#define SEE_MASK_NOCLOSEPROCESS 0x00000040 +#define SEE_MASK_CONNECTNETDRV 0x00000080 +#define SEE_MASK_NOASYNC 0x00000100 +#define SEE_MASK_FLAG_DDEWAIT SEE_MASK_NOASYNC +#define SEE_MASK_DOENVSUBST 0x00000200 +#define SEE_MASK_FLAG_NO_UI 0x00000400 +#define SEE_MASK_UNICODE 0x00004000 +#define SEE_MASK_NO_CONSOLE 0x00008000 +#define SEE_MASK_ASYNCOK 0x00100000 +#define SEE_MASK_HMONITOR 0x00200000 +#define SEE_MASK_NOZONECHECKS 0x00800000 +#define SEE_MASK_NOQUERYCLASSSTORE 0x01000000 +#define SEE_MASK_WAITFORINPUTIDLE 0x02000000 +#define SEE_MASK_FLAG_LOG_USAGE 0x04000000 + +typedef struct _SHELLEXECUTEINFOA +{ DWORD cbSize; + ULONG fMask; + HWND hwnd; + LPCSTR lpVerb; + LPCSTR lpFile; + LPCSTR lpParameters; + LPCSTR lpDirectory; + INT nShow; + HINSTANCE hInstApp; + /* Optional fields */ + LPVOID lpIDList; + LPCSTR lpClass; + HKEY hkeyClass; + DWORD dwHotKey; + union + { HANDLE hIcon; + HANDLE hMonitor; + } DUMMYUNIONNAME; + HANDLE hProcess; +} SHELLEXECUTEINFOA, *LPSHELLEXECUTEINFOA; + +typedef struct _SHELLEXECUTEINFOW +{ DWORD cbSize; + ULONG fMask; + HWND hwnd; + LPCWSTR lpVerb; + LPCWSTR lpFile; + LPCWSTR lpParameters; + LPCWSTR lpDirectory; + INT nShow; + HINSTANCE hInstApp; + /* Optional fields*/ + LPVOID lpIDList; + LPCWSTR lpClass; + HKEY hkeyClass; + DWORD dwHotKey; + union + { HANDLE hIcon; + HANDLE hMonitor; + } DUMMYUNIONNAME; + HANDLE hProcess; +} SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW; + +#define SHELLEXECUTEINFO WINELIB_NAME_AW(SHELLEXECUTEINFO) +#define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO) + +BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo); +BOOL WINAPI ShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo); +#define ShellExecuteEx WINELIB_NAME_AW(ShellExecuteEx) + +void WINAPI WinExecErrorA(HWND hwnd,INT error, LPCSTR lpstrFileName, LPCSTR lpstrTitle); +void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lpstrTitle); +#define WinExecError WINELIB_NAME_AW(WinExecError) + +/****************************************** + * Tray Notification + */ +/* notifyicondata.uFlags values*/ +#define NIF_MESSAGE 0x00000001 +#define NIF_ICON 0x00000002 +#define NIF_TIP 0x00000004 +#define NIF_STATE 0x00000008 +#define NIF_INFO 0x00000010 +#define NIF_GUID 0x00000020 +#define NIF_REALTIME 0x00000040 +#define NIF_SHOWTIP 0x00000080 + +/* notifyicondata.dwState values */ +#define NIS_HIDDEN 0x00000001 +#define NIS_SHAREDICON 0x00000002 + +/* notifyicondata.dwInfoFlags values */ +#define NIIF_NONE 0x00000000 +#define NIIF_INFO 0x00000001 +#define NIIF_WARNING 0x00000002 +#define NIIF_ERROR 0x00000003 +#define NIIF_USER 0x00000004 +#define NIIF_ICONMASK 0x0000000f +#define NIIF_NOSOUND 0x00000010 +#define NIIF_LARGEICON 0x00000020 + +/* dwMessage values */ +#define NIM_ADD 0x00000000 +#define NIM_MODIFY 0x00000001 +#define NIM_DELETE 0x00000002 +#define NIM_SETFOCUS 0x00000003 +#define NIM_SETVERSION 0x00000004 + +#define NOTIFY_VERSION 3 /* supported by Windows 2000 and later */ +#define NOTIFY_VERSION_4 4 /* supported by Windows Vista */ + +/* callback message lParam values */ +#define NIN_SELECT (WM_USER+0) +#define NINF_KEY 1 +#define NIN_KEYSELECT (NIN_SELECT|NINF_KEY) /* WM_USER+1 */ +#define NIN_BALOONSHOW (WM_USER+2) +#define NIN_BALOONHIDE (WM_USER+3) +#define NIN_BALOONTIMEOUT (WM_USER+4) +#define NIN_BALOONCLICK (WM_USER+5) +#define NIN_POPUPOPEN (WM_USER+6) +#define NIN_POPUPCLOSE (WM_USER+7) + +typedef struct _NOTIFYICONDATAA +{ DWORD cbSize; + HWND hWnd; + UINT uID; + UINT uFlags; + UINT uCallbackMessage; + HICON hIcon; + CHAR szTip[128]; + DWORD dwState; + DWORD dwStateMask; + CHAR szInfo[256]; + union { + UINT uTimeout; + UINT uVersion; + } DUMMYUNIONNAME; + CHAR szInfoTitle[64]; + DWORD dwInfoFlags; + GUID guidItem; + HICON hBalloonIcon; +} NOTIFYICONDATAA, *PNOTIFYICONDATAA; + +typedef struct _NOTIFYICONDATAW +{ DWORD cbSize; + HWND hWnd; + UINT uID; + UINT uFlags; + UINT uCallbackMessage; + HICON hIcon; + WCHAR szTip[128]; + DWORD dwState; + DWORD dwStateMask; + WCHAR szInfo[256]; + union { + UINT uTimeout; + UINT uVersion; + } DUMMYUNIONNAME; + WCHAR szInfoTitle[64]; + DWORD dwInfoFlags; + GUID guidItem; + HICON hBalloonIcon; +} NOTIFYICONDATAW, *PNOTIFYICONDATAW; + +DECL_WINELIB_TYPE_AW(NOTIFYICONDATA) +DECL_WINELIB_TYPE_AW(PNOTIFYICONDATA) + +BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData); +BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData); + +#define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon) + +/* pre IE 5.0 */ +#define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64]) +#define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64]) + +/* pre Window XP */ +#define NOTIFYICONDATAA_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAA, guidItem) +#define NOTIFYICONDATAW_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAW, guidItem) + +/* pre Window Vista */ +#define NOTIFYICONDATAA_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAA, hBalloonIcon) +#define NOTIFYICONDATAW_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAW, hBalloonIcon) + + +/****************************************** + * Links + */ + +#define SHGNLI_PIDL 0x01 +#define SHGNLI_PREFIXNAME 0x02 +#define SHGNLI_NOUNIQUE 0x04 +#define SHGNLI_NOLNK 0x08 + +BOOL WINAPI SHGetNewLinkInfoA(LPCSTR,LPCSTR,LPSTR,BOOL*,UINT); +BOOL WINAPI SHGetNewLinkInfoW(LPCWSTR,LPCWSTR,LPWSTR,BOOL*,UINT); +#define SHGetNewLinkInfo WINELIB_NAME_AW(SHGetNewLinkInfo) + +/****************************************** + * Recycle bin + */ + +typedef struct _SHQUERYRBINFO +{ + DWORD cbSize; + DWORDLONG i64Size; + DWORDLONG i64NumItems; +} SHQUERYRBINFO, *LPSHQUERYRBINFO; + +HRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD); +HRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD); +#define SHEmptyRecycleBin WINELIB_NAME_AW(SHEmptyRecycleBin) +HRESULT WINAPI SHQueryRecycleBinA(LPCSTR,LPSHQUERYRBINFO); +HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO); +#define SHQueryRecycleBin WINELIB_NAME_AW(SHQueryRecycleBin) + +/****************************************** + * Misc + */ + +typedef enum +{ + QUNS_NOT_PRESENT = 1, + QUNS_BUSY = 2, + QUNS_RUNNING_D3D_FULL_SCREEN = 3, + QUNS_PRESENTATION_MODE = 4, + QUNS_ACCEPTS_NOTIFICATIONS = 5, + QUNS_QUIET_TIME = 6, + QUNS_APP = 7 +} QUERY_USER_NOTIFICATION_STATE; + +HRESULT WINAPI SHQueryUserNotificationState(QUERY_USER_NOTIFICATION_STATE*); + +typedef enum SHSTOCKICONID +{ + SIID_INVALID=-1, + SIID_DOCNOASSOC, + SIID_DOCASSOC, + SIID_APPLICATION, + SIID_FOLDER, + SIID_FOLDEROPEN, + SIID_DRIVE525, + SIID_DRIVE35, + SIID_DRIVERREMOVE, + SIID_DRIVERFIXED, + SIID_DRIVERNET, + SIID_DRIVERNETDISABLE, + SIID_DRIVERCD, + SIID_DRIVERRAM, + SIID_WORLD, + /* Missing: 14 */ + SIID_SERVER = 15, + SIID_PRINTER, + SIID_MYNETWORK, + /* Missing: 18 - 21 */ + SIID_FIND = 22, + SIID_HELP, + /* Missing: 24 - 27 */ + SIID_SHARE = 28, + SIID_LINK, + SIID_SLOWFILE, + SIID_RECYCLER, + SIID_RECYCLERFULL, + /* Missing: 33 - 39 */ + SIID_MEDIACDAUDIO = 40, + /* Missing: 41 - 46 */ + SIID_LOCK = 47, + /* Missing: 48 */ + SIID_AUTOLIST = 49, + SIID_PRINTERNET, + SIID_SERVERSHARE, + SIID_PRINTERFAX, + SIID_PRINTERFAXNET, + SIID_PRINTERFILE, + SIID_STACK, + SIID_MEDIASVCD, + SIID_STUFFEDFOLDER, + SIID_DRIVEUNKNOWN, + SIID_DRIVEDVD, + SIID_MEDIADVD, + SIID_MEDIADVDRAM, + SIID_MEDIADVDRW, + SIID_MEDIADVDR, + SIID_MEDIADVDROM, + SIID_MEDIACDAUDIOPLUS, + SIID_MEDIACDRW, + SIID_MEDIACDR, + SIID_MEDIACDBURN, + SIID_MEDIABLANKCD, + SIID_MEDIACDROM, + SIID_AUDIOFILES, + SIID_IMAGEFILES, + SIID_VIDEOFILES, + SIID_MIXEDFILES, + SIID_FOLDERBACK, + SIID_FOLDERFRONT, + SIID_SHIELD, + SIID_WARNING, + SIID_INFO, + SIID_ERROR, + SIID_KEY, + SIID_SOFTWARE, + SIID_RENAME, + SIID_DELETE, + SIID_MEDIAAUDIODVD, + SIID_MEDIAMOVIEDVD, + SIID_MEDIAENHANCEDCD, + SIID_MEDIAENHANCEDDVD, + SIID_MEDIAHDDVD, + SIID_MEDIABLUERAY, + SIID_MEDIAVCD, + SIID_MEDIADVDPLUSR, + SIID_MEDIADVDPLUSRW, + SIID_DESKTOPPC, + SIID_MOBILEPC, + SIID_USERS, + SIID_MEDIASMARTMEDIA, + SIID_MEDIACOMPACTFLASH, + SIID_DEVICECELLPHONE, + SIID_DEVICECAMERA, + SIID_DEVICEVIDEOCAMERA, + SIID_DEVICEAUDIOPLAYER, + SIID_NETWORKCONNECT, + SIID_INTERNET, + SIID_ZIPFILE, + SIID_SETTINGS, + /* Missing: 107 - 131 */ + SIID_DRIVEHDDVD = 132, + SIID_DRIVEBD, + SIID_MEDIAHDDVDROM, + SIID_MEDIAHDDVDR, + SIID_MEDIAHDDVDRAM, + SIID_MEDIABDROM, + SIID_MEDIABDR, + SIID_MEDIABDRE, + SIID_CLUSTEREDDRIVE, + /* Missing: 141 - 180 */ + SIID_MAX_ICONS = 181 +}SHSTOCKICONID; + +typedef struct _SHSTOCKICONINFO +{ + DWORD cbSize; + HICON hIcon; + INT iSysImageIndex; + INT iIcon; + WCHAR szPath[MAX_PATH]; +} SHSTOCKICONINFO; + +/* flags for SHGetStockIconInfo */ +#define SHGSI_ICONLOCATION 0 +#define SHGSI_ICON SHGFI_ICON +#define SHGSI_SYSICONINDEX SHGFI_SYSICONINDEX +#define SHGSI_LINKOVERLAY SHGFI_LINKOVERLAY +#define SHGSI_SELECTED SHGFI_SELECTED +#define SHGSI_LARGEICON SHGFI_LARGEICON +#define SHGSI_SMALLICON SHGFI_SMALLICON +#define SHGSI_SHELLICONSIZE SHGFI_SHELLICONSIZE + +HRESULT WINAPI SHGetStockIconInfo(SHSTOCKICONID, UINT, SHSTOCKICONINFO*); +LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*); +HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT); +HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT); +#define ExtractIcon WINELIB_NAME_AW(ExtractIcon) +HICON WINAPI ExtractAssociatedIconA(HINSTANCE,LPSTR,LPWORD); +HICON WINAPI ExtractAssociatedIconW(HINSTANCE,LPWSTR,LPWORD); +#define ExtractAssociatedIcon WINELIB_NAME_AW(ExtractAssociatedIcon) +HICON WINAPI ExtractAssociatedIconExA(HINSTANCE,LPSTR,LPWORD,LPWORD); +HICON WINAPI ExtractAssociatedIconExW(HINSTANCE,LPWSTR,LPWORD,LPWORD); +#define ExtractAssociatedIconEx WINELIB_NAME_AW(ExtractAssociatedIconEx) +UINT WINAPI ExtractIconExA(LPCSTR,INT,HICON*,HICON*,UINT); +UINT WINAPI ExtractIconExW(LPCWSTR,INT,HICON*,HICON*,UINT); +#define ExtractIconEx WINELIB_NAME_AW(ExtractIconEx) +HINSTANCE WINAPI FindExecutableA(LPCSTR,LPCSTR,LPSTR); +HINSTANCE WINAPI FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR); +#define FindExecutable WINELIB_NAME_AW(FindExecutable) +BOOL WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON); +BOOL WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON); +#define ShellAbout WINELIB_NAME_AW(ShellAbout) +int WINAPIV ShellMessageBoxA(HINSTANCE,HWND,LPCSTR,LPCSTR,UINT,...); +int WINAPIV ShellMessageBoxW(HINSTANCE,HWND,LPCWSTR,LPCWSTR,UINT,...); +#define ShellMessageBox WINELIB_NAME_AW(ShellMessageBox) +DWORD WINAPI DoEnvironmentSubstA(LPSTR, UINT); +DWORD WINAPI DoEnvironmentSubstW(LPWSTR, UINT); +#define DoEnvironmentSubst WINELIB_NAME_AW(DoEnvironmentSubst) + +HRESULT WINAPI SHEnumerateUnreadMailAccountsA(HKEY,DWORD,LPSTR,INT); +HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY,DWORD,LPWSTR,INT); +#define SHEnumerateUnreadMailAccounts WINELIB_NAME_AW(SHEnumerateUnreadMailAccounts) + +HRESULT WINAPI SHGetPropertyStoreForWindow(HWND,REFIID,void **); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#ifndef _WIN64 +#include +#endif + +#endif /* __WINE_SHELLAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shimgdata.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shimgdata.h new file mode 100644 index 0000000..6100007 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shimgdata.h @@ -0,0 +1,676 @@ +/*** Autogenerated by WIDL 2.18 from shimgdata.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __shimgdata_h__ +#define __shimgdata_h__ + +/* Forward declarations */ + +#ifndef __IShellImageDataAbort_FWD_DEFINED__ +#define __IShellImageDataAbort_FWD_DEFINED__ +typedef interface IShellImageDataAbort IShellImageDataAbort; +#ifdef __cplusplus +interface IShellImageDataAbort; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellImageData_FWD_DEFINED__ +#define __IShellImageData_FWD_DEFINED__ +typedef interface IShellImageData IShellImageData; +#ifdef __cplusplus +interface IShellImageData; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellImageDataFactory_FWD_DEFINED__ +#define __IShellImageDataFactory_FWD_DEFINED__ +typedef interface IShellImageDataFactory IShellImageDataFactory; +#ifdef __cplusplus +interface IShellImageDataFactory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _GDIPLUSPIXELFORMATS_H +typedef DWORD PixelFormat; +#endif +#ifndef _GDIPLUSENUMS_H +typedef DWORD InterpolationMode; +#endif +#ifndef _GDIPLUSIMAGING_H +typedef BYTE EncoderParameters; +#endif +#ifndef _GDIPLUSHEADERS_H +typedef BYTE Image; +#endif +#define SHIMGDEC_DEFAULT 0x0 +#define SHIMGDEC_THUMBNAIL 0x1 +#define SHIMGDEC_LOADFULL 0x2 +/***************************************************************************** + * IShellImageDataAbort interface + */ +#ifndef __IShellImageDataAbort_INTERFACE_DEFINED__ +#define __IShellImageDataAbort_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellImageDataAbort, 0x53fb8e58, 0x50c0, 0x4003, 0xb4,0xaa, 0x0c,0x8d,0xf2,0x8e,0x7f,0x3a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("53fb8e58-50c0-4003-b4aa-0c8df28e7f3a") +IShellImageDataAbort : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryAbort( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellImageDataAbort, 0x53fb8e58, 0x50c0, 0x4003, 0xb4,0xaa, 0x0c,0x8d,0xf2,0x8e,0x7f,0x3a) +#endif +#else +typedef struct IShellImageDataAbortVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellImageDataAbort *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellImageDataAbort *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellImageDataAbort *This); + + /*** IShellImageDataAbort methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryAbort)( + IShellImageDataAbort *This); + + END_INTERFACE +} IShellImageDataAbortVtbl; + +interface IShellImageDataAbort { + CONST_VTBL IShellImageDataAbortVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellImageDataAbort_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellImageDataAbort_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellImageDataAbort_Release(This) (This)->lpVtbl->Release(This) +/*** IShellImageDataAbort methods ***/ +#define IShellImageDataAbort_QueryAbort(This) (This)->lpVtbl->QueryAbort(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellImageDataAbort_QueryInterface(IShellImageDataAbort* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellImageDataAbort_AddRef(IShellImageDataAbort* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellImageDataAbort_Release(IShellImageDataAbort* This) { + return This->lpVtbl->Release(This); +} +/*** IShellImageDataAbort methods ***/ +static FORCEINLINE HRESULT IShellImageDataAbort_QueryAbort(IShellImageDataAbort* This) { + return This->lpVtbl->QueryAbort(This); +} +#endif +#endif + +#endif + + +#endif /* __IShellImageDataAbort_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellImageData interface + */ +#ifndef __IShellImageData_INTERFACE_DEFINED__ +#define __IShellImageData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellImageData, 0xbfdeec12, 0x8040, 0x4403, 0xa5,0xea, 0x9e,0x07,0xda,0xfc,0xf5,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bfdeec12-8040-4403-a5ea-9e07dafcf530") +IShellImageData : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Decode( + DWORD flags, + ULONG cx_desired, + ULONG cy_desired) = 0; + + virtual HRESULT STDMETHODCALLTYPE Draw( + HDC hdc, + RECT *dest, + RECT *src) = 0; + + virtual HRESULT STDMETHODCALLTYPE NextFrame( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE NextPage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PrevPage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsTransparent( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsAnimated( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsVector( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsMultipage( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEditable( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPrintable( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDecoded( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentPage( + ULONG *page) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPageCount( + ULONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectPage( + ULONG page) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + SIZE *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRawDataFormat( + GUID *format) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPixelFormat( + PixelFormat *format) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDelay( + DWORD *delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperties( + DWORD mode, + IPropertySetStorage **props) = 0; + + virtual HRESULT STDMETHODCALLTYPE Rotate( + DWORD angle) = 0; + + virtual HRESULT STDMETHODCALLTYPE Scale( + ULONG cx, + ULONG cy, + InterpolationMode mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE DiscardEdit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEncoderParams( + IPropertyBag *params) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayName( + LPWSTR name, + UINT count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetResolution( + ULONG *res_x, + ULONG *res_y) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEncoderParams( + GUID *format, + EncoderParameters **params) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterAbort( + IShellImageDataAbort *abort, + IShellImageDataAbort **prev) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloneFrame( + Image **frame) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReplaceFrame( + Image *frame) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellImageData, 0xbfdeec12, 0x8040, 0x4403, 0xa5,0xea, 0x9e,0x07,0xda,0xfc,0xf5,0x30) +#endif +#else +typedef struct IShellImageDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellImageData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellImageData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellImageData *This); + + /*** IShellImageData methods ***/ + HRESULT (STDMETHODCALLTYPE *Decode)( + IShellImageData *This, + DWORD flags, + ULONG cx_desired, + ULONG cy_desired); + + HRESULT (STDMETHODCALLTYPE *Draw)( + IShellImageData *This, + HDC hdc, + RECT *dest, + RECT *src); + + HRESULT (STDMETHODCALLTYPE *NextFrame)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *NextPage)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *PrevPage)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsTransparent)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsAnimated)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsVector)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsMultipage)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsEditable)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsPrintable)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *IsDecoded)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentPage)( + IShellImageData *This, + ULONG *page); + + HRESULT (STDMETHODCALLTYPE *GetPageCount)( + IShellImageData *This, + ULONG *count); + + HRESULT (STDMETHODCALLTYPE *SelectPage)( + IShellImageData *This, + ULONG page); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + IShellImageData *This, + SIZE *size); + + HRESULT (STDMETHODCALLTYPE *GetRawDataFormat)( + IShellImageData *This, + GUID *format); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IShellImageData *This, + PixelFormat *format); + + HRESULT (STDMETHODCALLTYPE *GetDelay)( + IShellImageData *This, + DWORD *delay); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IShellImageData *This, + DWORD mode, + IPropertySetStorage **props); + + HRESULT (STDMETHODCALLTYPE *Rotate)( + IShellImageData *This, + DWORD angle); + + HRESULT (STDMETHODCALLTYPE *Scale)( + IShellImageData *This, + ULONG cx, + ULONG cy, + InterpolationMode mode); + + HRESULT (STDMETHODCALLTYPE *DiscardEdit)( + IShellImageData *This); + + HRESULT (STDMETHODCALLTYPE *SetEncoderParams)( + IShellImageData *This, + IPropertyBag *params); + + HRESULT (STDMETHODCALLTYPE *DisplayName)( + IShellImageData *This, + LPWSTR name, + UINT count); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IShellImageData *This, + ULONG *res_x, + ULONG *res_y); + + HRESULT (STDMETHODCALLTYPE *GetEncoderParams)( + IShellImageData *This, + GUID *format, + EncoderParameters **params); + + HRESULT (STDMETHODCALLTYPE *RegisterAbort)( + IShellImageData *This, + IShellImageDataAbort *abort, + IShellImageDataAbort **prev); + + HRESULT (STDMETHODCALLTYPE *CloneFrame)( + IShellImageData *This, + Image **frame); + + HRESULT (STDMETHODCALLTYPE *ReplaceFrame)( + IShellImageData *This, + Image *frame); + + END_INTERFACE +} IShellImageDataVtbl; + +interface IShellImageData { + CONST_VTBL IShellImageDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellImageData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellImageData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellImageData_Release(This) (This)->lpVtbl->Release(This) +/*** IShellImageData methods ***/ +#define IShellImageData_Decode(This,flags,cx_desired,cy_desired) (This)->lpVtbl->Decode(This,flags,cx_desired,cy_desired) +#define IShellImageData_Draw(This,hdc,dest,src) (This)->lpVtbl->Draw(This,hdc,dest,src) +#define IShellImageData_NextFrame(This) (This)->lpVtbl->NextFrame(This) +#define IShellImageData_NextPage(This) (This)->lpVtbl->NextPage(This) +#define IShellImageData_PrevPage(This) (This)->lpVtbl->PrevPage(This) +#define IShellImageData_IsTransparent(This) (This)->lpVtbl->IsTransparent(This) +#define IShellImageData_IsAnimated(This) (This)->lpVtbl->IsAnimated(This) +#define IShellImageData_IsVector(This) (This)->lpVtbl->IsVector(This) +#define IShellImageData_IsMultipage(This) (This)->lpVtbl->IsMultipage(This) +#define IShellImageData_IsEditable(This) (This)->lpVtbl->IsEditable(This) +#define IShellImageData_IsPrintable(This) (This)->lpVtbl->IsPrintable(This) +#define IShellImageData_IsDecoded(This) (This)->lpVtbl->IsDecoded(This) +#define IShellImageData_GetCurrentPage(This,page) (This)->lpVtbl->GetCurrentPage(This,page) +#define IShellImageData_GetPageCount(This,count) (This)->lpVtbl->GetPageCount(This,count) +#define IShellImageData_SelectPage(This,page) (This)->lpVtbl->SelectPage(This,page) +#define IShellImageData_GetSize(This,size) (This)->lpVtbl->GetSize(This,size) +#define IShellImageData_GetRawDataFormat(This,format) (This)->lpVtbl->GetRawDataFormat(This,format) +#define IShellImageData_GetPixelFormat(This,format) (This)->lpVtbl->GetPixelFormat(This,format) +#define IShellImageData_GetDelay(This,delay) (This)->lpVtbl->GetDelay(This,delay) +#define IShellImageData_GetProperties(This,mode,props) (This)->lpVtbl->GetProperties(This,mode,props) +#define IShellImageData_Rotate(This,angle) (This)->lpVtbl->Rotate(This,angle) +#define IShellImageData_Scale(This,cx,cy,mode) (This)->lpVtbl->Scale(This,cx,cy,mode) +#define IShellImageData_DiscardEdit(This) (This)->lpVtbl->DiscardEdit(This) +#define IShellImageData_SetEncoderParams(This,params) (This)->lpVtbl->SetEncoderParams(This,params) +#define IShellImageData_DisplayName(This,name,count) (This)->lpVtbl->DisplayName(This,name,count) +#define IShellImageData_GetResolution(This,res_x,res_y) (This)->lpVtbl->GetResolution(This,res_x,res_y) +#define IShellImageData_GetEncoderParams(This,format,params) (This)->lpVtbl->GetEncoderParams(This,format,params) +#define IShellImageData_RegisterAbort(This,abort,prev) (This)->lpVtbl->RegisterAbort(This,abort,prev) +#define IShellImageData_CloneFrame(This,frame) (This)->lpVtbl->CloneFrame(This,frame) +#define IShellImageData_ReplaceFrame(This,frame) (This)->lpVtbl->ReplaceFrame(This,frame) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellImageData_QueryInterface(IShellImageData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellImageData_AddRef(IShellImageData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellImageData_Release(IShellImageData* This) { + return This->lpVtbl->Release(This); +} +/*** IShellImageData methods ***/ +static FORCEINLINE HRESULT IShellImageData_Decode(IShellImageData* This,DWORD flags,ULONG cx_desired,ULONG cy_desired) { + return This->lpVtbl->Decode(This,flags,cx_desired,cy_desired); +} +static FORCEINLINE HRESULT IShellImageData_Draw(IShellImageData* This,HDC hdc,RECT *dest,RECT *src) { + return This->lpVtbl->Draw(This,hdc,dest,src); +} +static FORCEINLINE HRESULT IShellImageData_NextFrame(IShellImageData* This) { + return This->lpVtbl->NextFrame(This); +} +static FORCEINLINE HRESULT IShellImageData_NextPage(IShellImageData* This) { + return This->lpVtbl->NextPage(This); +} +static FORCEINLINE HRESULT IShellImageData_PrevPage(IShellImageData* This) { + return This->lpVtbl->PrevPage(This); +} +static FORCEINLINE HRESULT IShellImageData_IsTransparent(IShellImageData* This) { + return This->lpVtbl->IsTransparent(This); +} +static FORCEINLINE HRESULT IShellImageData_IsAnimated(IShellImageData* This) { + return This->lpVtbl->IsAnimated(This); +} +static FORCEINLINE HRESULT IShellImageData_IsVector(IShellImageData* This) { + return This->lpVtbl->IsVector(This); +} +static FORCEINLINE HRESULT IShellImageData_IsMultipage(IShellImageData* This) { + return This->lpVtbl->IsMultipage(This); +} +static FORCEINLINE HRESULT IShellImageData_IsEditable(IShellImageData* This) { + return This->lpVtbl->IsEditable(This); +} +static FORCEINLINE HRESULT IShellImageData_IsPrintable(IShellImageData* This) { + return This->lpVtbl->IsPrintable(This); +} +static FORCEINLINE HRESULT IShellImageData_IsDecoded(IShellImageData* This) { + return This->lpVtbl->IsDecoded(This); +} +static FORCEINLINE HRESULT IShellImageData_GetCurrentPage(IShellImageData* This,ULONG *page) { + return This->lpVtbl->GetCurrentPage(This,page); +} +static FORCEINLINE HRESULT IShellImageData_GetPageCount(IShellImageData* This,ULONG *count) { + return This->lpVtbl->GetPageCount(This,count); +} +static FORCEINLINE HRESULT IShellImageData_SelectPage(IShellImageData* This,ULONG page) { + return This->lpVtbl->SelectPage(This,page); +} +static FORCEINLINE HRESULT IShellImageData_GetSize(IShellImageData* This,SIZE *size) { + return This->lpVtbl->GetSize(This,size); +} +static FORCEINLINE HRESULT IShellImageData_GetRawDataFormat(IShellImageData* This,GUID *format) { + return This->lpVtbl->GetRawDataFormat(This,format); +} +static FORCEINLINE HRESULT IShellImageData_GetPixelFormat(IShellImageData* This,PixelFormat *format) { + return This->lpVtbl->GetPixelFormat(This,format); +} +static FORCEINLINE HRESULT IShellImageData_GetDelay(IShellImageData* This,DWORD *delay) { + return This->lpVtbl->GetDelay(This,delay); +} +static FORCEINLINE HRESULT IShellImageData_GetProperties(IShellImageData* This,DWORD mode,IPropertySetStorage **props) { + return This->lpVtbl->GetProperties(This,mode,props); +} +static FORCEINLINE HRESULT IShellImageData_Rotate(IShellImageData* This,DWORD angle) { + return This->lpVtbl->Rotate(This,angle); +} +static FORCEINLINE HRESULT IShellImageData_Scale(IShellImageData* This,ULONG cx,ULONG cy,InterpolationMode mode) { + return This->lpVtbl->Scale(This,cx,cy,mode); +} +static FORCEINLINE HRESULT IShellImageData_DiscardEdit(IShellImageData* This) { + return This->lpVtbl->DiscardEdit(This); +} +static FORCEINLINE HRESULT IShellImageData_SetEncoderParams(IShellImageData* This,IPropertyBag *params) { + return This->lpVtbl->SetEncoderParams(This,params); +} +static FORCEINLINE HRESULT IShellImageData_DisplayName(IShellImageData* This,LPWSTR name,UINT count) { + return This->lpVtbl->DisplayName(This,name,count); +} +static FORCEINLINE HRESULT IShellImageData_GetResolution(IShellImageData* This,ULONG *res_x,ULONG *res_y) { + return This->lpVtbl->GetResolution(This,res_x,res_y); +} +static FORCEINLINE HRESULT IShellImageData_GetEncoderParams(IShellImageData* This,GUID *format,EncoderParameters **params) { + return This->lpVtbl->GetEncoderParams(This,format,params); +} +static FORCEINLINE HRESULT IShellImageData_RegisterAbort(IShellImageData* This,IShellImageDataAbort *abort,IShellImageDataAbort **prev) { + return This->lpVtbl->RegisterAbort(This,abort,prev); +} +static FORCEINLINE HRESULT IShellImageData_CloneFrame(IShellImageData* This,Image **frame) { + return This->lpVtbl->CloneFrame(This,frame); +} +static FORCEINLINE HRESULT IShellImageData_ReplaceFrame(IShellImageData* This,Image *frame) { + return This->lpVtbl->ReplaceFrame(This,frame); +} +#endif +#endif + +#endif + + +#endif /* __IShellImageData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellImageDataFactory interface + */ +#ifndef __IShellImageDataFactory_INTERFACE_DEFINED__ +#define __IShellImageDataFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellImageDataFactory, 0x9be8ed5c, 0xedab, 0x4d75, 0x90,0xf3, 0xbd,0x5b,0xdb,0xb2,0x1c,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9be8ed5c-edab-4d75-90f3-bd5bdbb21c82") +IShellImageDataFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateIShellImageData( + IShellImageData **data) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateImageFromFile( + LPCWSTR path, + IShellImageData **data) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateImageFromStream( + IStream *stream, + IShellImageData **data) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataFormatFromPath( + LPCWSTR path, + GUID *format) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellImageDataFactory, 0x9be8ed5c, 0xedab, 0x4d75, 0x90,0xf3, 0xbd,0x5b,0xdb,0xb2,0x1c,0x82) +#endif +#else +typedef struct IShellImageDataFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellImageDataFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellImageDataFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellImageDataFactory *This); + + /*** IShellImageDataFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateIShellImageData)( + IShellImageDataFactory *This, + IShellImageData **data); + + HRESULT (STDMETHODCALLTYPE *CreateImageFromFile)( + IShellImageDataFactory *This, + LPCWSTR path, + IShellImageData **data); + + HRESULT (STDMETHODCALLTYPE *CreateImageFromStream)( + IShellImageDataFactory *This, + IStream *stream, + IShellImageData **data); + + HRESULT (STDMETHODCALLTYPE *GetDataFormatFromPath)( + IShellImageDataFactory *This, + LPCWSTR path, + GUID *format); + + END_INTERFACE +} IShellImageDataFactoryVtbl; + +interface IShellImageDataFactory { + CONST_VTBL IShellImageDataFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellImageDataFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellImageDataFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellImageDataFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IShellImageDataFactory methods ***/ +#define IShellImageDataFactory_CreateIShellImageData(This,data) (This)->lpVtbl->CreateIShellImageData(This,data) +#define IShellImageDataFactory_CreateImageFromFile(This,path,data) (This)->lpVtbl->CreateImageFromFile(This,path,data) +#define IShellImageDataFactory_CreateImageFromStream(This,stream,data) (This)->lpVtbl->CreateImageFromStream(This,stream,data) +#define IShellImageDataFactory_GetDataFormatFromPath(This,path,format) (This)->lpVtbl->GetDataFormatFromPath(This,path,format) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellImageDataFactory_QueryInterface(IShellImageDataFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellImageDataFactory_AddRef(IShellImageDataFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellImageDataFactory_Release(IShellImageDataFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IShellImageDataFactory methods ***/ +static FORCEINLINE HRESULT IShellImageDataFactory_CreateIShellImageData(IShellImageDataFactory* This,IShellImageData **data) { + return This->lpVtbl->CreateIShellImageData(This,data); +} +static FORCEINLINE HRESULT IShellImageDataFactory_CreateImageFromFile(IShellImageDataFactory* This,LPCWSTR path,IShellImageData **data) { + return This->lpVtbl->CreateImageFromFile(This,path,data); +} +static FORCEINLINE HRESULT IShellImageDataFactory_CreateImageFromStream(IShellImageDataFactory* This,IStream *stream,IShellImageData **data) { + return This->lpVtbl->CreateImageFromStream(This,stream,data); +} +static FORCEINLINE HRESULT IShellImageDataFactory_GetDataFormatFromPath(IShellImageDataFactory* This,LPCWSTR path,GUID *format) { + return This->lpVtbl->GetDataFormatFromPath(This,path,format); +} +#endif +#endif + +#endif + + +#endif /* __IShellImageDataFactory_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __shimgdata_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shimgdata.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shimgdata.idl new file mode 100644 index 0000000..e913c57 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shimgdata.idl @@ -0,0 +1,100 @@ +/* + * Copyright 2016 Nikolay Sivov For CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "propidl.idl"; + +cpp_quote("#ifndef _GDIPLUSPIXELFORMATS_H") +typedef DWORD PixelFormat; +cpp_quote("#endif") + +cpp_quote("#ifndef _GDIPLUSENUMS_H") +typedef DWORD InterpolationMode; +cpp_quote("#endif") + +cpp_quote("#ifndef _GDIPLUSIMAGING_H") +typedef BYTE EncoderParameters; +cpp_quote("#endif") + +cpp_quote("#ifndef _GDIPLUSHEADERS_H") +typedef BYTE Image; +cpp_quote("#endif") + +cpp_quote("#define SHIMGDEC_DEFAULT 0x0") +cpp_quote("#define SHIMGDEC_THUMBNAIL 0x1") +cpp_quote("#define SHIMGDEC_LOADFULL 0x2") + +[ + object, + uuid(53fb8e58-50c0-4003-b4aa-0c8df28e7f3a) +] +interface IShellImageDataAbort : IUnknown +{ + HRESULT QueryAbort(); +} + +[ + object, + local, + uuid(bfdeec12-8040-4403-a5ea-9e07dafcf530) +] +interface IShellImageData : IUnknown +{ + HRESULT Decode([in] DWORD flags, [in] ULONG cx_desired, [in] ULONG cy_desired); + HRESULT Draw([in] HDC hdc, [in] RECT *dest, [in] RECT *src); + HRESULT NextFrame(); + HRESULT NextPage(); + HRESULT PrevPage(); + HRESULT IsTransparent(); + HRESULT IsAnimated(); + HRESULT IsVector(); + HRESULT IsMultipage(); + HRESULT IsEditable(); + HRESULT IsPrintable(); + HRESULT IsDecoded(); + HRESULT GetCurrentPage([out] ULONG *page); + HRESULT GetPageCount([out] ULONG *count); + HRESULT SelectPage([in] ULONG page); + HRESULT GetSize([out] SIZE *size); + HRESULT GetRawDataFormat([out] GUID *format); + HRESULT GetPixelFormat([out] PixelFormat *format); + HRESULT GetDelay([out] DWORD *delay); + HRESULT GetProperties([in] DWORD mode, [out] IPropertySetStorage **props); + HRESULT Rotate([in] DWORD angle); + HRESULT Scale([in] ULONG cx, [in] ULONG cy, [in] InterpolationMode mode); + HRESULT DiscardEdit(); + HRESULT SetEncoderParams([in] IPropertyBag *params); + HRESULT DisplayName([size_is(count), in, out] LPWSTR name, UINT count); + HRESULT GetResolution([out] ULONG *res_x, [out] ULONG *res_y); + HRESULT GetEncoderParams([in] GUID *format, [out] EncoderParameters **params); + HRESULT RegisterAbort([in] IShellImageDataAbort *abort, [out] IShellImageDataAbort **prev); + HRESULT CloneFrame([out] Image **frame); + HRESULT ReplaceFrame([in] Image *frame); +} + +[ + object, + uuid(9be8ed5c-edab-4d75-90f3-bd5bdbb21c82) +] +interface IShellImageDataFactory : IUnknown +{ + HRESULT CreateIShellImageData([out] IShellImageData **data); + HRESULT CreateImageFromFile([in] LPCWSTR path, [out] IShellImageData **data); + HRESULT CreateImageFromStream([in] IStream *stream, [out] IShellImageData **data); + HRESULT GetDataFormatFromPath([in] LPCWSTR path, [out] GUID *format); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shldisp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shldisp.h new file mode 100644 index 0000000..4927f79 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shldisp.h @@ -0,0 +1,6625 @@ +/*** Autogenerated by WIDL 2.18 from shldisp.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __shldisp_h__ +#define __shldisp_h__ + +/* Forward declarations */ + +#ifndef __IEnumACString_FWD_DEFINED__ +#define __IEnumACString_FWD_DEFINED__ +typedef interface IEnumACString IEnumACString; +#ifdef __cplusplus +interface IEnumACString; +#endif /* __cplusplus */ +#endif + +#ifndef __IAutoComplete_FWD_DEFINED__ +#define __IAutoComplete_FWD_DEFINED__ +typedef interface IAutoComplete IAutoComplete; +#ifdef __cplusplus +interface IAutoComplete; +#endif /* __cplusplus */ +#endif + +#ifndef __IAutoComplete2_FWD_DEFINED__ +#define __IAutoComplete2_FWD_DEFINED__ +typedef interface IAutoComplete2 IAutoComplete2; +#ifdef __cplusplus +interface IAutoComplete2; +#endif /* __cplusplus */ +#endif + +#ifndef __IFolderViewOC_FWD_DEFINED__ +#define __IFolderViewOC_FWD_DEFINED__ +typedef interface IFolderViewOC IFolderViewOC; +#ifdef __cplusplus +interface IFolderViewOC; +#endif /* __cplusplus */ +#endif + +#ifndef __DShellFolderViewEvents_FWD_DEFINED__ +#define __DShellFolderViewEvents_FWD_DEFINED__ +typedef interface DShellFolderViewEvents DShellFolderViewEvents; +#ifdef __cplusplus +interface DShellFolderViewEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __ShellFolderViewOC_FWD_DEFINED__ +#define __ShellFolderViewOC_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellFolderViewOC ShellFolderViewOC; +#else +typedef struct ShellFolderViewOC ShellFolderViewOC; +#endif /* defined __cplusplus */ +#endif /* defined __ShellFolderViewOC_FWD_DEFINED__ */ + +#ifndef __Folder_FWD_DEFINED__ +#define __Folder_FWD_DEFINED__ +typedef interface Folder Folder; +#ifdef __cplusplus +interface Folder; +#endif /* __cplusplus */ +#endif + +#ifndef __Folder2_FWD_DEFINED__ +#define __Folder2_FWD_DEFINED__ +typedef interface Folder2 Folder2; +#ifdef __cplusplus +interface Folder2; +#endif /* __cplusplus */ +#endif + +#ifndef __Folder3_FWD_DEFINED__ +#define __Folder3_FWD_DEFINED__ +typedef interface Folder3 Folder3; +#ifdef __cplusplus +interface Folder3; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItem_FWD_DEFINED__ +#define __FolderItem_FWD_DEFINED__ +typedef interface FolderItem FolderItem; +#ifdef __cplusplus +interface FolderItem; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItem2_FWD_DEFINED__ +#define __FolderItem2_FWD_DEFINED__ +typedef interface FolderItem2 FolderItem2; +#ifdef __cplusplus +interface FolderItem2; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItems_FWD_DEFINED__ +#define __FolderItems_FWD_DEFINED__ +typedef interface FolderItems FolderItems; +#ifdef __cplusplus +interface FolderItems; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItems2_FWD_DEFINED__ +#define __FolderItems2_FWD_DEFINED__ +typedef interface FolderItems2 FolderItems2; +#ifdef __cplusplus +interface FolderItems2; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItems3_FWD_DEFINED__ +#define __FolderItems3_FWD_DEFINED__ +typedef interface FolderItems3 FolderItems3; +#ifdef __cplusplus +interface FolderItems3; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItemVerb_FWD_DEFINED__ +#define __FolderItemVerb_FWD_DEFINED__ +typedef interface FolderItemVerb FolderItemVerb; +#ifdef __cplusplus +interface FolderItemVerb; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItemVerbs_FWD_DEFINED__ +#define __FolderItemVerbs_FWD_DEFINED__ +typedef interface FolderItemVerbs FolderItemVerbs; +#ifdef __cplusplus +interface FolderItemVerbs; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellDispatch_FWD_DEFINED__ +#define __IShellDispatch_FWD_DEFINED__ +typedef interface IShellDispatch IShellDispatch; +#ifdef __cplusplus +interface IShellDispatch; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellDispatch2_FWD_DEFINED__ +#define __IShellDispatch2_FWD_DEFINED__ +typedef interface IShellDispatch2 IShellDispatch2; +#ifdef __cplusplus +interface IShellDispatch2; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellDispatch3_FWD_DEFINED__ +#define __IShellDispatch3_FWD_DEFINED__ +typedef interface IShellDispatch3 IShellDispatch3; +#ifdef __cplusplus +interface IShellDispatch3; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellDispatch4_FWD_DEFINED__ +#define __IShellDispatch4_FWD_DEFINED__ +typedef interface IShellDispatch4 IShellDispatch4; +#ifdef __cplusplus +interface IShellDispatch4; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellDispatch5_FWD_DEFINED__ +#define __IShellDispatch5_FWD_DEFINED__ +typedef interface IShellDispatch5 IShellDispatch5; +#ifdef __cplusplus +interface IShellDispatch5; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellDispatch6_FWD_DEFINED__ +#define __IShellDispatch6_FWD_DEFINED__ +typedef interface IShellDispatch6 IShellDispatch6; +#ifdef __cplusplus +interface IShellDispatch6; +#endif /* __cplusplus */ +#endif + +#ifndef __Shell_FWD_DEFINED__ +#define __Shell_FWD_DEFINED__ +#ifdef __cplusplus +typedef class Shell Shell; +#else +typedef struct Shell Shell; +#endif /* defined __cplusplus */ +#endif /* defined __Shell_FWD_DEFINED__ */ + +#ifndef __ShellDispatchInproc_FWD_DEFINED__ +#define __ShellDispatchInproc_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellDispatchInproc ShellDispatchInproc; +#else +typedef struct ShellDispatchInproc ShellDispatchInproc; +#endif /* defined __cplusplus */ +#endif /* defined __ShellDispatchInproc_FWD_DEFINED__ */ + +#ifndef __IShellFolderViewDual_FWD_DEFINED__ +#define __IShellFolderViewDual_FWD_DEFINED__ +typedef interface IShellFolderViewDual IShellFolderViewDual; +#ifdef __cplusplus +interface IShellFolderViewDual; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellFolderViewDual2_FWD_DEFINED__ +#define __IShellFolderViewDual2_FWD_DEFINED__ +typedef interface IShellFolderViewDual2 IShellFolderViewDual2; +#ifdef __cplusplus +interface IShellFolderViewDual2; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellFolderViewDual3_FWD_DEFINED__ +#define __IShellFolderViewDual3_FWD_DEFINED__ +typedef interface IShellFolderViewDual3 IShellFolderViewDual3; +#ifdef __cplusplus +interface IShellFolderViewDual3; +#endif /* __cplusplus */ +#endif + +#ifndef __ShellFolderView_FWD_DEFINED__ +#define __ShellFolderView_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellFolderView ShellFolderView; +#else +typedef struct ShellFolderView ShellFolderView; +#endif /* defined __cplusplus */ +#endif /* defined __ShellFolderView_FWD_DEFINED__ */ + +#ifndef __IAsyncOperation_FWD_DEFINED__ +#define __IAsyncOperation_FWD_DEFINED__ +typedef interface IAsyncOperation IAsyncOperation; +#ifdef __cplusplus +interface IAsyncOperation; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef ShellExecute +#endif +/***************************************************************************** + * IEnumACString interface + */ +#ifndef __IEnumACString_INTERFACE_DEFINED__ +#define __IEnumACString_INTERFACE_DEFINED__ + +typedef IEnumACString *PENUMACSTRING; +typedef IEnumACString *LPENUMACSTRING; +typedef enum _tagACENUMOPTION { + ACEO_NONE = 0x0, + ACEO_MOSTRECENTFIRST = 0x1, + ACEO_FIRSTUNUSED = 0x10000 +} ACENUMOPTION; +DEFINE_GUID(IID_IEnumACString, 0x8e74c210, 0xcf9d, 0x4eaf, 0xa4,0x03, 0x73,0x56,0x42,0x8f,0x0a,0x5a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8e74c210-cf9d-4eaf-a403-7356428f0a5a") +IEnumACString : public IEnumString +{ + virtual HRESULT STDMETHODCALLTYPE NextItem( + LPWSTR pszUrl, + ULONG cchMax, + ULONG *pulSortIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnumOptions( + DWORD dwOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnumOptions( + DWORD *pdwOptions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumACString, 0x8e74c210, 0xcf9d, 0x4eaf, 0xa4,0x03, 0x73,0x56,0x42,0x8f,0x0a,0x5a) +#endif +#else +typedef struct IEnumACStringVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumACString *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumACString *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumACString *This); + + /*** IEnumString methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumACString *This, + ULONG celt, + LPOLESTR *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumACString *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumACString *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumACString *This, + IEnumString **ppenum); + + /*** IEnumACString methods ***/ + HRESULT (STDMETHODCALLTYPE *NextItem)( + IEnumACString *This, + LPWSTR pszUrl, + ULONG cchMax, + ULONG *pulSortIndex); + + HRESULT (STDMETHODCALLTYPE *SetEnumOptions)( + IEnumACString *This, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *GetEnumOptions)( + IEnumACString *This, + DWORD *pdwOptions); + + END_INTERFACE +} IEnumACStringVtbl; + +interface IEnumACString { + CONST_VTBL IEnumACStringVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumACString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumACString_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumACString_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumString methods ***/ +#define IEnumACString_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumACString_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumACString_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumACString_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +/*** IEnumACString methods ***/ +#define IEnumACString_NextItem(This,pszUrl,cchMax,pulSortIndex) (This)->lpVtbl->NextItem(This,pszUrl,cchMax,pulSortIndex) +#define IEnumACString_SetEnumOptions(This,dwOptions) (This)->lpVtbl->SetEnumOptions(This,dwOptions) +#define IEnumACString_GetEnumOptions(This,pdwOptions) (This)->lpVtbl->GetEnumOptions(This,pdwOptions) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumACString_QueryInterface(IEnumACString* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumACString_AddRef(IEnumACString* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumACString_Release(IEnumACString* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumString methods ***/ +static FORCEINLINE HRESULT IEnumACString_Next(IEnumACString* This,ULONG celt,LPOLESTR *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumACString_Skip(IEnumACString* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumACString_Reset(IEnumACString* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumACString_Clone(IEnumACString* This,IEnumString **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +/*** IEnumACString methods ***/ +static FORCEINLINE HRESULT IEnumACString_NextItem(IEnumACString* This,LPWSTR pszUrl,ULONG cchMax,ULONG *pulSortIndex) { + return This->lpVtbl->NextItem(This,pszUrl,cchMax,pulSortIndex); +} +static FORCEINLINE HRESULT IEnumACString_SetEnumOptions(IEnumACString* This,DWORD dwOptions) { + return This->lpVtbl->SetEnumOptions(This,dwOptions); +} +static FORCEINLINE HRESULT IEnumACString_GetEnumOptions(IEnumACString* This,DWORD *pdwOptions) { + return This->lpVtbl->GetEnumOptions(This,pdwOptions); +} +#endif +#endif + +#endif + + +#endif /* __IEnumACString_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAutoComplete interface + */ +#ifndef __IAutoComplete_INTERFACE_DEFINED__ +#define __IAutoComplete_INTERFACE_DEFINED__ + +typedef IAutoComplete *LPAUTOCOMPLETE; +DEFINE_GUID(IID_IAutoComplete, 0x00bb2762, 0x6a77, 0x11d0, 0xa5,0x35, 0x00,0xc0,0x4f,0xd7,0xd0,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00bb2762-6a77-11d0-a535-00c04fd7d062") +IAutoComplete : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Init( + HWND hwndEdit, + IUnknown *punkACL, + LPCOLESTR pwszRegKeyPath, + LPCOLESTR pwszQuickComplete) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enable( + BOOL fEnable) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAutoComplete, 0x00bb2762, 0x6a77, 0x11d0, 0xa5,0x35, 0x00,0xc0,0x4f,0xd7,0xd0,0x62) +#endif +#else +typedef struct IAutoCompleteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAutoComplete *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAutoComplete *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAutoComplete *This); + + /*** IAutoComplete methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + IAutoComplete *This, + HWND hwndEdit, + IUnknown *punkACL, + LPCOLESTR pwszRegKeyPath, + LPCOLESTR pwszQuickComplete); + + HRESULT (STDMETHODCALLTYPE *Enable)( + IAutoComplete *This, + BOOL fEnable); + + END_INTERFACE +} IAutoCompleteVtbl; + +interface IAutoComplete { + CONST_VTBL IAutoCompleteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAutoComplete_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAutoComplete_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAutoComplete_Release(This) (This)->lpVtbl->Release(This) +/*** IAutoComplete methods ***/ +#define IAutoComplete_Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete) (This)->lpVtbl->Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete) +#define IAutoComplete_Enable(This,fEnable) (This)->lpVtbl->Enable(This,fEnable) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAutoComplete_QueryInterface(IAutoComplete* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAutoComplete_AddRef(IAutoComplete* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAutoComplete_Release(IAutoComplete* This) { + return This->lpVtbl->Release(This); +} +/*** IAutoComplete methods ***/ +static FORCEINLINE HRESULT IAutoComplete_Init(IAutoComplete* This,HWND hwndEdit,IUnknown *punkACL,LPCOLESTR pwszRegKeyPath,LPCOLESTR pwszQuickComplete) { + return This->lpVtbl->Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete); +} +static FORCEINLINE HRESULT IAutoComplete_Enable(IAutoComplete* This,BOOL fEnable) { + return This->lpVtbl->Enable(This,fEnable); +} +#endif +#endif + +#endif + + +#endif /* __IAutoComplete_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAutoComplete2 interface + */ +#ifndef __IAutoComplete2_INTERFACE_DEFINED__ +#define __IAutoComplete2_INTERFACE_DEFINED__ + +typedef IAutoComplete2 *LPAUTOCOMPLETE2; +typedef enum _tagAUTOCOMPLETEOPTIONS { + ACO_NONE = 0x0, + ACO_AUTOSUGGEST = 0x1, + ACO_AUTOAPPEND = 0x2, + ACO_SEARCH = 0x4, + ACO_FILTERPREFIXES = 0x8, + ACO_USETAB = 0x10, + ACO_UPDOWNKEYDROPSLIST = 0x20, + ACO_RTLREADING = 0x40 +} AUTOCOMPLETEOPTIONS; +DEFINE_GUID(IID_IAutoComplete2, 0xeac04bc0, 0x3791, 0x11d2, 0xbb,0x95, 0x00,0x60,0x97,0x7b,0x46,0x4c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eac04bc0-3791-11d2-bb95-0060977b464c") +IAutoComplete2 : public IAutoComplete +{ + virtual HRESULT STDMETHODCALLTYPE SetOptions( + DWORD dwFlag) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOptions( + DWORD *pdwFlag) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAutoComplete2, 0xeac04bc0, 0x3791, 0x11d2, 0xbb,0x95, 0x00,0x60,0x97,0x7b,0x46,0x4c) +#endif +#else +typedef struct IAutoComplete2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAutoComplete2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAutoComplete2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAutoComplete2 *This); + + /*** IAutoComplete methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + IAutoComplete2 *This, + HWND hwndEdit, + IUnknown *punkACL, + LPCOLESTR pwszRegKeyPath, + LPCOLESTR pwszQuickComplete); + + HRESULT (STDMETHODCALLTYPE *Enable)( + IAutoComplete2 *This, + BOOL fEnable); + + /*** IAutoComplete2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetOptions)( + IAutoComplete2 *This, + DWORD dwFlag); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + IAutoComplete2 *This, + DWORD *pdwFlag); + + END_INTERFACE +} IAutoComplete2Vtbl; + +interface IAutoComplete2 { + CONST_VTBL IAutoComplete2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAutoComplete2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAutoComplete2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAutoComplete2_Release(This) (This)->lpVtbl->Release(This) +/*** IAutoComplete methods ***/ +#define IAutoComplete2_Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete) (This)->lpVtbl->Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete) +#define IAutoComplete2_Enable(This,fEnable) (This)->lpVtbl->Enable(This,fEnable) +/*** IAutoComplete2 methods ***/ +#define IAutoComplete2_SetOptions(This,dwFlag) (This)->lpVtbl->SetOptions(This,dwFlag) +#define IAutoComplete2_GetOptions(This,pdwFlag) (This)->lpVtbl->GetOptions(This,pdwFlag) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAutoComplete2_QueryInterface(IAutoComplete2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAutoComplete2_AddRef(IAutoComplete2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAutoComplete2_Release(IAutoComplete2* This) { + return This->lpVtbl->Release(This); +} +/*** IAutoComplete methods ***/ +static FORCEINLINE HRESULT IAutoComplete2_Init(IAutoComplete2* This,HWND hwndEdit,IUnknown *punkACL,LPCOLESTR pwszRegKeyPath,LPCOLESTR pwszQuickComplete) { + return This->lpVtbl->Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete); +} +static FORCEINLINE HRESULT IAutoComplete2_Enable(IAutoComplete2* This,BOOL fEnable) { + return This->lpVtbl->Enable(This,fEnable); +} +/*** IAutoComplete2 methods ***/ +static FORCEINLINE HRESULT IAutoComplete2_SetOptions(IAutoComplete2* This,DWORD dwFlag) { + return This->lpVtbl->SetOptions(This,dwFlag); +} +static FORCEINLINE HRESULT IAutoComplete2_GetOptions(IAutoComplete2* This,DWORD *pdwFlag) { + return This->lpVtbl->GetOptions(This,pdwFlag); +} +#endif +#endif + +#endif + + +#endif /* __IAutoComplete2_INTERFACE_DEFINED__ */ + + +DEFINE_GUID(LIBID_Shell32, 0x50a7e9b0, 0x70ef, 0x11d1, 0xb7,0x5a, 0x00,0xa0,0xc9,0x05,0x64,0xfe); + +/***************************************************************************** + * IFolderViewOC interface + */ +#ifndef __IFolderViewOC_INTERFACE_DEFINED__ +#define __IFolderViewOC_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFolderViewOC, 0x9ba05970, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9ba05970-f6a8-11cf-a442-00a0c90a8f39") +IFolderViewOC : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE SetFolderView( + IDispatch *pdisp) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFolderViewOC, 0x9ba05970, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39) +#endif +#else +typedef struct IFolderViewOCVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFolderViewOC *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFolderViewOC *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFolderViewOC *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFolderViewOC *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFolderViewOC *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFolderViewOC *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFolderViewOC *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFolderViewOC methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFolderView)( + IFolderViewOC *This, + IDispatch *pdisp); + + END_INTERFACE +} IFolderViewOCVtbl; + +interface IFolderViewOC { + CONST_VTBL IFolderViewOCVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFolderViewOC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFolderViewOC_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFolderViewOC_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFolderViewOC_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFolderViewOC_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFolderViewOC_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFolderViewOC_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFolderViewOC methods ***/ +#define IFolderViewOC_SetFolderView(This,pdisp) (This)->lpVtbl->SetFolderView(This,pdisp) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFolderViewOC_QueryInterface(IFolderViewOC* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFolderViewOC_AddRef(IFolderViewOC* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFolderViewOC_Release(IFolderViewOC* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFolderViewOC_GetTypeInfoCount(IFolderViewOC* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFolderViewOC_GetTypeInfo(IFolderViewOC* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFolderViewOC_GetIDsOfNames(IFolderViewOC* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFolderViewOC_Invoke(IFolderViewOC* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFolderViewOC methods ***/ +static FORCEINLINE HRESULT IFolderViewOC_SetFolderView(IFolderViewOC* This,IDispatch *pdisp) { + return This->lpVtbl->SetFolderView(This,pdisp); +} +#endif +#endif + +#endif + + +#endif /* __IFolderViewOC_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * DShellFolderViewEvents dispinterface + */ +#ifndef __DShellFolderViewEvents_DISPINTERFACE_DEFINED__ +#define __DShellFolderViewEvents_DISPINTERFACE_DEFINED__ + +DEFINE_GUID(DIID_DShellFolderViewEvents, 0x62112aa2, 0xebe4, 0x11cf, 0xa5,0xfb, 0x00,0x20,0xaf,0xe7,0x29,0x2d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("62112aa2-ebe4-11cf-a5fb-0020afe7292d") +DShellFolderViewEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DShellFolderViewEvents, 0x62112aa2, 0xebe4, 0x11cf, 0xa5,0xfb, 0x00,0x20,0xaf,0xe7,0x29,0x2d) +#endif +#else +typedef struct DShellFolderViewEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + DShellFolderViewEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + DShellFolderViewEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + DShellFolderViewEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + DShellFolderViewEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + DShellFolderViewEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + DShellFolderViewEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + DShellFolderViewEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} DShellFolderViewEventsVtbl; + +interface DShellFolderViewEvents { + CONST_VTBL DShellFolderViewEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define DShellFolderViewEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define DShellFolderViewEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define DShellFolderViewEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define DShellFolderViewEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define DShellFolderViewEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define DShellFolderViewEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define DShellFolderViewEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT DShellFolderViewEvents_QueryInterface(DShellFolderViewEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG DShellFolderViewEvents_AddRef(DShellFolderViewEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG DShellFolderViewEvents_Release(DShellFolderViewEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT DShellFolderViewEvents_GetTypeInfoCount(DShellFolderViewEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT DShellFolderViewEvents_GetTypeInfo(DShellFolderViewEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT DShellFolderViewEvents_GetIDsOfNames(DShellFolderViewEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT DShellFolderViewEvents_Invoke(DShellFolderViewEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + +#endif /* __DShellFolderViewEvents_DISPINTERFACE_DEFINED__ */ + +/***************************************************************************** + * ShellFolderViewOC coclass + */ + +DEFINE_GUID(CLSID_ShellFolderViewOC, 0x9ba05971, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39); + +#ifdef __cplusplus +class DECLSPEC_UUID("9ba05971-f6a8-11cf-a442-00a0c90a8f39") ShellFolderViewOC; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellFolderViewOC, 0x9ba05971, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39) +#endif +#endif + +#ifndef __FolderItem_FWD_DEFINED__ +#define __FolderItem_FWD_DEFINED__ +typedef interface FolderItem FolderItem; +#ifdef __cplusplus +interface FolderItem; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItems_FWD_DEFINED__ +#define __FolderItems_FWD_DEFINED__ +typedef interface FolderItems FolderItems; +#ifdef __cplusplus +interface FolderItems; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItemVerb_FWD_DEFINED__ +#define __FolderItemVerb_FWD_DEFINED__ +typedef interface FolderItemVerb FolderItemVerb; +#ifdef __cplusplus +interface FolderItemVerb; +#endif /* __cplusplus */ +#endif + +#ifndef __FolderItemVerbs_FWD_DEFINED__ +#define __FolderItemVerbs_FWD_DEFINED__ +typedef interface FolderItemVerbs FolderItemVerbs; +#ifdef __cplusplus +interface FolderItemVerbs; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * Folder interface + */ +#ifndef __Folder_INTERFACE_DEFINED__ +#define __Folder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_Folder, 0xbbcbde60, 0xc3ff, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bbcbde60-c3ff-11ce-8350-444553540000") +Folder : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Title( + BSTR *pbs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ParentFolder( + Folder **ppsf) = 0; + + virtual HRESULT STDMETHODCALLTYPE Items( + FolderItems **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE ParseName( + BSTR bName, + FolderItem **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewFolder( + BSTR bName, + VARIANT vOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveHere( + VARIANT vItem, + VARIANT vOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyHere( + VARIANT vItem, + VARIANT vOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDetailsOf( + VARIANT vItem, + int iColumn, + BSTR *pbs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(Folder, 0xbbcbde60, 0xc3ff, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#else +typedef struct FolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + Folder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + Folder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + Folder *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + Folder *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + Folder *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + Folder *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + Folder *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** Folder methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Title)( + Folder *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + Folder *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + Folder *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_ParentFolder)( + Folder *This, + Folder **ppsf); + + HRESULT (STDMETHODCALLTYPE *Items)( + Folder *This, + FolderItems **ppid); + + HRESULT (STDMETHODCALLTYPE *ParseName)( + Folder *This, + BSTR bName, + FolderItem **ppid); + + HRESULT (STDMETHODCALLTYPE *NewFolder)( + Folder *This, + BSTR bName, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *MoveHere)( + Folder *This, + VARIANT vItem, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *CopyHere)( + Folder *This, + VARIANT vItem, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *GetDetailsOf)( + Folder *This, + VARIANT vItem, + int iColumn, + BSTR *pbs); + + END_INTERFACE +} FolderVtbl; + +interface Folder { + CONST_VTBL FolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define Folder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define Folder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define Folder_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define Folder_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define Folder_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define Folder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define Folder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** Folder methods ***/ +#define Folder_get_Title(This,pbs) (This)->lpVtbl->get_Title(This,pbs) +#define Folder_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define Folder_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define Folder_get_ParentFolder(This,ppsf) (This)->lpVtbl->get_ParentFolder(This,ppsf) +#define Folder_Items(This,ppid) (This)->lpVtbl->Items(This,ppid) +#define Folder_ParseName(This,bName,ppid) (This)->lpVtbl->ParseName(This,bName,ppid) +#define Folder_NewFolder(This,bName,vOptions) (This)->lpVtbl->NewFolder(This,bName,vOptions) +#define Folder_MoveHere(This,vItem,vOptions) (This)->lpVtbl->MoveHere(This,vItem,vOptions) +#define Folder_CopyHere(This,vItem,vOptions) (This)->lpVtbl->CopyHere(This,vItem,vOptions) +#define Folder_GetDetailsOf(This,vItem,iColumn,pbs) (This)->lpVtbl->GetDetailsOf(This,vItem,iColumn,pbs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT Folder_QueryInterface(Folder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG Folder_AddRef(Folder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG Folder_Release(Folder* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT Folder_GetTypeInfoCount(Folder* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT Folder_GetTypeInfo(Folder* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT Folder_GetIDsOfNames(Folder* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT Folder_Invoke(Folder* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** Folder methods ***/ +static FORCEINLINE HRESULT Folder_get_Title(Folder* This,BSTR *pbs) { + return This->lpVtbl->get_Title(This,pbs); +} +static FORCEINLINE HRESULT Folder_get_Application(Folder* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT Folder_get_Parent(Folder* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT Folder_get_ParentFolder(Folder* This,Folder **ppsf) { + return This->lpVtbl->get_ParentFolder(This,ppsf); +} +static FORCEINLINE HRESULT Folder_Items(Folder* This,FolderItems **ppid) { + return This->lpVtbl->Items(This,ppid); +} +static FORCEINLINE HRESULT Folder_ParseName(Folder* This,BSTR bName,FolderItem **ppid) { + return This->lpVtbl->ParseName(This,bName,ppid); +} +static FORCEINLINE HRESULT Folder_NewFolder(Folder* This,BSTR bName,VARIANT vOptions) { + return This->lpVtbl->NewFolder(This,bName,vOptions); +} +static FORCEINLINE HRESULT Folder_MoveHere(Folder* This,VARIANT vItem,VARIANT vOptions) { + return This->lpVtbl->MoveHere(This,vItem,vOptions); +} +static FORCEINLINE HRESULT Folder_CopyHere(Folder* This,VARIANT vItem,VARIANT vOptions) { + return This->lpVtbl->CopyHere(This,vItem,vOptions); +} +static FORCEINLINE HRESULT Folder_GetDetailsOf(Folder* This,VARIANT vItem,int iColumn,BSTR *pbs) { + return This->lpVtbl->GetDetailsOf(This,vItem,iColumn,pbs); +} +#endif +#endif + +#endif + + +#endif /* __Folder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * Folder2 interface + */ +#ifndef __Folder2_INTERFACE_DEFINED__ +#define __Folder2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_Folder2, 0xf0d2d8ef, 0x3890, 0x11d2, 0xbf,0x8b, 0x00,0xc0,0x4f,0xb9,0x36,0x61); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f0d2d8ef-3890-11d2-bf8b-00c04fb93661") +Folder2 : public Folder +{ + virtual HRESULT STDMETHODCALLTYPE get_Self( + FolderItem **ppfi) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OfflineStatus( + LONG *pul) = 0; + + virtual HRESULT STDMETHODCALLTYPE Synchronize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HaveToShowWebViewBarricade( + VARIANT_BOOL *pbHaveToShowWebViewBarricade) = 0; + + virtual HRESULT STDMETHODCALLTYPE DismissedWebViewBarricade( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(Folder2, 0xf0d2d8ef, 0x3890, 0x11d2, 0xbf,0x8b, 0x00,0xc0,0x4f,0xb9,0x36,0x61) +#endif +#else +typedef struct Folder2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + Folder2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + Folder2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + Folder2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + Folder2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + Folder2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + Folder2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + Folder2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** Folder methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Title)( + Folder2 *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + Folder2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + Folder2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_ParentFolder)( + Folder2 *This, + Folder **ppsf); + + HRESULT (STDMETHODCALLTYPE *Items)( + Folder2 *This, + FolderItems **ppid); + + HRESULT (STDMETHODCALLTYPE *ParseName)( + Folder2 *This, + BSTR bName, + FolderItem **ppid); + + HRESULT (STDMETHODCALLTYPE *NewFolder)( + Folder2 *This, + BSTR bName, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *MoveHere)( + Folder2 *This, + VARIANT vItem, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *CopyHere)( + Folder2 *This, + VARIANT vItem, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *GetDetailsOf)( + Folder2 *This, + VARIANT vItem, + int iColumn, + BSTR *pbs); + + /*** Folder2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Self)( + Folder2 *This, + FolderItem **ppfi); + + HRESULT (STDMETHODCALLTYPE *get_OfflineStatus)( + Folder2 *This, + LONG *pul); + + HRESULT (STDMETHODCALLTYPE *Synchronize)( + Folder2 *This); + + HRESULT (STDMETHODCALLTYPE *get_HaveToShowWebViewBarricade)( + Folder2 *This, + VARIANT_BOOL *pbHaveToShowWebViewBarricade); + + HRESULT (STDMETHODCALLTYPE *DismissedWebViewBarricade)( + Folder2 *This); + + END_INTERFACE +} Folder2Vtbl; + +interface Folder2 { + CONST_VTBL Folder2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define Folder2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define Folder2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define Folder2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define Folder2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define Folder2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define Folder2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define Folder2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** Folder methods ***/ +#define Folder2_get_Title(This,pbs) (This)->lpVtbl->get_Title(This,pbs) +#define Folder2_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define Folder2_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define Folder2_get_ParentFolder(This,ppsf) (This)->lpVtbl->get_ParentFolder(This,ppsf) +#define Folder2_Items(This,ppid) (This)->lpVtbl->Items(This,ppid) +#define Folder2_ParseName(This,bName,ppid) (This)->lpVtbl->ParseName(This,bName,ppid) +#define Folder2_NewFolder(This,bName,vOptions) (This)->lpVtbl->NewFolder(This,bName,vOptions) +#define Folder2_MoveHere(This,vItem,vOptions) (This)->lpVtbl->MoveHere(This,vItem,vOptions) +#define Folder2_CopyHere(This,vItem,vOptions) (This)->lpVtbl->CopyHere(This,vItem,vOptions) +#define Folder2_GetDetailsOf(This,vItem,iColumn,pbs) (This)->lpVtbl->GetDetailsOf(This,vItem,iColumn,pbs) +/*** Folder2 methods ***/ +#define Folder2_get_Self(This,ppfi) (This)->lpVtbl->get_Self(This,ppfi) +#define Folder2_get_OfflineStatus(This,pul) (This)->lpVtbl->get_OfflineStatus(This,pul) +#define Folder2_Synchronize(This) (This)->lpVtbl->Synchronize(This) +#define Folder2_get_HaveToShowWebViewBarricade(This,pbHaveToShowWebViewBarricade) (This)->lpVtbl->get_HaveToShowWebViewBarricade(This,pbHaveToShowWebViewBarricade) +#define Folder2_DismissedWebViewBarricade(This) (This)->lpVtbl->DismissedWebViewBarricade(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT Folder2_QueryInterface(Folder2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG Folder2_AddRef(Folder2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG Folder2_Release(Folder2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT Folder2_GetTypeInfoCount(Folder2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT Folder2_GetTypeInfo(Folder2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT Folder2_GetIDsOfNames(Folder2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT Folder2_Invoke(Folder2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** Folder methods ***/ +static FORCEINLINE HRESULT Folder2_get_Title(Folder2* This,BSTR *pbs) { + return This->lpVtbl->get_Title(This,pbs); +} +static FORCEINLINE HRESULT Folder2_get_Application(Folder2* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT Folder2_get_Parent(Folder2* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT Folder2_get_ParentFolder(Folder2* This,Folder **ppsf) { + return This->lpVtbl->get_ParentFolder(This,ppsf); +} +static FORCEINLINE HRESULT Folder2_Items(Folder2* This,FolderItems **ppid) { + return This->lpVtbl->Items(This,ppid); +} +static FORCEINLINE HRESULT Folder2_ParseName(Folder2* This,BSTR bName,FolderItem **ppid) { + return This->lpVtbl->ParseName(This,bName,ppid); +} +static FORCEINLINE HRESULT Folder2_NewFolder(Folder2* This,BSTR bName,VARIANT vOptions) { + return This->lpVtbl->NewFolder(This,bName,vOptions); +} +static FORCEINLINE HRESULT Folder2_MoveHere(Folder2* This,VARIANT vItem,VARIANT vOptions) { + return This->lpVtbl->MoveHere(This,vItem,vOptions); +} +static FORCEINLINE HRESULT Folder2_CopyHere(Folder2* This,VARIANT vItem,VARIANT vOptions) { + return This->lpVtbl->CopyHere(This,vItem,vOptions); +} +static FORCEINLINE HRESULT Folder2_GetDetailsOf(Folder2* This,VARIANT vItem,int iColumn,BSTR *pbs) { + return This->lpVtbl->GetDetailsOf(This,vItem,iColumn,pbs); +} +/*** Folder2 methods ***/ +static FORCEINLINE HRESULT Folder2_get_Self(Folder2* This,FolderItem **ppfi) { + return This->lpVtbl->get_Self(This,ppfi); +} +static FORCEINLINE HRESULT Folder2_get_OfflineStatus(Folder2* This,LONG *pul) { + return This->lpVtbl->get_OfflineStatus(This,pul); +} +static FORCEINLINE HRESULT Folder2_Synchronize(Folder2* This) { + return This->lpVtbl->Synchronize(This); +} +static FORCEINLINE HRESULT Folder2_get_HaveToShowWebViewBarricade(Folder2* This,VARIANT_BOOL *pbHaveToShowWebViewBarricade) { + return This->lpVtbl->get_HaveToShowWebViewBarricade(This,pbHaveToShowWebViewBarricade); +} +static FORCEINLINE HRESULT Folder2_DismissedWebViewBarricade(Folder2* This) { + return This->lpVtbl->DismissedWebViewBarricade(This); +} +#endif +#endif + +#endif + + +#endif /* __Folder2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * Folder3 interface + */ +#ifndef __Folder3_INTERFACE_DEFINED__ +#define __Folder3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_Folder3, 0xa7ae5f64, 0xc4d7, 0x4d7f, 0x93,0x07, 0x4d,0x24,0xee,0x54,0xb8,0x41); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a7ae5f64-c4d7-4d7f-9307-4d24ee54b841") +Folder3 : public Folder2 +{ + virtual HRESULT STDMETHODCALLTYPE get_ShowWebViewBarricade( + VARIANT_BOOL *pbShowWebViewBarricade) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ShowWebViewBarricade( + VARIANT_BOOL bShowWebViewBarricade) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(Folder3, 0xa7ae5f64, 0xc4d7, 0x4d7f, 0x93,0x07, 0x4d,0x24,0xee,0x54,0xb8,0x41) +#endif +#else +typedef struct Folder3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + Folder3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + Folder3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + Folder3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + Folder3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + Folder3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + Folder3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + Folder3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** Folder methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Title)( + Folder3 *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + Folder3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + Folder3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_ParentFolder)( + Folder3 *This, + Folder **ppsf); + + HRESULT (STDMETHODCALLTYPE *Items)( + Folder3 *This, + FolderItems **ppid); + + HRESULT (STDMETHODCALLTYPE *ParseName)( + Folder3 *This, + BSTR bName, + FolderItem **ppid); + + HRESULT (STDMETHODCALLTYPE *NewFolder)( + Folder3 *This, + BSTR bName, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *MoveHere)( + Folder3 *This, + VARIANT vItem, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *CopyHere)( + Folder3 *This, + VARIANT vItem, + VARIANT vOptions); + + HRESULT (STDMETHODCALLTYPE *GetDetailsOf)( + Folder3 *This, + VARIANT vItem, + int iColumn, + BSTR *pbs); + + /*** Folder2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Self)( + Folder3 *This, + FolderItem **ppfi); + + HRESULT (STDMETHODCALLTYPE *get_OfflineStatus)( + Folder3 *This, + LONG *pul); + + HRESULT (STDMETHODCALLTYPE *Synchronize)( + Folder3 *This); + + HRESULT (STDMETHODCALLTYPE *get_HaveToShowWebViewBarricade)( + Folder3 *This, + VARIANT_BOOL *pbHaveToShowWebViewBarricade); + + HRESULT (STDMETHODCALLTYPE *DismissedWebViewBarricade)( + Folder3 *This); + + /*** Folder3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ShowWebViewBarricade)( + Folder3 *This, + VARIANT_BOOL *pbShowWebViewBarricade); + + HRESULT (STDMETHODCALLTYPE *put_ShowWebViewBarricade)( + Folder3 *This, + VARIANT_BOOL bShowWebViewBarricade); + + END_INTERFACE +} Folder3Vtbl; + +interface Folder3 { + CONST_VTBL Folder3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define Folder3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define Folder3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define Folder3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define Folder3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define Folder3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define Folder3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define Folder3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** Folder methods ***/ +#define Folder3_get_Title(This,pbs) (This)->lpVtbl->get_Title(This,pbs) +#define Folder3_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define Folder3_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define Folder3_get_ParentFolder(This,ppsf) (This)->lpVtbl->get_ParentFolder(This,ppsf) +#define Folder3_Items(This,ppid) (This)->lpVtbl->Items(This,ppid) +#define Folder3_ParseName(This,bName,ppid) (This)->lpVtbl->ParseName(This,bName,ppid) +#define Folder3_NewFolder(This,bName,vOptions) (This)->lpVtbl->NewFolder(This,bName,vOptions) +#define Folder3_MoveHere(This,vItem,vOptions) (This)->lpVtbl->MoveHere(This,vItem,vOptions) +#define Folder3_CopyHere(This,vItem,vOptions) (This)->lpVtbl->CopyHere(This,vItem,vOptions) +#define Folder3_GetDetailsOf(This,vItem,iColumn,pbs) (This)->lpVtbl->GetDetailsOf(This,vItem,iColumn,pbs) +/*** Folder2 methods ***/ +#define Folder3_get_Self(This,ppfi) (This)->lpVtbl->get_Self(This,ppfi) +#define Folder3_get_OfflineStatus(This,pul) (This)->lpVtbl->get_OfflineStatus(This,pul) +#define Folder3_Synchronize(This) (This)->lpVtbl->Synchronize(This) +#define Folder3_get_HaveToShowWebViewBarricade(This,pbHaveToShowWebViewBarricade) (This)->lpVtbl->get_HaveToShowWebViewBarricade(This,pbHaveToShowWebViewBarricade) +#define Folder3_DismissedWebViewBarricade(This) (This)->lpVtbl->DismissedWebViewBarricade(This) +/*** Folder3 methods ***/ +#define Folder3_get_ShowWebViewBarricade(This,pbShowWebViewBarricade) (This)->lpVtbl->get_ShowWebViewBarricade(This,pbShowWebViewBarricade) +#define Folder3_put_ShowWebViewBarricade(This,bShowWebViewBarricade) (This)->lpVtbl->put_ShowWebViewBarricade(This,bShowWebViewBarricade) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT Folder3_QueryInterface(Folder3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG Folder3_AddRef(Folder3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG Folder3_Release(Folder3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT Folder3_GetTypeInfoCount(Folder3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT Folder3_GetTypeInfo(Folder3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT Folder3_GetIDsOfNames(Folder3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT Folder3_Invoke(Folder3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** Folder methods ***/ +static FORCEINLINE HRESULT Folder3_get_Title(Folder3* This,BSTR *pbs) { + return This->lpVtbl->get_Title(This,pbs); +} +static FORCEINLINE HRESULT Folder3_get_Application(Folder3* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT Folder3_get_Parent(Folder3* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT Folder3_get_ParentFolder(Folder3* This,Folder **ppsf) { + return This->lpVtbl->get_ParentFolder(This,ppsf); +} +static FORCEINLINE HRESULT Folder3_Items(Folder3* This,FolderItems **ppid) { + return This->lpVtbl->Items(This,ppid); +} +static FORCEINLINE HRESULT Folder3_ParseName(Folder3* This,BSTR bName,FolderItem **ppid) { + return This->lpVtbl->ParseName(This,bName,ppid); +} +static FORCEINLINE HRESULT Folder3_NewFolder(Folder3* This,BSTR bName,VARIANT vOptions) { + return This->lpVtbl->NewFolder(This,bName,vOptions); +} +static FORCEINLINE HRESULT Folder3_MoveHere(Folder3* This,VARIANT vItem,VARIANT vOptions) { + return This->lpVtbl->MoveHere(This,vItem,vOptions); +} +static FORCEINLINE HRESULT Folder3_CopyHere(Folder3* This,VARIANT vItem,VARIANT vOptions) { + return This->lpVtbl->CopyHere(This,vItem,vOptions); +} +static FORCEINLINE HRESULT Folder3_GetDetailsOf(Folder3* This,VARIANT vItem,int iColumn,BSTR *pbs) { + return This->lpVtbl->GetDetailsOf(This,vItem,iColumn,pbs); +} +/*** Folder2 methods ***/ +static FORCEINLINE HRESULT Folder3_get_Self(Folder3* This,FolderItem **ppfi) { + return This->lpVtbl->get_Self(This,ppfi); +} +static FORCEINLINE HRESULT Folder3_get_OfflineStatus(Folder3* This,LONG *pul) { + return This->lpVtbl->get_OfflineStatus(This,pul); +} +static FORCEINLINE HRESULT Folder3_Synchronize(Folder3* This) { + return This->lpVtbl->Synchronize(This); +} +static FORCEINLINE HRESULT Folder3_get_HaveToShowWebViewBarricade(Folder3* This,VARIANT_BOOL *pbHaveToShowWebViewBarricade) { + return This->lpVtbl->get_HaveToShowWebViewBarricade(This,pbHaveToShowWebViewBarricade); +} +static FORCEINLINE HRESULT Folder3_DismissedWebViewBarricade(Folder3* This) { + return This->lpVtbl->DismissedWebViewBarricade(This); +} +/*** Folder3 methods ***/ +static FORCEINLINE HRESULT Folder3_get_ShowWebViewBarricade(Folder3* This,VARIANT_BOOL *pbShowWebViewBarricade) { + return This->lpVtbl->get_ShowWebViewBarricade(This,pbShowWebViewBarricade); +} +static FORCEINLINE HRESULT Folder3_put_ShowWebViewBarricade(Folder3* This,VARIANT_BOOL bShowWebViewBarricade) { + return This->lpVtbl->put_ShowWebViewBarricade(This,bShowWebViewBarricade); +} +#endif +#endif + +#endif + + +#endif /* __Folder3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItem interface + */ +#ifndef __FolderItem_INTERFACE_DEFINED__ +#define __FolderItem_INTERFACE_DEFINED__ + +typedef FolderItem *LPFOLDERITEM; +DEFINE_GUID(IID_FolderItem, 0xfac32c80, 0xcbe4, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fac32c80-cbe4-11ce-8350-444553540000") +FolderItem : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *pbs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Name( + BSTR bs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *pbs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GetLink( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GetFolder( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsLink( + VARIANT_BOOL *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsFolder( + VARIANT_BOOL *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsFileSystem( + VARIANT_BOOL *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsBrowsable( + VARIANT_BOOL *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ModifyDate( + DATE *pdt) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ModifyDate( + DATE dt) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Size( + LONG *pul) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + BSTR *pbs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Verbs( + FolderItemVerbs **ppfic) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeVerb( + VARIANT vVerb) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItem, 0xfac32c80, 0xcbe4, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#else +typedef struct FolderItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItem *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItem *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItem *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItem *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItem *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItem *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItem *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + FolderItem *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + FolderItem *This, + BSTR bs); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + FolderItem *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *get_GetLink)( + FolderItem *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_GetFolder)( + FolderItem *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_IsLink)( + FolderItem *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_IsFolder)( + FolderItem *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_IsFileSystem)( + FolderItem *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_IsBrowsable)( + FolderItem *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_ModifyDate)( + FolderItem *This, + DATE *pdt); + + HRESULT (STDMETHODCALLTYPE *put_ModifyDate)( + FolderItem *This, + DATE dt); + + HRESULT (STDMETHODCALLTYPE *get_Size)( + FolderItem *This, + LONG *pul); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + FolderItem *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *Verbs)( + FolderItem *This, + FolderItemVerbs **ppfic); + + HRESULT (STDMETHODCALLTYPE *InvokeVerb)( + FolderItem *This, + VARIANT vVerb); + + END_INTERFACE +} FolderItemVtbl; + +interface FolderItem { + CONST_VTBL FolderItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItem_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItem_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItem methods ***/ +#define FolderItem_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItem_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItem_get_Name(This,pbs) (This)->lpVtbl->get_Name(This,pbs) +#define FolderItem_put_Name(This,bs) (This)->lpVtbl->put_Name(This,bs) +#define FolderItem_get_Path(This,pbs) (This)->lpVtbl->get_Path(This,pbs) +#define FolderItem_get_GetLink(This,ppid) (This)->lpVtbl->get_GetLink(This,ppid) +#define FolderItem_get_GetFolder(This,ppid) (This)->lpVtbl->get_GetFolder(This,ppid) +#define FolderItem_get_IsLink(This,pb) (This)->lpVtbl->get_IsLink(This,pb) +#define FolderItem_get_IsFolder(This,pb) (This)->lpVtbl->get_IsFolder(This,pb) +#define FolderItem_get_IsFileSystem(This,pb) (This)->lpVtbl->get_IsFileSystem(This,pb) +#define FolderItem_get_IsBrowsable(This,pb) (This)->lpVtbl->get_IsBrowsable(This,pb) +#define FolderItem_get_ModifyDate(This,pdt) (This)->lpVtbl->get_ModifyDate(This,pdt) +#define FolderItem_put_ModifyDate(This,dt) (This)->lpVtbl->put_ModifyDate(This,dt) +#define FolderItem_get_Size(This,pul) (This)->lpVtbl->get_Size(This,pul) +#define FolderItem_get_Type(This,pbs) (This)->lpVtbl->get_Type(This,pbs) +#define FolderItem_Verbs(This,ppfic) (This)->lpVtbl->Verbs(This,ppfic) +#define FolderItem_InvokeVerb(This,vVerb) (This)->lpVtbl->InvokeVerb(This,vVerb) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItem_QueryInterface(FolderItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItem_AddRef(FolderItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItem_Release(FolderItem* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItem_GetTypeInfoCount(FolderItem* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItem_GetTypeInfo(FolderItem* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItem_GetIDsOfNames(FolderItem* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItem_Invoke(FolderItem* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItem methods ***/ +static FORCEINLINE HRESULT FolderItem_get_Application(FolderItem* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItem_get_Parent(FolderItem* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItem_get_Name(FolderItem* This,BSTR *pbs) { + return This->lpVtbl->get_Name(This,pbs); +} +static FORCEINLINE HRESULT FolderItem_put_Name(FolderItem* This,BSTR bs) { + return This->lpVtbl->put_Name(This,bs); +} +static FORCEINLINE HRESULT FolderItem_get_Path(FolderItem* This,BSTR *pbs) { + return This->lpVtbl->get_Path(This,pbs); +} +static FORCEINLINE HRESULT FolderItem_get_GetLink(FolderItem* This,IDispatch **ppid) { + return This->lpVtbl->get_GetLink(This,ppid); +} +static FORCEINLINE HRESULT FolderItem_get_GetFolder(FolderItem* This,IDispatch **ppid) { + return This->lpVtbl->get_GetFolder(This,ppid); +} +static FORCEINLINE HRESULT FolderItem_get_IsLink(FolderItem* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsLink(This,pb); +} +static FORCEINLINE HRESULT FolderItem_get_IsFolder(FolderItem* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsFolder(This,pb); +} +static FORCEINLINE HRESULT FolderItem_get_IsFileSystem(FolderItem* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsFileSystem(This,pb); +} +static FORCEINLINE HRESULT FolderItem_get_IsBrowsable(FolderItem* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsBrowsable(This,pb); +} +static FORCEINLINE HRESULT FolderItem_get_ModifyDate(FolderItem* This,DATE *pdt) { + return This->lpVtbl->get_ModifyDate(This,pdt); +} +static FORCEINLINE HRESULT FolderItem_put_ModifyDate(FolderItem* This,DATE dt) { + return This->lpVtbl->put_ModifyDate(This,dt); +} +static FORCEINLINE HRESULT FolderItem_get_Size(FolderItem* This,LONG *pul) { + return This->lpVtbl->get_Size(This,pul); +} +static FORCEINLINE HRESULT FolderItem_get_Type(FolderItem* This,BSTR *pbs) { + return This->lpVtbl->get_Type(This,pbs); +} +static FORCEINLINE HRESULT FolderItem_Verbs(FolderItem* This,FolderItemVerbs **ppfic) { + return This->lpVtbl->Verbs(This,ppfic); +} +static FORCEINLINE HRESULT FolderItem_InvokeVerb(FolderItem* This,VARIANT vVerb) { + return This->lpVtbl->InvokeVerb(This,vVerb); +} +#endif +#endif + +#endif + + +#endif /* __FolderItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItem2 interface + */ +#ifndef __FolderItem2_INTERFACE_DEFINED__ +#define __FolderItem2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_FolderItem2, 0xedc817aa, 0x92b8, 0x11d1, 0xb0,0x75, 0x00,0xc0,0x4f,0xc3,0x3a,0xa5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("edc817aa-92b8-11d1-b075-00c04fc33aa5") +FolderItem2 : public FolderItem +{ + virtual HRESULT STDMETHODCALLTYPE InvokeVerbEx( + VARIANT verb, + VARIANT args) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExtendedProperty( + BSTR propname, + VARIANT *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItem2, 0xedc817aa, 0x92b8, 0x11d1, 0xb0,0x75, 0x00,0xc0,0x4f,0xc3,0x3a,0xa5) +#endif +#else +typedef struct FolderItem2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItem2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItem2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItem2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItem2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItem2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItem2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItem2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItem2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItem2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + FolderItem2 *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + FolderItem2 *This, + BSTR bs); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + FolderItem2 *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *get_GetLink)( + FolderItem2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_GetFolder)( + FolderItem2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_IsLink)( + FolderItem2 *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_IsFolder)( + FolderItem2 *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_IsFileSystem)( + FolderItem2 *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_IsBrowsable)( + FolderItem2 *This, + VARIANT_BOOL *pb); + + HRESULT (STDMETHODCALLTYPE *get_ModifyDate)( + FolderItem2 *This, + DATE *pdt); + + HRESULT (STDMETHODCALLTYPE *put_ModifyDate)( + FolderItem2 *This, + DATE dt); + + HRESULT (STDMETHODCALLTYPE *get_Size)( + FolderItem2 *This, + LONG *pul); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + FolderItem2 *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *Verbs)( + FolderItem2 *This, + FolderItemVerbs **ppfic); + + HRESULT (STDMETHODCALLTYPE *InvokeVerb)( + FolderItem2 *This, + VARIANT vVerb); + + /*** FolderItem2 methods ***/ + HRESULT (STDMETHODCALLTYPE *InvokeVerbEx)( + FolderItem2 *This, + VARIANT verb, + VARIANT args); + + HRESULT (STDMETHODCALLTYPE *ExtendedProperty)( + FolderItem2 *This, + BSTR propname, + VARIANT *ret); + + END_INTERFACE +} FolderItem2Vtbl; + +interface FolderItem2 { + CONST_VTBL FolderItem2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItem2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItem2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItem2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItem2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItem2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItem2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItem2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItem methods ***/ +#define FolderItem2_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItem2_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItem2_get_Name(This,pbs) (This)->lpVtbl->get_Name(This,pbs) +#define FolderItem2_put_Name(This,bs) (This)->lpVtbl->put_Name(This,bs) +#define FolderItem2_get_Path(This,pbs) (This)->lpVtbl->get_Path(This,pbs) +#define FolderItem2_get_GetLink(This,ppid) (This)->lpVtbl->get_GetLink(This,ppid) +#define FolderItem2_get_GetFolder(This,ppid) (This)->lpVtbl->get_GetFolder(This,ppid) +#define FolderItem2_get_IsLink(This,pb) (This)->lpVtbl->get_IsLink(This,pb) +#define FolderItem2_get_IsFolder(This,pb) (This)->lpVtbl->get_IsFolder(This,pb) +#define FolderItem2_get_IsFileSystem(This,pb) (This)->lpVtbl->get_IsFileSystem(This,pb) +#define FolderItem2_get_IsBrowsable(This,pb) (This)->lpVtbl->get_IsBrowsable(This,pb) +#define FolderItem2_get_ModifyDate(This,pdt) (This)->lpVtbl->get_ModifyDate(This,pdt) +#define FolderItem2_put_ModifyDate(This,dt) (This)->lpVtbl->put_ModifyDate(This,dt) +#define FolderItem2_get_Size(This,pul) (This)->lpVtbl->get_Size(This,pul) +#define FolderItem2_get_Type(This,pbs) (This)->lpVtbl->get_Type(This,pbs) +#define FolderItem2_Verbs(This,ppfic) (This)->lpVtbl->Verbs(This,ppfic) +#define FolderItem2_InvokeVerb(This,vVerb) (This)->lpVtbl->InvokeVerb(This,vVerb) +/*** FolderItem2 methods ***/ +#define FolderItem2_InvokeVerbEx(This,verb,args) (This)->lpVtbl->InvokeVerbEx(This,verb,args) +#define FolderItem2_ExtendedProperty(This,propname,ret) (This)->lpVtbl->ExtendedProperty(This,propname,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItem2_QueryInterface(FolderItem2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItem2_AddRef(FolderItem2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItem2_Release(FolderItem2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItem2_GetTypeInfoCount(FolderItem2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItem2_GetTypeInfo(FolderItem2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItem2_GetIDsOfNames(FolderItem2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItem2_Invoke(FolderItem2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItem methods ***/ +static FORCEINLINE HRESULT FolderItem2_get_Application(FolderItem2* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItem2_get_Parent(FolderItem2* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItem2_get_Name(FolderItem2* This,BSTR *pbs) { + return This->lpVtbl->get_Name(This,pbs); +} +static FORCEINLINE HRESULT FolderItem2_put_Name(FolderItem2* This,BSTR bs) { + return This->lpVtbl->put_Name(This,bs); +} +static FORCEINLINE HRESULT FolderItem2_get_Path(FolderItem2* This,BSTR *pbs) { + return This->lpVtbl->get_Path(This,pbs); +} +static FORCEINLINE HRESULT FolderItem2_get_GetLink(FolderItem2* This,IDispatch **ppid) { + return This->lpVtbl->get_GetLink(This,ppid); +} +static FORCEINLINE HRESULT FolderItem2_get_GetFolder(FolderItem2* This,IDispatch **ppid) { + return This->lpVtbl->get_GetFolder(This,ppid); +} +static FORCEINLINE HRESULT FolderItem2_get_IsLink(FolderItem2* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsLink(This,pb); +} +static FORCEINLINE HRESULT FolderItem2_get_IsFolder(FolderItem2* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsFolder(This,pb); +} +static FORCEINLINE HRESULT FolderItem2_get_IsFileSystem(FolderItem2* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsFileSystem(This,pb); +} +static FORCEINLINE HRESULT FolderItem2_get_IsBrowsable(FolderItem2* This,VARIANT_BOOL *pb) { + return This->lpVtbl->get_IsBrowsable(This,pb); +} +static FORCEINLINE HRESULT FolderItem2_get_ModifyDate(FolderItem2* This,DATE *pdt) { + return This->lpVtbl->get_ModifyDate(This,pdt); +} +static FORCEINLINE HRESULT FolderItem2_put_ModifyDate(FolderItem2* This,DATE dt) { + return This->lpVtbl->put_ModifyDate(This,dt); +} +static FORCEINLINE HRESULT FolderItem2_get_Size(FolderItem2* This,LONG *pul) { + return This->lpVtbl->get_Size(This,pul); +} +static FORCEINLINE HRESULT FolderItem2_get_Type(FolderItem2* This,BSTR *pbs) { + return This->lpVtbl->get_Type(This,pbs); +} +static FORCEINLINE HRESULT FolderItem2_Verbs(FolderItem2* This,FolderItemVerbs **ppfic) { + return This->lpVtbl->Verbs(This,ppfic); +} +static FORCEINLINE HRESULT FolderItem2_InvokeVerb(FolderItem2* This,VARIANT vVerb) { + return This->lpVtbl->InvokeVerb(This,vVerb); +} +/*** FolderItem2 methods ***/ +static FORCEINLINE HRESULT FolderItem2_InvokeVerbEx(FolderItem2* This,VARIANT verb,VARIANT args) { + return This->lpVtbl->InvokeVerbEx(This,verb,args); +} +static FORCEINLINE HRESULT FolderItem2_ExtendedProperty(FolderItem2* This,BSTR propname,VARIANT *ret) { + return This->lpVtbl->ExtendedProperty(This,propname,ret); +} +#endif +#endif + +#endif + + +#endif /* __FolderItem2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItems interface + */ +#ifndef __FolderItems_INTERFACE_DEFINED__ +#define __FolderItems_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_FolderItems, 0x744129e0, 0xcbe5, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("744129e0-cbe5-11ce-8350-444553540000") +FolderItems : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT index, + FolderItem **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE _NewEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItems, 0x744129e0, 0xcbe5, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#else +typedef struct FolderItemsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItems *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItems *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItems *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItems *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItems *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItems *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItems *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItems methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + FolderItems *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItems *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItems *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Item)( + FolderItems *This, + VARIANT index, + FolderItem **ppid); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + FolderItems *This, + IUnknown **ppunk); + + END_INTERFACE +} FolderItemsVtbl; + +interface FolderItems { + CONST_VTBL FolderItemsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItems_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItems_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItems_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItems_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItems_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItems_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItems_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItems methods ***/ +#define FolderItems_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount) +#define FolderItems_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItems_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItems_Item(This,index,ppid) (This)->lpVtbl->Item(This,index,ppid) +#define FolderItems__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItems_QueryInterface(FolderItems* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItems_AddRef(FolderItems* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItems_Release(FolderItems* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItems_GetTypeInfoCount(FolderItems* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItems_GetTypeInfo(FolderItems* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItems_GetIDsOfNames(FolderItems* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItems_Invoke(FolderItems* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItems methods ***/ +static FORCEINLINE HRESULT FolderItems_get_Count(FolderItems* This,LONG *plCount) { + return This->lpVtbl->get_Count(This,plCount); +} +static FORCEINLINE HRESULT FolderItems_get_Application(FolderItems* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItems_get_Parent(FolderItems* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItems_Item(FolderItems* This,VARIANT index,FolderItem **ppid) { + return This->lpVtbl->Item(This,index,ppid); +} +static FORCEINLINE HRESULT FolderItems__NewEnum(FolderItems* This,IUnknown **ppunk) { + return This->lpVtbl->_NewEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __FolderItems_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItems2 interface + */ +#ifndef __FolderItems2_INTERFACE_DEFINED__ +#define __FolderItems2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_FolderItems2, 0xc94f0ad0, 0xf363, 0x11d2, 0xa3,0x27, 0x00,0xc0,0x4f,0x8e,0xec,0x7f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c94f0ad0-f363-11d2-a327-00c04f8eec7f") +FolderItems2 : public FolderItems +{ + virtual HRESULT STDMETHODCALLTYPE InvokeVerbEx( + VARIANT verb, + VARIANT args) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItems2, 0xc94f0ad0, 0xf363, 0x11d2, 0xa3,0x27, 0x00,0xc0,0x4f,0x8e,0xec,0x7f) +#endif +#else +typedef struct FolderItems2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItems2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItems2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItems2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItems2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItems2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItems2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItems2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItems methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + FolderItems2 *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItems2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItems2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Item)( + FolderItems2 *This, + VARIANT index, + FolderItem **ppid); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + FolderItems2 *This, + IUnknown **ppunk); + + /*** FolderItems2 methods ***/ + HRESULT (STDMETHODCALLTYPE *InvokeVerbEx)( + FolderItems2 *This, + VARIANT verb, + VARIANT args); + + END_INTERFACE +} FolderItems2Vtbl; + +interface FolderItems2 { + CONST_VTBL FolderItems2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItems2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItems2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItems2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItems2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItems2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItems2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItems2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItems methods ***/ +#define FolderItems2_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount) +#define FolderItems2_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItems2_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItems2_Item(This,index,ppid) (This)->lpVtbl->Item(This,index,ppid) +#define FolderItems2__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk) +/*** FolderItems2 methods ***/ +#define FolderItems2_InvokeVerbEx(This,verb,args) (This)->lpVtbl->InvokeVerbEx(This,verb,args) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItems2_QueryInterface(FolderItems2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItems2_AddRef(FolderItems2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItems2_Release(FolderItems2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItems2_GetTypeInfoCount(FolderItems2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItems2_GetTypeInfo(FolderItems2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItems2_GetIDsOfNames(FolderItems2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItems2_Invoke(FolderItems2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItems methods ***/ +static FORCEINLINE HRESULT FolderItems2_get_Count(FolderItems2* This,LONG *plCount) { + return This->lpVtbl->get_Count(This,plCount); +} +static FORCEINLINE HRESULT FolderItems2_get_Application(FolderItems2* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItems2_get_Parent(FolderItems2* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItems2_Item(FolderItems2* This,VARIANT index,FolderItem **ppid) { + return This->lpVtbl->Item(This,index,ppid); +} +static FORCEINLINE HRESULT FolderItems2__NewEnum(FolderItems2* This,IUnknown **ppunk) { + return This->lpVtbl->_NewEnum(This,ppunk); +} +/*** FolderItems2 methods ***/ +static FORCEINLINE HRESULT FolderItems2_InvokeVerbEx(FolderItems2* This,VARIANT verb,VARIANT args) { + return This->lpVtbl->InvokeVerbEx(This,verb,args); +} +#endif +#endif + +#endif + + +#endif /* __FolderItems2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItems3 interface + */ +#ifndef __FolderItems3_INTERFACE_DEFINED__ +#define __FolderItems3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_FolderItems3, 0xeaa7c309, 0xbbec, 0x49d5, 0x82,0x1d, 0x64,0xd9,0x66,0xcb,0x66,0x7f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eaa7c309-bbec-49d5-821d-64d966cb667f") +FolderItems3 : public FolderItems2 +{ + virtual HRESULT STDMETHODCALLTYPE Filter( + LONG flags, + BSTR spec) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Verbs( + FolderItemVerbs **ppfic) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItems3, 0xeaa7c309, 0xbbec, 0x49d5, 0x82,0x1d, 0x64,0xd9,0x66,0xcb,0x66,0x7f) +#endif +#else +typedef struct FolderItems3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItems3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItems3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItems3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItems3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItems3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItems3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItems3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItems methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + FolderItems3 *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItems3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItems3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Item)( + FolderItems3 *This, + VARIANT index, + FolderItem **ppid); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + FolderItems3 *This, + IUnknown **ppunk); + + /*** FolderItems2 methods ***/ + HRESULT (STDMETHODCALLTYPE *InvokeVerbEx)( + FolderItems3 *This, + VARIANT verb, + VARIANT args); + + /*** FolderItems3 methods ***/ + HRESULT (STDMETHODCALLTYPE *Filter)( + FolderItems3 *This, + LONG flags, + BSTR spec); + + HRESULT (STDMETHODCALLTYPE *get_Verbs)( + FolderItems3 *This, + FolderItemVerbs **ppfic); + + END_INTERFACE +} FolderItems3Vtbl; + +interface FolderItems3 { + CONST_VTBL FolderItems3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItems3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItems3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItems3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItems3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItems3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItems3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItems3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItems methods ***/ +#define FolderItems3_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount) +#define FolderItems3_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItems3_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItems3_Item(This,index,ppid) (This)->lpVtbl->Item(This,index,ppid) +#define FolderItems3__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk) +/*** FolderItems2 methods ***/ +#define FolderItems3_InvokeVerbEx(This,verb,args) (This)->lpVtbl->InvokeVerbEx(This,verb,args) +/*** FolderItems3 methods ***/ +#define FolderItems3_Filter(This,flags,spec) (This)->lpVtbl->Filter(This,flags,spec) +#define FolderItems3_get_Verbs(This,ppfic) (This)->lpVtbl->get_Verbs(This,ppfic) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItems3_QueryInterface(FolderItems3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItems3_AddRef(FolderItems3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItems3_Release(FolderItems3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItems3_GetTypeInfoCount(FolderItems3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItems3_GetTypeInfo(FolderItems3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItems3_GetIDsOfNames(FolderItems3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItems3_Invoke(FolderItems3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItems methods ***/ +static FORCEINLINE HRESULT FolderItems3_get_Count(FolderItems3* This,LONG *plCount) { + return This->lpVtbl->get_Count(This,plCount); +} +static FORCEINLINE HRESULT FolderItems3_get_Application(FolderItems3* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItems3_get_Parent(FolderItems3* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItems3_Item(FolderItems3* This,VARIANT index,FolderItem **ppid) { + return This->lpVtbl->Item(This,index,ppid); +} +static FORCEINLINE HRESULT FolderItems3__NewEnum(FolderItems3* This,IUnknown **ppunk) { + return This->lpVtbl->_NewEnum(This,ppunk); +} +/*** FolderItems2 methods ***/ +static FORCEINLINE HRESULT FolderItems3_InvokeVerbEx(FolderItems3* This,VARIANT verb,VARIANT args) { + return This->lpVtbl->InvokeVerbEx(This,verb,args); +} +/*** FolderItems3 methods ***/ +static FORCEINLINE HRESULT FolderItems3_Filter(FolderItems3* This,LONG flags,BSTR spec) { + return This->lpVtbl->Filter(This,flags,spec); +} +static FORCEINLINE HRESULT FolderItems3_get_Verbs(FolderItems3* This,FolderItemVerbs **ppfic) { + return This->lpVtbl->get_Verbs(This,ppfic); +} +#endif +#endif + +#endif + + +#endif /* __FolderItems3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItemVerb interface + */ +#ifndef __FolderItemVerb_INTERFACE_DEFINED__ +#define __FolderItemVerb_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_FolderItemVerb, 0x08ec3e00, 0x50b0, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("08ec3e00-50b0-11cf-960c-0080c7f4ee85") +FolderItemVerb : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *pbs) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoIt( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItemVerb, 0x08ec3e00, 0x50b0, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85) +#endif +#else +typedef struct FolderItemVerbVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItemVerb *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItemVerb *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItemVerb *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItemVerb *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItemVerb *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItemVerb *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItemVerb *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItemVerb methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItemVerb *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItemVerb *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + FolderItemVerb *This, + BSTR *pbs); + + HRESULT (STDMETHODCALLTYPE *DoIt)( + FolderItemVerb *This); + + END_INTERFACE +} FolderItemVerbVtbl; + +interface FolderItemVerb { + CONST_VTBL FolderItemVerbVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItemVerb_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItemVerb_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItemVerb_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItemVerb_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItemVerb_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItemVerb_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItemVerb_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItemVerb methods ***/ +#define FolderItemVerb_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItemVerb_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItemVerb_get_Name(This,pbs) (This)->lpVtbl->get_Name(This,pbs) +#define FolderItemVerb_DoIt(This) (This)->lpVtbl->DoIt(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItemVerb_QueryInterface(FolderItemVerb* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItemVerb_AddRef(FolderItemVerb* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItemVerb_Release(FolderItemVerb* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItemVerb_GetTypeInfoCount(FolderItemVerb* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItemVerb_GetTypeInfo(FolderItemVerb* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItemVerb_GetIDsOfNames(FolderItemVerb* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItemVerb_Invoke(FolderItemVerb* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItemVerb methods ***/ +static FORCEINLINE HRESULT FolderItemVerb_get_Application(FolderItemVerb* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItemVerb_get_Parent(FolderItemVerb* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItemVerb_get_Name(FolderItemVerb* This,BSTR *pbs) { + return This->lpVtbl->get_Name(This,pbs); +} +static FORCEINLINE HRESULT FolderItemVerb_DoIt(FolderItemVerb* This) { + return This->lpVtbl->DoIt(This); +} +#endif +#endif + +#endif + + +#endif /* __FolderItemVerb_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * FolderItemVerbs interface + */ +#ifndef __FolderItemVerbs_INTERFACE_DEFINED__ +#define __FolderItemVerbs_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_FolderItemVerbs, 0x1f8352c0, 0x50b0, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f8352c0-50b0-11cf-960c-0080c7f4ee85") +FolderItemVerbs : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + VARIANT index, + FolderItemVerb **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE _NewEnum( + IUnknown **ppunk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FolderItemVerbs, 0x1f8352c0, 0x50b0, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85) +#endif +#else +typedef struct FolderItemVerbsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + FolderItemVerbs *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + FolderItemVerbs *This); + + ULONG (STDMETHODCALLTYPE *Release)( + FolderItemVerbs *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + FolderItemVerbs *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + FolderItemVerbs *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + FolderItemVerbs *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + FolderItemVerbs *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** FolderItemVerbs methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + FolderItemVerbs *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_Application)( + FolderItemVerbs *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + FolderItemVerbs *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Item)( + FolderItemVerbs *This, + VARIANT index, + FolderItemVerb **ppid); + + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + FolderItemVerbs *This, + IUnknown **ppunk); + + END_INTERFACE +} FolderItemVerbsVtbl; + +interface FolderItemVerbs { + CONST_VTBL FolderItemVerbsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define FolderItemVerbs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define FolderItemVerbs_AddRef(This) (This)->lpVtbl->AddRef(This) +#define FolderItemVerbs_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define FolderItemVerbs_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define FolderItemVerbs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define FolderItemVerbs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define FolderItemVerbs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** FolderItemVerbs methods ***/ +#define FolderItemVerbs_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount) +#define FolderItemVerbs_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define FolderItemVerbs_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define FolderItemVerbs_Item(This,index,ppid) (This)->lpVtbl->Item(This,index,ppid) +#define FolderItemVerbs__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT FolderItemVerbs_QueryInterface(FolderItemVerbs* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG FolderItemVerbs_AddRef(FolderItemVerbs* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG FolderItemVerbs_Release(FolderItemVerbs* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT FolderItemVerbs_GetTypeInfoCount(FolderItemVerbs* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT FolderItemVerbs_GetTypeInfo(FolderItemVerbs* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT FolderItemVerbs_GetIDsOfNames(FolderItemVerbs* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT FolderItemVerbs_Invoke(FolderItemVerbs* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** FolderItemVerbs methods ***/ +static FORCEINLINE HRESULT FolderItemVerbs_get_Count(FolderItemVerbs* This,LONG *plCount) { + return This->lpVtbl->get_Count(This,plCount); +} +static FORCEINLINE HRESULT FolderItemVerbs_get_Application(FolderItemVerbs* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT FolderItemVerbs_get_Parent(FolderItemVerbs* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT FolderItemVerbs_Item(FolderItemVerbs* This,VARIANT index,FolderItemVerb **ppid) { + return This->lpVtbl->Item(This,index,ppid); +} +static FORCEINLINE HRESULT FolderItemVerbs__NewEnum(FolderItemVerbs* This,IUnknown **ppunk) { + return This->lpVtbl->_NewEnum(This,ppunk); +} +#endif +#endif + +#endif + + +#endif /* __FolderItemVerbs_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellDispatch interface + */ +#ifndef __IShellDispatch_INTERFACE_DEFINED__ +#define __IShellDispatch_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellDispatch, 0xd8f015c0, 0xc278, 0x11ce, 0xa4,0x9e, 0x44,0x45,0x53,0x54,0x00,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d8f015c0-c278-11ce-a49e-444553540000") +IShellDispatch : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE NameSpace( + VARIANT vDir, + Folder **ppsdf) = 0; + + virtual HRESULT STDMETHODCALLTYPE BrowseForFolder( + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf) = 0; + + virtual HRESULT STDMETHODCALLTYPE Windows( + IDispatch **ppid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Open( + VARIANT vDir) = 0; + + virtual HRESULT STDMETHODCALLTYPE Explore( + VARIANT vDir) = 0; + + virtual HRESULT STDMETHODCALLTYPE MinimizeAll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE UndoMinimizeALL( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FileRun( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CascadeWindows( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE TileVertically( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE TileHorizontally( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShutdownWindows( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EjectPC( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTime( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE TrayProperties( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Help( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFiles( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindComputer( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RefreshMenu( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ControlPanelItem( + BSTR szDir) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellDispatch, 0xd8f015c0, 0xc278, 0x11ce, 0xa4,0x9e, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#else +typedef struct IShellDispatchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellDispatch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellDispatch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellDispatch *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellDispatch *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellDispatch *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellDispatch *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellDispatch *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellDispatch *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellDispatch *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *NameSpace)( + IShellDispatch *This, + VARIANT vDir, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *BrowseForFolder)( + IShellDispatch *This, + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *Windows)( + IShellDispatch *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Open)( + IShellDispatch *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *Explore)( + IShellDispatch *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *MinimizeAll)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *UndoMinimizeALL)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *FileRun)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *CascadeWindows)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *TileVertically)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *TileHorizontally)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *ShutdownWindows)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *EjectPC)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *TrayProperties)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *FindFiles)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *RefreshMenu)( + IShellDispatch *This); + + HRESULT (STDMETHODCALLTYPE *ControlPanelItem)( + IShellDispatch *This, + BSTR szDir); + + END_INTERFACE +} IShellDispatchVtbl; + +interface IShellDispatch { + CONST_VTBL IShellDispatchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellDispatch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellDispatch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellDispatch_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellDispatch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellDispatch methods ***/ +#define IShellDispatch_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define IShellDispatch_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define IShellDispatch_NameSpace(This,vDir,ppsdf) (This)->lpVtbl->NameSpace(This,vDir,ppsdf) +#define IShellDispatch_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) (This)->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) +#define IShellDispatch_Windows(This,ppid) (This)->lpVtbl->Windows(This,ppid) +#define IShellDispatch_Open(This,vDir) (This)->lpVtbl->Open(This,vDir) +#define IShellDispatch_Explore(This,vDir) (This)->lpVtbl->Explore(This,vDir) +#define IShellDispatch_MinimizeAll(This) (This)->lpVtbl->MinimizeAll(This) +#define IShellDispatch_UndoMinimizeALL(This) (This)->lpVtbl->UndoMinimizeALL(This) +#define IShellDispatch_FileRun(This) (This)->lpVtbl->FileRun(This) +#define IShellDispatch_CascadeWindows(This) (This)->lpVtbl->CascadeWindows(This) +#define IShellDispatch_TileVertically(This) (This)->lpVtbl->TileVertically(This) +#define IShellDispatch_TileHorizontally(This) (This)->lpVtbl->TileHorizontally(This) +#define IShellDispatch_ShutdownWindows(This) (This)->lpVtbl->ShutdownWindows(This) +#define IShellDispatch_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IShellDispatch_EjectPC(This) (This)->lpVtbl->EjectPC(This) +#define IShellDispatch_SetTime(This) (This)->lpVtbl->SetTime(This) +#define IShellDispatch_TrayProperties(This) (This)->lpVtbl->TrayProperties(This) +#define IShellDispatch_Help(This) (This)->lpVtbl->Help(This) +#define IShellDispatch_FindFiles(This) (This)->lpVtbl->FindFiles(This) +#define IShellDispatch_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define IShellDispatch_RefreshMenu(This) (This)->lpVtbl->RefreshMenu(This) +#define IShellDispatch_ControlPanelItem(This,szDir) (This)->lpVtbl->ControlPanelItem(This,szDir) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellDispatch_QueryInterface(IShellDispatch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellDispatch_AddRef(IShellDispatch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellDispatch_Release(IShellDispatch* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch_GetTypeInfoCount(IShellDispatch* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellDispatch_GetTypeInfo(IShellDispatch* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellDispatch_GetIDsOfNames(IShellDispatch* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellDispatch_Invoke(IShellDispatch* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch_get_Application(IShellDispatch* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch_get_Parent(IShellDispatch* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch_NameSpace(IShellDispatch* This,VARIANT vDir,Folder **ppsdf) { + return This->lpVtbl->NameSpace(This,vDir,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch_BrowseForFolder(IShellDispatch* This,LONG Hwnd,BSTR Title,LONG Options,VARIANT RootFolder,Folder **ppsdf) { + return This->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch_Windows(IShellDispatch* This,IDispatch **ppid) { + return This->lpVtbl->Windows(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch_Open(IShellDispatch* This,VARIANT vDir) { + return This->lpVtbl->Open(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch_Explore(IShellDispatch* This,VARIANT vDir) { + return This->lpVtbl->Explore(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch_MinimizeAll(IShellDispatch* This) { + return This->lpVtbl->MinimizeAll(This); +} +static FORCEINLINE HRESULT IShellDispatch_UndoMinimizeALL(IShellDispatch* This) { + return This->lpVtbl->UndoMinimizeALL(This); +} +static FORCEINLINE HRESULT IShellDispatch_FileRun(IShellDispatch* This) { + return This->lpVtbl->FileRun(This); +} +static FORCEINLINE HRESULT IShellDispatch_CascadeWindows(IShellDispatch* This) { + return This->lpVtbl->CascadeWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch_TileVertically(IShellDispatch* This) { + return This->lpVtbl->TileVertically(This); +} +static FORCEINLINE HRESULT IShellDispatch_TileHorizontally(IShellDispatch* This) { + return This->lpVtbl->TileHorizontally(This); +} +static FORCEINLINE HRESULT IShellDispatch_ShutdownWindows(IShellDispatch* This) { + return This->lpVtbl->ShutdownWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch_Suspend(IShellDispatch* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IShellDispatch_EjectPC(IShellDispatch* This) { + return This->lpVtbl->EjectPC(This); +} +static FORCEINLINE HRESULT IShellDispatch_SetTime(IShellDispatch* This) { + return This->lpVtbl->SetTime(This); +} +static FORCEINLINE HRESULT IShellDispatch_TrayProperties(IShellDispatch* This) { + return This->lpVtbl->TrayProperties(This); +} +static FORCEINLINE HRESULT IShellDispatch_Help(IShellDispatch* This) { + return This->lpVtbl->Help(This); +} +static FORCEINLINE HRESULT IShellDispatch_FindFiles(IShellDispatch* This) { + return This->lpVtbl->FindFiles(This); +} +static FORCEINLINE HRESULT IShellDispatch_FindComputer(IShellDispatch* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT IShellDispatch_RefreshMenu(IShellDispatch* This) { + return This->lpVtbl->RefreshMenu(This); +} +static FORCEINLINE HRESULT IShellDispatch_ControlPanelItem(IShellDispatch* This,BSTR szDir) { + return This->lpVtbl->ControlPanelItem(This,szDir); +} +#endif +#endif + +#endif + + +#endif /* __IShellDispatch_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellDispatch2 interface + */ +#ifndef __IShellDispatch2_INTERFACE_DEFINED__ +#define __IShellDispatch2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellDispatch2, 0xa4c6892c, 0x3ba9, 0x11d2, 0x9d,0xea, 0x00,0xc0,0x4f,0xb1,0x61,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a4c6892c-3ba9-11d2-9dea-00c04fb16162") +IShellDispatch2 : public IShellDispatch +{ + virtual HRESULT STDMETHODCALLTYPE IsRestricted( + BSTR group, + BSTR restriction, + LONG *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShellExecute( + BSTR file, + VARIANT args, + VARIANT dir, + VARIANT op, + VARIANT show) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindPrinter( + BSTR name, + BSTR location, + BSTR model) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemInformation( + BSTR name, + VARIANT *ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE ServiceStart( + BSTR service, + VARIANT persistent, + VARIANT *ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE ServiceStop( + BSTR service, + VARIANT persistent, + VARIANT *ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsServiceRunning( + BSTR service, + VARIANT *running) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanStartStopService( + BSTR service, + VARIANT *ret) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowBrowserBar( + BSTR clsid, + VARIANT show, + VARIANT *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellDispatch2, 0xa4c6892c, 0x3ba9, 0x11d2, 0x9d,0xea, 0x00,0xc0,0x4f,0xb1,0x61,0x62) +#endif +#else +typedef struct IShellDispatch2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellDispatch2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellDispatch2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellDispatch2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellDispatch2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellDispatch2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellDispatch2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellDispatch2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellDispatch2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellDispatch2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *NameSpace)( + IShellDispatch2 *This, + VARIANT vDir, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *BrowseForFolder)( + IShellDispatch2 *This, + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *Windows)( + IShellDispatch2 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Open)( + IShellDispatch2 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *Explore)( + IShellDispatch2 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *MinimizeAll)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *UndoMinimizeALL)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *FileRun)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *CascadeWindows)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *TileVertically)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *TileHorizontally)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *ShutdownWindows)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *EjectPC)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *TrayProperties)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *FindFiles)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *RefreshMenu)( + IShellDispatch2 *This); + + HRESULT (STDMETHODCALLTYPE *ControlPanelItem)( + IShellDispatch2 *This, + BSTR szDir); + + /*** IShellDispatch2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + IShellDispatch2 *This, + BSTR group, + BSTR restriction, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *ShellExecute)( + IShellDispatch2 *This, + BSTR file, + VARIANT args, + VARIANT dir, + VARIANT op, + VARIANT show); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + IShellDispatch2 *This, + BSTR name, + BSTR location, + BSTR model); + + HRESULT (STDMETHODCALLTYPE *GetSystemInformation)( + IShellDispatch2 *This, + BSTR name, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStart)( + IShellDispatch2 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStop)( + IShellDispatch2 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *IsServiceRunning)( + IShellDispatch2 *This, + BSTR service, + VARIANT *running); + + HRESULT (STDMETHODCALLTYPE *CanStartStopService)( + IShellDispatch2 *This, + BSTR service, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)( + IShellDispatch2 *This, + BSTR clsid, + VARIANT show, + VARIANT *ret); + + END_INTERFACE +} IShellDispatch2Vtbl; + +interface IShellDispatch2 { + CONST_VTBL IShellDispatch2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellDispatch2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellDispatch2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellDispatch2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellDispatch2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellDispatch2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellDispatch2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellDispatch2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellDispatch methods ***/ +#define IShellDispatch2_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define IShellDispatch2_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define IShellDispatch2_NameSpace(This,vDir,ppsdf) (This)->lpVtbl->NameSpace(This,vDir,ppsdf) +#define IShellDispatch2_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) (This)->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) +#define IShellDispatch2_Windows(This,ppid) (This)->lpVtbl->Windows(This,ppid) +#define IShellDispatch2_Open(This,vDir) (This)->lpVtbl->Open(This,vDir) +#define IShellDispatch2_Explore(This,vDir) (This)->lpVtbl->Explore(This,vDir) +#define IShellDispatch2_MinimizeAll(This) (This)->lpVtbl->MinimizeAll(This) +#define IShellDispatch2_UndoMinimizeALL(This) (This)->lpVtbl->UndoMinimizeALL(This) +#define IShellDispatch2_FileRun(This) (This)->lpVtbl->FileRun(This) +#define IShellDispatch2_CascadeWindows(This) (This)->lpVtbl->CascadeWindows(This) +#define IShellDispatch2_TileVertically(This) (This)->lpVtbl->TileVertically(This) +#define IShellDispatch2_TileHorizontally(This) (This)->lpVtbl->TileHorizontally(This) +#define IShellDispatch2_ShutdownWindows(This) (This)->lpVtbl->ShutdownWindows(This) +#define IShellDispatch2_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IShellDispatch2_EjectPC(This) (This)->lpVtbl->EjectPC(This) +#define IShellDispatch2_SetTime(This) (This)->lpVtbl->SetTime(This) +#define IShellDispatch2_TrayProperties(This) (This)->lpVtbl->TrayProperties(This) +#define IShellDispatch2_Help(This) (This)->lpVtbl->Help(This) +#define IShellDispatch2_FindFiles(This) (This)->lpVtbl->FindFiles(This) +#define IShellDispatch2_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define IShellDispatch2_RefreshMenu(This) (This)->lpVtbl->RefreshMenu(This) +#define IShellDispatch2_ControlPanelItem(This,szDir) (This)->lpVtbl->ControlPanelItem(This,szDir) +/*** IShellDispatch2 methods ***/ +#define IShellDispatch2_IsRestricted(This,group,restriction,value) (This)->lpVtbl->IsRestricted(This,group,restriction,value) +#define IShellDispatch2_ShellExecute(This,file,args,dir,op,show) (This)->lpVtbl->ShellExecute(This,file,args,dir,op,show) +#define IShellDispatch2_FindPrinter(This,name,location,model) (This)->lpVtbl->FindPrinter(This,name,location,model) +#define IShellDispatch2_GetSystemInformation(This,name,ret) (This)->lpVtbl->GetSystemInformation(This,name,ret) +#define IShellDispatch2_ServiceStart(This,service,persistent,ret) (This)->lpVtbl->ServiceStart(This,service,persistent,ret) +#define IShellDispatch2_ServiceStop(This,service,persistent,ret) (This)->lpVtbl->ServiceStop(This,service,persistent,ret) +#define IShellDispatch2_IsServiceRunning(This,service,running) (This)->lpVtbl->IsServiceRunning(This,service,running) +#define IShellDispatch2_CanStartStopService(This,service,ret) (This)->lpVtbl->CanStartStopService(This,service,ret) +#define IShellDispatch2_ShowBrowserBar(This,clsid,show,ret) (This)->lpVtbl->ShowBrowserBar(This,clsid,show,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellDispatch2_QueryInterface(IShellDispatch2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellDispatch2_AddRef(IShellDispatch2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellDispatch2_Release(IShellDispatch2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch2_GetTypeInfoCount(IShellDispatch2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellDispatch2_GetTypeInfo(IShellDispatch2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellDispatch2_GetIDsOfNames(IShellDispatch2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellDispatch2_Invoke(IShellDispatch2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch2_get_Application(IShellDispatch2* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch2_get_Parent(IShellDispatch2* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch2_NameSpace(IShellDispatch2* This,VARIANT vDir,Folder **ppsdf) { + return This->lpVtbl->NameSpace(This,vDir,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch2_BrowseForFolder(IShellDispatch2* This,LONG Hwnd,BSTR Title,LONG Options,VARIANT RootFolder,Folder **ppsdf) { + return This->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch2_Windows(IShellDispatch2* This,IDispatch **ppid) { + return This->lpVtbl->Windows(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch2_Open(IShellDispatch2* This,VARIANT vDir) { + return This->lpVtbl->Open(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch2_Explore(IShellDispatch2* This,VARIANT vDir) { + return This->lpVtbl->Explore(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch2_MinimizeAll(IShellDispatch2* This) { + return This->lpVtbl->MinimizeAll(This); +} +static FORCEINLINE HRESULT IShellDispatch2_UndoMinimizeALL(IShellDispatch2* This) { + return This->lpVtbl->UndoMinimizeALL(This); +} +static FORCEINLINE HRESULT IShellDispatch2_FileRun(IShellDispatch2* This) { + return This->lpVtbl->FileRun(This); +} +static FORCEINLINE HRESULT IShellDispatch2_CascadeWindows(IShellDispatch2* This) { + return This->lpVtbl->CascadeWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch2_TileVertically(IShellDispatch2* This) { + return This->lpVtbl->TileVertically(This); +} +static FORCEINLINE HRESULT IShellDispatch2_TileHorizontally(IShellDispatch2* This) { + return This->lpVtbl->TileHorizontally(This); +} +static FORCEINLINE HRESULT IShellDispatch2_ShutdownWindows(IShellDispatch2* This) { + return This->lpVtbl->ShutdownWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch2_Suspend(IShellDispatch2* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IShellDispatch2_EjectPC(IShellDispatch2* This) { + return This->lpVtbl->EjectPC(This); +} +static FORCEINLINE HRESULT IShellDispatch2_SetTime(IShellDispatch2* This) { + return This->lpVtbl->SetTime(This); +} +static FORCEINLINE HRESULT IShellDispatch2_TrayProperties(IShellDispatch2* This) { + return This->lpVtbl->TrayProperties(This); +} +static FORCEINLINE HRESULT IShellDispatch2_Help(IShellDispatch2* This) { + return This->lpVtbl->Help(This); +} +static FORCEINLINE HRESULT IShellDispatch2_FindFiles(IShellDispatch2* This) { + return This->lpVtbl->FindFiles(This); +} +static FORCEINLINE HRESULT IShellDispatch2_FindComputer(IShellDispatch2* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT IShellDispatch2_RefreshMenu(IShellDispatch2* This) { + return This->lpVtbl->RefreshMenu(This); +} +static FORCEINLINE HRESULT IShellDispatch2_ControlPanelItem(IShellDispatch2* This,BSTR szDir) { + return This->lpVtbl->ControlPanelItem(This,szDir); +} +/*** IShellDispatch2 methods ***/ +static FORCEINLINE HRESULT IShellDispatch2_IsRestricted(IShellDispatch2* This,BSTR group,BSTR restriction,LONG *value) { + return This->lpVtbl->IsRestricted(This,group,restriction,value); +} +static FORCEINLINE HRESULT IShellDispatch2_ShellExecute(IShellDispatch2* This,BSTR file,VARIANT args,VARIANT dir,VARIANT op,VARIANT show) { + return This->lpVtbl->ShellExecute(This,file,args,dir,op,show); +} +static FORCEINLINE HRESULT IShellDispatch2_FindPrinter(IShellDispatch2* This,BSTR name,BSTR location,BSTR model) { + return This->lpVtbl->FindPrinter(This,name,location,model); +} +static FORCEINLINE HRESULT IShellDispatch2_GetSystemInformation(IShellDispatch2* This,BSTR name,VARIANT *ret) { + return This->lpVtbl->GetSystemInformation(This,name,ret); +} +static FORCEINLINE HRESULT IShellDispatch2_ServiceStart(IShellDispatch2* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStart(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch2_ServiceStop(IShellDispatch2* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStop(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch2_IsServiceRunning(IShellDispatch2* This,BSTR service,VARIANT *running) { + return This->lpVtbl->IsServiceRunning(This,service,running); +} +static FORCEINLINE HRESULT IShellDispatch2_CanStartStopService(IShellDispatch2* This,BSTR service,VARIANT *ret) { + return This->lpVtbl->CanStartStopService(This,service,ret); +} +static FORCEINLINE HRESULT IShellDispatch2_ShowBrowserBar(IShellDispatch2* This,BSTR clsid,VARIANT show,VARIANT *ret) { + return This->lpVtbl->ShowBrowserBar(This,clsid,show,ret); +} +#endif +#endif + +#endif + + +#endif /* __IShellDispatch2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellDispatch3 interface + */ +#ifndef __IShellDispatch3_INTERFACE_DEFINED__ +#define __IShellDispatch3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellDispatch3, 0x177160ca, 0xbb5a, 0x411c, 0x84,0x1d, 0xbd,0x38,0xfa,0xcd,0xea,0xa0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("177160ca-bb5a-411c-841d-bd38facdeaa0") +IShellDispatch3 : public IShellDispatch2 +{ + virtual HRESULT STDMETHODCALLTYPE AddToRecent( + VARIANT file, + BSTR category) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellDispatch3, 0x177160ca, 0xbb5a, 0x411c, 0x84,0x1d, 0xbd,0x38,0xfa,0xcd,0xea,0xa0) +#endif +#else +typedef struct IShellDispatch3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellDispatch3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellDispatch3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellDispatch3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellDispatch3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellDispatch3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellDispatch3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellDispatch3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellDispatch3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellDispatch3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *NameSpace)( + IShellDispatch3 *This, + VARIANT vDir, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *BrowseForFolder)( + IShellDispatch3 *This, + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *Windows)( + IShellDispatch3 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Open)( + IShellDispatch3 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *Explore)( + IShellDispatch3 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *MinimizeAll)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *UndoMinimizeALL)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *FileRun)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *CascadeWindows)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *TileVertically)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *TileHorizontally)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *ShutdownWindows)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *EjectPC)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *TrayProperties)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *FindFiles)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *RefreshMenu)( + IShellDispatch3 *This); + + HRESULT (STDMETHODCALLTYPE *ControlPanelItem)( + IShellDispatch3 *This, + BSTR szDir); + + /*** IShellDispatch2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + IShellDispatch3 *This, + BSTR group, + BSTR restriction, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *ShellExecute)( + IShellDispatch3 *This, + BSTR file, + VARIANT args, + VARIANT dir, + VARIANT op, + VARIANT show); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + IShellDispatch3 *This, + BSTR name, + BSTR location, + BSTR model); + + HRESULT (STDMETHODCALLTYPE *GetSystemInformation)( + IShellDispatch3 *This, + BSTR name, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStart)( + IShellDispatch3 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStop)( + IShellDispatch3 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *IsServiceRunning)( + IShellDispatch3 *This, + BSTR service, + VARIANT *running); + + HRESULT (STDMETHODCALLTYPE *CanStartStopService)( + IShellDispatch3 *This, + BSTR service, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)( + IShellDispatch3 *This, + BSTR clsid, + VARIANT show, + VARIANT *ret); + + /*** IShellDispatch3 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddToRecent)( + IShellDispatch3 *This, + VARIANT file, + BSTR category); + + END_INTERFACE +} IShellDispatch3Vtbl; + +interface IShellDispatch3 { + CONST_VTBL IShellDispatch3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellDispatch3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellDispatch3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellDispatch3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellDispatch3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellDispatch3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellDispatch3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellDispatch3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellDispatch methods ***/ +#define IShellDispatch3_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define IShellDispatch3_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define IShellDispatch3_NameSpace(This,vDir,ppsdf) (This)->lpVtbl->NameSpace(This,vDir,ppsdf) +#define IShellDispatch3_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) (This)->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) +#define IShellDispatch3_Windows(This,ppid) (This)->lpVtbl->Windows(This,ppid) +#define IShellDispatch3_Open(This,vDir) (This)->lpVtbl->Open(This,vDir) +#define IShellDispatch3_Explore(This,vDir) (This)->lpVtbl->Explore(This,vDir) +#define IShellDispatch3_MinimizeAll(This) (This)->lpVtbl->MinimizeAll(This) +#define IShellDispatch3_UndoMinimizeALL(This) (This)->lpVtbl->UndoMinimizeALL(This) +#define IShellDispatch3_FileRun(This) (This)->lpVtbl->FileRun(This) +#define IShellDispatch3_CascadeWindows(This) (This)->lpVtbl->CascadeWindows(This) +#define IShellDispatch3_TileVertically(This) (This)->lpVtbl->TileVertically(This) +#define IShellDispatch3_TileHorizontally(This) (This)->lpVtbl->TileHorizontally(This) +#define IShellDispatch3_ShutdownWindows(This) (This)->lpVtbl->ShutdownWindows(This) +#define IShellDispatch3_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IShellDispatch3_EjectPC(This) (This)->lpVtbl->EjectPC(This) +#define IShellDispatch3_SetTime(This) (This)->lpVtbl->SetTime(This) +#define IShellDispatch3_TrayProperties(This) (This)->lpVtbl->TrayProperties(This) +#define IShellDispatch3_Help(This) (This)->lpVtbl->Help(This) +#define IShellDispatch3_FindFiles(This) (This)->lpVtbl->FindFiles(This) +#define IShellDispatch3_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define IShellDispatch3_RefreshMenu(This) (This)->lpVtbl->RefreshMenu(This) +#define IShellDispatch3_ControlPanelItem(This,szDir) (This)->lpVtbl->ControlPanelItem(This,szDir) +/*** IShellDispatch2 methods ***/ +#define IShellDispatch3_IsRestricted(This,group,restriction,value) (This)->lpVtbl->IsRestricted(This,group,restriction,value) +#define IShellDispatch3_ShellExecute(This,file,args,dir,op,show) (This)->lpVtbl->ShellExecute(This,file,args,dir,op,show) +#define IShellDispatch3_FindPrinter(This,name,location,model) (This)->lpVtbl->FindPrinter(This,name,location,model) +#define IShellDispatch3_GetSystemInformation(This,name,ret) (This)->lpVtbl->GetSystemInformation(This,name,ret) +#define IShellDispatch3_ServiceStart(This,service,persistent,ret) (This)->lpVtbl->ServiceStart(This,service,persistent,ret) +#define IShellDispatch3_ServiceStop(This,service,persistent,ret) (This)->lpVtbl->ServiceStop(This,service,persistent,ret) +#define IShellDispatch3_IsServiceRunning(This,service,running) (This)->lpVtbl->IsServiceRunning(This,service,running) +#define IShellDispatch3_CanStartStopService(This,service,ret) (This)->lpVtbl->CanStartStopService(This,service,ret) +#define IShellDispatch3_ShowBrowserBar(This,clsid,show,ret) (This)->lpVtbl->ShowBrowserBar(This,clsid,show,ret) +/*** IShellDispatch3 methods ***/ +#define IShellDispatch3_AddToRecent(This,file,category) (This)->lpVtbl->AddToRecent(This,file,category) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellDispatch3_QueryInterface(IShellDispatch3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellDispatch3_AddRef(IShellDispatch3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellDispatch3_Release(IShellDispatch3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch3_GetTypeInfoCount(IShellDispatch3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellDispatch3_GetTypeInfo(IShellDispatch3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellDispatch3_GetIDsOfNames(IShellDispatch3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellDispatch3_Invoke(IShellDispatch3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch3_get_Application(IShellDispatch3* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch3_get_Parent(IShellDispatch3* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch3_NameSpace(IShellDispatch3* This,VARIANT vDir,Folder **ppsdf) { + return This->lpVtbl->NameSpace(This,vDir,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch3_BrowseForFolder(IShellDispatch3* This,LONG Hwnd,BSTR Title,LONG Options,VARIANT RootFolder,Folder **ppsdf) { + return This->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch3_Windows(IShellDispatch3* This,IDispatch **ppid) { + return This->lpVtbl->Windows(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch3_Open(IShellDispatch3* This,VARIANT vDir) { + return This->lpVtbl->Open(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch3_Explore(IShellDispatch3* This,VARIANT vDir) { + return This->lpVtbl->Explore(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch3_MinimizeAll(IShellDispatch3* This) { + return This->lpVtbl->MinimizeAll(This); +} +static FORCEINLINE HRESULT IShellDispatch3_UndoMinimizeALL(IShellDispatch3* This) { + return This->lpVtbl->UndoMinimizeALL(This); +} +static FORCEINLINE HRESULT IShellDispatch3_FileRun(IShellDispatch3* This) { + return This->lpVtbl->FileRun(This); +} +static FORCEINLINE HRESULT IShellDispatch3_CascadeWindows(IShellDispatch3* This) { + return This->lpVtbl->CascadeWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch3_TileVertically(IShellDispatch3* This) { + return This->lpVtbl->TileVertically(This); +} +static FORCEINLINE HRESULT IShellDispatch3_TileHorizontally(IShellDispatch3* This) { + return This->lpVtbl->TileHorizontally(This); +} +static FORCEINLINE HRESULT IShellDispatch3_ShutdownWindows(IShellDispatch3* This) { + return This->lpVtbl->ShutdownWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch3_Suspend(IShellDispatch3* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IShellDispatch3_EjectPC(IShellDispatch3* This) { + return This->lpVtbl->EjectPC(This); +} +static FORCEINLINE HRESULT IShellDispatch3_SetTime(IShellDispatch3* This) { + return This->lpVtbl->SetTime(This); +} +static FORCEINLINE HRESULT IShellDispatch3_TrayProperties(IShellDispatch3* This) { + return This->lpVtbl->TrayProperties(This); +} +static FORCEINLINE HRESULT IShellDispatch3_Help(IShellDispatch3* This) { + return This->lpVtbl->Help(This); +} +static FORCEINLINE HRESULT IShellDispatch3_FindFiles(IShellDispatch3* This) { + return This->lpVtbl->FindFiles(This); +} +static FORCEINLINE HRESULT IShellDispatch3_FindComputer(IShellDispatch3* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT IShellDispatch3_RefreshMenu(IShellDispatch3* This) { + return This->lpVtbl->RefreshMenu(This); +} +static FORCEINLINE HRESULT IShellDispatch3_ControlPanelItem(IShellDispatch3* This,BSTR szDir) { + return This->lpVtbl->ControlPanelItem(This,szDir); +} +/*** IShellDispatch2 methods ***/ +static FORCEINLINE HRESULT IShellDispatch3_IsRestricted(IShellDispatch3* This,BSTR group,BSTR restriction,LONG *value) { + return This->lpVtbl->IsRestricted(This,group,restriction,value); +} +static FORCEINLINE HRESULT IShellDispatch3_ShellExecute(IShellDispatch3* This,BSTR file,VARIANT args,VARIANT dir,VARIANT op,VARIANT show) { + return This->lpVtbl->ShellExecute(This,file,args,dir,op,show); +} +static FORCEINLINE HRESULT IShellDispatch3_FindPrinter(IShellDispatch3* This,BSTR name,BSTR location,BSTR model) { + return This->lpVtbl->FindPrinter(This,name,location,model); +} +static FORCEINLINE HRESULT IShellDispatch3_GetSystemInformation(IShellDispatch3* This,BSTR name,VARIANT *ret) { + return This->lpVtbl->GetSystemInformation(This,name,ret); +} +static FORCEINLINE HRESULT IShellDispatch3_ServiceStart(IShellDispatch3* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStart(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch3_ServiceStop(IShellDispatch3* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStop(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch3_IsServiceRunning(IShellDispatch3* This,BSTR service,VARIANT *running) { + return This->lpVtbl->IsServiceRunning(This,service,running); +} +static FORCEINLINE HRESULT IShellDispatch3_CanStartStopService(IShellDispatch3* This,BSTR service,VARIANT *ret) { + return This->lpVtbl->CanStartStopService(This,service,ret); +} +static FORCEINLINE HRESULT IShellDispatch3_ShowBrowserBar(IShellDispatch3* This,BSTR clsid,VARIANT show,VARIANT *ret) { + return This->lpVtbl->ShowBrowserBar(This,clsid,show,ret); +} +/*** IShellDispatch3 methods ***/ +static FORCEINLINE HRESULT IShellDispatch3_AddToRecent(IShellDispatch3* This,VARIANT file,BSTR category) { + return This->lpVtbl->AddToRecent(This,file,category); +} +#endif +#endif + +#endif + + +#endif /* __IShellDispatch3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellDispatch4 interface + */ +#ifndef __IShellDispatch4_INTERFACE_DEFINED__ +#define __IShellDispatch4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellDispatch4, 0xefd84b2d, 0x4bcf, 0x4298, 0xbe,0x25, 0xeb,0x54,0x2a,0x59,0xfb,0xda); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("efd84b2d-4bcf-4298-be25-eb542a59fbda") +IShellDispatch4 : public IShellDispatch3 +{ + virtual HRESULT STDMETHODCALLTYPE WindowsSecurity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ToggleDesktop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExplorerPolicy( + BSTR policy, + VARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSetting( + LONG setting, + VARIANT_BOOL *result) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellDispatch4, 0xefd84b2d, 0x4bcf, 0x4298, 0xbe,0x25, 0xeb,0x54,0x2a,0x59,0xfb,0xda) +#endif +#else +typedef struct IShellDispatch4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellDispatch4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellDispatch4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellDispatch4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellDispatch4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellDispatch4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellDispatch4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellDispatch4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellDispatch4 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellDispatch4 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *NameSpace)( + IShellDispatch4 *This, + VARIANT vDir, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *BrowseForFolder)( + IShellDispatch4 *This, + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *Windows)( + IShellDispatch4 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Open)( + IShellDispatch4 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *Explore)( + IShellDispatch4 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *MinimizeAll)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *UndoMinimizeALL)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *FileRun)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *CascadeWindows)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *TileVertically)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *TileHorizontally)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *ShutdownWindows)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *EjectPC)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *TrayProperties)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *FindFiles)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *RefreshMenu)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *ControlPanelItem)( + IShellDispatch4 *This, + BSTR szDir); + + /*** IShellDispatch2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + IShellDispatch4 *This, + BSTR group, + BSTR restriction, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *ShellExecute)( + IShellDispatch4 *This, + BSTR file, + VARIANT args, + VARIANT dir, + VARIANT op, + VARIANT show); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + IShellDispatch4 *This, + BSTR name, + BSTR location, + BSTR model); + + HRESULT (STDMETHODCALLTYPE *GetSystemInformation)( + IShellDispatch4 *This, + BSTR name, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStart)( + IShellDispatch4 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStop)( + IShellDispatch4 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *IsServiceRunning)( + IShellDispatch4 *This, + BSTR service, + VARIANT *running); + + HRESULT (STDMETHODCALLTYPE *CanStartStopService)( + IShellDispatch4 *This, + BSTR service, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)( + IShellDispatch4 *This, + BSTR clsid, + VARIANT show, + VARIANT *ret); + + /*** IShellDispatch3 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddToRecent)( + IShellDispatch4 *This, + VARIANT file, + BSTR category); + + /*** IShellDispatch4 methods ***/ + HRESULT (STDMETHODCALLTYPE *WindowsSecurity)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *ToggleDesktop)( + IShellDispatch4 *This); + + HRESULT (STDMETHODCALLTYPE *ExplorerPolicy)( + IShellDispatch4 *This, + BSTR policy, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *GetSetting)( + IShellDispatch4 *This, + LONG setting, + VARIANT_BOOL *result); + + END_INTERFACE +} IShellDispatch4Vtbl; + +interface IShellDispatch4 { + CONST_VTBL IShellDispatch4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellDispatch4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellDispatch4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellDispatch4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellDispatch4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellDispatch4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellDispatch4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellDispatch4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellDispatch methods ***/ +#define IShellDispatch4_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define IShellDispatch4_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define IShellDispatch4_NameSpace(This,vDir,ppsdf) (This)->lpVtbl->NameSpace(This,vDir,ppsdf) +#define IShellDispatch4_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) (This)->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) +#define IShellDispatch4_Windows(This,ppid) (This)->lpVtbl->Windows(This,ppid) +#define IShellDispatch4_Open(This,vDir) (This)->lpVtbl->Open(This,vDir) +#define IShellDispatch4_Explore(This,vDir) (This)->lpVtbl->Explore(This,vDir) +#define IShellDispatch4_MinimizeAll(This) (This)->lpVtbl->MinimizeAll(This) +#define IShellDispatch4_UndoMinimizeALL(This) (This)->lpVtbl->UndoMinimizeALL(This) +#define IShellDispatch4_FileRun(This) (This)->lpVtbl->FileRun(This) +#define IShellDispatch4_CascadeWindows(This) (This)->lpVtbl->CascadeWindows(This) +#define IShellDispatch4_TileVertically(This) (This)->lpVtbl->TileVertically(This) +#define IShellDispatch4_TileHorizontally(This) (This)->lpVtbl->TileHorizontally(This) +#define IShellDispatch4_ShutdownWindows(This) (This)->lpVtbl->ShutdownWindows(This) +#define IShellDispatch4_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IShellDispatch4_EjectPC(This) (This)->lpVtbl->EjectPC(This) +#define IShellDispatch4_SetTime(This) (This)->lpVtbl->SetTime(This) +#define IShellDispatch4_TrayProperties(This) (This)->lpVtbl->TrayProperties(This) +#define IShellDispatch4_Help(This) (This)->lpVtbl->Help(This) +#define IShellDispatch4_FindFiles(This) (This)->lpVtbl->FindFiles(This) +#define IShellDispatch4_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define IShellDispatch4_RefreshMenu(This) (This)->lpVtbl->RefreshMenu(This) +#define IShellDispatch4_ControlPanelItem(This,szDir) (This)->lpVtbl->ControlPanelItem(This,szDir) +/*** IShellDispatch2 methods ***/ +#define IShellDispatch4_IsRestricted(This,group,restriction,value) (This)->lpVtbl->IsRestricted(This,group,restriction,value) +#define IShellDispatch4_ShellExecute(This,file,args,dir,op,show) (This)->lpVtbl->ShellExecute(This,file,args,dir,op,show) +#define IShellDispatch4_FindPrinter(This,name,location,model) (This)->lpVtbl->FindPrinter(This,name,location,model) +#define IShellDispatch4_GetSystemInformation(This,name,ret) (This)->lpVtbl->GetSystemInformation(This,name,ret) +#define IShellDispatch4_ServiceStart(This,service,persistent,ret) (This)->lpVtbl->ServiceStart(This,service,persistent,ret) +#define IShellDispatch4_ServiceStop(This,service,persistent,ret) (This)->lpVtbl->ServiceStop(This,service,persistent,ret) +#define IShellDispatch4_IsServiceRunning(This,service,running) (This)->lpVtbl->IsServiceRunning(This,service,running) +#define IShellDispatch4_CanStartStopService(This,service,ret) (This)->lpVtbl->CanStartStopService(This,service,ret) +#define IShellDispatch4_ShowBrowserBar(This,clsid,show,ret) (This)->lpVtbl->ShowBrowserBar(This,clsid,show,ret) +/*** IShellDispatch3 methods ***/ +#define IShellDispatch4_AddToRecent(This,file,category) (This)->lpVtbl->AddToRecent(This,file,category) +/*** IShellDispatch4 methods ***/ +#define IShellDispatch4_WindowsSecurity(This) (This)->lpVtbl->WindowsSecurity(This) +#define IShellDispatch4_ToggleDesktop(This) (This)->lpVtbl->ToggleDesktop(This) +#define IShellDispatch4_ExplorerPolicy(This,policy,value) (This)->lpVtbl->ExplorerPolicy(This,policy,value) +#define IShellDispatch4_GetSetting(This,setting,result) (This)->lpVtbl->GetSetting(This,setting,result) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellDispatch4_QueryInterface(IShellDispatch4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellDispatch4_AddRef(IShellDispatch4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellDispatch4_Release(IShellDispatch4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch4_GetTypeInfoCount(IShellDispatch4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellDispatch4_GetTypeInfo(IShellDispatch4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellDispatch4_GetIDsOfNames(IShellDispatch4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellDispatch4_Invoke(IShellDispatch4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch4_get_Application(IShellDispatch4* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch4_get_Parent(IShellDispatch4* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch4_NameSpace(IShellDispatch4* This,VARIANT vDir,Folder **ppsdf) { + return This->lpVtbl->NameSpace(This,vDir,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch4_BrowseForFolder(IShellDispatch4* This,LONG Hwnd,BSTR Title,LONG Options,VARIANT RootFolder,Folder **ppsdf) { + return This->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch4_Windows(IShellDispatch4* This,IDispatch **ppid) { + return This->lpVtbl->Windows(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch4_Open(IShellDispatch4* This,VARIANT vDir) { + return This->lpVtbl->Open(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch4_Explore(IShellDispatch4* This,VARIANT vDir) { + return This->lpVtbl->Explore(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch4_MinimizeAll(IShellDispatch4* This) { + return This->lpVtbl->MinimizeAll(This); +} +static FORCEINLINE HRESULT IShellDispatch4_UndoMinimizeALL(IShellDispatch4* This) { + return This->lpVtbl->UndoMinimizeALL(This); +} +static FORCEINLINE HRESULT IShellDispatch4_FileRun(IShellDispatch4* This) { + return This->lpVtbl->FileRun(This); +} +static FORCEINLINE HRESULT IShellDispatch4_CascadeWindows(IShellDispatch4* This) { + return This->lpVtbl->CascadeWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch4_TileVertically(IShellDispatch4* This) { + return This->lpVtbl->TileVertically(This); +} +static FORCEINLINE HRESULT IShellDispatch4_TileHorizontally(IShellDispatch4* This) { + return This->lpVtbl->TileHorizontally(This); +} +static FORCEINLINE HRESULT IShellDispatch4_ShutdownWindows(IShellDispatch4* This) { + return This->lpVtbl->ShutdownWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch4_Suspend(IShellDispatch4* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IShellDispatch4_EjectPC(IShellDispatch4* This) { + return This->lpVtbl->EjectPC(This); +} +static FORCEINLINE HRESULT IShellDispatch4_SetTime(IShellDispatch4* This) { + return This->lpVtbl->SetTime(This); +} +static FORCEINLINE HRESULT IShellDispatch4_TrayProperties(IShellDispatch4* This) { + return This->lpVtbl->TrayProperties(This); +} +static FORCEINLINE HRESULT IShellDispatch4_Help(IShellDispatch4* This) { + return This->lpVtbl->Help(This); +} +static FORCEINLINE HRESULT IShellDispatch4_FindFiles(IShellDispatch4* This) { + return This->lpVtbl->FindFiles(This); +} +static FORCEINLINE HRESULT IShellDispatch4_FindComputer(IShellDispatch4* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT IShellDispatch4_RefreshMenu(IShellDispatch4* This) { + return This->lpVtbl->RefreshMenu(This); +} +static FORCEINLINE HRESULT IShellDispatch4_ControlPanelItem(IShellDispatch4* This,BSTR szDir) { + return This->lpVtbl->ControlPanelItem(This,szDir); +} +/*** IShellDispatch2 methods ***/ +static FORCEINLINE HRESULT IShellDispatch4_IsRestricted(IShellDispatch4* This,BSTR group,BSTR restriction,LONG *value) { + return This->lpVtbl->IsRestricted(This,group,restriction,value); +} +static FORCEINLINE HRESULT IShellDispatch4_ShellExecute(IShellDispatch4* This,BSTR file,VARIANT args,VARIANT dir,VARIANT op,VARIANT show) { + return This->lpVtbl->ShellExecute(This,file,args,dir,op,show); +} +static FORCEINLINE HRESULT IShellDispatch4_FindPrinter(IShellDispatch4* This,BSTR name,BSTR location,BSTR model) { + return This->lpVtbl->FindPrinter(This,name,location,model); +} +static FORCEINLINE HRESULT IShellDispatch4_GetSystemInformation(IShellDispatch4* This,BSTR name,VARIANT *ret) { + return This->lpVtbl->GetSystemInformation(This,name,ret); +} +static FORCEINLINE HRESULT IShellDispatch4_ServiceStart(IShellDispatch4* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStart(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch4_ServiceStop(IShellDispatch4* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStop(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch4_IsServiceRunning(IShellDispatch4* This,BSTR service,VARIANT *running) { + return This->lpVtbl->IsServiceRunning(This,service,running); +} +static FORCEINLINE HRESULT IShellDispatch4_CanStartStopService(IShellDispatch4* This,BSTR service,VARIANT *ret) { + return This->lpVtbl->CanStartStopService(This,service,ret); +} +static FORCEINLINE HRESULT IShellDispatch4_ShowBrowserBar(IShellDispatch4* This,BSTR clsid,VARIANT show,VARIANT *ret) { + return This->lpVtbl->ShowBrowserBar(This,clsid,show,ret); +} +/*** IShellDispatch3 methods ***/ +static FORCEINLINE HRESULT IShellDispatch4_AddToRecent(IShellDispatch4* This,VARIANT file,BSTR category) { + return This->lpVtbl->AddToRecent(This,file,category); +} +/*** IShellDispatch4 methods ***/ +static FORCEINLINE HRESULT IShellDispatch4_WindowsSecurity(IShellDispatch4* This) { + return This->lpVtbl->WindowsSecurity(This); +} +static FORCEINLINE HRESULT IShellDispatch4_ToggleDesktop(IShellDispatch4* This) { + return This->lpVtbl->ToggleDesktop(This); +} +static FORCEINLINE HRESULT IShellDispatch4_ExplorerPolicy(IShellDispatch4* This,BSTR policy,VARIANT *value) { + return This->lpVtbl->ExplorerPolicy(This,policy,value); +} +static FORCEINLINE HRESULT IShellDispatch4_GetSetting(IShellDispatch4* This,LONG setting,VARIANT_BOOL *result) { + return This->lpVtbl->GetSetting(This,setting,result); +} +#endif +#endif + +#endif + + +#endif /* __IShellDispatch4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellDispatch5 interface + */ +#ifndef __IShellDispatch5_INTERFACE_DEFINED__ +#define __IShellDispatch5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellDispatch5, 0x866738b9, 0x6cf2, 0x4de8, 0x87,0x67, 0xf7,0x94,0xeb,0xe7,0x4f,0x4e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("866738b9-6cf2-4de8-8767-f794ebe74f4e") +IShellDispatch5 : public IShellDispatch4 +{ + virtual HRESULT STDMETHODCALLTYPE WindowSwitcher( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellDispatch5, 0x866738b9, 0x6cf2, 0x4de8, 0x87,0x67, 0xf7,0x94,0xeb,0xe7,0x4f,0x4e) +#endif +#else +typedef struct IShellDispatch5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellDispatch5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellDispatch5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellDispatch5 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellDispatch5 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellDispatch5 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellDispatch5 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellDispatch5 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellDispatch5 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellDispatch5 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *NameSpace)( + IShellDispatch5 *This, + VARIANT vDir, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *BrowseForFolder)( + IShellDispatch5 *This, + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *Windows)( + IShellDispatch5 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Open)( + IShellDispatch5 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *Explore)( + IShellDispatch5 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *MinimizeAll)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *UndoMinimizeALL)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *FileRun)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *CascadeWindows)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *TileVertically)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *TileHorizontally)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *ShutdownWindows)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *EjectPC)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *TrayProperties)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *FindFiles)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *RefreshMenu)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *ControlPanelItem)( + IShellDispatch5 *This, + BSTR szDir); + + /*** IShellDispatch2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + IShellDispatch5 *This, + BSTR group, + BSTR restriction, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *ShellExecute)( + IShellDispatch5 *This, + BSTR file, + VARIANT args, + VARIANT dir, + VARIANT op, + VARIANT show); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + IShellDispatch5 *This, + BSTR name, + BSTR location, + BSTR model); + + HRESULT (STDMETHODCALLTYPE *GetSystemInformation)( + IShellDispatch5 *This, + BSTR name, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStart)( + IShellDispatch5 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStop)( + IShellDispatch5 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *IsServiceRunning)( + IShellDispatch5 *This, + BSTR service, + VARIANT *running); + + HRESULT (STDMETHODCALLTYPE *CanStartStopService)( + IShellDispatch5 *This, + BSTR service, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)( + IShellDispatch5 *This, + BSTR clsid, + VARIANT show, + VARIANT *ret); + + /*** IShellDispatch3 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddToRecent)( + IShellDispatch5 *This, + VARIANT file, + BSTR category); + + /*** IShellDispatch4 methods ***/ + HRESULT (STDMETHODCALLTYPE *WindowsSecurity)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *ToggleDesktop)( + IShellDispatch5 *This); + + HRESULT (STDMETHODCALLTYPE *ExplorerPolicy)( + IShellDispatch5 *This, + BSTR policy, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *GetSetting)( + IShellDispatch5 *This, + LONG setting, + VARIANT_BOOL *result); + + /*** IShellDispatch5 methods ***/ + HRESULT (STDMETHODCALLTYPE *WindowSwitcher)( + IShellDispatch5 *This); + + END_INTERFACE +} IShellDispatch5Vtbl; + +interface IShellDispatch5 { + CONST_VTBL IShellDispatch5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellDispatch5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellDispatch5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellDispatch5_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellDispatch5_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellDispatch5_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellDispatch5_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellDispatch5_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellDispatch methods ***/ +#define IShellDispatch5_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define IShellDispatch5_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define IShellDispatch5_NameSpace(This,vDir,ppsdf) (This)->lpVtbl->NameSpace(This,vDir,ppsdf) +#define IShellDispatch5_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) (This)->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) +#define IShellDispatch5_Windows(This,ppid) (This)->lpVtbl->Windows(This,ppid) +#define IShellDispatch5_Open(This,vDir) (This)->lpVtbl->Open(This,vDir) +#define IShellDispatch5_Explore(This,vDir) (This)->lpVtbl->Explore(This,vDir) +#define IShellDispatch5_MinimizeAll(This) (This)->lpVtbl->MinimizeAll(This) +#define IShellDispatch5_UndoMinimizeALL(This) (This)->lpVtbl->UndoMinimizeALL(This) +#define IShellDispatch5_FileRun(This) (This)->lpVtbl->FileRun(This) +#define IShellDispatch5_CascadeWindows(This) (This)->lpVtbl->CascadeWindows(This) +#define IShellDispatch5_TileVertically(This) (This)->lpVtbl->TileVertically(This) +#define IShellDispatch5_TileHorizontally(This) (This)->lpVtbl->TileHorizontally(This) +#define IShellDispatch5_ShutdownWindows(This) (This)->lpVtbl->ShutdownWindows(This) +#define IShellDispatch5_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IShellDispatch5_EjectPC(This) (This)->lpVtbl->EjectPC(This) +#define IShellDispatch5_SetTime(This) (This)->lpVtbl->SetTime(This) +#define IShellDispatch5_TrayProperties(This) (This)->lpVtbl->TrayProperties(This) +#define IShellDispatch5_Help(This) (This)->lpVtbl->Help(This) +#define IShellDispatch5_FindFiles(This) (This)->lpVtbl->FindFiles(This) +#define IShellDispatch5_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define IShellDispatch5_RefreshMenu(This) (This)->lpVtbl->RefreshMenu(This) +#define IShellDispatch5_ControlPanelItem(This,szDir) (This)->lpVtbl->ControlPanelItem(This,szDir) +/*** IShellDispatch2 methods ***/ +#define IShellDispatch5_IsRestricted(This,group,restriction,value) (This)->lpVtbl->IsRestricted(This,group,restriction,value) +#define IShellDispatch5_ShellExecute(This,file,args,dir,op,show) (This)->lpVtbl->ShellExecute(This,file,args,dir,op,show) +#define IShellDispatch5_FindPrinter(This,name,location,model) (This)->lpVtbl->FindPrinter(This,name,location,model) +#define IShellDispatch5_GetSystemInformation(This,name,ret) (This)->lpVtbl->GetSystemInformation(This,name,ret) +#define IShellDispatch5_ServiceStart(This,service,persistent,ret) (This)->lpVtbl->ServiceStart(This,service,persistent,ret) +#define IShellDispatch5_ServiceStop(This,service,persistent,ret) (This)->lpVtbl->ServiceStop(This,service,persistent,ret) +#define IShellDispatch5_IsServiceRunning(This,service,running) (This)->lpVtbl->IsServiceRunning(This,service,running) +#define IShellDispatch5_CanStartStopService(This,service,ret) (This)->lpVtbl->CanStartStopService(This,service,ret) +#define IShellDispatch5_ShowBrowserBar(This,clsid,show,ret) (This)->lpVtbl->ShowBrowserBar(This,clsid,show,ret) +/*** IShellDispatch3 methods ***/ +#define IShellDispatch5_AddToRecent(This,file,category) (This)->lpVtbl->AddToRecent(This,file,category) +/*** IShellDispatch4 methods ***/ +#define IShellDispatch5_WindowsSecurity(This) (This)->lpVtbl->WindowsSecurity(This) +#define IShellDispatch5_ToggleDesktop(This) (This)->lpVtbl->ToggleDesktop(This) +#define IShellDispatch5_ExplorerPolicy(This,policy,value) (This)->lpVtbl->ExplorerPolicy(This,policy,value) +#define IShellDispatch5_GetSetting(This,setting,result) (This)->lpVtbl->GetSetting(This,setting,result) +/*** IShellDispatch5 methods ***/ +#define IShellDispatch5_WindowSwitcher(This) (This)->lpVtbl->WindowSwitcher(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_QueryInterface(IShellDispatch5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellDispatch5_AddRef(IShellDispatch5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellDispatch5_Release(IShellDispatch5* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_GetTypeInfoCount(IShellDispatch5* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellDispatch5_GetTypeInfo(IShellDispatch5* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellDispatch5_GetIDsOfNames(IShellDispatch5* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellDispatch5_Invoke(IShellDispatch5* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_get_Application(IShellDispatch5* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch5_get_Parent(IShellDispatch5* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch5_NameSpace(IShellDispatch5* This,VARIANT vDir,Folder **ppsdf) { + return This->lpVtbl->NameSpace(This,vDir,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch5_BrowseForFolder(IShellDispatch5* This,LONG Hwnd,BSTR Title,LONG Options,VARIANT RootFolder,Folder **ppsdf) { + return This->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch5_Windows(IShellDispatch5* This,IDispatch **ppid) { + return This->lpVtbl->Windows(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch5_Open(IShellDispatch5* This,VARIANT vDir) { + return This->lpVtbl->Open(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch5_Explore(IShellDispatch5* This,VARIANT vDir) { + return This->lpVtbl->Explore(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch5_MinimizeAll(IShellDispatch5* This) { + return This->lpVtbl->MinimizeAll(This); +} +static FORCEINLINE HRESULT IShellDispatch5_UndoMinimizeALL(IShellDispatch5* This) { + return This->lpVtbl->UndoMinimizeALL(This); +} +static FORCEINLINE HRESULT IShellDispatch5_FileRun(IShellDispatch5* This) { + return This->lpVtbl->FileRun(This); +} +static FORCEINLINE HRESULT IShellDispatch5_CascadeWindows(IShellDispatch5* This) { + return This->lpVtbl->CascadeWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch5_TileVertically(IShellDispatch5* This) { + return This->lpVtbl->TileVertically(This); +} +static FORCEINLINE HRESULT IShellDispatch5_TileHorizontally(IShellDispatch5* This) { + return This->lpVtbl->TileHorizontally(This); +} +static FORCEINLINE HRESULT IShellDispatch5_ShutdownWindows(IShellDispatch5* This) { + return This->lpVtbl->ShutdownWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch5_Suspend(IShellDispatch5* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IShellDispatch5_EjectPC(IShellDispatch5* This) { + return This->lpVtbl->EjectPC(This); +} +static FORCEINLINE HRESULT IShellDispatch5_SetTime(IShellDispatch5* This) { + return This->lpVtbl->SetTime(This); +} +static FORCEINLINE HRESULT IShellDispatch5_TrayProperties(IShellDispatch5* This) { + return This->lpVtbl->TrayProperties(This); +} +static FORCEINLINE HRESULT IShellDispatch5_Help(IShellDispatch5* This) { + return This->lpVtbl->Help(This); +} +static FORCEINLINE HRESULT IShellDispatch5_FindFiles(IShellDispatch5* This) { + return This->lpVtbl->FindFiles(This); +} +static FORCEINLINE HRESULT IShellDispatch5_FindComputer(IShellDispatch5* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT IShellDispatch5_RefreshMenu(IShellDispatch5* This) { + return This->lpVtbl->RefreshMenu(This); +} +static FORCEINLINE HRESULT IShellDispatch5_ControlPanelItem(IShellDispatch5* This,BSTR szDir) { + return This->lpVtbl->ControlPanelItem(This,szDir); +} +/*** IShellDispatch2 methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_IsRestricted(IShellDispatch5* This,BSTR group,BSTR restriction,LONG *value) { + return This->lpVtbl->IsRestricted(This,group,restriction,value); +} +static FORCEINLINE HRESULT IShellDispatch5_ShellExecute(IShellDispatch5* This,BSTR file,VARIANT args,VARIANT dir,VARIANT op,VARIANT show) { + return This->lpVtbl->ShellExecute(This,file,args,dir,op,show); +} +static FORCEINLINE HRESULT IShellDispatch5_FindPrinter(IShellDispatch5* This,BSTR name,BSTR location,BSTR model) { + return This->lpVtbl->FindPrinter(This,name,location,model); +} +static FORCEINLINE HRESULT IShellDispatch5_GetSystemInformation(IShellDispatch5* This,BSTR name,VARIANT *ret) { + return This->lpVtbl->GetSystemInformation(This,name,ret); +} +static FORCEINLINE HRESULT IShellDispatch5_ServiceStart(IShellDispatch5* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStart(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch5_ServiceStop(IShellDispatch5* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStop(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch5_IsServiceRunning(IShellDispatch5* This,BSTR service,VARIANT *running) { + return This->lpVtbl->IsServiceRunning(This,service,running); +} +static FORCEINLINE HRESULT IShellDispatch5_CanStartStopService(IShellDispatch5* This,BSTR service,VARIANT *ret) { + return This->lpVtbl->CanStartStopService(This,service,ret); +} +static FORCEINLINE HRESULT IShellDispatch5_ShowBrowserBar(IShellDispatch5* This,BSTR clsid,VARIANT show,VARIANT *ret) { + return This->lpVtbl->ShowBrowserBar(This,clsid,show,ret); +} +/*** IShellDispatch3 methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_AddToRecent(IShellDispatch5* This,VARIANT file,BSTR category) { + return This->lpVtbl->AddToRecent(This,file,category); +} +/*** IShellDispatch4 methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_WindowsSecurity(IShellDispatch5* This) { + return This->lpVtbl->WindowsSecurity(This); +} +static FORCEINLINE HRESULT IShellDispatch5_ToggleDesktop(IShellDispatch5* This) { + return This->lpVtbl->ToggleDesktop(This); +} +static FORCEINLINE HRESULT IShellDispatch5_ExplorerPolicy(IShellDispatch5* This,BSTR policy,VARIANT *value) { + return This->lpVtbl->ExplorerPolicy(This,policy,value); +} +static FORCEINLINE HRESULT IShellDispatch5_GetSetting(IShellDispatch5* This,LONG setting,VARIANT_BOOL *result) { + return This->lpVtbl->GetSetting(This,setting,result); +} +/*** IShellDispatch5 methods ***/ +static FORCEINLINE HRESULT IShellDispatch5_WindowSwitcher(IShellDispatch5* This) { + return This->lpVtbl->WindowSwitcher(This); +} +#endif +#endif + +#endif + + +#endif /* __IShellDispatch5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellDispatch6 interface + */ +#ifndef __IShellDispatch6_INTERFACE_DEFINED__ +#define __IShellDispatch6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellDispatch6, 0x286e6f1b, 0x7113, 0x4355, 0x95,0x62, 0x96,0xb7,0xe9,0xd6,0x4c,0x54); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("286e6f1b-7113-4355-9562-96b7e9d64c54") +IShellDispatch6 : public IShellDispatch5 +{ + virtual HRESULT STDMETHODCALLTYPE SearchCommand( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellDispatch6, 0x286e6f1b, 0x7113, 0x4355, 0x95,0x62, 0x96,0xb7,0xe9,0xd6,0x4c,0x54) +#endif +#else +typedef struct IShellDispatch6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellDispatch6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellDispatch6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellDispatch6 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellDispatch6 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellDispatch6 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellDispatch6 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellDispatch6 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellDispatch6 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellDispatch6 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *NameSpace)( + IShellDispatch6 *This, + VARIANT vDir, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *BrowseForFolder)( + IShellDispatch6 *This, + LONG Hwnd, + BSTR Title, + LONG Options, + VARIANT RootFolder, + Folder **ppsdf); + + HRESULT (STDMETHODCALLTYPE *Windows)( + IShellDispatch6 *This, + IDispatch **ppid); + + HRESULT (STDMETHODCALLTYPE *Open)( + IShellDispatch6 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *Explore)( + IShellDispatch6 *This, + VARIANT vDir); + + HRESULT (STDMETHODCALLTYPE *MinimizeAll)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *UndoMinimizeALL)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *FileRun)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *CascadeWindows)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *TileVertically)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *TileHorizontally)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *ShutdownWindows)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *EjectPC)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *TrayProperties)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *Help)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *FindFiles)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *FindComputer)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *RefreshMenu)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *ControlPanelItem)( + IShellDispatch6 *This, + BSTR szDir); + + /*** IShellDispatch2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRestricted)( + IShellDispatch6 *This, + BSTR group, + BSTR restriction, + LONG *value); + + HRESULT (STDMETHODCALLTYPE *ShellExecute)( + IShellDispatch6 *This, + BSTR file, + VARIANT args, + VARIANT dir, + VARIANT op, + VARIANT show); + + HRESULT (STDMETHODCALLTYPE *FindPrinter)( + IShellDispatch6 *This, + BSTR name, + BSTR location, + BSTR model); + + HRESULT (STDMETHODCALLTYPE *GetSystemInformation)( + IShellDispatch6 *This, + BSTR name, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStart)( + IShellDispatch6 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ServiceStop)( + IShellDispatch6 *This, + BSTR service, + VARIANT persistent, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *IsServiceRunning)( + IShellDispatch6 *This, + BSTR service, + VARIANT *running); + + HRESULT (STDMETHODCALLTYPE *CanStartStopService)( + IShellDispatch6 *This, + BSTR service, + VARIANT *ret); + + HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)( + IShellDispatch6 *This, + BSTR clsid, + VARIANT show, + VARIANT *ret); + + /*** IShellDispatch3 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddToRecent)( + IShellDispatch6 *This, + VARIANT file, + BSTR category); + + /*** IShellDispatch4 methods ***/ + HRESULT (STDMETHODCALLTYPE *WindowsSecurity)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *ToggleDesktop)( + IShellDispatch6 *This); + + HRESULT (STDMETHODCALLTYPE *ExplorerPolicy)( + IShellDispatch6 *This, + BSTR policy, + VARIANT *value); + + HRESULT (STDMETHODCALLTYPE *GetSetting)( + IShellDispatch6 *This, + LONG setting, + VARIANT_BOOL *result); + + /*** IShellDispatch5 methods ***/ + HRESULT (STDMETHODCALLTYPE *WindowSwitcher)( + IShellDispatch6 *This); + + /*** IShellDispatch6 methods ***/ + HRESULT (STDMETHODCALLTYPE *SearchCommand)( + IShellDispatch6 *This); + + END_INTERFACE +} IShellDispatch6Vtbl; + +interface IShellDispatch6 { + CONST_VTBL IShellDispatch6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellDispatch6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellDispatch6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellDispatch6_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellDispatch6_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellDispatch6_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellDispatch6_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellDispatch6_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellDispatch methods ***/ +#define IShellDispatch6_get_Application(This,ppid) (This)->lpVtbl->get_Application(This,ppid) +#define IShellDispatch6_get_Parent(This,ppid) (This)->lpVtbl->get_Parent(This,ppid) +#define IShellDispatch6_NameSpace(This,vDir,ppsdf) (This)->lpVtbl->NameSpace(This,vDir,ppsdf) +#define IShellDispatch6_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) (This)->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf) +#define IShellDispatch6_Windows(This,ppid) (This)->lpVtbl->Windows(This,ppid) +#define IShellDispatch6_Open(This,vDir) (This)->lpVtbl->Open(This,vDir) +#define IShellDispatch6_Explore(This,vDir) (This)->lpVtbl->Explore(This,vDir) +#define IShellDispatch6_MinimizeAll(This) (This)->lpVtbl->MinimizeAll(This) +#define IShellDispatch6_UndoMinimizeALL(This) (This)->lpVtbl->UndoMinimizeALL(This) +#define IShellDispatch6_FileRun(This) (This)->lpVtbl->FileRun(This) +#define IShellDispatch6_CascadeWindows(This) (This)->lpVtbl->CascadeWindows(This) +#define IShellDispatch6_TileVertically(This) (This)->lpVtbl->TileVertically(This) +#define IShellDispatch6_TileHorizontally(This) (This)->lpVtbl->TileHorizontally(This) +#define IShellDispatch6_ShutdownWindows(This) (This)->lpVtbl->ShutdownWindows(This) +#define IShellDispatch6_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IShellDispatch6_EjectPC(This) (This)->lpVtbl->EjectPC(This) +#define IShellDispatch6_SetTime(This) (This)->lpVtbl->SetTime(This) +#define IShellDispatch6_TrayProperties(This) (This)->lpVtbl->TrayProperties(This) +#define IShellDispatch6_Help(This) (This)->lpVtbl->Help(This) +#define IShellDispatch6_FindFiles(This) (This)->lpVtbl->FindFiles(This) +#define IShellDispatch6_FindComputer(This) (This)->lpVtbl->FindComputer(This) +#define IShellDispatch6_RefreshMenu(This) (This)->lpVtbl->RefreshMenu(This) +#define IShellDispatch6_ControlPanelItem(This,szDir) (This)->lpVtbl->ControlPanelItem(This,szDir) +/*** IShellDispatch2 methods ***/ +#define IShellDispatch6_IsRestricted(This,group,restriction,value) (This)->lpVtbl->IsRestricted(This,group,restriction,value) +#define IShellDispatch6_ShellExecute(This,file,args,dir,op,show) (This)->lpVtbl->ShellExecute(This,file,args,dir,op,show) +#define IShellDispatch6_FindPrinter(This,name,location,model) (This)->lpVtbl->FindPrinter(This,name,location,model) +#define IShellDispatch6_GetSystemInformation(This,name,ret) (This)->lpVtbl->GetSystemInformation(This,name,ret) +#define IShellDispatch6_ServiceStart(This,service,persistent,ret) (This)->lpVtbl->ServiceStart(This,service,persistent,ret) +#define IShellDispatch6_ServiceStop(This,service,persistent,ret) (This)->lpVtbl->ServiceStop(This,service,persistent,ret) +#define IShellDispatch6_IsServiceRunning(This,service,running) (This)->lpVtbl->IsServiceRunning(This,service,running) +#define IShellDispatch6_CanStartStopService(This,service,ret) (This)->lpVtbl->CanStartStopService(This,service,ret) +#define IShellDispatch6_ShowBrowserBar(This,clsid,show,ret) (This)->lpVtbl->ShowBrowserBar(This,clsid,show,ret) +/*** IShellDispatch3 methods ***/ +#define IShellDispatch6_AddToRecent(This,file,category) (This)->lpVtbl->AddToRecent(This,file,category) +/*** IShellDispatch4 methods ***/ +#define IShellDispatch6_WindowsSecurity(This) (This)->lpVtbl->WindowsSecurity(This) +#define IShellDispatch6_ToggleDesktop(This) (This)->lpVtbl->ToggleDesktop(This) +#define IShellDispatch6_ExplorerPolicy(This,policy,value) (This)->lpVtbl->ExplorerPolicy(This,policy,value) +#define IShellDispatch6_GetSetting(This,setting,result) (This)->lpVtbl->GetSetting(This,setting,result) +/*** IShellDispatch5 methods ***/ +#define IShellDispatch6_WindowSwitcher(This) (This)->lpVtbl->WindowSwitcher(This) +/*** IShellDispatch6 methods ***/ +#define IShellDispatch6_SearchCommand(This) (This)->lpVtbl->SearchCommand(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_QueryInterface(IShellDispatch6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellDispatch6_AddRef(IShellDispatch6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellDispatch6_Release(IShellDispatch6* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_GetTypeInfoCount(IShellDispatch6* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellDispatch6_GetTypeInfo(IShellDispatch6* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellDispatch6_GetIDsOfNames(IShellDispatch6* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellDispatch6_Invoke(IShellDispatch6* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellDispatch methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_get_Application(IShellDispatch6* This,IDispatch **ppid) { + return This->lpVtbl->get_Application(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch6_get_Parent(IShellDispatch6* This,IDispatch **ppid) { + return This->lpVtbl->get_Parent(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch6_NameSpace(IShellDispatch6* This,VARIANT vDir,Folder **ppsdf) { + return This->lpVtbl->NameSpace(This,vDir,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch6_BrowseForFolder(IShellDispatch6* This,LONG Hwnd,BSTR Title,LONG Options,VARIANT RootFolder,Folder **ppsdf) { + return This->lpVtbl->BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf); +} +static FORCEINLINE HRESULT IShellDispatch6_Windows(IShellDispatch6* This,IDispatch **ppid) { + return This->lpVtbl->Windows(This,ppid); +} +static FORCEINLINE HRESULT IShellDispatch6_Open(IShellDispatch6* This,VARIANT vDir) { + return This->lpVtbl->Open(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch6_Explore(IShellDispatch6* This,VARIANT vDir) { + return This->lpVtbl->Explore(This,vDir); +} +static FORCEINLINE HRESULT IShellDispatch6_MinimizeAll(IShellDispatch6* This) { + return This->lpVtbl->MinimizeAll(This); +} +static FORCEINLINE HRESULT IShellDispatch6_UndoMinimizeALL(IShellDispatch6* This) { + return This->lpVtbl->UndoMinimizeALL(This); +} +static FORCEINLINE HRESULT IShellDispatch6_FileRun(IShellDispatch6* This) { + return This->lpVtbl->FileRun(This); +} +static FORCEINLINE HRESULT IShellDispatch6_CascadeWindows(IShellDispatch6* This) { + return This->lpVtbl->CascadeWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch6_TileVertically(IShellDispatch6* This) { + return This->lpVtbl->TileVertically(This); +} +static FORCEINLINE HRESULT IShellDispatch6_TileHorizontally(IShellDispatch6* This) { + return This->lpVtbl->TileHorizontally(This); +} +static FORCEINLINE HRESULT IShellDispatch6_ShutdownWindows(IShellDispatch6* This) { + return This->lpVtbl->ShutdownWindows(This); +} +static FORCEINLINE HRESULT IShellDispatch6_Suspend(IShellDispatch6* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IShellDispatch6_EjectPC(IShellDispatch6* This) { + return This->lpVtbl->EjectPC(This); +} +static FORCEINLINE HRESULT IShellDispatch6_SetTime(IShellDispatch6* This) { + return This->lpVtbl->SetTime(This); +} +static FORCEINLINE HRESULT IShellDispatch6_TrayProperties(IShellDispatch6* This) { + return This->lpVtbl->TrayProperties(This); +} +static FORCEINLINE HRESULT IShellDispatch6_Help(IShellDispatch6* This) { + return This->lpVtbl->Help(This); +} +static FORCEINLINE HRESULT IShellDispatch6_FindFiles(IShellDispatch6* This) { + return This->lpVtbl->FindFiles(This); +} +static FORCEINLINE HRESULT IShellDispatch6_FindComputer(IShellDispatch6* This) { + return This->lpVtbl->FindComputer(This); +} +static FORCEINLINE HRESULT IShellDispatch6_RefreshMenu(IShellDispatch6* This) { + return This->lpVtbl->RefreshMenu(This); +} +static FORCEINLINE HRESULT IShellDispatch6_ControlPanelItem(IShellDispatch6* This,BSTR szDir) { + return This->lpVtbl->ControlPanelItem(This,szDir); +} +/*** IShellDispatch2 methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_IsRestricted(IShellDispatch6* This,BSTR group,BSTR restriction,LONG *value) { + return This->lpVtbl->IsRestricted(This,group,restriction,value); +} +static FORCEINLINE HRESULT IShellDispatch6_ShellExecute(IShellDispatch6* This,BSTR file,VARIANT args,VARIANT dir,VARIANT op,VARIANT show) { + return This->lpVtbl->ShellExecute(This,file,args,dir,op,show); +} +static FORCEINLINE HRESULT IShellDispatch6_FindPrinter(IShellDispatch6* This,BSTR name,BSTR location,BSTR model) { + return This->lpVtbl->FindPrinter(This,name,location,model); +} +static FORCEINLINE HRESULT IShellDispatch6_GetSystemInformation(IShellDispatch6* This,BSTR name,VARIANT *ret) { + return This->lpVtbl->GetSystemInformation(This,name,ret); +} +static FORCEINLINE HRESULT IShellDispatch6_ServiceStart(IShellDispatch6* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStart(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch6_ServiceStop(IShellDispatch6* This,BSTR service,VARIANT persistent,VARIANT *ret) { + return This->lpVtbl->ServiceStop(This,service,persistent,ret); +} +static FORCEINLINE HRESULT IShellDispatch6_IsServiceRunning(IShellDispatch6* This,BSTR service,VARIANT *running) { + return This->lpVtbl->IsServiceRunning(This,service,running); +} +static FORCEINLINE HRESULT IShellDispatch6_CanStartStopService(IShellDispatch6* This,BSTR service,VARIANT *ret) { + return This->lpVtbl->CanStartStopService(This,service,ret); +} +static FORCEINLINE HRESULT IShellDispatch6_ShowBrowserBar(IShellDispatch6* This,BSTR clsid,VARIANT show,VARIANT *ret) { + return This->lpVtbl->ShowBrowserBar(This,clsid,show,ret); +} +/*** IShellDispatch3 methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_AddToRecent(IShellDispatch6* This,VARIANT file,BSTR category) { + return This->lpVtbl->AddToRecent(This,file,category); +} +/*** IShellDispatch4 methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_WindowsSecurity(IShellDispatch6* This) { + return This->lpVtbl->WindowsSecurity(This); +} +static FORCEINLINE HRESULT IShellDispatch6_ToggleDesktop(IShellDispatch6* This) { + return This->lpVtbl->ToggleDesktop(This); +} +static FORCEINLINE HRESULT IShellDispatch6_ExplorerPolicy(IShellDispatch6* This,BSTR policy,VARIANT *value) { + return This->lpVtbl->ExplorerPolicy(This,policy,value); +} +static FORCEINLINE HRESULT IShellDispatch6_GetSetting(IShellDispatch6* This,LONG setting,VARIANT_BOOL *result) { + return This->lpVtbl->GetSetting(This,setting,result); +} +/*** IShellDispatch5 methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_WindowSwitcher(IShellDispatch6* This) { + return This->lpVtbl->WindowSwitcher(This); +} +/*** IShellDispatch6 methods ***/ +static FORCEINLINE HRESULT IShellDispatch6_SearchCommand(IShellDispatch6* This) { + return This->lpVtbl->SearchCommand(This); +} +#endif +#endif + +#endif + + +#endif /* __IShellDispatch6_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * Shell coclass + */ + +DEFINE_GUID(CLSID_Shell, 0x13709620, 0xc279, 0x11ce, 0xa4,0x9e, 0x44,0x45,0x53,0x54,0x00,0x00); + +#ifdef __cplusplus +class DECLSPEC_UUID("13709620-c279-11ce-a49e-444553540000") Shell; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(Shell, 0x13709620, 0xc279, 0x11ce, 0xa4,0x9e, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#endif + +/***************************************************************************** + * ShellDispatchInproc coclass + */ + +DEFINE_GUID(CLSID_ShellDispatchInproc, 0x0a89a860, 0xd7b1, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00); + +#ifdef __cplusplus +class DECLSPEC_UUID("0a89a860-d7b1-11ce-8350-444553540000") ShellDispatchInproc; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellDispatchInproc, 0x0a89a860, 0xd7b1, 0x11ce, 0x83,0x50, 0x44,0x45,0x53,0x54,0x00,0x00) +#endif +#endif + +typedef enum ShellSpecialFolderConstants { + ssfDESKTOP = 0x0, + ssfPROGRAMS = 0x2, + ssfCONTROLS = 0x3, + ssfPRINTERS = 0x4, + ssfPERSONAL = 0x5, + ssfFAVORITES = 0x6, + ssfSTARTUP = 0x7, + ssfRECENT = 0x8, + ssfSENDTO = 0x9, + ssfBITBUCKET = 0xa, + ssfSTARTMENU = 0xb, + ssfDESKTOPDIRECTORY = 0x10, + ssfDRIVES = 0x11, + ssfNETWORK = 0x12, + ssfNETHOOD = 0x13, + ssfFONTS = 0x14, + ssfTEMPLATES = 0x15, + ssfCOMMONSTARTMENU = 0x16, + ssfCOMMONPROGRAMS = 0x17, + ssfCOMMONSTARTUP = 0x18, + ssfCOMMONDESKTOPDIR = 0x19, + ssfAPPDATA = 0x1a, + ssfPRINTHOOD = 0x1b, + ssfLOCALAPPDATA = 0x1c, + ssfALTSTARTUP = 0x1d, + ssfCOMMONALTSTARTUP = 0x1e, + ssfCOMMONFAVORITES = 0x1f, + ssfINTERNETCACHE = 0x20, + ssfCOOKIES = 0x21, + ssfHISTORY = 0x22, + ssfCOMMONAPPDATA = 0x23, + ssfWINDOWS = 0x24, + ssfSYSTEM = 0x25, + ssfPROGRAMFILES = 0x26, + ssfMYPICTURES = 0x27, + ssfPROFILE = 0x28, + ssfSYSTEMx86 = 0x29, + ssfPROGRAMFILESx86 = 0x30 +} ShellSpecialFolderConstants; +typedef enum ShellFolderViewOptions { + SFVVO_SHOWALLOBJECTS = 0x1, + SFVVO_SHOWEXTENSIONS = 0x2, + SFVVO_SHOWCOMPCOLOR = 0x8, + SFVVO_SHOWSYSFILES = 0x20, + SFVVO_WIN95CLASSIC = 0x40, + SFVVO_DOUBLECLICKINWEBVIEW = 0x80, + SFVVO_DESKTOPHTML = 0x200 +} ShellFolderViewOptions; +/***************************************************************************** + * IShellFolderViewDual interface + */ +#ifndef __IShellFolderViewDual_INTERFACE_DEFINED__ +#define __IShellFolderViewDual_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellFolderViewDual, 0xe7a1af80, 0x4d96, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e7a1af80-4d96-11cf-960c-0080c7f4ee85") +IShellFolderViewDual : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Application( + IDispatch **app) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + IDispatch **parent) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Folder( + Folder **folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectedItems( + FolderItems **items) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FocusedItem( + FolderItem **item) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectItem( + VARIANT *item, + int flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE PopupItemMenu( + FolderItem *item, + VARIANT vx, + VARIANT vy, + BSTR *command) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Script( + IDispatch **script) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ViewOptions( + LONG *options) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellFolderViewDual, 0xe7a1af80, 0x4d96, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85) +#endif +#else +typedef struct IShellFolderViewDualVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellFolderViewDual *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellFolderViewDual *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellFolderViewDual *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellFolderViewDual *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellFolderViewDual *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellFolderViewDual *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellFolderViewDual *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellFolderViewDual methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellFolderViewDual *This, + IDispatch **app); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellFolderViewDual *This, + IDispatch **parent); + + HRESULT (STDMETHODCALLTYPE *get_Folder)( + IShellFolderViewDual *This, + Folder **folder); + + HRESULT (STDMETHODCALLTYPE *SelectedItems)( + IShellFolderViewDual *This, + FolderItems **items); + + HRESULT (STDMETHODCALLTYPE *get_FocusedItem)( + IShellFolderViewDual *This, + FolderItem **item); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IShellFolderViewDual *This, + VARIANT *item, + int flags); + + HRESULT (STDMETHODCALLTYPE *PopupItemMenu)( + IShellFolderViewDual *This, + FolderItem *item, + VARIANT vx, + VARIANT vy, + BSTR *command); + + HRESULT (STDMETHODCALLTYPE *get_Script)( + IShellFolderViewDual *This, + IDispatch **script); + + HRESULT (STDMETHODCALLTYPE *get_ViewOptions)( + IShellFolderViewDual *This, + LONG *options); + + END_INTERFACE +} IShellFolderViewDualVtbl; + +interface IShellFolderViewDual { + CONST_VTBL IShellFolderViewDualVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellFolderViewDual_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellFolderViewDual_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellFolderViewDual_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellFolderViewDual_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellFolderViewDual_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellFolderViewDual_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellFolderViewDual_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellFolderViewDual methods ***/ +#define IShellFolderViewDual_get_Application(This,app) (This)->lpVtbl->get_Application(This,app) +#define IShellFolderViewDual_get_Parent(This,parent) (This)->lpVtbl->get_Parent(This,parent) +#define IShellFolderViewDual_get_Folder(This,folder) (This)->lpVtbl->get_Folder(This,folder) +#define IShellFolderViewDual_SelectedItems(This,items) (This)->lpVtbl->SelectedItems(This,items) +#define IShellFolderViewDual_get_FocusedItem(This,item) (This)->lpVtbl->get_FocusedItem(This,item) +#define IShellFolderViewDual_SelectItem(This,item,flags) (This)->lpVtbl->SelectItem(This,item,flags) +#define IShellFolderViewDual_PopupItemMenu(This,item,vx,vy,command) (This)->lpVtbl->PopupItemMenu(This,item,vx,vy,command) +#define IShellFolderViewDual_get_Script(This,script) (This)->lpVtbl->get_Script(This,script) +#define IShellFolderViewDual_get_ViewOptions(This,options) (This)->lpVtbl->get_ViewOptions(This,options) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual_QueryInterface(IShellFolderViewDual* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellFolderViewDual_AddRef(IShellFolderViewDual* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellFolderViewDual_Release(IShellFolderViewDual* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual_GetTypeInfoCount(IShellFolderViewDual* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellFolderViewDual_GetTypeInfo(IShellFolderViewDual* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellFolderViewDual_GetIDsOfNames(IShellFolderViewDual* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellFolderViewDual_Invoke(IShellFolderViewDual* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellFolderViewDual methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual_get_Application(IShellFolderViewDual* This,IDispatch **app) { + return This->lpVtbl->get_Application(This,app); +} +static FORCEINLINE HRESULT IShellFolderViewDual_get_Parent(IShellFolderViewDual* This,IDispatch **parent) { + return This->lpVtbl->get_Parent(This,parent); +} +static FORCEINLINE HRESULT IShellFolderViewDual_get_Folder(IShellFolderViewDual* This,Folder **folder) { + return This->lpVtbl->get_Folder(This,folder); +} +static FORCEINLINE HRESULT IShellFolderViewDual_SelectedItems(IShellFolderViewDual* This,FolderItems **items) { + return This->lpVtbl->SelectedItems(This,items); +} +static FORCEINLINE HRESULT IShellFolderViewDual_get_FocusedItem(IShellFolderViewDual* This,FolderItem **item) { + return This->lpVtbl->get_FocusedItem(This,item); +} +static FORCEINLINE HRESULT IShellFolderViewDual_SelectItem(IShellFolderViewDual* This,VARIANT *item,int flags) { + return This->lpVtbl->SelectItem(This,item,flags); +} +static FORCEINLINE HRESULT IShellFolderViewDual_PopupItemMenu(IShellFolderViewDual* This,FolderItem *item,VARIANT vx,VARIANT vy,BSTR *command) { + return This->lpVtbl->PopupItemMenu(This,item,vx,vy,command); +} +static FORCEINLINE HRESULT IShellFolderViewDual_get_Script(IShellFolderViewDual* This,IDispatch **script) { + return This->lpVtbl->get_Script(This,script); +} +static FORCEINLINE HRESULT IShellFolderViewDual_get_ViewOptions(IShellFolderViewDual* This,LONG *options) { + return This->lpVtbl->get_ViewOptions(This,options); +} +#endif +#endif + +#endif + + +#endif /* __IShellFolderViewDual_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellFolderViewDual2 interface + */ +#ifndef __IShellFolderViewDual2_INTERFACE_DEFINED__ +#define __IShellFolderViewDual2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellFolderViewDual2, 0x31c147b6, 0x0ade, 0x4a3c, 0xb5,0x14, 0xdd,0xf9,0x32,0xef,0x6d,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("31c147b6-0ade-4a3c-b514-ddf932ef6d17") +IShellFolderViewDual2 : public IShellFolderViewDual +{ + virtual HRESULT STDMETHODCALLTYPE get_CurrentViewMode( + UINT *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CurrentViewMode( + UINT mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectItemRelative( + int relative) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellFolderViewDual2, 0x31c147b6, 0x0ade, 0x4a3c, 0xb5,0x14, 0xdd,0xf9,0x32,0xef,0x6d,0x17) +#endif +#else +typedef struct IShellFolderViewDual2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellFolderViewDual2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellFolderViewDual2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellFolderViewDual2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellFolderViewDual2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellFolderViewDual2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellFolderViewDual2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellFolderViewDual2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellFolderViewDual methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellFolderViewDual2 *This, + IDispatch **app); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellFolderViewDual2 *This, + IDispatch **parent); + + HRESULT (STDMETHODCALLTYPE *get_Folder)( + IShellFolderViewDual2 *This, + Folder **folder); + + HRESULT (STDMETHODCALLTYPE *SelectedItems)( + IShellFolderViewDual2 *This, + FolderItems **items); + + HRESULT (STDMETHODCALLTYPE *get_FocusedItem)( + IShellFolderViewDual2 *This, + FolderItem **item); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IShellFolderViewDual2 *This, + VARIANT *item, + int flags); + + HRESULT (STDMETHODCALLTYPE *PopupItemMenu)( + IShellFolderViewDual2 *This, + FolderItem *item, + VARIANT vx, + VARIANT vy, + BSTR *command); + + HRESULT (STDMETHODCALLTYPE *get_Script)( + IShellFolderViewDual2 *This, + IDispatch **script); + + HRESULT (STDMETHODCALLTYPE *get_ViewOptions)( + IShellFolderViewDual2 *This, + LONG *options); + + /*** IShellFolderViewDual2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CurrentViewMode)( + IShellFolderViewDual2 *This, + UINT *mode); + + HRESULT (STDMETHODCALLTYPE *put_CurrentViewMode)( + IShellFolderViewDual2 *This, + UINT mode); + + HRESULT (STDMETHODCALLTYPE *SelectItemRelative)( + IShellFolderViewDual2 *This, + int relative); + + END_INTERFACE +} IShellFolderViewDual2Vtbl; + +interface IShellFolderViewDual2 { + CONST_VTBL IShellFolderViewDual2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellFolderViewDual2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellFolderViewDual2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellFolderViewDual2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellFolderViewDual2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellFolderViewDual2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellFolderViewDual2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellFolderViewDual2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellFolderViewDual methods ***/ +#define IShellFolderViewDual2_get_Application(This,app) (This)->lpVtbl->get_Application(This,app) +#define IShellFolderViewDual2_get_Parent(This,parent) (This)->lpVtbl->get_Parent(This,parent) +#define IShellFolderViewDual2_get_Folder(This,folder) (This)->lpVtbl->get_Folder(This,folder) +#define IShellFolderViewDual2_SelectedItems(This,items) (This)->lpVtbl->SelectedItems(This,items) +#define IShellFolderViewDual2_get_FocusedItem(This,item) (This)->lpVtbl->get_FocusedItem(This,item) +#define IShellFolderViewDual2_SelectItem(This,item,flags) (This)->lpVtbl->SelectItem(This,item,flags) +#define IShellFolderViewDual2_PopupItemMenu(This,item,vx,vy,command) (This)->lpVtbl->PopupItemMenu(This,item,vx,vy,command) +#define IShellFolderViewDual2_get_Script(This,script) (This)->lpVtbl->get_Script(This,script) +#define IShellFolderViewDual2_get_ViewOptions(This,options) (This)->lpVtbl->get_ViewOptions(This,options) +/*** IShellFolderViewDual2 methods ***/ +#define IShellFolderViewDual2_get_CurrentViewMode(This,mode) (This)->lpVtbl->get_CurrentViewMode(This,mode) +#define IShellFolderViewDual2_put_CurrentViewMode(This,mode) (This)->lpVtbl->put_CurrentViewMode(This,mode) +#define IShellFolderViewDual2_SelectItemRelative(This,relative) (This)->lpVtbl->SelectItemRelative(This,relative) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual2_QueryInterface(IShellFolderViewDual2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellFolderViewDual2_AddRef(IShellFolderViewDual2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellFolderViewDual2_Release(IShellFolderViewDual2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual2_GetTypeInfoCount(IShellFolderViewDual2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_GetTypeInfo(IShellFolderViewDual2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_GetIDsOfNames(IShellFolderViewDual2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_Invoke(IShellFolderViewDual2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellFolderViewDual methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual2_get_Application(IShellFolderViewDual2* This,IDispatch **app) { + return This->lpVtbl->get_Application(This,app); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_get_Parent(IShellFolderViewDual2* This,IDispatch **parent) { + return This->lpVtbl->get_Parent(This,parent); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_get_Folder(IShellFolderViewDual2* This,Folder **folder) { + return This->lpVtbl->get_Folder(This,folder); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_SelectedItems(IShellFolderViewDual2* This,FolderItems **items) { + return This->lpVtbl->SelectedItems(This,items); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_get_FocusedItem(IShellFolderViewDual2* This,FolderItem **item) { + return This->lpVtbl->get_FocusedItem(This,item); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_SelectItem(IShellFolderViewDual2* This,VARIANT *item,int flags) { + return This->lpVtbl->SelectItem(This,item,flags); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_PopupItemMenu(IShellFolderViewDual2* This,FolderItem *item,VARIANT vx,VARIANT vy,BSTR *command) { + return This->lpVtbl->PopupItemMenu(This,item,vx,vy,command); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_get_Script(IShellFolderViewDual2* This,IDispatch **script) { + return This->lpVtbl->get_Script(This,script); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_get_ViewOptions(IShellFolderViewDual2* This,LONG *options) { + return This->lpVtbl->get_ViewOptions(This,options); +} +/*** IShellFolderViewDual2 methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual2_get_CurrentViewMode(IShellFolderViewDual2* This,UINT *mode) { + return This->lpVtbl->get_CurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_put_CurrentViewMode(IShellFolderViewDual2* This,UINT mode) { + return This->lpVtbl->put_CurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IShellFolderViewDual2_SelectItemRelative(IShellFolderViewDual2* This,int relative) { + return This->lpVtbl->SelectItemRelative(This,relative); +} +#endif +#endif + +#endif + + +#endif /* __IShellFolderViewDual2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellFolderViewDual3 interface + */ +#ifndef __IShellFolderViewDual3_INTERFACE_DEFINED__ +#define __IShellFolderViewDual3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellFolderViewDual3, 0x29ec8e6c, 0x46d3, 0x411f, 0xba,0xaa, 0x61,0x1a,0x6c,0x9c,0xac,0x66); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29ec8e6c-46d3-411f-baaa-611a6c9cac66") +IShellFolderViewDual3 : public IShellFolderViewDual2 +{ + virtual HRESULT STDMETHODCALLTYPE get_GroupBy( + BSTR *groupby) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_GroupBy( + BSTR groupby) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_FolderFlags( + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_FolderFlags( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SortColumns( + BSTR *sortcolumns) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SortColumns( + BSTR sortcolumns) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IconSize( + int icon_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IconSize( + int *icon_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE FilterView( + BSTR filter_text) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellFolderViewDual3, 0x29ec8e6c, 0x46d3, 0x411f, 0xba,0xaa, 0x61,0x1a,0x6c,0x9c,0xac,0x66) +#endif +#else +typedef struct IShellFolderViewDual3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellFolderViewDual3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellFolderViewDual3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellFolderViewDual3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IShellFolderViewDual3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IShellFolderViewDual3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IShellFolderViewDual3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IShellFolderViewDual3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IShellFolderViewDual methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Application)( + IShellFolderViewDual3 *This, + IDispatch **app); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + IShellFolderViewDual3 *This, + IDispatch **parent); + + HRESULT (STDMETHODCALLTYPE *get_Folder)( + IShellFolderViewDual3 *This, + Folder **folder); + + HRESULT (STDMETHODCALLTYPE *SelectedItems)( + IShellFolderViewDual3 *This, + FolderItems **items); + + HRESULT (STDMETHODCALLTYPE *get_FocusedItem)( + IShellFolderViewDual3 *This, + FolderItem **item); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IShellFolderViewDual3 *This, + VARIANT *item, + int flags); + + HRESULT (STDMETHODCALLTYPE *PopupItemMenu)( + IShellFolderViewDual3 *This, + FolderItem *item, + VARIANT vx, + VARIANT vy, + BSTR *command); + + HRESULT (STDMETHODCALLTYPE *get_Script)( + IShellFolderViewDual3 *This, + IDispatch **script); + + HRESULT (STDMETHODCALLTYPE *get_ViewOptions)( + IShellFolderViewDual3 *This, + LONG *options); + + /*** IShellFolderViewDual2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CurrentViewMode)( + IShellFolderViewDual3 *This, + UINT *mode); + + HRESULT (STDMETHODCALLTYPE *put_CurrentViewMode)( + IShellFolderViewDual3 *This, + UINT mode); + + HRESULT (STDMETHODCALLTYPE *SelectItemRelative)( + IShellFolderViewDual3 *This, + int relative); + + /*** IShellFolderViewDual3 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_GroupBy)( + IShellFolderViewDual3 *This, + BSTR *groupby); + + HRESULT (STDMETHODCALLTYPE *put_GroupBy)( + IShellFolderViewDual3 *This, + BSTR groupby); + + HRESULT (STDMETHODCALLTYPE *get_FolderFlags)( + IShellFolderViewDual3 *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *put_FolderFlags)( + IShellFolderViewDual3 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *get_SortColumns)( + IShellFolderViewDual3 *This, + BSTR *sortcolumns); + + HRESULT (STDMETHODCALLTYPE *put_SortColumns)( + IShellFolderViewDual3 *This, + BSTR sortcolumns); + + HRESULT (STDMETHODCALLTYPE *put_IconSize)( + IShellFolderViewDual3 *This, + int icon_size); + + HRESULT (STDMETHODCALLTYPE *get_IconSize)( + IShellFolderViewDual3 *This, + int *icon_size); + + HRESULT (STDMETHODCALLTYPE *FilterView)( + IShellFolderViewDual3 *This, + BSTR filter_text); + + END_INTERFACE +} IShellFolderViewDual3Vtbl; + +interface IShellFolderViewDual3 { + CONST_VTBL IShellFolderViewDual3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellFolderViewDual3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellFolderViewDual3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellFolderViewDual3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IShellFolderViewDual3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IShellFolderViewDual3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IShellFolderViewDual3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IShellFolderViewDual3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IShellFolderViewDual methods ***/ +#define IShellFolderViewDual3_get_Application(This,app) (This)->lpVtbl->get_Application(This,app) +#define IShellFolderViewDual3_get_Parent(This,parent) (This)->lpVtbl->get_Parent(This,parent) +#define IShellFolderViewDual3_get_Folder(This,folder) (This)->lpVtbl->get_Folder(This,folder) +#define IShellFolderViewDual3_SelectedItems(This,items) (This)->lpVtbl->SelectedItems(This,items) +#define IShellFolderViewDual3_get_FocusedItem(This,item) (This)->lpVtbl->get_FocusedItem(This,item) +#define IShellFolderViewDual3_SelectItem(This,item,flags) (This)->lpVtbl->SelectItem(This,item,flags) +#define IShellFolderViewDual3_PopupItemMenu(This,item,vx,vy,command) (This)->lpVtbl->PopupItemMenu(This,item,vx,vy,command) +#define IShellFolderViewDual3_get_Script(This,script) (This)->lpVtbl->get_Script(This,script) +#define IShellFolderViewDual3_get_ViewOptions(This,options) (This)->lpVtbl->get_ViewOptions(This,options) +/*** IShellFolderViewDual2 methods ***/ +#define IShellFolderViewDual3_get_CurrentViewMode(This,mode) (This)->lpVtbl->get_CurrentViewMode(This,mode) +#define IShellFolderViewDual3_put_CurrentViewMode(This,mode) (This)->lpVtbl->put_CurrentViewMode(This,mode) +#define IShellFolderViewDual3_SelectItemRelative(This,relative) (This)->lpVtbl->SelectItemRelative(This,relative) +/*** IShellFolderViewDual3 methods ***/ +#define IShellFolderViewDual3_get_GroupBy(This,groupby) (This)->lpVtbl->get_GroupBy(This,groupby) +#define IShellFolderViewDual3_put_GroupBy(This,groupby) (This)->lpVtbl->put_GroupBy(This,groupby) +#define IShellFolderViewDual3_get_FolderFlags(This,flags) (This)->lpVtbl->get_FolderFlags(This,flags) +#define IShellFolderViewDual3_put_FolderFlags(This,flags) (This)->lpVtbl->put_FolderFlags(This,flags) +#define IShellFolderViewDual3_get_SortColumns(This,sortcolumns) (This)->lpVtbl->get_SortColumns(This,sortcolumns) +#define IShellFolderViewDual3_put_SortColumns(This,sortcolumns) (This)->lpVtbl->put_SortColumns(This,sortcolumns) +#define IShellFolderViewDual3_put_IconSize(This,icon_size) (This)->lpVtbl->put_IconSize(This,icon_size) +#define IShellFolderViewDual3_get_IconSize(This,icon_size) (This)->lpVtbl->get_IconSize(This,icon_size) +#define IShellFolderViewDual3_FilterView(This,filter_text) (This)->lpVtbl->FilterView(This,filter_text) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual3_QueryInterface(IShellFolderViewDual3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellFolderViewDual3_AddRef(IShellFolderViewDual3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellFolderViewDual3_Release(IShellFolderViewDual3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual3_GetTypeInfoCount(IShellFolderViewDual3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_GetTypeInfo(IShellFolderViewDual3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_GetIDsOfNames(IShellFolderViewDual3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_Invoke(IShellFolderViewDual3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IShellFolderViewDual methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual3_get_Application(IShellFolderViewDual3* This,IDispatch **app) { + return This->lpVtbl->get_Application(This,app); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_Parent(IShellFolderViewDual3* This,IDispatch **parent) { + return This->lpVtbl->get_Parent(This,parent); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_Folder(IShellFolderViewDual3* This,Folder **folder) { + return This->lpVtbl->get_Folder(This,folder); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_SelectedItems(IShellFolderViewDual3* This,FolderItems **items) { + return This->lpVtbl->SelectedItems(This,items); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_FocusedItem(IShellFolderViewDual3* This,FolderItem **item) { + return This->lpVtbl->get_FocusedItem(This,item); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_SelectItem(IShellFolderViewDual3* This,VARIANT *item,int flags) { + return This->lpVtbl->SelectItem(This,item,flags); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_PopupItemMenu(IShellFolderViewDual3* This,FolderItem *item,VARIANT vx,VARIANT vy,BSTR *command) { + return This->lpVtbl->PopupItemMenu(This,item,vx,vy,command); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_Script(IShellFolderViewDual3* This,IDispatch **script) { + return This->lpVtbl->get_Script(This,script); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_ViewOptions(IShellFolderViewDual3* This,LONG *options) { + return This->lpVtbl->get_ViewOptions(This,options); +} +/*** IShellFolderViewDual2 methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual3_get_CurrentViewMode(IShellFolderViewDual3* This,UINT *mode) { + return This->lpVtbl->get_CurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_put_CurrentViewMode(IShellFolderViewDual3* This,UINT mode) { + return This->lpVtbl->put_CurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_SelectItemRelative(IShellFolderViewDual3* This,int relative) { + return This->lpVtbl->SelectItemRelative(This,relative); +} +/*** IShellFolderViewDual3 methods ***/ +static FORCEINLINE HRESULT IShellFolderViewDual3_get_GroupBy(IShellFolderViewDual3* This,BSTR *groupby) { + return This->lpVtbl->get_GroupBy(This,groupby); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_put_GroupBy(IShellFolderViewDual3* This,BSTR groupby) { + return This->lpVtbl->put_GroupBy(This,groupby); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_FolderFlags(IShellFolderViewDual3* This,DWORD *flags) { + return This->lpVtbl->get_FolderFlags(This,flags); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_put_FolderFlags(IShellFolderViewDual3* This,DWORD flags) { + return This->lpVtbl->put_FolderFlags(This,flags); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_SortColumns(IShellFolderViewDual3* This,BSTR *sortcolumns) { + return This->lpVtbl->get_SortColumns(This,sortcolumns); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_put_SortColumns(IShellFolderViewDual3* This,BSTR sortcolumns) { + return This->lpVtbl->put_SortColumns(This,sortcolumns); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_put_IconSize(IShellFolderViewDual3* This,int icon_size) { + return This->lpVtbl->put_IconSize(This,icon_size); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_get_IconSize(IShellFolderViewDual3* This,int *icon_size) { + return This->lpVtbl->get_IconSize(This,icon_size); +} +static FORCEINLINE HRESULT IShellFolderViewDual3_FilterView(IShellFolderViewDual3* This,BSTR filter_text) { + return This->lpVtbl->FilterView(This,filter_text); +} +#endif +#endif + +#endif + + +#endif /* __IShellFolderViewDual3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ShellFolderView coclass + */ + +DEFINE_GUID(CLSID_ShellFolderView, 0x62112aa1, 0xebe4, 0x11cf, 0xa5,0xfb, 0x00,0x20,0xaf,0xe7,0x29,0x2d); + +#ifdef __cplusplus +class DECLSPEC_UUID("62112aa1-ebe4-11cf-a5fb-0020afe7292d") ShellFolderView; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellFolderView, 0x62112aa1, 0xebe4, 0x11cf, 0xa5,0xfb, 0x00,0x20,0xaf,0xe7,0x29,0x2d) +#endif +#endif + +/***************************************************************************** + * IAsyncOperation interface + */ +#ifndef __IAsyncOperation_INTERFACE_DEFINED__ +#define __IAsyncOperation_INTERFACE_DEFINED__ + +typedef IAsyncOperation *LPASYNCOPERATION; +DEFINE_GUID(IID_IAsyncOperation, 0x3d8b0590, 0xf691, 0x11d2, 0x8e,0xa9, 0x00,0x60,0x97,0xdf,0x5b,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d8b0590-f691-11d2-8ea9-006097df5bd4") +IAsyncOperation : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAsyncMode( + BOOL fDoOpAsync) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAsyncMode( + BOOL *pfIsOpAsync) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartOperation( + IBindCtx *pbcReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE InOperation( + BOOL *pfInAsyncOp) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndOperation( + HRESULT hResult, + IBindCtx *pbcReserved, + DWORD dwEffects) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAsyncOperation, 0x3d8b0590, 0xf691, 0x11d2, 0x8e,0xa9, 0x00,0x60,0x97,0xdf,0x5b,0xd4) +#endif +#else +typedef struct IAsyncOperationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAsyncOperation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAsyncOperation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAsyncOperation *This); + + /*** IAsyncOperation methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAsyncMode)( + IAsyncOperation *This, + BOOL fDoOpAsync); + + HRESULT (STDMETHODCALLTYPE *GetAsyncMode)( + IAsyncOperation *This, + BOOL *pfIsOpAsync); + + HRESULT (STDMETHODCALLTYPE *StartOperation)( + IAsyncOperation *This, + IBindCtx *pbcReserved); + + HRESULT (STDMETHODCALLTYPE *InOperation)( + IAsyncOperation *This, + BOOL *pfInAsyncOp); + + HRESULT (STDMETHODCALLTYPE *EndOperation)( + IAsyncOperation *This, + HRESULT hResult, + IBindCtx *pbcReserved, + DWORD dwEffects); + + END_INTERFACE +} IAsyncOperationVtbl; + +interface IAsyncOperation { + CONST_VTBL IAsyncOperationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAsyncOperation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAsyncOperation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAsyncOperation_Release(This) (This)->lpVtbl->Release(This) +/*** IAsyncOperation methods ***/ +#define IAsyncOperation_SetAsyncMode(This,fDoOpAsync) (This)->lpVtbl->SetAsyncMode(This,fDoOpAsync) +#define IAsyncOperation_GetAsyncMode(This,pfIsOpAsync) (This)->lpVtbl->GetAsyncMode(This,pfIsOpAsync) +#define IAsyncOperation_StartOperation(This,pbcReserved) (This)->lpVtbl->StartOperation(This,pbcReserved) +#define IAsyncOperation_InOperation(This,pfInAsyncOp) (This)->lpVtbl->InOperation(This,pfInAsyncOp) +#define IAsyncOperation_EndOperation(This,hResult,pbcReserved,dwEffects) (This)->lpVtbl->EndOperation(This,hResult,pbcReserved,dwEffects) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAsyncOperation_QueryInterface(IAsyncOperation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAsyncOperation_AddRef(IAsyncOperation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAsyncOperation_Release(IAsyncOperation* This) { + return This->lpVtbl->Release(This); +} +/*** IAsyncOperation methods ***/ +static FORCEINLINE HRESULT IAsyncOperation_SetAsyncMode(IAsyncOperation* This,BOOL fDoOpAsync) { + return This->lpVtbl->SetAsyncMode(This,fDoOpAsync); +} +static FORCEINLINE HRESULT IAsyncOperation_GetAsyncMode(IAsyncOperation* This,BOOL *pfIsOpAsync) { + return This->lpVtbl->GetAsyncMode(This,pfIsOpAsync); +} +static FORCEINLINE HRESULT IAsyncOperation_StartOperation(IAsyncOperation* This,IBindCtx *pbcReserved) { + return This->lpVtbl->StartOperation(This,pbcReserved); +} +static FORCEINLINE HRESULT IAsyncOperation_InOperation(IAsyncOperation* This,BOOL *pfInAsyncOp) { + return This->lpVtbl->InOperation(This,pfInAsyncOp); +} +static FORCEINLINE HRESULT IAsyncOperation_EndOperation(IAsyncOperation* This,HRESULT hResult,IBindCtx *pbcReserved,DWORD dwEffects) { + return This->lpVtbl->EndOperation(This,hResult,pbcReserved,dwEffects); +} +#endif +#endif + +#endif + + +#endif /* __IAsyncOperation_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __shldisp_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shldisp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shldisp.idl new file mode 100644 index 0000000..f5372c4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shldisp.idl @@ -0,0 +1,765 @@ +/* + * COM interfaces for shell objects + * + * Copyright (C) 2004 Maxime Bellengé + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "ocidl.idl"; + +#include + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef ShellExecute") +cpp_quote("#endif") + +/***************************************************************************** + * IEnumACString interface + */ +[ + local, + object, + uuid(8e74c210-cf9d-4eaf-a403-7356428f0a5a), + pointer_default(unique) +] +interface IEnumACString : IEnumString +{ + typedef IEnumACString *PENUMACSTRING, *LPENUMACSTRING; + + typedef enum _tagACENUMOPTION + { + ACEO_NONE = 0x00000000, + ACEO_MOSTRECENTFIRST = 0x00000001, + ACEO_FIRSTUNUSED = 0x00010000, + } ACENUMOPTION; + + HRESULT NextItem( [out] LPWSTR pszUrl, + [in] ULONG cchMax, + [out] ULONG *pulSortIndex); + + HRESULT SetEnumOptions( [in] DWORD dwOptions ); + + HRESULT GetEnumOptions( [out] DWORD *pdwOptions ); +} + +/***************************************************************************** + * IAutoComplete interface + */ +[ + local, + object, + uuid(00bb2762-6a77-11d0-a535-00c04fd7d062), + pointer_default(unique) +] +interface IAutoComplete : IUnknown +{ + typedef IAutoComplete *LPAUTOCOMPLETE; + + HRESULT Init( [in] HWND hwndEdit, + [in] IUnknown *punkACL, + [in] LPCOLESTR pwszRegKeyPath, + [in] LPCOLESTR pwszQuickComplete); + + HRESULT Enable( [in] BOOL fEnable ); +} + +/***************************************************************************** + * IAutoComplete2 interface + */ +[ + local, + object, + uuid(eac04bc0-3791-11d2-bb95-0060977b464c), + pointer_default(unique) +] +interface IAutoComplete2 : IAutoComplete +{ + typedef IAutoComplete2 *LPAUTOCOMPLETE2; + + typedef enum _tagAUTOCOMPLETEOPTIONS + { + ACO_NONE = 0x00, /* No AutoComplete */ + ACO_AUTOSUGGEST = 0x01, /* enable autosuggest dropdown */ + ACO_AUTOAPPEND = 0x02, /* enable autoappend */ + ACO_SEARCH = 0x04, /* add search entry to completion list */ + ACO_FILTERPREFIXES = 0x08, /* don't match common prefixes (www., http://, etc) */ + ACO_USETAB = 0x10, /* use tab to select autosuggest entries */ + ACO_UPDOWNKEYDROPSLIST = 0x20, /* up/down arrow key invokes autosuggest dropdown (if enabled) */ + ACO_RTLREADING = 0x40, /* enable RTL reading order for dropdown */ + } AUTOCOMPLETEOPTIONS; + + HRESULT SetOptions( [in] DWORD dwFlag); + + HRESULT GetOptions( [out] DWORD *pdwFlag); +} + +[ + uuid(50a7e9b0-70ef-11d1-b75a-00a0c90564fe), + version(1.0) +] +library Shell32 +{ + +importlib("stdole2.tlb"); + +[ + object, + oleautomation, + uuid(9ba05970-f6a8-11cf-a442-00a0c90a8f39), + pointer_default(unique) +] +interface IFolderViewOC : IDispatch +{ + HRESULT SetFolderView( [in] IDispatch *pdisp ); +} + +[ + uuid(62112aa2-ebe4-11cf-a5fb-0020afe7292d) +] +dispinterface DShellFolderViewEvents +{ + properties: + methods: + [id(DISPID_SELECTIONCHANGED)] + void SelectionChanged(); + + [id(DISPID_FILELISTENUMDONE)] + void EnumDone(); + + [id(DISPID_VERBINVOKED)] + VARIANT_BOOL VerbInvoked(); + + [id(DISPID_DEFAULTVERBINVOKED)] + VARIANT_BOOL DefaultVerbInvoked(); + + [id(DISPID_BEGINDRAG)] + VARIANT_BOOL BeginDrag(); +} + +[ + uuid(9ba05971-f6a8-11cf-a442-00a0c90a8f39), + hidden +] +coclass ShellFolderViewOC +{ + [default] interface IFolderViewOC; + [default, source] dispinterface DShellFolderViewEvents; +} + +interface FolderItem; +interface FolderItems; +interface FolderItemVerb; +interface FolderItemVerbs; + +/***************************************************************************** + * Folder interface + */ +[ + object, + uuid(bbcbde60-c3ff-11ce-8350-444553540000), + oleautomation, + dual +] +interface Folder : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Title( [out, retval] BSTR *pbs ); + + [propget] + HRESULT Application( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT Parent( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT ParentFolder( [out, retval] Folder **ppsf ); + + HRESULT Items( [out, retval] FolderItems **ppid ); + + HRESULT ParseName( [in] BSTR bName, [out, retval] FolderItem **ppid ); + + HRESULT NewFolder( [in] BSTR bName, [in, optional] VARIANT vOptions ); + + HRESULT MoveHere( [in] VARIANT vItem, [in, optional] VARIANT vOptions ); + + HRESULT CopyHere( [in] VARIANT vItem, [in, optional] VARIANT vOptions ); + + HRESULT GetDetailsOf( [in] VARIANT vItem, + [in] int iColumn, + [out, retval] BSTR *pbs ); +} + +/***************************************************************************** + * Folder2 interface + */ +[ + object, + uuid(f0d2d8ef-3890-11d2-bf8b-00c04fb93661), + oleautomation, + dual +] +interface Folder2 : Folder +{ + [propget] + HRESULT Self( [out, retval] FolderItem **ppfi ); + + [propget] + HRESULT OfflineStatus( [out, retval] LONG *pul ); + + HRESULT Synchronize(); + + [propget, id(1)] + HRESULT HaveToShowWebViewBarricade( + [out, retval] VARIANT_BOOL *pbHaveToShowWebViewBarricade ); + + HRESULT DismissedWebViewBarricade(); +} + +/***************************************************************************** + * Folder3 interface + */ +[ + object, + uuid(a7ae5f64-c4d7-4d7f-9307-4d24ee54b841), + oleautomation, + dual +] +interface Folder3 : Folder2 +{ + [propget, id(2)] + HRESULT ShowWebViewBarricade( + [out, retval] VARIANT_BOOL *pbShowWebViewBarricade ); + + [propput, id(2)] + HRESULT ShowWebViewBarricade( [in] VARIANT_BOOL bShowWebViewBarricade ); +} + +/***************************************************************************** + * FolderItem interface + */ +[ + object, + uuid(fac32c80-cbe4-11ce-8350-444553540000), + oleautomation, + dual +] +interface FolderItem : IDispatch +{ + typedef FolderItem *LPFOLDERITEM; + + [propget] + HRESULT Application( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT Parent( [out, retval] IDispatch **ppid ); + + [propget, id(DISPID_VALUE)] + HRESULT Name( [out, retval] BSTR *pbs ); + + [propput, id(DISPID_VALUE)] + HRESULT Name( [in] BSTR bs ); + + [propget] + HRESULT Path( [out, retval] BSTR *pbs ); + + [propget] + HRESULT GetLink( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT GetFolder( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT IsLink( [out, retval] VARIANT_BOOL *pb ); + + [propget] + HRESULT IsFolder( [out, retval] VARIANT_BOOL *pb ); + + [propget] + HRESULT IsFileSystem( [out, retval] VARIANT_BOOL *pb ); + + [propget] + HRESULT IsBrowsable( [out, retval] VARIANT_BOOL *pb ); + + [propget] + HRESULT ModifyDate( [out, retval] DATE *pdt ); + + [propput] + HRESULT ModifyDate( [in] DATE dt ); + + [propget] + HRESULT Size( [out, retval] LONG *pul ); + + [propget] + HRESULT Type( [out, retval] BSTR *pbs ); + + HRESULT Verbs( [out, retval] FolderItemVerbs **ppfic ); + + HRESULT InvokeVerb( [in, optional] VARIANT vVerb ); +} + +[ + object, + uuid(edc817aa-92b8-11d1-b075-00c04fc33aa5), + oleautomation, + dual +] +interface FolderItem2 : FolderItem +{ + HRESULT InvokeVerbEx([in, optional] VARIANT verb, [in, optional] VARIANT args); + HRESULT ExtendedProperty([in] BSTR propname, [out, retval] VARIANT *ret); +} + +/***************************************************************************** + * FolderItems interface + */ +[ + object, + uuid(744129e0-cbe5-11ce-8350-444553540000), + oleautomation, + dual +] +interface FolderItems : IDispatch +{ + [propget] + HRESULT Count( [out, retval] long *plCount ); + + [propget] + HRESULT Application( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT Parent( [out, retval] IDispatch **ppid ); + + HRESULT Item( [in, optional] VARIANT index, + [out, retval] FolderItem **ppid ); + + [id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **ppunk ); +} + +/***************************************************************************** + * FolderItems2 interface + */ +[ + uuid(c94f0ad0-f363-11d2-a327-00c04f8eec7f), + oleautomation, + dual +] +interface FolderItems2 : FolderItems +{ + HRESULT InvokeVerbEx( [in, optional] VARIANT verb, + [in, optional] VARIANT args ); +} + +/***************************************************************************** + * FolderItems3 interface + */ +[ + uuid(eaa7c309-bbec-49d5-821d-64d966cb667f), + oleautomation, + dual +] +interface FolderItems3 : FolderItems2 +{ + HRESULT Filter( [in] long flags, [in] BSTR spec ); + + [id(0), propget] + HRESULT Verbs( [out, retval] FolderItemVerbs **ppfic ); +} + +/***************************************************************************** + * FolderItemVerb interface + */ +[ + object, + uuid(08ec3e00-50b0-11cf-960c-0080c7f4ee85), + oleautomation, + dual +] +interface FolderItemVerb : IDispatch +{ + [propget] + HRESULT Application( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT Parent( [out, retval] IDispatch **ppid ); + + [propget, id(DISPID_VALUE)] + HRESULT Name( [out, retval] BSTR *pbs ); + + HRESULT DoIt(); +} + +/***************************************************************************** + * FolderItemVerbs interface + */ +[ + object, + uuid(1f8352c0-50b0-11cf-960c-0080c7f4ee85), + oleautomation, + dual +] +interface FolderItemVerbs : IDispatch +{ + [propget] + HRESULT Count( [out, retval] long *plCount ); + + [propget] + HRESULT Application( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT Parent( [out, retval] IDispatch **ppid ); + + HRESULT Item( [in, optional] VARIANT index, + [out, retval] FolderItemVerb **ppid ); + + [id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **ppunk ); +} + +/***************************************************************************** + * IShellDispatch interface + */ +[ + uuid(d8f015c0-c278-11ce-a49e-444553540000), + oleautomation, + hidden, + dual +] +interface IShellDispatch : IDispatch +{ + [propget] + HRESULT Application( [out, retval] IDispatch **ppid ); + + [propget] + HRESULT Parent( [out, retval] IDispatch **ppid ); + + HRESULT NameSpace( [in] VARIANT vDir, [out, retval] Folder **ppsdf ); + + HRESULT BrowseForFolder( [in] long Hwnd, + [in] BSTR Title, + [in] long Options, + [in, optional] VARIANT RootFolder, + [out, retval] Folder **ppsdf ); + + HRESULT Windows( [out, retval] IDispatch **ppid ); + + HRESULT Open( [in] VARIANT vDir ); + + HRESULT Explore( [in] VARIANT vDir ); + + HRESULT MinimizeAll(); + + HRESULT UndoMinimizeALL(); + + HRESULT FileRun(); + + HRESULT CascadeWindows(); + + HRESULT TileVertically(); + + HRESULT TileHorizontally(); + + HRESULT ShutdownWindows(); + + HRESULT Suspend(); + + HRESULT EjectPC(); + + HRESULT SetTime(); + + HRESULT TrayProperties(); + + HRESULT Help(); + + HRESULT FindFiles(); + + HRESULT FindComputer(); + + HRESULT RefreshMenu(); + + HRESULT ControlPanelItem( [in] BSTR szDir ); +} + +[ + uuid(a4c6892c-3ba9-11d2-9dea-00c04fb16162), + oleautomation, + hidden, + dual +] +interface IShellDispatch2 : IShellDispatch +{ + HRESULT IsRestricted([in] BSTR group, [in] BSTR restriction, [out, retval] long *value); + HRESULT ShellExecute([in] BSTR file, [in, optional] VARIANT args, [in, optional] VARIANT dir, + [in, optional] VARIANT op, [in, optional] VARIANT show); + HRESULT FindPrinter([in, optional] BSTR name, [in, optional] BSTR location, [in, optional] BSTR model); + HRESULT GetSystemInformation([in] BSTR name, [out, retval] VARIANT *ret); + HRESULT ServiceStart([in] BSTR service, [in] VARIANT persistent, [out, retval] VARIANT *ret); + HRESULT ServiceStop([in] BSTR service, [in] VARIANT persistent, [out, retval] VARIANT *ret); + HRESULT IsServiceRunning([in] BSTR service, [out, retval] VARIANT *running); + HRESULT CanStartStopService([in] BSTR service, [out, retval] VARIANT *ret); + HRESULT ShowBrowserBar([in] BSTR clsid, [in] VARIANT show, [out, retval] VARIANT *ret); +} + +[ + uuid(177160ca-bb5a-411c-841d-bd38facdeaa0), + oleautomation, + hidden, + dual +] +interface IShellDispatch3 : IShellDispatch2 +{ + HRESULT AddToRecent([in] VARIANT file, [in, optional] BSTR category); +} + +[ + uuid(efd84b2d-4bcf-4298-be25-eb542a59fbda), + oleautomation, + hidden, + dual +] +interface IShellDispatch4 : IShellDispatch3 +{ + HRESULT WindowsSecurity(); + HRESULT ToggleDesktop(); + HRESULT ExplorerPolicy([in] BSTR policy, [out, retval] VARIANT *value); + HRESULT GetSetting([in] long setting, [out,retval] VARIANT_BOOL *result); +} + +[ + uuid(866738b9-6cf2-4de8-8767-f794ebe74f4e), + oleautomation, + hidden, + dual +] +interface IShellDispatch5 : IShellDispatch4 +{ + HRESULT WindowSwitcher(); +} + +[ + uuid(286e6f1b-7113-4355-9562-96b7e9d64c54), + oleautomation, + hidden, + dual, +] +interface IShellDispatch6 : IShellDispatch5 +{ + HRESULT SearchCommand(void); +} + +[ + uuid(13709620-c279-11ce-a49e-444553540000) +] +coclass Shell +{ + [default] interface IShellDispatch6; +} + +[ + uuid(0a89a860-d7b1-11ce-8350-444553540000), + hidden +] +coclass ShellDispatchInproc +{ + interface IUnknown; +} + +typedef +[ + uuid(ca31ea20-48d0-11cf-8350-444553540000) +] +enum ShellSpecialFolderConstants { + ssfDESKTOP = 0x00, + ssfPROGRAMS = 0x02, + ssfCONTROLS = 0x03, + ssfPRINTERS = 0x04, + ssfPERSONAL = 0x05, + ssfFAVORITES = 0x06, + ssfSTARTUP = 0x07, + ssfRECENT = 0x08, + ssfSENDTO = 0x09, + ssfBITBUCKET = 0x0a, + ssfSTARTMENU = 0x0b, + ssfDESKTOPDIRECTORY = 0x10, + ssfDRIVES = 0x11, + ssfNETWORK = 0x12, + ssfNETHOOD = 0x13, + ssfFONTS = 0x14, + ssfTEMPLATES = 0x15, + ssfCOMMONSTARTMENU = 0x16, + ssfCOMMONPROGRAMS = 0x17, + ssfCOMMONSTARTUP = 0x18, + ssfCOMMONDESKTOPDIR = 0x19, + ssfAPPDATA = 0x1a, + ssfPRINTHOOD = 0x1b, + ssfLOCALAPPDATA = 0x1c, + ssfALTSTARTUP = 0x1d, + ssfCOMMONALTSTARTUP = 0x1e, + ssfCOMMONFAVORITES = 0x1f, + ssfINTERNETCACHE = 0x20, + ssfCOOKIES = 0x21, + ssfHISTORY = 0x22, + ssfCOMMONAPPDATA = 0x23, + ssfWINDOWS = 0x24, + ssfSYSTEM = 0x25, + ssfPROGRAMFILES = 0x26, + ssfMYPICTURES = 0x27, + ssfPROFILE = 0x28, + ssfSYSTEMx86 = 0x29, + ssfPROGRAMFILESx86 = 0x30 +} ShellSpecialFolderConstants; + +/***************************************************************************** + * IShellFolderViewDual interface + */ +typedef +[ + uuid(742a99a0-c77e-11d0-a32c-00a0c91eedba) +] +enum ShellFolderViewOptions +{ + SFVVO_SHOWALLOBJECTS = 0x00000001, + SFVVO_SHOWEXTENSIONS = 0x00000002, + SFVVO_SHOWCOMPCOLOR = 0x00000008, + SFVVO_SHOWSYSFILES = 0x00000020, + SFVVO_WIN95CLASSIC = 0x00000040, + SFVVO_DOUBLECLICKINWEBVIEW = 0x00000080, + SFVVO_DESKTOPHTML = 0x00000200 +} ShellFolderViewOptions; + +[ + uuid(e7a1af80-4d96-11cf-960c-0080c7f4ee85), + oleautomation, + hidden, + dual +] +interface IShellFolderViewDual : IDispatch +{ + [propget] + HRESULT Application([out, retval] IDispatch **app); + + [propget] + HRESULT Parent([out, retval] IDispatch **parent); + + [propget] + HRESULT Folder([out, retval] Folder **folder); + + HRESULT SelectedItems([out, retval] FolderItems **items); + + [propget] + HRESULT FocusedItem([out, retval] FolderItem **item); + + HRESULT SelectItem([in] VARIANT *item, [in] int flags); + + HRESULT PopupItemMenu([in] FolderItem *item, + [in, optional] VARIANT vx, + [in, optional] VARIANT vy, + [out, retval] BSTR *command); + [propget] + HRESULT Script([out, retval] IDispatch **script); + + [propget] + HRESULT ViewOptions([out, retval] long *options); +} + +[ + uuid(31c147b6-0ade-4a3c-b514-ddf932ef6d17), + oleautomation, + hidden, + dual +] +interface IShellFolderViewDual2 : IShellFolderViewDual +{ + [propget] + HRESULT CurrentViewMode([out, retval] UINT *mode); + + [propput] + HRESULT CurrentViewMode([in] UINT mode); + + HRESULT SelectItemRelative([in] int relative); +} + +[ + uuid(29ec8e6c-46d3-411f-baaa-611a6c9cac66), + oleautomation, + hidden, + dual +] +interface IShellFolderViewDual3 : IShellFolderViewDual2 +{ + [propget] + HRESULT GroupBy([out, retval] BSTR *groupby); + + [propput] + HRESULT GroupBy([in] BSTR groupby); + + [propget] + HRESULT FolderFlags([out, retval] DWORD *flags); + + [propput] + HRESULT FolderFlags([in] DWORD flags); + + [propget] + HRESULT SortColumns([out, retval] BSTR *sortcolumns); + + [propput] + HRESULT SortColumns([in] BSTR sortcolumns); + + [propput] + HRESULT IconSize([in] int icon_size); + + [propget] + HRESULT IconSize([out, retval] int *icon_size); + + HRESULT FilterView([in, unique] BSTR filter_text); +} + +[ + uuid(62112aa1-ebe4-11cf-a5fb-0020afe7292d) +] +coclass ShellFolderView +{ + [default] interface IShellFolderViewDual3; + [default, source] dispinterface DShellFolderViewEvents; +} + +} /* library Shell32 */ + +/***************************************************************************** + * IAsyncOperation interface + */ +[ + uuid(3d8b0590-f691-11d2-8ea9-006097df5bd4), + object, +] + +interface IAsyncOperation : IUnknown +{ + typedef [unique] IAsyncOperation *LPASYNCOPERATION; + + HRESULT SetAsyncMode([in] BOOL fDoOpAsync); + + HRESULT GetAsyncMode([out] BOOL *pfIsOpAsync); + + HRESULT StartOperation([in, unique, optional] IBindCtx *pbcReserved); + + HRESULT InOperation([out] BOOL *pfInAsyncOp); + + HRESULT EndOperation( + [in] HRESULT hResult, + [in, unique] IBindCtx *pbcReserved, + [in] DWORD dwEffects); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlguid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlguid.h new file mode 100644 index 0000000..028cb61 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlguid.h @@ -0,0 +1,240 @@ +/* + * Copyright (C) 1999 Juergen Schmied + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SHLGUID_H +#define __WINE_SHLGUID_H + +DEFINE_OLEGUID(CLSID_ShellDesktop, 0x00021400, 0, 0); + +DEFINE_OLEGUID(CATID_BrowsableShellExt, 0x00021490, 0, 0); +DEFINE_OLEGUID(CATID_BrowseInPlace, 0x00021491, 0, 0); +DEFINE_OLEGUID(CATID_DeskBand, 0x00021492, 0, 0); +DEFINE_OLEGUID(CATID_InfoBand, 0x00021493, 0, 0); +DEFINE_OLEGUID(CATID_CommBand, 0x00021494, 0, 0); + +/* shell32 formatids */ +DEFINE_OLEGUID(FMTID_Intshcut, 0x000214A0, 0, 0); +DEFINE_OLEGUID(FMTID_InternetSite, 0x000214A1, 0, 0); + +/* command group ids */ +DEFINE_OLEGUID(CGID_Explorer, 0x000214D0, 0, 0); +DEFINE_OLEGUID(CGID_ShellDocView, 0x000214D1, 0, 0); +DEFINE_OLEGUID(CGID_ShellServiceObject, 0x000214D2, 0, 0); +DEFINE_OLEGUID(CGID_ExplorerBarDoc, 0x000214D3, 0, 0); + +DEFINE_OLEGUID(IID_IShellDetails, 0x000214EC, 0, 0); +DEFINE_OLEGUID(IID_IDelayedRelease, 0x000214ED, 0, 0); +DEFINE_OLEGUID(IID_IShellCopyHookA, 0x000214EF, 0, 0); +DEFINE_OLEGUID(IID_IFileViewerA, 0x000214F0, 0, 0); +DEFINE_OLEGUID(IID_IFileViewerSite, 0x000214F3, 0, 0); +DEFINE_OLEGUID(IID_IPropSheetPage, 0x000214F6, 0, 0); +DEFINE_OLEGUID(IID_IFileViewerW, 0x000214F8, 0, 0); +DEFINE_OLEGUID(IID_IShellCopyHookW, 0x000214FC, 0, 0); +DEFINE_OLEGUID(IID_IRemoteComputer, 0x000214FE, 0, 0); +DEFINE_OLEGUID(IID_IQueryInfo, 0x00021500, 0, 0); + + +/* avoid duplicate definitions with shobjidl.h (FIXME) */ +/* DEFINE_OLEGUID(IID_IShellPropSheetExt, 0x000214E9, 0, 0); */ +/* DEFINE_OLEGUID(IID_IExtractIconA, 0x000214EB, 0, 0); */ +/* DEFINE_OLEGUID(IID_IExtractIconW, 0x000214FA, 0, 0); */ +/* DEFINE_OLEGUID(IID_IContextMenu, 0x000214E4, 0, 0); */ +/* DEFINE_OLEGUID(IID_IContextMenu2, 0x000214F4, 0, 0); */ +/* DEFINE_OLEGUID(IID_ICommDlgBrowser, 0x000214F1, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellBrowser, 0x000214E2, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellView, 0x000214E3, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellFolder, 0x000214E6, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellExtInit, 0x000214E8, 0, 0); */ +/* DEFINE_OLEGUID(IID_IPersistFolder, 0x000214EA, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellLinkA, 0x000214EE, 0, 0); */ +/* DEFINE_OLEGUID(IID_IEnumIDList, 0x000214F2, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellLinkW, 0x000214F9, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellExecuteHookA, 0x000214F5, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellExecuteHookW, 0x000214FB, 0, 0); */ +/* DEFINE_OLEGUID(IID_INewShortcutHookA, 0x000214E1, 0, 0); */ +/* DEFINE_OLEGUID(IID_INewShortcutHookW, 0x000214F7, 0, 0); */ + +#ifndef NO_INTSHCUT_GUIDS +#include +#endif + +#ifndef NO_SHDOCVW_GUIDS +# ifndef GUID_DEFS_ONLY +# include +# include +# endif + +DEFINE_GUID(IID_IACList, 0x77A130B0,0x94FD,0x11D0,0xA5,0x44,0x00,0xC0,0x4F,0xD7,0xD0,0x62); +DEFINE_GUID(IID_IACList2, 0x470141A0,0x5186,0x11D2,0xBB,0xB6,0x00,0x60,0x97,0x7B,0x46,0x4C); +DEFINE_GUID(IID_IObjMgr, 0x00BB2761,0x6A77,0x11D0,0xA5,0x35,0x00,0xC0,0x4F,0xD7,0xD0,0x62); +DEFINE_GUID(IID_CDefView, 0x4434ff80,0xef4c,0x11ce,0xae,0x65,0x08,0x00,0x2b,0x2e,0x12,0x62); + +DEFINE_GUID(IID_IProgressDialog, 0xEBBC7C04,0x315E,0x11D2,0xB6,0x2F,0x00,0x60,0x97,0xDF,0x5B,0xD4); +#define SID_SProgressUI CLSID_ProgressDialog + +DEFINE_GUID(CLSID_CUrlHistory, 0x3c374a40, 0xbae4, 0x11cf, 0xbf, 0x7d, 0x00, 0xaa, 0x00, 0x69, 0x46, 0xee); +#define SID_SUrlHistory CLSID_CUrlHistory + +DEFINE_GUID(CLSID_CURLSearchHook, 0xcfbfae00, 0x17a6, 0x11d0, 0x99, 0xcb, 0x00, 0xc0, 0x4f, 0xd6, 0x44, 0x97); + +DEFINE_GUID(SID_STopLevelBrowser, 0x4C96BE40, 0x915C, 0x11CF, 0x99, 0xD3, 0x00, 0xAA, 0x00, 0x4A, 0xE8, 0x37); + +DEFINE_GUID(CLSID_AutoComplete, 0x00bb2763, 0x6a77, 0x11d0, 0xa5, 0x35, 0x00, 0xc0, 0x4f, 0xd7, 0xd0, 0x62); +DEFINE_GUID(CLSID_ACLMulti, 0x00bb2765, 0x6a77, 0x11d0, 0xa5, 0x35, 0x00, 0xc0, 0x4f, 0xd7, 0xd0, 0x62); +DEFINE_GUID(CLSID_ACListISF, 0x03c036f1, 0xa186, 0x11d0, 0x82, 0x4a, 0x00, 0xaa, 0x00, 0x5b, 0x043, 0x83); + +#define SID_SInternetExplorer IID_IWebBrowserApp +#define SID_SWebBrowserApp IID_IWebBrowserApp +#define SID_SWebBrowserEventsService IID_IWebBrowserEventsService + +#endif /* NO_SHDOCVW_GUIDS */ + +DEFINE_GUID(SID_STopWindow, 0x49e1b500, 0x4636, 0x11d3, 0x97, 0xf7, 0x00, 0xc0, 0x4f, 0x45, 0xd0, 0xb3); +DEFINE_GUID(SID_SCommDlgBrowser, 0x80f30233, 0xb7df, 0x11d2, 0xa3, 0x3b, 0x00, 0x60, 0x97, 0xdf, 0x5b, 0xd4); + +#define SID_LinkSite IID_IShellLinkW +#define SID_SShellBrowser IID_IShellBrowser +#define SID_SShellDesktop CLSID_ShellDesktop +#define IID_IFileViewer WINELIB_NAME_AW(IID_IFileViewer) +#define IID_IShellLink WINELIB_NAME_AW(IID_IShellLink) +#define IID_IExtractIcon WINELIB_NAME_AW(IID_IExtractIcon) +#define IID_IShellCopyHook WINELIB_NAME_AW(IID_IShellCopyHook) +#define IID_IShellExecuteHook WINELIB_NAME_AW(IID_IShellExecuteHook) +#define IID_INewShortcutHook WINELIB_NAME_AW(IID_INewShortcutHook) + +DEFINE_GUID(IID_IDockingWindowSite, 0x2A342FC2, 0x7B26, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8); +DEFINE_GUID(IID_IInputObject, 0x68284FAA, 0x6A48, 0x11D0, 0x8C, 0x78, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xB4); +DEFINE_GUID(IID_IInputObjectSite, 0xF1DB8392, 0x7331, 0x11D0, 0x8C, 0x99, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8); + +/**************************************************************************** + * the next IID's are the namespace elements of the pidls + */ +DEFINE_GUID(CLSID_NetworkPlaces, 0x208D2C60, 0x3AEA, 0x1069, 0xA2, 0xD7, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D); +DEFINE_GUID(CLSID_NetworkDomain, 0x46e06680, 0x4bf0, 0x11d1, 0x83, 0xee, 0x00, 0xa0, 0xc9, 0x0d, 0xc8, 0x49); +DEFINE_GUID(CLSID_NetworkServer, 0xc0542a90, 0x4bf0, 0x11d1, 0x83, 0xee, 0x00, 0xa0, 0xc9, 0x0d, 0xc8, 0x49); +DEFINE_GUID(CLSID_NetworkShare, 0x54a754c0, 0x4bf0, 0x11d1, 0x83, 0xee, 0x00, 0xa0, 0xc9, 0x0d, 0xc8, 0x49); +DEFINE_GUID(CLSID_MyComputer, 0x20D04FE0, 0x3AEA, 0x1069, 0xA2, 0xD8, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D); +DEFINE_GUID(CLSID_Internet, 0x871C5380, 0x42A0, 0x1069, 0xA2, 0xEA, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D); +DEFINE_GUID(CLSID_ShellFSFolder, 0xF3364BA0, 0x65B9, 0x11CE, 0xA9, 0xBA, 0x00, 0xAA, 0x00, 0x4A, 0xE8, 0x37); +DEFINE_GUID(CLSID_RecycleBin, 0x645FF040, 0x5081, 0x101B, 0x9F, 0x08, 0x00, 0xAA, 0x00, 0x2F, 0x95, 0x4E); +DEFINE_GUID(CLSID_ControlPanel, 0x21EC2020, 0x3AEA, 0x1069, 0xA2, 0xDD, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D); +DEFINE_GUID(CLSID_Printers, 0x2227A280, 0x3AEA, 0x1069, 0xA2, 0xDE, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D); +DEFINE_GUID(CLSID_MyDocuments, 0x450d8fba, 0xad25, 0x11d0, 0x98, 0xa8, 0x08, 0x00, 0x36, 0x1b, 0x11, 0x03); +DEFINE_GUID(CLSID_FolderShortcut, 0x0AFACED1, 0xE828, 0x11D1, 0x91, 0x87, 0xB5, 0x32, 0xF1, 0xE9, 0x57, 0x5D); + +DEFINE_GUID(IID_IQueryAssociations, 0xc46ca590, 0x3c3f, 0x11d2, 0xbe, 0xe6, 0x00, 0x00, 0xf8, 0x05, 0xca, 0x57); + +DEFINE_GUID(CLSID_QueryAssociations, 0xa07034fd, 0x6caa, 0x4954, 0xac, 0x3f, 0x97, 0xa2, 0x72, 0x16, 0xf9, 0x8a); + +DEFINE_GUID(CLSID_DragDropHelper, 0x4657278a, 0x411b, 0x11d2, 0x83, 0x9a, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0xd0); + +DEFINE_GUID(CLSID_ProgressDialog, 0xf8383852, 0xfcd3, 0x11d1, 0xa6, 0xb9, 0x0, 0x60, 0x97, 0xdf, 0x5b, 0xd4); + +DEFINE_GUID(CLSID_ShellItem, 0x2fe352ea, 0xfd1f, 0x11d2, 0xb1, 0xf4, 0x00, 0xc0, 0x4f, 0x8e, 0xeb, 0x3e); + +#define PSGUID_SHELLDETAILS {0x28636aa6, 0x953d, 0x11d2, 0xb5, 0xd6, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xd0} +DEFINE_GUID(FMTID_ShellDetails, 0x28636aa6, 0x953d, 0x11d2, 0xb5, 0xd6, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xd0); +#define PID_FINDDATA 0 +#define PID_NETRESOURCE 1 +#define PID_DESCRIPTIONID 2 +#define PID_WHICHFOLDER 3 +#define PID_NETWORKLOCATION 4 +#define PID_COMPUTERNAME 5 + +/* Note: PSGUID_STORAGE defined in ntquery.h */ +DEFINE_GUID(FMTID_Storage, 0xb725f130, 0x47ef, 0x101a, 0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac); +/* PID_* for FMTID_Storage defined in ntquery.h*/ + +#define PSGUID_DISPLACED {0x9b174b33, 0x40ff, 0x11d2, 0xa2, 0x7e, 0x0, 0xc0, 0x4f, 0xc3, 0x8, 0x71} +DEFINE_GUID(FMTID_Displaced, 0x9b174b33, 0x40ff, 0x11d2, 0xa2, 0x7e, 0x0, 0xc0, 0x4f, 0xc3, 0x8, 0x71); +#define PID_DISPLACED_FROM 2 +#define PID_DISPLACED_DATE 3 + +DEFINE_GUID(CLSID_CAnchorBrowsePropertyPage, 0x3050F3BB, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xAA,0x00,0xBD,0xCE,0x0B); +DEFINE_GUID(CLSID_CDocBrowsePropertyPage, 0x3050F3B4, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xAA,0x00,0xBD,0xCE,0x0B); +DEFINE_GUID(CLSID_CImageBrowsePropertyPage, 0x3050F3B3, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xAA,0x00,0xBD,0xCE,0x0B); + +DEFINE_GUID(VID_LargeIcons, 0x0057d0e0, 0x3573, 0x11cf, 0xae, 0x69, 0x08, 0x00, 0x2b, 0x2e, 0x12, 0x62); +DEFINE_GUID(VID_SmallIcons, 0x089000c0, 0x3573, 0x11cf, 0xae, 0x69, 0x08, 0x00, 0x2b, 0x2e, 0x12, 0x62); +DEFINE_GUID(VID_List, 0x0e1fa5e0, 0x3573, 0x11cf, 0xae, 0x69, 0x08, 0x00, 0x2b, 0x2e, 0x12, 0x62); +DEFINE_GUID(VID_Details, 0x137e7700, 0x3573, 0x11cf, 0xae, 0x69, 0x08, 0x00, 0x2b, 0x2e, 0x12, 0x62); +DEFINE_GUID(VID_Thumbnails, 0x8bebb290, 0x52d0, 0x11d0, 0xb7, 0xf4, 0x00, 0xc0, 0x4f, 0xd7, 0x06, 0xec); +DEFINE_GUID(VID_Tile, 0x65f125e5, 0x7be1, 0x4810, 0xba, 0x9d, 0xd2, 0x71, 0xc8, 0x43, 0x2c, 0xe3); +DEFINE_GUID(VID_ThumbStrip, 0x8eefa624, 0xd1e9, 0x445b, 0x94, 0xb7, 0x74, 0xfb, 0xce, 0x2e, 0xa1, 0x1a); + +#include + +/* FOLDERTYPEID */ +DEFINE_GUID(FOLDERTYPEID_Communications, 0x91475fe5, 0x586b, 0x4eba, 0x8d, 0x75, 0xd1, 0x74, 0x34, 0xb8, 0xcd, 0xf6); +DEFINE_GUID(FOLDERTYPEID_CompressedFolder, 0x80213e82, 0xbcfd, 0x4c4f, 0x88, 0x17, 0xbb, 0x27, 0x60, 0x12, 0x67, 0xa9); +DEFINE_GUID(FOLDERTYPEID_Contacts, 0xde2b70ec, 0x9bf7, 0x4a93, 0xbd, 0x3d, 0x24, 0x3f, 0x78, 0x81, 0xd4, 0x92); +DEFINE_GUID(FOLDERTYPEID_ControlPanelCategory, 0xde4f0660, 0xfa10, 0x4b8f, 0xa4, 0x94, 0x06, 0x8b, 0x20, 0xb2, 0x23, 0x07); +DEFINE_GUID(FOLDERTYPEID_ControlPanelClassic, 0x0c3794f3, 0xb545, 0x43aa, 0xa3, 0x29, 0xc3, 0x74, 0x30, 0xc5, 0x8d, 0x2a); +DEFINE_GUID(FOLDERTYPEID_Documents, 0x7d49d726, 0x3c21, 0x4f05, 0x99, 0xaa, 0xfd, 0xc2, 0xc9, 0x47, 0x46, 0x56); +DEFINE_GUID(FOLDERTYPEID_Games, 0xb689b0d0, 0x76d3, 0x4cbb, 0x87, 0xf7, 0x58, 0x5d, 0x0e, 0x0c, 0xe0, 0x70); +DEFINE_GUID(FOLDERTYPEID_Generic, 0x5c4f28b5, 0xf869, 0x4e84, 0x8e, 0x60, 0xf1, 0x1d, 0xb9, 0x7c, 0x5c, 0xc7); +DEFINE_GUID(FOLDERTYPEID_GenericLibrary, 0x5f4eab9a, 0x6833, 0x4f61, 0x89, 0x9d, 0x31, 0xcf, 0x46, 0x97, 0x9d, 0x49); +DEFINE_GUID(FOLDERTYPEID_GenericSearchResults, 0x7fde1a1e, 0x8b31, 0x49a5, 0x93, 0xb8, 0x6b, 0xe1, 0x4c, 0xfa, 0x49, 0x43); +DEFINE_GUID(FOLDERTYPEID_Invalid, 0x57807898, 0x8c4f, 0x4462, 0xbb, 0x63, 0x71, 0x04, 0x23, 0x80, 0xb1, 0x09); +DEFINE_GUID(FOLDERTYPEID_Music, 0x94d6ddcc, 0x4a68, 0x4175, 0xa3, 0x74, 0xbd, 0x58, 0x4a, 0x51, 0x0b, 0x78); +DEFINE_GUID(FOLDERTYPEID_NetworkExplorer, 0x25cc242b, 0x9a7c, 0x4f51, 0x80, 0xe0, 0x7a, 0x29, 0x28, 0xfe, 0xbe, 0x42); +DEFINE_GUID(FOLDERTYPEID_OpenSearch, 0x8faf9629, 0x1980, 0x46ff, 0x80, 0x23, 0x9d, 0xce, 0xab, 0x9c, 0x3e, 0xe3); +DEFINE_GUID(FOLDERTYPEID_OtherUsers, 0xb337fd00, 0x9dd5, 0x4635, 0xa6, 0xd4, 0xda, 0x33, 0xfd, 0x10, 0x2b, 0x7a); +DEFINE_GUID(FOLDERTYPEID_Pictures, 0xb3690e58, 0xe961, 0x423b, 0xb6, 0x87, 0x38, 0x6e, 0xbf, 0xd8, 0x32, 0x39); +DEFINE_GUID(FOLDERTYPEID_Printers, 0x2c7bbec6, 0xc844, 0x4a0a, 0x91, 0xfa, 0xce, 0xf6, 0xf5, 0x9c, 0xfd, 0xa1); +DEFINE_GUID(FOLDERTYPEID_PublishedItems, 0x7f2f5b96, 0xff74, 0x41da, 0xaf, 0xd8, 0x1c, 0x78, 0xa5, 0xf3, 0xae, 0xa2); +DEFINE_GUID(FOLDERTYPEID_RecordedTV, 0x5557a28f, 0x5da6, 0x4f83, 0x88, 0x09, 0xc2, 0xc9, 0x8a, 0x11, 0xa6, 0xfa); +DEFINE_GUID(FOLDERTYPEID_RecycleBin, 0xd6d9e004, 0xcd87, 0x442b, 0x9d, 0x57, 0x5e, 0x0a, 0xeb, 0x4f, 0x6f, 0x72); +DEFINE_GUID(FOLDERTYPEID_SavedGames, 0xd0363307, 0x28cb, 0x4106, 0x9f, 0x23, 0x29, 0x56, 0xe3, 0xe5, 0xe0, 0xe7); +DEFINE_GUID(FOLDERTYPEID_SearchConnector, 0x982725ee, 0x6f47, 0x479e, 0xb4, 0x47, 0x81, 0x2b, 0xfa, 0x7d, 0x2e, 0x8f); +DEFINE_GUID(FOLDERTYPEID_Searches, 0x0b0ba2e3, 0x405f, 0x415e, 0xa6, 0xee, 0xca, 0xd6, 0x25, 0x20, 0x78, 0x53); +DEFINE_GUID(FOLDERTYPEID_SearchHome, 0x834d8a44, 0x0974, 0x4ed6, 0x86, 0x6e, 0xf2, 0x03, 0xd8, 0x0b, 0x38, 0x10); +DEFINE_GUID(FOLDERTYPEID_SoftwareExplorer, 0xd674391b, 0x52d9, 0x4e07, 0x83, 0x4e, 0x67, 0xc9, 0x86, 0x10, 0xf3, 0x9d); +DEFINE_GUID(FOLDERTYPEID_StartMenu, 0xef87b4cb, 0xf2ce, 0x4785, 0x86, 0x58, 0x4c, 0xa6, 0xc6, 0x3e, 0x38, 0xc6); +DEFINE_GUID(FOLDERTYPEID_UserFiles, 0xcd0fc69b, 0x71e2, 0x46e5, 0x96, 0x90, 0x5b, 0xcd, 0x9f, 0x57, 0xaa, 0xb3); +DEFINE_GUID(FOLDERTYPEID_UsersLibraries, 0xc4d98f09, 0x6124, 0x4fe0, 0x99, 0x42, 0x82, 0x64, 0x16, 0x08, 0x2d, 0xa9); +DEFINE_GUID(FOLDERTYPEID_Videos, 0x5fa96407, 0x7e77, 0x483c, 0xac, 0x93, 0x69, 0x1d, 0x05, 0x85, 0x0d, 0xe8); + +/* IExplorerBrowser */ +DEFINE_GUID(EP_NavPane, 0xCB316B22, 0x25F7, 0x42B8, 0x8A, 0x09, 0x54, 0x0D, 0x23, 0xA4, 0x3C, 0x2F); +DEFINE_GUID(EP_Commands,0xD9745868, 0xCA5F, 0x4A76, 0x91, 0xCD, 0xF5, 0xA1, 0x29, 0xFB, 0xB0, 0x76); +DEFINE_GUID(EP_Commands_Organize, 0x72E81700, 0xE3EC, 0x4660, 0xBF, 0x24, 0x3C, 0x3B, 0x7B, 0x64, 0x88, 0x06); +DEFINE_GUID(EP_Commands_View, 0x21F7C32D, 0xEEAA, 0x439B, 0xBB, 0x51, 0x37, 0xB9, 0x6F, 0xD6, 0xA9, 0x43); +DEFINE_GUID(EP_DetailsPane, 0x43ABF98B, 0x89B8, 0x472D, 0xB9, 0xCE, 0xE6, 0x9B, 0x82, 0x29, 0xF0, 0x19); +DEFINE_GUID(EP_PreviewPane, 0x893C63D1, 0x45C8, 0x4D17, 0xBE, 0x19, 0x22, 0x3B, 0xE7, 0x1B, 0xE3, 0x65); +DEFINE_GUID(EP_QueryPane, 0x65BCDE4F, 0x4F07, 0x4F27, 0x83, 0xA7, 0x1A, 0xFC, 0xA4, 0xDF, 0x7D, 0xDD); +DEFINE_GUID(EP_AdvQueryPane, 0xB4E9DB8B, 0x34BA, 0x4C39, 0xB5, 0xCC, 0x16, 0xA1, 0xBD, 0x2C, 0x41, 0x1C); + +/* IShellItem/IShellItemArray BindToHandler */ +DEFINE_GUID(BHID_SFObject, 0x3981E224, 0xF559, 0x11D3, 0x8E,0x3A, 0x00,0xC0,0x4F,0x68,0x37,0xD5); +DEFINE_GUID(BHID_SFUIObject, 0x3981E225, 0xF559, 0x11D3, 0x8E,0x3A, 0x00,0xC0,0x4F,0x68,0x37,0xD5); +DEFINE_GUID(BHID_SFViewObject,0x3981E226, 0xF559, 0x11D3, 0x8E,0x3A, 0x00,0xC0,0x4F,0x68,0x37,0xD5); +DEFINE_GUID(BHID_Storage, 0x3981E227, 0xF559, 0x11D3, 0x8E,0x3A, 0x00,0xC0,0x4F,0x68,0x37,0xD5); +DEFINE_GUID(BHID_Stream, 0x1CEBB3AB, 0x7C10, 0x499A, 0xA4,0x17, 0x92,0xCA,0x16,0xC4,0xCB,0x83); +DEFINE_GUID(BHID_StorageEnum, 0x4621A4E3, 0xF0D6, 0x4773, 0x8A,0x9C, 0x46,0xE7,0x7B,0x17,0x48,0x40); +DEFINE_GUID(BHID_Transfer, 0xD5E346A1, 0xF753, 0x4932, 0xB4,0x03, 0x45,0x74,0x80,0x0E,0x24,0x98); +DEFINE_GUID(BHID_EnumItems, 0x94F60519, 0x2850, 0x4924, 0xAA,0x5A, 0xD1,0x5E,0x84,0x86,0x80,0x39); +DEFINE_GUID(BHID_DataObject, 0xB8C0BD9F, 0xED24, 0x455C, 0x83,0xE6, 0xD5,0x39,0x0C,0x4F,0xE8,0xC4); +DEFINE_GUID(BHID_Filter, 0x38D08778, 0xF557, 0x4690, 0x9E,0xBF, 0xBA,0x54,0x70,0x6A,0xD8,0xF7); +DEFINE_GUID(BHID_LinkTargetItem, 0x3981E228, 0xF559, 0x11D3, 0x8E,0x3A, 0x00,0xC0,0x4F,0x68,0x37,0xD5); +DEFINE_GUID(BHID_PropertyStore, 0x0384E1A4, 0x1523, 0x439C, 0xA4,0xC8, 0xAB,0x91,0x10,0x52,0xF5,0x86); +DEFINE_GUID(BHID_ThumbnailHandler, 0x7B2E650A, 0x8E20, 0x4F4A, 0xB0,0x9E, 0x65,0x97,0xAF,0xC7,0x2F,0xB0); +DEFINE_GUID(BHID_AssociationArray, 0xBEA9EF17, 0x82F1, 0x4F60, 0x92,0x84, 0x4F,0x8D,0xB7,0x5C,0x3B,0xE9); +DEFINE_GUID(BHID_EnumAssocHandlers,0xB8AB0B9C, 0xC2EC, 0x4F7A, 0x91,0x8D, 0x31,0x49,0x00,0xE6,0x28,0x0A); + +#endif /* __WINE_SHLGUID_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlobj.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlobj.h new file mode 100644 index 0000000..09efc18 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlobj.h @@ -0,0 +1,1811 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SHLOBJ_H +#define __WINE_SHLOBJ_H + +#include +#include +#include +#include +#include +#include + +#ifdef WINE_NO_UNICODE_MACROS +#undef GetObject +#endif + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/* Except for specific structs, this header is byte packed */ +#include + +#ifndef HPSXA_DEFINED +#define HPSXA_DEFINED +DECLARE_HANDLE(HPSXA); +#endif + +typedef enum +{ + KF_FLAG_DEFAULT = 0x00000000, + KF_FLAG_SIMPLE_IDLIST = 0x00000100, + KF_FLAG_NOT_PARENT_RELATIVE = 0x00000200, + KF_FLAG_DEFAULT_PATH = 0x00000400, + KF_FLAG_INIT = 0x00000800, + KF_FLAG_NO_ALIAS = 0x00001000, + KF_FLAG_DONT_UNEXPAND = 0x00002000, + KF_FLAG_DONT_VERIFY = 0x00004000, + KF_FLAG_CREATE = 0x00008000, + KF_FLAG_NO_APPCONTAINER_REDIRECTION = 0x00010000, + KF_FLAG_ALIAS_ONLY = 0x80000000 +} KNOWN_FOLDER_FLAG; + +enum +{ + GPFIDL_DEFAULT = 0x00, + GPFIDL_ALTNAME = 0x01, + GPFIDL_UNCPRINTER = 0x02 +}; + +typedef int GPFIDL_FLAGS; + +UINT WINAPI SHAddFromPropSheetExtArray(HPSXA,LPFNADDPROPSHEETPAGE,LPARAM); +LPVOID WINAPI SHAlloc(ULONG) __WINE_ALLOC_SIZE(1); +HRESULT WINAPI SHCoCreateInstance(LPCWSTR,const CLSID*,IUnknown*,REFIID,LPVOID*); +HPSXA WINAPI SHCreatePropSheetExtArray(HKEY,LPCWSTR,UINT); +HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY,LPCWSTR,UINT,IDataObject*); +HRESULT WINAPI SHCreateQueryCancelAutoPlayMoniker(IMoniker**); +HRESULT WINAPI SHCreateShellItem(LPCITEMIDLIST,IShellFolder*,LPCITEMIDLIST,IShellItem**); +DWORD WINAPI SHCLSIDFromStringA(LPCSTR,CLSID*); +DWORD WINAPI SHCLSIDFromStringW(LPCWSTR,CLSID*); +#define SHCLSIDFromString WINELIB_NAME_AW(SHCLSIDFromString) +HRESULT WINAPI SHCreateStdEnumFmtEtc(DWORD,const FORMATETC *,IEnumFORMATETC**); +void WINAPI SHDestroyPropSheetExtArray(HPSXA); +BOOL WINAPI SHFindFiles(LPCITEMIDLIST,LPCITEMIDLIST); +DWORD WINAPI SHFormatDrive(HWND,UINT,UINT,UINT); +void WINAPI SHFree(LPVOID); +BOOL WINAPI GetFileNameFromBrowse(HWND,LPWSTR,DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); +HRESULT WINAPI SHGetInstanceExplorer(IUnknown**); +HRESULT WINAPI SHGetFolderPathAndSubDirA(HWND,int,HANDLE,DWORD,LPCSTR,LPSTR); +HRESULT WINAPI SHGetFolderPathAndSubDirW(HWND,int,HANDLE,DWORD,LPCWSTR,LPWSTR); +#define SHGetFolderPathAndSubDir WINELIB_NAME_AW(SHGetFolderPathAndSubDir) +HRESULT WINAPI SHGetKnownFolderIDList(REFKNOWNFOLDERID,DWORD,HANDLE,PIDLIST_ABSOLUTE*); +HRESULT WINAPI SHGetKnownFolderItem(REFKNOWNFOLDERID,KNOWN_FOLDER_FLAG,HANDLE,REFIID,void**); +HRESULT WINAPI SHGetKnownFolderPath(REFKNOWNFOLDERID,DWORD,HANDLE,PWSTR*); +BOOL WINAPI SHGetPathFromIDListA(LPCITEMIDLIST,LPSTR); +BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST,LPWSTR); +#define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList) +BOOL WINAPI SHGetPathFromIDListEx(PCIDLIST_ABSOLUTE,WCHAR*,DWORD,GPFIDL_FLAGS); +INT WINAPI SHHandleUpdateImage(LPCITEMIDLIST); +HRESULT WINAPI SHILCreateFromPath(LPCWSTR,LPITEMIDLIST*,DWORD*); +HRESULT WINAPI SHLoadOLE(LPARAM); +HRESULT WINAPI SHParseDisplayName(LPCWSTR,IBindCtx*,LPITEMIDLIST*,SFGAOF,SFGAOF*); +HRESULT WINAPI SHPathPrepareForWriteA(HWND,IUnknown*,LPCSTR,DWORD); +HRESULT WINAPI SHPathPrepareForWriteW(HWND,IUnknown*,LPCWSTR,DWORD); +#define SHPathPrepareForWrite WINELIB_NAME_AW(SHPathPrepareForWrite) +UINT WINAPI SHReplaceFromPropSheetExtArray(HPSXA,UINT,LPFNADDPROPSHEETPAGE,LPARAM); +LPITEMIDLIST WINAPI SHSimpleIDListFromPath(LPCWSTR); +BOOL WINAPI SHRunControlPanel(LPCWSTR, HWND); +int WINAPI SHMapPIDLToSystemImageListIndex(IShellFolder*,LPCITEMIDLIST,int*); +HRESULT WINAPI SHStartNetConnectionDialog(HWND,LPCSTR,DWORD); +VOID WINAPI SHUpdateImageA(LPCSTR,INT,UINT,INT); +VOID WINAPI SHUpdateImageW(LPCWSTR,INT,UINT,INT); +#define SHUpdateImage WINELIB_NAME_AW(SHUpdateImage) +int WINAPI RestartDialog(HWND,LPCWSTR,DWORD); +int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD); +int WINAPI DriveType(int); +int WINAPI RealDriveType(int, BOOL); +int WINAPI IsNetDrive(int); +BOOL WINAPI IsUserAnAdmin(void); +UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG); +BOOL WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*); +BOOL WINAPI SignalFileOpen(PCIDLIST_ABSOLUTE); +BOOL WINAPI ImportPrivacySettings(LPCWSTR, BOOL*, BOOL*); + +#define SHFMT_ERROR __MSABI_LONG(0xFFFFFFFF) /* Error on last format, drive may be formattable */ +#define SHFMT_CANCEL __MSABI_LONG(0xFFFFFFFE) /* Last format was cancelled */ +#define SHFMT_NOFORMAT __MSABI_LONG(0xFFFFFFFD) /* Drive is not formattable */ + +/* SHFormatDrive flags */ +#define SHFMT_ID_DEFAULT 0xFFFF +#define SHFMT_OPT_FULL 1 +#define SHFMT_OPT_SYSONLY 2 + +/* SHPathPrepareForWrite flags */ +#define SHPPFW_NONE 0x00000000 +#define SHPPFW_DIRCREATE 0x00000001 +#define SHPPFW_DEFAULT SHPPFW_DIRCREATE +#define SHPPFW_ASKDIRCREATE 0x00000002 +#define SHPPFW_IGNOREFILENAME 0x00000004 +#define SHPPFW_NOWRITECHECK 0x00000008 +#define SHPPFW_MEDIACHECKONLY 0x00000010 + +/* SHObjectProperties flags */ +#define SHOP_PRINTERNAME 0x01 +#define SHOP_FILEPATH 0x02 +#define SHOP_VOLUMEGUID 0x04 + +BOOL WINAPI SHObjectProperties(HWND,DWORD,LPCWSTR,LPCWSTR); + +#define PCS_FATAL 0x80000000 +#define PCS_REPLACEDCHAR 0x00000001 +#define PCS_REMOVEDCHAR 0x00000002 +#define PCS_TRUNCATED 0x00000004 +#define PCS_PATHTOOLONG 0x00000008 + +int WINAPI PathCleanupSpec(LPCWSTR,LPWSTR); + +/* SHOpenWithDialog API */ + +typedef enum +{ + OAIF_ALLOW_REGISTRATION = 0x00000001, + OAIF_REGISTER_EXT = 0x00000002, + OAIF_EXEC = 0x00000004, + OAIF_FORCE_REGISTRATION = 0x00000008, + OAIF_HIDE_REGISTRATION = 0x00000020, + OAIF_URL_PROTOCOL = 0x00000040, + OAIF_FILE_IS_URI = 0x00000080 +} OPEN_AS_INFO_FLAGS; + +#include +typedef struct +{ + LPCWSTR pcszFile; + LPCWSTR pcszClass; + OPEN_AS_INFO_FLAGS oaifInFlags; +} OPENASINFO; +#include + +HRESULT WINAPI SHOpenWithDialog(HWND,const OPENASINFO*); + +/* Shell_MergeMenus flags */ +#define MM_ADDSEPARATOR 0x00000001 +#define MM_SUBMENUSHAVEIDS 0x00000002 +#define MM_DONTREMOVESEPS 0x00000004 + +/***************************************************************************** + * IContextMenu interface + */ + + +/* DATAOBJECT_InitShellIDList*/ +#define CFSTR_SHELLIDLISTA "Shell IDList Array" /* CF_IDLIST */ +#define CFSTR_SHELLIDLISTOFFSETA "Shell Object Offsets" /* CF_OBJECTPOSITIONS */ +#define CFSTR_NETRESOURCESA "Net Resource" /* CF_NETRESOURCE */ +/* DATAOBJECT_InitFileGroupDesc */ +#define CFSTR_FILEDESCRIPTORA "FileGroupDescriptor" /* CF_FILEGROUPDESCRIPTORA */ +/* DATAOBJECT_InitFileContents*/ +#define CFSTR_FILECONTENTSA "FileContents" /* CF_FILECONTENTS */ +#define CFSTR_FILENAMEA "FileName" /* CF_FILENAMEA */ +#define CFSTR_FILENAMEMAPA "FileNameMap" /* CF_FILENAMEMAPA */ +#define CFSTR_PRINTERGROUPA "PrinterFriendlyName" /* CF_PRINTERS */ +#define CFSTR_SHELLURLA "UniformResourceLocator" +#define CFSTR_INETURLA CFSTR_SHELLURLA +#define CFSTR_PREFERREDDROPEFFECTA "Preferred DropEffect" +#define CFSTR_PERFORMEDDROPEFFECTA "Performed DropEffect" +#define CFSTR_PASTESUCCEEDEDA "Paste Succeeded" +#define CFSTR_INDRAGLOOPA "InShellDragLoop" +#define CFSTR_DRAGCONTEXTA "DragContext" +#define CFSTR_MOUNTEDVOLUMEA "MountedVolume" +#define CFSTR_PERSISTEDDATAOBJECTA "PersistedDataObject" +#define CFSTR_TARGETCLSIDA "TargetCLSID" +#define CFSTR_AUTOPLAY_SHELLIDLISTSA "Autoplay Enumerated IDList Array" +#define CFSTR_LOGICALPERFORMEDDROPEFFECTA "Logical Performed DropEffect" + +#if defined(__GNUC__) +# define CFSTR_SHELLIDLISTW \ + (const WCHAR []){ 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 } +# define CFSTR_SHELLIDLISTOFFSETW \ + (const WCHAR []){ 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 } +# define CFSTR_NETRESOURCESW \ + (const WCHAR []){ 'N','e','t',' ','R','e','s','o','u','r','c','e',0 } +# define CFSTR_FILEDESCRIPTORW \ + (const WCHAR []){ 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 } +# define CFSTR_FILECONTENTSW \ + (const WCHAR []){ 'F','i','l','e','C','o','n','t','e','n','t','s',0 } +# define CFSTR_FILENAMEW \ + (const WCHAR []){ 'F','i','l','e','N','a','m','e','W',0 } +# define CFSTR_FILENAMEMAPW \ + (const WCHAR []){ 'F','i','l','e','N','a','m','e','M','a','p','W',0 } +# define CFSTR_PRINTERGROUPW \ + (const WCHAR []){ 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 } +# define CFSTR_SHELLURLW \ + (const WCHAR []){ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 } +# define CFSTR_INETURLW \ + (const WCHAR []){ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 } +# define CFSTR_PREFERREDDROPEFFECTW \ + (const WCHAR []){ 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 } +# define CFSTR_PERFORMEDDROPEFFECTW \ + (const WCHAR []){ 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 } +# define CFSTR_PASTESUCCEEDEDW \ + (const WCHAR []){ 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 } +# define CFSTR_INDRAGLOOPW \ + (const WCHAR []){ 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 } +# define CFSTR_DRAGCONTEXTW \ + (const WCHAR []){ 'D','r','a','g','C','o','n','t','e','x','t',0 } +# define CFSTR_MOUNTEDVOLUMEW \ + (const WCHAR []){ 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 } +# define CFSTR_PERSISTEDDATAOBJECTW \ + (const WCHAR []){ 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 } +# define CFSTR_TARGETCLSIDW \ + (const WCHAR []){ 'T','a','r','g','e','t','C','L','S','I','D',0 } +# define CFSTR_AUTOPLAY_SHELLIDLISTSW \ + (const WCHAR []){ 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',\ + ' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 } +# define CFSTR_LOGICALPERFORMEDDROPEFFECTW \ + (const WCHAR []){ 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',\ + ' ','D','r','o','p','E','f','f','e','c','t',0 } +#elif defined(_MSC_VER) +# define CFSTR_SHELLIDLISTW L"Shell IDList Array" +# define CFSTR_SHELLIDLISTOFFSETW L"Shell Object Offsets" +# define CFSTR_NETRESOURCESW L"Net Resource" +# define CFSTR_FILEDESCRIPTORW L"FileGroupDescriptorW" +# define CFSTR_FILECONTENTSW L"FileContents" +# define CFSTR_FILENAMEW L"FileNameW" +# define CFSTR_FILENAMEMAPW L"FileNameMapW" +# define CFSTR_PRINTERGROUPW L"PrinterFriendlyName" +# define CFSTR_SHELLURLW L"UniformResourceLocator" +# define CFSTR_INETURLW L"UniformResourceLocatorW" +# define CFSTR_PREFERREDDROPEFFECTW L"Preferred DropEffect" +# define CFSTR_PERFORMEDDROPEFFECTW L"Performed DropEffect" +# define CFSTR_PASTESUCCEEDEDW L"Paste Succeeded" +# define CFSTR_INDRAGLOOPW L"InShellDragLoop" +# define CFSTR_DRAGCONTEXTW L"DragContext" +# define CFSTR_MOUNTEDVOLUMEW L"MountedVolume" +# define CFSTR_PERSISTEDDATAOBJECTW L"PersistedDataObject" +# define CFSTR_TARGETCLSIDW L"TargetCLSID" +# define CFSTR_AUTOPLAY_SHELLIDLISTSW L"Autoplay Enumerated IDList Array" +# define CFSTR_LOGICALPERFORMEDDROPEFFECTW L"Logical Performed DropEffect" +#else +static const WCHAR CFSTR_SHELLIDLISTW[] = + { 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }; +static const WCHAR CFSTR_SHELLIDLISTOFFSETW[] = + { 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 }; +static const WCHAR CFSTR_NETRESOURCESW[] = + { 'N','e','t',' ','R','e','s','o','u','r','c','e',0 }; +static const WCHAR CFSTR_FILEDESCRIPTORW[] = + { 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 }; +static const WCHAR CFSTR_FILECONTENTSW[] = + { 'F','i','l','e','C','o','n','t','e','n','t','s',0 }; +static const WCHAR CFSTR_FILENAMEW[] = + { 'F','i','l','e','N','a','m','e','W',0 }; +static const WCHAR CFSTR_FILENAMEMAPW[] = + { 'F','i','l','e','N','a','m','e','M','a','p','W',0 }; +static const WCHAR CFSTR_PRINTERGROUPW[] = + { 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 }; +static const WCHAR CFSTR_SHELLURLW[] = + { 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 }; +static const WCHAR CFSTR_INETURLW[] = + { 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 }; +static const WCHAR CFSTR_PREFERREDDROPEFFECTW[] = + { 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }; +static const WCHAR CFSTR_PERFORMEDDROPEFFECTW[] = + { 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }; +static const WCHAR CFSTR_PASTESUCCEEDEDW[] = + { 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 }; +static const WCHAR CFSTR_INDRAGLOOPW[] = + { 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 }; +static const WCHAR CFSTR_DRAGCONTEXTW[] = + { 'D','r','a','g','C','o','n','t','e','x','t',0 }; +static const WCHAR CFSTR_MOUNTEDVOLUMEW[] = + { 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 }; +static const WCHAR CFSTR_PERSISTEDDATAOBJECTW[] = + { 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 }; +static const WCHAR CFSTR_TARGETCLSIDW[] = + { 'T','a','r','g','e','t','C','L','S','I','D',0 }; +static const WCHAR CFSTR_AUTOPLAY_SHELLIDLISTSW[] = + { 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d', + ' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }; +static const WCHAR CFSTR_LOGICALPERFORMEDDROPEFFECTW[] = + { 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d', + ' ','D','r','o','p','E','f','f','e','c','t',0 }; +#endif + +#define CFSTR_SHELLIDLIST WINELIB_NAME_AW(CFSTR_SHELLIDLIST) +#define CFSTR_SHELLIDLISTOFFSET WINELIB_NAME_AW(CFSTR_SHELLIDLISTOFFSET) +#define CFSTR_NETRESOURCES WINELIB_NAME_AW(CFSTR_NETRESOURCES) +#define CFSTR_FILEDESCRIPTOR WINELIB_NAME_AW(CFSTR_FILEDESCRIPTOR) +#define CFSTR_FILECONTENTS WINELIB_NAME_AW(CFSTR_FILECONTENTS) +#define CFSTR_FILENAME WINELIB_NAME_AW(CFSTR_FILENAME) +#define CFSTR_FILENAMEMAP WINELIB_NAME_AW(CFSTR_FILENAMEMAP) +#define CFSTR_PRINTERGROUP WINELIB_NAME_AW(CFSTR_PRINTERGROUP) +#define CFSTR_SHELLURL WINELIB_NAME_AW(CFSTR_SHELLURL) +#define CFSTR_INETURL WINELIB_NAME_AW(CFSTR_INETURL) +#define CFSTR_PREFERREDDROPEFFECT WINELIB_NAME_AW(CFSTR_PREFERREDDROPEFFECT) +#define CFSTR_PERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_PERFORMEDDROPEFFECT) +#define CFSTR_PASTESUCCEEDED WINELIB_NAME_AW(CFSTR_PASTESUCCEEDED) +#define CFSTR_INDRAGLOOP WINELIB_NAME_AW(CFSTR_INDRAGLOOP) +#define CFSTR_DRAGCONTEXT WINELIB_NAME_AW(CFSTR_DRAGCONTEXT) +#define CFSTR_MOUNTEDVOLUME WINELIB_NAME_AW(CFSTR_MOUNTEDVOLUME) +#define CFSTR_PERSISTEDDATAOBJECT WINELIB_NAME_AW(CFSTR_PERSISTEDDATAOBJECT) +#define CFSTR_TARGETCLSID WINELIB_NAME_AW(CFSTR_TARGETCLSID) +#define CFSTR_AUTOPLAY_SHELLIDLISTS WINELIB_NAME_AW(CFSTR_AUTOPLAY_SHELLIDLISTS) +#define CFSTR_LOGICALPERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_LOGICALPERFORMEDDROPEFFECT) + +typedef struct +{ UINT cidl; + UINT aoffset[1]; +} CIDA, *LPIDA; + +/************************************************************************ +* IShellView interface +*/ + +#define FCIDM_SHVIEWFIRST 0x0000 +/* undocumented */ +#define FCIDM_SHVIEW_ARRANGE 0x7001 +#define FCIDM_SHVIEW_DELETE 0x7011 +#define FCIDM_SHVIEW_PROPERTIES 0x7013 +#define FCIDM_SHVIEW_CUT 0x7018 +#define FCIDM_SHVIEW_COPY 0x7019 +#define FCIDM_SHVIEW_INSERT 0x701A +#define FCIDM_SHVIEW_UNDO 0x701B +#define FCIDM_SHVIEW_INSERTLINK 0x701C +#define FCIDM_SHVIEW_SELECTALL 0x7021 +#define FCIDM_SHVIEW_INVERTSELECTION 0x7022 + +#define FCIDM_SHVIEW_BIGICON 0x7029 +#define FCIDM_SHVIEW_SMALLICON 0x702A +#define FCIDM_SHVIEW_LISTVIEW 0x702B +#define FCIDM_SHVIEW_REPORTVIEW 0x702C +/* 0x7030-0x703f are used by the shellbrowser */ +#define FCIDM_SHVIEW_AUTOARRANGE 0x7031 +#define FCIDM_SHVIEW_SNAPTOGRID 0x7032 + +#define FCIDM_SHVIEW_HELP 0x7041 +#define FCIDM_SHVIEW_RENAME 0x7050 +#define FCIDM_SHVIEW_CREATELINK 0x7051 +#define FCIDM_SHVIEW_NEWLINK 0x7052 +#define FCIDM_SHVIEW_NEWFOLDER 0x7053 + +#define FCIDM_SHVIEW_REFRESH 0x7100 /* FIXME */ +#define FCIDM_SHVIEW_EXPLORE 0x7101 /* FIXME */ +#define FCIDM_SHVIEW_OPEN 0x7102 /* FIXME */ + +#define FCIDM_SHVIEWLAST 0x7fff +#define FCIDM_BROWSERFIRST 0xA000 +/* undocumented toolbar items from stddlg's*/ +#define FCIDM_TB_UPFOLDER 0xA001 +#define FCIDM_TB_NEWFOLDER 0xA002 +#define FCIDM_TB_SMALLICON 0xA003 +#define FCIDM_TB_REPORTVIEW 0xA004 +#define FCIDM_TB_DESKTOP 0xA005 /* FIXME */ + +#define FCIDM_BROWSERLAST 0xbf00 +#define FCIDM_GLOBALFIRST 0x8000 +#define FCIDM_GLOBALLAST 0x9fff + +/* +* Global submenu IDs and separator IDs +*/ +#define FCIDM_MENU_FILE (FCIDM_GLOBALFIRST+0x0000) +#define FCIDM_MENU_EDIT (FCIDM_GLOBALFIRST+0x0040) +#define FCIDM_MENU_VIEW (FCIDM_GLOBALFIRST+0x0080) +#define FCIDM_MENU_VIEW_SEP_OPTIONS (FCIDM_GLOBALFIRST+0x0081) +#define FCIDM_MENU_TOOLS (FCIDM_GLOBALFIRST+0x00c0) +#define FCIDM_MENU_TOOLS_SEP_GOTO (FCIDM_GLOBALFIRST+0x00c1) +#define FCIDM_MENU_HELP (FCIDM_GLOBALFIRST+0x0100) +#define FCIDM_MENU_FIND (FCIDM_GLOBALFIRST+0x0140) +#define FCIDM_MENU_EXPLORE (FCIDM_GLOBALFIRST+0x0150) +#define FCIDM_MENU_FAVORITES (FCIDM_GLOBALFIRST+0x0170) + +/* control IDs known to the view */ +#define FCIDM_TOOLBAR (FCIDM_BROWSERFIRST + 0) +#define FCIDM_STATUS (FCIDM_BROWSERFIRST + 1) + +#define INTERFACE IShellDetails +DECLARE_INTERFACE_(IShellDetails, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void **ppv) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + /*** IShellDetails methods ***/ + STDMETHOD(GetDetailsOf)(THIS_ PCUITEMID_CHILD pidl, UINT iColumn, SHELLDETAILS *pDetails) PURE; + STDMETHOD(ColumnClick)(THIS_ UINT iColumn) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IShellDetails_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IShellDetails_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IShellDetails_Release(p) (p)->lpVtbl->Release(p) +/*** IShellDetails methods ***/ +#define IShellDetails_GetDetailsOf(p,a,b,c) (p)->lpVtbl->GetDetailsOf(p,a,b,c) +#define IShellDetails_ColumnClick(p,a) (p)->lpVtbl->ColumnClick(p,a) +#endif + +/* IQueryInfo interface */ +#define INTERFACE IQueryInfo +DECLARE_INTERFACE_(IQueryInfo,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IQueryInfo methods ***/ + STDMETHOD(GetInfoTip)(THIS_ DWORD dwFlags, WCHAR** lppTips) PURE; + STDMETHOD(GetInfoFlags)(THIS_ DWORD* lpFlags) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IQueryInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IQueryInfo_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IQueryInfo_Release(p) (p)->lpVtbl->Release(p) +/*** IQueryInfo methods ***/ +#define IQueryInfo_GetInfoTip(p,a,b) (p)->lpVtbl->GetInfoTip(p,a,b) +#define IQueryInfo_GetInfoFlags(p,a) (p)->lpVtbl->GetInfoFlags(p,a) +#endif + +/* IInputObject interface */ +#define INTERFACE IInputObject +DECLARE_INTERFACE_(IInputObject,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IInputObject methods ***/ + STDMETHOD(UIActivateIO)(THIS_ BOOL bActivating, LPMSG lpMsg) PURE; + STDMETHOD(HasFocusIO)(THIS) PURE; + STDMETHOD(TranslateAcceleratorIO)(THIS_ LPMSG lpMsg) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IInputObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IInputObject_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IInputObject_Release(p) (p)->lpVtbl->Release(p) +/*** IInputObject methods ***/ +#define IInputObject_UIActivateIO(p,a,b) (p)->lpVtbl->UIActivateIO(p,a,b) +#define IInputObject_HasFocusIO(p) (p)->lpVtbl->HasFocusIO(p) +#define IInputObject_TranslateAcceleratorIO(p,a) (p)->lpVtbl->TranslateAcceleratorIO(p,a) +#endif + +/* IInputObjectSite interface */ +#define INTERFACE IInputObjectSite +DECLARE_INTERFACE_(IInputObjectSite,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + /*** IInputObjectSite methods ***/ + STDMETHOD(OnFocusChangeIS)(THIS_ LPUNKNOWN lpUnknown, BOOL bFocus) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IInputObjectSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IInputObjectSite_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IInputObjectSite_Release(p) (p)->lpVtbl->Release(p) +/*** IInputObject methods ***/ +#define IInputObjectSite_OnFocusChangeIS(p,a,b) (p)->lpVtbl->OnFocusChangeIS(p,a,b) +#endif + +/* IObjMgr interface */ +#define INTERFACE IObjMgr +DECLARE_INTERFACE_(IObjMgr,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + /*** IObjMgr methods ***/ + STDMETHOD(Append)(THIS_ LPUNKNOWN punk) PURE; + STDMETHOD(Remove)(THIS_ LPUNKNOWN punk) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IObjMgr_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IObjMgr_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IObjMgr_Release(p) (p)->lpVtbl->Release(p) +/*** IObjMgr methods ***/ +#define IObjMgr_Append(p,a) (p)->lpVtbl->Append(p,a) +#define IObjMgr_Remove(p,a) (p)->lpVtbl->Remove(p,a) +#endif + +/* IACList interface */ +#define INTERFACE IACList +DECLARE_INTERFACE_(IACList,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + /*** IACList methods ***/ + STDMETHOD(Expand)(THIS_ LPCOLESTR str) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IACList_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IACList_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IACList_Release(p) (p)->lpVtbl->Release(p) +/*** IACList methods ***/ +#define IACList_Expand(p,a) (p)->lpVtbl->Expand(p,a) +#endif + +/* IACList2 interface */ +#define INTERFACE IACList2 +DECLARE_INTERFACE_(IACList2,IACList) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + /*** IACList methods ***/ + STDMETHOD(Expand)(THIS_ LPCOLESTR str) PURE; + /*** IACList2 methods ***/ + STDMETHOD(SetOptions)(THIS_ DWORD dwFlag) PURE; + STDMETHOD(GetOptions)(THIS_ DWORD* pdwFlag) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IACList2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IACList2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IACList2_Release(p) (p)->lpVtbl->Release(p) +/*** IACList2 methods ***/ +#define IACList2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a) +#define IACList2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a) +#endif + +/**************************************************************************** + * IShellFolderViewCB interface + */ + +#define INTERFACE IShellFolderViewCB +DECLARE_INTERFACE_(IShellFolderViewCB,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IShellFolderViewCB methods ***/ + STDMETHOD(MessageSFVCB)(THIS_ UINT uMsg, WPARAM wParam, LPARAM lParam) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IShellFolderViewCB_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IShellFolderViewCB_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IShellFolderViewCB_Release(p) (p)->lpVtbl->Release(p) +/*** IShellFolderViewCB methods ***/ +#define IShellFolderViewCB_MessageSFVCB(p,a,b,c) (p)->lpVtbl->MessageSFVCB(p,a,b,c) +#endif + +/**************************************************************************** + * IShellFolderView interface + */ + +#include + +typedef struct _ITEMSPACING +{ + int cxSmall; + int cySmall; + int cxLarge; + int cyLarge; +} ITEMSPACING; + +#include + +#define INTERFACE IShellFolderView +DEFINE_GUID(IID_IShellFolderView,0x37a378c0,0xf82d,0x11ce,0xae,0x65,0x08,0x00,0x2b,0x2e,0x12,0x62); +DECLARE_INTERFACE_(IShellFolderView, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void **ppv) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + + /*** IShellFolderView methods ***/ + STDMETHOD(Rearrange) (THIS_ LPARAM lParamSort) PURE; + STDMETHOD(GetArrangeParam) (THIS_ LPARAM *plParamSort) PURE; + STDMETHOD(ArrangeGrid) (THIS) PURE; + STDMETHOD(AutoArrange) (THIS) PURE; + STDMETHOD(GetAutoArrange) (THIS) PURE; + STDMETHOD(AddObject) (THIS_ PITEMID_CHILD pidl, UINT *puItem) PURE; + STDMETHOD(GetObject) (THIS_ PITEMID_CHILD *ppidl, UINT uItem) PURE; + STDMETHOD(RemoveObject) (THIS_ PITEMID_CHILD pidl, UINT *puItem) PURE; + STDMETHOD(GetObjectCount) (THIS_ UINT *puCount) PURE; + STDMETHOD(SetObjectCount) (THIS_ UINT uCount, UINT dwFlags) PURE; + STDMETHOD(UpdateObject) (THIS_ PITEMID_CHILD pidlOld, PITEMID_CHILD pidlNew, UINT *puItem) PURE; + STDMETHOD(RefreshObject) (THIS_ PITEMID_CHILD pidl, UINT *puItem) PURE; + STDMETHOD(SetRedraw) (THIS_ BOOL bRedraw) PURE; + STDMETHOD(GetSelectedCount) (THIS_ UINT *puSelected) PURE; + STDMETHOD(GetSelectedObjects) (THIS_ PCITEMID_CHILD **pppidl, UINT *puItems) PURE; + STDMETHOD(IsDropOnSource) (THIS_ IDropTarget *pDropTarget) PURE; + STDMETHOD(GetDragPoint) (THIS_ POINT *ppt) PURE; + STDMETHOD(GetDropPoint) (THIS_ POINT *ppt) PURE; + STDMETHOD(MoveIcons) (THIS_ IDataObject *pDataObject) PURE; + STDMETHOD(SetItemPos) (THIS_ PCUITEMID_CHILD pidl, POINT *ppt) PURE; + STDMETHOD(IsBkDropTarget) (THIS_ IDropTarget *pDropTarget) PURE; + STDMETHOD(SetClipboard) (THIS_ BOOL bMove) PURE; + STDMETHOD(SetPoints) (THIS_ IDataObject *pDataObject) PURE; + STDMETHOD(GetItemSpacing) (THIS_ ITEMSPACING *pSpacing) PURE; + STDMETHOD(SetCallback) (THIS_ IShellFolderViewCB* pNewCB, IShellFolderViewCB** ppOldCB) PURE; + STDMETHOD(Select) ( THIS_ UINT dwFlags ) PURE; + STDMETHOD(QuerySupport) (THIS_ UINT * pdwSupport ) PURE; + STDMETHOD(SetAutomationObject)(THIS_ IDispatch* pdisp) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IShellFolderView_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IShellFolderView_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IShellFolderView_Release(p) (p)->lpVtbl->Release(p) +/*** IShellFolderView methods ***/ +#define IShellFolderView_Rearrange(p,a) (p)->lpVtbl->Rearrange(p,a) +#define IShellFolderView_GetArrangeParam(p,a) (p)->lpVtbl->GetArrangeParam(p,a) +#define IShellFolderView_ArrangeGrid(p) (p)->lpVtbl->ArrangeGrid(p) +#define IShellFolderView_AutoArrange(p) (p)->lpVtbl->AutoArrange(p) +#define IShellFolderView_GetAutoArrange(p) (p)->lpVtbl->GetAutoArrange(p) +#define IShellFolderView_AddObject(p,a,b) (p)->lpVtbl->AddObject(p,a,b) +#define IShellFolderView_GetObject(p,a,b) (p)->lpVtbl->GetObject(p,a,b) +#define IShellFolderView_RemoveObject(p,a,b) (p)->lpVtbl->RemoveObject(p,a,b) +#define IShellFolderView_GetObjectCount(p,a) (p)->lpVtbl->GetObjectCount(p,a) +#define IShellFolderView_SetObjectCount(p,a,b) (p)->lpVtbl->SetObjectCount(p,a,b) +#define IShellFolderView_UpdateObject(p,a,b,c) (p)->lpVtbl->UpdateObject(p,a,b,c) +#define IShellFolderView_RefreshObject(p,a,b) (p)->lpVtbl->RefreshObject(p,a,b) +#define IShellFolderView_SetRedraw(p,a) (p)->lpVtbl->SetRedraw(p,a) +#define IShellFolderView_GetSelectedCount(p,a) (p)->lpVtbl->GetSelectedCount(p,a) +#define IShellFolderView_GetSelectedObjects(p,a,b) (p)->lpVtbl->GetSelectedObjects(p,a,b) +#define IShellFolderView_IsDropOnSource(p,a) (p)->lpVtbl->IsDropOnSource(p,a) +#define IShellFolderView_GetDragPoint(p,a) (p)->lpVtbl->GetDragPoint(p,a) +#define IShellFolderView_GetDropPoint(p,a) (p)->lpVtbl->GetDropPoint(p,a) +#define IShellFolderView_MoveIcons(p,a) (p)->lpVtbl->MoveIcons(p,a) +#define IShellFolderView_SetItemPos(p,a,b) (p)->lpVtbl->SetItemPos(p,a,b) +#define IShellFolderView_IsBkDropTarget(p,a) (p)->lpVtbl->IsBkDropTarget(p,a) +#define IShellFolderView_SetClipboard(p,a) (p)->lpVtbl->SetClipboard(p,a) +#define IShellFolderView_SetPoints(p,a) (p)->lpVtbl->SetPoints(p,a) +#define IShellFolderView_GetItemSpacing(p,a) (p)->lpVtbl->GetItemSpacing(p,a) +#define IShellFolderView_SetCallback(p,a,b) (p)->lpVtbl->SetCallback(p,a,b) +#define IShellFolderView_Select(p,a) (p)->lpVtbl->Select(p,a) +#define IShellFolderView_QuerySupport(p,a) (p)->lpVtbl->QuerySupport(p,a) +#define IShellFolderView_SetAutomationObject(p,a) (p)->lpVtbl->SetAutomationObject(p,a) +#endif + +/* IProgressDialog interface */ +#define PROGDLG_NORMAL 0x00000000 +#define PROGDLG_MODAL 0x00000001 +#define PROGDLG_AUTOTIME 0x00000002 +#define PROGDLG_NOTIME 0x00000004 +#define PROGDLG_NOMINIMIZE 0x00000008 +#define PROGDLG_NOPROGRESSBAR 0x00000010 +#define PROGDLG_MARQUEEPROGRESS 0x00000020 +#define PROGDLG_NOCANCEL 0x00000040 + +#define PDTIMER_RESET 0x00000001 +#define PDTIMER_PAUSE 0x00000002 +#define PDTIMER_RESUME 0x00000003 + +#define INTERFACE IProgressDialog +DECLARE_INTERFACE_(IProgressDialog,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + /*** IProgressDialog methods ***/ + STDMETHOD(StartProgressDialog)(THIS_ HWND hwndParent, IUnknown *punkEnableModeless, DWORD dwFlags, LPCVOID reserved) PURE; + STDMETHOD(StopProgressDialog)(THIS) PURE; + STDMETHOD(SetTitle)(THIS_ LPCWSTR pwzTitle) PURE; + STDMETHOD(SetAnimation)(THIS_ HINSTANCE hInstance, UINT uiResourceId) PURE; + STDMETHOD_(BOOL,HasUserCancelled)(THIS) PURE; + STDMETHOD(SetProgress)(THIS_ DWORD dwCompleted, DWORD dwTotal) PURE; + STDMETHOD(SetProgress64)(THIS_ ULONGLONG ullCompleted, ULONGLONG ullTotal) PURE; + STDMETHOD(SetLine)(THIS_ DWORD dwLineNum, LPCWSTR pwzString, BOOL bPath, LPCVOID reserved) PURE; + STDMETHOD(SetCancelMsg)(THIS_ LPCWSTR pwzCancelMsg, LPCVOID reserved) PURE; + STDMETHOD(Timer)(THIS_ DWORD dwTimerAction, LPCVOID reserved) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IProgressDialog_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IProgressDialog_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IProgressDialog_Release(p) (p)->lpVtbl->Release(p) +/*** IProgressDialog methods ***/ +#define IProgressDialog_StartProgressDialog(p,a,b,c,d) (p)->lpVtbl->StartProgressDialog(p,a,b,c,d) +#define IProgressDialog_StopProgressDialog(p) (p)->lpVtbl->StopProgressDialog(p) +#define IProgressDialog_SetTitle(p,a) (p)->lpVtbl->SetTitle(p,a) +#define IProgressDialog_SetAnimation(p,a,b) (p)->lpVtbl->SetAnimation(p,a,b) +#define IProgressDialog_HasUserCancelled(p) (p)->lpVtbl->HasUserCancelled(p) +#define IProgressDialog_SetProgress(p,a,b) (p)->lpVtbl->SetProgress(p,a,b) +#define IProgressDialog_SetProgress64(p,a,b) (p)->lpVtbl->SetProgress64(p,a,b) +#define IProgressDialog_SetLine(p,a,b,c,d) (p)->lpVtbl->SetLine(p,a,b,c,d) +#define IProgressDialog_SetCancelMsg(p,a,b) (p)->lpVtbl->SetCancelMsg(p,a,b) +#define IProgressDialog_Timer(p,a,b) (p)->lpVtbl->Timer(p,a,b) +#endif + + +/**************************************************************************** +* SHAddToRecentDocs API +*/ +#define SHARD_PIDL __MSABI_LONG(0x00000001) +#define SHARD_PATHA __MSABI_LONG(0x00000002) +#define SHARD_PATHW __MSABI_LONG(0x00000003) +#define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH) + +void WINAPI SHAddToRecentDocs(UINT,LPCVOID); + +/**************************************************************************** + * SHBrowseForFolder API + */ +typedef INT (CALLBACK *BFFCALLBACK)(HWND,UINT,LPARAM,LPARAM); + +#include + +typedef struct tagBROWSEINFOA { + HWND hwndOwner; + LPCITEMIDLIST pidlRoot; + LPSTR pszDisplayName; + LPCSTR lpszTitle; + UINT ulFlags; + BFFCALLBACK lpfn; + LPARAM lParam; + INT iImage; +} BROWSEINFOA, *PBROWSEINFOA, *LPBROWSEINFOA; + +typedef struct tagBROWSEINFOW { + HWND hwndOwner; + LPCITEMIDLIST pidlRoot; + LPWSTR pszDisplayName; + LPCWSTR lpszTitle; + UINT ulFlags; + BFFCALLBACK lpfn; + LPARAM lParam; + INT iImage; +} BROWSEINFOW, *PBROWSEINFOW, *LPBROWSEINFOW; + +#define BROWSEINFO WINELIB_NAME_AW(BROWSEINFO) +#define PBROWSEINFO WINELIB_NAME_AW(PBROWSEINFO) +#define LPBROWSEINFO WINELIB_NAME_AW(LPBROWSEINFO) + +#include + +/* Browsing for directory. */ +#define BIF_RETURNONLYFSDIRS 0x0001 +#define BIF_DONTGOBELOWDOMAIN 0x0002 +#define BIF_STATUSTEXT 0x0004 +#define BIF_RETURNFSANCESTORS 0x0008 +#define BIF_EDITBOX 0x0010 +#define BIF_VALIDATE 0x0020 +#define BIF_NEWDIALOGSTYLE 0x0040 +#define BIF_USENEWUI (BIF_NEWDIALOGSTYLE | BIF_EDITBOX) +#define BIF_BROWSEINCLUDEURLS 0x0080 +#define BIF_UAHINT 0x0100 +#define BIF_NONEWFOLDERBUTTON 0x0200 +#define BIF_NOTRANSLATETARGETS 0x0400 + +#define BIF_BROWSEFORCOMPUTER 0x1000 +#define BIF_BROWSEFORPRINTER 0x2000 +#define BIF_BROWSEINCLUDEFILES 0x4000 + +/* message from browser */ +#define BFFM_INITIALIZED 1 +#define BFFM_SELCHANGED 2 +#define BFFM_VALIDATEFAILEDA 3 +#define BFFM_VALIDATEFAILEDW 4 +#define BFFM_IUNKNOWN 5 + +/* messages to browser */ +#define BFFM_SETSTATUSTEXTA (WM_USER+100) +#define BFFM_ENABLEOK (WM_USER+101) +#define BFFM_SETSELECTIONA (WM_USER+102) +#define BFFM_SETSELECTIONW (WM_USER+103) +#define BFFM_SETSTATUSTEXTW (WM_USER+104) +#define BFFM_SETOKTEXT (WM_USER+105) +#define BFFM_SETEXPANDED (WM_USER+106) + +LPITEMIDLIST WINAPI SHBrowseForFolderA(LPBROWSEINFOA lpbi); +LPITEMIDLIST WINAPI SHBrowseForFolderW(LPBROWSEINFOW lpbi); +#define SHBrowseForFolder WINELIB_NAME_AW(SHBrowseForFolder) +#define BFFM_SETSTATUSTEXT WINELIB_NAME_AW(BFFM_SETSTATUSTEXT) +#define BFFM_SETSELECTION WINELIB_NAME_AW(BFFM_SETSELECTION) +#define BFFM_VALIDATEFAILED WINELIB_NAME_AW(BFFM_VALIDATEFAILED) + +/********************************************************************** + * SHCreateShellFolderViewEx API + */ + +typedef HRESULT (CALLBACK *LPFNVIEWCALLBACK)( + IShellView* dwUser, + IShellFolder* pshf, + HWND hWnd, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + +#include + +typedef struct _CSFV +{ + UINT cbSize; + IShellFolder* pshf; + IShellView* psvOuter; + LPCITEMIDLIST pidl; + LONG lEvents; + LPFNVIEWCALLBACK pfnCallback; + FOLDERVIEWMODE fvm; +} CSFV, *LPCSFV; + +#include + +HRESULT WINAPI SHCreateShellFolderViewEx(LPCSFV pshfvi, IShellView **ppshv); + +/* SHCreateShellFolderViewEx callback messages */ +#define SFVM_MERGEMENU 1 +#define SFVM_INVOKECOMMAND 2 +#define SFVM_GETHELPTEXT 3 +#define SFVM_GETTOOLTIPTEXT 4 +#define SFVM_GETBUTTONINFO 5 +#define SFVM_GETBUTTONS 6 +#define SFVM_INITMENUPOPUP 7 +#define SFVM_SELECTIONCHANGED 8 /* undocumented */ +#define SFVM_DRAWMENUITEM 9 /* undocumented */ +#define SFVM_MEASUREMENUITEM 10 /* undocumented */ +#define SFVM_EXITMENULOOP 11 /* undocumented */ +#define SFVM_VIEWRELEASE 12 /* undocumented */ +#define SFVM_GETNAMELENGTH 13 /* undocumented */ +#define SFVM_FSNOTIFY 14 +#define SFVM_WINDOWCREATED 15 +#define SFVM_WINDOWCLOSING 16 /* undocumented */ +#define SFVM_LISTREFRESHED 17 /* undocumented */ +#define SFVM_WINDOWFOCUSED 18 /* undocumented */ +#define SFVM_REGISTERCOPYHOOK 20 /* undocumented */ +#define SFVM_COPYHOOKCALLBACK 21 /* undocumented */ +#define SFVM_GETDETAILSOF 23 +#define SFVM_COLUMNCLICK 24 +#define SFVM_QUERYFSNOTIFY 25 +#define SFVM_DEFITEMCOUNT 26 +#define SFVM_DEFVIEWMODE 27 +#define SFVM_UNMERGEFROMMENU 28 +#define SFVM_ADDINGOBJECT 29 /* undocumented */ +#define SFVM_REMOVINGOBJECT 30 /* undocumented */ +#define SFVM_UPDATESTATUSBAR 31 +#define SFVM_BACKGROUNDENUM 32 +#define SFVM_GETCOMMANDDIR 33 /* undocumented */ +#define SFVM_GETCOLUMNSTREAM 34 /* undocumented */ +#define SFVM_CANSELECTALL 35 /* undocumented */ +#define SFVM_DIDDRAGDROP 36 +#define SFVM_ISSTRICTREFRESH 37 /* undocumented */ +#define SFVM_ISCHILDOBJECT 38 /* undocumented */ +#define SFVM_SETISFV 39 +#define SFVM_GETEXTVIEWS 40 /* undocumented */ +#define SFVM_THISIDLIST 41 +#define SFVM_ADDPROPERTYPAGES 47 +#define SFVM_BACKGROUNDENUMDONE 48 +#define SFVM_GETNOTIFY 49 +#define SFVM_GETSORTDEFAULTS 53 +#define SFVM_SIZE 57 +#define SFVM_GETZONE 58 +#define SFVM_GETPANE 59 +#define SFVM_GETHELPTOPIC 63 +#define SFVM_GETANIMATION 68 +#define SFVM_GET_CUSTOMVIEWINFO 77 /* undocumented */ +#define SFVM_ENUMERATEDITEMS 79 /* undocumented */ +#define SFVM_GET_VIEW_DATA 80 /* undocumented */ +#define SFVM_GET_WEBVIEW_LAYOUT 82 /* undocumented */ +#define SFVM_GET_WEBVIEW_CONTENT 83 /* undocumented */ +#define SFVM_GET_WEBVIEW_TASKS 84 /* undocumented */ +#define SFVM_GET_WEBVIEW_THEME 86 /* undocumented */ +#define SFVM_GETDEFERREDVIEWSETTINGS 92 /* undocumented */ + +#include + +typedef struct _SFV_CREATE +{ + UINT cbSize; + IShellFolder *pshf; + IShellView *psvOuter; + IShellFolderViewCB *psfvcb; +} SFV_CREATE; + +#include + +HRESULT WINAPI SHCreateShellFolderView(const SFV_CREATE *pscfv, IShellView **ppsv); + +/* Types and definitions for the SFM_* parameters */ +#include + +#define QCMINFO_PLACE_BEFORE 0 +#define QCMINFO_PLACE_AFTER 1 +typedef struct _QCMINFO_IDMAP_PLACEMENT +{ + UINT id; + UINT fFlags; +} QCMINFO_IDMAP_PLACEMENT; + +typedef struct _QCMINFO_IDMAP +{ + UINT nMaxIds; + QCMINFO_IDMAP_PLACEMENT pIdList[1]; +} QCMINFO_IDMAP; + +typedef struct _QCMINFO +{ + HMENU hmenu; + UINT indexMenu; + UINT idCmdFirst; + UINT idCmdLast; + QCMINFO_IDMAP const* pIdMap; +} QCMINFO, *LPQCMINFO; + +#define TBIF_DEFAULT 0x00000000 +#define TBIF_APPEND 0x00000000 +#define TBIF_PREPEND 0x00000001 +#define TBIF_REPLACE 0x00000002 +#define TBIF_INTERNETBAR 0x00010000 +#define TBIF_STANDARDTOOLBAR 0x00020000 +#define TBIF_NOTOOLBAR 0x00030000 + +typedef struct _TBINFO +{ + UINT cbuttons; + UINT uFlags; +} TBINFO, *LPTBINFO; + +#include + +/**************************************************************************** +* SHShellFolderView_Message API +*/ + +LRESULT WINAPI SHShellFolderView_Message( + HWND hwndCabinet, + UINT uMessage, + LPARAM lParam); + +/* SHShellFolderView_Message messages */ +#define SFVM_REARRANGE 0x0001 +#define SFVM_GETARRANGECOLUMN 0x0002 /* undocumented */ +#define SFVM_ADDOBJECT 0x0003 +#define SFVM_GETITEMCOUNT 0x0004 /* undocumented */ +#define SFVM_GETITEMPIDL 0x0005 /* undocumented */ +#define SFVM_REMOVEOBJECT 0x0006 +#define SFVM_UPDATEOBJECT 0x0007 +#define SFVM_SETREDRAW 0x0008 /* undocumented */ +#define SFVM_GETSELECTEDOBJECTS 0x0009 +#define SFVM_ISDROPONSOURCE 0x000A /* undocumented */ +#define SFVM_MOVEICONS 0x000B /* undocumented */ +#define SFVM_GETDRAGPOINT 0x000C /* undocumented */ +#define SFVM_GETDROPPOINT 0x000D /* undocumented */ +#define SFVM_SETITEMPOS 0x000E +#define SFVM_ISDROPONBACKGROUND 0x000F /* undocumented */ +#define SFVM_SETCLIPBOARD 0x0010 +#define SFVM_TOGGLEAUTOARRANGE 0x0011 /* undocumented */ +#define SFVM_LINEUPICONS 0x0012 /* undocumented */ +#define SFVM_GETAUTOARRANGE 0x0013 /* undocumented */ +#define SFVM_GETSELECTEDCOUNT 0x0014 /* undocumented */ +#define SFVM_GETITEMSPACING 0x0015 /* undocumented */ +#define SFVM_REFRESHOBJECT 0x0016 /* undocumented */ +#define SFVM_SETPOINTS 0x0017 + +/**************************************************************************** +* SHGetDataFromIDList API +*/ +#define SHGDFIL_FINDDATA 1 +#define SHGDFIL_NETRESOURCE 2 +#define SHGDFIL_DESCRIPTIONID 3 + +#define SHDID_ROOT_REGITEM 1 +#define SHDID_FS_FILE 2 +#define SHDID_FS_DIRECTORY 3 +#define SHDID_FS_OTHER 4 +#define SHDID_COMPUTER_DRIVE35 5 +#define SHDID_COMPUTER_DRIVE525 6 +#define SHDID_COMPUTER_REMOVABLE 7 +#define SHDID_COMPUTER_FIXED 8 +#define SHDID_COMPUTER_NETDRIVE 9 +#define SHDID_COMPUTER_CDROM 10 +#define SHDID_COMPUTER_RAMDISK 11 +#define SHDID_COMPUTER_OTHER 12 +#define SHDID_NET_DOMAIN 13 +#define SHDID_NET_SERVER 14 +#define SHDID_NET_SHARE 15 +#define SHDID_NET_RESTOFNET 16 +#define SHDID_NET_OTHER 17 +#define SHDID_COMPUTER_IMAGING 18 +#define SHDID_COMPUTER_AUDIO 19 +#define SHDID_COMPUTER_SHAREDDOCS 20 + +#include + +typedef struct _SHDESCRIPTIONID +{ DWORD dwDescriptionId; + CLSID clsid; +} SHDESCRIPTIONID, *LPSHDESCRIPTIONID; + +#include + +HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb); +HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb); +#define SHGetDataFromIDList WINELIB_NAME_AW(SHGetDataFromIDList) + +BOOL WINAPI SHGetSpecialFolderPathA (HWND hwndOwner, LPSTR szPath, int nFolder, BOOL bCreate); +BOOL WINAPI SHGetSpecialFolderPathW (HWND hwndOwner, LPWSTR szPath, int nFolder, BOOL bCreate); +#define SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath) + +HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal) ; + +/********************************************************************** + * SHGetSetSettings () + */ + +typedef struct +{ + BOOL fShowAllObjects : 1; + BOOL fShowExtensions : 1; + BOOL fNoConfirmRecycle : 1; + + BOOL fShowSysFiles : 1; + BOOL fShowCompColor : 1; + BOOL fDoubleClickInWebView : 1; + BOOL fDesktopHTML : 1; + BOOL fWin95Classic : 1; + BOOL fDontPrettyPath : 1; + BOOL fShowAttribCol : 1; + BOOL fMapNetDrvBtn : 1; + BOOL fShowInfoTip : 1; + BOOL fHideIcons : 1; + BOOL fWebView : 1; + BOOL fFilter : 1; + BOOL fShowSuperHidden : 1; + BOOL fNoNetCrawling : 1; + + UINT :15; /* Required for proper binary layout with gcc */ + DWORD dwWin95Unused; + UINT uWin95Unused; + LONG lParamSort; + int iSortDirection; + UINT version; + UINT uNotUsed; + BOOL fSepProcess: 1; + BOOL fStartPanelOn: 1; + BOOL fShowStartPage: 1; + UINT fSpareFlags : 13; + UINT :15; /* Required for proper binary layout with gcc */ +} SHELLSTATE, *LPSHELLSTATE; + +/********************************************************************** + * SHGetSettings () + */ +typedef struct +{ BOOL fShowAllObjects : 1; + BOOL fShowExtensions : 1; + BOOL fNoConfirmRecycle : 1; + BOOL fShowSysFiles : 1; + + BOOL fShowCompColor : 1; + BOOL fDoubleClickInWebView : 1; + BOOL fDesktopHTML : 1; + BOOL fWin95Classic : 1; + + BOOL fDontPrettyPath : 1; + BOOL fShowAttribCol : 1; + BOOL fMapNetDrvBtn : 1; + BOOL fShowInfoTip : 1; + + BOOL fHideIcons : 1; + UINT fRestFlags : 3; + UINT :15; /* Required for proper binary layout with gcc */ +} SHELLFLAGSTATE, * LPSHELLFLAGSTATE; + +VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask); + +#define SSF_SHOWALLOBJECTS 0x0001 +#define SSF_SHOWEXTENSIONS 0x0002 +#define SSF_SHOWCOMPCOLOR 0x0008 +#define SSF_SHOWSYSFILES 0x0020 +#define SSF_DOUBLECLICKINWEBVIEW 0x0080 +#define SSF_SHOWATTRIBCOL 0x0100 +#define SSF_DESKTOPHTML 0x0200 +#define SSF_WIN95CLASSIC 0x0400 +#define SSF_DONTPRETTYPATH 0x0800 +#define SSF_SHOWINFOTIP 0x2000 +#define SSF_MAPNETDRVBUTTON 0x1000 +#define SSF_NOCONFIRMRECYCLE 0x8000 +#define SSF_HIDEICONS 0x4000 + +/**************************************************************************** +* SHRestricted API +*/ +typedef enum RESTRICTIONS +{ + REST_NONE = 0x00000000, + REST_NORUN = 0x00000001, + REST_NOCLOSE = 0x00000002, + REST_NOSAVESET = 0x00000004, + REST_NOFILEMENU = 0x00000008, + REST_NOSETFOLDERS = 0x00000010, + REST_NOSETTASKBAR = 0x00000020, + REST_NODESKTOP = 0x00000040, + REST_NOFIND = 0x00000080, + REST_NODRIVES = 0x00000100, + REST_NODRIVEAUTORUN = 0x00000200, + REST_NODRIVETYPEAUTORUN = 0x00000400, + REST_NONETHOOD = 0x00000800, + REST_STARTBANNER = 0x00001000, + REST_RESTRICTRUN = 0x00002000, + REST_NOPRINTERTABS = 0x00004000, + REST_NOPRINTERDELETE = 0x00008000, + REST_NOPRINTERADD = 0x00010000, + REST_NOSTARTMENUSUBFOLDERS = 0x00020000, + REST_MYDOCSONNET = 0x00040000, + REST_NOEXITTODOS = 0x00080000, + REST_ENFORCESHELLEXTSECURITY = 0x00100000, + REST_LINKRESOLVEIGNORELINKINFO = 0x00200000, + REST_NOCOMMONGROUPS = 0x00400000, + REST_SEPARATEDESKTOPPROCESS = 0x00800000, + REST_NOWEB = 0x01000000, + REST_NOTRAYCONTEXTMENU = 0x02000000, + REST_NOVIEWCONTEXTMENU = 0x04000000, + REST_NONETCONNECTDISCONNECT = 0x08000000, + REST_STARTMENULOGOFF = 0x10000000, + REST_NOSETTINGSASSIST = 0x20000000, + REST_NOINTERNETICON = 0x40000001, + REST_NORECENTDOCSHISTORY, + REST_NORECENTDOCSMENU, + REST_NOACTIVEDESKTOP, + REST_NOACTIVEDESKTOPCHANGES, + REST_NOFAVORITESMENU, + REST_CLEARRECENTDOCSONEXIT, + REST_CLASSICSHELL, + REST_NOCUSTOMIZEWEBVIEW, + + REST_NOHTMLWALLPAPER = 0x40000010, + REST_NOCHANGINGWALLPAPER, + REST_NODESKCOMP, + REST_NOADDDESKCOMP, + REST_NODELDESKCOMP, + REST_NOCLOSEDESKCOMP, + REST_NOCLOSE_DRAGDROPBAND, + REST_NOMOVINGBAND, + REST_NOEDITDESKCOMP, + REST_NORESOLVESEARCH, + REST_NORESOLVETRACK, + REST_FORCECOPYACLWITHFILE, + REST_NOLOGO3CHANNELNOTIFY, + REST_NOFORGETSOFTWAREUPDATE, + REST_NOSETACTIVEDESKTOP, + REST_NOUPDATEWINDOWS, + REST_NOCHANGESTARMENU, /* 0x40000020 */ + REST_NOFOLDEROPTIONS, + REST_HASFINDCOMPUTERS, + REST_INTELLIMENUS, + REST_RUNDLGMEMCHECKBOX, + REST_ARP_ShowPostSetup, + REST_NOCSC, + REST_NOCONTROLPANEL, + REST_ENUMWORKGROUP, + REST_ARP_NOARP, + REST_ARP_NOREMOVEPAGE, + REST_ARP_NOADDPAGE, + REST_ARP_NOWINSETUPPAGE, + REST_GREYMSIADS, + REST_NOCHANGEMAPPEDDRIVELABEL, + REST_NOCHANGEMAPPEDDRIVECOMMENT, + REST_MaxRecentDocs, /* 0x40000030 */ + REST_NONETWORKCONNECTIONS, + REST_FORCESTARTMENULOGOFF, + REST_NOWEBVIEW, + REST_NOCUSTOMIZETHISFOLDER, + REST_NOENCRYPTION, + + REST_ALLOWFRENCHENCRYPTION, /* not documented */ + + REST_DONTSHOWSUPERHIDDEN, + REST_NOSHELLSEARCHBUTTON, + REST_NOHARDWARETAB, + REST_NORUNASINSTALLPROMPT, + REST_PROMPTRUNASINSTALLNETPATH, + REST_NOMANAGEMYCOMPUTERVERB, + REST_NORECENTDOCSNETHOOD, + REST_DISALLOWRUN, + REST_NOWELCOMESCREEN, + REST_RESTRICTCPL, /* 0x40000040 */ + REST_DISALLOWCPL, + REST_NOSMBALLOONTIP, + REST_NOSMHELP, + REST_NOWINKEYS, + REST_NOENCRYPTONMOVE, + REST_NOLOCALMACHINERUN, + REST_NOCURRENTUSERRUN, + REST_NOLOCALMACHINERUNONCE, + REST_NOCURRENTUSERRUNONCE, + REST_FORCEACTIVEDESKTOPON, + REST_NOCOMPUTERSNEARME, + REST_NOVIEWONDRIVE, + REST_NONETCRAWL, + REST_NOSHAREDDOCUMENTS, + REST_NOSMMYDOCS, + REST_NOSMMYPICS, /* 0x40000050 */ + REST_ALLOWBITBUCKDRIVES, + REST_NONLEGACYSHELLMODE, + REST_NOCONTROLPANELBARRICADE, + REST_NOSTARTPAGE, + REST_NOAUTOTRAYNOTIFY, + REST_NOTASKGROUPING, + REST_NOCDBURNING, + REST_MYCOMPNOPROP, + REST_MYDOCSNOPROP, + REST_NOSTARTPANEL, + REST_NODISPLAYAPPEARANCEPAGE, + REST_NOTHEMESTAB, + REST_NOVISUALSTYLECHOICE, + REST_NOSIZECHOICE, + REST_NOCOLORCHOICE, + REST_SETVISUALSTYLE, /* 0x40000060 */ + REST_STARTRUNNOHOMEPATH, + REST_NOUSERNAMEINSTARTPANEL, + REST_NOMYCOMPUTERICON, + REST_NOSMNETWORKPLACES, + REST_NOSMPINNEDLIST, + REST_NOSMMYMUSIC, + REST_NOSMEJECTPC, + REST_NOSMMOREPROGRAMS, + REST_NOSMMFUPROGRAMS, + REST_NOTRAYITEMSDISPLAY, + REST_NOTOOLBARSONTASKBAR, + /* 0x4000006C + 0x4000006D + 0x4000006E */ + REST_NOSMCONFIGUREPROGRAMS = 0x4000006F, + REST_HIDECLOCK, /* 0x40000070 */ + REST_NOLOWDISKSPACECHECKS, + REST_NOENTIRENETWORK, + REST_NODESKTOPCLEANUP, + REST_BITBUCKNUKEONDELETE, + REST_BITBUCKCONFIRMDELETE, + REST_BITBUCKNOPROP, + REST_NODISPBACKGROUND, + REST_NODISPSCREENSAVEPG, + REST_NODISPSETTINGSPG, + REST_NODISPSCREENSAVEPREVIEW, + REST_NODISPLAYCPL, + REST_HIDERUNASVERB, + REST_NOTHUMBNAILCACHE, + REST_NOSTRCMPLOGICAL, + REST_NOPUBLISHWIZARD, + REST_NOONLINEPRINTSWIZARD, /* 0x40000080 */ + REST_NOWEBSERVICES, + REST_ALLOWUNHASHEDWEBVIEW, + REST_ALLOWLEGACYWEBVIEW, + REST_REVERTWEBVIEWSECURITY, + + REST_INHERITCONSOLEHANDLES = 0x40000086, + + REST_NODISCONNECT = 0x41000001, + REST_NOSECURITY, + REST_NOFILEASSOCIATE, /* 0x41000003 */ +} RESTRICTIONS; + +DWORD WINAPI SHRestricted(RESTRICTIONS rest); + +/**************************************************************************** +* SHChangeNotify API +*/ +typedef struct _SHChangeNotifyEntry +{ + LPCITEMIDLIST pidl; + BOOL fRecursive; +} SHChangeNotifyEntry; + +#define SHCNE_RENAMEITEM 0x00000001 +#define SHCNE_CREATE 0x00000002 +#define SHCNE_DELETE 0x00000004 +#define SHCNE_MKDIR 0x00000008 +#define SHCNE_RMDIR 0x00000010 +#define SHCNE_MEDIAINSERTED 0x00000020 +#define SHCNE_MEDIAREMOVED 0x00000040 +#define SHCNE_DRIVEREMOVED 0x00000080 +#define SHCNE_DRIVEADD 0x00000100 +#define SHCNE_NETSHARE 0x00000200 +#define SHCNE_NETUNSHARE 0x00000400 +#define SHCNE_ATTRIBUTES 0x00000800 +#define SHCNE_UPDATEDIR 0x00001000 +#define SHCNE_UPDATEITEM 0x00002000 +#define SHCNE_SERVERDISCONNECT 0x00004000 +#define SHCNE_UPDATEIMAGE 0x00008000 +#define SHCNE_DRIVEADDGUI 0x00010000 +#define SHCNE_RENAMEFOLDER 0x00020000 +#define SHCNE_FREESPACE 0x00040000 + +#define SHCNE_EXTENDED_EVENT 0x04000000 +#define SHCNE_ASSOCCHANGED 0x08000000 +#define SHCNE_DISKEVENTS 0x0002381F +#define SHCNE_GLOBALEVENTS 0x0C0581E0 +#define SHCNE_ALLEVENTS 0x7FFFFFFF +#define SHCNE_INTERRUPT 0x80000000 + +#define SHCNEE_ORDERCHANGED __MSABI_LONG(0x0002) +#define SHCNEE_MSI_CHANGE __MSABI_LONG(0x0004) +#define SHCNEE_MSI_UNINSTALL __MSABI_LONG(0x0005) + +#define SHCNF_IDLIST 0x0000 +#define SHCNF_PATHA 0x0001 +#define SHCNF_PRINTERA 0x0002 +#define SHCNF_DWORD 0x0003 +#define SHCNF_PATHW 0x0005 +#define SHCNF_PRINTERW 0x0006 +#define SHCNF_TYPE 0x00FF +#define SHCNF_FLUSH 0x1000 +#define SHCNF_FLUSHNOWAIT 0x3000 +#define SHCNF_NOTIFYRECURSIVE 0x10000 + +#define SHCNF_PATH WINELIB_NAME_AW(SHCNF_PATH) +#define SHCNF_PRINTER WINELIB_NAME_AW(SHCNF_PRINTER) + +#define SHCNRF_InterruptLevel 0x0001 +#define SHCNRF_ShellLevel 0x0002 +#define SHCNRF_RecursiveInterrupt 0x1000 +#define SHCNRF_NewDelivery 0x8000 + +void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2); + +typedef enum { + SLDF_HAS_ID_LIST = 0x00000001, + SLDF_HAS_LINK_INFO = 0x00000002, + SLDF_HAS_NAME = 0x00000004, + SLDF_HAS_RELPATH = 0x00000008, + SLDF_HAS_WORKINGDIR = 0x00000010, + SLDF_HAS_ARGS = 0x00000020, + SLDF_HAS_ICONLOCATION = 0x00000040, + SLDF_UNICODE = 0x00000080, + SLDF_FORCE_NO_LINKINFO = 0x00000100, + SLDF_HAS_EXP_SZ = 0x00000200, + SLDF_RUN_IN_SEPARATE = 0x00000400, + SLDF_HAS_LOGO3ID = 0x00000800, + SLDF_HAS_DARWINID = 0x00001000, + SLDF_RUNAS_USER = 0x00002000, + SLDF_HAS_EXP_ICON_SZ = 0x00004000, + SLDF_NO_PIDL_ALIAS = 0x00008000, + SLDF_FORCE_UNCNAME = 0x00010000, + SLDF_RUN_WITH_SHIMLAYER = 0x00020000, + SLDF_FORCE_NO_LINKTRACK = 0x00040000, + SLDF_ENABLE_TARGET_METADATA = 0x00080000, + SLDF_DISABLE_KNOWNFOLDER_RELATIVE_TRACKING = 0x00200000, + SLDF_VALID = 0x003ff7ff, + SLDF_RESERVED = 0x80000000, +} SHELL_LINK_DATA_FLAGS; + +typedef struct tagDATABLOCKHEADER +{ + DWORD cbSize; + DWORD dwSignature; +} DATABLOCK_HEADER, *LPDATABLOCK_HEADER, *LPDBLIST; + +typedef struct { + DATABLOCK_HEADER dbh; + CHAR szDarwinID[MAX_PATH]; + WCHAR szwDarwinID[MAX_PATH]; +} EXP_DARWIN_LINK, *LPEXP_DARWIN_LINK; + +typedef struct { + DWORD cbSize; + DWORD cbSignature; + CHAR szTarget[MAX_PATH]; + WCHAR szwTarget[MAX_PATH]; +} EXP_SZ_LINK, *LPEXP_SZ_LINK; + +typedef struct { + DWORD cbSize; + DWORD dwSignature; + DWORD idSpecialFolder; + DWORD cbOffset; +} EXP_SPECIAL_FOLDER, *LPEXP_SPECIAL_FOLDER; + +typedef struct { + DWORD cbSize; + DWORD dwSignature; + BYTE abPropertyStorage[1]; +} EXP_PROPERTYSTORAGE; + +#define EXP_SZ_LINK_SIG 0xa0000001 +#define NT_CONSOLE_PROPS_SIG 0xa0000002 +#define NT_FE_CONSOLE_PROPS_SIG 0xa0000004 +#define EXP_SPECIAL_FOLDER_SIG 0xa0000005 +#define EXP_DARWIN_ID_SIG 0xa0000006 +#define EXP_SZ_ICON_SIG 0xa0000007 +#define EXP_LOGO3_ID_SIG EXP_SZ_ICON_SIG /* Old SDKs only */ +#define EXP_PROPERTYSTORAGE_SIG 0xa0000009 + +typedef struct _SHChangeDWORDAsIDList { + USHORT cb; + DWORD dwItem1; + DWORD dwItem2; + USHORT cbZero; +} SHChangeDWORDAsIDList, *LPSHChangeDWORDAsIDList; + +typedef struct _SHChangeProductKeyAsIDList { + USHORT cb; + WCHAR wszProductKey[39]; + USHORT cbZero; +} SHChangeProductKeyAsIDList, *LPSHChangeProductKeyAsIDList; + +ULONG WINAPI SHChangeNotifyRegister(HWND hwnd, int fSources, LONG fEvents, UINT wMsg, + int cEntries, SHChangeNotifyEntry *pshcne); +BOOL WINAPI SHChangeNotifyDeregister(ULONG ulID); +HANDLE WINAPI SHChangeNotification_Lock(HANDLE hChangeNotification, DWORD dwProcessId, + LPITEMIDLIST **pppidl, LONG *plEvent); +BOOL WINAPI SHChangeNotification_Unlock(HANDLE hLock); + +HRESULT WINAPI SHGetRealIDL(IShellFolder *psf, LPCITEMIDLIST pidlSimple, LPITEMIDLIST * ppidlReal); + +/**************************************************************************** +* SHCreateDirectory API +*/ +DWORD WINAPI SHCreateDirectory(HWND, LPCVOID); +int WINAPI SHCreateDirectoryExA(HWND, LPCSTR, LPSECURITY_ATTRIBUTES); +int WINAPI SHCreateDirectoryExW(HWND, LPCWSTR, LPSECURITY_ATTRIBUTES); +#define SHCreateDirectoryEx WINELIB_NAME_AW(SHCreateDirectoryEx) + +/**************************************************************************** +* SHGetSetFolderCustomSettings API +*/ +typedef struct { + DWORD dwSize; + DWORD dwMask; + SHELLVIEWID *pvid; + LPWSTR pszWebViewTemplate; + DWORD cchWebViewTemplate; + LPWSTR pszWebViewTemplateVersion; + LPWSTR pszInfoTip; + DWORD cchInfoTip; + CLSID *pclsid; + DWORD dwFlags; + LPWSTR pszIconFile; + DWORD cchIconFile; + int iIconIndex; + LPWSTR pszLogo; + DWORD cchLogo; +} SHFOLDERCUSTOMSETTINGS, *LPSHFOLDERCUSTOMSETTINGS; + +HRESULT WINAPI SHGetSetFolderCustomSettings(LPSHFOLDERCUSTOMSETTINGS pfcs, LPCSTR pszPath, DWORD dwReadWrite); + +/**************************************************************************** +* SHGetSpecialFolderLocation API +*/ +HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, int nFolder, LPITEMIDLIST * ppidl); +HRESULT WINAPI SHGetFolderLocation(HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwReserved, LPITEMIDLIST *ppidl); + +/**************************************************************************** +* SHGetFolderPath API +*/ +typedef enum { + SHGFP_TYPE_CURRENT = 0, + SHGFP_TYPE_DEFAULT = 1 +} SHGFP_TYPE; + +HRESULT WINAPI SHGetFolderPathA(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwFlags, LPSTR pszPath); +HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); +#define SHGetFolderPath WINELIB_NAME_AW(SHGetFolderPath) + +#define CSIDL_DESKTOP 0x0000 +#define CSIDL_INTERNET 0x0001 +#define CSIDL_PROGRAMS 0x0002 +#define CSIDL_CONTROLS 0x0003 +#define CSIDL_PRINTERS 0x0004 +#define CSIDL_PERSONAL 0x0005 +#define CSIDL_FAVORITES 0x0006 +#define CSIDL_STARTUP 0x0007 +#define CSIDL_RECENT 0x0008 +#define CSIDL_SENDTO 0x0009 +#define CSIDL_BITBUCKET 0x000a +#define CSIDL_STARTMENU 0x000b +#define CSIDL_MYDOCUMENTS CSIDL_PERSONAL +#define CSIDL_MYMUSIC 0x000d +#define CSIDL_MYVIDEO 0x000e +#define CSIDL_DESKTOPDIRECTORY 0x0010 +#define CSIDL_DRIVES 0x0011 +#define CSIDL_NETWORK 0x0012 +#define CSIDL_NETHOOD 0x0013 +#define CSIDL_FONTS 0x0014 +#define CSIDL_TEMPLATES 0x0015 +#define CSIDL_COMMON_STARTMENU 0x0016 +#define CSIDL_COMMON_PROGRAMS 0X0017 +#define CSIDL_COMMON_STARTUP 0x0018 +#define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019 +#define CSIDL_APPDATA 0x001a +#define CSIDL_PRINTHOOD 0x001b +#define CSIDL_LOCAL_APPDATA 0x001c +#define CSIDL_ALTSTARTUP 0x001d +#define CSIDL_COMMON_ALTSTARTUP 0x001e +#define CSIDL_COMMON_FAVORITES 0x001f +#define CSIDL_INTERNET_CACHE 0x0020 +#define CSIDL_COOKIES 0x0021 +#define CSIDL_HISTORY 0x0022 +#define CSIDL_COMMON_APPDATA 0x0023 +#define CSIDL_WINDOWS 0x0024 +#define CSIDL_SYSTEM 0x0025 +#define CSIDL_PROGRAM_FILES 0x0026 +#define CSIDL_MYPICTURES 0x0027 +#define CSIDL_PROFILE 0x0028 +#define CSIDL_SYSTEMX86 0x0029 +#define CSIDL_PROGRAM_FILESX86 0x002a +#define CSIDL_PROGRAM_FILES_COMMON 0x002b +#define CSIDL_PROGRAM_FILES_COMMONX86 0x002c +#define CSIDL_COMMON_TEMPLATES 0x002d +#define CSIDL_COMMON_DOCUMENTS 0x002e +#define CSIDL_COMMON_ADMINTOOLS 0x002f +#define CSIDL_ADMINTOOLS 0x0030 +#define CSIDL_CONNECTIONS 0x0031 +#define CSIDL_COMMON_MUSIC 0x0035 +#define CSIDL_COMMON_PICTURES 0x0036 +#define CSIDL_COMMON_VIDEO 0x0037 +#define CSIDL_RESOURCES 0x0038 +#define CSIDL_RESOURCES_LOCALIZED 0x0039 +#define CSIDL_COMMON_OEM_LINKS 0x003a +#define CSIDL_CDBURN_AREA 0x003b +#define CSIDL_COMPUTERSNEARME 0x003d +#define CSIDL_PROFILES 0x003e +#define CSIDL_FOLDER_MASK 0x00ff +#define CSIDL_FLAG_PER_USER_INIT 0x0800 +#define CSIDL_FLAG_NO_ALIAS 0x1000 +#define CSIDL_FLAG_DONT_VERIFY 0x4000 +#define CSIDL_FLAG_CREATE 0x8000 + +#define CSIDL_FLAG_MASK 0xff00 + +/**************************************************************************** + * SHGetDesktopFolder API + */ +HRESULT WINAPI SHGetDesktopFolder(IShellFolder * *); + +/**************************************************************************** + * SHBindToParent API + */ +HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast); + +/**************************************************************************** +* SHDefExtractIcon API +*/ +HRESULT WINAPI SHDefExtractIconA(LPCSTR pszIconFile, int iIndex, UINT uFlags, + HICON* phiconLarge, HICON* phiconSmall, UINT nIconSize); +HRESULT WINAPI SHDefExtractIconW(LPCWSTR pszIconFile, int iIndex, UINT uFlags, + HICON* phiconLarge, HICON* phiconSmall, UINT nIconSize); +#define SHDefExtractIcon WINELIB_NAME_AW(SHDefExtractIcon) + +/* + * DROPFILES for CF_HDROP and CF_PRINTERS + */ +typedef struct _DROPFILES +{ + DWORD pFiles; + POINT pt; + BOOL fNC; + BOOL fWide; +} DROPFILES, *LPDROPFILES; + +/* + * Properties of a file in the clipboard + */ +typedef struct _FILEDESCRIPTORA { + DWORD dwFlags; + CLSID clsid; + SIZEL sizel; + POINTL pointl; + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; + CHAR cFileName[MAX_PATH]; +} FILEDESCRIPTORA, *LPFILEDESCRIPTORA; + +typedef struct _FILEDESCRIPTORW { + DWORD dwFlags; + CLSID clsid; + SIZEL sizel; + POINTL pointl; + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; + WCHAR cFileName[MAX_PATH]; +} FILEDESCRIPTORW, *LPFILEDESCRIPTORW; + +DECL_WINELIB_TYPE_AW(FILEDESCRIPTOR) +DECL_WINELIB_TYPE_AW(LPFILEDESCRIPTOR) + +/* + * CF_FILEGROUPDESCRIPTOR clipboard format + */ +typedef struct _FILEGROUPDESCRIPTORA { + UINT cItems; + FILEDESCRIPTORA fgd[1]; +} FILEGROUPDESCRIPTORA, *LPFILEGROUPDESCRIPTORA; + +typedef struct _FILEGROUPDESCRIPTORW { + UINT cItems; + FILEDESCRIPTORW fgd[1]; +} FILEGROUPDESCRIPTORW, *LPFILEGROUPDESCRIPTORW; + +DECL_WINELIB_TYPE_AW(FILEGROUPDESCRIPTOR) +DECL_WINELIB_TYPE_AW(LPFILEGROUPDESCRIPTOR) + +/**************************************************************************** + * Cabinet functions + */ + +typedef struct { + WORD cLength; + WORD nVersion; + BOOL fFullPathTitle:1; + BOOL fSaveLocalView:1; + BOOL fNotShell:1; + BOOL fSimpleDefault:1; + BOOL fDontShowDescBar:1; + BOOL fNewWindowMode:1; + BOOL fShowCompColor:1; + BOOL fDontPrettyNames:1; + BOOL fAdminsCreateCommonGroups:1; + UINT fUnusedFlags:7; + UINT :15; /* Required for proper binary layout with gcc */ + UINT fMenuEnumFilter; +} CABINETSTATE, *LPCABINETSTATE; + +#define CABINETSTATE_VERSION 2 + +BOOL WINAPI ReadCabinetState(CABINETSTATE *, int); +BOOL WINAPI WriteCabinetState(CABINETSTATE *); + +/**************************************************************************** + * Path Manipulation Routines + */ + +/* PathProcessCommand flags */ +#define PPCF_ADDQUOTES 0x01 +#define PPCF_INCLUDEARGS 0x02 +#define PPCF_ADDARGUMENTS 0x03 +#define PPCF_NODIRECTORIES 0x10 +#define PPCF_DONTRESOLVE 0x20 +#define PPCF_FORCEQUALIFY 0x40 +#define PPCF_LONGESTPOSSIBLE 0x80 + +/* PathResolve flags */ +#define PRF_VERIFYEXISTS 0x01 +#define PRF_EXECUTABLE 0x02 +#define PRF_TRYPROGRAMEXTENSIONS 0x03 +#define PRF_FIRSTDIRDEF 0x04 +#define PRF_DONTFINDLINK 0x08 +#define PRF_REQUIREABSOLUTE 0x10 + +VOID WINAPI PathGetShortPath(LPWSTR pszPath); +LONG WINAPI PathProcessCommand(LPCWSTR, LPWSTR, int, DWORD); +int WINAPI PathResolve(LPWSTR, PZPCWSTR, UINT); +BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR, LPCWSTR, LPCWSTR, LPCWSTR); +BOOL WINAPI Win32DeleteFile(LPCWSTR); + +/**************************************************************************** + * Drag And Drop Routines + */ + +/* DAD_AutoScroll sample structure */ +#define NUM_POINTS 3 +typedef struct +{ + int iNextSample; + DWORD dwLastScroll; + BOOL bFull; + POINT pts[NUM_POINTS]; + DWORD dwTimes[NUM_POINTS]; +} AUTO_SCROLL_DATA; + +BOOL WINAPI DAD_SetDragImage(HIMAGELIST,LPPOINT); +BOOL WINAPI DAD_DragEnterEx(HWND,POINT); +BOOL WINAPI DAD_DragEnterEx2(HWND,POINT,IDataObject*); +BOOL WINAPI DAD_DragMove(POINT); +BOOL WINAPI DAD_DragLeave(void); +BOOL WINAPI DAD_AutoScroll(HWND,AUTO_SCROLL_DATA*,LPPOINT); +HRESULT WINAPI SHDoDragDrop(HWND,IDataObject*,IDropSource*,DWORD,LPDWORD); + +/**************************************************************************** + * Internet shortcut properties + */ + +#define PID_IS_URL 2 +#define PID_IS_NAME 4 +#define PID_IS_WORKINGDIR 5 +#define PID_IS_HOTKEY 6 +#define PID_IS_SHOWCMD 7 +#define PID_IS_ICONINDEX 8 +#define PID_IS_ICONFILE 9 +#define PID_IS_WHATSNEW 10 +#define PID_IS_AUTHOR 11 +#define PID_IS_DESCRIPTION 12 +#define PID_IS_COMMENT 13 + + +LPITEMIDLIST WINAPI ILAppendID(LPITEMIDLIST,LPCSHITEMID,BOOL); +LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST); +LPITEMIDLIST WINAPI ILCloneFirst(LPCITEMIDLIST); +LPITEMIDLIST WINAPI ILCreateFromPathA(LPCSTR); +LPITEMIDLIST WINAPI ILCreateFromPathW(LPCWSTR); +#define ILCreateFromPath WINELIB_NAME_AW(ILCreateFromPath) +LPITEMIDLIST WINAPI ILCombine(LPCITEMIDLIST,LPCITEMIDLIST); +LPITEMIDLIST WINAPI ILFindChild(LPCITEMIDLIST,LPCITEMIDLIST); +LPITEMIDLIST WINAPI ILFindLastID(LPCITEMIDLIST); +void WINAPI ILFree(LPITEMIDLIST); +LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST); +UINT WINAPI ILGetSize(LPCITEMIDLIST); +BOOL WINAPI ILIsEqual(LPCITEMIDLIST,LPCITEMIDLIST); +BOOL WINAPI ILIsParent(LPCITEMIDLIST,LPCITEMIDLIST,BOOL); +HRESULT WINAPI ILLoadFromStream(LPSTREAM,LPITEMIDLIST*); +BOOL WINAPI ILRemoveLastID(LPITEMIDLIST); +HRESULT WINAPI ILSaveToStream(LPSTREAM,LPCITEMIDLIST); + +static inline BOOL ILIsEmpty(LPCITEMIDLIST pidl) +{ + return !(pidl && pidl->mkid.cb); +} + +#include + +typedef struct { + HWND hwnd; + IContextMenuCB *pcmcb; + PCIDLIST_ABSOLUTE pidlFolder; + IShellFolder *psf; + UINT cidl; + PCUITEMID_CHILD_ARRAY apidl; + IUnknown *punkAssociationInfo; + UINT cKeys; + const HKEY *aKeys; +} DEFCONTEXTMENU; + +#include + +HRESULT WINAPI SHCreateDefaultContextMenu(const DEFCONTEXTMENU *pdcm, REFIID riid, void **ppv); + +typedef HRESULT (CALLBACK *LPFNDFMCALLBACK)(IShellFolder*,HWND,IDataObject*,UINT,WPARAM,LPARAM); + +HRESULT WINAPI CDefFolderMenu_Create2(LPCITEMIDLIST pidlFolder, HWND hwnd, UINT cidl, + LPCITEMIDLIST *apidl, IShellFolder *psf, + LPFNDFMCALLBACK lpfn, UINT nKeys, const HKEY *ahkeys, + IContextMenu **ppcm); + +int WINAPI PickIconDlg(HWND owner, WCHAR *path, UINT path_len, int *index); + +#include + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_SHLOBJ_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlwapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlwapi.h new file mode 100644 index 0000000..138fcd9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shlwapi.h @@ -0,0 +1,1134 @@ +/* + * SHLWAPI.DLL functions + * + * Copyright (C) 2000 Juergen Schmied + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SHLWAPI_H +#define __WINE_SHLWAPI_H + +/* FIXME: #include */ +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#include + +#ifndef NO_SHLWAPI_REG + +/* Registry functions */ + +DWORD WINAPI SHDeleteEmptyKeyA(HKEY,LPCSTR); +DWORD WINAPI SHDeleteEmptyKeyW(HKEY,LPCWSTR); +#define SHDeleteEmptyKey WINELIB_NAME_AW(SHDeleteEmptyKey) + +DWORD WINAPI SHDeleteKeyA(HKEY,LPCSTR); +DWORD WINAPI SHDeleteKeyW(HKEY,LPCWSTR); +#define SHDeleteKey WINELIB_NAME_AW(SHDeleteKey) + +DWORD WINAPI SHDeleteValueA(HKEY,LPCSTR,LPCSTR); +DWORD WINAPI SHDeleteValueW(HKEY,LPCWSTR,LPCWSTR); +#define SHDeleteValue WINELIB_NAME_AW(SHDeleteValue) + +DWORD WINAPI SHGetValueA(HKEY,LPCSTR,LPCSTR,LPDWORD,LPVOID,LPDWORD); +DWORD WINAPI SHGetValueW(HKEY,LPCWSTR,LPCWSTR,LPDWORD,LPVOID,LPDWORD); +#define SHGetValue WINELIB_NAME_AW(SHGetValue) + +DWORD WINAPI SHSetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPCVOID,DWORD); +DWORD WINAPI SHSetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPCVOID,DWORD); +#define SHSetValue WINELIB_NAME_AW(SHSetValue) + +DWORD WINAPI SHQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD); +DWORD WINAPI SHQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD); +#define SHQueryValueEx WINELIB_NAME_AW(SHQueryValueEx) + +LONG WINAPI SHEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD); +LONG WINAPI SHEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD); +#define SHEnumKeyEx WINELIB_NAME_AW(SHEnumKeyEx) + +LONG WINAPI SHEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD); +LONG WINAPI SHEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD); +#define SHEnumValue WINELIB_NAME_AW(SHEnumValue) + +LONG WINAPI SHQueryInfoKeyA(HKEY,LPDWORD,LPDWORD,LPDWORD,LPDWORD); +LONG WINAPI SHQueryInfoKeyW(HKEY,LPDWORD,LPDWORD,LPDWORD,LPDWORD); +#define SHQueryInfoKey WINELIB_NAME_AW(SHQueryInfoKey) + +DWORD WINAPI SHRegGetPathA(HKEY,LPCSTR,LPCSTR,LPSTR,DWORD); +DWORD WINAPI SHRegGetPathW(HKEY,LPCWSTR,LPCWSTR,LPWSTR,DWORD); +#define SHRegGetPath WINELIB_NAME_AW(SHRegGetPath) + +DWORD WINAPI SHRegSetPathA(HKEY,LPCSTR,LPCSTR,LPCSTR,DWORD); +DWORD WINAPI SHRegSetPathW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR,DWORD); +#define SHRegSetPath WINELIB_NAME_AW(SHRegSetPath) + +DWORD WINAPI SHCopyKeyA(HKEY,LPCSTR,HKEY,DWORD); +DWORD WINAPI SHCopyKeyW(HKEY,LPCWSTR,HKEY,DWORD); +#define SHCopyKey WINELIB_NAME_AW(SHCopyKey) + +HKEY WINAPI SHRegDuplicateHKey(HKEY); + +/* SHRegGetValue flags */ +typedef INT SRRF; + +#define SRRF_RT_REG_NONE 0x1 +#define SRRF_RT_REG_SZ 0x2 +#define SRRF_RT_REG_EXPAND_SZ 0x4 +#define SRRF_RT_REG_BINARY 0x8 +#define SRRF_RT_REG_DWORD 0x10 +#define SRRF_RT_REG_MULTI_SZ 0x20 +#define SRRF_RT_REG_QWORD 0x40 + +#define SRRF_RT_DWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_DWORD) +#define SRRF_RT_QWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_QWORD) +#define SRRF_RT_ANY 0xffff + +#define SRRF_RM_ANY 0 +#define SRRF_RM_NORMAL 0x10000 +#define SRRF_RM_SAFE 0x20000 +#define SRRF_RM_SAFENETWORK 0x40000 + +#define SRRF_NOEXPAND 0x10000000 +#define SRRF_ZEROONFAILURE 0x20000000 +#define SRRF_NOVIRT 0x40000000 + +LSTATUS WINAPI SHRegGetValueA(HKEY,LPCSTR,LPCSTR,SRRF,LPDWORD,LPVOID,LPDWORD); +LSTATUS WINAPI SHRegGetValueW(HKEY,LPCWSTR,LPCWSTR,SRRF,LPDWORD,LPVOID,LPDWORD); +#define SHRegGetValue WINELIB_NAME_AW(SHRegGetValue) + +/* Undocumented registry functions */ + +DWORD WINAPI SHDeleteOrphanKeyA(HKEY,LPCSTR); +DWORD WINAPI SHDeleteOrphanKeyW(HKEY,LPCWSTR); +#define SHDeleteOrphanKey WINELIB_NAME_AW(SHDeleteOrphanKey) + + +/* User registry functions */ + +typedef enum +{ + SHREGDEL_DEFAULT = 0, + SHREGDEL_HKCU = 0x1, + SHREGDEL_HKLM = 0x10, + SHREGDEL_BOTH = SHREGDEL_HKLM | SHREGDEL_HKCU +} SHREGDEL_FLAGS; + +typedef enum +{ + SHREGENUM_DEFAULT = 0, + SHREGENUM_HKCU = 0x1, + SHREGENUM_HKLM = 0x10, + SHREGENUM_BOTH = SHREGENUM_HKLM | SHREGENUM_HKCU +} SHREGENUM_FLAGS; + +#define SHREGSET_HKCU 0x1 /* Apply to HKCU if empty */ +#define SHREGSET_FORCE_HKCU 0x2 /* Always apply to HKCU */ +#define SHREGSET_HKLM 0x4 /* Apply to HKLM if empty */ +#define SHREGSET_FORCE_HKLM 0x8 /* Always apply to HKLM */ +#define SHREGSET_DEFAULT (SHREGSET_FORCE_HKCU | SHREGSET_HKLM) + +typedef HANDLE HUSKEY; +typedef HUSKEY *PHUSKEY; + +LONG WINAPI SHRegCreateUSKeyA(LPCSTR,REGSAM,HUSKEY,PHUSKEY,DWORD); +LONG WINAPI SHRegCreateUSKeyW(LPCWSTR,REGSAM,HUSKEY,PHUSKEY,DWORD); +#define SHRegCreateUSKey WINELIB_NAME_AW(SHRegCreateUSKey) + +LONG WINAPI SHRegOpenUSKeyA(LPCSTR,REGSAM,HUSKEY,PHUSKEY,BOOL); +LONG WINAPI SHRegOpenUSKeyW(LPCWSTR,REGSAM,HUSKEY,PHUSKEY,BOOL); +#define SHRegOpenUSKey WINELIB_NAME_AW(SHRegOpenUSKey) + +LONG WINAPI SHRegQueryUSValueA(HUSKEY,LPCSTR,LPDWORD,LPVOID,LPDWORD, + BOOL,LPVOID,DWORD); +LONG WINAPI SHRegQueryUSValueW(HUSKEY,LPCWSTR,LPDWORD,LPVOID,LPDWORD, + BOOL,LPVOID,DWORD); +#define SHRegQueryUSValue WINELIB_NAME_AW(SHRegQueryUSValue) + +LONG WINAPI SHRegWriteUSValueA(HUSKEY,LPCSTR,DWORD,LPVOID,DWORD,DWORD); +LONG WINAPI SHRegWriteUSValueW(HUSKEY,LPCWSTR,DWORD,LPVOID,DWORD,DWORD); +#define SHRegWriteUSValue WINELIB_NAME_AW(SHRegWriteUSValue) + +LONG WINAPI SHRegDeleteUSValueA(HUSKEY,LPCSTR,SHREGDEL_FLAGS); +LONG WINAPI SHRegDeleteUSValueW(HUSKEY,LPCWSTR,SHREGDEL_FLAGS); +#define SHRegDeleteUSValue WINELIB_NAME_AW(SHRegDeleteUSValue) + +LONG WINAPI SHRegDeleteEmptyUSKeyA(HUSKEY,LPCSTR,SHREGDEL_FLAGS); +LONG WINAPI SHRegDeleteEmptyUSKeyW(HUSKEY,LPCWSTR,SHREGDEL_FLAGS); +#define SHRegDeleteEmptyUSKey WINELIB_NAME_AW(SHRegDeleteEmptyUSKey) + +LONG WINAPI SHRegEnumUSKeyA(HUSKEY,DWORD,LPSTR,LPDWORD,SHREGENUM_FLAGS); +LONG WINAPI SHRegEnumUSKeyW(HUSKEY,DWORD,LPWSTR,LPDWORD,SHREGENUM_FLAGS); +#define SHRegEnumUSKey WINELIB_NAME_AW(SHRegEnumUSKey) + +LONG WINAPI SHRegEnumUSValueA(HUSKEY,DWORD,LPSTR,LPDWORD,LPDWORD, + LPVOID,LPDWORD,SHREGENUM_FLAGS); +LONG WINAPI SHRegEnumUSValueW(HUSKEY,DWORD,LPWSTR,LPDWORD,LPDWORD, + LPVOID,LPDWORD,SHREGENUM_FLAGS); +#define SHRegEnumUSValue WINELIB_NAME_AW(SHRegEnumUSValue) + +LONG WINAPI SHRegQueryInfoUSKeyA(HUSKEY,LPDWORD,LPDWORD,LPDWORD, + LPDWORD,SHREGENUM_FLAGS); +LONG WINAPI SHRegQueryInfoUSKeyW(HUSKEY,LPDWORD,LPDWORD,LPDWORD, + LPDWORD,SHREGENUM_FLAGS); +#define SHRegQueryInfoUSKey WINELIB_NAME_AW(SHRegQueryInfoUSKey) + +LONG WINAPI SHRegCloseUSKey(HUSKEY); + +LONG WINAPI SHRegGetUSValueA(LPCSTR,LPCSTR,LPDWORD,LPVOID,LPDWORD, + BOOL,LPVOID,DWORD); +LONG WINAPI SHRegGetUSValueW(LPCWSTR,LPCWSTR,LPDWORD,LPVOID,LPDWORD, + BOOL,LPVOID,DWORD); +#define SHRegGetUSValue WINELIB_NAME_AW(SHRegGetUSValue) + +LONG WINAPI SHRegSetUSValueA(LPCSTR,LPCSTR,DWORD,LPVOID,DWORD,DWORD); +LONG WINAPI SHRegSetUSValueW(LPCWSTR,LPCWSTR,DWORD,LPVOID,DWORD,DWORD); +#define SHRegSetUSValue WINELIB_NAME_AW(SHRegSetUSValue) + +BOOL WINAPI SHRegGetBoolUSValueA(LPCSTR,LPCSTR,BOOL,BOOL); +BOOL WINAPI SHRegGetBoolUSValueW(LPCWSTR,LPCWSTR,BOOL,BOOL); +#define SHRegGetBoolUSValue WINELIB_NAME_AW(SHRegGetBoolUSValue) + +int WINAPI SHRegGetIntW(HKEY,LPCWSTR,int); + +/* IQueryAssociation and helpers */ +enum +{ + ASSOCF_NONE = 0x0000, + ASSOCF_INIT_NOREMAPCLSID = 0x0001, /* Don't map clsid->progid */ + ASSOCF_INIT_BYEXENAME = 0x0002, /* .exe name given */ + ASSOCF_OPEN_BYEXENAME = 0x0002, /* Synonym */ + ASSOCF_INIT_DEFAULTTOSTAR = 0x0004, /* Use * as base */ + ASSOCF_INIT_DEFAULTTOFOLDER = 0x0008, /* Use folder as base */ + ASSOCF_NOUSERSETTINGS = 0x0010, /* No HKCU reads */ + ASSOCF_NOTRUNCATE = 0x0020, /* Don't truncate return */ + ASSOCF_VERIFY = 0x0040, /* Verify data */ + ASSOCF_REMAPRUNDLL = 0x0080, /* Get rundll args */ + ASSOCF_NOFIXUPS = 0x0100, /* Don't fixup errors */ + ASSOCF_IGNOREBASECLASS = 0x0200, /* Don't read baseclass */ + ASSOCF_INIT_IGNOREUNKNOWN = 0x0400, /* Fail for unknown progid */ + ASSOCF_INIT_FIXED_PROGID = 0x0800, /* Used passed string as progid, don't try to map it */ + ASSOCF_IS_PROTOCOL = 0x1000, /* Treat as protocol, that should be mapped */ + ASSOCF_INIT_FOR_FILE = 0x2000, /* progid is for file extension association */ +}; + +typedef DWORD ASSOCF; + +typedef enum +{ + ASSOCSTR_COMMAND = 1, /* Verb command */ + ASSOCSTR_EXECUTABLE, /* .exe from command string */ + ASSOCSTR_FRIENDLYDOCNAME, /* Friendly doc type name */ + ASSOCSTR_FRIENDLYAPPNAME, /* Friendly .exe name */ + ASSOCSTR_NOOPEN, /* noopen value */ + ASSOCSTR_SHELLNEWVALUE, /* Use shellnew key */ + ASSOCSTR_DDECOMMAND, /* DDE command template */ + ASSOCSTR_DDEIFEXEC, /* DDE command for process create */ + ASSOCSTR_DDEAPPLICATION, /* DDE app name */ + ASSOCSTR_DDETOPIC, /* DDE topic */ + ASSOCSTR_INFOTIP, /* Infotip */ + ASSOCSTR_QUICKTIP, /* Quick infotip */ + ASSOCSTR_TILEINFO, /* Properties for tileview */ + ASSOCSTR_CONTENTTYPE, /* Mimetype */ + ASSOCSTR_DEFAULTICON, /* Icon */ + ASSOCSTR_SHELLEXTENSION, /* GUID for shell extension handler */ + ASSOCSTR_MAX +} ASSOCSTR; + +typedef enum +{ + ASSOCKEY_SHELLEXECCLASS = 1, /* Key for ShellExec */ + ASSOCKEY_APP, /* Application */ + ASSOCKEY_CLASS, /* Progid or class */ + ASSOCKEY_BASECLASS, /* Base class */ + ASSOCKEY_MAX +} ASSOCKEY; + +typedef enum +{ + ASSOCDATA_MSIDESCRIPTOR = 1, /* Component descriptor */ + ASSOCDATA_NOACTIVATEHANDLER, /* Don't activate */ + ASSOCDATA_QUERYCLASSSTORE, /* Look in Class Store */ + ASSOCDATA_HASPERUSERASSOC, /* Use user association */ + ASSOCDATA_EDITFLAGS, /* Edit flags */ + ASSOCDATA_VALUE, /* pszExtra is value */ + ASSOCDATA_MAX +} ASSOCDATA; + +typedef enum +{ + ASSOCENUM_NONE +} ASSOCENUM; + +typedef struct IQueryAssociations *LPQUERYASSOCIATIONS; + +#define INTERFACE IQueryAssociations +DECLARE_INTERFACE_(IQueryAssociations,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IQueryAssociations methods ***/ + STDMETHOD(Init)(THIS_ ASSOCF flags, LPCWSTR pszAssoc, HKEY hkProgid, HWND hwnd) PURE; + STDMETHOD(GetString)(THIS_ ASSOCF flags, ASSOCSTR str, LPCWSTR pszExtra, LPWSTR pszOut, DWORD * pcchOut) PURE; + STDMETHOD(GetKey)(THIS_ ASSOCF flags, ASSOCKEY key, LPCWSTR pszExtra, HKEY * phkeyOut) PURE; + STDMETHOD(GetData)(THIS_ ASSOCF flags, ASSOCDATA data, LPCWSTR pszExtra, LPVOID pvOut, DWORD * pcbOut) PURE; + STDMETHOD(GetEnum)(THIS_ ASSOCF flags, ASSOCENUM assocenum, LPCWSTR pszExtra, REFIID riid, LPVOID * ppvOut) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +#define IQueryAssociations_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IQueryAssociations_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IQueryAssociations_Release(p) (p)->lpVtbl->Release(p) +#define IQueryAssociations_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d) +#define IQueryAssociations_GetString(p,a,b,c,d,e) (p)->lpVtbl->GetString(p,a,b,c,d,e) +#define IQueryAssociations_GetKey(p,a,b,c,d) (p)->lpVtbl->GetKey(p,a,b,c,d) +#define IQueryAssociations_GetData(p,a,b,c,d,e) (p)->lpVtbl->GetData(p,a,b,c,d,e) +#define IQueryAssociations_GetEnum(p,a,b,c,d,e) (p)->lpVtbl->GetEnum(p,a,b,c,d,e) +#endif + +HRESULT WINAPI AssocCreate(CLSID,REFIID,LPVOID*); + +HRESULT WINAPI AssocQueryStringA(ASSOCF,ASSOCSTR,LPCSTR,LPCSTR,LPSTR,LPDWORD); +HRESULT WINAPI AssocQueryStringW(ASSOCF,ASSOCSTR,LPCWSTR,LPCWSTR,LPWSTR,LPDWORD); +#define AssocQueryString WINELIB_NAME_AW(AssocQueryString) + +HRESULT WINAPI AssocQueryStringByKeyA(ASSOCF,ASSOCSTR,HKEY,LPCSTR,LPSTR,LPDWORD); +HRESULT WINAPI AssocQueryStringByKeyW(ASSOCF,ASSOCSTR,HKEY,LPCWSTR,LPWSTR,LPDWORD); +#define AssocQueryStringByKey WINELIB_NAME_AW(AssocQueryStringByKey) + +HRESULT WINAPI AssocQueryKeyA(ASSOCF,ASSOCKEY,LPCSTR,LPCSTR,PHKEY); +HRESULT WINAPI AssocQueryKeyW(ASSOCF,ASSOCKEY,LPCWSTR,LPCWSTR,PHKEY); +#define AssocQueryKey WINELIB_NAME_AW(AssocQueryKey) + +BOOL WINAPI AssocIsDangerous(LPCWSTR); + +#endif /* NO_SHLWAPI_REG */ + +void WINAPI IUnknown_Set(IUnknown **ppunk, IUnknown *punk); +void WINAPI IUnknown_AtomicRelease(IUnknown **punk); +HRESULT WINAPI IUnknown_GetWindow(IUnknown *punk, HWND *phwnd); +HRESULT WINAPI IUnknown_SetSite(IUnknown *punk, IUnknown *punkSite); +HRESULT WINAPI IUnknown_GetSite(IUnknown *punk, REFIID riid, void **ppv); +HRESULT WINAPI IUnknown_QueryService(IUnknown *punk, REFGUID guidService, REFIID riid, void **ppvOut); + +/* Path functions */ +#ifndef NO_SHLWAPI_PATH + +/* GetPathCharType return flags */ +#define GCT_INVALID 0x0 +#define GCT_LFNCHAR 0x1 +#define GCT_SHORTCHAR 0x2 +#define GCT_WILD 0x4 +#define GCT_SEPARATOR 0x8 + +LPSTR WINAPI PathAddBackslashA(LPSTR); +LPWSTR WINAPI PathAddBackslashW(LPWSTR); +#define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash) + +BOOL WINAPI PathAddExtensionA(LPSTR,LPCSTR); +BOOL WINAPI PathAddExtensionW(LPWSTR,LPCWSTR); +#define PathAddExtension WINELIB_NAME_AW(PathAddExtension) + +BOOL WINAPI PathAppendA(LPSTR,LPCSTR); +BOOL WINAPI PathAppendW(LPWSTR,LPCWSTR); +#define PathAppend WINELIB_NAME_AW(PathAppend) + +LPSTR WINAPI PathBuildRootA(LPSTR,int); +LPWSTR WINAPI PathBuildRootW(LPWSTR,int); +#define PathBuildRoot WINELIB_NAME_AW(PathBuiltRoot) + +BOOL WINAPI PathCanonicalizeA(LPSTR,LPCSTR); +BOOL WINAPI PathCanonicalizeW(LPWSTR,LPCWSTR); +#define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize) + +LPSTR WINAPI PathCombineA(LPSTR,LPCSTR,LPCSTR); +LPWSTR WINAPI PathCombineW(LPWSTR,LPCWSTR,LPCWSTR); +#define PathCombine WINELIB_NAME_AW(PathCombine) + +BOOL WINAPI PathCompactPathA(HDC,LPSTR,UINT); +BOOL WINAPI PathCompactPathW(HDC,LPWSTR,UINT); +#define PathCompactPath WINELIB_NAME_AW(PathCompactPath) + +BOOL WINAPI PathCompactPathExA(LPSTR,LPCSTR,UINT,DWORD); +BOOL WINAPI PathCompactPathExW(LPWSTR,LPCWSTR,UINT,DWORD); +#define PathCompactPathEx WINELIB_NAME_AW(PathCompactPathEx) + +int WINAPI PathCommonPrefixA(LPCSTR,LPCSTR,LPSTR); +int WINAPI PathCommonPrefixW(LPCWSTR,LPCWSTR,LPWSTR); +#define PathCommonPrefix WINELIB_NAME_AW(PathCommonPrefix) + +HRESULT WINAPI PathCreateFromUrlA(LPCSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI PathCreateFromUrlW(LPCWSTR,LPWSTR,LPDWORD,DWORD); +#define PathCreateFromUrl WINELIB_NAME_AW(PathCreateFromUrl) + +HRESULT WINAPI PathCreateFromUrlAlloc(LPCWSTR,LPWSTR*,DWORD); + +BOOL WINAPI PathFileExistsA(LPCSTR); +BOOL WINAPI PathFileExistsW(LPCWSTR); +#define PathFileExists WINELIB_NAME_AW(PathFileExists) + +BOOL WINAPI PathFileExistsAndAttributesA(LPCSTR,DWORD*); +BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR,DWORD*); +#define PathFileExistsAndAttributes WINELIB_NAME_AW(PathFileExistsAndAttributes) + +LPSTR WINAPI PathFindExtensionA(LPCSTR); +LPWSTR WINAPI PathFindExtensionW(LPCWSTR); +#define PathFindExtension WINELIB_NAME_AW(PathFindExtension) + +LPSTR WINAPI PathFindFileNameA(LPCSTR); +LPWSTR WINAPI PathFindFileNameW(LPCWSTR); +#define PathFindFileName WINELIB_NAME_AW(PathFindFileName) + +LPSTR WINAPI PathFindNextComponentA(LPCSTR); +LPWSTR WINAPI PathFindNextComponentW(LPCWSTR); +#define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent) + +BOOL WINAPI PathFindOnPathA(LPSTR,LPCSTR*); +BOOL WINAPI PathFindOnPathW(LPWSTR,LPCWSTR*); +#define PathFindOnPath WINELIB_NAME_AW(PathFindOnPath) + +LPSTR WINAPI PathGetArgsA(LPCSTR); +LPWSTR WINAPI PathGetArgsW(LPCWSTR); +#define PathGetArgs WINELIB_NAME_AW(PathGetArgs) + +UINT WINAPI PathGetCharTypeA(UCHAR); +UINT WINAPI PathGetCharTypeW(WCHAR); +#define PathGetCharType WINELIB_NAME_AW(PathGetCharType) + +int WINAPI PathGetDriveNumberA(LPCSTR); +int WINAPI PathGetDriveNumberW(LPCWSTR); +#define PathGetDriveNumber WINELIB_NAME_AW(PathGetDriveNumber) + +BOOL WINAPI PathIsDirectoryA(LPCSTR); +BOOL WINAPI PathIsDirectoryW(LPCWSTR); +#define PathIsDirectory WINELIB_NAME_AW(PathIsDirectory) + +BOOL WINAPI PathIsDirectoryEmptyA(LPCSTR); +BOOL WINAPI PathIsDirectoryEmptyW(LPCWSTR); +#define PathIsDirectoryEmpty WINELIB_NAME_AW(PathIsDirectoryEmpty) + +BOOL WINAPI PathIsFileSpecA(LPCSTR); +BOOL WINAPI PathIsFileSpecW(LPCWSTR); +#define PathIsFileSpec WINELIB_NAME_AW(PathIsFileSpec) + +BOOL WINAPI PathIsPrefixA(LPCSTR,LPCSTR); +BOOL WINAPI PathIsPrefixW(LPCWSTR,LPCWSTR); +#define PathIsPrefix WINELIB_NAME_AW(PathIsPrefix) + +BOOL WINAPI PathIsRelativeA(LPCSTR); +BOOL WINAPI PathIsRelativeW(LPCWSTR); +#define PathIsRelative WINELIB_NAME_AW(PathIsRelative) + +BOOL WINAPI PathIsRootA(LPCSTR); +BOOL WINAPI PathIsRootW(LPCWSTR); +#define PathIsRoot WINELIB_NAME_AW(PathIsRoot) + +BOOL WINAPI PathIsSameRootA(LPCSTR,LPCSTR); +BOOL WINAPI PathIsSameRootW(LPCWSTR,LPCWSTR); +#define PathIsSameRoot WINELIB_NAME_AW(PathIsSameRoot) + +BOOL WINAPI PathIsUNCA(LPCSTR); +BOOL WINAPI PathIsUNCW(LPCWSTR); +#define PathIsUNC WINELIB_NAME_AW(PathIsUNC) + +BOOL WINAPI PathIsUNCServerA(LPCSTR); +BOOL WINAPI PathIsUNCServerW(LPCWSTR); +#define PathIsUNCServer WINELIB_NAME_AW(PathIsUNCServer) + +BOOL WINAPI PathIsUNCServerShareA(LPCSTR); +BOOL WINAPI PathIsUNCServerShareW(LPCWSTR); +#define PathIsUNCServerShare WINELIB_NAME_AW(PathIsUNCServerShare) + +BOOL WINAPI PathIsContentTypeA(LPCSTR,LPCSTR); +BOOL WINAPI PathIsContentTypeW(LPCWSTR,LPCWSTR); +#define PathIsContentType WINELIB_NAME_AW(PathIsContentType) + +BOOL WINAPI PathIsURLA(LPCSTR); +BOOL WINAPI PathIsURLW(LPCWSTR); +#define PathIsURL WINELIB_NAME_AW(PathIsURL) + +BOOL WINAPI PathMakePrettyA(LPSTR); +BOOL WINAPI PathMakePrettyW(LPWSTR); +#define PathMakePretty WINELIB_NAME_AW(PathMakePretty) + +BOOL WINAPI PathMatchSpecA(LPCSTR,LPCSTR); +BOOL WINAPI PathMatchSpecW(LPCWSTR,LPCWSTR); +#define PathMatchSpec WINELIB_NAME_AW(PathMatchSpec) + +int WINAPI PathParseIconLocationA(LPSTR); +int WINAPI PathParseIconLocationW(LPWSTR); +#define PathParseIconLocation WINELIB_NAME_AW(PathParseIconLocation) + +VOID WINAPI PathQuoteSpacesA(LPSTR); +VOID WINAPI PathQuoteSpacesW(LPWSTR); +#define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces) + +BOOL WINAPI PathRelativePathToA(LPSTR,LPCSTR,DWORD,LPCSTR,DWORD); +BOOL WINAPI PathRelativePathToW(LPWSTR,LPCWSTR,DWORD,LPCWSTR,DWORD); +#define PathRelativePathTo WINELIB_NAME_AW(PathRelativePathTo) + +VOID WINAPI PathRemoveArgsA(LPSTR); +VOID WINAPI PathRemoveArgsW(LPWSTR); +#define PathRemoveArgs WINELIB_NAME_AW(PathRemoveArgs) + +LPSTR WINAPI PathRemoveBackslashA(LPSTR); +LPWSTR WINAPI PathRemoveBackslashW(LPWSTR); +#define PathRemoveBackslash WINELIB_NAME_AW(PathRemoveBackslash) + +VOID WINAPI PathRemoveBlanksA(LPSTR); +VOID WINAPI PathRemoveBlanksW(LPWSTR); +#define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks) + +VOID WINAPI PathRemoveExtensionA(LPSTR); +VOID WINAPI PathRemoveExtensionW(LPWSTR); +#define PathRemoveExtension WINELIB_NAME_AW(PathRemoveExtension) + +BOOL WINAPI PathRemoveFileSpecA(LPSTR); +BOOL WINAPI PathRemoveFileSpecW(LPWSTR); +#define PathRemoveFileSpec WINELIB_NAME_AW(PathRemoveFileSpec) + +BOOL WINAPI PathRenameExtensionA(LPSTR,LPCSTR); +BOOL WINAPI PathRenameExtensionW(LPWSTR,LPCWSTR); +#define PathRenameExtension WINELIB_NAME_AW(PathRenameExtension) + +BOOL WINAPI PathSearchAndQualifyA(LPCSTR,LPSTR,UINT); +BOOL WINAPI PathSearchAndQualifyW(LPCWSTR,LPWSTR,UINT); +#define PathSearchAndQualify WINELIB_NAME_AW(PathSearchAndQualify) + +VOID WINAPI PathSetDlgItemPathA(HWND,int,LPCSTR); +VOID WINAPI PathSetDlgItemPathW(HWND,int,LPCWSTR); +#define PathSetDlgItemPath WINELIB_NAME_AW(PathSetDlgItemPath) + +LPSTR WINAPI PathSkipRootA(LPCSTR); +LPWSTR WINAPI PathSkipRootW(LPCWSTR); +#define PathSkipRoot WINELIB_NAME_AW(PathSkipRoot) + +VOID WINAPI PathStripPathA(LPSTR); +VOID WINAPI PathStripPathW(LPWSTR); +#define PathStripPath WINELIB_NAME_AW(PathStripPath) + +BOOL WINAPI PathStripToRootA(LPSTR); +BOOL WINAPI PathStripToRootW(LPWSTR); +#define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot) + +VOID WINAPI PathUnquoteSpacesA(LPSTR); +VOID WINAPI PathUnquoteSpacesW(LPWSTR); +#define PathUnquoteSpaces WINELIB_NAME_AW(PathUnquoteSpaces) + +BOOL WINAPI PathMakeSystemFolderA(LPCSTR); +BOOL WINAPI PathMakeSystemFolderW(LPCWSTR); +#define PathMakeSystemFolder WINELIB_NAME_AW(PathMakeSystemFolder) + +BOOL WINAPI PathUnmakeSystemFolderA(LPCSTR); +BOOL WINAPI PathUnmakeSystemFolderW(LPCWSTR); +#define PathUnmakeSystemFolder WINELIB_NAME_AW(PathUnmakeSystemFolder) + +BOOL WINAPI PathIsSystemFolderA(LPCSTR,DWORD); +BOOL WINAPI PathIsSystemFolderW(LPCWSTR,DWORD); +#define PathIsSystemFolder WINELIB_NAME_AW(PathIsSystemFolder) + +BOOL WINAPI PathIsNetworkPathA(LPCSTR); +BOOL WINAPI PathIsNetworkPathW(LPCWSTR); +#define PathIsNetworkPath WINELIB_NAME_AW(PathIsNetworkPath) + +BOOL WINAPI PathIsLFNFileSpecA(LPCSTR); +BOOL WINAPI PathIsLFNFileSpecW(LPCWSTR); +#define PathIsLFNFileSpec WINELIB_NAME_AW(PathIsLFNFileSpec) + +LPCSTR WINAPI PathFindSuffixArrayA(LPCSTR,LPCSTR *,int); +LPCWSTR WINAPI PathFindSuffixArrayW(LPCWSTR,LPCWSTR *,int); +#define PathFindSuffixArray WINELIB_NAME_AW(PathFindSuffixArray) + +VOID WINAPI PathUndecorateA(LPSTR); +VOID WINAPI PathUndecorateW(LPWSTR); +#define PathUndecorate WINELIB_NAME_AW(PathUndecorate) + +BOOL WINAPI PathUnExpandEnvStringsA(LPCSTR,LPSTR,UINT); +BOOL WINAPI PathUnExpandEnvStringsW(LPCWSTR,LPWSTR,UINT); +#define PathUnExpandEnvStrings WINELIB_NAME_AW(PathUnExpandEnvStrings) + +/* Url functions */ +typedef enum { + URL_SCHEME_INVALID = -1, + URL_SCHEME_UNKNOWN = 0, + URL_SCHEME_FTP, + URL_SCHEME_HTTP, + URL_SCHEME_GOPHER, + URL_SCHEME_MAILTO, + URL_SCHEME_NEWS, + URL_SCHEME_NNTP, + URL_SCHEME_TELNET, + URL_SCHEME_WAIS, + URL_SCHEME_FILE, + URL_SCHEME_MK, + URL_SCHEME_HTTPS, + URL_SCHEME_SHELL, + URL_SCHEME_SNEWS, + URL_SCHEME_LOCAL, + URL_SCHEME_JAVASCRIPT, + URL_SCHEME_VBSCRIPT, + URL_SCHEME_ABOUT, + URL_SCHEME_RES, + URL_SCHEME_MSSHELLROOTED, + URL_SCHEME_MSSHELLIDLIST, + URL_SCHEME_MSHELP, + URL_SCHEME_MSSHELLDEVICE, + URL_SCHEME_WILDCARD, + URL_SCHEME_SEARCH_MS, + URL_SCHEME_SEARCH, + URL_SCHEME_KNOWNFOLDER, + URL_SCHEME_MAXVALUE +} URL_SCHEME; + +/* These are used by UrlGetPart routine */ +typedef enum { + URL_PART_NONE = 0, + URL_PART_SCHEME = 1, + URL_PART_HOSTNAME, + URL_PART_USERNAME, + URL_PART_PASSWORD, + URL_PART_PORT, + URL_PART_QUERY +} URL_PART; + +#define URL_PARTFLAG_KEEPSCHEME 0x00000001 + +/* These are used by the UrlIs... routines */ +typedef enum { + URLIS_URL, + URLIS_OPAQUE, + URLIS_NOHISTORY, + URLIS_FILEURL, + URLIS_APPLIABLE, + URLIS_DIRECTORY, + URLIS_HASQUERY +} URLIS; + +/* This is used by the UrlApplyScheme... routines */ +#define URL_APPLY_FORCEAPPLY 0x00000008 +#define URL_APPLY_GUESSFILE 0x00000004 +#define URL_APPLY_GUESSSCHEME 0x00000002 +#define URL_APPLY_DEFAULT 0x00000001 + +/* The following are used by UrlEscape..., UrlUnEscape..., + * UrlCanonicalize..., and UrlCombine... routines + */ +#define URL_WININET_COMPATIBILITY 0x80000000 +#define URL_PLUGGABLE_PROTOCOL 0x40000000 +#define URL_ESCAPE_UNSAFE 0x20000000 +#define URL_UNESCAPE 0x10000000 + +#define URL_DONT_SIMPLIFY 0x08000000 +#define URL_NO_META URL_DONT_SIMPLIFY +#define URL_ESCAPE_SPACES_ONLY 0x04000000 +#define URL_DONT_ESCAPE_EXTRA_INFO 0x02000000 +#define URL_DONT_UNESCAPE_EXTRA_INFO URL_DONT_ESCAPE_EXTRA_INFO +#define URL_BROWSER_MODE URL_DONT_ESCAPE_EXTRA_INFO + +#define URL_INTERNAL_PATH 0x00800000 /* Will escape #'s in paths */ +#define URL_UNESCAPE_HIGH_ANSI_ONLY 0x00400000 +#define URL_CONVERT_IF_DOSPATH 0x00200000 +#define URL_UNESCAPE_INPLACE 0x00100000 + +#define URL_FILE_USE_PATHURL 0x00010000 +#define URL_ESCAPE_AS_UTF8 0x00040000 + +#define URL_ESCAPE_SEGMENT_ONLY 0x00002000 +#define URL_ESCAPE_PERCENT 0x00001000 + +HRESULT WINAPI UrlApplySchemeA(LPCSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI UrlApplySchemeW(LPCWSTR,LPWSTR,LPDWORD,DWORD); +#define UrlApplyScheme WINELIB_NAME_AW(UrlApplyScheme) + +HRESULT WINAPI UrlCanonicalizeA(LPCSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI UrlCanonicalizeW(LPCWSTR,LPWSTR,LPDWORD,DWORD); +#define UrlCanonicalize WINELIB_NAME_AW(UrlCanonicalize) + +HRESULT WINAPI UrlCombineA(LPCSTR,LPCSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI UrlCombineW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,DWORD); +#define UrlCombine WINELIB_NAME_AW(UrlCombine) + +INT WINAPI UrlCompareA(LPCSTR,LPCSTR,BOOL); +INT WINAPI UrlCompareW(LPCWSTR,LPCWSTR,BOOL); +#define UrlCompare WINELIB_NAME_AW(UrlCompare) + +HRESULT WINAPI UrlEscapeA(LPCSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI UrlEscapeW(LPCWSTR,LPWSTR,LPDWORD,DWORD); +#define UrlEscape WINELIB_NAME_AW(UrlEscape) + +#define UrlEscapeSpacesA(x,y,z) UrlCanonicalizeA(x, y, z, \ + URL_DONT_ESCAPE_EXTRA_INFO|URL_ESCAPE_SPACES_ONLY) +#define UrlEscapeSpacesW(x,y,z) UrlCanonicalizeW(x, y, z, \ + URL_DONT_ESCAPE_EXTRA_INFO|URL_ESCAPE_SPACES_ONLY) +#define UrlEscapeSpaces WINELIB_NAME_AW(UrlEscapeSpaces) + +LPCSTR WINAPI UrlGetLocationA(LPCSTR); +LPCWSTR WINAPI UrlGetLocationW(LPCWSTR); +#define UrlGetLocation WINELIB_NAME_AW(UrlGetLocation) + +HRESULT WINAPI UrlGetPartA(LPCSTR,LPSTR,LPDWORD,DWORD,DWORD); +HRESULT WINAPI UrlGetPartW(LPCWSTR,LPWSTR,LPDWORD,DWORD,DWORD); +#define UrlGetPart WINELIB_NAME_AW(UrlGetPart) + +HRESULT WINAPI HashData(const unsigned char *,DWORD,unsigned char *lpDest,DWORD); + +HRESULT WINAPI UrlHashA(LPCSTR,unsigned char *,DWORD); +HRESULT WINAPI UrlHashW(LPCWSTR,unsigned char *,DWORD); +#define UrlHash WINELIB_NAME_AW(UrlHash) + +BOOL WINAPI UrlIsA(LPCSTR,URLIS); +BOOL WINAPI UrlIsW(LPCWSTR,URLIS); +#define UrlIs WINELIB_NAME_AW(UrlIs) + +BOOL WINAPI UrlIsNoHistoryA(LPCSTR); +BOOL WINAPI UrlIsNoHistoryW(LPCWSTR); +#define UrlIsNoHistory WINELIB_NAME_AW(UrlIsNoHistory) + +BOOL WINAPI UrlIsOpaqueA(LPCSTR); +BOOL WINAPI UrlIsOpaqueW(LPCWSTR); +#define UrlIsOpaque WINELIB_NAME_AW(UrlIsOpaque) + +#define UrlIsFileUrlA(x) UrlIsA(x, URLIS_FILEURL) +#define UrlIsFileUrlW(x) UrlIsW(x, URLIS_FILEURL) +#define UrlIsFileUrl WINELIB_NAME_AW(UrlIsFileUrl) + +HRESULT WINAPI UrlUnescapeA(LPSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI UrlUnescapeW(LPWSTR,LPWSTR,LPDWORD,DWORD); +#define UrlUnescape WINELIB_NAME_AW(UrlUnescape) + +#define UrlUnescapeInPlaceA(x,y) UrlUnescapeA(x, NULL, NULL, \ + y | URL_UNESCAPE_INPLACE) +#define UrlUnescapeInPlaceW(x,y) UrlUnescapeW(x, NULL, NULL, \ + y | URL_UNESCAPE_INPLACE) +#define UrlUnescapeInPlace WINELIB_NAME_AW(UrlUnescapeInPlace) + +HRESULT WINAPI UrlCreateFromPathA(LPCSTR,LPSTR,LPDWORD,DWORD); +HRESULT WINAPI UrlCreateFromPathW(LPCWSTR,LPWSTR,LPDWORD,DWORD); +#define UrlCreateFromPath WINELIB_NAME_AW(UrlCreateFromPath) + +typedef struct tagPARSEDURLA { + DWORD cbSize; + LPCSTR pszProtocol; + UINT cchProtocol; + LPCSTR pszSuffix; + UINT cchSuffix; + UINT nScheme; +} PARSEDURLA, *PPARSEDURLA; + +typedef struct tagPARSEDURLW { + DWORD cbSize; + LPCWSTR pszProtocol; + UINT cchProtocol; + LPCWSTR pszSuffix; + UINT cchSuffix; + UINT nScheme; +} PARSEDURLW, *PPARSEDURLW; + +HRESULT WINAPI ParseURLA(LPCSTR pszUrl, PARSEDURLA *ppu); +HRESULT WINAPI ParseURLW(LPCWSTR pszUrl, PARSEDURLW *ppu); +#define ParseURL WINELIB_NAME_AW(ParseUrl) + +#endif /* NO_SHLWAPI_PATH */ + + +/* String functions */ +#ifndef NO_SHLWAPI_STRFCNS + +/* StrToIntEx flags */ +#define STIF_DEFAULT __MSABI_LONG(0x0) +#define STIF_SUPPORT_HEX __MSABI_LONG(0x1) + +BOOL WINAPI ChrCmpIA (WORD,WORD); +BOOL WINAPI ChrCmpIW (WCHAR,WCHAR); +#define ChrCmpI WINELIB_NAME_AW(ChrCmpI) + +INT WINAPI StrCSpnA(LPCSTR,LPCSTR); +INT WINAPI StrCSpnW(LPCWSTR,LPCWSTR); +#define StrCSpn WINELIB_NAME_AW(StrCSpn) + +INT WINAPI StrCSpnIA(LPCSTR,LPCSTR); +INT WINAPI StrCSpnIW(LPCWSTR,LPCWSTR); +#define StrCSpnI WINELIB_NAME_AW(StrCSpnI) + +#define StrCatA lstrcatA +LPWSTR WINAPI StrCatW(LPWSTR,LPCWSTR); +#define StrCat WINELIB_NAME_AW(StrCat) + +LPSTR WINAPI StrCatBuffA(LPSTR,LPCSTR,INT); +LPWSTR WINAPI StrCatBuffW(LPWSTR,LPCWSTR,INT); +#define StrCatBuff WINELIB_NAME_AW(StrCatBuff) + +DWORD WINAPI StrCatChainW(LPWSTR,DWORD,DWORD,LPCWSTR); + +LPSTR WINAPI StrChrA(LPCSTR,WORD); +LPWSTR WINAPI StrChrW(LPCWSTR,WCHAR); +#define StrChr WINELIB_NAME_AW(StrChr) + +LPSTR WINAPI StrChrIA(LPCSTR,WORD); +LPWSTR WINAPI StrChrIW(LPCWSTR,WCHAR); +#define StrChrI WINELIB_NAME_AW(StrChrI) + +#define StrCmpA lstrcmpA +int WINAPI StrCmpW(LPCWSTR,LPCWSTR); +#define StrCmp WINELIB_NAME_AW(StrCmp) + +#define StrCmpIA lstrcmpiA +int WINAPI StrCmpIW(LPCWSTR,LPCWSTR); +#define StrCmpI WINELIB_NAME_AW(StrCmpI) + +#define StrCpyA lstrcpyA +LPWSTR WINAPI StrCpyW(LPWSTR,LPCWSTR); +#define StrCpy WINELIB_NAME_AW(StrCpy) + +#define StrCpyNA lstrcpynA +LPWSTR WINAPI StrCpyNW(LPWSTR,LPCWSTR,int); +#define StrCpyN WINELIB_NAME_AW(StrCpyN) +#define StrNCpy WINELIB_NAME_AW(StrCpyN) + +INT WINAPI StrCmpLogicalW(LPCWSTR,LPCWSTR); + +INT WINAPI StrCmpNA(LPCSTR,LPCSTR,INT); +INT WINAPI StrCmpNW(LPCWSTR,LPCWSTR,INT); +#define StrCmpN WINELIB_NAME_AW(StrCmpN) +#define StrNCmp WINELIB_NAME_AW(StrCmpN) + +INT WINAPI StrCmpNIA(LPCSTR,LPCSTR,INT); +INT WINAPI StrCmpNIW(LPCWSTR,LPCWSTR,INT); +#define StrCmpNI WINELIB_NAME_AW(StrCmpNI) +#define StrNCmpI WINELIB_NAME_AW(StrCmpNI) + +LPSTR WINAPI StrDupA(LPCSTR); +LPWSTR WINAPI StrDupW(LPCWSTR); +#define StrDup WINELIB_NAME_AW(StrDup) + +HRESULT WINAPI SHStrDupA(LPCSTR,WCHAR**); +HRESULT WINAPI SHStrDupW(LPCWSTR,WCHAR**); +#define SHStrDup WINELIB_NAME_AW(SHStrDup) + +LPSTR WINAPI StrFormatByteSizeA (DWORD,LPSTR,UINT); + +/* A/W Pairing is broken for this function */ +LPSTR WINAPI StrFormatByteSize64A (LONGLONG,LPSTR,UINT); +LPWSTR WINAPI StrFormatByteSizeW (LONGLONG,LPWSTR,UINT); +#ifndef WINE_NO_UNICODE_MACROS +#ifdef UNICODE +#define StrFormatByteSize StrFormatByteSizeW +#else +#define StrFormatByteSize StrFormatByteSize64A +#endif +#endif + +LPSTR WINAPI StrFormatKBSizeA(LONGLONG,LPSTR,UINT); +LPWSTR WINAPI StrFormatKBSizeW(LONGLONG,LPWSTR,UINT); +#define StrFormatKBSize WINELIB_NAME_AW(StrFormatKBSize) + +int WINAPI StrFromTimeIntervalA(LPSTR,UINT,DWORD,int); +int WINAPI StrFromTimeIntervalW(LPWSTR,UINT,DWORD,int); +#define StrFromTimeInterval WINELIB_NAME_AW(StrFromTimeInterval) + +BOOL WINAPI StrIsIntlEqualA(BOOL,LPCSTR,LPCSTR,int); +BOOL WINAPI StrIsIntlEqualW(BOOL,LPCWSTR,LPCWSTR,int); +#define StrIsIntlEqual WINELIB_NAME_AW(StrIsIntlEqual) + +#define StrIntlEqNA(a,b,c) StrIsIntlEqualA(TRUE,a,b,c) +#define StrIntlEqNW(a,b,c) StrIsIntlEqualW(TRUE,a,b,c) + +#define StrIntlEqNIA(a,b,c) StrIsIntlEqualA(FALSE,a,b,c) +#define StrIntlEqNIW(a,b,c) StrIsIntlEqualW(FALSE,a,b,c) + +LPSTR WINAPI StrNCatA(LPSTR,LPCSTR,int); +LPWSTR WINAPI StrNCatW(LPWSTR,LPCWSTR,int); +#define StrNCat WINELIB_NAME_AW(StrNCat) +#define StrCatN WINELIB_NAME_AW(StrNCat) + +LPSTR WINAPI StrPBrkA(LPCSTR,LPCSTR); +LPWSTR WINAPI StrPBrkW(LPCWSTR,LPCWSTR); +#define StrPBrk WINELIB_NAME_AW(StrPBrk) + +LPSTR WINAPI StrRChrA(LPCSTR,LPCSTR,WORD); +LPWSTR WINAPI StrRChrW(LPCWSTR,LPCWSTR,WORD); +#define StrRChr WINELIB_NAME_AW(StrRChr) + +LPSTR WINAPI StrRChrIA(LPCSTR,LPCSTR,WORD); +LPWSTR WINAPI StrRChrIW(LPCWSTR,LPCWSTR,WORD); +#define StrRChrI WINELIB_NAME_AW(StrRChrI) + +LPSTR WINAPI StrRStrIA(LPCSTR,LPCSTR,LPCSTR); +LPWSTR WINAPI StrRStrIW(LPCWSTR,LPCWSTR,LPCWSTR); +#define StrRStrI WINELIB_NAME_AW(StrRStrI) + +int WINAPI StrSpnA(LPCSTR,LPCSTR); +int WINAPI StrSpnW(LPCWSTR,LPCWSTR); +#define StrSpn WINELIB_NAME_AW(StrSpn) + +LPSTR WINAPI StrStrA(LPCSTR,LPCSTR); +LPWSTR WINAPI StrStrW(LPCWSTR,LPCWSTR); +#define StrStr WINELIB_NAME_AW(StrStr) + +LPSTR WINAPI StrStrIA(LPCSTR,LPCSTR); +LPWSTR WINAPI StrStrIW(LPCWSTR,LPCWSTR); +#define StrStrI WINELIB_NAME_AW(StrStrI) + +LPWSTR WINAPI StrStrNW(LPCWSTR,LPCWSTR,UINT); +LPWSTR WINAPI StrStrNIW(LPCWSTR,LPCWSTR,UINT); + +int WINAPI StrToIntA(LPCSTR); +int WINAPI StrToIntW(LPCWSTR); +#define StrToInt WINELIB_NAME_AW(StrToInt) +#define StrToLong WINELIB_NAME_AW(StrToInt) + +BOOL WINAPI StrToIntExA(LPCSTR,DWORD,int*); +BOOL WINAPI StrToIntExW(LPCWSTR,DWORD,int*); +#define StrToIntEx WINELIB_NAME_AW(StrToIntEx) + +BOOL WINAPI StrToInt64ExA(LPCSTR,DWORD,LONGLONG*); +BOOL WINAPI StrToInt64ExW(LPCWSTR,DWORD,LONGLONG*); +#define StrToIntEx64 WINELIB_NAME_AW(StrToIntEx64) + +BOOL WINAPI StrTrimA(LPSTR,LPCSTR); +BOOL WINAPI StrTrimW(LPWSTR,LPCWSTR); +#define StrTrim WINELIB_NAME_AW(StrTrim) + +INT WINAPI wvnsprintfA(LPSTR,INT,LPCSTR,__ms_va_list); +INT WINAPI wvnsprintfW(LPWSTR,INT,LPCWSTR,__ms_va_list); +#define wvnsprintf WINELIB_NAME_AW(wvnsprintf) + +INT WINAPIV wnsprintfA(LPSTR,INT,LPCSTR, ...); +INT WINAPIV wnsprintfW(LPWSTR,INT,LPCWSTR, ...); +#define wnsprintf WINELIB_NAME_AW(wnsprintf) + +HRESULT WINAPI SHLoadIndirectString(LPCWSTR,LPWSTR,UINT,PVOID*); + +BOOL WINAPI IntlStrEqWorkerA(BOOL,LPCSTR,LPCSTR,int); +BOOL WINAPI IntlStrEqWorkerW(BOOL,LPCWSTR,LPCWSTR,int); +#define IntlStrEqWorker WINELIB_NAME_AW(IntlStrEqWorker) + +#define IntlStrEqNA(s1,s2,n) IntlStrEqWorkerA(TRUE,s1,s2,n) +#define IntlStrEqNW(s1,s2,n) IntlStrEqWorkerW(TRUE,s1,s2,n) +#define IntlStrEqN WINELIB_NAME_AW(IntlStrEqN) + +#define IntlStrEqNIA(s1,s2,n) IntlStrEqWorkerA(FALSE,s1,s2,n) +#define IntlStrEqNIW(s1,s2,n) IntlStrEqWorkerW(FALSE,s1,s2,n) +#define IntlStrEqNI WINELIB_NAME_AW(IntlStrEqNI) + +HRESULT WINAPI StrRetToStrA(STRRET*,LPCITEMIDLIST,LPSTR*); +HRESULT WINAPI StrRetToStrW(STRRET*,LPCITEMIDLIST,LPWSTR*); +#define StrRetToStr WINELIB_NAME_AW(StrRetToStr) + +HRESULT WINAPI StrRetToBufA(STRRET*,LPCITEMIDLIST,LPSTR,UINT); +HRESULT WINAPI StrRetToBufW(STRRET*,LPCITEMIDLIST,LPWSTR,UINT); +#define StrRetToBuf WINELIB_NAME_AW(StrRetToBuf) + +HRESULT WINAPI StrRetToBSTR(STRRET*,LPCITEMIDLIST,BSTR*); + +BOOL WINAPI IsCharSpaceA(CHAR); +BOOL WINAPI IsCharSpaceW(WCHAR); +#define IsCharSpace WINELIB_NAME_AW(IsCharSpace) + +#endif /* NO_SHLWAPI_STRFCNS */ + + +/* GDI functions */ +#ifndef NO_SHLWAPI_GDI + +HPALETTE WINAPI SHCreateShellPalette(HDC); + +COLORREF WINAPI ColorHLSToRGB(WORD,WORD,WORD); + +COLORREF WINAPI ColorAdjustLuma(COLORREF,int,BOOL); + +VOID WINAPI ColorRGBToHLS(COLORREF,LPWORD,LPWORD,LPWORD); + +#endif /* NO_SHLWAPI_GDI */ + +/* Security functions */ +BOOL WINAPI IsInternetESCEnabled(void); + +/* Stream functions */ +#ifndef NO_SHLWAPI_STREAM + +struct IStream * WINAPI SHOpenRegStreamA(HKEY,LPCSTR,LPCSTR,DWORD); +struct IStream * WINAPI SHOpenRegStreamW(HKEY,LPCWSTR,LPCWSTR,DWORD); +#define SHOpenRegStream WINELIB_NAME_AW(SHOpenRegStream2) /* Uses version 2 */ + +struct IStream * WINAPI SHOpenRegStream2A(HKEY,LPCSTR,LPCSTR,DWORD); +struct IStream * WINAPI SHOpenRegStream2W(HKEY,LPCWSTR,LPCWSTR,DWORD); +#define SHOpenRegStream2 WINELIB_NAME_AW(SHOpenRegStream2) + +HRESULT WINAPI SHCreateStreamOnFileA(LPCSTR,DWORD,struct IStream**); +HRESULT WINAPI SHCreateStreamOnFileW(LPCWSTR,DWORD,struct IStream**); +#define SHCreateStreamOnFile WINELIB_NAME_AW(SHCreateStreamOnFile) + +struct IStream * WINAPI SHCreateMemStream(const BYTE*,UINT); +HRESULT WINAPI SHCreateStreamOnFileEx(LPCWSTR,DWORD,DWORD,BOOL,struct IStream*,struct IStream**); +HRESULT WINAPI SHCreateStreamWrapper(LPBYTE,DWORD,DWORD,struct IStream**); + +#endif /* NO_SHLWAPI_STREAM */ + +HRESULT WINAPI IStream_Reset(IStream*); +HRESULT WINAPI IStream_Size(IStream*,ULARGE_INTEGER*); + +/* SHAutoComplete flags */ +#define SHACF_DEFAULT 0x00000000 +#define SHACF_FILESYSTEM 0x00000001 +#define SHACF_URLHISTORY 0x00000002 +#define SHACF_URLMRU 0x00000004 +#define SHACF_URLALL (SHACF_URLHISTORY|SHACF_URLMRU) +#define SHACF_USETAB 0x00000008 +#define SHACF_FILESYS_ONLY 0x00000010 +#define SHACF_FILESYS_DIRS 0x00000020 +#define SHACF_AUTOSUGGEST_FORCE_ON 0x10000000 +#define SHACF_AUTOSUGGEST_FORCE_OFF 0x20000000 +#define SHACF_AUTOAPPEND_FORCE_ON 0x40000000 +#define SHACF_AUTOAPPEND_FORCE_OFF 0x80000000 + +HRESULT WINAPI SHAutoComplete(HWND,DWORD); + +/* Threads */ +HRESULT WINAPI SHCreateThreadRef(LONG*, IUnknown**); +HRESULT WINAPI SHGetThreadRef(IUnknown**); +HRESULT WINAPI SHSetThreadRef(IUnknown*); +HRESULT WINAPI SHReleaseThreadRef(void); + +/* SHCreateThread flags */ +#define CTF_INSIST 0x01 /* Always call */ +#define CTF_THREAD_REF 0x02 /* Hold thread ref */ +#define CTF_PROCESS_REF 0x04 /* Hold process ref */ +#define CTF_COINIT 0x08 /* Startup COM first */ +#define CTF_FREELIBANDEXIT 0x10 /* Hold DLL ref */ +#define CTF_REF_COUNTED 0x20 /* Thread is ref counted */ +#define CTF_WAIT_ALLOWCOM 0x40 /* Allow marshalling */ + +BOOL WINAPI SHCreateThread(LPTHREAD_START_ROUTINE,void*,DWORD,LPTHREAD_START_ROUTINE); + +BOOL WINAPI SHSkipJunction(struct IBindCtx*,const CLSID*); + +/* Version Information */ + +typedef struct _DllVersionInfo { + DWORD cbSize; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + DWORD dwBuildNumber; + DWORD dwPlatformID; +} DLLVERSIONINFO; + +#define DLLVER_PLATFORM_WINDOWS 0x01 /* Win9x */ +#define DLLVER_PLATFORM_NT 0x02 /* WinNT */ + +typedef HRESULT (CALLBACK *DLLGETVERSIONPROC)(DLLVERSIONINFO *); + +#ifdef __WINESRC__ +/* shouldn't be here, but is nice for type checking */ +HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *) DECLSPEC_HIDDEN; +#endif + +typedef struct _DLLVERSIONINFO2 { + DLLVERSIONINFO info1; + DWORD dwFlags; /* Reserved */ + ULONGLONG DECLSPEC_ALIGN(8) ullVersion; /* 16 bits each for Major, Minor, Build, QFE */ +} DLLVERSIONINFO2; + +#define DLLVER_MAJOR_MASK 0xFFFF000000000000 +#define DLLVER_MINOR_MASK 0x0000FFFF00000000 +#define DLLVER_BUILD_MASK 0x00000000FFFF0000 +#define DLLVER_QFE_MASK 0x000000000000FFFF + +#define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \ + ((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe)) + +HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN; + + +/* IsOS definitions */ + +#define OS_WIN32SORGREATER 0x00 +#define OS_NT 0x01 +#define OS_WIN95ORGREATER 0x02 +#define OS_NT4ORGREATER 0x03 +#define OS_WIN2000ORGREATER_ALT 0x04 +#define OS_WIN98ORGREATER 0x05 +#define OS_WIN98_GOLD 0x06 +#define OS_WIN2000ORGREATER 0x07 +#define OS_WIN2000PRO 0x08 +#define OS_WIN2000SERVER 0x09 +#define OS_WIN2000ADVSERVER 0x0A +#define OS_WIN2000DATACENTER 0x0B +#define OS_WIN2000TERMINAL 0x0C +#define OS_EMBEDDED 0x0D +#define OS_TERMINALCLIENT 0x0E +#define OS_TERMINALREMOTEADMIN 0x0F +#define OS_WIN95_GOLD 0x10 +#define OS_MEORGREATER 0x11 +#define OS_XPORGREATER 0x12 +#define OS_HOME 0x13 +#define OS_PROFESSIONAL 0x14 +#define OS_DATACENTER 0x15 +#define OS_ADVSERVER 0x16 +#define OS_SERVER 0x17 +#define OS_TERMINALSERVER 0x18 +#define OS_PERSONALTERMINALSERVER 0x19 +#define OS_FASTUSERSWITCHING 0x1A +#define OS_WELCOMELOGONUI 0x1B +#define OS_DOMAINMEMBER 0x1C +#define OS_ANYSERVER 0x1D +#define OS_WOW6432 0x1E +#define OS_WEBSERVER 0x1F +#define OS_SMALLBUSINESSSERVER 0x20 +#define OS_TABLETPC 0x21 +#define OS_SERVERADMINUI 0x22 +#define OS_MEDIACENTER 0x23 +#define OS_APPLIANCE 0x24 + +BOOL WINAPI IsOS(DWORD); + +/* SHSetTimerQueueTimer definitions */ +#define TPS_EXECUTEIO 0x00000001 +#define TPS_LONGEXECTIME 0x00000008 + +/* SHFormatDateTimeA/SHFormatDateTimeW flags */ +#define FDTF_SHORTTIME 0x00000001 +#define FDTF_SHORTDATE 0x00000002 +#define FDTF_DEFAULT (FDTF_SHORTDATE | FDTF_SHORTTIME) +#define FDTF_LONGDATE 0x00000004 +#define FDTF_LONGTIME 0x00000008 +#define FDTF_RELATIVE 0x00000010 +#define FDTF_LTRDATE 0x00000100 +#define FDTF_RTLDATE 0x00000200 +#define FDTF_NOAUTOREADINGORDER 0x00000400 + + +typedef struct +{ + const IID *piid; + int dwOffset; +} QITAB, *LPQITAB; + +HRESULT WINAPI QISearch(void* base, const QITAB *pqit, REFIID riid, void **ppv); + +#include + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_SHLWAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shobjidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shobjidl.h new file mode 100644 index 0000000..9fc5658 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shobjidl.h @@ -0,0 +1,15823 @@ +/*** Autogenerated by WIDL 2.18 from shobjidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __shobjidl_h__ +#define __shobjidl_h__ + +/* Forward declarations */ + +#ifndef __IPersistFolder_FWD_DEFINED__ +#define __IPersistFolder_FWD_DEFINED__ +typedef interface IPersistFolder IPersistFolder; +#ifdef __cplusplus +interface IPersistFolder; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistFolder2_FWD_DEFINED__ +#define __IPersistFolder2_FWD_DEFINED__ +typedef interface IPersistFolder2 IPersistFolder2; +#ifdef __cplusplus +interface IPersistFolder2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistIDList_FWD_DEFINED__ +#define __IPersistIDList_FWD_DEFINED__ +typedef interface IPersistIDList IPersistIDList; +#ifdef __cplusplus +interface IPersistIDList; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumIDList_FWD_DEFINED__ +#define __IEnumIDList_FWD_DEFINED__ +typedef interface IEnumIDList IEnumIDList; +#ifdef __cplusplus +interface IEnumIDList; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellPropSheetExt_FWD_DEFINED__ +#define __IShellPropSheetExt_FWD_DEFINED__ +typedef interface IShellPropSheetExt IShellPropSheetExt; +#ifdef __cplusplus +interface IShellPropSheetExt; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellFolder_FWD_DEFINED__ +#define __IShellFolder_FWD_DEFINED__ +typedef interface IShellFolder IShellFolder; +#ifdef __cplusplus +interface IShellFolder; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumExtraSearch_FWD_DEFINED__ +#define __IEnumExtraSearch_FWD_DEFINED__ +typedef interface IEnumExtraSearch IEnumExtraSearch; +#ifdef __cplusplus +interface IEnumExtraSearch; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellFolder2_FWD_DEFINED__ +#define __IShellFolder2_FWD_DEFINED__ +typedef interface IShellFolder2 IShellFolder2; +#ifdef __cplusplus +interface IShellFolder2; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellItem_FWD_DEFINED__ +#define __IShellItem_FWD_DEFINED__ +typedef interface IShellItem IShellItem; +#ifdef __cplusplus +interface IShellItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellItem2_FWD_DEFINED__ +#define __IShellItem2_FWD_DEFINED__ +typedef interface IShellItem2 IShellItem2; +#ifdef __cplusplus +interface IShellItem2; +#endif /* __cplusplus */ +#endif + +#ifndef __INewWindowManager_FWD_DEFINED__ +#define __INewWindowManager_FWD_DEFINED__ +typedef interface INewWindowManager INewWindowManager; +#ifdef __cplusplus +interface INewWindowManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumShellItems_FWD_DEFINED__ +#define __IEnumShellItems_FWD_DEFINED__ +typedef interface IEnumShellItems IEnumShellItems; +#ifdef __cplusplus +interface IEnumShellItems; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellItemArray_FWD_DEFINED__ +#define __IShellItemArray_FWD_DEFINED__ +typedef interface IShellItemArray IShellItemArray; +#ifdef __cplusplus +interface IShellItemArray; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellItemFilter_FWD_DEFINED__ +#define __IShellItemFilter_FWD_DEFINED__ +typedef interface IShellItemFilter IShellItemFilter; +#ifdef __cplusplus +interface IShellItemFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellIcon_FWD_DEFINED__ +#define __IShellIcon_FWD_DEFINED__ +typedef interface IShellIcon IShellIcon; +#ifdef __cplusplus +interface IShellIcon; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellView_FWD_DEFINED__ +#define __IShellView_FWD_DEFINED__ +typedef interface IShellView IShellView; +#ifdef __cplusplus +interface IShellView; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellView2_FWD_DEFINED__ +#define __IShellView2_FWD_DEFINED__ +typedef interface IShellView2 IShellView2; +#ifdef __cplusplus +interface IShellView2; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellView3_FWD_DEFINED__ +#define __IShellView3_FWD_DEFINED__ +typedef interface IShellView3 IShellView3; +#ifdef __cplusplus +interface IShellView3; +#endif /* __cplusplus */ +#endif + +#ifndef __IFolderView_FWD_DEFINED__ +#define __IFolderView_FWD_DEFINED__ +typedef interface IFolderView IFolderView; +#ifdef __cplusplus +interface IFolderView; +#endif /* __cplusplus */ +#endif + +#ifndef __IFolderView2_FWD_DEFINED__ +#define __IFolderView2_FWD_DEFINED__ +typedef interface IFolderView2 IFolderView2; +#ifdef __cplusplus +interface IFolderView2; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellBrowser_FWD_DEFINED__ +#define __IShellBrowser_FWD_DEFINED__ +typedef interface IShellBrowser IShellBrowser; +#ifdef __cplusplus +interface IShellBrowser; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellLinkA_FWD_DEFINED__ +#define __IShellLinkA_FWD_DEFINED__ +typedef interface IShellLinkA IShellLinkA; +#ifdef __cplusplus +interface IShellLinkA; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellLinkW_FWD_DEFINED__ +#define __IShellLinkW_FWD_DEFINED__ +typedef interface IShellLinkW IShellLinkW; +#ifdef __cplusplus +interface IShellLinkW; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellExtInit_FWD_DEFINED__ +#define __IShellExtInit_FWD_DEFINED__ +typedef interface IShellExtInit IShellExtInit; +#ifdef __cplusplus +interface IShellExtInit; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistFolder3_FWD_DEFINED__ +#define __IPersistFolder3_FWD_DEFINED__ +typedef interface IPersistFolder3 IPersistFolder3; +#ifdef __cplusplus +interface IPersistFolder3; +#endif /* __cplusplus */ +#endif + +#ifndef __IExtractIconA_FWD_DEFINED__ +#define __IExtractIconA_FWD_DEFINED__ +typedef interface IExtractIconA IExtractIconA; +#ifdef __cplusplus +interface IExtractIconA; +#endif /* __cplusplus */ +#endif + +#ifndef __IExtractIconW_FWD_DEFINED__ +#define __IExtractIconW_FWD_DEFINED__ +typedef interface IExtractIconW IExtractIconW; +#ifdef __cplusplus +interface IExtractIconW; +#endif /* __cplusplus */ +#endif + +#ifndef __ICommDlgBrowser_FWD_DEFINED__ +#define __ICommDlgBrowser_FWD_DEFINED__ +typedef interface ICommDlgBrowser ICommDlgBrowser; +#ifdef __cplusplus +interface ICommDlgBrowser; +#endif /* __cplusplus */ +#endif + +#ifndef __ICommDlgBrowser2_FWD_DEFINED__ +#define __ICommDlgBrowser2_FWD_DEFINED__ +typedef interface ICommDlgBrowser2 ICommDlgBrowser2; +#ifdef __cplusplus +interface ICommDlgBrowser2; +#endif /* __cplusplus */ +#endif + +#ifndef __ICommDlgBrowser3_FWD_DEFINED__ +#define __ICommDlgBrowser3_FWD_DEFINED__ +typedef interface ICommDlgBrowser3 ICommDlgBrowser3; +#ifdef __cplusplus +interface ICommDlgBrowser3; +#endif /* __cplusplus */ +#endif + +#ifndef __IDockingWindow_FWD_DEFINED__ +#define __IDockingWindow_FWD_DEFINED__ +typedef interface IDockingWindow IDockingWindow; +#ifdef __cplusplus +interface IDockingWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IDockingWindowFrame_FWD_DEFINED__ +#define __IDockingWindowFrame_FWD_DEFINED__ +typedef interface IDockingWindowFrame IDockingWindowFrame; +#ifdef __cplusplus +interface IDockingWindowFrame; +#endif /* __cplusplus */ +#endif + +#ifndef __IDragSourceHelper_FWD_DEFINED__ +#define __IDragSourceHelper_FWD_DEFINED__ +typedef interface IDragSourceHelper IDragSourceHelper; +#ifdef __cplusplus +interface IDragSourceHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __IDropTargetHelper_FWD_DEFINED__ +#define __IDropTargetHelper_FWD_DEFINED__ +typedef interface IDropTargetHelper IDropTargetHelper; +#ifdef __cplusplus +interface IDropTargetHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __IContextMenu_FWD_DEFINED__ +#define __IContextMenu_FWD_DEFINED__ +typedef interface IContextMenu IContextMenu; +#ifdef __cplusplus +interface IContextMenu; +#endif /* __cplusplus */ +#endif + +#ifndef __IContextMenu2_FWD_DEFINED__ +#define __IContextMenu2_FWD_DEFINED__ +typedef interface IContextMenu2 IContextMenu2; +#ifdef __cplusplus +interface IContextMenu2; +#endif /* __cplusplus */ +#endif + +#ifndef __IContextMenu3_FWD_DEFINED__ +#define __IContextMenu3_FWD_DEFINED__ +typedef interface IContextMenu3 IContextMenu3; +#ifdef __cplusplus +interface IContextMenu3; +#endif /* __cplusplus */ +#endif + +#ifndef __IContextMenuCB_FWD_DEFINED__ +#define __IContextMenuCB_FWD_DEFINED__ +typedef interface IContextMenuCB IContextMenuCB; +#ifdef __cplusplus +interface IContextMenuCB; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellExecuteHookA_FWD_DEFINED__ +#define __IShellExecuteHookA_FWD_DEFINED__ +typedef interface IShellExecuteHookA IShellExecuteHookA; +#ifdef __cplusplus +interface IShellExecuteHookA; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellExecuteHookW_FWD_DEFINED__ +#define __IShellExecuteHookW_FWD_DEFINED__ +typedef interface IShellExecuteHookW IShellExecuteHookW; +#ifdef __cplusplus +interface IShellExecuteHookW; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellLinkDataList_FWD_DEFINED__ +#define __IShellLinkDataList_FWD_DEFINED__ +typedef interface IShellLinkDataList IShellLinkDataList; +#ifdef __cplusplus +interface IShellLinkDataList; +#endif /* __cplusplus */ +#endif + +#ifndef __IResolveShellLink_FWD_DEFINED__ +#define __IResolveShellLink_FWD_DEFINED__ +typedef interface IResolveShellLink IResolveShellLink; +#ifdef __cplusplus +interface IResolveShellLink; +#endif /* __cplusplus */ +#endif + +#ifndef __IURLSearchHook_FWD_DEFINED__ +#define __IURLSearchHook_FWD_DEFINED__ +typedef interface IURLSearchHook IURLSearchHook; +#ifdef __cplusplus +interface IURLSearchHook; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearchContext_FWD_DEFINED__ +#define __ISearchContext_FWD_DEFINED__ +typedef interface ISearchContext ISearchContext; +#ifdef __cplusplus +interface ISearchContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IURLSearchHook2_FWD_DEFINED__ +#define __IURLSearchHook2_FWD_DEFINED__ +typedef interface IURLSearchHook2 IURLSearchHook2; +#ifdef __cplusplus +interface IURLSearchHook2; +#endif /* __cplusplus */ +#endif + +#ifndef __INewShortcutHookA_FWD_DEFINED__ +#define __INewShortcutHookA_FWD_DEFINED__ +typedef interface INewShortcutHookA INewShortcutHookA; +#ifdef __cplusplus +interface INewShortcutHookA; +#endif /* __cplusplus */ +#endif + +#ifndef __INewShortcutHookW_FWD_DEFINED__ +#define __INewShortcutHookW_FWD_DEFINED__ +typedef interface INewShortcutHookW INewShortcutHookW; +#ifdef __cplusplus +interface INewShortcutHookW; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunnableTask_FWD_DEFINED__ +#define __IRunnableTask_FWD_DEFINED__ +typedef interface IRunnableTask IRunnableTask; +#ifdef __cplusplus +interface IRunnableTask; +#endif /* __cplusplus */ +#endif + +#ifndef __IShellChangeNotify_FWD_DEFINED__ +#define __IShellChangeNotify_FWD_DEFINED__ +typedef interface IShellChangeNotify IShellChangeNotify; +#ifdef __cplusplus +interface IShellChangeNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSystemBindData_FWD_DEFINED__ +#define __IFileSystemBindData_FWD_DEFINED__ +typedef interface IFileSystemBindData IFileSystemBindData; +#ifdef __cplusplus +interface IFileSystemBindData; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskbarList_FWD_DEFINED__ +#define __ITaskbarList_FWD_DEFINED__ +typedef interface ITaskbarList ITaskbarList; +#ifdef __cplusplus +interface ITaskbarList; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskbarList2_FWD_DEFINED__ +#define __ITaskbarList2_FWD_DEFINED__ +typedef interface ITaskbarList2 ITaskbarList2; +#ifdef __cplusplus +interface ITaskbarList2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskbarList3_FWD_DEFINED__ +#define __ITaskbarList3_FWD_DEFINED__ +typedef interface ITaskbarList3 ITaskbarList3; +#ifdef __cplusplus +interface ITaskbarList3; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskbarList4_FWD_DEFINED__ +#define __ITaskbarList4_FWD_DEFINED__ +typedef interface ITaskbarList4 ITaskbarList4; +#ifdef __cplusplus +interface ITaskbarList4; +#endif /* __cplusplus */ +#endif + +#ifndef __IAutoCompleteDropDown_FWD_DEFINED__ +#define __IAutoCompleteDropDown_FWD_DEFINED__ +typedef interface IAutoCompleteDropDown IAutoCompleteDropDown; +#ifdef __cplusplus +interface IAutoCompleteDropDown; +#endif /* __cplusplus */ +#endif + +#ifndef __IProfferService_FWD_DEFINED__ +#define __IProfferService_FWD_DEFINED__ +typedef interface IProfferService IProfferService; +#ifdef __cplusplus +interface IProfferService; +#endif /* __cplusplus */ +#endif + +#ifndef __IExplorerBrowserEvents_FWD_DEFINED__ +#define __IExplorerBrowserEvents_FWD_DEFINED__ +typedef interface IExplorerBrowserEvents IExplorerBrowserEvents; +#ifdef __cplusplus +interface IExplorerBrowserEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IExplorerPaneVisibility_FWD_DEFINED__ +#define __IExplorerPaneVisibility_FWD_DEFINED__ +typedef interface IExplorerPaneVisibility IExplorerPaneVisibility; +#ifdef __cplusplus +interface IExplorerPaneVisibility; +#endif /* __cplusplus */ +#endif + +#ifndef __IExplorerBrowser_FWD_DEFINED__ +#define __IExplorerBrowser_FWD_DEFINED__ +typedef interface IExplorerBrowser IExplorerBrowser; +#ifdef __cplusplus +interface IExplorerBrowser; +#endif /* __cplusplus */ +#endif + +#ifndef __INameSpaceTreeControl_FWD_DEFINED__ +#define __INameSpaceTreeControl_FWD_DEFINED__ +typedef interface INameSpaceTreeControl INameSpaceTreeControl; +#ifdef __cplusplus +interface INameSpaceTreeControl; +#endif /* __cplusplus */ +#endif + +#ifndef __INameSpaceTreeControl2_FWD_DEFINED__ +#define __INameSpaceTreeControl2_FWD_DEFINED__ +typedef interface INameSpaceTreeControl2 INameSpaceTreeControl2; +#ifdef __cplusplus +interface INameSpaceTreeControl2; +#endif /* __cplusplus */ +#endif + +#ifndef __INameSpaceTreeControlEvents_FWD_DEFINED__ +#define __INameSpaceTreeControlEvents_FWD_DEFINED__ +typedef interface INameSpaceTreeControlEvents INameSpaceTreeControlEvents; +#ifdef __cplusplus +interface INameSpaceTreeControlEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __INameSpaceTreeControlCustomDraw_FWD_DEFINED__ +#define __INameSpaceTreeControlCustomDraw_FWD_DEFINED__ +typedef interface INameSpaceTreeControlCustomDraw INameSpaceTreeControlCustomDraw; +#ifdef __cplusplus +interface INameSpaceTreeControlCustomDraw; +#endif /* __cplusplus */ +#endif + +#ifndef __INameSpaceTreeControlDropHandler_FWD_DEFINED__ +#define __INameSpaceTreeControlDropHandler_FWD_DEFINED__ +typedef interface INameSpaceTreeControlDropHandler INameSpaceTreeControlDropHandler; +#ifdef __cplusplus +interface INameSpaceTreeControlDropHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileDialogEvents_FWD_DEFINED__ +#define __IFileDialogEvents_FWD_DEFINED__ +typedef interface IFileDialogEvents IFileDialogEvents; +#ifdef __cplusplus +interface IFileDialogEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IModalWindow_FWD_DEFINED__ +#define __IModalWindow_FWD_DEFINED__ +typedef interface IModalWindow IModalWindow; +#ifdef __cplusplus +interface IModalWindow; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileDialog_FWD_DEFINED__ +#define __IFileDialog_FWD_DEFINED__ +typedef interface IFileDialog IFileDialog; +#ifdef __cplusplus +interface IFileDialog; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileDialog2_FWD_DEFINED__ +#define __IFileDialog2_FWD_DEFINED__ +typedef interface IFileDialog2 IFileDialog2; +#ifdef __cplusplus +interface IFileDialog2; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileOperationProgressSink_FWD_DEFINED__ +#define __IFileOperationProgressSink_FWD_DEFINED__ +typedef interface IFileOperationProgressSink IFileOperationProgressSink; +#ifdef __cplusplus +interface IFileOperationProgressSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSaveDialog_FWD_DEFINED__ +#define __IFileSaveDialog_FWD_DEFINED__ +typedef interface IFileSaveDialog IFileSaveDialog; +#ifdef __cplusplus +interface IFileSaveDialog; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileOpenDialog_FWD_DEFINED__ +#define __IFileOpenDialog_FWD_DEFINED__ +typedef interface IFileOpenDialog IFileOpenDialog; +#ifdef __cplusplus +interface IFileOpenDialog; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileDialogCustomize_FWD_DEFINED__ +#define __IFileDialogCustomize_FWD_DEFINED__ +typedef interface IFileDialogCustomize IFileDialogCustomize; +#ifdef __cplusplus +interface IFileDialogCustomize; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileDialogControlEvents_FWD_DEFINED__ +#define __IFileDialogControlEvents_FWD_DEFINED__ +typedef interface IFileDialogControlEvents IFileDialogControlEvents; +#ifdef __cplusplus +interface IFileDialogControlEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IKnownFolder_FWD_DEFINED__ +#define __IKnownFolder_FWD_DEFINED__ +typedef interface IKnownFolder IKnownFolder; +#ifdef __cplusplus +interface IKnownFolder; +#endif /* __cplusplus */ +#endif + +#ifndef __IKnownFolderManager_FWD_DEFINED__ +#define __IKnownFolderManager_FWD_DEFINED__ +typedef interface IKnownFolderManager IKnownFolderManager; +#ifdef __cplusplus +interface IKnownFolderManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IApplicationAssociationRegistration_FWD_DEFINED__ +#define __IApplicationAssociationRegistration_FWD_DEFINED__ +typedef interface IApplicationAssociationRegistration IApplicationAssociationRegistration; +#ifdef __cplusplus +interface IApplicationAssociationRegistration; +#endif /* __cplusplus */ +#endif + +#ifndef __IApplicationDestinations_FWD_DEFINED__ +#define __IApplicationDestinations_FWD_DEFINED__ +typedef interface IApplicationDestinations IApplicationDestinations; +#ifdef __cplusplus +interface IApplicationDestinations; +#endif /* __cplusplus */ +#endif + +#ifndef __ICustomDestinationList_FWD_DEFINED__ +#define __ICustomDestinationList_FWD_DEFINED__ +typedef interface ICustomDestinationList ICustomDestinationList; +#ifdef __cplusplus +interface ICustomDestinationList; +#endif /* __cplusplus */ +#endif + +#ifndef __IQueryCancelAutoPlay_FWD_DEFINED__ +#define __IQueryCancelAutoPlay_FWD_DEFINED__ +typedef interface IQueryCancelAutoPlay IQueryCancelAutoPlay; +#ifdef __cplusplus +interface IQueryCancelAutoPlay; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransferAdviseSink_FWD_DEFINED__ +#define __ITransferAdviseSink_FWD_DEFINED__ +typedef interface ITransferAdviseSink ITransferAdviseSink; +#ifdef __cplusplus +interface ITransferAdviseSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransferSource_FWD_DEFINED__ +#define __ITransferSource_FWD_DEFINED__ +typedef interface ITransferSource ITransferSource; +#ifdef __cplusplus +interface ITransferSource; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransferDestination_FWD_DEFINED__ +#define __ITransferDestination_FWD_DEFINED__ +typedef interface ITransferDestination ITransferDestination; +#ifdef __cplusplus +interface ITransferDestination; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssocHandlerInvoker_FWD_DEFINED__ +#define __IAssocHandlerInvoker_FWD_DEFINED__ +typedef interface IAssocHandlerInvoker IAssocHandlerInvoker; +#ifdef __cplusplus +interface IAssocHandlerInvoker; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssocHandler_FWD_DEFINED__ +#define __IAssocHandler_FWD_DEFINED__ +typedef interface IAssocHandler IAssocHandler; +#ifdef __cplusplus +interface IAssocHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumAssocHandlers_FWD_DEFINED__ +#define __IEnumAssocHandlers_FWD_DEFINED__ +typedef interface IEnumAssocHandlers IEnumAssocHandlers; +#ifdef __cplusplus +interface IEnumAssocHandlers; +#endif /* __cplusplus */ +#endif + +#ifndef __ExplorerBrowser_FWD_DEFINED__ +#define __ExplorerBrowser_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ExplorerBrowser ExplorerBrowser; +#else +typedef struct ExplorerBrowser ExplorerBrowser; +#endif /* defined __cplusplus */ +#endif /* defined __ExplorerBrowser_FWD_DEFINED__ */ + +#ifndef __FileOpenDialog_FWD_DEFINED__ +#define __FileOpenDialog_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FileOpenDialog FileOpenDialog; +#else +typedef struct FileOpenDialog FileOpenDialog; +#endif /* defined __cplusplus */ +#endif /* defined __FileOpenDialog_FWD_DEFINED__ */ + +#ifndef __FileSaveDialog_FWD_DEFINED__ +#define __FileSaveDialog_FWD_DEFINED__ +#ifdef __cplusplus +typedef class FileSaveDialog FileSaveDialog; +#else +typedef struct FileSaveDialog FileSaveDialog; +#endif /* defined __cplusplus */ +#endif /* defined __FileSaveDialog_FWD_DEFINED__ */ + +#ifndef __NamespaceTreeControl_FWD_DEFINED__ +#define __NamespaceTreeControl_FWD_DEFINED__ +#ifdef __cplusplus +typedef class NamespaceTreeControl NamespaceTreeControl; +#else +typedef struct NamespaceTreeControl NamespaceTreeControl; +#endif /* defined __cplusplus */ +#endif /* defined __NamespaceTreeControl_FWD_DEFINED__ */ + +#ifndef __KnownFolderManager_FWD_DEFINED__ +#define __KnownFolderManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class KnownFolderManager KnownFolderManager; +#else +typedef struct KnownFolderManager KnownFolderManager; +#endif /* defined __cplusplus */ +#endif /* defined __KnownFolderManager_FWD_DEFINED__ */ + +#ifndef __ApplicationAssociationRegistration_FWD_DEFINED__ +#define __ApplicationAssociationRegistration_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ApplicationAssociationRegistration ApplicationAssociationRegistration; +#else +typedef struct ApplicationAssociationRegistration ApplicationAssociationRegistration; +#endif /* defined __cplusplus */ +#endif /* defined __ApplicationAssociationRegistration_FWD_DEFINED__ */ + +#ifndef __ApplicationDestinations_FWD_DEFINED__ +#define __ApplicationDestinations_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ApplicationDestinations ApplicationDestinations; +#else +typedef struct ApplicationDestinations ApplicationDestinations; +#endif /* defined __cplusplus */ +#endif /* defined __ApplicationDestinations_FWD_DEFINED__ */ + +#ifndef __ShellLink_FWD_DEFINED__ +#define __ShellLink_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ShellLink ShellLink; +#else +typedef struct ShellLink ShellLink; +#endif /* defined __cplusplus */ +#endif /* defined __ShellLink_FWD_DEFINED__ */ + +#ifndef __TaskbarList_FWD_DEFINED__ +#define __TaskbarList_FWD_DEFINED__ +#ifdef __cplusplus +typedef class TaskbarList TaskbarList; +#else +typedef struct TaskbarList TaskbarList; +#endif /* defined __cplusplus */ +#endif /* defined __TaskbarList_FWD_DEFINED__ */ + +#ifndef __DestinationList_FWD_DEFINED__ +#define __DestinationList_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DestinationList DestinationList; +#else +typedef struct DestinationList DestinationList; +#endif /* defined __cplusplus */ +#endif /* defined __DestinationList_FWD_DEFINED__ */ + +#ifndef __EnumerableObjectCollection_FWD_DEFINED__ +#define __EnumerableObjectCollection_FWD_DEFINED__ +#ifdef __cplusplus +typedef class EnumerableObjectCollection EnumerableObjectCollection; +#else +typedef struct EnumerableObjectCollection EnumerableObjectCollection; +#endif /* defined __cplusplus */ +#endif /* defined __EnumerableObjectCollection_FWD_DEFINED__ */ + +#ifndef __QueryCancelAutoPlay_FWD_DEFINED__ +#define __QueryCancelAutoPlay_FWD_DEFINED__ +#ifdef __cplusplus +typedef class QueryCancelAutoPlay QueryCancelAutoPlay; +#else +typedef struct QueryCancelAutoPlay QueryCancelAutoPlay; +#endif /* defined __cplusplus */ +#endif /* defined __QueryCancelAutoPlay_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* FIXME: #include */ +/***************************************************************************** + * IPersistFolder interface + */ +#ifndef __IPersistFolder_INTERFACE_DEFINED__ +#define __IPersistFolder_INTERFACE_DEFINED__ + +typedef IPersistFolder *LPPERSISTFOLDER; +DEFINE_GUID(IID_IPersistFolder, 0x000214ea, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214ea-0000-0000-c000-000000000046") +IPersistFolder : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + LPCITEMIDLIST pidl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistFolder, 0x000214ea, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IPersistFolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistFolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistFolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistFolder *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistFolder *This, + CLSID *pClassID); + + /*** IPersistFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IPersistFolder *This, + LPCITEMIDLIST pidl); + + END_INTERFACE +} IPersistFolderVtbl; + +interface IPersistFolder { + CONST_VTBL IPersistFolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistFolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistFolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistFolder_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistFolder_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistFolder methods ***/ +#define IPersistFolder_Initialize(This,pidl) (This)->lpVtbl->Initialize(This,pidl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistFolder_QueryInterface(IPersistFolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistFolder_AddRef(IPersistFolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistFolder_Release(IPersistFolder* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistFolder_GetClassID(IPersistFolder* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistFolder methods ***/ +static FORCEINLINE HRESULT IPersistFolder_Initialize(IPersistFolder* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->Initialize(This,pidl); +} +#endif +#endif + +#endif + + +#endif /* __IPersistFolder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistFolder2 interface + */ +#ifndef __IPersistFolder2_INTERFACE_DEFINED__ +#define __IPersistFolder2_INTERFACE_DEFINED__ + +typedef IPersistFolder2 *LPPERSISTFOLDER2; +DEFINE_GUID(IID_IPersistFolder2, 0x1ac3d9f0, 0x175c, 0x11d1, 0x95,0xbe, 0x00,0x60,0x97,0x97,0xea,0x4f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1ac3d9f0-175c-11d1-95be-00609797ea4f") +IPersistFolder2 : public IPersistFolder +{ + virtual HRESULT STDMETHODCALLTYPE GetCurFolder( + LPITEMIDLIST *ppidl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistFolder2, 0x1ac3d9f0, 0x175c, 0x11d1, 0x95,0xbe, 0x00,0x60,0x97,0x97,0xea,0x4f) +#endif +#else +typedef struct IPersistFolder2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistFolder2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistFolder2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistFolder2 *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistFolder2 *This, + CLSID *pClassID); + + /*** IPersistFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IPersistFolder2 *This, + LPCITEMIDLIST pidl); + + /*** IPersistFolder2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurFolder)( + IPersistFolder2 *This, + LPITEMIDLIST *ppidl); + + END_INTERFACE +} IPersistFolder2Vtbl; + +interface IPersistFolder2 { + CONST_VTBL IPersistFolder2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistFolder2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistFolder2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistFolder2_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistFolder2_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistFolder methods ***/ +#define IPersistFolder2_Initialize(This,pidl) (This)->lpVtbl->Initialize(This,pidl) +/*** IPersistFolder2 methods ***/ +#define IPersistFolder2_GetCurFolder(This,ppidl) (This)->lpVtbl->GetCurFolder(This,ppidl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistFolder2_QueryInterface(IPersistFolder2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistFolder2_AddRef(IPersistFolder2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistFolder2_Release(IPersistFolder2* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistFolder2_GetClassID(IPersistFolder2* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistFolder methods ***/ +static FORCEINLINE HRESULT IPersistFolder2_Initialize(IPersistFolder2* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->Initialize(This,pidl); +} +/*** IPersistFolder2 methods ***/ +static FORCEINLINE HRESULT IPersistFolder2_GetCurFolder(IPersistFolder2* This,LPITEMIDLIST *ppidl) { + return This->lpVtbl->GetCurFolder(This,ppidl); +} +#endif +#endif + +#endif + + +#endif /* __IPersistFolder2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistIDList interface + */ +#ifndef __IPersistIDList_INTERFACE_DEFINED__ +#define __IPersistIDList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPersistIDList, 0x1079acfc, 0x29bd, 0x11d3, 0x8e,0x0d, 0x00,0xc0,0x4f,0x68,0x37,0xd5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1079acfc-29bd-11d3-8e0d-00c04f6837d5") +IPersistIDList : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE SetIDList( + LPCITEMIDLIST pidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIDList( + LPITEMIDLIST *ppidl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistIDList, 0x1079acfc, 0x29bd, 0x11d3, 0x8e,0x0d, 0x00,0xc0,0x4f,0x68,0x37,0xd5) +#endif +#else +typedef struct IPersistIDListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistIDList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistIDList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistIDList *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistIDList *This, + CLSID *pClassID); + + /*** IPersistIDList methods ***/ + HRESULT (STDMETHODCALLTYPE *SetIDList)( + IPersistIDList *This, + LPCITEMIDLIST pidl); + + HRESULT (STDMETHODCALLTYPE *GetIDList)( + IPersistIDList *This, + LPITEMIDLIST *ppidl); + + END_INTERFACE +} IPersistIDListVtbl; + +interface IPersistIDList { + CONST_VTBL IPersistIDListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistIDList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistIDList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistIDList_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistIDList_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistIDList methods ***/ +#define IPersistIDList_SetIDList(This,pidl) (This)->lpVtbl->SetIDList(This,pidl) +#define IPersistIDList_GetIDList(This,ppidl) (This)->lpVtbl->GetIDList(This,ppidl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistIDList_QueryInterface(IPersistIDList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistIDList_AddRef(IPersistIDList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistIDList_Release(IPersistIDList* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistIDList_GetClassID(IPersistIDList* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistIDList methods ***/ +static FORCEINLINE HRESULT IPersistIDList_SetIDList(IPersistIDList* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->SetIDList(This,pidl); +} +static FORCEINLINE HRESULT IPersistIDList_GetIDList(IPersistIDList* This,LPITEMIDLIST *ppidl) { + return This->lpVtbl->GetIDList(This,ppidl); +} +#endif +#endif + +#endif + + +#endif /* __IPersistIDList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumIDList interface + */ +#ifndef __IEnumIDList_INTERFACE_DEFINED__ +#define __IEnumIDList_INTERFACE_DEFINED__ + +typedef IEnumIDList *LPENUMIDLIST; +DEFINE_GUID(IID_IEnumIDList, 0x000214f2, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214f2-0000-0000-c000-000000000046") +IEnumIDList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + LPITEMIDLIST *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumIDList **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumIDList, 0x000214f2, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IEnumIDListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumIDList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumIDList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumIDList *This); + + /*** IEnumIDList methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumIDList *This, + ULONG celt, + LPITEMIDLIST *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumIDList *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumIDList *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumIDList *This, + IEnumIDList **ppenum); + + END_INTERFACE +} IEnumIDListVtbl; + +interface IEnumIDList { + CONST_VTBL IEnumIDListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumIDList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumIDList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumIDList_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumIDList methods ***/ +#define IEnumIDList_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumIDList_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumIDList_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumIDList_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumIDList_QueryInterface(IEnumIDList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumIDList_AddRef(IEnumIDList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumIDList_Release(IEnumIDList* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumIDList methods ***/ +static FORCEINLINE HRESULT IEnumIDList_Next(IEnumIDList* This,ULONG celt,LPITEMIDLIST *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumIDList_Skip(IEnumIDList* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumIDList_Reset(IEnumIDList* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumIDList_Clone(IEnumIDList* This,IEnumIDList **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumIDList_INTERFACE_DEFINED__ */ + +#if 0 +typedef LPARAM LPFNSVADDPROPSHEETPAGE; +#else +#include +typedef LPFNADDPROPSHEETPAGE LPFNSVADDPROPSHEETPAGE; +#endif +/***************************************************************************** + * IShellPropSheetExt interface + */ +#ifndef __IShellPropSheetExt_INTERFACE_DEFINED__ +#define __IShellPropSheetExt_INTERFACE_DEFINED__ + +enum tagSHELLPROPSHEETEXTPAGEID { + EXPPS_FILETYPES = 0x1 +}; +typedef UINT EXPPS; +DEFINE_GUID(IID_IShellPropSheetExt, 0x000214e9, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e9-0000-0000-c000-000000000046") +IShellPropSheetExt : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddPages( + LPFNSVADDPROPSHEETPAGE pfnAddPage, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReplacePage( + EXPPS uPageID, + LPFNSVADDPROPSHEETPAGE pfnReplaceWith, + LPARAM lParam) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellPropSheetExt, 0x000214e9, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellPropSheetExtVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellPropSheetExt *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellPropSheetExt *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellPropSheetExt *This); + + /*** IShellPropSheetExt methods ***/ + HRESULT (STDMETHODCALLTYPE *AddPages)( + IShellPropSheetExt *This, + LPFNSVADDPROPSHEETPAGE pfnAddPage, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *ReplacePage)( + IShellPropSheetExt *This, + EXPPS uPageID, + LPFNSVADDPROPSHEETPAGE pfnReplaceWith, + LPARAM lParam); + + END_INTERFACE +} IShellPropSheetExtVtbl; + +interface IShellPropSheetExt { + CONST_VTBL IShellPropSheetExtVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellPropSheetExt_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellPropSheetExt_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellPropSheetExt_Release(This) (This)->lpVtbl->Release(This) +/*** IShellPropSheetExt methods ***/ +#define IShellPropSheetExt_AddPages(This,pfnAddPage,lParam) (This)->lpVtbl->AddPages(This,pfnAddPage,lParam) +#define IShellPropSheetExt_ReplacePage(This,uPageID,pfnReplaceWith,lParam) (This)->lpVtbl->ReplacePage(This,uPageID,pfnReplaceWith,lParam) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellPropSheetExt_QueryInterface(IShellPropSheetExt* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellPropSheetExt_AddRef(IShellPropSheetExt* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellPropSheetExt_Release(IShellPropSheetExt* This) { + return This->lpVtbl->Release(This); +} +/*** IShellPropSheetExt methods ***/ +static FORCEINLINE HRESULT IShellPropSheetExt_AddPages(IShellPropSheetExt* This,LPFNSVADDPROPSHEETPAGE pfnAddPage,LPARAM lParam) { + return This->lpVtbl->AddPages(This,pfnAddPage,lParam); +} +static FORCEINLINE HRESULT IShellPropSheetExt_ReplacePage(IShellPropSheetExt* This,EXPPS uPageID,LPFNSVADDPROPSHEETPAGE pfnReplaceWith,LPARAM lParam) { + return This->lpVtbl->ReplacePage(This,uPageID,pfnReplaceWith,lParam); +} +#endif +#endif + +#endif + + +#endif /* __IShellPropSheetExt_INTERFACE_DEFINED__ */ + +typedef IShellPropSheetExt *LPSHELLPROPSHEETEXT; +/***************************************************************************** + * IShellFolder interface + */ +#ifndef __IShellFolder_INTERFACE_DEFINED__ +#define __IShellFolder_INTERFACE_DEFINED__ + +typedef IShellFolder *LPSHELLFOLDER; +typedef enum tagSHGDN { + SHGDN_NORMAL = 0, + SHGDN_INFOLDER = 1, + SHGDN_FOREDITING = 0x1000, + SHGDN_INCLUDE_NONFILESYS = 0x2000, + SHGDN_FORADDRESSBAR = 0x4000, + SHGDN_FORPARSING = 0x8000 +} SHGNO; +typedef DWORD SHGDNF; +enum tagSHCONTF { + SHCONTF_CHECKING_FOR_CHILDREN = 0x10, + SHCONTF_FOLDERS = 0x20, + SHCONTF_NONFOLDERS = 0x40, + SHCONTF_INCLUDEHIDDEN = 0x80, + SHCONTF_INIT_ON_FIRST_NEXT = 0x100, + SHCONTF_NETPRINTERSRCH = 0x200, + SHCONTF_SHAREABLE = 0x400, + SHCONTF_STORAGE = 0x800, + SHCONTF_NAVIGATION_ENUM = 0x1000, + SHCONTF_FASTITEMS = 0x2000, + SHCONTF_FLATLIST = 0x4000, + SHCONTF_ENABLE_ASYNC = 0x8000, + SHCONTF_INCLUDESUPERHIDDEN = 0x10000 +}; +typedef DWORD SHCONTF; +#define SFGAO_CANCOPY DROPEFFECT_COPY +#define SFGAO_CANMOVE DROPEFFECT_MOVE +#define SFGAO_CANLINK DROPEFFECT_LINK +#define SFGAO_STORAGE 0x00000008L +#define SFGAO_CANRENAME 0x00000010L +#define SFGAO_CANDELETE 0x00000020L +#define SFGAO_HASPROPSHEET 0x00000040L +#define SFGAO_DROPTARGET 0x00000100L +#define SFGAO_CAPABILITYMASK 0x00000177L +#define SFGAO_SYSTEM 0x00001000L +#define SFGAO_ENCRYPTED 0x00002000L +#define SFGAO_ISSLOW 0x00004000L +#define SFGAO_GHOSTED 0x00008000L +#define SFGAO_LINK 0x00010000L +#define SFGAO_SHARE 0x00020000L +#define SFGAO_READONLY 0x00040000L +#define SFGAO_HIDDEN 0x00080000L +#define SFGAO_DISPLAYATTRMASK 0x000FC000L +#define SFGAO_FILESYSANCESTOR 0x10000000L +#define SFGAO_FOLDER 0x20000000L +#define SFGAO_FILESYSTEM 0x40000000L +#define SFGAO_HASSUBFOLDER 0x80000000L +#define SFGAO_CONTENTSMASK 0x80000000L +#define SFGAO_VALIDATE 0x01000000L +#define SFGAO_REMOVABLE 0x02000000L +#define SFGAO_COMPRESSED 0x04000000L +#define SFGAO_BROWSABLE 0x08000000L +#define SFGAO_NONENUMERATED 0x00100000L +#define SFGAO_NEWCONTENT 0x00200000L +#define SFGAO_CANMONIKER 0x00400000L +#define SFGAO_HASSTORAGE 0x00400000L +#define SFGAO_STREAM 0x00400000L +#define SFGAO_STORAGEANCESTOR 0x00800000L +#define SFGAO_STORAGEGAPMASK 0x70C50008L +#define SFGAO_PKEYSFGAOMASK 0x81044000L +typedef ULONG SFGAOF; +DEFINE_GUID(IID_IShellFolder, 0x000214e6, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e6-0000-0000-c000-000000000046") +IShellFolder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseDisplayName( + HWND hwndOwner, + LPBC pbcReserved, + LPOLESTR lpszDisplayName, + ULONG *pchEaten, + LPITEMIDLIST *ppidl, + ULONG *pdwAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumObjects( + HWND hwndOwner, + SHCONTF grfFlags, + IEnumIDList **ppenumIDList) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToObject( + LPCITEMIDLIST pidl, + LPBC pbcReserved, + REFIID riid, + void **ppvOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToStorage( + LPCITEMIDLIST pidl, + LPBC pbcReserved, + REFIID riid, + void **ppvObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareIDs( + LPARAM lParam, + LPCITEMIDLIST pidl1, + LPCITEMIDLIST pidl2) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateViewObject( + HWND hwndOwner, + REFIID riid, + void **ppvOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributesOf( + UINT cidl, + LPCITEMIDLIST *apidl, + SFGAOF *rgfInOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUIObjectOf( + HWND hwndOwner, + UINT cidl, + LPCITEMIDLIST *apidl, + REFIID riid, + UINT *prgfInOut, + void **ppvOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayNameOf( + LPCITEMIDLIST pidl, + SHGDNF uFlags, + STRRET *lpName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNameOf( + HWND hwnd, + LPCITEMIDLIST pidl, + LPCOLESTR lpszName, + SHGDNF uFlags, + LPITEMIDLIST *ppidlOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellFolder, 0x000214e6, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellFolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellFolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellFolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellFolder *This); + + /*** IShellFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseDisplayName)( + IShellFolder *This, + HWND hwndOwner, + LPBC pbcReserved, + LPOLESTR lpszDisplayName, + ULONG *pchEaten, + LPITEMIDLIST *ppidl, + ULONG *pdwAttributes); + + HRESULT (STDMETHODCALLTYPE *EnumObjects)( + IShellFolder *This, + HWND hwndOwner, + SHCONTF grfFlags, + IEnumIDList **ppenumIDList); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IShellFolder *This, + LPCITEMIDLIST pidl, + LPBC pbcReserved, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *BindToStorage)( + IShellFolder *This, + LPCITEMIDLIST pidl, + LPBC pbcReserved, + REFIID riid, + void **ppvObj); + + HRESULT (STDMETHODCALLTYPE *CompareIDs)( + IShellFolder *This, + LPARAM lParam, + LPCITEMIDLIST pidl1, + LPCITEMIDLIST pidl2); + + HRESULT (STDMETHODCALLTYPE *CreateViewObject)( + IShellFolder *This, + HWND hwndOwner, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetAttributesOf)( + IShellFolder *This, + UINT cidl, + LPCITEMIDLIST *apidl, + SFGAOF *rgfInOut); + + HRESULT (STDMETHODCALLTYPE *GetUIObjectOf)( + IShellFolder *This, + HWND hwndOwner, + UINT cidl, + LPCITEMIDLIST *apidl, + REFIID riid, + UINT *prgfInOut, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetDisplayNameOf)( + IShellFolder *This, + LPCITEMIDLIST pidl, + SHGDNF uFlags, + STRRET *lpName); + + HRESULT (STDMETHODCALLTYPE *SetNameOf)( + IShellFolder *This, + HWND hwnd, + LPCITEMIDLIST pidl, + LPCOLESTR lpszName, + SHGDNF uFlags, + LPITEMIDLIST *ppidlOut); + + END_INTERFACE +} IShellFolderVtbl; + +interface IShellFolder { + CONST_VTBL IShellFolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellFolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellFolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellFolder_Release(This) (This)->lpVtbl->Release(This) +/*** IShellFolder methods ***/ +#define IShellFolder_ParseDisplayName(This,hwndOwner,pbcReserved,lpszDisplayName,pchEaten,ppidl,pdwAttributes) (This)->lpVtbl->ParseDisplayName(This,hwndOwner,pbcReserved,lpszDisplayName,pchEaten,ppidl,pdwAttributes) +#define IShellFolder_EnumObjects(This,hwndOwner,grfFlags,ppenumIDList) (This)->lpVtbl->EnumObjects(This,hwndOwner,grfFlags,ppenumIDList) +#define IShellFolder_BindToObject(This,pidl,pbcReserved,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pidl,pbcReserved,riid,ppvOut) +#define IShellFolder_BindToStorage(This,pidl,pbcReserved,riid,ppvObj) (This)->lpVtbl->BindToStorage(This,pidl,pbcReserved,riid,ppvObj) +#define IShellFolder_CompareIDs(This,lParam,pidl1,pidl2) (This)->lpVtbl->CompareIDs(This,lParam,pidl1,pidl2) +#define IShellFolder_CreateViewObject(This,hwndOwner,riid,ppvOut) (This)->lpVtbl->CreateViewObject(This,hwndOwner,riid,ppvOut) +#define IShellFolder_GetAttributesOf(This,cidl,apidl,rgfInOut) (This)->lpVtbl->GetAttributesOf(This,cidl,apidl,rgfInOut) +#define IShellFolder_GetUIObjectOf(This,hwndOwner,cidl,apidl,riid,prgfInOut,ppvOut) (This)->lpVtbl->GetUIObjectOf(This,hwndOwner,cidl,apidl,riid,prgfInOut,ppvOut) +#define IShellFolder_GetDisplayNameOf(This,pidl,uFlags,lpName) (This)->lpVtbl->GetDisplayNameOf(This,pidl,uFlags,lpName) +#define IShellFolder_SetNameOf(This,hwnd,pidl,lpszName,uFlags,ppidlOut) (This)->lpVtbl->SetNameOf(This,hwnd,pidl,lpszName,uFlags,ppidlOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellFolder_QueryInterface(IShellFolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellFolder_AddRef(IShellFolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellFolder_Release(IShellFolder* This) { + return This->lpVtbl->Release(This); +} +/*** IShellFolder methods ***/ +static FORCEINLINE HRESULT IShellFolder_ParseDisplayName(IShellFolder* This,HWND hwndOwner,LPBC pbcReserved,LPOLESTR lpszDisplayName,ULONG *pchEaten,LPITEMIDLIST *ppidl,ULONG *pdwAttributes) { + return This->lpVtbl->ParseDisplayName(This,hwndOwner,pbcReserved,lpszDisplayName,pchEaten,ppidl,pdwAttributes); +} +static FORCEINLINE HRESULT IShellFolder_EnumObjects(IShellFolder* This,HWND hwndOwner,SHCONTF grfFlags,IEnumIDList **ppenumIDList) { + return This->lpVtbl->EnumObjects(This,hwndOwner,grfFlags,ppenumIDList); +} +static FORCEINLINE HRESULT IShellFolder_BindToObject(IShellFolder* This,LPCITEMIDLIST pidl,LPBC pbcReserved,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToObject(This,pidl,pbcReserved,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellFolder_BindToStorage(IShellFolder* This,LPCITEMIDLIST pidl,LPBC pbcReserved,REFIID riid,void **ppvObj) { + return This->lpVtbl->BindToStorage(This,pidl,pbcReserved,riid,ppvObj); +} +static FORCEINLINE HRESULT IShellFolder_CompareIDs(IShellFolder* This,LPARAM lParam,LPCITEMIDLIST pidl1,LPCITEMIDLIST pidl2) { + return This->lpVtbl->CompareIDs(This,lParam,pidl1,pidl2); +} +static FORCEINLINE HRESULT IShellFolder_CreateViewObject(IShellFolder* This,HWND hwndOwner,REFIID riid,void **ppvOut) { + return This->lpVtbl->CreateViewObject(This,hwndOwner,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellFolder_GetAttributesOf(IShellFolder* This,UINT cidl,LPCITEMIDLIST *apidl,SFGAOF *rgfInOut) { + return This->lpVtbl->GetAttributesOf(This,cidl,apidl,rgfInOut); +} +static FORCEINLINE HRESULT IShellFolder_GetUIObjectOf(IShellFolder* This,HWND hwndOwner,UINT cidl,LPCITEMIDLIST *apidl,REFIID riid,UINT *prgfInOut,void **ppvOut) { + return This->lpVtbl->GetUIObjectOf(This,hwndOwner,cidl,apidl,riid,prgfInOut,ppvOut); +} +static FORCEINLINE HRESULT IShellFolder_GetDisplayNameOf(IShellFolder* This,LPCITEMIDLIST pidl,SHGDNF uFlags,STRRET *lpName) { + return This->lpVtbl->GetDisplayNameOf(This,pidl,uFlags,lpName); +} +static FORCEINLINE HRESULT IShellFolder_SetNameOf(IShellFolder* This,HWND hwnd,LPCITEMIDLIST pidl,LPCOLESTR lpszName,SHGDNF uFlags,LPITEMIDLIST *ppidlOut) { + return This->lpVtbl->SetNameOf(This,hwnd,pidl,lpszName,uFlags,ppidlOut); +} +#endif +#endif + +#endif + + +#endif /* __IShellFolder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumExtraSearch interface + */ +#ifndef __IEnumExtraSearch_INTERFACE_DEFINED__ +#define __IEnumExtraSearch_INTERFACE_DEFINED__ + +typedef IEnumExtraSearch *LPENUMEXTRASEARCH; +typedef struct __WIDL_shobjidl_generated_name_00000016 { + GUID guidSearch; + WCHAR wszFriendlyName[80]; + WCHAR wszUrl[2084]; +} EXTRASEARCH; +typedef struct __WIDL_shobjidl_generated_name_00000016 *LPEXTRASEARCH; +DEFINE_GUID(IID_IEnumExtraSearch, 0x0e700be1, 0x9db6, 0x11d1, 0xa1,0xce, 0x00,0xc0,0x4f,0xd7,0x5d,0x13); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0e700be1-9db6-11d1-a1ce-00c04fd75d13") +IEnumExtraSearch : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + EXTRASEARCH *rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumExtraSearch **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumExtraSearch, 0x0e700be1, 0x9db6, 0x11d1, 0xa1,0xce, 0x00,0xc0,0x4f,0xd7,0x5d,0x13) +#endif +#else +typedef struct IEnumExtraSearchVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumExtraSearch *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumExtraSearch *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumExtraSearch *This); + + /*** IEnumExtraSearch methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumExtraSearch *This, + ULONG celt, + EXTRASEARCH *rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumExtraSearch *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumExtraSearch *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumExtraSearch *This, + IEnumExtraSearch **ppenum); + + END_INTERFACE +} IEnumExtraSearchVtbl; + +interface IEnumExtraSearch { + CONST_VTBL IEnumExtraSearchVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumExtraSearch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumExtraSearch_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumExtraSearch_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumExtraSearch methods ***/ +#define IEnumExtraSearch_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumExtraSearch_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumExtraSearch_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumExtraSearch_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumExtraSearch_QueryInterface(IEnumExtraSearch* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumExtraSearch_AddRef(IEnumExtraSearch* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumExtraSearch_Release(IEnumExtraSearch* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumExtraSearch methods ***/ +static FORCEINLINE HRESULT IEnumExtraSearch_Next(IEnumExtraSearch* This,ULONG celt,EXTRASEARCH *rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumExtraSearch_Skip(IEnumExtraSearch* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumExtraSearch_Reset(IEnumExtraSearch* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumExtraSearch_Clone(IEnumExtraSearch* This,IEnumExtraSearch **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumExtraSearch_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellFolder2 interface + */ +#ifndef __IShellFolder2_INTERFACE_DEFINED__ +#define __IShellFolder2_INTERFACE_DEFINED__ + +typedef struct __WIDL_shobjidl_generated_name_00000017 { + GUID fmtid; + DWORD pid; +} SHCOLUMNID; +typedef struct __WIDL_shobjidl_generated_name_00000017 *LPSHCOLUMNID; +typedef const SHCOLUMNID *LPCSHCOLUMNID; +DEFINE_GUID(IID_IShellFolder2, 0x93f2f68c, 0x1d1b, 0x11d3, 0xa3,0x0e, 0x00,0xc0,0x4f,0x79,0xab,0xd1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("93f2f68c-1d1b-11d3-a30e-00c04f79abd1") +IShellFolder2 : public IShellFolder +{ + virtual HRESULT STDMETHODCALLTYPE GetDefaultSearchGUID( + GUID *lpguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumSearches( + IEnumExtraSearch **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultColumn( + DWORD dwReserved, + ULONG *pSort, + ULONG *pDisplay) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultColumnState( + UINT iColumn, + SHCOLSTATEF *pcsFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDetailsEx( + LPCITEMIDLIST pidl, + const SHCOLUMNID *pscid, + VARIANT *pv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDetailsOf( + LPCITEMIDLIST pidl, + UINT iColumn, + SHELLDETAILS *psd) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapColumnToSCID( + UINT iColumn, + SHCOLUMNID *pscid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellFolder2, 0x93f2f68c, 0x1d1b, 0x11d3, 0xa3,0x0e, 0x00,0xc0,0x4f,0x79,0xab,0xd1) +#endif +#else +typedef struct IShellFolder2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellFolder2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellFolder2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellFolder2 *This); + + /*** IShellFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseDisplayName)( + IShellFolder2 *This, + HWND hwndOwner, + LPBC pbcReserved, + LPOLESTR lpszDisplayName, + ULONG *pchEaten, + LPITEMIDLIST *ppidl, + ULONG *pdwAttributes); + + HRESULT (STDMETHODCALLTYPE *EnumObjects)( + IShellFolder2 *This, + HWND hwndOwner, + SHCONTF grfFlags, + IEnumIDList **ppenumIDList); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IShellFolder2 *This, + LPCITEMIDLIST pidl, + LPBC pbcReserved, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *BindToStorage)( + IShellFolder2 *This, + LPCITEMIDLIST pidl, + LPBC pbcReserved, + REFIID riid, + void **ppvObj); + + HRESULT (STDMETHODCALLTYPE *CompareIDs)( + IShellFolder2 *This, + LPARAM lParam, + LPCITEMIDLIST pidl1, + LPCITEMIDLIST pidl2); + + HRESULT (STDMETHODCALLTYPE *CreateViewObject)( + IShellFolder2 *This, + HWND hwndOwner, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetAttributesOf)( + IShellFolder2 *This, + UINT cidl, + LPCITEMIDLIST *apidl, + SFGAOF *rgfInOut); + + HRESULT (STDMETHODCALLTYPE *GetUIObjectOf)( + IShellFolder2 *This, + HWND hwndOwner, + UINT cidl, + LPCITEMIDLIST *apidl, + REFIID riid, + UINT *prgfInOut, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetDisplayNameOf)( + IShellFolder2 *This, + LPCITEMIDLIST pidl, + SHGDNF uFlags, + STRRET *lpName); + + HRESULT (STDMETHODCALLTYPE *SetNameOf)( + IShellFolder2 *This, + HWND hwnd, + LPCITEMIDLIST pidl, + LPCOLESTR lpszName, + SHGDNF uFlags, + LPITEMIDLIST *ppidlOut); + + /*** IShellFolder2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDefaultSearchGUID)( + IShellFolder2 *This, + GUID *lpguid); + + HRESULT (STDMETHODCALLTYPE *EnumSearches)( + IShellFolder2 *This, + IEnumExtraSearch **ppenum); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumn)( + IShellFolder2 *This, + DWORD dwReserved, + ULONG *pSort, + ULONG *pDisplay); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColumnState)( + IShellFolder2 *This, + UINT iColumn, + SHCOLSTATEF *pcsFlags); + + HRESULT (STDMETHODCALLTYPE *GetDetailsEx)( + IShellFolder2 *This, + LPCITEMIDLIST pidl, + const SHCOLUMNID *pscid, + VARIANT *pv); + + HRESULT (STDMETHODCALLTYPE *GetDetailsOf)( + IShellFolder2 *This, + LPCITEMIDLIST pidl, + UINT iColumn, + SHELLDETAILS *psd); + + HRESULT (STDMETHODCALLTYPE *MapColumnToSCID)( + IShellFolder2 *This, + UINT iColumn, + SHCOLUMNID *pscid); + + END_INTERFACE +} IShellFolder2Vtbl; + +interface IShellFolder2 { + CONST_VTBL IShellFolder2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellFolder2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellFolder2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellFolder2_Release(This) (This)->lpVtbl->Release(This) +/*** IShellFolder methods ***/ +#define IShellFolder2_ParseDisplayName(This,hwndOwner,pbcReserved,lpszDisplayName,pchEaten,ppidl,pdwAttributes) (This)->lpVtbl->ParseDisplayName(This,hwndOwner,pbcReserved,lpszDisplayName,pchEaten,ppidl,pdwAttributes) +#define IShellFolder2_EnumObjects(This,hwndOwner,grfFlags,ppenumIDList) (This)->lpVtbl->EnumObjects(This,hwndOwner,grfFlags,ppenumIDList) +#define IShellFolder2_BindToObject(This,pidl,pbcReserved,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pidl,pbcReserved,riid,ppvOut) +#define IShellFolder2_BindToStorage(This,pidl,pbcReserved,riid,ppvObj) (This)->lpVtbl->BindToStorage(This,pidl,pbcReserved,riid,ppvObj) +#define IShellFolder2_CompareIDs(This,lParam,pidl1,pidl2) (This)->lpVtbl->CompareIDs(This,lParam,pidl1,pidl2) +#define IShellFolder2_CreateViewObject(This,hwndOwner,riid,ppvOut) (This)->lpVtbl->CreateViewObject(This,hwndOwner,riid,ppvOut) +#define IShellFolder2_GetAttributesOf(This,cidl,apidl,rgfInOut) (This)->lpVtbl->GetAttributesOf(This,cidl,apidl,rgfInOut) +#define IShellFolder2_GetUIObjectOf(This,hwndOwner,cidl,apidl,riid,prgfInOut,ppvOut) (This)->lpVtbl->GetUIObjectOf(This,hwndOwner,cidl,apidl,riid,prgfInOut,ppvOut) +#define IShellFolder2_GetDisplayNameOf(This,pidl,uFlags,lpName) (This)->lpVtbl->GetDisplayNameOf(This,pidl,uFlags,lpName) +#define IShellFolder2_SetNameOf(This,hwnd,pidl,lpszName,uFlags,ppidlOut) (This)->lpVtbl->SetNameOf(This,hwnd,pidl,lpszName,uFlags,ppidlOut) +/*** IShellFolder2 methods ***/ +#define IShellFolder2_GetDefaultSearchGUID(This,lpguid) (This)->lpVtbl->GetDefaultSearchGUID(This,lpguid) +#define IShellFolder2_EnumSearches(This,ppenum) (This)->lpVtbl->EnumSearches(This,ppenum) +#define IShellFolder2_GetDefaultColumn(This,dwReserved,pSort,pDisplay) (This)->lpVtbl->GetDefaultColumn(This,dwReserved,pSort,pDisplay) +#define IShellFolder2_GetDefaultColumnState(This,iColumn,pcsFlags) (This)->lpVtbl->GetDefaultColumnState(This,iColumn,pcsFlags) +#define IShellFolder2_GetDetailsEx(This,pidl,pscid,pv) (This)->lpVtbl->GetDetailsEx(This,pidl,pscid,pv) +#define IShellFolder2_GetDetailsOf(This,pidl,iColumn,psd) (This)->lpVtbl->GetDetailsOf(This,pidl,iColumn,psd) +#define IShellFolder2_MapColumnToSCID(This,iColumn,pscid) (This)->lpVtbl->MapColumnToSCID(This,iColumn,pscid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellFolder2_QueryInterface(IShellFolder2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellFolder2_AddRef(IShellFolder2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellFolder2_Release(IShellFolder2* This) { + return This->lpVtbl->Release(This); +} +/*** IShellFolder methods ***/ +static FORCEINLINE HRESULT IShellFolder2_ParseDisplayName(IShellFolder2* This,HWND hwndOwner,LPBC pbcReserved,LPOLESTR lpszDisplayName,ULONG *pchEaten,LPITEMIDLIST *ppidl,ULONG *pdwAttributes) { + return This->lpVtbl->ParseDisplayName(This,hwndOwner,pbcReserved,lpszDisplayName,pchEaten,ppidl,pdwAttributes); +} +static FORCEINLINE HRESULT IShellFolder2_EnumObjects(IShellFolder2* This,HWND hwndOwner,SHCONTF grfFlags,IEnumIDList **ppenumIDList) { + return This->lpVtbl->EnumObjects(This,hwndOwner,grfFlags,ppenumIDList); +} +static FORCEINLINE HRESULT IShellFolder2_BindToObject(IShellFolder2* This,LPCITEMIDLIST pidl,LPBC pbcReserved,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToObject(This,pidl,pbcReserved,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellFolder2_BindToStorage(IShellFolder2* This,LPCITEMIDLIST pidl,LPBC pbcReserved,REFIID riid,void **ppvObj) { + return This->lpVtbl->BindToStorage(This,pidl,pbcReserved,riid,ppvObj); +} +static FORCEINLINE HRESULT IShellFolder2_CompareIDs(IShellFolder2* This,LPARAM lParam,LPCITEMIDLIST pidl1,LPCITEMIDLIST pidl2) { + return This->lpVtbl->CompareIDs(This,lParam,pidl1,pidl2); +} +static FORCEINLINE HRESULT IShellFolder2_CreateViewObject(IShellFolder2* This,HWND hwndOwner,REFIID riid,void **ppvOut) { + return This->lpVtbl->CreateViewObject(This,hwndOwner,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellFolder2_GetAttributesOf(IShellFolder2* This,UINT cidl,LPCITEMIDLIST *apidl,SFGAOF *rgfInOut) { + return This->lpVtbl->GetAttributesOf(This,cidl,apidl,rgfInOut); +} +static FORCEINLINE HRESULT IShellFolder2_GetUIObjectOf(IShellFolder2* This,HWND hwndOwner,UINT cidl,LPCITEMIDLIST *apidl,REFIID riid,UINT *prgfInOut,void **ppvOut) { + return This->lpVtbl->GetUIObjectOf(This,hwndOwner,cidl,apidl,riid,prgfInOut,ppvOut); +} +static FORCEINLINE HRESULT IShellFolder2_GetDisplayNameOf(IShellFolder2* This,LPCITEMIDLIST pidl,SHGDNF uFlags,STRRET *lpName) { + return This->lpVtbl->GetDisplayNameOf(This,pidl,uFlags,lpName); +} +static FORCEINLINE HRESULT IShellFolder2_SetNameOf(IShellFolder2* This,HWND hwnd,LPCITEMIDLIST pidl,LPCOLESTR lpszName,SHGDNF uFlags,LPITEMIDLIST *ppidlOut) { + return This->lpVtbl->SetNameOf(This,hwnd,pidl,lpszName,uFlags,ppidlOut); +} +/*** IShellFolder2 methods ***/ +static FORCEINLINE HRESULT IShellFolder2_GetDefaultSearchGUID(IShellFolder2* This,GUID *lpguid) { + return This->lpVtbl->GetDefaultSearchGUID(This,lpguid); +} +static FORCEINLINE HRESULT IShellFolder2_EnumSearches(IShellFolder2* This,IEnumExtraSearch **ppenum) { + return This->lpVtbl->EnumSearches(This,ppenum); +} +static FORCEINLINE HRESULT IShellFolder2_GetDefaultColumn(IShellFolder2* This,DWORD dwReserved,ULONG *pSort,ULONG *pDisplay) { + return This->lpVtbl->GetDefaultColumn(This,dwReserved,pSort,pDisplay); +} +static FORCEINLINE HRESULT IShellFolder2_GetDefaultColumnState(IShellFolder2* This,UINT iColumn,SHCOLSTATEF *pcsFlags) { + return This->lpVtbl->GetDefaultColumnState(This,iColumn,pcsFlags); +} +static FORCEINLINE HRESULT IShellFolder2_GetDetailsEx(IShellFolder2* This,LPCITEMIDLIST pidl,const SHCOLUMNID *pscid,VARIANT *pv) { + return This->lpVtbl->GetDetailsEx(This,pidl,pscid,pv); +} +static FORCEINLINE HRESULT IShellFolder2_GetDetailsOf(IShellFolder2* This,LPCITEMIDLIST pidl,UINT iColumn,SHELLDETAILS *psd) { + return This->lpVtbl->GetDetailsOf(This,pidl,iColumn,psd); +} +static FORCEINLINE HRESULT IShellFolder2_MapColumnToSCID(IShellFolder2* This,UINT iColumn,SHCOLUMNID *pscid) { + return This->lpVtbl->MapColumnToSCID(This,iColumn,pscid); +} +#endif +#endif + +#endif + + +#endif /* __IShellFolder2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellItem interface + */ +#ifndef __IShellItem_INTERFACE_DEFINED__ +#define __IShellItem_INTERFACE_DEFINED__ + +typedef enum __WIDL_shobjidl_generated_name_00000018 { + SIGDN_NORMALDISPLAY = 0, + SIGDN_PARENTRELATIVEPARSING = 0x80018001, + SIGDN_DESKTOPABSOLUTEPARSING = 0x80028000, + SIGDN_PARENTRELATIVEEDITING = 0x80031001, + SIGDN_DESKTOPABSOLUTEEDITING = 0x8004c000, + SIGDN_FILESYSPATH = 0x80058000, + SIGDN_URL = 0x80068000, + SIGDN_PARENTRELATIVEFORADDRESSBAR = 0x8007c001, + SIGDN_PARENTRELATIVE = 0x80080001, + SIGDN_PARENTRELATIVEFORUI = 0x80094001 +} SIGDN; +enum _SICHINTF { + SICHINT_DISPLAY = 0x0, + SICHINT_CANONICAL = 0x10000000, + SICHINT_TEST_FILESYSPATH_IF_NOT_EQUAL = 0x20000000, + SICHINT_ALLFIELDS = 0x80000000 +}; +typedef DWORD SICHINTF; +DEFINE_GUID(IID_IShellItem, 0x43826d1e, 0xe718, 0x42ee, 0xbc,0x55, 0xa1,0xe2,0x61,0xc3,0x7b,0xfe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("43826d1e-e718-42ee-bc55-a1e261c37bfe") +IShellItem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BindToHandler( + IBindCtx *pbc, + REFGUID rbhid, + REFIID riid, + void **ppvOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetParent( + IShellItem **ppsi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + SIGDN sigdnName, + LPWSTR *ppszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributes( + SFGAOF sfgaoMask, + SFGAOF *psfgaoAttribs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Compare( + IShellItem *psi, + SICHINTF hint, + int *piOrder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellItem, 0x43826d1e, 0xe718, 0x42ee, 0xbc,0x55, 0xa1,0xe2,0x61,0xc3,0x7b,0xfe) +#endif +#else +typedef struct IShellItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellItem *This); + + /*** IShellItem methods ***/ + HRESULT (STDMETHODCALLTYPE *BindToHandler)( + IShellItem *This, + IBindCtx *pbc, + REFGUID rbhid, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IShellItem *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IShellItem *This, + SIGDN sigdnName, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetAttributes)( + IShellItem *This, + SFGAOF sfgaoMask, + SFGAOF *psfgaoAttribs); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IShellItem *This, + IShellItem *psi, + SICHINTF hint, + int *piOrder); + + END_INTERFACE +} IShellItemVtbl; + +interface IShellItem { + CONST_VTBL IShellItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellItem_Release(This) (This)->lpVtbl->Release(This) +/*** IShellItem methods ***/ +#define IShellItem_BindToHandler(This,pbc,rbhid,riid,ppvOut) (This)->lpVtbl->BindToHandler(This,pbc,rbhid,riid,ppvOut) +#define IShellItem_GetParent(This,ppsi) (This)->lpVtbl->GetParent(This,ppsi) +#define IShellItem_GetDisplayName(This,sigdnName,ppszName) (This)->lpVtbl->GetDisplayName(This,sigdnName,ppszName) +#define IShellItem_GetAttributes(This,sfgaoMask,psfgaoAttribs) (This)->lpVtbl->GetAttributes(This,sfgaoMask,psfgaoAttribs) +#define IShellItem_Compare(This,psi,hint,piOrder) (This)->lpVtbl->Compare(This,psi,hint,piOrder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellItem_QueryInterface(IShellItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellItem_AddRef(IShellItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellItem_Release(IShellItem* This) { + return This->lpVtbl->Release(This); +} +/*** IShellItem methods ***/ +static FORCEINLINE HRESULT IShellItem_BindToHandler(IShellItem* This,IBindCtx *pbc,REFGUID rbhid,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToHandler(This,pbc,rbhid,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellItem_GetParent(IShellItem* This,IShellItem **ppsi) { + return This->lpVtbl->GetParent(This,ppsi); +} +static FORCEINLINE HRESULT IShellItem_GetDisplayName(IShellItem* This,SIGDN sigdnName,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,sigdnName,ppszName); +} +static FORCEINLINE HRESULT IShellItem_GetAttributes(IShellItem* This,SFGAOF sfgaoMask,SFGAOF *psfgaoAttribs) { + return This->lpVtbl->GetAttributes(This,sfgaoMask,psfgaoAttribs); +} +static FORCEINLINE HRESULT IShellItem_Compare(IShellItem* This,IShellItem *psi,SICHINTF hint,int *piOrder) { + return This->lpVtbl->Compare(This,psi,hint,piOrder); +} +#endif +#endif + +#endif + + +#endif /* __IShellItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellItem2 interface + */ +#ifndef __IShellItem2_INTERFACE_DEFINED__ +#define __IShellItem2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellItem2, 0x7e9fb0d3, 0x919f, 0x4307, 0xab,0x2e, 0x9b,0x18,0x60,0x31,0x0c,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7e9fb0d3-919f-4307-ab2e-9b1860310c93") +IShellItem2 : public IShellItem +{ + virtual HRESULT STDMETHODCALLTYPE GetPropertyStore( + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyStoreWithCreateObject( + GETPROPERTYSTOREFLAGS flags, + IUnknown *punkCreateObject, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyStoreForKeys( + const PROPERTYKEY *rgKeys, + UINT cKeys, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionList( + REFPROPERTYKEY keyType, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE Update( + IBindCtx *pbc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + REFPROPERTYKEY key, + PROPVARIANT *ppropvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCLSID( + REFPROPERTYKEY key, + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileTime( + REFPROPERTYKEY key, + FILETIME *pft) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInt32( + REFPROPERTYKEY key, + int *pi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetString( + REFPROPERTYKEY key, + LPWSTR *ppsz) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUInt32( + REFPROPERTYKEY key, + ULONG *pui) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUInt64( + REFPROPERTYKEY key, + ULONGLONG *pull) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBool( + REFPROPERTYKEY key, + BOOL *pf) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellItem2, 0x7e9fb0d3, 0x919f, 0x4307, 0xab,0x2e, 0x9b,0x18,0x60,0x31,0x0c,0x93) +#endif +#else +typedef struct IShellItem2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellItem2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellItem2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellItem2 *This); + + /*** IShellItem methods ***/ + HRESULT (STDMETHODCALLTYPE *BindToHandler)( + IShellItem2 *This, + IBindCtx *pbc, + REFGUID rbhid, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IShellItem2 *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IShellItem2 *This, + SIGDN sigdnName, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *GetAttributes)( + IShellItem2 *This, + SFGAOF sfgaoMask, + SFGAOF *psfgaoAttribs); + + HRESULT (STDMETHODCALLTYPE *Compare)( + IShellItem2 *This, + IShellItem *psi, + SICHINTF hint, + int *piOrder); + + /*** IShellItem2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyStore)( + IShellItem2 *This, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStoreWithCreateObject)( + IShellItem2 *This, + GETPROPERTYSTOREFLAGS flags, + IUnknown *punkCreateObject, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStoreForKeys)( + IShellItem2 *This, + const PROPERTYKEY *rgKeys, + UINT cKeys, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyDescriptionList)( + IShellItem2 *This, + REFPROPERTYKEY keyType, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *Update)( + IShellItem2 *This, + IBindCtx *pbc); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IShellItem2 *This, + REFPROPERTYKEY key, + PROPVARIANT *ppropvar); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IShellItem2 *This, + REFPROPERTYKEY key, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetFileTime)( + IShellItem2 *This, + REFPROPERTYKEY key, + FILETIME *pft); + + HRESULT (STDMETHODCALLTYPE *GetInt32)( + IShellItem2 *This, + REFPROPERTYKEY key, + int *pi); + + HRESULT (STDMETHODCALLTYPE *GetString)( + IShellItem2 *This, + REFPROPERTYKEY key, + LPWSTR *ppsz); + + HRESULT (STDMETHODCALLTYPE *GetUInt32)( + IShellItem2 *This, + REFPROPERTYKEY key, + ULONG *pui); + + HRESULT (STDMETHODCALLTYPE *GetUInt64)( + IShellItem2 *This, + REFPROPERTYKEY key, + ULONGLONG *pull); + + HRESULT (STDMETHODCALLTYPE *GetBool)( + IShellItem2 *This, + REFPROPERTYKEY key, + BOOL *pf); + + END_INTERFACE +} IShellItem2Vtbl; + +interface IShellItem2 { + CONST_VTBL IShellItem2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellItem2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellItem2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellItem2_Release(This) (This)->lpVtbl->Release(This) +/*** IShellItem methods ***/ +#define IShellItem2_BindToHandler(This,pbc,rbhid,riid,ppvOut) (This)->lpVtbl->BindToHandler(This,pbc,rbhid,riid,ppvOut) +#define IShellItem2_GetParent(This,ppsi) (This)->lpVtbl->GetParent(This,ppsi) +#define IShellItem2_GetDisplayName(This,sigdnName,ppszName) (This)->lpVtbl->GetDisplayName(This,sigdnName,ppszName) +#define IShellItem2_GetAttributes(This,sfgaoMask,psfgaoAttribs) (This)->lpVtbl->GetAttributes(This,sfgaoMask,psfgaoAttribs) +#define IShellItem2_Compare(This,psi,hint,piOrder) (This)->lpVtbl->Compare(This,psi,hint,piOrder) +/*** IShellItem2 methods ***/ +#define IShellItem2_GetPropertyStore(This,flags,riid,ppv) (This)->lpVtbl->GetPropertyStore(This,flags,riid,ppv) +#define IShellItem2_GetPropertyStoreWithCreateObject(This,flags,punkCreateObject,riid,ppv) (This)->lpVtbl->GetPropertyStoreWithCreateObject(This,flags,punkCreateObject,riid,ppv) +#define IShellItem2_GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv) (This)->lpVtbl->GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv) +#define IShellItem2_GetPropertyDescriptionList(This,keyType,riid,ppv) (This)->lpVtbl->GetPropertyDescriptionList(This,keyType,riid,ppv) +#define IShellItem2_Update(This,pbc) (This)->lpVtbl->Update(This,pbc) +#define IShellItem2_GetProperty(This,key,ppropvar) (This)->lpVtbl->GetProperty(This,key,ppropvar) +#define IShellItem2_GetCLSID(This,key,pclsid) (This)->lpVtbl->GetCLSID(This,key,pclsid) +#define IShellItem2_GetFileTime(This,key,pft) (This)->lpVtbl->GetFileTime(This,key,pft) +#define IShellItem2_GetInt32(This,key,pi) (This)->lpVtbl->GetInt32(This,key,pi) +#define IShellItem2_GetString(This,key,ppsz) (This)->lpVtbl->GetString(This,key,ppsz) +#define IShellItem2_GetUInt32(This,key,pui) (This)->lpVtbl->GetUInt32(This,key,pui) +#define IShellItem2_GetUInt64(This,key,pull) (This)->lpVtbl->GetUInt64(This,key,pull) +#define IShellItem2_GetBool(This,key,pf) (This)->lpVtbl->GetBool(This,key,pf) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellItem2_QueryInterface(IShellItem2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellItem2_AddRef(IShellItem2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellItem2_Release(IShellItem2* This) { + return This->lpVtbl->Release(This); +} +/*** IShellItem methods ***/ +static FORCEINLINE HRESULT IShellItem2_BindToHandler(IShellItem2* This,IBindCtx *pbc,REFGUID rbhid,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToHandler(This,pbc,rbhid,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellItem2_GetParent(IShellItem2* This,IShellItem **ppsi) { + return This->lpVtbl->GetParent(This,ppsi); +} +static FORCEINLINE HRESULT IShellItem2_GetDisplayName(IShellItem2* This,SIGDN sigdnName,LPWSTR *ppszName) { + return This->lpVtbl->GetDisplayName(This,sigdnName,ppszName); +} +static FORCEINLINE HRESULT IShellItem2_GetAttributes(IShellItem2* This,SFGAOF sfgaoMask,SFGAOF *psfgaoAttribs) { + return This->lpVtbl->GetAttributes(This,sfgaoMask,psfgaoAttribs); +} +static FORCEINLINE HRESULT IShellItem2_Compare(IShellItem2* This,IShellItem *psi,SICHINTF hint,int *piOrder) { + return This->lpVtbl->Compare(This,psi,hint,piOrder); +} +/*** IShellItem2 methods ***/ +static FORCEINLINE HRESULT IShellItem2_GetPropertyStore(IShellItem2* This,GETPROPERTYSTOREFLAGS flags,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStore(This,flags,riid,ppv); +} +static FORCEINLINE HRESULT IShellItem2_GetPropertyStoreWithCreateObject(IShellItem2* This,GETPROPERTYSTOREFLAGS flags,IUnknown *punkCreateObject,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStoreWithCreateObject(This,flags,punkCreateObject,riid,ppv); +} +static FORCEINLINE HRESULT IShellItem2_GetPropertyStoreForKeys(IShellItem2* This,const PROPERTYKEY *rgKeys,UINT cKeys,GETPROPERTYSTOREFLAGS flags,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStoreForKeys(This,rgKeys,cKeys,flags,riid,ppv); +} +static FORCEINLINE HRESULT IShellItem2_GetPropertyDescriptionList(IShellItem2* This,REFPROPERTYKEY keyType,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyDescriptionList(This,keyType,riid,ppv); +} +static FORCEINLINE HRESULT IShellItem2_Update(IShellItem2* This,IBindCtx *pbc) { + return This->lpVtbl->Update(This,pbc); +} +static FORCEINLINE HRESULT IShellItem2_GetProperty(IShellItem2* This,REFPROPERTYKEY key,PROPVARIANT *ppropvar) { + return This->lpVtbl->GetProperty(This,key,ppropvar); +} +static FORCEINLINE HRESULT IShellItem2_GetCLSID(IShellItem2* This,REFPROPERTYKEY key,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,key,pclsid); +} +static FORCEINLINE HRESULT IShellItem2_GetFileTime(IShellItem2* This,REFPROPERTYKEY key,FILETIME *pft) { + return This->lpVtbl->GetFileTime(This,key,pft); +} +static FORCEINLINE HRESULT IShellItem2_GetInt32(IShellItem2* This,REFPROPERTYKEY key,int *pi) { + return This->lpVtbl->GetInt32(This,key,pi); +} +static FORCEINLINE HRESULT IShellItem2_GetString(IShellItem2* This,REFPROPERTYKEY key,LPWSTR *ppsz) { + return This->lpVtbl->GetString(This,key,ppsz); +} +static FORCEINLINE HRESULT IShellItem2_GetUInt32(IShellItem2* This,REFPROPERTYKEY key,ULONG *pui) { + return This->lpVtbl->GetUInt32(This,key,pui); +} +static FORCEINLINE HRESULT IShellItem2_GetUInt64(IShellItem2* This,REFPROPERTYKEY key,ULONGLONG *pull) { + return This->lpVtbl->GetUInt64(This,key,pull); +} +static FORCEINLINE HRESULT IShellItem2_GetBool(IShellItem2* This,REFPROPERTYKEY key,BOOL *pf) { + return This->lpVtbl->GetBool(This,key,pf); +} +#endif +#endif + +#endif + + +#endif /* __IShellItem2_INTERFACE_DEFINED__ */ + +typedef enum tagNWMF { + NWMF_UNLOADING = 0x1, + NWMF_USERINITED = 0x2, + NWMF_FIRST = 0x4, + NWMF_OVERRIDEKEY = 0x8, + NWMF_SHOWHELP = 0x10, + NWMF_HTMLDIALOG = 0x20, + NWMF_FROMDIALOGCHILD = 0x40, + NWMF_USERREQUESTED = 0x80, + NWMF_USERALLOWED = 0x100, + NWMF_FORCEWINDOW = 0x10000, + NWMF_FORCETAB = 0x20000, + NWMF_SUGGESTWINDOW = 0x40000, + NWMF_SUGGESTTAB = 0x80000, + NWMF_INACTIVETAB = 0x100000 +} NWMF; +/***************************************************************************** + * INewWindowManager interface + */ +#ifndef __INewWindowManager_INTERFACE_DEFINED__ +#define __INewWindowManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INewWindowManager, 0xd2bc4c84, 0x3f72, 0x4a52, 0xa6,0x04, 0x7b,0xcb,0xf3,0x98,0x2c,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d2bc4c84-3f72-4a52-a604-7bcbf3982cbb") +INewWindowManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EvaluateNewWindow( + LPCWSTR pszUrl, + LPCWSTR pszName, + LPCWSTR pszUrlContext, + LPCWSTR pszFeatures, + BOOL fReplace, + DWORD dwFlags, + DWORD dwUserActionTime) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INewWindowManager, 0xd2bc4c84, 0x3f72, 0x4a52, 0xa6,0x04, 0x7b,0xcb,0xf3,0x98,0x2c,0xbb) +#endif +#else +typedef struct INewWindowManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INewWindowManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INewWindowManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INewWindowManager *This); + + /*** INewWindowManager methods ***/ + HRESULT (STDMETHODCALLTYPE *EvaluateNewWindow)( + INewWindowManager *This, + LPCWSTR pszUrl, + LPCWSTR pszName, + LPCWSTR pszUrlContext, + LPCWSTR pszFeatures, + BOOL fReplace, + DWORD dwFlags, + DWORD dwUserActionTime); + + END_INTERFACE +} INewWindowManagerVtbl; + +interface INewWindowManager { + CONST_VTBL INewWindowManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INewWindowManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INewWindowManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INewWindowManager_Release(This) (This)->lpVtbl->Release(This) +/*** INewWindowManager methods ***/ +#define INewWindowManager_EvaluateNewWindow(This,pszUrl,pszName,pszUrlContext,pszFeatures,fReplace,dwFlags,dwUserActionTime) (This)->lpVtbl->EvaluateNewWindow(This,pszUrl,pszName,pszUrlContext,pszFeatures,fReplace,dwFlags,dwUserActionTime) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INewWindowManager_QueryInterface(INewWindowManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INewWindowManager_AddRef(INewWindowManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INewWindowManager_Release(INewWindowManager* This) { + return This->lpVtbl->Release(This); +} +/*** INewWindowManager methods ***/ +static FORCEINLINE HRESULT INewWindowManager_EvaluateNewWindow(INewWindowManager* This,LPCWSTR pszUrl,LPCWSTR pszName,LPCWSTR pszUrlContext,LPCWSTR pszFeatures,BOOL fReplace,DWORD dwFlags,DWORD dwUserActionTime) { + return This->lpVtbl->EvaluateNewWindow(This,pszUrl,pszName,pszUrlContext,pszFeatures,fReplace,dwFlags,dwUserActionTime); +} +#endif +#endif + +#endif + + +#endif /* __INewWindowManager_INTERFACE_DEFINED__ */ + +#define SID_SNewWindowManager IID_INewWindowManager +/***************************************************************************** + * IEnumShellItems interface + */ +#ifndef __IEnumShellItems_INTERFACE_DEFINED__ +#define __IEnumShellItems_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumShellItems, 0x70629033, 0xe363, 0x4a28, 0xa5,0x67, 0x0d,0xb7,0x80,0x06,0xe6,0xd7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70629033-e363-4a28-a567-0db78006e6d7") +IEnumShellItems : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IShellItem **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumShellItems **ppenum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumShellItems, 0x70629033, 0xe363, 0x4a28, 0xa5,0x67, 0x0d,0xb7,0x80,0x06,0xe6,0xd7) +#endif +#else +typedef struct IEnumShellItemsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumShellItems *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumShellItems *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumShellItems *This); + + /*** IEnumShellItems methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumShellItems *This, + ULONG celt, + IShellItem **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumShellItems *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumShellItems *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumShellItems *This, + IEnumShellItems **ppenum); + + END_INTERFACE +} IEnumShellItemsVtbl; + +interface IEnumShellItems { + CONST_VTBL IEnumShellItemsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumShellItems_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumShellItems_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumShellItems_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumShellItems methods ***/ +#define IEnumShellItems_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumShellItems_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumShellItems_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumShellItems_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumShellItems_QueryInterface(IEnumShellItems* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumShellItems_AddRef(IEnumShellItems* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumShellItems_Release(IEnumShellItems* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumShellItems methods ***/ +static FORCEINLINE HRESULT IEnumShellItems_Next(IEnumShellItems* This,ULONG celt,IShellItem **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumShellItems_Skip(IEnumShellItems* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumShellItems_Reset(IEnumShellItems* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumShellItems_Clone(IEnumShellItems* This,IEnumShellItems **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumShellItems_RemoteNext_Proxy( + IEnumShellItems* This, + ULONG celt, + IShellItem **rgelt, + ULONG *pceltFetched); +void __RPC_STUB IEnumShellItems_RemoteNext_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IEnumShellItems_Next_Proxy( + IEnumShellItems* This, + ULONG celt, + IShellItem **rgelt, + ULONG *pceltFetched); +HRESULT __RPC_STUB IEnumShellItems_Next_Stub( + IEnumShellItems* This, + ULONG celt, + IShellItem **rgelt, + ULONG *pceltFetched); + +#endif /* __IEnumShellItems_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellItemArray interface + */ +#ifndef __IShellItemArray_INTERFACE_DEFINED__ +#define __IShellItemArray_INTERFACE_DEFINED__ + +typedef enum SIATTRIBFLAGS { + SIATTRIBFLAGS_AND = 0x1, + SIATTRIBFLAGS_OR = 0x2, + SIATTRIBFLAGS_APPCOMPAT = 0x3, + SIATTRIBFLAGS_MASK = 0x3, + SIATTRIBFLAGS_ALLITEMS = 0x4000 +} SIATTRIBFLAGS; +DEFINE_ENUM_FLAG_OPERATORS(SIATTRIBFLAGS) +DEFINE_GUID(IID_IShellItemArray, 0xb63ea76d, 0x1f85, 0x456f, 0xa1,0x9c, 0x48,0x15,0x9e,0xfa,0x85,0x8b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b63ea76d-1f85-456f-a19c-48159efa858b") +IShellItemArray : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BindToHandler( + IBindCtx *pbc, + REFGUID bhid, + REFIID riid, + void **ppvOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyStore( + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionList( + REFPROPERTYKEY keyType, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributes( + SIATTRIBFLAGS AttribFlags, + SFGAOF sfgaoMask, + SFGAOF *psfgaoAttribs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + DWORD *pdwNumItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemAt( + DWORD dwIndex, + IShellItem **ppsi) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumItems( + IEnumShellItems **ppenumShellItems) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellItemArray, 0xb63ea76d, 0x1f85, 0x456f, 0xa1,0x9c, 0x48,0x15,0x9e,0xfa,0x85,0x8b) +#endif +#else +typedef struct IShellItemArrayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellItemArray *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellItemArray *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellItemArray *This); + + /*** IShellItemArray methods ***/ + HRESULT (STDMETHODCALLTYPE *BindToHandler)( + IShellItemArray *This, + IBindCtx *pbc, + REFGUID bhid, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *GetPropertyStore)( + IShellItemArray *This, + GETPROPERTYSTOREFLAGS flags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPropertyDescriptionList)( + IShellItemArray *This, + REFPROPERTYKEY keyType, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetAttributes)( + IShellItemArray *This, + SIATTRIBFLAGS AttribFlags, + SFGAOF sfgaoMask, + SFGAOF *psfgaoAttribs); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IShellItemArray *This, + DWORD *pdwNumItems); + + HRESULT (STDMETHODCALLTYPE *GetItemAt)( + IShellItemArray *This, + DWORD dwIndex, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *EnumItems)( + IShellItemArray *This, + IEnumShellItems **ppenumShellItems); + + END_INTERFACE +} IShellItemArrayVtbl; + +interface IShellItemArray { + CONST_VTBL IShellItemArrayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellItemArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellItemArray_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellItemArray_Release(This) (This)->lpVtbl->Release(This) +/*** IShellItemArray methods ***/ +#define IShellItemArray_BindToHandler(This,pbc,bhid,riid,ppvOut) (This)->lpVtbl->BindToHandler(This,pbc,bhid,riid,ppvOut) +#define IShellItemArray_GetPropertyStore(This,flags,riid,ppv) (This)->lpVtbl->GetPropertyStore(This,flags,riid,ppv) +#define IShellItemArray_GetPropertyDescriptionList(This,keyType,riid,ppv) (This)->lpVtbl->GetPropertyDescriptionList(This,keyType,riid,ppv) +#define IShellItemArray_GetAttributes(This,AttribFlags,sfgaoMask,psfgaoAttribs) (This)->lpVtbl->GetAttributes(This,AttribFlags,sfgaoMask,psfgaoAttribs) +#define IShellItemArray_GetCount(This,pdwNumItems) (This)->lpVtbl->GetCount(This,pdwNumItems) +#define IShellItemArray_GetItemAt(This,dwIndex,ppsi) (This)->lpVtbl->GetItemAt(This,dwIndex,ppsi) +#define IShellItemArray_EnumItems(This,ppenumShellItems) (This)->lpVtbl->EnumItems(This,ppenumShellItems) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellItemArray_QueryInterface(IShellItemArray* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellItemArray_AddRef(IShellItemArray* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellItemArray_Release(IShellItemArray* This) { + return This->lpVtbl->Release(This); +} +/*** IShellItemArray methods ***/ +static FORCEINLINE HRESULT IShellItemArray_BindToHandler(IShellItemArray* This,IBindCtx *pbc,REFGUID bhid,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToHandler(This,pbc,bhid,riid,ppvOut); +} +static FORCEINLINE HRESULT IShellItemArray_GetPropertyStore(IShellItemArray* This,GETPROPERTYSTOREFLAGS flags,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyStore(This,flags,riid,ppv); +} +static FORCEINLINE HRESULT IShellItemArray_GetPropertyDescriptionList(IShellItemArray* This,REFPROPERTYKEY keyType,REFIID riid,void **ppv) { + return This->lpVtbl->GetPropertyDescriptionList(This,keyType,riid,ppv); +} +static FORCEINLINE HRESULT IShellItemArray_GetAttributes(IShellItemArray* This,SIATTRIBFLAGS AttribFlags,SFGAOF sfgaoMask,SFGAOF *psfgaoAttribs) { + return This->lpVtbl->GetAttributes(This,AttribFlags,sfgaoMask,psfgaoAttribs); +} +static FORCEINLINE HRESULT IShellItemArray_GetCount(IShellItemArray* This,DWORD *pdwNumItems) { + return This->lpVtbl->GetCount(This,pdwNumItems); +} +static FORCEINLINE HRESULT IShellItemArray_GetItemAt(IShellItemArray* This,DWORD dwIndex,IShellItem **ppsi) { + return This->lpVtbl->GetItemAt(This,dwIndex,ppsi); +} +static FORCEINLINE HRESULT IShellItemArray_EnumItems(IShellItemArray* This,IEnumShellItems **ppenumShellItems) { + return This->lpVtbl->EnumItems(This,ppenumShellItems); +} +#endif +#endif + +#endif + + +#endif /* __IShellItemArray_INTERFACE_DEFINED__ */ + +typedef enum DATAOBJ_GET_ITEM_FLAGS { + DOGIF_DEFAULT = 0x0, + DOGIF_TRAVERSE_LINK = 0x1, + DOGIF_NO_HDROP = 0x2, + DOGIF_NO_URL = 0x4, + DOGIF_ONLY_IF_ONE = 0x8 +} DATAOBJ_GET_ITEM_FLAGS; +DEFINE_ENUM_FLAG_OPERATORS(DATAOBJ_GET_ITEM_FLAGS) +HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl, SIGDN sigdnName, PWSTR *ppszName); +HRESULT WINAPI SHCreateItemFromParsingName(PCWSTR pszPath, IBindCtx *pbc, REFIID riid, void **ppv); +HRESULT WINAPI SHCreateItemFromIDList(PCIDLIST_ABSOLUTE pidl, REFIID riid, void **ppv); +HRESULT WINAPI SHCreateItemFromRelativeName(IShellItem *parent, PCWSTR name, IBindCtx *pbc, REFIID riid, void **ppv); +HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv); +HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl); +HRESULT WINAPI SHGetItemFromObject(IUnknown *punk, REFIID riid, void **ppv); +HRESULT WINAPI SHCreateShellItemArray(PCIDLIST_ABSOLUTE pidlParent, IShellFolder* psf, UINT cidl, PCUITEMID_CHILD_ARRAY ppidl, IShellItemArray **ppsiItemArray); +HRESULT WINAPI SHCreateShellItemArrayFromShellItem(IShellItem *psi, REFIID riid, void **ppv); +HRESULT WINAPI SHCreateShellItemArrayFromIDLists(UINT cidl, PCIDLIST_ABSOLUTE_ARRAY pidl_array, IShellItemArray **psia); +HRESULT WINAPI SHCreateItemInKnownFolder(REFKNOWNFOLDERID rfid, DWORD flags, PCWSTR filename, REFIID riid, void **ppv); +HRESULT WINAPI SHCreateShellItemArrayFromDataObject(IDataObject *pdo, REFIID riid, void **ppv); +/***************************************************************************** + * IShellItemFilter interface + */ +#ifndef __IShellItemFilter_INTERFACE_DEFINED__ +#define __IShellItemFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellItemFilter, 0x2659b475, 0xeeb8, 0x48b7, 0x8f,0x07, 0xb3,0x78,0x81,0x0f,0x48,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2659b475-eeb8-48b7-8f07-b378810f48cf") +IShellItemFilter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IncludeItem( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnumFlagsForItem( + IShellItem *psi, + SHCONTF *pgrfFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellItemFilter, 0x2659b475, 0xeeb8, 0x48b7, 0x8f,0x07, 0xb3,0x78,0x81,0x0f,0x48,0xcf) +#endif +#else +typedef struct IShellItemFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellItemFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellItemFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellItemFilter *This); + + /*** IShellItemFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *IncludeItem)( + IShellItemFilter *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *GetEnumFlagsForItem)( + IShellItemFilter *This, + IShellItem *psi, + SHCONTF *pgrfFlags); + + END_INTERFACE +} IShellItemFilterVtbl; + +interface IShellItemFilter { + CONST_VTBL IShellItemFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellItemFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellItemFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellItemFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IShellItemFilter methods ***/ +#define IShellItemFilter_IncludeItem(This,psi) (This)->lpVtbl->IncludeItem(This,psi) +#define IShellItemFilter_GetEnumFlagsForItem(This,psi,pgrfFlags) (This)->lpVtbl->GetEnumFlagsForItem(This,psi,pgrfFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellItemFilter_QueryInterface(IShellItemFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellItemFilter_AddRef(IShellItemFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellItemFilter_Release(IShellItemFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IShellItemFilter methods ***/ +static FORCEINLINE HRESULT IShellItemFilter_IncludeItem(IShellItemFilter* This,IShellItem *psi) { + return This->lpVtbl->IncludeItem(This,psi); +} +static FORCEINLINE HRESULT IShellItemFilter_GetEnumFlagsForItem(IShellItemFilter* This,IShellItem *psi,SHCONTF *pgrfFlags) { + return This->lpVtbl->GetEnumFlagsForItem(This,psi,pgrfFlags); +} +#endif +#endif + +#endif + + +#endif /* __IShellItemFilter_INTERFACE_DEFINED__ */ + +typedef char *LPVIEWSETTINGS; +typedef enum FOLDERFLAGS { + FWF_AUTOARRANGE = 0x1, + FWF_ABBREVIATEDNAMES = 0x2, + FWF_SNAPTOGRID = 0x4, + FWF_OWNERDATA = 0x8, + FWF_BESTFITWINDOW = 0x10, + FWF_DESKTOP = 0x20, + FWF_SINGLESEL = 0x40, + FWF_NOSUBFOLDERS = 0x80, + FWF_TRANSPARENT = 0x100, + FWF_NOCLIENTEDGE = 0x200, + FWF_NOSCROLL = 0x400, + FWF_ALIGNLEFT = 0x800, + FWF_NOICONS = 0x1000, + FWF_SHOWSELALWAYS = 0x2000, + FWF_NOVISIBLE = 0x4000, + FWF_SINGLECLICKACTIVATE = 0x8000, + FWF_NOWEBVIEW = 0x10000, + FWF_HIDEFILENAMES = 0x20000, + FWF_CHECKSELECT = 0x40000, + FWF_NOENUMREFRESH = 0x80000, + FWF_NOGROUPING = 0x100000, + FWF_FULLROWSELECT = 0x200000, + FWF_NOFILTERS = 0x400000, + FWF_NOCOLUMNHEADER = 0x800000, + FWF_NOHEADERINALLVIEWS = 0x1000000, + FWF_EXTENDEDTILES = 0x2000000, + FWF_TRICHECKSELECT = 0x4000000, + FWF_AUTOCHECKSELECT = 0x8000000, + FWF_NOBROWSERVIEWSTATE = 0x10000000, + FWF_SUBSETGROUPS = 0x20000000, + FWF_USESEARCHFOLDER = 0x40000000, + FWF_ALLOWRTLREADING = 0x80000000 +} FOLDERFLAGS; +typedef enum FOLDERVIEWMODE { + FVM_AUTO = -1, + FVM_ICON = 1, + FVM_FIRST = FVM_ICON, + FVM_SMALLICON = 2, + FVM_LIST = 3, + FVM_DETAILS = 4, + FVM_THUMBNAIL = 5, + FVM_TILE = 6, + FVM_THUMBSTRIP = 7, + FVM_CONTENT = 8, + FVM_LAST = FVM_CONTENT +} FOLDERVIEWMODE; +typedef struct __WIDL_shobjidl_generated_name_00000019 { + UINT ViewMode; + UINT fFlags; +} FOLDERSETTINGS; +typedef struct __WIDL_shobjidl_generated_name_00000019 *PFOLDERSETTINGS; +typedef struct __WIDL_shobjidl_generated_name_00000019 *LPFOLDERSETTINGS; +typedef const FOLDERSETTINGS *LPCFOLDERSETTINGS; +/***************************************************************************** + * IShellIcon interface + */ +#ifndef __IShellIcon_INTERFACE_DEFINED__ +#define __IShellIcon_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellIcon, 0x000214e5, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e5-0000-0000-c000-000000000046") +IShellIcon : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIconOf( + PCUITEMID_CHILD pidl, + UINT flags, + int *pIconIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellIcon, 0x000214e5, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellIconVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellIcon *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellIcon *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellIcon *This); + + /*** IShellIcon methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIconOf)( + IShellIcon *This, + PCUITEMID_CHILD pidl, + UINT flags, + int *pIconIndex); + + END_INTERFACE +} IShellIconVtbl; + +interface IShellIcon { + CONST_VTBL IShellIconVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellIcon_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellIcon_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellIcon_Release(This) (This)->lpVtbl->Release(This) +/*** IShellIcon methods ***/ +#define IShellIcon_GetIconOf(This,pidl,flags,pIconIndex) (This)->lpVtbl->GetIconOf(This,pidl,flags,pIconIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellIcon_QueryInterface(IShellIcon* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellIcon_AddRef(IShellIcon* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellIcon_Release(IShellIcon* This) { + return This->lpVtbl->Release(This); +} +/*** IShellIcon methods ***/ +static FORCEINLINE HRESULT IShellIcon_GetIconOf(IShellIcon* This,PCUITEMID_CHILD pidl,UINT flags,int *pIconIndex) { + return This->lpVtbl->GetIconOf(This,pidl,flags,pIconIndex); +} +#endif +#endif + +#endif + + +#endif /* __IShellIcon_INTERFACE_DEFINED__ */ + +#ifndef __IShellBrowser_FWD_DEFINED__ +#define __IShellBrowser_FWD_DEFINED__ +typedef interface IShellBrowser IShellBrowser; +#ifdef __cplusplus +interface IShellBrowser; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IShellView interface + */ +#ifndef __IShellView_INTERFACE_DEFINED__ +#define __IShellView_INTERFACE_DEFINED__ + +typedef IShellView *LPSHELLVIEW; +typedef enum _SVSIF { + SVSI_DESELECT = 0x0, + SVSI_SELECT = 0x1, + SVSI_EDIT = 0x3, + SVSI_DESELECTOTHERS = 0x4, + SVSI_ENSUREVISIBLE = 0x8, + SVSI_FOCUSED = 0x10, + SVSI_TRANSLATEPT = 0x20, + SVSI_SELECTIONMARK = 0x40, + SVSI_POSITIONITEM = 0x80, + SVSI_CHECK = 0x100, + SVSI_CHECK2 = 0x200, + SVSI_KEYBOARDSELECT = 0x401, + SVSI_NOTAKEFOCUS = 0x40000000 +} _SVSIF; +#define SVSI_NOSTATECHANGE 0x80000000 +typedef UINT SVSIF; +typedef enum _SVGIO { + SVGIO_BACKGROUND = 0x0, + SVGIO_SELECTION = 0x1, + SVGIO_ALLVIEW = 0x2, + SVGIO_CHECKED = 0x3, + SVGIO_TYPE_MASK = 0xf, + SVGIO_FLAG_VIEWORDER = 0x80000000 +} _SVGIO; +typedef INT SVGIO; +typedef enum SVUIA_STATUS { + SVUIA_DEACTIVATE = 0, + SVUIA_ACTIVATE_NOFOCUS = 1, + SVUIA_ACTIVATE_FOCUS = 2, + SVUIA_INPLACEACTIVATE = 3 +} SVUIA_STATUS; +DEFINE_GUID(IID_IShellView, 0x000214e3, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e3-0000-0000-c000-000000000046") +IShellView : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( + MSG *pmsg) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + BOOL fEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE UIActivate( + UINT uState) = 0; + + virtual HRESULT STDMETHODCALLTYPE Refresh( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateViewWindow( + IShellView *psvPrevious, + LPCFOLDERSETTINGS lpfs, + IShellBrowser *psb, + RECT *prcView, + HWND *phWnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyViewWindow( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentInfo( + LPFOLDERSETTINGS lpfs) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddPropertySheetPages( + DWORD dwReserved, + LPFNSVADDPROPSHEETPAGE pfn, + LPARAM lparam) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveViewState( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectItem( + LPCITEMIDLIST pidlItem, + SVSIF uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemObject( + UINT uItem, + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellView, 0x000214e3, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellView *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IShellView *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IShellView *This, + BOOL fEnterMode); + + /*** IShellView methods ***/ + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IShellView *This, + MSG *pmsg); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IShellView *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *UIActivate)( + IShellView *This, + UINT uState); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IShellView *This); + + HRESULT (STDMETHODCALLTYPE *CreateViewWindow)( + IShellView *This, + IShellView *psvPrevious, + LPCFOLDERSETTINGS lpfs, + IShellBrowser *psb, + RECT *prcView, + HWND *phWnd); + + HRESULT (STDMETHODCALLTYPE *DestroyViewWindow)( + IShellView *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentInfo)( + IShellView *This, + LPFOLDERSETTINGS lpfs); + + HRESULT (STDMETHODCALLTYPE *AddPropertySheetPages)( + IShellView *This, + DWORD dwReserved, + LPFNSVADDPROPSHEETPAGE pfn, + LPARAM lparam); + + HRESULT (STDMETHODCALLTYPE *SaveViewState)( + IShellView *This); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IShellView *This, + LPCITEMIDLIST pidlItem, + SVSIF uFlags); + + HRESULT (STDMETHODCALLTYPE *GetItemObject)( + IShellView *This, + UINT uItem, + REFIID riid, + void **ppv); + + END_INTERFACE +} IShellViewVtbl; + +interface IShellView { + CONST_VTBL IShellViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellView_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IShellView_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IShellView_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IShellView methods ***/ +#define IShellView_TranslateAccelerator(This,pmsg) (This)->lpVtbl->TranslateAccelerator(This,pmsg) +#define IShellView_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#define IShellView_UIActivate(This,uState) (This)->lpVtbl->UIActivate(This,uState) +#define IShellView_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IShellView_CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd) (This)->lpVtbl->CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd) +#define IShellView_DestroyViewWindow(This) (This)->lpVtbl->DestroyViewWindow(This) +#define IShellView_GetCurrentInfo(This,lpfs) (This)->lpVtbl->GetCurrentInfo(This,lpfs) +#define IShellView_AddPropertySheetPages(This,dwReserved,pfn,lparam) (This)->lpVtbl->AddPropertySheetPages(This,dwReserved,pfn,lparam) +#define IShellView_SaveViewState(This) (This)->lpVtbl->SaveViewState(This) +#define IShellView_SelectItem(This,pidlItem,uFlags) (This)->lpVtbl->SelectItem(This,pidlItem,uFlags) +#define IShellView_GetItemObject(This,uItem,riid,ppv) (This)->lpVtbl->GetItemObject(This,uItem,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellView_QueryInterface(IShellView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellView_AddRef(IShellView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellView_Release(IShellView* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IShellView_GetWindow(IShellView* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IShellView_ContextSensitiveHelp(IShellView* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IShellView methods ***/ +static FORCEINLINE HRESULT IShellView_TranslateAccelerator(IShellView* This,MSG *pmsg) { + return This->lpVtbl->TranslateAccelerator(This,pmsg); +} +static FORCEINLINE HRESULT IShellView_EnableModeless(IShellView* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +static FORCEINLINE HRESULT IShellView_UIActivate(IShellView* This,UINT uState) { + return This->lpVtbl->UIActivate(This,uState); +} +static FORCEINLINE HRESULT IShellView_Refresh(IShellView* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IShellView_CreateViewWindow(IShellView* This,IShellView *psvPrevious,LPCFOLDERSETTINGS lpfs,IShellBrowser *psb,RECT *prcView,HWND *phWnd) { + return This->lpVtbl->CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd); +} +static FORCEINLINE HRESULT IShellView_DestroyViewWindow(IShellView* This) { + return This->lpVtbl->DestroyViewWindow(This); +} +static FORCEINLINE HRESULT IShellView_GetCurrentInfo(IShellView* This,LPFOLDERSETTINGS lpfs) { + return This->lpVtbl->GetCurrentInfo(This,lpfs); +} +static FORCEINLINE HRESULT IShellView_AddPropertySheetPages(IShellView* This,DWORD dwReserved,LPFNSVADDPROPSHEETPAGE pfn,LPARAM lparam) { + return This->lpVtbl->AddPropertySheetPages(This,dwReserved,pfn,lparam); +} +static FORCEINLINE HRESULT IShellView_SaveViewState(IShellView* This) { + return This->lpVtbl->SaveViewState(This); +} +static FORCEINLINE HRESULT IShellView_SelectItem(IShellView* This,LPCITEMIDLIST pidlItem,SVSIF uFlags) { + return This->lpVtbl->SelectItem(This,pidlItem,uFlags); +} +static FORCEINLINE HRESULT IShellView_GetItemObject(IShellView* This,UINT uItem,REFIID riid,void **ppv) { + return This->lpVtbl->GetItemObject(This,uItem,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IShellView_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellView2 interface + */ +#ifndef __IShellView2_INTERFACE_DEFINED__ +#define __IShellView2_INTERFACE_DEFINED__ + +typedef GUID SHELLVIEWID; +#include +typedef struct _SV2CVW2_PARAMS { + DWORD cbSize; + IShellView *psvPrev; + LPCFOLDERSETTINGS pfs; + IShellBrowser *psbOwner; + RECT *prcView; + const SHELLVIEWID *pvid; + HWND hwndView; +} SV2CVW2_PARAMS; +typedef struct _SV2CVW2_PARAMS *LPSV2CVW2_PARAMS; +#include +DEFINE_GUID(IID_IShellView2, 0x88e39e80, 0x3578, 0x11cf, 0xae,0x69, 0x08,0x00,0x2b,0x2e,0x12,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("88e39e80-3578-11cf-ae69-08002b2e1262") +IShellView2 : public IShellView +{ + virtual HRESULT STDMETHODCALLTYPE GetView( + SHELLVIEWID *view_guid, + ULONG view_type) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateViewWindow2( + LPSV2CVW2_PARAMS view_params) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleRename( + LPCITEMIDLIST new_pidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectAndPositionItem( + LPCITEMIDLIST item, + UINT flags, + POINT *point) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellView2, 0x88e39e80, 0x3578, 0x11cf, 0xae,0x69, 0x08,0x00,0x2b,0x2e,0x12,0x62) +#endif +#else +typedef struct IShellView2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellView2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellView2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellView2 *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IShellView2 *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IShellView2 *This, + BOOL fEnterMode); + + /*** IShellView methods ***/ + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IShellView2 *This, + MSG *pmsg); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IShellView2 *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *UIActivate)( + IShellView2 *This, + UINT uState); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IShellView2 *This); + + HRESULT (STDMETHODCALLTYPE *CreateViewWindow)( + IShellView2 *This, + IShellView *psvPrevious, + LPCFOLDERSETTINGS lpfs, + IShellBrowser *psb, + RECT *prcView, + HWND *phWnd); + + HRESULT (STDMETHODCALLTYPE *DestroyViewWindow)( + IShellView2 *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentInfo)( + IShellView2 *This, + LPFOLDERSETTINGS lpfs); + + HRESULT (STDMETHODCALLTYPE *AddPropertySheetPages)( + IShellView2 *This, + DWORD dwReserved, + LPFNSVADDPROPSHEETPAGE pfn, + LPARAM lparam); + + HRESULT (STDMETHODCALLTYPE *SaveViewState)( + IShellView2 *This); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IShellView2 *This, + LPCITEMIDLIST pidlItem, + SVSIF uFlags); + + HRESULT (STDMETHODCALLTYPE *GetItemObject)( + IShellView2 *This, + UINT uItem, + REFIID riid, + void **ppv); + + /*** IShellView2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetView)( + IShellView2 *This, + SHELLVIEWID *view_guid, + ULONG view_type); + + HRESULT (STDMETHODCALLTYPE *CreateViewWindow2)( + IShellView2 *This, + LPSV2CVW2_PARAMS view_params); + + HRESULT (STDMETHODCALLTYPE *HandleRename)( + IShellView2 *This, + LPCITEMIDLIST new_pidl); + + HRESULT (STDMETHODCALLTYPE *SelectAndPositionItem)( + IShellView2 *This, + LPCITEMIDLIST item, + UINT flags, + POINT *point); + + END_INTERFACE +} IShellView2Vtbl; + +interface IShellView2 { + CONST_VTBL IShellView2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellView2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellView2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellView2_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IShellView2_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IShellView2_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IShellView methods ***/ +#define IShellView2_TranslateAccelerator(This,pmsg) (This)->lpVtbl->TranslateAccelerator(This,pmsg) +#define IShellView2_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#define IShellView2_UIActivate(This,uState) (This)->lpVtbl->UIActivate(This,uState) +#define IShellView2_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IShellView2_CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd) (This)->lpVtbl->CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd) +#define IShellView2_DestroyViewWindow(This) (This)->lpVtbl->DestroyViewWindow(This) +#define IShellView2_GetCurrentInfo(This,lpfs) (This)->lpVtbl->GetCurrentInfo(This,lpfs) +#define IShellView2_AddPropertySheetPages(This,dwReserved,pfn,lparam) (This)->lpVtbl->AddPropertySheetPages(This,dwReserved,pfn,lparam) +#define IShellView2_SaveViewState(This) (This)->lpVtbl->SaveViewState(This) +#define IShellView2_SelectItem(This,pidlItem,uFlags) (This)->lpVtbl->SelectItem(This,pidlItem,uFlags) +#define IShellView2_GetItemObject(This,uItem,riid,ppv) (This)->lpVtbl->GetItemObject(This,uItem,riid,ppv) +/*** IShellView2 methods ***/ +#define IShellView2_GetView(This,view_guid,view_type) (This)->lpVtbl->GetView(This,view_guid,view_type) +#define IShellView2_CreateViewWindow2(This,view_params) (This)->lpVtbl->CreateViewWindow2(This,view_params) +#define IShellView2_HandleRename(This,new_pidl) (This)->lpVtbl->HandleRename(This,new_pidl) +#define IShellView2_SelectAndPositionItem(This,item,flags,point) (This)->lpVtbl->SelectAndPositionItem(This,item,flags,point) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellView2_QueryInterface(IShellView2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellView2_AddRef(IShellView2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellView2_Release(IShellView2* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IShellView2_GetWindow(IShellView2* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IShellView2_ContextSensitiveHelp(IShellView2* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IShellView methods ***/ +static FORCEINLINE HRESULT IShellView2_TranslateAccelerator(IShellView2* This,MSG *pmsg) { + return This->lpVtbl->TranslateAccelerator(This,pmsg); +} +static FORCEINLINE HRESULT IShellView2_EnableModeless(IShellView2* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +static FORCEINLINE HRESULT IShellView2_UIActivate(IShellView2* This,UINT uState) { + return This->lpVtbl->UIActivate(This,uState); +} +static FORCEINLINE HRESULT IShellView2_Refresh(IShellView2* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IShellView2_CreateViewWindow(IShellView2* This,IShellView *psvPrevious,LPCFOLDERSETTINGS lpfs,IShellBrowser *psb,RECT *prcView,HWND *phWnd) { + return This->lpVtbl->CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd); +} +static FORCEINLINE HRESULT IShellView2_DestroyViewWindow(IShellView2* This) { + return This->lpVtbl->DestroyViewWindow(This); +} +static FORCEINLINE HRESULT IShellView2_GetCurrentInfo(IShellView2* This,LPFOLDERSETTINGS lpfs) { + return This->lpVtbl->GetCurrentInfo(This,lpfs); +} +static FORCEINLINE HRESULT IShellView2_AddPropertySheetPages(IShellView2* This,DWORD dwReserved,LPFNSVADDPROPSHEETPAGE pfn,LPARAM lparam) { + return This->lpVtbl->AddPropertySheetPages(This,dwReserved,pfn,lparam); +} +static FORCEINLINE HRESULT IShellView2_SaveViewState(IShellView2* This) { + return This->lpVtbl->SaveViewState(This); +} +static FORCEINLINE HRESULT IShellView2_SelectItem(IShellView2* This,LPCITEMIDLIST pidlItem,SVSIF uFlags) { + return This->lpVtbl->SelectItem(This,pidlItem,uFlags); +} +static FORCEINLINE HRESULT IShellView2_GetItemObject(IShellView2* This,UINT uItem,REFIID riid,void **ppv) { + return This->lpVtbl->GetItemObject(This,uItem,riid,ppv); +} +/*** IShellView2 methods ***/ +static FORCEINLINE HRESULT IShellView2_GetView(IShellView2* This,SHELLVIEWID *view_guid,ULONG view_type) { + return This->lpVtbl->GetView(This,view_guid,view_type); +} +static FORCEINLINE HRESULT IShellView2_CreateViewWindow2(IShellView2* This,LPSV2CVW2_PARAMS view_params) { + return This->lpVtbl->CreateViewWindow2(This,view_params); +} +static FORCEINLINE HRESULT IShellView2_HandleRename(IShellView2* This,LPCITEMIDLIST new_pidl) { + return This->lpVtbl->HandleRename(This,new_pidl); +} +static FORCEINLINE HRESULT IShellView2_SelectAndPositionItem(IShellView2* This,LPCITEMIDLIST item,UINT flags,POINT *point) { + return This->lpVtbl->SelectAndPositionItem(This,item,flags,point); +} +#endif +#endif + +#endif + + +#endif /* __IShellView2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellView3 interface + */ +#ifndef __IShellView3_INTERFACE_DEFINED__ +#define __IShellView3_INTERFACE_DEFINED__ + +enum _SV3CVW3_FLAGS { + SV3CVW3_DEFAULT = 0x0, + SV3CVW3_NONINTERACTIVE = 0x1, + SV3CVW3_FORCEVIEWMODE = 0x2, + SV3CVW3_FORCEFOLDERFLAGS = 0x4 +}; +typedef DWORD SV3CVW3_FLAGS; +DEFINE_GUID(IID_IShellView3, 0xec39fa88, 0xf8af, 0x41c5, 0x84,0x21, 0x38,0xbe,0xd2,0x8f,0x46,0x73); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ec39fa88-f8af-41c5-8421-38bed28f4673") +IShellView3 : public IShellView2 +{ + virtual HRESULT STDMETHODCALLTYPE CreateViewWindow3( + IShellBrowser *owner, + IShellView *prev_view, + SV3CVW3_FLAGS view_flags, + FOLDERFLAGS mask, + FOLDERFLAGS flags, + FOLDERVIEWMODE mode, + const SHELLVIEWID *view_id, + const RECT *rect, + HWND *hwnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellView3, 0xec39fa88, 0xf8af, 0x41c5, 0x84,0x21, 0x38,0xbe,0xd2,0x8f,0x46,0x73) +#endif +#else +typedef struct IShellView3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellView3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellView3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellView3 *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IShellView3 *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IShellView3 *This, + BOOL fEnterMode); + + /*** IShellView methods ***/ + HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)( + IShellView3 *This, + MSG *pmsg); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IShellView3 *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *UIActivate)( + IShellView3 *This, + UINT uState); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IShellView3 *This); + + HRESULT (STDMETHODCALLTYPE *CreateViewWindow)( + IShellView3 *This, + IShellView *psvPrevious, + LPCFOLDERSETTINGS lpfs, + IShellBrowser *psb, + RECT *prcView, + HWND *phWnd); + + HRESULT (STDMETHODCALLTYPE *DestroyViewWindow)( + IShellView3 *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentInfo)( + IShellView3 *This, + LPFOLDERSETTINGS lpfs); + + HRESULT (STDMETHODCALLTYPE *AddPropertySheetPages)( + IShellView3 *This, + DWORD dwReserved, + LPFNSVADDPROPSHEETPAGE pfn, + LPARAM lparam); + + HRESULT (STDMETHODCALLTYPE *SaveViewState)( + IShellView3 *This); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IShellView3 *This, + LPCITEMIDLIST pidlItem, + SVSIF uFlags); + + HRESULT (STDMETHODCALLTYPE *GetItemObject)( + IShellView3 *This, + UINT uItem, + REFIID riid, + void **ppv); + + /*** IShellView2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetView)( + IShellView3 *This, + SHELLVIEWID *view_guid, + ULONG view_type); + + HRESULT (STDMETHODCALLTYPE *CreateViewWindow2)( + IShellView3 *This, + LPSV2CVW2_PARAMS view_params); + + HRESULT (STDMETHODCALLTYPE *HandleRename)( + IShellView3 *This, + LPCITEMIDLIST new_pidl); + + HRESULT (STDMETHODCALLTYPE *SelectAndPositionItem)( + IShellView3 *This, + LPCITEMIDLIST item, + UINT flags, + POINT *point); + + /*** IShellView3 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateViewWindow3)( + IShellView3 *This, + IShellBrowser *owner, + IShellView *prev_view, + SV3CVW3_FLAGS view_flags, + FOLDERFLAGS mask, + FOLDERFLAGS flags, + FOLDERVIEWMODE mode, + const SHELLVIEWID *view_id, + const RECT *rect, + HWND *hwnd); + + END_INTERFACE +} IShellView3Vtbl; + +interface IShellView3 { + CONST_VTBL IShellView3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellView3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellView3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellView3_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IShellView3_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IShellView3_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IShellView methods ***/ +#define IShellView3_TranslateAccelerator(This,pmsg) (This)->lpVtbl->TranslateAccelerator(This,pmsg) +#define IShellView3_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#define IShellView3_UIActivate(This,uState) (This)->lpVtbl->UIActivate(This,uState) +#define IShellView3_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IShellView3_CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd) (This)->lpVtbl->CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd) +#define IShellView3_DestroyViewWindow(This) (This)->lpVtbl->DestroyViewWindow(This) +#define IShellView3_GetCurrentInfo(This,lpfs) (This)->lpVtbl->GetCurrentInfo(This,lpfs) +#define IShellView3_AddPropertySheetPages(This,dwReserved,pfn,lparam) (This)->lpVtbl->AddPropertySheetPages(This,dwReserved,pfn,lparam) +#define IShellView3_SaveViewState(This) (This)->lpVtbl->SaveViewState(This) +#define IShellView3_SelectItem(This,pidlItem,uFlags) (This)->lpVtbl->SelectItem(This,pidlItem,uFlags) +#define IShellView3_GetItemObject(This,uItem,riid,ppv) (This)->lpVtbl->GetItemObject(This,uItem,riid,ppv) +/*** IShellView2 methods ***/ +#define IShellView3_GetView(This,view_guid,view_type) (This)->lpVtbl->GetView(This,view_guid,view_type) +#define IShellView3_CreateViewWindow2(This,view_params) (This)->lpVtbl->CreateViewWindow2(This,view_params) +#define IShellView3_HandleRename(This,new_pidl) (This)->lpVtbl->HandleRename(This,new_pidl) +#define IShellView3_SelectAndPositionItem(This,item,flags,point) (This)->lpVtbl->SelectAndPositionItem(This,item,flags,point) +/*** IShellView3 methods ***/ +#define IShellView3_CreateViewWindow3(This,owner,prev_view,view_flags,mask,flags,mode,view_id,rect,hwnd) (This)->lpVtbl->CreateViewWindow3(This,owner,prev_view,view_flags,mask,flags,mode,view_id,rect,hwnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellView3_QueryInterface(IShellView3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellView3_AddRef(IShellView3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellView3_Release(IShellView3* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IShellView3_GetWindow(IShellView3* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IShellView3_ContextSensitiveHelp(IShellView3* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IShellView methods ***/ +static FORCEINLINE HRESULT IShellView3_TranslateAccelerator(IShellView3* This,MSG *pmsg) { + return This->lpVtbl->TranslateAccelerator(This,pmsg); +} +static FORCEINLINE HRESULT IShellView3_EnableModeless(IShellView3* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +static FORCEINLINE HRESULT IShellView3_UIActivate(IShellView3* This,UINT uState) { + return This->lpVtbl->UIActivate(This,uState); +} +static FORCEINLINE HRESULT IShellView3_Refresh(IShellView3* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IShellView3_CreateViewWindow(IShellView3* This,IShellView *psvPrevious,LPCFOLDERSETTINGS lpfs,IShellBrowser *psb,RECT *prcView,HWND *phWnd) { + return This->lpVtbl->CreateViewWindow(This,psvPrevious,lpfs,psb,prcView,phWnd); +} +static FORCEINLINE HRESULT IShellView3_DestroyViewWindow(IShellView3* This) { + return This->lpVtbl->DestroyViewWindow(This); +} +static FORCEINLINE HRESULT IShellView3_GetCurrentInfo(IShellView3* This,LPFOLDERSETTINGS lpfs) { + return This->lpVtbl->GetCurrentInfo(This,lpfs); +} +static FORCEINLINE HRESULT IShellView3_AddPropertySheetPages(IShellView3* This,DWORD dwReserved,LPFNSVADDPROPSHEETPAGE pfn,LPARAM lparam) { + return This->lpVtbl->AddPropertySheetPages(This,dwReserved,pfn,lparam); +} +static FORCEINLINE HRESULT IShellView3_SaveViewState(IShellView3* This) { + return This->lpVtbl->SaveViewState(This); +} +static FORCEINLINE HRESULT IShellView3_SelectItem(IShellView3* This,LPCITEMIDLIST pidlItem,SVSIF uFlags) { + return This->lpVtbl->SelectItem(This,pidlItem,uFlags); +} +static FORCEINLINE HRESULT IShellView3_GetItemObject(IShellView3* This,UINT uItem,REFIID riid,void **ppv) { + return This->lpVtbl->GetItemObject(This,uItem,riid,ppv); +} +/*** IShellView2 methods ***/ +static FORCEINLINE HRESULT IShellView3_GetView(IShellView3* This,SHELLVIEWID *view_guid,ULONG view_type) { + return This->lpVtbl->GetView(This,view_guid,view_type); +} +static FORCEINLINE HRESULT IShellView3_CreateViewWindow2(IShellView3* This,LPSV2CVW2_PARAMS view_params) { + return This->lpVtbl->CreateViewWindow2(This,view_params); +} +static FORCEINLINE HRESULT IShellView3_HandleRename(IShellView3* This,LPCITEMIDLIST new_pidl) { + return This->lpVtbl->HandleRename(This,new_pidl); +} +static FORCEINLINE HRESULT IShellView3_SelectAndPositionItem(IShellView3* This,LPCITEMIDLIST item,UINT flags,POINT *point) { + return This->lpVtbl->SelectAndPositionItem(This,item,flags,point); +} +/*** IShellView3 methods ***/ +static FORCEINLINE HRESULT IShellView3_CreateViewWindow3(IShellView3* This,IShellBrowser *owner,IShellView *prev_view,SV3CVW3_FLAGS view_flags,FOLDERFLAGS mask,FOLDERFLAGS flags,FOLDERVIEWMODE mode,const SHELLVIEWID *view_id,const RECT *rect,HWND *hwnd) { + return This->lpVtbl->CreateViewWindow3(This,owner,prev_view,view_flags,mask,flags,mode,view_id,rect,hwnd); +} +#endif +#endif + +#endif + + +#endif /* __IShellView3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFolderView interface + */ +#ifndef __IFolderView_INTERFACE_DEFINED__ +#define __IFolderView_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFolderView, 0xcde725b0, 0xccc9, 0x4519, 0x91,0x7e, 0x32,0x5d,0x72,0xfa,0xb4,0xce); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cde725b0-ccc9-4519-917e-325d72fab4ce") +IFolderView : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCurrentViewMode( + UINT *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentViewMode( + UINT mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolder( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + int index, + PITEMID_CHILD *ppidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE ItemCount( + UINT flags, + int *items) = 0; + + virtual HRESULT STDMETHODCALLTYPE Items( + UINT flags, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectionMarkedItem( + int *item) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFocusedItem( + int *item) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemPosition( + PCUITEMID_CHILD pidl, + POINT *ppt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSpacing( + POINT *pt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultSpacing( + POINT *pt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAutoArrange( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectItem( + int item, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectAndPositionItems( + UINT cidl, + PCUITEMID_CHILD_ARRAY apidl, + POINT *apt, + DWORD flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFolderView, 0xcde725b0, 0xccc9, 0x4519, 0x91,0x7e, 0x32,0x5d,0x72,0xfa,0xb4,0xce) +#endif +#else +typedef struct IFolderViewVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFolderView *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFolderView *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFolderView *This); + + /*** IFolderView methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurrentViewMode)( + IFolderView *This, + UINT *mode); + + HRESULT (STDMETHODCALLTYPE *SetCurrentViewMode)( + IFolderView *This, + UINT mode); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IFolderView *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *Item)( + IFolderView *This, + int index, + PITEMID_CHILD *ppidl); + + HRESULT (STDMETHODCALLTYPE *ItemCount)( + IFolderView *This, + UINT flags, + int *items); + + HRESULT (STDMETHODCALLTYPE *Items)( + IFolderView *This, + UINT flags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetSelectionMarkedItem)( + IFolderView *This, + int *item); + + HRESULT (STDMETHODCALLTYPE *GetFocusedItem)( + IFolderView *This, + int *item); + + HRESULT (STDMETHODCALLTYPE *GetItemPosition)( + IFolderView *This, + PCUITEMID_CHILD pidl, + POINT *ppt); + + HRESULT (STDMETHODCALLTYPE *GetSpacing)( + IFolderView *This, + POINT *pt); + + HRESULT (STDMETHODCALLTYPE *GetDefaultSpacing)( + IFolderView *This, + POINT *pt); + + HRESULT (STDMETHODCALLTYPE *GetAutoArrange)( + IFolderView *This); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IFolderView *This, + int item, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *SelectAndPositionItems)( + IFolderView *This, + UINT cidl, + PCUITEMID_CHILD_ARRAY apidl, + POINT *apt, + DWORD flags); + + END_INTERFACE +} IFolderViewVtbl; + +interface IFolderView { + CONST_VTBL IFolderViewVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFolderView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFolderView_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFolderView_Release(This) (This)->lpVtbl->Release(This) +/*** IFolderView methods ***/ +#define IFolderView_GetCurrentViewMode(This,mode) (This)->lpVtbl->GetCurrentViewMode(This,mode) +#define IFolderView_SetCurrentViewMode(This,mode) (This)->lpVtbl->SetCurrentViewMode(This,mode) +#define IFolderView_GetFolder(This,riid,ppv) (This)->lpVtbl->GetFolder(This,riid,ppv) +#define IFolderView_Item(This,index,ppidl) (This)->lpVtbl->Item(This,index,ppidl) +#define IFolderView_ItemCount(This,flags,items) (This)->lpVtbl->ItemCount(This,flags,items) +#define IFolderView_Items(This,flags,riid,ppv) (This)->lpVtbl->Items(This,flags,riid,ppv) +#define IFolderView_GetSelectionMarkedItem(This,item) (This)->lpVtbl->GetSelectionMarkedItem(This,item) +#define IFolderView_GetFocusedItem(This,item) (This)->lpVtbl->GetFocusedItem(This,item) +#define IFolderView_GetItemPosition(This,pidl,ppt) (This)->lpVtbl->GetItemPosition(This,pidl,ppt) +#define IFolderView_GetSpacing(This,pt) (This)->lpVtbl->GetSpacing(This,pt) +#define IFolderView_GetDefaultSpacing(This,pt) (This)->lpVtbl->GetDefaultSpacing(This,pt) +#define IFolderView_GetAutoArrange(This) (This)->lpVtbl->GetAutoArrange(This) +#define IFolderView_SelectItem(This,item,flags) (This)->lpVtbl->SelectItem(This,item,flags) +#define IFolderView_SelectAndPositionItems(This,cidl,apidl,apt,flags) (This)->lpVtbl->SelectAndPositionItems(This,cidl,apidl,apt,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFolderView_QueryInterface(IFolderView* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFolderView_AddRef(IFolderView* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFolderView_Release(IFolderView* This) { + return This->lpVtbl->Release(This); +} +/*** IFolderView methods ***/ +static FORCEINLINE HRESULT IFolderView_GetCurrentViewMode(IFolderView* This,UINT *mode) { + return This->lpVtbl->GetCurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IFolderView_SetCurrentViewMode(IFolderView* This,UINT mode) { + return This->lpVtbl->SetCurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IFolderView_GetFolder(IFolderView* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetFolder(This,riid,ppv); +} +static FORCEINLINE HRESULT IFolderView_Item(IFolderView* This,int index,PITEMID_CHILD *ppidl) { + return This->lpVtbl->Item(This,index,ppidl); +} +static FORCEINLINE HRESULT IFolderView_ItemCount(IFolderView* This,UINT flags,int *items) { + return This->lpVtbl->ItemCount(This,flags,items); +} +static FORCEINLINE HRESULT IFolderView_Items(IFolderView* This,UINT flags,REFIID riid,void **ppv) { + return This->lpVtbl->Items(This,flags,riid,ppv); +} +static FORCEINLINE HRESULT IFolderView_GetSelectionMarkedItem(IFolderView* This,int *item) { + return This->lpVtbl->GetSelectionMarkedItem(This,item); +} +static FORCEINLINE HRESULT IFolderView_GetFocusedItem(IFolderView* This,int *item) { + return This->lpVtbl->GetFocusedItem(This,item); +} +static FORCEINLINE HRESULT IFolderView_GetItemPosition(IFolderView* This,PCUITEMID_CHILD pidl,POINT *ppt) { + return This->lpVtbl->GetItemPosition(This,pidl,ppt); +} +static FORCEINLINE HRESULT IFolderView_GetSpacing(IFolderView* This,POINT *pt) { + return This->lpVtbl->GetSpacing(This,pt); +} +static FORCEINLINE HRESULT IFolderView_GetDefaultSpacing(IFolderView* This,POINT *pt) { + return This->lpVtbl->GetDefaultSpacing(This,pt); +} +static FORCEINLINE HRESULT IFolderView_GetAutoArrange(IFolderView* This) { + return This->lpVtbl->GetAutoArrange(This); +} +static FORCEINLINE HRESULT IFolderView_SelectItem(IFolderView* This,int item,DWORD flags) { + return This->lpVtbl->SelectItem(This,item,flags); +} +static FORCEINLINE HRESULT IFolderView_SelectAndPositionItems(IFolderView* This,UINT cidl,PCUITEMID_CHILD_ARRAY apidl,POINT *apt,DWORD flags) { + return This->lpVtbl->SelectAndPositionItems(This,cidl,apidl,apt,flags); +} +#endif +#endif + +#endif + + +#endif /* __IFolderView_INTERFACE_DEFINED__ */ + +enum tagSORTDIRECTION { + SORT_DESCENDING = -1, + SORT_ASCENDING = 1 +}; +typedef int SORTDIRECTION; +typedef struct SORTCOLUMN { + PROPERTYKEY propkey; + SORTDIRECTION direction; +} SORTCOLUMN; +typedef enum FVTEXTTYPE { + FVST_EMPTYTEXT = 0 +} FVTEXTTYPE; +/***************************************************************************** + * IFolderView2 interface + */ +#ifndef __IFolderView2_INTERFACE_DEFINED__ +#define __IFolderView2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFolderView2, 0x1af3a467, 0x214f, 0x4298, 0x90,0x8e, 0x06,0xb0,0x3e,0x0b,0x39,0xf9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1af3a467-214f-4298-908e-06b03e0b39f9") +IFolderView2 : public IFolderView +{ + virtual HRESULT STDMETHODCALLTYPE SetGroupBy( + REFPROPERTYKEY key, + BOOL ascending) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupBy( + PROPERTYKEY *pkey, + BOOL *ascending) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetViewProperty( + PCUITEMID_CHILD pidl, + REFPROPERTYKEY propkey, + REFPROPVARIANT propvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewProperty( + PCUITEMID_CHILD pidl, + REFPROPERTYKEY propkey, + PROPVARIANT *propvar) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTileViewProperties( + PCUITEMID_CHILD pidl, + LPCWSTR prop_list) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetExtendedTileViewProperties( + PCUITEMID_CHILD pidl, + LPCWSTR prop_list) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetText( + FVTEXTTYPE type, + LPCWSTR text) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCurrentFolderFlags( + DWORD mask, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentFolderFlags( + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSortColumnCount( + int *columns) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSortColumns( + const SORTCOLUMN *columns, + int count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSortColumns( + SORTCOLUMN *columns, + int count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItem( + int ittem, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVisibleItem( + int start, + BOOL previous, + int *item) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectedItem( + int start, + int *item) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelection( + BOOL none_implies_folder, + IShellItemArray **array) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectionState( + PCUITEMID_CHILD pidl, + DWORD *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeVerbOnSelection( + LPCSTR verb) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetViewModeAndIconSize( + FOLDERVIEWMODE mode, + int size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewModeAndIconSize( + FOLDERVIEWMODE *mode, + int *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetGroupSubsetCount( + UINT visible_rows) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupSubsetCount( + UINT *visible_rows) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRedraw( + BOOL redraw) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsMoveInSameFolder( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoRename( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFolderView2, 0x1af3a467, 0x214f, 0x4298, 0x90,0x8e, 0x06,0xb0,0x3e,0x0b,0x39,0xf9) +#endif +#else +typedef struct IFolderView2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFolderView2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFolderView2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFolderView2 *This); + + /*** IFolderView methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurrentViewMode)( + IFolderView2 *This, + UINT *mode); + + HRESULT (STDMETHODCALLTYPE *SetCurrentViewMode)( + IFolderView2 *This, + UINT mode); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IFolderView2 *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *Item)( + IFolderView2 *This, + int index, + PITEMID_CHILD *ppidl); + + HRESULT (STDMETHODCALLTYPE *ItemCount)( + IFolderView2 *This, + UINT flags, + int *items); + + HRESULT (STDMETHODCALLTYPE *Items)( + IFolderView2 *This, + UINT flags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetSelectionMarkedItem)( + IFolderView2 *This, + int *item); + + HRESULT (STDMETHODCALLTYPE *GetFocusedItem)( + IFolderView2 *This, + int *item); + + HRESULT (STDMETHODCALLTYPE *GetItemPosition)( + IFolderView2 *This, + PCUITEMID_CHILD pidl, + POINT *ppt); + + HRESULT (STDMETHODCALLTYPE *GetSpacing)( + IFolderView2 *This, + POINT *pt); + + HRESULT (STDMETHODCALLTYPE *GetDefaultSpacing)( + IFolderView2 *This, + POINT *pt); + + HRESULT (STDMETHODCALLTYPE *GetAutoArrange)( + IFolderView2 *This); + + HRESULT (STDMETHODCALLTYPE *SelectItem)( + IFolderView2 *This, + int item, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *SelectAndPositionItems)( + IFolderView2 *This, + UINT cidl, + PCUITEMID_CHILD_ARRAY apidl, + POINT *apt, + DWORD flags); + + /*** IFolderView2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetGroupBy)( + IFolderView2 *This, + REFPROPERTYKEY key, + BOOL ascending); + + HRESULT (STDMETHODCALLTYPE *GetGroupBy)( + IFolderView2 *This, + PROPERTYKEY *pkey, + BOOL *ascending); + + HRESULT (STDMETHODCALLTYPE *SetViewProperty)( + IFolderView2 *This, + PCUITEMID_CHILD pidl, + REFPROPERTYKEY propkey, + REFPROPVARIANT propvar); + + HRESULT (STDMETHODCALLTYPE *GetViewProperty)( + IFolderView2 *This, + PCUITEMID_CHILD pidl, + REFPROPERTYKEY propkey, + PROPVARIANT *propvar); + + HRESULT (STDMETHODCALLTYPE *SetTileViewProperties)( + IFolderView2 *This, + PCUITEMID_CHILD pidl, + LPCWSTR prop_list); + + HRESULT (STDMETHODCALLTYPE *SetExtendedTileViewProperties)( + IFolderView2 *This, + PCUITEMID_CHILD pidl, + LPCWSTR prop_list); + + HRESULT (STDMETHODCALLTYPE *SetText)( + IFolderView2 *This, + FVTEXTTYPE type, + LPCWSTR text); + + HRESULT (STDMETHODCALLTYPE *SetCurrentFolderFlags)( + IFolderView2 *This, + DWORD mask, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *GetCurrentFolderFlags)( + IFolderView2 *This, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *GetSortColumnCount)( + IFolderView2 *This, + int *columns); + + HRESULT (STDMETHODCALLTYPE *SetSortColumns)( + IFolderView2 *This, + const SORTCOLUMN *columns, + int count); + + HRESULT (STDMETHODCALLTYPE *GetSortColumns)( + IFolderView2 *This, + SORTCOLUMN *columns, + int count); + + HRESULT (STDMETHODCALLTYPE *GetItem)( + IFolderView2 *This, + int ittem, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetVisibleItem)( + IFolderView2 *This, + int start, + BOOL previous, + int *item); + + HRESULT (STDMETHODCALLTYPE *GetSelectedItem)( + IFolderView2 *This, + int start, + int *item); + + HRESULT (STDMETHODCALLTYPE *GetSelection)( + IFolderView2 *This, + BOOL none_implies_folder, + IShellItemArray **array); + + HRESULT (STDMETHODCALLTYPE *GetSelectionState)( + IFolderView2 *This, + PCUITEMID_CHILD pidl, + DWORD *flags); + + HRESULT (STDMETHODCALLTYPE *InvokeVerbOnSelection)( + IFolderView2 *This, + LPCSTR verb); + + HRESULT (STDMETHODCALLTYPE *SetViewModeAndIconSize)( + IFolderView2 *This, + FOLDERVIEWMODE mode, + int size); + + HRESULT (STDMETHODCALLTYPE *GetViewModeAndIconSize)( + IFolderView2 *This, + FOLDERVIEWMODE *mode, + int *size); + + HRESULT (STDMETHODCALLTYPE *SetGroupSubsetCount)( + IFolderView2 *This, + UINT visible_rows); + + HRESULT (STDMETHODCALLTYPE *GetGroupSubsetCount)( + IFolderView2 *This, + UINT *visible_rows); + + HRESULT (STDMETHODCALLTYPE *SetRedraw)( + IFolderView2 *This, + BOOL redraw); + + HRESULT (STDMETHODCALLTYPE *IsMoveInSameFolder)( + IFolderView2 *This); + + HRESULT (STDMETHODCALLTYPE *DoRename)( + IFolderView2 *This); + + END_INTERFACE +} IFolderView2Vtbl; + +interface IFolderView2 { + CONST_VTBL IFolderView2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFolderView2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFolderView2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFolderView2_Release(This) (This)->lpVtbl->Release(This) +/*** IFolderView methods ***/ +#define IFolderView2_GetCurrentViewMode(This,mode) (This)->lpVtbl->GetCurrentViewMode(This,mode) +#define IFolderView2_SetCurrentViewMode(This,mode) (This)->lpVtbl->SetCurrentViewMode(This,mode) +#define IFolderView2_GetFolder(This,riid,ppv) (This)->lpVtbl->GetFolder(This,riid,ppv) +#define IFolderView2_Item(This,index,ppidl) (This)->lpVtbl->Item(This,index,ppidl) +#define IFolderView2_ItemCount(This,flags,items) (This)->lpVtbl->ItemCount(This,flags,items) +#define IFolderView2_Items(This,flags,riid,ppv) (This)->lpVtbl->Items(This,flags,riid,ppv) +#define IFolderView2_GetSelectionMarkedItem(This,item) (This)->lpVtbl->GetSelectionMarkedItem(This,item) +#define IFolderView2_GetFocusedItem(This,item) (This)->lpVtbl->GetFocusedItem(This,item) +#define IFolderView2_GetItemPosition(This,pidl,ppt) (This)->lpVtbl->GetItemPosition(This,pidl,ppt) +#define IFolderView2_GetSpacing(This,pt) (This)->lpVtbl->GetSpacing(This,pt) +#define IFolderView2_GetDefaultSpacing(This,pt) (This)->lpVtbl->GetDefaultSpacing(This,pt) +#define IFolderView2_GetAutoArrange(This) (This)->lpVtbl->GetAutoArrange(This) +#define IFolderView2_SelectItem(This,item,flags) (This)->lpVtbl->SelectItem(This,item,flags) +#define IFolderView2_SelectAndPositionItems(This,cidl,apidl,apt,flags) (This)->lpVtbl->SelectAndPositionItems(This,cidl,apidl,apt,flags) +/*** IFolderView2 methods ***/ +#define IFolderView2_SetGroupBy(This,key,ascending) (This)->lpVtbl->SetGroupBy(This,key,ascending) +#define IFolderView2_GetGroupBy(This,pkey,ascending) (This)->lpVtbl->GetGroupBy(This,pkey,ascending) +#define IFolderView2_SetViewProperty(This,pidl,propkey,propvar) (This)->lpVtbl->SetViewProperty(This,pidl,propkey,propvar) +#define IFolderView2_GetViewProperty(This,pidl,propkey,propvar) (This)->lpVtbl->GetViewProperty(This,pidl,propkey,propvar) +#define IFolderView2_SetTileViewProperties(This,pidl,prop_list) (This)->lpVtbl->SetTileViewProperties(This,pidl,prop_list) +#define IFolderView2_SetExtendedTileViewProperties(This,pidl,prop_list) (This)->lpVtbl->SetExtendedTileViewProperties(This,pidl,prop_list) +#define IFolderView2_SetText(This,type,text) (This)->lpVtbl->SetText(This,type,text) +#define IFolderView2_SetCurrentFolderFlags(This,mask,flags) (This)->lpVtbl->SetCurrentFolderFlags(This,mask,flags) +#define IFolderView2_GetCurrentFolderFlags(This,flags) (This)->lpVtbl->GetCurrentFolderFlags(This,flags) +#define IFolderView2_GetSortColumnCount(This,columns) (This)->lpVtbl->GetSortColumnCount(This,columns) +#define IFolderView2_SetSortColumns(This,columns,count) (This)->lpVtbl->SetSortColumns(This,columns,count) +#define IFolderView2_GetSortColumns(This,columns,count) (This)->lpVtbl->GetSortColumns(This,columns,count) +#define IFolderView2_GetItem(This,ittem,riid,ppv) (This)->lpVtbl->GetItem(This,ittem,riid,ppv) +#define IFolderView2_GetVisibleItem(This,start,previous,item) (This)->lpVtbl->GetVisibleItem(This,start,previous,item) +#define IFolderView2_GetSelectedItem(This,start,item) (This)->lpVtbl->GetSelectedItem(This,start,item) +#define IFolderView2_GetSelection(This,none_implies_folder,array) (This)->lpVtbl->GetSelection(This,none_implies_folder,array) +#define IFolderView2_GetSelectionState(This,pidl,flags) (This)->lpVtbl->GetSelectionState(This,pidl,flags) +#define IFolderView2_InvokeVerbOnSelection(This,verb) (This)->lpVtbl->InvokeVerbOnSelection(This,verb) +#define IFolderView2_SetViewModeAndIconSize(This,mode,size) (This)->lpVtbl->SetViewModeAndIconSize(This,mode,size) +#define IFolderView2_GetViewModeAndIconSize(This,mode,size) (This)->lpVtbl->GetViewModeAndIconSize(This,mode,size) +#define IFolderView2_SetGroupSubsetCount(This,visible_rows) (This)->lpVtbl->SetGroupSubsetCount(This,visible_rows) +#define IFolderView2_GetGroupSubsetCount(This,visible_rows) (This)->lpVtbl->GetGroupSubsetCount(This,visible_rows) +#define IFolderView2_SetRedraw(This,redraw) (This)->lpVtbl->SetRedraw(This,redraw) +#define IFolderView2_IsMoveInSameFolder(This) (This)->lpVtbl->IsMoveInSameFolder(This) +#define IFolderView2_DoRename(This) (This)->lpVtbl->DoRename(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFolderView2_QueryInterface(IFolderView2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFolderView2_AddRef(IFolderView2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFolderView2_Release(IFolderView2* This) { + return This->lpVtbl->Release(This); +} +/*** IFolderView methods ***/ +static FORCEINLINE HRESULT IFolderView2_GetCurrentViewMode(IFolderView2* This,UINT *mode) { + return This->lpVtbl->GetCurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IFolderView2_SetCurrentViewMode(IFolderView2* This,UINT mode) { + return This->lpVtbl->SetCurrentViewMode(This,mode); +} +static FORCEINLINE HRESULT IFolderView2_GetFolder(IFolderView2* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetFolder(This,riid,ppv); +} +static FORCEINLINE HRESULT IFolderView2_Item(IFolderView2* This,int index,PITEMID_CHILD *ppidl) { + return This->lpVtbl->Item(This,index,ppidl); +} +static FORCEINLINE HRESULT IFolderView2_ItemCount(IFolderView2* This,UINT flags,int *items) { + return This->lpVtbl->ItemCount(This,flags,items); +} +static FORCEINLINE HRESULT IFolderView2_Items(IFolderView2* This,UINT flags,REFIID riid,void **ppv) { + return This->lpVtbl->Items(This,flags,riid,ppv); +} +static FORCEINLINE HRESULT IFolderView2_GetSelectionMarkedItem(IFolderView2* This,int *item) { + return This->lpVtbl->GetSelectionMarkedItem(This,item); +} +static FORCEINLINE HRESULT IFolderView2_GetFocusedItem(IFolderView2* This,int *item) { + return This->lpVtbl->GetFocusedItem(This,item); +} +static FORCEINLINE HRESULT IFolderView2_GetItemPosition(IFolderView2* This,PCUITEMID_CHILD pidl,POINT *ppt) { + return This->lpVtbl->GetItemPosition(This,pidl,ppt); +} +static FORCEINLINE HRESULT IFolderView2_GetSpacing(IFolderView2* This,POINT *pt) { + return This->lpVtbl->GetSpacing(This,pt); +} +static FORCEINLINE HRESULT IFolderView2_GetDefaultSpacing(IFolderView2* This,POINT *pt) { + return This->lpVtbl->GetDefaultSpacing(This,pt); +} +static FORCEINLINE HRESULT IFolderView2_GetAutoArrange(IFolderView2* This) { + return This->lpVtbl->GetAutoArrange(This); +} +static FORCEINLINE HRESULT IFolderView2_SelectItem(IFolderView2* This,int item,DWORD flags) { + return This->lpVtbl->SelectItem(This,item,flags); +} +static FORCEINLINE HRESULT IFolderView2_SelectAndPositionItems(IFolderView2* This,UINT cidl,PCUITEMID_CHILD_ARRAY apidl,POINT *apt,DWORD flags) { + return This->lpVtbl->SelectAndPositionItems(This,cidl,apidl,apt,flags); +} +/*** IFolderView2 methods ***/ +static FORCEINLINE HRESULT IFolderView2_SetGroupBy(IFolderView2* This,REFPROPERTYKEY key,BOOL ascending) { + return This->lpVtbl->SetGroupBy(This,key,ascending); +} +static FORCEINLINE HRESULT IFolderView2_GetGroupBy(IFolderView2* This,PROPERTYKEY *pkey,BOOL *ascending) { + return This->lpVtbl->GetGroupBy(This,pkey,ascending); +} +static FORCEINLINE HRESULT IFolderView2_SetViewProperty(IFolderView2* This,PCUITEMID_CHILD pidl,REFPROPERTYKEY propkey,REFPROPVARIANT propvar) { + return This->lpVtbl->SetViewProperty(This,pidl,propkey,propvar); +} +static FORCEINLINE HRESULT IFolderView2_GetViewProperty(IFolderView2* This,PCUITEMID_CHILD pidl,REFPROPERTYKEY propkey,PROPVARIANT *propvar) { + return This->lpVtbl->GetViewProperty(This,pidl,propkey,propvar); +} +static FORCEINLINE HRESULT IFolderView2_SetTileViewProperties(IFolderView2* This,PCUITEMID_CHILD pidl,LPCWSTR prop_list) { + return This->lpVtbl->SetTileViewProperties(This,pidl,prop_list); +} +static FORCEINLINE HRESULT IFolderView2_SetExtendedTileViewProperties(IFolderView2* This,PCUITEMID_CHILD pidl,LPCWSTR prop_list) { + return This->lpVtbl->SetExtendedTileViewProperties(This,pidl,prop_list); +} +static FORCEINLINE HRESULT IFolderView2_SetText(IFolderView2* This,FVTEXTTYPE type,LPCWSTR text) { + return This->lpVtbl->SetText(This,type,text); +} +static FORCEINLINE HRESULT IFolderView2_SetCurrentFolderFlags(IFolderView2* This,DWORD mask,DWORD flags) { + return This->lpVtbl->SetCurrentFolderFlags(This,mask,flags); +} +static FORCEINLINE HRESULT IFolderView2_GetCurrentFolderFlags(IFolderView2* This,DWORD *flags) { + return This->lpVtbl->GetCurrentFolderFlags(This,flags); +} +static FORCEINLINE HRESULT IFolderView2_GetSortColumnCount(IFolderView2* This,int *columns) { + return This->lpVtbl->GetSortColumnCount(This,columns); +} +static FORCEINLINE HRESULT IFolderView2_SetSortColumns(IFolderView2* This,const SORTCOLUMN *columns,int count) { + return This->lpVtbl->SetSortColumns(This,columns,count); +} +static FORCEINLINE HRESULT IFolderView2_GetSortColumns(IFolderView2* This,SORTCOLUMN *columns,int count) { + return This->lpVtbl->GetSortColumns(This,columns,count); +} +static FORCEINLINE HRESULT IFolderView2_GetItem(IFolderView2* This,int ittem,REFIID riid,void **ppv) { + return This->lpVtbl->GetItem(This,ittem,riid,ppv); +} +static FORCEINLINE HRESULT IFolderView2_GetVisibleItem(IFolderView2* This,int start,BOOL previous,int *item) { + return This->lpVtbl->GetVisibleItem(This,start,previous,item); +} +static FORCEINLINE HRESULT IFolderView2_GetSelectedItem(IFolderView2* This,int start,int *item) { + return This->lpVtbl->GetSelectedItem(This,start,item); +} +static FORCEINLINE HRESULT IFolderView2_GetSelection(IFolderView2* This,BOOL none_implies_folder,IShellItemArray **array) { + return This->lpVtbl->GetSelection(This,none_implies_folder,array); +} +static FORCEINLINE HRESULT IFolderView2_GetSelectionState(IFolderView2* This,PCUITEMID_CHILD pidl,DWORD *flags) { + return This->lpVtbl->GetSelectionState(This,pidl,flags); +} +static FORCEINLINE HRESULT IFolderView2_InvokeVerbOnSelection(IFolderView2* This,LPCSTR verb) { + return This->lpVtbl->InvokeVerbOnSelection(This,verb); +} +static FORCEINLINE HRESULT IFolderView2_SetViewModeAndIconSize(IFolderView2* This,FOLDERVIEWMODE mode,int size) { + return This->lpVtbl->SetViewModeAndIconSize(This,mode,size); +} +static FORCEINLINE HRESULT IFolderView2_GetViewModeAndIconSize(IFolderView2* This,FOLDERVIEWMODE *mode,int *size) { + return This->lpVtbl->GetViewModeAndIconSize(This,mode,size); +} +static FORCEINLINE HRESULT IFolderView2_SetGroupSubsetCount(IFolderView2* This,UINT visible_rows) { + return This->lpVtbl->SetGroupSubsetCount(This,visible_rows); +} +static FORCEINLINE HRESULT IFolderView2_GetGroupSubsetCount(IFolderView2* This,UINT *visible_rows) { + return This->lpVtbl->GetGroupSubsetCount(This,visible_rows); +} +static FORCEINLINE HRESULT IFolderView2_SetRedraw(IFolderView2* This,BOOL redraw) { + return This->lpVtbl->SetRedraw(This,redraw); +} +static FORCEINLINE HRESULT IFolderView2_IsMoveInSameFolder(IFolderView2* This) { + return This->lpVtbl->IsMoveInSameFolder(This); +} +static FORCEINLINE HRESULT IFolderView2_DoRename(IFolderView2* This) { + return This->lpVtbl->DoRename(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IFolderView2_RemoteGetGroupBy_Proxy( + IFolderView2* This, + PROPERTYKEY *pkey, + BOOL *ascending); +void __RPC_STUB IFolderView2_RemoteGetGroupBy_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IFolderView2_GetGroupBy_Proxy( + IFolderView2* This, + PROPERTYKEY *pkey, + BOOL *ascending); +HRESULT __RPC_STUB IFolderView2_GetGroupBy_Stub( + IFolderView2* This, + PROPERTYKEY *pkey, + BOOL *ascending); + +#endif /* __IFolderView2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellBrowser interface + */ +#ifndef __IShellBrowser_INTERFACE_DEFINED__ +#define __IShellBrowser_INTERFACE_DEFINED__ + +typedef IShellBrowser *LPSHELLBROWSER; +#define SBSP_DEFBROWSER 0x00000000 +#define SBSP_SAMEBROWSER 0x00000001 +#define SBSP_NEWBROWSER 0x00000002 +#define SBSP_DEFMODE 0x00000000 +#define SBSP_OPENMODE 0x00000010 +#define SBSP_EXPLOREMODE 0x00000020 +#define SBSP_HELPMODE 0x00000040 +#define SBSP_NOTRANSFERHIST 0x00000080 +#define SBSP_ABSOLUTE 0x00000000 +#define SBSP_RELATIVE 0x00001000 +#define SBSP_PARENT 0x00002000 +#define SBSP_NAVIGATEBACK 0x00004000 +#define SBSP_NAVIGATEFORWARD 0x00008000 +#define SBSP_ALLOW_AUTONAVIGATE 0x00010000 +#define SBSP_KEEPSAMETEMPLATE 0x00020000 +#define SBSP_KEEPWORDWHEELTEXT 0x00040000 +#define SBSP_ACTIVATE_NOFOCUS 0x00080000 +#define SBSP_CREATENOHISTORY 0x00100000 +#define SBSP_PLAYNOSOUND 0x00200000 +#define SBSP_CALLERUNTURUSTED 0x00800000 +#define SBSP_TRUSTFIRSTDOWNLOAD 0x01000000 +#define SBSP_UNTRUSTEDFORDOWNLOAD 0x02000000 +#define SBSP_NOAUTOSELECT 0x04000000 +#define SBSP_WRITENOHISTORY 0x08000000 +#define SBSP_TRUSTEDFORACTIVEX 0x10000000 +#define SBSP_FEEDNAVIGATION 0x20000000 +#define SBSP_REDIRECT 0x40000000 +#define SBSP_INITIATEDBYHLINKFRAME 0x80000000 +#define FCW_STATUS 0x0001 +#define FCW_TOOLBAR 0x0002 +#define FCW_TREE 0x0003 +#define FCW_INTERNETBAR 0x0006 +#define FCW_PROGRESS 0x0008 +#define FCT_MERGE 0x0001 +#define FCT_CONFIGABLE 0x0002 +#define FCT_ADDTOEND 0x0004 +#if 0 +typedef LPARAM LPTBBUTTONSB; +#else +#include +typedef LPTBBUTTON LPTBBUTTONSB; +#endif +DEFINE_GUID(IID_IShellBrowser, 0x000214e2, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e2-0000-0000-c000-000000000046") +IShellBrowser : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE InsertMenusSB( + HMENU hmenuShared, + LPOLEMENUGROUPWIDTHS lpMenuWidths) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMenuSB( + HMENU hmenuShared, + HOLEMENU holemenuReserved, + HWND hwndActiveObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveMenusSB( + HMENU hmenuShared) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStatusTextSB( + LPCOLESTR pszStatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModelessSB( + BOOL fEnable) = 0; + + virtual HRESULT STDMETHODCALLTYPE TranslateAcceleratorSB( + MSG *pmsg, + WORD wID) = 0; + + virtual HRESULT STDMETHODCALLTYPE BrowseObject( + LPCITEMIDLIST pidl, + UINT wFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewStateStream( + DWORD grfMode, + IStream **ppStrm) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlWindow( + UINT id, + HWND *phwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendControlMsg( + UINT id, + UINT uMsg, + WPARAM wParam, + LPARAM lParam, + LRESULT *pret) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryActiveShellView( + IShellView **ppshv) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnViewWindowActive( + IShellView *pshv) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetToolbarItems( + LPTBBUTTONSB lpButtons, + UINT nButtons, + UINT uFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellBrowser, 0x000214e2, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellBrowserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellBrowser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellBrowser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellBrowser *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IShellBrowser *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IShellBrowser *This, + BOOL fEnterMode); + + /*** IShellBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *InsertMenusSB)( + IShellBrowser *This, + HMENU hmenuShared, + LPOLEMENUGROUPWIDTHS lpMenuWidths); + + HRESULT (STDMETHODCALLTYPE *SetMenuSB)( + IShellBrowser *This, + HMENU hmenuShared, + HOLEMENU holemenuReserved, + HWND hwndActiveObject); + + HRESULT (STDMETHODCALLTYPE *RemoveMenusSB)( + IShellBrowser *This, + HMENU hmenuShared); + + HRESULT (STDMETHODCALLTYPE *SetStatusTextSB)( + IShellBrowser *This, + LPCOLESTR pszStatusText); + + HRESULT (STDMETHODCALLTYPE *EnableModelessSB)( + IShellBrowser *This, + BOOL fEnable); + + HRESULT (STDMETHODCALLTYPE *TranslateAcceleratorSB)( + IShellBrowser *This, + MSG *pmsg, + WORD wID); + + HRESULT (STDMETHODCALLTYPE *BrowseObject)( + IShellBrowser *This, + LPCITEMIDLIST pidl, + UINT wFlags); + + HRESULT (STDMETHODCALLTYPE *GetViewStateStream)( + IShellBrowser *This, + DWORD grfMode, + IStream **ppStrm); + + HRESULT (STDMETHODCALLTYPE *GetControlWindow)( + IShellBrowser *This, + UINT id, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *SendControlMsg)( + IShellBrowser *This, + UINT id, + UINT uMsg, + WPARAM wParam, + LPARAM lParam, + LRESULT *pret); + + HRESULT (STDMETHODCALLTYPE *QueryActiveShellView)( + IShellBrowser *This, + IShellView **ppshv); + + HRESULT (STDMETHODCALLTYPE *OnViewWindowActive)( + IShellBrowser *This, + IShellView *pshv); + + HRESULT (STDMETHODCALLTYPE *SetToolbarItems)( + IShellBrowser *This, + LPTBBUTTONSB lpButtons, + UINT nButtons, + UINT uFlags); + + END_INTERFACE +} IShellBrowserVtbl; + +interface IShellBrowser { + CONST_VTBL IShellBrowserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellBrowser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellBrowser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellBrowser_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IShellBrowser_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IShellBrowser_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IShellBrowser methods ***/ +#define IShellBrowser_InsertMenusSB(This,hmenuShared,lpMenuWidths) (This)->lpVtbl->InsertMenusSB(This,hmenuShared,lpMenuWidths) +#define IShellBrowser_SetMenuSB(This,hmenuShared,holemenuReserved,hwndActiveObject) (This)->lpVtbl->SetMenuSB(This,hmenuShared,holemenuReserved,hwndActiveObject) +#define IShellBrowser_RemoveMenusSB(This,hmenuShared) (This)->lpVtbl->RemoveMenusSB(This,hmenuShared) +#define IShellBrowser_SetStatusTextSB(This,pszStatusText) (This)->lpVtbl->SetStatusTextSB(This,pszStatusText) +#define IShellBrowser_EnableModelessSB(This,fEnable) (This)->lpVtbl->EnableModelessSB(This,fEnable) +#define IShellBrowser_TranslateAcceleratorSB(This,pmsg,wID) (This)->lpVtbl->TranslateAcceleratorSB(This,pmsg,wID) +#define IShellBrowser_BrowseObject(This,pidl,wFlags) (This)->lpVtbl->BrowseObject(This,pidl,wFlags) +#define IShellBrowser_GetViewStateStream(This,grfMode,ppStrm) (This)->lpVtbl->GetViewStateStream(This,grfMode,ppStrm) +#define IShellBrowser_GetControlWindow(This,id,phwnd) (This)->lpVtbl->GetControlWindow(This,id,phwnd) +#define IShellBrowser_SendControlMsg(This,id,uMsg,wParam,lParam,pret) (This)->lpVtbl->SendControlMsg(This,id,uMsg,wParam,lParam,pret) +#define IShellBrowser_QueryActiveShellView(This,ppshv) (This)->lpVtbl->QueryActiveShellView(This,ppshv) +#define IShellBrowser_OnViewWindowActive(This,pshv) (This)->lpVtbl->OnViewWindowActive(This,pshv) +#define IShellBrowser_SetToolbarItems(This,lpButtons,nButtons,uFlags) (This)->lpVtbl->SetToolbarItems(This,lpButtons,nButtons,uFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellBrowser_QueryInterface(IShellBrowser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellBrowser_AddRef(IShellBrowser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellBrowser_Release(IShellBrowser* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IShellBrowser_GetWindow(IShellBrowser* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IShellBrowser_ContextSensitiveHelp(IShellBrowser* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IShellBrowser methods ***/ +static FORCEINLINE HRESULT IShellBrowser_InsertMenusSB(IShellBrowser* This,HMENU hmenuShared,LPOLEMENUGROUPWIDTHS lpMenuWidths) { + return This->lpVtbl->InsertMenusSB(This,hmenuShared,lpMenuWidths); +} +static FORCEINLINE HRESULT IShellBrowser_SetMenuSB(IShellBrowser* This,HMENU hmenuShared,HOLEMENU holemenuReserved,HWND hwndActiveObject) { + return This->lpVtbl->SetMenuSB(This,hmenuShared,holemenuReserved,hwndActiveObject); +} +static FORCEINLINE HRESULT IShellBrowser_RemoveMenusSB(IShellBrowser* This,HMENU hmenuShared) { + return This->lpVtbl->RemoveMenusSB(This,hmenuShared); +} +static FORCEINLINE HRESULT IShellBrowser_SetStatusTextSB(IShellBrowser* This,LPCOLESTR pszStatusText) { + return This->lpVtbl->SetStatusTextSB(This,pszStatusText); +} +static FORCEINLINE HRESULT IShellBrowser_EnableModelessSB(IShellBrowser* This,BOOL fEnable) { + return This->lpVtbl->EnableModelessSB(This,fEnable); +} +static FORCEINLINE HRESULT IShellBrowser_TranslateAcceleratorSB(IShellBrowser* This,MSG *pmsg,WORD wID) { + return This->lpVtbl->TranslateAcceleratorSB(This,pmsg,wID); +} +static FORCEINLINE HRESULT IShellBrowser_BrowseObject(IShellBrowser* This,LPCITEMIDLIST pidl,UINT wFlags) { + return This->lpVtbl->BrowseObject(This,pidl,wFlags); +} +static FORCEINLINE HRESULT IShellBrowser_GetViewStateStream(IShellBrowser* This,DWORD grfMode,IStream **ppStrm) { + return This->lpVtbl->GetViewStateStream(This,grfMode,ppStrm); +} +static FORCEINLINE HRESULT IShellBrowser_GetControlWindow(IShellBrowser* This,UINT id,HWND *phwnd) { + return This->lpVtbl->GetControlWindow(This,id,phwnd); +} +static FORCEINLINE HRESULT IShellBrowser_SendControlMsg(IShellBrowser* This,UINT id,UINT uMsg,WPARAM wParam,LPARAM lParam,LRESULT *pret) { + return This->lpVtbl->SendControlMsg(This,id,uMsg,wParam,lParam,pret); +} +static FORCEINLINE HRESULT IShellBrowser_QueryActiveShellView(IShellBrowser* This,IShellView **ppshv) { + return This->lpVtbl->QueryActiveShellView(This,ppshv); +} +static FORCEINLINE HRESULT IShellBrowser_OnViewWindowActive(IShellBrowser* This,IShellView *pshv) { + return This->lpVtbl->OnViewWindowActive(This,pshv); +} +static FORCEINLINE HRESULT IShellBrowser_SetToolbarItems(IShellBrowser* This,LPTBBUTTONSB lpButtons,UINT nButtons,UINT uFlags) { + return This->lpVtbl->SetToolbarItems(This,lpButtons,nButtons,uFlags); +} +#endif +#endif + +#endif + + +#endif /* __IShellBrowser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellLinkA interface + */ +#ifndef __IShellLinkA_INTERFACE_DEFINED__ +#define __IShellLinkA_INTERFACE_DEFINED__ + +typedef enum SLR_FLAGS { + SLR_NO_UI = 0x1, + SLR_ANY_MATCH = 0x2, + SLR_UPDATE = 0x4, + SLR_NOUPDATE = 0x8, + SLR_NOSEARCH = 0x10, + SLR_NOTRACK = 0x20, + SLR_NOLINKINFO = 0x40, + SLR_INVOKE_MSI = 0x80, + SLR_NO_UI_WITH_MSG_PUMP = 0x101, + SLR_OFFER_DELETE_WITHOUT_FILE = 0x200, + SLR_KNOWNFOLDER = 0x400, + SLR_MACHINE_IN_LOCAL_TARGET = 0x800, + SLR_UPDATE_MACHINE_AND_SID = 0x1000, + SLR_NO_OBJECT_ID = 0x2000 +} SLR_FLAGS; +typedef enum SLGP_FLAGS { + SLGP_SHORTPATH = 0x1, + SLGP_UNCPRIORITY = 0x2, + SLGP_RAWPATH = 0x4, + SLGP_RELATIVEPRIORITY = 0x8 +} SLGP_FLAGS; +DEFINE_GUID(IID_IShellLinkA, 0x000214ee, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214ee-0000-0000-c000-000000000046") +IShellLinkA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPath( + LPSTR pszFile, + int cch, + WIN32_FIND_DATAA *pfd, + DWORD fFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIDList( + LPITEMIDLIST *ppidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIDList( + LPCITEMIDLIST pidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + LPSTR pszName, + int cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + LPCSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWorkingDirectory( + LPSTR pszDir, + int cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWorkingDirectory( + LPCSTR pszDir) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetArguments( + LPSTR pszArgs, + int cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetArguments( + LPCSTR pszArgs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHotkey( + WORD *pwHotkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHotkey( + WORD wHotkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetShowCmd( + int *piShowCmd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetShowCmd( + int iShowCmd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIconLocation( + LPSTR pszIconPath, + int cch, + int *piIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIconLocation( + LPCSTR pszIconPath, + int iIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRelativePath( + LPCSTR pszPathRel, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resolve( + HWND hwnd, + DWORD fFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPath( + LPCSTR pszFile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellLinkA, 0x000214ee, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellLinkAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellLinkA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellLinkA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellLinkA *This); + + /*** IShellLinkA methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPath)( + IShellLinkA *This, + LPSTR pszFile, + int cch, + WIN32_FIND_DATAA *pfd, + DWORD fFlags); + + HRESULT (STDMETHODCALLTYPE *GetIDList)( + IShellLinkA *This, + LPITEMIDLIST *ppidl); + + HRESULT (STDMETHODCALLTYPE *SetIDList)( + IShellLinkA *This, + LPCITEMIDLIST pidl); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IShellLinkA *This, + LPSTR pszName, + int cch); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IShellLinkA *This, + LPCSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetWorkingDirectory)( + IShellLinkA *This, + LPSTR pszDir, + int cch); + + HRESULT (STDMETHODCALLTYPE *SetWorkingDirectory)( + IShellLinkA *This, + LPCSTR pszDir); + + HRESULT (STDMETHODCALLTYPE *GetArguments)( + IShellLinkA *This, + LPSTR pszArgs, + int cch); + + HRESULT (STDMETHODCALLTYPE *SetArguments)( + IShellLinkA *This, + LPCSTR pszArgs); + + HRESULT (STDMETHODCALLTYPE *GetHotkey)( + IShellLinkA *This, + WORD *pwHotkey); + + HRESULT (STDMETHODCALLTYPE *SetHotkey)( + IShellLinkA *This, + WORD wHotkey); + + HRESULT (STDMETHODCALLTYPE *GetShowCmd)( + IShellLinkA *This, + int *piShowCmd); + + HRESULT (STDMETHODCALLTYPE *SetShowCmd)( + IShellLinkA *This, + int iShowCmd); + + HRESULT (STDMETHODCALLTYPE *GetIconLocation)( + IShellLinkA *This, + LPSTR pszIconPath, + int cch, + int *piIcon); + + HRESULT (STDMETHODCALLTYPE *SetIconLocation)( + IShellLinkA *This, + LPCSTR pszIconPath, + int iIcon); + + HRESULT (STDMETHODCALLTYPE *SetRelativePath)( + IShellLinkA *This, + LPCSTR pszPathRel, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *Resolve)( + IShellLinkA *This, + HWND hwnd, + DWORD fFlags); + + HRESULT (STDMETHODCALLTYPE *SetPath)( + IShellLinkA *This, + LPCSTR pszFile); + + END_INTERFACE +} IShellLinkAVtbl; + +interface IShellLinkA { + CONST_VTBL IShellLinkAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellLinkA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellLinkA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellLinkA_Release(This) (This)->lpVtbl->Release(This) +/*** IShellLinkA methods ***/ +#define IShellLinkA_GetPath(This,pszFile,cch,pfd,fFlags) (This)->lpVtbl->GetPath(This,pszFile,cch,pfd,fFlags) +#define IShellLinkA_GetIDList(This,ppidl) (This)->lpVtbl->GetIDList(This,ppidl) +#define IShellLinkA_SetIDList(This,pidl) (This)->lpVtbl->SetIDList(This,pidl) +#define IShellLinkA_GetDescription(This,pszName,cch) (This)->lpVtbl->GetDescription(This,pszName,cch) +#define IShellLinkA_SetDescription(This,pszName) (This)->lpVtbl->SetDescription(This,pszName) +#define IShellLinkA_GetWorkingDirectory(This,pszDir,cch) (This)->lpVtbl->GetWorkingDirectory(This,pszDir,cch) +#define IShellLinkA_SetWorkingDirectory(This,pszDir) (This)->lpVtbl->SetWorkingDirectory(This,pszDir) +#define IShellLinkA_GetArguments(This,pszArgs,cch) (This)->lpVtbl->GetArguments(This,pszArgs,cch) +#define IShellLinkA_SetArguments(This,pszArgs) (This)->lpVtbl->SetArguments(This,pszArgs) +#define IShellLinkA_GetHotkey(This,pwHotkey) (This)->lpVtbl->GetHotkey(This,pwHotkey) +#define IShellLinkA_SetHotkey(This,wHotkey) (This)->lpVtbl->SetHotkey(This,wHotkey) +#define IShellLinkA_GetShowCmd(This,piShowCmd) (This)->lpVtbl->GetShowCmd(This,piShowCmd) +#define IShellLinkA_SetShowCmd(This,iShowCmd) (This)->lpVtbl->SetShowCmd(This,iShowCmd) +#define IShellLinkA_GetIconLocation(This,pszIconPath,cch,piIcon) (This)->lpVtbl->GetIconLocation(This,pszIconPath,cch,piIcon) +#define IShellLinkA_SetIconLocation(This,pszIconPath,iIcon) (This)->lpVtbl->SetIconLocation(This,pszIconPath,iIcon) +#define IShellLinkA_SetRelativePath(This,pszPathRel,dwReserved) (This)->lpVtbl->SetRelativePath(This,pszPathRel,dwReserved) +#define IShellLinkA_Resolve(This,hwnd,fFlags) (This)->lpVtbl->Resolve(This,hwnd,fFlags) +#define IShellLinkA_SetPath(This,pszFile) (This)->lpVtbl->SetPath(This,pszFile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellLinkA_QueryInterface(IShellLinkA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellLinkA_AddRef(IShellLinkA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellLinkA_Release(IShellLinkA* This) { + return This->lpVtbl->Release(This); +} +/*** IShellLinkA methods ***/ +static FORCEINLINE HRESULT IShellLinkA_GetPath(IShellLinkA* This,LPSTR pszFile,int cch,WIN32_FIND_DATAA *pfd,DWORD fFlags) { + return This->lpVtbl->GetPath(This,pszFile,cch,pfd,fFlags); +} +static FORCEINLINE HRESULT IShellLinkA_GetIDList(IShellLinkA* This,LPITEMIDLIST *ppidl) { + return This->lpVtbl->GetIDList(This,ppidl); +} +static FORCEINLINE HRESULT IShellLinkA_SetIDList(IShellLinkA* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->SetIDList(This,pidl); +} +static FORCEINLINE HRESULT IShellLinkA_GetDescription(IShellLinkA* This,LPSTR pszName,int cch) { + return This->lpVtbl->GetDescription(This,pszName,cch); +} +static FORCEINLINE HRESULT IShellLinkA_SetDescription(IShellLinkA* This,LPCSTR pszName) { + return This->lpVtbl->SetDescription(This,pszName); +} +static FORCEINLINE HRESULT IShellLinkA_GetWorkingDirectory(IShellLinkA* This,LPSTR pszDir,int cch) { + return This->lpVtbl->GetWorkingDirectory(This,pszDir,cch); +} +static FORCEINLINE HRESULT IShellLinkA_SetWorkingDirectory(IShellLinkA* This,LPCSTR pszDir) { + return This->lpVtbl->SetWorkingDirectory(This,pszDir); +} +static FORCEINLINE HRESULT IShellLinkA_GetArguments(IShellLinkA* This,LPSTR pszArgs,int cch) { + return This->lpVtbl->GetArguments(This,pszArgs,cch); +} +static FORCEINLINE HRESULT IShellLinkA_SetArguments(IShellLinkA* This,LPCSTR pszArgs) { + return This->lpVtbl->SetArguments(This,pszArgs); +} +static FORCEINLINE HRESULT IShellLinkA_GetHotkey(IShellLinkA* This,WORD *pwHotkey) { + return This->lpVtbl->GetHotkey(This,pwHotkey); +} +static FORCEINLINE HRESULT IShellLinkA_SetHotkey(IShellLinkA* This,WORD wHotkey) { + return This->lpVtbl->SetHotkey(This,wHotkey); +} +static FORCEINLINE HRESULT IShellLinkA_GetShowCmd(IShellLinkA* This,int *piShowCmd) { + return This->lpVtbl->GetShowCmd(This,piShowCmd); +} +static FORCEINLINE HRESULT IShellLinkA_SetShowCmd(IShellLinkA* This,int iShowCmd) { + return This->lpVtbl->SetShowCmd(This,iShowCmd); +} +static FORCEINLINE HRESULT IShellLinkA_GetIconLocation(IShellLinkA* This,LPSTR pszIconPath,int cch,int *piIcon) { + return This->lpVtbl->GetIconLocation(This,pszIconPath,cch,piIcon); +} +static FORCEINLINE HRESULT IShellLinkA_SetIconLocation(IShellLinkA* This,LPCSTR pszIconPath,int iIcon) { + return This->lpVtbl->SetIconLocation(This,pszIconPath,iIcon); +} +static FORCEINLINE HRESULT IShellLinkA_SetRelativePath(IShellLinkA* This,LPCSTR pszPathRel,DWORD dwReserved) { + return This->lpVtbl->SetRelativePath(This,pszPathRel,dwReserved); +} +static FORCEINLINE HRESULT IShellLinkA_Resolve(IShellLinkA* This,HWND hwnd,DWORD fFlags) { + return This->lpVtbl->Resolve(This,hwnd,fFlags); +} +static FORCEINLINE HRESULT IShellLinkA_SetPath(IShellLinkA* This,LPCSTR pszFile) { + return This->lpVtbl->SetPath(This,pszFile); +} +#endif +#endif + +#endif + + +#endif /* __IShellLinkA_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellLinkW interface + */ +#ifndef __IShellLinkW_INTERFACE_DEFINED__ +#define __IShellLinkW_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellLinkW, 0x000214f9, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214f9-0000-0000-c000-000000000046") +IShellLinkW : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPath( + LPWSTR pszFile, + int cch, + WIN32_FIND_DATAW *pfd, + DWORD fFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIDList( + LPITEMIDLIST *ppidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIDList( + LPCITEMIDLIST pidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + LPWSTR pszName, + int cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + LPCWSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWorkingDirectory( + LPWSTR pszDir, + int cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWorkingDirectory( + LPCWSTR pszDir) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetArguments( + LPWSTR pszArgs, + int cch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetArguments( + LPCWSTR pszArgs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHotkey( + WORD *pwHotkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHotkey( + WORD wHotkey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetShowCmd( + int *piShowCmd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetShowCmd( + int iShowCmd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIconLocation( + LPWSTR pszIconPath, + int cch, + int *piIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIconLocation( + LPCWSTR pszIconPath, + int iIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRelativePath( + LPCWSTR pszPathRel, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resolve( + HWND hwnd, + DWORD fFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPath( + LPCWSTR pszFile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellLinkW, 0x000214f9, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellLinkWVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellLinkW *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellLinkW *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellLinkW *This); + + /*** IShellLinkW methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPath)( + IShellLinkW *This, + LPWSTR pszFile, + int cch, + WIN32_FIND_DATAW *pfd, + DWORD fFlags); + + HRESULT (STDMETHODCALLTYPE *GetIDList)( + IShellLinkW *This, + LPITEMIDLIST *ppidl); + + HRESULT (STDMETHODCALLTYPE *SetIDList)( + IShellLinkW *This, + LPCITEMIDLIST pidl); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IShellLinkW *This, + LPWSTR pszName, + int cch); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IShellLinkW *This, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetWorkingDirectory)( + IShellLinkW *This, + LPWSTR pszDir, + int cch); + + HRESULT (STDMETHODCALLTYPE *SetWorkingDirectory)( + IShellLinkW *This, + LPCWSTR pszDir); + + HRESULT (STDMETHODCALLTYPE *GetArguments)( + IShellLinkW *This, + LPWSTR pszArgs, + int cch); + + HRESULT (STDMETHODCALLTYPE *SetArguments)( + IShellLinkW *This, + LPCWSTR pszArgs); + + HRESULT (STDMETHODCALLTYPE *GetHotkey)( + IShellLinkW *This, + WORD *pwHotkey); + + HRESULT (STDMETHODCALLTYPE *SetHotkey)( + IShellLinkW *This, + WORD wHotkey); + + HRESULT (STDMETHODCALLTYPE *GetShowCmd)( + IShellLinkW *This, + int *piShowCmd); + + HRESULT (STDMETHODCALLTYPE *SetShowCmd)( + IShellLinkW *This, + int iShowCmd); + + HRESULT (STDMETHODCALLTYPE *GetIconLocation)( + IShellLinkW *This, + LPWSTR pszIconPath, + int cch, + int *piIcon); + + HRESULT (STDMETHODCALLTYPE *SetIconLocation)( + IShellLinkW *This, + LPCWSTR pszIconPath, + int iIcon); + + HRESULT (STDMETHODCALLTYPE *SetRelativePath)( + IShellLinkW *This, + LPCWSTR pszPathRel, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *Resolve)( + IShellLinkW *This, + HWND hwnd, + DWORD fFlags); + + HRESULT (STDMETHODCALLTYPE *SetPath)( + IShellLinkW *This, + LPCWSTR pszFile); + + END_INTERFACE +} IShellLinkWVtbl; + +interface IShellLinkW { + CONST_VTBL IShellLinkWVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellLinkW_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellLinkW_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellLinkW_Release(This) (This)->lpVtbl->Release(This) +/*** IShellLinkW methods ***/ +#define IShellLinkW_GetPath(This,pszFile,cch,pfd,fFlags) (This)->lpVtbl->GetPath(This,pszFile,cch,pfd,fFlags) +#define IShellLinkW_GetIDList(This,ppidl) (This)->lpVtbl->GetIDList(This,ppidl) +#define IShellLinkW_SetIDList(This,pidl) (This)->lpVtbl->SetIDList(This,pidl) +#define IShellLinkW_GetDescription(This,pszName,cch) (This)->lpVtbl->GetDescription(This,pszName,cch) +#define IShellLinkW_SetDescription(This,pszName) (This)->lpVtbl->SetDescription(This,pszName) +#define IShellLinkW_GetWorkingDirectory(This,pszDir,cch) (This)->lpVtbl->GetWorkingDirectory(This,pszDir,cch) +#define IShellLinkW_SetWorkingDirectory(This,pszDir) (This)->lpVtbl->SetWorkingDirectory(This,pszDir) +#define IShellLinkW_GetArguments(This,pszArgs,cch) (This)->lpVtbl->GetArguments(This,pszArgs,cch) +#define IShellLinkW_SetArguments(This,pszArgs) (This)->lpVtbl->SetArguments(This,pszArgs) +#define IShellLinkW_GetHotkey(This,pwHotkey) (This)->lpVtbl->GetHotkey(This,pwHotkey) +#define IShellLinkW_SetHotkey(This,wHotkey) (This)->lpVtbl->SetHotkey(This,wHotkey) +#define IShellLinkW_GetShowCmd(This,piShowCmd) (This)->lpVtbl->GetShowCmd(This,piShowCmd) +#define IShellLinkW_SetShowCmd(This,iShowCmd) (This)->lpVtbl->SetShowCmd(This,iShowCmd) +#define IShellLinkW_GetIconLocation(This,pszIconPath,cch,piIcon) (This)->lpVtbl->GetIconLocation(This,pszIconPath,cch,piIcon) +#define IShellLinkW_SetIconLocation(This,pszIconPath,iIcon) (This)->lpVtbl->SetIconLocation(This,pszIconPath,iIcon) +#define IShellLinkW_SetRelativePath(This,pszPathRel,dwReserved) (This)->lpVtbl->SetRelativePath(This,pszPathRel,dwReserved) +#define IShellLinkW_Resolve(This,hwnd,fFlags) (This)->lpVtbl->Resolve(This,hwnd,fFlags) +#define IShellLinkW_SetPath(This,pszFile) (This)->lpVtbl->SetPath(This,pszFile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellLinkW_QueryInterface(IShellLinkW* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellLinkW_AddRef(IShellLinkW* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellLinkW_Release(IShellLinkW* This) { + return This->lpVtbl->Release(This); +} +/*** IShellLinkW methods ***/ +static FORCEINLINE HRESULT IShellLinkW_GetPath(IShellLinkW* This,LPWSTR pszFile,int cch,WIN32_FIND_DATAW *pfd,DWORD fFlags) { + return This->lpVtbl->GetPath(This,pszFile,cch,pfd,fFlags); +} +static FORCEINLINE HRESULT IShellLinkW_GetIDList(IShellLinkW* This,LPITEMIDLIST *ppidl) { + return This->lpVtbl->GetIDList(This,ppidl); +} +static FORCEINLINE HRESULT IShellLinkW_SetIDList(IShellLinkW* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->SetIDList(This,pidl); +} +static FORCEINLINE HRESULT IShellLinkW_GetDescription(IShellLinkW* This,LPWSTR pszName,int cch) { + return This->lpVtbl->GetDescription(This,pszName,cch); +} +static FORCEINLINE HRESULT IShellLinkW_SetDescription(IShellLinkW* This,LPCWSTR pszName) { + return This->lpVtbl->SetDescription(This,pszName); +} +static FORCEINLINE HRESULT IShellLinkW_GetWorkingDirectory(IShellLinkW* This,LPWSTR pszDir,int cch) { + return This->lpVtbl->GetWorkingDirectory(This,pszDir,cch); +} +static FORCEINLINE HRESULT IShellLinkW_SetWorkingDirectory(IShellLinkW* This,LPCWSTR pszDir) { + return This->lpVtbl->SetWorkingDirectory(This,pszDir); +} +static FORCEINLINE HRESULT IShellLinkW_GetArguments(IShellLinkW* This,LPWSTR pszArgs,int cch) { + return This->lpVtbl->GetArguments(This,pszArgs,cch); +} +static FORCEINLINE HRESULT IShellLinkW_SetArguments(IShellLinkW* This,LPCWSTR pszArgs) { + return This->lpVtbl->SetArguments(This,pszArgs); +} +static FORCEINLINE HRESULT IShellLinkW_GetHotkey(IShellLinkW* This,WORD *pwHotkey) { + return This->lpVtbl->GetHotkey(This,pwHotkey); +} +static FORCEINLINE HRESULT IShellLinkW_SetHotkey(IShellLinkW* This,WORD wHotkey) { + return This->lpVtbl->SetHotkey(This,wHotkey); +} +static FORCEINLINE HRESULT IShellLinkW_GetShowCmd(IShellLinkW* This,int *piShowCmd) { + return This->lpVtbl->GetShowCmd(This,piShowCmd); +} +static FORCEINLINE HRESULT IShellLinkW_SetShowCmd(IShellLinkW* This,int iShowCmd) { + return This->lpVtbl->SetShowCmd(This,iShowCmd); +} +static FORCEINLINE HRESULT IShellLinkW_GetIconLocation(IShellLinkW* This,LPWSTR pszIconPath,int cch,int *piIcon) { + return This->lpVtbl->GetIconLocation(This,pszIconPath,cch,piIcon); +} +static FORCEINLINE HRESULT IShellLinkW_SetIconLocation(IShellLinkW* This,LPCWSTR pszIconPath,int iIcon) { + return This->lpVtbl->SetIconLocation(This,pszIconPath,iIcon); +} +static FORCEINLINE HRESULT IShellLinkW_SetRelativePath(IShellLinkW* This,LPCWSTR pszPathRel,DWORD dwReserved) { + return This->lpVtbl->SetRelativePath(This,pszPathRel,dwReserved); +} +static FORCEINLINE HRESULT IShellLinkW_Resolve(IShellLinkW* This,HWND hwnd,DWORD fFlags) { + return This->lpVtbl->Resolve(This,hwnd,fFlags); +} +static FORCEINLINE HRESULT IShellLinkW_SetPath(IShellLinkW* This,LPCWSTR pszFile) { + return This->lpVtbl->SetPath(This,pszFile); +} +#endif +#endif + +#endif + + +#endif /* __IShellLinkW_INTERFACE_DEFINED__ */ + +#define IShellLink WINELIB_NAME_AW(IShellLink) +/***************************************************************************** + * IShellExtInit interface + */ +#ifndef __IShellExtInit_INTERFACE_DEFINED__ +#define __IShellExtInit_INTERFACE_DEFINED__ + +typedef IShellExtInit *LPSHELLEXTINIT; +DEFINE_GUID(IID_IShellExtInit, 0x000214e8, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e8-0000-0000-c000-000000000046") +IShellExtInit : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + LPCITEMIDLIST pidlFolder, + IDataObject *pdtobj, + HKEY hkeyProgID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellExtInit, 0x000214e8, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellExtInitVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellExtInit *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellExtInit *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellExtInit *This); + + /*** IShellExtInit methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IShellExtInit *This, + LPCITEMIDLIST pidlFolder, + IDataObject *pdtobj, + HKEY hkeyProgID); + + END_INTERFACE +} IShellExtInitVtbl; + +interface IShellExtInit { + CONST_VTBL IShellExtInitVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellExtInit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellExtInit_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellExtInit_Release(This) (This)->lpVtbl->Release(This) +/*** IShellExtInit methods ***/ +#define IShellExtInit_Initialize(This,pidlFolder,pdtobj,hkeyProgID) (This)->lpVtbl->Initialize(This,pidlFolder,pdtobj,hkeyProgID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellExtInit_QueryInterface(IShellExtInit* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellExtInit_AddRef(IShellExtInit* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellExtInit_Release(IShellExtInit* This) { + return This->lpVtbl->Release(This); +} +/*** IShellExtInit methods ***/ +static FORCEINLINE HRESULT IShellExtInit_Initialize(IShellExtInit* This,LPCITEMIDLIST pidlFolder,IDataObject *pdtobj,HKEY hkeyProgID) { + return This->lpVtbl->Initialize(This,pidlFolder,pdtobj,hkeyProgID); +} +#endif +#endif + +#endif + + +#endif /* __IShellExtInit_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistFolder3 interface + */ +#ifndef __IPersistFolder3_INTERFACE_DEFINED__ +#define __IPersistFolder3_INTERFACE_DEFINED__ + +typedef struct __WIDL_shobjidl_generated_name_0000001A { + LPITEMIDLIST pidlTargetFolder; + WCHAR szTargetParsingName[260]; + WCHAR szNetworkProvider[260]; + DWORD dwAttributes; + int csidl; +} PERSIST_FOLDER_TARGET_INFO; +DEFINE_GUID(IID_IPersistFolder3, 0xcef04fdf, 0xfe72, 0x11d2, 0x87,0xa5, 0x00,0xc0,0x4f,0x68,0x37,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cef04fdf-fe72-11d2-87a5-00c04f6837cf") +IPersistFolder3 : public IPersistFolder2 +{ + virtual HRESULT STDMETHODCALLTYPE InitializeEx( + IBindCtx *pbc, + LPCITEMIDLIST pidlRoot, + const PERSIST_FOLDER_TARGET_INFO *ppfti) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolderTargetInfo( + PERSIST_FOLDER_TARGET_INFO *ppfti) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistFolder3, 0xcef04fdf, 0xfe72, 0x11d2, 0x87,0xa5, 0x00,0xc0,0x4f,0x68,0x37,0xcf) +#endif +#else +typedef struct IPersistFolder3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistFolder3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistFolder3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistFolder3 *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistFolder3 *This, + CLSID *pClassID); + + /*** IPersistFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IPersistFolder3 *This, + LPCITEMIDLIST pidl); + + /*** IPersistFolder2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCurFolder)( + IPersistFolder3 *This, + LPITEMIDLIST *ppidl); + + /*** IPersistFolder3 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeEx)( + IPersistFolder3 *This, + IBindCtx *pbc, + LPCITEMIDLIST pidlRoot, + const PERSIST_FOLDER_TARGET_INFO *ppfti); + + HRESULT (STDMETHODCALLTYPE *GetFolderTargetInfo)( + IPersistFolder3 *This, + PERSIST_FOLDER_TARGET_INFO *ppfti); + + END_INTERFACE +} IPersistFolder3Vtbl; + +interface IPersistFolder3 { + CONST_VTBL IPersistFolder3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistFolder3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistFolder3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistFolder3_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistFolder3_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistFolder methods ***/ +#define IPersistFolder3_Initialize(This,pidl) (This)->lpVtbl->Initialize(This,pidl) +/*** IPersistFolder2 methods ***/ +#define IPersistFolder3_GetCurFolder(This,ppidl) (This)->lpVtbl->GetCurFolder(This,ppidl) +/*** IPersistFolder3 methods ***/ +#define IPersistFolder3_InitializeEx(This,pbc,pidlRoot,ppfti) (This)->lpVtbl->InitializeEx(This,pbc,pidlRoot,ppfti) +#define IPersistFolder3_GetFolderTargetInfo(This,ppfti) (This)->lpVtbl->GetFolderTargetInfo(This,ppfti) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistFolder3_QueryInterface(IPersistFolder3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistFolder3_AddRef(IPersistFolder3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistFolder3_Release(IPersistFolder3* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistFolder3_GetClassID(IPersistFolder3* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistFolder methods ***/ +static FORCEINLINE HRESULT IPersistFolder3_Initialize(IPersistFolder3* This,LPCITEMIDLIST pidl) { + return This->lpVtbl->Initialize(This,pidl); +} +/*** IPersistFolder2 methods ***/ +static FORCEINLINE HRESULT IPersistFolder3_GetCurFolder(IPersistFolder3* This,LPITEMIDLIST *ppidl) { + return This->lpVtbl->GetCurFolder(This,ppidl); +} +/*** IPersistFolder3 methods ***/ +static FORCEINLINE HRESULT IPersistFolder3_InitializeEx(IPersistFolder3* This,IBindCtx *pbc,LPCITEMIDLIST pidlRoot,const PERSIST_FOLDER_TARGET_INFO *ppfti) { + return This->lpVtbl->InitializeEx(This,pbc,pidlRoot,ppfti); +} +static FORCEINLINE HRESULT IPersistFolder3_GetFolderTargetInfo(IPersistFolder3* This,PERSIST_FOLDER_TARGET_INFO *ppfti) { + return This->lpVtbl->GetFolderTargetInfo(This,ppfti); +} +#endif +#endif + +#endif + + +#endif /* __IPersistFolder3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IExtractIconA interface + */ +#ifndef __IExtractIconA_INTERFACE_DEFINED__ +#define __IExtractIconA_INTERFACE_DEFINED__ + +#define GIL_OPENICON 0x0001 +#define GIL_FORSHELL 0x0002 +#define GIL_ASYNC 0x0020 +#define GIL_DEFAULTICON 0x0040 +#define GIL_FORSHORTCUT 0x0080 +#define GIL_SIMULATEDOC 0x0001 +#define GIL_PERINSTANCE 0x0002 +#define GIL_PERCLASS 0x0004 +#define GIL_NOTFILENAME 0x0008 +#define GIL_DONTCACHE 0x0010 +typedef IExtractIconA *LPEXTRACTICONA; +DEFINE_GUID(IID_IExtractIconA, 0x000214eb, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214eb-0000-0000-c000-000000000046") +IExtractIconA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIconLocation( + UINT uFlags, + LPSTR szIconFile, + UINT cchMax, + INT *piIndex, + UINT *pwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Extract( + LPCSTR pszFile, + UINT nIconIndex, + HICON *phiconLarge, + HICON *phiconSmall, + UINT nIconSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExtractIconA, 0x000214eb, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IExtractIconAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExtractIconA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExtractIconA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExtractIconA *This); + + /*** IExtractIconA methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIconLocation)( + IExtractIconA *This, + UINT uFlags, + LPSTR szIconFile, + UINT cchMax, + INT *piIndex, + UINT *pwFlags); + + HRESULT (STDMETHODCALLTYPE *Extract)( + IExtractIconA *This, + LPCSTR pszFile, + UINT nIconIndex, + HICON *phiconLarge, + HICON *phiconSmall, + UINT nIconSize); + + END_INTERFACE +} IExtractIconAVtbl; + +interface IExtractIconA { + CONST_VTBL IExtractIconAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExtractIconA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExtractIconA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExtractIconA_Release(This) (This)->lpVtbl->Release(This) +/*** IExtractIconA methods ***/ +#define IExtractIconA_GetIconLocation(This,uFlags,szIconFile,cchMax,piIndex,pwFlags) (This)->lpVtbl->GetIconLocation(This,uFlags,szIconFile,cchMax,piIndex,pwFlags) +#define IExtractIconA_Extract(This,pszFile,nIconIndex,phiconLarge,phiconSmall,nIconSize) (This)->lpVtbl->Extract(This,pszFile,nIconIndex,phiconLarge,phiconSmall,nIconSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExtractIconA_QueryInterface(IExtractIconA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExtractIconA_AddRef(IExtractIconA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExtractIconA_Release(IExtractIconA* This) { + return This->lpVtbl->Release(This); +} +/*** IExtractIconA methods ***/ +static FORCEINLINE HRESULT IExtractIconA_GetIconLocation(IExtractIconA* This,UINT uFlags,LPSTR szIconFile,UINT cchMax,INT *piIndex,UINT *pwFlags) { + return This->lpVtbl->GetIconLocation(This,uFlags,szIconFile,cchMax,piIndex,pwFlags); +} +static FORCEINLINE HRESULT IExtractIconA_Extract(IExtractIconA* This,LPCSTR pszFile,UINT nIconIndex,HICON *phiconLarge,HICON *phiconSmall,UINT nIconSize) { + return This->lpVtbl->Extract(This,pszFile,nIconIndex,phiconLarge,phiconSmall,nIconSize); +} +#endif +#endif + +#endif + + +#endif /* __IExtractIconA_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IExtractIconW interface + */ +#ifndef __IExtractIconW_INTERFACE_DEFINED__ +#define __IExtractIconW_INTERFACE_DEFINED__ + +typedef IExtractIconW *LPEXTRACTICONW; +DEFINE_GUID(IID_IExtractIconW, 0x000214fa, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214fa-0000-0000-c000-000000000046") +IExtractIconW : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIconLocation( + UINT uFlags, + LPWSTR szIconFile, + UINT cchMax, + INT *piIndex, + UINT *pwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Extract( + LPCWSTR pszFile, + UINT nIconIndex, + HICON *phiconLarge, + HICON *phiconSmall, + UINT nIconSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExtractIconW, 0x000214fa, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IExtractIconWVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExtractIconW *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExtractIconW *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExtractIconW *This); + + /*** IExtractIconW methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIconLocation)( + IExtractIconW *This, + UINT uFlags, + LPWSTR szIconFile, + UINT cchMax, + INT *piIndex, + UINT *pwFlags); + + HRESULT (STDMETHODCALLTYPE *Extract)( + IExtractIconW *This, + LPCWSTR pszFile, + UINT nIconIndex, + HICON *phiconLarge, + HICON *phiconSmall, + UINT nIconSize); + + END_INTERFACE +} IExtractIconWVtbl; + +interface IExtractIconW { + CONST_VTBL IExtractIconWVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExtractIconW_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExtractIconW_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExtractIconW_Release(This) (This)->lpVtbl->Release(This) +/*** IExtractIconW methods ***/ +#define IExtractIconW_GetIconLocation(This,uFlags,szIconFile,cchMax,piIndex,pwFlags) (This)->lpVtbl->GetIconLocation(This,uFlags,szIconFile,cchMax,piIndex,pwFlags) +#define IExtractIconW_Extract(This,pszFile,nIconIndex,phiconLarge,phiconSmall,nIconSize) (This)->lpVtbl->Extract(This,pszFile,nIconIndex,phiconLarge,phiconSmall,nIconSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExtractIconW_QueryInterface(IExtractIconW* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExtractIconW_AddRef(IExtractIconW* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExtractIconW_Release(IExtractIconW* This) { + return This->lpVtbl->Release(This); +} +/*** IExtractIconW methods ***/ +static FORCEINLINE HRESULT IExtractIconW_GetIconLocation(IExtractIconW* This,UINT uFlags,LPWSTR szIconFile,UINT cchMax,INT *piIndex,UINT *pwFlags) { + return This->lpVtbl->GetIconLocation(This,uFlags,szIconFile,cchMax,piIndex,pwFlags); +} +static FORCEINLINE HRESULT IExtractIconW_Extract(IExtractIconW* This,LPCWSTR pszFile,UINT nIconIndex,HICON *phiconLarge,HICON *phiconSmall,UINT nIconSize) { + return This->lpVtbl->Extract(This,pszFile,nIconIndex,phiconLarge,phiconSmall,nIconSize); +} +#endif +#endif + +#endif + + +#endif /* __IExtractIconW_INTERFACE_DEFINED__ */ + +#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON) +#define IExtractIcon WINELIB_NAME_AW(IExtractIcon) +/***************************************************************************** + * ICommDlgBrowser interface + */ +#ifndef __ICommDlgBrowser_INTERFACE_DEFINED__ +#define __ICommDlgBrowser_INTERFACE_DEFINED__ + +#define CDBOSC_SETFOCUS 0x00000000 +#define CDBOSC_KILLFOCUS 0x00000001 +#define CDBOSC_SELCHANGE 0x00000002 +#define CDBOSC_RENAME 0x00000003 +#define CDBOSC_STATECHANGE 0x00000004 +typedef ICommDlgBrowser *LPCOMMDLGBROWSER; +DEFINE_GUID(IID_ICommDlgBrowser, 0x000214f1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214f1-0000-0000-c000-000000000046") +ICommDlgBrowser : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnDefaultCommand( + IShellView *shv) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStateChange( + IShellView *shv, + ULONG uChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE IncludeObject( + IShellView *shv, + LPCITEMIDLIST pidl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICommDlgBrowser, 0x000214f1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct ICommDlgBrowserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICommDlgBrowser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICommDlgBrowser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICommDlgBrowser *This); + + /*** ICommDlgBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDefaultCommand)( + ICommDlgBrowser *This, + IShellView *shv); + + HRESULT (STDMETHODCALLTYPE *OnStateChange)( + ICommDlgBrowser *This, + IShellView *shv, + ULONG uChange); + + HRESULT (STDMETHODCALLTYPE *IncludeObject)( + ICommDlgBrowser *This, + IShellView *shv, + LPCITEMIDLIST pidl); + + END_INTERFACE +} ICommDlgBrowserVtbl; + +interface ICommDlgBrowser { + CONST_VTBL ICommDlgBrowserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICommDlgBrowser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICommDlgBrowser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICommDlgBrowser_Release(This) (This)->lpVtbl->Release(This) +/*** ICommDlgBrowser methods ***/ +#define ICommDlgBrowser_OnDefaultCommand(This,shv) (This)->lpVtbl->OnDefaultCommand(This,shv) +#define ICommDlgBrowser_OnStateChange(This,shv,uChange) (This)->lpVtbl->OnStateChange(This,shv,uChange) +#define ICommDlgBrowser_IncludeObject(This,shv,pidl) (This)->lpVtbl->IncludeObject(This,shv,pidl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser_QueryInterface(ICommDlgBrowser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICommDlgBrowser_AddRef(ICommDlgBrowser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICommDlgBrowser_Release(ICommDlgBrowser* This) { + return This->lpVtbl->Release(This); +} +/*** ICommDlgBrowser methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser_OnDefaultCommand(ICommDlgBrowser* This,IShellView *shv) { + return This->lpVtbl->OnDefaultCommand(This,shv); +} +static FORCEINLINE HRESULT ICommDlgBrowser_OnStateChange(ICommDlgBrowser* This,IShellView *shv,ULONG uChange) { + return This->lpVtbl->OnStateChange(This,shv,uChange); +} +static FORCEINLINE HRESULT ICommDlgBrowser_IncludeObject(ICommDlgBrowser* This,IShellView *shv,LPCITEMIDLIST pidl) { + return This->lpVtbl->IncludeObject(This,shv,pidl); +} +#endif +#endif + +#endif + + +#endif /* __ICommDlgBrowser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICommDlgBrowser2 interface + */ +#ifndef __ICommDlgBrowser2_INTERFACE_DEFINED__ +#define __ICommDlgBrowser2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICommDlgBrowser2, 0x10339516, 0x2894, 0x11d2, 0x90,0x39, 0x00,0xc0,0x4f,0x8e,0xeb,0x3e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("10339516-2894-11d2-9039-00c04f8eeb3e") +ICommDlgBrowser2 : public ICommDlgBrowser +{ + virtual HRESULT STDMETHODCALLTYPE Notify( + IShellView *ppshv, + DWORD dwNotifyType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultMenuText( + IShellView *ppshv, + LPWSTR pszText, + int cchMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetViewFlags( + DWORD *pdwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICommDlgBrowser2, 0x10339516, 0x2894, 0x11d2, 0x90,0x39, 0x00,0xc0,0x4f,0x8e,0xeb,0x3e) +#endif +#else +typedef struct ICommDlgBrowser2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICommDlgBrowser2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICommDlgBrowser2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICommDlgBrowser2 *This); + + /*** ICommDlgBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDefaultCommand)( + ICommDlgBrowser2 *This, + IShellView *shv); + + HRESULT (STDMETHODCALLTYPE *OnStateChange)( + ICommDlgBrowser2 *This, + IShellView *shv, + ULONG uChange); + + HRESULT (STDMETHODCALLTYPE *IncludeObject)( + ICommDlgBrowser2 *This, + IShellView *shv, + LPCITEMIDLIST pidl); + + /*** ICommDlgBrowser2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Notify)( + ICommDlgBrowser2 *This, + IShellView *ppshv, + DWORD dwNotifyType); + + HRESULT (STDMETHODCALLTYPE *GetDefaultMenuText)( + ICommDlgBrowser2 *This, + IShellView *ppshv, + LPWSTR pszText, + int cchMax); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + ICommDlgBrowser2 *This, + DWORD *pdwFlags); + + END_INTERFACE +} ICommDlgBrowser2Vtbl; + +interface ICommDlgBrowser2 { + CONST_VTBL ICommDlgBrowser2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICommDlgBrowser2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICommDlgBrowser2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICommDlgBrowser2_Release(This) (This)->lpVtbl->Release(This) +/*** ICommDlgBrowser methods ***/ +#define ICommDlgBrowser2_OnDefaultCommand(This,shv) (This)->lpVtbl->OnDefaultCommand(This,shv) +#define ICommDlgBrowser2_OnStateChange(This,shv,uChange) (This)->lpVtbl->OnStateChange(This,shv,uChange) +#define ICommDlgBrowser2_IncludeObject(This,shv,pidl) (This)->lpVtbl->IncludeObject(This,shv,pidl) +/*** ICommDlgBrowser2 methods ***/ +#define ICommDlgBrowser2_Notify(This,ppshv,dwNotifyType) (This)->lpVtbl->Notify(This,ppshv,dwNotifyType) +#define ICommDlgBrowser2_GetDefaultMenuText(This,ppshv,pszText,cchMax) (This)->lpVtbl->GetDefaultMenuText(This,ppshv,pszText,cchMax) +#define ICommDlgBrowser2_GetViewFlags(This,pdwFlags) (This)->lpVtbl->GetViewFlags(This,pdwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser2_QueryInterface(ICommDlgBrowser2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICommDlgBrowser2_AddRef(ICommDlgBrowser2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICommDlgBrowser2_Release(ICommDlgBrowser2* This) { + return This->lpVtbl->Release(This); +} +/*** ICommDlgBrowser methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser2_OnDefaultCommand(ICommDlgBrowser2* This,IShellView *shv) { + return This->lpVtbl->OnDefaultCommand(This,shv); +} +static FORCEINLINE HRESULT ICommDlgBrowser2_OnStateChange(ICommDlgBrowser2* This,IShellView *shv,ULONG uChange) { + return This->lpVtbl->OnStateChange(This,shv,uChange); +} +static FORCEINLINE HRESULT ICommDlgBrowser2_IncludeObject(ICommDlgBrowser2* This,IShellView *shv,LPCITEMIDLIST pidl) { + return This->lpVtbl->IncludeObject(This,shv,pidl); +} +/*** ICommDlgBrowser2 methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser2_Notify(ICommDlgBrowser2* This,IShellView *ppshv,DWORD dwNotifyType) { + return This->lpVtbl->Notify(This,ppshv,dwNotifyType); +} +static FORCEINLINE HRESULT ICommDlgBrowser2_GetDefaultMenuText(ICommDlgBrowser2* This,IShellView *ppshv,LPWSTR pszText,int cchMax) { + return This->lpVtbl->GetDefaultMenuText(This,ppshv,pszText,cchMax); +} +static FORCEINLINE HRESULT ICommDlgBrowser2_GetViewFlags(ICommDlgBrowser2* This,DWORD *pdwFlags) { + return This->lpVtbl->GetViewFlags(This,pdwFlags); +} +#endif +#endif + +#endif + + +#endif /* __ICommDlgBrowser2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICommDlgBrowser3 interface + */ +#ifndef __ICommDlgBrowser3_INTERFACE_DEFINED__ +#define __ICommDlgBrowser3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICommDlgBrowser3, 0xc8ad25a1, 0x3294, 0x41ee, 0x81,0x65, 0x71,0x17,0x4b,0xd0,0x1c,0x57); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c8ad25a1-3294-41ee-8165-71174bd01c57") +ICommDlgBrowser3 : public ICommDlgBrowser2 +{ + virtual HRESULT STDMETHODCALLTYPE OnColumnClicked( + IShellView *ppshv, + int iColumn) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentFilter( + LPWSTR pszFileSpec, + int cchFileSpec) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPreviewCreated( + IShellView *ppshv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICommDlgBrowser3, 0xc8ad25a1, 0x3294, 0x41ee, 0x81,0x65, 0x71,0x17,0x4b,0xd0,0x1c,0x57) +#endif +#else +typedef struct ICommDlgBrowser3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICommDlgBrowser3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICommDlgBrowser3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICommDlgBrowser3 *This); + + /*** ICommDlgBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDefaultCommand)( + ICommDlgBrowser3 *This, + IShellView *shv); + + HRESULT (STDMETHODCALLTYPE *OnStateChange)( + ICommDlgBrowser3 *This, + IShellView *shv, + ULONG uChange); + + HRESULT (STDMETHODCALLTYPE *IncludeObject)( + ICommDlgBrowser3 *This, + IShellView *shv, + LPCITEMIDLIST pidl); + + /*** ICommDlgBrowser2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Notify)( + ICommDlgBrowser3 *This, + IShellView *ppshv, + DWORD dwNotifyType); + + HRESULT (STDMETHODCALLTYPE *GetDefaultMenuText)( + ICommDlgBrowser3 *This, + IShellView *ppshv, + LPWSTR pszText, + int cchMax); + + HRESULT (STDMETHODCALLTYPE *GetViewFlags)( + ICommDlgBrowser3 *This, + DWORD *pdwFlags); + + /*** ICommDlgBrowser3 methods ***/ + HRESULT (STDMETHODCALLTYPE *OnColumnClicked)( + ICommDlgBrowser3 *This, + IShellView *ppshv, + int iColumn); + + HRESULT (STDMETHODCALLTYPE *GetCurrentFilter)( + ICommDlgBrowser3 *This, + LPWSTR pszFileSpec, + int cchFileSpec); + + HRESULT (STDMETHODCALLTYPE *OnPreviewCreated)( + ICommDlgBrowser3 *This, + IShellView *ppshv); + + END_INTERFACE +} ICommDlgBrowser3Vtbl; + +interface ICommDlgBrowser3 { + CONST_VTBL ICommDlgBrowser3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICommDlgBrowser3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICommDlgBrowser3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICommDlgBrowser3_Release(This) (This)->lpVtbl->Release(This) +/*** ICommDlgBrowser methods ***/ +#define ICommDlgBrowser3_OnDefaultCommand(This,shv) (This)->lpVtbl->OnDefaultCommand(This,shv) +#define ICommDlgBrowser3_OnStateChange(This,shv,uChange) (This)->lpVtbl->OnStateChange(This,shv,uChange) +#define ICommDlgBrowser3_IncludeObject(This,shv,pidl) (This)->lpVtbl->IncludeObject(This,shv,pidl) +/*** ICommDlgBrowser2 methods ***/ +#define ICommDlgBrowser3_Notify(This,ppshv,dwNotifyType) (This)->lpVtbl->Notify(This,ppshv,dwNotifyType) +#define ICommDlgBrowser3_GetDefaultMenuText(This,ppshv,pszText,cchMax) (This)->lpVtbl->GetDefaultMenuText(This,ppshv,pszText,cchMax) +#define ICommDlgBrowser3_GetViewFlags(This,pdwFlags) (This)->lpVtbl->GetViewFlags(This,pdwFlags) +/*** ICommDlgBrowser3 methods ***/ +#define ICommDlgBrowser3_OnColumnClicked(This,ppshv,iColumn) (This)->lpVtbl->OnColumnClicked(This,ppshv,iColumn) +#define ICommDlgBrowser3_GetCurrentFilter(This,pszFileSpec,cchFileSpec) (This)->lpVtbl->GetCurrentFilter(This,pszFileSpec,cchFileSpec) +#define ICommDlgBrowser3_OnPreviewCreated(This,ppshv) (This)->lpVtbl->OnPreviewCreated(This,ppshv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser3_QueryInterface(ICommDlgBrowser3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICommDlgBrowser3_AddRef(ICommDlgBrowser3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICommDlgBrowser3_Release(ICommDlgBrowser3* This) { + return This->lpVtbl->Release(This); +} +/*** ICommDlgBrowser methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser3_OnDefaultCommand(ICommDlgBrowser3* This,IShellView *shv) { + return This->lpVtbl->OnDefaultCommand(This,shv); +} +static FORCEINLINE HRESULT ICommDlgBrowser3_OnStateChange(ICommDlgBrowser3* This,IShellView *shv,ULONG uChange) { + return This->lpVtbl->OnStateChange(This,shv,uChange); +} +static FORCEINLINE HRESULT ICommDlgBrowser3_IncludeObject(ICommDlgBrowser3* This,IShellView *shv,LPCITEMIDLIST pidl) { + return This->lpVtbl->IncludeObject(This,shv,pidl); +} +/*** ICommDlgBrowser2 methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser3_Notify(ICommDlgBrowser3* This,IShellView *ppshv,DWORD dwNotifyType) { + return This->lpVtbl->Notify(This,ppshv,dwNotifyType); +} +static FORCEINLINE HRESULT ICommDlgBrowser3_GetDefaultMenuText(ICommDlgBrowser3* This,IShellView *ppshv,LPWSTR pszText,int cchMax) { + return This->lpVtbl->GetDefaultMenuText(This,ppshv,pszText,cchMax); +} +static FORCEINLINE HRESULT ICommDlgBrowser3_GetViewFlags(ICommDlgBrowser3* This,DWORD *pdwFlags) { + return This->lpVtbl->GetViewFlags(This,pdwFlags); +} +/*** ICommDlgBrowser3 methods ***/ +static FORCEINLINE HRESULT ICommDlgBrowser3_OnColumnClicked(ICommDlgBrowser3* This,IShellView *ppshv,int iColumn) { + return This->lpVtbl->OnColumnClicked(This,ppshv,iColumn); +} +static FORCEINLINE HRESULT ICommDlgBrowser3_GetCurrentFilter(ICommDlgBrowser3* This,LPWSTR pszFileSpec,int cchFileSpec) { + return This->lpVtbl->GetCurrentFilter(This,pszFileSpec,cchFileSpec); +} +static FORCEINLINE HRESULT ICommDlgBrowser3_OnPreviewCreated(ICommDlgBrowser3* This,IShellView *ppshv) { + return This->lpVtbl->OnPreviewCreated(This,ppshv); +} +#endif +#endif + +#endif + + +#endif /* __ICommDlgBrowser3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDockingWindow interface + */ +#ifndef __IDockingWindow_INTERFACE_DEFINED__ +#define __IDockingWindow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDockingWindow, 0x012dd920, 0x7b26, 0x11d0, 0x8c,0xa9, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("012dd920-7b26-11d0-8ca9-00a0c92dbfe8") +IDockingWindow : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE ShowDW( + BOOL fShow) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseDW( + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResizeBorderDW( + LPCRECT prcBorder, + IUnknown *punkToolbarSite, + BOOL fReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDockingWindow, 0x012dd920, 0x7b26, 0x11d0, 0x8c,0xa9, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8) +#endif +#else +typedef struct IDockingWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDockingWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDockingWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDockingWindow *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IDockingWindow *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IDockingWindow *This, + BOOL fEnterMode); + + /*** IDockingWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *ShowDW)( + IDockingWindow *This, + BOOL fShow); + + HRESULT (STDMETHODCALLTYPE *CloseDW)( + IDockingWindow *This, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *ResizeBorderDW)( + IDockingWindow *This, + LPCRECT prcBorder, + IUnknown *punkToolbarSite, + BOOL fReserved); + + END_INTERFACE +} IDockingWindowVtbl; + +interface IDockingWindow { + CONST_VTBL IDockingWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDockingWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDockingWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDockingWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IDockingWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IDockingWindow_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IDockingWindow methods ***/ +#define IDockingWindow_ShowDW(This,fShow) (This)->lpVtbl->ShowDW(This,fShow) +#define IDockingWindow_CloseDW(This,dwReserved) (This)->lpVtbl->CloseDW(This,dwReserved) +#define IDockingWindow_ResizeBorderDW(This,prcBorder,punkToolbarSite,fReserved) (This)->lpVtbl->ResizeBorderDW(This,prcBorder,punkToolbarSite,fReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDockingWindow_QueryInterface(IDockingWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDockingWindow_AddRef(IDockingWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDockingWindow_Release(IDockingWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IDockingWindow_GetWindow(IDockingWindow* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IDockingWindow_ContextSensitiveHelp(IDockingWindow* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IDockingWindow methods ***/ +static FORCEINLINE HRESULT IDockingWindow_ShowDW(IDockingWindow* This,BOOL fShow) { + return This->lpVtbl->ShowDW(This,fShow); +} +static FORCEINLINE HRESULT IDockingWindow_CloseDW(IDockingWindow* This,DWORD dwReserved) { + return This->lpVtbl->CloseDW(This,dwReserved); +} +static FORCEINLINE HRESULT IDockingWindow_ResizeBorderDW(IDockingWindow* This,LPCRECT prcBorder,IUnknown *punkToolbarSite,BOOL fReserved) { + return This->lpVtbl->ResizeBorderDW(This,prcBorder,punkToolbarSite,fReserved); +} +#endif +#endif + +#endif + + +#endif /* __IDockingWindow_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDockingWindowFrame interface + */ +#ifndef __IDockingWindowFrame_INTERFACE_DEFINED__ +#define __IDockingWindowFrame_INTERFACE_DEFINED__ + +#define DWFRF_NORMAL 0x0000 +#define DWFRF_DELETECONFIGDATA 0x0001 +#define DWFAF_HIDDEN 0x0001 +DEFINE_GUID(IID_IDockingWindowFrame, 0x47d2657a, 0x7b27, 0x11d0, 0x8c,0xa9, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("47d2657a-7b27-11d0-8ca9-00a0c92dbfe8") +IDockingWindowFrame : public IOleWindow +{ + virtual HRESULT STDMETHODCALLTYPE AddToolbar( + IUnknown *punkSrc, + LPCWSTR pwszItem, + DWORD dwAddFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveToolbar( + IUnknown *punkSrc, + DWORD dwRemoveFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindToolbar( + LPCWSTR pwszItem, + REFIID riid, + LPVOID *ppvObj) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDockingWindowFrame, 0x47d2657a, 0x7b27, 0x11d0, 0x8c,0xa9, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8) +#endif +#else +typedef struct IDockingWindowFrameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDockingWindowFrame *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDockingWindowFrame *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDockingWindowFrame *This); + + /*** IOleWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IDockingWindowFrame *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)( + IDockingWindowFrame *This, + BOOL fEnterMode); + + /*** IDockingWindowFrame methods ***/ + HRESULT (STDMETHODCALLTYPE *AddToolbar)( + IDockingWindowFrame *This, + IUnknown *punkSrc, + LPCWSTR pwszItem, + DWORD dwAddFlags); + + HRESULT (STDMETHODCALLTYPE *RemoveToolbar)( + IDockingWindowFrame *This, + IUnknown *punkSrc, + DWORD dwRemoveFlags); + + HRESULT (STDMETHODCALLTYPE *FindToolbar)( + IDockingWindowFrame *This, + LPCWSTR pwszItem, + REFIID riid, + LPVOID *ppvObj); + + END_INTERFACE +} IDockingWindowFrameVtbl; + +interface IDockingWindowFrame { + CONST_VTBL IDockingWindowFrameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDockingWindowFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDockingWindowFrame_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDockingWindowFrame_Release(This) (This)->lpVtbl->Release(This) +/*** IOleWindow methods ***/ +#define IDockingWindowFrame_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IDockingWindowFrame_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode) +/*** IDockingWindowFrame methods ***/ +#define IDockingWindowFrame_AddToolbar(This,punkSrc,pwszItem,dwAddFlags) (This)->lpVtbl->AddToolbar(This,punkSrc,pwszItem,dwAddFlags) +#define IDockingWindowFrame_RemoveToolbar(This,punkSrc,dwRemoveFlags) (This)->lpVtbl->RemoveToolbar(This,punkSrc,dwRemoveFlags) +#define IDockingWindowFrame_FindToolbar(This,pwszItem,riid,ppvObj) (This)->lpVtbl->FindToolbar(This,pwszItem,riid,ppvObj) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDockingWindowFrame_QueryInterface(IDockingWindowFrame* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDockingWindowFrame_AddRef(IDockingWindowFrame* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDockingWindowFrame_Release(IDockingWindowFrame* This) { + return This->lpVtbl->Release(This); +} +/*** IOleWindow methods ***/ +static FORCEINLINE HRESULT IDockingWindowFrame_GetWindow(IDockingWindowFrame* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IDockingWindowFrame_ContextSensitiveHelp(IDockingWindowFrame* This,BOOL fEnterMode) { + return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode); +} +/*** IDockingWindowFrame methods ***/ +static FORCEINLINE HRESULT IDockingWindowFrame_AddToolbar(IDockingWindowFrame* This,IUnknown *punkSrc,LPCWSTR pwszItem,DWORD dwAddFlags) { + return This->lpVtbl->AddToolbar(This,punkSrc,pwszItem,dwAddFlags); +} +static FORCEINLINE HRESULT IDockingWindowFrame_RemoveToolbar(IDockingWindowFrame* This,IUnknown *punkSrc,DWORD dwRemoveFlags) { + return This->lpVtbl->RemoveToolbar(This,punkSrc,dwRemoveFlags); +} +static FORCEINLINE HRESULT IDockingWindowFrame_FindToolbar(IDockingWindowFrame* This,LPCWSTR pwszItem,REFIID riid,LPVOID *ppvObj) { + return This->lpVtbl->FindToolbar(This,pwszItem,riid,ppvObj); +} +#endif +#endif + +#endif + + +#endif /* __IDockingWindowFrame_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDragSourceHelper interface + */ +#ifndef __IDragSourceHelper_INTERFACE_DEFINED__ +#define __IDragSourceHelper_INTERFACE_DEFINED__ + +typedef struct __WIDL_shobjidl_generated_name_0000001B { + SIZE sizeDragImage; + POINT ptOffset; + HBITMAP hbmpDragImage; + COLORREF crColorKey; +} SHDRAGIMAGE; +typedef struct __WIDL_shobjidl_generated_name_0000001B *LPSHDRAGIMAGE; +DEFINE_GUID(IID_IDragSourceHelper, 0xde5bf786, 0x477a, 0x11d2, 0x83,0x9d, 0x00,0xc0,0x4f,0xd9,0x18,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("de5bf786-477a-11d2-839d-00c04fd918d0") +IDragSourceHelper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitializeFromBitmap( + LPSHDRAGIMAGE pshdi, + IDataObject *pDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromWindow( + HWND hwnd, + POINT *ppt, + IDataObject *pDataObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDragSourceHelper, 0xde5bf786, 0x477a, 0x11d2, 0x83,0x9d, 0x00,0xc0,0x4f,0xd9,0x18,0xd0) +#endif +#else +typedef struct IDragSourceHelperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDragSourceHelper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDragSourceHelper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDragSourceHelper *This); + + /*** IDragSourceHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeFromBitmap)( + IDragSourceHelper *This, + LPSHDRAGIMAGE pshdi, + IDataObject *pDataObject); + + HRESULT (STDMETHODCALLTYPE *InitializeFromWindow)( + IDragSourceHelper *This, + HWND hwnd, + POINT *ppt, + IDataObject *pDataObject); + + END_INTERFACE +} IDragSourceHelperVtbl; + +interface IDragSourceHelper { + CONST_VTBL IDragSourceHelperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDragSourceHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDragSourceHelper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDragSourceHelper_Release(This) (This)->lpVtbl->Release(This) +/*** IDragSourceHelper methods ***/ +#define IDragSourceHelper_InitializeFromBitmap(This,pshdi,pDataObject) (This)->lpVtbl->InitializeFromBitmap(This,pshdi,pDataObject) +#define IDragSourceHelper_InitializeFromWindow(This,hwnd,ppt,pDataObject) (This)->lpVtbl->InitializeFromWindow(This,hwnd,ppt,pDataObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDragSourceHelper_QueryInterface(IDragSourceHelper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDragSourceHelper_AddRef(IDragSourceHelper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDragSourceHelper_Release(IDragSourceHelper* This) { + return This->lpVtbl->Release(This); +} +/*** IDragSourceHelper methods ***/ +static FORCEINLINE HRESULT IDragSourceHelper_InitializeFromBitmap(IDragSourceHelper* This,LPSHDRAGIMAGE pshdi,IDataObject *pDataObject) { + return This->lpVtbl->InitializeFromBitmap(This,pshdi,pDataObject); +} +static FORCEINLINE HRESULT IDragSourceHelper_InitializeFromWindow(IDragSourceHelper* This,HWND hwnd,POINT *ppt,IDataObject *pDataObject) { + return This->lpVtbl->InitializeFromWindow(This,hwnd,ppt,pDataObject); +} +#endif +#endif + +#endif + + +#endif /* __IDragSourceHelper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDropTargetHelper interface + */ +#ifndef __IDropTargetHelper_INTERFACE_DEFINED__ +#define __IDropTargetHelper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDropTargetHelper, 0x4657278b, 0x411b, 0x11d2, 0x83,0x9a, 0x00,0xc0,0x4f,0xd9,0x18,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4657278b-411b-11d2-839a-00c04fd918d0") +IDropTargetHelper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DragEnter( + HWND hwndTarget, + IDataObject *pDataObject, + POINT *ppt, + DWORD dwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragLeave( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DragOver( + POINT *ppt, + DWORD dwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE Drop( + IDataObject *pDataObject, + POINT *ppt, + DWORD dwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE Show( + BOOL fShow) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDropTargetHelper, 0x4657278b, 0x411b, 0x11d2, 0x83,0x9a, 0x00,0xc0,0x4f,0xd9,0x18,0xd0) +#endif +#else +typedef struct IDropTargetHelperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDropTargetHelper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDropTargetHelper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDropTargetHelper *This); + + /*** IDropTargetHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *DragEnter)( + IDropTargetHelper *This, + HWND hwndTarget, + IDataObject *pDataObject, + POINT *ppt, + DWORD dwEffect); + + HRESULT (STDMETHODCALLTYPE *DragLeave)( + IDropTargetHelper *This); + + HRESULT (STDMETHODCALLTYPE *DragOver)( + IDropTargetHelper *This, + POINT *ppt, + DWORD dwEffect); + + HRESULT (STDMETHODCALLTYPE *Drop)( + IDropTargetHelper *This, + IDataObject *pDataObject, + POINT *ppt, + DWORD dwEffect); + + HRESULT (STDMETHODCALLTYPE *Show)( + IDropTargetHelper *This, + BOOL fShow); + + END_INTERFACE +} IDropTargetHelperVtbl; + +interface IDropTargetHelper { + CONST_VTBL IDropTargetHelperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDropTargetHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDropTargetHelper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDropTargetHelper_Release(This) (This)->lpVtbl->Release(This) +/*** IDropTargetHelper methods ***/ +#define IDropTargetHelper_DragEnter(This,hwndTarget,pDataObject,ppt,dwEffect) (This)->lpVtbl->DragEnter(This,hwndTarget,pDataObject,ppt,dwEffect) +#define IDropTargetHelper_DragLeave(This) (This)->lpVtbl->DragLeave(This) +#define IDropTargetHelper_DragOver(This,ppt,dwEffect) (This)->lpVtbl->DragOver(This,ppt,dwEffect) +#define IDropTargetHelper_Drop(This,pDataObject,ppt,dwEffect) (This)->lpVtbl->Drop(This,pDataObject,ppt,dwEffect) +#define IDropTargetHelper_Show(This,fShow) (This)->lpVtbl->Show(This,fShow) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDropTargetHelper_QueryInterface(IDropTargetHelper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDropTargetHelper_AddRef(IDropTargetHelper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDropTargetHelper_Release(IDropTargetHelper* This) { + return This->lpVtbl->Release(This); +} +/*** IDropTargetHelper methods ***/ +static FORCEINLINE HRESULT IDropTargetHelper_DragEnter(IDropTargetHelper* This,HWND hwndTarget,IDataObject *pDataObject,POINT *ppt,DWORD dwEffect) { + return This->lpVtbl->DragEnter(This,hwndTarget,pDataObject,ppt,dwEffect); +} +static FORCEINLINE HRESULT IDropTargetHelper_DragLeave(IDropTargetHelper* This) { + return This->lpVtbl->DragLeave(This); +} +static FORCEINLINE HRESULT IDropTargetHelper_DragOver(IDropTargetHelper* This,POINT *ppt,DWORD dwEffect) { + return This->lpVtbl->DragOver(This,ppt,dwEffect); +} +static FORCEINLINE HRESULT IDropTargetHelper_Drop(IDropTargetHelper* This,IDataObject *pDataObject,POINT *ppt,DWORD dwEffect) { + return This->lpVtbl->Drop(This,pDataObject,ppt,dwEffect); +} +static FORCEINLINE HRESULT IDropTargetHelper_Show(IDropTargetHelper* This,BOOL fShow) { + return This->lpVtbl->Show(This,fShow); +} +#endif +#endif + +#endif + + +#endif /* __IDropTargetHelper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContextMenu interface + */ +#ifndef __IContextMenu_INTERFACE_DEFINED__ +#define __IContextMenu_INTERFACE_DEFINED__ + +#define CMF_NORMAL 0x00000000 +#define CMF_DEFAULTONLY 0x00000001 +#define CMF_VERBSONLY 0x00000002 +#define CMF_EXPLORE 0x00000004 +#define CMF_NOVERBS 0x00000008 +#define CMF_CANRENAME 0x00000010 +#define CMF_NODEFAULT 0x00000020 +#define CMF_INCLUDESTATIC 0x00000040 +#define CMF_ITEMMENU 0x00000080 +#define CMF_EXTENDEDVERBS 0x00000100 +#define CMF_DISABLEDVERBS 0x00000200 +#define CMF_ASYNCVERBSTATE 0x00000400 +#define CMF_OPTIMIZEFORINVOKE 0x00000800 +#define CMF_SYNCCASCADEMENU 0x00001000 +#define CMF_DONOTPICKDEFAULT 0x00002000 +#define CMF_RESERVED 0xffff0000 +#define GCS_VERBA 0x00000000 +#define GCS_HELPTEXTA 0x00000001 +#define GCS_VALIDATEA 0x00000002 +#define GCS_VERBW 0x00000004 +#define GCS_HELPTEXTW 0x00000005 +#define GCS_VALIDATEW 0x00000006 +#define GCS_UNICODE 0x00000004 +#define GCS_VERB WINELIB_NAME_AW(GCS_VERB) +#define GCS_HELPTEXT WINELIB_NAME_AW(GCS_HELPTEXT) +#define GCS_VALIDATE WINELIB_NAME_AW(GCS_VALIDATE) +#define CMDSTR_NEWFOLDERA "NewFolder" +#define CMDSTR_VIEWLISTA "ViewList" +#define CMDSTR_VIEWDETAILSA "ViewDetails" +#if defined(__GNUC__) +# define CMDSTR_NEWFOLDERW (const WCHAR []){ 'N','e','w','F','o','l','d','e','r',0 } +# define CMDSTR_VIEWLISTW (const WCHAR []){ 'V','i','e','w','L','i','s','t',0 } +# define CMDSTR_VIEWDETAILSW (const WCHAR []){ 'V','i','e','w','D','e','t','a','i','l','s',0 } +#elif defined(_MSC_VER) +# define CMDSTR_NEWFOLDERW L"NewFolder" +# define CMDSTR_VIEWLISTW L"ViewList" +# define CMDSTR_VIEWDETAILSW L"ViewDetails" +#else +static const WCHAR CMDSTR_NEWFOLDERW[] = {'N','e','w','F','o','l','d','e','r',0}; +static const WCHAR CMDSTR_VIEWLISTW [] = {'V','i','e','w','L','i','s','t',0}; +static const WCHAR CMDSTR_VIEWDETAILSW[] = {'V','i','e','w','D','e','t','a','i','l','s',0}; +#endif +#define CMDSTR_NEWFOLDER WINELIB_NAME_AW(CMDSTR_NEWFOLDER) +#define CMDSTR_VIEWLIST WINELIB_NAME_AW(CMDSTR_VIEWLIST) +#define CMDSTR_VIEWDETAILS WINELIB_NAME_AW(CMDSTR_VIEWDETAILS) +#define CMIC_MASK_HOTKEY SEE_MASK_HOTKEY +#define CMIC_MASK_ICON SEE_MASK_ICON +#define CMIC_MASK_FLAG_NO_UI SEE_MASK_FLAG_NO_UI +#define CMIC_MASK_UNICODE SEE_MASK_UNICODE +#define CMIC_MASK_NO_CONSOLE SEE_MASK_NO_CONSOLE +#define CMIC_MASK_HASLINKNAME SEE_MASK_HASLINKNAME +#define CMIC_MASK_FLAG_SEP_VDM SEE_MASK_FLAG_SEPVDM +#define CMIC_MASK_HASTITLE SEE_MASK_HASTITLE +#define CMIC_MASK_ASYNCOK SEE_MASK_ASYNCOK +#define CMIC_MASK_NOASYNC SEE_MASK_NOASYNC +#define CMIC_MASK_SHIFT_DOWN 0x10000000 +#define CMIC_MASK_PTINVOKE 0x20000000 +#define CMIC_MASK_CONTROL_DOWN 0x40000000 +#define CMIC_MASK_FLAG_LOG_USAGE SEE_MASK_FLAG_LOG_USAGE +#define CMIC_MASK_NOZONECHECKS SEE_MASK_NOZONECHECKS +typedef IContextMenu *LPCONTEXTMENU; +typedef struct tagCMINVOKECOMMANDINFO { + DWORD cbSize; + DWORD fMask; + HWND hwnd; + LPCSTR lpVerb; + LPCSTR lpParameters; + LPCSTR lpDirectory; + INT nShow; + DWORD dwHotKey; + HANDLE hIcon; +} CMINVOKECOMMANDINFO; +typedef struct tagCMINVOKECOMMANDINFO *LPCMINVOKECOMMANDINFO; +typedef struct tagCMInvokeCommandInfoEx { + DWORD cbSize; + DWORD fMask; + HWND hwnd; + LPCSTR lpVerb; + LPCSTR lpParameters; + LPCSTR lpDirectory; + INT nShow; + DWORD dwHotKey; + HANDLE hIcon; + LPCSTR lpTitle; + LPCWSTR lpVerbW; + LPCWSTR lpParametersW; + LPCWSTR lpDirectoryW; + LPCWSTR lpTitleW; + POINT ptInvoke; +} CMINVOKECOMMANDINFOEX; +typedef struct tagCMInvokeCommandInfoEx *LPCMINVOKECOMMANDINFOEX; +DEFINE_GUID(IID_IContextMenu, 0x000214e4, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e4-0000-0000-c000-000000000046") +IContextMenu : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryContextMenu( + HMENU hmenu, + UINT indexMenu, + UINT idCmdFirst, + UINT idCmdLast, + UINT uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeCommand( + LPCMINVOKECOMMANDINFO lpici) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCommandString( + UINT_PTR idCmd, + UINT uType, + UINT *pwReserved, + LPSTR pszName, + UINT cchMax) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContextMenu, 0x000214e4, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IContextMenuVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContextMenu *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContextMenu *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContextMenu *This); + + /*** IContextMenu methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryContextMenu)( + IContextMenu *This, + HMENU hmenu, + UINT indexMenu, + UINT idCmdFirst, + UINT idCmdLast, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *InvokeCommand)( + IContextMenu *This, + LPCMINVOKECOMMANDINFO lpici); + + HRESULT (STDMETHODCALLTYPE *GetCommandString)( + IContextMenu *This, + UINT_PTR idCmd, + UINT uType, + UINT *pwReserved, + LPSTR pszName, + UINT cchMax); + + END_INTERFACE +} IContextMenuVtbl; + +interface IContextMenu { + CONST_VTBL IContextMenuVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContextMenu_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContextMenu_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContextMenu_Release(This) (This)->lpVtbl->Release(This) +/*** IContextMenu methods ***/ +#define IContextMenu_QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags) (This)->lpVtbl->QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags) +#define IContextMenu_InvokeCommand(This,lpici) (This)->lpVtbl->InvokeCommand(This,lpici) +#define IContextMenu_GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax) (This)->lpVtbl->GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContextMenu_QueryInterface(IContextMenu* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContextMenu_AddRef(IContextMenu* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContextMenu_Release(IContextMenu* This) { + return This->lpVtbl->Release(This); +} +/*** IContextMenu methods ***/ +static FORCEINLINE HRESULT IContextMenu_QueryContextMenu(IContextMenu* This,HMENU hmenu,UINT indexMenu,UINT idCmdFirst,UINT idCmdLast,UINT uFlags) { + return This->lpVtbl->QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags); +} +static FORCEINLINE HRESULT IContextMenu_InvokeCommand(IContextMenu* This,LPCMINVOKECOMMANDINFO lpici) { + return This->lpVtbl->InvokeCommand(This,lpici); +} +static FORCEINLINE HRESULT IContextMenu_GetCommandString(IContextMenu* This,UINT_PTR idCmd,UINT uType,UINT *pwReserved,LPSTR pszName,UINT cchMax) { + return This->lpVtbl->GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax); +} +#endif +#endif + +#endif + + +#endif /* __IContextMenu_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContextMenu2 interface + */ +#ifndef __IContextMenu2_INTERFACE_DEFINED__ +#define __IContextMenu2_INTERFACE_DEFINED__ + +typedef IContextMenu2 *LPCONTEXTMENU2; +DEFINE_GUID(IID_IContextMenu2, 0x000214f4, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214f4-0000-0000-c000-000000000046") +IContextMenu2 : public IContextMenu +{ + virtual HRESULT STDMETHODCALLTYPE HandleMenuMsg( + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContextMenu2, 0x000214f4, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IContextMenu2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContextMenu2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContextMenu2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContextMenu2 *This); + + /*** IContextMenu methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryContextMenu)( + IContextMenu2 *This, + HMENU hmenu, + UINT indexMenu, + UINT idCmdFirst, + UINT idCmdLast, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *InvokeCommand)( + IContextMenu2 *This, + LPCMINVOKECOMMANDINFO lpici); + + HRESULT (STDMETHODCALLTYPE *GetCommandString)( + IContextMenu2 *This, + UINT_PTR idCmd, + UINT uType, + UINT *pwReserved, + LPSTR pszName, + UINT cchMax); + + /*** IContextMenu2 methods ***/ + HRESULT (STDMETHODCALLTYPE *HandleMenuMsg)( + IContextMenu2 *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + END_INTERFACE +} IContextMenu2Vtbl; + +interface IContextMenu2 { + CONST_VTBL IContextMenu2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContextMenu2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContextMenu2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContextMenu2_Release(This) (This)->lpVtbl->Release(This) +/*** IContextMenu methods ***/ +#define IContextMenu2_QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags) (This)->lpVtbl->QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags) +#define IContextMenu2_InvokeCommand(This,lpici) (This)->lpVtbl->InvokeCommand(This,lpici) +#define IContextMenu2_GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax) (This)->lpVtbl->GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax) +/*** IContextMenu2 methods ***/ +#define IContextMenu2_HandleMenuMsg(This,uMsg,wParam,lParam) (This)->lpVtbl->HandleMenuMsg(This,uMsg,wParam,lParam) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContextMenu2_QueryInterface(IContextMenu2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContextMenu2_AddRef(IContextMenu2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContextMenu2_Release(IContextMenu2* This) { + return This->lpVtbl->Release(This); +} +/*** IContextMenu methods ***/ +static FORCEINLINE HRESULT IContextMenu2_QueryContextMenu(IContextMenu2* This,HMENU hmenu,UINT indexMenu,UINT idCmdFirst,UINT idCmdLast,UINT uFlags) { + return This->lpVtbl->QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags); +} +static FORCEINLINE HRESULT IContextMenu2_InvokeCommand(IContextMenu2* This,LPCMINVOKECOMMANDINFO lpici) { + return This->lpVtbl->InvokeCommand(This,lpici); +} +static FORCEINLINE HRESULT IContextMenu2_GetCommandString(IContextMenu2* This,UINT_PTR idCmd,UINT uType,UINT *pwReserved,LPSTR pszName,UINT cchMax) { + return This->lpVtbl->GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax); +} +/*** IContextMenu2 methods ***/ +static FORCEINLINE HRESULT IContextMenu2_HandleMenuMsg(IContextMenu2* This,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->HandleMenuMsg(This,uMsg,wParam,lParam); +} +#endif +#endif + +#endif + + +#endif /* __IContextMenu2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContextMenu3 interface + */ +#ifndef __IContextMenu3_INTERFACE_DEFINED__ +#define __IContextMenu3_INTERFACE_DEFINED__ + +typedef IContextMenu3 *LPCONTEXTMENU3; +DEFINE_GUID(IID_IContextMenu3, 0xbcfce0a0, 0xec17, 0x11d0, 0x8d,0x10, 0x00,0xa0,0xc9,0x0f,0x27,0x19); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bcfce0a0-ec17-11d0-8d10-00a0c90f2719") +IContextMenu3 : public IContextMenu2 +{ + virtual HRESULT STDMETHODCALLTYPE HandleMenuMsg2( + UINT uMsg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContextMenu3, 0xbcfce0a0, 0xec17, 0x11d0, 0x8d,0x10, 0x00,0xa0,0xc9,0x0f,0x27,0x19) +#endif +#else +typedef struct IContextMenu3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContextMenu3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContextMenu3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContextMenu3 *This); + + /*** IContextMenu methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryContextMenu)( + IContextMenu3 *This, + HMENU hmenu, + UINT indexMenu, + UINT idCmdFirst, + UINT idCmdLast, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *InvokeCommand)( + IContextMenu3 *This, + LPCMINVOKECOMMANDINFO lpici); + + HRESULT (STDMETHODCALLTYPE *GetCommandString)( + IContextMenu3 *This, + UINT_PTR idCmd, + UINT uType, + UINT *pwReserved, + LPSTR pszName, + UINT cchMax); + + /*** IContextMenu2 methods ***/ + HRESULT (STDMETHODCALLTYPE *HandleMenuMsg)( + IContextMenu3 *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + /*** IContextMenu3 methods ***/ + HRESULT (STDMETHODCALLTYPE *HandleMenuMsg2)( + IContextMenu3 *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult); + + END_INTERFACE +} IContextMenu3Vtbl; + +interface IContextMenu3 { + CONST_VTBL IContextMenu3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContextMenu3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContextMenu3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContextMenu3_Release(This) (This)->lpVtbl->Release(This) +/*** IContextMenu methods ***/ +#define IContextMenu3_QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags) (This)->lpVtbl->QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags) +#define IContextMenu3_InvokeCommand(This,lpici) (This)->lpVtbl->InvokeCommand(This,lpici) +#define IContextMenu3_GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax) (This)->lpVtbl->GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax) +/*** IContextMenu2 methods ***/ +#define IContextMenu3_HandleMenuMsg(This,uMsg,wParam,lParam) (This)->lpVtbl->HandleMenuMsg(This,uMsg,wParam,lParam) +/*** IContextMenu3 methods ***/ +#define IContextMenu3_HandleMenuMsg2(This,uMsg,wParam,lParam,plResult) (This)->lpVtbl->HandleMenuMsg2(This,uMsg,wParam,lParam,plResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContextMenu3_QueryInterface(IContextMenu3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContextMenu3_AddRef(IContextMenu3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContextMenu3_Release(IContextMenu3* This) { + return This->lpVtbl->Release(This); +} +/*** IContextMenu methods ***/ +static FORCEINLINE HRESULT IContextMenu3_QueryContextMenu(IContextMenu3* This,HMENU hmenu,UINT indexMenu,UINT idCmdFirst,UINT idCmdLast,UINT uFlags) { + return This->lpVtbl->QueryContextMenu(This,hmenu,indexMenu,idCmdFirst,idCmdLast,uFlags); +} +static FORCEINLINE HRESULT IContextMenu3_InvokeCommand(IContextMenu3* This,LPCMINVOKECOMMANDINFO lpici) { + return This->lpVtbl->InvokeCommand(This,lpici); +} +static FORCEINLINE HRESULT IContextMenu3_GetCommandString(IContextMenu3* This,UINT_PTR idCmd,UINT uType,UINT *pwReserved,LPSTR pszName,UINT cchMax) { + return This->lpVtbl->GetCommandString(This,idCmd,uType,pwReserved,pszName,cchMax); +} +/*** IContextMenu2 methods ***/ +static FORCEINLINE HRESULT IContextMenu3_HandleMenuMsg(IContextMenu3* This,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->HandleMenuMsg(This,uMsg,wParam,lParam); +} +/*** IContextMenu3 methods ***/ +static FORCEINLINE HRESULT IContextMenu3_HandleMenuMsg2(IContextMenu3* This,UINT uMsg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) { + return This->lpVtbl->HandleMenuMsg2(This,uMsg,wParam,lParam,plResult); +} +#endif +#endif + +#endif + + +#endif /* __IContextMenu3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IContextMenuCB interface + */ +#ifndef __IContextMenuCB_INTERFACE_DEFINED__ +#define __IContextMenuCB_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IContextMenuCB, 0x3409e930, 0x5a39, 0x11d1, 0x83,0xfa, 0x00,0xa0,0xc9,0x0d,0xc8,0x49); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3409e930-5a39-11d1-83fa-00a0c90dc849") +IContextMenuCB : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CallBack( + IShellFolder *psf, + HWND hwndOwner, + IDataObject *pdtobj, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IContextMenuCB, 0x3409e930, 0x5a39, 0x11d1, 0x83,0xfa, 0x00,0xa0,0xc9,0x0d,0xc8,0x49) +#endif +#else +typedef struct IContextMenuCBVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IContextMenuCB *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IContextMenuCB *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IContextMenuCB *This); + + /*** IContextMenuCB methods ***/ + HRESULT (STDMETHODCALLTYPE *CallBack)( + IContextMenuCB *This, + IShellFolder *psf, + HWND hwndOwner, + IDataObject *pdtobj, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + END_INTERFACE +} IContextMenuCBVtbl; + +interface IContextMenuCB { + CONST_VTBL IContextMenuCBVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IContextMenuCB_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IContextMenuCB_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IContextMenuCB_Release(This) (This)->lpVtbl->Release(This) +/*** IContextMenuCB methods ***/ +#define IContextMenuCB_CallBack(This,psf,hwndOwner,pdtobj,uMsg,wParam,lParam) (This)->lpVtbl->CallBack(This,psf,hwndOwner,pdtobj,uMsg,wParam,lParam) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IContextMenuCB_QueryInterface(IContextMenuCB* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IContextMenuCB_AddRef(IContextMenuCB* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IContextMenuCB_Release(IContextMenuCB* This) { + return This->lpVtbl->Release(This); +} +/*** IContextMenuCB methods ***/ +static FORCEINLINE HRESULT IContextMenuCB_CallBack(IContextMenuCB* This,IShellFolder *psf,HWND hwndOwner,IDataObject *pdtobj,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->CallBack(This,psf,hwndOwner,pdtobj,uMsg,wParam,lParam); +} +#endif +#endif + +#endif + + +#endif /* __IContextMenuCB_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellExecuteHookA interface + */ +#ifndef __IShellExecuteHookA_INTERFACE_DEFINED__ +#define __IShellExecuteHookA_INTERFACE_DEFINED__ + +struct _SHELLEXECUTEINFOA; +DEFINE_GUID(IID_IShellExecuteHookA, 0x000214f5, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214f5-0000-0000-c000-000000000046") +IShellExecuteHookA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Execute( + struct _SHELLEXECUTEINFOA *pei) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellExecuteHookA, 0x000214f5, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellExecuteHookAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellExecuteHookA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellExecuteHookA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellExecuteHookA *This); + + /*** IShellExecuteHookA methods ***/ + HRESULT (STDMETHODCALLTYPE *Execute)( + IShellExecuteHookA *This, + struct _SHELLEXECUTEINFOA *pei); + + END_INTERFACE +} IShellExecuteHookAVtbl; + +interface IShellExecuteHookA { + CONST_VTBL IShellExecuteHookAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellExecuteHookA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellExecuteHookA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellExecuteHookA_Release(This) (This)->lpVtbl->Release(This) +/*** IShellExecuteHookA methods ***/ +#define IShellExecuteHookA_Execute(This,pei) (This)->lpVtbl->Execute(This,pei) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellExecuteHookA_QueryInterface(IShellExecuteHookA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellExecuteHookA_AddRef(IShellExecuteHookA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellExecuteHookA_Release(IShellExecuteHookA* This) { + return This->lpVtbl->Release(This); +} +/*** IShellExecuteHookA methods ***/ +static FORCEINLINE HRESULT IShellExecuteHookA_Execute(IShellExecuteHookA* This,struct _SHELLEXECUTEINFOA *pei) { + return This->lpVtbl->Execute(This,pei); +} +#endif +#endif + +#endif + + +#endif /* __IShellExecuteHookA_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellExecuteHookW interface + */ +#ifndef __IShellExecuteHookW_INTERFACE_DEFINED__ +#define __IShellExecuteHookW_INTERFACE_DEFINED__ + +struct _SHELLEXECUTEINFOW; +DEFINE_GUID(IID_IShellExecuteHookW, 0x000214fb, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214fb-0000-0000-c000-000000000046") +IShellExecuteHookW : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Execute( + struct _SHELLEXECUTEINFOW *pei) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellExecuteHookW, 0x000214fb, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IShellExecuteHookWVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellExecuteHookW *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellExecuteHookW *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellExecuteHookW *This); + + /*** IShellExecuteHookW methods ***/ + HRESULT (STDMETHODCALLTYPE *Execute)( + IShellExecuteHookW *This, + struct _SHELLEXECUTEINFOW *pei); + + END_INTERFACE +} IShellExecuteHookWVtbl; + +interface IShellExecuteHookW { + CONST_VTBL IShellExecuteHookWVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellExecuteHookW_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellExecuteHookW_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellExecuteHookW_Release(This) (This)->lpVtbl->Release(This) +/*** IShellExecuteHookW methods ***/ +#define IShellExecuteHookW_Execute(This,pei) (This)->lpVtbl->Execute(This,pei) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellExecuteHookW_QueryInterface(IShellExecuteHookW* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellExecuteHookW_AddRef(IShellExecuteHookW* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellExecuteHookW_Release(IShellExecuteHookW* This) { + return This->lpVtbl->Release(This); +} +/*** IShellExecuteHookW methods ***/ +static FORCEINLINE HRESULT IShellExecuteHookW_Execute(IShellExecuteHookW* This,struct _SHELLEXECUTEINFOW *pei) { + return This->lpVtbl->Execute(This,pei); +} +#endif +#endif + +#endif + + +#endif /* __IShellExecuteHookW_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellLinkDataList interface + */ +#ifndef __IShellLinkDataList_INTERFACE_DEFINED__ +#define __IShellLinkDataList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellLinkDataList, 0x45e2b4ae, 0xb1c3, 0x11d0, 0xb9,0x2f, 0x00,0xa0,0xc9,0x03,0x12,0xe1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("45e2b4ae-b1c3-11d0-b92f-00a0c90312e1") +IShellLinkDataList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddDataBlock( + void *pDataBlock) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyDataBlock( + DWORD dwSig, + void **ppDataBlock) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveDataBlock( + DWORD dwSig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlags( + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFlags( + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellLinkDataList, 0x45e2b4ae, 0xb1c3, 0x11d0, 0xb9,0x2f, 0x00,0xa0,0xc9,0x03,0x12,0xe1) +#endif +#else +typedef struct IShellLinkDataListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellLinkDataList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellLinkDataList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellLinkDataList *This); + + /*** IShellLinkDataList methods ***/ + HRESULT (STDMETHODCALLTYPE *AddDataBlock)( + IShellLinkDataList *This, + void *pDataBlock); + + HRESULT (STDMETHODCALLTYPE *CopyDataBlock)( + IShellLinkDataList *This, + DWORD dwSig, + void **ppDataBlock); + + HRESULT (STDMETHODCALLTYPE *RemoveDataBlock)( + IShellLinkDataList *This, + DWORD dwSig); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + IShellLinkDataList *This, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + IShellLinkDataList *This, + DWORD dwFlags); + + END_INTERFACE +} IShellLinkDataListVtbl; + +interface IShellLinkDataList { + CONST_VTBL IShellLinkDataListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellLinkDataList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellLinkDataList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellLinkDataList_Release(This) (This)->lpVtbl->Release(This) +/*** IShellLinkDataList methods ***/ +#define IShellLinkDataList_AddDataBlock(This,pDataBlock) (This)->lpVtbl->AddDataBlock(This,pDataBlock) +#define IShellLinkDataList_CopyDataBlock(This,dwSig,ppDataBlock) (This)->lpVtbl->CopyDataBlock(This,dwSig,ppDataBlock) +#define IShellLinkDataList_RemoveDataBlock(This,dwSig) (This)->lpVtbl->RemoveDataBlock(This,dwSig) +#define IShellLinkDataList_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags) +#define IShellLinkDataList_SetFlags(This,dwFlags) (This)->lpVtbl->SetFlags(This,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellLinkDataList_QueryInterface(IShellLinkDataList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellLinkDataList_AddRef(IShellLinkDataList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellLinkDataList_Release(IShellLinkDataList* This) { + return This->lpVtbl->Release(This); +} +/*** IShellLinkDataList methods ***/ +static FORCEINLINE HRESULT IShellLinkDataList_AddDataBlock(IShellLinkDataList* This,void *pDataBlock) { + return This->lpVtbl->AddDataBlock(This,pDataBlock); +} +static FORCEINLINE HRESULT IShellLinkDataList_CopyDataBlock(IShellLinkDataList* This,DWORD dwSig,void **ppDataBlock) { + return This->lpVtbl->CopyDataBlock(This,dwSig,ppDataBlock); +} +static FORCEINLINE HRESULT IShellLinkDataList_RemoveDataBlock(IShellLinkDataList* This,DWORD dwSig) { + return This->lpVtbl->RemoveDataBlock(This,dwSig); +} +static FORCEINLINE HRESULT IShellLinkDataList_GetFlags(IShellLinkDataList* This,DWORD *pdwFlags) { + return This->lpVtbl->GetFlags(This,pdwFlags); +} +static FORCEINLINE HRESULT IShellLinkDataList_SetFlags(IShellLinkDataList* This,DWORD dwFlags) { + return This->lpVtbl->SetFlags(This,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IShellLinkDataList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResolveShellLink interface + */ +#ifndef __IResolveShellLink_INTERFACE_DEFINED__ +#define __IResolveShellLink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResolveShellLink, 0x5cd52983, 0x9449, 0x11d2, 0x96,0x3a, 0x00,0xc0,0x4f,0x79,0xad,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5cd52983-9449-11d2-963a-00c04f79adf0") +IResolveShellLink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ResolveShellLink( + IUnknown *punk, + HWND hwnd, + DWORD fFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResolveShellLink, 0x5cd52983, 0x9449, 0x11d2, 0x96,0x3a, 0x00,0xc0,0x4f,0x79,0xad,0xf0) +#endif +#else +typedef struct IResolveShellLinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResolveShellLink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResolveShellLink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResolveShellLink *This); + + /*** IResolveShellLink methods ***/ + HRESULT (STDMETHODCALLTYPE *ResolveShellLink)( + IResolveShellLink *This, + IUnknown *punk, + HWND hwnd, + DWORD fFlags); + + END_INTERFACE +} IResolveShellLinkVtbl; + +interface IResolveShellLink { + CONST_VTBL IResolveShellLinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResolveShellLink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResolveShellLink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResolveShellLink_Release(This) (This)->lpVtbl->Release(This) +/*** IResolveShellLink methods ***/ +#define IResolveShellLink_ResolveShellLink(This,punk,hwnd,fFlags) (This)->lpVtbl->ResolveShellLink(This,punk,hwnd,fFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResolveShellLink_QueryInterface(IResolveShellLink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResolveShellLink_AddRef(IResolveShellLink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResolveShellLink_Release(IResolveShellLink* This) { + return This->lpVtbl->Release(This); +} +/*** IResolveShellLink methods ***/ +static FORCEINLINE HRESULT IResolveShellLink_ResolveShellLink(IResolveShellLink* This,IUnknown *punk,HWND hwnd,DWORD fFlags) { + return This->lpVtbl->ResolveShellLink(This,punk,hwnd,fFlags); +} +#endif +#endif + +#endif + + +#endif /* __IResolveShellLink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IURLSearchHook interface + */ +#ifndef __IURLSearchHook_INTERFACE_DEFINED__ +#define __IURLSearchHook_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IURLSearchHook, 0xac60f6a0, 0x0fd9, 0x11d0, 0x99,0xcb, 0x00,0xc0,0x4f,0xd6,0x44,0x97); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ac60f6a0-0fd9-11d0-99cb-00c04fd64497") +IURLSearchHook : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Translate( + LPWSTR lpwszSearchURL, + DWORD cchBufferSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IURLSearchHook, 0xac60f6a0, 0x0fd9, 0x11d0, 0x99,0xcb, 0x00,0xc0,0x4f,0xd6,0x44,0x97) +#endif +#else +typedef struct IURLSearchHookVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IURLSearchHook *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IURLSearchHook *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IURLSearchHook *This); + + /*** IURLSearchHook methods ***/ + HRESULT (STDMETHODCALLTYPE *Translate)( + IURLSearchHook *This, + LPWSTR lpwszSearchURL, + DWORD cchBufferSize); + + END_INTERFACE +} IURLSearchHookVtbl; + +interface IURLSearchHook { + CONST_VTBL IURLSearchHookVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IURLSearchHook_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IURLSearchHook_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IURLSearchHook_Release(This) (This)->lpVtbl->Release(This) +/*** IURLSearchHook methods ***/ +#define IURLSearchHook_Translate(This,lpwszSearchURL,cchBufferSize) (This)->lpVtbl->Translate(This,lpwszSearchURL,cchBufferSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IURLSearchHook_QueryInterface(IURLSearchHook* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IURLSearchHook_AddRef(IURLSearchHook* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IURLSearchHook_Release(IURLSearchHook* This) { + return This->lpVtbl->Release(This); +} +/*** IURLSearchHook methods ***/ +static FORCEINLINE HRESULT IURLSearchHook_Translate(IURLSearchHook* This,LPWSTR lpwszSearchURL,DWORD cchBufferSize) { + return This->lpVtbl->Translate(This,lpwszSearchURL,cchBufferSize); +} +#endif +#endif + +#endif + + +#endif /* __IURLSearchHook_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearchContext interface + */ +#ifndef __ISearchContext_INTERFACE_DEFINED__ +#define __ISearchContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearchContext, 0x09f656a2, 0x41af, 0x480c, 0x88,0xf7, 0x16,0xcc,0x0d,0x16,0x46,0x15); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("09f656a2-41af-480c-88f7-16cc0d164615") +ISearchContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSearchUrl( + BSTR *pbstrSearchUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSearchText( + BSTR *pbstrSearchText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSearchStyle( + BSTR *pdwSearchStyle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearchContext, 0x09f656a2, 0x41af, 0x480c, 0x88,0xf7, 0x16,0xcc,0x0d,0x16,0x46,0x15) +#endif +#else +typedef struct ISearchContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearchContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearchContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearchContext *This); + + /*** ISearchContext methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSearchUrl)( + ISearchContext *This, + BSTR *pbstrSearchUrl); + + HRESULT (STDMETHODCALLTYPE *GetSearchText)( + ISearchContext *This, + BSTR *pbstrSearchText); + + HRESULT (STDMETHODCALLTYPE *GetSearchStyle)( + ISearchContext *This, + BSTR *pdwSearchStyle); + + END_INTERFACE +} ISearchContextVtbl; + +interface ISearchContext { + CONST_VTBL ISearchContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearchContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearchContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearchContext_Release(This) (This)->lpVtbl->Release(This) +/*** ISearchContext methods ***/ +#define ISearchContext_GetSearchUrl(This,pbstrSearchUrl) (This)->lpVtbl->GetSearchUrl(This,pbstrSearchUrl) +#define ISearchContext_GetSearchText(This,pbstrSearchText) (This)->lpVtbl->GetSearchText(This,pbstrSearchText) +#define ISearchContext_GetSearchStyle(This,pdwSearchStyle) (This)->lpVtbl->GetSearchStyle(This,pdwSearchStyle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearchContext_QueryInterface(ISearchContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearchContext_AddRef(ISearchContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearchContext_Release(ISearchContext* This) { + return This->lpVtbl->Release(This); +} +/*** ISearchContext methods ***/ +static FORCEINLINE HRESULT ISearchContext_GetSearchUrl(ISearchContext* This,BSTR *pbstrSearchUrl) { + return This->lpVtbl->GetSearchUrl(This,pbstrSearchUrl); +} +static FORCEINLINE HRESULT ISearchContext_GetSearchText(ISearchContext* This,BSTR *pbstrSearchText) { + return This->lpVtbl->GetSearchText(This,pbstrSearchText); +} +static FORCEINLINE HRESULT ISearchContext_GetSearchStyle(ISearchContext* This,BSTR *pdwSearchStyle) { + return This->lpVtbl->GetSearchStyle(This,pdwSearchStyle); +} +#endif +#endif + +#endif + + +#endif /* __ISearchContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IURLSearchHook2 interface + */ +#ifndef __IURLSearchHook2_INTERFACE_DEFINED__ +#define __IURLSearchHook2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IURLSearchHook2, 0x5ee44da4, 0x6d32, 0x46e3, 0x86,0xbc, 0x07,0x54,0x0d,0xed,0xd0,0xe0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5ee44da4-6d32-46e3-86bc-07540dedd0e0") +IURLSearchHook2 : public IURLSearchHook +{ + virtual HRESULT STDMETHODCALLTYPE TranslateWithSearchContext( + LPWSTR lpwszSearchURL, + DWORD cchBufferSize, + ISearchContext *pSearchContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IURLSearchHook2, 0x5ee44da4, 0x6d32, 0x46e3, 0x86,0xbc, 0x07,0x54,0x0d,0xed,0xd0,0xe0) +#endif +#else +typedef struct IURLSearchHook2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IURLSearchHook2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IURLSearchHook2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IURLSearchHook2 *This); + + /*** IURLSearchHook methods ***/ + HRESULT (STDMETHODCALLTYPE *Translate)( + IURLSearchHook2 *This, + LPWSTR lpwszSearchURL, + DWORD cchBufferSize); + + /*** IURLSearchHook2 methods ***/ + HRESULT (STDMETHODCALLTYPE *TranslateWithSearchContext)( + IURLSearchHook2 *This, + LPWSTR lpwszSearchURL, + DWORD cchBufferSize, + ISearchContext *pSearchContext); + + END_INTERFACE +} IURLSearchHook2Vtbl; + +interface IURLSearchHook2 { + CONST_VTBL IURLSearchHook2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IURLSearchHook2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IURLSearchHook2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IURLSearchHook2_Release(This) (This)->lpVtbl->Release(This) +/*** IURLSearchHook methods ***/ +#define IURLSearchHook2_Translate(This,lpwszSearchURL,cchBufferSize) (This)->lpVtbl->Translate(This,lpwszSearchURL,cchBufferSize) +/*** IURLSearchHook2 methods ***/ +#define IURLSearchHook2_TranslateWithSearchContext(This,lpwszSearchURL,cchBufferSize,pSearchContext) (This)->lpVtbl->TranslateWithSearchContext(This,lpwszSearchURL,cchBufferSize,pSearchContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IURLSearchHook2_QueryInterface(IURLSearchHook2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IURLSearchHook2_AddRef(IURLSearchHook2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IURLSearchHook2_Release(IURLSearchHook2* This) { + return This->lpVtbl->Release(This); +} +/*** IURLSearchHook methods ***/ +static FORCEINLINE HRESULT IURLSearchHook2_Translate(IURLSearchHook2* This,LPWSTR lpwszSearchURL,DWORD cchBufferSize) { + return This->lpVtbl->Translate(This,lpwszSearchURL,cchBufferSize); +} +/*** IURLSearchHook2 methods ***/ +static FORCEINLINE HRESULT IURLSearchHook2_TranslateWithSearchContext(IURLSearchHook2* This,LPWSTR lpwszSearchURL,DWORD cchBufferSize,ISearchContext *pSearchContext) { + return This->lpVtbl->TranslateWithSearchContext(This,lpwszSearchURL,cchBufferSize,pSearchContext); +} +#endif +#endif + +#endif + + +#endif /* __IURLSearchHook2_INTERFACE_DEFINED__ */ + +#define INewShortcutHook WINELIB_NAME_AW(INewShortcutHook) +/***************************************************************************** + * INewShortcutHookA interface + */ +#ifndef __INewShortcutHookA_INTERFACE_DEFINED__ +#define __INewShortcutHookA_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INewShortcutHookA, 0x000214e1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214e1-0000-0000-c000-000000000046") +INewShortcutHookA : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetReferent( + LPCSTR pcszReferent, + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReferent( + LPSTR pcszReferent, + int cchReferent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFolder( + LPCSTR pcszReferent) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolder( + LPSTR pcszReferent, + int cchFolder) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + LPSTR pszName, + int cchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExtension( + LPSTR pszExtension, + int cchExtension) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INewShortcutHookA, 0x000214e1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct INewShortcutHookAVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INewShortcutHookA *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INewShortcutHookA *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INewShortcutHookA *This); + + /*** INewShortcutHookA methods ***/ + HRESULT (STDMETHODCALLTYPE *SetReferent)( + INewShortcutHookA *This, + LPCSTR pcszReferent, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *GetReferent)( + INewShortcutHookA *This, + LPSTR pcszReferent, + int cchReferent); + + HRESULT (STDMETHODCALLTYPE *SetFolder)( + INewShortcutHookA *This, + LPCSTR pcszReferent); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + INewShortcutHookA *This, + LPSTR pcszReferent, + int cchFolder); + + HRESULT (STDMETHODCALLTYPE *GetName)( + INewShortcutHookA *This, + LPSTR pszName, + int cchName); + + HRESULT (STDMETHODCALLTYPE *GetExtension)( + INewShortcutHookA *This, + LPSTR pszExtension, + int cchExtension); + + END_INTERFACE +} INewShortcutHookAVtbl; + +interface INewShortcutHookA { + CONST_VTBL INewShortcutHookAVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INewShortcutHookA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INewShortcutHookA_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INewShortcutHookA_Release(This) (This)->lpVtbl->Release(This) +/*** INewShortcutHookA methods ***/ +#define INewShortcutHookA_SetReferent(This,pcszReferent,hwnd) (This)->lpVtbl->SetReferent(This,pcszReferent,hwnd) +#define INewShortcutHookA_GetReferent(This,pcszReferent,cchReferent) (This)->lpVtbl->GetReferent(This,pcszReferent,cchReferent) +#define INewShortcutHookA_SetFolder(This,pcszReferent) (This)->lpVtbl->SetFolder(This,pcszReferent) +#define INewShortcutHookA_GetFolder(This,pcszReferent,cchFolder) (This)->lpVtbl->GetFolder(This,pcszReferent,cchFolder) +#define INewShortcutHookA_GetName(This,pszName,cchName) (This)->lpVtbl->GetName(This,pszName,cchName) +#define INewShortcutHookA_GetExtension(This,pszExtension,cchExtension) (This)->lpVtbl->GetExtension(This,pszExtension,cchExtension) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INewShortcutHookA_QueryInterface(INewShortcutHookA* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INewShortcutHookA_AddRef(INewShortcutHookA* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INewShortcutHookA_Release(INewShortcutHookA* This) { + return This->lpVtbl->Release(This); +} +/*** INewShortcutHookA methods ***/ +static FORCEINLINE HRESULT INewShortcutHookA_SetReferent(INewShortcutHookA* This,LPCSTR pcszReferent,HWND hwnd) { + return This->lpVtbl->SetReferent(This,pcszReferent,hwnd); +} +static FORCEINLINE HRESULT INewShortcutHookA_GetReferent(INewShortcutHookA* This,LPSTR pcszReferent,int cchReferent) { + return This->lpVtbl->GetReferent(This,pcszReferent,cchReferent); +} +static FORCEINLINE HRESULT INewShortcutHookA_SetFolder(INewShortcutHookA* This,LPCSTR pcszReferent) { + return This->lpVtbl->SetFolder(This,pcszReferent); +} +static FORCEINLINE HRESULT INewShortcutHookA_GetFolder(INewShortcutHookA* This,LPSTR pcszReferent,int cchFolder) { + return This->lpVtbl->GetFolder(This,pcszReferent,cchFolder); +} +static FORCEINLINE HRESULT INewShortcutHookA_GetName(INewShortcutHookA* This,LPSTR pszName,int cchName) { + return This->lpVtbl->GetName(This,pszName,cchName); +} +static FORCEINLINE HRESULT INewShortcutHookA_GetExtension(INewShortcutHookA* This,LPSTR pszExtension,int cchExtension) { + return This->lpVtbl->GetExtension(This,pszExtension,cchExtension); +} +#endif +#endif + +#endif + + +#endif /* __INewShortcutHookA_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INewShortcutHookW interface + */ +#ifndef __INewShortcutHookW_INTERFACE_DEFINED__ +#define __INewShortcutHookW_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INewShortcutHookW, 0x000214f7, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("000214f7-0000-0000-c000-000000000046") +INewShortcutHookW : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetReferent( + LPCWSTR pcszReferent, + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReferent( + LPWSTR pcszReferent, + int cchReferent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFolder( + LPCWSTR pcszReferent) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolder( + LPWSTR pcszReferent, + int cchFolder) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + LPWSTR pszName, + int cchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExtension( + LPWSTR pszExtension, + int cchExtension) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INewShortcutHookW, 0x000214f7, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct INewShortcutHookWVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INewShortcutHookW *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INewShortcutHookW *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INewShortcutHookW *This); + + /*** INewShortcutHookW methods ***/ + HRESULT (STDMETHODCALLTYPE *SetReferent)( + INewShortcutHookW *This, + LPCWSTR pcszReferent, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *GetReferent)( + INewShortcutHookW *This, + LPWSTR pcszReferent, + int cchReferent); + + HRESULT (STDMETHODCALLTYPE *SetFolder)( + INewShortcutHookW *This, + LPCWSTR pcszReferent); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + INewShortcutHookW *This, + LPWSTR pcszReferent, + int cchFolder); + + HRESULT (STDMETHODCALLTYPE *GetName)( + INewShortcutHookW *This, + LPWSTR pszName, + int cchName); + + HRESULT (STDMETHODCALLTYPE *GetExtension)( + INewShortcutHookW *This, + LPWSTR pszExtension, + int cchExtension); + + END_INTERFACE +} INewShortcutHookWVtbl; + +interface INewShortcutHookW { + CONST_VTBL INewShortcutHookWVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INewShortcutHookW_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INewShortcutHookW_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INewShortcutHookW_Release(This) (This)->lpVtbl->Release(This) +/*** INewShortcutHookW methods ***/ +#define INewShortcutHookW_SetReferent(This,pcszReferent,hwnd) (This)->lpVtbl->SetReferent(This,pcszReferent,hwnd) +#define INewShortcutHookW_GetReferent(This,pcszReferent,cchReferent) (This)->lpVtbl->GetReferent(This,pcszReferent,cchReferent) +#define INewShortcutHookW_SetFolder(This,pcszReferent) (This)->lpVtbl->SetFolder(This,pcszReferent) +#define INewShortcutHookW_GetFolder(This,pcszReferent,cchFolder) (This)->lpVtbl->GetFolder(This,pcszReferent,cchFolder) +#define INewShortcutHookW_GetName(This,pszName,cchName) (This)->lpVtbl->GetName(This,pszName,cchName) +#define INewShortcutHookW_GetExtension(This,pszExtension,cchExtension) (This)->lpVtbl->GetExtension(This,pszExtension,cchExtension) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INewShortcutHookW_QueryInterface(INewShortcutHookW* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INewShortcutHookW_AddRef(INewShortcutHookW* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INewShortcutHookW_Release(INewShortcutHookW* This) { + return This->lpVtbl->Release(This); +} +/*** INewShortcutHookW methods ***/ +static FORCEINLINE HRESULT INewShortcutHookW_SetReferent(INewShortcutHookW* This,LPCWSTR pcszReferent,HWND hwnd) { + return This->lpVtbl->SetReferent(This,pcszReferent,hwnd); +} +static FORCEINLINE HRESULT INewShortcutHookW_GetReferent(INewShortcutHookW* This,LPWSTR pcszReferent,int cchReferent) { + return This->lpVtbl->GetReferent(This,pcszReferent,cchReferent); +} +static FORCEINLINE HRESULT INewShortcutHookW_SetFolder(INewShortcutHookW* This,LPCWSTR pcszReferent) { + return This->lpVtbl->SetFolder(This,pcszReferent); +} +static FORCEINLINE HRESULT INewShortcutHookW_GetFolder(INewShortcutHookW* This,LPWSTR pcszReferent,int cchFolder) { + return This->lpVtbl->GetFolder(This,pcszReferent,cchFolder); +} +static FORCEINLINE HRESULT INewShortcutHookW_GetName(INewShortcutHookW* This,LPWSTR pszName,int cchName) { + return This->lpVtbl->GetName(This,pszName,cchName); +} +static FORCEINLINE HRESULT INewShortcutHookW_GetExtension(INewShortcutHookW* This,LPWSTR pszExtension,int cchExtension) { + return This->lpVtbl->GetExtension(This,pszExtension,cchExtension); +} +#endif +#endif + +#endif + + +#endif /* __INewShortcutHookW_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRunnableTask interface + */ +#ifndef __IRunnableTask_INTERFACE_DEFINED__ +#define __IRunnableTask_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRunnableTask, 0x85788d00, 0x6807, 0x11d0, 0xb8,0x10, 0x00,0xc0,0x4f,0xd7,0x06,0xec); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("85788d00-6807-11d0-b810-00c04fd706ec") +IRunnableTask : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Run( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Kill( + BOOL fWait) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + + virtual ULONG STDMETHODCALLTYPE IsRunning( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRunnableTask, 0x85788d00, 0x6807, 0x11d0, 0xb8,0x10, 0x00,0xc0,0x4f,0xd7,0x06,0xec) +#endif +#else +typedef struct IRunnableTaskVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRunnableTask *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRunnableTask *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRunnableTask *This); + + /*** IRunnableTask methods ***/ + HRESULT (STDMETHODCALLTYPE *Run)( + IRunnableTask *This); + + HRESULT (STDMETHODCALLTYPE *Kill)( + IRunnableTask *This, + BOOL fWait); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IRunnableTask *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IRunnableTask *This); + + ULONG (STDMETHODCALLTYPE *IsRunning)( + IRunnableTask *This); + + END_INTERFACE +} IRunnableTaskVtbl; + +interface IRunnableTask { + CONST_VTBL IRunnableTaskVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRunnableTask_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRunnableTask_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRunnableTask_Release(This) (This)->lpVtbl->Release(This) +/*** IRunnableTask methods ***/ +#define IRunnableTask_Run(This) (This)->lpVtbl->Run(This) +#define IRunnableTask_Kill(This,fWait) (This)->lpVtbl->Kill(This,fWait) +#define IRunnableTask_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IRunnableTask_Resume(This) (This)->lpVtbl->Resume(This) +#define IRunnableTask_IsRunning(This) (This)->lpVtbl->IsRunning(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRunnableTask_QueryInterface(IRunnableTask* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRunnableTask_AddRef(IRunnableTask* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRunnableTask_Release(IRunnableTask* This) { + return This->lpVtbl->Release(This); +} +/*** IRunnableTask methods ***/ +static FORCEINLINE HRESULT IRunnableTask_Run(IRunnableTask* This) { + return This->lpVtbl->Run(This); +} +static FORCEINLINE HRESULT IRunnableTask_Kill(IRunnableTask* This,BOOL fWait) { + return This->lpVtbl->Kill(This,fWait); +} +static FORCEINLINE HRESULT IRunnableTask_Suspend(IRunnableTask* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IRunnableTask_Resume(IRunnableTask* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE ULONG IRunnableTask_IsRunning(IRunnableTask* This) { + return This->lpVtbl->IsRunning(This); +} +#endif +#endif + +#endif + + +#endif /* __IRunnableTask_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IShellChangeNotify interface + */ +#ifndef __IShellChangeNotify_INTERFACE_DEFINED__ +#define __IShellChangeNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IShellChangeNotify, 0xd82be2b1, 0x5764, 0x11d0, 0xa9,0x6e, 0x00,0xc0,0x4f,0xd7,0x05,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d82be2b1-5764-11d0-a96e-00c04fd705a2") +IShellChangeNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnChange( + LONG lEvent, + LPCITEMIDLIST pidl1, + LPCITEMIDLIST pidl2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IShellChangeNotify, 0xd82be2b1, 0x5764, 0x11d0, 0xa9,0x6e, 0x00,0xc0,0x4f,0xd7,0x05,0xa2) +#endif +#else +typedef struct IShellChangeNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IShellChangeNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IShellChangeNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IShellChangeNotify *This); + + /*** IShellChangeNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnChange)( + IShellChangeNotify *This, + LONG lEvent, + LPCITEMIDLIST pidl1, + LPCITEMIDLIST pidl2); + + END_INTERFACE +} IShellChangeNotifyVtbl; + +interface IShellChangeNotify { + CONST_VTBL IShellChangeNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IShellChangeNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IShellChangeNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IShellChangeNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IShellChangeNotify methods ***/ +#define IShellChangeNotify_OnChange(This,lEvent,pidl1,pidl2) (This)->lpVtbl->OnChange(This,lEvent,pidl1,pidl2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IShellChangeNotify_QueryInterface(IShellChangeNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IShellChangeNotify_AddRef(IShellChangeNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IShellChangeNotify_Release(IShellChangeNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IShellChangeNotify methods ***/ +static FORCEINLINE HRESULT IShellChangeNotify_OnChange(IShellChangeNotify* This,LONG lEvent,LPCITEMIDLIST pidl1,LPCITEMIDLIST pidl2) { + return This->lpVtbl->OnChange(This,lEvent,pidl1,pidl2); +} +#endif +#endif + +#endif + + +#endif /* __IShellChangeNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFileSystemBindData interface + */ +#ifndef __IFileSystemBindData_INTERFACE_DEFINED__ +#define __IFileSystemBindData_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileSystemBindData, 0x01e18d10, 0x4d8b, 0x11d2, 0x85,0x5d, 0x00,0x60,0x08,0x05,0x93,0x67); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("01e18d10-4d8b-11d2-855d-006008059367") +IFileSystemBindData : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFindData( + const WIN32_FIND_DATAW *pfd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFindData( + WIN32_FIND_DATAW *pfd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileSystemBindData, 0x01e18d10, 0x4d8b, 0x11d2, 0x85,0x5d, 0x00,0x60,0x08,0x05,0x93,0x67) +#endif +#else +typedef struct IFileSystemBindDataVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileSystemBindData *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileSystemBindData *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileSystemBindData *This); + + /*** IFileSystemBindData methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFindData)( + IFileSystemBindData *This, + const WIN32_FIND_DATAW *pfd); + + HRESULT (STDMETHODCALLTYPE *GetFindData)( + IFileSystemBindData *This, + WIN32_FIND_DATAW *pfd); + + END_INTERFACE +} IFileSystemBindDataVtbl; + +interface IFileSystemBindData { + CONST_VTBL IFileSystemBindDataVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileSystemBindData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileSystemBindData_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileSystemBindData_Release(This) (This)->lpVtbl->Release(This) +/*** IFileSystemBindData methods ***/ +#define IFileSystemBindData_SetFindData(This,pfd) (This)->lpVtbl->SetFindData(This,pfd) +#define IFileSystemBindData_GetFindData(This,pfd) (This)->lpVtbl->GetFindData(This,pfd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileSystemBindData_QueryInterface(IFileSystemBindData* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileSystemBindData_AddRef(IFileSystemBindData* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileSystemBindData_Release(IFileSystemBindData* This) { + return This->lpVtbl->Release(This); +} +/*** IFileSystemBindData methods ***/ +static FORCEINLINE HRESULT IFileSystemBindData_SetFindData(IFileSystemBindData* This,const WIN32_FIND_DATAW *pfd) { + return This->lpVtbl->SetFindData(This,pfd); +} +static FORCEINLINE HRESULT IFileSystemBindData_GetFindData(IFileSystemBindData* This,WIN32_FIND_DATAW *pfd) { + return This->lpVtbl->GetFindData(This,pfd); +} +#endif +#endif + +#endif + + +#endif /* __IFileSystemBindData_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskbarList interface + */ +#ifndef __ITaskbarList_INTERFACE_DEFINED__ +#define __ITaskbarList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskbarList, 0x56fdf342, 0xfd6d, 0x11d0, 0x95,0x8a, 0x00,0x60,0x97,0xc9,0xa0,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56fdf342-fd6d-11d0-958a-006097c9a090") +ITaskbarList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE HrInit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTab( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteTab( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE ActivateTab( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetActiveAlt( + HWND hwnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskbarList, 0x56fdf342, 0xfd6d, 0x11d0, 0x95,0x8a, 0x00,0x60,0x97,0xc9,0xa0,0x90) +#endif +#else +typedef struct ITaskbarListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskbarList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskbarList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskbarList *This); + + /*** ITaskbarList methods ***/ + HRESULT (STDMETHODCALLTYPE *HrInit)( + ITaskbarList *This); + + HRESULT (STDMETHODCALLTYPE *AddTab)( + ITaskbarList *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *DeleteTab)( + ITaskbarList *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *ActivateTab)( + ITaskbarList *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SetActiveAlt)( + ITaskbarList *This, + HWND hwnd); + + END_INTERFACE +} ITaskbarListVtbl; + +interface ITaskbarList { + CONST_VTBL ITaskbarListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskbarList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskbarList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskbarList_Release(This) (This)->lpVtbl->Release(This) +/*** ITaskbarList methods ***/ +#define ITaskbarList_HrInit(This) (This)->lpVtbl->HrInit(This) +#define ITaskbarList_AddTab(This,hwnd) (This)->lpVtbl->AddTab(This,hwnd) +#define ITaskbarList_DeleteTab(This,hwnd) (This)->lpVtbl->DeleteTab(This,hwnd) +#define ITaskbarList_ActivateTab(This,hwnd) (This)->lpVtbl->ActivateTab(This,hwnd) +#define ITaskbarList_SetActiveAlt(This,hwnd) (This)->lpVtbl->SetActiveAlt(This,hwnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskbarList_QueryInterface(ITaskbarList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskbarList_AddRef(ITaskbarList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskbarList_Release(ITaskbarList* This) { + return This->lpVtbl->Release(This); +} +/*** ITaskbarList methods ***/ +static FORCEINLINE HRESULT ITaskbarList_HrInit(ITaskbarList* This) { + return This->lpVtbl->HrInit(This); +} +static FORCEINLINE HRESULT ITaskbarList_AddTab(ITaskbarList* This,HWND hwnd) { + return This->lpVtbl->AddTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList_DeleteTab(ITaskbarList* This,HWND hwnd) { + return This->lpVtbl->DeleteTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList_ActivateTab(ITaskbarList* This,HWND hwnd) { + return This->lpVtbl->ActivateTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList_SetActiveAlt(ITaskbarList* This,HWND hwnd) { + return This->lpVtbl->SetActiveAlt(This,hwnd); +} +#endif +#endif + +#endif + + +#endif /* __ITaskbarList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskbarList2 interface + */ +#ifndef __ITaskbarList2_INTERFACE_DEFINED__ +#define __ITaskbarList2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskbarList2, 0x602d4995, 0xb13a, 0x429b, 0xa6,0x6e, 0x19,0x35,0xe4,0x4f,0x43,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("602d4995-b13a-429b-a66e-1935e44f4317") +ITaskbarList2 : public ITaskbarList +{ + virtual HRESULT STDMETHODCALLTYPE MarkFullscreenWindow( + HWND hwnd, + BOOL fullscreen) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskbarList2, 0x602d4995, 0xb13a, 0x429b, 0xa6,0x6e, 0x19,0x35,0xe4,0x4f,0x43,0x17) +#endif +#else +typedef struct ITaskbarList2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskbarList2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskbarList2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskbarList2 *This); + + /*** ITaskbarList methods ***/ + HRESULT (STDMETHODCALLTYPE *HrInit)( + ITaskbarList2 *This); + + HRESULT (STDMETHODCALLTYPE *AddTab)( + ITaskbarList2 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *DeleteTab)( + ITaskbarList2 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *ActivateTab)( + ITaskbarList2 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SetActiveAlt)( + ITaskbarList2 *This, + HWND hwnd); + + /*** ITaskbarList2 methods ***/ + HRESULT (STDMETHODCALLTYPE *MarkFullscreenWindow)( + ITaskbarList2 *This, + HWND hwnd, + BOOL fullscreen); + + END_INTERFACE +} ITaskbarList2Vtbl; + +interface ITaskbarList2 { + CONST_VTBL ITaskbarList2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskbarList2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskbarList2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskbarList2_Release(This) (This)->lpVtbl->Release(This) +/*** ITaskbarList methods ***/ +#define ITaskbarList2_HrInit(This) (This)->lpVtbl->HrInit(This) +#define ITaskbarList2_AddTab(This,hwnd) (This)->lpVtbl->AddTab(This,hwnd) +#define ITaskbarList2_DeleteTab(This,hwnd) (This)->lpVtbl->DeleteTab(This,hwnd) +#define ITaskbarList2_ActivateTab(This,hwnd) (This)->lpVtbl->ActivateTab(This,hwnd) +#define ITaskbarList2_SetActiveAlt(This,hwnd) (This)->lpVtbl->SetActiveAlt(This,hwnd) +/*** ITaskbarList2 methods ***/ +#define ITaskbarList2_MarkFullscreenWindow(This,hwnd,fullscreen) (This)->lpVtbl->MarkFullscreenWindow(This,hwnd,fullscreen) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskbarList2_QueryInterface(ITaskbarList2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskbarList2_AddRef(ITaskbarList2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskbarList2_Release(ITaskbarList2* This) { + return This->lpVtbl->Release(This); +} +/*** ITaskbarList methods ***/ +static FORCEINLINE HRESULT ITaskbarList2_HrInit(ITaskbarList2* This) { + return This->lpVtbl->HrInit(This); +} +static FORCEINLINE HRESULT ITaskbarList2_AddTab(ITaskbarList2* This,HWND hwnd) { + return This->lpVtbl->AddTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList2_DeleteTab(ITaskbarList2* This,HWND hwnd) { + return This->lpVtbl->DeleteTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList2_ActivateTab(ITaskbarList2* This,HWND hwnd) { + return This->lpVtbl->ActivateTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList2_SetActiveAlt(ITaskbarList2* This,HWND hwnd) { + return This->lpVtbl->SetActiveAlt(This,hwnd); +} +/*** ITaskbarList2 methods ***/ +static FORCEINLINE HRESULT ITaskbarList2_MarkFullscreenWindow(ITaskbarList2* This,HWND hwnd,BOOL fullscreen) { + return This->lpVtbl->MarkFullscreenWindow(This,hwnd,fullscreen); +} +#endif +#endif + +#endif + + +#endif /* __ITaskbarList2_INTERFACE_DEFINED__ */ + +#ifdef MIDL_PASS +typedef IUnknown *HIMAGELIST; +#endif +typedef enum THUMBBUTTONFLAGS { + THBF_ENABLED = 0x0, + THBF_DISABLED = 0x1, + THBF_DISMISSONCLICK = 0x2, + THBF_NOBACKGROUND = 0x4, + THBF_HIDDEN = 0x8, + THBF_NONINTERACTIVE = 0x10 +} THUMBBUTTONFLAGS; +DEFINE_ENUM_FLAG_OPERATORS(THUMBBUTTONFLAGS) +typedef enum THUMBBUTTONMASK { + THB_BITMAP = 0x1, + THB_ICON = 0x2, + THB_TOOLTIP = 0x4, + THB_FLAGS = 0x8 +} THUMBBUTTONMASK; +DEFINE_ENUM_FLAG_OPERATORS(THUMBBUTTONMASK) +#include +typedef struct THUMBBUTTON { + THUMBBUTTONMASK dwMask; + UINT iId; + UINT iBitmap; + HICON hIcon; + WCHAR szTip[260]; + THUMBBUTTONFLAGS dwFlags; +} THUMBBUTTON; +typedef struct THUMBBUTTON *LPTHUMBBUTTON; +#include +/***************************************************************************** + * ITaskbarList3 interface + */ +#ifndef __ITaskbarList3_INTERFACE_DEFINED__ +#define __ITaskbarList3_INTERFACE_DEFINED__ + +typedef enum TBPFLAG { + TBPF_NOPROGRESS = 0x0, + TBPF_INDETERMINATE = 0x1, + TBPF_NORMAL = 0x2, + TBPF_ERROR = 0x4, + TBPF_PAUSED = 0x8 +} TBPFLAG; +DEFINE_ENUM_FLAG_OPERATORS(TBPFLAG) +DEFINE_GUID(IID_ITaskbarList3, 0xea1afb91, 0x9e28, 0x4b86, 0x90,0xe9, 0x9e,0x9f,0x8a,0x5e,0xef,0xaf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf") +ITaskbarList3 : public ITaskbarList2 +{ + virtual HRESULT STDMETHODCALLTYPE SetProgressValue( + HWND hwnd, + ULONGLONG ullCompleted, + ULONGLONG ullTotal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProgressState( + HWND hwnd, + TBPFLAG tbpFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterTab( + HWND hwndTab, + HWND hwndMDI) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterTab( + HWND hwndTab) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTabOrder( + HWND hwndTab, + HWND hwndInsertBefore) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTabActive( + HWND hwndTab, + HWND hwndMDI, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE ThumbBarAddButtons( + HWND hwnd, + UINT cButtons, + LPTHUMBBUTTON pButton) = 0; + + virtual HRESULT STDMETHODCALLTYPE ThumbBarUpdateButtons( + HWND hwnd, + UINT cButtons, + LPTHUMBBUTTON pButton) = 0; + + virtual HRESULT STDMETHODCALLTYPE ThumbBarSetImageList( + HWND hwnd, + HIMAGELIST himl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOverlayIcon( + HWND hwnd, + HICON hIcon, + LPCWSTR pszDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThumbnailTooltip( + HWND hwnd, + LPCWSTR pszTip) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThumbnailClip( + HWND hwnd, + RECT *prcClip) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskbarList3, 0xea1afb91, 0x9e28, 0x4b86, 0x90,0xe9, 0x9e,0x9f,0x8a,0x5e,0xef,0xaf) +#endif +#else +typedef struct ITaskbarList3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskbarList3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskbarList3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskbarList3 *This); + + /*** ITaskbarList methods ***/ + HRESULT (STDMETHODCALLTYPE *HrInit)( + ITaskbarList3 *This); + + HRESULT (STDMETHODCALLTYPE *AddTab)( + ITaskbarList3 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *DeleteTab)( + ITaskbarList3 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *ActivateTab)( + ITaskbarList3 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SetActiveAlt)( + ITaskbarList3 *This, + HWND hwnd); + + /*** ITaskbarList2 methods ***/ + HRESULT (STDMETHODCALLTYPE *MarkFullscreenWindow)( + ITaskbarList3 *This, + HWND hwnd, + BOOL fullscreen); + + /*** ITaskbarList3 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProgressValue)( + ITaskbarList3 *This, + HWND hwnd, + ULONGLONG ullCompleted, + ULONGLONG ullTotal); + + HRESULT (STDMETHODCALLTYPE *SetProgressState)( + ITaskbarList3 *This, + HWND hwnd, + TBPFLAG tbpFlags); + + HRESULT (STDMETHODCALLTYPE *RegisterTab)( + ITaskbarList3 *This, + HWND hwndTab, + HWND hwndMDI); + + HRESULT (STDMETHODCALLTYPE *UnregisterTab)( + ITaskbarList3 *This, + HWND hwndTab); + + HRESULT (STDMETHODCALLTYPE *SetTabOrder)( + ITaskbarList3 *This, + HWND hwndTab, + HWND hwndInsertBefore); + + HRESULT (STDMETHODCALLTYPE *SetTabActive)( + ITaskbarList3 *This, + HWND hwndTab, + HWND hwndMDI, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *ThumbBarAddButtons)( + ITaskbarList3 *This, + HWND hwnd, + UINT cButtons, + LPTHUMBBUTTON pButton); + + HRESULT (STDMETHODCALLTYPE *ThumbBarUpdateButtons)( + ITaskbarList3 *This, + HWND hwnd, + UINT cButtons, + LPTHUMBBUTTON pButton); + + HRESULT (STDMETHODCALLTYPE *ThumbBarSetImageList)( + ITaskbarList3 *This, + HWND hwnd, + HIMAGELIST himl); + + HRESULT (STDMETHODCALLTYPE *SetOverlayIcon)( + ITaskbarList3 *This, + HWND hwnd, + HICON hIcon, + LPCWSTR pszDescription); + + HRESULT (STDMETHODCALLTYPE *SetThumbnailTooltip)( + ITaskbarList3 *This, + HWND hwnd, + LPCWSTR pszTip); + + HRESULT (STDMETHODCALLTYPE *SetThumbnailClip)( + ITaskbarList3 *This, + HWND hwnd, + RECT *prcClip); + + END_INTERFACE +} ITaskbarList3Vtbl; + +interface ITaskbarList3 { + CONST_VTBL ITaskbarList3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskbarList3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskbarList3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskbarList3_Release(This) (This)->lpVtbl->Release(This) +/*** ITaskbarList methods ***/ +#define ITaskbarList3_HrInit(This) (This)->lpVtbl->HrInit(This) +#define ITaskbarList3_AddTab(This,hwnd) (This)->lpVtbl->AddTab(This,hwnd) +#define ITaskbarList3_DeleteTab(This,hwnd) (This)->lpVtbl->DeleteTab(This,hwnd) +#define ITaskbarList3_ActivateTab(This,hwnd) (This)->lpVtbl->ActivateTab(This,hwnd) +#define ITaskbarList3_SetActiveAlt(This,hwnd) (This)->lpVtbl->SetActiveAlt(This,hwnd) +/*** ITaskbarList2 methods ***/ +#define ITaskbarList3_MarkFullscreenWindow(This,hwnd,fullscreen) (This)->lpVtbl->MarkFullscreenWindow(This,hwnd,fullscreen) +/*** ITaskbarList3 methods ***/ +#define ITaskbarList3_SetProgressValue(This,hwnd,ullCompleted,ullTotal) (This)->lpVtbl->SetProgressValue(This,hwnd,ullCompleted,ullTotal) +#define ITaskbarList3_SetProgressState(This,hwnd,tbpFlags) (This)->lpVtbl->SetProgressState(This,hwnd,tbpFlags) +#define ITaskbarList3_RegisterTab(This,hwndTab,hwndMDI) (This)->lpVtbl->RegisterTab(This,hwndTab,hwndMDI) +#define ITaskbarList3_UnregisterTab(This,hwndTab) (This)->lpVtbl->UnregisterTab(This,hwndTab) +#define ITaskbarList3_SetTabOrder(This,hwndTab,hwndInsertBefore) (This)->lpVtbl->SetTabOrder(This,hwndTab,hwndInsertBefore) +#define ITaskbarList3_SetTabActive(This,hwndTab,hwndMDI,dwReserved) (This)->lpVtbl->SetTabActive(This,hwndTab,hwndMDI,dwReserved) +#define ITaskbarList3_ThumbBarAddButtons(This,hwnd,cButtons,pButton) (This)->lpVtbl->ThumbBarAddButtons(This,hwnd,cButtons,pButton) +#define ITaskbarList3_ThumbBarUpdateButtons(This,hwnd,cButtons,pButton) (This)->lpVtbl->ThumbBarUpdateButtons(This,hwnd,cButtons,pButton) +#define ITaskbarList3_ThumbBarSetImageList(This,hwnd,himl) (This)->lpVtbl->ThumbBarSetImageList(This,hwnd,himl) +#define ITaskbarList3_SetOverlayIcon(This,hwnd,hIcon,pszDescription) (This)->lpVtbl->SetOverlayIcon(This,hwnd,hIcon,pszDescription) +#define ITaskbarList3_SetThumbnailTooltip(This,hwnd,pszTip) (This)->lpVtbl->SetThumbnailTooltip(This,hwnd,pszTip) +#define ITaskbarList3_SetThumbnailClip(This,hwnd,prcClip) (This)->lpVtbl->SetThumbnailClip(This,hwnd,prcClip) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskbarList3_QueryInterface(ITaskbarList3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskbarList3_AddRef(ITaskbarList3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskbarList3_Release(ITaskbarList3* This) { + return This->lpVtbl->Release(This); +} +/*** ITaskbarList methods ***/ +static FORCEINLINE HRESULT ITaskbarList3_HrInit(ITaskbarList3* This) { + return This->lpVtbl->HrInit(This); +} +static FORCEINLINE HRESULT ITaskbarList3_AddTab(ITaskbarList3* This,HWND hwnd) { + return This->lpVtbl->AddTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList3_DeleteTab(ITaskbarList3* This,HWND hwnd) { + return This->lpVtbl->DeleteTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList3_ActivateTab(ITaskbarList3* This,HWND hwnd) { + return This->lpVtbl->ActivateTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList3_SetActiveAlt(ITaskbarList3* This,HWND hwnd) { + return This->lpVtbl->SetActiveAlt(This,hwnd); +} +/*** ITaskbarList2 methods ***/ +static FORCEINLINE HRESULT ITaskbarList3_MarkFullscreenWindow(ITaskbarList3* This,HWND hwnd,BOOL fullscreen) { + return This->lpVtbl->MarkFullscreenWindow(This,hwnd,fullscreen); +} +/*** ITaskbarList3 methods ***/ +static FORCEINLINE HRESULT ITaskbarList3_SetProgressValue(ITaskbarList3* This,HWND hwnd,ULONGLONG ullCompleted,ULONGLONG ullTotal) { + return This->lpVtbl->SetProgressValue(This,hwnd,ullCompleted,ullTotal); +} +static FORCEINLINE HRESULT ITaskbarList3_SetProgressState(ITaskbarList3* This,HWND hwnd,TBPFLAG tbpFlags) { + return This->lpVtbl->SetProgressState(This,hwnd,tbpFlags); +} +static FORCEINLINE HRESULT ITaskbarList3_RegisterTab(ITaskbarList3* This,HWND hwndTab,HWND hwndMDI) { + return This->lpVtbl->RegisterTab(This,hwndTab,hwndMDI); +} +static FORCEINLINE HRESULT ITaskbarList3_UnregisterTab(ITaskbarList3* This,HWND hwndTab) { + return This->lpVtbl->UnregisterTab(This,hwndTab); +} +static FORCEINLINE HRESULT ITaskbarList3_SetTabOrder(ITaskbarList3* This,HWND hwndTab,HWND hwndInsertBefore) { + return This->lpVtbl->SetTabOrder(This,hwndTab,hwndInsertBefore); +} +static FORCEINLINE HRESULT ITaskbarList3_SetTabActive(ITaskbarList3* This,HWND hwndTab,HWND hwndMDI,DWORD dwReserved) { + return This->lpVtbl->SetTabActive(This,hwndTab,hwndMDI,dwReserved); +} +static FORCEINLINE HRESULT ITaskbarList3_ThumbBarAddButtons(ITaskbarList3* This,HWND hwnd,UINT cButtons,LPTHUMBBUTTON pButton) { + return This->lpVtbl->ThumbBarAddButtons(This,hwnd,cButtons,pButton); +} +static FORCEINLINE HRESULT ITaskbarList3_ThumbBarUpdateButtons(ITaskbarList3* This,HWND hwnd,UINT cButtons,LPTHUMBBUTTON pButton) { + return This->lpVtbl->ThumbBarUpdateButtons(This,hwnd,cButtons,pButton); +} +static FORCEINLINE HRESULT ITaskbarList3_ThumbBarSetImageList(ITaskbarList3* This,HWND hwnd,HIMAGELIST himl) { + return This->lpVtbl->ThumbBarSetImageList(This,hwnd,himl); +} +static FORCEINLINE HRESULT ITaskbarList3_SetOverlayIcon(ITaskbarList3* This,HWND hwnd,HICON hIcon,LPCWSTR pszDescription) { + return This->lpVtbl->SetOverlayIcon(This,hwnd,hIcon,pszDescription); +} +static FORCEINLINE HRESULT ITaskbarList3_SetThumbnailTooltip(ITaskbarList3* This,HWND hwnd,LPCWSTR pszTip) { + return This->lpVtbl->SetThumbnailTooltip(This,hwnd,pszTip); +} +static FORCEINLINE HRESULT ITaskbarList3_SetThumbnailClip(ITaskbarList3* This,HWND hwnd,RECT *prcClip) { + return This->lpVtbl->SetThumbnailClip(This,hwnd,prcClip); +} +#endif +#endif + +#endif + + +#endif /* __ITaskbarList3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskbarList4 interface + */ +#ifndef __ITaskbarList4_INTERFACE_DEFINED__ +#define __ITaskbarList4_INTERFACE_DEFINED__ + +typedef enum STPFLAG { + STPF_NONE = 0x0, + STPF_USEAPPTHUMBNAILALWAYS = 0x1, + STPF_USEAPPTHUMBNAILWHENACTIVE = 0x2, + STPF_USEAPPPEEKALWAYS = 0x4, + STPF_USEAPPPEEKWHENACTIVE = 0x8 +} STPFLAG; +DEFINE_ENUM_FLAG_OPERATORS(STPFLAG) +DEFINE_GUID(IID_ITaskbarList4, 0xc43dc798, 0x95d1, 0x4bea, 0x90,0x30, 0xbb,0x99,0xe2,0x98,0x3a,0x1a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c43dc798-95d1-4bea-9030-bb99e2983a1a") +ITaskbarList4 : public ITaskbarList3 +{ + virtual HRESULT STDMETHODCALLTYPE SetTabProperties( + HWND hwndTab, + STPFLAG stpFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskbarList4, 0xc43dc798, 0x95d1, 0x4bea, 0x90,0x30, 0xbb,0x99,0xe2,0x98,0x3a,0x1a) +#endif +#else +typedef struct ITaskbarList4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskbarList4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskbarList4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskbarList4 *This); + + /*** ITaskbarList methods ***/ + HRESULT (STDMETHODCALLTYPE *HrInit)( + ITaskbarList4 *This); + + HRESULT (STDMETHODCALLTYPE *AddTab)( + ITaskbarList4 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *DeleteTab)( + ITaskbarList4 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *ActivateTab)( + ITaskbarList4 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SetActiveAlt)( + ITaskbarList4 *This, + HWND hwnd); + + /*** ITaskbarList2 methods ***/ + HRESULT (STDMETHODCALLTYPE *MarkFullscreenWindow)( + ITaskbarList4 *This, + HWND hwnd, + BOOL fullscreen); + + /*** ITaskbarList3 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProgressValue)( + ITaskbarList4 *This, + HWND hwnd, + ULONGLONG ullCompleted, + ULONGLONG ullTotal); + + HRESULT (STDMETHODCALLTYPE *SetProgressState)( + ITaskbarList4 *This, + HWND hwnd, + TBPFLAG tbpFlags); + + HRESULT (STDMETHODCALLTYPE *RegisterTab)( + ITaskbarList4 *This, + HWND hwndTab, + HWND hwndMDI); + + HRESULT (STDMETHODCALLTYPE *UnregisterTab)( + ITaskbarList4 *This, + HWND hwndTab); + + HRESULT (STDMETHODCALLTYPE *SetTabOrder)( + ITaskbarList4 *This, + HWND hwndTab, + HWND hwndInsertBefore); + + HRESULT (STDMETHODCALLTYPE *SetTabActive)( + ITaskbarList4 *This, + HWND hwndTab, + HWND hwndMDI, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *ThumbBarAddButtons)( + ITaskbarList4 *This, + HWND hwnd, + UINT cButtons, + LPTHUMBBUTTON pButton); + + HRESULT (STDMETHODCALLTYPE *ThumbBarUpdateButtons)( + ITaskbarList4 *This, + HWND hwnd, + UINT cButtons, + LPTHUMBBUTTON pButton); + + HRESULT (STDMETHODCALLTYPE *ThumbBarSetImageList)( + ITaskbarList4 *This, + HWND hwnd, + HIMAGELIST himl); + + HRESULT (STDMETHODCALLTYPE *SetOverlayIcon)( + ITaskbarList4 *This, + HWND hwnd, + HICON hIcon, + LPCWSTR pszDescription); + + HRESULT (STDMETHODCALLTYPE *SetThumbnailTooltip)( + ITaskbarList4 *This, + HWND hwnd, + LPCWSTR pszTip); + + HRESULT (STDMETHODCALLTYPE *SetThumbnailClip)( + ITaskbarList4 *This, + HWND hwnd, + RECT *prcClip); + + /*** ITaskbarList4 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetTabProperties)( + ITaskbarList4 *This, + HWND hwndTab, + STPFLAG stpFlags); + + END_INTERFACE +} ITaskbarList4Vtbl; + +interface ITaskbarList4 { + CONST_VTBL ITaskbarList4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskbarList4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskbarList4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskbarList4_Release(This) (This)->lpVtbl->Release(This) +/*** ITaskbarList methods ***/ +#define ITaskbarList4_HrInit(This) (This)->lpVtbl->HrInit(This) +#define ITaskbarList4_AddTab(This,hwnd) (This)->lpVtbl->AddTab(This,hwnd) +#define ITaskbarList4_DeleteTab(This,hwnd) (This)->lpVtbl->DeleteTab(This,hwnd) +#define ITaskbarList4_ActivateTab(This,hwnd) (This)->lpVtbl->ActivateTab(This,hwnd) +#define ITaskbarList4_SetActiveAlt(This,hwnd) (This)->lpVtbl->SetActiveAlt(This,hwnd) +/*** ITaskbarList2 methods ***/ +#define ITaskbarList4_MarkFullscreenWindow(This,hwnd,fullscreen) (This)->lpVtbl->MarkFullscreenWindow(This,hwnd,fullscreen) +/*** ITaskbarList3 methods ***/ +#define ITaskbarList4_SetProgressValue(This,hwnd,ullCompleted,ullTotal) (This)->lpVtbl->SetProgressValue(This,hwnd,ullCompleted,ullTotal) +#define ITaskbarList4_SetProgressState(This,hwnd,tbpFlags) (This)->lpVtbl->SetProgressState(This,hwnd,tbpFlags) +#define ITaskbarList4_RegisterTab(This,hwndTab,hwndMDI) (This)->lpVtbl->RegisterTab(This,hwndTab,hwndMDI) +#define ITaskbarList4_UnregisterTab(This,hwndTab) (This)->lpVtbl->UnregisterTab(This,hwndTab) +#define ITaskbarList4_SetTabOrder(This,hwndTab,hwndInsertBefore) (This)->lpVtbl->SetTabOrder(This,hwndTab,hwndInsertBefore) +#define ITaskbarList4_SetTabActive(This,hwndTab,hwndMDI,dwReserved) (This)->lpVtbl->SetTabActive(This,hwndTab,hwndMDI,dwReserved) +#define ITaskbarList4_ThumbBarAddButtons(This,hwnd,cButtons,pButton) (This)->lpVtbl->ThumbBarAddButtons(This,hwnd,cButtons,pButton) +#define ITaskbarList4_ThumbBarUpdateButtons(This,hwnd,cButtons,pButton) (This)->lpVtbl->ThumbBarUpdateButtons(This,hwnd,cButtons,pButton) +#define ITaskbarList4_ThumbBarSetImageList(This,hwnd,himl) (This)->lpVtbl->ThumbBarSetImageList(This,hwnd,himl) +#define ITaskbarList4_SetOverlayIcon(This,hwnd,hIcon,pszDescription) (This)->lpVtbl->SetOverlayIcon(This,hwnd,hIcon,pszDescription) +#define ITaskbarList4_SetThumbnailTooltip(This,hwnd,pszTip) (This)->lpVtbl->SetThumbnailTooltip(This,hwnd,pszTip) +#define ITaskbarList4_SetThumbnailClip(This,hwnd,prcClip) (This)->lpVtbl->SetThumbnailClip(This,hwnd,prcClip) +/*** ITaskbarList4 methods ***/ +#define ITaskbarList4_SetTabProperties(This,hwndTab,stpFlags) (This)->lpVtbl->SetTabProperties(This,hwndTab,stpFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskbarList4_QueryInterface(ITaskbarList4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskbarList4_AddRef(ITaskbarList4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskbarList4_Release(ITaskbarList4* This) { + return This->lpVtbl->Release(This); +} +/*** ITaskbarList methods ***/ +static FORCEINLINE HRESULT ITaskbarList4_HrInit(ITaskbarList4* This) { + return This->lpVtbl->HrInit(This); +} +static FORCEINLINE HRESULT ITaskbarList4_AddTab(ITaskbarList4* This,HWND hwnd) { + return This->lpVtbl->AddTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList4_DeleteTab(ITaskbarList4* This,HWND hwnd) { + return This->lpVtbl->DeleteTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList4_ActivateTab(ITaskbarList4* This,HWND hwnd) { + return This->lpVtbl->ActivateTab(This,hwnd); +} +static FORCEINLINE HRESULT ITaskbarList4_SetActiveAlt(ITaskbarList4* This,HWND hwnd) { + return This->lpVtbl->SetActiveAlt(This,hwnd); +} +/*** ITaskbarList2 methods ***/ +static FORCEINLINE HRESULT ITaskbarList4_MarkFullscreenWindow(ITaskbarList4* This,HWND hwnd,BOOL fullscreen) { + return This->lpVtbl->MarkFullscreenWindow(This,hwnd,fullscreen); +} +/*** ITaskbarList3 methods ***/ +static FORCEINLINE HRESULT ITaskbarList4_SetProgressValue(ITaskbarList4* This,HWND hwnd,ULONGLONG ullCompleted,ULONGLONG ullTotal) { + return This->lpVtbl->SetProgressValue(This,hwnd,ullCompleted,ullTotal); +} +static FORCEINLINE HRESULT ITaskbarList4_SetProgressState(ITaskbarList4* This,HWND hwnd,TBPFLAG tbpFlags) { + return This->lpVtbl->SetProgressState(This,hwnd,tbpFlags); +} +static FORCEINLINE HRESULT ITaskbarList4_RegisterTab(ITaskbarList4* This,HWND hwndTab,HWND hwndMDI) { + return This->lpVtbl->RegisterTab(This,hwndTab,hwndMDI); +} +static FORCEINLINE HRESULT ITaskbarList4_UnregisterTab(ITaskbarList4* This,HWND hwndTab) { + return This->lpVtbl->UnregisterTab(This,hwndTab); +} +static FORCEINLINE HRESULT ITaskbarList4_SetTabOrder(ITaskbarList4* This,HWND hwndTab,HWND hwndInsertBefore) { + return This->lpVtbl->SetTabOrder(This,hwndTab,hwndInsertBefore); +} +static FORCEINLINE HRESULT ITaskbarList4_SetTabActive(ITaskbarList4* This,HWND hwndTab,HWND hwndMDI,DWORD dwReserved) { + return This->lpVtbl->SetTabActive(This,hwndTab,hwndMDI,dwReserved); +} +static FORCEINLINE HRESULT ITaskbarList4_ThumbBarAddButtons(ITaskbarList4* This,HWND hwnd,UINT cButtons,LPTHUMBBUTTON pButton) { + return This->lpVtbl->ThumbBarAddButtons(This,hwnd,cButtons,pButton); +} +static FORCEINLINE HRESULT ITaskbarList4_ThumbBarUpdateButtons(ITaskbarList4* This,HWND hwnd,UINT cButtons,LPTHUMBBUTTON pButton) { + return This->lpVtbl->ThumbBarUpdateButtons(This,hwnd,cButtons,pButton); +} +static FORCEINLINE HRESULT ITaskbarList4_ThumbBarSetImageList(ITaskbarList4* This,HWND hwnd,HIMAGELIST himl) { + return This->lpVtbl->ThumbBarSetImageList(This,hwnd,himl); +} +static FORCEINLINE HRESULT ITaskbarList4_SetOverlayIcon(ITaskbarList4* This,HWND hwnd,HICON hIcon,LPCWSTR pszDescription) { + return This->lpVtbl->SetOverlayIcon(This,hwnd,hIcon,pszDescription); +} +static FORCEINLINE HRESULT ITaskbarList4_SetThumbnailTooltip(ITaskbarList4* This,HWND hwnd,LPCWSTR pszTip) { + return This->lpVtbl->SetThumbnailTooltip(This,hwnd,pszTip); +} +static FORCEINLINE HRESULT ITaskbarList4_SetThumbnailClip(ITaskbarList4* This,HWND hwnd,RECT *prcClip) { + return This->lpVtbl->SetThumbnailClip(This,hwnd,prcClip); +} +/*** ITaskbarList4 methods ***/ +static FORCEINLINE HRESULT ITaskbarList4_SetTabProperties(ITaskbarList4* This,HWND hwndTab,STPFLAG stpFlags) { + return This->lpVtbl->SetTabProperties(This,hwndTab,stpFlags); +} +#endif +#endif + +#endif + + +#endif /* __ITaskbarList4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAutoCompleteDropDown interface + */ +#ifndef __IAutoCompleteDropDown_INTERFACE_DEFINED__ +#define __IAutoCompleteDropDown_INTERFACE_DEFINED__ + +#define ACDD_VISIBLE 0x0001 +DEFINE_GUID(IID_IAutoCompleteDropDown, 0x3cd141f4, 0x3c6a, 0x11d2, 0xbc,0xaa, 0x00,0xc0,0x4f,0xd9,0x29,0xdb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3cd141f4-3c6a-11d2-bcaa-00c04fd929db") +IAutoCompleteDropDown : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDropDownStatus( + DWORD *pdwFlags, + LPWSTR *ppwszString) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetEnumerator( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAutoCompleteDropDown, 0x3cd141f4, 0x3c6a, 0x11d2, 0xbc,0xaa, 0x00,0xc0,0x4f,0xd9,0x29,0xdb) +#endif +#else +typedef struct IAutoCompleteDropDownVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAutoCompleteDropDown *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAutoCompleteDropDown *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAutoCompleteDropDown *This); + + /*** IAutoCompleteDropDown methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDropDownStatus)( + IAutoCompleteDropDown *This, + DWORD *pdwFlags, + LPWSTR *ppwszString); + + HRESULT (STDMETHODCALLTYPE *ResetEnumerator)( + IAutoCompleteDropDown *This); + + END_INTERFACE +} IAutoCompleteDropDownVtbl; + +interface IAutoCompleteDropDown { + CONST_VTBL IAutoCompleteDropDownVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAutoCompleteDropDown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAutoCompleteDropDown_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAutoCompleteDropDown_Release(This) (This)->lpVtbl->Release(This) +/*** IAutoCompleteDropDown methods ***/ +#define IAutoCompleteDropDown_GetDropDownStatus(This,pdwFlags,ppwszString) (This)->lpVtbl->GetDropDownStatus(This,pdwFlags,ppwszString) +#define IAutoCompleteDropDown_ResetEnumerator(This) (This)->lpVtbl->ResetEnumerator(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAutoCompleteDropDown_QueryInterface(IAutoCompleteDropDown* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAutoCompleteDropDown_AddRef(IAutoCompleteDropDown* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAutoCompleteDropDown_Release(IAutoCompleteDropDown* This) { + return This->lpVtbl->Release(This); +} +/*** IAutoCompleteDropDown methods ***/ +static FORCEINLINE HRESULT IAutoCompleteDropDown_GetDropDownStatus(IAutoCompleteDropDown* This,DWORD *pdwFlags,LPWSTR *ppwszString) { + return This->lpVtbl->GetDropDownStatus(This,pdwFlags,ppwszString); +} +static FORCEINLINE HRESULT IAutoCompleteDropDown_ResetEnumerator(IAutoCompleteDropDown* This) { + return This->lpVtbl->ResetEnumerator(This); +} +#endif +#endif + +#endif + + +#endif /* __IAutoCompleteDropDown_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IProfferService interface + */ +#ifndef __IProfferService_INTERFACE_DEFINED__ +#define __IProfferService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IProfferService, 0xcb728b20, 0xf786, 0x11ce, 0x92,0xad, 0x00,0xaa,0x00,0xa7,0x4c,0xd0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cb728b20-f786-11ce-92ad-00aa00a74cd0") +IProfferService : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ProfferService( + REFGUID service, + IServiceProvider *pService, + DWORD *pCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE RevokeService( + DWORD cookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IProfferService, 0xcb728b20, 0xf786, 0x11ce, 0x92,0xad, 0x00,0xaa,0x00,0xa7,0x4c,0xd0) +#endif +#else +typedef struct IProfferServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IProfferService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IProfferService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IProfferService *This); + + /*** IProfferService methods ***/ + HRESULT (STDMETHODCALLTYPE *ProfferService)( + IProfferService *This, + REFGUID service, + IServiceProvider *pService, + DWORD *pCookie); + + HRESULT (STDMETHODCALLTYPE *RevokeService)( + IProfferService *This, + DWORD cookie); + + END_INTERFACE +} IProfferServiceVtbl; + +interface IProfferService { + CONST_VTBL IProfferServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IProfferService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IProfferService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IProfferService_Release(This) (This)->lpVtbl->Release(This) +/*** IProfferService methods ***/ +#define IProfferService_ProfferService(This,service,pService,pCookie) (This)->lpVtbl->ProfferService(This,service,pService,pCookie) +#define IProfferService_RevokeService(This,cookie) (This)->lpVtbl->RevokeService(This,cookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IProfferService_QueryInterface(IProfferService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IProfferService_AddRef(IProfferService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IProfferService_Release(IProfferService* This) { + return This->lpVtbl->Release(This); +} +/*** IProfferService methods ***/ +static FORCEINLINE HRESULT IProfferService_ProfferService(IProfferService* This,REFGUID service,IServiceProvider *pService,DWORD *pCookie) { + return This->lpVtbl->ProfferService(This,service,pService,pCookie); +} +static FORCEINLINE HRESULT IProfferService_RevokeService(IProfferService* This,DWORD cookie) { + return This->lpVtbl->RevokeService(This,cookie); +} +#endif +#endif + +#endif + + +#endif /* __IProfferService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IExplorerBrowserEvents interface + */ +#ifndef __IExplorerBrowserEvents_INTERFACE_DEFINED__ +#define __IExplorerBrowserEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IExplorerBrowserEvents, 0x361bbdc7, 0xe6ee, 0x4e13, 0xbe,0x58, 0x58,0xe2,0x24,0x0c,0x81,0x0f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("361bbdc7-e6ee-4e13-be58-58e2240c810f") +IExplorerBrowserEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnNavigationPending( + PCIDLIST_ABSOLUTE pidlFolder) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnViewCreated( + IShellView *psv) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNavigationComplete( + PCIDLIST_ABSOLUTE pidlFolder) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNavigationFailed( + PCIDLIST_ABSOLUTE pidlFolder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExplorerBrowserEvents, 0x361bbdc7, 0xe6ee, 0x4e13, 0xbe,0x58, 0x58,0xe2,0x24,0x0c,0x81,0x0f) +#endif +#else +typedef struct IExplorerBrowserEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExplorerBrowserEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExplorerBrowserEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExplorerBrowserEvents *This); + + /*** IExplorerBrowserEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *OnNavigationPending)( + IExplorerBrowserEvents *This, + PCIDLIST_ABSOLUTE pidlFolder); + + HRESULT (STDMETHODCALLTYPE *OnViewCreated)( + IExplorerBrowserEvents *This, + IShellView *psv); + + HRESULT (STDMETHODCALLTYPE *OnNavigationComplete)( + IExplorerBrowserEvents *This, + PCIDLIST_ABSOLUTE pidlFolder); + + HRESULT (STDMETHODCALLTYPE *OnNavigationFailed)( + IExplorerBrowserEvents *This, + PCIDLIST_ABSOLUTE pidlFolder); + + END_INTERFACE +} IExplorerBrowserEventsVtbl; + +interface IExplorerBrowserEvents { + CONST_VTBL IExplorerBrowserEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExplorerBrowserEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExplorerBrowserEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExplorerBrowserEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IExplorerBrowserEvents methods ***/ +#define IExplorerBrowserEvents_OnNavigationPending(This,pidlFolder) (This)->lpVtbl->OnNavigationPending(This,pidlFolder) +#define IExplorerBrowserEvents_OnViewCreated(This,psv) (This)->lpVtbl->OnViewCreated(This,psv) +#define IExplorerBrowserEvents_OnNavigationComplete(This,pidlFolder) (This)->lpVtbl->OnNavigationComplete(This,pidlFolder) +#define IExplorerBrowserEvents_OnNavigationFailed(This,pidlFolder) (This)->lpVtbl->OnNavigationFailed(This,pidlFolder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExplorerBrowserEvents_QueryInterface(IExplorerBrowserEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExplorerBrowserEvents_AddRef(IExplorerBrowserEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExplorerBrowserEvents_Release(IExplorerBrowserEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IExplorerBrowserEvents methods ***/ +static FORCEINLINE HRESULT IExplorerBrowserEvents_OnNavigationPending(IExplorerBrowserEvents* This,PCIDLIST_ABSOLUTE pidlFolder) { + return This->lpVtbl->OnNavigationPending(This,pidlFolder); +} +static FORCEINLINE HRESULT IExplorerBrowserEvents_OnViewCreated(IExplorerBrowserEvents* This,IShellView *psv) { + return This->lpVtbl->OnViewCreated(This,psv); +} +static FORCEINLINE HRESULT IExplorerBrowserEvents_OnNavigationComplete(IExplorerBrowserEvents* This,PCIDLIST_ABSOLUTE pidlFolder) { + return This->lpVtbl->OnNavigationComplete(This,pidlFolder); +} +static FORCEINLINE HRESULT IExplorerBrowserEvents_OnNavigationFailed(IExplorerBrowserEvents* This,PCIDLIST_ABSOLUTE pidlFolder) { + return This->lpVtbl->OnNavigationFailed(This,pidlFolder); +} +#endif +#endif + +#endif + + +#endif /* __IExplorerBrowserEvents_INTERFACE_DEFINED__ */ + +typedef GUID EXPLORERPANE; +typedef EXPLORERPANE *REFEXPLORERPANE; +#define SID_ExplorerPaneVisibility IID_IExplorerPaneVisibility +/***************************************************************************** + * IExplorerPaneVisibility interface + */ +#ifndef __IExplorerPaneVisibility_INTERFACE_DEFINED__ +#define __IExplorerPaneVisibility_INTERFACE_DEFINED__ + +enum _EXPLORERPANESTATE { + EPS_DONTCARE = 0x0, + EPS_DEFAULT_ON = 0x1, + EPS_DEFAULT_OFF = 0x2, + EPS_STATE_MASK = 0xffff, + EPS_INITIALSTATE = 0x10000, + EPS_FORCE = 0x20000 +}; +typedef DWORD EXPLORERPANESTATE; +DEFINE_GUID(IID_IExplorerPaneVisibility, 0xe07010ec, 0xbc17, 0x44c0, 0x97,0xb0, 0x46,0xc7,0xc9,0x5b,0x9e,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e07010ec-bc17-44c0-97b0-46c7c95b9edc") +IExplorerPaneVisibility : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPaneState( + REFEXPLORERPANE ep, + EXPLORERPANESTATE *peps) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExplorerPaneVisibility, 0xe07010ec, 0xbc17, 0x44c0, 0x97,0xb0, 0x46,0xc7,0xc9,0x5b,0x9e,0xdc) +#endif +#else +typedef struct IExplorerPaneVisibilityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExplorerPaneVisibility *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExplorerPaneVisibility *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExplorerPaneVisibility *This); + + /*** IExplorerPaneVisibility methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPaneState)( + IExplorerPaneVisibility *This, + REFEXPLORERPANE ep, + EXPLORERPANESTATE *peps); + + END_INTERFACE +} IExplorerPaneVisibilityVtbl; + +interface IExplorerPaneVisibility { + CONST_VTBL IExplorerPaneVisibilityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExplorerPaneVisibility_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExplorerPaneVisibility_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExplorerPaneVisibility_Release(This) (This)->lpVtbl->Release(This) +/*** IExplorerPaneVisibility methods ***/ +#define IExplorerPaneVisibility_GetPaneState(This,ep,peps) (This)->lpVtbl->GetPaneState(This,ep,peps) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExplorerPaneVisibility_QueryInterface(IExplorerPaneVisibility* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExplorerPaneVisibility_AddRef(IExplorerPaneVisibility* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExplorerPaneVisibility_Release(IExplorerPaneVisibility* This) { + return This->lpVtbl->Release(This); +} +/*** IExplorerPaneVisibility methods ***/ +static FORCEINLINE HRESULT IExplorerPaneVisibility_GetPaneState(IExplorerPaneVisibility* This,REFEXPLORERPANE ep,EXPLORERPANESTATE *peps) { + return This->lpVtbl->GetPaneState(This,ep,peps); +} +#endif +#endif + +#endif + + +#endif /* __IExplorerPaneVisibility_INTERFACE_DEFINED__ */ + +typedef enum tagEXPLORER_BROWSER_FILL_FLAGS { + EBF_NONE = 0, + EBF_SELECTFROMDATAOBJECT = 0x100, + EBF_NODROPTARGET = 0x200 +} EXPLORER_BROWSER_FILL_FLAGS; +typedef enum tagEXPLORER_BROWSER_OPTIONS { + EBO_NONE = 0x0, + EBO_NAVIGATEONCE = 0x1, + EBO_SHOWFRAMES = 0x2, + EBO_ALWAYSNAVIGATE = 0x4, + EBO_NOTRAVELLOG = 0x8, + EBO_NOWRAPPERWINDOW = 0x10, + EBO_HTMLSHAREPOINTVIEW = 0x20, + EBO_NOBORDER = 0x40, + EBO_NOPERSISTVIEWSTATE = 0x80 +} EXPLORER_BROWSER_OPTIONS; +#define SID_SExplorerBrowserFrame IID_ICommDlgBrowser +/***************************************************************************** + * IExplorerBrowser interface + */ +#ifndef __IExplorerBrowser_INTERFACE_DEFINED__ +#define __IExplorerBrowser_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IExplorerBrowser, 0xdfd3b6b5, 0xc10c, 0x4be9, 0x85,0xf6, 0xa6,0x69,0x69,0xf4,0x02,0xf6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dfd3b6b5-c10c-4be9-85f6-a66969f402f6") +IExplorerBrowser : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + HWND hwndParent, + const RECT *prc, + const FOLDERSETTINGS *pfs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Destroy( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRect( + HDWP *phdwp, + RECT rcBrowser) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPropertyBag( + LPCWSTR pszPropertyBag) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEmptyText( + LPCWSTR pszEmptyText) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFolderSettings( + const FOLDERSETTINGS *pfs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Advise( + IExplorerBrowserEvents *psbe, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOptions( + EXPLORER_BROWSER_OPTIONS dwFlag) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOptions( + EXPLORER_BROWSER_OPTIONS *pdwFlag) = 0; + + virtual HRESULT STDMETHODCALLTYPE BrowseToIDList( + PCUIDLIST_RELATIVE pidl, + UINT uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE BrowseToObject( + IUnknown *punk, + UINT uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE FillFromObject( + IUnknown *punk, + EXPLORER_BROWSER_FILL_FLAGS dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentView( + REFIID riid, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExplorerBrowser, 0xdfd3b6b5, 0xc10c, 0x4be9, 0x85,0xf6, 0xa6,0x69,0x69,0xf4,0x02,0xf6) +#endif +#else +typedef struct IExplorerBrowserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExplorerBrowser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExplorerBrowser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExplorerBrowser *This); + + /*** IExplorerBrowser methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IExplorerBrowser *This, + HWND hwndParent, + const RECT *prc, + const FOLDERSETTINGS *pfs); + + HRESULT (STDMETHODCALLTYPE *Destroy)( + IExplorerBrowser *This); + + HRESULT (STDMETHODCALLTYPE *SetRect)( + IExplorerBrowser *This, + HDWP *phdwp, + RECT rcBrowser); + + HRESULT (STDMETHODCALLTYPE *SetPropertyBag)( + IExplorerBrowser *This, + LPCWSTR pszPropertyBag); + + HRESULT (STDMETHODCALLTYPE *SetEmptyText)( + IExplorerBrowser *This, + LPCWSTR pszEmptyText); + + HRESULT (STDMETHODCALLTYPE *SetFolderSettings)( + IExplorerBrowser *This, + const FOLDERSETTINGS *pfs); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IExplorerBrowser *This, + IExplorerBrowserEvents *psbe, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IExplorerBrowser *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *SetOptions)( + IExplorerBrowser *This, + EXPLORER_BROWSER_OPTIONS dwFlag); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + IExplorerBrowser *This, + EXPLORER_BROWSER_OPTIONS *pdwFlag); + + HRESULT (STDMETHODCALLTYPE *BrowseToIDList)( + IExplorerBrowser *This, + PCUIDLIST_RELATIVE pidl, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *BrowseToObject)( + IExplorerBrowser *This, + IUnknown *punk, + UINT uFlags); + + HRESULT (STDMETHODCALLTYPE *FillFromObject)( + IExplorerBrowser *This, + IUnknown *punk, + EXPLORER_BROWSER_FILL_FLAGS dwFlags); + + HRESULT (STDMETHODCALLTYPE *RemoveAll)( + IExplorerBrowser *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentView)( + IExplorerBrowser *This, + REFIID riid, + void **ppv); + + END_INTERFACE +} IExplorerBrowserVtbl; + +interface IExplorerBrowser { + CONST_VTBL IExplorerBrowserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExplorerBrowser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExplorerBrowser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExplorerBrowser_Release(This) (This)->lpVtbl->Release(This) +/*** IExplorerBrowser methods ***/ +#define IExplorerBrowser_Initialize(This,hwndParent,prc,pfs) (This)->lpVtbl->Initialize(This,hwndParent,prc,pfs) +#define IExplorerBrowser_Destroy(This) (This)->lpVtbl->Destroy(This) +#define IExplorerBrowser_SetRect(This,phdwp,rcBrowser) (This)->lpVtbl->SetRect(This,phdwp,rcBrowser) +#define IExplorerBrowser_SetPropertyBag(This,pszPropertyBag) (This)->lpVtbl->SetPropertyBag(This,pszPropertyBag) +#define IExplorerBrowser_SetEmptyText(This,pszEmptyText) (This)->lpVtbl->SetEmptyText(This,pszEmptyText) +#define IExplorerBrowser_SetFolderSettings(This,pfs) (This)->lpVtbl->SetFolderSettings(This,pfs) +#define IExplorerBrowser_Advise(This,psbe,pdwCookie) (This)->lpVtbl->Advise(This,psbe,pdwCookie) +#define IExplorerBrowser_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define IExplorerBrowser_SetOptions(This,dwFlag) (This)->lpVtbl->SetOptions(This,dwFlag) +#define IExplorerBrowser_GetOptions(This,pdwFlag) (This)->lpVtbl->GetOptions(This,pdwFlag) +#define IExplorerBrowser_BrowseToIDList(This,pidl,uFlags) (This)->lpVtbl->BrowseToIDList(This,pidl,uFlags) +#define IExplorerBrowser_BrowseToObject(This,punk,uFlags) (This)->lpVtbl->BrowseToObject(This,punk,uFlags) +#define IExplorerBrowser_FillFromObject(This,punk,dwFlags) (This)->lpVtbl->FillFromObject(This,punk,dwFlags) +#define IExplorerBrowser_RemoveAll(This) (This)->lpVtbl->RemoveAll(This) +#define IExplorerBrowser_GetCurrentView(This,riid,ppv) (This)->lpVtbl->GetCurrentView(This,riid,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExplorerBrowser_QueryInterface(IExplorerBrowser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExplorerBrowser_AddRef(IExplorerBrowser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExplorerBrowser_Release(IExplorerBrowser* This) { + return This->lpVtbl->Release(This); +} +/*** IExplorerBrowser methods ***/ +static FORCEINLINE HRESULT IExplorerBrowser_Initialize(IExplorerBrowser* This,HWND hwndParent,const RECT *prc,const FOLDERSETTINGS *pfs) { + return This->lpVtbl->Initialize(This,hwndParent,prc,pfs); +} +static FORCEINLINE HRESULT IExplorerBrowser_Destroy(IExplorerBrowser* This) { + return This->lpVtbl->Destroy(This); +} +static FORCEINLINE HRESULT IExplorerBrowser_SetRect(IExplorerBrowser* This,HDWP *phdwp,RECT rcBrowser) { + return This->lpVtbl->SetRect(This,phdwp,rcBrowser); +} +static FORCEINLINE HRESULT IExplorerBrowser_SetPropertyBag(IExplorerBrowser* This,LPCWSTR pszPropertyBag) { + return This->lpVtbl->SetPropertyBag(This,pszPropertyBag); +} +static FORCEINLINE HRESULT IExplorerBrowser_SetEmptyText(IExplorerBrowser* This,LPCWSTR pszEmptyText) { + return This->lpVtbl->SetEmptyText(This,pszEmptyText); +} +static FORCEINLINE HRESULT IExplorerBrowser_SetFolderSettings(IExplorerBrowser* This,const FOLDERSETTINGS *pfs) { + return This->lpVtbl->SetFolderSettings(This,pfs); +} +static FORCEINLINE HRESULT IExplorerBrowser_Advise(IExplorerBrowser* This,IExplorerBrowserEvents *psbe,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,psbe,pdwCookie); +} +static FORCEINLINE HRESULT IExplorerBrowser_Unadvise(IExplorerBrowser* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT IExplorerBrowser_SetOptions(IExplorerBrowser* This,EXPLORER_BROWSER_OPTIONS dwFlag) { + return This->lpVtbl->SetOptions(This,dwFlag); +} +static FORCEINLINE HRESULT IExplorerBrowser_GetOptions(IExplorerBrowser* This,EXPLORER_BROWSER_OPTIONS *pdwFlag) { + return This->lpVtbl->GetOptions(This,pdwFlag); +} +static FORCEINLINE HRESULT IExplorerBrowser_BrowseToIDList(IExplorerBrowser* This,PCUIDLIST_RELATIVE pidl,UINT uFlags) { + return This->lpVtbl->BrowseToIDList(This,pidl,uFlags); +} +static FORCEINLINE HRESULT IExplorerBrowser_BrowseToObject(IExplorerBrowser* This,IUnknown *punk,UINT uFlags) { + return This->lpVtbl->BrowseToObject(This,punk,uFlags); +} +static FORCEINLINE HRESULT IExplorerBrowser_FillFromObject(IExplorerBrowser* This,IUnknown *punk,EXPLORER_BROWSER_FILL_FLAGS dwFlags) { + return This->lpVtbl->FillFromObject(This,punk,dwFlags); +} +static FORCEINLINE HRESULT IExplorerBrowser_RemoveAll(IExplorerBrowser* This) { + return This->lpVtbl->RemoveAll(This); +} +static FORCEINLINE HRESULT IExplorerBrowser_GetCurrentView(IExplorerBrowser* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetCurrentView(This,riid,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IExplorerBrowser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INameSpaceTreeControl interface + */ +#ifndef __INameSpaceTreeControl_INTERFACE_DEFINED__ +#define __INameSpaceTreeControl_INTERFACE_DEFINED__ + +enum _NSTCSTYLE { + NSTCS_HASEXPANDOS = 0x1, + NSTCS_HASLINES = 0x2, + NSTCS_SINGLECLICKEXPAND = 0x4, + NSTCS_FULLROWSELECT = 0x8, + NSTCS_SPRINGEXPAND = 0x10, + NSTCS_HORIZONTALSCROLL = 0x20, + NSTCS_ROOTHASEXPANDO = 0x40, + NSTCS_SHOWSELECTIONALWAYS = 0x80, + NSTCS_NOINFOTIP = 0x200, + NSTCS_EVENHEIGHT = 0x400, + NSTCS_NOREPLACEOPEN = 0x800, + NSTCS_DISABLEDRAGDROP = 0x1000, + NSTCS_NOORDERSTREAM = 0x2000, + NSTCS_RICHTOOLTIP = 0x4000, + NSTCS_BORDER = 0x8000, + NSTCS_NOEDITLABELS = 0x10000, + NSTCS_TABSTOP = 0x20000, + NSTCS_FAVORITESMODE = 0x80000, + NSTCS_AUTOHSCROLL = 0x100000, + NSTCS_FADEINOUTEXPANDOS = 0x200000, + NSTCS_EMPTYTEXT = 0x400000, + NSTCS_CHECKBOXES = 0x800000, + NSTCS_PARTIALCHECKBOXES = 0x1000000, + NSTCS_EXCLUSIONCHECKBOXES = 0x2000000, + NSTCS_DIMMEDCHECKBOXES = 0x4000000, + NSTCS_NOINDENTCHECKS = 0x8000000, + NSTCS_ALLOWJUNCTIONS = 0x10000000, + NSTCS_SHOWTABSBUTTON = 0x20000000, + NSTCS_SHOWDELETEBUTTON = 0x40000000, + NSTCS_SHOWREFRESHBUTTON = (int)0x80000000 +}; +typedef DWORD NSTCSTYLE; +enum _NSTCROOTSTYLE { + NSTCRS_VISIBLE = 0x0, + NSTCRS_HIDDEN = 0x1, + NSTCRS_EXPANDED = 0x2 +}; +typedef DWORD NSTCROOTSTYLE; +enum _NSTCITEMSTATE { + NSTCIS_NONE = 0x0, + NSTCIS_SELECTED = 0x1, + NSTCIS_EXPANDED = 0x2, + NSTCIS_BOLD = 0x4, + NSTCIS_DISABLED = 0x8, + NSTCIS_SELECTEDNOEXPAND = 0x10 +}; +typedef DWORD NSTCITEMSTATE; +typedef enum NSTCGNI { + NSTCGNI_NEXT = 0, + NSTCGNI_NEXTVISIBLE = 1, + NSTCGNI_PREV = 2, + NSTCGNI_PREVVISIBLE = 3, + NSTCGNI_PARENT = 4, + NSTCGNI_CHILD = 5, + NSTCGNI_FIRSTVISIBLE = 6, + NSTCGNI_LASTVISIBLE = 7 +} NSTCGNI; +DEFINE_GUID(IID_INameSpaceTreeControl, 0x028212a3, 0xb627, 0x47e9, 0x88,0x56, 0xc1,0x42,0x65,0x55,0x4e,0x4f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("028212a3-b627-47e9-8856-c14265554e4f") +INameSpaceTreeControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + HWND hwndParent, + RECT *prc, + NSTCSTYLE nstcsFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE TreeAdvise( + IUnknown *punk, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE TreeUnadvise( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendRoot( + IShellItem *psiRoot, + SHCONTF grfEnumFlags, + NSTCROOTSTYLE grfRootStyle, + IShellItemFilter *pif) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertRoot( + int iIndex, + IShellItem *psiRoot, + SHCONTF grfEnumFlags, + NSTCROOTSTYLE grfRootStyle, + IShellItemFilter *pif) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveRoot( + IShellItem *psiRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllRoots( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootItems( + IShellItemArray **ppsiaRootItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetItemState( + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemState( + IShellItem *psi, + NSTCITEMSTATE nstcismask, + NSTCITEMSTATE *pnstcisFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectedItems( + IShellItemArray **psiaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemCustomState( + IShellItem *psi, + int *piStateNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetItemCustomState( + IShellItem *psi, + int iStateNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnsureItemVisible( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTheme( + LPCWSTR pszTheme) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextItem( + IShellItem *psi, + NSTCGNI nstcgi, + IShellItem **ppsiNext) = 0; + + virtual HRESULT STDMETHODCALLTYPE HitTest( + POINT *ppt, + IShellItem **ppsiOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItemRect( + IShellItem *psi, + RECT *prect) = 0; + + virtual HRESULT STDMETHODCALLTYPE CollapseAll( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INameSpaceTreeControl, 0x028212a3, 0xb627, 0x47e9, 0x88,0x56, 0xc1,0x42,0x65,0x55,0x4e,0x4f) +#endif +#else +typedef struct INameSpaceTreeControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INameSpaceTreeControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INameSpaceTreeControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INameSpaceTreeControl *This); + + /*** INameSpaceTreeControl methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INameSpaceTreeControl *This, + HWND hwndParent, + RECT *prc, + NSTCSTYLE nstcsFlags); + + HRESULT (STDMETHODCALLTYPE *TreeAdvise)( + INameSpaceTreeControl *This, + IUnknown *punk, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *TreeUnadvise)( + INameSpaceTreeControl *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *AppendRoot)( + INameSpaceTreeControl *This, + IShellItem *psiRoot, + SHCONTF grfEnumFlags, + NSTCROOTSTYLE grfRootStyle, + IShellItemFilter *pif); + + HRESULT (STDMETHODCALLTYPE *InsertRoot)( + INameSpaceTreeControl *This, + int iIndex, + IShellItem *psiRoot, + SHCONTF grfEnumFlags, + NSTCROOTSTYLE grfRootStyle, + IShellItemFilter *pif); + + HRESULT (STDMETHODCALLTYPE *RemoveRoot)( + INameSpaceTreeControl *This, + IShellItem *psiRoot); + + HRESULT (STDMETHODCALLTYPE *RemoveAllRoots)( + INameSpaceTreeControl *This); + + HRESULT (STDMETHODCALLTYPE *GetRootItems)( + INameSpaceTreeControl *This, + IShellItemArray **ppsiaRootItems); + + HRESULT (STDMETHODCALLTYPE *SetItemState)( + INameSpaceTreeControl *This, + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisFlags); + + HRESULT (STDMETHODCALLTYPE *GetItemState)( + INameSpaceTreeControl *This, + IShellItem *psi, + NSTCITEMSTATE nstcismask, + NSTCITEMSTATE *pnstcisFlags); + + HRESULT (STDMETHODCALLTYPE *GetSelectedItems)( + INameSpaceTreeControl *This, + IShellItemArray **psiaItems); + + HRESULT (STDMETHODCALLTYPE *GetItemCustomState)( + INameSpaceTreeControl *This, + IShellItem *psi, + int *piStateNumber); + + HRESULT (STDMETHODCALLTYPE *SetItemCustomState)( + INameSpaceTreeControl *This, + IShellItem *psi, + int iStateNumber); + + HRESULT (STDMETHODCALLTYPE *EnsureItemVisible)( + INameSpaceTreeControl *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetTheme)( + INameSpaceTreeControl *This, + LPCWSTR pszTheme); + + HRESULT (STDMETHODCALLTYPE *GetNextItem)( + INameSpaceTreeControl *This, + IShellItem *psi, + NSTCGNI nstcgi, + IShellItem **ppsiNext); + + HRESULT (STDMETHODCALLTYPE *HitTest)( + INameSpaceTreeControl *This, + POINT *ppt, + IShellItem **ppsiOut); + + HRESULT (STDMETHODCALLTYPE *GetItemRect)( + INameSpaceTreeControl *This, + IShellItem *psi, + RECT *prect); + + HRESULT (STDMETHODCALLTYPE *CollapseAll)( + INameSpaceTreeControl *This); + + END_INTERFACE +} INameSpaceTreeControlVtbl; + +interface INameSpaceTreeControl { + CONST_VTBL INameSpaceTreeControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INameSpaceTreeControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INameSpaceTreeControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INameSpaceTreeControl_Release(This) (This)->lpVtbl->Release(This) +/*** INameSpaceTreeControl methods ***/ +#define INameSpaceTreeControl_Initialize(This,hwndParent,prc,nstcsFlags) (This)->lpVtbl->Initialize(This,hwndParent,prc,nstcsFlags) +#define INameSpaceTreeControl_TreeAdvise(This,punk,pdwCookie) (This)->lpVtbl->TreeAdvise(This,punk,pdwCookie) +#define INameSpaceTreeControl_TreeUnadvise(This,dwCookie) (This)->lpVtbl->TreeUnadvise(This,dwCookie) +#define INameSpaceTreeControl_AppendRoot(This,psiRoot,grfEnumFlags,grfRootStyle,pif) (This)->lpVtbl->AppendRoot(This,psiRoot,grfEnumFlags,grfRootStyle,pif) +#define INameSpaceTreeControl_InsertRoot(This,iIndex,psiRoot,grfEnumFlags,grfRootStyle,pif) (This)->lpVtbl->InsertRoot(This,iIndex,psiRoot,grfEnumFlags,grfRootStyle,pif) +#define INameSpaceTreeControl_RemoveRoot(This,psiRoot) (This)->lpVtbl->RemoveRoot(This,psiRoot) +#define INameSpaceTreeControl_RemoveAllRoots(This) (This)->lpVtbl->RemoveAllRoots(This) +#define INameSpaceTreeControl_GetRootItems(This,ppsiaRootItems) (This)->lpVtbl->GetRootItems(This,ppsiaRootItems) +#define INameSpaceTreeControl_SetItemState(This,psi,nstcisMask,nstcisFlags) (This)->lpVtbl->SetItemState(This,psi,nstcisMask,nstcisFlags) +#define INameSpaceTreeControl_GetItemState(This,psi,nstcismask,pnstcisFlags) (This)->lpVtbl->GetItemState(This,psi,nstcismask,pnstcisFlags) +#define INameSpaceTreeControl_GetSelectedItems(This,psiaItems) (This)->lpVtbl->GetSelectedItems(This,psiaItems) +#define INameSpaceTreeControl_GetItemCustomState(This,psi,piStateNumber) (This)->lpVtbl->GetItemCustomState(This,psi,piStateNumber) +#define INameSpaceTreeControl_SetItemCustomState(This,psi,iStateNumber) (This)->lpVtbl->SetItemCustomState(This,psi,iStateNumber) +#define INameSpaceTreeControl_EnsureItemVisible(This,psi) (This)->lpVtbl->EnsureItemVisible(This,psi) +#define INameSpaceTreeControl_SetTheme(This,pszTheme) (This)->lpVtbl->SetTheme(This,pszTheme) +#define INameSpaceTreeControl_GetNextItem(This,psi,nstcgi,ppsiNext) (This)->lpVtbl->GetNextItem(This,psi,nstcgi,ppsiNext) +#define INameSpaceTreeControl_HitTest(This,ppt,ppsiOut) (This)->lpVtbl->HitTest(This,ppt,ppsiOut) +#define INameSpaceTreeControl_GetItemRect(This,psi,prect) (This)->lpVtbl->GetItemRect(This,psi,prect) +#define INameSpaceTreeControl_CollapseAll(This) (This)->lpVtbl->CollapseAll(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControl_QueryInterface(INameSpaceTreeControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INameSpaceTreeControl_AddRef(INameSpaceTreeControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INameSpaceTreeControl_Release(INameSpaceTreeControl* This) { + return This->lpVtbl->Release(This); +} +/*** INameSpaceTreeControl methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControl_Initialize(INameSpaceTreeControl* This,HWND hwndParent,RECT *prc,NSTCSTYLE nstcsFlags) { + return This->lpVtbl->Initialize(This,hwndParent,prc,nstcsFlags); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_TreeAdvise(INameSpaceTreeControl* This,IUnknown *punk,DWORD *pdwCookie) { + return This->lpVtbl->TreeAdvise(This,punk,pdwCookie); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_TreeUnadvise(INameSpaceTreeControl* This,DWORD dwCookie) { + return This->lpVtbl->TreeUnadvise(This,dwCookie); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_AppendRoot(INameSpaceTreeControl* This,IShellItem *psiRoot,SHCONTF grfEnumFlags,NSTCROOTSTYLE grfRootStyle,IShellItemFilter *pif) { + return This->lpVtbl->AppendRoot(This,psiRoot,grfEnumFlags,grfRootStyle,pif); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_InsertRoot(INameSpaceTreeControl* This,int iIndex,IShellItem *psiRoot,SHCONTF grfEnumFlags,NSTCROOTSTYLE grfRootStyle,IShellItemFilter *pif) { + return This->lpVtbl->InsertRoot(This,iIndex,psiRoot,grfEnumFlags,grfRootStyle,pif); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_RemoveRoot(INameSpaceTreeControl* This,IShellItem *psiRoot) { + return This->lpVtbl->RemoveRoot(This,psiRoot); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_RemoveAllRoots(INameSpaceTreeControl* This) { + return This->lpVtbl->RemoveAllRoots(This); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_GetRootItems(INameSpaceTreeControl* This,IShellItemArray **ppsiaRootItems) { + return This->lpVtbl->GetRootItems(This,ppsiaRootItems); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_SetItemState(INameSpaceTreeControl* This,IShellItem *psi,NSTCITEMSTATE nstcisMask,NSTCITEMSTATE nstcisFlags) { + return This->lpVtbl->SetItemState(This,psi,nstcisMask,nstcisFlags); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_GetItemState(INameSpaceTreeControl* This,IShellItem *psi,NSTCITEMSTATE nstcismask,NSTCITEMSTATE *pnstcisFlags) { + return This->lpVtbl->GetItemState(This,psi,nstcismask,pnstcisFlags); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_GetSelectedItems(INameSpaceTreeControl* This,IShellItemArray **psiaItems) { + return This->lpVtbl->GetSelectedItems(This,psiaItems); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_GetItemCustomState(INameSpaceTreeControl* This,IShellItem *psi,int *piStateNumber) { + return This->lpVtbl->GetItemCustomState(This,psi,piStateNumber); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_SetItemCustomState(INameSpaceTreeControl* This,IShellItem *psi,int iStateNumber) { + return This->lpVtbl->SetItemCustomState(This,psi,iStateNumber); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_EnsureItemVisible(INameSpaceTreeControl* This,IShellItem *psi) { + return This->lpVtbl->EnsureItemVisible(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_SetTheme(INameSpaceTreeControl* This,LPCWSTR pszTheme) { + return This->lpVtbl->SetTheme(This,pszTheme); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_GetNextItem(INameSpaceTreeControl* This,IShellItem *psi,NSTCGNI nstcgi,IShellItem **ppsiNext) { + return This->lpVtbl->GetNextItem(This,psi,nstcgi,ppsiNext); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_HitTest(INameSpaceTreeControl* This,POINT *ppt,IShellItem **ppsiOut) { + return This->lpVtbl->HitTest(This,ppt,ppsiOut); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_GetItemRect(INameSpaceTreeControl* This,IShellItem *psi,RECT *prect) { + return This->lpVtbl->GetItemRect(This,psi,prect); +} +static FORCEINLINE HRESULT INameSpaceTreeControl_CollapseAll(INameSpaceTreeControl* This) { + return This->lpVtbl->CollapseAll(This); +} +#endif +#endif + +#endif + + +#endif /* __INameSpaceTreeControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INameSpaceTreeControl2 interface + */ +#ifndef __INameSpaceTreeControl2_INTERFACE_DEFINED__ +#define __INameSpaceTreeControl2_INTERFACE_DEFINED__ + +typedef enum NSTCSTYLE2 { + NSTCS2_DEFAULT = 0x0, + NSTCS2_INTERRUPTNOTIFICATIONS = 0x1, + NSTCS2_SHOWNULLSPACEMENU = 0x2, + NSTCS2_DISPLAYPADDING = 0x4, + NSTCS2_DISPLAYPINNEDONLY = 0x8, + NTSCS2_NOSINGLETONAUTOEXPAND = 0x10, + NTSCS2_NEVERINSERTNONENUMERATED = 0x20 +} NSTCSTYLE2; +DEFINE_ENUM_FLAG_OPERATORS(NSTCSTYLE2) +DEFINE_GUID(IID_INameSpaceTreeControl2, 0x7cc7aed8, 0x290e, 0x49bc, 0x89,0x45, 0xc1,0x40,0x1c,0xc9,0x30,0x6c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7cc7aed8-290e-49bc-8945-c1401cc9306c") +INameSpaceTreeControl2 : public INameSpaceTreeControl +{ + virtual HRESULT STDMETHODCALLTYPE SetControlStyle( + NSTCSTYLE nstcsMask, + NSTCSTYLE nstcsStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlStyle( + NSTCSTYLE nstcsMask, + NSTCSTYLE *pnstcsStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetControlStyle2( + NSTCSTYLE2 nstcsMask, + NSTCSTYLE2 nstcsStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlStyle2( + NSTCSTYLE2 nstcsMask, + NSTCSTYLE2 *pnstcsStyle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INameSpaceTreeControl2, 0x7cc7aed8, 0x290e, 0x49bc, 0x89,0x45, 0xc1,0x40,0x1c,0xc9,0x30,0x6c) +#endif +#else +typedef struct INameSpaceTreeControl2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INameSpaceTreeControl2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INameSpaceTreeControl2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INameSpaceTreeControl2 *This); + + /*** INameSpaceTreeControl methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INameSpaceTreeControl2 *This, + HWND hwndParent, + RECT *prc, + NSTCSTYLE nstcsFlags); + + HRESULT (STDMETHODCALLTYPE *TreeAdvise)( + INameSpaceTreeControl2 *This, + IUnknown *punk, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *TreeUnadvise)( + INameSpaceTreeControl2 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *AppendRoot)( + INameSpaceTreeControl2 *This, + IShellItem *psiRoot, + SHCONTF grfEnumFlags, + NSTCROOTSTYLE grfRootStyle, + IShellItemFilter *pif); + + HRESULT (STDMETHODCALLTYPE *InsertRoot)( + INameSpaceTreeControl2 *This, + int iIndex, + IShellItem *psiRoot, + SHCONTF grfEnumFlags, + NSTCROOTSTYLE grfRootStyle, + IShellItemFilter *pif); + + HRESULT (STDMETHODCALLTYPE *RemoveRoot)( + INameSpaceTreeControl2 *This, + IShellItem *psiRoot); + + HRESULT (STDMETHODCALLTYPE *RemoveAllRoots)( + INameSpaceTreeControl2 *This); + + HRESULT (STDMETHODCALLTYPE *GetRootItems)( + INameSpaceTreeControl2 *This, + IShellItemArray **ppsiaRootItems); + + HRESULT (STDMETHODCALLTYPE *SetItemState)( + INameSpaceTreeControl2 *This, + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisFlags); + + HRESULT (STDMETHODCALLTYPE *GetItemState)( + INameSpaceTreeControl2 *This, + IShellItem *psi, + NSTCITEMSTATE nstcismask, + NSTCITEMSTATE *pnstcisFlags); + + HRESULT (STDMETHODCALLTYPE *GetSelectedItems)( + INameSpaceTreeControl2 *This, + IShellItemArray **psiaItems); + + HRESULT (STDMETHODCALLTYPE *GetItemCustomState)( + INameSpaceTreeControl2 *This, + IShellItem *psi, + int *piStateNumber); + + HRESULT (STDMETHODCALLTYPE *SetItemCustomState)( + INameSpaceTreeControl2 *This, + IShellItem *psi, + int iStateNumber); + + HRESULT (STDMETHODCALLTYPE *EnsureItemVisible)( + INameSpaceTreeControl2 *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetTheme)( + INameSpaceTreeControl2 *This, + LPCWSTR pszTheme); + + HRESULT (STDMETHODCALLTYPE *GetNextItem)( + INameSpaceTreeControl2 *This, + IShellItem *psi, + NSTCGNI nstcgi, + IShellItem **ppsiNext); + + HRESULT (STDMETHODCALLTYPE *HitTest)( + INameSpaceTreeControl2 *This, + POINT *ppt, + IShellItem **ppsiOut); + + HRESULT (STDMETHODCALLTYPE *GetItemRect)( + INameSpaceTreeControl2 *This, + IShellItem *psi, + RECT *prect); + + HRESULT (STDMETHODCALLTYPE *CollapseAll)( + INameSpaceTreeControl2 *This); + + /*** INameSpaceTreeControl2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetControlStyle)( + INameSpaceTreeControl2 *This, + NSTCSTYLE nstcsMask, + NSTCSTYLE nstcsStyle); + + HRESULT (STDMETHODCALLTYPE *GetControlStyle)( + INameSpaceTreeControl2 *This, + NSTCSTYLE nstcsMask, + NSTCSTYLE *pnstcsStyle); + + HRESULT (STDMETHODCALLTYPE *SetControlStyle2)( + INameSpaceTreeControl2 *This, + NSTCSTYLE2 nstcsMask, + NSTCSTYLE2 nstcsStyle); + + HRESULT (STDMETHODCALLTYPE *GetControlStyle2)( + INameSpaceTreeControl2 *This, + NSTCSTYLE2 nstcsMask, + NSTCSTYLE2 *pnstcsStyle); + + END_INTERFACE +} INameSpaceTreeControl2Vtbl; + +interface INameSpaceTreeControl2 { + CONST_VTBL INameSpaceTreeControl2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INameSpaceTreeControl2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INameSpaceTreeControl2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INameSpaceTreeControl2_Release(This) (This)->lpVtbl->Release(This) +/*** INameSpaceTreeControl methods ***/ +#define INameSpaceTreeControl2_Initialize(This,hwndParent,prc,nstcsFlags) (This)->lpVtbl->Initialize(This,hwndParent,prc,nstcsFlags) +#define INameSpaceTreeControl2_TreeAdvise(This,punk,pdwCookie) (This)->lpVtbl->TreeAdvise(This,punk,pdwCookie) +#define INameSpaceTreeControl2_TreeUnadvise(This,dwCookie) (This)->lpVtbl->TreeUnadvise(This,dwCookie) +#define INameSpaceTreeControl2_AppendRoot(This,psiRoot,grfEnumFlags,grfRootStyle,pif) (This)->lpVtbl->AppendRoot(This,psiRoot,grfEnumFlags,grfRootStyle,pif) +#define INameSpaceTreeControl2_InsertRoot(This,iIndex,psiRoot,grfEnumFlags,grfRootStyle,pif) (This)->lpVtbl->InsertRoot(This,iIndex,psiRoot,grfEnumFlags,grfRootStyle,pif) +#define INameSpaceTreeControl2_RemoveRoot(This,psiRoot) (This)->lpVtbl->RemoveRoot(This,psiRoot) +#define INameSpaceTreeControl2_RemoveAllRoots(This) (This)->lpVtbl->RemoveAllRoots(This) +#define INameSpaceTreeControl2_GetRootItems(This,ppsiaRootItems) (This)->lpVtbl->GetRootItems(This,ppsiaRootItems) +#define INameSpaceTreeControl2_SetItemState(This,psi,nstcisMask,nstcisFlags) (This)->lpVtbl->SetItemState(This,psi,nstcisMask,nstcisFlags) +#define INameSpaceTreeControl2_GetItemState(This,psi,nstcismask,pnstcisFlags) (This)->lpVtbl->GetItemState(This,psi,nstcismask,pnstcisFlags) +#define INameSpaceTreeControl2_GetSelectedItems(This,psiaItems) (This)->lpVtbl->GetSelectedItems(This,psiaItems) +#define INameSpaceTreeControl2_GetItemCustomState(This,psi,piStateNumber) (This)->lpVtbl->GetItemCustomState(This,psi,piStateNumber) +#define INameSpaceTreeControl2_SetItemCustomState(This,psi,iStateNumber) (This)->lpVtbl->SetItemCustomState(This,psi,iStateNumber) +#define INameSpaceTreeControl2_EnsureItemVisible(This,psi) (This)->lpVtbl->EnsureItemVisible(This,psi) +#define INameSpaceTreeControl2_SetTheme(This,pszTheme) (This)->lpVtbl->SetTheme(This,pszTheme) +#define INameSpaceTreeControl2_GetNextItem(This,psi,nstcgi,ppsiNext) (This)->lpVtbl->GetNextItem(This,psi,nstcgi,ppsiNext) +#define INameSpaceTreeControl2_HitTest(This,ppt,ppsiOut) (This)->lpVtbl->HitTest(This,ppt,ppsiOut) +#define INameSpaceTreeControl2_GetItemRect(This,psi,prect) (This)->lpVtbl->GetItemRect(This,psi,prect) +#define INameSpaceTreeControl2_CollapseAll(This) (This)->lpVtbl->CollapseAll(This) +/*** INameSpaceTreeControl2 methods ***/ +#define INameSpaceTreeControl2_SetControlStyle(This,nstcsMask,nstcsStyle) (This)->lpVtbl->SetControlStyle(This,nstcsMask,nstcsStyle) +#define INameSpaceTreeControl2_GetControlStyle(This,nstcsMask,pnstcsStyle) (This)->lpVtbl->GetControlStyle(This,nstcsMask,pnstcsStyle) +#define INameSpaceTreeControl2_SetControlStyle2(This,nstcsMask,nstcsStyle) (This)->lpVtbl->SetControlStyle2(This,nstcsMask,nstcsStyle) +#define INameSpaceTreeControl2_GetControlStyle2(This,nstcsMask,pnstcsStyle) (This)->lpVtbl->GetControlStyle2(This,nstcsMask,pnstcsStyle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControl2_QueryInterface(INameSpaceTreeControl2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INameSpaceTreeControl2_AddRef(INameSpaceTreeControl2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INameSpaceTreeControl2_Release(INameSpaceTreeControl2* This) { + return This->lpVtbl->Release(This); +} +/*** INameSpaceTreeControl methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControl2_Initialize(INameSpaceTreeControl2* This,HWND hwndParent,RECT *prc,NSTCSTYLE nstcsFlags) { + return This->lpVtbl->Initialize(This,hwndParent,prc,nstcsFlags); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_TreeAdvise(INameSpaceTreeControl2* This,IUnknown *punk,DWORD *pdwCookie) { + return This->lpVtbl->TreeAdvise(This,punk,pdwCookie); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_TreeUnadvise(INameSpaceTreeControl2* This,DWORD dwCookie) { + return This->lpVtbl->TreeUnadvise(This,dwCookie); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_AppendRoot(INameSpaceTreeControl2* This,IShellItem *psiRoot,SHCONTF grfEnumFlags,NSTCROOTSTYLE grfRootStyle,IShellItemFilter *pif) { + return This->lpVtbl->AppendRoot(This,psiRoot,grfEnumFlags,grfRootStyle,pif); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_InsertRoot(INameSpaceTreeControl2* This,int iIndex,IShellItem *psiRoot,SHCONTF grfEnumFlags,NSTCROOTSTYLE grfRootStyle,IShellItemFilter *pif) { + return This->lpVtbl->InsertRoot(This,iIndex,psiRoot,grfEnumFlags,grfRootStyle,pif); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_RemoveRoot(INameSpaceTreeControl2* This,IShellItem *psiRoot) { + return This->lpVtbl->RemoveRoot(This,psiRoot); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_RemoveAllRoots(INameSpaceTreeControl2* This) { + return This->lpVtbl->RemoveAllRoots(This); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetRootItems(INameSpaceTreeControl2* This,IShellItemArray **ppsiaRootItems) { + return This->lpVtbl->GetRootItems(This,ppsiaRootItems); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_SetItemState(INameSpaceTreeControl2* This,IShellItem *psi,NSTCITEMSTATE nstcisMask,NSTCITEMSTATE nstcisFlags) { + return This->lpVtbl->SetItemState(This,psi,nstcisMask,nstcisFlags); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetItemState(INameSpaceTreeControl2* This,IShellItem *psi,NSTCITEMSTATE nstcismask,NSTCITEMSTATE *pnstcisFlags) { + return This->lpVtbl->GetItemState(This,psi,nstcismask,pnstcisFlags); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetSelectedItems(INameSpaceTreeControl2* This,IShellItemArray **psiaItems) { + return This->lpVtbl->GetSelectedItems(This,psiaItems); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetItemCustomState(INameSpaceTreeControl2* This,IShellItem *psi,int *piStateNumber) { + return This->lpVtbl->GetItemCustomState(This,psi,piStateNumber); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_SetItemCustomState(INameSpaceTreeControl2* This,IShellItem *psi,int iStateNumber) { + return This->lpVtbl->SetItemCustomState(This,psi,iStateNumber); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_EnsureItemVisible(INameSpaceTreeControl2* This,IShellItem *psi) { + return This->lpVtbl->EnsureItemVisible(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_SetTheme(INameSpaceTreeControl2* This,LPCWSTR pszTheme) { + return This->lpVtbl->SetTheme(This,pszTheme); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetNextItem(INameSpaceTreeControl2* This,IShellItem *psi,NSTCGNI nstcgi,IShellItem **ppsiNext) { + return This->lpVtbl->GetNextItem(This,psi,nstcgi,ppsiNext); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_HitTest(INameSpaceTreeControl2* This,POINT *ppt,IShellItem **ppsiOut) { + return This->lpVtbl->HitTest(This,ppt,ppsiOut); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetItemRect(INameSpaceTreeControl2* This,IShellItem *psi,RECT *prect) { + return This->lpVtbl->GetItemRect(This,psi,prect); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_CollapseAll(INameSpaceTreeControl2* This) { + return This->lpVtbl->CollapseAll(This); +} +/*** INameSpaceTreeControl2 methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControl2_SetControlStyle(INameSpaceTreeControl2* This,NSTCSTYLE nstcsMask,NSTCSTYLE nstcsStyle) { + return This->lpVtbl->SetControlStyle(This,nstcsMask,nstcsStyle); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetControlStyle(INameSpaceTreeControl2* This,NSTCSTYLE nstcsMask,NSTCSTYLE *pnstcsStyle) { + return This->lpVtbl->GetControlStyle(This,nstcsMask,pnstcsStyle); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_SetControlStyle2(INameSpaceTreeControl2* This,NSTCSTYLE2 nstcsMask,NSTCSTYLE2 nstcsStyle) { + return This->lpVtbl->SetControlStyle2(This,nstcsMask,nstcsStyle); +} +static FORCEINLINE HRESULT INameSpaceTreeControl2_GetControlStyle2(INameSpaceTreeControl2* This,NSTCSTYLE2 nstcsMask,NSTCSTYLE2 *pnstcsStyle) { + return This->lpVtbl->GetControlStyle2(This,nstcsMask,pnstcsStyle); +} +#endif +#endif + +#endif + + +#endif /* __INameSpaceTreeControl2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INameSpaceTreeControlEvents interface + */ +#ifndef __INameSpaceTreeControlEvents_INTERFACE_DEFINED__ +#define __INameSpaceTreeControlEvents_INTERFACE_DEFINED__ + +enum _NSTCEHITTEST { + NSTCEHT_NOWHERE = 0x1, + NSTCEHT_ONITEMICON = 0x2, + NSTCEHT_ONITEMLABEL = 0x4, + NSTCEHT_ONITEMIDENT = 0x8, + NSTCEHT_ONITEMBUTTON = 0x10, + NSTCEHT_ONITEMRIGHT = 0x20, + NSTCEHT_ONITEMSTATEICON = 0x40, + NSTCEHT_ONITEM = 0x46, + NSTCEHT_ONITEMTABBUTTON = 0x1000 +}; +typedef DWORD NSTCEHITTEST; +enum _NSTCECLICKTYPE { + NSTCECT_LBUTTON = 0x1, + NSTCECT_MBUTTON = 0x2, + NSTCECT_RBUTTON = 0x3, + NSTCECT_BUTTON = 0x3, + NSTCECT_DBLCLICK = 0x4 +}; +typedef DWORD NSTCECLICKTYPE; +DEFINE_GUID(IID_INameSpaceTreeControlEvents, 0x93d77985, 0xb3d8, 0x4484, 0x83,0x18, 0x67,0x2c,0xdd,0xa0,0x02,0xce); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("93d77985-b3d8-4484-8318-672cdda002ce") +INameSpaceTreeControlEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnItemClick( + IShellItem *psi, + NSTCEHITTEST nstceHitTest, + NSTCECLICKTYPE nstceClickType) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPropertyItemCommit( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnItemStateChanging( + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnItemStateChanged( + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisState) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSelectionChanged( + IShellItemArray *psiaSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnKeyboardInput( + UINT uMsg, + WPARAM wParam, + LPARAM lParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnBeforeExpand( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnAfterExpand( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnBeginLabelEdit( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEndLabelEdit( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnGetToolTip( + IShellItem *psi, + LPWSTR pszTip, + int cchTip) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnBeforeItemDelete( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnItemAdded( + IShellItem *psi, + BOOL fIsRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnItemDeleted( + IShellItem *psi, + BOOL fIsRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnBeforeContextMenu( + IShellItem *psi, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnAfterContextMenu( + IShellItem *psi, + IContextMenu *pcmIn, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnBeforeStateImageChange( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnGetDefaultIconIndex( + IShellItem *psi, + int *piDefaultIcon, + int *piOpenIcon) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INameSpaceTreeControlEvents, 0x93d77985, 0xb3d8, 0x4484, 0x83,0x18, 0x67,0x2c,0xdd,0xa0,0x02,0xce) +#endif +#else +typedef struct INameSpaceTreeControlEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INameSpaceTreeControlEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INameSpaceTreeControlEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INameSpaceTreeControlEvents *This); + + /*** INameSpaceTreeControlEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *OnItemClick)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + NSTCEHITTEST nstceHitTest, + NSTCECLICKTYPE nstceClickType); + + HRESULT (STDMETHODCALLTYPE *OnPropertyItemCommit)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnItemStateChanging)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisState); + + HRESULT (STDMETHODCALLTYPE *OnItemStateChanged)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + NSTCITEMSTATE nstcisMask, + NSTCITEMSTATE nstcisState); + + HRESULT (STDMETHODCALLTYPE *OnSelectionChanged)( + INameSpaceTreeControlEvents *This, + IShellItemArray *psiaSelection); + + HRESULT (STDMETHODCALLTYPE *OnKeyboardInput)( + INameSpaceTreeControlEvents *This, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + + HRESULT (STDMETHODCALLTYPE *OnBeforeExpand)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnAfterExpand)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnBeginLabelEdit)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnEndLabelEdit)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnGetToolTip)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + LPWSTR pszTip, + int cchTip); + + HRESULT (STDMETHODCALLTYPE *OnBeforeItemDelete)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnItemAdded)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + BOOL fIsRoot); + + HRESULT (STDMETHODCALLTYPE *OnItemDeleted)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + BOOL fIsRoot); + + HRESULT (STDMETHODCALLTYPE *OnBeforeContextMenu)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *OnAfterContextMenu)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + IContextMenu *pcmIn, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *OnBeforeStateImageChange)( + INameSpaceTreeControlEvents *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *OnGetDefaultIconIndex)( + INameSpaceTreeControlEvents *This, + IShellItem *psi, + int *piDefaultIcon, + int *piOpenIcon); + + END_INTERFACE +} INameSpaceTreeControlEventsVtbl; + +interface INameSpaceTreeControlEvents { + CONST_VTBL INameSpaceTreeControlEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INameSpaceTreeControlEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INameSpaceTreeControlEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INameSpaceTreeControlEvents_Release(This) (This)->lpVtbl->Release(This) +/*** INameSpaceTreeControlEvents methods ***/ +#define INameSpaceTreeControlEvents_OnItemClick(This,psi,nstceHitTest,nstceClickType) (This)->lpVtbl->OnItemClick(This,psi,nstceHitTest,nstceClickType) +#define INameSpaceTreeControlEvents_OnPropertyItemCommit(This,psi) (This)->lpVtbl->OnPropertyItemCommit(This,psi) +#define INameSpaceTreeControlEvents_OnItemStateChanging(This,psi,nstcisMask,nstcisState) (This)->lpVtbl->OnItemStateChanging(This,psi,nstcisMask,nstcisState) +#define INameSpaceTreeControlEvents_OnItemStateChanged(This,psi,nstcisMask,nstcisState) (This)->lpVtbl->OnItemStateChanged(This,psi,nstcisMask,nstcisState) +#define INameSpaceTreeControlEvents_OnSelectionChanged(This,psiaSelection) (This)->lpVtbl->OnSelectionChanged(This,psiaSelection) +#define INameSpaceTreeControlEvents_OnKeyboardInput(This,uMsg,wParam,lParam) (This)->lpVtbl->OnKeyboardInput(This,uMsg,wParam,lParam) +#define INameSpaceTreeControlEvents_OnBeforeExpand(This,psi) (This)->lpVtbl->OnBeforeExpand(This,psi) +#define INameSpaceTreeControlEvents_OnAfterExpand(This,psi) (This)->lpVtbl->OnAfterExpand(This,psi) +#define INameSpaceTreeControlEvents_OnBeginLabelEdit(This,psi) (This)->lpVtbl->OnBeginLabelEdit(This,psi) +#define INameSpaceTreeControlEvents_OnEndLabelEdit(This,psi) (This)->lpVtbl->OnEndLabelEdit(This,psi) +#define INameSpaceTreeControlEvents_OnGetToolTip(This,psi,pszTip,cchTip) (This)->lpVtbl->OnGetToolTip(This,psi,pszTip,cchTip) +#define INameSpaceTreeControlEvents_OnBeforeItemDelete(This,psi) (This)->lpVtbl->OnBeforeItemDelete(This,psi) +#define INameSpaceTreeControlEvents_OnItemAdded(This,psi,fIsRoot) (This)->lpVtbl->OnItemAdded(This,psi,fIsRoot) +#define INameSpaceTreeControlEvents_OnItemDeleted(This,psi,fIsRoot) (This)->lpVtbl->OnItemDeleted(This,psi,fIsRoot) +#define INameSpaceTreeControlEvents_OnBeforeContextMenu(This,psi,riid,ppv) (This)->lpVtbl->OnBeforeContextMenu(This,psi,riid,ppv) +#define INameSpaceTreeControlEvents_OnAfterContextMenu(This,psi,pcmIn,riid,ppv) (This)->lpVtbl->OnAfterContextMenu(This,psi,pcmIn,riid,ppv) +#define INameSpaceTreeControlEvents_OnBeforeStateImageChange(This,psi) (This)->lpVtbl->OnBeforeStateImageChange(This,psi) +#define INameSpaceTreeControlEvents_OnGetDefaultIconIndex(This,psi,piDefaultIcon,piOpenIcon) (This)->lpVtbl->OnGetDefaultIconIndex(This,psi,piDefaultIcon,piOpenIcon) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_QueryInterface(INameSpaceTreeControlEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INameSpaceTreeControlEvents_AddRef(INameSpaceTreeControlEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INameSpaceTreeControlEvents_Release(INameSpaceTreeControlEvents* This) { + return This->lpVtbl->Release(This); +} +/*** INameSpaceTreeControlEvents methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnItemClick(INameSpaceTreeControlEvents* This,IShellItem *psi,NSTCEHITTEST nstceHitTest,NSTCECLICKTYPE nstceClickType) { + return This->lpVtbl->OnItemClick(This,psi,nstceHitTest,nstceClickType); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnPropertyItemCommit(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnPropertyItemCommit(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnItemStateChanging(INameSpaceTreeControlEvents* This,IShellItem *psi,NSTCITEMSTATE nstcisMask,NSTCITEMSTATE nstcisState) { + return This->lpVtbl->OnItemStateChanging(This,psi,nstcisMask,nstcisState); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnItemStateChanged(INameSpaceTreeControlEvents* This,IShellItem *psi,NSTCITEMSTATE nstcisMask,NSTCITEMSTATE nstcisState) { + return This->lpVtbl->OnItemStateChanged(This,psi,nstcisMask,nstcisState); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnSelectionChanged(INameSpaceTreeControlEvents* This,IShellItemArray *psiaSelection) { + return This->lpVtbl->OnSelectionChanged(This,psiaSelection); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnKeyboardInput(INameSpaceTreeControlEvents* This,UINT uMsg,WPARAM wParam,LPARAM lParam) { + return This->lpVtbl->OnKeyboardInput(This,uMsg,wParam,lParam); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnBeforeExpand(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnBeforeExpand(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnAfterExpand(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnAfterExpand(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnBeginLabelEdit(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnBeginLabelEdit(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnEndLabelEdit(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnEndLabelEdit(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnGetToolTip(INameSpaceTreeControlEvents* This,IShellItem *psi,LPWSTR pszTip,int cchTip) { + return This->lpVtbl->OnGetToolTip(This,psi,pszTip,cchTip); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnBeforeItemDelete(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnBeforeItemDelete(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnItemAdded(INameSpaceTreeControlEvents* This,IShellItem *psi,BOOL fIsRoot) { + return This->lpVtbl->OnItemAdded(This,psi,fIsRoot); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnItemDeleted(INameSpaceTreeControlEvents* This,IShellItem *psi,BOOL fIsRoot) { + return This->lpVtbl->OnItemDeleted(This,psi,fIsRoot); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnBeforeContextMenu(INameSpaceTreeControlEvents* This,IShellItem *psi,REFIID riid,void **ppv) { + return This->lpVtbl->OnBeforeContextMenu(This,psi,riid,ppv); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnAfterContextMenu(INameSpaceTreeControlEvents* This,IShellItem *psi,IContextMenu *pcmIn,REFIID riid,void **ppv) { + return This->lpVtbl->OnAfterContextMenu(This,psi,pcmIn,riid,ppv); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnBeforeStateImageChange(INameSpaceTreeControlEvents* This,IShellItem *psi) { + return This->lpVtbl->OnBeforeStateImageChange(This,psi); +} +static FORCEINLINE HRESULT INameSpaceTreeControlEvents_OnGetDefaultIconIndex(INameSpaceTreeControlEvents* This,IShellItem *psi,int *piDefaultIcon,int *piOpenIcon) { + return This->lpVtbl->OnGetDefaultIconIndex(This,psi,piDefaultIcon,piOpenIcon); +} +#endif +#endif + +#endif + + +#endif /* __INameSpaceTreeControlEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INameSpaceTreeControlCustomDraw interface + */ +#ifndef __INameSpaceTreeControlCustomDraw_INTERFACE_DEFINED__ +#define __INameSpaceTreeControlCustomDraw_INTERFACE_DEFINED__ + +typedef struct NSTCCUSTOMDRAW { + IShellItem *psi; + UINT uItemState; + NSTCITEMSTATE nstcis; + LPCWSTR pszText; + int iImage; + HIMAGELIST himl; + int iLevel; + int iIndent; +} NSTCCUSTOMDRAW; +DEFINE_GUID(IID_INameSpaceTreeControlCustomDraw, 0x2d3ba758, 0x33ee, 0x42d5, 0xbb,0x7b, 0x5f,0x34,0x31,0xd8,0x6c,0x78); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2d3ba758-33ee-42d5-bb7b-5f3431d86c78") +INameSpaceTreeControlCustomDraw : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PrePaint( + HDC hdc, + RECT *prc, + LRESULT *plres) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostPaint( + HDC hdc, + RECT *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE ItemPrePaint( + HDC hdc, + RECT *prc, + COLORREF *pclrText, + COLORREF *pclrTextBk, + LRESULT *plres) = 0; + + virtual HRESULT STDMETHODCALLTYPE ItemPostPaint( + HDC hdc, + RECT *prc, + NSTCCUSTOMDRAW *pnstccdItem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INameSpaceTreeControlCustomDraw, 0x2d3ba758, 0x33ee, 0x42d5, 0xbb,0x7b, 0x5f,0x34,0x31,0xd8,0x6c,0x78) +#endif +#else +typedef struct INameSpaceTreeControlCustomDrawVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INameSpaceTreeControlCustomDraw *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INameSpaceTreeControlCustomDraw *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INameSpaceTreeControlCustomDraw *This); + + /*** INameSpaceTreeControlCustomDraw methods ***/ + HRESULT (STDMETHODCALLTYPE *PrePaint)( + INameSpaceTreeControlCustomDraw *This, + HDC hdc, + RECT *prc, + LRESULT *plres); + + HRESULT (STDMETHODCALLTYPE *PostPaint)( + INameSpaceTreeControlCustomDraw *This, + HDC hdc, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *ItemPrePaint)( + INameSpaceTreeControlCustomDraw *This, + HDC hdc, + RECT *prc, + COLORREF *pclrText, + COLORREF *pclrTextBk, + LRESULT *plres); + + HRESULT (STDMETHODCALLTYPE *ItemPostPaint)( + INameSpaceTreeControlCustomDraw *This, + HDC hdc, + RECT *prc, + NSTCCUSTOMDRAW *pnstccdItem); + + END_INTERFACE +} INameSpaceTreeControlCustomDrawVtbl; + +interface INameSpaceTreeControlCustomDraw { + CONST_VTBL INameSpaceTreeControlCustomDrawVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INameSpaceTreeControlCustomDraw_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INameSpaceTreeControlCustomDraw_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INameSpaceTreeControlCustomDraw_Release(This) (This)->lpVtbl->Release(This) +/*** INameSpaceTreeControlCustomDraw methods ***/ +#define INameSpaceTreeControlCustomDraw_PrePaint(This,hdc,prc,plres) (This)->lpVtbl->PrePaint(This,hdc,prc,plres) +#define INameSpaceTreeControlCustomDraw_PostPaint(This,hdc,prc) (This)->lpVtbl->PostPaint(This,hdc,prc) +#define INameSpaceTreeControlCustomDraw_ItemPrePaint(This,hdc,prc,pclrText,pclrTextBk,plres) (This)->lpVtbl->ItemPrePaint(This,hdc,prc,pclrText,pclrTextBk,plres) +#define INameSpaceTreeControlCustomDraw_ItemPostPaint(This,hdc,prc,pnstccdItem) (This)->lpVtbl->ItemPostPaint(This,hdc,prc,pnstccdItem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControlCustomDraw_QueryInterface(INameSpaceTreeControlCustomDraw* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INameSpaceTreeControlCustomDraw_AddRef(INameSpaceTreeControlCustomDraw* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INameSpaceTreeControlCustomDraw_Release(INameSpaceTreeControlCustomDraw* This) { + return This->lpVtbl->Release(This); +} +/*** INameSpaceTreeControlCustomDraw methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControlCustomDraw_PrePaint(INameSpaceTreeControlCustomDraw* This,HDC hdc,RECT *prc,LRESULT *plres) { + return This->lpVtbl->PrePaint(This,hdc,prc,plres); +} +static FORCEINLINE HRESULT INameSpaceTreeControlCustomDraw_PostPaint(INameSpaceTreeControlCustomDraw* This,HDC hdc,RECT *prc) { + return This->lpVtbl->PostPaint(This,hdc,prc); +} +static FORCEINLINE HRESULT INameSpaceTreeControlCustomDraw_ItemPrePaint(INameSpaceTreeControlCustomDraw* This,HDC hdc,RECT *prc,COLORREF *pclrText,COLORREF *pclrTextBk,LRESULT *plres) { + return This->lpVtbl->ItemPrePaint(This,hdc,prc,pclrText,pclrTextBk,plres); +} +static FORCEINLINE HRESULT INameSpaceTreeControlCustomDraw_ItemPostPaint(INameSpaceTreeControlCustomDraw* This,HDC hdc,RECT *prc,NSTCCUSTOMDRAW *pnstccdItem) { + return This->lpVtbl->ItemPostPaint(This,hdc,prc,pnstccdItem); +} +#endif +#endif + +#endif + + +#endif /* __INameSpaceTreeControlCustomDraw_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INameSpaceTreeControlDropHandler interface + */ +#ifndef __INameSpaceTreeControlDropHandler_INTERFACE_DEFINED__ +#define __INameSpaceTreeControlDropHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INameSpaceTreeControlDropHandler, 0xf9c665d6, 0xc2f2, 0x4c19, 0xbf,0x33, 0x83,0x22,0xd7,0x35,0x2f,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f9c665d6-c2f2-4c19-bf33-8322d7352f51") +INameSpaceTreeControlDropHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnDragEnter( + IShellItem *psiOver, + IShellItemArray *psiaData, + BOOL fOutsideSource, + DWORD grfKeyState, + DWORD *pdwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDragOver( + IShellItem *psiOver, + IShellItemArray *psiaData, + DWORD grfKeyState, + DWORD *pdwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDragPosition( + IShellItem *psiOver, + IShellItemArray *psiaData, + int iNewPosition, + int iOldPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDrop( + IShellItem *psiOver, + IShellItemArray *psiaData, + int iPosition, + DWORD grfKeyState, + DWORD *pdwEffect) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDropPosition( + IShellItem *psiOver, + IShellItemArray *psiaData, + int iNewPosition, + int iOldPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDragLeave( + IShellItem *psiOver) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INameSpaceTreeControlDropHandler, 0xf9c665d6, 0xc2f2, 0x4c19, 0xbf,0x33, 0x83,0x22,0xd7,0x35,0x2f,0x51) +#endif +#else +typedef struct INameSpaceTreeControlDropHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INameSpaceTreeControlDropHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INameSpaceTreeControlDropHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INameSpaceTreeControlDropHandler *This); + + /*** INameSpaceTreeControlDropHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDragEnter)( + INameSpaceTreeControlDropHandler *This, + IShellItem *psiOver, + IShellItemArray *psiaData, + BOOL fOutsideSource, + DWORD grfKeyState, + DWORD *pdwEffect); + + HRESULT (STDMETHODCALLTYPE *OnDragOver)( + INameSpaceTreeControlDropHandler *This, + IShellItem *psiOver, + IShellItemArray *psiaData, + DWORD grfKeyState, + DWORD *pdwEffect); + + HRESULT (STDMETHODCALLTYPE *OnDragPosition)( + INameSpaceTreeControlDropHandler *This, + IShellItem *psiOver, + IShellItemArray *psiaData, + int iNewPosition, + int iOldPosition); + + HRESULT (STDMETHODCALLTYPE *OnDrop)( + INameSpaceTreeControlDropHandler *This, + IShellItem *psiOver, + IShellItemArray *psiaData, + int iPosition, + DWORD grfKeyState, + DWORD *pdwEffect); + + HRESULT (STDMETHODCALLTYPE *OnDropPosition)( + INameSpaceTreeControlDropHandler *This, + IShellItem *psiOver, + IShellItemArray *psiaData, + int iNewPosition, + int iOldPosition); + + HRESULT (STDMETHODCALLTYPE *OnDragLeave)( + INameSpaceTreeControlDropHandler *This, + IShellItem *psiOver); + + END_INTERFACE +} INameSpaceTreeControlDropHandlerVtbl; + +interface INameSpaceTreeControlDropHandler { + CONST_VTBL INameSpaceTreeControlDropHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INameSpaceTreeControlDropHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INameSpaceTreeControlDropHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INameSpaceTreeControlDropHandler_Release(This) (This)->lpVtbl->Release(This) +/*** INameSpaceTreeControlDropHandler methods ***/ +#define INameSpaceTreeControlDropHandler_OnDragEnter(This,psiOver,psiaData,fOutsideSource,grfKeyState,pdwEffect) (This)->lpVtbl->OnDragEnter(This,psiOver,psiaData,fOutsideSource,grfKeyState,pdwEffect) +#define INameSpaceTreeControlDropHandler_OnDragOver(This,psiOver,psiaData,grfKeyState,pdwEffect) (This)->lpVtbl->OnDragOver(This,psiOver,psiaData,grfKeyState,pdwEffect) +#define INameSpaceTreeControlDropHandler_OnDragPosition(This,psiOver,psiaData,iNewPosition,iOldPosition) (This)->lpVtbl->OnDragPosition(This,psiOver,psiaData,iNewPosition,iOldPosition) +#define INameSpaceTreeControlDropHandler_OnDrop(This,psiOver,psiaData,iPosition,grfKeyState,pdwEffect) (This)->lpVtbl->OnDrop(This,psiOver,psiaData,iPosition,grfKeyState,pdwEffect) +#define INameSpaceTreeControlDropHandler_OnDropPosition(This,psiOver,psiaData,iNewPosition,iOldPosition) (This)->lpVtbl->OnDropPosition(This,psiOver,psiaData,iNewPosition,iOldPosition) +#define INameSpaceTreeControlDropHandler_OnDragLeave(This,psiOver) (This)->lpVtbl->OnDragLeave(This,psiOver) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_QueryInterface(INameSpaceTreeControlDropHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INameSpaceTreeControlDropHandler_AddRef(INameSpaceTreeControlDropHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INameSpaceTreeControlDropHandler_Release(INameSpaceTreeControlDropHandler* This) { + return This->lpVtbl->Release(This); +} +/*** INameSpaceTreeControlDropHandler methods ***/ +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_OnDragEnter(INameSpaceTreeControlDropHandler* This,IShellItem *psiOver,IShellItemArray *psiaData,BOOL fOutsideSource,DWORD grfKeyState,DWORD *pdwEffect) { + return This->lpVtbl->OnDragEnter(This,psiOver,psiaData,fOutsideSource,grfKeyState,pdwEffect); +} +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_OnDragOver(INameSpaceTreeControlDropHandler* This,IShellItem *psiOver,IShellItemArray *psiaData,DWORD grfKeyState,DWORD *pdwEffect) { + return This->lpVtbl->OnDragOver(This,psiOver,psiaData,grfKeyState,pdwEffect); +} +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_OnDragPosition(INameSpaceTreeControlDropHandler* This,IShellItem *psiOver,IShellItemArray *psiaData,int iNewPosition,int iOldPosition) { + return This->lpVtbl->OnDragPosition(This,psiOver,psiaData,iNewPosition,iOldPosition); +} +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_OnDrop(INameSpaceTreeControlDropHandler* This,IShellItem *psiOver,IShellItemArray *psiaData,int iPosition,DWORD grfKeyState,DWORD *pdwEffect) { + return This->lpVtbl->OnDrop(This,psiOver,psiaData,iPosition,grfKeyState,pdwEffect); +} +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_OnDropPosition(INameSpaceTreeControlDropHandler* This,IShellItem *psiOver,IShellItemArray *psiaData,int iNewPosition,int iOldPosition) { + return This->lpVtbl->OnDropPosition(This,psiOver,psiaData,iNewPosition,iOldPosition); +} +static FORCEINLINE HRESULT INameSpaceTreeControlDropHandler_OnDragLeave(INameSpaceTreeControlDropHandler* This,IShellItem *psiOver) { + return This->lpVtbl->OnDragLeave(This,psiOver); +} +#endif +#endif + +#endif + + +#endif /* __INameSpaceTreeControlDropHandler_INTERFACE_DEFINED__ */ + +#define NSTCDHPOS_ONTOP -1 +#ifndef __IFileDialog_FWD_DEFINED__ +#define __IFileDialog_FWD_DEFINED__ +typedef interface IFileDialog IFileDialog; +#ifdef __cplusplus +interface IFileDialog; +#endif /* __cplusplus */ +#endif + +typedef enum FDE_OVERWRITE_RESPONSE { + FDEOR_DEFAULT = 0, + FDEOR_ACCEPT = 1, + FDEOR_REFUSE = 2 +} FDE_OVERWRITE_RESPONSE; +typedef enum FDE_SHAREVIOLATION_RESPONSE { + FDESVR_DEFAULT = 0, + FDESVR_ACCEPT = 1, + FDESVR_REFUSE = 2 +} FDE_SHAREVIOLATION_RESPONSE; +/***************************************************************************** + * IFileDialogEvents interface + */ +#ifndef __IFileDialogEvents_INTERFACE_DEFINED__ +#define __IFileDialogEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileDialogEvents, 0x973510db, 0x7d7f, 0x452b, 0x89,0x75, 0x74,0xa8,0x58,0x28,0xd3,0x54); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("973510db-7d7f-452b-8975-74a85828d354") +IFileDialogEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnFileOk( + IFileDialog *pfd) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFolderChanging( + IFileDialog *pfd, + IShellItem *psiFolder) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnFolderChange( + IFileDialog *pfd) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSelectionChange( + IFileDialog *pfd) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnShareViolation( + IFileDialog *pfd, + IShellItem *psi, + FDE_SHAREVIOLATION_RESPONSE *pResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnTypeChange( + IFileDialog *pfd) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnOverwrite( + IFileDialog *pfd, + IShellItem *psi, + FDE_OVERWRITE_RESPONSE *pResponse) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileDialogEvents, 0x973510db, 0x7d7f, 0x452b, 0x89,0x75, 0x74,0xa8,0x58,0x28,0xd3,0x54) +#endif +#else +typedef struct IFileDialogEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileDialogEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileDialogEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileDialogEvents *This); + + /*** IFileDialogEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *OnFileOk)( + IFileDialogEvents *This, + IFileDialog *pfd); + + HRESULT (STDMETHODCALLTYPE *OnFolderChanging)( + IFileDialogEvents *This, + IFileDialog *pfd, + IShellItem *psiFolder); + + HRESULT (STDMETHODCALLTYPE *OnFolderChange)( + IFileDialogEvents *This, + IFileDialog *pfd); + + HRESULT (STDMETHODCALLTYPE *OnSelectionChange)( + IFileDialogEvents *This, + IFileDialog *pfd); + + HRESULT (STDMETHODCALLTYPE *OnShareViolation)( + IFileDialogEvents *This, + IFileDialog *pfd, + IShellItem *psi, + FDE_SHAREVIOLATION_RESPONSE *pResponse); + + HRESULT (STDMETHODCALLTYPE *OnTypeChange)( + IFileDialogEvents *This, + IFileDialog *pfd); + + HRESULT (STDMETHODCALLTYPE *OnOverwrite)( + IFileDialogEvents *This, + IFileDialog *pfd, + IShellItem *psi, + FDE_OVERWRITE_RESPONSE *pResponse); + + END_INTERFACE +} IFileDialogEventsVtbl; + +interface IFileDialogEvents { + CONST_VTBL IFileDialogEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileDialogEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileDialogEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileDialogEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IFileDialogEvents methods ***/ +#define IFileDialogEvents_OnFileOk(This,pfd) (This)->lpVtbl->OnFileOk(This,pfd) +#define IFileDialogEvents_OnFolderChanging(This,pfd,psiFolder) (This)->lpVtbl->OnFolderChanging(This,pfd,psiFolder) +#define IFileDialogEvents_OnFolderChange(This,pfd) (This)->lpVtbl->OnFolderChange(This,pfd) +#define IFileDialogEvents_OnSelectionChange(This,pfd) (This)->lpVtbl->OnSelectionChange(This,pfd) +#define IFileDialogEvents_OnShareViolation(This,pfd,psi,pResponse) (This)->lpVtbl->OnShareViolation(This,pfd,psi,pResponse) +#define IFileDialogEvents_OnTypeChange(This,pfd) (This)->lpVtbl->OnTypeChange(This,pfd) +#define IFileDialogEvents_OnOverwrite(This,pfd,psi,pResponse) (This)->lpVtbl->OnOverwrite(This,pfd,psi,pResponse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileDialogEvents_QueryInterface(IFileDialogEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileDialogEvents_AddRef(IFileDialogEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileDialogEvents_Release(IFileDialogEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IFileDialogEvents methods ***/ +static FORCEINLINE HRESULT IFileDialogEvents_OnFileOk(IFileDialogEvents* This,IFileDialog *pfd) { + return This->lpVtbl->OnFileOk(This,pfd); +} +static FORCEINLINE HRESULT IFileDialogEvents_OnFolderChanging(IFileDialogEvents* This,IFileDialog *pfd,IShellItem *psiFolder) { + return This->lpVtbl->OnFolderChanging(This,pfd,psiFolder); +} +static FORCEINLINE HRESULT IFileDialogEvents_OnFolderChange(IFileDialogEvents* This,IFileDialog *pfd) { + return This->lpVtbl->OnFolderChange(This,pfd); +} +static FORCEINLINE HRESULT IFileDialogEvents_OnSelectionChange(IFileDialogEvents* This,IFileDialog *pfd) { + return This->lpVtbl->OnSelectionChange(This,pfd); +} +static FORCEINLINE HRESULT IFileDialogEvents_OnShareViolation(IFileDialogEvents* This,IFileDialog *pfd,IShellItem *psi,FDE_SHAREVIOLATION_RESPONSE *pResponse) { + return This->lpVtbl->OnShareViolation(This,pfd,psi,pResponse); +} +static FORCEINLINE HRESULT IFileDialogEvents_OnTypeChange(IFileDialogEvents* This,IFileDialog *pfd) { + return This->lpVtbl->OnTypeChange(This,pfd); +} +static FORCEINLINE HRESULT IFileDialogEvents_OnOverwrite(IFileDialogEvents* This,IFileDialog *pfd,IShellItem *psi,FDE_OVERWRITE_RESPONSE *pResponse) { + return This->lpVtbl->OnOverwrite(This,pfd,psi,pResponse); +} +#endif +#endif + +#endif + + +#endif /* __IFileDialogEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IModalWindow interface + */ +#ifndef __IModalWindow_INTERFACE_DEFINED__ +#define __IModalWindow_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IModalWindow, 0xb4db1657, 0x70d7, 0x485e, 0x8e,0x3e, 0x6f,0xcb,0x5a,0x5c,0x18,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b4db1657-70d7-485e-8e3e-6fcb5a5c1802") +IModalWindow : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Show( + HWND hwndOwner) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IModalWindow, 0xb4db1657, 0x70d7, 0x485e, 0x8e,0x3e, 0x6f,0xcb,0x5a,0x5c,0x18,0x02) +#endif +#else +typedef struct IModalWindowVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IModalWindow *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IModalWindow *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IModalWindow *This); + + /*** IModalWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *Show)( + IModalWindow *This, + HWND hwndOwner); + + END_INTERFACE +} IModalWindowVtbl; + +interface IModalWindow { + CONST_VTBL IModalWindowVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IModalWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IModalWindow_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IModalWindow_Release(This) (This)->lpVtbl->Release(This) +/*** IModalWindow methods ***/ +#define IModalWindow_Show(This,hwndOwner) (This)->lpVtbl->Show(This,hwndOwner) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IModalWindow_QueryInterface(IModalWindow* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IModalWindow_AddRef(IModalWindow* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IModalWindow_Release(IModalWindow* This) { + return This->lpVtbl->Release(This); +} +/*** IModalWindow methods ***/ +static FORCEINLINE HRESULT IModalWindow_Show(IModalWindow* This,HWND hwndOwner) { + return This->lpVtbl->Show(This,hwndOwner); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IModalWindow_RemoteShow_Proxy( + IModalWindow* This, + HWND hwndOwner); +void __RPC_STUB IModalWindow_RemoteShow_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IModalWindow_Show_Proxy( + IModalWindow* This, + HWND hwndOwner); +HRESULT __RPC_STUB IModalWindow_Show_Stub( + IModalWindow* This, + HWND hwndOwner); + +#endif /* __IModalWindow_INTERFACE_DEFINED__ */ + +typedef enum FDAP { + FDAP_BOTTOM = 0, + FDAP_TOP = 1 +} FDAP; +/***************************************************************************** + * IFileDialog interface + */ +#ifndef __IFileDialog_INTERFACE_DEFINED__ +#define __IFileDialog_INTERFACE_DEFINED__ + +enum _FILEOPENDIALOGOPTIONS { + FOS_OVERWRITEPROMPT = 0x2, + FOS_STRICTFILETYPES = 0x4, + FOS_NOCHANGEDIR = 0x8, + FOS_PICKFOLDERS = 0x20, + FOS_FORCEFILESYSTEM = 0x40, + FOS_ALLNONSTORAGEITEMS = 0x80, + FOS_NOVALIDATE = 0x100, + FOS_ALLOWMULTISELECT = 0x200, + FOS_PATHMUSTEXIST = 0x800, + FOS_FILEMUSTEXIST = 0x1000, + FOS_CREATEPROMPT = 0x2000, + FOS_SHAREAWARE = 0x4000, + FOS_NOREADONLYRETURN = 0x8000, + FOS_NOTESTFILECREATE = 0x10000, + FOS_HIDEMRUPLACES = 0x20000, + FOS_HIDEPINNEDPLACES = 0x40000, + FOS_NODEREFERENCELINKS = 0x100000, + FOS_DONTADDTORECENT = 0x2000000, + FOS_FORCESHOWHIDDEN = 0x10000000, + FOS_DEFAULTNOMINIMODE = 0x20000000, + FOS_FORCEPREVIEWPANEON = 0x40000000, + FOS_SUPPORTSTREAMABLEITEMS = 0x80000000 +}; +typedef DWORD FILEOPENDIALOGOPTIONS; +DEFINE_GUID(IID_IFileDialog, 0x42f85136, 0xdb7e, 0x439c, 0x85,0xf1, 0xe4,0x07,0x5d,0x13,0x5f,0xc8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("42f85136-db7e-439c-85f1-e4075d135fc8") +IFileDialog : public IModalWindow +{ + virtual HRESULT STDMETHODCALLTYPE SetFileTypes( + UINT cFileTypes, + const COMDLG_FILTERSPEC *rgFilterSpec) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFileTypeIndex( + UINT iFileType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileTypeIndex( + UINT *piFileType) = 0; + + virtual HRESULT STDMETHODCALLTYPE Advise( + IFileDialogEvents *pfde, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOptions( + FILEOPENDIALOGOPTIONS fos) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOptions( + FILEOPENDIALOGOPTIONS *pfos) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultFolder( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFolder( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolder( + IShellItem **ppsi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentSelection( + IShellItem **ppsi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFileName( + LPCWSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileName( + LPWSTR *pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTitle( + LPCWSTR pszTitle) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOkButtonLabel( + LPCWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFileNameLabel( + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetResult( + IShellItem **ppsi) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddPlace( + IShellItem *psi, + FDAP fdap) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultExtension( + LPCWSTR pszDefaultExtension) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClientGuid( + REFGUID guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearClientData( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilter( + IShellItemFilter *pFilter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileDialog, 0x42f85136, 0xdb7e, 0x439c, 0x85,0xf1, 0xe4,0x07,0x5d,0x13,0x5f,0xc8) +#endif +#else +typedef struct IFileDialogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileDialog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileDialog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileDialog *This); + + /*** IModalWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *Show)( + IFileDialog *This, + HWND hwndOwner); + + /*** IFileDialog methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFileTypes)( + IFileDialog *This, + UINT cFileTypes, + const COMDLG_FILTERSPEC *rgFilterSpec); + + HRESULT (STDMETHODCALLTYPE *SetFileTypeIndex)( + IFileDialog *This, + UINT iFileType); + + HRESULT (STDMETHODCALLTYPE *GetFileTypeIndex)( + IFileDialog *This, + UINT *piFileType); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IFileDialog *This, + IFileDialogEvents *pfde, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IFileDialog *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *SetOptions)( + IFileDialog *This, + FILEOPENDIALOGOPTIONS fos); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + IFileDialog *This, + FILEOPENDIALOGOPTIONS *pfos); + + HRESULT (STDMETHODCALLTYPE *SetDefaultFolder)( + IFileDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetFolder)( + IFileDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IFileDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *GetCurrentSelection)( + IFileDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *SetFileName)( + IFileDialog *This, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetFileName)( + IFileDialog *This, + LPWSTR *pszName); + + HRESULT (STDMETHODCALLTYPE *SetTitle)( + IFileDialog *This, + LPCWSTR pszTitle); + + HRESULT (STDMETHODCALLTYPE *SetOkButtonLabel)( + IFileDialog *This, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *SetFileNameLabel)( + IFileDialog *This, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *GetResult)( + IFileDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *AddPlace)( + IFileDialog *This, + IShellItem *psi, + FDAP fdap); + + HRESULT (STDMETHODCALLTYPE *SetDefaultExtension)( + IFileDialog *This, + LPCWSTR pszDefaultExtension); + + HRESULT (STDMETHODCALLTYPE *Close)( + IFileDialog *This, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *SetClientGuid)( + IFileDialog *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *ClearClientData)( + IFileDialog *This); + + HRESULT (STDMETHODCALLTYPE *SetFilter)( + IFileDialog *This, + IShellItemFilter *pFilter); + + END_INTERFACE +} IFileDialogVtbl; + +interface IFileDialog { + CONST_VTBL IFileDialogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileDialog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileDialog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileDialog_Release(This) (This)->lpVtbl->Release(This) +/*** IModalWindow methods ***/ +#define IFileDialog_Show(This,hwndOwner) (This)->lpVtbl->Show(This,hwndOwner) +/*** IFileDialog methods ***/ +#define IFileDialog_SetFileTypes(This,cFileTypes,rgFilterSpec) (This)->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec) +#define IFileDialog_SetFileTypeIndex(This,iFileType) (This)->lpVtbl->SetFileTypeIndex(This,iFileType) +#define IFileDialog_GetFileTypeIndex(This,piFileType) (This)->lpVtbl->GetFileTypeIndex(This,piFileType) +#define IFileDialog_Advise(This,pfde,pdwCookie) (This)->lpVtbl->Advise(This,pfde,pdwCookie) +#define IFileDialog_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define IFileDialog_SetOptions(This,fos) (This)->lpVtbl->SetOptions(This,fos) +#define IFileDialog_GetOptions(This,pfos) (This)->lpVtbl->GetOptions(This,pfos) +#define IFileDialog_SetDefaultFolder(This,psi) (This)->lpVtbl->SetDefaultFolder(This,psi) +#define IFileDialog_SetFolder(This,psi) (This)->lpVtbl->SetFolder(This,psi) +#define IFileDialog_GetFolder(This,ppsi) (This)->lpVtbl->GetFolder(This,ppsi) +#define IFileDialog_GetCurrentSelection(This,ppsi) (This)->lpVtbl->GetCurrentSelection(This,ppsi) +#define IFileDialog_SetFileName(This,pszName) (This)->lpVtbl->SetFileName(This,pszName) +#define IFileDialog_GetFileName(This,pszName) (This)->lpVtbl->GetFileName(This,pszName) +#define IFileDialog_SetTitle(This,pszTitle) (This)->lpVtbl->SetTitle(This,pszTitle) +#define IFileDialog_SetOkButtonLabel(This,pszText) (This)->lpVtbl->SetOkButtonLabel(This,pszText) +#define IFileDialog_SetFileNameLabel(This,pszLabel) (This)->lpVtbl->SetFileNameLabel(This,pszLabel) +#define IFileDialog_GetResult(This,ppsi) (This)->lpVtbl->GetResult(This,ppsi) +#define IFileDialog_AddPlace(This,psi,fdap) (This)->lpVtbl->AddPlace(This,psi,fdap) +#define IFileDialog_SetDefaultExtension(This,pszDefaultExtension) (This)->lpVtbl->SetDefaultExtension(This,pszDefaultExtension) +#define IFileDialog_Close(This,hr) (This)->lpVtbl->Close(This,hr) +#define IFileDialog_SetClientGuid(This,guid) (This)->lpVtbl->SetClientGuid(This,guid) +#define IFileDialog_ClearClientData(This) (This)->lpVtbl->ClearClientData(This) +#define IFileDialog_SetFilter(This,pFilter) (This)->lpVtbl->SetFilter(This,pFilter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileDialog_QueryInterface(IFileDialog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileDialog_AddRef(IFileDialog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileDialog_Release(IFileDialog* This) { + return This->lpVtbl->Release(This); +} +/*** IModalWindow methods ***/ +static FORCEINLINE HRESULT IFileDialog_Show(IFileDialog* This,HWND hwndOwner) { + return This->lpVtbl->Show(This,hwndOwner); +} +/*** IFileDialog methods ***/ +static FORCEINLINE HRESULT IFileDialog_SetFileTypes(IFileDialog* This,UINT cFileTypes,const COMDLG_FILTERSPEC *rgFilterSpec) { + return This->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec); +} +static FORCEINLINE HRESULT IFileDialog_SetFileTypeIndex(IFileDialog* This,UINT iFileType) { + return This->lpVtbl->SetFileTypeIndex(This,iFileType); +} +static FORCEINLINE HRESULT IFileDialog_GetFileTypeIndex(IFileDialog* This,UINT *piFileType) { + return This->lpVtbl->GetFileTypeIndex(This,piFileType); +} +static FORCEINLINE HRESULT IFileDialog_Advise(IFileDialog* This,IFileDialogEvents *pfde,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,pfde,pdwCookie); +} +static FORCEINLINE HRESULT IFileDialog_Unadvise(IFileDialog* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT IFileDialog_SetOptions(IFileDialog* This,FILEOPENDIALOGOPTIONS fos) { + return This->lpVtbl->SetOptions(This,fos); +} +static FORCEINLINE HRESULT IFileDialog_GetOptions(IFileDialog* This,FILEOPENDIALOGOPTIONS *pfos) { + return This->lpVtbl->GetOptions(This,pfos); +} +static FORCEINLINE HRESULT IFileDialog_SetDefaultFolder(IFileDialog* This,IShellItem *psi) { + return This->lpVtbl->SetDefaultFolder(This,psi); +} +static FORCEINLINE HRESULT IFileDialog_SetFolder(IFileDialog* This,IShellItem *psi) { + return This->lpVtbl->SetFolder(This,psi); +} +static FORCEINLINE HRESULT IFileDialog_GetFolder(IFileDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetFolder(This,ppsi); +} +static FORCEINLINE HRESULT IFileDialog_GetCurrentSelection(IFileDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetCurrentSelection(This,ppsi); +} +static FORCEINLINE HRESULT IFileDialog_SetFileName(IFileDialog* This,LPCWSTR pszName) { + return This->lpVtbl->SetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileDialog_GetFileName(IFileDialog* This,LPWSTR *pszName) { + return This->lpVtbl->GetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileDialog_SetTitle(IFileDialog* This,LPCWSTR pszTitle) { + return This->lpVtbl->SetTitle(This,pszTitle); +} +static FORCEINLINE HRESULT IFileDialog_SetOkButtonLabel(IFileDialog* This,LPCWSTR pszText) { + return This->lpVtbl->SetOkButtonLabel(This,pszText); +} +static FORCEINLINE HRESULT IFileDialog_SetFileNameLabel(IFileDialog* This,LPCWSTR pszLabel) { + return This->lpVtbl->SetFileNameLabel(This,pszLabel); +} +static FORCEINLINE HRESULT IFileDialog_GetResult(IFileDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetResult(This,ppsi); +} +static FORCEINLINE HRESULT IFileDialog_AddPlace(IFileDialog* This,IShellItem *psi,FDAP fdap) { + return This->lpVtbl->AddPlace(This,psi,fdap); +} +static FORCEINLINE HRESULT IFileDialog_SetDefaultExtension(IFileDialog* This,LPCWSTR pszDefaultExtension) { + return This->lpVtbl->SetDefaultExtension(This,pszDefaultExtension); +} +static FORCEINLINE HRESULT IFileDialog_Close(IFileDialog* This,HRESULT hr) { + return This->lpVtbl->Close(This,hr); +} +static FORCEINLINE HRESULT IFileDialog_SetClientGuid(IFileDialog* This,REFGUID guid) { + return This->lpVtbl->SetClientGuid(This,guid); +} +static FORCEINLINE HRESULT IFileDialog_ClearClientData(IFileDialog* This) { + return This->lpVtbl->ClearClientData(This); +} +static FORCEINLINE HRESULT IFileDialog_SetFilter(IFileDialog* This,IShellItemFilter *pFilter) { + return This->lpVtbl->SetFilter(This,pFilter); +} +#endif +#endif + +#endif + + +#endif /* __IFileDialog_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFileDialog2 interface + */ +#ifndef __IFileDialog2_INTERFACE_DEFINED__ +#define __IFileDialog2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileDialog2, 0x61744fc7, 0x85b5, 0x4791, 0xa9,0xb0, 0x27,0x22,0x76,0x30,0x9b,0x13); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("61744fc7-85b5-4791-a9b0-272276309b13") +IFileDialog2 : public IFileDialog +{ + virtual HRESULT STDMETHODCALLTYPE SetCancelButtonLabel( + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNavigationRoot( + IShellItem *psi) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileDialog2, 0x61744fc7, 0x85b5, 0x4791, 0xa9,0xb0, 0x27,0x22,0x76,0x30,0x9b,0x13) +#endif +#else +typedef struct IFileDialog2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileDialog2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileDialog2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileDialog2 *This); + + /*** IModalWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *Show)( + IFileDialog2 *This, + HWND hwndOwner); + + /*** IFileDialog methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFileTypes)( + IFileDialog2 *This, + UINT cFileTypes, + const COMDLG_FILTERSPEC *rgFilterSpec); + + HRESULT (STDMETHODCALLTYPE *SetFileTypeIndex)( + IFileDialog2 *This, + UINT iFileType); + + HRESULT (STDMETHODCALLTYPE *GetFileTypeIndex)( + IFileDialog2 *This, + UINT *piFileType); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IFileDialog2 *This, + IFileDialogEvents *pfde, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IFileDialog2 *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *SetOptions)( + IFileDialog2 *This, + FILEOPENDIALOGOPTIONS fos); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + IFileDialog2 *This, + FILEOPENDIALOGOPTIONS *pfos); + + HRESULT (STDMETHODCALLTYPE *SetDefaultFolder)( + IFileDialog2 *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetFolder)( + IFileDialog2 *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IFileDialog2 *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *GetCurrentSelection)( + IFileDialog2 *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *SetFileName)( + IFileDialog2 *This, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetFileName)( + IFileDialog2 *This, + LPWSTR *pszName); + + HRESULT (STDMETHODCALLTYPE *SetTitle)( + IFileDialog2 *This, + LPCWSTR pszTitle); + + HRESULT (STDMETHODCALLTYPE *SetOkButtonLabel)( + IFileDialog2 *This, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *SetFileNameLabel)( + IFileDialog2 *This, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *GetResult)( + IFileDialog2 *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *AddPlace)( + IFileDialog2 *This, + IShellItem *psi, + FDAP fdap); + + HRESULT (STDMETHODCALLTYPE *SetDefaultExtension)( + IFileDialog2 *This, + LPCWSTR pszDefaultExtension); + + HRESULT (STDMETHODCALLTYPE *Close)( + IFileDialog2 *This, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *SetClientGuid)( + IFileDialog2 *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *ClearClientData)( + IFileDialog2 *This); + + HRESULT (STDMETHODCALLTYPE *SetFilter)( + IFileDialog2 *This, + IShellItemFilter *pFilter); + + /*** IFileDialog2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetCancelButtonLabel)( + IFileDialog2 *This, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *SetNavigationRoot)( + IFileDialog2 *This, + IShellItem *psi); + + END_INTERFACE +} IFileDialog2Vtbl; + +interface IFileDialog2 { + CONST_VTBL IFileDialog2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileDialog2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileDialog2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileDialog2_Release(This) (This)->lpVtbl->Release(This) +/*** IModalWindow methods ***/ +#define IFileDialog2_Show(This,hwndOwner) (This)->lpVtbl->Show(This,hwndOwner) +/*** IFileDialog methods ***/ +#define IFileDialog2_SetFileTypes(This,cFileTypes,rgFilterSpec) (This)->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec) +#define IFileDialog2_SetFileTypeIndex(This,iFileType) (This)->lpVtbl->SetFileTypeIndex(This,iFileType) +#define IFileDialog2_GetFileTypeIndex(This,piFileType) (This)->lpVtbl->GetFileTypeIndex(This,piFileType) +#define IFileDialog2_Advise(This,pfde,pdwCookie) (This)->lpVtbl->Advise(This,pfde,pdwCookie) +#define IFileDialog2_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define IFileDialog2_SetOptions(This,fos) (This)->lpVtbl->SetOptions(This,fos) +#define IFileDialog2_GetOptions(This,pfos) (This)->lpVtbl->GetOptions(This,pfos) +#define IFileDialog2_SetDefaultFolder(This,psi) (This)->lpVtbl->SetDefaultFolder(This,psi) +#define IFileDialog2_SetFolder(This,psi) (This)->lpVtbl->SetFolder(This,psi) +#define IFileDialog2_GetFolder(This,ppsi) (This)->lpVtbl->GetFolder(This,ppsi) +#define IFileDialog2_GetCurrentSelection(This,ppsi) (This)->lpVtbl->GetCurrentSelection(This,ppsi) +#define IFileDialog2_SetFileName(This,pszName) (This)->lpVtbl->SetFileName(This,pszName) +#define IFileDialog2_GetFileName(This,pszName) (This)->lpVtbl->GetFileName(This,pszName) +#define IFileDialog2_SetTitle(This,pszTitle) (This)->lpVtbl->SetTitle(This,pszTitle) +#define IFileDialog2_SetOkButtonLabel(This,pszText) (This)->lpVtbl->SetOkButtonLabel(This,pszText) +#define IFileDialog2_SetFileNameLabel(This,pszLabel) (This)->lpVtbl->SetFileNameLabel(This,pszLabel) +#define IFileDialog2_GetResult(This,ppsi) (This)->lpVtbl->GetResult(This,ppsi) +#define IFileDialog2_AddPlace(This,psi,fdap) (This)->lpVtbl->AddPlace(This,psi,fdap) +#define IFileDialog2_SetDefaultExtension(This,pszDefaultExtension) (This)->lpVtbl->SetDefaultExtension(This,pszDefaultExtension) +#define IFileDialog2_Close(This,hr) (This)->lpVtbl->Close(This,hr) +#define IFileDialog2_SetClientGuid(This,guid) (This)->lpVtbl->SetClientGuid(This,guid) +#define IFileDialog2_ClearClientData(This) (This)->lpVtbl->ClearClientData(This) +#define IFileDialog2_SetFilter(This,pFilter) (This)->lpVtbl->SetFilter(This,pFilter) +/*** IFileDialog2 methods ***/ +#define IFileDialog2_SetCancelButtonLabel(This,pszLabel) (This)->lpVtbl->SetCancelButtonLabel(This,pszLabel) +#define IFileDialog2_SetNavigationRoot(This,psi) (This)->lpVtbl->SetNavigationRoot(This,psi) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileDialog2_QueryInterface(IFileDialog2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileDialog2_AddRef(IFileDialog2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileDialog2_Release(IFileDialog2* This) { + return This->lpVtbl->Release(This); +} +/*** IModalWindow methods ***/ +static FORCEINLINE HRESULT IFileDialog2_Show(IFileDialog2* This,HWND hwndOwner) { + return This->lpVtbl->Show(This,hwndOwner); +} +/*** IFileDialog methods ***/ +static FORCEINLINE HRESULT IFileDialog2_SetFileTypes(IFileDialog2* This,UINT cFileTypes,const COMDLG_FILTERSPEC *rgFilterSpec) { + return This->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec); +} +static FORCEINLINE HRESULT IFileDialog2_SetFileTypeIndex(IFileDialog2* This,UINT iFileType) { + return This->lpVtbl->SetFileTypeIndex(This,iFileType); +} +static FORCEINLINE HRESULT IFileDialog2_GetFileTypeIndex(IFileDialog2* This,UINT *piFileType) { + return This->lpVtbl->GetFileTypeIndex(This,piFileType); +} +static FORCEINLINE HRESULT IFileDialog2_Advise(IFileDialog2* This,IFileDialogEvents *pfde,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,pfde,pdwCookie); +} +static FORCEINLINE HRESULT IFileDialog2_Unadvise(IFileDialog2* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT IFileDialog2_SetOptions(IFileDialog2* This,FILEOPENDIALOGOPTIONS fos) { + return This->lpVtbl->SetOptions(This,fos); +} +static FORCEINLINE HRESULT IFileDialog2_GetOptions(IFileDialog2* This,FILEOPENDIALOGOPTIONS *pfos) { + return This->lpVtbl->GetOptions(This,pfos); +} +static FORCEINLINE HRESULT IFileDialog2_SetDefaultFolder(IFileDialog2* This,IShellItem *psi) { + return This->lpVtbl->SetDefaultFolder(This,psi); +} +static FORCEINLINE HRESULT IFileDialog2_SetFolder(IFileDialog2* This,IShellItem *psi) { + return This->lpVtbl->SetFolder(This,psi); +} +static FORCEINLINE HRESULT IFileDialog2_GetFolder(IFileDialog2* This,IShellItem **ppsi) { + return This->lpVtbl->GetFolder(This,ppsi); +} +static FORCEINLINE HRESULT IFileDialog2_GetCurrentSelection(IFileDialog2* This,IShellItem **ppsi) { + return This->lpVtbl->GetCurrentSelection(This,ppsi); +} +static FORCEINLINE HRESULT IFileDialog2_SetFileName(IFileDialog2* This,LPCWSTR pszName) { + return This->lpVtbl->SetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileDialog2_GetFileName(IFileDialog2* This,LPWSTR *pszName) { + return This->lpVtbl->GetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileDialog2_SetTitle(IFileDialog2* This,LPCWSTR pszTitle) { + return This->lpVtbl->SetTitle(This,pszTitle); +} +static FORCEINLINE HRESULT IFileDialog2_SetOkButtonLabel(IFileDialog2* This,LPCWSTR pszText) { + return This->lpVtbl->SetOkButtonLabel(This,pszText); +} +static FORCEINLINE HRESULT IFileDialog2_SetFileNameLabel(IFileDialog2* This,LPCWSTR pszLabel) { + return This->lpVtbl->SetFileNameLabel(This,pszLabel); +} +static FORCEINLINE HRESULT IFileDialog2_GetResult(IFileDialog2* This,IShellItem **ppsi) { + return This->lpVtbl->GetResult(This,ppsi); +} +static FORCEINLINE HRESULT IFileDialog2_AddPlace(IFileDialog2* This,IShellItem *psi,FDAP fdap) { + return This->lpVtbl->AddPlace(This,psi,fdap); +} +static FORCEINLINE HRESULT IFileDialog2_SetDefaultExtension(IFileDialog2* This,LPCWSTR pszDefaultExtension) { + return This->lpVtbl->SetDefaultExtension(This,pszDefaultExtension); +} +static FORCEINLINE HRESULT IFileDialog2_Close(IFileDialog2* This,HRESULT hr) { + return This->lpVtbl->Close(This,hr); +} +static FORCEINLINE HRESULT IFileDialog2_SetClientGuid(IFileDialog2* This,REFGUID guid) { + return This->lpVtbl->SetClientGuid(This,guid); +} +static FORCEINLINE HRESULT IFileDialog2_ClearClientData(IFileDialog2* This) { + return This->lpVtbl->ClearClientData(This); +} +static FORCEINLINE HRESULT IFileDialog2_SetFilter(IFileDialog2* This,IShellItemFilter *pFilter) { + return This->lpVtbl->SetFilter(This,pFilter); +} +/*** IFileDialog2 methods ***/ +static FORCEINLINE HRESULT IFileDialog2_SetCancelButtonLabel(IFileDialog2* This,LPCWSTR pszLabel) { + return This->lpVtbl->SetCancelButtonLabel(This,pszLabel); +} +static FORCEINLINE HRESULT IFileDialog2_SetNavigationRoot(IFileDialog2* This,IShellItem *psi) { + return This->lpVtbl->SetNavigationRoot(This,psi); +} +#endif +#endif + +#endif + + +#endif /* __IFileDialog2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFileOperationProgressSink interface + */ +#ifndef __IFileOperationProgressSink_INTERFACE_DEFINED__ +#define __IFileOperationProgressSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileOperationProgressSink, 0x04b0f1a7, 0x9490, 0x44bc, 0x96,0xe1, 0x42,0x96,0xa3,0x12,0x52,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("04b0f1a7-9490-44bc-96e1-4296a31252e2") +IFileOperationProgressSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartOperations( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE FinishOperations( + HRESULT hrResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreRenameItem( + DWORD dwFlags, + IShellItem *psiItem, + LPCWSTR pszNewName) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostRenameItem( + DWORD dwFlags, + IShellItem *psiItem, + LPCWSTR pszNewName, + HRESULT hrRename, + IShellItem *psiNewlyCreated) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreMoveItem( + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostMoveItem( + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName, + HRESULT hrMove, + IShellItem *psiNewlyCreated) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreCopyItem( + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostCopyItem( + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName, + HRESULT hrCopy, + IShellItem *psiNewlyCreated) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreDeleteItem( + DWORD dwFlags, + IShellItem *psiItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostDeleteItem( + DWORD dwFlags, + IShellItem *psiItem, + HRESULT hrDelete, + IShellItem *psiNewlyCreated) = 0; + + virtual HRESULT STDMETHODCALLTYPE PreNewItem( + DWORD dwFlags, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName) = 0; + + virtual HRESULT STDMETHODCALLTYPE PostNewItem( + DWORD dwFlags, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName, + LPCWSTR pszTemplateName, + DWORD dwFileAttributes, + HRESULT hrNew, + IShellItem *psiNewItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateProgress( + UINT iWorkTotal, + UINT iWorkSoFar) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetTimer( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE PauseTimer( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResumeTimer( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileOperationProgressSink, 0x04b0f1a7, 0x9490, 0x44bc, 0x96,0xe1, 0x42,0x96,0xa3,0x12,0x52,0xe2) +#endif +#else +typedef struct IFileOperationProgressSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileOperationProgressSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileOperationProgressSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileOperationProgressSink *This); + + /*** IFileOperationProgressSink methods ***/ + HRESULT (STDMETHODCALLTYPE *StartOperations)( + IFileOperationProgressSink *This); + + HRESULT (STDMETHODCALLTYPE *FinishOperations)( + IFileOperationProgressSink *This, + HRESULT hrResult); + + HRESULT (STDMETHODCALLTYPE *PreRenameItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + LPCWSTR pszNewName); + + HRESULT (STDMETHODCALLTYPE *PostRenameItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + LPCWSTR pszNewName, + HRESULT hrRename, + IShellItem *psiNewlyCreated); + + HRESULT (STDMETHODCALLTYPE *PreMoveItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName); + + HRESULT (STDMETHODCALLTYPE *PostMoveItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName, + HRESULT hrMove, + IShellItem *psiNewlyCreated); + + HRESULT (STDMETHODCALLTYPE *PreCopyItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName); + + HRESULT (STDMETHODCALLTYPE *PostCopyItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName, + HRESULT hrCopy, + IShellItem *psiNewlyCreated); + + HRESULT (STDMETHODCALLTYPE *PreDeleteItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem); + + HRESULT (STDMETHODCALLTYPE *PostDeleteItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiItem, + HRESULT hrDelete, + IShellItem *psiNewlyCreated); + + HRESULT (STDMETHODCALLTYPE *PreNewItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName); + + HRESULT (STDMETHODCALLTYPE *PostNewItem)( + IFileOperationProgressSink *This, + DWORD dwFlags, + IShellItem *psiDestinationFolder, + LPCWSTR pszNewName, + LPCWSTR pszTemplateName, + DWORD dwFileAttributes, + HRESULT hrNew, + IShellItem *psiNewItem); + + HRESULT (STDMETHODCALLTYPE *UpdateProgress)( + IFileOperationProgressSink *This, + UINT iWorkTotal, + UINT iWorkSoFar); + + HRESULT (STDMETHODCALLTYPE *ResetTimer)( + IFileOperationProgressSink *This); + + HRESULT (STDMETHODCALLTYPE *PauseTimer)( + IFileOperationProgressSink *This); + + HRESULT (STDMETHODCALLTYPE *ResumeTimer)( + IFileOperationProgressSink *This); + + END_INTERFACE +} IFileOperationProgressSinkVtbl; + +interface IFileOperationProgressSink { + CONST_VTBL IFileOperationProgressSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileOperationProgressSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileOperationProgressSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileOperationProgressSink_Release(This) (This)->lpVtbl->Release(This) +/*** IFileOperationProgressSink methods ***/ +#define IFileOperationProgressSink_StartOperations(This) (This)->lpVtbl->StartOperations(This) +#define IFileOperationProgressSink_FinishOperations(This,hrResult) (This)->lpVtbl->FinishOperations(This,hrResult) +#define IFileOperationProgressSink_PreRenameItem(This,dwFlags,psiItem,pszNewName) (This)->lpVtbl->PreRenameItem(This,dwFlags,psiItem,pszNewName) +#define IFileOperationProgressSink_PostRenameItem(This,dwFlags,psiItem,pszNewName,hrRename,psiNewlyCreated) (This)->lpVtbl->PostRenameItem(This,dwFlags,psiItem,pszNewName,hrRename,psiNewlyCreated) +#define IFileOperationProgressSink_PreMoveItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName) (This)->lpVtbl->PreMoveItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName) +#define IFileOperationProgressSink_PostMoveItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName,hrMove,psiNewlyCreated) (This)->lpVtbl->PostMoveItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName,hrMove,psiNewlyCreated) +#define IFileOperationProgressSink_PreCopyItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName) (This)->lpVtbl->PreCopyItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName) +#define IFileOperationProgressSink_PostCopyItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName,hrCopy,psiNewlyCreated) (This)->lpVtbl->PostCopyItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName,hrCopy,psiNewlyCreated) +#define IFileOperationProgressSink_PreDeleteItem(This,dwFlags,psiItem) (This)->lpVtbl->PreDeleteItem(This,dwFlags,psiItem) +#define IFileOperationProgressSink_PostDeleteItem(This,dwFlags,psiItem,hrDelete,psiNewlyCreated) (This)->lpVtbl->PostDeleteItem(This,dwFlags,psiItem,hrDelete,psiNewlyCreated) +#define IFileOperationProgressSink_PreNewItem(This,dwFlags,psiDestinationFolder,pszNewName) (This)->lpVtbl->PreNewItem(This,dwFlags,psiDestinationFolder,pszNewName) +#define IFileOperationProgressSink_PostNewItem(This,dwFlags,psiDestinationFolder,pszNewName,pszTemplateName,dwFileAttributes,hrNew,psiNewItem) (This)->lpVtbl->PostNewItem(This,dwFlags,psiDestinationFolder,pszNewName,pszTemplateName,dwFileAttributes,hrNew,psiNewItem) +#define IFileOperationProgressSink_UpdateProgress(This,iWorkTotal,iWorkSoFar) (This)->lpVtbl->UpdateProgress(This,iWorkTotal,iWorkSoFar) +#define IFileOperationProgressSink_ResetTimer(This) (This)->lpVtbl->ResetTimer(This) +#define IFileOperationProgressSink_PauseTimer(This) (This)->lpVtbl->PauseTimer(This) +#define IFileOperationProgressSink_ResumeTimer(This) (This)->lpVtbl->ResumeTimer(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileOperationProgressSink_QueryInterface(IFileOperationProgressSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileOperationProgressSink_AddRef(IFileOperationProgressSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileOperationProgressSink_Release(IFileOperationProgressSink* This) { + return This->lpVtbl->Release(This); +} +/*** IFileOperationProgressSink methods ***/ +static FORCEINLINE HRESULT IFileOperationProgressSink_StartOperations(IFileOperationProgressSink* This) { + return This->lpVtbl->StartOperations(This); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_FinishOperations(IFileOperationProgressSink* This,HRESULT hrResult) { + return This->lpVtbl->FinishOperations(This,hrResult); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PreRenameItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,LPCWSTR pszNewName) { + return This->lpVtbl->PreRenameItem(This,dwFlags,psiItem,pszNewName); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PostRenameItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,LPCWSTR pszNewName,HRESULT hrRename,IShellItem *psiNewlyCreated) { + return This->lpVtbl->PostRenameItem(This,dwFlags,psiItem,pszNewName,hrRename,psiNewlyCreated); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PreMoveItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,IShellItem *psiDestinationFolder,LPCWSTR pszNewName) { + return This->lpVtbl->PreMoveItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PostMoveItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,IShellItem *psiDestinationFolder,LPCWSTR pszNewName,HRESULT hrMove,IShellItem *psiNewlyCreated) { + return This->lpVtbl->PostMoveItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName,hrMove,psiNewlyCreated); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PreCopyItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,IShellItem *psiDestinationFolder,LPCWSTR pszNewName) { + return This->lpVtbl->PreCopyItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PostCopyItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,IShellItem *psiDestinationFolder,LPCWSTR pszNewName,HRESULT hrCopy,IShellItem *psiNewlyCreated) { + return This->lpVtbl->PostCopyItem(This,dwFlags,psiItem,psiDestinationFolder,pszNewName,hrCopy,psiNewlyCreated); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PreDeleteItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem) { + return This->lpVtbl->PreDeleteItem(This,dwFlags,psiItem); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PostDeleteItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiItem,HRESULT hrDelete,IShellItem *psiNewlyCreated) { + return This->lpVtbl->PostDeleteItem(This,dwFlags,psiItem,hrDelete,psiNewlyCreated); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PreNewItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiDestinationFolder,LPCWSTR pszNewName) { + return This->lpVtbl->PreNewItem(This,dwFlags,psiDestinationFolder,pszNewName); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PostNewItem(IFileOperationProgressSink* This,DWORD dwFlags,IShellItem *psiDestinationFolder,LPCWSTR pszNewName,LPCWSTR pszTemplateName,DWORD dwFileAttributes,HRESULT hrNew,IShellItem *psiNewItem) { + return This->lpVtbl->PostNewItem(This,dwFlags,psiDestinationFolder,pszNewName,pszTemplateName,dwFileAttributes,hrNew,psiNewItem); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_UpdateProgress(IFileOperationProgressSink* This,UINT iWorkTotal,UINT iWorkSoFar) { + return This->lpVtbl->UpdateProgress(This,iWorkTotal,iWorkSoFar); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_ResetTimer(IFileOperationProgressSink* This) { + return This->lpVtbl->ResetTimer(This); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_PauseTimer(IFileOperationProgressSink* This) { + return This->lpVtbl->PauseTimer(This); +} +static FORCEINLINE HRESULT IFileOperationProgressSink_ResumeTimer(IFileOperationProgressSink* This) { + return This->lpVtbl->ResumeTimer(This); +} +#endif +#endif + +#endif + + +#endif /* __IFileOperationProgressSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFileSaveDialog interface + */ +#ifndef __IFileSaveDialog_INTERFACE_DEFINED__ +#define __IFileSaveDialog_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileSaveDialog, 0x84bccd23, 0x5fde, 0x4cdb, 0xae,0xa4, 0xaf,0x64,0xb8,0x3d,0x78,0xab); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("84bccd23-5fde-4cdb-aea4-af64b83d78ab") +IFileSaveDialog : public IFileDialog +{ + virtual HRESULT STDMETHODCALLTYPE SetSaveAsItem( + IShellItem *psi) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperties( + IPropertyStore *pStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCollectedProperties( + IPropertyDescriptionList *pList, + BOOL fAppendDefault) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperties( + IPropertyStore **ppStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE ApplyProperties( + IShellItem *psi, + IPropertyStore *pStore, + HWND hwnd, + IFileOperationProgressSink *pSink) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileSaveDialog, 0x84bccd23, 0x5fde, 0x4cdb, 0xae,0xa4, 0xaf,0x64,0xb8,0x3d,0x78,0xab) +#endif +#else +typedef struct IFileSaveDialogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileSaveDialog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileSaveDialog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileSaveDialog *This); + + /*** IModalWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *Show)( + IFileSaveDialog *This, + HWND hwndOwner); + + /*** IFileDialog methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFileTypes)( + IFileSaveDialog *This, + UINT cFileTypes, + const COMDLG_FILTERSPEC *rgFilterSpec); + + HRESULT (STDMETHODCALLTYPE *SetFileTypeIndex)( + IFileSaveDialog *This, + UINT iFileType); + + HRESULT (STDMETHODCALLTYPE *GetFileTypeIndex)( + IFileSaveDialog *This, + UINT *piFileType); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IFileSaveDialog *This, + IFileDialogEvents *pfde, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IFileSaveDialog *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *SetOptions)( + IFileSaveDialog *This, + FILEOPENDIALOGOPTIONS fos); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + IFileSaveDialog *This, + FILEOPENDIALOGOPTIONS *pfos); + + HRESULT (STDMETHODCALLTYPE *SetDefaultFolder)( + IFileSaveDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetFolder)( + IFileSaveDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IFileSaveDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *GetCurrentSelection)( + IFileSaveDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *SetFileName)( + IFileSaveDialog *This, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetFileName)( + IFileSaveDialog *This, + LPWSTR *pszName); + + HRESULT (STDMETHODCALLTYPE *SetTitle)( + IFileSaveDialog *This, + LPCWSTR pszTitle); + + HRESULT (STDMETHODCALLTYPE *SetOkButtonLabel)( + IFileSaveDialog *This, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *SetFileNameLabel)( + IFileSaveDialog *This, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *GetResult)( + IFileSaveDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *AddPlace)( + IFileSaveDialog *This, + IShellItem *psi, + FDAP fdap); + + HRESULT (STDMETHODCALLTYPE *SetDefaultExtension)( + IFileSaveDialog *This, + LPCWSTR pszDefaultExtension); + + HRESULT (STDMETHODCALLTYPE *Close)( + IFileSaveDialog *This, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *SetClientGuid)( + IFileSaveDialog *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *ClearClientData)( + IFileSaveDialog *This); + + HRESULT (STDMETHODCALLTYPE *SetFilter)( + IFileSaveDialog *This, + IShellItemFilter *pFilter); + + /*** IFileSaveDialog methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSaveAsItem)( + IFileSaveDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetProperties)( + IFileSaveDialog *This, + IPropertyStore *pStore); + + HRESULT (STDMETHODCALLTYPE *SetCollectedProperties)( + IFileSaveDialog *This, + IPropertyDescriptionList *pList, + BOOL fAppendDefault); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IFileSaveDialog *This, + IPropertyStore **ppStore); + + HRESULT (STDMETHODCALLTYPE *ApplyProperties)( + IFileSaveDialog *This, + IShellItem *psi, + IPropertyStore *pStore, + HWND hwnd, + IFileOperationProgressSink *pSink); + + END_INTERFACE +} IFileSaveDialogVtbl; + +interface IFileSaveDialog { + CONST_VTBL IFileSaveDialogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileSaveDialog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileSaveDialog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileSaveDialog_Release(This) (This)->lpVtbl->Release(This) +/*** IModalWindow methods ***/ +#define IFileSaveDialog_Show(This,hwndOwner) (This)->lpVtbl->Show(This,hwndOwner) +/*** IFileDialog methods ***/ +#define IFileSaveDialog_SetFileTypes(This,cFileTypes,rgFilterSpec) (This)->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec) +#define IFileSaveDialog_SetFileTypeIndex(This,iFileType) (This)->lpVtbl->SetFileTypeIndex(This,iFileType) +#define IFileSaveDialog_GetFileTypeIndex(This,piFileType) (This)->lpVtbl->GetFileTypeIndex(This,piFileType) +#define IFileSaveDialog_Advise(This,pfde,pdwCookie) (This)->lpVtbl->Advise(This,pfde,pdwCookie) +#define IFileSaveDialog_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define IFileSaveDialog_SetOptions(This,fos) (This)->lpVtbl->SetOptions(This,fos) +#define IFileSaveDialog_GetOptions(This,pfos) (This)->lpVtbl->GetOptions(This,pfos) +#define IFileSaveDialog_SetDefaultFolder(This,psi) (This)->lpVtbl->SetDefaultFolder(This,psi) +#define IFileSaveDialog_SetFolder(This,psi) (This)->lpVtbl->SetFolder(This,psi) +#define IFileSaveDialog_GetFolder(This,ppsi) (This)->lpVtbl->GetFolder(This,ppsi) +#define IFileSaveDialog_GetCurrentSelection(This,ppsi) (This)->lpVtbl->GetCurrentSelection(This,ppsi) +#define IFileSaveDialog_SetFileName(This,pszName) (This)->lpVtbl->SetFileName(This,pszName) +#define IFileSaveDialog_GetFileName(This,pszName) (This)->lpVtbl->GetFileName(This,pszName) +#define IFileSaveDialog_SetTitle(This,pszTitle) (This)->lpVtbl->SetTitle(This,pszTitle) +#define IFileSaveDialog_SetOkButtonLabel(This,pszText) (This)->lpVtbl->SetOkButtonLabel(This,pszText) +#define IFileSaveDialog_SetFileNameLabel(This,pszLabel) (This)->lpVtbl->SetFileNameLabel(This,pszLabel) +#define IFileSaveDialog_GetResult(This,ppsi) (This)->lpVtbl->GetResult(This,ppsi) +#define IFileSaveDialog_AddPlace(This,psi,fdap) (This)->lpVtbl->AddPlace(This,psi,fdap) +#define IFileSaveDialog_SetDefaultExtension(This,pszDefaultExtension) (This)->lpVtbl->SetDefaultExtension(This,pszDefaultExtension) +#define IFileSaveDialog_Close(This,hr) (This)->lpVtbl->Close(This,hr) +#define IFileSaveDialog_SetClientGuid(This,guid) (This)->lpVtbl->SetClientGuid(This,guid) +#define IFileSaveDialog_ClearClientData(This) (This)->lpVtbl->ClearClientData(This) +#define IFileSaveDialog_SetFilter(This,pFilter) (This)->lpVtbl->SetFilter(This,pFilter) +/*** IFileSaveDialog methods ***/ +#define IFileSaveDialog_SetSaveAsItem(This,psi) (This)->lpVtbl->SetSaveAsItem(This,psi) +#define IFileSaveDialog_SetProperties(This,pStore) (This)->lpVtbl->SetProperties(This,pStore) +#define IFileSaveDialog_SetCollectedProperties(This,pList,fAppendDefault) (This)->lpVtbl->SetCollectedProperties(This,pList,fAppendDefault) +#define IFileSaveDialog_GetProperties(This,ppStore) (This)->lpVtbl->GetProperties(This,ppStore) +#define IFileSaveDialog_ApplyProperties(This,psi,pStore,hwnd,pSink) (This)->lpVtbl->ApplyProperties(This,psi,pStore,hwnd,pSink) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileSaveDialog_QueryInterface(IFileSaveDialog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileSaveDialog_AddRef(IFileSaveDialog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileSaveDialog_Release(IFileSaveDialog* This) { + return This->lpVtbl->Release(This); +} +/*** IModalWindow methods ***/ +static FORCEINLINE HRESULT IFileSaveDialog_Show(IFileSaveDialog* This,HWND hwndOwner) { + return This->lpVtbl->Show(This,hwndOwner); +} +/*** IFileDialog methods ***/ +static FORCEINLINE HRESULT IFileSaveDialog_SetFileTypes(IFileSaveDialog* This,UINT cFileTypes,const COMDLG_FILTERSPEC *rgFilterSpec) { + return This->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetFileTypeIndex(IFileSaveDialog* This,UINT iFileType) { + return This->lpVtbl->SetFileTypeIndex(This,iFileType); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetFileTypeIndex(IFileSaveDialog* This,UINT *piFileType) { + return This->lpVtbl->GetFileTypeIndex(This,piFileType); +} +static FORCEINLINE HRESULT IFileSaveDialog_Advise(IFileSaveDialog* This,IFileDialogEvents *pfde,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,pfde,pdwCookie); +} +static FORCEINLINE HRESULT IFileSaveDialog_Unadvise(IFileSaveDialog* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetOptions(IFileSaveDialog* This,FILEOPENDIALOGOPTIONS fos) { + return This->lpVtbl->SetOptions(This,fos); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetOptions(IFileSaveDialog* This,FILEOPENDIALOGOPTIONS *pfos) { + return This->lpVtbl->GetOptions(This,pfos); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetDefaultFolder(IFileSaveDialog* This,IShellItem *psi) { + return This->lpVtbl->SetDefaultFolder(This,psi); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetFolder(IFileSaveDialog* This,IShellItem *psi) { + return This->lpVtbl->SetFolder(This,psi); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetFolder(IFileSaveDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetFolder(This,ppsi); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetCurrentSelection(IFileSaveDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetCurrentSelection(This,ppsi); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetFileName(IFileSaveDialog* This,LPCWSTR pszName) { + return This->lpVtbl->SetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetFileName(IFileSaveDialog* This,LPWSTR *pszName) { + return This->lpVtbl->GetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetTitle(IFileSaveDialog* This,LPCWSTR pszTitle) { + return This->lpVtbl->SetTitle(This,pszTitle); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetOkButtonLabel(IFileSaveDialog* This,LPCWSTR pszText) { + return This->lpVtbl->SetOkButtonLabel(This,pszText); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetFileNameLabel(IFileSaveDialog* This,LPCWSTR pszLabel) { + return This->lpVtbl->SetFileNameLabel(This,pszLabel); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetResult(IFileSaveDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetResult(This,ppsi); +} +static FORCEINLINE HRESULT IFileSaveDialog_AddPlace(IFileSaveDialog* This,IShellItem *psi,FDAP fdap) { + return This->lpVtbl->AddPlace(This,psi,fdap); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetDefaultExtension(IFileSaveDialog* This,LPCWSTR pszDefaultExtension) { + return This->lpVtbl->SetDefaultExtension(This,pszDefaultExtension); +} +static FORCEINLINE HRESULT IFileSaveDialog_Close(IFileSaveDialog* This,HRESULT hr) { + return This->lpVtbl->Close(This,hr); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetClientGuid(IFileSaveDialog* This,REFGUID guid) { + return This->lpVtbl->SetClientGuid(This,guid); +} +static FORCEINLINE HRESULT IFileSaveDialog_ClearClientData(IFileSaveDialog* This) { + return This->lpVtbl->ClearClientData(This); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetFilter(IFileSaveDialog* This,IShellItemFilter *pFilter) { + return This->lpVtbl->SetFilter(This,pFilter); +} +/*** IFileSaveDialog methods ***/ +static FORCEINLINE HRESULT IFileSaveDialog_SetSaveAsItem(IFileSaveDialog* This,IShellItem *psi) { + return This->lpVtbl->SetSaveAsItem(This,psi); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetProperties(IFileSaveDialog* This,IPropertyStore *pStore) { + return This->lpVtbl->SetProperties(This,pStore); +} +static FORCEINLINE HRESULT IFileSaveDialog_SetCollectedProperties(IFileSaveDialog* This,IPropertyDescriptionList *pList,BOOL fAppendDefault) { + return This->lpVtbl->SetCollectedProperties(This,pList,fAppendDefault); +} +static FORCEINLINE HRESULT IFileSaveDialog_GetProperties(IFileSaveDialog* This,IPropertyStore **ppStore) { + return This->lpVtbl->GetProperties(This,ppStore); +} +static FORCEINLINE HRESULT IFileSaveDialog_ApplyProperties(IFileSaveDialog* This,IShellItem *psi,IPropertyStore *pStore,HWND hwnd,IFileOperationProgressSink *pSink) { + return This->lpVtbl->ApplyProperties(This,psi,pStore,hwnd,pSink); +} +#endif +#endif + +#endif + + +#endif /* __IFileSaveDialog_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFileOpenDialog interface + */ +#ifndef __IFileOpenDialog_INTERFACE_DEFINED__ +#define __IFileOpenDialog_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileOpenDialog, 0xd57c7288, 0xd4ad, 0x4768, 0xbe,0x02, 0x9d,0x96,0x95,0x32,0xd9,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d57c7288-d4ad-4768-be02-9d969532d960") +IFileOpenDialog : public IFileDialog +{ + virtual HRESULT STDMETHODCALLTYPE GetResults( + IShellItemArray **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectedItems( + IShellItemArray **ppsai) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileOpenDialog, 0xd57c7288, 0xd4ad, 0x4768, 0xbe,0x02, 0x9d,0x96,0x95,0x32,0xd9,0x60) +#endif +#else +typedef struct IFileOpenDialogVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileOpenDialog *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileOpenDialog *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileOpenDialog *This); + + /*** IModalWindow methods ***/ + HRESULT (STDMETHODCALLTYPE *Show)( + IFileOpenDialog *This, + HWND hwndOwner); + + /*** IFileDialog methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFileTypes)( + IFileOpenDialog *This, + UINT cFileTypes, + const COMDLG_FILTERSPEC *rgFilterSpec); + + HRESULT (STDMETHODCALLTYPE *SetFileTypeIndex)( + IFileOpenDialog *This, + UINT iFileType); + + HRESULT (STDMETHODCALLTYPE *GetFileTypeIndex)( + IFileOpenDialog *This, + UINT *piFileType); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IFileOpenDialog *This, + IFileDialogEvents *pfde, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IFileOpenDialog *This, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *SetOptions)( + IFileOpenDialog *This, + FILEOPENDIALOGOPTIONS fos); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + IFileOpenDialog *This, + FILEOPENDIALOGOPTIONS *pfos); + + HRESULT (STDMETHODCALLTYPE *SetDefaultFolder)( + IFileOpenDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *SetFolder)( + IFileOpenDialog *This, + IShellItem *psi); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IFileOpenDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *GetCurrentSelection)( + IFileOpenDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *SetFileName)( + IFileOpenDialog *This, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetFileName)( + IFileOpenDialog *This, + LPWSTR *pszName); + + HRESULT (STDMETHODCALLTYPE *SetTitle)( + IFileOpenDialog *This, + LPCWSTR pszTitle); + + HRESULT (STDMETHODCALLTYPE *SetOkButtonLabel)( + IFileOpenDialog *This, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *SetFileNameLabel)( + IFileOpenDialog *This, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *GetResult)( + IFileOpenDialog *This, + IShellItem **ppsi); + + HRESULT (STDMETHODCALLTYPE *AddPlace)( + IFileOpenDialog *This, + IShellItem *psi, + FDAP fdap); + + HRESULT (STDMETHODCALLTYPE *SetDefaultExtension)( + IFileOpenDialog *This, + LPCWSTR pszDefaultExtension); + + HRESULT (STDMETHODCALLTYPE *Close)( + IFileOpenDialog *This, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *SetClientGuid)( + IFileOpenDialog *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *ClearClientData)( + IFileOpenDialog *This); + + HRESULT (STDMETHODCALLTYPE *SetFilter)( + IFileOpenDialog *This, + IShellItemFilter *pFilter); + + /*** IFileOpenDialog methods ***/ + HRESULT (STDMETHODCALLTYPE *GetResults)( + IFileOpenDialog *This, + IShellItemArray **ppenum); + + HRESULT (STDMETHODCALLTYPE *GetSelectedItems)( + IFileOpenDialog *This, + IShellItemArray **ppsai); + + END_INTERFACE +} IFileOpenDialogVtbl; + +interface IFileOpenDialog { + CONST_VTBL IFileOpenDialogVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileOpenDialog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileOpenDialog_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileOpenDialog_Release(This) (This)->lpVtbl->Release(This) +/*** IModalWindow methods ***/ +#define IFileOpenDialog_Show(This,hwndOwner) (This)->lpVtbl->Show(This,hwndOwner) +/*** IFileDialog methods ***/ +#define IFileOpenDialog_SetFileTypes(This,cFileTypes,rgFilterSpec) (This)->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec) +#define IFileOpenDialog_SetFileTypeIndex(This,iFileType) (This)->lpVtbl->SetFileTypeIndex(This,iFileType) +#define IFileOpenDialog_GetFileTypeIndex(This,piFileType) (This)->lpVtbl->GetFileTypeIndex(This,piFileType) +#define IFileOpenDialog_Advise(This,pfde,pdwCookie) (This)->lpVtbl->Advise(This,pfde,pdwCookie) +#define IFileOpenDialog_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie) +#define IFileOpenDialog_SetOptions(This,fos) (This)->lpVtbl->SetOptions(This,fos) +#define IFileOpenDialog_GetOptions(This,pfos) (This)->lpVtbl->GetOptions(This,pfos) +#define IFileOpenDialog_SetDefaultFolder(This,psi) (This)->lpVtbl->SetDefaultFolder(This,psi) +#define IFileOpenDialog_SetFolder(This,psi) (This)->lpVtbl->SetFolder(This,psi) +#define IFileOpenDialog_GetFolder(This,ppsi) (This)->lpVtbl->GetFolder(This,ppsi) +#define IFileOpenDialog_GetCurrentSelection(This,ppsi) (This)->lpVtbl->GetCurrentSelection(This,ppsi) +#define IFileOpenDialog_SetFileName(This,pszName) (This)->lpVtbl->SetFileName(This,pszName) +#define IFileOpenDialog_GetFileName(This,pszName) (This)->lpVtbl->GetFileName(This,pszName) +#define IFileOpenDialog_SetTitle(This,pszTitle) (This)->lpVtbl->SetTitle(This,pszTitle) +#define IFileOpenDialog_SetOkButtonLabel(This,pszText) (This)->lpVtbl->SetOkButtonLabel(This,pszText) +#define IFileOpenDialog_SetFileNameLabel(This,pszLabel) (This)->lpVtbl->SetFileNameLabel(This,pszLabel) +#define IFileOpenDialog_GetResult(This,ppsi) (This)->lpVtbl->GetResult(This,ppsi) +#define IFileOpenDialog_AddPlace(This,psi,fdap) (This)->lpVtbl->AddPlace(This,psi,fdap) +#define IFileOpenDialog_SetDefaultExtension(This,pszDefaultExtension) (This)->lpVtbl->SetDefaultExtension(This,pszDefaultExtension) +#define IFileOpenDialog_Close(This,hr) (This)->lpVtbl->Close(This,hr) +#define IFileOpenDialog_SetClientGuid(This,guid) (This)->lpVtbl->SetClientGuid(This,guid) +#define IFileOpenDialog_ClearClientData(This) (This)->lpVtbl->ClearClientData(This) +#define IFileOpenDialog_SetFilter(This,pFilter) (This)->lpVtbl->SetFilter(This,pFilter) +/*** IFileOpenDialog methods ***/ +#define IFileOpenDialog_GetResults(This,ppenum) (This)->lpVtbl->GetResults(This,ppenum) +#define IFileOpenDialog_GetSelectedItems(This,ppsai) (This)->lpVtbl->GetSelectedItems(This,ppsai) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileOpenDialog_QueryInterface(IFileOpenDialog* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileOpenDialog_AddRef(IFileOpenDialog* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileOpenDialog_Release(IFileOpenDialog* This) { + return This->lpVtbl->Release(This); +} +/*** IModalWindow methods ***/ +static FORCEINLINE HRESULT IFileOpenDialog_Show(IFileOpenDialog* This,HWND hwndOwner) { + return This->lpVtbl->Show(This,hwndOwner); +} +/*** IFileDialog methods ***/ +static FORCEINLINE HRESULT IFileOpenDialog_SetFileTypes(IFileOpenDialog* This,UINT cFileTypes,const COMDLG_FILTERSPEC *rgFilterSpec) { + return This->lpVtbl->SetFileTypes(This,cFileTypes,rgFilterSpec); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetFileTypeIndex(IFileOpenDialog* This,UINT iFileType) { + return This->lpVtbl->SetFileTypeIndex(This,iFileType); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetFileTypeIndex(IFileOpenDialog* This,UINT *piFileType) { + return This->lpVtbl->GetFileTypeIndex(This,piFileType); +} +static FORCEINLINE HRESULT IFileOpenDialog_Advise(IFileOpenDialog* This,IFileDialogEvents *pfde,DWORD *pdwCookie) { + return This->lpVtbl->Advise(This,pfde,pdwCookie); +} +static FORCEINLINE HRESULT IFileOpenDialog_Unadvise(IFileOpenDialog* This,DWORD dwCookie) { + return This->lpVtbl->Unadvise(This,dwCookie); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetOptions(IFileOpenDialog* This,FILEOPENDIALOGOPTIONS fos) { + return This->lpVtbl->SetOptions(This,fos); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetOptions(IFileOpenDialog* This,FILEOPENDIALOGOPTIONS *pfos) { + return This->lpVtbl->GetOptions(This,pfos); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetDefaultFolder(IFileOpenDialog* This,IShellItem *psi) { + return This->lpVtbl->SetDefaultFolder(This,psi); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetFolder(IFileOpenDialog* This,IShellItem *psi) { + return This->lpVtbl->SetFolder(This,psi); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetFolder(IFileOpenDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetFolder(This,ppsi); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetCurrentSelection(IFileOpenDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetCurrentSelection(This,ppsi); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetFileName(IFileOpenDialog* This,LPCWSTR pszName) { + return This->lpVtbl->SetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetFileName(IFileOpenDialog* This,LPWSTR *pszName) { + return This->lpVtbl->GetFileName(This,pszName); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetTitle(IFileOpenDialog* This,LPCWSTR pszTitle) { + return This->lpVtbl->SetTitle(This,pszTitle); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetOkButtonLabel(IFileOpenDialog* This,LPCWSTR pszText) { + return This->lpVtbl->SetOkButtonLabel(This,pszText); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetFileNameLabel(IFileOpenDialog* This,LPCWSTR pszLabel) { + return This->lpVtbl->SetFileNameLabel(This,pszLabel); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetResult(IFileOpenDialog* This,IShellItem **ppsi) { + return This->lpVtbl->GetResult(This,ppsi); +} +static FORCEINLINE HRESULT IFileOpenDialog_AddPlace(IFileOpenDialog* This,IShellItem *psi,FDAP fdap) { + return This->lpVtbl->AddPlace(This,psi,fdap); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetDefaultExtension(IFileOpenDialog* This,LPCWSTR pszDefaultExtension) { + return This->lpVtbl->SetDefaultExtension(This,pszDefaultExtension); +} +static FORCEINLINE HRESULT IFileOpenDialog_Close(IFileOpenDialog* This,HRESULT hr) { + return This->lpVtbl->Close(This,hr); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetClientGuid(IFileOpenDialog* This,REFGUID guid) { + return This->lpVtbl->SetClientGuid(This,guid); +} +static FORCEINLINE HRESULT IFileOpenDialog_ClearClientData(IFileOpenDialog* This) { + return This->lpVtbl->ClearClientData(This); +} +static FORCEINLINE HRESULT IFileOpenDialog_SetFilter(IFileOpenDialog* This,IShellItemFilter *pFilter) { + return This->lpVtbl->SetFilter(This,pFilter); +} +/*** IFileOpenDialog methods ***/ +static FORCEINLINE HRESULT IFileOpenDialog_GetResults(IFileOpenDialog* This,IShellItemArray **ppenum) { + return This->lpVtbl->GetResults(This,ppenum); +} +static FORCEINLINE HRESULT IFileOpenDialog_GetSelectedItems(IFileOpenDialog* This,IShellItemArray **ppsai) { + return This->lpVtbl->GetSelectedItems(This,ppsai); +} +#endif +#endif + +#endif + + +#endif /* __IFileOpenDialog_INTERFACE_DEFINED__ */ + +typedef enum CDCONTROLSTATEF { + CDCS_INACTIVE = 0x0, + CDCS_ENABLED = 0x1, + CDCS_VISIBLE = 0x2, + CDCS_ENABLEDVISIBLE = 0x3 +} CDCONTROLSTATEF; +DEFINE_ENUM_FLAG_OPERATORS(CDCONTROLSTATEF) +/***************************************************************************** + * IFileDialogCustomize interface + */ +#ifndef __IFileDialogCustomize_INTERFACE_DEFINED__ +#define __IFileDialogCustomize_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileDialogCustomize, 0xe6fdd21a, 0x163f, 0x4975, 0x9c,0x8c, 0xa6,0x9f,0x1b,0xa3,0x70,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e6fdd21a-163f-4975-9c8c-a69f1ba37034") +IFileDialogCustomize : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnableOpenDropDown( + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMenu( + DWORD dwIDCtl, + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddPushButton( + DWORD dwIDCtl, + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddComboBox( + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRadioButtonList( + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddCheckButton( + DWORD dwIDCtl, + LPCWSTR pszLabel, + BOOL bChecked) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddEditBox( + DWORD dwIDCtl, + LPCWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSeparator( + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddText( + DWORD dwIDCtl, + LPCWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetControlLabel( + DWORD dwIDCtl, + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlState( + DWORD dwIDCtl, + CDCONTROLSTATEF *pdwState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetControlState( + DWORD dwIDCtl, + CDCONTROLSTATEF dwState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEditBoxText( + DWORD dwIDCtl, + WCHAR **ppszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEditBoxText( + DWORD dwIDCtl, + LPCWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCheckButtonState( + DWORD dwIDCtl, + BOOL *pbChecked) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCheckButtonState( + DWORD dwIDCtl, + BOOL bChecked) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddControlItem( + DWORD dwIDCtl, + DWORD dwIDItem, + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveControlItem( + DWORD dwIDCtl, + DWORD dwIDItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllControlItems( + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlItemState( + DWORD dwIDCtl, + DWORD dwIDItem, + CDCONTROLSTATEF *pdwState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetControlItemState( + DWORD dwIDCtl, + DWORD dwIDItem, + CDCONTROLSTATEF dwState) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelectedControlItem( + DWORD dwIDCtl, + DWORD *pdwIDItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSelectedControlItem( + DWORD dwIDCtl, + DWORD dwIDItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartVisualGroup( + DWORD dwIDCtl, + LPCWSTR pszLabel) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndVisualGroup( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MakeProminent( + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetControlItemText( + DWORD dwIDCtl, + DWORD dwIDItem, + LPCWSTR pszLabel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileDialogCustomize, 0xe6fdd21a, 0x163f, 0x4975, 0x9c,0x8c, 0xa6,0x9f,0x1b,0xa3,0x70,0x34) +#endif +#else +typedef struct IFileDialogCustomizeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileDialogCustomize *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileDialogCustomize *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileDialogCustomize *This); + + /*** IFileDialogCustomize methods ***/ + HRESULT (STDMETHODCALLTYPE *EnableOpenDropDown)( + IFileDialogCustomize *This, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *AddMenu)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *AddPushButton)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *AddComboBox)( + IFileDialogCustomize *This, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *AddRadioButtonList)( + IFileDialogCustomize *This, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *AddCheckButton)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszLabel, + BOOL bChecked); + + HRESULT (STDMETHODCALLTYPE *AddEditBox)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *AddSeparator)( + IFileDialogCustomize *This, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *AddText)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *SetControlLabel)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *GetControlState)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + CDCONTROLSTATEF *pdwState); + + HRESULT (STDMETHODCALLTYPE *SetControlState)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + CDCONTROLSTATEF dwState); + + HRESULT (STDMETHODCALLTYPE *GetEditBoxText)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + WCHAR **ppszText); + + HRESULT (STDMETHODCALLTYPE *SetEditBoxText)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *GetCheckButtonState)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + BOOL *pbChecked); + + HRESULT (STDMETHODCALLTYPE *SetCheckButtonState)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + BOOL bChecked); + + HRESULT (STDMETHODCALLTYPE *AddControlItem)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD dwIDItem, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *RemoveControlItem)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD dwIDItem); + + HRESULT (STDMETHODCALLTYPE *RemoveAllControlItems)( + IFileDialogCustomize *This, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *GetControlItemState)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD dwIDItem, + CDCONTROLSTATEF *pdwState); + + HRESULT (STDMETHODCALLTYPE *SetControlItemState)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD dwIDItem, + CDCONTROLSTATEF dwState); + + HRESULT (STDMETHODCALLTYPE *GetSelectedControlItem)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD *pdwIDItem); + + HRESULT (STDMETHODCALLTYPE *SetSelectedControlItem)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD dwIDItem); + + HRESULT (STDMETHODCALLTYPE *StartVisualGroup)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + LPCWSTR pszLabel); + + HRESULT (STDMETHODCALLTYPE *EndVisualGroup)( + IFileDialogCustomize *This); + + HRESULT (STDMETHODCALLTYPE *MakeProminent)( + IFileDialogCustomize *This, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *SetControlItemText)( + IFileDialogCustomize *This, + DWORD dwIDCtl, + DWORD dwIDItem, + LPCWSTR pszLabel); + + END_INTERFACE +} IFileDialogCustomizeVtbl; + +interface IFileDialogCustomize { + CONST_VTBL IFileDialogCustomizeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileDialogCustomize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileDialogCustomize_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileDialogCustomize_Release(This) (This)->lpVtbl->Release(This) +/*** IFileDialogCustomize methods ***/ +#define IFileDialogCustomize_EnableOpenDropDown(This,dwIDCtl) (This)->lpVtbl->EnableOpenDropDown(This,dwIDCtl) +#define IFileDialogCustomize_AddMenu(This,dwIDCtl,pszLabel) (This)->lpVtbl->AddMenu(This,dwIDCtl,pszLabel) +#define IFileDialogCustomize_AddPushButton(This,dwIDCtl,pszLabel) (This)->lpVtbl->AddPushButton(This,dwIDCtl,pszLabel) +#define IFileDialogCustomize_AddComboBox(This,dwIDCtl) (This)->lpVtbl->AddComboBox(This,dwIDCtl) +#define IFileDialogCustomize_AddRadioButtonList(This,dwIDCtl) (This)->lpVtbl->AddRadioButtonList(This,dwIDCtl) +#define IFileDialogCustomize_AddCheckButton(This,dwIDCtl,pszLabel,bChecked) (This)->lpVtbl->AddCheckButton(This,dwIDCtl,pszLabel,bChecked) +#define IFileDialogCustomize_AddEditBox(This,dwIDCtl,pszText) (This)->lpVtbl->AddEditBox(This,dwIDCtl,pszText) +#define IFileDialogCustomize_AddSeparator(This,dwIDCtl) (This)->lpVtbl->AddSeparator(This,dwIDCtl) +#define IFileDialogCustomize_AddText(This,dwIDCtl,pszText) (This)->lpVtbl->AddText(This,dwIDCtl,pszText) +#define IFileDialogCustomize_SetControlLabel(This,dwIDCtl,pszLabel) (This)->lpVtbl->SetControlLabel(This,dwIDCtl,pszLabel) +#define IFileDialogCustomize_GetControlState(This,dwIDCtl,pdwState) (This)->lpVtbl->GetControlState(This,dwIDCtl,pdwState) +#define IFileDialogCustomize_SetControlState(This,dwIDCtl,dwState) (This)->lpVtbl->SetControlState(This,dwIDCtl,dwState) +#define IFileDialogCustomize_GetEditBoxText(This,dwIDCtl,ppszText) (This)->lpVtbl->GetEditBoxText(This,dwIDCtl,ppszText) +#define IFileDialogCustomize_SetEditBoxText(This,dwIDCtl,pszText) (This)->lpVtbl->SetEditBoxText(This,dwIDCtl,pszText) +#define IFileDialogCustomize_GetCheckButtonState(This,dwIDCtl,pbChecked) (This)->lpVtbl->GetCheckButtonState(This,dwIDCtl,pbChecked) +#define IFileDialogCustomize_SetCheckButtonState(This,dwIDCtl,bChecked) (This)->lpVtbl->SetCheckButtonState(This,dwIDCtl,bChecked) +#define IFileDialogCustomize_AddControlItem(This,dwIDCtl,dwIDItem,pszLabel) (This)->lpVtbl->AddControlItem(This,dwIDCtl,dwIDItem,pszLabel) +#define IFileDialogCustomize_RemoveControlItem(This,dwIDCtl,dwIDItem) (This)->lpVtbl->RemoveControlItem(This,dwIDCtl,dwIDItem) +#define IFileDialogCustomize_RemoveAllControlItems(This,dwIDCtl) (This)->lpVtbl->RemoveAllControlItems(This,dwIDCtl) +#define IFileDialogCustomize_GetControlItemState(This,dwIDCtl,dwIDItem,pdwState) (This)->lpVtbl->GetControlItemState(This,dwIDCtl,dwIDItem,pdwState) +#define IFileDialogCustomize_SetControlItemState(This,dwIDCtl,dwIDItem,dwState) (This)->lpVtbl->SetControlItemState(This,dwIDCtl,dwIDItem,dwState) +#define IFileDialogCustomize_GetSelectedControlItem(This,dwIDCtl,pdwIDItem) (This)->lpVtbl->GetSelectedControlItem(This,dwIDCtl,pdwIDItem) +#define IFileDialogCustomize_SetSelectedControlItem(This,dwIDCtl,dwIDItem) (This)->lpVtbl->SetSelectedControlItem(This,dwIDCtl,dwIDItem) +#define IFileDialogCustomize_StartVisualGroup(This,dwIDCtl,pszLabel) (This)->lpVtbl->StartVisualGroup(This,dwIDCtl,pszLabel) +#define IFileDialogCustomize_EndVisualGroup(This) (This)->lpVtbl->EndVisualGroup(This) +#define IFileDialogCustomize_MakeProminent(This,dwIDCtl) (This)->lpVtbl->MakeProminent(This,dwIDCtl) +#define IFileDialogCustomize_SetControlItemText(This,dwIDCtl,dwIDItem,pszLabel) (This)->lpVtbl->SetControlItemText(This,dwIDCtl,dwIDItem,pszLabel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileDialogCustomize_QueryInterface(IFileDialogCustomize* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileDialogCustomize_AddRef(IFileDialogCustomize* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileDialogCustomize_Release(IFileDialogCustomize* This) { + return This->lpVtbl->Release(This); +} +/*** IFileDialogCustomize methods ***/ +static FORCEINLINE HRESULT IFileDialogCustomize_EnableOpenDropDown(IFileDialogCustomize* This,DWORD dwIDCtl) { + return This->lpVtbl->EnableOpenDropDown(This,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddMenu(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszLabel) { + return This->lpVtbl->AddMenu(This,dwIDCtl,pszLabel); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddPushButton(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszLabel) { + return This->lpVtbl->AddPushButton(This,dwIDCtl,pszLabel); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddComboBox(IFileDialogCustomize* This,DWORD dwIDCtl) { + return This->lpVtbl->AddComboBox(This,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddRadioButtonList(IFileDialogCustomize* This,DWORD dwIDCtl) { + return This->lpVtbl->AddRadioButtonList(This,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddCheckButton(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszLabel,BOOL bChecked) { + return This->lpVtbl->AddCheckButton(This,dwIDCtl,pszLabel,bChecked); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddEditBox(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszText) { + return This->lpVtbl->AddEditBox(This,dwIDCtl,pszText); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddSeparator(IFileDialogCustomize* This,DWORD dwIDCtl) { + return This->lpVtbl->AddSeparator(This,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddText(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszText) { + return This->lpVtbl->AddText(This,dwIDCtl,pszText); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetControlLabel(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszLabel) { + return This->lpVtbl->SetControlLabel(This,dwIDCtl,pszLabel); +} +static FORCEINLINE HRESULT IFileDialogCustomize_GetControlState(IFileDialogCustomize* This,DWORD dwIDCtl,CDCONTROLSTATEF *pdwState) { + return This->lpVtbl->GetControlState(This,dwIDCtl,pdwState); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetControlState(IFileDialogCustomize* This,DWORD dwIDCtl,CDCONTROLSTATEF dwState) { + return This->lpVtbl->SetControlState(This,dwIDCtl,dwState); +} +static FORCEINLINE HRESULT IFileDialogCustomize_GetEditBoxText(IFileDialogCustomize* This,DWORD dwIDCtl,WCHAR **ppszText) { + return This->lpVtbl->GetEditBoxText(This,dwIDCtl,ppszText); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetEditBoxText(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszText) { + return This->lpVtbl->SetEditBoxText(This,dwIDCtl,pszText); +} +static FORCEINLINE HRESULT IFileDialogCustomize_GetCheckButtonState(IFileDialogCustomize* This,DWORD dwIDCtl,BOOL *pbChecked) { + return This->lpVtbl->GetCheckButtonState(This,dwIDCtl,pbChecked); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetCheckButtonState(IFileDialogCustomize* This,DWORD dwIDCtl,BOOL bChecked) { + return This->lpVtbl->SetCheckButtonState(This,dwIDCtl,bChecked); +} +static FORCEINLINE HRESULT IFileDialogCustomize_AddControlItem(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD dwIDItem,LPCWSTR pszLabel) { + return This->lpVtbl->AddControlItem(This,dwIDCtl,dwIDItem,pszLabel); +} +static FORCEINLINE HRESULT IFileDialogCustomize_RemoveControlItem(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD dwIDItem) { + return This->lpVtbl->RemoveControlItem(This,dwIDCtl,dwIDItem); +} +static FORCEINLINE HRESULT IFileDialogCustomize_RemoveAllControlItems(IFileDialogCustomize* This,DWORD dwIDCtl) { + return This->lpVtbl->RemoveAllControlItems(This,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogCustomize_GetControlItemState(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD dwIDItem,CDCONTROLSTATEF *pdwState) { + return This->lpVtbl->GetControlItemState(This,dwIDCtl,dwIDItem,pdwState); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetControlItemState(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD dwIDItem,CDCONTROLSTATEF dwState) { + return This->lpVtbl->SetControlItemState(This,dwIDCtl,dwIDItem,dwState); +} +static FORCEINLINE HRESULT IFileDialogCustomize_GetSelectedControlItem(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD *pdwIDItem) { + return This->lpVtbl->GetSelectedControlItem(This,dwIDCtl,pdwIDItem); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetSelectedControlItem(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD dwIDItem) { + return This->lpVtbl->SetSelectedControlItem(This,dwIDCtl,dwIDItem); +} +static FORCEINLINE HRESULT IFileDialogCustomize_StartVisualGroup(IFileDialogCustomize* This,DWORD dwIDCtl,LPCWSTR pszLabel) { + return This->lpVtbl->StartVisualGroup(This,dwIDCtl,pszLabel); +} +static FORCEINLINE HRESULT IFileDialogCustomize_EndVisualGroup(IFileDialogCustomize* This) { + return This->lpVtbl->EndVisualGroup(This); +} +static FORCEINLINE HRESULT IFileDialogCustomize_MakeProminent(IFileDialogCustomize* This,DWORD dwIDCtl) { + return This->lpVtbl->MakeProminent(This,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogCustomize_SetControlItemText(IFileDialogCustomize* This,DWORD dwIDCtl,DWORD dwIDItem,LPCWSTR pszLabel) { + return This->lpVtbl->SetControlItemText(This,dwIDCtl,dwIDItem,pszLabel); +} +#endif +#endif + +#endif + + +#endif /* __IFileDialogCustomize_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFileDialogControlEvents interface + */ +#ifndef __IFileDialogControlEvents_INTERFACE_DEFINED__ +#define __IFileDialogControlEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileDialogControlEvents, 0x36116642, 0xd713, 0x4b97, 0x9b,0x83, 0x74,0x84,0xa9,0xd0,0x04,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36116642-d713-4b97-9b83-7484a9d00433") +IFileDialogControlEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnItemSelected( + IFileDialogCustomize *pfdc, + DWORD dwIDCtl, + DWORD dwIDItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnButtonClicked( + IFileDialogCustomize *pfdc, + DWORD dwIDCtl) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnCheckButtonToggled( + IFileDialogCustomize *pfdc, + BOOL dwIDCtl, + BOOL bChecked) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnControlActivating( + IFileDialogCustomize *pfdc, + DWORD dwIDCtl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileDialogControlEvents, 0x36116642, 0xd713, 0x4b97, 0x9b,0x83, 0x74,0x84,0xa9,0xd0,0x04,0x33) +#endif +#else +typedef struct IFileDialogControlEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileDialogControlEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileDialogControlEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileDialogControlEvents *This); + + /*** IFileDialogControlEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *OnItemSelected)( + IFileDialogControlEvents *This, + IFileDialogCustomize *pfdc, + DWORD dwIDCtl, + DWORD dwIDItem); + + HRESULT (STDMETHODCALLTYPE *OnButtonClicked)( + IFileDialogControlEvents *This, + IFileDialogCustomize *pfdc, + DWORD dwIDCtl); + + HRESULT (STDMETHODCALLTYPE *OnCheckButtonToggled)( + IFileDialogControlEvents *This, + IFileDialogCustomize *pfdc, + BOOL dwIDCtl, + BOOL bChecked); + + HRESULT (STDMETHODCALLTYPE *OnControlActivating)( + IFileDialogControlEvents *This, + IFileDialogCustomize *pfdc, + DWORD dwIDCtl); + + END_INTERFACE +} IFileDialogControlEventsVtbl; + +interface IFileDialogControlEvents { + CONST_VTBL IFileDialogControlEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileDialogControlEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileDialogControlEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileDialogControlEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IFileDialogControlEvents methods ***/ +#define IFileDialogControlEvents_OnItemSelected(This,pfdc,dwIDCtl,dwIDItem) (This)->lpVtbl->OnItemSelected(This,pfdc,dwIDCtl,dwIDItem) +#define IFileDialogControlEvents_OnButtonClicked(This,pfdc,dwIDCtl) (This)->lpVtbl->OnButtonClicked(This,pfdc,dwIDCtl) +#define IFileDialogControlEvents_OnCheckButtonToggled(This,pfdc,dwIDCtl,bChecked) (This)->lpVtbl->OnCheckButtonToggled(This,pfdc,dwIDCtl,bChecked) +#define IFileDialogControlEvents_OnControlActivating(This,pfdc,dwIDCtl) (This)->lpVtbl->OnControlActivating(This,pfdc,dwIDCtl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileDialogControlEvents_QueryInterface(IFileDialogControlEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileDialogControlEvents_AddRef(IFileDialogControlEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileDialogControlEvents_Release(IFileDialogControlEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IFileDialogControlEvents methods ***/ +static FORCEINLINE HRESULT IFileDialogControlEvents_OnItemSelected(IFileDialogControlEvents* This,IFileDialogCustomize *pfdc,DWORD dwIDCtl,DWORD dwIDItem) { + return This->lpVtbl->OnItemSelected(This,pfdc,dwIDCtl,dwIDItem); +} +static FORCEINLINE HRESULT IFileDialogControlEvents_OnButtonClicked(IFileDialogControlEvents* This,IFileDialogCustomize *pfdc,DWORD dwIDCtl) { + return This->lpVtbl->OnButtonClicked(This,pfdc,dwIDCtl); +} +static FORCEINLINE HRESULT IFileDialogControlEvents_OnCheckButtonToggled(IFileDialogControlEvents* This,IFileDialogCustomize *pfdc,BOOL dwIDCtl,BOOL bChecked) { + return This->lpVtbl->OnCheckButtonToggled(This,pfdc,dwIDCtl,bChecked); +} +static FORCEINLINE HRESULT IFileDialogControlEvents_OnControlActivating(IFileDialogControlEvents* This,IFileDialogCustomize *pfdc,DWORD dwIDCtl) { + return This->lpVtbl->OnControlActivating(This,pfdc,dwIDCtl); +} +#endif +#endif + +#endif + + +#endif /* __IFileDialogControlEvents_INTERFACE_DEFINED__ */ + +typedef enum tagKF_CATEGORY { + KF_CATEGORY_VIRTUAL = 0x1, + KF_CATEGORY_FIXED = 0x2, + KF_CATEGORY_COMMON = 0x3, + KF_CATEGORY_PERUSER = 0x4 +} KF_CATEGORY; +typedef enum tagKF_REDIRECTION_CAPABILITIES { + KF_REDIRECTION_CAPABILITIES_ALLOW_ALL = 0xff, + KF_REDIRECTION_CAPABILITIES_REDIRECTABLE = 0x1, + KF_REDIRECTION_CAPABILITIES_DENY_ALL = 0xfff00, + KF_REDIRECTION_CAPABILITIES_DENY_POLICY_REDIRECTED = 0x100, + KF_REDIRECTION_CAPABILITIES_DENY_POLICY = 0x200, + KF_REDIRECTION_CAPABILITIES_DENY_PERMISSIONS = 0x400 +} KF_REDIRECTION_CAPABILITIES; +typedef enum tagKF_DEFINITION_FLAGS { + KFDF_LOCAL_REDIRECT_ONLY = 0x2, + KFDF_ROAMABLE = 0x4, + KFDF_PRECREATE = 0x8, + KFDF_STREAM = 0x10, + KFDF_PUBLISHEXPANDEDPATH = 0x20, + KFDF_NO_REDIRECT_UI = 0x40 +} KF_DEFINITION_FLAGS; +typedef struct tagKNOWNFOLDER_DEFINITION { + KF_CATEGORY category; + LPWSTR pszName; + LPWSTR pszDescription; + KNOWNFOLDERID fidParent; + LPWSTR pszRelativePath; + LPWSTR pszParsingName; + LPWSTR pszTooltip; + LPWSTR pszLocalizedName; + LPWSTR pszIcon; + LPWSTR pszSecurity; + DWORD dwAttributes; + KF_DEFINITION_FLAGS kfdFlags; + FOLDERTYPEID ftidType; +} KNOWNFOLDER_DEFINITION; +/***************************************************************************** + * IKnownFolder interface + */ +#ifndef __IKnownFolder_INTERFACE_DEFINED__ +#define __IKnownFolder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKnownFolder, 0x3aa7af7e, 0x9b36, 0x420c, 0xa8,0xe3, 0xf7,0x7d,0x46,0x74,0xa4,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3aa7af7e-9b36-420c-a8e3-f77d4674a488") +IKnownFolder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetId( + KNOWNFOLDERID *pkfid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCategory( + KF_CATEGORY *pCategory) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetShellItem( + DWORD dwFlags, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPath( + DWORD dwFlags, + LPWSTR *ppszPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPath( + DWORD dwFlags, + LPCWSTR pszPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIDList( + DWORD dwFlags, + PIDLIST_ABSOLUTE *ppidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolderType( + FOLDERTYPEID *pftid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRedirectionCapabilities( + KF_REDIRECTION_CAPABILITIES *pCapabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolderDefinition( + KNOWNFOLDER_DEFINITION *pKFD) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKnownFolder, 0x3aa7af7e, 0x9b36, 0x420c, 0xa8,0xe3, 0xf7,0x7d,0x46,0x74,0xa4,0x88) +#endif +#else +typedef struct IKnownFolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKnownFolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKnownFolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKnownFolder *This); + + /*** IKnownFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *GetId)( + IKnownFolder *This, + KNOWNFOLDERID *pkfid); + + HRESULT (STDMETHODCALLTYPE *GetCategory)( + IKnownFolder *This, + KF_CATEGORY *pCategory); + + HRESULT (STDMETHODCALLTYPE *GetShellItem)( + IKnownFolder *This, + DWORD dwFlags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetPath)( + IKnownFolder *This, + DWORD dwFlags, + LPWSTR *ppszPath); + + HRESULT (STDMETHODCALLTYPE *SetPath)( + IKnownFolder *This, + DWORD dwFlags, + LPCWSTR pszPath); + + HRESULT (STDMETHODCALLTYPE *GetIDList)( + IKnownFolder *This, + DWORD dwFlags, + PIDLIST_ABSOLUTE *ppidl); + + HRESULT (STDMETHODCALLTYPE *GetFolderType)( + IKnownFolder *This, + FOLDERTYPEID *pftid); + + HRESULT (STDMETHODCALLTYPE *GetRedirectionCapabilities)( + IKnownFolder *This, + KF_REDIRECTION_CAPABILITIES *pCapabilities); + + HRESULT (STDMETHODCALLTYPE *GetFolderDefinition)( + IKnownFolder *This, + KNOWNFOLDER_DEFINITION *pKFD); + + END_INTERFACE +} IKnownFolderVtbl; + +interface IKnownFolder { + CONST_VTBL IKnownFolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKnownFolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKnownFolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKnownFolder_Release(This) (This)->lpVtbl->Release(This) +/*** IKnownFolder methods ***/ +#define IKnownFolder_GetId(This,pkfid) (This)->lpVtbl->GetId(This,pkfid) +#define IKnownFolder_GetCategory(This,pCategory) (This)->lpVtbl->GetCategory(This,pCategory) +#define IKnownFolder_GetShellItem(This,dwFlags,riid,ppv) (This)->lpVtbl->GetShellItem(This,dwFlags,riid,ppv) +#define IKnownFolder_GetPath(This,dwFlags,ppszPath) (This)->lpVtbl->GetPath(This,dwFlags,ppszPath) +#define IKnownFolder_SetPath(This,dwFlags,pszPath) (This)->lpVtbl->SetPath(This,dwFlags,pszPath) +#define IKnownFolder_GetIDList(This,dwFlags,ppidl) (This)->lpVtbl->GetIDList(This,dwFlags,ppidl) +#define IKnownFolder_GetFolderType(This,pftid) (This)->lpVtbl->GetFolderType(This,pftid) +#define IKnownFolder_GetRedirectionCapabilities(This,pCapabilities) (This)->lpVtbl->GetRedirectionCapabilities(This,pCapabilities) +#define IKnownFolder_GetFolderDefinition(This,pKFD) (This)->lpVtbl->GetFolderDefinition(This,pKFD) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKnownFolder_QueryInterface(IKnownFolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKnownFolder_AddRef(IKnownFolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKnownFolder_Release(IKnownFolder* This) { + return This->lpVtbl->Release(This); +} +/*** IKnownFolder methods ***/ +static FORCEINLINE HRESULT IKnownFolder_GetId(IKnownFolder* This,KNOWNFOLDERID *pkfid) { + return This->lpVtbl->GetId(This,pkfid); +} +static FORCEINLINE HRESULT IKnownFolder_GetCategory(IKnownFolder* This,KF_CATEGORY *pCategory) { + return This->lpVtbl->GetCategory(This,pCategory); +} +static FORCEINLINE HRESULT IKnownFolder_GetShellItem(IKnownFolder* This,DWORD dwFlags,REFIID riid,void **ppv) { + return This->lpVtbl->GetShellItem(This,dwFlags,riid,ppv); +} +static FORCEINLINE HRESULT IKnownFolder_GetPath(IKnownFolder* This,DWORD dwFlags,LPWSTR *ppszPath) { + return This->lpVtbl->GetPath(This,dwFlags,ppszPath); +} +static FORCEINLINE HRESULT IKnownFolder_SetPath(IKnownFolder* This,DWORD dwFlags,LPCWSTR pszPath) { + return This->lpVtbl->SetPath(This,dwFlags,pszPath); +} +static FORCEINLINE HRESULT IKnownFolder_GetIDList(IKnownFolder* This,DWORD dwFlags,PIDLIST_ABSOLUTE *ppidl) { + return This->lpVtbl->GetIDList(This,dwFlags,ppidl); +} +static FORCEINLINE HRESULT IKnownFolder_GetFolderType(IKnownFolder* This,FOLDERTYPEID *pftid) { + return This->lpVtbl->GetFolderType(This,pftid); +} +static FORCEINLINE HRESULT IKnownFolder_GetRedirectionCapabilities(IKnownFolder* This,KF_REDIRECTION_CAPABILITIES *pCapabilities) { + return This->lpVtbl->GetRedirectionCapabilities(This,pCapabilities); +} +static FORCEINLINE HRESULT IKnownFolder_GetFolderDefinition(IKnownFolder* This,KNOWNFOLDER_DEFINITION *pKFD) { + return This->lpVtbl->GetFolderDefinition(This,pKFD); +} +#endif +#endif + +#endif + + +#endif /* __IKnownFolder_INTERFACE_DEFINED__ */ + +typedef enum tagKF_REDIRECT_FLAGS { + KF_REDIRECT_USER_EXCLUSIVE = 0x1, + KF_REDIRECT_COPY_SOURCE_DACL = 0x2, + KF_REDIRECT_OWNER_USER = 0x4, + KF_REDIRECT_SET_OWNER_EXPLICIT = 0x8, + KF_REDIRECT_CHECK_ONLY = 0x10, + KF_REDIRECT_WITH_UI = 0x20, + KF_REDIRECT_UNPIN = 0x40, + KF_REDIRECT_PIN = 0x80, + KF_REDIRECT_COPY_CONTENTS = 0x200, + KF_REDIRECT_DEL_SOURCE_CONTENTS = 0x400, + KF_REDIRECT_EXCLUDE_ALL_KNOWN_SUBFOLDERS = 0x800 +} KF_REDIRECT_FLAGS; +/***************************************************************************** + * IKnownFolderManager interface + */ +#ifndef __IKnownFolderManager_INTERFACE_DEFINED__ +#define __IKnownFolderManager_INTERFACE_DEFINED__ + +typedef enum tagFFFP_MODE { + FFFP_EXACTMATCH = 0, + FFFP_NEARESTPARENTMATCH = 1 +} FFFP_MODE; +DEFINE_GUID(IID_IKnownFolderManager, 0x8be2d872, 0x86aa, 0x4d47, 0xb7,0x76, 0x32,0xcc,0xa4,0x0c,0x70,0x18); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8be2d872-86aa-4d47-b776-32cca40c7018") +IKnownFolderManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FolderIdFromCsidl( + int nCsidl, + KNOWNFOLDERID *pfid) = 0; + + virtual HRESULT STDMETHODCALLTYPE FolderIdToCsidl( + REFKNOWNFOLDERID rfid, + int *pnCsidl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolderIds( + KNOWNFOLDERID **ppKFId, + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolder( + REFKNOWNFOLDERID rfid, + IKnownFolder **ppkf) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolderByName( + LPCWSTR pszCanonicalName, + IKnownFolder **ppkf) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterFolder( + REFKNOWNFOLDERID rfid, + const KNOWNFOLDER_DEFINITION *pKFD) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterFolder( + REFKNOWNFOLDERID rfid) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFolderFromPath( + LPCWSTR pszPath, + FFFP_MODE mode, + IKnownFolder **ppkf) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFolderFromIDList( + PCIDLIST_ABSOLUTE pidl, + IKnownFolder **ppkf) = 0; + + virtual HRESULT STDMETHODCALLTYPE Redirect( + REFKNOWNFOLDERID rfid, + HWND hwnd, + KF_REDIRECT_FLAGS flags, + LPCWSTR pszTargetPath, + UINT cFolders, + const KNOWNFOLDERID *pExclusion, + LPWSTR *ppszError) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKnownFolderManager, 0x8be2d872, 0x86aa, 0x4d47, 0xb7,0x76, 0x32,0xcc,0xa4,0x0c,0x70,0x18) +#endif +#else +typedef struct IKnownFolderManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKnownFolderManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKnownFolderManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKnownFolderManager *This); + + /*** IKnownFolderManager methods ***/ + HRESULT (STDMETHODCALLTYPE *FolderIdFromCsidl)( + IKnownFolderManager *This, + int nCsidl, + KNOWNFOLDERID *pfid); + + HRESULT (STDMETHODCALLTYPE *FolderIdToCsidl)( + IKnownFolderManager *This, + REFKNOWNFOLDERID rfid, + int *pnCsidl); + + HRESULT (STDMETHODCALLTYPE *GetFolderIds)( + IKnownFolderManager *This, + KNOWNFOLDERID **ppKFId, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + IKnownFolderManager *This, + REFKNOWNFOLDERID rfid, + IKnownFolder **ppkf); + + HRESULT (STDMETHODCALLTYPE *GetFolderByName)( + IKnownFolderManager *This, + LPCWSTR pszCanonicalName, + IKnownFolder **ppkf); + + HRESULT (STDMETHODCALLTYPE *RegisterFolder)( + IKnownFolderManager *This, + REFKNOWNFOLDERID rfid, + const KNOWNFOLDER_DEFINITION *pKFD); + + HRESULT (STDMETHODCALLTYPE *UnregisterFolder)( + IKnownFolderManager *This, + REFKNOWNFOLDERID rfid); + + HRESULT (STDMETHODCALLTYPE *FindFolderFromPath)( + IKnownFolderManager *This, + LPCWSTR pszPath, + FFFP_MODE mode, + IKnownFolder **ppkf); + + HRESULT (STDMETHODCALLTYPE *FindFolderFromIDList)( + IKnownFolderManager *This, + PCIDLIST_ABSOLUTE pidl, + IKnownFolder **ppkf); + + HRESULT (STDMETHODCALLTYPE *Redirect)( + IKnownFolderManager *This, + REFKNOWNFOLDERID rfid, + HWND hwnd, + KF_REDIRECT_FLAGS flags, + LPCWSTR pszTargetPath, + UINT cFolders, + const KNOWNFOLDERID *pExclusion, + LPWSTR *ppszError); + + END_INTERFACE +} IKnownFolderManagerVtbl; + +interface IKnownFolderManager { + CONST_VTBL IKnownFolderManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKnownFolderManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKnownFolderManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKnownFolderManager_Release(This) (This)->lpVtbl->Release(This) +/*** IKnownFolderManager methods ***/ +#define IKnownFolderManager_FolderIdFromCsidl(This,nCsidl,pfid) (This)->lpVtbl->FolderIdFromCsidl(This,nCsidl,pfid) +#define IKnownFolderManager_FolderIdToCsidl(This,rfid,pnCsidl) (This)->lpVtbl->FolderIdToCsidl(This,rfid,pnCsidl) +#define IKnownFolderManager_GetFolderIds(This,ppKFId,pCount) (This)->lpVtbl->GetFolderIds(This,ppKFId,pCount) +#define IKnownFolderManager_GetFolder(This,rfid,ppkf) (This)->lpVtbl->GetFolder(This,rfid,ppkf) +#define IKnownFolderManager_GetFolderByName(This,pszCanonicalName,ppkf) (This)->lpVtbl->GetFolderByName(This,pszCanonicalName,ppkf) +#define IKnownFolderManager_RegisterFolder(This,rfid,pKFD) (This)->lpVtbl->RegisterFolder(This,rfid,pKFD) +#define IKnownFolderManager_UnregisterFolder(This,rfid) (This)->lpVtbl->UnregisterFolder(This,rfid) +#define IKnownFolderManager_FindFolderFromPath(This,pszPath,mode,ppkf) (This)->lpVtbl->FindFolderFromPath(This,pszPath,mode,ppkf) +#define IKnownFolderManager_FindFolderFromIDList(This,pidl,ppkf) (This)->lpVtbl->FindFolderFromIDList(This,pidl,ppkf) +#define IKnownFolderManager_Redirect(This,rfid,hwnd,flags,pszTargetPath,cFolders,pExclusion,ppszError) (This)->lpVtbl->Redirect(This,rfid,hwnd,flags,pszTargetPath,cFolders,pExclusion,ppszError) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKnownFolderManager_QueryInterface(IKnownFolderManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKnownFolderManager_AddRef(IKnownFolderManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKnownFolderManager_Release(IKnownFolderManager* This) { + return This->lpVtbl->Release(This); +} +/*** IKnownFolderManager methods ***/ +static FORCEINLINE HRESULT IKnownFolderManager_FolderIdFromCsidl(IKnownFolderManager* This,int nCsidl,KNOWNFOLDERID *pfid) { + return This->lpVtbl->FolderIdFromCsidl(This,nCsidl,pfid); +} +static FORCEINLINE HRESULT IKnownFolderManager_FolderIdToCsidl(IKnownFolderManager* This,REFKNOWNFOLDERID rfid,int *pnCsidl) { + return This->lpVtbl->FolderIdToCsidl(This,rfid,pnCsidl); +} +static FORCEINLINE HRESULT IKnownFolderManager_GetFolderIds(IKnownFolderManager* This,KNOWNFOLDERID **ppKFId,UINT *pCount) { + return This->lpVtbl->GetFolderIds(This,ppKFId,pCount); +} +static FORCEINLINE HRESULT IKnownFolderManager_GetFolder(IKnownFolderManager* This,REFKNOWNFOLDERID rfid,IKnownFolder **ppkf) { + return This->lpVtbl->GetFolder(This,rfid,ppkf); +} +static FORCEINLINE HRESULT IKnownFolderManager_GetFolderByName(IKnownFolderManager* This,LPCWSTR pszCanonicalName,IKnownFolder **ppkf) { + return This->lpVtbl->GetFolderByName(This,pszCanonicalName,ppkf); +} +static FORCEINLINE HRESULT IKnownFolderManager_RegisterFolder(IKnownFolderManager* This,REFKNOWNFOLDERID rfid,const KNOWNFOLDER_DEFINITION *pKFD) { + return This->lpVtbl->RegisterFolder(This,rfid,pKFD); +} +static FORCEINLINE HRESULT IKnownFolderManager_UnregisterFolder(IKnownFolderManager* This,REFKNOWNFOLDERID rfid) { + return This->lpVtbl->UnregisterFolder(This,rfid); +} +static FORCEINLINE HRESULT IKnownFolderManager_FindFolderFromPath(IKnownFolderManager* This,LPCWSTR pszPath,FFFP_MODE mode,IKnownFolder **ppkf) { + return This->lpVtbl->FindFolderFromPath(This,pszPath,mode,ppkf); +} +static FORCEINLINE HRESULT IKnownFolderManager_FindFolderFromIDList(IKnownFolderManager* This,PCIDLIST_ABSOLUTE pidl,IKnownFolder **ppkf) { + return This->lpVtbl->FindFolderFromIDList(This,pidl,ppkf); +} +static FORCEINLINE HRESULT IKnownFolderManager_Redirect(IKnownFolderManager* This,REFKNOWNFOLDERID rfid,HWND hwnd,KF_REDIRECT_FLAGS flags,LPCWSTR pszTargetPath,UINT cFolders,const KNOWNFOLDERID *pExclusion,LPWSTR *ppszError) { + return This->lpVtbl->Redirect(This,rfid,hwnd,flags,pszTargetPath,cFolders,pExclusion,ppszError); +} +#endif +#endif + +#endif + + +#endif /* __IKnownFolderManager_INTERFACE_DEFINED__ */ + +static inline void FreeKnownFolderDefinitionFields(KNOWNFOLDER_DEFINITION *pKFD) +{ + CoTaskMemFree(pKFD->pszName); + CoTaskMemFree(pKFD->pszDescription); + CoTaskMemFree(pKFD->pszRelativePath); + CoTaskMemFree(pKFD->pszParsingName); + CoTaskMemFree(pKFD->pszTooltip); + CoTaskMemFree(pKFD->pszLocalizedName); + CoTaskMemFree(pKFD->pszIcon); + CoTaskMemFree(pKFD->pszSecurity); +} +typedef enum ASSOCIATIONLEVEL { + AL_MACHINE = 0, + AL_EFFECTIVE = 1, + AL_USER = 2 +} ASSOCIATIONLEVEL; +typedef enum ASSOCIATIONTYPE { + AT_FILEEXTENSION = 0, + AT_URLPROTOCOL = 1, + AT_STARTMENUCLIENT = 2, + AT_MIMETYPE = 3 +} ASSOCIATIONTYPE; +/***************************************************************************** + * IApplicationAssociationRegistration interface + */ +#ifndef __IApplicationAssociationRegistration_INTERFACE_DEFINED__ +#define __IApplicationAssociationRegistration_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IApplicationAssociationRegistration, 0x4e530b0a, 0xe611, 0x4c77, 0xa3,0xac, 0x90,0x31,0xd0,0x22,0x28,0x1b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4e530b0a-e611-4c77-a3ac-9031d022281b") +IApplicationAssociationRegistration : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryCurrentDefault( + LPCWSTR pszQuery, + ASSOCIATIONTYPE atQueryType, + ASSOCIATIONLEVEL alQueryLevel, + LPWSTR *ppszAssociation) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAppIsDefault( + LPCWSTR pszQuery, + ASSOCIATIONTYPE atQueryType, + ASSOCIATIONLEVEL alQueryLevel, + LPCWSTR pszAppRegistryName, + BOOL *pfDefault) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAppIsDefaultAll( + ASSOCIATIONLEVEL alQueryLevel, + LPCWSTR pszAppRegistryName, + BOOL *pfDefault) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAppAsDefault( + LPCWSTR pszAppRegistryName, + LPCWSTR pszSet, + ASSOCIATIONTYPE atSetType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAppAsDefaultAll( + LPCWSTR pszAppRegistryName) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearUserAssociations( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IApplicationAssociationRegistration, 0x4e530b0a, 0xe611, 0x4c77, 0xa3,0xac, 0x90,0x31,0xd0,0x22,0x28,0x1b) +#endif +#else +typedef struct IApplicationAssociationRegistrationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IApplicationAssociationRegistration *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IApplicationAssociationRegistration *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IApplicationAssociationRegistration *This); + + /*** IApplicationAssociationRegistration methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryCurrentDefault)( + IApplicationAssociationRegistration *This, + LPCWSTR pszQuery, + ASSOCIATIONTYPE atQueryType, + ASSOCIATIONLEVEL alQueryLevel, + LPWSTR *ppszAssociation); + + HRESULT (STDMETHODCALLTYPE *QueryAppIsDefault)( + IApplicationAssociationRegistration *This, + LPCWSTR pszQuery, + ASSOCIATIONTYPE atQueryType, + ASSOCIATIONLEVEL alQueryLevel, + LPCWSTR pszAppRegistryName, + BOOL *pfDefault); + + HRESULT (STDMETHODCALLTYPE *QueryAppIsDefaultAll)( + IApplicationAssociationRegistration *This, + ASSOCIATIONLEVEL alQueryLevel, + LPCWSTR pszAppRegistryName, + BOOL *pfDefault); + + HRESULT (STDMETHODCALLTYPE *SetAppAsDefault)( + IApplicationAssociationRegistration *This, + LPCWSTR pszAppRegistryName, + LPCWSTR pszSet, + ASSOCIATIONTYPE atSetType); + + HRESULT (STDMETHODCALLTYPE *SetAppAsDefaultAll)( + IApplicationAssociationRegistration *This, + LPCWSTR pszAppRegistryName); + + HRESULT (STDMETHODCALLTYPE *ClearUserAssociations)( + IApplicationAssociationRegistration *This); + + END_INTERFACE +} IApplicationAssociationRegistrationVtbl; + +interface IApplicationAssociationRegistration { + CONST_VTBL IApplicationAssociationRegistrationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IApplicationAssociationRegistration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IApplicationAssociationRegistration_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IApplicationAssociationRegistration_Release(This) (This)->lpVtbl->Release(This) +/*** IApplicationAssociationRegistration methods ***/ +#define IApplicationAssociationRegistration_QueryCurrentDefault(This,pszQuery,atQueryType,alQueryLevel,ppszAssociation) (This)->lpVtbl->QueryCurrentDefault(This,pszQuery,atQueryType,alQueryLevel,ppszAssociation) +#define IApplicationAssociationRegistration_QueryAppIsDefault(This,pszQuery,atQueryType,alQueryLevel,pszAppRegistryName,pfDefault) (This)->lpVtbl->QueryAppIsDefault(This,pszQuery,atQueryType,alQueryLevel,pszAppRegistryName,pfDefault) +#define IApplicationAssociationRegistration_QueryAppIsDefaultAll(This,alQueryLevel,pszAppRegistryName,pfDefault) (This)->lpVtbl->QueryAppIsDefaultAll(This,alQueryLevel,pszAppRegistryName,pfDefault) +#define IApplicationAssociationRegistration_SetAppAsDefault(This,pszAppRegistryName,pszSet,atSetType) (This)->lpVtbl->SetAppAsDefault(This,pszAppRegistryName,pszSet,atSetType) +#define IApplicationAssociationRegistration_SetAppAsDefaultAll(This,pszAppRegistryName) (This)->lpVtbl->SetAppAsDefaultAll(This,pszAppRegistryName) +#define IApplicationAssociationRegistration_ClearUserAssociations(This) (This)->lpVtbl->ClearUserAssociations(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IApplicationAssociationRegistration_QueryInterface(IApplicationAssociationRegistration* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IApplicationAssociationRegistration_AddRef(IApplicationAssociationRegistration* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IApplicationAssociationRegistration_Release(IApplicationAssociationRegistration* This) { + return This->lpVtbl->Release(This); +} +/*** IApplicationAssociationRegistration methods ***/ +static FORCEINLINE HRESULT IApplicationAssociationRegistration_QueryCurrentDefault(IApplicationAssociationRegistration* This,LPCWSTR pszQuery,ASSOCIATIONTYPE atQueryType,ASSOCIATIONLEVEL alQueryLevel,LPWSTR *ppszAssociation) { + return This->lpVtbl->QueryCurrentDefault(This,pszQuery,atQueryType,alQueryLevel,ppszAssociation); +} +static FORCEINLINE HRESULT IApplicationAssociationRegistration_QueryAppIsDefault(IApplicationAssociationRegistration* This,LPCWSTR pszQuery,ASSOCIATIONTYPE atQueryType,ASSOCIATIONLEVEL alQueryLevel,LPCWSTR pszAppRegistryName,BOOL *pfDefault) { + return This->lpVtbl->QueryAppIsDefault(This,pszQuery,atQueryType,alQueryLevel,pszAppRegistryName,pfDefault); +} +static FORCEINLINE HRESULT IApplicationAssociationRegistration_QueryAppIsDefaultAll(IApplicationAssociationRegistration* This,ASSOCIATIONLEVEL alQueryLevel,LPCWSTR pszAppRegistryName,BOOL *pfDefault) { + return This->lpVtbl->QueryAppIsDefaultAll(This,alQueryLevel,pszAppRegistryName,pfDefault); +} +static FORCEINLINE HRESULT IApplicationAssociationRegistration_SetAppAsDefault(IApplicationAssociationRegistration* This,LPCWSTR pszAppRegistryName,LPCWSTR pszSet,ASSOCIATIONTYPE atSetType) { + return This->lpVtbl->SetAppAsDefault(This,pszAppRegistryName,pszSet,atSetType); +} +static FORCEINLINE HRESULT IApplicationAssociationRegistration_SetAppAsDefaultAll(IApplicationAssociationRegistration* This,LPCWSTR pszAppRegistryName) { + return This->lpVtbl->SetAppAsDefaultAll(This,pszAppRegistryName); +} +static FORCEINLINE HRESULT IApplicationAssociationRegistration_ClearUserAssociations(IApplicationAssociationRegistration* This) { + return This->lpVtbl->ClearUserAssociations(This); +} +#endif +#endif + +#endif + + +#endif /* __IApplicationAssociationRegistration_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IApplicationDestinations interface + */ +#ifndef __IApplicationDestinations_INTERFACE_DEFINED__ +#define __IApplicationDestinations_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IApplicationDestinations, 0x12337d35, 0x94c6, 0x48a0, 0xbc,0xe7, 0x6a,0x9c,0x69,0xd4,0xd6,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("12337d35-94c6-48a0-bce7-6a9c69d4d600") +IApplicationDestinations : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAppID( + LPCWSTR pszAppID) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveDestination( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllDestinations( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IApplicationDestinations, 0x12337d35, 0x94c6, 0x48a0, 0xbc,0xe7, 0x6a,0x9c,0x69,0xd4,0xd6,0x00) +#endif +#else +typedef struct IApplicationDestinationsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IApplicationDestinations *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IApplicationDestinations *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IApplicationDestinations *This); + + /*** IApplicationDestinations methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAppID)( + IApplicationDestinations *This, + LPCWSTR pszAppID); + + HRESULT (STDMETHODCALLTYPE *RemoveDestination)( + IApplicationDestinations *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *RemoveAllDestinations)( + IApplicationDestinations *This); + + END_INTERFACE +} IApplicationDestinationsVtbl; + +interface IApplicationDestinations { + CONST_VTBL IApplicationDestinationsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IApplicationDestinations_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IApplicationDestinations_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IApplicationDestinations_Release(This) (This)->lpVtbl->Release(This) +/*** IApplicationDestinations methods ***/ +#define IApplicationDestinations_SetAppID(This,pszAppID) (This)->lpVtbl->SetAppID(This,pszAppID) +#define IApplicationDestinations_RemoveDestination(This,punk) (This)->lpVtbl->RemoveDestination(This,punk) +#define IApplicationDestinations_RemoveAllDestinations(This) (This)->lpVtbl->RemoveAllDestinations(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IApplicationDestinations_QueryInterface(IApplicationDestinations* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IApplicationDestinations_AddRef(IApplicationDestinations* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IApplicationDestinations_Release(IApplicationDestinations* This) { + return This->lpVtbl->Release(This); +} +/*** IApplicationDestinations methods ***/ +static FORCEINLINE HRESULT IApplicationDestinations_SetAppID(IApplicationDestinations* This,LPCWSTR pszAppID) { + return This->lpVtbl->SetAppID(This,pszAppID); +} +static FORCEINLINE HRESULT IApplicationDestinations_RemoveDestination(IApplicationDestinations* This,IUnknown *punk) { + return This->lpVtbl->RemoveDestination(This,punk); +} +static FORCEINLINE HRESULT IApplicationDestinations_RemoveAllDestinations(IApplicationDestinations* This) { + return This->lpVtbl->RemoveAllDestinations(This); +} +#endif +#endif + +#endif + + +#endif /* __IApplicationDestinations_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICustomDestinationList interface + */ +#ifndef __ICustomDestinationList_INTERFACE_DEFINED__ +#define __ICustomDestinationList_INTERFACE_DEFINED__ + +typedef enum KNOWNDESTCATEGORY { + KDC_FREQUENT = 1, + KDC_RECENT = 2 +} KNOWNDESTCATEGORY; +DEFINE_GUID(IID_ICustomDestinationList, 0x6332debf, 0x87b5, 0x4670, 0x90,0xc0, 0x5e,0x57,0xb4,0x08,0xa4,0x9e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6332debf-87b5-4670-90c0-5e57b408a49e") +ICustomDestinationList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAppID( + LPCWSTR pszAppID) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginList( + UINT *pcMinSlots, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendCategory( + LPCWSTR pszCategory, + IObjectArray *poa) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendKnownCategory( + KNOWNDESTCATEGORY category) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddUserTasks( + IObjectArray *poa) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitList( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRemovedDestinations( + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteList( + LPCWSTR pszAppID) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbortList( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICustomDestinationList, 0x6332debf, 0x87b5, 0x4670, 0x90,0xc0, 0x5e,0x57,0xb4,0x08,0xa4,0x9e) +#endif +#else +typedef struct ICustomDestinationListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICustomDestinationList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICustomDestinationList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICustomDestinationList *This); + + /*** ICustomDestinationList methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAppID)( + ICustomDestinationList *This, + LPCWSTR pszAppID); + + HRESULT (STDMETHODCALLTYPE *BeginList)( + ICustomDestinationList *This, + UINT *pcMinSlots, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *AppendCategory)( + ICustomDestinationList *This, + LPCWSTR pszCategory, + IObjectArray *poa); + + HRESULT (STDMETHODCALLTYPE *AppendKnownCategory)( + ICustomDestinationList *This, + KNOWNDESTCATEGORY category); + + HRESULT (STDMETHODCALLTYPE *AddUserTasks)( + ICustomDestinationList *This, + IObjectArray *poa); + + HRESULT (STDMETHODCALLTYPE *CommitList)( + ICustomDestinationList *This); + + HRESULT (STDMETHODCALLTYPE *GetRemovedDestinations)( + ICustomDestinationList *This, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *DeleteList)( + ICustomDestinationList *This, + LPCWSTR pszAppID); + + HRESULT (STDMETHODCALLTYPE *AbortList)( + ICustomDestinationList *This); + + END_INTERFACE +} ICustomDestinationListVtbl; + +interface ICustomDestinationList { + CONST_VTBL ICustomDestinationListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICustomDestinationList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICustomDestinationList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICustomDestinationList_Release(This) (This)->lpVtbl->Release(This) +/*** ICustomDestinationList methods ***/ +#define ICustomDestinationList_SetAppID(This,pszAppID) (This)->lpVtbl->SetAppID(This,pszAppID) +#define ICustomDestinationList_BeginList(This,pcMinSlots,riid,ppv) (This)->lpVtbl->BeginList(This,pcMinSlots,riid,ppv) +#define ICustomDestinationList_AppendCategory(This,pszCategory,poa) (This)->lpVtbl->AppendCategory(This,pszCategory,poa) +#define ICustomDestinationList_AppendKnownCategory(This,category) (This)->lpVtbl->AppendKnownCategory(This,category) +#define ICustomDestinationList_AddUserTasks(This,poa) (This)->lpVtbl->AddUserTasks(This,poa) +#define ICustomDestinationList_CommitList(This) (This)->lpVtbl->CommitList(This) +#define ICustomDestinationList_GetRemovedDestinations(This,riid,ppv) (This)->lpVtbl->GetRemovedDestinations(This,riid,ppv) +#define ICustomDestinationList_DeleteList(This,pszAppID) (This)->lpVtbl->DeleteList(This,pszAppID) +#define ICustomDestinationList_AbortList(This) (This)->lpVtbl->AbortList(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICustomDestinationList_QueryInterface(ICustomDestinationList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICustomDestinationList_AddRef(ICustomDestinationList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICustomDestinationList_Release(ICustomDestinationList* This) { + return This->lpVtbl->Release(This); +} +/*** ICustomDestinationList methods ***/ +static FORCEINLINE HRESULT ICustomDestinationList_SetAppID(ICustomDestinationList* This,LPCWSTR pszAppID) { + return This->lpVtbl->SetAppID(This,pszAppID); +} +static FORCEINLINE HRESULT ICustomDestinationList_BeginList(ICustomDestinationList* This,UINT *pcMinSlots,REFIID riid,void **ppv) { + return This->lpVtbl->BeginList(This,pcMinSlots,riid,ppv); +} +static FORCEINLINE HRESULT ICustomDestinationList_AppendCategory(ICustomDestinationList* This,LPCWSTR pszCategory,IObjectArray *poa) { + return This->lpVtbl->AppendCategory(This,pszCategory,poa); +} +static FORCEINLINE HRESULT ICustomDestinationList_AppendKnownCategory(ICustomDestinationList* This,KNOWNDESTCATEGORY category) { + return This->lpVtbl->AppendKnownCategory(This,category); +} +static FORCEINLINE HRESULT ICustomDestinationList_AddUserTasks(ICustomDestinationList* This,IObjectArray *poa) { + return This->lpVtbl->AddUserTasks(This,poa); +} +static FORCEINLINE HRESULT ICustomDestinationList_CommitList(ICustomDestinationList* This) { + return This->lpVtbl->CommitList(This); +} +static FORCEINLINE HRESULT ICustomDestinationList_GetRemovedDestinations(ICustomDestinationList* This,REFIID riid,void **ppv) { + return This->lpVtbl->GetRemovedDestinations(This,riid,ppv); +} +static FORCEINLINE HRESULT ICustomDestinationList_DeleteList(ICustomDestinationList* This,LPCWSTR pszAppID) { + return This->lpVtbl->DeleteList(This,pszAppID); +} +static FORCEINLINE HRESULT ICustomDestinationList_AbortList(ICustomDestinationList* This) { + return This->lpVtbl->AbortList(This); +} +#endif +#endif + +#endif + + +#endif /* __ICustomDestinationList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IQueryCancelAutoPlay interface + */ +#ifndef __IQueryCancelAutoPlay_INTERFACE_DEFINED__ +#define __IQueryCancelAutoPlay_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IQueryCancelAutoPlay, 0xddefe873, 0x6997, 0x4e68, 0xbe,0x26, 0x39,0xb6,0x33,0xad,0xbe,0x12); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ddefe873-6997-4e68-be26-39b633adbe12") +IQueryCancelAutoPlay : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AllowAutoPlay( + LPCWSTR path, + DWORD content_type, + LPCWSTR label, + DWORD serial_number) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IQueryCancelAutoPlay, 0xddefe873, 0x6997, 0x4e68, 0xbe,0x26, 0x39,0xb6,0x33,0xad,0xbe,0x12) +#endif +#else +typedef struct IQueryCancelAutoPlayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IQueryCancelAutoPlay *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IQueryCancelAutoPlay *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IQueryCancelAutoPlay *This); + + /*** IQueryCancelAutoPlay methods ***/ + HRESULT (STDMETHODCALLTYPE *AllowAutoPlay)( + IQueryCancelAutoPlay *This, + LPCWSTR path, + DWORD content_type, + LPCWSTR label, + DWORD serial_number); + + END_INTERFACE +} IQueryCancelAutoPlayVtbl; + +interface IQueryCancelAutoPlay { + CONST_VTBL IQueryCancelAutoPlayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IQueryCancelAutoPlay_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IQueryCancelAutoPlay_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IQueryCancelAutoPlay_Release(This) (This)->lpVtbl->Release(This) +/*** IQueryCancelAutoPlay methods ***/ +#define IQueryCancelAutoPlay_AllowAutoPlay(This,path,content_type,label,serial_number) (This)->lpVtbl->AllowAutoPlay(This,path,content_type,label,serial_number) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IQueryCancelAutoPlay_QueryInterface(IQueryCancelAutoPlay* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IQueryCancelAutoPlay_AddRef(IQueryCancelAutoPlay* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IQueryCancelAutoPlay_Release(IQueryCancelAutoPlay* This) { + return This->lpVtbl->Release(This); +} +/*** IQueryCancelAutoPlay methods ***/ +static FORCEINLINE HRESULT IQueryCancelAutoPlay_AllowAutoPlay(IQueryCancelAutoPlay* This,LPCWSTR path,DWORD content_type,LPCWSTR label,DWORD serial_number) { + return This->lpVtbl->AllowAutoPlay(This,path,content_type,label,serial_number); +} +#endif +#endif + +#endif + + +#endif /* __IQueryCancelAutoPlay_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransferAdviseSink interface + */ +#ifndef __ITransferAdviseSink_INTERFACE_DEFINED__ +#define __ITransferAdviseSink_INTERFACE_DEFINED__ + +enum _TRANSFER_ADVISE_STATE { + TS_NONE = 0, + TS_PERFORMING = 1, + TS_PREPARING = 2, + TS_INDETERMINATE = 4 +}; +typedef DWORD TRANSFER_ADVISE_STATE; +DEFINE_GUID(IID_ITransferAdviseSink, 0xd594d0d8, 0x8da7, 0x457b, 0xb3,0xb4, 0xce,0x5d,0xba,0xac,0x0b,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d594d0d8-8da7-457b-b3b4-ce5dbaac0b88") +ITransferAdviseSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE UpdateProgress( + ULONGLONG size_current, + ULONGLONG size_total, + INT files_current, + INT files_total, + INT folders_current, + INT folders_total) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateTransferState( + TRANSFER_ADVISE_STATE state) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConfirmOverwrite( + IShellItem *source, + IShellItem *dest_parent, + LPCWSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConfirmEncryptLoss( + IShellItem *source) = 0; + + virtual HRESULT STDMETHODCALLTYPE FileFailure( + IShellItem *item, + LPCWSTR itemname, + HRESULT hr, + LPWSTR rename, + ULONG crename) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubStreamFailure( + IShellItem *item, + LPCWSTR stream, + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE PropertyFailure( + IShellItem *item, + const PROPERTYKEY *key, + HRESULT hr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransferAdviseSink, 0xd594d0d8, 0x8da7, 0x457b, 0xb3,0xb4, 0xce,0x5d,0xba,0xac,0x0b,0x88) +#endif +#else +typedef struct ITransferAdviseSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransferAdviseSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransferAdviseSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransferAdviseSink *This); + + /*** ITransferAdviseSink methods ***/ + HRESULT (STDMETHODCALLTYPE *UpdateProgress)( + ITransferAdviseSink *This, + ULONGLONG size_current, + ULONGLONG size_total, + INT files_current, + INT files_total, + INT folders_current, + INT folders_total); + + HRESULT (STDMETHODCALLTYPE *UpdateTransferState)( + ITransferAdviseSink *This, + TRANSFER_ADVISE_STATE state); + + HRESULT (STDMETHODCALLTYPE *ConfirmOverwrite)( + ITransferAdviseSink *This, + IShellItem *source, + IShellItem *dest_parent, + LPCWSTR name); + + HRESULT (STDMETHODCALLTYPE *ConfirmEncryptLoss)( + ITransferAdviseSink *This, + IShellItem *source); + + HRESULT (STDMETHODCALLTYPE *FileFailure)( + ITransferAdviseSink *This, + IShellItem *item, + LPCWSTR itemname, + HRESULT hr, + LPWSTR rename, + ULONG crename); + + HRESULT (STDMETHODCALLTYPE *SubStreamFailure)( + ITransferAdviseSink *This, + IShellItem *item, + LPCWSTR stream, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *PropertyFailure)( + ITransferAdviseSink *This, + IShellItem *item, + const PROPERTYKEY *key, + HRESULT hr); + + END_INTERFACE +} ITransferAdviseSinkVtbl; + +interface ITransferAdviseSink { + CONST_VTBL ITransferAdviseSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransferAdviseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransferAdviseSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransferAdviseSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITransferAdviseSink methods ***/ +#define ITransferAdviseSink_UpdateProgress(This,size_current,size_total,files_current,files_total,folders_current,folders_total) (This)->lpVtbl->UpdateProgress(This,size_current,size_total,files_current,files_total,folders_current,folders_total) +#define ITransferAdviseSink_UpdateTransferState(This,state) (This)->lpVtbl->UpdateTransferState(This,state) +#define ITransferAdviseSink_ConfirmOverwrite(This,source,dest_parent,name) (This)->lpVtbl->ConfirmOverwrite(This,source,dest_parent,name) +#define ITransferAdviseSink_ConfirmEncryptLoss(This,source) (This)->lpVtbl->ConfirmEncryptLoss(This,source) +#define ITransferAdviseSink_FileFailure(This,item,itemname,hr,rename,crename) (This)->lpVtbl->FileFailure(This,item,itemname,hr,rename,crename) +#define ITransferAdviseSink_SubStreamFailure(This,item,stream,hr) (This)->lpVtbl->SubStreamFailure(This,item,stream,hr) +#define ITransferAdviseSink_PropertyFailure(This,item,key,hr) (This)->lpVtbl->PropertyFailure(This,item,key,hr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransferAdviseSink_QueryInterface(ITransferAdviseSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransferAdviseSink_AddRef(ITransferAdviseSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransferAdviseSink_Release(ITransferAdviseSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITransferAdviseSink methods ***/ +static FORCEINLINE HRESULT ITransferAdviseSink_UpdateProgress(ITransferAdviseSink* This,ULONGLONG size_current,ULONGLONG size_total,INT files_current,INT files_total,INT folders_current,INT folders_total) { + return This->lpVtbl->UpdateProgress(This,size_current,size_total,files_current,files_total,folders_current,folders_total); +} +static FORCEINLINE HRESULT ITransferAdviseSink_UpdateTransferState(ITransferAdviseSink* This,TRANSFER_ADVISE_STATE state) { + return This->lpVtbl->UpdateTransferState(This,state); +} +static FORCEINLINE HRESULT ITransferAdviseSink_ConfirmOverwrite(ITransferAdviseSink* This,IShellItem *source,IShellItem *dest_parent,LPCWSTR name) { + return This->lpVtbl->ConfirmOverwrite(This,source,dest_parent,name); +} +static FORCEINLINE HRESULT ITransferAdviseSink_ConfirmEncryptLoss(ITransferAdviseSink* This,IShellItem *source) { + return This->lpVtbl->ConfirmEncryptLoss(This,source); +} +static FORCEINLINE HRESULT ITransferAdviseSink_FileFailure(ITransferAdviseSink* This,IShellItem *item,LPCWSTR itemname,HRESULT hr,LPWSTR rename,ULONG crename) { + return This->lpVtbl->FileFailure(This,item,itemname,hr,rename,crename); +} +static FORCEINLINE HRESULT ITransferAdviseSink_SubStreamFailure(ITransferAdviseSink* This,IShellItem *item,LPCWSTR stream,HRESULT hr) { + return This->lpVtbl->SubStreamFailure(This,item,stream,hr); +} +static FORCEINLINE HRESULT ITransferAdviseSink_PropertyFailure(ITransferAdviseSink* This,IShellItem *item,const PROPERTYKEY *key,HRESULT hr) { + return This->lpVtbl->PropertyFailure(This,item,key,hr); +} +#endif +#endif + +#endif + + +#endif /* __ITransferAdviseSink_INTERFACE_DEFINED__ */ + +enum _TRANSFER_SOURCE_FLAGS { + TSF_NORMAL = 0, + TSF_FAIL_EXIST = 0, + TSF_RENAME_EXIST = 0x1, + TSF_OVERWRITE_EXIST = 0x2, + TSF_ALLOW_DECRYPTION = 0x4, + TSF_NO_SECURITY = 0x8, + TSF_COPY_CREATION_TIME = 0x10, + TSF_COPY_WRITE_TIME = 0x20, + TSF_USE_FULL_ACCESS = 0x40, + TSF_DELETE_RECYCLE_IF_POSSIBLE = 0x80, + TSF_COPY_HARD_LINK = 0x100, + TSF_COPY_LOCALIZED_NAME = 0x200, + TSF_MOVE_AS_COPY_DELETE = 0x400, + TSF_SUSPEND_SHELLEVENTS = 0x800 +}; +typedef DWORD TRANSFER_SOURCE_FLAGS; +/***************************************************************************** + * ITransferSource interface + */ +#ifndef __ITransferSource_INTERFACE_DEFINED__ +#define __ITransferSource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransferSource, 0x00adb003, 0xbde9, 0x45c6, 0x8e,0x29, 0xd0,0x9f,0x93,0x53,0xe1,0x08); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00adb003-bde9-45c6-8e29-d09f9353e108") +ITransferSource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Advise( + ITransferAdviseSink *sink, + DWORD *cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperties( + IPropertyChangeArray *array) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenItem( + IShellItem *item, + TRANSFER_SOURCE_FLAGS flags, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveItem( + IShellItem *item, + IShellItem *parent_dest, + LPCWSTR name_dest, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **newitem) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecycleItem( + IShellItem *source, + IShellItem *parent_dest, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **new_dest) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveItem( + IShellItem *source, + TRANSFER_SOURCE_FLAGS flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenameItem( + IShellItem *source, + LPCWSTR newname, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **new_dest) = 0; + + virtual HRESULT STDMETHODCALLTYPE LinkItem( + IShellItem *source, + IShellItem *parent_dest, + LPCWSTR new_name, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **new_dest) = 0; + + virtual HRESULT STDMETHODCALLTYPE ApplyPropertiesToItem( + IShellItem *source, + IShellItem **newitem) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultDestinationName( + IShellItem *source, + IShellItem *parent_dest, + LPWSTR *dest_name) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnterFolder( + IShellItem *child_folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE LeaveFolder( + IShellItem *child_folder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransferSource, 0x00adb003, 0xbde9, 0x45c6, 0x8e,0x29, 0xd0,0x9f,0x93,0x53,0xe1,0x08) +#endif +#else +typedef struct ITransferSourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransferSource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransferSource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransferSource *This); + + /*** ITransferSource methods ***/ + HRESULT (STDMETHODCALLTYPE *Advise)( + ITransferSource *This, + ITransferAdviseSink *sink, + DWORD *cookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + ITransferSource *This, + DWORD cookie); + + HRESULT (STDMETHODCALLTYPE *SetProperties)( + ITransferSource *This, + IPropertyChangeArray *array); + + HRESULT (STDMETHODCALLTYPE *OpenItem)( + ITransferSource *This, + IShellItem *item, + TRANSFER_SOURCE_FLAGS flags, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *MoveItem)( + ITransferSource *This, + IShellItem *item, + IShellItem *parent_dest, + LPCWSTR name_dest, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **newitem); + + HRESULT (STDMETHODCALLTYPE *RecycleItem)( + ITransferSource *This, + IShellItem *source, + IShellItem *parent_dest, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **new_dest); + + HRESULT (STDMETHODCALLTYPE *RemoveItem)( + ITransferSource *This, + IShellItem *source, + TRANSFER_SOURCE_FLAGS flags); + + HRESULT (STDMETHODCALLTYPE *RenameItem)( + ITransferSource *This, + IShellItem *source, + LPCWSTR newname, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **new_dest); + + HRESULT (STDMETHODCALLTYPE *LinkItem)( + ITransferSource *This, + IShellItem *source, + IShellItem *parent_dest, + LPCWSTR new_name, + TRANSFER_SOURCE_FLAGS flags, + IShellItem **new_dest); + + HRESULT (STDMETHODCALLTYPE *ApplyPropertiesToItem)( + ITransferSource *This, + IShellItem *source, + IShellItem **newitem); + + HRESULT (STDMETHODCALLTYPE *GetDefaultDestinationName)( + ITransferSource *This, + IShellItem *source, + IShellItem *parent_dest, + LPWSTR *dest_name); + + HRESULT (STDMETHODCALLTYPE *EnterFolder)( + ITransferSource *This, + IShellItem *child_folder); + + HRESULT (STDMETHODCALLTYPE *LeaveFolder)( + ITransferSource *This, + IShellItem *child_folder); + + END_INTERFACE +} ITransferSourceVtbl; + +interface ITransferSource { + CONST_VTBL ITransferSourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransferSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransferSource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransferSource_Release(This) (This)->lpVtbl->Release(This) +/*** ITransferSource methods ***/ +#define ITransferSource_Advise(This,sink,cookie) (This)->lpVtbl->Advise(This,sink,cookie) +#define ITransferSource_Unadvise(This,cookie) (This)->lpVtbl->Unadvise(This,cookie) +#define ITransferSource_SetProperties(This,array) (This)->lpVtbl->SetProperties(This,array) +#define ITransferSource_OpenItem(This,item,flags,riid,ppv) (This)->lpVtbl->OpenItem(This,item,flags,riid,ppv) +#define ITransferSource_MoveItem(This,item,parent_dest,name_dest,flags,newitem) (This)->lpVtbl->MoveItem(This,item,parent_dest,name_dest,flags,newitem) +#define ITransferSource_RecycleItem(This,source,parent_dest,flags,new_dest) (This)->lpVtbl->RecycleItem(This,source,parent_dest,flags,new_dest) +#define ITransferSource_RemoveItem(This,source,flags) (This)->lpVtbl->RemoveItem(This,source,flags) +#define ITransferSource_RenameItem(This,source,newname,flags,new_dest) (This)->lpVtbl->RenameItem(This,source,newname,flags,new_dest) +#define ITransferSource_LinkItem(This,source,parent_dest,new_name,flags,new_dest) (This)->lpVtbl->LinkItem(This,source,parent_dest,new_name,flags,new_dest) +#define ITransferSource_ApplyPropertiesToItem(This,source,newitem) (This)->lpVtbl->ApplyPropertiesToItem(This,source,newitem) +#define ITransferSource_GetDefaultDestinationName(This,source,parent_dest,dest_name) (This)->lpVtbl->GetDefaultDestinationName(This,source,parent_dest,dest_name) +#define ITransferSource_EnterFolder(This,child_folder) (This)->lpVtbl->EnterFolder(This,child_folder) +#define ITransferSource_LeaveFolder(This,child_folder) (This)->lpVtbl->LeaveFolder(This,child_folder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransferSource_QueryInterface(ITransferSource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransferSource_AddRef(ITransferSource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransferSource_Release(ITransferSource* This) { + return This->lpVtbl->Release(This); +} +/*** ITransferSource methods ***/ +static FORCEINLINE HRESULT ITransferSource_Advise(ITransferSource* This,ITransferAdviseSink *sink,DWORD *cookie) { + return This->lpVtbl->Advise(This,sink,cookie); +} +static FORCEINLINE HRESULT ITransferSource_Unadvise(ITransferSource* This,DWORD cookie) { + return This->lpVtbl->Unadvise(This,cookie); +} +static FORCEINLINE HRESULT ITransferSource_SetProperties(ITransferSource* This,IPropertyChangeArray *array) { + return This->lpVtbl->SetProperties(This,array); +} +static FORCEINLINE HRESULT ITransferSource_OpenItem(ITransferSource* This,IShellItem *item,TRANSFER_SOURCE_FLAGS flags,REFIID riid,void **ppv) { + return This->lpVtbl->OpenItem(This,item,flags,riid,ppv); +} +static FORCEINLINE HRESULT ITransferSource_MoveItem(ITransferSource* This,IShellItem *item,IShellItem *parent_dest,LPCWSTR name_dest,TRANSFER_SOURCE_FLAGS flags,IShellItem **newitem) { + return This->lpVtbl->MoveItem(This,item,parent_dest,name_dest,flags,newitem); +} +static FORCEINLINE HRESULT ITransferSource_RecycleItem(ITransferSource* This,IShellItem *source,IShellItem *parent_dest,TRANSFER_SOURCE_FLAGS flags,IShellItem **new_dest) { + return This->lpVtbl->RecycleItem(This,source,parent_dest,flags,new_dest); +} +static FORCEINLINE HRESULT ITransferSource_RemoveItem(ITransferSource* This,IShellItem *source,TRANSFER_SOURCE_FLAGS flags) { + return This->lpVtbl->RemoveItem(This,source,flags); +} +static FORCEINLINE HRESULT ITransferSource_RenameItem(ITransferSource* This,IShellItem *source,LPCWSTR newname,TRANSFER_SOURCE_FLAGS flags,IShellItem **new_dest) { + return This->lpVtbl->RenameItem(This,source,newname,flags,new_dest); +} +static FORCEINLINE HRESULT ITransferSource_LinkItem(ITransferSource* This,IShellItem *source,IShellItem *parent_dest,LPCWSTR new_name,TRANSFER_SOURCE_FLAGS flags,IShellItem **new_dest) { + return This->lpVtbl->LinkItem(This,source,parent_dest,new_name,flags,new_dest); +} +static FORCEINLINE HRESULT ITransferSource_ApplyPropertiesToItem(ITransferSource* This,IShellItem *source,IShellItem **newitem) { + return This->lpVtbl->ApplyPropertiesToItem(This,source,newitem); +} +static FORCEINLINE HRESULT ITransferSource_GetDefaultDestinationName(ITransferSource* This,IShellItem *source,IShellItem *parent_dest,LPWSTR *dest_name) { + return This->lpVtbl->GetDefaultDestinationName(This,source,parent_dest,dest_name); +} +static FORCEINLINE HRESULT ITransferSource_EnterFolder(ITransferSource* This,IShellItem *child_folder) { + return This->lpVtbl->EnterFolder(This,child_folder); +} +static FORCEINLINE HRESULT ITransferSource_LeaveFolder(ITransferSource* This,IShellItem *child_folder) { + return This->lpVtbl->LeaveFolder(This,child_folder); +} +#endif +#endif + +#endif + + +#endif /* __ITransferSource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransferDestination interface + */ +#ifndef __ITransferDestination_INTERFACE_DEFINED__ +#define __ITransferDestination_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransferDestination, 0x48addd32, 0x3ca5, 0x4124, 0xab,0xe3, 0xb5,0xa7,0x25,0x31,0xb2,0x07); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("48addd32-3ca5-4124-abe3-b5a72531b207") +ITransferDestination : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Advise( + ITransferAdviseSink *sink, + DWORD *cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD cookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateItem( + LPCWSTR name, + DWORD attr, + ULONGLONG size, + TRANSFER_SOURCE_FLAGS flags, + REFIID riid, + void **ppv, + REFIID resources, + void **presources) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransferDestination, 0x48addd32, 0x3ca5, 0x4124, 0xab,0xe3, 0xb5,0xa7,0x25,0x31,0xb2,0x07) +#endif +#else +typedef struct ITransferDestinationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransferDestination *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransferDestination *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransferDestination *This); + + /*** ITransferDestination methods ***/ + HRESULT (STDMETHODCALLTYPE *Advise)( + ITransferDestination *This, + ITransferAdviseSink *sink, + DWORD *cookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + ITransferDestination *This, + DWORD cookie); + + HRESULT (STDMETHODCALLTYPE *CreateItem)( + ITransferDestination *This, + LPCWSTR name, + DWORD attr, + ULONGLONG size, + TRANSFER_SOURCE_FLAGS flags, + REFIID riid, + void **ppv, + REFIID resources, + void **presources); + + END_INTERFACE +} ITransferDestinationVtbl; + +interface ITransferDestination { + CONST_VTBL ITransferDestinationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransferDestination_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransferDestination_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransferDestination_Release(This) (This)->lpVtbl->Release(This) +/*** ITransferDestination methods ***/ +#define ITransferDestination_Advise(This,sink,cookie) (This)->lpVtbl->Advise(This,sink,cookie) +#define ITransferDestination_Unadvise(This,cookie) (This)->lpVtbl->Unadvise(This,cookie) +#define ITransferDestination_CreateItem(This,name,attr,size,flags,riid,ppv,resources,presources) (This)->lpVtbl->CreateItem(This,name,attr,size,flags,riid,ppv,resources,presources) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransferDestination_QueryInterface(ITransferDestination* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransferDestination_AddRef(ITransferDestination* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransferDestination_Release(ITransferDestination* This) { + return This->lpVtbl->Release(This); +} +/*** ITransferDestination methods ***/ +static FORCEINLINE HRESULT ITransferDestination_Advise(ITransferDestination* This,ITransferAdviseSink *sink,DWORD *cookie) { + return This->lpVtbl->Advise(This,sink,cookie); +} +static FORCEINLINE HRESULT ITransferDestination_Unadvise(ITransferDestination* This,DWORD cookie) { + return This->lpVtbl->Unadvise(This,cookie); +} +static FORCEINLINE HRESULT ITransferDestination_CreateItem(ITransferDestination* This,LPCWSTR name,DWORD attr,ULONGLONG size,TRANSFER_SOURCE_FLAGS flags,REFIID riid,void **ppv,REFIID resources,void **presources) { + return This->lpVtbl->CreateItem(This,name,attr,size,flags,riid,ppv,resources,presources); +} +#endif +#endif + +#endif + + +#endif /* __ITransferDestination_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssocHandlerInvoker interface + */ +#ifndef __IAssocHandlerInvoker_INTERFACE_DEFINED__ +#define __IAssocHandlerInvoker_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAssocHandlerInvoker, 0x92218cab, 0xecaa, 0x4335, 0x81,0x33, 0x80,0x7f,0xd2,0x34,0xc2,0xee); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("92218cab-ecaa-4335-8133-807fd234c2ee") +IAssocHandlerInvoker : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SupportsSelection( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invoke( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssocHandlerInvoker, 0x92218cab, 0xecaa, 0x4335, 0x81,0x33, 0x80,0x7f,0xd2,0x34,0xc2,0xee) +#endif +#else +typedef struct IAssocHandlerInvokerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssocHandlerInvoker *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssocHandlerInvoker *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssocHandlerInvoker *This); + + /*** IAssocHandlerInvoker methods ***/ + HRESULT (STDMETHODCALLTYPE *SupportsSelection)( + IAssocHandlerInvoker *This); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAssocHandlerInvoker *This); + + END_INTERFACE +} IAssocHandlerInvokerVtbl; + +interface IAssocHandlerInvoker { + CONST_VTBL IAssocHandlerInvokerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssocHandlerInvoker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssocHandlerInvoker_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssocHandlerInvoker_Release(This) (This)->lpVtbl->Release(This) +/*** IAssocHandlerInvoker methods ***/ +#define IAssocHandlerInvoker_SupportsSelection(This) (This)->lpVtbl->SupportsSelection(This) +#define IAssocHandlerInvoker_Invoke(This) (This)->lpVtbl->Invoke(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssocHandlerInvoker_QueryInterface(IAssocHandlerInvoker* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssocHandlerInvoker_AddRef(IAssocHandlerInvoker* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssocHandlerInvoker_Release(IAssocHandlerInvoker* This) { + return This->lpVtbl->Release(This); +} +/*** IAssocHandlerInvoker methods ***/ +static FORCEINLINE HRESULT IAssocHandlerInvoker_SupportsSelection(IAssocHandlerInvoker* This) { + return This->lpVtbl->SupportsSelection(This); +} +static FORCEINLINE HRESULT IAssocHandlerInvoker_Invoke(IAssocHandlerInvoker* This) { + return This->lpVtbl->Invoke(This); +} +#endif +#endif + +#endif + + +#endif /* __IAssocHandlerInvoker_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssocHandler interface + */ +#ifndef __IAssocHandler_INTERFACE_DEFINED__ +#define __IAssocHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAssocHandler, 0xf04061ac, 0x1659, 0x4a3f, 0xa9,0x54, 0x77,0x5a,0xa5,0x7f,0xc0,0x83); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f04061ac-1659-4a3f-a954-775aa57fc083") +IAssocHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + LPWSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUIName( + LPWSTR *uiname) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIconLocation( + LPWSTR *path, + int *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRecommended( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MakeDefault( + LPCWSTR description) = 0; + + virtual HRESULT STDMETHODCALLTYPE Invoke( + IDataObject *object) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInvoker( + IDataObject *object, + IAssocHandlerInvoker **invoker) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssocHandler, 0xf04061ac, 0x1659, 0x4a3f, 0xa9,0x54, 0x77,0x5a,0xa5,0x7f,0xc0,0x83) +#endif +#else +typedef struct IAssocHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssocHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssocHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssocHandler *This); + + /*** IAssocHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + IAssocHandler *This, + LPWSTR *name); + + HRESULT (STDMETHODCALLTYPE *GetUIName)( + IAssocHandler *This, + LPWSTR *uiname); + + HRESULT (STDMETHODCALLTYPE *GetIconLocation)( + IAssocHandler *This, + LPWSTR *path, + int *index); + + HRESULT (STDMETHODCALLTYPE *IsRecommended)( + IAssocHandler *This); + + HRESULT (STDMETHODCALLTYPE *MakeDefault)( + IAssocHandler *This, + LPCWSTR description); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAssocHandler *This, + IDataObject *object); + + HRESULT (STDMETHODCALLTYPE *CreateInvoker)( + IAssocHandler *This, + IDataObject *object, + IAssocHandlerInvoker **invoker); + + END_INTERFACE +} IAssocHandlerVtbl; + +interface IAssocHandler { + CONST_VTBL IAssocHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssocHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssocHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssocHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IAssocHandler methods ***/ +#define IAssocHandler_GetName(This,name) (This)->lpVtbl->GetName(This,name) +#define IAssocHandler_GetUIName(This,uiname) (This)->lpVtbl->GetUIName(This,uiname) +#define IAssocHandler_GetIconLocation(This,path,index) (This)->lpVtbl->GetIconLocation(This,path,index) +#define IAssocHandler_IsRecommended(This) (This)->lpVtbl->IsRecommended(This) +#define IAssocHandler_MakeDefault(This,description) (This)->lpVtbl->MakeDefault(This,description) +#define IAssocHandler_Invoke(This,object) (This)->lpVtbl->Invoke(This,object) +#define IAssocHandler_CreateInvoker(This,object,invoker) (This)->lpVtbl->CreateInvoker(This,object,invoker) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssocHandler_QueryInterface(IAssocHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssocHandler_AddRef(IAssocHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssocHandler_Release(IAssocHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IAssocHandler methods ***/ +static FORCEINLINE HRESULT IAssocHandler_GetName(IAssocHandler* This,LPWSTR *name) { + return This->lpVtbl->GetName(This,name); +} +static FORCEINLINE HRESULT IAssocHandler_GetUIName(IAssocHandler* This,LPWSTR *uiname) { + return This->lpVtbl->GetUIName(This,uiname); +} +static FORCEINLINE HRESULT IAssocHandler_GetIconLocation(IAssocHandler* This,LPWSTR *path,int *index) { + return This->lpVtbl->GetIconLocation(This,path,index); +} +static FORCEINLINE HRESULT IAssocHandler_IsRecommended(IAssocHandler* This) { + return This->lpVtbl->IsRecommended(This); +} +static FORCEINLINE HRESULT IAssocHandler_MakeDefault(IAssocHandler* This,LPCWSTR description) { + return This->lpVtbl->MakeDefault(This,description); +} +static FORCEINLINE HRESULT IAssocHandler_Invoke(IAssocHandler* This,IDataObject *object) { + return This->lpVtbl->Invoke(This,object); +} +static FORCEINLINE HRESULT IAssocHandler_CreateInvoker(IAssocHandler* This,IDataObject *object,IAssocHandlerInvoker **invoker) { + return This->lpVtbl->CreateInvoker(This,object,invoker); +} +#endif +#endif + +#endif + + +#endif /* __IAssocHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumAssocHandlers interface + */ +#ifndef __IEnumAssocHandlers_INTERFACE_DEFINED__ +#define __IEnumAssocHandlers_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumAssocHandlers, 0x973810ae, 0x9599, 0x4b88, 0x9e,0x4d, 0x6e,0xe9,0x8c,0x95,0x52,0xda); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("973810ae-9599-4b88-9e4d-6ee98c9552da") +IEnumAssocHandlers : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG count, + IAssocHandler **handlers, + ULONG *fetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumAssocHandlers, 0x973810ae, 0x9599, 0x4b88, 0x9e,0x4d, 0x6e,0xe9,0x8c,0x95,0x52,0xda) +#endif +#else +typedef struct IEnumAssocHandlersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumAssocHandlers *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumAssocHandlers *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumAssocHandlers *This); + + /*** IEnumAssocHandlers methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumAssocHandlers *This, + ULONG count, + IAssocHandler **handlers, + ULONG *fetched); + + END_INTERFACE +} IEnumAssocHandlersVtbl; + +interface IEnumAssocHandlers { + CONST_VTBL IEnumAssocHandlersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumAssocHandlers_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumAssocHandlers_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumAssocHandlers_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumAssocHandlers methods ***/ +#define IEnumAssocHandlers_Next(This,count,handlers,fetched) (This)->lpVtbl->Next(This,count,handlers,fetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumAssocHandlers_QueryInterface(IEnumAssocHandlers* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumAssocHandlers_AddRef(IEnumAssocHandlers* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumAssocHandlers_Release(IEnumAssocHandlers* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumAssocHandlers methods ***/ +static FORCEINLINE HRESULT IEnumAssocHandlers_Next(IEnumAssocHandlers* This,ULONG count,IAssocHandler **handlers,ULONG *fetched) { + return This->lpVtbl->Next(This,count,handlers,fetched); +} +#endif +#endif + +#endif + + +#endif /* __IEnumAssocHandlers_INTERFACE_DEFINED__ */ + +typedef enum ASSOC_FILTER { + ASSOC_FILTER_NONE = 0, + ASSOC_FILTER_RECOMMENDED = 1 +} ASSOC_FILTER; +HRESULT WINAPI SHAssocEnumHandlers(PCWSTR extra, ASSOC_FILTER filter, IEnumAssocHandlers **handlersenum); + +DEFINE_GUID(LIBID_ShellObjects, 0x50a7e9b1, 0x70ef, 0x11d1, 0xb7,0x5a, 0x00,0xa0,0xc9,0x05,0x64,0xfe); + +/***************************************************************************** + * ExplorerBrowser coclass + */ + +DEFINE_GUID(CLSID_ExplorerBrowser, 0x71f96385, 0xddd6, 0x48d3, 0xa0,0xc1, 0xae,0x06,0xe8,0xb0,0x55,0xfb); + +#ifdef __cplusplus +class DECLSPEC_UUID("71f96385-ddd6-48d3-a0c1-ae06e8b055fb") ExplorerBrowser; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ExplorerBrowser, 0x71f96385, 0xddd6, 0x48d3, 0xa0,0xc1, 0xae,0x06,0xe8,0xb0,0x55,0xfb) +#endif +#endif + +/***************************************************************************** + * FileOpenDialog coclass + */ + +DEFINE_GUID(CLSID_FileOpenDialog, 0xdc1c5a9c, 0xe88a, 0x4dde, 0xa5,0xa1, 0x60,0xf8,0x2a,0x20,0xae,0xf7); + +#ifdef __cplusplus +class DECLSPEC_UUID("dc1c5a9c-e88a-4dde-a5a1-60f82a20aef7") FileOpenDialog; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FileOpenDialog, 0xdc1c5a9c, 0xe88a, 0x4dde, 0xa5,0xa1, 0x60,0xf8,0x2a,0x20,0xae,0xf7) +#endif +#endif + +/***************************************************************************** + * FileSaveDialog coclass + */ + +DEFINE_GUID(CLSID_FileSaveDialog, 0xc0b4e2f3, 0xba21, 0x4773, 0x8d,0xba, 0x33,0x5e,0xc9,0x46,0xeb,0x8b); + +#ifdef __cplusplus +class DECLSPEC_UUID("c0b4e2f3-ba21-4773-8dba-335ec946eb8b") FileSaveDialog; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(FileSaveDialog, 0xc0b4e2f3, 0xba21, 0x4773, 0x8d,0xba, 0x33,0x5e,0xc9,0x46,0xeb,0x8b) +#endif +#endif + +/***************************************************************************** + * NamespaceTreeControl coclass + */ + +DEFINE_GUID(CLSID_NamespaceTreeControl, 0xae054212, 0x3535, 0x4430, 0x83,0xed, 0xd5,0x01,0xaa,0x66,0x80,0xe6); + +#ifdef __cplusplus +class DECLSPEC_UUID("ae054212-3535-4430-83ed-d501aa6680e6") NamespaceTreeControl; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(NamespaceTreeControl, 0xae054212, 0x3535, 0x4430, 0x83,0xed, 0xd5,0x01,0xaa,0x66,0x80,0xe6) +#endif +#endif + +/***************************************************************************** + * KnownFolderManager coclass + */ + +DEFINE_GUID(CLSID_KnownFolderManager, 0x4df0c730, 0xdf9d, 0x4ae3, 0x91,0x53, 0xaa,0x6b,0x82,0xe9,0x79,0x5a); + +#ifdef __cplusplus +class DECLSPEC_UUID("4df0c730-df9d-4ae3-9153-aa6b82e9795a") KnownFolderManager; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(KnownFolderManager, 0x4df0c730, 0xdf9d, 0x4ae3, 0x91,0x53, 0xaa,0x6b,0x82,0xe9,0x79,0x5a) +#endif +#endif + +/***************************************************************************** + * ApplicationAssociationRegistration coclass + */ + +DEFINE_GUID(CLSID_ApplicationAssociationRegistration, 0x591209c7, 0x767b, 0x42b2, 0x9f,0xba, 0x44,0xee,0x46,0x15,0xf2,0xc7); + +#ifdef __cplusplus +class DECLSPEC_UUID("591209c7-767b-42b2-9fba-44ee4615f2c7") ApplicationAssociationRegistration; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ApplicationAssociationRegistration, 0x591209c7, 0x767b, 0x42b2, 0x9f,0xba, 0x44,0xee,0x46,0x15,0xf2,0xc7) +#endif +#endif + +/***************************************************************************** + * ApplicationDestinations coclass + */ + +DEFINE_GUID(CLSID_ApplicationDestinations, 0x86c14003, 0x4d6b, 0x4ef3, 0xa7,0xb4, 0x05,0x06,0x66,0x3b,0x2e,0x68); + +#ifdef __cplusplus +class DECLSPEC_UUID("86c14003-4d6b-4ef3-a7b4-0506663b2e68") ApplicationDestinations; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ApplicationDestinations, 0x86c14003, 0x4d6b, 0x4ef3, 0xa7,0xb4, 0x05,0x06,0x66,0x3b,0x2e,0x68) +#endif +#endif + +/***************************************************************************** + * ShellLink coclass + */ + +DEFINE_GUID(CLSID_ShellLink, 0x00021401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); + +#ifdef __cplusplus +class DECLSPEC_UUID("00021401-0000-0000-c000-000000000046") ShellLink; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ShellLink, 0x00021401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#endif + +/***************************************************************************** + * TaskbarList coclass + */ + +DEFINE_GUID(CLSID_TaskbarList, 0x56fdf344, 0xfd6d, 0x11d0, 0x95,0x8a, 0x00,0x60,0x97,0xc9,0xa0,0x90); + +#ifdef __cplusplus +class DECLSPEC_UUID("56fdf344-fd6d-11d0-958a-006097c9a090") TaskbarList; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(TaskbarList, 0x56fdf344, 0xfd6d, 0x11d0, 0x95,0x8a, 0x00,0x60,0x97,0xc9,0xa0,0x90) +#endif +#endif + +/***************************************************************************** + * DestinationList coclass + */ + +DEFINE_GUID(CLSID_DestinationList, 0x77f10cf0, 0x3db5, 0x4966, 0xb5,0x20, 0xb7,0xc5,0x4f,0xd3,0x5e,0xd6); + +#ifdef __cplusplus +class DECLSPEC_UUID("77f10cf0-3db5-4966-b520-b7c54fd35ed6") DestinationList; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(DestinationList, 0x77f10cf0, 0x3db5, 0x4966, 0xb5,0x20, 0xb7,0xc5,0x4f,0xd3,0x5e,0xd6) +#endif +#endif + +/***************************************************************************** + * EnumerableObjectCollection coclass + */ + +DEFINE_GUID(CLSID_EnumerableObjectCollection, 0x2d3468c1, 0x36a7, 0x43b6, 0xac,0x24, 0xd3,0xf0,0x2f,0xd9,0x60,0x7a); + +#ifdef __cplusplus +class DECLSPEC_UUID("2d3468c1-36a7-43b6-ac24-d3f02fd9607a") EnumerableObjectCollection; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(EnumerableObjectCollection, 0x2d3468c1, 0x36a7, 0x43b6, 0xac,0x24, 0xd3,0xf0,0x2f,0xd9,0x60,0x7a) +#endif +#endif + +/***************************************************************************** + * QueryCancelAutoPlay coclass + */ + +DEFINE_GUID(CLSID_QueryCancelAutoPlay, 0x331f1768, 0x05a9, 0x4ddd, 0xb8,0x6e, 0xda,0xe3,0x4d,0xdc,0x99,0x8a); + +#ifdef __cplusplus +class DECLSPEC_UUID("331f1768-05a9-4ddd-b86e-dae34ddc998a") QueryCancelAutoPlay; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(QueryCancelAutoPlay, 0x331f1768, 0x05a9, 0x4ddd, 0xb8,0x6e, 0xda,0xe3,0x4d,0xdc,0x99,0x8a) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); +ULONG __RPC_USER HMENU_UserSize (ULONG *, ULONG, HMENU *); +unsigned char * __RPC_USER HMENU_UserMarshal (ULONG *, unsigned char *, HMENU *); +unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *); +void __RPC_USER HMENU_UserFree (ULONG *, HMENU *); +ULONG __RPC_USER HGLOBAL_UserSize (ULONG *, ULONG, HGLOBAL *); +unsigned char * __RPC_USER HGLOBAL_UserMarshal (ULONG *, unsigned char *, HGLOBAL *); +unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *); +void __RPC_USER HGLOBAL_UserFree (ULONG *, HGLOBAL *); +ULONG __RPC_USER HICON_UserSize (ULONG *, ULONG, HICON *); +unsigned char * __RPC_USER HICON_UserMarshal (ULONG *, unsigned char *, HICON *); +unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *); +void __RPC_USER HICON_UserFree (ULONG *, HICON *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __shobjidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shobjidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shobjidl.idl new file mode 100644 index 0000000..f1b85a8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shobjidl.idl @@ -0,0 +1,3805 @@ +/* + * COM interfaces for shell objects + * + * Copyright (C) 1999 Juergen Schmied + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +import "docobj.idl"; +import "shtypes.idl"; +import "servprov.idl"; +import "comcat.idl"; +import "propidl.idl"; +/* FIXME: import "prsht.idl";*/ +import "msxml.idl"; +import "wtypes.idl"; +import "propsys.idl"; +import "objectarray.idl"; +/* FIXME: import "structuredquery.idl"; */ + +cpp_quote("/* FIXME: #include */") + + +/***************************************************************************** + * IPersistFolder interface + */ +[ + object, + uuid(000214ea-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IPersistFolder : IPersist +{ + typedef IPersistFolder *LPPERSISTFOLDER; + + HRESULT Initialize( [in] LPCITEMIDLIST pidl ); +} + + +/***************************************************************************** + * IPersistFolder2 interface + */ +[ + object, + uuid(1ac3d9f0-175c-11d1-95be-00609797ea4f), + pointer_default(unique) +] +interface IPersistFolder2 : IPersistFolder +{ + typedef IPersistFolder2 *LPPERSISTFOLDER2; + + HRESULT GetCurFolder( [out] LPITEMIDLIST *ppidl ); +} + + +/***************************************************************************** + * IPersistIDList interface + */ +[ + object, + uuid(1079acfc-29bd-11d3-8e0d-00c04f6837d5), + pointer_default(unique) +] +interface IPersistIDList : IPersist +{ + HRESULT SetIDList( [in] LPCITEMIDLIST pidl ); + HRESULT GetIDList( [out] LPITEMIDLIST *ppidl ); +} + + +/***************************************************************************** + * IEnumIDList interface + */ +[ + object, + uuid(000214f2-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IEnumIDList : IUnknown +{ + typedef IEnumIDList *LPENUMIDLIST; + + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] LPITEMIDLIST *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( [in] ULONG celt ); + HRESULT Reset(); + HRESULT Clone( [out] IEnumIDList **ppenum ); +} + +/***************************************************************************** + * IShellPropSheetExt interface + */ +cpp_quote("#if 0") + typedef LPARAM LPFNSVADDPROPSHEETPAGE; +cpp_quote("#else") +cpp_quote("#include ") +cpp_quote("typedef LPFNADDPROPSHEETPAGE LPFNSVADDPROPSHEETPAGE;") +cpp_quote("#endif") + +[ + object, + uuid(000214E9-0000-0000-C000-000000000046), + pointer_default(unique), + local +] +interface IShellPropSheetExt : IUnknown +{ + enum tagSHELLPROPSHEETEXTPAGEID { + EXPPS_FILETYPES = 0x1 + }; + + typedef UINT EXPPS; + + HRESULT AddPages( + [in] LPFNSVADDPROPSHEETPAGE pfnAddPage, + [in] LPARAM lParam); + HRESULT ReplacePage( + [in] EXPPS uPageID, + [in] LPFNSVADDPROPSHEETPAGE pfnReplaceWith, + [in] LPARAM lParam); +} +typedef IShellPropSheetExt *LPSHELLPROPSHEETEXT; + +/***************************************************************************** + * IShellFolder interface + */ +[ + object, + uuid(000214e6-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IShellFolder : IUnknown +{ + typedef IShellFolder * LPSHELLFOLDER; + + typedef enum tagSHGDN + { + SHGDN_NORMAL = 0, + SHGDN_INFOLDER = 1, + SHGDN_FOREDITING = 0x1000, + SHGDN_INCLUDE_NONFILESYS = 0x2000, + SHGDN_FORADDRESSBAR = 0x4000, + SHGDN_FORPARSING = 0x8000 + } SHGNO; + + typedef DWORD SHGDNF; + + enum tagSHCONTF + { + SHCONTF_CHECKING_FOR_CHILDREN = 0x00000010, + SHCONTF_FOLDERS = 0x00000020, + SHCONTF_NONFOLDERS = 0x00000040, + SHCONTF_INCLUDEHIDDEN = 0x00000080, + SHCONTF_INIT_ON_FIRST_NEXT = 0x00000100, + SHCONTF_NETPRINTERSRCH = 0x00000200, + SHCONTF_SHAREABLE = 0x00000400, + SHCONTF_STORAGE = 0x00000800, + SHCONTF_NAVIGATION_ENUM = 0x00001000, + SHCONTF_FASTITEMS = 0x00002000, + SHCONTF_FLATLIST = 0x00004000, + SHCONTF_ENABLE_ASYNC = 0x00008000, + SHCONTF_INCLUDESUPERHIDDEN = 0x00010000 + }; + + typedef DWORD SHCONTF; + + cpp_quote("#define SFGAO_CANCOPY DROPEFFECT_COPY") + cpp_quote("#define SFGAO_CANMOVE DROPEFFECT_MOVE") + cpp_quote("#define SFGAO_CANLINK DROPEFFECT_LINK") + cpp_quote("#define SFGAO_STORAGE 0x00000008L") + cpp_quote("#define SFGAO_CANRENAME 0x00000010L") + cpp_quote("#define SFGAO_CANDELETE 0x00000020L") + cpp_quote("#define SFGAO_HASPROPSHEET 0x00000040L") + cpp_quote("#define SFGAO_DROPTARGET 0x00000100L") + cpp_quote("#define SFGAO_CAPABILITYMASK 0x00000177L") + cpp_quote("#define SFGAO_SYSTEM 0x00001000L") + cpp_quote("#define SFGAO_ENCRYPTED 0x00002000L") + cpp_quote("#define SFGAO_ISSLOW 0x00004000L") + cpp_quote("#define SFGAO_GHOSTED 0x00008000L") + cpp_quote("#define SFGAO_LINK 0x00010000L") + cpp_quote("#define SFGAO_SHARE 0x00020000L") + cpp_quote("#define SFGAO_READONLY 0x00040000L") + cpp_quote("#define SFGAO_HIDDEN 0x00080000L") + cpp_quote("#define SFGAO_DISPLAYATTRMASK 0x000FC000L") + cpp_quote("#define SFGAO_FILESYSANCESTOR 0x10000000L") + cpp_quote("#define SFGAO_FOLDER 0x20000000L") + cpp_quote("#define SFGAO_FILESYSTEM 0x40000000L") + cpp_quote("#define SFGAO_HASSUBFOLDER 0x80000000L") + cpp_quote("#define SFGAO_CONTENTSMASK 0x80000000L") + cpp_quote("#define SFGAO_VALIDATE 0x01000000L") + cpp_quote("#define SFGAO_REMOVABLE 0x02000000L") + cpp_quote("#define SFGAO_COMPRESSED 0x04000000L") + cpp_quote("#define SFGAO_BROWSABLE 0x08000000L") + cpp_quote("#define SFGAO_NONENUMERATED 0x00100000L") + cpp_quote("#define SFGAO_NEWCONTENT 0x00200000L") + cpp_quote("#define SFGAO_CANMONIKER 0x00400000L") + cpp_quote("#define SFGAO_HASSTORAGE 0x00400000L") + cpp_quote("#define SFGAO_STREAM 0x00400000L") + cpp_quote("#define SFGAO_STORAGEANCESTOR 0x00800000L") + cpp_quote("#define SFGAO_STORAGEGAPMASK 0x70C50008L") + cpp_quote("#define SFGAO_PKEYSFGAOMASK 0x81044000L") + + typedef ULONG SFGAOF; + + HRESULT ParseDisplayName( + [in] HWND hwndOwner, + [in] LPBC pbcReserved, + [in, string] LPOLESTR lpszDisplayName, + [out] ULONG *pchEaten, + [out] LPITEMIDLIST *ppidl, + [in, out, unique] ULONG *pdwAttributes); + + HRESULT EnumObjects( + [in] HWND hwndOwner, + [in] SHCONTF grfFlags, + [out] IEnumIDList **ppenumIDList); + + HRESULT BindToObject( + [in] LPCITEMIDLIST pidl, + [in] LPBC pbcReserved, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvOut); + + HRESULT BindToStorage( + [in] LPCITEMIDLIST pidl, + [in] LPBC pbcReserved, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObj); + + HRESULT CompareIDs( + [in] LPARAM lParam, + [in] LPCITEMIDLIST pidl1, + [in] LPCITEMIDLIST pidl2); + + HRESULT CreateViewObject( + [in] HWND hwndOwner, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvOut); + + HRESULT GetAttributesOf( + [in] UINT cidl, + [in, size_is(cidl)] LPCITEMIDLIST *apidl, + [in, out] SFGAOF *rgfInOut); + + HRESULT GetUIObjectOf( + [in] HWND hwndOwner, + [in] UINT cidl, + [in, size_is(cidl)] LPCITEMIDLIST *apidl, + [in] REFIID riid, + [in, out, unique] UINT *prgfInOut, + [out, iid_is(riid)] void **ppvOut); + + HRESULT GetDisplayNameOf( + [in] LPCITEMIDLIST pidl, + [in] SHGDNF uFlags, + [out] STRRET *lpName); + + HRESULT SetNameOf( + [in] HWND hwnd, + [in] LPCITEMIDLIST pidl, + [in, string] LPCOLESTR lpszName, + [in] SHGDNF uFlags, + [out] LPITEMIDLIST *ppidlOut); +} + + +/***************************************************************************** + * IEnumExtraSearch interface + */ +[ + object, + uuid(0e700be1-9db6-11d1-a1ce-00c04fd75d13), + pointer_default(unique) +] +interface IEnumExtraSearch : IUnknown +{ + typedef IEnumExtraSearch *LPENUMEXTRASEARCH; + + typedef struct + { + GUID guidSearch; + WCHAR wszFriendlyName[80]; + /* + *WCHAR wszMenuText[80]; + *WCHAR wszHelpText[MAX_PATH]; + */ + WCHAR wszUrl[2084]; + /* + *WCHAR wszIcon[MAX_PATH+10]; + *WCHAR wszGreyIcon[MAX_PATH+10]; + *WCHAR wszClrIcon[MAX_PATH+10]; + */ + } EXTRASEARCH, *LPEXTRASEARCH; + + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] EXTRASEARCH *rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( [in] ULONG celt ); + HRESULT Reset(); + HRESULT Clone( [out] IEnumExtraSearch **ppenum ); +} + + +/***************************************************************************** + * IShellFolder2 interface + */ +[ + object, + uuid(93f2f68c-1d1b-11d3-a30e-00c04f79abd1), + pointer_default(unique) +] +interface IShellFolder2 : IShellFolder +{ + typedef struct + { + GUID fmtid; + DWORD pid; + } SHCOLUMNID, *LPSHCOLUMNID; + typedef const SHCOLUMNID *LPCSHCOLUMNID; + + HRESULT GetDefaultSearchGUID( [out] GUID *lpguid ); + HRESULT EnumSearches( [out] IEnumExtraSearch **ppenum ); + HRESULT GetDefaultColumn( [in] DWORD dwReserved, [out] ULONG *pSort, [out] ULONG *pDisplay ); + HRESULT GetDefaultColumnState( [in] UINT iColumn, [out] SHCOLSTATEF *pcsFlags ); + HRESULT GetDetailsEx( [in] LPCITEMIDLIST pidl, [in] const SHCOLUMNID *pscid, [out] VARIANT *pv); + HRESULT GetDetailsOf( [in] LPCITEMIDLIST pidl, [in] UINT iColumn, [out] SHELLDETAILS *psd); + HRESULT MapColumnToSCID( [in] UINT iColumn, [in] SHCOLUMNID *pscid ); +} + +/***************************************************************************** + * IShellItem interface + */ +[ + object, + uuid(43826d1e-e718-42ee-bc55-a1e261c37bfe), + pointer_default(unique) +] +interface IShellItem : IUnknown +{ + typedef [v1_enum] enum { + SIGDN_NORMALDISPLAY = 0, + SIGDN_PARENTRELATIVEPARSING = 0x80018001, + SIGDN_DESKTOPABSOLUTEPARSING = 0x80028000, + SIGDN_PARENTRELATIVEEDITING = 0x80031001, + SIGDN_DESKTOPABSOLUTEEDITING = 0x8004c000, + SIGDN_FILESYSPATH = 0x80058000, + SIGDN_URL = 0x80068000, + SIGDN_PARENTRELATIVEFORADDRESSBAR = 0x8007c001, + SIGDN_PARENTRELATIVE = 0x80080001, + SIGDN_PARENTRELATIVEFORUI = 0x80094001, + } SIGDN; /* & 0xFFFF => SHGDN */ + + [v1_enum] enum _SICHINTF + { + SICHINT_DISPLAY = 0x00000000, + SICHINT_CANONICAL = 0x10000000, + SICHINT_TEST_FILESYSPATH_IF_NOT_EQUAL = 0x20000000, + SICHINT_ALLFIELDS = 0x80000000 + }; + typedef DWORD SICHINTF; + + HRESULT BindToHandler( + [in] IBindCtx *pbc, + [in] REFGUID rbhid, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvOut); + + HRESULT GetParent( [out] IShellItem **ppsi ); + + HRESULT GetDisplayName( + [in] SIGDN sigdnName, + [out] LPWSTR *ppszName); + + HRESULT GetAttributes( + [in] SFGAOF sfgaoMask, + [out] SFGAOF *psfgaoAttribs); + + HRESULT Compare( + [in] IShellItem *psi, + [in] SICHINTF hint, + [out] int *piOrder); +} + +/***************************************************************************** + * IShellItem2 interface + */ +[ + object, + uuid(7E9FB0D3-919F-4307-AB2E-9B1860310C93), + pointer_default(unique) +] +interface IShellItem2 : IShellItem +{ + HRESULT GetPropertyStore( + [in] GETPROPERTYSTOREFLAGS flags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetPropertyStoreWithCreateObject( + [in] GETPROPERTYSTOREFLAGS flags, + [in] IUnknown *punkCreateObject, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetPropertyStoreForKeys( + [in, size_is(cKeys)] const PROPERTYKEY *rgKeys, + [in] UINT cKeys, + [in] GETPROPERTYSTOREFLAGS flags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetPropertyDescriptionList( + [in] REFPROPERTYKEY keyType, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT Update( + [in, unique] IBindCtx *pbc); + + HRESULT GetProperty( + [in] REFPROPERTYKEY key, + [out] PROPVARIANT *ppropvar); + + HRESULT GetCLSID( + [in] REFPROPERTYKEY key, + [out] CLSID *pclsid); + + HRESULT GetFileTime ( + [in] REFPROPERTYKEY key, + [out] FILETIME *pft); + + HRESULT GetInt32( + [in] REFPROPERTYKEY key, + [out] int *pi); + + HRESULT GetString( + [in] REFPROPERTYKEY key, + [out, string] LPWSTR *ppsz); + + HRESULT GetUInt32( + [in] REFPROPERTYKEY key, + [out] ULONG *pui); + + HRESULT GetUInt64( + [in] REFPROPERTYKEY key, + [out] ULONGLONG *pull); + + HRESULT GetBool( + [in] REFPROPERTYKEY key, + [out] BOOL *pf); +} + +typedef [v1_enum] enum tagNWMF { + NWMF_UNLOADING = 0x00000001, + NWMF_USERINITED = 0x00000002, + NWMF_FIRST = 0x00000004, + NWMF_OVERRIDEKEY = 0x00000008, + NWMF_SHOWHELP = 0x00000010, + NWMF_HTMLDIALOG = 0x00000020, + NWMF_FROMDIALOGCHILD = 0x00000040, + NWMF_USERREQUESTED = 0x00000080, + NWMF_USERALLOWED = 0x00000100, + NWMF_FORCEWINDOW = 0x00010000, + NWMF_FORCETAB = 0x00020000, + NWMF_SUGGESTWINDOW = 0x00040000, + NWMF_SUGGESTTAB = 0x00080000, + NWMF_INACTIVETAB = 0x00100000, +} NWMF; + +[ + uuid(d2bc4c84-3f72-4a52-a604-7bcbf3982cbb), + object, + pointer_default(unique) +] +interface INewWindowManager : IUnknown +{ + HRESULT EvaluateNewWindow( + [in, string] LPCWSTR pszUrl, + [in, string] LPCWSTR pszName, + [in, string] LPCWSTR pszUrlContext, + [in, string] LPCWSTR pszFeatures, + [in] BOOL fReplace, + [in] DWORD dwFlags, + [in] DWORD dwUserActionTime); +} + +cpp_quote("#define SID_SNewWindowManager IID_INewWindowManager") + +/***************************************************************************** + * IEnumShellItems interface + */ +[ + object, + uuid(70629033-E363-4A28-A567-0DB78006E6D7), + pointer_default(unique) +] +interface IEnumShellItems : IUnknown +{ + [local] HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] IShellItem **rgelt, + [out] ULONG *pceltFetched); + + [call_as(Next)] HRESULT RemoteNext( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] IShellItem **rgelt, + [out] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumShellItems **ppenum); +} + +/***************************************************************************** + * IShellItemArray interface + */ +[ + object, + uuid(B63EA76D-1F85-456F-A19C-48159EFA858B), + pointer_default(unique) +] +interface IShellItemArray : IUnknown +{ + typedef [v1_enum] enum SIATTRIBFLAGS { + SIATTRIBFLAGS_AND = 0x0001, + SIATTRIBFLAGS_OR = 0x0002, + SIATTRIBFLAGS_APPCOMPAT = 0x0003, + SIATTRIBFLAGS_MASK = 0x0003, + SIATTRIBFLAGS_ALLITEMS = 0x4000 + } SIATTRIBFLAGS; + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(SIATTRIBFLAGS)") + + HRESULT BindToHandler( + [in, unique] IBindCtx *pbc, + [in] REFGUID bhid, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvOut); + + HRESULT GetPropertyStore( + [in] GETPROPERTYSTOREFLAGS flags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetPropertyDescriptionList( + [in] REFPROPERTYKEY keyType, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetAttributes( + [in] SIATTRIBFLAGS AttribFlags, + [in] SFGAOF sfgaoMask, + [out] SFGAOF *psfgaoAttribs); + + HRESULT GetCount( + [out] DWORD *pdwNumItems); + + HRESULT GetItemAt( + [in] DWORD dwIndex, + [out] IShellItem **ppsi); + + HRESULT EnumItems( + [out] IEnumShellItems **ppenumShellItems); + +} + +typedef [v1_enum] enum DATAOBJ_GET_ITEM_FLAGS +{ + DOGIF_DEFAULT = 0x0, + DOGIF_TRAVERSE_LINK = 0x1, + DOGIF_NO_HDROP = 0x2, + DOGIF_NO_URL = 0x4, + DOGIF_ONLY_IF_ONE = 0x8 +} DATAOBJ_GET_ITEM_FLAGS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DATAOBJ_GET_ITEM_FLAGS)") + +cpp_quote("HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl, SIGDN sigdnName, PWSTR *ppszName);") +cpp_quote("HRESULT WINAPI SHCreateItemFromParsingName(PCWSTR pszPath, IBindCtx *pbc, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHCreateItemFromIDList(PCIDLIST_ABSOLUTE pidl, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHCreateItemFromRelativeName(IShellItem *parent, PCWSTR name, IBindCtx *pbc, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl);") +cpp_quote("HRESULT WINAPI SHGetItemFromObject(IUnknown *punk, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHCreateShellItemArray(PCIDLIST_ABSOLUTE pidlParent, IShellFolder* psf, UINT cidl, PCUITEMID_CHILD_ARRAY ppidl, IShellItemArray **ppsiItemArray);") +cpp_quote("HRESULT WINAPI SHCreateShellItemArrayFromShellItem(IShellItem *psi, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHCreateShellItemArrayFromIDLists(UINT cidl, PCIDLIST_ABSOLUTE_ARRAY pidl_array, IShellItemArray **psia);") +cpp_quote("HRESULT WINAPI SHCreateItemInKnownFolder(REFKNOWNFOLDERID rfid, DWORD flags, PCWSTR filename, REFIID riid, void **ppv);") +cpp_quote("HRESULT WINAPI SHCreateShellItemArrayFromDataObject(IDataObject *pdo, REFIID riid, void **ppv);") + +/***************************************************************************** + * IShellItemFilter interface + */ +[ + object, + uuid(2659B475-EEB8-48B7-8F07-B378810F48CF), + pointer_default(unique) +] +interface IShellItemFilter : IUnknown +{ + HRESULT IncludeItem( + [in] IShellItem *psi); + + HRESULT GetEnumFlagsForItem( + [in] IShellItem *psi, + [out] SHCONTF *pgrfFlags); +} + +/***************************************************************************** + * FOLDERSETTINGS + */ +typedef char *LPVIEWSETTINGS; + +typedef [v1_enum] enum FOLDERFLAGS +{ + FWF_AUTOARRANGE = 0x00000001, + FWF_ABBREVIATEDNAMES = 0x00000002, + FWF_SNAPTOGRID = 0x00000004, + FWF_OWNERDATA = 0x00000008, + FWF_BESTFITWINDOW = 0x00000010, + FWF_DESKTOP = 0x00000020, + FWF_SINGLESEL = 0x00000040, + FWF_NOSUBFOLDERS = 0x00000080, + FWF_TRANSPARENT = 0x00000100, + FWF_NOCLIENTEDGE = 0x00000200, + FWF_NOSCROLL = 0x00000400, + FWF_ALIGNLEFT = 0x00000800, + FWF_NOICONS = 0x00001000, + FWF_SHOWSELALWAYS = 0x00002000, + FWF_NOVISIBLE = 0x00004000, + FWF_SINGLECLICKACTIVATE = 0x00008000, + FWF_NOWEBVIEW = 0x00010000, + FWF_HIDEFILENAMES = 0x00020000, + FWF_CHECKSELECT = 0x00040000, + FWF_NOENUMREFRESH = 0x00080000, + FWF_NOGROUPING = 0x00100000, + FWF_FULLROWSELECT = 0x00200000, + FWF_NOFILTERS = 0x00400000, + FWF_NOCOLUMNHEADER = 0x00800000, + FWF_NOHEADERINALLVIEWS = 0x01000000, + FWF_EXTENDEDTILES = 0x02000000, + FWF_TRICHECKSELECT = 0x04000000, + FWF_AUTOCHECKSELECT = 0x08000000, + FWF_NOBROWSERVIEWSTATE = 0x10000000, + FWF_SUBSETGROUPS = 0x20000000, + FWF_USESEARCHFOLDER = 0x40000000, + FWF_ALLOWRTLREADING = 0x80000000 +} FOLDERFLAGS; + +typedef [v1_enum] enum FOLDERVIEWMODE +{ + FVM_AUTO =-1, + FVM_ICON = 1, + FVM_FIRST = FVM_ICON, + FVM_SMALLICON = 2, + FVM_LIST = 3, + FVM_DETAILS = 4, + FVM_THUMBNAIL = 5, + FVM_TILE = 6, + FVM_THUMBSTRIP = 7, + FVM_CONTENT = 8, + FVM_LAST = FVM_CONTENT +} FOLDERVIEWMODE; + +typedef struct +{ + UINT ViewMode; + UINT fFlags; +} FOLDERSETTINGS, *PFOLDERSETTINGS, *LPFOLDERSETTINGS; +typedef const FOLDERSETTINGS *LPCFOLDERSETTINGS; + +/***************************************************************************** + * IShellIcon interface + */ +[ + uuid(000214e5-0000-0000-c000-000000000046), + object, + pointer_default(unique) +] +interface IShellIcon : IUnknown +{ + HRESULT GetIconOf( + [in] PCUITEMID_CHILD pidl, + [in] UINT flags, + [out] int *pIconIndex); +} + +/***************************************************************************** + * IShellView interface + */ +interface IShellBrowser; /* forward declaration */ +[ + object, + uuid(000214e3-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IShellView : IOleWindow +{ + typedef IShellView *LPSHELLVIEW; + + typedef [v1_enum] enum _SVSIF + { + SVSI_DESELECT = 0x00000000, + SVSI_SELECT = 0x00000001, + SVSI_EDIT = 0x00000003, + SVSI_DESELECTOTHERS = 0x00000004, + SVSI_ENSUREVISIBLE = 0x00000008, + SVSI_FOCUSED = 0x00000010, + SVSI_TRANSLATEPT = 0x00000020, + SVSI_SELECTIONMARK = 0x00000040, + SVSI_POSITIONITEM = 0x00000080, + SVSI_CHECK = 0x00000100, + SVSI_CHECK2 = 0x00000200, + SVSI_KEYBOARDSELECT = 0x00000401, + SVSI_NOTAKEFOCUS = 0x40000000, + } _SVSIF; + + cpp_quote("#define SVSI_NOSTATECHANGE 0x80000000") + + typedef UINT SVSIF; + + typedef [v1_enum] enum _SVGIO + { + SVGIO_BACKGROUND = 0x00000000, + SVGIO_SELECTION = 0x00000001, + SVGIO_ALLVIEW = 0x00000002, + SVGIO_CHECKED = 0x00000003, + SVGIO_TYPE_MASK = 0x0000000f, + SVGIO_FLAG_VIEWORDER = 0x80000000, + } _SVGIO; + + typedef INT SVGIO; + + typedef [v1_enum] enum SVUIA_STATUS + { + SVUIA_DEACTIVATE = 0, + SVUIA_ACTIVATE_NOFOCUS = 1, + SVUIA_ACTIVATE_FOCUS = 2, + SVUIA_INPLACEACTIVATE = 3 + } SVUIA_STATUS; + + HRESULT TranslateAccelerator( [in] MSG *pmsg ); + HRESULT EnableModeless( [in] BOOL fEnable ); + HRESULT UIActivate( [in] UINT uState ); + HRESULT Refresh(); + HRESULT CreateViewWindow( + [in] IShellView *psvPrevious, + [in] LPCFOLDERSETTINGS lpfs, + [in] IShellBrowser *psb, + [out] RECT *prcView, + [out] HWND *phWnd); + + HRESULT DestroyViewWindow(); + HRESULT GetCurrentInfo( [out] LPFOLDERSETTINGS lpfs ); + + [local] HRESULT AddPropertySheetPages( + [in] DWORD dwReserved, + [in] LPFNSVADDPROPSHEETPAGE pfn, + [in] LPARAM lparam); + + HRESULT SaveViewState(); + HRESULT SelectItem( + [in] LPCITEMIDLIST pidlItem, + [in] SVSIF uFlags); + HRESULT GetItemObject( + [in] UINT uItem, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); +} + +[ + object, + uuid(88e39e80-3578-11cf-ae69-08002b2e1262), + pointer_default(unique) +] +interface IShellView2 : IShellView +{ + typedef GUID SHELLVIEWID; +cpp_quote("#include ") + typedef struct _SV2CVW2_PARAMS + { + DWORD cbSize; + IShellView *psvPrev; + LPCFOLDERSETTINGS pfs; + IShellBrowser *psbOwner; + RECT *prcView; + SHELLVIEWID const *pvid; + HWND hwndView; + } SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS; +cpp_quote("#include ") + + HRESULT GetView( + [in, out] SHELLVIEWID *view_guid, + [in] ULONG view_type + ); + HRESULT CreateViewWindow2( + [in] LPSV2CVW2_PARAMS view_params + ); + HRESULT HandleRename( + [in] LPCITEMIDLIST new_pidl + ); + HRESULT SelectAndPositionItem( + [in] LPCITEMIDLIST item, + [in] UINT flags, + [in] POINT *point + ); +} + +[ + object, + uuid(ec39fa88-f8af-41c5-8421-38bed28f4673), + pointer_default(unique) +] +interface IShellView3 : IShellView2 +{ + [v1_enum] enum _SV3CVW3_FLAGS + { + SV3CVW3_DEFAULT = 0x00000000, + SV3CVW3_NONINTERACTIVE = 0x00000001, + SV3CVW3_FORCEVIEWMODE = 0x00000002, + SV3CVW3_FORCEFOLDERFLAGS = 0x00000004 + }; + + typedef DWORD SV3CVW3_FLAGS; + + HRESULT CreateViewWindow3( + [in] IShellBrowser *owner, + [in, unique] IShellView *prev_view, + [in] SV3CVW3_FLAGS view_flags, + [in] FOLDERFLAGS mask, + [in] FOLDERFLAGS flags, + [in] FOLDERVIEWMODE mode, + [in, unique] const SHELLVIEWID *view_id, + [in] const RECT *rect, + [out] HWND *hwnd); +} + +/***************************************************************************** + * IFolderView interface + */ +[ + uuid(cde725b0-ccc9-4519-917e-325d72fab4ce), + object, + pointer_default(unique) +] +interface IFolderView : IUnknown +{ + HRESULT GetCurrentViewMode( [out] UINT *mode ); + HRESULT SetCurrentViewMode( [in] UINT mode ); + HRESULT GetFolder( [in] REFIID riid, [out, iid_is(riid)] void **ppv ); + HRESULT Item( + [in] int index, + [out] PITEMID_CHILD *ppidl + ); + HRESULT ItemCount( + [in] UINT flags, + [out] int *items + ); + HRESULT Items( + [in] UINT flags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv + ); + HRESULT GetSelectionMarkedItem( [out] int *item ); + HRESULT GetFocusedItem( [out] int *item ); + HRESULT GetItemPosition( + [in] PCUITEMID_CHILD pidl, + [out] POINT* ppt + ); + HRESULT GetSpacing( [in, out, unique] POINT* pt ); + HRESULT GetDefaultSpacing( [out] POINT* pt ); + HRESULT GetAutoArrange(); + HRESULT SelectItem( + [in] int item, + [in] DWORD flags + ); + HRESULT SelectAndPositionItems( + [in] UINT cidl, + [in, size_is(cidl)] PCUITEMID_CHILD_ARRAY apidl, + [in, unique, size_is(cidl)] POINT* apt, + [in] DWORD flags + ); +} + +[v1_enum] enum tagSORTDIRECTION +{ + SORT_DESCENDING = -1, + SORT_ASCENDING = 1 +}; +typedef int SORTDIRECTION; + +typedef struct SORTCOLUMN +{ + PROPERTYKEY propkey; + SORTDIRECTION direction; +} SORTCOLUMN; + +typedef [v1_enum] enum FVTEXTTYPE +{ + FVST_EMPTYTEXT = 0 +} FVTEXTTYPE; + +[ + uuid(1af3a467-214f-4298-908e-06b03e0b39f9), + object, + pointer_default(unique) +] +interface IFolderView2 : IFolderView +{ + HRESULT SetGroupBy( + [in] REFPROPERTYKEY key, + [in] BOOL ascending); + + [local] + HRESULT GetGroupBy( + [out] PROPERTYKEY *pkey, + [out] BOOL *ascending); + + [call_as(GetGroupBy)] + HRESULT RemoteGetGroupBy( + [out] PROPERTYKEY *pkey, + [out] BOOL *ascending); + + HRESULT SetViewProperty( + [in] PCUITEMID_CHILD pidl, + [in] REFPROPERTYKEY propkey, + [in] REFPROPVARIANT propvar); + + HRESULT GetViewProperty( + [in] PCUITEMID_CHILD pidl, + [in] REFPROPERTYKEY propkey, + [out] PROPVARIANT *propvar); + + HRESULT SetTileViewProperties( + [in] PCUITEMID_CHILD pidl, + [in, string] LPCWSTR prop_list); + + HRESULT SetExtendedTileViewProperties( + [in] PCUITEMID_CHILD pidl, + [in, string] LPCWSTR prop_list); + + HRESULT SetText( + [in] FVTEXTTYPE type, + [in] LPCWSTR text); + + HRESULT SetCurrentFolderFlags( + [in] DWORD mask, + [in] DWORD flags); + + HRESULT GetCurrentFolderFlags([out] DWORD *flags); + + HRESULT GetSortColumnCount([out] int *columns); + + HRESULT SetSortColumns( + [in, size_is(count)] const SORTCOLUMN *columns, + [in] int count); + + HRESULT GetSortColumns( + [out, size_is(count)] SORTCOLUMN *columns, + [in] int count); + + HRESULT GetItem( + [in] int ittem, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetVisibleItem( + [in] int start, + [in] BOOL previous, + [out] int *item); + + HRESULT GetSelectedItem( + [in] int start, + [out] int *item); + + HRESULT GetSelection( + [in] BOOL none_implies_folder, + [out] IShellItemArray **array); + + HRESULT GetSelectionState( + [in] PCUITEMID_CHILD pidl, + [out] DWORD *flags); + + HRESULT InvokeVerbOnSelection([in, unique, string] LPCSTR verb); + + HRESULT SetViewModeAndIconSize( + [in] FOLDERVIEWMODE mode, + [in] int size); + + HRESULT GetViewModeAndIconSize( + [out] FOLDERVIEWMODE *mode, + [out] int *size); + + HRESULT SetGroupSubsetCount([in] UINT visible_rows); + + HRESULT GetGroupSubsetCount([out] UINT *visible_rows); + + HRESULT SetRedraw([in] BOOL redraw); + + HRESULT IsMoveInSameFolder(); + + HRESULT DoRename(); +} + +/***************************************************************************** + * IShellBrowser interface + */ +[ + object, + uuid(000214e2-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IShellBrowser : IOleWindow +{ + typedef IShellBrowser *LPSHELLBROWSER; + +cpp_quote("#define SBSP_DEFBROWSER 0x00000000") +cpp_quote("#define SBSP_SAMEBROWSER 0x00000001") +cpp_quote("#define SBSP_NEWBROWSER 0x00000002") +cpp_quote("#define SBSP_DEFMODE 0x00000000") +cpp_quote("#define SBSP_OPENMODE 0x00000010") +cpp_quote("#define SBSP_EXPLOREMODE 0x00000020") +cpp_quote("#define SBSP_HELPMODE 0x00000040") +cpp_quote("#define SBSP_NOTRANSFERHIST 0x00000080") +cpp_quote("#define SBSP_ABSOLUTE 0x00000000") +cpp_quote("#define SBSP_RELATIVE 0x00001000") +cpp_quote("#define SBSP_PARENT 0x00002000") +cpp_quote("#define SBSP_NAVIGATEBACK 0x00004000") +cpp_quote("#define SBSP_NAVIGATEFORWARD 0x00008000") +cpp_quote("#define SBSP_ALLOW_AUTONAVIGATE 0x00010000") +cpp_quote("#define SBSP_KEEPSAMETEMPLATE 0x00020000") +cpp_quote("#define SBSP_KEEPWORDWHEELTEXT 0x00040000") +cpp_quote("#define SBSP_ACTIVATE_NOFOCUS 0x00080000") +cpp_quote("#define SBSP_CREATENOHISTORY 0x00100000") +cpp_quote("#define SBSP_PLAYNOSOUND 0x00200000") +cpp_quote("#define SBSP_CALLERUNTURUSTED 0x00800000") +cpp_quote("#define SBSP_TRUSTFIRSTDOWNLOAD 0x01000000") +cpp_quote("#define SBSP_UNTRUSTEDFORDOWNLOAD 0x02000000") +cpp_quote("#define SBSP_NOAUTOSELECT 0x04000000") +cpp_quote("#define SBSP_WRITENOHISTORY 0x08000000") +cpp_quote("#define SBSP_TRUSTEDFORACTIVEX 0x10000000") +cpp_quote("#define SBSP_FEEDNAVIGATION 0x20000000") +cpp_quote("#define SBSP_REDIRECT 0x40000000") +cpp_quote("#define SBSP_INITIATEDBYHLINKFRAME 0x80000000") + +cpp_quote("#define FCW_STATUS 0x0001") +cpp_quote("#define FCW_TOOLBAR 0x0002") +cpp_quote("#define FCW_TREE 0x0003") +cpp_quote("#define FCW_INTERNETBAR 0x0006") +cpp_quote("#define FCW_PROGRESS 0x0008") + +cpp_quote("#define FCT_MERGE 0x0001") +cpp_quote("#define FCT_CONFIGABLE 0x0002") +cpp_quote("#define FCT_ADDTOEND 0x0004") + +cpp_quote("#if 0") + typedef LPARAM LPTBBUTTONSB; +cpp_quote("#else") +cpp_quote("#include ") +cpp_quote("typedef LPTBBUTTON LPTBBUTTONSB;") +cpp_quote("#endif") + + HRESULT InsertMenusSB( + [in] HMENU hmenuShared, + [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths); + + HRESULT SetMenuSB( + [in] HMENU hmenuShared, + [in] HOLEMENU holemenuReserved, + [in] HWND hwndActiveObject); + + HRESULT RemoveMenusSB( [in] HMENU hmenuShared ); + HRESULT SetStatusTextSB( [in, unique] LPCOLESTR pszStatusText ); + HRESULT EnableModelessSB( [in] BOOL fEnable ); + HRESULT TranslateAcceleratorSB( [in] MSG *pmsg, [in] WORD wID ); + + HRESULT BrowseObject( + [in] LPCITEMIDLIST pidl, + [in] UINT wFlags); + + HRESULT GetViewStateStream( + [in] DWORD grfMode, + [out] IStream **ppStrm); + + HRESULT GetControlWindow( + [in] UINT id, + [out] HWND *phwnd); + + [local] HRESULT SendControlMsg( + [in] UINT id, + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam, + [in] LRESULT *pret); + + HRESULT QueryActiveShellView( [out] IShellView **ppshv ); + HRESULT OnViewWindowActive( [in] IShellView *pshv ); + + [local] + HRESULT SetToolbarItems( + [in] LPTBBUTTONSB lpButtons, + [in] UINT nButtons, + [in] UINT uFlags); +} + + +/***************************************************************************** + * IShellLinkA interface + */ +[ + object, + uuid(000214ee-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IShellLinkA : IUnknown +{ + typedef [v1_enum] enum SLR_FLAGS + { + SLR_NO_UI = 0x0001, + SLR_ANY_MATCH = 0x0002, + SLR_UPDATE = 0x0004, + SLR_NOUPDATE = 0x0008, + SLR_NOSEARCH = 0x0010, + SLR_NOTRACK = 0x0020, + SLR_NOLINKINFO = 0x0040, + SLR_INVOKE_MSI = 0x0080, + SLR_NO_UI_WITH_MSG_PUMP = 0x0101, + SLR_OFFER_DELETE_WITHOUT_FILE = 0x0200, + SLR_KNOWNFOLDER = 0x0400, + SLR_MACHINE_IN_LOCAL_TARGET = 0x0800, + SLR_UPDATE_MACHINE_AND_SID = 0x1000, + SLR_NO_OBJECT_ID = 0x2000 + } SLR_FLAGS; + + typedef [v1_enum] enum SLGP_FLAGS + { + SLGP_SHORTPATH = 0x0001, + SLGP_UNCPRIORITY = 0x0002, + SLGP_RAWPATH = 0x0004, + SLGP_RELATIVEPRIORITY = 0x0008 + } SLGP_FLAGS; + + HRESULT GetPath( + [out, size_is(cch)] LPSTR pszFile, + [in] int cch, + [in, out, unique] WIN32_FIND_DATAA *pfd, + [in] DWORD fFlags); + + HRESULT GetIDList( [out] LPITEMIDLIST * ppidl ); + + HRESULT SetIDList( [in] LPCITEMIDLIST pidl ); + + HRESULT GetDescription( + [out, size_is(cch)] LPSTR pszName, + [in] int cch); + + HRESULT SetDescription( [in] LPCSTR pszName ); + + HRESULT GetWorkingDirectory( + [out, size_is(cch)] LPSTR pszDir, + [in] int cch); + + HRESULT SetWorkingDirectory( [in] LPCSTR pszDir ); + + HRESULT GetArguments( + [out, size_is(cch)] LPSTR pszArgs, + [in] int cch); + + HRESULT SetArguments( [in] LPCSTR pszArgs ); + + HRESULT GetHotkey( [out] WORD *pwHotkey ); + + HRESULT SetHotkey( [in] WORD wHotkey ); + + HRESULT GetShowCmd( [out] int *piShowCmd ); + + HRESULT SetShowCmd( [in] int iShowCmd ); + + HRESULT GetIconLocation( + [out, size_is(cch)] LPSTR pszIconPath, + [in] int cch, + [out] int *piIcon); + + HRESULT SetIconLocation( + [in] LPCSTR pszIconPath, + [in] int iIcon); + + HRESULT SetRelativePath( + [in] LPCSTR pszPathRel, + [in] DWORD dwReserved); + + HRESULT Resolve( + [in] HWND hwnd, + [in] DWORD fFlags); + + HRESULT SetPath( [in] LPCSTR pszFile ); +} + + +/***************************************************************************** + * IShellLinkW interface + */ +[ + object, + uuid(000214f9-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IShellLinkW : IUnknown +{ + HRESULT GetPath( + [out, size_is(cch)] LPWSTR pszFile, + [in] int cch, + [in, out] WIN32_FIND_DATAW *pfd, + [in] DWORD fFlags); + + HRESULT GetIDList( [out] LPITEMIDLIST * ppidl ); + + HRESULT SetIDList( [in] LPCITEMIDLIST pidl ); + + HRESULT GetDescription( + [out, size_is(cch)] LPWSTR pszName, + [in] int cch); + + HRESULT SetDescription( [in] LPCWSTR pszName ); + + HRESULT GetWorkingDirectory( + [out, size_is(cch)] LPWSTR pszDir, + [in] int cch); + + HRESULT SetWorkingDirectory( [in] LPCWSTR pszDir ); + + HRESULT GetArguments( + [out, size_is(cch)] LPWSTR pszArgs, + [in] int cch); + + HRESULT SetArguments( [in] LPCWSTR pszArgs ); + + HRESULT GetHotkey( [out] WORD *pwHotkey ); + + HRESULT SetHotkey( [in] WORD wHotkey ); + + HRESULT GetShowCmd( [out] int *piShowCmd ); + + HRESULT SetShowCmd( [in] int iShowCmd ); + + HRESULT GetIconLocation( + [out, size_is(cch)] LPWSTR pszIconPath, + [in] int cch, + [out] int *piIcon); + + HRESULT SetIconLocation( + [in] LPCWSTR pszIconPath, + [in] int iIcon); + + HRESULT SetRelativePath( + [in] LPCWSTR pszPathRel, + [in] DWORD dwReserved); + + HRESULT Resolve( + [in] HWND hwnd, + [in] DWORD fFlags); + + HRESULT SetPath( [in] LPCWSTR pszFile ); +} + +cpp_quote("#define IShellLink WINELIB_NAME_AW(IShellLink)") + + +/***************************************************************************** + * IShellExtInit interface + */ +[ + object, + uuid(000214e8-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IShellExtInit : IUnknown +{ + typedef IShellExtInit *LPSHELLEXTINIT; + + HRESULT Initialize( + [in] LPCITEMIDLIST pidlFolder, + [in] IDataObject *pdtobj, + [in] HKEY hkeyProgID); +} + + +/*******************************************************************************/ +/* Note: the following interfaces are not in shobjidl.idl under Windows, they */ +/* are declared directly in shlobj.h. It hopefully won't break anything to put */ +/* them here anyway. */ +/*******************************************************************************/ + +#ifndef MAX_PATH +#define MAX_PATH 260 +#endif + + +/***************************************************************************** + * IPersistFolder3 interface + */ +[ + object, + uuid(cef04fdf-fe72-11d2-87a5-00c04f6837cf), + pointer_default(unique) +] +interface IPersistFolder3 : IPersistFolder2 +{ + typedef struct + { + LPITEMIDLIST pidlTargetFolder; + WCHAR szTargetParsingName[MAX_PATH]; + WCHAR szNetworkProvider[MAX_PATH]; + DWORD dwAttributes; + int csidl; + } PERSIST_FOLDER_TARGET_INFO; + + HRESULT InitializeEx( + [in] IBindCtx *pbc, + [in] LPCITEMIDLIST pidlRoot, + [in] const PERSIST_FOLDER_TARGET_INFO *ppfti); + + HRESULT GetFolderTargetInfo( [out] PERSIST_FOLDER_TARGET_INFO *ppfti ); +} + + +/***************************************************************************** + * IExtractIconA interface + */ +[ + object, + uuid(000214eb-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IExtractIconA : IUnknown +{ +cpp_quote("#define GIL_OPENICON 0x0001") +cpp_quote("#define GIL_FORSHELL 0x0002") +cpp_quote("#define GIL_ASYNC 0x0020") +cpp_quote("#define GIL_DEFAULTICON 0x0040") +cpp_quote("#define GIL_FORSHORTCUT 0x0080") + +cpp_quote("#define GIL_SIMULATEDOC 0x0001") +cpp_quote("#define GIL_PERINSTANCE 0x0002") +cpp_quote("#define GIL_PERCLASS 0x0004") +cpp_quote("#define GIL_NOTFILENAME 0x0008") +cpp_quote("#define GIL_DONTCACHE 0x0010") + + typedef IExtractIconA *LPEXTRACTICONA; + + HRESULT GetIconLocation( + [in] UINT uFlags, + [out, size_is(cchMax)] LPSTR szIconFile, + [in] UINT cchMax, + [out] INT *piIndex, + [out] UINT *pwFlags); + + HRESULT Extract( + [in] LPCSTR pszFile, + [in] UINT nIconIndex, + [out] HICON *phiconLarge, + [out] HICON *phiconSmall, + [in] UINT nIconSize ); +} + + +/***************************************************************************** + * IExtractIconW interface + */ +[ + object, + uuid(000214fa-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IExtractIconW : IUnknown +{ + typedef IExtractIconW *LPEXTRACTICONW; + + HRESULT GetIconLocation( + [in] UINT uFlags, + [out, size_is(cchMax)] LPWSTR szIconFile, + [in] UINT cchMax, + [out] INT *piIndex, + [out] UINT *pwFlags); + + HRESULT Extract( + [in] LPCWSTR pszFile, + [in] UINT nIconIndex, + [out] HICON *phiconLarge, + [out] HICON *phiconSmall, + [in] UINT nIconSize ); +} + +cpp_quote("#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON)") +cpp_quote("#define IExtractIcon WINELIB_NAME_AW(IExtractIcon)") + + +/***************************************************************************** + * ICommDlgBrowser interface + */ +[ + object, + uuid(000214f1-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface ICommDlgBrowser : IUnknown +{ +cpp_quote("#define CDBOSC_SETFOCUS 0x00000000") +cpp_quote("#define CDBOSC_KILLFOCUS 0x00000001") +cpp_quote("#define CDBOSC_SELCHANGE 0x00000002") +cpp_quote("#define CDBOSC_RENAME 0x00000003") +cpp_quote("#define CDBOSC_STATECHANGE 0x00000004") + + typedef ICommDlgBrowser *LPCOMMDLGBROWSER; + + HRESULT OnDefaultCommand( [in] IShellView *shv ); + HRESULT OnStateChange( [in] IShellView *shv, [in] ULONG uChange ); + HRESULT IncludeObject( [in] IShellView *shv, [in] LPCITEMIDLIST pidl ); +} + + +/***************************************************************************** + * ICommDlgBrowser2 interface + */ +[ + object, + uuid(10339516-2894-11D2-9039-00C04F8EEB3E), + pointer_default(unique) +] +interface ICommDlgBrowser2 : ICommDlgBrowser +{ + + HRESULT Notify( + [in] IShellView *ppshv, + [in] DWORD dwNotifyType); + + HRESULT GetDefaultMenuText( + [in] IShellView *ppshv, + [out, string, size_is(cchMax)] LPWSTR pszText, + [in] int cchMax); + + HRESULT GetViewFlags( + [out] DWORD *pdwFlags); +} + + +/***************************************************************************** + * ICommDlgBrowser3 interface + */ +[ + object, + uuid(C8AD25A1-3294-41EE-8165-71174BD01C57), + pointer_default(unique) +] +interface ICommDlgBrowser3 : ICommDlgBrowser2 +{ + + HRESULT OnColumnClicked( + [in] IShellView *ppshv, + [in] int iColumn); + + HRESULT GetCurrentFilter( + [out, string, size_is(cchFileSpec)] LPWSTR pszFileSpec, + [in] int cchFileSpec); + + HRESULT OnPreviewCreated( + [in] IShellView *ppshv); +} + +/***************************************************************************** + * IDockingWindow interface + */ +[ + object, + uuid(012dd920-7b26-11d0-8ca9-00a0c92dbfe8) +] +interface IDockingWindow : IOleWindow +{ + HRESULT ShowDW( + [in] BOOL fShow); + + HRESULT CloseDW( + [in] DWORD dwReserved); + + HRESULT ResizeBorderDW( + [in] LPCRECT prcBorder, + [in] IUnknown *punkToolbarSite, + [in] BOOL fReserved); +}; + + +/***************************************************************************** + * IDockingWindowFrame interface + */ +[ + object, + uuid(47d2657a-7b27-11d0-8ca9-00a0c92dbfe8), + pointer_default(unique), + local +] +interface IDockingWindowFrame : IOleWindow +{ +cpp_quote("#define DWFRF_NORMAL 0x0000") +cpp_quote("#define DWFRF_DELETECONFIGDATA 0x0001") +cpp_quote("#define DWFAF_HIDDEN 0x0001") + + HRESULT AddToolbar( + [in] IUnknown *punkSrc, + [in] LPCWSTR pwszItem, + [in] DWORD dwAddFlags); + + HRESULT RemoveToolbar( + [in] IUnknown *punkSrc, + [in] DWORD dwRemoveFlags); + + HRESULT FindToolbar( + [in] LPCWSTR pwszItem, + [in] REFIID riid, + [out] LPVOID *ppvObj); +} + + +/***************************************************************************** + * IDragSourceHelper interface + */ +[ + object, + uuid(de5bf786-477a-11d2-839d-00c04fd918d0), + pointer_default(unique), + local +] +interface IDragSourceHelper : IUnknown +{ + typedef struct + { + SIZE sizeDragImage; + POINT ptOffset; + HBITMAP hbmpDragImage; + COLORREF crColorKey; + } SHDRAGIMAGE, *LPSHDRAGIMAGE; + + HRESULT InitializeFromBitmap( + [in] LPSHDRAGIMAGE pshdi, + [in] IDataObject *pDataObject); + + HRESULT InitializeFromWindow( + [in] HWND hwnd, + [in] POINT *ppt, + [in] IDataObject *pDataObject); +} + + +/***************************************************************************** + * IDropTargetHelper interface + */ +[ + object, + uuid(4657278b-411b-11d2-839a-00c04fd918d0), + pointer_default(unique), + local +] +interface IDropTargetHelper : IUnknown +{ + HRESULT DragEnter( + [in] HWND hwndTarget, + [in] IDataObject *pDataObject, + [in] POINT *ppt, + [in] DWORD dwEffect); + + HRESULT DragLeave(); + + HRESULT DragOver( + [in] POINT *ppt, + [in] DWORD dwEffect); + + HRESULT Drop( + [in] IDataObject *pDataObject, + [in] POINT *ppt, + [in] DWORD dwEffect); + + HRESULT Show( [in] BOOL fShow ); +} + + +/***************************************************************************** + * IContextMenu interface + */ +[ + object, + uuid(000214e4-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IContextMenu : IUnknown +{ +cpp_quote("#define CMF_NORMAL 0x00000000") +cpp_quote("#define CMF_DEFAULTONLY 0x00000001") +cpp_quote("#define CMF_VERBSONLY 0x00000002") +cpp_quote("#define CMF_EXPLORE 0x00000004") +cpp_quote("#define CMF_NOVERBS 0x00000008") +cpp_quote("#define CMF_CANRENAME 0x00000010") +cpp_quote("#define CMF_NODEFAULT 0x00000020") +cpp_quote("#define CMF_INCLUDESTATIC 0x00000040") +cpp_quote("#define CMF_ITEMMENU 0x00000080") +cpp_quote("#define CMF_EXTENDEDVERBS 0x00000100") +cpp_quote("#define CMF_DISABLEDVERBS 0x00000200") +cpp_quote("#define CMF_ASYNCVERBSTATE 0x00000400") +cpp_quote("#define CMF_OPTIMIZEFORINVOKE 0x00000800") +cpp_quote("#define CMF_SYNCCASCADEMENU 0x00001000") +cpp_quote("#define CMF_DONOTPICKDEFAULT 0x00002000") +cpp_quote("#define CMF_RESERVED 0xffff0000") + +cpp_quote("#define GCS_VERBA 0x00000000") +cpp_quote("#define GCS_HELPTEXTA 0x00000001") +cpp_quote("#define GCS_VALIDATEA 0x00000002") +cpp_quote("#define GCS_VERBW 0x00000004") +cpp_quote("#define GCS_HELPTEXTW 0x00000005") +cpp_quote("#define GCS_VALIDATEW 0x00000006") +cpp_quote("#define GCS_UNICODE 0x00000004") +cpp_quote("#define GCS_VERB WINELIB_NAME_AW(GCS_VERB)") +cpp_quote("#define GCS_HELPTEXT WINELIB_NAME_AW(GCS_HELPTEXT)") +cpp_quote("#define GCS_VALIDATE WINELIB_NAME_AW(GCS_VALIDATE)") + +cpp_quote("#define CMDSTR_NEWFOLDERA \"NewFolder\"") +cpp_quote("#define CMDSTR_VIEWLISTA \"ViewList\"") +cpp_quote("#define CMDSTR_VIEWDETAILSA \"ViewDetails\"") +cpp_quote("#if defined(__GNUC__)") +cpp_quote("# define CMDSTR_NEWFOLDERW (const WCHAR []){ 'N','e','w','F','o','l','d','e','r',0 }") +cpp_quote("# define CMDSTR_VIEWLISTW (const WCHAR []){ 'V','i','e','w','L','i','s','t',0 }") +cpp_quote("# define CMDSTR_VIEWDETAILSW (const WCHAR []){ 'V','i','e','w','D','e','t','a','i','l','s',0 }") +cpp_quote("#elif defined(_MSC_VER)") +cpp_quote("# define CMDSTR_NEWFOLDERW L\"NewFolder\"") +cpp_quote("# define CMDSTR_VIEWLISTW L\"ViewList\"") +cpp_quote("# define CMDSTR_VIEWDETAILSW L\"ViewDetails\"") +cpp_quote("#else") +cpp_quote("static const WCHAR CMDSTR_NEWFOLDERW[] = {'N','e','w','F','o','l','d','e','r',0};") +cpp_quote("static const WCHAR CMDSTR_VIEWLISTW [] = {'V','i','e','w','L','i','s','t',0};") +cpp_quote("static const WCHAR CMDSTR_VIEWDETAILSW[] = {'V','i','e','w','D','e','t','a','i','l','s',0};") +cpp_quote("#endif") +cpp_quote("#define CMDSTR_NEWFOLDER WINELIB_NAME_AW(CMDSTR_NEWFOLDER)") +cpp_quote("#define CMDSTR_VIEWLIST WINELIB_NAME_AW(CMDSTR_VIEWLIST)") +cpp_quote("#define CMDSTR_VIEWDETAILS WINELIB_NAME_AW(CMDSTR_VIEWDETAILS)") + +cpp_quote("#define CMIC_MASK_HOTKEY SEE_MASK_HOTKEY") +cpp_quote("#define CMIC_MASK_ICON SEE_MASK_ICON") +cpp_quote("#define CMIC_MASK_FLAG_NO_UI SEE_MASK_FLAG_NO_UI") +cpp_quote("#define CMIC_MASK_UNICODE SEE_MASK_UNICODE") +cpp_quote("#define CMIC_MASK_NO_CONSOLE SEE_MASK_NO_CONSOLE") +cpp_quote("#define CMIC_MASK_HASLINKNAME SEE_MASK_HASLINKNAME") +cpp_quote("#define CMIC_MASK_FLAG_SEP_VDM SEE_MASK_FLAG_SEPVDM") +cpp_quote("#define CMIC_MASK_HASTITLE SEE_MASK_HASTITLE") +cpp_quote("#define CMIC_MASK_ASYNCOK SEE_MASK_ASYNCOK") +cpp_quote("#define CMIC_MASK_NOASYNC SEE_MASK_NOASYNC") +cpp_quote("#define CMIC_MASK_SHIFT_DOWN 0x10000000") +cpp_quote("#define CMIC_MASK_PTINVOKE 0x20000000") +cpp_quote("#define CMIC_MASK_CONTROL_DOWN 0x40000000") +cpp_quote("#define CMIC_MASK_FLAG_LOG_USAGE SEE_MASK_FLAG_LOG_USAGE") +cpp_quote("#define CMIC_MASK_NOZONECHECKS SEE_MASK_NOZONECHECKS") + + typedef IContextMenu *LPCONTEXTMENU; + + typedef struct tagCMINVOKECOMMANDINFO + { + DWORD cbSize; + DWORD fMask; + HWND hwnd; + LPCSTR lpVerb; + LPCSTR lpParameters; + LPCSTR lpDirectory; + INT nShow; + DWORD dwHotKey; + HANDLE hIcon; + } CMINVOKECOMMANDINFO, *LPCMINVOKECOMMANDINFO; + + typedef struct tagCMInvokeCommandInfoEx + { + DWORD cbSize; + DWORD fMask; + HWND hwnd; + LPCSTR lpVerb; + LPCSTR lpParameters; + LPCSTR lpDirectory; + INT nShow; + DWORD dwHotKey; + HANDLE hIcon; + LPCSTR lpTitle; + LPCWSTR lpVerbW; + LPCWSTR lpParametersW; + LPCWSTR lpDirectoryW; + LPCWSTR lpTitleW; + POINT ptInvoke; + } CMINVOKECOMMANDINFOEX, *LPCMINVOKECOMMANDINFOEX; + + HRESULT QueryContextMenu( + [in] HMENU hmenu, + [in] UINT indexMenu, + [in] UINT idCmdFirst, + [in] UINT idCmdLast, + [in] UINT uFlags); + + HRESULT InvokeCommand( [in] LPCMINVOKECOMMANDINFO lpici ); + + HRESULT GetCommandString( + [in] UINT_PTR idCmd, + [in] UINT uType, + [out] UINT *pwReserved, + [out, size_is(cchMax)] LPSTR pszName, + [in] UINT cchMax); +} + + +/***************************************************************************** + * IContextMenu2 interface + */ +[ + object, + uuid(000214f4-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IContextMenu2 : IContextMenu +{ + typedef IContextMenu2 *LPCONTEXTMENU2; + + HRESULT HandleMenuMsg( + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); +} + + +/***************************************************************************** + * IContextMenu3 interface + */ +[ + object, + uuid(bcfce0a0-ec17-11d0-8d10-00a0c90f2719), + pointer_default(unique), + local +] +interface IContextMenu3 : IContextMenu2 +{ + typedef IContextMenu3 *LPCONTEXTMENU3; + + HRESULT HandleMenuMsg2( + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam, + [out] LRESULT *plResult); +} + + +[ + object, + uuid(3409e930-5a39-11d1-83fa-00a0c90dc849), + pointer_default(unique), + local +] +interface IContextMenuCB : IUnknown +{ + HRESULT CallBack( + [in] IShellFolder *psf, + [in] HWND hwndOwner, + [in] IDataObject *pdtobj, + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); +} + +/***************************************************************************** + * IShellExecuteHookA interface + */ +[ + object, + uuid(000214f5-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IShellExecuteHookA : IUnknown +{ + cpp_quote("struct _SHELLEXECUTEINFOA;") + HRESULT Execute( + [in, out] struct _SHELLEXECUTEINFOA* pei); +} + + +/***************************************************************************** + * IShellExecuteHookW interface + */ +[ + object, + uuid(000214fb-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface IShellExecuteHookW : IUnknown +{ + cpp_quote("struct _SHELLEXECUTEINFOW;") + HRESULT Execute( + [in, out] struct _SHELLEXECUTEINFOW* pei); +} + +/***************************************************************************** + * IShellLinkDataList interface + */ +[ + object, + uuid(45e2b4ae-b1c3-11d0-b92f-00a0c90312e1), + pointer_default(unique) +] +interface IShellLinkDataList : IUnknown +{ + [local] HRESULT AddDataBlock( + [in] void *pDataBlock); + [local] HRESULT CopyDataBlock( + [in] DWORD dwSig, + [out] void **ppDataBlock); + HRESULT RemoveDataBlock( + [in] DWORD dwSig); + HRESULT GetFlags( + [out] DWORD *pdwFlags); + HRESULT SetFlags( + [in] DWORD dwFlags); +} + + +/***************************************************************************** + * IResolveShellLink interface + */ +[ + object, + uuid(5cd52983-9449-11d2-963a-00c04f79adf0), + pointer_default(unique) +] +interface IResolveShellLink : IUnknown +{ + HRESULT ResolveShellLink( + [in] IUnknown *punk, + [in] HWND hwnd, + [in] DWORD fFlags); +} + + +/***************************************************************************** + * IURLSearchHook interface + */ +[ + object, + uuid(ac60f6a0-0fd9-11d0-99cb-00c04fd64497), + pointer_default(unique), + local +] +interface IURLSearchHook : IUnknown +{ + HRESULT Translate( + [in, out] LPWSTR lpwszSearchURL, + [in] DWORD cchBufferSize); +} + + +/***************************************************************************** + * ISearchContext interface + */ +[ + object, + uuid(09f656a2-41af-480c-88f7-16cc0d164615), + pointer_default(unique), + local +] +interface ISearchContext : IUnknown +{ + HRESULT GetSearchUrl( + [in] BSTR *pbstrSearchUrl); + HRESULT GetSearchText( + [in] BSTR *pbstrSearchText); + HRESULT GetSearchStyle( + [in] BSTR *pdwSearchStyle); +} + + +/***************************************************************************** + * IURLSearchHook2 interface + */ +[ + object, + uuid(5ee44da4-6d32-46e3-86bc-07540dedd0e0), + pointer_default(unique), + local +] +interface IURLSearchHook2 : IURLSearchHook +{ + HRESULT TranslateWithSearchContext( + [in, out] LPWSTR lpwszSearchURL, + [in] DWORD cchBufferSize, + [in] ISearchContext *pSearchContext); +} + + +cpp_quote("#define INewShortcutHook WINELIB_NAME_AW(INewShortcutHook)") + +/***************************************************************************** + * INewShortcutHookA interface + */ +[ + object, + uuid(000214e1-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface INewShortcutHookA : IUnknown +{ + HRESULT SetReferent( + [in] LPCSTR pcszReferent, + [in] HWND hwnd); + HRESULT GetReferent( + [out] LPSTR pcszReferent, + [in] int cchReferent); + HRESULT SetFolder( + [in] LPCSTR pcszReferent); + HRESULT GetFolder( + [out] LPSTR pcszReferent, + [in] int cchFolder); + HRESULT GetName( + [out] LPSTR pszName, + [in] int cchName); + HRESULT GetExtension( + [out] LPSTR pszExtension, + [in] int cchExtension); +} + + +/***************************************************************************** + * INewShortcutHookW interface + */ +[ + object, + uuid(000214f7-0000-0000-c000-000000000046), + pointer_default(unique), + local +] +interface INewShortcutHookW : IUnknown +{ + HRESULT SetReferent( + [in] LPCWSTR pcszReferent, + [in] HWND hwnd); + HRESULT GetReferent( + [out] LPWSTR pcszReferent, + [in] int cchReferent); + HRESULT SetFolder( + [in] LPCWSTR pcszReferent); + HRESULT GetFolder( + [out] LPWSTR pcszReferent, + [in] int cchFolder); + HRESULT GetName( + [out] LPWSTR pszName, + [in] int cchName); + HRESULT GetExtension( + [out] LPWSTR pszExtension, + [in] int cchExtension); +} + +/***************************************************************************** + * IRunnableTask interface + */ +[ + object, + uuid(85788d00-6807-11d0-b810-00c04fd706ec), + pointer_default(unique), + local +] +interface IRunnableTask : IUnknown +{ + HRESULT Run(); + HRESULT Kill([in] BOOL fWait); + HRESULT Suspend(); + HRESULT Resume(); + ULONG IsRunning(); +} + +/***************************************************************************** + * IShellChangeNotify interface + */ +[ + object, + uuid(d82be2b1-5764-11d0-a96e-00c04fd705a2), + pointer_default(unique), + local +] +interface IShellChangeNotify : IUnknown +{ + HRESULT OnChange( + [in] LONG lEvent, + [in] LPCITEMIDLIST pidl1, + [in] LPCITEMIDLIST pidl2); +} + +/***************************************************************************** + * IFileSystemBindData interface + */ +[ + object, + uuid(01e18d10-4d8b-11d2-855d-006008059367), + pointer_default(unique), + local +] +interface IFileSystemBindData : IUnknown +{ + HRESULT SetFindData( + [in] const WIN32_FIND_DATAW *pfd); + HRESULT GetFindData( + [out] WIN32_FIND_DATAW *pfd); +} + +/***************************************************************************** + * ITaskbarList interface + */ +[ + object, + uuid(56FDF342-FD6D-11d0-958A-006097C9A090), + pointer_default(unique) +] +interface ITaskbarList : IUnknown +{ + HRESULT HrInit(); + + HRESULT AddTab( + [in] HWND hwnd); + + HRESULT DeleteTab( + [in] HWND hwnd); + + HRESULT ActivateTab( + [in] HWND hwnd); + + HRESULT SetActiveAlt( + [in] HWND hwnd); +} + +/***************************************************************************** + * ITaskbarList2 interface + */ +[ + object, + uuid(602D4995-B13A-429B-A66E-1935E44F4317), + pointer_default(unique) +] +interface ITaskbarList2 : ITaskbarList +{ + HRESULT MarkFullscreenWindow( + [in] HWND hwnd, + [in] BOOL fullscreen); +} + +cpp_quote("#ifdef MIDL_PASS") +typedef IUnknown* HIMAGELIST; +cpp_quote("#endif") + +typedef [v1_enum] enum THUMBBUTTONFLAGS { + THBF_ENABLED = 0x0000, + THBF_DISABLED = 0x0001, + THBF_DISMISSONCLICK = 0x0002, + THBF_NOBACKGROUND = 0x0004, + THBF_HIDDEN = 0x0008, + THBF_NONINTERACTIVE = 0x0010 +} THUMBBUTTONFLAGS; + +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(THUMBBUTTONFLAGS)") + +typedef [v1_enum] enum THUMBBUTTONMASK { + THB_BITMAP = 0x0001, + THB_ICON = 0x0002, + THB_TOOLTIP = 0x0004, + THB_FLAGS = 0x0008 +} THUMBBUTTONMASK; + +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(THUMBBUTTONMASK)") + +cpp_quote("#include ") +typedef struct THUMBBUTTON { + THUMBBUTTONMASK dwMask; + UINT iId; + UINT iBitmap; + HICON hIcon; + WCHAR szTip[260]; + THUMBBUTTONFLAGS dwFlags; +} THUMBBUTTON, *LPTHUMBBUTTON; +cpp_quote("#include ") + +[ + uuid(ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf), + object +] +interface ITaskbarList3 : ITaskbarList2 +{ + typedef [v1_enum] enum TBPFLAG { + TBPF_NOPROGRESS = 0x0000, + TBPF_INDETERMINATE = 0x0001, + TBPF_NORMAL = 0x0002, + TBPF_ERROR = 0x0004, + TBPF_PAUSED = 0x0008 + } TBPFLAG; + + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(TBPFLAG)") + + HRESULT SetProgressValue( + [in] HWND hwnd, + [in] ULONGLONG ullCompleted, + [in] ULONGLONG ullTotal); + + HRESULT SetProgressState( + [in] HWND hwnd, + [in] TBPFLAG tbpFlags); + + HRESULT RegisterTab( + [in] HWND hwndTab, + [in] HWND hwndMDI); + + HRESULT UnregisterTab([in] HWND hwndTab); + + HRESULT SetTabOrder( + [in] HWND hwndTab, + [in] HWND hwndInsertBefore); + + HRESULT SetTabActive( + [in] HWND hwndTab, + [in] HWND hwndMDI, + [in] DWORD dwReserved); + + HRESULT ThumbBarAddButtons( + [in] HWND hwnd, + [in] UINT cButtons, + [in, size_is(cButtons)] LPTHUMBBUTTON pButton); + + HRESULT ThumbBarUpdateButtons( + [in] HWND hwnd, + [in] UINT cButtons, + [in, size_is(cButtons)] LPTHUMBBUTTON pButton); + + HRESULT ThumbBarSetImageList( + [in] HWND hwnd, + [in] HIMAGELIST himl); + + HRESULT SetOverlayIcon( + [in] HWND hwnd, + [in] HICON hIcon, + [in, unique, string] LPCWSTR pszDescription); + + HRESULT SetThumbnailTooltip( + [in] HWND hwnd, + [in, unique, string] LPCWSTR pszTip); + + HRESULT SetThumbnailClip( + [in] HWND hwnd, + [in] RECT *prcClip); +} + +[ + uuid(c43dc798-95d1-4bea-9030-bb99e2983a1a), + object +] +interface ITaskbarList4 : ITaskbarList3 +{ + typedef [v1_enum] enum STPFLAG { + STPF_NONE = 0x0000, + STPF_USEAPPTHUMBNAILALWAYS = 0x0001, + STPF_USEAPPTHUMBNAILWHENACTIVE = 0x0002, + STPF_USEAPPPEEKALWAYS = 0x0004, + STPF_USEAPPPEEKWHENACTIVE = 0x0008 + } STPFLAG; + + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(STPFLAG)") + + HRESULT SetTabProperties( + [in] HWND hwndTab, + [in] STPFLAG stpFlags); +} + +/***************************************************************************** + * IAutoCompleteDropDown interface + */ +[ + object, + uuid(3CD141F4-3C6A-11d2-BCAA-00C04FD929DB), + pointer_default(unique) +] +interface IAutoCompleteDropDown : IUnknown +{ +cpp_quote("#define ACDD_VISIBLE 0x0001") + + HRESULT GetDropDownStatus( + [out] DWORD *pdwFlags, + [out, string] LPWSTR *ppwszString); + + HRESULT ResetEnumerator(); +} + +[ + object, + uuid(cb728b20-f786-11ce-92ad-00aa00a74cd0), + pointer_default(unique) +] +interface IProfferService : IUnknown +{ + HRESULT ProfferService( + [in] REFGUID service, + [in] IServiceProvider *pService, + [out] DWORD *pCookie); + + HRESULT RevokeService([in] DWORD cookie); +} + +/***************************************************************************** + * IExplorerBrowserEvents interface + */ +[ + object, + uuid(361BBDC7-E6EE-4E13-BE58-58E2240C810F) +] +interface IExplorerBrowserEvents : IUnknown +{ + HRESULT OnNavigationPending( + [in] PCIDLIST_ABSOLUTE pidlFolder); + + HRESULT OnViewCreated( + [in] IShellView *psv); + + HRESULT OnNavigationComplete( + [in] PCIDLIST_ABSOLUTE pidlFolder); + + HRESULT OnNavigationFailed( + [in] PCIDLIST_ABSOLUTE pidlFolder); +} + +typedef GUID EXPLORERPANE; +typedef EXPLORERPANE *REFEXPLORERPANE; + +cpp_quote("#define SID_ExplorerPaneVisibility IID_IExplorerPaneVisibility") + +/***************************************************************************** + * IExplorerPaneVisibility interface + */ +[ + object, + uuid(E07010EC-BC17-44C0-97B0-46C7C95B9EDC) +] +interface IExplorerPaneVisibility : IUnknown +{ + [v1_enum] enum _EXPLORERPANESTATE { + EPS_DONTCARE = 0x0, + EPS_DEFAULT_ON = 0x1, + EPS_DEFAULT_OFF = 0x2, + EPS_STATE_MASK = 0xffff, + EPS_INITIALSTATE = 0x10000, + EPS_FORCE = 0x20000 + }; + typedef DWORD EXPLORERPANESTATE; + + HRESULT GetPaneState( + [in] REFEXPLORERPANE ep, + [out] EXPLORERPANESTATE *peps); +} + +typedef [v1_enum] enum tagEXPLORER_BROWSER_FILL_FLAGS { + EBF_NONE = 0, + EBF_SELECTFROMDATAOBJECT = 0x100, + EBF_NODROPTARGET = 0x200 +} EXPLORER_BROWSER_FILL_FLAGS; + +typedef [v1_enum] enum tagEXPLORER_BROWSER_OPTIONS { + EBO_NONE = 0x00, + EBO_NAVIGATEONCE = 0x01, + EBO_SHOWFRAMES = 0x02, + EBO_ALWAYSNAVIGATE = 0x04, + EBO_NOTRAVELLOG = 0x08, + EBO_NOWRAPPERWINDOW = 0x10, + EBO_HTMLSHAREPOINTVIEW = 0x20, + EBO_NOBORDER = 0x40, + EBO_NOPERSISTVIEWSTATE = 0x80, +} EXPLORER_BROWSER_OPTIONS; + +cpp_quote("#define SID_SExplorerBrowserFrame IID_ICommDlgBrowser") + +/***************************************************************************** + * IExplorerBrowser interface + */ +[ + object, + uuid(DFD3B6B5-C10C-4BE9-85F6-A66969F402F6), + pointer_default(unique) +] +interface IExplorerBrowser : IUnknown +{ + + [local] HRESULT Initialize( + [in] HWND hwndParent, + [in] const RECT *prc, + [in, unique] const FOLDERSETTINGS *pfs); + + HRESULT Destroy(); + + [local] HRESULT SetRect( + [in,out,unique] HDWP *phdwp, + [in] RECT rcBrowser); + + HRESULT SetPropertyBag( + [in, string] LPCWSTR pszPropertyBag); + + HRESULT SetEmptyText( + [in, string] LPCWSTR pszEmptyText); + + HRESULT SetFolderSettings( + [in] const FOLDERSETTINGS *pfs); + + HRESULT Advise( + [in] IExplorerBrowserEvents *psbe, + [out] DWORD *pdwCookie); + + HRESULT Unadvise( + [in] DWORD dwCookie); + + HRESULT SetOptions( + [in] EXPLORER_BROWSER_OPTIONS dwFlag); + + HRESULT GetOptions( + [out] EXPLORER_BROWSER_OPTIONS *pdwFlag); + + HRESULT BrowseToIDList( + [in] PCUIDLIST_RELATIVE pidl, + [in] UINT uFlags); + + HRESULT BrowseToObject( + [in] IUnknown *punk, + [in] UINT uFlags); + + HRESULT FillFromObject( + [in] IUnknown *punk, + [in] EXPLORER_BROWSER_FILL_FLAGS dwFlags); + + HRESULT RemoveAll(); + + HRESULT GetCurrentView( + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); +} + +/***************************************************************************** + * INameSpaceTreeControl interface + */ +[ + object, + uuid(028212A3-B627-47E9-8856-C14265554E4F) +] +interface INameSpaceTreeControl : IUnknown +{ + [v1_enum] enum _NSTCSTYLE { + NSTCS_HASEXPANDOS = 0x00000001, + NSTCS_HASLINES = 0x00000002, + NSTCS_SINGLECLICKEXPAND = 0x00000004, + NSTCS_FULLROWSELECT = 0x00000008, + NSTCS_SPRINGEXPAND = 0x00000010, + NSTCS_HORIZONTALSCROLL = 0x00000020, + NSTCS_ROOTHASEXPANDO = 0x00000040, + NSTCS_SHOWSELECTIONALWAYS = 0x00000080, + NSTCS_NOINFOTIP = 0x00000200, + NSTCS_EVENHEIGHT = 0x00000400, + NSTCS_NOREPLACEOPEN = 0x00000800, + NSTCS_DISABLEDRAGDROP = 0x00001000, + NSTCS_NOORDERSTREAM = 0x00002000, + NSTCS_RICHTOOLTIP = 0x00004000, + NSTCS_BORDER = 0x00008000, + NSTCS_NOEDITLABELS = 0x00010000, + NSTCS_TABSTOP = 0x00020000, + NSTCS_FAVORITESMODE = 0x00080000, + NSTCS_AUTOHSCROLL = 0x00100000, + NSTCS_FADEINOUTEXPANDOS = 0x00200000, + NSTCS_EMPTYTEXT = 0x00400000, + NSTCS_CHECKBOXES = 0x00800000, + NSTCS_PARTIALCHECKBOXES = 0x01000000, + NSTCS_EXCLUSIONCHECKBOXES = 0x02000000, + NSTCS_DIMMEDCHECKBOXES = 0x04000000, + NSTCS_NOINDENTCHECKS = 0x08000000, + NSTCS_ALLOWJUNCTIONS = 0x10000000, + NSTCS_SHOWTABSBUTTON = 0x20000000, + NSTCS_SHOWDELETEBUTTON = 0x40000000, + NSTCS_SHOWREFRESHBUTTON = (int)0x80000000 + }; + typedef DWORD NSTCSTYLE; + + [v1_enum] enum _NSTCROOTSTYLE { + NSTCRS_VISIBLE = 0x0000, + NSTCRS_HIDDEN = 0x0001, + NSTCRS_EXPANDED = 0x0002 + }; + typedef DWORD NSTCROOTSTYLE; + + [v1_enum] enum _NSTCITEMSTATE { + NSTCIS_NONE = 0x0000, + NSTCIS_SELECTED = 0x0001, + NSTCIS_EXPANDED = 0x0002, + NSTCIS_BOLD = 0x0004, + NSTCIS_DISABLED = 0x0008, + NSTCIS_SELECTEDNOEXPAND = 0x0010 + }; + typedef DWORD NSTCITEMSTATE; + + typedef [v1_enum] enum NSTCGNI { + NSTCGNI_NEXT = 0, + NSTCGNI_NEXTVISIBLE = 1, + NSTCGNI_PREV = 2, + NSTCGNI_PREVVISIBLE = 3, + NSTCGNI_PARENT = 4, + NSTCGNI_CHILD = 5, + NSTCGNI_FIRSTVISIBLE = 6, + NSTCGNI_LASTVISIBLE = 7 + } NSTCGNI; + + HRESULT Initialize( + [in] HWND hwndParent, + [in, unique] RECT *prc, + [in] NSTCSTYLE nstcsFlags); + + HRESULT TreeAdvise( + [in] IUnknown *punk, + [out] DWORD *pdwCookie); + + HRESULT TreeUnadvise( + [in] DWORD dwCookie); + + HRESULT AppendRoot( + [in] IShellItem *psiRoot, + [in] SHCONTF grfEnumFlags, + [in] NSTCROOTSTYLE grfRootStyle, + [in, unique] IShellItemFilter *pif); + + HRESULT InsertRoot( + [in] int iIndex, + [in] IShellItem *psiRoot, + [in] SHCONTF grfEnumFlags, + [in] NSTCROOTSTYLE grfRootStyle, + [in, unique] IShellItemFilter *pif); + + HRESULT RemoveRoot( + [in] IShellItem *psiRoot); + + HRESULT RemoveAllRoots(); + + HRESULT GetRootItems( + [out] IShellItemArray **ppsiaRootItems); + + HRESULT SetItemState( + [in] IShellItem *psi, + [in] NSTCITEMSTATE nstcisMask, + [in] NSTCITEMSTATE nstcisFlags); + + HRESULT GetItemState( + [in] IShellItem *psi, + [in] NSTCITEMSTATE nstcismask, + [out] NSTCITEMSTATE *pnstcisFlags); + + HRESULT GetSelectedItems( + [out] IShellItemArray **psiaItems); + + HRESULT GetItemCustomState( + [in] IShellItem *psi, + [out] int *piStateNumber); + + HRESULT SetItemCustomState( + [in] IShellItem *psi, + [in] int iStateNumber); + + HRESULT EnsureItemVisible( + [in] IShellItem *psi); + + HRESULT SetTheme( + [in, string] LPCWSTR pszTheme); + + HRESULT GetNextItem( + [in, unique] IShellItem *psi, + [in] NSTCGNI nstcgi, + [out] IShellItem **ppsiNext); + + HRESULT HitTest( + [in] POINT *ppt, + [out] IShellItem **ppsiOut); + + HRESULT GetItemRect( + [in] IShellItem *psi, + [out] RECT *prect); + + HRESULT CollapseAll(); +} + +/***************************************************************************** + * INameSpaceTreeControl2 interface + */ +[ + object, + uuid(7CC7AED8-290E-49BC-8945-C1401CC9306C) +] +interface INameSpaceTreeControl2 : INameSpaceTreeControl +{ + typedef [v1_enum] enum NSTCSTYLE2 { + NSTCS2_DEFAULT = 0x00, + NSTCS2_INTERRUPTNOTIFICATIONS = 0x01, + NSTCS2_SHOWNULLSPACEMENU = 0x02, + NSTCS2_DISPLAYPADDING = 0x04, + NSTCS2_DISPLAYPINNEDONLY = 0x08, + NTSCS2_NOSINGLETONAUTOEXPAND = 0x10, /* The apparent typo here is */ + NTSCS2_NEVERINSERTNONENUMERATED = 0x20 /* present also in the Win SDK */ + } NSTCSTYLE2; + cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(NSTCSTYLE2)") + + HRESULT SetControlStyle( + [in] NSTCSTYLE nstcsMask, + [in] NSTCSTYLE nstcsStyle); + + HRESULT GetControlStyle( + [in] NSTCSTYLE nstcsMask, + [out] NSTCSTYLE *pnstcsStyle); + + HRESULT SetControlStyle2( + [in] NSTCSTYLE2 nstcsMask, + [in] NSTCSTYLE2 nstcsStyle); + + HRESULT GetControlStyle2( + [in] NSTCSTYLE2 nstcsMask, + [out] NSTCSTYLE2 *pnstcsStyle); +} + +/***************************************************************************** + * INameSpaceTreeControlEvents interface + */ + +[ + object, + uuid(93D77985-B3D8-4484-8318-672CDDA002CE), + local +] +interface INameSpaceTreeControlEvents : IUnknown +{ + [v1_enum] enum _NSTCEHITTEST { + NSTCEHT_NOWHERE = 0x0001, + NSTCEHT_ONITEMICON = 0x0002, + NSTCEHT_ONITEMLABEL = 0x0004, + NSTCEHT_ONITEMIDENT = 0x0008, + NSTCEHT_ONITEMBUTTON = 0x0010, + NSTCEHT_ONITEMRIGHT = 0x0020, + NSTCEHT_ONITEMSTATEICON = 0x0040, + NSTCEHT_ONITEM = 0x0046, + NSTCEHT_ONITEMTABBUTTON = 0x1000 + }; + typedef DWORD NSTCEHITTEST; + + [v1_enum] enum _NSTCECLICKTYPE { + NSTCECT_LBUTTON = 0x1, + NSTCECT_MBUTTON = 0x2, + NSTCECT_RBUTTON = 0x3, + NSTCECT_BUTTON = 0x3, + NSTCECT_DBLCLICK = 0x4 + }; + typedef DWORD NSTCECLICKTYPE; + + HRESULT OnItemClick( + [in] IShellItem *psi, + [in] NSTCEHITTEST nstceHitTest, + [in] NSTCECLICKTYPE nstceClickType); + + HRESULT OnPropertyItemCommit( + [in] IShellItem *psi); + + HRESULT OnItemStateChanging( + [in] IShellItem *psi, + [in] NSTCITEMSTATE nstcisMask, + [in] NSTCITEMSTATE nstcisState); + + HRESULT OnItemStateChanged( + [in] IShellItem *psi, + [in] NSTCITEMSTATE nstcisMask, + [in] NSTCITEMSTATE nstcisState); + + HRESULT OnSelectionChanged( + [in] IShellItemArray *psiaSelection); + + HRESULT OnKeyboardInput( + [in] UINT uMsg, + [in] WPARAM wParam, + [in] LPARAM lParam); + + HRESULT OnBeforeExpand( + [in] IShellItem *psi); + + HRESULT OnAfterExpand( + [in] IShellItem *psi); + + HRESULT OnBeginLabelEdit( + [in] IShellItem *psi); + + HRESULT OnEndLabelEdit( + [in] IShellItem *psi); + + HRESULT OnGetToolTip( + [in] IShellItem *psi, + [out, string, size_is(cchTip)] LPWSTR pszTip, + [in] int cchTip); + + HRESULT OnBeforeItemDelete( + [in] IShellItem *psi); + + HRESULT OnItemAdded( + [in] IShellItem *psi, + [in] BOOL fIsRoot); + + HRESULT OnItemDeleted( + [in] IShellItem *psi, + [in] BOOL fIsRoot); + + HRESULT OnBeforeContextMenu( + [in, unique] IShellItem *psi, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT OnAfterContextMenu( + [in] IShellItem *psi, + [in] IContextMenu *pcmIn, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT OnBeforeStateImageChange( + [in] IShellItem *psi); + + HRESULT OnGetDefaultIconIndex( + [in] IShellItem *psi, + [out] int *piDefaultIcon, + [out] int *piOpenIcon); +} + +/***************************************************************************** + * INameSpaceTreeControlCustomDraw interface + */ +[ + object, + uuid(2D3BA758-33EE-42D5-BB7B-5F3431D86C78), + local +] + +interface INameSpaceTreeControlCustomDraw : IUnknown +{ + typedef struct NSTCCUSTOMDRAW + { + IShellItem *psi; + UINT uItemState; + NSTCITEMSTATE nstcis; + LPCWSTR pszText; + int iImage; + HIMAGELIST himl; + int iLevel; + int iIndent; + } NSTCCUSTOMDRAW; + + HRESULT PrePaint( + [in] HDC hdc, + [in] RECT *prc, + [out] LRESULT *plres); + + HRESULT PostPaint( + [in] HDC hdc, + [in] RECT *prc); + + HRESULT ItemPrePaint( + [in] HDC hdc, + [in] RECT *prc, + [in, out] COLORREF *pclrText, + [in, out] COLORREF *pclrTextBk, + [out] LRESULT *plres); + + HRESULT ItemPostPaint( + [in] HDC hdc, + [in] RECT *prc, + [in] NSTCCUSTOMDRAW *pnstccdItem); +} + +/***************************************************************************** + * INameSpaceTreeControlDropHandler interface + */ +[ + object, + uuid(F9C665D6-C2F2-4C19-BF33-8322D7352F51), + local +] +interface INameSpaceTreeControlDropHandler : IUnknown +{ + HRESULT OnDragEnter( + [in, unique] IShellItem *psiOver, + [in] IShellItemArray *psiaData, + [in] BOOL fOutsideSource, + [in] DWORD grfKeyState, + [in, out] DWORD *pdwEffect); + + HRESULT OnDragOver( + [in, unique] IShellItem *psiOver, + [in] IShellItemArray *psiaData, + [in] DWORD grfKeyState, + [in, out] DWORD *pdwEffect); + + HRESULT OnDragPosition( + [in, unique] IShellItem *psiOver, + [in] IShellItemArray *psiaData, + [in] int iNewPosition, + [in] int iOldPosition); + + HRESULT OnDrop( + [in, unique] IShellItem *psiOver, + [in] IShellItemArray *psiaData, + [in] int iPosition, + [in] DWORD grfKeyState, + [in, out] DWORD *pdwEffect); + + HRESULT OnDropPosition( + [in, unique] IShellItem *psiOver, + [in] IShellItemArray *psiaData, + [in] int iNewPosition, + [in] int iOldPosition); + + HRESULT OnDragLeave( + [in, unique] IShellItem *psiOver); +} +cpp_quote("#define NSTCDHPOS_ONTOP -1") + +interface IFileDialog; + +typedef [v1_enum] enum FDE_OVERWRITE_RESPONSE +{ + FDEOR_DEFAULT = 0, + FDEOR_ACCEPT = 1, + FDEOR_REFUSE = 2 +} FDE_OVERWRITE_RESPONSE; + +typedef [v1_enum] enum FDE_SHAREVIOLATION_RESPONSE +{ + FDESVR_DEFAULT = 0, + FDESVR_ACCEPT = 1, + FDESVR_REFUSE = 2 +} FDE_SHAREVIOLATION_RESPONSE; + +/***************************************************************************** + * IFileDialogEvents interface + */ +[ + object, + uuid(973510DB-7D7F-452B-8975-74A85828D354), + pointer_default(unique) +] +interface IFileDialogEvents : IUnknown +{ + HRESULT OnFileOk( + [in] IFileDialog *pfd); + + HRESULT OnFolderChanging( + [in] IFileDialog *pfd, + [in] IShellItem *psiFolder); + + HRESULT OnFolderChange( + [in] IFileDialog *pfd); + + HRESULT OnSelectionChange( + [in] IFileDialog *pfd); + + HRESULT OnShareViolation( + [in] IFileDialog *pfd, + [in] IShellItem *psi, + [out] FDE_SHAREVIOLATION_RESPONSE *pResponse); + + HRESULT OnTypeChange( + [in] IFileDialog *pfd); + + HRESULT OnOverwrite( + [in] IFileDialog *pfd, + [in] IShellItem *psi, + [out] FDE_OVERWRITE_RESPONSE *pResponse); +} + +/***************************************************************************** + * IModalWindow interface + */ +[ + object, + uuid(B4DB1657-70D7-485E-8E3E-6FCB5A5C1802), + pointer_default(unique) +] +interface IModalWindow : IUnknown +{ + [local] + HRESULT Show( + [in, unique, annotation("__in_opt")] HWND hwndOwner); + + [call_as(Show)] + HRESULT RemoteShow( + [in, unique] HWND hwndOwner); +} + +typedef [v1_enum] enum FDAP +{ + FDAP_BOTTOM = 0, + FDAP_TOP = 1 +} FDAP; + +/***************************************************************************** + * IFileDialog interface + */ +[ + object, + uuid(42F85136-DB7E-439C-85F1-E4075D135FC8), + pointer_default(unique) +] +interface IFileDialog : IModalWindow +{ + [v1_enum] enum _FILEOPENDIALOGOPTIONS + { + FOS_OVERWRITEPROMPT = 0x00000002, + FOS_STRICTFILETYPES = 0x00000004, + FOS_NOCHANGEDIR = 0x00000008, + FOS_PICKFOLDERS = 0x00000020, + FOS_FORCEFILESYSTEM = 0x00000040, + FOS_ALLNONSTORAGEITEMS = 0x00000080, + FOS_NOVALIDATE = 0x00000100, + FOS_ALLOWMULTISELECT = 0x00000200, + FOS_PATHMUSTEXIST = 0x00000800, + FOS_FILEMUSTEXIST = 0x00001000, + FOS_CREATEPROMPT = 0x00002000, + FOS_SHAREAWARE = 0x00004000, + FOS_NOREADONLYRETURN = 0x00008000, + FOS_NOTESTFILECREATE = 0x00010000, + FOS_HIDEMRUPLACES = 0x00020000, + FOS_HIDEPINNEDPLACES = 0x00040000, + FOS_NODEREFERENCELINKS = 0x00100000, + FOS_DONTADDTORECENT = 0x02000000, + FOS_FORCESHOWHIDDEN = 0x10000000, + FOS_DEFAULTNOMINIMODE = 0x20000000, + FOS_FORCEPREVIEWPANEON = 0x40000000, + FOS_SUPPORTSTREAMABLEITEMS = 0x80000000 + }; + typedef DWORD FILEOPENDIALOGOPTIONS; + + HRESULT SetFileTypes( + [in] UINT cFileTypes, + [in, size_is(cFileTypes)] const COMDLG_FILTERSPEC *rgFilterSpec); + + HRESULT SetFileTypeIndex( + [in] UINT iFileType); + + HRESULT GetFileTypeIndex( + [out] UINT *piFileType); + + HRESULT Advise( + [in] IFileDialogEvents *pfde, + [out] DWORD *pdwCookie); + + HRESULT Unadvise( + [in] DWORD dwCookie); + + HRESULT SetOptions( + [in] FILEOPENDIALOGOPTIONS fos); + + HRESULT GetOptions( + [in] FILEOPENDIALOGOPTIONS *pfos); + + HRESULT SetDefaultFolder( + [in] IShellItem *psi); + + HRESULT SetFolder( + [in] IShellItem *psi); + + HRESULT GetFolder( + [out] IShellItem **ppsi); + + HRESULT GetCurrentSelection( + [out] IShellItem **ppsi); + + HRESULT SetFileName( + [in, string] LPCWSTR pszName); + + HRESULT GetFileName( + [out, string] LPWSTR *pszName); + + HRESULT SetTitle( + [in, string] LPCWSTR pszTitle); + + HRESULT SetOkButtonLabel( + [in, string] LPCWSTR pszText); + + HRESULT SetFileNameLabel( + [in, string] LPCWSTR pszLabel); + + HRESULT GetResult( + [out] IShellItem **ppsi); + + HRESULT AddPlace( + [in] IShellItem *psi, + [in] FDAP fdap); + + HRESULT SetDefaultExtension( + [in, string] LPCWSTR pszDefaultExtension); + + HRESULT Close( + [in] HRESULT hr); + + HRESULT SetClientGuid( + [in] REFGUID guid); + + HRESULT ClearClientData(); + + HRESULT SetFilter( + [in] IShellItemFilter *pFilter); +} + +/***************************************************************************** + * IFileDialog2 interface + */ +[ + object, + uuid(61744FC7-85B5-4791-A9B0-272276309B13), + pointer_default(unique) +] +interface IFileDialog2 : IFileDialog +{ + HRESULT SetCancelButtonLabel( + [in] LPCWSTR pszLabel); + + HRESULT SetNavigationRoot( + [in] IShellItem *psi); +} + +/***************************************************************************** + * IFileOperationProgressSink interface + */ +[ + object, + uuid(04B0F1A7-9490-44BC-96E1-4296A31252E2), + pointer_default(unique) +] +interface IFileOperationProgressSink : IUnknown +{ + HRESULT StartOperations(); + + HRESULT FinishOperations( + [in] HRESULT hrResult); + + HRESULT PreRenameItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in, unique, string] LPCWSTR pszNewName); + + HRESULT PostRenameItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in, string] LPCWSTR pszNewName, + [in] HRESULT hrRename, + [in] IShellItem *psiNewlyCreated); + + HRESULT PreMoveItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in] IShellItem *psiDestinationFolder, + [in, unique, string] LPCWSTR pszNewName); + + HRESULT PostMoveItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in] IShellItem *psiDestinationFolder, + [in, unique, string] LPCWSTR pszNewName, + [in] HRESULT hrMove, + [in] IShellItem *psiNewlyCreated); + + HRESULT PreCopyItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in] IShellItem *psiDestinationFolder, + [in, unique, string] LPCWSTR pszNewName); + + HRESULT PostCopyItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in] IShellItem *psiDestinationFolder, + [in, unique, string] LPCWSTR pszNewName, + [in] HRESULT hrCopy, + [in] IShellItem *psiNewlyCreated); + + HRESULT PreDeleteItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem); + + HRESULT PostDeleteItem( + [in] DWORD dwFlags, + [in] IShellItem *psiItem, + [in] HRESULT hrDelete, + [in] IShellItem *psiNewlyCreated); + + HRESULT PreNewItem( + [in] DWORD dwFlags, + [in] IShellItem *psiDestinationFolder, + [in, unique, string] LPCWSTR pszNewName); + + HRESULT PostNewItem( + [in] DWORD dwFlags, + [in] IShellItem *psiDestinationFolder, + [in, unique, string] LPCWSTR pszNewName, + [in, unique, string] LPCWSTR pszTemplateName, + [in] DWORD dwFileAttributes, + [in] HRESULT hrNew, + [in] IShellItem *psiNewItem); + + HRESULT UpdateProgress( + [in] UINT iWorkTotal, + [in] UINT iWorkSoFar); + + HRESULT ResetTimer(); + + HRESULT PauseTimer(); + + HRESULT ResumeTimer(); +} + +/***************************************************************************** + * IFileSaveDialog interface + */ +[ + object, + uuid(84BCCD23-5FDE-4CDB-AEA4-AF64B83D78AB), + pointer_default(unique) +] +interface IFileSaveDialog : IFileDialog +{ + HRESULT SetSaveAsItem( + [in] IShellItem *psi); + + HRESULT SetProperties( + [in] IPropertyStore *pStore); + + HRESULT SetCollectedProperties( + [in] IPropertyDescriptionList *pList, + [in] BOOL fAppendDefault); + + HRESULT GetProperties( + [in] IPropertyStore **ppStore); + + HRESULT ApplyProperties( + [in] IShellItem *psi, + [in] IPropertyStore *pStore, + [in, unique] HWND hwnd, + [in, unique] IFileOperationProgressSink *pSink); +} + + +/***************************************************************************** + * IFileOpenDialog interface + */ +[ + object, + uuid(D57C7288-D4AD-4768-BE02-9D969532D960), + pointer_default(unique) +] +interface IFileOpenDialog : IFileDialog +{ + HRESULT GetResults( + [out] IShellItemArray **ppenum); + + HRESULT GetSelectedItems( + [out] IShellItemArray **ppsai); +} + +typedef [v1_enum] enum CDCONTROLSTATEF +{ + CDCS_INACTIVE = 0x0, + CDCS_ENABLED = 0x1, + CDCS_VISIBLE = 0x2, + CDCS_ENABLEDVISIBLE = 0x3 +} CDCONTROLSTATEF; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(CDCONTROLSTATEF)") +/***************************************************************************** + * IFileDialogCustomize interface + */ +[ + object, + uuid(E6FDD21A-163F-4975-9C8C-A69F1BA37034), + pointer_default(unique) +] +interface IFileDialogCustomize : IUnknown +{ + HRESULT EnableOpenDropDown( + [in] DWORD dwIDCtl); + + HRESULT AddMenu( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszLabel); + + HRESULT AddPushButton( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszLabel); + + HRESULT AddComboBox( + [in] DWORD dwIDCtl); + + HRESULT AddRadioButtonList( + [in] DWORD dwIDCtl); + + HRESULT AddCheckButton( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszLabel, + [in] BOOL bChecked); + + HRESULT AddEditBox( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszText); + + HRESULT AddSeparator( + [in] DWORD dwIDCtl); + + HRESULT AddText( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszText); + + HRESULT SetControlLabel( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszLabel); + + HRESULT GetControlState( + [in] DWORD dwIDCtl, + [out] CDCONTROLSTATEF *pdwState); + + HRESULT SetControlState( + [in] DWORD dwIDCtl, + [in] CDCONTROLSTATEF dwState); + + HRESULT GetEditBoxText( + [in] DWORD dwIDCtl, + [out, string] WCHAR **ppszText); + + HRESULT SetEditBoxText( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszText); + + HRESULT GetCheckButtonState( + [in] DWORD dwIDCtl, + [out] BOOL *pbChecked); + + HRESULT SetCheckButtonState( + [in] DWORD dwIDCtl, + [in] BOOL bChecked); + + HRESULT AddControlItem( + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem, + [in] LPCWSTR pszLabel); + + HRESULT RemoveControlItem( + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem); + + HRESULT RemoveAllControlItems( + [in] DWORD dwIDCtl); + + HRESULT GetControlItemState( + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem, + [out] CDCONTROLSTATEF *pdwState); + + HRESULT SetControlItemState( + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem, + [in] CDCONTROLSTATEF dwState); + + HRESULT GetSelectedControlItem( + [in] DWORD dwIDCtl, + [out] DWORD *pdwIDItem); + + HRESULT SetSelectedControlItem( + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem); + + HRESULT StartVisualGroup( + [in] DWORD dwIDCtl, + [in, string] LPCWSTR pszLabel); + + HRESULT EndVisualGroup(); + + HRESULT MakeProminent( + [in] DWORD dwIDCtl); + + HRESULT SetControlItemText( + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem, + [in, string] LPCWSTR pszLabel); +} + +/***************************************************************************** + * IFileDialogControlEvents interface + */ +[ + object, + uuid(36116642-D713-4B97-9B83-7484A9D00433), + pointer_default(unique) +] +interface IFileDialogControlEvents : IUnknown +{ + HRESULT OnItemSelected( + [in] IFileDialogCustomize *pfdc, + [in] DWORD dwIDCtl, + [in] DWORD dwIDItem); + + HRESULT OnButtonClicked( + [in] IFileDialogCustomize *pfdc, + [in] DWORD dwIDCtl); + + HRESULT OnCheckButtonToggled( + [in] IFileDialogCustomize *pfdc, + [in] BOOL dwIDCtl, + [in] BOOL bChecked); + + HRESULT OnControlActivating( + [in] IFileDialogCustomize *pfdc, + [in] DWORD dwIDCtl); +} + +typedef [v1_enum] enum tagKF_CATEGORY +{ + KF_CATEGORY_VIRTUAL = 0x00000001, + KF_CATEGORY_FIXED = 0x00000002, + KF_CATEGORY_COMMON = 0x00000003, + KF_CATEGORY_PERUSER = 0x00000004 +} KF_CATEGORY; + +typedef [v1_enum] enum tagKF_REDIRECTION_CAPABILITIES +{ + KF_REDIRECTION_CAPABILITIES_ALLOW_ALL = 0x000000ff, + KF_REDIRECTION_CAPABILITIES_REDIRECTABLE = 0x00000001, + KF_REDIRECTION_CAPABILITIES_DENY_ALL = 0x000fff00, + KF_REDIRECTION_CAPABILITIES_DENY_POLICY_REDIRECTED = 0x00000100, + KF_REDIRECTION_CAPABILITIES_DENY_POLICY = 0x00000200, + KF_REDIRECTION_CAPABILITIES_DENY_PERMISSIONS = 0x00000400 +} KF_REDIRECTION_CAPABILITIES; + +typedef [v1_enum] enum tagKF_DEFINITION_FLAGS +{ + KFDF_LOCAL_REDIRECT_ONLY = 0x00000002, + KFDF_ROAMABLE = 0x00000004, + KFDF_PRECREATE = 0x00000008, + KFDF_STREAM = 0x00000010, + KFDF_PUBLISHEXPANDEDPATH = 0x00000020, + KFDF_NO_REDIRECT_UI = 0x00000040 +} KF_DEFINITION_FLAGS; + +typedef struct tagKNOWNFOLDER_DEFINITION +{ + KF_CATEGORY category; + LPWSTR pszName; + LPWSTR pszDescription; + KNOWNFOLDERID fidParent; + LPWSTR pszRelativePath; + LPWSTR pszParsingName; + LPWSTR pszTooltip; + LPWSTR pszLocalizedName; + LPWSTR pszIcon; + LPWSTR pszSecurity; + DWORD dwAttributes; + KF_DEFINITION_FLAGS kfdFlags; + FOLDERTYPEID ftidType; +} KNOWNFOLDER_DEFINITION; + +[ + object, + uuid(3aa7af7e-9b36-420C-a8e3-f77d4674a488), + pointer_default(ref) +] +interface IKnownFolder : IUnknown +{ + HRESULT GetId( + [out] KNOWNFOLDERID *pkfid); + + HRESULT GetCategory( + [out] KF_CATEGORY *pCategory); + + HRESULT GetShellItem( + [in] DWORD dwFlags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT GetPath( + [in] DWORD dwFlags, + [out, string] LPWSTR *ppszPath); + + HRESULT SetPath( + [in] DWORD dwFlags, + [in, string] LPCWSTR pszPath); + + HRESULT GetIDList( + [in] DWORD dwFlags, + [out] PIDLIST_ABSOLUTE *ppidl); + + HRESULT GetFolderType( + [out] FOLDERTYPEID *pftid); + + HRESULT GetRedirectionCapabilities( + [out] KF_REDIRECTION_CAPABILITIES *pCapabilities); + + HRESULT GetFolderDefinition( + [out] KNOWNFOLDER_DEFINITION *pKFD); +} + +typedef [v1_enum] enum tagKF_REDIRECT_FLAGS +{ + KF_REDIRECT_USER_EXCLUSIVE = 0x00000001, + KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002, + KF_REDIRECT_OWNER_USER = 0x00000004, + KF_REDIRECT_SET_OWNER_EXPLICIT = 0x00000008, + KF_REDIRECT_CHECK_ONLY = 0x00000010, + KF_REDIRECT_WITH_UI = 0x00000020, + KF_REDIRECT_UNPIN = 0x00000040, + KF_REDIRECT_PIN = 0x00000080, + KF_REDIRECT_COPY_CONTENTS = 0x00000200, + KF_REDIRECT_DEL_SOURCE_CONTENTS = 0x00000400, + KF_REDIRECT_EXCLUDE_ALL_KNOWN_SUBFOLDERS = 0x00000800 +} KF_REDIRECT_FLAGS; + +[ + object, + uuid(8BE2D872-86AA-4d47-B776-32CCA40C7018), + pointer_default(ref) +] +interface IKnownFolderManager : IUnknown +{ + typedef [v1_enum] enum tagFFFP_MODE + { + FFFP_EXACTMATCH, + FFFP_NEARESTPARENTMATCH + } FFFP_MODE; + + HRESULT FolderIdFromCsidl( + [in] int nCsidl, + [out] KNOWNFOLDERID *pfid); + + HRESULT FolderIdToCsidl( + [in] REFKNOWNFOLDERID rfid, + [out] int *pnCsidl); + + HRESULT GetFolderIds( + [out, size_is(, *pCount)] KNOWNFOLDERID **ppKFId, + [in, out] UINT *pCount); + + HRESULT GetFolder( + [in] REFKNOWNFOLDERID rfid, + [out] IKnownFolder **ppkf); + + HRESULT GetFolderByName( + [in, string] LPCWSTR pszCanonicalName, + [out] IKnownFolder **ppkf); + + HRESULT RegisterFolder( + [in] REFKNOWNFOLDERID rfid, + [in] KNOWNFOLDER_DEFINITION const *pKFD); + + HRESULT UnregisterFolder( + [in] REFKNOWNFOLDERID rfid); + + HRESULT FindFolderFromPath( + [in, string] LPCWSTR pszPath, + [in] FFFP_MODE mode, + [out] IKnownFolder **ppkf); + + HRESULT FindFolderFromIDList( + [in] PCIDLIST_ABSOLUTE pidl, + [out] IKnownFolder **ppkf); + + HRESULT Redirect( + [in] REFKNOWNFOLDERID rfid, + [in, unique] HWND hwnd, + [in] KF_REDIRECT_FLAGS flags, + [in, unique, string] LPCWSTR pszTargetPath, + [in] UINT cFolders, + [in, size_is(cFolders), unique] KNOWNFOLDERID const *pExclusion, + [out, string] LPWSTR *ppszError); +} + +/* function for releasing structure returned from IKnownFolder::GetFolderDefinition */ +cpp_quote("static inline void FreeKnownFolderDefinitionFields(KNOWNFOLDER_DEFINITION *pKFD)") +cpp_quote("{") +cpp_quote(" CoTaskMemFree(pKFD->pszName);") +cpp_quote(" CoTaskMemFree(pKFD->pszDescription);") +cpp_quote(" CoTaskMemFree(pKFD->pszRelativePath);") +cpp_quote(" CoTaskMemFree(pKFD->pszParsingName);") +cpp_quote(" CoTaskMemFree(pKFD->pszTooltip);") +cpp_quote(" CoTaskMemFree(pKFD->pszLocalizedName);") +cpp_quote(" CoTaskMemFree(pKFD->pszIcon);") +cpp_quote(" CoTaskMemFree(pKFD->pszSecurity);") +cpp_quote("}") + +typedef [v1_enum] enum ASSOCIATIONLEVEL { + AL_MACHINE, + AL_EFFECTIVE, + AL_USER +} ASSOCIATIONLEVEL; + +typedef [v1_enum] enum ASSOCIATIONTYPE { + AT_FILEEXTENSION, + AT_URLPROTOCOL, + AT_STARTMENUCLIENT, + AT_MIMETYPE +} ASSOCIATIONTYPE; + +[ + object, + uuid(4e530b0a-e611-4c77-a3ac-9031d022281b), + pointer_default(unique) +] +interface IApplicationAssociationRegistration : IUnknown +{ + HRESULT QueryCurrentDefault( + [in, string] LPCWSTR pszQuery, + [in] ASSOCIATIONTYPE atQueryType, + [in] ASSOCIATIONLEVEL alQueryLevel, + [out, string] LPWSTR *ppszAssociation); + + HRESULT QueryAppIsDefault( + [in, string] LPCWSTR pszQuery, + [in] ASSOCIATIONTYPE atQueryType, + [in] ASSOCIATIONLEVEL alQueryLevel, + [in, string] LPCWSTR pszAppRegistryName, + [out] BOOL *pfDefault); + + HRESULT QueryAppIsDefaultAll( + [in] ASSOCIATIONLEVEL alQueryLevel, + [in, string] LPCWSTR pszAppRegistryName, + [out] BOOL* pfDefault); + + HRESULT SetAppAsDefault( + [in, string] LPCWSTR pszAppRegistryName, + [in, string] LPCWSTR pszSet, + [in] ASSOCIATIONTYPE atSetType); + + HRESULT SetAppAsDefaultAll( + [in, string] LPCWSTR pszAppRegistryName); + + HRESULT ClearUserAssociations(); +} + +[ + object, + uuid(12337d35-94c6-48a0-bce7-6a9c69d4d600), + pointer_default(unique) +] +interface IApplicationDestinations : IUnknown +{ + HRESULT SetAppID( + [in] LPCWSTR pszAppID); + + HRESULT RemoveDestination( + [in] IUnknown *punk); + + HRESULT RemoveAllDestinations(); +} + +[ + uuid(6332debf-87b5-4670-90c0-5e57b408a49e), + object, + pointer_default(unique) +] +interface ICustomDestinationList : IUnknown +{ + typedef [v1_enum] enum KNOWNDESTCATEGORY { + KDC_FREQUENT = 1, + KDC_RECENT + } KNOWNDESTCATEGORY; + + HRESULT SetAppID([in, string] LPCWSTR pszAppID); + + HRESULT BeginList( + [out] UINT *pcMinSlots, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT AppendCategory( + [in, string] LPCWSTR pszCategory, + [in] IObjectArray *poa); + + HRESULT AppendKnownCategory([in] KNOWNDESTCATEGORY category); + HRESULT AddUserTasks([in] IObjectArray *poa); + HRESULT CommitList(); + + HRESULT GetRemovedDestinations( + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + + HRESULT DeleteList([in, unique, string] LPCWSTR pszAppID); + HRESULT AbortList(); +} + +[ + uuid(ddefe873-6997-4e68-be26-39b633adbe12), + object, + pointer_default(unique) +] +interface IQueryCancelAutoPlay : IUnknown +{ + HRESULT AllowAutoPlay([in, string] LPCWSTR path, + [in] DWORD content_type, + [in, string] LPCWSTR label, + [in] DWORD serial_number); +} + +[ + uuid(d594d0d8-8da7-457b-b3b4-ce5dbaac0b88), + pointer_default(unique) +] +interface ITransferAdviseSink : IUnknown +{ + [v1_enum] enum _TRANSFER_ADVISE_STATE + { + TS_NONE = 0, + TS_PERFORMING = 1, + TS_PREPARING = 2, + TS_INDETERMINATE = 4 + }; + typedef DWORD TRANSFER_ADVISE_STATE; + + HRESULT UpdateProgress([in] ULONGLONG size_current, + [in] ULONGLONG size_total, + [in] INT files_current, + [in] INT files_total, + [in] INT folders_current, + [in] INT folders_total); + HRESULT UpdateTransferState([in] TRANSFER_ADVISE_STATE state); + HRESULT ConfirmOverwrite([in] IShellItem *source, + [in] IShellItem *dest_parent, + [in, string] LPCWSTR name); + HRESULT ConfirmEncryptLoss([in] IShellItem *source); + HRESULT FileFailure([in] IShellItem *item, + [in, unique, string] LPCWSTR itemname, + [in] HRESULT hr, + [in, out, unique, size_is(crename)] LPWSTR rename, + [in] ULONG crename); + HRESULT SubStreamFailure([in] IShellItem *item, + [in, string] LPCWSTR stream, + [in] HRESULT hr); + HRESULT PropertyFailure([in] IShellItem *item, + [in, unique] const PROPERTYKEY *key, + [in] HRESULT hr); +} + +[v1_enum] enum _TRANSFER_SOURCE_FLAGS +{ + TSF_NORMAL = 0, + TSF_FAIL_EXIST = 0, + TSF_RENAME_EXIST = 0x1, + TSF_OVERWRITE_EXIST = 0x2, + TSF_ALLOW_DECRYPTION = 0x4, + TSF_NO_SECURITY = 0x8, + TSF_COPY_CREATION_TIME = 0x10, + TSF_COPY_WRITE_TIME = 0x20, + TSF_USE_FULL_ACCESS = 0x40, + TSF_DELETE_RECYCLE_IF_POSSIBLE = 0x80, + TSF_COPY_HARD_LINK = 0x100, + TSF_COPY_LOCALIZED_NAME = 0x200, + TSF_MOVE_AS_COPY_DELETE = 0x400, + TSF_SUSPEND_SHELLEVENTS = 0x800 +}; +typedef DWORD TRANSFER_SOURCE_FLAGS; + +[ + uuid(00adb003-bde9-45c6-8e29-d09f9353e108), + object, + pointer_default(unique) +] +interface ITransferSource : IUnknown +{ + HRESULT Advise([in] ITransferAdviseSink *sink, [out] DWORD *cookie); + HRESULT Unadvise([in] DWORD cookie); + HRESULT SetProperties([in] IPropertyChangeArray *array); + HRESULT OpenItem([in] IShellItem *item, + [in] TRANSFER_SOURCE_FLAGS flags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv); + HRESULT MoveItem([in] IShellItem *item, + [in] IShellItem *parent_dest, + [in, string] LPCWSTR name_dest, + [in] TRANSFER_SOURCE_FLAGS flags, + [out] IShellItem **newitem); + HRESULT RecycleItem([in] IShellItem *source, + [in] IShellItem *parent_dest, + [in] TRANSFER_SOURCE_FLAGS flags, + [out] IShellItem **new_dest); + HRESULT RemoveItem([in] IShellItem *source, [in] TRANSFER_SOURCE_FLAGS flags); + HRESULT RenameItem([in] IShellItem *source, + [in, string] LPCWSTR newname, + [in] TRANSFER_SOURCE_FLAGS flags, + [out] IShellItem **new_dest); + HRESULT LinkItem([in] IShellItem *source, + [in] IShellItem *parent_dest, + [in, unique, string] LPCWSTR new_name, + [in] TRANSFER_SOURCE_FLAGS flags, + [out] IShellItem **new_dest); + HRESULT ApplyPropertiesToItem([in] IShellItem *source, [out] IShellItem **newitem); + HRESULT GetDefaultDestinationName([in] IShellItem *source, + [in] IShellItem *parent_dest, + [out, string] LPWSTR *dest_name); + HRESULT EnterFolder([in] IShellItem *child_folder); + HRESULT LeaveFolder([in] IShellItem *child_folder); +} + +[ + uuid(48addd32-3ca5-4124-abe3-b5a72531b207), + object, + pointer_default(unique) +] +interface ITransferDestination : IUnknown +{ + HRESULT Advise([in] ITransferAdviseSink *sink, [out] DWORD *cookie); + HRESULT Unadvise([in] DWORD cookie); + HRESULT CreateItem([in, string] LPCWSTR name, + [in] DWORD attr, + [in] ULONGLONG size, + [in] TRANSFER_SOURCE_FLAGS flags, + [in] REFIID riid, + [out, iid_is(riid)] void **ppv, + [in] REFIID resources, + [out, iid_is(riid)] void **presources); +} + +[ + uuid(92218cab-ecaa-4335-8133-807fd234c2ee), + object, + pointer_default(unique) +] +interface IAssocHandlerInvoker : IUnknown +{ + HRESULT SupportsSelection(); + HRESULT Invoke(); +} + +[ + uuid(f04061ac-1659-4a3f-a954-775aa57fc083), + object, + pointer_default(unique) +] +interface IAssocHandler : IUnknown +{ + HRESULT GetName([out, string] LPWSTR *name); + HRESULT GetUIName([out, string] LPWSTR *uiname); + HRESULT GetIconLocation([out, string] LPWSTR *path, + [out] int *index); + HRESULT IsRecommended(); + HRESULT MakeDefault([in, string] LPCWSTR description); + HRESULT Invoke([in] IDataObject *object); + HRESULT CreateInvoker([in] IDataObject *object, + [out] IAssocHandlerInvoker **invoker); +} + +[ + uuid(973810ae-9599-4b88-9e4d-6ee98c9552da), + object, + pointer_default(unique) +] +interface IEnumAssocHandlers : IUnknown +{ + HRESULT Next([in] ULONG count, + [out, size_is(count), length_is(*fetched)] IAssocHandler **handlers, + [out] ULONG *fetched); +} + +typedef enum ASSOC_FILTER +{ + ASSOC_FILTER_NONE = 0, + ASSOC_FILTER_RECOMMENDED +} ASSOC_FILTER; +cpp_quote("HRESULT WINAPI SHAssocEnumHandlers(PCWSTR extra, ASSOC_FILTER filter, IEnumAssocHandlers **handlersenum);") + +/***************************************************************************** + * ShellObjects typelibrary + */ +[ + uuid(50A7E9B1-70EF-11D1-B75A-00A0C90564FE), + lcid(0x0000), + version(1.0) +] +library ShellObjects +{ + [ + uuid(71F96385-DDD6-48D3-A0C1-AE06E8B055FB) + ] + coclass ExplorerBrowser + { + interface IExplorerBrowser; + } + + [ + uuid(DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7) + ] + coclass FileOpenDialog + { + interface IFileOpenDialog; + } + + [ + uuid(C0B4E2F3-BA21-4773-8DBA-335EC946EB8B) + ] + coclass FileSaveDialog + { + interface IFileSaveDialog; + } + + [ + uuid(AE054212-3535-4430-83ED-D501AA6680E6) + ] + coclass NamespaceTreeControl + { + interface INameSpaceTreeControl2; + } + + [ + uuid(4df0c730-df9d-4ae3-9153-aa6b82e9795a) + ] + coclass KnownFolderManager + { + interface IKnownFolderManager; + } + + [ + uuid(591209c7-767b-42b2-9fba-44ee4615f2c7) + ] + coclass ApplicationAssociationRegistration + { + interface IApplicationAssociationRegistration; + } + + [ + uuid(86c14003-4d6b-4ef3-a7b4-0506663b2e68) + ] + coclass ApplicationDestinations + { + interface IApplicationDestinations; + } + + [ + uuid(00021401-0000-0000-c000-000000000046) + ] + coclass ShellLink + { + interface IShellLinkW; + } + + [ + uuid(56fdf344-fd6d-11d0-958a-006097c9a090) + ] + coclass TaskbarList + { + interface ITaskbarList4; + } + + [ + uuid(77f10cf0-3db5-4966-b520-b7c54fd35ed6) + ] + coclass DestinationList { + interface ICustomDestinationList; + } + + [ + uuid(2d3468c1-36a7-43b6-ac24-d3f02fd9607a) + ] + coclass EnumerableObjectCollection + { + interface IEnumObjects; + } + + [ + uuid(331f1768-05a9-4ddd-b86e-dae34ddc998a) + ] + coclass QueryCancelAutoPlay + { + interface IQueryCancelAutoPlay; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shtypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shtypes.h new file mode 100644 index 0000000..5cf34b3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shtypes.h @@ -0,0 +1,156 @@ +/*** Autogenerated by WIDL 2.18 from shtypes.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __shtypes_h__ +#define __shtypes_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +typedef struct __WIDL_shtypes_generated_name_00000002 { + WORD cb; + BYTE abID[1]; +} SHITEMID; +typedef struct __WIDL_shtypes_generated_name_00000002 *LPSHITEMID; +typedef const SHITEMID *LPCSHITEMID; +typedef struct _ITEMIDLIST { + SHITEMID mkid; +} ITEMIDLIST; +typedef struct _ITEMIDLIST *LPITEMIDLIST; +typedef const ITEMIDLIST *LPCITEMIDLIST; +typedef LPITEMIDLIST PITEMID_CHILD; +typedef const PITEMID_CHILD PCITEMID_CHILD; +typedef LPCITEMIDLIST PCUITEMID_CHILD; +typedef LPCITEMIDLIST *PCUITEMID_CHILD_ARRAY; +typedef LPCITEMIDLIST PCUIDLIST_RELATIVE; +typedef LPITEMIDLIST PIDLIST_ABSOLUTE; +typedef LPCITEMIDLIST PCIDLIST_ABSOLUTE; +typedef LPCITEMIDLIST *PCIDLIST_ABSOLUTE_ARRAY; +#include +#if 0 +typedef struct __WIDL_shtypes_generated_name_00000003 { + int dummy; +} WIN32_FIND_DATAA; +typedef struct __WIDL_shtypes_generated_name_00000003 WIN32_FIND_DATAW; +#endif +typedef enum tagSTRRET_TYPE { + STRRET_WSTR = 0, + STRRET_OFFSET = 1, + STRRET_CSTR = 2 +} STRRET_TYPE; +#include +typedef struct _STRRET { + UINT uType; + union { + LPWSTR pOleStr; + UINT uOffset; + char cStr[260]; + } DUMMYUNIONNAME; +} STRRET; +typedef struct _STRRET *LPSTRRET; +#include +#include +typedef struct __WIDL_shtypes_generated_name_00000004 { + int fmt; + int cxChar; + STRRET str; +} SHELLDETAILS; +typedef struct __WIDL_shtypes_generated_name_00000004 *LPSHELLDETAILS; +#include +typedef struct _COMDLG_FILTERSPEC { + LPCWSTR pszName; + LPCWSTR pszSpec; +} COMDLG_FILTERSPEC; +typedef enum tagSHCOLSTATE { + SHCOLSTATE_DEFAULT = 0, + SHCOLSTATE_TYPE_STR = 1, + SHCOLSTATE_TYPE_INT = 2, + SHCOLSTATE_TYPE_DATE = 3, + SHCOLSTATE_TYPEMASK = 0xf, + SHCOLSTATE_ONBYDEFAULT = 0x10, + SHCOLSTATE_SLOW = 0x20, + SHCOLSTATE_EXTENDED = 0x40, + SHCOLSTATE_SECONDARYUI = 0x80, + SHCOLSTATE_HIDDEN = 0x100, + SHCOLSTATE_PREFER_VARCMP = 0x200, + SHCOLSTATE_PREFER_FMTCMP = 0x400, + SHCOLSTATE_NOSORTBYFOLDERNESS = 0x800, + SHCOLSTATE_VIEWONLY = 0x10000, + SHCOLSTATE_BATCHREAD = 0x20000, + SHCOLSTATE_NO_GROUPBY = 0x40000, + SHCOLSTATE_FIXED_WIDTH = 0x1000, + SHCOLSTATE_NODPISCALE = 0x2000, + SHCOLSTATE_FIXED_RATIO = 0x4000, + SHCOLSTATE_DISPLAYMASK = 0xf000 +} SHCOLSTATE; +typedef DWORD SHCOLSTATEF; +typedef GUID KNOWNFOLDERID; +#if 0 +typedef KNOWNFOLDERID *REFKNOWNFOLDERID; +#endif +#ifdef __cplusplus +#define REFKNOWNFOLDERID const KNOWNFOLDERID & +#else +#define REFKNOWNFOLDERID const KNOWNFOLDERID * __MIDL_CONST +#endif +typedef GUID FOLDERTYPEID; +#if 0 +typedef FOLDERTYPEID *REFFOLDERTYPEID; +#endif +#ifdef __cplusplus +#define REFFOLDERTYPEID const FOLDERTYPEID & +#else +#define REFFOLDERTYPEID const FOLDERTYPEID * __MIDL_CONST +#endif +typedef enum tagPERCEIVED { + PERCEIVED_TYPE_CUSTOM = -3, + PERCEIVED_TYPE_UNSPECIFIED = -2, + PERCEIVED_TYPE_FOLDER = -1, + PERCEIVED_TYPE_UNKNOWN = 0, + PERCEIVED_TYPE_TEXT = 1, + PERCEIVED_TYPE_IMAGE = 2, + PERCEIVED_TYPE_AUDIO = 3, + PERCEIVED_TYPE_VIDEO = 4, + PERCEIVED_TYPE_COMPRESSED = 5, + PERCEIVED_TYPE_DOCUMENT = 6, + PERCEIVED_TYPE_SYSTEM = 7, + PERCEIVED_TYPE_APPLICATION = 8, + PERCEIVED_TYPE_GAMEMEDIA = 9, + PERCEIVED_TYPE_CONTACTS = 10 +} PERCEIVED; +#define PERCEIVEDFLAG_UNDEFINED 0x0000 +#define PERCEIVEDFLAG_SOFTCODED 0x0001 +#define PERCEIVEDFLAG_HARDCODED 0x0002 +#define PERCEIVEDFLAG_NATIVESUPPORT 0x0004 +#define PERCEIVEDFLAG_GDIPLUS 0x0010 +#define PERCEIVEDFLAG_WMSDK 0x0020 +#define PERCEIVEDFLAG_ZIPFOLDER 0x0040 +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __shtypes_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shtypes.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shtypes.idl new file mode 100644 index 0000000..3d54c80 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/shtypes.idl @@ -0,0 +1,163 @@ +/* + * Type definitions for shell objects + * + * Copyright (C) 1999 Juergen Schmied + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; + +cpp_quote("#include ") +typedef struct +{ + WORD cb; /* nr of bytes in this item */ + BYTE abID[1]; /* first byte in this item */ +} SHITEMID, *LPSHITEMID; +typedef const SHITEMID *LPCSHITEMID; + +typedef struct _ITEMIDLIST +{ + SHITEMID mkid; /* first itemid in list */ +} ITEMIDLIST,*LPITEMIDLIST; +typedef const ITEMIDLIST *LPCITEMIDLIST; +typedef LPITEMIDLIST PITEMID_CHILD; +typedef const PITEMID_CHILD PCITEMID_CHILD; +typedef LPCITEMIDLIST PCUITEMID_CHILD; +typedef LPCITEMIDLIST *PCUITEMID_CHILD_ARRAY; +typedef LPCITEMIDLIST PCUIDLIST_RELATIVE; +typedef LPITEMIDLIST PIDLIST_ABSOLUTE; +typedef LPCITEMIDLIST PCIDLIST_ABSOLUTE; +typedef LPCITEMIDLIST *PCIDLIST_ABSOLUTE_ARRAY; +cpp_quote("#include ") + +#ifndef MAX_PATH +#define MAX_PATH 260 +#endif + +cpp_quote("#if 0") +typedef struct { int dummy; } WIN32_FIND_DATAA, WIN32_FIND_DATAW; +cpp_quote("#endif") + +typedef enum tagSTRRET_TYPE +{ + STRRET_WSTR = 0, + STRRET_OFFSET = 1, + STRRET_CSTR = 2 +} STRRET_TYPE; + +cpp_quote("#include ") +typedef struct _STRRET +{ + UINT uType; /* STRRET_xxx */ + [switch_type(UINT), switch_is(uType)] union + { + [case(STRRET_WSTR)][string] LPWSTR pOleStr; /* OLESTR that will be freed */ + [case(STRRET_OFFSET)] UINT uOffset; /* Offset into SHITEMID (ANSI) */ + [case(STRRET_CSTR)] char cStr[MAX_PATH]; /* ANSI Buffer */ + } DUMMYUNIONNAME; +} STRRET, *LPSTRRET; +cpp_quote("#include ") + +cpp_quote("#include ") +typedef struct +{ + int fmt; + int cxChar; + STRRET str; +} SHELLDETAILS, *LPSHELLDETAILS; +cpp_quote("#include ") + +typedef struct _COMDLG_FILTERSPEC +{ + [string] LPCWSTR pszName; + [string] LPCWSTR pszSpec; +} COMDLG_FILTERSPEC; + +typedef [v1_enum] enum tagSHCOLSTATE +{ + SHCOLSTATE_DEFAULT = 0, + SHCOLSTATE_TYPE_STR, + SHCOLSTATE_TYPE_INT, + SHCOLSTATE_TYPE_DATE, + SHCOLSTATE_TYPEMASK = 0xf, + SHCOLSTATE_ONBYDEFAULT = 0x10, + SHCOLSTATE_SLOW = 0x20, + SHCOLSTATE_EXTENDED = 0x40, + SHCOLSTATE_SECONDARYUI = 0x80, + SHCOLSTATE_HIDDEN = 0x100, + SHCOLSTATE_PREFER_VARCMP = 0x200, + SHCOLSTATE_PREFER_FMTCMP = 0x400, + SHCOLSTATE_NOSORTBYFOLDERNESS = 0x800, + SHCOLSTATE_VIEWONLY = 0x10000, + SHCOLSTATE_BATCHREAD = 0x20000, + SHCOLSTATE_NO_GROUPBY = 0x40000, + SHCOLSTATE_FIXED_WIDTH = 0x1000, + SHCOLSTATE_NODPISCALE = 0x2000, + SHCOLSTATE_FIXED_RATIO = 0x4000, + SHCOLSTATE_DISPLAYMASK = 0xf000 +} SHCOLSTATE; + +typedef DWORD SHCOLSTATEF; + +typedef GUID KNOWNFOLDERID; + +cpp_quote("#if 0") +typedef KNOWNFOLDERID *REFKNOWNFOLDERID; +cpp_quote("#endif") + +cpp_quote("#ifdef __cplusplus") +cpp_quote("#define REFKNOWNFOLDERID const KNOWNFOLDERID &") +cpp_quote("#else") +cpp_quote("#define REFKNOWNFOLDERID const KNOWNFOLDERID * __MIDL_CONST") +cpp_quote("#endif") + +typedef GUID FOLDERTYPEID; + +cpp_quote("#if 0") +typedef FOLDERTYPEID *REFFOLDERTYPEID; +cpp_quote("#endif") + +cpp_quote("#ifdef __cplusplus") +cpp_quote("#define REFFOLDERTYPEID const FOLDERTYPEID &") +cpp_quote("#else") +cpp_quote("#define REFFOLDERTYPEID const FOLDERTYPEID * __MIDL_CONST") +cpp_quote("#endif") + +typedef [v1_enum] enum tagPERCEIVED { + PERCEIVED_TYPE_CUSTOM = -3, + PERCEIVED_TYPE_UNSPECIFIED = -2, + PERCEIVED_TYPE_FOLDER = -1, + PERCEIVED_TYPE_UNKNOWN = 0, + PERCEIVED_TYPE_TEXT = 1, + PERCEIVED_TYPE_IMAGE = 2, + PERCEIVED_TYPE_AUDIO = 3, + PERCEIVED_TYPE_VIDEO = 4, + PERCEIVED_TYPE_COMPRESSED = 5, + PERCEIVED_TYPE_DOCUMENT = 6, + PERCEIVED_TYPE_SYSTEM = 7, + PERCEIVED_TYPE_APPLICATION = 8, + PERCEIVED_TYPE_GAMEMEDIA = 9, + PERCEIVED_TYPE_CONTACTS = 10 +} PERCEIVED; + +cpp_quote("#define PERCEIVEDFLAG_UNDEFINED 0x0000") +cpp_quote("#define PERCEIVEDFLAG_SOFTCODED 0x0001") +cpp_quote("#define PERCEIVEDFLAG_HARDCODED 0x0002") +cpp_quote("#define PERCEIVEDFLAG_NATIVESUPPORT 0x0004") +cpp_quote("#define PERCEIVEDFLAG_GDIPLUS 0x0010") +cpp_quote("#define PERCEIVEDFLAG_WMSDK 0x0020") +cpp_quote("#define PERCEIVEDFLAG_ZIPFOLDER 0x0040") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sipbase.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sipbase.h new file mode 100644 index 0000000..a4d18d2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sipbase.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SIPBASE_H +#define __WINE_SIPBASE_H + +#include + +#endif /* __WINE_SIPBASE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/slerror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/slerror.h new file mode 100644 index 0000000..8b45d99 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/slerror.h @@ -0,0 +1,26 @@ +/* + * + * Copyright 2008 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SLERROR_H +#define __WINE_SLERROR_H + +#define SL_E_VALUE_NOT_FOUND 0xC004F012 +#define SL_E_RIGHT_NOT_GRANTED 0xC004F013 +#define SL_E_DATATYPE_MISMATCHED 0xC004F01E + +#endif /* __WINE_SLERROR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/slpublic.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/slpublic.h new file mode 100644 index 0000000..c8bb559 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/slpublic.h @@ -0,0 +1,50 @@ +/* + * + * Copyright 2008 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SLPUBLIC_H +#define __WINE_SLPUBLIC_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _SLC_ +#define SLCAPI +#else +#define SLCAPI DECLSPEC_IMPORT +#endif + +typedef enum _tagSLDATATYPE +{ + SL_DATA_NONE = REG_NONE, + SL_DATA_SZ = REG_SZ, + SL_DATA_DWORD = REG_DWORD, + SL_DATA_BINARY = REG_BINARY, + SL_DATA_MULTI_SZ = REG_MULTI_SZ, + SL_DATA_SUM = 100, +} SLDATATYPE; + +SLCAPI HRESULT WINAPI SLGetWindowsInformation(LPCWSTR, SLDATATYPE*, UINT*, LPBYTE*); +SLCAPI HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR, LPDWORD); + + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_SLPUBLIC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/snmp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/snmp.h new file mode 100644 index 0000000..0530fc6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/snmp.h @@ -0,0 +1,294 @@ +/* + * Copyright (C) 2005 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef _WINE_SNMP_H +#define _WINE_SNMP_H + +#include + +#include + +typedef struct { + BYTE *stream; + UINT length; + BOOL dynamic; +} AsnOctetString; + +typedef struct { + UINT idLength; + UINT *ids; +} AsnObjectIdentifier; + +typedef LONG AsnInteger32; +typedef ULONG AsnUnsigned32; +typedef ULARGE_INTEGER AsnCounter64; +typedef AsnUnsigned32 AsnCounter32; +typedef AsnUnsigned32 AsnGauge32; +typedef AsnUnsigned32 AsnTimeticks; +typedef AsnOctetString AsnBits; +typedef AsnOctetString AsnSequence; +typedef AsnOctetString AsnImplicitSequence; +typedef AsnOctetString AsnIPAddress; +typedef AsnOctetString AsnNetworkAddress; +typedef AsnOctetString AsnDisplayString; +typedef AsnOctetString AsnOpaque; + +typedef struct { + BYTE asnType; + union { + AsnInteger32 number; + AsnUnsigned32 unsigned32; + AsnCounter64 counter64; + AsnOctetString string; + AsnBits bits; + AsnObjectIdentifier object; + AsnSequence sequence; + AsnIPAddress address; + AsnCounter32 counter; + AsnGauge32 gauge; + AsnTimeticks ticks; + AsnOpaque arbitrary; + } asnValue; +} AsnAny; + +typedef AsnObjectIdentifier AsnObjectName; +typedef AsnAny AsnObjectSyntax; + +typedef struct { + AsnObjectName name; + AsnObjectSyntax value; +} SnmpVarBind; + +typedef struct { + SnmpVarBind *list; + UINT len; +} SnmpVarBindList; + +#include + +#define ASN_UNIVERSAL 0x00 +#define ASN_APPLICATION 0x40 +#define ASN_CONTEXT 0x80 +#define ASN_PRIVATE 0xc0 +#define ASN_PRIMITIVE 0x00 +#define ASN_CONSTRUCTOR 0x20 + +#define SNMP_PDU_GET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x00) +#define SNMP_PDU_GETNEXT (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x01) +#define SNMP_PDU_RESPONSE (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x02) +#define SNMP_PDU_SET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x03) +#define SNMP_PDU_V1TRAP (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x04) +#define SNMP_PDU_GETBULK (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x05) +#define SNMP_PDU_INFORM (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x06) +#define SNMP_PDU_TRAP (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x07) + +#define ASN_INTEGER (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x02) +#define ASN_BITS (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x03) +#define ASN_OCTETSTRING (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x04) +#define ASN_NULL (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x05) +#define ASN_OBJECTIDENTIFIER (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x06) +#define ASN_INTEGER32 ASN_INTEGER + +#define ASN_SEQUENCE (ASN_UNIVERSAL | ASN_CONSTRUCTOR | 0x10) +#define ASN_SEQUENCEOF ASN_SEQUENCE + +#define ASN_IPADDRESS (ASN_APPLICATION | ASN_PRIMITIVE | 0x00) +#define ASN_COUNTER32 (ASN_APPLICATION | ASN_PRIMITIVE | 0x01) +#define ASN_GAUGE32 (ASN_APPLICATION | ASN_PRIMITIVE | 0x02) +#define ASN_TIMETICKS (ASN_APPLICATION | ASN_PRIMITIVE | 0x03) +#define ASN_OPAQUE (ASN_APPLICATION | ASN_PRIMITIVE | 0x04) +#define ASN_COUNTER64 (ASN_APPLICATION | ASN_PRIMITIVE | 0x06) +#define ASN_UNSIGNED32 (ASN_APPLICATION | ASN_PRIMITIVE | 0x07) + +#define SNMP_EXCEPTION_NOSUCHOBJECT (ASN_CONTEXT | ASN_PRIMITIVE | 0x00) +#define SNMP_EXCEPTION_NOSUCHINSTANCE (ASN_CONTEXT | ASN_PRIMITIVE | 0x01) +#define SNMP_EXCEPTION_ENDOFMIBVIEW (ASN_CONTEXT | ASN_PRIMITIVE | 0x02) + +#define SNMP_EXTENSION_GET SNMP_PDU_GET +#define SNMP_EXTENSION_GET_NEXT SNMP_PDU_GETNEXT +#define SNMP_EXTENSION_GET_BULK SNMP_PDU_GETBULK +#define SNMP_EXTENSION_SET_TEST (ASN_PRIVATE | ASN_CONSTRUCTOR | 0x0) +#define SNMP_EXTENSION_SET_COMMIT SNMP_PDU_SET +#define SNMP_EXTENSION_SET_UNDO (ASN_PRIVATE | ASN_CONSTRUCTOR | 0x1) +#define SNMP_EXTENSION_SET_CLEANUP (ASN_PRIVATE | ASN_CONSTRUCTOR | 0x2) + +#define SNMP_ERRORSTATUS_NOERROR 0 +#define SNMP_ERRORSTATUS_TOOBIG 1 +#define SNMP_ERRORSTATUS_NOSUCHNAME 2 +#define SNMP_ERRORSTATUS_BADVALUE 3 +#define SNMP_ERRORSTATUS_READONLY 4 +#define SNMP_ERRORSTATUS_GENERR 5 +#define SNMP_ERRORSTATUS_NOACCESS 6 +#define SNMP_ERRORSTATUS_WRONGTYPE 7 +#define SNMP_ERRORSTATUS_WRONGLENGTH 8 +#define SNMP_ERRORSTATUS_WRONGENCODING 9 +#define SNMP_ERRORSTATUS_WRONGVALUE 10 +#define SNMP_ERRORSTATUS_NOCREATION 11 +#define SNMP_ERRORSTATUS_INCONSISTENTVALUE 12 +#define SNMP_ERRORSTATUS_RESOURCEUNAVAILABLE 13 +#define SNMP_ERRORSTATUS_COMMITFAILED 14 +#define SNMP_ERRORSTATUS_UNDOFAILED 15 +#define SNMP_ERRORSTATUS_AUTHORIZATIONERROR 16 +#define SNMP_ERRORSTATUS_NOTWRITABLE 17 +#define SNMP_ERRORSTATUS_INCONSISTENTNAME 18 + +#define SNMP_GENERICTRAP_COLDSTART 0 +#define SNMP_GENERICTRAP_WARMSTART 1 +#define SNMP_GENERICTRAP_LINKDOWN 2 +#define SNMP_GENERICTRAP_LINKUP 3 +#define SNMP_GENERICTRAP_AUTHFAILURE 4 +#define SNMP_GENERICTRAP_EGPNEIGHLOSS 5 +#define SNMP_GENERICTRAP_ENTERSPECIFIC 6 + +#define SNMP_ACCESS_NONE 0 +#define SNMP_ACCESS_NOTIFY 1 +#define SNMP_ACCESS_READ_ONLY 2 +#define SNMP_ACCESS_READ_WRITE 3 +#define SNMP_ACCESS_READ_CREATE 4 + +#define SNMP_LOG_SILENT 0 +#define SNMP_LOG_FATAL 1 +#define SNMP_LOG_ERROR 2 +#define SNMP_LOG_WARNING 3 +#define SNMP_LOG_TRACE 4 +#define SNMP_LOG_VERBOSE 5 + +#define SNMP_OUTPUT_TO_CONSOLE 1 +#define SNMP_OUTPUT_TO_LOGFILE 2 +#define SNMP_OUTPUT_TO_EVENTLOG 4 +#define SNMP_OUTPUT_TO_DEBUGGER 8 + +#define DEFINE_SIZEOF(x) (sizeof(x)/sizeof((x)[0])) +#define DEFINE_OID(x) { DEFINE_SIZEOF(x),(x) } +#define DEFINE_NULLOID() { 0, NULL } +#define DEFINE_NULLOCTENTS() { NULL, 0, FALSE } + +#define DEFAULT_SNMP_PORT_UDP 161 +#define DEFAULT_SNMP_PORT_IPX 36879 +#define DEFAULT_SNMPTRAP_PORT_UDP 162 +#define DEFAULT_SNMPTRAP_PORT_IPX 36880 + +#define SNMP_MAX_OID_LEN 128 + +#define SNMP_MEM_ALLOC_ERROR 0 +#define SNMP_BERAPI_INVALID_LENGTH 10 +#define SNMP_BERAPI_INVALID_TAG 11 +#define SNMP_BERAPI_OVERFLOW 12 +#define SNMP_BERAPI_SHORT_BUFFER 13 +#define SNMP_BERAPI_INVALID_OBJELEM 14 +#define SNMP_PDUAPI_UNRECOGNIZED_PDU 20 +#define SNMP_PDUAPI_INVALID_ES 21 +#define SNMP_PDUAPI_INVALID_GT 22 +#define SNMP_AUTHAPI_INVALID_VERSION 30 +#define SNMP_AUTHAPI_INVALID_MSG_TYPE 31 +#define SNMP_AUTHAPI_TRIV_AUTH_FAILED 32 + +#define SNMPAPI_NOERROR TRUE +#define SNMPAPI_ERROR FALSE + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI SnmpExtensionInit(DWORD dwUptimeReference, + HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion); +BOOL WINAPI SnmpExtensionInitEx(AsnObjectIdentifier *pNextSupportedRegion); + +BOOL WINAPI SnmpExtensionMonitor(LPVOID pAgentMgmtData); + +BOOL WINAPI SnmpExtensionQuery(BYTE bPduType, SnmpVarBindList *pVarBindList, + AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex); +BOOL WINAPI SnmpExtensionQueryEx(UINT nRequestType, UINT nTransactionId, + SnmpVarBindList *pVarBindList, AsnOctetString *pContextInfo, + AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex); + +BOOL WINAPI SnmpExtensionTrap(AsnObjectIdentifier *pEnterpriseOid, + AsnInteger32 *pGenericTrapId, AsnInteger32 *pSpecificTrapId, + AsnTimeticks *pTimeStamp, SnmpVarBindList *pVarBindList); + +VOID WINAPI SnmpExtensionClose(VOID); + +typedef BOOL (WINAPI *PFNSNMPEXTENSIONINIT)(DWORD dwUptimeReference, + HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion); +typedef BOOL (WINAPI *PFNSNMPEXTENSIONINITEX)( + AsnObjectIdentifier *pNextSupportedRegion); + +typedef BOOL (WINAPI *PFNSNMPEXTENSIONMONITOR)(LPVOID pAgentMgmtData); + +typedef BOOL (WINAPI *PFNSNMPEXTENSIONQUERY)(BYTE bPduType, + SnmpVarBindList *pVarBindList, AsnInteger32 *pErrorStatus, + AsnInteger32 *pErrorIndex); +typedef BOOL (WINAPI *PFNSNMPEXTENSIONQUERYEX)(UINT nRequestType, + UINT nTransactionId, SnmpVarBindList *pVarBindList, + AsnOctetString *pContextInfo, AsnInteger32 *pErrorStatus, + AsnInteger32 *pErrorIndex); + +typedef BOOL (WINAPI *PFNSNMPEXTENSIONTRAP)(AsnObjectIdentifier *pEnterpriseOid, + AsnInteger32 *pGenericTrapId, AsnInteger32 *pSpecificTrapId, + AsnTimeticks *pTimeStamp, SnmpVarBindList *pVarBindList); + +typedef VOID (WINAPI *PFNSNMPEXTENSIONCLOSE)(VOID); + +INT WINAPI SnmpUtilOidCpy(AsnObjectIdentifier *pOidDst, + AsnObjectIdentifier *pOidSrc); +INT WINAPI SnmpUtilOidAppend(AsnObjectIdentifier *pOidDst, + AsnObjectIdentifier *pOidSrc); +INT WINAPI SnmpUtilOidCmp(AsnObjectIdentifier *pOid1, + AsnObjectIdentifier *pOid2); +INT WINAPI SnmpUtilOidNCmp(AsnObjectIdentifier *pOid1, + AsnObjectIdentifier *pOid2, UINT nSubIds); +VOID WINAPI SnmpUtilOidFree(AsnObjectIdentifier *pOid); + +INT WINAPI SnmpUtilOctetsCmp(AsnOctetString *pOctets1, + AsnOctetString *pOctets2); +INT WINAPI SnmpUtilOctetsNCmp(AsnOctetString *pOctets1, + AsnOctetString *pOctets2, UINT nChars); +INT WINAPI SnmpUtilOctetsCpy(AsnOctetString *pOctetsDst, + AsnOctetString *pOctetsSrc); +VOID WINAPI SnmpUtilOctetsFree(AsnOctetString *pOctets); + +INT WINAPI SnmpUtilAsnAnyCpy(AsnAny *pAnyDst, AsnAny *pAnySrc); +VOID WINAPI SnmpUtilAsnAnyFree(AsnAny *pAny); + +INT WINAPI SnmpUtilVarBindCpy(SnmpVarBind *pVbDst, SnmpVarBind *pVbSrc); +VOID WINAPI SnmpUtilVarBindFree(SnmpVarBind *pVb); + +INT WINAPI SnmpUtilVarBindListCpy(SnmpVarBindList *pVblDst, + SnmpVarBindList *pVblSrc); +VOID WINAPI SnmpUtilVarBindListFree(SnmpVarBindList *pVbl); + +LPVOID WINAPI SnmpUtilMemAlloc(UINT nBytes) __WINE_ALLOC_SIZE(1); +LPVOID WINAPI SnmpUtilMemReAlloc(LPVOID pMem, UINT nBytes) __WINE_ALLOC_SIZE(2); +VOID WINAPI SnmpUtilMemFree(LPVOID pMem); + +LPSTR WINAPI SnmpUtilOidToA(AsnObjectIdentifier *Oid); +LPSTR WINAPI SnmpUtilIdsToA(UINT *Ids, UINT IdLength); + +VOID WINAPI SnmpUtilPrintOid(AsnObjectIdentifier *Oid); +VOID WINAPI SnmpUtilPrintAsnAny(AsnAny *pAny); + +DWORD WINAPI SnmpSvcGetUptime(VOID); +VOID WINAPI SnmpSvcSetLogLevel(INT nLogLevel); +VOID WINAPI SnmpSvcSetLogType(INT nLogType); + +VOID WINAPIV SnmpUtilDbgPrint(INT nLogLevel, LPSTR szFormat, ...); + +#ifdef __cplusplus +} +#endif + +#endif /* _WINE_SNMP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/softpub.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/softpub.h new file mode 100644 index 0000000..4640399 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/softpub.h @@ -0,0 +1,245 @@ +/* + * Copyright (C) 2006 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SOFTPUB_H +#define __WINE_SOFTPUB_H + +#include + +#define WINTRUST_ACTION_GENERIC_CERT_VERIFY \ + { 0x189a3842, 0x3041, 0x11d1, { 0x85,0xe1,0x00,0xc0,0x4f,0xc2,0x95,0xee }} + +#if defined(__GNUC__) +#define SP_GENERIC_CERT_INIT_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','D','e','f','C','e','r','t','I','n','i','t', 0} +#elif defined(_MSC_VER) +#define SP_GENERIC_CERT_INIT_FUNCTION L"SoftpubDefCertInit" +#else +static const WCHAR SP_GENERIC_CERT_INIT_FUNCTION[] = + {'S','o','f','t','p','u','b','D','e','f','C','e','r','t','I','n','i','t', 0}; +#endif + +#define WINTRUST_ACTION_GENERIC_CHAIN_VERIFY \ + { 0xfc451c16, 0xac75, 0x11d1, { 0xb4,0xb8,0x00,0xc0,0x4f,0xb6,0x6e,0xa0 }} + +#if defined(__GNUC__) +#define GENERIC_CHAIN_FINALPOLICY_FUNCTION (const WCHAR []) \ + {'G','e','n','e','r','i','c','C','h','a','i','n','F','i','n','a','l','P','r','o','v', 0} +#define GENERIC_CHAIN_CERTTRUST_FUNCTION (const WCHAR []) \ + {'G','e','n','e','r','i','c','C','h','a','i','n','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0} +#elif defined(_MSC_VER) +#define GENERIC_CHAIN_FINALPOLICY_FUNCTION L"GenericChainFinalProv" +#define GENERIC_CHAIN_CERTTRUST_FUNCTION L"GenericChainCertificateTrust" +#else +static const WCHAR GENERIC_CHAIN_FINALPOLICY_FUNCTION[] = + {'G','e','n','e','r','i','c','C','h','a','i','n','F','i','n','a','l','P','r','o','v', 0}; +static const WCHAR GENERIC_CHAIN_CERTTRUST_FUNCTION[] = + {'G','e','n','e','r','i','c','C','h','a','i','n','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0}; +#endif + +typedef struct _WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO +{ + union { + DWORD cbStruct; + DWORD cbSize; + } DUMMYUNIONNAME; + PCCERT_CHAIN_CONTEXT pChainContext; + DWORD dwSignerType; + PCMSG_SIGNER_INFO pMsgSignerInfo; + DWORD dwError; + DWORD cCounterSigner; + struct _WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO *rgpCounterSigner; +} WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO, *PWTD_GENERIC_CHAIN_POLICY_SIGNER_INFO; + +typedef HRESULT (WINAPI *PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK)( + PCRYPT_PROVIDER_DATA pProvData, DWORD dwStepError, DWORD dwRegPolicySettings, + DWORD cSigner, PWTD_GENERIC_CHAIN_POLICY_SIGNER_INFO rgpSigner, + void *pvPolicyArg); + +typedef struct _WTD_GENERIC_CHAIN_POLICY_CREATE_INFO +{ + union { + DWORD cbStruct; + DWORD cbSize; + } DUMMYUNIONNAME; + HCERTCHAINENGINE hChainEngine; + PCERT_CHAIN_PARA pChainPara; + DWORD dwFlags; + void *pvReserved; +} WTD_GENERIC_CHAIN_POLICY_CREATE_INFO, *PWTD_GENERIC_CHAIN_POLICY_CREATE_INFO; + +typedef struct _WTD_GENERIC_CHAIN_POLICY_DATA +{ + union { + DWORD cbStruct; + DWORD cbSize; + } DUMMYUNIONNAME; + PWTD_GENERIC_CHAIN_POLICY_CREATE_INFO pSignerChainInfo; + PWTD_GENERIC_CHAIN_POLICY_CREATE_INFO pCounterSignerChainInfo; + PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK pfnPolicyCallback; + void *pvPolicyArg; +} WTD_GENERIC_CHAIN_POLICY_DATA, *PWTD_GENERIC_CHAIN_POLICY_DATA; + +#if defined(__GNUC__) +#define SP_POLICY_PROVIDER_DLL_NAME (const WCHAR []) \ + {'W','I','N','T','R','U','S','T','.','D','L','L' ,0} +#elif defined(_MSC_VER) +#define SP_POLICY_PROVIDER_DLL_NAME L"WINTRUST.DLL" +#else +static const WCHAR SP_POLICY_PROVIDER_DLL_NAME[] = + {'W','I','N','T','R','U','S','T','.','D','L','L', 0}; +#endif + +#define WINTRUST_ACTION_GENERIC_VERIFY_V2 \ + { 0xaac56b, 0xcd44, 0x11d0, { 0x8c,0xc2,0x00,0xc0,0x4f,0xc2,0x95,0xee }} + +#if defined(__GNUC__) +#define SP_INIT_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','I','n','i','t','i','a','l','i','z','e', 0} +#define SP_OBJTRUST_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','L','o','a','d','M','e','s','s','a','g','e', 0} +#define SP_SIGTRUST_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','L','o','a','d','S','i','g','n','a','t','u','r','e', 0} +#define SP_CHKCERT_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','C','h','e','c','k','C','e','r','t', 0} +#define SP_FINALPOLICY_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','A','u','t','h','e','n','t','i','c','o','d','e', 0} +#define SP_CLEANUPPOLICY_FUNCTION (const WCHAR []) \ + {'S','o','f','t','p','u','b','C','l','e','a','n','u','p', 0} +#elif defined(_MSC_VER) +#define SP_INIT_FUNCTION L"SoftpubInitialize" +#define SP_OBJTRUST_FUNCTION L"SoftpubLoadMessage" +#define SP_SIGTRUST_FUNCTION L"SoftpubLoadSignature" +#define SP_CHKCERT_FUNCTION L"SoftpubCheckCert" +#define SP_FINALPOLICY_FUNCTION L"SoftpubAuthenticode" +#define SP_CLEANUPPOLICY_FUNCTION L"SoftpubCleanup" +#else +static const WCHAR SP_INIT_FUNCTION[] = + {'S','o','f','t','p','u','b','I','n','i','t','i','a','l','i','z','e', 0}; +static const WCHAR SP_OBJTRUST_FUNCTION[] = + {'S','o','f','t','p','u','b','L','o','a','d','M','e','s','s','a','g','e', 0}; +static const WCHAR SP_SIGTRUST_FUNCTION[] = + {'S','o','f','t','p','u','b','L','o','a','d','S','i','g','n','a','t','u','r','e', 0}; +static const WCHAR SP_CHKCERT_FUNCTION[] = + {'S','o','f','t','p','u','b','C','h','e','c','k','C','e','r','t', 0}; +static const WCHAR SP_FINALPOLICY_FUNCTION[] = + {'S','o','f','t','p','u','b','A','u','t','h','e','n','t','i','c','o','d','e', 0}; +static const WCHAR SP_CLEANUPPOLICY_FUNCTION[] = + {'S','o','f','t','p','u','b','C','l','e','a','n','u','p', 0}; +#endif + +#define WINTRUST_ACTION_TRUSTPROVIDER_TEST \ + { 0x573e31f8, 0xddba, 0x11d0, { 0x8c,0xcb,0x00,0xc0,0x4f,0xc2,0x95,0xee }} + +#if defined(__GNUC__) +#define SP_TESTDUMPPOLICY_FUNCTION_TEST (const WCHAR []) \ + {'S','o','f','t','p','u','b','D','u','m','p','S','t','r','u','c','t','u','r','e', 0} +#elif defined(_MSC_VER) +#define SP_TESTDUMPPOLICY_FUNCTION_TEST L"SoftpubDumpStructure" +#else +static const WCHAR SP_TESTDUMPPOLICY_FUNCTION_TEST[] = + {'S','o','f','t','p','u','b','D','u','m','p','S','t','r','u','c','t','u','r','e', 0}; +#endif + +#define HTTPSPROV_ACTION \ + { 0x573e31f8, 0xaaba, 0x11d0, { 0x8c,0xcb,0x00,0xc0,0x4f,0xc2,0x95,0xee }} + +#if defined(__GNUC__) +#define HTTPS_CERTTRUST_FUNCTION (const WCHAR []) \ + {'H','T','T','P','S','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0} +#define HTTPS_FINALPOLICY_FUNCTION (const WCHAR []) \ + {'H','T','T','P','S','F','i','n','a','l','P','r','o','v', 0} +#elif defined(_MSC_VER) +#define HTTPS_FINALPOLICY_FUNCTION L"HTTPSFinalProv" +#define HTTPS_CERTTRUST_FUNCTION L"HTTPSCertificateTrust" +#else +static const WCHAR HTTPS_CERTTRUST_FUNCTION[] = + {'H','T','T','P','S','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0}; +static const WCHAR HTTPS_FINALPOLICY_FUNCTION[] = + {'H','T','T','P','S','F','i','n','a','l','P','r','o','v', 0}; +#endif + +#define OFFICESIGN_ACTION_VERIFY \ + { 0x5555c2cd, 0x17fb, 0x11d1, { 0x85,0xc4,0x00,0xc0,0x4f,0xc2,0x95,0xee }} + +#if defined(__GNUC__) +#define OFFICE_POLICY_PROVIDER_DLL_NAME (const WCHAR []) \ + {'W','I','N','T','R','U','S','T','.','D','L','L' ,0} +#define OFFICE_INITPROV_FUNCTION (const WCHAR []) \ + {'O','f','f','i','c','e','I','n','i','t','i','a','l','i','z','e','P','o','l','i','c','y', 0} +#define OFFICE_CLEANUPPOLICY_FUNCTION (const WCHAR []) \ + {'O','f','f','i','c','e','C','l','e','a','n','u','p','P','o','l','i','c','y', 0} +#elif defined(_MSC_VER) +#define OFFICE_POLICY_PROVIDER_DLL_NAME SP_POLICY_PROVIDER_DLL_NAME +#define OFFICE_INITPROV_FUNCTION L"OfficeInitializePolicy" +#define OFFICE_CLEANUPPOLICY_FUNCTION L"OfficeCleanupPolicy" +#else +static const WCHAR OFFICE_POLICY_PROVIDER_DLL_NAME[] = + {'W','I','N','T','R','U','S','T','.','D','L','L', 0}; +static const WCHAR OFFICE_INITPROV_FUNCTION[] = + {'O','f','f','i','c','e','I','n','i','t','i','a','l','i','z','e','P','o','l','i','c','y', 0}; +static const WCHAR OFFICE_CLEANUPPOLICY_FUNCTION[] = + {'O','f','f','i','c','e','C','l','e','a','n','u','p','P','o','l','i','c','y', 0}; +#endif + +#define DRIVER_ACTION_VERIFY \ + { 0xf750e6c3, 0x38ee, 0x11d1, { 0x85,0xe5,0x00,0xc0,0x4f,0xc2,0x95,0xee }} + +#if defined(__GNUC__) +#define DRIVER_INITPROV_FUNCTION (const WCHAR []) \ + {'D','r','i','v','e','r','I','n','i','t','i','a','l','i','z','e','P','o','l','i','c','y', 0} +#define DRIVER_FINALPOLPROV_FUNCTION (const WCHAR []) \ + {'D','r','i','v','e','r','F','i','n','a','l','P','o','l','i','c','y', 0} +#define DRIVER_CLEANUPPOLICY_FUNCTION (const WCHAR []) \ + {'D','r','i','v','e','r','C','l','e','a','n','u','p','P','o','l','i','c','y', 0} +#elif defined(_MSC_VER) +#define DRIVER_INITPROV_FUNCTION L"DriverInitializePolicy" +#define DRIVER_FINALPOLPROV_FUNCTION L"DriverFinalPolicy" +#define DRIVER_CLEANUPPOLICY_FUNCTION L"DriverCleanupPolicy" +#else +static const WCHAR DRIVER_INITPROV_FUNCTION[] = + {'D','r','i','v','e','r','I','n','i','t','i','a','l','i','z','e','P','o','l','i','c','y', 0}; +static const WCHAR DRIVER_FINALPOLPROV_FUNCTION[] = + {'D','r','i','v','e','r','F','i','n','a','l','P','o','l','i','c','y', 0}; +static const WCHAR DRIVER_CLEANUPPOLICY_FUNCTION[] = + {'D','r','i','v','e','r','C','l','e','a','n','u','p','P','o','l','i','c','y', 0}; +#endif + +typedef struct DRIVER_VER_MAJORMINOR_ +{ + DWORD dwMajor; + DWORD dwMinor; +} DRIVER_VER_MAJORMINOR; + +typedef struct DRIVER_VER_INFO_ +{ + DWORD cbStruct; + ULONG_PTR dwReserved1; + ULONG_PTR dwReserved2; + DWORD dwPlatform; + DWORD dwVersion; + WCHAR wszVersion[MAX_PATH]; + WCHAR wszSignedBy[MAX_PATH]; + PCCERT_CONTEXT pcSignerCertContext; + DRIVER_VER_MAJORMINOR sOSVersionLow; + DRIVER_VER_MAJORMINOR sOSVersionHigh; + DWORD dwBuildNumberLow; + DWORD dwBuildNumberHigh; +} DRIVER_VER_INFO, *PDRIVER_VER_INFO; + +#endif /* __WINE_SOFTPUB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sperror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sperror.h new file mode 100644 index 0000000..4b24799 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sperror.h @@ -0,0 +1,31 @@ +/* + * Speech API (SAPI) Errors. + * + * Copyright (C) 2017 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef SPError_h +#define SPError_h + +#include + +#define SPERR_UNINITIALIZED 0x80045001 +#define SPERR_ALREADY_INITIALIZED 0x80045002 +#define SPERR_NOT_FOUND 0x8004503a +#define SPERR_INVALID_REGISTRY_KEY 0x80045040 + +#endif /* SPError_h */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sql.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sql.h new file mode 100644 index 0000000..ed47380 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sql.h @@ -0,0 +1,746 @@ +/* + * ODBC definitions + * + * Copyright (C) 1999 Xiang Li + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __SQL_H +#define __SQL_H + +#ifndef ODBCVER +#define ODBCVER 0x0351 +#endif + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define SQL_NULL_DATA (-1) +#define SQL_DATA_AT_EXEC (-2) +#define SQL_SUCCESS 0 +#define SQL_SUCCESS_WITH_INFO 1 +#if (ODBCVER >= 0x0300) +#define SQL_NO_DATA 100 +#endif +#define SQL_ERROR (-1) +#define SQL_INVALID_HANDLE (-2) +#define SQL_STILL_EXECUTING 2 +#define SQL_NEED_DATA 99 +#define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) + +#define SQL_NTS (-3) +#define SQL_NTSL (__MSABI_LONG(-3)) + +#define SQL_MAX_MESSAGE_LENGTH 512 + +#if (ODBCVER >= 0x0300) +#define SQL_DATE_LEN 10 +#define SQL_TIME_LEN 8 +#define SQL_TIMESTAMP_LEN 19 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_HANDLE_ENV 1 +#define SQL_HANDLE_DBC 2 +#define SQL_HANDLE_STMT 3 +#define SQL_HANDLE_DESC 4 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_ATTR_OUTPUT_NTS 10001 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_ATTR_AUTO_IPD 10001 +#define SQL_ATTR_METADATA_ID 10014 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_ATTR_APP_ROW_DESC 10010 +#define SQL_ATTR_APP_PARAM_DESC 10011 +#define SQL_ATTR_IMP_ROW_DESC 10012 +#define SQL_ATTR_IMP_PARAM_DESC 10013 +#define SQL_ATTR_CURSOR_SCROLLABLE (-1) +#define SQL_ATTR_CURSOR_SENSITIVITY (-2) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_NONSCROLLABLE 0 +#define SQL_SCROLLABLE 1 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_DESC_COUNT 1001 +#define SQL_DESC_TYPE 1002 +#define SQL_DESC_LENGTH 1003 +#define SQL_DESC_OCTET_LENGTH_PTR 1004 +#define SQL_DESC_PRECISION 1005 +#define SQL_DESC_SCALE 1006 +#define SQL_DESC_DATETIME_INTERVAL_CODE 1007 +#define SQL_DESC_NULLABLE 1008 +#define SQL_DESC_INDICATOR_PTR 1009 +#define SQL_DESC_DATA_PTR 1010 +#define SQL_DESC_NAME 1011 +#define SQL_DESC_UNNAMED 1012 +#define SQL_DESC_OCTET_LENGTH 1013 +#define SQL_DESC_ALLOC_TYPE 1099 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_DIAG_RETURNCODE 1 +#define SQL_DIAG_NUMBER 2 +#define SQL_DIAG_ROW_COUNT 3 +#define SQL_DIAG_SQLSTATE 4 +#define SQL_DIAG_NATIVE 5 +#define SQL_DIAG_MESSAGE_TEXT 6 +#define SQL_DIAG_DYNAMIC_FUNCTION 7 +#define SQL_DIAG_CLASS_ORIGIN 8 +#define SQL_DIAG_SUBCLASS_ORIGIN 9 +#define SQL_DIAG_CONNECTION_NAME 10 +#define SQL_DIAG_SERVER_NAME 11 +#define SQL_DIAG_DYNAMIC_FUNCTION_CODE 12 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_DIAG_ALTER_DOMAIN 3 +#define SQL_DIAG_ALTER_TABLE 4 +#define SQL_DIAG_CALL 7 +#define SQL_DIAG_CREATE_ASSERTION 6 +#define SQL_DIAG_CREATE_CHARACTER_SET 8 +#define SQL_DIAG_CREATE_COLLATION 10 +#define SQL_DIAG_CREATE_DOMAIN 23 +#define SQL_DIAG_CREATE_INDEX (-1) +#define SQL_DIAG_CREATE_SCHEMA 64 +#define SQL_DIAG_CREATE_TABLE 77 +#define SQL_DIAG_CREATE_TRANSLATION 79 +#define SQL_DIAG_CREATE_VIEW 84 +#define SQL_DIAG_DELETE_WHERE 19 +#define SQL_DIAG_DROP_ASSERTION 24 +#define SQL_DIAG_DROP_CHARACTER_SET 25 +#define SQL_DIAG_DROP_COLLATION 26 +#define SQL_DIAG_DROP_DOMAIN 27 +#define SQL_DIAG_DROP_INDEX (-2) +#define SQL_DIAG_DROP_SCHEMA 31 +#define SQL_DIAG_DROP_TABLE 32 +#define SQL_DIAG_DROP_TRANSLATION 33 +#define SQL_DIAG_DROP_VIEW 36 +#define SQL_DIAG_DYNAMIC_DELETE_CURSOR 38 +#define SQL_DIAG_DYNAMIC_UPDATE_CURSOR 81 +#define SQL_DIAG_GRANT 48 +#define SQL_DIAG_INSERT 50 +#define SQL_DIAG_REVOKE 59 +#define SQL_DIAG_SELECT_CURSOR 85 +#define SQL_DIAG_UNKNOWN_STATEMENT 0 +#define SQL_DIAG_UPDATE_WHERE 82 +#endif + +#define SQL_UNKNOWN_TYPE 0 +#define SQL_CHAR 1 +#define SQL_NUMERIC 2 +#define SQL_DECIMAL 3 +#define SQL_INTEGER 4 +#define SQL_SMALLINT 5 +#define SQL_FLOAT 6 +#define SQL_REAL 7 +#define SQL_DOUBLE 8 +#if (ODBCVER >= 0x0300) +#define SQL_DATETIME 9 +#endif +#define SQL_VARCHAR 12 + +#if (ODBCVER >= 0x0300) +#define SQL_TYPE_DATE 91 +#define SQL_TYPE_TIME 92 +#define SQL_TYPE_TIMESTAMP 93 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_UNSPECIFIED 0 +#define SQL_INSENSITIVE 1 +#define SQL_SENSITIVE 2 +#endif + +#define SQL_ALL_TYPES 0 + +#if (ODBCVER >= 0x0300) +#define SQL_DEFAULT 99 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_ARD_TYPE (-99) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_CODE_DATE 1 +#define SQL_CODE_TIME 2 +#define SQL_CODE_TIMESTAMP 3 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_FALSE 0 +#define SQL_TRUE 1 +#endif + +#define SQL_NO_NULLS 0 +#define SQL_NULLABLE 1 + +#define SQL_NULLABLE_UNKNOWN 2 + +#if (ODBCVER >= 0x0300) +#define SQL_PRED_NONE 0 +#define SQL_PRED_CHAR 1 +#define SQL_PRED_BASIC 2 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_NAMED 0 +#define SQL_UNNAMED 1 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_DESC_ALLOC_AUTO 1 +#define SQL_DESC_ALLOC_USER 2 +#endif + +#define SQL_CLOSE 0 +#define SQL_DROP 1 +#define SQL_UNBIND 2 +#define SQL_RESET_PARAMS 3 +#define SQL_FETCH_NEXT 1 +#define SQL_FETCH_FIRST 2 +#define SQL_FETCH_LAST 3 +#define SQL_FETCH_PRIOR 4 +#define SQL_FETCH_ABSOLUTE 5 +#define SQL_FETCH_RELATIVE 6 + +#define SQL_COMMIT 0 +#define SQL_ROLLBACK 1 + +#define SQL_NULL_HENV 0 +#define SQL_NULL_HDBC 0 +#define SQL_NULL_HSTMT 0 +#if (ODBCVER >= 0x0300) +#define SQL_NULL_HDESC 0 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_NULL_HANDLE __MSABI_LONG(0) +#endif + +#define SQL_SCOPE_CURROW 0 +#define SQL_SCOPE_TRANSACTION 1 +#define SQL_SCOPE_SESSION 2 + +#define SQL_PC_UNKNOWN 0 +#if (ODBCVER >= 0x0300) +#define SQL_PC_NON_PSEUDO 1 +#endif +#define SQL_PC_PSEUDO 2 + +#if (ODBCVER >= 0x0300) +#define SQL_ROW_IDENTIFIER 1 +#endif + +#define SQL_INDEX_UNIQUE 0 +#define SQL_INDEX_ALL 1 + +#define SQL_INDEX_CLUSTERED 1 +#define SQL_INDEX_HASHED 2 +#define SQL_INDEX_OTHER 3 + +#define SQL_API_SQLALLOCCONNECT 1 +#define SQL_API_SQLALLOCENV 2 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLALLOCHANDLE 1001 +#endif +#define SQL_API_SQLALLOCSTMT 3 +#define SQL_API_SQLBINDCOL 4 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLBINDPARAM 1002 +#endif +#define SQL_API_SQLCANCEL 5 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLCLOSECURSOR 1003 +#define SQL_API_SQLCOLATTRIBUTE 6 +#endif +#define SQL_API_SQLCOLUMNS 40 +#define SQL_API_SQLCONNECT 7 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLCOPYDESC 1004 +#endif +#define SQL_API_SQLDATASOURCES 57 +#define SQL_API_SQLDESCRIBECOL 8 +#define SQL_API_SQLDISCONNECT 9 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLENDTRAN 1005 +#endif +#define SQL_API_SQLERROR 10 +#define SQL_API_SQLEXECDIRECT 11 +#define SQL_API_SQLEXECUTE 12 +#define SQL_API_SQLFETCH 13 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLFETCHSCROLL 1021 +#endif +#define SQL_API_SQLFREECONNECT 14 +#define SQL_API_SQLFREEENV 15 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLFREEHANDLE 1006 +#endif +#define SQL_API_SQLFREESTMT 16 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLGETCONNECTATTR 1007 +#endif +#define SQL_API_SQLGETCONNECTOPTION 42 +#define SQL_API_SQLGETCURSORNAME 17 +#define SQL_API_SQLGETDATA 43 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLGETDESCFIELD 1008 +#define SQL_API_SQLGETDESCREC 1009 +#define SQL_API_SQLGETDIAGFIELD 1010 +#define SQL_API_SQLGETDIAGREC 1011 +#define SQL_API_SQLGETENVATTR 1012 +#endif +#define SQL_API_SQLGETFUNCTIONS 44 +#define SQL_API_SQLGETINFO 45 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLGETSTMTATTR 1014 +#endif +#define SQL_API_SQLGETSTMTOPTION 46 +#define SQL_API_SQLGETTYPEINFO 47 +#define SQL_API_SQLNUMRESULTCOLS 18 +#define SQL_API_SQLPARAMDATA 48 +#define SQL_API_SQLPREPARE 19 +#define SQL_API_SQLPUTDATA 49 +#define SQL_API_SQLROWCOUNT 20 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLSETCONNECTATTR 1016 +#endif +#define SQL_API_SQLSETCONNECTOPTION 50 +#define SQL_API_SQLSETCURSORNAME 21 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLSETDESCFIELD 1017 +#define SQL_API_SQLSETDESCREC 1018 +#define SQL_API_SQLSETENVATTR 1019 +#endif +#define SQL_API_SQLSETPARAM 22 +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLSETSTMTATTR 1020 +#endif +#define SQL_API_SQLSETSTMTOPTION 51 +#define SQL_API_SQLSPECIALCOLUMNS 52 +#define SQL_API_SQLSTATISTICS 53 +#define SQL_API_SQLTABLES 54 +#define SQL_API_SQLTRANSACT 23 + +#if (ODBCVER >= 0x0300) +#define SQL_MAX_DRIVER_CONNECTIONS 0 +#define SQL_MAXIMUM_DRIVER_CONNECTIONS SQL_MAX_DRIVER_CONNECTIONS +#define SQL_MAX_CONCURRENT_ACTIVITIES 1 +#define SQL_MAXIMUM_CONCURRENT_ACTIVITIES SQL_MAX_CONCURRENT_ACTIVITIES +#endif +#define SQL_DATA_SOURCE_NAME 2 +#define SQL_FETCH_DIRECTION 8 +#define SQL_SERVER_NAME 13 +#define SQL_SEARCH_PATTERN_ESCAPE 14 +#define SQL_DBMS_NAME 17 +#define SQL_DBMS_VER 18 +#define SQL_ACCESSIBLE_TABLES 19 +#define SQL_ACCESSIBLE_PROCEDURES 20 +#define SQL_CURSOR_COMMIT_BEHAVIOR 23 +#define SQL_DATA_SOURCE_READ_ONLY 25 +#define SQL_DEFAULT_TXN_ISOLATION 26 +#define SQL_IDENTIFIER_CASE 28 +#define SQL_IDENTIFIER_QUOTE_CHAR 29 +#define SQL_MAX_COLUMN_NAME_LEN 30 +#define SQL_MAXIMUM_COLUMN_NAME_LENGTH SQL_MAX_COLUMN_NAME_LEN +#define SQL_MAX_CURSOR_NAME_LEN 31 +#define SQL_MAXIMUM_CURSOR_NAME_LENGTH SQL_MAX_CURSOR_NAME_LEN +#define SQL_MAX_SCHEMA_NAME_LEN 32 +#define SQL_MAXIMUM_SCHEMA_NAME_LENGTH SQL_MAX_SCHEMA_NAME_LEN +#define SQL_MAX_CATALOG_NAME_LEN 34 +#define SQL_MAXIMUM_CATALOG_NAME_LENGTH SQL_MAX_CATALOG_NAME_LEN +#define SQL_MAX_TABLE_NAME_LEN 35 +#define SQL_SCROLL_CONCURRENCY 43 +#define SQL_TXN_CAPABLE 46 +#define SQL_TRANSACTION_CAPABLE SQL_TXN_CAPABLE +#define SQL_USER_NAME 47 +#define SQL_TXN_ISOLATION_OPTION 72 +#define SQL_TRANSACTION_ISOLATION_OPTION SQL_TXN_ISOLATION_OPTION +#define SQL_INTEGRITY 73 +#define SQL_GETDATA_EXTENSIONS 81 +#define SQL_NULL_COLLATION 85 +#define SQL_ALTER_TABLE 86 +#define SQL_ORDER_BY_COLUMNS_IN_SELECT 90 +#define SQL_SPECIAL_CHARACTERS 94 +#define SQL_MAX_COLUMNS_IN_GROUP_BY 97 +#define SQL_MAXIMUM_COLUMNS_IN_GROUP_BY SQL_MAX_COLUMNS_IN_GROUP_BY +#define SQL_MAX_COLUMNS_IN_INDEX 98 +#define SQL_MAXIMUM_COLUMNS_IN_INDEX SQL_MAX_COLUMNS_IN_INDEX +#define SQL_MAX_COLUMNS_IN_ORDER_BY 99 +#define SQL_MAXIMUM_COLUMNS_IN_ORDER_BY SQL_MAX_COLUMNS_IN_ORDER_BY +#define SQL_MAX_COLUMNS_IN_SELECT 100 +#define SQL_MAXIMUM_COLUMNS_IN_SELECT SQL_MAX_COLUMNS_IN_SELECT +#define SQL_MAX_COLUMNS_IN_TABLE 101 +#define SQL_MAX_INDEX_SIZE 102 +#define SQL_MAXIMUM_INDEX_SIZE SQL_MAX_INDEX_SIZE +#define SQL_MAX_ROW_SIZE 104 +#define SQL_MAXIMUM_ROW_SIZE SQL_MAX_ROW_SIZE +#define SQL_MAX_STATEMENT_LEN 105 +#define SQL_MAXIMUM_STATEMENT_LENGTH SQL_MAX_STATEMENT_LEN +#define SQL_MAX_TABLES_IN_SELECT 106 +#define SQL_MAXIMUM_TABLES_IN_SELECT SQL_MAX_TABLES_IN_SELECT +#define SQL_MAX_USER_NAME_LEN 107 +#define SQL_MAXIMUM_USER_NAME_LENGTH SQL_MAX_USER_NAME_LEN +#if (ODBCVER >= 0x0300) +#define SQL_OJ_CAPABILITIES 115 +#define SQL_OUTER_JOIN_CAPABILITIES SQL_OJ_CAPABILITIES +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_XOPEN_CLI_YEAR 10000 +#define SQL_CURSOR_SENSITIVITY 10001 +#define SQL_DESCRIBE_PARAMETER 10002 +#define SQL_CATALOG_NAME 10003 +#define SQL_COLLATION_SEQ 10004 +#define SQL_MAX_IDENTIFIER_LEN 10005 +#define SQL_MAXIMUM_IDENTIFIER_LENGTH SQL_MAX_IDENTIFIER_LEN +#endif + +#if (ODBCVER >= 0x0200) +#define SQL_AT_ADD_COLUMN __MSABI_LONG(0x00000001) +#define SQL_AT_DROP_COLUMN __MSABI_LONG(0x00000002) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_AT_ADD_CONSTRAINT __MSABI_LONG(0x00000008) + +#endif /* ODBCVER >= 0x0300 */ + + +#if (ODBCVER >= 0x0300) +#define SQL_AM_NONE 0 +#define SQL_AM_CONNECTION 1 +#define SQL_AM_STATEMENT 2 +#endif + +#define SQL_CB_DELETE 0 +#define SQL_CB_CLOSE 1 +#define SQL_CB_PRESERVE 2 + +#define SQL_FD_FETCH_NEXT __MSABI_LONG(0x00000001) +#define SQL_FD_FETCH_FIRST __MSABI_LONG(0x00000002) +#define SQL_FD_FETCH_LAST __MSABI_LONG(0x00000004) +#define SQL_FD_FETCH_PRIOR __MSABI_LONG(0x00000008) +#define SQL_FD_FETCH_ABSOLUTE __MSABI_LONG(0x00000010) +#define SQL_FD_FETCH_RELATIVE __MSABI_LONG(0x00000020) + +#define SQL_GD_ANY_COLUMN __MSABI_LONG(0x00000001) +#define SQL_GD_ANY_ORDER __MSABI_LONG(0x00000002) + +#define SQL_IC_UPPER 1 +#define SQL_IC_LOWER 2 +#define SQL_IC_SENSITIVE 3 +#define SQL_IC_MIXED 4 + +#if (ODBCVER >= 0x0201) +#define SQL_OJ_LEFT __MSABI_LONG(0x00000001) +#define SQL_OJ_RIGHT __MSABI_LONG(0x00000002) +#define SQL_OJ_FULL __MSABI_LONG(0x00000004) +#define SQL_OJ_NESTED __MSABI_LONG(0x00000008) +#define SQL_OJ_NOT_ORDERED __MSABI_LONG(0x00000010) +#define SQL_OJ_INNER __MSABI_LONG(0x00000020) +#define SQL_OJ_ALL_COMPARISON_OPS __MSABI_LONG(0x00000040) +#endif + +#define SQL_SCCO_READ_ONLY __MSABI_LONG(0x00000001) +#define SQL_SCCO_LOCK __MSABI_LONG(0x00000002) +#define SQL_SCCO_OPT_ROWVER __MSABI_LONG(0x00000004) +#define SQL_SCCO_OPT_VALUES __MSABI_LONG(0x00000008) + +#define SQL_TC_NONE 0 +#define SQL_TC_DML 1 +#define SQL_TC_ALL 2 +#define SQL_TC_DDL_COMMIT 3 +#define SQL_TC_DDL_IGNORE 4 + +#define SQL_TXN_READ_UNCOMMITTED __MSABI_LONG(0x00000001) +#define SQL_TRANSACTION_READ_UNCOMMITTED SQL_TXN_READ_UNCOMMITTED +#define SQL_TXN_READ_COMMITTED __MSABI_LONG(0x00000002) +#define SQL_TRANSACTION_READ_COMMITTED SQL_TXN_READ_COMMITTED +#define SQL_TXN_REPEATABLE_READ __MSABI_LONG(0x00000004) +#define SQL_TRANSACTION_REPEATABLE_READ SQL_TXN_REPEATABLE_READ +#define SQL_TXN_SERIALIZABLE __MSABI_LONG(0x00000008) +#define SQL_TRANSACTION_SERIALIZABLE SQL_TXN_SERIALIZABLE + +#define SQL_NC_HIGH 0 +#define SQL_NC_LOW 1 + +SQLRETURN WINAPI SQLAllocConnect(SQLHENV EnvironmentHandle, + SQLHDBC *ConnectionHandle); + +SQLRETURN WINAPI SQLAllocEnv(SQLHENV *EnvironmentHandle); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLAllocHandle(SQLSMALLINT HandleType, + SQLHANDLE InputHandle, SQLHANDLE *OutputHandle); +#endif + +SQLRETURN WINAPI SQLAllocStmt(SQLHDBC ConnectionHandle, + SQLHSTMT *StatementHandle); + +SQLRETURN WINAPI SQLBindCol(SQLHSTMT StatementHandle, + SQLUSMALLINT ColumnNumber, SQLSMALLINT TargetType, + SQLPOINTER TargetValue, SQLLEN BufferLength, + SQLLEN *StrLen_or_Ind); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLBindParam(SQLHSTMT StatementHandle, + SQLUSMALLINT ParameterNumber, SQLSMALLINT ValueType, + SQLSMALLINT ParameterType, SQLULEN LengthPrecision, + SQLSMALLINT ParameterScale, SQLPOINTER ParameterValue, + SQLLEN *StrLen_or_Ind); +#endif + +SQLRETURN WINAPI SQLCancel(SQLHSTMT StatementHandle); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLCloseCursor(SQLHSTMT StatementHandle); + +SQLRETURN WINAPI SQLColAttribute (SQLHSTMT StatementHandle, + SQLUSMALLINT ColumnNumber, SQLUSMALLINT FieldIdentifier, + SQLPOINTER CharacterAttribute, SQLSMALLINT BufferLength, + SQLSMALLINT *StringLength, SQLLEN *NumericAttribute); +#endif + + +SQLRETURN WINAPI SQLColumns(SQLHSTMT StatementHandle, + SQLCHAR *CatalogName, SQLSMALLINT NameLength1, + SQLCHAR *SchemaName, SQLSMALLINT NameLength2, + SQLCHAR *TableName, SQLSMALLINT NameLength3, + SQLCHAR *ColumnName, SQLSMALLINT NameLength4); + + +SQLRETURN WINAPI SQLConnect(SQLHDBC ConnectionHandle, + SQLCHAR *ServerName, SQLSMALLINT NameLength1, + SQLCHAR *UserName, SQLSMALLINT NameLength2, + SQLCHAR *Authentication, SQLSMALLINT NameLength3); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLCopyDesc(SQLHDESC SourceDescHandle, + SQLHDESC TargetDescHandle); +#endif + +SQLRETURN WINAPI SQLDataSources(SQLHENV EnvironmentHandle, + SQLUSMALLINT Direction, SQLCHAR *ServerName, + SQLSMALLINT BufferLength1, SQLSMALLINT *NameLength1, + SQLCHAR *Description, SQLSMALLINT BufferLength2, + SQLSMALLINT *NameLength2); + +SQLRETURN WINAPI SQLDescribeCol(SQLHSTMT StatementHandle, + SQLUSMALLINT ColumnNumber, SQLCHAR *ColumnName, + SQLSMALLINT BufferLength, SQLSMALLINT *NameLength, + SQLSMALLINT *DataType, SQLULEN *ColumnSize, + SQLSMALLINT *DecimalDigits, SQLSMALLINT *Nullable); + +SQLRETURN WINAPI SQLDisconnect(SQLHDBC ConnectionHandle); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLEndTran(SQLSMALLINT HandleType, SQLHANDLE Handle, + SQLSMALLINT CompletionType); +#endif + +SQLRETURN WINAPI SQLError(SQLHENV EnvironmentHandle, + SQLHDBC ConnectionHandle, SQLHSTMT StatementHandle, + SQLCHAR *Sqlstate, SQLINTEGER *NativeError, + SQLCHAR *MessageText, SQLSMALLINT BufferLength, + SQLSMALLINT *TextLength); + +SQLRETURN WINAPI SQLExecDirect(SQLHSTMT StatementHandle, + SQLCHAR *StatementText, SQLINTEGER TextLength); + +SQLRETURN WINAPI SQLExecute(SQLHSTMT StatementHandle); + +SQLRETURN WINAPI SQLFetch(SQLHSTMT StatementHandle); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLFetchScroll(SQLHSTMT StatementHandle, + SQLSMALLINT FetchOrientation, SQLLEN FetchOffset); +#endif + +SQLRETURN WINAPI SQLFreeConnect(SQLHDBC ConnectionHandle); + +SQLRETURN WINAPI SQLFreeEnv(SQLHENV EnvironmentHandle); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLFreeHandle(SQLSMALLINT HandleType, SQLHANDLE Handle); +#endif + +SQLRETURN WINAPI SQLFreeStmt(SQLHSTMT StatementHandle, + SQLUSMALLINT Option); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLGetConnectAttr(SQLHDBC ConnectionHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER BufferLength, SQLINTEGER *StringLength); +#endif + +SQLRETURN WINAPI SQLGetConnectOption(SQLHDBC ConnectionHandle, + SQLUSMALLINT Option, SQLPOINTER Value); + +SQLRETURN WINAPI SQLGetCursorName(SQLHSTMT StatementHandle, + SQLCHAR *CursorName, SQLSMALLINT BufferLength, + SQLSMALLINT *NameLength); + +SQLRETURN WINAPI SQLGetData(SQLHSTMT StatementHandle, + SQLUSMALLINT ColumnNumber, SQLSMALLINT TargetType, + SQLPOINTER TargetValue, SQLLEN BufferLength, + SQLLEN *StrLen_or_Ind); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLGetDescField(SQLHDESC DescriptorHandle, + SQLSMALLINT RecNumber, SQLSMALLINT FieldIdentifier, + SQLPOINTER Value, SQLINTEGER BufferLength, + SQLINTEGER *StringLength); + +SQLRETURN WINAPI SQLGetDescRec(SQLHDESC DescriptorHandle, + SQLSMALLINT RecNumber, SQLCHAR *Name, + SQLSMALLINT BufferLength, SQLSMALLINT *StringLength, + SQLSMALLINT *Type, SQLSMALLINT *SubType, + SQLLEN *Length, SQLSMALLINT *Precision, + SQLSMALLINT *Scale, SQLSMALLINT *Nullable); + +SQLRETURN WINAPI SQLGetDiagField(SQLSMALLINT HandleType, SQLHANDLE Handle, + SQLSMALLINT RecNumber, SQLSMALLINT DiagIdentifier, + SQLPOINTER DiagInfo, SQLSMALLINT BufferLength, + SQLSMALLINT *StringLength); + +SQLRETURN WINAPI SQLGetDiagRec(SQLSMALLINT HandleType, SQLHANDLE Handle, + SQLSMALLINT RecNumber, SQLCHAR *Sqlstate, + SQLINTEGER *NativeError, SQLCHAR *MessageText, + SQLSMALLINT BufferLength, SQLSMALLINT *TextLength); + +SQLRETURN WINAPI SQLGetEnvAttr(SQLHENV EnvironmentHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER BufferLength, SQLINTEGER *StringLength); +#endif + +SQLRETURN WINAPI SQLGetFunctions(SQLHDBC ConnectionHandle, + SQLUSMALLINT FunctionId, SQLUSMALLINT *Supported); + +SQLRETURN WINAPI SQLGetInfo(SQLHDBC ConnectionHandle, + SQLUSMALLINT InfoType, SQLPOINTER InfoValue, + SQLSMALLINT BufferLength, SQLSMALLINT *StringLength); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLGetStmtAttr(SQLHSTMT StatementHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER BufferLength, SQLINTEGER *StringLength); +#endif + +SQLRETURN WINAPI SQLGetStmtOption(SQLHSTMT StatementHandle, + SQLUSMALLINT Option, SQLPOINTER Value); + +SQLRETURN WINAPI SQLGetTypeInfo(SQLHSTMT StatementHandle, + SQLSMALLINT DataType); + +SQLRETURN WINAPI SQLNumResultCols(SQLHSTMT StatementHandle, + SQLSMALLINT *ColumnCount); + +SQLRETURN WINAPI SQLParamData(SQLHSTMT StatementHandle, + SQLPOINTER *Value); + +SQLRETURN WINAPI SQLPrepare(SQLHSTMT StatementHandle, + SQLCHAR *StatementText, SQLINTEGER TextLength); + +SQLRETURN WINAPI SQLPutData(SQLHSTMT StatementHandle, + SQLPOINTER Data, SQLLEN StrLen_or_Ind); + +SQLRETURN WINAPI SQLRowCount(SQLHSTMT StatementHandle, + SQLLEN *RowCount); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLSetConnectAttr(SQLHDBC ConnectionHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER StringLength); +#endif + +SQLRETURN WINAPI SQLSetConnectOption(SQLHDBC ConnectionHandle, + SQLUSMALLINT Option, SQLULEN Value); + +SQLRETURN WINAPI SQLSetCursorName(SQLHSTMT StatementHandle, + SQLCHAR *CursorName, SQLSMALLINT NameLength); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLSetDescField(SQLHDESC DescriptorHandle, + SQLSMALLINT RecNumber, SQLSMALLINT FieldIdentifier, + SQLPOINTER Value, SQLINTEGER BufferLength); + +SQLRETURN WINAPI SQLSetDescRec(SQLHDESC DescriptorHandle, + SQLSMALLINT RecNumber, SQLSMALLINT Type, + SQLSMALLINT SubType, SQLLEN Length, + SQLSMALLINT Precision, SQLSMALLINT Scale, + SQLPOINTER Data, SQLLEN *StringLength, + SQLLEN *Indicator); + +SQLRETURN WINAPI SQLSetEnvAttr(SQLHENV EnvironmentHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER StringLength); +#endif + +SQLRETURN WINAPI SQLSetParam(SQLHSTMT StatementHandle, + SQLUSMALLINT ParameterNumber, SQLSMALLINT ValueType, + SQLSMALLINT ParameterType, SQLULEN LengthPrecision, + SQLSMALLINT ParameterScale, SQLPOINTER ParameterValue, + SQLLEN *StrLen_or_Ind); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLSetStmtAttr(SQLHSTMT StatementHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER StringLength); +#endif + +SQLRETURN WINAPI SQLSetStmtOption(SQLHSTMT StatementHandle, + SQLUSMALLINT Option, SQLULEN Value); + +SQLRETURN WINAPI SQLSpecialColumns(SQLHSTMT StatementHandle, + SQLUSMALLINT IdentifierType, SQLCHAR *CatalogName, + SQLSMALLINT NameLength1, SQLCHAR *SchemaName, + SQLSMALLINT NameLength2, SQLCHAR *TableName, + SQLSMALLINT NameLength3, SQLUSMALLINT Scope, + SQLUSMALLINT Nullable); + +SQLRETURN WINAPI SQLStatistics(SQLHSTMT StatementHandle, + SQLCHAR *CatalogName, SQLSMALLINT NameLength1, + SQLCHAR *SchemaName, SQLSMALLINT NameLength2, + SQLCHAR *TableName, SQLSMALLINT NameLength3, + SQLUSMALLINT Unique, SQLUSMALLINT Reserved); + +SQLRETURN WINAPI SQLTables(SQLHSTMT StatementHandle, + SQLCHAR *CatalogName, SQLSMALLINT NameLength1, + SQLCHAR *SchemaName, SQLSMALLINT NameLength2, + SQLCHAR *TableName, SQLSMALLINT NameLength3, + SQLCHAR *TableType, SQLSMALLINT NameLength4); + +SQLRETURN WINAPI SQLTransact(SQLHENV EnvironmentHandle, + SQLHDBC ConnectionHandle, SQLUSMALLINT CompletionType); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqlext.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqlext.h new file mode 100644 index 0000000..ba799a3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqlext.h @@ -0,0 +1,1673 @@ +/* + * MS SQL Extension definitions + * + * Copyright (C) 1999 Xiang Li + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __SQLEXT_H +#define __SQLEXT_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define SQL_SPEC_MAJOR 3 +#define SQL_SPEC_MINOR 51 +#define SQL_SPEC_STRING "03.51" + +#define SQL_SQLSTATE_SIZE 5 +#define SQL_MAX_DSN_LENGTH 32 + +#define SQL_MAX_OPTION_STRING_LENGTH 256 + +#if (ODBCVER < 0x0300) +#define SQL_NO_DATA_FOUND 100 +#else +#define SQL_NO_DATA_FOUND SQL_NO_DATA +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_HANDLE_SENV 5 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_ATTR_ODBC_VERSION 200 +#define SQL_ATTR_CONNECTION_POOLING 201 +#define SQL_ATTR_CP_MATCH 202 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_CP_OFF __MSABI_LONG(0U) +#define SQL_CP_ONE_PER_DRIVER __MSABI_LONG(1U) +#define SQL_CP_ONE_PER_HENV __MSABI_LONG(2U) +#define SQL_CP_DEFAULT SQL_CP_OFF + +#define SQL_CP_STRICT_MATCH __MSABI_LONG(0U) +#define SQL_CP_RELAXED_MATCH __MSABI_LONG(1U) +#define SQL_CP_MATCH_DEFAULT SQL_CP_STRICT_MATCH + +#define SQL_OV_ODBC2 __MSABI_LONG(2U) +#define SQL_OV_ODBC3 __MSABI_LONG(3U) +#endif + +#define SQL_ACCESS_MODE 101 +#define SQL_AUTOCOMMIT 102 +#define SQL_LOGIN_TIMEOUT 103 +#define SQL_OPT_TRACE 104 +#define SQL_OPT_TRACEFILE 105 +#define SQL_TRANSLATE_DLL 106 +#define SQL_TRANSLATE_OPTION 107 +#define SQL_TXN_ISOLATION 108 +#define SQL_CURRENT_QUALIFIER 109 +#define SQL_ODBC_CURSORS 110 +#define SQL_QUIET_MODE 111 +#define SQL_PACKET_SIZE 112 + +#if (ODBCVER >= 0x0300) +#define SQL_ATTR_ACCESS_MODE SQL_ACCESS_MODE +#define SQL_ATTR_AUTOCOMMIT SQL_AUTOCOMMIT +#define SQL_ATTR_CONNECTION_TIMEOUT 113 +#define SQL_ATTR_CURRENT_CATALOG SQL_CURRENT_QUALIFIER +#define SQL_ATTR_DISCONNECT_BEHAVIOR 114 +#define SQL_ATTR_ENLIST_IN_DTC 1207 +#define SQL_ATTR_ENLIST_IN_XA 1208 +#define SQL_ATTR_LOGIN_TIMEOUT SQL_LOGIN_TIMEOUT +#define SQL_ATTR_ODBC_CURSORS SQL_ODBC_CURSORS +#define SQL_ATTR_PACKET_SIZE SQL_PACKET_SIZE +#define SQL_ATTR_QUIET_MODE SQL_QUIET_MODE +#define SQL_ATTR_TRACE SQL_OPT_TRACE +#define SQL_ATTR_TRACEFILE SQL_OPT_TRACEFILE +#define SQL_ATTR_TRANSLATE_LIB SQL_TRANSLATE_DLL +#define SQL_ATTR_TRANSLATE_OPTION SQL_TRANSLATE_OPTION +#define SQL_ATTR_TXN_ISOLATION SQL_TXN_ISOLATION +#endif + +#define SQL_ATTR_CONNECTION_DEAD 1209 + +#if (ODBCVER >= 0x0351) +#define SQL_ATTR_ANSI_APP 115 +#endif + +#if (ODBCVER < 0x0300) +#define SQL_CONNECT_OPT_DRVR_START 1000 +#endif + +#if (ODBCVER < 0x0300) +#define SQL_CONN_OPT_MAX SQL_PACKET_SIZE +#define SQL_CONN_OPT_MIN SQL_ACCESS_MODE +#endif + +#define SQL_MODE_READ_WRITE __MSABI_LONG(0U) +#define SQL_MODE_READ_ONLY __MSABI_LONG(1U) +#define SQL_MODE_DEFAULT SQL_MODE_READ_WRITE + +#define SQL_AUTOCOMMIT_OFF __MSABI_LONG(0U) +#define SQL_AUTOCOMMIT_ON __MSABI_LONG(1U) +#define SQL_AUTOCOMMIT_DEFAULT SQL_AUTOCOMMIT_ON + +#define SQL_LOGIN_TIMEOUT_DEFAULT __MSABI_LONG(15U) + +#define SQL_OPT_TRACE_OFF __MSABI_LONG(0U) +#define SQL_OPT_TRACE_ON __MSABI_LONG(1U) +#define SQL_OPT_TRACE_DEFAULT SQL_OPT_TRACE_OFF +#define SQL_OPT_TRACE_FILE_DEFAULT "\\SQL.LOG" + +#define SQL_CUR_USE_IF_NEEDED __MSABI_LONG(0U) +#define SQL_CUR_USE_ODBC __MSABI_LONG(1U) +#define SQL_CUR_USE_DRIVER __MSABI_LONG(2U) +#define SQL_CUR_DEFAULT SQL_CUR_USE_DRIVER + +#if (ODBCVER >= 0x0300) +#define SQL_DB_RETURN_TO_POOL __MSABI_LONG(0U) +#define SQL_DB_DISCONNECT __MSABI_LONG(1U) +#define SQL_DB_DEFAULT SQL_DB_RETURN_TO_POOL + +#define SQL_DTC_DONE __MSABI_LONG(0) +#endif + +#define SQL_CD_TRUE __MSABI_LONG(1) +#define SQL_CD_FALSE __MSABI_LONG(0) + +#if (ODBCVER >= 0x0351) +#define SQL_AA_TRUE __MSABI_LONG(1) +#define SQL_AA_FALSE __MSABI_LONG(0) +#endif + +#define SQL_QUERY_TIMEOUT 0 +#define SQL_MAX_ROWS 1 +#define SQL_NOSCAN 2 +#define SQL_MAX_LENGTH 3 +#define SQL_ASYNC_ENABLE 4 +#define SQL_BIND_TYPE 5 +#define SQL_CURSOR_TYPE 6 +#define SQL_CONCURRENCY 7 +#define SQL_KEYSET_SIZE 8 +#define SQL_ROWSET_SIZE 9 +#define SQL_SIMULATE_CURSOR 10 +#define SQL_RETRIEVE_DATA 11 +#define SQL_USE_BOOKMARKS 12 +#define SQL_GET_BOOKMARK 13 +#define SQL_ROW_NUMBER 14 + +#if (ODBCVER >= 0x0300) +#define SQL_ATTR_ASYNC_ENABLE 4 +#define SQL_ATTR_CONCURRENCY SQL_CONCURRENCY +#define SQL_ATTR_CURSOR_TYPE SQL_CURSOR_TYPE +#define SQL_ATTR_ENABLE_AUTO_IPD 15 +#define SQL_ATTR_FETCH_BOOKMARK_PTR 16 +#define SQL_ATTR_KEYSET_SIZE SQL_KEYSET_SIZE +#define SQL_ATTR_MAX_LENGTH SQL_MAX_LENGTH +#define SQL_ATTR_MAX_ROWS SQL_MAX_ROWS +#define SQL_ATTR_NOSCAN SQL_NOSCAN +#define SQL_ATTR_PARAM_BIND_OFFSET_PTR 17 +#define SQL_ATTR_PARAM_BIND_TYPE 18 +#define SQL_ATTR_PARAM_OPERATION_PTR 19 +#define SQL_ATTR_PARAM_STATUS_PTR 20 +#define SQL_ATTR_PARAMS_PROCESSED_PTR 21 +#define SQL_ATTR_RETRIEVE_DATA SQL_RETRIEVE_DATA +#define SQL_ATTR_ROW_BIND_OFFSET_PTR 23 +#define SQL_ATTR_ROW_BIND_TYPE SQL_BIND_TYPE +#define SQL_ATTR_ROW_NUMBER SQL_ROW_NUMBER +#define SQL_ATTR_ROW_OPERATION_PTR 24 +#define SQL_ATTR_ROW_STATUS_PTR 25 +#define SQL_ATTR_ROWS_FETCHED_PTR 26 +#define SQL_ATTR_ROW_ARRAY_SIZE 27 +#define SQL_ATTR_SIMULATE_CURSOR SQL_SIMULATE_CURSOR +#define SQL_ATTR_USE_BOOKMARKS SQL_USE_BOOKMARKS + +#endif + +#if (ODBCVER < 0x0300) +#define SQL_STMT_OPT_MAX SQL_ROW_NUMBER +#define SQL_STMT_OPT_MIN SQL_QUERY_TIMEOUT +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_COL_PRED_CHAR SQL_LIKE_ONLY +#define SQL_COL_PRED_BASIC SQL_ALL_EXCEPT_LIKE +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_IS_POINTER (-4) +#define SQL_IS_UINTEGER (-5) +#define SQL_IS_INTEGER (-6) +#define SQL_IS_USMALLINT (-7) +#define SQL_IS_SMALLINT (-8) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_PARAM_BIND_BY_COLUMN __MSABI_LONG(0U) +#define SQL_PARAM_BIND_TYPE_DEFAULT SQL_PARAM_BIND_BY_COLUMN +#endif + +#define SQL_QUERY_TIMEOUT_DEFAULT __MSABI_LONG(0U) + +#define SQL_MAX_ROWS_DEFAULT __MSABI_LONG(0U) + +#define SQL_NOSCAN_OFF __MSABI_LONG(0U) +#define SQL_NOSCAN_ON __MSABI_LONG(1U) +#define SQL_NOSCAN_DEFAULT SQL_NOSCAN_OFF + +#define SQL_MAX_LENGTH_DEFAULT __MSABI_LONG(0U) + +#define SQL_ASYNC_ENABLE_OFF __MSABI_LONG(0U) +#define SQL_ASYNC_ENABLE_ON __MSABI_LONG(1U) +#define SQL_ASYNC_ENABLE_DEFAULT SQL_ASYNC_ENABLE_OFF + +#define SQL_BIND_BY_COLUMN __MSABI_LONG(0U) +#define SQL_BIND_TYPE_DEFAULT SQL_BIND_BY_COLUMN + +#define SQL_CONCUR_READ_ONLY 1 +#define SQL_CONCUR_LOCK 2 +#define SQL_CONCUR_ROWVER 3 +#define SQL_CONCUR_VALUES 4 +#define SQL_CONCUR_DEFAULT SQL_CONCUR_READ_ONLY + +#define SQL_CURSOR_FORWARD_ONLY __MSABI_LONG(0U) +#define SQL_CURSOR_KEYSET_DRIVEN __MSABI_LONG(1U) +#define SQL_CURSOR_DYNAMIC __MSABI_LONG(2U) +#define SQL_CURSOR_STATIC __MSABI_LONG(3U) +#define SQL_CURSOR_TYPE_DEFAULT SQL_CURSOR_FORWARD_ONLY + +#define SQL_ROWSET_SIZE_DEFAULT __MSABI_LONG(1U) + +#define SQL_KEYSET_SIZE_DEFAULT __MSABI_LONG(0U) + +#define SQL_SC_NON_UNIQUE __MSABI_LONG(0U) +#define SQL_SC_TRY_UNIQUE __MSABI_LONG(1U) +#define SQL_SC_UNIQUE __MSABI_LONG(2U) + +#define SQL_RD_OFF __MSABI_LONG(0U) +#define SQL_RD_ON __MSABI_LONG(1U) +#define SQL_RD_DEFAULT SQL_RD_ON + +#define SQL_UB_OFF __MSABI_LONG(0U) +#define SQL_UB_ON __MSABI_LONG(1U) +#define SQL_UB_DEFAULT SQL_UB_OFF + +#if (ODBCVER >= 0x0300) +#define SQL_UB_FIXED SQL_UB_ON +#define SQL_UB_VARIABLE __MSABI_LONG(2U) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_DESC_ARRAY_SIZE 20 +#define SQL_DESC_ARRAY_STATUS_PTR 21 +#define SQL_DESC_AUTO_UNIQUE_VALUE SQL_COLUMN_AUTO_INCREMENT +#define SQL_DESC_BASE_COLUMN_NAME 22 +#define SQL_DESC_BASE_TABLE_NAME 23 +#define SQL_DESC_BIND_OFFSET_PTR 24 +#define SQL_DESC_BIND_TYPE 25 +#define SQL_DESC_CASE_SENSITIVE SQL_COLUMN_CASE_SENSITIVE +#define SQL_DESC_CATALOG_NAME SQL_COLUMN_QUALIFIER_NAME +#define SQL_DESC_CONCISE_TYPE SQL_COLUMN_TYPE +#define SQL_DESC_DATETIME_INTERVAL_PRECISION 26 +#define SQL_DESC_DISPLAY_SIZE SQL_COLUMN_DISPLAY_SIZE +#define SQL_DESC_FIXED_PREC_SCALE SQL_COLUMN_MONEY +#define SQL_DESC_LABEL SQL_COLUMN_LABEL +#define SQL_DESC_LITERAL_PREFIX 27 +#define SQL_DESC_LITERAL_SUFFIX 28 +#define SQL_DESC_LOCAL_TYPE_NAME 29 +#define SQL_DESC_MAXIMUM_SCALE 30 +#define SQL_DESC_MINIMUM_SCALE 31 +#define SQL_DESC_NUM_PREC_RADIX 32 +#define SQL_DESC_PARAMETER_TYPE 33 +#define SQL_DESC_ROWS_PROCESSED_PTR 34 +#if (ODBCVER >= 0x0350) +#define SQL_DESC_ROWVER 35 +#endif +#define SQL_DESC_SCHEMA_NAME SQL_COLUMN_OWNER_NAME +#define SQL_DESC_SEARCHABLE SQL_COLUMN_SEARCHABLE +#define SQL_DESC_TYPE_NAME SQL_COLUMN_TYPE_NAME +#define SQL_DESC_TABLE_NAME SQL_COLUMN_TABLE_NAME +#define SQL_DESC_UNSIGNED SQL_COLUMN_UNSIGNED +#define SQL_DESC_UPDATABLE SQL_COLUMN_UPDATABLE +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_DIAG_CURSOR_ROW_COUNT (-1249) +#define SQL_DIAG_ROW_NUMBER (-1248) +#define SQL_DIAG_COLUMN_NUMBER (-1247) +#endif + +#define SQL_DATE 9 +#if (ODBCVER >= 0x0300) +#define SQL_INTERVAL 10 +#endif +#define SQL_TIME 10 +#define SQL_TIMESTAMP 11 +#define SQL_LONGVARCHAR (-1) +#define SQL_BINARY (-2) +#define SQL_VARBINARY (-3) +#define SQL_LONGVARBINARY (-4) +#define SQL_BIGINT (-5) +#define SQL_TINYINT (-6) +#define SQL_BIT (-7) +#if (ODBCVER >= 0x0350) +#define SQL_GUID (-11) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_CODE_YEAR 1 +#define SQL_CODE_MONTH 2 +#define SQL_CODE_DAY 3 +#define SQL_CODE_HOUR 4 +#define SQL_CODE_MINUTE 5 +#define SQL_CODE_SECOND 6 +#define SQL_CODE_YEAR_TO_MONTH 7 +#define SQL_CODE_DAY_TO_HOUR 8 +#define SQL_CODE_DAY_TO_MINUTE 9 +#define SQL_CODE_DAY_TO_SECOND 10 +#define SQL_CODE_HOUR_TO_MINUTE 11 +#define SQL_CODE_HOUR_TO_SECOND 12 +#define SQL_CODE_MINUTE_TO_SECOND 13 + +#define SQL_INTERVAL_YEAR (100 + SQL_CODE_YEAR) +#define SQL_INTERVAL_MONTH (100 + SQL_CODE_MONTH) +#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY) +#define SQL_INTERVAL_HOUR (100 + SQL_CODE_HOUR) +#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_MINUTE) +#define SQL_INTERVAL_SECOND (100 + SQL_CODE_SECOND) +#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_YEAR_TO_MONTH) +#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_DAY_TO_HOUR) +#define SQL_INTERVAL_DAY_TO_MINUTE (100 + SQL_CODE_DAY_TO_MINUTE) +#define SQL_INTERVAL_DAY_TO_SECOND (100 + SQL_CODE_DAY_TO_SECOND) +#define SQL_INTERVAL_HOUR_TO_MINUTE (100 + SQL_CODE_HOUR_TO_MINUTE) +#define SQL_INTERVAL_HOUR_TO_SECOND (100 + SQL_CODE_HOUR_TO_SECOND) +#define SQL_INTERVAL_MINUTE_TO_SECOND (100 + SQL_CODE_MINUTE_TO_SECOND) + +#else +#define SQL_INTERVAL_YEAR (-80) +#define SQL_INTERVAL_MONTH (-81) +#define SQL_INTERVAL_YEAR_TO_MONTH (-82) +#define SQL_INTERVAL_DAY (-83) +#define SQL_INTERVAL_HOUR (-84) +#define SQL_INTERVAL_MINUTE (-85) +#define SQL_INTERVAL_SECOND (-86) +#define SQL_INTERVAL_DAY_TO_HOUR (-87) +#define SQL_INTERVAL_DAY_TO_MINUTE (-88) +#define SQL_INTERVAL_DAY_TO_SECOND (-89) +#define SQL_INTERVAL_HOUR_TO_MINUTE (-90) +#define SQL_INTERVAL_HOUR_TO_SECOND (-91) +#define SQL_INTERVAL_MINUTE_TO_SECOND (-92) +#endif + + +#if (ODBCVER <= 0x0300) +#define SQL_UNICODE (-95) +#define SQL_UNICODE_VARCHAR (-96) +#define SQL_UNICODE_LONGVARCHAR (-97) +#define SQL_UNICODE_CHAR SQL_UNICODE +#else + +#define SQL_UNICODE SQL_WCHAR +#define SQL_UNICODE_VARCHAR SQL_WVARCHAR +#define SQL_UNICODE_LONGVARCHAR SQL_WLONGVARCHAR +#define SQL_UNICODE_CHAR SQL_WCHAR +#endif + +#if (ODBCVER < 0x0300) +#define SQL_TYPE_DRIVER_START SQL_INTERVAL_YEAR +#define SQL_TYPE_DRIVER_END SQL_UNICODE_LONGVARCHAR +#endif + +#define SQL_C_CHAR SQL_CHAR +#define SQL_C_LONG SQL_INTEGER +#define SQL_C_SHORT SQL_SMALLINT +#define SQL_C_FLOAT SQL_REAL +#define SQL_C_DOUBLE SQL_DOUBLE +#if (ODBCVER >= 0x0300) +#define SQL_C_NUMERIC SQL_NUMERIC +#endif +#define SQL_C_DEFAULT 99 + +#define SQL_SIGNED_OFFSET (-20) +#define SQL_UNSIGNED_OFFSET (-22) + +#define SQL_C_DATE SQL_DATE +#define SQL_C_TIME SQL_TIME +#define SQL_C_TIMESTAMP SQL_TIMESTAMP +#if (ODBCVER >= 0x0300) +#define SQL_C_TYPE_DATE SQL_TYPE_DATE +#define SQL_C_TYPE_TIME SQL_TYPE_TIME +#define SQL_C_TYPE_TIMESTAMP SQL_TYPE_TIMESTAMP +#define SQL_C_INTERVAL_YEAR SQL_INTERVAL_YEAR +#define SQL_C_INTERVAL_MONTH SQL_INTERVAL_MONTH +#define SQL_C_INTERVAL_DAY SQL_INTERVAL_DAY +#define SQL_C_INTERVAL_HOUR SQL_INTERVAL_HOUR +#define SQL_C_INTERVAL_MINUTE SQL_INTERVAL_MINUTE +#define SQL_C_INTERVAL_SECOND SQL_INTERVAL_SECOND +#define SQL_C_INTERVAL_YEAR_TO_MONTH SQL_INTERVAL_YEAR_TO_MONTH +#define SQL_C_INTERVAL_DAY_TO_HOUR SQL_INTERVAL_DAY_TO_HOUR +#define SQL_C_INTERVAL_DAY_TO_MINUTE SQL_INTERVAL_DAY_TO_MINUTE +#define SQL_C_INTERVAL_DAY_TO_SECOND SQL_INTERVAL_DAY_TO_SECOND +#define SQL_C_INTERVAL_HOUR_TO_MINUTE SQL_INTERVAL_HOUR_TO_MINUTE +#define SQL_C_INTERVAL_HOUR_TO_SECOND SQL_INTERVAL_HOUR_TO_SECOND +#define SQL_C_INTERVAL_MINUTE_TO_SECOND SQL_INTERVAL_MINUTE_TO_SECOND +#endif +#define SQL_C_BINARY SQL_BINARY +#define SQL_C_BIT SQL_BIT +#if (ODBCVER >= 0x0300) +#define SQL_C_SBIGINT (SQL_BIGINT+SQL_SIGNED_OFFSET) +#define SQL_C_UBIGINT (SQL_BIGINT+SQL_UNSIGNED_OFFSET) +#endif +#define SQL_C_TINYINT SQL_TINYINT +#define SQL_C_SLONG (SQL_C_LONG+SQL_SIGNED_OFFSET) +#define SQL_C_SSHORT (SQL_C_SHORT+SQL_SIGNED_OFFSET) +#define SQL_C_STINYINT (SQL_TINYINT+SQL_SIGNED_OFFSET) +#define SQL_C_ULONG (SQL_C_LONG+SQL_UNSIGNED_OFFSET) +#define SQL_C_USHORT (SQL_C_SHORT+SQL_UNSIGNED_OFFSET) +#define SQL_C_UTINYINT (SQL_TINYINT+SQL_UNSIGNED_OFFSET) +#define SQL_C_BOOKMARK SQL_C_ULONG + +#if (ODBCVER >= 0x0350) +#define SQL_C_GUID SQL_GUID +#endif + +#define SQL_TYPE_NULL 0 +#if (ODBCVER < 0x0300) +#define SQL_TYPE_MIN SQL_BIT +#define SQL_TYPE_MAX SQL_VARCHAR +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_C_VARBOOKMARK SQL_C_BINARY +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_NO_ROW_NUMBER (-1) +#define SQL_NO_COLUMN_NUMBER (-1) +#define SQL_ROW_NUMBER_UNKNOWN (-2) +#define SQL_COLUMN_NUMBER_UNKNOWN (-2) +#endif + +#define SQL_DEFAULT_PARAM (-5) +#define SQL_IGNORE (-6) +#if (ODBCVER >= 0x0300) +#define SQL_COLUMN_IGNORE SQL_IGNORE +#endif +#define SQL_LEN_DATA_AT_EXEC_OFFSET (-100) +#define SQL_LEN_DATA_AT_EXEC(length) (-(length)+SQL_LEN_DATA_AT_EXEC_OFFSET) + +#define SQL_LEN_BINARY_ATTR_OFFSET (-100) +#define SQL_LEN_BINARY_ATTR(length) (-(length)+SQL_LEN_BINARY_ATTR_OFFSET) + +#define SQL_PARAM_TYPE_DEFAULT SQL_PARAM_INPUT_OUTPUT +#define SQL_SETPARAM_VALUE_MAX (__MSABI_LONG(-1)) + +#define SQL_COLUMN_COUNT 0 +#define SQL_COLUMN_NAME 1 +#define SQL_COLUMN_TYPE 2 +#define SQL_COLUMN_LENGTH 3 +#define SQL_COLUMN_PRECISION 4 +#define SQL_COLUMN_SCALE 5 +#define SQL_COLUMN_DISPLAY_SIZE 6 +#define SQL_COLUMN_NULLABLE 7 +#define SQL_COLUMN_UNSIGNED 8 +#define SQL_COLUMN_MONEY 9 +#define SQL_COLUMN_UPDATABLE 10 +#define SQL_COLUMN_AUTO_INCREMENT 11 +#define SQL_COLUMN_CASE_SENSITIVE 12 +#define SQL_COLUMN_SEARCHABLE 13 +#define SQL_COLUMN_TYPE_NAME 14 +#define SQL_COLUMN_TABLE_NAME 15 +#define SQL_COLUMN_OWNER_NAME 16 +#define SQL_COLUMN_QUALIFIER_NAME 17 +#define SQL_COLUMN_LABEL 18 +#define SQL_COLATT_OPT_MAX SQL_COLUMN_LABEL +#if (ODBCVER < 0x0300) +#define SQL_COLUMN_DRIVER_START 1000 +#endif + +#define SQL_COLATT_OPT_MIN SQL_COLUMN_COUNT + +#define SQL_ATTR_READONLY 0 +#define SQL_ATTR_WRITE 1 +#define SQL_ATTR_READWRITE_UNKNOWN 2 + +#define SQL_UNSEARCHABLE 0 +#define SQL_LIKE_ONLY 1 +#define SQL_ALL_EXCEPT_LIKE 2 +#define SQL_SEARCHABLE 3 +#define SQL_PRED_SEARCHABLE SQL_SEARCHABLE + + +#define SQL_NO_TOTAL (-4) + +#if (ODBCVER >= 0x0300) +#define SQL_API_SQLALLOCHANDLESTD 73 +#define SQL_API_SQLBULKOPERATIONS 24 +#endif +#define SQL_API_SQLBINDPARAMETER 72 +#define SQL_API_SQLBROWSECONNECT 55 +#define SQL_API_SQLCOLATTRIBUTES 6 +#define SQL_API_SQLCOLUMNPRIVILEGES 56 +#define SQL_API_SQLDESCRIBEPARAM 58 +#define SQL_API_SQLDRIVERCONNECT 41 +#define SQL_API_SQLDRIVERS 71 +#define SQL_API_SQLEXTENDEDFETCH 59 +#define SQL_API_SQLFOREIGNKEYS 60 +#define SQL_API_SQLMORERESULTS 61 +#define SQL_API_SQLNATIVESQL 62 +#define SQL_API_SQLNUMPARAMS 63 +#define SQL_API_SQLPARAMOPTIONS 64 +#define SQL_API_SQLPRIMARYKEYS 65 +#define SQL_API_SQLPROCEDURECOLUMNS 66 +#define SQL_API_SQLPROCEDURES 67 +#define SQL_API_SQLSETPOS 68 +#define SQL_API_SQLSETSCROLLOPTIONS 69 +#define SQL_API_SQLTABLEPRIVILEGES 70 + +#if (ODBCVER < 0x0300) +#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER +#define SQL_NUM_FUNCTIONS 23 +#define SQL_EXT_API_START 40 +#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST-SQL_EXT_API_START+1) +#endif + +#define SQL_API_ALL_FUNCTIONS 0 + +#define SQL_API_LOADBYORDINAL 199 + +#if (ODBCVER >= 0x0300) +#define SQL_API_ODBC3_ALL_FUNCTIONS 999 +#define SQL_API_ODBC3_ALL_FUNCTIONS_SIZE 250 + + +#define SQL_FUNC_EXISTS(pfExists, uwAPI) ((*(((UWORD*) (pfExists)) + ((uwAPI) >> 4)) & (1 << ((uwAPI) & 0x000F)) ) ? SQL_TRUE : SQL_FALSE ) + +#endif + +#define SQL_INFO_FIRST 0 +#define SQL_ACTIVE_CONNECTIONS 0 +#define SQL_ACTIVE_STATEMENTS 1 +#define SQL_DRIVER_HDBC 3 +#define SQL_DRIVER_HENV 4 +#define SQL_DRIVER_HSTMT 5 +#define SQL_DRIVER_NAME 6 +#define SQL_DRIVER_VER 7 +#define SQL_ODBC_API_CONFORMANCE 9 +#define SQL_ODBC_VER 10 +#define SQL_ROW_UPDATES 11 +#define SQL_ODBC_SAG_CLI_CONFORMANCE 12 +#define SQL_ODBC_SQL_CONFORMANCE 15 +#define SQL_PROCEDURES 21 +#define SQL_CONCAT_NULL_BEHAVIOR 22 +#define SQL_CURSOR_ROLLBACK_BEHAVIOR 24 +#define SQL_EXPRESSIONS_IN_ORDERBY 27 +#define SQL_MAX_OWNER_NAME_LEN 32 +#define SQL_MAX_PROCEDURE_NAME_LEN 33 +#define SQL_MAX_QUALIFIER_NAME_LEN 34 +#define SQL_MULT_RESULT_SETS 36 +#define SQL_MULTIPLE_ACTIVE_TXN 37 +#define SQL_OUTER_JOINS 38 +#define SQL_OWNER_TERM 39 +#define SQL_PROCEDURE_TERM 40 +#define SQL_QUALIFIER_NAME_SEPARATOR 41 +#define SQL_QUALIFIER_TERM 42 +#define SQL_SCROLL_OPTIONS 44 +#define SQL_TABLE_TERM 45 +#define SQL_CONVERT_FUNCTIONS 48 +#define SQL_NUMERIC_FUNCTIONS 49 +#define SQL_STRING_FUNCTIONS 50 +#define SQL_SYSTEM_FUNCTIONS 51 +#define SQL_TIMEDATE_FUNCTIONS 52 +#define SQL_CONVERT_BIGINT 53 +#define SQL_CONVERT_BINARY 54 +#define SQL_CONVERT_BIT 55 +#define SQL_CONVERT_CHAR 56 +#define SQL_CONVERT_DATE 57 +#define SQL_CONVERT_DECIMAL 58 +#define SQL_CONVERT_DOUBLE 59 +#define SQL_CONVERT_FLOAT 60 +#define SQL_CONVERT_INTEGER 61 +#define SQL_CONVERT_LONGVARCHAR 62 +#define SQL_CONVERT_NUMERIC 63 +#define SQL_CONVERT_REAL 64 +#define SQL_CONVERT_SMALLINT 65 +#define SQL_CONVERT_TIME 66 +#define SQL_CONVERT_TIMESTAMP 67 +#define SQL_CONVERT_TINYINT 68 +#define SQL_CONVERT_VARBINARY 69 +#define SQL_CONVERT_VARCHAR 70 +#define SQL_CONVERT_LONGVARBINARY 71 +#define SQL_ODBC_SQL_OPT_IEF 73 +#define SQL_CORRELATION_NAME 74 +#define SQL_NON_NULLABLE_COLUMNS 75 +#define SQL_DRIVER_HLIB 76 +#define SQL_DRIVER_ODBC_VER 77 +#define SQL_LOCK_TYPES 78 +#define SQL_POS_OPERATIONS 79 +#define SQL_POSITIONED_STATEMENTS 80 +#define SQL_BOOKMARK_PERSISTENCE 82 +#define SQL_STATIC_SENSITIVITY 83 +#define SQL_FILE_USAGE 84 +#define SQL_COLUMN_ALIAS 87 +#define SQL_GROUP_BY 88 +#define SQL_KEYWORDS 89 +#define SQL_OWNER_USAGE 91 +#define SQL_QUALIFIER_USAGE 92 +#define SQL_QUOTED_IDENTIFIER_CASE 93 +#define SQL_SUBQUERIES 95 +#define SQL_UNION 96 +#define SQL_MAX_ROW_SIZE_INCLUDES_LONG 103 +#define SQL_MAX_CHAR_LITERAL_LEN 108 +#define SQL_TIMEDATE_ADD_INTERVALS 109 +#define SQL_TIMEDATE_DIFF_INTERVALS 110 +#define SQL_NEED_LONG_DATA_LEN 111 +#define SQL_MAX_BINARY_LITERAL_LEN 112 +#define SQL_LIKE_ESCAPE_CLAUSE 113 +#define SQL_QUALIFIER_LOCATION 114 + +#if (ODBCVER >= 0x0201 && ODBCVER < 0x0300) +#define SQL_OJ_CAPABILITIES 65003 +#endif + +#if (ODBCVER < 0x0300) +#define SQL_INFO_LAST SQL_QUALIFIER_LOCATION +#define SQL_INFO_DRIVER_START 1000 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_ACTIVE_ENVIRONMENTS 116 +#define SQL_ALTER_DOMAIN 117 + +#define SQL_SQL_CONFORMANCE 118 +#define SQL_DATETIME_LITERALS 119 + +#define SQL_ASYNC_MODE 10021 +#define SQL_BATCH_ROW_COUNT 120 +#define SQL_BATCH_SUPPORT 121 +#define SQL_CATALOG_LOCATION SQL_QUALIFIER_LOCATION +#define SQL_CATALOG_NAME_SEPARATOR SQL_QUALIFIER_NAME_SEPARATOR +#define SQL_CATALOG_TERM SQL_QUALIFIER_TERM +#define SQL_CATALOG_USAGE SQL_QUALIFIER_USAGE +#define SQL_CONVERT_WCHAR 122 +#define SQL_CONVERT_INTERVAL_DAY_TIME 123 +#define SQL_CONVERT_INTERVAL_YEAR_MONTH 124 +#define SQL_CONVERT_WLONGVARCHAR 125 +#define SQL_CONVERT_WVARCHAR 126 +#define SQL_CREATE_ASSERTION 127 +#define SQL_CREATE_CHARACTER_SET 128 +#define SQL_CREATE_COLLATION 129 +#define SQL_CREATE_DOMAIN 130 +#define SQL_CREATE_SCHEMA 131 +#define SQL_CREATE_TABLE 132 +#define SQL_CREATE_TRANSLATION 133 +#define SQL_CREATE_VIEW 134 +#define SQL_DRIVER_HDESC 135 +#define SQL_DROP_ASSERTION 136 +#define SQL_DROP_CHARACTER_SET 137 +#define SQL_DROP_COLLATION 138 +#define SQL_DROP_DOMAIN 139 +#define SQL_DROP_SCHEMA 140 +#define SQL_DROP_TABLE 141 +#define SQL_DROP_TRANSLATION 142 +#define SQL_DROP_VIEW 143 +#define SQL_DYNAMIC_CURSOR_ATTRIBUTES1 144 +#define SQL_DYNAMIC_CURSOR_ATTRIBUTES2 145 +#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1 146 +#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2 147 +#define SQL_INDEX_KEYWORDS 148 +#define SQL_INFO_SCHEMA_VIEWS 149 +#define SQL_KEYSET_CURSOR_ATTRIBUTES1 150 +#define SQL_KEYSET_CURSOR_ATTRIBUTES2 151 +#define SQL_MAX_ASYNC_CONCURRENT_STATEMENTS 10022 +#define SQL_ODBC_INTERFACE_CONFORMANCE 152 +#define SQL_PARAM_ARRAY_ROW_COUNTS 153 +#define SQL_PARAM_ARRAY_SELECTS 154 +#define SQL_SCHEMA_TERM SQL_OWNER_TERM +#define SQL_SCHEMA_USAGE SQL_OWNER_USAGE +#define SQL_SQL92_DATETIME_FUNCTIONS 155 +#define SQL_SQL92_FOREIGN_KEY_DELETE_RULE 156 +#define SQL_SQL92_FOREIGN_KEY_UPDATE_RULE 157 +#define SQL_SQL92_GRANT 158 +#define SQL_SQL92_NUMERIC_VALUE_FUNCTIONS 159 +#define SQL_SQL92_PREDICATES 160 +#define SQL_SQL92_RELATIONAL_JOIN_OPERATORS 161 +#define SQL_SQL92_REVOKE 162 +#define SQL_SQL92_ROW_VALUE_CONSTRUCTOR 163 +#define SQL_SQL92_STRING_FUNCTIONS 164 +#define SQL_SQL92_VALUE_EXPRESSIONS 165 +#define SQL_STANDARD_CLI_CONFORMANCE 166 +#define SQL_STATIC_CURSOR_ATTRIBUTES1 167 +#define SQL_STATIC_CURSOR_ATTRIBUTES2 168 + +#define SQL_AGGREGATE_FUNCTIONS 169 +#define SQL_DDL_INDEX 170 +#define SQL_DM_VER 171 +#define SQL_INSERT_STATEMENT 172 +#define SQL_UNION_STATEMENT SQL_UNION +#endif + +#define SQL_DTC_TRANSITION_COST 1750 + +#if (ODBCVER >= 0x0300) + +#define SQL_AT_ADD_COLUMN_SINGLE __MSABI_LONG(0x00000020) +#define SQL_AT_ADD_COLUMN_DEFAULT __MSABI_LONG(0x00000040) +#define SQL_AT_ADD_COLUMN_COLLATION __MSABI_LONG(0x00000080) +#define SQL_AT_SET_COLUMN_DEFAULT __MSABI_LONG(0x00000100) +#define SQL_AT_DROP_COLUMN_DEFAULT __MSABI_LONG(0x00000200) +#define SQL_AT_DROP_COLUMN_CASCADE __MSABI_LONG(0x00000400) +#define SQL_AT_DROP_COLUMN_RESTRICT __MSABI_LONG(0x00000800) +#define SQL_AT_ADD_TABLE_CONSTRAINT __MSABI_LONG(0x00001000) +#define SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE __MSABI_LONG(0x00002000) +#define SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT __MSABI_LONG(0x00004000) +#define SQL_AT_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00008000) +#define SQL_AT_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00010000) +#define SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00020000) +#define SQL_AT_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00040000) +#define SQL_AT_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00080000) +#endif + +#define SQL_CVT_CHAR __MSABI_LONG(0x00000001) +#define SQL_CVT_NUMERIC __MSABI_LONG(0x00000002) +#define SQL_CVT_DECIMAL __MSABI_LONG(0x00000004) +#define SQL_CVT_INTEGER __MSABI_LONG(0x00000008) +#define SQL_CVT_SMALLINT __MSABI_LONG(0x00000010) +#define SQL_CVT_FLOAT __MSABI_LONG(0x00000020) +#define SQL_CVT_REAL __MSABI_LONG(0x00000040) +#define SQL_CVT_DOUBLE __MSABI_LONG(0x00000080) +#define SQL_CVT_VARCHAR __MSABI_LONG(0x00000100) +#define SQL_CVT_LONGVARCHAR __MSABI_LONG(0x00000200) +#define SQL_CVT_BINARY __MSABI_LONG(0x00000400) +#define SQL_CVT_VARBINARY __MSABI_LONG(0x00000800) +#define SQL_CVT_BIT __MSABI_LONG(0x00001000) +#define SQL_CVT_TINYINT __MSABI_LONG(0x00002000) +#define SQL_CVT_BIGINT __MSABI_LONG(0x00004000) +#define SQL_CVT_DATE __MSABI_LONG(0x00008000) +#define SQL_CVT_TIME __MSABI_LONG(0x00010000) +#define SQL_CVT_TIMESTAMP __MSABI_LONG(0x00020000) +#define SQL_CVT_LONGVARBINARY __MSABI_LONG(0x00040000) +#if (ODBCVER >= 0x0300) +#define SQL_CVT_INTERVAL_YEAR_MONTH __MSABI_LONG(0x00080000) +#define SQL_CVT_INTERVAL_DAY_TIME __MSABI_LONG(0x00100000) +#define SQL_CVT_WCHAR __MSABI_LONG(0x00200000) +#define SQL_CVT_WLONGVARCHAR __MSABI_LONG(0x00400000) +#define SQL_CVT_WVARCHAR __MSABI_LONG(0x00800000) + +#endif + + +#define SQL_FN_CVT_CONVERT __MSABI_LONG(0x00000001) +#if (ODBCVER >= 0x0300) +#define SQL_FN_CVT_CAST __MSABI_LONG(0x00000002) +#endif + +#define SQL_FN_STR_CONCAT __MSABI_LONG(0x00000001) +#define SQL_FN_STR_INSERT __MSABI_LONG(0x00000002) +#define SQL_FN_STR_LEFT __MSABI_LONG(0x00000004) +#define SQL_FN_STR_LTRIM __MSABI_LONG(0x00000008) +#define SQL_FN_STR_LENGTH __MSABI_LONG(0x00000010) +#define SQL_FN_STR_LOCATE __MSABI_LONG(0x00000020) +#define SQL_FN_STR_LCASE __MSABI_LONG(0x00000040) +#define SQL_FN_STR_REPEAT __MSABI_LONG(0x00000080) +#define SQL_FN_STR_REPLACE __MSABI_LONG(0x00000100) +#define SQL_FN_STR_RIGHT __MSABI_LONG(0x00000200) +#define SQL_FN_STR_RTRIM __MSABI_LONG(0x00000400) +#define SQL_FN_STR_SUBSTRING __MSABI_LONG(0x00000800) +#define SQL_FN_STR_UCASE __MSABI_LONG(0x00001000) +#define SQL_FN_STR_ASCII __MSABI_LONG(0x00002000) +#define SQL_FN_STR_CHAR __MSABI_LONG(0x00004000) +#define SQL_FN_STR_DIFFERENCE __MSABI_LONG(0x00008000) +#define SQL_FN_STR_LOCATE_2 __MSABI_LONG(0x00010000) +#define SQL_FN_STR_SOUNDEX __MSABI_LONG(0x00020000) +#define SQL_FN_STR_SPACE __MSABI_LONG(0x00040000) +#if (ODBCVER >= 0x0300) +#define SQL_FN_STR_BIT_LENGTH __MSABI_LONG(0x00080000) +#define SQL_FN_STR_CHAR_LENGTH __MSABI_LONG(0x00100000) +#define SQL_FN_STR_CHARACTER_LENGTH __MSABI_LONG(0x00200000) +#define SQL_FN_STR_OCTET_LENGTH __MSABI_LONG(0x00400000) +#define SQL_FN_STR_POSITION __MSABI_LONG(0x00800000) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_SSF_CONVERT __MSABI_LONG(0x00000001) +#define SQL_SSF_LOWER __MSABI_LONG(0x00000002) +#define SQL_SSF_UPPER __MSABI_LONG(0x00000004) +#define SQL_SSF_SUBSTRING __MSABI_LONG(0x00000008) +#define SQL_SSF_TRANSLATE __MSABI_LONG(0x00000010) +#define SQL_SSF_TRIM_BOTH __MSABI_LONG(0x00000020) +#define SQL_SSF_TRIM_LEADING __MSABI_LONG(0x00000040) +#define SQL_SSF_TRIM_TRAILING __MSABI_LONG(0x00000080) +#endif + +#define SQL_FN_NUM_ABS __MSABI_LONG(0x00000001) +#define SQL_FN_NUM_ACOS __MSABI_LONG(0x00000002) +#define SQL_FN_NUM_ASIN __MSABI_LONG(0x00000004) +#define SQL_FN_NUM_ATAN __MSABI_LONG(0x00000008) +#define SQL_FN_NUM_ATAN2 __MSABI_LONG(0x00000010) +#define SQL_FN_NUM_CEILING __MSABI_LONG(0x00000020) +#define SQL_FN_NUM_COS __MSABI_LONG(0x00000040) +#define SQL_FN_NUM_COT __MSABI_LONG(0x00000080) +#define SQL_FN_NUM_EXP __MSABI_LONG(0x00000100) +#define SQL_FN_NUM_FLOOR __MSABI_LONG(0x00000200) +#define SQL_FN_NUM_LOG __MSABI_LONG(0x00000400) +#define SQL_FN_NUM_MOD __MSABI_LONG(0x00000800) +#define SQL_FN_NUM_SIGN __MSABI_LONG(0x00001000) +#define SQL_FN_NUM_SIN __MSABI_LONG(0x00002000) +#define SQL_FN_NUM_SQRT __MSABI_LONG(0x00004000) +#define SQL_FN_NUM_TAN __MSABI_LONG(0x00008000) +#define SQL_FN_NUM_PI __MSABI_LONG(0x00010000) +#define SQL_FN_NUM_RAND __MSABI_LONG(0x00020000) +#define SQL_FN_NUM_DEGREES __MSABI_LONG(0x00040000) +#define SQL_FN_NUM_LOG10 __MSABI_LONG(0x00080000) +#define SQL_FN_NUM_POWER __MSABI_LONG(0x00100000) +#define SQL_FN_NUM_RADIANS __MSABI_LONG(0x00200000) +#define SQL_FN_NUM_ROUND __MSABI_LONG(0x00400000) +#define SQL_FN_NUM_TRUNCATE __MSABI_LONG(0x00800000) + +#if (ODBCVER >= 0x0300) +#define SQL_SNVF_BIT_LENGTH __MSABI_LONG(0x00000001) +#define SQL_SNVF_CHAR_LENGTH __MSABI_LONG(0x00000002) +#define SQL_SNVF_CHARACTER_LENGTH __MSABI_LONG(0x00000004) +#define SQL_SNVF_EXTRACT __MSABI_LONG(0x00000008) +#define SQL_SNVF_OCTET_LENGTH __MSABI_LONG(0x00000010) +#define SQL_SNVF_POSITION __MSABI_LONG(0x00000020) +#endif + +#define SQL_FN_TD_NOW __MSABI_LONG(0x00000001) +#define SQL_FN_TD_CURDATE __MSABI_LONG(0x00000002) +#define SQL_FN_TD_DAYOFMONTH __MSABI_LONG(0x00000004) +#define SQL_FN_TD_DAYOFWEEK __MSABI_LONG(0x00000008) +#define SQL_FN_TD_DAYOFYEAR __MSABI_LONG(0x00000010) +#define SQL_FN_TD_MONTH __MSABI_LONG(0x00000020) +#define SQL_FN_TD_QUARTER __MSABI_LONG(0x00000040) +#define SQL_FN_TD_WEEK __MSABI_LONG(0x00000080) +#define SQL_FN_TD_YEAR __MSABI_LONG(0x00000100) +#define SQL_FN_TD_CURTIME __MSABI_LONG(0x00000200) +#define SQL_FN_TD_HOUR __MSABI_LONG(0x00000400) +#define SQL_FN_TD_MINUTE __MSABI_LONG(0x00000800) +#define SQL_FN_TD_SECOND __MSABI_LONG(0x00001000) +#define SQL_FN_TD_TIMESTAMPADD __MSABI_LONG(0x00002000) +#define SQL_FN_TD_TIMESTAMPDIFF __MSABI_LONG(0x00004000) +#define SQL_FN_TD_DAYNAME __MSABI_LONG(0x00008000) +#define SQL_FN_TD_MONTHNAME __MSABI_LONG(0x00010000) +#if (ODBCVER >= 0x0300) +#define SQL_FN_TD_CURRENT_DATE __MSABI_LONG(0x00020000) +#define SQL_FN_TD_CURRENT_TIME __MSABI_LONG(0x00040000) +#define SQL_FN_TD_CURRENT_TIMESTAMP __MSABI_LONG(0x00080000) +#define SQL_FN_TD_EXTRACT __MSABI_LONG(0x00100000) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_SDF_CURRENT_DATE __MSABI_LONG(0x00000001) +#define SQL_SDF_CURRENT_TIME __MSABI_LONG(0x00000002) +#define SQL_SDF_CURRENT_TIMESTAMP __MSABI_LONG(0x00000004) +#endif + +#define SQL_FN_SYS_USERNAME __MSABI_LONG(0x00000001) +#define SQL_FN_SYS_DBNAME __MSABI_LONG(0x00000002) +#define SQL_FN_SYS_IFNULL __MSABI_LONG(0x00000004) + +#define SQL_FN_TSI_FRAC_SECOND __MSABI_LONG(0x00000001) +#define SQL_FN_TSI_SECOND __MSABI_LONG(0x00000002) +#define SQL_FN_TSI_MINUTE __MSABI_LONG(0x00000004) +#define SQL_FN_TSI_HOUR __MSABI_LONG(0x00000008) +#define SQL_FN_TSI_DAY __MSABI_LONG(0x00000010) +#define SQL_FN_TSI_WEEK __MSABI_LONG(0x00000020) +#define SQL_FN_TSI_MONTH __MSABI_LONG(0x00000040) +#define SQL_FN_TSI_QUARTER __MSABI_LONG(0x00000080) +#define SQL_FN_TSI_YEAR __MSABI_LONG(0x00000100) + +#if (ODBCVER >= 0x0300) +#define SQL_CA1_NEXT __MSABI_LONG(0x00000001) +#define SQL_CA1_ABSOLUTE __MSABI_LONG(0x00000002) +#define SQL_CA1_RELATIVE __MSABI_LONG(0x00000004) +#define SQL_CA1_BOOKMARK __MSABI_LONG(0x00000008) + +#define SQL_CA1_LOCK_NO_CHANGE __MSABI_LONG(0x00000040) +#define SQL_CA1_LOCK_EXCLUSIVE __MSABI_LONG(0x00000080) +#define SQL_CA1_LOCK_UNLOCK __MSABI_LONG(0x00000100) + +#define SQL_CA1_POS_POSITION __MSABI_LONG(0x00000200) +#define SQL_CA1_POS_UPDATE __MSABI_LONG(0x00000400) +#define SQL_CA1_POS_DELETE __MSABI_LONG(0x00000800) +#define SQL_CA1_POS_REFRESH __MSABI_LONG(0x00001000) + +#define SQL_CA1_POSITIONED_UPDATE __MSABI_LONG(0x00002000) +#define SQL_CA1_POSITIONED_DELETE __MSABI_LONG(0x00004000) +#define SQL_CA1_SELECT_FOR_UPDATE __MSABI_LONG(0x00008000) + +#define SQL_CA1_BULK_ADD __MSABI_LONG(0x00010000) +#define SQL_CA1_BULK_UPDATE_BY_BOOKMARK __MSABI_LONG(0x00020000) +#define SQL_CA1_BULK_DELETE_BY_BOOKMARK __MSABI_LONG(0x00040000) +#define SQL_CA1_BULK_FETCH_BY_BOOKMARK __MSABI_LONG(0x00080000) +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_CA2_READ_ONLY_CONCURRENCY __MSABI_LONG(0x00000001) +#define SQL_CA2_LOCK_CONCURRENCY __MSABI_LONG(0x00000002) +#define SQL_CA2_OPT_ROWVER_CONCURRENCY __MSABI_LONG(0x00000004) +#define SQL_CA2_OPT_VALUES_CONCURRENCY __MSABI_LONG(0x00000008) + +#define SQL_CA2_SENSITIVITY_ADDITIONS __MSABI_LONG(0x00000010) +#define SQL_CA2_SENSITIVITY_DELETIONS __MSABI_LONG(0x00000020) +#define SQL_CA2_SENSITIVITY_UPDATES __MSABI_LONG(0x00000040) + +#define SQL_CA2_MAX_ROWS_SELECT __MSABI_LONG(0x00000080) +#define SQL_CA2_MAX_ROWS_INSERT __MSABI_LONG(0x00000100) +#define SQL_CA2_MAX_ROWS_DELETE __MSABI_LONG(0x00000200) +#define SQL_CA2_MAX_ROWS_UPDATE __MSABI_LONG(0x00000400) +#define SQL_CA2_MAX_ROWS_CATALOG __MSABI_LONG(0x00000800) +#define SQL_CA2_MAX_ROWS_AFFECTS_ALL (SQL_CA2_MAX_ROWS_SELECT | SQL_CA2_MAX_ROWS_INSERT | SQL_CA2_MAX_ROWS_DELETE | SQL_CA2_MAX_ROWS_UPDATE | SQL_CA2_MAX_ROWS_CATALOG) + +#define SQL_CA2_CRC_EXACT __MSABI_LONG(0x00001000) +#define SQL_CA2_CRC_APPROXIMATE __MSABI_LONG(0x00002000) + +#define SQL_CA2_SIMULATE_NON_UNIQUE __MSABI_LONG(0x00004000) +#define SQL_CA2_SIMULATE_TRY_UNIQUE __MSABI_LONG(0x00008000) +#define SQL_CA2_SIMULATE_UNIQUE __MSABI_LONG(0x00010000) +#endif + +#define SQL_OAC_NONE 0x0000 +#define SQL_OAC_LEVEL1 0x0001 +#define SQL_OAC_LEVEL2 0x0002 + +#define SQL_OSCC_NOT_COMPLIANT 0x0000 +#define SQL_OSCC_COMPLIANT 0x0001 + +#define SQL_OSC_MINIMUM 0x0000 +#define SQL_OSC_CORE 0x0001 +#define SQL_OSC_EXTENDED 0x0002 + +#define SQL_CB_NULL 0x0000 +#define SQL_CB_NON_NULL 0x0001 + +#define SQL_SO_FORWARD_ONLY __MSABI_LONG(0x00000001) +#define SQL_SO_KEYSET_DRIVEN __MSABI_LONG(0x00000002) +#define SQL_SO_DYNAMIC __MSABI_LONG(0x00000004) +#define SQL_SO_MIXED __MSABI_LONG(0x00000008) +#define SQL_SO_STATIC __MSABI_LONG(0x00000010) + +#define SQL_FD_FETCH_BOOKMARK __MSABI_LONG(0x00000080) + +#define SQL_CN_NONE 0x0000 +#define SQL_CN_DIFFERENT 0x0001 +#define SQL_CN_ANY 0x0002 + +#define SQL_NNC_NULL 0x0000 +#define SQL_NNC_NON_NULL 0x0001 + +#define SQL_NC_START 0x0002 +#define SQL_NC_END 0x0004 + +#define SQL_FILE_NOT_SUPPORTED 0x0000 +#define SQL_FILE_TABLE 0x0001 +#define SQL_FILE_QUALIFIER 0x0002 +#define SQL_FILE_CATALOG SQL_FILE_QUALIFIER + +#define SQL_GD_BLOCK __MSABI_LONG(0x00000004) +#define SQL_GD_BOUND __MSABI_LONG(0x00000008) + +#define SQL_PS_POSITIONED_DELETE __MSABI_LONG(0x00000001) +#define SQL_PS_POSITIONED_UPDATE __MSABI_LONG(0x00000002) +#define SQL_PS_SELECT_FOR_UPDATE __MSABI_LONG(0x00000004) + +#define SQL_GB_NOT_SUPPORTED 0x0000 +#define SQL_GB_GROUP_BY_EQUALS_SELECT 0x0001 +#define SQL_GB_GROUP_BY_CONTAINS_SELECT 0x0002 +#define SQL_GB_NO_RELATION 0x0003 +#if (ODBCVER >= 0x0300) +#define SQL_GB_COLLATE 0x0004 + +#endif + +#define SQL_OU_DML_STATEMENTS __MSABI_LONG(0x00000001) +#define SQL_OU_PROCEDURE_INVOCATION __MSABI_LONG(0x00000002) +#define SQL_OU_TABLE_DEFINITION __MSABI_LONG(0x00000004) +#define SQL_OU_INDEX_DEFINITION __MSABI_LONG(0x00000008) +#define SQL_OU_PRIVILEGE_DEFINITION __MSABI_LONG(0x00000010) + +#if (ODBCVER >= 0x0300) +#define SQL_SU_DML_STATEMENTS SQL_OU_DML_STATEMENTS +#define SQL_SU_PROCEDURE_INVOCATION SQL_OU_PROCEDURE_INVOCATION +#define SQL_SU_TABLE_DEFINITION SQL_OU_TABLE_DEFINITION +#define SQL_SU_INDEX_DEFINITION SQL_OU_INDEX_DEFINITION +#define SQL_SU_PRIVILEGE_DEFINITION SQL_OU_PRIVILEGE_DEFINITION +#endif + +#define SQL_QU_DML_STATEMENTS __MSABI_LONG(0x00000001) +#define SQL_QU_PROCEDURE_INVOCATION __MSABI_LONG(0x00000002) +#define SQL_QU_TABLE_DEFINITION __MSABI_LONG(0x00000004) +#define SQL_QU_INDEX_DEFINITION __MSABI_LONG(0x00000008) +#define SQL_QU_PRIVILEGE_DEFINITION __MSABI_LONG(0x00000010) + +#if (ODBCVER >= 0x0300) +#define SQL_CU_DML_STATEMENTS SQL_QU_DML_STATEMENTS +#define SQL_CU_PROCEDURE_INVOCATION SQL_QU_PROCEDURE_INVOCATION +#define SQL_CU_TABLE_DEFINITION SQL_QU_TABLE_DEFINITION +#define SQL_CU_INDEX_DEFINITION SQL_QU_INDEX_DEFINITION +#define SQL_CU_PRIVILEGE_DEFINITION SQL_QU_PRIVILEGE_DEFINITION +#endif + +#define SQL_SQ_COMPARISON __MSABI_LONG(0x00000001) +#define SQL_SQ_EXISTS __MSABI_LONG(0x00000002) +#define SQL_SQ_IN __MSABI_LONG(0x00000004) +#define SQL_SQ_QUANTIFIED __MSABI_LONG(0x00000008) +#define SQL_SQ_CORRELATED_SUBQUERIES __MSABI_LONG(0x00000010) + +#define SQL_U_UNION __MSABI_LONG(0x00000001) +#define SQL_U_UNION_ALL __MSABI_LONG(0x00000002) + +#define SQL_BP_CLOSE __MSABI_LONG(0x00000001) +#define SQL_BP_DELETE __MSABI_LONG(0x00000002) +#define SQL_BP_DROP __MSABI_LONG(0x00000004) +#define SQL_BP_TRANSACTION __MSABI_LONG(0x00000008) +#define SQL_BP_UPDATE __MSABI_LONG(0x00000010) +#define SQL_BP_OTHER_HSTMT __MSABI_LONG(0x00000020) +#define SQL_BP_SCROLL __MSABI_LONG(0x00000040) + +#define SQL_SS_ADDITIONS __MSABI_LONG(0x00000001) +#define SQL_SS_DELETIONS __MSABI_LONG(0x00000002) +#define SQL_SS_UPDATES __MSABI_LONG(0x00000004) + +#define SQL_CV_CREATE_VIEW __MSABI_LONG(0x00000001) +#define SQL_CV_CHECK_OPTION __MSABI_LONG(0x00000002) +#define SQL_CV_CASCADED __MSABI_LONG(0x00000004) +#define SQL_CV_LOCAL __MSABI_LONG(0x00000008) + +#define SQL_LCK_NO_CHANGE __MSABI_LONG(0x00000001) +#define SQL_LCK_EXCLUSIVE __MSABI_LONG(0x00000002) +#define SQL_LCK_UNLOCK __MSABI_LONG(0x00000004) + +#define SQL_POS_POSITION __MSABI_LONG(0x00000001) +#define SQL_POS_REFRESH __MSABI_LONG(0x00000002) +#define SQL_POS_UPDATE __MSABI_LONG(0x00000004) +#define SQL_POS_DELETE __MSABI_LONG(0x00000008) +#define SQL_POS_ADD __MSABI_LONG(0x00000010) + +#define SQL_QL_START 0x0001 +#define SQL_QL_END 0x0002 + +#if (ODBCVER >= 0x0300) +#define SQL_AF_AVG __MSABI_LONG(0x00000001) +#define SQL_AF_COUNT __MSABI_LONG(0x00000002) +#define SQL_AF_MAX __MSABI_LONG(0x00000004) +#define SQL_AF_MIN __MSABI_LONG(0x00000008) +#define SQL_AF_SUM __MSABI_LONG(0x00000010) +#define SQL_AF_DISTINCT __MSABI_LONG(0x00000020) +#define SQL_AF_ALL __MSABI_LONG(0x00000040) + +#define SQL_SC_SQL92_ENTRY __MSABI_LONG(0x00000001) +#define SQL_SC_FIPS127_2_TRANSITIONAL __MSABI_LONG(0x00000002) +#define SQL_SC_SQL92_INTERMEDIATE __MSABI_LONG(0x00000004) +#define SQL_SC_SQL92_FULL __MSABI_LONG(0x00000008) + +#define SQL_DL_SQL92_DATE __MSABI_LONG(0x00000001) +#define SQL_DL_SQL92_TIME __MSABI_LONG(0x00000002) +#define SQL_DL_SQL92_TIMESTAMP __MSABI_LONG(0x00000004) +#define SQL_DL_SQL92_INTERVAL_YEAR __MSABI_LONG(0x00000008) +#define SQL_DL_SQL92_INTERVAL_MONTH __MSABI_LONG(0x00000010) +#define SQL_DL_SQL92_INTERVAL_DAY __MSABI_LONG(0x00000020) +#define SQL_DL_SQL92_INTERVAL_HOUR __MSABI_LONG(0x00000040) +#define SQL_DL_SQL92_INTERVAL_MINUTE __MSABI_LONG(0x00000080) +#define SQL_DL_SQL92_INTERVAL_SECOND __MSABI_LONG(0x00000100) +#define SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH __MSABI_LONG(0x00000200) +#define SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR __MSABI_LONG(0x00000400) +#define SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE __MSABI_LONG(0x00000800) +#define SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND __MSABI_LONG(0x00001000) +#define SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE __MSABI_LONG(0x00002000) +#define SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND __MSABI_LONG(0x00004000) +#define SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND __MSABI_LONG(0x00008000) + +#define SQL_CL_START SQL_QL_START +#define SQL_CL_END SQL_QL_END + +#define SQL_BRC_PROCEDURES 0x0000001 +#define SQL_BRC_EXPLICIT 0x0000002 +#define SQL_BRC_ROLLED_UP 0x0000004 + +#define SQL_BS_SELECT_EXPLICIT __MSABI_LONG(0x00000001) +#define SQL_BS_ROW_COUNT_EXPLICIT __MSABI_LONG(0x00000002) +#define SQL_BS_SELECT_PROC __MSABI_LONG(0x00000004) +#define SQL_BS_ROW_COUNT_PROC __MSABI_LONG(0x00000008) + +#define SQL_PARC_BATCH 1 +#define SQL_PARC_NO_BATCH 2 + +#define SQL_PAS_BATCH 1 +#define SQL_PAS_NO_BATCH 2 +#define SQL_PAS_NO_SELECT 3 + +#define SQL_IK_NONE __MSABI_LONG(0x00000000) +#define SQL_IK_ASC __MSABI_LONG(0x00000001) +#define SQL_IK_DESC __MSABI_LONG(0x00000002) +#define SQL_IK_ALL (SQL_IK_ASC | SQL_IK_DESC) + +#define SQL_ISV_ASSERTIONS __MSABI_LONG(0x00000001) +#define SQL_ISV_CHARACTER_SETS __MSABI_LONG(0x00000002) +#define SQL_ISV_CHECK_CONSTRAINTS __MSABI_LONG(0x00000004) +#define SQL_ISV_COLLATIONS __MSABI_LONG(0x00000008) +#define SQL_ISV_COLUMN_DOMAIN_USAGE __MSABI_LONG(0x00000010) +#define SQL_ISV_COLUMN_PRIVILEGES __MSABI_LONG(0x00000020) +#define SQL_ISV_COLUMNS __MSABI_LONG(0x00000040) +#define SQL_ISV_CONSTRAINT_COLUMN_USAGE __MSABI_LONG(0x00000080) +#define SQL_ISV_CONSTRAINT_TABLE_USAGE __MSABI_LONG(0x00000100) +#define SQL_ISV_DOMAIN_CONSTRAINTS __MSABI_LONG(0x00000200) +#define SQL_ISV_DOMAINS __MSABI_LONG(0x00000400) +#define SQL_ISV_KEY_COLUMN_USAGE __MSABI_LONG(0x00000800) +#define SQL_ISV_REFERENTIAL_CONSTRAINTS __MSABI_LONG(0x00001000) +#define SQL_ISV_SCHEMATA __MSABI_LONG(0x00002000) +#define SQL_ISV_SQL_LANGUAGES __MSABI_LONG(0x00004000) +#define SQL_ISV_TABLE_CONSTRAINTS __MSABI_LONG(0x00008000) +#define SQL_ISV_TABLE_PRIVILEGES __MSABI_LONG(0x00010000) +#define SQL_ISV_TABLES __MSABI_LONG(0x00020000) +#define SQL_ISV_TRANSLATIONS __MSABI_LONG(0x00040000) +#define SQL_ISV_USAGE_PRIVILEGES __MSABI_LONG(0x00080000) +#define SQL_ISV_VIEW_COLUMN_USAGE __MSABI_LONG(0x00100000) +#define SQL_ISV_VIEW_TABLE_USAGE __MSABI_LONG(0x00200000) +#define SQL_ISV_VIEWS __MSABI_LONG(0x00400000) + +#define SQL_AM_NONE 0 +#define SQL_AM_CONNECTION 1 +#define SQL_AM_STATEMENT 2 + +#define SQL_AD_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00000001) +#define SQL_AD_ADD_DOMAIN_CONSTRAINT __MSABI_LONG(0x00000002) +#define SQL_AD_DROP_DOMAIN_CONSTRAINT __MSABI_LONG(0x00000004) +#define SQL_AD_ADD_DOMAIN_DEFAULT __MSABI_LONG(0x00000008) +#define SQL_AD_DROP_DOMAIN_DEFAULT __MSABI_LONG(0x00000010) +#define SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000020) +#define SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000040) +#define SQL_AD_ADD_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000080) +#define SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000100) + +#define SQL_CS_CREATE_SCHEMA __MSABI_LONG(0x00000001) +#define SQL_CS_AUTHORIZATION __MSABI_LONG(0x00000002) +#define SQL_CS_DEFAULT_CHARACTER_SET __MSABI_LONG(0x00000004) + +#define SQL_CTR_CREATE_TRANSLATION __MSABI_LONG(0x00000001) + +#define SQL_CA_CREATE_ASSERTION __MSABI_LONG(0x00000001) +#define SQL_CA_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000010) +#define SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000020) +#define SQL_CA_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000040) +#define SQL_CA_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000080) + +#define SQL_CCS_CREATE_CHARACTER_SET __MSABI_LONG(0x00000001) +#define SQL_CCS_COLLATE_CLAUSE __MSABI_LONG(0x00000002) +#define SQL_CCS_LIMITED_COLLATION __MSABI_LONG(0x00000004) + +#define SQL_CCOL_CREATE_COLLATION __MSABI_LONG(0x00000001) + +#define SQL_CDO_CREATE_DOMAIN __MSABI_LONG(0x00000001) +#define SQL_CDO_DEFAULT __MSABI_LONG(0x00000002) +#define SQL_CDO_CONSTRAINT __MSABI_LONG(0x00000004) +#define SQL_CDO_COLLATION __MSABI_LONG(0x00000008) +#define SQL_CDO_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00000010) +#define SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000020) +#define SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000040) +#define SQL_CDO_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000080) +#define SQL_CDO_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000100) + +#define SQL_CT_CREATE_TABLE __MSABI_LONG(0x00000001) +#define SQL_CT_COMMIT_PRESERVE __MSABI_LONG(0x00000002) +#define SQL_CT_COMMIT_DELETE __MSABI_LONG(0x00000004) +#define SQL_CT_GLOBAL_TEMPORARY __MSABI_LONG(0x00000008) +#define SQL_CT_LOCAL_TEMPORARY __MSABI_LONG(0x00000010) +#define SQL_CT_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000020) +#define SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000040) +#define SQL_CT_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000080) +#define SQL_CT_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000100) +#define SQL_CT_COLUMN_CONSTRAINT __MSABI_LONG(0x00000200) +#define SQL_CT_COLUMN_DEFAULT __MSABI_LONG(0x00000400) +#define SQL_CT_COLUMN_COLLATION __MSABI_LONG(0x00000800) +#define SQL_CT_TABLE_CONSTRAINT __MSABI_LONG(0x00001000) +#define SQL_CT_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00002000) + +#define SQL_DI_CREATE_INDEX __MSABI_LONG(0x00000001) +#define SQL_DI_DROP_INDEX __MSABI_LONG(0x00000002) + +#define SQL_DC_DROP_COLLATION __MSABI_LONG(0x00000001) + +#define SQL_DD_DROP_DOMAIN __MSABI_LONG(0x00000001) +#define SQL_DD_RESTRICT __MSABI_LONG(0x00000002) +#define SQL_DD_CASCADE __MSABI_LONG(0x00000004) + +#define SQL_DS_DROP_SCHEMA __MSABI_LONG(0x00000001) +#define SQL_DS_RESTRICT __MSABI_LONG(0x00000002) +#define SQL_DS_CASCADE __MSABI_LONG(0x00000004) + +#define SQL_DCS_DROP_CHARACTER_SET __MSABI_LONG(0x00000001) + +#define SQL_DA_DROP_ASSERTION __MSABI_LONG(0x00000001) + +#define SQL_DT_DROP_TABLE __MSABI_LONG(0x00000001) +#define SQL_DT_RESTRICT __MSABI_LONG(0x00000002) +#define SQL_DT_CASCADE __MSABI_LONG(0x00000004) + +#define SQL_DTR_DROP_TRANSLATION __MSABI_LONG(0x00000001) + +#define SQL_DV_DROP_VIEW __MSABI_LONG(0x00000001) +#define SQL_DV_RESTRICT __MSABI_LONG(0x00000002) +#define SQL_DV_CASCADE __MSABI_LONG(0x00000004) + +#define SQL_IS_INSERT_LITERALS __MSABI_LONG(0x00000001) +#define SQL_IS_INSERT_SEARCHED __MSABI_LONG(0x00000002) +#define SQL_IS_SELECT_INTO __MSABI_LONG(0x00000004) + +#define SQL_OIC_CORE __MSABI_LONG(1U) +#define SQL_OIC_LEVEL1 __MSABI_LONG(2U) +#define SQL_OIC_LEVEL2 __MSABI_LONG(3U) + +#define SQL_SFKD_CASCADE __MSABI_LONG(0x00000001) +#define SQL_SFKD_NO_ACTION __MSABI_LONG(0x00000002) +#define SQL_SFKD_SET_DEFAULT __MSABI_LONG(0x00000004) +#define SQL_SFKD_SET_NULL __MSABI_LONG(0x00000008) + +#define SQL_SFKU_CASCADE __MSABI_LONG(0x00000001) +#define SQL_SFKU_NO_ACTION __MSABI_LONG(0x00000002) +#define SQL_SFKU_SET_DEFAULT __MSABI_LONG(0x00000004) +#define SQL_SFKU_SET_NULL __MSABI_LONG(0x00000008) + +#define SQL_SG_USAGE_ON_DOMAIN __MSABI_LONG(0x00000001) +#define SQL_SG_USAGE_ON_CHARACTER_SET __MSABI_LONG(0x00000002) +#define SQL_SG_USAGE_ON_COLLATION __MSABI_LONG(0x00000004) +#define SQL_SG_USAGE_ON_TRANSLATION __MSABI_LONG(0x00000008) +#define SQL_SG_WITH_GRANT_OPTION __MSABI_LONG(0x00000010) +#define SQL_SG_DELETE_TABLE __MSABI_LONG(0x00000020) +#define SQL_SG_INSERT_TABLE __MSABI_LONG(0x00000040) +#define SQL_SG_INSERT_COLUMN __MSABI_LONG(0x00000080) +#define SQL_SG_REFERENCES_TABLE __MSABI_LONG(0x00000100) +#define SQL_SG_REFERENCES_COLUMN __MSABI_LONG(0x00000200) +#define SQL_SG_SELECT_TABLE __MSABI_LONG(0x00000400) +#define SQL_SG_UPDATE_TABLE __MSABI_LONG(0x00000800) +#define SQL_SG_UPDATE_COLUMN __MSABI_LONG(0x00001000) + +#define SQL_SP_EXISTS __MSABI_LONG(0x00000001) +#define SQL_SP_ISNOTNULL __MSABI_LONG(0x00000002) +#define SQL_SP_ISNULL __MSABI_LONG(0x00000004) +#define SQL_SP_MATCH_FULL __MSABI_LONG(0x00000008) +#define SQL_SP_MATCH_PARTIAL __MSABI_LONG(0x00000010) +#define SQL_SP_MATCH_UNIQUE_FULL __MSABI_LONG(0x00000020) +#define SQL_SP_MATCH_UNIQUE_PARTIAL __MSABI_LONG(0x00000040) +#define SQL_SP_OVERLAPS __MSABI_LONG(0x00000080) +#define SQL_SP_UNIQUE __MSABI_LONG(0x00000100) +#define SQL_SP_LIKE __MSABI_LONG(0x00000200) +#define SQL_SP_IN __MSABI_LONG(0x00000400) +#define SQL_SP_BETWEEN __MSABI_LONG(0x00000800) +#define SQL_SP_COMPARISON __MSABI_LONG(0x00001000) +#define SQL_SP_QUANTIFIED_COMPARISON __MSABI_LONG(0x00002000) + +#define SQL_SRJO_CORRESPONDING_CLAUSE __MSABI_LONG(0x00000001) +#define SQL_SRJO_CROSS_JOIN __MSABI_LONG(0x00000002) +#define SQL_SRJO_EXCEPT_JOIN __MSABI_LONG(0x00000004) +#define SQL_SRJO_FULL_OUTER_JOIN __MSABI_LONG(0x00000008) +#define SQL_SRJO_INNER_JOIN __MSABI_LONG(0x00000010) +#define SQL_SRJO_INTERSECT_JOIN __MSABI_LONG(0x00000020) +#define SQL_SRJO_LEFT_OUTER_JOIN __MSABI_LONG(0x00000040) +#define SQL_SRJO_NATURAL_JOIN __MSABI_LONG(0x00000080) +#define SQL_SRJO_RIGHT_OUTER_JOIN __MSABI_LONG(0x00000100) +#define SQL_SRJO_UNION_JOIN __MSABI_LONG(0x00000200) + +#define SQL_SR_USAGE_ON_DOMAIN __MSABI_LONG(0x00000001) +#define SQL_SR_USAGE_ON_CHARACTER_SET __MSABI_LONG(0x00000002) +#define SQL_SR_USAGE_ON_COLLATION __MSABI_LONG(0x00000004) +#define SQL_SR_USAGE_ON_TRANSLATION __MSABI_LONG(0x00000008) +#define SQL_SR_GRANT_OPTION_FOR __MSABI_LONG(0x00000010) +#define SQL_SR_CASCADE __MSABI_LONG(0x00000020) +#define SQL_SR_RESTRICT __MSABI_LONG(0x00000040) +#define SQL_SR_DELETE_TABLE __MSABI_LONG(0x00000080) +#define SQL_SR_INSERT_TABLE __MSABI_LONG(0x00000100) +#define SQL_SR_INSERT_COLUMN __MSABI_LONG(0x00000200) +#define SQL_SR_REFERENCES_TABLE __MSABI_LONG(0x00000400) +#define SQL_SR_REFERENCES_COLUMN __MSABI_LONG(0x00000800) +#define SQL_SR_SELECT_TABLE __MSABI_LONG(0x00001000) +#define SQL_SR_UPDATE_TABLE __MSABI_LONG(0x00002000) +#define SQL_SR_UPDATE_COLUMN __MSABI_LONG(0x00004000) + +#define SQL_SRVC_VALUE_EXPRESSION __MSABI_LONG(0x00000001) +#define SQL_SRVC_NULL __MSABI_LONG(0x00000002) +#define SQL_SRVC_DEFAULT __MSABI_LONG(0x00000004) +#define SQL_SRVC_ROW_SUBQUERY __MSABI_LONG(0x00000008) + +#define SQL_SVE_CASE __MSABI_LONG(0x00000001) +#define SQL_SVE_CAST __MSABI_LONG(0x00000002) +#define SQL_SVE_COALESCE __MSABI_LONG(0x00000004) +#define SQL_SVE_NULLIF __MSABI_LONG(0x00000008) + +#define SQL_SCC_XOPEN_CLI_VERSION1 __MSABI_LONG(0x00000001) +#define SQL_SCC_ISO92_CLI __MSABI_LONG(0x00000002) + +#define SQL_US_UNION SQL_U_UNION +#define SQL_US_UNION_ALL SQL_U_UNION_ALL + +#endif + +#define SQL_DTC_ENLIST_EXPENSIVE __MSABI_LONG(0x00000001) +#define SQL_DTC_UNENLIST_EXPENSIVE __MSABI_LONG(0x00000002) + +#if (ODBCVER >= 0x0300) +#define SQL_FETCH_FIRST_USER 31 +#define SQL_FETCH_FIRST_SYSTEM 32 +#endif + +#define SQL_ENTIRE_ROWSET 0 + +#define SQL_POSITION 0 +#define SQL_REFRESH 1 +#define SQL_UPDATE 2 +#define SQL_DELETE 3 + +#define SQL_ADD 4 +#define SQL_SETPOS_MAX_OPTION_VALUE SQL_ADD +#if (ODBCVER >= 0x0300) +#define SQL_UPDATE_BY_BOOKMARK 5 +#define SQL_DELETE_BY_BOOKMARK 6 +#define SQL_FETCH_BY_BOOKMARK 7 + +#endif + +#define SQL_LOCK_NO_CHANGE 0 +#define SQL_LOCK_EXCLUSIVE 1 +#define SQL_LOCK_UNLOCK 2 + +#define SQL_SETPOS_MAX_LOCK_VALUE SQL_LOCK_UNLOCK + +#define SQL_POSITION_TO(hstmt,irow) SQLSetPos(hstmt,irow,SQL_POSITION,SQL_LOCK_NO_CHANGE) +#define SQL_LOCK_RECORD(hstmt,irow,fLock) SQLSetPos(hstmt,irow,SQL_POSITION,fLock) +#define SQL_REFRESH_RECORD(hstmt,irow,fLock) SQLSetPos(hstmt,irow,SQL_REFRESH,fLock) +#define SQL_UPDATE_RECORD(hstmt,irow) SQLSetPos(hstmt,irow,SQL_UPDATE,SQL_LOCK_NO_CHANGE) +#define SQL_DELETE_RECORD(hstmt,irow) SQLSetPos(hstmt,irow,SQL_DELETE,SQL_LOCK_NO_CHANGE) +#define SQL_ADD_RECORD(hstmt,irow) SQLSetPos(hstmt,irow,SQL_ADD,SQL_LOCK_NO_CHANGE) + +#define SQL_BEST_ROWID 1 +#define SQL_ROWVER 2 + +#define SQL_PC_NOT_PSEUDO 1 + +#define SQL_QUICK 0 +#define SQL_ENSURE 1 + +#define SQL_TABLE_STAT 0 + +#if (ODBCVER >= 0x0300) +#define SQL_ALL_CATALOGS "%" +#define SQL_ALL_SCHEMAS "%" +#define SQL_ALL_TABLE_TYPES "%" +#endif /* ODBCVER >= 0x0300 */ + +#define SQL_DRIVER_NOPROMPT 0 +#define SQL_DRIVER_COMPLETE 1 +#define SQL_DRIVER_PROMPT 2 +#define SQL_DRIVER_COMPLETE_REQUIRED 3 + +SQLRETURN WINAPI SQLDriverConnect( + SQLHDBC hdbc, + SQLHWND hwnd, + SQLCHAR *szConnStrIn, + SQLSMALLINT cbConnStrIn, + SQLCHAR *szConnStrOut, + SQLSMALLINT cbConnStrOutMax, + SQLSMALLINT *pcbConnStrOut, + SQLUSMALLINT fDriverCompletion); + +#define SQL_FETCH_BOOKMARK 8 + +#define SQL_ROW_SUCCESS 0 +#define SQL_ROW_DELETED 1 +#define SQL_ROW_UPDATED 2 +#define SQL_ROW_NOROW 3 +#define SQL_ROW_ADDED 4 +#define SQL_ROW_ERROR 5 +#if (ODBCVER >= 0x0300) +#define SQL_ROW_SUCCESS_WITH_INFO 6 +#define SQL_ROW_PROCEED 0 +#define SQL_ROW_IGNORE 1 +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_PARAM_SUCCESS 0 +#define SQL_PARAM_SUCCESS_WITH_INFO 6 +#define SQL_PARAM_ERROR 5 +#define SQL_PARAM_UNUSED 7 +#define SQL_PARAM_DIAG_UNAVAILABLE 1 + +#define SQL_PARAM_PROCEED 0 +#define SQL_PARAM_IGNORE 1 +#endif + +#define SQL_CASCADE 0 +#define SQL_RESTRICT 1 +#define SQL_SET_NULL 2 +#if (ODBCVER >= 0x0250) +#define SQL_NO_ACTION 3 +#define SQL_SET_DEFAULT 4 +#endif + +#if (ODBCVER >= 0x0300) + +#define SQL_INITIALLY_DEFERRED 5 +#define SQL_INITIALLY_IMMEDIATE 6 +#define SQL_NOT_DEFERRABLE 7 + +#endif + +#define SQL_PARAM_TYPE_UNKNOWN 0 +#define SQL_PARAM_INPUT 1 +#define SQL_PARAM_INPUT_OUTPUT 2 +#define SQL_RESULT_COL 3 +#define SQL_PARAM_OUTPUT 4 +#define SQL_RETURN_VALUE 5 + +#define SQL_PT_UNKNOWN 0 +#define SQL_PT_PROCEDURE 1 +#define SQL_PT_FUNCTION 2 + +#define SQL_ODBC_KEYWORDS "ABSOLUTE,ACTION,ADA,ADD,ALL,ALLOCATE,ALTER,AND,ANY,ARE,AS," + +SQLRETURN WINAPI SQLBrowseConnect( + SQLHDBC hdbc, + SQLCHAR *szConnStrIn, + SQLSMALLINT cbConnStrIn, + SQLCHAR *szConnStrOut, + SQLSMALLINT cbConnStrOutMax, + SQLSMALLINT *pcbConnStrOut); + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLBulkOperations( + SQLHSTMT StatementHandle, + SQLSMALLINT Operation); +#endif + +SQLRETURN WINAPI SQLColAttributes( + SQLHSTMT hstmt, + SQLUSMALLINT icol, + SQLUSMALLINT fDescType, + SQLPOINTER rgbDesc, + SQLSMALLINT cbDescMax, + SQLSMALLINT *pcbDesc, + SQLLEN *pfDesc); + +SQLRETURN WINAPI SQLColumnPrivileges( + SQLHSTMT hstmt, + SQLCHAR *szCatalogName, + SQLSMALLINT cbCatalogName, + SQLCHAR *szSchemaName, + SQLSMALLINT cbSchemaName, + SQLCHAR *szTableName, + SQLSMALLINT cbTableName, + SQLCHAR *szColumnName, + SQLSMALLINT cbColumnName); + +SQLRETURN WINAPI SQLDescribeParam( + SQLHSTMT hstmt, + SQLUSMALLINT ipar, + SQLSMALLINT *pfSqlType, + SQLULEN *pcbParamDef, + SQLSMALLINT *pibScale, + SQLSMALLINT *pfNullable); + +SQLRETURN WINAPI SQLExtendedFetch( + SQLHSTMT hstmt, + SQLUSMALLINT fFetchType, + SQLLEN irow, + SQLULEN *pcrow, + SQLUSMALLINT *rgfRowStatus); + +SQLRETURN WINAPI SQLForeignKeys( + SQLHSTMT hstmt, + SQLCHAR *szPkCatalogName, + SQLSMALLINT cbPkCatalogName, + SQLCHAR *szPkSchemaName, + SQLSMALLINT cbPkSchemaName, + SQLCHAR *szPkTableName, + SQLSMALLINT cbPkTableName, + SQLCHAR *szFkCatalogName, + SQLSMALLINT cbFkCatalogName, + SQLCHAR *szFkSchemaName, + SQLSMALLINT cbFkSchemaName, + SQLCHAR *szFkTableName, + SQLSMALLINT cbFkTableName); + +SQLRETURN WINAPI SQLMoreResults( + SQLHSTMT hstmt); + +SQLRETURN WINAPI SQLNativeSql( + SQLHDBC hdbc, + SQLCHAR *szSqlStrIn, + SQLINTEGER cbSqlStrIn, + SQLCHAR *szSqlStr, + SQLINTEGER cbSqlStrMax, + SQLINTEGER *pcbSqlStr); + +SQLRETURN WINAPI SQLNumParams( + SQLHSTMT hstmt, + SQLSMALLINT *pcpar); + +SQLRETURN WINAPI SQLParamOptions( + SQLHSTMT hstmt, + SQLULEN crow, + SQLULEN *pirow); + +SQLRETURN WINAPI SQLPrimaryKeys( + SQLHSTMT hstmt, + SQLCHAR *szCatalogName, + SQLSMALLINT cbCatalogName, + SQLCHAR *szSchemaName, + SQLSMALLINT cbSchemaName, + SQLCHAR *szTableName, + SQLSMALLINT cbTableName); + +SQLRETURN WINAPI SQLProcedureColumns( + SQLHSTMT hstmt, + SQLCHAR *szCatalogName, + SQLSMALLINT cbCatalogName, + SQLCHAR *szSchemaName, + SQLSMALLINT cbSchemaName, + SQLCHAR *szProcName, + SQLSMALLINT cbProcName, + SQLCHAR *szColumnName, + SQLSMALLINT cbColumnName); + +SQLRETURN WINAPI SQLProcedures( + SQLHSTMT hstmt, + SQLCHAR *szCatalogName, + SQLSMALLINT cbCatalogName, + SQLCHAR *szSchemaName, + SQLSMALLINT cbSchemaName, + SQLCHAR *szProcName, + SQLSMALLINT cbProcName); + +SQLRETURN WINAPI SQLSetPos( + SQLHSTMT hstmt, + SQLSETPOSIROW irow, + SQLUSMALLINT fOption, + SQLUSMALLINT fLock); + +SQLRETURN WINAPI SQLTablePrivileges( + SQLHSTMT hstmt, + SQLCHAR *szCatalogName, + SQLSMALLINT cbCatalogName, + SQLCHAR *szSchemaName, + SQLSMALLINT cbSchemaName, + SQLCHAR *szTableName, + SQLSMALLINT cbTableName); + +SQLRETURN WINAPI SQLDrivers( + SQLHENV henv, + SQLUSMALLINT fDirection, + SQLCHAR *szDriverDesc, + SQLSMALLINT cbDriverDescMax, + SQLSMALLINT *pcbDriverDesc, + SQLCHAR *szDriverAttributes, + SQLSMALLINT cbDrvrAttrMax, + SQLSMALLINT *pcbDrvrAttr); + +SQLRETURN WINAPI SQLBindParameter( + SQLHSTMT hstmt, + SQLUSMALLINT ipar, + SQLSMALLINT fParamType, + SQLSMALLINT fCType, + SQLSMALLINT fSqlType, + SQLULEN cbColDef, + SQLSMALLINT ibScale, + SQLPOINTER rgbValue, + SQLLEN cbValueMax, + SQLLEN *pcbValue); + +#ifdef ODBC_STD +#define SQLAllocHandle SQLAllocHandleStd +#define SQLAllocEnv(phenv) SQLAllocHandleStd(SQL_HANDLE_ENV, SQL_NULL_HANDLE, phenv) + +#define SQL_YEAR SQL_CODE_YEAR +#define SQL_MONTH SQL_CODE_MONTH +#define SQL_DAY SQL_CODE_DAY +#define SQL_HOUR SQL_CODE_HOUR +#define SQL_MINUTE SQL_CODE_MINUTE +#define SQL_SECOND SQL_CODE_SECOND +#define SQL_YEAR_TO_MONTH SQL_CODE_YEAR_TO_MONTH +#define SQL_DAY_TO_HOUR SQL_CODE_DAY_TO_HOUR +#define SQL_DAY_TO_MINUTE SQL_CODE_DAY_TO_MINUTE +#define SQL_DAY_TO_SECOND SQL_CODE_DAY_TO_SECOND +#define SQL_HOUR_TO_MINUTE SQL_CODE_HOUR_TO_MINUTE +#define SQL_HOUR_TO_SECOND SQL_CODE_HOUR_TO_SECOND +#define SQL_MINUTE_TO_SECOND SQL_CODE_MINUTE_TO_SECOND +#endif + +#if (ODBCVER >= 0x0300) +SQLRETURN WINAPI SQLAllocHandleStd( + SQLSMALLINT fHandleType, + SQLHANDLE hInput, + SQLHANDLE *phOutput); +#endif + +#define SQL_DATABASE_NAME 16 +#define SQL_FD_FETCH_PREV SQL_FD_FETCH_PRIOR +#define SQL_FETCH_PREV SQL_FETCH_PRIOR +#define SQL_CONCUR_TIMESTAMP SQL_CONCUR_ROWVER +#define SQL_SCCO_OPT_TIMESTAMP SQL_SCCO_OPT_ROWVER +#define SQL_CC_DELETE SQL_CB_DELETE +#define SQL_CR_DELETE SQL_CB_DELETE +#define SQL_CC_CLOSE SQL_CB_CLOSE +#define SQL_CR_CLOSE SQL_CB_CLOSE +#define SQL_CC_PRESERVE SQL_CB_PRESERVE +#define SQL_CR_PRESERVE SQL_CB_PRESERVE +#define SQL_SCROLL_FORWARD_ONLY __MSABI_LONG(0) +#define SQL_SCROLL_KEYSET_DRIVEN (__MSABI_LONG(-1)) +#define SQL_SCROLL_DYNAMIC (__MSABI_LONG(-2)) +#define SQL_SCROLL_STATIC (__MSABI_LONG(-3)) + +SQLRETURN WINAPI SQLSetScrollOptions( + SQLHSTMT hstmt, + SQLUSMALLINT fConcurrency, + SQLLEN crowKeyset, + SQLUSMALLINT crowRowset); + +#define TRACE_VERSION 1000 + +RETCODE TraceOpenLogFile(LPWSTR,LPWSTR,DWORD); +RETCODE TraceCloseLogFile(void); +VOID TraceReturn(RETCODE,RETCODE); +DWORD TraceVersion(void); + +/*#define TRACE_ON __MSABI_LONG(0x00000001)*/ +#define TRACE_VS_EVENT_ON __MSABI_LONG(0x00000002) + +RETCODE TraceVSControl(DWORD); + +#define ODBC_VS_FLAG_UNICODE_ARG __MSABI_LONG(0x00000001) +#define ODBC_VS_FLAG_UNICODE_COR __MSABI_LONG(0x00000002) +#define ODBC_VS_FLAG_RETCODE __MSABI_LONG(0x00000004) +#define ODBC_VS_FLAG_STOP __MSABI_LONG(0x00000008) + +typedef struct tagODBC_VS_ARGS { + const GUID *pguidEvent; + DWORD dwFlags; + union { + WCHAR *wszArg; + CHAR *szArg; + } DUMMYUNIONNAME1; + union { + WCHAR *wszCorrelation; + CHAR *szCorrelation; + } DUMMYUNIONNAME2; + RETCODE RetCode; +} ODBC_VS_ARGS, *PODBC_VS_ARGS; + +VOID FireVSDebugEvent(PODBC_VS_ARGS); + + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqltypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqltypes.h new file mode 100644 index 0000000..4f3f8fe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqltypes.h @@ -0,0 +1,249 @@ +/* + * Copyright (C) 1999 Xiang Li + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __SQLTYPES_H +#define __SQLTYPES_H + +#ifndef ODBCVER +#define ODBCVER 0x0351 +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +typedef unsigned char SQLCHAR; +#ifdef WINE_UNICODE_NATIVE +typedef wchar_t SQLWCHAR; +#else +typedef unsigned short SQLWCHAR; +#endif +#ifndef UNICODE +typedef SQLCHAR SQLTCHAR; +#else +typedef SQLWCHAR SQLTCHAR; +#endif + +#if (ODBCVER >= 0x0300) +typedef unsigned char SQLDATE; +typedef unsigned char SQLDECIMAL; +typedef double SQLDOUBLE; +typedef double SQLFLOAT; +#endif + +typedef int SQLINTEGER; + +#if (ODBCVER >= 0x0300) +typedef unsigned char SQLNUMERIC; +#endif + +typedef void * SQLPOINTER; + +#if (ODBCVER >= 0x0300) +typedef float SQLREAL; +#endif + +typedef signed short int SQLSMALLINT; +typedef unsigned short SQLUSMALLINT; + +#if (ODBCVER >= 0x0300) +typedef unsigned char SQLTIME; +typedef unsigned char SQLTIMESTAMP; +typedef unsigned char SQLVARCHAR; +#endif + +typedef SQLSMALLINT SQLRETURN; + +#if (ODBCVER >= 0x0300) +typedef void *SQLHANDLE; +typedef SQLHANDLE SQLHENV; +typedef SQLHANDLE SQLHDBC; +typedef SQLHANDLE SQLHSTMT; +typedef SQLHANDLE SQLHDESC; +#else +typedef void *SQLHENV; +typedef void *SQLHDBC; +typedef void *SQLHSTMT; +#endif + +typedef signed char SCHAR; +typedef SCHAR SQLSCHAR; +typedef int SDWORD; +typedef signed short int SWORD; +typedef unsigned int UDWORD; +typedef unsigned short int UWORD; +typedef UDWORD SQLUINTEGER; +typedef signed long SLONG; +typedef signed short SSHORT; +typedef double SDOUBLE; +typedef double LDOUBLE; +typedef float SFLOAT; +typedef void* PTR; +typedef signed short RETCODE; +typedef void* SQLHWND; + +#ifdef _WIN64 +typedef INT64 SQLLEN; +typedef UINT64 SQLULEN; +typedef UINT64 SQLSETPOSIROW; +#else +#define SQLLEN SQLINTEGER +#define SQLULEN SQLUINTEGER +#define SQLSETPOSIROW SQLUSMALLINT +#endif + +typedef SQLHANDLE HENV; +typedef SQLHANDLE HDBC; +typedef SQLHANDLE HSTMT; + +#ifndef __SQLDATE +#define __SQLDATE +typedef struct tagDATE_STRUCT +{ + SQLSMALLINT year; + SQLUSMALLINT month; + SQLUSMALLINT day; +} DATE_STRUCT; + +#if (ODBCVER >= 0x0300) +typedef DATE_STRUCT SQL_DATE_STRUCT; +#endif + +typedef struct tagTIME_STRUCT +{ + SQLUSMALLINT hour; + SQLUSMALLINT minute; + SQLUSMALLINT second; +} TIME_STRUCT; + +#if (ODBCVER >= 0x0300) +typedef TIME_STRUCT SQL_TIME_STRUCT; +#endif + +typedef struct tagTIMESTAMP_STRUCT +{ + SQLSMALLINT year; + SQLUSMALLINT month; + SQLUSMALLINT day; + SQLUSMALLINT hour; + SQLUSMALLINT minute; + SQLUSMALLINT second; + SQLUINTEGER fraction; +} TIMESTAMP_STRUCT; + +#if (ODBCVER >= 0x0300) +typedef TIMESTAMP_STRUCT SQL_TIMESTAMP_STRUCT; +#endif + + +#if (ODBCVER >= 0x0300) +typedef enum +{ + SQL_IS_YEAR = 1, + SQL_IS_MONTH = 2, + SQL_IS_DAY = 3, + SQL_IS_HOUR = 4, + SQL_IS_MINUTE = 5, + SQL_IS_SECOND = 6, + SQL_IS_YEAR_TO_MONTH = 7, + SQL_IS_DAY_TO_HOUR = 8, + SQL_IS_DAY_TO_MINUTE = 9, + SQL_IS_DAY_TO_SECOND = 10, + SQL_IS_HOUR_TO_MINUTE = 11, + SQL_IS_HOUR_TO_SECOND = 12, + SQL_IS_MINUTE_TO_SECOND = 13 +} SQLINTERVAL; + +#endif + +#if (ODBCVER >= 0x0300) +typedef struct tagSQL_YEAR_MONTH +{ + SQLUINTEGER year; + SQLUINTEGER month; +} SQL_YEAR_MONTH_STRUCT; + +typedef struct tagSQL_DAY_SECOND +{ + SQLUINTEGER day; + SQLUINTEGER hour; + SQLUINTEGER minute; + SQLUINTEGER second; + SQLUINTEGER fraction; +} SQL_DAY_SECOND_STRUCT; + +typedef struct tagSQL_INTERVAL_STRUCT +{ + SQLINTERVAL interval_type; + SQLSMALLINT interval_sign; + union { + SQL_YEAR_MONTH_STRUCT year_month; + SQL_DAY_SECOND_STRUCT day_second; + } intval; + +} SQL_INTERVAL_STRUCT; + +#endif + +#endif + +#if (ODBCVER >= 0x0300) +#define ODBCINT64 __int64 +#define UODBCINT64 unsigned __int64 +#ifdef ODBCINT64 +typedef ODBCINT64 SQLBIGINT; +typedef unsigned ODBCINT64 SQLUBIGINT; +#endif +#endif + +#if (ODBCVER >= 0x0300) +#define SQL_MAX_NUMERIC_LEN 16 +typedef struct tagSQL_NUMERIC_STRUCT +{ + SQLCHAR precision; + SQLSCHAR scale; + SQLCHAR sign; /* 1=pos 0=neg */ + SQLCHAR val[SQL_MAX_NUMERIC_LEN]; +} SQL_NUMERIC_STRUCT; +#endif + +#if (ODBCVER >= 0x0350) +#ifdef GUID_DEFINED +typedef GUID SQLGUID; +#else +typedef struct tagSQLGUID +{ + DWORD Data1; + WORD Data2; + WORD Data3; + BYTE Data4[ 8 ]; +} SQLGUID; +#endif +#endif + + +typedef SQLULEN BOOKMARK; + +#define SQL_WCHAR (-8) +#define SQL_C_WCHAR SQL_WCHAR + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqlucode.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqlucode.h new file mode 100644 index 0000000..c87348c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sqlucode.h @@ -0,0 +1,64 @@ +/* + * MS SQL Unicode Definitions + * + * Copyright (C) 2017 Daniel Lehman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __SQLUCODE_H +#define __SQLUCODE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +SQLRETURN WINAPI SQLConnectW(SQLHDBC ConnectionHandle, + SQLWCHAR *ServerName, SQLSMALLINT NameLength1, + SQLWCHAR *UserName, SQLSMALLINT NameLength2, + SQLWCHAR *Authentication, SQLSMALLINT NameLength3); + +SQLRETURN WINAPI SQLDescribeColW(SQLHSTMT StatementHandle, + SQLUSMALLINT ColumnNumber, SQLWCHAR *ColumnName, + SQLSMALLINT BufferLength, SQLSMALLINT *NameLength, + SQLSMALLINT *DataType, SQLULEN *ColumnSize, + SQLSMALLINT *DecimalDigits, SQLSMALLINT *Nullable); + +SQLRETURN WINAPI SQLExecDirectW(SQLHSTMT StatementHandle, + SQLWCHAR *StatementText, SQLINTEGER TextLength); + +SQLRETURN WINAPI SQLGetDiagRecW(SQLSMALLINT HandleType, SQLHANDLE Handle, + SQLSMALLINT RecNumber, SQLWCHAR *Sqlstate, + SQLINTEGER *NativeError, SQLWCHAR *MessageText, + SQLSMALLINT BufferLength, SQLSMALLINT *TextLength); + +SQLRETURN WINAPI SQLGetInfoW(SQLHDBC ConnectionHandle, + SQLUSMALLINT InfoType, SQLPOINTER InfoValue, + SQLSMALLINT BufferLength, SQLSMALLINT *StringLength); + +SQLRETURN WINAPI SQLPrepareW(SQLHSTMT StatementHandle, + SQLWCHAR *StatementText, SQLINTEGER TextLength); + +SQLRETURN WINAPI SQLSetStmtAttrW(SQLHSTMT StatementHandle, + SQLINTEGER Attribute, SQLPOINTER Value, + SQLINTEGER StringLength); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/srcrst.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/srcrst.idl new file mode 100644 index 0000000..57fd351 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/srcrst.idl @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2013 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a1e-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ISourcesRowset : IUnknown +{ + typedef DWORD DBSOURCETYPE; + + enum DBSOURCETYPEENUM + { + DBSOURCETYPE_DATASOURCE = 1, + DBSOURCETYPE_ENUMERATOR = 2, + }; + + enum DBSOURCETYPEENUM20 + { + DBSOURCETYPE_DATASOURCE_TDP = 1, + DBSOURCETYPE_DATASOURCE_MDP = 3, + }; + + enum DBSOURCETYPEENUM25 + { + DBSOURCETYPE_BINDER = 4, + }; + + [local] + HRESULT GetSourcesRowset([in] IUnknown * pUnkOuter, [in] REFIID riid, [in] ULONG cPropertySets, + [in, out] DBPROPSET rgProperties[], [out] IUnknown **ppSourcesRowset); + + [call_as(GetSourcesRowset)] + HRESULT RemoteGetSourcesRowset([in] IUnknown * pUnkOuter, [in] REFIID riid, [in] ULONG cPropertySets, + [in] DBPROPSET * rgProperties, [out] IUnknown **ppSourcesRowset, [in] ULONG cTotalProps, + [out] DBPROPSTATUS *rgPropStatus, [out] IErrorInfo **ppErrorInfoRem); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/srrestoreptapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/srrestoreptapi.h new file mode 100644 index 0000000..45a027c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/srrestoreptapi.h @@ -0,0 +1,77 @@ +/* + * System Restore definitions + * + * Copyright 2008 Paul Vriens + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_SRRESTOREPTAPI_H +#define __WINE_SRRESTOREPTAPI_H + +/* Event types */ +#define BEGIN_NESTED_SYSTEM_CHANGE 102 +#define END_NESTED_SYSTEM_CHANGE 103 + +/* Restore point types */ +#define APPLICATION_INSTALL 0 + +#define MAX_DESC 64 +#define MAX_DESC_W 256 + +#pragma pack(1) + +typedef struct _RESTOREPTINFOA { + DWORD dwEventType; + DWORD dwRestorePtType; + INT64 llSequenceNumber; + CHAR szDescription[MAX_DESC]; +} RESTOREPOINTINFOA, *PRESTOREPOINTINFOA; + +typedef struct _RESTOREPTINFOW { + DWORD dwEventType; + DWORD dwRestorePtType; + INT64 llSequenceNumber; + WCHAR szDescription[MAX_DESC_W]; +} RESTOREPOINTINFOW, *PRESTOREPOINTINFOW; + +typedef struct _RESTOREPTINFOEX { + FILETIME ftCreation; + DWORD dwEventType; + DWORD dwRestorePtType; + DWORD dwRPNum; + WCHAR szDescription[MAX_DESC_W]; +} RESTOREPOINTINFOEX, *PRESTOREPOINTINFOEX; + +typedef struct _SMGRSTATUS { + DWORD nStatus; + INT64 llSequenceNumber; +} STATEMGRSTATUS, *PSTATEMGRSTATUS; + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI SRSetRestorePointA(RESTOREPOINTINFOA *, STATEMGRSTATUS *); +BOOL WINAPI SRSetRestorePointW(RESTOREPOINTINFOW *, STATEMGRSTATUS *); +#define SRSetRestorePoint WINELIB_NAME_AW(SRSetRestorePoint) + +DWORD WINAPI SRRemoveRestorePoint(DWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* !defined(__WINE_SRRESTOREPTAPI_H) */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sspi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sspi.h new file mode 100644 index 0000000..0e248fb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sspi.h @@ -0,0 +1,901 @@ +/* + * Copyright (C) 2004 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_SSPI_H__ +#define __WINE_SSPI_H__ + +/* FIXME: #include */ + +#ifdef __cplusplus +extern "C" { +#endif + +#define SEC_ENTRY __stdcall + +typedef WCHAR SEC_WCHAR; +typedef CHAR SEC_CHAR; + +#ifndef __SECSTATUS_DEFINED__ +#define __SECSTATUS_DEFINED__ +typedef LONG SECURITY_STATUS; +#endif + +#ifdef UNICODE +typedef SEC_WCHAR * SECURITY_PSTR; +typedef const SEC_WCHAR * SECURITY_PCSTR; +#else +typedef SEC_CHAR * SECURITY_PSTR; +typedef const SEC_CHAR * SECURITY_PCSTR; +#endif + +#ifndef __SECHANDLE_DEFINED__ +#define __SECHANDLE_DEFINED__ +typedef struct _SecHandle +{ + ULONG_PTR dwLower; + ULONG_PTR dwUpper; +} SecHandle, *PSecHandle; +#endif + +#define SecInvalidateHandle(x) do { \ + ((PSecHandle)(x))->dwLower = ((ULONG_PTR)((INT_PTR)-1)); \ + ((PSecHandle)(x))->dwUpper = ((ULONG_PTR)((INT_PTR)-1)); \ + } while (0) + +#define SecIsValidHandle(x) \ + ((((PSecHandle)(x))->dwLower != ((ULONG_PTR)(INT_PTR)-1)) && \ + (((PSecHandle)(x))->dwUpper != ((ULONG_PTR)(INT_PTR)-1))) + +typedef SecHandle CredHandle; +typedef PSecHandle PCredHandle; + +#ifndef __WINE_CTXTHANDLE_DEFINED__ +#define __WINE_CTXTHANDLE_DEFINED__ +typedef SecHandle CtxtHandle; +typedef PSecHandle PCtxtHandle; +#endif + +typedef struct _SECURITY_INTEGER +{ + ULONG LowPart; + LONG HighPart; +} SECURITY_INTEGER, *PSECURITY_INTEGER; +typedef SECURITY_INTEGER TimeStamp, *PTimeStamp; + +#ifndef __UNICODE_STRING_DEFINED__ +#define __UNICODE_STRING_DEFINED__ +typedef struct _UNICODE_STRING { + USHORT Length; /* bytes */ + USHORT MaximumLength; /* bytes */ + PWSTR Buffer; +} UNICODE_STRING, *PUNICODE_STRING; +#endif + +typedef UNICODE_STRING SECURITY_STRING, *PSECURITY_STRING; + +#define SSPIPFC_CREDPROV_DO_NOT_SAVE 0x00000001 +#define SSPIPFC_NO_CHECKBOX 0x00000002 + +typedef void *PSEC_WINNT_AUTH_IDENTITY_OPAQUE; + +SECURITY_STATUS SEC_ENTRY SspiEncodeAuthIdentityAsStrings( + PSEC_WINNT_AUTH_IDENTITY_OPAQUE, PCWSTR *, PCWSTR *, PCWSTR *); + +SECURITY_STATUS SEC_ENTRY SspiEncodeStringsAsAuthIdentity( + PCWSTR, PCWSTR, PCWSTR, PSEC_WINNT_AUTH_IDENTITY_OPAQUE *); + +SECURITY_STATUS SEC_ENTRY SspiPrepareForCredWrite( + PSEC_WINNT_AUTH_IDENTITY_OPAQUE, PCWSTR, PULONG, PCWSTR*, PCWSTR*, PUCHAR*, PULONG); + +ULONG SEC_ENTRY SspiPromptForCredentialsA(PCSTR, void *, + ULONG, PCSTR, PSEC_WINNT_AUTH_IDENTITY_OPAQUE, + PSEC_WINNT_AUTH_IDENTITY_OPAQUE *, int *, ULONG); +ULONG SEC_ENTRY SspiPromptForCredentialsW(PCWSTR, void *, + ULONG, PCWSTR, PSEC_WINNT_AUTH_IDENTITY_OPAQUE, + PSEC_WINNT_AUTH_IDENTITY_OPAQUE *, int *, ULONG); +#define SspiPromptForCredentials WINELIB_NAME_AW(SspiPromptForCredentials) + +void SEC_ENTRY SspiFreeAuthIdentity(PSEC_WINNT_AUTH_IDENTITY_OPAQUE); +void SEC_ENTRY SspiLocalFree(void *); +void SEC_ENTRY SspiZeroAuthIdentity(PSEC_WINNT_AUTH_IDENTITY_OPAQUE); + +typedef struct _SecPkgInfoA +{ + ULONG fCapabilities; + USHORT wVersion; + USHORT wRPCID; + ULONG cbMaxToken; + SEC_CHAR *Name; + SEC_CHAR *Comment; +} SecPkgInfoA, *PSecPkgInfoA; + +typedef struct _SecPkgInfoW +{ + ULONG fCapabilities; + USHORT wVersion; + USHORT wRPCID; + ULONG cbMaxToken; + SEC_WCHAR *Name; + SEC_WCHAR *Comment; +} SecPkgInfoW, *PSecPkgInfoW; + +typedef struct _SECURITY_PACKAGE_OPTIONS { + ULONG Size; + ULONG Type; + ULONG Flags; + ULONG SignatureSize; + void *Signature; +} SECURITY_PACKAGE_OPTIONS, *PSECURITY_PACKAGE_OPTIONS; + +SECURITY_STATUS WINAPI AddSecurityPackageA(LPSTR,SECURITY_PACKAGE_OPTIONS*); +SECURITY_STATUS WINAPI AddSecurityPackageW(LPWSTR,SECURITY_PACKAGE_OPTIONS*); +#define AddSecurityPackage WINELIB_NAME_AW(AddSecurityPackage) + +#define SecPkgInfo WINELIB_NAME_AW(SecPkgInfo) +#define PSecPkgInfo WINELIB_NAME_AW(PSecPkgInfo) + +/* fCapabilities field of SecPkgInfo */ +#define SECPKG_FLAG_INTEGRITY 0x00000001 +#define SECPKG_FLAG_PRIVACY 0x00000002 +#define SECPKG_FLAG_TOKEN_ONLY 0x00000004 +#define SECPKG_FLAG_DATAGRAM 0x00000008 +#define SECPKG_FLAG_CONNECTION 0x00000010 +#define SECPKG_FLAG_MULTI_REQUIRED 0x00000020 +#define SECPKG_FLAG_CLIENT_ONLY 0x00000040 +#define SECPKG_FLAG_EXTENDED_ERROR 0x00000080 +#define SECPKG_FLAG_IMPERSONATION 0x00000100 +#define SECPKG_FLAG_ACCEPT_WIN32_NAME 0x00000200 +#define SECPKG_FLAG_STREAM 0x00000400 +#define SECPKG_FLAG_NEGOTIABLE 0x00000800 +#define SECPKG_FLAG_GSS_COMPATIBLE 0x00001000 +#define SECPKG_FLAG_LOGON 0x00002000 +#define SECPKG_FLAG_ASCII_BUFFERS 0x00004000 +#define SECPKG_FLAG_FRAGMENT 0x00008000 +#define SECPKG_FLAG_MUTUAL_AUTH 0x00010000 +#define SECPKG_FLAG_DELEGATION 0x00020000 +#define SECPKG_FLAG_READONLY_WITH_CHECKSUM 0x00040000 +#define SECPKG_FLAG_RESTRICTED_TOKENS 0x00080000 +#define SECPKG_FLAG_NEGO_EXTENDER 0x00100000 +#define SECPKG_FLAG_NEGOTIABLE2 0x00200000 +#define SECPKG_FLAG_APPCONTAINER_PASSTHROUGH 0x00400000 +#define SECPKG_FLAG_APPCONTAINER_CHECKS 0x00800000 + +#define SECPKG_ID_NONE 0xffff + +typedef struct _SecBuffer +{ + ULONG cbBuffer; + ULONG BufferType; + PVOID pvBuffer; +} SecBuffer, *PSecBuffer; + +/* values for BufferType */ +#define SECBUFFER_EMPTY 0 +#define SECBUFFER_DATA 1 +#define SECBUFFER_TOKEN 2 +#define SECBUFFER_PKG_PARAMS 3 +#define SECBUFFER_MISSING 4 +#define SECBUFFER_EXTRA 5 +#define SECBUFFER_STREAM_TRAILER 6 +#define SECBUFFER_STREAM_HEADER 7 +#define SECBUFFER_NEGOTIATION_INFO 8 +#define SECBUFFER_PADDING 9 +#define SECBUFFER_STREAM 10 +#define SECBUFFER_MECHLIST 11 +#define SECBUFFER_MECHLIST_SIGNATURE 12 +#define SECBUFFER_TARGET 13 +#define SECBUFFER_CHANNEL_BINDINGS 14 + +#define SECBUFFER_ATTRMASK 0xf0000000 +#define SECBUFFER_READONLY 0x80000000 +#define SECBUFFER_READONLY_WITH_CHECKSUM 0x10000000 +#define SECBUFFER_RESERVED 0x60000000 + +typedef struct _SecBufferDesc +{ + ULONG ulVersion; + ULONG cBuffers; + PSecBuffer pBuffers; +} SecBufferDesc, *PSecBufferDesc; + +/* values for ulVersion */ +#define SECBUFFER_VERSION 0 + +typedef void (SEC_ENTRY *SEC_GET_KEY_FN)(void *Arg, void *Principal, + ULONG KeyVer, void **Key, SECURITY_STATUS *Status); + +SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesA(PULONG pcPackages, + PSecPkgInfoA *ppPackageInfo); +SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesW(PULONG pcPackages, + PSecPkgInfoW *ppPackageInfo); +#define EnumerateSecurityPackages WINELIB_NAME_AW(EnumerateSecurityPackages) + +typedef SECURITY_STATUS (SEC_ENTRY *ENUMERATE_SECURITY_PACKAGES_FN_A)(PULONG, + PSecPkgInfoA *); +typedef SECURITY_STATUS (SEC_ENTRY *ENUMERATE_SECURITY_PACKAGES_FN_W)(PULONG, + PSecPkgInfoW *); +#define ENUMERATE_SECURITY_PACKAGES_FN WINELIB_NAME_AW(ENUMERATE_SECURITY_PACKAGES_FN_) + +SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesA( + PCredHandle phCredential, ULONG ulAttribute, void *pBuffer); +SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesW( + PCredHandle phCredential, ULONG ulAttribute, void *pBuffer); +#define QueryCredentialsAttributes WINELIB_NAME_AW(QueryCredentialsAttributes) + +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_CREDENTIALS_ATTRIBUTES_FN_A) + (PCredHandle, ULONG, PVOID); +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_CREDENTIALS_ATTRIBUTES_FN_W) + (PCredHandle, ULONG, PVOID); +#define QUERY_CREDENTIALS_ATTRIBUTES_FN WINELIB_NAME_AW(QUERY_CREDENTIALS_ATTRIBUTES_FN_) + +typedef struct _SEC_CHANNEL_BINDINGS { + ULONG dwInitiatorAddrType; + ULONG cbInitiatorLength; + ULONG dwInitiatorOffset; + ULONG dwAcceptorAddrType; + ULONG cbAcceptorLength; + ULONG dwAcceptorOffset; + ULONG cbApplicationDataLength; + ULONG dwApplicationDataOffset; +} SEC_CHANNEL_BINDINGS, *PSEC_CHANNEL_BINDINGS; + +/* values for QueryCredentialsAttributes ulAttribute */ +#define SECPKG_CRED_ATTR_NAMES 1 + +/* types for QueryCredentialsAttributes */ +typedef struct _SecPkgCredentials_NamesA +{ + SEC_CHAR *sUserName; +} SecPkgCredentials_NamesA, *PSecPkgCredentials_NamesA; + +typedef struct _SecPkgCredentials_NamesW +{ + SEC_WCHAR *sUserName; +} SecPkgCredentials_NamesW, *PSecPkgCredentials_NamesW; + +#define SecPkgCredentials_Names WINELIB_NAME_AW(SecPkgCredentials_Names) + +SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleA( + SEC_CHAR *pszPrincipal, SEC_CHAR *pszPackage, ULONG fCredentialsUse, + PLUID pvLogonID, PVOID pAuthData, SEC_GET_KEY_FN pGetKeyFn, + PVOID pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry); +SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleW( + SEC_WCHAR *pszPrincipal, SEC_WCHAR *pszPackage, ULONG fCredentialsUse, + PLUID pvLogonID, PVOID pAuthData, SEC_GET_KEY_FN pGetKeyFn, + PVOID pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry); +#define AcquireCredentialsHandle WINELIB_NAME_AW(AcquireCredentialsHandle) + +/* flags for fCredentialsUse */ +#define SECPKG_CRED_INBOUND 0x00000001 +#define SECPKG_CRED_OUTBOUND 0x00000002 +#define SECPKG_CRED_BOTH (SECPKG_CRED_INBOUND | SECPKG_CRED_OUTBOUND) +#define SECPKG_CRED_DEFAULT 0x00000004 +#define SECPKG_CRED_RESERVED 0xf0000000 + +typedef SECURITY_STATUS (SEC_ENTRY *ACQUIRE_CREDENTIALS_HANDLE_FN_A)( + SEC_CHAR *, SEC_CHAR *, ULONG, PLUID, PVOID, SEC_GET_KEY_FN, PVOID, + PCredHandle, PTimeStamp); +typedef SECURITY_STATUS (SEC_ENTRY *ACQUIRE_CREDENTIALS_HANDLE_FN_W)( + SEC_WCHAR *, SEC_WCHAR *, ULONG, PLUID, PVOID, SEC_GET_KEY_FN, PVOID, + PCredHandle, PTimeStamp); +#define ACQUIRE_CREDENTIALS_HANDLE_FN WINELIB_NAME_AW(ACQUIRE_CREDENTIALS_HANDLE_FN_) + +SECURITY_STATUS SEC_ENTRY FreeContextBuffer(PVOID pv); + +typedef SECURITY_STATUS (SEC_ENTRY *FREE_CONTEXT_BUFFER_FN)(PVOID); + +SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle(PCredHandle + phCredential); + +#define FreeCredentialHandle FreeCredentialsHandle + +typedef SECURITY_STATUS (SEC_ENTRY *FREE_CREDENTIALS_HANDLE_FN)(PCredHandle); + +SECURITY_STATUS SEC_ENTRY InitializeSecurityContextA( + PCredHandle phCredential, PCtxtHandle phContext, + SEC_CHAR *pszTargetName, ULONG fContextReq, + ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, + ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, + ULONG *pfContextAttr, PTimeStamp ptsExpiry); +SECURITY_STATUS SEC_ENTRY InitializeSecurityContextW( + PCredHandle phCredential, PCtxtHandle phContext, + SEC_WCHAR *pszTargetName, ULONG fContextReq, + ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, + ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, + ULONG *pfContextAttr, PTimeStamp ptsExpiry); +#define InitializeSecurityContext WINELIB_NAME_AW(InitializeSecurityContext) + +typedef SECURITY_STATUS (SEC_ENTRY *INITIALIZE_SECURITY_CONTEXT_FN_A) + (PCredHandle, PCtxtHandle, SEC_CHAR *, ULONG, ULONG, ULONG, PSecBufferDesc, + ULONG, PCtxtHandle, PSecBufferDesc, ULONG *, PTimeStamp); +typedef SECURITY_STATUS (SEC_ENTRY *INITIALIZE_SECURITY_CONTEXT_FN_W) + (PCredHandle, PCtxtHandle, SEC_WCHAR *, ULONG, ULONG, ULONG, PSecBufferDesc, + ULONG, PCtxtHandle, PSecBufferDesc, ULONG *, PTimeStamp); +#define INITIALIZE_SECURITY_CONTEXT_FN WINELIB_NAME_AW(INITIALIZE_SECURITY_CONTEXT_FN_) + +/* flags for InitializeSecurityContext fContextReq and pfContextAttr */ +#define ISC_REQ_DELEGATE 0x00000001 +#define ISC_REQ_MUTUAL_AUTH 0x00000002 +#define ISC_REQ_REPLAY_DETECT 0x00000004 +#define ISC_REQ_SEQUENCE_DETECT 0x00000008 +#define ISC_REQ_CONFIDENTIALITY 0x00000010 +#define ISC_REQ_USE_SESSION_KEY 0x00000020 +#define ISC_REQ_PROMPT_FOR_CREDS 0x00000040 +#define ISC_REQ_USE_SUPPLIED_CREDS 0x00000080 +#define ISC_REQ_ALLOCATE_MEMORY 0x00000100 +#define ISC_REQ_USE_DCE_STYLE 0x00000200 +#define ISC_REQ_DATAGRAM 0x00000400 +#define ISC_REQ_CONNECTION 0x00000800 +#define ISC_REQ_CALL_LEVEL 0x00001000 +#define ISC_REQ_FRAGMENT_SUPPLIED 0x00002000 +#define ISC_REQ_EXTENDED_ERROR 0x00004000 +#define ISC_REQ_STREAM 0x00008000 +#define ISC_REQ_INTEGRITY 0x00010000 +#define ISC_REQ_IDENTIFY 0x00020000 +#define ISC_REQ_NULL_SESSION 0x00040000 +#define ISC_REQ_MANUAL_CRED_VALIDATION 0x00080000 +#define ISC_REQ_RESERVED1 0x00100000 +#define ISC_REQ_FRAGMENT_TO_FIT 0x00200000 + +#define ISC_RET_DELEGATE 0x00000001 +#define ISC_RET_MUTUAL_AUTH 0x00000002 +#define ISC_RET_REPLAY_DETECT 0x00000004 +#define ISC_RET_SEQUENCE_DETECT 0x00000008 +#define ISC_RET_CONFIDENTIALITY 0x00000010 +#define ISC_RET_USE_SESSION_KEY 0x00000020 +#define ISC_RET_USED_COLLECTED_CREDS 0x00000040 +#define ISC_RET_USED_SUPPLIED_CREDS 0x00000080 +#define ISC_RET_ALLOCATED_MEMORY 0x00000100 +#define ISC_RET_USED_DCE_STYLE 0x00000200 +#define ISC_RET_DATAGRAM 0x00000400 +#define ISC_RET_CONNECTION 0x00000800 +#define ISC_RET_INTERMEDIATE_RETURN 0x00001000 +#define ISC_RET_CALL_LEVEL 0x00002000 +#define ISC_RET_EXTENDED_ERROR 0x00004000 +#define ISC_RET_STREAM 0x00008000 +#define ISC_RET_INTEGRITY 0x00010000 +#define ISC_RET_IDENTIFY 0x00020000 +#define ISC_RET_NULL_SESSION 0x00040000 +#define ISC_RET_MANUAL_CRED_VALIDATION 0x00080000 +#define ISC_RET_RESERVED1 0x00100000 +#define ISC_RET_FRAGMENT_ONLY 0x00200000 + +SECURITY_STATUS SEC_ENTRY AcceptSecurityContext( + PCredHandle phCredential, PCtxtHandle phContext, PSecBufferDesc pInput, + ULONG fContextReq, ULONG TargetDataRep, + PCtxtHandle phNewContext, PSecBufferDesc pOutput, + ULONG *pfContextAttr, PTimeStamp ptsExpiry); + +typedef SECURITY_STATUS (SEC_ENTRY *ACCEPT_SECURITY_CONTEXT_FN)(PCredHandle, + PCtxtHandle, PSecBufferDesc, ULONG, ULONG, PCtxtHandle, + PSecBufferDesc, ULONG *, PTimeStamp); + +/* flags for AcceptSecurityContext fContextReq and pfContextAttr */ +#define ASC_REQ_DELEGATE 0x00000001 +#define ASC_REQ_MUTUAL_AUTH 0x00000002 +#define ASC_REQ_REPLAY_DETECT 0x00000004 +#define ASC_REQ_SEQUENCE_DETECT 0x00000008 +#define ASC_REQ_CONFIDENTIALITY 0x00000010 +#define ASC_REQ_USE_SESSION_KEY 0x00000020 +#define ASC_REQ_ALLOCATE_MEMORY 0x00000100 +#define ASC_REQ_USE_DCE_STYLE 0x00000200 +#define ASC_REQ_DATAGRAM 0x00000400 +#define ASC_REQ_CONNECTION 0x00000800 +#define ASC_REQ_CALL_LEVEL 0x00001000 +#define ASC_REQ_FRAGMENT_SUPPLIED 0x00002000 +#define ASC_REQ_EXTENDED_ERROR 0x00008000 +#define ASC_REQ_STREAM 0x00010000 +#define ASC_REQ_INTEGRITY 0x00020000 +#define ASC_REQ_LICENSING 0x00040000 +#define ASC_REQ_IDENTIFY 0x00080000 +#define ASC_REQ_ALLOW_NULL_SESSION 0x00100000 +#define ASC_REQ_ALLOW_NON_USER_LOGONS 0x00200000 +#define ASC_REQ_ALLOW_CONTEXT_REPLAY 0x00400000 +#define ASC_REQ_FRAGMENT_TO_FIT 0x00800000 +#define ASC_REQ_FRAGMENT_NO_TOKEN 0x01000000 + +#define ASC_RET_DELEGATE 0x00000001 +#define ASC_RET_MUTUAL_AUTH 0x00000002 +#define ASC_RET_REPLAY_DETECT 0x00000004 +#define ASC_RET_SEQUENCE_DETECT 0x00000008 +#define ASC_RET_CONFIDENTIALITY 0x00000010 +#define ASC_RET_USE_SESSION_KEY 0x00000020 +#define ASC_RET_ALLOCATED_MEMORY 0x00000100 +#define ASC_RET_USED_DCE_STYLE 0x00000200 +#define ASC_RET_DATAGRAM 0x00000400 +#define ASC_RET_CONNECTION 0x00000800 +#define ASC_RET_CALL_LEVEL 0x00002000 +#define ASC_RET_THIRD_LEG_FAILED 0x00004000 +#define ASC_RET_EXTENDED_ERROR 0x00008000 +#define ASC_RET_STREAM 0x00010000 +#define ASC_RET_INTEGRITY 0x00020000 +#define ASC_RET_LICENSING 0x00040000 +#define ASC_RET_IDENTIFY 0x00080000 +#define ASC_RET_NULL_SESSION 0x00100000 +#define ASC_RET_ALLOW_NON_USER_LOGONS 0x00200000 +#define ASC_RET_ALLOW_CONTEXT_REPLAY 0x00400000 +#define ASC_RET_FRAGMENT_ONLY 0x00800000 +#define ASC_RET_NO_TOKEN 0x01000000 + +/* values for TargetDataRep */ +#define SECURITY_NATIVE_DREP 0x00000010 +#define SECURITY_NETWORK_DREP 0x00000000 + +SECURITY_STATUS SEC_ENTRY CompleteAuthToken(PCtxtHandle phContext, + PSecBufferDesc pToken); + +typedef SECURITY_STATUS (SEC_ENTRY *COMPLETE_AUTH_TOKEN_FN)(PCtxtHandle, + PSecBufferDesc); + +SECURITY_STATUS SEC_ENTRY DeleteSecurityContext(PCtxtHandle phContext); + +typedef SECURITY_STATUS (SEC_ENTRY *DELETE_SECURITY_CONTEXT_FN)(PCtxtHandle); + +SECURITY_STATUS SEC_ENTRY ApplyControlToken(PCtxtHandle phContext, + PSecBufferDesc pInput); + +typedef SECURITY_STATUS (SEC_ENTRY *APPLY_CONTROL_TOKEN_FN)(PCtxtHandle, + PSecBufferDesc); + +SECURITY_STATUS SEC_ENTRY QueryContextAttributesA(PCtxtHandle phContext, + ULONG ulAttribute, void *pBuffer); +SECURITY_STATUS SEC_ENTRY QueryContextAttributesW(PCtxtHandle phContext, + ULONG ulAttribute, void *pBuffer); +#define QueryContextAttributes WINELIB_NAME_AW(QueryContextAttributes) + +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_CONTEXT_ATTRIBUTES_FN_A)(PCtxtHandle, + ULONG, void *); +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_CONTEXT_ATTRIBUTES_FN_W)(PCtxtHandle, + ULONG, void *); +#define QUERY_CONTEXT_ATTRIBUTES_FN WINELIB_NAME_AW(QUERY_CONTEXT_ATTRIBUTES_FN_) + +/* values for QueryContextAttributes/SetContextAttributes ulAttribute */ +#define SECPKG_ATTR_SIZES 0 +#define SECPKG_ATTR_NAMES 1 +#define SECPKG_ATTR_LIFESPAN 2 +#define SECPKG_ATTR_DCE_INFO 3 +#define SECPKG_ATTR_STREAM_SIZES 4 +#define SECPKG_ATTR_KEY_INFO 5 +#define SECPKG_ATTR_AUTHORITY 6 +#define SECPKG_ATTR_PROTO_INFO 7 +#define SECPKG_ATTR_PASSWORD_EXPIRY 8 +#define SECPKG_ATTR_SESSION_KEY 9 +#define SECPKG_ATTR_PACKAGE_INFO 10 +#define SECPKG_ATTR_USER_FLAGS 11 +#define SECPKG_ATTR_NEGOTIATION_INFO 12 +#define SECPKG_ATTR_NATIVE_NAMES 13 +#define SECPKG_ATTR_FLAGS 14 +#define SECPKG_ATTR_USE_VALIDATED 15 +#define SECPKG_ATTR_CREDENTIAL_NAME 16 +#define SECPKG_ATTR_TARGET_INFORMATION 17 +#define SECPKG_ATTR_ACCESS_TOKEN 18 +#define SECPKG_ATTR_TARGET 19 +#define SECPKG_ATTR_AUTHENTICATION_ID 20 +#define SECPKG_ATTR_LOGOFF_TIME 21 +#define SECPKG_ATTR_NEGO_KEYS 22 +#define SECPKG_ATTR_PROMPTING_NEEDED 24 +#define SECPKG_ATTR_UNIQUE_BINDINGS 25 +#define SECPKG_ATTR_ENDPOINT_BINDINGS 26 +#define SECPKG_ATTR_CLIENT_SPECIFIED_TARGET 27 +#define SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS 30 +#define SECPKG_ATTR_NEGO_PKG_INFO 31 +#define SECPKG_ATTR_NEGO_STATUS 32 +#define SECPKG_ATTR_CONTEXT_DELETED 33 + +#define SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES 128 +#define SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS 0x1 +#define SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM 0x2 + +/* types for QueryContextAttributes/SetContextAttributes */ + +typedef struct _SecPkgContext_Sizes +{ + ULONG cbMaxToken; + ULONG cbMaxSignature; + ULONG cbBlockSize; + ULONG cbSecurityTrailer; +} SecPkgContext_Sizes, *PSecPkgContext_Sizes; + +typedef struct _SecPkgContext_StreamSizes +{ + ULONG cbHeader; + ULONG cbTrailer; + ULONG cbMaximumMessage; + ULONG cbBuffers; + ULONG cbBlockSize; +} SecPkgContext_StreamSizes, *PSecPkgContext_StreamSizes; + +typedef struct _SecPkgContext_NamesA +{ + SEC_CHAR *sUserName; +} SecPkgContext_NamesA, *PSecPkgContext_NamesA; + +typedef struct _SecPkgContext_NamesW +{ + SEC_WCHAR *sUserName; +} SecPkgContext_NamesW, *PSecPkgContext_NamesW; + +#define SecPkgContext_Names WINELIB_NAME_AW(SecPkgContext_Names) +#define PSecPkgContext_Names WINELIB_NAME_AW(PSecPkgContext_Names) + +typedef struct _SecPkgContext_Lifespan +{ + TimeStamp tsStart; + TimeStamp tsExpiry; +} SecPkgContext_Lifespan, *PSecPkgContext_Lifespan; + +typedef struct _SecPkgContext_DceInfo +{ + ULONG AuthzSvc; + PVOID pPac; +} SecPkgContext_DceInfo, *PSecPkgContext_DceInfo; + +typedef struct _SecPkgContext_KeyInfoA +{ + SEC_CHAR *sSignatureAlgorithmName; + SEC_CHAR *sEncryptAlgorithmName; + ULONG KeySize; + ULONG SignatureAlgorithm; + ULONG EncryptAlgorithm; +} SecPkgContext_KeyInfoA, *PSecPkgContext_KeyInfoA; + +typedef struct _SecPkgContext_KeyInfoW +{ + SEC_WCHAR *sSignatureAlgorithmName; + SEC_WCHAR *sEncryptAlgorithmName; + ULONG KeySize; + ULONG SignatureAlgorithm; + ULONG EncryptAlgorithm; +} SecPkgContext_KeyInfoW, *PSecPkgContext_KeyInfoW; + +#define SecPkgContext_KeyInfo WINELIB_NAME_AW(SecPkgContext_KeyInfo) +#define PSecPkgContext_KeyInfo WINELIB_NAME_AW(PSecPkgContext_KeyInfo) + +typedef struct _SecPkgContext_AuthorityA +{ + SEC_CHAR *sAuthorityName; +} SecPkgContext_AuthorityA, *PSecPkgContext_AuthorityA; + +typedef struct _SecPkgContext_AuthorityW +{ + SEC_WCHAR *sAuthorityName; +} SecPkgContext_AuthorityW, *PSecPkgContext_AuthorityW; + +#define SecPkgContext_Authority WINELIB_NAME_AW(SecPkgContext_Authority) +#define PSecPkgContext_Authority WINELIB_NAME_AW(PSecPkgContext_Authority) + +typedef struct _SecPkgContext_ProtoInfoA +{ + SEC_CHAR *sProtocolName; + ULONG majorVersion; + ULONG minorVersion; +} SecPkgContext_ProtoInfoA, *PSecPkgContext_ProtoInfoA; + +typedef struct _SecPkgContext_ProtoInfoW +{ + SEC_WCHAR *sProtocolName; + ULONG majorVersion; + ULONG minorVersion; +} SecPkgContext_ProtoInfoW, *PSecPkgContext_ProtoInfoW; + +#define SecPkgContext_ProtoInfo WINELIB_NAME_AW(SecPkgContext_ProtoInfo) +#define PSecPkgContext_ProtoInfo WINELIB_NAME_AW(PSecPkgContext_ProtoInfo) + +typedef struct _SecPkgContext_PasswordExpiry +{ + TimeStamp tsPasswordExpires; +} SecPkgContext_PasswordExpiry, *PSecPkgContext_PasswordExpiry; + +typedef struct _SecPkgContext_SessionKey +{ + ULONG SessionKeyLength; + unsigned char *SessionKey; +} SecPkgContext_SessionKey, *PSecPkgContext_SessionKey; + +typedef struct _SecPkgContext_PackageInfoA +{ + PSecPkgInfoA PackageInfo; +} SecPkgContext_PackageInfoA, *PSecPkgContext_PackageInfoA; + +typedef struct _SecPkgContext_PackageInfoW +{ + PSecPkgInfoW PackageInfo; +} SecPkgContext_PackageInfoW, *PSecPkgContext_PackageInfoW; + +#define SecPkgContext_PackageInfo WINELIB_NAME_AW(SecPkgContext_PackageInfo) +#define PSecPkgContext_PackageInfo WINELIB_NAME_AW(PSecPkgContext_PackageInfo) + +typedef struct _SecPkgContext_Flags +{ + ULONG Flags; +} SecPkgContext_Flags, *PSecPkgContext_Flags; + +typedef struct _SecPkgContext_UserFlags +{ + ULONG UserFlags; +} SecPkgContext_UserFlags, *PSecPkgContext_UserFlags; + +typedef struct _SecPkgContext_NegotiationInfoA +{ + PSecPkgInfoA PackageInfo; + ULONG NegotiationState; +} SecPkgContext_NegotiationInfoA, *PSecPkgContext_NegotiationInfoA; + +typedef struct _SecPkgContext_NegotiationInfoW +{ + PSecPkgInfoW PackageInfo; + ULONG NegotiationState; +} SecPkgContext_NegotiationInfoW, *PSecPkgContext_NegotiationInfoW; + +#define SecPkgContext_NegotiationInfo WINELIB_NAME_AW(SecPkgContext_NegotiationInfo) +#define PSecPkgContext_NegotiationInfo WINELIB_NAME_AW(PSecPkgContext_NegotiationInfo) + +/* values for NegotiationState */ +#define SECPKG_NEGOTIATION_COMPLETE 0 +#define SECPKG_NEGOTIATION_OPTIMISTIC 1 +#define SECPKG_NEGOTIATION_IN_PROGRESS 2 +#define SECPKG_NEGOTIATION_DIRECT 3 +#define SECPKG_NEGOTIATION_TRY_MULTICRED 4 + +typedef struct _SecPkgContext_NativeNamesA +{ + SEC_CHAR *sClientName; + SEC_CHAR *sServerName; +} SecPkgContext_NativeNamesA, *PSecPkgContext_NativeNamesA; + +typedef struct _SecPkgContext_NativeNamesW +{ + SEC_WCHAR *sClientName; + SEC_WCHAR *sServerName; +} SecPkgContext_NativeNamesW, *PSecPkgContext_NativeNamesW; + +#define SecPkgContext_NativeNames WINELIB_NAME_AW(SecPkgContext_NativeNames) +#define PSecPkgContext_NativeNames WINELIB_NAME_AW(PSecPkgContext_NativeNames) + +typedef struct _SecPkgContext_CredentialNameA +{ + ULONG CredentialType; + SEC_CHAR *sCredentialName; +} SecPkgContext_CredentialNameA, *PSecPkgContext_CredentialNameA; + +typedef struct _SecPkgContext_CredentialNameW +{ + ULONG CredentialType; + SEC_WCHAR *sCredentialName; +} SecPkgContext_CredentialNameW, *PSecPkgContext_CredentialNameW; + +#define SecPkgContext_CredentialName WINELIB_NAME_AW(SecPkgContext_CredentialName) +#define PSecPkgContext_CredentialName WINELIB_NAME_AW(PSecPkgContext_CredentialName) + +typedef struct _SecPkgContext_AccessToken +{ + void *AccessToken; +} SecPkgContext_AccessToken, *PSecPkgContext_AccessToken; + +typedef struct _SecPkgContext_TargetInformation +{ + ULONG MarshalledTargetInfoLength; + unsigned char *MarshalledTargetInfo; +} SecPkgContext_TargetInformation, *PSecPkgContext_TargetInformation; + +typedef struct _SecPkgContext_AuthzID +{ + ULONG AuthzIDLength; + char *AuthzID; +} SecPkgContext_AuthzID, *PSecPkgContext_AuthzID; + +typedef struct _SecPkgContext_Target +{ + ULONG TargetLength; + char *Target; +} SecPkgContext_Target, *PSecPkgContext_Target; + +typedef struct _SecPkgContext_Bindings +{ + ULONG BindingsLength; + SEC_CHANNEL_BINDINGS *Bindings; +} SecPkgContext_Bindings, *PSecPkgContext_Bindings; + +SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext(PCtxtHandle phContext); + +typedef SECURITY_STATUS (SEC_ENTRY *IMPERSONATE_SECURITY_CONTEXT_FN) + (PCtxtHandle); + +SECURITY_STATUS SEC_ENTRY RevertSecurityContext(PCtxtHandle phContext); + +typedef SECURITY_STATUS (SEC_ENTRY *REVERT_SECURITY_CONTEXT_FN)(PCtxtHandle); + +SECURITY_STATUS SEC_ENTRY MakeSignature(PCtxtHandle phContext, + ULONG fQOP, PSecBufferDesc pMessage, ULONG MessageSeqNo); + +typedef SECURITY_STATUS (SEC_ENTRY *MAKE_SIGNATURE_FN)(PCtxtHandle, + ULONG, PSecBufferDesc, ULONG); + +SECURITY_STATUS SEC_ENTRY VerifySignature(PCtxtHandle phContext, + PSecBufferDesc pMessage, ULONG MessageSeqNo, PULONG pfQOP); + +typedef SECURITY_STATUS (SEC_ENTRY *VERIFY_SIGNATURE_FN)(PCtxtHandle, + PSecBufferDesc, ULONG, PULONG); + +SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoA( + SEC_CHAR *pszPackageName, PSecPkgInfoA *ppPackageInfo); +SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoW( + SEC_WCHAR *pszPackageName, PSecPkgInfoW *ppPackageInfo); +#define QuerySecurityPackageInfo WINELIB_NAME_AW(QuerySecurityPackageInfo) + +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_SECURITY_PACKAGE_INFO_FN_A) + (SEC_CHAR *, PSecPkgInfoA *); +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_SECURITY_PACKAGE_INFO_FN_W) + (SEC_WCHAR *, PSecPkgInfoW *); +#define QUERY_SECURITY_PACKAGE_INFO_FN WINELIB_NAME_AW(QUERY_SECURITY_PACKAGE_INFO_FN_) + +SECURITY_STATUS SEC_ENTRY ExportSecurityContext(PCtxtHandle phContext, + ULONG fFlags, PSecBuffer pPackedContext, void **pToken); + +typedef SECURITY_STATUS (SEC_ENTRY *EXPORT_SECURITY_CONTEXT_FN)(PCtxtHandle, + ULONG, PSecBuffer, void **); + +/* values for ExportSecurityContext fFlags */ +#define SECPKG_CONTEXT_EXPORT_RESET_NEW 0x00000001 +#define SECPKG_CONTEXT_EXPORT_DELETE_OLD 0x00000002 + +SECURITY_STATUS SEC_ENTRY ImportSecurityContextA(SEC_CHAR *pszPackage, + PSecBuffer pPackedContext, void *Token, PCtxtHandle phContext); +SECURITY_STATUS SEC_ENTRY ImportSecurityContextW(SEC_WCHAR *pszPackage, + PSecBuffer pPackedContext, void *Token, PCtxtHandle phContext); +#define ImportSecurityContext WINELIB_NAME_AW(ImportSecurityContext) + +typedef SECURITY_STATUS (SEC_ENTRY *IMPORT_SECURITY_CONTEXT_FN_A)(SEC_CHAR *, + PSecBuffer, void *, PCtxtHandle); +typedef SECURITY_STATUS (SEC_ENTRY *IMPORT_SECURITY_CONTEXT_FN_W)(SEC_WCHAR *, + PSecBuffer, void *, PCtxtHandle); +#define IMPORT_SECURITY_CONTEXT_FN WINELIB_NAME_AW(IMPORT_SECURITY_CONTEXT_FN_) + +SECURITY_STATUS SEC_ENTRY AddCredentialsA(PCredHandle hCredentials, + SEC_CHAR *pszPrincipal, SEC_CHAR *pszPackage, ULONG fCredentialUse, + void *pAuthData, SEC_GET_KEY_FN pGetKeyFn, void *pvGetKeyArgument, + PTimeStamp ptsExpiry); +SECURITY_STATUS SEC_ENTRY AddCredentialsW(PCredHandle hCredentials, + SEC_WCHAR *pszPrincipal, SEC_WCHAR *pszPackage, ULONG fCredentialUse, + void *pAuthData, SEC_GET_KEY_FN pGetKeyFn, void *pvGetKeyArgument, + PTimeStamp ptsExpiry); +#define AddCredentials WINELIB_NAME_AW(AddCredentials) + +typedef SECURITY_STATUS (SEC_ENTRY *ADD_CREDENTIALS_FN_A)(PCredHandle, + SEC_CHAR *, SEC_CHAR *, ULONG, void *, SEC_GET_KEY_FN, void *, + PTimeStamp); +typedef SECURITY_STATUS (SEC_ENTRY *ADD_CREDENTIALS_FN_W)(PCredHandle, + SEC_WCHAR *, SEC_WCHAR *, ULONG, void *, SEC_GET_KEY_FN, void *, + PTimeStamp); + +SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken(PCtxtHandle phContext, + HANDLE *phToken); + +typedef SECURITY_STATUS (SEC_ENTRY *QUERY_SECURITY_CONTEXT_TOKEN_FN) + (PCtxtHandle, HANDLE *); + +SECURITY_STATUS SEC_ENTRY EncryptMessage(PCtxtHandle phContext, ULONG fQOP, + PSecBufferDesc pMessage, ULONG MessageSeqNo); +SECURITY_STATUS SEC_ENTRY DecryptMessage(PCtxtHandle phContext, + PSecBufferDesc pMessage, ULONG MessageSeqNo, PULONG pfQOP); + +/* values for EncryptMessage fQOP */ +#define SECQOP_WRAP_NO_ENCRYPT 0x80000001 + +typedef SECURITY_STATUS (SEC_ENTRY *ENCRYPT_MESSAGE_FN)(PCtxtHandle, ULONG, + PSecBufferDesc, ULONG); +typedef SECURITY_STATUS (SEC_ENTRY *DECRYPT_MESSAGE_FN)(PCtxtHandle, + PSecBufferDesc, ULONG, PULONG); + +SECURITY_STATUS SEC_ENTRY SetContextAttributesA(PCtxtHandle phContext, + ULONG ulAttribute, void *pBuffer, ULONG cbBuffer); +SECURITY_STATUS SEC_ENTRY SetContextAttributesW(PCtxtHandle phContext, + ULONG ulAttribute, void *pBuffer, ULONG cbBuffer); +#define SetContextAttributes WINELIB_NAME_AW(SetContextAttributes) + +typedef SECURITY_STATUS (SEC_ENTRY *SET_CONTEXT_ATTRIBUTES_FN_A)(PCtxtHandle, + ULONG, void *, ULONG); +typedef SECURITY_STATUS (SEC_ENTRY *SET_CONTEXT_ATTRIBUTES_FN_W)(PCtxtHandle, + ULONG, void *, ULONG); + +#define SECURITY_ENTRYPOINT_ANSIA "InitSecurityInterfaceA" +#define SECURITY_ENTRYPOINT_ANSIW "InitSecurityInterfaceW" +#define SECURITY_ENTRYPOINT_ANSI WINELIB_NAME_AW(SECURITY_ENTRYPOINT_ANSI) + +typedef struct _SECURITY_FUNCTION_TABLE_A +{ + ULONG dwVersion; + ENUMERATE_SECURITY_PACKAGES_FN_A EnumerateSecurityPackagesA; + QUERY_CREDENTIALS_ATTRIBUTES_FN_A QueryCredentialsAttributesA; + ACQUIRE_CREDENTIALS_HANDLE_FN_A AcquireCredentialsHandleA; + FREE_CREDENTIALS_HANDLE_FN FreeCredentialsHandle; + void *Reserved2; + INITIALIZE_SECURITY_CONTEXT_FN_A InitializeSecurityContextA; + ACCEPT_SECURITY_CONTEXT_FN AcceptSecurityContext; + COMPLETE_AUTH_TOKEN_FN CompleteAuthToken; + DELETE_SECURITY_CONTEXT_FN DeleteSecurityContext; + APPLY_CONTROL_TOKEN_FN ApplyControlToken; + QUERY_CONTEXT_ATTRIBUTES_FN_A QueryContextAttributesA; + IMPERSONATE_SECURITY_CONTEXT_FN ImpersonateSecurityContext; + REVERT_SECURITY_CONTEXT_FN RevertSecurityContext; + MAKE_SIGNATURE_FN MakeSignature; + VERIFY_SIGNATURE_FN VerifySignature; + FREE_CONTEXT_BUFFER_FN FreeContextBuffer; + QUERY_SECURITY_PACKAGE_INFO_FN_A QuerySecurityPackageInfoA; + void *Reserved3; + void *Reserved4; + EXPORT_SECURITY_CONTEXT_FN ExportSecurityContext; + IMPORT_SECURITY_CONTEXT_FN_A ImportSecurityContextA; + ADD_CREDENTIALS_FN_A AddCredentialsA; + void *Reserved8; + QUERY_SECURITY_CONTEXT_TOKEN_FN QuerySecurityContextToken; + ENCRYPT_MESSAGE_FN EncryptMessage; + DECRYPT_MESSAGE_FN DecryptMessage; + SET_CONTEXT_ATTRIBUTES_FN_A SetContextAttributesA; +} SecurityFunctionTableA, *PSecurityFunctionTableA; + +typedef struct _SECURITY_FUNCTION_TABLE_W +{ + ULONG dwVersion; + ENUMERATE_SECURITY_PACKAGES_FN_W EnumerateSecurityPackagesW; + QUERY_CREDENTIALS_ATTRIBUTES_FN_W QueryCredentialsAttributesW; + ACQUIRE_CREDENTIALS_HANDLE_FN_W AcquireCredentialsHandleW; + FREE_CREDENTIALS_HANDLE_FN FreeCredentialsHandle; + void *Reserved2; + INITIALIZE_SECURITY_CONTEXT_FN_W InitializeSecurityContextW; + ACCEPT_SECURITY_CONTEXT_FN AcceptSecurityContext; + COMPLETE_AUTH_TOKEN_FN CompleteAuthToken; + DELETE_SECURITY_CONTEXT_FN DeleteSecurityContext; + APPLY_CONTROL_TOKEN_FN ApplyControlToken; + QUERY_CONTEXT_ATTRIBUTES_FN_W QueryContextAttributesW; + IMPERSONATE_SECURITY_CONTEXT_FN ImpersonateSecurityContext; + REVERT_SECURITY_CONTEXT_FN RevertSecurityContext; + MAKE_SIGNATURE_FN MakeSignature; + VERIFY_SIGNATURE_FN VerifySignature; + FREE_CONTEXT_BUFFER_FN FreeContextBuffer; + QUERY_SECURITY_PACKAGE_INFO_FN_W QuerySecurityPackageInfoW; + void *Reserved3; + void *Reserved4; + EXPORT_SECURITY_CONTEXT_FN ExportSecurityContext; + IMPORT_SECURITY_CONTEXT_FN_W ImportSecurityContextW; + ADD_CREDENTIALS_FN_W AddCredentialsW; + void *Reserved8; + QUERY_SECURITY_CONTEXT_TOKEN_FN QuerySecurityContextToken; + ENCRYPT_MESSAGE_FN EncryptMessage; + DECRYPT_MESSAGE_FN DecryptMessage; + SET_CONTEXT_ATTRIBUTES_FN_W SetContextAttributesW; +} SecurityFunctionTableW, *PSecurityFunctionTableW; + +#define SecurityFunctionTable WINELIB_NAME_AW(SecurityFunctionTable) +#define PSecurityFunctionTable WINELIB_NAME_AW(PSecurityFunctionTable) + +#define SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION 1 +#define SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2 2 + +PSecurityFunctionTableA SEC_ENTRY InitSecurityInterfaceA(void); +PSecurityFunctionTableW SEC_ENTRY InitSecurityInterfaceW(void); +#define InitSecurityInterface WINELIB_NAME_AW(InitSecurityInterface) + +typedef PSecurityFunctionTableA (SEC_ENTRY *INIT_SECURITY_INTERFACE_A)(void); +typedef PSecurityFunctionTableW (SEC_ENTRY *INIT_SECURITY_INTERFACE_W)(void); +#define INIT_SECURITY_INTERFACE WINELIB_NAME_AW(INIT_SECURITY_INTERFACE_) + +#ifdef __cplusplus +} +#endif + +#endif /* ndef __WINE_SSPI_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/stdole2.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/stdole2.idl new file mode 100644 index 0000000..9839c4c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/stdole2.idl @@ -0,0 +1,439 @@ +/* + * Copyright (C) 2003 Robert Shearman + * 2005 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#if 0 +#pragma makedep install +#pragma makedep typelib +#endif + +#include + +[ + uuid(00020430-0000-0000-C000-000000000046), + version(2.0), + helpstring("OLE Automation") +] +library stdole +{ + /* typedefs aren't stored in the type library. + These type names are known by the type compiler so it + doesn't really matter what we define them as. */ + + typedef short VARIANT_BOOL; + typedef long BSTR; + typedef double CURRENCY; + typedef unsigned long HRESULT; + typedef void *VARIANT; + typedef unsigned long SCODE; + + typedef struct GUID { + unsigned long Data1; + unsigned short Data2; + unsigned short Data3; + unsigned char Data4[ 8 ]; + } GUID; + + typedef struct DISPPARAMS { + VARIANT *rgvarg; + long *rgdispidNamedArgs; + unsigned int cArgs; + unsigned int cNamedArgs; + } DISPPARAMS; + + typedef struct EXCEPINFO { + unsigned short wCode; + unsigned short wReserved; + BSTR bstrSource; + BSTR bstrDescription; + BSTR bstrHelpFile; + unsigned long dwHelpContext; + void *pvReserved; + void *pfnDeferredFillIn; + SCODE scode; + } EXCEPINFO; + + [ + odl, + uuid(00000000-0000-0000-C000-000000000046), + hidden + ] + interface IUnknown + { + [restricted] + HRESULT QueryInterface( + [in] GUID *riid, + [out] void **ppvObj); + + [restricted] + unsigned long AddRef(); + + [restricted] + unsigned long Release(); + } + + [ + odl, + uuid(00020400-0000-0000-C000-000000000046), + restricted + ] + interface IDispatch : IUnknown + { + [restricted] + HRESULT GetTypeInfoCount( + [out] unsigned int *pctinfo); + + [restricted] + HRESULT GetTypeInfo( + [in] unsigned int itinfo, + [in] unsigned long lcid, + [out] void **pptinfo); + + [restricted] + HRESULT GetIDsOfNames( + [in] GUID *riid, + [in] char **rgszNames, + [in] unsigned int cNames, + [in] unsigned long lcid, + [out] long *rgdispid); + + [restricted] + HRESULT Invoke( + [in] long dispidMember, + [in] GUID *riid, + [in] unsigned long lcid, + [in] unsigned short wFlags, + [in] DISPPARAMS *pdispparams, + [out] VARIANT *pvarResult, + [out] EXCEPINFO *pexcepinfo, + [out] unsigned int *puArgErr); + + } + + [ + odl, + uuid(00020404-0000-0000-C000-000000000046), + hidden + ] + interface IEnumVARIANT : IUnknown + { + HRESULT Next( + [in] unsigned long celt, + [in] VARIANT *rgvar, + [out] unsigned long *pceltFetched); + + HRESULT Skip( + [in] unsigned long celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumVARIANT **ppenum); + } + + typedef [uuid(66504301-BE0F-101A-8BBB-00AA00300CAB), public] + unsigned long OLE_COLOR; + + typedef [uuid(66504302-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_XPOS_PIXELS; + + typedef [uuid(66504303-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_YPOS_PIXELS; + + typedef [uuid(66504304-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_XSIZE_PIXELS; + + typedef [uuid(66504305-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_YSIZE_PIXELS; + + typedef [uuid(66504306-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_XPOS_HIMETRIC; + + typedef [uuid(66504307-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_YPOS_HIMETRIC; + + typedef [uuid(66504308-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_XSIZE_HIMETRIC; + + typedef [uuid(66504309-BE0F-101A-8BBB-00AA00300CAB), public] + long OLE_YSIZE_HIMETRIC; + + typedef [uuid(BF030640-9069-101B-AE2D-08002B2EC713), public] + float OLE_XPOS_CONTAINER; + + typedef [uuid(BF030641-9069-101B-AE2D-08002B2EC713), public] + float OLE_YPOS_CONTAINER; + + typedef [uuid(BF030642-9069-101B-AE2D-08002B2EC713), public] + float OLE_XSIZE_CONTAINER; + + typedef [uuid(BF030643-9069-101B-AE2D-08002B2EC713), public] + float OLE_YSIZE_CONTAINER; + + typedef [uuid(66504313-BE0F-101A-8BBB-00AA00300CAB), public] + int OLE_HANDLE; + + typedef [uuid(6650430B-BE0F-101A-8BBB-00AA00300CAB), public] + VARIANT_BOOL OLE_OPTEXCLUSIVE; + + typedef [uuid(BF030644-9069-101B-AE2D-08002B2EC713), public] + VARIANT_BOOL OLE_CANCELBOOL; + + typedef [uuid(BF030645-9069-101B-AE2D-08002B2EC713), public] + VARIANT_BOOL OLE_ENABLEDEFAULTBOOL; + + [ + uuid(6650430A-BE0F-101A-8BBB-00AA00300CAB) + ] + enum OLE_TRISTATE { + Unchecked = 0, + Checked = 1, + Gray = 2 + }; + + typedef [uuid(6650430D-BE0F-101A-8BBB-00AA00300CAB), public] + BSTR FONTNAME; + + typedef [uuid(6650430E-BE0F-101A-8BBB-00AA00300CAB), public] + CURRENCY FONTSIZE; + + typedef [uuid(6650430F-BE0F-101A-8BBB-00AA00300CAB), public] + VARIANT_BOOL FONTBOLD; + + typedef [uuid(66504310-BE0F-101A-8BBB-00AA00300CAB), public] + VARIANT_BOOL FONTITALIC; + + typedef [uuid(66504311-BE0F-101A-8BBB-00AA00300CAB), public] + VARIANT_BOOL FONTUNDERSCORE; + + typedef [uuid(66504312-BE0F-101A-8BBB-00AA00300CAB), public] + VARIANT_BOOL FONTSTRIKETHROUGH; + + + [ + odl, + uuid(BEF6E002-A874-101A-8BBA-00AA00300CAB), + helpstring("Font Object"), + hidden + ] + interface IFont : IUnknown { + [propget] HRESULT Name([out, retval] BSTR *pname); + [propput] HRESULT Name([in] BSTR pname); + + [propget] HRESULT Size([out, retval] CURRENCY *psize); + [propput] HRESULT Size([in] CURRENCY psize); + + [propget] HRESULT Bold([out, retval] VARIANT_BOOL *pbold); + [propput] HRESULT Bold([in] VARIANT_BOOL pbold); + + [propget] HRESULT Italic([out, retval] VARIANT_BOOL *pitalic); + [propput] HRESULT Italic([in] VARIANT_BOOL pitalic); + + [propget] HRESULT Underline([out, retval] VARIANT_BOOL *punderline); + [propput] HRESULT Underline([in] VARIANT_BOOL punderline); + + [propget] HRESULT Strikethrough([out, retval] VARIANT_BOOL *pstrikethrough); + [propput] HRESULT Strikethrough([in] VARIANT_BOOL pstrikethrough); + + [propget] HRESULT Weight([out, retval] short *pweight); + [propput] HRESULT Weight([in] short pweight); + + [propget] HRESULT Charset([out, retval] short *pcharset); + [propput] HRESULT Charset([in] short pcharset); + + [propget] HRESULT hFont([out, retval] OLE_HANDLE *phfont); + + HRESULT Clone([out] IFont **ppfont); + + HRESULT IsEqual([in] IFont *pfontOther); + + HRESULT SetRatio([in] long cyLogical, [in] long cyHimetric); + + HRESULT AddRefHfont([in] OLE_HANDLE hFont); + + HRESULT ReleaseHfont([in] OLE_HANDLE hFont); + }; + + + [ + odl, + uuid(BEF6E003-A874-101A-8BBA-00AA00300CAB) + ] + dispinterface Font { + properties: + [id(DISPID_FONT_NAME)] BSTR Name; + [id(DISPID_FONT_SIZE)] CURRENCY Size; + [id(DISPID_FONT_BOLD)] VARIANT_BOOL Bold; + [id(DISPID_FONT_ITALIC)] VARIANT_BOOL Italic; + [id(DISPID_FONT_UNDER)] VARIANT_BOOL Underline; + [id(DISPID_FONT_STRIKE)] VARIANT_BOOL Strikethrough; + [id(DISPID_FONT_WEIGHT)] short Weight; + [id(DISPID_FONT_CHARSET)] short Charset; + methods: + } + + typedef [public] Font IFontDisp; + + [ + uuid(0BE35203-8F91-11CE-9DE3-00AA004BB851) + ] + coclass StdFont { + [default] dispinterface Font; + /* FIXME: We can't reference dispinterface FontEvents here because we need it to + appear at the end of the typelib. */ +/* [default, source] dispinterface FontEvents;*/ + interface IFont; + }; + + [ + odl, + uuid(7BF80980-BF32-101A-8BBB-00AA00300CAB), + helpstring("Picture Object"), + hidden + ] + interface IPicture : IUnknown { + [propget] HRESULT Handle([out, retval] OLE_HANDLE *phandle); + + [propget] HRESULT hPal([out, retval] OLE_HANDLE *phpal); + + [propget] HRESULT Type([out, retval] short *ptype); + + [propget] HRESULT Width([out, retval] OLE_XSIZE_HIMETRIC *pwidth); + + [propget] HRESULT Height([out, retval] OLE_YSIZE_HIMETRIC *pheight); + + HRESULT Render([in] int hdc, + [in] long x, + [in] long y, + [in] long cx, + [in] long cy, + [in] OLE_XPOS_HIMETRIC xSrc, + [in] OLE_YPOS_HIMETRIC ySrc, + [in] OLE_XSIZE_HIMETRIC cxSrc, + [in] OLE_YSIZE_HIMETRIC cySrc, + [in] void *prcWBounds); + + [propput] HRESULT hPal([in] OLE_HANDLE phpal); + + [propget] HRESULT CurDC([out, retval] int *phdcOut); + + HRESULT SelectPicture([in] int hdcIn, + [out] int *phdcOut, + [out] OLE_HANDLE *phbmpOut); + + [propget] HRESULT KeepOriginalFormat([out, retval] VARIANT_BOOL *pfkeep); + [propput] HRESULT KeepOriginalFormat([in] VARIANT_BOOL pfkeep); + + HRESULT PictureChanged(); + + HRESULT SaveAsFile([in] void *pstm, + [in] VARIANT_BOOL fSaveMemCopy, + [out] long *pcbSize); + + [propget] HRESULT Attributes([out, retval] long *pdwAttr); + + HRESULT SetHdc([in] OLE_HANDLE hdc); + }; + + [ + uuid(7BF80981-BF32-101A-8BBB-00AA00300CAB) + ] + dispinterface Picture { + properties: + [id(DISPID_PICT_HANDLE), readonly] OLE_HANDLE Handle; + [id(DISPID_PICT_HPAL)] OLE_HANDLE hPal; + [id(DISPID_PICT_TYPE), readonly] short Type; + [id(DISPID_PICT_WIDTH), readonly] OLE_XSIZE_HIMETRIC Width; + [id(DISPID_PICT_HEIGHT), readonly] OLE_YSIZE_HIMETRIC Height; + methods: + [id(DISPID_PICT_RENDER)] + void Render(int hdc, + long x, + long y, + long cx, + long cy, + OLE_XPOS_HIMETRIC xSrc, + OLE_YPOS_HIMETRIC ySrc, + OLE_XSIZE_HIMETRIC cxSrc, + OLE_YSIZE_HIMETRIC cySrc, + void *prcWBounds); + }; + + typedef [public] Picture IPictureDisp; + + [ + uuid(0BE35204-8F91-11CE-9DE3-00AA004BB851) + ] + coclass StdPicture { + [default] dispinterface Picture; + interface IPicture; + }; + + [ + uuid(E6C8FA08-BD9F-11D0-985E-00C04FC29993) + ] + enum LoadPictureConstants { + Default = 0, + Monochrome = 1, + VgaColor = 2, + Color = 4 + }; + + [ + dllname("oleaut32.dll"), + uuid(91209AC0-60F6-11CF-9C5D-00AA00C1489E), + helpstring("Functions for Standard OLE Objects"), + helpcontext(0x2775) + ] + module StdFunctions{ + [ + entry("OleLoadPictureFileEx"), + helpstring("Loads a picture from a file"), + helpcontext(0x2775) + ] + HRESULT LoadPicture([in, optional] VARIANT filename, + [in, defaultvalue(0)] int widthDesired, + [in, defaultvalue(0)] int heightDesired, + [in, defaultvalue(Default)] enum LoadPictureConstants flags, + [out, retval] IPictureDisp **retval); + [ + entry("OleSavePictureFile"), + helpstring("Saves a picture to a file"), + helpcontext(0x2775) + ] + HRESULT SavePicture([in] IPictureDisp *Picture, + [in] BSTR filename); + }; + + + [ + uuid(4EF6100A-AF88-11D0-9846-00C04FC29993), + helpstring("Event Interface for the Font Object"), + hidden + ] + dispinterface FontEvents { + properties: + methods: + [id(DISPID_FONT_CHANGED)] void FontChanged([in] BSTR PropertyName); + }; + + typedef [public] FontEvents IFontEventsDisp; + + +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/stgprop.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/stgprop.h new file mode 100644 index 0000000..5688a0b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/stgprop.h @@ -0,0 +1,43 @@ +/* + * Copyright 2017 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_STGPROP_H__ +#define __WINE_STGPROP_H__ + +#define PSGUID_STORAGE {0xb725f130, 0x47ef, 0x101a, {0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac}} +#define PID_STG_DIRECTORY ((PROPID)0x02) +#define PID_STG_CLASSID ((PROPID)0x03) +#define PID_STG_STORAGETYPE ((PROPID)0x04) +#define PID_STG_VOLUME_ID ((PROPID)0x05) +#define PID_STG_PARENT_WORKID ((PROPID)0x06) +#define PID_STG_SECONDARYSTORE ((PROPID)0x07) +#define PID_STG_FILEINDEX ((PROPID)0x08) +#define PID_STG_LASTCHANGEUSN ((PROPID)0x09) +#define PID_STG_NAME ((PROPID)0x0a) +#define PID_STG_PATH ((PROPID)0x0b) +#define PID_STG_SIZE ((PROPID)0x0c) +#define PID_STG_ATTRIBUTES ((PROPID)0x0d) +#define PID_STG_WRITETIME ((PROPID)0x0e) +#define PID_STG_CREATETIME ((PROPID)0x0f) +#define PID_STG_ACCESSTIME ((PROPID)0x10) +#define PID_STG_CHANGETIME ((PROPID)0x11) +#define PID_STG_CONTENTS ((PROPID)0x13) +#define PID_STG_SHORTNAME ((PROPID)0x14) +#define PID_STG_MAX PID_STG_SHORTNAME + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sti.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sti.h new file mode 100644 index 0000000..cda2c1c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/sti.h @@ -0,0 +1,181 @@ +/* + * Copyright (C) 2009 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_STI_H +#define __WINE_STI_H + +#include +/* #include */ +/* #include */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DEFINE_GUID(CLSID_Sti, 0xB323F8E0, 0x2E68, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C); + +DEFINE_GUID(IID_IStillImageW, 0x641BD880, 0x2DC8, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C); + +DEFINE_GUID(IID_IStillImageA, 0xA7B1F740, 0x1D7F, 0x11D1, 0xAC, 0xA9, 0x00, 0xA0, 0x24, 0x38, 0xAD, 0x48); + +#define STI_VERSION_REAL 0x00000002 +#define STI_VERSION_FLAG_UNICODE 0x01000000 + +#ifndef WINE_NO_UNICODE_MACROS +# ifdef UNICODE +# define STI_VERSION (STI_VERSION_REAL | STI_VERSION_FLAG_UNICODE) +# else +# define STI_VERSION (STI_VERSION_REAL) +# endif +#endif + +typedef struct IStillImageA *PSTIA; +typedef struct IStillImageW *PSTIW; +DECL_WINELIB_TYPE_AW(PSTI) +typedef struct IStillImageA *LPSTILLIMAGEA; +typedef struct IStillImageW *LPSTILLIMAGEW; +DECL_WINELIB_TYPE_AW(LPSTILLIMAGE) +typedef struct IStiDeviceA *PSTIDEVICEA; +typedef struct IStiDeviceW *PSTIDEVICEW; +DECL_WINELIB_TYPE_AW(PSTIDEVICE) + +HRESULT WINAPI StiCreateInstanceA(HINSTANCE hinst, DWORD dwVer, PSTIA *ppSti, LPUNKNOWN pUnkOuter); +HRESULT WINAPI StiCreateInstanceW(HINSTANCE hinst, DWORD dwVer, PSTIW *ppSti, LPUNKNOWN pUnkOuter); +#define StiCreateInstance WINELIB_NAME_AW(StiCreateInstance) + +typedef DWORD STI_DEVICE_TYPE; +typedef enum _STI_DEVICE_MJ_TYPE +{ + StiDeviceTypeDefault = 0, + StiDeviceTypeScanner = 1, + StiDeviceTypeDigitalCamera = 2, + StiDeviceTypeStreamingVideo = 3 +} STI_DEVICE_MJ_TYPE; + +#define GET_STIDEVICE_TYPE(dwDevType) HIWORD(dwDevType) +#define GET_STIDEVICE_SUBTYPE(dwDevType) LOWORD(dwDevType) + +typedef struct _STI_DEV_CAPS { + DWORD dwGeneric; +} STI_DEV_CAPS, *PSTI_DEV_CAPS; + +#define STI_MAX_INTERNAL_NAME_LENGTH 128 + +typedef struct _STI_DEVICE_INFORMATIONW { + DWORD dwSize; + STI_DEVICE_TYPE DeviceType; + WCHAR szDeviceInternalName[STI_MAX_INTERNAL_NAME_LENGTH]; + STI_DEV_CAPS DeviceCapabilities; + DWORD dwHardwareConfiguration; + LPWSTR pszVendorDescription; + LPWSTR pszDeviceDescription; + LPWSTR pszPortName; + LPWSTR pszPropProvider; + LPWSTR pszLocalName; +} STI_DEVICE_INFORMATIONW, *PSTI_DEVICE_INFORMATIONW; + +typedef STI_DEVICE_INFORMATIONW STI_DEVICE_INFORMATION; +typedef PSTI_DEVICE_INFORMATIONW PSTI_DEVICE_INFORMATION; + +#define MAX_NOTIFICATION_DATA 64 + +typedef struct _STINOTIFY { + DWORD dwSize; + GUID guidNotificationCode; + BYTE abNotificationData[MAX_NOTIFICATION_DATA]; +} STINOTIFY,*LPSTINOTIFY; + +#define INTERFACE IStillImageW +DECLARE_INTERFACE_(IStillImageW, IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IStillImageW methods ***/ + STDMETHOD(Initialize)(THIS_ HINSTANCE hinst, DWORD dwVersion) PURE; + STDMETHOD(GetDeviceList)(THIS_ DWORD dwType, DWORD dwFlags, DWORD *pdwItemsReturned, LPVOID *ppBuffer) PURE; + STDMETHOD(GetDeviceInfo)(THIS_ LPWSTR pwszDeviceName, LPVOID *ppBuffer) PURE; + STDMETHOD(CreateDevice)(THIS_ LPWSTR pwszDeviceName, DWORD dwMode, PSTIDEVICEW *pDevice, LPUNKNOWN pUnkOuter) PURE; + STDMETHOD(GetDeviceValue)(THIS_ LPWSTR pwszDeviceName, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, LPDWORD cbData) PURE; + STDMETHOD(SetDeviceValue)(THIS_ LPWSTR pwszDeviceName, LPWSTR pValueName, DWORD type, LPBYTE pData, DWORD cbData) PURE; + STDMETHOD(GetSTILaunchInformation)(THIS_ LPWSTR pwszDeviceName, DWORD *pdwEventCode, LPWSTR pwszEventName) PURE; + STDMETHOD(RegisterLaunchApplication)(THIS_ LPWSTR pwszAppName, LPWSTR pwszCommandLine) PURE; + STDMETHOD(UnregisterLaunchApplication)(THIS_ LPWSTR pwszAppName) PURE; + STDMETHOD(EnableHwNotifications)(THIS_ LPCWSTR pwszDeviceName, BOOL bNewState) PURE; + STDMETHOD(GetHwNotificationState)(THIS_ LPCWSTR pwszDeviceName, BOOL *pbCurrentState) PURE; + STDMETHOD(RefreshDeviceBus)(THIS_ LPCWSTR pwszDeviceName) PURE; + STDMETHOD(LaunchApplicationForDevice)(THIS_ LPWSTR pwszDeviceName, LPWSTR pwszAppName, LPSTINOTIFY pStiNotify); + STDMETHOD(SetupDeviceParameters)(THIS_ PSTI_DEVICE_INFORMATIONW pDevInfo); + STDMETHOD(WriteToErrorLog)(THIS_ DWORD dwMessageType, LPCWSTR pszMessage) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IStillImage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IStillImage_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IStillImage_Release(p) (p)->lpVtbl->Release(p) +/*** IStillImage methods ***/ +#define IStillImage_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b) +#define IStillImage_GetDeviceList(p,a,b,c,d) (p)->lpVtbl->GetDeviceList(p,a,b,c,d) +#define IStillImage_GetDeviceInfo(p,a,b) (p)->lpVtbl->GetDeviceInfo(p,a,b) +#define IStillImage_CreateDevice(p,a,b,c,d) (p)->lpVtbl->CreateDevice(p,a,b,c,d) +#define IStillImage_GetDeviceValue(p,a,b,c,d,e) (p)->lpVtbl->GetDeviceValue(p,a,b,c,d,e) +#define IStillImage_SetDeviceValue(p,a,b,c,d,e) (p)->lpVtbl->SetDeviceValue(p,a,b,c,d,e) +#define IStillImage_GetSTILaunchInformation(p,a,b,c) (p)->lpVtbl->GetSTILaunchInformation(p,a,b,c) +#define IStillImage_RegisterLaunchApplication(p,a,b) (p)->lpVtbl->RegisterLaunchApplication(p,a,b) +#define IStillImage_UnregisterLaunchApplication(p,a) (p)->lpVtbl->UnregisterLaunchApplication(p,a) +#define IStillImage_EnableHwNotifications(p,a,b) (p)->lpVtbl->EnableHwNotifications(p,a,b) +#define IStillImage_GetHwNotificationState(p,a,b) (p)->lpVtbl->GetHwNotificationState(p,a,b) +#define IStillImage_RefreshDeviceBus(p,a) (p)->lpVtbl->RefreshDeviceBus(p,a) +#define IStillImage_LaunchApplicationForDevice(p,a,b,c) (p)->lpVtbl->LaunchApplicationForDevice(p,a,b,c) +#define IStillImage_SetupDeviceParameters(p,a) (p)->lpVtbl->SetupDeviceParameters(p,a) +#define IStillImage_WriteToErrorLog(p,a,b) (p)->lpVtbl->WriteToErrorLog(p,a,b) +#else +/*** IUnknown methods ***/ +#define IStillImage_QueryInterface(p,a,b) (p)->QueryInterface(a,b) +#define IStillImage_AddRef(p) (p)->AddRef() +#define IStillImage_Release(p) (p)->Release() +/*** IStillImage methods ***/ +#define IStillImage_Initialize(p,a,b) (p)->Initialize(a,b) +#define IStillImage_GetDeviceList(p,a,b,c,d) (p)->GetDeviceList(a,b,c,d) +#define IStillImage_GetDeviceInfo(p,a,b) (p)->GetDeviceInfo(a,b) +#define IStillImage_CreateDevice(p,a,b,c,d) (p)->CreateDevice(a,b,c,d) +#define IStillImage_GetDeviceValue(p,a,b,c,d,e) (p)->GetDeviceValue(a,b,c,d,e) +#define IStillImage_SetDeviceValue(p,a,b,c,d,e) (p)->SetDeviceValue(a,b,c,d,e) +#define IStillImage_GetSTILaunchInformation(p,a,b,c) (p)->GetSTILaunchInformation(a,b,c) +#define IStillImage_RegisterLaunchApplication(p,a,b) (p)->RegisterLaunchApplication(a,b) +#define IStillImage_UnregisterLaunchApplication(p,a) (p)->UnregisterLaunchApplication(a) +#define IStillImage_EnableHwNotifications(p,a,b) (p)->EnableHwNotifications(a,b) +#define IStillImage_GetHwNotificationState(p,a,b) (p)->GetHwNotificationState(a,b) +#define IStillImage_RefreshDeviceBus(p,a) (p)->RefreshDeviceBus(a) +#define IStillImage_LaunchApplicationForDevice(p,a,b,c) (p)->LaunchApplicationForDevice(a,b,c) +#define IStillImage_SetupDeviceParameters(p,a) (p)->SetupDeviceParameters(a) +#define IStillImage_WriteToErrorLog(p,a,b) (p)->WriteToErrorLog(a,b) +#endif + +#ifdef __cplusplus +}; +#endif + +#include + +#endif /* __WINE_STI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/storage.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/storage.h new file mode 100644 index 0000000..e60c622 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/storage.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 1999 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_STORAGE_H +#define __WINE_STORAGE_H + +/* "storage.h" is obsolete, you should include "objbase.h" instead */ + +#include + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strmif.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strmif.h new file mode 100644 index 0000000..41989f9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strmif.h @@ -0,0 +1,11634 @@ +/*** Autogenerated by WIDL 2.18 from strmif.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __strmif_h__ +#define __strmif_h__ + +/* Forward declarations */ + +#ifndef __ICreateDevEnum_FWD_DEFINED__ +#define __ICreateDevEnum_FWD_DEFINED__ +typedef interface ICreateDevEnum ICreateDevEnum; +#ifdef __cplusplus +interface ICreateDevEnum; +#endif /* __cplusplus */ +#endif + +#ifndef __IPin_FWD_DEFINED__ +#define __IPin_FWD_DEFINED__ +typedef interface IPin IPin; +#ifdef __cplusplus +interface IPin; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumPins_FWD_DEFINED__ +#define __IEnumPins_FWD_DEFINED__ +typedef interface IEnumPins IEnumPins; +#ifdef __cplusplus +interface IEnumPins; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumMediaTypes_FWD_DEFINED__ +#define __IEnumMediaTypes_FWD_DEFINED__ +typedef interface IEnumMediaTypes IEnumMediaTypes; +#ifdef __cplusplus +interface IEnumMediaTypes; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterGraph_FWD_DEFINED__ +#define __IFilterGraph_FWD_DEFINED__ +typedef interface IFilterGraph IFilterGraph; +#ifdef __cplusplus +interface IFilterGraph; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumFilters_FWD_DEFINED__ +#define __IEnumFilters_FWD_DEFINED__ +typedef interface IEnumFilters IEnumFilters; +#ifdef __cplusplus +interface IEnumFilters; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaFilter_FWD_DEFINED__ +#define __IMediaFilter_FWD_DEFINED__ +typedef interface IMediaFilter IMediaFilter; +#ifdef __cplusplus +interface IMediaFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IBaseFilter_FWD_DEFINED__ +#define __IBaseFilter_FWD_DEFINED__ +typedef interface IBaseFilter IBaseFilter; +#ifdef __cplusplus +interface IBaseFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IReferenceClock_FWD_DEFINED__ +#define __IReferenceClock_FWD_DEFINED__ +typedef interface IReferenceClock IReferenceClock; +#ifdef __cplusplus +interface IReferenceClock; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaSample_FWD_DEFINED__ +#define __IMediaSample_FWD_DEFINED__ +typedef interface IMediaSample IMediaSample; +#ifdef __cplusplus +interface IMediaSample; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaSample2_FWD_DEFINED__ +#define __IMediaSample2_FWD_DEFINED__ +typedef interface IMediaSample2 IMediaSample2; +#ifdef __cplusplus +interface IMediaSample2; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemAllocator_FWD_DEFINED__ +#define __IMemAllocator_FWD_DEFINED__ +typedef interface IMemAllocator IMemAllocator; +#ifdef __cplusplus +interface IMemAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemAllocatorCallbackTemp_FWD_DEFINED__ +#define __IMemAllocatorCallbackTemp_FWD_DEFINED__ +typedef interface IMemAllocatorCallbackTemp IMemAllocatorCallbackTemp; +#ifdef __cplusplus +interface IMemAllocatorCallbackTemp; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemAllocatorNotifyCallbackTemp_FWD_DEFINED__ +#define __IMemAllocatorNotifyCallbackTemp_FWD_DEFINED__ +typedef interface IMemAllocatorNotifyCallbackTemp IMemAllocatorNotifyCallbackTemp; +#ifdef __cplusplus +interface IMemAllocatorNotifyCallbackTemp; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemInputPin_FWD_DEFINED__ +#define __IMemInputPin_FWD_DEFINED__ +typedef interface IMemInputPin IMemInputPin; +#ifdef __cplusplus +interface IMemInputPin; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMovieSetup_FWD_DEFINED__ +#define __IAMovieSetup_FWD_DEFINED__ +typedef interface IAMovieSetup IAMovieSetup; +#ifdef __cplusplus +interface IAMovieSetup; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaSeeking_FWD_DEFINED__ +#define __IMediaSeeking_FWD_DEFINED__ +typedef interface IMediaSeeking IMediaSeeking; +#ifdef __cplusplus +interface IMediaSeeking; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMStreamSelect_FWD_DEFINED__ +#define __IAMStreamSelect_FWD_DEFINED__ +typedef interface IAMStreamSelect IAMStreamSelect; +#ifdef __cplusplus +interface IAMStreamSelect; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumRegFilters_FWD_DEFINED__ +#define __IEnumRegFilters_FWD_DEFINED__ +typedef interface IEnumRegFilters IEnumRegFilters; +#ifdef __cplusplus +interface IEnumRegFilters; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterMapper_FWD_DEFINED__ +#define __IFilterMapper_FWD_DEFINED__ +typedef interface IFilterMapper IFilterMapper; +#ifdef __cplusplus +interface IFilterMapper; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterMapper2_FWD_DEFINED__ +#define __IFilterMapper2_FWD_DEFINED__ +typedef interface IFilterMapper2 IFilterMapper2; +#ifdef __cplusplus +interface IFilterMapper2; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterMapper3_FWD_DEFINED__ +#define __IFilterMapper3_FWD_DEFINED__ +typedef interface IFilterMapper3 IFilterMapper3; +#ifdef __cplusplus +interface IFilterMapper3; +#endif /* __cplusplus */ +#endif + +#ifndef __IQualityControl_FWD_DEFINED__ +#define __IQualityControl_FWD_DEFINED__ +typedef interface IQualityControl IQualityControl; +#ifdef __cplusplus +interface IQualityControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IOverlayNotify_FWD_DEFINED__ +#define __IOverlayNotify_FWD_DEFINED__ +typedef interface IOverlayNotify IOverlayNotify; +#ifdef __cplusplus +interface IOverlayNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IOverlayNotify2_FWD_DEFINED__ +#define __IOverlayNotify2_FWD_DEFINED__ +typedef interface IOverlayNotify2 IOverlayNotify2; +#ifdef __cplusplus +interface IOverlayNotify2; +#endif /* __cplusplus */ +#endif + +#ifndef __IOverlay_FWD_DEFINED__ +#define __IOverlay_FWD_DEFINED__ +typedef interface IOverlay IOverlay; +#ifdef __cplusplus +interface IOverlay; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaEventSink_FWD_DEFINED__ +#define __IMediaEventSink_FWD_DEFINED__ +typedef interface IMediaEventSink IMediaEventSink; +#ifdef __cplusplus +interface IMediaEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSourceFilter_FWD_DEFINED__ +#define __IFileSourceFilter_FWD_DEFINED__ +typedef interface IFileSourceFilter IFileSourceFilter; +#ifdef __cplusplus +interface IFileSourceFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSinkFilter_FWD_DEFINED__ +#define __IFileSinkFilter_FWD_DEFINED__ +typedef interface IFileSinkFilter IFileSinkFilter; +#ifdef __cplusplus +interface IFileSinkFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSinkFilter2_FWD_DEFINED__ +#define __IFileSinkFilter2_FWD_DEFINED__ +typedef interface IFileSinkFilter2 IFileSinkFilter2; +#ifdef __cplusplus +interface IFileSinkFilter2; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphBuilder_FWD_DEFINED__ +#define __IGraphBuilder_FWD_DEFINED__ +typedef interface IGraphBuilder IGraphBuilder; +#ifdef __cplusplus +interface IGraphBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __ICaptureGraphBuilder_FWD_DEFINED__ +#define __ICaptureGraphBuilder_FWD_DEFINED__ +typedef interface ICaptureGraphBuilder ICaptureGraphBuilder; +#ifdef __cplusplus +interface ICaptureGraphBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMCopyCaptureFileProgress_FWD_DEFINED__ +#define __IAMCopyCaptureFileProgress_FWD_DEFINED__ +typedef interface IAMCopyCaptureFileProgress IAMCopyCaptureFileProgress; +#ifdef __cplusplus +interface IAMCopyCaptureFileProgress; +#endif /* __cplusplus */ +#endif + +#ifndef __ICaptureGraphBuilder2_FWD_DEFINED__ +#define __ICaptureGraphBuilder2_FWD_DEFINED__ +typedef interface ICaptureGraphBuilder2 ICaptureGraphBuilder2; +#ifdef __cplusplus +interface ICaptureGraphBuilder2; +#endif /* __cplusplus */ +#endif + +#ifndef __IConfigAviMux_FWD_DEFINED__ +#define __IConfigAviMux_FWD_DEFINED__ +typedef interface IConfigAviMux IConfigAviMux; +#ifdef __cplusplus +interface IConfigAviMux; +#endif /* __cplusplus */ +#endif + +#ifndef __IConfigInterleaving_FWD_DEFINED__ +#define __IConfigInterleaving_FWD_DEFINED__ +typedef interface IConfigInterleaving IConfigInterleaving; +#ifdef __cplusplus +interface IConfigInterleaving; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMClockSlave_FWD_DEFINED__ +#define __IAMClockSlave_FWD_DEFINED__ +typedef interface IAMClockSlave IAMClockSlave; +#ifdef __cplusplus +interface IAMClockSlave; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMCertifiedOutputProtection_FWD_DEFINED__ +#define __IAMCertifiedOutputProtection_FWD_DEFINED__ +typedef interface IAMCertifiedOutputProtection IAMCertifiedOutputProtection; +#ifdef __cplusplus +interface IAMCertifiedOutputProtection; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterGraph2_FWD_DEFINED__ +#define __IFilterGraph2_FWD_DEFINED__ +typedef interface IFilterGraph2 IFilterGraph2; +#ifdef __cplusplus +interface IFilterGraph2; +#endif /* __cplusplus */ +#endif + +#ifndef __IStreamBuilder_FWD_DEFINED__ +#define __IStreamBuilder_FWD_DEFINED__ +typedef interface IStreamBuilder IStreamBuilder; +#ifdef __cplusplus +interface IStreamBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMStreamConfig_FWD_DEFINED__ +#define __IAMStreamConfig_FWD_DEFINED__ +typedef interface IAMStreamConfig IAMStreamConfig; +#ifdef __cplusplus +interface IAMStreamConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVideoProcAmp_FWD_DEFINED__ +#define __IAMVideoProcAmp_FWD_DEFINED__ +typedef interface IAMVideoProcAmp IAMVideoProcAmp; +#ifdef __cplusplus +interface IAMVideoProcAmp; +#endif /* __cplusplus */ +#endif + +#ifndef __IAsyncReader_FWD_DEFINED__ +#define __IAsyncReader_FWD_DEFINED__ +typedef interface IAsyncReader IAsyncReader; +#ifdef __cplusplus +interface IAsyncReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphVersion_FWD_DEFINED__ +#define __IGraphVersion_FWD_DEFINED__ +typedef interface IGraphVersion IGraphVersion; +#ifdef __cplusplus +interface IGraphVersion; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceConsumer_FWD_DEFINED__ +#define __IResourceConsumer_FWD_DEFINED__ +typedef interface IResourceConsumer IResourceConsumer; +#ifdef __cplusplus +interface IResourceConsumer; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManager_FWD_DEFINED__ +#define __IResourceManager_FWD_DEFINED__ +typedef interface IResourceManager IResourceManager; +#ifdef __cplusplus +interface IResourceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMStreamControl_FWD_DEFINED__ +#define __IAMStreamControl_FWD_DEFINED__ +typedef interface IAMStreamControl IAMStreamControl; +#ifdef __cplusplus +interface IAMStreamControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IKsPropertySet_FWD_DEFINED__ +#define __IKsPropertySet_FWD_DEFINED__ +typedef interface IKsPropertySet IKsPropertySet; +#ifdef __cplusplus +interface IKsPropertySet; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaPropertyBag_FWD_DEFINED__ +#define __IMediaPropertyBag_FWD_DEFINED__ +typedef interface IMediaPropertyBag IMediaPropertyBag; +#ifdef __cplusplus +interface IMediaPropertyBag; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistMediaPropertyBag_FWD_DEFINED__ +#define __IPersistMediaPropertyBag_FWD_DEFINED__ +typedef interface IPersistMediaPropertyBag IPersistMediaPropertyBag; +#ifdef __cplusplus +interface IPersistMediaPropertyBag; +#endif /* __cplusplus */ +#endif + +#ifndef __ISeekingPassThru_FWD_DEFINED__ +#define __ISeekingPassThru_FWD_DEFINED__ +typedef interface ISeekingPassThru ISeekingPassThru; +#ifdef __cplusplus +interface ISeekingPassThru; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMFilterMiscFlags_FWD_DEFINED__ +#define __IAMFilterMiscFlags_FWD_DEFINED__ +typedef interface IAMFilterMiscFlags IAMFilterMiscFlags; +#ifdef __cplusplus +interface IAMFilterMiscFlags; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMGraphBuilderCallback_FWD_DEFINED__ +#define __IAMGraphBuilderCallback_FWD_DEFINED__ +typedef interface IAMGraphBuilderCallback IAMGraphBuilderCallback; +#ifdef __cplusplus +interface IAMGraphBuilderCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVfwCaptureDialogs_FWD_DEFINED__ +#define __IAMVfwCaptureDialogs_FWD_DEFINED__ +typedef interface IAMVfwCaptureDialogs IAMVfwCaptureDialogs; +#ifdef __cplusplus +interface IAMVfwCaptureDialogs; +#endif /* __cplusplus */ +#endif + +#ifndef __IPinConnection_FWD_DEFINED__ +#define __IPinConnection_FWD_DEFINED__ +typedef interface IPinConnection IPinConnection; +#ifdef __cplusplus +interface IPinConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __IPinFlowControl_FWD_DEFINED__ +#define __IPinFlowControl_FWD_DEFINED__ +typedef interface IPinFlowControl IPinFlowControl; +#ifdef __cplusplus +interface IPinFlowControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphConfig_FWD_DEFINED__ +#define __IGraphConfig_FWD_DEFINED__ +typedef interface IGraphConfig IGraphConfig; +#ifdef __cplusplus +interface IGraphConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphConfigCallback_FWD_DEFINED__ +#define __IGraphConfigCallback_FWD_DEFINED__ +typedef interface IGraphConfigCallback IGraphConfigCallback; +#ifdef __cplusplus +interface IGraphConfigCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterChain_FWD_DEFINED__ +#define __IFilterChain_FWD_DEFINED__ +typedef interface IFilterChain IFilterChain; +#ifdef __cplusplus +interface IFilterChain; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenter_FWD_DEFINED__ +#define __IVMRImagePresenter_FWD_DEFINED__ +typedef interface IVMRImagePresenter IVMRImagePresenter; +#ifdef __cplusplus +interface IVMRImagePresenter; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocator_FWD_DEFINED__ +#define __IVMRSurfaceAllocator_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocator IVMRSurfaceAllocator; +#ifdef __cplusplus +interface IVMRSurfaceAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocatorNotify_FWD_DEFINED__ +#define __IVMRSurfaceAllocatorNotify_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocatorNotify IVMRSurfaceAllocatorNotify; +#ifdef __cplusplus +interface IVMRSurfaceAllocatorNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRWindowlessControl_FWD_DEFINED__ +#define __IVMRWindowlessControl_FWD_DEFINED__ +typedef interface IVMRWindowlessControl IVMRWindowlessControl; +#ifdef __cplusplus +interface IVMRWindowlessControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerControl_FWD_DEFINED__ +#define __IVMRMixerControl_FWD_DEFINED__ +typedef interface IVMRMixerControl IVMRMixerControl; +#ifdef __cplusplus +interface IVMRMixerControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMonitorConfig_FWD_DEFINED__ +#define __IVMRMonitorConfig_FWD_DEFINED__ +typedef interface IVMRMonitorConfig IVMRMonitorConfig; +#ifdef __cplusplus +interface IVMRMonitorConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRFilterConfig_FWD_DEFINED__ +#define __IVMRFilterConfig_FWD_DEFINED__ +typedef interface IVMRFilterConfig IVMRFilterConfig; +#ifdef __cplusplus +interface IVMRFilterConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRAspectRatioControl_FWD_DEFINED__ +#define __IVMRAspectRatioControl_FWD_DEFINED__ +typedef interface IVMRAspectRatioControl IVMRAspectRatioControl; +#ifdef __cplusplus +interface IVMRAspectRatioControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRDeinterlaceControl_FWD_DEFINED__ +#define __IVMRDeinterlaceControl_FWD_DEFINED__ +typedef interface IVMRDeinterlaceControl IVMRDeinterlaceControl; +#ifdef __cplusplus +interface IVMRDeinterlaceControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerBitmap_FWD_DEFINED__ +#define __IVMRMixerBitmap_FWD_DEFINED__ +typedef interface IVMRMixerBitmap IVMRMixerBitmap; +#ifdef __cplusplus +interface IVMRMixerBitmap; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImageCompositor_FWD_DEFINED__ +#define __IVMRImageCompositor_FWD_DEFINED__ +typedef interface IVMRImageCompositor IVMRImageCompositor; +#ifdef __cplusplus +interface IVMRImageCompositor; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRVideoStreamControl_FWD_DEFINED__ +#define __IVMRVideoStreamControl_FWD_DEFINED__ +typedef interface IVMRVideoStreamControl IVMRVideoStreamControl; +#ifdef __cplusplus +interface IVMRVideoStreamControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenterConfig_FWD_DEFINED__ +#define __IVMRImagePresenterConfig_FWD_DEFINED__ +typedef interface IVMRImagePresenterConfig IVMRImagePresenterConfig; +#ifdef __cplusplus +interface IVMRImagePresenterConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenterExclModeConfig_FWD_DEFINED__ +#define __IVMRImagePresenterExclModeConfig_FWD_DEFINED__ +typedef interface IVMRImagePresenterExclModeConfig IVMRImagePresenterExclModeConfig; +#ifdef __cplusplus +interface IVMRImagePresenterExclModeConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IVPManager_FWD_DEFINED__ +#define __IVPManager_FWD_DEFINED__ +typedef interface IVPManager IVPManager; +#ifdef __cplusplus +interface IVPManager; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define CDEF_CLASS_DEFAULT 0x0001 +#define CDEF_BYPASS_CLASS_MANAGER 0x0002 +#define CDEF_CLASS_LEGACY 0x0004 +#define CDEF_MERIT_ABOVE_DO_NOT_USE 0x0008 +/***************************************************************************** + * ICreateDevEnum interface + */ +#ifndef __ICreateDevEnum_INTERFACE_DEFINED__ +#define __ICreateDevEnum_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICreateDevEnum, 0x29840822, 0x5b84, 0x11d0, 0xbd,0x3b, 0x00,0xa0,0xc9,0x11,0xce,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("29840822-5b84-11d0-bd3b-00a0c911ce86") +ICreateDevEnum : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateClassEnumerator( + REFCLSID clsidDeviceClass, + IEnumMoniker **ppEnumMoniker, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICreateDevEnum, 0x29840822, 0x5b84, 0x11d0, 0xbd,0x3b, 0x00,0xa0,0xc9,0x11,0xce,0x86) +#endif +#else +typedef struct ICreateDevEnumVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICreateDevEnum *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICreateDevEnum *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICreateDevEnum *This); + + /*** ICreateDevEnum methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateClassEnumerator)( + ICreateDevEnum *This, + REFCLSID clsidDeviceClass, + IEnumMoniker **ppEnumMoniker, + DWORD dwFlags); + + END_INTERFACE +} ICreateDevEnumVtbl; + +interface ICreateDevEnum { + CONST_VTBL ICreateDevEnumVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICreateDevEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICreateDevEnum_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICreateDevEnum_Release(This) (This)->lpVtbl->Release(This) +/*** ICreateDevEnum methods ***/ +#define ICreateDevEnum_CreateClassEnumerator(This,clsidDeviceClass,ppEnumMoniker,dwFlags) (This)->lpVtbl->CreateClassEnumerator(This,clsidDeviceClass,ppEnumMoniker,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICreateDevEnum_QueryInterface(ICreateDevEnum* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICreateDevEnum_AddRef(ICreateDevEnum* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICreateDevEnum_Release(ICreateDevEnum* This) { + return This->lpVtbl->Release(This); +} +/*** ICreateDevEnum methods ***/ +static FORCEINLINE HRESULT ICreateDevEnum_CreateClassEnumerator(ICreateDevEnum* This,REFCLSID clsidDeviceClass,IEnumMoniker **ppEnumMoniker,DWORD dwFlags) { + return This->lpVtbl->CreateClassEnumerator(This,clsidDeviceClass,ppEnumMoniker,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __ICreateDevEnum_INTERFACE_DEFINED__ */ + +#define CHARS_IN_GUID 39 +#ifdef WINE_NO_UNICODE_MACROS +#undef GetTimeFormat +#endif +typedef struct _AMMediaType { + GUID majortype; + GUID subtype; + BOOL bFixedSizeSamples; + BOOL bTemporalCompression; + ULONG lSampleSize; + GUID formattype; + IUnknown *pUnk; + ULONG cbFormat; + BYTE *pbFormat; +} AM_MEDIA_TYPE; +typedef enum _PinDirection { + PINDIR_INPUT = 0, + PINDIR_OUTPUT = 1 +} PIN_DIRECTION; +#define MAX_PIN_NAME 128 +#define MAX_FILTER_NAME 128 +#ifndef REFERENCE_TIME_DEFINED +#define REFERENCE_TIME_DEFINED +typedef LONGLONG REFERENCE_TIME; +#endif +#ifndef REFTIME_DEFINED +#define REFTIME_DEFINED +typedef DOUBLE REFTIME; +#endif +typedef DWORD_PTR HSEMAPHORE; +typedef DWORD_PTR HEVENT; +typedef struct _AllocatorProperties { + LONG cBuffers; + LONG cbBuffer; + LONG cbAlign; + LONG cbPrefix; +} ALLOCATOR_PROPERTIES; +#ifndef __IAMovieSetup_FWD_DEFINED__ +#define __IAMovieSetup_FWD_DEFINED__ +typedef interface IAMovieSetup IAMovieSetup; +#ifdef __cplusplus +interface IAMovieSetup; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumFilters_FWD_DEFINED__ +#define __IEnumFilters_FWD_DEFINED__ +typedef interface IEnumFilters IEnumFilters; +#ifdef __cplusplus +interface IEnumFilters; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumMediaTypes_FWD_DEFINED__ +#define __IEnumMediaTypes_FWD_DEFINED__ +typedef interface IEnumMediaTypes IEnumMediaTypes; +#ifdef __cplusplus +interface IEnumMediaTypes; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumPins_FWD_DEFINED__ +#define __IEnumPins_FWD_DEFINED__ +typedef interface IEnumPins IEnumPins; +#ifdef __cplusplus +interface IEnumPins; +#endif /* __cplusplus */ +#endif + +#ifndef __IBaseFilter_FWD_DEFINED__ +#define __IBaseFilter_FWD_DEFINED__ +typedef interface IBaseFilter IBaseFilter; +#ifdef __cplusplus +interface IBaseFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterGraph_FWD_DEFINED__ +#define __IFilterGraph_FWD_DEFINED__ +typedef interface IFilterGraph IFilterGraph; +#ifdef __cplusplus +interface IFilterGraph; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaFilter_FWD_DEFINED__ +#define __IMediaFilter_FWD_DEFINED__ +typedef interface IMediaFilter IMediaFilter; +#ifdef __cplusplus +interface IMediaFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaSample_FWD_DEFINED__ +#define __IMediaSample_FWD_DEFINED__ +typedef interface IMediaSample IMediaSample; +#ifdef __cplusplus +interface IMediaSample; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemAllocator_FWD_DEFINED__ +#define __IMemAllocator_FWD_DEFINED__ +typedef interface IMemAllocator IMemAllocator; +#ifdef __cplusplus +interface IMemAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemAllocatorCallbackTemp_FWD_DEFINED__ +#define __IMemAllocatorCallbackTemp_FWD_DEFINED__ +typedef interface IMemAllocatorCallbackTemp IMemAllocatorCallbackTemp; +#ifdef __cplusplus +interface IMemAllocatorCallbackTemp; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemAllocatorNotifyCallbackTemp_FWD_DEFINED__ +#define __IMemAllocatorNotifyCallbackTemp_FWD_DEFINED__ +typedef interface IMemAllocatorNotifyCallbackTemp IMemAllocatorNotifyCallbackTemp; +#ifdef __cplusplus +interface IMemAllocatorNotifyCallbackTemp; +#endif /* __cplusplus */ +#endif + +#ifndef __IMemInputPin_FWD_DEFINED__ +#define __IMemInputPin_FWD_DEFINED__ +typedef interface IMemInputPin IMemInputPin; +#ifdef __cplusplus +interface IMemInputPin; +#endif /* __cplusplus */ +#endif + +#ifndef __IPin_FWD_DEFINED__ +#define __IPin_FWD_DEFINED__ +typedef interface IPin IPin; +#ifdef __cplusplus +interface IPin; +#endif /* __cplusplus */ +#endif + +#ifndef __IReferenceClock_FWD_DEFINED__ +#define __IReferenceClock_FWD_DEFINED__ +typedef interface IReferenceClock IReferenceClock; +#ifdef __cplusplus +interface IReferenceClock; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IPin interface + */ +#ifndef __IPin_INTERFACE_DEFINED__ +#define __IPin_INTERFACE_DEFINED__ + +typedef struct _PinInfo { + IBaseFilter *pFilter; + PIN_DIRECTION dir; + WCHAR achName[128]; +} PIN_INFO; +DEFINE_GUID(IID_IPin, 0x56a86891, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a86891-0ad4-11ce-b03a-0020af0ba770") +IPin : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Connect( + IPin *pReceivePin, + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReceiveConnection( + IPin *pConnector, + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectedTo( + IPin **pPin) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectionMediaType( + AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryPinInfo( + PIN_INFO *pInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryDirection( + PIN_DIRECTION *pPinDir) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryId( + LPWSTR *Id) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAccept( + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumMediaTypes( + IEnumMediaTypes **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryInternalConnections( + IPin **apPin, + ULONG *nPin) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndOfStream( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginFlush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndFlush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewSegment( + REFERENCE_TIME tStart, + REFERENCE_TIME tStop, + double dRate) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPin, 0x56a86891, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IPinVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPin *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPin *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPin *This); + + /*** IPin methods ***/ + HRESULT (STDMETHODCALLTYPE *Connect)( + IPin *This, + IPin *pReceivePin, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *ReceiveConnection)( + IPin *This, + IPin *pConnector, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IPin *This); + + HRESULT (STDMETHODCALLTYPE *ConnectedTo)( + IPin *This, + IPin **pPin); + + HRESULT (STDMETHODCALLTYPE *ConnectionMediaType)( + IPin *This, + AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *QueryPinInfo)( + IPin *This, + PIN_INFO *pInfo); + + HRESULT (STDMETHODCALLTYPE *QueryDirection)( + IPin *This, + PIN_DIRECTION *pPinDir); + + HRESULT (STDMETHODCALLTYPE *QueryId)( + IPin *This, + LPWSTR *Id); + + HRESULT (STDMETHODCALLTYPE *QueryAccept)( + IPin *This, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *EnumMediaTypes)( + IPin *This, + IEnumMediaTypes **ppEnum); + + HRESULT (STDMETHODCALLTYPE *QueryInternalConnections)( + IPin *This, + IPin **apPin, + ULONG *nPin); + + HRESULT (STDMETHODCALLTYPE *EndOfStream)( + IPin *This); + + HRESULT (STDMETHODCALLTYPE *BeginFlush)( + IPin *This); + + HRESULT (STDMETHODCALLTYPE *EndFlush)( + IPin *This); + + HRESULT (STDMETHODCALLTYPE *NewSegment)( + IPin *This, + REFERENCE_TIME tStart, + REFERENCE_TIME tStop, + double dRate); + + END_INTERFACE +} IPinVtbl; + +interface IPin { + CONST_VTBL IPinVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPin_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPin_Release(This) (This)->lpVtbl->Release(This) +/*** IPin methods ***/ +#define IPin_Connect(This,pReceivePin,pmt) (This)->lpVtbl->Connect(This,pReceivePin,pmt) +#define IPin_ReceiveConnection(This,pConnector,pmt) (This)->lpVtbl->ReceiveConnection(This,pConnector,pmt) +#define IPin_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#define IPin_ConnectedTo(This,pPin) (This)->lpVtbl->ConnectedTo(This,pPin) +#define IPin_ConnectionMediaType(This,pmt) (This)->lpVtbl->ConnectionMediaType(This,pmt) +#define IPin_QueryPinInfo(This,pInfo) (This)->lpVtbl->QueryPinInfo(This,pInfo) +#define IPin_QueryDirection(This,pPinDir) (This)->lpVtbl->QueryDirection(This,pPinDir) +#define IPin_QueryId(This,Id) (This)->lpVtbl->QueryId(This,Id) +#define IPin_QueryAccept(This,pmt) (This)->lpVtbl->QueryAccept(This,pmt) +#define IPin_EnumMediaTypes(This,ppEnum) (This)->lpVtbl->EnumMediaTypes(This,ppEnum) +#define IPin_QueryInternalConnections(This,apPin,nPin) (This)->lpVtbl->QueryInternalConnections(This,apPin,nPin) +#define IPin_EndOfStream(This) (This)->lpVtbl->EndOfStream(This) +#define IPin_BeginFlush(This) (This)->lpVtbl->BeginFlush(This) +#define IPin_EndFlush(This) (This)->lpVtbl->EndFlush(This) +#define IPin_NewSegment(This,tStart,tStop,dRate) (This)->lpVtbl->NewSegment(This,tStart,tStop,dRate) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPin_QueryInterface(IPin* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPin_AddRef(IPin* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPin_Release(IPin* This) { + return This->lpVtbl->Release(This); +} +/*** IPin methods ***/ +static FORCEINLINE HRESULT IPin_Connect(IPin* This,IPin *pReceivePin,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->Connect(This,pReceivePin,pmt); +} +static FORCEINLINE HRESULT IPin_ReceiveConnection(IPin* This,IPin *pConnector,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->ReceiveConnection(This,pConnector,pmt); +} +static FORCEINLINE HRESULT IPin_Disconnect(IPin* This) { + return This->lpVtbl->Disconnect(This); +} +static FORCEINLINE HRESULT IPin_ConnectedTo(IPin* This,IPin **pPin) { + return This->lpVtbl->ConnectedTo(This,pPin); +} +static FORCEINLINE HRESULT IPin_ConnectionMediaType(IPin* This,AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->ConnectionMediaType(This,pmt); +} +static FORCEINLINE HRESULT IPin_QueryPinInfo(IPin* This,PIN_INFO *pInfo) { + return This->lpVtbl->QueryPinInfo(This,pInfo); +} +static FORCEINLINE HRESULT IPin_QueryDirection(IPin* This,PIN_DIRECTION *pPinDir) { + return This->lpVtbl->QueryDirection(This,pPinDir); +} +static FORCEINLINE HRESULT IPin_QueryId(IPin* This,LPWSTR *Id) { + return This->lpVtbl->QueryId(This,Id); +} +static FORCEINLINE HRESULT IPin_QueryAccept(IPin* This,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->QueryAccept(This,pmt); +} +static FORCEINLINE HRESULT IPin_EnumMediaTypes(IPin* This,IEnumMediaTypes **ppEnum) { + return This->lpVtbl->EnumMediaTypes(This,ppEnum); +} +static FORCEINLINE HRESULT IPin_QueryInternalConnections(IPin* This,IPin **apPin,ULONG *nPin) { + return This->lpVtbl->QueryInternalConnections(This,apPin,nPin); +} +static FORCEINLINE HRESULT IPin_EndOfStream(IPin* This) { + return This->lpVtbl->EndOfStream(This); +} +static FORCEINLINE HRESULT IPin_BeginFlush(IPin* This) { + return This->lpVtbl->BeginFlush(This); +} +static FORCEINLINE HRESULT IPin_EndFlush(IPin* This) { + return This->lpVtbl->EndFlush(This); +} +static FORCEINLINE HRESULT IPin_NewSegment(IPin* This,REFERENCE_TIME tStart,REFERENCE_TIME tStop,double dRate) { + return This->lpVtbl->NewSegment(This,tStart,tStop,dRate); +} +#endif +#endif + +#endif + + +#endif /* __IPin_INTERFACE_DEFINED__ */ + +typedef IPin *PPIN; +/***************************************************************************** + * IEnumPins interface + */ +#ifndef __IEnumPins_INTERFACE_DEFINED__ +#define __IEnumPins_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumPins, 0x56a86892, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a86892-0ad4-11ce-b03a-0020af0ba770") +IEnumPins : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cPins, + IPin **ppPins, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cPins) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumPins **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumPins, 0x56a86892, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IEnumPinsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumPins *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumPins *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumPins *This); + + /*** IEnumPins methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumPins *This, + ULONG cPins, + IPin **ppPins, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumPins *This, + ULONG cPins); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumPins *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumPins *This, + IEnumPins **ppEnum); + + END_INTERFACE +} IEnumPinsVtbl; + +interface IEnumPins { + CONST_VTBL IEnumPinsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumPins_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumPins_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumPins_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumPins methods ***/ +#define IEnumPins_Next(This,cPins,ppPins,pcFetched) (This)->lpVtbl->Next(This,cPins,ppPins,pcFetched) +#define IEnumPins_Skip(This,cPins) (This)->lpVtbl->Skip(This,cPins) +#define IEnumPins_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumPins_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumPins_QueryInterface(IEnumPins* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumPins_AddRef(IEnumPins* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumPins_Release(IEnumPins* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumPins methods ***/ +static FORCEINLINE HRESULT IEnumPins_Next(IEnumPins* This,ULONG cPins,IPin **ppPins,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cPins,ppPins,pcFetched); +} +static FORCEINLINE HRESULT IEnumPins_Skip(IEnumPins* This,ULONG cPins) { + return This->lpVtbl->Skip(This,cPins); +} +static FORCEINLINE HRESULT IEnumPins_Reset(IEnumPins* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumPins_Clone(IEnumPins* This,IEnumPins **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumPins_INTERFACE_DEFINED__ */ + +typedef IEnumPins *PENUMPINS; +/***************************************************************************** + * IEnumMediaTypes interface + */ +#ifndef __IEnumMediaTypes_INTERFACE_DEFINED__ +#define __IEnumMediaTypes_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumMediaTypes, 0x89c31040, 0x846b, 0x11ce, 0x97,0xd3, 0x00,0xaa,0x00,0x55,0x59,0x5a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("89c31040-846b-11ce-97d3-00aa0055595a") +IEnumMediaTypes : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cMediaTypes, + AM_MEDIA_TYPE **ppMediaTypes, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cMediaTypes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumMediaTypes **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumMediaTypes, 0x89c31040, 0x846b, 0x11ce, 0x97,0xd3, 0x00,0xaa,0x00,0x55,0x59,0x5a) +#endif +#else +typedef struct IEnumMediaTypesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumMediaTypes *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumMediaTypes *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumMediaTypes *This); + + /*** IEnumMediaTypes methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumMediaTypes *This, + ULONG cMediaTypes, + AM_MEDIA_TYPE **ppMediaTypes, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumMediaTypes *This, + ULONG cMediaTypes); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumMediaTypes *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumMediaTypes *This, + IEnumMediaTypes **ppEnum); + + END_INTERFACE +} IEnumMediaTypesVtbl; + +interface IEnumMediaTypes { + CONST_VTBL IEnumMediaTypesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumMediaTypes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumMediaTypes_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumMediaTypes_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumMediaTypes methods ***/ +#define IEnumMediaTypes_Next(This,cMediaTypes,ppMediaTypes,pcFetched) (This)->lpVtbl->Next(This,cMediaTypes,ppMediaTypes,pcFetched) +#define IEnumMediaTypes_Skip(This,cMediaTypes) (This)->lpVtbl->Skip(This,cMediaTypes) +#define IEnumMediaTypes_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumMediaTypes_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumMediaTypes_QueryInterface(IEnumMediaTypes* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumMediaTypes_AddRef(IEnumMediaTypes* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumMediaTypes_Release(IEnumMediaTypes* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumMediaTypes methods ***/ +static FORCEINLINE HRESULT IEnumMediaTypes_Next(IEnumMediaTypes* This,ULONG cMediaTypes,AM_MEDIA_TYPE **ppMediaTypes,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cMediaTypes,ppMediaTypes,pcFetched); +} +static FORCEINLINE HRESULT IEnumMediaTypes_Skip(IEnumMediaTypes* This,ULONG cMediaTypes) { + return This->lpVtbl->Skip(This,cMediaTypes); +} +static FORCEINLINE HRESULT IEnumMediaTypes_Reset(IEnumMediaTypes* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumMediaTypes_Clone(IEnumMediaTypes* This,IEnumMediaTypes **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumMediaTypes_INTERFACE_DEFINED__ */ + +typedef IEnumMediaTypes *PENUMMEDIATYPES; +/***************************************************************************** + * IFilterGraph interface + */ +#ifndef __IFilterGraph_INTERFACE_DEFINED__ +#define __IFilterGraph_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFilterGraph, 0x56a8689f, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a8689f-0ad4-11ce-b03a-0020af0ba770") +IFilterGraph : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddFilter( + IBaseFilter *pFilter, + LPCWSTR pName) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveFilter( + IBaseFilter *pFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumFilters( + IEnumFilters **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindFilterByName( + LPCWSTR pName, + IBaseFilter **ppFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConnectDirect( + IPin *ppinOut, + IPin *ppinIn, + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reconnect( + IPin *ppin) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + IPin *ppin) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultSyncSource( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFilterGraph, 0x56a8689f, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IFilterGraphVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFilterGraph *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFilterGraph *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFilterGraph *This); + + /*** IFilterGraph methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFilter)( + IFilterGraph *This, + IBaseFilter *pFilter, + LPCWSTR pName); + + HRESULT (STDMETHODCALLTYPE *RemoveFilter)( + IFilterGraph *This, + IBaseFilter *pFilter); + + HRESULT (STDMETHODCALLTYPE *EnumFilters)( + IFilterGraph *This, + IEnumFilters **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindFilterByName)( + IFilterGraph *This, + LPCWSTR pName, + IBaseFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *ConnectDirect)( + IFilterGraph *This, + IPin *ppinOut, + IPin *ppinIn, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *Reconnect)( + IFilterGraph *This, + IPin *ppin); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IFilterGraph *This, + IPin *ppin); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSyncSource)( + IFilterGraph *This); + + END_INTERFACE +} IFilterGraphVtbl; + +interface IFilterGraph { + CONST_VTBL IFilterGraphVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFilterGraph_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFilterGraph_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFilterGraph_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterGraph methods ***/ +#define IFilterGraph_AddFilter(This,pFilter,pName) (This)->lpVtbl->AddFilter(This,pFilter,pName) +#define IFilterGraph_RemoveFilter(This,pFilter) (This)->lpVtbl->RemoveFilter(This,pFilter) +#define IFilterGraph_EnumFilters(This,ppEnum) (This)->lpVtbl->EnumFilters(This,ppEnum) +#define IFilterGraph_FindFilterByName(This,pName,ppFilter) (This)->lpVtbl->FindFilterByName(This,pName,ppFilter) +#define IFilterGraph_ConnectDirect(This,ppinOut,ppinIn,pmt) (This)->lpVtbl->ConnectDirect(This,ppinOut,ppinIn,pmt) +#define IFilterGraph_Reconnect(This,ppin) (This)->lpVtbl->Reconnect(This,ppin) +#define IFilterGraph_Disconnect(This,ppin) (This)->lpVtbl->Disconnect(This,ppin) +#define IFilterGraph_SetDefaultSyncSource(This) (This)->lpVtbl->SetDefaultSyncSource(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFilterGraph_QueryInterface(IFilterGraph* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFilterGraph_AddRef(IFilterGraph* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFilterGraph_Release(IFilterGraph* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterGraph methods ***/ +static FORCEINLINE HRESULT IFilterGraph_AddFilter(IFilterGraph* This,IBaseFilter *pFilter,LPCWSTR pName) { + return This->lpVtbl->AddFilter(This,pFilter,pName); +} +static FORCEINLINE HRESULT IFilterGraph_RemoveFilter(IFilterGraph* This,IBaseFilter *pFilter) { + return This->lpVtbl->RemoveFilter(This,pFilter); +} +static FORCEINLINE HRESULT IFilterGraph_EnumFilters(IFilterGraph* This,IEnumFilters **ppEnum) { + return This->lpVtbl->EnumFilters(This,ppEnum); +} +static FORCEINLINE HRESULT IFilterGraph_FindFilterByName(IFilterGraph* This,LPCWSTR pName,IBaseFilter **ppFilter) { + return This->lpVtbl->FindFilterByName(This,pName,ppFilter); +} +static FORCEINLINE HRESULT IFilterGraph_ConnectDirect(IFilterGraph* This,IPin *ppinOut,IPin *ppinIn,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->ConnectDirect(This,ppinOut,ppinIn,pmt); +} +static FORCEINLINE HRESULT IFilterGraph_Reconnect(IFilterGraph* This,IPin *ppin) { + return This->lpVtbl->Reconnect(This,ppin); +} +static FORCEINLINE HRESULT IFilterGraph_Disconnect(IFilterGraph* This,IPin *ppin) { + return This->lpVtbl->Disconnect(This,ppin); +} +static FORCEINLINE HRESULT IFilterGraph_SetDefaultSyncSource(IFilterGraph* This) { + return This->lpVtbl->SetDefaultSyncSource(This); +} +#endif +#endif + +#endif + + +#endif /* __IFilterGraph_INTERFACE_DEFINED__ */ + +typedef IFilterGraph *PFILTERGRAPH; +/***************************************************************************** + * IEnumFilters interface + */ +#ifndef __IEnumFilters_INTERFACE_DEFINED__ +#define __IEnumFilters_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumFilters, 0x56a86893, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a86893-0ad4-11ce-b03a-0020af0ba770") +IEnumFilters : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cFilters, + IBaseFilter **ppFilter, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cFilters) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumFilters **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumFilters, 0x56a86893, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IEnumFiltersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumFilters *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumFilters *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumFilters *This); + + /*** IEnumFilters methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumFilters *This, + ULONG cFilters, + IBaseFilter **ppFilter, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumFilters *This, + ULONG cFilters); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumFilters *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumFilters *This, + IEnumFilters **ppEnum); + + END_INTERFACE +} IEnumFiltersVtbl; + +interface IEnumFilters { + CONST_VTBL IEnumFiltersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumFilters_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumFilters_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumFilters_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumFilters methods ***/ +#define IEnumFilters_Next(This,cFilters,ppFilter,pcFetched) (This)->lpVtbl->Next(This,cFilters,ppFilter,pcFetched) +#define IEnumFilters_Skip(This,cFilters) (This)->lpVtbl->Skip(This,cFilters) +#define IEnumFilters_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumFilters_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumFilters_QueryInterface(IEnumFilters* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumFilters_AddRef(IEnumFilters* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumFilters_Release(IEnumFilters* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumFilters methods ***/ +static FORCEINLINE HRESULT IEnumFilters_Next(IEnumFilters* This,ULONG cFilters,IBaseFilter **ppFilter,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cFilters,ppFilter,pcFetched); +} +static FORCEINLINE HRESULT IEnumFilters_Skip(IEnumFilters* This,ULONG cFilters) { + return This->lpVtbl->Skip(This,cFilters); +} +static FORCEINLINE HRESULT IEnumFilters_Reset(IEnumFilters* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumFilters_Clone(IEnumFilters* This,IEnumFilters **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumFilters_INTERFACE_DEFINED__ */ + +typedef IEnumFilters *PENUMFILTERS; +/***************************************************************************** + * IMediaFilter interface + */ +#ifndef __IMediaFilter_INTERFACE_DEFINED__ +#define __IMediaFilter_INTERFACE_DEFINED__ + +typedef enum _FilterState { + State_Stopped = 0, + State_Paused = 1, + State_Running = 2 +} FILTER_STATE; +DEFINE_GUID(IID_IMediaFilter, 0x56a86899, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a86899-0ad4-11ce-b03a-0020af0ba770") +IMediaFilter : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Run( + REFERENCE_TIME tStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetState( + DWORD dwMilliSecsTimeout, + FILTER_STATE *State) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSyncSource( + IReferenceClock *pClock) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSyncSource( + IReferenceClock **pClock) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaFilter, 0x56a86899, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaFilter *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IMediaFilter *This, + CLSID *pClassID); + + /*** IMediaFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *Stop)( + IMediaFilter *This); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IMediaFilter *This); + + HRESULT (STDMETHODCALLTYPE *Run)( + IMediaFilter *This, + REFERENCE_TIME tStart); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IMediaFilter *This, + DWORD dwMilliSecsTimeout, + FILTER_STATE *State); + + HRESULT (STDMETHODCALLTYPE *SetSyncSource)( + IMediaFilter *This, + IReferenceClock *pClock); + + HRESULT (STDMETHODCALLTYPE *GetSyncSource)( + IMediaFilter *This, + IReferenceClock **pClock); + + END_INTERFACE +} IMediaFilterVtbl; + +interface IMediaFilter { + CONST_VTBL IMediaFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IMediaFilter_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IMediaFilter methods ***/ +#define IMediaFilter_Stop(This) (This)->lpVtbl->Stop(This) +#define IMediaFilter_Pause(This) (This)->lpVtbl->Pause(This) +#define IMediaFilter_Run(This,tStart) (This)->lpVtbl->Run(This,tStart) +#define IMediaFilter_GetState(This,dwMilliSecsTimeout,State) (This)->lpVtbl->GetState(This,dwMilliSecsTimeout,State) +#define IMediaFilter_SetSyncSource(This,pClock) (This)->lpVtbl->SetSyncSource(This,pClock) +#define IMediaFilter_GetSyncSource(This,pClock) (This)->lpVtbl->GetSyncSource(This,pClock) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaFilter_QueryInterface(IMediaFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaFilter_AddRef(IMediaFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaFilter_Release(IMediaFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IMediaFilter_GetClassID(IMediaFilter* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IMediaFilter methods ***/ +static FORCEINLINE HRESULT IMediaFilter_Stop(IMediaFilter* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IMediaFilter_Pause(IMediaFilter* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IMediaFilter_Run(IMediaFilter* This,REFERENCE_TIME tStart) { + return This->lpVtbl->Run(This,tStart); +} +static FORCEINLINE HRESULT IMediaFilter_GetState(IMediaFilter* This,DWORD dwMilliSecsTimeout,FILTER_STATE *State) { + return This->lpVtbl->GetState(This,dwMilliSecsTimeout,State); +} +static FORCEINLINE HRESULT IMediaFilter_SetSyncSource(IMediaFilter* This,IReferenceClock *pClock) { + return This->lpVtbl->SetSyncSource(This,pClock); +} +static FORCEINLINE HRESULT IMediaFilter_GetSyncSource(IMediaFilter* This,IReferenceClock **pClock) { + return This->lpVtbl->GetSyncSource(This,pClock); +} +#endif +#endif + +#endif + + +#endif /* __IMediaFilter_INTERFACE_DEFINED__ */ + +typedef IMediaFilter *PMEDIAFILTER; +/***************************************************************************** + * IBaseFilter interface + */ +#ifndef __IBaseFilter_INTERFACE_DEFINED__ +#define __IBaseFilter_INTERFACE_DEFINED__ + +typedef struct _FilterInfo { + WCHAR achName[128]; + IFilterGraph *pGraph; +} FILTER_INFO; +DEFINE_GUID(IID_IBaseFilter, 0x56a86895, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a86895-0ad4-11ce-b03a-0020af0ba770") +IBaseFilter : public IMediaFilter +{ + virtual HRESULT STDMETHODCALLTYPE EnumPins( + IEnumPins **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindPin( + LPCWSTR Id, + IPin **ppPin) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryFilterInfo( + FILTER_INFO *pInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE JoinFilterGraph( + IFilterGraph *pGraph, + LPCWSTR pName) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryVendorInfo( + LPWSTR *pVendorInfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBaseFilter, 0x56a86895, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IBaseFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBaseFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBaseFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBaseFilter *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IBaseFilter *This, + CLSID *pClassID); + + /*** IMediaFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *Stop)( + IBaseFilter *This); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IBaseFilter *This); + + HRESULT (STDMETHODCALLTYPE *Run)( + IBaseFilter *This, + REFERENCE_TIME tStart); + + HRESULT (STDMETHODCALLTYPE *GetState)( + IBaseFilter *This, + DWORD dwMilliSecsTimeout, + FILTER_STATE *State); + + HRESULT (STDMETHODCALLTYPE *SetSyncSource)( + IBaseFilter *This, + IReferenceClock *pClock); + + HRESULT (STDMETHODCALLTYPE *GetSyncSource)( + IBaseFilter *This, + IReferenceClock **pClock); + + /*** IBaseFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumPins)( + IBaseFilter *This, + IEnumPins **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindPin)( + IBaseFilter *This, + LPCWSTR Id, + IPin **ppPin); + + HRESULT (STDMETHODCALLTYPE *QueryFilterInfo)( + IBaseFilter *This, + FILTER_INFO *pInfo); + + HRESULT (STDMETHODCALLTYPE *JoinFilterGraph)( + IBaseFilter *This, + IFilterGraph *pGraph, + LPCWSTR pName); + + HRESULT (STDMETHODCALLTYPE *QueryVendorInfo)( + IBaseFilter *This, + LPWSTR *pVendorInfo); + + END_INTERFACE +} IBaseFilterVtbl; + +interface IBaseFilter { + CONST_VTBL IBaseFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBaseFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBaseFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBaseFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IBaseFilter_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IMediaFilter methods ***/ +#define IBaseFilter_Stop(This) (This)->lpVtbl->Stop(This) +#define IBaseFilter_Pause(This) (This)->lpVtbl->Pause(This) +#define IBaseFilter_Run(This,tStart) (This)->lpVtbl->Run(This,tStart) +#define IBaseFilter_GetState(This,dwMilliSecsTimeout,State) (This)->lpVtbl->GetState(This,dwMilliSecsTimeout,State) +#define IBaseFilter_SetSyncSource(This,pClock) (This)->lpVtbl->SetSyncSource(This,pClock) +#define IBaseFilter_GetSyncSource(This,pClock) (This)->lpVtbl->GetSyncSource(This,pClock) +/*** IBaseFilter methods ***/ +#define IBaseFilter_EnumPins(This,ppEnum) (This)->lpVtbl->EnumPins(This,ppEnum) +#define IBaseFilter_FindPin(This,Id,ppPin) (This)->lpVtbl->FindPin(This,Id,ppPin) +#define IBaseFilter_QueryFilterInfo(This,pInfo) (This)->lpVtbl->QueryFilterInfo(This,pInfo) +#define IBaseFilter_JoinFilterGraph(This,pGraph,pName) (This)->lpVtbl->JoinFilterGraph(This,pGraph,pName) +#define IBaseFilter_QueryVendorInfo(This,pVendorInfo) (This)->lpVtbl->QueryVendorInfo(This,pVendorInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBaseFilter_QueryInterface(IBaseFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBaseFilter_AddRef(IBaseFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBaseFilter_Release(IBaseFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IBaseFilter_GetClassID(IBaseFilter* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IMediaFilter methods ***/ +static FORCEINLINE HRESULT IBaseFilter_Stop(IBaseFilter* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IBaseFilter_Pause(IBaseFilter* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IBaseFilter_Run(IBaseFilter* This,REFERENCE_TIME tStart) { + return This->lpVtbl->Run(This,tStart); +} +static FORCEINLINE HRESULT IBaseFilter_GetState(IBaseFilter* This,DWORD dwMilliSecsTimeout,FILTER_STATE *State) { + return This->lpVtbl->GetState(This,dwMilliSecsTimeout,State); +} +static FORCEINLINE HRESULT IBaseFilter_SetSyncSource(IBaseFilter* This,IReferenceClock *pClock) { + return This->lpVtbl->SetSyncSource(This,pClock); +} +static FORCEINLINE HRESULT IBaseFilter_GetSyncSource(IBaseFilter* This,IReferenceClock **pClock) { + return This->lpVtbl->GetSyncSource(This,pClock); +} +/*** IBaseFilter methods ***/ +static FORCEINLINE HRESULT IBaseFilter_EnumPins(IBaseFilter* This,IEnumPins **ppEnum) { + return This->lpVtbl->EnumPins(This,ppEnum); +} +static FORCEINLINE HRESULT IBaseFilter_FindPin(IBaseFilter* This,LPCWSTR Id,IPin **ppPin) { + return This->lpVtbl->FindPin(This,Id,ppPin); +} +static FORCEINLINE HRESULT IBaseFilter_QueryFilterInfo(IBaseFilter* This,FILTER_INFO *pInfo) { + return This->lpVtbl->QueryFilterInfo(This,pInfo); +} +static FORCEINLINE HRESULT IBaseFilter_JoinFilterGraph(IBaseFilter* This,IFilterGraph *pGraph,LPCWSTR pName) { + return This->lpVtbl->JoinFilterGraph(This,pGraph,pName); +} +static FORCEINLINE HRESULT IBaseFilter_QueryVendorInfo(IBaseFilter* This,LPWSTR *pVendorInfo) { + return This->lpVtbl->QueryVendorInfo(This,pVendorInfo); +} +#endif +#endif + +#endif + + +#endif /* __IBaseFilter_INTERFACE_DEFINED__ */ + +typedef IBaseFilter *PFILTER; +/***************************************************************************** + * IReferenceClock interface + */ +#ifndef __IReferenceClock_INTERFACE_DEFINED__ +#define __IReferenceClock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IReferenceClock, 0x56a86897, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a86897-0ad4-11ce-b03a-0020af0ba770") +IReferenceClock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetTime( + REFERENCE_TIME *pTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdviseTime( + REFERENCE_TIME baseTime, + REFERENCE_TIME streamTime, + HEVENT hEvent, + DWORD_PTR *pdwAdviseCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdvisePeriodic( + REFERENCE_TIME startTime, + REFERENCE_TIME periodTime, + HSEMAPHORE hSemaphore, + DWORD_PTR *pdwAdviseCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + DWORD_PTR dwAdviseCookie) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IReferenceClock, 0x56a86897, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IReferenceClockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IReferenceClock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IReferenceClock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IReferenceClock *This); + + /*** IReferenceClock methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTime)( + IReferenceClock *This, + REFERENCE_TIME *pTime); + + HRESULT (STDMETHODCALLTYPE *AdviseTime)( + IReferenceClock *This, + REFERENCE_TIME baseTime, + REFERENCE_TIME streamTime, + HEVENT hEvent, + DWORD_PTR *pdwAdviseCookie); + + HRESULT (STDMETHODCALLTYPE *AdvisePeriodic)( + IReferenceClock *This, + REFERENCE_TIME startTime, + REFERENCE_TIME periodTime, + HSEMAPHORE hSemaphore, + DWORD_PTR *pdwAdviseCookie); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IReferenceClock *This, + DWORD_PTR dwAdviseCookie); + + END_INTERFACE +} IReferenceClockVtbl; + +interface IReferenceClock { + CONST_VTBL IReferenceClockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IReferenceClock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IReferenceClock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IReferenceClock_Release(This) (This)->lpVtbl->Release(This) +/*** IReferenceClock methods ***/ +#define IReferenceClock_GetTime(This,pTime) (This)->lpVtbl->GetTime(This,pTime) +#define IReferenceClock_AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie) (This)->lpVtbl->AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie) +#define IReferenceClock_AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie) (This)->lpVtbl->AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie) +#define IReferenceClock_Unadvise(This,dwAdviseCookie) (This)->lpVtbl->Unadvise(This,dwAdviseCookie) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IReferenceClock_QueryInterface(IReferenceClock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IReferenceClock_AddRef(IReferenceClock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IReferenceClock_Release(IReferenceClock* This) { + return This->lpVtbl->Release(This); +} +/*** IReferenceClock methods ***/ +static FORCEINLINE HRESULT IReferenceClock_GetTime(IReferenceClock* This,REFERENCE_TIME *pTime) { + return This->lpVtbl->GetTime(This,pTime); +} +static FORCEINLINE HRESULT IReferenceClock_AdviseTime(IReferenceClock* This,REFERENCE_TIME baseTime,REFERENCE_TIME streamTime,HEVENT hEvent,DWORD_PTR *pdwAdviseCookie) { + return This->lpVtbl->AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie); +} +static FORCEINLINE HRESULT IReferenceClock_AdvisePeriodic(IReferenceClock* This,REFERENCE_TIME startTime,REFERENCE_TIME periodTime,HSEMAPHORE hSemaphore,DWORD_PTR *pdwAdviseCookie) { + return This->lpVtbl->AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie); +} +static FORCEINLINE HRESULT IReferenceClock_Unadvise(IReferenceClock* This,DWORD_PTR dwAdviseCookie) { + return This->lpVtbl->Unadvise(This,dwAdviseCookie); +} +#endif +#endif + +#endif + + +#endif /* __IReferenceClock_INTERFACE_DEFINED__ */ + +typedef IReferenceClock *PREFERENCECLOCK; +/***************************************************************************** + * IMediaSample interface + */ +#ifndef __IMediaSample_INTERFACE_DEFINED__ +#define __IMediaSample_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaSample, 0x56a8689a, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a8689a-0ad4-11ce-b03a-0020af0ba770") +IMediaSample : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPointer( + BYTE **ppBuffer) = 0; + + virtual LONG STDMETHODCALLTYPE GetSize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTime( + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTime( + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsSyncPoint( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSyncPoint( + BOOL bIsSyncPoint) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsPreroll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPreroll( + BOOL bIsPreroll) = 0; + + virtual LONG STDMETHODCALLTYPE GetActualDataLength( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetActualDataLength( + LONG length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaType( + AM_MEDIA_TYPE **ppMediaType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaType( + AM_MEDIA_TYPE *pMediaType) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDiscontinuity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDiscontinuity( + BOOL bDiscontinuity) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaTime( + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaTime( + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaSample, 0x56a8689a, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaSampleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaSample *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaSample *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaSample *This); + + /*** IMediaSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPointer)( + IMediaSample *This, + BYTE **ppBuffer); + + LONG (STDMETHODCALLTYPE *GetSize)( + IMediaSample *This); + + HRESULT (STDMETHODCALLTYPE *GetTime)( + IMediaSample *This, + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IMediaSample *This, + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *IsSyncPoint)( + IMediaSample *This); + + HRESULT (STDMETHODCALLTYPE *SetSyncPoint)( + IMediaSample *This, + BOOL bIsSyncPoint); + + HRESULT (STDMETHODCALLTYPE *IsPreroll)( + IMediaSample *This); + + HRESULT (STDMETHODCALLTYPE *SetPreroll)( + IMediaSample *This, + BOOL bIsPreroll); + + LONG (STDMETHODCALLTYPE *GetActualDataLength)( + IMediaSample *This); + + HRESULT (STDMETHODCALLTYPE *SetActualDataLength)( + IMediaSample *This, + LONG length); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IMediaSample *This, + AM_MEDIA_TYPE **ppMediaType); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IMediaSample *This, + AM_MEDIA_TYPE *pMediaType); + + HRESULT (STDMETHODCALLTYPE *IsDiscontinuity)( + IMediaSample *This); + + HRESULT (STDMETHODCALLTYPE *SetDiscontinuity)( + IMediaSample *This, + BOOL bDiscontinuity); + + HRESULT (STDMETHODCALLTYPE *GetMediaTime)( + IMediaSample *This, + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *SetMediaTime)( + IMediaSample *This, + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd); + + END_INTERFACE +} IMediaSampleVtbl; + +interface IMediaSample { + CONST_VTBL IMediaSampleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaSample_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaSample_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaSample_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaSample methods ***/ +#define IMediaSample_GetPointer(This,ppBuffer) (This)->lpVtbl->GetPointer(This,ppBuffer) +#define IMediaSample_GetSize(This) (This)->lpVtbl->GetSize(This) +#define IMediaSample_GetTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->GetTime(This,pTimeStart,pTimeEnd) +#define IMediaSample_SetTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->SetTime(This,pTimeStart,pTimeEnd) +#define IMediaSample_IsSyncPoint(This) (This)->lpVtbl->IsSyncPoint(This) +#define IMediaSample_SetSyncPoint(This,bIsSyncPoint) (This)->lpVtbl->SetSyncPoint(This,bIsSyncPoint) +#define IMediaSample_IsPreroll(This) (This)->lpVtbl->IsPreroll(This) +#define IMediaSample_SetPreroll(This,bIsPreroll) (This)->lpVtbl->SetPreroll(This,bIsPreroll) +#define IMediaSample_GetActualDataLength(This) (This)->lpVtbl->GetActualDataLength(This) +#define IMediaSample_SetActualDataLength(This,length) (This)->lpVtbl->SetActualDataLength(This,length) +#define IMediaSample_GetMediaType(This,ppMediaType) (This)->lpVtbl->GetMediaType(This,ppMediaType) +#define IMediaSample_SetMediaType(This,pMediaType) (This)->lpVtbl->SetMediaType(This,pMediaType) +#define IMediaSample_IsDiscontinuity(This) (This)->lpVtbl->IsDiscontinuity(This) +#define IMediaSample_SetDiscontinuity(This,bDiscontinuity) (This)->lpVtbl->SetDiscontinuity(This,bDiscontinuity) +#define IMediaSample_GetMediaTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->GetMediaTime(This,pTimeStart,pTimeEnd) +#define IMediaSample_SetMediaTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->SetMediaTime(This,pTimeStart,pTimeEnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaSample_QueryInterface(IMediaSample* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaSample_AddRef(IMediaSample* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaSample_Release(IMediaSample* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaSample methods ***/ +static FORCEINLINE HRESULT IMediaSample_GetPointer(IMediaSample* This,BYTE **ppBuffer) { + return This->lpVtbl->GetPointer(This,ppBuffer); +} +static FORCEINLINE LONG IMediaSample_GetSize(IMediaSample* This) { + return This->lpVtbl->GetSize(This); +} +static FORCEINLINE HRESULT IMediaSample_GetTime(IMediaSample* This,REFERENCE_TIME *pTimeStart,REFERENCE_TIME *pTimeEnd) { + return This->lpVtbl->GetTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IMediaSample_SetTime(IMediaSample* This,REFERENCE_TIME *pTimeStart,REFERENCE_TIME *pTimeEnd) { + return This->lpVtbl->SetTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IMediaSample_IsSyncPoint(IMediaSample* This) { + return This->lpVtbl->IsSyncPoint(This); +} +static FORCEINLINE HRESULT IMediaSample_SetSyncPoint(IMediaSample* This,BOOL bIsSyncPoint) { + return This->lpVtbl->SetSyncPoint(This,bIsSyncPoint); +} +static FORCEINLINE HRESULT IMediaSample_IsPreroll(IMediaSample* This) { + return This->lpVtbl->IsPreroll(This); +} +static FORCEINLINE HRESULT IMediaSample_SetPreroll(IMediaSample* This,BOOL bIsPreroll) { + return This->lpVtbl->SetPreroll(This,bIsPreroll); +} +static FORCEINLINE LONG IMediaSample_GetActualDataLength(IMediaSample* This) { + return This->lpVtbl->GetActualDataLength(This); +} +static FORCEINLINE HRESULT IMediaSample_SetActualDataLength(IMediaSample* This,LONG length) { + return This->lpVtbl->SetActualDataLength(This,length); +} +static FORCEINLINE HRESULT IMediaSample_GetMediaType(IMediaSample* This,AM_MEDIA_TYPE **ppMediaType) { + return This->lpVtbl->GetMediaType(This,ppMediaType); +} +static FORCEINLINE HRESULT IMediaSample_SetMediaType(IMediaSample* This,AM_MEDIA_TYPE *pMediaType) { + return This->lpVtbl->SetMediaType(This,pMediaType); +} +static FORCEINLINE HRESULT IMediaSample_IsDiscontinuity(IMediaSample* This) { + return This->lpVtbl->IsDiscontinuity(This); +} +static FORCEINLINE HRESULT IMediaSample_SetDiscontinuity(IMediaSample* This,BOOL bDiscontinuity) { + return This->lpVtbl->SetDiscontinuity(This,bDiscontinuity); +} +static FORCEINLINE HRESULT IMediaSample_GetMediaTime(IMediaSample* This,LONGLONG *pTimeStart,LONGLONG *pTimeEnd) { + return This->lpVtbl->GetMediaTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IMediaSample_SetMediaTime(IMediaSample* This,LONGLONG *pTimeStart,LONGLONG *pTimeEnd) { + return This->lpVtbl->SetMediaTime(This,pTimeStart,pTimeEnd); +} +#endif +#endif + +#endif + + +#endif /* __IMediaSample_INTERFACE_DEFINED__ */ + +typedef IMediaSample *PMEDIASAMPLE; +enum tagAM_SAMPLE_PROPERTY_FLAGS { + AM_SAMPLE_SPLICEPOINT = 0x1, + AM_SAMPLE_PREROLL = 0x2, + AM_SAMPLE_DATADISCONTINUITY = 0x4, + AM_SAMPLE_TYPECHANGED = 0x8, + AM_SAMPLE_TIMEVALID = 0x10, + AM_SAMPLE_TIMEDISCONTINUITY = 0x40, + AM_SAMPLE_FLUSH_ON_PAUSE = 0x80, + AM_SAMPLE_STOPVALID = 0x100, + AM_SAMPLE_ENDOFSTREAM = 0x200, + AM_STREAM_MEDIA = 0, + AM_STREAM_CONTROL = 1 +}; +typedef struct tagAM_SAMPLE2_PROPERTIES { + DWORD cbData; + DWORD dwTypeSpecificFlags; + DWORD dwSampleFlags; + LONG lActual; + REFERENCE_TIME tStart; + REFERENCE_TIME tStop; + DWORD dwStreamId; + AM_MEDIA_TYPE *pMediaType; + BYTE *pbBuffer; + LONG cbBuffer; +} AM_SAMPLE2_PROPERTIES; +/***************************************************************************** + * IMediaSample2 interface + */ +#ifndef __IMediaSample2_INTERFACE_DEFINED__ +#define __IMediaSample2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaSample2, 0x36b73884, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36b73884-c2c8-11cf-8b46-00805f6cef60") +IMediaSample2 : public IMediaSample +{ + virtual HRESULT STDMETHODCALLTYPE GetProperties( + DWORD cbProperties, + BYTE *pbProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperties( + DWORD cbProperties, + const BYTE *pbProperties) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaSample2, 0x36b73884, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60) +#endif +#else +typedef struct IMediaSample2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaSample2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaSample2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaSample2 *This); + + /*** IMediaSample methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPointer)( + IMediaSample2 *This, + BYTE **ppBuffer); + + LONG (STDMETHODCALLTYPE *GetSize)( + IMediaSample2 *This); + + HRESULT (STDMETHODCALLTYPE *GetTime)( + IMediaSample2 *This, + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *SetTime)( + IMediaSample2 *This, + REFERENCE_TIME *pTimeStart, + REFERENCE_TIME *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *IsSyncPoint)( + IMediaSample2 *This); + + HRESULT (STDMETHODCALLTYPE *SetSyncPoint)( + IMediaSample2 *This, + BOOL bIsSyncPoint); + + HRESULT (STDMETHODCALLTYPE *IsPreroll)( + IMediaSample2 *This); + + HRESULT (STDMETHODCALLTYPE *SetPreroll)( + IMediaSample2 *This, + BOOL bIsPreroll); + + LONG (STDMETHODCALLTYPE *GetActualDataLength)( + IMediaSample2 *This); + + HRESULT (STDMETHODCALLTYPE *SetActualDataLength)( + IMediaSample2 *This, + LONG length); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IMediaSample2 *This, + AM_MEDIA_TYPE **ppMediaType); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IMediaSample2 *This, + AM_MEDIA_TYPE *pMediaType); + + HRESULT (STDMETHODCALLTYPE *IsDiscontinuity)( + IMediaSample2 *This); + + HRESULT (STDMETHODCALLTYPE *SetDiscontinuity)( + IMediaSample2 *This, + BOOL bDiscontinuity); + + HRESULT (STDMETHODCALLTYPE *GetMediaTime)( + IMediaSample2 *This, + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd); + + HRESULT (STDMETHODCALLTYPE *SetMediaTime)( + IMediaSample2 *This, + LONGLONG *pTimeStart, + LONGLONG *pTimeEnd); + + /*** IMediaSample2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IMediaSample2 *This, + DWORD cbProperties, + BYTE *pbProperties); + + HRESULT (STDMETHODCALLTYPE *SetProperties)( + IMediaSample2 *This, + DWORD cbProperties, + const BYTE *pbProperties); + + END_INTERFACE +} IMediaSample2Vtbl; + +interface IMediaSample2 { + CONST_VTBL IMediaSample2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaSample2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaSample2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaSample2_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaSample methods ***/ +#define IMediaSample2_GetPointer(This,ppBuffer) (This)->lpVtbl->GetPointer(This,ppBuffer) +#define IMediaSample2_GetSize(This) (This)->lpVtbl->GetSize(This) +#define IMediaSample2_GetTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->GetTime(This,pTimeStart,pTimeEnd) +#define IMediaSample2_SetTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->SetTime(This,pTimeStart,pTimeEnd) +#define IMediaSample2_IsSyncPoint(This) (This)->lpVtbl->IsSyncPoint(This) +#define IMediaSample2_SetSyncPoint(This,bIsSyncPoint) (This)->lpVtbl->SetSyncPoint(This,bIsSyncPoint) +#define IMediaSample2_IsPreroll(This) (This)->lpVtbl->IsPreroll(This) +#define IMediaSample2_SetPreroll(This,bIsPreroll) (This)->lpVtbl->SetPreroll(This,bIsPreroll) +#define IMediaSample2_GetActualDataLength(This) (This)->lpVtbl->GetActualDataLength(This) +#define IMediaSample2_SetActualDataLength(This,length) (This)->lpVtbl->SetActualDataLength(This,length) +#define IMediaSample2_GetMediaType(This,ppMediaType) (This)->lpVtbl->GetMediaType(This,ppMediaType) +#define IMediaSample2_SetMediaType(This,pMediaType) (This)->lpVtbl->SetMediaType(This,pMediaType) +#define IMediaSample2_IsDiscontinuity(This) (This)->lpVtbl->IsDiscontinuity(This) +#define IMediaSample2_SetDiscontinuity(This,bDiscontinuity) (This)->lpVtbl->SetDiscontinuity(This,bDiscontinuity) +#define IMediaSample2_GetMediaTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->GetMediaTime(This,pTimeStart,pTimeEnd) +#define IMediaSample2_SetMediaTime(This,pTimeStart,pTimeEnd) (This)->lpVtbl->SetMediaTime(This,pTimeStart,pTimeEnd) +/*** IMediaSample2 methods ***/ +#define IMediaSample2_GetProperties(This,cbProperties,pbProperties) (This)->lpVtbl->GetProperties(This,cbProperties,pbProperties) +#define IMediaSample2_SetProperties(This,cbProperties,pbProperties) (This)->lpVtbl->SetProperties(This,cbProperties,pbProperties) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaSample2_QueryInterface(IMediaSample2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaSample2_AddRef(IMediaSample2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaSample2_Release(IMediaSample2* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaSample methods ***/ +static FORCEINLINE HRESULT IMediaSample2_GetPointer(IMediaSample2* This,BYTE **ppBuffer) { + return This->lpVtbl->GetPointer(This,ppBuffer); +} +static FORCEINLINE LONG IMediaSample2_GetSize(IMediaSample2* This) { + return This->lpVtbl->GetSize(This); +} +static FORCEINLINE HRESULT IMediaSample2_GetTime(IMediaSample2* This,REFERENCE_TIME *pTimeStart,REFERENCE_TIME *pTimeEnd) { + return This->lpVtbl->GetTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IMediaSample2_SetTime(IMediaSample2* This,REFERENCE_TIME *pTimeStart,REFERENCE_TIME *pTimeEnd) { + return This->lpVtbl->SetTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IMediaSample2_IsSyncPoint(IMediaSample2* This) { + return This->lpVtbl->IsSyncPoint(This); +} +static FORCEINLINE HRESULT IMediaSample2_SetSyncPoint(IMediaSample2* This,BOOL bIsSyncPoint) { + return This->lpVtbl->SetSyncPoint(This,bIsSyncPoint); +} +static FORCEINLINE HRESULT IMediaSample2_IsPreroll(IMediaSample2* This) { + return This->lpVtbl->IsPreroll(This); +} +static FORCEINLINE HRESULT IMediaSample2_SetPreroll(IMediaSample2* This,BOOL bIsPreroll) { + return This->lpVtbl->SetPreroll(This,bIsPreroll); +} +static FORCEINLINE LONG IMediaSample2_GetActualDataLength(IMediaSample2* This) { + return This->lpVtbl->GetActualDataLength(This); +} +static FORCEINLINE HRESULT IMediaSample2_SetActualDataLength(IMediaSample2* This,LONG length) { + return This->lpVtbl->SetActualDataLength(This,length); +} +static FORCEINLINE HRESULT IMediaSample2_GetMediaType(IMediaSample2* This,AM_MEDIA_TYPE **ppMediaType) { + return This->lpVtbl->GetMediaType(This,ppMediaType); +} +static FORCEINLINE HRESULT IMediaSample2_SetMediaType(IMediaSample2* This,AM_MEDIA_TYPE *pMediaType) { + return This->lpVtbl->SetMediaType(This,pMediaType); +} +static FORCEINLINE HRESULT IMediaSample2_IsDiscontinuity(IMediaSample2* This) { + return This->lpVtbl->IsDiscontinuity(This); +} +static FORCEINLINE HRESULT IMediaSample2_SetDiscontinuity(IMediaSample2* This,BOOL bDiscontinuity) { + return This->lpVtbl->SetDiscontinuity(This,bDiscontinuity); +} +static FORCEINLINE HRESULT IMediaSample2_GetMediaTime(IMediaSample2* This,LONGLONG *pTimeStart,LONGLONG *pTimeEnd) { + return This->lpVtbl->GetMediaTime(This,pTimeStart,pTimeEnd); +} +static FORCEINLINE HRESULT IMediaSample2_SetMediaTime(IMediaSample2* This,LONGLONG *pTimeStart,LONGLONG *pTimeEnd) { + return This->lpVtbl->SetMediaTime(This,pTimeStart,pTimeEnd); +} +/*** IMediaSample2 methods ***/ +static FORCEINLINE HRESULT IMediaSample2_GetProperties(IMediaSample2* This,DWORD cbProperties,BYTE *pbProperties) { + return This->lpVtbl->GetProperties(This,cbProperties,pbProperties); +} +static FORCEINLINE HRESULT IMediaSample2_SetProperties(IMediaSample2* This,DWORD cbProperties,const BYTE *pbProperties) { + return This->lpVtbl->SetProperties(This,cbProperties,pbProperties); +} +#endif +#endif + +#endif + + +#endif /* __IMediaSample2_INTERFACE_DEFINED__ */ + +typedef IMediaSample2 *PMEDIASAMPLE2; +#define AM_GBF_PREVFRAMESKIPPED 1 +#define AM_GBF_NOTASYNCPOINT 2 +#define AM_GBF_NOWAIT 4 +#define AM_GBF_NODDSURFACELOCK 8 +/***************************************************************************** + * IMemAllocator interface + */ +#ifndef __IMemAllocator_INTERFACE_DEFINED__ +#define __IMemAllocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMemAllocator, 0x56a8689c, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a8689c-0ad4-11ce-b03a-0020af0ba770") +IMemAllocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetProperties( + ALLOCATOR_PROPERTIES *pRequest, + ALLOCATOR_PROPERTIES *pActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperties( + ALLOCATOR_PROPERTIES *pProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Decommit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + IMediaSample **ppBuffer, + REFERENCE_TIME *pStartTime, + REFERENCE_TIME *pEndTime, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseBuffer( + IMediaSample *pBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMemAllocator, 0x56a8689c, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMemAllocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMemAllocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMemAllocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMemAllocator *This); + + /*** IMemAllocator methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProperties)( + IMemAllocator *This, + ALLOCATOR_PROPERTIES *pRequest, + ALLOCATOR_PROPERTIES *pActual); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IMemAllocator *This, + ALLOCATOR_PROPERTIES *pProps); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IMemAllocator *This); + + HRESULT (STDMETHODCALLTYPE *Decommit)( + IMemAllocator *This); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IMemAllocator *This, + IMediaSample **ppBuffer, + REFERENCE_TIME *pStartTime, + REFERENCE_TIME *pEndTime, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ReleaseBuffer)( + IMemAllocator *This, + IMediaSample *pBuffer); + + END_INTERFACE +} IMemAllocatorVtbl; + +interface IMemAllocator { + CONST_VTBL IMemAllocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMemAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMemAllocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMemAllocator_Release(This) (This)->lpVtbl->Release(This) +/*** IMemAllocator methods ***/ +#define IMemAllocator_SetProperties(This,pRequest,pActual) (This)->lpVtbl->SetProperties(This,pRequest,pActual) +#define IMemAllocator_GetProperties(This,pProps) (This)->lpVtbl->GetProperties(This,pProps) +#define IMemAllocator_Commit(This) (This)->lpVtbl->Commit(This) +#define IMemAllocator_Decommit(This) (This)->lpVtbl->Decommit(This) +#define IMemAllocator_GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags) (This)->lpVtbl->GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags) +#define IMemAllocator_ReleaseBuffer(This,pBuffer) (This)->lpVtbl->ReleaseBuffer(This,pBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMemAllocator_QueryInterface(IMemAllocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMemAllocator_AddRef(IMemAllocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMemAllocator_Release(IMemAllocator* This) { + return This->lpVtbl->Release(This); +} +/*** IMemAllocator methods ***/ +static FORCEINLINE HRESULT IMemAllocator_SetProperties(IMemAllocator* This,ALLOCATOR_PROPERTIES *pRequest,ALLOCATOR_PROPERTIES *pActual) { + return This->lpVtbl->SetProperties(This,pRequest,pActual); +} +static FORCEINLINE HRESULT IMemAllocator_GetProperties(IMemAllocator* This,ALLOCATOR_PROPERTIES *pProps) { + return This->lpVtbl->GetProperties(This,pProps); +} +static FORCEINLINE HRESULT IMemAllocator_Commit(IMemAllocator* This) { + return This->lpVtbl->Commit(This); +} +static FORCEINLINE HRESULT IMemAllocator_Decommit(IMemAllocator* This) { + return This->lpVtbl->Decommit(This); +} +static FORCEINLINE HRESULT IMemAllocator_GetBuffer(IMemAllocator* This,IMediaSample **ppBuffer,REFERENCE_TIME *pStartTime,REFERENCE_TIME *pEndTime,DWORD dwFlags) { + return This->lpVtbl->GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags); +} +static FORCEINLINE HRESULT IMemAllocator_ReleaseBuffer(IMemAllocator* This,IMediaSample *pBuffer) { + return This->lpVtbl->ReleaseBuffer(This,pBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IMemAllocator_INTERFACE_DEFINED__ */ + +typedef IMemAllocator *PMEMALLOCATOR; +/***************************************************************************** + * IMemAllocatorCallbackTemp interface + */ +#ifndef __IMemAllocatorCallbackTemp_INTERFACE_DEFINED__ +#define __IMemAllocatorCallbackTemp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMemAllocatorCallbackTemp, 0x379a0cf0, 0xc1de, 0x11d2, 0xab,0xf5, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("379a0cf0-c1de-11d2-abf5-00a0c905f375") +IMemAllocatorCallbackTemp : public IMemAllocator +{ + virtual HRESULT STDMETHODCALLTYPE SetNotify( + IMemAllocatorNotifyCallbackTemp *pNotify) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFreeCount( + LONG *plBuffersFree) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMemAllocatorCallbackTemp, 0x379a0cf0, 0xc1de, 0x11d2, 0xab,0xf5, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IMemAllocatorCallbackTempVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMemAllocatorCallbackTemp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMemAllocatorCallbackTemp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMemAllocatorCallbackTemp *This); + + /*** IMemAllocator methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProperties)( + IMemAllocatorCallbackTemp *This, + ALLOCATOR_PROPERTIES *pRequest, + ALLOCATOR_PROPERTIES *pActual); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IMemAllocatorCallbackTemp *This, + ALLOCATOR_PROPERTIES *pProps); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IMemAllocatorCallbackTemp *This); + + HRESULT (STDMETHODCALLTYPE *Decommit)( + IMemAllocatorCallbackTemp *This); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + IMemAllocatorCallbackTemp *This, + IMediaSample **ppBuffer, + REFERENCE_TIME *pStartTime, + REFERENCE_TIME *pEndTime, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *ReleaseBuffer)( + IMemAllocatorCallbackTemp *This, + IMediaSample *pBuffer); + + /*** IMemAllocatorCallbackTemp methods ***/ + HRESULT (STDMETHODCALLTYPE *SetNotify)( + IMemAllocatorCallbackTemp *This, + IMemAllocatorNotifyCallbackTemp *pNotify); + + HRESULT (STDMETHODCALLTYPE *GetFreeCount)( + IMemAllocatorCallbackTemp *This, + LONG *plBuffersFree); + + END_INTERFACE +} IMemAllocatorCallbackTempVtbl; + +interface IMemAllocatorCallbackTemp { + CONST_VTBL IMemAllocatorCallbackTempVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMemAllocatorCallbackTemp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMemAllocatorCallbackTemp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMemAllocatorCallbackTemp_Release(This) (This)->lpVtbl->Release(This) +/*** IMemAllocator methods ***/ +#define IMemAllocatorCallbackTemp_SetProperties(This,pRequest,pActual) (This)->lpVtbl->SetProperties(This,pRequest,pActual) +#define IMemAllocatorCallbackTemp_GetProperties(This,pProps) (This)->lpVtbl->GetProperties(This,pProps) +#define IMemAllocatorCallbackTemp_Commit(This) (This)->lpVtbl->Commit(This) +#define IMemAllocatorCallbackTemp_Decommit(This) (This)->lpVtbl->Decommit(This) +#define IMemAllocatorCallbackTemp_GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags) (This)->lpVtbl->GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags) +#define IMemAllocatorCallbackTemp_ReleaseBuffer(This,pBuffer) (This)->lpVtbl->ReleaseBuffer(This,pBuffer) +/*** IMemAllocatorCallbackTemp methods ***/ +#define IMemAllocatorCallbackTemp_SetNotify(This,pNotify) (This)->lpVtbl->SetNotify(This,pNotify) +#define IMemAllocatorCallbackTemp_GetFreeCount(This,plBuffersFree) (This)->lpVtbl->GetFreeCount(This,plBuffersFree) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_QueryInterface(IMemAllocatorCallbackTemp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMemAllocatorCallbackTemp_AddRef(IMemAllocatorCallbackTemp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMemAllocatorCallbackTemp_Release(IMemAllocatorCallbackTemp* This) { + return This->lpVtbl->Release(This); +} +/*** IMemAllocator methods ***/ +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_SetProperties(IMemAllocatorCallbackTemp* This,ALLOCATOR_PROPERTIES *pRequest,ALLOCATOR_PROPERTIES *pActual) { + return This->lpVtbl->SetProperties(This,pRequest,pActual); +} +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_GetProperties(IMemAllocatorCallbackTemp* This,ALLOCATOR_PROPERTIES *pProps) { + return This->lpVtbl->GetProperties(This,pProps); +} +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_Commit(IMemAllocatorCallbackTemp* This) { + return This->lpVtbl->Commit(This); +} +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_Decommit(IMemAllocatorCallbackTemp* This) { + return This->lpVtbl->Decommit(This); +} +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_GetBuffer(IMemAllocatorCallbackTemp* This,IMediaSample **ppBuffer,REFERENCE_TIME *pStartTime,REFERENCE_TIME *pEndTime,DWORD dwFlags) { + return This->lpVtbl->GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags); +} +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_ReleaseBuffer(IMemAllocatorCallbackTemp* This,IMediaSample *pBuffer) { + return This->lpVtbl->ReleaseBuffer(This,pBuffer); +} +/*** IMemAllocatorCallbackTemp methods ***/ +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_SetNotify(IMemAllocatorCallbackTemp* This,IMemAllocatorNotifyCallbackTemp *pNotify) { + return This->lpVtbl->SetNotify(This,pNotify); +} +static FORCEINLINE HRESULT IMemAllocatorCallbackTemp_GetFreeCount(IMemAllocatorCallbackTemp* This,LONG *plBuffersFree) { + return This->lpVtbl->GetFreeCount(This,plBuffersFree); +} +#endif +#endif + +#endif + + +#endif /* __IMemAllocatorCallbackTemp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMemAllocatorNotifyCallbackTemp interface + */ +#ifndef __IMemAllocatorNotifyCallbackTemp_INTERFACE_DEFINED__ +#define __IMemAllocatorNotifyCallbackTemp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMemAllocatorNotifyCallbackTemp, 0x92980b30, 0xc1de, 0x11d2, 0xab,0xf5, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("92980b30-c1de-11d2-abf5-00a0c905f375") +IMemAllocatorNotifyCallbackTemp : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NotifyRelease( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMemAllocatorNotifyCallbackTemp, 0x92980b30, 0xc1de, 0x11d2, 0xab,0xf5, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IMemAllocatorNotifyCallbackTempVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMemAllocatorNotifyCallbackTemp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMemAllocatorNotifyCallbackTemp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMemAllocatorNotifyCallbackTemp *This); + + /*** IMemAllocatorNotifyCallbackTemp methods ***/ + HRESULT (STDMETHODCALLTYPE *NotifyRelease)( + IMemAllocatorNotifyCallbackTemp *This); + + END_INTERFACE +} IMemAllocatorNotifyCallbackTempVtbl; + +interface IMemAllocatorNotifyCallbackTemp { + CONST_VTBL IMemAllocatorNotifyCallbackTempVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMemAllocatorNotifyCallbackTemp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMemAllocatorNotifyCallbackTemp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMemAllocatorNotifyCallbackTemp_Release(This) (This)->lpVtbl->Release(This) +/*** IMemAllocatorNotifyCallbackTemp methods ***/ +#define IMemAllocatorNotifyCallbackTemp_NotifyRelease(This) (This)->lpVtbl->NotifyRelease(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMemAllocatorNotifyCallbackTemp_QueryInterface(IMemAllocatorNotifyCallbackTemp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMemAllocatorNotifyCallbackTemp_AddRef(IMemAllocatorNotifyCallbackTemp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMemAllocatorNotifyCallbackTemp_Release(IMemAllocatorNotifyCallbackTemp* This) { + return This->lpVtbl->Release(This); +} +/*** IMemAllocatorNotifyCallbackTemp methods ***/ +static FORCEINLINE HRESULT IMemAllocatorNotifyCallbackTemp_NotifyRelease(IMemAllocatorNotifyCallbackTemp* This) { + return This->lpVtbl->NotifyRelease(This); +} +#endif +#endif + +#endif + + +#endif /* __IMemAllocatorNotifyCallbackTemp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMemInputPin interface + */ +#ifndef __IMemInputPin_INTERFACE_DEFINED__ +#define __IMemInputPin_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMemInputPin, 0x56a8689d, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a8689d-0ad4-11ce-b03a-0020af0ba770") +IMemInputPin : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAllocator( + IMemAllocator **ppAllocator) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyAllocator( + IMemAllocator *pAllocator, + BOOL bReadOnly) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllocatorRequirements( + ALLOCATOR_PROPERTIES *pProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE Receive( + IMediaSample *pSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReceiveMultiple( + IMediaSample **pSamples, + LONG nSamples, + LONG *nSamplesProcessed) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReceiveCanBlock( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMemInputPin, 0x56a8689d, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMemInputPinVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMemInputPin *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMemInputPin *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMemInputPin *This); + + /*** IMemInputPin methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAllocator)( + IMemInputPin *This, + IMemAllocator **ppAllocator); + + HRESULT (STDMETHODCALLTYPE *NotifyAllocator)( + IMemInputPin *This, + IMemAllocator *pAllocator, + BOOL bReadOnly); + + HRESULT (STDMETHODCALLTYPE *GetAllocatorRequirements)( + IMemInputPin *This, + ALLOCATOR_PROPERTIES *pProps); + + HRESULT (STDMETHODCALLTYPE *Receive)( + IMemInputPin *This, + IMediaSample *pSample); + + HRESULT (STDMETHODCALLTYPE *ReceiveMultiple)( + IMemInputPin *This, + IMediaSample **pSamples, + LONG nSamples, + LONG *nSamplesProcessed); + + HRESULT (STDMETHODCALLTYPE *ReceiveCanBlock)( + IMemInputPin *This); + + END_INTERFACE +} IMemInputPinVtbl; + +interface IMemInputPin { + CONST_VTBL IMemInputPinVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMemInputPin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMemInputPin_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMemInputPin_Release(This) (This)->lpVtbl->Release(This) +/*** IMemInputPin methods ***/ +#define IMemInputPin_GetAllocator(This,ppAllocator) (This)->lpVtbl->GetAllocator(This,ppAllocator) +#define IMemInputPin_NotifyAllocator(This,pAllocator,bReadOnly) (This)->lpVtbl->NotifyAllocator(This,pAllocator,bReadOnly) +#define IMemInputPin_GetAllocatorRequirements(This,pProps) (This)->lpVtbl->GetAllocatorRequirements(This,pProps) +#define IMemInputPin_Receive(This,pSample) (This)->lpVtbl->Receive(This,pSample) +#define IMemInputPin_ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed) (This)->lpVtbl->ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed) +#define IMemInputPin_ReceiveCanBlock(This) (This)->lpVtbl->ReceiveCanBlock(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMemInputPin_QueryInterface(IMemInputPin* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMemInputPin_AddRef(IMemInputPin* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMemInputPin_Release(IMemInputPin* This) { + return This->lpVtbl->Release(This); +} +/*** IMemInputPin methods ***/ +static FORCEINLINE HRESULT IMemInputPin_GetAllocator(IMemInputPin* This,IMemAllocator **ppAllocator) { + return This->lpVtbl->GetAllocator(This,ppAllocator); +} +static FORCEINLINE HRESULT IMemInputPin_NotifyAllocator(IMemInputPin* This,IMemAllocator *pAllocator,BOOL bReadOnly) { + return This->lpVtbl->NotifyAllocator(This,pAllocator,bReadOnly); +} +static FORCEINLINE HRESULT IMemInputPin_GetAllocatorRequirements(IMemInputPin* This,ALLOCATOR_PROPERTIES *pProps) { + return This->lpVtbl->GetAllocatorRequirements(This,pProps); +} +static FORCEINLINE HRESULT IMemInputPin_Receive(IMemInputPin* This,IMediaSample *pSample) { + return This->lpVtbl->Receive(This,pSample); +} +static FORCEINLINE HRESULT IMemInputPin_ReceiveMultiple(IMemInputPin* This,IMediaSample **pSamples,LONG nSamples,LONG *nSamplesProcessed) { + return This->lpVtbl->ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed); +} +static FORCEINLINE HRESULT IMemInputPin_ReceiveCanBlock(IMemInputPin* This) { + return This->lpVtbl->ReceiveCanBlock(This); +} +#endif +#endif + +#endif + + +#endif /* __IMemInputPin_INTERFACE_DEFINED__ */ + +typedef IMemInputPin *PMEMINPUTPIN; +/***************************************************************************** + * IAMovieSetup interface + */ +#ifndef __IAMovieSetup_INTERFACE_DEFINED__ +#define __IAMovieSetup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMovieSetup, 0xa3d8cec0, 0x7e5a, 0x11cf, 0xbb,0xc5, 0x00,0x80,0x5f,0x6c,0xef,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a3d8cec0-7e5a-11cf-bbc5-00805f6cef20") +IAMovieSetup : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Register( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unregister( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMovieSetup, 0xa3d8cec0, 0x7e5a, 0x11cf, 0xbb,0xc5, 0x00,0x80,0x5f,0x6c,0xef,0x20) +#endif +#else +typedef struct IAMovieSetupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMovieSetup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMovieSetup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMovieSetup *This); + + /*** IAMovieSetup methods ***/ + HRESULT (STDMETHODCALLTYPE *Register)( + IAMovieSetup *This); + + HRESULT (STDMETHODCALLTYPE *Unregister)( + IAMovieSetup *This); + + END_INTERFACE +} IAMovieSetupVtbl; + +interface IAMovieSetup { + CONST_VTBL IAMovieSetupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMovieSetup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMovieSetup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMovieSetup_Release(This) (This)->lpVtbl->Release(This) +/*** IAMovieSetup methods ***/ +#define IAMovieSetup_Register(This) (This)->lpVtbl->Register(This) +#define IAMovieSetup_Unregister(This) (This)->lpVtbl->Unregister(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMovieSetup_QueryInterface(IAMovieSetup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMovieSetup_AddRef(IAMovieSetup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMovieSetup_Release(IAMovieSetup* This) { + return This->lpVtbl->Release(This); +} +/*** IAMovieSetup methods ***/ +static FORCEINLINE HRESULT IAMovieSetup_Register(IAMovieSetup* This) { + return This->lpVtbl->Register(This); +} +static FORCEINLINE HRESULT IAMovieSetup_Unregister(IAMovieSetup* This) { + return This->lpVtbl->Unregister(This); +} +#endif +#endif + +#endif + + +#endif /* __IAMovieSetup_INTERFACE_DEFINED__ */ + +typedef IAMovieSetup *PAMOVIESETUP; +typedef enum AM_SEEKING_SeekingFlags { + AM_SEEKING_NoPositioning = 0x0, + AM_SEEKING_AbsolutePositioning = 0x1, + AM_SEEKING_RelativePositioning = 0x2, + AM_SEEKING_IncrementalPositioning = 0x3, + AM_SEEKING_PositioningBitsMask = 0x3, + AM_SEEKING_SeekToKeyFrame = 0x4, + AM_SEEKING_ReturnTime = 0x8, + AM_SEEKING_Segment = 0x10, + AM_SEEKING_NoFlush = 0x20 +} AM_SEEKING_SEEKING_FLAGS; +typedef enum AM_SEEKING_SeekingCapabilities { + AM_SEEKING_CanSeekAbsolute = 0x1, + AM_SEEKING_CanSeekForwards = 0x2, + AM_SEEKING_CanSeekBackwards = 0x4, + AM_SEEKING_CanGetCurrentPos = 0x8, + AM_SEEKING_CanGetStopPos = 0x10, + AM_SEEKING_CanGetDuration = 0x20, + AM_SEEKING_CanPlayBackwards = 0x40, + AM_SEEKING_CanDoSegments = 0x80, + AM_SEEKING_Source = 0x100 +} AM_SEEKING_SEEKING_CAPABILITIES; +/***************************************************************************** + * IMediaSeeking interface + */ +#ifndef __IMediaSeeking_INTERFACE_DEFINED__ +#define __IMediaSeeking_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaSeeking, 0x36b73880, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36b73880-c2c8-11cf-8b46-00805f6cef60") +IMediaSeeking : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCapabilities( + DWORD *pCapabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckCapabilities( + DWORD *pCapabilities) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsFormatSupported( + const GUID *pFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryPreferredFormat( + GUID *pFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimeFormat( + GUID *pFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUsingTimeFormat( + const GUID *pFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTimeFormat( + const GUID *pFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDuration( + LONGLONG *pDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStopPosition( + LONGLONG *pStop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentPosition( + LONGLONG *pCurrent) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertTimeFormat( + LONGLONG *pTarget, + const GUID *pTargetFormat, + LONGLONG Source, + const GUID *pSourceFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPositions( + LONGLONG *pCurrent, + DWORD dwCurrentFlags, + LONGLONG *pStop, + DWORD dwStopFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPositions( + LONGLONG *pCurrent, + LONGLONG *pStop) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAvailable( + LONGLONG *pEarliest, + LONGLONG *pLatest) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRate( + double dRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRate( + double *pdRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreroll( + LONGLONG *pllPreroll) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaSeeking, 0x36b73880, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60) +#endif +#else +typedef struct IMediaSeekingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaSeeking *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaSeeking *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaSeeking *This); + + /*** IMediaSeeking methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCapabilities)( + IMediaSeeking *This, + DWORD *pCapabilities); + + HRESULT (STDMETHODCALLTYPE *CheckCapabilities)( + IMediaSeeking *This, + DWORD *pCapabilities); + + HRESULT (STDMETHODCALLTYPE *IsFormatSupported)( + IMediaSeeking *This, + const GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *QueryPreferredFormat)( + IMediaSeeking *This, + GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *GetTimeFormat)( + IMediaSeeking *This, + GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *IsUsingTimeFormat)( + IMediaSeeking *This, + const GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *SetTimeFormat)( + IMediaSeeking *This, + const GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *GetDuration)( + IMediaSeeking *This, + LONGLONG *pDuration); + + HRESULT (STDMETHODCALLTYPE *GetStopPosition)( + IMediaSeeking *This, + LONGLONG *pStop); + + HRESULT (STDMETHODCALLTYPE *GetCurrentPosition)( + IMediaSeeking *This, + LONGLONG *pCurrent); + + HRESULT (STDMETHODCALLTYPE *ConvertTimeFormat)( + IMediaSeeking *This, + LONGLONG *pTarget, + const GUID *pTargetFormat, + LONGLONG Source, + const GUID *pSourceFormat); + + HRESULT (STDMETHODCALLTYPE *SetPositions)( + IMediaSeeking *This, + LONGLONG *pCurrent, + DWORD dwCurrentFlags, + LONGLONG *pStop, + DWORD dwStopFlags); + + HRESULT (STDMETHODCALLTYPE *GetPositions)( + IMediaSeeking *This, + LONGLONG *pCurrent, + LONGLONG *pStop); + + HRESULT (STDMETHODCALLTYPE *GetAvailable)( + IMediaSeeking *This, + LONGLONG *pEarliest, + LONGLONG *pLatest); + + HRESULT (STDMETHODCALLTYPE *SetRate)( + IMediaSeeking *This, + double dRate); + + HRESULT (STDMETHODCALLTYPE *GetRate)( + IMediaSeeking *This, + double *pdRate); + + HRESULT (STDMETHODCALLTYPE *GetPreroll)( + IMediaSeeking *This, + LONGLONG *pllPreroll); + + END_INTERFACE +} IMediaSeekingVtbl; + +interface IMediaSeeking { + CONST_VTBL IMediaSeekingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaSeeking_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaSeeking_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaSeeking_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaSeeking methods ***/ +#define IMediaSeeking_GetCapabilities(This,pCapabilities) (This)->lpVtbl->GetCapabilities(This,pCapabilities) +#define IMediaSeeking_CheckCapabilities(This,pCapabilities) (This)->lpVtbl->CheckCapabilities(This,pCapabilities) +#define IMediaSeeking_IsFormatSupported(This,pFormat) (This)->lpVtbl->IsFormatSupported(This,pFormat) +#define IMediaSeeking_QueryPreferredFormat(This,pFormat) (This)->lpVtbl->QueryPreferredFormat(This,pFormat) +#define IMediaSeeking_GetTimeFormat(This,pFormat) (This)->lpVtbl->GetTimeFormat(This,pFormat) +#define IMediaSeeking_IsUsingTimeFormat(This,pFormat) (This)->lpVtbl->IsUsingTimeFormat(This,pFormat) +#define IMediaSeeking_SetTimeFormat(This,pFormat) (This)->lpVtbl->SetTimeFormat(This,pFormat) +#define IMediaSeeking_GetDuration(This,pDuration) (This)->lpVtbl->GetDuration(This,pDuration) +#define IMediaSeeking_GetStopPosition(This,pStop) (This)->lpVtbl->GetStopPosition(This,pStop) +#define IMediaSeeking_GetCurrentPosition(This,pCurrent) (This)->lpVtbl->GetCurrentPosition(This,pCurrent) +#define IMediaSeeking_ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat) (This)->lpVtbl->ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat) +#define IMediaSeeking_SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags) (This)->lpVtbl->SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags) +#define IMediaSeeking_GetPositions(This,pCurrent,pStop) (This)->lpVtbl->GetPositions(This,pCurrent,pStop) +#define IMediaSeeking_GetAvailable(This,pEarliest,pLatest) (This)->lpVtbl->GetAvailable(This,pEarliest,pLatest) +#define IMediaSeeking_SetRate(This,dRate) (This)->lpVtbl->SetRate(This,dRate) +#define IMediaSeeking_GetRate(This,pdRate) (This)->lpVtbl->GetRate(This,pdRate) +#define IMediaSeeking_GetPreroll(This,pllPreroll) (This)->lpVtbl->GetPreroll(This,pllPreroll) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaSeeking_QueryInterface(IMediaSeeking* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaSeeking_AddRef(IMediaSeeking* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaSeeking_Release(IMediaSeeking* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaSeeking methods ***/ +static FORCEINLINE HRESULT IMediaSeeking_GetCapabilities(IMediaSeeking* This,DWORD *pCapabilities) { + return This->lpVtbl->GetCapabilities(This,pCapabilities); +} +static FORCEINLINE HRESULT IMediaSeeking_CheckCapabilities(IMediaSeeking* This,DWORD *pCapabilities) { + return This->lpVtbl->CheckCapabilities(This,pCapabilities); +} +static FORCEINLINE HRESULT IMediaSeeking_IsFormatSupported(IMediaSeeking* This,const GUID *pFormat) { + return This->lpVtbl->IsFormatSupported(This,pFormat); +} +static FORCEINLINE HRESULT IMediaSeeking_QueryPreferredFormat(IMediaSeeking* This,GUID *pFormat) { + return This->lpVtbl->QueryPreferredFormat(This,pFormat); +} +static FORCEINLINE HRESULT IMediaSeeking_GetTimeFormat(IMediaSeeking* This,GUID *pFormat) { + return This->lpVtbl->GetTimeFormat(This,pFormat); +} +static FORCEINLINE HRESULT IMediaSeeking_IsUsingTimeFormat(IMediaSeeking* This,const GUID *pFormat) { + return This->lpVtbl->IsUsingTimeFormat(This,pFormat); +} +static FORCEINLINE HRESULT IMediaSeeking_SetTimeFormat(IMediaSeeking* This,const GUID *pFormat) { + return This->lpVtbl->SetTimeFormat(This,pFormat); +} +static FORCEINLINE HRESULT IMediaSeeking_GetDuration(IMediaSeeking* This,LONGLONG *pDuration) { + return This->lpVtbl->GetDuration(This,pDuration); +} +static FORCEINLINE HRESULT IMediaSeeking_GetStopPosition(IMediaSeeking* This,LONGLONG *pStop) { + return This->lpVtbl->GetStopPosition(This,pStop); +} +static FORCEINLINE HRESULT IMediaSeeking_GetCurrentPosition(IMediaSeeking* This,LONGLONG *pCurrent) { + return This->lpVtbl->GetCurrentPosition(This,pCurrent); +} +static FORCEINLINE HRESULT IMediaSeeking_ConvertTimeFormat(IMediaSeeking* This,LONGLONG *pTarget,const GUID *pTargetFormat,LONGLONG Source,const GUID *pSourceFormat) { + return This->lpVtbl->ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat); +} +static FORCEINLINE HRESULT IMediaSeeking_SetPositions(IMediaSeeking* This,LONGLONG *pCurrent,DWORD dwCurrentFlags,LONGLONG *pStop,DWORD dwStopFlags) { + return This->lpVtbl->SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags); +} +static FORCEINLINE HRESULT IMediaSeeking_GetPositions(IMediaSeeking* This,LONGLONG *pCurrent,LONGLONG *pStop) { + return This->lpVtbl->GetPositions(This,pCurrent,pStop); +} +static FORCEINLINE HRESULT IMediaSeeking_GetAvailable(IMediaSeeking* This,LONGLONG *pEarliest,LONGLONG *pLatest) { + return This->lpVtbl->GetAvailable(This,pEarliest,pLatest); +} +static FORCEINLINE HRESULT IMediaSeeking_SetRate(IMediaSeeking* This,double dRate) { + return This->lpVtbl->SetRate(This,dRate); +} +static FORCEINLINE HRESULT IMediaSeeking_GetRate(IMediaSeeking* This,double *pdRate) { + return This->lpVtbl->GetRate(This,pdRate); +} +static FORCEINLINE HRESULT IMediaSeeking_GetPreroll(IMediaSeeking* This,LONGLONG *pllPreroll) { + return This->lpVtbl->GetPreroll(This,pllPreroll); +} +#endif +#endif + +#endif + + +#endif /* __IMediaSeeking_INTERFACE_DEFINED__ */ + +typedef IMediaSeeking *PMEDIASEEKING; +enum tagAM_MEDIAEVENT_FLAGS { + AM_MEDIAEVENT_NONOTIFY = 0x1 +}; +enum _AMSTREAMSELECTINFOFLAGS { + AMSTREAMSELECTINFO_ENABLED = 0x1, + AMSTREAMSELECTINFO_EXCLUSIVE = 0x2 +}; +enum _AMSTREAMSELECTENABLEFLAGS { + AMSTREAMSELECTENABLE_ENABLE = 0x1, + AMSTREAMSELECTENABLE_ENABLEALL = 0x2 +}; +/***************************************************************************** + * IAMStreamSelect interface + */ +#ifndef __IAMStreamSelect_INTERFACE_DEFINED__ +#define __IAMStreamSelect_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMStreamSelect, 0xc1960960, 0x17f5, 0x11d1, 0xab,0xe1, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c1960960-17f5-11d1-abe1-00a0c905f375") +IAMStreamSelect : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Count( + DWORD *streams) = 0; + + virtual HRESULT STDMETHODCALLTYPE Info( + LONG index, + AM_MEDIA_TYPE **media_type, + DWORD *flags, + LCID *lcid, + DWORD *group, + WCHAR **name, + IUnknown **object, + IUnknown **unknown) = 0; + + virtual HRESULT STDMETHODCALLTYPE Enable( + LONG index, + DWORD flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMStreamSelect, 0xc1960960, 0x17f5, 0x11d1, 0xab,0xe1, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IAMStreamSelectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMStreamSelect *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMStreamSelect *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMStreamSelect *This); + + /*** IAMStreamSelect methods ***/ + HRESULT (STDMETHODCALLTYPE *Count)( + IAMStreamSelect *This, + DWORD *streams); + + HRESULT (STDMETHODCALLTYPE *Info)( + IAMStreamSelect *This, + LONG index, + AM_MEDIA_TYPE **media_type, + DWORD *flags, + LCID *lcid, + DWORD *group, + WCHAR **name, + IUnknown **object, + IUnknown **unknown); + + HRESULT (STDMETHODCALLTYPE *Enable)( + IAMStreamSelect *This, + LONG index, + DWORD flags); + + END_INTERFACE +} IAMStreamSelectVtbl; + +interface IAMStreamSelect { + CONST_VTBL IAMStreamSelectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMStreamSelect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMStreamSelect_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMStreamSelect_Release(This) (This)->lpVtbl->Release(This) +/*** IAMStreamSelect methods ***/ +#define IAMStreamSelect_Count(This,streams) (This)->lpVtbl->Count(This,streams) +#define IAMStreamSelect_Info(This,index,media_type,flags,lcid,group,name,object,unknown) (This)->lpVtbl->Info(This,index,media_type,flags,lcid,group,name,object,unknown) +#define IAMStreamSelect_Enable(This,index,flags) (This)->lpVtbl->Enable(This,index,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMStreamSelect_QueryInterface(IAMStreamSelect* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMStreamSelect_AddRef(IAMStreamSelect* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMStreamSelect_Release(IAMStreamSelect* This) { + return This->lpVtbl->Release(This); +} +/*** IAMStreamSelect methods ***/ +static FORCEINLINE HRESULT IAMStreamSelect_Count(IAMStreamSelect* This,DWORD *streams) { + return This->lpVtbl->Count(This,streams); +} +static FORCEINLINE HRESULT IAMStreamSelect_Info(IAMStreamSelect* This,LONG index,AM_MEDIA_TYPE **media_type,DWORD *flags,LCID *lcid,DWORD *group,WCHAR **name,IUnknown **object,IUnknown **unknown) { + return This->lpVtbl->Info(This,index,media_type,flags,lcid,group,name,object,unknown); +} +static FORCEINLINE HRESULT IAMStreamSelect_Enable(IAMStreamSelect* This,LONG index,DWORD flags) { + return This->lpVtbl->Enable(This,index,flags); +} +#endif +#endif + +#endif + + +#endif /* __IAMStreamSelect_INTERFACE_DEFINED__ */ + +typedef IAMStreamSelect *PAMSTREAMSELECT; +#ifndef __IAMAnalogVideoDecoder_FWD_DEFINED__ +#define __IAMAnalogVideoDecoder_FWD_DEFINED__ +typedef interface IAMAnalogVideoDecoder IAMAnalogVideoDecoder; +#ifdef __cplusplus +interface IAMAnalogVideoDecoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMAnalogVideoEncoder_FWD_DEFINED__ +#define __IAMAnalogVideoEncoder_FWD_DEFINED__ +typedef interface IAMAnalogVideoEncoder IAMAnalogVideoEncoder; +#ifdef __cplusplus +interface IAMAnalogVideoEncoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMAudioInputMixer_FWD_DEFINED__ +#define __IAMAudioInputMixer_FWD_DEFINED__ +typedef interface IAMAudioInputMixer IAMAudioInputMixer; +#ifdef __cplusplus +interface IAMAudioInputMixer; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMAudioRendererStats_FWD_DEFINED__ +#define __IAMAudioRendererStats_FWD_DEFINED__ +typedef interface IAMAudioRendererStats IAMAudioRendererStats; +#ifdef __cplusplus +interface IAMAudioRendererStats; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMBufferNegotiation_FWD_DEFINED__ +#define __IAMBufferNegotiation_FWD_DEFINED__ +typedef interface IAMBufferNegotiation IAMBufferNegotiation; +#ifdef __cplusplus +interface IAMBufferNegotiation; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMCameraControl_FWD_DEFINED__ +#define __IAMCameraControl_FWD_DEFINED__ +typedef interface IAMCameraControl IAMCameraControl; +#ifdef __cplusplus +interface IAMCameraControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMCertifiedOutputProtection_FWD_DEFINED__ +#define __IAMCertifiedOutputProtection_FWD_DEFINED__ +typedef interface IAMCertifiedOutputProtection IAMCertifiedOutputProtection; +#ifdef __cplusplus +interface IAMCertifiedOutputProtection; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMClockSlave_FWD_DEFINED__ +#define __IAMClockSlave_FWD_DEFINED__ +typedef interface IAMClockSlave IAMClockSlave; +#ifdef __cplusplus +interface IAMClockSlave; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMCopyCaptureFileProgress_FWD_DEFINED__ +#define __IAMCopyCaptureFileProgress_FWD_DEFINED__ +typedef interface IAMCopyCaptureFileProgress IAMCopyCaptureFileProgress; +#ifdef __cplusplus +interface IAMCopyCaptureFileProgress; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMCrossbar_FWD_DEFINED__ +#define __IAMCrossbar_FWD_DEFINED__ +typedef interface IAMCrossbar IAMCrossbar; +#ifdef __cplusplus +interface IAMCrossbar; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMDevMemoryAllocator_FWD_DEFINED__ +#define __IAMDevMemoryAllocator_FWD_DEFINED__ +typedef interface IAMDevMemoryAllocator IAMDevMemoryAllocator; +#ifdef __cplusplus +interface IAMDevMemoryAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMDevMemoryControl_FWD_DEFINED__ +#define __IAMDevMemoryControl_FWD_DEFINED__ +typedef interface IAMDevMemoryControl IAMDevMemoryControl; +#ifdef __cplusplus +interface IAMDevMemoryControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMDroppedFrames_FWD_DEFINED__ +#define __IAMDroppedFrames_FWD_DEFINED__ +typedef interface IAMDroppedFrames IAMDroppedFrames; +#ifdef __cplusplus +interface IAMDroppedFrames; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMExtDevice_FWD_DEFINED__ +#define __IAMExtDevice_FWD_DEFINED__ +typedef interface IAMExtDevice IAMExtDevice; +#ifdef __cplusplus +interface IAMExtDevice; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMExtTransport_FWD_DEFINED__ +#define __IAMExtTransport_FWD_DEFINED__ +typedef interface IAMExtTransport IAMExtTransport; +#ifdef __cplusplus +interface IAMExtTransport; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMGraphStreams_FWD_DEFINED__ +#define __IAMGraphStreams_FWD_DEFINED__ +typedef interface IAMGraphStreams IAMGraphStreams; +#ifdef __cplusplus +interface IAMGraphStreams; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMLatency_FWD_DEFINED__ +#define __IAMLatency_FWD_DEFINED__ +typedef interface IAMLatency IAMLatency; +#ifdef __cplusplus +interface IAMLatency; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMOpenProgress_FWD_DEFINED__ +#define __IAMOpenProgress_FWD_DEFINED__ +typedef interface IAMOpenProgress IAMOpenProgress; +#ifdef __cplusplus +interface IAMOpenProgress; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMOverlayFX_FWD_DEFINED__ +#define __IAMOverlayFX_FWD_DEFINED__ +typedef interface IAMOverlayFX IAMOverlayFX; +#ifdef __cplusplus +interface IAMOverlayFX; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMPhysicalPinInfo_FWD_DEFINED__ +#define __IAMPhysicalPinInfo_FWD_DEFINED__ +typedef interface IAMPhysicalPinInfo IAMPhysicalPinInfo; +#ifdef __cplusplus +interface IAMPhysicalPinInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMPushSource_FWD_DEFINED__ +#define __IAMPushSource_FWD_DEFINED__ +typedef interface IAMPushSource IAMPushSource; +#ifdef __cplusplus +interface IAMPushSource; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMStreamConfig_FWD_DEFINED__ +#define __IAMStreamConfig_FWD_DEFINED__ +typedef interface IAMStreamConfig IAMStreamConfig; +#ifdef __cplusplus +interface IAMStreamConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimecodeDisplay_FWD_DEFINED__ +#define __IAMTimecodeDisplay_FWD_DEFINED__ +typedef interface IAMTimecodeDisplay IAMTimecodeDisplay; +#ifdef __cplusplus +interface IAMTimecodeDisplay; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimecodeGenerator_FWD_DEFINED__ +#define __IAMTimecodeGenerator_FWD_DEFINED__ +typedef interface IAMTimecodeGenerator IAMTimecodeGenerator; +#ifdef __cplusplus +interface IAMTimecodeGenerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTimecodeReader_FWD_DEFINED__ +#define __IAMTimecodeReader_FWD_DEFINED__ +typedef interface IAMTimecodeReader IAMTimecodeReader; +#ifdef __cplusplus +interface IAMTimecodeReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMTVTuner_FWD_DEFINED__ +#define __IAMTVTuner_FWD_DEFINED__ +typedef interface IAMTVTuner IAMTVTuner; +#ifdef __cplusplus +interface IAMTVTuner; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVfwCaptureDialogs_FWD_DEFINED__ +#define __IAMVfwCaptureDialogs_FWD_DEFINED__ +typedef interface IAMVfwCaptureDialogs IAMVfwCaptureDialogs; +#ifdef __cplusplus +interface IAMVfwCaptureDialogs; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVfwCompressDialogs_FWD_DEFINED__ +#define __IAMVfwCompressDialogs_FWD_DEFINED__ +typedef interface IAMVfwCompressDialogs IAMVfwCompressDialogs; +#ifdef __cplusplus +interface IAMVfwCompressDialogs; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVideoCompression_FWD_DEFINED__ +#define __IAMVideoCompression_FWD_DEFINED__ +typedef interface IAMVideoCompression IAMVideoCompression; +#ifdef __cplusplus +interface IAMVideoCompression; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVideoDecimationProperties_FWD_DEFINED__ +#define __IAMVideoDecimationProperties_FWD_DEFINED__ +typedef interface IAMVideoDecimationProperties IAMVideoDecimationProperties; +#ifdef __cplusplus +interface IAMVideoDecimationProperties; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMVideoProcAmp_FWD_DEFINED__ +#define __IAMVideoProcAmp_FWD_DEFINED__ +typedef interface IAMVideoProcAmp IAMVideoProcAmp; +#ifdef __cplusplus +interface IAMVideoProcAmp; +#endif /* __cplusplus */ +#endif + +#ifndef __IAMGraphBuilderCallback_FWD_DEFINED__ +#define __IAMGraphBuilderCallback_FWD_DEFINED__ +typedef interface IAMGraphBuilderCallback IAMGraphBuilderCallback; +#ifdef __cplusplus +interface IAMGraphBuilderCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __ICaptureGraphBuilder_FWD_DEFINED__ +#define __ICaptureGraphBuilder_FWD_DEFINED__ +typedef interface ICaptureGraphBuilder ICaptureGraphBuilder; +#ifdef __cplusplus +interface ICaptureGraphBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __ICaptureGraphBuilder2_FWD_DEFINED__ +#define __ICaptureGraphBuilder2_FWD_DEFINED__ +typedef interface ICaptureGraphBuilder2 ICaptureGraphBuilder2; +#ifdef __cplusplus +interface ICaptureGraphBuilder2; +#endif /* __cplusplus */ +#endif + +#ifndef __IConfigAviMux_FWD_DEFINED__ +#define __IConfigAviMux_FWD_DEFINED__ +typedef interface IConfigAviMux IConfigAviMux; +#ifdef __cplusplus +interface IConfigAviMux; +#endif /* __cplusplus */ +#endif + +#ifndef __IConfigInterleaving_FWD_DEFINED__ +#define __IConfigInterleaving_FWD_DEFINED__ +typedef interface IConfigInterleaving IConfigInterleaving; +#ifdef __cplusplus +interface IConfigInterleaving; +#endif /* __cplusplus */ +#endif + +#ifndef __IDecimateVideoImage_FWD_DEFINED__ +#define __IDecimateVideoImage_FWD_DEFINED__ +typedef interface IDecimateVideoImage IDecimateVideoImage; +#ifdef __cplusplus +interface IDecimateVideoImage; +#endif /* __cplusplus */ +#endif + +#ifndef __IDrawVideoImage_FWD_DEFINED__ +#define __IDrawVideoImage_FWD_DEFINED__ +typedef interface IDrawVideoImage IDrawVideoImage; +#ifdef __cplusplus +interface IDrawVideoImage; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumRegFilters_FWD_DEFINED__ +#define __IEnumRegFilters_FWD_DEFINED__ +typedef interface IEnumRegFilters IEnumRegFilters; +#ifdef __cplusplus +interface IEnumRegFilters; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumStreamIdMap_FWD_DEFINED__ +#define __IEnumStreamIdMap_FWD_DEFINED__ +typedef interface IEnumStreamIdMap IEnumStreamIdMap; +#ifdef __cplusplus +interface IEnumStreamIdMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSourceFilter_FWD_DEFINED__ +#define __IFileSourceFilter_FWD_DEFINED__ +typedef interface IFileSourceFilter IFileSourceFilter; +#ifdef __cplusplus +interface IFileSourceFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSinkFilter_FWD_DEFINED__ +#define __IFileSinkFilter_FWD_DEFINED__ +typedef interface IFileSinkFilter IFileSinkFilter; +#ifdef __cplusplus +interface IFileSinkFilter; +#endif /* __cplusplus */ +#endif + +#ifndef __IFileSinkFilter2_FWD_DEFINED__ +#define __IFileSinkFilter2_FWD_DEFINED__ +typedef interface IFileSinkFilter2 IFileSinkFilter2; +#ifdef __cplusplus +interface IFileSinkFilter2; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterMapper_FWD_DEFINED__ +#define __IFilterMapper_FWD_DEFINED__ +typedef interface IFilterMapper IFilterMapper; +#ifdef __cplusplus +interface IFilterMapper; +#endif /* __cplusplus */ +#endif + +#ifndef __IFilterMapper2_FWD_DEFINED__ +#define __IFilterMapper2_FWD_DEFINED__ +typedef interface IFilterMapper2 IFilterMapper2; +#ifdef __cplusplus +interface IFilterMapper2; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphBuilder_FWD_DEFINED__ +#define __IGraphBuilder_FWD_DEFINED__ +typedef interface IGraphBuilder IGraphBuilder; +#ifdef __cplusplus +interface IGraphBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __IKsPropertySet_FWD_DEFINED__ +#define __IKsPropertySet_FWD_DEFINED__ +typedef interface IKsPropertySet IKsPropertySet; +#ifdef __cplusplus +interface IKsPropertySet; +#endif /* __cplusplus */ +#endif + +#ifndef __IMediaEventSink_FWD_DEFINED__ +#define __IMediaEventSink_FWD_DEFINED__ +typedef interface IMediaEventSink IMediaEventSink; +#ifdef __cplusplus +interface IMediaEventSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IMpeg2Demultiplexer_FWD_DEFINED__ +#define __IMpeg2Demultiplexer_FWD_DEFINED__ +typedef interface IMpeg2Demultiplexer IMpeg2Demultiplexer; +#ifdef __cplusplus +interface IMpeg2Demultiplexer; +#endif /* __cplusplus */ +#endif + +#ifndef __IMPEG2StreamIdMap_FWD_DEFINED__ +#define __IMPEG2StreamIdMap_FWD_DEFINED__ +typedef interface IMPEG2StreamIdMap IMPEG2StreamIdMap; +#ifdef __cplusplus +interface IMPEG2StreamIdMap; +#endif /* __cplusplus */ +#endif + +#ifndef __IOverlay_FWD_DEFINED__ +#define __IOverlay_FWD_DEFINED__ +typedef interface IOverlay IOverlay; +#ifdef __cplusplus +interface IOverlay; +#endif /* __cplusplus */ +#endif + +#ifndef __IOverlayNotify_FWD_DEFINED__ +#define __IOverlayNotify_FWD_DEFINED__ +typedef interface IOverlayNotify IOverlayNotify; +#ifdef __cplusplus +interface IOverlayNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IOverlayNotify2_FWD_DEFINED__ +#define __IOverlayNotify2_FWD_DEFINED__ +typedef interface IOverlayNotify2 IOverlayNotify2; +#ifdef __cplusplus +interface IOverlayNotify2; +#endif /* __cplusplus */ +#endif + +#ifndef __IQualityControl_FWD_DEFINED__ +#define __IQualityControl_FWD_DEFINED__ +typedef interface IQualityControl IQualityControl; +#ifdef __cplusplus +interface IQualityControl; +#endif /* __cplusplus */ +#endif + +#ifndef __ISeekingPassThru_FWD_DEFINED__ +#define __ISeekingPassThru_FWD_DEFINED__ +typedef interface ISeekingPassThru ISeekingPassThru; +#ifdef __cplusplus +interface ISeekingPassThru; +#endif /* __cplusplus */ +#endif + +typedef struct __WIDL_strmif_generated_name_00000002 { + CLSID Clsid; + LPWSTR Name; +} REGFILTER; +/***************************************************************************** + * IEnumRegFilters interface + */ +#ifndef __IEnumRegFilters_INTERFACE_DEFINED__ +#define __IEnumRegFilters_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumRegFilters, 0x56a868a4, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a4-0ad4-11ce-b03a-0020af0ba770") +IEnumRegFilters : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cFilters, + REGFILTER **apRegFilter, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cFilters) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumRegFilters **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumRegFilters, 0x56a868a4, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IEnumRegFiltersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumRegFilters *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumRegFilters *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumRegFilters *This); + + /*** IEnumRegFilters methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumRegFilters *This, + ULONG cFilters, + REGFILTER **apRegFilter, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumRegFilters *This, + ULONG cFilters); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumRegFilters *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumRegFilters *This, + IEnumRegFilters **ppEnum); + + END_INTERFACE +} IEnumRegFiltersVtbl; + +interface IEnumRegFilters { + CONST_VTBL IEnumRegFiltersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumRegFilters_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumRegFilters_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumRegFilters_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumRegFilters methods ***/ +#define IEnumRegFilters_Next(This,cFilters,apRegFilter,pcFetched) (This)->lpVtbl->Next(This,cFilters,apRegFilter,pcFetched) +#define IEnumRegFilters_Skip(This,cFilters) (This)->lpVtbl->Skip(This,cFilters) +#define IEnumRegFilters_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumRegFilters_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumRegFilters_QueryInterface(IEnumRegFilters* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumRegFilters_AddRef(IEnumRegFilters* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumRegFilters_Release(IEnumRegFilters* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumRegFilters methods ***/ +static FORCEINLINE HRESULT IEnumRegFilters_Next(IEnumRegFilters* This,ULONG cFilters,REGFILTER **apRegFilter,ULONG *pcFetched) { + return This->lpVtbl->Next(This,cFilters,apRegFilter,pcFetched); +} +static FORCEINLINE HRESULT IEnumRegFilters_Skip(IEnumRegFilters* This,ULONG cFilters) { + return This->lpVtbl->Skip(This,cFilters); +} +static FORCEINLINE HRESULT IEnumRegFilters_Reset(IEnumRegFilters* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumRegFilters_Clone(IEnumRegFilters* This,IEnumRegFilters **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IEnumRegFilters_INTERFACE_DEFINED__ */ + +typedef IEnumRegFilters *PENUMREGFILTERS; +/***************************************************************************** + * IFilterMapper interface + */ +#ifndef __IFilterMapper_INTERFACE_DEFINED__ +#define __IFilterMapper_INTERFACE_DEFINED__ + +enum { + MERIT_PREFERRED = 0x800000, + MERIT_NORMAL = 0x600000, + MERIT_UNLIKELY = 0x400000, + MERIT_DO_NOT_USE = 0x200000, + MERIT_SW_COMPRESSOR = 0x100000, + MERIT_HW_COMPRESSOR = 0x100050 +}; +DEFINE_GUID(IID_IFilterMapper, 0x56a868a3, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a3-0ad4-11ce-b03a-0020af0ba770") +IFilterMapper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterFilter( + CLSID clsid, + LPCWSTR Name, + DWORD dwMerit) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterFilterInstance( + CLSID clsid, + LPCWSTR Name, + CLSID *MRId) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterPin( + CLSID Filter, + LPCWSTR Name, + BOOL bRendered, + BOOL bOutput, + BOOL bZero, + BOOL bMany, + CLSID ConnectsToFilter, + LPCWSTR ConnectsToPin) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterPinType( + CLSID clsFilter, + LPCWSTR strName, + CLSID clsMajorType, + CLSID clsSubType) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterFilter( + CLSID Filter) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterFilterInstance( + CLSID MRId) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterPin( + CLSID Filter, + LPCWSTR Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumMatchingFilters( + IEnumRegFilters **ppEnum, + DWORD dwMerit, + BOOL bInputNeeded, + CLSID clsInMaj, + CLSID clsInSub, + BOOL bRender, + BOOL bOutputNeeded, + CLSID clsOutMaj, + CLSID clsOutSub) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFilterMapper, 0x56a868a3, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IFilterMapperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFilterMapper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFilterMapper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFilterMapper *This); + + /*** IFilterMapper methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterFilter)( + IFilterMapper *This, + CLSID clsid, + LPCWSTR Name, + DWORD dwMerit); + + HRESULT (STDMETHODCALLTYPE *RegisterFilterInstance)( + IFilterMapper *This, + CLSID clsid, + LPCWSTR Name, + CLSID *MRId); + + HRESULT (STDMETHODCALLTYPE *RegisterPin)( + IFilterMapper *This, + CLSID Filter, + LPCWSTR Name, + BOOL bRendered, + BOOL bOutput, + BOOL bZero, + BOOL bMany, + CLSID ConnectsToFilter, + LPCWSTR ConnectsToPin); + + HRESULT (STDMETHODCALLTYPE *RegisterPinType)( + IFilterMapper *This, + CLSID clsFilter, + LPCWSTR strName, + CLSID clsMajorType, + CLSID clsSubType); + + HRESULT (STDMETHODCALLTYPE *UnregisterFilter)( + IFilterMapper *This, + CLSID Filter); + + HRESULT (STDMETHODCALLTYPE *UnregisterFilterInstance)( + IFilterMapper *This, + CLSID MRId); + + HRESULT (STDMETHODCALLTYPE *UnregisterPin)( + IFilterMapper *This, + CLSID Filter, + LPCWSTR Name); + + HRESULT (STDMETHODCALLTYPE *EnumMatchingFilters)( + IFilterMapper *This, + IEnumRegFilters **ppEnum, + DWORD dwMerit, + BOOL bInputNeeded, + CLSID clsInMaj, + CLSID clsInSub, + BOOL bRender, + BOOL bOutputNeeded, + CLSID clsOutMaj, + CLSID clsOutSub); + + END_INTERFACE +} IFilterMapperVtbl; + +interface IFilterMapper { + CONST_VTBL IFilterMapperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFilterMapper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFilterMapper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFilterMapper_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterMapper methods ***/ +#define IFilterMapper_RegisterFilter(This,clsid,Name,dwMerit) (This)->lpVtbl->RegisterFilter(This,clsid,Name,dwMerit) +#define IFilterMapper_RegisterFilterInstance(This,clsid,Name,MRId) (This)->lpVtbl->RegisterFilterInstance(This,clsid,Name,MRId) +#define IFilterMapper_RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin) (This)->lpVtbl->RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin) +#define IFilterMapper_RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType) (This)->lpVtbl->RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType) +#define IFilterMapper_UnregisterFilter(This,Filter) (This)->lpVtbl->UnregisterFilter(This,Filter) +#define IFilterMapper_UnregisterFilterInstance(This,MRId) (This)->lpVtbl->UnregisterFilterInstance(This,MRId) +#define IFilterMapper_UnregisterPin(This,Filter,Name) (This)->lpVtbl->UnregisterPin(This,Filter,Name) +#define IFilterMapper_EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOutputNeeded,clsOutMaj,clsOutSub) (This)->lpVtbl->EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOutputNeeded,clsOutMaj,clsOutSub) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFilterMapper_QueryInterface(IFilterMapper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFilterMapper_AddRef(IFilterMapper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFilterMapper_Release(IFilterMapper* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterMapper methods ***/ +static FORCEINLINE HRESULT IFilterMapper_RegisterFilter(IFilterMapper* This,CLSID clsid,LPCWSTR Name,DWORD dwMerit) { + return This->lpVtbl->RegisterFilter(This,clsid,Name,dwMerit); +} +static FORCEINLINE HRESULT IFilterMapper_RegisterFilterInstance(IFilterMapper* This,CLSID clsid,LPCWSTR Name,CLSID *MRId) { + return This->lpVtbl->RegisterFilterInstance(This,clsid,Name,MRId); +} +static FORCEINLINE HRESULT IFilterMapper_RegisterPin(IFilterMapper* This,CLSID Filter,LPCWSTR Name,BOOL bRendered,BOOL bOutput,BOOL bZero,BOOL bMany,CLSID ConnectsToFilter,LPCWSTR ConnectsToPin) { + return This->lpVtbl->RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin); +} +static FORCEINLINE HRESULT IFilterMapper_RegisterPinType(IFilterMapper* This,CLSID clsFilter,LPCWSTR strName,CLSID clsMajorType,CLSID clsSubType) { + return This->lpVtbl->RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType); +} +static FORCEINLINE HRESULT IFilterMapper_UnregisterFilter(IFilterMapper* This,CLSID Filter) { + return This->lpVtbl->UnregisterFilter(This,Filter); +} +static FORCEINLINE HRESULT IFilterMapper_UnregisterFilterInstance(IFilterMapper* This,CLSID MRId) { + return This->lpVtbl->UnregisterFilterInstance(This,MRId); +} +static FORCEINLINE HRESULT IFilterMapper_UnregisterPin(IFilterMapper* This,CLSID Filter,LPCWSTR Name) { + return This->lpVtbl->UnregisterPin(This,Filter,Name); +} +static FORCEINLINE HRESULT IFilterMapper_EnumMatchingFilters(IFilterMapper* This,IEnumRegFilters **ppEnum,DWORD dwMerit,BOOL bInputNeeded,CLSID clsInMaj,CLSID clsInSub,BOOL bRender,BOOL bOutputNeeded,CLSID clsOutMaj,CLSID clsOutSub) { + return This->lpVtbl->EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOutputNeeded,clsOutMaj,clsOutSub); +} +#endif +#endif + +#endif + + +#endif /* __IFilterMapper_INTERFACE_DEFINED__ */ + +typedef struct __WIDL_strmif_generated_name_00000003 { + const CLSID *clsMajorType; + const CLSID *clsMinorType; +} REGPINTYPES; +typedef struct __WIDL_strmif_generated_name_00000004 { + LPWSTR strName; + BOOL bRendered; + BOOL bOutput; + BOOL bZero; + BOOL bMany; + const CLSID *clsConnectsToFilter; + const WCHAR *strConnectsToPin; + UINT nMediaTypes; + const REGPINTYPES *lpMediaType; +} REGFILTERPINS; +typedef struct __WIDL_strmif_generated_name_00000005 { + CLSID clsMedium; + DWORD dw1; + DWORD dw2; +} REGPINMEDIUM; +enum { + REG_PINFLAG_B_ZERO = 0x1, + REG_PINFLAG_B_RENDERER = 0x2, + REG_PINFLAG_B_MANY = 0x4, + REG_PINFLAG_B_OUTPUT = 0x8 +}; +typedef struct __WIDL_strmif_generated_name_00000006 { + DWORD dwFlags; + UINT cInstances; + UINT nMediaTypes; + const REGPINTYPES *lpMediaType; + UINT nMediums; + const REGPINMEDIUM *lpMedium; + const CLSID *clsPinCategory; +} REGFILTERPINS2; +typedef struct __WIDL_strmif_generated_name_00000007 { + DWORD dwVersion; + DWORD dwMerit; + __C89_NAMELESS union { + __C89_NAMELESS struct { + ULONG cPins; + const REGFILTERPINS *rgPins; + } __C89_NAMELESSSTRUCTNAME1; + __C89_NAMELESS struct { + ULONG cPins2; + const REGFILTERPINS2 *rgPins2; + } __C89_NAMELESSSTRUCTNAME2; + } __C89_NAMELESSUNIONNAME; +} REGFILTER2; +/***************************************************************************** + * IFilterMapper2 interface + */ +#ifndef __IFilterMapper2_INTERFACE_DEFINED__ +#define __IFilterMapper2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFilterMapper2, 0xb79bb0b0, 0x33c1, 0x11d1, 0xab,0xe1, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b79bb0b0-33c1-11d1-abe1-00a0c905f375") +IFilterMapper2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateCategory( + REFCLSID clsidCategory, + DWORD dwCategoryMerit, + LPCWSTR Description) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterFilter( + const CLSID *pclsidCategory, + LPCOLESTR szInstance, + REFCLSID Filter) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterFilter( + REFCLSID clsidFilter, + LPCWSTR Name, + IMoniker **ppMoniker, + const CLSID *pclsidCategory, + LPCOLESTR szInstance, + const REGFILTER2 *prf2) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumMatchingFilters( + IEnumMoniker **ppEnum, + DWORD dwFlags, + BOOL bExactMatch, + DWORD dwMerit, + BOOL bInputNeeded, + DWORD cInputTypes, + const GUID *pInputTypes, + const REGPINMEDIUM *pMedIn, + const CLSID *pPinCategoryIn, + BOOL bRender, + BOOL bOutputNeeded, + DWORD cOutputTypes, + const GUID *pOutputTypes, + const REGPINMEDIUM *pMedOut, + const CLSID *pPinCategoryOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFilterMapper2, 0xb79bb0b0, 0x33c1, 0x11d1, 0xab,0xe1, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IFilterMapper2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFilterMapper2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFilterMapper2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFilterMapper2 *This); + + /*** IFilterMapper2 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateCategory)( + IFilterMapper2 *This, + REFCLSID clsidCategory, + DWORD dwCategoryMerit, + LPCWSTR Description); + + HRESULT (STDMETHODCALLTYPE *UnregisterFilter)( + IFilterMapper2 *This, + const CLSID *pclsidCategory, + LPCOLESTR szInstance, + REFCLSID Filter); + + HRESULT (STDMETHODCALLTYPE *RegisterFilter)( + IFilterMapper2 *This, + REFCLSID clsidFilter, + LPCWSTR Name, + IMoniker **ppMoniker, + const CLSID *pclsidCategory, + LPCOLESTR szInstance, + const REGFILTER2 *prf2); + + HRESULT (STDMETHODCALLTYPE *EnumMatchingFilters)( + IFilterMapper2 *This, + IEnumMoniker **ppEnum, + DWORD dwFlags, + BOOL bExactMatch, + DWORD dwMerit, + BOOL bInputNeeded, + DWORD cInputTypes, + const GUID *pInputTypes, + const REGPINMEDIUM *pMedIn, + const CLSID *pPinCategoryIn, + BOOL bRender, + BOOL bOutputNeeded, + DWORD cOutputTypes, + const GUID *pOutputTypes, + const REGPINMEDIUM *pMedOut, + const CLSID *pPinCategoryOut); + + END_INTERFACE +} IFilterMapper2Vtbl; + +interface IFilterMapper2 { + CONST_VTBL IFilterMapper2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFilterMapper2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFilterMapper2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFilterMapper2_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterMapper2 methods ***/ +#define IFilterMapper2_CreateCategory(This,clsidCategory,dwCategoryMerit,Description) (This)->lpVtbl->CreateCategory(This,clsidCategory,dwCategoryMerit,Description) +#define IFilterMapper2_UnregisterFilter(This,pclsidCategory,szInstance,Filter) (This)->lpVtbl->UnregisterFilter(This,pclsidCategory,szInstance,Filter) +#define IFilterMapper2_RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2) (This)->lpVtbl->RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2) +#define IFilterMapper2_EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut) (This)->lpVtbl->EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFilterMapper2_QueryInterface(IFilterMapper2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFilterMapper2_AddRef(IFilterMapper2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFilterMapper2_Release(IFilterMapper2* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterMapper2 methods ***/ +static FORCEINLINE HRESULT IFilterMapper2_CreateCategory(IFilterMapper2* This,REFCLSID clsidCategory,DWORD dwCategoryMerit,LPCWSTR Description) { + return This->lpVtbl->CreateCategory(This,clsidCategory,dwCategoryMerit,Description); +} +static FORCEINLINE HRESULT IFilterMapper2_UnregisterFilter(IFilterMapper2* This,const CLSID *pclsidCategory,LPCOLESTR szInstance,REFCLSID Filter) { + return This->lpVtbl->UnregisterFilter(This,pclsidCategory,szInstance,Filter); +} +static FORCEINLINE HRESULT IFilterMapper2_RegisterFilter(IFilterMapper2* This,REFCLSID clsidFilter,LPCWSTR Name,IMoniker **ppMoniker,const CLSID *pclsidCategory,LPCOLESTR szInstance,const REGFILTER2 *prf2) { + return This->lpVtbl->RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2); +} +static FORCEINLINE HRESULT IFilterMapper2_EnumMatchingFilters(IFilterMapper2* This,IEnumMoniker **ppEnum,DWORD dwFlags,BOOL bExactMatch,DWORD dwMerit,BOOL bInputNeeded,DWORD cInputTypes,const GUID *pInputTypes,const REGPINMEDIUM *pMedIn,const CLSID *pPinCategoryIn,BOOL bRender,BOOL bOutputNeeded,DWORD cOutputTypes,const GUID *pOutputTypes,const REGPINMEDIUM *pMedOut,const CLSID *pPinCategoryOut) { + return This->lpVtbl->EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut); +} +#endif +#endif + +#endif + + +#endif /* __IFilterMapper2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFilterMapper3 interface + */ +#ifndef __IFilterMapper3_INTERFACE_DEFINED__ +#define __IFilterMapper3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFilterMapper3, 0xb79bb0b1, 0x33c1, 0x11d1, 0xab,0xe1, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b79bb0b1-33c1-11d1-abe1-00a0c905f375") +IFilterMapper3 : public IFilterMapper2 +{ + virtual HRESULT STDMETHODCALLTYPE GetICreateDevEnum( + ICreateDevEnum **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFilterMapper3, 0xb79bb0b1, 0x33c1, 0x11d1, 0xab,0xe1, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IFilterMapper3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFilterMapper3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFilterMapper3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFilterMapper3 *This); + + /*** IFilterMapper2 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateCategory)( + IFilterMapper3 *This, + REFCLSID clsidCategory, + DWORD dwCategoryMerit, + LPCWSTR Description); + + HRESULT (STDMETHODCALLTYPE *UnregisterFilter)( + IFilterMapper3 *This, + const CLSID *pclsidCategory, + LPCOLESTR szInstance, + REFCLSID Filter); + + HRESULT (STDMETHODCALLTYPE *RegisterFilter)( + IFilterMapper3 *This, + REFCLSID clsidFilter, + LPCWSTR Name, + IMoniker **ppMoniker, + const CLSID *pclsidCategory, + LPCOLESTR szInstance, + const REGFILTER2 *prf2); + + HRESULT (STDMETHODCALLTYPE *EnumMatchingFilters)( + IFilterMapper3 *This, + IEnumMoniker **ppEnum, + DWORD dwFlags, + BOOL bExactMatch, + DWORD dwMerit, + BOOL bInputNeeded, + DWORD cInputTypes, + const GUID *pInputTypes, + const REGPINMEDIUM *pMedIn, + const CLSID *pPinCategoryIn, + BOOL bRender, + BOOL bOutputNeeded, + DWORD cOutputTypes, + const GUID *pOutputTypes, + const REGPINMEDIUM *pMedOut, + const CLSID *pPinCategoryOut); + + /*** IFilterMapper3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetICreateDevEnum)( + IFilterMapper3 *This, + ICreateDevEnum **ppEnum); + + END_INTERFACE +} IFilterMapper3Vtbl; + +interface IFilterMapper3 { + CONST_VTBL IFilterMapper3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFilterMapper3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFilterMapper3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFilterMapper3_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterMapper2 methods ***/ +#define IFilterMapper3_CreateCategory(This,clsidCategory,dwCategoryMerit,Description) (This)->lpVtbl->CreateCategory(This,clsidCategory,dwCategoryMerit,Description) +#define IFilterMapper3_UnregisterFilter(This,pclsidCategory,szInstance,Filter) (This)->lpVtbl->UnregisterFilter(This,pclsidCategory,szInstance,Filter) +#define IFilterMapper3_RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2) (This)->lpVtbl->RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2) +#define IFilterMapper3_EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut) (This)->lpVtbl->EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut) +/*** IFilterMapper3 methods ***/ +#define IFilterMapper3_GetICreateDevEnum(This,ppEnum) (This)->lpVtbl->GetICreateDevEnum(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFilterMapper3_QueryInterface(IFilterMapper3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFilterMapper3_AddRef(IFilterMapper3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFilterMapper3_Release(IFilterMapper3* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterMapper2 methods ***/ +static FORCEINLINE HRESULT IFilterMapper3_CreateCategory(IFilterMapper3* This,REFCLSID clsidCategory,DWORD dwCategoryMerit,LPCWSTR Description) { + return This->lpVtbl->CreateCategory(This,clsidCategory,dwCategoryMerit,Description); +} +static FORCEINLINE HRESULT IFilterMapper3_UnregisterFilter(IFilterMapper3* This,const CLSID *pclsidCategory,LPCOLESTR szInstance,REFCLSID Filter) { + return This->lpVtbl->UnregisterFilter(This,pclsidCategory,szInstance,Filter); +} +static FORCEINLINE HRESULT IFilterMapper3_RegisterFilter(IFilterMapper3* This,REFCLSID clsidFilter,LPCWSTR Name,IMoniker **ppMoniker,const CLSID *pclsidCategory,LPCOLESTR szInstance,const REGFILTER2 *prf2) { + return This->lpVtbl->RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2); +} +static FORCEINLINE HRESULT IFilterMapper3_EnumMatchingFilters(IFilterMapper3* This,IEnumMoniker **ppEnum,DWORD dwFlags,BOOL bExactMatch,DWORD dwMerit,BOOL bInputNeeded,DWORD cInputTypes,const GUID *pInputTypes,const REGPINMEDIUM *pMedIn,const CLSID *pPinCategoryIn,BOOL bRender,BOOL bOutputNeeded,DWORD cOutputTypes,const GUID *pOutputTypes,const REGPINMEDIUM *pMedOut,const CLSID *pPinCategoryOut) { + return This->lpVtbl->EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut); +} +/*** IFilterMapper3 methods ***/ +static FORCEINLINE HRESULT IFilterMapper3_GetICreateDevEnum(IFilterMapper3* This,ICreateDevEnum **ppEnum) { + return This->lpVtbl->GetICreateDevEnum(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IFilterMapper3_INTERFACE_DEFINED__ */ + +typedef enum tagQualityMessageType { + Famine = 0, + Flood = 1 +} QualityMessageType; +typedef struct tagQuality { + QualityMessageType Type; + LONG Proportion; + REFERENCE_TIME Late; + REFERENCE_TIME TimeStamp; +} Quality; +typedef IQualityControl *PQUALITYCONTROL; +/***************************************************************************** + * IQualityControl interface + */ +#ifndef __IQualityControl_INTERFACE_DEFINED__ +#define __IQualityControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IQualityControl, 0x56a868a5, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a5-0ad4-11ce-b03a-0020af0ba770") +IQualityControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Notify( + IBaseFilter *pSelf, + Quality q) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSink( + IQualityControl *piqc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IQualityControl, 0x56a868a5, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IQualityControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IQualityControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IQualityControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IQualityControl *This); + + /*** IQualityControl methods ***/ + HRESULT (STDMETHODCALLTYPE *Notify)( + IQualityControl *This, + IBaseFilter *pSelf, + Quality q); + + HRESULT (STDMETHODCALLTYPE *SetSink)( + IQualityControl *This, + IQualityControl *piqc); + + END_INTERFACE +} IQualityControlVtbl; + +interface IQualityControl { + CONST_VTBL IQualityControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IQualityControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IQualityControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IQualityControl_Release(This) (This)->lpVtbl->Release(This) +/*** IQualityControl methods ***/ +#define IQualityControl_Notify(This,pSelf,q) (This)->lpVtbl->Notify(This,pSelf,q) +#define IQualityControl_SetSink(This,piqc) (This)->lpVtbl->SetSink(This,piqc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IQualityControl_QueryInterface(IQualityControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IQualityControl_AddRef(IQualityControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IQualityControl_Release(IQualityControl* This) { + return This->lpVtbl->Release(This); +} +/*** IQualityControl methods ***/ +static FORCEINLINE HRESULT IQualityControl_Notify(IQualityControl* This,IBaseFilter *pSelf,Quality q) { + return This->lpVtbl->Notify(This,pSelf,q); +} +static FORCEINLINE HRESULT IQualityControl_SetSink(IQualityControl* This,IQualityControl *piqc) { + return This->lpVtbl->SetSink(This,piqc); +} +#endif +#endif + +#endif + + +#endif /* __IQualityControl_INTERFACE_DEFINED__ */ + +enum { + CK_NOCOLORKEY = 0x0, + CK_INDEX = 0x1, + CK_RGB = 0x2 +}; +typedef struct tagCOLORKEY { + DWORD KeyType; + DWORD PaletteIndex; + COLORREF LowColorValue; + COLORREF HighColorValue; +} COLORKEY; +enum { + ADVISE_NONE = 0x0, + ADVISE_CLIPPING = 0x1, + ADVISE_PALETTE = 0x2, + ADVISE_COLORKEY = 0x4, + ADVISE_POSITION = 0x8, + ADVISE_DISPLAY_CHANGE = 0x10 +}; +#define ADVISE_ALL (((ADVISE_CLIPPING | ADVISE_PALETTE) | ADVISE_COLORKEY) | ADVISE_POSITION) + +#define ADVISE_ALL2 (ADVISE_ALL | ADVISE_DISPLAY_CHANGE) + +#ifndef _WINGDI_ +typedef struct _RGNDATAHEADER { + DWORD dwSize; + DWORD iType; + DWORD nCount; + DWORD nRgnSize; + RECT rcBound; +} RGNDATAHEADER; +typedef struct _RGNDATA { + RGNDATAHEADER rdh; + char Buffer[1]; +} RGNDATA; +#endif /* _WINGDI_ */ +/***************************************************************************** + * IOverlayNotify interface + */ +#ifndef __IOverlayNotify_INTERFACE_DEFINED__ +#define __IOverlayNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOverlayNotify, 0x56a868a0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a0-0ad4-11ce-b03a-0020af0ba770") +IOverlayNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnPaletteChange( + DWORD dwColors, + const PALETTEENTRY *pPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnClipChange( + const RECT *pSourceRect, + const RECT *pDestinationRect, + const RGNDATA *pRgnData) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnColorKeyChange( + const COLORKEY *pColorKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnPositionChange( + const RECT *pSourceRect, + const RECT *pDestinationRect) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOverlayNotify, 0x56a868a0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IOverlayNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOverlayNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOverlayNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOverlayNotify *This); + + /*** IOverlayNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnPaletteChange)( + IOverlayNotify *This, + DWORD dwColors, + const PALETTEENTRY *pPalette); + + HRESULT (STDMETHODCALLTYPE *OnClipChange)( + IOverlayNotify *This, + const RECT *pSourceRect, + const RECT *pDestinationRect, + const RGNDATA *pRgnData); + + HRESULT (STDMETHODCALLTYPE *OnColorKeyChange)( + IOverlayNotify *This, + const COLORKEY *pColorKey); + + HRESULT (STDMETHODCALLTYPE *OnPositionChange)( + IOverlayNotify *This, + const RECT *pSourceRect, + const RECT *pDestinationRect); + + END_INTERFACE +} IOverlayNotifyVtbl; + +interface IOverlayNotify { + CONST_VTBL IOverlayNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOverlayNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOverlayNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOverlayNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IOverlayNotify methods ***/ +#define IOverlayNotify_OnPaletteChange(This,dwColors,pPalette) (This)->lpVtbl->OnPaletteChange(This,dwColors,pPalette) +#define IOverlayNotify_OnClipChange(This,pSourceRect,pDestinationRect,pRgnData) (This)->lpVtbl->OnClipChange(This,pSourceRect,pDestinationRect,pRgnData) +#define IOverlayNotify_OnColorKeyChange(This,pColorKey) (This)->lpVtbl->OnColorKeyChange(This,pColorKey) +#define IOverlayNotify_OnPositionChange(This,pSourceRect,pDestinationRect) (This)->lpVtbl->OnPositionChange(This,pSourceRect,pDestinationRect) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOverlayNotify_QueryInterface(IOverlayNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOverlayNotify_AddRef(IOverlayNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOverlayNotify_Release(IOverlayNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IOverlayNotify methods ***/ +static FORCEINLINE HRESULT IOverlayNotify_OnPaletteChange(IOverlayNotify* This,DWORD dwColors,const PALETTEENTRY *pPalette) { + return This->lpVtbl->OnPaletteChange(This,dwColors,pPalette); +} +static FORCEINLINE HRESULT IOverlayNotify_OnClipChange(IOverlayNotify* This,const RECT *pSourceRect,const RECT *pDestinationRect,const RGNDATA *pRgnData) { + return This->lpVtbl->OnClipChange(This,pSourceRect,pDestinationRect,pRgnData); +} +static FORCEINLINE HRESULT IOverlayNotify_OnColorKeyChange(IOverlayNotify* This,const COLORKEY *pColorKey) { + return This->lpVtbl->OnColorKeyChange(This,pColorKey); +} +static FORCEINLINE HRESULT IOverlayNotify_OnPositionChange(IOverlayNotify* This,const RECT *pSourceRect,const RECT *pDestinationRect) { + return This->lpVtbl->OnPositionChange(This,pSourceRect,pDestinationRect); +} +#endif +#endif + +#endif + + +#endif /* __IOverlayNotify_INTERFACE_DEFINED__ */ + +typedef IOverlayNotify *POVERLAYNOTIFY; +#if 0 +typedef HANDLE HMONITOR; +#endif /* 0 */ +/***************************************************************************** + * IOverlayNotify2 interface + */ +#ifndef __IOverlayNotify2_INTERFACE_DEFINED__ +#define __IOverlayNotify2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOverlayNotify2, 0x680efa10, 0xd535, 0x11d1, 0x87,0xc8, 0x00,0xa0,0xc9,0x22,0x31,0x96); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("680efa10-d535-11d1-87c8-00a0c9223196") +IOverlayNotify2 : public IOverlayNotify +{ + virtual HRESULT STDMETHODCALLTYPE OnDisplayChange( + HMONITOR hMonitor) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOverlayNotify2, 0x680efa10, 0xd535, 0x11d1, 0x87,0xc8, 0x00,0xa0,0xc9,0x22,0x31,0x96) +#endif +#else +typedef struct IOverlayNotify2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOverlayNotify2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOverlayNotify2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOverlayNotify2 *This); + + /*** IOverlayNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *OnPaletteChange)( + IOverlayNotify2 *This, + DWORD dwColors, + const PALETTEENTRY *pPalette); + + HRESULT (STDMETHODCALLTYPE *OnClipChange)( + IOverlayNotify2 *This, + const RECT *pSourceRect, + const RECT *pDestinationRect, + const RGNDATA *pRgnData); + + HRESULT (STDMETHODCALLTYPE *OnColorKeyChange)( + IOverlayNotify2 *This, + const COLORKEY *pColorKey); + + HRESULT (STDMETHODCALLTYPE *OnPositionChange)( + IOverlayNotify2 *This, + const RECT *pSourceRect, + const RECT *pDestinationRect); + + /*** IOverlayNotify2 methods ***/ + HRESULT (STDMETHODCALLTYPE *OnDisplayChange)( + IOverlayNotify2 *This, + HMONITOR hMonitor); + + END_INTERFACE +} IOverlayNotify2Vtbl; + +interface IOverlayNotify2 { + CONST_VTBL IOverlayNotify2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOverlayNotify2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOverlayNotify2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOverlayNotify2_Release(This) (This)->lpVtbl->Release(This) +/*** IOverlayNotify methods ***/ +#define IOverlayNotify2_OnPaletteChange(This,dwColors,pPalette) (This)->lpVtbl->OnPaletteChange(This,dwColors,pPalette) +#define IOverlayNotify2_OnClipChange(This,pSourceRect,pDestinationRect,pRgnData) (This)->lpVtbl->OnClipChange(This,pSourceRect,pDestinationRect,pRgnData) +#define IOverlayNotify2_OnColorKeyChange(This,pColorKey) (This)->lpVtbl->OnColorKeyChange(This,pColorKey) +#define IOverlayNotify2_OnPositionChange(This,pSourceRect,pDestinationRect) (This)->lpVtbl->OnPositionChange(This,pSourceRect,pDestinationRect) +/*** IOverlayNotify2 methods ***/ +#define IOverlayNotify2_OnDisplayChange(This,hMonitor) (This)->lpVtbl->OnDisplayChange(This,hMonitor) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOverlayNotify2_QueryInterface(IOverlayNotify2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOverlayNotify2_AddRef(IOverlayNotify2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOverlayNotify2_Release(IOverlayNotify2* This) { + return This->lpVtbl->Release(This); +} +/*** IOverlayNotify methods ***/ +static FORCEINLINE HRESULT IOverlayNotify2_OnPaletteChange(IOverlayNotify2* This,DWORD dwColors,const PALETTEENTRY *pPalette) { + return This->lpVtbl->OnPaletteChange(This,dwColors,pPalette); +} +static FORCEINLINE HRESULT IOverlayNotify2_OnClipChange(IOverlayNotify2* This,const RECT *pSourceRect,const RECT *pDestinationRect,const RGNDATA *pRgnData) { + return This->lpVtbl->OnClipChange(This,pSourceRect,pDestinationRect,pRgnData); +} +static FORCEINLINE HRESULT IOverlayNotify2_OnColorKeyChange(IOverlayNotify2* This,const COLORKEY *pColorKey) { + return This->lpVtbl->OnColorKeyChange(This,pColorKey); +} +static FORCEINLINE HRESULT IOverlayNotify2_OnPositionChange(IOverlayNotify2* This,const RECT *pSourceRect,const RECT *pDestinationRect) { + return This->lpVtbl->OnPositionChange(This,pSourceRect,pDestinationRect); +} +/*** IOverlayNotify2 methods ***/ +static FORCEINLINE HRESULT IOverlayNotify2_OnDisplayChange(IOverlayNotify2* This,HMONITOR hMonitor) { + return This->lpVtbl->OnDisplayChange(This,hMonitor); +} +#endif +#endif + +#endif + + +#endif /* __IOverlayNotify2_INTERFACE_DEFINED__ */ + +typedef IOverlayNotify2 *POVERLAYNOTIFY2; +/***************************************************************************** + * IOverlay interface + */ +#ifndef __IOverlay_INTERFACE_DEFINED__ +#define __IOverlay_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IOverlay, 0x56a868a1, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a1-0ad4-11ce-b03a-0020af0ba770") +IOverlay : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPalette( + DWORD *pdwColors, + PALETTEENTRY **ppPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPalette( + DWORD dwColors, + PALETTEENTRY *pPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultColorKey( + COLORKEY *pColorKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorKey( + COLORKEY *pColorKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorKey( + COLORKEY *pColorKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWindowHandle( + HWND *pHwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClipList( + RECT *pSourceRect, + RECT *pDestinationRect, + RGNDATA **ppRgnData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoPosition( + RECT *pSourceRect, + RECT *pDestinationRect) = 0; + + virtual HRESULT STDMETHODCALLTYPE Advise( + IOverlayNotify *pOverlayNotify, + DWORD dwInterests) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unadvise( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IOverlay, 0x56a868a1, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IOverlayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IOverlay *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IOverlay *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IOverlay *This); + + /*** IOverlay methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPalette)( + IOverlay *This, + DWORD *pdwColors, + PALETTEENTRY **ppPalette); + + HRESULT (STDMETHODCALLTYPE *SetPalette)( + IOverlay *This, + DWORD dwColors, + PALETTEENTRY *pPalette); + + HRESULT (STDMETHODCALLTYPE *GetDefaultColorKey)( + IOverlay *This, + COLORKEY *pColorKey); + + HRESULT (STDMETHODCALLTYPE *GetColorKey)( + IOverlay *This, + COLORKEY *pColorKey); + + HRESULT (STDMETHODCALLTYPE *SetColorKey)( + IOverlay *This, + COLORKEY *pColorKey); + + HRESULT (STDMETHODCALLTYPE *GetWindowHandle)( + IOverlay *This, + HWND *pHwnd); + + HRESULT (STDMETHODCALLTYPE *GetClipList)( + IOverlay *This, + RECT *pSourceRect, + RECT *pDestinationRect, + RGNDATA **ppRgnData); + + HRESULT (STDMETHODCALLTYPE *GetVideoPosition)( + IOverlay *This, + RECT *pSourceRect, + RECT *pDestinationRect); + + HRESULT (STDMETHODCALLTYPE *Advise)( + IOverlay *This, + IOverlayNotify *pOverlayNotify, + DWORD dwInterests); + + HRESULT (STDMETHODCALLTYPE *Unadvise)( + IOverlay *This); + + END_INTERFACE +} IOverlayVtbl; + +interface IOverlay { + CONST_VTBL IOverlayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IOverlay_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IOverlay_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IOverlay_Release(This) (This)->lpVtbl->Release(This) +/*** IOverlay methods ***/ +#define IOverlay_GetPalette(This,pdwColors,ppPalette) (This)->lpVtbl->GetPalette(This,pdwColors,ppPalette) +#define IOverlay_SetPalette(This,dwColors,pPalette) (This)->lpVtbl->SetPalette(This,dwColors,pPalette) +#define IOverlay_GetDefaultColorKey(This,pColorKey) (This)->lpVtbl->GetDefaultColorKey(This,pColorKey) +#define IOverlay_GetColorKey(This,pColorKey) (This)->lpVtbl->GetColorKey(This,pColorKey) +#define IOverlay_SetColorKey(This,pColorKey) (This)->lpVtbl->SetColorKey(This,pColorKey) +#define IOverlay_GetWindowHandle(This,pHwnd) (This)->lpVtbl->GetWindowHandle(This,pHwnd) +#define IOverlay_GetClipList(This,pSourceRect,pDestinationRect,ppRgnData) (This)->lpVtbl->GetClipList(This,pSourceRect,pDestinationRect,ppRgnData) +#define IOverlay_GetVideoPosition(This,pSourceRect,pDestinationRect) (This)->lpVtbl->GetVideoPosition(This,pSourceRect,pDestinationRect) +#define IOverlay_Advise(This,pOverlayNotify,dwInterests) (This)->lpVtbl->Advise(This,pOverlayNotify,dwInterests) +#define IOverlay_Unadvise(This) (This)->lpVtbl->Unadvise(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IOverlay_QueryInterface(IOverlay* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IOverlay_AddRef(IOverlay* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IOverlay_Release(IOverlay* This) { + return This->lpVtbl->Release(This); +} +/*** IOverlay methods ***/ +static FORCEINLINE HRESULT IOverlay_GetPalette(IOverlay* This,DWORD *pdwColors,PALETTEENTRY **ppPalette) { + return This->lpVtbl->GetPalette(This,pdwColors,ppPalette); +} +static FORCEINLINE HRESULT IOverlay_SetPalette(IOverlay* This,DWORD dwColors,PALETTEENTRY *pPalette) { + return This->lpVtbl->SetPalette(This,dwColors,pPalette); +} +static FORCEINLINE HRESULT IOverlay_GetDefaultColorKey(IOverlay* This,COLORKEY *pColorKey) { + return This->lpVtbl->GetDefaultColorKey(This,pColorKey); +} +static FORCEINLINE HRESULT IOverlay_GetColorKey(IOverlay* This,COLORKEY *pColorKey) { + return This->lpVtbl->GetColorKey(This,pColorKey); +} +static FORCEINLINE HRESULT IOverlay_SetColorKey(IOverlay* This,COLORKEY *pColorKey) { + return This->lpVtbl->SetColorKey(This,pColorKey); +} +static FORCEINLINE HRESULT IOverlay_GetWindowHandle(IOverlay* This,HWND *pHwnd) { + return This->lpVtbl->GetWindowHandle(This,pHwnd); +} +static FORCEINLINE HRESULT IOverlay_GetClipList(IOverlay* This,RECT *pSourceRect,RECT *pDestinationRect,RGNDATA **ppRgnData) { + return This->lpVtbl->GetClipList(This,pSourceRect,pDestinationRect,ppRgnData); +} +static FORCEINLINE HRESULT IOverlay_GetVideoPosition(IOverlay* This,RECT *pSourceRect,RECT *pDestinationRect) { + return This->lpVtbl->GetVideoPosition(This,pSourceRect,pDestinationRect); +} +static FORCEINLINE HRESULT IOverlay_Advise(IOverlay* This,IOverlayNotify *pOverlayNotify,DWORD dwInterests) { + return This->lpVtbl->Advise(This,pOverlayNotify,dwInterests); +} +static FORCEINLINE HRESULT IOverlay_Unadvise(IOverlay* This) { + return This->lpVtbl->Unadvise(This); +} +#endif +#endif + +#endif + + +#endif /* __IOverlay_INTERFACE_DEFINED__ */ + +typedef IOverlay *POVERLAY; +/***************************************************************************** + * IMediaEventSink interface + */ +#ifndef __IMediaEventSink_INTERFACE_DEFINED__ +#define __IMediaEventSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IMediaEventSink, 0x56a868a2, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a2-0ad4-11ce-b03a-0020af0ba770") +IMediaEventSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Notify( + LONG EventCode, + LONG_PTR EventParam1, + LONG_PTR EventParam2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaEventSink, 0x56a868a2, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IMediaEventSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaEventSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaEventSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaEventSink *This); + + /*** IMediaEventSink methods ***/ + HRESULT (STDMETHODCALLTYPE *Notify)( + IMediaEventSink *This, + LONG EventCode, + LONG_PTR EventParam1, + LONG_PTR EventParam2); + + END_INTERFACE +} IMediaEventSinkVtbl; + +interface IMediaEventSink { + CONST_VTBL IMediaEventSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaEventSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaEventSink_Release(This) (This)->lpVtbl->Release(This) +/*** IMediaEventSink methods ***/ +#define IMediaEventSink_Notify(This,EventCode,EventParam1,EventParam2) (This)->lpVtbl->Notify(This,EventCode,EventParam1,EventParam2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaEventSink_QueryInterface(IMediaEventSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaEventSink_AddRef(IMediaEventSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaEventSink_Release(IMediaEventSink* This) { + return This->lpVtbl->Release(This); +} +/*** IMediaEventSink methods ***/ +static FORCEINLINE HRESULT IMediaEventSink_Notify(IMediaEventSink* This,LONG EventCode,LONG_PTR EventParam1,LONG_PTR EventParam2) { + return This->lpVtbl->Notify(This,EventCode,EventParam1,EventParam2); +} +#endif +#endif + +#endif + + +#endif /* __IMediaEventSink_INTERFACE_DEFINED__ */ + +typedef IMediaEventSink *PMEDIAEVENTSINK; +/***************************************************************************** + * IFileSourceFilter interface + */ +#ifndef __IFileSourceFilter_INTERFACE_DEFINED__ +#define __IFileSourceFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileSourceFilter, 0x56a868a6, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a6-0ad4-11ce-b03a-0020af0ba770") +IFileSourceFilter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Load( + LPCOLESTR pszFileName, + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurFile( + LPOLESTR *ppszFileName, + AM_MEDIA_TYPE *pmt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileSourceFilter, 0x56a868a6, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IFileSourceFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileSourceFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileSourceFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileSourceFilter *This); + + /*** IFileSourceFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *Load)( + IFileSourceFilter *This, + LPCOLESTR pszFileName, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetCurFile)( + IFileSourceFilter *This, + LPOLESTR *ppszFileName, + AM_MEDIA_TYPE *pmt); + + END_INTERFACE +} IFileSourceFilterVtbl; + +interface IFileSourceFilter { + CONST_VTBL IFileSourceFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileSourceFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileSourceFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileSourceFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IFileSourceFilter methods ***/ +#define IFileSourceFilter_Load(This,pszFileName,pmt) (This)->lpVtbl->Load(This,pszFileName,pmt) +#define IFileSourceFilter_GetCurFile(This,ppszFileName,pmt) (This)->lpVtbl->GetCurFile(This,ppszFileName,pmt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileSourceFilter_QueryInterface(IFileSourceFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileSourceFilter_AddRef(IFileSourceFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileSourceFilter_Release(IFileSourceFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IFileSourceFilter methods ***/ +static FORCEINLINE HRESULT IFileSourceFilter_Load(IFileSourceFilter* This,LPCOLESTR pszFileName,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->Load(This,pszFileName,pmt); +} +static FORCEINLINE HRESULT IFileSourceFilter_GetCurFile(IFileSourceFilter* This,LPOLESTR *ppszFileName,AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetCurFile(This,ppszFileName,pmt); +} +#endif +#endif + +#endif + + +#endif /* __IFileSourceFilter_INTERFACE_DEFINED__ */ + +typedef IFileSourceFilter *PFILTERFILESOURCE; +/***************************************************************************** + * IFileSinkFilter interface + */ +#ifndef __IFileSinkFilter_INTERFACE_DEFINED__ +#define __IFileSinkFilter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileSinkFilter, 0xa2104830, 0x7c70, 0x11cf, 0x8b,0xce, 0x00,0xaa,0x00,0xa3,0xf1,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a2104830-7c70-11cf-8bce-00aa00a3f1a6") +IFileSinkFilter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFileName( + LPCOLESTR pszFileName, + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurFile( + LPOLESTR *ppszFileName, + AM_MEDIA_TYPE *pmt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileSinkFilter, 0xa2104830, 0x7c70, 0x11cf, 0x8b,0xce, 0x00,0xaa,0x00,0xa3,0xf1,0xa6) +#endif +#else +typedef struct IFileSinkFilterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileSinkFilter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileSinkFilter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileSinkFilter *This); + + /*** IFileSinkFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFileName)( + IFileSinkFilter *This, + LPCOLESTR pszFileName, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetCurFile)( + IFileSinkFilter *This, + LPOLESTR *ppszFileName, + AM_MEDIA_TYPE *pmt); + + END_INTERFACE +} IFileSinkFilterVtbl; + +interface IFileSinkFilter { + CONST_VTBL IFileSinkFilterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileSinkFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileSinkFilter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileSinkFilter_Release(This) (This)->lpVtbl->Release(This) +/*** IFileSinkFilter methods ***/ +#define IFileSinkFilter_SetFileName(This,pszFileName,pmt) (This)->lpVtbl->SetFileName(This,pszFileName,pmt) +#define IFileSinkFilter_GetCurFile(This,ppszFileName,pmt) (This)->lpVtbl->GetCurFile(This,ppszFileName,pmt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileSinkFilter_QueryInterface(IFileSinkFilter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileSinkFilter_AddRef(IFileSinkFilter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileSinkFilter_Release(IFileSinkFilter* This) { + return This->lpVtbl->Release(This); +} +/*** IFileSinkFilter methods ***/ +static FORCEINLINE HRESULT IFileSinkFilter_SetFileName(IFileSinkFilter* This,LPCOLESTR pszFileName,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->SetFileName(This,pszFileName,pmt); +} +static FORCEINLINE HRESULT IFileSinkFilter_GetCurFile(IFileSinkFilter* This,LPOLESTR *ppszFileName,AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetCurFile(This,ppszFileName,pmt); +} +#endif +#endif + +#endif + + +#endif /* __IFileSinkFilter_INTERFACE_DEFINED__ */ + +typedef IFileSinkFilter *PFILTERFILESINK; +/***************************************************************************** + * IFileSinkFilter2 interface + */ +#ifndef __IFileSinkFilter2_INTERFACE_DEFINED__ +#define __IFileSinkFilter2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFileSinkFilter2, 0x00855b90, 0xce1b, 0x11d0, 0xbd,0x4f, 0x00,0xa0,0xc9,0x11,0xce,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00855b90-ce1b-11d0-bd4f-00a0c911ce86") +IFileSinkFilter2 : public IFileSinkFilter +{ + virtual HRESULT STDMETHODCALLTYPE SetMode( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMode( + DWORD *pdwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFileSinkFilter2, 0x00855b90, 0xce1b, 0x11d0, 0xbd,0x4f, 0x00,0xa0,0xc9,0x11,0xce,0x86) +#endif +#else +typedef struct IFileSinkFilter2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFileSinkFilter2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFileSinkFilter2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFileSinkFilter2 *This); + + /*** IFileSinkFilter methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFileName)( + IFileSinkFilter2 *This, + LPCOLESTR pszFileName, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetCurFile)( + IFileSinkFilter2 *This, + LPOLESTR *ppszFileName, + AM_MEDIA_TYPE *pmt); + + /*** IFileSinkFilter2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMode)( + IFileSinkFilter2 *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetMode)( + IFileSinkFilter2 *This, + DWORD *pdwFlags); + + END_INTERFACE +} IFileSinkFilter2Vtbl; + +interface IFileSinkFilter2 { + CONST_VTBL IFileSinkFilter2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFileSinkFilter2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFileSinkFilter2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFileSinkFilter2_Release(This) (This)->lpVtbl->Release(This) +/*** IFileSinkFilter methods ***/ +#define IFileSinkFilter2_SetFileName(This,pszFileName,pmt) (This)->lpVtbl->SetFileName(This,pszFileName,pmt) +#define IFileSinkFilter2_GetCurFile(This,ppszFileName,pmt) (This)->lpVtbl->GetCurFile(This,ppszFileName,pmt) +/*** IFileSinkFilter2 methods ***/ +#define IFileSinkFilter2_SetMode(This,dwFlags) (This)->lpVtbl->SetMode(This,dwFlags) +#define IFileSinkFilter2_GetMode(This,pdwFlags) (This)->lpVtbl->GetMode(This,pdwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFileSinkFilter2_QueryInterface(IFileSinkFilter2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFileSinkFilter2_AddRef(IFileSinkFilter2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFileSinkFilter2_Release(IFileSinkFilter2* This) { + return This->lpVtbl->Release(This); +} +/*** IFileSinkFilter methods ***/ +static FORCEINLINE HRESULT IFileSinkFilter2_SetFileName(IFileSinkFilter2* This,LPCOLESTR pszFileName,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->SetFileName(This,pszFileName,pmt); +} +static FORCEINLINE HRESULT IFileSinkFilter2_GetCurFile(IFileSinkFilter2* This,LPOLESTR *ppszFileName,AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->GetCurFile(This,ppszFileName,pmt); +} +/*** IFileSinkFilter2 methods ***/ +static FORCEINLINE HRESULT IFileSinkFilter2_SetMode(IFileSinkFilter2* This,DWORD dwFlags) { + return This->lpVtbl->SetMode(This,dwFlags); +} +static FORCEINLINE HRESULT IFileSinkFilter2_GetMode(IFileSinkFilter2* This,DWORD *pdwFlags) { + return This->lpVtbl->GetMode(This,pdwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IFileSinkFilter2_INTERFACE_DEFINED__ */ + +typedef IFileSinkFilter2 *PFILESINKFILTER2; +typedef enum __WIDL_strmif_generated_name_00000008 { + AM_FILE_OVERWRITE = 0x1 +} AM_FILESINK_FLAGS; +/***************************************************************************** + * IGraphBuilder interface + */ +#ifndef __IGraphBuilder_INTERFACE_DEFINED__ +#define __IGraphBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGraphBuilder, 0x56a868a9, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868a9-0ad4-11ce-b03a-0020af0ba770") +IGraphBuilder : public IFilterGraph +{ + virtual HRESULT STDMETHODCALLTYPE Connect( + IPin *ppinOut, + IPin *ppinIn) = 0; + + virtual HRESULT STDMETHODCALLTYPE Render( + IPin *ppinOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenderFile( + LPCWSTR lpcwstrFile, + LPCWSTR lpcwstrPlayList) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSourceFilter( + LPCWSTR lpcwstrFileName, + LPCWSTR lpcwstrFilterName, + IBaseFilter **ppFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLogFile( + DWORD_PTR hFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShouldOperationContinue( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGraphBuilder, 0x56a868a9, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IGraphBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGraphBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGraphBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGraphBuilder *This); + + /*** IFilterGraph methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFilter)( + IGraphBuilder *This, + IBaseFilter *pFilter, + LPCWSTR pName); + + HRESULT (STDMETHODCALLTYPE *RemoveFilter)( + IGraphBuilder *This, + IBaseFilter *pFilter); + + HRESULT (STDMETHODCALLTYPE *EnumFilters)( + IGraphBuilder *This, + IEnumFilters **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindFilterByName)( + IGraphBuilder *This, + LPCWSTR pName, + IBaseFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *ConnectDirect)( + IGraphBuilder *This, + IPin *ppinOut, + IPin *ppinIn, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *Reconnect)( + IGraphBuilder *This, + IPin *ppin); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IGraphBuilder *This, + IPin *ppin); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSyncSource)( + IGraphBuilder *This); + + /*** IGraphBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *Connect)( + IGraphBuilder *This, + IPin *ppinOut, + IPin *ppinIn); + + HRESULT (STDMETHODCALLTYPE *Render)( + IGraphBuilder *This, + IPin *ppinOut); + + HRESULT (STDMETHODCALLTYPE *RenderFile)( + IGraphBuilder *This, + LPCWSTR lpcwstrFile, + LPCWSTR lpcwstrPlayList); + + HRESULT (STDMETHODCALLTYPE *AddSourceFilter)( + IGraphBuilder *This, + LPCWSTR lpcwstrFileName, + LPCWSTR lpcwstrFilterName, + IBaseFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *SetLogFile)( + IGraphBuilder *This, + DWORD_PTR hFile); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IGraphBuilder *This); + + HRESULT (STDMETHODCALLTYPE *ShouldOperationContinue)( + IGraphBuilder *This); + + END_INTERFACE +} IGraphBuilderVtbl; + +interface IGraphBuilder { + CONST_VTBL IGraphBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGraphBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGraphBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGraphBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterGraph methods ***/ +#define IGraphBuilder_AddFilter(This,pFilter,pName) (This)->lpVtbl->AddFilter(This,pFilter,pName) +#define IGraphBuilder_RemoveFilter(This,pFilter) (This)->lpVtbl->RemoveFilter(This,pFilter) +#define IGraphBuilder_EnumFilters(This,ppEnum) (This)->lpVtbl->EnumFilters(This,ppEnum) +#define IGraphBuilder_FindFilterByName(This,pName,ppFilter) (This)->lpVtbl->FindFilterByName(This,pName,ppFilter) +#define IGraphBuilder_ConnectDirect(This,ppinOut,ppinIn,pmt) (This)->lpVtbl->ConnectDirect(This,ppinOut,ppinIn,pmt) +#define IGraphBuilder_Reconnect(This,ppin) (This)->lpVtbl->Reconnect(This,ppin) +#define IGraphBuilder_Disconnect(This,ppin) (This)->lpVtbl->Disconnect(This,ppin) +#define IGraphBuilder_SetDefaultSyncSource(This) (This)->lpVtbl->SetDefaultSyncSource(This) +/*** IGraphBuilder methods ***/ +#define IGraphBuilder_Connect(This,ppinOut,ppinIn) (This)->lpVtbl->Connect(This,ppinOut,ppinIn) +#define IGraphBuilder_Render(This,ppinOut) (This)->lpVtbl->Render(This,ppinOut) +#define IGraphBuilder_RenderFile(This,lpcwstrFile,lpcwstrPlayList) (This)->lpVtbl->RenderFile(This,lpcwstrFile,lpcwstrPlayList) +#define IGraphBuilder_AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter) (This)->lpVtbl->AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter) +#define IGraphBuilder_SetLogFile(This,hFile) (This)->lpVtbl->SetLogFile(This,hFile) +#define IGraphBuilder_Abort(This) (This)->lpVtbl->Abort(This) +#define IGraphBuilder_ShouldOperationContinue(This) (This)->lpVtbl->ShouldOperationContinue(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGraphBuilder_QueryInterface(IGraphBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGraphBuilder_AddRef(IGraphBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGraphBuilder_Release(IGraphBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterGraph methods ***/ +static FORCEINLINE HRESULT IGraphBuilder_AddFilter(IGraphBuilder* This,IBaseFilter *pFilter,LPCWSTR pName) { + return This->lpVtbl->AddFilter(This,pFilter,pName); +} +static FORCEINLINE HRESULT IGraphBuilder_RemoveFilter(IGraphBuilder* This,IBaseFilter *pFilter) { + return This->lpVtbl->RemoveFilter(This,pFilter); +} +static FORCEINLINE HRESULT IGraphBuilder_EnumFilters(IGraphBuilder* This,IEnumFilters **ppEnum) { + return This->lpVtbl->EnumFilters(This,ppEnum); +} +static FORCEINLINE HRESULT IGraphBuilder_FindFilterByName(IGraphBuilder* This,LPCWSTR pName,IBaseFilter **ppFilter) { + return This->lpVtbl->FindFilterByName(This,pName,ppFilter); +} +static FORCEINLINE HRESULT IGraphBuilder_ConnectDirect(IGraphBuilder* This,IPin *ppinOut,IPin *ppinIn,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->ConnectDirect(This,ppinOut,ppinIn,pmt); +} +static FORCEINLINE HRESULT IGraphBuilder_Reconnect(IGraphBuilder* This,IPin *ppin) { + return This->lpVtbl->Reconnect(This,ppin); +} +static FORCEINLINE HRESULT IGraphBuilder_Disconnect(IGraphBuilder* This,IPin *ppin) { + return This->lpVtbl->Disconnect(This,ppin); +} +static FORCEINLINE HRESULT IGraphBuilder_SetDefaultSyncSource(IGraphBuilder* This) { + return This->lpVtbl->SetDefaultSyncSource(This); +} +/*** IGraphBuilder methods ***/ +static FORCEINLINE HRESULT IGraphBuilder_Connect(IGraphBuilder* This,IPin *ppinOut,IPin *ppinIn) { + return This->lpVtbl->Connect(This,ppinOut,ppinIn); +} +static FORCEINLINE HRESULT IGraphBuilder_Render(IGraphBuilder* This,IPin *ppinOut) { + return This->lpVtbl->Render(This,ppinOut); +} +static FORCEINLINE HRESULT IGraphBuilder_RenderFile(IGraphBuilder* This,LPCWSTR lpcwstrFile,LPCWSTR lpcwstrPlayList) { + return This->lpVtbl->RenderFile(This,lpcwstrFile,lpcwstrPlayList); +} +static FORCEINLINE HRESULT IGraphBuilder_AddSourceFilter(IGraphBuilder* This,LPCWSTR lpcwstrFileName,LPCWSTR lpcwstrFilterName,IBaseFilter **ppFilter) { + return This->lpVtbl->AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter); +} +static FORCEINLINE HRESULT IGraphBuilder_SetLogFile(IGraphBuilder* This,DWORD_PTR hFile) { + return This->lpVtbl->SetLogFile(This,hFile); +} +static FORCEINLINE HRESULT IGraphBuilder_Abort(IGraphBuilder* This) { + return This->lpVtbl->Abort(This); +} +static FORCEINLINE HRESULT IGraphBuilder_ShouldOperationContinue(IGraphBuilder* This) { + return This->lpVtbl->ShouldOperationContinue(This); +} +#endif +#endif + +#endif + + +#endif /* __IGraphBuilder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICaptureGraphBuilder interface + */ +#ifndef __ICaptureGraphBuilder_INTERFACE_DEFINED__ +#define __ICaptureGraphBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICaptureGraphBuilder, 0xbf87b6e0, 0x8c27, 0x11d0, 0xb3,0xf0, 0x00,0xaa,0x00,0x37,0x61,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bf87b6e0-8c27-11d0-b3f0-00aa003761c5") +ICaptureGraphBuilder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFiltergraph( + IGraphBuilder *pfg) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFiltergraph( + IGraphBuilder **ppfg) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputFileName( + const GUID *pType, + LPCOLESTR lpstrFile, + IBaseFilter **ppf, + IFileSinkFilter **ppSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindInterface( + const GUID *pCategory, + IBaseFilter *pf, + REFIID riid, + void **ppint) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenderStream( + const GUID *pCategory, + IUnknown *pSource, + IBaseFilter *pfCompressor, + IBaseFilter *pfRenderer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ControlStream( + const GUID *pCategory, + IBaseFilter *pFilter, + REFERENCE_TIME *pstart, + REFERENCE_TIME *pstop, + WORD wStartCookie, + WORD wStopCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocCapFile( + LPCOLESTR lpstr, + DWORDLONG dwlSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyCaptureFile( + LPOLESTR lpwstrOld, + LPOLESTR lpwstrNew, + int fAllowEscAbort, + IAMCopyCaptureFileProgress *pCallback) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICaptureGraphBuilder, 0xbf87b6e0, 0x8c27, 0x11d0, 0xb3,0xf0, 0x00,0xaa,0x00,0x37,0x61,0xc5) +#endif +#else +typedef struct ICaptureGraphBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICaptureGraphBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICaptureGraphBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICaptureGraphBuilder *This); + + /*** ICaptureGraphBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFiltergraph)( + ICaptureGraphBuilder *This, + IGraphBuilder *pfg); + + HRESULT (STDMETHODCALLTYPE *GetFiltergraph)( + ICaptureGraphBuilder *This, + IGraphBuilder **ppfg); + + HRESULT (STDMETHODCALLTYPE *SetOutputFileName)( + ICaptureGraphBuilder *This, + const GUID *pType, + LPCOLESTR lpstrFile, + IBaseFilter **ppf, + IFileSinkFilter **ppSink); + + HRESULT (STDMETHODCALLTYPE *FindInterface)( + ICaptureGraphBuilder *This, + const GUID *pCategory, + IBaseFilter *pf, + REFIID riid, + void **ppint); + + HRESULT (STDMETHODCALLTYPE *RenderStream)( + ICaptureGraphBuilder *This, + const GUID *pCategory, + IUnknown *pSource, + IBaseFilter *pfCompressor, + IBaseFilter *pfRenderer); + + HRESULT (STDMETHODCALLTYPE *ControlStream)( + ICaptureGraphBuilder *This, + const GUID *pCategory, + IBaseFilter *pFilter, + REFERENCE_TIME *pstart, + REFERENCE_TIME *pstop, + WORD wStartCookie, + WORD wStopCookie); + + HRESULT (STDMETHODCALLTYPE *AllocCapFile)( + ICaptureGraphBuilder *This, + LPCOLESTR lpstr, + DWORDLONG dwlSize); + + HRESULT (STDMETHODCALLTYPE *CopyCaptureFile)( + ICaptureGraphBuilder *This, + LPOLESTR lpwstrOld, + LPOLESTR lpwstrNew, + int fAllowEscAbort, + IAMCopyCaptureFileProgress *pCallback); + + END_INTERFACE +} ICaptureGraphBuilderVtbl; + +interface ICaptureGraphBuilder { + CONST_VTBL ICaptureGraphBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICaptureGraphBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICaptureGraphBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICaptureGraphBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** ICaptureGraphBuilder methods ***/ +#define ICaptureGraphBuilder_SetFiltergraph(This,pfg) (This)->lpVtbl->SetFiltergraph(This,pfg) +#define ICaptureGraphBuilder_GetFiltergraph(This,ppfg) (This)->lpVtbl->GetFiltergraph(This,ppfg) +#define ICaptureGraphBuilder_SetOutputFileName(This,pType,lpstrFile,ppf,ppSink) (This)->lpVtbl->SetOutputFileName(This,pType,lpstrFile,ppf,ppSink) +#define ICaptureGraphBuilder_FindInterface(This,pCategory,pf,riid,ppint) (This)->lpVtbl->FindInterface(This,pCategory,pf,riid,ppint) +#define ICaptureGraphBuilder_RenderStream(This,pCategory,pSource,pfCompressor,pfRenderer) (This)->lpVtbl->RenderStream(This,pCategory,pSource,pfCompressor,pfRenderer) +#define ICaptureGraphBuilder_ControlStream(This,pCategory,pFilter,pstart,pstop,wStartCookie,wStopCookie) (This)->lpVtbl->ControlStream(This,pCategory,pFilter,pstart,pstop,wStartCookie,wStopCookie) +#define ICaptureGraphBuilder_AllocCapFile(This,lpstr,dwlSize) (This)->lpVtbl->AllocCapFile(This,lpstr,dwlSize) +#define ICaptureGraphBuilder_CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback) (This)->lpVtbl->CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICaptureGraphBuilder_QueryInterface(ICaptureGraphBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICaptureGraphBuilder_AddRef(ICaptureGraphBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICaptureGraphBuilder_Release(ICaptureGraphBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** ICaptureGraphBuilder methods ***/ +static FORCEINLINE HRESULT ICaptureGraphBuilder_SetFiltergraph(ICaptureGraphBuilder* This,IGraphBuilder *pfg) { + return This->lpVtbl->SetFiltergraph(This,pfg); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_GetFiltergraph(ICaptureGraphBuilder* This,IGraphBuilder **ppfg) { + return This->lpVtbl->GetFiltergraph(This,ppfg); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_SetOutputFileName(ICaptureGraphBuilder* This,const GUID *pType,LPCOLESTR lpstrFile,IBaseFilter **ppf,IFileSinkFilter **ppSink) { + return This->lpVtbl->SetOutputFileName(This,pType,lpstrFile,ppf,ppSink); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_FindInterface(ICaptureGraphBuilder* This,const GUID *pCategory,IBaseFilter *pf,REFIID riid,void **ppint) { + return This->lpVtbl->FindInterface(This,pCategory,pf,riid,ppint); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_RenderStream(ICaptureGraphBuilder* This,const GUID *pCategory,IUnknown *pSource,IBaseFilter *pfCompressor,IBaseFilter *pfRenderer) { + return This->lpVtbl->RenderStream(This,pCategory,pSource,pfCompressor,pfRenderer); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_ControlStream(ICaptureGraphBuilder* This,const GUID *pCategory,IBaseFilter *pFilter,REFERENCE_TIME *pstart,REFERENCE_TIME *pstop,WORD wStartCookie,WORD wStopCookie) { + return This->lpVtbl->ControlStream(This,pCategory,pFilter,pstart,pstop,wStartCookie,wStopCookie); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_AllocCapFile(ICaptureGraphBuilder* This,LPCOLESTR lpstr,DWORDLONG dwlSize) { + return This->lpVtbl->AllocCapFile(This,lpstr,dwlSize); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder_CopyCaptureFile(ICaptureGraphBuilder* This,LPOLESTR lpwstrOld,LPOLESTR lpwstrNew,int fAllowEscAbort,IAMCopyCaptureFileProgress *pCallback) { + return This->lpVtbl->CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_RemoteFindInterface_Proxy( + ICaptureGraphBuilder* This, + const GUID *pCategory, + IBaseFilter *pf, + REFIID riid, + IUnknown **ppint); +void __RPC_STUB ICaptureGraphBuilder_RemoteFindInterface_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ICaptureGraphBuilder_FindInterface_Proxy( + ICaptureGraphBuilder* This, + const GUID *pCategory, + IBaseFilter *pf, + REFIID riid, + void **ppint); +HRESULT __RPC_STUB ICaptureGraphBuilder_FindInterface_Stub( + ICaptureGraphBuilder* This, + const GUID *pCategory, + IBaseFilter *pf, + REFIID riid, + IUnknown **ppint); + +#endif /* __ICaptureGraphBuilder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMCopyCaptureFileProgress interface + */ +#ifndef __IAMCopyCaptureFileProgress_INTERFACE_DEFINED__ +#define __IAMCopyCaptureFileProgress_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMCopyCaptureFileProgress, 0x670d1d20, 0xa068, 0x11d0, 0xb3,0xf0, 0x00,0xaa,0x00,0x37,0x61,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("670d1d20-a068-11d0-b3f0-00aa003761c5") +IAMCopyCaptureFileProgress : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Progress( + int iProgress) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMCopyCaptureFileProgress, 0x670d1d20, 0xa068, 0x11d0, 0xb3,0xf0, 0x00,0xaa,0x00,0x37,0x61,0xc5) +#endif +#else +typedef struct IAMCopyCaptureFileProgressVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMCopyCaptureFileProgress *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMCopyCaptureFileProgress *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMCopyCaptureFileProgress *This); + + /*** IAMCopyCaptureFileProgress methods ***/ + HRESULT (STDMETHODCALLTYPE *Progress)( + IAMCopyCaptureFileProgress *This, + int iProgress); + + END_INTERFACE +} IAMCopyCaptureFileProgressVtbl; + +interface IAMCopyCaptureFileProgress { + CONST_VTBL IAMCopyCaptureFileProgressVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMCopyCaptureFileProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMCopyCaptureFileProgress_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMCopyCaptureFileProgress_Release(This) (This)->lpVtbl->Release(This) +/*** IAMCopyCaptureFileProgress methods ***/ +#define IAMCopyCaptureFileProgress_Progress(This,iProgress) (This)->lpVtbl->Progress(This,iProgress) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMCopyCaptureFileProgress_QueryInterface(IAMCopyCaptureFileProgress* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMCopyCaptureFileProgress_AddRef(IAMCopyCaptureFileProgress* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMCopyCaptureFileProgress_Release(IAMCopyCaptureFileProgress* This) { + return This->lpVtbl->Release(This); +} +/*** IAMCopyCaptureFileProgress methods ***/ +static FORCEINLINE HRESULT IAMCopyCaptureFileProgress_Progress(IAMCopyCaptureFileProgress* This,int iProgress) { + return This->lpVtbl->Progress(This,iProgress); +} +#endif +#endif + +#endif + + +#endif /* __IAMCopyCaptureFileProgress_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICaptureGraphBuilder2 interface + */ +#ifndef __ICaptureGraphBuilder2_INTERFACE_DEFINED__ +#define __ICaptureGraphBuilder2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICaptureGraphBuilder2, 0x93e5a4e0, 0x2d50, 0x11d2, 0xab,0xfa, 0x00,0xa0,0xc9,0xc6,0xe3,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("93e5a4e0-2d50-11d2-abfa-00a0c9c6e38d") +ICaptureGraphBuilder2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFiltergraph( + IGraphBuilder *pfg) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFiltergraph( + IGraphBuilder **ppfg) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputFileName( + const GUID *pType, + LPCOLESTR lpstrFile, + IBaseFilter **ppf, + IFileSinkFilter **ppSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindInterface( + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pf, + REFIID riid, + void **ppint) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenderStream( + const GUID *pCategory, + const GUID *pType, + IUnknown *pSource, + IBaseFilter *pfCompressor, + IBaseFilter *pfRenderer) = 0; + + virtual HRESULT STDMETHODCALLTYPE ControlStream( + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pFilter, + REFERENCE_TIME *pstart, + REFERENCE_TIME *pstop, + WORD wStartCookie, + WORD wStopCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocCapFile( + LPCOLESTR lpstr, + DWORDLONG dwlSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyCaptureFile( + LPOLESTR lpwstrOld, + LPOLESTR lpwstrNew, + int fAllowEscAbort, + IAMCopyCaptureFileProgress *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindPin( + IUnknown *pSource, + PIN_DIRECTION pindir, + const GUID *pCategory, + const GUID *pType, + BOOL fUnconnected, + int num, + IPin **ppPin) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICaptureGraphBuilder2, 0x93e5a4e0, 0x2d50, 0x11d2, 0xab,0xfa, 0x00,0xa0,0xc9,0xc6,0xe3,0x8d) +#endif +#else +typedef struct ICaptureGraphBuilder2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICaptureGraphBuilder2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICaptureGraphBuilder2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICaptureGraphBuilder2 *This); + + /*** ICaptureGraphBuilder2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFiltergraph)( + ICaptureGraphBuilder2 *This, + IGraphBuilder *pfg); + + HRESULT (STDMETHODCALLTYPE *GetFiltergraph)( + ICaptureGraphBuilder2 *This, + IGraphBuilder **ppfg); + + HRESULT (STDMETHODCALLTYPE *SetOutputFileName)( + ICaptureGraphBuilder2 *This, + const GUID *pType, + LPCOLESTR lpstrFile, + IBaseFilter **ppf, + IFileSinkFilter **ppSink); + + HRESULT (STDMETHODCALLTYPE *FindInterface)( + ICaptureGraphBuilder2 *This, + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pf, + REFIID riid, + void **ppint); + + HRESULT (STDMETHODCALLTYPE *RenderStream)( + ICaptureGraphBuilder2 *This, + const GUID *pCategory, + const GUID *pType, + IUnknown *pSource, + IBaseFilter *pfCompressor, + IBaseFilter *pfRenderer); + + HRESULT (STDMETHODCALLTYPE *ControlStream)( + ICaptureGraphBuilder2 *This, + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pFilter, + REFERENCE_TIME *pstart, + REFERENCE_TIME *pstop, + WORD wStartCookie, + WORD wStopCookie); + + HRESULT (STDMETHODCALLTYPE *AllocCapFile)( + ICaptureGraphBuilder2 *This, + LPCOLESTR lpstr, + DWORDLONG dwlSize); + + HRESULT (STDMETHODCALLTYPE *CopyCaptureFile)( + ICaptureGraphBuilder2 *This, + LPOLESTR lpwstrOld, + LPOLESTR lpwstrNew, + int fAllowEscAbort, + IAMCopyCaptureFileProgress *pCallback); + + HRESULT (STDMETHODCALLTYPE *FindPin)( + ICaptureGraphBuilder2 *This, + IUnknown *pSource, + PIN_DIRECTION pindir, + const GUID *pCategory, + const GUID *pType, + BOOL fUnconnected, + int num, + IPin **ppPin); + + END_INTERFACE +} ICaptureGraphBuilder2Vtbl; + +interface ICaptureGraphBuilder2 { + CONST_VTBL ICaptureGraphBuilder2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICaptureGraphBuilder2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICaptureGraphBuilder2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICaptureGraphBuilder2_Release(This) (This)->lpVtbl->Release(This) +/*** ICaptureGraphBuilder2 methods ***/ +#define ICaptureGraphBuilder2_SetFiltergraph(This,pfg) (This)->lpVtbl->SetFiltergraph(This,pfg) +#define ICaptureGraphBuilder2_GetFiltergraph(This,ppfg) (This)->lpVtbl->GetFiltergraph(This,ppfg) +#define ICaptureGraphBuilder2_SetOutputFileName(This,pType,lpstrFile,ppf,ppSink) (This)->lpVtbl->SetOutputFileName(This,pType,lpstrFile,ppf,ppSink) +#define ICaptureGraphBuilder2_FindInterface(This,pCategory,pType,pf,riid,ppint) (This)->lpVtbl->FindInterface(This,pCategory,pType,pf,riid,ppint) +#define ICaptureGraphBuilder2_RenderStream(This,pCategory,pType,pSource,pfCompressor,pfRenderer) (This)->lpVtbl->RenderStream(This,pCategory,pType,pSource,pfCompressor,pfRenderer) +#define ICaptureGraphBuilder2_ControlStream(This,pCategory,pType,pFilter,pstart,pstop,wStartCookie,wStopCookie) (This)->lpVtbl->ControlStream(This,pCategory,pType,pFilter,pstart,pstop,wStartCookie,wStopCookie) +#define ICaptureGraphBuilder2_AllocCapFile(This,lpstr,dwlSize) (This)->lpVtbl->AllocCapFile(This,lpstr,dwlSize) +#define ICaptureGraphBuilder2_CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback) (This)->lpVtbl->CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback) +#define ICaptureGraphBuilder2_FindPin(This,pSource,pindir,pCategory,pType,fUnconnected,num,ppPin) (This)->lpVtbl->FindPin(This,pSource,pindir,pCategory,pType,fUnconnected,num,ppPin) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICaptureGraphBuilder2_QueryInterface(ICaptureGraphBuilder2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICaptureGraphBuilder2_AddRef(ICaptureGraphBuilder2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICaptureGraphBuilder2_Release(ICaptureGraphBuilder2* This) { + return This->lpVtbl->Release(This); +} +/*** ICaptureGraphBuilder2 methods ***/ +static FORCEINLINE HRESULT ICaptureGraphBuilder2_SetFiltergraph(ICaptureGraphBuilder2* This,IGraphBuilder *pfg) { + return This->lpVtbl->SetFiltergraph(This,pfg); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_GetFiltergraph(ICaptureGraphBuilder2* This,IGraphBuilder **ppfg) { + return This->lpVtbl->GetFiltergraph(This,ppfg); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_SetOutputFileName(ICaptureGraphBuilder2* This,const GUID *pType,LPCOLESTR lpstrFile,IBaseFilter **ppf,IFileSinkFilter **ppSink) { + return This->lpVtbl->SetOutputFileName(This,pType,lpstrFile,ppf,ppSink); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_FindInterface(ICaptureGraphBuilder2* This,const GUID *pCategory,const GUID *pType,IBaseFilter *pf,REFIID riid,void **ppint) { + return This->lpVtbl->FindInterface(This,pCategory,pType,pf,riid,ppint); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_RenderStream(ICaptureGraphBuilder2* This,const GUID *pCategory,const GUID *pType,IUnknown *pSource,IBaseFilter *pfCompressor,IBaseFilter *pfRenderer) { + return This->lpVtbl->RenderStream(This,pCategory,pType,pSource,pfCompressor,pfRenderer); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_ControlStream(ICaptureGraphBuilder2* This,const GUID *pCategory,const GUID *pType,IBaseFilter *pFilter,REFERENCE_TIME *pstart,REFERENCE_TIME *pstop,WORD wStartCookie,WORD wStopCookie) { + return This->lpVtbl->ControlStream(This,pCategory,pType,pFilter,pstart,pstop,wStartCookie,wStopCookie); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_AllocCapFile(ICaptureGraphBuilder2* This,LPCOLESTR lpstr,DWORDLONG dwlSize) { + return This->lpVtbl->AllocCapFile(This,lpstr,dwlSize); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_CopyCaptureFile(ICaptureGraphBuilder2* This,LPOLESTR lpwstrOld,LPOLESTR lpwstrNew,int fAllowEscAbort,IAMCopyCaptureFileProgress *pCallback) { + return This->lpVtbl->CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback); +} +static FORCEINLINE HRESULT ICaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2* This,IUnknown *pSource,PIN_DIRECTION pindir,const GUID *pCategory,const GUID *pType,BOOL fUnconnected,int num,IPin **ppPin) { + return This->lpVtbl->FindPin(This,pSource,pindir,pCategory,pType,fUnconnected,num,ppPin); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_RemoteFindInterface_Proxy( + ICaptureGraphBuilder2* This, + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pf, + REFIID riid, + IUnknown **ppint); +void __RPC_STUB ICaptureGraphBuilder2_RemoteFindInterface_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK ICaptureGraphBuilder2_FindInterface_Proxy( + ICaptureGraphBuilder2* This, + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pf, + REFIID riid, + void **ppint); +HRESULT __RPC_STUB ICaptureGraphBuilder2_FindInterface_Stub( + ICaptureGraphBuilder2* This, + const GUID *pCategory, + const GUID *pType, + IBaseFilter *pf, + REFIID riid, + IUnknown **ppint); + +#endif /* __ICaptureGraphBuilder2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IConfigAviMux interface + */ +#ifndef __IConfigAviMux_INTERFACE_DEFINED__ +#define __IConfigAviMux_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IConfigAviMux, 0x5acd6aa0, 0xf482, 0x11ce, 0x8b,0x67, 0x00,0xaa,0x00,0xa3,0xf1,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5acd6aa0-f482-11ce-8b67-00aa00a3f1a6") +IConfigAviMux : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMasterStream( + LONG iStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMasterStream( + LONG *pStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputCompatibilityIndex( + BOOL fOldIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputCompatibilityIndex( + BOOL *pfOldIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IConfigAviMux, 0x5acd6aa0, 0xf482, 0x11ce, 0x8b,0x67, 0x00,0xaa,0x00,0xa3,0xf1,0xa6) +#endif +#else +typedef struct IConfigAviMuxVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IConfigAviMux *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IConfigAviMux *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IConfigAviMux *This); + + /*** IConfigAviMux methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMasterStream)( + IConfigAviMux *This, + LONG iStream); + + HRESULT (STDMETHODCALLTYPE *GetMasterStream)( + IConfigAviMux *This, + LONG *pStream); + + HRESULT (STDMETHODCALLTYPE *SetOutputCompatibilityIndex)( + IConfigAviMux *This, + BOOL fOldIndex); + + HRESULT (STDMETHODCALLTYPE *GetOutputCompatibilityIndex)( + IConfigAviMux *This, + BOOL *pfOldIndex); + + END_INTERFACE +} IConfigAviMuxVtbl; + +interface IConfigAviMux { + CONST_VTBL IConfigAviMuxVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IConfigAviMux_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IConfigAviMux_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IConfigAviMux_Release(This) (This)->lpVtbl->Release(This) +/*** IConfigAviMux methods ***/ +#define IConfigAviMux_SetMasterStream(This,iStream) (This)->lpVtbl->SetMasterStream(This,iStream) +#define IConfigAviMux_GetMasterStream(This,pStream) (This)->lpVtbl->GetMasterStream(This,pStream) +#define IConfigAviMux_SetOutputCompatibilityIndex(This,fOldIndex) (This)->lpVtbl->SetOutputCompatibilityIndex(This,fOldIndex) +#define IConfigAviMux_GetOutputCompatibilityIndex(This,pfOldIndex) (This)->lpVtbl->GetOutputCompatibilityIndex(This,pfOldIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IConfigAviMux_QueryInterface(IConfigAviMux* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IConfigAviMux_AddRef(IConfigAviMux* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IConfigAviMux_Release(IConfigAviMux* This) { + return This->lpVtbl->Release(This); +} +/*** IConfigAviMux methods ***/ +static FORCEINLINE HRESULT IConfigAviMux_SetMasterStream(IConfigAviMux* This,LONG iStream) { + return This->lpVtbl->SetMasterStream(This,iStream); +} +static FORCEINLINE HRESULT IConfigAviMux_GetMasterStream(IConfigAviMux* This,LONG *pStream) { + return This->lpVtbl->GetMasterStream(This,pStream); +} +static FORCEINLINE HRESULT IConfigAviMux_SetOutputCompatibilityIndex(IConfigAviMux* This,BOOL fOldIndex) { + return This->lpVtbl->SetOutputCompatibilityIndex(This,fOldIndex); +} +static FORCEINLINE HRESULT IConfigAviMux_GetOutputCompatibilityIndex(IConfigAviMux* This,BOOL *pfOldIndex) { + return This->lpVtbl->GetOutputCompatibilityIndex(This,pfOldIndex); +} +#endif +#endif + +#endif + + +#endif /* __IConfigAviMux_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IConfigInterleaving interface + */ +#ifndef __IConfigInterleaving_INTERFACE_DEFINED__ +#define __IConfigInterleaving_INTERFACE_DEFINED__ + +typedef enum InterleavingMode { + INTERLEAVE_NONE = 0, + INTERLEAVE_CAPTURE = 1, + INTERLEAVE_FULL = 2, + INTERLEAVE_NONE_BUFFERED = 3 +} InterleavingMode; +DEFINE_GUID(IID_IConfigInterleaving, 0xbee3d220, 0x157b, 0x11d0, 0xbd,0x23, 0x00,0xa0,0xc9,0x11,0xce,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bee3d220-157b-11d0-bd23-00a0c911ce86") +IConfigInterleaving : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE put_Mode( + InterleavingMode mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Mode( + InterleavingMode *pMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Interleaving( + const REFERENCE_TIME *prtInterleave, + const REFERENCE_TIME *prtPreroll) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Interleaving( + REFERENCE_TIME *prtInterleave, + REFERENCE_TIME *prtPreroll) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IConfigInterleaving, 0xbee3d220, 0x157b, 0x11d0, 0xbd,0x23, 0x00,0xa0,0xc9,0x11,0xce,0x86) +#endif +#else +typedef struct IConfigInterleavingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IConfigInterleaving *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IConfigInterleaving *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IConfigInterleaving *This); + + /*** IConfigInterleaving methods ***/ + HRESULT (STDMETHODCALLTYPE *put_Mode)( + IConfigInterleaving *This, + InterleavingMode mode); + + HRESULT (STDMETHODCALLTYPE *get_Mode)( + IConfigInterleaving *This, + InterleavingMode *pMode); + + HRESULT (STDMETHODCALLTYPE *put_Interleaving)( + IConfigInterleaving *This, + const REFERENCE_TIME *prtInterleave, + const REFERENCE_TIME *prtPreroll); + + HRESULT (STDMETHODCALLTYPE *get_Interleaving)( + IConfigInterleaving *This, + REFERENCE_TIME *prtInterleave, + REFERENCE_TIME *prtPreroll); + + END_INTERFACE +} IConfigInterleavingVtbl; + +interface IConfigInterleaving { + CONST_VTBL IConfigInterleavingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IConfigInterleaving_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IConfigInterleaving_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IConfigInterleaving_Release(This) (This)->lpVtbl->Release(This) +/*** IConfigInterleaving methods ***/ +#define IConfigInterleaving_put_Mode(This,mode) (This)->lpVtbl->put_Mode(This,mode) +#define IConfigInterleaving_get_Mode(This,pMode) (This)->lpVtbl->get_Mode(This,pMode) +#define IConfigInterleaving_put_Interleaving(This,prtInterleave,prtPreroll) (This)->lpVtbl->put_Interleaving(This,prtInterleave,prtPreroll) +#define IConfigInterleaving_get_Interleaving(This,prtInterleave,prtPreroll) (This)->lpVtbl->get_Interleaving(This,prtInterleave,prtPreroll) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IConfigInterleaving_QueryInterface(IConfigInterleaving* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IConfigInterleaving_AddRef(IConfigInterleaving* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IConfigInterleaving_Release(IConfigInterleaving* This) { + return This->lpVtbl->Release(This); +} +/*** IConfigInterleaving methods ***/ +static FORCEINLINE HRESULT IConfigInterleaving_put_Mode(IConfigInterleaving* This,InterleavingMode mode) { + return This->lpVtbl->put_Mode(This,mode); +} +static FORCEINLINE HRESULT IConfigInterleaving_get_Mode(IConfigInterleaving* This,InterleavingMode *pMode) { + return This->lpVtbl->get_Mode(This,pMode); +} +static FORCEINLINE HRESULT IConfigInterleaving_put_Interleaving(IConfigInterleaving* This,const REFERENCE_TIME *prtInterleave,const REFERENCE_TIME *prtPreroll) { + return This->lpVtbl->put_Interleaving(This,prtInterleave,prtPreroll); +} +static FORCEINLINE HRESULT IConfigInterleaving_get_Interleaving(IConfigInterleaving* This,REFERENCE_TIME *prtInterleave,REFERENCE_TIME *prtPreroll) { + return This->lpVtbl->get_Interleaving(This,prtInterleave,prtPreroll); +} +#endif +#endif + +#endif + + +#endif /* __IConfigInterleaving_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMClockSlave interface + */ +#ifndef __IAMClockSlave_INTERFACE_DEFINED__ +#define __IAMClockSlave_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMClockSlave, 0x9fd52741, 0x176d, 0x4b36, 0x8f,0x51, 0xca,0x8f,0x93,0x32,0x23,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9fd52741-176d-4b36-8f51-ca8f933223be") +IAMClockSlave : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetErrorTolerance( + DWORD dwTolerance) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetErrorTolerance( + DWORD *pdwTolerance) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMClockSlave, 0x9fd52741, 0x176d, 0x4b36, 0x8f,0x51, 0xca,0x8f,0x93,0x32,0x23,0xbe) +#endif +#else +typedef struct IAMClockSlaveVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMClockSlave *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMClockSlave *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMClockSlave *This); + + /*** IAMClockSlave methods ***/ + HRESULT (STDMETHODCALLTYPE *SetErrorTolerance)( + IAMClockSlave *This, + DWORD dwTolerance); + + HRESULT (STDMETHODCALLTYPE *GetErrorTolerance)( + IAMClockSlave *This, + DWORD *pdwTolerance); + + END_INTERFACE +} IAMClockSlaveVtbl; + +interface IAMClockSlave { + CONST_VTBL IAMClockSlaveVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMClockSlave_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMClockSlave_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMClockSlave_Release(This) (This)->lpVtbl->Release(This) +/*** IAMClockSlave methods ***/ +#define IAMClockSlave_SetErrorTolerance(This,dwTolerance) (This)->lpVtbl->SetErrorTolerance(This,dwTolerance) +#define IAMClockSlave_GetErrorTolerance(This,pdwTolerance) (This)->lpVtbl->GetErrorTolerance(This,pdwTolerance) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMClockSlave_QueryInterface(IAMClockSlave* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMClockSlave_AddRef(IAMClockSlave* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMClockSlave_Release(IAMClockSlave* This) { + return This->lpVtbl->Release(This); +} +/*** IAMClockSlave methods ***/ +static FORCEINLINE HRESULT IAMClockSlave_SetErrorTolerance(IAMClockSlave* This,DWORD dwTolerance) { + return This->lpVtbl->SetErrorTolerance(This,dwTolerance); +} +static FORCEINLINE HRESULT IAMClockSlave_GetErrorTolerance(IAMClockSlave* This,DWORD *pdwTolerance) { + return This->lpVtbl->GetErrorTolerance(This,pdwTolerance); +} +#endif +#endif + +#endif + + +#endif /* __IAMClockSlave_INTERFACE_DEFINED__ */ + +typedef struct _AMCOPPSignature { + BYTE Signature[256]; +} AMCOPPSignature; +typedef struct _AMCOPPCommand { + GUID macKDI; + GUID guidCommandID; + DWORD dwSequence; + DWORD bSizeData; + BYTE CommandData[4056]; +} AMCOPPCommand; +typedef struct _AMCOPPCommand *LPAMCOPPCommand; +typedef struct _AMCOPPStatusInput { + GUID rApp; + GUID guidStatusRequestID; + DWORD dwSequence; + DWORD cbSizeData; + BYTE StatusData[4056]; +} AMCOPPStatusInput; +typedef struct _AMCOPPStatusInput *LPAMCOPPStatusInput; +typedef struct _AMCOPPStatusOutput { + GUID macKDI; + DWORD cbSizeData; + BYTE COPPStatus[4076]; +} AMCOPPStatusOutput; +typedef struct _AMCOPPStatusOutput *LPAMCOPPStatusOutput; +/***************************************************************************** + * IAMCertifiedOutputProtection interface + */ +#ifndef __IAMCertifiedOutputProtection_INTERFACE_DEFINED__ +#define __IAMCertifiedOutputProtection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMCertifiedOutputProtection, 0x6feded3e, 0x0ff1, 0x4901, 0xa2,0xf1, 0x43,0xf7,0x01,0x2c,0x85,0x15); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6feded3e-0ff1-4901-a2f1-43f7012c8515") +IAMCertifiedOutputProtection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE KeyExchange( + GUID *pRandom, + BYTE **VarLenCertGH, + DWORD *pdwLengthCertGH) = 0; + + virtual HRESULT STDMETHODCALLTYPE SessionSequenceStart( + AMCOPPSignature *pSig) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProtectionCommand( + const AMCOPPCommand *cmd) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProtectionStatus( + const AMCOPPStatusInput *pStatusInput, + AMCOPPStatusOutput *pStatusOutput) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMCertifiedOutputProtection, 0x6feded3e, 0x0ff1, 0x4901, 0xa2,0xf1, 0x43,0xf7,0x01,0x2c,0x85,0x15) +#endif +#else +typedef struct IAMCertifiedOutputProtectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMCertifiedOutputProtection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMCertifiedOutputProtection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMCertifiedOutputProtection *This); + + /*** IAMCertifiedOutputProtection methods ***/ + HRESULT (STDMETHODCALLTYPE *KeyExchange)( + IAMCertifiedOutputProtection *This, + GUID *pRandom, + BYTE **VarLenCertGH, + DWORD *pdwLengthCertGH); + + HRESULT (STDMETHODCALLTYPE *SessionSequenceStart)( + IAMCertifiedOutputProtection *This, + AMCOPPSignature *pSig); + + HRESULT (STDMETHODCALLTYPE *ProtectionCommand)( + IAMCertifiedOutputProtection *This, + const AMCOPPCommand *cmd); + + HRESULT (STDMETHODCALLTYPE *ProtectionStatus)( + IAMCertifiedOutputProtection *This, + const AMCOPPStatusInput *pStatusInput, + AMCOPPStatusOutput *pStatusOutput); + + END_INTERFACE +} IAMCertifiedOutputProtectionVtbl; + +interface IAMCertifiedOutputProtection { + CONST_VTBL IAMCertifiedOutputProtectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMCertifiedOutputProtection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMCertifiedOutputProtection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMCertifiedOutputProtection_Release(This) (This)->lpVtbl->Release(This) +/*** IAMCertifiedOutputProtection methods ***/ +#define IAMCertifiedOutputProtection_KeyExchange(This,pRandom,VarLenCertGH,pdwLengthCertGH) (This)->lpVtbl->KeyExchange(This,pRandom,VarLenCertGH,pdwLengthCertGH) +#define IAMCertifiedOutputProtection_SessionSequenceStart(This,pSig) (This)->lpVtbl->SessionSequenceStart(This,pSig) +#define IAMCertifiedOutputProtection_ProtectionCommand(This,cmd) (This)->lpVtbl->ProtectionCommand(This,cmd) +#define IAMCertifiedOutputProtection_ProtectionStatus(This,pStatusInput,pStatusOutput) (This)->lpVtbl->ProtectionStatus(This,pStatusInput,pStatusOutput) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMCertifiedOutputProtection_QueryInterface(IAMCertifiedOutputProtection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMCertifiedOutputProtection_AddRef(IAMCertifiedOutputProtection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMCertifiedOutputProtection_Release(IAMCertifiedOutputProtection* This) { + return This->lpVtbl->Release(This); +} +/*** IAMCertifiedOutputProtection methods ***/ +static FORCEINLINE HRESULT IAMCertifiedOutputProtection_KeyExchange(IAMCertifiedOutputProtection* This,GUID *pRandom,BYTE **VarLenCertGH,DWORD *pdwLengthCertGH) { + return This->lpVtbl->KeyExchange(This,pRandom,VarLenCertGH,pdwLengthCertGH); +} +static FORCEINLINE HRESULT IAMCertifiedOutputProtection_SessionSequenceStart(IAMCertifiedOutputProtection* This,AMCOPPSignature *pSig) { + return This->lpVtbl->SessionSequenceStart(This,pSig); +} +static FORCEINLINE HRESULT IAMCertifiedOutputProtection_ProtectionCommand(IAMCertifiedOutputProtection* This,const AMCOPPCommand *cmd) { + return This->lpVtbl->ProtectionCommand(This,cmd); +} +static FORCEINLINE HRESULT IAMCertifiedOutputProtection_ProtectionStatus(IAMCertifiedOutputProtection* This,const AMCOPPStatusInput *pStatusInput,AMCOPPStatusOutput *pStatusOutput) { + return This->lpVtbl->ProtectionStatus(This,pStatusInput,pStatusOutput); +} +#endif +#endif + +#endif + + +#endif /* __IAMCertifiedOutputProtection_INTERFACE_DEFINED__ */ + +enum _AM_RENSDEREXFLAGS { + AM_RENDEREX_RENDERTOEXISTINGRENDERERS = 0x1 +}; +/***************************************************************************** + * IFilterGraph2 interface + */ +#ifndef __IFilterGraph2_INTERFACE_DEFINED__ +#define __IFilterGraph2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFilterGraph2, 0x36b73882, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36b73882-c2c8-11cf-8b46-00805f6cef60") +IFilterGraph2 : public IGraphBuilder +{ + virtual HRESULT STDMETHODCALLTYPE AddSourceFilterForMoniker( + IMoniker *pMoniker, + IBindCtx *pCtx, + LPCWSTR lpcwstrFilterName, + IBaseFilter **ppFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReconnectEx( + IPin *ppin, + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE RenderEx( + IPin *pPinOut, + DWORD dwFlags, + DWORD *pvContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFilterGraph2, 0x36b73882, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60) +#endif +#else +typedef struct IFilterGraph2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFilterGraph2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFilterGraph2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFilterGraph2 *This); + + /*** IFilterGraph methods ***/ + HRESULT (STDMETHODCALLTYPE *AddFilter)( + IFilterGraph2 *This, + IBaseFilter *pFilter, + LPCWSTR pName); + + HRESULT (STDMETHODCALLTYPE *RemoveFilter)( + IFilterGraph2 *This, + IBaseFilter *pFilter); + + HRESULT (STDMETHODCALLTYPE *EnumFilters)( + IFilterGraph2 *This, + IEnumFilters **ppEnum); + + HRESULT (STDMETHODCALLTYPE *FindFilterByName)( + IFilterGraph2 *This, + LPCWSTR pName, + IBaseFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *ConnectDirect)( + IFilterGraph2 *This, + IPin *ppinOut, + IPin *ppinIn, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *Reconnect)( + IFilterGraph2 *This, + IPin *ppin); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IFilterGraph2 *This, + IPin *ppin); + + HRESULT (STDMETHODCALLTYPE *SetDefaultSyncSource)( + IFilterGraph2 *This); + + /*** IGraphBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *Connect)( + IFilterGraph2 *This, + IPin *ppinOut, + IPin *ppinIn); + + HRESULT (STDMETHODCALLTYPE *Render)( + IFilterGraph2 *This, + IPin *ppinOut); + + HRESULT (STDMETHODCALLTYPE *RenderFile)( + IFilterGraph2 *This, + LPCWSTR lpcwstrFile, + LPCWSTR lpcwstrPlayList); + + HRESULT (STDMETHODCALLTYPE *AddSourceFilter)( + IFilterGraph2 *This, + LPCWSTR lpcwstrFileName, + LPCWSTR lpcwstrFilterName, + IBaseFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *SetLogFile)( + IFilterGraph2 *This, + DWORD_PTR hFile); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IFilterGraph2 *This); + + HRESULT (STDMETHODCALLTYPE *ShouldOperationContinue)( + IFilterGraph2 *This); + + /*** IFilterGraph2 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddSourceFilterForMoniker)( + IFilterGraph2 *This, + IMoniker *pMoniker, + IBindCtx *pCtx, + LPCWSTR lpcwstrFilterName, + IBaseFilter **ppFilter); + + HRESULT (STDMETHODCALLTYPE *ReconnectEx)( + IFilterGraph2 *This, + IPin *ppin, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *RenderEx)( + IFilterGraph2 *This, + IPin *pPinOut, + DWORD dwFlags, + DWORD *pvContext); + + END_INTERFACE +} IFilterGraph2Vtbl; + +interface IFilterGraph2 { + CONST_VTBL IFilterGraph2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFilterGraph2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFilterGraph2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFilterGraph2_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterGraph methods ***/ +#define IFilterGraph2_AddFilter(This,pFilter,pName) (This)->lpVtbl->AddFilter(This,pFilter,pName) +#define IFilterGraph2_RemoveFilter(This,pFilter) (This)->lpVtbl->RemoveFilter(This,pFilter) +#define IFilterGraph2_EnumFilters(This,ppEnum) (This)->lpVtbl->EnumFilters(This,ppEnum) +#define IFilterGraph2_FindFilterByName(This,pName,ppFilter) (This)->lpVtbl->FindFilterByName(This,pName,ppFilter) +#define IFilterGraph2_ConnectDirect(This,ppinOut,ppinIn,pmt) (This)->lpVtbl->ConnectDirect(This,ppinOut,ppinIn,pmt) +#define IFilterGraph2_Reconnect(This,ppin) (This)->lpVtbl->Reconnect(This,ppin) +#define IFilterGraph2_Disconnect(This,ppin) (This)->lpVtbl->Disconnect(This,ppin) +#define IFilterGraph2_SetDefaultSyncSource(This) (This)->lpVtbl->SetDefaultSyncSource(This) +/*** IGraphBuilder methods ***/ +#define IFilterGraph2_Connect(This,ppinOut,ppinIn) (This)->lpVtbl->Connect(This,ppinOut,ppinIn) +#define IFilterGraph2_Render(This,ppinOut) (This)->lpVtbl->Render(This,ppinOut) +#define IFilterGraph2_RenderFile(This,lpcwstrFile,lpcwstrPlayList) (This)->lpVtbl->RenderFile(This,lpcwstrFile,lpcwstrPlayList) +#define IFilterGraph2_AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter) (This)->lpVtbl->AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter) +#define IFilterGraph2_SetLogFile(This,hFile) (This)->lpVtbl->SetLogFile(This,hFile) +#define IFilterGraph2_Abort(This) (This)->lpVtbl->Abort(This) +#define IFilterGraph2_ShouldOperationContinue(This) (This)->lpVtbl->ShouldOperationContinue(This) +/*** IFilterGraph2 methods ***/ +#define IFilterGraph2_AddSourceFilterForMoniker(This,pMoniker,pCtx,lpcwstrFilterName,ppFilter) (This)->lpVtbl->AddSourceFilterForMoniker(This,pMoniker,pCtx,lpcwstrFilterName,ppFilter) +#define IFilterGraph2_ReconnectEx(This,ppin,pmt) (This)->lpVtbl->ReconnectEx(This,ppin,pmt) +#define IFilterGraph2_RenderEx(This,pPinOut,dwFlags,pvContext) (This)->lpVtbl->RenderEx(This,pPinOut,dwFlags,pvContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFilterGraph2_QueryInterface(IFilterGraph2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFilterGraph2_AddRef(IFilterGraph2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFilterGraph2_Release(IFilterGraph2* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterGraph methods ***/ +static FORCEINLINE HRESULT IFilterGraph2_AddFilter(IFilterGraph2* This,IBaseFilter *pFilter,LPCWSTR pName) { + return This->lpVtbl->AddFilter(This,pFilter,pName); +} +static FORCEINLINE HRESULT IFilterGraph2_RemoveFilter(IFilterGraph2* This,IBaseFilter *pFilter) { + return This->lpVtbl->RemoveFilter(This,pFilter); +} +static FORCEINLINE HRESULT IFilterGraph2_EnumFilters(IFilterGraph2* This,IEnumFilters **ppEnum) { + return This->lpVtbl->EnumFilters(This,ppEnum); +} +static FORCEINLINE HRESULT IFilterGraph2_FindFilterByName(IFilterGraph2* This,LPCWSTR pName,IBaseFilter **ppFilter) { + return This->lpVtbl->FindFilterByName(This,pName,ppFilter); +} +static FORCEINLINE HRESULT IFilterGraph2_ConnectDirect(IFilterGraph2* This,IPin *ppinOut,IPin *ppinIn,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->ConnectDirect(This,ppinOut,ppinIn,pmt); +} +static FORCEINLINE HRESULT IFilterGraph2_Reconnect(IFilterGraph2* This,IPin *ppin) { + return This->lpVtbl->Reconnect(This,ppin); +} +static FORCEINLINE HRESULT IFilterGraph2_Disconnect(IFilterGraph2* This,IPin *ppin) { + return This->lpVtbl->Disconnect(This,ppin); +} +static FORCEINLINE HRESULT IFilterGraph2_SetDefaultSyncSource(IFilterGraph2* This) { + return This->lpVtbl->SetDefaultSyncSource(This); +} +/*** IGraphBuilder methods ***/ +static FORCEINLINE HRESULT IFilterGraph2_Connect(IFilterGraph2* This,IPin *ppinOut,IPin *ppinIn) { + return This->lpVtbl->Connect(This,ppinOut,ppinIn); +} +static FORCEINLINE HRESULT IFilterGraph2_Render(IFilterGraph2* This,IPin *ppinOut) { + return This->lpVtbl->Render(This,ppinOut); +} +static FORCEINLINE HRESULT IFilterGraph2_RenderFile(IFilterGraph2* This,LPCWSTR lpcwstrFile,LPCWSTR lpcwstrPlayList) { + return This->lpVtbl->RenderFile(This,lpcwstrFile,lpcwstrPlayList); +} +static FORCEINLINE HRESULT IFilterGraph2_AddSourceFilter(IFilterGraph2* This,LPCWSTR lpcwstrFileName,LPCWSTR lpcwstrFilterName,IBaseFilter **ppFilter) { + return This->lpVtbl->AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter); +} +static FORCEINLINE HRESULT IFilterGraph2_SetLogFile(IFilterGraph2* This,DWORD_PTR hFile) { + return This->lpVtbl->SetLogFile(This,hFile); +} +static FORCEINLINE HRESULT IFilterGraph2_Abort(IFilterGraph2* This) { + return This->lpVtbl->Abort(This); +} +static FORCEINLINE HRESULT IFilterGraph2_ShouldOperationContinue(IFilterGraph2* This) { + return This->lpVtbl->ShouldOperationContinue(This); +} +/*** IFilterGraph2 methods ***/ +static FORCEINLINE HRESULT IFilterGraph2_AddSourceFilterForMoniker(IFilterGraph2* This,IMoniker *pMoniker,IBindCtx *pCtx,LPCWSTR lpcwstrFilterName,IBaseFilter **ppFilter) { + return This->lpVtbl->AddSourceFilterForMoniker(This,pMoniker,pCtx,lpcwstrFilterName,ppFilter); +} +static FORCEINLINE HRESULT IFilterGraph2_ReconnectEx(IFilterGraph2* This,IPin *ppin,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->ReconnectEx(This,ppin,pmt); +} +static FORCEINLINE HRESULT IFilterGraph2_RenderEx(IFilterGraph2* This,IPin *pPinOut,DWORD dwFlags,DWORD *pvContext) { + return This->lpVtbl->RenderEx(This,pPinOut,dwFlags,pvContext); +} +#endif +#endif + +#endif + + +#endif /* __IFilterGraph2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IStreamBuilder interface + */ +#ifndef __IStreamBuilder_INTERFACE_DEFINED__ +#define __IStreamBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IStreamBuilder, 0x56a868bf, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868bf-0ad4-11ce-b03a-0020af0ba770") +IStreamBuilder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Render( + IPin *ppinOut, + IGraphBuilder *pGraph) = 0; + + virtual HRESULT STDMETHODCALLTYPE Backout( + IPin *ppinOut, + IGraphBuilder *pGraph) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IStreamBuilder, 0x56a868bf, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IStreamBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IStreamBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IStreamBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IStreamBuilder *This); + + /*** IStreamBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *Render)( + IStreamBuilder *This, + IPin *ppinOut, + IGraphBuilder *pGraph); + + HRESULT (STDMETHODCALLTYPE *Backout)( + IStreamBuilder *This, + IPin *ppinOut, + IGraphBuilder *pGraph); + + END_INTERFACE +} IStreamBuilderVtbl; + +interface IStreamBuilder { + CONST_VTBL IStreamBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IStreamBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IStreamBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IStreamBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** IStreamBuilder methods ***/ +#define IStreamBuilder_Render(This,ppinOut,pGraph) (This)->lpVtbl->Render(This,ppinOut,pGraph) +#define IStreamBuilder_Backout(This,ppinOut,pGraph) (This)->lpVtbl->Backout(This,ppinOut,pGraph) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IStreamBuilder_QueryInterface(IStreamBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IStreamBuilder_AddRef(IStreamBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IStreamBuilder_Release(IStreamBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** IStreamBuilder methods ***/ +static FORCEINLINE HRESULT IStreamBuilder_Render(IStreamBuilder* This,IPin *ppinOut,IGraphBuilder *pGraph) { + return This->lpVtbl->Render(This,ppinOut,pGraph); +} +static FORCEINLINE HRESULT IStreamBuilder_Backout(IStreamBuilder* This,IPin *ppinOut,IGraphBuilder *pGraph) { + return This->lpVtbl->Backout(This,ppinOut,pGraph); +} +#endif +#endif + +#endif + + +#endif /* __IStreamBuilder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMStreamConfig interface + */ +#ifndef __IAMStreamConfig_INTERFACE_DEFINED__ +#define __IAMStreamConfig_INTERFACE_DEFINED__ + +typedef struct _VIDEO_STREAM_CONFIG_CAPS { + GUID guid; + ULONG VideoStandard; + SIZE InputSize; + SIZE MinCroppingSize; + SIZE MaxCroppingSize; + int CropGranularityX; + int CropGranularityY; + int CropAlignX; + int CropAlignY; + SIZE MinOutputSize; + SIZE MaxOutputSize; + int OutputGranularityX; + int OutputGranularityY; + int StretchTapsX; + int StretchTapsY; + int ShrinkTapsX; + int ShrinkTapsY; + LONGLONG MinFrameInterval; + LONGLONG MaxFrameInterval; + LONG MinBitsPerSecond; + LONG MaxBitsPerSecond; +} VIDEO_STREAM_CONFIG_CAPS; +typedef struct _AUDIO_STREAM_CONFIG_CAPS { + GUID guid; + ULONG MinimumChannels; + ULONG MaximumChannels; + ULONG ChannelsGranularity; + ULONG MinimumBitsPerSample; + ULONG MaximumBitsPerSample; + ULONG BitsPerSampleGranularity; + ULONG MinimumSampleFrequency; + ULONG MaximumSampleFrequency; + ULONG SampleFrequencyGranularity; +} AUDIO_STREAM_CONFIG_CAPS; +DEFINE_GUID(IID_IAMStreamConfig, 0xc6e13340, 0x30ac, 0x11d0, 0xa1,0x8c, 0x00,0xa0,0xc9,0x11,0x89,0x56); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c6e13340-30ac-11d0-a18c-00a0c9118956") +IAMStreamConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetFormat( + AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFormat( + AM_MEDIA_TYPE **pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfCapabilities( + int *piCount, + int *piSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamCaps( + int iIndex, + AM_MEDIA_TYPE **pmt, + BYTE *pSCC) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMStreamConfig, 0xc6e13340, 0x30ac, 0x11d0, 0xa1,0x8c, 0x00,0xa0,0xc9,0x11,0x89,0x56) +#endif +#else +typedef struct IAMStreamConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMStreamConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMStreamConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMStreamConfig *This); + + /*** IAMStreamConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetFormat)( + IAMStreamConfig *This, + AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *GetFormat)( + IAMStreamConfig *This, + AM_MEDIA_TYPE **pmt); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfCapabilities)( + IAMStreamConfig *This, + int *piCount, + int *piSize); + + HRESULT (STDMETHODCALLTYPE *GetStreamCaps)( + IAMStreamConfig *This, + int iIndex, + AM_MEDIA_TYPE **pmt, + BYTE *pSCC); + + END_INTERFACE +} IAMStreamConfigVtbl; + +interface IAMStreamConfig { + CONST_VTBL IAMStreamConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMStreamConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMStreamConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMStreamConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IAMStreamConfig methods ***/ +#define IAMStreamConfig_SetFormat(This,pmt) (This)->lpVtbl->SetFormat(This,pmt) +#define IAMStreamConfig_GetFormat(This,pmt) (This)->lpVtbl->GetFormat(This,pmt) +#define IAMStreamConfig_GetNumberOfCapabilities(This,piCount,piSize) (This)->lpVtbl->GetNumberOfCapabilities(This,piCount,piSize) +#define IAMStreamConfig_GetStreamCaps(This,iIndex,pmt,pSCC) (This)->lpVtbl->GetStreamCaps(This,iIndex,pmt,pSCC) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMStreamConfig_QueryInterface(IAMStreamConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMStreamConfig_AddRef(IAMStreamConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMStreamConfig_Release(IAMStreamConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IAMStreamConfig methods ***/ +static FORCEINLINE HRESULT IAMStreamConfig_SetFormat(IAMStreamConfig* This,AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->SetFormat(This,pmt); +} +static FORCEINLINE HRESULT IAMStreamConfig_GetFormat(IAMStreamConfig* This,AM_MEDIA_TYPE **pmt) { + return This->lpVtbl->GetFormat(This,pmt); +} +static FORCEINLINE HRESULT IAMStreamConfig_GetNumberOfCapabilities(IAMStreamConfig* This,int *piCount,int *piSize) { + return This->lpVtbl->GetNumberOfCapabilities(This,piCount,piSize); +} +static FORCEINLINE HRESULT IAMStreamConfig_GetStreamCaps(IAMStreamConfig* This,int iIndex,AM_MEDIA_TYPE **pmt,BYTE *pSCC) { + return This->lpVtbl->GetStreamCaps(This,iIndex,pmt,pSCC); +} +#endif +#endif + +#endif + + +#endif /* __IAMStreamConfig_INTERFACE_DEFINED__ */ + +typedef enum tagVideoProcAmpProperty { + VideoProcAmp_Brightness = 0, + VideoProcAmp_Contrast = 1, + VideoProcAmp_Hue = 2, + VideoProcAmp_Saturation = 3, + VideoProcAmp_Sharpness = 4, + VideoProcAmp_Gamma = 5, + VideoProcAmp_ColorEnable = 6, + VideoProcAmp_WhiteBalance = 7, + VideoProcAmp_BacklightCompensation = 8, + VideoProcAmp_Gain = 9 +} VideoProcAmpProperty; +typedef enum tagVideoProcAmpFlags { + VideoProcAmp_Flags_Auto = 0x1, + VideoProcAmp_Flags_Manual = 0x2 +} VideoProcAmpFlags; +/***************************************************************************** + * IAMVideoProcAmp interface + */ +#ifndef __IAMVideoProcAmp_INTERFACE_DEFINED__ +#define __IAMVideoProcAmp_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMVideoProcAmp, 0xc6e13360, 0x30ac, 0x11d0, 0xa1,0x8c, 0x00,0xa0,0xc9,0x11,0x89,0x56); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c6e13360-30ac-11d0-a18c-00a0c9118956") +IAMVideoProcAmp : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRange( + LONG Property, + LONG *pMin, + LONG *pMax, + LONG *pSteppingDelta, + LONG *pDefault, + LONG *pCapsFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Set( + LONG Property, + LONG lValue, + LONG Flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get( + LONG Property, + LONG *lValue, + LONG *Flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMVideoProcAmp, 0xc6e13360, 0x30ac, 0x11d0, 0xa1,0x8c, 0x00,0xa0,0xc9,0x11,0x89,0x56) +#endif +#else +typedef struct IAMVideoProcAmpVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMVideoProcAmp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMVideoProcAmp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMVideoProcAmp *This); + + /*** IAMVideoProcAmp methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRange)( + IAMVideoProcAmp *This, + LONG Property, + LONG *pMin, + LONG *pMax, + LONG *pSteppingDelta, + LONG *pDefault, + LONG *pCapsFlags); + + HRESULT (STDMETHODCALLTYPE *Set)( + IAMVideoProcAmp *This, + LONG Property, + LONG lValue, + LONG Flags); + + HRESULT (STDMETHODCALLTYPE *Get)( + IAMVideoProcAmp *This, + LONG Property, + LONG *lValue, + LONG *Flags); + + END_INTERFACE +} IAMVideoProcAmpVtbl; + +interface IAMVideoProcAmp { + CONST_VTBL IAMVideoProcAmpVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMVideoProcAmp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMVideoProcAmp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMVideoProcAmp_Release(This) (This)->lpVtbl->Release(This) +/*** IAMVideoProcAmp methods ***/ +#define IAMVideoProcAmp_GetRange(This,Property,pMin,pMax,pSteppingDelta,pDefault,pCapsFlags) (This)->lpVtbl->GetRange(This,Property,pMin,pMax,pSteppingDelta,pDefault,pCapsFlags) +#define IAMVideoProcAmp_Set(This,Property,lValue,Flags) (This)->lpVtbl->Set(This,Property,lValue,Flags) +#define IAMVideoProcAmp_Get(This,Property,lValue,Flags) (This)->lpVtbl->Get(This,Property,lValue,Flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMVideoProcAmp_QueryInterface(IAMVideoProcAmp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMVideoProcAmp_AddRef(IAMVideoProcAmp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMVideoProcAmp_Release(IAMVideoProcAmp* This) { + return This->lpVtbl->Release(This); +} +/*** IAMVideoProcAmp methods ***/ +static FORCEINLINE HRESULT IAMVideoProcAmp_GetRange(IAMVideoProcAmp* This,LONG Property,LONG *pMin,LONG *pMax,LONG *pSteppingDelta,LONG *pDefault,LONG *pCapsFlags) { + return This->lpVtbl->GetRange(This,Property,pMin,pMax,pSteppingDelta,pDefault,pCapsFlags); +} +static FORCEINLINE HRESULT IAMVideoProcAmp_Set(IAMVideoProcAmp* This,LONG Property,LONG lValue,LONG Flags) { + return This->lpVtbl->Set(This,Property,lValue,Flags); +} +static FORCEINLINE HRESULT IAMVideoProcAmp_Get(IAMVideoProcAmp* This,LONG Property,LONG *lValue,LONG *Flags) { + return This->lpVtbl->Get(This,Property,lValue,Flags); +} +#endif +#endif + +#endif + + +#endif /* __IAMVideoProcAmp_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAsyncReader interface + */ +#ifndef __IAsyncReader_INTERFACE_DEFINED__ +#define __IAsyncReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAsyncReader, 0x56a868aa, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868aa-0ad4-11ce-b03a-0020af0ba770") +IAsyncReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RequestAllocator( + IMemAllocator *pPreferred, + ALLOCATOR_PROPERTIES *pProps, + IMemAllocator **ppActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE Request( + IMediaSample *pSample, + DWORD_PTR dwUser) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForNext( + DWORD dwTimeout, + IMediaSample **ppSample, + DWORD_PTR *pdwUser) = 0; + + virtual HRESULT STDMETHODCALLTYPE SyncReadAligned( + IMediaSample *pSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE SyncRead( + LONGLONG llPosition, + LONG lLength, + BYTE *pBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE Length( + LONGLONG *pTotal, + LONGLONG *pAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginFlush( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndFlush( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAsyncReader, 0x56a868aa, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IAsyncReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAsyncReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAsyncReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAsyncReader *This); + + /*** IAsyncReader methods ***/ + HRESULT (STDMETHODCALLTYPE *RequestAllocator)( + IAsyncReader *This, + IMemAllocator *pPreferred, + ALLOCATOR_PROPERTIES *pProps, + IMemAllocator **ppActual); + + HRESULT (STDMETHODCALLTYPE *Request)( + IAsyncReader *This, + IMediaSample *pSample, + DWORD_PTR dwUser); + + HRESULT (STDMETHODCALLTYPE *WaitForNext)( + IAsyncReader *This, + DWORD dwTimeout, + IMediaSample **ppSample, + DWORD_PTR *pdwUser); + + HRESULT (STDMETHODCALLTYPE *SyncReadAligned)( + IAsyncReader *This, + IMediaSample *pSample); + + HRESULT (STDMETHODCALLTYPE *SyncRead)( + IAsyncReader *This, + LONGLONG llPosition, + LONG lLength, + BYTE *pBuffer); + + HRESULT (STDMETHODCALLTYPE *Length)( + IAsyncReader *This, + LONGLONG *pTotal, + LONGLONG *pAvailable); + + HRESULT (STDMETHODCALLTYPE *BeginFlush)( + IAsyncReader *This); + + HRESULT (STDMETHODCALLTYPE *EndFlush)( + IAsyncReader *This); + + END_INTERFACE +} IAsyncReaderVtbl; + +interface IAsyncReader { + CONST_VTBL IAsyncReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAsyncReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAsyncReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAsyncReader_Release(This) (This)->lpVtbl->Release(This) +/*** IAsyncReader methods ***/ +#define IAsyncReader_RequestAllocator(This,pPreferred,pProps,ppActual) (This)->lpVtbl->RequestAllocator(This,pPreferred,pProps,ppActual) +#define IAsyncReader_Request(This,pSample,dwUser) (This)->lpVtbl->Request(This,pSample,dwUser) +#define IAsyncReader_WaitForNext(This,dwTimeout,ppSample,pdwUser) (This)->lpVtbl->WaitForNext(This,dwTimeout,ppSample,pdwUser) +#define IAsyncReader_SyncReadAligned(This,pSample) (This)->lpVtbl->SyncReadAligned(This,pSample) +#define IAsyncReader_SyncRead(This,llPosition,lLength,pBuffer) (This)->lpVtbl->SyncRead(This,llPosition,lLength,pBuffer) +#define IAsyncReader_Length(This,pTotal,pAvailable) (This)->lpVtbl->Length(This,pTotal,pAvailable) +#define IAsyncReader_BeginFlush(This) (This)->lpVtbl->BeginFlush(This) +#define IAsyncReader_EndFlush(This) (This)->lpVtbl->EndFlush(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAsyncReader_QueryInterface(IAsyncReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAsyncReader_AddRef(IAsyncReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAsyncReader_Release(IAsyncReader* This) { + return This->lpVtbl->Release(This); +} +/*** IAsyncReader methods ***/ +static FORCEINLINE HRESULT IAsyncReader_RequestAllocator(IAsyncReader* This,IMemAllocator *pPreferred,ALLOCATOR_PROPERTIES *pProps,IMemAllocator **ppActual) { + return This->lpVtbl->RequestAllocator(This,pPreferred,pProps,ppActual); +} +static FORCEINLINE HRESULT IAsyncReader_Request(IAsyncReader* This,IMediaSample *pSample,DWORD_PTR dwUser) { + return This->lpVtbl->Request(This,pSample,dwUser); +} +static FORCEINLINE HRESULT IAsyncReader_WaitForNext(IAsyncReader* This,DWORD dwTimeout,IMediaSample **ppSample,DWORD_PTR *pdwUser) { + return This->lpVtbl->WaitForNext(This,dwTimeout,ppSample,pdwUser); +} +static FORCEINLINE HRESULT IAsyncReader_SyncReadAligned(IAsyncReader* This,IMediaSample *pSample) { + return This->lpVtbl->SyncReadAligned(This,pSample); +} +static FORCEINLINE HRESULT IAsyncReader_SyncRead(IAsyncReader* This,LONGLONG llPosition,LONG lLength,BYTE *pBuffer) { + return This->lpVtbl->SyncRead(This,llPosition,lLength,pBuffer); +} +static FORCEINLINE HRESULT IAsyncReader_Length(IAsyncReader* This,LONGLONG *pTotal,LONGLONG *pAvailable) { + return This->lpVtbl->Length(This,pTotal,pAvailable); +} +static FORCEINLINE HRESULT IAsyncReader_BeginFlush(IAsyncReader* This) { + return This->lpVtbl->BeginFlush(This); +} +static FORCEINLINE HRESULT IAsyncReader_EndFlush(IAsyncReader* This) { + return This->lpVtbl->EndFlush(This); +} +#endif +#endif + +#endif + + +#endif /* __IAsyncReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGraphVersion interface + */ +#ifndef __IGraphVersion_INTERFACE_DEFINED__ +#define __IGraphVersion_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGraphVersion, 0x56a868ab, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868ab-0ad4-11ce-b03a-0020af0ba770") +IGraphVersion : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryVersion( + LONG *pVersion) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGraphVersion, 0x56a868ab, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IGraphVersionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGraphVersion *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGraphVersion *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGraphVersion *This); + + /*** IGraphVersion methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryVersion)( + IGraphVersion *This, + LONG *pVersion); + + END_INTERFACE +} IGraphVersionVtbl; + +interface IGraphVersion { + CONST_VTBL IGraphVersionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGraphVersion_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGraphVersion_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGraphVersion_Release(This) (This)->lpVtbl->Release(This) +/*** IGraphVersion methods ***/ +#define IGraphVersion_QueryVersion(This,pVersion) (This)->lpVtbl->QueryVersion(This,pVersion) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGraphVersion_QueryInterface(IGraphVersion* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGraphVersion_AddRef(IGraphVersion* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGraphVersion_Release(IGraphVersion* This) { + return This->lpVtbl->Release(This); +} +/*** IGraphVersion methods ***/ +static FORCEINLINE HRESULT IGraphVersion_QueryVersion(IGraphVersion* This,LONG *pVersion) { + return This->lpVtbl->QueryVersion(This,pVersion); +} +#endif +#endif + +#endif + + +#endif /* __IGraphVersion_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceConsumer interface + */ +#ifndef __IResourceConsumer_INTERFACE_DEFINED__ +#define __IResourceConsumer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceConsumer, 0x56a868ad, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868ad-0ad4-11ce-b03a-0020af0ba770") +IResourceConsumer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AcquireResource( + LONG idResource) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseResource( + LONG idResource) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceConsumer, 0x56a868ad, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IResourceConsumerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceConsumer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceConsumer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceConsumer *This); + + /*** IResourceConsumer methods ***/ + HRESULT (STDMETHODCALLTYPE *AcquireResource)( + IResourceConsumer *This, + LONG idResource); + + HRESULT (STDMETHODCALLTYPE *ReleaseResource)( + IResourceConsumer *This, + LONG idResource); + + END_INTERFACE +} IResourceConsumerVtbl; + +interface IResourceConsumer { + CONST_VTBL IResourceConsumerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceConsumer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceConsumer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceConsumer_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceConsumer methods ***/ +#define IResourceConsumer_AcquireResource(This,idResource) (This)->lpVtbl->AcquireResource(This,idResource) +#define IResourceConsumer_ReleaseResource(This,idResource) (This)->lpVtbl->ReleaseResource(This,idResource) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceConsumer_QueryInterface(IResourceConsumer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceConsumer_AddRef(IResourceConsumer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceConsumer_Release(IResourceConsumer* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceConsumer methods ***/ +static FORCEINLINE HRESULT IResourceConsumer_AcquireResource(IResourceConsumer* This,LONG idResource) { + return This->lpVtbl->AcquireResource(This,idResource); +} +static FORCEINLINE HRESULT IResourceConsumer_ReleaseResource(IResourceConsumer* This,LONG idResource) { + return This->lpVtbl->ReleaseResource(This,idResource); +} +#endif +#endif + +#endif + + +#endif /* __IResourceConsumer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceManager interface + */ +#ifndef __IResourceManager_INTERFACE_DEFINED__ +#define __IResourceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceManager, 0x56a868ac, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56a868ac-0ad4-11ce-b03a-0020af0ba770") +IResourceManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Register( + LPCWSTR pName, + LONG cResource, + LONG *plToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterGroup( + LPCWSTR pName, + LONG cResource, + LONG *palTokens, + LONG *plToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestResource( + LONG idResource, + IUnknown *pFocusObject, + IResourceConsumer *pConsumer) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyAcquire( + LONG idResource, + IResourceConsumer *pConsumer, + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyRelease( + LONG idResource, + IResourceConsumer *pConsumer, + BOOL bStillWant) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelRequest( + LONG idResource, + IResourceConsumer *pConsumer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFocus( + IUnknown *pFocusObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseFocus( + IUnknown *pFocusObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceManager, 0x56a868ac, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70) +#endif +#else +typedef struct IResourceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceManager *This); + + /*** IResourceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Register)( + IResourceManager *This, + LPCWSTR pName, + LONG cResource, + LONG *plToken); + + HRESULT (STDMETHODCALLTYPE *RegisterGroup)( + IResourceManager *This, + LPCWSTR pName, + LONG cResource, + LONG *palTokens, + LONG *plToken); + + HRESULT (STDMETHODCALLTYPE *RequestResource)( + IResourceManager *This, + LONG idResource, + IUnknown *pFocusObject, + IResourceConsumer *pConsumer); + + HRESULT (STDMETHODCALLTYPE *NotifyAcquire)( + IResourceManager *This, + LONG idResource, + IResourceConsumer *pConsumer, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *NotifyRelease)( + IResourceManager *This, + LONG idResource, + IResourceConsumer *pConsumer, + BOOL bStillWant); + + HRESULT (STDMETHODCALLTYPE *CancelRequest)( + IResourceManager *This, + LONG idResource, + IResourceConsumer *pConsumer); + + HRESULT (STDMETHODCALLTYPE *SetFocus)( + IResourceManager *This, + IUnknown *pFocusObject); + + HRESULT (STDMETHODCALLTYPE *ReleaseFocus)( + IResourceManager *This, + IUnknown *pFocusObject); + + END_INTERFACE +} IResourceManagerVtbl; + +interface IResourceManager { + CONST_VTBL IResourceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceManager_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceManager methods ***/ +#define IResourceManager_Register(This,pName,cResource,plToken) (This)->lpVtbl->Register(This,pName,cResource,plToken) +#define IResourceManager_RegisterGroup(This,pName,cResource,palTokens,plToken) (This)->lpVtbl->RegisterGroup(This,pName,cResource,palTokens,plToken) +#define IResourceManager_RequestResource(This,idResource,pFocusObject,pConsumer) (This)->lpVtbl->RequestResource(This,idResource,pFocusObject,pConsumer) +#define IResourceManager_NotifyAcquire(This,idResource,pConsumer,hr) (This)->lpVtbl->NotifyAcquire(This,idResource,pConsumer,hr) +#define IResourceManager_NotifyRelease(This,idResource,pConsumer,bStillWant) (This)->lpVtbl->NotifyRelease(This,idResource,pConsumer,bStillWant) +#define IResourceManager_CancelRequest(This,idResource,pConsumer) (This)->lpVtbl->CancelRequest(This,idResource,pConsumer) +#define IResourceManager_SetFocus(This,pFocusObject) (This)->lpVtbl->SetFocus(This,pFocusObject) +#define IResourceManager_ReleaseFocus(This,pFocusObject) (This)->lpVtbl->ReleaseFocus(This,pFocusObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceManager_QueryInterface(IResourceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceManager_AddRef(IResourceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceManager_Release(IResourceManager* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceManager methods ***/ +static FORCEINLINE HRESULT IResourceManager_Register(IResourceManager* This,LPCWSTR pName,LONG cResource,LONG *plToken) { + return This->lpVtbl->Register(This,pName,cResource,plToken); +} +static FORCEINLINE HRESULT IResourceManager_RegisterGroup(IResourceManager* This,LPCWSTR pName,LONG cResource,LONG *palTokens,LONG *plToken) { + return This->lpVtbl->RegisterGroup(This,pName,cResource,palTokens,plToken); +} +static FORCEINLINE HRESULT IResourceManager_RequestResource(IResourceManager* This,LONG idResource,IUnknown *pFocusObject,IResourceConsumer *pConsumer) { + return This->lpVtbl->RequestResource(This,idResource,pFocusObject,pConsumer); +} +static FORCEINLINE HRESULT IResourceManager_NotifyAcquire(IResourceManager* This,LONG idResource,IResourceConsumer *pConsumer,HRESULT hr) { + return This->lpVtbl->NotifyAcquire(This,idResource,pConsumer,hr); +} +static FORCEINLINE HRESULT IResourceManager_NotifyRelease(IResourceManager* This,LONG idResource,IResourceConsumer *pConsumer,BOOL bStillWant) { + return This->lpVtbl->NotifyRelease(This,idResource,pConsumer,bStillWant); +} +static FORCEINLINE HRESULT IResourceManager_CancelRequest(IResourceManager* This,LONG idResource,IResourceConsumer *pConsumer) { + return This->lpVtbl->CancelRequest(This,idResource,pConsumer); +} +static FORCEINLINE HRESULT IResourceManager_SetFocus(IResourceManager* This,IUnknown *pFocusObject) { + return This->lpVtbl->SetFocus(This,pFocusObject); +} +static FORCEINLINE HRESULT IResourceManager_ReleaseFocus(IResourceManager* This,IUnknown *pFocusObject) { + return This->lpVtbl->ReleaseFocus(This,pFocusObject); +} +#endif +#endif + +#endif + + +#endif /* __IResourceManager_INTERFACE_DEFINED__ */ + +typedef enum AM_STREAM_INFO_FLAGS { + AM_STREAM_INFO_START_DEFINED = 0x1, + AM_STREAM_INFO_STOP_DEFINED = 0x2, + AM_STREAM_INFO_DISCARDING = 0x4, + AM_STREAM_INFO_STOP_SEND_EXTRA = 0x10 +} AM_STREAM_INFO_FLAGS; +typedef struct AM_STREAM_INFO { + REFERENCE_TIME tStart; + REFERENCE_TIME tStop; + DWORD dwStartCookie; + DWORD dwStopCookie; + DWORD dwFlags; +} AM_STREAM_INFO; +/***************************************************************************** + * IAMStreamControl interface + */ +#ifndef __IAMStreamControl_INTERFACE_DEFINED__ +#define __IAMStreamControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMStreamControl, 0x36b73881, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36b73881-c2c8-11cf-8b46-00805f6cef60") +IAMStreamControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartAt( + const REFERENCE_TIME *ptStart, + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopAt( + const REFERENCE_TIME *ptStop, + BOOL bSendExtra, + DWORD dwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfo( + AM_STREAM_INFO *pInfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMStreamControl, 0x36b73881, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60) +#endif +#else +typedef struct IAMStreamControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMStreamControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMStreamControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMStreamControl *This); + + /*** IAMStreamControl methods ***/ + HRESULT (STDMETHODCALLTYPE *StartAt)( + IAMStreamControl *This, + const REFERENCE_TIME *ptStart, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *StopAt)( + IAMStreamControl *This, + const REFERENCE_TIME *ptStop, + BOOL bSendExtra, + DWORD dwCookie); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IAMStreamControl *This, + AM_STREAM_INFO *pInfo); + + END_INTERFACE +} IAMStreamControlVtbl; + +interface IAMStreamControl { + CONST_VTBL IAMStreamControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMStreamControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMStreamControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMStreamControl_Release(This) (This)->lpVtbl->Release(This) +/*** IAMStreamControl methods ***/ +#define IAMStreamControl_StartAt(This,ptStart,dwCookie) (This)->lpVtbl->StartAt(This,ptStart,dwCookie) +#define IAMStreamControl_StopAt(This,ptStop,bSendExtra,dwCookie) (This)->lpVtbl->StopAt(This,ptStop,bSendExtra,dwCookie) +#define IAMStreamControl_GetInfo(This,pInfo) (This)->lpVtbl->GetInfo(This,pInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMStreamControl_QueryInterface(IAMStreamControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMStreamControl_AddRef(IAMStreamControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMStreamControl_Release(IAMStreamControl* This) { + return This->lpVtbl->Release(This); +} +/*** IAMStreamControl methods ***/ +static FORCEINLINE HRESULT IAMStreamControl_StartAt(IAMStreamControl* This,const REFERENCE_TIME *ptStart,DWORD dwCookie) { + return This->lpVtbl->StartAt(This,ptStart,dwCookie); +} +static FORCEINLINE HRESULT IAMStreamControl_StopAt(IAMStreamControl* This,const REFERENCE_TIME *ptStop,BOOL bSendExtra,DWORD dwCookie) { + return This->lpVtbl->StopAt(This,ptStop,bSendExtra,dwCookie); +} +static FORCEINLINE HRESULT IAMStreamControl_GetInfo(IAMStreamControl* This,AM_STREAM_INFO *pInfo) { + return This->lpVtbl->GetInfo(This,pInfo); +} +#endif +#endif + +#endif + + +#endif /* __IAMStreamControl_INTERFACE_DEFINED__ */ + +#ifndef _IKsPropertySet_ +#define _IKsPropertySet_ +#define KSPROPERTY_SUPPORT_GET 1 +#define KSPROPERTY_SUPPORT_SET 2 +/***************************************************************************** + * IKsPropertySet interface + */ +#ifndef __IKsPropertySet_INTERFACE_DEFINED__ +#define __IKsPropertySet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IKsPropertySet, 0x31efac30, 0x515c, 0x11d0, 0xa9,0xaa, 0x00,0xaa,0x00,0x61,0xbe,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("31efac30-515c-11d0-a9aa-00aa0061be93") +IKsPropertySet : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Set( + REFGUID guidPropSet, + DWORD dwPropID, + LPVOID pInstanceData, + DWORD cbInstanceData, + LPVOID pPropData, + DWORD cbPropData) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get( + REFGUID guidPropSet, + DWORD dwPropID, + LPVOID pInstanceData, + DWORD cbInstanceData, + LPVOID pPropData, + DWORD cbPropData, + DWORD *pcbReturned) = 0; + + virtual HRESULT STDMETHODCALLTYPE QuerySupported( + REFGUID guidPropSet, + DWORD dwPropID, + DWORD *pTypeSupport) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IKsPropertySet, 0x31efac30, 0x515c, 0x11d0, 0xa9,0xaa, 0x00,0xaa,0x00,0x61,0xbe,0x93) +#endif +#else +typedef struct IKsPropertySetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IKsPropertySet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IKsPropertySet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IKsPropertySet *This); + + /*** IKsPropertySet methods ***/ + HRESULT (STDMETHODCALLTYPE *Set)( + IKsPropertySet *This, + REFGUID guidPropSet, + DWORD dwPropID, + LPVOID pInstanceData, + DWORD cbInstanceData, + LPVOID pPropData, + DWORD cbPropData); + + HRESULT (STDMETHODCALLTYPE *Get)( + IKsPropertySet *This, + REFGUID guidPropSet, + DWORD dwPropID, + LPVOID pInstanceData, + DWORD cbInstanceData, + LPVOID pPropData, + DWORD cbPropData, + DWORD *pcbReturned); + + HRESULT (STDMETHODCALLTYPE *QuerySupported)( + IKsPropertySet *This, + REFGUID guidPropSet, + DWORD dwPropID, + DWORD *pTypeSupport); + + END_INTERFACE +} IKsPropertySetVtbl; + +interface IKsPropertySet { + CONST_VTBL IKsPropertySetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IKsPropertySet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IKsPropertySet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IKsPropertySet_Release(This) (This)->lpVtbl->Release(This) +/*** IKsPropertySet methods ***/ +#define IKsPropertySet_Set(This,guidPropSet,dwPropID,pInstanceData,cbInstanceData,pPropData,cbPropData) (This)->lpVtbl->Set(This,guidPropSet,dwPropID,pInstanceData,cbInstanceData,pPropData,cbPropData) +#define IKsPropertySet_Get(This,guidPropSet,dwPropID,pInstanceData,cbInstanceData,pPropData,cbPropData,pcbReturned) (This)->lpVtbl->Get(This,guidPropSet,dwPropID,pInstanceData,cbInstanceData,pPropData,cbPropData,pcbReturned) +#define IKsPropertySet_QuerySupported(This,guidPropSet,dwPropID,pTypeSupport) (This)->lpVtbl->QuerySupported(This,guidPropSet,dwPropID,pTypeSupport) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IKsPropertySet_QueryInterface(IKsPropertySet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IKsPropertySet_AddRef(IKsPropertySet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IKsPropertySet_Release(IKsPropertySet* This) { + return This->lpVtbl->Release(This); +} +/*** IKsPropertySet methods ***/ +static FORCEINLINE HRESULT IKsPropertySet_Set(IKsPropertySet* This,REFGUID guidPropSet,DWORD dwPropID,LPVOID pInstanceData,DWORD cbInstanceData,LPVOID pPropData,DWORD cbPropData) { + return This->lpVtbl->Set(This,guidPropSet,dwPropID,pInstanceData,cbInstanceData,pPropData,cbPropData); +} +static FORCEINLINE HRESULT IKsPropertySet_Get(IKsPropertySet* This,REFGUID guidPropSet,DWORD dwPropID,LPVOID pInstanceData,DWORD cbInstanceData,LPVOID pPropData,DWORD cbPropData,DWORD *pcbReturned) { + return This->lpVtbl->Get(This,guidPropSet,dwPropID,pInstanceData,cbInstanceData,pPropData,cbPropData,pcbReturned); +} +static FORCEINLINE HRESULT IKsPropertySet_QuerySupported(IKsPropertySet* This,REFGUID guidPropSet,DWORD dwPropID,DWORD *pTypeSupport) { + return This->lpVtbl->QuerySupported(This,guidPropSet,dwPropID,pTypeSupport); +} +#endif +#endif + +#endif + + +#endif /* __IKsPropertySet_INTERFACE_DEFINED__ */ + +#endif /* _IKsPropertySet_ */ +/***************************************************************************** + * IMediaPropertyBag interface + */ +#ifndef __IMediaPropertyBag_INTERFACE_DEFINED__ +#define __IMediaPropertyBag_INTERFACE_DEFINED__ + +typedef IMediaPropertyBag *LPMEDIAPROPERTYBAG; +DEFINE_GUID(IID_IMediaPropertyBag, 0x6025a880, 0xc0d5, 0x11d0, 0xbd,0x4e, 0x00,0xa0,0xc9,0x11,0xce,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6025a880-c0d5-11d0-bd4e-00a0c911ce86") +IMediaPropertyBag : public IPropertyBag +{ + virtual HRESULT STDMETHODCALLTYPE EnumProperty( + ULONG iProperty, + VARIANT *pvarPropertyName, + VARIANT *pvarPropertyValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMediaPropertyBag, 0x6025a880, 0xc0d5, 0x11d0, 0xbd,0x4e, 0x00,0xa0,0xc9,0x11,0xce,0x86) +#endif +#else +typedef struct IMediaPropertyBagVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMediaPropertyBag *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMediaPropertyBag *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMediaPropertyBag *This); + + /*** IPropertyBag methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IMediaPropertyBag *This, + LPCOLESTR pszPropName, + VARIANT *pVar, + IErrorLog *pErrorLog); + + HRESULT (STDMETHODCALLTYPE *Write)( + IMediaPropertyBag *This, + LPCOLESTR pszPropName, + VARIANT *pVar); + + /*** IMediaPropertyBag methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumProperty)( + IMediaPropertyBag *This, + ULONG iProperty, + VARIANT *pvarPropertyName, + VARIANT *pvarPropertyValue); + + END_INTERFACE +} IMediaPropertyBagVtbl; + +interface IMediaPropertyBag { + CONST_VTBL IMediaPropertyBagVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMediaPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMediaPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMediaPropertyBag_Release(This) (This)->lpVtbl->Release(This) +/*** IPropertyBag methods ***/ +#define IMediaPropertyBag_Read(This,pszPropName,pVar,pErrorLog) (This)->lpVtbl->Read(This,pszPropName,pVar,pErrorLog) +#define IMediaPropertyBag_Write(This,pszPropName,pVar) (This)->lpVtbl->Write(This,pszPropName,pVar) +/*** IMediaPropertyBag methods ***/ +#define IMediaPropertyBag_EnumProperty(This,iProperty,pvarPropertyName,pvarPropertyValue) (This)->lpVtbl->EnumProperty(This,iProperty,pvarPropertyName,pvarPropertyValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMediaPropertyBag_QueryInterface(IMediaPropertyBag* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMediaPropertyBag_AddRef(IMediaPropertyBag* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMediaPropertyBag_Release(IMediaPropertyBag* This) { + return This->lpVtbl->Release(This); +} +/*** IPropertyBag methods ***/ +static FORCEINLINE HRESULT IMediaPropertyBag_Read(IMediaPropertyBag* This,LPCOLESTR pszPropName,VARIANT *pVar,IErrorLog *pErrorLog) { + return This->lpVtbl->Read(This,pszPropName,pVar,pErrorLog); +} +static FORCEINLINE HRESULT IMediaPropertyBag_Write(IMediaPropertyBag* This,LPCOLESTR pszPropName,VARIANT *pVar) { + return This->lpVtbl->Write(This,pszPropName,pVar); +} +/*** IMediaPropertyBag methods ***/ +static FORCEINLINE HRESULT IMediaPropertyBag_EnumProperty(IMediaPropertyBag* This,ULONG iProperty,VARIANT *pvarPropertyName,VARIANT *pvarPropertyValue) { + return This->lpVtbl->EnumProperty(This,iProperty,pvarPropertyName,pvarPropertyValue); +} +#endif +#endif + +#endif + + +#endif /* __IMediaPropertyBag_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistMediaPropertyBag interface + */ +#ifndef __IPersistMediaPropertyBag_INTERFACE_DEFINED__ +#define __IPersistMediaPropertyBag_INTERFACE_DEFINED__ + +typedef IPersistMediaPropertyBag *LPPERSISTMEDIAPROPERTYBAG; +DEFINE_GUID(IID_IPersistMediaPropertyBag, 0x5738e040, 0xb67f, 0x11d0, 0xbd,0x4d, 0x00,0xa0,0xc9,0x11,0xce,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5738e040-b67f-11d0-bd4d-00a0c911ce86") +IPersistMediaPropertyBag : public IPersist +{ + virtual HRESULT STDMETHODCALLTYPE InitNew( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + IMediaPropertyBag *pPropBag, + IErrorLog *pErrorLog) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + IMediaPropertyBag *pPropBag, + BOOL fClearDirty, + BOOL fSaveAllProperties) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistMediaPropertyBag, 0x5738e040, 0xb67f, 0x11d0, 0xbd,0x4d, 0x00,0xa0,0xc9,0x11,0xce,0x86) +#endif +#else +typedef struct IPersistMediaPropertyBagVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistMediaPropertyBag *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistMediaPropertyBag *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistMediaPropertyBag *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistMediaPropertyBag *This, + CLSID *pClassID); + + /*** IPersistMediaPropertyBag methods ***/ + HRESULT (STDMETHODCALLTYPE *InitNew)( + IPersistMediaPropertyBag *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistMediaPropertyBag *This, + IMediaPropertyBag *pPropBag, + IErrorLog *pErrorLog); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistMediaPropertyBag *This, + IMediaPropertyBag *pPropBag, + BOOL fClearDirty, + BOOL fSaveAllProperties); + + END_INTERFACE +} IPersistMediaPropertyBagVtbl; + +interface IPersistMediaPropertyBag { + CONST_VTBL IPersistMediaPropertyBagVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistMediaPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistMediaPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistMediaPropertyBag_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IPersistMediaPropertyBag_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistMediaPropertyBag methods ***/ +#define IPersistMediaPropertyBag_InitNew(This) (This)->lpVtbl->InitNew(This) +#define IPersistMediaPropertyBag_Load(This,pPropBag,pErrorLog) (This)->lpVtbl->Load(This,pPropBag,pErrorLog) +#define IPersistMediaPropertyBag_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistMediaPropertyBag_QueryInterface(IPersistMediaPropertyBag* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistMediaPropertyBag_AddRef(IPersistMediaPropertyBag* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistMediaPropertyBag_Release(IPersistMediaPropertyBag* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IPersistMediaPropertyBag_GetClassID(IPersistMediaPropertyBag* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistMediaPropertyBag methods ***/ +static FORCEINLINE HRESULT IPersistMediaPropertyBag_InitNew(IPersistMediaPropertyBag* This) { + return This->lpVtbl->InitNew(This); +} +static FORCEINLINE HRESULT IPersistMediaPropertyBag_Load(IPersistMediaPropertyBag* This,IMediaPropertyBag *pPropBag,IErrorLog *pErrorLog) { + return This->lpVtbl->Load(This,pPropBag,pErrorLog); +} +static FORCEINLINE HRESULT IPersistMediaPropertyBag_Save(IPersistMediaPropertyBag* This,IMediaPropertyBag *pPropBag,BOOL fClearDirty,BOOL fSaveAllProperties) { + return This->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties); +} +#endif +#endif + +#endif + + +#endif /* __IPersistMediaPropertyBag_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISeekingPassThru interface + */ +#ifndef __ISeekingPassThru_INTERFACE_DEFINED__ +#define __ISeekingPassThru_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISeekingPassThru, 0x36b73883, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("36b73883-c2c8-11cf-8b46-00805f6cef60") +ISeekingPassThru : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Init( + BOOL bSupportRendering, + IPin *pPin) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISeekingPassThru, 0x36b73883, 0xc2c8, 0x11cf, 0x8b,0x46, 0x00,0x80,0x5f,0x6c,0xef,0x60) +#endif +#else +typedef struct ISeekingPassThruVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISeekingPassThru *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISeekingPassThru *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISeekingPassThru *This); + + /*** ISeekingPassThru methods ***/ + HRESULT (STDMETHODCALLTYPE *Init)( + ISeekingPassThru *This, + BOOL bSupportRendering, + IPin *pPin); + + END_INTERFACE +} ISeekingPassThruVtbl; + +interface ISeekingPassThru { + CONST_VTBL ISeekingPassThruVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISeekingPassThru_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISeekingPassThru_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISeekingPassThru_Release(This) (This)->lpVtbl->Release(This) +/*** ISeekingPassThru methods ***/ +#define ISeekingPassThru_Init(This,bSupportRendering,pPin) (This)->lpVtbl->Init(This,bSupportRendering,pPin) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISeekingPassThru_QueryInterface(ISeekingPassThru* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISeekingPassThru_AddRef(ISeekingPassThru* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISeekingPassThru_Release(ISeekingPassThru* This) { + return This->lpVtbl->Release(This); +} +/*** ISeekingPassThru methods ***/ +static FORCEINLINE HRESULT ISeekingPassThru_Init(ISeekingPassThru* This,BOOL bSupportRendering,IPin *pPin) { + return This->lpVtbl->Init(This,bSupportRendering,pPin); +} +#endif +#endif + +#endif + + +#endif /* __ISeekingPassThru_INTERFACE_DEFINED__ */ + +enum _AM_FILTER_MISC_FLAGS { + AM_FILTER_MISC_FLAGS_IS_RENDERER = 0x1, + AM_FILTER_MISC_FLAGS_IS_SOURCE = 0x2 +}; +/***************************************************************************** + * IAMFilterMiscFlags interface + */ +#ifndef __IAMFilterMiscFlags_INTERFACE_DEFINED__ +#define __IAMFilterMiscFlags_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMFilterMiscFlags, 0x2dd74950, 0xa890, 0x11d1, 0xab,0xe8, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2dd74950-a890-11d1-abe8-00a0c905f375") +IAMFilterMiscFlags : public IUnknown +{ + virtual ULONG STDMETHODCALLTYPE GetMiscFlags( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMFilterMiscFlags, 0x2dd74950, 0xa890, 0x11d1, 0xab,0xe8, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IAMFilterMiscFlagsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMFilterMiscFlags *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMFilterMiscFlags *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMFilterMiscFlags *This); + + /*** IAMFilterMiscFlags methods ***/ + ULONG (STDMETHODCALLTYPE *GetMiscFlags)( + IAMFilterMiscFlags *This); + + END_INTERFACE +} IAMFilterMiscFlagsVtbl; + +interface IAMFilterMiscFlags { + CONST_VTBL IAMFilterMiscFlagsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMFilterMiscFlags_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMFilterMiscFlags_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMFilterMiscFlags_Release(This) (This)->lpVtbl->Release(This) +/*** IAMFilterMiscFlags methods ***/ +#define IAMFilterMiscFlags_GetMiscFlags(This) (This)->lpVtbl->GetMiscFlags(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMFilterMiscFlags_QueryInterface(IAMFilterMiscFlags* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMFilterMiscFlags_AddRef(IAMFilterMiscFlags* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMFilterMiscFlags_Release(IAMFilterMiscFlags* This) { + return This->lpVtbl->Release(This); +} +/*** IAMFilterMiscFlags methods ***/ +static FORCEINLINE ULONG IAMFilterMiscFlags_GetMiscFlags(IAMFilterMiscFlags* This) { + return This->lpVtbl->GetMiscFlags(This); +} +#endif +#endif + +#endif + + +#endif /* __IAMFilterMiscFlags_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMGraphBuilderCallback interface + */ +#ifndef __IAMGraphBuilderCallback_INTERFACE_DEFINED__ +#define __IAMGraphBuilderCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMGraphBuilderCallback, 0x4995f511, 0x9ddb, 0x4f12, 0xbd,0x3b, 0xf0,0x46,0x11,0x80,0x7b,0x79); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4995f511-9ddb-4f12-bd3b-f04611807b79") +IAMGraphBuilderCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SelectedFilter( + IMoniker *pMon) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatedFilter( + IBaseFilter *pFil) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMGraphBuilderCallback, 0x4995f511, 0x9ddb, 0x4f12, 0xbd,0x3b, 0xf0,0x46,0x11,0x80,0x7b,0x79) +#endif +#else +typedef struct IAMGraphBuilderCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMGraphBuilderCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMGraphBuilderCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMGraphBuilderCallback *This); + + /*** IAMGraphBuilderCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *SelectedFilter)( + IAMGraphBuilderCallback *This, + IMoniker *pMon); + + HRESULT (STDMETHODCALLTYPE *CreatedFilter)( + IAMGraphBuilderCallback *This, + IBaseFilter *pFil); + + END_INTERFACE +} IAMGraphBuilderCallbackVtbl; + +interface IAMGraphBuilderCallback { + CONST_VTBL IAMGraphBuilderCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMGraphBuilderCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMGraphBuilderCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMGraphBuilderCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IAMGraphBuilderCallback methods ***/ +#define IAMGraphBuilderCallback_SelectedFilter(This,pMon) (This)->lpVtbl->SelectedFilter(This,pMon) +#define IAMGraphBuilderCallback_CreatedFilter(This,pFil) (This)->lpVtbl->CreatedFilter(This,pFil) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMGraphBuilderCallback_QueryInterface(IAMGraphBuilderCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMGraphBuilderCallback_AddRef(IAMGraphBuilderCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMGraphBuilderCallback_Release(IAMGraphBuilderCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IAMGraphBuilderCallback methods ***/ +static FORCEINLINE HRESULT IAMGraphBuilderCallback_SelectedFilter(IAMGraphBuilderCallback* This,IMoniker *pMon) { + return This->lpVtbl->SelectedFilter(This,pMon); +} +static FORCEINLINE HRESULT IAMGraphBuilderCallback_CreatedFilter(IAMGraphBuilderCallback* This,IBaseFilter *pFil) { + return This->lpVtbl->CreatedFilter(This,pFil); +} +#endif +#endif + +#endif + + +#endif /* __IAMGraphBuilderCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAMVfwCaptureDialogs interface + */ +#ifndef __IAMVfwCaptureDialogs_INTERFACE_DEFINED__ +#define __IAMVfwCaptureDialogs_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAMVfwCaptureDialogs, 0xd8d715a0, 0x6e5e, 0x11d0, 0xb3,0xf0, 0x00,0xaa,0x00,0x37,0x61,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d8d715a0-6e5e-11d0-b3f0-00aa003761c5") +IAMVfwCaptureDialogs : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE HasDialog( + int dialog) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowDialog( + int dialog, + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendDriverMessage( + int dialog, + int msg, + LONG data1, + LONG data2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAMVfwCaptureDialogs, 0xd8d715a0, 0x6e5e, 0x11d0, 0xb3,0xf0, 0x00,0xaa,0x00,0x37,0x61,0xc5) +#endif +#else +typedef struct IAMVfwCaptureDialogsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAMVfwCaptureDialogs *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAMVfwCaptureDialogs *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAMVfwCaptureDialogs *This); + + /*** IAMVfwCaptureDialogs methods ***/ + HRESULT (STDMETHODCALLTYPE *HasDialog)( + IAMVfwCaptureDialogs *This, + int dialog); + + HRESULT (STDMETHODCALLTYPE *ShowDialog)( + IAMVfwCaptureDialogs *This, + int dialog, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *SendDriverMessage)( + IAMVfwCaptureDialogs *This, + int dialog, + int msg, + LONG data1, + LONG data2); + + END_INTERFACE +} IAMVfwCaptureDialogsVtbl; + +interface IAMVfwCaptureDialogs { + CONST_VTBL IAMVfwCaptureDialogsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAMVfwCaptureDialogs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAMVfwCaptureDialogs_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAMVfwCaptureDialogs_Release(This) (This)->lpVtbl->Release(This) +/*** IAMVfwCaptureDialogs methods ***/ +#define IAMVfwCaptureDialogs_HasDialog(This,dialog) (This)->lpVtbl->HasDialog(This,dialog) +#define IAMVfwCaptureDialogs_ShowDialog(This,dialog,hwnd) (This)->lpVtbl->ShowDialog(This,dialog,hwnd) +#define IAMVfwCaptureDialogs_SendDriverMessage(This,dialog,msg,data1,data2) (This)->lpVtbl->SendDriverMessage(This,dialog,msg,data1,data2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAMVfwCaptureDialogs_QueryInterface(IAMVfwCaptureDialogs* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAMVfwCaptureDialogs_AddRef(IAMVfwCaptureDialogs* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAMVfwCaptureDialogs_Release(IAMVfwCaptureDialogs* This) { + return This->lpVtbl->Release(This); +} +/*** IAMVfwCaptureDialogs methods ***/ +static FORCEINLINE HRESULT IAMVfwCaptureDialogs_HasDialog(IAMVfwCaptureDialogs* This,int dialog) { + return This->lpVtbl->HasDialog(This,dialog); +} +static FORCEINLINE HRESULT IAMVfwCaptureDialogs_ShowDialog(IAMVfwCaptureDialogs* This,int dialog,HWND hwnd) { + return This->lpVtbl->ShowDialog(This,dialog,hwnd); +} +static FORCEINLINE HRESULT IAMVfwCaptureDialogs_SendDriverMessage(IAMVfwCaptureDialogs* This,int dialog,int msg,LONG data1,LONG data2) { + return This->lpVtbl->SendDriverMessage(This,dialog,msg,data1,data2); +} +#endif +#endif + +#endif + + +#endif /* __IAMVfwCaptureDialogs_INTERFACE_DEFINED__ */ + +#ifndef __IPinConnection_FWD_DEFINED__ +#define __IPinConnection_FWD_DEFINED__ +typedef interface IPinConnection IPinConnection; +#ifdef __cplusplus +interface IPinConnection; +#endif /* __cplusplus */ +#endif + +#ifndef __IPinFlowControl_FWD_DEFINED__ +#define __IPinFlowControl_FWD_DEFINED__ +typedef interface IPinFlowControl IPinFlowControl; +#ifdef __cplusplus +interface IPinFlowControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphConfig_FWD_DEFINED__ +#define __IGraphConfig_FWD_DEFINED__ +typedef interface IGraphConfig IGraphConfig; +#ifdef __cplusplus +interface IGraphConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IGraphConfigCallback_FWD_DEFINED__ +#define __IGraphConfigCallback_FWD_DEFINED__ +typedef interface IGraphConfigCallback IGraphConfigCallback; +#ifdef __cplusplus +interface IGraphConfigCallback; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IPinConnection interface + */ +#ifndef __IPinConnection_INTERFACE_DEFINED__ +#define __IPinConnection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPinConnection, 0x4a9a62d3, 0x27d4, 0x403d, 0x91,0xe9, 0x89,0xf5,0x40,0xe5,0x55,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4a9a62d3-27d4-403d-91e9-89f540e55534") +IPinConnection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DynamicQueryAccept( + const AM_MEDIA_TYPE *pmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyEndOfStream( + HANDLE hNotifyEvent) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEndPin( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DynamicDisconnect( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPinConnection, 0x4a9a62d3, 0x27d4, 0x403d, 0x91,0xe9, 0x89,0xf5,0x40,0xe5,0x55,0x34) +#endif +#else +typedef struct IPinConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPinConnection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPinConnection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPinConnection *This); + + /*** IPinConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *DynamicQueryAccept)( + IPinConnection *This, + const AM_MEDIA_TYPE *pmt); + + HRESULT (STDMETHODCALLTYPE *NotifyEndOfStream)( + IPinConnection *This, + HANDLE hNotifyEvent); + + HRESULT (STDMETHODCALLTYPE *IsEndPin)( + IPinConnection *This); + + HRESULT (STDMETHODCALLTYPE *DynamicDisconnect)( + IPinConnection *This); + + END_INTERFACE +} IPinConnectionVtbl; + +interface IPinConnection { + CONST_VTBL IPinConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPinConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPinConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPinConnection_Release(This) (This)->lpVtbl->Release(This) +/*** IPinConnection methods ***/ +#define IPinConnection_DynamicQueryAccept(This,pmt) (This)->lpVtbl->DynamicQueryAccept(This,pmt) +#define IPinConnection_NotifyEndOfStream(This,hNotifyEvent) (This)->lpVtbl->NotifyEndOfStream(This,hNotifyEvent) +#define IPinConnection_IsEndPin(This) (This)->lpVtbl->IsEndPin(This) +#define IPinConnection_DynamicDisconnect(This) (This)->lpVtbl->DynamicDisconnect(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPinConnection_QueryInterface(IPinConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPinConnection_AddRef(IPinConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPinConnection_Release(IPinConnection* This) { + return This->lpVtbl->Release(This); +} +/*** IPinConnection methods ***/ +static FORCEINLINE HRESULT IPinConnection_DynamicQueryAccept(IPinConnection* This,const AM_MEDIA_TYPE *pmt) { + return This->lpVtbl->DynamicQueryAccept(This,pmt); +} +static FORCEINLINE HRESULT IPinConnection_NotifyEndOfStream(IPinConnection* This,HANDLE hNotifyEvent) { + return This->lpVtbl->NotifyEndOfStream(This,hNotifyEvent); +} +static FORCEINLINE HRESULT IPinConnection_IsEndPin(IPinConnection* This) { + return This->lpVtbl->IsEndPin(This); +} +static FORCEINLINE HRESULT IPinConnection_DynamicDisconnect(IPinConnection* This) { + return This->lpVtbl->DynamicDisconnect(This); +} +#endif +#endif + +#endif + + +#endif /* __IPinConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPinFlowControl interface + */ +#ifndef __IPinFlowControl_INTERFACE_DEFINED__ +#define __IPinFlowControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPinFlowControl, 0xc56e9858, 0xdbf3, 0x4f6b, 0x81,0x19, 0x38,0x4a,0xf2,0x06,0x0d,0xeb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c56e9858-dbf3-4f6b-8119-384af2060deb") +IPinFlowControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Block( + DWORD dwBlockFlags, + HANDLE hEvent) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPinFlowControl, 0xc56e9858, 0xdbf3, 0x4f6b, 0x81,0x19, 0x38,0x4a,0xf2,0x06,0x0d,0xeb) +#endif +#else +typedef struct IPinFlowControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPinFlowControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPinFlowControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPinFlowControl *This); + + /*** IPinFlowControl methods ***/ + HRESULT (STDMETHODCALLTYPE *Block)( + IPinFlowControl *This, + DWORD dwBlockFlags, + HANDLE hEvent); + + END_INTERFACE +} IPinFlowControlVtbl; + +interface IPinFlowControl { + CONST_VTBL IPinFlowControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPinFlowControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPinFlowControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPinFlowControl_Release(This) (This)->lpVtbl->Release(This) +/*** IPinFlowControl methods ***/ +#define IPinFlowControl_Block(This,dwBlockFlags,hEvent) (This)->lpVtbl->Block(This,dwBlockFlags,hEvent) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPinFlowControl_QueryInterface(IPinFlowControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPinFlowControl_AddRef(IPinFlowControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPinFlowControl_Release(IPinFlowControl* This) { + return This->lpVtbl->Release(This); +} +/*** IPinFlowControl methods ***/ +static FORCEINLINE HRESULT IPinFlowControl_Block(IPinFlowControl* This,DWORD dwBlockFlags,HANDLE hEvent) { + return This->lpVtbl->Block(This,dwBlockFlags,hEvent); +} +#endif +#endif + +#endif + + +#endif /* __IPinFlowControl_INTERFACE_DEFINED__ */ + +enum _AM_PIN_FLOW_CONTROL_BLOCK_FLAGS { + AM_PIN_FLOW_CONTROL_BLOCK = 0x1 +}; +typedef enum _AM_GRAPH_CONFIG_RECONNECT_FLAGS { + AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT = 0x1, + AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS = 0x2, + AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS = 0x4 +} AM_GRAPH_CONFIG_RECONNECT_FLAGS; +enum _REM_FILTER_FLAGS { + REMFILTERF_LEAVECONNECTED = 0x1 +}; +typedef enum _AM_FILTER_FLAGS { + AM_FILTER_FLAGS_REMOVABLE = 0x1 +} AM_FILTER_FLAGS; +/***************************************************************************** + * IGraphConfig interface + */ +#ifndef __IGraphConfig_INTERFACE_DEFINED__ +#define __IGraphConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGraphConfig, 0x03a1eb8e, 0x32bf, 0x4245, 0x85,0x02, 0x11,0x4d,0x08,0xa9,0xcb,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("03a1eb8e-32bf-4245-8502-114d08a9cb88") +IGraphConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Reconnect( + IPin *pOutputPin, + IPin *pInputPin, + const AM_MEDIA_TYPE *pmtFirstConnection, + IBaseFilter *pUsingFilter, + HANDLE hAbortEvent, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reconfigure( + IGraphConfigCallback *pCallback, + PVOID pvContext, + DWORD dwFlags, + HANDLE hAbortEvent) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddFilterToCache( + IBaseFilter *pFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCacheFilter( + IEnumFilters **pEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveFilterFromCache( + IBaseFilter *pFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStartTime( + REFERENCE_TIME *prtStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE PushThroughData( + IPin *pOutputPin, + IPinConnection *pConnection, + HANDLE hEventAbort) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilterFlags( + IBaseFilter *pFilter, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilterFlags( + IBaseFilter *pFilter, + DWORD *pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveFilterEx( + IBaseFilter *pFilter, + DWORD Flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGraphConfig, 0x03a1eb8e, 0x32bf, 0x4245, 0x85,0x02, 0x11,0x4d,0x08,0xa9,0xcb,0x88) +#endif +#else +typedef struct IGraphConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGraphConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGraphConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGraphConfig *This); + + /*** IGraphConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *Reconnect)( + IGraphConfig *This, + IPin *pOutputPin, + IPin *pInputPin, + const AM_MEDIA_TYPE *pmtFirstConnection, + IBaseFilter *pUsingFilter, + HANDLE hAbortEvent, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *Reconfigure)( + IGraphConfig *This, + IGraphConfigCallback *pCallback, + PVOID pvContext, + DWORD dwFlags, + HANDLE hAbortEvent); + + HRESULT (STDMETHODCALLTYPE *AddFilterToCache)( + IGraphConfig *This, + IBaseFilter *pFilter); + + HRESULT (STDMETHODCALLTYPE *EnumCacheFilter)( + IGraphConfig *This, + IEnumFilters **pEnum); + + HRESULT (STDMETHODCALLTYPE *RemoveFilterFromCache)( + IGraphConfig *This, + IBaseFilter *pFilter); + + HRESULT (STDMETHODCALLTYPE *GetStartTime)( + IGraphConfig *This, + REFERENCE_TIME *prtStart); + + HRESULT (STDMETHODCALLTYPE *PushThroughData)( + IGraphConfig *This, + IPin *pOutputPin, + IPinConnection *pConnection, + HANDLE hEventAbort); + + HRESULT (STDMETHODCALLTYPE *SetFilterFlags)( + IGraphConfig *This, + IBaseFilter *pFilter, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetFilterFlags)( + IGraphConfig *This, + IBaseFilter *pFilter, + DWORD *pdwFlags); + + HRESULT (STDMETHODCALLTYPE *RemoveFilterEx)( + IGraphConfig *This, + IBaseFilter *pFilter, + DWORD Flags); + + END_INTERFACE +} IGraphConfigVtbl; + +interface IGraphConfig { + CONST_VTBL IGraphConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGraphConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGraphConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGraphConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IGraphConfig methods ***/ +#define IGraphConfig_Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags) (This)->lpVtbl->Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags) +#define IGraphConfig_Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent) (This)->lpVtbl->Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent) +#define IGraphConfig_AddFilterToCache(This,pFilter) (This)->lpVtbl->AddFilterToCache(This,pFilter) +#define IGraphConfig_EnumCacheFilter(This,pEnum) (This)->lpVtbl->EnumCacheFilter(This,pEnum) +#define IGraphConfig_RemoveFilterFromCache(This,pFilter) (This)->lpVtbl->RemoveFilterFromCache(This,pFilter) +#define IGraphConfig_GetStartTime(This,prtStart) (This)->lpVtbl->GetStartTime(This,prtStart) +#define IGraphConfig_PushThroughData(This,pOutputPin,pConnection,hEventAbort) (This)->lpVtbl->PushThroughData(This,pOutputPin,pConnection,hEventAbort) +#define IGraphConfig_SetFilterFlags(This,pFilter,dwFlags) (This)->lpVtbl->SetFilterFlags(This,pFilter,dwFlags) +#define IGraphConfig_GetFilterFlags(This,pFilter,pdwFlags) (This)->lpVtbl->GetFilterFlags(This,pFilter,pdwFlags) +#define IGraphConfig_RemoveFilterEx(This,pFilter,Flags) (This)->lpVtbl->RemoveFilterEx(This,pFilter,Flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGraphConfig_QueryInterface(IGraphConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGraphConfig_AddRef(IGraphConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGraphConfig_Release(IGraphConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IGraphConfig methods ***/ +static FORCEINLINE HRESULT IGraphConfig_Reconnect(IGraphConfig* This,IPin *pOutputPin,IPin *pInputPin,const AM_MEDIA_TYPE *pmtFirstConnection,IBaseFilter *pUsingFilter,HANDLE hAbortEvent,DWORD dwFlags) { + return This->lpVtbl->Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags); +} +static FORCEINLINE HRESULT IGraphConfig_Reconfigure(IGraphConfig* This,IGraphConfigCallback *pCallback,PVOID pvContext,DWORD dwFlags,HANDLE hAbortEvent) { + return This->lpVtbl->Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent); +} +static FORCEINLINE HRESULT IGraphConfig_AddFilterToCache(IGraphConfig* This,IBaseFilter *pFilter) { + return This->lpVtbl->AddFilterToCache(This,pFilter); +} +static FORCEINLINE HRESULT IGraphConfig_EnumCacheFilter(IGraphConfig* This,IEnumFilters **pEnum) { + return This->lpVtbl->EnumCacheFilter(This,pEnum); +} +static FORCEINLINE HRESULT IGraphConfig_RemoveFilterFromCache(IGraphConfig* This,IBaseFilter *pFilter) { + return This->lpVtbl->RemoveFilterFromCache(This,pFilter); +} +static FORCEINLINE HRESULT IGraphConfig_GetStartTime(IGraphConfig* This,REFERENCE_TIME *prtStart) { + return This->lpVtbl->GetStartTime(This,prtStart); +} +static FORCEINLINE HRESULT IGraphConfig_PushThroughData(IGraphConfig* This,IPin *pOutputPin,IPinConnection *pConnection,HANDLE hEventAbort) { + return This->lpVtbl->PushThroughData(This,pOutputPin,pConnection,hEventAbort); +} +static FORCEINLINE HRESULT IGraphConfig_SetFilterFlags(IGraphConfig* This,IBaseFilter *pFilter,DWORD dwFlags) { + return This->lpVtbl->SetFilterFlags(This,pFilter,dwFlags); +} +static FORCEINLINE HRESULT IGraphConfig_GetFilterFlags(IGraphConfig* This,IBaseFilter *pFilter,DWORD *pdwFlags) { + return This->lpVtbl->GetFilterFlags(This,pFilter,pdwFlags); +} +static FORCEINLINE HRESULT IGraphConfig_RemoveFilterEx(IGraphConfig* This,IBaseFilter *pFilter,DWORD Flags) { + return This->lpVtbl->RemoveFilterEx(This,pFilter,Flags); +} +#endif +#endif + +#endif + + +#endif /* __IGraphConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGraphConfigCallback interface + */ +#ifndef __IGraphConfigCallback_INTERFACE_DEFINED__ +#define __IGraphConfigCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGraphConfigCallback, 0xade0fd60, 0xd19d, 0x11d2, 0xab,0xf6, 0x00,0xa0,0xc9,0x05,0xf3,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ade0fd60-d19d-11d2-abf6-00a0c905f375") +IGraphConfigCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Reconfigure( + PVOID pvContext, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGraphConfigCallback, 0xade0fd60, 0xd19d, 0x11d2, 0xab,0xf6, 0x00,0xa0,0xc9,0x05,0xf3,0x75) +#endif +#else +typedef struct IGraphConfigCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGraphConfigCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGraphConfigCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGraphConfigCallback *This); + + /*** IGraphConfigCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *Reconfigure)( + IGraphConfigCallback *This, + PVOID pvContext, + DWORD dwFlags); + + END_INTERFACE +} IGraphConfigCallbackVtbl; + +interface IGraphConfigCallback { + CONST_VTBL IGraphConfigCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGraphConfigCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGraphConfigCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGraphConfigCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IGraphConfigCallback methods ***/ +#define IGraphConfigCallback_Reconfigure(This,pvContext,dwFlags) (This)->lpVtbl->Reconfigure(This,pvContext,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGraphConfigCallback_QueryInterface(IGraphConfigCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGraphConfigCallback_AddRef(IGraphConfigCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGraphConfigCallback_Release(IGraphConfigCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IGraphConfigCallback methods ***/ +static FORCEINLINE HRESULT IGraphConfigCallback_Reconfigure(IGraphConfigCallback* This,PVOID pvContext,DWORD dwFlags) { + return This->lpVtbl->Reconfigure(This,pvContext,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IGraphConfigCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFilterChain interface + */ +#ifndef __IFilterChain_INTERFACE_DEFINED__ +#define __IFilterChain_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFilterChain, 0xdcfbdcf6, 0x0dc2, 0x45f5, 0x9a,0xb2, 0x7c,0x33,0x0e,0xa0,0x9c,0x29); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dcfbdcf6-0dc2-45f5-9ab2-7c330ea09c29") +IFilterChain : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartChain( + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE PauseChain( + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopChain( + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveChain( + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFilterChain, 0xdcfbdcf6, 0x0dc2, 0x45f5, 0x9a,0xb2, 0x7c,0x33,0x0e,0xa0,0x9c,0x29) +#endif +#else +typedef struct IFilterChainVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFilterChain *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFilterChain *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFilterChain *This); + + /*** IFilterChain methods ***/ + HRESULT (STDMETHODCALLTYPE *StartChain)( + IFilterChain *This, + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter); + + HRESULT (STDMETHODCALLTYPE *PauseChain)( + IFilterChain *This, + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter); + + HRESULT (STDMETHODCALLTYPE *StopChain)( + IFilterChain *This, + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter); + + HRESULT (STDMETHODCALLTYPE *RemoveChain)( + IFilterChain *This, + IBaseFilter *pStartFilter, + IBaseFilter *pEndFilter); + + END_INTERFACE +} IFilterChainVtbl; + +interface IFilterChain { + CONST_VTBL IFilterChainVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFilterChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFilterChain_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFilterChain_Release(This) (This)->lpVtbl->Release(This) +/*** IFilterChain methods ***/ +#define IFilterChain_StartChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->StartChain(This,pStartFilter,pEndFilter) +#define IFilterChain_PauseChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->PauseChain(This,pStartFilter,pEndFilter) +#define IFilterChain_StopChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->StopChain(This,pStartFilter,pEndFilter) +#define IFilterChain_RemoveChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->RemoveChain(This,pStartFilter,pEndFilter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFilterChain_QueryInterface(IFilterChain* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFilterChain_AddRef(IFilterChain* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFilterChain_Release(IFilterChain* This) { + return This->lpVtbl->Release(This); +} +/*** IFilterChain methods ***/ +static FORCEINLINE HRESULT IFilterChain_StartChain(IFilterChain* This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) { + return This->lpVtbl->StartChain(This,pStartFilter,pEndFilter); +} +static FORCEINLINE HRESULT IFilterChain_PauseChain(IFilterChain* This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) { + return This->lpVtbl->PauseChain(This,pStartFilter,pEndFilter); +} +static FORCEINLINE HRESULT IFilterChain_StopChain(IFilterChain* This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) { + return This->lpVtbl->StopChain(This,pStartFilter,pEndFilter); +} +static FORCEINLINE HRESULT IFilterChain_RemoveChain(IFilterChain* This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) { + return This->lpVtbl->RemoveChain(This,pStartFilter,pEndFilter); +} +#endif +#endif + +#endif + + +#endif /* __IFilterChain_INTERFACE_DEFINED__ */ + +#if 0 +typedef DWORD IDirectDrawSurface7; +typedef DWORD IDirectDraw7; +typedef DWORD *LPBITMAPINFOHEADER; +typedef DWORD *LPDDPIXELFORMAT; +typedef struct __WIDL_strmif_generated_name_00000009 { + DWORD dw1; + DWORD dw2; +} DDCOLORKEY; +#endif +#include +#ifndef __IVMRSurface_FWD_DEFINED__ +#define __IVMRSurface_FWD_DEFINED__ +typedef interface IVMRSurface IVMRSurface; +#ifdef __cplusplus +interface IVMRSurface; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocator_FWD_DEFINED__ +#define __IVMRSurfaceAllocator_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocator IVMRSurfaceAllocator; +#ifdef __cplusplus +interface IVMRSurfaceAllocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocatorNotify_FWD_DEFINED__ +#define __IVMRSurfaceAllocatorNotify_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocatorNotify IVMRSurfaceAllocatorNotify; +#ifdef __cplusplus +interface IVMRSurfaceAllocatorNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenter_FWD_DEFINED__ +#define __IVMRImagePresenter_FWD_DEFINED__ +typedef interface IVMRImagePresenter IVMRImagePresenter; +#ifdef __cplusplus +interface IVMRImagePresenter; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenterNotify_FWD_DEFINED__ +#define __IVMRImagePresenterNotify_FWD_DEFINED__ +typedef interface IVMRImagePresenterNotify IVMRImagePresenterNotify; +#ifdef __cplusplus +interface IVMRImagePresenterNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRWindowlessControl_FWD_DEFINED__ +#define __IVMRWindowlessControl_FWD_DEFINED__ +typedef interface IVMRWindowlessControl IVMRWindowlessControl; +#ifdef __cplusplus +interface IVMRWindowlessControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerControl_FWD_DEFINED__ +#define __IVMRMixerControl_FWD_DEFINED__ +typedef interface IVMRMixerControl IVMRMixerControl; +#ifdef __cplusplus +interface IVMRMixerControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerBitmap_FWD_DEFINED__ +#define __IVMRMixerBitmap_FWD_DEFINED__ +typedef interface IVMRMixerBitmap IVMRMixerBitmap; +#ifdef __cplusplus +interface IVMRMixerBitmap; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRFilterConfig_FWD_DEFINED__ +#define __IVMRFilterConfig_FWD_DEFINED__ +typedef interface IVMRFilterConfig IVMRFilterConfig; +#ifdef __cplusplus +interface IVMRFilterConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRAspectRatioControl_FWD_DEFINED__ +#define __IVMRAspectRatioControl_FWD_DEFINED__ +typedef interface IVMRAspectRatioControl IVMRAspectRatioControl; +#ifdef __cplusplus +interface IVMRAspectRatioControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRDeinterlaceControl_FWD_DEFINED__ +#define __IVMRDeinterlaceControl_FWD_DEFINED__ +typedef interface IVMRDeinterlaceControl IVMRDeinterlaceControl; +#ifdef __cplusplus +interface IVMRDeinterlaceControl; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMonitorConfig_FWD_DEFINED__ +#define __IVMRMonitorConfig_FWD_DEFINED__ +typedef interface IVMRMonitorConfig IVMRMonitorConfig; +#ifdef __cplusplus +interface IVMRMonitorConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImageCompositor_FWD_DEFINED__ +#define __IVMRImageCompositor_FWD_DEFINED__ +typedef interface IVMRImageCompositor IVMRImageCompositor; +#ifdef __cplusplus +interface IVMRImageCompositor; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRVideoStreamControl_FWD_DEFINED__ +#define __IVMRVideoStreamControl_FWD_DEFINED__ +typedef interface IVMRVideoStreamControl IVMRVideoStreamControl; +#ifdef __cplusplus +interface IVMRVideoStreamControl; +#endif /* __cplusplus */ +#endif + +typedef enum _VMRPresentationFlags { + VMRSample_SyncPoint = 0x1, + VMRSample_Preroll = 0x2, + VMRSample_Discontinuity = 0x4, + VMRSample_TimeValid = 0x8, + VMRSample_SrcDstRectsValid = 0x10 +} VMRPresentationFlags; +typedef struct tagVMRPRESENTATIONINFO { + DWORD dwFlags; + IDirectDrawSurface7 *lpSurf; + REFERENCE_TIME rtStart; + REFERENCE_TIME rtEnd; + SIZE szAspectRatio; + RECT rcSrc; + RECT rcDst; + DWORD dwTypeSpecificFlags; + DWORD dwInterlaceFlags; +} VMRPRESENTATIONINFO; +/***************************************************************************** + * IVMRImagePresenter interface + */ +#ifndef __IVMRImagePresenter_INTERFACE_DEFINED__ +#define __IVMRImagePresenter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImagePresenter, 0xce704fe7, 0xe71e, 0x41fb, 0xba,0xa2, 0xc4,0x40,0x3e,0x11,0x82,0xf5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ce704fe7-e71e-41fb-baa2-c4403e1182f5") +IVMRImagePresenter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartPresenting( + DWORD_PTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopPresenting( + DWORD_PTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE PresentImage( + DWORD_PTR id, + VMRPRESENTATIONINFO *info) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImagePresenter, 0xce704fe7, 0xe71e, 0x41fb, 0xba,0xa2, 0xc4,0x40,0x3e,0x11,0x82,0xf5) +#endif +#else +typedef struct IVMRImagePresenterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImagePresenter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImagePresenter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImagePresenter *This); + + /*** IVMRImagePresenter methods ***/ + HRESULT (STDMETHODCALLTYPE *StartPresenting)( + IVMRImagePresenter *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *StopPresenting)( + IVMRImagePresenter *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *PresentImage)( + IVMRImagePresenter *This, + DWORD_PTR id, + VMRPRESENTATIONINFO *info); + + END_INTERFACE +} IVMRImagePresenterVtbl; + +interface IVMRImagePresenter { + CONST_VTBL IVMRImagePresenterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImagePresenter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImagePresenter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImagePresenter_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImagePresenter methods ***/ +#define IVMRImagePresenter_StartPresenting(This,id) (This)->lpVtbl->StartPresenting(This,id) +#define IVMRImagePresenter_StopPresenting(This,id) (This)->lpVtbl->StopPresenting(This,id) +#define IVMRImagePresenter_PresentImage(This,id,info) (This)->lpVtbl->PresentImage(This,id,info) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenter_QueryInterface(IVMRImagePresenter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImagePresenter_AddRef(IVMRImagePresenter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImagePresenter_Release(IVMRImagePresenter* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImagePresenter methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenter_StartPresenting(IVMRImagePresenter* This,DWORD_PTR id) { + return This->lpVtbl->StartPresenting(This,id); +} +static FORCEINLINE HRESULT IVMRImagePresenter_StopPresenting(IVMRImagePresenter* This,DWORD_PTR id) { + return This->lpVtbl->StopPresenting(This,id); +} +static FORCEINLINE HRESULT IVMRImagePresenter_PresentImage(IVMRImagePresenter* This,DWORD_PTR id,VMRPRESENTATIONINFO *info) { + return This->lpVtbl->PresentImage(This,id,info); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImagePresenter_INTERFACE_DEFINED__ */ + +typedef enum _VMRSurfaceAllocationFlags { + AMAP_PIXELFORMAT_VALID = 0x1, + AMAP_3D_TARGET = 0x2, + AMAP_ALLOW_SYSMEM = 0x4, + AMAP_FORCE_SYSMEM = 0x8, + AMAP_DIRECTED_FLIP = 0x10, + AMAP_DXVA_TARGET = 0x20 +} VMRSurfaceAllocationFlags; +typedef struct tagVMRALLOCATIONINFO { + DWORD dwFlags; + LPBITMAPINFOHEADER lpHdr; + LPDDPIXELFORMAT lpPixFmt; + SIZE szAspectRatio; + DWORD dwMinBuffers; + DWORD dwMaxBuffers; + DWORD dwInterlaceFlags; + SIZE szNativeSize; +} VMRALLOCATIONINFO; +/***************************************************************************** + * IVMRSurfaceAllocator interface + */ +#ifndef __IVMRSurfaceAllocator_INTERFACE_DEFINED__ +#define __IVMRSurfaceAllocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRSurfaceAllocator, 0x31ce832e, 0x4484, 0x458b, 0x8c,0xca, 0xf4,0xd7,0xe3,0xdb,0x0b,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("31ce832e-4484-458b-8cca-f4d7e3db0b52") +IVMRSurfaceAllocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AllocateSurface( + DWORD_PTR id, + VMRALLOCATIONINFO *allocinfo, + DWORD *buffers, + IDirectDrawSurface7 **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE FreeSurface( + DWORD_PTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE PrepareSurface( + DWORD_PTR id, + IDirectDrawSurface7 *surface, + DWORD dwSurfaceFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdviseNotify( + IVMRSurfaceAllocatorNotify *notify) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRSurfaceAllocator, 0x31ce832e, 0x4484, 0x458b, 0x8c,0xca, 0xf4,0xd7,0xe3,0xdb,0x0b,0x52) +#endif +#else +typedef struct IVMRSurfaceAllocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRSurfaceAllocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRSurfaceAllocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRSurfaceAllocator *This); + + /*** IVMRSurfaceAllocator methods ***/ + HRESULT (STDMETHODCALLTYPE *AllocateSurface)( + IVMRSurfaceAllocator *This, + DWORD_PTR id, + VMRALLOCATIONINFO *allocinfo, + DWORD *buffers, + IDirectDrawSurface7 **surface); + + HRESULT (STDMETHODCALLTYPE *FreeSurface)( + IVMRSurfaceAllocator *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *PrepareSurface)( + IVMRSurfaceAllocator *This, + DWORD_PTR id, + IDirectDrawSurface7 *surface, + DWORD dwSurfaceFlags); + + HRESULT (STDMETHODCALLTYPE *AdviseNotify)( + IVMRSurfaceAllocator *This, + IVMRSurfaceAllocatorNotify *notify); + + END_INTERFACE +} IVMRSurfaceAllocatorVtbl; + +interface IVMRSurfaceAllocator { + CONST_VTBL IVMRSurfaceAllocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRSurfaceAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRSurfaceAllocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRSurfaceAllocator_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRSurfaceAllocator methods ***/ +#define IVMRSurfaceAllocator_AllocateSurface(This,id,allocinfo,buffers,surface) (This)->lpVtbl->AllocateSurface(This,id,allocinfo,buffers,surface) +#define IVMRSurfaceAllocator_FreeSurface(This,id) (This)->lpVtbl->FreeSurface(This,id) +#define IVMRSurfaceAllocator_PrepareSurface(This,id,surface,dwSurfaceFlags) (This)->lpVtbl->PrepareSurface(This,id,surface,dwSurfaceFlags) +#define IVMRSurfaceAllocator_AdviseNotify(This,notify) (This)->lpVtbl->AdviseNotify(This,notify) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocator_QueryInterface(IVMRSurfaceAllocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRSurfaceAllocator_AddRef(IVMRSurfaceAllocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRSurfaceAllocator_Release(IVMRSurfaceAllocator* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRSurfaceAllocator methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocator_AllocateSurface(IVMRSurfaceAllocator* This,DWORD_PTR id,VMRALLOCATIONINFO *allocinfo,DWORD *buffers,IDirectDrawSurface7 **surface) { + return This->lpVtbl->AllocateSurface(This,id,allocinfo,buffers,surface); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocator_FreeSurface(IVMRSurfaceAllocator* This,DWORD_PTR id) { + return This->lpVtbl->FreeSurface(This,id); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocator_PrepareSurface(IVMRSurfaceAllocator* This,DWORD_PTR id,IDirectDrawSurface7 *surface,DWORD dwSurfaceFlags) { + return This->lpVtbl->PrepareSurface(This,id,surface,dwSurfaceFlags); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocator_AdviseNotify(IVMRSurfaceAllocator* This,IVMRSurfaceAllocatorNotify *notify) { + return This->lpVtbl->AdviseNotify(This,notify); +} +#endif +#endif + +#endif + + +#endif /* __IVMRSurfaceAllocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRSurfaceAllocatorNotify interface + */ +#ifndef __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__ +#define __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRSurfaceAllocatorNotify, 0xaada05a8, 0x5a4e, 0x4729, 0xaf,0x0b, 0xce,0xa2,0x7a,0xed,0x51,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aada05a8-5a4e-4729-af0b-cea27aed51e2") +IVMRSurfaceAllocatorNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseSurfaceAllocator( + DWORD_PTR id, + IVMRSurfaceAllocator *allocator) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDDrawDevice( + IDirectDraw7 *device, + HMONITOR monitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangeDDrawDevice( + IDirectDraw7 *device, + HMONITOR monitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestoreDDrawSurfaces( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyEvent( + LONG EventCode, + LONG_PTR p1, + LONG_PTR p2) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBorderColor( + COLORREF border) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRSurfaceAllocatorNotify, 0xaada05a8, 0x5a4e, 0x4729, 0xaf,0x0b, 0xce,0xa2,0x7a,0xed,0x51,0xe2) +#endif +#else +typedef struct IVMRSurfaceAllocatorNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRSurfaceAllocatorNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRSurfaceAllocatorNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRSurfaceAllocatorNotify *This); + + /*** IVMRSurfaceAllocatorNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseSurfaceAllocator)( + IVMRSurfaceAllocatorNotify *This, + DWORD_PTR id, + IVMRSurfaceAllocator *allocator); + + HRESULT (STDMETHODCALLTYPE *SetDDrawDevice)( + IVMRSurfaceAllocatorNotify *This, + IDirectDraw7 *device, + HMONITOR monitor); + + HRESULT (STDMETHODCALLTYPE *ChangeDDrawDevice)( + IVMRSurfaceAllocatorNotify *This, + IDirectDraw7 *device, + HMONITOR monitor); + + HRESULT (STDMETHODCALLTYPE *RestoreDDrawSurfaces)( + IVMRSurfaceAllocatorNotify *This); + + HRESULT (STDMETHODCALLTYPE *NotifyEvent)( + IVMRSurfaceAllocatorNotify *This, + LONG EventCode, + LONG_PTR p1, + LONG_PTR p2); + + HRESULT (STDMETHODCALLTYPE *SetBorderColor)( + IVMRSurfaceAllocatorNotify *This, + COLORREF border); + + END_INTERFACE +} IVMRSurfaceAllocatorNotifyVtbl; + +interface IVMRSurfaceAllocatorNotify { + CONST_VTBL IVMRSurfaceAllocatorNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRSurfaceAllocatorNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRSurfaceAllocatorNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRSurfaceAllocatorNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRSurfaceAllocatorNotify methods ***/ +#define IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator(This,id,allocator) (This)->lpVtbl->AdviseSurfaceAllocator(This,id,allocator) +#define IVMRSurfaceAllocatorNotify_SetDDrawDevice(This,device,monitor) (This)->lpVtbl->SetDDrawDevice(This,device,monitor) +#define IVMRSurfaceAllocatorNotify_ChangeDDrawDevice(This,device,monitor) (This)->lpVtbl->ChangeDDrawDevice(This,device,monitor) +#define IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces(This) (This)->lpVtbl->RestoreDDrawSurfaces(This) +#define IVMRSurfaceAllocatorNotify_NotifyEvent(This,EventCode,p1,p2) (This)->lpVtbl->NotifyEvent(This,EventCode,p1,p2) +#define IVMRSurfaceAllocatorNotify_SetBorderColor(This,border) (This)->lpVtbl->SetBorderColor(This,border) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_QueryInterface(IVMRSurfaceAllocatorNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRSurfaceAllocatorNotify_AddRef(IVMRSurfaceAllocatorNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRSurfaceAllocatorNotify_Release(IVMRSurfaceAllocatorNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRSurfaceAllocatorNotify methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator(IVMRSurfaceAllocatorNotify* This,DWORD_PTR id,IVMRSurfaceAllocator *allocator) { + return This->lpVtbl->AdviseSurfaceAllocator(This,id,allocator); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_SetDDrawDevice(IVMRSurfaceAllocatorNotify* This,IDirectDraw7 *device,HMONITOR monitor) { + return This->lpVtbl->SetDDrawDevice(This,device,monitor); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_ChangeDDrawDevice(IVMRSurfaceAllocatorNotify* This,IDirectDraw7 *device,HMONITOR monitor) { + return This->lpVtbl->ChangeDDrawDevice(This,device,monitor); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces(IVMRSurfaceAllocatorNotify* This) { + return This->lpVtbl->RestoreDDrawSurfaces(This); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_NotifyEvent(IVMRSurfaceAllocatorNotify* This,LONG EventCode,LONG_PTR p1,LONG_PTR p2) { + return This->lpVtbl->NotifyEvent(This,EventCode,p1,p2); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify_SetBorderColor(IVMRSurfaceAllocatorNotify* This,COLORREF border) { + return This->lpVtbl->SetBorderColor(This,border); +} +#endif +#endif + +#endif + + +#endif /* __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__ */ + +typedef enum _VMR_ASPECT_RATIO_MODE { + VMR_ARMODE_NONE = 0, + VMR_ARMODE_LETTER_BOX = 1 +} VMR_ASPECT_RATIO_MODE; +/***************************************************************************** + * IVMRWindowlessControl interface + */ +#ifndef __IVMRWindowlessControl_INTERFACE_DEFINED__ +#define __IVMRWindowlessControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRWindowlessControl, 0x0eb1088c, 0x4dcd, 0x46f0, 0x87,0x8f, 0x39,0xda,0xe8,0x6a,0x51,0xb7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0eb1088c-4dcd-46f0-878f-39dae86a51b7") +IVMRWindowlessControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNativeVideoSize( + LONG *width, + LONG *height, + LONG *ar_width, + LONG *ar_height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMinIdealVideoSize( + LONG *width, + LONG *height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxIdealVideoSize( + LONG *width, + LONG *height) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoPosition( + const RECT *src_rect, + const RECT *dst_rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoPosition( + RECT *src_rect, + RECT *dst_rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( + DWORD *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( + DWORD mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoClippingWindow( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE RepaintVideo( + HWND hwnd, + HDC hdc) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayModeChanged( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentImage( + BYTE **data) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBorderColor( + COLORREF border) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBorderColor( + COLORREF *border) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorKey( + COLORREF key) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorKey( + COLORREF *key) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRWindowlessControl, 0x0eb1088c, 0x4dcd, 0x46f0, 0x87,0x8f, 0x39,0xda,0xe8,0x6a,0x51,0xb7) +#endif +#else +typedef struct IVMRWindowlessControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRWindowlessControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRWindowlessControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRWindowlessControl *This); + + /*** IVMRWindowlessControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNativeVideoSize)( + IVMRWindowlessControl *This, + LONG *width, + LONG *height, + LONG *ar_width, + LONG *ar_height); + + HRESULT (STDMETHODCALLTYPE *GetMinIdealVideoSize)( + IVMRWindowlessControl *This, + LONG *width, + LONG *height); + + HRESULT (STDMETHODCALLTYPE *GetMaxIdealVideoSize)( + IVMRWindowlessControl *This, + LONG *width, + LONG *height); + + HRESULT (STDMETHODCALLTYPE *SetVideoPosition)( + IVMRWindowlessControl *This, + const RECT *src_rect, + const RECT *dst_rect); + + HRESULT (STDMETHODCALLTYPE *GetVideoPosition)( + IVMRWindowlessControl *This, + RECT *src_rect, + RECT *dst_rect); + + HRESULT (STDMETHODCALLTYPE *GetAspectRatioMode)( + IVMRWindowlessControl *This, + DWORD *mode); + + HRESULT (STDMETHODCALLTYPE *SetAspectRatioMode)( + IVMRWindowlessControl *This, + DWORD mode); + + HRESULT (STDMETHODCALLTYPE *SetVideoClippingWindow)( + IVMRWindowlessControl *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *RepaintVideo)( + IVMRWindowlessControl *This, + HWND hwnd, + HDC hdc); + + HRESULT (STDMETHODCALLTYPE *DisplayModeChanged)( + IVMRWindowlessControl *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentImage)( + IVMRWindowlessControl *This, + BYTE **data); + + HRESULT (STDMETHODCALLTYPE *SetBorderColor)( + IVMRWindowlessControl *This, + COLORREF border); + + HRESULT (STDMETHODCALLTYPE *GetBorderColor)( + IVMRWindowlessControl *This, + COLORREF *border); + + HRESULT (STDMETHODCALLTYPE *SetColorKey)( + IVMRWindowlessControl *This, + COLORREF key); + + HRESULT (STDMETHODCALLTYPE *GetColorKey)( + IVMRWindowlessControl *This, + COLORREF *key); + + END_INTERFACE +} IVMRWindowlessControlVtbl; + +interface IVMRWindowlessControl { + CONST_VTBL IVMRWindowlessControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRWindowlessControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRWindowlessControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRWindowlessControl_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRWindowlessControl methods ***/ +#define IVMRWindowlessControl_GetNativeVideoSize(This,width,height,ar_width,ar_height) (This)->lpVtbl->GetNativeVideoSize(This,width,height,ar_width,ar_height) +#define IVMRWindowlessControl_GetMinIdealVideoSize(This,width,height) (This)->lpVtbl->GetMinIdealVideoSize(This,width,height) +#define IVMRWindowlessControl_GetMaxIdealVideoSize(This,width,height) (This)->lpVtbl->GetMaxIdealVideoSize(This,width,height) +#define IVMRWindowlessControl_SetVideoPosition(This,src_rect,dst_rect) (This)->lpVtbl->SetVideoPosition(This,src_rect,dst_rect) +#define IVMRWindowlessControl_GetVideoPosition(This,src_rect,dst_rect) (This)->lpVtbl->GetVideoPosition(This,src_rect,dst_rect) +#define IVMRWindowlessControl_GetAspectRatioMode(This,mode) (This)->lpVtbl->GetAspectRatioMode(This,mode) +#define IVMRWindowlessControl_SetAspectRatioMode(This,mode) (This)->lpVtbl->SetAspectRatioMode(This,mode) +#define IVMRWindowlessControl_SetVideoClippingWindow(This,hwnd) (This)->lpVtbl->SetVideoClippingWindow(This,hwnd) +#define IVMRWindowlessControl_RepaintVideo(This,hwnd,hdc) (This)->lpVtbl->RepaintVideo(This,hwnd,hdc) +#define IVMRWindowlessControl_DisplayModeChanged(This) (This)->lpVtbl->DisplayModeChanged(This) +#define IVMRWindowlessControl_GetCurrentImage(This,data) (This)->lpVtbl->GetCurrentImage(This,data) +#define IVMRWindowlessControl_SetBorderColor(This,border) (This)->lpVtbl->SetBorderColor(This,border) +#define IVMRWindowlessControl_GetBorderColor(This,border) (This)->lpVtbl->GetBorderColor(This,border) +#define IVMRWindowlessControl_SetColorKey(This,key) (This)->lpVtbl->SetColorKey(This,key) +#define IVMRWindowlessControl_GetColorKey(This,key) (This)->lpVtbl->GetColorKey(This,key) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRWindowlessControl_QueryInterface(IVMRWindowlessControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRWindowlessControl_AddRef(IVMRWindowlessControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRWindowlessControl_Release(IVMRWindowlessControl* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRWindowlessControl methods ***/ +static FORCEINLINE HRESULT IVMRWindowlessControl_GetNativeVideoSize(IVMRWindowlessControl* This,LONG *width,LONG *height,LONG *ar_width,LONG *ar_height) { + return This->lpVtbl->GetNativeVideoSize(This,width,height,ar_width,ar_height); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetMinIdealVideoSize(IVMRWindowlessControl* This,LONG *width,LONG *height) { + return This->lpVtbl->GetMinIdealVideoSize(This,width,height); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetMaxIdealVideoSize(IVMRWindowlessControl* This,LONG *width,LONG *height) { + return This->lpVtbl->GetMaxIdealVideoSize(This,width,height); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_SetVideoPosition(IVMRWindowlessControl* This,const RECT *src_rect,const RECT *dst_rect) { + return This->lpVtbl->SetVideoPosition(This,src_rect,dst_rect); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetVideoPosition(IVMRWindowlessControl* This,RECT *src_rect,RECT *dst_rect) { + return This->lpVtbl->GetVideoPosition(This,src_rect,dst_rect); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetAspectRatioMode(IVMRWindowlessControl* This,DWORD *mode) { + return This->lpVtbl->GetAspectRatioMode(This,mode); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_SetAspectRatioMode(IVMRWindowlessControl* This,DWORD mode) { + return This->lpVtbl->SetAspectRatioMode(This,mode); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_SetVideoClippingWindow(IVMRWindowlessControl* This,HWND hwnd) { + return This->lpVtbl->SetVideoClippingWindow(This,hwnd); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_RepaintVideo(IVMRWindowlessControl* This,HWND hwnd,HDC hdc) { + return This->lpVtbl->RepaintVideo(This,hwnd,hdc); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_DisplayModeChanged(IVMRWindowlessControl* This) { + return This->lpVtbl->DisplayModeChanged(This); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetCurrentImage(IVMRWindowlessControl* This,BYTE **data) { + return This->lpVtbl->GetCurrentImage(This,data); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_SetBorderColor(IVMRWindowlessControl* This,COLORREF border) { + return This->lpVtbl->SetBorderColor(This,border); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetBorderColor(IVMRWindowlessControl* This,COLORREF *border) { + return This->lpVtbl->GetBorderColor(This,border); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_SetColorKey(IVMRWindowlessControl* This,COLORREF key) { + return This->lpVtbl->SetColorKey(This,key); +} +static FORCEINLINE HRESULT IVMRWindowlessControl_GetColorKey(IVMRWindowlessControl* This,COLORREF *key) { + return This->lpVtbl->GetColorKey(This,key); +} +#endif +#endif + +#endif + + +#endif /* __IVMRWindowlessControl_INTERFACE_DEFINED__ */ + +typedef enum _VMRMixerPrefs { + MixerPref_NoDecimation = 0x1, + MixerPref_DecimateOutput = 0x2, + MixerPref_ARAdjustXorY = 0x4, + MixerPref_DecimationReserved = 0x8, + MixerPref_DecimateMask = 0xf, + MixerPref_BiLinearFiltering = 0x10, + MixerPref_PointFiltering = 0x20, + MixerPref_FinteringMask = 0xf0, + MixerPref_RenderTargetRGB = 0x100, + MixerPref_RenderTargetYUV = 0x1000, + MixerPref_RenderTargetYUV420 = 0x200, + MixerPref_RenderTargetYUV422 = 0x400, + MixerPref_RenderTargetYUV444 = 0x800, + MixerPref_RenderTargetReserved = 0xe000, + MixerPref_RenderTargetMask = 0xff00, + MixerPref_DynamicSwitchToBOB = 0x10000, + MixerPref_DynamicDecimateBy2 = 0x20000, + MixerPref_DynamicReserved = 0xc0000, + MixerPref_DynamicMask = 0xf0000 +} VMRMixerPrefs; +typedef struct _NORMALIZEDRECT { + FLOAT left; + FLOAT top; + FLOAT right; + FLOAT bottom; +} NORMALIZEDRECT; +/***************************************************************************** + * IVMRMixerControl interface + */ +#ifndef __IVMRMixerControl_INTERFACE_DEFINED__ +#define __IVMRMixerControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRMixerControl, 0x1c1a17b0, 0xbed0, 0x415d, 0x97,0x4b, 0xdc,0x66,0x96,0x13,0x15,0x99); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1c1a17b0-bed0-415d-974b-dc6696131599") +IVMRMixerControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAlpha( + DWORD id, + FLOAT alpha) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlpha( + DWORD id, + FLOAT *alpha) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZOrder( + DWORD id, + DWORD z) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZOrder( + DWORD id, + DWORD *z) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputRect( + DWORD id, + const NORMALIZEDRECT *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBackgroundClr( + COLORREF background) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBackgroundClr( + COLORREF *background) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMixingPrefs( + DWORD prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMixingPrefs( + DWORD *prefs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRMixerControl, 0x1c1a17b0, 0xbed0, 0x415d, 0x97,0x4b, 0xdc,0x66,0x96,0x13,0x15,0x99) +#endif +#else +typedef struct IVMRMixerControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRMixerControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRMixerControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRMixerControl *This); + + /*** IVMRMixerControl methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAlpha)( + IVMRMixerControl *This, + DWORD id, + FLOAT alpha); + + HRESULT (STDMETHODCALLTYPE *GetAlpha)( + IVMRMixerControl *This, + DWORD id, + FLOAT *alpha); + + HRESULT (STDMETHODCALLTYPE *SetZOrder)( + IVMRMixerControl *This, + DWORD id, + DWORD z); + + HRESULT (STDMETHODCALLTYPE *GetZOrder)( + IVMRMixerControl *This, + DWORD id, + DWORD *z); + + HRESULT (STDMETHODCALLTYPE *SetOutputRect)( + IVMRMixerControl *This, + DWORD id, + const NORMALIZEDRECT *rect); + + HRESULT (STDMETHODCALLTYPE *SetBackgroundClr)( + IVMRMixerControl *This, + COLORREF background); + + HRESULT (STDMETHODCALLTYPE *GetBackgroundClr)( + IVMRMixerControl *This, + COLORREF *background); + + HRESULT (STDMETHODCALLTYPE *SetMixingPrefs)( + IVMRMixerControl *This, + DWORD prefs); + + HRESULT (STDMETHODCALLTYPE *GetMixingPrefs)( + IVMRMixerControl *This, + DWORD *prefs); + + END_INTERFACE +} IVMRMixerControlVtbl; + +interface IVMRMixerControl { + CONST_VTBL IVMRMixerControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRMixerControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRMixerControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRMixerControl_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRMixerControl methods ***/ +#define IVMRMixerControl_SetAlpha(This,id,alpha) (This)->lpVtbl->SetAlpha(This,id,alpha) +#define IVMRMixerControl_GetAlpha(This,id,alpha) (This)->lpVtbl->GetAlpha(This,id,alpha) +#define IVMRMixerControl_SetZOrder(This,id,z) (This)->lpVtbl->SetZOrder(This,id,z) +#define IVMRMixerControl_GetZOrder(This,id,z) (This)->lpVtbl->GetZOrder(This,id,z) +#define IVMRMixerControl_SetOutputRect(This,id,rect) (This)->lpVtbl->SetOutputRect(This,id,rect) +#define IVMRMixerControl_SetBackgroundClr(This,background) (This)->lpVtbl->SetBackgroundClr(This,background) +#define IVMRMixerControl_GetBackgroundClr(This,background) (This)->lpVtbl->GetBackgroundClr(This,background) +#define IVMRMixerControl_SetMixingPrefs(This,prefs) (This)->lpVtbl->SetMixingPrefs(This,prefs) +#define IVMRMixerControl_GetMixingPrefs(This,prefs) (This)->lpVtbl->GetMixingPrefs(This,prefs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRMixerControl_QueryInterface(IVMRMixerControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRMixerControl_AddRef(IVMRMixerControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRMixerControl_Release(IVMRMixerControl* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRMixerControl methods ***/ +static FORCEINLINE HRESULT IVMRMixerControl_SetAlpha(IVMRMixerControl* This,DWORD id,FLOAT alpha) { + return This->lpVtbl->SetAlpha(This,id,alpha); +} +static FORCEINLINE HRESULT IVMRMixerControl_GetAlpha(IVMRMixerControl* This,DWORD id,FLOAT *alpha) { + return This->lpVtbl->GetAlpha(This,id,alpha); +} +static FORCEINLINE HRESULT IVMRMixerControl_SetZOrder(IVMRMixerControl* This,DWORD id,DWORD z) { + return This->lpVtbl->SetZOrder(This,id,z); +} +static FORCEINLINE HRESULT IVMRMixerControl_GetZOrder(IVMRMixerControl* This,DWORD id,DWORD *z) { + return This->lpVtbl->GetZOrder(This,id,z); +} +static FORCEINLINE HRESULT IVMRMixerControl_SetOutputRect(IVMRMixerControl* This,DWORD id,const NORMALIZEDRECT *rect) { + return This->lpVtbl->SetOutputRect(This,id,rect); +} +static FORCEINLINE HRESULT IVMRMixerControl_SetBackgroundClr(IVMRMixerControl* This,COLORREF background) { + return This->lpVtbl->SetBackgroundClr(This,background); +} +static FORCEINLINE HRESULT IVMRMixerControl_GetBackgroundClr(IVMRMixerControl* This,COLORREF *background) { + return This->lpVtbl->GetBackgroundClr(This,background); +} +static FORCEINLINE HRESULT IVMRMixerControl_SetMixingPrefs(IVMRMixerControl* This,DWORD prefs) { + return This->lpVtbl->SetMixingPrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRMixerControl_GetMixingPrefs(IVMRMixerControl* This,DWORD *prefs) { + return This->lpVtbl->GetMixingPrefs(This,prefs); +} +#endif +#endif + +#endif + + +#endif /* __IVMRMixerControl_INTERFACE_DEFINED__ */ + +typedef struct tagVMRGUID { + struct _GUID *pGUID; + struct _GUID GUID; +} VMRGUID; +typedef struct tagVMRMONITORINFO { + VMRGUID guid; + RECT rcMonitor; + HMONITOR hMon; + DWORD dwFlags; + WCHAR szDevice[32]; + WCHAR szDescription[256]; + LARGE_INTEGER liDriverVersion; + DWORD dwVendorId; + DWORD dwDeviceId; + DWORD dwSubSysId; + DWORD dwRevision; +} VMRMONITORINFO; +/***************************************************************************** + * IVMRMonitorConfig interface + */ +#ifndef __IVMRMonitorConfig_INTERFACE_DEFINED__ +#define __IVMRMonitorConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRMonitorConfig, 0x9cf0b1b6, 0xfbaa, 0x4b7f, 0x88,0xcf, 0xcf,0x1f,0x13,0x0a,0x0d,0xce); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9cf0b1b6-fbaa-4b7f-88cf-cf1f130a0dce") +IVMRMonitorConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMonitor( + const VMRGUID *vmrguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMonitor( + VMRGUID *vmrguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultMonitor( + const VMRGUID *vmrguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultMonitor( + VMRGUID *vmrguid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAvailableMonitors( + VMRMONITORINFO *info, + DWORD array_size, + DWORD *retrieved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRMonitorConfig, 0x9cf0b1b6, 0xfbaa, 0x4b7f, 0x88,0xcf, 0xcf,0x1f,0x13,0x0a,0x0d,0xce) +#endif +#else +typedef struct IVMRMonitorConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRMonitorConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRMonitorConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRMonitorConfig *This); + + /*** IVMRMonitorConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMonitor)( + IVMRMonitorConfig *This, + const VMRGUID *vmrguid); + + HRESULT (STDMETHODCALLTYPE *GetMonitor)( + IVMRMonitorConfig *This, + VMRGUID *vmrguid); + + HRESULT (STDMETHODCALLTYPE *SetDefaultMonitor)( + IVMRMonitorConfig *This, + const VMRGUID *vmrguid); + + HRESULT (STDMETHODCALLTYPE *GetDefaultMonitor)( + IVMRMonitorConfig *This, + VMRGUID *vmrguid); + + HRESULT (STDMETHODCALLTYPE *GetAvailableMonitors)( + IVMRMonitorConfig *This, + VMRMONITORINFO *info, + DWORD array_size, + DWORD *retrieved); + + END_INTERFACE +} IVMRMonitorConfigVtbl; + +interface IVMRMonitorConfig { + CONST_VTBL IVMRMonitorConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRMonitorConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRMonitorConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRMonitorConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRMonitorConfig methods ***/ +#define IVMRMonitorConfig_SetMonitor(This,vmrguid) (This)->lpVtbl->SetMonitor(This,vmrguid) +#define IVMRMonitorConfig_GetMonitor(This,vmrguid) (This)->lpVtbl->GetMonitor(This,vmrguid) +#define IVMRMonitorConfig_SetDefaultMonitor(This,vmrguid) (This)->lpVtbl->SetDefaultMonitor(This,vmrguid) +#define IVMRMonitorConfig_GetDefaultMonitor(This,vmrguid) (This)->lpVtbl->GetDefaultMonitor(This,vmrguid) +#define IVMRMonitorConfig_GetAvailableMonitors(This,info,array_size,retrieved) (This)->lpVtbl->GetAvailableMonitors(This,info,array_size,retrieved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRMonitorConfig_QueryInterface(IVMRMonitorConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRMonitorConfig_AddRef(IVMRMonitorConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRMonitorConfig_Release(IVMRMonitorConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRMonitorConfig methods ***/ +static FORCEINLINE HRESULT IVMRMonitorConfig_SetMonitor(IVMRMonitorConfig* This,const VMRGUID *vmrguid) { + return This->lpVtbl->SetMonitor(This,vmrguid); +} +static FORCEINLINE HRESULT IVMRMonitorConfig_GetMonitor(IVMRMonitorConfig* This,VMRGUID *vmrguid) { + return This->lpVtbl->GetMonitor(This,vmrguid); +} +static FORCEINLINE HRESULT IVMRMonitorConfig_SetDefaultMonitor(IVMRMonitorConfig* This,const VMRGUID *vmrguid) { + return This->lpVtbl->SetDefaultMonitor(This,vmrguid); +} +static FORCEINLINE HRESULT IVMRMonitorConfig_GetDefaultMonitor(IVMRMonitorConfig* This,VMRGUID *vmrguid) { + return This->lpVtbl->GetDefaultMonitor(This,vmrguid); +} +static FORCEINLINE HRESULT IVMRMonitorConfig_GetAvailableMonitors(IVMRMonitorConfig* This,VMRMONITORINFO *info,DWORD array_size,DWORD *retrieved) { + return This->lpVtbl->GetAvailableMonitors(This,info,array_size,retrieved); +} +#endif +#endif + +#endif + + +#endif /* __IVMRMonitorConfig_INTERFACE_DEFINED__ */ + +typedef enum _VMRRenderPrefs { + RenderPrefs_RestrictToInitialMonitor = 0x0, + RenderPrefs_ForceOffScreen = 0x1, + RenderPrefs_ForceOverlays = 0x2, + RenderPrefs_AllowOverlays = 0x0, + RenderPrefs_AllowOffscreen = 0x0, + RenderPrefs_DoNotRenderColorKeyAndBorder = 0x8, + RenderPrefs_Reserved = 0x10, + RenderPrefs_PreferAGPMemWhenMixing = 0x20, + RenderPrefs_Mask = 0x3f +} VMRRenderPrefs; +typedef enum _VMRMode { + VMRMode_Windowed = 0x1, + VMRMode_Windowless = 0x2, + VMRMode_Renderless = 0x4, + VMRMode_Mask = 0x7 +} VMRMode; +enum { + MAX_NUMBER_OF_STREAMS = 16 +}; +/***************************************************************************** + * IVMRFilterConfig interface + */ +#ifndef __IVMRFilterConfig_INTERFACE_DEFINED__ +#define __IVMRFilterConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRFilterConfig, 0x9e5530c5, 0x7034, 0x48b4, 0xbb,0x46, 0x0b,0x8a,0x6e,0xfc,0x8e,0x36); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9e5530c5-7034-48b4-bb46-0b8a6efc8e36") +IVMRFilterConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetImageCompositor( + IVMRImageCompositor *compositor) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNumberOfStreams( + DWORD streams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( + DWORD *streams) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( + DWORD prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( + DWORD *prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRenderingMode( + DWORD mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingMode( + DWORD *mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRFilterConfig, 0x9e5530c5, 0x7034, 0x48b4, 0xbb,0x46, 0x0b,0x8a,0x6e,0xfc,0x8e,0x36) +#endif +#else +typedef struct IVMRFilterConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRFilterConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRFilterConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRFilterConfig *This); + + /*** IVMRFilterConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetImageCompositor)( + IVMRFilterConfig *This, + IVMRImageCompositor *compositor); + + HRESULT (STDMETHODCALLTYPE *SetNumberOfStreams)( + IVMRFilterConfig *This, + DWORD streams); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfStreams)( + IVMRFilterConfig *This, + DWORD *streams); + + HRESULT (STDMETHODCALLTYPE *SetRenderingPrefs)( + IVMRFilterConfig *This, + DWORD prefs); + + HRESULT (STDMETHODCALLTYPE *GetRenderingPrefs)( + IVMRFilterConfig *This, + DWORD *prefs); + + HRESULT (STDMETHODCALLTYPE *SetRenderingMode)( + IVMRFilterConfig *This, + DWORD mode); + + HRESULT (STDMETHODCALLTYPE *GetRenderingMode)( + IVMRFilterConfig *This, + DWORD *mode); + + END_INTERFACE +} IVMRFilterConfigVtbl; + +interface IVMRFilterConfig { + CONST_VTBL IVMRFilterConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRFilterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRFilterConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRFilterConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRFilterConfig methods ***/ +#define IVMRFilterConfig_SetImageCompositor(This,compositor) (This)->lpVtbl->SetImageCompositor(This,compositor) +#define IVMRFilterConfig_SetNumberOfStreams(This,streams) (This)->lpVtbl->SetNumberOfStreams(This,streams) +#define IVMRFilterConfig_GetNumberOfStreams(This,streams) (This)->lpVtbl->GetNumberOfStreams(This,streams) +#define IVMRFilterConfig_SetRenderingPrefs(This,prefs) (This)->lpVtbl->SetRenderingPrefs(This,prefs) +#define IVMRFilterConfig_GetRenderingPrefs(This,prefs) (This)->lpVtbl->GetRenderingPrefs(This,prefs) +#define IVMRFilterConfig_SetRenderingMode(This,mode) (This)->lpVtbl->SetRenderingMode(This,mode) +#define IVMRFilterConfig_GetRenderingMode(This,mode) (This)->lpVtbl->GetRenderingMode(This,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRFilterConfig_QueryInterface(IVMRFilterConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRFilterConfig_AddRef(IVMRFilterConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRFilterConfig_Release(IVMRFilterConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRFilterConfig methods ***/ +static FORCEINLINE HRESULT IVMRFilterConfig_SetImageCompositor(IVMRFilterConfig* This,IVMRImageCompositor *compositor) { + return This->lpVtbl->SetImageCompositor(This,compositor); +} +static FORCEINLINE HRESULT IVMRFilterConfig_SetNumberOfStreams(IVMRFilterConfig* This,DWORD streams) { + return This->lpVtbl->SetNumberOfStreams(This,streams); +} +static FORCEINLINE HRESULT IVMRFilterConfig_GetNumberOfStreams(IVMRFilterConfig* This,DWORD *streams) { + return This->lpVtbl->GetNumberOfStreams(This,streams); +} +static FORCEINLINE HRESULT IVMRFilterConfig_SetRenderingPrefs(IVMRFilterConfig* This,DWORD prefs) { + return This->lpVtbl->SetRenderingPrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRFilterConfig_GetRenderingPrefs(IVMRFilterConfig* This,DWORD *prefs) { + return This->lpVtbl->GetRenderingPrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRFilterConfig_SetRenderingMode(IVMRFilterConfig* This,DWORD mode) { + return This->lpVtbl->SetRenderingMode(This,mode); +} +static FORCEINLINE HRESULT IVMRFilterConfig_GetRenderingMode(IVMRFilterConfig* This,DWORD *mode) { + return This->lpVtbl->GetRenderingMode(This,mode); +} +#endif +#endif + +#endif + + +#endif /* __IVMRFilterConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRAspectRatioControl interface + */ +#ifndef __IVMRAspectRatioControl_INTERFACE_DEFINED__ +#define __IVMRAspectRatioControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRAspectRatioControl, 0xede80b5c, 0xbad6, 0x4623, 0xb5,0x37, 0x65,0x58,0x6c,0x9f,0x8d,0xfd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ede80b5c-bad6-4623-b537-65586c9f8dfd") +IVMRAspectRatioControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( + DWORD *armode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( + DWORD armode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRAspectRatioControl, 0xede80b5c, 0xbad6, 0x4623, 0xb5,0x37, 0x65,0x58,0x6c,0x9f,0x8d,0xfd) +#endif +#else +typedef struct IVMRAspectRatioControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRAspectRatioControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRAspectRatioControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRAspectRatioControl *This); + + /*** IVMRAspectRatioControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAspectRatioMode)( + IVMRAspectRatioControl *This, + DWORD *armode); + + HRESULT (STDMETHODCALLTYPE *SetAspectRatioMode)( + IVMRAspectRatioControl *This, + DWORD armode); + + END_INTERFACE +} IVMRAspectRatioControlVtbl; + +interface IVMRAspectRatioControl { + CONST_VTBL IVMRAspectRatioControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRAspectRatioControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRAspectRatioControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRAspectRatioControl_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRAspectRatioControl methods ***/ +#define IVMRAspectRatioControl_GetAspectRatioMode(This,armode) (This)->lpVtbl->GetAspectRatioMode(This,armode) +#define IVMRAspectRatioControl_SetAspectRatioMode(This,armode) (This)->lpVtbl->SetAspectRatioMode(This,armode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRAspectRatioControl_QueryInterface(IVMRAspectRatioControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRAspectRatioControl_AddRef(IVMRAspectRatioControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRAspectRatioControl_Release(IVMRAspectRatioControl* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRAspectRatioControl methods ***/ +static FORCEINLINE HRESULT IVMRAspectRatioControl_GetAspectRatioMode(IVMRAspectRatioControl* This,DWORD *armode) { + return This->lpVtbl->GetAspectRatioMode(This,armode); +} +static FORCEINLINE HRESULT IVMRAspectRatioControl_SetAspectRatioMode(IVMRAspectRatioControl* This,DWORD armode) { + return This->lpVtbl->SetAspectRatioMode(This,armode); +} +#endif +#endif + +#endif + + +#endif /* __IVMRAspectRatioControl_INTERFACE_DEFINED__ */ + +typedef enum _VMRDeinterlacePrefs { + DeinterlacePref_NextBest = 0x1, + DeinterlacePref_BOB = 0x2, + DeinterlacePref_Weave = 0x4, + DeinterlacePref_Mask = 0x7 +} VMRDeinterlacePrefs; +typedef enum _VMRDeinterlaceTech { + DeinterlaceTech_Unknown = 0x0, + DeinterlaceTech_BOBLineReplicate = 0x1, + DeinterlaceTech_BOBVerticalStretch = 0x2, + DeinterlaceTech_MedianFiltering = 0x4, + DeinterlaceTech_EdgeFiltering = 0x8, + DeinterlaceTech_FieldAdaptive = 0x10, + DeinterlaceTech_PixelAdaptive = 0x20, + DeinterlaceTech_MotionVectorSteered = 0x80 +} VMRDeinterlaceTech; +typedef struct _VMRFrequency { + DWORD dwNumerator; + DWORD dwDenominator; +} VMRFrequency; +typedef struct _VMRVideoDesc { + DWORD dwSize; + DWORD dwSampleWidth; + DWORD dwSampleHeight; + BOOL SingleFieldPerSample; + DWORD dwFourCC; + VMRFrequency InputSampleFreq; + VMRFrequency OutputFrameFreq; +} VMRVideoDesc; +typedef struct _VMRDeinterlaceCaps { + DWORD dwSize; + DWORD dwNumPreviousOutputFrames; + DWORD dwNumForwardRefSamples; + DWORD dwNumBackwardRefSamples; + VMRDeinterlaceTech DeinterlaceTechnology; +} VMRDeinterlaceCaps; +/***************************************************************************** + * IVMRDeinterlaceControl interface + */ +#ifndef __IVMRDeinterlaceControl_INTERFACE_DEFINED__ +#define __IVMRDeinterlaceControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRDeinterlaceControl, 0xbb057577, 0x0db8, 0x4e6a, 0x87,0xa7, 0x1a,0x8c,0x9a,0x50,0x5a,0x0f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb057577-0db8-4e6a-87a7-1a8c9a505a0f") +IVMRDeinterlaceControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNumberOfDeinterlaceModes( + VMRVideoDesc *desc, + DWORD *num_modes, + GUID *modes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeinterlaceModeCaps( + GUID *mode, + VMRVideoDesc *desc, + VMRDeinterlaceCaps *caps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeinterlaceMode( + DWORD id, + GUID *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDeinterlaceMode( + DWORD id, + GUID *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeinterlacePrefs( + DWORD *prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDeinterlacePrefs( + DWORD prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActualDeinterlaceMode( + DWORD id, + GUID *mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRDeinterlaceControl, 0xbb057577, 0x0db8, 0x4e6a, 0x87,0xa7, 0x1a,0x8c,0x9a,0x50,0x5a,0x0f) +#endif +#else +typedef struct IVMRDeinterlaceControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRDeinterlaceControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRDeinterlaceControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRDeinterlaceControl *This); + + /*** IVMRDeinterlaceControl methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNumberOfDeinterlaceModes)( + IVMRDeinterlaceControl *This, + VMRVideoDesc *desc, + DWORD *num_modes, + GUID *modes); + + HRESULT (STDMETHODCALLTYPE *GetDeinterlaceModeCaps)( + IVMRDeinterlaceControl *This, + GUID *mode, + VMRVideoDesc *desc, + VMRDeinterlaceCaps *caps); + + HRESULT (STDMETHODCALLTYPE *GetDeinterlaceMode)( + IVMRDeinterlaceControl *This, + DWORD id, + GUID *mode); + + HRESULT (STDMETHODCALLTYPE *SetDeinterlaceMode)( + IVMRDeinterlaceControl *This, + DWORD id, + GUID *mode); + + HRESULT (STDMETHODCALLTYPE *GetDeinterlacePrefs)( + IVMRDeinterlaceControl *This, + DWORD *prefs); + + HRESULT (STDMETHODCALLTYPE *SetDeinterlacePrefs)( + IVMRDeinterlaceControl *This, + DWORD prefs); + + HRESULT (STDMETHODCALLTYPE *GetActualDeinterlaceMode)( + IVMRDeinterlaceControl *This, + DWORD id, + GUID *mode); + + END_INTERFACE +} IVMRDeinterlaceControlVtbl; + +interface IVMRDeinterlaceControl { + CONST_VTBL IVMRDeinterlaceControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRDeinterlaceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRDeinterlaceControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRDeinterlaceControl_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRDeinterlaceControl methods ***/ +#define IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes(This,desc,num_modes,modes) (This)->lpVtbl->GetNumberOfDeinterlaceModes(This,desc,num_modes,modes) +#define IVMRDeinterlaceControl_GetDeinterlaceModeCaps(This,mode,desc,caps) (This)->lpVtbl->GetDeinterlaceModeCaps(This,mode,desc,caps) +#define IVMRDeinterlaceControl_GetDeinterlaceMode(This,id,mode) (This)->lpVtbl->GetDeinterlaceMode(This,id,mode) +#define IVMRDeinterlaceControl_SetDeinterlaceMode(This,id,mode) (This)->lpVtbl->SetDeinterlaceMode(This,id,mode) +#define IVMRDeinterlaceControl_GetDeinterlacePrefs(This,prefs) (This)->lpVtbl->GetDeinterlacePrefs(This,prefs) +#define IVMRDeinterlaceControl_SetDeinterlacePrefs(This,prefs) (This)->lpVtbl->SetDeinterlacePrefs(This,prefs) +#define IVMRDeinterlaceControl_GetActualDeinterlaceMode(This,id,mode) (This)->lpVtbl->GetActualDeinterlaceMode(This,id,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRDeinterlaceControl_QueryInterface(IVMRDeinterlaceControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRDeinterlaceControl_AddRef(IVMRDeinterlaceControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRDeinterlaceControl_Release(IVMRDeinterlaceControl* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRDeinterlaceControl methods ***/ +static FORCEINLINE HRESULT IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes(IVMRDeinterlaceControl* This,VMRVideoDesc *desc,DWORD *num_modes,GUID *modes) { + return This->lpVtbl->GetNumberOfDeinterlaceModes(This,desc,num_modes,modes); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl_GetDeinterlaceModeCaps(IVMRDeinterlaceControl* This,GUID *mode,VMRVideoDesc *desc,VMRDeinterlaceCaps *caps) { + return This->lpVtbl->GetDeinterlaceModeCaps(This,mode,desc,caps); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl_GetDeinterlaceMode(IVMRDeinterlaceControl* This,DWORD id,GUID *mode) { + return This->lpVtbl->GetDeinterlaceMode(This,id,mode); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl_SetDeinterlaceMode(IVMRDeinterlaceControl* This,DWORD id,GUID *mode) { + return This->lpVtbl->SetDeinterlaceMode(This,id,mode); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl_GetDeinterlacePrefs(IVMRDeinterlaceControl* This,DWORD *prefs) { + return This->lpVtbl->GetDeinterlacePrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl_SetDeinterlacePrefs(IVMRDeinterlaceControl* This,DWORD prefs) { + return This->lpVtbl->SetDeinterlacePrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl_GetActualDeinterlaceMode(IVMRDeinterlaceControl* This,DWORD id,GUID *mode) { + return This->lpVtbl->GetActualDeinterlaceMode(This,id,mode); +} +#endif +#endif + +#endif + + +#endif /* __IVMRDeinterlaceControl_INTERFACE_DEFINED__ */ + +typedef struct _VMRALPHABITMAP { + DWORD dwFlags; + HDC hdc; + IDirectDrawSurface7 *pDDS; + RECT rSrc; + RECT rDest; + FLOAT fAlpha; + COLORREF clrSrcKey; +} VMRALPHABITMAP; +typedef struct _VMRALPHABITMAP *PVMRALPHABITMAP; +#define VMRBITMAP_DISABLE (0x01) +#define VMRBITMAP_HDC (0x02) +#define VMRBITMAP_ENTIREDDS (0x04) +#define VMRBITMAP_SRCCOLORKEY (0x08) +#define VMRBITMAP_SRCRECT (0x10) +/***************************************************************************** + * IVMRMixerBitmap interface + */ +#ifndef __IVMRMixerBitmap_INTERFACE_DEFINED__ +#define __IVMRMixerBitmap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRMixerBitmap, 0x1e673275, 0x0257, 0x40aa, 0xaf,0x20, 0x7c,0x60,0x8d,0x4a,0x04,0x28); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1e673275-0257-40aa-af20-7c608d4a0428") +IVMRMixerBitmap : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAlphaBitmap( + const VMRALPHABITMAP *params) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateAlphaBitmapParameters( + VMRALPHABITMAP *params) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlphaBitmapParameters( + VMRALPHABITMAP *params) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRMixerBitmap, 0x1e673275, 0x0257, 0x40aa, 0xaf,0x20, 0x7c,0x60,0x8d,0x4a,0x04,0x28) +#endif +#else +typedef struct IVMRMixerBitmapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRMixerBitmap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRMixerBitmap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRMixerBitmap *This); + + /*** IVMRMixerBitmap methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAlphaBitmap)( + IVMRMixerBitmap *This, + const VMRALPHABITMAP *params); + + HRESULT (STDMETHODCALLTYPE *UpdateAlphaBitmapParameters)( + IVMRMixerBitmap *This, + VMRALPHABITMAP *params); + + HRESULT (STDMETHODCALLTYPE *GetAlphaBitmapParameters)( + IVMRMixerBitmap *This, + VMRALPHABITMAP *params); + + END_INTERFACE +} IVMRMixerBitmapVtbl; + +interface IVMRMixerBitmap { + CONST_VTBL IVMRMixerBitmapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRMixerBitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRMixerBitmap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRMixerBitmap_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRMixerBitmap methods ***/ +#define IVMRMixerBitmap_SetAlphaBitmap(This,params) (This)->lpVtbl->SetAlphaBitmap(This,params) +#define IVMRMixerBitmap_UpdateAlphaBitmapParameters(This,params) (This)->lpVtbl->UpdateAlphaBitmapParameters(This,params) +#define IVMRMixerBitmap_GetAlphaBitmapParameters(This,params) (This)->lpVtbl->GetAlphaBitmapParameters(This,params) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRMixerBitmap_QueryInterface(IVMRMixerBitmap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRMixerBitmap_AddRef(IVMRMixerBitmap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRMixerBitmap_Release(IVMRMixerBitmap* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRMixerBitmap methods ***/ +static FORCEINLINE HRESULT IVMRMixerBitmap_SetAlphaBitmap(IVMRMixerBitmap* This,const VMRALPHABITMAP *params) { + return This->lpVtbl->SetAlphaBitmap(This,params); +} +static FORCEINLINE HRESULT IVMRMixerBitmap_UpdateAlphaBitmapParameters(IVMRMixerBitmap* This,VMRALPHABITMAP *params) { + return This->lpVtbl->UpdateAlphaBitmapParameters(This,params); +} +static FORCEINLINE HRESULT IVMRMixerBitmap_GetAlphaBitmapParameters(IVMRMixerBitmap* This,VMRALPHABITMAP *params) { + return This->lpVtbl->GetAlphaBitmapParameters(This,params); +} +#endif +#endif + +#endif + + +#endif /* __IVMRMixerBitmap_INTERFACE_DEFINED__ */ + +typedef struct _VMRVIDEOSTREAMINFO { + IDirectDrawSurface7 *pddsVideoSurface; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwStrmID; + FLOAT fAlpha; + DDCOLORKEY ddClrKey; + NORMALIZEDRECT rNormal; +} VMRVIDEOSTREAMINFO; +/***************************************************************************** + * IVMRImageCompositor interface + */ +#ifndef __IVMRImageCompositor_INTERFACE_DEFINED__ +#define __IVMRImageCompositor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImageCompositor, 0x7a4fb5af, 0x479f, 0x4074, 0xbb,0x40, 0xce,0x67,0x22,0xe4,0x3c,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7a4fb5af-479f-4074-bb40-ce6722e43c82") +IVMRImageCompositor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitCompositionTarget( + IUnknown *d3ddev, + IDirectDrawSurface7 *rendertarget) = 0; + + virtual HRESULT STDMETHODCALLTYPE TermCompositionTarget( + IUnknown *d3ddev, + IDirectDrawSurface7 *rendertarget) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamMediaType( + DWORD id, + AM_MEDIA_TYPE *pmt, + BOOL texture) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompositeImage( + IUnknown *d3ddev, + IDirectDrawSurface7 *rendertarget, + AM_MEDIA_TYPE *pmt, + REFERENCE_TIME start, + REFERENCE_TIME stop, + DWORD backgrnd, + VMRVIDEOSTREAMINFO *info, + UINT streams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImageCompositor, 0x7a4fb5af, 0x479f, 0x4074, 0xbb,0x40, 0xce,0x67,0x22,0xe4,0x3c,0x82) +#endif +#else +typedef struct IVMRImageCompositorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImageCompositor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImageCompositor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImageCompositor *This); + + /*** IVMRImageCompositor methods ***/ + HRESULT (STDMETHODCALLTYPE *InitCompositionTarget)( + IVMRImageCompositor *This, + IUnknown *d3ddev, + IDirectDrawSurface7 *rendertarget); + + HRESULT (STDMETHODCALLTYPE *TermCompositionTarget)( + IVMRImageCompositor *This, + IUnknown *d3ddev, + IDirectDrawSurface7 *rendertarget); + + HRESULT (STDMETHODCALLTYPE *SetStreamMediaType)( + IVMRImageCompositor *This, + DWORD id, + AM_MEDIA_TYPE *pmt, + BOOL texture); + + HRESULT (STDMETHODCALLTYPE *CompositeImage)( + IVMRImageCompositor *This, + IUnknown *d3ddev, + IDirectDrawSurface7 *rendertarget, + AM_MEDIA_TYPE *pmt, + REFERENCE_TIME start, + REFERENCE_TIME stop, + DWORD backgrnd, + VMRVIDEOSTREAMINFO *info, + UINT streams); + + END_INTERFACE +} IVMRImageCompositorVtbl; + +interface IVMRImageCompositor { + CONST_VTBL IVMRImageCompositorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImageCompositor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImageCompositor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImageCompositor_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImageCompositor methods ***/ +#define IVMRImageCompositor_InitCompositionTarget(This,d3ddev,rendertarget) (This)->lpVtbl->InitCompositionTarget(This,d3ddev,rendertarget) +#define IVMRImageCompositor_TermCompositionTarget(This,d3ddev,rendertarget) (This)->lpVtbl->TermCompositionTarget(This,d3ddev,rendertarget) +#define IVMRImageCompositor_SetStreamMediaType(This,id,pmt,texture) (This)->lpVtbl->SetStreamMediaType(This,id,pmt,texture) +#define IVMRImageCompositor_CompositeImage(This,d3ddev,rendertarget,pmt,start,stop,backgrnd,info,streams) (This)->lpVtbl->CompositeImage(This,d3ddev,rendertarget,pmt,start,stop,backgrnd,info,streams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImageCompositor_QueryInterface(IVMRImageCompositor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImageCompositor_AddRef(IVMRImageCompositor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImageCompositor_Release(IVMRImageCompositor* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImageCompositor methods ***/ +static FORCEINLINE HRESULT IVMRImageCompositor_InitCompositionTarget(IVMRImageCompositor* This,IUnknown *d3ddev,IDirectDrawSurface7 *rendertarget) { + return This->lpVtbl->InitCompositionTarget(This,d3ddev,rendertarget); +} +static FORCEINLINE HRESULT IVMRImageCompositor_TermCompositionTarget(IVMRImageCompositor* This,IUnknown *d3ddev,IDirectDrawSurface7 *rendertarget) { + return This->lpVtbl->TermCompositionTarget(This,d3ddev,rendertarget); +} +static FORCEINLINE HRESULT IVMRImageCompositor_SetStreamMediaType(IVMRImageCompositor* This,DWORD id,AM_MEDIA_TYPE *pmt,BOOL texture) { + return This->lpVtbl->SetStreamMediaType(This,id,pmt,texture); +} +static FORCEINLINE HRESULT IVMRImageCompositor_CompositeImage(IVMRImageCompositor* This,IUnknown *d3ddev,IDirectDrawSurface7 *rendertarget,AM_MEDIA_TYPE *pmt,REFERENCE_TIME start,REFERENCE_TIME stop,DWORD backgrnd,VMRVIDEOSTREAMINFO *info,UINT streams) { + return This->lpVtbl->CompositeImage(This,d3ddev,rendertarget,pmt,start,stop,backgrnd,info,streams); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImageCompositor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRVideoStreamControl interface + */ +#ifndef __IVMRVideoStreamControl_INTERFACE_DEFINED__ +#define __IVMRVideoStreamControl_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRVideoStreamControl, 0x058d1f11, 0x2a54, 0x4bef, 0xbd,0x54, 0xdf,0x70,0x66,0x26,0xb7,0x27); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("058d1f11-2a54-4bef-bd54-df706626b727") +IVMRVideoStreamControl : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetColorKey( + DDCOLORKEY *key) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorKey( + DDCOLORKEY *key) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamActiveState( + BOOL active) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamActiveState( + BOOL *active) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRVideoStreamControl, 0x058d1f11, 0x2a54, 0x4bef, 0xbd,0x54, 0xdf,0x70,0x66,0x26,0xb7,0x27) +#endif +#else +typedef struct IVMRVideoStreamControlVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRVideoStreamControl *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRVideoStreamControl *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRVideoStreamControl *This); + + /*** IVMRVideoStreamControl methods ***/ + HRESULT (STDMETHODCALLTYPE *SetColorKey)( + IVMRVideoStreamControl *This, + DDCOLORKEY *key); + + HRESULT (STDMETHODCALLTYPE *GetColorKey)( + IVMRVideoStreamControl *This, + DDCOLORKEY *key); + + HRESULT (STDMETHODCALLTYPE *SetStreamActiveState)( + IVMRVideoStreamControl *This, + BOOL active); + + HRESULT (STDMETHODCALLTYPE *GetStreamActiveState)( + IVMRVideoStreamControl *This, + BOOL *active); + + END_INTERFACE +} IVMRVideoStreamControlVtbl; + +interface IVMRVideoStreamControl { + CONST_VTBL IVMRVideoStreamControlVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRVideoStreamControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRVideoStreamControl_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRVideoStreamControl_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRVideoStreamControl methods ***/ +#define IVMRVideoStreamControl_SetColorKey(This,key) (This)->lpVtbl->SetColorKey(This,key) +#define IVMRVideoStreamControl_GetColorKey(This,key) (This)->lpVtbl->GetColorKey(This,key) +#define IVMRVideoStreamControl_SetStreamActiveState(This,active) (This)->lpVtbl->SetStreamActiveState(This,active) +#define IVMRVideoStreamControl_GetStreamActiveState(This,active) (This)->lpVtbl->GetStreamActiveState(This,active) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRVideoStreamControl_QueryInterface(IVMRVideoStreamControl* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRVideoStreamControl_AddRef(IVMRVideoStreamControl* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRVideoStreamControl_Release(IVMRVideoStreamControl* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRVideoStreamControl methods ***/ +static FORCEINLINE HRESULT IVMRVideoStreamControl_SetColorKey(IVMRVideoStreamControl* This,DDCOLORKEY *key) { + return This->lpVtbl->SetColorKey(This,key); +} +static FORCEINLINE HRESULT IVMRVideoStreamControl_GetColorKey(IVMRVideoStreamControl* This,DDCOLORKEY *key) { + return This->lpVtbl->GetColorKey(This,key); +} +static FORCEINLINE HRESULT IVMRVideoStreamControl_SetStreamActiveState(IVMRVideoStreamControl* This,BOOL active) { + return This->lpVtbl->SetStreamActiveState(This,active); +} +static FORCEINLINE HRESULT IVMRVideoStreamControl_GetStreamActiveState(IVMRVideoStreamControl* This,BOOL *active) { + return This->lpVtbl->GetStreamActiveState(This,active); +} +#endif +#endif + +#endif + + +#endif /* __IVMRVideoStreamControl_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRImagePresenterConfig interface + */ +#ifndef __IVMRImagePresenterConfig_INTERFACE_DEFINED__ +#define __IVMRImagePresenterConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImagePresenterConfig, 0x9f3a1c85, 0x8555, 0x49ba, 0x93,0x5f, 0xbe,0x5b,0x5b,0x29,0xd1,0x78); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9f3a1c85-8555-49ba-935f-be5b5b29d178") +IVMRImagePresenterConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( + DWORD prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( + DWORD *prefs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImagePresenterConfig, 0x9f3a1c85, 0x8555, 0x49ba, 0x93,0x5f, 0xbe,0x5b,0x5b,0x29,0xd1,0x78) +#endif +#else +typedef struct IVMRImagePresenterConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImagePresenterConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImagePresenterConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImagePresenterConfig *This); + + /*** IVMRImagePresenterConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetRenderingPrefs)( + IVMRImagePresenterConfig *This, + DWORD prefs); + + HRESULT (STDMETHODCALLTYPE *GetRenderingPrefs)( + IVMRImagePresenterConfig *This, + DWORD *prefs); + + END_INTERFACE +} IVMRImagePresenterConfigVtbl; + +interface IVMRImagePresenterConfig { + CONST_VTBL IVMRImagePresenterConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImagePresenterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImagePresenterConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImagePresenterConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImagePresenterConfig methods ***/ +#define IVMRImagePresenterConfig_SetRenderingPrefs(This,prefs) (This)->lpVtbl->SetRenderingPrefs(This,prefs) +#define IVMRImagePresenterConfig_GetRenderingPrefs(This,prefs) (This)->lpVtbl->GetRenderingPrefs(This,prefs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterConfig_QueryInterface(IVMRImagePresenterConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImagePresenterConfig_AddRef(IVMRImagePresenterConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImagePresenterConfig_Release(IVMRImagePresenterConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImagePresenterConfig methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterConfig_SetRenderingPrefs(IVMRImagePresenterConfig* This,DWORD prefs) { + return This->lpVtbl->SetRenderingPrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRImagePresenterConfig_GetRenderingPrefs(IVMRImagePresenterConfig* This,DWORD *prefs) { + return This->lpVtbl->GetRenderingPrefs(This,prefs); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImagePresenterConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRImagePresenterExclModeConfig interface + */ +#ifndef __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__ +#define __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImagePresenterExclModeConfig, 0xe6f7ce40, 0x4673, 0x44f1, 0x8f,0x77, 0x54,0x99,0xd6,0x8c,0xb4,0xea); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e6f7ce40-4673-44f1-8f77-5499d68cb4ea") +IVMRImagePresenterExclModeConfig : public IVMRImagePresenterConfig +{ + virtual HRESULT STDMETHODCALLTYPE SetXlcModeDDObjAndPrimarySurface( + IDirectDraw7 *dddev, + IDirectDrawSurface7 *ddsurface) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetXlcModeDDObjAndPrimarySurface( + IDirectDraw7 **dddev, + IDirectDrawSurface7 **ddsurface) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImagePresenterExclModeConfig, 0xe6f7ce40, 0x4673, 0x44f1, 0x8f,0x77, 0x54,0x99,0xd6,0x8c,0xb4,0xea) +#endif +#else +typedef struct IVMRImagePresenterExclModeConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImagePresenterExclModeConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImagePresenterExclModeConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImagePresenterExclModeConfig *This); + + /*** IVMRImagePresenterConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetRenderingPrefs)( + IVMRImagePresenterExclModeConfig *This, + DWORD prefs); + + HRESULT (STDMETHODCALLTYPE *GetRenderingPrefs)( + IVMRImagePresenterExclModeConfig *This, + DWORD *prefs); + + /*** IVMRImagePresenterExclModeConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *SetXlcModeDDObjAndPrimarySurface)( + IVMRImagePresenterExclModeConfig *This, + IDirectDraw7 *dddev, + IDirectDrawSurface7 *ddsurface); + + HRESULT (STDMETHODCALLTYPE *GetXlcModeDDObjAndPrimarySurface)( + IVMRImagePresenterExclModeConfig *This, + IDirectDraw7 **dddev, + IDirectDrawSurface7 **ddsurface); + + END_INTERFACE +} IVMRImagePresenterExclModeConfigVtbl; + +interface IVMRImagePresenterExclModeConfig { + CONST_VTBL IVMRImagePresenterExclModeConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImagePresenterExclModeConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImagePresenterExclModeConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImagePresenterExclModeConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImagePresenterConfig methods ***/ +#define IVMRImagePresenterExclModeConfig_SetRenderingPrefs(This,prefs) (This)->lpVtbl->SetRenderingPrefs(This,prefs) +#define IVMRImagePresenterExclModeConfig_GetRenderingPrefs(This,prefs) (This)->lpVtbl->GetRenderingPrefs(This,prefs) +/*** IVMRImagePresenterExclModeConfig methods ***/ +#define IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface(This,dddev,ddsurface) (This)->lpVtbl->SetXlcModeDDObjAndPrimarySurface(This,dddev,ddsurface) +#define IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface(This,dddev,ddsurface) (This)->lpVtbl->GetXlcModeDDObjAndPrimarySurface(This,dddev,ddsurface) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterExclModeConfig_QueryInterface(IVMRImagePresenterExclModeConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImagePresenterExclModeConfig_AddRef(IVMRImagePresenterExclModeConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImagePresenterExclModeConfig_Release(IVMRImagePresenterExclModeConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImagePresenterConfig methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterExclModeConfig_SetRenderingPrefs(IVMRImagePresenterExclModeConfig* This,DWORD prefs) { + return This->lpVtbl->SetRenderingPrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRImagePresenterExclModeConfig_GetRenderingPrefs(IVMRImagePresenterExclModeConfig* This,DWORD *prefs) { + return This->lpVtbl->GetRenderingPrefs(This,prefs); +} +/*** IVMRImagePresenterExclModeConfig methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface(IVMRImagePresenterExclModeConfig* This,IDirectDraw7 *dddev,IDirectDrawSurface7 *ddsurface) { + return This->lpVtbl->SetXlcModeDDObjAndPrimarySurface(This,dddev,ddsurface); +} +static FORCEINLINE HRESULT IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface(IVMRImagePresenterExclModeConfig* This,IDirectDraw7 **dddev,IDirectDrawSurface7 **ddsurface) { + return This->lpVtbl->GetXlcModeDDObjAndPrimarySurface(This,dddev,ddsurface); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVPManager interface + */ +#ifndef __IVPManager_INTERFACE_DEFINED__ +#define __IVPManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVPManager, 0xaac18c18, 0xe186, 0x46d2, 0x82,0x5d, 0xa1,0xf8,0xdc,0x8e,0x39,0x5a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aac18c18-e186-46d2-825d-a1f8dc8e395a") +IVPManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetVideoPortIndex( + DWORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoPortIndex( + DWORD *index) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVPManager, 0xaac18c18, 0xe186, 0x46d2, 0x82,0x5d, 0xa1,0xf8,0xdc,0x8e,0x39,0x5a) +#endif +#else +typedef struct IVPManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVPManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVPManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVPManager *This); + + /*** IVPManager methods ***/ + HRESULT (STDMETHODCALLTYPE *SetVideoPortIndex)( + IVPManager *This, + DWORD index); + + HRESULT (STDMETHODCALLTYPE *GetVideoPortIndex)( + IVPManager *This, + DWORD *index); + + END_INTERFACE +} IVPManagerVtbl; + +interface IVPManager { + CONST_VTBL IVPManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVPManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVPManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVPManager_Release(This) (This)->lpVtbl->Release(This) +/*** IVPManager methods ***/ +#define IVPManager_SetVideoPortIndex(This,index) (This)->lpVtbl->SetVideoPortIndex(This,index) +#define IVPManager_GetVideoPortIndex(This,index) (This)->lpVtbl->GetVideoPortIndex(This,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVPManager_QueryInterface(IVPManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVPManager_AddRef(IVPManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVPManager_Release(IVPManager* This) { + return This->lpVtbl->Release(This); +} +/*** IVPManager methods ***/ +static FORCEINLINE HRESULT IVPManager_SetVideoPortIndex(IVPManager* This,DWORD index) { + return This->lpVtbl->SetVideoPortIndex(This,index); +} +static FORCEINLINE HRESULT IVPManager_GetVideoPortIndex(IVPManager* This,DWORD *index) { + return This->lpVtbl->GetVideoPortIndex(This,index); +} +#endif +#endif + +#endif + + +#endif /* __IVPManager_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __strmif_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strmif.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strmif.idl new file mode 100644 index 0000000..a06f99b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strmif.idl @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2002 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "objidl.idl"; + +#include + +#include + +#include + +#include + +/* TODO: #include */ +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strsafe.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strsafe.h new file mode 100644 index 0000000..842075f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/strsafe.h @@ -0,0 +1,32 @@ +/* + * Copyright 2010 Thomas Mullaly + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_STRSAFE_H +#define __WINE_STRSAFE_H + +#include +#include +#include + +/* Windows version includes this header. */ +/* #include */ + +#define STRSAFE_E_INSUFFICIENT_BUFFER ((HRESULT)0x8007007A) +#define STRSAFE_E_INVALID_PARAM ((HRESULT)0x80070075) +#define STRSAFE_E_END_OF_FILE ((HRESULT)0x80070026) + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/structuredquerycondition.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/structuredquerycondition.h new file mode 100644 index 0000000..a249d8f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/structuredquerycondition.h @@ -0,0 +1,63 @@ +/*** Autogenerated by WIDL 2.18 from structuredquerycondition.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __structuredquerycondition_h__ +#define __structuredquerycondition_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum tagCONDITION_TYPE { + CT_AND_CONDITION = 0, + CT_OR_CONDITION = 1, + CT_NOT_CONDITION = 2, + CT_LEAF_CONDITION = 3 +} CONDITION_TYPE; +typedef enum tagCONDITION_OPERATION { + COP_IMPLICIT = 0, + COP_EQUAL = 1, + COP_NOTEQUAL = 2, + COP_LESSTHAN = 3, + COP_GREATERTHAN = 4, + COP_LESSTHANOREQUAL = 5, + COP_GREATERTHANOREQUAL = 6, + COP_VALUE_STARTSWITH = 7, + COP_VALUE_ENDSWITH = 8, + COP_VALUE_CONTAINS = 9, + COP_VALUE_NOTCONTAINS = 10, + COP_DOSWILDCARDS = 11, + COP_WORD_EQUAL = 12, + COP_WORD_STARTSWITH = 13, + COP_APPLICATION_SPECIFIC = 14 +} CONDITION_OPERATION; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __structuredquerycondition_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/structuredquerycondition.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/structuredquerycondition.idl new file mode 100644 index 0000000..8eb4d51 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/structuredquerycondition.idl @@ -0,0 +1,53 @@ +/* + * structured query condition + * + * Copyright 2009 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + + +import "oaidl.idl"; +import "ocidl.idl"; +import "objidl.idl"; +import "propidl.idl"; + +typedef [v1_enum] enum tagCONDITION_TYPE +{ + CT_AND_CONDITION, + CT_OR_CONDITION, + CT_NOT_CONDITION, + CT_LEAF_CONDITION +} CONDITION_TYPE; + +typedef [v1_enum] enum tagCONDITION_OPERATION +{ + COP_IMPLICIT, + COP_EQUAL, + COP_NOTEQUAL, + COP_LESSTHAN, + COP_GREATERTHAN, + COP_LESSTHANOREQUAL, + COP_GREATERTHANOREQUAL, + COP_VALUE_STARTSWITH, + COP_VALUE_ENDSWITH, + COP_VALUE_CONTAINS, + COP_VALUE_NOTCONTAINS, + COP_DOSWILDCARDS, + COP_WORD_EQUAL, + COP_WORD_STARTSWITH, + COP_APPLICATION_SPECIFIC +} CONDITION_OPERATION; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/svrapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/svrapi.h new file mode 100644 index 0000000..adee78f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/svrapi.h @@ -0,0 +1,46 @@ +/* +* Copyright 2006 Konstantin Petrov +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2.1 of the License, or (at your option) any later version. +* +* This library is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with this library; if not, write to the Free Software +* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +*/ + +#ifndef SVRAPI_INCLUDED +#define SVRAPI_INCLUDED + +#include +#include + +#include + +typedef struct _share_info_1 { + char shi1_netname[LM20_NNLEN+1]; + char shi1_pad1; + unsigned short shi1_type; + char* shi1_remark; +} share_info_1; + +typedef struct _share_info_50 { + char shi50_netname[LM20_NNLEN+1]; + unsigned char shi50_type; + unsigned short shi50_flags; + char* shi50_remark; + char* shi50_path; + char shi50_rw_password[SHPWLEN+1]; + char shi50_ro_password[SHPWLEN+1]; +} share_info_50; + +#include + +#endif /* SVRAPI_INCLUDED */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/t2embapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/t2embapi.h new file mode 100644 index 0000000..38d6900 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/t2embapi.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) 2009 Andrew Nguyen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_T2EMBAPI_H +#define __WINE_T2EMBAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define CHARSET_UNICODE 1 +#define CHARSET_DEFAULT 1 +#define CHARSET_SYMBOL 2 +#define CHARSET_GLYPHIDX 3 + +#define LICENSE_INSTALLABLE 0x0000 +#define LICENSE_DEFAULT 0x0000 +#define LICENSE_NOEMBEDDING 0x0002 +#define LICENSE_PREVIEWPRINT 0x0004 +#define LICENSE_EDITABLE 0x0008 + +#define TTLOAD_PRIVATE 0x0001 + +/* Possible return values. */ +#define E_NONE __MSABI_LONG(0x0000) +#define E_API_NOTIMPL __MSABI_LONG(0x0001) +#define E_HDCINVALID __MSABI_LONG(0x0006) +#define E_NOFREEMEMORY __MSABI_LONG(0x0007) +#define E_NOTATRUETYPEFONT __MSABI_LONG(0x000a) +#define E_ERRORACCESSINGFONTDATA __MSABI_LONG(0x000c) +#define E_ERRORACCESSINGFACENAME __MSABI_LONG(0x000d) +#define E_FACENAMEINVALID __MSABI_LONG(0x0113) +#define E_PERMISSIONSINVALID __MSABI_LONG(0x0117) +#define E_PBENABLEDINVALID __MSABI_LONG(0x0118) + +typedef ULONG (WINAPIV * READEMBEDPROC)(void*,void*,ULONG); +typedef ULONG (WINAPIV * WRITEEMBEDPROC)(void*,void*,ULONG); + +typedef struct +{ + unsigned short usStructSize; + unsigned short usRefStrSize; + unsigned short *pusRefStr; +} TTLOADINFO; + +typedef struct +{ + unsigned short usStructSize; + unsigned short usRootStrSize; + unsigned short *pusRootStr; +} TTEMBEDINFO; + +LONG WINAPI TTLoadEmbeddedFont(HANDLE*,ULONG,ULONG*,ULONG,ULONG*,READEMBEDPROC, + LPVOID,LPWSTR,LPSTR,TTLOADINFO*); +LONG WINAPI TTDeleteEmbeddedFont(HANDLE,ULONG,ULONG*); + +/* embedding privileges */ +#define EMBED_PREVIEWPRINT 1 +#define EMBED_EDITABLE 2 +#define EMBED_INSTALLABLE 3 +#define EMBED_NOEMBEDDING 4 + +LONG WINAPI TTGetEmbeddingType(HDC, ULONG*); +LONG WINAPI TTIsEmbeddingEnabledForFacename(LPCSTR facename, BOOL *enabled); +LONG WINAPI TTIsEmbeddingEnabled(HDC hdc, BOOL *enabled); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tapi.h new file mode 100644 index 0000000..52ec619 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tapi.h @@ -0,0 +1,1073 @@ +/* + * TAPI definitions + * + * Copyright (c) 1999 Andreas Mohr + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_TAPI_H +#define __WINE_TAPI_H + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef HANDLE HCALL, *LPHCALL; +typedef HANDLE HLINE, *LPHLINE; +typedef HANDLE HLINEAPP, *LPHLINEAPP; +typedef HANDLE HPHONE, *LPHPHONE; +typedef HANDLE HPHONEAPP, *LPHPHONEAPP; + +#define TAPIERR_REQUESTFAILED __MSABI_LONG(-16) +#define LINEERR_ALLOCATED 0x80000001 +#define LINEERR_BADDEVICEID 0x80000002 +#define LINEERR_BEARERMODEUNAVAIL 0x80000003 +#define LINEERR_CALLUNAVAIL 0x80000005 +#define LINEERR_COMPLETIONOVERRUN 0x80000006 +#define LINEERR_CONFERENCEFULL 0x80000007 +#define LINEERR_DIALBILLING 0x80000008 +#define LINEERR_DIALDIALTONE 0x80000009 +#define LINEERR_DIALPROMPT 0x8000000A +#define LINEERR_DIALQUIET 0x8000000B +#define LINEERR_INCOMPATIBLEAPIVERSION 0x8000000C +#define LINEERR_INCOMPATIBLEEXTVERSION 0x8000000D +#define LINEERR_INIFILECORRUPT 0x8000000E +#define LINEERR_INUSE 0x8000000F +#define LINEERR_INVALADDRESS 0x80000010 +#define LINEERR_INVALADDRESSID 0x80000011 +#define LINEERR_INVALADDRESSMODE 0x80000012 +#define LINEERR_INVALADDRESSSTATE 0x80000013 +#define LINEERR_INVALAPPHANDLE 0x80000014 +#define LINEERR_INVALAPPNAME 0x80000015 +#define LINEERR_INVALBEARERMODE 0x80000016 +#define LINEERR_INVALCALLCOMPLMODE 0x80000017 +#define LINEERR_INVALCALLHANDLE 0x80000018 +#define LINEERR_INVALCALLPARAMS 0x80000019 +#define LINEERR_INVALCALLPRIVILEGE 0x8000001A +#define LINEERR_INVALCALLSELECT 0x8000001B +#define LINEERR_INVALCALLSTATE 0x8000001C +#define LINEERR_INVALCALLSTATELIST 0x8000001D +#define LINEERR_INVALCARD 0x8000001E +#define LINEERR_INVALCOMPLETIONID 0x8000001F +#define LINEERR_INVALCONFCALLHANDLE 0x80000020 +#define LINEERR_INVALCONSULTCALLHANDLE 0x80000021 +#define LINEERR_INVALCOUNTRYCODE 0x80000022 +#define LINEERR_INVALDEVICECLASS 0x80000023 +#define LINEERR_INVALDEVICEHANDLE 0x80000024 +#define LINEERR_INVALDIALPARAMS 0x80000025 +#define LINEERR_INVALDIGITLIST 0x80000026 +#define LINEERR_INVALDIGITMODE 0x80000027 +#define LINEERR_INVALDIGITS 0x80000028 +#define LINEERR_INVALEXTVERSION 0x80000029 +#define LINEERR_INVALGROUPID 0x8000002A +#define LINEERR_INVALLINEHANDLE 0x8000002B +#define LINEERR_INVALLINESTATE 0x8000002C +#define LINEERR_INVALLOCATION 0x8000002D +#define LINEERR_INVALMEDIALIST 0x8000002E +#define LINEERR_INVALMEDIAMODE 0x8000002F +#define LINEERR_INVALMESSAGEID 0x80000030 +#define LINEERR_INVALPARAM 0x80000032 +#define LINEERR_INVALPARKID 0x80000033 +#define LINEERR_INVALPARKMODE 0x80000034 +#define LINEERR_INVALPOINTER 0x80000035 +#define LINEERR_INVALPRIVSELECT 0x80000036 +#define LINEERR_INVALRATE 0x80000037 +#define LINEERR_INVALREQUESTMODE 0x80000038 +#define LINEERR_INVALTERMINALID 0x80000039 +#define LINEERR_INVALTERMINALMODE 0x8000003A +#define LINEERR_INVALTIMEOUT 0x8000003B +#define LINEERR_INVALTONE 0x8000003C +#define LINEERR_INVALTONELIST 0x8000003D +#define LINEERR_INVALTONEMODE 0x8000003E +#define LINEERR_INVALTRANSFERMODE 0x8000003F +#define LINEERR_LINEMAPPERFAILED 0x80000040 +#define LINEERR_NOCONFERENCE 0x80000041 +#define LINEERR_NODEVICE 0x80000042 +#define LINEERR_NODRIVER 0x80000043 +#define LINEERR_NOMEM 0x80000044 +#define LINEERR_NOREQUEST 0x80000045 +#define LINEERR_NOTOWNER 0x80000046 +#define LINEERR_NOTREGISTERED 0x80000047 +#define LINEERR_OPERATIONFAILED 0x80000048 +#define LINEERR_OPERATIONUNAVAIL 0x80000049 +#define LINEERR_RATEUNAVAIL 0x8000004A +#define LINEERR_RESOURCEUNAVAIL 0x8000004B +#define LINEERR_REQUESTOVERRUN 0x8000004C +#define LINEERR_STRUCTURETOOSMALL 0x8000004D +#define LINEERR_TARGETNOTFOUND 0x8000004E +#define LINEERR_TARGETSELF 0x8000004F +#define LINEERR_UNINITIALIZED 0x80000050 +#define LINEERR_USERUSERINFOTOOBIG 0x80000051 +#define LINEERR_REINIT 0x80000052 +#define LINEERR_ADDRESSBLOCKED 0x80000053 +#define LINEERR_BILLINGREJECTED 0x80000054 +#define LINEERR_INVALFEATURE 0x80000055 +#define LINEERR_NOMULTIPLEINSTANCE 0x80000056 + +#define STRINGFORMAT_ASCII 0x00000001 +#define STRINGFORMAT_DBCS 0x00000002 +#define STRINGFORMAT_UNICODE 0x00000003 +#define STRINGFORMAT_BINARY 0x00000004 + +#define LINEADDRESSMODE_ADDRESSID 0x00000001 +#define LINEADDRESSMODE_DIALABLEADDR 0x00000002 + +#define LINEBEARERMODE_VOICE 0x00000001 +#define LINEBEARERMODE_SPEECH 0x00000002 +#define LINEBEARERMODE_MULTIUSE 0x00000004 +#define LINEBEARERMODE_DATA 0x00000008 +#define LINEBEARERMODE_ALTSPEECHDATA 0x00000010 +#define LINEBEARERMODE_NONCALLSIGNALING 0x00000020 +#define LINEBEARERMODE_PASSTHROUGH 0x00000040 + +#define LINEMEDIAMODE_UNKNOWN 0x00000002 +#define LINEMEDIAMODE_INTERACTIVEVOICE 0x00000004 +#define LINEMEDIAMODE_AUTOMATEDVOICE 0x00000008 +#define LINEMEDIAMODE_DATAMODEM 0x00000010 + +#define LINEDEVCAPFLAGS_CROSSADDRCONF 0x00000001 +#define LINEDEVCAPFLAGS_HIGHLEVCOMP 0x00000002 +#define LINEDEVCAPFLAGS_LOWLEVCOMP 0x00000004 +#define LINEDEVCAPFLAGS_MEDIACONTROL 0x00000008 +#define LINEDEVCAPFLAGS_MULTIPLEADDR 0x00000010 +#define LINEDEVCAPFLAGS_CLOSEDROP 0x00000020 +#define LINEDEVCAPFLAGS_DIALBILLING 0x00000040 +#define LINEDEVCAPFLAGS_DIALQUIET 0x00000080 +#define LINEDEVCAPFLAGS_DIALDIALTONE 0x00000100 + +#define LINEDEVSTATE_OTHER 0x00000001 +#define LINEDEVSTATE_RINGING 0x00000002 +#define LINEDEVSTATE_CONNECTED 0x00000004 +#define LINEDEVSTATE_DISCONNECTED 0x00000008 +#define LINEDEVSTATE_MSGWAITON 0x00000010 +#define LINEDEVSTATE_MSGWAITOFF 0x00000020 +#define LINEDEVSTATE_INSERVICE 0x00000040 +#define LINEDEVSTATE_OUTOFSERVICE 0x00000080 +#define LINEDEVSTATE_MAINTENANCE 0x00000100 +#define LINEDEVSTATE_OPEN 0x00000200 +#define LINEDEVSTATE_CLOSE 0x00000400 +#define LINEDEVSTATE_NUMCALLS 0x00000800 +#define LINEDEVSTATE_NUMCOMPLETIONS 0x00001000 +#define LINEDEVSTATE_TERMINALS 0x00002000 +#define LINEDEVSTATE_ROAMMODE 0x00004000 +#define LINEDEVSTATE_BATTERY 0x00008000 +#define LINEDEVSTATE_SIGNAL 0x00010000 +#define LINEDEVSTATE_DEVSPECIFIC 0x00020000 +#define LINEDEVSTATE_REINIT 0x00040000 +#define LINEDEVSTATE_LOCK 0x00080000 + +#define LINEDEVSTATE_CAPSCHANGE 0x00100000 +#define LINEDEVSTATE_CONFIGCHANGE 0x00200000 +#define LINEDEVSTATE_TRANSLATECHANGE 0x00400000 +#define LINEDEVSTATE_COMPLCANCEL 0x00800000 +#define LINEDEVSTATE_REMOVED 0x01000000 + +#define LINELOCATIONOPTION_PULSEDIAL 0x00000001 + + +#define LINEFEATURE_DEVSPECIFIC 0x00000001 +#define LINEFEATURE_DEVSPECIFICFEAT 0x00000002 +#define LINEFEATURE_FORWARD 0x00000004 +#define LINEFEATURE_MAKECALL 0x00000008 +#define LINEFEATURE_SETMEDIACONTROL 0x00000010 +#define LINEFEATURE_SETTERMINAL 0x00000020 +#define LINEFEATURE_SETDEVSTATUS 0x00000040 +#define LINEFEATURE_FORWARDFWD 0x00000080 +#define LINEFEATURE_FORWARDDND 0x00000100 + +/* tapi callback messages */ + +#define LINE_ADDRESSSTATE __MSABI_LONG(0) +#define LINE_CALLINFO __MSABI_LONG(1) +#define LINE_CALLSTATE __MSABI_LONG(2) +#define LINE_CLOSE __MSABI_LONG(3) +#define LINE_DEVSPECIFIC __MSABI_LONG(4) +#define LINE_DEVSPECIFICFEATURE __MSABI_LONG(5) +#define LINE_GATHERDIGITS __MSABI_LONG(6) +#define LINE_GENERATE __MSABI_LONG(7) +#define LINE_LINEDEVSTATE __MSABI_LONG(8) +#define LINE_MONITORDIGITS __MSABI_LONG(9) +#define LINE_MONITORMEDIA __MSABI_LONG(10) +#define LINE_MONITORTONE __MSABI_LONG(11) +#define LINE_REPLY __MSABI_LONG(12) +#define LINE_REQUEST __MSABI_LONG(13) +#define PHONE_BUTTON __MSABI_LONG(14) +#define PHONE_CLOSE __MSABI_LONG(15) +#define PHONE_DEVSPECIFIC __MSABI_LONG(16) +#define PHONE_REPLY __MSABI_LONG(17) +#define PHONE_STATE __MSABI_LONG(18) +#define LINE_CREATE __MSABI_LONG(19) +#define PHONE_CREATE __MSABI_LONG(20) + +#define LINE_AGENTSPECIFIC __MSABI_LONG(21) +#define LINE_AGENTSTATUS __MSABI_LONG(22) +#define LINE_APPNEWCALL __MSABI_LONG(23) +#define LINE_PROXYREQUEST __MSABI_LONG(24) +#define LINE_REMOVE __MSABI_LONG(25) +#define PHONE_REMOVE __MSABI_LONG(26) +/* these are used as Param1 of line_callstate messages */ +#define LINECALLSTATE_IDLE 0x00000001 +#define LINECALLSTATE_OFFERING 0x00000002 +#define LINECALLSTATE_ACCEPTED 0x00000004 +#define LINECALLSTATE_DIALTONE 0x00000008 +#define LINECALLSTATE_DIALING 0x00000010 +#define LINECALLSTATE_RINGBACK 0x00000020 +#define LINECALLSTATE_BUSY 0x00000040 +#define LINECALLSTATE_SPECIALINFO 0x00000080 +#define LINECALLSTATE_CONNECTED 0x00000100 +#define LINECALLSTATE_PROCEEDING 0x00000200 +#define LINECALLSTATE_ONHOLD 0x00000400 +#define LINECALLSTATE_CONFERENCED 0x00000800 +#define LINECALLSTATE_ONHOLDPENDCONF 0x00001000 +#define LINECALLSTATE_ONHOLDPENDTRANSFER 0x00002000 +#define LINECALLSTATE_DISCONNECTED 0x00004000 +#define LINECALLSTATE_UNKNOWN 0x00008000 +#define LINECONNECTEDMODE_ACTIVE 0x00000001 +#define LINECONNECTEDMODE_INACTIVE 0x00000002 +#define LINECONNECTEDMODE_ACTIVEHELD 0x00000004 +#define LINECONNECTEDMODE_INACTIVEHELD 0x00000008 +#define LINECONNECTEDMODE_CONFIRMED 0x00000010 + +/* these are Param2 values for state_disconnected line_callstate messages */ +#define LINEDISCONNECTMODE_NORMAL 0x00000001 +#define LINEDISCONNECTMODE_UNKNOWN 0x00000002 +#define LINEDISCONNECTMODE_REJECT 0x00000004 +#define LINEDISCONNECTMODE_PICKUP 0x00000008 +#define LINEDISCONNECTMODE_FORWARDED 0x00000010 +#define LINEDISCONNECTMODE_BUSY 0x00000020 +#define LINEDISCONNECTMODE_NOANSWER 0x00000040 +#define LINEDISCONNECTMODE_BADADDRESS 0x00000080 +#define LINEDISCONNECTMODE_UNREACHABLE 0x00000100 +#define LINEDISCONNECTMODE_CONGESTION 0x00000200 +#define LINEDISCONNECTMODE_INCOMPATIBLE 0x00000400 +#define LINEDISCONNECTMODE_UNAVAIL 0x00000800 +#define LINEDISCONNECTMODE_NODIALTONE 0x00001000 +#define LINEDISCONNECTMODE_NUMBERCHANGED 0x00002000 +#define LINEDISCONNECTMODE_OUTOFORDER 0x00004000 +#define LINEDISCONNECTMODE_TEMPFAILURE 0x00008000 +#define LINEDISCONNECTMODE_QOSUNAVAIL 0x00010000 +#define LINEDISCONNECTMODE_BLOCKED 0x00020000 +#define LINEDISCONNECTMODE_DONOTDISTURB 0x00040000 +#define LINEDISCONNECTMODE_CANCELLED 0x00080000 + +#define LINECALLSELECT_LINE 0x00000001 +#define LINECALLSELECT_ADDRESS 0x00000002 +#define LINECALLSELECT_CALL 0x00000004 +#define LINECALLSELECT_DEVICEID 0x00000008 + +#define LINECALLPRIVILEGE_NONE 0x00000001 +#define LINECALLPRIVILEGE_MONITOR 0x00000002 +#define LINECALLPRIVILEGE_OWNER 0x00000004 +#define LINECALLFEATURE_ACCEPT 0x00000001 +#define LINECALLFEATURE_ADDTOCONF 0x00000002 +#define LINECALLFEATURE_ANSWER 0x00000004 +#define LINECALLFEATURE_BLINDTRANSFER 0x00000008 +#define LINECALLFEATURE_COMPLETECALL 0x00000010 +#define LINECALLFEATURE_COMPLETETRANSF 0x00000020 +#define LINECALLFEATURE_DIAL 0x00000040 +#define LINECALLFEATURE_DROP 0x00000080 +#define LINECALLFEATURE_GATHERDIGITS 0x00000100 +#define LINECALLFEATURE_GENERATEDIGITS 0x00000200 +#define LINECALLFEATURE_GENERATETONE 0x00000400 +#define LINECALLFEATURE_HOLD 0x00000800 +#define LINECALLFEATURE_MONITORDIGITS 0x00001000 +#define LINECALLFEATURE_MONITORMEDIA 0x00002000 +#define LINECALLFEATURE_MONITORTONES 0x00004000 +#define LINECALLFEATURE_PARK 0x00008000 +#define LINECALLFEATURE_PREPAREADDCONF 0x00010000 +#define LINECALLFEATURE_REDIRECT 0x00020000 +#define LINECALLFEATURE_REMOVEFROMCONF 0x00040000 +#define LINECALLFEATURE_SECURECALL 0x00080000 +#define LINECALLFEATURE_SENDUSERUSER 0x00100000 +#define LINECALLFEATURE_SETCALLPARAMS 0x00200000 +#define LINECALLFEATURE_SETMEDIACONTROL 0x00400000 +#define LINECALLFEATURE_SETTERMINAL 0x00800000 +#define LINECALLFEATURE_SETUPCONF 0x01000000 +#define LINECALLFEATURE_SETUPTRANSFER 0x02000000 +#define LINECALLFEATURE_SWAPHOLD 0x04000000 +#define LINECALLFEATURE_UNHOLD 0x08000000 +#define LINECALLFEATURE_RELEASEUSERUSERINFO 0x10000000 + +#define LINEINITIALIZEEXOPTION_USEHIDDENWINDOW 0x00000001 +#define LINEINITIALIZEEXOPTION_USEEVENT 0x00000002 +#define LINEINITIALIZEEXOPTION_USECOMPLETIONPORT 0x00000003 +#define LINEINITIALIZEEXOPTION_CALLHUBTRACKING 0x80000000 + +typedef struct lineaddresscaps_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwLineDeviceID; + DWORD dwAddressSize; + DWORD dwAddressOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; + DWORD dwAddressSharing; + DWORD dwAddressStates; + DWORD dwCallInfoStates; + DWORD dwCallerIDFlags; + DWORD dwCalledIDFlags; + DWORD dwConnectedIDFlags; + DWORD dwRedirectionIDFlags; + DWORD dwRedirectingIDFlags; + DWORD dwCallStates; + DWORD dwDialToneModes; + DWORD dwBusyModes; + DWORD dwSpecialInfo; + DWORD dwDisconnectModes; + DWORD dwMaxNumActiveCalls; + DWORD dwMaxNumOnHoldCalls; + DWORD dwMaxNumOnHoldPendingCalls; + DWORD dwMaxNumConference; + DWORD dwMaxNumTransConf; + DWORD dwAddrCapFlags; + DWORD dwCallFeatures; + DWORD dwRemoveFromConfCaps; + DWORD dwRemoveFromConfState; + DWORD dwTransferModes; + DWORD dwParkModes; + DWORD dwForwardModes; + DWORD dwMaxForwardEntries; + DWORD dwMaxSpecificEntries; + DWORD dwMinFwdNumRings; + DWORD dwMaxFwdNumRings; + DWORD dwMaxCallCompletions; + DWORD dwCallCompletionConds; + DWORD dwCallCompletionModes; + DWORD dwNumCompletionMessages; + DWORD dwCompletionMsgTextEntrySize; + DWORD dwCompletionMsgTextSize; + DWORD dwCompletionMsgTextOffset; + DWORD dwAddressFeatures; +} LINEADDRESSCAPS, *LPLINEADDRESSCAPS; + +typedef struct lineaddressstatus_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwNumInUse; + DWORD dwNumActiveCalls; + DWORD dwNumOnHoldCalls; + DWORD dwNumOnHoldPendCalls; + DWORD dwAddressFeatures; + DWORD dwNumRingsNoAnswer; + DWORD dwForwardNumEntries; + DWORD dwForwardSize; + DWORD dwForwardOffset; + DWORD dwTerminalModesSize; + DWORD dwTerminalModesOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} LINEADDRESSSTATUS, *LPLINEADDRESSSTATUS; + +typedef struct linedialparams_tag { + DWORD dwDialPause; + DWORD dwDialSpeed; + DWORD dwDigitDuration; + DWORD dwWaitForDialtone; +} LINEDIALPARAMS, *LPLINEDIALPARAMS; + +typedef struct linecallinfo_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + HLINE hLine; + DWORD dwLineDeviceID; + DWORD dwAddressID; + DWORD dwBearerMode; + DWORD dwRate; + DWORD dwMediaMode; + DWORD dwAppSpecific; + DWORD dwCallID; + DWORD dwRelatedCallID; + DWORD dwCallParamFlags; + DWORD dwCallStates; + DWORD dwMonitorDigitModes; + DWORD dwMonitorMediaModes; + LINEDIALPARAMS DialParams; + DWORD dwOrigin; + DWORD dwReason; + DWORD dwCompletionID; + DWORD dwNumOwners; + DWORD dwNumMonitors; + DWORD dwCountryCode; + DWORD dwTrunk; + DWORD dwCallerIDFlags; + DWORD dwCallerIDSize; + DWORD dwCallerIDOffset; + DWORD dwCallerIDNameSize; + DWORD dwCallerIDNameOffset; + DWORD dwCalledIDFlags; + DWORD dwCalledIDSize; + DWORD dwCalledIDOffset; + DWORD dwCalledIDNameSize; + DWORD dwCalledIDNameOffset; + DWORD dwConnectedIDFlags; + DWORD dwConnectedIDSize; + DWORD dwConnectedIDOffset; + DWORD dwConnectedIDNameSize; + DWORD dwConnectedIDNameOffset; + DWORD dwRedirectionIDFlags; + DWORD dwRedirectionIDSize; + DWORD dwRedirectionIDOffset; + DWORD dwRedirectionIDNameSize; + DWORD dwRedirectionIDNameOffset; + DWORD dwRedirectingIDFlags; + DWORD dwRedirectingIDSize; + DWORD dwRedirectingIDOffset; + DWORD dwRedirectingIDNameSize; + DWORD dwRedirectingIDNameOffset; + DWORD dwAppNameSize; + DWORD dwAppNameOffset; + DWORD dwDisplayableAddressSize; + DWORD dwDisplayableAddressOffset; + DWORD dwCalledPartySize; + DWORD dwCalledPartyOffset; + DWORD dwCommentSize; + DWORD dwCommentOffset; + DWORD dwDisplaySize; + DWORD dwDisplayOffset; + DWORD dwUserUserInfoSize; + DWORD dwUserUserInfoOffset; + DWORD dwHighLevelCompSize; + DWORD dwHighLevelCompOffset; + DWORD dwLowLevelCompSize; + DWORD dwLowLevelCompOffset; + DWORD dwChargingInfoSize; + DWORD dwChargingInfoOffset; + DWORD dwTerminalModesSize; + DWORD dwTerminalModesOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} LINECALLINFO, *LPLINECALLINFO; + +typedef struct linecalllist_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwCallsNumEntries; + DWORD dwCallsSize; + DWORD dwCallsOffset; +} LINECALLLIST, *LPLINECALLLIST; + +typedef struct linecallparams_tag { + DWORD dwTotalSize; + DWORD dwBearerMode; + DWORD dwMinRate; + DWORD dwMaxRate; + DWORD dwMediaMode; + DWORD dwCallParamFlags; + DWORD dwAddressMode; + DWORD dwAddressID; + LINEDIALPARAMS DialParams; + DWORD dwOrigAddressSize; + DWORD dwOrigAddressOffset; + DWORD dwDisplayableAddressSize; + DWORD dwDisplayableAddressOffset; + DWORD dwCalledPartySize; + DWORD dwCalledPartyOffset; + DWORD dwCommentSize; + DWORD dwCommentOffset; + DWORD dwUserUserInfoSize; + DWORD dwUserUserInfoOffset; + DWORD dwHighLevelCompSize; + DWORD dwHighLevelCompOffset; + DWORD dwLowLevelCompSize; + DWORD dwLowLevelCompOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} LINECALLPARAMS, *LPLINECALLPARAMS; + +typedef struct linecallstatus_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwCallState; + DWORD dwCallStateMode; + DWORD dwCallPrivilege; + DWORD dwCallFeatures; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} LINECALLSTATUS, *LPLINECALLSTATUS; + +typedef struct linecountrylist_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwNumCountries; + DWORD dwCountryListSize; + DWORD dwCountryListOffset; +} LINECOUNTRYLIST, *LPLINECOUNTRYLIST; + +typedef struct linecountryentry_tag { + DWORD dwCountryID; + DWORD dwCountryCode; + DWORD dwNextCountryID; + DWORD dwCountryNameSize; + DWORD dwCountryNameOffset; + DWORD dwSameAreaRuleSize; + DWORD dwSameAreaRuleOffset; + DWORD dwLongDistanceRuleSize; + DWORD dwLongDistanceRuleOffset; + DWORD dwInternationalRuleSize; + DWORD dwInternationalRuleOffset; +} LINECOUNTRYENTRY, *LPLINECOUNTRYENTRY; + +typedef struct linedevcaps_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwProviderInfoSize; + DWORD dwProviderInfoOffset; + DWORD dwSwitchInfoSize; + DWORD dwSwitchInfoOffset; + DWORD dwPermanentLineID; + DWORD dwLineNameSize; + DWORD dwLineNameOffset; + DWORD dwStringFormat; + DWORD dwAddressModes; + DWORD dwNumAddresses; + DWORD dwBearerModes; + DWORD dwMaxRate; + DWORD dwMediaModes; + DWORD dwGenerateToneModes; + DWORD dwGenerateToneMaxNumFreq; + DWORD dwGenerateDigitModes; + DWORD dwMonitorToneMaxNumFreq; + DWORD dwMonitorToneMaxNumEntries; + DWORD dwMonitorDigitModes; + DWORD dwGatherDigitsMinTimeout; + DWORD dwGatherDigitsMaxTimeout; + DWORD dwMedCtlDigitMaxListSize; + DWORD dwMedCtlMediaMaxListSize; + DWORD dwMedCtlToneMaxListSize; + DWORD dwMedCtlCallStateMaxListSize; + DWORD dwDevCapFlags; + DWORD dwMaxNumActiveCalls; + DWORD dwAnswerMode; + DWORD dwRingModes; + DWORD dwLineStates; + DWORD dwUUIAcceptSize; + DWORD dwUUIAnswerSize; + DWORD dwUUIMakeCallSize; + DWORD dwUUIDropSize; + DWORD dwUUISendUserUserInfoSize; + DWORD dwUUICallInfoSize; + LINEDIALPARAMS MinDialParams; + LINEDIALPARAMS MaxDialParams; + LINEDIALPARAMS DefaultDialParams; + DWORD dwNumTerminals; + DWORD dwTerminalCapsSize; + DWORD dwTerminalCapsOffset; + DWORD dwTerminalTextEntrySize; + DWORD dwTerminalTextSize; + DWORD dwTerminalTextOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; + DWORD dwLineFeatures; +} LINEDEVCAPS, *LPLINEDEVCAPS; + +typedef struct linedevstatus_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwNumOpens; + DWORD dwOpenMediaModes; + DWORD dwNumActiveCalls; + DWORD dwNumOnHoldCalls; + DWORD dwNumOnHoldPendCalls; + DWORD dwLineFeatures; + DWORD dwNumCallCompletions; + DWORD dwRingMode; + DWORD dwSignalLevel; + DWORD dwBatteryLevel; + DWORD dwRoamMode; + DWORD dwDevStatusFlags; + DWORD dwTerminalModesSize; + DWORD dwTerminalModesOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} LINEDEVSTATUS, *LPLINEDEVSTATUS; + +typedef struct lineextensionid_tag { + DWORD dwExtensionID0; + DWORD dwExtensionID1; + DWORD dwExtensionID2; + DWORD dwExtensionID3; +} LINEEXTENSIONID, *LPLINEEXTENSIONID; + +typedef struct lineforward_tag { + DWORD dwForwardMode; + DWORD dwCallerAddressSize; + DWORD dwCallerAddressOffset; + DWORD dwDestCountryCode; + DWORD dwDestAddressSize; + DWORD dwDestAddressOffset; +} LINEFORWARD, *LPLINEFORWARD; + +typedef struct lineforwardlist_tag { + DWORD dwTotalSize; + DWORD dwNumEntries; + LINEFORWARD ForwardList[1]; +} LINEFORWARDLIST, *LPLINEFORWARDLIST; + +typedef struct linegeneratetone_tag { + DWORD dwFrequency; + DWORD dwCadenceOn; + DWORD dwCadenceOff; + DWORD dwVolume; +} LINEGENERATETONE, *LPLINEGENERATETONE; + +typedef struct lineinitializeexparams_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwOptions; + union { + HANDLE hEvent; + HANDLE hCompletionPort; + } Handles; + DWORD dwCompletionKey; +} LINEINITIALIZEEXPARAMS, *LPLINEINITIALIZEEXPARAMS; + +typedef struct linemediacontrolcallstate_tag { + DWORD dwCallStates; + DWORD dwMediaControl; +} LINEMEDIACONTROLCALLSTATE, *LPLINEMEDIACONTROLCALLSTATE; + +typedef struct linemediacontroldigit_tag { + DWORD dwDigit; + DWORD dwDigitModes; + DWORD dwMediaControl; +} LINEMEDIACONTROLDIGIT, *LPLINEMEDIACONTROLDIGIT; + +typedef struct linemediacontrolmedia_tag { + DWORD dwMediaModes; + DWORD dwDuration; + DWORD dwMediaControl; +} LINEMEDIACONTROLMEDIA, *LPLINEMEDIACONTROLMEDIA; + +typedef struct linemediacontroltone_tag { + DWORD dwAppSpecific; + DWORD dwDuration; + DWORD dwFrequency1; + DWORD dwFrequency2; + DWORD dwFrequency3; + DWORD dwMediaControl; +} LINEMEDIACONTROLTONE, *LPLINEMEDIACONTROLTONE; + +typedef struct linemonitortone_tag { + DWORD dwAppSpecific; + DWORD dwDuration; + DWORD dwFrequency1; + DWORD dwFrequency2; + DWORD dwFrequency3; +} LINEMONITORTONE, *LPLINEMONITORTONE; + +typedef struct lineproviderlist_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwNumProviders; + DWORD dwProviderListSize; + DWORD dwProviderListOffset; +} LINEPROVIDERLIST, *LPLINEPROVIDERLIST; + +typedef struct linetranslatecaps_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwNumLocations; + DWORD dwLocationListSize; + DWORD dwLocationListOffset; + DWORD dwCurrentLocationID; + DWORD dwNumCards; + DWORD dwCardListSize; + DWORD dwCardListOffset; + DWORD dwCurrentPreferredCardID; +} LINETRANSLATECAPS, *LPLINETRANSLATECAPS; + +typedef struct linelocationentry_tag { + DWORD dwPermanentLocationID; + DWORD dwLocationNameSize; + DWORD dwLocationNameOffset; + DWORD dwCountryCode; + DWORD dwCityCodeSize; + DWORD dwCityCodeOffset; + DWORD dwPreferredCardID; + DWORD dwLocalAccessCodeSize; + DWORD dwLocalAccessCodeOffset; + DWORD dwLongDistanceAccessCodeSize; + DWORD dwLongDistanceAccessCodeOffset; + DWORD dwTollPrefixListSize; + DWORD dwTollPrefixListOffset; + DWORD dwCountryID; + DWORD dwOptions; + DWORD dwCancelCallWaitingSize; + DWORD dwCancelCallWaitingOffset; +} LINELOCATIONENTRY, *LPLINELOCATIONENTRY; + +typedef struct linecardentry_tag { + DWORD dwPermanentCardID; + DWORD dwCardNameSize; + DWORD dwCardNameOffset; + DWORD dwCardNumberDigits; + DWORD dwSameAreaRuleSize; + DWORD dwSameAreaRuleOffset; + DWORD dwLongDistanceRuleSize; + DWORD dwLongDistanceRuleOffset; + DWORD dwInternationalRuleSize; + DWORD dwInternationalRuleOffset; + DWORD dwOptions; +} LINECARDENTRY, *LPLINECARDENTRY; + + +typedef struct linetranslateoutput_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwDialableStringSize; + DWORD dwDialableStringOffset; + DWORD dwDisplayableStringSize; + DWORD dwDisplayableStringOffset; + DWORD dwCurrentCountry; + DWORD dwDestCountry; + DWORD dwTranslateResults; +} LINETRANSLATEOUTPUT, *LPLINETRANSLATEOUTPUT; + +typedef struct linemessage_tag { + DWORD hDevice; + DWORD dwMessageID; + DWORD_PTR dwCallbackInstance; + DWORD_PTR dwParam1; + DWORD_PTR dwParam2; + DWORD_PTR dwParam3; +} LINEMESSAGE, *LPLINEMESSAGE; + +typedef void (CALLBACK *LINECALLBACK)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD); + +typedef struct _PHONEAPP { + int dummy; +} PHONEAPP, *LPPHONEAPP; + +typedef struct _PHONE { + DWORD dwRingMode; + DWORD dwVolume; +} PHONE, *LPPHONE; + +typedef struct phonebuttoninfo_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwButtonMode; + DWORD dwButtonFunction; + DWORD dwButtonTextSize; + DWORD dwButtonTextOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; + DWORD dwButtonState; +} PHONEBUTTONINFO, *LPPHONEBUTTONINFO; + +typedef struct phonecaps_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwProviderInfoSize; + DWORD dwProviderInfoOffset; + DWORD dwPhoneInfoSize; + DWORD dwPhoneInfoOffset; + DWORD dwPermanentPhoneID; + DWORD dwPhoneNameSize; + DWORD dwPhoneNameOffset; + DWORD dwStringFormat; + DWORD dwPhoneStates; + DWORD dwHookSwitchDevs; + DWORD dwHandsetHookSwitchModes; + DWORD dwSpeakerHookSwitchModes; + DWORD dwHeadsetHookSwitchModes; + DWORD dwVolumeFlags; + DWORD dwGainFlags; + DWORD dwDisplayNumRows; + DWORD dwDisplayNumColumns; + DWORD dwNumRingModes; + DWORD dwNumButtonLamps; + DWORD dwButtonModesSize; + DWORD dwButtonModesOffset; + DWORD dwButtonFunctionsSize; + DWORD dwButtonFunctionsOffset; + DWORD dwLampModesSize; + DWORD dwLampModesOffset; + DWORD dwNumSetData; + DWORD dwSetDataSize; + DWORD dwSetDataOffset; + DWORD dwNumGetData; + DWORD dwGetDataSize; + DWORD dwGetDataOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} PHONECAPS, *LPPHONECAPS; + +typedef struct phoneextensionid_tag { + DWORD dwExtensionID0; + DWORD dwExtensionID1; + DWORD dwExtensionID2; + DWORD dwExtensionID3; +} PHONEEXTENSIONID, *LPPHONEEXTENSIONID; + +typedef struct phoneinitializeexparams_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwOptions; + union { + HANDLE hEvent; + HANDLE hCompletionPort; + } Handles; + DWORD dwCompletionKey; +} PHONEINITIALIZEEXPARAMS, *LPPHONEINITIALIZEEXPARAMS; + +typedef struct phonemessage_tag { + DWORD hDevice; + DWORD dwMessageID; + DWORD_PTR dwCallbackInstance; + DWORD_PTR dwParam1; + DWORD_PTR dwParam2; + DWORD_PTR dwParam3; +} PHONEMESSAGE, *LPPHONEMESSAGE; + +typedef struct phonestatus_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwStatusFlags; + DWORD dwNumOwners; + DWORD dwRingMOde; + DWORD dwRingVolume; + DWORD dwHandsetHookSwitchMode; + DWORD dwHandsetVolume; + DWORD dwHandsetGain; + DWORD dwSpeakerHookSwitchMode; + DWORD dwSpeakerVolume; + DWORD dwSpeakerGain; + DWORD dwHeadsetHookSwitchMode; + DWORD dwHeadsetVolume; + DWORD dwHeadsetGain; + DWORD dwDisplaySize; + DWORD dwDisplayOffset; + DWORD dwLampModesSize; + DWORD dwLampModesOffset; + DWORD dwOwnerNameSize; + DWORD dwOwnerNameOffset; + DWORD dwDevSpecificSize; + DWORD dwDevSpecificOffset; +} PHONESTATUS, *LPPHONESTATUS; + +typedef void (CALLBACK *PHONECALLBACK)(HANDLE, DWORD, DWORD, DWORD, DWORD, DWORD); + +typedef struct varstring_tag { + DWORD dwTotalSize; + DWORD dwNeededSize; + DWORD dwUsedSize; + DWORD dwStringFormat; + DWORD dwStringSize; + DWORD dwStringOffset; +} VARSTRING, *LPVARSTRING; + +/* line functions */ +DWORD WINAPI lineAccept(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineAddProviderA(LPCSTR,HWND,LPDWORD); +DWORD WINAPI lineAddProviderW(LPCWSTR,HWND,LPDWORD); +#define lineAddProvider WINELIB_NAME_AW(lineAddProvider) +DWORD WINAPI lineAddToConference(HCALL,HCALL); +DWORD WINAPI lineAnswer(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineBlindTransfer(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineClose(HLINE); +DWORD WINAPI lineCompleteCall(HCALL,LPDWORD,DWORD,DWORD); +DWORD WINAPI lineCompleteTransfer(HCALL,HCALL,LPHCALL,DWORD); +DWORD WINAPI lineConfigDialog(DWORD,HWND,LPCSTR); +DWORD WINAPI lineConfigDialogEdit(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING); +DWORD WINAPI lineConfigProvider(HWND,DWORD); +DWORD WINAPI lineDeallocateCall(HCALL); +DWORD WINAPI lineDevSpecific(HLINE,DWORD,HCALL,LPVOID,DWORD); +DWORD WINAPI lineDevSpecificFeature(HLINE,DWORD,LPVOID,DWORD); +DWORD WINAPI lineDial(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineDrop(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineForward(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineGatherDigits(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD); +DWORD WINAPI lineGenerateDigits(HCALL,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGenerateTone(HCALL,DWORD,DWORD,DWORD,LPLINEGENERATETONE); +DWORD WINAPI lineGetAddressCaps(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS); +DWORD WINAPI lineGetAddressID(HLINE,LPDWORD,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGetAddressStatus(HLINE,DWORD,LPLINEADDRESSSTATUS); +DWORD WINAPI lineGetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD); +DWORD WINAPI lineGetCallInfo(HCALL,LPLINECALLINFO); +DWORD WINAPI lineGetCallStatus(HCALL,LPLINECALLSTATUS); +DWORD WINAPI lineGetConfRelatedCalls(HCALL,LPLINECALLLIST); +DWORD WINAPI lineGetCountry(DWORD,DWORD,LPLINECOUNTRYLIST); +DWORD WINAPI lineGetDevCapsA(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS); +DWORD WINAPI lineGetDevCapsW(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS); +#define lineGetDevCaps WINELIB_NAME_AW(lineGetDevCaps) +DWORD WINAPI lineGetDevConfig(DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetIDA(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetIDW(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCWSTR); +#define lineGetID WINELIB_NAME_AW(lineGetID) +DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *); +DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS); +DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST); +DWORD WINAPI lineGetNumRings(HLINE,DWORD,LPDWORD); +DWORD WINAPI lineGetProviderListA(DWORD,LPLINEPROVIDERLIST); +DWORD WINAPI lineGetProviderListW(DWORD,LPLINEPROVIDERLIST); +#define lineGetProviderList WINELIB_NAME_AW(lineGetProviderList) +DWORD WINAPI lineGetRequest(HLINEAPP,DWORD,LPVOID); +DWORD WINAPI lineGetStatusMessages(HLINE,LPDWORD,LPDWORD); +DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS); +DWORD WINAPI lineHandoff(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineHold(HCALL); +DWORD WINAPI lineInitialize(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD); +LONG WINAPI lineInitializeExA(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS); +LONG WINAPI lineInitializeExW(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCWSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS); +#define lineInitializeEx WINELIB_NAME_AW(lineInitializeEx) +DWORD WINAPI lineMakeCallA(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineMakeCallW(HLINE,LPHCALL,LPCWSTR,DWORD,LPLINECALLPARAMS); +#define lineMakeCall WINELIB_NAME_AW(lineMakeCall) +DWORD WINAPI lineMonitorDigits(HCALL,DWORD); +DWORD WINAPI lineMonitorMedia(HCALL,DWORD); +DWORD WINAPI lineMonitorTones(HCALL,LPLINEMONITORTONE,DWORD); +DWORD WINAPI lineNegotiateAPIVersion(HLINEAPP,DWORD,DWORD,DWORD,LPDWORD,LPLINEEXTENSIONID); +DWORD WINAPI lineNegotiateExtVersion(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD); +DWORD WINAPI lineOpen(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS); +DWORD WINAPI linePark(HCALL,DWORD,LPCSTR,LPVARSTRING); +DWORD WINAPI linePickup(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR); +DWORD WINAPI linePrepareAddToConference(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineRedirect(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP,DWORD,DWORD,DWORD); +DWORD WINAPI lineReleaseUserUserInfo(HCALL); +DWORD WINAPI lineRemoveFromConference(HCALL); +DWORD WINAPI lineRemoveProvider(DWORD,HWND); +DWORD WINAPI lineSecureCall(HCALL); +DWORD WINAPI lineSendUserUserInfo(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineSetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetAppSpecific(HCALL,DWORD); +DWORD WINAPI lineSetCallParams(HCALL,DWORD,DWORD,DWORD,LPLINEDIALPARAMS); +DWORD WINAPI lineSetCallPrivilege(HCALL,DWORD); +DWORD WINAPI lineSetCurrentLocation(HLINEAPP,DWORD); +DWORD WINAPI lineSetDevConfig(DWORD,LPVOID,DWORD,LPCSTR); +DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT,DWORD,LPLINEMEDIACONTROLMEDIA,DWORD,LPLINEMEDIACONTROLTONE,DWORD,LPLINEMEDIACONTROLCALLSTATE,DWORD); +DWORD WINAPI lineSetMediaMode(HCALL,DWORD); +DWORD WINAPI lineSetNumRings(HLINE,DWORD,DWORD); +DWORD WINAPI lineSetStatusMessages(HLINE,DWORD,DWORD); +DWORD WINAPI lineSetTerminal(HLINE,DWORD,HCALL,DWORD,DWORD,DWORD,DWORD); +DWORD WINAPI lineSetTollList(HLINEAPP,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetupConference(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineSetupTransfer(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineShutdown(HLINEAPP); +DWORD WINAPI lineSwapHold(HCALL,HCALL); +DWORD WINAPI lineTranslateAddress(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT); +DWORD WINAPI lineTranslateDialog(HLINEAPP,DWORD,DWORD,HWND,LPCSTR); +DWORD WINAPI lineUncompleteCall(HLINE,DWORD); +DWORD WINAPI lineUnHold(HCALL); +DWORD WINAPI lineUnpark(HLINE,DWORD,LPHCALL,LPCSTR); + +DWORD WINAPI lineBlindTransferA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineConfigDialogA(DWORD,HWND,LPCSTR); +DWORD WINAPI lineConfigDialogEditA(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING); +DWORD WINAPI lineDialA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineForwardA(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineGatherDigitsA(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD); +DWORD WINAPI lineGenerateDigitsA(HCALL,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGetAddressCapsA(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS); +DWORD WINAPI lineGetAddressIDA(HLINE,LPDWORD,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGetAddressStatusA(HLINE,DWORD,LPLINEADDRESSSTATUS); +DWORD WINAPI lineGetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD); +DWORD WINAPI lineGetCallInfoA(HCALL,LPLINECALLINFO); +DWORD WINAPI lineGetCountryA(DWORD,DWORD,LPLINECOUNTRYLIST); +DWORD WINAPI lineGetDevConfigA(DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetIconA(DWORD,LPCSTR,HICON *); +DWORD WINAPI lineGetLineDevStatusA(HLINE,LPLINEDEVSTATUS); +DWORD WINAPI lineGetRequestA(HLINEAPP,DWORD,LPVOID); +DWORD WINAPI lineGetTranslateCapsA(HLINEAPP,DWORD,LPLINETRANSLATECAPS); +DWORD WINAPI lineHandoffA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineOpenA(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineParkA(HCALL,DWORD,LPCSTR,LPVARSTRING); +DWORD WINAPI linePickupA(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR); +DWORD WINAPI linePrepareAddToConferenceA(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineRedirectA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineSetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetDevConfigA(DWORD,LPVOID,DWORD,LPCSTR); +DWORD WINAPI lineSetTollListA(HLINEAPP,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetupConferenceA(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineSetupTransferA(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineTranslateAddressA(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT); +DWORD WINAPI lineTranslateDialogA(HLINEAPP,DWORD,DWORD,HWND,LPCSTR); +DWORD WINAPI lineUnhold(HCALL); +DWORD WINAPI lineUnparkA(HLINE,DWORD,LPHCALL,LPCSTR); + +/* phone functions */ +DWORD WINAPI phoneClose(HPHONE); +DWORD WINAPI phoneConfigDialog(DWORD,HWND,LPCSTR); +DWORD WINAPI phoneDevSpecific(HPHONE,LPVOID,DWORD); +DWORD WINAPI phoneGetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO); +DWORD WINAPI phoneGetData(HPHONE,DWORD,LPVOID,DWORD); +DWORD WINAPI phoneGetDevCaps(HPHONEAPP,DWORD,DWORD,DWORD,LPPHONECAPS); +DWORD WINAPI phoneGetDisplay(HPHONE,LPVARSTRING); +DWORD WINAPI phoneGetGain(HPHONE,DWORD,LPDWORD); +DWORD WINAPI phoneGetHookSwitch(HPHONE,LPDWORD); +DWORD WINAPI phoneGetID(HPHONE,LPVARSTRING,LPCSTR); +DWORD WINAPI phoneGetIcon(DWORD,LPCSTR,HICON *); +DWORD WINAPI phoneGetLamp(HPHONE,DWORD,LPDWORD); +DWORD WINAPI phoneGetRing(HPHONE,LPDWORD,LPDWORD); +DWORD WINAPI phoneGetStatus(HPHONE,LPPHONESTATUS); +DWORD WINAPI phoneGetStatusMessages(HPHONE,LPDWORD,LPDWORD,LPDWORD); +DWORD WINAPI phoneGetVolume(HPHONE,DWORD,LPDWORD); +DWORD WINAPI phoneInitialize(LPHPHONEAPP,HINSTANCE,PHONECALLBACK,LPCSTR,LPDWORD); +DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP,DWORD,DWORD,DWORD,LPDWORD,LPPHONEEXTENSIONID); +DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD); +DWORD WINAPI phoneOpen(HPHONEAPP,DWORD,LPHPHONE,DWORD,DWORD,DWORD,DWORD); +DWORD WINAPI phoneSetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO); +DWORD WINAPI phoneSetData(HPHONE,DWORD,LPVOID,DWORD); +DWORD WINAPI phoneSetDisplay(HPHONE,DWORD,DWORD,LPCSTR,DWORD); +DWORD WINAPI phoneSetGain(HPHONE,DWORD,DWORD); +DWORD WINAPI phoneSetHookSwitch(HPHONE,DWORD,DWORD); +DWORD WINAPI phoneSetLamp(HPHONE,DWORD,DWORD); +DWORD WINAPI phoneSetRing(HPHONE,DWORD,DWORD); +DWORD WINAPI phoneSetStatusMessages(HPHONE,DWORD,DWORD,DWORD); +DWORD WINAPI phoneSetVolume(HPHONE,DWORD,DWORD); +DWORD WINAPI phoneShutdown(HPHONEAPP); + +DWORD WINAPI phoneConfigDialogA(DWORD,HWND,LPCSTR); +DWORD WINAPI phoneGetButtonInfoA(HPHONE,DWORD,LPPHONEBUTTONINFO); +DWORD WINAPI phoneGetDevCapsA(HPHONEAPP,DWORD,DWORD,DWORD,LPPHONECAPS); +DWORD WINAPI phoneGetIDA(HPHONE,LPVARSTRING,LPCSTR); +DWORD WINAPI phoneGetIconA(DWORD,LPCSTR,HICON *); +DWORD WINAPI phoneGetStatusA(HPHONE,LPPHONESTATUS); +DWORD WINAPI phoneSetButtonInfoA(HPHONE,DWORD,LPPHONEBUTTONINFO); + +/* "assisted" functions */ +DWORD WINAPI tapiGetLocationInfo(LPSTR,LPSTR); +DWORD WINAPI tapiRequestMakeCall(LPCSTR,LPCSTR,LPCSTR,LPCSTR); + +DWORD WINAPI tapiGetLocationInfoA(LPSTR,LPSTR); +DWORD WINAPI tapiRequestMakeCallA(LPCSTR,LPCSTR,LPCSTR,LPCSTR); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_TAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/taskschd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/taskschd.h new file mode 100644 index 0000000..8edd736 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/taskschd.h @@ -0,0 +1,5422 @@ +/*** Autogenerated by WIDL 2.18 from taskschd.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __taskschd_h__ +#define __taskschd_h__ + +/* Forward declarations */ + +#ifndef __ITaskService_FWD_DEFINED__ +#define __ITaskService_FWD_DEFINED__ +typedef interface ITaskService ITaskService; +#ifdef __cplusplus +interface ITaskService; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegisteredTask_FWD_DEFINED__ +#define __IRegisteredTask_FWD_DEFINED__ +typedef interface IRegisteredTask IRegisteredTask; +#ifdef __cplusplus +interface IRegisteredTask; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegisteredTaskCollection_FWD_DEFINED__ +#define __IRegisteredTaskCollection_FWD_DEFINED__ +typedef interface IRegisteredTaskCollection IRegisteredTaskCollection; +#ifdef __cplusplus +interface IRegisteredTaskCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegistrationInfo_FWD_DEFINED__ +#define __IRegistrationInfo_FWD_DEFINED__ +typedef interface IRegistrationInfo IRegistrationInfo; +#ifdef __cplusplus +interface IRegistrationInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskFolder_FWD_DEFINED__ +#define __ITaskFolder_FWD_DEFINED__ +typedef interface ITaskFolder ITaskFolder; +#ifdef __cplusplus +interface ITaskFolder; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskFolderCollection_FWD_DEFINED__ +#define __ITaskFolderCollection_FWD_DEFINED__ +typedef interface ITaskFolderCollection ITaskFolderCollection; +#ifdef __cplusplus +interface ITaskFolderCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskDefinition_FWD_DEFINED__ +#define __ITaskDefinition_FWD_DEFINED__ +typedef interface ITaskDefinition ITaskDefinition; +#ifdef __cplusplus +interface ITaskDefinition; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskSettings_FWD_DEFINED__ +#define __ITaskSettings_FWD_DEFINED__ +typedef interface ITaskSettings ITaskSettings; +#ifdef __cplusplus +interface ITaskSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IIdleSettings_FWD_DEFINED__ +#define __IIdleSettings_FWD_DEFINED__ +typedef interface IIdleSettings IIdleSettings; +#ifdef __cplusplus +interface IIdleSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunningTask_FWD_DEFINED__ +#define __IRunningTask_FWD_DEFINED__ +typedef interface IRunningTask IRunningTask; +#ifdef __cplusplus +interface IRunningTask; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunningTaskCollection_FWD_DEFINED__ +#define __IRunningTaskCollection_FWD_DEFINED__ +typedef interface IRunningTaskCollection IRunningTaskCollection; +#ifdef __cplusplus +interface IRunningTaskCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITrigger_FWD_DEFINED__ +#define __ITrigger_FWD_DEFINED__ +typedef interface ITrigger ITrigger; +#ifdef __cplusplus +interface ITrigger; +#endif /* __cplusplus */ +#endif + +#ifndef __IDailyTrigger_FWD_DEFINED__ +#define __IDailyTrigger_FWD_DEFINED__ +typedef interface IDailyTrigger IDailyTrigger; +#ifdef __cplusplus +interface IDailyTrigger; +#endif /* __cplusplus */ +#endif + +#ifndef __ITriggerCollection_FWD_DEFINED__ +#define __ITriggerCollection_FWD_DEFINED__ +typedef interface ITriggerCollection ITriggerCollection; +#ifdef __cplusplus +interface ITriggerCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITimeTrigger_FWD_DEFINED__ +#define __ITimeTrigger_FWD_DEFINED__ +typedef interface ITimeTrigger ITimeTrigger; +#ifdef __cplusplus +interface ITimeTrigger; +#endif /* __cplusplus */ +#endif + +#ifndef __IRepetitionPattern_FWD_DEFINED__ +#define __IRepetitionPattern_FWD_DEFINED__ +typedef interface IRepetitionPattern IRepetitionPattern; +#ifdef __cplusplus +interface IRepetitionPattern; +#endif /* __cplusplus */ +#endif + +#ifndef __IAction_FWD_DEFINED__ +#define __IAction_FWD_DEFINED__ +typedef interface IAction IAction; +#ifdef __cplusplus +interface IAction; +#endif /* __cplusplus */ +#endif + +#ifndef __IActionCollection_FWD_DEFINED__ +#define __IActionCollection_FWD_DEFINED__ +typedef interface IActionCollection IActionCollection; +#ifdef __cplusplus +interface IActionCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IExecAction_FWD_DEFINED__ +#define __IExecAction_FWD_DEFINED__ +typedef interface IExecAction IExecAction; +#ifdef __cplusplus +interface IExecAction; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkSettings_FWD_DEFINED__ +#define __INetworkSettings_FWD_DEFINED__ +typedef interface INetworkSettings INetworkSettings; +#ifdef __cplusplus +interface INetworkSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrincipal_FWD_DEFINED__ +#define __IPrincipal_FWD_DEFINED__ +typedef interface IPrincipal IPrincipal; +#ifdef __cplusplus +interface IPrincipal; +#endif /* __cplusplus */ +#endif + +#ifndef __TaskScheduler_FWD_DEFINED__ +#define __TaskScheduler_FWD_DEFINED__ +#ifdef __cplusplus +typedef class TaskScheduler TaskScheduler; +#else +typedef struct TaskScheduler TaskScheduler; +#endif /* defined __cplusplus */ +#endif /* defined __TaskScheduler_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_TaskScheduler, 0xe34cb9f1, 0xc7f7, 0x424c, 0xbe,0x29, 0x02,0x7d,0xcc,0x09,0x36,0x3a); + +typedef enum _TASK_STATE { + TASK_STATE_UNKNOWN = 0, + TASK_STATE_DISABLED = 1, + TASK_STATE_QUEUED = 2, + TASK_STATE_READY = 3, + TASK_STATE_RUNNING = 4 +} TASK_STATE; +typedef enum _TASK_ENUM_FLAGS { + TASK_ENUM_HIDDEN = 0x1 +} TASK_ENUM_FLAGS; +typedef enum _TASK_LOGON_TYPE { + TASK_LOGON_NONE = 0, + TASK_LOGON_PASSWORD = 1, + TASK_LOGON_S4U = 2, + TASK_LOGON_INTERACTIVE_TOKEN = 3, + TASK_LOGON_GROUP = 4, + TASK_LOGON_SERVICE_ACCOUNT = 5, + TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD = 6 +} TASK_LOGON_TYPE; +typedef enum _TASK_RUNLEVEL { + TASK_RUNLEVEL_LUA = 0, + TASK_RUNLEVEL_HIGHEST = 1 +} TASK_RUNLEVEL_TYPE; +typedef enum _TASK_TRIGGER_TYPE2 { + TASK_TRIGGER_EVENT = 0, + TASK_TRIGGER_TIME = 1, + TASK_TRIGGER_DAILY = 2, + TASK_TRIGGER_WEEKLY = 3, + TASK_TRIGGER_MONTHLY = 4, + TASK_TRIGGER_MONTHLYDOW = 5, + TASK_TRIGGER_IDLE = 6, + TASK_TRIGGER_REGISTRATION = 7, + TASK_TRIGGER_BOOT = 8, + TASK_TRIGGER_LOGON = 9, + TASK_TRIGGER_SESSION_STATE_CHANGE = 11 +} TASK_TRIGGER_TYPE2; +typedef enum _TASK_ACTION_TYPE { + TASK_ACTION_EXEC = 0, + TASK_ACTION_COM_HANDLER = 5, + TASK_ACTION_SEND_EMAIL = 6, + TASK_ACTION_SHOW_MESSAGE = 7 +} TASK_ACTION_TYPE; +typedef enum _TASK_INSTANCES_POLICY { + TASK_INSTANCES_PARALLEL = 0, + TASK_INSTANCES_QUEUE = 1, + TASK_INSTANCES_IGNORE_NEW = 2, + TASK_INSTANCES_STOP_EXISTING = 3 +} TASK_INSTANCES_POLICY; +typedef enum _TASK_COMPATIBILITY { + TASK_COMPATIBILITY_AT = 0, + TASK_COMPATIBILITY_V1 = 1, + TASK_COMPATIBILITY_V2 = 2, + TASK_COMPATIBILITY_V2_1 = 3 +} TASK_COMPATIBILITY; +typedef enum _TASK_CREATION { + TASK_VALIDATE_ONLY = 1, + TASK_CREATE = 2, + TASK_UPDATE = 4, + TASK_CREATE_OR_UPDATE = 6, + TASK_DISABLE = 8, + TASK_DONT_ADD_PRINCIPAL_ACE = 16, + TASK_IGNORE_REGISTRATION_TRIGGERS = 32 +} TASK_CREATION; +#ifndef __ITaskService_FWD_DEFINED__ +#define __ITaskService_FWD_DEFINED__ +typedef interface ITaskService ITaskService; +#ifdef __cplusplus +interface ITaskService; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegisteredTask_FWD_DEFINED__ +#define __IRegisteredTask_FWD_DEFINED__ +typedef interface IRegisteredTask IRegisteredTask; +#ifdef __cplusplus +interface IRegisteredTask; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegisteredTaskCollection_FWD_DEFINED__ +#define __IRegisteredTaskCollection_FWD_DEFINED__ +typedef interface IRegisteredTaskCollection IRegisteredTaskCollection; +#ifdef __cplusplus +interface IRegisteredTaskCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IRegistrationInfo_FWD_DEFINED__ +#define __IRegistrationInfo_FWD_DEFINED__ +typedef interface IRegistrationInfo IRegistrationInfo; +#ifdef __cplusplus +interface IRegistrationInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskFolder_FWD_DEFINED__ +#define __ITaskFolder_FWD_DEFINED__ +typedef interface ITaskFolder ITaskFolder; +#ifdef __cplusplus +interface ITaskFolder; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskFolderCollection_FWD_DEFINED__ +#define __ITaskFolderCollection_FWD_DEFINED__ +typedef interface ITaskFolderCollection ITaskFolderCollection; +#ifdef __cplusplus +interface ITaskFolderCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskDefinition_FWD_DEFINED__ +#define __ITaskDefinition_FWD_DEFINED__ +typedef interface ITaskDefinition ITaskDefinition; +#ifdef __cplusplus +interface ITaskDefinition; +#endif /* __cplusplus */ +#endif + +#ifndef __ITaskSettings_FWD_DEFINED__ +#define __ITaskSettings_FWD_DEFINED__ +typedef interface ITaskSettings ITaskSettings; +#ifdef __cplusplus +interface ITaskSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IIdleSettings_FWD_DEFINED__ +#define __IIdleSettings_FWD_DEFINED__ +typedef interface IIdleSettings IIdleSettings; +#ifdef __cplusplus +interface IIdleSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunningTask_FWD_DEFINED__ +#define __IRunningTask_FWD_DEFINED__ +typedef interface IRunningTask IRunningTask; +#ifdef __cplusplus +interface IRunningTask; +#endif /* __cplusplus */ +#endif + +#ifndef __IRunningTaskCollection_FWD_DEFINED__ +#define __IRunningTaskCollection_FWD_DEFINED__ +typedef interface IRunningTaskCollection IRunningTaskCollection; +#ifdef __cplusplus +interface IRunningTaskCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITrigger_FWD_DEFINED__ +#define __ITrigger_FWD_DEFINED__ +typedef interface ITrigger ITrigger; +#ifdef __cplusplus +interface ITrigger; +#endif /* __cplusplus */ +#endif + +#ifndef __ITriggerCollection_FWD_DEFINED__ +#define __ITriggerCollection_FWD_DEFINED__ +typedef interface ITriggerCollection ITriggerCollection; +#ifdef __cplusplus +interface ITriggerCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITimeTrigger_FWD_DEFINED__ +#define __ITimeTrigger_FWD_DEFINED__ +typedef interface ITimeTrigger ITimeTrigger; +#ifdef __cplusplus +interface ITimeTrigger; +#endif /* __cplusplus */ +#endif + +#ifndef __IRepetitionPattern_FWD_DEFINED__ +#define __IRepetitionPattern_FWD_DEFINED__ +typedef interface IRepetitionPattern IRepetitionPattern; +#ifdef __cplusplus +interface IRepetitionPattern; +#endif /* __cplusplus */ +#endif + +#ifndef __IAction_FWD_DEFINED__ +#define __IAction_FWD_DEFINED__ +typedef interface IAction IAction; +#ifdef __cplusplus +interface IAction; +#endif /* __cplusplus */ +#endif + +#ifndef __IActionCollection_FWD_DEFINED__ +#define __IActionCollection_FWD_DEFINED__ +typedef interface IActionCollection IActionCollection; +#ifdef __cplusplus +interface IActionCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IExecAction_FWD_DEFINED__ +#define __IExecAction_FWD_DEFINED__ +typedef interface IExecAction IExecAction; +#ifdef __cplusplus +interface IExecAction; +#endif /* __cplusplus */ +#endif + +#ifndef __INetworkSettings_FWD_DEFINED__ +#define __INetworkSettings_FWD_DEFINED__ +typedef interface INetworkSettings INetworkSettings; +#ifdef __cplusplus +interface INetworkSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrincipal_FWD_DEFINED__ +#define __IPrincipal_FWD_DEFINED__ +typedef interface IPrincipal IPrincipal; +#ifdef __cplusplus +interface IPrincipal; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * ITaskService interface + */ +#ifndef __ITaskService_INTERFACE_DEFINED__ +#define __ITaskService_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskService, 0x2faba4c7, 0x4da9, 0x4013, 0x96,0x97, 0x20,0xcc,0x3f,0xd4,0x0f,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2faba4c7-4da9-4013-9697-20cc3fd40f85") +ITaskService : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetFolder( + BSTR path, + ITaskFolder **folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRunningTasks( + LONG flags, + IRunningTaskCollection **tasks) = 0; + + virtual HRESULT STDMETHODCALLTYPE NewTask( + DWORD flags, + ITaskDefinition **definition) = 0; + + virtual HRESULT STDMETHODCALLTYPE Connect( + VARIANT server, + VARIANT user, + VARIANT domain, + VARIANT password) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Connected( + VARIANT_BOOL *connected) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TargetServer( + BSTR *server) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ConnectedUser( + BSTR *user) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ConnectedDomain( + BSTR *domain) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HighestVersion( + DWORD *version) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskService, 0x2faba4c7, 0x4da9, 0x4013, 0x96,0x97, 0x20,0xcc,0x3f,0xd4,0x0f,0x85) +#endif +#else +typedef struct ITaskServiceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskService *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskService *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskService *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITaskService *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITaskService *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITaskService *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITaskService *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITaskService methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFolder)( + ITaskService *This, + BSTR path, + ITaskFolder **folder); + + HRESULT (STDMETHODCALLTYPE *GetRunningTasks)( + ITaskService *This, + LONG flags, + IRunningTaskCollection **tasks); + + HRESULT (STDMETHODCALLTYPE *NewTask)( + ITaskService *This, + DWORD flags, + ITaskDefinition **definition); + + HRESULT (STDMETHODCALLTYPE *Connect)( + ITaskService *This, + VARIANT server, + VARIANT user, + VARIANT domain, + VARIANT password); + + HRESULT (STDMETHODCALLTYPE *get_Connected)( + ITaskService *This, + VARIANT_BOOL *connected); + + HRESULT (STDMETHODCALLTYPE *get_TargetServer)( + ITaskService *This, + BSTR *server); + + HRESULT (STDMETHODCALLTYPE *get_ConnectedUser)( + ITaskService *This, + BSTR *user); + + HRESULT (STDMETHODCALLTYPE *get_ConnectedDomain)( + ITaskService *This, + BSTR *domain); + + HRESULT (STDMETHODCALLTYPE *get_HighestVersion)( + ITaskService *This, + DWORD *version); + + END_INTERFACE +} ITaskServiceVtbl; + +interface ITaskService { + CONST_VTBL ITaskServiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskService_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskService_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITaskService_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITaskService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITaskService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITaskService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITaskService methods ***/ +#define ITaskService_GetFolder(This,path,folder) (This)->lpVtbl->GetFolder(This,path,folder) +#define ITaskService_GetRunningTasks(This,flags,tasks) (This)->lpVtbl->GetRunningTasks(This,flags,tasks) +#define ITaskService_NewTask(This,flags,definition) (This)->lpVtbl->NewTask(This,flags,definition) +#define ITaskService_Connect(This,server,user,domain,password) (This)->lpVtbl->Connect(This,server,user,domain,password) +#define ITaskService_get_Connected(This,connected) (This)->lpVtbl->get_Connected(This,connected) +#define ITaskService_get_TargetServer(This,server) (This)->lpVtbl->get_TargetServer(This,server) +#define ITaskService_get_ConnectedUser(This,user) (This)->lpVtbl->get_ConnectedUser(This,user) +#define ITaskService_get_ConnectedDomain(This,domain) (This)->lpVtbl->get_ConnectedDomain(This,domain) +#define ITaskService_get_HighestVersion(This,version) (This)->lpVtbl->get_HighestVersion(This,version) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskService_QueryInterface(ITaskService* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskService_AddRef(ITaskService* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskService_Release(ITaskService* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITaskService_GetTypeInfoCount(ITaskService* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITaskService_GetTypeInfo(ITaskService* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITaskService_GetIDsOfNames(ITaskService* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITaskService_Invoke(ITaskService* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITaskService methods ***/ +static FORCEINLINE HRESULT ITaskService_GetFolder(ITaskService* This,BSTR path,ITaskFolder **folder) { + return This->lpVtbl->GetFolder(This,path,folder); +} +static FORCEINLINE HRESULT ITaskService_GetRunningTasks(ITaskService* This,LONG flags,IRunningTaskCollection **tasks) { + return This->lpVtbl->GetRunningTasks(This,flags,tasks); +} +static FORCEINLINE HRESULT ITaskService_NewTask(ITaskService* This,DWORD flags,ITaskDefinition **definition) { + return This->lpVtbl->NewTask(This,flags,definition); +} +static FORCEINLINE HRESULT ITaskService_Connect(ITaskService* This,VARIANT server,VARIANT user,VARIANT domain,VARIANT password) { + return This->lpVtbl->Connect(This,server,user,domain,password); +} +static FORCEINLINE HRESULT ITaskService_get_Connected(ITaskService* This,VARIANT_BOOL *connected) { + return This->lpVtbl->get_Connected(This,connected); +} +static FORCEINLINE HRESULT ITaskService_get_TargetServer(ITaskService* This,BSTR *server) { + return This->lpVtbl->get_TargetServer(This,server); +} +static FORCEINLINE HRESULT ITaskService_get_ConnectedUser(ITaskService* This,BSTR *user) { + return This->lpVtbl->get_ConnectedUser(This,user); +} +static FORCEINLINE HRESULT ITaskService_get_ConnectedDomain(ITaskService* This,BSTR *domain) { + return This->lpVtbl->get_ConnectedDomain(This,domain); +} +static FORCEINLINE HRESULT ITaskService_get_HighestVersion(ITaskService* This,DWORD *version) { + return This->lpVtbl->get_HighestVersion(This,version); +} +#endif +#endif + +#endif + + +#endif /* __ITaskService_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRegisteredTask interface + */ +#ifndef __IRegisteredTask_INTERFACE_DEFINED__ +#define __IRegisteredTask_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRegisteredTask, 0x9c86f320, 0xdee3, 0x4dd1, 0xb9,0x72, 0xa3,0x03,0xf2,0x6b,0x06,0x1e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9c86f320-dee3-4dd1-b972-a303f26b061e") +IRegisteredTask : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *path) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_State( + TASK_STATE *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE Run( + VARIANT params, + IRunningTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE RunEx( + VARIANT params, + LONG flags, + LONG sessionID, + BSTR user, + IRunningTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInstances( + LONG flags, + IRunningTaskCollection **tasks) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastRunTime( + DATE *date) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastTaskResult( + LONG *result) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NumberOfMissedRuns( + LONG *runs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NextRunTime( + DATE *date) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Definition( + ITaskDefinition **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Xml( + BSTR *xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecurityDescriptor( + LONG info, + BSTR *sddl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSecurityDescriptor( + BSTR sddl, + LONG flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + LONG flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRunTimes( + const LPSYSTEMTIME start, + const LPSYSTEMTIME end, + DWORD *count, + LPSYSTEMTIME *time) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRegisteredTask, 0x9c86f320, 0xdee3, 0x4dd1, 0xb9,0x72, 0xa3,0x03,0xf2,0x6b,0x06,0x1e) +#endif +#else +typedef struct IRegisteredTaskVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRegisteredTask *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRegisteredTask *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRegisteredTask *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRegisteredTask *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRegisteredTask *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRegisteredTask *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRegisteredTask *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRegisteredTask methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IRegisteredTask *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + IRegisteredTask *This, + BSTR *path); + + HRESULT (STDMETHODCALLTYPE *get_State)( + IRegisteredTask *This, + TASK_STATE *state); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + IRegisteredTask *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + IRegisteredTask *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *Run)( + IRegisteredTask *This, + VARIANT params, + IRunningTask **task); + + HRESULT (STDMETHODCALLTYPE *RunEx)( + IRegisteredTask *This, + VARIANT params, + LONG flags, + LONG sessionID, + BSTR user, + IRunningTask **task); + + HRESULT (STDMETHODCALLTYPE *GetInstances)( + IRegisteredTask *This, + LONG flags, + IRunningTaskCollection **tasks); + + HRESULT (STDMETHODCALLTYPE *get_LastRunTime)( + IRegisteredTask *This, + DATE *date); + + HRESULT (STDMETHODCALLTYPE *get_LastTaskResult)( + IRegisteredTask *This, + LONG *result); + + HRESULT (STDMETHODCALLTYPE *get_NumberOfMissedRuns)( + IRegisteredTask *This, + LONG *runs); + + HRESULT (STDMETHODCALLTYPE *get_NextRunTime)( + IRegisteredTask *This, + DATE *date); + + HRESULT (STDMETHODCALLTYPE *get_Definition)( + IRegisteredTask *This, + ITaskDefinition **task); + + HRESULT (STDMETHODCALLTYPE *get_Xml)( + IRegisteredTask *This, + BSTR *xml); + + HRESULT (STDMETHODCALLTYPE *GetSecurityDescriptor)( + IRegisteredTask *This, + LONG info, + BSTR *sddl); + + HRESULT (STDMETHODCALLTYPE *SetSecurityDescriptor)( + IRegisteredTask *This, + BSTR sddl, + LONG flags); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IRegisteredTask *This, + LONG flags); + + HRESULT (STDMETHODCALLTYPE *GetRunTimes)( + IRegisteredTask *This, + const LPSYSTEMTIME start, + const LPSYSTEMTIME end, + DWORD *count, + LPSYSTEMTIME *time); + + END_INTERFACE +} IRegisteredTaskVtbl; + +interface IRegisteredTask { + CONST_VTBL IRegisteredTaskVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRegisteredTask_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRegisteredTask_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRegisteredTask_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRegisteredTask_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRegisteredTask_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRegisteredTask_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRegisteredTask_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRegisteredTask methods ***/ +#define IRegisteredTask_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define IRegisteredTask_get_Path(This,path) (This)->lpVtbl->get_Path(This,path) +#define IRegisteredTask_get_State(This,state) (This)->lpVtbl->get_State(This,state) +#define IRegisteredTask_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define IRegisteredTask_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#define IRegisteredTask_Run(This,params,task) (This)->lpVtbl->Run(This,params,task) +#define IRegisteredTask_RunEx(This,params,flags,sessionID,user,task) (This)->lpVtbl->RunEx(This,params,flags,sessionID,user,task) +#define IRegisteredTask_GetInstances(This,flags,tasks) (This)->lpVtbl->GetInstances(This,flags,tasks) +#define IRegisteredTask_get_LastRunTime(This,date) (This)->lpVtbl->get_LastRunTime(This,date) +#define IRegisteredTask_get_LastTaskResult(This,result) (This)->lpVtbl->get_LastTaskResult(This,result) +#define IRegisteredTask_get_NumberOfMissedRuns(This,runs) (This)->lpVtbl->get_NumberOfMissedRuns(This,runs) +#define IRegisteredTask_get_NextRunTime(This,date) (This)->lpVtbl->get_NextRunTime(This,date) +#define IRegisteredTask_get_Definition(This,task) (This)->lpVtbl->get_Definition(This,task) +#define IRegisteredTask_get_Xml(This,xml) (This)->lpVtbl->get_Xml(This,xml) +#define IRegisteredTask_GetSecurityDescriptor(This,info,sddl) (This)->lpVtbl->GetSecurityDescriptor(This,info,sddl) +#define IRegisteredTask_SetSecurityDescriptor(This,sddl,flags) (This)->lpVtbl->SetSecurityDescriptor(This,sddl,flags) +#define IRegisteredTask_Stop(This,flags) (This)->lpVtbl->Stop(This,flags) +#define IRegisteredTask_GetRunTimes(This,start,end,count,time) (This)->lpVtbl->GetRunTimes(This,start,end,count,time) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRegisteredTask_QueryInterface(IRegisteredTask* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRegisteredTask_AddRef(IRegisteredTask* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRegisteredTask_Release(IRegisteredTask* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRegisteredTask_GetTypeInfoCount(IRegisteredTask* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRegisteredTask_GetTypeInfo(IRegisteredTask* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRegisteredTask_GetIDsOfNames(IRegisteredTask* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRegisteredTask_Invoke(IRegisteredTask* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRegisteredTask methods ***/ +static FORCEINLINE HRESULT IRegisteredTask_get_Name(IRegisteredTask* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT IRegisteredTask_get_Path(IRegisteredTask* This,BSTR *path) { + return This->lpVtbl->get_Path(This,path); +} +static FORCEINLINE HRESULT IRegisteredTask_get_State(IRegisteredTask* This,TASK_STATE *state) { + return This->lpVtbl->get_State(This,state); +} +static FORCEINLINE HRESULT IRegisteredTask_get_Enabled(IRegisteredTask* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT IRegisteredTask_put_Enabled(IRegisteredTask* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +static FORCEINLINE HRESULT IRegisteredTask_Run(IRegisteredTask* This,VARIANT params,IRunningTask **task) { + return This->lpVtbl->Run(This,params,task); +} +static FORCEINLINE HRESULT IRegisteredTask_RunEx(IRegisteredTask* This,VARIANT params,LONG flags,LONG sessionID,BSTR user,IRunningTask **task) { + return This->lpVtbl->RunEx(This,params,flags,sessionID,user,task); +} +static FORCEINLINE HRESULT IRegisteredTask_GetInstances(IRegisteredTask* This,LONG flags,IRunningTaskCollection **tasks) { + return This->lpVtbl->GetInstances(This,flags,tasks); +} +static FORCEINLINE HRESULT IRegisteredTask_get_LastRunTime(IRegisteredTask* This,DATE *date) { + return This->lpVtbl->get_LastRunTime(This,date); +} +static FORCEINLINE HRESULT IRegisteredTask_get_LastTaskResult(IRegisteredTask* This,LONG *result) { + return This->lpVtbl->get_LastTaskResult(This,result); +} +static FORCEINLINE HRESULT IRegisteredTask_get_NumberOfMissedRuns(IRegisteredTask* This,LONG *runs) { + return This->lpVtbl->get_NumberOfMissedRuns(This,runs); +} +static FORCEINLINE HRESULT IRegisteredTask_get_NextRunTime(IRegisteredTask* This,DATE *date) { + return This->lpVtbl->get_NextRunTime(This,date); +} +static FORCEINLINE HRESULT IRegisteredTask_get_Definition(IRegisteredTask* This,ITaskDefinition **task) { + return This->lpVtbl->get_Definition(This,task); +} +static FORCEINLINE HRESULT IRegisteredTask_get_Xml(IRegisteredTask* This,BSTR *xml) { + return This->lpVtbl->get_Xml(This,xml); +} +static FORCEINLINE HRESULT IRegisteredTask_GetSecurityDescriptor(IRegisteredTask* This,LONG info,BSTR *sddl) { + return This->lpVtbl->GetSecurityDescriptor(This,info,sddl); +} +static FORCEINLINE HRESULT IRegisteredTask_SetSecurityDescriptor(IRegisteredTask* This,BSTR sddl,LONG flags) { + return This->lpVtbl->SetSecurityDescriptor(This,sddl,flags); +} +static FORCEINLINE HRESULT IRegisteredTask_Stop(IRegisteredTask* This,LONG flags) { + return This->lpVtbl->Stop(This,flags); +} +static FORCEINLINE HRESULT IRegisteredTask_GetRunTimes(IRegisteredTask* This,const LPSYSTEMTIME start,const LPSYSTEMTIME end,DWORD *count,LPSYSTEMTIME *time) { + return This->lpVtbl->GetRunTimes(This,start,end,count,time); +} +#endif +#endif + +#endif + + +#endif /* __IRegisteredTask_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRegisteredTaskCollection interface + */ +#ifndef __IRegisteredTaskCollection_INTERFACE_DEFINED__ +#define __IRegisteredTaskCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRegisteredTaskCollection, 0x86627eb4, 0x42a7, 0x41e4, 0xa4,0xd9, 0xac,0x33,0xa7,0x2f,0x2d,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("86627eb4-42a7-41e4-a4d9-ac33a72f2d52") +IRegisteredTaskCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + VARIANT index, + IRegisteredTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **penum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRegisteredTaskCollection, 0x86627eb4, 0x42a7, 0x41e4, 0xa4,0xd9, 0xac,0x33,0xa7,0x2f,0x2d,0x52) +#endif +#else +typedef struct IRegisteredTaskCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRegisteredTaskCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRegisteredTaskCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRegisteredTaskCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRegisteredTaskCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRegisteredTaskCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRegisteredTaskCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRegisteredTaskCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRegisteredTaskCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IRegisteredTaskCollection *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + IRegisteredTaskCollection *This, + VARIANT index, + IRegisteredTask **task); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IRegisteredTaskCollection *This, + IUnknown **penum); + + END_INTERFACE +} IRegisteredTaskCollectionVtbl; + +interface IRegisteredTaskCollection { + CONST_VTBL IRegisteredTaskCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRegisteredTaskCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRegisteredTaskCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRegisteredTaskCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRegisteredTaskCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRegisteredTaskCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRegisteredTaskCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRegisteredTaskCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRegisteredTaskCollection methods ***/ +#define IRegisteredTaskCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define IRegisteredTaskCollection_get_Item(This,index,task) (This)->lpVtbl->get_Item(This,index,task) +#define IRegisteredTaskCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRegisteredTaskCollection_QueryInterface(IRegisteredTaskCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRegisteredTaskCollection_AddRef(IRegisteredTaskCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRegisteredTaskCollection_Release(IRegisteredTaskCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRegisteredTaskCollection_GetTypeInfoCount(IRegisteredTaskCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRegisteredTaskCollection_GetTypeInfo(IRegisteredTaskCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRegisteredTaskCollection_GetIDsOfNames(IRegisteredTaskCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRegisteredTaskCollection_Invoke(IRegisteredTaskCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRegisteredTaskCollection methods ***/ +static FORCEINLINE HRESULT IRegisteredTaskCollection_get_Count(IRegisteredTaskCollection* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT IRegisteredTaskCollection_get_Item(IRegisteredTaskCollection* This,VARIANT index,IRegisteredTask **task) { + return This->lpVtbl->get_Item(This,index,task); +} +static FORCEINLINE HRESULT IRegisteredTaskCollection_get__NewEnum(IRegisteredTaskCollection* This,IUnknown **penum) { + return This->lpVtbl->get__NewEnum(This,penum); +} +#endif +#endif + +#endif + + +#endif /* __IRegisteredTaskCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRegistrationInfo interface + */ +#ifndef __IRegistrationInfo_INTERFACE_DEFINED__ +#define __IRegistrationInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRegistrationInfo, 0x416d8b73, 0xcb41, 0x4ea1, 0x80,0x5c, 0x9b,0xe9,0xa5,0xac,0x4a,0x74); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("416d8b73-cb41-4ea1-805c-9be9a5ac4a74") +IRegistrationInfo : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *description) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Description( + BSTR description) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Author( + BSTR *author) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Author( + BSTR author) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Version( + BSTR *version) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Version( + BSTR version) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Date( + BSTR *date) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Date( + BSTR date) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Documentation( + BSTR *doc) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Documentation( + BSTR doc) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XmlText( + BSTR *xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_XmlText( + BSTR xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URI( + BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_URI( + BSTR uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SecurityDescriptor( + VARIANT *sddl) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SecurityDescriptor( + VARIANT sddl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Source( + BSTR *source) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Source( + BSTR source) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRegistrationInfo, 0x416d8b73, 0xcb41, 0x4ea1, 0x80,0x5c, 0x9b,0xe9,0xa5,0xac,0x4a,0x74) +#endif +#else +typedef struct IRegistrationInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRegistrationInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRegistrationInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRegistrationInfo *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRegistrationInfo *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRegistrationInfo *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRegistrationInfo *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRegistrationInfo *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRegistrationInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Description)( + IRegistrationInfo *This, + BSTR *description); + + HRESULT (STDMETHODCALLTYPE *put_Description)( + IRegistrationInfo *This, + BSTR description); + + HRESULT (STDMETHODCALLTYPE *get_Author)( + IRegistrationInfo *This, + BSTR *author); + + HRESULT (STDMETHODCALLTYPE *put_Author)( + IRegistrationInfo *This, + BSTR author); + + HRESULT (STDMETHODCALLTYPE *get_Version)( + IRegistrationInfo *This, + BSTR *version); + + HRESULT (STDMETHODCALLTYPE *put_Version)( + IRegistrationInfo *This, + BSTR version); + + HRESULT (STDMETHODCALLTYPE *get_Date)( + IRegistrationInfo *This, + BSTR *date); + + HRESULT (STDMETHODCALLTYPE *put_Date)( + IRegistrationInfo *This, + BSTR date); + + HRESULT (STDMETHODCALLTYPE *get_Documentation)( + IRegistrationInfo *This, + BSTR *doc); + + HRESULT (STDMETHODCALLTYPE *put_Documentation)( + IRegistrationInfo *This, + BSTR doc); + + HRESULT (STDMETHODCALLTYPE *get_XmlText)( + IRegistrationInfo *This, + BSTR *xml); + + HRESULT (STDMETHODCALLTYPE *put_XmlText)( + IRegistrationInfo *This, + BSTR xml); + + HRESULT (STDMETHODCALLTYPE *get_URI)( + IRegistrationInfo *This, + BSTR *uri); + + HRESULT (STDMETHODCALLTYPE *put_URI)( + IRegistrationInfo *This, + BSTR uri); + + HRESULT (STDMETHODCALLTYPE *get_SecurityDescriptor)( + IRegistrationInfo *This, + VARIANT *sddl); + + HRESULT (STDMETHODCALLTYPE *put_SecurityDescriptor)( + IRegistrationInfo *This, + VARIANT sddl); + + HRESULT (STDMETHODCALLTYPE *get_Source)( + IRegistrationInfo *This, + BSTR *source); + + HRESULT (STDMETHODCALLTYPE *put_Source)( + IRegistrationInfo *This, + BSTR source); + + END_INTERFACE +} IRegistrationInfoVtbl; + +interface IRegistrationInfo { + CONST_VTBL IRegistrationInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRegistrationInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRegistrationInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRegistrationInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRegistrationInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRegistrationInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRegistrationInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRegistrationInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRegistrationInfo methods ***/ +#define IRegistrationInfo_get_Description(This,description) (This)->lpVtbl->get_Description(This,description) +#define IRegistrationInfo_put_Description(This,description) (This)->lpVtbl->put_Description(This,description) +#define IRegistrationInfo_get_Author(This,author) (This)->lpVtbl->get_Author(This,author) +#define IRegistrationInfo_put_Author(This,author) (This)->lpVtbl->put_Author(This,author) +#define IRegistrationInfo_get_Version(This,version) (This)->lpVtbl->get_Version(This,version) +#define IRegistrationInfo_put_Version(This,version) (This)->lpVtbl->put_Version(This,version) +#define IRegistrationInfo_get_Date(This,date) (This)->lpVtbl->get_Date(This,date) +#define IRegistrationInfo_put_Date(This,date) (This)->lpVtbl->put_Date(This,date) +#define IRegistrationInfo_get_Documentation(This,doc) (This)->lpVtbl->get_Documentation(This,doc) +#define IRegistrationInfo_put_Documentation(This,doc) (This)->lpVtbl->put_Documentation(This,doc) +#define IRegistrationInfo_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml) +#define IRegistrationInfo_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml) +#define IRegistrationInfo_get_URI(This,uri) (This)->lpVtbl->get_URI(This,uri) +#define IRegistrationInfo_put_URI(This,uri) (This)->lpVtbl->put_URI(This,uri) +#define IRegistrationInfo_get_SecurityDescriptor(This,sddl) (This)->lpVtbl->get_SecurityDescriptor(This,sddl) +#define IRegistrationInfo_put_SecurityDescriptor(This,sddl) (This)->lpVtbl->put_SecurityDescriptor(This,sddl) +#define IRegistrationInfo_get_Source(This,source) (This)->lpVtbl->get_Source(This,source) +#define IRegistrationInfo_put_Source(This,source) (This)->lpVtbl->put_Source(This,source) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRegistrationInfo_QueryInterface(IRegistrationInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRegistrationInfo_AddRef(IRegistrationInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRegistrationInfo_Release(IRegistrationInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRegistrationInfo_GetTypeInfoCount(IRegistrationInfo* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRegistrationInfo_GetTypeInfo(IRegistrationInfo* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRegistrationInfo_GetIDsOfNames(IRegistrationInfo* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRegistrationInfo_Invoke(IRegistrationInfo* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRegistrationInfo methods ***/ +static FORCEINLINE HRESULT IRegistrationInfo_get_Description(IRegistrationInfo* This,BSTR *description) { + return This->lpVtbl->get_Description(This,description); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_Description(IRegistrationInfo* This,BSTR description) { + return This->lpVtbl->put_Description(This,description); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_Author(IRegistrationInfo* This,BSTR *author) { + return This->lpVtbl->get_Author(This,author); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_Author(IRegistrationInfo* This,BSTR author) { + return This->lpVtbl->put_Author(This,author); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_Version(IRegistrationInfo* This,BSTR *version) { + return This->lpVtbl->get_Version(This,version); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_Version(IRegistrationInfo* This,BSTR version) { + return This->lpVtbl->put_Version(This,version); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_Date(IRegistrationInfo* This,BSTR *date) { + return This->lpVtbl->get_Date(This,date); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_Date(IRegistrationInfo* This,BSTR date) { + return This->lpVtbl->put_Date(This,date); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_Documentation(IRegistrationInfo* This,BSTR *doc) { + return This->lpVtbl->get_Documentation(This,doc); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_Documentation(IRegistrationInfo* This,BSTR doc) { + return This->lpVtbl->put_Documentation(This,doc); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_XmlText(IRegistrationInfo* This,BSTR *xml) { + return This->lpVtbl->get_XmlText(This,xml); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_XmlText(IRegistrationInfo* This,BSTR xml) { + return This->lpVtbl->put_XmlText(This,xml); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_URI(IRegistrationInfo* This,BSTR *uri) { + return This->lpVtbl->get_URI(This,uri); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_URI(IRegistrationInfo* This,BSTR uri) { + return This->lpVtbl->put_URI(This,uri); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_SecurityDescriptor(IRegistrationInfo* This,VARIANT *sddl) { + return This->lpVtbl->get_SecurityDescriptor(This,sddl); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_SecurityDescriptor(IRegistrationInfo* This,VARIANT sddl) { + return This->lpVtbl->put_SecurityDescriptor(This,sddl); +} +static FORCEINLINE HRESULT IRegistrationInfo_get_Source(IRegistrationInfo* This,BSTR *source) { + return This->lpVtbl->get_Source(This,source); +} +static FORCEINLINE HRESULT IRegistrationInfo_put_Source(IRegistrationInfo* This,BSTR source) { + return This->lpVtbl->put_Source(This,source); +} +#endif +#endif + +#endif + + +#endif /* __IRegistrationInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskFolder interface + */ +#ifndef __ITaskFolder_INTERFACE_DEFINED__ +#define __ITaskFolder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskFolder, 0x8cfac062, 0xa080, 0x4c15, 0x9a,0x88, 0xaa,0x7c,0x2a,0xf8,0x0d,0xfc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cfac062-a080-4c15-9a88-aa7c2af80dfc") +ITaskFolder : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *path) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolder( + BSTR path, + ITaskFolder **folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFolders( + LONG flags, + ITaskFolderCollection **folders) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFolder( + BSTR name, + VARIANT sddl, + ITaskFolder **folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteFolder( + BSTR name, + LONG flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTask( + BSTR path, + IRegisteredTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTasks( + LONG flags, + IRegisteredTaskCollection **tasks) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteTask( + BSTR name, + LONG flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterTask( + BSTR path, + BSTR xml, + LONG flags, + VARIANT user, + VARIANT password, + TASK_LOGON_TYPE logonType, + VARIANT sddl, + IRegisteredTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterTaskDefinition( + BSTR path, + ITaskDefinition *definition, + LONG flags, + VARIANT user, + VARIANT password, + TASK_LOGON_TYPE logon, + VARIANT sddl, + IRegisteredTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecurityDescriptor( + LONG info, + BSTR *sddl) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSecurityDescriptor( + BSTR sddl, + LONG flags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskFolder, 0x8cfac062, 0xa080, 0x4c15, 0x9a,0x88, 0xaa,0x7c,0x2a,0xf8,0x0d,0xfc) +#endif +#else +typedef struct ITaskFolderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskFolder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskFolder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskFolder *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITaskFolder *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITaskFolder *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITaskFolder *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITaskFolder *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITaskFolder methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + ITaskFolder *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + ITaskFolder *This, + BSTR *path); + + HRESULT (STDMETHODCALLTYPE *GetFolder)( + ITaskFolder *This, + BSTR path, + ITaskFolder **folder); + + HRESULT (STDMETHODCALLTYPE *GetFolders)( + ITaskFolder *This, + LONG flags, + ITaskFolderCollection **folders); + + HRESULT (STDMETHODCALLTYPE *CreateFolder)( + ITaskFolder *This, + BSTR name, + VARIANT sddl, + ITaskFolder **folder); + + HRESULT (STDMETHODCALLTYPE *DeleteFolder)( + ITaskFolder *This, + BSTR name, + LONG flags); + + HRESULT (STDMETHODCALLTYPE *GetTask)( + ITaskFolder *This, + BSTR path, + IRegisteredTask **task); + + HRESULT (STDMETHODCALLTYPE *GetTasks)( + ITaskFolder *This, + LONG flags, + IRegisteredTaskCollection **tasks); + + HRESULT (STDMETHODCALLTYPE *DeleteTask)( + ITaskFolder *This, + BSTR name, + LONG flags); + + HRESULT (STDMETHODCALLTYPE *RegisterTask)( + ITaskFolder *This, + BSTR path, + BSTR xml, + LONG flags, + VARIANT user, + VARIANT password, + TASK_LOGON_TYPE logonType, + VARIANT sddl, + IRegisteredTask **task); + + HRESULT (STDMETHODCALLTYPE *RegisterTaskDefinition)( + ITaskFolder *This, + BSTR path, + ITaskDefinition *definition, + LONG flags, + VARIANT user, + VARIANT password, + TASK_LOGON_TYPE logon, + VARIANT sddl, + IRegisteredTask **task); + + HRESULT (STDMETHODCALLTYPE *GetSecurityDescriptor)( + ITaskFolder *This, + LONG info, + BSTR *sddl); + + HRESULT (STDMETHODCALLTYPE *SetSecurityDescriptor)( + ITaskFolder *This, + BSTR sddl, + LONG flags); + + END_INTERFACE +} ITaskFolderVtbl; + +interface ITaskFolder { + CONST_VTBL ITaskFolderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskFolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskFolder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskFolder_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITaskFolder_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITaskFolder_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITaskFolder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITaskFolder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITaskFolder methods ***/ +#define ITaskFolder_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define ITaskFolder_get_Path(This,path) (This)->lpVtbl->get_Path(This,path) +#define ITaskFolder_GetFolder(This,path,folder) (This)->lpVtbl->GetFolder(This,path,folder) +#define ITaskFolder_GetFolders(This,flags,folders) (This)->lpVtbl->GetFolders(This,flags,folders) +#define ITaskFolder_CreateFolder(This,name,sddl,folder) (This)->lpVtbl->CreateFolder(This,name,sddl,folder) +#define ITaskFolder_DeleteFolder(This,name,flags) (This)->lpVtbl->DeleteFolder(This,name,flags) +#define ITaskFolder_GetTask(This,path,task) (This)->lpVtbl->GetTask(This,path,task) +#define ITaskFolder_GetTasks(This,flags,tasks) (This)->lpVtbl->GetTasks(This,flags,tasks) +#define ITaskFolder_DeleteTask(This,name,flags) (This)->lpVtbl->DeleteTask(This,name,flags) +#define ITaskFolder_RegisterTask(This,path,xml,flags,user,password,logonType,sddl,task) (This)->lpVtbl->RegisterTask(This,path,xml,flags,user,password,logonType,sddl,task) +#define ITaskFolder_RegisterTaskDefinition(This,path,definition,flags,user,password,logon,sddl,task) (This)->lpVtbl->RegisterTaskDefinition(This,path,definition,flags,user,password,logon,sddl,task) +#define ITaskFolder_GetSecurityDescriptor(This,info,sddl) (This)->lpVtbl->GetSecurityDescriptor(This,info,sddl) +#define ITaskFolder_SetSecurityDescriptor(This,sddl,flags) (This)->lpVtbl->SetSecurityDescriptor(This,sddl,flags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskFolder_QueryInterface(ITaskFolder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskFolder_AddRef(ITaskFolder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskFolder_Release(ITaskFolder* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITaskFolder_GetTypeInfoCount(ITaskFolder* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITaskFolder_GetTypeInfo(ITaskFolder* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITaskFolder_GetIDsOfNames(ITaskFolder* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITaskFolder_Invoke(ITaskFolder* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITaskFolder methods ***/ +static FORCEINLINE HRESULT ITaskFolder_get_Name(ITaskFolder* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT ITaskFolder_get_Path(ITaskFolder* This,BSTR *path) { + return This->lpVtbl->get_Path(This,path); +} +static FORCEINLINE HRESULT ITaskFolder_GetFolder(ITaskFolder* This,BSTR path,ITaskFolder **folder) { + return This->lpVtbl->GetFolder(This,path,folder); +} +static FORCEINLINE HRESULT ITaskFolder_GetFolders(ITaskFolder* This,LONG flags,ITaskFolderCollection **folders) { + return This->lpVtbl->GetFolders(This,flags,folders); +} +static FORCEINLINE HRESULT ITaskFolder_CreateFolder(ITaskFolder* This,BSTR name,VARIANT sddl,ITaskFolder **folder) { + return This->lpVtbl->CreateFolder(This,name,sddl,folder); +} +static FORCEINLINE HRESULT ITaskFolder_DeleteFolder(ITaskFolder* This,BSTR name,LONG flags) { + return This->lpVtbl->DeleteFolder(This,name,flags); +} +static FORCEINLINE HRESULT ITaskFolder_GetTask(ITaskFolder* This,BSTR path,IRegisteredTask **task) { + return This->lpVtbl->GetTask(This,path,task); +} +static FORCEINLINE HRESULT ITaskFolder_GetTasks(ITaskFolder* This,LONG flags,IRegisteredTaskCollection **tasks) { + return This->lpVtbl->GetTasks(This,flags,tasks); +} +static FORCEINLINE HRESULT ITaskFolder_DeleteTask(ITaskFolder* This,BSTR name,LONG flags) { + return This->lpVtbl->DeleteTask(This,name,flags); +} +static FORCEINLINE HRESULT ITaskFolder_RegisterTask(ITaskFolder* This,BSTR path,BSTR xml,LONG flags,VARIANT user,VARIANT password,TASK_LOGON_TYPE logonType,VARIANT sddl,IRegisteredTask **task) { + return This->lpVtbl->RegisterTask(This,path,xml,flags,user,password,logonType,sddl,task); +} +static FORCEINLINE HRESULT ITaskFolder_RegisterTaskDefinition(ITaskFolder* This,BSTR path,ITaskDefinition *definition,LONG flags,VARIANT user,VARIANT password,TASK_LOGON_TYPE logon,VARIANT sddl,IRegisteredTask **task) { + return This->lpVtbl->RegisterTaskDefinition(This,path,definition,flags,user,password,logon,sddl,task); +} +static FORCEINLINE HRESULT ITaskFolder_GetSecurityDescriptor(ITaskFolder* This,LONG info,BSTR *sddl) { + return This->lpVtbl->GetSecurityDescriptor(This,info,sddl); +} +static FORCEINLINE HRESULT ITaskFolder_SetSecurityDescriptor(ITaskFolder* This,BSTR sddl,LONG flags) { + return This->lpVtbl->SetSecurityDescriptor(This,sddl,flags); +} +#endif +#endif + +#endif + + +#endif /* __ITaskFolder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskFolderCollection interface + */ +#ifndef __ITaskFolderCollection_INTERFACE_DEFINED__ +#define __ITaskFolderCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskFolderCollection, 0x79184a66, 0x8664, 0x423f, 0x97,0xf1, 0x63,0x73,0x56,0xa5,0xd8,0x12); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79184a66-8664-423f-97f1-637356a5d812") +ITaskFolderCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + VARIANT index, + ITaskFolder **folder) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **penum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskFolderCollection, 0x79184a66, 0x8664, 0x423f, 0x97,0xf1, 0x63,0x73,0x56,0xa5,0xd8,0x12) +#endif +#else +typedef struct ITaskFolderCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskFolderCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskFolderCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskFolderCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITaskFolderCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITaskFolderCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITaskFolderCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITaskFolderCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITaskFolderCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + ITaskFolderCollection *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + ITaskFolderCollection *This, + VARIANT index, + ITaskFolder **folder); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ITaskFolderCollection *This, + IUnknown **penum); + + END_INTERFACE +} ITaskFolderCollectionVtbl; + +interface ITaskFolderCollection { + CONST_VTBL ITaskFolderCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskFolderCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskFolderCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskFolderCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITaskFolderCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITaskFolderCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITaskFolderCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITaskFolderCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITaskFolderCollection methods ***/ +#define ITaskFolderCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define ITaskFolderCollection_get_Item(This,index,folder) (This)->lpVtbl->get_Item(This,index,folder) +#define ITaskFolderCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskFolderCollection_QueryInterface(ITaskFolderCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskFolderCollection_AddRef(ITaskFolderCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskFolderCollection_Release(ITaskFolderCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITaskFolderCollection_GetTypeInfoCount(ITaskFolderCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITaskFolderCollection_GetTypeInfo(ITaskFolderCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITaskFolderCollection_GetIDsOfNames(ITaskFolderCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITaskFolderCollection_Invoke(ITaskFolderCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITaskFolderCollection methods ***/ +static FORCEINLINE HRESULT ITaskFolderCollection_get_Count(ITaskFolderCollection* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT ITaskFolderCollection_get_Item(ITaskFolderCollection* This,VARIANT index,ITaskFolder **folder) { + return This->lpVtbl->get_Item(This,index,folder); +} +static FORCEINLINE HRESULT ITaskFolderCollection_get__NewEnum(ITaskFolderCollection* This,IUnknown **penum) { + return This->lpVtbl->get__NewEnum(This,penum); +} +#endif +#endif + +#endif + + +#endif /* __ITaskFolderCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskDefinition interface + */ +#ifndef __ITaskDefinition_INTERFACE_DEFINED__ +#define __ITaskDefinition_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskDefinition, 0xf5bc8fc5, 0x536d, 0x4f77, 0xb8,0x52, 0xfb,0xc1,0x35,0x6f,0xde,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f5bc8fc5-536d-4f77-b852-fbc1356fdeb6") +ITaskDefinition : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_RegistrationInfo( + IRegistrationInfo **info) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RegistrationInfo( + IRegistrationInfo *info) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Triggers( + ITriggerCollection **triggers) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Triggers( + ITriggerCollection *triggers) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Settings( + ITaskSettings **settings) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Settings( + ITaskSettings *settings) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Data( + BSTR *data) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Data( + BSTR data) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Principal( + IPrincipal **principal) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Principal( + IPrincipal *principal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Actions( + IActionCollection **actions) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Actions( + IActionCollection *actions) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XmlText( + BSTR *xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_XmlText( + BSTR xml) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskDefinition, 0xf5bc8fc5, 0x536d, 0x4f77, 0xb8,0x52, 0xfb,0xc1,0x35,0x6f,0xde,0xb6) +#endif +#else +typedef struct ITaskDefinitionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskDefinition *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskDefinition *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskDefinition *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITaskDefinition *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITaskDefinition *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITaskDefinition *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITaskDefinition *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITaskDefinition methods ***/ + HRESULT (STDMETHODCALLTYPE *get_RegistrationInfo)( + ITaskDefinition *This, + IRegistrationInfo **info); + + HRESULT (STDMETHODCALLTYPE *put_RegistrationInfo)( + ITaskDefinition *This, + IRegistrationInfo *info); + + HRESULT (STDMETHODCALLTYPE *get_Triggers)( + ITaskDefinition *This, + ITriggerCollection **triggers); + + HRESULT (STDMETHODCALLTYPE *put_Triggers)( + ITaskDefinition *This, + ITriggerCollection *triggers); + + HRESULT (STDMETHODCALLTYPE *get_Settings)( + ITaskDefinition *This, + ITaskSettings **settings); + + HRESULT (STDMETHODCALLTYPE *put_Settings)( + ITaskDefinition *This, + ITaskSettings *settings); + + HRESULT (STDMETHODCALLTYPE *get_Data)( + ITaskDefinition *This, + BSTR *data); + + HRESULT (STDMETHODCALLTYPE *put_Data)( + ITaskDefinition *This, + BSTR data); + + HRESULT (STDMETHODCALLTYPE *get_Principal)( + ITaskDefinition *This, + IPrincipal **principal); + + HRESULT (STDMETHODCALLTYPE *put_Principal)( + ITaskDefinition *This, + IPrincipal *principal); + + HRESULT (STDMETHODCALLTYPE *get_Actions)( + ITaskDefinition *This, + IActionCollection **actions); + + HRESULT (STDMETHODCALLTYPE *put_Actions)( + ITaskDefinition *This, + IActionCollection *actions); + + HRESULT (STDMETHODCALLTYPE *get_XmlText)( + ITaskDefinition *This, + BSTR *xml); + + HRESULT (STDMETHODCALLTYPE *put_XmlText)( + ITaskDefinition *This, + BSTR xml); + + END_INTERFACE +} ITaskDefinitionVtbl; + +interface ITaskDefinition { + CONST_VTBL ITaskDefinitionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskDefinition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskDefinition_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskDefinition_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITaskDefinition_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITaskDefinition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITaskDefinition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITaskDefinition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITaskDefinition methods ***/ +#define ITaskDefinition_get_RegistrationInfo(This,info) (This)->lpVtbl->get_RegistrationInfo(This,info) +#define ITaskDefinition_put_RegistrationInfo(This,info) (This)->lpVtbl->put_RegistrationInfo(This,info) +#define ITaskDefinition_get_Triggers(This,triggers) (This)->lpVtbl->get_Triggers(This,triggers) +#define ITaskDefinition_put_Triggers(This,triggers) (This)->lpVtbl->put_Triggers(This,triggers) +#define ITaskDefinition_get_Settings(This,settings) (This)->lpVtbl->get_Settings(This,settings) +#define ITaskDefinition_put_Settings(This,settings) (This)->lpVtbl->put_Settings(This,settings) +#define ITaskDefinition_get_Data(This,data) (This)->lpVtbl->get_Data(This,data) +#define ITaskDefinition_put_Data(This,data) (This)->lpVtbl->put_Data(This,data) +#define ITaskDefinition_get_Principal(This,principal) (This)->lpVtbl->get_Principal(This,principal) +#define ITaskDefinition_put_Principal(This,principal) (This)->lpVtbl->put_Principal(This,principal) +#define ITaskDefinition_get_Actions(This,actions) (This)->lpVtbl->get_Actions(This,actions) +#define ITaskDefinition_put_Actions(This,actions) (This)->lpVtbl->put_Actions(This,actions) +#define ITaskDefinition_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml) +#define ITaskDefinition_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskDefinition_QueryInterface(ITaskDefinition* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskDefinition_AddRef(ITaskDefinition* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskDefinition_Release(ITaskDefinition* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITaskDefinition_GetTypeInfoCount(ITaskDefinition* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITaskDefinition_GetTypeInfo(ITaskDefinition* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITaskDefinition_GetIDsOfNames(ITaskDefinition* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITaskDefinition_Invoke(ITaskDefinition* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITaskDefinition methods ***/ +static FORCEINLINE HRESULT ITaskDefinition_get_RegistrationInfo(ITaskDefinition* This,IRegistrationInfo **info) { + return This->lpVtbl->get_RegistrationInfo(This,info); +} +static FORCEINLINE HRESULT ITaskDefinition_put_RegistrationInfo(ITaskDefinition* This,IRegistrationInfo *info) { + return This->lpVtbl->put_RegistrationInfo(This,info); +} +static FORCEINLINE HRESULT ITaskDefinition_get_Triggers(ITaskDefinition* This,ITriggerCollection **triggers) { + return This->lpVtbl->get_Triggers(This,triggers); +} +static FORCEINLINE HRESULT ITaskDefinition_put_Triggers(ITaskDefinition* This,ITriggerCollection *triggers) { + return This->lpVtbl->put_Triggers(This,triggers); +} +static FORCEINLINE HRESULT ITaskDefinition_get_Settings(ITaskDefinition* This,ITaskSettings **settings) { + return This->lpVtbl->get_Settings(This,settings); +} +static FORCEINLINE HRESULT ITaskDefinition_put_Settings(ITaskDefinition* This,ITaskSettings *settings) { + return This->lpVtbl->put_Settings(This,settings); +} +static FORCEINLINE HRESULT ITaskDefinition_get_Data(ITaskDefinition* This,BSTR *data) { + return This->lpVtbl->get_Data(This,data); +} +static FORCEINLINE HRESULT ITaskDefinition_put_Data(ITaskDefinition* This,BSTR data) { + return This->lpVtbl->put_Data(This,data); +} +static FORCEINLINE HRESULT ITaskDefinition_get_Principal(ITaskDefinition* This,IPrincipal **principal) { + return This->lpVtbl->get_Principal(This,principal); +} +static FORCEINLINE HRESULT ITaskDefinition_put_Principal(ITaskDefinition* This,IPrincipal *principal) { + return This->lpVtbl->put_Principal(This,principal); +} +static FORCEINLINE HRESULT ITaskDefinition_get_Actions(ITaskDefinition* This,IActionCollection **actions) { + return This->lpVtbl->get_Actions(This,actions); +} +static FORCEINLINE HRESULT ITaskDefinition_put_Actions(ITaskDefinition* This,IActionCollection *actions) { + return This->lpVtbl->put_Actions(This,actions); +} +static FORCEINLINE HRESULT ITaskDefinition_get_XmlText(ITaskDefinition* This,BSTR *xml) { + return This->lpVtbl->get_XmlText(This,xml); +} +static FORCEINLINE HRESULT ITaskDefinition_put_XmlText(ITaskDefinition* This,BSTR xml) { + return This->lpVtbl->put_XmlText(This,xml); +} +#endif +#endif + +#endif + + +#endif /* __ITaskDefinition_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITaskSettings interface + */ +#ifndef __ITaskSettings_INTERFACE_DEFINED__ +#define __ITaskSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITaskSettings, 0x8fd4711d, 0x2d02, 0x4c8c, 0x87,0xe3, 0xef,0xf6,0x99,0xde,0x12,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8fd4711d-2d02-4c8c-87e3-eff699de127e") +ITaskSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AllowDemandStart( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowDemandStart( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RestartInterval( + BSTR *interval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RestartInterval( + BSTR interval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RestartCount( + INT *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RestartCount( + INT count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MultipleInstances( + TASK_INSTANCES_POLICY *policy) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MultipleInstances( + TASK_INSTANCES_POLICY policy) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StopIfGoingOnBatteries( + VARIANT_BOOL *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StopIfGoingOnBatteries( + VARIANT_BOOL stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DisallowStartIfOnBatteries( + VARIANT_BOOL *disallow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DisallowStartIfOnBatteries( + VARIANT_BOOL disallow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowHardTerminate( + VARIANT_BOOL *allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowHardTerminate( + VARIANT_BOOL allow) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StartWhenAvailable( + VARIANT_BOOL *start) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StartWhenAvailable( + VARIANT_BOOL start) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XmlText( + BSTR *xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_XmlText( + BSTR xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RunOnlyIfNetworkAvailable( + VARIANT_BOOL *run) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RunOnlyIfNetworkAvailable( + VARIANT_BOOL run) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExecutionTimeLimit( + BSTR *limit) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ExecutionTimeLimit( + BSTR limit) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DeleteExpiredTaskAfter( + BSTR *delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DeleteExpiredTaskAfter( + BSTR delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Priority( + INT *priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Priority( + INT priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Compatibility( + TASK_COMPATIBILITY *level) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Compatibility( + TASK_COMPATIBILITY level) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Hidden( + VARIANT_BOOL *hidden) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Hidden( + VARIANT_BOOL hidden) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IdleSettings( + IIdleSettings **settings) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IdleSettings( + IIdleSettings *settings) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RunOnlyIfIdle( + VARIANT_BOOL *run) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RunOnlyIfIdle( + VARIANT_BOOL run) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WakeToRun( + VARIANT_BOOL *wake) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WakeToRun( + VARIANT_BOOL wake) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_NetworkSettings( + INetworkSettings **settings) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_NetworkSettings( + INetworkSettings *settings) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITaskSettings, 0x8fd4711d, 0x2d02, 0x4c8c, 0x87,0xe3, 0xef,0xf6,0x99,0xde,0x12,0x7e) +#endif +#else +typedef struct ITaskSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITaskSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITaskSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITaskSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITaskSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITaskSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITaskSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITaskSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITaskSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AllowDemandStart)( + ITaskSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowDemandStart)( + ITaskSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_RestartInterval)( + ITaskSettings *This, + BSTR *interval); + + HRESULT (STDMETHODCALLTYPE *put_RestartInterval)( + ITaskSettings *This, + BSTR interval); + + HRESULT (STDMETHODCALLTYPE *get_RestartCount)( + ITaskSettings *This, + INT *count); + + HRESULT (STDMETHODCALLTYPE *put_RestartCount)( + ITaskSettings *This, + INT count); + + HRESULT (STDMETHODCALLTYPE *get_MultipleInstances)( + ITaskSettings *This, + TASK_INSTANCES_POLICY *policy); + + HRESULT (STDMETHODCALLTYPE *put_MultipleInstances)( + ITaskSettings *This, + TASK_INSTANCES_POLICY policy); + + HRESULT (STDMETHODCALLTYPE *get_StopIfGoingOnBatteries)( + ITaskSettings *This, + VARIANT_BOOL *stop); + + HRESULT (STDMETHODCALLTYPE *put_StopIfGoingOnBatteries)( + ITaskSettings *This, + VARIANT_BOOL stop); + + HRESULT (STDMETHODCALLTYPE *get_DisallowStartIfOnBatteries)( + ITaskSettings *This, + VARIANT_BOOL *disallow); + + HRESULT (STDMETHODCALLTYPE *put_DisallowStartIfOnBatteries)( + ITaskSettings *This, + VARIANT_BOOL disallow); + + HRESULT (STDMETHODCALLTYPE *get_AllowHardTerminate)( + ITaskSettings *This, + VARIANT_BOOL *allow); + + HRESULT (STDMETHODCALLTYPE *put_AllowHardTerminate)( + ITaskSettings *This, + VARIANT_BOOL allow); + + HRESULT (STDMETHODCALLTYPE *get_StartWhenAvailable)( + ITaskSettings *This, + VARIANT_BOOL *start); + + HRESULT (STDMETHODCALLTYPE *put_StartWhenAvailable)( + ITaskSettings *This, + VARIANT_BOOL start); + + HRESULT (STDMETHODCALLTYPE *get_XmlText)( + ITaskSettings *This, + BSTR *xml); + + HRESULT (STDMETHODCALLTYPE *put_XmlText)( + ITaskSettings *This, + BSTR xml); + + HRESULT (STDMETHODCALLTYPE *get_RunOnlyIfNetworkAvailable)( + ITaskSettings *This, + VARIANT_BOOL *run); + + HRESULT (STDMETHODCALLTYPE *put_RunOnlyIfNetworkAvailable)( + ITaskSettings *This, + VARIANT_BOOL run); + + HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)( + ITaskSettings *This, + BSTR *limit); + + HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)( + ITaskSettings *This, + BSTR limit); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + ITaskSettings *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + ITaskSettings *This, + VARIANT_BOOL enabled); + + HRESULT (STDMETHODCALLTYPE *get_DeleteExpiredTaskAfter)( + ITaskSettings *This, + BSTR *delay); + + HRESULT (STDMETHODCALLTYPE *put_DeleteExpiredTaskAfter)( + ITaskSettings *This, + BSTR delay); + + HRESULT (STDMETHODCALLTYPE *get_Priority)( + ITaskSettings *This, + INT *priority); + + HRESULT (STDMETHODCALLTYPE *put_Priority)( + ITaskSettings *This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *get_Compatibility)( + ITaskSettings *This, + TASK_COMPATIBILITY *level); + + HRESULT (STDMETHODCALLTYPE *put_Compatibility)( + ITaskSettings *This, + TASK_COMPATIBILITY level); + + HRESULT (STDMETHODCALLTYPE *get_Hidden)( + ITaskSettings *This, + VARIANT_BOOL *hidden); + + HRESULT (STDMETHODCALLTYPE *put_Hidden)( + ITaskSettings *This, + VARIANT_BOOL hidden); + + HRESULT (STDMETHODCALLTYPE *get_IdleSettings)( + ITaskSettings *This, + IIdleSettings **settings); + + HRESULT (STDMETHODCALLTYPE *put_IdleSettings)( + ITaskSettings *This, + IIdleSettings *settings); + + HRESULT (STDMETHODCALLTYPE *get_RunOnlyIfIdle)( + ITaskSettings *This, + VARIANT_BOOL *run); + + HRESULT (STDMETHODCALLTYPE *put_RunOnlyIfIdle)( + ITaskSettings *This, + VARIANT_BOOL run); + + HRESULT (STDMETHODCALLTYPE *get_WakeToRun)( + ITaskSettings *This, + VARIANT_BOOL *wake); + + HRESULT (STDMETHODCALLTYPE *put_WakeToRun)( + ITaskSettings *This, + VARIANT_BOOL wake); + + HRESULT (STDMETHODCALLTYPE *get_NetworkSettings)( + ITaskSettings *This, + INetworkSettings **settings); + + HRESULT (STDMETHODCALLTYPE *put_NetworkSettings)( + ITaskSettings *This, + INetworkSettings *settings); + + END_INTERFACE +} ITaskSettingsVtbl; + +interface ITaskSettings { + CONST_VTBL ITaskSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITaskSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITaskSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITaskSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITaskSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITaskSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITaskSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITaskSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITaskSettings methods ***/ +#define ITaskSettings_get_AllowDemandStart(This,allow) (This)->lpVtbl->get_AllowDemandStart(This,allow) +#define ITaskSettings_put_AllowDemandStart(This,allow) (This)->lpVtbl->put_AllowDemandStart(This,allow) +#define ITaskSettings_get_RestartInterval(This,interval) (This)->lpVtbl->get_RestartInterval(This,interval) +#define ITaskSettings_put_RestartInterval(This,interval) (This)->lpVtbl->put_RestartInterval(This,interval) +#define ITaskSettings_get_RestartCount(This,count) (This)->lpVtbl->get_RestartCount(This,count) +#define ITaskSettings_put_RestartCount(This,count) (This)->lpVtbl->put_RestartCount(This,count) +#define ITaskSettings_get_MultipleInstances(This,policy) (This)->lpVtbl->get_MultipleInstances(This,policy) +#define ITaskSettings_put_MultipleInstances(This,policy) (This)->lpVtbl->put_MultipleInstances(This,policy) +#define ITaskSettings_get_StopIfGoingOnBatteries(This,stop) (This)->lpVtbl->get_StopIfGoingOnBatteries(This,stop) +#define ITaskSettings_put_StopIfGoingOnBatteries(This,stop) (This)->lpVtbl->put_StopIfGoingOnBatteries(This,stop) +#define ITaskSettings_get_DisallowStartIfOnBatteries(This,disallow) (This)->lpVtbl->get_DisallowStartIfOnBatteries(This,disallow) +#define ITaskSettings_put_DisallowStartIfOnBatteries(This,disallow) (This)->lpVtbl->put_DisallowStartIfOnBatteries(This,disallow) +#define ITaskSettings_get_AllowHardTerminate(This,allow) (This)->lpVtbl->get_AllowHardTerminate(This,allow) +#define ITaskSettings_put_AllowHardTerminate(This,allow) (This)->lpVtbl->put_AllowHardTerminate(This,allow) +#define ITaskSettings_get_StartWhenAvailable(This,start) (This)->lpVtbl->get_StartWhenAvailable(This,start) +#define ITaskSettings_put_StartWhenAvailable(This,start) (This)->lpVtbl->put_StartWhenAvailable(This,start) +#define ITaskSettings_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml) +#define ITaskSettings_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml) +#define ITaskSettings_get_RunOnlyIfNetworkAvailable(This,run) (This)->lpVtbl->get_RunOnlyIfNetworkAvailable(This,run) +#define ITaskSettings_put_RunOnlyIfNetworkAvailable(This,run) (This)->lpVtbl->put_RunOnlyIfNetworkAvailable(This,run) +#define ITaskSettings_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit) +#define ITaskSettings_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit) +#define ITaskSettings_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define ITaskSettings_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#define ITaskSettings_get_DeleteExpiredTaskAfter(This,delay) (This)->lpVtbl->get_DeleteExpiredTaskAfter(This,delay) +#define ITaskSettings_put_DeleteExpiredTaskAfter(This,delay) (This)->lpVtbl->put_DeleteExpiredTaskAfter(This,delay) +#define ITaskSettings_get_Priority(This,priority) (This)->lpVtbl->get_Priority(This,priority) +#define ITaskSettings_put_Priority(This,priority) (This)->lpVtbl->put_Priority(This,priority) +#define ITaskSettings_get_Compatibility(This,level) (This)->lpVtbl->get_Compatibility(This,level) +#define ITaskSettings_put_Compatibility(This,level) (This)->lpVtbl->put_Compatibility(This,level) +#define ITaskSettings_get_Hidden(This,hidden) (This)->lpVtbl->get_Hidden(This,hidden) +#define ITaskSettings_put_Hidden(This,hidden) (This)->lpVtbl->put_Hidden(This,hidden) +#define ITaskSettings_get_IdleSettings(This,settings) (This)->lpVtbl->get_IdleSettings(This,settings) +#define ITaskSettings_put_IdleSettings(This,settings) (This)->lpVtbl->put_IdleSettings(This,settings) +#define ITaskSettings_get_RunOnlyIfIdle(This,run) (This)->lpVtbl->get_RunOnlyIfIdle(This,run) +#define ITaskSettings_put_RunOnlyIfIdle(This,run) (This)->lpVtbl->put_RunOnlyIfIdle(This,run) +#define ITaskSettings_get_WakeToRun(This,wake) (This)->lpVtbl->get_WakeToRun(This,wake) +#define ITaskSettings_put_WakeToRun(This,wake) (This)->lpVtbl->put_WakeToRun(This,wake) +#define ITaskSettings_get_NetworkSettings(This,settings) (This)->lpVtbl->get_NetworkSettings(This,settings) +#define ITaskSettings_put_NetworkSettings(This,settings) (This)->lpVtbl->put_NetworkSettings(This,settings) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITaskSettings_QueryInterface(ITaskSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITaskSettings_AddRef(ITaskSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITaskSettings_Release(ITaskSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITaskSettings_GetTypeInfoCount(ITaskSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITaskSettings_GetTypeInfo(ITaskSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITaskSettings_GetIDsOfNames(ITaskSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITaskSettings_Invoke(ITaskSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITaskSettings methods ***/ +static FORCEINLINE HRESULT ITaskSettings_get_AllowDemandStart(ITaskSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowDemandStart(This,allow); +} +static FORCEINLINE HRESULT ITaskSettings_put_AllowDemandStart(ITaskSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowDemandStart(This,allow); +} +static FORCEINLINE HRESULT ITaskSettings_get_RestartInterval(ITaskSettings* This,BSTR *interval) { + return This->lpVtbl->get_RestartInterval(This,interval); +} +static FORCEINLINE HRESULT ITaskSettings_put_RestartInterval(ITaskSettings* This,BSTR interval) { + return This->lpVtbl->put_RestartInterval(This,interval); +} +static FORCEINLINE HRESULT ITaskSettings_get_RestartCount(ITaskSettings* This,INT *count) { + return This->lpVtbl->get_RestartCount(This,count); +} +static FORCEINLINE HRESULT ITaskSettings_put_RestartCount(ITaskSettings* This,INT count) { + return This->lpVtbl->put_RestartCount(This,count); +} +static FORCEINLINE HRESULT ITaskSettings_get_MultipleInstances(ITaskSettings* This,TASK_INSTANCES_POLICY *policy) { + return This->lpVtbl->get_MultipleInstances(This,policy); +} +static FORCEINLINE HRESULT ITaskSettings_put_MultipleInstances(ITaskSettings* This,TASK_INSTANCES_POLICY policy) { + return This->lpVtbl->put_MultipleInstances(This,policy); +} +static FORCEINLINE HRESULT ITaskSettings_get_StopIfGoingOnBatteries(ITaskSettings* This,VARIANT_BOOL *stop) { + return This->lpVtbl->get_StopIfGoingOnBatteries(This,stop); +} +static FORCEINLINE HRESULT ITaskSettings_put_StopIfGoingOnBatteries(ITaskSettings* This,VARIANT_BOOL stop) { + return This->lpVtbl->put_StopIfGoingOnBatteries(This,stop); +} +static FORCEINLINE HRESULT ITaskSettings_get_DisallowStartIfOnBatteries(ITaskSettings* This,VARIANT_BOOL *disallow) { + return This->lpVtbl->get_DisallowStartIfOnBatteries(This,disallow); +} +static FORCEINLINE HRESULT ITaskSettings_put_DisallowStartIfOnBatteries(ITaskSettings* This,VARIANT_BOOL disallow) { + return This->lpVtbl->put_DisallowStartIfOnBatteries(This,disallow); +} +static FORCEINLINE HRESULT ITaskSettings_get_AllowHardTerminate(ITaskSettings* This,VARIANT_BOOL *allow) { + return This->lpVtbl->get_AllowHardTerminate(This,allow); +} +static FORCEINLINE HRESULT ITaskSettings_put_AllowHardTerminate(ITaskSettings* This,VARIANT_BOOL allow) { + return This->lpVtbl->put_AllowHardTerminate(This,allow); +} +static FORCEINLINE HRESULT ITaskSettings_get_StartWhenAvailable(ITaskSettings* This,VARIANT_BOOL *start) { + return This->lpVtbl->get_StartWhenAvailable(This,start); +} +static FORCEINLINE HRESULT ITaskSettings_put_StartWhenAvailable(ITaskSettings* This,VARIANT_BOOL start) { + return This->lpVtbl->put_StartWhenAvailable(This,start); +} +static FORCEINLINE HRESULT ITaskSettings_get_XmlText(ITaskSettings* This,BSTR *xml) { + return This->lpVtbl->get_XmlText(This,xml); +} +static FORCEINLINE HRESULT ITaskSettings_put_XmlText(ITaskSettings* This,BSTR xml) { + return This->lpVtbl->put_XmlText(This,xml); +} +static FORCEINLINE HRESULT ITaskSettings_get_RunOnlyIfNetworkAvailable(ITaskSettings* This,VARIANT_BOOL *run) { + return This->lpVtbl->get_RunOnlyIfNetworkAvailable(This,run); +} +static FORCEINLINE HRESULT ITaskSettings_put_RunOnlyIfNetworkAvailable(ITaskSettings* This,VARIANT_BOOL run) { + return This->lpVtbl->put_RunOnlyIfNetworkAvailable(This,run); +} +static FORCEINLINE HRESULT ITaskSettings_get_ExecutionTimeLimit(ITaskSettings* This,BSTR *limit) { + return This->lpVtbl->get_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT ITaskSettings_put_ExecutionTimeLimit(ITaskSettings* This,BSTR limit) { + return This->lpVtbl->put_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT ITaskSettings_get_Enabled(ITaskSettings* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT ITaskSettings_put_Enabled(ITaskSettings* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +static FORCEINLINE HRESULT ITaskSettings_get_DeleteExpiredTaskAfter(ITaskSettings* This,BSTR *delay) { + return This->lpVtbl->get_DeleteExpiredTaskAfter(This,delay); +} +static FORCEINLINE HRESULT ITaskSettings_put_DeleteExpiredTaskAfter(ITaskSettings* This,BSTR delay) { + return This->lpVtbl->put_DeleteExpiredTaskAfter(This,delay); +} +static FORCEINLINE HRESULT ITaskSettings_get_Priority(ITaskSettings* This,INT *priority) { + return This->lpVtbl->get_Priority(This,priority); +} +static FORCEINLINE HRESULT ITaskSettings_put_Priority(ITaskSettings* This,INT priority) { + return This->lpVtbl->put_Priority(This,priority); +} +static FORCEINLINE HRESULT ITaskSettings_get_Compatibility(ITaskSettings* This,TASK_COMPATIBILITY *level) { + return This->lpVtbl->get_Compatibility(This,level); +} +static FORCEINLINE HRESULT ITaskSettings_put_Compatibility(ITaskSettings* This,TASK_COMPATIBILITY level) { + return This->lpVtbl->put_Compatibility(This,level); +} +static FORCEINLINE HRESULT ITaskSettings_get_Hidden(ITaskSettings* This,VARIANT_BOOL *hidden) { + return This->lpVtbl->get_Hidden(This,hidden); +} +static FORCEINLINE HRESULT ITaskSettings_put_Hidden(ITaskSettings* This,VARIANT_BOOL hidden) { + return This->lpVtbl->put_Hidden(This,hidden); +} +static FORCEINLINE HRESULT ITaskSettings_get_IdleSettings(ITaskSettings* This,IIdleSettings **settings) { + return This->lpVtbl->get_IdleSettings(This,settings); +} +static FORCEINLINE HRESULT ITaskSettings_put_IdleSettings(ITaskSettings* This,IIdleSettings *settings) { + return This->lpVtbl->put_IdleSettings(This,settings); +} +static FORCEINLINE HRESULT ITaskSettings_get_RunOnlyIfIdle(ITaskSettings* This,VARIANT_BOOL *run) { + return This->lpVtbl->get_RunOnlyIfIdle(This,run); +} +static FORCEINLINE HRESULT ITaskSettings_put_RunOnlyIfIdle(ITaskSettings* This,VARIANT_BOOL run) { + return This->lpVtbl->put_RunOnlyIfIdle(This,run); +} +static FORCEINLINE HRESULT ITaskSettings_get_WakeToRun(ITaskSettings* This,VARIANT_BOOL *wake) { + return This->lpVtbl->get_WakeToRun(This,wake); +} +static FORCEINLINE HRESULT ITaskSettings_put_WakeToRun(ITaskSettings* This,VARIANT_BOOL wake) { + return This->lpVtbl->put_WakeToRun(This,wake); +} +static FORCEINLINE HRESULT ITaskSettings_get_NetworkSettings(ITaskSettings* This,INetworkSettings **settings) { + return This->lpVtbl->get_NetworkSettings(This,settings); +} +static FORCEINLINE HRESULT ITaskSettings_put_NetworkSettings(ITaskSettings* This,INetworkSettings *settings) { + return This->lpVtbl->put_NetworkSettings(This,settings); +} +#endif +#endif + +#endif + + +#endif /* __ITaskSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IIdleSettings interface + */ +#ifndef __IIdleSettings_INTERFACE_DEFINED__ +#define __IIdleSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IIdleSettings, 0x84594461, 0x0053, 0x4342, 0xa8,0xfd, 0x08,0x8f,0xab,0xf1,0x1f,0x32); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("84594461-0053-4342-a8fd-088fabf11f32") +IIdleSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_IdleDuration( + BSTR *delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IdleDuration( + BSTR delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WaitTimeout( + BSTR *timeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WaitTimeout( + BSTR timeout) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StopOnIdleEnd( + VARIANT_BOOL *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StopOnIdleEnd( + VARIANT_BOOL stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RestartOnIdle( + VARIANT_BOOL *restart) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RestartOnIdle( + VARIANT_BOOL restart) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IIdleSettings, 0x84594461, 0x0053, 0x4342, 0xa8,0xfd, 0x08,0x8f,0xab,0xf1,0x1f,0x32) +#endif +#else +typedef struct IIdleSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IIdleSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IIdleSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IIdleSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IIdleSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IIdleSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IIdleSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IIdleSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IIdleSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_IdleDuration)( + IIdleSettings *This, + BSTR *delay); + + HRESULT (STDMETHODCALLTYPE *put_IdleDuration)( + IIdleSettings *This, + BSTR delay); + + HRESULT (STDMETHODCALLTYPE *get_WaitTimeout)( + IIdleSettings *This, + BSTR *timeout); + + HRESULT (STDMETHODCALLTYPE *put_WaitTimeout)( + IIdleSettings *This, + BSTR timeout); + + HRESULT (STDMETHODCALLTYPE *get_StopOnIdleEnd)( + IIdleSettings *This, + VARIANT_BOOL *stop); + + HRESULT (STDMETHODCALLTYPE *put_StopOnIdleEnd)( + IIdleSettings *This, + VARIANT_BOOL stop); + + HRESULT (STDMETHODCALLTYPE *get_RestartOnIdle)( + IIdleSettings *This, + VARIANT_BOOL *restart); + + HRESULT (STDMETHODCALLTYPE *put_RestartOnIdle)( + IIdleSettings *This, + VARIANT_BOOL restart); + + END_INTERFACE +} IIdleSettingsVtbl; + +interface IIdleSettings { + CONST_VTBL IIdleSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IIdleSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IIdleSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IIdleSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IIdleSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IIdleSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IIdleSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IIdleSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IIdleSettings methods ***/ +#define IIdleSettings_get_IdleDuration(This,delay) (This)->lpVtbl->get_IdleDuration(This,delay) +#define IIdleSettings_put_IdleDuration(This,delay) (This)->lpVtbl->put_IdleDuration(This,delay) +#define IIdleSettings_get_WaitTimeout(This,timeout) (This)->lpVtbl->get_WaitTimeout(This,timeout) +#define IIdleSettings_put_WaitTimeout(This,timeout) (This)->lpVtbl->put_WaitTimeout(This,timeout) +#define IIdleSettings_get_StopOnIdleEnd(This,stop) (This)->lpVtbl->get_StopOnIdleEnd(This,stop) +#define IIdleSettings_put_StopOnIdleEnd(This,stop) (This)->lpVtbl->put_StopOnIdleEnd(This,stop) +#define IIdleSettings_get_RestartOnIdle(This,restart) (This)->lpVtbl->get_RestartOnIdle(This,restart) +#define IIdleSettings_put_RestartOnIdle(This,restart) (This)->lpVtbl->put_RestartOnIdle(This,restart) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IIdleSettings_QueryInterface(IIdleSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IIdleSettings_AddRef(IIdleSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IIdleSettings_Release(IIdleSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IIdleSettings_GetTypeInfoCount(IIdleSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IIdleSettings_GetTypeInfo(IIdleSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IIdleSettings_GetIDsOfNames(IIdleSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IIdleSettings_Invoke(IIdleSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IIdleSettings methods ***/ +static FORCEINLINE HRESULT IIdleSettings_get_IdleDuration(IIdleSettings* This,BSTR *delay) { + return This->lpVtbl->get_IdleDuration(This,delay); +} +static FORCEINLINE HRESULT IIdleSettings_put_IdleDuration(IIdleSettings* This,BSTR delay) { + return This->lpVtbl->put_IdleDuration(This,delay); +} +static FORCEINLINE HRESULT IIdleSettings_get_WaitTimeout(IIdleSettings* This,BSTR *timeout) { + return This->lpVtbl->get_WaitTimeout(This,timeout); +} +static FORCEINLINE HRESULT IIdleSettings_put_WaitTimeout(IIdleSettings* This,BSTR timeout) { + return This->lpVtbl->put_WaitTimeout(This,timeout); +} +static FORCEINLINE HRESULT IIdleSettings_get_StopOnIdleEnd(IIdleSettings* This,VARIANT_BOOL *stop) { + return This->lpVtbl->get_StopOnIdleEnd(This,stop); +} +static FORCEINLINE HRESULT IIdleSettings_put_StopOnIdleEnd(IIdleSettings* This,VARIANT_BOOL stop) { + return This->lpVtbl->put_StopOnIdleEnd(This,stop); +} +static FORCEINLINE HRESULT IIdleSettings_get_RestartOnIdle(IIdleSettings* This,VARIANT_BOOL *restart) { + return This->lpVtbl->get_RestartOnIdle(This,restart); +} +static FORCEINLINE HRESULT IIdleSettings_put_RestartOnIdle(IIdleSettings* This,VARIANT_BOOL restart) { + return This->lpVtbl->put_RestartOnIdle(This,restart); +} +#endif +#endif + +#endif + + +#endif /* __IIdleSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRunningTask interface + */ +#ifndef __IRunningTask_INTERFACE_DEFINED__ +#define __IRunningTask_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRunningTask, 0x653758fb, 0x7b9a, 0x4f1e, 0xa4,0x71, 0xbe,0xeb,0x8e,0x9b,0x83,0x4e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("653758fb-7b9a-4f1e-a471-beeb8e9b834e") +IRunningTask : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InstanceGuid( + BSTR *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *path) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_State( + TASK_STATE *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentAction( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Refresh( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EnginePID( + DWORD *pid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRunningTask, 0x653758fb, 0x7b9a, 0x4f1e, 0xa4,0x71, 0xbe,0xeb,0x8e,0x9b,0x83,0x4e) +#endif +#else +typedef struct IRunningTaskVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRunningTask *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRunningTask *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRunningTask *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRunningTask *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRunningTask *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRunningTask *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRunningTask *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRunningTask methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + IRunningTask *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_InstanceGuid)( + IRunningTask *This, + BSTR *guid); + + HRESULT (STDMETHODCALLTYPE *get_Path)( + IRunningTask *This, + BSTR *path); + + HRESULT (STDMETHODCALLTYPE *get_State)( + IRunningTask *This, + TASK_STATE *state); + + HRESULT (STDMETHODCALLTYPE *get_CurrentAction)( + IRunningTask *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IRunningTask *This); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IRunningTask *This); + + HRESULT (STDMETHODCALLTYPE *get_EnginePID)( + IRunningTask *This, + DWORD *pid); + + END_INTERFACE +} IRunningTaskVtbl; + +interface IRunningTask { + CONST_VTBL IRunningTaskVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRunningTask_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRunningTask_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRunningTask_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRunningTask_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRunningTask_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRunningTask_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRunningTask_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRunningTask methods ***/ +#define IRunningTask_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define IRunningTask_get_InstanceGuid(This,guid) (This)->lpVtbl->get_InstanceGuid(This,guid) +#define IRunningTask_get_Path(This,path) (This)->lpVtbl->get_Path(This,path) +#define IRunningTask_get_State(This,state) (This)->lpVtbl->get_State(This,state) +#define IRunningTask_get_CurrentAction(This,name) (This)->lpVtbl->get_CurrentAction(This,name) +#define IRunningTask_Stop(This) (This)->lpVtbl->Stop(This) +#define IRunningTask_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IRunningTask_get_EnginePID(This,pid) (This)->lpVtbl->get_EnginePID(This,pid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRunningTask_QueryInterface(IRunningTask* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRunningTask_AddRef(IRunningTask* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRunningTask_Release(IRunningTask* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRunningTask_GetTypeInfoCount(IRunningTask* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRunningTask_GetTypeInfo(IRunningTask* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRunningTask_GetIDsOfNames(IRunningTask* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRunningTask_Invoke(IRunningTask* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRunningTask methods ***/ +static FORCEINLINE HRESULT IRunningTask_get_Name(IRunningTask* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT IRunningTask_get_InstanceGuid(IRunningTask* This,BSTR *guid) { + return This->lpVtbl->get_InstanceGuid(This,guid); +} +static FORCEINLINE HRESULT IRunningTask_get_Path(IRunningTask* This,BSTR *path) { + return This->lpVtbl->get_Path(This,path); +} +static FORCEINLINE HRESULT IRunningTask_get_State(IRunningTask* This,TASK_STATE *state) { + return This->lpVtbl->get_State(This,state); +} +static FORCEINLINE HRESULT IRunningTask_get_CurrentAction(IRunningTask* This,BSTR *name) { + return This->lpVtbl->get_CurrentAction(This,name); +} +static FORCEINLINE HRESULT IRunningTask_Stop(IRunningTask* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IRunningTask_Refresh(IRunningTask* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IRunningTask_get_EnginePID(IRunningTask* This,DWORD *pid) { + return This->lpVtbl->get_EnginePID(This,pid); +} +#endif +#endif + +#endif + + +#endif /* __IRunningTask_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRunningTaskCollection interface + */ +#ifndef __IRunningTaskCollection_INTERFACE_DEFINED__ +#define __IRunningTaskCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRunningTaskCollection, 0x6a67614b, 0x6828, 0x4fec, 0xaa,0x54, 0x6d,0x52,0xe8,0xf1,0xf2,0xdb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6a67614b-6828-4fec-aa54-6d52e8f1f2db") +IRunningTaskCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + VARIANT index, + IRunningTask **task) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **penum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRunningTaskCollection, 0x6a67614b, 0x6828, 0x4fec, 0xaa,0x54, 0x6d,0x52,0xe8,0xf1,0xf2,0xdb) +#endif +#else +typedef struct IRunningTaskCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRunningTaskCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRunningTaskCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRunningTaskCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRunningTaskCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRunningTaskCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRunningTaskCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRunningTaskCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRunningTaskCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IRunningTaskCollection *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + IRunningTaskCollection *This, + VARIANT index, + IRunningTask **task); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IRunningTaskCollection *This, + IUnknown **penum); + + END_INTERFACE +} IRunningTaskCollectionVtbl; + +interface IRunningTaskCollection { + CONST_VTBL IRunningTaskCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRunningTaskCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRunningTaskCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRunningTaskCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRunningTaskCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRunningTaskCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRunningTaskCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRunningTaskCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRunningTaskCollection methods ***/ +#define IRunningTaskCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define IRunningTaskCollection_get_Item(This,index,task) (This)->lpVtbl->get_Item(This,index,task) +#define IRunningTaskCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRunningTaskCollection_QueryInterface(IRunningTaskCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRunningTaskCollection_AddRef(IRunningTaskCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRunningTaskCollection_Release(IRunningTaskCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRunningTaskCollection_GetTypeInfoCount(IRunningTaskCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRunningTaskCollection_GetTypeInfo(IRunningTaskCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRunningTaskCollection_GetIDsOfNames(IRunningTaskCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRunningTaskCollection_Invoke(IRunningTaskCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRunningTaskCollection methods ***/ +static FORCEINLINE HRESULT IRunningTaskCollection_get_Count(IRunningTaskCollection* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT IRunningTaskCollection_get_Item(IRunningTaskCollection* This,VARIANT index,IRunningTask **task) { + return This->lpVtbl->get_Item(This,index,task); +} +static FORCEINLINE HRESULT IRunningTaskCollection_get__NewEnum(IRunningTaskCollection* This,IUnknown **penum) { + return This->lpVtbl->get__NewEnum(This,penum); +} +#endif +#endif + +#endif + + +#endif /* __IRunningTaskCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITrigger interface + */ +#ifndef __ITrigger_INTERFACE_DEFINED__ +#define __ITrigger_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITrigger, 0x09941815, 0xea89, 0x4b5b, 0x89,0xe0, 0x2a,0x77,0x38,0x01,0xfa,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("09941815-ea89-4b5b-89e0-2a773801fac3") +ITrigger : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Type( + TASK_TRIGGER_TYPE2 *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Id( + BSTR *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Id( + BSTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Repetition( + IRepetitionPattern **repeat) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Repetition( + IRepetitionPattern *repeat) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ExecutionTimeLimit( + BSTR *limit) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ExecutionTimeLimit( + BSTR limit) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StartBoundary( + BSTR *start) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StartBoundary( + BSTR start) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EndBoundary( + BSTR *end) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_EndBoundary( + BSTR end) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Enabled( + VARIANT_BOOL *enabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Enabled( + VARIANT_BOOL enabled) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITrigger, 0x09941815, 0xea89, 0x4b5b, 0x89,0xe0, 0x2a,0x77,0x38,0x01,0xfa,0xc3) +#endif +#else +typedef struct ITriggerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITrigger *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITrigger *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITrigger *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITrigger *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITrigger *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITrigger *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITrigger *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITrigger methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Type)( + ITrigger *This, + TASK_TRIGGER_TYPE2 *type); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + ITrigger *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + ITrigger *This, + BSTR id); + + HRESULT (STDMETHODCALLTYPE *get_Repetition)( + ITrigger *This, + IRepetitionPattern **repeat); + + HRESULT (STDMETHODCALLTYPE *put_Repetition)( + ITrigger *This, + IRepetitionPattern *repeat); + + HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)( + ITrigger *This, + BSTR *limit); + + HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)( + ITrigger *This, + BSTR limit); + + HRESULT (STDMETHODCALLTYPE *get_StartBoundary)( + ITrigger *This, + BSTR *start); + + HRESULT (STDMETHODCALLTYPE *put_StartBoundary)( + ITrigger *This, + BSTR start); + + HRESULT (STDMETHODCALLTYPE *get_EndBoundary)( + ITrigger *This, + BSTR *end); + + HRESULT (STDMETHODCALLTYPE *put_EndBoundary)( + ITrigger *This, + BSTR end); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + ITrigger *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + ITrigger *This, + VARIANT_BOOL enabled); + + END_INTERFACE +} ITriggerVtbl; + +interface ITrigger { + CONST_VTBL ITriggerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITrigger_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITrigger_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITrigger_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITrigger_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITrigger_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITrigger_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITrigger methods ***/ +#define ITrigger_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +#define ITrigger_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define ITrigger_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#define ITrigger_get_Repetition(This,repeat) (This)->lpVtbl->get_Repetition(This,repeat) +#define ITrigger_put_Repetition(This,repeat) (This)->lpVtbl->put_Repetition(This,repeat) +#define ITrigger_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit) +#define ITrigger_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit) +#define ITrigger_get_StartBoundary(This,start) (This)->lpVtbl->get_StartBoundary(This,start) +#define ITrigger_put_StartBoundary(This,start) (This)->lpVtbl->put_StartBoundary(This,start) +#define ITrigger_get_EndBoundary(This,end) (This)->lpVtbl->get_EndBoundary(This,end) +#define ITrigger_put_EndBoundary(This,end) (This)->lpVtbl->put_EndBoundary(This,end) +#define ITrigger_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define ITrigger_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITrigger_QueryInterface(ITrigger* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITrigger_AddRef(ITrigger* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITrigger_Release(ITrigger* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITrigger_GetTypeInfoCount(ITrigger* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITrigger_GetTypeInfo(ITrigger* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITrigger_GetIDsOfNames(ITrigger* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITrigger_Invoke(ITrigger* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITrigger methods ***/ +static FORCEINLINE HRESULT ITrigger_get_Type(ITrigger* This,TASK_TRIGGER_TYPE2 *type) { + return This->lpVtbl->get_Type(This,type); +} +static FORCEINLINE HRESULT ITrigger_get_Id(ITrigger* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT ITrigger_put_Id(ITrigger* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +static FORCEINLINE HRESULT ITrigger_get_Repetition(ITrigger* This,IRepetitionPattern **repeat) { + return This->lpVtbl->get_Repetition(This,repeat); +} +static FORCEINLINE HRESULT ITrigger_put_Repetition(ITrigger* This,IRepetitionPattern *repeat) { + return This->lpVtbl->put_Repetition(This,repeat); +} +static FORCEINLINE HRESULT ITrigger_get_ExecutionTimeLimit(ITrigger* This,BSTR *limit) { + return This->lpVtbl->get_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT ITrigger_put_ExecutionTimeLimit(ITrigger* This,BSTR limit) { + return This->lpVtbl->put_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT ITrigger_get_StartBoundary(ITrigger* This,BSTR *start) { + return This->lpVtbl->get_StartBoundary(This,start); +} +static FORCEINLINE HRESULT ITrigger_put_StartBoundary(ITrigger* This,BSTR start) { + return This->lpVtbl->put_StartBoundary(This,start); +} +static FORCEINLINE HRESULT ITrigger_get_EndBoundary(ITrigger* This,BSTR *end) { + return This->lpVtbl->get_EndBoundary(This,end); +} +static FORCEINLINE HRESULT ITrigger_put_EndBoundary(ITrigger* This,BSTR end) { + return This->lpVtbl->put_EndBoundary(This,end); +} +static FORCEINLINE HRESULT ITrigger_get_Enabled(ITrigger* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT ITrigger_put_Enabled(ITrigger* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +#endif +#endif + +#endif + + +#endif /* __ITrigger_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDailyTrigger interface + */ +#ifndef __IDailyTrigger_INTERFACE_DEFINED__ +#define __IDailyTrigger_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDailyTrigger, 0x126c5cd8, 0xb288, 0x41d5, 0x8d,0xbf, 0xe4,0x91,0x44,0x6a,0xdc,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("126c5cd8-b288-41d5-8dbf-e491446adc5c") +IDailyTrigger : public ITrigger +{ + virtual HRESULT STDMETHODCALLTYPE get_DaysInterval( + short *pDays) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DaysInterval( + short days) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RandomDelay( + BSTR *pRandomDelay) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RandomDelay( + BSTR randomDelay) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDailyTrigger, 0x126c5cd8, 0xb288, 0x41d5, 0x8d,0xbf, 0xe4,0x91,0x44,0x6a,0xdc,0x5c) +#endif +#else +typedef struct IDailyTriggerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDailyTrigger *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDailyTrigger *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDailyTrigger *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDailyTrigger *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDailyTrigger *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDailyTrigger *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDailyTrigger *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITrigger methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Type)( + IDailyTrigger *This, + TASK_TRIGGER_TYPE2 *type); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + IDailyTrigger *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + IDailyTrigger *This, + BSTR id); + + HRESULT (STDMETHODCALLTYPE *get_Repetition)( + IDailyTrigger *This, + IRepetitionPattern **repeat); + + HRESULT (STDMETHODCALLTYPE *put_Repetition)( + IDailyTrigger *This, + IRepetitionPattern *repeat); + + HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)( + IDailyTrigger *This, + BSTR *limit); + + HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)( + IDailyTrigger *This, + BSTR limit); + + HRESULT (STDMETHODCALLTYPE *get_StartBoundary)( + IDailyTrigger *This, + BSTR *start); + + HRESULT (STDMETHODCALLTYPE *put_StartBoundary)( + IDailyTrigger *This, + BSTR start); + + HRESULT (STDMETHODCALLTYPE *get_EndBoundary)( + IDailyTrigger *This, + BSTR *end); + + HRESULT (STDMETHODCALLTYPE *put_EndBoundary)( + IDailyTrigger *This, + BSTR end); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + IDailyTrigger *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + IDailyTrigger *This, + VARIANT_BOOL enabled); + + /*** IDailyTrigger methods ***/ + HRESULT (STDMETHODCALLTYPE *get_DaysInterval)( + IDailyTrigger *This, + short *pDays); + + HRESULT (STDMETHODCALLTYPE *put_DaysInterval)( + IDailyTrigger *This, + short days); + + HRESULT (STDMETHODCALLTYPE *get_RandomDelay)( + IDailyTrigger *This, + BSTR *pRandomDelay); + + HRESULT (STDMETHODCALLTYPE *put_RandomDelay)( + IDailyTrigger *This, + BSTR randomDelay); + + END_INTERFACE +} IDailyTriggerVtbl; + +interface IDailyTrigger { + CONST_VTBL IDailyTriggerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDailyTrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDailyTrigger_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDailyTrigger_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDailyTrigger_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDailyTrigger_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDailyTrigger_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDailyTrigger_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITrigger methods ***/ +#define IDailyTrigger_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +#define IDailyTrigger_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define IDailyTrigger_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#define IDailyTrigger_get_Repetition(This,repeat) (This)->lpVtbl->get_Repetition(This,repeat) +#define IDailyTrigger_put_Repetition(This,repeat) (This)->lpVtbl->put_Repetition(This,repeat) +#define IDailyTrigger_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit) +#define IDailyTrigger_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit) +#define IDailyTrigger_get_StartBoundary(This,start) (This)->lpVtbl->get_StartBoundary(This,start) +#define IDailyTrigger_put_StartBoundary(This,start) (This)->lpVtbl->put_StartBoundary(This,start) +#define IDailyTrigger_get_EndBoundary(This,end) (This)->lpVtbl->get_EndBoundary(This,end) +#define IDailyTrigger_put_EndBoundary(This,end) (This)->lpVtbl->put_EndBoundary(This,end) +#define IDailyTrigger_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define IDailyTrigger_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +/*** IDailyTrigger methods ***/ +#define IDailyTrigger_get_DaysInterval(This,pDays) (This)->lpVtbl->get_DaysInterval(This,pDays) +#define IDailyTrigger_put_DaysInterval(This,days) (This)->lpVtbl->put_DaysInterval(This,days) +#define IDailyTrigger_get_RandomDelay(This,pRandomDelay) (This)->lpVtbl->get_RandomDelay(This,pRandomDelay) +#define IDailyTrigger_put_RandomDelay(This,randomDelay) (This)->lpVtbl->put_RandomDelay(This,randomDelay) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDailyTrigger_QueryInterface(IDailyTrigger* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDailyTrigger_AddRef(IDailyTrigger* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDailyTrigger_Release(IDailyTrigger* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDailyTrigger_GetTypeInfoCount(IDailyTrigger* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDailyTrigger_GetTypeInfo(IDailyTrigger* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDailyTrigger_GetIDsOfNames(IDailyTrigger* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDailyTrigger_Invoke(IDailyTrigger* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITrigger methods ***/ +static FORCEINLINE HRESULT IDailyTrigger_get_Type(IDailyTrigger* This,TASK_TRIGGER_TYPE2 *type) { + return This->lpVtbl->get_Type(This,type); +} +static FORCEINLINE HRESULT IDailyTrigger_get_Id(IDailyTrigger* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IDailyTrigger_put_Id(IDailyTrigger* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +static FORCEINLINE HRESULT IDailyTrigger_get_Repetition(IDailyTrigger* This,IRepetitionPattern **repeat) { + return This->lpVtbl->get_Repetition(This,repeat); +} +static FORCEINLINE HRESULT IDailyTrigger_put_Repetition(IDailyTrigger* This,IRepetitionPattern *repeat) { + return This->lpVtbl->put_Repetition(This,repeat); +} +static FORCEINLINE HRESULT IDailyTrigger_get_ExecutionTimeLimit(IDailyTrigger* This,BSTR *limit) { + return This->lpVtbl->get_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT IDailyTrigger_put_ExecutionTimeLimit(IDailyTrigger* This,BSTR limit) { + return This->lpVtbl->put_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT IDailyTrigger_get_StartBoundary(IDailyTrigger* This,BSTR *start) { + return This->lpVtbl->get_StartBoundary(This,start); +} +static FORCEINLINE HRESULT IDailyTrigger_put_StartBoundary(IDailyTrigger* This,BSTR start) { + return This->lpVtbl->put_StartBoundary(This,start); +} +static FORCEINLINE HRESULT IDailyTrigger_get_EndBoundary(IDailyTrigger* This,BSTR *end) { + return This->lpVtbl->get_EndBoundary(This,end); +} +static FORCEINLINE HRESULT IDailyTrigger_put_EndBoundary(IDailyTrigger* This,BSTR end) { + return This->lpVtbl->put_EndBoundary(This,end); +} +static FORCEINLINE HRESULT IDailyTrigger_get_Enabled(IDailyTrigger* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT IDailyTrigger_put_Enabled(IDailyTrigger* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +/*** IDailyTrigger methods ***/ +static FORCEINLINE HRESULT IDailyTrigger_get_DaysInterval(IDailyTrigger* This,short *pDays) { + return This->lpVtbl->get_DaysInterval(This,pDays); +} +static FORCEINLINE HRESULT IDailyTrigger_put_DaysInterval(IDailyTrigger* This,short days) { + return This->lpVtbl->put_DaysInterval(This,days); +} +static FORCEINLINE HRESULT IDailyTrigger_get_RandomDelay(IDailyTrigger* This,BSTR *pRandomDelay) { + return This->lpVtbl->get_RandomDelay(This,pRandomDelay); +} +static FORCEINLINE HRESULT IDailyTrigger_put_RandomDelay(IDailyTrigger* This,BSTR randomDelay) { + return This->lpVtbl->put_RandomDelay(This,randomDelay); +} +#endif +#endif + +#endif + + +#endif /* __IDailyTrigger_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITriggerCollection interface + */ +#ifndef __ITriggerCollection_INTERFACE_DEFINED__ +#define __ITriggerCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITriggerCollection, 0x85df5081, 0x1b24, 0x4f32, 0x87,0x8a, 0xd9,0xd1,0x4d,0xf4,0xcb,0x77); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("85df5081-1b24-4f32-878a-d9d14df4cb77") +ITriggerCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + ITrigger **trigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **penum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Create( + TASK_TRIGGER_TYPE2 type, + ITrigger **trigger) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + VARIANT index) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITriggerCollection, 0x85df5081, 0x1b24, 0x4f32, 0x87,0x8a, 0xd9,0xd1,0x4d,0xf4,0xcb,0x77) +#endif +#else +typedef struct ITriggerCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITriggerCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITriggerCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITriggerCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITriggerCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITriggerCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITriggerCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITriggerCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITriggerCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + ITriggerCollection *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + ITriggerCollection *This, + LONG index, + ITrigger **trigger); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ITriggerCollection *This, + IUnknown **penum); + + HRESULT (STDMETHODCALLTYPE *Create)( + ITriggerCollection *This, + TASK_TRIGGER_TYPE2 type, + ITrigger **trigger); + + HRESULT (STDMETHODCALLTYPE *Remove)( + ITriggerCollection *This, + VARIANT index); + + HRESULT (STDMETHODCALLTYPE *Clear)( + ITriggerCollection *This); + + END_INTERFACE +} ITriggerCollectionVtbl; + +interface ITriggerCollection { + CONST_VTBL ITriggerCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITriggerCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITriggerCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITriggerCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITriggerCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITriggerCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITriggerCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITriggerCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITriggerCollection methods ***/ +#define ITriggerCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define ITriggerCollection_get_Item(This,index,trigger) (This)->lpVtbl->get_Item(This,index,trigger) +#define ITriggerCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum) +#define ITriggerCollection_Create(This,type,trigger) (This)->lpVtbl->Create(This,type,trigger) +#define ITriggerCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index) +#define ITriggerCollection_Clear(This) (This)->lpVtbl->Clear(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITriggerCollection_QueryInterface(ITriggerCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITriggerCollection_AddRef(ITriggerCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITriggerCollection_Release(ITriggerCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITriggerCollection_GetTypeInfoCount(ITriggerCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITriggerCollection_GetTypeInfo(ITriggerCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITriggerCollection_GetIDsOfNames(ITriggerCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITriggerCollection_Invoke(ITriggerCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITriggerCollection methods ***/ +static FORCEINLINE HRESULT ITriggerCollection_get_Count(ITriggerCollection* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT ITriggerCollection_get_Item(ITriggerCollection* This,LONG index,ITrigger **trigger) { + return This->lpVtbl->get_Item(This,index,trigger); +} +static FORCEINLINE HRESULT ITriggerCollection_get__NewEnum(ITriggerCollection* This,IUnknown **penum) { + return This->lpVtbl->get__NewEnum(This,penum); +} +static FORCEINLINE HRESULT ITriggerCollection_Create(ITriggerCollection* This,TASK_TRIGGER_TYPE2 type,ITrigger **trigger) { + return This->lpVtbl->Create(This,type,trigger); +} +static FORCEINLINE HRESULT ITriggerCollection_Remove(ITriggerCollection* This,VARIANT index) { + return This->lpVtbl->Remove(This,index); +} +static FORCEINLINE HRESULT ITriggerCollection_Clear(ITriggerCollection* This) { + return This->lpVtbl->Clear(This); +} +#endif +#endif + +#endif + + +#endif /* __ITriggerCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITimeTrigger interface + */ +#ifndef __ITimeTrigger_INTERFACE_DEFINED__ +#define __ITimeTrigger_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITimeTrigger, 0xb45747e0, 0xeba7, 0x4276, 0x9f,0x29, 0x85,0xc5,0xbb,0x30,0x00,0x06); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b45747e0-eba7-4276-9f29-85c5bb300006") +ITimeTrigger : public ITrigger +{ + virtual HRESULT STDMETHODCALLTYPE get_RandomDelay( + BSTR *delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RandomDelay( + BSTR delay) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITimeTrigger, 0xb45747e0, 0xeba7, 0x4276, 0x9f,0x29, 0x85,0xc5,0xbb,0x30,0x00,0x06) +#endif +#else +typedef struct ITimeTriggerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITimeTrigger *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITimeTrigger *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITimeTrigger *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITimeTrigger *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITimeTrigger *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITimeTrigger *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITimeTrigger *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITrigger methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Type)( + ITimeTrigger *This, + TASK_TRIGGER_TYPE2 *type); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + ITimeTrigger *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + ITimeTrigger *This, + BSTR id); + + HRESULT (STDMETHODCALLTYPE *get_Repetition)( + ITimeTrigger *This, + IRepetitionPattern **repeat); + + HRESULT (STDMETHODCALLTYPE *put_Repetition)( + ITimeTrigger *This, + IRepetitionPattern *repeat); + + HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)( + ITimeTrigger *This, + BSTR *limit); + + HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)( + ITimeTrigger *This, + BSTR limit); + + HRESULT (STDMETHODCALLTYPE *get_StartBoundary)( + ITimeTrigger *This, + BSTR *start); + + HRESULT (STDMETHODCALLTYPE *put_StartBoundary)( + ITimeTrigger *This, + BSTR start); + + HRESULT (STDMETHODCALLTYPE *get_EndBoundary)( + ITimeTrigger *This, + BSTR *end); + + HRESULT (STDMETHODCALLTYPE *put_EndBoundary)( + ITimeTrigger *This, + BSTR end); + + HRESULT (STDMETHODCALLTYPE *get_Enabled)( + ITimeTrigger *This, + VARIANT_BOOL *enabled); + + HRESULT (STDMETHODCALLTYPE *put_Enabled)( + ITimeTrigger *This, + VARIANT_BOOL enabled); + + /*** ITimeTrigger methods ***/ + HRESULT (STDMETHODCALLTYPE *get_RandomDelay)( + ITimeTrigger *This, + BSTR *delay); + + HRESULT (STDMETHODCALLTYPE *put_RandomDelay)( + ITimeTrigger *This, + BSTR delay); + + END_INTERFACE +} ITimeTriggerVtbl; + +interface ITimeTrigger { + CONST_VTBL ITimeTriggerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITimeTrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITimeTrigger_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITimeTrigger_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITimeTrigger_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITimeTrigger_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITimeTrigger_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITimeTrigger_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITrigger methods ***/ +#define ITimeTrigger_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +#define ITimeTrigger_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define ITimeTrigger_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#define ITimeTrigger_get_Repetition(This,repeat) (This)->lpVtbl->get_Repetition(This,repeat) +#define ITimeTrigger_put_Repetition(This,repeat) (This)->lpVtbl->put_Repetition(This,repeat) +#define ITimeTrigger_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit) +#define ITimeTrigger_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit) +#define ITimeTrigger_get_StartBoundary(This,start) (This)->lpVtbl->get_StartBoundary(This,start) +#define ITimeTrigger_put_StartBoundary(This,start) (This)->lpVtbl->put_StartBoundary(This,start) +#define ITimeTrigger_get_EndBoundary(This,end) (This)->lpVtbl->get_EndBoundary(This,end) +#define ITimeTrigger_put_EndBoundary(This,end) (This)->lpVtbl->put_EndBoundary(This,end) +#define ITimeTrigger_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled) +#define ITimeTrigger_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled) +/*** ITimeTrigger methods ***/ +#define ITimeTrigger_get_RandomDelay(This,delay) (This)->lpVtbl->get_RandomDelay(This,delay) +#define ITimeTrigger_put_RandomDelay(This,delay) (This)->lpVtbl->put_RandomDelay(This,delay) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITimeTrigger_QueryInterface(ITimeTrigger* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITimeTrigger_AddRef(ITimeTrigger* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITimeTrigger_Release(ITimeTrigger* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITimeTrigger_GetTypeInfoCount(ITimeTrigger* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITimeTrigger_GetTypeInfo(ITimeTrigger* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITimeTrigger_GetIDsOfNames(ITimeTrigger* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITimeTrigger_Invoke(ITimeTrigger* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITrigger methods ***/ +static FORCEINLINE HRESULT ITimeTrigger_get_Type(ITimeTrigger* This,TASK_TRIGGER_TYPE2 *type) { + return This->lpVtbl->get_Type(This,type); +} +static FORCEINLINE HRESULT ITimeTrigger_get_Id(ITimeTrigger* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT ITimeTrigger_put_Id(ITimeTrigger* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +static FORCEINLINE HRESULT ITimeTrigger_get_Repetition(ITimeTrigger* This,IRepetitionPattern **repeat) { + return This->lpVtbl->get_Repetition(This,repeat); +} +static FORCEINLINE HRESULT ITimeTrigger_put_Repetition(ITimeTrigger* This,IRepetitionPattern *repeat) { + return This->lpVtbl->put_Repetition(This,repeat); +} +static FORCEINLINE HRESULT ITimeTrigger_get_ExecutionTimeLimit(ITimeTrigger* This,BSTR *limit) { + return This->lpVtbl->get_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT ITimeTrigger_put_ExecutionTimeLimit(ITimeTrigger* This,BSTR limit) { + return This->lpVtbl->put_ExecutionTimeLimit(This,limit); +} +static FORCEINLINE HRESULT ITimeTrigger_get_StartBoundary(ITimeTrigger* This,BSTR *start) { + return This->lpVtbl->get_StartBoundary(This,start); +} +static FORCEINLINE HRESULT ITimeTrigger_put_StartBoundary(ITimeTrigger* This,BSTR start) { + return This->lpVtbl->put_StartBoundary(This,start); +} +static FORCEINLINE HRESULT ITimeTrigger_get_EndBoundary(ITimeTrigger* This,BSTR *end) { + return This->lpVtbl->get_EndBoundary(This,end); +} +static FORCEINLINE HRESULT ITimeTrigger_put_EndBoundary(ITimeTrigger* This,BSTR end) { + return This->lpVtbl->put_EndBoundary(This,end); +} +static FORCEINLINE HRESULT ITimeTrigger_get_Enabled(ITimeTrigger* This,VARIANT_BOOL *enabled) { + return This->lpVtbl->get_Enabled(This,enabled); +} +static FORCEINLINE HRESULT ITimeTrigger_put_Enabled(ITimeTrigger* This,VARIANT_BOOL enabled) { + return This->lpVtbl->put_Enabled(This,enabled); +} +/*** ITimeTrigger methods ***/ +static FORCEINLINE HRESULT ITimeTrigger_get_RandomDelay(ITimeTrigger* This,BSTR *delay) { + return This->lpVtbl->get_RandomDelay(This,delay); +} +static FORCEINLINE HRESULT ITimeTrigger_put_RandomDelay(ITimeTrigger* This,BSTR delay) { + return This->lpVtbl->put_RandomDelay(This,delay); +} +#endif +#endif + +#endif + + +#endif /* __ITimeTrigger_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IRepetitionPattern interface + */ +#ifndef __IRepetitionPattern_INTERFACE_DEFINED__ +#define __IRepetitionPattern_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRepetitionPattern, 0x7fb9acf1, 0x26be, 0x400e, 0x85,0xb5, 0x29,0x4b,0x9c,0x75,0xdf,0xd6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7fb9acf1-26be-400e-85b5-294b9c75dfd6") +IRepetitionPattern : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Interval( + BSTR *interval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Interval( + BSTR interval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Duration( + BSTR *duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Duration( + BSTR duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_StopAtDurationEnd( + VARIANT_BOOL *stop) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_StopAtDurationEnd( + VARIANT_BOOL sop) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRepetitionPattern, 0x7fb9acf1, 0x26be, 0x400e, 0x85,0xb5, 0x29,0x4b,0x9c,0x75,0xdf,0xd6) +#endif +#else +typedef struct IRepetitionPatternVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRepetitionPattern *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRepetitionPattern *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRepetitionPattern *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IRepetitionPattern *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IRepetitionPattern *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IRepetitionPattern *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IRepetitionPattern *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IRepetitionPattern methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Interval)( + IRepetitionPattern *This, + BSTR *interval); + + HRESULT (STDMETHODCALLTYPE *put_Interval)( + IRepetitionPattern *This, + BSTR interval); + + HRESULT (STDMETHODCALLTYPE *get_Duration)( + IRepetitionPattern *This, + BSTR *duration); + + HRESULT (STDMETHODCALLTYPE *put_Duration)( + IRepetitionPattern *This, + BSTR duration); + + HRESULT (STDMETHODCALLTYPE *get_StopAtDurationEnd)( + IRepetitionPattern *This, + VARIANT_BOOL *stop); + + HRESULT (STDMETHODCALLTYPE *put_StopAtDurationEnd)( + IRepetitionPattern *This, + VARIANT_BOOL sop); + + END_INTERFACE +} IRepetitionPatternVtbl; + +interface IRepetitionPattern { + CONST_VTBL IRepetitionPatternVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRepetitionPattern_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRepetitionPattern_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRepetitionPattern_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IRepetitionPattern_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IRepetitionPattern_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IRepetitionPattern_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IRepetitionPattern_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IRepetitionPattern methods ***/ +#define IRepetitionPattern_get_Interval(This,interval) (This)->lpVtbl->get_Interval(This,interval) +#define IRepetitionPattern_put_Interval(This,interval) (This)->lpVtbl->put_Interval(This,interval) +#define IRepetitionPattern_get_Duration(This,duration) (This)->lpVtbl->get_Duration(This,duration) +#define IRepetitionPattern_put_Duration(This,duration) (This)->lpVtbl->put_Duration(This,duration) +#define IRepetitionPattern_get_StopAtDurationEnd(This,stop) (This)->lpVtbl->get_StopAtDurationEnd(This,stop) +#define IRepetitionPattern_put_StopAtDurationEnd(This,sop) (This)->lpVtbl->put_StopAtDurationEnd(This,sop) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRepetitionPattern_QueryInterface(IRepetitionPattern* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRepetitionPattern_AddRef(IRepetitionPattern* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRepetitionPattern_Release(IRepetitionPattern* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IRepetitionPattern_GetTypeInfoCount(IRepetitionPattern* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IRepetitionPattern_GetTypeInfo(IRepetitionPattern* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IRepetitionPattern_GetIDsOfNames(IRepetitionPattern* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IRepetitionPattern_Invoke(IRepetitionPattern* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IRepetitionPattern methods ***/ +static FORCEINLINE HRESULT IRepetitionPattern_get_Interval(IRepetitionPattern* This,BSTR *interval) { + return This->lpVtbl->get_Interval(This,interval); +} +static FORCEINLINE HRESULT IRepetitionPattern_put_Interval(IRepetitionPattern* This,BSTR interval) { + return This->lpVtbl->put_Interval(This,interval); +} +static FORCEINLINE HRESULT IRepetitionPattern_get_Duration(IRepetitionPattern* This,BSTR *duration) { + return This->lpVtbl->get_Duration(This,duration); +} +static FORCEINLINE HRESULT IRepetitionPattern_put_Duration(IRepetitionPattern* This,BSTR duration) { + return This->lpVtbl->put_Duration(This,duration); +} +static FORCEINLINE HRESULT IRepetitionPattern_get_StopAtDurationEnd(IRepetitionPattern* This,VARIANT_BOOL *stop) { + return This->lpVtbl->get_StopAtDurationEnd(This,stop); +} +static FORCEINLINE HRESULT IRepetitionPattern_put_StopAtDurationEnd(IRepetitionPattern* This,VARIANT_BOOL sop) { + return This->lpVtbl->put_StopAtDurationEnd(This,sop); +} +#endif +#endif + +#endif + + +#endif /* __IRepetitionPattern_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAction interface + */ +#ifndef __IAction_INTERFACE_DEFINED__ +#define __IAction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAction, 0xbae54997, 0x48b1, 0x4cbe, 0x99,0x65, 0xd6,0xbe,0x26,0x3e,0xbe,0xa4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bae54997-48b1-4cbe-9965-d6be263ebea4") +IAction : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Id( + BSTR *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Id( + BSTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + TASK_ACTION_TYPE *type) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAction, 0xbae54997, 0x48b1, 0x4cbe, 0x99,0x65, 0xd6,0xbe,0x26,0x3e,0xbe,0xa4) +#endif +#else +typedef struct IActionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IAction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IAction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IAction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IAction *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + IAction *This, + BSTR id); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IAction *This, + TASK_ACTION_TYPE *type); + + END_INTERFACE +} IActionVtbl; + +interface IAction { + CONST_VTBL IActionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IAction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IAction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IAction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IAction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAction methods ***/ +#define IAction_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define IAction_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#define IAction_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAction_QueryInterface(IAction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAction_AddRef(IAction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAction_Release(IAction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IAction_GetTypeInfoCount(IAction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IAction_GetTypeInfo(IAction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IAction_GetIDsOfNames(IAction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IAction_Invoke(IAction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAction methods ***/ +static FORCEINLINE HRESULT IAction_get_Id(IAction* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IAction_put_Id(IAction* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +static FORCEINLINE HRESULT IAction_get_Type(IAction* This,TASK_ACTION_TYPE *type) { + return This->lpVtbl->get_Type(This,type); +} +#endif +#endif + +#endif + + +#endif /* __IAction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActionCollection interface + */ +#ifndef __IActionCollection_INTERFACE_DEFINED__ +#define __IActionCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActionCollection, 0x02820e19, 0x7b98, 0x4ed2, 0xb2,0xe8, 0xfd,0xcc,0xce,0xff,0x61,0x9b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("02820e19-7b98-4ed2-b2e8-fdccceff619b") +IActionCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + IAction **action) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **penum) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_XmlText( + BSTR *xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_XmlText( + BSTR xml) = 0; + + virtual HRESULT STDMETHODCALLTYPE Create( + TASK_ACTION_TYPE Type, + IAction **action) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + VARIANT index) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Context( + BSTR *ctx) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Context( + BSTR ctx) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActionCollection, 0x02820e19, 0x7b98, 0x4ed2, 0xb2,0xe8, 0xfd,0xcc,0xce,0xff,0x61,0x9b) +#endif +#else +typedef struct IActionCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActionCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActionCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActionCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IActionCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IActionCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IActionCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IActionCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IActionCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Count)( + IActionCollection *This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + IActionCollection *This, + LONG index, + IAction **action); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IActionCollection *This, + IUnknown **penum); + + HRESULT (STDMETHODCALLTYPE *get_XmlText)( + IActionCollection *This, + BSTR *xml); + + HRESULT (STDMETHODCALLTYPE *put_XmlText)( + IActionCollection *This, + BSTR xml); + + HRESULT (STDMETHODCALLTYPE *Create)( + IActionCollection *This, + TASK_ACTION_TYPE Type, + IAction **action); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IActionCollection *This, + VARIANT index); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IActionCollection *This); + + HRESULT (STDMETHODCALLTYPE *get_Context)( + IActionCollection *This, + BSTR *ctx); + + HRESULT (STDMETHODCALLTYPE *put_Context)( + IActionCollection *This, + BSTR ctx); + + END_INTERFACE +} IActionCollectionVtbl; + +interface IActionCollection { + CONST_VTBL IActionCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActionCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActionCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IActionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IActionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IActionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IActionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IActionCollection methods ***/ +#define IActionCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define IActionCollection_get_Item(This,index,action) (This)->lpVtbl->get_Item(This,index,action) +#define IActionCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum) +#define IActionCollection_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml) +#define IActionCollection_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml) +#define IActionCollection_Create(This,Type,action) (This)->lpVtbl->Create(This,Type,action) +#define IActionCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index) +#define IActionCollection_Clear(This) (This)->lpVtbl->Clear(This) +#define IActionCollection_get_Context(This,ctx) (This)->lpVtbl->get_Context(This,ctx) +#define IActionCollection_put_Context(This,ctx) (This)->lpVtbl->put_Context(This,ctx) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActionCollection_QueryInterface(IActionCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActionCollection_AddRef(IActionCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActionCollection_Release(IActionCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IActionCollection_GetTypeInfoCount(IActionCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IActionCollection_GetTypeInfo(IActionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IActionCollection_GetIDsOfNames(IActionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IActionCollection_Invoke(IActionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IActionCollection methods ***/ +static FORCEINLINE HRESULT IActionCollection_get_Count(IActionCollection* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT IActionCollection_get_Item(IActionCollection* This,LONG index,IAction **action) { + return This->lpVtbl->get_Item(This,index,action); +} +static FORCEINLINE HRESULT IActionCollection_get__NewEnum(IActionCollection* This,IUnknown **penum) { + return This->lpVtbl->get__NewEnum(This,penum); +} +static FORCEINLINE HRESULT IActionCollection_get_XmlText(IActionCollection* This,BSTR *xml) { + return This->lpVtbl->get_XmlText(This,xml); +} +static FORCEINLINE HRESULT IActionCollection_put_XmlText(IActionCollection* This,BSTR xml) { + return This->lpVtbl->put_XmlText(This,xml); +} +static FORCEINLINE HRESULT IActionCollection_Create(IActionCollection* This,TASK_ACTION_TYPE Type,IAction **action) { + return This->lpVtbl->Create(This,Type,action); +} +static FORCEINLINE HRESULT IActionCollection_Remove(IActionCollection* This,VARIANT index) { + return This->lpVtbl->Remove(This,index); +} +static FORCEINLINE HRESULT IActionCollection_Clear(IActionCollection* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IActionCollection_get_Context(IActionCollection* This,BSTR *ctx) { + return This->lpVtbl->get_Context(This,ctx); +} +static FORCEINLINE HRESULT IActionCollection_put_Context(IActionCollection* This,BSTR ctx) { + return This->lpVtbl->put_Context(This,ctx); +} +#endif +#endif + +#endif + + +#endif /* __IActionCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IExecAction interface + */ +#ifndef __IExecAction_INTERFACE_DEFINED__ +#define __IExecAction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IExecAction, 0x4c3d624d, 0xfd6b, 0x49a3, 0xb9,0xb7, 0x09,0xcb,0x3c,0xd3,0xf0,0x47); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4c3d624d-fd6b-49a3-b9b7-09cb3cd3f047") +IExecAction : public IAction +{ + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *path) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Path( + BSTR path) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Arguments( + BSTR *argument) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Arguments( + BSTR argument) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WorkingDirectory( + BSTR *directory) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WorkingDirectory( + BSTR directory) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IExecAction, 0x4c3d624d, 0xfd6b, 0x49a3, 0xb9,0xb7, 0x09,0xcb,0x3c,0xd3,0xf0,0x47) +#endif +#else +typedef struct IExecActionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IExecAction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IExecAction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IExecAction *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IExecAction *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IExecAction *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IExecAction *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IExecAction *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IExecAction *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + IExecAction *This, + BSTR id); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IExecAction *This, + TASK_ACTION_TYPE *type); + + /*** IExecAction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Path)( + IExecAction *This, + BSTR *path); + + HRESULT (STDMETHODCALLTYPE *put_Path)( + IExecAction *This, + BSTR path); + + HRESULT (STDMETHODCALLTYPE *get_Arguments)( + IExecAction *This, + BSTR *argument); + + HRESULT (STDMETHODCALLTYPE *put_Arguments)( + IExecAction *This, + BSTR argument); + + HRESULT (STDMETHODCALLTYPE *get_WorkingDirectory)( + IExecAction *This, + BSTR *directory); + + HRESULT (STDMETHODCALLTYPE *put_WorkingDirectory)( + IExecAction *This, + BSTR directory); + + END_INTERFACE +} IExecActionVtbl; + +interface IExecAction { + CONST_VTBL IExecActionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IExecAction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IExecAction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IExecAction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IExecAction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IExecAction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IExecAction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IExecAction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAction methods ***/ +#define IExecAction_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define IExecAction_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#define IExecAction_get_Type(This,type) (This)->lpVtbl->get_Type(This,type) +/*** IExecAction methods ***/ +#define IExecAction_get_Path(This,path) (This)->lpVtbl->get_Path(This,path) +#define IExecAction_put_Path(This,path) (This)->lpVtbl->put_Path(This,path) +#define IExecAction_get_Arguments(This,argument) (This)->lpVtbl->get_Arguments(This,argument) +#define IExecAction_put_Arguments(This,argument) (This)->lpVtbl->put_Arguments(This,argument) +#define IExecAction_get_WorkingDirectory(This,directory) (This)->lpVtbl->get_WorkingDirectory(This,directory) +#define IExecAction_put_WorkingDirectory(This,directory) (This)->lpVtbl->put_WorkingDirectory(This,directory) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IExecAction_QueryInterface(IExecAction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IExecAction_AddRef(IExecAction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IExecAction_Release(IExecAction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IExecAction_GetTypeInfoCount(IExecAction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IExecAction_GetTypeInfo(IExecAction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IExecAction_GetIDsOfNames(IExecAction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IExecAction_Invoke(IExecAction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAction methods ***/ +static FORCEINLINE HRESULT IExecAction_get_Id(IExecAction* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IExecAction_put_Id(IExecAction* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +static FORCEINLINE HRESULT IExecAction_get_Type(IExecAction* This,TASK_ACTION_TYPE *type) { + return This->lpVtbl->get_Type(This,type); +} +/*** IExecAction methods ***/ +static FORCEINLINE HRESULT IExecAction_get_Path(IExecAction* This,BSTR *path) { + return This->lpVtbl->get_Path(This,path); +} +static FORCEINLINE HRESULT IExecAction_put_Path(IExecAction* This,BSTR path) { + return This->lpVtbl->put_Path(This,path); +} +static FORCEINLINE HRESULT IExecAction_get_Arguments(IExecAction* This,BSTR *argument) { + return This->lpVtbl->get_Arguments(This,argument); +} +static FORCEINLINE HRESULT IExecAction_put_Arguments(IExecAction* This,BSTR argument) { + return This->lpVtbl->put_Arguments(This,argument); +} +static FORCEINLINE HRESULT IExecAction_get_WorkingDirectory(IExecAction* This,BSTR *directory) { + return This->lpVtbl->get_WorkingDirectory(This,directory); +} +static FORCEINLINE HRESULT IExecAction_put_WorkingDirectory(IExecAction* This,BSTR directory) { + return This->lpVtbl->put_WorkingDirectory(This,directory); +} +#endif +#endif + +#endif + + +#endif /* __IExecAction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INetworkSettings interface + */ +#ifndef __INetworkSettings_INTERFACE_DEFINED__ +#define __INetworkSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INetworkSettings, 0x9f7dea84, 0xc30b, 0x4245, 0x80,0xb6, 0x00,0xe9,0xf6,0x46,0xf1,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9f7dea84-c30b-4245-80b6-00e9f646f1b4") +INetworkSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Name( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Id( + BSTR *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Id( + BSTR id) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INetworkSettings, 0x9f7dea84, 0xc30b, 0x4245, 0x80,0xb6, 0x00,0xe9,0xf6,0x46,0xf1,0xb4) +#endif +#else +typedef struct INetworkSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INetworkSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INetworkSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INetworkSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + INetworkSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + INetworkSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + INetworkSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + INetworkSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** INetworkSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + INetworkSettings *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_Name)( + INetworkSettings *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_Id)( + INetworkSettings *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + INetworkSettings *This, + BSTR id); + + END_INTERFACE +} INetworkSettingsVtbl; + +interface INetworkSettings { + CONST_VTBL INetworkSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INetworkSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INetworkSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INetworkSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define INetworkSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define INetworkSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define INetworkSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define INetworkSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** INetworkSettings methods ***/ +#define INetworkSettings_get_Name(This,name) (This)->lpVtbl->get_Name(This,name) +#define INetworkSettings_put_Name(This,name) (This)->lpVtbl->put_Name(This,name) +#define INetworkSettings_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define INetworkSettings_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INetworkSettings_QueryInterface(INetworkSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INetworkSettings_AddRef(INetworkSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INetworkSettings_Release(INetworkSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT INetworkSettings_GetTypeInfoCount(INetworkSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT INetworkSettings_GetTypeInfo(INetworkSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT INetworkSettings_GetIDsOfNames(INetworkSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT INetworkSettings_Invoke(INetworkSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** INetworkSettings methods ***/ +static FORCEINLINE HRESULT INetworkSettings_get_Name(INetworkSettings* This,BSTR *name) { + return This->lpVtbl->get_Name(This,name); +} +static FORCEINLINE HRESULT INetworkSettings_put_Name(INetworkSettings* This,BSTR name) { + return This->lpVtbl->put_Name(This,name); +} +static FORCEINLINE HRESULT INetworkSettings_get_Id(INetworkSettings* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT INetworkSettings_put_Id(INetworkSettings* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +#endif +#endif + +#endif + + +#endif /* __INetworkSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPrincipal interface + */ +#ifndef __IPrincipal_INTERFACE_DEFINED__ +#define __IPrincipal_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPrincipal, 0xd98d51e5, 0xc9b4, 0x496a, 0xa9,0xc1, 0x18,0x98,0x02,0x61,0xcf,0x0f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d98d51e5-c9b4-496a-a9c1-18980261cf0f") +IPrincipal : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Id( + BSTR *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Id( + BSTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DisplayName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DisplayName( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UserId( + BSTR *user) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_UserId( + BSTR user) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LogonType( + TASK_LOGON_TYPE *logon) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LogonType( + TASK_LOGON_TYPE logon) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_GroupId( + BSTR *group) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_GroupId( + BSTR group) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RunLevel( + TASK_RUNLEVEL_TYPE *level) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RunLevel( + TASK_RUNLEVEL_TYPE level) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPrincipal, 0xd98d51e5, 0xc9b4, 0x496a, 0xa9,0xc1, 0x18,0x98,0x02,0x61,0xcf,0x0f) +#endif +#else +typedef struct IPrincipalVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPrincipal *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPrincipal *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPrincipal *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IPrincipal *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IPrincipal *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IPrincipal *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IPrincipal *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IPrincipal methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IPrincipal *This, + BSTR *id); + + HRESULT (STDMETHODCALLTYPE *put_Id)( + IPrincipal *This, + BSTR id); + + HRESULT (STDMETHODCALLTYPE *get_DisplayName)( + IPrincipal *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_DisplayName)( + IPrincipal *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_UserId)( + IPrincipal *This, + BSTR *user); + + HRESULT (STDMETHODCALLTYPE *put_UserId)( + IPrincipal *This, + BSTR user); + + HRESULT (STDMETHODCALLTYPE *get_LogonType)( + IPrincipal *This, + TASK_LOGON_TYPE *logon); + + HRESULT (STDMETHODCALLTYPE *put_LogonType)( + IPrincipal *This, + TASK_LOGON_TYPE logon); + + HRESULT (STDMETHODCALLTYPE *get_GroupId)( + IPrincipal *This, + BSTR *group); + + HRESULT (STDMETHODCALLTYPE *put_GroupId)( + IPrincipal *This, + BSTR group); + + HRESULT (STDMETHODCALLTYPE *get_RunLevel)( + IPrincipal *This, + TASK_RUNLEVEL_TYPE *level); + + HRESULT (STDMETHODCALLTYPE *put_RunLevel)( + IPrincipal *This, + TASK_RUNLEVEL_TYPE level); + + END_INTERFACE +} IPrincipalVtbl; + +interface IPrincipal { + CONST_VTBL IPrincipalVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPrincipal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPrincipal_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPrincipal_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IPrincipal_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IPrincipal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IPrincipal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IPrincipal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IPrincipal methods ***/ +#define IPrincipal_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) +#define IPrincipal_put_Id(This,id) (This)->lpVtbl->put_Id(This,id) +#define IPrincipal_get_DisplayName(This,name) (This)->lpVtbl->get_DisplayName(This,name) +#define IPrincipal_put_DisplayName(This,name) (This)->lpVtbl->put_DisplayName(This,name) +#define IPrincipal_get_UserId(This,user) (This)->lpVtbl->get_UserId(This,user) +#define IPrincipal_put_UserId(This,user) (This)->lpVtbl->put_UserId(This,user) +#define IPrincipal_get_LogonType(This,logon) (This)->lpVtbl->get_LogonType(This,logon) +#define IPrincipal_put_LogonType(This,logon) (This)->lpVtbl->put_LogonType(This,logon) +#define IPrincipal_get_GroupId(This,group) (This)->lpVtbl->get_GroupId(This,group) +#define IPrincipal_put_GroupId(This,group) (This)->lpVtbl->put_GroupId(This,group) +#define IPrincipal_get_RunLevel(This,level) (This)->lpVtbl->get_RunLevel(This,level) +#define IPrincipal_put_RunLevel(This,level) (This)->lpVtbl->put_RunLevel(This,level) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPrincipal_QueryInterface(IPrincipal* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPrincipal_AddRef(IPrincipal* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPrincipal_Release(IPrincipal* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IPrincipal_GetTypeInfoCount(IPrincipal* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IPrincipal_GetTypeInfo(IPrincipal* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IPrincipal_GetIDsOfNames(IPrincipal* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IPrincipal_Invoke(IPrincipal* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IPrincipal methods ***/ +static FORCEINLINE HRESULT IPrincipal_get_Id(IPrincipal* This,BSTR *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IPrincipal_put_Id(IPrincipal* This,BSTR id) { + return This->lpVtbl->put_Id(This,id); +} +static FORCEINLINE HRESULT IPrincipal_get_DisplayName(IPrincipal* This,BSTR *name) { + return This->lpVtbl->get_DisplayName(This,name); +} +static FORCEINLINE HRESULT IPrincipal_put_DisplayName(IPrincipal* This,BSTR name) { + return This->lpVtbl->put_DisplayName(This,name); +} +static FORCEINLINE HRESULT IPrincipal_get_UserId(IPrincipal* This,BSTR *user) { + return This->lpVtbl->get_UserId(This,user); +} +static FORCEINLINE HRESULT IPrincipal_put_UserId(IPrincipal* This,BSTR user) { + return This->lpVtbl->put_UserId(This,user); +} +static FORCEINLINE HRESULT IPrincipal_get_LogonType(IPrincipal* This,TASK_LOGON_TYPE *logon) { + return This->lpVtbl->get_LogonType(This,logon); +} +static FORCEINLINE HRESULT IPrincipal_put_LogonType(IPrincipal* This,TASK_LOGON_TYPE logon) { + return This->lpVtbl->put_LogonType(This,logon); +} +static FORCEINLINE HRESULT IPrincipal_get_GroupId(IPrincipal* This,BSTR *group) { + return This->lpVtbl->get_GroupId(This,group); +} +static FORCEINLINE HRESULT IPrincipal_put_GroupId(IPrincipal* This,BSTR group) { + return This->lpVtbl->put_GroupId(This,group); +} +static FORCEINLINE HRESULT IPrincipal_get_RunLevel(IPrincipal* This,TASK_RUNLEVEL_TYPE *level) { + return This->lpVtbl->get_RunLevel(This,level); +} +static FORCEINLINE HRESULT IPrincipal_put_RunLevel(IPrincipal* This,TASK_RUNLEVEL_TYPE level) { + return This->lpVtbl->put_RunLevel(This,level); +} +#endif +#endif + +#endif + + +#endif /* __IPrincipal_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * TaskScheduler coclass + */ + +DEFINE_GUID(CLSID_TaskScheduler, 0x0f87369f, 0xa4e5, 0x4cfc, 0xbd,0x3e, 0x73,0xe6,0x15,0x45,0x72,0xdd); + +#ifdef __cplusplus +class DECLSPEC_UUID("0f87369f-a4e5-4cfc-bd3e-73e6154572dd") TaskScheduler; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(TaskScheduler, 0x0f87369f, 0xa4e5, 0x4cfc, 0xbd,0x3e, 0x73,0xe6,0x15,0x45,0x72,0xdd) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __taskschd_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/taskschd.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/taskschd.idl new file mode 100644 index 0000000..d557755 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/taskschd.idl @@ -0,0 +1,542 @@ +/* + * Task Scheduler definitions + * + * Copyright 2013 Dmitry Timoshkov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +[ + uuid(e34cb9f1-c7f7-424c-be29-027dcc09363a), + version(1.0) +] +library TaskScheduler +{ +importlib("stdole2.tlb"); + +typedef enum _TASK_STATE +{ + TASK_STATE_UNKNOWN, + TASK_STATE_DISABLED, + TASK_STATE_QUEUED, + TASK_STATE_READY, + TASK_STATE_RUNNING +} TASK_STATE; + +typedef enum _TASK_ENUM_FLAGS +{ + TASK_ENUM_HIDDEN = 0x0001 +} TASK_ENUM_FLAGS; + +typedef enum _TASK_LOGON_TYPE +{ + TASK_LOGON_NONE, + TASK_LOGON_PASSWORD, + TASK_LOGON_S4U, + TASK_LOGON_INTERACTIVE_TOKEN, + TASK_LOGON_GROUP, + TASK_LOGON_SERVICE_ACCOUNT, + TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD +} TASK_LOGON_TYPE; + +typedef enum _TASK_RUNLEVEL +{ + TASK_RUNLEVEL_LUA, + TASK_RUNLEVEL_HIGHEST +} TASK_RUNLEVEL_TYPE; + +typedef enum _TASK_TRIGGER_TYPE2 +{ + TASK_TRIGGER_EVENT, + TASK_TRIGGER_TIME, + TASK_TRIGGER_DAILY, + TASK_TRIGGER_WEEKLY, + TASK_TRIGGER_MONTHLY, + TASK_TRIGGER_MONTHLYDOW, + TASK_TRIGGER_IDLE, + TASK_TRIGGER_REGISTRATION, + TASK_TRIGGER_BOOT, + TASK_TRIGGER_LOGON, + TASK_TRIGGER_SESSION_STATE_CHANGE = 11 +} TASK_TRIGGER_TYPE2; + +typedef enum _TASK_ACTION_TYPE +{ + TASK_ACTION_EXEC = 0, + TASK_ACTION_COM_HANDLER = 5, + TASK_ACTION_SEND_EMAIL = 6, + TASK_ACTION_SHOW_MESSAGE = 7 +} TASK_ACTION_TYPE; + +typedef enum _TASK_INSTANCES_POLICY +{ + TASK_INSTANCES_PARALLEL, + TASK_INSTANCES_QUEUE, + TASK_INSTANCES_IGNORE_NEW, + TASK_INSTANCES_STOP_EXISTING +} TASK_INSTANCES_POLICY; + +typedef enum _TASK_COMPATIBILITY +{ + TASK_COMPATIBILITY_AT, + TASK_COMPATIBILITY_V1, + TASK_COMPATIBILITY_V2, + TASK_COMPATIBILITY_V2_1 +} TASK_COMPATIBILITY; + +typedef enum _TASK_CREATION +{ + TASK_VALIDATE_ONLY = 1, + TASK_CREATE = 2, + TASK_UPDATE = 4, + TASK_CREATE_OR_UPDATE = 6, + TASK_DISABLE = 8, + TASK_DONT_ADD_PRINCIPAL_ACE = 16, + TASK_IGNORE_REGISTRATION_TRIGGERS = 32 +} TASK_CREATION; + +interface ITaskService; +interface IRegisteredTask; +interface IRegisteredTaskCollection; +interface IRegistrationInfo; +interface ITaskFolder; +interface ITaskFolderCollection; +interface ITaskDefinition; +interface ITaskSettings; +interface IIdleSettings; +interface IRunningTask; +interface IRunningTaskCollection; +interface ITrigger; +interface ITriggerCollection; +interface ITimeTrigger; +interface IRepetitionPattern; +interface IAction; +interface IActionCollection; +interface IExecAction; +interface INetworkSettings; +interface IPrincipal; + +[ + object, + oleautomation, + uuid(2faba4c7-4da9-4013-9697-20cc3fd40f85) +] +interface ITaskService : IDispatch +{ + HRESULT GetFolder([in] BSTR path, [out, retval] ITaskFolder **folder ); + HRESULT GetRunningTasks([in] LONG flags, [out, retval] IRunningTaskCollection **tasks ); + HRESULT NewTask([in] DWORD flags, [out, retval] ITaskDefinition **definition ); + HRESULT Connect([in, optional] VARIANT server, [in, optional] VARIANT user, [in, optional] VARIANT domain, [in, optional] VARIANT password); + [propget] HRESULT Connected([out, retval] VARIANT_BOOL *connected); + [propget] HRESULT TargetServer([out, retval] BSTR *server); + [propget] HRESULT ConnectedUser([out, retval] BSTR *user); + [propget] HRESULT ConnectedDomain([out, retval] BSTR *domain); + [propget] HRESULT HighestVersion([out, retval] DWORD *version); +} + +[ + object, + oleautomation, + uuid(9c86f320-dee3-4dd1-b972-a303f26b061e) +] +interface IRegisteredTask : IDispatch +{ + [propget] HRESULT Name([out, retval] BSTR *name); + [propget] HRESULT Path([out, retval] BSTR *path); + [propget] HRESULT State([out, retval] TASK_STATE *state); + [propget] HRESULT Enabled([out, retval] VARIANT_BOOL *enabled); + [propput] HRESULT Enabled(VARIANT_BOOL enabled); + HRESULT Run([in] VARIANT params, [out, retval] IRunningTask **task); + HRESULT RunEx([in] VARIANT params, [in] LONG flags, [in] LONG sessionID, [in] BSTR user, [out, retval] IRunningTask **task); + HRESULT GetInstances([in] LONG flags, [out, retval] IRunningTaskCollection **tasks); + [propget] HRESULT LastRunTime([out, retval] DATE *date); + [propget] HRESULT LastTaskResult([out, retval] LONG *result); + [propget] HRESULT NumberOfMissedRuns([out, retval] LONG *runs); + [propget] HRESULT NextRunTime([out, retval] DATE *date); + [propget] HRESULT Definition([out, retval] ITaskDefinition **task); + [propget] HRESULT Xml([out, retval] BSTR *xml); + HRESULT GetSecurityDescriptor([in] LONG info, [out, retval] BSTR *sddl); + HRESULT SetSecurityDescriptor([in] BSTR sddl, [in] LONG flags); + HRESULT Stop([in] LONG flags); + HRESULT GetRunTimes([in] const LPSYSTEMTIME start, [in] const LPSYSTEMTIME end, [in, out] DWORD *count, [out] LPSYSTEMTIME *time); +} + +[ + object, + oleautomation, + uuid(86627eb4-42a7-41e4-a4d9-ac33a72f2d52) +] +interface IRegisteredTaskCollection : IDispatch +{ + [propget] HRESULT Count([out, retval] LONG *count); + [propget] HRESULT Item([in] VARIANT index, [out, retval] IRegisteredTask **task); + [propget] HRESULT _NewEnum([out, retval] IUnknown **penum); +} + +[ + object, + oleautomation, + uuid(416d8b73-cb41-4ea1-805c-9be9a5ac4a74) +] +interface IRegistrationInfo : IDispatch +{ + [propget] HRESULT Description([out, retval] BSTR *description); + [propput] HRESULT Description([in] BSTR description); + [propget] HRESULT Author([out, retval] BSTR *author); + [propput] HRESULT Author([in] BSTR author); + [propget] HRESULT Version([out, retval] BSTR *version); + [propput] HRESULT Version([in] BSTR version); + [propget] HRESULT Date([out, retval] BSTR *date); + [propput] HRESULT Date([in] BSTR date); + [propget] HRESULT Documentation([out, retval] BSTR *doc); + [propput] HRESULT Documentation([in] BSTR doc); + [propget] HRESULT XmlText([out, retval] BSTR *xml); + [propput] HRESULT XmlText([in] BSTR xml); + [propget] HRESULT URI([out, retval] BSTR *uri); + [propput] HRESULT URI([in] BSTR uri); + [propget] HRESULT SecurityDescriptor([out, retval] VARIANT *sddl); + [propput] HRESULT SecurityDescriptor([in] VARIANT sddl); + [propget] HRESULT Source([out, retval] BSTR *source); + [propput] HRESULT Source([in] BSTR source); +} + +[ + object, + oleautomation, + uuid(8cfac062-a080-4c15-9a88-aa7c2af80dfc) +] +interface ITaskFolder : IDispatch +{ + [propget] HRESULT Name([out, retval] BSTR *name); + [propget] HRESULT Path([out, retval] BSTR *path); + HRESULT GetFolder([in] BSTR path, [out, retval] ITaskFolder **folder); + HRESULT GetFolders([in] LONG flags, [out, retval] ITaskFolderCollection **folders); + HRESULT CreateFolder([in] BSTR name, [in] VARIANT sddl, [out, retval] ITaskFolder **folder); + HRESULT DeleteFolder([in] BSTR name, [in] LONG flags); + HRESULT GetTask([in] BSTR path, [out, retval] IRegisteredTask **task); + HRESULT GetTasks([in] LONG flags, [out, retval] IRegisteredTaskCollection **tasks); + HRESULT DeleteTask([in] BSTR name, [in] LONG flags); + HRESULT RegisterTask([in] BSTR path, [in] BSTR xml, [in] LONG flags, [in] VARIANT user, [in] VARIANT password, + [in] TASK_LOGON_TYPE logonType, [in] VARIANT sddl, [out, retval] IRegisteredTask **task); + HRESULT RegisterTaskDefinition([in] BSTR path, [in] ITaskDefinition *definition, [in] LONG flags, + [in] VARIANT user, [in] VARIANT password, [in] TASK_LOGON_TYPE logon, + [in] VARIANT sddl, [out, retval] IRegisteredTask **task); + HRESULT GetSecurityDescriptor(LONG info, [out, retval] BSTR *sddl); + HRESULT SetSecurityDescriptor([in] BSTR sddl, [in] LONG flags); +} + +[ + object, + oleautomation, + uuid(79184a66-8664-423f-97f1-637356a5d812) +] +interface ITaskFolderCollection : IDispatch +{ + [propget] HRESULT Count([out, retval] LONG *count); + [propget] HRESULT Item([in] VARIANT index, [out, retval] ITaskFolder **folder); + [propget] HRESULT _NewEnum([out, retval] IUnknown **penum); +} + +[ + object, + oleautomation, + uuid(f5bc8fc5-536d-4f77-b852-fbc1356fdeb6) +] +interface ITaskDefinition : IDispatch +{ + [propget] HRESULT RegistrationInfo([out, retval] IRegistrationInfo **info); + [propput] HRESULT RegistrationInfo([in] IRegistrationInfo *info); + [propget] HRESULT Triggers([out, retval] ITriggerCollection **triggers); + [propput] HRESULT Triggers([in] ITriggerCollection *triggers); + [propget] HRESULT Settings([out, retval] ITaskSettings **settings); + [propput] HRESULT Settings([in] ITaskSettings *settings); + [propget] HRESULT Data([out, retval] BSTR *data); + [propput] HRESULT Data([in] BSTR data); + [propget] HRESULT Principal([out, retval] IPrincipal **principal); + [propput] HRESULT Principal([in] IPrincipal *principal); + [propget] HRESULT Actions([out, retval] IActionCollection **actions); + [propput] HRESULT Actions([in] IActionCollection *actions); + [propget] HRESULT XmlText([out, retval] BSTR *xml); + [propput] HRESULT XmlText([in] BSTR xml); +} + +[ + object, + oleautomation, + uuid(8fd4711d-2d02-4c8c-87e3-eff699de127e) +] +interface ITaskSettings : IDispatch +{ + [propget] HRESULT AllowDemandStart([out, retval] VARIANT_BOOL *allow); + [propput] HRESULT AllowDemandStart([in] VARIANT_BOOL allow); + [propget] HRESULT RestartInterval([out, retval] BSTR *interval); + [propput] HRESULT RestartInterval([in] BSTR interval); + [propget] HRESULT RestartCount([out, retval] INT *count); + [propput] HRESULT RestartCount([in] INT count); + [propget] HRESULT MultipleInstances([out, retval] TASK_INSTANCES_POLICY *policy); + [propput] HRESULT MultipleInstances([in] TASK_INSTANCES_POLICY policy); + [propget] HRESULT StopIfGoingOnBatteries([out, retval] VARIANT_BOOL *stop); + [propput] HRESULT StopIfGoingOnBatteries([in] VARIANT_BOOL stop); + [propget] HRESULT DisallowStartIfOnBatteries([out, retval] VARIANT_BOOL *disallow); + [propput] HRESULT DisallowStartIfOnBatteries([in] VARIANT_BOOL disallow); + [propget] HRESULT AllowHardTerminate([out, retval] VARIANT_BOOL *allow); + [propput] HRESULT AllowHardTerminate([in] VARIANT_BOOL allow); + [propget] HRESULT StartWhenAvailable([out, retval] VARIANT_BOOL *start); + [propput] HRESULT StartWhenAvailable([in] VARIANT_BOOL start); + [propget] HRESULT XmlText([out, retval] BSTR *xml); + [propput] HRESULT XmlText([in] BSTR xml); + [propget] HRESULT RunOnlyIfNetworkAvailable([out, retval] VARIANT_BOOL *run); + [propput] HRESULT RunOnlyIfNetworkAvailable([in] VARIANT_BOOL run); + [propget] HRESULT ExecutionTimeLimit([out, retval] BSTR *limit); + [propput] HRESULT ExecutionTimeLimit([in] BSTR limit); + [propget] HRESULT Enabled([out, retval] VARIANT_BOOL *enabled); + [propput] HRESULT Enabled([in] VARIANT_BOOL enabled); + [propget] HRESULT DeleteExpiredTaskAfter([out, retval] BSTR *delay); + [propput] HRESULT DeleteExpiredTaskAfter([in] BSTR delay); + [propget] HRESULT Priority([out, retval] INT *priority); + [propput] HRESULT Priority([in] INT priority); + [propget] HRESULT Compatibility([out, retval] TASK_COMPATIBILITY *level); + [propput] HRESULT Compatibility([in] TASK_COMPATIBILITY level); + [propget] HRESULT Hidden([out, retval] VARIANT_BOOL *hidden); + [propput] HRESULT Hidden([in] VARIANT_BOOL hidden); + [propget] HRESULT IdleSettings([out, retval] IIdleSettings **settings); + [propput] HRESULT IdleSettings([in] IIdleSettings *settings); + [propget] HRESULT RunOnlyIfIdle([out, retval] VARIANT_BOOL *run); + [propput] HRESULT RunOnlyIfIdle([in] VARIANT_BOOL run); + [propget] HRESULT WakeToRun([out, retval] VARIANT_BOOL *wake); + [propput] HRESULT WakeToRun([in] VARIANT_BOOL wake); + [propget] HRESULT NetworkSettings([out, retval] INetworkSettings **settings); + [propput] HRESULT NetworkSettings([in] INetworkSettings *settings); +} + +[ + object, + oleautomation, + uuid(84594461-0053-4342-a8fd-088fabf11f32) +] +interface IIdleSettings : IDispatch +{ + [propget] HRESULT IdleDuration([out, retval] BSTR *delay); + [propput] HRESULT IdleDuration([in] BSTR delay); + [propget] HRESULT WaitTimeout([out, retval] BSTR *timeout); + [propput] HRESULT WaitTimeout([in] BSTR timeout); + [propget] HRESULT StopOnIdleEnd([out, retval] VARIANT_BOOL *stop); + [propput] HRESULT StopOnIdleEnd([in] VARIANT_BOOL stop); + [propget] HRESULT RestartOnIdle([out, retval] VARIANT_BOOL *restart); + [propput] HRESULT RestartOnIdle([in] VARIANT_BOOL restart); +} + +[ + object, + oleautomation, + uuid(653758fb-7b9a-4f1e-a471-beeb8e9b834e) +] +interface IRunningTask : IDispatch +{ + [propget] HRESULT Name([out, retval] BSTR *name); + [propget] HRESULT InstanceGuid([out, retval] BSTR *guid); + [propget] HRESULT Path([out, retval] BSTR *path); + [propget] HRESULT State([out, retval] TASK_STATE *state); + [propget] HRESULT CurrentAction([out, retval] BSTR *name); + HRESULT Stop(void ); + HRESULT Refresh(void ); + [propget] HRESULT EnginePID([out, retval] DWORD *pid); +} + +[ + object, + oleautomation, + uuid(6a67614b-6828-4fec-aa54-6d52e8f1f2db) +] +interface IRunningTaskCollection : IDispatch +{ + [propget] HRESULT Count([out, retval] LONG *count); + [propget] HRESULT Item([in] VARIANT index, [out, retval] IRunningTask **task); + [propget] HRESULT _NewEnum([out, retval] IUnknown **penum); +} + +[ + object, + oleautomation, + uuid(09941815-ea89-4b5b-89e0-2a773801fac3) +] +interface ITrigger : IDispatch +{ + [propget] HRESULT Type([out, retval] TASK_TRIGGER_TYPE2 *type); + [propget] HRESULT Id([out, retval] BSTR *id); + [propput] HRESULT Id([in] BSTR id); + [propget] HRESULT Repetition([out, retval] IRepetitionPattern **repeat); + [propput] HRESULT Repetition([in] IRepetitionPattern *repeat); + [propget] HRESULT ExecutionTimeLimit([out, retval] BSTR *limit); + [propput] HRESULT ExecutionTimeLimit([in] BSTR limit); + [propget] HRESULT StartBoundary([out, retval] BSTR *start); + [propput] HRESULT StartBoundary([in] BSTR start); + [propget] HRESULT EndBoundary([out, retval] BSTR *end); + [propput] HRESULT EndBoundary([in] BSTR end); + [propget] HRESULT Enabled([out, retval] VARIANT_BOOL *enabled); + [propput] HRESULT Enabled([in] VARIANT_BOOL enabled); +} + +[ + odl, + uuid(126c5cd8-b288-41d5-8dbf-e491446adc5c), + oleautomation, + dual, + nonextensible +] +interface IDailyTrigger : ITrigger +{ + [propget] HRESULT DaysInterval([out, retval] short *pDays); + [propput] HRESULT DaysInterval([in] short days); + [propget] HRESULT RandomDelay([out, retval] BSTR *pRandomDelay); + [propput] HRESULT RandomDelay([in] BSTR randomDelay); +} + +[ + object, + oleautomation, + uuid(85df5081-1b24-4f32-878a-d9d14df4cb77) +] +interface ITriggerCollection : IDispatch +{ + [propget] HRESULT Count([out, retval] LONG *count); + [propget] HRESULT Item([in] LONG index, [out, retval] ITrigger **trigger); + [propget] HRESULT _NewEnum([out, retval] IUnknown **penum); + HRESULT Create([in] TASK_TRIGGER_TYPE2 type, [out, retval] ITrigger **trigger); + HRESULT Remove([in] VARIANT index); + HRESULT Clear(); +} + +[ + object, + oleautomation, + uuid(b45747e0-eba7-4276-9f29-85c5bb300006) +] +interface ITimeTrigger : ITrigger +{ + [propget] HRESULT RandomDelay([out, retval] BSTR *delay); + [propput] HRESULT RandomDelay([in] BSTR delay); +} + +[ + object, + oleautomation, + uuid(7fb9acf1-26be-400e-85b5-294b9c75dfd6) +] +interface IRepetitionPattern : IDispatch +{ + [propget] HRESULT Interval([out, retval] BSTR *interval); + [propput] HRESULT Interval([in] BSTR interval); + [propget] HRESULT Duration([out, retval] BSTR *duration); + [propput] HRESULT Duration([in] BSTR duration); + [propget] HRESULT StopAtDurationEnd([out, retval] VARIANT_BOOL *stop); + [propput] HRESULT StopAtDurationEnd([in] VARIANT_BOOL sop); +} + +[ + object, + oleautomation, + uuid(bae54997-48b1-4cbe-9965-d6be263ebea4) +] +interface IAction : IDispatch +{ + [propget] HRESULT Id([out, retval] BSTR *id); + [propput] HRESULT Id([in] BSTR id); + [propget] HRESULT Type([out, retval] TASK_ACTION_TYPE *type); +} + +[ + object, + oleautomation, + uuid(02820e19-7b98-4ed2-b2e8-fdccceff619b) +] +interface IActionCollection : IDispatch +{ + [propget] HRESULT Count([out, retval] LONG *count); + [propget] HRESULT Item([in] LONG index, [out, retval] IAction **action); + [propget] HRESULT _NewEnum([out, retval] IUnknown **penum); + [propget] HRESULT XmlText([out, retval] BSTR *xml); + [propput] HRESULT XmlText([in] BSTR xml); + HRESULT Create([in] TASK_ACTION_TYPE Type, [out, retval] IAction **action); + HRESULT Remove([in] VARIANT index); + HRESULT Clear(); + [propget] HRESULT Context([out, retval] BSTR *ctx); + [propput] HRESULT Context([in] BSTR ctx); +} + +[ + object, + oleautomation, + uuid(4c3d624d-fd6b-49a3-b9b7-09cb3cd3f047) +] +interface IExecAction : IAction +{ + [propget] HRESULT Path([out, retval] BSTR *path); + [propput] HRESULT Path([in] BSTR path); + [propget] HRESULT Arguments([out, retval] BSTR *argument); + [propput] HRESULT Arguments([in] BSTR argument); + [propget] HRESULT WorkingDirectory([out, retval] BSTR *directory); + [propput] HRESULT WorkingDirectory([in] BSTR directory); +} + +[ + object, + oleautomation, + uuid(9f7dea84-c30b-4245-80b6-00e9f646f1b4) +] +interface INetworkSettings : IDispatch +{ + [propget] HRESULT Name([out, retval] BSTR *name); + [propput] HRESULT Name([in] BSTR name); + [propget] HRESULT Id([out, retval] BSTR *id); + [propput] HRESULT Id([in] BSTR id); +} + +[ + object, + oleautomation, + uuid(d98d51e5-c9b4-496a-a9c1-18980261cf0f) +] +interface IPrincipal : IDispatch +{ + [propget] HRESULT Id([out, retval] BSTR *id); + [propput] HRESULT Id([in] BSTR id); + [propget] HRESULT DisplayName([out, retval] BSTR *name); + [propput] HRESULT DisplayName([in] BSTR name); + [propget] HRESULT UserId([out, retval] BSTR *user); + [propput] HRESULT UserId([in] BSTR user); + [propget] HRESULT LogonType([out, retval] TASK_LOGON_TYPE *logon); + [propput] HRESULT LogonType([in] TASK_LOGON_TYPE logon); + [propget] HRESULT GroupId([out, retval] BSTR *group); + [propput] HRESULT GroupId([in] BSTR group); + [propget] HRESULT RunLevel([out, retval] TASK_RUNLEVEL_TYPE *level); + [propput] HRESULT RunLevel([in] TASK_RUNLEVEL_TYPE level); +} + +[ + threading(both), + progid("Schedule.Service.1"), + vi_progid("Schedule.Service"), + uuid(0f87369f-a4e5-4cfc-bd3e-73e6154572dd) +] +coclass TaskScheduler +{ + interface ITaskService; +} + +} /* library TaskScheduler */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tchar.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tchar.h new file mode 100644 index 0000000..13c8ee6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tchar.h @@ -0,0 +1,268 @@ +/* + * Copyright (C) 1998 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_TCHAR_H +#define __WINE_TCHAR_H + +#ifdef __WINESRC__ +#error Wine should not include tchar.h internally +#endif + +#if !defined(__MSVCRT__) && (defined(_UNICODE) || defined(_MBCS)) +#error You must use msvcrt when building in Unicode/MBCS mode [-mno-cygwin] +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * tchar routines + */ +#define _strdec(start,current) ((start)<(current) ? ((char*)(current))-1 : NULL) +#define _strinc(current) (((char*)(current))+1) +#define _strncnt(str,max) (strlen(str)>(max) ? (max) : strlen(str)) +#define _strnextc(str) ((unsigned int)*(str)) +#define _strninc(str,n) (((char*)(str))+(n)) +#define _strspnp(s1,s2) (*((s1)+=strspn((s1),(s2))) ? (s1) : NULL) + + +/***************************************************************************** + * tchar mappings + */ +#ifndef _UNICODE +# ifndef _MBCS +# include +# define WINE_tchar_routine(std,mbcs,unicode) std +# else +# include +# define WINE_tchar_routine(std,mbcs,unicode) mbcs +# endif +#else /* _UNICODE */ +# include +# define WINE_tchar_routine(std,mbcs,unicode) unicode +#endif + +#define WINE_tchar_true(a) (1) +#define WINE_tchar_false(a) (0) +#define WINE_tchar_tclen(a) (1) +#define WINE_tchar_tccpy(a,b) do { *(a)=*(b); } while (0) + +#define __targv WINE_tchar_routine(__argv, __argv, __wargv) +#define _fgettc WINE_tchar_routine(fgetc, fgetc, fgetwc) +#define _fgettchar WINE_tchar_routine(fgetchar, fgetchar, _fgetwchar) +#define _fgetts WINE_tchar_routine(fgets, fgets, fgetws) +#define _fputtc WINE_tchar_routine(fputc, fputc, fputwc) +#define _fputtchar WINE_tchar_routine(fputchar, fputchar, _fputwchar) +#define _fputts WINE_tchar_routine(fputs, fputs, fputws) +#define _ftprintf WINE_tchar_routine(fprintf, fprintf, fwprintf) +#define _ftscanf WINE_tchar_routine(fscanf, fscanf, fwscanf) +#define _gettc WINE_tchar_routine(getc, getc, getwc) +#define _gettchar WINE_tchar_routine(getchar, getchar, getwchar) +#define _getts WINE_tchar_routine(gets, gets, getws) +#define _isalnum WINE_tchar_routine(isalnum, _ismbcalnum, iswalnum) +#define _istalpha WINE_tchar_routine(isalpha, _ismbcalpha, iswalpha) +#define _istascii WINE_tchar_routine(isascii, __isascii, iswascii) +#define _istcntrl WINE_tchar_routine(iscntrl, iscntrl, iswcntrl) +#define _istdigit WINE_tchar_routine(isdigit, _ismbcdigit, iswdigit) +#define _istgraph WINE_tchar_routine(isgraph, _ismbcgraph, iswgraph) +#define _istlead WINE_tchar_routine(WINE_tchar_false,_ismbblead, WINE_tchar_false) +#define _istleadbyte WINE_tchar_routine(WINE_tchar_false,isleadbyte, WINE_tchar_false) +#define _istlegal WINE_tchar_routine(WINE_tchar_true, _ismbclegal, WINE_tchar_true) +#define _istlower WINE_tchar_routine(islower, _ismbcslower,iswlower) +#define _istprint WINE_tchar_routine(isprint, _ismbcprint, iswprint) +#define _istpunct WINE_tchar_routine(ispunct, _ismbcpunct, iswpunct) +#define _istspace WINE_tchar_routine(isspace, _ismbcspace, iswspace) +#define _istupper WINE_tchar_routine(isupper, _ismbcupper, iswupper) +#define _istxdigit WINE_tchar_routine(isxdigit, isxdigit, iswxdigit) +#define _itot WINE_tchar_routine(_itoa, _itoa, _itow) +#define _ltot WINE_tchar_routine(_ltoa, _ltoa, _ltow) +#define _puttc WINE_tchar_routine(putc, putc, putwc) +#define _puttchar WINE_tchar_routine(putchar, putchar, putwchar) +#define _putts WINE_tchar_routine(puts, puts, putws) +#define _sntprintf WINE_tchar_routine(snprintf, snprintf, snwprintf) +#define _stprintf WINE_tchar_routine(sprintf, sprintf, swprintf) +#define _stscanf WINE_tchar_routine(sscanf, sscanf, swscanf) +#define _taccess WINE_tchar_routine(access, _access, _waccess) +#define _tasctime WINE_tchar_routine(asctime, asctime, _wasctime) +#define _tccpy WINE_tchar_routine(WINE_tchar_tccpy,_mbccpy, WINE_tchar_tccpy) +#define _tchdir WINE_tchar_routine(chdir, _chdir, _wchdir) +#define _tclen WINE_tchar_routine(WINE_tchar_tclen,_mbclen, WINE_tchar_tclen) +#define _tchmod WINE_tchar_routine(chmod, _chmod, _wchmod) +#define _tcreat WINE_tchar_routine(creat, _creat, _wcreat) +#define _tcscat WINE_tchar_routine(strcat, _mbscat, wcscat) +#define _tcschr WINE_tchar_routine(strchr, _mbschr, wcschr) +#define _tcsclen WINE_tchar_routine(strlen, _mbslen, wcslen) +#define _tcscmp WINE_tchar_routine(strcmp, _mbscmp, wcscmp) +#define _tcscoll WINE_tchar_routine(strcoll, _mbscoll, wcscoll) +#define _tcscpy WINE_tchar_routine(strcpy, _mbscpy, wcscpy) +#define _tcscspn WINE_tchar_routine(strcspn, _mbscspn, wcscspn) +#define _tcsdec WINE_tchar_routine(_strdec, _mbsdec, _wcsdec) +#define _tcsdup WINE_tchar_routine(strdup, _mbsdup, _wcsdup) +#define _tcsftime WINE_tchar_routine(strftime, strftime, wcsftime) +#define _tcsicmp WINE_tchar_routine(strcasecmp, _mbsicmp, _wcsicmp) +#define _tcsicoll WINE_tchar_routine(_stricoll, _stricoll, _wcsicoll) +#define _tcsinc WINE_tchar_routine(_strinc, _mbsinc, _wcsinc) +#define _tcslen WINE_tchar_routine(strlen, strlen, wcslen) +#define _tcslwr WINE_tchar_routine(_strlwr, _mbslwr, _wcslwr) +#define _tcsnbcnt WINE_tchar_routine(_strncnt, _mbsnbcnt, _wcnscnt) +#define _tcsncat WINE_tchar_routine(strncat, _mbsnbcat, wcsncat) +#define _tcsnccat WINE_tchar_routine(strncat, _mbsncat, wcsncat) +#define _tcsncmp WINE_tchar_routine(strncmp, _mbsnbcmp, wcsncmp) +#define _tcsnccmp WINE_tchar_routine(strncmp, _mbsncmp, wcsncmp) +#define _tcsnccnt WINE_tchar_routine(_strncnt, _mbsnccnt, _wcsncnt) +#define _tcsnccpy WINE_tchar_routine(strncpy, _mbsncpy, wcsncpy) +#define _tcsncicmp WINE_tchar_routine(_strnicmp, _mbsnicmp, _wcsnicmp) +#define _tcsncpy WINE_tchar_routine(strncpy, _mbsnbcpy, wcsncpy) +#define _tcsncset WINE_tchar_routine(_strnset, _mbsnset, _wcsnset) +#define _tcsnextc WINE_tchar_routine(_strnextc, _mbsnextc, _wcsnextc) +#define _tcsnicmp WINE_tchar_routine(_strnicmp, _mbsnicmp, _wcsnicmp) +#define _tcsnicoll WINE_tchar_routine(_strnicoll, _strnicoll _wcsnicoll) +#define _tcsninc WINE_tchar_routine(_strninc, _mbsninc, _wcsninc) +#define _tcsnccnt WINE_tchar_routine(_strncnt, _mbsnccnt, _wcsncnt) +#define _tcsnset WINE_tchar_routine(_strnset, _mbsnbset, _wcsnset) +#define _tcspbrk WINE_tchar_routine(strpbrk, _mbspbrk, wcspbrk) +#define _tcsspnp WINE_tchar_routine(_strspnp, _mbsspnp, _wcsspnp) +#define _tcsrchr WINE_tchar_routine(strrchr, _mbsrchr, wcsrchr) +#define _tcsrev WINE_tchar_routine(_strrev, _mbsrev, _wcsrev) +#define _tcsset WINE_tchar_routine(_strset, _mbsset, _wcsset) +#define _tcsspn WINE_tchar_routine(strspn, _mbsspn, wcsspn) +#define _tcsstr WINE_tchar_routine(strstr, _mbsstr, wcsstr) +#define _tcstod WINE_tchar_routine(strtod, strtod, wcstod) +#define _tcstok WINE_tchar_routine(strtok, _mbstok, wcstok) +#define _tcstol WINE_tchar_routine(strtol, strtol, wcstol) +#define _tcstoul WINE_tchar_routine(strtoul, strtoul, wcstoul) +#define _tcsupr WINE_tchar_routine(_strupr, _mbsupr, _wcsupr) +#define _tcsxfrm WINE_tchar_routine(strxfrm, strxfrm, wcsxfrm) +#define _tctime WINE_tchar_routine(ctime, ctime, _wctime) +#define _tenviron WINE_tchar_routine(_environ, _environ, _wenviron) +#define _texecl WINE_tchar_routine(execl, _execl, _wexecl) +#define _texecle WINE_tchar_routine(execle, _execle, _wexecle) +#define _texeclp WINE_tchar_routine(execlp, _execlp, _wexeclp) +#define _texeclpe WINE_tchar_routine(execlpe, _execlpe, _wexeclpe) +#define _texecv WINE_tchar_routine(execv, _execv, _wexecv) +#define _texecve WINE_tchar_routine(execve, _execve, _wexecve) +#define _texecvp WINE_tchar_routine(execvp, _execvp, _wexecvp) +#define _texecvpe WINE_tchar_routine(execvpe, _execvpe, _wexecvpe) +#define _tfdopen WINE_tchar_routine(fdopen, _fdopen, _wfdopen) +#define _tfinddata_t WINE_tchar_routine(_finddata_t, _finddata_t, _wfinddata_t) +#define _tfinddatai64_t WINE_tchar_routine(_finddatai64_t,_finddatai64_t,_wfinddatai64_t) +#define _tfindfirst WINE_tchar_routine(_findfirst, _findfirst, _wfindfirst) +#define _tfindnext WINE_tchar_routine(_findnext, _findnext, _wfindnext) +#define _tfopen WINE_tchar_routine(fopen, fopen, _wfopen) +#define _tfreopen WINE_tchar_routine(freopen, freopen, _wfreopen) +#define _tfsopen WINE_tchar_routine(_fsopen, _fsopen, _wfsopen) +#define _tfullpath WINE_tchar_routine(_fullpath, _fullpath, _wfullpath) +#define _tgetcwd WINE_tchar_routine(getcwd, _getcwd, _wgetcwd) +#define _tgetenv WINE_tchar_routine(getenv, getenv, _wgetenv) +#define _tmain WINE_tchar_routine(main, main, wmain) +#define _tmakepath WINE_tchar_routine(_makepath, _makepath, _wmakepath) +#define _tmkdir WINE_tchar_routine(mkdir, _mkdir, _wmkdir) +#define _tmktemp WINE_tchar_routine(mktemp, _mktemp, _wmktemp) +#define _tperror WINE_tchar_routine(perror, perror, _wperror) +#define _topen WINE_tchar_routine(open, _open, _wopen) +#define _totlower WINE_tchar_routine(tolower, _mbctolower, towlower) +#define _totupper WINE_tchar_routine(toupper, _mbctoupper, towupper) +#define _tpopen WINE_tchar_routine(popen, _popen, _wpopen) +#define _tprintf WINE_tchar_routine(printf, printf, wprintf) +#define _tremove WINE_tchar_routine(remove, remove, _wremove) +#define _trename WINE_tchar_routine(rename, rename, _wrename) +#define _trmdir WINE_tchar_routine(rmdir, _rmdir, _wrmdir) +#define _tsearchenv WINE_tchar_routine(_searchenv, _searchenv, _wsearchenv) +#define _tscanf WINE_tchar_routine(scanf, scanf, wscanf) +#define _tsetlocale WINE_tchar_routine(setlocale, setlocale, _wsetlocale) +#define _tsopen WINE_tchar_routine(_sopen, _sopen, _wsopen) +#define _tspawnl WINE_tchar_routine(_spawnl, _spawnl, _wspawnl) +#define _tspawnle WINE_tchar_routine(_spawnle, _spawnle, _wspawnle) +#define _tspawnlp WINE_tchar_routine(_spawnlp, _spawnlp, _wspawnlp) +#define _tspawnlpe WINE_tchar_routine(_spawnlpe, _spawnlpe, _wspawnlpe) +#define _tspawnv WINE_tchar_routine(_spawnv, _spawnv, _wspawnv) +#define _tspawnve WINE_tchar_routine(_spawnve, _spawnve, _wspawnve) +#define _tspawnvp WINE_tchar_routine(_spawnvp, _spawnvp, _tspawnvp) +#define _tspawnvpe WINE_tchar_routine(_spawnvpe, _spawnvpe, _tspawnvpe) +#define _tsplitpath WINE_tchar_routine(_splitpath, _splitpath, _wsplitpath) +#define _tstat WINE_tchar_routine(_stat, _stat, _wstat) +#define _tstrdate WINE_tchar_routine(_strdate, _strdate, _wstrdate) +#define _tstrtime WINE_tchar_routine(_strtime, _strtime, _wstrtime) +#define _tsystem WINE_tchar_routine(system, system, _wsystem) +#define _ttempnam WINE_tchar_routine(tempnam, _tempnam, _wtempnam) +#define _ttmpnam WINE_tchar_routine(tmpnam, tmpnam, _wtmpnam) +#define _ttoi WINE_tchar_routine(atoi, atoi, _wtoi) +#define _ttol WINE_tchar_routine(atol, atol, _wtol) +#define _tutime WINE_tchar_routine(utime, _utime, _wutime) +#define _tWinMain WINE_tchar_routine(WinMain, WinMain, wWinMain) +#define _ultot WINE_tchar_routine(_ultoa, _ultoa, _ultow) +#define _ungettc WINE_tchar_routine(ungetc, ungetc, ungetwc) +#define _vftprintf WINE_tchar_routine(vfprintf, vfprintf, vfwprintf) +#define _vsntprintf WINE_tchar_routine(vsnprintf, _vsnprintf, _vsnwprintf) +#define _vstprintf WINE_tchar_routine(vsprintf, vsprintf, vswprintf) +#define _vtprintf WINE_tchar_routine(vprintf, vprintf, vwprintf) +#define _TEOF WINE_tchar_routine(EOF, EOF, WEOF) + +#define __T(x) __TEXT(x) +#define _T(x) __T(x) +#define _TEXT(x) __T(x) + +#ifdef _UNICODE +#if !defined(_WINT_T_DEFINED) && !defined(__WINT_TYPE__) +typedef unsigned short wint_t; +#endif + +#ifndef _WCTYPE_T_DEFINED +typedef unsigned short wctype_t; +#define _WCTYPE_T_DEFINED +#endif + +#ifndef __TCHAR_DEFINED +#ifdef WINE_UNICODE_NATIVE +typedef wchar_t _TCHAR; +#else +typedef unsigned short _TCHAR; +#endif +typedef _TCHAR _TUCHAR; +typedef _TCHAR _TSCHAR; +typedef _TCHAR _TXCHAR; +typedef _TCHAR _TINT; +#define __TCHAR_DEFINED +#endif + +#else /* _UNICODE */ +#ifndef __TCHAR_DEFINED +typedef char _TCHAR; +typedef unsigned char _TUCHAR; +typedef signed char _TSCHAR; +#ifndef _MBCS +typedef unsigned char _TXCHAR; +typedef int _TINT; +#else +typedef char _TXCHAR; +typedef unsigned int _TINT; +#endif +#endif +#endif + +#ifndef _TCHAR_DEFINED +typedef _TCHAR TCHAR, *PTCHAR; +#define _TCHAR_DEFINED +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __WINE_TCHAR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tcpestats.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tcpestats.h new file mode 100644 index 0000000..0e22ee6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tcpestats.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2015 Bruno Jesus + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _TCPESTATS_ +#define _TCPESTATS_ + +/* Values used in Get/SetPerTcpConnectionEStats */ +typedef enum +{ + TcpConnectionEstatsSynOpts, + TcpConnectionEstatsData, + TcpConnectionEstatsSndCong, + TcpConnectionEstatsPath, + TcpConnectionEstatsSendBuff, + TcpConnectionEstatsRec, + TcpConnectionEstatsObsRec, + TcpConnectionEstatsBandwidth, + TcpConnectionEstatsFineRtt, + TcpConnectionEstatsMaximum +} TCP_ESTATS_TYPE; + +#endif /* _TCPESTATS_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tcpmib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tcpmib.h new file mode 100644 index 0000000..477500c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tcpmib.h @@ -0,0 +1,192 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_TCPMIB_H +#define __WINE_TCPMIB_H + +#define TCPIP_OWNING_MODULE_SIZE 16 + + +/* TCP tables */ + +typedef enum +{ + MIB_TCP_STATE_CLOSED = 1, + MIB_TCP_STATE_LISTEN = 2, + MIB_TCP_STATE_SYN_SENT = 3, + MIB_TCP_STATE_SYN_RCVD = 4, + MIB_TCP_STATE_ESTAB = 5, + MIB_TCP_STATE_FIN_WAIT1 = 6, + MIB_TCP_STATE_FIN_WAIT2 = 7, + MIB_TCP_STATE_CLOSE_WAIT = 8, + MIB_TCP_STATE_CLOSING = 9, + MIB_TCP_STATE_LAST_ACK = 10, + MIB_TCP_STATE_TIME_WAIT = 11, + MIB_TCP_STATE_DELETE_TCB = 12, +} MIB_TCP_STATE; + +typedef enum +{ + TcpConnectionOffloadStateInHost, + TcpConnectionOffloadStateOffloading, + TcpConnectionOffloadStateOffloaded, + TcpConnectionOffloadStateUploading, + TcpConnectionOffloadStateMax, +} TCP_CONNECTION_OFFLOAD_STATE, *PTCP_CONNECTION_OFFLOAD_STATE; + +typedef struct _MIB_TCPROW +{ + union + { + DWORD dwState; + MIB_TCP_STATE State; + } DUMMYUNIONNAME; + DWORD dwLocalAddr; + DWORD dwLocalPort; + DWORD dwRemoteAddr; + DWORD dwRemotePort; +} MIB_TCPROW, *PMIB_TCPROW; + +typedef struct _MIB_TCPTABLE +{ + DWORD dwNumEntries; + MIB_TCPROW table[1]; +} MIB_TCPTABLE, *PMIB_TCPTABLE; + +typedef struct _MIB_TCP6ROW { + MIB_TCP_STATE State; + IN6_ADDR LocalAddr; + DWORD dwLocalScopeId; + DWORD dwLocalPort; + IN6_ADDR RemoteAddr; + DWORD dwRemoteScopeId; + DWORD dwRemotePort; +} MIB_TCP6ROW, *PMIB_TCP6ROW; + +typedef struct _MIB_TCP6TABLE { + DWORD dwNumEntries; + MIB_TCP6ROW table[1]; +} MIB_TCP6TABLE, *PMIB_TCP6TABLE; + +typedef struct _MIB_TCP6ROW2 { + IN6_ADDR LocalAddr; + DWORD dwLocalScopeId; + DWORD dwLocalPort; + IN6_ADDR RemoteAddr; + DWORD dwRemoteScopeId; + DWORD dwRemotePort; + MIB_TCP_STATE State; + DWORD dwOwningPid; + TCP_CONNECTION_OFFLOAD_STATE dwOffloadState; +} MIB_TCP6ROW2, *PMIB_TCP6ROW2; + +typedef struct _MIB_TCP6TABLE2 { + DWORD dwNumEntries; + MIB_TCP6ROW2 table[1]; +} MIB_TCP6TABLE2, *PMIB_TCP6TABLE2; + +typedef struct _MIB_TCPROW_OWNER_PID +{ + DWORD dwState; + DWORD dwLocalAddr; + DWORD dwLocalPort; + DWORD dwRemoteAddr; + DWORD dwRemotePort; + DWORD dwOwningPid; +} MIB_TCPROW_OWNER_PID, *PMIB_TCPROW_OWNER_PID; + +typedef struct _MIB_TCPTABLE_OWNER_PID +{ + DWORD dwNumEntries; + MIB_TCPROW_OWNER_PID table[1]; +} MIB_TCPTABLE_OWNER_PID, *PMIB_TCPTABLE_OWNER_PID; + +typedef struct _MIB_TCPROW_OWNER_MODULE +{ + DWORD dwState; + DWORD dwLocalAddr; + DWORD dwLocalPort; + DWORD dwRemoteAddr; + DWORD dwRemotePort; + DWORD dwOwningPid; + LARGE_INTEGER liCreateTimestamp; + ULONGLONG OwningModuleInfo[TCPIP_OWNING_MODULE_SIZE]; +} MIB_TCPROW_OWNER_MODULE, *PMIB_TCPROW_OWNER_MODULE; + +typedef struct _MIB_TCPTABLE_OWNER_MODULE +{ + DWORD dwNumEntries; + MIB_TCPROW_OWNER_MODULE table[1]; +} MIB_TCPTABLE_OWNER_MODULE, *PMIB_TCPTABLE_OWNER_MODULE; + +typedef struct _MIB_TCPROW2 +{ + DWORD dwState; + DWORD dwLocalAddr; + DWORD dwLocalPort; + DWORD dwRemoteAddr; + DWORD dwRemotePort; + DWORD dwOwningPid; + TCP_CONNECTION_OFFLOAD_STATE dwOffloadState; +} MIB_TCPROW2, *PMIB_TCPROW2; + +typedef struct _MIB_TCPTABLE2 +{ + DWORD dwNumEntries; + MIB_TCPROW2 table[1]; +} MIB_TCPTABLE2, *PMIB_TCPTABLE2; + + +/* TCP stats */ + +typedef enum +{ + TcpRtoAlgorithmOther = 0, + TcpRtoAlgorithmConstant = 1, + TcpRtoAlgorithmRsre = 2, + TcpRtoAlgorithmVanj = 3, + + MIB_TCP_RTO_OTHER = 1, + MIB_TCP_RTO_CONSTANT = 2, + MIB_TCP_RTO_RSRE = 3, + MIB_TCP_RTO_VANJ = 4, +} TCP_RTO_ALGORITHM, *PTCP_RTO_ALGORITHM; + +typedef struct _MIB_TCPSTATS +{ + union + { + DWORD dwRtoAlgorithm; + TCP_RTO_ALGORITHM RtoAlgorithm; + } DUMMYUNIONNAME; + DWORD dwRtoMin; + DWORD dwRtoMax; + DWORD dwMaxConn; + DWORD dwActiveOpens; + DWORD dwPassiveOpens; + DWORD dwAttemptFails; + DWORD dwEstabResets; + DWORD dwCurrEstab; + DWORD dwInSegs; + DWORD dwOutSegs; + DWORD dwRetransSegs; + DWORD dwInErrs; + DWORD dwOutRsts; + DWORD dwNumConns; +} MIB_TCPSTATS, *PMIB_TCPSTATS; + +#endif /* __WINE_TCPMIB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textserv.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textserv.h new file mode 100644 index 0000000..de3bb2d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textserv.h @@ -0,0 +1,369 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _TEXTSERV_H +#define _TEXTSERV_H + +#ifdef __cplusplus +extern "C" { +#endif + +EXTERN_C const IID IID_ITextServices; +EXTERN_C const IID IID_ITextHost; + +/***************************************************************************** + * ITextServices interface + */ +#define INTERFACE ITextServices +DECLARE_INTERFACE_(ITextServices,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ + REFIID riid, + void** ppvObject) PURE; + + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + + STDMETHOD_(ULONG,Release)(THIS) PURE; + + /*** ITextServices methods ***/ + + STDMETHOD(TxSendMessage)( THIS_ + UINT msg, WPARAM wparam, LPARAM lparam, LRESULT* plresult) PURE; + + STDMETHOD(TxDraw)( THIS_ + DWORD dwDrawAspect, + LONG lindex, + void* pvAspect, + DVTARGETDEVICE* ptd, + HDC hdcDraw, + HDC hicTargetDev, + LPCRECTL lprcBounds, + LPCRECTL lprcWBounds, + LPRECT lprcUpdate, + BOOL (CALLBACK * pfnContinue)(DWORD), + DWORD dwContinue, + LONG lViewId) PURE; + + STDMETHOD(TxGetHScroll)( THIS_ + LONG* plMin, + LONG* plMax, + LONG* plPos, + LONG* plPage, + BOOL* pfEnabled) PURE; + + STDMETHOD(TxGetVScroll)( THIS_ + LONG* plMin, + LONG* plMax, + LONG* plPos, + LONG* plPage, + BOOL* pfEnabled) PURE; + + STDMETHOD(OnTxSetCursor)( THIS_ + DWORD dwDrawAspect, + LONG lindex, + void* pvAspect, + DVTARGETDEVICE* ptd, + HDC hdcDraw, + HDC hicTargetDev, + LPCRECT lprcClient, + INT x, + INT y) PURE; + + STDMETHOD(TxQueryHitPoint)( THIS_ + DWORD dwDrawAspect, + LONG lindex, + void* pvAspect, + DVTARGETDEVICE* ptd, + HDC hdcDraw, + HDC hicTargetDev, + LPCRECT lprcClient, + INT x, + INT y, + DWORD* pHitResult) PURE; + + STDMETHOD(OnTxInplaceActivate)( THIS_ + LPCRECT prcClient) PURE; + + STDMETHOD(OnTxInplaceDeactivate)( THIS ) PURE; + + STDMETHOD(OnTxUIActivate)( THIS ) PURE; + + STDMETHOD(OnTxUIDeactivate)( THIS ) PURE; + + STDMETHOD(TxGetText)( THIS_ + BSTR* pbstrText) PURE; + + STDMETHOD(TxSetText)( THIS_ + LPCWSTR pszText) PURE; + + STDMETHOD(TxGetCurTargetX)( THIS_ + LONG* x) PURE; + + STDMETHOD(TxGetBaseLinePos)( THIS_ + LONG* x) PURE; + + STDMETHOD(TxGetNaturalSize)( THIS_ + DWORD dwAspect, + HDC hdcDraw, + HDC hicTargetDev, + DVTARGETDEVICE* ptd, + DWORD dwMode, + const SIZEL* psizelExtent, + LONG* pwidth, + LONG* pheight) PURE; + + STDMETHOD(TxGetDropTarget)( THIS_ + IDropTarget** ppDropTarget) PURE; + + STDMETHOD(OnTxPropertyBitsChange)( THIS_ + DWORD dwMask, + DWORD dwBits) PURE; + + STDMETHOD(TxGetCachedSize)( THIS_ + DWORD* pdwWidth, + DWORD* pdwHeight) PURE; + +}; +#undef INTERFACE + +#ifdef COBJMACROS +/*** IUnknown methods ***/ +#define ITextServices_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ITextServices_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ITextServices_Release(p) (p)->lpVtbl->Release(p) +#endif + +typedef enum _TXTBACKSTYLE { + TXTBACK_TRANSPARENT = 0, + TXTBACK_OPAQUE +} TXTBACKSTYLE; + +enum TXTHITRESULT { + TXTHITRESULT_NOHIT = 0, + TXTHITRESULT_TRANSPARENT = 1, + TXTHITRESULT_CLOSE = 2, + TXTHITRESULT_HIT = 3 +}; + +enum TXTNATURALSIZE { + TXTNS_FITTOCONTENT = 1, + TXTNS_ROUNDTOLINE = 2 +}; + +enum TXTVIEW { + TXTVIEW_ACTIVE = 0, + TXTVIEW_INACTIVE = 1 +}; + +#define TXTBIT_RICHTEXT 0x000001 +#define TXTBIT_MULTILINE 0x000002 +#define TXTBIT_READONLY 0x000004 +#define TXTBIT_SHOWACCELERATOR 0x000008 +#define TXTBIT_USEPASSWORD 0x000010 +#define TXTBIT_HIDESELECTION 0x000020 +#define TXTBIT_SAVESELECTION 0x000040 +#define TXTBIT_AUTOWORDSEL 0x000080 +#define TXTBIT_VERTICAL 0x000100 +#define TXTBIT_SELBARCHANGE 0x000200 +#define TXTBIT_WORDWRAP 0x000400 +#define TXTBIT_ALLOWBEEP 0x000800 +#define TXTBIT_DISABLEDRAG 0x001000 +#define TXTBIT_VIEWINSETCHANGE 0x002000 +#define TXTBIT_BACKSTYLECHANGE 0x004000 +#define TXTBIT_MAXLENGTHCHANGE 0x008000 +#define TXTBIT_SCROLLBARCHANGE 0x010000 +#define TXTBIT_CHARFORMATCHANGE 0x020000 +#define TXTBIT_PARAFORMATCHANGE 0x040000 +#define TXTBIT_EXTENTCHANGE 0x080000 +#define TXTBIT_CLIENTRECTCHANGE 0x100000 +#define TXTBIT_USECURRENTBKG 0x200000 + +/***************************************************************************** + * ITextHost interface + */ +#define INTERFACE ITextHost +DECLARE_INTERFACE_(ITextHost,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD(QueryInterface)(THIS_ + REFIID riid, + void** ppvObject) PURE; + + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + + STDMETHOD_(ULONG,Release)(THIS) PURE; + + /*** ITextHost methods ***/ + STDMETHOD_(HDC,TxGetDC)( THIS + ) PURE; + + STDMETHOD_(INT,TxReleaseDC)( THIS_ + HDC hdc) PURE; + + STDMETHOD_(BOOL,TxShowScrollBar)( THIS_ + INT fnBar, + BOOL fShow) PURE; + + STDMETHOD_(BOOL,TxEnableScrollBar)( THIS_ + INT fuSBFlags, + INT fuArrowflags) PURE; + + STDMETHOD_(BOOL,TxSetScrollRange)( THIS_ + INT fnBar, + LONG nMinPos, + INT nMaxPos, + BOOL fRedraw) PURE; + + STDMETHOD_(BOOL,TxSetScrollPos)( THIS_ + INT fnBar, + INT nPos, + BOOL fRedraw) PURE; + + STDMETHOD_(void,TxInvalidateRect)( THIS_ + LPCRECT prc, + BOOL fMode) PURE; + + STDMETHOD_(void,TxViewChange)( THIS_ + BOOL fUpdate) PURE; + + STDMETHOD_(BOOL,TxCreateCaret)( THIS_ + HBITMAP hbmp, + INT xWidth, + INT yHeight) PURE; + + STDMETHOD_(BOOL,TxShowCaret)( THIS_ + BOOL fShow) PURE; + + STDMETHOD_(BOOL,TxSetCaretPos)( THIS_ + INT x, + INT y) PURE; + + STDMETHOD_(BOOL,TxSetTimer)( THIS_ + UINT idTimer, + UINT uTimeout) PURE; + + STDMETHOD_(void,TxKillTimer)( THIS_ + UINT idTimer) PURE; + + STDMETHOD_(void,TxScrollWindowEx)( THIS_ + INT dx, + INT dy, + LPCRECT lprcScroll, + LPCRECT lprcClip, + HRGN hRgnUpdate, + LPRECT lprcUpdate, + UINT fuScroll) PURE; + + STDMETHOD_(void,TxSetCapture)( THIS_ + BOOL fCapture) PURE; + + STDMETHOD_(void,TxSetFocus)( THIS + ) PURE; + + STDMETHOD_(void,TxSetCursor)( THIS_ + HCURSOR hcur, + BOOL fText) PURE; + + STDMETHOD_(BOOL,TxScreenToClient)( THIS_ + LPPOINT lppt) PURE; + + STDMETHOD_(BOOL,TxClientToScreen)( THIS_ + LPPOINT lppt) PURE; + + STDMETHOD(TxActivate)( THIS_ + LONG* plOldState) PURE; + + STDMETHOD(TxDeactivate)( THIS_ + LONG lNewState) PURE; + + STDMETHOD(TxGetClientRect)( THIS_ + LPRECT prc) PURE; + + STDMETHOD(TxGetViewInset)( THIS_ + LPRECT prc) PURE; + + STDMETHOD(TxGetCharFormat)( THIS_ + const CHARFORMATW** ppCF) PURE; + + STDMETHOD(TxGetParaFormat)( THIS_ + const PARAFORMAT** ppPF) PURE; + + STDMETHOD_(COLORREF,TxGetSysColor)( THIS_ + int nIndex) PURE; + + STDMETHOD(TxGetBackStyle)( THIS_ + TXTBACKSTYLE* pStyle) PURE; + + STDMETHOD(TxGetMaxLength)( THIS_ + DWORD* plength) PURE; + + STDMETHOD(TxGetScrollBars)( THIS_ + DWORD* pdwScrollBar) PURE; + + STDMETHOD(TxGetPasswordChar)( THIS_ + WCHAR* pch) PURE; + + STDMETHOD(TxGetAcceleratorPos)( THIS_ + LONG* pch) PURE; + + STDMETHOD(TxGetExtent)( THIS_ + LPSIZEL lpExtent) PURE; + + STDMETHOD(OnTxCharFormatChange)( THIS_ + const CHARFORMATW* pcf) PURE; + + STDMETHOD(OnTxParaFormatChange)( THIS_ + const PARAFORMAT* ppf) PURE; + + STDMETHOD(TxGetPropertyBits)( THIS_ + DWORD dwMask, + DWORD* pdwBits) PURE; + + STDMETHOD(TxNotify)( THIS_ + DWORD iNotify, + void* pv) PURE; + + STDMETHOD_(HIMC,TxImmGetContext)( THIS + ) PURE; + + STDMETHOD_(void,TxImmReleaseContext)( THIS_ + HIMC himc) PURE; + + STDMETHOD(TxGetSelectionBarWidth)( THIS_ + LONG* lSelBarWidth) PURE; + +}; +#undef INTERFACE + +#ifdef COBJMACROS +/*** IUnknown methods ***/ +#define ITextHost_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define ITextHost_AddRef(p) (p)->lpVtbl->AddRef(p) +#define ITextHost_Release(p) (p)->lpVtbl->Release(p) +#endif + +HRESULT WINAPI CreateTextServices(IUnknown*,ITextHost*,IUnknown**); + +typedef HRESULT (WINAPI *PCreateTextServices)(IUnknown*,ITextHost*,IUnknown**); + +#ifdef __cplusplus +} +#endif + +#endif /* _TEXTSERV_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textstor.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textstor.h new file mode 100644 index 0000000..26770f2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textstor.h @@ -0,0 +1,834 @@ +/*** Autogenerated by WIDL 2.18 from textstor.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __textstor_h__ +#define __textstor_h__ + +/* Forward declarations */ + +#ifndef __ITextStoreACPSink_FWD_DEFINED__ +#define __ITextStoreACPSink_FWD_DEFINED__ +typedef interface ITextStoreACPSink ITextStoreACPSink; +#ifdef __cplusplus +interface ITextStoreACPSink; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextStoreACP_FWD_DEFINED__ +#define __ITextStoreACP_FWD_DEFINED__ +typedef interface ITextStoreACP ITextStoreACP; +#ifdef __cplusplus +interface ITextStoreACP; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define TS_E_INVALIDPOS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200) +#define TS_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201) +#define TS_E_NOOBJECT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202) +#define TS_E_NOSERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203) +#define TS_E_NOINTERFACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204) +#define TS_E_NOSELECTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205) +#define TS_E_NOLAYOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206) +#define TS_E_INVALIDPOINT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207) +#define TS_E_SYNCHRONOUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208) +#define TS_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209) +#define TS_E_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x020a) +#define TS_S_ASYNC MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x0300) +#define TS_DEFAULT_SELECTION (~0) + +#define TS_SD_READONLY (0x1) + +#define TS_SD_LOADING (0x2) + +#define TS_SS_DISJOINTSEL (0x1) + +#define TS_SS_REGIONS (0x2) + +#define TS_SS_TRANSITORY (0x4) + +#define TS_SS_NOHIDDENTEXT (0x8) + +#define TS_AS_TEXT_CHANGE (0x1) + +#define TS_AS_SEL_CHANGE (0x2) + +#define TS_AS_LAYOUT_CHANGE (0x4) + +#define TS_AS_ATTR_CHANGE (0x8) + +#define TS_AS_STATUS_CHANGE (0x10) + +#define TS_AS_ALL_SINKS ((((TS_AS_TEXT_CHANGE | TS_AS_SEL_CHANGE) | TS_AS_LAYOUT_CHANGE) | TS_AS_ATTR_CHANGE) | TS_AS_STATUS_CHANGE) + +#define TS_LF_SYNC (0x1) + +#define TS_LF_READ (0x2) + +#define TS_LF_READWRITE (0x6) + +#define TS_CHAR_EMBEDDED (0xfffc) + +#define TS_CHAR_REGION (0x0) + +#define TS_CHAR_REPLACEMENT (0xfffd) + +#define TS_IAS_NOQUERY (0x1) + +#define TS_IAS_QUERYONLY (0x2) + +#define TS_ST_CORRECTION (0x1) + +#define GXFPF_ROUND_NEAREST (0x1) + +#define GXFPF_NEAREST (0x2) + +typedef enum __WIDL_textstor_generated_name_00000002 { + TS_AE_NONE = 0, + TS_AE_START = 1, + TS_AE_END = 2 +} TsActiveSelEnd; +typedef enum __WIDL_textstor_generated_name_00000003 { + TS_RT_PLAIN = 0, + TS_RT_HIDDEN = 1, + TS_RT_OPAQUE = 2 +} TsRunType; +typedef GUID TS_ATTRID; +typedef struct TS_STATUS { + DWORD dwDynamicFlags; + DWORD dwStaticFlags; +} TS_STATUS; +typedef struct TS_TEXTCHANGE { + LONG acpStart; + LONG acpOldEnd; + LONG acpNewEnd; +} TS_TEXTCHANGE; +typedef struct TS_SELECTIONSTYLE { + TsActiveSelEnd ase; + BOOL fInterimChar; +} TS_SELECTIONSTYLE; +typedef struct TS_SELECTION_ACP { + LONG acpStart; + LONG acpEnd; + TS_SELECTIONSTYLE style; +} TS_SELECTION_ACP; +typedef struct TS_RUNINFO { + ULONG uCount; + TsRunType type; +} TS_RUNINFO; +typedef struct TS_ATTRVAL { + TS_ATTRID idAttr; + DWORD dwOverlapId; + VARIANT varValue; +} TS_ATTRVAL; +#define TS_ATTR_FIND_BACKWARDS (0x1) + +#define TS_ATTR_FIND_WANT_OFFSET (0x2) + +#define TS_ATTR_FIND_UPDATESTART (0x4) + +#define TS_ATTR_FIND_WANT_VALUE (0x8) + +#define TS_ATTR_FIND_WANT_END (0x10) + +#define TS_ATTR_FIND_HIDDEN (0x20) + +typedef enum __WIDL_textstor_generated_name_00000004 { + TS_LC_CREATE = 0, + TS_LC_CHANGE = 1, + TS_LC_DESTROY = 2 +} TsLayoutCode; +typedef DWORD TsViewCookie; +/***************************************************************************** + * ITextStoreACPSink interface + */ +#ifndef __ITextStoreACPSink_INTERFACE_DEFINED__ +#define __ITextStoreACPSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextStoreACPSink, 0x22d44c94, 0xa419, 0x4542, 0xa2,0x72, 0xae,0x26,0x09,0x3e,0xce,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("22d44c94-a419-4542-a272-ae26093ececf") +ITextStoreACPSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnTextChange( + DWORD dwFlags, + const TS_TEXTCHANGE *pChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnSelectionChange( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnLayoutChange( + TsLayoutCode lcode, + TsViewCookie vcView) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStatusChange( + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnAttrsChange( + LONG acpStart, + LONG acpEnd, + ULONG cAttrs, + const TS_ATTRID *paAttrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnLockGranted( + DWORD dwLockFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStartEditTransaction( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEndEditTransaction( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextStoreACPSink, 0x22d44c94, 0xa419, 0x4542, 0xa2,0x72, 0xae,0x26,0x09,0x3e,0xce,0xcf) +#endif +#else +typedef struct ITextStoreACPSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextStoreACPSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextStoreACPSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextStoreACPSink *This); + + /*** ITextStoreACPSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnTextChange)( + ITextStoreACPSink *This, + DWORD dwFlags, + const TS_TEXTCHANGE *pChange); + + HRESULT (STDMETHODCALLTYPE *OnSelectionChange)( + ITextStoreACPSink *This); + + HRESULT (STDMETHODCALLTYPE *OnLayoutChange)( + ITextStoreACPSink *This, + TsLayoutCode lcode, + TsViewCookie vcView); + + HRESULT (STDMETHODCALLTYPE *OnStatusChange)( + ITextStoreACPSink *This, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *OnAttrsChange)( + ITextStoreACPSink *This, + LONG acpStart, + LONG acpEnd, + ULONG cAttrs, + const TS_ATTRID *paAttrs); + + HRESULT (STDMETHODCALLTYPE *OnLockGranted)( + ITextStoreACPSink *This, + DWORD dwLockFlags); + + HRESULT (STDMETHODCALLTYPE *OnStartEditTransaction)( + ITextStoreACPSink *This); + + HRESULT (STDMETHODCALLTYPE *OnEndEditTransaction)( + ITextStoreACPSink *This); + + END_INTERFACE +} ITextStoreACPSinkVtbl; + +interface ITextStoreACPSink { + CONST_VTBL ITextStoreACPSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextStoreACPSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextStoreACPSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextStoreACPSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITextStoreACPSink methods ***/ +#define ITextStoreACPSink_OnTextChange(This,dwFlags,pChange) (This)->lpVtbl->OnTextChange(This,dwFlags,pChange) +#define ITextStoreACPSink_OnSelectionChange(This) (This)->lpVtbl->OnSelectionChange(This) +#define ITextStoreACPSink_OnLayoutChange(This,lcode,vcView) (This)->lpVtbl->OnLayoutChange(This,lcode,vcView) +#define ITextStoreACPSink_OnStatusChange(This,dwFlags) (This)->lpVtbl->OnStatusChange(This,dwFlags) +#define ITextStoreACPSink_OnAttrsChange(This,acpStart,acpEnd,cAttrs,paAttrs) (This)->lpVtbl->OnAttrsChange(This,acpStart,acpEnd,cAttrs,paAttrs) +#define ITextStoreACPSink_OnLockGranted(This,dwLockFlags) (This)->lpVtbl->OnLockGranted(This,dwLockFlags) +#define ITextStoreACPSink_OnStartEditTransaction(This) (This)->lpVtbl->OnStartEditTransaction(This) +#define ITextStoreACPSink_OnEndEditTransaction(This) (This)->lpVtbl->OnEndEditTransaction(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextStoreACPSink_QueryInterface(ITextStoreACPSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextStoreACPSink_AddRef(ITextStoreACPSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextStoreACPSink_Release(ITextStoreACPSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITextStoreACPSink methods ***/ +static FORCEINLINE HRESULT ITextStoreACPSink_OnTextChange(ITextStoreACPSink* This,DWORD dwFlags,const TS_TEXTCHANGE *pChange) { + return This->lpVtbl->OnTextChange(This,dwFlags,pChange); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnSelectionChange(ITextStoreACPSink* This) { + return This->lpVtbl->OnSelectionChange(This); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnLayoutChange(ITextStoreACPSink* This,TsLayoutCode lcode,TsViewCookie vcView) { + return This->lpVtbl->OnLayoutChange(This,lcode,vcView); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnStatusChange(ITextStoreACPSink* This,DWORD dwFlags) { + return This->lpVtbl->OnStatusChange(This,dwFlags); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnAttrsChange(ITextStoreACPSink* This,LONG acpStart,LONG acpEnd,ULONG cAttrs,const TS_ATTRID *paAttrs) { + return This->lpVtbl->OnAttrsChange(This,acpStart,acpEnd,cAttrs,paAttrs); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnLockGranted(ITextStoreACPSink* This,DWORD dwLockFlags) { + return This->lpVtbl->OnLockGranted(This,dwLockFlags); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnStartEditTransaction(ITextStoreACPSink* This) { + return This->lpVtbl->OnStartEditTransaction(This); +} +static FORCEINLINE HRESULT ITextStoreACPSink_OnEndEditTransaction(ITextStoreACPSink* This) { + return This->lpVtbl->OnEndEditTransaction(This); +} +#endif +#endif + +#endif + + +#endif /* __ITextStoreACPSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITextStoreACP interface + */ +#ifndef __ITextStoreACP_INTERFACE_DEFINED__ +#define __ITextStoreACP_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextStoreACP, 0x28888fe3, 0xc2a0, 0x483a, 0xa3,0xea, 0x8c,0xb1,0xce,0x51,0xff,0x3d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("28888fe3-c2a0-483a-a3ea-8cb1ce51ff3d") +ITextStoreACP : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseSink( + REFIID riid, + IUnknown *punk, + DWORD dwMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnadviseSink( + IUnknown *punk) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestLock( + DWORD dwLockFlags, + HRESULT *phrSession) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + TS_STATUS *pdcs) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryInsert( + LONG acpTestStart, + LONG acpTestEnd, + ULONG cch, + LONG *pacpResultStart, + LONG *pacpResultEnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelection( + ULONG ulIndex, + ULONG ulCount, + TS_SELECTION_ACP *pSelection, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSelection( + ULONG ulCount, + const TS_SELECTION_ACP *pSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetText( + LONG acpStart, + LONG acpEnd, + WCHAR *pchPlain, + ULONG cchPlainReq, + ULONG *pcchPlainRet, + TS_RUNINFO *prgRunInfo, + ULONG cRunInfoReq, + ULONG *pcRunInfoRet, + LONG *pacpNext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetText( + DWORD dwFlags, + LONG acpStart, + LONG acpEnd, + const WCHAR *pchText, + ULONG cch, + TS_TEXTCHANGE *pChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFormattedText( + LONG acpStart, + LONG acpEnd, + IDataObject **ppDataObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEmbedded( + LONG acpPos, + REFGUID rguidService, + REFIID riid, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryInsertEmbedded( + const GUID *pguidService, + const FORMATETC *pFormatEtc, + BOOL *pfInsertable) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertEmbedded( + DWORD dwFlags, + LONG acpStart, + LONG acpEnd, + IDataObject *pDataObject, + TS_TEXTCHANGE *pChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertTextAtSelection( + DWORD dwFlags, + const WCHAR *pchText, + ULONG cch, + LONG *pacpStart, + LONG *pacpEnd, + TS_TEXTCHANGE *pChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertEmbeddedAtSelection( + DWORD dwFlags, + IDataObject *pDataObject, + LONG *pacpStart, + LONG *pacpEnd, + TS_TEXTCHANGE *pChange) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestSupportedAttrs( + DWORD dwFlags, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestAttrsAtPosition( + LONG acpPos, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestAttrsTransitioningAtPosition( + LONG acpPos, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindNextAttrTransition( + LONG acpStart, + LONG acpHalt, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs, + DWORD dwFlags, + LONG *pacpNext, + BOOL *pfFound, + LONG *plFoundOffset) = 0; + + virtual HRESULT STDMETHODCALLTYPE RetrieveRequestedAttrs( + ULONG ulCount, + TS_ATTRVAL *paAttrVals, + ULONG *pcFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEndACP( + LONG *pacp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveView( + TsViewCookie *pvcView) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetACPFromPoint( + TsViewCookie vcView, + const POINT *ptScreen, + DWORD dwFlags, + LONG *pacp) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTextExt( + TsViewCookie vcView, + LONG acpStart, + LONG acpEnd, + RECT *prc, + BOOL *pfClipped) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScreenExt( + TsViewCookie vcView, + RECT *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWnd( + TsViewCookie vcView, + HWND *phwnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextStoreACP, 0x28888fe3, 0xc2a0, 0x483a, 0xa3,0xea, 0x8c,0xb1,0xce,0x51,0xff,0x3d) +#endif +#else +typedef struct ITextStoreACPVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextStoreACP *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextStoreACP *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextStoreACP *This); + + /*** ITextStoreACP methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseSink)( + ITextStoreACP *This, + REFIID riid, + IUnknown *punk, + DWORD dwMask); + + HRESULT (STDMETHODCALLTYPE *UnadviseSink)( + ITextStoreACP *This, + IUnknown *punk); + + HRESULT (STDMETHODCALLTYPE *RequestLock)( + ITextStoreACP *This, + DWORD dwLockFlags, + HRESULT *phrSession); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + ITextStoreACP *This, + TS_STATUS *pdcs); + + HRESULT (STDMETHODCALLTYPE *QueryInsert)( + ITextStoreACP *This, + LONG acpTestStart, + LONG acpTestEnd, + ULONG cch, + LONG *pacpResultStart, + LONG *pacpResultEnd); + + HRESULT (STDMETHODCALLTYPE *GetSelection)( + ITextStoreACP *This, + ULONG ulIndex, + ULONG ulCount, + TS_SELECTION_ACP *pSelection, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *SetSelection)( + ITextStoreACP *This, + ULONG ulCount, + const TS_SELECTION_ACP *pSelection); + + HRESULT (STDMETHODCALLTYPE *GetText)( + ITextStoreACP *This, + LONG acpStart, + LONG acpEnd, + WCHAR *pchPlain, + ULONG cchPlainReq, + ULONG *pcchPlainRet, + TS_RUNINFO *prgRunInfo, + ULONG cRunInfoReq, + ULONG *pcRunInfoRet, + LONG *pacpNext); + + HRESULT (STDMETHODCALLTYPE *SetText)( + ITextStoreACP *This, + DWORD dwFlags, + LONG acpStart, + LONG acpEnd, + const WCHAR *pchText, + ULONG cch, + TS_TEXTCHANGE *pChange); + + HRESULT (STDMETHODCALLTYPE *GetFormattedText)( + ITextStoreACP *This, + LONG acpStart, + LONG acpEnd, + IDataObject **ppDataObject); + + HRESULT (STDMETHODCALLTYPE *GetEmbedded)( + ITextStoreACP *This, + LONG acpPos, + REFGUID rguidService, + REFIID riid, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *QueryInsertEmbedded)( + ITextStoreACP *This, + const GUID *pguidService, + const FORMATETC *pFormatEtc, + BOOL *pfInsertable); + + HRESULT (STDMETHODCALLTYPE *InsertEmbedded)( + ITextStoreACP *This, + DWORD dwFlags, + LONG acpStart, + LONG acpEnd, + IDataObject *pDataObject, + TS_TEXTCHANGE *pChange); + + HRESULT (STDMETHODCALLTYPE *InsertTextAtSelection)( + ITextStoreACP *This, + DWORD dwFlags, + const WCHAR *pchText, + ULONG cch, + LONG *pacpStart, + LONG *pacpEnd, + TS_TEXTCHANGE *pChange); + + HRESULT (STDMETHODCALLTYPE *InsertEmbeddedAtSelection)( + ITextStoreACP *This, + DWORD dwFlags, + IDataObject *pDataObject, + LONG *pacpStart, + LONG *pacpEnd, + TS_TEXTCHANGE *pChange); + + HRESULT (STDMETHODCALLTYPE *RequestSupportedAttrs)( + ITextStoreACP *This, + DWORD dwFlags, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs); + + HRESULT (STDMETHODCALLTYPE *RequestAttrsAtPosition)( + ITextStoreACP *This, + LONG acpPos, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *RequestAttrsTransitioningAtPosition)( + ITextStoreACP *This, + LONG acpPos, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *FindNextAttrTransition)( + ITextStoreACP *This, + LONG acpStart, + LONG acpHalt, + ULONG cFilterAttrs, + const TS_ATTRID *paFilterAttrs, + DWORD dwFlags, + LONG *pacpNext, + BOOL *pfFound, + LONG *plFoundOffset); + + HRESULT (STDMETHODCALLTYPE *RetrieveRequestedAttrs)( + ITextStoreACP *This, + ULONG ulCount, + TS_ATTRVAL *paAttrVals, + ULONG *pcFetched); + + HRESULT (STDMETHODCALLTYPE *GetEndACP)( + ITextStoreACP *This, + LONG *pacp); + + HRESULT (STDMETHODCALLTYPE *GetActiveView)( + ITextStoreACP *This, + TsViewCookie *pvcView); + + HRESULT (STDMETHODCALLTYPE *GetACPFromPoint)( + ITextStoreACP *This, + TsViewCookie vcView, + const POINT *ptScreen, + DWORD dwFlags, + LONG *pacp); + + HRESULT (STDMETHODCALLTYPE *GetTextExt)( + ITextStoreACP *This, + TsViewCookie vcView, + LONG acpStart, + LONG acpEnd, + RECT *prc, + BOOL *pfClipped); + + HRESULT (STDMETHODCALLTYPE *GetScreenExt)( + ITextStoreACP *This, + TsViewCookie vcView, + RECT *prc); + + HRESULT (STDMETHODCALLTYPE *GetWnd)( + ITextStoreACP *This, + TsViewCookie vcView, + HWND *phwnd); + + END_INTERFACE +} ITextStoreACPVtbl; + +interface ITextStoreACP { + CONST_VTBL ITextStoreACPVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextStoreACP_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextStoreACP_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextStoreACP_Release(This) (This)->lpVtbl->Release(This) +/*** ITextStoreACP methods ***/ +#define ITextStoreACP_AdviseSink(This,riid,punk,dwMask) (This)->lpVtbl->AdviseSink(This,riid,punk,dwMask) +#define ITextStoreACP_UnadviseSink(This,punk) (This)->lpVtbl->UnadviseSink(This,punk) +#define ITextStoreACP_RequestLock(This,dwLockFlags,phrSession) (This)->lpVtbl->RequestLock(This,dwLockFlags,phrSession) +#define ITextStoreACP_GetStatus(This,pdcs) (This)->lpVtbl->GetStatus(This,pdcs) +#define ITextStoreACP_QueryInsert(This,acpTestStart,acpTestEnd,cch,pacpResultStart,pacpResultEnd) (This)->lpVtbl->QueryInsert(This,acpTestStart,acpTestEnd,cch,pacpResultStart,pacpResultEnd) +#define ITextStoreACP_GetSelection(This,ulIndex,ulCount,pSelection,pcFetched) (This)->lpVtbl->GetSelection(This,ulIndex,ulCount,pSelection,pcFetched) +#define ITextStoreACP_SetSelection(This,ulCount,pSelection) (This)->lpVtbl->SetSelection(This,ulCount,pSelection) +#define ITextStoreACP_GetText(This,acpStart,acpEnd,pchPlain,cchPlainReq,pcchPlainRet,prgRunInfo,cRunInfoReq,pcRunInfoRet,pacpNext) (This)->lpVtbl->GetText(This,acpStart,acpEnd,pchPlain,cchPlainReq,pcchPlainRet,prgRunInfo,cRunInfoReq,pcRunInfoRet,pacpNext) +#define ITextStoreACP_SetText(This,dwFlags,acpStart,acpEnd,pchText,cch,pChange) (This)->lpVtbl->SetText(This,dwFlags,acpStart,acpEnd,pchText,cch,pChange) +#define ITextStoreACP_GetFormattedText(This,acpStart,acpEnd,ppDataObject) (This)->lpVtbl->GetFormattedText(This,acpStart,acpEnd,ppDataObject) +#define ITextStoreACP_GetEmbedded(This,acpPos,rguidService,riid,ppunk) (This)->lpVtbl->GetEmbedded(This,acpPos,rguidService,riid,ppunk) +#define ITextStoreACP_QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable) (This)->lpVtbl->QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable) +#define ITextStoreACP_InsertEmbedded(This,dwFlags,acpStart,acpEnd,pDataObject,pChange) (This)->lpVtbl->InsertEmbedded(This,dwFlags,acpStart,acpEnd,pDataObject,pChange) +#define ITextStoreACP_InsertTextAtSelection(This,dwFlags,pchText,cch,pacpStart,pacpEnd,pChange) (This)->lpVtbl->InsertTextAtSelection(This,dwFlags,pchText,cch,pacpStart,pacpEnd,pChange) +#define ITextStoreACP_InsertEmbeddedAtSelection(This,dwFlags,pDataObject,pacpStart,pacpEnd,pChange) (This)->lpVtbl->InsertEmbeddedAtSelection(This,dwFlags,pDataObject,pacpStart,pacpEnd,pChange) +#define ITextStoreACP_RequestSupportedAttrs(This,dwFlags,cFilterAttrs,paFilterAttrs) (This)->lpVtbl->RequestSupportedAttrs(This,dwFlags,cFilterAttrs,paFilterAttrs) +#define ITextStoreACP_RequestAttrsAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags) (This)->lpVtbl->RequestAttrsAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags) +#define ITextStoreACP_RequestAttrsTransitioningAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags) (This)->lpVtbl->RequestAttrsTransitioningAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags) +#define ITextStoreACP_FindNextAttrTransition(This,acpStart,acpHalt,cFilterAttrs,paFilterAttrs,dwFlags,pacpNext,pfFound,plFoundOffset) (This)->lpVtbl->FindNextAttrTransition(This,acpStart,acpHalt,cFilterAttrs,paFilterAttrs,dwFlags,pacpNext,pfFound,plFoundOffset) +#define ITextStoreACP_RetrieveRequestedAttrs(This,ulCount,paAttrVals,pcFetched) (This)->lpVtbl->RetrieveRequestedAttrs(This,ulCount,paAttrVals,pcFetched) +#define ITextStoreACP_GetEndACP(This,pacp) (This)->lpVtbl->GetEndACP(This,pacp) +#define ITextStoreACP_GetActiveView(This,pvcView) (This)->lpVtbl->GetActiveView(This,pvcView) +#define ITextStoreACP_GetACPFromPoint(This,vcView,ptScreen,dwFlags,pacp) (This)->lpVtbl->GetACPFromPoint(This,vcView,ptScreen,dwFlags,pacp) +#define ITextStoreACP_GetTextExt(This,vcView,acpStart,acpEnd,prc,pfClipped) (This)->lpVtbl->GetTextExt(This,vcView,acpStart,acpEnd,prc,pfClipped) +#define ITextStoreACP_GetScreenExt(This,vcView,prc) (This)->lpVtbl->GetScreenExt(This,vcView,prc) +#define ITextStoreACP_GetWnd(This,vcView,phwnd) (This)->lpVtbl->GetWnd(This,vcView,phwnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextStoreACP_QueryInterface(ITextStoreACP* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextStoreACP_AddRef(ITextStoreACP* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextStoreACP_Release(ITextStoreACP* This) { + return This->lpVtbl->Release(This); +} +/*** ITextStoreACP methods ***/ +static FORCEINLINE HRESULT ITextStoreACP_AdviseSink(ITextStoreACP* This,REFIID riid,IUnknown *punk,DWORD dwMask) { + return This->lpVtbl->AdviseSink(This,riid,punk,dwMask); +} +static FORCEINLINE HRESULT ITextStoreACP_UnadviseSink(ITextStoreACP* This,IUnknown *punk) { + return This->lpVtbl->UnadviseSink(This,punk); +} +static FORCEINLINE HRESULT ITextStoreACP_RequestLock(ITextStoreACP* This,DWORD dwLockFlags,HRESULT *phrSession) { + return This->lpVtbl->RequestLock(This,dwLockFlags,phrSession); +} +static FORCEINLINE HRESULT ITextStoreACP_GetStatus(ITextStoreACP* This,TS_STATUS *pdcs) { + return This->lpVtbl->GetStatus(This,pdcs); +} +static FORCEINLINE HRESULT ITextStoreACP_QueryInsert(ITextStoreACP* This,LONG acpTestStart,LONG acpTestEnd,ULONG cch,LONG *pacpResultStart,LONG *pacpResultEnd) { + return This->lpVtbl->QueryInsert(This,acpTestStart,acpTestEnd,cch,pacpResultStart,pacpResultEnd); +} +static FORCEINLINE HRESULT ITextStoreACP_GetSelection(ITextStoreACP* This,ULONG ulIndex,ULONG ulCount,TS_SELECTION_ACP *pSelection,ULONG *pcFetched) { + return This->lpVtbl->GetSelection(This,ulIndex,ulCount,pSelection,pcFetched); +} +static FORCEINLINE HRESULT ITextStoreACP_SetSelection(ITextStoreACP* This,ULONG ulCount,const TS_SELECTION_ACP *pSelection) { + return This->lpVtbl->SetSelection(This,ulCount,pSelection); +} +static FORCEINLINE HRESULT ITextStoreACP_GetText(ITextStoreACP* This,LONG acpStart,LONG acpEnd,WCHAR *pchPlain,ULONG cchPlainReq,ULONG *pcchPlainRet,TS_RUNINFO *prgRunInfo,ULONG cRunInfoReq,ULONG *pcRunInfoRet,LONG *pacpNext) { + return This->lpVtbl->GetText(This,acpStart,acpEnd,pchPlain,cchPlainReq,pcchPlainRet,prgRunInfo,cRunInfoReq,pcRunInfoRet,pacpNext); +} +static FORCEINLINE HRESULT ITextStoreACP_SetText(ITextStoreACP* This,DWORD dwFlags,LONG acpStart,LONG acpEnd,const WCHAR *pchText,ULONG cch,TS_TEXTCHANGE *pChange) { + return This->lpVtbl->SetText(This,dwFlags,acpStart,acpEnd,pchText,cch,pChange); +} +static FORCEINLINE HRESULT ITextStoreACP_GetFormattedText(ITextStoreACP* This,LONG acpStart,LONG acpEnd,IDataObject **ppDataObject) { + return This->lpVtbl->GetFormattedText(This,acpStart,acpEnd,ppDataObject); +} +static FORCEINLINE HRESULT ITextStoreACP_GetEmbedded(ITextStoreACP* This,LONG acpPos,REFGUID rguidService,REFIID riid,IUnknown **ppunk) { + return This->lpVtbl->GetEmbedded(This,acpPos,rguidService,riid,ppunk); +} +static FORCEINLINE HRESULT ITextStoreACP_QueryInsertEmbedded(ITextStoreACP* This,const GUID *pguidService,const FORMATETC *pFormatEtc,BOOL *pfInsertable) { + return This->lpVtbl->QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable); +} +static FORCEINLINE HRESULT ITextStoreACP_InsertEmbedded(ITextStoreACP* This,DWORD dwFlags,LONG acpStart,LONG acpEnd,IDataObject *pDataObject,TS_TEXTCHANGE *pChange) { + return This->lpVtbl->InsertEmbedded(This,dwFlags,acpStart,acpEnd,pDataObject,pChange); +} +static FORCEINLINE HRESULT ITextStoreACP_InsertTextAtSelection(ITextStoreACP* This,DWORD dwFlags,const WCHAR *pchText,ULONG cch,LONG *pacpStart,LONG *pacpEnd,TS_TEXTCHANGE *pChange) { + return This->lpVtbl->InsertTextAtSelection(This,dwFlags,pchText,cch,pacpStart,pacpEnd,pChange); +} +static FORCEINLINE HRESULT ITextStoreACP_InsertEmbeddedAtSelection(ITextStoreACP* This,DWORD dwFlags,IDataObject *pDataObject,LONG *pacpStart,LONG *pacpEnd,TS_TEXTCHANGE *pChange) { + return This->lpVtbl->InsertEmbeddedAtSelection(This,dwFlags,pDataObject,pacpStart,pacpEnd,pChange); +} +static FORCEINLINE HRESULT ITextStoreACP_RequestSupportedAttrs(ITextStoreACP* This,DWORD dwFlags,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs) { + return This->lpVtbl->RequestSupportedAttrs(This,dwFlags,cFilterAttrs,paFilterAttrs); +} +static FORCEINLINE HRESULT ITextStoreACP_RequestAttrsAtPosition(ITextStoreACP* This,LONG acpPos,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs,DWORD dwFlags) { + return This->lpVtbl->RequestAttrsAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags); +} +static FORCEINLINE HRESULT ITextStoreACP_RequestAttrsTransitioningAtPosition(ITextStoreACP* This,LONG acpPos,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs,DWORD dwFlags) { + return This->lpVtbl->RequestAttrsTransitioningAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags); +} +static FORCEINLINE HRESULT ITextStoreACP_FindNextAttrTransition(ITextStoreACP* This,LONG acpStart,LONG acpHalt,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs,DWORD dwFlags,LONG *pacpNext,BOOL *pfFound,LONG *plFoundOffset) { + return This->lpVtbl->FindNextAttrTransition(This,acpStart,acpHalt,cFilterAttrs,paFilterAttrs,dwFlags,pacpNext,pfFound,plFoundOffset); +} +static FORCEINLINE HRESULT ITextStoreACP_RetrieveRequestedAttrs(ITextStoreACP* This,ULONG ulCount,TS_ATTRVAL *paAttrVals,ULONG *pcFetched) { + return This->lpVtbl->RetrieveRequestedAttrs(This,ulCount,paAttrVals,pcFetched); +} +static FORCEINLINE HRESULT ITextStoreACP_GetEndACP(ITextStoreACP* This,LONG *pacp) { + return This->lpVtbl->GetEndACP(This,pacp); +} +static FORCEINLINE HRESULT ITextStoreACP_GetActiveView(ITextStoreACP* This,TsViewCookie *pvcView) { + return This->lpVtbl->GetActiveView(This,pvcView); +} +static FORCEINLINE HRESULT ITextStoreACP_GetACPFromPoint(ITextStoreACP* This,TsViewCookie vcView,const POINT *ptScreen,DWORD dwFlags,LONG *pacp) { + return This->lpVtbl->GetACPFromPoint(This,vcView,ptScreen,dwFlags,pacp); +} +static FORCEINLINE HRESULT ITextStoreACP_GetTextExt(ITextStoreACP* This,TsViewCookie vcView,LONG acpStart,LONG acpEnd,RECT *prc,BOOL *pfClipped) { + return This->lpVtbl->GetTextExt(This,vcView,acpStart,acpEnd,prc,pfClipped); +} +static FORCEINLINE HRESULT ITextStoreACP_GetScreenExt(ITextStoreACP* This,TsViewCookie vcView,RECT *prc) { + return This->lpVtbl->GetScreenExt(This,vcView,prc); +} +static FORCEINLINE HRESULT ITextStoreACP_GetWnd(ITextStoreACP* This,TsViewCookie vcView,HWND *phwnd) { + return This->lpVtbl->GetWnd(This,vcView,phwnd); +} +#endif +#endif + +#endif + + +#endif /* __ITextStoreACP_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __textstor_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textstor.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textstor.idl new file mode 100644 index 0000000..e79443d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/textstor.idl @@ -0,0 +1,314 @@ +/* + * Copyright 2009 Aric Stewart, CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "oaidl.idl"; +#endif + +cpp_quote("#define TS_E_INVALIDPOS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)") +cpp_quote("#define TS_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)") +cpp_quote("#define TS_E_NOOBJECT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)") +cpp_quote("#define TS_E_NOSERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)") +cpp_quote("#define TS_E_NOINTERFACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)") +cpp_quote("#define TS_E_NOSELECTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)") +cpp_quote("#define TS_E_NOLAYOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)") +cpp_quote("#define TS_E_INVALIDPOINT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)") +cpp_quote("#define TS_E_SYNCHRONOUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208)") +cpp_quote("#define TS_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)") +cpp_quote("#define TS_E_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x020a)") + +cpp_quote("#define TS_S_ASYNC MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x0300)") + + +const ULONG TS_DEFAULT_SELECTION = ~0u; + +const DWORD TS_SD_READONLY = 0x001; +const DWORD TS_SD_LOADING = 0x002; + +const DWORD TS_SS_DISJOINTSEL = 0x001; +const DWORD TS_SS_REGIONS = 0x002; +const DWORD TS_SS_TRANSITORY = 0x004; +const DWORD TS_SS_NOHIDDENTEXT = 0x008; + +const DWORD TS_AS_TEXT_CHANGE = 0x01; +const DWORD TS_AS_SEL_CHANGE = 0x02; +const DWORD TS_AS_LAYOUT_CHANGE = 0x04; +const DWORD TS_AS_ATTR_CHANGE = 0x08; +const DWORD TS_AS_STATUS_CHANGE = 0x10; + +const DWORD TS_AS_ALL_SINKS = (TS_AS_TEXT_CHANGE | TS_AS_SEL_CHANGE | TS_AS_LAYOUT_CHANGE | TS_AS_ATTR_CHANGE | TS_AS_STATUS_CHANGE); + +const DWORD TS_LF_SYNC = 0x1; +const DWORD TS_LF_READ = 0x2; +const DWORD TS_LF_READWRITE = 0x6; + +const WCHAR TS_CHAR_EMBEDDED = 0xfffc; +const WCHAR TS_CHAR_REGION = 0x0000; +const WCHAR TS_CHAR_REPLACEMENT = 0xfffd; + +const DWORD TS_IAS_NOQUERY = 0x1; +const DWORD TS_IAS_QUERYONLY = 0x2; + +const DWORD TS_ST_CORRECTION = 0x1; + +const DWORD GXFPF_ROUND_NEAREST = 0x1; +const DWORD GXFPF_NEAREST = 0x2; + +typedef [uuid(05fcf85b-5e9c-4c3e-ab71-29471d4f38e7)] enum { TS_AE_NONE, TS_AE_START, TS_AE_END } TsActiveSelEnd; +typedef [uuid(033b0df0-f193-4170-b47b-141afc247878)] enum { TS_RT_PLAIN, TS_RT_HIDDEN, TS_RT_OPAQUE } TsRunType; +typedef [uuid(ef3457d9-8446-49a7-a9e6-b50d9d5f3fd9)] GUID TS_ATTRID; + +typedef [uuid(fec4f516-c503-45b1-a5fd-7a3d8ab07049)] struct TS_STATUS +{ + DWORD dwDynamicFlags; + DWORD dwStaticFlags; +} TS_STATUS; + +typedef [uuid(f3181bd6-bcf0-41d3-a81c-474b17ec38fb)] struct TS_TEXTCHANGE +{ + LONG acpStart; + LONG acpOldEnd; + LONG acpNewEnd; +} TS_TEXTCHANGE; + +typedef [uuid(7ecc3ffa-8f73-4d91-98ed-76f8ac5b1600)] struct TS_SELECTIONSTYLE +{ + TsActiveSelEnd ase; + BOOL fInterimChar; +} TS_SELECTIONSTYLE; + +typedef [uuid(c4b9c33b-8a0d-4426-bebe-d444a4701fe9)] struct TS_SELECTION_ACP +{ + LONG acpStart; + LONG acpEnd; + TS_SELECTIONSTYLE style; +} TS_SELECTION_ACP; + +typedef [uuid(a6231949-37c5-4b74-a24e-2a26c327201d)] struct TS_RUNINFO +{ + ULONG uCount; + TsRunType type; +} TS_RUNINFO; + +typedef [uuid(2cc2b33f-1174-4507-b8d9-5bc0eb37c197)] struct TS_ATTRVAL +{ + TS_ATTRID idAttr; + DWORD dwOverlapId; + VARIANT varValue; +} TS_ATTRVAL; + +const DWORD TS_ATTR_FIND_BACKWARDS = 0x0001; +const DWORD TS_ATTR_FIND_WANT_OFFSET = 0x0002; +const DWORD TS_ATTR_FIND_UPDATESTART = 0x0004; +const DWORD TS_ATTR_FIND_WANT_VALUE = 0x0008; +const DWORD TS_ATTR_FIND_WANT_END = 0x0010; +const DWORD TS_ATTR_FIND_HIDDEN = 0x0020; + +typedef [uuid(7899d7c4-5f07-493c-a89a-fac8e777f476)] enum { TS_LC_CREATE, TS_LC_CHANGE, TS_LC_DESTROY } TsLayoutCode; +typedef [uuid(1faf509e-44c1-458e-950a-38a96705a62b)] DWORD TsViewCookie; + +[ + object, + uuid(22d44c94-a419-4542-a272-ae26093ececf), + pointer_default(unique) +] +interface ITextStoreACPSink : IUnknown +{ + HRESULT OnTextChange( + [in] DWORD dwFlags, + [in] const TS_TEXTCHANGE *pChange); + + HRESULT OnSelectionChange(); + + HRESULT OnLayoutChange( + [in] TsLayoutCode lcode, + [in] TsViewCookie vcView); + + HRESULT OnStatusChange( + [in] DWORD dwFlags); + + HRESULT OnAttrsChange( + [in] LONG acpStart, + [in] LONG acpEnd, + [in] ULONG cAttrs, + [in, size_is(cAttrs)] const TS_ATTRID *paAttrs); + + HRESULT OnLockGranted( + [in] DWORD dwLockFlags); + + HRESULT OnStartEditTransaction(); + + HRESULT OnEndEditTransaction(); +}; + +[ + object, + uuid(28888fe3-c2a0-483a-a3ea-8cb1ce51ff3d), + pointer_default(unique) +] +interface ITextStoreACP : IUnknown +{ + HRESULT AdviseSink( + [in] REFIID riid, + [in, iid_is(riid)] IUnknown *punk, + [in] DWORD dwMask); + + HRESULT UnadviseSink( + [in] IUnknown *punk); + + HRESULT RequestLock( + [in] DWORD dwLockFlags, + [out] HRESULT *phrSession); + + HRESULT GetStatus( + [out] TS_STATUS *pdcs); + + HRESULT QueryInsert( + [in] LONG acpTestStart, + [in] LONG acpTestEnd, + [in] ULONG cch, + [out] LONG *pacpResultStart, + [out] LONG *pacpResultEnd); + + HRESULT GetSelection( + [in] ULONG ulIndex, + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] TS_SELECTION_ACP *pSelection, + [out] ULONG *pcFetched); + + HRESULT SetSelection( + [in] ULONG ulCount, + [in, size_is(ulCount)] const TS_SELECTION_ACP *pSelection); + + HRESULT GetText( + [in] LONG acpStart, + [in] LONG acpEnd, + [out, size_is(cchPlainReq), length_is(*pcchPlainRet)] WCHAR *pchPlain, + [in] ULONG cchPlainReq, + [out] ULONG *pcchPlainRet, + [out, size_is(cRunInfoReq), length_is(*pcRunInfoRet)] TS_RUNINFO *prgRunInfo, + [in] ULONG cRunInfoReq, + [out] ULONG *pcRunInfoRet, + [out] LONG *pacpNext); + + HRESULT SetText( + [in] DWORD dwFlags, + [in] LONG acpStart, + [in] LONG acpEnd, + [in, size_is(cch)] const WCHAR *pchText, + [in] ULONG cch, + [out] TS_TEXTCHANGE *pChange); + + HRESULT GetFormattedText( + [in] LONG acpStart, + [in] LONG acpEnd, + [out] IDataObject **ppDataObject); + + HRESULT GetEmbedded( + [in] LONG acpPos, + [in] REFGUID rguidService, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppunk); + + HRESULT QueryInsertEmbedded( + [in] const GUID *pguidService, + [in] const FORMATETC *pFormatEtc, + [out] BOOL *pfInsertable); + + HRESULT InsertEmbedded( + [in] DWORD dwFlags, + [in] LONG acpStart, + [in] LONG acpEnd, + [in] IDataObject *pDataObject, + [out] TS_TEXTCHANGE *pChange); + + + HRESULT InsertTextAtSelection( + [in] DWORD dwFlags, + [in, size_is(cch)] const WCHAR *pchText, + [in] ULONG cch, + [out] LONG *pacpStart, + [out] LONG *pacpEnd, + [out] TS_TEXTCHANGE *pChange); + + HRESULT InsertEmbeddedAtSelection( + [in] DWORD dwFlags, + [in] IDataObject *pDataObject, + [out] LONG *pacpStart, + [out] LONG *pacpEnd, + [out] TS_TEXTCHANGE *pChange); + + HRESULT RequestSupportedAttrs( + [in] DWORD dwFlags, + [in] ULONG cFilterAttrs, + [in, size_is(cFilterAttrs), unique] const TS_ATTRID *paFilterAttrs); + + HRESULT RequestAttrsAtPosition( + [in] LONG acpPos, + [in] ULONG cFilterAttrs, + [in, size_is(cFilterAttrs), unique] const TS_ATTRID *paFilterAttrs, + [in] DWORD dwFlags); + + HRESULT RequestAttrsTransitioningAtPosition( + [in] LONG acpPos, + [in] ULONG cFilterAttrs, + [in, size_is(cFilterAttrs), unique] const TS_ATTRID *paFilterAttrs, + [in] DWORD dwFlags); + + HRESULT FindNextAttrTransition( + [in] LONG acpStart, + [in] LONG acpHalt, + [in] ULONG cFilterAttrs, + [in, size_is(cFilterAttrs), unique] const TS_ATTRID *paFilterAttrs, + [in] DWORD dwFlags, + [out] LONG *pacpNext, + [out] BOOL *pfFound, + [out] LONG *plFoundOffset); + + HRESULT RetrieveRequestedAttrs( + [in] ULONG ulCount, + [out, size_is(ulCount), length_is(*pcFetched)] TS_ATTRVAL *paAttrVals, + [out] ULONG *pcFetched); + + HRESULT GetEndACP( + [out] LONG *pacp); + + HRESULT GetActiveView( + [out] TsViewCookie *pvcView); + + HRESULT GetACPFromPoint( + [in] TsViewCookie vcView, + [in] const POINT *ptScreen, + [in] DWORD dwFlags, + [out] LONG *pacp); + + HRESULT GetTextExt( + [in] TsViewCookie vcView, + [in] LONG acpStart, + [in] LONG acpEnd, + [out] RECT *prc, + [out] BOOL *pfClipped); + + HRESULT GetScreenExt( + [in] TsViewCookie vcView, + [out] RECT *prc); + + HRESULT GetWnd( + [in] TsViewCookie vcView, + [out] HWND *phwnd); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlhelp32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlhelp32.h new file mode 100644 index 0000000..4b4d224 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlhelp32.h @@ -0,0 +1,184 @@ +/* + * Copyright (C) 1998 Patrick Spinler + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_TLHELP32_H +#define __WINE_TLHELP32_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * CreateToolhelp32Snapshot + */ + +#define TH32CS_SNAPHEAPLIST 0x00000001 +#define TH32CS_SNAPPROCESS 0x00000002 +#define TH32CS_SNAPTHREAD 0x00000004 +#define TH32CS_SNAPMODULE 0x00000008 +#define TH32CS_SNAPALL (TH32CS_SNAPHEAPLIST | TH32CS_SNAPPROCESS | TH32CS_SNAPTHREAD | TH32CS_SNAPMODULE) +#define TH32CS_INHERIT 0x80000000 + +HANDLE WINAPI CreateToolhelp32Snapshot(DWORD,DWORD); + +/* + * thread entry list as created by CreateToolHelp32Snapshot + */ + +typedef struct tagTHREADENTRY32 +{ + DWORD dwSize; + DWORD cntUsage; + DWORD th32ThreadID; + DWORD th32OwnerProcessID; + LONG tpBasePri; + LONG tpDeltaPri; + DWORD dwFlags; +} THREADENTRY32, *PTHREADENTRY32, *LPTHREADENTRY32; + +BOOL WINAPI Thread32First(HANDLE,LPTHREADENTRY32); +BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32); + +/* + * Process entry list as created by CreateToolHelp32Snapshot + */ + +typedef struct tagPROCESSENTRY32 +{ + DWORD dwSize; + DWORD cntUsage; + DWORD th32ProcessID; + ULONG_PTR th32DefaultHeapID; + DWORD th32ModuleID; + DWORD cntThreads; + DWORD th32ParentProcessID; + LONG pcPriClassBase; + DWORD dwFlags; + char szExeFile[MAX_PATH]; +} PROCESSENTRY32, *PPROCESSENTRY32, *LPPROCESSENTRY32; + +typedef struct tagPROCESSENTRY32W +{ + DWORD dwSize; + DWORD cntUsage; + DWORD th32ProcessID; + ULONG_PTR th32DefaultHeapID; + DWORD th32ModuleID; + DWORD cntThreads; + DWORD th32ParentProcessID; + LONG pcPriClassBase; + DWORD dwFlags; + WCHAR szExeFile[MAX_PATH]; +} PROCESSENTRY32W, *PPROCESSENTRY32W, *LPPROCESSENTRY32W; + +BOOL WINAPI Process32First(HANDLE,LPPROCESSENTRY32); +BOOL WINAPI Process32FirstW(HANDLE,LPPROCESSENTRY32W); +BOOL WINAPI Process32Next(HANDLE,LPPROCESSENTRY32); +BOOL WINAPI Process32NextW(HANDLE,LPPROCESSENTRY32W); + +#ifdef UNICODE +#define Process32First Process32FirstW +#define Process32Next Process32NextW +#define PROCESSENTRY32 PROCESSENTRY32W +#define PPROCESSENTRY32 PPROCESSENTRY32W +#define LPPROCESSENTRY32 LPPROCESSENTRY32W +#endif + +/* + * Module entry list as created by CreateToolHelp32Snapshot + */ + +#define MAX_MODULE_NAME32 255 + +typedef struct tagMODULEENTRY32 +{ + DWORD dwSize; + DWORD th32ModuleID; + DWORD th32ProcessID; + DWORD GlblcntUsage; + DWORD ProccntUsage; + BYTE *modBaseAddr; + DWORD modBaseSize; + HMODULE hModule; + char szModule[MAX_MODULE_NAME32 + 1]; + char szExePath[MAX_PATH]; +} MODULEENTRY32, *PMODULEENTRY32, *LPMODULEENTRY32; + +typedef struct tagMODULEENTRY32W +{ + DWORD dwSize; + DWORD th32ModuleID; + DWORD th32ProcessID; + DWORD GlblcntUsage; + DWORD ProccntUsage; + BYTE *modBaseAddr; + DWORD modBaseSize; + HMODULE hModule; + WCHAR szModule[MAX_MODULE_NAME32 + 1]; + WCHAR szExePath[MAX_PATH]; +} MODULEENTRY32W, *PMODULEENTRY32W, *LPMODULEENTRY32W; + +BOOL WINAPI Module32First(HANDLE,LPMODULEENTRY32); +BOOL WINAPI Module32FirstW(HANDLE,LPMODULEENTRY32W); +BOOL WINAPI Module32Next(HANDLE,LPMODULEENTRY32); +BOOL WINAPI Module32NextW(HANDLE,LPMODULEENTRY32W); + +#ifdef UNICODE +#define Module32First Module32FirstW +#define Module32Next Module32NextW +#define MODULEENTRY32 MODULEENTRY32W +#define PMODULEENTRY32 PMODULEENTRY32W +#define LPMODULEENTRY32 LPMODULEENTRY32W +#endif + +typedef struct tagHEAPLIST32 +{ + SIZE_T dwSize; + DWORD th32ProcessID; + ULONG_PTR th32HeapID; + DWORD dwFlags; +} HEAPLIST32, *PHEAPLIST32, *LPHEAPLIST32; + +#define HF32_DEFAULT 1 +#define HF32_SHARED 2 + +BOOL WINAPI Heap32ListFirst(HANDLE,LPHEAPLIST32); +BOOL WINAPI Heap32ListNext(HANDLE,LPHEAPLIST32); +BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,SIZE_T,SIZE_T*); + +typedef struct tagHEAPENTRY32 +{ + SIZE_T dwSize; + HANDLE hHandle; + ULONG_PTR dwAddress; + SIZE_T dwBlockSize; + DWORD dwFlags; + DWORD dwLockCount; + DWORD dwResvd; + DWORD th32ProcessID; + ULONG_PTR th32HeapID; +} HEAPENTRY32, *PHEAPENTRY32, *LPHEAPENTRY32; + +BOOL WINAPI Heap32First(LPHEAPENTRY32,DWORD,ULONG_PTR); +BOOL WINAPI Heap32Next(LPHEAPENTRY32); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __WINE_TLHELP32_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlogstg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlogstg.h new file mode 100644 index 0000000..68422b1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlogstg.h @@ -0,0 +1,162 @@ +/*** Autogenerated by WIDL 2.18 from tlogstg.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __tlogstg_h__ +#define __tlogstg_h__ + +/* Forward declarations */ + +#ifndef __ITravelLogClient_FWD_DEFINED__ +#define __ITravelLogClient_FWD_DEFINED__ +typedef interface ITravelLogClient ITravelLogClient; +#ifdef __cplusplus +interface ITravelLogClient; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _WINDOWDATA { + DWORD dwWindowID; + UINT uiCP; + PIDLIST_ABSOLUTE pidl; + LPWSTR lpszUrl; + LPWSTR lpszUrlLocation; + LPWSTR lpszTitle; +} WINDOWDATA; +typedef WINDOWDATA *LPWINDOWDATA; +typedef const WINDOWDATA *LPCWINDOWDATA; +/***************************************************************************** + * ITravelLogClient interface + */ +#ifndef __ITravelLogClient_INTERFACE_DEFINED__ +#define __ITravelLogClient_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITravelLogClient, 0x241c033e, 0xe659, 0x43da, 0xaa,0x4d, 0x40,0x86,0xdb,0xc4,0x75,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("241c033e-e659-43da-aa4d-4086dbc4758d") +ITravelLogClient : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE FindWindowByIndex( + DWORD dwID, + IUnknown **ppunk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWindowData( + IStream *pStream, + LPWINDOWDATA pWinData) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadHistoryPosition( + LPWSTR pszUrlLocation, + DWORD dwPosition) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITravelLogClient, 0x241c033e, 0xe659, 0x43da, 0xaa,0x4d, 0x40,0x86,0xdb,0xc4,0x75,0x8d) +#endif +#else +typedef struct ITravelLogClientVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITravelLogClient *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITravelLogClient *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITravelLogClient *This); + + /*** ITravelLogClient methods ***/ + HRESULT (STDMETHODCALLTYPE *FindWindowByIndex)( + ITravelLogClient *This, + DWORD dwID, + IUnknown **ppunk); + + HRESULT (STDMETHODCALLTYPE *GetWindowData)( + ITravelLogClient *This, + IStream *pStream, + LPWINDOWDATA pWinData); + + HRESULT (STDMETHODCALLTYPE *LoadHistoryPosition)( + ITravelLogClient *This, + LPWSTR pszUrlLocation, + DWORD dwPosition); + + END_INTERFACE +} ITravelLogClientVtbl; + +interface ITravelLogClient { + CONST_VTBL ITravelLogClientVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITravelLogClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITravelLogClient_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITravelLogClient_Release(This) (This)->lpVtbl->Release(This) +/*** ITravelLogClient methods ***/ +#define ITravelLogClient_FindWindowByIndex(This,dwID,ppunk) (This)->lpVtbl->FindWindowByIndex(This,dwID,ppunk) +#define ITravelLogClient_GetWindowData(This,pStream,pWinData) (This)->lpVtbl->GetWindowData(This,pStream,pWinData) +#define ITravelLogClient_LoadHistoryPosition(This,pszUrlLocation,dwPosition) (This)->lpVtbl->LoadHistoryPosition(This,pszUrlLocation,dwPosition) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITravelLogClient_QueryInterface(ITravelLogClient* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITravelLogClient_AddRef(ITravelLogClient* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITravelLogClient_Release(ITravelLogClient* This) { + return This->lpVtbl->Release(This); +} +/*** ITravelLogClient methods ***/ +static FORCEINLINE HRESULT ITravelLogClient_FindWindowByIndex(ITravelLogClient* This,DWORD dwID,IUnknown **ppunk) { + return This->lpVtbl->FindWindowByIndex(This,dwID,ppunk); +} +static FORCEINLINE HRESULT ITravelLogClient_GetWindowData(ITravelLogClient* This,IStream *pStream,LPWINDOWDATA pWinData) { + return This->lpVtbl->GetWindowData(This,pStream,pWinData); +} +static FORCEINLINE HRESULT ITravelLogClient_LoadHistoryPosition(ITravelLogClient* This,LPWSTR pszUrlLocation,DWORD dwPosition) { + return This->lpVtbl->LoadHistoryPosition(This,pszUrlLocation,dwPosition); +} +#endif +#endif + +#endif + + +#endif /* __ITravelLogClient_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __tlogstg_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlogstg.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlogstg.idl new file mode 100644 index 0000000..ff82ffc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tlogstg.idl @@ -0,0 +1,52 @@ +/* + * Copyright 2012 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; +import "shtypes.idl"; + +typedef struct _WINDOWDATA { + DWORD dwWindowID; + UINT uiCP; + PIDLIST_ABSOLUTE pidl; + [string] LPWSTR lpszUrl; + [string] LPWSTR lpszUrlLocation; + [string] LPWSTR lpszTitle; +} WINDOWDATA; + +typedef WINDOWDATA *LPWINDOWDATA; +typedef const WINDOWDATA *LPCWINDOWDATA; + +[ + uuid(241c033e-e659-43da-aa4d-4086dbc4758d), + object +] +interface ITravelLogClient : IUnknown +{ + HRESULT FindWindowByIndex( + [in] DWORD dwID, + [out] IUnknown **ppunk); + + HRESULT GetWindowData( + [in] IStream *pStream, + [out] LPWINDOWDATA pWinData); + + HRESULT LoadHistoryPosition( + [in] LPWSTR pszUrlLocation, + [in] DWORD dwPosition); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tmschema.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tmschema.h new file mode 100644 index 0000000..910de19 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tmschema.h @@ -0,0 +1,1270 @@ +/* + * Copyright (C) 2003 Kevin Koltzau + * Copyright (C) 2004 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_TMSCHEMA_H +#define __WINE_TMSCHEMA_H + +#include + +BEGIN_TM_SCHEMA(ThemeMgrSchema) + + +/***** ENUMERATIONS *****/ + +/* BGTYPE Enum */ +BEGIN_TM_ENUM(BGTYPE) + TM_ENUM(0, BT, IMAGEFILE) + TM_ENUM(1, BT, BORDERFILL) + TM_ENUM(2, BT, NONE) +END_TM_ENUM() + +/* IMAGELAYOUT Enum */ +BEGIN_TM_ENUM(IMAGELAYOUT) + TM_ENUM(0, IL, VERTICAL) + TM_ENUM(1, IL, HORIZONTAL) +END_TM_ENUM() + +/* BORDERTYPE Enum */ +BEGIN_TM_ENUM(BORDERTYPE) + TM_ENUM(0, BT, RECT) + TM_ENUM(1, BT, ROUNDRECT) + TM_ENUM(2, BT, ELLIPSE) +END_TM_ENUM() + +/* FILLTYPE Enum */ +BEGIN_TM_ENUM(FILLTYPE) + TM_ENUM(0, FT, SOLID) + TM_ENUM(1, FT, VERTGRADIENT) + TM_ENUM(2, FT, HORZGRADIENT) + TM_ENUM(3, FT, RADIALGRADIENT) + TM_ENUM(4, FT, TILEIMAGE) +END_TM_ENUM() + +/* SIZINGTYPE Enum */ +BEGIN_TM_ENUM(SIZINGTYPE) + TM_ENUM(0, ST, TRUESIZE) + TM_ENUM(1, ST, STRETCH) + TM_ENUM(2, ST, TILE) +END_TM_ENUM() + +/* HALIGN Enum */ +BEGIN_TM_ENUM(HALIGN) + TM_ENUM(0, HA, LEFT) + TM_ENUM(1, HA, CENTER) + TM_ENUM(2, HA, RIGHT) +END_TM_ENUM() + +/* CONTENTALIGNMENT Enum */ +BEGIN_TM_ENUM(CONTENTALIGNMENT) + TM_ENUM(0, CA, LEFT) + TM_ENUM(1, CA, CENTER) + TM_ENUM(2, CA, RIGHT) +END_TM_ENUM() + +/* VALIGN Enum */ +BEGIN_TM_ENUM(VALIGN) + TM_ENUM(0, VA, TOP) + TM_ENUM(1, VA, CENTER) + TM_ENUM(2, VA, BOTTOM) +END_TM_ENUM() + +/* OFFSETTYPE Enum */ +BEGIN_TM_ENUM(OFFSETTYPE) + TM_ENUM(0, OT, TOPLEFT) + TM_ENUM(1, OT, TOPRIGHT) + TM_ENUM(2, OT, TOPMIDDLE) + TM_ENUM(3, OT, BOTTOMLEFT) + TM_ENUM(4, OT, BOTTOMRIGHT) + TM_ENUM(5, OT, BOTTOMMIDDLE) + TM_ENUM(6, OT, MIDDLELEFT) + TM_ENUM(7, OT, MIDDLERIGHT) + TM_ENUM(8, OT, LEFTOFCAPTION) + TM_ENUM(9, OT, RIGHTOFCAPTION) + TM_ENUM(10, OT, LEFTOFLASTBUTTON) + TM_ENUM(11, OT, RIGHTOFLASTBUTTON) + TM_ENUM(12, OT, ABOVELASTBUTTON) + TM_ENUM(13, OT, BELOWLASTBUTTON) +END_TM_ENUM() + +/* ICONEFFECT Enum */ +BEGIN_TM_ENUM(ICONEFFECT) + TM_ENUM(0, ICE, NONE) + TM_ENUM(1, ICE, GLOW) + TM_ENUM(2, ICE, SHADOW) + TM_ENUM(3, ICE, PULSE) + TM_ENUM(4, ICE, ALPHA) +END_TM_ENUM() + +/* TEXTSHADOWTYPE Enum */ +BEGIN_TM_ENUM(TEXTSHADOWTYPE) + TM_ENUM(0, TST, NONE) + TM_ENUM(1, TST, SINGLE) + TM_ENUM(2, TST, CONTINUOUS) +END_TM_ENUM() + +/* GLYPHTYPE Enum */ +BEGIN_TM_ENUM(GLYPHTYPE) + TM_ENUM(0, GT, NONE) + TM_ENUM(1, GT, IMAGEGLYPH) + TM_ENUM(2, GT, FONTGLYPH) +END_TM_ENUM() + +/* IMAGESELECTTYPE Enum */ +BEGIN_TM_ENUM(IMAGESELECTTYPE) + TM_ENUM(0, IST, NONE) + TM_ENUM(1, IST, SIZE) + TM_ENUM(2, IST, DPI) +END_TM_ENUM() + +/* TRUESIZESCALINGTYPE Enum */ +BEGIN_TM_ENUM(TRUESIZESCALINGTYPE) + TM_ENUM(0, TSST, NONE) + TM_ENUM(1, TSST, SIZE) + TM_ENUM(2, TSST, DPI) +END_TM_ENUM() + +/* GLYPHFONTSIZINGTYPE Enum */ +BEGIN_TM_ENUM(GLYPHFONTSIZINGTYPE) + TM_ENUM(0, GFST, NONE) + TM_ENUM(1, GFST, SIZE) + TM_ENUM(2, GFST, DPI) +END_TM_ENUM() + + +/***** PROPERTIES *****/ +BEGIN_TM_PROPS() + + /* Primitive types */ + TM_PROP(201, TMT, STRING, STRING) + TM_PROP(202, TMT, INT, INT) + TM_PROP(203, TMT, BOOL, BOOL) + TM_PROP(204, TMT, COLOR, COLOR) + TM_PROP(205, TMT, MARGINS, MARGINS) + TM_PROP(206, TMT, FILENAME, FILENAME) + TM_PROP(207, TMT, SIZE, SIZE) + TM_PROP(208, TMT, POSITION, POSITION) + TM_PROP(209, TMT, RECT, RECT) + TM_PROP(210, TMT, FONT, FONT) + TM_PROP(211, TMT, INTLIST, INTLIST) + /* we should have ENUM around here */ + + /* Misc properties */ + TM_PROP(401, TMT, COLORSCHEMES, STRING) + TM_PROP(402, TMT, SIZES, STRING) + TM_PROP(403, TMT, CHARSET, INT) + + /* Documentation properties */ + TM_PROP(601, TMT, DISPLAYNAME, STRING) + TM_PROP(602, TMT, TOOLTIP, STRING) + TM_PROP(603, TMT, COMPANY, STRING) + TM_PROP(604, TMT, AUTHOR, STRING) + TM_PROP(605, TMT, COPYRIGHT, STRING) + TM_PROP(606, TMT, URL, STRING) + TM_PROP(607, TMT, VERSION, STRING) + TM_PROP(608, TMT, DESCRIPTION, STRING) +# define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME +# define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION + + /* Font theme metric properties */ + TM_PROP(801, TMT, CAPTIONFONT, FONT) + TM_PROP(802, TMT, SMALLCAPTIONFONT, FONT) + TM_PROP(803, TMT, MENUFONT, FONT) + TM_PROP(804, TMT, STATUSFONT, FONT) + TM_PROP(805, TMT, MSGBOXFONT, FONT) + TM_PROP(806, TMT, ICONTITLEFONT, FONT) +# define TMT_FIRSTFONT TMT_CAPTIONFONT +# define TMT_LASTFONT TMT_ICONTITLEFONT + + /* Bool theme metric properties */ + TM_PROP(1001, TMT, FLATMENUS, BOOL) +# define TMT_FIRSTBOOL TMT_FLATMENUS +# define TMT_LASTBOOL TMT_FLATMENUS + + /* Size theme metric properties */ + TM_PROP(1201, TMT, SIZINGBORDERWIDTH, SIZE) + TM_PROP(1202, TMT, SCROLLBARWIDTH, SIZE) + TM_PROP(1203, TMT, SCROLLBARHEIGHT, SIZE) + TM_PROP(1204, TMT, CAPTIONBARWIDTH, SIZE) + TM_PROP(1205, TMT, CAPTIONBARHEIGHT, SIZE) + TM_PROP(1206, TMT, SMCAPTIONBARWIDTH, SIZE) + TM_PROP(1207, TMT, SMCAPTIONBARHEIGHT, SIZE) + TM_PROP(1208, TMT, MENUBARWIDTH, SIZE) + TM_PROP(1209, TMT, MENUBARHEIGHT, SIZE) +# define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH +# define TMT_LASTSIZE TMT_MENUBARHEIGHT + + /* Int theme metric properties */ + TM_PROP(1301, TMT, MINCOLORDEPTH, INT) +# define TMT_FIRSTINT TMT_MINCOLORDEPTH +# define TMT_LASTINT TMT_MINCOLORDEPTH + + /* String theme metric properties */ + TM_PROP(1401, TMT, CSSNAME, STRING) + TM_PROP(1402, TMT, XMLNAME, STRING) +# define TMT_FIRSTSTRING TMT_CSSNAME +# define TMT_LASTSTRING TMT_XMLNAME + + /* Color theme metric properties */ + TM_PROP(1601, TMT, SCROLLBAR, COLOR) + TM_PROP(1602, TMT, BACKGROUND, COLOR) + TM_PROP(1603, TMT, ACTIVECAPTION, COLOR) + TM_PROP(1604, TMT, INACTIVECAPTION, COLOR) + TM_PROP(1605, TMT, MENU, COLOR) + TM_PROP(1606, TMT, WINDOW, COLOR) + TM_PROP(1607, TMT, WINDOWFRAME, COLOR) + TM_PROP(1608, TMT, MENUTEXT, COLOR) + TM_PROP(1609, TMT, WINDOWTEXT, COLOR) + TM_PROP(1610, TMT, CAPTIONTEXT, COLOR) + TM_PROP(1611, TMT, ACTIVEBORDER, COLOR) + TM_PROP(1612, TMT, INACTIVEBORDER, COLOR) + TM_PROP(1613, TMT, APPWORKSPACE, COLOR) + TM_PROP(1614, TMT, HIGHLIGHT, COLOR) + TM_PROP(1615, TMT, HIGHLIGHTTEXT, COLOR) + TM_PROP(1616, TMT, BTNFACE, COLOR) + TM_PROP(1617, TMT, BTNSHADOW, COLOR) + TM_PROP(1618, TMT, GRAYTEXT, COLOR) + TM_PROP(1619, TMT, BTNTEXT, COLOR) + TM_PROP(1620, TMT, INACTIVECAPTIONTEXT, COLOR) + TM_PROP(1621, TMT, BTNHIGHLIGHT, COLOR) + TM_PROP(1622, TMT, DKSHADOW3D, COLOR) + TM_PROP(1623, TMT, LIGHT3D, COLOR) + TM_PROP(1624, TMT, INFOTEXT, COLOR) + TM_PROP(1625, TMT, INFOBK, COLOR) + TM_PROP(1626, TMT, BUTTONALTERNATEFACE, COLOR) + TM_PROP(1627, TMT, HOTTRACKING, COLOR) + TM_PROP(1628, TMT, GRADIENTACTIVECAPTION, COLOR) + TM_PROP(1629, TMT, GRADIENTINACTIVECAPTION, COLOR) + TM_PROP(1630, TMT, MENUHILIGHT, COLOR) + TM_PROP(1631, TMT, MENUBAR, COLOR) +# define TMT_FIRSTCOLOR TMT_SCROLLBAR +# define TMT_LASTCOLOR TMT_MENUBAR + + /* hue substitutions */ + TM_PROP(1801, TMT, FROMHUE1, INT) + TM_PROP(1802, TMT, FROMHUE2, INT) + TM_PROP(1803, TMT, FROMHUE3, INT) + TM_PROP(1804, TMT, FROMHUE4, INT) + TM_PROP(1805, TMT, FROMHUE5, INT) + TM_PROP(1806, TMT, TOHUE1, INT) + TM_PROP(1807, TMT, TOHUE2, INT) + TM_PROP(1808, TMT, TOHUE3, INT) + TM_PROP(1809, TMT, TOHUE4, INT) + TM_PROP(1810, TMT, TOHUE5, INT) + + /* color substitutions */ + TM_PROP(2001, TMT, FROMCOLOR1, COLOR) + TM_PROP(2002, TMT, FROMCOLOR2, COLOR) + TM_PROP(2003, TMT, FROMCOLOR3, COLOR) + TM_PROP(2004, TMT, FROMCOLOR4, COLOR) + TM_PROP(2005, TMT, FROMCOLOR5, COLOR) + TM_PROP(2006, TMT, TOCOLOR1, COLOR) + TM_PROP(2007, TMT, TOCOLOR2, COLOR) + TM_PROP(2008, TMT, TOCOLOR3, COLOR) + TM_PROP(2009, TMT, TOCOLOR4, COLOR) + TM_PROP(2010, TMT, TOCOLOR5, COLOR) + + /* Bool rendering properties */ + TM_PROP(2201, TMT, TRANSPARENT, BOOL) + TM_PROP(2202, TMT, AUTOSIZE, BOOL) + TM_PROP(2203, TMT, BORDERONLY, BOOL) + TM_PROP(2204, TMT, COMPOSITED, BOOL) + TM_PROP(2205, TMT, BGFILL, BOOL) + TM_PROP(2206, TMT, GLYPHTRANSPARENT, BOOL) + TM_PROP(2207, TMT, GLYPHONLY, BOOL) + TM_PROP(2208, TMT, ALWAYSSHOWSIZINGBAR, BOOL) + TM_PROP(2209, TMT, MIRRORIMAGE, BOOL) + TM_PROP(2210, TMT, UNIFORMSIZING, BOOL) + TM_PROP(2211, TMT, INTEGRALSIZING, BOOL) + TM_PROP(2212, TMT, SOURCEGROW, BOOL) + TM_PROP(2213, TMT, SOURCESHRINK, BOOL) + + /* Int rendering properties */ + TM_PROP(2401, TMT, IMAGECOUNT, INT) + TM_PROP(2402, TMT, ALPHALEVEL, INT) + TM_PROP(2403, TMT, BORDERSIZE, INT) + TM_PROP(2404, TMT, ROUNDCORNERWIDTH, INT) + TM_PROP(2405, TMT, ROUNDCORNERHEIGHT, INT) + TM_PROP(2406, TMT, GRADIENTRATIO1, INT) + TM_PROP(2407, TMT, GRADIENTRATIO2, INT) + TM_PROP(2408, TMT, GRADIENTRATIO3, INT) + TM_PROP(2409, TMT, GRADIENTRATIO4, INT) + TM_PROP(2410, TMT, GRADIENTRATIO5, INT) + TM_PROP(2411, TMT, PROGRESSCHUNKSIZE, INT) + TM_PROP(2412, TMT, PROGRESSSPACESIZE, INT) + TM_PROP(2413, TMT, SATURATION, INT) + TM_PROP(2414, TMT, TEXTBORDERSIZE, INT) + TM_PROP(2415, TMT, ALPHATHRESHOLD, INT) + TM_PROP(2416, TMT, WIDTH, SIZE) + TM_PROP(2417, TMT, HEIGHT, SIZE) + TM_PROP(2418, TMT, GLYPHINDEX, INT) + TM_PROP(2419, TMT, TRUESIZESTRETCHMARK, INT) + TM_PROP(2420, TMT, MINDPI1, INT) + TM_PROP(2421, TMT, MINDPI2, INT) + TM_PROP(2422, TMT, MINDPI3, INT) + TM_PROP(2423, TMT, MINDPI4, INT) + TM_PROP(2424, TMT, MINDPI5, INT) + + /* Font rendering properties */ + TM_PROP(2601, TMT, GLYPHFONT, FONT) + + /* Filename rendering properties */ + TM_PROP(3001, TMT, IMAGEFILE, FILENAME) + TM_PROP(3002, TMT, IMAGEFILE1, FILENAME) + TM_PROP(3003, TMT, IMAGEFILE2, FILENAME) + TM_PROP(3004, TMT, IMAGEFILE3, FILENAME) + TM_PROP(3005, TMT, IMAGEFILE4, FILENAME) + TM_PROP(3006, TMT, IMAGEFILE5, FILENAME) + TM_PROP(3007, TMT, STOCKIMAGEFILE, FILENAME) + TM_PROP(3008, TMT, GLYPHIMAGEFILE, FILENAME) + + /* String rendering properties */ + TM_PROP(3201, TMT, TEXT, STRING) + + /* Position rendering properties */ + TM_PROP(3401, TMT, OFFSET, POSITION) + TM_PROP(3402, TMT, TEXTSHADOWOFFSET, POSITION) + TM_PROP(3403, TMT, MINSIZE, POSITION) + TM_PROP(3404, TMT, MINSIZE1, POSITION) + TM_PROP(3405, TMT, MINSIZE2, POSITION) + TM_PROP(3406, TMT, MINSIZE3, POSITION) + TM_PROP(3407, TMT, MINSIZE4, POSITION) + TM_PROP(3408, TMT, MINSIZE5, POSITION) + TM_PROP(3409, TMT, NORMALSIZE, POSITION) + + /* Margin rendering properties */ + TM_PROP(3601, TMT, SIZINGMARGINS, MARGINS) + TM_PROP(3602, TMT, CONTENTMARGINS, MARGINS) + TM_PROP(3603, TMT, CAPTIONMARGINS, MARGINS) + + /* Color rendering properties */ + TM_PROP(3801, TMT, BORDERCOLOR, COLOR) + TM_PROP(3802, TMT, FILLCOLOR, COLOR) + TM_PROP(3803, TMT, TEXTCOLOR, COLOR) + TM_PROP(3804, TMT, EDGELIGHTCOLOR, COLOR) + TM_PROP(3805, TMT, EDGEHIGHLIGHTCOLOR, COLOR) + TM_PROP(3806, TMT, EDGESHADOWCOLOR, COLOR) + TM_PROP(3807, TMT, EDGEDKSHADOWCOLOR, COLOR) + TM_PROP(3808, TMT, EDGEFILLCOLOR, COLOR) + TM_PROP(3809, TMT, TRANSPARENTCOLOR, COLOR) + TM_PROP(3810, TMT, GRADIENTCOLOR1, COLOR) + TM_PROP(3811, TMT, GRADIENTCOLOR2, COLOR) + TM_PROP(3812, TMT, GRADIENTCOLOR3, COLOR) + TM_PROP(3813, TMT, GRADIENTCOLOR4, COLOR) + TM_PROP(3814, TMT, GRADIENTCOLOR5, COLOR) + TM_PROP(3815, TMT, SHADOWCOLOR, COLOR) + TM_PROP(3816, TMT, GLOWCOLOR, COLOR) + TM_PROP(3817, TMT, TEXTBORDERCOLOR, COLOR) + TM_PROP(3818, TMT, TEXTSHADOWCOLOR, COLOR) + TM_PROP(3819, TMT, GLYPHTEXTCOLOR, COLOR) + TM_PROP(3820, TMT, GLYPHTRANSPARENTCOLOR, COLOR) + TM_PROP(3821, TMT, FILLCOLORHINT, COLOR) + TM_PROP(3822, TMT, BORDERCOLORHINT, COLOR) + TM_PROP(3823, TMT, ACCENTCOLORHINT, COLOR) + + /* Enum rendering properties */ + TM_PROP(4001, TMT, BGTYPE, ENUM) + TM_PROP(4002, TMT, BORDERTYPE, ENUM) + TM_PROP(4003, TMT, FILLTYPE, ENUM) + TM_PROP(4004, TMT, SIZINGTYPE, ENUM) + TM_PROP(4005, TMT, HALIGN, ENUM) + TM_PROP(4006, TMT, CONTENTALIGNMENT, ENUM) + TM_PROP(4007, TMT, VALIGN, ENUM) + TM_PROP(4008, TMT, OFFSETTYPE, ENUM) + TM_PROP(4009, TMT, ICONEFFECT, ENUM) + TM_PROP(4010, TMT, TEXTSHADOWTYPE, ENUM) + TM_PROP(4011, TMT, IMAGELAYOUT, ENUM) + TM_PROP(4012, TMT, GLYPHTYPE, ENUM) + TM_PROP(4013, TMT, IMAGESELECTTYPE, ENUM) + TM_PROP(4014, TMT, GLYPHFONTSIZINGTYPE, ENUM) + TM_PROP(4015, TMT, TRUESIZESCALINGTYPE, ENUM) + + /* custom properties */ + TM_PROP(5001, TMT, USERPICTURE, BOOL) + TM_PROP(5002, TMT, DEFAULTPANESIZE, RECT) + TM_PROP(5003, TMT, BLENDCOLOR, COLOR) + +END_TM_PROPS() + + +/***** PARTS & STATES *****/ + +/* BUTTON parts */ +BEGIN_TM_CLASS_PARTS(BUTTON) + TM_PART(1, BP, PUSHBUTTON) + TM_PART(2, BP, RADIOBUTTON) + TM_PART(3, BP, CHECKBOX) + TM_PART(4, BP, GROUPBOX) + TM_PART(5, BP, USERBUTTON) +END_TM_CLASS_PARTS() + +/* BUTTON - PUSHBUTTON states */ +BEGIN_TM_PART_STATES(PUSHBUTTON) + TM_STATE(1, PBS, NORMAL) + TM_STATE(2, PBS, HOT) + TM_STATE(3, PBS, PRESSED) + TM_STATE(4, PBS, DISABLED) + TM_STATE(5, PBS, DEFAULTED) +END_TM_PART_STATES() + +/* BUTTON - RADIOBUTTON states */ +BEGIN_TM_PART_STATES(RADIOBUTTON) + TM_STATE(1, RBS, UNCHECKEDNORMAL) + TM_STATE(2, RBS, UNCHECKEDHOT) + TM_STATE(3, RBS, UNCHECKEDPRESSED) + TM_STATE(4, RBS, UNCHECKEDDISABLED) + TM_STATE(5, RBS, CHECKEDNORMAL) + TM_STATE(6, RBS, CHECKEDHOT) + TM_STATE(7, RBS, CHECKEDPRESSED) + TM_STATE(8, RBS, CHECKEDDISABLED) +END_TM_PART_STATES() + +/* BUTTON - CHECKBOX states */ +BEGIN_TM_PART_STATES(CHECKBOX) + TM_STATE(1, CBS, UNCHECKEDNORMAL) + TM_STATE(2, CBS, UNCHECKEDHOT) + TM_STATE(3, CBS, UNCHECKEDPRESSED) + TM_STATE(4, CBS, UNCHECKEDDISABLED) + TM_STATE(5, CBS, CHECKEDNORMAL) + TM_STATE(6, CBS, CHECKEDHOT) + TM_STATE(7, CBS, CHECKEDPRESSED) + TM_STATE(8, CBS, CHECKEDDISABLED) + TM_STATE(9, CBS, MIXEDNORMAL) + TM_STATE(10, CBS, MIXEDHOT) + TM_STATE(11, CBS, MIXEDPRESSED) + TM_STATE(12, CBS, MIXEDDISABLED) +END_TM_PART_STATES() + +/* BUTTON - GROUPBOX states */ +BEGIN_TM_PART_STATES(GROUPBOX) + TM_STATE(1, GBS, NORMAL) + TM_STATE(2, GBS, DISABLED) +END_TM_PART_STATES() + +/* CLOCK parts */ +BEGIN_TM_CLASS_PARTS(CLOCK) + TM_PART(1, CLP, TIME) +END_TM_CLASS_PARTS() + +/* CLOCK states */ +BEGIN_TM_PART_STATES(CLOCK) + TM_STATE(1, CLS, NORMAL) +END_TM_PART_STATES() + +/* COMBOBOX parts */ +BEGIN_TM_CLASS_PARTS(COMBOBOX) + TM_PART(1, CP, DROPDOWNBUTTON) +END_TM_CLASS_PARTS() + +/* COMBOBOX states */ +BEGIN_TM_PART_STATES(COMBOBOX) + TM_STATE(1, CBXS, NORMAL) + TM_STATE(2, CBXS, HOT) + TM_STATE(3, CBXS, PRESSED) + TM_STATE(4, CBXS, DISABLED) +END_TM_PART_STATES() + +/* EDIT parts */ +BEGIN_TM_CLASS_PARTS(EDIT) + TM_PART(1, EP, EDITTEXT) + TM_PART(2, EP, CARET) +END_TM_CLASS_PARTS() + +/* EDIT - EDITTEXT states */ +BEGIN_TM_PART_STATES(EDITTEXT) + TM_STATE(1, ETS, NORMAL) + TM_STATE(2, ETS, HOT) + TM_STATE(3, ETS, SELECTED) + TM_STATE(4, ETS, DISABLED) + TM_STATE(5, ETS, FOCUSED) + TM_STATE(6, ETS, READONLY) + TM_STATE(7, ETS, ASSIST) +END_TM_PART_STATES() + +/* EXPLORERBAR parts */ +BEGIN_TM_CLASS_PARTS(EXPLORERBAR) + TM_PART(1, EBP, HEADERBACKGROUND) + TM_PART(2, EBP, HEADERCLOSE) + TM_PART(3, EBP, HEADERPIN) + TM_PART(4, EBP, IEBARMENU) + TM_PART(5, EBP, NORMALGROUPBACKGROUND) + TM_PART(6, EBP, NORMALGROUPCOLLAPSE) + TM_PART(7, EBP, NORMALGROUPEXPAND) + TM_PART(8, EBP, NORMALGROUPHEAD) + TM_PART(9, EBP, SPECIALGROUPBACKGROUND) + TM_PART(10, EBP, SPECIALGROUPCOLLAPSE) + TM_PART(11, EBP, SPECIALGROUPEXPAND) + TM_PART(12, EBP, SPECIALGROUPHEAD) +END_TM_CLASS_PARTS() + +/* EXPLORERBAR - HEADERCLOSE states */ +BEGIN_TM_PART_STATES(HEADERCLOSE) + TM_STATE(1, EBHC, NORMAL) + TM_STATE(2, EBHC, HOT) + TM_STATE(3, EBHC, PRESSED) +END_TM_PART_STATES() + +/* EXPLORERBAR - HEADERPIN states */ +BEGIN_TM_PART_STATES(HEADERPIN) + TM_STATE(1, EBHP, NORMAL) + TM_STATE(2, EBHP, HOT) + TM_STATE(3, EBHP, PRESSED) + TM_STATE(4, EBHP, SELECTEDNORMAL) + TM_STATE(5, EBHP, SELECTEDHOT) + TM_STATE(6, EBHP, SELECTEDPRESSED) +END_TM_PART_STATES() + +/* EXPLORERBAR - IEBARMENU states */ +BEGIN_TM_PART_STATES(IEBARMENU) + TM_STATE(1, EBM, NORMAL) + TM_STATE(2, EBM, HOT) + TM_STATE(3, EBM, PRESSED) +END_TM_PART_STATES() + +/* EXPLORERBAR - NORMALGROUPCOLLAPSE states */ +BEGIN_TM_PART_STATES(NORMALGROUPCOLLAPSE) + TM_STATE(1, EBNGC, NORMAL) + TM_STATE(2, EBNGC, HOT) + TM_STATE(3, EBNGC, PRESSED) +END_TM_PART_STATES() + +/* EXPLORERBAR - NORMALGROUPEXPAND states */ +BEGIN_TM_PART_STATES(NORMALGROUPEXPAND) + TM_STATE(1, EBNGE, NORMAL) + TM_STATE(2, EBNGE, HOT) + TM_STATE(3, EBNGE, PRESSED) +END_TM_PART_STATES() + +/* EXPLORERBAR - SPECIALGROUPCOLLAPSE states */ +BEGIN_TM_PART_STATES(SPECIALGROUPCOLLAPSE) + TM_STATE(1, EBSGC, NORMAL) + TM_STATE(2, EBSGC, HOT) + TM_STATE(3, EBSGC, PRESSED) +END_TM_PART_STATES() + +/* EXPLORERBAR - SPECIALGROUPEXPAND states */ +BEGIN_TM_PART_STATES(SPECIALGROUPEXPAND) + TM_STATE(1, EBSGE, NORMAL) + TM_STATE(2, EBSGE, HOT) + TM_STATE(3, EBSGE, PRESSED) +END_TM_PART_STATES() + +/* GLOBALS parts */ +BEGIN_TM_CLASS_PARTS(GLOBALS) + TM_PART(1, GP, BORDER) + TM_PART(2, GP, LINEHORZ) + TM_PART(3, GP, LINEVERT) +END_TM_CLASS_PARTS() + +/* GLOBALS - BORDER states */ +BEGIN_TM_PART_STATES(BORDER) + TM_STATE(1, BSS, FLAT) + TM_STATE(2, BSS, RAISED) + TM_STATE(3, BSS, SUNKEN) +END_TM_PART_STATES() + +/* GLOBALS - LINEHORZ states */ +BEGIN_TM_PART_STATES(LINEHORZ) + TM_STATE(1, LHS, FLAT) + TM_STATE(2, LHS, RAISED) + TM_STATE(3, LHS, SUNKEN) +END_TM_PART_STATES() + +/* GLOBAL - LINEVERT states */ +BEGIN_TM_PART_STATES(LINEVERT) + TM_STATE(1, LVS, FLAT) + TM_STATE(2, LVS, RAISED) + TM_STATE(3, LVS, SUNKEN) +END_TM_PART_STATES() + +/* HEADER parts */ +BEGIN_TM_CLASS_PARTS(HEADER) + TM_PART(1, HP, HEADERITEM) + TM_PART(2, HP, HEADERITEMLEFT) + TM_PART(3, HP, HEADERITEMRIGHT) + TM_PART(4, HP, HEADERSORTARROW) +END_TM_CLASS_PARTS() + +/* HEADER - HEADERITEM states */ +BEGIN_TM_PART_STATES(HEADERITEM) + TM_STATE(1, HIS, NORMAL) + TM_STATE(2, HIS, HOT) + TM_STATE(3, HIS, PRESSED) +END_TM_PART_STATES() + +/* HEADER - HEADERITEMLEFT states */ +BEGIN_TM_PART_STATES(HEADERITEMLEFT) + TM_STATE(1, HILS, NORMAL) + TM_STATE(2, HILS, HOT) + TM_STATE(3, HILS, PRESSED) +END_TM_PART_STATES() + +/* HEADER - HEADERITEMRIGHT states */ +BEGIN_TM_PART_STATES(HEADERITEMRIGHT) + TM_STATE(1, HIRS, NORMAL) + TM_STATE(2, HIRS, HOT) + TM_STATE(3, HIRS, PRESSED) +END_TM_PART_STATES() + +/* HEADER - HEADERSORTARROW states */ +BEGIN_TM_PART_STATES(HEADERSORTARROW) + TM_STATE(1, HSAS, SORTEDUP) + TM_STATE(2, HSAS, SORTEDDOWN) +END_TM_PART_STATES() + +/* LISTVIEW parts */ +BEGIN_TM_CLASS_PARTS(LISTVIEW) + TM_PART(1, LVP, LISTITEM) + TM_PART(2, LVP, LISTGROUP) + TM_PART(3, LVP, LISTDETAIL) + TM_PART(4, LVP, LISTSORTEDDETAIL) + TM_PART(5, LVP, EMPTYTEXT) +END_TM_CLASS_PARTS() + +/* LISTVIEW - LISTITEM states */ +BEGIN_TM_PART_STATES(LISTITEM) + TM_STATE(1, LIS, NORMAL) + TM_STATE(2, LIS, HOT) + TM_STATE(3, LIS, SELECTED) + TM_STATE(4, LIS, DISABLED) + TM_STATE(5, LIS, SELECTEDNOTFOCUS) +END_TM_PART_STATES() + +/* MENU parts */ +BEGIN_TM_CLASS_PARTS(MENU) + TM_PART(1, MP, MENUITEM) + TM_PART(2, MP, MENUDROPDOWN) + TM_PART(3, MP, MENUBARITEM) + TM_PART(4, MP, MENUBARDROPDOWN) + TM_PART(5, MP, CHEVRON) + TM_PART(6, MP, SEPARATOR) +END_TM_CLASS_PARTS() + +/* MENU - * states */ +BEGIN_TM_PART_STATES(MENU) + TM_STATE(1, MS, NORMAL) + TM_STATE(2, MS, SELECTED) + TM_STATE(3, MS, DEMOTED) +END_TM_PART_STATES() + +/* MENUBAND parts */ +BEGIN_TM_CLASS_PARTS(MENUBAND) + TM_PART(1, MDP, NEWAPPBUTTON) +/* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */ + TM_PART(2, MDP, SEPERATOR) +END_TM_CLASS_PARTS() + +/* MENUBAND states */ +BEGIN_TM_PART_STATES(MENUBAND) + TM_STATE(1, MDS, NORMAL) + TM_STATE(2, MDS, HOT) + TM_STATE(3, MDS, PRESSED) + TM_STATE(4, MDS, DISABLED) + TM_STATE(5, MDS, CHECKED) + TM_STATE(6, MDS, HOTCHECKED) +END_TM_PART_STATES() + +/* PAGE parts */ +BEGIN_TM_CLASS_PARTS(PAGE) + TM_PART(1, PGRP, UP) + TM_PART(2, PGRP, DOWN) + TM_PART(3, PGRP, UPHORZ) + TM_PART(4, PGRP, DOWNHORZ) +END_TM_CLASS_PARTS() + +/* PAGE - UP states */ +BEGIN_TM_PART_STATES(UP) + TM_STATE(1, UPS, NORMAL) + TM_STATE(2, UPS, HOT) + TM_STATE(3, UPS, PRESSED) + TM_STATE(4, UPS, DISABLED) +END_TM_PART_STATES() + +/* PAGE - DOWN states */ +BEGIN_TM_PART_STATES(DOWN) + TM_STATE(1, DNS, NORMAL) + TM_STATE(2, DNS, HOT) + TM_STATE(3, DNS, PRESSED) + TM_STATE(4, DNS, DISABLED) +END_TM_PART_STATES() + +/* PAGE - UPHORZ states */ +BEGIN_TM_PART_STATES(UPHORZ) + TM_STATE(1, UPHZS, NORMAL) + TM_STATE(2, UPHZS, HOT) + TM_STATE(3, UPHZS, PRESSED) + TM_STATE(4, UPHZS, DISABLED) +END_TM_PART_STATES() + +/* PAGE - DOWNHORZ states */ +BEGIN_TM_PART_STATES(DOWNHORZ) + TM_STATE(1, DNHZS, NORMAL) + TM_STATE(2, DNHZS, HOT) + TM_STATE(3, DNHZS, PRESSED) + TM_STATE(4, DNHZS, DISABLED) +END_TM_PART_STATES() + +/* PROGRESS parts */ +BEGIN_TM_CLASS_PARTS(PROGRESS) + TM_PART(1, PP, BAR) + TM_PART(2, PP, BARVERT) + TM_PART(3, PP, CHUNK) + TM_PART(4, PP, CHUNKVERT) +END_TM_CLASS_PARTS() + +/* REBAR parts */ +BEGIN_TM_CLASS_PARTS(REBAR) + TM_PART(1, RP, GRIPPER) + TM_PART(2, RP, GRIPPERVERT) + TM_PART(3, RP, BAND) + TM_PART(4, RP, CHEVRON) + TM_PART(5, RP, CHEVRONVERT) +END_TM_CLASS_PARTS() + +/* REBAR - CHEVRON states */ +BEGIN_TM_PART_STATES(CHEVRON) + TM_STATE(1, CHEVS, NORMAL) + TM_STATE(2, CHEVS, HOT) + TM_STATE(3, CHEVS, PRESSED) +END_TM_PART_STATES() + +/* SCROLLBAR parts */ +BEGIN_TM_CLASS_PARTS(SCROLLBAR) + TM_PART(1, SBP, ARROWBTN) + TM_PART(2, SBP, THUMBBTNHORZ) + TM_PART(3, SBP, THUMBBTNVERT) + TM_PART(4, SBP, LOWERTRACKHORZ) + TM_PART(5, SBP, UPPERTRACKHORZ) + TM_PART(6, SBP, LOWERTRACKVERT) + TM_PART(7, SBP, UPPERTRACKVERT) + TM_PART(8, SBP, GRIPPERHORZ) + TM_PART(9, SBP, GRIPPERVERT) + TM_PART(10, SBP, SIZEBOX) +END_TM_CLASS_PARTS() + +/* SCROLLBAR - ARROWBTN states */ +BEGIN_TM_PART_STATES(ARROWBTN) + TM_STATE(1, ABS, UPNORMAL) + TM_STATE(2, ABS, UPHOT) + TM_STATE(3, ABS, UPPRESSED) + TM_STATE(4, ABS, UPDISABLED) + TM_STATE(5, ABS, DOWNNORMAL) + TM_STATE(6, ABS, DOWNHOT) + TM_STATE(7, ABS, DOWNPRESSED) + TM_STATE(8, ABS, DOWNDISABLED) + TM_STATE(9, ABS, LEFTNORMAL) + TM_STATE(10, ABS, LEFTHOT) + TM_STATE(11, ABS, LEFTPRESSED) + TM_STATE(12, ABS, LEFTDISABLED) + TM_STATE(13, ABS, RIGHTNORMAL) + TM_STATE(14, ABS, RIGHTHOT) + TM_STATE(15, ABS, RIGHTPRESSED) + TM_STATE(16, ABS, RIGHTDISABLED) +END_TM_PART_STATES() + +/* SCROLLBAR - LOWER* / THUMB* / UPPER* states */ +BEGIN_TM_PART_STATES(SCROLLBAR) + TM_STATE(1, SCRBS, NORMAL) + TM_STATE(2, SCRBS, HOT) + TM_STATE(3, SCRBS, PRESSED) + TM_STATE(4, SCRBS, DISABLED) +END_TM_PART_STATES() + +/* SCROLLBAR - SIZEBOX states */ +BEGIN_TM_PART_STATES(SIZEBOX) + TM_STATE(1, SZB, RIGHTALIGN) + TM_STATE(2, SZB, LEFTALIGN) +END_TM_PART_STATES() + +/* SPIN parts */ +BEGIN_TM_CLASS_PARTS(SPIN) + TM_PART(1, SPNP, UP) + TM_PART(2, SPNP, DOWN) + TM_PART(3, SPNP, UPHORZ) + TM_PART(4, SPNP, DOWNHORZ) +END_TM_CLASS_PARTS() + +/* SPIN * states */ +/* See PAGE states */ + +/* STARTPANEL parts */ +BEGIN_TM_CLASS_PARTS(STARTPANEL) + TM_PART(1, SPP, USERPANE) + TM_PART(2, SPP, MOREPROGRAMS) + TM_PART(3, SPP, MOREPROGRAMSARROW) + TM_PART(4, SPP, PROGLIST) + TM_PART(5, SPP, PROGLISTSEPARATOR) + TM_PART(6, SPP, PLACESLIST) + TM_PART(7, SPP, PLACESLISTSEPARATOR) + TM_PART(8, SPP, LOGOFF) + TM_PART(9, SPP, LOGOFFBUTTONS) + TM_PART(10, SPP, USERPICTURE) + TM_PART(11, SPP, PREVIEW) +END_TM_CLASS_PARTS() + +/* STARTPANEL - MOREPROGRAMSARROW states */ +BEGIN_TM_PART_STATES(MOREPROGRAMSARROW) + TM_STATE(1, SPS, NORMAL) + TM_STATE(2, SPS, HOT) + TM_STATE(3, SPS, PRESSED) +END_TM_PART_STATES() + +/* STARTPANEL - LOGOFFBUTTONS states */ +BEGIN_TM_PART_STATES(LOGOFFBUTTONS) + TM_STATE(1, SPLS, NORMAL) + TM_STATE(2, SPLS, HOT) + TM_STATE(3, SPLS, PRESSED) +END_TM_PART_STATES() + +/* STATUS parts */ +BEGIN_TM_CLASS_PARTS(STATUS) + TM_PART(1, SP, PANE) + TM_PART(2, SP, GRIPPERPANE) + TM_PART(3, SP, GRIPPER) +END_TM_CLASS_PARTS() + +/* TAB parts */ +BEGIN_TM_CLASS_PARTS(TAB) + TM_PART(1, TABP, TABITEM) + TM_PART(2, TABP, TABITEMLEFTEDGE) + TM_PART(3, TABP, TABITEMRIGHTEDGE) + TM_PART(4, TABP, TABITEMBOTHEDGE) + TM_PART(5, TABP, TOPTABITEM) + TM_PART(6, TABP, TOPTABITEMLEFTEDGE) + TM_PART(7, TABP, TOPTABITEMRIGHTEDGE) + TM_PART(8, TABP, TOPTABITEMBOTHEDGE) + TM_PART(9, TABP, PANE) + TM_PART(10, TABP, BODY) +END_TM_CLASS_PARTS() + +/* TAB - TABITEM states */ +BEGIN_TM_PART_STATES(TABITEM) + TM_STATE(1, TIS, NORMAL) + TM_STATE(2, TIS, HOT) + TM_STATE(3, TIS, SELECTED) + TM_STATE(4, TIS, DISABLED) + TM_STATE(5, TIS, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TABITEMLEFTEDGE states */ +BEGIN_TM_PART_STATES(TABITEMLEFTEDGE) + TM_STATE(1, TILES, NORMAL) + TM_STATE(2, TILES, HOT) + TM_STATE(3, TILES, SELECTED) + TM_STATE(4, TILES, DISABLED) + TM_STATE(5, TILES, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TABITEMRIGHTEDGE states */ +BEGIN_TM_PART_STATES(TABITEMRIGHTEDGE) + TM_STATE(1, TIRES, NORMAL) + TM_STATE(2, TIRES, HOT) + TM_STATE(3, TIRES, SELECTED) + TM_STATE(4, TIRES, DISABLED) + TM_STATE(5, TIRES, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TABITEMBOTHEDGES states */ +BEGIN_TM_PART_STATES(TABITEMBOTHEDGES) + TM_STATE(1, TIBES, NORMAL) + TM_STATE(2, TIBES, HOT) + TM_STATE(3, TIBES, SELECTED) + TM_STATE(4, TIBES, DISABLED) + TM_STATE(5, TIBES, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TOPTABITEM states */ +BEGIN_TM_PART_STATES(TOPTABITEM) + TM_STATE(1, TTIS, NORMAL) + TM_STATE(2, TTIS, HOT) + TM_STATE(3, TTIS, SELECTED) + TM_STATE(4, TTIS, DISABLED) + TM_STATE(5, TTIS, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TOPTABITEMLEFTEDGE states */ +BEGIN_TM_PART_STATES(TOPTABITEMLEFTEDGE) + TM_STATE(1, TTILES, NORMAL) + TM_STATE(2, TTILES, HOT) + TM_STATE(3, TTILES, SELECTED) + TM_STATE(4, TTILES, DISABLED) + TM_STATE(5, TTILES, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TOPTABITEMRIGHTEDGE states */ +BEGIN_TM_PART_STATES(TOPTABITEMRIGHTEDGE) + TM_STATE(1, TTIRES, NORMAL) + TM_STATE(2, TTIRES, HOT) + TM_STATE(3, TTIRES, SELECTED) + TM_STATE(4, TTIRES, DISABLED) + TM_STATE(5, TTIRES, FOCUSED) +END_TM_PART_STATES() + +/* TAB - TOPTABITEMBOTHEDGES states */ +BEGIN_TM_PART_STATES(TOPTABITEMBOTHEDGES) + TM_STATE(1, TTIBES, NORMAL) + TM_STATE(2, TTIBES, HOT) + TM_STATE(3, TTIBES, SELECTED) + TM_STATE(4, TTIBES, DISABLED) + TM_STATE(5, TTIBES, FOCUSED) +END_TM_PART_STATES() + +/* TASKBAND parts */ +BEGIN_TM_CLASS_PARTS(TASKBAND) + TM_PART(1, TDP, GROUPCOUNT) + TM_PART(2, TDP, FLASHBUTTON) + TM_PART(3, TDP, FLASHBUTTONGROUPMENU) +END_TM_CLASS_PARTS() + +/* TASKBAR parts */ +BEGIN_TM_CLASS_PARTS(TASKBAR) + TM_PART(1, TBP, BACKGROUNDBOTTOM) + TM_PART(2, TBP, BACKGROUNDRIGHT) + TM_PART(3, TBP, BACKGROUNDTOP) + TM_PART(4, TBP, BACKGROUNDLEFT) + TM_PART(5, TBP, SIZINGBARBOTTOM) + TM_PART(6, TBP, SIZINGBARRIGHT) + TM_PART(7, TBP, SIZINGBARTOP) + TM_PART(8, TBP, SIZINGBARLEFT) +END_TM_CLASS_PARTS() + +/* TOOLBAR parts */ +BEGIN_TM_CLASS_PARTS(TOOLBAR) + TM_PART(1, TP, BUTTON) + TM_PART(2, TP, DROPDOWNBUTTON) + TM_PART(3, TP, SPLITBUTTON) + TM_PART(4, TP, SPLITBUTTONDROPDOWN) + TM_PART(5, TP, SEPARATOR) + TM_PART(6, TP, SEPARATORVERT) +END_TM_CLASS_PARTS() + +/* TOOLBAR - * states */ +BEGIN_TM_PART_STATES(TOOLBAR) + TM_STATE(1, TS, NORMAL) + TM_STATE(2, TS, HOT) + TM_STATE(3, TS, PRESSED) + TM_STATE(4, TS, DISABLED) + TM_STATE(5, TS, CHECKED) + TM_STATE(6, TS, HOTCHECKED) +END_TM_PART_STATES() + +/* TOOLTIP parts */ +BEGIN_TM_CLASS_PARTS(TOOLTIP) + TM_PART(1, TTP, STANDARD) + TM_PART(2, TTP, STANDARDTITLE) + TM_PART(3, TTP, BALLOON) + TM_PART(4, TTP, BALLOONTITLE) + TM_PART(5, TTP, CLOSE) +END_TM_CLASS_PARTS() + +/* TOOLTIP - STANDARD states */ +BEGIN_TM_PART_STATES(STANDARD) + TM_STATE(1, TTSS, NORMAL) + TM_STATE(2, TTSS, LINK) +END_TM_PART_STATES() + +/* TOOLTIP - STANDARDTITLE states */ +/* See TOOLTIP STANDARD */ + +/* TOOLTIP - BALLOON states */ +BEGIN_TM_PART_STATES(BALLOON) + TM_STATE(1, TTBS, NORMAL) + TM_STATE(2, TTBS, LINK) +END_TM_PART_STATES() + +/* TOOLTIP - BALLOONTITLE states */ +/* See TOOLTIP BALLOON */ + +/* TOOLTIP - CLOSE states */ +BEGIN_TM_PART_STATES(CLOSE) + TM_STATE(1, TTCS, NORMAL) + TM_STATE(2, TTCS, HOT) + TM_STATE(3, TTCS, PRESSED) +END_TM_PART_STATES() + +/* TRACKBAR parts */ +BEGIN_TM_CLASS_PARTS(TRACKBAR) + TM_PART(1, TKP, TRACK) + TM_PART(2, TKP, TRACKVERT) + TM_PART(3, TKP, THUMB) + TM_PART(4, TKP, THUMBBOTTOM) + TM_PART(5, TKP, THUMBTOP) + TM_PART(6, TKP, THUMBVERT) + TM_PART(7, TKP, THUMBLEFT) + TM_PART(8, TKP, THUMBRIGHT) + TM_PART(9, TKP, TICS) + TM_PART(10, TKP, TICSVERT) +END_TM_CLASS_PARTS() + +/* TRACKBAR states */ +BEGIN_TM_PART_STATES(TRACKBAR) + TM_STATE(1, TKS, NORMAL) +END_TM_PART_STATES() + +/* TRACKBAR - TRACK states */ +BEGIN_TM_PART_STATES(TRACK) + TM_STATE(1, TRS, NORMAL) +END_TM_PART_STATES() + +/* TRACKBAR - TRACKVERT states */ +BEGIN_TM_PART_STATES(TRACKVERT) + TM_STATE(1, TRVS, NORMAL) +END_TM_PART_STATES() + +/* TRACKBAR - THUMB states */ +BEGIN_TM_PART_STATES(THUMB) + TM_STATE(1, TUS, NORMAL) + TM_STATE(2, TUS, HOT) + TM_STATE(3, TUS, PRESSED) + TM_STATE(4, TUS, FOCUSED) + TM_STATE(5, TUS, DISABLED) +END_TM_PART_STATES() + +/* TRACKBAR - THUMBBOTTOM states */ +BEGIN_TM_PART_STATES(THUMBBOTTOM) + TM_STATE(1, TUBS, NORMAL) + TM_STATE(2, TUBS, HOT) + TM_STATE(3, TUBS, PRESSED) + TM_STATE(4, TUBS, FOCUSED) + TM_STATE(5, TUBS, DISABLED) +END_TM_PART_STATES() + +/* TRACKBAR - THUMBTOP states */ +BEGIN_TM_PART_STATES(THUMBTOP) + TM_STATE(1, TUTS, NORMAL) + TM_STATE(2, TUTS, HOT) + TM_STATE(3, TUTS, PRESSED) + TM_STATE(4, TUTS, FOCUSED) + TM_STATE(5, TUTS, DISABLED) +END_TM_PART_STATES() + +/* TRACKBAR - THUMBVERT states */ +BEGIN_TM_PART_STATES(THUMBVERT) + TM_STATE(1, TUVS, NORMAL) + TM_STATE(2, TUVS, HOT) + TM_STATE(3, TUVS, PRESSED) + TM_STATE(4, TUVS, FOCUSED) + TM_STATE(5, TUVS, DISABLED) +END_TM_PART_STATES() + +/* TRACKBAR - THUMBLEFT states */ +BEGIN_TM_PART_STATES(THUMBLEFT) + TM_STATE(1, TUVLS, NORMAL) + TM_STATE(2, TUVLS, HOT) + TM_STATE(3, TUVLS, PRESSED) + TM_STATE(4, TUVLS, FOCUSED) + TM_STATE(5, TUVLS, DISABLED) +END_TM_PART_STATES() + +/* TRACKBAR - THUMBRIGHT states */ +BEGIN_TM_PART_STATES(THUMBRIGHT) + TM_STATE(1, TUVRS, NORMAL) + TM_STATE(2, TUVRS, HOT) + TM_STATE(3, TUVRS, PRESSED) + TM_STATE(4, TUVRS, FOCUSED) + TM_STATE(5, TUVRS, DISABLED) +END_TM_PART_STATES() + +/* TRACKBAR - TICS states */ +BEGIN_TM_PART_STATES(TICS) + TM_STATE(1, TSS, NORMAL) +END_TM_PART_STATES() + +/* TRACKBAR - TICSVERT states */ +BEGIN_TM_PART_STATES(TICSVERT) + TM_STATE(1, TSVS, NORMAL) +END_TM_PART_STATES() + +/* TRAYNOTIFY parts */ +BEGIN_TM_CLASS_PARTS(TRAYNOTIFY) + TM_PART(1, TNP, BACKGROUND) + TM_PART(2, TNP, ANIMBACKGROUND) +END_TM_CLASS_PARTS() + +/* TREEVIEW parts */ +BEGIN_TM_CLASS_PARTS(TREEVIEW) + TM_PART(1, TVP, TREEITEM) + TM_PART(2, TVP, GLYPH) + TM_PART(3, TVP, BRANCH) +END_TM_CLASS_PARTS() + +/* TREEVIEW - TREEITEM states */ +BEGIN_TM_PART_STATES(TREEITEM) + TM_STATE(1, TREIS, NORMAL) + TM_STATE(2, TREIS, HOT) + TM_STATE(3, TREIS, SELECTED) + TM_STATE(4, TREIS, DISABLED) + TM_STATE(5, TREIS, SELECTEDNOTFOCUS) +END_TM_PART_STATES() + +/* TREEVIEW - GLYPH states */ +BEGIN_TM_PART_STATES(GLYPH) + TM_STATE(1, GLPS, CLOSED) + TM_STATE(2, GLPS, OPENED) +END_TM_PART_STATES() + +/* WINDOW parts */ +BEGIN_TM_CLASS_PARTS(WINDOW) + TM_PART(1, WP, CAPTION) + TM_PART(2, WP, SMALLCAPTION) + TM_PART(3, WP, MINCAPTION) + TM_PART(4, WP, SMALLMINCAPTION) + TM_PART(5, WP, MAXCAPTION) + TM_PART(6, WP, SMALLMAXCAPTION) + TM_PART(7, WP, FRAMELEFT) + TM_PART(8, WP, FRAMERIGHT) + TM_PART(9, WP, FRAMEBOTTOM) + TM_PART(10, WP, SMALLFRAMELEFT) + TM_PART(11, WP, SMALLFRAMERIGHT) + TM_PART(12, WP, SMALLFRAMEBOTTOM) + TM_PART(13, WP, SYSBUTTON) + TM_PART(14, WP, MDISYSBUTTON) + TM_PART(15, WP, MINBUTTON) + TM_PART(16, WP, MDIMINBUTTON) + TM_PART(17, WP, MAXBUTTON) + TM_PART(18, WP, CLOSEBUTTON) + TM_PART(19, WP, SMALLCLOSEBUTTON) + TM_PART(20, WP, MDICLOSEBUTTON) + TM_PART(21, WP, RESTOREBUTTON) + TM_PART(22, WP, MDIRESTOREBUTTON) + TM_PART(23, WP, HELPBUTTON) + TM_PART(24, WP, MDIHELPBUTTON) + TM_PART(25, WP, HORZSCROLL) + TM_PART(26, WP, HORZTHUMB) + TM_PART(27, WP, VERTSCROLL) + TM_PART(28, WP, VERTTHUMB) + TM_PART(29, WP, DIALOG) + TM_PART(30, WP, CAPTIONSIZINGTEMPLATE) + TM_PART(31, WP, SMALLCAPTIONSIZINGTEMPLATE) + TM_PART(32, WP, FRAMELEFTSIZINGTEMPLATE) + TM_PART(33, WP, SMALLFRAMELEFTSIZINGTEMPLATE) + TM_PART(34, WP, FRAMERIGHTSIZINGTEMPLATE) + TM_PART(35, WP, SMALLFRAMERIGHTSIZINGTEMPLATE) + TM_PART(36, WP, FRAMEBOTTOMSIZINGTEMPLATE) + TM_PART(37, WP, SMALLFRAMEBOTTOMSIZINGTEMPLATE) +END_TM_CLASS_PARTS() + +/* WINDOW - CAPTION / SMALLCAPTION states */ +BEGIN_TM_PART_STATES(CAPTION) + TM_STATE(1, CS, ACTIVE) + TM_STATE(2, CS, INACTIVE) + TM_STATE(3, CS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - MINCAPTION / SMALLMINCAPTION states */ +BEGIN_TM_PART_STATES(MINCAPTION) + TM_STATE(1, MNCS, ACTIVE) + TM_STATE(2, MNCS, INACTIVE) + TM_STATE(3, MNCS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */ +BEGIN_TM_PART_STATES(MAXCAPTION) + TM_STATE(1, MXCS, ACTIVE) + TM_STATE(2, MXCS, INACTIVE) + TM_STATE(3, MXCS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - FRAME* / SMALLFRAME* states */ +BEGIN_TM_PART_STATES(FRAME) + TM_STATE(1, FS, ACTIVE) + TM_STATE(2, FS, INACTIVE) +END_TM_PART_STATES() + +/* WINDOW - SYSBUTTON / MDISYSBUTTON states */ +BEGIN_TM_PART_STATES(SYSBUTTON) + TM_STATE(1, SBS, NORMAL) + TM_STATE(2, SBS, HOT) + TM_STATE(3, SBS, PUSHED) + TM_STATE(4, SBS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - MINBUTTON / MDIMINBUTTON states */ +BEGIN_TM_PART_STATES(MINBUTTON) + TM_STATE(1, MINBS, NORMAL) + TM_STATE(2, MINBS, HOT) + TM_STATE(3, MINBS, PUSHED) + TM_STATE(4, MINBS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - MAXBUTTON states */ +BEGIN_TM_PART_STATES(MAXBUTTON) + TM_STATE(1, MAXBS, NORMAL) + TM_STATE(2, MAXBS, HOT) + TM_STATE(3, MAXBS, PUSHED) + TM_STATE(4, MAXBS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */ +BEGIN_TM_PART_STATES(CLOSEBUTTON) + TM_STATE(1, CBS, NORMAL) + TM_STATE(2, CBS, HOT) + TM_STATE(3, CBS, PUSHED) + TM_STATE(4, CBS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */ +BEGIN_TM_PART_STATES(RESTOREBUTTON) + TM_STATE(1, RBS, NORMAL) + TM_STATE(2, RBS, HOT) + TM_STATE(3, RBS, PUSHED) + TM_STATE(4, RBS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - HELPBUTTON / MDIHELPBUTTON states */ +BEGIN_TM_PART_STATES(HELPBUTTON) + TM_STATE(1, HBS, NORMAL) + TM_STATE(2, HBS, HOT) + TM_STATE(3, HBS, PUSHED) + TM_STATE(4, HBS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - HORZSCROLL states */ +BEGIN_TM_PART_STATES(HORZSCROLL) + TM_STATE(1, HSS, NORMAL) + TM_STATE(2, HSS, HOT) + TM_STATE(3, HSS, PUSHED) + TM_STATE(4, HSS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - HORZTHUMB states */ +BEGIN_TM_PART_STATES(HORZTHUMB) + TM_STATE(1, HTS, NORMAL) + TM_STATE(2, HTS, HOT) + TM_STATE(3, HTS, PUSHED) + TM_STATE(4, HTS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - VERTSCROLL states */ +BEGIN_TM_PART_STATES(VERTSCROLL) + TM_STATE(1, VSS, NORMAL) + TM_STATE(2, VSS, HOT) + TM_STATE(3, VSS, PUSHED) + TM_STATE(4, VSS, DISABLED) +END_TM_PART_STATES() + +/* WINDOW - VERTTHUMB states */ +BEGIN_TM_PART_STATES(VERTTHUMB) + TM_STATE(1, VTS, NORMAL) + TM_STATE(2, VTS, HOT) + TM_STATE(3, VTS, PUSHED) + TM_STATE(4, VTS, DISABLED) +END_TM_PART_STATES() + +END_TM_SCHEMA(ThemeMgrSchema) +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tom.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tom.h new file mode 100644 index 0000000..55e1dca --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tom.h @@ -0,0 +1,3666 @@ +/*** Autogenerated by WIDL 2.18 from tom.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __tom_h__ +#define __tom_h__ + +/* Forward declarations */ + +#ifndef __ITextDocument_FWD_DEFINED__ +#define __ITextDocument_FWD_DEFINED__ +typedef interface ITextDocument ITextDocument; +#ifdef __cplusplus +interface ITextDocument; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextRange_FWD_DEFINED__ +#define __ITextRange_FWD_DEFINED__ +typedef interface ITextRange ITextRange; +#ifdef __cplusplus +interface ITextRange; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextSelection_FWD_DEFINED__ +#define __ITextSelection_FWD_DEFINED__ +typedef interface ITextSelection ITextSelection; +#ifdef __cplusplus +interface ITextSelection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextFont_FWD_DEFINED__ +#define __ITextFont_FWD_DEFINED__ +typedef interface ITextFont ITextFont; +#ifdef __cplusplus +interface ITextFont; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextPara_FWD_DEFINED__ +#define __ITextPara_FWD_DEFINED__ +typedef interface ITextPara ITextPara; +#ifdef __cplusplus +interface ITextPara; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextStoryRanges_FWD_DEFINED__ +#define __ITextStoryRanges_FWD_DEFINED__ +typedef interface ITextStoryRanges ITextStoryRanges; +#ifdef __cplusplus +interface ITextStoryRanges; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef FindText +#endif +typedef enum tagTomConstants { + tomFalse = 0, + tomTrue = -1, + tomUndefined = -9999999, + tomToggle = -9999998, + tomAutoColor = -9999997, + tomDefault = -9999996, + tomSuspend = -9999995, + tomResume = -9999994, + tomApplyNow = 0, + tomApplyLater = 1, + tomTrackParms = 2, + tomCacheParms = 3, + tomApplyTmp = 4, + tomDisableSmartFont = 8, + tomEnableSmartFont = 9, + tomUsePoints = 10, + tomUseTwips = 11, + tomBackward = 0xc0000001, + tomForward = 0x3fffffff, + tomMove = 0, + tomExtend = 1, + tomNoSelection = 0, + tomSelectionIP = 1, + tomSelectionNormal = 2, + tomSelectionFrame = 3, + tomSelectionColumn = 4, + tomSelectionRow = 5, + tomSelectionBlock = 6, + tomSelectionInlineShape = 7, + tomSelectionShape = 8, + tomSelStartActive = 1, + tomSelAtEOL = 2, + tomSelOvertype = 4, + tomSelActive = 8, + tomSelReplace = 16, + tomEnd = 0, + tomStart = 32, + tomCollapseEnd = 0, + tomCollapseStart = 1, + tomClientCoord = 256, + tomNone = 0, + tomSingle = 1, + tomWords = 2, + tomDouble = 3, + tomDotted = 4, + tomDash = 5, + tomDashDot = 6, + tomDashDotDot = 7, + tomWave = 8, + tomThick = 9, + tomHair = 10, + tomLineSpaceSingle = 0, + tomLineSpace1pt5 = 1, + tomLineSpaceDouble = 2, + tomLineSpaceAtLeast = 3, + tomLineSpaceExactly = 4, + tomLineSpaceMultiple = 5, + tomAlignLeft = 0, + tomAlignCenter = 1, + tomAlignRight = 2, + tomAlignJustify = 3, + tomAlignDecimal = 3, + tomAlignBar = 4, + tomAlignInterWord = 3, + tomAlignInterLetter = 4, + tomAlignScaled = 5, + tomAlignGlyphs = 6, + tomAlignSnapGrid = 7, + tomSpaces = 0, + tomDots = 1, + tomDashes = 2, + tomLines = 3, + tomThickLines = 4, + tomEquals = 5, + tomTabBack = -3, + tomTabNext = -2, + tomTabHere = -1, + tomListBullet = 1, + tomListNumberAsArabic = 2, + tomListNumberAsLCLetter = 3, + tomListNumberAsUCLetter = 4, + tomListNumberAsLCRoman = 5, + tomListNumberAsUCRoman = 6, + tomListNumberAsSequence = 7, + tomListParentheses = 0x10000, + tomListPeriod = 0x20000, + tomListPlain = 0x30000, + tomCharacter = 1, + tomWord = 2, + tomSentence = 3, + tomParagraph = 4, + tomLine = 5, + tomStory = 6, + tomScreen = 7, + tomSection = 8, + tomColumn = 9, + tomRow = 10, + tomWindow = 11, + tomCell = 12, + tomCharFormat = 13, + tomParaFormat = 14, + tomTable = 15, + tomObject = 16, + tomMatchWord = 2, + tomMatchCase = 4, + tomMatchPattern = 8, + tomUnknownStory = 0, + tomMainTextStory = 1, + tomFootnotesStory = 2, + tomEndnotesStory = 3, + tomCommentsStory = 4, + tomTextFrameStory = 5, + tomEvenPagesHeaderStory = 6, + tomPrimaryHeaderStory = 7, + tomEvenPagesFooterStory = 8, + tomPrimaryFooterStory = 9, + tomFirstPageHeaderStory = 10, + tomFirstPageFooterStory = 11, + tomNoAnimation = 0, + tomLasVegasLights = 1, + tomBlinkingBackground = 2, + tomSparkleText = 3, + tomMarchingBlackAnts = 4, + tomMarchingRedAnts = 5, + tomShimmer = 6, + tomWipeDown = 7, + tomWipeRight = 8, + tomAnimationMax = 8, + tomLowerCase = 0, + tomUpperCase = 1, + tomTitleCase = 2, + tomSentenceCase = 4, + tomToggleCase = 5, + tomReadOnly = 0x100, + tomShareDenyRead = 0x200, + tomShareDenyWrite = 0x400, + tomPasteFile = 0x1000, + tomCreateNew = 0x10, + tomCreateAlways = 0x20, + tomOpenExisting = 0x30, + tomOpenAlways = 0x40, + tomTruncateExisting = 0x50, + tomRTF = 0x1, + tomText = 0x2, + tomHTML = 0x3, + tomWordDocument = 0x4, + tomBold = 0x80000001, + tomItalic = 0x80000002, + tomUnderline = 0x80000004, + tomStrikeout = 0x80000008, + tomProtected = 0x80000010, + tomLink = 0x80000020, + tomSmallCaps = 0x80000040, + tomAllCaps = 0x80000080, + tomHidden = 0x80000100, + tomOutline = 0x80000200, + tomShadow = 0x80000400, + tomEmboss = 0x80000800, + tomImprint = 0x80001000, + tomDisabled = 0x80002000, + tomRevised = 0x80004000, + tomNormalCaret = 0, + tomKoreanBlockCaret = 0x1, + tomIncludeInset = 0x1, + tomIgnoreCurrentFont = 0, + tomMatchFontCharset = 0x1, + tomMatchFontSignature = 0x2, + tomCharset = 0x80000000, + tomRE10Mode = 0x1, + tomNoIME = 0x80000, + tomSelfIME = 0x40000 +} tomConstants; +#ifndef __ITextRange_FWD_DEFINED__ +#define __ITextRange_FWD_DEFINED__ +typedef interface ITextRange ITextRange; +#ifdef __cplusplus +interface ITextRange; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextSelection_FWD_DEFINED__ +#define __ITextSelection_FWD_DEFINED__ +typedef interface ITextSelection ITextSelection; +#ifdef __cplusplus +interface ITextSelection; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextStoryRanges_FWD_DEFINED__ +#define __ITextStoryRanges_FWD_DEFINED__ +typedef interface ITextStoryRanges ITextStoryRanges; +#ifdef __cplusplus +interface ITextStoryRanges; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * ITextDocument interface + */ +#ifndef __ITextDocument_INTERFACE_DEFINED__ +#define __ITextDocument_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextDocument, 0x8cc497c0, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cc497c0-a1df-11ce-8098-00aa0047be5d") +ITextDocument : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetName( + BSTR *pName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSelection( + ITextSelection **ppSel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStoryCount( + LONG *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStoryRanges( + ITextStoryRanges **ppStories) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSaved( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSaved( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultTabStop( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultTabStop( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE New( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Open( + VARIANT *pVar, + LONG Flags, + LONG CodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + VARIANT *pVar, + LONG Flags, + LONG CodePage) = 0; + + virtual HRESULT STDMETHODCALLTYPE Freeze( + LONG *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unfreeze( + LONG *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginEditCollection( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndEditCollection( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Undo( + LONG Count, + LONG *prop) = 0; + + virtual HRESULT STDMETHODCALLTYPE Redo( + LONG Count, + LONG *prop) = 0; + + virtual HRESULT STDMETHODCALLTYPE Range( + LONG cp1, + LONG cp2, + ITextRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE RangeFromPoint( + LONG x, + LONG y, + ITextRange **ppRange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextDocument, 0x8cc497c0, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d) +#endif +#else +typedef struct ITextDocumentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextDocument *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextDocument *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextDocument *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITextDocument *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITextDocument *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITextDocument *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITextDocument *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITextDocument methods ***/ + HRESULT (STDMETHODCALLTYPE *GetName)( + ITextDocument *This, + BSTR *pName); + + HRESULT (STDMETHODCALLTYPE *GetSelection)( + ITextDocument *This, + ITextSelection **ppSel); + + HRESULT (STDMETHODCALLTYPE *GetStoryCount)( + ITextDocument *This, + LONG *pCount); + + HRESULT (STDMETHODCALLTYPE *GetStoryRanges)( + ITextDocument *This, + ITextStoryRanges **ppStories); + + HRESULT (STDMETHODCALLTYPE *GetSaved)( + ITextDocument *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSaved)( + ITextDocument *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetDefaultTabStop)( + ITextDocument *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetDefaultTabStop)( + ITextDocument *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *New)( + ITextDocument *This); + + HRESULT (STDMETHODCALLTYPE *Open)( + ITextDocument *This, + VARIANT *pVar, + LONG Flags, + LONG CodePage); + + HRESULT (STDMETHODCALLTYPE *Save)( + ITextDocument *This, + VARIANT *pVar, + LONG Flags, + LONG CodePage); + + HRESULT (STDMETHODCALLTYPE *Freeze)( + ITextDocument *This, + LONG *pCount); + + HRESULT (STDMETHODCALLTYPE *Unfreeze)( + ITextDocument *This, + LONG *pCount); + + HRESULT (STDMETHODCALLTYPE *BeginEditCollection)( + ITextDocument *This); + + HRESULT (STDMETHODCALLTYPE *EndEditCollection)( + ITextDocument *This); + + HRESULT (STDMETHODCALLTYPE *Undo)( + ITextDocument *This, + LONG Count, + LONG *prop); + + HRESULT (STDMETHODCALLTYPE *Redo)( + ITextDocument *This, + LONG Count, + LONG *prop); + + HRESULT (STDMETHODCALLTYPE *Range)( + ITextDocument *This, + LONG cp1, + LONG cp2, + ITextRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *RangeFromPoint)( + ITextDocument *This, + LONG x, + LONG y, + ITextRange **ppRange); + + END_INTERFACE +} ITextDocumentVtbl; + +interface ITextDocument { + CONST_VTBL ITextDocumentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextDocument_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextDocument_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITextDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITextDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITextDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITextDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITextDocument methods ***/ +#define ITextDocument_GetName(This,pName) (This)->lpVtbl->GetName(This,pName) +#define ITextDocument_GetSelection(This,ppSel) (This)->lpVtbl->GetSelection(This,ppSel) +#define ITextDocument_GetStoryCount(This,pCount) (This)->lpVtbl->GetStoryCount(This,pCount) +#define ITextDocument_GetStoryRanges(This,ppStories) (This)->lpVtbl->GetStoryRanges(This,ppStories) +#define ITextDocument_GetSaved(This,pValue) (This)->lpVtbl->GetSaved(This,pValue) +#define ITextDocument_SetSaved(This,Value) (This)->lpVtbl->SetSaved(This,Value) +#define ITextDocument_GetDefaultTabStop(This,pValue) (This)->lpVtbl->GetDefaultTabStop(This,pValue) +#define ITextDocument_SetDefaultTabStop(This,Value) (This)->lpVtbl->SetDefaultTabStop(This,Value) +#define ITextDocument_New(This) (This)->lpVtbl->New(This) +#define ITextDocument_Open(This,pVar,Flags,CodePage) (This)->lpVtbl->Open(This,pVar,Flags,CodePage) +#define ITextDocument_Save(This,pVar,Flags,CodePage) (This)->lpVtbl->Save(This,pVar,Flags,CodePage) +#define ITextDocument_Freeze(This,pCount) (This)->lpVtbl->Freeze(This,pCount) +#define ITextDocument_Unfreeze(This,pCount) (This)->lpVtbl->Unfreeze(This,pCount) +#define ITextDocument_BeginEditCollection(This) (This)->lpVtbl->BeginEditCollection(This) +#define ITextDocument_EndEditCollection(This) (This)->lpVtbl->EndEditCollection(This) +#define ITextDocument_Undo(This,Count,prop) (This)->lpVtbl->Undo(This,Count,prop) +#define ITextDocument_Redo(This,Count,prop) (This)->lpVtbl->Redo(This,Count,prop) +#define ITextDocument_Range(This,cp1,cp2,ppRange) (This)->lpVtbl->Range(This,cp1,cp2,ppRange) +#define ITextDocument_RangeFromPoint(This,x,y,ppRange) (This)->lpVtbl->RangeFromPoint(This,x,y,ppRange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextDocument_QueryInterface(ITextDocument* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextDocument_AddRef(ITextDocument* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextDocument_Release(ITextDocument* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITextDocument_GetTypeInfoCount(ITextDocument* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITextDocument_GetTypeInfo(ITextDocument* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITextDocument_GetIDsOfNames(ITextDocument* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITextDocument_Invoke(ITextDocument* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITextDocument methods ***/ +static FORCEINLINE HRESULT ITextDocument_GetName(ITextDocument* This,BSTR *pName) { + return This->lpVtbl->GetName(This,pName); +} +static FORCEINLINE HRESULT ITextDocument_GetSelection(ITextDocument* This,ITextSelection **ppSel) { + return This->lpVtbl->GetSelection(This,ppSel); +} +static FORCEINLINE HRESULT ITextDocument_GetStoryCount(ITextDocument* This,LONG *pCount) { + return This->lpVtbl->GetStoryCount(This,pCount); +} +static FORCEINLINE HRESULT ITextDocument_GetStoryRanges(ITextDocument* This,ITextStoryRanges **ppStories) { + return This->lpVtbl->GetStoryRanges(This,ppStories); +} +static FORCEINLINE HRESULT ITextDocument_GetSaved(ITextDocument* This,LONG *pValue) { + return This->lpVtbl->GetSaved(This,pValue); +} +static FORCEINLINE HRESULT ITextDocument_SetSaved(ITextDocument* This,LONG Value) { + return This->lpVtbl->SetSaved(This,Value); +} +static FORCEINLINE HRESULT ITextDocument_GetDefaultTabStop(ITextDocument* This,float *pValue) { + return This->lpVtbl->GetDefaultTabStop(This,pValue); +} +static FORCEINLINE HRESULT ITextDocument_SetDefaultTabStop(ITextDocument* This,float Value) { + return This->lpVtbl->SetDefaultTabStop(This,Value); +} +static FORCEINLINE HRESULT ITextDocument_New(ITextDocument* This) { + return This->lpVtbl->New(This); +} +static FORCEINLINE HRESULT ITextDocument_Open(ITextDocument* This,VARIANT *pVar,LONG Flags,LONG CodePage) { + return This->lpVtbl->Open(This,pVar,Flags,CodePage); +} +static FORCEINLINE HRESULT ITextDocument_Save(ITextDocument* This,VARIANT *pVar,LONG Flags,LONG CodePage) { + return This->lpVtbl->Save(This,pVar,Flags,CodePage); +} +static FORCEINLINE HRESULT ITextDocument_Freeze(ITextDocument* This,LONG *pCount) { + return This->lpVtbl->Freeze(This,pCount); +} +static FORCEINLINE HRESULT ITextDocument_Unfreeze(ITextDocument* This,LONG *pCount) { + return This->lpVtbl->Unfreeze(This,pCount); +} +static FORCEINLINE HRESULT ITextDocument_BeginEditCollection(ITextDocument* This) { + return This->lpVtbl->BeginEditCollection(This); +} +static FORCEINLINE HRESULT ITextDocument_EndEditCollection(ITextDocument* This) { + return This->lpVtbl->EndEditCollection(This); +} +static FORCEINLINE HRESULT ITextDocument_Undo(ITextDocument* This,LONG Count,LONG *prop) { + return This->lpVtbl->Undo(This,Count,prop); +} +static FORCEINLINE HRESULT ITextDocument_Redo(ITextDocument* This,LONG Count,LONG *prop) { + return This->lpVtbl->Redo(This,Count,prop); +} +static FORCEINLINE HRESULT ITextDocument_Range(ITextDocument* This,LONG cp1,LONG cp2,ITextRange **ppRange) { + return This->lpVtbl->Range(This,cp1,cp2,ppRange); +} +static FORCEINLINE HRESULT ITextDocument_RangeFromPoint(ITextDocument* This,LONG x,LONG y,ITextRange **ppRange) { + return This->lpVtbl->RangeFromPoint(This,x,y,ppRange); +} +#endif +#endif + +#endif + + +#endif /* __ITextDocument_INTERFACE_DEFINED__ */ + +#ifndef __ITextFont_FWD_DEFINED__ +#define __ITextFont_FWD_DEFINED__ +typedef interface ITextFont ITextFont; +#ifdef __cplusplus +interface ITextFont; +#endif /* __cplusplus */ +#endif + +#ifndef __ITextPara_FWD_DEFINED__ +#define __ITextPara_FWD_DEFINED__ +typedef interface ITextPara ITextPara; +#ifdef __cplusplus +interface ITextPara; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * ITextRange interface + */ +#ifndef __ITextRange_INTERFACE_DEFINED__ +#define __ITextRange_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextRange, 0x8cc497c2, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cc497c2-a1df-11ce-8098-00aa0047be5d") +ITextRange : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetText( + BSTR *pbstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetText( + BSTR bstr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChar( + LONG *pch) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChar( + LONG ch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDuplicate( + ITextRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFormattedText( + ITextRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFormattedText( + ITextRange *pRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStart( + LONG *pcpFirst) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStart( + LONG cpFirst) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnd( + LONG *pcpLim) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnd( + LONG cpLim) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFont( + ITextFont **pFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFont( + ITextFont *pFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPara( + ITextPara **ppPara) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPara( + ITextPara *pPara) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStoryLength( + LONG *pcch) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStoryType( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE Collapse( + LONG bStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE Expand( + LONG Unit, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIndex( + LONG Unit, + LONG *pIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIndex( + LONG Unit, + LONG Index, + LONG Extend) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRange( + LONG anchor, + LONG active) = 0; + + virtual HRESULT STDMETHODCALLTYPE InRange( + ITextRange *pRange, + LONG *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE InStory( + ITextRange *pRange, + LONG *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + ITextRange *pRange, + LONG *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE Select( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartOf( + LONG Unit, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndOf( + LONG Unit, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE Move( + LONG Unit, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveStart( + LONG Unit, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveEnd( + LONG Unit, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveWhile( + VARIANT *Cset, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveStartWhile( + VARIANT *Cset, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveEndWhile( + VARIANT *Cset, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveUntil( + VARIANT *Cset, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveStartUntil( + VARIANT *Cset, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveEndUntil( + VARIANT *Cset, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindText( + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindTextStart( + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindTextEnd( + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + LONG Unit, + LONG Count, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cut( + VARIANT *pVar) = 0; + + virtual HRESULT STDMETHODCALLTYPE Copy( + VARIANT *pVar) = 0; + + virtual HRESULT STDMETHODCALLTYPE Paste( + VARIANT *pVar, + LONG Format) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanPaste( + VARIANT *pVar, + LONG Format, + LONG *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanEdit( + LONG *pb) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangeCase( + LONG Type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPoint( + LONG Type, + LONG *cx, + LONG *cy) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPoint( + LONG x, + LONG y, + LONG Type, + LONG Extend) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScrollIntoView( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEmbeddedObject( + IUnknown **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextRange, 0x8cc497c2, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d) +#endif +#else +typedef struct ITextRangeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextRange *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextRange *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextRange *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITextRange *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITextRange *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITextRange *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITextRange *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITextRange methods ***/ + HRESULT (STDMETHODCALLTYPE *GetText)( + ITextRange *This, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *SetText)( + ITextRange *This, + BSTR bstr); + + HRESULT (STDMETHODCALLTYPE *GetChar)( + ITextRange *This, + LONG *pch); + + HRESULT (STDMETHODCALLTYPE *SetChar)( + ITextRange *This, + LONG ch); + + HRESULT (STDMETHODCALLTYPE *GetDuplicate)( + ITextRange *This, + ITextRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *GetFormattedText)( + ITextRange *This, + ITextRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *SetFormattedText)( + ITextRange *This, + ITextRange *pRange); + + HRESULT (STDMETHODCALLTYPE *GetStart)( + ITextRange *This, + LONG *pcpFirst); + + HRESULT (STDMETHODCALLTYPE *SetStart)( + ITextRange *This, + LONG cpFirst); + + HRESULT (STDMETHODCALLTYPE *GetEnd)( + ITextRange *This, + LONG *pcpLim); + + HRESULT (STDMETHODCALLTYPE *SetEnd)( + ITextRange *This, + LONG cpLim); + + HRESULT (STDMETHODCALLTYPE *GetFont)( + ITextRange *This, + ITextFont **pFont); + + HRESULT (STDMETHODCALLTYPE *SetFont)( + ITextRange *This, + ITextFont *pFont); + + HRESULT (STDMETHODCALLTYPE *GetPara)( + ITextRange *This, + ITextPara **ppPara); + + HRESULT (STDMETHODCALLTYPE *SetPara)( + ITextRange *This, + ITextPara *pPara); + + HRESULT (STDMETHODCALLTYPE *GetStoryLength)( + ITextRange *This, + LONG *pcch); + + HRESULT (STDMETHODCALLTYPE *GetStoryType)( + ITextRange *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *Collapse)( + ITextRange *This, + LONG bStart); + + HRESULT (STDMETHODCALLTYPE *Expand)( + ITextRange *This, + LONG Unit, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *GetIndex)( + ITextRange *This, + LONG Unit, + LONG *pIndex); + + HRESULT (STDMETHODCALLTYPE *SetIndex)( + ITextRange *This, + LONG Unit, + LONG Index, + LONG Extend); + + HRESULT (STDMETHODCALLTYPE *SetRange)( + ITextRange *This, + LONG anchor, + LONG active); + + HRESULT (STDMETHODCALLTYPE *InRange)( + ITextRange *This, + ITextRange *pRange, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *InStory)( + ITextRange *This, + ITextRange *pRange, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + ITextRange *This, + ITextRange *pRange, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *Select)( + ITextRange *This); + + HRESULT (STDMETHODCALLTYPE *StartOf)( + ITextRange *This, + LONG Unit, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *EndOf)( + ITextRange *This, + LONG Unit, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *Move)( + ITextRange *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveStart)( + ITextRange *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveEnd)( + ITextRange *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveWhile)( + ITextRange *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveStartWhile)( + ITextRange *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveEndWhile)( + ITextRange *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveUntil)( + ITextRange *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveStartUntil)( + ITextRange *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveEndUntil)( + ITextRange *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *FindText)( + ITextRange *This, + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength); + + HRESULT (STDMETHODCALLTYPE *FindTextStart)( + ITextRange *This, + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength); + + HRESULT (STDMETHODCALLTYPE *FindTextEnd)( + ITextRange *This, + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength); + + HRESULT (STDMETHODCALLTYPE *Delete)( + ITextRange *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *Cut)( + ITextRange *This, + VARIANT *pVar); + + HRESULT (STDMETHODCALLTYPE *Copy)( + ITextRange *This, + VARIANT *pVar); + + HRESULT (STDMETHODCALLTYPE *Paste)( + ITextRange *This, + VARIANT *pVar, + LONG Format); + + HRESULT (STDMETHODCALLTYPE *CanPaste)( + ITextRange *This, + VARIANT *pVar, + LONG Format, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *CanEdit)( + ITextRange *This, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *ChangeCase)( + ITextRange *This, + LONG Type); + + HRESULT (STDMETHODCALLTYPE *GetPoint)( + ITextRange *This, + LONG Type, + LONG *cx, + LONG *cy); + + HRESULT (STDMETHODCALLTYPE *SetPoint)( + ITextRange *This, + LONG x, + LONG y, + LONG Type, + LONG Extend); + + HRESULT (STDMETHODCALLTYPE *ScrollIntoView)( + ITextRange *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetEmbeddedObject)( + ITextRange *This, + IUnknown **ppv); + + END_INTERFACE +} ITextRangeVtbl; + +interface ITextRange { + CONST_VTBL ITextRangeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextRange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextRange_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextRange_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITextRange_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITextRange_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITextRange_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITextRange_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITextRange methods ***/ +#define ITextRange_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr) +#define ITextRange_SetText(This,bstr) (This)->lpVtbl->SetText(This,bstr) +#define ITextRange_GetChar(This,pch) (This)->lpVtbl->GetChar(This,pch) +#define ITextRange_SetChar(This,ch) (This)->lpVtbl->SetChar(This,ch) +#define ITextRange_GetDuplicate(This,ppRange) (This)->lpVtbl->GetDuplicate(This,ppRange) +#define ITextRange_GetFormattedText(This,ppRange) (This)->lpVtbl->GetFormattedText(This,ppRange) +#define ITextRange_SetFormattedText(This,pRange) (This)->lpVtbl->SetFormattedText(This,pRange) +#define ITextRange_GetStart(This,pcpFirst) (This)->lpVtbl->GetStart(This,pcpFirst) +#define ITextRange_SetStart(This,cpFirst) (This)->lpVtbl->SetStart(This,cpFirst) +#define ITextRange_GetEnd(This,pcpLim) (This)->lpVtbl->GetEnd(This,pcpLim) +#define ITextRange_SetEnd(This,cpLim) (This)->lpVtbl->SetEnd(This,cpLim) +#define ITextRange_GetFont(This,pFont) (This)->lpVtbl->GetFont(This,pFont) +#define ITextRange_SetFont(This,pFont) (This)->lpVtbl->SetFont(This,pFont) +#define ITextRange_GetPara(This,ppPara) (This)->lpVtbl->GetPara(This,ppPara) +#define ITextRange_SetPara(This,pPara) (This)->lpVtbl->SetPara(This,pPara) +#define ITextRange_GetStoryLength(This,pcch) (This)->lpVtbl->GetStoryLength(This,pcch) +#define ITextRange_GetStoryType(This,pValue) (This)->lpVtbl->GetStoryType(This,pValue) +#define ITextRange_Collapse(This,bStart) (This)->lpVtbl->Collapse(This,bStart) +#define ITextRange_Expand(This,Unit,pDelta) (This)->lpVtbl->Expand(This,Unit,pDelta) +#define ITextRange_GetIndex(This,Unit,pIndex) (This)->lpVtbl->GetIndex(This,Unit,pIndex) +#define ITextRange_SetIndex(This,Unit,Index,Extend) (This)->lpVtbl->SetIndex(This,Unit,Index,Extend) +#define ITextRange_SetRange(This,anchor,active) (This)->lpVtbl->SetRange(This,anchor,active) +#define ITextRange_InRange(This,pRange,pb) (This)->lpVtbl->InRange(This,pRange,pb) +#define ITextRange_InStory(This,pRange,pb) (This)->lpVtbl->InStory(This,pRange,pb) +#define ITextRange_IsEqual(This,pRange,pb) (This)->lpVtbl->IsEqual(This,pRange,pb) +#define ITextRange_Select(This) (This)->lpVtbl->Select(This) +#define ITextRange_StartOf(This,Unit,Extend,pDelta) (This)->lpVtbl->StartOf(This,Unit,Extend,pDelta) +#define ITextRange_EndOf(This,Unit,Extend,pDelta) (This)->lpVtbl->EndOf(This,Unit,Extend,pDelta) +#define ITextRange_Move(This,Unit,Count,pDelta) (This)->lpVtbl->Move(This,Unit,Count,pDelta) +#define ITextRange_MoveStart(This,Unit,Count,pDelta) (This)->lpVtbl->MoveStart(This,Unit,Count,pDelta) +#define ITextRange_MoveEnd(This,Unit,Count,pDelta) (This)->lpVtbl->MoveEnd(This,Unit,Count,pDelta) +#define ITextRange_MoveWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveWhile(This,Cset,Count,pDelta) +#define ITextRange_MoveStartWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartWhile(This,Cset,Count,pDelta) +#define ITextRange_MoveEndWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndWhile(This,Cset,Count,pDelta) +#define ITextRange_MoveUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveUntil(This,Cset,Count,pDelta) +#define ITextRange_MoveStartUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartUntil(This,Cset,Count,pDelta) +#define ITextRange_MoveEndUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndUntil(This,Cset,Count,pDelta) +#define ITextRange_FindText(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindText(This,bstr,cch,Flags,pLength) +#define ITextRange_FindTextStart(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextStart(This,bstr,cch,Flags,pLength) +#define ITextRange_FindTextEnd(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextEnd(This,bstr,cch,Flags,pLength) +#define ITextRange_Delete(This,Unit,Count,pDelta) (This)->lpVtbl->Delete(This,Unit,Count,pDelta) +#define ITextRange_Cut(This,pVar) (This)->lpVtbl->Cut(This,pVar) +#define ITextRange_Copy(This,pVar) (This)->lpVtbl->Copy(This,pVar) +#define ITextRange_Paste(This,pVar,Format) (This)->lpVtbl->Paste(This,pVar,Format) +#define ITextRange_CanPaste(This,pVar,Format,pb) (This)->lpVtbl->CanPaste(This,pVar,Format,pb) +#define ITextRange_CanEdit(This,pb) (This)->lpVtbl->CanEdit(This,pb) +#define ITextRange_ChangeCase(This,Type) (This)->lpVtbl->ChangeCase(This,Type) +#define ITextRange_GetPoint(This,Type,cx,cy) (This)->lpVtbl->GetPoint(This,Type,cx,cy) +#define ITextRange_SetPoint(This,x,y,Type,Extend) (This)->lpVtbl->SetPoint(This,x,y,Type,Extend) +#define ITextRange_ScrollIntoView(This,Value) (This)->lpVtbl->ScrollIntoView(This,Value) +#define ITextRange_GetEmbeddedObject(This,ppv) (This)->lpVtbl->GetEmbeddedObject(This,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextRange_QueryInterface(ITextRange* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextRange_AddRef(ITextRange* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextRange_Release(ITextRange* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITextRange_GetTypeInfoCount(ITextRange* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITextRange_GetTypeInfo(ITextRange* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITextRange_GetIDsOfNames(ITextRange* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITextRange_Invoke(ITextRange* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITextRange methods ***/ +static FORCEINLINE HRESULT ITextRange_GetText(ITextRange* This,BSTR *pbstr) { + return This->lpVtbl->GetText(This,pbstr); +} +static FORCEINLINE HRESULT ITextRange_SetText(ITextRange* This,BSTR bstr) { + return This->lpVtbl->SetText(This,bstr); +} +static FORCEINLINE HRESULT ITextRange_GetChar(ITextRange* This,LONG *pch) { + return This->lpVtbl->GetChar(This,pch); +} +static FORCEINLINE HRESULT ITextRange_SetChar(ITextRange* This,LONG ch) { + return This->lpVtbl->SetChar(This,ch); +} +static FORCEINLINE HRESULT ITextRange_GetDuplicate(ITextRange* This,ITextRange **ppRange) { + return This->lpVtbl->GetDuplicate(This,ppRange); +} +static FORCEINLINE HRESULT ITextRange_GetFormattedText(ITextRange* This,ITextRange **ppRange) { + return This->lpVtbl->GetFormattedText(This,ppRange); +} +static FORCEINLINE HRESULT ITextRange_SetFormattedText(ITextRange* This,ITextRange *pRange) { + return This->lpVtbl->SetFormattedText(This,pRange); +} +static FORCEINLINE HRESULT ITextRange_GetStart(ITextRange* This,LONG *pcpFirst) { + return This->lpVtbl->GetStart(This,pcpFirst); +} +static FORCEINLINE HRESULT ITextRange_SetStart(ITextRange* This,LONG cpFirst) { + return This->lpVtbl->SetStart(This,cpFirst); +} +static FORCEINLINE HRESULT ITextRange_GetEnd(ITextRange* This,LONG *pcpLim) { + return This->lpVtbl->GetEnd(This,pcpLim); +} +static FORCEINLINE HRESULT ITextRange_SetEnd(ITextRange* This,LONG cpLim) { + return This->lpVtbl->SetEnd(This,cpLim); +} +static FORCEINLINE HRESULT ITextRange_GetFont(ITextRange* This,ITextFont **pFont) { + return This->lpVtbl->GetFont(This,pFont); +} +static FORCEINLINE HRESULT ITextRange_SetFont(ITextRange* This,ITextFont *pFont) { + return This->lpVtbl->SetFont(This,pFont); +} +static FORCEINLINE HRESULT ITextRange_GetPara(ITextRange* This,ITextPara **ppPara) { + return This->lpVtbl->GetPara(This,ppPara); +} +static FORCEINLINE HRESULT ITextRange_SetPara(ITextRange* This,ITextPara *pPara) { + return This->lpVtbl->SetPara(This,pPara); +} +static FORCEINLINE HRESULT ITextRange_GetStoryLength(ITextRange* This,LONG *pcch) { + return This->lpVtbl->GetStoryLength(This,pcch); +} +static FORCEINLINE HRESULT ITextRange_GetStoryType(ITextRange* This,LONG *pValue) { + return This->lpVtbl->GetStoryType(This,pValue); +} +static FORCEINLINE HRESULT ITextRange_Collapse(ITextRange* This,LONG bStart) { + return This->lpVtbl->Collapse(This,bStart); +} +static FORCEINLINE HRESULT ITextRange_Expand(ITextRange* This,LONG Unit,LONG *pDelta) { + return This->lpVtbl->Expand(This,Unit,pDelta); +} +static FORCEINLINE HRESULT ITextRange_GetIndex(ITextRange* This,LONG Unit,LONG *pIndex) { + return This->lpVtbl->GetIndex(This,Unit,pIndex); +} +static FORCEINLINE HRESULT ITextRange_SetIndex(ITextRange* This,LONG Unit,LONG Index,LONG Extend) { + return This->lpVtbl->SetIndex(This,Unit,Index,Extend); +} +static FORCEINLINE HRESULT ITextRange_SetRange(ITextRange* This,LONG anchor,LONG active) { + return This->lpVtbl->SetRange(This,anchor,active); +} +static FORCEINLINE HRESULT ITextRange_InRange(ITextRange* This,ITextRange *pRange,LONG *pb) { + return This->lpVtbl->InRange(This,pRange,pb); +} +static FORCEINLINE HRESULT ITextRange_InStory(ITextRange* This,ITextRange *pRange,LONG *pb) { + return This->lpVtbl->InStory(This,pRange,pb); +} +static FORCEINLINE HRESULT ITextRange_IsEqual(ITextRange* This,ITextRange *pRange,LONG *pb) { + return This->lpVtbl->IsEqual(This,pRange,pb); +} +static FORCEINLINE HRESULT ITextRange_Select(ITextRange* This) { + return This->lpVtbl->Select(This); +} +static FORCEINLINE HRESULT ITextRange_StartOf(ITextRange* This,LONG Unit,LONG Extend,LONG *pDelta) { + return This->lpVtbl->StartOf(This,Unit,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextRange_EndOf(ITextRange* This,LONG Unit,LONG Extend,LONG *pDelta) { + return This->lpVtbl->EndOf(This,Unit,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextRange_Move(ITextRange* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->Move(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveStart(ITextRange* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveStart(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveEnd(ITextRange* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveEnd(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveWhile(ITextRange* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveWhile(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveStartWhile(ITextRange* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveStartWhile(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveEndWhile(ITextRange* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveEndWhile(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveUntil(ITextRange* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveUntil(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveStartUntil(ITextRange* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveStartUntil(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_MoveEndUntil(ITextRange* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveEndUntil(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_FindText(ITextRange* This,BSTR bstr,LONG cch,LONG Flags,LONG *pLength) { + return This->lpVtbl->FindText(This,bstr,cch,Flags,pLength); +} +static FORCEINLINE HRESULT ITextRange_FindTextStart(ITextRange* This,BSTR bstr,LONG cch,LONG Flags,LONG *pLength) { + return This->lpVtbl->FindTextStart(This,bstr,cch,Flags,pLength); +} +static FORCEINLINE HRESULT ITextRange_FindTextEnd(ITextRange* This,BSTR bstr,LONG cch,LONG Flags,LONG *pLength) { + return This->lpVtbl->FindTextEnd(This,bstr,cch,Flags,pLength); +} +static FORCEINLINE HRESULT ITextRange_Delete(ITextRange* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->Delete(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextRange_Cut(ITextRange* This,VARIANT *pVar) { + return This->lpVtbl->Cut(This,pVar); +} +static FORCEINLINE HRESULT ITextRange_Copy(ITextRange* This,VARIANT *pVar) { + return This->lpVtbl->Copy(This,pVar); +} +static FORCEINLINE HRESULT ITextRange_Paste(ITextRange* This,VARIANT *pVar,LONG Format) { + return This->lpVtbl->Paste(This,pVar,Format); +} +static FORCEINLINE HRESULT ITextRange_CanPaste(ITextRange* This,VARIANT *pVar,LONG Format,LONG *pb) { + return This->lpVtbl->CanPaste(This,pVar,Format,pb); +} +static FORCEINLINE HRESULT ITextRange_CanEdit(ITextRange* This,LONG *pb) { + return This->lpVtbl->CanEdit(This,pb); +} +static FORCEINLINE HRESULT ITextRange_ChangeCase(ITextRange* This,LONG Type) { + return This->lpVtbl->ChangeCase(This,Type); +} +static FORCEINLINE HRESULT ITextRange_GetPoint(ITextRange* This,LONG Type,LONG *cx,LONG *cy) { + return This->lpVtbl->GetPoint(This,Type,cx,cy); +} +static FORCEINLINE HRESULT ITextRange_SetPoint(ITextRange* This,LONG x,LONG y,LONG Type,LONG Extend) { + return This->lpVtbl->SetPoint(This,x,y,Type,Extend); +} +static FORCEINLINE HRESULT ITextRange_ScrollIntoView(ITextRange* This,LONG Value) { + return This->lpVtbl->ScrollIntoView(This,Value); +} +static FORCEINLINE HRESULT ITextRange_GetEmbeddedObject(ITextRange* This,IUnknown **ppv) { + return This->lpVtbl->GetEmbeddedObject(This,ppv); +} +#endif +#endif + +#endif + + +#endif /* __ITextRange_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITextSelection interface + */ +#ifndef __ITextSelection_INTERFACE_DEFINED__ +#define __ITextSelection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextSelection, 0x8cc497c1, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cc497c1-a1df-11ce-8098-00aa0047be5d") +ITextSelection : public ITextRange +{ + virtual HRESULT STDMETHODCALLTYPE GetFlags( + LONG *pFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFlags( + LONG Flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetType( + LONG *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveLeft( + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveRight( + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveUp( + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveDown( + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE HomeKey( + LONG Unit, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndKey( + LONG Unit, + LONG Extend, + LONG *pDelta) = 0; + + virtual HRESULT STDMETHODCALLTYPE TypeText( + BSTR bstr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextSelection, 0x8cc497c1, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d) +#endif +#else +typedef struct ITextSelectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextSelection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextSelection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextSelection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITextSelection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITextSelection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITextSelection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITextSelection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITextRange methods ***/ + HRESULT (STDMETHODCALLTYPE *GetText)( + ITextSelection *This, + BSTR *pbstr); + + HRESULT (STDMETHODCALLTYPE *SetText)( + ITextSelection *This, + BSTR bstr); + + HRESULT (STDMETHODCALLTYPE *GetChar)( + ITextSelection *This, + LONG *pch); + + HRESULT (STDMETHODCALLTYPE *SetChar)( + ITextSelection *This, + LONG ch); + + HRESULT (STDMETHODCALLTYPE *GetDuplicate)( + ITextSelection *This, + ITextRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *GetFormattedText)( + ITextSelection *This, + ITextRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *SetFormattedText)( + ITextSelection *This, + ITextRange *pRange); + + HRESULT (STDMETHODCALLTYPE *GetStart)( + ITextSelection *This, + LONG *pcpFirst); + + HRESULT (STDMETHODCALLTYPE *SetStart)( + ITextSelection *This, + LONG cpFirst); + + HRESULT (STDMETHODCALLTYPE *GetEnd)( + ITextSelection *This, + LONG *pcpLim); + + HRESULT (STDMETHODCALLTYPE *SetEnd)( + ITextSelection *This, + LONG cpLim); + + HRESULT (STDMETHODCALLTYPE *GetFont)( + ITextSelection *This, + ITextFont **pFont); + + HRESULT (STDMETHODCALLTYPE *SetFont)( + ITextSelection *This, + ITextFont *pFont); + + HRESULT (STDMETHODCALLTYPE *GetPara)( + ITextSelection *This, + ITextPara **ppPara); + + HRESULT (STDMETHODCALLTYPE *SetPara)( + ITextSelection *This, + ITextPara *pPara); + + HRESULT (STDMETHODCALLTYPE *GetStoryLength)( + ITextSelection *This, + LONG *pcch); + + HRESULT (STDMETHODCALLTYPE *GetStoryType)( + ITextSelection *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *Collapse)( + ITextSelection *This, + LONG bStart); + + HRESULT (STDMETHODCALLTYPE *Expand)( + ITextSelection *This, + LONG Unit, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *GetIndex)( + ITextSelection *This, + LONG Unit, + LONG *pIndex); + + HRESULT (STDMETHODCALLTYPE *SetIndex)( + ITextSelection *This, + LONG Unit, + LONG Index, + LONG Extend); + + HRESULT (STDMETHODCALLTYPE *SetRange)( + ITextSelection *This, + LONG anchor, + LONG active); + + HRESULT (STDMETHODCALLTYPE *InRange)( + ITextSelection *This, + ITextRange *pRange, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *InStory)( + ITextSelection *This, + ITextRange *pRange, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + ITextSelection *This, + ITextRange *pRange, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *Select)( + ITextSelection *This); + + HRESULT (STDMETHODCALLTYPE *StartOf)( + ITextSelection *This, + LONG Unit, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *EndOf)( + ITextSelection *This, + LONG Unit, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *Move)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveStart)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveEnd)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveWhile)( + ITextSelection *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveStartWhile)( + ITextSelection *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveEndWhile)( + ITextSelection *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveUntil)( + ITextSelection *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveStartUntil)( + ITextSelection *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveEndUntil)( + ITextSelection *This, + VARIANT *Cset, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *FindText)( + ITextSelection *This, + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength); + + HRESULT (STDMETHODCALLTYPE *FindTextStart)( + ITextSelection *This, + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength); + + HRESULT (STDMETHODCALLTYPE *FindTextEnd)( + ITextSelection *This, + BSTR bstr, + LONG cch, + LONG Flags, + LONG *pLength); + + HRESULT (STDMETHODCALLTYPE *Delete)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *Cut)( + ITextSelection *This, + VARIANT *pVar); + + HRESULT (STDMETHODCALLTYPE *Copy)( + ITextSelection *This, + VARIANT *pVar); + + HRESULT (STDMETHODCALLTYPE *Paste)( + ITextSelection *This, + VARIANT *pVar, + LONG Format); + + HRESULT (STDMETHODCALLTYPE *CanPaste)( + ITextSelection *This, + VARIANT *pVar, + LONG Format, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *CanEdit)( + ITextSelection *This, + LONG *pb); + + HRESULT (STDMETHODCALLTYPE *ChangeCase)( + ITextSelection *This, + LONG Type); + + HRESULT (STDMETHODCALLTYPE *GetPoint)( + ITextSelection *This, + LONG Type, + LONG *cx, + LONG *cy); + + HRESULT (STDMETHODCALLTYPE *SetPoint)( + ITextSelection *This, + LONG x, + LONG y, + LONG Type, + LONG Extend); + + HRESULT (STDMETHODCALLTYPE *ScrollIntoView)( + ITextSelection *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetEmbeddedObject)( + ITextSelection *This, + IUnknown **ppv); + + /*** ITextSelection methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFlags)( + ITextSelection *This, + LONG *pFlags); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + ITextSelection *This, + LONG Flags); + + HRESULT (STDMETHODCALLTYPE *GetType)( + ITextSelection *This, + LONG *pType); + + HRESULT (STDMETHODCALLTYPE *MoveLeft)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveRight)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveUp)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *MoveDown)( + ITextSelection *This, + LONG Unit, + LONG Count, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *HomeKey)( + ITextSelection *This, + LONG Unit, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *EndKey)( + ITextSelection *This, + LONG Unit, + LONG Extend, + LONG *pDelta); + + HRESULT (STDMETHODCALLTYPE *TypeText)( + ITextSelection *This, + BSTR bstr); + + END_INTERFACE +} ITextSelectionVtbl; + +interface ITextSelection { + CONST_VTBL ITextSelectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextSelection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextSelection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextSelection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITextSelection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITextSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITextSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITextSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITextRange methods ***/ +#define ITextSelection_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr) +#define ITextSelection_SetText(This,bstr) (This)->lpVtbl->SetText(This,bstr) +#define ITextSelection_GetChar(This,pch) (This)->lpVtbl->GetChar(This,pch) +#define ITextSelection_SetChar(This,ch) (This)->lpVtbl->SetChar(This,ch) +#define ITextSelection_GetDuplicate(This,ppRange) (This)->lpVtbl->GetDuplicate(This,ppRange) +#define ITextSelection_GetFormattedText(This,ppRange) (This)->lpVtbl->GetFormattedText(This,ppRange) +#define ITextSelection_SetFormattedText(This,pRange) (This)->lpVtbl->SetFormattedText(This,pRange) +#define ITextSelection_GetStart(This,pcpFirst) (This)->lpVtbl->GetStart(This,pcpFirst) +#define ITextSelection_SetStart(This,cpFirst) (This)->lpVtbl->SetStart(This,cpFirst) +#define ITextSelection_GetEnd(This,pcpLim) (This)->lpVtbl->GetEnd(This,pcpLim) +#define ITextSelection_SetEnd(This,cpLim) (This)->lpVtbl->SetEnd(This,cpLim) +#define ITextSelection_GetFont(This,pFont) (This)->lpVtbl->GetFont(This,pFont) +#define ITextSelection_SetFont(This,pFont) (This)->lpVtbl->SetFont(This,pFont) +#define ITextSelection_GetPara(This,ppPara) (This)->lpVtbl->GetPara(This,ppPara) +#define ITextSelection_SetPara(This,pPara) (This)->lpVtbl->SetPara(This,pPara) +#define ITextSelection_GetStoryLength(This,pcch) (This)->lpVtbl->GetStoryLength(This,pcch) +#define ITextSelection_GetStoryType(This,pValue) (This)->lpVtbl->GetStoryType(This,pValue) +#define ITextSelection_Collapse(This,bStart) (This)->lpVtbl->Collapse(This,bStart) +#define ITextSelection_Expand(This,Unit,pDelta) (This)->lpVtbl->Expand(This,Unit,pDelta) +#define ITextSelection_GetIndex(This,Unit,pIndex) (This)->lpVtbl->GetIndex(This,Unit,pIndex) +#define ITextSelection_SetIndex(This,Unit,Index,Extend) (This)->lpVtbl->SetIndex(This,Unit,Index,Extend) +#define ITextSelection_SetRange(This,anchor,active) (This)->lpVtbl->SetRange(This,anchor,active) +#define ITextSelection_InRange(This,pRange,pb) (This)->lpVtbl->InRange(This,pRange,pb) +#define ITextSelection_InStory(This,pRange,pb) (This)->lpVtbl->InStory(This,pRange,pb) +#define ITextSelection_IsEqual(This,pRange,pb) (This)->lpVtbl->IsEqual(This,pRange,pb) +#define ITextSelection_Select(This) (This)->lpVtbl->Select(This) +#define ITextSelection_StartOf(This,Unit,Extend,pDelta) (This)->lpVtbl->StartOf(This,Unit,Extend,pDelta) +#define ITextSelection_EndOf(This,Unit,Extend,pDelta) (This)->lpVtbl->EndOf(This,Unit,Extend,pDelta) +#define ITextSelection_Move(This,Unit,Count,pDelta) (This)->lpVtbl->Move(This,Unit,Count,pDelta) +#define ITextSelection_MoveStart(This,Unit,Count,pDelta) (This)->lpVtbl->MoveStart(This,Unit,Count,pDelta) +#define ITextSelection_MoveEnd(This,Unit,Count,pDelta) (This)->lpVtbl->MoveEnd(This,Unit,Count,pDelta) +#define ITextSelection_MoveWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveWhile(This,Cset,Count,pDelta) +#define ITextSelection_MoveStartWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartWhile(This,Cset,Count,pDelta) +#define ITextSelection_MoveEndWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndWhile(This,Cset,Count,pDelta) +#define ITextSelection_MoveUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveUntil(This,Cset,Count,pDelta) +#define ITextSelection_MoveStartUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartUntil(This,Cset,Count,pDelta) +#define ITextSelection_MoveEndUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndUntil(This,Cset,Count,pDelta) +#define ITextSelection_FindText(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindText(This,bstr,cch,Flags,pLength) +#define ITextSelection_FindTextStart(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextStart(This,bstr,cch,Flags,pLength) +#define ITextSelection_FindTextEnd(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextEnd(This,bstr,cch,Flags,pLength) +#define ITextSelection_Delete(This,Unit,Count,pDelta) (This)->lpVtbl->Delete(This,Unit,Count,pDelta) +#define ITextSelection_Cut(This,pVar) (This)->lpVtbl->Cut(This,pVar) +#define ITextSelection_Copy(This,pVar) (This)->lpVtbl->Copy(This,pVar) +#define ITextSelection_Paste(This,pVar,Format) (This)->lpVtbl->Paste(This,pVar,Format) +#define ITextSelection_CanPaste(This,pVar,Format,pb) (This)->lpVtbl->CanPaste(This,pVar,Format,pb) +#define ITextSelection_CanEdit(This,pb) (This)->lpVtbl->CanEdit(This,pb) +#define ITextSelection_ChangeCase(This,Type) (This)->lpVtbl->ChangeCase(This,Type) +#define ITextSelection_GetPoint(This,Type,cx,cy) (This)->lpVtbl->GetPoint(This,Type,cx,cy) +#define ITextSelection_SetPoint(This,x,y,Type,Extend) (This)->lpVtbl->SetPoint(This,x,y,Type,Extend) +#define ITextSelection_ScrollIntoView(This,Value) (This)->lpVtbl->ScrollIntoView(This,Value) +#define ITextSelection_GetEmbeddedObject(This,ppv) (This)->lpVtbl->GetEmbeddedObject(This,ppv) +/*** ITextSelection methods ***/ +#define ITextSelection_GetFlags(This,pFlags) (This)->lpVtbl->GetFlags(This,pFlags) +#define ITextSelection_SetFlags(This,Flags) (This)->lpVtbl->SetFlags(This,Flags) +#define ITextSelection_GetType(This,pType) (This)->lpVtbl->GetType(This,pType) +#define ITextSelection_MoveLeft(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveLeft(This,Unit,Count,Extend,pDelta) +#define ITextSelection_MoveRight(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveRight(This,Unit,Count,Extend,pDelta) +#define ITextSelection_MoveUp(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveUp(This,Unit,Count,Extend,pDelta) +#define ITextSelection_MoveDown(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveDown(This,Unit,Count,Extend,pDelta) +#define ITextSelection_HomeKey(This,Unit,Extend,pDelta) (This)->lpVtbl->HomeKey(This,Unit,Extend,pDelta) +#define ITextSelection_EndKey(This,Unit,Extend,pDelta) (This)->lpVtbl->EndKey(This,Unit,Extend,pDelta) +#define ITextSelection_TypeText(This,bstr) (This)->lpVtbl->TypeText(This,bstr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextSelection_QueryInterface(ITextSelection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextSelection_AddRef(ITextSelection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextSelection_Release(ITextSelection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITextSelection_GetTypeInfoCount(ITextSelection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITextSelection_GetTypeInfo(ITextSelection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITextSelection_GetIDsOfNames(ITextSelection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITextSelection_Invoke(ITextSelection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITextRange methods ***/ +static FORCEINLINE HRESULT ITextSelection_GetText(ITextSelection* This,BSTR *pbstr) { + return This->lpVtbl->GetText(This,pbstr); +} +static FORCEINLINE HRESULT ITextSelection_SetText(ITextSelection* This,BSTR bstr) { + return This->lpVtbl->SetText(This,bstr); +} +static FORCEINLINE HRESULT ITextSelection_GetChar(ITextSelection* This,LONG *pch) { + return This->lpVtbl->GetChar(This,pch); +} +static FORCEINLINE HRESULT ITextSelection_SetChar(ITextSelection* This,LONG ch) { + return This->lpVtbl->SetChar(This,ch); +} +static FORCEINLINE HRESULT ITextSelection_GetDuplicate(ITextSelection* This,ITextRange **ppRange) { + return This->lpVtbl->GetDuplicate(This,ppRange); +} +static FORCEINLINE HRESULT ITextSelection_GetFormattedText(ITextSelection* This,ITextRange **ppRange) { + return This->lpVtbl->GetFormattedText(This,ppRange); +} +static FORCEINLINE HRESULT ITextSelection_SetFormattedText(ITextSelection* This,ITextRange *pRange) { + return This->lpVtbl->SetFormattedText(This,pRange); +} +static FORCEINLINE HRESULT ITextSelection_GetStart(ITextSelection* This,LONG *pcpFirst) { + return This->lpVtbl->GetStart(This,pcpFirst); +} +static FORCEINLINE HRESULT ITextSelection_SetStart(ITextSelection* This,LONG cpFirst) { + return This->lpVtbl->SetStart(This,cpFirst); +} +static FORCEINLINE HRESULT ITextSelection_GetEnd(ITextSelection* This,LONG *pcpLim) { + return This->lpVtbl->GetEnd(This,pcpLim); +} +static FORCEINLINE HRESULT ITextSelection_SetEnd(ITextSelection* This,LONG cpLim) { + return This->lpVtbl->SetEnd(This,cpLim); +} +static FORCEINLINE HRESULT ITextSelection_GetFont(ITextSelection* This,ITextFont **pFont) { + return This->lpVtbl->GetFont(This,pFont); +} +static FORCEINLINE HRESULT ITextSelection_SetFont(ITextSelection* This,ITextFont *pFont) { + return This->lpVtbl->SetFont(This,pFont); +} +static FORCEINLINE HRESULT ITextSelection_GetPara(ITextSelection* This,ITextPara **ppPara) { + return This->lpVtbl->GetPara(This,ppPara); +} +static FORCEINLINE HRESULT ITextSelection_SetPara(ITextSelection* This,ITextPara *pPara) { + return This->lpVtbl->SetPara(This,pPara); +} +static FORCEINLINE HRESULT ITextSelection_GetStoryLength(ITextSelection* This,LONG *pcch) { + return This->lpVtbl->GetStoryLength(This,pcch); +} +static FORCEINLINE HRESULT ITextSelection_GetStoryType(ITextSelection* This,LONG *pValue) { + return This->lpVtbl->GetStoryType(This,pValue); +} +static FORCEINLINE HRESULT ITextSelection_Collapse(ITextSelection* This,LONG bStart) { + return This->lpVtbl->Collapse(This,bStart); +} +static FORCEINLINE HRESULT ITextSelection_Expand(ITextSelection* This,LONG Unit,LONG *pDelta) { + return This->lpVtbl->Expand(This,Unit,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_GetIndex(ITextSelection* This,LONG Unit,LONG *pIndex) { + return This->lpVtbl->GetIndex(This,Unit,pIndex); +} +static FORCEINLINE HRESULT ITextSelection_SetIndex(ITextSelection* This,LONG Unit,LONG Index,LONG Extend) { + return This->lpVtbl->SetIndex(This,Unit,Index,Extend); +} +static FORCEINLINE HRESULT ITextSelection_SetRange(ITextSelection* This,LONG anchor,LONG active) { + return This->lpVtbl->SetRange(This,anchor,active); +} +static FORCEINLINE HRESULT ITextSelection_InRange(ITextSelection* This,ITextRange *pRange,LONG *pb) { + return This->lpVtbl->InRange(This,pRange,pb); +} +static FORCEINLINE HRESULT ITextSelection_InStory(ITextSelection* This,ITextRange *pRange,LONG *pb) { + return This->lpVtbl->InStory(This,pRange,pb); +} +static FORCEINLINE HRESULT ITextSelection_IsEqual(ITextSelection* This,ITextRange *pRange,LONG *pb) { + return This->lpVtbl->IsEqual(This,pRange,pb); +} +static FORCEINLINE HRESULT ITextSelection_Select(ITextSelection* This) { + return This->lpVtbl->Select(This); +} +static FORCEINLINE HRESULT ITextSelection_StartOf(ITextSelection* This,LONG Unit,LONG Extend,LONG *pDelta) { + return This->lpVtbl->StartOf(This,Unit,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_EndOf(ITextSelection* This,LONG Unit,LONG Extend,LONG *pDelta) { + return This->lpVtbl->EndOf(This,Unit,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_Move(ITextSelection* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->Move(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveStart(ITextSelection* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveStart(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveEnd(ITextSelection* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveEnd(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveWhile(ITextSelection* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveWhile(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveStartWhile(ITextSelection* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveStartWhile(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveEndWhile(ITextSelection* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveEndWhile(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveUntil(ITextSelection* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveUntil(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveStartUntil(ITextSelection* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveStartUntil(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveEndUntil(ITextSelection* This,VARIANT *Cset,LONG Count,LONG *pDelta) { + return This->lpVtbl->MoveEndUntil(This,Cset,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_FindText(ITextSelection* This,BSTR bstr,LONG cch,LONG Flags,LONG *pLength) { + return This->lpVtbl->FindText(This,bstr,cch,Flags,pLength); +} +static FORCEINLINE HRESULT ITextSelection_FindTextStart(ITextSelection* This,BSTR bstr,LONG cch,LONG Flags,LONG *pLength) { + return This->lpVtbl->FindTextStart(This,bstr,cch,Flags,pLength); +} +static FORCEINLINE HRESULT ITextSelection_FindTextEnd(ITextSelection* This,BSTR bstr,LONG cch,LONG Flags,LONG *pLength) { + return This->lpVtbl->FindTextEnd(This,bstr,cch,Flags,pLength); +} +static FORCEINLINE HRESULT ITextSelection_Delete(ITextSelection* This,LONG Unit,LONG Count,LONG *pDelta) { + return This->lpVtbl->Delete(This,Unit,Count,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_Cut(ITextSelection* This,VARIANT *pVar) { + return This->lpVtbl->Cut(This,pVar); +} +static FORCEINLINE HRESULT ITextSelection_Copy(ITextSelection* This,VARIANT *pVar) { + return This->lpVtbl->Copy(This,pVar); +} +static FORCEINLINE HRESULT ITextSelection_Paste(ITextSelection* This,VARIANT *pVar,LONG Format) { + return This->lpVtbl->Paste(This,pVar,Format); +} +static FORCEINLINE HRESULT ITextSelection_CanPaste(ITextSelection* This,VARIANT *pVar,LONG Format,LONG *pb) { + return This->lpVtbl->CanPaste(This,pVar,Format,pb); +} +static FORCEINLINE HRESULT ITextSelection_CanEdit(ITextSelection* This,LONG *pb) { + return This->lpVtbl->CanEdit(This,pb); +} +static FORCEINLINE HRESULT ITextSelection_ChangeCase(ITextSelection* This,LONG Type) { + return This->lpVtbl->ChangeCase(This,Type); +} +static FORCEINLINE HRESULT ITextSelection_GetPoint(ITextSelection* This,LONG Type,LONG *cx,LONG *cy) { + return This->lpVtbl->GetPoint(This,Type,cx,cy); +} +static FORCEINLINE HRESULT ITextSelection_SetPoint(ITextSelection* This,LONG x,LONG y,LONG Type,LONG Extend) { + return This->lpVtbl->SetPoint(This,x,y,Type,Extend); +} +static FORCEINLINE HRESULT ITextSelection_ScrollIntoView(ITextSelection* This,LONG Value) { + return This->lpVtbl->ScrollIntoView(This,Value); +} +static FORCEINLINE HRESULT ITextSelection_GetEmbeddedObject(ITextSelection* This,IUnknown **ppv) { + return This->lpVtbl->GetEmbeddedObject(This,ppv); +} +/*** ITextSelection methods ***/ +static FORCEINLINE HRESULT ITextSelection_GetFlags(ITextSelection* This,LONG *pFlags) { + return This->lpVtbl->GetFlags(This,pFlags); +} +static FORCEINLINE HRESULT ITextSelection_SetFlags(ITextSelection* This,LONG Flags) { + return This->lpVtbl->SetFlags(This,Flags); +} +static FORCEINLINE HRESULT ITextSelection_GetType(ITextSelection* This,LONG *pType) { + return This->lpVtbl->GetType(This,pType); +} +static FORCEINLINE HRESULT ITextSelection_MoveLeft(ITextSelection* This,LONG Unit,LONG Count,LONG Extend,LONG *pDelta) { + return This->lpVtbl->MoveLeft(This,Unit,Count,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveRight(ITextSelection* This,LONG Unit,LONG Count,LONG Extend,LONG *pDelta) { + return This->lpVtbl->MoveRight(This,Unit,Count,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveUp(ITextSelection* This,LONG Unit,LONG Count,LONG Extend,LONG *pDelta) { + return This->lpVtbl->MoveUp(This,Unit,Count,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_MoveDown(ITextSelection* This,LONG Unit,LONG Count,LONG Extend,LONG *pDelta) { + return This->lpVtbl->MoveDown(This,Unit,Count,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_HomeKey(ITextSelection* This,LONG Unit,LONG Extend,LONG *pDelta) { + return This->lpVtbl->HomeKey(This,Unit,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_EndKey(ITextSelection* This,LONG Unit,LONG Extend,LONG *pDelta) { + return This->lpVtbl->EndKey(This,Unit,Extend,pDelta); +} +static FORCEINLINE HRESULT ITextSelection_TypeText(ITextSelection* This,BSTR bstr) { + return This->lpVtbl->TypeText(This,bstr); +} +#endif +#endif + +#endif + + +#endif /* __ITextSelection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITextFont interface + */ +#ifndef __ITextFont_INTERFACE_DEFINED__ +#define __ITextFont_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextFont, 0x8cc497c3, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cc497c3-a1df-11ce-8098-00aa0047be5d") +ITextFont : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetDuplicate( + ITextFont **ppFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDuplicate( + ITextFont *pFont) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanChange( + LONG *pB) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + ITextFont *pFont, + LONG *pB) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStyle( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStyle( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllCaps( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllCaps( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAnimation( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAnimation( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBackColor( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBackColor( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBold( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBold( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEmboss( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEmboss( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetForeColor( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetForeColor( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHidden( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHidden( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEngrave( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEngrave( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItalic( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetItalic( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKerning( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetKerning( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLanguageID( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLanguageID( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + BSTR *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetName( + BSTR Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutline( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutline( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPosition( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPosition( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProtected( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProtected( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetShadow( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetShadow( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSize( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSize( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSmallCaps( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSmallCaps( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSpacing( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSpacing( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStrikeThrough( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStrikeThrough( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubscript( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSubscript( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSuperscript( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSuperscript( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUnderline( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUnderline( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWeight( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWeight( + LONG Value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextFont, 0x8cc497c3, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d) +#endif +#else +typedef struct ITextFontVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextFont *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextFont *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextFont *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITextFont *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITextFont *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITextFont *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITextFont *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITextFont methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDuplicate)( + ITextFont *This, + ITextFont **ppFont); + + HRESULT (STDMETHODCALLTYPE *SetDuplicate)( + ITextFont *This, + ITextFont *pFont); + + HRESULT (STDMETHODCALLTYPE *CanChange)( + ITextFont *This, + LONG *pB); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + ITextFont *This, + ITextFont *pFont, + LONG *pB); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetStyle)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetStyle)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetAllCaps)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetAllCaps)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetAnimation)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetAnimation)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetBackColor)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetBackColor)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetBold)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetBold)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetEmboss)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetEmboss)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetForeColor)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetForeColor)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetHidden)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetHidden)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetEngrave)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetEngrave)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetItalic)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetItalic)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetKerning)( + ITextFont *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetKerning)( + ITextFont *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetLanguageID)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetLanguageID)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetName)( + ITextFont *This, + BSTR *pValue); + + HRESULT (STDMETHODCALLTYPE *SetName)( + ITextFont *This, + BSTR Value); + + HRESULT (STDMETHODCALLTYPE *GetOutline)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetOutline)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetPosition)( + ITextFont *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetPosition)( + ITextFont *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetProtected)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetProtected)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetShadow)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetShadow)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetSize)( + ITextFont *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSize)( + ITextFont *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetSmallCaps)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSmallCaps)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetSpacing)( + ITextFont *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSpacing)( + ITextFont *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetStrikeThrough)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetStrikeThrough)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetSubscript)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSubscript)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetSuperscript)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSuperscript)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetUnderline)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetUnderline)( + ITextFont *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetWeight)( + ITextFont *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetWeight)( + ITextFont *This, + LONG Value); + + END_INTERFACE +} ITextFontVtbl; + +interface ITextFont { + CONST_VTBL ITextFontVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextFont_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextFont_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextFont_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITextFont_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITextFont_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITextFont_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITextFont_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITextFont methods ***/ +#define ITextFont_GetDuplicate(This,ppFont) (This)->lpVtbl->GetDuplicate(This,ppFont) +#define ITextFont_SetDuplicate(This,pFont) (This)->lpVtbl->SetDuplicate(This,pFont) +#define ITextFont_CanChange(This,pB) (This)->lpVtbl->CanChange(This,pB) +#define ITextFont_IsEqual(This,pFont,pB) (This)->lpVtbl->IsEqual(This,pFont,pB) +#define ITextFont_Reset(This,Value) (This)->lpVtbl->Reset(This,Value) +#define ITextFont_GetStyle(This,pValue) (This)->lpVtbl->GetStyle(This,pValue) +#define ITextFont_SetStyle(This,Value) (This)->lpVtbl->SetStyle(This,Value) +#define ITextFont_GetAllCaps(This,pValue) (This)->lpVtbl->GetAllCaps(This,pValue) +#define ITextFont_SetAllCaps(This,Value) (This)->lpVtbl->SetAllCaps(This,Value) +#define ITextFont_GetAnimation(This,pValue) (This)->lpVtbl->GetAnimation(This,pValue) +#define ITextFont_SetAnimation(This,Value) (This)->lpVtbl->SetAnimation(This,Value) +#define ITextFont_GetBackColor(This,pValue) (This)->lpVtbl->GetBackColor(This,pValue) +#define ITextFont_SetBackColor(This,Value) (This)->lpVtbl->SetBackColor(This,Value) +#define ITextFont_GetBold(This,pValue) (This)->lpVtbl->GetBold(This,pValue) +#define ITextFont_SetBold(This,Value) (This)->lpVtbl->SetBold(This,Value) +#define ITextFont_GetEmboss(This,pValue) (This)->lpVtbl->GetEmboss(This,pValue) +#define ITextFont_SetEmboss(This,Value) (This)->lpVtbl->SetEmboss(This,Value) +#define ITextFont_GetForeColor(This,pValue) (This)->lpVtbl->GetForeColor(This,pValue) +#define ITextFont_SetForeColor(This,Value) (This)->lpVtbl->SetForeColor(This,Value) +#define ITextFont_GetHidden(This,pValue) (This)->lpVtbl->GetHidden(This,pValue) +#define ITextFont_SetHidden(This,Value) (This)->lpVtbl->SetHidden(This,Value) +#define ITextFont_GetEngrave(This,pValue) (This)->lpVtbl->GetEngrave(This,pValue) +#define ITextFont_SetEngrave(This,Value) (This)->lpVtbl->SetEngrave(This,Value) +#define ITextFont_GetItalic(This,pValue) (This)->lpVtbl->GetItalic(This,pValue) +#define ITextFont_SetItalic(This,Value) (This)->lpVtbl->SetItalic(This,Value) +#define ITextFont_GetKerning(This,pValue) (This)->lpVtbl->GetKerning(This,pValue) +#define ITextFont_SetKerning(This,Value) (This)->lpVtbl->SetKerning(This,Value) +#define ITextFont_GetLanguageID(This,pValue) (This)->lpVtbl->GetLanguageID(This,pValue) +#define ITextFont_SetLanguageID(This,Value) (This)->lpVtbl->SetLanguageID(This,Value) +#define ITextFont_GetName(This,pValue) (This)->lpVtbl->GetName(This,pValue) +#define ITextFont_SetName(This,Value) (This)->lpVtbl->SetName(This,Value) +#define ITextFont_GetOutline(This,pValue) (This)->lpVtbl->GetOutline(This,pValue) +#define ITextFont_SetOutline(This,Value) (This)->lpVtbl->SetOutline(This,Value) +#define ITextFont_GetPosition(This,pValue) (This)->lpVtbl->GetPosition(This,pValue) +#define ITextFont_SetPosition(This,Value) (This)->lpVtbl->SetPosition(This,Value) +#define ITextFont_GetProtected(This,pValue) (This)->lpVtbl->GetProtected(This,pValue) +#define ITextFont_SetProtected(This,Value) (This)->lpVtbl->SetProtected(This,Value) +#define ITextFont_GetShadow(This,pValue) (This)->lpVtbl->GetShadow(This,pValue) +#define ITextFont_SetShadow(This,Value) (This)->lpVtbl->SetShadow(This,Value) +#define ITextFont_GetSize(This,pValue) (This)->lpVtbl->GetSize(This,pValue) +#define ITextFont_SetSize(This,Value) (This)->lpVtbl->SetSize(This,Value) +#define ITextFont_GetSmallCaps(This,pValue) (This)->lpVtbl->GetSmallCaps(This,pValue) +#define ITextFont_SetSmallCaps(This,Value) (This)->lpVtbl->SetSmallCaps(This,Value) +#define ITextFont_GetSpacing(This,pValue) (This)->lpVtbl->GetSpacing(This,pValue) +#define ITextFont_SetSpacing(This,Value) (This)->lpVtbl->SetSpacing(This,Value) +#define ITextFont_GetStrikeThrough(This,pValue) (This)->lpVtbl->GetStrikeThrough(This,pValue) +#define ITextFont_SetStrikeThrough(This,Value) (This)->lpVtbl->SetStrikeThrough(This,Value) +#define ITextFont_GetSubscript(This,pValue) (This)->lpVtbl->GetSubscript(This,pValue) +#define ITextFont_SetSubscript(This,Value) (This)->lpVtbl->SetSubscript(This,Value) +#define ITextFont_GetSuperscript(This,pValue) (This)->lpVtbl->GetSuperscript(This,pValue) +#define ITextFont_SetSuperscript(This,Value) (This)->lpVtbl->SetSuperscript(This,Value) +#define ITextFont_GetUnderline(This,pValue) (This)->lpVtbl->GetUnderline(This,pValue) +#define ITextFont_SetUnderline(This,Value) (This)->lpVtbl->SetUnderline(This,Value) +#define ITextFont_GetWeight(This,pValue) (This)->lpVtbl->GetWeight(This,pValue) +#define ITextFont_SetWeight(This,Value) (This)->lpVtbl->SetWeight(This,Value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextFont_QueryInterface(ITextFont* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextFont_AddRef(ITextFont* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextFont_Release(ITextFont* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITextFont_GetTypeInfoCount(ITextFont* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITextFont_GetTypeInfo(ITextFont* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITextFont_GetIDsOfNames(ITextFont* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITextFont_Invoke(ITextFont* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITextFont methods ***/ +static FORCEINLINE HRESULT ITextFont_GetDuplicate(ITextFont* This,ITextFont **ppFont) { + return This->lpVtbl->GetDuplicate(This,ppFont); +} +static FORCEINLINE HRESULT ITextFont_SetDuplicate(ITextFont* This,ITextFont *pFont) { + return This->lpVtbl->SetDuplicate(This,pFont); +} +static FORCEINLINE HRESULT ITextFont_CanChange(ITextFont* This,LONG *pB) { + return This->lpVtbl->CanChange(This,pB); +} +static FORCEINLINE HRESULT ITextFont_IsEqual(ITextFont* This,ITextFont *pFont,LONG *pB) { + return This->lpVtbl->IsEqual(This,pFont,pB); +} +static FORCEINLINE HRESULT ITextFont_Reset(ITextFont* This,LONG Value) { + return This->lpVtbl->Reset(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetStyle(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetStyle(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetStyle(ITextFont* This,LONG Value) { + return This->lpVtbl->SetStyle(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetAllCaps(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetAllCaps(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetAllCaps(ITextFont* This,LONG Value) { + return This->lpVtbl->SetAllCaps(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetAnimation(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetAnimation(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetAnimation(ITextFont* This,LONG Value) { + return This->lpVtbl->SetAnimation(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetBackColor(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetBackColor(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetBackColor(ITextFont* This,LONG Value) { + return This->lpVtbl->SetBackColor(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetBold(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetBold(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetBold(ITextFont* This,LONG Value) { + return This->lpVtbl->SetBold(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetEmboss(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetEmboss(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetEmboss(ITextFont* This,LONG Value) { + return This->lpVtbl->SetEmboss(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetForeColor(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetForeColor(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetForeColor(ITextFont* This,LONG Value) { + return This->lpVtbl->SetForeColor(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetHidden(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetHidden(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetHidden(ITextFont* This,LONG Value) { + return This->lpVtbl->SetHidden(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetEngrave(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetEngrave(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetEngrave(ITextFont* This,LONG Value) { + return This->lpVtbl->SetEngrave(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetItalic(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetItalic(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetItalic(ITextFont* This,LONG Value) { + return This->lpVtbl->SetItalic(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetKerning(ITextFont* This,float *pValue) { + return This->lpVtbl->GetKerning(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetKerning(ITextFont* This,float Value) { + return This->lpVtbl->SetKerning(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetLanguageID(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetLanguageID(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetLanguageID(ITextFont* This,LONG Value) { + return This->lpVtbl->SetLanguageID(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetName(ITextFont* This,BSTR *pValue) { + return This->lpVtbl->GetName(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetName(ITextFont* This,BSTR Value) { + return This->lpVtbl->SetName(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetOutline(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetOutline(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetOutline(ITextFont* This,LONG Value) { + return This->lpVtbl->SetOutline(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetPosition(ITextFont* This,float *pValue) { + return This->lpVtbl->GetPosition(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetPosition(ITextFont* This,float Value) { + return This->lpVtbl->SetPosition(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetProtected(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetProtected(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetProtected(ITextFont* This,LONG Value) { + return This->lpVtbl->SetProtected(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetShadow(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetShadow(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetShadow(ITextFont* This,LONG Value) { + return This->lpVtbl->SetShadow(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetSize(ITextFont* This,float *pValue) { + return This->lpVtbl->GetSize(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetSize(ITextFont* This,float Value) { + return This->lpVtbl->SetSize(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetSmallCaps(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetSmallCaps(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetSmallCaps(ITextFont* This,LONG Value) { + return This->lpVtbl->SetSmallCaps(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetSpacing(ITextFont* This,float *pValue) { + return This->lpVtbl->GetSpacing(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetSpacing(ITextFont* This,float Value) { + return This->lpVtbl->SetSpacing(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetStrikeThrough(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetStrikeThrough(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetStrikeThrough(ITextFont* This,LONG Value) { + return This->lpVtbl->SetStrikeThrough(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetSubscript(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetSubscript(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetSubscript(ITextFont* This,LONG Value) { + return This->lpVtbl->SetSubscript(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetSuperscript(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetSuperscript(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetSuperscript(ITextFont* This,LONG Value) { + return This->lpVtbl->SetSuperscript(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetUnderline(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetUnderline(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetUnderline(ITextFont* This,LONG Value) { + return This->lpVtbl->SetUnderline(This,Value); +} +static FORCEINLINE HRESULT ITextFont_GetWeight(ITextFont* This,LONG *pValue) { + return This->lpVtbl->GetWeight(This,pValue); +} +static FORCEINLINE HRESULT ITextFont_SetWeight(ITextFont* This,LONG Value) { + return This->lpVtbl->SetWeight(This,Value); +} +#endif +#endif + +#endif + + +#endif /* __ITextFont_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITextPara interface + */ +#ifndef __ITextPara_INTERFACE_DEFINED__ +#define __ITextPara_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextPara, 0x8cc497c4, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cc497c4-a1df-11ce-8098-00aa0047be5d") +ITextPara : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE GetDuplicate( + ITextPara **ppPara) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDuplicate( + ITextPara *pPara) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanChange( + LONG *pB) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + ITextPara *pPara, + LONG *pB) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStyle( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStyle( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlignment( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAlignment( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHyphenation( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHyphenation( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFirstLineIndent( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKeepTogether( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetKeepTogether( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKeepWithNext( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetKeepWithNext( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLeftIndent( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineSpacing( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineSpacingRule( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetListAlignment( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetListAlignment( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetListLevelIndex( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetListLevelIndex( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetListStart( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetListStart( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetListTab( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetListTab( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetListType( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetListType( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNoLineNumber( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNoLineNumber( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPageBreakBefore( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPageBreakBefore( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRightIndent( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRightIndent( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIndents( + float StartIndent, + float LeftIndent, + float RightIndent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLineSpacing( + LONG LineSpacingRule, + float LineSpacing) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSpaceAfter( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSpaceAfter( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSpaceBefore( + float *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSpaceBefore( + float Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWidowControl( + LONG *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWidowControl( + LONG Value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTabCount( + LONG *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTab( + float tbPos, + LONG tbAlign, + LONG tbLeader) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearAllTabs( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteTab( + float tbPos) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTab( + LONG iTab, + float *ptbPos, + LONG *ptbAlign, + LONG *ptbLeader) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextPara, 0x8cc497c4, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d) +#endif +#else +typedef struct ITextParaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextPara *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextPara *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextPara *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITextPara *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITextPara *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITextPara *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITextPara *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITextPara methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDuplicate)( + ITextPara *This, + ITextPara **ppPara); + + HRESULT (STDMETHODCALLTYPE *SetDuplicate)( + ITextPara *This, + ITextPara *pPara); + + HRESULT (STDMETHODCALLTYPE *CanChange)( + ITextPara *This, + LONG *pB); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + ITextPara *This, + ITextPara *pPara, + LONG *pB); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetStyle)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetStyle)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetAlignment)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetAlignment)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetHyphenation)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetHyphenation)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetFirstLineIndent)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *GetKeepTogether)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetKeepTogether)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetKeepWithNext)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetKeepWithNext)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetLeftIndent)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacing)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *GetLineSpacingRule)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *GetListAlignment)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetListAlignment)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetListLevelIndex)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetListLevelIndex)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetListStart)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetListStart)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetListTab)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetListTab)( + ITextPara *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetListType)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetListType)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetNoLineNumber)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetNoLineNumber)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetPageBreakBefore)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetPageBreakBefore)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetRightIndent)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetRightIndent)( + ITextPara *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *SetIndents)( + ITextPara *This, + float StartIndent, + float LeftIndent, + float RightIndent); + + HRESULT (STDMETHODCALLTYPE *SetLineSpacing)( + ITextPara *This, + LONG LineSpacingRule, + float LineSpacing); + + HRESULT (STDMETHODCALLTYPE *GetSpaceAfter)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSpaceAfter)( + ITextPara *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetSpaceBefore)( + ITextPara *This, + float *pValue); + + HRESULT (STDMETHODCALLTYPE *SetSpaceBefore)( + ITextPara *This, + float Value); + + HRESULT (STDMETHODCALLTYPE *GetWidowControl)( + ITextPara *This, + LONG *pValue); + + HRESULT (STDMETHODCALLTYPE *SetWidowControl)( + ITextPara *This, + LONG Value); + + HRESULT (STDMETHODCALLTYPE *GetTabCount)( + ITextPara *This, + LONG *pCount); + + HRESULT (STDMETHODCALLTYPE *AddTab)( + ITextPara *This, + float tbPos, + LONG tbAlign, + LONG tbLeader); + + HRESULT (STDMETHODCALLTYPE *ClearAllTabs)( + ITextPara *This); + + HRESULT (STDMETHODCALLTYPE *DeleteTab)( + ITextPara *This, + float tbPos); + + HRESULT (STDMETHODCALLTYPE *GetTab)( + ITextPara *This, + LONG iTab, + float *ptbPos, + LONG *ptbAlign, + LONG *ptbLeader); + + END_INTERFACE +} ITextParaVtbl; + +interface ITextPara { + CONST_VTBL ITextParaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextPara_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextPara_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextPara_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITextPara_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITextPara_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITextPara_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITextPara_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITextPara methods ***/ +#define ITextPara_GetDuplicate(This,ppPara) (This)->lpVtbl->GetDuplicate(This,ppPara) +#define ITextPara_SetDuplicate(This,pPara) (This)->lpVtbl->SetDuplicate(This,pPara) +#define ITextPara_CanChange(This,pB) (This)->lpVtbl->CanChange(This,pB) +#define ITextPara_IsEqual(This,pPara,pB) (This)->lpVtbl->IsEqual(This,pPara,pB) +#define ITextPara_Reset(This,Value) (This)->lpVtbl->Reset(This,Value) +#define ITextPara_GetStyle(This,pValue) (This)->lpVtbl->GetStyle(This,pValue) +#define ITextPara_SetStyle(This,Value) (This)->lpVtbl->SetStyle(This,Value) +#define ITextPara_GetAlignment(This,pValue) (This)->lpVtbl->GetAlignment(This,pValue) +#define ITextPara_SetAlignment(This,Value) (This)->lpVtbl->SetAlignment(This,Value) +#define ITextPara_GetHyphenation(This,pValue) (This)->lpVtbl->GetHyphenation(This,pValue) +#define ITextPara_SetHyphenation(This,Value) (This)->lpVtbl->SetHyphenation(This,Value) +#define ITextPara_GetFirstLineIndent(This,pValue) (This)->lpVtbl->GetFirstLineIndent(This,pValue) +#define ITextPara_GetKeepTogether(This,pValue) (This)->lpVtbl->GetKeepTogether(This,pValue) +#define ITextPara_SetKeepTogether(This,Value) (This)->lpVtbl->SetKeepTogether(This,Value) +#define ITextPara_GetKeepWithNext(This,pValue) (This)->lpVtbl->GetKeepWithNext(This,pValue) +#define ITextPara_SetKeepWithNext(This,Value) (This)->lpVtbl->SetKeepWithNext(This,Value) +#define ITextPara_GetLeftIndent(This,pValue) (This)->lpVtbl->GetLeftIndent(This,pValue) +#define ITextPara_GetLineSpacing(This,pValue) (This)->lpVtbl->GetLineSpacing(This,pValue) +#define ITextPara_GetLineSpacingRule(This,pValue) (This)->lpVtbl->GetLineSpacingRule(This,pValue) +#define ITextPara_GetListAlignment(This,pValue) (This)->lpVtbl->GetListAlignment(This,pValue) +#define ITextPara_SetListAlignment(This,Value) (This)->lpVtbl->SetListAlignment(This,Value) +#define ITextPara_GetListLevelIndex(This,pValue) (This)->lpVtbl->GetListLevelIndex(This,pValue) +#define ITextPara_SetListLevelIndex(This,Value) (This)->lpVtbl->SetListLevelIndex(This,Value) +#define ITextPara_GetListStart(This,pValue) (This)->lpVtbl->GetListStart(This,pValue) +#define ITextPara_SetListStart(This,Value) (This)->lpVtbl->SetListStart(This,Value) +#define ITextPara_GetListTab(This,pValue) (This)->lpVtbl->GetListTab(This,pValue) +#define ITextPara_SetListTab(This,Value) (This)->lpVtbl->SetListTab(This,Value) +#define ITextPara_GetListType(This,pValue) (This)->lpVtbl->GetListType(This,pValue) +#define ITextPara_SetListType(This,Value) (This)->lpVtbl->SetListType(This,Value) +#define ITextPara_GetNoLineNumber(This,pValue) (This)->lpVtbl->GetNoLineNumber(This,pValue) +#define ITextPara_SetNoLineNumber(This,Value) (This)->lpVtbl->SetNoLineNumber(This,Value) +#define ITextPara_GetPageBreakBefore(This,pValue) (This)->lpVtbl->GetPageBreakBefore(This,pValue) +#define ITextPara_SetPageBreakBefore(This,Value) (This)->lpVtbl->SetPageBreakBefore(This,Value) +#define ITextPara_GetRightIndent(This,pValue) (This)->lpVtbl->GetRightIndent(This,pValue) +#define ITextPara_SetRightIndent(This,Value) (This)->lpVtbl->SetRightIndent(This,Value) +#define ITextPara_SetIndents(This,StartIndent,LeftIndent,RightIndent) (This)->lpVtbl->SetIndents(This,StartIndent,LeftIndent,RightIndent) +#define ITextPara_SetLineSpacing(This,LineSpacingRule,LineSpacing) (This)->lpVtbl->SetLineSpacing(This,LineSpacingRule,LineSpacing) +#define ITextPara_GetSpaceAfter(This,pValue) (This)->lpVtbl->GetSpaceAfter(This,pValue) +#define ITextPara_SetSpaceAfter(This,Value) (This)->lpVtbl->SetSpaceAfter(This,Value) +#define ITextPara_GetSpaceBefore(This,pValue) (This)->lpVtbl->GetSpaceBefore(This,pValue) +#define ITextPara_SetSpaceBefore(This,Value) (This)->lpVtbl->SetSpaceBefore(This,Value) +#define ITextPara_GetWidowControl(This,pValue) (This)->lpVtbl->GetWidowControl(This,pValue) +#define ITextPara_SetWidowControl(This,Value) (This)->lpVtbl->SetWidowControl(This,Value) +#define ITextPara_GetTabCount(This,pCount) (This)->lpVtbl->GetTabCount(This,pCount) +#define ITextPara_AddTab(This,tbPos,tbAlign,tbLeader) (This)->lpVtbl->AddTab(This,tbPos,tbAlign,tbLeader) +#define ITextPara_ClearAllTabs(This) (This)->lpVtbl->ClearAllTabs(This) +#define ITextPara_DeleteTab(This,tbPos) (This)->lpVtbl->DeleteTab(This,tbPos) +#define ITextPara_GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader) (This)->lpVtbl->GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextPara_QueryInterface(ITextPara* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextPara_AddRef(ITextPara* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextPara_Release(ITextPara* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITextPara_GetTypeInfoCount(ITextPara* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITextPara_GetTypeInfo(ITextPara* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITextPara_GetIDsOfNames(ITextPara* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITextPara_Invoke(ITextPara* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITextPara methods ***/ +static FORCEINLINE HRESULT ITextPara_GetDuplicate(ITextPara* This,ITextPara **ppPara) { + return This->lpVtbl->GetDuplicate(This,ppPara); +} +static FORCEINLINE HRESULT ITextPara_SetDuplicate(ITextPara* This,ITextPara *pPara) { + return This->lpVtbl->SetDuplicate(This,pPara); +} +static FORCEINLINE HRESULT ITextPara_CanChange(ITextPara* This,LONG *pB) { + return This->lpVtbl->CanChange(This,pB); +} +static FORCEINLINE HRESULT ITextPara_IsEqual(ITextPara* This,ITextPara *pPara,LONG *pB) { + return This->lpVtbl->IsEqual(This,pPara,pB); +} +static FORCEINLINE HRESULT ITextPara_Reset(ITextPara* This,LONG Value) { + return This->lpVtbl->Reset(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetStyle(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetStyle(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetStyle(ITextPara* This,LONG Value) { + return This->lpVtbl->SetStyle(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetAlignment(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetAlignment(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetAlignment(ITextPara* This,LONG Value) { + return This->lpVtbl->SetAlignment(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetHyphenation(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetHyphenation(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetHyphenation(ITextPara* This,LONG Value) { + return This->lpVtbl->SetHyphenation(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetFirstLineIndent(ITextPara* This,float *pValue) { + return This->lpVtbl->GetFirstLineIndent(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_GetKeepTogether(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetKeepTogether(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetKeepTogether(ITextPara* This,LONG Value) { + return This->lpVtbl->SetKeepTogether(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetKeepWithNext(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetKeepWithNext(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetKeepWithNext(ITextPara* This,LONG Value) { + return This->lpVtbl->SetKeepWithNext(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetLeftIndent(ITextPara* This,float *pValue) { + return This->lpVtbl->GetLeftIndent(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_GetLineSpacing(ITextPara* This,float *pValue) { + return This->lpVtbl->GetLineSpacing(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_GetLineSpacingRule(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetLineSpacingRule(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_GetListAlignment(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetListAlignment(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetListAlignment(ITextPara* This,LONG Value) { + return This->lpVtbl->SetListAlignment(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetListLevelIndex(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetListLevelIndex(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetListLevelIndex(ITextPara* This,LONG Value) { + return This->lpVtbl->SetListLevelIndex(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetListStart(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetListStart(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetListStart(ITextPara* This,LONG Value) { + return This->lpVtbl->SetListStart(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetListTab(ITextPara* This,float *pValue) { + return This->lpVtbl->GetListTab(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetListTab(ITextPara* This,float Value) { + return This->lpVtbl->SetListTab(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetListType(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetListType(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetListType(ITextPara* This,LONG Value) { + return This->lpVtbl->SetListType(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetNoLineNumber(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetNoLineNumber(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetNoLineNumber(ITextPara* This,LONG Value) { + return This->lpVtbl->SetNoLineNumber(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetPageBreakBefore(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetPageBreakBefore(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetPageBreakBefore(ITextPara* This,LONG Value) { + return This->lpVtbl->SetPageBreakBefore(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetRightIndent(ITextPara* This,float *pValue) { + return This->lpVtbl->GetRightIndent(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetRightIndent(ITextPara* This,float Value) { + return This->lpVtbl->SetRightIndent(This,Value); +} +static FORCEINLINE HRESULT ITextPara_SetIndents(ITextPara* This,float StartIndent,float LeftIndent,float RightIndent) { + return This->lpVtbl->SetIndents(This,StartIndent,LeftIndent,RightIndent); +} +static FORCEINLINE HRESULT ITextPara_SetLineSpacing(ITextPara* This,LONG LineSpacingRule,float LineSpacing) { + return This->lpVtbl->SetLineSpacing(This,LineSpacingRule,LineSpacing); +} +static FORCEINLINE HRESULT ITextPara_GetSpaceAfter(ITextPara* This,float *pValue) { + return This->lpVtbl->GetSpaceAfter(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetSpaceAfter(ITextPara* This,float Value) { + return This->lpVtbl->SetSpaceAfter(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetSpaceBefore(ITextPara* This,float *pValue) { + return This->lpVtbl->GetSpaceBefore(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetSpaceBefore(ITextPara* This,float Value) { + return This->lpVtbl->SetSpaceBefore(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetWidowControl(ITextPara* This,LONG *pValue) { + return This->lpVtbl->GetWidowControl(This,pValue); +} +static FORCEINLINE HRESULT ITextPara_SetWidowControl(ITextPara* This,LONG Value) { + return This->lpVtbl->SetWidowControl(This,Value); +} +static FORCEINLINE HRESULT ITextPara_GetTabCount(ITextPara* This,LONG *pCount) { + return This->lpVtbl->GetTabCount(This,pCount); +} +static FORCEINLINE HRESULT ITextPara_AddTab(ITextPara* This,float tbPos,LONG tbAlign,LONG tbLeader) { + return This->lpVtbl->AddTab(This,tbPos,tbAlign,tbLeader); +} +static FORCEINLINE HRESULT ITextPara_ClearAllTabs(ITextPara* This) { + return This->lpVtbl->ClearAllTabs(This); +} +static FORCEINLINE HRESULT ITextPara_DeleteTab(ITextPara* This,float tbPos) { + return This->lpVtbl->DeleteTab(This,tbPos); +} +static FORCEINLINE HRESULT ITextPara_GetTab(ITextPara* This,LONG iTab,float *ptbPos,LONG *ptbAlign,LONG *ptbLeader) { + return This->lpVtbl->GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader); +} +#endif +#endif + +#endif + + +#endif /* __ITextPara_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITextStoryRanges interface + */ +#ifndef __ITextStoryRanges_INTERFACE_DEFINED__ +#define __ITextStoryRanges_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITextStoryRanges, 0x8cc497c5, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8cc497c5-a1df-11ce-8098-00aa0047be5d") +ITextStoryRanges : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE _NewEnum( + IUnknown **ppUnkEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG Index, + ITextRange **ppRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + LONG *pCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITextStoryRanges, 0x8cc497c5, 0xa1df, 0x11ce, 0x80,0x98, 0x00,0xaa,0x00,0x47,0xbe,0x5d) +#endif +#else +typedef struct ITextStoryRangesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITextStoryRanges *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITextStoryRanges *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITextStoryRanges *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ITextStoryRanges *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ITextStoryRanges *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ITextStoryRanges *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ITextStoryRanges *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ITextStoryRanges methods ***/ + HRESULT (STDMETHODCALLTYPE *_NewEnum)( + ITextStoryRanges *This, + IUnknown **ppUnkEnum); + + HRESULT (STDMETHODCALLTYPE *Item)( + ITextStoryRanges *This, + LONG Index, + ITextRange **ppRange); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + ITextStoryRanges *This, + LONG *pCount); + + END_INTERFACE +} ITextStoryRangesVtbl; + +interface ITextStoryRanges { + CONST_VTBL ITextStoryRangesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITextStoryRanges_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITextStoryRanges_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITextStoryRanges_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ITextStoryRanges_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ITextStoryRanges_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ITextStoryRanges_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ITextStoryRanges_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ITextStoryRanges methods ***/ +#define ITextStoryRanges__NewEnum(This,ppUnkEnum) (This)->lpVtbl->_NewEnum(This,ppUnkEnum) +#define ITextStoryRanges_Item(This,Index,ppRange) (This)->lpVtbl->Item(This,Index,ppRange) +#define ITextStoryRanges_GetCount(This,pCount) (This)->lpVtbl->GetCount(This,pCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITextStoryRanges_QueryInterface(ITextStoryRanges* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITextStoryRanges_AddRef(ITextStoryRanges* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITextStoryRanges_Release(ITextStoryRanges* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ITextStoryRanges_GetTypeInfoCount(ITextStoryRanges* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ITextStoryRanges_GetTypeInfo(ITextStoryRanges* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ITextStoryRanges_GetIDsOfNames(ITextStoryRanges* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ITextStoryRanges_Invoke(ITextStoryRanges* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ITextStoryRanges methods ***/ +static FORCEINLINE HRESULT ITextStoryRanges__NewEnum(ITextStoryRanges* This,IUnknown **ppUnkEnum) { + return This->lpVtbl->_NewEnum(This,ppUnkEnum); +} +static FORCEINLINE HRESULT ITextStoryRanges_Item(ITextStoryRanges* This,LONG Index,ITextRange **ppRange) { + return This->lpVtbl->Item(This,Index,ppRange); +} +static FORCEINLINE HRESULT ITextStoryRanges_GetCount(ITextStoryRanges* This,LONG *pCount) { + return This->lpVtbl->GetCount(This,pCount); +} +#endif +#endif + +#endif + + +#endif /* __ITextStoryRanges_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __tom_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tom.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tom.idl new file mode 100644 index 0000000..357b045 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/tom.idl @@ -0,0 +1,448 @@ +/* + * Copyright 2006 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef FindText") +cpp_quote("#endif") + +typedef enum tagTomConstants +{ + tomFalse = 0, + tomTrue = -1, + tomUndefined = -9999999, + tomToggle = -9999998, + tomAutoColor = -9999997, + tomDefault = -9999996, + tomSuspend = -9999995, + tomResume = -9999994, + + /* ITextFont::Reset() modes */ + tomApplyNow = 0, + tomApplyLater = 1, + tomTrackParms = 2, + tomCacheParms = 3, + tomApplyTmp = 4, + tomDisableSmartFont = 8, + tomEnableSmartFont = 9, + tomUsePoints = 10, + tomUseTwips = 11, + + tomBackward = 0xc0000001, + tomForward = 0x3fffffff, + tomMove = 0, + tomExtend = 1, + tomNoSelection = 0, + tomSelectionIP = 1, + tomSelectionNormal = 2, + tomSelectionFrame = 3, + tomSelectionColumn = 4, + tomSelectionRow = 5, + tomSelectionBlock = 6, + tomSelectionInlineShape = 7, + tomSelectionShape = 8, + tomSelStartActive = 1, + tomSelAtEOL = 2, + tomSelOvertype = 4, + tomSelActive = 8, + tomSelReplace = 16, + tomEnd = 0, + tomStart = 32, + tomCollapseEnd = 0, + tomCollapseStart = 1, + tomClientCoord = 256, + tomNone = 0, + tomSingle = 1, + tomWords = 2, + tomDouble = 3, + tomDotted = 4, + tomDash = 5, + tomDashDot = 6, + tomDashDotDot = 7, + tomWave = 8, + tomThick = 9, + tomHair = 10, + tomLineSpaceSingle = 0, + tomLineSpace1pt5 = 1, + tomLineSpaceDouble = 2, + tomLineSpaceAtLeast = 3, + tomLineSpaceExactly = 4, + tomLineSpaceMultiple = 5, + tomAlignLeft = 0, + tomAlignCenter = 1, + tomAlignRight = 2, + tomAlignJustify = 3, + tomAlignDecimal = 3, + tomAlignBar = 4, + tomAlignInterWord = 3, + tomAlignInterLetter = 4, + tomAlignScaled = 5, + tomAlignGlyphs = 6, + tomAlignSnapGrid = 7, + tomSpaces = 0, + tomDots = 1, + tomDashes = 2, + tomLines = 3, + tomThickLines = 4, + tomEquals = 5, + tomTabBack = -3, + tomTabNext = -2, + tomTabHere = -1, + tomListBullet = 1, + tomListNumberAsArabic = 2, + tomListNumberAsLCLetter = 3, + tomListNumberAsUCLetter = 4, + tomListNumberAsLCRoman = 5, + tomListNumberAsUCRoman = 6, + tomListNumberAsSequence = 7, + tomListParentheses = 0x10000, + tomListPeriod = 0x20000, + tomListPlain = 0x30000, + tomCharacter = 1, + tomWord = 2, + tomSentence = 3, + tomParagraph = 4, + tomLine = 5, + tomStory = 6, + tomScreen = 7, + tomSection = 8, + tomColumn = 9, + tomRow = 10, + tomWindow = 11, + tomCell = 12, + tomCharFormat = 13, + tomParaFormat = 14, + tomTable = 15, + tomObject = 16, + tomMatchWord = 2, + tomMatchCase = 4, + tomMatchPattern = 8, + + /* ITextRange story type values */ + tomUnknownStory = 0, + tomMainTextStory = 1, + tomFootnotesStory = 2, + tomEndnotesStory = 3, + tomCommentsStory = 4, + tomTextFrameStory = 5, + tomEvenPagesHeaderStory = 6, + tomPrimaryHeaderStory = 7, + tomEvenPagesFooterStory = 8, + tomPrimaryFooterStory = 9, + tomFirstPageHeaderStory = 10, + tomFirstPageFooterStory = 11, + + /* ITextFont animation property */ + tomNoAnimation = 0, + tomLasVegasLights = 1, + tomBlinkingBackground = 2, + tomSparkleText = 3, + tomMarchingBlackAnts = 4, + tomMarchingRedAnts = 5, + tomShimmer = 6, + tomWipeDown = 7, + tomWipeRight = 8, + tomAnimationMax = 8, + + tomLowerCase = 0, + tomUpperCase = 1, + tomTitleCase = 2, + tomSentenceCase = 4, + tomToggleCase = 5, + tomReadOnly = 0x100, + tomShareDenyRead = 0x200, + tomShareDenyWrite = 0x400, + tomPasteFile = 0x1000, + tomCreateNew = 0x10, + tomCreateAlways = 0x20, + tomOpenExisting = 0x30, + tomOpenAlways = 0x40, + tomTruncateExisting = 0x50, + tomRTF = 0x1, + tomText = 0x2, + tomHTML = 0x3, + tomWordDocument = 0x4, + tomBold = 0x80000001, + tomItalic = 0x80000002, + tomUnderline = 0x80000004, + tomStrikeout = 0x80000008, + tomProtected = 0x80000010, + tomLink = 0x80000020, + tomSmallCaps = 0x80000040, + tomAllCaps = 0x80000080, + tomHidden = 0x80000100, + tomOutline = 0x80000200, + tomShadow = 0x80000400, + tomEmboss = 0x80000800, + tomImprint = 0x80001000, + tomDisabled = 0x80002000, + tomRevised = 0x80004000, + tomNormalCaret = 0, + tomKoreanBlockCaret = 0x1, + tomIncludeInset = 0x1, + tomIgnoreCurrentFont = 0, + tomMatchFontCharset = 0x1, + tomMatchFontSignature = 0x2, + tomCharset = 0x80000000, + tomRE10Mode = 0x1, + tomNoIME = 0x80000, + tomSelfIME = 0x40000 +} tomConstants; + +interface ITextRange; +interface ITextSelection; +interface ITextStoryRanges; + +[ + object, + uuid(8cc497c0-a1df-11ce-8098-00aa0047be5d) +] +interface ITextDocument : IDispatch +{ + HRESULT GetName([retval, out]BSTR *pName); + HRESULT GetSelection([retval, out]ITextSelection **ppSel); + HRESULT GetStoryCount([retval, out]LONG *pCount); + HRESULT GetStoryRanges([retval, out]ITextStoryRanges **ppStories); + HRESULT GetSaved([retval, out]LONG *pValue); + HRESULT SetSaved([in]LONG Value); + HRESULT GetDefaultTabStop([retval, out]float *pValue); + HRESULT SetDefaultTabStop([in]float Value); + HRESULT New(); + HRESULT Open([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage); + HRESULT Save([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage); + HRESULT Freeze([retval, out]LONG *pCount); + HRESULT Unfreeze([retval, out]LONG *pCount); + HRESULT BeginEditCollection(); + HRESULT EndEditCollection(); + HRESULT Undo([in]LONG Count, [retval, out]LONG *prop); + HRESULT Redo([in]LONG Count, [retval, out]LONG *prop); + HRESULT Range([in]LONG cp1, [in]LONG cp2, [retval, out]ITextRange **ppRange); + HRESULT RangeFromPoint([in]LONG x, [in]LONG y, [retval, out]ITextRange **ppRange); +} + +interface ITextFont; +interface ITextPara; + +[ + object, + uuid(8cc497c2-a1df-11ce-8098-00aa0047be5d) +] +interface ITextRange : IDispatch +{ + HRESULT GetText([retval, out]BSTR *pbstr); + HRESULT SetText([in]BSTR bstr); + HRESULT GetChar([retval, out]LONG *pch); + HRESULT SetChar([in]LONG ch); + HRESULT GetDuplicate([retval, out]ITextRange **ppRange); + HRESULT GetFormattedText([retval, out]ITextRange **ppRange); + HRESULT SetFormattedText([in]ITextRange *pRange); + HRESULT GetStart([retval, out]LONG *pcpFirst); + HRESULT SetStart([in]LONG cpFirst); + HRESULT GetEnd([retval, out]LONG *pcpLim); + HRESULT SetEnd([in]LONG cpLim); + HRESULT GetFont([retval, out]ITextFont **pFont); + HRESULT SetFont([in]ITextFont *pFont); + HRESULT GetPara([retval, out]ITextPara **ppPara); + HRESULT SetPara([in]ITextPara *pPara); + HRESULT GetStoryLength([retval, out]LONG *pcch); + HRESULT GetStoryType([retval, out]LONG *pValue); + HRESULT Collapse([in]LONG bStart); + HRESULT Expand([in]LONG Unit, [retval, out]LONG *pDelta); + HRESULT GetIndex([in]LONG Unit, [retval, out]LONG *pIndex); + HRESULT SetIndex([in]LONG Unit, [in]LONG Index, [in]LONG Extend); + HRESULT SetRange([in]LONG anchor, [in]LONG active); + HRESULT InRange([in]ITextRange *pRange, [retval, out]LONG *pb); + HRESULT InStory([in]ITextRange *pRange, [retval, out]LONG *pb); + HRESULT IsEqual([in]ITextRange *pRange, [retval, out]LONG *pb); + HRESULT Select(); + HRESULT StartOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT EndOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT Move([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveStart([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveEnd([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveStartWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveEndWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveStartUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT MoveEndUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength); + HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength); + HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength); + HRESULT Delete([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); + HRESULT Cut([out]VARIANT *pVar); + HRESULT Copy([out]VARIANT *pVar); + HRESULT Paste([in]VARIANT *pVar, [in]LONG Format); + HRESULT CanPaste([in]VARIANT *pVar, [in]LONG Format, [retval, out]LONG *pb); + HRESULT CanEdit([retval, out]LONG *pb); + HRESULT ChangeCase([in]LONG Type); + HRESULT GetPoint([in]LONG Type, [out]LONG *cx, [out]LONG *cy); + HRESULT SetPoint([in]LONG x, [in]LONG y, [in]LONG Type, [in]LONG Extend); + HRESULT ScrollIntoView([in]LONG Value); + HRESULT GetEmbeddedObject([retval, out]IUnknown **ppv); +} + +[ + object, + uuid(8cc497c1-a1df-11ce-8098-00aa0047be5d) +] +interface ITextSelection : ITextRange +{ + HRESULT GetFlags([retval, out]LONG *pFlags); + HRESULT SetFlags([in]LONG Flags); + HRESULT GetType([retval, out]LONG *pType); + HRESULT MoveLeft([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT MoveRight([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT MoveUp([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT MoveDown([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT HomeKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT EndKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); + HRESULT TypeText([in]BSTR bstr); +} + +[ + object, + uuid(8cc497c3-a1df-11ce-8098-00aa0047be5d) +] +interface ITextFont : IDispatch +{ + HRESULT GetDuplicate([retval, out]ITextFont **ppFont); + HRESULT SetDuplicate([in]ITextFont *pFont); + HRESULT CanChange([out]LONG *pB); + HRESULT IsEqual([in]ITextFont *pFont, [retval, out]LONG *pB); + HRESULT Reset([in]LONG Value); + HRESULT GetStyle([retval, out]LONG *pValue); + HRESULT SetStyle([in]LONG Value); + HRESULT GetAllCaps([retval, out]LONG *pValue); + HRESULT SetAllCaps([in]LONG Value); + HRESULT GetAnimation([retval, out]LONG *pValue); + HRESULT SetAnimation([in]LONG Value); + HRESULT GetBackColor([retval, out]LONG *pValue); + HRESULT SetBackColor([in]LONG Value); + HRESULT GetBold([retval, out]LONG *pValue); + HRESULT SetBold([in]LONG Value); + HRESULT GetEmboss([retval, out]LONG *pValue); + HRESULT SetEmboss([in]LONG Value); + HRESULT GetForeColor([retval, out]LONG *pValue); + HRESULT SetForeColor([in]LONG Value); + HRESULT GetHidden([retval, out]LONG *pValue); + HRESULT SetHidden([in]LONG Value); + HRESULT GetEngrave([retval, out]LONG *pValue); + HRESULT SetEngrave([in]LONG Value); + HRESULT GetItalic([retval, out]LONG *pValue); + HRESULT SetItalic([in]LONG Value); + HRESULT GetKerning([retval, out]float *pValue); + HRESULT SetKerning([in]float Value); + HRESULT GetLanguageID([retval, out]LONG *pValue); + HRESULT SetLanguageID([in]LONG Value); + HRESULT GetName([retval, out]BSTR *pValue); + HRESULT SetName([in]BSTR Value); + HRESULT GetOutline([retval, out]LONG *pValue); + HRESULT SetOutline([in]LONG Value); + HRESULT GetPosition([retval, out]float *pValue); + HRESULT SetPosition([in]float Value); + HRESULT GetProtected([retval, out]LONG *pValue); + HRESULT SetProtected([in]LONG Value); + HRESULT GetShadow([retval, out]LONG *pValue); + HRESULT SetShadow([in]LONG Value); + HRESULT GetSize([retval, out]float *pValue); + HRESULT SetSize([in]float Value); + HRESULT GetSmallCaps([retval, out]LONG *pValue); + HRESULT SetSmallCaps([in]LONG Value); + HRESULT GetSpacing([retval, out]float *pValue); + HRESULT SetSpacing([in]float Value); + HRESULT GetStrikeThrough([retval, out]LONG *pValue); + HRESULT SetStrikeThrough([in]LONG Value); + HRESULT GetSubscript([retval, out]LONG *pValue); + HRESULT SetSubscript([in]LONG Value); + HRESULT GetSuperscript([retval, out]LONG *pValue); + HRESULT SetSuperscript([in]LONG Value); + HRESULT GetUnderline([retval, out]LONG *pValue); + HRESULT SetUnderline([in]LONG Value); + HRESULT GetWeight([retval, out]LONG *pValue); + HRESULT SetWeight([in]LONG Value); +} + +[ + object, + uuid(8cc497c4-a1df-11ce-8098-00aa0047be5d) +] +interface ITextPara : IDispatch +{ + HRESULT GetDuplicate([retval, out]ITextPara **ppPara); + HRESULT SetDuplicate([in]ITextPara *pPara); + HRESULT CanChange([out]LONG *pB); + HRESULT IsEqual([in]ITextPara *pPara, [retval, out]LONG *pB); + HRESULT Reset([in]LONG Value); + HRESULT GetStyle([retval, out]LONG *pValue); + HRESULT SetStyle([in]LONG Value); + HRESULT GetAlignment([retval, out]LONG *pValue); + HRESULT SetAlignment([in]LONG Value); + HRESULT GetHyphenation([retval, out]LONG *pValue); + HRESULT SetHyphenation([in]LONG Value); + HRESULT GetFirstLineIndent([retval, out]float *pValue); + HRESULT GetKeepTogether([retval, out]LONG *pValue); + HRESULT SetKeepTogether([in]LONG Value); + HRESULT GetKeepWithNext([retval, out]LONG *pValue); + HRESULT SetKeepWithNext([in]LONG Value); + HRESULT GetLeftIndent([retval, out]float *pValue); + HRESULT GetLineSpacing([retval, out]float *pValue); + HRESULT GetLineSpacingRule([retval, out]LONG *pValue); + HRESULT GetListAlignment([retval, out]LONG *pValue); + HRESULT SetListAlignment([in]LONG Value); + HRESULT GetListLevelIndex([retval, out]LONG *pValue); + HRESULT SetListLevelIndex([in]LONG Value); + HRESULT GetListStart([retval, out]LONG *pValue); + HRESULT SetListStart([in]LONG Value); + HRESULT GetListTab([retval, out]float *pValue); + HRESULT SetListTab([in]float Value); + HRESULT GetListType([retval, out]LONG *pValue); + HRESULT SetListType([in]LONG Value); + HRESULT GetNoLineNumber([retval, out]LONG *pValue); + HRESULT SetNoLineNumber([in]LONG Value); + HRESULT GetPageBreakBefore([retval, out]LONG *pValue); + HRESULT SetPageBreakBefore([in]LONG Value); + HRESULT GetRightIndent([retval, out]float *pValue); + HRESULT SetRightIndent([in]float Value); + HRESULT SetIndents([in]float StartIndent, [in]float LeftIndent, [in]float RightIndent); + HRESULT SetLineSpacing([in]LONG LineSpacingRule, [in]float LineSpacing); + HRESULT GetSpaceAfter([retval, out]float *pValue); + HRESULT SetSpaceAfter([in]float Value); + HRESULT GetSpaceBefore([retval, out]float *pValue); + HRESULT SetSpaceBefore([in]float Value); + HRESULT GetWidowControl([retval, out]LONG *pValue); + HRESULT SetWidowControl([in]LONG Value); + HRESULT GetTabCount([retval, out]LONG *pCount); + HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader); + HRESULT ClearAllTabs(); + HRESULT DeleteTab([in]float tbPos); + HRESULT GetTab([in]LONG iTab, [out]float *ptbPos, [out]LONG *ptbAlign, [out]LONG *ptbLeader); +} + +[ + object, + uuid(8cc497c5-a1df-11ce-8098-00aa0047be5d) +] +interface ITextStoryRanges : IDispatch +{ + HRESULT _NewEnum([retval, out]IUnknown **ppUnkEnum); + HRESULT Item([in]LONG Index, [retval, out]ITextRange **ppRange); + HRESULT GetCount([retval, out]LONG *pCount); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/traffic.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/traffic.h new file mode 100644 index 0000000..5ffc1ec --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/traffic.h @@ -0,0 +1,48 @@ +/* + * TRAFFIC definitions + * + * Copyright (c) 2009 Stefan Leichter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_TRAFFIC_H +#define __WINE_TRAFFIC_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef VOID (CALLBACK * TCI_ADD_FLOW_COMPLETE_HANDLER)(HANDLE, ULONG); +typedef VOID (CALLBACK * TCI_DEL_FLOW_COMPLETE_HANDLER)(HANDLE, ULONG); +typedef VOID (CALLBACK * TCI_MOD_FLOW_COMPLETE_HANDLER)(HANDLE, ULONG); +typedef VOID (CALLBACK * TCI_NOTIFY_HANDLER) + (HANDLE,HANDLE,ULONG,HANDLE,ULONG,PVOID); + +typedef struct _TCI_CLIENT_FUNC_LIST +{ + TCI_NOTIFY_HANDLER ClNotifyHandler; + TCI_ADD_FLOW_COMPLETE_HANDLER ClAddFlowCompleteHandler; + TCI_MOD_FLOW_COMPLETE_HANDLER ClModifyFlowCompleteHandler; + TCI_DEL_FLOW_COMPLETE_HANDLER ClDeleteFlowCompleteHandler; +} TCI_CLIENT_FUNC_LIST, *PTCI_CLIENT_FUNC_LIST; + +ULONG WINAPI TcRegisterClient(ULONG,HANDLE,PTCI_CLIENT_FUNC_LIST,PHANDLE); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_TRAFFIC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/transact.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/transact.h new file mode 100644 index 0000000..4cc7410 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/transact.h @@ -0,0 +1,985 @@ +/*** Autogenerated by WIDL 2.18 from transact.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __transact_h__ +#define __transact_h__ + +/* Forward declarations */ + +#ifndef __ITransaction_FWD_DEFINED__ +#define __ITransaction_FWD_DEFINED__ +typedef interface ITransaction ITransaction; +#ifdef __cplusplus +interface ITransaction; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionCloner_FWD_DEFINED__ +#define __ITransactionCloner_FWD_DEFINED__ +typedef interface ITransactionCloner ITransactionCloner; +#ifdef __cplusplus +interface ITransactionCloner; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransaction2_FWD_DEFINED__ +#define __ITransaction2_FWD_DEFINED__ +typedef interface ITransaction2 ITransaction2; +#ifdef __cplusplus +interface ITransaction2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionDispenser_FWD_DEFINED__ +#define __ITransactionDispenser_FWD_DEFINED__ +typedef interface ITransactionDispenser ITransactionDispenser; +#ifdef __cplusplus +interface ITransactionDispenser; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionOptions_FWD_DEFINED__ +#define __ITransactionOptions_FWD_DEFINED__ +typedef interface ITransactionOptions ITransactionOptions; +#ifdef __cplusplus +interface ITransactionOptions; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionOutcomeEvents_FWD_DEFINED__ +#define __ITransactionOutcomeEvents_FWD_DEFINED__ +typedef interface ITransactionOutcomeEvents ITransactionOutcomeEvents; +#ifdef __cplusplus +interface ITransactionOutcomeEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __ITmNodeName_FWD_DEFINED__ +#define __ITmNodeName_FWD_DEFINED__ +typedef interface ITmNodeName ITmNodeName; +#ifdef __cplusplus +interface ITmNodeName; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#ifndef __ITransaction_FWD_DEFINED__ +#define __ITransaction_FWD_DEFINED__ +typedef interface ITransaction ITransaction; +#ifdef __cplusplus +interface ITransaction; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionCloner_FWD_DEFINED__ +#define __ITransactionCloner_FWD_DEFINED__ +typedef interface ITransactionCloner ITransactionCloner; +#ifdef __cplusplus +interface ITransactionCloner; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransaction2_FWD_DEFINED__ +#define __ITransaction2_FWD_DEFINED__ +typedef interface ITransaction2 ITransaction2; +#ifdef __cplusplus +interface ITransaction2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionDispenser_FWD_DEFINED__ +#define __ITransactionDispenser_FWD_DEFINED__ +typedef interface ITransactionDispenser ITransactionDispenser; +#ifdef __cplusplus +interface ITransactionDispenser; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionOptions_FWD_DEFINED__ +#define __ITransactionOptions_FWD_DEFINED__ +typedef interface ITransactionOptions ITransactionOptions; +#ifdef __cplusplus +interface ITransactionOptions; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionOutcomeEvents_FWD_DEFINED__ +#define __ITransactionOutcomeEvents_FWD_DEFINED__ +typedef interface ITransactionOutcomeEvents ITransactionOutcomeEvents; +#ifdef __cplusplus +interface ITransactionOutcomeEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __ITmNodeName_FWD_DEFINED__ +#define __ITmNodeName_FWD_DEFINED__ +typedef interface ITmNodeName ITmNodeName; +#ifdef __cplusplus +interface ITmNodeName; +#endif /* __cplusplus */ +#endif + +typedef struct BOID { + byte rgb[16]; +} BOID; +#ifndef MAX_TRAN_DESC_DEFINED +#define MAX_TRAN_DESC_DEFINED +typedef enum TX_MISC_CONSTANTS { + MAX_TRAN_DESC = 40 +} TX_MISC_CONSTANTS; +#endif +typedef BOID XACTUOW; +typedef LONG ISOLEVEL; +typedef enum ISOLATIONLEVEL { + ISOLATIONLEVEL_UNSPECIFIED = 0xffffffff, + ISOLATIONLEVEL_CHAOS = 0x10, + ISOLATIONLEVEL_READUNCOMMITTED = 0x100, + ISOLATIONLEVEL_BROWSE = 0x100, + ISOLATIONLEVEL_CURSORSTABILITY = 0x1000, + ISOLATIONLEVEL_READCOMMITTED = 0x1000, + ISOLATIONLEVEL_REPEATABLEREAD = 0x10000, + ISOLATIONLEVEL_SERIALIZABLE = 0x100000, + ISOLATIONLEVEL_ISOLATED = 0x100000 +} ISOLATIONLEVEL; +typedef struct XACTTRANSINFO { + XACTUOW uow; + ISOLEVEL isoLevel; + ULONG isoFlags; + DWORD grfTCSupported; + DWORD grfRMSupported; + DWORD grfTCSupportedRetaining; + DWORD grfRMSupportedRetaining; +} XACTTRANSINFO; +typedef struct XACTSTATS { + ULONG cOpen; + ULONG cCommitting; + ULONG cCommitted; + ULONG cAborting; + ULONG cAborted; + ULONG cInDoubt; + ULONG cHeuristicDecision; + FILETIME timeTransactionsUp; +} XACTSTATS; +typedef enum ISOFLAG { + ISOFLAG_RETAIN_COMMIT_DC = 1, + ISOFLAG_RETAIN_COMMIT = 2, + ISOFLAG_RETAIN_COMMIT_NO = 3, + ISOFLAG_RETAIN_ABORT_DC = 4, + ISOFLAG_RETAIN_ABORT = 8, + ISOFLAG_RETAIN_ABORT_NO = 12, + ISOFLAG_RETAIN_DONTCARE = ISOFLAG_RETAIN_COMMIT_DC | ISOFLAG_RETAIN_ABORT_DC, + ISOFLAG_RETAIN_BOTH = ISOFLAG_RETAIN_COMMIT | ISOFLAG_RETAIN_ABORT, + ISOFLAG_RETAIN_NONE = ISOFLAG_RETAIN_COMMIT_NO | ISOFLAG_RETAIN_ABORT_NO, + ISOFLAG_OPTIMISTIC = 16, + ISOFLAG_READONLY = 32 +} ISOFLAG; +typedef enum XACTTC { + XACTTC_NONE = 0, + XACTTC_SYNC_PHASEONE = 1, + XACTTC_SYNC_PHASETWO = 2, + XACTTC_SYNC = 2, + XACTTC_ASYNC_PHASEONE = 4, + XACTTC_ASYNC = 4 +} XACTTC; +typedef enum XACTRM { + XACTRM_OPTIMISTICLASTWINS = 1, + XACTRM_NOREADONLYPREPARES = 2 +} XACTRM; +typedef enum XACTCONST { + XACTCONST_TIMEOUTINFINITE = 0 +} XACTCONST; +typedef enum XACTHEURISTIC { + XACTHEURISTIC_ABORT = 1, + XACTHEURISTIC_COMMIT = 2, + XACTHEURISTIC_DAMAGE = 3, + XACTHEURISTIC_DANGER = 4 +} XACTHEURISTIC; +typedef enum XACTSTAT { + XACTSTAT_NONE = 0, + XACTSTAT_OPENNORMAL = 0x1, + XACTSTAT_OPENREFUSED = 0x2, + XACTSTAT_PREPARING = 0x4, + XACTSTAT_PREPARED = 0x8, + XACTSTAT_PREPARERETAINING = 0x10, + XACTSTAT_PREPARERETAINED = 0x20, + XACTSTAT_COMMITTING = 0x40, + XACTSTAT_COMMITRETAINING = 0x80, + XACTSTAT_ABORTING = 0x100, + XACTSTAT_ABORTED = 0x200, + XACTSTAT_COMMITTED = 0x400, + XACTSTAT_HEURISTIC_ABORT = 0x800, + XACTSTAT_HEURISTIC_COMMIT = 0x1000, + XACTSTAT_HEURISTIC_DAMAGE = 0x2000, + XACTSTAT_HEURISTIC_DANGER = 0x4000, + XACTSTAT_FORCED_ABORT = 0x8000, + XACTSTAT_FORCED_COMMIT = 0x10000, + XACTSTAT_INDOUBT = 0x20000, + XACTSTAT_CLOSED = 0x40000, + XACTSTAT_OPEN = 0x3, + XACTSTAT_NOTPREPARED = 0x7ffc3, + XACTSTAT_ALL = 0x7ffff +} XACTSTAT; +typedef struct XACTOPT { + ULONG ulTimeout; + char szDescription[40]; +} XACTOPT; +/***************************************************************************** + * ITransaction interface + */ +#ifndef __ITransaction_INTERFACE_DEFINED__ +#define __ITransaction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransaction, 0x0fb15084, 0xaf41, 0x11ce, 0xbd,0x2b, 0x20,0x4c,0x4f,0x4f,0x50,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0fb15084-af41-11ce-bd2b-204c4f4f5020") +ITransaction : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Commit( + BOOL fRetaining, + DWORD grfTC, + DWORD grfRM) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abort( + BOID *pboidReason, + BOOL fRetaining, + BOOL fAsync) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransactionInfo( + XACTTRANSINFO *pinfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransaction, 0x0fb15084, 0xaf41, 0x11ce, 0xbd,0x2b, 0x20,0x4c,0x4f,0x4f,0x50,0x20) +#endif +#else +typedef struct ITransactionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransaction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransaction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransaction *This); + + /*** ITransaction methods ***/ + HRESULT (STDMETHODCALLTYPE *Commit)( + ITransaction *This, + BOOL fRetaining, + DWORD grfTC, + DWORD grfRM); + + HRESULT (STDMETHODCALLTYPE *Abort)( + ITransaction *This, + BOID *pboidReason, + BOOL fRetaining, + BOOL fAsync); + + HRESULT (STDMETHODCALLTYPE *GetTransactionInfo)( + ITransaction *This, + XACTTRANSINFO *pinfo); + + END_INTERFACE +} ITransactionVtbl; + +interface ITransaction { + CONST_VTBL ITransactionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransaction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransaction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransaction_Release(This) (This)->lpVtbl->Release(This) +/*** ITransaction methods ***/ +#define ITransaction_Commit(This,fRetaining,grfTC,grfRM) (This)->lpVtbl->Commit(This,fRetaining,grfTC,grfRM) +#define ITransaction_Abort(This,pboidReason,fRetaining,fAsync) (This)->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync) +#define ITransaction_GetTransactionInfo(This,pinfo) (This)->lpVtbl->GetTransactionInfo(This,pinfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransaction_QueryInterface(ITransaction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransaction_AddRef(ITransaction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransaction_Release(ITransaction* This) { + return This->lpVtbl->Release(This); +} +/*** ITransaction methods ***/ +static FORCEINLINE HRESULT ITransaction_Commit(ITransaction* This,BOOL fRetaining,DWORD grfTC,DWORD grfRM) { + return This->lpVtbl->Commit(This,fRetaining,grfTC,grfRM); +} +static FORCEINLINE HRESULT ITransaction_Abort(ITransaction* This,BOID *pboidReason,BOOL fRetaining,BOOL fAsync) { + return This->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync); +} +static FORCEINLINE HRESULT ITransaction_GetTransactionInfo(ITransaction* This,XACTTRANSINFO *pinfo) { + return This->lpVtbl->GetTransactionInfo(This,pinfo); +} +#endif +#endif + +#endif + + +#endif /* __ITransaction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionCloner interface + */ +#ifndef __ITransactionCloner_INTERFACE_DEFINED__ +#define __ITransactionCloner_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionCloner, 0x02656950, 0x2152, 0x11d0, 0x94,0x4c, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("02656950-2152-11d0-944c-00a0c905416e") +ITransactionCloner : public ITransaction +{ + virtual HRESULT STDMETHODCALLTYPE CloneWithCommitDisabled( + ITransaction **ppITransaction) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionCloner, 0x02656950, 0x2152, 0x11d0, 0x94,0x4c, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct ITransactionClonerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionCloner *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionCloner *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionCloner *This); + + /*** ITransaction methods ***/ + HRESULT (STDMETHODCALLTYPE *Commit)( + ITransactionCloner *This, + BOOL fRetaining, + DWORD grfTC, + DWORD grfRM); + + HRESULT (STDMETHODCALLTYPE *Abort)( + ITransactionCloner *This, + BOID *pboidReason, + BOOL fRetaining, + BOOL fAsync); + + HRESULT (STDMETHODCALLTYPE *GetTransactionInfo)( + ITransactionCloner *This, + XACTTRANSINFO *pinfo); + + /*** ITransactionCloner methods ***/ + HRESULT (STDMETHODCALLTYPE *CloneWithCommitDisabled)( + ITransactionCloner *This, + ITransaction **ppITransaction); + + END_INTERFACE +} ITransactionClonerVtbl; + +interface ITransactionCloner { + CONST_VTBL ITransactionClonerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionCloner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionCloner_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionCloner_Release(This) (This)->lpVtbl->Release(This) +/*** ITransaction methods ***/ +#define ITransactionCloner_Commit(This,fRetaining,grfTC,grfRM) (This)->lpVtbl->Commit(This,fRetaining,grfTC,grfRM) +#define ITransactionCloner_Abort(This,pboidReason,fRetaining,fAsync) (This)->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync) +#define ITransactionCloner_GetTransactionInfo(This,pinfo) (This)->lpVtbl->GetTransactionInfo(This,pinfo) +/*** ITransactionCloner methods ***/ +#define ITransactionCloner_CloneWithCommitDisabled(This,ppITransaction) (This)->lpVtbl->CloneWithCommitDisabled(This,ppITransaction) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionCloner_QueryInterface(ITransactionCloner* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionCloner_AddRef(ITransactionCloner* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionCloner_Release(ITransactionCloner* This) { + return This->lpVtbl->Release(This); +} +/*** ITransaction methods ***/ +static FORCEINLINE HRESULT ITransactionCloner_Commit(ITransactionCloner* This,BOOL fRetaining,DWORD grfTC,DWORD grfRM) { + return This->lpVtbl->Commit(This,fRetaining,grfTC,grfRM); +} +static FORCEINLINE HRESULT ITransactionCloner_Abort(ITransactionCloner* This,BOID *pboidReason,BOOL fRetaining,BOOL fAsync) { + return This->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync); +} +static FORCEINLINE HRESULT ITransactionCloner_GetTransactionInfo(ITransactionCloner* This,XACTTRANSINFO *pinfo) { + return This->lpVtbl->GetTransactionInfo(This,pinfo); +} +/*** ITransactionCloner methods ***/ +static FORCEINLINE HRESULT ITransactionCloner_CloneWithCommitDisabled(ITransactionCloner* This,ITransaction **ppITransaction) { + return This->lpVtbl->CloneWithCommitDisabled(This,ppITransaction); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionCloner_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransaction2 interface + */ +#ifndef __ITransaction2_INTERFACE_DEFINED__ +#define __ITransaction2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransaction2, 0x34021548, 0x0065, 0x11d3, 0xba,0xc1, 0x00,0xc0,0x4f,0x79,0x7b,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("34021548-0065-11d3-bac1-00c04f797be2") +ITransaction2 : public ITransactionCloner +{ + virtual HRESULT STDMETHODCALLTYPE GetTransactionInfo2( + XACTTRANSINFO *pinfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransaction2, 0x34021548, 0x0065, 0x11d3, 0xba,0xc1, 0x00,0xc0,0x4f,0x79,0x7b,0xe2) +#endif +#else +typedef struct ITransaction2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransaction2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransaction2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransaction2 *This); + + /*** ITransaction methods ***/ + HRESULT (STDMETHODCALLTYPE *Commit)( + ITransaction2 *This, + BOOL fRetaining, + DWORD grfTC, + DWORD grfRM); + + HRESULT (STDMETHODCALLTYPE *Abort)( + ITransaction2 *This, + BOID *pboidReason, + BOOL fRetaining, + BOOL fAsync); + + HRESULT (STDMETHODCALLTYPE *GetTransactionInfo)( + ITransaction2 *This, + XACTTRANSINFO *pinfo); + + /*** ITransactionCloner methods ***/ + HRESULT (STDMETHODCALLTYPE *CloneWithCommitDisabled)( + ITransaction2 *This, + ITransaction **ppITransaction); + + /*** ITransaction2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTransactionInfo2)( + ITransaction2 *This, + XACTTRANSINFO *pinfo); + + END_INTERFACE +} ITransaction2Vtbl; + +interface ITransaction2 { + CONST_VTBL ITransaction2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransaction2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransaction2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransaction2_Release(This) (This)->lpVtbl->Release(This) +/*** ITransaction methods ***/ +#define ITransaction2_Commit(This,fRetaining,grfTC,grfRM) (This)->lpVtbl->Commit(This,fRetaining,grfTC,grfRM) +#define ITransaction2_Abort(This,pboidReason,fRetaining,fAsync) (This)->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync) +#define ITransaction2_GetTransactionInfo(This,pinfo) (This)->lpVtbl->GetTransactionInfo(This,pinfo) +/*** ITransactionCloner methods ***/ +#define ITransaction2_CloneWithCommitDisabled(This,ppITransaction) (This)->lpVtbl->CloneWithCommitDisabled(This,ppITransaction) +/*** ITransaction2 methods ***/ +#define ITransaction2_GetTransactionInfo2(This,pinfo) (This)->lpVtbl->GetTransactionInfo2(This,pinfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransaction2_QueryInterface(ITransaction2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransaction2_AddRef(ITransaction2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransaction2_Release(ITransaction2* This) { + return This->lpVtbl->Release(This); +} +/*** ITransaction methods ***/ +static FORCEINLINE HRESULT ITransaction2_Commit(ITransaction2* This,BOOL fRetaining,DWORD grfTC,DWORD grfRM) { + return This->lpVtbl->Commit(This,fRetaining,grfTC,grfRM); +} +static FORCEINLINE HRESULT ITransaction2_Abort(ITransaction2* This,BOID *pboidReason,BOOL fRetaining,BOOL fAsync) { + return This->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync); +} +static FORCEINLINE HRESULT ITransaction2_GetTransactionInfo(ITransaction2* This,XACTTRANSINFO *pinfo) { + return This->lpVtbl->GetTransactionInfo(This,pinfo); +} +/*** ITransactionCloner methods ***/ +static FORCEINLINE HRESULT ITransaction2_CloneWithCommitDisabled(ITransaction2* This,ITransaction **ppITransaction) { + return This->lpVtbl->CloneWithCommitDisabled(This,ppITransaction); +} +/*** ITransaction2 methods ***/ +static FORCEINLINE HRESULT ITransaction2_GetTransactionInfo2(ITransaction2* This,XACTTRANSINFO *pinfo) { + return This->lpVtbl->GetTransactionInfo2(This,pinfo); +} +#endif +#endif + +#endif + + +#endif /* __ITransaction2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionDispenser interface + */ +#ifndef __ITransactionDispenser_INTERFACE_DEFINED__ +#define __ITransactionDispenser_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionDispenser, 0x3a6ad9e1, 0x23b9, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3a6ad9e1-23b9-11cf-ad60-00aa00a74ccd") +ITransactionDispenser : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetOptionsObject( + ITransactionOptions **ppOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginTransaction( + IUnknown *punkOuter, + ISOLEVEL isoLevel, + ULONG isoFlags, + ITransactionOptions *pOptions, + ITransaction **ppTransaction) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionDispenser, 0x3a6ad9e1, 0x23b9, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd) +#endif +#else +typedef struct ITransactionDispenserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionDispenser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionDispenser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionDispenser *This); + + /*** ITransactionDispenser methods ***/ + HRESULT (STDMETHODCALLTYPE *GetOptionsObject)( + ITransactionDispenser *This, + ITransactionOptions **ppOptions); + + HRESULT (STDMETHODCALLTYPE *BeginTransaction)( + ITransactionDispenser *This, + IUnknown *punkOuter, + ISOLEVEL isoLevel, + ULONG isoFlags, + ITransactionOptions *pOptions, + ITransaction **ppTransaction); + + END_INTERFACE +} ITransactionDispenserVtbl; + +interface ITransactionDispenser { + CONST_VTBL ITransactionDispenserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionDispenser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionDispenser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionDispenser_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionDispenser methods ***/ +#define ITransactionDispenser_GetOptionsObject(This,ppOptions) (This)->lpVtbl->GetOptionsObject(This,ppOptions) +#define ITransactionDispenser_BeginTransaction(This,punkOuter,isoLevel,isoFlags,pOptions,ppTransaction) (This)->lpVtbl->BeginTransaction(This,punkOuter,isoLevel,isoFlags,pOptions,ppTransaction) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionDispenser_QueryInterface(ITransactionDispenser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionDispenser_AddRef(ITransactionDispenser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionDispenser_Release(ITransactionDispenser* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionDispenser methods ***/ +static FORCEINLINE HRESULT ITransactionDispenser_GetOptionsObject(ITransactionDispenser* This,ITransactionOptions **ppOptions) { + return This->lpVtbl->GetOptionsObject(This,ppOptions); +} +static FORCEINLINE HRESULT ITransactionDispenser_BeginTransaction(ITransactionDispenser* This,IUnknown *punkOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction) { + return This->lpVtbl->BeginTransaction(This,punkOuter,isoLevel,isoFlags,pOptions,ppTransaction); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionDispenser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionOptions interface + */ +#ifndef __ITransactionOptions_INTERFACE_DEFINED__ +#define __ITransactionOptions_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionOptions, 0x3a6ad9e0, 0x23b9, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3a6ad9e0-23b9-11cf-ad60-00aa00a74ccd") +ITransactionOptions : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetOptions( + XACTOPT *pOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOptions( + XACTOPT *pOptions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionOptions, 0x3a6ad9e0, 0x23b9, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd) +#endif +#else +typedef struct ITransactionOptionsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionOptions *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionOptions *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionOptions *This); + + /*** ITransactionOptions methods ***/ + HRESULT (STDMETHODCALLTYPE *SetOptions)( + ITransactionOptions *This, + XACTOPT *pOptions); + + HRESULT (STDMETHODCALLTYPE *GetOptions)( + ITransactionOptions *This, + XACTOPT *pOptions); + + END_INTERFACE +} ITransactionOptionsVtbl; + +interface ITransactionOptions { + CONST_VTBL ITransactionOptionsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionOptions_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionOptions_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionOptions methods ***/ +#define ITransactionOptions_SetOptions(This,pOptions) (This)->lpVtbl->SetOptions(This,pOptions) +#define ITransactionOptions_GetOptions(This,pOptions) (This)->lpVtbl->GetOptions(This,pOptions) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionOptions_QueryInterface(ITransactionOptions* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionOptions_AddRef(ITransactionOptions* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionOptions_Release(ITransactionOptions* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionOptions methods ***/ +static FORCEINLINE HRESULT ITransactionOptions_SetOptions(ITransactionOptions* This,XACTOPT *pOptions) { + return This->lpVtbl->SetOptions(This,pOptions); +} +static FORCEINLINE HRESULT ITransactionOptions_GetOptions(ITransactionOptions* This,XACTOPT *pOptions) { + return This->lpVtbl->GetOptions(This,pOptions); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionOptions_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionOutcomeEvents interface + */ +#ifndef __ITransactionOutcomeEvents_INTERFACE_DEFINED__ +#define __ITransactionOutcomeEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionOutcomeEvents, 0x3a6ad9e2, 0x23b9, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3a6ad9e2-23b9-11cf-ad60-00aa00a74ccd") +ITransactionOutcomeEvents : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Committed( + BOOL fRetaining, + XACTUOW *pNewUOW, + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE Aborted( + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW, + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE HeuristicDecision( + DWORD dwDecision, + BOID *pboidReason, + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE Indoubt( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionOutcomeEvents, 0x3a6ad9e2, 0x23b9, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd) +#endif +#else +typedef struct ITransactionOutcomeEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionOutcomeEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionOutcomeEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionOutcomeEvents *This); + + /*** ITransactionOutcomeEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *Committed)( + ITransactionOutcomeEvents *This, + BOOL fRetaining, + XACTUOW *pNewUOW, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *Aborted)( + ITransactionOutcomeEvents *This, + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *HeuristicDecision)( + ITransactionOutcomeEvents *This, + DWORD dwDecision, + BOID *pboidReason, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *Indoubt)( + ITransactionOutcomeEvents *This); + + END_INTERFACE +} ITransactionOutcomeEventsVtbl; + +interface ITransactionOutcomeEvents { + CONST_VTBL ITransactionOutcomeEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionOutcomeEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionOutcomeEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionOutcomeEvents_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionOutcomeEvents methods ***/ +#define ITransactionOutcomeEvents_Committed(This,fRetaining,pNewUOW,hr) (This)->lpVtbl->Committed(This,fRetaining,pNewUOW,hr) +#define ITransactionOutcomeEvents_Aborted(This,pboidReason,fRetaining,pNewUOW,hr) (This)->lpVtbl->Aborted(This,pboidReason,fRetaining,pNewUOW,hr) +#define ITransactionOutcomeEvents_HeuristicDecision(This,dwDecision,pboidReason,hr) (This)->lpVtbl->HeuristicDecision(This,dwDecision,pboidReason,hr) +#define ITransactionOutcomeEvents_Indoubt(This) (This)->lpVtbl->Indoubt(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionOutcomeEvents_QueryInterface(ITransactionOutcomeEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionOutcomeEvents_AddRef(ITransactionOutcomeEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionOutcomeEvents_Release(ITransactionOutcomeEvents* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionOutcomeEvents methods ***/ +static FORCEINLINE HRESULT ITransactionOutcomeEvents_Committed(ITransactionOutcomeEvents* This,BOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr) { + return This->lpVtbl->Committed(This,fRetaining,pNewUOW,hr); +} +static FORCEINLINE HRESULT ITransactionOutcomeEvents_Aborted(ITransactionOutcomeEvents* This,BOID *pboidReason,BOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr) { + return This->lpVtbl->Aborted(This,pboidReason,fRetaining,pNewUOW,hr); +} +static FORCEINLINE HRESULT ITransactionOutcomeEvents_HeuristicDecision(ITransactionOutcomeEvents* This,DWORD dwDecision,BOID *pboidReason,HRESULT hr) { + return This->lpVtbl->HeuristicDecision(This,dwDecision,pboidReason,hr); +} +static FORCEINLINE HRESULT ITransactionOutcomeEvents_Indoubt(ITransactionOutcomeEvents* This) { + return This->lpVtbl->Indoubt(This); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionOutcomeEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITmNodeName interface + */ +#ifndef __ITmNodeName_INTERFACE_DEFINED__ +#define __ITmNodeName_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITmNodeName, 0x30274f88, 0x6ee4, 0x474e, 0x9b,0x95, 0x78,0x07,0xbc,0x9e,0xf8,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30274f88-6ee4-474e-9b95-7807bc9ef8cf") +ITmNodeName : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNodeNameSize( + ULONG *pcbNodeNameSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeName( + ULONG cbNodeNameBufferSize, + LPWSTR pNodeNameBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITmNodeName, 0x30274f88, 0x6ee4, 0x474e, 0x9b,0x95, 0x78,0x07,0xbc,0x9e,0xf8,0xcf) +#endif +#else +typedef struct ITmNodeNameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITmNodeName *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITmNodeName *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITmNodeName *This); + + /*** ITmNodeName methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNodeNameSize)( + ITmNodeName *This, + ULONG *pcbNodeNameSize); + + HRESULT (STDMETHODCALLTYPE *GetNodeName)( + ITmNodeName *This, + ULONG cbNodeNameBufferSize, + LPWSTR pNodeNameBuffer); + + END_INTERFACE +} ITmNodeNameVtbl; + +interface ITmNodeName { + CONST_VTBL ITmNodeNameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITmNodeName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITmNodeName_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITmNodeName_Release(This) (This)->lpVtbl->Release(This) +/*** ITmNodeName methods ***/ +#define ITmNodeName_GetNodeNameSize(This,pcbNodeNameSize) (This)->lpVtbl->GetNodeNameSize(This,pcbNodeNameSize) +#define ITmNodeName_GetNodeName(This,cbNodeNameBufferSize,pNodeNameBuffer) (This)->lpVtbl->GetNodeName(This,cbNodeNameBufferSize,pNodeNameBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITmNodeName_QueryInterface(ITmNodeName* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITmNodeName_AddRef(ITmNodeName* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITmNodeName_Release(ITmNodeName* This) { + return This->lpVtbl->Release(This); +} +/*** ITmNodeName methods ***/ +static FORCEINLINE HRESULT ITmNodeName_GetNodeNameSize(ITmNodeName* This,ULONG *pcbNodeNameSize) { + return This->lpVtbl->GetNodeNameSize(This,pcbNodeNameSize); +} +static FORCEINLINE HRESULT ITmNodeName_GetNodeName(ITmNodeName* This,ULONG cbNodeNameBufferSize,LPWSTR pNodeNameBuffer) { + return This->lpVtbl->GetNodeName(This,cbNodeNameBufferSize,pNodeNameBuffer); +} +#endif +#endif + +#endif + + +#endif /* __ITmNodeName_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __transact_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/transact.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/transact.idl new file mode 100644 index 0000000..c9dbc69 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/transact.idl @@ -0,0 +1,226 @@ +/* + * Copyright (C) 2013 Daniel Jeliński + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +cpp_quote("#include ") + +interface ITransaction; +interface ITransactionCloner; +interface ITransaction2; +interface ITransactionDispenser; +interface ITransactionOptions; +interface ITransactionOutcomeEvents; +interface ITmNodeName; + +typedef struct BOID { + byte rgb[16]; +} BOID; + +cpp_quote("#ifndef MAX_TRAN_DESC_DEFINED") +cpp_quote("#define MAX_TRAN_DESC_DEFINED") +typedef enum TX_MISC_CONSTANTS { + MAX_TRAN_DESC = 40 +} TX_MISC_CONSTANTS; +cpp_quote("#endif") + +typedef BOID XACTUOW; +typedef LONG ISOLEVEL; + +typedef enum ISOLATIONLEVEL { + ISOLATIONLEVEL_UNSPECIFIED = 0xffffffff, + ISOLATIONLEVEL_CHAOS = 0x10, + ISOLATIONLEVEL_READUNCOMMITTED = 0x100, + ISOLATIONLEVEL_BROWSE = 0x100, + ISOLATIONLEVEL_CURSORSTABILITY = 0x1000, + ISOLATIONLEVEL_READCOMMITTED = 0x1000, + ISOLATIONLEVEL_REPEATABLEREAD = 0x10000, + ISOLATIONLEVEL_SERIALIZABLE = 0x100000, + ISOLATIONLEVEL_ISOLATED = 0x100000 +} ISOLATIONLEVEL; + +typedef struct XACTTRANSINFO { + XACTUOW uow; + ISOLEVEL isoLevel; + ULONG isoFlags; + DWORD grfTCSupported; + DWORD grfRMSupported; + DWORD grfTCSupportedRetaining; + DWORD grfRMSupportedRetaining; +} XACTTRANSINFO; + +typedef struct XACTSTATS { + ULONG cOpen; + ULONG cCommitting; + ULONG cCommitted; + ULONG cAborting; + ULONG cAborted; + ULONG cInDoubt; + ULONG cHeuristicDecision; + FILETIME timeTransactionsUp; +} XACTSTATS; + +typedef enum ISOFLAG { + ISOFLAG_RETAIN_COMMIT_DC = 1, + ISOFLAG_RETAIN_COMMIT = 2, + ISOFLAG_RETAIN_COMMIT_NO = 3, + ISOFLAG_RETAIN_ABORT_DC = 4, + ISOFLAG_RETAIN_ABORT = 8, + ISOFLAG_RETAIN_ABORT_NO = 12, + ISOFLAG_RETAIN_DONTCARE = ISOFLAG_RETAIN_COMMIT_DC | ISOFLAG_RETAIN_ABORT_DC, + ISOFLAG_RETAIN_BOTH = ISOFLAG_RETAIN_COMMIT | ISOFLAG_RETAIN_ABORT, + ISOFLAG_RETAIN_NONE = ISOFLAG_RETAIN_COMMIT_NO | ISOFLAG_RETAIN_ABORT_NO, + ISOFLAG_OPTIMISTIC = 16, + ISOFLAG_READONLY = 32 +} ISOFLAG; + +typedef enum XACTTC { + XACTTC_NONE = 0, + XACTTC_SYNC_PHASEONE = 1, + XACTTC_SYNC_PHASETWO = 2, + XACTTC_SYNC = 2, + XACTTC_ASYNC_PHASEONE = 4, + XACTTC_ASYNC = 4 +} XACTTC; + +typedef enum XACTRM { + XACTRM_OPTIMISTICLASTWINS = 1, + XACTRM_NOREADONLYPREPARES +} XACTRM; + +typedef enum XACTCONST { + XACTCONST_TIMEOUTINFINITE +} XACTCONST; + +typedef enum XACTHEURISTIC { + XACTHEURISTIC_ABORT = 1, + XACTHEURISTIC_COMMIT, + XACTHEURISTIC_DAMAGE, + XACTHEURISTIC_DANGER +} XACTHEURISTIC; + +typedef enum XACTSTAT { + XACTSTAT_NONE = 0, + XACTSTAT_OPENNORMAL = 0x1, + XACTSTAT_OPENREFUSED = 0x2, + XACTSTAT_PREPARING = 0x4, + XACTSTAT_PREPARED = 0x8, + XACTSTAT_PREPARERETAINING = 0x10, + XACTSTAT_PREPARERETAINED = 0x20, + XACTSTAT_COMMITTING = 0x40, + XACTSTAT_COMMITRETAINING = 0x80, + XACTSTAT_ABORTING = 0x100, + XACTSTAT_ABORTED = 0x200, + XACTSTAT_COMMITTED = 0x400, + XACTSTAT_HEURISTIC_ABORT = 0x800, + XACTSTAT_HEURISTIC_COMMIT = 0x1000, + XACTSTAT_HEURISTIC_DAMAGE = 0x2000, + XACTSTAT_HEURISTIC_DANGER = 0x4000, + XACTSTAT_FORCED_ABORT = 0x8000, + XACTSTAT_FORCED_COMMIT = 0x10000, + XACTSTAT_INDOUBT = 0x20000, + XACTSTAT_CLOSED = 0x40000, + XACTSTAT_OPEN = 0x3, + XACTSTAT_NOTPREPARED = 0x7ffc3, + XACTSTAT_ALL = 0x7ffff +} XACTSTAT; + +typedef struct XACTOPT { + ULONG ulTimeout; + char szDescription[40 ]; +} XACTOPT; + +[ + object, + uuid(0fb15084-af41-11ce-bd2b-204c4f4f5020) +] +interface ITransaction : IUnknown { + HRESULT Commit([in] BOOL fRetaining, + [in] DWORD grfTC, + [in] DWORD grfRM); + HRESULT Abort([in, unique] BOID *pboidReason, + [in] BOOL fRetaining, + [in] BOOL fAsync); + HRESULT GetTransactionInfo([out] XACTTRANSINFO *pinfo); +}; + +[ + object, + uuid(02656950-2152-11d0-944C-00A0C905416E) +] +interface ITransactionCloner : ITransaction { + HRESULT CloneWithCommitDisabled([out] ITransaction **ppITransaction); +}; + +[ + object, + uuid(34021548-0065-11d3-bac1-00c04f797be2) +] +interface ITransaction2 : ITransactionCloner { + HRESULT GetTransactionInfo2([out] XACTTRANSINFO *pinfo); +}; + +[ + object, + uuid(3A6AD9E1-23B9-11cf-AD60-00AA00A74CCD) +] +interface ITransactionDispenser : IUnknown { + HRESULT GetOptionsObject([out] ITransactionOptions **ppOptions); + HRESULT BeginTransaction([in, unique] IUnknown *punkOuter, + [in] ISOLEVEL isoLevel, + [in] ULONG isoFlags, + [in, unique] ITransactionOptions *pOptions, + [out] ITransaction **ppTransaction); +}; + +[ + object, + uuid(3A6AD9E0-23B9-11cf-AD60-00AA00A74CCD) +] +interface ITransactionOptions : IUnknown { + HRESULT SetOptions([in] XACTOPT *pOptions); + HRESULT GetOptions([in, out] XACTOPT *pOptions); +}; + +[ + object, + uuid(3A6AD9E2-23B9-11cf-AD60-00AA00A74CCD) +] +interface ITransactionOutcomeEvents : IUnknown { + HRESULT Committed([in] BOOL fRetaining, + [in, unique] XACTUOW *pNewUOW, + [in] HRESULT hr); + HRESULT Aborted([in, unique] BOID *pboidReason, + [in] BOOL fRetaining, + [in, unique] XACTUOW *pNewUOW, + [in] HRESULT hr); + HRESULT HeuristicDecision([in] DWORD dwDecision, + [in, unique] BOID *pboidReason, + [in] HRESULT hr); + HRESULT Indoubt(void); +}; + +[ + object, + uuid(30274F88-6EE4-474e-9B95-7807BC9EF8CF) +] +interface ITmNodeName : IUnknown { + HRESULT GetNodeNameSize([out] ULONG *pcbNodeNameSize); + HRESULT GetNodeName([in] ULONG cbNodeNameBufferSize, + [in, out] LPWSTR pNodeNameBuffer); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/twain.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/twain.h new file mode 100644 index 0000000..bdbda47 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/twain.h @@ -0,0 +1,1849 @@ +/* ======================================================================== *\ + + Copyright (C) 1991, 1992 TWAIN Working Group: Aldus, Caere, Eastman-Kodak, + Hewlett-Packard and Logitech Corporations. All rights reserved. + + Copyright (C) 1997 TWAIN Working Group: Bell+Howell, Canon, DocuMagix, + Fujitsu, Genoa Technology, Hewlett-Packard, Kofax Imaging Products, and + Ricoh Corporation. All rights reserved. + + Copyright (C) 1998 TWAIN Working Group: Adobe Systems Incorporated, + Canon Information Systems, Eastman Kodak Company, + Fujitsu Computer Products of America, Genoa Technology, + Hewlett-Packard Company, Intel Corporation, Kofax Image Products, + JFL Peripheral Solutions Inc., Ricoh Corporation, and Xerox Corporation. + All rights reserved. + + TWAIN.h - This is the definitive include file for applications and + data sources written to the TWAIN specification. + It defines constants, data structures, messages etc. + for the public interface to TWAIN. + + Revision History: + version 1.0, March 6, 1992. TWAIN 1.0. + version 1.1, January 1993. Tech Notes 1.1 + version 1.5, June 1993. Specification Update 1.5 + Change DC to TW + Change filename from DC.H to TWAIN.H + version 1.5, July 1993. Remove spaces from country identifiers + + version 1.7, July 1997 Added Capabilities and data structure for + document imaging and digital cameras. + KHL. + version 1.7, July 1997 Inserted Borland compatible structure packing + directives provided by Mentor. JMH + version 1.7, Aug 1997 Expanded file tabs to spaces. + NOTE: future authors should be sure to have + their editors set to automatically expand tabs + to spaces (original tab setting was 4 spaces). + version 1.7, Sept 1997 Added job control values + Added return codes + version 1.7, Sept 1997 changed definition of pRGBRESPONSE to + pTW_RGBRESPONSE + version 1.7 Aug 1998 Added missing TWEI_BARCODEROTATION values + TWBCOR_ types JMH + version 1.8 August 1998 Added new types and definitions required + for 1.8 Specification JMH + version 1.8 January 1999 Changed search mode from SRCH_ to TWBD_ as + in 1.8 Specification, added TWBT_MAXICODE JMH + version 1.8 January 1999 Removed undocumented duplicate AUTO JMH +\* ======================================================================== */ + +#ifndef TWAIN +#define TWAIN + +#include + +#include "windef.h" +#include "winbase.h" + +/* The Twain structures must be packed on 2 byte alignment */ +#include "pshpack2.h" + +#undef FAR +#define FAR + +/**************************************************************************** + * TWAIN Version * + ****************************************************************************/ +#define TWON_PROTOCOLMINOR 8 /* Changed for Version 1.8 */ +#define TWON_PROTOCOLMAJOR 1 + +/**************************************************************************** + * Platform Dependent Definitions and Typedefs * + ****************************************************************************/ + +/* Define one of the following, depending on the platform */ +/* #define _MAC_ */ +/* #define _UNIX_ */ +#define _MSWIN_ + +#ifdef _MSWIN_ + typedef HANDLE TW_HANDLE; + typedef LPVOID TW_MEMREF; + typedef BYTE * HPBYTE; + typedef void * HPVOID; +#endif /* _MSWIN_ */ + +#ifdef _MAC_ +#define PASCAL pascal +#define FAR + typedef Handle TW_HANDLE; + typedef char *TW_MEMREF; +#endif /* _MAC_ */ + +#ifdef _UNIX_ +/* #define PASCAL pascal */ +#define FAR + typedef unsigned char *TW_HANDLE; + typedef unsigned char *TW_MEMREF; +#endif /* _UNIX_ */ + +/**************************************************************************** + * Type Definitions * + ****************************************************************************/ + +/* String types. These include room for the strings and a NULL char, * + * or, on the Mac, a length byte followed by the string. * + * TW_STR255 must hold less than 256 chars so length fits in first byte. */ +typedef char TW_STR32[34], FAR *pTW_STR32; +typedef char TW_STR64[66], FAR *pTW_STR64; +typedef char TW_STR128[130], FAR *pTW_STR128; +typedef char TW_STR255[256], FAR *pTW_STR255; + +/* Numeric types. */ +typedef char TW_INT8, FAR *pTW_INT8; +typedef short TW_INT16, FAR *pTW_INT16; +typedef LONG TW_INT32, FAR *pTW_INT32; +typedef unsigned char TW_UINT8, FAR *pTW_UINT8; +typedef unsigned short TW_UINT16, FAR *pTW_UINT16; +typedef ULONG TW_UINT32, FAR *pTW_UINT32; +typedef unsigned short TW_BOOL, FAR *pTW_BOOL; + +/* Fixed point structure type. */ +typedef struct { + TW_INT16 Whole; /* maintains the sign */ + TW_UINT16 Frac; +} TW_FIX32, FAR *pTW_FIX32; + +/**************************************************************************** + * Structure Definitions * + ****************************************************************************/ + +/* No DAT needed. */ +typedef struct { + TW_FIX32 X; + TW_FIX32 Y; + TW_FIX32 Z; +} TW_CIEPOINT, FAR * pTW_CIEPOINT; + +/* No DAT needed. */ +typedef struct { + TW_FIX32 StartIn; + TW_FIX32 BreakIn; + TW_FIX32 EndIn; + TW_FIX32 StartOut; + TW_FIX32 BreakOut; + TW_FIX32 EndOut; + TW_FIX32 Gamma; + TW_FIX32 SampleCount; /* if =0 use the gamma */ +} TW_DECODEFUNCTION, FAR * pTW_DECODEFUNCTION; + +/* No DAT needed. */ +typedef struct { + TW_UINT8 Index; /* Value used to index into the color table. */ + TW_UINT8 Channel1; /* First tri-stimulus value (e.g Red) */ + TW_UINT8 Channel2; /* Second tri-stimulus value (e.g Green) */ + TW_UINT8 Channel3; /* Third tri-stimulus value (e.g Blue) */ +} TW_ELEMENT8, FAR * pTW_ELEMENT8; + +/* No DAT. Defines a frame rectangle in ICAP_UNITS coordinates. */ +typedef struct { + TW_FIX32 Left; + TW_FIX32 Top; + TW_FIX32 Right; + TW_FIX32 Bottom; +} TW_FRAME, FAR * pTW_FRAME; + +/* No DAT needed. Used to manage memory buffers. */ +typedef struct { + TW_UINT32 Flags; /* Any combination of the TWMF_ constants. */ + TW_UINT32 Length; /* Number of bytes stored in buffer TheMem. */ + TW_MEMREF TheMem; /* Pointer or handle to the allocated memory buffer. */ +} TW_MEMORY, FAR * pTW_MEMORY; + +/* No DAT needed. */ +typedef struct { + TW_DECODEFUNCTION Decode[3]; + TW_FIX32 Mix[3][3]; +} TW_TRANSFORMSTAGE, FAR * pTW_TRANSFORMSTAGE; + +/* No DAT needed. Describes version of software currently running. */ +typedef struct { + TW_UINT16 MajorNum; /* Major revision number of the software. */ + TW_UINT16 MinorNum; /* Incremental revision number of the software. */ + TW_UINT16 Language; /* e.g. TWLG_SWISSFRENCH */ + TW_UINT16 Country; /* e.g. TWCY_SWITZERLAND */ + TW_STR32 Info; /* e.g. "1.0b3 Beta release" */ +} TW_VERSION, FAR * pTW_VERSION; + +/* TWON_ARRAY. Container for array of values (a simplified TW_ENUMERATION) */ +typedef struct { + TW_UINT16 ItemType; + TW_UINT32 NumItems; /* How many items in ItemList */ + TW_UINT8 ItemList[1]; /* Array of ItemType values starts here */ +} TW_ARRAY, FAR * pTW_ARRAY; + +/* TWON_ENUMERATION. Container for a collection of values. */ +typedef struct { + TW_UINT16 ItemType; + TW_UINT32 NumItems; /* How many items in ItemList */ + TW_UINT32 CurrentIndex; /* Current value is in ItemList[CurrentIndex] */ + TW_UINT32 DefaultIndex; /* Powerup value is in ItemList[DefaultIndex] */ + TW_UINT8 ItemList[1]; /* Array of ItemType values starts here */ +} TW_ENUMERATION, FAR * pTW_ENUMERATION; + +/* TWON_ONEVALUE. Container for one value. */ +typedef struct { + TW_UINT16 ItemType; + TW_UINT32 Item; +} TW_ONEVALUE, FAR * pTW_ONEVALUE; + +/* TWON_RANGE. Container for a range of values. */ +typedef struct { + TW_UINT16 ItemType; + TW_UINT32 MinValue; /* Starting value in the range. */ + TW_UINT32 MaxValue; /* Final value in the range. */ + TW_UINT32 StepSize; /* Increment from MinValue to MaxValue. */ + TW_UINT32 DefaultValue; /* Power-up value. */ + TW_UINT32 CurrentValue; /* The value that is currently in effect. */ +} TW_RANGE, FAR * pTW_RANGE; + +/* DAT_CAPABILITY. Used by application to get/set capability from/in a data source. */ +typedef struct { + TW_UINT16 Cap; /* id of capability to set or get, e.g. CAP_BRIGHTNESS */ + TW_UINT16 ConType; /* TWON_ONEVALUE, _RANGE, _ENUMERATION or _ARRAY */ + TW_HANDLE hContainer; /* Handle to container of type Dat */ +} TW_CAPABILITY, FAR * pTW_CAPABILITY; + +/* DAT_CIECOLOR. */ +typedef struct { + TW_UINT16 ColorSpace; + TW_INT16 LowEndian; + TW_INT16 DeviceDependent; + TW_INT32 VersionNumber; + TW_TRANSFORMSTAGE StageABC; + TW_TRANSFORMSTAGE StageLMN; + TW_CIEPOINT WhitePoint; + TW_CIEPOINT BlackPoint; + TW_CIEPOINT WhitePaper; + TW_CIEPOINT BlackInk; + TW_FIX32 Samples[1]; +} TW_CIECOLOR, FAR * pTW_CIECOLOR; + +/* DAT_EVENT. For passing events down from the application to the DS. */ +typedef struct { + TW_MEMREF pEvent; /* Windows pMSG or Mac pEvent. */ + TW_UINT16 TWMessage; /* TW msg from data source, e.g. MSG_XFERREADY */ +} TW_EVENT, FAR * pTW_EVENT; + +/* DAT_GRAYRESPONSE */ +typedef struct { + TW_ELEMENT8 Response[1]; +} TW_GRAYRESPONSE, FAR * pTW_GRAYRESPONSE; + +/* DAT_IDENTITY. Identifies the program/library/code resource. */ +typedef struct { + TW_UINT32 Id; /* Unique number. In Windows, application hWnd */ + TW_VERSION Version; /* Identifies the piece of code */ + TW_UINT16 ProtocolMajor; /* Application and DS must set to TWON_PROTOCOLMAJOR */ + TW_UINT16 ProtocolMinor; /* Application and DS must set to TWON_PROTOCOLMINOR */ + TW_UINT32 SupportedGroups; /* Bit field OR combination of DG_ constants */ + TW_STR32 Manufacturer; /* Manufacturer name, e.g. "Hewlett-Packard" */ + TW_STR32 ProductFamily; /* Product family name, e.g. "ScanJet" */ + TW_STR32 ProductName; /* Product name, e.g. "ScanJet Plus" */ +} TW_IDENTITY, FAR * pTW_IDENTITY; + +/* DAT_IMAGEINFO. Application gets detailed image info from DS with this. */ +typedef struct { + TW_FIX32 XResolution; /* Resolution in the horizontal */ + TW_FIX32 YResolution; /* Resolution in the vertical */ + TW_INT32 ImageWidth; /* Columns in the image, -1 if unknown by DS*/ + TW_INT32 ImageLength; /* Rows in the image, -1 if unknown by DS */ + TW_INT16 SamplesPerPixel; /* Number of samples per pixel, 3 for RGB */ + TW_INT16 BitsPerSample[8]; /* Number of bits for each sample */ + TW_INT16 BitsPerPixel; /* Number of bits for each padded pixel */ + TW_BOOL Planar; /* True if Planar, False if chunky */ + TW_INT16 PixelType; /* How to interp data; photo interp (TWPT_) */ + TW_UINT16 Compression; /* How the data is compressed (TWCP_xxxx) */ +} TW_IMAGEINFO, FAR * pTW_IMAGEINFO; + +/* DAT_IMAGELAYOUT. Provides image layout information in current units. */ +typedef struct { + TW_FRAME Frame; /* Frame coords within larger document */ + TW_UINT32 DocumentNumber; + TW_UINT32 PageNumber; /* Reset when you go to next document */ + TW_UINT32 FrameNumber; /* Reset when you go to next page */ +} TW_IMAGELAYOUT, FAR * pTW_IMAGELAYOUT; + +/* DAT_IMAGEMEMXFER. Used to pass image data (e.g. in strips) from DS to application.*/ +typedef struct { + TW_UINT16 Compression; /* How the data is compressed */ + TW_UINT32 BytesPerRow; /* Number of bytes in a row of data */ + TW_UINT32 Columns; /* How many columns */ + TW_UINT32 Rows; /* How many rows */ + TW_UINT32 XOffset; /* How far from the side of the image */ + TW_UINT32 YOffset; /* How far from the top of the image */ + TW_UINT32 BytesWritten; /* How many bytes written in Memory */ + TW_MEMORY Memory; /* Mem struct used to pass actual image data */ +} TW_IMAGEMEMXFER, FAR * pTW_IMAGEMEMXFER; + +/* Changed in 1.1: QuantTable, HuffmanDC, HuffmanAC TW_MEMREF -> TW_MEMORY */ +/* DAT_JPEGCOMPRESSION. Based on JPEG Draft International Std, ver 10918-1. */ +typedef struct { + TW_UINT16 ColorSpace; /* One of the TWPT_xxxx values */ + TW_UINT32 SubSampling; /* Two word "array" for subsampling values */ + TW_UINT16 NumComponents; /* Number of color components in image */ + TW_UINT16 RestartFrequency; /* Frequency of restart marker codes in MDU's */ + TW_UINT16 QuantMap[4]; /* Mapping of components to QuantTables */ + TW_MEMORY QuantTable[4]; /* Quantization tables */ + TW_UINT16 HuffmanMap[4]; /* Mapping of components to Huffman tables */ + TW_MEMORY HuffmanDC[2]; /* DC Huffman tables */ + TW_MEMORY HuffmanAC[2]; /* AC Huffman tables */ +} TW_JPEGCOMPRESSION, FAR * pTW_JPEGCOMPRESSION; + +/* DAT_PALETTE8. Color palette when TWPT_PALETTE pixels xfer'd in mem buf. */ +typedef struct { + TW_UINT16 NumColors; /* Number of colors in the color table. */ + TW_UINT16 PaletteType; /* TWPA_xxxx, specifies type of palette. */ + TW_ELEMENT8 Colors[256]; /* Array of palette values starts here. */ +} TW_PALETTE8, FAR * pTW_PALETTE8; + +/* DAT_PENDINGXFERS. Used with MSG_ENDXFER to indicate additional data. */ +typedef struct { + TW_UINT16 Count; + union { + TW_UINT32 EOJ; + TW_UINT32 Reserved; + } u; +} TW_PENDINGXFERS, FAR *pTW_PENDINGXFERS; + +/* DAT_RGBRESPONSE */ +typedef struct { + TW_ELEMENT8 Response[1]; +} TW_RGBRESPONSE, FAR * pTW_RGBRESPONSE; + +/* DAT_SETUPFILEXFER. Sets up DS to application data transfer via a file. */ +typedef struct { + TW_STR255 FileName; + TW_UINT16 Format; /* Any TWFF_ constant */ + TW_INT16 VRefNum; /* Used for Mac only */ +} TW_SETUPFILEXFER, FAR * pTW_SETUPFILEXFER; + +/* DAT_SETUPMEMXFER. Sets up DS to application data transfer via a memory buffer. */ +typedef struct { + TW_UINT32 MinBufSize; + TW_UINT32 MaxBufSize; + TW_UINT32 Preferred; +} TW_SETUPMEMXFER, FAR * pTW_SETUPMEMXFER; + +/* DAT_STATUS. Application gets detailed status info from a data source with this. */ +typedef struct { + TW_UINT16 ConditionCode; /* Any TWCC_ constant */ + TW_UINT16 Reserved; /* Future expansion space */ +} TW_STATUS, FAR * pTW_STATUS; + +/* DAT_USERINTERFACE. Coordinates UI between application and data source. */ +typedef struct { + TW_BOOL ShowUI; /* TRUE if DS should bring up its UI */ + TW_BOOL ModalUI; /* For Mac only - true if the DS's UI is modal */ + TW_HANDLE hParent; /* For windows only - Application window handle */ +} TW_USERINTERFACE, FAR * pTW_USERINTERFACE; + +/* SDH - 03/21/95 - TWUNK */ +/* DAT_TWUNKIDENTITY. Provides DS identity and 'other' information necessary */ +/* across thunk link. */ +typedef struct { + TW_IDENTITY identity; /* Identity of data source. */ + TW_STR255 dsPath; /* Full path and file name of data source. */ +} TW_TWUNKIDENTITY, FAR * pTW_TWUNKIDENTITY; + +/* SDH - 03/21/95 - TWUNK */ +/* Provides DS_Entry parameters over thunk link. */ +typedef struct +{ + TW_INT8 destFlag; /* TRUE if dest is not NULL */ + TW_IDENTITY dest; /* Identity of data source (if used) */ + TW_INT32 dataGroup; /* DSM_Entry dataGroup parameter */ + TW_INT16 dataArgType; /* DSM_Entry dataArgType parameter */ + TW_INT16 message; /* DSM_Entry message parameter */ + TW_INT32 pDataSize; /* Size of pData (0 if NULL) */ + /* TW_MEMREF pData; */ /* Based on implementation specifics, a */ + /* pData parameter makes no sense in this */ + /* structure, but data (if provided) will be*/ + /* appended in the data block. */ + } TW_TWUNKDSENTRYPARAMS, FAR * pTW_TWUNKDSENTRYPARAMS; + +/* SDH - 03/21/95 - TWUNK */ +/* Provides DS_Entry results over thunk link. */ +typedef struct +{ + TW_UINT16 returnCode; /* Thunker DsEntry return code. */ + TW_UINT16 conditionCode; /* Thunker DsEntry condition code. */ + TW_INT32 pDataSize; /* Size of pData (0 if NULL) */ + /* TW_MEMREF pData; */ /* Based on implementation specifics, a */ + /* pData parameter makes no sense in this */ + /* structure, but data (if provided) will be*/ + /* appended in the data block. */ +} TW_TWUNKDSENTRYRETURN, FAR * pTW_TWUNKDSENTRYRETURN; + +/* WJD - 950818 */ +/* Added for 1.6 Specification */ +/* TWAIN 1.6 CAP_SUPPORTEDCAPSEXT structure */ +typedef struct +{ + TW_UINT16 Cap; /* Which CAP/ICAP info is relevant to */ + TW_UINT16 Properties; /* Messages this CAP/ICAP supports */ +} TW_CAPEXT, FAR * pTW_CAPEXT; + +/* ----------------------------------------------------------------------- *\ + + Version 1.7: Added Following data structure for Document Imaging + July 1997 Enhancement. + KHL TW_CUSTOMDSDATA -- For Saving and Restoring Source's + state. + TW_INFO -- Each attribute for extended image + information. + TW_EXTIMAGEINFO -- Extended image information structure. + +\* ----------------------------------------------------------------------- */ + +typedef struct { + TW_UINT32 InfoLength; /* Length of Information in bytes. */ + TW_HANDLE hData; /* Place holder for data, DS Allocates */ +}TW_CUSTOMDSDATA, FAR *pTW_CUSTOMDSDATA; + +typedef struct { + TW_UINT16 InfoID; + TW_UINT16 ItemType; + TW_UINT16 NumItems; + TW_UINT16 CondCode; + TW_UINT32 Item; +}TW_INFO, FAR* pTW_INFO; + +typedef struct { + TW_UINT32 NumInfos; + TW_INFO Info[1]; +}TW_EXTIMAGEINFO, FAR* pTW_EXTIMAGEINFO; + +/* Added 1.8 */ + +/* DAT_AUDIOINFO, information about audio data */ +typedef struct { + TW_STR255 Name; /* name of audio data */ + TW_UINT32 Reserved; /* reserved space */ +} TW_AUDIOINFO, FAR * pTW_AUDIOINFO; + +/* DAT_DEVICEEVENT, information about events */ +typedef struct { + TW_UINT32 Event; /* One of the TWDE_xxxx values. */ + TW_STR255 DeviceName; /* The name of the device that generated the event */ + TW_UINT32 BatteryMinutes; /* Battery Minutes Remaining */ + TW_INT16 BatteryPercentage; /* Battery Percentage Remaining */ + TW_INT32 PowerSupply; /* Power Supply */ + TW_FIX32 XResolution; /* Resolution */ + TW_FIX32 YResolution; /* Resolution */ + TW_UINT32 FlashUsed2; /* Flash Used2 */ + TW_UINT32 AutomaticCapture; /* Automatic Capture */ + TW_UINT32 TimeBeforeFirstCapture; /* Automatic Capture */ + TW_UINT32 TimeBetweenCaptures; /* Automatic Capture */ +} TW_DEVICEEVENT, FAR * pTW_DEVICEEVENT; + +/* DAT_FILESYSTEM, information about TWAIN file system */ +typedef struct { + /* DG_CONTROL / DAT_FILESYSTEM / MSG_xxxx fields */ + TW_STR255 InputName; /* The name of the input or source file */ + TW_STR255 OutputName; /* The result of an operation or the name of a destination file */ + TW_MEMREF Context; /* Source specific data used to remember state information */ + /* DG_CONTROL / DAT_FILESYSTEM / MSG_DELETE field */ + int Recursive; /* recursively delete all sub-directories */ + /* DG_CONTROL / DAT_FILESYSTEM / MSG_GETINFO fields */ + TW_INT32 FileType; /* One of the TWFT_xxxx values */ + TW_UINT32 Size; /* Size of current FileType */ + TW_STR32 CreateTimeDate; /* creation date of the file */ + TW_STR32 ModifiedTimeDate; /* last date the file was modified */ + TW_UINT32 FreeSpace; /* bytes of free space on the current device */ + TW_INT32 NewImageSize; /* estimate of the amount of space a new image would take up */ + TW_UINT32 NumberOfFiles; /* number of files, depends on FileType */ + TW_UINT32 NumberOfSnippets; /**/ + char Reserved[512]; /**/ +} TW_FILESYSTEM, FAR * pTW_FILESYSTEM; + +/* DAT_PASSTHRU, device dependent data to pass through Data Source */ +typedef struct { + TW_MEMREF pCommand; /* Pointer to Command buffer */ + TW_UINT32 CommandBytes; /* Number of bytes in Command buffer */ + TW_INT32 Direction; /* One of the TWDR_xxxx values. Defines the direction of data flow */ + TW_MEMREF pData; /* Pointer to Data buffer */ + TW_UINT32 DataBytes; /* Number of bytes in Data buffer */ + TW_UINT32 DataBytesXfered; /* Number of bytes successfully transferred */ +} TW_PASSTHRU, FAR * pTW_PASSTHRU; + +/* DAT_SETUPAUDIOFILEXFER, information required to setup an audio file transfer */ +typedef struct { + TW_STR255 FileName; /* full path target file */ + TW_UINT16 Format; /* one of TWAF_xxxx */ + TW_INT16 VRefNum; +} TW_SETUPAUDIOFILEXFER, FAR * pTW_SETUPAUDIOFILEXFER; + +/**************************************************************************** + * Generic Constants * + ****************************************************************************/ + +#define TWON_ARRAY 3 /* indicates TW_ARRAY container */ +#define TWON_ENUMERATION 4 /* indicates TW_ENUMERATION container */ +#define TWON_ONEVALUE 5 /* indicates TW_ONEVALUE container */ +#define TWON_RANGE 6 /* indicates TW_RANGE container */ + +#define TWON_ICONID 962 /* res Id of icon used in USERSELECT lbox */ +#define TWON_DSMID 461 /* res Id of the DSM version num resource */ +#define TWON_DSMCODEID 63 /* res Id of the Mac SM Code resource */ + +#define TWON_DONTCARE8 0xff +#define TWON_DONTCARE16 0xffff +#define TWON_DONTCARE32 0xffffffff + +/* Flags used in TW_MEMORY structure. */ +#define TWMF_APPOWNS 0x1 +#define TWMF_DSMOWNS 0x2 +#define TWMF_DSOWNS 0x4 +#define TWMF_POINTER 0x8 +#define TWMF_HANDLE 0x10 + +/* Palette types for TW_PALETTE8 */ +#define TWPA_RGB 0 +#define TWPA_GRAY 1 +#define TWPA_CMY 2 + +/* There are four containers used for capabilities negotiation: + * TWON_ONEVALUE, TWON_RANGE, TWON_ENUMERATION, TWON_ARRAY + * In each container structure ItemType can be TWTY_INT8, TWTY_INT16, etc. + * The kind of data stored in the container can be determined by doing + * DCItemSize[ItemType] where the following is defined in TWAIN glue code: + * DCItemSize[]= { sizeof(TW_INT8), + * sizeof(TW_INT16), + * etc. + * sizeof(TW_UINT32) }; + * + */ + +#define TWTY_INT8 0x0000 /* Means Item is a TW_INT8 */ +#define TWTY_INT16 0x0001 /* Means Item is a TW_INT16 */ +#define TWTY_INT32 0x0002 /* Means Item is a TW_INT32 */ + +#define TWTY_UINT8 0x0003 /* Means Item is a TW_UINT8 */ +#define TWTY_UINT16 0x0004 /* Means Item is a TW_UINT16 */ +#define TWTY_UINT32 0x0005 /* Means Item is a TW_UINT32 */ + +#define TWTY_BOOL 0x0006 /* Means Item is a TW_BOOL */ + +#define TWTY_FIX32 0x0007 /* Means Item is a TW_FIX32 */ + +#define TWTY_FRAME 0x0008 /* Means Item is a TW_FRAME */ + +#define TWTY_STR32 0x0009 /* Means Item is a TW_STR32 */ +#define TWTY_STR64 0x000a /* Means Item is a TW_STR64 */ +#define TWTY_STR128 0x000b /* Means Item is a TW_STR128 */ +#define TWTY_STR255 0x000c /* Means Item is a TW_STR255 */ + +/**************************************************************************** + * Capability Constants * + ****************************************************************************/ + +/* ICAP_BITORDER values (BO_ means Bit Order) */ +#define TWBO_LSBFIRST 0 +#define TWBO_MSBFIRST 1 + +/* ICAP_COMPRESSION values (CP_ means ComPression ) */ +#define TWCP_NONE 0 +#define TWCP_PACKBITS 1 +#define TWCP_GROUP31D 2 /* Follows CCITT spec (no End Of Line) */ +#define TWCP_GROUP31DEOL 3 /* Follows CCITT spec (has End Of Line) */ +#define TWCP_GROUP32D 4 /* Follows CCITT spec (use cap for K Factor) */ +#define TWCP_GROUP4 5 /* Follows CCITT spec */ +#define TWCP_JPEG 6 /* Use capability for more info */ +#define TWCP_LZW 7 /* Must license from Unisys and IBM to use */ +#define TWCP_JBIG 8 /* For Bitonal images -- Added 1.7 KHL */ +/* Added 1.8 */ +#define TWCP_PNG 9 +#define TWCP_RLE4 10 +#define TWCP_RLE8 11 +#define TWCP_BITFIELDS 12 + + +/* ICAP_IMAGEFILEFORMAT values (FF_means File Format) */ +#define TWFF_TIFF 0 /* Tagged Image File Format */ +#define TWFF_PICT 1 /* Macintosh PICT */ +#define TWFF_BMP 2 /* Windows Bitmap */ +#define TWFF_XBM 3 /* X-Windows Bitmap */ +#define TWFF_JFIF 4 /* JPEG File Interchange Format */ +#define TWFF_FPX 5 /* Flash Pix */ +#define TWFF_TIFFMULTI 6 /* Multi-page tiff file */ +#define TWFF_PNG 7 +#define TWFF_SPIFF 8 +#define TWFF_EXIF 9 + + +/* ICAP_FILTER values (FT_ means Filter Type) */ +#define TWFT_RED 0 +#define TWFT_GREEN 1 +#define TWFT_BLUE 2 +#define TWFT_NONE 3 +#define TWFT_WHITE 4 +#define TWFT_CYAN 5 +#define TWFT_MAGENTA 6 +#define TWFT_YELLOW 7 +#define TWFT_BLACK 8 + +/* ICAP_LIGHTPATH values (LP_ means Light Path) */ +#define TWLP_REFLECTIVE 0 +#define TWLP_TRANSMISSIVE 1 + +/* ICAP_LIGHTSOURCE values (LS_ means Light Source) */ +#define TWLS_RED 0 +#define TWLS_GREEN 1 +#define TWLS_BLUE 2 +#define TWLS_NONE 3 +#define TWLS_WHITE 4 +#define TWLS_UV 5 +#define TWLS_IR 6 + +/* ICAP_ORIENTATION values (OR_ means ORientation) */ +#define TWOR_ROT0 0 +#define TWOR_ROT90 1 +#define TWOR_ROT180 2 +#define TWOR_ROT270 3 +#define TWOR_PORTRAIT TWOR_ROT0 +#define TWOR_LANDSCAPE TWOR_ROT270 + +/* ICAP_PLANARCHUNKY values (PC_ means Planar/Chunky ) */ +#define TWPC_CHUNKY 0 +#define TWPC_PLANAR 1 + +/* ICAP_PIXELFLAVOR values (PF_ means Pixel Flavor) */ +#define TWPF_CHOCOLATE 0 /* zero pixel represents darkest shade */ +#define TWPF_VANILLA 1 /* zero pixel represents lightest shade */ + +/* ICAP_PIXELTYPE values (PT_ means Pixel Type) */ +#define TWPT_BW 0 /* Black and White */ +#define TWPT_GRAY 1 +#define TWPT_RGB 2 +#define TWPT_PALETTE 3 +#define TWPT_CMY 4 +#define TWPT_CMYK 5 +#define TWPT_YUV 6 +#define TWPT_YUVK 7 +#define TWPT_CIEXYZ 8 + +/* ICAP_SUPPORTEDSIZES values (SS_ means Supported Sizes) */ +#define TWSS_NONE 0 +#define TWSS_A4LETTER 1 +#define TWSS_B5LETTER 2 +#define TWSS_USLETTER 3 +#define TWSS_USLEGAL 4 +/* Added 1.5 */ +#define TWSS_A5 5 +#define TWSS_B4 6 +#define TWSS_B6 7 +/*#define TWSS_B 8 */ +/* Added 1.7 */ +#define TWSS_USLEDGER 9 +#define TWSS_USEXECUTIVE 10 +#define TWSS_A3 11 +#define TWSS_B3 12 +#define TWSS_A6 13 +#define TWSS_C4 14 +#define TWSS_C5 15 +#define TWSS_C6 16 +/* Added 1.8 */ +#define TWSS_4A0 17 +#define TWSS_2A0 18 +#define TWSS_A0 19 +#define TWSS_A1 20 +#define TWSS_A2 21 +#define TWSS_A4 TWSS_A4LETTER +#define TWSS_A7 22 +#define TWSS_A8 23 +#define TWSS_A9 24 +#define TWSS_A10 25 +#define TWSS_ISOB0 26 +#define TWSS_ISOB1 27 +#define TWSS_ISOB2 28 +#define TWSS_ISOB3 TWSS_B3 +#define TWSS_ISOB4 TWSS_B4 +#define TWSS_ISOB5 29 +#define TWSS_ISOB6 TWSS_B6 +#define TWSS_ISOB7 30 +#define TWSS_ISOB8 31 +#define TWSS_ISOB9 32 +#define TWSS_ISOB10 33 +#define TWSS_JISB0 34 +#define TWSS_JISB1 35 +#define TWSS_JISB2 36 +#define TWSS_JISB3 37 +#define TWSS_JISB4 38 +#define TWSS_JISB5 TWSS_B5LETTER +#define TWSS_JISB6 39 +#define TWSS_JISB7 40 +#define TWSS_JISB8 41 +#define TWSS_JISB9 42 +#define TWSS_JISB10 43 +#define TWSS_C0 44 +#define TWSS_C1 45 +#define TWSS_C2 46 +#define TWSS_C3 47 +#define TWSS_C7 48 +#define TWSS_C8 49 +#define TWSS_C9 50 +#define TWSS_C10 51 +#define TWSS_USSTATEMENT 52 +#define TWSS_BUSINESSCARD 53 + +/* ICAP_XFERMECH values (SX_ means Setup XFer) */ +#define TWSX_NATIVE 0 +#define TWSX_FILE 1 +#define TWSX_MEMORY 2 + +/* ICAP_UNITS values (UN_ means UNits) */ +#define TWUN_INCHES 0 +#define TWUN_CENTIMETERS 1 +#define TWUN_PICAS 2 +#define TWUN_POINTS 3 +#define TWUN_TWIPS 4 +#define TWUN_PIXELS 5 + +/* Added 1.5 */ +/* ICAP_BITDEPTHREDUCTION values (BR_ means Bitdepth Reduction) */ +#define TWBR_THRESHOLD 0 +#define TWBR_HALFTONE 1 +#define TWBR_CUSTHALFTONE 2 +#define TWBR_DIFFUSION 3 + +/* Added 1.7 */ +/* ICAP_DUPLEX values */ +#define TWDX_NONE 0 +#define TWDX_1PASSDUPLEX 1 +#define TWDX_2PASSDUPLEX 2 + +/* Added 1.7 */ +/* TWEI_BARCODETYPE values */ +#define TWBT_3OF9 0 +#define TWBT_2OF5INTERLEAVED 1 +#define TWBT_2OF5NONINTERLEAVED 2 +#define TWBT_CODE93 3 +#define TWBT_CODE128 4 +#define TWBT_UCC128 5 +#define TWBT_CODABAR 6 +#define TWBT_UPCA 7 +#define TWBT_UPCE 8 +#define TWBT_EAN8 9 +#define TWBT_EAN13 10 +#define TWBT_POSTNET 11 +#define TWBT_PDF417 12 +/* Added 1.8 */ +#define TWBT_2OF5INDUSTRIAL 13 +#define TWBT_2OF5MATRIX 14 +#define TWBT_2OF5DATALOGIC 15 +#define TWBT_2OF5IATA 16 +#define TWBT_3OF9FULLASCII 17 +#define TWBT_CODABARWITHSTARTSTOP 18 +#define TWBT_MAXICODE 19 + +/* Added 1.7 */ +/* TWEI_DESKEWSTATUS values */ +#define TWDSK_SUCCESS 0 +#define TWDSK_REPORTONLY 1 +#define TWDSK_FAIL 2 +#define TWDSK_DISABLED 3 + +/* Added 1.7 */ +/* TWEI_PATCHCODE values */ +#define TWPCH_PATCH1 0 +#define TWPCH_PATCH2 1 +#define TWPCH_PATCH3 2 +#define TWPCH_PATCH4 3 +#define TWPCH_PATCH6 4 +#define TWPCH_PATCHT 5 + +/* Added 1.7 */ +/* CAP_JOBCONTROL values */ +#define TWJC_NONE 0 +#define TWJC_JSIC 1 +#define TWJC_JSIS 2 +#define TWJC_JSXC 3 +#define TWJC_JSXS 4 + +/* Added 1.7 */ +/* TWEI_BARCODEROTATION values (BCOR_ means barcode rotation) */ +#define TWBCOR_ROT0 0 +#define TWBCOR_ROT90 1 +#define TWBCOR_ROT180 2 +#define TWBCOR_ROT270 3 +#define TWBCOR_ROTX 4 + +/* Added 1.8 */ +/* ACAP_AUDIOFILEFORMAT values (AF_ means audio format) */ +#define TWAF_WAV 0 +#define TWAF_AIFF 1 +#define TWAF_AU 3 +#define TWAF_SND 4 + +/* CAP_ALARMS values (AL_ means alarms) */ +#define TWAL_ALARM 0 +#define TWAL_FEEDERERROR 1 +#define TWAL_FEEDERWARNING 2 +#define TWAL_BARCODE 3 +#define TWAL_DOUBLEFEED 4 +#define TWAL_JAM 5 +#define TWAL_PATCHCODE 6 +#define TWAL_POWER 7 +#define TWAL_SKEW 8 + +/* CAP_CLEARBUFFERS values (CB_ means clear buffers) */ +#define TWCB_AUTO 0 +#define TWCB_CLEAR 1 +#define TWCB_NOCLEAR 2 + +/* CAP_DEVICEEVENT values (DE_ means device event) */ +#define TWDE_CUSTOMEVENTS 0x8000 +#define TWDE_CHECKAUTOMATICCAPTURE 0 +#define TWDE_CHECKBATTERY 1 +#define TWDE_CHECKDEVICEONLINE 2 +#define TWDE_CHECKFLASH 3 +#define TWDE_CHECKPOWERSUPPLY 4 +#define TWDE_CHECKRESOLUTION 5 +#define TWDE_DEVICEADDED 6 +#define TWDE_DEVICEOFFLINE 7 +#define TWDE_DEVICEREADY 8 +#define TWDE_DEVICEREMOVED 9 +#define TWDE_IMAGECAPTURED 10 +#define TWDE_IMAGEDELETED 11 +#define TWDE_PAPERDOUBLEFEED 12 +#define TWDE_PAPERJAM 13 +#define TWDE_LAMPFAILURE 14 +#define TWDE_POWERSAVE 15 +#define TWDE_POWERSAVENOTIFY 16 + +/* CAP_FEEDERALIGNMENT values (FA_ means feeder alignment) */ +#define TWFA_NONE 0 +#define TWFA_LEFT 1 +#define TWFA_CENTER 2 +#define TWFA_RIGHT 3 + +/* CAP_FEEDERORDER values (FO_ means feeder order) */ +#define TWFO_FIRSTPAGEFIRST 0 +#define TWFO_LASTPAGEFIRST 1 + +/* CAP_FILESYSTEM values (FS_ means file system) */ +#define TWFS_FILESYSTEM 0 +#define TWFS_RECURSIVEDELETE 1 + +/* CAP_POWERSUPPLY values (PS_ means power supply) */ +#define TWPS_EXTERNAL 0 +#define TWPS_BATTERY 1 + +/* CAP_PRINTER values (PR_ means printer) */ +#define TWPR_IMPRINTERTOPBEFORE 0 +#define TWPR_IMPRINTERTOPAFTER 1 +#define TWPR_IMPRINTERBOTTOMBEFORE 2 +#define TWPR_IMPRINTERBOTTOMAFTER 3 +#define TWPR_ENDORSERTOPBEFORE 4 +#define TWPR_ENDORSERTOPAFTER 5 +#define TWPR_ENDORSERBOTTOMBEFORE 6 +#define TWPR_ENDORSERBOTTOMAFTER 7 + +/* CAP_PRINTERMODE values (PM_ means printer mode) */ +#define TWPM_SINGLESTRING 0 +#define TWPM_MULTISTRING 1 +#define TWPM_COMPOUNDSTRING 2 + +/* ICAP_BARCODESEARCHMODE values (TWBD_ means search) */ +#define TWBD_HORZ 0 +#define TWBD_VERT 1 +#define TWBD_HORZVERT 2 +#define TWBD_VERTHORZ 3 + +/* ICAP_FLASHUSED2 values (FL_ means flash) */ +#define TWFL_NONE 0 +#define TWFL_OFF 1 +#define TWFL_ON 2 +#define TWFL_AUTO 3 +#define TWFL_REDEYE 4 + +/* ICAP_FLIPROTATION values (FR_ means flip rotation) */ +#define TWFR_BOOK 0 +#define TWFR_FANFOLD 1 + +/* ICAP_IMAGEFILTER values (IF_ means image filter) */ +#define TWIF_NONE 0 +#define TWIF_AUTO 1 +#define TWIF_LOWPASS 2 +#define TWIF_BANDPASS 3 +#define TWIF_HIGHPASS 4 +#define TWIF_TEXT TWIF_BANDPASS +#define TWIF_FINELINE TWIF_HIGHPASS + +/* ICAP_NOISEFILTER values (NF_ means noise filter) */ +#define TWNF_NONE 0 +#define TWNF_AUTO 1 +#define TWNF_LONEPIXEL 2 +#define TWNF_MAJORITYRULE 3 + +/* ICAP_OVERSCAN values (OV_ means overscan) */ +#define TWOV_NONE 0 +#define TWOV_AUTO 1 +#define TWOV_TOPBOTTOM 2 +#define TWOV_LEFTRIGHT 3 +#define TWOV_ALL 4 + +/* TW_FILESYSTEM.FileType values (FT_ means file type) */ +#define TWFY_CAMERA 0 +#define TWFY_CAMERATOP 1 +#define TWFY_CAMERABOTTOM 2 +#define TWFY_CAMERAPREVIEW 3 +#define TWFY_DOMAIN 4 +#define TWFY_HOST 5 +#define TWFY_DIRECTORY 6 +#define TWFY_IMAGE 7 +#define TWFY_UNKNOWN 8 + +/**************************************************************************** + * Country Constants * + ****************************************************************************/ + +#define TWCY_AFGHANISTAN 1001 +#define TWCY_ALGERIA 213 +#define TWCY_AMERICANSAMOA 684 +#define TWCY_ANDORRA 033 +#define TWCY_ANGOLA 1002 +#define TWCY_ANGUILLA 8090 +#define TWCY_ANTIGUA 8091 +#define TWCY_ARGENTINA 54 +#define TWCY_ARUBA 297 +#define TWCY_ASCENSIONI 247 +#define TWCY_AUSTRALIA 61 +#define TWCY_AUSTRIA 43 +#define TWCY_BAHAMAS 8092 +#define TWCY_BAHRAIN 973 +#define TWCY_BANGLADESH 880 +#define TWCY_BARBADOS 8093 +#define TWCY_BELGIUM 32 +#define TWCY_BELIZE 501 +#define TWCY_BENIN 229 +#define TWCY_BERMUDA 8094 +#define TWCY_BHUTAN 1003 +#define TWCY_BOLIVIA 591 +#define TWCY_BOTSWANA 267 +#define TWCY_BRITAIN 6 +#define TWCY_BRITVIRGINIS 8095 +#define TWCY_BRAZIL 55 +#define TWCY_BRUNEI 673 +#define TWCY_BULGARIA 359 +#define TWCY_BURKINAFASO 1004 +#define TWCY_BURMA 1005 +#define TWCY_BURUNDI 1006 +#define TWCY_CAMAROON 237 +#define TWCY_CANADA 2 +#define TWCY_CAPEVERDEIS 238 +#define TWCY_CAYMANIS 8096 +#define TWCY_CENTRALAFREP 1007 +#define TWCY_CHAD 1008 +#define TWCY_CHILE 56 +#define TWCY_CHINA 86 +#define TWCY_CHRISTMASIS 1009 +#define TWCY_COCOSIS 1009 +#define TWCY_COLOMBIA 57 +#define TWCY_COMOROS 1010 +#define TWCY_CONGO 1011 +#define TWCY_COOKIS 1012 +#define TWCY_COSTARICA 506 +#define TWCY_CUBA 005 +#define TWCY_CYPRUS 357 +#define TWCY_CZECHOSLOVAKIA 42 +#define TWCY_DENMARK 45 +#define TWCY_DJIBOUTI 1013 +#define TWCY_DOMINICA 8097 +#define TWCY_DOMINCANREP 8098 +#define TWCY_EASTERIS 1014 +#define TWCY_ECUADOR 593 +#define TWCY_EGYPT 20 +#define TWCY_ELSALVADOR 503 +#define TWCY_EQGUINEA 1015 +#define TWCY_ETHIOPIA 251 +#define TWCY_FALKLANDIS 1016 +#define TWCY_FAEROEIS 298 +#define TWCY_FIJIISLANDS 679 +#define TWCY_FINLAND 358 +#define TWCY_FRANCE 33 +#define TWCY_FRANTILLES 596 +#define TWCY_FRGUIANA 594 +#define TWCY_FRPOLYNEISA 689 +#define TWCY_FUTANAIS 1043 +#define TWCY_GABON 241 +#define TWCY_GAMBIA 220 +#define TWCY_GERMANY 49 +#define TWCY_GHANA 233 +#define TWCY_GIBRALTER 350 +#define TWCY_GREECE 30 +#define TWCY_GREENLAND 299 +#define TWCY_GRENADA 8099 +#define TWCY_GRENEDINES 8015 +#define TWCY_GUADELOUPE 590 +#define TWCY_GUAM 671 +#define TWCY_GUANTANAMOBAY 5399 +#define TWCY_GUATEMALA 502 +#define TWCY_GUINEA 224 +#define TWCY_GUINEABISSAU 1017 +#define TWCY_GUYANA 592 +#define TWCY_HAITI 509 +#define TWCY_HONDURAS 504 +#define TWCY_HONGKONG 852 +#define TWCY_HUNGARY 36 +#define TWCY_ICELAND 354 +#define TWCY_INDIA 91 +#define TWCY_INDONESIA 62 +#define TWCY_IRAN 98 +#define TWCY_IRAQ 964 +#define TWCY_IRELAND 353 +#define TWCY_ISRAEL 972 +#define TWCY_ITALY 39 +#define TWCY_IVORYCOAST 225 +#define TWCY_JAMAICA 8010 +#define TWCY_JAPAN 81 +#define TWCY_JORDAN 962 +#define TWCY_KENYA 254 +#define TWCY_KIRIBATI 1018 +#define TWCY_KOREA 82 +#define TWCY_KUWAIT 965 +#define TWCY_LAOS 1019 +#define TWCY_LEBANON 1020 +#define TWCY_LIBERIA 231 +#define TWCY_LIBYA 218 +#define TWCY_LIECHTENSTEIN 41 +#define TWCY_LUXENBOURG 352 +#define TWCY_MACAO 853 +#define TWCY_MADAGASCAR 1021 +#define TWCY_MALAWI 265 +#define TWCY_MALAYSIA 60 +#define TWCY_MALDIVES 960 +#define TWCY_MALI 1022 +#define TWCY_MALTA 356 +#define TWCY_MARSHALLIS 692 +#define TWCY_MAURITANIA 1023 +#define TWCY_MAURITIUS 230 +#define TWCY_MEXICO 3 +#define TWCY_MICRONESIA 691 +#define TWCY_MIQUELON 508 +#define TWCY_MONACO 33 +#define TWCY_MONGOLIA 1024 +#define TWCY_MONTSERRAT 8011 +#define TWCY_MOROCCO 212 +#define TWCY_MOZAMBIQUE 1025 +#define TWCY_NAMIBIA 264 +#define TWCY_NAURU 1026 +#define TWCY_NEPAL 977 +#define TWCY_NETHERLANDS 31 +#define TWCY_NETHANTILLES 599 +#define TWCY_NEVIS 8012 +#define TWCY_NEWCALEDONIA 687 +#define TWCY_NEWZEALAND 64 +#define TWCY_NICARAGUA 505 +#define TWCY_NIGER 227 +#define TWCY_NIGERIA 234 +#define TWCY_NIUE 1027 +#define TWCY_NORFOLKI 1028 +#define TWCY_NORWAY 47 +#define TWCY_OMAN 968 +#define TWCY_PAKISTAN 92 +#define TWCY_PALAU 1029 +#define TWCY_PANAMA 507 +#define TWCY_PARAGUAY 595 +#define TWCY_PERU 51 +#define TWCY_PHILLIPPINES 63 +#define TWCY_PITCAIRNIS 1030 +#define TWCY_PNEWGUINEA 675 +#define TWCY_POLAND 48 +#define TWCY_PORTUGAL 351 +#define TWCY_QATAR 974 +#define TWCY_REUNIONI 1031 +#define TWCY_ROMANIA 40 +#define TWCY_RWANDA 250 +#define TWCY_SAIPAN 670 +#define TWCY_SANMARINO 39 +#define TWCY_SAOTOME 1033 +#define TWCY_SAUDIARABIA 966 +#define TWCY_SENEGAL 221 +#define TWCY_SEYCHELLESIS 1034 +#define TWCY_SIERRALEONE 1035 +#define TWCY_SINGAPORE 65 +#define TWCY_SOLOMONIS 1036 +#define TWCY_SOMALI 1037 +#define TWCY_SOUTHAFRICA 27 +#define TWCY_SPAIN 34 +#define TWCY_SRILANKA 94 +#define TWCY_STHELENA 1032 +#define TWCY_STKITTS 8013 +#define TWCY_STLUCIA 8014 +#define TWCY_STPIERRE 508 +#define TWCY_STVINCENT 8015 +#define TWCY_SUDAN 1038 +#define TWCY_SURINAME 597 +#define TWCY_SWAZILAND 268 +#define TWCY_SWEDEN 46 +#define TWCY_SWITZERLAND 41 +#define TWCY_SYRIA 1039 +#define TWCY_TAIWAN 886 +#define TWCY_TANZANIA 255 +#define TWCY_THAILAND 66 +#define TWCY_TOBAGO 8016 +#define TWCY_TOGO 228 +#define TWCY_TONGAIS 676 +#define TWCY_TRINIDAD 8016 +#define TWCY_TUNISIA 216 +#define TWCY_TURKEY 90 +#define TWCY_TURKSCAICOS 8017 +#define TWCY_TUVALU 1040 +#define TWCY_UGANDA 256 +#define TWCY_USSR 7 +#define TWCY_UAEMIRATES 971 +#define TWCY_UNITEDKINGDOM 44 +#define TWCY_USA 1 +#define TWCY_URUGUAY 598 +#define TWCY_VANUATU 1041 +#define TWCY_VATICANCITY 39 +#define TWCY_VENEZUELA 58 +#define TWCY_WAKE 1042 +#define TWCY_WALLISIS 1043 +#define TWCY_WESTERNSAHARA 1044 +#define TWCY_WESTERNSAMOA 1045 +#define TWCY_YEMEN 1046 +#define TWCY_YUGOSLAVIA 38 +#define TWCY_ZAIRE 243 +#define TWCY_ZAMBIA 260 +#define TWCY_ZIMBABWE 263 +/* Added for 1.8 */ +#define TWCY_ALBANIA 355 +#define TWCY_ARMENIA 374 +#define TWCY_AZERBAIJAN 994 +#define TWCY_BELARUS 375 +#define TWCY_BOSNIAHERZGO 387 +#define TWCY_CAMBODIA 855 +#define TWCY_CROATIA 385 +#define TWCY_CZECHREPUBLIC 420 +#define TWCY_DIEGOGARCIA 246 +#define TWCY_ERITREA 291 +#define TWCY_ESTONIA 372 +#define TWCY_GEORGIA 995 +#define TWCY_LATVIA 371 +#define TWCY_LESOTHO 266 +#define TWCY_LITHUANIA 370 +#define TWCY_MACEDONIA 389 +#define TWCY_MAYOTTEIS 269 +#define TWCY_MOLDOVA 373 +#define TWCY_MYANMAR 95 +#define TWCY_NORTHKOREA 850 +#define TWCY_PUERTORICO 787 +#define TWCY_RUSSIA 7 +#define TWCY_SERBIA 381 +#define TWCY_SLOVAKIA 421 +#define TWCY_SLOVENIA 386 +#define TWCY_SOUTHKOREA 82 +#define TWCY_UKRAINE 380 +#define TWCY_USVIRGINIS 340 +#define TWCY_VIETNAM 84 + +/**************************************************************************** + * Language Constants * + ****************************************************************************/ + +#define TWLG_DAN 0 /* Danish */ +#define TWLG_DUT 1 /* Dutch */ +#define TWLG_ENG 2 /* International English */ +#define TWLG_FCF 3 /* French Canadian */ +#define TWLG_FIN 4 /* Finnish */ +#define TWLG_FRN 5 /* French */ +#define TWLG_GER 6 /* German */ +#define TWLG_ICE 7 /* Icelandic */ +#define TWLG_ITN 8 /* Italian */ +#define TWLG_NOR 9 /* Norwegian */ +#define TWLG_POR 10 /* Portuguese */ +#define TWLG_SPA 11 /* Spanish */ +#define TWLG_SWE 12 /* Swedish */ +#define TWLG_USA 13 /* U.S. English */ +/* Added for 1.8 */ +#define TWLG_USERLOCALE -1 +#define TWLG_AFRIKAANS 14 +#define TWLG_ALBANIA 15 +#define TWLG_ARABIC 16 +#define TWLG_ARABIC_ALGERIA 17 +#define TWLG_ARABIC_BAHRAIN 18 +#define TWLG_ARABIC_EGYPT 19 +#define TWLG_ARABIC_IRAQ 20 +#define TWLG_ARABIC_JORDAN 21 +#define TWLG_ARABIC_KUWAIT 22 +#define TWLG_ARABIC_LEBANON 23 +#define TWLG_ARABIC_LIBYA 24 +#define TWLG_ARABIC_MOROCCO 25 +#define TWLG_ARABIC_OMAN 26 +#define TWLG_ARABIC_QATAR 27 +#define TWLG_ARABIC_SAUDIARABIA 28 +#define TWLG_ARABIC_SYRIA 29 +#define TWLG_ARABIC_TUNISIA 30 +#define TWLG_ARABIC_UAE 31 /* United Arabic Emirates */ +#define TWLG_ARABIC_YEMEN 32 +#define TWLG_BASQUE 33 +#define TWLG_BYELORUSSIAN 34 +#define TWLG_BULGARIAN 35 +#define TWLG_CATALAN 36 +#define TWLG_CHINESE 37 +#define TWLG_CHINESE_HONGKONG 38 +#define TWLG_CHINESE_PRC 39 /* People's Republic of China */ +#define TWLG_CHINESE_SINGAPORE 40 +#define TWLG_CHINESE_SIMPLIFIED 41 +#define TWLG_CHINESE_TAIWAN 42 +#define TWLG_CHINESE_TRADITIONAL 43 +#define TWLG_CROATIA 44 +#define TWLG_CZECH 45 +#define TWLG_DANISH TWLG_DAN +#define TWLG_DUTCH TWLG_DUT +#define TWLG_DUTCH_BELGIAN 46 +#define TWLG_ENGLISH TWLG_ENG +#define TWLG_ENGLISH_AUSTRALIAN 47 +#define TWLG_ENGLISH_CANADIAN 48 +#define TWLG_ENGLISH_IRELAND 49 +#define TWLG_ENGLISH_NEWZEALAND 50 +#define TWLG_ENGLISH_SOUTHAFRICA 51 +#define TWLG_ENGLISH_UK 52 +#define TWLG_ENGLISH_USA TWLG_USA +#define TWLG_ESTONIAN 53 +#define TWLG_FAEROESE 54 +#define TWLG_FARSI 55 +#define TWLG_FINNISH TWLG_FIN +#define TWLG_FRENCH TWLG_FRN +#define TWLG_FRENCH_BELGIAN 56 +#define TWLG_FRENCH_CANADIAN TWLG_FCF +#define TWLG_FRENCH_LUXEMBOURG 57 +#define TWLG_FRENCH_SWISS 58 +#define TWLG_GERMAN TWLG_GER +#define TWLG_GERMAN_AUSTRIAN 59 +#define TWLG_GERMAN_LUXEMBOURG 60 +#define TWLG_GERMAN_LIECHTENSTEIN 61 +#define TWLG_GERMAN_SWISS 62 +#define TWLG_GREEK 63 +#define TWLG_HEBREW 64 +#define TWLG_HUNGARIAN 65 +#define TWLG_ICELANDIC TWLG_ICE +#define TWLG_INDONESIAN 66 +#define TWLG_ITALIAN TWLG_ITN +#define TWLG_ITALIAN_SWISS 67 +#define TWLG_JAPANESE 68 +#define TWLG_KOREAN 69 +#define TWLG_KOREAN_JOHAB 70 +#define TWLG_LATVIAN 71 +#define TWLG_LITHUANIAN 72 +#define TWLG_NORWEGIAN TWLG_NOR +#define TWLG_NORWEGIAN_BOKMAL 73 +#define TWLG_NORWEGIAN_NYNORSK 74 +#define TWLG_POLISH 75 +#define TWLG_PORTUGUESE TWLG_POR +#define TWLG_PORTUGUESE_BRAZIL 76 +#define TWLG_ROMANIAN 77 +#define TWLG_RUSSIAN 78 +#define TWLG_SERBIAN_LATIN 79 +#define TWLG_SLOVAK 80 +#define TWLG_SLOVENIAN 81 +#define TWLG_SPANISH TWLG_SPA +#define TWLG_SPANISH_MEXICAN 82 +#define TWLG_SPANISH_MODERN 83 +#define TWLG_SWEDISH TWLG_SWE +#define TWLG_THAI 84 +#define TWLG_TURKISH 85 +#define TWLG_UKRANIAN 86 +/* More stuff added for 1.8 */ +#define TWLG_ASSAMESE 87 +#define TWLG_BENGALI 88 +#define TWLG_BIHARI 89 +#define TWLG_BODO 90 +#define TWLG_DOGRI 91 +#define TWLG_GUJARATI 92 +#define TWLG_HARYANVI 93 +#define TWLG_HINDI 94 +#define TWLG_KANNADA 95 +#define TWLG_KASHMIRI 96 +#define TWLG_MALAYALAM 97 +#define TWLG_MARATHI 98 +#define TWLG_MARWARI 99 +#define TWLG_MEGHALAYAN 100 +#define TWLG_MIZO 101 +#define TWLG_NAGA 102 +#define TWLG_ORISSI 103 +#define TWLG_PUNJABI 104 +#define TWLG_PUSHTU 105 +#define TWLG_SERBIAN_CYRILLIC 106 +#define TWLG_SIKKIMI 107 +#define TWLG_SWEDISH_FINLAND 108 +#define TWLG_TAMIL 109 +#define TWLG_TELUGU 110 +#define TWLG_TRIPURI 111 +#define TWLG_URDU 112 +#define TWLG_VIETNAMESE 113 + +/**************************************************************************** + * Data Groups * + ****************************************************************************/ + +/* More Data Groups may be added in the future. + * Possible candidates include text, vector graphics, sound, etc. + * NOTE: Data Group constants must be powers of 2 as they are used + * as bitflags when Application asks DSM to present a list of DSs. + */ + +#define DG_CONTROL 0x0001L /* data pertaining to control */ +#define DG_IMAGE 0x0002L /* data pertaining to raster images */ +/* Added 1.8 */ +#define DG_AUDIO 0x0004L /* data pertaining to audio */ + +/**************************************************************************** + * Data Argument Types * + ****************************************************************************/ + +/* SDH - 03/23/95 - WATCH */ +/* The thunker requires knowledge about size of data being passed in the */ +/* lpData parameter to DS_Entry (which is not readily available due to */ +/* type LPVOID. Thus, we key off the DAT_ argument to determine the size. */ +/* This has a couple implications: */ +/* 1) Any additional DAT_ features require modifications to the thunk code */ +/* for thunker support. */ +/* 2) Any applications which use the custom capabilities are not supported */ +/* under thunking since we have no way of knowing what size data (if */ +/* any) is being passed. */ + +#define DAT_NULL 0x0000 /* No data or structure. */ +#define DAT_CUSTOMBASE 0x8000 /* Base of custom DATs. */ + +/* Data Argument Types for the DG_CONTROL Data Group. */ +#define DAT_CAPABILITY 0x0001 /* TW_CAPABILITY */ +#define DAT_EVENT 0x0002 /* TW_EVENT */ +#define DAT_IDENTITY 0x0003 /* TW_IDENTITY */ +#define DAT_PARENT 0x0004 /* TW_HANDLE, application win handle in Windows */ +#define DAT_PENDINGXFERS 0x0005 /* TW_PENDINGXFERS */ +#define DAT_SETUPMEMXFER 0x0006 /* TW_SETUPMEMXFER */ +#define DAT_SETUPFILEXFER 0x0007 /* TW_SETUPFILEXFER */ +#define DAT_STATUS 0x0008 /* TW_STATUS */ +#define DAT_USERINTERFACE 0x0009 /* TW_USERINTERFACE */ +#define DAT_XFERGROUP 0x000a /* TW_UINT32 */ +/* SDH - 03/21/95 - TWUNK */ +/* Additional message required for thunker to request the special */ +/* identity information. */ +#define DAT_TWUNKIDENTITY 0x000b /* TW_TWUNKIDENTITY */ +#define DAT_CUSTOMDSDATA 0x000c /* TW_CUSTOMDSDATA. */ +/* Added 1.8 */ +#define DAT_DEVICEEVENT 0x000d /* TW_DEVICEEVENT */ +#define DAT_FILESYSTEM 0x000e /* TW_FILESYSTEM */ +#define DAT_PASSTHRU 0x000f /* TW_PASSTHRU */ + +/* Data Argument Types for the DG_IMAGE Data Group. */ +#define DAT_IMAGEINFO 0x0101 /* TW_IMAGEINFO */ +#define DAT_IMAGELAYOUT 0x0102 /* TW_IMAGELAYOUT */ +#define DAT_IMAGEMEMXFER 0x0103 /* TW_IMAGEMEMXFER */ +#define DAT_IMAGENATIVEXFER 0x0104 /* TW_UINT32 loword is hDIB, PICHandle */ +#define DAT_IMAGEFILEXFER 0x0105 /* Null data */ +#define DAT_CIECOLOR 0x0106 /* TW_CIECOLOR */ +#define DAT_GRAYRESPONSE 0x0107 /* TW_GRAYRESPONSE */ +#define DAT_RGBRESPONSE 0x0108 /* TW_RGBRESPONSE */ +#define DAT_JPEGCOMPRESSION 0x0109 /* TW_JPEGCOMPRESSION */ +#define DAT_PALETTE8 0x010a /* TW_PALETTE8 */ +#define DAT_EXTIMAGEINFO 0x010b /* TW_EXTIMAGEINFO -- for 1.7 Spec. */ + +/* Added 1.8 */ +/* Data Argument Types for the DG_AUDIO Data Group. */ +#define DAT_AUDIOFILEXFER 0x0201 /* Null data */ +#define DAT_AUDIOINFO 0x0202 /* TW_AUDIOINFO */ +#define DAT_AUDIONATIVEXFER 0x0203 /* TW_UINT32 handle to WAV, (AIFF Mac) */ + +/**************************************************************************** + * Messages * + ****************************************************************************/ + +/* All message constants are unique. + * Messages are grouped according to which DATs they are used with.*/ + +#define MSG_NULL 0x0000 /* Used in TW_EVENT structure */ +#define MSG_CUSTOMBASE 0x8000 /* Base of custom messages */ + +/* Generic messages may be used with any of several DATs. */ +#define MSG_GET 0x0001 /* Get one or more values */ +#define MSG_GETCURRENT 0x0002 /* Get current value */ +#define MSG_GETDEFAULT 0x0003 /* Get default (e.g. power up) value */ +#define MSG_GETFIRST 0x0004 /* Get first of a series of items, e.g. DSs */ +#define MSG_GETNEXT 0x0005 /* Iterate through a series of items. */ +#define MSG_SET 0x0006 /* Set one or more values */ +#define MSG_RESET 0x0007 /* Set current value to default value */ +#define MSG_QUERYSUPPORT 0x0008 /* Get supported operations on the cap. */ + +/* Messages used with DAT_NULL */ +#define MSG_XFERREADY 0x0101 /* The data source has data ready */ +#define MSG_CLOSEDSREQ 0x0102 /* Request for Application. to close DS */ +#define MSG_CLOSEDSOK 0x0103 /* Tell the Application. to save the state. */ +/* Added 1.8 */ +#define MSG_DEVICEEVENT 0X0104 /* Some event has taken place */ + +/* Messages used with a pointer to a DAT_STATUS structure */ +#define MSG_CHECKSTATUS 0x0201 /* Get status information */ + +/* Messages used with a pointer to DAT_PARENT data */ +#define MSG_OPENDSM 0x0301 /* Open the DSM */ +#define MSG_CLOSEDSM 0x0302 /* Close the DSM */ + +/* Messages used with a pointer to a DAT_IDENTITY structure */ +#define MSG_OPENDS 0x0401 /* Open a data source */ +#define MSG_CLOSEDS 0x0402 /* Close a data source */ +#define MSG_USERSELECT 0x0403 /* Put up a dialog of all DS */ + +/* Messages used with a pointer to a DAT_USERINTERFACE structure */ +#define MSG_DISABLEDS 0x0501 /* Disable data transfer in the DS */ +#define MSG_ENABLEDS 0x0502 /* Enable data transfer in the DS */ +#define MSG_ENABLEDSUIONLY 0x0503 /* Enable for saving DS state only. */ + +/* Messages used with a pointer to a DAT_EVENT structure */ +#define MSG_PROCESSEVENT 0x0601 + +/* Messages used with a pointer to a DAT_PENDINGXFERS structure */ +#define MSG_ENDXFER 0x0701 + +/* Added 1.8 */ +/* Messages used with a pointer to a DAT_FILESYSTEM structure */ +#define MSG_CHANGEDIRECTORY 0x0801 +#define MSG_CREATEDIRECTORY 0x0802 +#define MSG_DELETE 0x0803 +#define MSG_FORMATMEDIA 0x0804 +#define MSG_GETCLOSE 0x0805 +#define MSG_GETFIRSTFILE 0x0806 +#define MSG_GETINFO 0x0807 +#define MSG_GETNEXTFILE 0x0808 +#define MSG_RENAME 0x0809 + +/* Messages used with a pointer to a DAT_PASSTHRU structure */ +#define MSG_PASSTHRU 0x0901 + +/**************************************************************************** + * Capabilities * + ****************************************************************************/ + +#define CAP_CUSTOMBASE 0x8000 /* Base of custom capabilities */ + +/* all data sources are REQUIRED to support these caps */ +#define CAP_XFERCOUNT 0x0001 + +/* image data sources are REQUIRED to support these caps */ +#define ICAP_COMPRESSION 0x0100 +#define ICAP_PIXELTYPE 0x0101 +#define ICAP_UNITS 0x0102 /* default is TWUN_INCHES */ +#define ICAP_XFERMECH 0x0103 + +/* all data sources MAY support these caps */ +#define CAP_AUTHOR 0x1000 +#define CAP_CAPTION 0x1001 +#define CAP_FEEDERENABLED 0x1002 +#define CAP_FEEDERLOADED 0x1003 +#define CAP_TIMEDATE 0x1004 +#define CAP_SUPPORTEDCAPS 0x1005 +#define CAP_EXTENDEDCAPS 0x1006 +#define CAP_AUTOFEED 0x1007 +#define CAP_CLEARPAGE 0x1008 +#define CAP_FEEDPAGE 0x1009 +#define CAP_REWINDPAGE 0x100a +#define CAP_INDICATORS 0x100b /* Added 1.1 */ +#define CAP_SUPPORTEDCAPSEXT 0x100c /* Added 1.6 */ +#define CAP_PAPERDETECTABLE 0x100d /* Added 1.6 */ +#define CAP_UICONTROLLABLE 0x100e /* Added 1.6 */ +#define CAP_DEVICEONLINE 0x100f /* Added 1.6 */ +#define CAP_AUTOSCAN 0x1010 /* Added 1.6 */ +#define CAP_THUMBNAILSENABLED 0x1011 /* Added 1.7 */ +#define CAP_DUPLEX 0x1012 /* Added 1.7 */ +#define CAP_DUPLEXENABLED 0x1013 /* Added 1.7 */ +#define CAP_ENABLEDSUIONLY 0x1014 /* Added 1.7 */ +#define CAP_CUSTOMDSDATA 0x1015 /* Added 1.7 */ +#define CAP_ENDORSER 0x1016 /* Added 1.7 */ +#define CAP_JOBCONTROL 0x1017 /* Added 1.7 */ +#define CAP_ALARMS 0x1018 /* Added 1.8 */ +#define CAP_ALARMVOLUME 0x1019 /* Added 1.8 */ +#define CAP_AUTOMATICCAPTURE 0x101a /* Added 1.8 */ +#define CAP_TIMEBEFOREFIRSTCAPTURE 0x101b /* Added 1.8 */ +#define CAP_TIMEBETWEENCAPTURES 0x101c /* Added 1.8 */ +#define CAP_CLEARBUFFERS 0x101d /* Added 1.8 */ +#define CAP_MAXBATCHBUFFERS 0x101e /* Added 1.8 */ +#define CAP_DEVICETIMEDATE 0x101f /* Added 1.8 */ +#define CAP_POWERSUPPLY 0x1020 /* Added 1.8 */ +#define CAP_CAMERAPREVIEWUI 0x1021 /* Added 1.8 */ +#define CAP_DEVICEEVENT 0x1022 /* Added 1.8 */ +#define CAP_PAGEMULTIPLEACQUIRE 0x1023 /* Added 1.8 */ +#define CAP_SERIALNUMBER 0x1024 /* Added 1.8 */ +#define CAP_FILESYSTEM 0x1025 /* Added 1.8 */ +#define CAP_PRINTER 0x1026 /* Added 1.8 */ +#define CAP_PRINTERENABLED 0x1027 /* Added 1.8 */ +#define CAP_PRINTERINDEX 0x1028 /* Added 1.8 */ +#define CAP_PRINTERMODE 0x1029 /* Added 1.8 */ +#define CAP_PRINTERSTRING 0x102a /* Added 1.8 */ +#define CAP_PRINTERSUFFIX 0x102b /* Added 1.8 */ +#define CAP_LANGUAGE 0x102c /* Added 1.8 */ +#define CAP_FEEDERALIGNMENT 0x102d /* Added 1.8 */ +#define CAP_FEEDERORDER 0x102e /* Added 1.8 */ +#define CAP_PAPERBINDING 0x102f /* Added 1.8 */ +#define CAP_REACQUIREALLOWED 0x1030 /* Added 1.8 */ +#define CAP_PASSTHRU 0x1031 /* Added 1.8 */ +#define CAP_BATTERYMINUTES 0x1032 /* Added 1.8 */ +#define CAP_BATTERYPERCENTAGE 0x1033 /* Added 1.8 */ +#define CAP_POWERDOWNTIME 0x1034 /* Added 1.8 */ + +/* image data sources MAY support these caps */ +#define ICAP_AUTOBRIGHT 0x1100 +#define ICAP_BRIGHTNESS 0x1101 +#define ICAP_CONTRAST 0x1103 +#define ICAP_CUSTHALFTONE 0x1104 +#define ICAP_EXPOSURETIME 0x1105 +#define ICAP_FILTER 0x1106 +#define ICAP_FLASHUSED 0x1107 +#define ICAP_GAMMA 0x1108 +#define ICAP_HALFTONES 0x1109 +#define ICAP_HIGHLIGHT 0x110a +#define ICAP_IMAGEFILEFORMAT 0x110c +#define ICAP_LAMPSTATE 0x110d +#define ICAP_LIGHTSOURCE 0x110e +#define ICAP_ORIENTATION 0x1110 +#define ICAP_PHYSICALWIDTH 0x1111 +#define ICAP_PHYSICALHEIGHT 0x1112 +#define ICAP_SHADOW 0x1113 +#define ICAP_FRAMES 0x1114 +#define ICAP_XNATIVERESOLUTION 0x1116 +#define ICAP_YNATIVERESOLUTION 0x1117 +#define ICAP_XRESOLUTION 0x1118 +#define ICAP_YRESOLUTION 0x1119 +#define ICAP_MAXFRAMES 0x111a +#define ICAP_TILES 0x111b +#define ICAP_BITORDER 0x111c +#define ICAP_CCITTKFACTOR 0x111d +#define ICAP_LIGHTPATH 0x111e +#define ICAP_PIXELFLAVOR 0x111f +#define ICAP_PLANARCHUNKY 0x1120 +#define ICAP_ROTATION 0x1121 +#define ICAP_SUPPORTEDSIZES 0x1122 +#define ICAP_THRESHOLD 0x1123 +#define ICAP_XSCALING 0x1124 +#define ICAP_YSCALING 0x1125 +#define ICAP_BITORDERCODES 0x1126 +#define ICAP_PIXELFLAVORCODES 0x1127 +#define ICAP_JPEGPIXELTYPE 0x1128 +#define ICAP_TIMEFILL 0x112a +#define ICAP_BITDEPTH 0x112b +#define ICAP_BITDEPTHREDUCTION 0x112c /* Added 1.5 */ +#define ICAP_UNDEFINEDIMAGESIZE 0x112d /* Added 1.6 */ +#define ICAP_IMAGEDATASET 0x112e /* Added 1.7 */ +#define ICAP_EXTIMAGEINFO 0x112f /* Added 1.7 */ +#define ICAP_MINIMUMHEIGHT 0x1130 /* Added 1.7 */ +#define ICAP_MINIMUMWIDTH 0x1131 /* Added 1.7 */ +#define ICAP_AUTODISCARDBLANKPAGES 0x1134 /* Added 1.8 */ +#define ICAP_FLIPROTATION 0x1136 /* Added 1.8 */ +#define ICAP_BARCODEDETECTIONENABLED 0x1137 /* Added 1.8 */ +#define ICAP_SUPPORTEDBARCODETYPES 0x1138 /* Added 1.8 */ +#define ICAP_BARCODEMAXSEARCHPRIORITIES 0x1139 /* Added 1.8 */ +#define ICAP_BARCODESEARCHPRIORITIES 0x113a /* Added 1.8 */ +#define ICAP_BARCODESEARCHMODE 0x113b /* Added 1.8 */ +#define ICAP_BARCODEMAXRETRIES 0x113c /* Added 1.8 */ +#define ICAP_BARCODETIMEOUT 0x113d /* Added 1.8 */ +#define ICAP_ZOOMFACTOR 0x113e /* Added 1.8 */ +#define ICAP_PATCHCODEDETECTIONENABLED 0x113f /* Added 1.8 */ +#define ICAP_SUPPORTEDPATCHCODETYPES 0x1140 /* Added 1.8 */ +#define ICAP_PATCHCODEMAXSEARCHPRIORITIES 0x1141 /* Added 1.8 */ +#define ICAP_PATCHCODESEARCHPRIORITIES 0x1142 /* Added 1.8 */ +#define ICAP_PATCHCODESEARCHMODE 0x1143 /* Added 1.8 */ +#define ICAP_PATCHCODEMAXRETRIES 0x1144 /* Added 1.8 */ +#define ICAP_PATCHCODETIMEOUT 0x1145 /* Added 1.8 */ +#define ICAP_FLASHUSED2 0x1146 /* Added 1.8 */ +#define ICAP_IMAGEFILTER 0x1147 /* Added 1.8 */ +#define ICAP_NOISEFILTER 0x1148 /* Added 1.8 */ +#define ICAP_OVERSCAN 0x1149 /* Added 1.8 */ +#define ICAP_AUTOMATICBORDERDETECTION 0x1150 /* Added 1.8 */ +#define ICAP_AUTOMATICDESKEW 0x1151 /* Added 1.8 */ +#define ICAP_AUTOMATICROTATE 0x1152 /* Added 1.8 */ + +/* image data sources MAY support these audio caps */ +#define ACAP_AUDIOFILEFORMAT 0x1201 /* Added 1.8 */ +#define ACAP_XFERMECH 0x1202 /* Added 1.8 */ + +/* ----------------------------------------------------------------------- *\ + + Version 1.7: Following is Extended Image Info Attributes. + July 1997 + KHL + +\* ----------------------------------------------------------------------- */ + +#define TWEI_BARCODEX 0x1200 +#define TWEI_BARCODEY 0x1201 +#define TWEI_BARCODETEXT 0x1202 +#define TWEI_BARCODETYPE 0x1203 +#define TWEI_DESHADETOP 0x1204 +#define TWEI_DESHADELEFT 0x1205 +#define TWEI_DESHADEHEIGHT 0x1206 +#define TWEI_DESHADEWIDTH 0x1207 +#define TWEI_DESHADESIZE 0x1208 +#define TWEI_SPECKLESREMOVED 0x1209 +#define TWEI_HORZLINEXCOORD 0x120A +#define TWEI_HORZLINEYCOORD 0x120B +#define TWEI_HORZLINELENGTH 0x120C +#define TWEI_HORZLINETHICKNESS 0x120D +#define TWEI_VERTLINEXCOORD 0x120E +#define TWEI_VERTLINEYCOORD 0x120F +#define TWEI_VERTLINELENGTH 0x1210 +#define TWEI_VERTLINETHICKNESS 0x1211 +#define TWEI_PATCHCODE 0x1212 +#define TWEI_ENDORSEDTEXT 0x1213 +#define TWEI_FORMCONFIDENCE 0x1214 +#define TWEI_FORMTEMPLATEMATCH 0x1215 +#define TWEI_FORMTEMPLATEPAGEMATCH 0x1216 +#define TWEI_FORMHORZDOCOFFSET 0x1217 +#define TWEI_FORMVERTDOCOFFSET 0x1218 +#define TWEI_BARCODECOUNT 0x1219 +#define TWEI_BARCODECONFIDENCE 0x121A +#define TWEI_BARCODEROTATION 0x121B +#define TWEI_BARCODETEXTLENGTH 0x121C +#define TWEI_DESHADECOUNT 0x121D +#define TWEI_DESHADEBLACKCOUNTOLD 0x121E +#define TWEI_DESHADEBLACKCOUNTNEW 0x121F +#define TWEI_DESHADEBLACKRLMIN 0x1220 +#define TWEI_DESHADEBLACKRLMAX 0x1221 +#define TWEI_DESHADEWHITECOUNTOLD 0x1222 +#define TWEI_DESHADEWHITECOUNTNEW 0x1223 +#define TWEI_DESHADEWHITERLMIN 0x1224 +#define TWEI_DESHADEWHITERLAVE 0x1225 +#define TWEI_DESHADEWHITERLMAX 0x1226 +#define TWEI_BLACKSPECKLESREMOVED 0x1227 +#define TWEI_WHITESPECKLESREMOVED 0x1228 +#define TWEI_HORZLINECOUNT 0x1229 +#define TWEI_VERTLINECOUNT 0x122A +#define TWEI_DESKEWSTATUS 0x122B +#define TWEI_SKEWORIGINALANGLE 0x122C +#define TWEI_SKEWFINALANGLE 0x122D +#define TWEI_SKEWCONFIDENCE 0x122E +#define TWEI_SKEWWINDOWX1 0x122F +#define TWEI_SKEWWINDOWY1 0x1230 +#define TWEI_SKEWWINDOWX2 0x1231 +#define TWEI_SKEWWINDOWY2 0x1232 +#define TWEI_SKEWWINDOWX3 0x1233 +#define TWEI_SKEWWINDOWY3 0x1234 +#define TWEI_SKEWWINDOWX4 0x1235 +#define TWEI_SKEWWINDOWY4 0x1236 + +#define TWEJ_NONE 0x0000 +#define TWEJ_MIDSEPARATOR 0x0001 +#define TWEJ_PATCH1 0x0002 +#define TWEJ_PATCH2 0x0003 +#define TWEJ_PATCH3 0x0004 +#define TWEJ_PATCH4 0x0005 +#define TWEJ_PATCH6 0x0006 +#define TWEJ_PATCHT 0x0007 + +/*************************************************************************** + * Return Codes and Condition Codes section * + ***************************************************************************/ + +/* Return Codes: DSM_Entry and DS_Entry may return any one of these values. */ +#define TWRC_CUSTOMBASE 0x8000 + +#define TWRC_SUCCESS 0 +#define TWRC_FAILURE 1 /* Application may get TW_STATUS for info on failure */ +#define TWRC_CHECKSTATUS 2 /* "tried hard"; get status */ +#define TWRC_CANCEL 3 +#define TWRC_DSEVENT 4 +#define TWRC_NOTDSEVENT 5 +#define TWRC_XFERDONE 6 +#define TWRC_ENDOFLIST 7 /* After MSG_GETNEXT if nothing left */ +#define TWRC_INFONOTSUPPORTED 8 +#define TWRC_DATANOTAVAILABLE 9 + +/* Condition Codes: Application gets these by doing DG_CONTROL DAT_STATUS MSG_GET. */ +#define TWCC_CUSTOMBASE 0x8000 + +#define TWCC_SUCCESS 0 /* It worked! */ +#define TWCC_BUMMER 1 /* Failure due to unknown causes */ +#define TWCC_LOWMEMORY 2 /* Not enough memory to perform operation */ +#define TWCC_NODS 3 /* No Data Source */ +#define TWCC_MAXCONNECTIONS 4 /* DS is connected to max possible applications */ +#define TWCC_OPERATIONERROR 5 /* DS or DSM reported error, application shouldn't */ +#define TWCC_BADCAP 6 /* Unknown capability */ +#define TWCC_BADPROTOCOL 9 /* Unrecognized MSG DG DAT combination */ +#define TWCC_BADVALUE 10 /* Data parameter out of range */ +#define TWCC_SEQERROR 11 /* DG DAT MSG out of expected sequence */ +#define TWCC_BADDEST 12 /* Unknown destination Application/Source in DSM_Entry */ +#define TWCC_CAPUNSUPPORTED 13 /* Capability not supported by source */ +#define TWCC_CAPBADOPERATION 14 /* Operation not supported by capability */ +#define TWCC_CAPSEQERROR 15 /* Capability has dependency on other capability */ +/* Added 1.8 */ +#define TWCC_DENIED 16 /* File System operation is denied (file is protected) */ +#define TWCC_FILEEXISTS 17 /* Operation failed because file already exists. */ +#define TWCC_FILENOTFOUND 18 /* File not found */ +#define TWCC_NOTEMPTY 19 /* Operation failed because directory is not empty */ +#define TWCC_PAPERJAM 20 /* The feeder is jammed */ +#define TWCC_PAPERDOUBLEFEED 21 /* The feeder detected multiple pages */ +#define TWCC_FILEWRITEERROR 22 /* Error writing the file (meant for things like disk full conditions) */ +#define TWCC_CHECKDEVICEONLINE 23 /* The device went offline prior to or during this operation */ + + +/* bit patterns: for query the operation that are supported by the data source on a capability */ +/* Application gets these through DG_CONTROL/DAT_CAPABILITY/MSG_QUERYSUPPORT */ +/* Added 1.6 */ +#define TWQC_GET 0x0001 +#define TWQC_SET 0x0002 +#define TWQC_GETDEFAULT 0x0004 +#define TWQC_GETCURRENT 0x0008 +#define TWQC_RESET 0x0010 + + +/**************************************************************************** + * Entry Points * + ****************************************************************************/ + +/********************************************************************** + * Function: DSM_Entry, the only entry point into the Data Source Manager. + * + * Parameters: + * pOrigin Identifies the source module of the message. This could + * identify an Application, a Source, or the Source Manager. + * + * pDest Identifies the destination module for the message. + * This could identify an application or a data source. + * If this is NULL, the message goes to the Source Manager. + * + * DG The Data Group. + * Example: DG_IMAGE. + * + * DAT The Data Attribute Type. + * Example: DAT_IMAGEMEMXFER. + * + * MSG The message. Messages are interpreted by the destination module + * with respect to the Data Group and the Data Attribute Type. + * Example: MSG_GET. + * + * pData A pointer to the data structure or variable identified + * by the Data Attribute Type. + * Example: (TW_MEMREF)&ImageMemXfer + * where ImageMemXfer is a TW_IMAGEMEMXFER structure. + * + * Returns: + * ReturnCode + * Example: TWRC_SUCCESS. + * + ********************************************************************/ + +/* Don't mangle the name "DSM_Entry" if we're compiling in C++! */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#ifdef _MSWIN_ +TW_UINT16 FAR PASCAL DSM_Entry( pTW_IDENTITY pOrigin, + pTW_IDENTITY pDest, + TW_UINT32 DG, + TW_UINT16 DAT, + TW_UINT16 MSG, + TW_MEMREF pData); + +typedef TW_UINT16 (FAR PASCAL *DSMENTRYPROC)(pTW_IDENTITY, pTW_IDENTITY, + TW_UINT32, TW_UINT16, + TW_UINT16, TW_MEMREF); +#else /* _MSWIN_ */ + +/*FAR PASCAL TW_UINT16 DSM_Entry( pTW_IDENTITY pOrigin, + pTW_IDENTITY pDest, + TW_UINT32 DG, + TW_UINT16 DAT, + TW_UINT16 MSG, + TW_MEMREF pData);*/ + +typedef TW_UINT16 (*DSMENTRYPROC)(pTW_IDENTITY, pTW_IDENTITY, + TW_UINT32, TW_UINT16, + TW_UINT16, TW_MEMREF); +#endif /* _MSWIN_ */ + +#ifdef __cplusplus +} +#endif /* cplusplus */ + + +/********************************************************************** + * Function: DS_Entry, the entry point provided by a Data Source. + * + * Parameters: + * pOrigin Identifies the source module of the message. This could + * identify an application or the Data Source Manager. + * + * DG The Data Group. + * Example: DG_IMAGE. + * + * DAT The Data Attribute Type. + * Example: DAT_IMAGEMEMXFER. + * + * MSG The message. Messages are interpreted by the data source + * with respect to the Data Group and the Data Attribute Type. + * Example: MSG_GET. + * + * pData A pointer to the data structure or variable identified + * by the Data Attribute Type. + * Example: (TW_MEMREF)&ImageMemXfer + * where ImageMemXfer is a TW_IMAGEMEMXFER structure. + * + * Returns: + * ReturnCode + * Example: TWRC_SUCCESS. + * + * Note: + * The DSPROC type is only used by an application when it calls + * a Data Source directly, bypassing the Data Source Manager. + * + ********************************************************************/ +/* Don't mangle the name "DS_Entry" if we're compiling in C++! */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ +#ifdef _MSWIN_ + TW_UINT16 DECLSPEC_EXPORT PASCAL DS_Entry (pTW_IDENTITY pOrigin, + TW_UINT32 DG, + TW_UINT16 DAT, + TW_UINT16 MSG, + TW_MEMREF pData); + + typedef TW_UINT16 (FAR PASCAL *DSENTRYPROC) (pTW_IDENTITY pOrigin, + TW_UINT32 DG, + TW_UINT16 DAT, + TW_UINT16 MSG, + TW_MEMREF pData); +#else /* _MSWIN_ */ +/*FAR PASCAL TW_UINT16 DS_Entry( pTW_IDENTITY pOrigin, + TW_UINT32 DG, + TW_UINT16 DAT, + TW_UINT16 MSG, + TW_MEMREF pData);*/ + +typedef TW_UINT16 (*DSENTRYPROC)(pTW_IDENTITY, + TW_UINT32, TW_UINT16, + TW_UINT16, TW_MEMREF); +#endif /* _MSWIN_ */ +#ifdef __cplusplus +} +#endif /* cplusplus */ + +/* The Twain structures must be packed on 2 byte alignment */ +#include "poppack.h" + +#endif /* TWAIN */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txcoord.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txcoord.h new file mode 100644 index 0000000..028016c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txcoord.h @@ -0,0 +1,1860 @@ +/*** Autogenerated by WIDL 2.18 from txcoord.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __txcoord_h__ +#define __txcoord_h__ + +/* Forward declarations */ + +#ifndef __ITransactionResourceAsync_FWD_DEFINED__ +#define __ITransactionResourceAsync_FWD_DEFINED__ +typedef interface ITransactionResourceAsync ITransactionResourceAsync; +#ifdef __cplusplus +interface ITransactionResourceAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionLastResourceAsync_FWD_DEFINED__ +#define __ITransactionLastResourceAsync_FWD_DEFINED__ +typedef interface ITransactionLastResourceAsync ITransactionLastResourceAsync; +#ifdef __cplusplus +interface ITransactionLastResourceAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionResource_FWD_DEFINED__ +#define __ITransactionResource_FWD_DEFINED__ +typedef interface ITransactionResource ITransactionResource; +#ifdef __cplusplus +interface ITransactionResource; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionEnlistmentAsync_FWD_DEFINED__ +#define __ITransactionEnlistmentAsync_FWD_DEFINED__ +typedef interface ITransactionEnlistmentAsync ITransactionEnlistmentAsync; +#ifdef __cplusplus +interface ITransactionEnlistmentAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionLastEnlistmentAsync_FWD_DEFINED__ +#define __ITransactionLastEnlistmentAsync_FWD_DEFINED__ +typedef interface ITransactionLastEnlistmentAsync ITransactionLastEnlistmentAsync; +#ifdef __cplusplus +interface ITransactionLastEnlistmentAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionExportFactory_FWD_DEFINED__ +#define __ITransactionExportFactory_FWD_DEFINED__ +typedef interface ITransactionExportFactory ITransactionExportFactory; +#ifdef __cplusplus +interface ITransactionExportFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionImportWhereabouts_FWD_DEFINED__ +#define __ITransactionImportWhereabouts_FWD_DEFINED__ +typedef interface ITransactionImportWhereabouts ITransactionImportWhereabouts; +#ifdef __cplusplus +interface ITransactionImportWhereabouts; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionExport_FWD_DEFINED__ +#define __ITransactionExport_FWD_DEFINED__ +typedef interface ITransactionExport ITransactionExport; +#ifdef __cplusplus +interface ITransactionExport; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionImport_FWD_DEFINED__ +#define __ITransactionImport_FWD_DEFINED__ +typedef interface ITransactionImport ITransactionImport; +#ifdef __cplusplus +interface ITransactionImport; +#endif /* __cplusplus */ +#endif + +#ifndef __ITipTransaction_FWD_DEFINED__ +#define __ITipTransaction_FWD_DEFINED__ +typedef interface ITipTransaction ITipTransaction; +#ifdef __cplusplus +interface ITipTransaction; +#endif /* __cplusplus */ +#endif + +#ifndef __ITipHelper_FWD_DEFINED__ +#define __ITipHelper_FWD_DEFINED__ +typedef interface ITipHelper ITipHelper; +#ifdef __cplusplus +interface ITipHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __ITipPullSink_FWD_DEFINED__ +#define __ITipPullSink_FWD_DEFINED__ +typedef interface ITipPullSink ITipPullSink; +#ifdef __cplusplus +interface ITipPullSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcNetworkAccessConfig_FWD_DEFINED__ +#define __IDtcNetworkAccessConfig_FWD_DEFINED__ +typedef interface IDtcNetworkAccessConfig IDtcNetworkAccessConfig; +#ifdef __cplusplus +interface IDtcNetworkAccessConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcNetworkAccessConfig2_FWD_DEFINED__ +#define __IDtcNetworkAccessConfig2_FWD_DEFINED__ +typedef interface IDtcNetworkAccessConfig2 IDtcNetworkAccessConfig2; +#ifdef __cplusplus +interface IDtcNetworkAccessConfig2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __ITransactionResourceAsync_FWD_DEFINED__ +#define __ITransactionResourceAsync_FWD_DEFINED__ +typedef interface ITransactionResourceAsync ITransactionResourceAsync; +#ifdef __cplusplus +interface ITransactionResourceAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionLastResourceAsync_FWD_DEFINED__ +#define __ITransactionLastResourceAsync_FWD_DEFINED__ +typedef interface ITransactionLastResourceAsync ITransactionLastResourceAsync; +#ifdef __cplusplus +interface ITransactionLastResourceAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionResource_FWD_DEFINED__ +#define __ITransactionResource_FWD_DEFINED__ +typedef interface ITransactionResource ITransactionResource; +#ifdef __cplusplus +interface ITransactionResource; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionEnlistmentAsync_FWD_DEFINED__ +#define __ITransactionEnlistmentAsync_FWD_DEFINED__ +typedef interface ITransactionEnlistmentAsync ITransactionEnlistmentAsync; +#ifdef __cplusplus +interface ITransactionEnlistmentAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionLastEnlistmentAsync_FWD_DEFINED__ +#define __ITransactionLastEnlistmentAsync_FWD_DEFINED__ +typedef interface ITransactionLastEnlistmentAsync ITransactionLastEnlistmentAsync; +#ifdef __cplusplus +interface ITransactionLastEnlistmentAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionExportFactory_FWD_DEFINED__ +#define __ITransactionExportFactory_FWD_DEFINED__ +typedef interface ITransactionExportFactory ITransactionExportFactory; +#ifdef __cplusplus +interface ITransactionExportFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionImportWhereabouts_FWD_DEFINED__ +#define __ITransactionImportWhereabouts_FWD_DEFINED__ +typedef interface ITransactionImportWhereabouts ITransactionImportWhereabouts; +#ifdef __cplusplus +interface ITransactionImportWhereabouts; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionExport_FWD_DEFINED__ +#define __ITransactionExport_FWD_DEFINED__ +typedef interface ITransactionExport ITransactionExport; +#ifdef __cplusplus +interface ITransactionExport; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionImport_FWD_DEFINED__ +#define __ITransactionImport_FWD_DEFINED__ +typedef interface ITransactionImport ITransactionImport; +#ifdef __cplusplus +interface ITransactionImport; +#endif /* __cplusplus */ +#endif + +#ifndef __ITipTransaction_FWD_DEFINED__ +#define __ITipTransaction_FWD_DEFINED__ +typedef interface ITipTransaction ITipTransaction; +#ifdef __cplusplus +interface ITipTransaction; +#endif /* __cplusplus */ +#endif + +#ifndef __ITipHelper_FWD_DEFINED__ +#define __ITipHelper_FWD_DEFINED__ +typedef interface ITipHelper ITipHelper; +#ifdef __cplusplus +interface ITipHelper; +#endif /* __cplusplus */ +#endif + +#ifndef __ITipPullSink_FWD_DEFINED__ +#define __ITipPullSink_FWD_DEFINED__ +typedef interface ITipPullSink ITipPullSink; +#ifdef __cplusplus +interface ITipPullSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcNetworkAccessConfig_FWD_DEFINED__ +#define __IDtcNetworkAccessConfig_FWD_DEFINED__ +typedef interface IDtcNetworkAccessConfig IDtcNetworkAccessConfig; +#ifdef __cplusplus +interface IDtcNetworkAccessConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcNetworkAccessConfig2_FWD_DEFINED__ +#define __IDtcNetworkAccessConfig2_FWD_DEFINED__ +typedef interface IDtcNetworkAccessConfig2 IDtcNetworkAccessConfig2; +#ifdef __cplusplus +interface IDtcNetworkAccessConfig2; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * ITransactionResourceAsync interface + */ +#ifndef __ITransactionResourceAsync_INTERFACE_DEFINED__ +#define __ITransactionResourceAsync_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionResourceAsync, 0x69e971f0, 0x23ce, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("69e971f0-23ce-11cf-ad60-00aa00a74ccd") +ITransactionResourceAsync : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PrepareRequest( + BOOL fRetaining, + DWORD grfRM, + BOOL fWantMoniker, + BOOL fSinglePhase) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitRequest( + DWORD grfRM, + XACTUOW *pNewUOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbortRequest( + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE TMDown( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionResourceAsync, 0x69e971f0, 0x23ce, 0x11cf, 0xad,0x60, 0x00,0xaa,0x00,0xa7,0x4c,0xcd) +#endif +#else +typedef struct ITransactionResourceAsyncVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionResourceAsync *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionResourceAsync *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionResourceAsync *This); + + /*** ITransactionResourceAsync methods ***/ + HRESULT (STDMETHODCALLTYPE *PrepareRequest)( + ITransactionResourceAsync *This, + BOOL fRetaining, + DWORD grfRM, + BOOL fWantMoniker, + BOOL fSinglePhase); + + HRESULT (STDMETHODCALLTYPE *CommitRequest)( + ITransactionResourceAsync *This, + DWORD grfRM, + XACTUOW *pNewUOW); + + HRESULT (STDMETHODCALLTYPE *AbortRequest)( + ITransactionResourceAsync *This, + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW); + + HRESULT (STDMETHODCALLTYPE *TMDown)( + ITransactionResourceAsync *This); + + END_INTERFACE +} ITransactionResourceAsyncVtbl; + +interface ITransactionResourceAsync { + CONST_VTBL ITransactionResourceAsyncVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionResourceAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionResourceAsync_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionResourceAsync_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionResourceAsync methods ***/ +#define ITransactionResourceAsync_PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase) (This)->lpVtbl->PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase) +#define ITransactionResourceAsync_CommitRequest(This,grfRM,pNewUOW) (This)->lpVtbl->CommitRequest(This,grfRM,pNewUOW) +#define ITransactionResourceAsync_AbortRequest(This,pboidReason,fRetaining,pNewUOW) (This)->lpVtbl->AbortRequest(This,pboidReason,fRetaining,pNewUOW) +#define ITransactionResourceAsync_TMDown(This) (This)->lpVtbl->TMDown(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionResourceAsync_QueryInterface(ITransactionResourceAsync* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionResourceAsync_AddRef(ITransactionResourceAsync* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionResourceAsync_Release(ITransactionResourceAsync* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionResourceAsync methods ***/ +static FORCEINLINE HRESULT ITransactionResourceAsync_PrepareRequest(ITransactionResourceAsync* This,BOOL fRetaining,DWORD grfRM,BOOL fWantMoniker,BOOL fSinglePhase) { + return This->lpVtbl->PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase); +} +static FORCEINLINE HRESULT ITransactionResourceAsync_CommitRequest(ITransactionResourceAsync* This,DWORD grfRM,XACTUOW *pNewUOW) { + return This->lpVtbl->CommitRequest(This,grfRM,pNewUOW); +} +static FORCEINLINE HRESULT ITransactionResourceAsync_AbortRequest(ITransactionResourceAsync* This,BOID *pboidReason,BOOL fRetaining,XACTUOW *pNewUOW) { + return This->lpVtbl->AbortRequest(This,pboidReason,fRetaining,pNewUOW); +} +static FORCEINLINE HRESULT ITransactionResourceAsync_TMDown(ITransactionResourceAsync* This) { + return This->lpVtbl->TMDown(This); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionResourceAsync_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionLastResourceAsync interface + */ +#ifndef __ITransactionLastResourceAsync_INTERFACE_DEFINED__ +#define __ITransactionLastResourceAsync_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionLastResourceAsync, 0xc82bd532, 0x5b30, 0x11d3, 0x8a,0x91, 0x00,0xc0,0x4f,0x79,0xeb,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c82bd532-5b30-11d3-8a91-00c04f79eb6d") +ITransactionLastResourceAsync : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE DelegateCommit( + DWORD grfRM) = 0; + + virtual HRESULT STDMETHODCALLTYPE ForgetRequest( + XACTUOW *pNewUOW) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionLastResourceAsync, 0xc82bd532, 0x5b30, 0x11d3, 0x8a,0x91, 0x00,0xc0,0x4f,0x79,0xeb,0x6d) +#endif +#else +typedef struct ITransactionLastResourceAsyncVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionLastResourceAsync *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionLastResourceAsync *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionLastResourceAsync *This); + + /*** ITransactionLastResourceAsync methods ***/ + HRESULT (STDMETHODCALLTYPE *DelegateCommit)( + ITransactionLastResourceAsync *This, + DWORD grfRM); + + HRESULT (STDMETHODCALLTYPE *ForgetRequest)( + ITransactionLastResourceAsync *This, + XACTUOW *pNewUOW); + + END_INTERFACE +} ITransactionLastResourceAsyncVtbl; + +interface ITransactionLastResourceAsync { + CONST_VTBL ITransactionLastResourceAsyncVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionLastResourceAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionLastResourceAsync_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionLastResourceAsync_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionLastResourceAsync methods ***/ +#define ITransactionLastResourceAsync_DelegateCommit(This,grfRM) (This)->lpVtbl->DelegateCommit(This,grfRM) +#define ITransactionLastResourceAsync_ForgetRequest(This,pNewUOW) (This)->lpVtbl->ForgetRequest(This,pNewUOW) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionLastResourceAsync_QueryInterface(ITransactionLastResourceAsync* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionLastResourceAsync_AddRef(ITransactionLastResourceAsync* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionLastResourceAsync_Release(ITransactionLastResourceAsync* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionLastResourceAsync methods ***/ +static FORCEINLINE HRESULT ITransactionLastResourceAsync_DelegateCommit(ITransactionLastResourceAsync* This,DWORD grfRM) { + return This->lpVtbl->DelegateCommit(This,grfRM); +} +static FORCEINLINE HRESULT ITransactionLastResourceAsync_ForgetRequest(ITransactionLastResourceAsync* This,XACTUOW *pNewUOW) { + return This->lpVtbl->ForgetRequest(This,pNewUOW); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionLastResourceAsync_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionResource interface + */ +#ifndef __ITransactionResource_INTERFACE_DEFINED__ +#define __ITransactionResource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionResource, 0xee5ff7b3, 0x4572, 0x11d0, 0x94,0x52, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ee5ff7b3-4572-11d0-9452-00a0c905416e") +ITransactionResource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PrepareRequest( + BOOL fRetaining, + DWORD grfRM, + BOOL fWantMoniker, + BOOL fSinglePhase) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitRequest( + DWORD grfRM, + XACTUOW *pNewUOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbortRequest( + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE TMDown( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionResource, 0xee5ff7b3, 0x4572, 0x11d0, 0x94,0x52, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct ITransactionResourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionResource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionResource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionResource *This); + + /*** ITransactionResource methods ***/ + HRESULT (STDMETHODCALLTYPE *PrepareRequest)( + ITransactionResource *This, + BOOL fRetaining, + DWORD grfRM, + BOOL fWantMoniker, + BOOL fSinglePhase); + + HRESULT (STDMETHODCALLTYPE *CommitRequest)( + ITransactionResource *This, + DWORD grfRM, + XACTUOW *pNewUOW); + + HRESULT (STDMETHODCALLTYPE *AbortRequest)( + ITransactionResource *This, + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW); + + HRESULT (STDMETHODCALLTYPE *TMDown)( + ITransactionResource *This); + + END_INTERFACE +} ITransactionResourceVtbl; + +interface ITransactionResource { + CONST_VTBL ITransactionResourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionResource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionResource_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionResource methods ***/ +#define ITransactionResource_PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase) (This)->lpVtbl->PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase) +#define ITransactionResource_CommitRequest(This,grfRM,pNewUOW) (This)->lpVtbl->CommitRequest(This,grfRM,pNewUOW) +#define ITransactionResource_AbortRequest(This,pboidReason,fRetaining,pNewUOW) (This)->lpVtbl->AbortRequest(This,pboidReason,fRetaining,pNewUOW) +#define ITransactionResource_TMDown(This) (This)->lpVtbl->TMDown(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionResource_QueryInterface(ITransactionResource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionResource_AddRef(ITransactionResource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionResource_Release(ITransactionResource* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionResource methods ***/ +static FORCEINLINE HRESULT ITransactionResource_PrepareRequest(ITransactionResource* This,BOOL fRetaining,DWORD grfRM,BOOL fWantMoniker,BOOL fSinglePhase) { + return This->lpVtbl->PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase); +} +static FORCEINLINE HRESULT ITransactionResource_CommitRequest(ITransactionResource* This,DWORD grfRM,XACTUOW *pNewUOW) { + return This->lpVtbl->CommitRequest(This,grfRM,pNewUOW); +} +static FORCEINLINE HRESULT ITransactionResource_AbortRequest(ITransactionResource* This,BOID *pboidReason,BOOL fRetaining,XACTUOW *pNewUOW) { + return This->lpVtbl->AbortRequest(This,pboidReason,fRetaining,pNewUOW); +} +static FORCEINLINE HRESULT ITransactionResource_TMDown(ITransactionResource* This) { + return This->lpVtbl->TMDown(This); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionResource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionEnlistmentAsync interface + */ +#ifndef __ITransactionEnlistmentAsync_INTERFACE_DEFINED__ +#define __ITransactionEnlistmentAsync_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionEnlistmentAsync, 0x0fb15081, 0xaf41, 0x11ce, 0xbd,0x2b, 0x20,0x4c,0x4f,0x4f,0x50,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0fb15081-af41-11ce-bd2b-204c4f4f5020") +ITransactionEnlistmentAsync : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PrepareRequestDone( + HRESULT hr, + IMoniker *pmk, + BOID *pboidReason) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitRequestDone( + HRESULT hr) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbortRequestDone( + HRESULT hr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionEnlistmentAsync, 0x0fb15081, 0xaf41, 0x11ce, 0xbd,0x2b, 0x20,0x4c,0x4f,0x4f,0x50,0x20) +#endif +#else +typedef struct ITransactionEnlistmentAsyncVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionEnlistmentAsync *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionEnlistmentAsync *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionEnlistmentAsync *This); + + /*** ITransactionEnlistmentAsync methods ***/ + HRESULT (STDMETHODCALLTYPE *PrepareRequestDone)( + ITransactionEnlistmentAsync *This, + HRESULT hr, + IMoniker *pmk, + BOID *pboidReason); + + HRESULT (STDMETHODCALLTYPE *CommitRequestDone)( + ITransactionEnlistmentAsync *This, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *AbortRequestDone)( + ITransactionEnlistmentAsync *This, + HRESULT hr); + + END_INTERFACE +} ITransactionEnlistmentAsyncVtbl; + +interface ITransactionEnlistmentAsync { + CONST_VTBL ITransactionEnlistmentAsyncVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionEnlistmentAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionEnlistmentAsync_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionEnlistmentAsync_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionEnlistmentAsync methods ***/ +#define ITransactionEnlistmentAsync_PrepareRequestDone(This,hr,pmk,pboidReason) (This)->lpVtbl->PrepareRequestDone(This,hr,pmk,pboidReason) +#define ITransactionEnlistmentAsync_CommitRequestDone(This,hr) (This)->lpVtbl->CommitRequestDone(This,hr) +#define ITransactionEnlistmentAsync_AbortRequestDone(This,hr) (This)->lpVtbl->AbortRequestDone(This,hr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionEnlistmentAsync_QueryInterface(ITransactionEnlistmentAsync* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionEnlistmentAsync_AddRef(ITransactionEnlistmentAsync* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionEnlistmentAsync_Release(ITransactionEnlistmentAsync* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionEnlistmentAsync methods ***/ +static FORCEINLINE HRESULT ITransactionEnlistmentAsync_PrepareRequestDone(ITransactionEnlistmentAsync* This,HRESULT hr,IMoniker *pmk,BOID *pboidReason) { + return This->lpVtbl->PrepareRequestDone(This,hr,pmk,pboidReason); +} +static FORCEINLINE HRESULT ITransactionEnlistmentAsync_CommitRequestDone(ITransactionEnlistmentAsync* This,HRESULT hr) { + return This->lpVtbl->CommitRequestDone(This,hr); +} +static FORCEINLINE HRESULT ITransactionEnlistmentAsync_AbortRequestDone(ITransactionEnlistmentAsync* This,HRESULT hr) { + return This->lpVtbl->AbortRequestDone(This,hr); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionEnlistmentAsync_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionLastEnlistmentAsync interface + */ +#ifndef __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__ +#define __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionLastEnlistmentAsync, 0xc82bd533, 0x5b30, 0x11d3, 0x8a,0x91, 0x00,0xc0,0x4f,0x79,0xeb,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c82bd533-5b30-11d3-8a91-00c04f79eb6d") +ITransactionLastEnlistmentAsync : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE TransactionOutcome( + XACTSTAT XactStat, + BOID *pboidReason) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionLastEnlistmentAsync, 0xc82bd533, 0x5b30, 0x11d3, 0x8a,0x91, 0x00,0xc0,0x4f,0x79,0xeb,0x6d) +#endif +#else +typedef struct ITransactionLastEnlistmentAsyncVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionLastEnlistmentAsync *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionLastEnlistmentAsync *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionLastEnlistmentAsync *This); + + /*** ITransactionLastEnlistmentAsync methods ***/ + HRESULT (STDMETHODCALLTYPE *TransactionOutcome)( + ITransactionLastEnlistmentAsync *This, + XACTSTAT XactStat, + BOID *pboidReason); + + END_INTERFACE +} ITransactionLastEnlistmentAsyncVtbl; + +interface ITransactionLastEnlistmentAsync { + CONST_VTBL ITransactionLastEnlistmentAsyncVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionLastEnlistmentAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionLastEnlistmentAsync_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionLastEnlistmentAsync_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionLastEnlistmentAsync methods ***/ +#define ITransactionLastEnlistmentAsync_TransactionOutcome(This,XactStat,pboidReason) (This)->lpVtbl->TransactionOutcome(This,XactStat,pboidReason) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionLastEnlistmentAsync_QueryInterface(ITransactionLastEnlistmentAsync* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionLastEnlistmentAsync_AddRef(ITransactionLastEnlistmentAsync* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionLastEnlistmentAsync_Release(ITransactionLastEnlistmentAsync* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionLastEnlistmentAsync methods ***/ +static FORCEINLINE HRESULT ITransactionLastEnlistmentAsync_TransactionOutcome(ITransactionLastEnlistmentAsync* This,XACTSTAT XactStat,BOID *pboidReason) { + return This->lpVtbl->TransactionOutcome(This,XactStat,pboidReason); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionExportFactory interface + */ +#ifndef __ITransactionExportFactory_INTERFACE_DEFINED__ +#define __ITransactionExportFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionExportFactory, 0xe1cf9b53, 0x8745, 0x11ce, 0xa9,0xba, 0x00,0xaa,0x00,0x6c,0x37,0x06); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e1cf9b53-8745-11ce-a9ba-00aa006c3706") +ITransactionExportFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRemoteClassId( + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE Create( + ULONG cbWhereabouts, + byte *rgbWhereabouts, + ITransactionExport **ppExport) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionExportFactory, 0xe1cf9b53, 0x8745, 0x11ce, 0xa9,0xba, 0x00,0xaa,0x00,0x6c,0x37,0x06) +#endif +#else +typedef struct ITransactionExportFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionExportFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionExportFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionExportFactory *This); + + /*** ITransactionExportFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRemoteClassId)( + ITransactionExportFactory *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *Create)( + ITransactionExportFactory *This, + ULONG cbWhereabouts, + byte *rgbWhereabouts, + ITransactionExport **ppExport); + + END_INTERFACE +} ITransactionExportFactoryVtbl; + +interface ITransactionExportFactory { + CONST_VTBL ITransactionExportFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionExportFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionExportFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionExportFactory_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionExportFactory methods ***/ +#define ITransactionExportFactory_GetRemoteClassId(This,pclsid) (This)->lpVtbl->GetRemoteClassId(This,pclsid) +#define ITransactionExportFactory_Create(This,cbWhereabouts,rgbWhereabouts,ppExport) (This)->lpVtbl->Create(This,cbWhereabouts,rgbWhereabouts,ppExport) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionExportFactory_QueryInterface(ITransactionExportFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionExportFactory_AddRef(ITransactionExportFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionExportFactory_Release(ITransactionExportFactory* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionExportFactory methods ***/ +static FORCEINLINE HRESULT ITransactionExportFactory_GetRemoteClassId(ITransactionExportFactory* This,CLSID *pclsid) { + return This->lpVtbl->GetRemoteClassId(This,pclsid); +} +static FORCEINLINE HRESULT ITransactionExportFactory_Create(ITransactionExportFactory* This,ULONG cbWhereabouts,byte *rgbWhereabouts,ITransactionExport **ppExport) { + return This->lpVtbl->Create(This,cbWhereabouts,rgbWhereabouts,ppExport); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionExportFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionImportWhereabouts interface + */ +#ifndef __ITransactionImportWhereabouts_INTERFACE_DEFINED__ +#define __ITransactionImportWhereabouts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionImportWhereabouts, 0x0141fda4, 0x8fc0, 0x11ce, 0xbd,0x18, 0x20,0x4c,0x4f,0x4f,0x50,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0141fda4-8fc0-11ce-bd18-204c4f4f5020") +ITransactionImportWhereabouts : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetWhereaboutsSize( + ULONG *pcbWhereabouts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWhereabouts( + ULONG cbWhereabouts, + byte *rgbWhereabouts, + ULONG *pcbUsed) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionImportWhereabouts, 0x0141fda4, 0x8fc0, 0x11ce, 0xbd,0x18, 0x20,0x4c,0x4f,0x4f,0x50,0x20) +#endif +#else +typedef struct ITransactionImportWhereaboutsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionImportWhereabouts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionImportWhereabouts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionImportWhereabouts *This); + + /*** ITransactionImportWhereabouts methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWhereaboutsSize)( + ITransactionImportWhereabouts *This, + ULONG *pcbWhereabouts); + + HRESULT (STDMETHODCALLTYPE *GetWhereabouts)( + ITransactionImportWhereabouts *This, + ULONG cbWhereabouts, + byte *rgbWhereabouts, + ULONG *pcbUsed); + + END_INTERFACE +} ITransactionImportWhereaboutsVtbl; + +interface ITransactionImportWhereabouts { + CONST_VTBL ITransactionImportWhereaboutsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionImportWhereabouts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionImportWhereabouts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionImportWhereabouts_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionImportWhereabouts methods ***/ +#define ITransactionImportWhereabouts_GetWhereaboutsSize(This,pcbWhereabouts) (This)->lpVtbl->GetWhereaboutsSize(This,pcbWhereabouts) +#define ITransactionImportWhereabouts_GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed) (This)->lpVtbl->GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionImportWhereabouts_QueryInterface(ITransactionImportWhereabouts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionImportWhereabouts_AddRef(ITransactionImportWhereabouts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionImportWhereabouts_Release(ITransactionImportWhereabouts* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionImportWhereabouts methods ***/ +static FORCEINLINE HRESULT ITransactionImportWhereabouts_GetWhereaboutsSize(ITransactionImportWhereabouts* This,ULONG *pcbWhereabouts) { + return This->lpVtbl->GetWhereaboutsSize(This,pcbWhereabouts); +} +static FORCEINLINE HRESULT ITransactionImportWhereabouts_GetWhereabouts(ITransactionImportWhereabouts* This,ULONG cbWhereabouts,byte *rgbWhereabouts,ULONG *pcbUsed) { + return This->lpVtbl->GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionImportWhereabouts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionExport interface + */ +#ifndef __ITransactionExport_INTERFACE_DEFINED__ +#define __ITransactionExport_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionExport, 0x0141fda5, 0x8fc0, 0x11ce, 0xbd,0x18, 0x20,0x4c,0x4f,0x4f,0x50,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0141fda5-8fc0-11ce-bd18-204c4f4f5020") +ITransactionExport : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Export( + IUnknown *punkTransaction, + ULONG *pcbTransactionCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransactionCookie( + IUnknown *punkTransaction, + ULONG cbTransactionCookie, + byte *rgbTransactionCookie, + ULONG *pcbUsed) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionExport, 0x0141fda5, 0x8fc0, 0x11ce, 0xbd,0x18, 0x20,0x4c,0x4f,0x4f,0x50,0x20) +#endif +#else +typedef struct ITransactionExportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionExport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionExport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionExport *This); + + /*** ITransactionExport methods ***/ + HRESULT (STDMETHODCALLTYPE *Export)( + ITransactionExport *This, + IUnknown *punkTransaction, + ULONG *pcbTransactionCookie); + + HRESULT (STDMETHODCALLTYPE *GetTransactionCookie)( + ITransactionExport *This, + IUnknown *punkTransaction, + ULONG cbTransactionCookie, + byte *rgbTransactionCookie, + ULONG *pcbUsed); + + END_INTERFACE +} ITransactionExportVtbl; + +interface ITransactionExport { + CONST_VTBL ITransactionExportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionExport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionExport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionExport_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionExport methods ***/ +#define ITransactionExport_Export(This,punkTransaction,pcbTransactionCookie) (This)->lpVtbl->Export(This,punkTransaction,pcbTransactionCookie) +#define ITransactionExport_GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed) (This)->lpVtbl->GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionExport_QueryInterface(ITransactionExport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionExport_AddRef(ITransactionExport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionExport_Release(ITransactionExport* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionExport methods ***/ +static FORCEINLINE HRESULT ITransactionExport_Export(ITransactionExport* This,IUnknown *punkTransaction,ULONG *pcbTransactionCookie) { + return This->lpVtbl->Export(This,punkTransaction,pcbTransactionCookie); +} +static FORCEINLINE HRESULT ITransactionExport_GetTransactionCookie(ITransactionExport* This,IUnknown *punkTransaction,ULONG cbTransactionCookie,byte *rgbTransactionCookie,ULONG *pcbUsed) { + return This->lpVtbl->GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionExport_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionImport interface + */ +#ifndef __ITransactionImport_INTERFACE_DEFINED__ +#define __ITransactionImport_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionImport, 0xe1cf9b5a, 0x8745, 0x11ce, 0xa9,0xba, 0x00,0xaa,0x00,0x6c,0x37,0x06); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e1cf9b5a-8745-11ce-a9ba-00aa006c3706") +ITransactionImport : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Import( + ULONG cbTransactionCookie, + byte *rgbTransactionCookie, + IID *piid, + void **ppvTransaction) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionImport, 0xe1cf9b5a, 0x8745, 0x11ce, 0xa9,0xba, 0x00,0xaa,0x00,0x6c,0x37,0x06) +#endif +#else +typedef struct ITransactionImportVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionImport *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionImport *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionImport *This); + + /*** ITransactionImport methods ***/ + HRESULT (STDMETHODCALLTYPE *Import)( + ITransactionImport *This, + ULONG cbTransactionCookie, + byte *rgbTransactionCookie, + IID *piid, + void **ppvTransaction); + + END_INTERFACE +} ITransactionImportVtbl; + +interface ITransactionImport { + CONST_VTBL ITransactionImportVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionImport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionImport_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionImport_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionImport methods ***/ +#define ITransactionImport_Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction) (This)->lpVtbl->Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionImport_QueryInterface(ITransactionImport* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionImport_AddRef(ITransactionImport* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionImport_Release(ITransactionImport* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionImport methods ***/ +static FORCEINLINE HRESULT ITransactionImport_Import(ITransactionImport* This,ULONG cbTransactionCookie,byte *rgbTransactionCookie,IID *piid,void **ppvTransaction) { + return This->lpVtbl->Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionImport_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITipTransaction interface + */ +#ifndef __ITipTransaction_INTERFACE_DEFINED__ +#define __ITipTransaction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITipTransaction, 0x17cf72d0, 0xbac5, 0x11d1, 0xb1,0xbf, 0x00,0xc0,0x4f,0xc2,0xf3,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("17cf72d0-bac5-11d1-b1bf-00c04fc2f3ef") +ITipTransaction : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Push( + char *i_pszRemoteTmUrl, + char **o_ppszRemoteTxUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransactionUrl( + char **o_ppszLocalTxUrl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITipTransaction, 0x17cf72d0, 0xbac5, 0x11d1, 0xb1,0xbf, 0x00,0xc0,0x4f,0xc2,0xf3,0xef) +#endif +#else +typedef struct ITipTransactionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITipTransaction *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITipTransaction *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITipTransaction *This); + + /*** ITipTransaction methods ***/ + HRESULT (STDMETHODCALLTYPE *Push)( + ITipTransaction *This, + char *i_pszRemoteTmUrl, + char **o_ppszRemoteTxUrl); + + HRESULT (STDMETHODCALLTYPE *GetTransactionUrl)( + ITipTransaction *This, + char **o_ppszLocalTxUrl); + + END_INTERFACE +} ITipTransactionVtbl; + +interface ITipTransaction { + CONST_VTBL ITipTransactionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITipTransaction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITipTransaction_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITipTransaction_Release(This) (This)->lpVtbl->Release(This) +/*** ITipTransaction methods ***/ +#define ITipTransaction_Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl) (This)->lpVtbl->Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl) +#define ITipTransaction_GetTransactionUrl(This,o_ppszLocalTxUrl) (This)->lpVtbl->GetTransactionUrl(This,o_ppszLocalTxUrl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITipTransaction_QueryInterface(ITipTransaction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITipTransaction_AddRef(ITipTransaction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITipTransaction_Release(ITipTransaction* This) { + return This->lpVtbl->Release(This); +} +/*** ITipTransaction methods ***/ +static FORCEINLINE HRESULT ITipTransaction_Push(ITipTransaction* This,char *i_pszRemoteTmUrl,char **o_ppszRemoteTxUrl) { + return This->lpVtbl->Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl); +} +static FORCEINLINE HRESULT ITipTransaction_GetTransactionUrl(ITipTransaction* This,char **o_ppszLocalTxUrl) { + return This->lpVtbl->GetTransactionUrl(This,o_ppszLocalTxUrl); +} +#endif +#endif + +#endif + + +#endif /* __ITipTransaction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITipHelper interface + */ +#ifndef __ITipHelper_INTERFACE_DEFINED__ +#define __ITipHelper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITipHelper, 0x17cf72d1, 0xbac5, 0x11d1, 0xb1,0xbf, 0x00,0xc0,0x4f,0xc2,0xf3,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("17cf72d1-bac5-11d1-b1bf-00c04fc2f3ef") +ITipHelper : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Pull( + char *i_pszTxUrl, + ITransaction **o_ppITransaction) = 0; + + virtual HRESULT STDMETHODCALLTYPE PullAsync( + char *i_pszTxUrl, + ITipPullSink *i_pTipPullSink, + ITransaction **o_ppITransaction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalTmUrl( + char **o_ppszLocalTmUrl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITipHelper, 0x17cf72d1, 0xbac5, 0x11d1, 0xb1,0xbf, 0x00,0xc0,0x4f,0xc2,0xf3,0xef) +#endif +#else +typedef struct ITipHelperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITipHelper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITipHelper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITipHelper *This); + + /*** ITipHelper methods ***/ + HRESULT (STDMETHODCALLTYPE *Pull)( + ITipHelper *This, + char *i_pszTxUrl, + ITransaction **o_ppITransaction); + + HRESULT (STDMETHODCALLTYPE *PullAsync)( + ITipHelper *This, + char *i_pszTxUrl, + ITipPullSink *i_pTipPullSink, + ITransaction **o_ppITransaction); + + HRESULT (STDMETHODCALLTYPE *GetLocalTmUrl)( + ITipHelper *This, + char **o_ppszLocalTmUrl); + + END_INTERFACE +} ITipHelperVtbl; + +interface ITipHelper { + CONST_VTBL ITipHelperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITipHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITipHelper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITipHelper_Release(This) (This)->lpVtbl->Release(This) +/*** ITipHelper methods ***/ +#define ITipHelper_Pull(This,i_pszTxUrl,o_ppITransaction) (This)->lpVtbl->Pull(This,i_pszTxUrl,o_ppITransaction) +#define ITipHelper_PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction) (This)->lpVtbl->PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction) +#define ITipHelper_GetLocalTmUrl(This,o_ppszLocalTmUrl) (This)->lpVtbl->GetLocalTmUrl(This,o_ppszLocalTmUrl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITipHelper_QueryInterface(ITipHelper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITipHelper_AddRef(ITipHelper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITipHelper_Release(ITipHelper* This) { + return This->lpVtbl->Release(This); +} +/*** ITipHelper methods ***/ +static FORCEINLINE HRESULT ITipHelper_Pull(ITipHelper* This,char *i_pszTxUrl,ITransaction **o_ppITransaction) { + return This->lpVtbl->Pull(This,i_pszTxUrl,o_ppITransaction); +} +static FORCEINLINE HRESULT ITipHelper_PullAsync(ITipHelper* This,char *i_pszTxUrl,ITipPullSink *i_pTipPullSink,ITransaction **o_ppITransaction) { + return This->lpVtbl->PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction); +} +static FORCEINLINE HRESULT ITipHelper_GetLocalTmUrl(ITipHelper* This,char **o_ppszLocalTmUrl) { + return This->lpVtbl->GetLocalTmUrl(This,o_ppszLocalTmUrl); +} +#endif +#endif + +#endif + + +#endif /* __ITipHelper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITipPullSink interface + */ +#ifndef __ITipPullSink_INTERFACE_DEFINED__ +#define __ITipPullSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITipPullSink, 0x17cf72d2, 0xbac5, 0x11d1, 0xb1,0xbf, 0x00,0xc0,0x4f,0xc2,0xf3,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("17cf72d2-bac5-11d1-b1bf-00c04fc2f3ef") +ITipPullSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PullComplete( + HRESULT i_hrPull) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITipPullSink, 0x17cf72d2, 0xbac5, 0x11d1, 0xb1,0xbf, 0x00,0xc0,0x4f,0xc2,0xf3,0xef) +#endif +#else +typedef struct ITipPullSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITipPullSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITipPullSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITipPullSink *This); + + /*** ITipPullSink methods ***/ + HRESULT (STDMETHODCALLTYPE *PullComplete)( + ITipPullSink *This, + HRESULT i_hrPull); + + END_INTERFACE +} ITipPullSinkVtbl; + +interface ITipPullSink { + CONST_VTBL ITipPullSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITipPullSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITipPullSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITipPullSink_Release(This) (This)->lpVtbl->Release(This) +/*** ITipPullSink methods ***/ +#define ITipPullSink_PullComplete(This,i_hrPull) (This)->lpVtbl->PullComplete(This,i_hrPull) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITipPullSink_QueryInterface(ITipPullSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITipPullSink_AddRef(ITipPullSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITipPullSink_Release(ITipPullSink* This) { + return This->lpVtbl->Release(This); +} +/*** ITipPullSink methods ***/ +static FORCEINLINE HRESULT ITipPullSink_PullComplete(ITipPullSink* This,HRESULT i_hrPull) { + return This->lpVtbl->PullComplete(This,i_hrPull); +} +#endif +#endif + +#endif + + +#endif /* __ITipPullSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcNetworkAccessConfig interface + */ +#ifndef __IDtcNetworkAccessConfig_INTERFACE_DEFINED__ +#define __IDtcNetworkAccessConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcNetworkAccessConfig, 0x9797c15d, 0xa428, 0x4291, 0x87,0xb6, 0x09,0x95,0x03,0x1a,0x67,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9797c15d-a428-4291-87b6-0995031a678d") +IDtcNetworkAccessConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAnyNetworkAccess( + BOOL *pbAnyNetworkAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAnyNetworkAccess( + BOOL bAnyNetworkAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkAdministrationAccess( + BOOL *pbNetworkAdministrationAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNetworkAdministrationAccess( + BOOL bNetworkAdministrationAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkTransactionAccess( + BOOL *pbNetworkTransactionAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNetworkTransactionAccess( + BOOL bNetworkTransactionAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkClientAccess( + BOOL *pbNetworkClientAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNetworkClientAccess( + BOOL bNetworkClientAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkTIPAccess( + BOOL *pbNetworkTIPAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNetworkTIPAccess( + BOOL bNetworkTIPAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetXAAccess( + BOOL *pbXAAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetXAAccess( + BOOL bXAAccess) = 0; + + virtual HRESULT STDMETHODCALLTYPE RestartDtcService( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcNetworkAccessConfig, 0x9797c15d, 0xa428, 0x4291, 0x87,0xb6, 0x09,0x95,0x03,0x1a,0x67,0x8d) +#endif +#else +typedef struct IDtcNetworkAccessConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcNetworkAccessConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcNetworkAccessConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcNetworkAccessConfig *This); + + /*** IDtcNetworkAccessConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAnyNetworkAccess)( + IDtcNetworkAccessConfig *This, + BOOL *pbAnyNetworkAccess); + + HRESULT (STDMETHODCALLTYPE *SetAnyNetworkAccess)( + IDtcNetworkAccessConfig *This, + BOOL bAnyNetworkAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkAdministrationAccess)( + IDtcNetworkAccessConfig *This, + BOOL *pbNetworkAdministrationAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkAdministrationAccess)( + IDtcNetworkAccessConfig *This, + BOOL bNetworkAdministrationAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkTransactionAccess)( + IDtcNetworkAccessConfig *This, + BOOL *pbNetworkTransactionAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkTransactionAccess)( + IDtcNetworkAccessConfig *This, + BOOL bNetworkTransactionAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkClientAccess)( + IDtcNetworkAccessConfig *This, + BOOL *pbNetworkClientAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkClientAccess)( + IDtcNetworkAccessConfig *This, + BOOL bNetworkClientAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkTIPAccess)( + IDtcNetworkAccessConfig *This, + BOOL *pbNetworkTIPAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkTIPAccess)( + IDtcNetworkAccessConfig *This, + BOOL bNetworkTIPAccess); + + HRESULT (STDMETHODCALLTYPE *GetXAAccess)( + IDtcNetworkAccessConfig *This, + BOOL *pbXAAccess); + + HRESULT (STDMETHODCALLTYPE *SetXAAccess)( + IDtcNetworkAccessConfig *This, + BOOL bXAAccess); + + HRESULT (STDMETHODCALLTYPE *RestartDtcService)( + IDtcNetworkAccessConfig *This); + + END_INTERFACE +} IDtcNetworkAccessConfigVtbl; + +interface IDtcNetworkAccessConfig { + CONST_VTBL IDtcNetworkAccessConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcNetworkAccessConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcNetworkAccessConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcNetworkAccessConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcNetworkAccessConfig methods ***/ +#define IDtcNetworkAccessConfig_GetAnyNetworkAccess(This,pbAnyNetworkAccess) (This)->lpVtbl->GetAnyNetworkAccess(This,pbAnyNetworkAccess) +#define IDtcNetworkAccessConfig_SetAnyNetworkAccess(This,bAnyNetworkAccess) (This)->lpVtbl->SetAnyNetworkAccess(This,bAnyNetworkAccess) +#define IDtcNetworkAccessConfig_GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess) (This)->lpVtbl->GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess) +#define IDtcNetworkAccessConfig_SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess) (This)->lpVtbl->SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess) +#define IDtcNetworkAccessConfig_GetNetworkTransactionAccess(This,pbNetworkTransactionAccess) (This)->lpVtbl->GetNetworkTransactionAccess(This,pbNetworkTransactionAccess) +#define IDtcNetworkAccessConfig_SetNetworkTransactionAccess(This,bNetworkTransactionAccess) (This)->lpVtbl->SetNetworkTransactionAccess(This,bNetworkTransactionAccess) +#define IDtcNetworkAccessConfig_GetNetworkClientAccess(This,pbNetworkClientAccess) (This)->lpVtbl->GetNetworkClientAccess(This,pbNetworkClientAccess) +#define IDtcNetworkAccessConfig_SetNetworkClientAccess(This,bNetworkClientAccess) (This)->lpVtbl->SetNetworkClientAccess(This,bNetworkClientAccess) +#define IDtcNetworkAccessConfig_GetNetworkTIPAccess(This,pbNetworkTIPAccess) (This)->lpVtbl->GetNetworkTIPAccess(This,pbNetworkTIPAccess) +#define IDtcNetworkAccessConfig_SetNetworkTIPAccess(This,bNetworkTIPAccess) (This)->lpVtbl->SetNetworkTIPAccess(This,bNetworkTIPAccess) +#define IDtcNetworkAccessConfig_GetXAAccess(This,pbXAAccess) (This)->lpVtbl->GetXAAccess(This,pbXAAccess) +#define IDtcNetworkAccessConfig_SetXAAccess(This,bXAAccess) (This)->lpVtbl->SetXAAccess(This,bXAAccess) +#define IDtcNetworkAccessConfig_RestartDtcService(This) (This)->lpVtbl->RestartDtcService(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_QueryInterface(IDtcNetworkAccessConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcNetworkAccessConfig_AddRef(IDtcNetworkAccessConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcNetworkAccessConfig_Release(IDtcNetworkAccessConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcNetworkAccessConfig methods ***/ +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_GetAnyNetworkAccess(IDtcNetworkAccessConfig* This,BOOL *pbAnyNetworkAccess) { + return This->lpVtbl->GetAnyNetworkAccess(This,pbAnyNetworkAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_SetAnyNetworkAccess(IDtcNetworkAccessConfig* This,BOOL bAnyNetworkAccess) { + return This->lpVtbl->SetAnyNetworkAccess(This,bAnyNetworkAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_GetNetworkAdministrationAccess(IDtcNetworkAccessConfig* This,BOOL *pbNetworkAdministrationAccess) { + return This->lpVtbl->GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_SetNetworkAdministrationAccess(IDtcNetworkAccessConfig* This,BOOL bNetworkAdministrationAccess) { + return This->lpVtbl->SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_GetNetworkTransactionAccess(IDtcNetworkAccessConfig* This,BOOL *pbNetworkTransactionAccess) { + return This->lpVtbl->GetNetworkTransactionAccess(This,pbNetworkTransactionAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_SetNetworkTransactionAccess(IDtcNetworkAccessConfig* This,BOOL bNetworkTransactionAccess) { + return This->lpVtbl->SetNetworkTransactionAccess(This,bNetworkTransactionAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_GetNetworkClientAccess(IDtcNetworkAccessConfig* This,BOOL *pbNetworkClientAccess) { + return This->lpVtbl->GetNetworkClientAccess(This,pbNetworkClientAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_SetNetworkClientAccess(IDtcNetworkAccessConfig* This,BOOL bNetworkClientAccess) { + return This->lpVtbl->SetNetworkClientAccess(This,bNetworkClientAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_GetNetworkTIPAccess(IDtcNetworkAccessConfig* This,BOOL *pbNetworkTIPAccess) { + return This->lpVtbl->GetNetworkTIPAccess(This,pbNetworkTIPAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_SetNetworkTIPAccess(IDtcNetworkAccessConfig* This,BOOL bNetworkTIPAccess) { + return This->lpVtbl->SetNetworkTIPAccess(This,bNetworkTIPAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_GetXAAccess(IDtcNetworkAccessConfig* This,BOOL *pbXAAccess) { + return This->lpVtbl->GetXAAccess(This,pbXAAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_SetXAAccess(IDtcNetworkAccessConfig* This,BOOL bXAAccess) { + return This->lpVtbl->SetXAAccess(This,bXAAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig_RestartDtcService(IDtcNetworkAccessConfig* This) { + return This->lpVtbl->RestartDtcService(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcNetworkAccessConfig_INTERFACE_DEFINED__ */ + +typedef enum AUTHENTICATION_LEVEL { + NO_AUTHENTICATION_REQUIRED = 0, + INCOMING_AUTHENTICATION_REQUIRED = 1, + MUTUAL_AUTHENTICATION_REQUIRED = 2 +} AUTHENTICATION_LEVEL; +/***************************************************************************** + * IDtcNetworkAccessConfig2 interface + */ +#ifndef __IDtcNetworkAccessConfig2_INTERFACE_DEFINED__ +#define __IDtcNetworkAccessConfig2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcNetworkAccessConfig2, 0xa7aa013b, 0xeb7d, 0x4f42, 0xb4,0x1c, 0xb2,0xde,0xc0,0x9a,0xe0,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a7aa013b-eb7d-4f42-b41c-b2dec09ae034") +IDtcNetworkAccessConfig2 : public IDtcNetworkAccessConfig +{ + virtual HRESULT STDMETHODCALLTYPE GetNetworkInboundAccess( + BOOL *pbInbound) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNetworkOutboundAccess( + BOOL *pbOutbound) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNetworkInboundAccess( + BOOL bInbound) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNetworkOutboundAccess( + BOOL bOutbound) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAuthenticationLevel( + AUTHENTICATION_LEVEL *pAuthLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAuthenticationLevel( + AUTHENTICATION_LEVEL AuthLevel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcNetworkAccessConfig2, 0xa7aa013b, 0xeb7d, 0x4f42, 0xb4,0x1c, 0xb2,0xde,0xc0,0x9a,0xe0,0x34) +#endif +#else +typedef struct IDtcNetworkAccessConfig2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcNetworkAccessConfig2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcNetworkAccessConfig2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcNetworkAccessConfig2 *This); + + /*** IDtcNetworkAccessConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAnyNetworkAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbAnyNetworkAccess); + + HRESULT (STDMETHODCALLTYPE *SetAnyNetworkAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bAnyNetworkAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkAdministrationAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbNetworkAdministrationAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkAdministrationAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bNetworkAdministrationAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkTransactionAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbNetworkTransactionAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkTransactionAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bNetworkTransactionAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkClientAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbNetworkClientAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkClientAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bNetworkClientAccess); + + HRESULT (STDMETHODCALLTYPE *GetNetworkTIPAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbNetworkTIPAccess); + + HRESULT (STDMETHODCALLTYPE *SetNetworkTIPAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bNetworkTIPAccess); + + HRESULT (STDMETHODCALLTYPE *GetXAAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbXAAccess); + + HRESULT (STDMETHODCALLTYPE *SetXAAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bXAAccess); + + HRESULT (STDMETHODCALLTYPE *RestartDtcService)( + IDtcNetworkAccessConfig2 *This); + + /*** IDtcNetworkAccessConfig2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNetworkInboundAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbInbound); + + HRESULT (STDMETHODCALLTYPE *GetNetworkOutboundAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL *pbOutbound); + + HRESULT (STDMETHODCALLTYPE *SetNetworkInboundAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bInbound); + + HRESULT (STDMETHODCALLTYPE *SetNetworkOutboundAccess)( + IDtcNetworkAccessConfig2 *This, + BOOL bOutbound); + + HRESULT (STDMETHODCALLTYPE *GetAuthenticationLevel)( + IDtcNetworkAccessConfig2 *This, + AUTHENTICATION_LEVEL *pAuthLevel); + + HRESULT (STDMETHODCALLTYPE *SetAuthenticationLevel)( + IDtcNetworkAccessConfig2 *This, + AUTHENTICATION_LEVEL AuthLevel); + + END_INTERFACE +} IDtcNetworkAccessConfig2Vtbl; + +interface IDtcNetworkAccessConfig2 { + CONST_VTBL IDtcNetworkAccessConfig2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcNetworkAccessConfig2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcNetworkAccessConfig2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcNetworkAccessConfig2_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcNetworkAccessConfig methods ***/ +#define IDtcNetworkAccessConfig2_GetAnyNetworkAccess(This,pbAnyNetworkAccess) (This)->lpVtbl->GetAnyNetworkAccess(This,pbAnyNetworkAccess) +#define IDtcNetworkAccessConfig2_SetAnyNetworkAccess(This,bAnyNetworkAccess) (This)->lpVtbl->SetAnyNetworkAccess(This,bAnyNetworkAccess) +#define IDtcNetworkAccessConfig2_GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess) (This)->lpVtbl->GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess) +#define IDtcNetworkAccessConfig2_SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess) (This)->lpVtbl->SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess) +#define IDtcNetworkAccessConfig2_GetNetworkTransactionAccess(This,pbNetworkTransactionAccess) (This)->lpVtbl->GetNetworkTransactionAccess(This,pbNetworkTransactionAccess) +#define IDtcNetworkAccessConfig2_SetNetworkTransactionAccess(This,bNetworkTransactionAccess) (This)->lpVtbl->SetNetworkTransactionAccess(This,bNetworkTransactionAccess) +#define IDtcNetworkAccessConfig2_GetNetworkClientAccess(This,pbNetworkClientAccess) (This)->lpVtbl->GetNetworkClientAccess(This,pbNetworkClientAccess) +#define IDtcNetworkAccessConfig2_SetNetworkClientAccess(This,bNetworkClientAccess) (This)->lpVtbl->SetNetworkClientAccess(This,bNetworkClientAccess) +#define IDtcNetworkAccessConfig2_GetNetworkTIPAccess(This,pbNetworkTIPAccess) (This)->lpVtbl->GetNetworkTIPAccess(This,pbNetworkTIPAccess) +#define IDtcNetworkAccessConfig2_SetNetworkTIPAccess(This,bNetworkTIPAccess) (This)->lpVtbl->SetNetworkTIPAccess(This,bNetworkTIPAccess) +#define IDtcNetworkAccessConfig2_GetXAAccess(This,pbXAAccess) (This)->lpVtbl->GetXAAccess(This,pbXAAccess) +#define IDtcNetworkAccessConfig2_SetXAAccess(This,bXAAccess) (This)->lpVtbl->SetXAAccess(This,bXAAccess) +#define IDtcNetworkAccessConfig2_RestartDtcService(This) (This)->lpVtbl->RestartDtcService(This) +/*** IDtcNetworkAccessConfig2 methods ***/ +#define IDtcNetworkAccessConfig2_GetNetworkInboundAccess(This,pbInbound) (This)->lpVtbl->GetNetworkInboundAccess(This,pbInbound) +#define IDtcNetworkAccessConfig2_GetNetworkOutboundAccess(This,pbOutbound) (This)->lpVtbl->GetNetworkOutboundAccess(This,pbOutbound) +#define IDtcNetworkAccessConfig2_SetNetworkInboundAccess(This,bInbound) (This)->lpVtbl->SetNetworkInboundAccess(This,bInbound) +#define IDtcNetworkAccessConfig2_SetNetworkOutboundAccess(This,bOutbound) (This)->lpVtbl->SetNetworkOutboundAccess(This,bOutbound) +#define IDtcNetworkAccessConfig2_GetAuthenticationLevel(This,pAuthLevel) (This)->lpVtbl->GetAuthenticationLevel(This,pAuthLevel) +#define IDtcNetworkAccessConfig2_SetAuthenticationLevel(This,AuthLevel) (This)->lpVtbl->SetAuthenticationLevel(This,AuthLevel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_QueryInterface(IDtcNetworkAccessConfig2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcNetworkAccessConfig2_AddRef(IDtcNetworkAccessConfig2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcNetworkAccessConfig2_Release(IDtcNetworkAccessConfig2* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcNetworkAccessConfig methods ***/ +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetAnyNetworkAccess(IDtcNetworkAccessConfig2* This,BOOL *pbAnyNetworkAccess) { + return This->lpVtbl->GetAnyNetworkAccess(This,pbAnyNetworkAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetAnyNetworkAccess(IDtcNetworkAccessConfig2* This,BOOL bAnyNetworkAccess) { + return This->lpVtbl->SetAnyNetworkAccess(This,bAnyNetworkAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetNetworkAdministrationAccess(IDtcNetworkAccessConfig2* This,BOOL *pbNetworkAdministrationAccess) { + return This->lpVtbl->GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetNetworkAdministrationAccess(IDtcNetworkAccessConfig2* This,BOOL bNetworkAdministrationAccess) { + return This->lpVtbl->SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetNetworkTransactionAccess(IDtcNetworkAccessConfig2* This,BOOL *pbNetworkTransactionAccess) { + return This->lpVtbl->GetNetworkTransactionAccess(This,pbNetworkTransactionAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetNetworkTransactionAccess(IDtcNetworkAccessConfig2* This,BOOL bNetworkTransactionAccess) { + return This->lpVtbl->SetNetworkTransactionAccess(This,bNetworkTransactionAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetNetworkClientAccess(IDtcNetworkAccessConfig2* This,BOOL *pbNetworkClientAccess) { + return This->lpVtbl->GetNetworkClientAccess(This,pbNetworkClientAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetNetworkClientAccess(IDtcNetworkAccessConfig2* This,BOOL bNetworkClientAccess) { + return This->lpVtbl->SetNetworkClientAccess(This,bNetworkClientAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetNetworkTIPAccess(IDtcNetworkAccessConfig2* This,BOOL *pbNetworkTIPAccess) { + return This->lpVtbl->GetNetworkTIPAccess(This,pbNetworkTIPAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetNetworkTIPAccess(IDtcNetworkAccessConfig2* This,BOOL bNetworkTIPAccess) { + return This->lpVtbl->SetNetworkTIPAccess(This,bNetworkTIPAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetXAAccess(IDtcNetworkAccessConfig2* This,BOOL *pbXAAccess) { + return This->lpVtbl->GetXAAccess(This,pbXAAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetXAAccess(IDtcNetworkAccessConfig2* This,BOOL bXAAccess) { + return This->lpVtbl->SetXAAccess(This,bXAAccess); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_RestartDtcService(IDtcNetworkAccessConfig2* This) { + return This->lpVtbl->RestartDtcService(This); +} +/*** IDtcNetworkAccessConfig2 methods ***/ +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetNetworkInboundAccess(IDtcNetworkAccessConfig2* This,BOOL *pbInbound) { + return This->lpVtbl->GetNetworkInboundAccess(This,pbInbound); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetNetworkOutboundAccess(IDtcNetworkAccessConfig2* This,BOOL *pbOutbound) { + return This->lpVtbl->GetNetworkOutboundAccess(This,pbOutbound); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetNetworkInboundAccess(IDtcNetworkAccessConfig2* This,BOOL bInbound) { + return This->lpVtbl->SetNetworkInboundAccess(This,bInbound); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetNetworkOutboundAccess(IDtcNetworkAccessConfig2* This,BOOL bOutbound) { + return This->lpVtbl->SetNetworkOutboundAccess(This,bOutbound); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_GetAuthenticationLevel(IDtcNetworkAccessConfig2* This,AUTHENTICATION_LEVEL *pAuthLevel) { + return This->lpVtbl->GetAuthenticationLevel(This,pAuthLevel); +} +static FORCEINLINE HRESULT IDtcNetworkAccessConfig2_SetAuthenticationLevel(IDtcNetworkAccessConfig2* This,AUTHENTICATION_LEVEL AuthLevel) { + return This->lpVtbl->SetAuthenticationLevel(This,AuthLevel); +} +#endif +#endif + +#endif + + +#endif /* __IDtcNetworkAccessConfig2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __txcoord_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txcoord.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txcoord.idl new file mode 100644 index 0000000..fd17d58 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txcoord.idl @@ -0,0 +1,181 @@ +/* + * Copyright (C) 2013 Daniel Jeliński + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "transact.idl"; +import "objidl.idl"; + +interface ITransactionResourceAsync; +interface ITransactionLastResourceAsync; +interface ITransactionResource; +interface ITransactionEnlistmentAsync; +interface ITransactionLastEnlistmentAsync; +interface ITransactionExportFactory; +interface ITransactionImportWhereabouts; +interface ITransactionExport; +interface ITransactionImport; +interface ITipTransaction; +interface ITipHelper; +interface ITipPullSink; +interface IDtcNetworkAccessConfig; +interface IDtcNetworkAccessConfig2; + +[ + object, + uuid(69e971f0-23ce-11cf-ad60-00aa00a74ccd) +] +interface ITransactionResourceAsync : IUnknown { + HRESULT PrepareRequest([in]BOOL fRetaining,[in]DWORD grfRM,[in]BOOL fWantMoniker,[in]BOOL fSinglePhase); + HRESULT CommitRequest([in]DWORD grfRM,[in]XACTUOW *pNewUOW); + HRESULT AbortRequest([in]BOID *pboidReason,[in]BOOL fRetaining,[in]XACTUOW *pNewUOW); + HRESULT TMDown(void); +}; + +[ + object, + uuid(c82bd532-5b30-11d3-8a91-00c04f79eb6d) +] +interface ITransactionLastResourceAsync : IUnknown { + HRESULT DelegateCommit([in]DWORD grfRM); + HRESULT ForgetRequest([in]XACTUOW *pNewUOW); +}; + +[ + object, + uuid(ee5ff7b3-4572-11d0-9452-00a0c905416e) +] +interface ITransactionResource : IUnknown { + HRESULT PrepareRequest([in]BOOL fRetaining,[in]DWORD grfRM,[in]BOOL fWantMoniker,[in]BOOL fSinglePhase); + HRESULT CommitRequest([in]DWORD grfRM,[in]XACTUOW *pNewUOW); + HRESULT AbortRequest([in]BOID *pboidReason,[in]BOOL fRetaining,[in]XACTUOW *pNewUOW); + HRESULT TMDown(void); +}; + +[ + object, + uuid(0fb15081-af41-11ce-bd2b-204c4f4f5020) +] +interface ITransactionEnlistmentAsync : IUnknown { + HRESULT PrepareRequestDone([in]HRESULT hr,[in]IMoniker *pmk,[in]BOID *pboidReason); + HRESULT CommitRequestDone([in]HRESULT hr); + HRESULT AbortRequestDone([in]HRESULT hr); +}; + +[ + object, + uuid(c82bd533-5b30-11d3-8a91-00c04f79eb6d) +] +interface ITransactionLastEnlistmentAsync : IUnknown { + HRESULT TransactionOutcome([in]XACTSTAT XactStat,[in]BOID *pboidReason); +}; + +[ + object, + uuid(e1cf9b53-8745-11ce-a9ba-00aa006c3706) +] +interface ITransactionExportFactory : IUnknown { + HRESULT GetRemoteClassId([in]CLSID *pclsid); + HRESULT Create([in]ULONG cbWhereabouts,[in]byte *rgbWhereabouts,[out]ITransactionExport **ppExport); +}; + +[ + object, + uuid(0141fda4-8fc0-11ce-bd18-204c4f4f5020) +] +interface ITransactionImportWhereabouts : IUnknown { + HRESULT GetWhereaboutsSize([out]ULONG *pcbWhereabouts); + HRESULT GetWhereabouts([in]ULONG cbWhereabouts,[out]byte *rgbWhereabouts,[out]ULONG *pcbUsed); +}; + +[ + object, + uuid(0141fda5-8fc0-11ce-bd18-204c4f4f5020) +] +interface ITransactionExport : IUnknown { + HRESULT Export([in]IUnknown *punkTransaction,[out]ULONG *pcbTransactionCookie); + HRESULT GetTransactionCookie([in]IUnknown *punkTransaction,[in]ULONG cbTransactionCookie,[out]byte *rgbTransactionCookie,[out]ULONG *pcbUsed); +}; + +[ + object, + uuid(e1cf9b5a-8745-11ce-a9ba-00aa006c3706) +] +interface ITransactionImport : IUnknown { + HRESULT Import([in]ULONG cbTransactionCookie,[in]byte *rgbTransactionCookie,[in]IID *piid,[out,iid_is(piid)]void **ppvTransaction); +}; +[ + object, + uuid(17cf72d0-bac5-11d1-b1bf-00c04fc2f3ef) +] +interface ITipTransaction : IUnknown { + HRESULT Push([in]char *i_pszRemoteTmUrl,[out]char **o_ppszRemoteTxUrl); + HRESULT GetTransactionUrl([out]char **o_ppszLocalTxUrl); +}; +[ + object, + uuid(17cf72d1-bac5-11d1-b1bf-00c04fc2f3ef) +] +interface ITipHelper : IUnknown { + HRESULT Pull([in]char *i_pszTxUrl,[out]ITransaction **o_ppITransaction); + HRESULT PullAsync([in]char *i_pszTxUrl,[in]ITipPullSink *i_pTipPullSink,[out]ITransaction **o_ppITransaction); + HRESULT GetLocalTmUrl([out]char **o_ppszLocalTmUrl); +}; +[ + object, + uuid(17cf72d2-bac5-11d1-b1bf-00c04fc2f3ef) +] +interface ITipPullSink : IUnknown { + HRESULT PullComplete([in]HRESULT i_hrPull); +}; +[ + object, + uuid(9797c15d-a428-4291-87b6-0995031a678d) +] +interface IDtcNetworkAccessConfig : IUnknown { + HRESULT GetAnyNetworkAccess([out]BOOL *pbAnyNetworkAccess); + HRESULT SetAnyNetworkAccess([in]BOOL bAnyNetworkAccess); + HRESULT GetNetworkAdministrationAccess([out]BOOL *pbNetworkAdministrationAccess); + HRESULT SetNetworkAdministrationAccess([in]BOOL bNetworkAdministrationAccess); + HRESULT GetNetworkTransactionAccess([out]BOOL *pbNetworkTransactionAccess); + HRESULT SetNetworkTransactionAccess([in]BOOL bNetworkTransactionAccess); + HRESULT GetNetworkClientAccess([out]BOOL *pbNetworkClientAccess); + HRESULT SetNetworkClientAccess([in]BOOL bNetworkClientAccess); + HRESULT GetNetworkTIPAccess([out]BOOL *pbNetworkTIPAccess); + HRESULT SetNetworkTIPAccess([in]BOOL bNetworkTIPAccess); + HRESULT GetXAAccess([out]BOOL *pbXAAccess); + HRESULT SetXAAccess([in]BOOL bXAAccess); + HRESULT RestartDtcService(void); +}; + +typedef enum AUTHENTICATION_LEVEL { + NO_AUTHENTICATION_REQUIRED, + INCOMING_AUTHENTICATION_REQUIRED, + MUTUAL_AUTHENTICATION_REQUIRED +} AUTHENTICATION_LEVEL; + +[ + object, + uuid(a7aa013b-eb7d-4f42-b41c-b2dec09ae034) +] +interface IDtcNetworkAccessConfig2 : IDtcNetworkAccessConfig { + HRESULT GetNetworkInboundAccess([out]BOOL *pbInbound); + HRESULT GetNetworkOutboundAccess([out]BOOL *pbOutbound); + HRESULT SetNetworkInboundAccess([in]BOOL bInbound); + HRESULT SetNetworkOutboundAccess([in]BOOL bOutbound); + HRESULT GetAuthenticationLevel([out]AUTHENTICATION_LEVEL *pAuthLevel); + HRESULT SetAuthenticationLevel([in]AUTHENTICATION_LEVEL AuthLevel); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txdtc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txdtc.h new file mode 100644 index 0000000..bc1cdfe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txdtc.h @@ -0,0 +1,4398 @@ +/*** Autogenerated by WIDL 2.18 from txdtc.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __txdtc_h__ +#define __txdtc_h__ + +/* Forward declarations */ + +#ifndef __IXATransLookup_FWD_DEFINED__ +#define __IXATransLookup_FWD_DEFINED__ +typedef interface IXATransLookup IXATransLookup; +#ifdef __cplusplus +interface IXATransLookup; +#endif /* __cplusplus */ +#endif + +#ifndef __IXATransLookup2_FWD_DEFINED__ +#define __IXATransLookup2_FWD_DEFINED__ +typedef interface IXATransLookup2 IXATransLookup2; +#ifdef __cplusplus +interface IXATransLookup2; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManagerSink_FWD_DEFINED__ +#define __IResourceManagerSink_FWD_DEFINED__ +typedef interface IResourceManagerSink IResourceManagerSink; +#ifdef __cplusplus +interface IResourceManagerSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManager_FWD_DEFINED__ +#define __IResourceManager_FWD_DEFINED__ +typedef interface IResourceManager IResourceManager; +#ifdef __cplusplus +interface IResourceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __ILastResourceManager_FWD_DEFINED__ +#define __ILastResourceManager_FWD_DEFINED__ +typedef interface ILastResourceManager ILastResourceManager; +#ifdef __cplusplus +interface ILastResourceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManager2_FWD_DEFINED__ +#define __IResourceManager2_FWD_DEFINED__ +typedef interface IResourceManager2 IResourceManager2; +#ifdef __cplusplus +interface IResourceManager2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAConfig_FWD_DEFINED__ +#define __IXAConfig_FWD_DEFINED__ +typedef interface IXAConfig IXAConfig; +#ifdef __cplusplus +interface IXAConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManagerFactory_FWD_DEFINED__ +#define __IResourceManagerFactory_FWD_DEFINED__ +typedef interface IResourceManagerFactory IResourceManagerFactory; +#ifdef __cplusplus +interface IResourceManagerFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManagerFactory2_FWD_DEFINED__ +#define __IResourceManagerFactory2_FWD_DEFINED__ +typedef interface IResourceManagerFactory2 IResourceManagerFactory2; +#ifdef __cplusplus +interface IResourceManagerFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrepareInfo_FWD_DEFINED__ +#define __IPrepareInfo_FWD_DEFINED__ +typedef interface IPrepareInfo IPrepareInfo; +#ifdef __cplusplus +interface IPrepareInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrepareInfo2_FWD_DEFINED__ +#define __IPrepareInfo2_FWD_DEFINED__ +typedef interface IPrepareInfo2 IPrepareInfo2; +#ifdef __cplusplus +interface IPrepareInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __IGetDispenser_FWD_DEFINED__ +#define __IGetDispenser_FWD_DEFINED__ +typedef interface IGetDispenser IGetDispenser; +#ifdef __cplusplus +interface IGetDispenser; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionVoterBallotAsync2_FWD_DEFINED__ +#define __ITransactionVoterBallotAsync2_FWD_DEFINED__ +typedef interface ITransactionVoterBallotAsync2 ITransactionVoterBallotAsync2; +#ifdef __cplusplus +interface ITransactionVoterBallotAsync2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionVoterNotifyAsync2_FWD_DEFINED__ +#define __ITransactionVoterNotifyAsync2_FWD_DEFINED__ +typedef interface ITransactionVoterNotifyAsync2 ITransactionVoterNotifyAsync2; +#ifdef __cplusplus +interface ITransactionVoterNotifyAsync2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionVoterFactory2_FWD_DEFINED__ +#define __ITransactionVoterFactory2_FWD_DEFINED__ +typedef interface ITransactionVoterFactory2 ITransactionVoterFactory2; +#ifdef __cplusplus +interface ITransactionVoterFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__ +#define __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__ +typedef interface ITransactionPhase0EnlistmentAsync ITransactionPhase0EnlistmentAsync; +#ifdef __cplusplus +interface ITransactionPhase0EnlistmentAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionPhase0NotifyAsync_FWD_DEFINED__ +#define __ITransactionPhase0NotifyAsync_FWD_DEFINED__ +typedef interface ITransactionPhase0NotifyAsync ITransactionPhase0NotifyAsync; +#ifdef __cplusplus +interface ITransactionPhase0NotifyAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionPhase0Factory_FWD_DEFINED__ +#define __ITransactionPhase0Factory_FWD_DEFINED__ +typedef interface ITransactionPhase0Factory ITransactionPhase0Factory; +#ifdef __cplusplus +interface ITransactionPhase0Factory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionTransmitter_FWD_DEFINED__ +#define __ITransactionTransmitter_FWD_DEFINED__ +typedef interface ITransactionTransmitter ITransactionTransmitter; +#ifdef __cplusplus +interface ITransactionTransmitter; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionTransmitterFactory_FWD_DEFINED__ +#define __ITransactionTransmitterFactory_FWD_DEFINED__ +typedef interface ITransactionTransmitterFactory ITransactionTransmitterFactory; +#ifdef __cplusplus +interface ITransactionTransmitterFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionReceiver_FWD_DEFINED__ +#define __ITransactionReceiver_FWD_DEFINED__ +typedef interface ITransactionReceiver ITransactionReceiver; +#ifdef __cplusplus +interface ITransactionReceiver; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionReceiverFactory_FWD_DEFINED__ +#define __ITransactionReceiverFactory_FWD_DEFINED__ +typedef interface ITransactionReceiverFactory ITransactionReceiverFactory; +#ifdef __cplusplus +interface ITransactionReceiverFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuConfigure_FWD_DEFINED__ +#define __IDtcLuConfigure_FWD_DEFINED__ +typedef interface IDtcLuConfigure IDtcLuConfigure; +#ifdef __cplusplus +interface IDtcLuConfigure; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecovery_FWD_DEFINED__ +#define __IDtcLuRecovery_FWD_DEFINED__ +typedef interface IDtcLuRecovery IDtcLuRecovery; +#ifdef __cplusplus +interface IDtcLuRecovery; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryFactory_FWD_DEFINED__ +#define __IDtcLuRecoveryFactory_FWD_DEFINED__ +typedef interface IDtcLuRecoveryFactory IDtcLuRecoveryFactory; +#ifdef __cplusplus +interface IDtcLuRecoveryFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByDtcTransWork IDtcLuRecoveryInitiatedByDtcTransWork; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByDtcTransWork; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByDtcStatusWork IDtcLuRecoveryInitiatedByDtcStatusWork; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByDtcStatusWork; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByDtc IDtcLuRecoveryInitiatedByDtc; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByDtc; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByLuWork IDtcLuRecoveryInitiatedByLuWork; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByLuWork; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByLu IDtcLuRecoveryInitiatedByLu; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByLu; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRmEnlistment_FWD_DEFINED__ +#define __IDtcLuRmEnlistment_FWD_DEFINED__ +typedef interface IDtcLuRmEnlistment IDtcLuRmEnlistment; +#ifdef __cplusplus +interface IDtcLuRmEnlistment; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRmEnlistmentSink_FWD_DEFINED__ +#define __IDtcLuRmEnlistmentSink_FWD_DEFINED__ +typedef interface IDtcLuRmEnlistmentSink IDtcLuRmEnlistmentSink; +#ifdef __cplusplus +interface IDtcLuRmEnlistmentSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRmEnlistmentFactory_FWD_DEFINED__ +#define __IDtcLuRmEnlistmentFactory_FWD_DEFINED__ +typedef interface IDtcLuRmEnlistmentFactory IDtcLuRmEnlistmentFactory; +#ifdef __cplusplus +interface IDtcLuRmEnlistmentFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuSubordinateDtc_FWD_DEFINED__ +#define __IDtcLuSubordinateDtc_FWD_DEFINED__ +typedef interface IDtcLuSubordinateDtc IDtcLuSubordinateDtc; +#ifdef __cplusplus +interface IDtcLuSubordinateDtc; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuSubordinateDtcSink_FWD_DEFINED__ +#define __IDtcLuSubordinateDtcSink_FWD_DEFINED__ +typedef interface IDtcLuSubordinateDtcSink IDtcLuSubordinateDtcSink; +#ifdef __cplusplus +interface IDtcLuSubordinateDtcSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuSubordinateDtcFactory_FWD_DEFINED__ +#define __IDtcLuSubordinateDtcFactory_FWD_DEFINED__ +typedef interface IDtcLuSubordinateDtcFactory IDtcLuSubordinateDtcFactory; +#ifdef __cplusplus +interface IDtcLuSubordinateDtcFactory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IXATransLookup_FWD_DEFINED__ +#define __IXATransLookup_FWD_DEFINED__ +typedef interface IXATransLookup IXATransLookup; +#ifdef __cplusplus +interface IXATransLookup; +#endif /* __cplusplus */ +#endif + +#ifndef __IXATransLookup2_FWD_DEFINED__ +#define __IXATransLookup2_FWD_DEFINED__ +typedef interface IXATransLookup2 IXATransLookup2; +#ifdef __cplusplus +interface IXATransLookup2; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManagerSink_FWD_DEFINED__ +#define __IResourceManagerSink_FWD_DEFINED__ +typedef interface IResourceManagerSink IResourceManagerSink; +#ifdef __cplusplus +interface IResourceManagerSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManager_FWD_DEFINED__ +#define __IResourceManager_FWD_DEFINED__ +typedef interface IResourceManager IResourceManager; +#ifdef __cplusplus +interface IResourceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __ILastResourceManager_FWD_DEFINED__ +#define __ILastResourceManager_FWD_DEFINED__ +typedef interface ILastResourceManager ILastResourceManager; +#ifdef __cplusplus +interface ILastResourceManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManager2_FWD_DEFINED__ +#define __IResourceManager2_FWD_DEFINED__ +typedef interface IResourceManager2 IResourceManager2; +#ifdef __cplusplus +interface IResourceManager2; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAConfig_FWD_DEFINED__ +#define __IXAConfig_FWD_DEFINED__ +typedef interface IXAConfig IXAConfig; +#ifdef __cplusplus +interface IXAConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManagerFactory_FWD_DEFINED__ +#define __IResourceManagerFactory_FWD_DEFINED__ +typedef interface IResourceManagerFactory IResourceManagerFactory; +#ifdef __cplusplus +interface IResourceManagerFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IResourceManagerFactory2_FWD_DEFINED__ +#define __IResourceManagerFactory2_FWD_DEFINED__ +typedef interface IResourceManagerFactory2 IResourceManagerFactory2; +#ifdef __cplusplus +interface IResourceManagerFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrepareInfo_FWD_DEFINED__ +#define __IPrepareInfo_FWD_DEFINED__ +typedef interface IPrepareInfo IPrepareInfo; +#ifdef __cplusplus +interface IPrepareInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IPrepareInfo2_FWD_DEFINED__ +#define __IPrepareInfo2_FWD_DEFINED__ +typedef interface IPrepareInfo2 IPrepareInfo2; +#ifdef __cplusplus +interface IPrepareInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __IGetDispenser_FWD_DEFINED__ +#define __IGetDispenser_FWD_DEFINED__ +typedef interface IGetDispenser IGetDispenser; +#ifdef __cplusplus +interface IGetDispenser; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionVoterBallotAsync2_FWD_DEFINED__ +#define __ITransactionVoterBallotAsync2_FWD_DEFINED__ +typedef interface ITransactionVoterBallotAsync2 ITransactionVoterBallotAsync2; +#ifdef __cplusplus +interface ITransactionVoterBallotAsync2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionVoterNotifyAsync2_FWD_DEFINED__ +#define __ITransactionVoterNotifyAsync2_FWD_DEFINED__ +typedef interface ITransactionVoterNotifyAsync2 ITransactionVoterNotifyAsync2; +#ifdef __cplusplus +interface ITransactionVoterNotifyAsync2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionVoterFactory2_FWD_DEFINED__ +#define __ITransactionVoterFactory2_FWD_DEFINED__ +typedef interface ITransactionVoterFactory2 ITransactionVoterFactory2; +#ifdef __cplusplus +interface ITransactionVoterFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__ +#define __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__ +typedef interface ITransactionPhase0EnlistmentAsync ITransactionPhase0EnlistmentAsync; +#ifdef __cplusplus +interface ITransactionPhase0EnlistmentAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionPhase0NotifyAsync_FWD_DEFINED__ +#define __ITransactionPhase0NotifyAsync_FWD_DEFINED__ +typedef interface ITransactionPhase0NotifyAsync ITransactionPhase0NotifyAsync; +#ifdef __cplusplus +interface ITransactionPhase0NotifyAsync; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionPhase0Factory_FWD_DEFINED__ +#define __ITransactionPhase0Factory_FWD_DEFINED__ +typedef interface ITransactionPhase0Factory ITransactionPhase0Factory; +#ifdef __cplusplus +interface ITransactionPhase0Factory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionTransmitter_FWD_DEFINED__ +#define __ITransactionTransmitter_FWD_DEFINED__ +typedef interface ITransactionTransmitter ITransactionTransmitter; +#ifdef __cplusplus +interface ITransactionTransmitter; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionTransmitterFactory_FWD_DEFINED__ +#define __ITransactionTransmitterFactory_FWD_DEFINED__ +typedef interface ITransactionTransmitterFactory ITransactionTransmitterFactory; +#ifdef __cplusplus +interface ITransactionTransmitterFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionReceiver_FWD_DEFINED__ +#define __ITransactionReceiver_FWD_DEFINED__ +typedef interface ITransactionReceiver ITransactionReceiver; +#ifdef __cplusplus +interface ITransactionReceiver; +#endif /* __cplusplus */ +#endif + +#ifndef __ITransactionReceiverFactory_FWD_DEFINED__ +#define __ITransactionReceiverFactory_FWD_DEFINED__ +typedef interface ITransactionReceiverFactory ITransactionReceiverFactory; +#ifdef __cplusplus +interface ITransactionReceiverFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuConfigure_FWD_DEFINED__ +#define __IDtcLuConfigure_FWD_DEFINED__ +typedef interface IDtcLuConfigure IDtcLuConfigure; +#ifdef __cplusplus +interface IDtcLuConfigure; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecovery_FWD_DEFINED__ +#define __IDtcLuRecovery_FWD_DEFINED__ +typedef interface IDtcLuRecovery IDtcLuRecovery; +#ifdef __cplusplus +interface IDtcLuRecovery; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryFactory_FWD_DEFINED__ +#define __IDtcLuRecoveryFactory_FWD_DEFINED__ +typedef interface IDtcLuRecoveryFactory IDtcLuRecoveryFactory; +#ifdef __cplusplus +interface IDtcLuRecoveryFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByDtcTransWork IDtcLuRecoveryInitiatedByDtcTransWork; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByDtcTransWork; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByDtcStatusWork IDtcLuRecoveryInitiatedByDtcStatusWork; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByDtcStatusWork; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByDtc IDtcLuRecoveryInitiatedByDtc; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByDtc; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByLuWork IDtcLuRecoveryInitiatedByLuWork; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByLuWork; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__ +#define __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__ +typedef interface IDtcLuRecoveryInitiatedByLu IDtcLuRecoveryInitiatedByLu; +#ifdef __cplusplus +interface IDtcLuRecoveryInitiatedByLu; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRmEnlistment_FWD_DEFINED__ +#define __IDtcLuRmEnlistment_FWD_DEFINED__ +typedef interface IDtcLuRmEnlistment IDtcLuRmEnlistment; +#ifdef __cplusplus +interface IDtcLuRmEnlistment; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRmEnlistmentSink_FWD_DEFINED__ +#define __IDtcLuRmEnlistmentSink_FWD_DEFINED__ +typedef interface IDtcLuRmEnlistmentSink IDtcLuRmEnlistmentSink; +#ifdef __cplusplus +interface IDtcLuRmEnlistmentSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuRmEnlistmentFactory_FWD_DEFINED__ +#define __IDtcLuRmEnlistmentFactory_FWD_DEFINED__ +typedef interface IDtcLuRmEnlistmentFactory IDtcLuRmEnlistmentFactory; +#ifdef __cplusplus +interface IDtcLuRmEnlistmentFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuSubordinateDtc_FWD_DEFINED__ +#define __IDtcLuSubordinateDtc_FWD_DEFINED__ +typedef interface IDtcLuSubordinateDtc IDtcLuSubordinateDtc; +#ifdef __cplusplus +interface IDtcLuSubordinateDtc; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuSubordinateDtcSink_FWD_DEFINED__ +#define __IDtcLuSubordinateDtcSink_FWD_DEFINED__ +typedef interface IDtcLuSubordinateDtcSink IDtcLuSubordinateDtcSink; +#ifdef __cplusplus +interface IDtcLuSubordinateDtcSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IDtcLuSubordinateDtcFactory_FWD_DEFINED__ +#define __IDtcLuSubordinateDtcFactory_FWD_DEFINED__ +typedef interface IDtcLuSubordinateDtcFactory IDtcLuSubordinateDtcFactory; +#ifdef __cplusplus +interface IDtcLuSubordinateDtcFactory; +#endif /* __cplusplus */ +#endif + +#define XACTTOMSG(dwXact) (dwXact-0x00040000+0x40000000) +typedef enum XACT_DTC_CONSTANTS { + XACT_E_CONNECTION_REQUEST_DENIED = 0x8004d100, + XACT_E_TOOMANY_ENLISTMENTS = 0x8004d101, + XACT_E_DUPLICATE_GUID = 0x8004d102, + XACT_E_NOTSINGLEPHASE = 0x8004d103, + XACT_E_RECOVERYALREADYDONE = 0x8004d104, + XACT_E_PROTOCOL = 0x8004d105, + XACT_E_RM_FAILURE = 0x8004d106, + XACT_E_RECOVERY_FAILED = 0x8004d107, + XACT_E_LU_NOT_FOUND = 0x8004d108, + XACT_E_DUPLICATE_LU = 0x8004d109, + XACT_E_LU_NOT_CONNECTED = 0x8004d10a, + XACT_E_DUPLICATE_TRANSID = 0x8004d10b, + XACT_E_LU_BUSY = 0x8004d10c, + XACT_E_LU_NO_RECOVERY_PROCESS = 0x8004d10d, + XACT_E_LU_DOWN = 0x8004d10e, + XACT_E_LU_RECOVERING = 0x8004d10f, + XACT_E_LU_RECOVERY_MISMATCH = 0x8004d110, + XACT_E_RM_UNAVAILABLE = 0x8004d111, + XACT_E_LRMRECOVERYALREADYDONE = 0x8004d112, + XACT_E_NOLASTRESOURCEINTERFACE = 0x8004d113, + XACT_S_NONOTIFY = 0x4d100, + XACT_OK_NONOTIFY = 0x4d101, + dwUSER_MS_SQLSERVER = 0xffff +} XACT_DTC_CONSTANTS; +#ifndef _XID_T_DEFINED +#define _XID_T_DEFINED +typedef struct xid_t { + LONG32 formatID; + LONG32 gtrid_length; + LONG32 bqual_length; + char data[128]; +} XID; +#endif +/***************************************************************************** + * IXATransLookup interface + */ +#ifndef __IXATransLookup_INTERFACE_DEFINED__ +#define __IXATransLookup_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXATransLookup, 0xf3b1f131, 0xeeda, 0x11ce, 0xae,0xd4, 0x00,0xaa,0x00,0x51,0xe2,0xc4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f3b1f131-eeda-11ce-aed4-00aa0051e2c4") +IXATransLookup : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Lookup( + ITransaction **ppTransaction) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXATransLookup, 0xf3b1f131, 0xeeda, 0x11ce, 0xae,0xd4, 0x00,0xaa,0x00,0x51,0xe2,0xc4) +#endif +#else +typedef struct IXATransLookupVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXATransLookup *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXATransLookup *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXATransLookup *This); + + /*** IXATransLookup methods ***/ + HRESULT (STDMETHODCALLTYPE *Lookup)( + IXATransLookup *This, + ITransaction **ppTransaction); + + END_INTERFACE +} IXATransLookupVtbl; + +interface IXATransLookup { + CONST_VTBL IXATransLookupVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXATransLookup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXATransLookup_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXATransLookup_Release(This) (This)->lpVtbl->Release(This) +/*** IXATransLookup methods ***/ +#define IXATransLookup_Lookup(This,ppTransaction) (This)->lpVtbl->Lookup(This,ppTransaction) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXATransLookup_QueryInterface(IXATransLookup* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXATransLookup_AddRef(IXATransLookup* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXATransLookup_Release(IXATransLookup* This) { + return This->lpVtbl->Release(This); +} +/*** IXATransLookup methods ***/ +static FORCEINLINE HRESULT IXATransLookup_Lookup(IXATransLookup* This,ITransaction **ppTransaction) { + return This->lpVtbl->Lookup(This,ppTransaction); +} +#endif +#endif + +#endif + + +#endif /* __IXATransLookup_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXATransLookup2 interface + */ +#ifndef __IXATransLookup2_INTERFACE_DEFINED__ +#define __IXATransLookup2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXATransLookup2, 0xbf193c85, 0x0d1a, 0x4290, 0xb8,0x8f, 0xd2,0xcb,0x88,0x73,0xd1,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bf193c85-0d1a-4290-b88f-d2cb8873d1e7") +IXATransLookup2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Lookup( + XID *pXID, + ITransaction **ppTransaction) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXATransLookup2, 0xbf193c85, 0x0d1a, 0x4290, 0xb8,0x8f, 0xd2,0xcb,0x88,0x73,0xd1,0xe7) +#endif +#else +typedef struct IXATransLookup2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXATransLookup2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXATransLookup2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXATransLookup2 *This); + + /*** IXATransLookup2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Lookup)( + IXATransLookup2 *This, + XID *pXID, + ITransaction **ppTransaction); + + END_INTERFACE +} IXATransLookup2Vtbl; + +interface IXATransLookup2 { + CONST_VTBL IXATransLookup2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXATransLookup2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXATransLookup2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXATransLookup2_Release(This) (This)->lpVtbl->Release(This) +/*** IXATransLookup2 methods ***/ +#define IXATransLookup2_Lookup(This,pXID,ppTransaction) (This)->lpVtbl->Lookup(This,pXID,ppTransaction) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXATransLookup2_QueryInterface(IXATransLookup2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXATransLookup2_AddRef(IXATransLookup2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXATransLookup2_Release(IXATransLookup2* This) { + return This->lpVtbl->Release(This); +} +/*** IXATransLookup2 methods ***/ +static FORCEINLINE HRESULT IXATransLookup2_Lookup(IXATransLookup2* This,XID *pXID,ITransaction **ppTransaction) { + return This->lpVtbl->Lookup(This,pXID,ppTransaction); +} +#endif +#endif + +#endif + + +#endif /* __IXATransLookup2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceManagerSink interface + */ +#ifndef __IResourceManagerSink_INTERFACE_DEFINED__ +#define __IResourceManagerSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceManagerSink, 0x0d563181, 0xdefb, 0x11ce, 0xae,0xd1, 0x00,0xaa,0x00,0x51,0xe2,0xc4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("0d563181-defb-11ce-aed1-00aa0051e2c4") +IResourceManagerSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE TMDown( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceManagerSink, 0x0d563181, 0xdefb, 0x11ce, 0xae,0xd1, 0x00,0xaa,0x00,0x51,0xe2,0xc4) +#endif +#else +typedef struct IResourceManagerSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceManagerSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceManagerSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceManagerSink *This); + + /*** IResourceManagerSink methods ***/ + HRESULT (STDMETHODCALLTYPE *TMDown)( + IResourceManagerSink *This); + + END_INTERFACE +} IResourceManagerSinkVtbl; + +interface IResourceManagerSink { + CONST_VTBL IResourceManagerSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceManagerSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceManagerSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceManagerSink_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceManagerSink methods ***/ +#define IResourceManagerSink_TMDown(This) (This)->lpVtbl->TMDown(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceManagerSink_QueryInterface(IResourceManagerSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceManagerSink_AddRef(IResourceManagerSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceManagerSink_Release(IResourceManagerSink* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceManagerSink methods ***/ +static FORCEINLINE HRESULT IResourceManagerSink_TMDown(IResourceManagerSink* This) { + return This->lpVtbl->TMDown(This); +} +#endif +#endif + +#endif + + +#endif /* __IResourceManagerSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceManager interface + */ +#ifndef __IResourceManager_INTERFACE_DEFINED__ +#define __IResourceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceManager, 0x13741d21, 0x87eb, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("13741d21-87eb-11ce-8081-0080c758527e") +IResourceManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Enlist( + ITransaction *pTransaction, + ITransactionResourceAsync *pRes, + XACTUOW *pUOW, + LONG *pisoLevel, + ITransactionEnlistmentAsync **ppEnlist) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reenlist( + byte *pPrepInfo, + ULONG cbPrepInfo, + DWORD lTimeout, + XACTSTAT *pXactStat) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReenlistmentComplete( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDistributedTransactionManager( + REFIID iid, + void **ppvObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceManager, 0x13741d21, 0x87eb, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e) +#endif +#else +typedef struct IResourceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceManager *This); + + /*** IResourceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Enlist)( + IResourceManager *This, + ITransaction *pTransaction, + ITransactionResourceAsync *pRes, + XACTUOW *pUOW, + LONG *pisoLevel, + ITransactionEnlistmentAsync **ppEnlist); + + HRESULT (STDMETHODCALLTYPE *Reenlist)( + IResourceManager *This, + byte *pPrepInfo, + ULONG cbPrepInfo, + DWORD lTimeout, + XACTSTAT *pXactStat); + + HRESULT (STDMETHODCALLTYPE *ReenlistmentComplete)( + IResourceManager *This); + + HRESULT (STDMETHODCALLTYPE *GetDistributedTransactionManager)( + IResourceManager *This, + REFIID iid, + void **ppvObject); + + END_INTERFACE +} IResourceManagerVtbl; + +interface IResourceManager { + CONST_VTBL IResourceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceManager_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceManager methods ***/ +#define IResourceManager_Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist) (This)->lpVtbl->Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist) +#define IResourceManager_Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat) (This)->lpVtbl->Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat) +#define IResourceManager_ReenlistmentComplete(This) (This)->lpVtbl->ReenlistmentComplete(This) +#define IResourceManager_GetDistributedTransactionManager(This,iid,ppvObject) (This)->lpVtbl->GetDistributedTransactionManager(This,iid,ppvObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceManager_QueryInterface(IResourceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceManager_AddRef(IResourceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceManager_Release(IResourceManager* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceManager methods ***/ +static FORCEINLINE HRESULT IResourceManager_Enlist(IResourceManager* This,ITransaction *pTransaction,ITransactionResourceAsync *pRes,XACTUOW *pUOW,LONG *pisoLevel,ITransactionEnlistmentAsync **ppEnlist) { + return This->lpVtbl->Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist); +} +static FORCEINLINE HRESULT IResourceManager_Reenlist(IResourceManager* This,byte *pPrepInfo,ULONG cbPrepInfo,DWORD lTimeout,XACTSTAT *pXactStat) { + return This->lpVtbl->Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat); +} +static FORCEINLINE HRESULT IResourceManager_ReenlistmentComplete(IResourceManager* This) { + return This->lpVtbl->ReenlistmentComplete(This); +} +static FORCEINLINE HRESULT IResourceManager_GetDistributedTransactionManager(IResourceManager* This,REFIID iid,void **ppvObject) { + return This->lpVtbl->GetDistributedTransactionManager(This,iid,ppvObject); +} +#endif +#endif + +#endif + + +#endif /* __IResourceManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ILastResourceManager interface + */ +#ifndef __ILastResourceManager_INTERFACE_DEFINED__ +#define __ILastResourceManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ILastResourceManager, 0x4d964ad4, 0x5b33, 0x11d3, 0x8a,0x91, 0x00,0xc0,0x4f,0x79,0xeb,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4d964ad4-5b33-11d3-8a91-00c04f79eb6d") +ILastResourceManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE TransactionCommitted( + byte *pPrepInfo, + ULONG cbPrepInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE RecoveryDone( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ILastResourceManager, 0x4d964ad4, 0x5b33, 0x11d3, 0x8a,0x91, 0x00,0xc0,0x4f,0x79,0xeb,0x6d) +#endif +#else +typedef struct ILastResourceManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ILastResourceManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ILastResourceManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ILastResourceManager *This); + + /*** ILastResourceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *TransactionCommitted)( + ILastResourceManager *This, + byte *pPrepInfo, + ULONG cbPrepInfo); + + HRESULT (STDMETHODCALLTYPE *RecoveryDone)( + ILastResourceManager *This); + + END_INTERFACE +} ILastResourceManagerVtbl; + +interface ILastResourceManager { + CONST_VTBL ILastResourceManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ILastResourceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ILastResourceManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ILastResourceManager_Release(This) (This)->lpVtbl->Release(This) +/*** ILastResourceManager methods ***/ +#define ILastResourceManager_TransactionCommitted(This,pPrepInfo,cbPrepInfo) (This)->lpVtbl->TransactionCommitted(This,pPrepInfo,cbPrepInfo) +#define ILastResourceManager_RecoveryDone(This) (This)->lpVtbl->RecoveryDone(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ILastResourceManager_QueryInterface(ILastResourceManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ILastResourceManager_AddRef(ILastResourceManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ILastResourceManager_Release(ILastResourceManager* This) { + return This->lpVtbl->Release(This); +} +/*** ILastResourceManager methods ***/ +static FORCEINLINE HRESULT ILastResourceManager_TransactionCommitted(ILastResourceManager* This,byte *pPrepInfo,ULONG cbPrepInfo) { + return This->lpVtbl->TransactionCommitted(This,pPrepInfo,cbPrepInfo); +} +static FORCEINLINE HRESULT ILastResourceManager_RecoveryDone(ILastResourceManager* This) { + return This->lpVtbl->RecoveryDone(This); +} +#endif +#endif + +#endif + + +#endif /* __ILastResourceManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceManager2 interface + */ +#ifndef __IResourceManager2_INTERFACE_DEFINED__ +#define __IResourceManager2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceManager2, 0xd136c69a, 0xf749, 0x11d1, 0x8f,0x47, 0x00,0xc0,0x4f,0x8e,0xe5,0x7d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d136c69a-f749-11d1-8f47-00c04f8ee57d") +IResourceManager2 : public IResourceManager +{ + virtual HRESULT STDMETHODCALLTYPE Enlist2( + ITransaction *pTransaction, + ITransactionResourceAsync *pResAsync, + XACTUOW *pUOW, + LONG *pisoLevel, + XID *pXid, + ITransactionEnlistmentAsync **ppEnlist) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reenlist2( + XID *pXid, + DWORD dwTimeout, + XACTSTAT *pXactStat) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceManager2, 0xd136c69a, 0xf749, 0x11d1, 0x8f,0x47, 0x00,0xc0,0x4f,0x8e,0xe5,0x7d) +#endif +#else +typedef struct IResourceManager2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceManager2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceManager2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceManager2 *This); + + /*** IResourceManager methods ***/ + HRESULT (STDMETHODCALLTYPE *Enlist)( + IResourceManager2 *This, + ITransaction *pTransaction, + ITransactionResourceAsync *pRes, + XACTUOW *pUOW, + LONG *pisoLevel, + ITransactionEnlistmentAsync **ppEnlist); + + HRESULT (STDMETHODCALLTYPE *Reenlist)( + IResourceManager2 *This, + byte *pPrepInfo, + ULONG cbPrepInfo, + DWORD lTimeout, + XACTSTAT *pXactStat); + + HRESULT (STDMETHODCALLTYPE *ReenlistmentComplete)( + IResourceManager2 *This); + + HRESULT (STDMETHODCALLTYPE *GetDistributedTransactionManager)( + IResourceManager2 *This, + REFIID iid, + void **ppvObject); + + /*** IResourceManager2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Enlist2)( + IResourceManager2 *This, + ITransaction *pTransaction, + ITransactionResourceAsync *pResAsync, + XACTUOW *pUOW, + LONG *pisoLevel, + XID *pXid, + ITransactionEnlistmentAsync **ppEnlist); + + HRESULT (STDMETHODCALLTYPE *Reenlist2)( + IResourceManager2 *This, + XID *pXid, + DWORD dwTimeout, + XACTSTAT *pXactStat); + + END_INTERFACE +} IResourceManager2Vtbl; + +interface IResourceManager2 { + CONST_VTBL IResourceManager2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceManager2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceManager2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceManager2_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceManager methods ***/ +#define IResourceManager2_Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist) (This)->lpVtbl->Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist) +#define IResourceManager2_Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat) (This)->lpVtbl->Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat) +#define IResourceManager2_ReenlistmentComplete(This) (This)->lpVtbl->ReenlistmentComplete(This) +#define IResourceManager2_GetDistributedTransactionManager(This,iid,ppvObject) (This)->lpVtbl->GetDistributedTransactionManager(This,iid,ppvObject) +/*** IResourceManager2 methods ***/ +#define IResourceManager2_Enlist2(This,pTransaction,pResAsync,pUOW,pisoLevel,pXid,ppEnlist) (This)->lpVtbl->Enlist2(This,pTransaction,pResAsync,pUOW,pisoLevel,pXid,ppEnlist) +#define IResourceManager2_Reenlist2(This,pXid,dwTimeout,pXactStat) (This)->lpVtbl->Reenlist2(This,pXid,dwTimeout,pXactStat) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceManager2_QueryInterface(IResourceManager2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceManager2_AddRef(IResourceManager2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceManager2_Release(IResourceManager2* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceManager methods ***/ +static FORCEINLINE HRESULT IResourceManager2_Enlist(IResourceManager2* This,ITransaction *pTransaction,ITransactionResourceAsync *pRes,XACTUOW *pUOW,LONG *pisoLevel,ITransactionEnlistmentAsync **ppEnlist) { + return This->lpVtbl->Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist); +} +static FORCEINLINE HRESULT IResourceManager2_Reenlist(IResourceManager2* This,byte *pPrepInfo,ULONG cbPrepInfo,DWORD lTimeout,XACTSTAT *pXactStat) { + return This->lpVtbl->Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat); +} +static FORCEINLINE HRESULT IResourceManager2_ReenlistmentComplete(IResourceManager2* This) { + return This->lpVtbl->ReenlistmentComplete(This); +} +static FORCEINLINE HRESULT IResourceManager2_GetDistributedTransactionManager(IResourceManager2* This,REFIID iid,void **ppvObject) { + return This->lpVtbl->GetDistributedTransactionManager(This,iid,ppvObject); +} +/*** IResourceManager2 methods ***/ +static FORCEINLINE HRESULT IResourceManager2_Enlist2(IResourceManager2* This,ITransaction *pTransaction,ITransactionResourceAsync *pResAsync,XACTUOW *pUOW,LONG *pisoLevel,XID *pXid,ITransactionEnlistmentAsync **ppEnlist) { + return This->lpVtbl->Enlist2(This,pTransaction,pResAsync,pUOW,pisoLevel,pXid,ppEnlist); +} +static FORCEINLINE HRESULT IResourceManager2_Reenlist2(IResourceManager2* This,XID *pXid,DWORD dwTimeout,XACTSTAT *pXactStat) { + return This->lpVtbl->Reenlist2(This,pXid,dwTimeout,pXactStat); +} +#endif +#endif + +#endif + + +#endif /* __IResourceManager2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAConfig interface + */ +#ifndef __IXAConfig_INTERFACE_DEFINED__ +#define __IXAConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAConfig, 0xc8a6e3a1, 0x9a8c, 0x11cf, 0xa3,0x08, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c8a6e3a1-9a8c-11cf-a308-00a0c905416e") +IXAConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + GUID clsidHelperDll) = 0; + + virtual HRESULT STDMETHODCALLTYPE Terminate( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAConfig, 0xc8a6e3a1, 0x9a8c, 0x11cf, 0xa3,0x08, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IXAConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAConfig *This); + + /*** IXAConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IXAConfig *This, + GUID clsidHelperDll); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + IXAConfig *This); + + END_INTERFACE +} IXAConfigVtbl; + +interface IXAConfig { + CONST_VTBL IXAConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IXAConfig methods ***/ +#define IXAConfig_Initialize(This,clsidHelperDll) (This)->lpVtbl->Initialize(This,clsidHelperDll) +#define IXAConfig_Terminate(This) (This)->lpVtbl->Terminate(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAConfig_QueryInterface(IXAConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAConfig_AddRef(IXAConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAConfig_Release(IXAConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IXAConfig methods ***/ +static FORCEINLINE HRESULT IXAConfig_Initialize(IXAConfig* This,GUID clsidHelperDll) { + return This->lpVtbl->Initialize(This,clsidHelperDll); +} +static FORCEINLINE HRESULT IXAConfig_Terminate(IXAConfig* This) { + return This->lpVtbl->Terminate(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceManagerFactory interface + */ +#ifndef __IResourceManagerFactory_INTERFACE_DEFINED__ +#define __IResourceManagerFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceManagerFactory, 0x13741d20, 0x87eb, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("13741d20-87eb-11ce-8081-0080c758527e") +IResourceManagerFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + GUID *pguidRM, + CHAR *pszRMName, + IResourceManagerSink *pIResMgrSink, + IResourceManager **ppResMgr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceManagerFactory, 0x13741d20, 0x87eb, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e) +#endif +#else +typedef struct IResourceManagerFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceManagerFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceManagerFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceManagerFactory *This); + + /*** IResourceManagerFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + IResourceManagerFactory *This, + GUID *pguidRM, + CHAR *pszRMName, + IResourceManagerSink *pIResMgrSink, + IResourceManager **ppResMgr); + + END_INTERFACE +} IResourceManagerFactoryVtbl; + +interface IResourceManagerFactory { + CONST_VTBL IResourceManagerFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceManagerFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceManagerFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceManagerFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceManagerFactory methods ***/ +#define IResourceManagerFactory_Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr) (This)->lpVtbl->Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceManagerFactory_QueryInterface(IResourceManagerFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceManagerFactory_AddRef(IResourceManagerFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceManagerFactory_Release(IResourceManagerFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceManagerFactory methods ***/ +static FORCEINLINE HRESULT IResourceManagerFactory_Create(IResourceManagerFactory* This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,IResourceManager **ppResMgr) { + return This->lpVtbl->Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr); +} +#endif +#endif + +#endif + + +#endif /* __IResourceManagerFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IResourceManagerFactory2 interface + */ +#ifndef __IResourceManagerFactory2_INTERFACE_DEFINED__ +#define __IResourceManagerFactory2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IResourceManagerFactory2, 0x6b369c21, 0xfbd2, 0x11d1, 0x8f,0x47, 0x00,0xc0,0x4f,0x8e,0xe5,0x7d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6b369c21-fbd2-11d1-8f47-00c04f8ee57d") +IResourceManagerFactory2 : public IResourceManagerFactory +{ + virtual HRESULT STDMETHODCALLTYPE CreateEx( + GUID *pguidRM, + CHAR *pszRMName, + IResourceManagerSink *pIResMgrSink, + REFIID riidRequested, + void **ppvResMgr) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IResourceManagerFactory2, 0x6b369c21, 0xfbd2, 0x11d1, 0x8f,0x47, 0x00,0xc0,0x4f,0x8e,0xe5,0x7d) +#endif +#else +typedef struct IResourceManagerFactory2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IResourceManagerFactory2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IResourceManagerFactory2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IResourceManagerFactory2 *This); + + /*** IResourceManagerFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + IResourceManagerFactory2 *This, + GUID *pguidRM, + CHAR *pszRMName, + IResourceManagerSink *pIResMgrSink, + IResourceManager **ppResMgr); + + /*** IResourceManagerFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateEx)( + IResourceManagerFactory2 *This, + GUID *pguidRM, + CHAR *pszRMName, + IResourceManagerSink *pIResMgrSink, + REFIID riidRequested, + void **ppvResMgr); + + END_INTERFACE +} IResourceManagerFactory2Vtbl; + +interface IResourceManagerFactory2 { + CONST_VTBL IResourceManagerFactory2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IResourceManagerFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IResourceManagerFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IResourceManagerFactory2_Release(This) (This)->lpVtbl->Release(This) +/*** IResourceManagerFactory methods ***/ +#define IResourceManagerFactory2_Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr) (This)->lpVtbl->Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr) +/*** IResourceManagerFactory2 methods ***/ +#define IResourceManagerFactory2_CreateEx(This,pguidRM,pszRMName,pIResMgrSink,riidRequested,ppvResMgr) (This)->lpVtbl->CreateEx(This,pguidRM,pszRMName,pIResMgrSink,riidRequested,ppvResMgr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IResourceManagerFactory2_QueryInterface(IResourceManagerFactory2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IResourceManagerFactory2_AddRef(IResourceManagerFactory2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IResourceManagerFactory2_Release(IResourceManagerFactory2* This) { + return This->lpVtbl->Release(This); +} +/*** IResourceManagerFactory methods ***/ +static FORCEINLINE HRESULT IResourceManagerFactory2_Create(IResourceManagerFactory2* This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,IResourceManager **ppResMgr) { + return This->lpVtbl->Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr); +} +/*** IResourceManagerFactory2 methods ***/ +static FORCEINLINE HRESULT IResourceManagerFactory2_CreateEx(IResourceManagerFactory2* This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,REFIID riidRequested,void **ppvResMgr) { + return This->lpVtbl->CreateEx(This,pguidRM,pszRMName,pIResMgrSink,riidRequested,ppvResMgr); +} +#endif +#endif + +#endif + + +#endif /* __IResourceManagerFactory2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPrepareInfo interface + */ +#ifndef __IPrepareInfo_INTERFACE_DEFINED__ +#define __IPrepareInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPrepareInfo, 0x80c7bfd0, 0x87ee, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("80c7bfd0-87ee-11ce-8081-0080c758527e") +IPrepareInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPrepareInfoSize( + ULONG *pcbPrepInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrepareInfo( + byte *pPrepInfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPrepareInfo, 0x80c7bfd0, 0x87ee, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e) +#endif +#else +typedef struct IPrepareInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPrepareInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPrepareInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPrepareInfo *This); + + /*** IPrepareInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPrepareInfoSize)( + IPrepareInfo *This, + ULONG *pcbPrepInfo); + + HRESULT (STDMETHODCALLTYPE *GetPrepareInfo)( + IPrepareInfo *This, + byte *pPrepInfo); + + END_INTERFACE +} IPrepareInfoVtbl; + +interface IPrepareInfo { + CONST_VTBL IPrepareInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPrepareInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPrepareInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPrepareInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IPrepareInfo methods ***/ +#define IPrepareInfo_GetPrepareInfoSize(This,pcbPrepInfo) (This)->lpVtbl->GetPrepareInfoSize(This,pcbPrepInfo) +#define IPrepareInfo_GetPrepareInfo(This,pPrepInfo) (This)->lpVtbl->GetPrepareInfo(This,pPrepInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPrepareInfo_QueryInterface(IPrepareInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPrepareInfo_AddRef(IPrepareInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPrepareInfo_Release(IPrepareInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IPrepareInfo methods ***/ +static FORCEINLINE HRESULT IPrepareInfo_GetPrepareInfoSize(IPrepareInfo* This,ULONG *pcbPrepInfo) { + return This->lpVtbl->GetPrepareInfoSize(This,pcbPrepInfo); +} +static FORCEINLINE HRESULT IPrepareInfo_GetPrepareInfo(IPrepareInfo* This,byte *pPrepInfo) { + return This->lpVtbl->GetPrepareInfo(This,pPrepInfo); +} +#endif +#endif + +#endif + + +#endif /* __IPrepareInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPrepareInfo2 interface + */ +#ifndef __IPrepareInfo2_INTERFACE_DEFINED__ +#define __IPrepareInfo2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPrepareInfo2, 0x5fab2547, 0x9779, 0x11d1, 0xb8,0x86, 0x00,0xc0,0x4f,0xb9,0x61,0x8a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5fab2547-9779-11d1-b886-00c04fb9618a") +IPrepareInfo2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPrepareInfoSize( + ULONG *pcbPrepInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrepareInfo( + ULONG cbPrepareInfo, + byte *pPrepInfo) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPrepareInfo2, 0x5fab2547, 0x9779, 0x11d1, 0xb8,0x86, 0x00,0xc0,0x4f,0xb9,0x61,0x8a) +#endif +#else +typedef struct IPrepareInfo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPrepareInfo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPrepareInfo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPrepareInfo2 *This); + + /*** IPrepareInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPrepareInfoSize)( + IPrepareInfo2 *This, + ULONG *pcbPrepInfo); + + HRESULT (STDMETHODCALLTYPE *GetPrepareInfo)( + IPrepareInfo2 *This, + ULONG cbPrepareInfo, + byte *pPrepInfo); + + END_INTERFACE +} IPrepareInfo2Vtbl; + +interface IPrepareInfo2 { + CONST_VTBL IPrepareInfo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPrepareInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPrepareInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPrepareInfo2_Release(This) (This)->lpVtbl->Release(This) +/*** IPrepareInfo2 methods ***/ +#define IPrepareInfo2_GetPrepareInfoSize(This,pcbPrepInfo) (This)->lpVtbl->GetPrepareInfoSize(This,pcbPrepInfo) +#define IPrepareInfo2_GetPrepareInfo(This,cbPrepareInfo,pPrepInfo) (This)->lpVtbl->GetPrepareInfo(This,cbPrepareInfo,pPrepInfo) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPrepareInfo2_QueryInterface(IPrepareInfo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPrepareInfo2_AddRef(IPrepareInfo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPrepareInfo2_Release(IPrepareInfo2* This) { + return This->lpVtbl->Release(This); +} +/*** IPrepareInfo2 methods ***/ +static FORCEINLINE HRESULT IPrepareInfo2_GetPrepareInfoSize(IPrepareInfo2* This,ULONG *pcbPrepInfo) { + return This->lpVtbl->GetPrepareInfoSize(This,pcbPrepInfo); +} +static FORCEINLINE HRESULT IPrepareInfo2_GetPrepareInfo(IPrepareInfo2* This,ULONG cbPrepareInfo,byte *pPrepInfo) { + return This->lpVtbl->GetPrepareInfo(This,cbPrepareInfo,pPrepInfo); +} +#endif +#endif + +#endif + + +#endif /* __IPrepareInfo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGetDispenser interface + */ +#ifndef __IGetDispenser_INTERFACE_DEFINED__ +#define __IGetDispenser_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IGetDispenser, 0xc23cc370, 0x87ef, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c23cc370-87ef-11ce-8081-0080c758527e") +IGetDispenser : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDispenser( + REFIID iid, + void **ppvObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGetDispenser, 0xc23cc370, 0x87ef, 0x11ce, 0x80,0x81, 0x00,0x80,0xc7,0x58,0x52,0x7e) +#endif +#else +typedef struct IGetDispenserVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGetDispenser *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGetDispenser *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGetDispenser *This); + + /*** IGetDispenser methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDispenser)( + IGetDispenser *This, + REFIID iid, + void **ppvObject); + + END_INTERFACE +} IGetDispenserVtbl; + +interface IGetDispenser { + CONST_VTBL IGetDispenserVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGetDispenser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGetDispenser_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGetDispenser_Release(This) (This)->lpVtbl->Release(This) +/*** IGetDispenser methods ***/ +#define IGetDispenser_GetDispenser(This,iid,ppvObject) (This)->lpVtbl->GetDispenser(This,iid,ppvObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGetDispenser_QueryInterface(IGetDispenser* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGetDispenser_AddRef(IGetDispenser* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGetDispenser_Release(IGetDispenser* This) { + return This->lpVtbl->Release(This); +} +/*** IGetDispenser methods ***/ +static FORCEINLINE HRESULT IGetDispenser_GetDispenser(IGetDispenser* This,REFIID iid,void **ppvObject) { + return This->lpVtbl->GetDispenser(This,iid,ppvObject); +} +#endif +#endif + +#endif + + +#endif /* __IGetDispenser_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionVoterBallotAsync2 interface + */ +#ifndef __ITransactionVoterBallotAsync2_INTERFACE_DEFINED__ +#define __ITransactionVoterBallotAsync2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionVoterBallotAsync2, 0x5433376c, 0x414d, 0x11d3, 0xb2,0x06, 0x00,0xc0,0x4f,0xc2,0xf3,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5433376c-414d-11d3-b206-00c04fc2f3ef") +ITransactionVoterBallotAsync2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE VoteRequestDone( + HRESULT hr, + BOID *pboidReason) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionVoterBallotAsync2, 0x5433376c, 0x414d, 0x11d3, 0xb2,0x06, 0x00,0xc0,0x4f,0xc2,0xf3,0xef) +#endif +#else +typedef struct ITransactionVoterBallotAsync2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionVoterBallotAsync2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionVoterBallotAsync2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionVoterBallotAsync2 *This); + + /*** ITransactionVoterBallotAsync2 methods ***/ + HRESULT (STDMETHODCALLTYPE *VoteRequestDone)( + ITransactionVoterBallotAsync2 *This, + HRESULT hr, + BOID *pboidReason); + + END_INTERFACE +} ITransactionVoterBallotAsync2Vtbl; + +interface ITransactionVoterBallotAsync2 { + CONST_VTBL ITransactionVoterBallotAsync2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionVoterBallotAsync2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionVoterBallotAsync2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionVoterBallotAsync2_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionVoterBallotAsync2 methods ***/ +#define ITransactionVoterBallotAsync2_VoteRequestDone(This,hr,pboidReason) (This)->lpVtbl->VoteRequestDone(This,hr,pboidReason) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionVoterBallotAsync2_QueryInterface(ITransactionVoterBallotAsync2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionVoterBallotAsync2_AddRef(ITransactionVoterBallotAsync2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionVoterBallotAsync2_Release(ITransactionVoterBallotAsync2* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionVoterBallotAsync2 methods ***/ +static FORCEINLINE HRESULT ITransactionVoterBallotAsync2_VoteRequestDone(ITransactionVoterBallotAsync2* This,HRESULT hr,BOID *pboidReason) { + return This->lpVtbl->VoteRequestDone(This,hr,pboidReason); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionVoterBallotAsync2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionVoterNotifyAsync2 interface + */ +#ifndef __ITransactionVoterNotifyAsync2_INTERFACE_DEFINED__ +#define __ITransactionVoterNotifyAsync2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionVoterNotifyAsync2, 0x5433376b, 0x414d, 0x11d3, 0xb2,0x06, 0x00,0xc0,0x4f,0xc2,0xf3,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5433376b-414d-11d3-b206-00c04fc2f3ef") +ITransactionVoterNotifyAsync2 : public ITransactionOutcomeEvents +{ + virtual HRESULT STDMETHODCALLTYPE VoteRequest( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionVoterNotifyAsync2, 0x5433376b, 0x414d, 0x11d3, 0xb2,0x06, 0x00,0xc0,0x4f,0xc2,0xf3,0xef) +#endif +#else +typedef struct ITransactionVoterNotifyAsync2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionVoterNotifyAsync2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionVoterNotifyAsync2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionVoterNotifyAsync2 *This); + + /*** ITransactionOutcomeEvents methods ***/ + HRESULT (STDMETHODCALLTYPE *Committed)( + ITransactionVoterNotifyAsync2 *This, + BOOL fRetaining, + XACTUOW *pNewUOW, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *Aborted)( + ITransactionVoterNotifyAsync2 *This, + BOID *pboidReason, + BOOL fRetaining, + XACTUOW *pNewUOW, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *HeuristicDecision)( + ITransactionVoterNotifyAsync2 *This, + DWORD dwDecision, + BOID *pboidReason, + HRESULT hr); + + HRESULT (STDMETHODCALLTYPE *Indoubt)( + ITransactionVoterNotifyAsync2 *This); + + /*** ITransactionVoterNotifyAsync2 methods ***/ + HRESULT (STDMETHODCALLTYPE *VoteRequest)( + ITransactionVoterNotifyAsync2 *This); + + END_INTERFACE +} ITransactionVoterNotifyAsync2Vtbl; + +interface ITransactionVoterNotifyAsync2 { + CONST_VTBL ITransactionVoterNotifyAsync2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionVoterNotifyAsync2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionVoterNotifyAsync2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionVoterNotifyAsync2_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionOutcomeEvents methods ***/ +#define ITransactionVoterNotifyAsync2_Committed(This,fRetaining,pNewUOW,hr) (This)->lpVtbl->Committed(This,fRetaining,pNewUOW,hr) +#define ITransactionVoterNotifyAsync2_Aborted(This,pboidReason,fRetaining,pNewUOW,hr) (This)->lpVtbl->Aborted(This,pboidReason,fRetaining,pNewUOW,hr) +#define ITransactionVoterNotifyAsync2_HeuristicDecision(This,dwDecision,pboidReason,hr) (This)->lpVtbl->HeuristicDecision(This,dwDecision,pboidReason,hr) +#define ITransactionVoterNotifyAsync2_Indoubt(This) (This)->lpVtbl->Indoubt(This) +/*** ITransactionVoterNotifyAsync2 methods ***/ +#define ITransactionVoterNotifyAsync2_VoteRequest(This) (This)->lpVtbl->VoteRequest(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionVoterNotifyAsync2_QueryInterface(ITransactionVoterNotifyAsync2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionVoterNotifyAsync2_AddRef(ITransactionVoterNotifyAsync2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionVoterNotifyAsync2_Release(ITransactionVoterNotifyAsync2* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionOutcomeEvents methods ***/ +static FORCEINLINE HRESULT ITransactionVoterNotifyAsync2_Committed(ITransactionVoterNotifyAsync2* This,BOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr) { + return This->lpVtbl->Committed(This,fRetaining,pNewUOW,hr); +} +static FORCEINLINE HRESULT ITransactionVoterNotifyAsync2_Aborted(ITransactionVoterNotifyAsync2* This,BOID *pboidReason,BOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr) { + return This->lpVtbl->Aborted(This,pboidReason,fRetaining,pNewUOW,hr); +} +static FORCEINLINE HRESULT ITransactionVoterNotifyAsync2_HeuristicDecision(ITransactionVoterNotifyAsync2* This,DWORD dwDecision,BOID *pboidReason,HRESULT hr) { + return This->lpVtbl->HeuristicDecision(This,dwDecision,pboidReason,hr); +} +static FORCEINLINE HRESULT ITransactionVoterNotifyAsync2_Indoubt(ITransactionVoterNotifyAsync2* This) { + return This->lpVtbl->Indoubt(This); +} +/*** ITransactionVoterNotifyAsync2 methods ***/ +static FORCEINLINE HRESULT ITransactionVoterNotifyAsync2_VoteRequest(ITransactionVoterNotifyAsync2* This) { + return This->lpVtbl->VoteRequest(This); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionVoterNotifyAsync2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionVoterFactory2 interface + */ +#ifndef __ITransactionVoterFactory2_INTERFACE_DEFINED__ +#define __ITransactionVoterFactory2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionVoterFactory2, 0x5433376a, 0x414d, 0x11d3, 0xb2,0x06, 0x00,0xc0,0x4f,0xc2,0xf3,0xef); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5433376a-414d-11d3-b206-00c04fc2f3ef") +ITransactionVoterFactory2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + ITransaction *pTransaction, + ITransactionVoterNotifyAsync2 *pVoterNotify, + ITransactionVoterBallotAsync2 **ppVoterBallot) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionVoterFactory2, 0x5433376a, 0x414d, 0x11d3, 0xb2,0x06, 0x00,0xc0,0x4f,0xc2,0xf3,0xef) +#endif +#else +typedef struct ITransactionVoterFactory2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionVoterFactory2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionVoterFactory2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionVoterFactory2 *This); + + /*** ITransactionVoterFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + ITransactionVoterFactory2 *This, + ITransaction *pTransaction, + ITransactionVoterNotifyAsync2 *pVoterNotify, + ITransactionVoterBallotAsync2 **ppVoterBallot); + + END_INTERFACE +} ITransactionVoterFactory2Vtbl; + +interface ITransactionVoterFactory2 { + CONST_VTBL ITransactionVoterFactory2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionVoterFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionVoterFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionVoterFactory2_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionVoterFactory2 methods ***/ +#define ITransactionVoterFactory2_Create(This,pTransaction,pVoterNotify,ppVoterBallot) (This)->lpVtbl->Create(This,pTransaction,pVoterNotify,ppVoterBallot) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionVoterFactory2_QueryInterface(ITransactionVoterFactory2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionVoterFactory2_AddRef(ITransactionVoterFactory2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionVoterFactory2_Release(ITransactionVoterFactory2* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionVoterFactory2 methods ***/ +static FORCEINLINE HRESULT ITransactionVoterFactory2_Create(ITransactionVoterFactory2* This,ITransaction *pTransaction,ITransactionVoterNotifyAsync2 *pVoterNotify,ITransactionVoterBallotAsync2 **ppVoterBallot) { + return This->lpVtbl->Create(This,pTransaction,pVoterNotify,ppVoterBallot); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionVoterFactory2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionPhase0EnlistmentAsync interface + */ +#ifndef __ITransactionPhase0EnlistmentAsync_INTERFACE_DEFINED__ +#define __ITransactionPhase0EnlistmentAsync_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionPhase0EnlistmentAsync, 0x82dc88e1, 0xa954, 0x11d1, 0x8f,0x88, 0x00,0x60,0x08,0x95,0xe7,0xd5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("82dc88e1-a954-11d1-8f88-00600895e7d5") +ITransactionPhase0EnlistmentAsync : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Enable( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WaitForEnlistment( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Phase0Done( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Unenlist( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransaction( + ITransaction **ppITransaction) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionPhase0EnlistmentAsync, 0x82dc88e1, 0xa954, 0x11d1, 0x8f,0x88, 0x00,0x60,0x08,0x95,0xe7,0xd5) +#endif +#else +typedef struct ITransactionPhase0EnlistmentAsyncVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionPhase0EnlistmentAsync *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionPhase0EnlistmentAsync *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionPhase0EnlistmentAsync *This); + + /*** ITransactionPhase0EnlistmentAsync methods ***/ + HRESULT (STDMETHODCALLTYPE *Enable)( + ITransactionPhase0EnlistmentAsync *This); + + HRESULT (STDMETHODCALLTYPE *WaitForEnlistment)( + ITransactionPhase0EnlistmentAsync *This); + + HRESULT (STDMETHODCALLTYPE *Phase0Done)( + ITransactionPhase0EnlistmentAsync *This); + + HRESULT (STDMETHODCALLTYPE *Unenlist)( + ITransactionPhase0EnlistmentAsync *This); + + HRESULT (STDMETHODCALLTYPE *GetTransaction)( + ITransactionPhase0EnlistmentAsync *This, + ITransaction **ppITransaction); + + END_INTERFACE +} ITransactionPhase0EnlistmentAsyncVtbl; + +interface ITransactionPhase0EnlistmentAsync { + CONST_VTBL ITransactionPhase0EnlistmentAsyncVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionPhase0EnlistmentAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionPhase0EnlistmentAsync_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionPhase0EnlistmentAsync_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionPhase0EnlistmentAsync methods ***/ +#define ITransactionPhase0EnlistmentAsync_Enable(This) (This)->lpVtbl->Enable(This) +#define ITransactionPhase0EnlistmentAsync_WaitForEnlistment(This) (This)->lpVtbl->WaitForEnlistment(This) +#define ITransactionPhase0EnlistmentAsync_Phase0Done(This) (This)->lpVtbl->Phase0Done(This) +#define ITransactionPhase0EnlistmentAsync_Unenlist(This) (This)->lpVtbl->Unenlist(This) +#define ITransactionPhase0EnlistmentAsync_GetTransaction(This,ppITransaction) (This)->lpVtbl->GetTransaction(This,ppITransaction) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionPhase0EnlistmentAsync_QueryInterface(ITransactionPhase0EnlistmentAsync* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionPhase0EnlistmentAsync_AddRef(ITransactionPhase0EnlistmentAsync* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionPhase0EnlistmentAsync_Release(ITransactionPhase0EnlistmentAsync* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionPhase0EnlistmentAsync methods ***/ +static FORCEINLINE HRESULT ITransactionPhase0EnlistmentAsync_Enable(ITransactionPhase0EnlistmentAsync* This) { + return This->lpVtbl->Enable(This); +} +static FORCEINLINE HRESULT ITransactionPhase0EnlistmentAsync_WaitForEnlistment(ITransactionPhase0EnlistmentAsync* This) { + return This->lpVtbl->WaitForEnlistment(This); +} +static FORCEINLINE HRESULT ITransactionPhase0EnlistmentAsync_Phase0Done(ITransactionPhase0EnlistmentAsync* This) { + return This->lpVtbl->Phase0Done(This); +} +static FORCEINLINE HRESULT ITransactionPhase0EnlistmentAsync_Unenlist(ITransactionPhase0EnlistmentAsync* This) { + return This->lpVtbl->Unenlist(This); +} +static FORCEINLINE HRESULT ITransactionPhase0EnlistmentAsync_GetTransaction(ITransactionPhase0EnlistmentAsync* This,ITransaction **ppITransaction) { + return This->lpVtbl->GetTransaction(This,ppITransaction); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionPhase0EnlistmentAsync_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionPhase0NotifyAsync interface + */ +#ifndef __ITransactionPhase0NotifyAsync_INTERFACE_DEFINED__ +#define __ITransactionPhase0NotifyAsync_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionPhase0NotifyAsync, 0xef081809, 0x0c76, 0x11d2, 0x87,0xa6, 0x00,0xc0,0x4f,0x99,0x0f,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ef081809-0c76-11d2-87a6-00c04f990f34") +ITransactionPhase0NotifyAsync : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Phase0Request( + BOOL fAbortingHint) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnlistCompleted( + HRESULT status) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionPhase0NotifyAsync, 0xef081809, 0x0c76, 0x11d2, 0x87,0xa6, 0x00,0xc0,0x4f,0x99,0x0f,0x34) +#endif +#else +typedef struct ITransactionPhase0NotifyAsyncVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionPhase0NotifyAsync *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionPhase0NotifyAsync *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionPhase0NotifyAsync *This); + + /*** ITransactionPhase0NotifyAsync methods ***/ + HRESULT (STDMETHODCALLTYPE *Phase0Request)( + ITransactionPhase0NotifyAsync *This, + BOOL fAbortingHint); + + HRESULT (STDMETHODCALLTYPE *EnlistCompleted)( + ITransactionPhase0NotifyAsync *This, + HRESULT status); + + END_INTERFACE +} ITransactionPhase0NotifyAsyncVtbl; + +interface ITransactionPhase0NotifyAsync { + CONST_VTBL ITransactionPhase0NotifyAsyncVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionPhase0NotifyAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionPhase0NotifyAsync_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionPhase0NotifyAsync_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionPhase0NotifyAsync methods ***/ +#define ITransactionPhase0NotifyAsync_Phase0Request(This,fAbortingHint) (This)->lpVtbl->Phase0Request(This,fAbortingHint) +#define ITransactionPhase0NotifyAsync_EnlistCompleted(This,status) (This)->lpVtbl->EnlistCompleted(This,status) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionPhase0NotifyAsync_QueryInterface(ITransactionPhase0NotifyAsync* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionPhase0NotifyAsync_AddRef(ITransactionPhase0NotifyAsync* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionPhase0NotifyAsync_Release(ITransactionPhase0NotifyAsync* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionPhase0NotifyAsync methods ***/ +static FORCEINLINE HRESULT ITransactionPhase0NotifyAsync_Phase0Request(ITransactionPhase0NotifyAsync* This,BOOL fAbortingHint) { + return This->lpVtbl->Phase0Request(This,fAbortingHint); +} +static FORCEINLINE HRESULT ITransactionPhase0NotifyAsync_EnlistCompleted(ITransactionPhase0NotifyAsync* This,HRESULT status) { + return This->lpVtbl->EnlistCompleted(This,status); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionPhase0NotifyAsync_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionPhase0Factory interface + */ +#ifndef __ITransactionPhase0Factory_INTERFACE_DEFINED__ +#define __ITransactionPhase0Factory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionPhase0Factory, 0x82dc88e0, 0xa954, 0x11d1, 0x8f,0x88, 0x00,0x60,0x08,0x95,0xe7,0xd5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("82dc88e0-a954-11d1-8f88-00600895e7d5") +ITransactionPhase0Factory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + ITransactionPhase0NotifyAsync *pPhase0Notify, + ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionPhase0Factory, 0x82dc88e0, 0xa954, 0x11d1, 0x8f,0x88, 0x00,0x60,0x08,0x95,0xe7,0xd5) +#endif +#else +typedef struct ITransactionPhase0FactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionPhase0Factory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionPhase0Factory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionPhase0Factory *This); + + /*** ITransactionPhase0Factory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + ITransactionPhase0Factory *This, + ITransactionPhase0NotifyAsync *pPhase0Notify, + ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment); + + END_INTERFACE +} ITransactionPhase0FactoryVtbl; + +interface ITransactionPhase0Factory { + CONST_VTBL ITransactionPhase0FactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionPhase0Factory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionPhase0Factory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionPhase0Factory_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionPhase0Factory methods ***/ +#define ITransactionPhase0Factory_Create(This,pPhase0Notify,ppPhase0Enlistment) (This)->lpVtbl->Create(This,pPhase0Notify,ppPhase0Enlistment) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionPhase0Factory_QueryInterface(ITransactionPhase0Factory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionPhase0Factory_AddRef(ITransactionPhase0Factory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionPhase0Factory_Release(ITransactionPhase0Factory* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionPhase0Factory methods ***/ +static FORCEINLINE HRESULT ITransactionPhase0Factory_Create(ITransactionPhase0Factory* This,ITransactionPhase0NotifyAsync *pPhase0Notify,ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment) { + return This->lpVtbl->Create(This,pPhase0Notify,ppPhase0Enlistment); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionPhase0Factory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionTransmitter interface + */ +#ifndef __ITransactionTransmitter_INTERFACE_DEFINED__ +#define __ITransactionTransmitter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionTransmitter, 0x59313e01, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("59313e01-b36c-11cf-a539-00aa006887c3") +ITransactionTransmitter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Set( + ITransaction *pTransaction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropagationTokenSize( + ULONG *pcbToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE MarshalPropagationToken( + ULONG cbToken, + byte *rgbToken, + ULONG *pcbUsed) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnmarshalReturnToken( + ULONG cbReturnToken, + byte *rgbReturnToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionTransmitter, 0x59313e01, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3) +#endif +#else +typedef struct ITransactionTransmitterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionTransmitter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionTransmitter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionTransmitter *This); + + /*** ITransactionTransmitter methods ***/ + HRESULT (STDMETHODCALLTYPE *Set)( + ITransactionTransmitter *This, + ITransaction *pTransaction); + + HRESULT (STDMETHODCALLTYPE *GetPropagationTokenSize)( + ITransactionTransmitter *This, + ULONG *pcbToken); + + HRESULT (STDMETHODCALLTYPE *MarshalPropagationToken)( + ITransactionTransmitter *This, + ULONG cbToken, + byte *rgbToken, + ULONG *pcbUsed); + + HRESULT (STDMETHODCALLTYPE *UnmarshalReturnToken)( + ITransactionTransmitter *This, + ULONG cbReturnToken, + byte *rgbReturnToken); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ITransactionTransmitter *This); + + END_INTERFACE +} ITransactionTransmitterVtbl; + +interface ITransactionTransmitter { + CONST_VTBL ITransactionTransmitterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionTransmitter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionTransmitter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionTransmitter_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionTransmitter methods ***/ +#define ITransactionTransmitter_Set(This,pTransaction) (This)->lpVtbl->Set(This,pTransaction) +#define ITransactionTransmitter_GetPropagationTokenSize(This,pcbToken) (This)->lpVtbl->GetPropagationTokenSize(This,pcbToken) +#define ITransactionTransmitter_MarshalPropagationToken(This,cbToken,rgbToken,pcbUsed) (This)->lpVtbl->MarshalPropagationToken(This,cbToken,rgbToken,pcbUsed) +#define ITransactionTransmitter_UnmarshalReturnToken(This,cbReturnToken,rgbReturnToken) (This)->lpVtbl->UnmarshalReturnToken(This,cbReturnToken,rgbReturnToken) +#define ITransactionTransmitter_Reset(This) (This)->lpVtbl->Reset(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionTransmitter_QueryInterface(ITransactionTransmitter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionTransmitter_AddRef(ITransactionTransmitter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionTransmitter_Release(ITransactionTransmitter* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionTransmitter methods ***/ +static FORCEINLINE HRESULT ITransactionTransmitter_Set(ITransactionTransmitter* This,ITransaction *pTransaction) { + return This->lpVtbl->Set(This,pTransaction); +} +static FORCEINLINE HRESULT ITransactionTransmitter_GetPropagationTokenSize(ITransactionTransmitter* This,ULONG *pcbToken) { + return This->lpVtbl->GetPropagationTokenSize(This,pcbToken); +} +static FORCEINLINE HRESULT ITransactionTransmitter_MarshalPropagationToken(ITransactionTransmitter* This,ULONG cbToken,byte *rgbToken,ULONG *pcbUsed) { + return This->lpVtbl->MarshalPropagationToken(This,cbToken,rgbToken,pcbUsed); +} +static FORCEINLINE HRESULT ITransactionTransmitter_UnmarshalReturnToken(ITransactionTransmitter* This,ULONG cbReturnToken,byte *rgbReturnToken) { + return This->lpVtbl->UnmarshalReturnToken(This,cbReturnToken,rgbReturnToken); +} +static FORCEINLINE HRESULT ITransactionTransmitter_Reset(ITransactionTransmitter* This) { + return This->lpVtbl->Reset(This); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionTransmitter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionTransmitterFactory interface + */ +#ifndef __ITransactionTransmitterFactory_INTERFACE_DEFINED__ +#define __ITransactionTransmitterFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionTransmitterFactory, 0x59313e00, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("59313e00-b36c-11cf-a539-00aa006887c3") +ITransactionTransmitterFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + ITransactionTransmitter **ppTransmitter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionTransmitterFactory, 0x59313e00, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3) +#endif +#else +typedef struct ITransactionTransmitterFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionTransmitterFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionTransmitterFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionTransmitterFactory *This); + + /*** ITransactionTransmitterFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + ITransactionTransmitterFactory *This, + ITransactionTransmitter **ppTransmitter); + + END_INTERFACE +} ITransactionTransmitterFactoryVtbl; + +interface ITransactionTransmitterFactory { + CONST_VTBL ITransactionTransmitterFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionTransmitterFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionTransmitterFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionTransmitterFactory_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionTransmitterFactory methods ***/ +#define ITransactionTransmitterFactory_Create(This,ppTransmitter) (This)->lpVtbl->Create(This,ppTransmitter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionTransmitterFactory_QueryInterface(ITransactionTransmitterFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionTransmitterFactory_AddRef(ITransactionTransmitterFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionTransmitterFactory_Release(ITransactionTransmitterFactory* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionTransmitterFactory methods ***/ +static FORCEINLINE HRESULT ITransactionTransmitterFactory_Create(ITransactionTransmitterFactory* This,ITransactionTransmitter **ppTransmitter) { + return This->lpVtbl->Create(This,ppTransmitter); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionTransmitterFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionReceiver interface + */ +#ifndef __ITransactionReceiver_INTERFACE_DEFINED__ +#define __ITransactionReceiver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionReceiver, 0x59313e03, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("59313e03-b36c-11cf-a539-00aa006887c3") +ITransactionReceiver : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE UnmarshalPropagationToken( + ULONG cbToken, + byte *rgbToken, + ITransaction **ppTransaction) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReturnTokenSize( + ULONG *pcbReturnToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE MarshalReturnToken( + ULONG cbReturnToken, + byte *rgbReturnToken, + ULONG *pcbUsed) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionReceiver, 0x59313e03, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3) +#endif +#else +typedef struct ITransactionReceiverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionReceiver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionReceiver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionReceiver *This); + + /*** ITransactionReceiver methods ***/ + HRESULT (STDMETHODCALLTYPE *UnmarshalPropagationToken)( + ITransactionReceiver *This, + ULONG cbToken, + byte *rgbToken, + ITransaction **ppTransaction); + + HRESULT (STDMETHODCALLTYPE *GetReturnTokenSize)( + ITransactionReceiver *This, + ULONG *pcbReturnToken); + + HRESULT (STDMETHODCALLTYPE *MarshalReturnToken)( + ITransactionReceiver *This, + ULONG cbReturnToken, + byte *rgbReturnToken, + ULONG *pcbUsed); + + HRESULT (STDMETHODCALLTYPE *Reset)( + ITransactionReceiver *This); + + END_INTERFACE +} ITransactionReceiverVtbl; + +interface ITransactionReceiver { + CONST_VTBL ITransactionReceiverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionReceiver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionReceiver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionReceiver_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionReceiver methods ***/ +#define ITransactionReceiver_UnmarshalPropagationToken(This,cbToken,rgbToken,ppTransaction) (This)->lpVtbl->UnmarshalPropagationToken(This,cbToken,rgbToken,ppTransaction) +#define ITransactionReceiver_GetReturnTokenSize(This,pcbReturnToken) (This)->lpVtbl->GetReturnTokenSize(This,pcbReturnToken) +#define ITransactionReceiver_MarshalReturnToken(This,cbReturnToken,rgbReturnToken,pcbUsed) (This)->lpVtbl->MarshalReturnToken(This,cbReturnToken,rgbReturnToken,pcbUsed) +#define ITransactionReceiver_Reset(This) (This)->lpVtbl->Reset(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionReceiver_QueryInterface(ITransactionReceiver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionReceiver_AddRef(ITransactionReceiver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionReceiver_Release(ITransactionReceiver* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionReceiver methods ***/ +static FORCEINLINE HRESULT ITransactionReceiver_UnmarshalPropagationToken(ITransactionReceiver* This,ULONG cbToken,byte *rgbToken,ITransaction **ppTransaction) { + return This->lpVtbl->UnmarshalPropagationToken(This,cbToken,rgbToken,ppTransaction); +} +static FORCEINLINE HRESULT ITransactionReceiver_GetReturnTokenSize(ITransactionReceiver* This,ULONG *pcbReturnToken) { + return This->lpVtbl->GetReturnTokenSize(This,pcbReturnToken); +} +static FORCEINLINE HRESULT ITransactionReceiver_MarshalReturnToken(ITransactionReceiver* This,ULONG cbReturnToken,byte *rgbReturnToken,ULONG *pcbUsed) { + return This->lpVtbl->MarshalReturnToken(This,cbReturnToken,rgbReturnToken,pcbUsed); +} +static FORCEINLINE HRESULT ITransactionReceiver_Reset(ITransactionReceiver* This) { + return This->lpVtbl->Reset(This); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionReceiver_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ITransactionReceiverFactory interface + */ +#ifndef __ITransactionReceiverFactory_INTERFACE_DEFINED__ +#define __ITransactionReceiverFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ITransactionReceiverFactory, 0x59313e02, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("59313e02-b36c-11cf-a539-00aa006887c3") +ITransactionReceiverFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + ITransactionReceiver **ppReceiver) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ITransactionReceiverFactory, 0x59313e02, 0xb36c, 0x11cf, 0xa5,0x39, 0x00,0xaa,0x00,0x68,0x87,0xc3) +#endif +#else +typedef struct ITransactionReceiverFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ITransactionReceiverFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ITransactionReceiverFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ITransactionReceiverFactory *This); + + /*** ITransactionReceiverFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + ITransactionReceiverFactory *This, + ITransactionReceiver **ppReceiver); + + END_INTERFACE +} ITransactionReceiverFactoryVtbl; + +interface ITransactionReceiverFactory { + CONST_VTBL ITransactionReceiverFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ITransactionReceiverFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ITransactionReceiverFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ITransactionReceiverFactory_Release(This) (This)->lpVtbl->Release(This) +/*** ITransactionReceiverFactory methods ***/ +#define ITransactionReceiverFactory_Create(This,ppReceiver) (This)->lpVtbl->Create(This,ppReceiver) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ITransactionReceiverFactory_QueryInterface(ITransactionReceiverFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ITransactionReceiverFactory_AddRef(ITransactionReceiverFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ITransactionReceiverFactory_Release(ITransactionReceiverFactory* This) { + return This->lpVtbl->Release(This); +} +/*** ITransactionReceiverFactory methods ***/ +static FORCEINLINE HRESULT ITransactionReceiverFactory_Create(ITransactionReceiverFactory* This,ITransactionReceiver **ppReceiver) { + return This->lpVtbl->Create(This,ppReceiver); +} +#endif +#endif + +#endif + + +#endif /* __ITransactionReceiverFactory_INTERFACE_DEFINED__ */ + +typedef struct _ProxyConfigParams { + WORD wcThreadsMax; +} PROXY_CONFIG_PARAMS; +/***************************************************************************** + * IDtcLuConfigure interface + */ +#ifndef __IDtcLuConfigure_INTERFACE_DEFINED__ +#define __IDtcLuConfigure_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuConfigure, 0x4131e760, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e760-1aea-11d0-944b-00a0c905416e") +IDtcLuConfigure : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Add( + byte *pucLuPair, + DWORD cbLuPair) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + byte *pucLuPair, + DWORD cbLuPair) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuConfigure, 0x4131e760, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuConfigureVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuConfigure *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuConfigure *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuConfigure *This); + + /*** IDtcLuConfigure methods ***/ + HRESULT (STDMETHODCALLTYPE *Add)( + IDtcLuConfigure *This, + byte *pucLuPair, + DWORD cbLuPair); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IDtcLuConfigure *This, + byte *pucLuPair, + DWORD cbLuPair); + + END_INTERFACE +} IDtcLuConfigureVtbl; + +interface IDtcLuConfigure { + CONST_VTBL IDtcLuConfigureVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuConfigure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuConfigure_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuConfigure_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuConfigure methods ***/ +#define IDtcLuConfigure_Add(This,pucLuPair,cbLuPair) (This)->lpVtbl->Add(This,pucLuPair,cbLuPair) +#define IDtcLuConfigure_Delete(This,pucLuPair,cbLuPair) (This)->lpVtbl->Delete(This,pucLuPair,cbLuPair) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuConfigure_QueryInterface(IDtcLuConfigure* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuConfigure_AddRef(IDtcLuConfigure* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuConfigure_Release(IDtcLuConfigure* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuConfigure methods ***/ +static FORCEINLINE HRESULT IDtcLuConfigure_Add(IDtcLuConfigure* This,byte *pucLuPair,DWORD cbLuPair) { + return This->lpVtbl->Add(This,pucLuPair,cbLuPair); +} +static FORCEINLINE HRESULT IDtcLuConfigure_Delete(IDtcLuConfigure* This,byte *pucLuPair,DWORD cbLuPair) { + return This->lpVtbl->Delete(This,pucLuPair,cbLuPair); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuConfigure_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRecovery interface + */ +#ifndef __IDtcLuRecovery_INTERFACE_DEFINED__ +#define __IDtcLuRecovery_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecovery, 0xac2b8ad2, 0xd6f0, 0x11d0, 0xb3,0x86, 0x00,0xa0,0xc9,0x08,0x33,0x65); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ac2b8ad2-d6f0-11d0-b386-00a0c9083365") +IDtcLuRecovery : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecovery, 0xac2b8ad2, 0xd6f0, 0x11d0, 0xb3,0x86, 0x00,0xa0,0xc9,0x08,0x33,0x65) +#endif +#else +typedef struct IDtcLuRecoveryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecovery *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecovery *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecovery *This); + + END_INTERFACE +} IDtcLuRecoveryVtbl; + +interface IDtcLuRecovery { + CONST_VTBL IDtcLuRecoveryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecovery_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecovery_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecovery_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecovery_QueryInterface(IDtcLuRecovery* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecovery_AddRef(IDtcLuRecovery* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecovery_Release(IDtcLuRecovery* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecovery_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRecoveryFactory interface + */ +#ifndef __IDtcLuRecoveryFactory_INTERFACE_DEFINED__ +#define __IDtcLuRecoveryFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecoveryFactory, 0x4131e762, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e762-1aea-11d0-944b-00a0c905416e") +IDtcLuRecoveryFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + byte *pucLuPair, + DWORD cbLuPair, + IDtcLuRecovery **ppRecovery) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecoveryFactory, 0x4131e762, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRecoveryFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecoveryFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecoveryFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecoveryFactory *This); + + /*** IDtcLuRecoveryFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + IDtcLuRecoveryFactory *This, + byte *pucLuPair, + DWORD cbLuPair, + IDtcLuRecovery **ppRecovery); + + END_INTERFACE +} IDtcLuRecoveryFactoryVtbl; + +interface IDtcLuRecoveryFactory { + CONST_VTBL IDtcLuRecoveryFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecoveryFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecoveryFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecoveryFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRecoveryFactory methods ***/ +#define IDtcLuRecoveryFactory_Create(This,pucLuPair,cbLuPair,ppRecovery) (This)->lpVtbl->Create(This,pucLuPair,cbLuPair,ppRecovery) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryFactory_QueryInterface(IDtcLuRecoveryFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecoveryFactory_AddRef(IDtcLuRecoveryFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecoveryFactory_Release(IDtcLuRecoveryFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRecoveryFactory methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryFactory_Create(IDtcLuRecoveryFactory* This,byte *pucLuPair,DWORD cbLuPair,IDtcLuRecovery **ppRecovery) { + return This->lpVtbl->Create(This,pucLuPair,cbLuPair,ppRecovery); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecoveryFactory_INTERFACE_DEFINED__ */ + +typedef enum _DtcLu_LocalRecovery_Work { + DTCINITIATEDRECOVERYWORK_CHECKLUSTATUS = 1, + DTCINITIATEDRECOVERYWORK_TRANS = 2, + DTCINITIATEDRECOVERYWORK_TMDOWN = 3 +} DTCINITIATEDRECOVERYWORK; +typedef enum _DtcLu_Xln { + DTCLUXLN_COLD = 1, + DTCLUXLN_WARM = 2 +} DTCLUXLN; +typedef enum _DtcLu_Xln_Confirmation { + DTCLUXLNCONFIRMATION_CONFIRM = 1, + DTCLUXLNCONFIRMATION_LOGNAMEMISMATCH = 2, + DTCLUXLNCONFIRMATION_COLDWARMMISMATCH = 3, + DTCLUXLNCONFIRMATION_OBSOLETE = 4 +} DTCLUXLNCONFIRMATION; +typedef enum _DtcLu_Xln_Response { + DTCLUXLNRESPONSE_OK_SENDOURXLNBACK = 1, + DTCLUXLNRESPONSE_OK_SENDCONFIRMATION = 2, + DTCLUXLNRESPONSE_LOGNAMEMISMATCH = 3, + DTCLUXLNRESPONSE_COLDWARMMISMATCH = 4 +} DTCLUXLNRESPONSE; +typedef enum _DtcLu_Xln_Error { + DTCLUXLNERROR_PROTOCOL = 1, + DTCLUXLNERROR_LOGNAMEMISMATCH = 2, + DTCLUXLNERROR_COLDWARMMISMATCH = 3 +} DTCLUXLNERROR; +typedef enum _DtcLu_CompareState { + DTCLUCOMPARESTATE_COMMITTED = 1, + DTCLUCOMPARESTATE_HEURISTICCOMMITTED = 2, + DTCLUCOMPARESTATE_HEURISTICMIXED = 3, + DTCLUCOMPARESTATE_HEURISTICRESET = 4, + DTCLUCOMPARESTATE_INDOUBT = 5, + DTCLUCOMPARESTATE_RESET = 6 +} DTCLUCOMPARESTATE; +typedef enum _DtcLu_CompareStates_Confirmation { + DTCLUCOMPARESTATESCONFIRMATION_CONFIRM = 1, + DTCLUCOMPARESTATESCONFIRMATION_PROTOCOL = 2 +} DTCLUCOMPARESTATESCONFIRMATION; +typedef enum _DtcLu_CompareStates_Error { + DTCLUCOMPARESTATESERROR_PROTOCOL = 1 +} DTCLUCOMPARESTATESERROR; +typedef enum _DtcLu_CompareStates_Response { + DTCLUCOMPARESTATESRESPONSE_OK = 1, + DTCLUCOMPARESTATESRESPONSE_PROTOCOL = 2 +} DTCLUCOMPARESTATESRESPONSE; +/***************************************************************************** + * IDtcLuRecoveryInitiatedByDtcTransWork interface + */ +#ifndef __IDtcLuRecoveryInitiatedByDtcTransWork_INTERFACE_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtcTransWork_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByDtcTransWork, 0x4131e765, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e765-1aea-11d0-944b-00a0c905416e") +IDtcLuRecoveryInitiatedByDtcTransWork : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetLogNameSizes( + DWORD *pcbOurLogName, + DWORD *pcbRemoteLogName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOurXln( + DTCLUXLN *pXln, + unsigned char *pOurLogName, + unsigned char *pRemoteLogName, + DWORD *pdwProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleConfirmationFromOurXln( + DTCLUXLNCONFIRMATION Confirmation) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleTheirXlnResponse( + DTCLUXLN Xln, + unsigned char *pRemoteLogName, + DWORD cbRemoteLogName, + DWORD dwProtocol, + DTCLUXLNCONFIRMATION *pConfirmation) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleErrorFromOurXln( + DTCLUXLNERROR Error) = 0; + + virtual HRESULT STDMETHODCALLTYPE CheckForCompareStates( + BOOL *fCompareStates) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOurTransIdSize( + DWORD *pcbOurTransId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOurCompareStates( + unsigned char *pOurTransId, + DTCLUCOMPARESTATE *pCompareState) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleTheirCompareStatesResponse( + DTCLUCOMPARESTATE CompareState, + DTCLUCOMPARESTATESCONFIRMATION *pConfirmation) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleErrorFromOurCompareStates( + DTCLUCOMPARESTATESERROR Error) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConversationLost( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRecoverySeqNum( + LONG *plRecoverySeqNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE ObsoleteRecoverySeqNum( + LONG lNewRecoverySeqNum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecoveryInitiatedByDtcTransWork, 0x4131e765, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRecoveryInitiatedByDtcTransWorkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecoveryInitiatedByDtcTransWork *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecoveryInitiatedByDtcTransWork *This); + + /*** IDtcLuRecoveryInitiatedByDtcTransWork methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLogNameSizes)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DWORD *pcbOurLogName, + DWORD *pcbRemoteLogName); + + HRESULT (STDMETHODCALLTYPE *GetOurXln)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DTCLUXLN *pXln, + unsigned char *pOurLogName, + unsigned char *pRemoteLogName, + DWORD *pdwProtocol); + + HRESULT (STDMETHODCALLTYPE *HandleConfirmationFromOurXln)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DTCLUXLNCONFIRMATION Confirmation); + + HRESULT (STDMETHODCALLTYPE *HandleTheirXlnResponse)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DTCLUXLN Xln, + unsigned char *pRemoteLogName, + DWORD cbRemoteLogName, + DWORD dwProtocol, + DTCLUXLNCONFIRMATION *pConfirmation); + + HRESULT (STDMETHODCALLTYPE *HandleErrorFromOurXln)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DTCLUXLNERROR Error); + + HRESULT (STDMETHODCALLTYPE *CheckForCompareStates)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + BOOL *fCompareStates); + + HRESULT (STDMETHODCALLTYPE *GetOurTransIdSize)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DWORD *pcbOurTransId); + + HRESULT (STDMETHODCALLTYPE *GetOurCompareStates)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + unsigned char *pOurTransId, + DTCLUCOMPARESTATE *pCompareState); + + HRESULT (STDMETHODCALLTYPE *HandleTheirCompareStatesResponse)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DTCLUCOMPARESTATE CompareState, + DTCLUCOMPARESTATESCONFIRMATION *pConfirmation); + + HRESULT (STDMETHODCALLTYPE *HandleErrorFromOurCompareStates)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + DTCLUCOMPARESTATESERROR Error); + + HRESULT (STDMETHODCALLTYPE *ConversationLost)( + IDtcLuRecoveryInitiatedByDtcTransWork *This); + + HRESULT (STDMETHODCALLTYPE *GetRecoverySeqNum)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + LONG *plRecoverySeqNum); + + HRESULT (STDMETHODCALLTYPE *ObsoleteRecoverySeqNum)( + IDtcLuRecoveryInitiatedByDtcTransWork *This, + LONG lNewRecoverySeqNum); + + END_INTERFACE +} IDtcLuRecoveryInitiatedByDtcTransWorkVtbl; + +interface IDtcLuRecoveryInitiatedByDtcTransWork { + CONST_VTBL IDtcLuRecoveryInitiatedByDtcTransWorkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecoveryInitiatedByDtcTransWork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecoveryInitiatedByDtcTransWork_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecoveryInitiatedByDtcTransWork_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRecoveryInitiatedByDtcTransWork methods ***/ +#define IDtcLuRecoveryInitiatedByDtcTransWork_GetLogNameSizes(This,pcbOurLogName,pcbRemoteLogName) (This)->lpVtbl->GetLogNameSizes(This,pcbOurLogName,pcbRemoteLogName) +#define IDtcLuRecoveryInitiatedByDtcTransWork_GetOurXln(This,pXln,pOurLogName,pRemoteLogName,pdwProtocol) (This)->lpVtbl->GetOurXln(This,pXln,pOurLogName,pRemoteLogName,pdwProtocol) +#define IDtcLuRecoveryInitiatedByDtcTransWork_HandleConfirmationFromOurXln(This,Confirmation) (This)->lpVtbl->HandleConfirmationFromOurXln(This,Confirmation) +#define IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirXlnResponse(This,Xln,pRemoteLogName,cbRemoteLogName,dwProtocol,pConfirmation) (This)->lpVtbl->HandleTheirXlnResponse(This,Xln,pRemoteLogName,cbRemoteLogName,dwProtocol,pConfirmation) +#define IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurXln(This,Error) (This)->lpVtbl->HandleErrorFromOurXln(This,Error) +#define IDtcLuRecoveryInitiatedByDtcTransWork_CheckForCompareStates(This,fCompareStates) (This)->lpVtbl->CheckForCompareStates(This,fCompareStates) +#define IDtcLuRecoveryInitiatedByDtcTransWork_GetOurTransIdSize(This,pcbOurTransId) (This)->lpVtbl->GetOurTransIdSize(This,pcbOurTransId) +#define IDtcLuRecoveryInitiatedByDtcTransWork_GetOurCompareStates(This,pOurTransId,pCompareState) (This)->lpVtbl->GetOurCompareStates(This,pOurTransId,pCompareState) +#define IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirCompareStatesResponse(This,CompareState,pConfirmation) (This)->lpVtbl->HandleTheirCompareStatesResponse(This,CompareState,pConfirmation) +#define IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurCompareStates(This,Error) (This)->lpVtbl->HandleErrorFromOurCompareStates(This,Error) +#define IDtcLuRecoveryInitiatedByDtcTransWork_ConversationLost(This) (This)->lpVtbl->ConversationLost(This) +#define IDtcLuRecoveryInitiatedByDtcTransWork_GetRecoverySeqNum(This,plRecoverySeqNum) (This)->lpVtbl->GetRecoverySeqNum(This,plRecoverySeqNum) +#define IDtcLuRecoveryInitiatedByDtcTransWork_ObsoleteRecoverySeqNum(This,lNewRecoverySeqNum) (This)->lpVtbl->ObsoleteRecoverySeqNum(This,lNewRecoverySeqNum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_QueryInterface(IDtcLuRecoveryInitiatedByDtcTransWork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByDtcTransWork_AddRef(IDtcLuRecoveryInitiatedByDtcTransWork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByDtcTransWork_Release(IDtcLuRecoveryInitiatedByDtcTransWork* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRecoveryInitiatedByDtcTransWork methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_GetLogNameSizes(IDtcLuRecoveryInitiatedByDtcTransWork* This,DWORD *pcbOurLogName,DWORD *pcbRemoteLogName) { + return This->lpVtbl->GetLogNameSizes(This,pcbOurLogName,pcbRemoteLogName); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_GetOurXln(IDtcLuRecoveryInitiatedByDtcTransWork* This,DTCLUXLN *pXln,unsigned char *pOurLogName,unsigned char *pRemoteLogName,DWORD *pdwProtocol) { + return This->lpVtbl->GetOurXln(This,pXln,pOurLogName,pRemoteLogName,pdwProtocol); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_HandleConfirmationFromOurXln(IDtcLuRecoveryInitiatedByDtcTransWork* This,DTCLUXLNCONFIRMATION Confirmation) { + return This->lpVtbl->HandleConfirmationFromOurXln(This,Confirmation); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirXlnResponse(IDtcLuRecoveryInitiatedByDtcTransWork* This,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,DWORD dwProtocol,DTCLUXLNCONFIRMATION *pConfirmation) { + return This->lpVtbl->HandleTheirXlnResponse(This,Xln,pRemoteLogName,cbRemoteLogName,dwProtocol,pConfirmation); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurXln(IDtcLuRecoveryInitiatedByDtcTransWork* This,DTCLUXLNERROR Error) { + return This->lpVtbl->HandleErrorFromOurXln(This,Error); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_CheckForCompareStates(IDtcLuRecoveryInitiatedByDtcTransWork* This,BOOL *fCompareStates) { + return This->lpVtbl->CheckForCompareStates(This,fCompareStates); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_GetOurTransIdSize(IDtcLuRecoveryInitiatedByDtcTransWork* This,DWORD *pcbOurTransId) { + return This->lpVtbl->GetOurTransIdSize(This,pcbOurTransId); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_GetOurCompareStates(IDtcLuRecoveryInitiatedByDtcTransWork* This,unsigned char *pOurTransId,DTCLUCOMPARESTATE *pCompareState) { + return This->lpVtbl->GetOurCompareStates(This,pOurTransId,pCompareState); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirCompareStatesResponse(IDtcLuRecoveryInitiatedByDtcTransWork* This,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESCONFIRMATION *pConfirmation) { + return This->lpVtbl->HandleTheirCompareStatesResponse(This,CompareState,pConfirmation); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurCompareStates(IDtcLuRecoveryInitiatedByDtcTransWork* This,DTCLUCOMPARESTATESERROR Error) { + return This->lpVtbl->HandleErrorFromOurCompareStates(This,Error); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_ConversationLost(IDtcLuRecoveryInitiatedByDtcTransWork* This) { + return This->lpVtbl->ConversationLost(This); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_GetRecoverySeqNum(IDtcLuRecoveryInitiatedByDtcTransWork* This,LONG *plRecoverySeqNum) { + return This->lpVtbl->GetRecoverySeqNum(This,plRecoverySeqNum); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcTransWork_ObsoleteRecoverySeqNum(IDtcLuRecoveryInitiatedByDtcTransWork* This,LONG lNewRecoverySeqNum) { + return This->lpVtbl->ObsoleteRecoverySeqNum(This,lNewRecoverySeqNum); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecoveryInitiatedByDtcTransWork_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRecoveryInitiatedByDtcStatusWork interface + */ +#ifndef __IDtcLuRecoveryInitiatedByDtcStatusWork_INTERFACE_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtcStatusWork_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByDtcStatusWork, 0x4131e766, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e766-1aea-11d0-944b-00a0c905416e") +IDtcLuRecoveryInitiatedByDtcStatusWork : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE HandleCheckLuStatus( + LONG lRecoverySeqNum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecoveryInitiatedByDtcStatusWork, 0x4131e766, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRecoveryInitiatedByDtcStatusWorkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecoveryInitiatedByDtcStatusWork *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecoveryInitiatedByDtcStatusWork *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecoveryInitiatedByDtcStatusWork *This); + + /*** IDtcLuRecoveryInitiatedByDtcStatusWork methods ***/ + HRESULT (STDMETHODCALLTYPE *HandleCheckLuStatus)( + IDtcLuRecoveryInitiatedByDtcStatusWork *This, + LONG lRecoverySeqNum); + + END_INTERFACE +} IDtcLuRecoveryInitiatedByDtcStatusWorkVtbl; + +interface IDtcLuRecoveryInitiatedByDtcStatusWork { + CONST_VTBL IDtcLuRecoveryInitiatedByDtcStatusWorkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecoveryInitiatedByDtcStatusWork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecoveryInitiatedByDtcStatusWork_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecoveryInitiatedByDtcStatusWork_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRecoveryInitiatedByDtcStatusWork methods ***/ +#define IDtcLuRecoveryInitiatedByDtcStatusWork_HandleCheckLuStatus(This,lRecoverySeqNum) (This)->lpVtbl->HandleCheckLuStatus(This,lRecoverySeqNum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcStatusWork_QueryInterface(IDtcLuRecoveryInitiatedByDtcStatusWork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByDtcStatusWork_AddRef(IDtcLuRecoveryInitiatedByDtcStatusWork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByDtcStatusWork_Release(IDtcLuRecoveryInitiatedByDtcStatusWork* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRecoveryInitiatedByDtcStatusWork methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtcStatusWork_HandleCheckLuStatus(IDtcLuRecoveryInitiatedByDtcStatusWork* This,LONG lRecoverySeqNum) { + return This->lpVtbl->HandleCheckLuStatus(This,lRecoverySeqNum); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecoveryInitiatedByDtcStatusWork_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRecoveryInitiatedByDtc interface + */ +#ifndef __IDtcLuRecoveryInitiatedByDtc_INTERFACE_DEFINED__ +#define __IDtcLuRecoveryInitiatedByDtc_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByDtc, 0x4131e764, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e764-1aea-11d0-944b-00a0c905416e") +IDtcLuRecoveryInitiatedByDtc : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetWork( + DTCINITIATEDRECOVERYWORK *pWork, + void **ppv) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecoveryInitiatedByDtc, 0x4131e764, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRecoveryInitiatedByDtcVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecoveryInitiatedByDtc *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecoveryInitiatedByDtc *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecoveryInitiatedByDtc *This); + + /*** IDtcLuRecoveryInitiatedByDtc methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWork)( + IDtcLuRecoveryInitiatedByDtc *This, + DTCINITIATEDRECOVERYWORK *pWork, + void **ppv); + + END_INTERFACE +} IDtcLuRecoveryInitiatedByDtcVtbl; + +interface IDtcLuRecoveryInitiatedByDtc { + CONST_VTBL IDtcLuRecoveryInitiatedByDtcVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecoveryInitiatedByDtc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecoveryInitiatedByDtc_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecoveryInitiatedByDtc_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRecoveryInitiatedByDtc methods ***/ +#define IDtcLuRecoveryInitiatedByDtc_GetWork(This,pWork,ppv) (This)->lpVtbl->GetWork(This,pWork,ppv) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtc_QueryInterface(IDtcLuRecoveryInitiatedByDtc* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByDtc_AddRef(IDtcLuRecoveryInitiatedByDtc* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByDtc_Release(IDtcLuRecoveryInitiatedByDtc* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRecoveryInitiatedByDtc methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByDtc_GetWork(IDtcLuRecoveryInitiatedByDtc* This,DTCINITIATEDRECOVERYWORK *pWork,void **ppv) { + return This->lpVtbl->GetWork(This,pWork,ppv); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecoveryInitiatedByDtc_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRecoveryInitiatedByLuWork interface + */ +#ifndef __IDtcLuRecoveryInitiatedByLuWork_INTERFACE_DEFINED__ +#define __IDtcLuRecoveryInitiatedByLuWork_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByLuWork, 0xac2b8ad1, 0xd6f0, 0x11d0, 0xb3,0x86, 0x00,0xa0,0xc9,0x08,0x33,0x65); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ac2b8ad1-d6f0-11d0-b386-00a0c9083365") +IDtcLuRecoveryInitiatedByLuWork : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE HandleTheirXln( + LONG lRecoverySeqNum, + DTCLUXLN Xln, + unsigned char *pRemoteLogName, + DWORD cbRemoteLogName, + unsigned char *pOurLogName, + DWORD cbOurLogName, + DWORD dwProtocol, + DTCLUXLNRESPONSE *pResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOurLogNameSize( + DWORD *pcbOurLogName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOurXln( + DTCLUXLN *pXln, + unsigned char *pOurLogName, + DWORD *pdwProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleConfirmationOfOurXln( + DTCLUXLNCONFIRMATION Confirmation) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleTheirCompareStates( + unsigned char *pRemoteTransId, + DWORD cbRemoteTransId, + DTCLUCOMPARESTATE CompareState, + DTCLUCOMPARESTATESRESPONSE *pResponse, + DTCLUCOMPARESTATE *pCompareState) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleConfirmationOfOurCompareStates( + DTCLUCOMPARESTATESCONFIRMATION Confirmation) = 0; + + virtual HRESULT STDMETHODCALLTYPE HandleErrorFromOurCompareStates( + DTCLUCOMPARESTATESERROR Error) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConversationLost( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecoveryInitiatedByLuWork, 0xac2b8ad1, 0xd6f0, 0x11d0, 0xb3,0x86, 0x00,0xa0,0xc9,0x08,0x33,0x65) +#endif +#else +typedef struct IDtcLuRecoveryInitiatedByLuWorkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecoveryInitiatedByLuWork *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecoveryInitiatedByLuWork *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecoveryInitiatedByLuWork *This); + + /*** IDtcLuRecoveryInitiatedByLuWork methods ***/ + HRESULT (STDMETHODCALLTYPE *HandleTheirXln)( + IDtcLuRecoveryInitiatedByLuWork *This, + LONG lRecoverySeqNum, + DTCLUXLN Xln, + unsigned char *pRemoteLogName, + DWORD cbRemoteLogName, + unsigned char *pOurLogName, + DWORD cbOurLogName, + DWORD dwProtocol, + DTCLUXLNRESPONSE *pResponse); + + HRESULT (STDMETHODCALLTYPE *GetOurLogNameSize)( + IDtcLuRecoveryInitiatedByLuWork *This, + DWORD *pcbOurLogName); + + HRESULT (STDMETHODCALLTYPE *GetOurXln)( + IDtcLuRecoveryInitiatedByLuWork *This, + DTCLUXLN *pXln, + unsigned char *pOurLogName, + DWORD *pdwProtocol); + + HRESULT (STDMETHODCALLTYPE *HandleConfirmationOfOurXln)( + IDtcLuRecoveryInitiatedByLuWork *This, + DTCLUXLNCONFIRMATION Confirmation); + + HRESULT (STDMETHODCALLTYPE *HandleTheirCompareStates)( + IDtcLuRecoveryInitiatedByLuWork *This, + unsigned char *pRemoteTransId, + DWORD cbRemoteTransId, + DTCLUCOMPARESTATE CompareState, + DTCLUCOMPARESTATESRESPONSE *pResponse, + DTCLUCOMPARESTATE *pCompareState); + + HRESULT (STDMETHODCALLTYPE *HandleConfirmationOfOurCompareStates)( + IDtcLuRecoveryInitiatedByLuWork *This, + DTCLUCOMPARESTATESCONFIRMATION Confirmation); + + HRESULT (STDMETHODCALLTYPE *HandleErrorFromOurCompareStates)( + IDtcLuRecoveryInitiatedByLuWork *This, + DTCLUCOMPARESTATESERROR Error); + + HRESULT (STDMETHODCALLTYPE *ConversationLost)( + IDtcLuRecoveryInitiatedByLuWork *This); + + END_INTERFACE +} IDtcLuRecoveryInitiatedByLuWorkVtbl; + +interface IDtcLuRecoveryInitiatedByLuWork { + CONST_VTBL IDtcLuRecoveryInitiatedByLuWorkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecoveryInitiatedByLuWork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecoveryInitiatedByLuWork_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecoveryInitiatedByLuWork_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRecoveryInitiatedByLuWork methods ***/ +#define IDtcLuRecoveryInitiatedByLuWork_HandleTheirXln(This,lRecoverySeqNum,Xln,pRemoteLogName,cbRemoteLogName,pOurLogName,cbOurLogName,dwProtocol,pResponse) (This)->lpVtbl->HandleTheirXln(This,lRecoverySeqNum,Xln,pRemoteLogName,cbRemoteLogName,pOurLogName,cbOurLogName,dwProtocol,pResponse) +#define IDtcLuRecoveryInitiatedByLuWork_GetOurLogNameSize(This,pcbOurLogName) (This)->lpVtbl->GetOurLogNameSize(This,pcbOurLogName) +#define IDtcLuRecoveryInitiatedByLuWork_GetOurXln(This,pXln,pOurLogName,pdwProtocol) (This)->lpVtbl->GetOurXln(This,pXln,pOurLogName,pdwProtocol) +#define IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurXln(This,Confirmation) (This)->lpVtbl->HandleConfirmationOfOurXln(This,Confirmation) +#define IDtcLuRecoveryInitiatedByLuWork_HandleTheirCompareStates(This,pRemoteTransId,cbRemoteTransId,CompareState,pResponse,pCompareState) (This)->lpVtbl->HandleTheirCompareStates(This,pRemoteTransId,cbRemoteTransId,CompareState,pResponse,pCompareState) +#define IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurCompareStates(This,Confirmation) (This)->lpVtbl->HandleConfirmationOfOurCompareStates(This,Confirmation) +#define IDtcLuRecoveryInitiatedByLuWork_HandleErrorFromOurCompareStates(This,Error) (This)->lpVtbl->HandleErrorFromOurCompareStates(This,Error) +#define IDtcLuRecoveryInitiatedByLuWork_ConversationLost(This) (This)->lpVtbl->ConversationLost(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_QueryInterface(IDtcLuRecoveryInitiatedByLuWork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByLuWork_AddRef(IDtcLuRecoveryInitiatedByLuWork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByLuWork_Release(IDtcLuRecoveryInitiatedByLuWork* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRecoveryInitiatedByLuWork methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_HandleTheirXln(IDtcLuRecoveryInitiatedByLuWork* This,LONG lRecoverySeqNum,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,unsigned char *pOurLogName,DWORD cbOurLogName,DWORD dwProtocol,DTCLUXLNRESPONSE *pResponse) { + return This->lpVtbl->HandleTheirXln(This,lRecoverySeqNum,Xln,pRemoteLogName,cbRemoteLogName,pOurLogName,cbOurLogName,dwProtocol,pResponse); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_GetOurLogNameSize(IDtcLuRecoveryInitiatedByLuWork* This,DWORD *pcbOurLogName) { + return This->lpVtbl->GetOurLogNameSize(This,pcbOurLogName); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_GetOurXln(IDtcLuRecoveryInitiatedByLuWork* This,DTCLUXLN *pXln,unsigned char *pOurLogName,DWORD *pdwProtocol) { + return This->lpVtbl->GetOurXln(This,pXln,pOurLogName,pdwProtocol); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurXln(IDtcLuRecoveryInitiatedByLuWork* This,DTCLUXLNCONFIRMATION Confirmation) { + return This->lpVtbl->HandleConfirmationOfOurXln(This,Confirmation); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_HandleTheirCompareStates(IDtcLuRecoveryInitiatedByLuWork* This,unsigned char *pRemoteTransId,DWORD cbRemoteTransId,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESRESPONSE *pResponse,DTCLUCOMPARESTATE *pCompareState) { + return This->lpVtbl->HandleTheirCompareStates(This,pRemoteTransId,cbRemoteTransId,CompareState,pResponse,pCompareState); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurCompareStates(IDtcLuRecoveryInitiatedByLuWork* This,DTCLUCOMPARESTATESCONFIRMATION Confirmation) { + return This->lpVtbl->HandleConfirmationOfOurCompareStates(This,Confirmation); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_HandleErrorFromOurCompareStates(IDtcLuRecoveryInitiatedByLuWork* This,DTCLUCOMPARESTATESERROR Error) { + return This->lpVtbl->HandleErrorFromOurCompareStates(This,Error); +} +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLuWork_ConversationLost(IDtcLuRecoveryInitiatedByLuWork* This) { + return This->lpVtbl->ConversationLost(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecoveryInitiatedByLuWork_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRecoveryInitiatedByLu interface + */ +#ifndef __IDtcLuRecoveryInitiatedByLu_INTERFACE_DEFINED__ +#define __IDtcLuRecoveryInitiatedByLu_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByLu, 0x4131e768, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e768-1aea-11d0-944b-00a0c905416e") +IDtcLuRecoveryInitiatedByLu : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetObjectToHandleWorkFromLu( + IDtcLuRecoveryInitiatedByLuWork **ppWork) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRecoveryInitiatedByLu, 0x4131e768, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRecoveryInitiatedByLuVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRecoveryInitiatedByLu *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRecoveryInitiatedByLu *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRecoveryInitiatedByLu *This); + + /*** IDtcLuRecoveryInitiatedByLu methods ***/ + HRESULT (STDMETHODCALLTYPE *GetObjectToHandleWorkFromLu)( + IDtcLuRecoveryInitiatedByLu *This, + IDtcLuRecoveryInitiatedByLuWork **ppWork); + + END_INTERFACE +} IDtcLuRecoveryInitiatedByLuVtbl; + +interface IDtcLuRecoveryInitiatedByLu { + CONST_VTBL IDtcLuRecoveryInitiatedByLuVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRecoveryInitiatedByLu_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRecoveryInitiatedByLu_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRecoveryInitiatedByLu_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRecoveryInitiatedByLu methods ***/ +#define IDtcLuRecoveryInitiatedByLu_GetObjectToHandleWorkFromLu(This,ppWork) (This)->lpVtbl->GetObjectToHandleWorkFromLu(This,ppWork) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLu_QueryInterface(IDtcLuRecoveryInitiatedByLu* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByLu_AddRef(IDtcLuRecoveryInitiatedByLu* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRecoveryInitiatedByLu_Release(IDtcLuRecoveryInitiatedByLu* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRecoveryInitiatedByLu methods ***/ +static FORCEINLINE HRESULT IDtcLuRecoveryInitiatedByLu_GetObjectToHandleWorkFromLu(IDtcLuRecoveryInitiatedByLu* This,IDtcLuRecoveryInitiatedByLuWork **ppWork) { + return This->lpVtbl->GetObjectToHandleWorkFromLu(This,ppWork); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRecoveryInitiatedByLu_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRmEnlistment interface + */ +#ifndef __IDtcLuRmEnlistment_INTERFACE_DEFINED__ +#define __IDtcLuRmEnlistment_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRmEnlistment, 0x4131e769, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e769-1aea-11d0-944b-00a0c905416e") +IDtcLuRmEnlistment : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Unplug( + BOOL fConversationLost) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackedOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Committed( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Forget( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestCommit( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRmEnlistment, 0x4131e769, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRmEnlistmentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRmEnlistment *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRmEnlistment *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRmEnlistment *This); + + /*** IDtcLuRmEnlistment methods ***/ + HRESULT (STDMETHODCALLTYPE *Unplug)( + IDtcLuRmEnlistment *This, + BOOL fConversationLost); + + HRESULT (STDMETHODCALLTYPE *BackedOut)( + IDtcLuRmEnlistment *This); + + HRESULT (STDMETHODCALLTYPE *BackOut)( + IDtcLuRmEnlistment *This); + + HRESULT (STDMETHODCALLTYPE *Committed)( + IDtcLuRmEnlistment *This); + + HRESULT (STDMETHODCALLTYPE *Forget)( + IDtcLuRmEnlistment *This); + + HRESULT (STDMETHODCALLTYPE *RequestCommit)( + IDtcLuRmEnlistment *This); + + END_INTERFACE +} IDtcLuRmEnlistmentVtbl; + +interface IDtcLuRmEnlistment { + CONST_VTBL IDtcLuRmEnlistmentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRmEnlistment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRmEnlistment_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRmEnlistment_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRmEnlistment methods ***/ +#define IDtcLuRmEnlistment_Unplug(This,fConversationLost) (This)->lpVtbl->Unplug(This,fConversationLost) +#define IDtcLuRmEnlistment_BackedOut(This) (This)->lpVtbl->BackedOut(This) +#define IDtcLuRmEnlistment_BackOut(This) (This)->lpVtbl->BackOut(This) +#define IDtcLuRmEnlistment_Committed(This) (This)->lpVtbl->Committed(This) +#define IDtcLuRmEnlistment_Forget(This) (This)->lpVtbl->Forget(This) +#define IDtcLuRmEnlistment_RequestCommit(This) (This)->lpVtbl->RequestCommit(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRmEnlistment_QueryInterface(IDtcLuRmEnlistment* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRmEnlistment_AddRef(IDtcLuRmEnlistment* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRmEnlistment_Release(IDtcLuRmEnlistment* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRmEnlistment methods ***/ +static FORCEINLINE HRESULT IDtcLuRmEnlistment_Unplug(IDtcLuRmEnlistment* This,BOOL fConversationLost) { + return This->lpVtbl->Unplug(This,fConversationLost); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistment_BackedOut(IDtcLuRmEnlistment* This) { + return This->lpVtbl->BackedOut(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistment_BackOut(IDtcLuRmEnlistment* This) { + return This->lpVtbl->BackOut(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistment_Committed(IDtcLuRmEnlistment* This) { + return This->lpVtbl->Committed(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistment_Forget(IDtcLuRmEnlistment* This) { + return This->lpVtbl->Forget(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistment_RequestCommit(IDtcLuRmEnlistment* This) { + return This->lpVtbl->RequestCommit(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRmEnlistment_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRmEnlistmentSink interface + */ +#ifndef __IDtcLuRmEnlistmentSink_INTERFACE_DEFINED__ +#define __IDtcLuRmEnlistmentSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRmEnlistmentSink, 0x4131e770, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e770-1aea-11d0-944b-00a0c905416e") +IDtcLuRmEnlistmentSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AckUnplug( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE TmDown( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SessionLost( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackedOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Committed( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Forget( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Prepare( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestCommit( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRmEnlistmentSink, 0x4131e770, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRmEnlistmentSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRmEnlistmentSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRmEnlistmentSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRmEnlistmentSink *This); + + /*** IDtcLuRmEnlistmentSink methods ***/ + HRESULT (STDMETHODCALLTYPE *AckUnplug)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *TmDown)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *SessionLost)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *BackedOut)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *BackOut)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *Committed)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *Forget)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *Prepare)( + IDtcLuRmEnlistmentSink *This); + + HRESULT (STDMETHODCALLTYPE *RequestCommit)( + IDtcLuRmEnlistmentSink *This); + + END_INTERFACE +} IDtcLuRmEnlistmentSinkVtbl; + +interface IDtcLuRmEnlistmentSink { + CONST_VTBL IDtcLuRmEnlistmentSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRmEnlistmentSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRmEnlistmentSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRmEnlistmentSink_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRmEnlistmentSink methods ***/ +#define IDtcLuRmEnlistmentSink_AckUnplug(This) (This)->lpVtbl->AckUnplug(This) +#define IDtcLuRmEnlistmentSink_TmDown(This) (This)->lpVtbl->TmDown(This) +#define IDtcLuRmEnlistmentSink_SessionLost(This) (This)->lpVtbl->SessionLost(This) +#define IDtcLuRmEnlistmentSink_BackedOut(This) (This)->lpVtbl->BackedOut(This) +#define IDtcLuRmEnlistmentSink_BackOut(This) (This)->lpVtbl->BackOut(This) +#define IDtcLuRmEnlistmentSink_Committed(This) (This)->lpVtbl->Committed(This) +#define IDtcLuRmEnlistmentSink_Forget(This) (This)->lpVtbl->Forget(This) +#define IDtcLuRmEnlistmentSink_Prepare(This) (This)->lpVtbl->Prepare(This) +#define IDtcLuRmEnlistmentSink_RequestCommit(This) (This)->lpVtbl->RequestCommit(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_QueryInterface(IDtcLuRmEnlistmentSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRmEnlistmentSink_AddRef(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRmEnlistmentSink_Release(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRmEnlistmentSink methods ***/ +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_AckUnplug(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->AckUnplug(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_TmDown(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->TmDown(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_SessionLost(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->SessionLost(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_BackedOut(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->BackedOut(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_BackOut(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->BackOut(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_Committed(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->Committed(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_Forget(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->Forget(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_Prepare(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->Prepare(This); +} +static FORCEINLINE HRESULT IDtcLuRmEnlistmentSink_RequestCommit(IDtcLuRmEnlistmentSink* This) { + return This->lpVtbl->RequestCommit(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRmEnlistmentSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuRmEnlistmentFactory interface + */ +#ifndef __IDtcLuRmEnlistmentFactory_INTERFACE_DEFINED__ +#define __IDtcLuRmEnlistmentFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuRmEnlistmentFactory, 0x4131e771, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e771-1aea-11d0-944b-00a0c905416e") +IDtcLuRmEnlistmentFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + unsigned char *pucLuPair, + DWORD cbLuPair, + ITransaction *pITransaction, + unsigned char *pTransId, + DWORD cbTransId, + IDtcLuRmEnlistmentSink *pRmEnlistmentSink, + IDtcLuRmEnlistment **ppRmEnlistment) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuRmEnlistmentFactory, 0x4131e771, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuRmEnlistmentFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuRmEnlistmentFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuRmEnlistmentFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuRmEnlistmentFactory *This); + + /*** IDtcLuRmEnlistmentFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + IDtcLuRmEnlistmentFactory *This, + unsigned char *pucLuPair, + DWORD cbLuPair, + ITransaction *pITransaction, + unsigned char *pTransId, + DWORD cbTransId, + IDtcLuRmEnlistmentSink *pRmEnlistmentSink, + IDtcLuRmEnlistment **ppRmEnlistment); + + END_INTERFACE +} IDtcLuRmEnlistmentFactoryVtbl; + +interface IDtcLuRmEnlistmentFactory { + CONST_VTBL IDtcLuRmEnlistmentFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuRmEnlistmentFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuRmEnlistmentFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuRmEnlistmentFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuRmEnlistmentFactory methods ***/ +#define IDtcLuRmEnlistmentFactory_Create(This,pucLuPair,cbLuPair,pITransaction,pTransId,cbTransId,pRmEnlistmentSink,ppRmEnlistment) (This)->lpVtbl->Create(This,pucLuPair,cbLuPair,pITransaction,pTransId,cbTransId,pRmEnlistmentSink,ppRmEnlistment) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuRmEnlistmentFactory_QueryInterface(IDtcLuRmEnlistmentFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuRmEnlistmentFactory_AddRef(IDtcLuRmEnlistmentFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuRmEnlistmentFactory_Release(IDtcLuRmEnlistmentFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuRmEnlistmentFactory methods ***/ +static FORCEINLINE HRESULT IDtcLuRmEnlistmentFactory_Create(IDtcLuRmEnlistmentFactory* This,unsigned char *pucLuPair,DWORD cbLuPair,ITransaction *pITransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuRmEnlistmentSink *pRmEnlistmentSink,IDtcLuRmEnlistment **ppRmEnlistment) { + return This->lpVtbl->Create(This,pucLuPair,cbLuPair,pITransaction,pTransId,cbTransId,pRmEnlistmentSink,ppRmEnlistment); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuRmEnlistmentFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuSubordinateDtc interface + */ +#ifndef __IDtcLuSubordinateDtc_INTERFACE_DEFINED__ +#define __IDtcLuSubordinateDtc_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuSubordinateDtc, 0x4131e773, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e773-1aea-11d0-944b-00a0c905416e") +IDtcLuSubordinateDtc : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Unplug( + BOOL fConversationLost) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackedOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Committed( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Forget( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Prepare( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestCommit( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuSubordinateDtc, 0x4131e773, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuSubordinateDtcVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuSubordinateDtc *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuSubordinateDtc *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuSubordinateDtc *This); + + /*** IDtcLuSubordinateDtc methods ***/ + HRESULT (STDMETHODCALLTYPE *Unplug)( + IDtcLuSubordinateDtc *This, + BOOL fConversationLost); + + HRESULT (STDMETHODCALLTYPE *BackedOut)( + IDtcLuSubordinateDtc *This); + + HRESULT (STDMETHODCALLTYPE *BackOut)( + IDtcLuSubordinateDtc *This); + + HRESULT (STDMETHODCALLTYPE *Committed)( + IDtcLuSubordinateDtc *This); + + HRESULT (STDMETHODCALLTYPE *Forget)( + IDtcLuSubordinateDtc *This); + + HRESULT (STDMETHODCALLTYPE *Prepare)( + IDtcLuSubordinateDtc *This); + + HRESULT (STDMETHODCALLTYPE *RequestCommit)( + IDtcLuSubordinateDtc *This); + + END_INTERFACE +} IDtcLuSubordinateDtcVtbl; + +interface IDtcLuSubordinateDtc { + CONST_VTBL IDtcLuSubordinateDtcVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuSubordinateDtc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuSubordinateDtc_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuSubordinateDtc_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuSubordinateDtc methods ***/ +#define IDtcLuSubordinateDtc_Unplug(This,fConversationLost) (This)->lpVtbl->Unplug(This,fConversationLost) +#define IDtcLuSubordinateDtc_BackedOut(This) (This)->lpVtbl->BackedOut(This) +#define IDtcLuSubordinateDtc_BackOut(This) (This)->lpVtbl->BackOut(This) +#define IDtcLuSubordinateDtc_Committed(This) (This)->lpVtbl->Committed(This) +#define IDtcLuSubordinateDtc_Forget(This) (This)->lpVtbl->Forget(This) +#define IDtcLuSubordinateDtc_Prepare(This) (This)->lpVtbl->Prepare(This) +#define IDtcLuSubordinateDtc_RequestCommit(This) (This)->lpVtbl->RequestCommit(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_QueryInterface(IDtcLuSubordinateDtc* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuSubordinateDtc_AddRef(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuSubordinateDtc_Release(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuSubordinateDtc methods ***/ +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_Unplug(IDtcLuSubordinateDtc* This,BOOL fConversationLost) { + return This->lpVtbl->Unplug(This,fConversationLost); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_BackedOut(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->BackedOut(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_BackOut(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->BackOut(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_Committed(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->Committed(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_Forget(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->Forget(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_Prepare(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->Prepare(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtc_RequestCommit(IDtcLuSubordinateDtc* This) { + return This->lpVtbl->RequestCommit(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuSubordinateDtc_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuSubordinateDtcSink interface + */ +#ifndef __IDtcLuSubordinateDtcSink_INTERFACE_DEFINED__ +#define __IDtcLuSubordinateDtcSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuSubordinateDtcSink, 0x4131e774, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e774-1aea-11d0-944b-00a0c905416e") +IDtcLuSubordinateDtcSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AckUnplug( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE TmDown( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SessionLost( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackedOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE BackOut( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Committed( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Forget( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestCommit( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuSubordinateDtcSink, 0x4131e774, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuSubordinateDtcSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuSubordinateDtcSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuSubordinateDtcSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuSubordinateDtcSink *This); + + /*** IDtcLuSubordinateDtcSink methods ***/ + HRESULT (STDMETHODCALLTYPE *AckUnplug)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *TmDown)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *SessionLost)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *BackedOut)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *BackOut)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *Committed)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *Forget)( + IDtcLuSubordinateDtcSink *This); + + HRESULT (STDMETHODCALLTYPE *RequestCommit)( + IDtcLuSubordinateDtcSink *This); + + END_INTERFACE +} IDtcLuSubordinateDtcSinkVtbl; + +interface IDtcLuSubordinateDtcSink { + CONST_VTBL IDtcLuSubordinateDtcSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuSubordinateDtcSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuSubordinateDtcSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuSubordinateDtcSink_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuSubordinateDtcSink methods ***/ +#define IDtcLuSubordinateDtcSink_AckUnplug(This) (This)->lpVtbl->AckUnplug(This) +#define IDtcLuSubordinateDtcSink_TmDown(This) (This)->lpVtbl->TmDown(This) +#define IDtcLuSubordinateDtcSink_SessionLost(This) (This)->lpVtbl->SessionLost(This) +#define IDtcLuSubordinateDtcSink_BackedOut(This) (This)->lpVtbl->BackedOut(This) +#define IDtcLuSubordinateDtcSink_BackOut(This) (This)->lpVtbl->BackOut(This) +#define IDtcLuSubordinateDtcSink_Committed(This) (This)->lpVtbl->Committed(This) +#define IDtcLuSubordinateDtcSink_Forget(This) (This)->lpVtbl->Forget(This) +#define IDtcLuSubordinateDtcSink_RequestCommit(This) (This)->lpVtbl->RequestCommit(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_QueryInterface(IDtcLuSubordinateDtcSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuSubordinateDtcSink_AddRef(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuSubordinateDtcSink_Release(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuSubordinateDtcSink methods ***/ +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_AckUnplug(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->AckUnplug(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_TmDown(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->TmDown(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_SessionLost(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->SessionLost(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_BackedOut(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->BackedOut(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_BackOut(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->BackOut(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_Committed(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->Committed(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_Forget(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->Forget(This); +} +static FORCEINLINE HRESULT IDtcLuSubordinateDtcSink_RequestCommit(IDtcLuSubordinateDtcSink* This) { + return This->lpVtbl->RequestCommit(This); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuSubordinateDtcSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDtcLuSubordinateDtcFactory interface + */ +#ifndef __IDtcLuSubordinateDtcFactory_INTERFACE_DEFINED__ +#define __IDtcLuSubordinateDtcFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDtcLuSubordinateDtcFactory, 0x4131e775, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4131e775-1aea-11d0-944b-00a0c905416e") +IDtcLuSubordinateDtcFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Create( + unsigned char *pucLuPair, + DWORD cbLuPair, + IUnknown *punkTransactionOuter, + ISOLEVEL isoLevel, + ULONG isoFlags, + ITransactionOptions *pOptions, + ITransaction **ppTransaction, + unsigned char *pTransId, + DWORD cbTransId, + IDtcLuSubordinateDtcSink *pSubordinateDtcSink, + IDtcLuSubordinateDtc **ppSubordinateDtc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDtcLuSubordinateDtcFactory, 0x4131e775, 0x1aea, 0x11d0, 0x94,0x4b, 0x00,0xa0,0xc9,0x05,0x41,0x6e) +#endif +#else +typedef struct IDtcLuSubordinateDtcFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDtcLuSubordinateDtcFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDtcLuSubordinateDtcFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDtcLuSubordinateDtcFactory *This); + + /*** IDtcLuSubordinateDtcFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *Create)( + IDtcLuSubordinateDtcFactory *This, + unsigned char *pucLuPair, + DWORD cbLuPair, + IUnknown *punkTransactionOuter, + ISOLEVEL isoLevel, + ULONG isoFlags, + ITransactionOptions *pOptions, + ITransaction **ppTransaction, + unsigned char *pTransId, + DWORD cbTransId, + IDtcLuSubordinateDtcSink *pSubordinateDtcSink, + IDtcLuSubordinateDtc **ppSubordinateDtc); + + END_INTERFACE +} IDtcLuSubordinateDtcFactoryVtbl; + +interface IDtcLuSubordinateDtcFactory { + CONST_VTBL IDtcLuSubordinateDtcFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDtcLuSubordinateDtcFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDtcLuSubordinateDtcFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDtcLuSubordinateDtcFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IDtcLuSubordinateDtcFactory methods ***/ +#define IDtcLuSubordinateDtcFactory_Create(This,pucLuPair,cbLuPair,punkTransactionOuter,isoLevel,isoFlags,pOptions,ppTransaction,pTransId,cbTransId,pSubordinateDtcSink,ppSubordinateDtc) (This)->lpVtbl->Create(This,pucLuPair,cbLuPair,punkTransactionOuter,isoLevel,isoFlags,pOptions,ppTransaction,pTransId,cbTransId,pSubordinateDtcSink,ppSubordinateDtc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDtcLuSubordinateDtcFactory_QueryInterface(IDtcLuSubordinateDtcFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDtcLuSubordinateDtcFactory_AddRef(IDtcLuSubordinateDtcFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDtcLuSubordinateDtcFactory_Release(IDtcLuSubordinateDtcFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IDtcLuSubordinateDtcFactory methods ***/ +static FORCEINLINE HRESULT IDtcLuSubordinateDtcFactory_Create(IDtcLuSubordinateDtcFactory* This,unsigned char *pucLuPair,DWORD cbLuPair,IUnknown *punkTransactionOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuSubordinateDtcSink *pSubordinateDtcSink,IDtcLuSubordinateDtc **ppSubordinateDtc) { + return This->lpVtbl->Create(This,pucLuPair,cbLuPair,punkTransactionOuter,isoLevel,isoFlags,pOptions,ppTransaction,pTransId,cbTransId,pSubordinateDtcSink,ppSubordinateDtc); +} +#endif +#endif + +#endif + + +#endif /* __IDtcLuSubordinateDtcFactory_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __txdtc_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txdtc.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txdtc.idl new file mode 100644 index 0000000..60f35a6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/txdtc.idl @@ -0,0 +1,515 @@ +/* + * Copyright (C) 2013 Daniel Jeliński + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "txcoord.idl"; + +interface IXATransLookup; +interface IXATransLookup2; +interface IResourceManagerSink; +interface IResourceManager; +interface ILastResourceManager; +interface IResourceManager2; +interface IXAConfig; +/*interface IRMHelper; +interface IXAObtainRMInfo;*/ +interface IResourceManagerFactory; +interface IResourceManagerFactory2; +interface IPrepareInfo; +interface IPrepareInfo2; +interface IGetDispenser; +interface ITransactionVoterBallotAsync2; +interface ITransactionVoterNotifyAsync2; +interface ITransactionVoterFactory2; +interface ITransactionPhase0EnlistmentAsync; +interface ITransactionPhase0NotifyAsync; +interface ITransactionPhase0Factory; +interface ITransactionTransmitter; +interface ITransactionTransmitterFactory; +interface ITransactionReceiver; +interface ITransactionReceiverFactory; +interface IDtcLuConfigure; +interface IDtcLuRecovery; +interface IDtcLuRecoveryFactory; +interface IDtcLuRecoveryInitiatedByDtcTransWork; +interface IDtcLuRecoveryInitiatedByDtcStatusWork; +interface IDtcLuRecoveryInitiatedByDtc; +interface IDtcLuRecoveryInitiatedByLuWork; +interface IDtcLuRecoveryInitiatedByLu; +interface IDtcLuRmEnlistment; +interface IDtcLuRmEnlistmentSink; +interface IDtcLuRmEnlistmentFactory; +interface IDtcLuSubordinateDtc; +interface IDtcLuSubordinateDtcSink; +interface IDtcLuSubordinateDtcFactory; + +cpp_quote("#define XACTTOMSG(dwXact) (dwXact-0x00040000+0x40000000)") +typedef enum XACT_DTC_CONSTANTS { + XACT_E_CONNECTION_REQUEST_DENIED = 0x8004d100, + XACT_E_TOOMANY_ENLISTMENTS = 0x8004d101, + XACT_E_DUPLICATE_GUID = 0x8004d102, + XACT_E_NOTSINGLEPHASE = 0x8004d103, + XACT_E_RECOVERYALREADYDONE = 0x8004d104, + XACT_E_PROTOCOL = 0x8004d105, + XACT_E_RM_FAILURE = 0x8004d106, + XACT_E_RECOVERY_FAILED = 0x8004d107, + XACT_E_LU_NOT_FOUND = 0x8004d108, + XACT_E_DUPLICATE_LU = 0x8004d109, + XACT_E_LU_NOT_CONNECTED = 0x8004d10a, + XACT_E_DUPLICATE_TRANSID = 0x8004d10b, + XACT_E_LU_BUSY = 0x8004d10c, + XACT_E_LU_NO_RECOVERY_PROCESS = 0x8004d10d, + XACT_E_LU_DOWN = 0x8004d10e, + XACT_E_LU_RECOVERING = 0x8004d10f, + XACT_E_LU_RECOVERY_MISMATCH = 0x8004d110, + XACT_E_RM_UNAVAILABLE = 0x8004d111, + XACT_E_LRMRECOVERYALREADYDONE = 0x8004d112, + XACT_E_NOLASTRESOURCEINTERFACE = 0x8004d113, + XACT_S_NONOTIFY = 0x4d100, + XACT_OK_NONOTIFY = 0x4d101, + dwUSER_MS_SQLSERVER = 0xffff +} XACT_DTC_CONSTANTS; + +cpp_quote("#ifndef _XID_T_DEFINED") +cpp_quote("#define _XID_T_DEFINED") +typedef struct xid_t { + LONG32 formatID; + LONG32 gtrid_length; + LONG32 bqual_length; + char data[128 ]; +} XID; +cpp_quote("#endif") +/* idl doesn't like this type +cpp_quote("#ifndef _XA_SWITCH_T_DEFINED") +cpp_quote("#define _XA_SWITCH_T_DEFINED") +typedef struct xa_switch_t { + char name[32 ]; + LONG32 flags; + LONG32 version; + int (__cdecl *xa_open_entry)(char *__MIDL_0004,int __MIDL_0005,LONG32 __MIDL_0006); + int (__cdecl *xa_close_entry)(char *__MIDL_0008,int __MIDL_0009,LONG32 __MIDL_0010); + int (__cdecl *xa_start_entry)(XID *__MIDL_0012,int __MIDL_0013,LONG32 __MIDL_0014); + int (__cdecl *xa_end_entry)(XID *__MIDL_0016,int __MIDL_0017,LONG32 __MIDL_0018); + int (__cdecl *xa_rollback_entry)(XID *__MIDL_0020,int __MIDL_0021,LONG32 __MIDL_0022); + int (__cdecl *xa_prepare_entry)(XID *__MIDL_0024,int __MIDL_0025,LONG32 __MIDL_0026); + int (__cdecl *xa_commit_entry)(XID *__MIDL_0028,int __MIDL_0029,LONG32 __MIDL_0030); + int (__cdecl *xa_recover_entry)(XID *__MIDL_0032,LONG32 __MIDL_0033,int __MIDL_0034,LONG32 __MIDL_0035); + int (__cdecl *xa_forget_entry)(XID *__MIDL_0037,int __MIDL_0038,LONG32 __MIDL_0039); + int (__cdecl *xa_complete_entry)(int *__MIDL_0041,int *__MIDL_0042,int __MIDL_0043,LONG32 __MIDL_0044); +} xa_switch_t; +cpp_quote("#endif") +*/ +[ + object, + uuid(f3b1f131-eeda-11ce-aed4-00aa0051e2c4) +] +interface IXATransLookup : IUnknown { + HRESULT Lookup([out]ITransaction **ppTransaction); +}; +[ + object, + uuid(bf193c85-0d1a-4290-b88f-d2cb8873d1e7) +] +interface IXATransLookup2 : IUnknown { + HRESULT Lookup([in]XID *pXID,[out]ITransaction **ppTransaction); +}; +[ + object, + uuid(0d563181-defb-11ce-aed1-00aa0051e2c4) +] +interface IResourceManagerSink : IUnknown { + HRESULT TMDown(void); +}; +[ + object, + uuid(13741d21-87eb-11ce-8081-0080c758527e) +] +interface IResourceManager : IUnknown { + HRESULT Enlist([in]ITransaction *pTransaction,[in]ITransactionResourceAsync *pRes,[out]XACTUOW *pUOW,[out]LONG *pisoLevel,[out]ITransactionEnlistmentAsync **ppEnlist); + HRESULT Reenlist([in]byte *pPrepInfo,[in]ULONG cbPrepInfo,[in]DWORD lTimeout,[out]XACTSTAT *pXactStat); + HRESULT ReenlistmentComplete(void); + HRESULT GetDistributedTransactionManager([in]REFIID iid,[out,iid_is(iid)]void **ppvObject); +}; +[ + object, + uuid(4d964ad4-5b33-11d3-8a91-00c04f79eb6d) +] +interface ILastResourceManager : IUnknown { + HRESULT TransactionCommitted([in]byte *pPrepInfo,[in]ULONG cbPrepInfo); + HRESULT RecoveryDone(void); +}; +[ + object, + uuid(d136c69a-f749-11d1-8f47-00c04f8ee57d) +] +interface IResourceManager2 : IResourceManager { + HRESULT Enlist2([in]ITransaction *pTransaction,[in]ITransactionResourceAsync *pResAsync,[out]XACTUOW *pUOW,[out]LONG *pisoLevel,[out]XID *pXid,[out]ITransactionEnlistmentAsync **ppEnlist); + HRESULT Reenlist2([in]XID *pXid,[in]DWORD dwTimeout,[out]XACTSTAT *pXactStat); +}; +[ + object, + uuid(c8a6e3a1-9a8c-11cf-a308-00a0c905416e) +] +interface IXAConfig : IUnknown { + HRESULT Initialize([in]GUID clsidHelperDll); + HRESULT Terminate(void); +}; +/* commented out because idl doesn't accept xa_switch_t type +[ + object, + uuid(E793F6D1-F53D-11cf-A60D-00A0C905416E) +] +interface IRMHelper : IUnknown { + HRESULT RMCount([in]DWORD dwcTotalNumberOfRMs); + HRESULT RMInfo([in]xa_switch_t *pXa_Switch,[in]BOOL fCDeclCallingConv,[in]char *pszOpenString,[in]char *pszCloseString,[in]GUID guidRMRecovery); +}; +[ + object, + uuid(E793F6D2-F53D-11cf-A60D-00A0C905416E) +] +interface IXAObtainRMInfo : IUnknown { + HRESULT ObtainRMInfo([in]IRMHelper *pIRMHelper); +};*/ +[ + object, + uuid(13741d20-87eb-11ce-8081-0080c758527e) +] +interface IResourceManagerFactory : IUnknown { + HRESULT Create([in]GUID *pguidRM,[in]CHAR *pszRMName,[in]IResourceManagerSink *pIResMgrSink,[out]IResourceManager **ppResMgr); +}; +[ + object, + uuid(6b369c21-fbd2-11d1-8f47-00c04f8ee57d) +] +interface IResourceManagerFactory2 : IResourceManagerFactory { + HRESULT CreateEx([in]GUID *pguidRM,[in]CHAR *pszRMName,[in]IResourceManagerSink *pIResMgrSink,[in]REFIID riidRequested,[out, iid_is(riidRequested)]void **ppvResMgr); +}; + +[ + object, + uuid(80c7bfd0-87ee-11ce-8081-0080c758527e) +] +interface IPrepareInfo : IUnknown { + HRESULT GetPrepareInfoSize([out]ULONG *pcbPrepInfo); + HRESULT GetPrepareInfo([out]byte *pPrepInfo); +}; +[ + object, + uuid(5fab2547-9779-11d1-b886-00c04fb9618a) +] +interface IPrepareInfo2 : IUnknown { + HRESULT GetPrepareInfoSize([out]ULONG *pcbPrepInfo); + HRESULT GetPrepareInfo([in]ULONG cbPrepareInfo,[out]byte *pPrepInfo); +}; +[ + object, + uuid(c23cc370-87ef-11ce-8081-0080c758527e) +] +interface IGetDispenser : IUnknown { + HRESULT GetDispenser([in]REFIID iid,[out,iid_is(iid)]void **ppvObject); +}; +[ + object, + uuid(5433376c-414d-11d3-b206-00c04fc2f3ef) +] +interface ITransactionVoterBallotAsync2 : IUnknown { + HRESULT VoteRequestDone([in]HRESULT hr,[in]BOID *pboidReason); +}; +[ + object, + uuid(5433376b-414d-11d3-b206-00c04fc2f3ef) +] +interface ITransactionVoterNotifyAsync2 : ITransactionOutcomeEvents { + HRESULT VoteRequest(void); +}; +[ + object, + uuid(5433376a-414d-11d3-b206-00c04fc2f3ef) +] +interface ITransactionVoterFactory2 : IUnknown { + HRESULT Create([in]ITransaction *pTransaction,[in]ITransactionVoterNotifyAsync2 *pVoterNotify,[out]ITransactionVoterBallotAsync2 **ppVoterBallot); +}; +[ + object, + uuid(82dc88e1-a954-11d1-8f88-00600895e7d5) +] +interface ITransactionPhase0EnlistmentAsync : IUnknown { + HRESULT Enable(void); + HRESULT WaitForEnlistment(void); + HRESULT Phase0Done(void); + HRESULT Unenlist(void); + HRESULT GetTransaction([out]ITransaction **ppITransaction); +}; +[ + object, + uuid(ef081809-0c76-11d2-87a6-00c04f990f34) +] +interface ITransactionPhase0NotifyAsync : IUnknown { + HRESULT Phase0Request([in]BOOL fAbortingHint); + HRESULT EnlistCompleted([in]HRESULT status); +}; +[ + object, + uuid(82dc88e0-a954-11d1-8f88-00600895e7d5) +] +interface ITransactionPhase0Factory : IUnknown { + HRESULT Create([in]ITransactionPhase0NotifyAsync *pPhase0Notify,[out]ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment); +}; +[ + object, + uuid(59313e01-b36c-11cf-a539-00aa006887c3) +] +interface ITransactionTransmitter : IUnknown { + HRESULT Set([in]ITransaction *pTransaction); + HRESULT GetPropagationTokenSize([out]ULONG *pcbToken); + HRESULT MarshalPropagationToken([in]ULONG cbToken,[out]byte *rgbToken,[out]ULONG *pcbUsed); + HRESULT UnmarshalReturnToken([in]ULONG cbReturnToken,[in]byte *rgbReturnToken); + HRESULT Reset(void); +}; +[ + object, + uuid(59313e00-b36c-11cf-a539-00aa006887c3) +] +interface ITransactionTransmitterFactory : IUnknown { + HRESULT Create([out]ITransactionTransmitter **ppTransmitter); +}; +[ + object, + uuid(59313e03-b36c-11cf-a539-00aa006887c3) +] +interface ITransactionReceiver : IUnknown { + HRESULT UnmarshalPropagationToken([in]ULONG cbToken,[in]byte *rgbToken,[out]ITransaction **ppTransaction); + HRESULT GetReturnTokenSize([out]ULONG *pcbReturnToken); + HRESULT MarshalReturnToken([in]ULONG cbReturnToken,[out]byte *rgbReturnToken,[out]ULONG *pcbUsed); + HRESULT Reset(void); +}; +[ + object, + uuid(59313e02-b36c-11cf-a539-00aa006887c3) +] +interface ITransactionReceiverFactory : IUnknown { + HRESULT Create([out]ITransactionReceiver **ppReceiver); +}; + +typedef struct _ProxyConfigParams { + WORD wcThreadsMax; +} PROXY_CONFIG_PARAMS; + +[ + object, + uuid(4131e760-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuConfigure : IUnknown { + HRESULT Add([in]byte *pucLuPair,[in]DWORD cbLuPair); + HRESULT Delete([in]byte *pucLuPair,[in]DWORD cbLuPair); +}; +[ + object, + uuid(ac2b8ad2-d6f0-11d0-b386-00a0c9083365) +] +interface IDtcLuRecovery : IUnknown { +}; +[ + object, + uuid(4131e762-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRecoveryFactory : IUnknown { + HRESULT Create([in]byte *pucLuPair,[in]DWORD cbLuPair,[out]IDtcLuRecovery **ppRecovery); +}; + +typedef enum _DtcLu_LocalRecovery_Work { + DTCINITIATEDRECOVERYWORK_CHECKLUSTATUS = 1, + DTCINITIATEDRECOVERYWORK_TRANS, + DTCINITIATEDRECOVERYWORK_TMDOWN +} DTCINITIATEDRECOVERYWORK; + +typedef enum _DtcLu_Xln { + DTCLUXLN_COLD = 1, + DTCLUXLN_WARM +} DTCLUXLN; + +typedef enum _DtcLu_Xln_Confirmation { + DTCLUXLNCONFIRMATION_CONFIRM = 1, + DTCLUXLNCONFIRMATION_LOGNAMEMISMATCH, + DTCLUXLNCONFIRMATION_COLDWARMMISMATCH, + DTCLUXLNCONFIRMATION_OBSOLETE +} DTCLUXLNCONFIRMATION; + +typedef enum _DtcLu_Xln_Response { + DTCLUXLNRESPONSE_OK_SENDOURXLNBACK = 1, + DTCLUXLNRESPONSE_OK_SENDCONFIRMATION, + DTCLUXLNRESPONSE_LOGNAMEMISMATCH, + DTCLUXLNRESPONSE_COLDWARMMISMATCH +} DTCLUXLNRESPONSE; + +typedef enum _DtcLu_Xln_Error { + DTCLUXLNERROR_PROTOCOL = 1, + DTCLUXLNERROR_LOGNAMEMISMATCH, + DTCLUXLNERROR_COLDWARMMISMATCH +} DTCLUXLNERROR; + +typedef enum _DtcLu_CompareState { + DTCLUCOMPARESTATE_COMMITTED = 1, + DTCLUCOMPARESTATE_HEURISTICCOMMITTED, + DTCLUCOMPARESTATE_HEURISTICMIXED, + DTCLUCOMPARESTATE_HEURISTICRESET, + DTCLUCOMPARESTATE_INDOUBT, + DTCLUCOMPARESTATE_RESET +} DTCLUCOMPARESTATE; + +typedef enum _DtcLu_CompareStates_Confirmation { + DTCLUCOMPARESTATESCONFIRMATION_CONFIRM = 1, + DTCLUCOMPARESTATESCONFIRMATION_PROTOCOL +} DTCLUCOMPARESTATESCONFIRMATION; + +typedef enum _DtcLu_CompareStates_Error { + DTCLUCOMPARESTATESERROR_PROTOCOL = 1 +} DTCLUCOMPARESTATESERROR; + +typedef enum _DtcLu_CompareStates_Response { + DTCLUCOMPARESTATESRESPONSE_OK = 1, + DTCLUCOMPARESTATESRESPONSE_PROTOCOL +} DTCLUCOMPARESTATESRESPONSE; + +[ + object, + uuid(4131e765-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRecoveryInitiatedByDtcTransWork : IUnknown { + HRESULT GetLogNameSizes([out]DWORD *pcbOurLogName,[out]DWORD *pcbRemoteLogName); + HRESULT GetOurXln([out]DTCLUXLN *pXln,[in,out]unsigned char *pOurLogName,[in,out]unsigned char *pRemoteLogName,[out]DWORD *pdwProtocol); + HRESULT HandleConfirmationFromOurXln([in]DTCLUXLNCONFIRMATION Confirmation); + HRESULT HandleTheirXlnResponse([in]DTCLUXLN Xln,[in]unsigned char *pRemoteLogName,[in]DWORD cbRemoteLogName,[in]DWORD dwProtocol,[out]DTCLUXLNCONFIRMATION *pConfirmation); + HRESULT HandleErrorFromOurXln([in]DTCLUXLNERROR Error); + HRESULT CheckForCompareStates([out]BOOL *fCompareStates); + HRESULT GetOurTransIdSize([in,out]DWORD *pcbOurTransId); + HRESULT GetOurCompareStates([in,out]unsigned char *pOurTransId,[out]DTCLUCOMPARESTATE *pCompareState); + HRESULT HandleTheirCompareStatesResponse([in]DTCLUCOMPARESTATE CompareState,[out]DTCLUCOMPARESTATESCONFIRMATION *pConfirmation); + HRESULT HandleErrorFromOurCompareStates([in]DTCLUCOMPARESTATESERROR Error); + HRESULT ConversationLost(void); + HRESULT GetRecoverySeqNum([out]LONG *plRecoverySeqNum); + HRESULT ObsoleteRecoverySeqNum([in]LONG lNewRecoverySeqNum); +}; +[ + object, + uuid(4131e766-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRecoveryInitiatedByDtcStatusWork : IUnknown { + HRESULT HandleCheckLuStatus([in]LONG lRecoverySeqNum); +}; +[ + object, + uuid(4131e764-1aea-11d0-944b-00a0c905416e) +] +[local] interface IDtcLuRecoveryInitiatedByDtc : IUnknown { + HRESULT GetWork([in,out]DTCINITIATEDRECOVERYWORK *pWork,[in,out]void **ppv); +}; +[ + object, + uuid(ac2b8ad1-d6f0-11d0-b386-00a0c9083365) +] +interface IDtcLuRecoveryInitiatedByLuWork : IUnknown { + HRESULT HandleTheirXln([in]LONG lRecoverySeqNum,[in]DTCLUXLN Xln,[in]unsigned char *pRemoteLogName,[in]DWORD cbRemoteLogName,[in]unsigned char *pOurLogName,[in]DWORD cbOurLogName,[in]DWORD dwProtocol,[out]DTCLUXLNRESPONSE *pResponse); + HRESULT GetOurLogNameSize([in,out]DWORD *pcbOurLogName); + HRESULT GetOurXln([out]DTCLUXLN *pXln,[in,out]unsigned char *pOurLogName,[out]DWORD *pdwProtocol); + HRESULT HandleConfirmationOfOurXln([in]DTCLUXLNCONFIRMATION Confirmation); + HRESULT HandleTheirCompareStates([in,out]unsigned char *pRemoteTransId,[in]DWORD cbRemoteTransId,[in]DTCLUCOMPARESTATE CompareState,[out]DTCLUCOMPARESTATESRESPONSE *pResponse,[out]DTCLUCOMPARESTATE *pCompareState); + HRESULT HandleConfirmationOfOurCompareStates([in]DTCLUCOMPARESTATESCONFIRMATION Confirmation); + HRESULT HandleErrorFromOurCompareStates([in]DTCLUCOMPARESTATESERROR Error); + HRESULT ConversationLost(void); +}; +[ + object, + uuid(4131e768-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRecoveryInitiatedByLu : IUnknown { + HRESULT GetObjectToHandleWorkFromLu([out]IDtcLuRecoveryInitiatedByLuWork **ppWork); +}; +[ + object, + uuid(4131e769-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRmEnlistment : IUnknown { + HRESULT Unplug([in]BOOL fConversationLost); + HRESULT BackedOut(void); + HRESULT BackOut(void); + HRESULT Committed(void); + HRESULT Forget(void); + HRESULT RequestCommit(void); +}; +[ + object, + uuid(4131e770-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRmEnlistmentSink : IUnknown { + HRESULT AckUnplug(void); + HRESULT TmDown(void); + HRESULT SessionLost(void); + HRESULT BackedOut(void); + HRESULT BackOut(void); + HRESULT Committed(void); + HRESULT Forget(void); + HRESULT Prepare(void); + HRESULT RequestCommit(void); +}; +[ + object, + uuid(4131e771-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuRmEnlistmentFactory : IUnknown { + HRESULT Create([in]unsigned char *pucLuPair,[in]DWORD cbLuPair,[in]ITransaction *pITransaction,[in]unsigned char *pTransId,[in]DWORD cbTransId,[in]IDtcLuRmEnlistmentSink *pRmEnlistmentSink,[in,out]IDtcLuRmEnlistment **ppRmEnlistment); +}; +[ + object, + uuid(4131e773-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuSubordinateDtc : IUnknown { + HRESULT Unplug([in]BOOL fConversationLost); + HRESULT BackedOut(void); + HRESULT BackOut(void); + HRESULT Committed(void); + HRESULT Forget(void); + HRESULT Prepare(void); + HRESULT RequestCommit(void); +}; +[ + object, + uuid(4131e774-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuSubordinateDtcSink : IUnknown { + HRESULT AckUnplug(void); + HRESULT TmDown(void); + HRESULT SessionLost(void); + HRESULT BackedOut(void); + HRESULT BackOut(void); + HRESULT Committed(void); + HRESULT Forget(void); + HRESULT RequestCommit(void); +}; +[ + object, + uuid(4131e775-1aea-11d0-944b-00a0c905416e) +] +interface IDtcLuSubordinateDtcFactory : IUnknown { + HRESULT Create([in]unsigned char *pucLuPair,[in]DWORD cbLuPair,[in]IUnknown *punkTransactionOuter,[in]ISOLEVEL isoLevel,[in]ULONG isoFlags,[in]ITransactionOptions *pOptions,[out]ITransaction **ppTransaction,[in]unsigned char *pTransId,[in]DWORD cbTransId,[in]IDtcLuSubordinateDtcSink *pSubordinateDtcSink,[in,out]IDtcLuSubordinateDtc **ppSubordinateDtc); +}; + +/* these GUIDs were found in mingw header, but without corresponding interface definitions + DEFINE_GUID(IID_IXAResourceManager,0x4131e751,0x1aea,0x11d0,0x94,0x4b,0x00,0xa0,0xc9,0x05,0x41,0x6e); + DEFINE_GUID(IID_IXAResourceManagerFactory,0x4131e750,0x1aea,0x11d0,0x94,0x4b,0x00,0xa0,0xc9,0x05,0x41,0x6e); + DEFINE_GUID(IID_IXATransaction,0x4131e752,0x1aea,0x11d0,0x94,0x4b,0x00,0xa0,0xc9,0x05,0x41,0x6e); +*/ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/udpmib.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/udpmib.h new file mode 100644 index 0000000..6b3f51c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/udpmib.h @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2003 Juan Lang + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_UDPMIB_H +#define __WINE_UDPMIB_H + +#define TCPIP_OWNING_MODULE_SIZE 16 + + +/* UDP table */ + +typedef struct _MIB_UDPROW +{ + DWORD dwLocalAddr; + DWORD dwLocalPort; +} MIB_UDPROW, *PMIB_UDPROW; + +typedef struct _MIB_UDPTABLE +{ + DWORD dwNumEntries; + MIB_UDPROW table[1]; +} MIB_UDPTABLE, *PMIB_UDPTABLE; + +typedef struct _MIB_UDPROW_OWNER_PID +{ + DWORD dwLocalAddr; + DWORD dwLocalPort; + DWORD dwOwningPid; +} MIB_UDPROW_OWNER_PID, *PMIB_UDPROW_OWNER_PID; + +typedef struct _MIB_UDPTABLE_OWNER_PID +{ + DWORD dwNumEntries; + MIB_UDPROW_OWNER_PID table[1]; +} MIB_UDPTABLE_OWNER_PID, *PMIB_UDPTABLE_OWNER_PID; + +typedef struct _MIB_UDPROW_OWNER_MODULE +{ + DWORD dwLocalAddr; + DWORD dwLocalPort; + DWORD dwOwningPid; + LARGE_INTEGER liCreateTimestamp; + __C89_NAMELESS union + { + __C89_NAMELESS struct + { + int SpecificPortBind:1; + } __C89_NAMELESSSTRUCTNAME; + int dwFlags; + } __C89_NAMELESSUNIONNAME; + ULONGLONG OwningModuleInfo[TCPIP_OWNING_MODULE_SIZE]; +} MIB_UDPROW_OWNER_MODULE, *PMIB_UDPROW_OWNER_MODULE; + +typedef struct _MIB_UDPTABLE_OWNER_MODULE +{ + DWORD dwNumEntries; + MIB_UDPROW_OWNER_MODULE table[1]; +} MIB_UDPTABLE_OWNER_MODULE, *PMIB_UDPTABLE_OWNER_MODULE; + +/* UDP statistics */ + +typedef struct _MIB_UDPSTATS +{ + DWORD dwInDatagrams; + DWORD dwNoPorts; + DWORD dwInErrors; + DWORD dwOutDatagrams; + DWORD dwNumAddrs; +} MIB_UDPSTATS, *PMIB_UDPSTATS; + +#endif /* __WINE_UDPMIB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uianimation.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uianimation.h new file mode 100644 index 0000000..d305859 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uianimation.h @@ -0,0 +1,1089 @@ +/*** Autogenerated by WIDL 2.18 from uianimation.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __uianimation_h__ +#define __uianimation_h__ + +/* Forward declarations */ + +#ifndef __IUIAnimationManagerEventHandler_FWD_DEFINED__ +#define __IUIAnimationManagerEventHandler_FWD_DEFINED__ +typedef interface IUIAnimationManagerEventHandler IUIAnimationManagerEventHandler; +#ifdef __cplusplus +interface IUIAnimationManagerEventHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationVariableChangeHandler_FWD_DEFINED__ +#define __IUIAnimationVariableChangeHandler_FWD_DEFINED__ +typedef interface IUIAnimationVariableChangeHandler IUIAnimationVariableChangeHandler; +#ifdef __cplusplus +interface IUIAnimationVariableChangeHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationVariableIntegerChangeHandler_FWD_DEFINED__ +#define __IUIAnimationVariableIntegerChangeHandler_FWD_DEFINED__ +typedef interface IUIAnimationVariableIntegerChangeHandler IUIAnimationVariableIntegerChangeHandler; +#ifdef __cplusplus +interface IUIAnimationVariableIntegerChangeHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationStoryboardEventHandler_FWD_DEFINED__ +#define __IUIAnimationStoryboardEventHandler_FWD_DEFINED__ +typedef interface IUIAnimationStoryboardEventHandler IUIAnimationStoryboardEventHandler; +#ifdef __cplusplus +interface IUIAnimationStoryboardEventHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationTransition_FWD_DEFINED__ +#define __IUIAnimationTransition_FWD_DEFINED__ +typedef interface IUIAnimationTransition IUIAnimationTransition; +#ifdef __cplusplus +interface IUIAnimationTransition; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationVariable_FWD_DEFINED__ +#define __IUIAnimationVariable_FWD_DEFINED__ +typedef interface IUIAnimationVariable IUIAnimationVariable; +#ifdef __cplusplus +interface IUIAnimationVariable; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationStoryboard_FWD_DEFINED__ +#define __IUIAnimationStoryboard_FWD_DEFINED__ +typedef interface IUIAnimationStoryboard IUIAnimationStoryboard; +#ifdef __cplusplus +interface IUIAnimationStoryboard; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IUIAnimationStoryboard_FWD_DEFINED__ +#define __IUIAnimationStoryboard_FWD_DEFINED__ +typedef interface IUIAnimationStoryboard IUIAnimationStoryboard; +#ifdef __cplusplus +interface IUIAnimationStoryboard; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIAnimationVariable_FWD_DEFINED__ +#define __IUIAnimationVariable_FWD_DEFINED__ +typedef interface IUIAnimationVariable IUIAnimationVariable; +#ifdef __cplusplus +interface IUIAnimationVariable; +#endif /* __cplusplus */ +#endif + +typedef DOUBLE UI_ANIMATION_SECONDS; +typedef struct __WIDL_uianimation_generated_name_00000002 { + int _; +} *UI_ANIMATION_KEYFRAME; +typedef enum __WIDL_uianimation_generated_name_00000003 { + UI_ANIMATION_MANAGER_IDLE = 0, + UI_ANIMATION_MANAGER_BUSY = 1 +} UI_ANIMATION_MANAGER_STATUS; +typedef enum __WIDL_uianimation_generated_name_00000004 { + UI_ANIMATION_ROUNDING_NEAREST = 0, + UI_ANIMATION_ROUNDING_FLOOR = 1, + UI_ANIMATION_ROUNDING_CEILING = 2 +} UI_ANIMATION_ROUNDING_MODE; +typedef enum __WIDL_uianimation_generated_name_00000005 { + UI_ANIMATION_SCHEDULING_UNEXPECTED_FAILURE = 0, + UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY = 1, + UI_ANIMATION_SCHEDULING_ALREADY_SCHEDULED = 2, + UI_ANIMATION_SCHEDULING_SUCCEEDED = 3, + UI_ANIMATION_SCHEDULING_DEFERRED = 4 +} UI_ANIMATION_SCHEDULING_RESULT; +typedef enum __WIDL_uianimation_generated_name_00000006 { + UI_ANIMATION_STORYBOARD_BUILDING = 0, + UI_ANIMATION_STORYBOARD_SCHEDULED = 1, + UI_ANIMATION_STORYBOARD_CANCELLED = 2, + UI_ANIMATION_STORYBOARD_PLAYING = 3, + UI_ANIMATION_STORYBOARD_TRUNCATED = 4, + UI_ANIMATION_STORYBOARD_FINISHED = 5, + UI_ANIMATION_STORYBOARD_READY = 6, + UI_ANIMATION_STORYBOARD_INSUFFICIENT_PRIORITY = 7 +} UI_ANIMATION_STORYBOARD_STATUS; +/***************************************************************************** + * IUIAnimationManagerEventHandler interface + */ +#ifndef __IUIAnimationManagerEventHandler_INTERFACE_DEFINED__ +#define __IUIAnimationManagerEventHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationManagerEventHandler, 0x783321ed, 0x78a3, 0x4366, 0xb5,0x74, 0x6a,0xf6,0x07,0xa6,0x47,0x88); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("783321ed-78a3-4366-b574-6af607a64788") +IUIAnimationManagerEventHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnManagerStatusChanged( + UI_ANIMATION_MANAGER_STATUS status, + UI_ANIMATION_MANAGER_STATUS prev_status) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationManagerEventHandler, 0x783321ed, 0x78a3, 0x4366, 0xb5,0x74, 0x6a,0xf6,0x07,0xa6,0x47,0x88) +#endif +#else +typedef struct IUIAnimationManagerEventHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationManagerEventHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationManagerEventHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationManagerEventHandler *This); + + /*** IUIAnimationManagerEventHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *OnManagerStatusChanged)( + IUIAnimationManagerEventHandler *This, + UI_ANIMATION_MANAGER_STATUS status, + UI_ANIMATION_MANAGER_STATUS prev_status); + + END_INTERFACE +} IUIAnimationManagerEventHandlerVtbl; + +interface IUIAnimationManagerEventHandler { + CONST_VTBL IUIAnimationManagerEventHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationManagerEventHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationManagerEventHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationManagerEventHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationManagerEventHandler methods ***/ +#define IUIAnimationManagerEventHandler_OnManagerStatusChanged(This,status,prev_status) (This)->lpVtbl->OnManagerStatusChanged(This,status,prev_status) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationManagerEventHandler_QueryInterface(IUIAnimationManagerEventHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationManagerEventHandler_AddRef(IUIAnimationManagerEventHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationManagerEventHandler_Release(IUIAnimationManagerEventHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationManagerEventHandler methods ***/ +static FORCEINLINE HRESULT IUIAnimationManagerEventHandler_OnManagerStatusChanged(IUIAnimationManagerEventHandler* This,UI_ANIMATION_MANAGER_STATUS status,UI_ANIMATION_MANAGER_STATUS prev_status) { + return This->lpVtbl->OnManagerStatusChanged(This,status,prev_status); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationManagerEventHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIAnimationVariableChangeHandler interface + */ +#ifndef __IUIAnimationVariableChangeHandler_INTERFACE_DEFINED__ +#define __IUIAnimationVariableChangeHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationVariableChangeHandler, 0x6358b7ba, 0x87d2, 0x42d5, 0xbf,0x71, 0x82,0xe9,0x19,0xdd,0x58,0x62); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6358b7ba-87d2-42d5-bf71-82e919dd5862") +IUIAnimationVariableChangeHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnValueChanged( + IUIAnimationStoryboard *storyboard, + IUIAnimationVariable *variable, + DOUBLE value, + DOUBLE prev_value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationVariableChangeHandler, 0x6358b7ba, 0x87d2, 0x42d5, 0xbf,0x71, 0x82,0xe9,0x19,0xdd,0x58,0x62) +#endif +#else +typedef struct IUIAnimationVariableChangeHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationVariableChangeHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationVariableChangeHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationVariableChangeHandler *This); + + /*** IUIAnimationVariableChangeHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *OnValueChanged)( + IUIAnimationVariableChangeHandler *This, + IUIAnimationStoryboard *storyboard, + IUIAnimationVariable *variable, + DOUBLE value, + DOUBLE prev_value); + + END_INTERFACE +} IUIAnimationVariableChangeHandlerVtbl; + +interface IUIAnimationVariableChangeHandler { + CONST_VTBL IUIAnimationVariableChangeHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationVariableChangeHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationVariableChangeHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationVariableChangeHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationVariableChangeHandler methods ***/ +#define IUIAnimationVariableChangeHandler_OnValueChanged(This,storyboard,variable,value,prev_value) (This)->lpVtbl->OnValueChanged(This,storyboard,variable,value,prev_value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationVariableChangeHandler_QueryInterface(IUIAnimationVariableChangeHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationVariableChangeHandler_AddRef(IUIAnimationVariableChangeHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationVariableChangeHandler_Release(IUIAnimationVariableChangeHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationVariableChangeHandler methods ***/ +static FORCEINLINE HRESULT IUIAnimationVariableChangeHandler_OnValueChanged(IUIAnimationVariableChangeHandler* This,IUIAnimationStoryboard *storyboard,IUIAnimationVariable *variable,DOUBLE value,DOUBLE prev_value) { + return This->lpVtbl->OnValueChanged(This,storyboard,variable,value,prev_value); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationVariableChangeHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIAnimationVariableIntegerChangeHandler interface + */ +#ifndef __IUIAnimationVariableIntegerChangeHandler_INTERFACE_DEFINED__ +#define __IUIAnimationVariableIntegerChangeHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationVariableIntegerChangeHandler, 0xbb3e1550, 0x356e, 0x44b0, 0x99,0xda, 0x85,0xac,0x60,0x17,0x86,0x5e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb3e1550-356e-44b0-99da-85ac6017865e") +IUIAnimationVariableIntegerChangeHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnIntegerValueChanged( + IUIAnimationStoryboard *storyboard, + IUIAnimationVariable *variable, + INT32 value, + INT32 prev_value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationVariableIntegerChangeHandler, 0xbb3e1550, 0x356e, 0x44b0, 0x99,0xda, 0x85,0xac,0x60,0x17,0x86,0x5e) +#endif +#else +typedef struct IUIAnimationVariableIntegerChangeHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationVariableIntegerChangeHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationVariableIntegerChangeHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationVariableIntegerChangeHandler *This); + + /*** IUIAnimationVariableIntegerChangeHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *OnIntegerValueChanged)( + IUIAnimationVariableIntegerChangeHandler *This, + IUIAnimationStoryboard *storyboard, + IUIAnimationVariable *variable, + INT32 value, + INT32 prev_value); + + END_INTERFACE +} IUIAnimationVariableIntegerChangeHandlerVtbl; + +interface IUIAnimationVariableIntegerChangeHandler { + CONST_VTBL IUIAnimationVariableIntegerChangeHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationVariableIntegerChangeHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationVariableIntegerChangeHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationVariableIntegerChangeHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationVariableIntegerChangeHandler methods ***/ +#define IUIAnimationVariableIntegerChangeHandler_OnIntegerValueChanged(This,storyboard,variable,value,prev_value) (This)->lpVtbl->OnIntegerValueChanged(This,storyboard,variable,value,prev_value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationVariableIntegerChangeHandler_QueryInterface(IUIAnimationVariableIntegerChangeHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationVariableIntegerChangeHandler_AddRef(IUIAnimationVariableIntegerChangeHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationVariableIntegerChangeHandler_Release(IUIAnimationVariableIntegerChangeHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationVariableIntegerChangeHandler methods ***/ +static FORCEINLINE HRESULT IUIAnimationVariableIntegerChangeHandler_OnIntegerValueChanged(IUIAnimationVariableIntegerChangeHandler* This,IUIAnimationStoryboard *storyboard,IUIAnimationVariable *variable,INT32 value,INT32 prev_value) { + return This->lpVtbl->OnIntegerValueChanged(This,storyboard,variable,value,prev_value); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationVariableIntegerChangeHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIAnimationStoryboardEventHandler interface + */ +#ifndef __IUIAnimationStoryboardEventHandler_INTERFACE_DEFINED__ +#define __IUIAnimationStoryboardEventHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationStoryboardEventHandler, 0x3d5c9008, 0xec7c, 0x4364, 0x9f,0x8a, 0x9a,0xf3,0xc5,0x8c,0xba,0xe6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3d5c9008-ec7c-4364-9f8a-9af3c58cbae6") +IUIAnimationStoryboardEventHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnStoryboardStatusChanged( + IUIAnimationStoryboard *storyboard, + UI_ANIMATION_STORYBOARD_STATUS status, + UI_ANIMATION_STORYBOARD_STATUS prev_status) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStoryboardUpdated( + IUIAnimationStoryboard *storyboard) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationStoryboardEventHandler, 0x3d5c9008, 0xec7c, 0x4364, 0x9f,0x8a, 0x9a,0xf3,0xc5,0x8c,0xba,0xe6) +#endif +#else +typedef struct IUIAnimationStoryboardEventHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationStoryboardEventHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationStoryboardEventHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationStoryboardEventHandler *This); + + /*** IUIAnimationStoryboardEventHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStoryboardStatusChanged)( + IUIAnimationStoryboardEventHandler *This, + IUIAnimationStoryboard *storyboard, + UI_ANIMATION_STORYBOARD_STATUS status, + UI_ANIMATION_STORYBOARD_STATUS prev_status); + + HRESULT (STDMETHODCALLTYPE *OnStoryboardUpdated)( + IUIAnimationStoryboardEventHandler *This, + IUIAnimationStoryboard *storyboard); + + END_INTERFACE +} IUIAnimationStoryboardEventHandlerVtbl; + +interface IUIAnimationStoryboardEventHandler { + CONST_VTBL IUIAnimationStoryboardEventHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationStoryboardEventHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationStoryboardEventHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationStoryboardEventHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationStoryboardEventHandler methods ***/ +#define IUIAnimationStoryboardEventHandler_OnStoryboardStatusChanged(This,storyboard,status,prev_status) (This)->lpVtbl->OnStoryboardStatusChanged(This,storyboard,status,prev_status) +#define IUIAnimationStoryboardEventHandler_OnStoryboardUpdated(This,storyboard) (This)->lpVtbl->OnStoryboardUpdated(This,storyboard) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationStoryboardEventHandler_QueryInterface(IUIAnimationStoryboardEventHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationStoryboardEventHandler_AddRef(IUIAnimationStoryboardEventHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationStoryboardEventHandler_Release(IUIAnimationStoryboardEventHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationStoryboardEventHandler methods ***/ +static FORCEINLINE HRESULT IUIAnimationStoryboardEventHandler_OnStoryboardStatusChanged(IUIAnimationStoryboardEventHandler* This,IUIAnimationStoryboard *storyboard,UI_ANIMATION_STORYBOARD_STATUS status,UI_ANIMATION_STORYBOARD_STATUS prev_status) { + return This->lpVtbl->OnStoryboardStatusChanged(This,storyboard,status,prev_status); +} +static FORCEINLINE HRESULT IUIAnimationStoryboardEventHandler_OnStoryboardUpdated(IUIAnimationStoryboardEventHandler* This,IUIAnimationStoryboard *storyboard) { + return This->lpVtbl->OnStoryboardUpdated(This,storyboard); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationStoryboardEventHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIAnimationTransition interface + */ +#ifndef __IUIAnimationTransition_INTERFACE_DEFINED__ +#define __IUIAnimationTransition_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationTransition, 0xdc6ce252, 0xf731, 0x41cf, 0xb6,0x10, 0x61,0x4b,0x6c,0xa0,0x49,0xad); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc6ce252-f731-41cf-b610-614b6ca049ad") +IUIAnimationTransition : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetInitialValue( + DOUBLE value) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInitialVelocity( + DOUBLE velocity) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDurationKnown( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDuration( + UI_ANIMATION_SECONDS *duration) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationTransition, 0xdc6ce252, 0xf731, 0x41cf, 0xb6,0x10, 0x61,0x4b,0x6c,0xa0,0x49,0xad) +#endif +#else +typedef struct IUIAnimationTransitionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationTransition *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationTransition *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationTransition *This); + + /*** IUIAnimationTransition methods ***/ + HRESULT (STDMETHODCALLTYPE *SetInitialValue)( + IUIAnimationTransition *This, + DOUBLE value); + + HRESULT (STDMETHODCALLTYPE *SetInitialVelocity)( + IUIAnimationTransition *This, + DOUBLE velocity); + + HRESULT (STDMETHODCALLTYPE *IsDurationKnown)( + IUIAnimationTransition *This); + + HRESULT (STDMETHODCALLTYPE *GetDuration)( + IUIAnimationTransition *This, + UI_ANIMATION_SECONDS *duration); + + END_INTERFACE +} IUIAnimationTransitionVtbl; + +interface IUIAnimationTransition { + CONST_VTBL IUIAnimationTransitionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationTransition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationTransition_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationTransition_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationTransition methods ***/ +#define IUIAnimationTransition_SetInitialValue(This,value) (This)->lpVtbl->SetInitialValue(This,value) +#define IUIAnimationTransition_SetInitialVelocity(This,velocity) (This)->lpVtbl->SetInitialVelocity(This,velocity) +#define IUIAnimationTransition_IsDurationKnown(This) (This)->lpVtbl->IsDurationKnown(This) +#define IUIAnimationTransition_GetDuration(This,duration) (This)->lpVtbl->GetDuration(This,duration) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationTransition_QueryInterface(IUIAnimationTransition* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationTransition_AddRef(IUIAnimationTransition* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationTransition_Release(IUIAnimationTransition* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationTransition methods ***/ +static FORCEINLINE HRESULT IUIAnimationTransition_SetInitialValue(IUIAnimationTransition* This,DOUBLE value) { + return This->lpVtbl->SetInitialValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationTransition_SetInitialVelocity(IUIAnimationTransition* This,DOUBLE velocity) { + return This->lpVtbl->SetInitialVelocity(This,velocity); +} +static FORCEINLINE HRESULT IUIAnimationTransition_IsDurationKnown(IUIAnimationTransition* This) { + return This->lpVtbl->IsDurationKnown(This); +} +static FORCEINLINE HRESULT IUIAnimationTransition_GetDuration(IUIAnimationTransition* This,UI_ANIMATION_SECONDS *duration) { + return This->lpVtbl->GetDuration(This,duration); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationTransition_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIAnimationVariable interface + */ +#ifndef __IUIAnimationVariable_INTERFACE_DEFINED__ +#define __IUIAnimationVariable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationVariable, 0x8ceeb155, 0x2849, 0x4ce5, 0x94,0x48, 0x91,0xff,0x70,0xe1,0xe4,0xd9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8ceeb155-2849-4ce5-9448-91ff70e1e4d9") +IUIAnimationVariable : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetValue( + DOUBLE *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFinalValue( + DOUBLE *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreviousValue( + DOUBLE *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIntegerValue( + INT32 *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFinalIntegerValue( + INT32 *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreviousIntegerValue( + INT32 *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentStoryboard( + IUIAnimationStoryboard **storyboard) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLowerBound( + DOUBLE bound) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUpperBound( + DOUBLE bound) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRoundingMode( + UI_ANIMATION_ROUNDING_MODE mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTag( + IUnknown *object, + UINT32 id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTag( + IUnknown **object, + UINT32 *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVariableChangeHandler( + IUIAnimationVariableChangeHandler *handler) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVariableIntegerChangeHandler( + IUIAnimationVariableIntegerChangeHandler *handler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationVariable, 0x8ceeb155, 0x2849, 0x4ce5, 0x94,0x48, 0x91,0xff,0x70,0xe1,0xe4,0xd9) +#endif +#else +typedef struct IUIAnimationVariableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationVariable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationVariable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationVariable *This); + + /*** IUIAnimationVariable methods ***/ + HRESULT (STDMETHODCALLTYPE *GetValue)( + IUIAnimationVariable *This, + DOUBLE *value); + + HRESULT (STDMETHODCALLTYPE *GetFinalValue)( + IUIAnimationVariable *This, + DOUBLE *value); + + HRESULT (STDMETHODCALLTYPE *GetPreviousValue)( + IUIAnimationVariable *This, + DOUBLE *value); + + HRESULT (STDMETHODCALLTYPE *GetIntegerValue)( + IUIAnimationVariable *This, + INT32 *value); + + HRESULT (STDMETHODCALLTYPE *GetFinalIntegerValue)( + IUIAnimationVariable *This, + INT32 *value); + + HRESULT (STDMETHODCALLTYPE *GetPreviousIntegerValue)( + IUIAnimationVariable *This, + INT32 *value); + + HRESULT (STDMETHODCALLTYPE *GetCurrentStoryboard)( + IUIAnimationVariable *This, + IUIAnimationStoryboard **storyboard); + + HRESULT (STDMETHODCALLTYPE *SetLowerBound)( + IUIAnimationVariable *This, + DOUBLE bound); + + HRESULT (STDMETHODCALLTYPE *SetUpperBound)( + IUIAnimationVariable *This, + DOUBLE bound); + + HRESULT (STDMETHODCALLTYPE *SetRoundingMode)( + IUIAnimationVariable *This, + UI_ANIMATION_ROUNDING_MODE mode); + + HRESULT (STDMETHODCALLTYPE *SetTag)( + IUIAnimationVariable *This, + IUnknown *object, + UINT32 id); + + HRESULT (STDMETHODCALLTYPE *GetTag)( + IUIAnimationVariable *This, + IUnknown **object, + UINT32 *id); + + HRESULT (STDMETHODCALLTYPE *SetVariableChangeHandler)( + IUIAnimationVariable *This, + IUIAnimationVariableChangeHandler *handler); + + HRESULT (STDMETHODCALLTYPE *SetVariableIntegerChangeHandler)( + IUIAnimationVariable *This, + IUIAnimationVariableIntegerChangeHandler *handler); + + END_INTERFACE +} IUIAnimationVariableVtbl; + +interface IUIAnimationVariable { + CONST_VTBL IUIAnimationVariableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationVariable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationVariable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationVariable_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationVariable methods ***/ +#define IUIAnimationVariable_GetValue(This,value) (This)->lpVtbl->GetValue(This,value) +#define IUIAnimationVariable_GetFinalValue(This,value) (This)->lpVtbl->GetFinalValue(This,value) +#define IUIAnimationVariable_GetPreviousValue(This,value) (This)->lpVtbl->GetPreviousValue(This,value) +#define IUIAnimationVariable_GetIntegerValue(This,value) (This)->lpVtbl->GetIntegerValue(This,value) +#define IUIAnimationVariable_GetFinalIntegerValue(This,value) (This)->lpVtbl->GetFinalIntegerValue(This,value) +#define IUIAnimationVariable_GetPreviousIntegerValue(This,value) (This)->lpVtbl->GetPreviousIntegerValue(This,value) +#define IUIAnimationVariable_GetCurrentStoryboard(This,storyboard) (This)->lpVtbl->GetCurrentStoryboard(This,storyboard) +#define IUIAnimationVariable_SetLowerBound(This,bound) (This)->lpVtbl->SetLowerBound(This,bound) +#define IUIAnimationVariable_SetUpperBound(This,bound) (This)->lpVtbl->SetUpperBound(This,bound) +#define IUIAnimationVariable_SetRoundingMode(This,mode) (This)->lpVtbl->SetRoundingMode(This,mode) +#define IUIAnimationVariable_SetTag(This,object,id) (This)->lpVtbl->SetTag(This,object,id) +#define IUIAnimationVariable_GetTag(This,object,id) (This)->lpVtbl->GetTag(This,object,id) +#define IUIAnimationVariable_SetVariableChangeHandler(This,handler) (This)->lpVtbl->SetVariableChangeHandler(This,handler) +#define IUIAnimationVariable_SetVariableIntegerChangeHandler(This,handler) (This)->lpVtbl->SetVariableIntegerChangeHandler(This,handler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationVariable_QueryInterface(IUIAnimationVariable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationVariable_AddRef(IUIAnimationVariable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationVariable_Release(IUIAnimationVariable* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationVariable methods ***/ +static FORCEINLINE HRESULT IUIAnimationVariable_GetValue(IUIAnimationVariable* This,DOUBLE *value) { + return This->lpVtbl->GetValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetFinalValue(IUIAnimationVariable* This,DOUBLE *value) { + return This->lpVtbl->GetFinalValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetPreviousValue(IUIAnimationVariable* This,DOUBLE *value) { + return This->lpVtbl->GetPreviousValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetIntegerValue(IUIAnimationVariable* This,INT32 *value) { + return This->lpVtbl->GetIntegerValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetFinalIntegerValue(IUIAnimationVariable* This,INT32 *value) { + return This->lpVtbl->GetFinalIntegerValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetPreviousIntegerValue(IUIAnimationVariable* This,INT32 *value) { + return This->lpVtbl->GetPreviousIntegerValue(This,value); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetCurrentStoryboard(IUIAnimationVariable* This,IUIAnimationStoryboard **storyboard) { + return This->lpVtbl->GetCurrentStoryboard(This,storyboard); +} +static FORCEINLINE HRESULT IUIAnimationVariable_SetLowerBound(IUIAnimationVariable* This,DOUBLE bound) { + return This->lpVtbl->SetLowerBound(This,bound); +} +static FORCEINLINE HRESULT IUIAnimationVariable_SetUpperBound(IUIAnimationVariable* This,DOUBLE bound) { + return This->lpVtbl->SetUpperBound(This,bound); +} +static FORCEINLINE HRESULT IUIAnimationVariable_SetRoundingMode(IUIAnimationVariable* This,UI_ANIMATION_ROUNDING_MODE mode) { + return This->lpVtbl->SetRoundingMode(This,mode); +} +static FORCEINLINE HRESULT IUIAnimationVariable_SetTag(IUIAnimationVariable* This,IUnknown *object,UINT32 id) { + return This->lpVtbl->SetTag(This,object,id); +} +static FORCEINLINE HRESULT IUIAnimationVariable_GetTag(IUIAnimationVariable* This,IUnknown **object,UINT32 *id) { + return This->lpVtbl->GetTag(This,object,id); +} +static FORCEINLINE HRESULT IUIAnimationVariable_SetVariableChangeHandler(IUIAnimationVariable* This,IUIAnimationVariableChangeHandler *handler) { + return This->lpVtbl->SetVariableChangeHandler(This,handler); +} +static FORCEINLINE HRESULT IUIAnimationVariable_SetVariableIntegerChangeHandler(IUIAnimationVariable* This,IUIAnimationVariableIntegerChangeHandler *handler) { + return This->lpVtbl->SetVariableIntegerChangeHandler(This,handler); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationVariable_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIAnimationStoryboard interface + */ +#ifndef __IUIAnimationStoryboard_INTERFACE_DEFINED__ +#define __IUIAnimationStoryboard_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIAnimationStoryboard, 0xa8ff128f, 0x9bf9, 0x4af1, 0x9e,0x67, 0xe5,0xe4,0x10,0xde,0xfb,0x84); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a8ff128f-9bf9-4af1-9e67-e5e410defb84") +IUIAnimationStoryboard : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddTransition( + IUIAnimationVariable *variable, + IUIAnimationTransition *transition) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddKeyframeAtOffset( + UI_ANIMATION_KEYFRAME existingframe, + UI_ANIMATION_SECONDS offset, + UI_ANIMATION_KEYFRAME *keyframe) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddKeyframeAfterTransition( + IUIAnimationTransition *transition, + UI_ANIMATION_KEYFRAME *keyframe) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTransitionAtKeyframe( + IUIAnimationVariable *variable, + IUIAnimationTransition *transition, + UI_ANIMATION_KEYFRAME start_key) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddTransitionBetweenKeyframes( + IUIAnimationVariable *variable, + IUIAnimationTransition *transition, + UI_ANIMATION_KEYFRAME start_key, + UI_ANIMATION_KEYFRAME end_key) = 0; + + virtual HRESULT STDMETHODCALLTYPE RepeatBetweenKeyframes( + UI_ANIMATION_KEYFRAME start_key, + UI_ANIMATION_KEYFRAME end_key, + INT32 count) = 0; + + virtual HRESULT STDMETHODCALLTYPE HoldVariable( + IUIAnimationVariable *variable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLongestAcceptableDelay( + UI_ANIMATION_SECONDS delay) = 0; + + virtual HRESULT STDMETHODCALLTYPE Schedule( + UI_ANIMATION_SECONDS now, + UI_ANIMATION_SCHEDULING_RESULT *result = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Conclude( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish( + UI_ANIMATION_SECONDS deadline) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abandon( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTag( + IUnknown *object, + UINT32 id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTag( + IUnknown **object, + UINT32 *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + UI_ANIMATION_STORYBOARD_STATUS *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetElapsedTime( + UI_ANIMATION_SECONDS *elapsed) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStoryboardEventHandler( + IUIAnimationStoryboardEventHandler *handler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIAnimationStoryboard, 0xa8ff128f, 0x9bf9, 0x4af1, 0x9e,0x67, 0xe5,0xe4,0x10,0xde,0xfb,0x84) +#endif +#else +typedef struct IUIAnimationStoryboardVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIAnimationStoryboard *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIAnimationStoryboard *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIAnimationStoryboard *This); + + /*** IUIAnimationStoryboard methods ***/ + HRESULT (STDMETHODCALLTYPE *AddTransition)( + IUIAnimationStoryboard *This, + IUIAnimationVariable *variable, + IUIAnimationTransition *transition); + + HRESULT (STDMETHODCALLTYPE *AddKeyframeAtOffset)( + IUIAnimationStoryboard *This, + UI_ANIMATION_KEYFRAME existingframe, + UI_ANIMATION_SECONDS offset, + UI_ANIMATION_KEYFRAME *keyframe); + + HRESULT (STDMETHODCALLTYPE *AddKeyframeAfterTransition)( + IUIAnimationStoryboard *This, + IUIAnimationTransition *transition, + UI_ANIMATION_KEYFRAME *keyframe); + + HRESULT (STDMETHODCALLTYPE *AddTransitionAtKeyframe)( + IUIAnimationStoryboard *This, + IUIAnimationVariable *variable, + IUIAnimationTransition *transition, + UI_ANIMATION_KEYFRAME start_key); + + HRESULT (STDMETHODCALLTYPE *AddTransitionBetweenKeyframes)( + IUIAnimationStoryboard *This, + IUIAnimationVariable *variable, + IUIAnimationTransition *transition, + UI_ANIMATION_KEYFRAME start_key, + UI_ANIMATION_KEYFRAME end_key); + + HRESULT (STDMETHODCALLTYPE *RepeatBetweenKeyframes)( + IUIAnimationStoryboard *This, + UI_ANIMATION_KEYFRAME start_key, + UI_ANIMATION_KEYFRAME end_key, + INT32 count); + + HRESULT (STDMETHODCALLTYPE *HoldVariable)( + IUIAnimationStoryboard *This, + IUIAnimationVariable *variable); + + HRESULT (STDMETHODCALLTYPE *SetLongestAcceptableDelay)( + IUIAnimationStoryboard *This, + UI_ANIMATION_SECONDS delay); + + HRESULT (STDMETHODCALLTYPE *Schedule)( + IUIAnimationStoryboard *This, + UI_ANIMATION_SECONDS now, + UI_ANIMATION_SCHEDULING_RESULT *result); + + HRESULT (STDMETHODCALLTYPE *Conclude)( + IUIAnimationStoryboard *This); + + HRESULT (STDMETHODCALLTYPE *Finish)( + IUIAnimationStoryboard *This, + UI_ANIMATION_SECONDS deadline); + + HRESULT (STDMETHODCALLTYPE *Abandon)( + IUIAnimationStoryboard *This); + + HRESULT (STDMETHODCALLTYPE *SetTag)( + IUIAnimationStoryboard *This, + IUnknown *object, + UINT32 id); + + HRESULT (STDMETHODCALLTYPE *GetTag)( + IUIAnimationStoryboard *This, + IUnknown **object, + UINT32 *id); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IUIAnimationStoryboard *This, + UI_ANIMATION_STORYBOARD_STATUS *status); + + HRESULT (STDMETHODCALLTYPE *GetElapsedTime)( + IUIAnimationStoryboard *This, + UI_ANIMATION_SECONDS *elapsed); + + HRESULT (STDMETHODCALLTYPE *SetStoryboardEventHandler)( + IUIAnimationStoryboard *This, + IUIAnimationStoryboardEventHandler *handler); + + END_INTERFACE +} IUIAnimationStoryboardVtbl; + +interface IUIAnimationStoryboard { + CONST_VTBL IUIAnimationStoryboardVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIAnimationStoryboard_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIAnimationStoryboard_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIAnimationStoryboard_Release(This) (This)->lpVtbl->Release(This) +/*** IUIAnimationStoryboard methods ***/ +#define IUIAnimationStoryboard_AddTransition(This,variable,transition) (This)->lpVtbl->AddTransition(This,variable,transition) +#define IUIAnimationStoryboard_AddKeyframeAtOffset(This,existingframe,offset,keyframe) (This)->lpVtbl->AddKeyframeAtOffset(This,existingframe,offset,keyframe) +#define IUIAnimationStoryboard_AddKeyframeAfterTransition(This,transition,keyframe) (This)->lpVtbl->AddKeyframeAfterTransition(This,transition,keyframe) +#define IUIAnimationStoryboard_AddTransitionAtKeyframe(This,variable,transition,start_key) (This)->lpVtbl->AddTransitionAtKeyframe(This,variable,transition,start_key) +#define IUIAnimationStoryboard_AddTransitionBetweenKeyframes(This,variable,transition,start_key,end_key) (This)->lpVtbl->AddTransitionBetweenKeyframes(This,variable,transition,start_key,end_key) +#define IUIAnimationStoryboard_RepeatBetweenKeyframes(This,start_key,end_key,count) (This)->lpVtbl->RepeatBetweenKeyframes(This,start_key,end_key,count) +#define IUIAnimationStoryboard_HoldVariable(This,variable) (This)->lpVtbl->HoldVariable(This,variable) +#define IUIAnimationStoryboard_SetLongestAcceptableDelay(This,delay) (This)->lpVtbl->SetLongestAcceptableDelay(This,delay) +#define IUIAnimationStoryboard_Schedule(This,now,result) (This)->lpVtbl->Schedule(This,now,result) +#define IUIAnimationStoryboard_Conclude(This) (This)->lpVtbl->Conclude(This) +#define IUIAnimationStoryboard_Finish(This,deadline) (This)->lpVtbl->Finish(This,deadline) +#define IUIAnimationStoryboard_Abandon(This) (This)->lpVtbl->Abandon(This) +#define IUIAnimationStoryboard_SetTag(This,object,id) (This)->lpVtbl->SetTag(This,object,id) +#define IUIAnimationStoryboard_GetTag(This,object,id) (This)->lpVtbl->GetTag(This,object,id) +#define IUIAnimationStoryboard_GetStatus(This,status) (This)->lpVtbl->GetStatus(This,status) +#define IUIAnimationStoryboard_GetElapsedTime(This,elapsed) (This)->lpVtbl->GetElapsedTime(This,elapsed) +#define IUIAnimationStoryboard_SetStoryboardEventHandler(This,handler) (This)->lpVtbl->SetStoryboardEventHandler(This,handler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIAnimationStoryboard_QueryInterface(IUIAnimationStoryboard* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIAnimationStoryboard_AddRef(IUIAnimationStoryboard* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIAnimationStoryboard_Release(IUIAnimationStoryboard* This) { + return This->lpVtbl->Release(This); +} +/*** IUIAnimationStoryboard methods ***/ +static FORCEINLINE HRESULT IUIAnimationStoryboard_AddTransition(IUIAnimationStoryboard* This,IUIAnimationVariable *variable,IUIAnimationTransition *transition) { + return This->lpVtbl->AddTransition(This,variable,transition); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_AddKeyframeAtOffset(IUIAnimationStoryboard* This,UI_ANIMATION_KEYFRAME existingframe,UI_ANIMATION_SECONDS offset,UI_ANIMATION_KEYFRAME *keyframe) { + return This->lpVtbl->AddKeyframeAtOffset(This,existingframe,offset,keyframe); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_AddKeyframeAfterTransition(IUIAnimationStoryboard* This,IUIAnimationTransition *transition,UI_ANIMATION_KEYFRAME *keyframe) { + return This->lpVtbl->AddKeyframeAfterTransition(This,transition,keyframe); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_AddTransitionAtKeyframe(IUIAnimationStoryboard* This,IUIAnimationVariable *variable,IUIAnimationTransition *transition,UI_ANIMATION_KEYFRAME start_key) { + return This->lpVtbl->AddTransitionAtKeyframe(This,variable,transition,start_key); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_AddTransitionBetweenKeyframes(IUIAnimationStoryboard* This,IUIAnimationVariable *variable,IUIAnimationTransition *transition,UI_ANIMATION_KEYFRAME start_key,UI_ANIMATION_KEYFRAME end_key) { + return This->lpVtbl->AddTransitionBetweenKeyframes(This,variable,transition,start_key,end_key); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_RepeatBetweenKeyframes(IUIAnimationStoryboard* This,UI_ANIMATION_KEYFRAME start_key,UI_ANIMATION_KEYFRAME end_key,INT32 count) { + return This->lpVtbl->RepeatBetweenKeyframes(This,start_key,end_key,count); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_HoldVariable(IUIAnimationStoryboard* This,IUIAnimationVariable *variable) { + return This->lpVtbl->HoldVariable(This,variable); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_SetLongestAcceptableDelay(IUIAnimationStoryboard* This,UI_ANIMATION_SECONDS delay) { + return This->lpVtbl->SetLongestAcceptableDelay(This,delay); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_Schedule(IUIAnimationStoryboard* This,UI_ANIMATION_SECONDS now,UI_ANIMATION_SCHEDULING_RESULT *result) { + return This->lpVtbl->Schedule(This,now,result); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_Conclude(IUIAnimationStoryboard* This) { + return This->lpVtbl->Conclude(This); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_Finish(IUIAnimationStoryboard* This,UI_ANIMATION_SECONDS deadline) { + return This->lpVtbl->Finish(This,deadline); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_Abandon(IUIAnimationStoryboard* This) { + return This->lpVtbl->Abandon(This); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_SetTag(IUIAnimationStoryboard* This,IUnknown *object,UINT32 id) { + return This->lpVtbl->SetTag(This,object,id); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_GetTag(IUIAnimationStoryboard* This,IUnknown **object,UINT32 *id) { + return This->lpVtbl->GetTag(This,object,id); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_GetStatus(IUIAnimationStoryboard* This,UI_ANIMATION_STORYBOARD_STATUS *status) { + return This->lpVtbl->GetStatus(This,status); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_GetElapsedTime(IUIAnimationStoryboard* This,UI_ANIMATION_SECONDS *elapsed) { + return This->lpVtbl->GetElapsedTime(This,elapsed); +} +static FORCEINLINE HRESULT IUIAnimationStoryboard_SetStoryboardEventHandler(IUIAnimationStoryboard* This,IUIAnimationStoryboardEventHandler *handler) { + return This->lpVtbl->SetStoryboardEventHandler(This,handler); +} +#endif +#endif + +#endif + + +#endif /* __IUIAnimationStoryboard_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __uianimation_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uianimation.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uianimation.idl new file mode 100644 index 0000000..1c17d44 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uianimation.idl @@ -0,0 +1,242 @@ +/* + * Copyright 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +import "wtypes.idl"; +import "unknwn.idl"; + +interface IUIAnimationStoryboard; +interface IUIAnimationVariable; + +typedef DOUBLE UI_ANIMATION_SECONDS; +typedef struct { int _; } *UI_ANIMATION_KEYFRAME; + +typedef enum +{ + UI_ANIMATION_MANAGER_IDLE, + UI_ANIMATION_MANAGER_BUSY +} UI_ANIMATION_MANAGER_STATUS; + +typedef enum +{ + UI_ANIMATION_ROUNDING_NEAREST, + UI_ANIMATION_ROUNDING_FLOOR, + UI_ANIMATION_ROUNDING_CEILING +} UI_ANIMATION_ROUNDING_MODE; + +typedef enum +{ + UI_ANIMATION_SCHEDULING_UNEXPECTED_FAILURE, + UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY, + UI_ANIMATION_SCHEDULING_ALREADY_SCHEDULED, + UI_ANIMATION_SCHEDULING_SUCCEEDED, + UI_ANIMATION_SCHEDULING_DEFERRED +} UI_ANIMATION_SCHEDULING_RESULT; + +typedef enum +{ + UI_ANIMATION_STORYBOARD_BUILDING, + UI_ANIMATION_STORYBOARD_SCHEDULED, + UI_ANIMATION_STORYBOARD_CANCELLED, + UI_ANIMATION_STORYBOARD_PLAYING, + UI_ANIMATION_STORYBOARD_TRUNCATED, + UI_ANIMATION_STORYBOARD_FINISHED, + UI_ANIMATION_STORYBOARD_READY, + UI_ANIMATION_STORYBOARD_INSUFFICIENT_PRIORITY +} UI_ANIMATION_STORYBOARD_STATUS; + +[ + local, + object, + uuid(783321ed-78a3-4366-b574-6af607a64788), + pointer_default(unique) +] +interface IUIAnimationManagerEventHandler : IUnknown +{ + HRESULT OnManagerStatusChanged ( + [in] UI_ANIMATION_MANAGER_STATUS status, + [in] UI_ANIMATION_MANAGER_STATUS prev_status); +} + +[ + local, + object, + uuid(6358b7ba-87d2-42d5-bf71-82e919dd5862), + pointer_default(unique) +] +interface IUIAnimationVariableChangeHandler : IUnknown +{ + HRESULT OnValueChanged ( + [in] IUIAnimationStoryboard *storyboard, + [in] IUIAnimationVariable *variable, + [in] DOUBLE value, + [in] DOUBLE prev_value); +} + +[ + local, + object, + uuid(bb3e1550-356e-44b0-99da-85ac6017865e), + pointer_default(unique) +] +interface IUIAnimationVariableIntegerChangeHandler : IUnknown +{ + HRESULT OnIntegerValueChanged ( + [in] IUIAnimationStoryboard *storyboard, + [in] IUIAnimationVariable *variable, + [in] INT32 value, + [in] INT32 prev_value); +} + +[ + local, + object, + uuid(3d5c9008-ec7c-4364-9f8a-9af3c58cbae6), + pointer_default(unique) +] +interface IUIAnimationStoryboardEventHandler : IUnknown +{ + HRESULT OnStoryboardStatusChanged ( + [in] IUIAnimationStoryboard *storyboard, + [in] UI_ANIMATION_STORYBOARD_STATUS status, + [in] UI_ANIMATION_STORYBOARD_STATUS prev_status); + + HRESULT OnStoryboardUpdated ([in] IUIAnimationStoryboard *storyboard); +} + +[ + local, + object, + uuid(dc6ce252-f731-41cf-b610-614b6ca049ad), + pointer_default(unique) +] +interface IUIAnimationTransition : IUnknown +{ + HRESULT SetInitialValue ([in] DOUBLE value); + + HRESULT SetInitialVelocity ([in] DOUBLE velocity); + + HRESULT IsDurationKnown (); + + HRESULT GetDuration ([out, retval] UI_ANIMATION_SECONDS *duration); +} + +[ + local, + object, + uuid(8ceeb155-2849-4ce5-9448-91ff70e1e4d9), + pointer_default(unique) +] +interface IUIAnimationVariable : IUnknown +{ + HRESULT GetValue ([out, retval] DOUBLE *value); + + HRESULT GetFinalValue ([out, retval] DOUBLE *value); + + HRESULT GetPreviousValue ([out, retval] DOUBLE *value); + + HRESULT GetIntegerValue ([out, retval] INT32 *value); + + HRESULT GetFinalIntegerValue ([out, retval] INT32 *value); + + HRESULT GetPreviousIntegerValue ([out, retval] INT32 *value); + + HRESULT GetCurrentStoryboard ([out, retval] IUIAnimationStoryboard **storyboard); + + HRESULT SetLowerBound ([in] DOUBLE bound); + + HRESULT SetUpperBound ([in] DOUBLE bound); + + HRESULT SetRoundingMode ([in] UI_ANIMATION_ROUNDING_MODE mode); + + HRESULT SetTag ( + [in] IUnknown *object, + [in] UINT32 id); + + HRESULT GetTag ( + [out] IUnknown **object, + [out] UINT32 *id); + + HRESULT SetVariableChangeHandler ([in, unique] IUIAnimationVariableChangeHandler *handler); + + HRESULT SetVariableIntegerChangeHandler ([in, unique] IUIAnimationVariableIntegerChangeHandler *handler); +} + +[ + local, + object, + uuid(a8ff128f-9bf9-4af1-9e67-e5e410defb84), + pointer_default(unique) +] +interface IUIAnimationStoryboard : IUnknown +{ + HRESULT AddTransition ( + [in] IUIAnimationVariable *variable, + [in] IUIAnimationTransition *transition); + + HRESULT AddKeyframeAtOffset ( + [in] UI_ANIMATION_KEYFRAME existingframe, + [in] UI_ANIMATION_SECONDS offset, + [out, retval] UI_ANIMATION_KEYFRAME *keyframe); + + HRESULT AddKeyframeAfterTransition ( + [in] IUIAnimationTransition *transition, + [out, retval] UI_ANIMATION_KEYFRAME *keyframe); + + HRESULT AddTransitionAtKeyframe ( + [in] IUIAnimationVariable *variable, + [in] IUIAnimationTransition *transition, + [in] UI_ANIMATION_KEYFRAME start_key); + + HRESULT AddTransitionBetweenKeyframes ( + [in] IUIAnimationVariable *variable, + [in] IUIAnimationTransition *transition, + [in] UI_ANIMATION_KEYFRAME start_key, + [in] UI_ANIMATION_KEYFRAME end_key); + + HRESULT RepeatBetweenKeyframes ( + [in] UI_ANIMATION_KEYFRAME start_key, + [in] UI_ANIMATION_KEYFRAME end_key, + [in] INT32 count); + + HRESULT HoldVariable ([in] IUIAnimationVariable *variable); + + HRESULT SetLongestAcceptableDelay ([in] UI_ANIMATION_SECONDS delay); + + HRESULT Schedule ( + [in] UI_ANIMATION_SECONDS now, + [out, defaultvalue(0)] UI_ANIMATION_SCHEDULING_RESULT *result); + + HRESULT Conclude (); + + HRESULT Finish ([in] UI_ANIMATION_SECONDS deadline); + + HRESULT Abandon (); + + HRESULT SetTag( + [in, unique] IUnknown *object, + [in] UINT32 id); + + HRESULT GetTag ( + [out] IUnknown **object, + [out] UINT32 *id); + + HRESULT GetStatus ([out, retval] UI_ANIMATION_STORYBOARD_STATUS *status); + + HRESULT GetElapsedTime ([out] UI_ANIMATION_SECONDS *elapsed); + + HRESULT SetStoryboardEventHandler ([in, unique] IUIAnimationStoryboardEventHandler *handler); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomation.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomation.h new file mode 100644 index 0000000..b58c4e6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomation.h @@ -0,0 +1,21 @@ +/* + * Copyright 2012 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationclient.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationclient.h new file mode 100644 index 0000000..de39331 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationclient.h @@ -0,0 +1,262 @@ +/*** Autogenerated by WIDL 2.18 from uiautomationclient.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __uiautomationclient_h__ +#define __uiautomationclient_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_UIAutomationClient, 0x944de083, 0x8fb8, 0x45cf, 0xbc,0xb7, 0xc4,0x77,0xac,0xb2,0xf8,0x97); + +#define UIA_RuntimeIdPropertyId (30000) + +#define UIA_BoundingRectanglePropertyId (30001) + +#define UIA_ProcessIdPropertyId (30002) + +#define UIA_ControlTypePropertyId (30003) + +#define UIA_LocalizedControlTypePropertyId (30004) + +#define UIA_NamePropertyId (30005) + +#define UIA_AcceleratorKeyPropertyId (30006) + +#define UIA_AccessKeyPropertyId (30007) + +#define UIA_HasKeyboardFocusPropertyId (30008) + +#define UIA_IsKeyboardFocusablePropertyId (30009) + +#define UIA_IsEnabledPropertyId (30010) + +#define UIA_AutomationIdPropertyId (30011) + +#define UIA_ClassNamePropertyId (30012) + +#define UIA_HelpTextPropertyId (30013) + +#define UIA_ClickablePointPropertyId (30014) + +#define UIA_CulturePropertyId (30015) + +#define UIA_IsControlElementPropertyId (30016) + +#define UIA_IsContentElementPropertyId (30017) + +#define UIA_LabeledByPropertyId (30018) + +#define UIA_IsPasswordPropertyId (30019) + +#define UIA_NativeWindowHandlePropertyId (30020) + +#define UIA_ItemTypePropertyId (30021) + +#define UIA_IsOffscreenPropertyId (30022) + +#define UIA_OrientationPropertyId (30023) + +#define UIA_FrameworkIdPropertyId (30024) + +#define UIA_IsRequiredForFormPropertyId (30025) + +#define UIA_ItemStatusPropertyId (30026) + +#define UIA_IsDockPatternAvailablePropertyId (30027) + +#define UIA_IsExpandCollapsePatternAvailablePropertyId (30028) + +#define UIA_IsGridItemPatternAvailablePropertyId (30029) + +#define UIA_IsGridPatternAvailablePropertyId (30030) + +#define UIA_IsInvokePatternAvailablePropertyId (30031) + +#define UIA_IsMultipleViewPatternAvailablePropertyId (30032) + +#define UIA_IsRangeValuePatternAvailablePropertyId (30033) + +#define UIA_IsScrollPatternAvailablePropertyId (30034) + +#define UIA_IsScrollItemPatternAvailablePropertyId (30035) + +#define UIA_IsSelectionItemPatternAvailablePropertyId (30036) + +#define UIA_IsSelectionPatternAvailablePropertyId (30037) + +#define UIA_IsTablePatternAvailablePropertyId (30038) + +#define UIA_IsTableItemPatternAvailablePropertyId (30039) + +#define UIA_IsTextPatternAvailablePropertyId (30040) + +#define UIA_IsTogglePatternAvailablePropertyId (30041) + +#define UIA_IsTransformPatternAvailablePropertyId (30042) + +#define UIA_IsValuePatternAvailablePropertyId (30043) + +#define UIA_IsWindowPatternAvailablePropertyId (30044) + +#define UIA_ValueValuePropertyId (30045) + +#define UIA_ValueIsReadOnlyPropertyId (30046) + +#define UIA_RangeValueValuePropertyId (30047) + +#define UIA_RangeValueIsReadOnlyPropertyId (30048) + +#define UIA_RangeValueMinimumPropertyId (30049) + +#define UIA_RangeValueMaximumPropertyId (30050) + +#define UIA_RangeValueLargeChangePropertyId (30051) + +#define UIA_RangeValueSmallChangePropertyId (30052) + +#define UIA_ScrollHorizontalScrollPercentPropertyId (30053) + +#define UIA_ScrollHorizontalViewSizePropertyId (30054) + +#define UIA_ScrollVerticalScrollPercentPropertyId (30055) + +#define UIA_ScrollVerticalViewSizePropertyId (30056) + +#define UIA_ScrollHorizontallyScrollablePropertyId (30057) + +#define UIA_ScrollVerticallyScrollablePropertyId (30058) + +#define UIA_SelectionSelectionPropertyId (30059) + +#define UIA_SelectionCanSelectMultiplePropertyId (30060) + +#define UIA_SelectionIsSelectionRequiredPropertyId (30061) + +#define UIA_GridRowCountPropertyId (30062) + +#define UIA_GridColumnCountPropertyId (30063) + +#define UIA_GridItemRowPropertyId (30064) + +#define UIA_GridItemColumnPropertyId (30065) + +#define UIA_GridItemRowSpanPropertyId (30066) + +#define UIA_GridItemColumnSpanPropertyId (30067) + +#define UIA_GridItemContainingGridPropertyId (30068) + +#define UIA_DockDockPositionPropertyId (30069) + +#define UIA_ExpandCollapseExpandCollapseStatePropertyId (30070) + +#define UIA_MultipleViewCurrentViewPropertyId (30071) + +#define UIA_MultipleViewSupportedViewsPropertyId (30072) + +#define UIA_WindowCanMaximizePropertyId (30073) + +#define UIA_WindowCanMinimizePropertyId (30074) + +#define UIA_WindowWindowVisualStatePropertyId (30075) + +#define UIA_WindowWindowInteractionStatePropertyId (30076) + +#define UIA_WindowIsModalPropertyId (30077) + +#define UIA_WindowIsTopmostPropertyId (30078) + +#define UIA_SelectionItemIsSelectedPropertyId (30079) + +#define UIA_SelectionItemSelectionContainerPropertyId (30080) + +#define UIA_TableRowHeadersPropertyId (30081) + +#define UIA_TableColumnHeadersPropertyId (30082) + +#define UIA_TableRowOrColumnMajorPropertyId (30083) + +#define UIA_TableItemRowHeaderItemsPropertyId (30084) + +#define UIA_TableItemColumnHeaderItemsPropertyId (30085) + +#define UIA_ToggleToggleStatePropertyId (30086) + +#define UIA_TransformCanMovePropertyId (30087) + +#define UIA_TransformCanResizePropertyId (30088) + +#define UIA_TransformCanRotatePropertyId (30089) + +#define UIA_IsLegacyIAccessiblePatternAvailablePropertyId (30090) + +#define UIA_LegacyIAccessibleChildIdPropertyId (30091) + +#define UIA_LegacyIAccessibleNamePropertyId (30092) + +#define UIA_LegacyIAccessibleValuePropertyId (30093) + +#define UIA_LegacyIAccessibleDescriptionPropertyId (30094) + +#define UIA_LegacyIAccessibleRolePropertyId (30095) + +#define UIA_LegacyIAccessibleStatePropertyId (30096) + +#define UIA_LegacyIAccessibleHelpPropertyId (30097) + +#define UIA_LegacyIAccessibleKeyboardShortcutPropertyId (30098) + +#define UIA_LegacyIAccessibleSelectionPropertyId (30099) + +#define UIA_LegacyIAccessibleDefaultActionPropertyId (30100) + +#define UIA_AriaRolePropertyId (30101) + +#define UIA_AriaPropertiesPropertyId (30102) + +#define UIA_IsDataValidForFormPropertyId (30103) + +#define UIA_ControllerForPropertyId (30104) + +#define UIA_DescribedByPropertyId (30105) + +#define UIA_FlowsToPropertyId (30106) + +#define UIA_ProviderDescriptionPropertyId (30107) + +#define UIA_IsItemContainerPatternAvailablePropertyId (30108) + +#define UIA_IsVirtualizedItemPatternAvailablePropertyId (30109) + +#define UIA_IsSynchronizedInputPatternAvailablePropertyId (30110) + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __uiautomationclient_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationclient.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationclient.idl new file mode 100644 index 0000000..ca768ba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationclient.idl @@ -0,0 +1,149 @@ +/* + * Copyright 2012 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define DO_NO_IMPORTS +import "uiautomationcore.idl"; + +[ + uuid(944de083-8fb8-45cf-bcb7-c477acb2f897), + lcid(0), + version(1.0) +] +library UIAutomationClient { + importlib ("stdole2.tlb"); + + /* FIXME: Uncomment when properly supported in widl + [dllname("")] + module UIA_PropertyIds + { + */ + const long UIA_RuntimeIdPropertyId = 30000; + const long UIA_BoundingRectanglePropertyId = 30001; + const long UIA_ProcessIdPropertyId = 30002; + const long UIA_ControlTypePropertyId = 30003; + const long UIA_LocalizedControlTypePropertyId = 30004; + const long UIA_NamePropertyId = 30005; + const long UIA_AcceleratorKeyPropertyId = 30006; + const long UIA_AccessKeyPropertyId = 30007; + const long UIA_HasKeyboardFocusPropertyId = 30008; + const long UIA_IsKeyboardFocusablePropertyId = 30009; + const long UIA_IsEnabledPropertyId = 30010; + const long UIA_AutomationIdPropertyId = 30011; + const long UIA_ClassNamePropertyId = 30012; + const long UIA_HelpTextPropertyId = 30013; + const long UIA_ClickablePointPropertyId = 30014; + const long UIA_CulturePropertyId = 30015; + const long UIA_IsControlElementPropertyId = 30016; + const long UIA_IsContentElementPropertyId = 30017; + const long UIA_LabeledByPropertyId = 30018; + const long UIA_IsPasswordPropertyId = 30019; + const long UIA_NativeWindowHandlePropertyId = 30020; + const long UIA_ItemTypePropertyId = 30021; + const long UIA_IsOffscreenPropertyId = 30022; + const long UIA_OrientationPropertyId = 30023; + const long UIA_FrameworkIdPropertyId = 30024; + const long UIA_IsRequiredForFormPropertyId = 30025; + const long UIA_ItemStatusPropertyId = 30026; + const long UIA_IsDockPatternAvailablePropertyId = 30027; + const long UIA_IsExpandCollapsePatternAvailablePropertyId = 30028; + const long UIA_IsGridItemPatternAvailablePropertyId = 30029; + const long UIA_IsGridPatternAvailablePropertyId = 30030; + const long UIA_IsInvokePatternAvailablePropertyId = 30031; + const long UIA_IsMultipleViewPatternAvailablePropertyId = 30032; + const long UIA_IsRangeValuePatternAvailablePropertyId = 30033; + const long UIA_IsScrollPatternAvailablePropertyId = 30034; + const long UIA_IsScrollItemPatternAvailablePropertyId = 30035; + const long UIA_IsSelectionItemPatternAvailablePropertyId = 30036; + const long UIA_IsSelectionPatternAvailablePropertyId = 30037; + const long UIA_IsTablePatternAvailablePropertyId = 30038; + const long UIA_IsTableItemPatternAvailablePropertyId = 30039; + const long UIA_IsTextPatternAvailablePropertyId = 30040; + const long UIA_IsTogglePatternAvailablePropertyId = 30041; + const long UIA_IsTransformPatternAvailablePropertyId = 30042; + const long UIA_IsValuePatternAvailablePropertyId = 30043; + const long UIA_IsWindowPatternAvailablePropertyId = 30044; + const long UIA_ValueValuePropertyId = 30045; + const long UIA_ValueIsReadOnlyPropertyId = 30046; + const long UIA_RangeValueValuePropertyId = 30047; + const long UIA_RangeValueIsReadOnlyPropertyId = 30048; + const long UIA_RangeValueMinimumPropertyId = 30049; + const long UIA_RangeValueMaximumPropertyId = 30050; + const long UIA_RangeValueLargeChangePropertyId = 30051; + const long UIA_RangeValueSmallChangePropertyId = 30052; + const long UIA_ScrollHorizontalScrollPercentPropertyId = 30053; + const long UIA_ScrollHorizontalViewSizePropertyId = 30054; + const long UIA_ScrollVerticalScrollPercentPropertyId = 30055; + const long UIA_ScrollVerticalViewSizePropertyId = 30056; + const long UIA_ScrollHorizontallyScrollablePropertyId = 30057; + const long UIA_ScrollVerticallyScrollablePropertyId = 30058; + const long UIA_SelectionSelectionPropertyId = 30059; + const long UIA_SelectionCanSelectMultiplePropertyId = 30060; + const long UIA_SelectionIsSelectionRequiredPropertyId = 30061; + const long UIA_GridRowCountPropertyId = 30062; + const long UIA_GridColumnCountPropertyId = 30063; + const long UIA_GridItemRowPropertyId = 30064; + const long UIA_GridItemColumnPropertyId = 30065; + const long UIA_GridItemRowSpanPropertyId = 30066; + const long UIA_GridItemColumnSpanPropertyId = 30067; + const long UIA_GridItemContainingGridPropertyId = 30068; + const long UIA_DockDockPositionPropertyId = 30069; + const long UIA_ExpandCollapseExpandCollapseStatePropertyId = 30070; + const long UIA_MultipleViewCurrentViewPropertyId = 30071; + const long UIA_MultipleViewSupportedViewsPropertyId = 30072; + const long UIA_WindowCanMaximizePropertyId = 30073; + const long UIA_WindowCanMinimizePropertyId = 30074; + const long UIA_WindowWindowVisualStatePropertyId = 30075; + const long UIA_WindowWindowInteractionStatePropertyId = 30076; + const long UIA_WindowIsModalPropertyId = 30077; + const long UIA_WindowIsTopmostPropertyId = 30078; + const long UIA_SelectionItemIsSelectedPropertyId = 30079; + const long UIA_SelectionItemSelectionContainerPropertyId = 30080; + const long UIA_TableRowHeadersPropertyId = 30081; + const long UIA_TableColumnHeadersPropertyId = 30082; + const long UIA_TableRowOrColumnMajorPropertyId = 30083; + const long UIA_TableItemRowHeaderItemsPropertyId = 30084; + const long UIA_TableItemColumnHeaderItemsPropertyId = 30085; + const long UIA_ToggleToggleStatePropertyId = 30086; + const long UIA_TransformCanMovePropertyId = 30087; + const long UIA_TransformCanResizePropertyId = 30088; + const long UIA_TransformCanRotatePropertyId = 30089; + const long UIA_IsLegacyIAccessiblePatternAvailablePropertyId = 30090; + const long UIA_LegacyIAccessibleChildIdPropertyId = 30091; + const long UIA_LegacyIAccessibleNamePropertyId = 30092; + const long UIA_LegacyIAccessibleValuePropertyId = 30093; + const long UIA_LegacyIAccessibleDescriptionPropertyId = 30094; + const long UIA_LegacyIAccessibleRolePropertyId = 30095; + const long UIA_LegacyIAccessibleStatePropertyId = 30096; + const long UIA_LegacyIAccessibleHelpPropertyId = 30097; + const long UIA_LegacyIAccessibleKeyboardShortcutPropertyId = 30098; + const long UIA_LegacyIAccessibleSelectionPropertyId = 30099; + const long UIA_LegacyIAccessibleDefaultActionPropertyId = 30100; + const long UIA_AriaRolePropertyId = 30101; + const long UIA_AriaPropertiesPropertyId = 30102; + const long UIA_IsDataValidForFormPropertyId = 30103; + const long UIA_ControllerForPropertyId = 30104; + const long UIA_DescribedByPropertyId = 30105; + const long UIA_FlowsToPropertyId = 30106; + const long UIA_ProviderDescriptionPropertyId = 30107; + const long UIA_IsItemContainerPatternAvailablePropertyId = 30108; + const long UIA_IsVirtualizedItemPatternAvailablePropertyId = 30109; + const long UIA_IsSynchronizedInputPatternAvailablePropertyId = 30110; + /* + } + */ +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcore.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcore.h new file mode 100644 index 0000000..c92afd8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcore.h @@ -0,0 +1,304 @@ +/*** Autogenerated by WIDL 2.18 from uiautomationcore.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __uiautomationcore_h__ +#define __uiautomationcore_h__ + +/* Forward declarations */ + +#ifndef __IRawElementProviderSimple_FWD_DEFINED__ +#define __IRawElementProviderSimple_FWD_DEFINED__ +typedef interface IRawElementProviderSimple IRawElementProviderSimple; +#ifdef __cplusplus +interface IRawElementProviderSimple; +#endif /* __cplusplus */ +#endif + +#ifndef __IAccessibleEx_FWD_DEFINED__ +#define __IAccessibleEx_FWD_DEFINED__ +typedef interface IAccessibleEx IAccessibleEx; +#ifdef __cplusplus +interface IAccessibleEx; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +enum ProviderOptions { + ProviderOptions_ClientSideProvider = 0x1, + ProviderOptions_ServerSideProvider = 0x2, + ProviderOptions_NonClientAreaProvider = 0x4, + ProviderOptions_OverrideProvider = 0x8, + ProviderOptions_ProviderOwnsSetFocus = 0x10, + ProviderOptions_UseComThreading = 0x20 +}; +typedef int PROPERTYID; +typedef int PATTERNID; +typedef int EVENTID; +typedef int TEXTATTRIBUTEID; +typedef int CONTROLTYPEID; + +DEFINE_GUID(LIBID_UIA, 0x930299ce, 0x9965, 0x4dec, 0xb0,0xf4, 0xa5,0x48,0x48,0xd4,0xb6,0x67); + +/***************************************************************************** + * IRawElementProviderSimple interface + */ +#ifndef __IRawElementProviderSimple_INTERFACE_DEFINED__ +#define __IRawElementProviderSimple_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IRawElementProviderSimple, 0xd6dd68d1, 0x86fd, 0x4332, 0x86,0x66, 0x9a,0xbe,0xde,0xa2,0xd2,0x4c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d6dd68d1-86fd-4332-8666-9abedea2d24c") +IRawElementProviderSimple : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_ProviderOptions( + enum ProviderOptions *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPatternProvider( + PATTERNID patternId, + IUnknown **pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyValue( + PROPERTYID propertyId, + VARIANT *pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HostRawElementProvider( + IRawElementProviderSimple **pRetVal) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IRawElementProviderSimple, 0xd6dd68d1, 0x86fd, 0x4332, 0x86,0x66, 0x9a,0xbe,0xde,0xa2,0xd2,0x4c) +#endif +#else +typedef struct IRawElementProviderSimpleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IRawElementProviderSimple *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IRawElementProviderSimple *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IRawElementProviderSimple *This); + + /*** IRawElementProviderSimple methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ProviderOptions)( + IRawElementProviderSimple *This, + enum ProviderOptions *pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetPatternProvider)( + IRawElementProviderSimple *This, + PATTERNID patternId, + IUnknown **pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetPropertyValue)( + IRawElementProviderSimple *This, + PROPERTYID propertyId, + VARIANT *pRetVal); + + HRESULT (STDMETHODCALLTYPE *get_HostRawElementProvider)( + IRawElementProviderSimple *This, + IRawElementProviderSimple **pRetVal); + + END_INTERFACE +} IRawElementProviderSimpleVtbl; + +interface IRawElementProviderSimple { + CONST_VTBL IRawElementProviderSimpleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IRawElementProviderSimple_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IRawElementProviderSimple_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IRawElementProviderSimple_Release(This) (This)->lpVtbl->Release(This) +/*** IRawElementProviderSimple methods ***/ +#define IRawElementProviderSimple_get_ProviderOptions(This,pRetVal) (This)->lpVtbl->get_ProviderOptions(This,pRetVal) +#define IRawElementProviderSimple_GetPatternProvider(This,patternId,pRetVal) (This)->lpVtbl->GetPatternProvider(This,patternId,pRetVal) +#define IRawElementProviderSimple_GetPropertyValue(This,propertyId,pRetVal) (This)->lpVtbl->GetPropertyValue(This,propertyId,pRetVal) +#define IRawElementProviderSimple_get_HostRawElementProvider(This,pRetVal) (This)->lpVtbl->get_HostRawElementProvider(This,pRetVal) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IRawElementProviderSimple_QueryInterface(IRawElementProviderSimple* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IRawElementProviderSimple_AddRef(IRawElementProviderSimple* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IRawElementProviderSimple_Release(IRawElementProviderSimple* This) { + return This->lpVtbl->Release(This); +} +/*** IRawElementProviderSimple methods ***/ +static FORCEINLINE HRESULT IRawElementProviderSimple_get_ProviderOptions(IRawElementProviderSimple* This,enum ProviderOptions *pRetVal) { + return This->lpVtbl->get_ProviderOptions(This,pRetVal); +} +static FORCEINLINE HRESULT IRawElementProviderSimple_GetPatternProvider(IRawElementProviderSimple* This,PATTERNID patternId,IUnknown **pRetVal) { + return This->lpVtbl->GetPatternProvider(This,patternId,pRetVal); +} +static FORCEINLINE HRESULT IRawElementProviderSimple_GetPropertyValue(IRawElementProviderSimple* This,PROPERTYID propertyId,VARIANT *pRetVal) { + return This->lpVtbl->GetPropertyValue(This,propertyId,pRetVal); +} +static FORCEINLINE HRESULT IRawElementProviderSimple_get_HostRawElementProvider(IRawElementProviderSimple* This,IRawElementProviderSimple **pRetVal) { + return This->lpVtbl->get_HostRawElementProvider(This,pRetVal); +} +#endif +#endif + +#endif + + +#endif /* __IRawElementProviderSimple_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAccessibleEx interface + */ +#ifndef __IAccessibleEx_INTERFACE_DEFINED__ +#define __IAccessibleEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAccessibleEx, 0xf8b80ada, 0x2c44, 0x48d0, 0x89,0xbe, 0x5f,0xf2,0x3c,0x9c,0xd8,0x75); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f8b80ada-2c44-48d0-89be-5ff23c9cd875") +IAccessibleEx : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetObjectForChild( + LONG idChild, + IAccessibleEx **pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIAccessiblePair( + IAccessible **ppAcc, + LONG *pidChild) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRuntimeId( + SAFEARRAY **pRetVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertReturnedElement( + IRawElementProviderSimple *pIn, + IAccessibleEx **ppRetValOut) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAccessibleEx, 0xf8b80ada, 0x2c44, 0x48d0, 0x89,0xbe, 0x5f,0xf2,0x3c,0x9c,0xd8,0x75) +#endif +#else +typedef struct IAccessibleExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAccessibleEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAccessibleEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAccessibleEx *This); + + /*** IAccessibleEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetObjectForChild)( + IAccessibleEx *This, + LONG idChild, + IAccessibleEx **pRetVal); + + HRESULT (STDMETHODCALLTYPE *GetIAccessiblePair)( + IAccessibleEx *This, + IAccessible **ppAcc, + LONG *pidChild); + + HRESULT (STDMETHODCALLTYPE *GetRuntimeId)( + IAccessibleEx *This, + SAFEARRAY **pRetVal); + + HRESULT (STDMETHODCALLTYPE *ConvertReturnedElement)( + IAccessibleEx *This, + IRawElementProviderSimple *pIn, + IAccessibleEx **ppRetValOut); + + END_INTERFACE +} IAccessibleExVtbl; + +interface IAccessibleEx { + CONST_VTBL IAccessibleExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAccessibleEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAccessibleEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAccessibleEx_Release(This) (This)->lpVtbl->Release(This) +/*** IAccessibleEx methods ***/ +#define IAccessibleEx_GetObjectForChild(This,idChild,pRetVal) (This)->lpVtbl->GetObjectForChild(This,idChild,pRetVal) +#define IAccessibleEx_GetIAccessiblePair(This,ppAcc,pidChild) (This)->lpVtbl->GetIAccessiblePair(This,ppAcc,pidChild) +#define IAccessibleEx_GetRuntimeId(This,pRetVal) (This)->lpVtbl->GetRuntimeId(This,pRetVal) +#define IAccessibleEx_ConvertReturnedElement(This,pIn,ppRetValOut) (This)->lpVtbl->ConvertReturnedElement(This,pIn,ppRetValOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAccessibleEx_QueryInterface(IAccessibleEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAccessibleEx_AddRef(IAccessibleEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAccessibleEx_Release(IAccessibleEx* This) { + return This->lpVtbl->Release(This); +} +/*** IAccessibleEx methods ***/ +static FORCEINLINE HRESULT IAccessibleEx_GetObjectForChild(IAccessibleEx* This,LONG idChild,IAccessibleEx **pRetVal) { + return This->lpVtbl->GetObjectForChild(This,idChild,pRetVal); +} +static FORCEINLINE HRESULT IAccessibleEx_GetIAccessiblePair(IAccessibleEx* This,IAccessible **ppAcc,LONG *pidChild) { + return This->lpVtbl->GetIAccessiblePair(This,ppAcc,pidChild); +} +static FORCEINLINE HRESULT IAccessibleEx_GetRuntimeId(IAccessibleEx* This,SAFEARRAY **pRetVal) { + return This->lpVtbl->GetRuntimeId(This,pRetVal); +} +static FORCEINLINE HRESULT IAccessibleEx_ConvertReturnedElement(IAccessibleEx* This,IRawElementProviderSimple *pIn,IAccessibleEx **ppRetValOut) { + return This->lpVtbl->ConvertReturnedElement(This,pIn,ppRetValOut); +} +#endif +#endif + +#endif + + +#endif /* __IAccessibleEx_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __uiautomationcore_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcore.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcore.idl new file mode 100644 index 0000000..3ae6dac --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcore.idl @@ -0,0 +1,91 @@ +/* + * Copyright 2012 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define DO_NO_IMPORTS +import "oaidl.idl"; +import "oleacc.idl"; + +enum ProviderOptions { + ProviderOptions_ClientSideProvider = 0x0001, + ProviderOptions_ServerSideProvider = 0x0002, + ProviderOptions_NonClientAreaProvider = 0x0004, + ProviderOptions_OverrideProvider = 0x0008, + ProviderOptions_ProviderOwnsSetFocus = 0x0010, + ProviderOptions_UseComThreading = 0x0020 +}; + +typedef int PROPERTYID; +typedef int PATTERNID; +typedef int EVENTID; +typedef int TEXTATTRIBUTEID; +typedef int CONTROLTYPEID; + +[ + version(1.0), + uuid(930299ce-9965-4dec-b0f4-a54848d4b667), + lcid(0), + hidden +] +library UIA +{ + importlib("stdole2.tlb"); + + [ + object, + uuid(d6dd68d1-86fd-4332-8666-9abedea2d24c), + pointer_default(unique) + ] + interface IRawElementProviderSimple : IUnknown + { + [propget] HRESULT ProviderOptions([out, retval] enum ProviderOptions *pRetVal); + + HRESULT GetPatternProvider( + [in] PATTERNID patternId, + [out, retval] IUnknown **pRetVal); + + HRESULT GetPropertyValue( + [in] PROPERTYID propertyId, + [out, retval] VARIANT *pRetVal); + + [propget] HRESULT HostRawElementProvider([out, retval] IRawElementProviderSimple **pRetVal); + } + + [ + object, + uuid(f8b80ada-2c44-48d0-89be-5ff23c9cd875), + pointer_default(unique), + oleautomation + ] + interface IAccessibleEx : IUnknown + { + HRESULT GetObjectForChild( + [in] long idChild, + [out, retval] IAccessibleEx **pRetVal); + + HRESULT GetIAccessiblePair( + [out] IAccessible **ppAcc, + [out] long *pidChild); + + HRESULT GetRuntimeId( + [out, retval] SAFEARRAY(int) *pRetVal); + + HRESULT ConvertReturnedElement( + [in] IRawElementProviderSimple *pIn, + [out] IAccessibleEx **ppRetValOut); + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcoreapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcoreapi.h new file mode 100644 index 0000000..12c509f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiautomationcoreapi.h @@ -0,0 +1,63 @@ +/* + * Copyright 2012 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_UIAUTOMATIONCOREAPI +#define _INC_UIAUTOMATIONCOREAPI + +#ifdef __cplusplus +extern "C" { +#endif + +#define UIA_E_ELEMENTNOTENABLED 0x80040200 +#define UIA_E_ELEMENTNOTAVAILABLE 0x80040201 +#define UIA_E_NOCLICKABLEPOINT 0x80040202 +#define UIA_E_PROXYASSEMBLYNOTLOADED 0x80040203 +#define UIA_E_NOTSUPPORTED 0x80040204 +#define UIA_E_INVALIDOPERATION 0x80131509 +#define UIA_E_TIMEOUT 0x80131505 + +#define UiaAppendRuntimeId 3 +#define UiaRootObjectId -25 + +DECLARE_HANDLE(HUIANODE); +DECLARE_HANDLE(HUIAPATTERNOBJECT); +DECLARE_HANDLE(HUIATEXTRANGE); +DECLARE_HANDLE(HUIAEVENT); + +enum AutomationIdentifierType +{ + AutomationIdentifierType_Property, + AutomationIdentifierType_Pattern, + AutomationIdentifierType_Event, + AutomationIdentifierType_ControlType, + AutomationIdentifierType_TextAttribute +}; + +HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value); +HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value); +int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid); +BOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj); +HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id); +LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam, LPARAM lParam, IRawElementProviderSimple *elprov); +BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj); + +#ifdef __cplusplus +} +#endif + +#endif /* _INC_UIAUTOMATIONCOREAPI */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiribbon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiribbon.h new file mode 100644 index 0000000..72a7dfc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiribbon.h @@ -0,0 +1,605 @@ +/*** Autogenerated by WIDL 2.18 from uiribbon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __uiribbon_h__ +#define __uiribbon_h__ + +/* Forward declarations */ + +#ifndef __IUISimplePropertySet_FWD_DEFINED__ +#define __IUISimplePropertySet_FWD_DEFINED__ +typedef interface IUISimplePropertySet IUISimplePropertySet; +#ifdef __cplusplus +interface IUISimplePropertySet; +#endif /* __cplusplus */ +#endif + +#ifndef __IUICommandHandler_FWD_DEFINED__ +#define __IUICommandHandler_FWD_DEFINED__ +typedef interface IUICommandHandler IUICommandHandler; +#ifdef __cplusplus +interface IUICommandHandler; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIApplication_FWD_DEFINED__ +#define __IUIApplication_FWD_DEFINED__ +typedef interface IUIApplication IUIApplication; +#ifdef __cplusplus +interface IUIApplication; +#endif /* __cplusplus */ +#endif + +#ifndef __IUIFramework_FWD_DEFINED__ +#define __IUIFramework_FWD_DEFINED__ +typedef interface IUIFramework IUIFramework; +#ifdef __cplusplus +interface IUIFramework; +#endif /* __cplusplus */ +#endif + +#ifndef __UIRibbonFramework_FWD_DEFINED__ +#define __UIRibbonFramework_FWD_DEFINED__ +#ifdef __cplusplus +typedef class UIRibbonFramework UIRibbonFramework; +#else +typedef struct UIRibbonFramework UIRibbonFramework; +#endif /* defined __cplusplus */ +#endif /* defined __UIRibbonFramework_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum UI_INVALIDATIONS { + UI_INVALIDATIONS_STATE = 0x1, + UI_INVALIDATIONS_VALUE = 0x2, + UI_INVALIDATIONS_PROPERTY = 0x4, + UI_INVALIDATIONS_ALLPROPERTIES = 0x8 +} UI_INVALIDATIONS; +typedef enum UI_EXECUTIONVERB { + UI_EXECUTIONVERB_EXECUTE = 0, + UI_EXECUTIONVERB_PREVIEW = 1, + UI_EXECUTIONVERB_CANCELPREVIEW = 2 +} UI_EXECUTIONVERB; +typedef enum UI_VIEWTYPE { + UI_VIEWTYPE_RIBBON = 1 +} UI_VIEWTYPE; +typedef enum UI_VIEWVERB { + UI_VIEWVERB_CREATE = 0, + UI_VIEWVERB_DESTROY = 1, + UI_VIEWVERB_SIZE = 2, + UI_VIEWVERB_ERROR = 3 +} UI_VIEWVERB; +typedef enum UI_COMMANDTYPE { + UI_COMMANDTYPE_UNKNOWN = 0, + UI_COMMANDTYPE_GROUP = 1, + UI_COMMANDTYPE_ACTION = 2, + UI_COMMANDTYPE_ANCHOR = 3, + UI_COMMANDTYPE_CONTEXT = 4, + UI_COMMANDTYPE_COLLECTION = 5, + UI_COMMANDTYPE_COMMANDCOLLECTION = 6, + UI_COMMANDTYPE_DECIMAL = 7, + UI_COMMANDTYPE_BOOLEAN = 8, + UI_COMMANDTYPE_FONT = 9, + UI_COMMANDTYPE_RECENTITEMS = 10, + UI_COMMANDTYPE_COLORANCHOR = 11, + UI_COMMANDTYPE_COLORCOLLECTION = 12 +} UI_COMMANDTYPE; +/***************************************************************************** + * IUISimplePropertySet interface + */ +#ifndef __IUISimplePropertySet_INTERFACE_DEFINED__ +#define __IUISimplePropertySet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUISimplePropertySet, 0xc205bb48, 0x5b1c, 0x4219, 0xa1,0x06, 0x15,0xbd,0x0a,0x5f,0x24,0xe2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c205bb48-5b1c-4219-a106-15bd0a5f24e2") +IUISimplePropertySet : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetValue( + REFPROPERTYKEY key, + PROPVARIANT *value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUISimplePropertySet, 0xc205bb48, 0x5b1c, 0x4219, 0xa1,0x06, 0x15,0xbd,0x0a,0x5f,0x24,0xe2) +#endif +#else +typedef struct IUISimplePropertySetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUISimplePropertySet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUISimplePropertySet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUISimplePropertySet *This); + + /*** IUISimplePropertySet methods ***/ + HRESULT (STDMETHODCALLTYPE *GetValue)( + IUISimplePropertySet *This, + REFPROPERTYKEY key, + PROPVARIANT *value); + + END_INTERFACE +} IUISimplePropertySetVtbl; + +interface IUISimplePropertySet { + CONST_VTBL IUISimplePropertySetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUISimplePropertySet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUISimplePropertySet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUISimplePropertySet_Release(This) (This)->lpVtbl->Release(This) +/*** IUISimplePropertySet methods ***/ +#define IUISimplePropertySet_GetValue(This,key,value) (This)->lpVtbl->GetValue(This,key,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUISimplePropertySet_QueryInterface(IUISimplePropertySet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUISimplePropertySet_AddRef(IUISimplePropertySet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUISimplePropertySet_Release(IUISimplePropertySet* This) { + return This->lpVtbl->Release(This); +} +/*** IUISimplePropertySet methods ***/ +static FORCEINLINE HRESULT IUISimplePropertySet_GetValue(IUISimplePropertySet* This,REFPROPERTYKEY key,PROPVARIANT *value) { + return This->lpVtbl->GetValue(This,key,value); +} +#endif +#endif + +#endif + + +#endif /* __IUISimplePropertySet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUICommandHandler interface + */ +#ifndef __IUICommandHandler_INTERFACE_DEFINED__ +#define __IUICommandHandler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUICommandHandler, 0x75ae0a2d, 0xdc03, 0x4c9f, 0x88,0x83, 0x06,0x96,0x60,0xd0,0xbe,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("75ae0a2d-dc03-4c9f-8883-069660d0beb6") +IUICommandHandler : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Execute( + UINT32 commandId, + UI_EXECUTIONVERB verb, + const PROPERTYKEY *key, + const PROPVARIANT *currentValue, + IUISimplePropertySet *commandExecutionProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateProperty( + UINT32 commandId, + REFPROPERTYKEY key, + const PROPVARIANT *currentValue, + PROPVARIANT *newValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUICommandHandler, 0x75ae0a2d, 0xdc03, 0x4c9f, 0x88,0x83, 0x06,0x96,0x60,0xd0,0xbe,0xb6) +#endif +#else +typedef struct IUICommandHandlerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUICommandHandler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUICommandHandler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUICommandHandler *This); + + /*** IUICommandHandler methods ***/ + HRESULT (STDMETHODCALLTYPE *Execute)( + IUICommandHandler *This, + UINT32 commandId, + UI_EXECUTIONVERB verb, + const PROPERTYKEY *key, + const PROPVARIANT *currentValue, + IUISimplePropertySet *commandExecutionProperties); + + HRESULT (STDMETHODCALLTYPE *UpdateProperty)( + IUICommandHandler *This, + UINT32 commandId, + REFPROPERTYKEY key, + const PROPVARIANT *currentValue, + PROPVARIANT *newValue); + + END_INTERFACE +} IUICommandHandlerVtbl; + +interface IUICommandHandler { + CONST_VTBL IUICommandHandlerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUICommandHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUICommandHandler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUICommandHandler_Release(This) (This)->lpVtbl->Release(This) +/*** IUICommandHandler methods ***/ +#define IUICommandHandler_Execute(This,commandId,verb,key,currentValue,commandExecutionProperties) (This)->lpVtbl->Execute(This,commandId,verb,key,currentValue,commandExecutionProperties) +#define IUICommandHandler_UpdateProperty(This,commandId,key,currentValue,newValue) (This)->lpVtbl->UpdateProperty(This,commandId,key,currentValue,newValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUICommandHandler_QueryInterface(IUICommandHandler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUICommandHandler_AddRef(IUICommandHandler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUICommandHandler_Release(IUICommandHandler* This) { + return This->lpVtbl->Release(This); +} +/*** IUICommandHandler methods ***/ +static FORCEINLINE HRESULT IUICommandHandler_Execute(IUICommandHandler* This,UINT32 commandId,UI_EXECUTIONVERB verb,const PROPERTYKEY *key,const PROPVARIANT *currentValue,IUISimplePropertySet *commandExecutionProperties) { + return This->lpVtbl->Execute(This,commandId,verb,key,currentValue,commandExecutionProperties); +} +static FORCEINLINE HRESULT IUICommandHandler_UpdateProperty(IUICommandHandler* This,UINT32 commandId,REFPROPERTYKEY key,const PROPVARIANT *currentValue,PROPVARIANT *newValue) { + return This->lpVtbl->UpdateProperty(This,commandId,key,currentValue,newValue); +} +#endif +#endif + +#endif + + +#endif /* __IUICommandHandler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIApplication interface + */ +#ifndef __IUIApplication_INTERFACE_DEFINED__ +#define __IUIApplication_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIApplication, 0xd428903c, 0x729a, 0x491d, 0x91,0x0d, 0x68,0x2a,0x08,0xff,0x25,0x22); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d428903c-729a-491d-910d-682a08ff2522") +IUIApplication : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnViewChanged( + UINT32 viewId, + UI_VIEWTYPE typeID, + IUnknown *view, + UI_VIEWVERB verb, + INT32 uReasonCode) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnCreateUICommand( + UINT32 commandId, + UI_COMMANDTYPE typeID, + IUICommandHandler **commandHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDestroyUICommand( + UINT32 commandId, + UI_COMMANDTYPE typeID, + IUICommandHandler *commandHandler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIApplication, 0xd428903c, 0x729a, 0x491d, 0x91,0x0d, 0x68,0x2a,0x08,0xff,0x25,0x22) +#endif +#else +typedef struct IUIApplicationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIApplication *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIApplication *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIApplication *This); + + /*** IUIApplication methods ***/ + HRESULT (STDMETHODCALLTYPE *OnViewChanged)( + IUIApplication *This, + UINT32 viewId, + UI_VIEWTYPE typeID, + IUnknown *view, + UI_VIEWVERB verb, + INT32 uReasonCode); + + HRESULT (STDMETHODCALLTYPE *OnCreateUICommand)( + IUIApplication *This, + UINT32 commandId, + UI_COMMANDTYPE typeID, + IUICommandHandler **commandHandler); + + HRESULT (STDMETHODCALLTYPE *OnDestroyUICommand)( + IUIApplication *This, + UINT32 commandId, + UI_COMMANDTYPE typeID, + IUICommandHandler *commandHandler); + + END_INTERFACE +} IUIApplicationVtbl; + +interface IUIApplication { + CONST_VTBL IUIApplicationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIApplication_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIApplication_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIApplication_Release(This) (This)->lpVtbl->Release(This) +/*** IUIApplication methods ***/ +#define IUIApplication_OnViewChanged(This,viewId,typeID,view,verb,uReasonCode) (This)->lpVtbl->OnViewChanged(This,viewId,typeID,view,verb,uReasonCode) +#define IUIApplication_OnCreateUICommand(This,commandId,typeID,commandHandler) (This)->lpVtbl->OnCreateUICommand(This,commandId,typeID,commandHandler) +#define IUIApplication_OnDestroyUICommand(This,commandId,typeID,commandHandler) (This)->lpVtbl->OnDestroyUICommand(This,commandId,typeID,commandHandler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIApplication_QueryInterface(IUIApplication* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIApplication_AddRef(IUIApplication* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIApplication_Release(IUIApplication* This) { + return This->lpVtbl->Release(This); +} +/*** IUIApplication methods ***/ +static FORCEINLINE HRESULT IUIApplication_OnViewChanged(IUIApplication* This,UINT32 viewId,UI_VIEWTYPE typeID,IUnknown *view,UI_VIEWVERB verb,INT32 uReasonCode) { + return This->lpVtbl->OnViewChanged(This,viewId,typeID,view,verb,uReasonCode); +} +static FORCEINLINE HRESULT IUIApplication_OnCreateUICommand(IUIApplication* This,UINT32 commandId,UI_COMMANDTYPE typeID,IUICommandHandler **commandHandler) { + return This->lpVtbl->OnCreateUICommand(This,commandId,typeID,commandHandler); +} +static FORCEINLINE HRESULT IUIApplication_OnDestroyUICommand(IUIApplication* This,UINT32 commandId,UI_COMMANDTYPE typeID,IUICommandHandler *commandHandler) { + return This->lpVtbl->OnDestroyUICommand(This,commandId,typeID,commandHandler); +} +#endif +#endif + +#endif + + +#endif /* __IUIApplication_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUIFramework interface + */ +#ifndef __IUIFramework_INTERFACE_DEFINED__ +#define __IUIFramework_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUIFramework, 0xf4f0385d, 0x6872, 0x43a8, 0xad,0x09, 0x4c,0x33,0x9c,0xb3,0xf5,0xc5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f4f0385d-6872-43a8-ad09-4c339cb3f5c5") +IUIFramework : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + HWND frameWnd, + IUIApplication *application) = 0; + + virtual HRESULT STDMETHODCALLTYPE Destroy( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadUI( + HINSTANCE instance, + LPCWSTR resourceName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetView( + UINT32 viewId, + REFIID riid, + void **ppv) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUICommandProperty( + UINT32 commandId, + REFPROPERTYKEY key, + PROPVARIANT *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUICommandProperty( + UINT32 commandId, + REFPROPERTYKEY key, + PROPVARIANT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvalidateUICommand( + UINT32 commandId, + UI_INVALIDATIONS flags, + const PROPERTYKEY *key) = 0; + + virtual HRESULT STDMETHODCALLTYPE FlushPendingInvalidations( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetModes( + INT32 iModes) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUIFramework, 0xf4f0385d, 0x6872, 0x43a8, 0xad,0x09, 0x4c,0x33,0x9c,0xb3,0xf5,0xc5) +#endif +#else +typedef struct IUIFrameworkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUIFramework *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUIFramework *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUIFramework *This); + + /*** IUIFramework methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IUIFramework *This, + HWND frameWnd, + IUIApplication *application); + + HRESULT (STDMETHODCALLTYPE *Destroy)( + IUIFramework *This); + + HRESULT (STDMETHODCALLTYPE *LoadUI)( + IUIFramework *This, + HINSTANCE instance, + LPCWSTR resourceName); + + HRESULT (STDMETHODCALLTYPE *GetView)( + IUIFramework *This, + UINT32 viewId, + REFIID riid, + void **ppv); + + HRESULT (STDMETHODCALLTYPE *GetUICommandProperty)( + IUIFramework *This, + UINT32 commandId, + REFPROPERTYKEY key, + PROPVARIANT *value); + + HRESULT (STDMETHODCALLTYPE *SetUICommandProperty)( + IUIFramework *This, + UINT32 commandId, + REFPROPERTYKEY key, + PROPVARIANT value); + + HRESULT (STDMETHODCALLTYPE *InvalidateUICommand)( + IUIFramework *This, + UINT32 commandId, + UI_INVALIDATIONS flags, + const PROPERTYKEY *key); + + HRESULT (STDMETHODCALLTYPE *FlushPendingInvalidations)( + IUIFramework *This); + + HRESULT (STDMETHODCALLTYPE *SetModes)( + IUIFramework *This, + INT32 iModes); + + END_INTERFACE +} IUIFrameworkVtbl; + +interface IUIFramework { + CONST_VTBL IUIFrameworkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUIFramework_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUIFramework_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUIFramework_Release(This) (This)->lpVtbl->Release(This) +/*** IUIFramework methods ***/ +#define IUIFramework_Initialize(This,frameWnd,application) (This)->lpVtbl->Initialize(This,frameWnd,application) +#define IUIFramework_Destroy(This) (This)->lpVtbl->Destroy(This) +#define IUIFramework_LoadUI(This,instance,resourceName) (This)->lpVtbl->LoadUI(This,instance,resourceName) +#define IUIFramework_GetView(This,viewId,riid,ppv) (This)->lpVtbl->GetView(This,viewId,riid,ppv) +#define IUIFramework_GetUICommandProperty(This,commandId,key,value) (This)->lpVtbl->GetUICommandProperty(This,commandId,key,value) +#define IUIFramework_SetUICommandProperty(This,commandId,key,value) (This)->lpVtbl->SetUICommandProperty(This,commandId,key,value) +#define IUIFramework_InvalidateUICommand(This,commandId,flags,key) (This)->lpVtbl->InvalidateUICommand(This,commandId,flags,key) +#define IUIFramework_FlushPendingInvalidations(This) (This)->lpVtbl->FlushPendingInvalidations(This) +#define IUIFramework_SetModes(This,iModes) (This)->lpVtbl->SetModes(This,iModes) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUIFramework_QueryInterface(IUIFramework* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUIFramework_AddRef(IUIFramework* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUIFramework_Release(IUIFramework* This) { + return This->lpVtbl->Release(This); +} +/*** IUIFramework methods ***/ +static FORCEINLINE HRESULT IUIFramework_Initialize(IUIFramework* This,HWND frameWnd,IUIApplication *application) { + return This->lpVtbl->Initialize(This,frameWnd,application); +} +static FORCEINLINE HRESULT IUIFramework_Destroy(IUIFramework* This) { + return This->lpVtbl->Destroy(This); +} +static FORCEINLINE HRESULT IUIFramework_LoadUI(IUIFramework* This,HINSTANCE instance,LPCWSTR resourceName) { + return This->lpVtbl->LoadUI(This,instance,resourceName); +} +static FORCEINLINE HRESULT IUIFramework_GetView(IUIFramework* This,UINT32 viewId,REFIID riid,void **ppv) { + return This->lpVtbl->GetView(This,viewId,riid,ppv); +} +static FORCEINLINE HRESULT IUIFramework_GetUICommandProperty(IUIFramework* This,UINT32 commandId,REFPROPERTYKEY key,PROPVARIANT *value) { + return This->lpVtbl->GetUICommandProperty(This,commandId,key,value); +} +static FORCEINLINE HRESULT IUIFramework_SetUICommandProperty(IUIFramework* This,UINT32 commandId,REFPROPERTYKEY key,PROPVARIANT value) { + return This->lpVtbl->SetUICommandProperty(This,commandId,key,value); +} +static FORCEINLINE HRESULT IUIFramework_InvalidateUICommand(IUIFramework* This,UINT32 commandId,UI_INVALIDATIONS flags,const PROPERTYKEY *key) { + return This->lpVtbl->InvalidateUICommand(This,commandId,flags,key); +} +static FORCEINLINE HRESULT IUIFramework_FlushPendingInvalidations(IUIFramework* This) { + return This->lpVtbl->FlushPendingInvalidations(This); +} +static FORCEINLINE HRESULT IUIFramework_SetModes(IUIFramework* This,INT32 iModes) { + return This->lpVtbl->SetModes(This,iModes); +} +#endif +#endif + +#endif + + +#endif /* __IUIFramework_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * UIRibbonFramework coclass + */ + +DEFINE_GUID(CLSID_UIRibbonFramework, 0x926749fa, 0x2615, 0x4987, 0x88,0x45, 0xc3,0x3e,0x65,0xf2,0xb9,0x57); + +#ifdef __cplusplus +class DECLSPEC_UUID("926749fa-2615-4987-8845-c33e65f2b957") UIRibbonFramework; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(UIRibbonFramework, 0x926749fa, 0x2615, 0x4987, 0x88,0x45, 0xc3,0x3e,0x65,0xf2,0xb9,0x57) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __uiribbon_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiribbon.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiribbon.idl new file mode 100644 index 0000000..6759400 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uiribbon.idl @@ -0,0 +1,182 @@ +/* + * COM Classes for uiribbon + * + * Copyright 2017 Fabian Maurer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "propsys.idl"; + +#ifndef __WIDL__ +#define threading(model) +#endif + +typedef enum UI_INVALIDATIONS { + UI_INVALIDATIONS_STATE = 0x00000001, + UI_INVALIDATIONS_VALUE = 0x00000002, + UI_INVALIDATIONS_PROPERTY = 0x00000004, + UI_INVALIDATIONS_ALLPROPERTIES = 0x00000008, +} UI_INVALIDATIONS; + +typedef enum UI_EXECUTIONVERB { + UI_EXECUTIONVERB_EXECUTE, + UI_EXECUTIONVERB_PREVIEW, + UI_EXECUTIONVERB_CANCELPREVIEW, +} UI_EXECUTIONVERB; + +typedef enum UI_VIEWTYPE { + UI_VIEWTYPE_RIBBON = 1 +} UI_VIEWTYPE; + +typedef enum UI_VIEWVERB { + UI_VIEWVERB_CREATE, + UI_VIEWVERB_DESTROY, + UI_VIEWVERB_SIZE, + UI_VIEWVERB_ERROR, +} UI_VIEWVERB; + +typedef enum UI_COMMANDTYPE { + UI_COMMANDTYPE_UNKNOWN, + UI_COMMANDTYPE_GROUP, + UI_COMMANDTYPE_ACTION, + UI_COMMANDTYPE_ANCHOR, + UI_COMMANDTYPE_CONTEXT, + UI_COMMANDTYPE_COLLECTION, + UI_COMMANDTYPE_COMMANDCOLLECTION, + UI_COMMANDTYPE_DECIMAL, + UI_COMMANDTYPE_BOOLEAN, + UI_COMMANDTYPE_FONT, + UI_COMMANDTYPE_RECENTITEMS, + UI_COMMANDTYPE_COLORANCHOR, + UI_COMMANDTYPE_COLORCOLLECTION, +} UI_COMMANDTYPE; + + +[ + object, + uuid(c205bb48-5b1c-4219-a106-15bd0a5f24e2), + local, + pointer_default(unique) +] +interface IUISimplePropertySet : IUnknown +{ + HRESULT GetValue( + [in] REFPROPERTYKEY key, + [out] PROPVARIANT *value + ); +} + +[ + object, + uuid(75ae0a2d-dc03-4c9f-8883-069660d0beb6), + local, + pointer_default(unique) +] +interface IUICommandHandler : IUnknown +{ + HRESULT Execute( + [in] UINT32 commandId, + [in] UI_EXECUTIONVERB verb, + [in] const PROPERTYKEY *key, + [in] const PROPVARIANT *currentValue, + [in] IUISimplePropertySet *commandExecutionProperties + ); + HRESULT UpdateProperty( + [in] UINT32 commandId, + [in] REFPROPERTYKEY key, + [in] const PROPVARIANT *currentValue, + [out] PROPVARIANT *newValue + ); +} + +[ + object, + uuid(d428903c-729a-491d-910d-682a08ff2522), + local, + pointer_default(unique) +] +interface IUIApplication : IUnknown +{ + HRESULT OnViewChanged( + [in] UINT32 viewId, + [in] UI_VIEWTYPE typeID, + [in] IUnknown *view, + [in] UI_VIEWVERB verb, + [in] INT32 uReasonCode + ); + HRESULT OnCreateUICommand( + [in] UINT32 commandId, + [in] UI_COMMANDTYPE typeID, + [out] IUICommandHandler **commandHandler + ); + HRESULT OnDestroyUICommand( + [in] UINT32 commandId, + [in] UI_COMMANDTYPE typeID, + [in] IUICommandHandler *commandHandler + ); +} + +[ + object, + uuid(f4f0385d-6872-43a8-ad09-4c339cb3f5c5), + local, + pointer_default(unique) +] +interface IUIFramework : IUnknown +{ + HRESULT Initialize( + [in] HWND frameWnd, + [in] IUIApplication *application + ); + HRESULT Destroy( + ); + HRESULT LoadUI( + [in] HINSTANCE instance, + [in] LPCWSTR resourceName + ); + HRESULT GetView( + [in] UINT32 viewId, + [in] REFIID riid, + [out] void **ppv + ); + HRESULT GetUICommandProperty( + [in] UINT32 commandId, + [in] REFPROPERTYKEY key, + [out] PROPVARIANT *value + ); + HRESULT SetUICommandProperty( + [in] UINT32 commandId, + [in] REFPROPERTYKEY key, + [in] PROPVARIANT value + ); + HRESULT InvalidateUICommand( + [in] UINT32 commandId, + [in] UI_INVALIDATIONS flags, + [in] const PROPERTYKEY *key + ); + HRESULT FlushPendingInvalidations( + ); + HRESULT SetModes( + INT32 iModes + ); +} + +[ + helpstring("UIRibbonFramework Object"), + threading(apartment), + uuid(926749fa-2615-4987-8845-c33e65f2b957) +] +coclass UIRibbonFramework { interface IUIFramework; } diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/unknwn.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/unknwn.h new file mode 100644 index 0000000..731fb4a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/unknwn.h @@ -0,0 +1,276 @@ +/*** Autogenerated by WIDL 2.18 from unknwn.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __unknwn_h__ +#define __unknwn_h__ + +/* Forward declarations */ + +#ifndef __IUnknown_FWD_DEFINED__ +#define __IUnknown_FWD_DEFINED__ +typedef interface IUnknown IUnknown; +#ifdef __cplusplus +interface IUnknown; +#endif /* __cplusplus */ +#endif + +#ifndef __IClassFactory_FWD_DEFINED__ +#define __IClassFactory_FWD_DEFINED__ +typedef interface IClassFactory IClassFactory; +#ifdef __cplusplus +interface IClassFactory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __WINESRC__ +#define WIDL_C_INLINE_WRAPPERS +#endif +#ifdef WIDL_C_INLINE_WRAPPERS +#define SAVE_WIDL_C_INLINE_WRAPPERS +#undef WIDL_C_INLINE_WRAPPERS +#endif +/***************************************************************************** + * IUnknown interface + */ +#ifndef __IUnknown_INTERFACE_DEFINED__ +#define __IUnknown_INTERFACE_DEFINED__ + +typedef IUnknown *LPUNKNOWN; +DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000000-0000-0000-c000-000000000046") +IUnknown +{ + + BEGIN_INTERFACE + + virtual HRESULT STDMETHODCALLTYPE QueryInterface( + REFIID riid, + void **ppvObject) = 0; + + virtual ULONG STDMETHODCALLTYPE AddRef( + ) = 0; + + virtual ULONG STDMETHODCALLTYPE Release( + ) = 0; + + END_INTERFACE + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IUnknownVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUnknown *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUnknown *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUnknown *This); + + END_INTERFACE +} IUnknownVtbl; + +interface IUnknown { + CONST_VTBL IUnknownVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUnknown_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUnknown_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUnknown_QueryInterface(IUnknown* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUnknown_AddRef(IUnknown* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUnknown_Release(IUnknown* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IUnknown_INTERFACE_DEFINED__ */ + +HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown* This, REFIID riid, void **ppvObject); +void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); +ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown* This); +void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); +ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown* This); +void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); +#ifdef SAVE_WIDL_C_INLINE_WRAPPERS +#define WIDL_C_INLINE_WRAPPERS +#endif +/***************************************************************************** + * IClassFactory interface + */ +#ifndef __IClassFactory_INTERFACE_DEFINED__ +#define __IClassFactory_INTERFACE_DEFINED__ + +typedef IClassFactory *LPCLASSFACTORY; +DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000001-0000-0000-c000-000000000046") +IClassFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IUnknown *pUnkOuter, + REFIID riid, + void **ppvObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockServer( + BOOL fLock) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IClassFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IClassFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IClassFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IClassFactory *This); + + /*** IClassFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IClassFactory *This, + IUnknown *pUnkOuter, + REFIID riid, + void **ppvObject); + + HRESULT (STDMETHODCALLTYPE *LockServer)( + IClassFactory *This, + BOOL fLock); + + END_INTERFACE +} IClassFactoryVtbl; + +interface IClassFactory { + CONST_VTBL IClassFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IClassFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IClassFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IClassFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IClassFactory methods ***/ +#define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject) +#define IClassFactory_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IClassFactory_QueryInterface(IClassFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IClassFactory_AddRef(IClassFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IClassFactory_Release(IClassFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IClassFactory methods ***/ +static FORCEINLINE HRESULT IClassFactory_CreateInstance(IClassFactory* This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject) { + return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject); +} +static FORCEINLINE HRESULT IClassFactory_LockServer(IClassFactory* This,BOOL fLock) { + return This->lpVtbl->LockServer(This,fLock); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy( + IClassFactory* This, + REFIID riid, + IUnknown **ppvObject); +void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IClassFactory_RemoteLockServer_Proxy( + IClassFactory* This, + BOOL fLock); +void __RPC_STUB IClassFactory_RemoteLockServer_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IClassFactory_CreateInstance_Proxy( + IClassFactory* This, + IUnknown *pUnkOuter, + REFIID riid, + void **ppvObject); +HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub( + IClassFactory* This, + REFIID riid, + IUnknown **ppvObject); +HRESULT CALLBACK IClassFactory_LockServer_Proxy( + IClassFactory* This, + BOOL fLock); +HRESULT __RPC_STUB IClassFactory_LockServer_Stub( + IClassFactory* This, + BOOL fLock); + +#endif /* __IClassFactory_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __unknwn_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/unknwn.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/unknwn.idl new file mode 100644 index 0000000..7856a7f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/unknwn.idl @@ -0,0 +1,90 @@ +/* + * Copyright 2002 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef DO_NO_IMPORTS +import "wtypes.idl"; +#endif + +cpp_quote("#ifdef __WINESRC__") +cpp_quote("#define WIDL_C_INLINE_WRAPPERS") +cpp_quote("#endif") + +cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS") +cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS") +cpp_quote("#undef WIDL_C_INLINE_WRAPPERS") +cpp_quote("#endif") + +[ + local, + object, + uuid(00000000-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IUnknown +{ + typedef [unique] IUnknown *LPUNKNOWN; + + HRESULT QueryInterface( + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObject); + ULONG AddRef(); + ULONG Release(); +} + +cpp_quote("HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown* This, REFIID riid, void **ppvObject);") +cpp_quote("void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer,") +cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);") +cpp_quote("ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown* This);") +cpp_quote("void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer,") +cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);") +cpp_quote("ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown* This);") +cpp_quote("void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer,") +cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);") + +cpp_quote("#ifdef SAVE_WIDL_C_INLINE_WRAPPERS") +cpp_quote("#define WIDL_C_INLINE_WRAPPERS") +cpp_quote("#endif") + +[ + object, + uuid(00000001-0000-0000-C000-000000000046), + pointer_default(unique) +] +interface IClassFactory : IUnknown +{ + typedef [unique] IClassFactory *LPCLASSFACTORY; + + [local] + HRESULT CreateInstance( + [in, unique] IUnknown *pUnkOuter, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvObject); + + [call_as(CreateInstance)] + HRESULT RemoteCreateInstance( + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppvObject); + + [local] + HRESULT LockServer( + [in] BOOL fLock); + + [call_as(LockServer)] + HRESULT RemoteLockServer( + [in] BOOL fLock); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlhist.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlhist.h new file mode 100644 index 0000000..91ac5fc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlhist.h @@ -0,0 +1,595 @@ +/*** Autogenerated by WIDL 2.18 from urlhist.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __urlhist_h__ +#define __urlhist_h__ + +/* Forward declarations */ + +#ifndef __IEnumSTATURL_FWD_DEFINED__ +#define __IEnumSTATURL_FWD_DEFINED__ +typedef interface IEnumSTATURL IEnumSTATURL; +#ifdef __cplusplus +interface IEnumSTATURL; +#endif /* __cplusplus */ +#endif + +#ifndef __IUrlHistoryStg_FWD_DEFINED__ +#define __IUrlHistoryStg_FWD_DEFINED__ +typedef interface IUrlHistoryStg IUrlHistoryStg; +#ifdef __cplusplus +interface IUrlHistoryStg; +#endif /* __cplusplus */ +#endif + +#ifndef __IUrlHistoryStg2_FWD_DEFINED__ +#define __IUrlHistoryStg2_FWD_DEFINED__ +typedef interface IUrlHistoryStg2 IUrlHistoryStg2; +#ifdef __cplusplus +interface IUrlHistoryStg2; +#endif /* __cplusplus */ +#endif + +#ifndef __IUrlHistoryNotify_FWD_DEFINED__ +#define __IUrlHistoryNotify_FWD_DEFINED__ +typedef interface IUrlHistoryNotify IUrlHistoryNotify; +#ifdef __cplusplus +interface IUrlHistoryNotify; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define STATURL_QUERYFLAG_ISCACHED 0x010000 +#define STATURL_QUERYFLAG_NOURL 0x020000 +#define STATURL_QUERYFLAG_NOTITLE 0x040000 +#define STATURL_QUERYFLAG_TOPLEVEL 0x080000 +#define STATURLFLAG_ISCACHED 0x0001 +#define STATURLFLAG_ISTOPLEVEL 0x0002 +typedef enum _ADDURL_FLAG { + ADDURL_FIRST = 0, + ADDURL_ADDTOHISTORYANDCACHE = 0, + ADDURL_ADDTOCACHE = 1, + ADDURL_Max = 0x7fffffff +} ADDURL_FLAG; +/***************************************************************************** + * IEnumSTATURL interface + */ +#ifndef __IEnumSTATURL_INTERFACE_DEFINED__ +#define __IEnumSTATURL_INTERFACE_DEFINED__ + +typedef IEnumSTATURL *LPENUMSTATURL; +typedef struct _STATURL { + DWORD cbSize; + LPWSTR pwcsUrl; + LPWSTR pwcsTitle; + FILETIME ftLastVisited; + FILETIME ftLastUpdated; + FILETIME ftExpires; + DWORD dwFlags; +} STATURL; +typedef struct _STATURL *LPSTATURL; +DEFINE_GUID(IID_IEnumSTATURL, 0x3c374a42, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3c374a42-bae4-11cf-bf7d-00aa006946ee") +IEnumSTATURL : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + LPSTATURL rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumSTATURL **ppenum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilter( + LPCOLESTR poszFilter, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumSTATURL, 0x3c374a42, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee) +#endif +#else +typedef struct IEnumSTATURLVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumSTATURL *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumSTATURL *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumSTATURL *This); + + /*** IEnumSTATURL methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumSTATURL *This, + ULONG celt, + LPSTATURL rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumSTATURL *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumSTATURL *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumSTATURL *This, + IEnumSTATURL **ppenum); + + HRESULT (STDMETHODCALLTYPE *SetFilter)( + IEnumSTATURL *This, + LPCOLESTR poszFilter, + DWORD dwFlags); + + END_INTERFACE +} IEnumSTATURLVtbl; + +interface IEnumSTATURL { + CONST_VTBL IEnumSTATURLVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumSTATURL_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumSTATURL_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumSTATURL_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumSTATURL methods ***/ +#define IEnumSTATURL_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumSTATURL_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumSTATURL_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumSTATURL_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) +#define IEnumSTATURL_SetFilter(This,poszFilter,dwFlags) (This)->lpVtbl->SetFilter(This,poszFilter,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumSTATURL_QueryInterface(IEnumSTATURL* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumSTATURL_AddRef(IEnumSTATURL* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumSTATURL_Release(IEnumSTATURL* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumSTATURL methods ***/ +static FORCEINLINE HRESULT IEnumSTATURL_Next(IEnumSTATURL* This,ULONG celt,LPSTATURL rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumSTATURL_Skip(IEnumSTATURL* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumSTATURL_Reset(IEnumSTATURL* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumSTATURL_Clone(IEnumSTATURL* This,IEnumSTATURL **ppenum) { + return This->lpVtbl->Clone(This,ppenum); +} +static FORCEINLINE HRESULT IEnumSTATURL_SetFilter(IEnumSTATURL* This,LPCOLESTR poszFilter,DWORD dwFlags) { + return This->lpVtbl->SetFilter(This,poszFilter,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IEnumSTATURL_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUrlHistoryStg interface + */ +#ifndef __IUrlHistoryStg_INTERFACE_DEFINED__ +#define __IUrlHistoryStg_INTERFACE_DEFINED__ + +typedef IUrlHistoryStg *LPURLHISTORYSTG; +DEFINE_GUID(IID_IUrlHistoryStg, 0x3c374a41, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3c374a41-bae4-11cf-bf7d-00aa006946ee") +IUrlHistoryStg : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddUrl( + LPCOLESTR pocsUrl, + LPCOLESTR pocsTitle, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteUrl( + LPCOLESTR pocsUrl, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryUrl( + LPCOLESTR pocsUrl, + DWORD dwFlags, + LPSTATURL lpSTATURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE BindToObject( + LPCOLESTR pocsUrl, + REFIID riid, + void **ppvOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumUrls( + IEnumSTATURL **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUrlHistoryStg, 0x3c374a41, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee) +#endif +#else +typedef struct IUrlHistoryStgVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUrlHistoryStg *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUrlHistoryStg *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUrlHistoryStg *This); + + /*** IUrlHistoryStg methods ***/ + HRESULT (STDMETHODCALLTYPE *AddUrl)( + IUrlHistoryStg *This, + LPCOLESTR pocsUrl, + LPCOLESTR pocsTitle, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DeleteUrl)( + IUrlHistoryStg *This, + LPCOLESTR pocsUrl, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *QueryUrl)( + IUrlHistoryStg *This, + LPCOLESTR pocsUrl, + DWORD dwFlags, + LPSTATURL lpSTATURL); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IUrlHistoryStg *This, + LPCOLESTR pocsUrl, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *EnumUrls)( + IUrlHistoryStg *This, + IEnumSTATURL **ppEnum); + + END_INTERFACE +} IUrlHistoryStgVtbl; + +interface IUrlHistoryStg { + CONST_VTBL IUrlHistoryStgVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUrlHistoryStg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUrlHistoryStg_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUrlHistoryStg_Release(This) (This)->lpVtbl->Release(This) +/*** IUrlHistoryStg methods ***/ +#define IUrlHistoryStg_AddUrl(This,pocsUrl,pocsTitle,dwFlags) (This)->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags) +#define IUrlHistoryStg_DeleteUrl(This,pocsUrl,dwFlags) (This)->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags) +#define IUrlHistoryStg_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) (This)->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) +#define IUrlHistoryStg_BindToObject(This,pocsUrl,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut) +#define IUrlHistoryStg_EnumUrls(This,ppEnum) (This)->lpVtbl->EnumUrls(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUrlHistoryStg_QueryInterface(IUrlHistoryStg* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUrlHistoryStg_AddRef(IUrlHistoryStg* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUrlHistoryStg_Release(IUrlHistoryStg* This) { + return This->lpVtbl->Release(This); +} +/*** IUrlHistoryStg methods ***/ +static FORCEINLINE HRESULT IUrlHistoryStg_AddUrl(IUrlHistoryStg* This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags) { + return This->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags); +} +static FORCEINLINE HRESULT IUrlHistoryStg_DeleteUrl(IUrlHistoryStg* This,LPCOLESTR pocsUrl,DWORD dwFlags) { + return This->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags); +} +static FORCEINLINE HRESULT IUrlHistoryStg_QueryUrl(IUrlHistoryStg* This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL) { + return This->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL); +} +static FORCEINLINE HRESULT IUrlHistoryStg_BindToObject(IUrlHistoryStg* This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut); +} +static FORCEINLINE HRESULT IUrlHistoryStg_EnumUrls(IUrlHistoryStg* This,IEnumSTATURL **ppEnum) { + return This->lpVtbl->EnumUrls(This,ppEnum); +} +#endif +#endif + +#endif + + +#endif /* __IUrlHistoryStg_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUrlHistoryStg2 interface + */ +#ifndef __IUrlHistoryStg2_INTERFACE_DEFINED__ +#define __IUrlHistoryStg2_INTERFACE_DEFINED__ + +typedef IUrlHistoryStg2 *LPURLHISTORYSTG2; +DEFINE_GUID(IID_IUrlHistoryStg2, 0xafa0dc11, 0xc313, 0x11d0, 0x83,0x1a, 0x00,0xc0,0x4f,0xd5,0xae,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("afa0dc11-c313-11d0-831a-00c04fd5ae38") +IUrlHistoryStg2 : public IUrlHistoryStg +{ + virtual HRESULT STDMETHODCALLTYPE AddUrlAndNotify( + LPCOLESTR pocsUrl, + LPCOLESTR pocsTitle, + DWORD dwFlags, + BOOL fWriteHistory, + IOleCommandTarget *poctNotify, + IUnknown *punkISFolder) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearHistory( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUrlHistoryStg2, 0xafa0dc11, 0xc313, 0x11d0, 0x83,0x1a, 0x00,0xc0,0x4f,0xd5,0xae,0x38) +#endif +#else +typedef struct IUrlHistoryStg2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUrlHistoryStg2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUrlHistoryStg2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUrlHistoryStg2 *This); + + /*** IUrlHistoryStg methods ***/ + HRESULT (STDMETHODCALLTYPE *AddUrl)( + IUrlHistoryStg2 *This, + LPCOLESTR pocsUrl, + LPCOLESTR pocsTitle, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *DeleteUrl)( + IUrlHistoryStg2 *This, + LPCOLESTR pocsUrl, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *QueryUrl)( + IUrlHistoryStg2 *This, + LPCOLESTR pocsUrl, + DWORD dwFlags, + LPSTATURL lpSTATURL); + + HRESULT (STDMETHODCALLTYPE *BindToObject)( + IUrlHistoryStg2 *This, + LPCOLESTR pocsUrl, + REFIID riid, + void **ppvOut); + + HRESULT (STDMETHODCALLTYPE *EnumUrls)( + IUrlHistoryStg2 *This, + IEnumSTATURL **ppEnum); + + /*** IUrlHistoryStg2 methods ***/ + HRESULT (STDMETHODCALLTYPE *AddUrlAndNotify)( + IUrlHistoryStg2 *This, + LPCOLESTR pocsUrl, + LPCOLESTR pocsTitle, + DWORD dwFlags, + BOOL fWriteHistory, + IOleCommandTarget *poctNotify, + IUnknown *punkISFolder); + + HRESULT (STDMETHODCALLTYPE *ClearHistory)( + IUrlHistoryStg2 *This); + + END_INTERFACE +} IUrlHistoryStg2Vtbl; + +interface IUrlHistoryStg2 { + CONST_VTBL IUrlHistoryStg2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUrlHistoryStg2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUrlHistoryStg2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUrlHistoryStg2_Release(This) (This)->lpVtbl->Release(This) +/*** IUrlHistoryStg methods ***/ +#define IUrlHistoryStg2_AddUrl(This,pocsUrl,pocsTitle,dwFlags) (This)->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags) +#define IUrlHistoryStg2_DeleteUrl(This,pocsUrl,dwFlags) (This)->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags) +#define IUrlHistoryStg2_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) (This)->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) +#define IUrlHistoryStg2_BindToObject(This,pocsUrl,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut) +#define IUrlHistoryStg2_EnumUrls(This,ppEnum) (This)->lpVtbl->EnumUrls(This,ppEnum) +/*** IUrlHistoryStg2 methods ***/ +#define IUrlHistoryStg2_AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder) (This)->lpVtbl->AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder) +#define IUrlHistoryStg2_ClearHistory(This) (This)->lpVtbl->ClearHistory(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUrlHistoryStg2_QueryInterface(IUrlHistoryStg2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUrlHistoryStg2_AddRef(IUrlHistoryStg2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUrlHistoryStg2_Release(IUrlHistoryStg2* This) { + return This->lpVtbl->Release(This); +} +/*** IUrlHistoryStg methods ***/ +static FORCEINLINE HRESULT IUrlHistoryStg2_AddUrl(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags) { + return This->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags); +} +static FORCEINLINE HRESULT IUrlHistoryStg2_DeleteUrl(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,DWORD dwFlags) { + return This->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags); +} +static FORCEINLINE HRESULT IUrlHistoryStg2_QueryUrl(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL) { + return This->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL); +} +static FORCEINLINE HRESULT IUrlHistoryStg2_BindToObject(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut) { + return This->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut); +} +static FORCEINLINE HRESULT IUrlHistoryStg2_EnumUrls(IUrlHistoryStg2* This,IEnumSTATURL **ppEnum) { + return This->lpVtbl->EnumUrls(This,ppEnum); +} +/*** IUrlHistoryStg2 methods ***/ +static FORCEINLINE HRESULT IUrlHistoryStg2_AddUrlAndNotify(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags,BOOL fWriteHistory,IOleCommandTarget *poctNotify,IUnknown *punkISFolder) { + return This->lpVtbl->AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder); +} +static FORCEINLINE HRESULT IUrlHistoryStg2_ClearHistory(IUrlHistoryStg2* This) { + return This->lpVtbl->ClearHistory(This); +} +#endif +#endif + +#endif + + +#endif /* __IUrlHistoryStg2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUrlHistoryNotify interface + */ +#ifndef __IUrlHistoryNotify_INTERFACE_DEFINED__ +#define __IUrlHistoryNotify_INTERFACE_DEFINED__ + +typedef IUrlHistoryNotify *LPURLHISTORYNOTIFY; +DEFINE_GUID(IID_IUrlHistoryNotify, 0xbc40bec1, 0xc493, 0x11d0, 0x83,0x1b, 0x00,0xc0,0x4f,0xd5,0xae,0x38); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc40bec1-c493-11d0-831b-00c04fd5ae38") +IUrlHistoryNotify : public IOleCommandTarget +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUrlHistoryNotify, 0xbc40bec1, 0xc493, 0x11d0, 0x83,0x1b, 0x00,0xc0,0x4f,0xd5,0xae,0x38) +#endif +#else +typedef struct IUrlHistoryNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUrlHistoryNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUrlHistoryNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUrlHistoryNotify *This); + + /*** IOleCommandTarget methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryStatus)( + IUrlHistoryNotify *This, + const GUID *pguidCmdGroup, + ULONG cCmds, + OLECMD prgCmds[], + OLECMDTEXT *pCmdText); + + HRESULT (STDMETHODCALLTYPE *Exec)( + IUrlHistoryNotify *This, + const GUID *pguidCmdGroup, + DWORD nCmdID, + DWORD nCmdexecopt, + VARIANT *pvaIn, + VARIANT *pvaOut); + + END_INTERFACE +} IUrlHistoryNotifyVtbl; + +interface IUrlHistoryNotify { + CONST_VTBL IUrlHistoryNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUrlHistoryNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUrlHistoryNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUrlHistoryNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IOleCommandTarget methods ***/ +#define IUrlHistoryNotify_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) (This)->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) +#define IUrlHistoryNotify_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUrlHistoryNotify_QueryInterface(IUrlHistoryNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUrlHistoryNotify_AddRef(IUrlHistoryNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUrlHistoryNotify_Release(IUrlHistoryNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IOleCommandTarget methods ***/ +static FORCEINLINE HRESULT IUrlHistoryNotify_QueryStatus(IUrlHistoryNotify* This,const GUID *pguidCmdGroup,ULONG cCmds,OLECMD prgCmds[],OLECMDTEXT *pCmdText) { + return This->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText); +} +static FORCEINLINE HRESULT IUrlHistoryNotify_Exec(IUrlHistoryNotify* This,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) { + return This->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut); +} +#endif +#endif + +#endif + + +#endif /* __IUrlHistoryNotify_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __urlhist_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlhist.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlhist.idl new file mode 100644 index 0000000..955d7ff --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlhist.idl @@ -0,0 +1,146 @@ +/* + * Copyright 2006 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; +import "oaidl.idl"; +import "docobj.idl"; + +cpp_quote("#define STATURL_QUERYFLAG_ISCACHED 0x010000") +cpp_quote("#define STATURL_QUERYFLAG_NOURL 0x020000") +cpp_quote("#define STATURL_QUERYFLAG_NOTITLE 0x040000") +cpp_quote("#define STATURL_QUERYFLAG_TOPLEVEL 0x080000") + +cpp_quote("#define STATURLFLAG_ISCACHED 0x0001") +cpp_quote("#define STATURLFLAG_ISTOPLEVEL 0x0002") + +typedef enum _ADDURL_FLAG +{ + ADDURL_FIRST = 0, + ADDURL_ADDTOHISTORYANDCACHE = 0, + ADDURL_ADDTOCACHE = 1, + ADDURL_Max = 0x7fffffff +} ADDURL_FLAG; + +/***************************************************************************** + * IEnumSTATURL interface + */ +[ + object, + uuid(3c374a42-bae4-11cf-bf7d-00aa006946ee), + pointer_default(unique) +] +interface IEnumSTATURL : IUnknown +{ + typedef [unique] IEnumSTATURL *LPENUMSTATURL; + + typedef struct _STATURL + { + DWORD cbSize; + LPWSTR pwcsUrl; + LPWSTR pwcsTitle; + FILETIME ftLastVisited; + FILETIME ftLastUpdated; + FILETIME ftExpires; + DWORD dwFlags; + } STATURL, *LPSTATURL; + + HRESULT Next( + [in] ULONG celt, + [in, out] LPSTATURL rgelt, + [in, out] ULONG *pceltFetched); + + HRESULT Skip([in] ULONG celt); + HRESULT Reset(); + HRESULT Clone([out] IEnumSTATURL **ppenum); + + HRESULT SetFilter( + [in] LPCOLESTR poszFilter, + [in] DWORD dwFlags); +} + +/***************************************************************************** + * IUrlHistoryStg interface + */ +[ + object, + uuid(3c374a41-bae4-11cf-bf7d-00aa006946ee), + pointer_default(unique) +] +interface IUrlHistoryStg : IUnknown +{ + typedef [unique] IUrlHistoryStg *LPURLHISTORYSTG; + + HRESULT AddUrl( + [in] LPCOLESTR pocsUrl, + [in, unique] LPCOLESTR pocsTitle, + [in] DWORD dwFlags); + + HRESULT DeleteUrl( + [in] LPCOLESTR pocsUrl, + [in] DWORD dwFlags); + + HRESULT QueryUrl( + [in] LPCOLESTR pocsUrl, + [in] DWORD dwFlags, + [in, out, unique] LPSTATURL lpSTATURL); + + HRESULT BindToObject( + [in] LPCOLESTR pocsUrl, + [in] REFIID riid, + [out, iid_is(riid)] void **ppvOut); + + HRESULT EnumUrls( + [out] IEnumSTATURL **ppEnum); +} + +/***************************************************************************** + * IUrlHistoryStg2 interface + */ +[ + object, + uuid(afa0dc11-c313-11d0-831a-00c04fd5ae38), + pointer_default(unique) +] +interface IUrlHistoryStg2 : IUrlHistoryStg +{ + typedef [unique] IUrlHistoryStg2 *LPURLHISTORYSTG2; + + HRESULT AddUrlAndNotify( + [in] LPCOLESTR pocsUrl, + [in,unique] LPCOLESTR pocsTitle, + [in] DWORD dwFlags, + [in] BOOL fWriteHistory, + [in] IOleCommandTarget *poctNotify, + [in, unique] IUnknown *punkISFolder); + + HRESULT ClearHistory(); +} + +/***************************************************************************** + * IUrlHistoryNotify interface + */ +[ + object, + uuid(bc40bec1-c493-11d0-831b-00C04fd5ae38), + pointer_default(unique) +] +interface IUrlHistoryNotify : IOleCommandTarget +{ + typedef [unique] IUrlHistoryNotify *LPURLHISTORYNOTIFY; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlmon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlmon.h new file mode 100644 index 0000000..b79b94b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlmon.h @@ -0,0 +1,7073 @@ +/*** Autogenerated by WIDL 2.18 from urlmon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __urlmon_h__ +#define __urlmon_h__ + +/* Forward declarations */ + +#ifndef __IInternet_FWD_DEFINED__ +#define __IInternet_FWD_DEFINED__ +typedef interface IInternet IInternet; +#ifdef __cplusplus +interface IInternet; +#endif /* __cplusplus */ +#endif + +#ifndef __IBinding_FWD_DEFINED__ +#define __IBinding_FWD_DEFINED__ +typedef interface IBinding IBinding; +#ifdef __cplusplus +interface IBinding; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindStatusCallback_FWD_DEFINED__ +#define __IBindStatusCallback_FWD_DEFINED__ +typedef interface IBindStatusCallback IBindStatusCallback; +#ifdef __cplusplus +interface IBindStatusCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindStatusCallbackEx_FWD_DEFINED__ +#define __IBindStatusCallbackEx_FWD_DEFINED__ +typedef interface IBindStatusCallbackEx IBindStatusCallbackEx; +#ifdef __cplusplus +interface IBindStatusCallbackEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IAuthenticate_FWD_DEFINED__ +#define __IAuthenticate_FWD_DEFINED__ +typedef interface IAuthenticate IAuthenticate; +#ifdef __cplusplus +interface IAuthenticate; +#endif /* __cplusplus */ +#endif + +#ifndef __IHttpNegotiate_FWD_DEFINED__ +#define __IHttpNegotiate_FWD_DEFINED__ +typedef interface IHttpNegotiate IHttpNegotiate; +#ifdef __cplusplus +interface IHttpNegotiate; +#endif /* __cplusplus */ +#endif + +#ifndef __IHttpNegotiate2_FWD_DEFINED__ +#define __IHttpNegotiate2_FWD_DEFINED__ +typedef interface IHttpNegotiate2 IHttpNegotiate2; +#ifdef __cplusplus +interface IHttpNegotiate2; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindHost_FWD_DEFINED__ +#define __IBindHost_FWD_DEFINED__ +typedef interface IBindHost IBindHost; +#ifdef __cplusplus +interface IBindHost; +#endif /* __cplusplus */ +#endif + +#ifndef __IWinInetInfo_FWD_DEFINED__ +#define __IWinInetInfo_FWD_DEFINED__ +typedef interface IWinInetInfo IWinInetInfo; +#ifdef __cplusplus +interface IWinInetInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWinInetHttpInfo_FWD_DEFINED__ +#define __IWinInetHttpInfo_FWD_DEFINED__ +typedef interface IWinInetHttpInfo IWinInetHttpInfo; +#ifdef __cplusplus +interface IWinInetHttpInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWinInetHttpTimeouts_FWD_DEFINED__ +#define __IWinInetHttpTimeouts_FWD_DEFINED__ +typedef interface IWinInetHttpTimeouts IWinInetHttpTimeouts; +#ifdef __cplusplus +interface IWinInetHttpTimeouts; +#endif /* __cplusplus */ +#endif + +#ifndef __IWindowForBindingUI_FWD_DEFINED__ +#define __IWindowForBindingUI_FWD_DEFINED__ +typedef interface IWindowForBindingUI IWindowForBindingUI; +#ifdef __cplusplus +interface IWindowForBindingUI; +#endif /* __cplusplus */ +#endif + +#ifndef __ICodeInstall_FWD_DEFINED__ +#define __ICodeInstall_FWD_DEFINED__ +typedef interface ICodeInstall ICodeInstall; +#ifdef __cplusplus +interface ICodeInstall; +#endif /* __cplusplus */ +#endif + +#ifndef __IHttpSecurity_FWD_DEFINED__ +#define __IHttpSecurity_FWD_DEFINED__ +typedef interface IHttpSecurity IHttpSecurity; +#ifdef __cplusplus +interface IHttpSecurity; +#endif /* __cplusplus */ +#endif + +#ifndef __IPersistMoniker_FWD_DEFINED__ +#define __IPersistMoniker_FWD_DEFINED__ +typedef interface IPersistMoniker IPersistMoniker; +#ifdef __cplusplus +interface IPersistMoniker; +#endif /* __cplusplus */ +#endif + +#ifndef __IMonikerProp_FWD_DEFINED__ +#define __IMonikerProp_FWD_DEFINED__ +typedef interface IMonikerProp IMonikerProp; +#ifdef __cplusplus +interface IMonikerProp; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindProtocol_FWD_DEFINED__ +#define __IBindProtocol_FWD_DEFINED__ +typedef interface IBindProtocol IBindProtocol; +#ifdef __cplusplus +interface IBindProtocol; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetBindInfo_FWD_DEFINED__ +#define __IInternetBindInfo_FWD_DEFINED__ +typedef interface IInternetBindInfo IInternetBindInfo; +#ifdef __cplusplus +interface IInternetBindInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetPriority_FWD_DEFINED__ +#define __IInternetPriority_FWD_DEFINED__ +typedef interface IInternetPriority IInternetPriority; +#ifdef __cplusplus +interface IInternetPriority; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetProtocolRoot_FWD_DEFINED__ +#define __IInternetProtocolRoot_FWD_DEFINED__ +typedef interface IInternetProtocolRoot IInternetProtocolRoot; +#ifdef __cplusplus +interface IInternetProtocolRoot; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetProtocolSink_FWD_DEFINED__ +#define __IInternetProtocolSink_FWD_DEFINED__ +typedef interface IInternetProtocolSink IInternetProtocolSink; +#ifdef __cplusplus +interface IInternetProtocolSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetProtocol_FWD_DEFINED__ +#define __IInternetProtocol_FWD_DEFINED__ +typedef interface IInternetProtocol IInternetProtocol; +#ifdef __cplusplus +interface IInternetProtocol; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetProtocolInfo_FWD_DEFINED__ +#define __IInternetProtocolInfo_FWD_DEFINED__ +typedef interface IInternetProtocolInfo IInternetProtocolInfo; +#ifdef __cplusplus +interface IInternetProtocolInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetSession_FWD_DEFINED__ +#define __IInternetSession_FWD_DEFINED__ +typedef interface IInternetSession IInternetSession; +#ifdef __cplusplus +interface IInternetSession; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetSecurityMgrSite_FWD_DEFINED__ +#define __IInternetSecurityMgrSite_FWD_DEFINED__ +typedef interface IInternetSecurityMgrSite IInternetSecurityMgrSite; +#ifdef __cplusplus +interface IInternetSecurityMgrSite; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetSecurityManager_FWD_DEFINED__ +#define __IInternetSecurityManager_FWD_DEFINED__ +typedef interface IInternetSecurityManager IInternetSecurityManager; +#ifdef __cplusplus +interface IInternetSecurityManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetSecurityManagerEx_FWD_DEFINED__ +#define __IInternetSecurityManagerEx_FWD_DEFINED__ +typedef interface IInternetSecurityManagerEx IInternetSecurityManagerEx; +#ifdef __cplusplus +interface IInternetSecurityManagerEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetSecurityManagerEx2_FWD_DEFINED__ +#define __IInternetSecurityManagerEx2_FWD_DEFINED__ +typedef interface IInternetSecurityManagerEx2 IInternetSecurityManagerEx2; +#ifdef __cplusplus +interface IInternetSecurityManagerEx2; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetHostSecurityManager_FWD_DEFINED__ +#define __IInternetHostSecurityManager_FWD_DEFINED__ +typedef interface IInternetHostSecurityManager IInternetHostSecurityManager; +#ifdef __cplusplus +interface IInternetHostSecurityManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetZoneManager_FWD_DEFINED__ +#define __IInternetZoneManager_FWD_DEFINED__ +typedef interface IInternetZoneManager IInternetZoneManager; +#ifdef __cplusplus +interface IInternetZoneManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetZoneManagerEx_FWD_DEFINED__ +#define __IInternetZoneManagerEx_FWD_DEFINED__ +typedef interface IInternetZoneManagerEx IInternetZoneManagerEx; +#ifdef __cplusplus +interface IInternetZoneManagerEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetZoneManagerEx2_FWD_DEFINED__ +#define __IInternetZoneManagerEx2_FWD_DEFINED__ +typedef interface IInternetZoneManagerEx2 IInternetZoneManagerEx2; +#ifdef __cplusplus +interface IInternetZoneManagerEx2; +#endif /* __cplusplus */ +#endif + +#ifndef __ISoftDistExt_FWD_DEFINED__ +#define __ISoftDistExt_FWD_DEFINED__ +typedef interface ISoftDistExt ISoftDistExt; +#ifdef __cplusplus +interface ISoftDistExt; +#endif /* __cplusplus */ +#endif + +#ifndef __IUri_FWD_DEFINED__ +#define __IUri_FWD_DEFINED__ +typedef interface IUri IUri; +#ifdef __cplusplus +interface IUri; +#endif /* __cplusplus */ +#endif + +#ifndef __IUriContainer_FWD_DEFINED__ +#define __IUriContainer_FWD_DEFINED__ +typedef interface IUriContainer IUriContainer; +#ifdef __cplusplus +interface IUriContainer; +#endif /* __cplusplus */ +#endif + +#ifndef __IUriBuilder_FWD_DEFINED__ +#define __IUriBuilder_FWD_DEFINED__ +typedef interface IUriBuilder IUriBuilder; +#ifdef __cplusplus +interface IUriBuilder; +#endif /* __cplusplus */ +#endif + +#ifndef __IUriBuilderFactory_FWD_DEFINED__ +#define __IUriBuilderFactory_FWD_DEFINED__ +typedef interface IUriBuilderFactory IUriBuilderFactory; +#ifdef __cplusplus +interface IUriBuilderFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IInternetProtocolEx_FWD_DEFINED__ +#define __IInternetProtocolEx_FWD_DEFINED__ +typedef interface IInternetProtocolEx IInternetProtocolEx; +#ifdef __cplusplus +interface IInternetProtocolEx; +#endif /* __cplusplus */ +#endif + +#ifndef __IGetBindHandle_FWD_DEFINED__ +#define __IGetBindHandle_FWD_DEFINED__ +typedef interface IGetBindHandle IGetBindHandle; +#ifdef __cplusplus +interface IGetBindHandle; +#endif /* __cplusplus */ +#endif + +#ifndef __IBindCallbackRedirect_FWD_DEFINED__ +#define __IBindCallbackRedirect_FWD_DEFINED__ +typedef interface IBindCallbackRedirect IBindCallbackRedirect; +#ifdef __cplusplus +interface IBindCallbackRedirect; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WINE_NO_UNICODE_MACROS +#undef GetUserName +#undef SetPort +#endif +#ifndef __IInternetProtocolSink_FWD_DEFINED__ +#define __IInternetProtocolSink_FWD_DEFINED__ +typedef interface IInternetProtocolSink IInternetProtocolSink; +#ifdef __cplusplus +interface IInternetProtocolSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IUri_FWD_DEFINED__ +#define __IUri_FWD_DEFINED__ +typedef interface IUri IUri; +#ifdef __cplusplus +interface IUri; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IInternet interface + */ +#ifndef __IInternet_INTERFACE_DEFINED__ +#define __IInternet_INTERFACE_DEFINED__ + +typedef IInternet *LPIINTERNET; +DEFINE_GUID(IID_IInternet, 0x79eac9e0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9e0-baf9-11ce-8c82-00aa004ba90b") +IInternet : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternet, 0x79eac9e0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternet *This); + + END_INTERFACE +} IInternetVtbl; + +interface IInternet { + CONST_VTBL IInternetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternet_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternet_QueryInterface(IInternet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternet_AddRef(IInternet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternet_Release(IInternet* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IInternet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBinding interface + */ +#ifndef __IBinding_INTERFACE_DEFINED__ +#define __IBinding_INTERFACE_DEFINED__ + +typedef IBinding *LPBINDING; +DEFINE_GUID(IID_IBinding, 0x79eac9c0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c0-baf9-11ce-8c82-00aa004ba90b") +IBinding : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Abort( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPriority( + LONG nPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPriority( + LONG *pnPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBindResult( + CLSID *pclsidProtocol, + DWORD *pdwResult, + LPOLESTR *pszResult, + DWORD *pdwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBinding, 0x79eac9c0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IBindingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBinding *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBinding *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBinding *This); + + /*** IBinding methods ***/ + HRESULT (STDMETHODCALLTYPE *Abort)( + IBinding *This); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IBinding *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IBinding *This); + + HRESULT (STDMETHODCALLTYPE *SetPriority)( + IBinding *This, + LONG nPriority); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBinding *This, + LONG *pnPriority); + + HRESULT (STDMETHODCALLTYPE *GetBindResult)( + IBinding *This, + CLSID *pclsidProtocol, + DWORD *pdwResult, + LPOLESTR *pszResult, + DWORD *pdwReserved); + + END_INTERFACE +} IBindingVtbl; + +interface IBinding { + CONST_VTBL IBindingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBinding_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBinding_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBinding_Release(This) (This)->lpVtbl->Release(This) +/*** IBinding methods ***/ +#define IBinding_Abort(This) (This)->lpVtbl->Abort(This) +#define IBinding_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IBinding_Resume(This) (This)->lpVtbl->Resume(This) +#define IBinding_SetPriority(This,nPriority) (This)->lpVtbl->SetPriority(This,nPriority) +#define IBinding_GetPriority(This,pnPriority) (This)->lpVtbl->GetPriority(This,pnPriority) +#define IBinding_GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved) (This)->lpVtbl->GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBinding_QueryInterface(IBinding* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBinding_AddRef(IBinding* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBinding_Release(IBinding* This) { + return This->lpVtbl->Release(This); +} +/*** IBinding methods ***/ +static FORCEINLINE HRESULT IBinding_Abort(IBinding* This) { + return This->lpVtbl->Abort(This); +} +static FORCEINLINE HRESULT IBinding_Suspend(IBinding* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IBinding_Resume(IBinding* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE HRESULT IBinding_SetPriority(IBinding* This,LONG nPriority) { + return This->lpVtbl->SetPriority(This,nPriority); +} +static FORCEINLINE HRESULT IBinding_GetPriority(IBinding* This,LONG *pnPriority) { + return This->lpVtbl->GetPriority(This,pnPriority); +} +static FORCEINLINE HRESULT IBinding_GetBindResult(IBinding* This,CLSID *pclsidProtocol,DWORD *pdwResult,LPOLESTR *pszResult,DWORD *pdwReserved) { + return This->lpVtbl->GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IBinding_RemoteGetBindResult_Proxy( + IBinding* This, + CLSID *pclsidProtocol, + DWORD *pdwResult, + LPOLESTR *pszResult, + DWORD dwReserved); +void __RPC_STUB IBinding_RemoteGetBindResult_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IBinding_GetBindResult_Proxy( + IBinding* This, + CLSID *pclsidProtocol, + DWORD *pdwResult, + LPOLESTR *pszResult, + DWORD *pdwReserved); +HRESULT __RPC_STUB IBinding_GetBindResult_Stub( + IBinding* This, + CLSID *pclsidProtocol, + DWORD *pdwResult, + LPOLESTR *pszResult, + DWORD dwReserved); + +#endif /* __IBinding_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBindStatusCallback interface + */ +#ifndef __IBindStatusCallback_INTERFACE_DEFINED__ +#define __IBindStatusCallback_INTERFACE_DEFINED__ + +typedef IBindStatusCallback *LPBINDSTATUSCALLBACK; +typedef enum __WIDL_urlmon_generated_name_00000002 { + BINDVERB_GET = 0x0, + BINDVERB_POST = 0x1, + BINDVERB_PUT = 0x2, + BINDVERB_CUSTOM = 0x3 +} BINDVERB; +typedef enum __WIDL_urlmon_generated_name_00000003 { + BINDINFOF_URLENCODESTGMEDDATA = 0x1, + BINDINFOF_URLENCODEDEXTRAINFO = 0x2 +} BINDINFOF; +typedef enum __WIDL_urlmon_generated_name_00000004 { + BINDF_ASYNCHRONOUS = 0x1, + BINDF_ASYNCSTORAGE = 0x2, + BINDF_NOPROGRESSIVERENDERING = 0x4, + BINDF_OFFLINEOPERATION = 0x8, + BINDF_GETNEWESTVERSION = 0x10, + BINDF_NOWRITECACHE = 0x20, + BINDF_NEEDFILE = 0x40, + BINDF_PULLDATA = 0x80, + BINDF_IGNORESECURITYPROBLEM = 0x100, + BINDF_RESYNCHRONIZE = 0x200, + BINDF_HYPERLINK = 0x400, + BINDF_NO_UI = 0x800, + BINDF_SILENTOPERATION = 0x1000, + BINDF_PRAGMA_NO_CACHE = 0x2000, + BINDF_GETCLASSOBJECT = 0x4000, + BINDF_RESERVED_1 = 0x8000, + BINDF_FREE_THREADED = 0x10000, + BINDF_DIRECT_READ = 0x20000, + BINDF_FORMS_SUBMIT = 0x40000, + BINDF_GETFROMCACHE_IF_NET_FAIL = 0x80000, + BINDF_FROMURLMON = 0x100000, + BINDF_FWD_BACK = 0x200000, + BINDF_PREFERDEFAULTHANDLER = 0x400000, + BINDF_ENFORCERESTRICTED = 0x800000 +} BINDF; +typedef enum __WIDL_urlmon_generated_name_00000005 { + URL_ENCODING_NONE = 0x0, + URL_ENCODING_ENABLE_UTF8 = 0x10000000, + URL_ENCODING_DISABLE_UTF8 = 0x20000000 +} URL_ENCODING; +typedef struct _tagBINDINFO { + ULONG cbSize; + LPWSTR szExtraInfo; + STGMEDIUM stgmedData; + DWORD grfBindInfoF; + DWORD dwBindVerb; + LPWSTR szCustomVerb; + DWORD cbstgmedData; + DWORD dwOptions; + DWORD dwOptionsFlags; + DWORD dwCodePage; + SECURITY_ATTRIBUTES securityAttributes; + IID iid; + IUnknown *pUnk; + DWORD dwReserved; +} BINDINFO; +typedef struct _REMSECURITY_ATTRIBUTES { + DWORD nLength; + DWORD lpSecurityDescriptor; + BOOL bInheritHandle; +} REMSECURITY_ATTRIBUTES; +typedef struct _REMSECURITY_ATTRIBUTES *PREMSECURITY_ATTRIBUTES; +typedef struct _REMSECURITY_ATTRIBUTES *LPREMSECURITY_ATTRIBUTES; +typedef struct _tagRemBINDINFO { + ULONG cbSize; + LPWSTR szExtraInfo; + DWORD grfBindInfoF; + DWORD dwBindVerb; + LPWSTR szCustomVerb; + DWORD cbstgmedData; + DWORD dwOptions; + DWORD dwOptionsFlags; + DWORD dwCodePage; + REMSECURITY_ATTRIBUTES securityAttributes; + IID iid; + IUnknown *pUnk; + DWORD dwReserved; +} RemBINDINFO; +typedef struct tagRemFORMATETC { + DWORD cfFormat; + DWORD ptd; + DWORD dwAspect; + LONG lindex; + DWORD tymed; +} RemFORMATETC; +typedef struct tagRemFORMATETC *LPREMFORMATETC; +typedef enum __WIDL_urlmon_generated_name_00000006 { + BINDINFO_OPTIONS_WININETFLAG = 0x10000, + BINDINFO_OPTIONS_ENABLE_UTF8 = 0x20000, + BINDINFO_OPTIONS_DISABLE_UTF8 = 0x40000, + BINDINFO_OPTIONS_USE_IE_ENCODING = 0x80000, + BINDINFO_OPTIONS_BINDTOOBJECT = 0x100000, + BINDINFO_OPTIONS_SECURITYOPTOUT = 0x200000, + BINDINFO_OPTIONS_IGNOREMIMETEXTPLAIN = 0x400000, + BINDINFO_OPTIONS_USEBINDSTRINGCREDS = 0x800000, + BINDINFO_OPTIONS_IGNOREHTTPHTTPSREDIRECTS = 0x1000000, + BINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE = 0x2000000, + BINDINFO_WPC_DOWNLOADBLOCKED = 0x8000000, + BINDINFO_WPC_LOGGING_ENABLED = 0x10000000, + BINDINFO_OPTIONS_ALLOWCONNECTDATA = 0x20000000, + BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS = 0x40000000, + BINDINFO_OPTIONS_SHDOCVW_NAVIGATE = (int)0x80000000 +} BINDINFO_OPTIONS; +typedef enum __WIDL_urlmon_generated_name_00000007 { + BSCF_FIRSTDATANOTIFICATION = 0x1, + BSCF_INTERMEDIATEDATANOTIFICATION = 0x2, + BSCF_LASTDATANOTIFICATION = 0x4, + BSCF_DATAFULLYAVAILABLE = 0x8, + BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10, + BSCF_SKIPDRAINDATAFORFILEURLS = 0x20, + BSCF_64BITLENGTHDOWNLOAD = 0x40 +} BSCF; +typedef enum BINDSTATUS { + BINDSTATUS_FINDINGRESOURCE = 1, + BINDSTATUS_CONNECTING = 2, + BINDSTATUS_REDIRECTING = 3, + BINDSTATUS_BEGINDOWNLOADDATA = 4, + BINDSTATUS_DOWNLOADINGDATA = 5, + BINDSTATUS_ENDDOWNLOADDATA = 6, + BINDSTATUS_BEGINDOWNLOADCOMPONENTS = 7, + BINDSTATUS_INSTALLINGCOMPONENTS = 8, + BINDSTATUS_ENDDOWNLOADCOMPONENTS = 9, + BINDSTATUS_USINGCACHEDCOPY = 10, + BINDSTATUS_SENDINGREQUEST = 11, + BINDSTATUS_CLASSIDAVAILABLE = 12, + BINDSTATUS_MIMETYPEAVAILABLE = 13, + BINDSTATUS_CACHEFILENAMEAVAILABLE = 14, + BINDSTATUS_BEGINSYNCOPERATION = 15, + BINDSTATUS_ENDSYNCOPERATION = 16, + BINDSTATUS_BEGINUPLOADDATA = 17, + BINDSTATUS_UPLOADINGDATA = 18, + BINDSTATUS_ENDUPLOADINGDATA = 19, + BINDSTATUS_PROTOCOLCLASSID = 20, + BINDSTATUS_ENCODING = 21, + BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE = 22, + BINDSTATUS_CLASSINSTALLLOCATION = 23, + BINDSTATUS_DECODING = 24, + BINDSTATUS_LOADINGMIMEHANDLER = 25, + BINDSTATUS_CONTENTDISPOSITIONATTACH = 26, + BINDSTATUS_FILTERREPORTMIMETYPE = 27, + BINDSTATUS_CLSIDCANINSTANTIATE = 28, + BINDSTATUS_IUNKNOWNAVAILABLE = 29, + BINDSTATUS_DIRECTBIND = 30, + BINDSTATUS_RAWMIMETYPE = 31, + BINDSTATUS_PROXYDETECTING = 32, + BINDSTATUS_ACCEPTRANGES = 33, + BINDSTATUS_COOKIE_SENT = 34, + BINDSTATUS_COMPACT_POLICY_RECEIVED = 35, + BINDSTATUS_COOKIE_SUPPRESSED = 36, + BINDSTATUS_COOKIE_STATE_UNKNOWN = 37, + BINDSTATUS_COOKIE_STATE_ACCEPT = 38, + BINDSTATUS_COOKIE_STATE_REJECT = 39, + BINDSTATUS_COOKIE_STATE_PROMPT = 40, + BINDSTATUS_COOKIE_STATE_LEASH = 41, + BINDSTATUS_COOKIE_STATE_DOWNGRADE = 42, + BINDSTATUS_POLICY_HREF = 43, + BINDSTATUS_P3P_HEADER = 44, + BINDSTATUS_SESSION_COOKIE_RECEIVED = 45, + BINDSTATUS_PERSISTENT_COOKIE_RECEIVED = 46, + BINDSTATUS_SESSION_COOKIES_ALLOWED = 47, + BINDSTATUS_CACHECONTROL = 48, + BINDSTATUS_CONTENTDISPOSITIONFILENAME = 49, + BINDSTATUS_MIMETEXTPLAINMISMATCH = 50, + BINDSTATUS_PUBLISHERAVAILABLE = 51, + BINDSTATUS_DISPLAYNAMEAVAILABLE = 52, + BINDSTATUS_SSLUX_NAVBLOCKED = 53, + BINDSTATUS_SERVER_MIMETYPEAVAILABLE = 54, + BINDSTATUS_SNIFFED_CLASSIDAVAILABLE = 55, + BINDSTATUS_64BIT_PROGRESS = 56, + BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS, + BINDSTATUS_RESERVED_0 = BINDSTATUS_LAST + 1, + BINDSTATUS_RESERVED_1 = BINDSTATUS_RESERVED_0 + 1, + BINDSTATUS_RESERVED_2 = BINDSTATUS_RESERVED_1 + 1, + BINDSTATUS_RESERVED_3 = BINDSTATUS_RESERVED_2 + 1, + BINDSTATUS_RESERVED_4 = BINDSTATUS_RESERVED_3 + 1, + BINDSTATUS_RESERVED_5 = BINDSTATUS_RESERVED_4 + 1, + BINDSTATUS_RESERVED_6 = BINDSTATUS_RESERVED_5 + 1, + BINDSTATUS_RESERVED_7 = BINDSTATUS_RESERVED_6 + 1, + BINDSTATUS_RESERVED_8 = BINDSTATUS_RESERVED_7 + 1, + BINDSTATUS_RESERVED_9 = BINDSTATUS_RESERVED_8 + 1, + BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9 +} BINDSTATUS; +DEFINE_GUID(IID_IBindStatusCallback, 0x79eac9c1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c1-baf9-11ce-8c82-00aa004ba90b") +IBindStatusCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnStartBinding( + DWORD dwReserved, + IBinding *pib) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPriority( + LONG *pnPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnLowResource( + DWORD reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnProgress( + ULONG ulProgress, + ULONG ulProgressMax, + ULONG ulStatusCode, + LPCWSTR szStatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnStopBinding( + HRESULT hresult, + LPCWSTR szError) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBindInfo( + DWORD *grfBINDF, + BINDINFO *pbindinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDataAvailable( + DWORD grfBSCF, + DWORD dwSize, + FORMATETC *pformatetc, + STGMEDIUM *pstgmed) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable( + REFIID riid, + IUnknown *punk) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindStatusCallback, 0x79eac9c1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IBindStatusCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindStatusCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindStatusCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindStatusCallback *This); + + /*** IBindStatusCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStartBinding)( + IBindStatusCallback *This, + DWORD dwReserved, + IBinding *pib); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBindStatusCallback *This, + LONG *pnPriority); + + HRESULT (STDMETHODCALLTYPE *OnLowResource)( + IBindStatusCallback *This, + DWORD reserved); + + HRESULT (STDMETHODCALLTYPE *OnProgress)( + IBindStatusCallback *This, + ULONG ulProgress, + ULONG ulProgressMax, + ULONG ulStatusCode, + LPCWSTR szStatusText); + + HRESULT (STDMETHODCALLTYPE *OnStopBinding)( + IBindStatusCallback *This, + HRESULT hresult, + LPCWSTR szError); + + HRESULT (STDMETHODCALLTYPE *GetBindInfo)( + IBindStatusCallback *This, + DWORD *grfBINDF, + BINDINFO *pbindinfo); + + HRESULT (STDMETHODCALLTYPE *OnDataAvailable)( + IBindStatusCallback *This, + DWORD grfBSCF, + DWORD dwSize, + FORMATETC *pformatetc, + STGMEDIUM *pstgmed); + + HRESULT (STDMETHODCALLTYPE *OnObjectAvailable)( + IBindStatusCallback *This, + REFIID riid, + IUnknown *punk); + + END_INTERFACE +} IBindStatusCallbackVtbl; + +interface IBindStatusCallback { + CONST_VTBL IBindStatusCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindStatusCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindStatusCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindStatusCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IBindStatusCallback methods ***/ +#define IBindStatusCallback_OnStartBinding(This,dwReserved,pib) (This)->lpVtbl->OnStartBinding(This,dwReserved,pib) +#define IBindStatusCallback_GetPriority(This,pnPriority) (This)->lpVtbl->GetPriority(This,pnPriority) +#define IBindStatusCallback_OnLowResource(This,reserved) (This)->lpVtbl->OnLowResource(This,reserved) +#define IBindStatusCallback_OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText) (This)->lpVtbl->OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText) +#define IBindStatusCallback_OnStopBinding(This,hresult,szError) (This)->lpVtbl->OnStopBinding(This,hresult,szError) +#define IBindStatusCallback_GetBindInfo(This,grfBINDF,pbindinfo) (This)->lpVtbl->GetBindInfo(This,grfBINDF,pbindinfo) +#define IBindStatusCallback_OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed) (This)->lpVtbl->OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed) +#define IBindStatusCallback_OnObjectAvailable(This,riid,punk) (This)->lpVtbl->OnObjectAvailable(This,riid,punk) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindStatusCallback_QueryInterface(IBindStatusCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindStatusCallback_AddRef(IBindStatusCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindStatusCallback_Release(IBindStatusCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IBindStatusCallback methods ***/ +static FORCEINLINE HRESULT IBindStatusCallback_OnStartBinding(IBindStatusCallback* This,DWORD dwReserved,IBinding *pib) { + return This->lpVtbl->OnStartBinding(This,dwReserved,pib); +} +static FORCEINLINE HRESULT IBindStatusCallback_GetPriority(IBindStatusCallback* This,LONG *pnPriority) { + return This->lpVtbl->GetPriority(This,pnPriority); +} +static FORCEINLINE HRESULT IBindStatusCallback_OnLowResource(IBindStatusCallback* This,DWORD reserved) { + return This->lpVtbl->OnLowResource(This,reserved); +} +static FORCEINLINE HRESULT IBindStatusCallback_OnProgress(IBindStatusCallback* This,ULONG ulProgress,ULONG ulProgressMax,ULONG ulStatusCode,LPCWSTR szStatusText) { + return This->lpVtbl->OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText); +} +static FORCEINLINE HRESULT IBindStatusCallback_OnStopBinding(IBindStatusCallback* This,HRESULT hresult,LPCWSTR szError) { + return This->lpVtbl->OnStopBinding(This,hresult,szError); +} +static FORCEINLINE HRESULT IBindStatusCallback_GetBindInfo(IBindStatusCallback* This,DWORD *grfBINDF,BINDINFO *pbindinfo) { + return This->lpVtbl->GetBindInfo(This,grfBINDF,pbindinfo); +} +static FORCEINLINE HRESULT IBindStatusCallback_OnDataAvailable(IBindStatusCallback* This,DWORD grfBSCF,DWORD dwSize,FORMATETC *pformatetc,STGMEDIUM *pstgmed) { + return This->lpVtbl->OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed); +} +static FORCEINLINE HRESULT IBindStatusCallback_OnObjectAvailable(IBindStatusCallback* This,REFIID riid,IUnknown *punk) { + return This->lpVtbl->OnObjectAvailable(This,riid,punk); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteGetBindInfo_Proxy( + IBindStatusCallback* This, + DWORD *grfBINDF, + RemBINDINFO *pbindinfo, + RemSTGMEDIUM *pstgmed); +void __RPC_STUB IBindStatusCallback_RemoteGetBindInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteOnDataAvailable_Proxy( + IBindStatusCallback* This, + DWORD grfBSCF, + DWORD dwSize, + RemFORMATETC *pformatetc, + RemSTGMEDIUM *pstgmed); +void __RPC_STUB IBindStatusCallback_RemoteOnDataAvailable_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IBindStatusCallback_GetBindInfo_Proxy( + IBindStatusCallback* This, + DWORD *grfBINDF, + BINDINFO *pbindinfo); +HRESULT __RPC_STUB IBindStatusCallback_GetBindInfo_Stub( + IBindStatusCallback* This, + DWORD *grfBINDF, + RemBINDINFO *pbindinfo, + RemSTGMEDIUM *pstgmed); +HRESULT CALLBACK IBindStatusCallback_OnDataAvailable_Proxy( + IBindStatusCallback* This, + DWORD grfBSCF, + DWORD dwSize, + FORMATETC *pformatetc, + STGMEDIUM *pstgmed); +HRESULT __RPC_STUB IBindStatusCallback_OnDataAvailable_Stub( + IBindStatusCallback* This, + DWORD grfBSCF, + DWORD dwSize, + RemFORMATETC *pformatetc, + RemSTGMEDIUM *pstgmed); + +#endif /* __IBindStatusCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBindStatusCallbackEx interface + */ +#ifndef __IBindStatusCallbackEx_INTERFACE_DEFINED__ +#define __IBindStatusCallbackEx_INTERFACE_DEFINED__ + +typedef IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX; +typedef enum __WIDL_urlmon_generated_name_00000008 { + BINDF2_DISABLEBASICOVERHTTP = 0x1, + BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x2, + BINDF2_READ_DATA_GREATER_THAN_4GB = 0x4, + BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x8, + BINDF2_RESERVED_3 = 0x20000000, + BINDF2_RESERVED_2 = 0x40000000, + BINDF2_RESERVED_1 = 0x80000000 +} BINDF2; +DEFINE_GUID(IID_IBindStatusCallbackEx, 0xaaa74ef9, 0x8ee7, 0x4659, 0x88,0xd9, 0xf8,0xc5,0x04,0xda,0x73,0xcc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aaa74ef9-8ee7-4659-88d9-f8c504da73cc") +IBindStatusCallbackEx : public IBindStatusCallback +{ + virtual HRESULT STDMETHODCALLTYPE GetBindInfoEx( + DWORD *grfBINDF, + BINDINFO *pbindinfo, + DWORD *grfBINDF2, + DWORD *pdwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindStatusCallbackEx, 0xaaa74ef9, 0x8ee7, 0x4659, 0x88,0xd9, 0xf8,0xc5,0x04,0xda,0x73,0xcc) +#endif +#else +typedef struct IBindStatusCallbackExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindStatusCallbackEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindStatusCallbackEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindStatusCallbackEx *This); + + /*** IBindStatusCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStartBinding)( + IBindStatusCallbackEx *This, + DWORD dwReserved, + IBinding *pib); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IBindStatusCallbackEx *This, + LONG *pnPriority); + + HRESULT (STDMETHODCALLTYPE *OnLowResource)( + IBindStatusCallbackEx *This, + DWORD reserved); + + HRESULT (STDMETHODCALLTYPE *OnProgress)( + IBindStatusCallbackEx *This, + ULONG ulProgress, + ULONG ulProgressMax, + ULONG ulStatusCode, + LPCWSTR szStatusText); + + HRESULT (STDMETHODCALLTYPE *OnStopBinding)( + IBindStatusCallbackEx *This, + HRESULT hresult, + LPCWSTR szError); + + HRESULT (STDMETHODCALLTYPE *GetBindInfo)( + IBindStatusCallbackEx *This, + DWORD *grfBINDF, + BINDINFO *pbindinfo); + + HRESULT (STDMETHODCALLTYPE *OnDataAvailable)( + IBindStatusCallbackEx *This, + DWORD grfBSCF, + DWORD dwSize, + FORMATETC *pformatetc, + STGMEDIUM *pstgmed); + + HRESULT (STDMETHODCALLTYPE *OnObjectAvailable)( + IBindStatusCallbackEx *This, + REFIID riid, + IUnknown *punk); + + /*** IBindStatusCallbackEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBindInfoEx)( + IBindStatusCallbackEx *This, + DWORD *grfBINDF, + BINDINFO *pbindinfo, + DWORD *grfBINDF2, + DWORD *pdwReserved); + + END_INTERFACE +} IBindStatusCallbackExVtbl; + +interface IBindStatusCallbackEx { + CONST_VTBL IBindStatusCallbackExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindStatusCallbackEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindStatusCallbackEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindStatusCallbackEx_Release(This) (This)->lpVtbl->Release(This) +/*** IBindStatusCallback methods ***/ +#define IBindStatusCallbackEx_OnStartBinding(This,dwReserved,pib) (This)->lpVtbl->OnStartBinding(This,dwReserved,pib) +#define IBindStatusCallbackEx_GetPriority(This,pnPriority) (This)->lpVtbl->GetPriority(This,pnPriority) +#define IBindStatusCallbackEx_OnLowResource(This,reserved) (This)->lpVtbl->OnLowResource(This,reserved) +#define IBindStatusCallbackEx_OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText) (This)->lpVtbl->OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText) +#define IBindStatusCallbackEx_OnStopBinding(This,hresult,szError) (This)->lpVtbl->OnStopBinding(This,hresult,szError) +#define IBindStatusCallbackEx_GetBindInfo(This,grfBINDF,pbindinfo) (This)->lpVtbl->GetBindInfo(This,grfBINDF,pbindinfo) +#define IBindStatusCallbackEx_OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed) (This)->lpVtbl->OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed) +#define IBindStatusCallbackEx_OnObjectAvailable(This,riid,punk) (This)->lpVtbl->OnObjectAvailable(This,riid,punk) +/*** IBindStatusCallbackEx methods ***/ +#define IBindStatusCallbackEx_GetBindInfoEx(This,grfBINDF,pbindinfo,grfBINDF2,pdwReserved) (This)->lpVtbl->GetBindInfoEx(This,grfBINDF,pbindinfo,grfBINDF2,pdwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindStatusCallbackEx_QueryInterface(IBindStatusCallbackEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindStatusCallbackEx_AddRef(IBindStatusCallbackEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindStatusCallbackEx_Release(IBindStatusCallbackEx* This) { + return This->lpVtbl->Release(This); +} +/*** IBindStatusCallback methods ***/ +static FORCEINLINE HRESULT IBindStatusCallbackEx_OnStartBinding(IBindStatusCallbackEx* This,DWORD dwReserved,IBinding *pib) { + return This->lpVtbl->OnStartBinding(This,dwReserved,pib); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_GetPriority(IBindStatusCallbackEx* This,LONG *pnPriority) { + return This->lpVtbl->GetPriority(This,pnPriority); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_OnLowResource(IBindStatusCallbackEx* This,DWORD reserved) { + return This->lpVtbl->OnLowResource(This,reserved); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_OnProgress(IBindStatusCallbackEx* This,ULONG ulProgress,ULONG ulProgressMax,ULONG ulStatusCode,LPCWSTR szStatusText) { + return This->lpVtbl->OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_OnStopBinding(IBindStatusCallbackEx* This,HRESULT hresult,LPCWSTR szError) { + return This->lpVtbl->OnStopBinding(This,hresult,szError); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_GetBindInfo(IBindStatusCallbackEx* This,DWORD *grfBINDF,BINDINFO *pbindinfo) { + return This->lpVtbl->GetBindInfo(This,grfBINDF,pbindinfo); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_OnDataAvailable(IBindStatusCallbackEx* This,DWORD grfBSCF,DWORD dwSize,FORMATETC *pformatetc,STGMEDIUM *pstgmed) { + return This->lpVtbl->OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed); +} +static FORCEINLINE HRESULT IBindStatusCallbackEx_OnObjectAvailable(IBindStatusCallbackEx* This,REFIID riid,IUnknown *punk) { + return This->lpVtbl->OnObjectAvailable(This,riid,punk); +} +/*** IBindStatusCallbackEx methods ***/ +static FORCEINLINE HRESULT IBindStatusCallbackEx_GetBindInfoEx(IBindStatusCallbackEx* This,DWORD *grfBINDF,BINDINFO *pbindinfo,DWORD *grfBINDF2,DWORD *pdwReserved) { + return This->lpVtbl->GetBindInfoEx(This,grfBINDF,pbindinfo,grfBINDF2,pdwReserved); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IBindStatusCallbackEx_RemoteGetBindInfoEx_Proxy( + IBindStatusCallbackEx* This, + DWORD *grfBINDF, + RemBINDINFO *pbindinfo, + RemSTGMEDIUM *pstgmed, + DWORD *grfBINDF2, + DWORD *pdwReserved); +void __RPC_STUB IBindStatusCallbackEx_RemoteGetBindInfoEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IBindStatusCallbackEx_GetBindInfoEx_Proxy( + IBindStatusCallbackEx* This, + DWORD *grfBINDF, + BINDINFO *pbindinfo, + DWORD *grfBINDF2, + DWORD *pdwReserved); +HRESULT __RPC_STUB IBindStatusCallbackEx_GetBindInfoEx_Stub( + IBindStatusCallbackEx* This, + DWORD *grfBINDF, + RemBINDINFO *pbindinfo, + RemSTGMEDIUM *pstgmed, + DWORD *grfBINDF2, + DWORD *pdwReserved); + +#endif /* __IBindStatusCallbackEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAuthenticate interface + */ +#ifndef __IAuthenticate_INTERFACE_DEFINED__ +#define __IAuthenticate_INTERFACE_DEFINED__ + +typedef IAuthenticate *LPAUTHENTICATION; +DEFINE_GUID(IID_IAuthenticate, 0x79eac9d0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d0-baf9-11ce-8c82-00aa004ba90b") +IAuthenticate : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Authenticate( + HWND *phwnd, + LPWSTR *pszUsername, + LPWSTR *pszPassword) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAuthenticate, 0x79eac9d0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IAuthenticateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAuthenticate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAuthenticate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAuthenticate *This); + + /*** IAuthenticate methods ***/ + HRESULT (STDMETHODCALLTYPE *Authenticate)( + IAuthenticate *This, + HWND *phwnd, + LPWSTR *pszUsername, + LPWSTR *pszPassword); + + END_INTERFACE +} IAuthenticateVtbl; + +interface IAuthenticate { + CONST_VTBL IAuthenticateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAuthenticate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAuthenticate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAuthenticate_Release(This) (This)->lpVtbl->Release(This) +/*** IAuthenticate methods ***/ +#define IAuthenticate_Authenticate(This,phwnd,pszUsername,pszPassword) (This)->lpVtbl->Authenticate(This,phwnd,pszUsername,pszPassword) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAuthenticate_QueryInterface(IAuthenticate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAuthenticate_AddRef(IAuthenticate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAuthenticate_Release(IAuthenticate* This) { + return This->lpVtbl->Release(This); +} +/*** IAuthenticate methods ***/ +static FORCEINLINE HRESULT IAuthenticate_Authenticate(IAuthenticate* This,HWND *phwnd,LPWSTR *pszUsername,LPWSTR *pszPassword) { + return This->lpVtbl->Authenticate(This,phwnd,pszUsername,pszPassword); +} +#endif +#endif + +#endif + + +#endif /* __IAuthenticate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHttpNegotiate interface + */ +#ifndef __IHttpNegotiate_INTERFACE_DEFINED__ +#define __IHttpNegotiate_INTERFACE_DEFINED__ + +typedef IHttpNegotiate *LPHTTPNEGOTIATE; +DEFINE_GUID(IID_IHttpNegotiate, 0x79eac9d2, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d2-baf9-11ce-8c82-00aa004ba90b") +IHttpNegotiate : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE BeginningTransaction( + LPCWSTR szURL, + LPCWSTR szHeaders, + DWORD dwReserved, + LPWSTR *pszAdditionalHeaders) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnResponse( + DWORD dwResponseCode, + LPCWSTR szResponseHeaders, + LPCWSTR szRequestHeaders, + LPWSTR *pszAdditionalRequestHeaders) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHttpNegotiate, 0x79eac9d2, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHttpNegotiateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHttpNegotiate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHttpNegotiate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHttpNegotiate *This); + + /*** IHttpNegotiate methods ***/ + HRESULT (STDMETHODCALLTYPE *BeginningTransaction)( + IHttpNegotiate *This, + LPCWSTR szURL, + LPCWSTR szHeaders, + DWORD dwReserved, + LPWSTR *pszAdditionalHeaders); + + HRESULT (STDMETHODCALLTYPE *OnResponse)( + IHttpNegotiate *This, + DWORD dwResponseCode, + LPCWSTR szResponseHeaders, + LPCWSTR szRequestHeaders, + LPWSTR *pszAdditionalRequestHeaders); + + END_INTERFACE +} IHttpNegotiateVtbl; + +interface IHttpNegotiate { + CONST_VTBL IHttpNegotiateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHttpNegotiate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHttpNegotiate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHttpNegotiate_Release(This) (This)->lpVtbl->Release(This) +/*** IHttpNegotiate methods ***/ +#define IHttpNegotiate_BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders) (This)->lpVtbl->BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders) +#define IHttpNegotiate_OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders) (This)->lpVtbl->OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHttpNegotiate_QueryInterface(IHttpNegotiate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHttpNegotiate_AddRef(IHttpNegotiate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHttpNegotiate_Release(IHttpNegotiate* This) { + return This->lpVtbl->Release(This); +} +/*** IHttpNegotiate methods ***/ +static FORCEINLINE HRESULT IHttpNegotiate_BeginningTransaction(IHttpNegotiate* This,LPCWSTR szURL,LPCWSTR szHeaders,DWORD dwReserved,LPWSTR *pszAdditionalHeaders) { + return This->lpVtbl->BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders); +} +static FORCEINLINE HRESULT IHttpNegotiate_OnResponse(IHttpNegotiate* This,DWORD dwResponseCode,LPCWSTR szResponseHeaders,LPCWSTR szRequestHeaders,LPWSTR *pszAdditionalRequestHeaders) { + return This->lpVtbl->OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders); +} +#endif +#endif + +#endif + + +#endif /* __IHttpNegotiate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHttpNegotiate2 interface + */ +#ifndef __IHttpNegotiate2_INTERFACE_DEFINED__ +#define __IHttpNegotiate2_INTERFACE_DEFINED__ + +typedef IHttpNegotiate2 *LPHTTPNEGOTIATE2; +DEFINE_GUID(IID_IHttpNegotiate2, 0x4f9f9fcb, 0xe0f4, 0x48eb, 0xb7,0xab, 0xfa,0x2e,0xa9,0x36,0x5c,0xb4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4f9f9fcb-e0f4-48eb-b7ab-fa2ea9365cb4") +IHttpNegotiate2 : public IHttpNegotiate +{ + virtual HRESULT STDMETHODCALLTYPE GetRootSecurityId( + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHttpNegotiate2, 0x4f9f9fcb, 0xe0f4, 0x48eb, 0xb7,0xab, 0xfa,0x2e,0xa9,0x36,0x5c,0xb4) +#endif +#else +typedef struct IHttpNegotiate2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHttpNegotiate2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHttpNegotiate2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHttpNegotiate2 *This); + + /*** IHttpNegotiate methods ***/ + HRESULT (STDMETHODCALLTYPE *BeginningTransaction)( + IHttpNegotiate2 *This, + LPCWSTR szURL, + LPCWSTR szHeaders, + DWORD dwReserved, + LPWSTR *pszAdditionalHeaders); + + HRESULT (STDMETHODCALLTYPE *OnResponse)( + IHttpNegotiate2 *This, + DWORD dwResponseCode, + LPCWSTR szResponseHeaders, + LPCWSTR szRequestHeaders, + LPWSTR *pszAdditionalRequestHeaders); + + /*** IHttpNegotiate2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRootSecurityId)( + IHttpNegotiate2 *This, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved); + + END_INTERFACE +} IHttpNegotiate2Vtbl; + +interface IHttpNegotiate2 { + CONST_VTBL IHttpNegotiate2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHttpNegotiate2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHttpNegotiate2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHttpNegotiate2_Release(This) (This)->lpVtbl->Release(This) +/*** IHttpNegotiate methods ***/ +#define IHttpNegotiate2_BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders) (This)->lpVtbl->BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders) +#define IHttpNegotiate2_OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders) (This)->lpVtbl->OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders) +/*** IHttpNegotiate2 methods ***/ +#define IHttpNegotiate2_GetRootSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved) (This)->lpVtbl->GetRootSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHttpNegotiate2_QueryInterface(IHttpNegotiate2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHttpNegotiate2_AddRef(IHttpNegotiate2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHttpNegotiate2_Release(IHttpNegotiate2* This) { + return This->lpVtbl->Release(This); +} +/*** IHttpNegotiate methods ***/ +static FORCEINLINE HRESULT IHttpNegotiate2_BeginningTransaction(IHttpNegotiate2* This,LPCWSTR szURL,LPCWSTR szHeaders,DWORD dwReserved,LPWSTR *pszAdditionalHeaders) { + return This->lpVtbl->BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders); +} +static FORCEINLINE HRESULT IHttpNegotiate2_OnResponse(IHttpNegotiate2* This,DWORD dwResponseCode,LPCWSTR szResponseHeaders,LPCWSTR szRequestHeaders,LPWSTR *pszAdditionalRequestHeaders) { + return This->lpVtbl->OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders); +} +/*** IHttpNegotiate2 methods ***/ +static FORCEINLINE HRESULT IHttpNegotiate2_GetRootSecurityId(IHttpNegotiate2* This,BYTE *pbSecurityId,DWORD *pcbSecurityId,DWORD_PTR dwReserved) { + return This->lpVtbl->GetRootSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IHttpNegotiate2_INTERFACE_DEFINED__ */ + +#define SID_IBindHost IID_IBindHost +#define SID_SBindHost IID_IBindHost +/***************************************************************************** + * IBindHost interface + */ +#ifndef __IBindHost_INTERFACE_DEFINED__ +#define __IBindHost_INTERFACE_DEFINED__ + +typedef IBindHost *LPBINDHOST; +DEFINE_GUID(IID_IBindHost, 0xfc4801a1, 0x2ba9, 0x11cf, 0xa2,0x29, 0x00,0xaa,0x00,0x3d,0x73,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fc4801a1-2ba9-11cf-a229-00aa003d7352") +IBindHost : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateMoniker( + LPOLESTR szName, + IBindCtx *pBC, + IMoniker **ppmk, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE MonikerBindToStorage( + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + void **ppvObj) = 0; + + virtual HRESULT STDMETHODCALLTYPE MonikerBindToObject( + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + void **ppvObj) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindHost, 0xfc4801a1, 0x2ba9, 0x11cf, 0xa2,0x29, 0x00,0xaa,0x00,0x3d,0x73,0x52) +#endif +#else +typedef struct IBindHostVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindHost *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindHost *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindHost *This); + + /*** IBindHost methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateMoniker)( + IBindHost *This, + LPOLESTR szName, + IBindCtx *pBC, + IMoniker **ppmk, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *MonikerBindToStorage)( + IBindHost *This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + void **ppvObj); + + HRESULT (STDMETHODCALLTYPE *MonikerBindToObject)( + IBindHost *This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + void **ppvObj); + + END_INTERFACE +} IBindHostVtbl; + +interface IBindHost { + CONST_VTBL IBindHostVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindHost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindHost_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindHost_Release(This) (This)->lpVtbl->Release(This) +/*** IBindHost methods ***/ +#define IBindHost_CreateMoniker(This,szName,pBC,ppmk,dwReserved) (This)->lpVtbl->CreateMoniker(This,szName,pBC,ppmk,dwReserved) +#define IBindHost_MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj) (This)->lpVtbl->MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj) +#define IBindHost_MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj) (This)->lpVtbl->MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindHost_QueryInterface(IBindHost* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindHost_AddRef(IBindHost* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindHost_Release(IBindHost* This) { + return This->lpVtbl->Release(This); +} +/*** IBindHost methods ***/ +static FORCEINLINE HRESULT IBindHost_CreateMoniker(IBindHost* This,LPOLESTR szName,IBindCtx *pBC,IMoniker **ppmk,DWORD dwReserved) { + return This->lpVtbl->CreateMoniker(This,szName,pBC,ppmk,dwReserved); +} +static FORCEINLINE HRESULT IBindHost_MonikerBindToStorage(IBindHost* This,IMoniker *pMk,IBindCtx *pBC,IBindStatusCallback *pBSC,REFIID riid,void **ppvObj) { + return This->lpVtbl->MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj); +} +static FORCEINLINE HRESULT IBindHost_MonikerBindToObject(IBindHost* This,IMoniker *pMk,IBindCtx *pBC,IBindStatusCallback *pBSC,REFIID riid,void **ppvObj) { + return This->lpVtbl->MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToStorage_Proxy( + IBindHost* This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + IUnknown **ppvObj); +void __RPC_STUB IBindHost_RemoteMonikerBindToStorage_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToObject_Proxy( + IBindHost* This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + IUnknown **ppvObj); +void __RPC_STUB IBindHost_RemoteMonikerBindToObject_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IBindHost_MonikerBindToStorage_Proxy( + IBindHost* This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + void **ppvObj); +HRESULT __RPC_STUB IBindHost_MonikerBindToStorage_Stub( + IBindHost* This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + IUnknown **ppvObj); +HRESULT CALLBACK IBindHost_MonikerBindToObject_Proxy( + IBindHost* This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + void **ppvObj); +HRESULT __RPC_STUB IBindHost_MonikerBindToObject_Stub( + IBindHost* This, + IMoniker *pMk, + IBindCtx *pBC, + IBindStatusCallback *pBSC, + REFIID riid, + IUnknown **ppvObj); + +#endif /* __IBindHost_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWinInetInfo interface + */ +#ifndef __IWinInetInfo_INTERFACE_DEFINED__ +#define __IWinInetInfo_INTERFACE_DEFINED__ + +typedef IWinInetInfo *LPWININETINFO; +DEFINE_GUID(IID_IWinInetInfo, 0x79eac9d6, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d6-bafa-11ce-8c82-00aa004ba90b") +IWinInetInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryOption( + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWinInetInfo, 0x79eac9d6, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IWinInetInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWinInetInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWinInetInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWinInetInfo *This); + + /*** IWinInetInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryOption)( + IWinInetInfo *This, + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf); + + END_INTERFACE +} IWinInetInfoVtbl; + +interface IWinInetInfo { + CONST_VTBL IWinInetInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWinInetInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWinInetInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWinInetInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWinInetInfo methods ***/ +#define IWinInetInfo_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWinInetInfo_QueryInterface(IWinInetInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWinInetInfo_AddRef(IWinInetInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWinInetInfo_Release(IWinInetInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWinInetInfo methods ***/ +static FORCEINLINE HRESULT IWinInetInfo_QueryOption(IWinInetInfo* This,DWORD dwOption,LPVOID pBuffer,DWORD *pcbBuf) { + return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IWinInetInfo_RemoteQueryOption_Proxy( + IWinInetInfo* This, + DWORD dwOption, + BYTE *pBuffer, + DWORD *pcbBuf); +void __RPC_STUB IWinInetInfo_RemoteQueryOption_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IWinInetInfo_QueryOption_Proxy( + IWinInetInfo* This, + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf); +HRESULT __RPC_STUB IWinInetInfo_QueryOption_Stub( + IWinInetInfo* This, + DWORD dwOption, + BYTE *pBuffer, + DWORD *pcbBuf); + +#endif /* __IWinInetInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWinInetHttpInfo interface + */ +#ifndef __IWinInetHttpInfo_INTERFACE_DEFINED__ +#define __IWinInetHttpInfo_INTERFACE_DEFINED__ + +typedef IWinInetHttpInfo *LPWININETHTTPINFO; +DEFINE_GUID(IID_IWinInetHttpInfo, 0x79eac9d8, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d8-bafa-11ce-8c82-00aa004ba90b") +IWinInetHttpInfo : public IWinInetInfo +{ + virtual HRESULT STDMETHODCALLTYPE QueryInfo( + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf, + DWORD *pdwFlags, + DWORD *pdwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWinInetHttpInfo, 0x79eac9d8, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IWinInetHttpInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWinInetHttpInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWinInetHttpInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWinInetHttpInfo *This); + + /*** IWinInetInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryOption)( + IWinInetHttpInfo *This, + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf); + + /*** IWinInetHttpInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInfo)( + IWinInetHttpInfo *This, + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf, + DWORD *pdwFlags, + DWORD *pdwReserved); + + END_INTERFACE +} IWinInetHttpInfoVtbl; + +interface IWinInetHttpInfo { + CONST_VTBL IWinInetHttpInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWinInetHttpInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWinInetHttpInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWinInetHttpInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWinInetInfo methods ***/ +#define IWinInetHttpInfo_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) +/*** IWinInetHttpInfo methods ***/ +#define IWinInetHttpInfo_QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved) (This)->lpVtbl->QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWinInetHttpInfo_QueryInterface(IWinInetHttpInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWinInetHttpInfo_AddRef(IWinInetHttpInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWinInetHttpInfo_Release(IWinInetHttpInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWinInetInfo methods ***/ +static FORCEINLINE HRESULT IWinInetHttpInfo_QueryOption(IWinInetHttpInfo* This,DWORD dwOption,LPVOID pBuffer,DWORD *pcbBuf) { + return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf); +} +/*** IWinInetHttpInfo methods ***/ +static FORCEINLINE HRESULT IWinInetHttpInfo_QueryInfo(IWinInetHttpInfo* This,DWORD dwOption,LPVOID pBuffer,DWORD *pcbBuf,DWORD *pdwFlags,DWORD *pdwReserved) { + return This->lpVtbl->QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_RemoteQueryInfo_Proxy( + IWinInetHttpInfo* This, + DWORD dwOption, + BYTE *pBuffer, + DWORD *pcbBuf, + DWORD *pdwFlags, + DWORD *pdwReserved); +void __RPC_STUB IWinInetHttpInfo_RemoteQueryInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT CALLBACK IWinInetHttpInfo_QueryInfo_Proxy( + IWinInetHttpInfo* This, + DWORD dwOption, + LPVOID pBuffer, + DWORD *pcbBuf, + DWORD *pdwFlags, + DWORD *pdwReserved); +HRESULT __RPC_STUB IWinInetHttpInfo_QueryInfo_Stub( + IWinInetHttpInfo* This, + DWORD dwOption, + BYTE *pBuffer, + DWORD *pcbBuf, + DWORD *pdwFlags, + DWORD *pdwReserved); + +#endif /* __IWinInetHttpInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWinInetHttpTimeouts interface + */ +#ifndef __IWinInetHttpTimeouts_INTERFACE_DEFINED__ +#define __IWinInetHttpTimeouts_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWinInetHttpTimeouts, 0xf286fa56, 0xc1fd, 0x4270, 0x8e,0x67, 0xb3,0xeb,0x79,0x0a,0x81,0xe8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f286fa56-c1fd-4270-8e67-b3eb790a81e8") +IWinInetHttpTimeouts : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRequestTimeouts( + DWORD *connect_timeout, + DWORD *send_timeout, + DWORD *receive_timeout) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWinInetHttpTimeouts, 0xf286fa56, 0xc1fd, 0x4270, 0x8e,0x67, 0xb3,0xeb,0x79,0x0a,0x81,0xe8) +#endif +#else +typedef struct IWinInetHttpTimeoutsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWinInetHttpTimeouts *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWinInetHttpTimeouts *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWinInetHttpTimeouts *This); + + /*** IWinInetHttpTimeouts methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRequestTimeouts)( + IWinInetHttpTimeouts *This, + DWORD *connect_timeout, + DWORD *send_timeout, + DWORD *receive_timeout); + + END_INTERFACE +} IWinInetHttpTimeoutsVtbl; + +interface IWinInetHttpTimeouts { + CONST_VTBL IWinInetHttpTimeoutsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWinInetHttpTimeouts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWinInetHttpTimeouts_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWinInetHttpTimeouts_Release(This) (This)->lpVtbl->Release(This) +/*** IWinInetHttpTimeouts methods ***/ +#define IWinInetHttpTimeouts_GetRequestTimeouts(This,connect_timeout,send_timeout,receive_timeout) (This)->lpVtbl->GetRequestTimeouts(This,connect_timeout,send_timeout,receive_timeout) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWinInetHttpTimeouts_QueryInterface(IWinInetHttpTimeouts* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWinInetHttpTimeouts_AddRef(IWinInetHttpTimeouts* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWinInetHttpTimeouts_Release(IWinInetHttpTimeouts* This) { + return This->lpVtbl->Release(This); +} +/*** IWinInetHttpTimeouts methods ***/ +static FORCEINLINE HRESULT IWinInetHttpTimeouts_GetRequestTimeouts(IWinInetHttpTimeouts* This,DWORD *connect_timeout,DWORD *send_timeout,DWORD *receive_timeout) { + return This->lpVtbl->GetRequestTimeouts(This,connect_timeout,send_timeout,receive_timeout); +} +#endif +#endif + +#endif + + +#endif /* __IWinInetHttpTimeouts_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWindowForBindingUI interface + */ +#ifndef __IWindowForBindingUI_INTERFACE_DEFINED__ +#define __IWindowForBindingUI_INTERFACE_DEFINED__ + +typedef IWindowForBindingUI *LPWINDOWFORBINDINGUI; +DEFINE_GUID(IID_IWindowForBindingUI, 0x79eac9d5, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d5-bafa-11ce-8c82-00aa004ba90b") +IWindowForBindingUI : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetWindow( + REFGUID rguidReason, + HWND *phwnd) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWindowForBindingUI, 0x79eac9d5, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IWindowForBindingUIVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWindowForBindingUI *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWindowForBindingUI *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWindowForBindingUI *This); + + /*** IWindowForBindingUI methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IWindowForBindingUI *This, + REFGUID rguidReason, + HWND *phwnd); + + END_INTERFACE +} IWindowForBindingUIVtbl; + +interface IWindowForBindingUI { + CONST_VTBL IWindowForBindingUIVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWindowForBindingUI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWindowForBindingUI_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWindowForBindingUI_Release(This) (This)->lpVtbl->Release(This) +/*** IWindowForBindingUI methods ***/ +#define IWindowForBindingUI_GetWindow(This,rguidReason,phwnd) (This)->lpVtbl->GetWindow(This,rguidReason,phwnd) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWindowForBindingUI_QueryInterface(IWindowForBindingUI* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWindowForBindingUI_AddRef(IWindowForBindingUI* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWindowForBindingUI_Release(IWindowForBindingUI* This) { + return This->lpVtbl->Release(This); +} +/*** IWindowForBindingUI methods ***/ +static FORCEINLINE HRESULT IWindowForBindingUI_GetWindow(IWindowForBindingUI* This,REFGUID rguidReason,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,rguidReason,phwnd); +} +#endif +#endif + +#endif + + +#endif /* __IWindowForBindingUI_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICodeInstall interface + */ +#ifndef __ICodeInstall_INTERFACE_DEFINED__ +#define __ICodeInstall_INTERFACE_DEFINED__ + +typedef ICodeInstall *LPCODEINSTALL; +typedef enum __WIDL_urlmon_generated_name_00000009 { + CIP_DISK_FULL = 0, + CIP_ACCESS_DENIED = 1, + CIP_NEWER_VERSION_EXISTS = 2, + CIP_OLDER_VERSION_EXISTS = 3, + CIP_NAME_CONFLICT = 4, + CIP_TRUST_VERIFICATION_COMPONENT_MISSING = 5, + CIP_EXE_SELF_REGISTERATION_TIMEOUT = 6, + CIP_UNSAFE_TO_ABORT = 7, + CIP_NEED_REBOOT = 8, + CIP_NEED_REBOOT_UI_PERMISSION = 9 +} CIP_STATUS; +DEFINE_GUID(IID_ICodeInstall, 0x79eac9d1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d1-baf9-11ce-8c82-00aa004ba90b") +ICodeInstall : public IWindowForBindingUI +{ + virtual HRESULT STDMETHODCALLTYPE OnCodeInstallProblem( + ULONG ulStatusCode, + LPCWSTR szDestination, + LPCWSTR szSource, + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICodeInstall, 0x79eac9d1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct ICodeInstallVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICodeInstall *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICodeInstall *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICodeInstall *This); + + /*** IWindowForBindingUI methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + ICodeInstall *This, + REFGUID rguidReason, + HWND *phwnd); + + /*** ICodeInstall methods ***/ + HRESULT (STDMETHODCALLTYPE *OnCodeInstallProblem)( + ICodeInstall *This, + ULONG ulStatusCode, + LPCWSTR szDestination, + LPCWSTR szSource, + DWORD dwReserved); + + END_INTERFACE +} ICodeInstallVtbl; + +interface ICodeInstall { + CONST_VTBL ICodeInstallVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICodeInstall_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICodeInstall_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICodeInstall_Release(This) (This)->lpVtbl->Release(This) +/*** IWindowForBindingUI methods ***/ +#define ICodeInstall_GetWindow(This,rguidReason,phwnd) (This)->lpVtbl->GetWindow(This,rguidReason,phwnd) +/*** ICodeInstall methods ***/ +#define ICodeInstall_OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved) (This)->lpVtbl->OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICodeInstall_QueryInterface(ICodeInstall* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICodeInstall_AddRef(ICodeInstall* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICodeInstall_Release(ICodeInstall* This) { + return This->lpVtbl->Release(This); +} +/*** IWindowForBindingUI methods ***/ +static FORCEINLINE HRESULT ICodeInstall_GetWindow(ICodeInstall* This,REFGUID rguidReason,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,rguidReason,phwnd); +} +/*** ICodeInstall methods ***/ +static FORCEINLINE HRESULT ICodeInstall_OnCodeInstallProblem(ICodeInstall* This,ULONG ulStatusCode,LPCWSTR szDestination,LPCWSTR szSource,DWORD dwReserved) { + return This->lpVtbl->OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __ICodeInstall_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IHttpSecurity interface + */ +#ifndef __IHttpSecurity_INTERFACE_DEFINED__ +#define __IHttpSecurity_INTERFACE_DEFINED__ + +typedef IHttpSecurity *LPHTTPSECURITY; +DEFINE_GUID(IID_IHttpSecurity, 0x79eac9d7, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9d7-bafa-11ce-8c82-00aa004ba90b") +IHttpSecurity : public IWindowForBindingUI +{ + virtual HRESULT STDMETHODCALLTYPE OnSecurityProblem( + DWORD dwProblem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IHttpSecurity, 0x79eac9d7, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IHttpSecurityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IHttpSecurity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IHttpSecurity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IHttpSecurity *This); + + /*** IWindowForBindingUI methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IHttpSecurity *This, + REFGUID rguidReason, + HWND *phwnd); + + /*** IHttpSecurity methods ***/ + HRESULT (STDMETHODCALLTYPE *OnSecurityProblem)( + IHttpSecurity *This, + DWORD dwProblem); + + END_INTERFACE +} IHttpSecurityVtbl; + +interface IHttpSecurity { + CONST_VTBL IHttpSecurityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IHttpSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IHttpSecurity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IHttpSecurity_Release(This) (This)->lpVtbl->Release(This) +/*** IWindowForBindingUI methods ***/ +#define IHttpSecurity_GetWindow(This,rguidReason,phwnd) (This)->lpVtbl->GetWindow(This,rguidReason,phwnd) +/*** IHttpSecurity methods ***/ +#define IHttpSecurity_OnSecurityProblem(This,dwProblem) (This)->lpVtbl->OnSecurityProblem(This,dwProblem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IHttpSecurity_QueryInterface(IHttpSecurity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IHttpSecurity_AddRef(IHttpSecurity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IHttpSecurity_Release(IHttpSecurity* This) { + return This->lpVtbl->Release(This); +} +/*** IWindowForBindingUI methods ***/ +static FORCEINLINE HRESULT IHttpSecurity_GetWindow(IHttpSecurity* This,REFGUID rguidReason,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,rguidReason,phwnd); +} +/*** IHttpSecurity methods ***/ +static FORCEINLINE HRESULT IHttpSecurity_OnSecurityProblem(IHttpSecurity* This,DWORD dwProblem) { + return This->lpVtbl->OnSecurityProblem(This,dwProblem); +} +#endif +#endif + +#endif + + +#endif /* __IHttpSecurity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistMoniker interface + */ +#ifndef __IPersistMoniker_INTERFACE_DEFINED__ +#define __IPersistMoniker_INTERFACE_DEFINED__ + +typedef IPersistMoniker *LPPERSISTMONIKER; +DEFINE_GUID(IID_IPersistMoniker, 0x79eac9c9, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9c9-baf9-11ce-8c82-00aa004ba90b") +IPersistMoniker : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetClassID( + CLSID *pClassID) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDirty( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Load( + BOOL fFullyAvailable, + IMoniker *pimkName, + LPBC pibc, + DWORD grfMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + IMoniker *pimkName, + LPBC pbc, + BOOL fRemember) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveCompleted( + IMoniker *pimkName, + LPBC pibc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurMoniker( + IMoniker **ppimkName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistMoniker, 0x79eac9c9, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IPersistMonikerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistMoniker *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistMoniker *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistMoniker *This); + + /*** IPersistMoniker methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IPersistMoniker *This, + CLSID *pClassID); + + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IPersistMoniker *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IPersistMoniker *This, + BOOL fFullyAvailable, + IMoniker *pimkName, + LPBC pibc, + DWORD grfMode); + + HRESULT (STDMETHODCALLTYPE *Save)( + IPersistMoniker *This, + IMoniker *pimkName, + LPBC pbc, + BOOL fRemember); + + HRESULT (STDMETHODCALLTYPE *SaveCompleted)( + IPersistMoniker *This, + IMoniker *pimkName, + LPBC pibc); + + HRESULT (STDMETHODCALLTYPE *GetCurMoniker)( + IPersistMoniker *This, + IMoniker **ppimkName); + + END_INTERFACE +} IPersistMonikerVtbl; + +interface IPersistMoniker { + CONST_VTBL IPersistMonikerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistMoniker_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistMoniker_Release(This) (This)->lpVtbl->Release(This) +/*** IPersistMoniker methods ***/ +#define IPersistMoniker_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +#define IPersistMoniker_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IPersistMoniker_Load(This,fFullyAvailable,pimkName,pibc,grfMode) (This)->lpVtbl->Load(This,fFullyAvailable,pimkName,pibc,grfMode) +#define IPersistMoniker_Save(This,pimkName,pbc,fRemember) (This)->lpVtbl->Save(This,pimkName,pbc,fRemember) +#define IPersistMoniker_SaveCompleted(This,pimkName,pibc) (This)->lpVtbl->SaveCompleted(This,pimkName,pibc) +#define IPersistMoniker_GetCurMoniker(This,ppimkName) (This)->lpVtbl->GetCurMoniker(This,ppimkName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistMoniker_QueryInterface(IPersistMoniker* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistMoniker_AddRef(IPersistMoniker* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistMoniker_Release(IPersistMoniker* This) { + return This->lpVtbl->Release(This); +} +/*** IPersistMoniker methods ***/ +static FORCEINLINE HRESULT IPersistMoniker_GetClassID(IPersistMoniker* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +static FORCEINLINE HRESULT IPersistMoniker_IsDirty(IPersistMoniker* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IPersistMoniker_Load(IPersistMoniker* This,BOOL fFullyAvailable,IMoniker *pimkName,LPBC pibc,DWORD grfMode) { + return This->lpVtbl->Load(This,fFullyAvailable,pimkName,pibc,grfMode); +} +static FORCEINLINE HRESULT IPersistMoniker_Save(IPersistMoniker* This,IMoniker *pimkName,LPBC pbc,BOOL fRemember) { + return This->lpVtbl->Save(This,pimkName,pbc,fRemember); +} +static FORCEINLINE HRESULT IPersistMoniker_SaveCompleted(IPersistMoniker* This,IMoniker *pimkName,LPBC pibc) { + return This->lpVtbl->SaveCompleted(This,pimkName,pibc); +} +static FORCEINLINE HRESULT IPersistMoniker_GetCurMoniker(IPersistMoniker* This,IMoniker **ppimkName) { + return This->lpVtbl->GetCurMoniker(This,ppimkName); +} +#endif +#endif + +#endif + + +#endif /* __IPersistMoniker_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IMonikerProp interface + */ +#ifndef __IMonikerProp_INTERFACE_DEFINED__ +#define __IMonikerProp_INTERFACE_DEFINED__ + +typedef IMonikerProp *LPMONIKERPROP; +typedef enum __WIDL_urlmon_generated_name_0000000A { + MIMETYPEPROP = 0, + USE_SRC_URL = 1, + CLASSIDPROP = 2, + TRUSTEDDOWNLOADPROP = 3, + POPUPLEVELPROP = 4 +} MONIKERPROPERTY; +DEFINE_GUID(IID_IMonikerProp, 0xa5ca5f7f, 0x1847, 0x4d87, 0x9c,0x5b, 0x91,0x85,0x09,0xf7,0x51,0x1d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a5ca5f7f-1847-4d87-9c5b-918509f7511d") +IMonikerProp : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PutProperty( + MONIKERPROPERTY mkp, + LPCWSTR val) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IMonikerProp, 0xa5ca5f7f, 0x1847, 0x4d87, 0x9c,0x5b, 0x91,0x85,0x09,0xf7,0x51,0x1d) +#endif +#else +typedef struct IMonikerPropVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IMonikerProp *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IMonikerProp *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IMonikerProp *This); + + /*** IMonikerProp methods ***/ + HRESULT (STDMETHODCALLTYPE *PutProperty)( + IMonikerProp *This, + MONIKERPROPERTY mkp, + LPCWSTR val); + + END_INTERFACE +} IMonikerPropVtbl; + +interface IMonikerProp { + CONST_VTBL IMonikerPropVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IMonikerProp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IMonikerProp_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IMonikerProp_Release(This) (This)->lpVtbl->Release(This) +/*** IMonikerProp methods ***/ +#define IMonikerProp_PutProperty(This,mkp,val) (This)->lpVtbl->PutProperty(This,mkp,val) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IMonikerProp_QueryInterface(IMonikerProp* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IMonikerProp_AddRef(IMonikerProp* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IMonikerProp_Release(IMonikerProp* This) { + return This->lpVtbl->Release(This); +} +/*** IMonikerProp methods ***/ +static FORCEINLINE HRESULT IMonikerProp_PutProperty(IMonikerProp* This,MONIKERPROPERTY mkp,LPCWSTR val) { + return This->lpVtbl->PutProperty(This,mkp,val); +} +#endif +#endif + +#endif + + +#endif /* __IMonikerProp_INTERFACE_DEFINED__ */ + +#ifndef _LPBINDPROTOCOL_DEFINED +#define _LPBINDPROTOCOL_DEFINED +/***************************************************************************** + * IBindProtocol interface + */ +#ifndef __IBindProtocol_INTERFACE_DEFINED__ +#define __IBindProtocol_INTERFACE_DEFINED__ + +typedef IBindProtocol *LPBINDPROTOCOL; +DEFINE_GUID(IID_IBindProtocol, 0x79eac9cd, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9cd-baf9-11ce-8c82-00aa004ba90b") +IBindProtocol : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateBinding( + LPCWSTR szUrl, + IBindCtx *pbc, + IBinding **ppb) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindProtocol, 0x79eac9cd, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IBindProtocolVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindProtocol *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindProtocol *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindProtocol *This); + + /*** IBindProtocol methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateBinding)( + IBindProtocol *This, + LPCWSTR szUrl, + IBindCtx *pbc, + IBinding **ppb); + + END_INTERFACE +} IBindProtocolVtbl; + +interface IBindProtocol { + CONST_VTBL IBindProtocolVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindProtocol_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindProtocol_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindProtocol_Release(This) (This)->lpVtbl->Release(This) +/*** IBindProtocol methods ***/ +#define IBindProtocol_CreateBinding(This,szUrl,pbc,ppb) (This)->lpVtbl->CreateBinding(This,szUrl,pbc,ppb) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindProtocol_QueryInterface(IBindProtocol* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindProtocol_AddRef(IBindProtocol* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindProtocol_Release(IBindProtocol* This) { + return This->lpVtbl->Release(This); +} +/*** IBindProtocol methods ***/ +static FORCEINLINE HRESULT IBindProtocol_CreateBinding(IBindProtocol* This,LPCWSTR szUrl,IBindCtx *pbc,IBinding **ppb) { + return This->lpVtbl->CreateBinding(This,szUrl,pbc,ppb); +} +#endif +#endif + +#endif + + +#endif /* __IBindProtocol_INTERFACE_DEFINED__ */ + +#endif /* !defined _LPBINDPROTOCOL_DEFINED */ +/***************************************************************************** + * IInternetBindInfo interface + */ +#ifndef __IInternetBindInfo_INTERFACE_DEFINED__ +#define __IInternetBindInfo_INTERFACE_DEFINED__ + +typedef IInternetBindInfo *LPIINTERNETBINDINFO; +typedef enum tagBINDSTRING { + BINDSTRING_HEADERS = 1, + BINDSTRING_ACCEPT_MIMES = 2, + BINDSTRING_EXTRA_URL = 3, + BINDSTRING_LANGUAGE = 4, + BINDSTRING_USERNAME = 5, + BINDSTRING_PASSWORD = 6, + BINDSTRING_UA_PIXELS = 7, + BINDSTRING_UA_COLOR = 8, + BINDSTRING_OS = 9, + BINDSTRING_USER_AGENT = 10, + BINDSTRING_ACCEPT_ENCODINGS = 11, + BINDSTRING_POST_COOKIE = 12, + BINDSTRING_POST_DATA_MIME = 13, + BINDSTRING_URL = 14, + BINDSTRING_IID = 15, + BINDSTRING_FLAG_BIND_TO_OBJECT = 16, + BINDSTRING_PTR_BIND_CONTEXT = 17, + BINDSTRING_XDR_ORIGIN = 18, + BINDSTRING_DOWNLOADPATH = 19, + BINDSTRING_ROOTDOC_URL = 20, + BINDSTRING_INITIAL_FILENAME = 21, + BINDSTRING_PROXY_USERNAME = 22, + BINDSTRING_PROXY_PASSWORD = 23, + BINDSTRING_ENTERPRISE_ID = 24 +} BINDSTRING; +DEFINE_GUID(IID_IInternetBindInfo, 0x79eac9e1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9e1-baf9-11ce-8c82-00aa004ba90b") +IInternetBindInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetBindInfo( + DWORD *grfBINDF, + BINDINFO *pbindinfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBindString( + ULONG ulStringType, + LPOLESTR *ppwzStr, + ULONG cEl, + ULONG *pcElFetched) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetBindInfo, 0x79eac9e1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetBindInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetBindInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetBindInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetBindInfo *This); + + /*** IInternetBindInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBindInfo)( + IInternetBindInfo *This, + DWORD *grfBINDF, + BINDINFO *pbindinfo); + + HRESULT (STDMETHODCALLTYPE *GetBindString)( + IInternetBindInfo *This, + ULONG ulStringType, + LPOLESTR *ppwzStr, + ULONG cEl, + ULONG *pcElFetched); + + END_INTERFACE +} IInternetBindInfoVtbl; + +interface IInternetBindInfo { + CONST_VTBL IInternetBindInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetBindInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetBindInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetBindInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetBindInfo methods ***/ +#define IInternetBindInfo_GetBindInfo(This,grfBINDF,pbindinfo) (This)->lpVtbl->GetBindInfo(This,grfBINDF,pbindinfo) +#define IInternetBindInfo_GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched) (This)->lpVtbl->GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetBindInfo_QueryInterface(IInternetBindInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetBindInfo_AddRef(IInternetBindInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetBindInfo_Release(IInternetBindInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetBindInfo methods ***/ +static FORCEINLINE HRESULT IInternetBindInfo_GetBindInfo(IInternetBindInfo* This,DWORD *grfBINDF,BINDINFO *pbindinfo) { + return This->lpVtbl->GetBindInfo(This,grfBINDF,pbindinfo); +} +static FORCEINLINE HRESULT IInternetBindInfo_GetBindString(IInternetBindInfo* This,ULONG ulStringType,LPOLESTR *ppwzStr,ULONG cEl,ULONG *pcElFetched) { + return This->lpVtbl->GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched); +} +#endif +#endif + +#endif + + +#endif /* __IInternetBindInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetPriority interface + */ +#ifndef __IInternetPriority_INTERFACE_DEFINED__ +#define __IInternetPriority_INTERFACE_DEFINED__ + +typedef IInternetPriority *LPIINTERNETPRIORITY; +DEFINE_GUID(IID_IInternetPriority, 0x79eac9eb, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9eb-baf9-11ce-8c82-00aa004ba90b") +IInternetPriority : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetPriority( + LONG nPriority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPriority( + LONG *pnPriority) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetPriority, 0x79eac9eb, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetPriorityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetPriority *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetPriority *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetPriority *This); + + /*** IInternetPriority methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPriority)( + IInternetPriority *This, + LONG nPriority); + + HRESULT (STDMETHODCALLTYPE *GetPriority)( + IInternetPriority *This, + LONG *pnPriority); + + END_INTERFACE +} IInternetPriorityVtbl; + +interface IInternetPriority { + CONST_VTBL IInternetPriorityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetPriority_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetPriority_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetPriority_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetPriority methods ***/ +#define IInternetPriority_SetPriority(This,nPriority) (This)->lpVtbl->SetPriority(This,nPriority) +#define IInternetPriority_GetPriority(This,pnPriority) (This)->lpVtbl->GetPriority(This,pnPriority) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetPriority_QueryInterface(IInternetPriority* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetPriority_AddRef(IInternetPriority* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetPriority_Release(IInternetPriority* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetPriority methods ***/ +static FORCEINLINE HRESULT IInternetPriority_SetPriority(IInternetPriority* This,LONG nPriority) { + return This->lpVtbl->SetPriority(This,nPriority); +} +static FORCEINLINE HRESULT IInternetPriority_GetPriority(IInternetPriority* This,LONG *pnPriority) { + return This->lpVtbl->GetPriority(This,pnPriority); +} +#endif +#endif + +#endif + + +#endif /* __IInternetPriority_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetProtocolRoot interface + */ +#ifndef __IInternetProtocolRoot_INTERFACE_DEFINED__ +#define __IInternetProtocolRoot_INTERFACE_DEFINED__ + +typedef IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT; +typedef enum _tagPI_FLAGS { + PI_PARSE_URL = 0x1, + PI_FILTER_MODE = 0x2, + PI_FORCE_ASYNC = 0x4, + PI_USE_WORKERTHREAD = 0x8, + PI_MIMEVERIFICATION = 0x10, + PI_CLSIDLOOKUP = 0x20, + PI_DATAPROGRESS = 0x40, + PI_SYNCHRONOUS = 0x80, + PI_APARTMENTTHREADED = 0x100, + PI_CLASSINSTALL = 0x200, + PD_FORCE_SWITCH = 0x10000 +} PI_FLAGS; +typedef struct _tagPROTOCOLDATA { + DWORD grfFlags; + DWORD dwState; + LPVOID pData; + ULONG cbData; +} PROTOCOLDATA; +DEFINE_GUID(IID_IInternetProtocolRoot, 0x79eac9e3, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9e3-baf9-11ce-8c82-00aa004ba90b") +IInternetProtocolRoot : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Start( + LPCWSTR szUrl, + IInternetProtocolSink *pOIProtSink, + IInternetBindInfo *pOIBindInfo, + DWORD grfPI, + HANDLE_PTR dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE Continue( + PROTOCOLDATA *pProtocolData) = 0; + + virtual HRESULT STDMETHODCALLTYPE Abort( + HRESULT hrReason, + DWORD dwOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE Terminate( + DWORD dwOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE Suspend( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetProtocolRoot, 0x79eac9e3, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetProtocolRootVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetProtocolRoot *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetProtocolRoot *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetProtocolRoot *This); + + /*** IInternetProtocolRoot methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IInternetProtocolRoot *This, + LPCWSTR szUrl, + IInternetProtocolSink *pOIProtSink, + IInternetBindInfo *pOIBindInfo, + DWORD grfPI, + HANDLE_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *Continue)( + IInternetProtocolRoot *This, + PROTOCOLDATA *pProtocolData); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IInternetProtocolRoot *This, + HRESULT hrReason, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + IInternetProtocolRoot *This, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IInternetProtocolRoot *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IInternetProtocolRoot *This); + + END_INTERFACE +} IInternetProtocolRootVtbl; + +interface IInternetProtocolRoot { + CONST_VTBL IInternetProtocolRootVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetProtocolRoot_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetProtocolRoot_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetProtocolRoot_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetProtocolRoot methods ***/ +#define IInternetProtocolRoot_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) (This)->lpVtbl->Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) +#define IInternetProtocolRoot_Continue(This,pProtocolData) (This)->lpVtbl->Continue(This,pProtocolData) +#define IInternetProtocolRoot_Abort(This,hrReason,dwOptions) (This)->lpVtbl->Abort(This,hrReason,dwOptions) +#define IInternetProtocolRoot_Terminate(This,dwOptions) (This)->lpVtbl->Terminate(This,dwOptions) +#define IInternetProtocolRoot_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IInternetProtocolRoot_Resume(This) (This)->lpVtbl->Resume(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetProtocolRoot_QueryInterface(IInternetProtocolRoot* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetProtocolRoot_AddRef(IInternetProtocolRoot* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetProtocolRoot_Release(IInternetProtocolRoot* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetProtocolRoot methods ***/ +static FORCEINLINE HRESULT IInternetProtocolRoot_Start(IInternetProtocolRoot* This,LPCWSTR szUrl,IInternetProtocolSink *pOIProtSink,IInternetBindInfo *pOIBindInfo,DWORD grfPI,HANDLE_PTR dwReserved) { + return This->lpVtbl->Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved); +} +static FORCEINLINE HRESULT IInternetProtocolRoot_Continue(IInternetProtocolRoot* This,PROTOCOLDATA *pProtocolData) { + return This->lpVtbl->Continue(This,pProtocolData); +} +static FORCEINLINE HRESULT IInternetProtocolRoot_Abort(IInternetProtocolRoot* This,HRESULT hrReason,DWORD dwOptions) { + return This->lpVtbl->Abort(This,hrReason,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocolRoot_Terminate(IInternetProtocolRoot* This,DWORD dwOptions) { + return This->lpVtbl->Terminate(This,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocolRoot_Suspend(IInternetProtocolRoot* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IInternetProtocolRoot_Resume(IInternetProtocolRoot* This) { + return This->lpVtbl->Resume(This); +} +#endif +#endif + +#endif + + +#endif /* __IInternetProtocolRoot_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetProtocolSink interface + */ +#ifndef __IInternetProtocolSink_INTERFACE_DEFINED__ +#define __IInternetProtocolSink_INTERFACE_DEFINED__ + +typedef IInternetProtocolSink *LPIINTERNETPROTOCOLSINK; +DEFINE_GUID(IID_IInternetProtocolSink, 0x79eac9e5, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9e5-baf9-11ce-8c82-00aa004ba90b") +IInternetProtocolSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Switch( + PROTOCOLDATA *pProtocolData) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReportProgress( + ULONG ulStatusCode, + LPCWSTR szStatusText) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReportData( + DWORD grfBSCF, + ULONG ulProgress, + ULONG ulProgressMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReportResult( + HRESULT hrResult, + DWORD dwError, + LPCWSTR szResult) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetProtocolSink, 0x79eac9e5, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetProtocolSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetProtocolSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetProtocolSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetProtocolSink *This); + + /*** IInternetProtocolSink methods ***/ + HRESULT (STDMETHODCALLTYPE *Switch)( + IInternetProtocolSink *This, + PROTOCOLDATA *pProtocolData); + + HRESULT (STDMETHODCALLTYPE *ReportProgress)( + IInternetProtocolSink *This, + ULONG ulStatusCode, + LPCWSTR szStatusText); + + HRESULT (STDMETHODCALLTYPE *ReportData)( + IInternetProtocolSink *This, + DWORD grfBSCF, + ULONG ulProgress, + ULONG ulProgressMax); + + HRESULT (STDMETHODCALLTYPE *ReportResult)( + IInternetProtocolSink *This, + HRESULT hrResult, + DWORD dwError, + LPCWSTR szResult); + + END_INTERFACE +} IInternetProtocolSinkVtbl; + +interface IInternetProtocolSink { + CONST_VTBL IInternetProtocolSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetProtocolSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetProtocolSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetProtocolSink_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetProtocolSink methods ***/ +#define IInternetProtocolSink_Switch(This,pProtocolData) (This)->lpVtbl->Switch(This,pProtocolData) +#define IInternetProtocolSink_ReportProgress(This,ulStatusCode,szStatusText) (This)->lpVtbl->ReportProgress(This,ulStatusCode,szStatusText) +#define IInternetProtocolSink_ReportData(This,grfBSCF,ulProgress,ulProgressMax) (This)->lpVtbl->ReportData(This,grfBSCF,ulProgress,ulProgressMax) +#define IInternetProtocolSink_ReportResult(This,hrResult,dwError,szResult) (This)->lpVtbl->ReportResult(This,hrResult,dwError,szResult) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetProtocolSink_QueryInterface(IInternetProtocolSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetProtocolSink_AddRef(IInternetProtocolSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetProtocolSink_Release(IInternetProtocolSink* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetProtocolSink methods ***/ +static FORCEINLINE HRESULT IInternetProtocolSink_Switch(IInternetProtocolSink* This,PROTOCOLDATA *pProtocolData) { + return This->lpVtbl->Switch(This,pProtocolData); +} +static FORCEINLINE HRESULT IInternetProtocolSink_ReportProgress(IInternetProtocolSink* This,ULONG ulStatusCode,LPCWSTR szStatusText) { + return This->lpVtbl->ReportProgress(This,ulStatusCode,szStatusText); +} +static FORCEINLINE HRESULT IInternetProtocolSink_ReportData(IInternetProtocolSink* This,DWORD grfBSCF,ULONG ulProgress,ULONG ulProgressMax) { + return This->lpVtbl->ReportData(This,grfBSCF,ulProgress,ulProgressMax); +} +static FORCEINLINE HRESULT IInternetProtocolSink_ReportResult(IInternetProtocolSink* This,HRESULT hrResult,DWORD dwError,LPCWSTR szResult) { + return This->lpVtbl->ReportResult(This,hrResult,dwError,szResult); +} +#endif +#endif + +#endif + + +#endif /* __IInternetProtocolSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetProtocol interface + */ +#ifndef __IInternetProtocol_INTERFACE_DEFINED__ +#define __IInternetProtocol_INTERFACE_DEFINED__ + +typedef IInternetProtocol *LPIINTERNETPROTOCOL; +DEFINE_GUID(IID_IInternetProtocol, 0x79eac9e4, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9e4-baf9-11ce-8c82-00aa004ba90b") +IInternetProtocol : public IInternetProtocolRoot +{ + virtual HRESULT STDMETHODCALLTYPE Read( + void *pv, + ULONG cb, + ULONG *pcbRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE Seek( + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockRequest( + DWORD dwOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnlockRequest( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetProtocol, 0x79eac9e4, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetProtocolVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetProtocol *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetProtocol *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetProtocol *This); + + /*** IInternetProtocolRoot methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IInternetProtocol *This, + LPCWSTR szUrl, + IInternetProtocolSink *pOIProtSink, + IInternetBindInfo *pOIBindInfo, + DWORD grfPI, + HANDLE_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *Continue)( + IInternetProtocol *This, + PROTOCOLDATA *pProtocolData); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IInternetProtocol *This, + HRESULT hrReason, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + IInternetProtocol *This, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IInternetProtocol *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IInternetProtocol *This); + + /*** IInternetProtocol methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IInternetProtocol *This, + void *pv, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Seek)( + IInternetProtocol *This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); + + HRESULT (STDMETHODCALLTYPE *LockRequest)( + IInternetProtocol *This, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *UnlockRequest)( + IInternetProtocol *This); + + END_INTERFACE +} IInternetProtocolVtbl; + +interface IInternetProtocol { + CONST_VTBL IInternetProtocolVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetProtocol_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetProtocol_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetProtocol_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetProtocolRoot methods ***/ +#define IInternetProtocol_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) (This)->lpVtbl->Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) +#define IInternetProtocol_Continue(This,pProtocolData) (This)->lpVtbl->Continue(This,pProtocolData) +#define IInternetProtocol_Abort(This,hrReason,dwOptions) (This)->lpVtbl->Abort(This,hrReason,dwOptions) +#define IInternetProtocol_Terminate(This,dwOptions) (This)->lpVtbl->Terminate(This,dwOptions) +#define IInternetProtocol_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IInternetProtocol_Resume(This) (This)->lpVtbl->Resume(This) +/*** IInternetProtocol methods ***/ +#define IInternetProtocol_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) +#define IInternetProtocol_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition) +#define IInternetProtocol_LockRequest(This,dwOptions) (This)->lpVtbl->LockRequest(This,dwOptions) +#define IInternetProtocol_UnlockRequest(This) (This)->lpVtbl->UnlockRequest(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetProtocol_QueryInterface(IInternetProtocol* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetProtocol_AddRef(IInternetProtocol* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetProtocol_Release(IInternetProtocol* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetProtocolRoot methods ***/ +static FORCEINLINE HRESULT IInternetProtocol_Start(IInternetProtocol* This,LPCWSTR szUrl,IInternetProtocolSink *pOIProtSink,IInternetBindInfo *pOIBindInfo,DWORD grfPI,HANDLE_PTR dwReserved) { + return This->lpVtbl->Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved); +} +static FORCEINLINE HRESULT IInternetProtocol_Continue(IInternetProtocol* This,PROTOCOLDATA *pProtocolData) { + return This->lpVtbl->Continue(This,pProtocolData); +} +static FORCEINLINE HRESULT IInternetProtocol_Abort(IInternetProtocol* This,HRESULT hrReason,DWORD dwOptions) { + return This->lpVtbl->Abort(This,hrReason,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocol_Terminate(IInternetProtocol* This,DWORD dwOptions) { + return This->lpVtbl->Terminate(This,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocol_Suspend(IInternetProtocol* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IInternetProtocol_Resume(IInternetProtocol* This) { + return This->lpVtbl->Resume(This); +} +/*** IInternetProtocol methods ***/ +static FORCEINLINE HRESULT IInternetProtocol_Read(IInternetProtocol* This,void *pv,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->Read(This,pv,cb,pcbRead); +} +static FORCEINLINE HRESULT IInternetProtocol_Seek(IInternetProtocol* This,LARGE_INTEGER dlibMove,DWORD dwOrigin,ULARGE_INTEGER *plibNewPosition) { + return This->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition); +} +static FORCEINLINE HRESULT IInternetProtocol_LockRequest(IInternetProtocol* This,DWORD dwOptions) { + return This->lpVtbl->LockRequest(This,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocol_UnlockRequest(IInternetProtocol* This) { + return This->lpVtbl->UnlockRequest(This); +} +#endif +#endif + +#endif + + +#endif /* __IInternetProtocol_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetProtocolInfo interface + */ +#ifndef __IInternetProtocolInfo_INTERFACE_DEFINED__ +#define __IInternetProtocolInfo_INTERFACE_DEFINED__ + +typedef IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO; +typedef enum _tagPARSEACTION { + PARSE_CANONICALIZE = 1, + PARSE_FRIENDLY = 2, + PARSE_SECURITY_URL = 3, + PARSE_ROOTDOCUMENT = 4, + PARSE_DOCUMENT = 5, + PARSE_ANCHOR = 6, + PARSE_ENCODE = 7, + PARSE_DECODE = 8, + PARSE_PATH_FROM_URL = 9, + PARSE_URL_FROM_PATH = 10, + PARSE_MIME = 11, + PARSE_SERVER = 12, + PARSE_SCHEMA = 13, + PARSE_SITE = 14, + PARSE_DOMAIN = 15, + PARSE_LOCATION = 16, + PARSE_SECURITY_DOMAIN = 17, + PARSE_ESCAPE = 18, + PARSE_UNESCAPE = 19 +} PARSEACTION; +typedef enum _tagPSUACTION { + PSU_DEFAULT = 1, + PSU_SECURITY_URL_ONLY = 2 +} PSUACTION; +typedef enum _tagQUERYOPTION { + QUERY_EXPIRATION_DATE = 1, + QUERY_TIME_OF_LAST_CHANGE = 2, + QUERY_CONTENT_ENCODING = 3, + QUERY_CONTENT_TYPE = 4, + QUERY_REFRESH = 5, + QUERY_RECOMBINE = 6, + QUERY_CAN_NAVIGATE = 7, + QUERY_USES_NETWORK = 8, + QUERY_IS_CACHED = 9, + QUERY_IS_INSTALLEDENTRY = 10, + QUERY_IS_CACHED_OR_MAPPED = 11, + QUERY_USES_CACHE = 12, + QUERY_IS_SECURE = 13, + QUERY_IS_SAFE = 14, + QUERY_USES_HISTORYFOLDER = 15, + QUERY_IS_CACHED_AND_USABLE_OFFLINE = 16 +} QUERYOPTION; +DEFINE_GUID(IID_IInternetProtocolInfo, 0x79eac9ec, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9ec-baf9-11ce-8c82-00aa004ba90b") +IInternetProtocolInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ParseUrl( + LPCWSTR pwzUrl, + PARSEACTION ParseAction, + DWORD dwParseFlags, + LPWSTR pwzResult, + DWORD cchResult, + DWORD *pcchResult, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE CombineUrl( + LPCWSTR pwzBaseUrl, + LPCWSTR pwzRelativeUrl, + DWORD dwCombineFlags, + LPWSTR pwzResult, + DWORD cchResult, + DWORD *pcchResult, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareUrl( + LPCWSTR pwzUrl1, + LPCWSTR pwzUrl2, + DWORD dwCompareFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryInfo( + LPCWSTR pwzUrl, + QUERYOPTION OueryOption, + DWORD dwQueryFlags, + LPVOID pBuffer, + DWORD cbBuffer, + DWORD *pcbBuf, + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetProtocolInfo, 0x79eac9ec, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetProtocolInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetProtocolInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetProtocolInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetProtocolInfo *This); + + /*** IInternetProtocolInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *ParseUrl)( + IInternetProtocolInfo *This, + LPCWSTR pwzUrl, + PARSEACTION ParseAction, + DWORD dwParseFlags, + LPWSTR pwzResult, + DWORD cchResult, + DWORD *pcchResult, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *CombineUrl)( + IInternetProtocolInfo *This, + LPCWSTR pwzBaseUrl, + LPCWSTR pwzRelativeUrl, + DWORD dwCombineFlags, + LPWSTR pwzResult, + DWORD cchResult, + DWORD *pcchResult, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *CompareUrl)( + IInternetProtocolInfo *This, + LPCWSTR pwzUrl1, + LPCWSTR pwzUrl2, + DWORD dwCompareFlags); + + HRESULT (STDMETHODCALLTYPE *QueryInfo)( + IInternetProtocolInfo *This, + LPCWSTR pwzUrl, + QUERYOPTION OueryOption, + DWORD dwQueryFlags, + LPVOID pBuffer, + DWORD cbBuffer, + DWORD *pcbBuf, + DWORD dwReserved); + + END_INTERFACE +} IInternetProtocolInfoVtbl; + +interface IInternetProtocolInfo { + CONST_VTBL IInternetProtocolInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetProtocolInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetProtocolInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetProtocolInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetProtocolInfo methods ***/ +#define IInternetProtocolInfo_ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved) (This)->lpVtbl->ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved) +#define IInternetProtocolInfo_CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved) (This)->lpVtbl->CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved) +#define IInternetProtocolInfo_CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags) (This)->lpVtbl->CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags) +#define IInternetProtocolInfo_QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved) (This)->lpVtbl->QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetProtocolInfo_QueryInterface(IInternetProtocolInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetProtocolInfo_AddRef(IInternetProtocolInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetProtocolInfo_Release(IInternetProtocolInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetProtocolInfo methods ***/ +static FORCEINLINE HRESULT IInternetProtocolInfo_ParseUrl(IInternetProtocolInfo* This,LPCWSTR pwzUrl,PARSEACTION ParseAction,DWORD dwParseFlags,LPWSTR pwzResult,DWORD cchResult,DWORD *pcchResult,DWORD dwReserved) { + return This->lpVtbl->ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved); +} +static FORCEINLINE HRESULT IInternetProtocolInfo_CombineUrl(IInternetProtocolInfo* This,LPCWSTR pwzBaseUrl,LPCWSTR pwzRelativeUrl,DWORD dwCombineFlags,LPWSTR pwzResult,DWORD cchResult,DWORD *pcchResult,DWORD dwReserved) { + return This->lpVtbl->CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved); +} +static FORCEINLINE HRESULT IInternetProtocolInfo_CompareUrl(IInternetProtocolInfo* This,LPCWSTR pwzUrl1,LPCWSTR pwzUrl2,DWORD dwCompareFlags) { + return This->lpVtbl->CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags); +} +static FORCEINLINE HRESULT IInternetProtocolInfo_QueryInfo(IInternetProtocolInfo* This,LPCWSTR pwzUrl,QUERYOPTION OueryOption,DWORD dwQueryFlags,LPVOID pBuffer,DWORD cbBuffer,DWORD *pcbBuf,DWORD dwReserved) { + return This->lpVtbl->QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IInternetProtocolInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetSession interface + */ +#ifndef __IInternetSession_INTERFACE_DEFINED__ +#define __IInternetSession_INTERFACE_DEFINED__ + +typedef IInternetSession *LPIINTERNETSESSION; +typedef enum _tagOIBDG_FLAGS { + OIBDG_APARTMENTTHREADED = 0x100, + OIBDG_DATAONLY = 0x1000 +} OIBDG_FLAGS; +DEFINE_GUID(IID_IInternetSession, 0x79eac9e7, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9e7-baf9-11ce-8c82-00aa004ba90b") +IInternetSession : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterNameSpace( + IClassFactory *pCF, + REFCLSID rclsid, + LPCWSTR pwzProtocol, + ULONG cPatterns, + const LPCWSTR *ppwzPatterns, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterNameSpace( + IClassFactory *pCF, + LPCWSTR pszProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterMimeFilter( + IClassFactory *pCF, + REFCLSID rclsid, + LPCWSTR pwzType) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterMimeFilter( + IClassFactory *pCF, + LPCWSTR pwzType) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBinding( + LPBC pBC, + LPCWSTR szUrl, + IUnknown *pUnkOuter, + IUnknown **ppUnk, + IInternetProtocol **ppOInetProt, + DWORD dwOption) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSessionOption( + DWORD dwOption, + LPVOID pBuffer, + DWORD dwBufferLength, + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetSession, 0x79eac9e7, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetSession *This); + + /*** IInternetSession methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterNameSpace)( + IInternetSession *This, + IClassFactory *pCF, + REFCLSID rclsid, + LPCWSTR pwzProtocol, + ULONG cPatterns, + const LPCWSTR *ppwzPatterns, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *UnregisterNameSpace)( + IInternetSession *This, + IClassFactory *pCF, + LPCWSTR pszProtocol); + + HRESULT (STDMETHODCALLTYPE *RegisterMimeFilter)( + IInternetSession *This, + IClassFactory *pCF, + REFCLSID rclsid, + LPCWSTR pwzType); + + HRESULT (STDMETHODCALLTYPE *UnregisterMimeFilter)( + IInternetSession *This, + IClassFactory *pCF, + LPCWSTR pwzType); + + HRESULT (STDMETHODCALLTYPE *CreateBinding)( + IInternetSession *This, + LPBC pBC, + LPCWSTR szUrl, + IUnknown *pUnkOuter, + IUnknown **ppUnk, + IInternetProtocol **ppOInetProt, + DWORD dwOption); + + HRESULT (STDMETHODCALLTYPE *SetSessionOption)( + IInternetSession *This, + DWORD dwOption, + LPVOID pBuffer, + DWORD dwBufferLength, + DWORD dwReserved); + + END_INTERFACE +} IInternetSessionVtbl; + +interface IInternetSession { + CONST_VTBL IInternetSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetSession_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetSession methods ***/ +#define IInternetSession_RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved) (This)->lpVtbl->RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved) +#define IInternetSession_UnregisterNameSpace(This,pCF,pszProtocol) (This)->lpVtbl->UnregisterNameSpace(This,pCF,pszProtocol) +#define IInternetSession_RegisterMimeFilter(This,pCF,rclsid,pwzType) (This)->lpVtbl->RegisterMimeFilter(This,pCF,rclsid,pwzType) +#define IInternetSession_UnregisterMimeFilter(This,pCF,pwzType) (This)->lpVtbl->UnregisterMimeFilter(This,pCF,pwzType) +#define IInternetSession_CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption) (This)->lpVtbl->CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption) +#define IInternetSession_SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved) (This)->lpVtbl->SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetSession_QueryInterface(IInternetSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetSession_AddRef(IInternetSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetSession_Release(IInternetSession* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetSession methods ***/ +static FORCEINLINE HRESULT IInternetSession_RegisterNameSpace(IInternetSession* This,IClassFactory *pCF,REFCLSID rclsid,LPCWSTR pwzProtocol,ULONG cPatterns,const LPCWSTR *ppwzPatterns,DWORD dwReserved) { + return This->lpVtbl->RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved); +} +static FORCEINLINE HRESULT IInternetSession_UnregisterNameSpace(IInternetSession* This,IClassFactory *pCF,LPCWSTR pszProtocol) { + return This->lpVtbl->UnregisterNameSpace(This,pCF,pszProtocol); +} +static FORCEINLINE HRESULT IInternetSession_RegisterMimeFilter(IInternetSession* This,IClassFactory *pCF,REFCLSID rclsid,LPCWSTR pwzType) { + return This->lpVtbl->RegisterMimeFilter(This,pCF,rclsid,pwzType); +} +static FORCEINLINE HRESULT IInternetSession_UnregisterMimeFilter(IInternetSession* This,IClassFactory *pCF,LPCWSTR pwzType) { + return This->lpVtbl->UnregisterMimeFilter(This,pCF,pwzType); +} +static FORCEINLINE HRESULT IInternetSession_CreateBinding(IInternetSession* This,LPBC pBC,LPCWSTR szUrl,IUnknown *pUnkOuter,IUnknown **ppUnk,IInternetProtocol **ppOInetProt,DWORD dwOption) { + return This->lpVtbl->CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption); +} +static FORCEINLINE HRESULT IInternetSession_SetSessionOption(IInternetSession* This,DWORD dwOption,LPVOID pBuffer,DWORD dwBufferLength,DWORD dwReserved) { + return This->lpVtbl->SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IInternetSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetSecurityMgrSite interface + */ +#ifndef __IInternetSecurityMgrSite_INTERFACE_DEFINED__ +#define __IInternetSecurityMgrSite_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetSecurityMgrSite, 0x79eac9ed, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9ed-baf9-11ce-8c82-00aa004ba90b") +IInternetSecurityMgrSite : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetWindow( + HWND *phwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableModeless( + BOOL fEnable) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetSecurityMgrSite, 0x79eac9ed, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetSecurityMgrSiteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetSecurityMgrSite *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetSecurityMgrSite *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetSecurityMgrSite *This); + + /*** IInternetSecurityMgrSite methods ***/ + HRESULT (STDMETHODCALLTYPE *GetWindow)( + IInternetSecurityMgrSite *This, + HWND *phwnd); + + HRESULT (STDMETHODCALLTYPE *EnableModeless)( + IInternetSecurityMgrSite *This, + BOOL fEnable); + + END_INTERFACE +} IInternetSecurityMgrSiteVtbl; + +interface IInternetSecurityMgrSite { + CONST_VTBL IInternetSecurityMgrSiteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetSecurityMgrSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetSecurityMgrSite_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetSecurityMgrSite_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetSecurityMgrSite methods ***/ +#define IInternetSecurityMgrSite_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd) +#define IInternetSecurityMgrSite_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetSecurityMgrSite_QueryInterface(IInternetSecurityMgrSite* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetSecurityMgrSite_AddRef(IInternetSecurityMgrSite* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetSecurityMgrSite_Release(IInternetSecurityMgrSite* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetSecurityMgrSite methods ***/ +static FORCEINLINE HRESULT IInternetSecurityMgrSite_GetWindow(IInternetSecurityMgrSite* This,HWND *phwnd) { + return This->lpVtbl->GetWindow(This,phwnd); +} +static FORCEINLINE HRESULT IInternetSecurityMgrSite_EnableModeless(IInternetSecurityMgrSite* This,BOOL fEnable) { + return This->lpVtbl->EnableModeless(This,fEnable); +} +#endif +#endif + +#endif + + +#endif /* __IInternetSecurityMgrSite_INTERFACE_DEFINED__ */ + +#define SID_SInternetSecurityManager IID_IInternetSecurityManager +/***************************************************************************** + * IInternetSecurityManager interface + */ +#ifndef __IInternetSecurityManager_INTERFACE_DEFINED__ +#define __IInternetSecurityManager_INTERFACE_DEFINED__ + +#define MAX_SIZE_SECURITY_ID 512 +typedef enum __WIDL_urlmon_generated_name_0000000B { + PUAF_DEFAULT = 0x0, + PUAF_NOUI = 0x1, + PUAF_ISFILE = 0x2, + PUAF_WARN_IF_DENIED = 0x4, + PUAF_FORCEUI_FOREGROUND = 0x8, + PUAF_CHECK_TIPS = 0x10 +} PUAF; +typedef enum __WIDL_urlmon_generated_name_0000000C { + SZM_CREATE = 0x0, + SZM_DELETE = 0x1 +} SZM_FLAGS; +DEFINE_GUID(IID_IInternetSecurityManager, 0x79eac9ee, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9ee-baf9-11ce-8c82-00aa004ba90b") +IInternetSecurityManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetSecuritySite( + IInternetSecurityMgrSite *pSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecuritySite( + IInternetSecurityMgrSite **ppSite) = 0; + + virtual HRESULT STDMETHODCALLTYPE MapUrlToZone( + LPCWSTR pwszUrl, + DWORD *pdwZone, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecurityId( + LPCWSTR pwszUrl, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction( + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy( + LPCWSTR pwszUrl, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZoneMapping( + DWORD dwZone, + LPCWSTR lpszPattern, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZoneMappings( + DWORD dwZone, + IEnumString **ppenumString, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetSecurityManager, 0x79eac9ee, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetSecurityManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetSecurityManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetSecurityManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetSecurityManager *This); + + /*** IInternetSecurityManager methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSecuritySite)( + IInternetSecurityManager *This, + IInternetSecurityMgrSite *pSite); + + HRESULT (STDMETHODCALLTYPE *GetSecuritySite)( + IInternetSecurityManager *This, + IInternetSecurityMgrSite **ppSite); + + HRESULT (STDMETHODCALLTYPE *MapUrlToZone)( + IInternetSecurityManager *This, + LPCWSTR pwszUrl, + DWORD *pdwZone, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetSecurityId)( + IInternetSecurityManager *This, + LPCWSTR pwszUrl, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *ProcessUrlAction)( + IInternetSecurityManager *This, + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *QueryCustomPolicy)( + IInternetSecurityManager *This, + LPCWSTR pwszUrl, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *SetZoneMapping)( + IInternetSecurityManager *This, + DWORD dwZone, + LPCWSTR lpszPattern, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneMappings)( + IInternetSecurityManager *This, + DWORD dwZone, + IEnumString **ppenumString, + DWORD dwFlags); + + END_INTERFACE +} IInternetSecurityManagerVtbl; + +interface IInternetSecurityManager { + CONST_VTBL IInternetSecurityManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetSecurityManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetSecurityManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetSecurityManager_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetSecurityManager methods ***/ +#define IInternetSecurityManager_SetSecuritySite(This,pSite) (This)->lpVtbl->SetSecuritySite(This,pSite) +#define IInternetSecurityManager_GetSecuritySite(This,ppSite) (This)->lpVtbl->GetSecuritySite(This,ppSite) +#define IInternetSecurityManager_MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) (This)->lpVtbl->MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) +#define IInternetSecurityManager_GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) (This)->lpVtbl->GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) +#define IInternetSecurityManager_ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) (This)->lpVtbl->ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) +#define IInternetSecurityManager_QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) (This)->lpVtbl->QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) +#define IInternetSecurityManager_SetZoneMapping(This,dwZone,lpszPattern,dwFlags) (This)->lpVtbl->SetZoneMapping(This,dwZone,lpszPattern,dwFlags) +#define IInternetSecurityManager_GetZoneMappings(This,dwZone,ppenumString,dwFlags) (This)->lpVtbl->GetZoneMappings(This,dwZone,ppenumString,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManager_QueryInterface(IInternetSecurityManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetSecurityManager_AddRef(IInternetSecurityManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetSecurityManager_Release(IInternetSecurityManager* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetSecurityManager methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManager_SetSecuritySite(IInternetSecurityManager* This,IInternetSecurityMgrSite *pSite) { + return This->lpVtbl->SetSecuritySite(This,pSite); +} +static FORCEINLINE HRESULT IInternetSecurityManager_GetSecuritySite(IInternetSecurityManager* This,IInternetSecurityMgrSite **ppSite) { + return This->lpVtbl->GetSecuritySite(This,ppSite); +} +static FORCEINLINE HRESULT IInternetSecurityManager_MapUrlToZone(IInternetSecurityManager* This,LPCWSTR pwszUrl,DWORD *pdwZone,DWORD dwFlags) { + return This->lpVtbl->MapUrlToZone(This,pwszUrl,pdwZone,dwFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManager_GetSecurityId(IInternetSecurityManager* This,LPCWSTR pwszUrl,BYTE *pbSecurityId,DWORD *pcbSecurityId,DWORD_PTR dwReserved) { + return This->lpVtbl->GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManager_ProcessUrlAction(IInternetSecurityManager* This,LPCWSTR pwszUrl,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD dwReserved) { + return This->lpVtbl->ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManager_QueryCustomPolicy(IInternetSecurityManager* This,LPCWSTR pwszUrl,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwReserved) { + return This->lpVtbl->QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManager_SetZoneMapping(IInternetSecurityManager* This,DWORD dwZone,LPCWSTR lpszPattern,DWORD dwFlags) { + return This->lpVtbl->SetZoneMapping(This,dwZone,lpszPattern,dwFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManager_GetZoneMappings(IInternetSecurityManager* This,DWORD dwZone,IEnumString **ppenumString,DWORD dwFlags) { + return This->lpVtbl->GetZoneMappings(This,dwZone,ppenumString,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IInternetSecurityManager_INTERFACE_DEFINED__ */ + +#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx +/***************************************************************************** + * IInternetSecurityManagerEx interface + */ +#ifndef __IInternetSecurityManagerEx_INTERFACE_DEFINED__ +#define __IInternetSecurityManagerEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetSecurityManagerEx, 0xf164edf1, 0xcc7c, 0x4f0d, 0x9a,0x94, 0x34,0x22,0x26,0x25,0xc3,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f164edf1-cc7c-4f0d-9a94-34222625c393") +IInternetSecurityManagerEx : public IInternetSecurityManager +{ + virtual HRESULT STDMETHODCALLTYPE ProcessUrlActionEx( + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved, + DWORD *pdwOutFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetSecurityManagerEx, 0xf164edf1, 0xcc7c, 0x4f0d, 0x9a,0x94, 0x34,0x22,0x26,0x25,0xc3,0x93) +#endif +#else +typedef struct IInternetSecurityManagerExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetSecurityManagerEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetSecurityManagerEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetSecurityManagerEx *This); + + /*** IInternetSecurityManager methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSecuritySite)( + IInternetSecurityManagerEx *This, + IInternetSecurityMgrSite *pSite); + + HRESULT (STDMETHODCALLTYPE *GetSecuritySite)( + IInternetSecurityManagerEx *This, + IInternetSecurityMgrSite **ppSite); + + HRESULT (STDMETHODCALLTYPE *MapUrlToZone)( + IInternetSecurityManagerEx *This, + LPCWSTR pwszUrl, + DWORD *pdwZone, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetSecurityId)( + IInternetSecurityManagerEx *This, + LPCWSTR pwszUrl, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *ProcessUrlAction)( + IInternetSecurityManagerEx *This, + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *QueryCustomPolicy)( + IInternetSecurityManagerEx *This, + LPCWSTR pwszUrl, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *SetZoneMapping)( + IInternetSecurityManagerEx *This, + DWORD dwZone, + LPCWSTR lpszPattern, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneMappings)( + IInternetSecurityManagerEx *This, + DWORD dwZone, + IEnumString **ppenumString, + DWORD dwFlags); + + /*** IInternetSecurityManagerEx methods ***/ + HRESULT (STDMETHODCALLTYPE *ProcessUrlActionEx)( + IInternetSecurityManagerEx *This, + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved, + DWORD *pdwOutFlags); + + END_INTERFACE +} IInternetSecurityManagerExVtbl; + +interface IInternetSecurityManagerEx { + CONST_VTBL IInternetSecurityManagerExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetSecurityManagerEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetSecurityManagerEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetSecurityManagerEx_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetSecurityManager methods ***/ +#define IInternetSecurityManagerEx_SetSecuritySite(This,pSite) (This)->lpVtbl->SetSecuritySite(This,pSite) +#define IInternetSecurityManagerEx_GetSecuritySite(This,ppSite) (This)->lpVtbl->GetSecuritySite(This,ppSite) +#define IInternetSecurityManagerEx_MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) (This)->lpVtbl->MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) +#define IInternetSecurityManagerEx_GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) (This)->lpVtbl->GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) +#define IInternetSecurityManagerEx_ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) (This)->lpVtbl->ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) +#define IInternetSecurityManagerEx_QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) (This)->lpVtbl->QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) +#define IInternetSecurityManagerEx_SetZoneMapping(This,dwZone,lpszPattern,dwFlags) (This)->lpVtbl->SetZoneMapping(This,dwZone,lpszPattern,dwFlags) +#define IInternetSecurityManagerEx_GetZoneMappings(This,dwZone,ppenumString,dwFlags) (This)->lpVtbl->GetZoneMappings(This,dwZone,ppenumString,dwFlags) +/*** IInternetSecurityManagerEx methods ***/ +#define IInternetSecurityManagerEx_ProcessUrlActionEx(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags) (This)->lpVtbl->ProcessUrlActionEx(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx_QueryInterface(IInternetSecurityManagerEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetSecurityManagerEx_AddRef(IInternetSecurityManagerEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetSecurityManagerEx_Release(IInternetSecurityManagerEx* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetSecurityManager methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx_SetSecuritySite(IInternetSecurityManagerEx* This,IInternetSecurityMgrSite *pSite) { + return This->lpVtbl->SetSecuritySite(This,pSite); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_GetSecuritySite(IInternetSecurityManagerEx* This,IInternetSecurityMgrSite **ppSite) { + return This->lpVtbl->GetSecuritySite(This,ppSite); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_MapUrlToZone(IInternetSecurityManagerEx* This,LPCWSTR pwszUrl,DWORD *pdwZone,DWORD dwFlags) { + return This->lpVtbl->MapUrlToZone(This,pwszUrl,pdwZone,dwFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_GetSecurityId(IInternetSecurityManagerEx* This,LPCWSTR pwszUrl,BYTE *pbSecurityId,DWORD *pcbSecurityId,DWORD_PTR dwReserved) { + return This->lpVtbl->GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_ProcessUrlAction(IInternetSecurityManagerEx* This,LPCWSTR pwszUrl,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD dwReserved) { + return This->lpVtbl->ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_QueryCustomPolicy(IInternetSecurityManagerEx* This,LPCWSTR pwszUrl,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwReserved) { + return This->lpVtbl->QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_SetZoneMapping(IInternetSecurityManagerEx* This,DWORD dwZone,LPCWSTR lpszPattern,DWORD dwFlags) { + return This->lpVtbl->SetZoneMapping(This,dwZone,lpszPattern,dwFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx_GetZoneMappings(IInternetSecurityManagerEx* This,DWORD dwZone,IEnumString **ppenumString,DWORD dwFlags) { + return This->lpVtbl->GetZoneMappings(This,dwZone,ppenumString,dwFlags); +} +/*** IInternetSecurityManagerEx methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx_ProcessUrlActionEx(IInternetSecurityManagerEx* This,LPCWSTR pwszUrl,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD dwReserved,DWORD *pdwOutFlags) { + return This->lpVtbl->ProcessUrlActionEx(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags); +} +#endif +#endif + +#endif + + +#endif /* __IInternetSecurityManagerEx_INTERFACE_DEFINED__ */ + +#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2 +/***************************************************************************** + * IInternetSecurityManagerEx2 interface + */ +#ifndef __IInternetSecurityManagerEx2_INTERFACE_DEFINED__ +#define __IInternetSecurityManagerEx2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetSecurityManagerEx2, 0xf1e50292, 0xa795, 0x4117, 0x8e,0x09, 0x2b,0x56,0x0a,0x72,0xac,0x60); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f1e50292-a795-4117-8e09-2b560a72ac60") +IInternetSecurityManagerEx2 : public IInternetSecurityManagerEx +{ + virtual HRESULT STDMETHODCALLTYPE MapUrlToZoneEx2( + IUri *pUri, + DWORD *pdwZone, + DWORD dwFlags, + LPWSTR *ppwszMappedUrl, + DWORD *pdwOutFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessUrlActionEx2( + IUri *pUri, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD_PTR dwReserved, + DWORD *pdwOutFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecurityIdEx2( + IUri *pUri, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicyEx2( + IUri *pUri, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD_PTR dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetSecurityManagerEx2, 0xf1e50292, 0xa795, 0x4117, 0x8e,0x09, 0x2b,0x56,0x0a,0x72,0xac,0x60) +#endif +#else +typedef struct IInternetSecurityManagerEx2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetSecurityManagerEx2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetSecurityManagerEx2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetSecurityManagerEx2 *This); + + /*** IInternetSecurityManager methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSecuritySite)( + IInternetSecurityManagerEx2 *This, + IInternetSecurityMgrSite *pSite); + + HRESULT (STDMETHODCALLTYPE *GetSecuritySite)( + IInternetSecurityManagerEx2 *This, + IInternetSecurityMgrSite **ppSite); + + HRESULT (STDMETHODCALLTYPE *MapUrlToZone)( + IInternetSecurityManagerEx2 *This, + LPCWSTR pwszUrl, + DWORD *pdwZone, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetSecurityId)( + IInternetSecurityManagerEx2 *This, + LPCWSTR pwszUrl, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *ProcessUrlAction)( + IInternetSecurityManagerEx2 *This, + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *QueryCustomPolicy)( + IInternetSecurityManagerEx2 *This, + LPCWSTR pwszUrl, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *SetZoneMapping)( + IInternetSecurityManagerEx2 *This, + DWORD dwZone, + LPCWSTR lpszPattern, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneMappings)( + IInternetSecurityManagerEx2 *This, + DWORD dwZone, + IEnumString **ppenumString, + DWORD dwFlags); + + /*** IInternetSecurityManagerEx methods ***/ + HRESULT (STDMETHODCALLTYPE *ProcessUrlActionEx)( + IInternetSecurityManagerEx2 *This, + LPCWSTR pwszUrl, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved, + DWORD *pdwOutFlags); + + /*** IInternetSecurityManagerEx2 methods ***/ + HRESULT (STDMETHODCALLTYPE *MapUrlToZoneEx2)( + IInternetSecurityManagerEx2 *This, + IUri *pUri, + DWORD *pdwZone, + DWORD dwFlags, + LPWSTR *ppwszMappedUrl, + DWORD *pdwOutFlags); + + HRESULT (STDMETHODCALLTYPE *ProcessUrlActionEx2)( + IInternetSecurityManagerEx2 *This, + IUri *pUri, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD_PTR dwReserved, + DWORD *pdwOutFlags); + + HRESULT (STDMETHODCALLTYPE *GetSecurityIdEx2)( + IInternetSecurityManagerEx2 *This, + IUri *pUri, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *QueryCustomPolicyEx2)( + IInternetSecurityManagerEx2 *This, + IUri *pUri, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD_PTR dwReserved); + + END_INTERFACE +} IInternetSecurityManagerEx2Vtbl; + +interface IInternetSecurityManagerEx2 { + CONST_VTBL IInternetSecurityManagerEx2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetSecurityManagerEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetSecurityManagerEx2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetSecurityManagerEx2_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetSecurityManager methods ***/ +#define IInternetSecurityManagerEx2_SetSecuritySite(This,pSite) (This)->lpVtbl->SetSecuritySite(This,pSite) +#define IInternetSecurityManagerEx2_GetSecuritySite(This,ppSite) (This)->lpVtbl->GetSecuritySite(This,ppSite) +#define IInternetSecurityManagerEx2_MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) (This)->lpVtbl->MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) +#define IInternetSecurityManagerEx2_GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) (This)->lpVtbl->GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) +#define IInternetSecurityManagerEx2_ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) (This)->lpVtbl->ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) +#define IInternetSecurityManagerEx2_QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) (This)->lpVtbl->QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) +#define IInternetSecurityManagerEx2_SetZoneMapping(This,dwZone,lpszPattern,dwFlags) (This)->lpVtbl->SetZoneMapping(This,dwZone,lpszPattern,dwFlags) +#define IInternetSecurityManagerEx2_GetZoneMappings(This,dwZone,ppenumString,dwFlags) (This)->lpVtbl->GetZoneMappings(This,dwZone,ppenumString,dwFlags) +/*** IInternetSecurityManagerEx methods ***/ +#define IInternetSecurityManagerEx2_ProcessUrlActionEx(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags) (This)->lpVtbl->ProcessUrlActionEx(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags) +/*** IInternetSecurityManagerEx2 methods ***/ +#define IInternetSecurityManagerEx2_MapUrlToZoneEx2(This,pUri,pdwZone,dwFlags,ppwszMappedUrl,pdwOutFlags) (This)->lpVtbl->MapUrlToZoneEx2(This,pUri,pdwZone,dwFlags,ppwszMappedUrl,pdwOutFlags) +#define IInternetSecurityManagerEx2_ProcessUrlActionEx2(This,pUri,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags) (This)->lpVtbl->ProcessUrlActionEx2(This,pUri,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags) +#define IInternetSecurityManagerEx2_GetSecurityIdEx2(This,pUri,pbSecurityId,pcbSecurityId,dwReserved) (This)->lpVtbl->GetSecurityIdEx2(This,pUri,pbSecurityId,pcbSecurityId,dwReserved) +#define IInternetSecurityManagerEx2_QueryCustomPolicyEx2(This,pUri,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) (This)->lpVtbl->QueryCustomPolicyEx2(This,pUri,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_QueryInterface(IInternetSecurityManagerEx2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetSecurityManagerEx2_AddRef(IInternetSecurityManagerEx2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetSecurityManagerEx2_Release(IInternetSecurityManagerEx2* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetSecurityManager methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_SetSecuritySite(IInternetSecurityManagerEx2* This,IInternetSecurityMgrSite *pSite) { + return This->lpVtbl->SetSecuritySite(This,pSite); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_GetSecuritySite(IInternetSecurityManagerEx2* This,IInternetSecurityMgrSite **ppSite) { + return This->lpVtbl->GetSecuritySite(This,ppSite); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_MapUrlToZone(IInternetSecurityManagerEx2* This,LPCWSTR pwszUrl,DWORD *pdwZone,DWORD dwFlags) { + return This->lpVtbl->MapUrlToZone(This,pwszUrl,pdwZone,dwFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_GetSecurityId(IInternetSecurityManagerEx2* This,LPCWSTR pwszUrl,BYTE *pbSecurityId,DWORD *pcbSecurityId,DWORD_PTR dwReserved) { + return This->lpVtbl->GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_ProcessUrlAction(IInternetSecurityManagerEx2* This,LPCWSTR pwszUrl,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD dwReserved) { + return This->lpVtbl->ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_QueryCustomPolicy(IInternetSecurityManagerEx2* This,LPCWSTR pwszUrl,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwReserved) { + return This->lpVtbl->QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_SetZoneMapping(IInternetSecurityManagerEx2* This,DWORD dwZone,LPCWSTR lpszPattern,DWORD dwFlags) { + return This->lpVtbl->SetZoneMapping(This,dwZone,lpszPattern,dwFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_GetZoneMappings(IInternetSecurityManagerEx2* This,DWORD dwZone,IEnumString **ppenumString,DWORD dwFlags) { + return This->lpVtbl->GetZoneMappings(This,dwZone,ppenumString,dwFlags); +} +/*** IInternetSecurityManagerEx methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_ProcessUrlActionEx(IInternetSecurityManagerEx2* This,LPCWSTR pwszUrl,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD dwReserved,DWORD *pdwOutFlags) { + return This->lpVtbl->ProcessUrlActionEx(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags); +} +/*** IInternetSecurityManagerEx2 methods ***/ +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_MapUrlToZoneEx2(IInternetSecurityManagerEx2* This,IUri *pUri,DWORD *pdwZone,DWORD dwFlags,LPWSTR *ppwszMappedUrl,DWORD *pdwOutFlags) { + return This->lpVtbl->MapUrlToZoneEx2(This,pUri,pdwZone,dwFlags,ppwszMappedUrl,pdwOutFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_ProcessUrlActionEx2(IInternetSecurityManagerEx2* This,IUri *pUri,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD_PTR dwReserved,DWORD *pdwOutFlags) { + return This->lpVtbl->ProcessUrlActionEx2(This,pUri,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved,pdwOutFlags); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_GetSecurityIdEx2(IInternetSecurityManagerEx2* This,IUri *pUri,BYTE *pbSecurityId,DWORD *pcbSecurityId,DWORD_PTR dwReserved) { + return This->lpVtbl->GetSecurityIdEx2(This,pUri,pbSecurityId,pcbSecurityId,dwReserved); +} +static FORCEINLINE HRESULT IInternetSecurityManagerEx2_QueryCustomPolicyEx2(IInternetSecurityManagerEx2* This,IUri *pUri,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,BYTE *pContext,DWORD cbContext,DWORD_PTR dwReserved) { + return This->lpVtbl->QueryCustomPolicyEx2(This,pUri,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IInternetSecurityManagerEx2_INTERFACE_DEFINED__ */ + +#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager +/***************************************************************************** + * IInternetHostSecurityManager interface + */ +#ifndef __IInternetHostSecurityManager_INTERFACE_DEFINED__ +#define __IInternetHostSecurityManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetHostSecurityManager, 0x3af280b6, 0xcb3f, 0x11d0, 0x89,0x1e, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3af280b6-cb3f-11d0-891e-00c04fb6bfc4") +IInternetHostSecurityManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSecurityId( + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction( + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy( + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetHostSecurityManager, 0x3af280b6, 0xcb3f, 0x11d0, 0x89,0x1e, 0x00,0xc0,0x4f,0xb6,0xbf,0xc4) +#endif +#else +typedef struct IInternetHostSecurityManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetHostSecurityManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetHostSecurityManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetHostSecurityManager *This); + + /*** IInternetHostSecurityManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSecurityId)( + IInternetHostSecurityManager *This, + BYTE *pbSecurityId, + DWORD *pcbSecurityId, + DWORD_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *ProcessUrlAction)( + IInternetHostSecurityManager *This, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwFlags, + DWORD dwReserved); + + HRESULT (STDMETHODCALLTYPE *QueryCustomPolicy)( + IInternetHostSecurityManager *This, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + BYTE *pContext, + DWORD cbContext, + DWORD dwReserved); + + END_INTERFACE +} IInternetHostSecurityManagerVtbl; + +interface IInternetHostSecurityManager { + CONST_VTBL IInternetHostSecurityManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetHostSecurityManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetHostSecurityManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetHostSecurityManager_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetHostSecurityManager methods ***/ +#define IInternetHostSecurityManager_GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved) (This)->lpVtbl->GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved) +#define IInternetHostSecurityManager_ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) (This)->lpVtbl->ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) +#define IInternetHostSecurityManager_QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) (This)->lpVtbl->QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetHostSecurityManager_QueryInterface(IInternetHostSecurityManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetHostSecurityManager_AddRef(IInternetHostSecurityManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetHostSecurityManager_Release(IInternetHostSecurityManager* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetHostSecurityManager methods ***/ +static FORCEINLINE HRESULT IInternetHostSecurityManager_GetSecurityId(IInternetHostSecurityManager* This,BYTE *pbSecurityId,DWORD *pcbSecurityId,DWORD_PTR dwReserved) { + return This->lpVtbl->GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved); +} +static FORCEINLINE HRESULT IInternetHostSecurityManager_ProcessUrlAction(IInternetHostSecurityManager* This,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwFlags,DWORD dwReserved) { + return This->lpVtbl->ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved); +} +static FORCEINLINE HRESULT IInternetHostSecurityManager_QueryCustomPolicy(IInternetHostSecurityManager* This,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,BYTE *pContext,DWORD cbContext,DWORD dwReserved) { + return This->lpVtbl->QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IInternetHostSecurityManager_INTERFACE_DEFINED__ */ + +#define URLACTION_MIN 0x00001000 +#define URLACTION_DOWNLOAD_MIN 0x00001000 +#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001 +#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004 +#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004 +#define URLACTION_DOWNLOAD_MAX 0x000011ff +#define URLACTION_ACTIVEX_MIN 0x00001200 +#define URLACTION_ACTIVEX_RUN 0x00001200 +#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000 +#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201 +#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202 +#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203 +#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401 +#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204 +#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205 +#define URLACTION_ACTIVEX_CURR_MAX 0x00001205 +#define URLACTION_ACTIVEX_MAX 0x000013ff +#define URLACTION_SCRIPT_MIN 0x00001400 +#define URLACTION_SCRIPT_RUN 0x00001400 +#define URLACTION_SCRIPT_JAVA_USE 0x00001402 +#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405 +#define URLACTION_CROSS_DOMAIN_DATA 0x00001406 +#define URLACTION_SCRIPT_PASTE 0x00001407 +#define URLACTION_SCRIPT_CURR_MAX 0x00001407 +#define URLACTION_SCRIPT_MAX 0x000015ff +#define URLACTION_HTML_MIN 0x00001600 +#define URLACTION_HTML_SUBMIT_FORMS 0x00001601 +#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602 +#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603 +#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604 +#define URLACTION_HTML_JAVA_RUN 0x00001605 +#define URLACTION_HTML_USERDATA_SAVE 0x00001606 +#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607 +#define URLACTION_HTML_META_REFRESH 0x00001608 +#define URLACTION_HTML_MIXED_CONTENT 0x00001609 +#define URLACTION_HTML_MAX 0x000017ff +#define URLACTION_SHELL_MIN 0x00001800 +#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800 +#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802 +#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803 +#define URLACTION_SHELL_VERB 0x00001804 +#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805 +#define URLACTION_SHELL_CURR_MAX 0x00001805 +#define URLACTION_SHELL_MAX 0x000019ff +#define URLACTION_NETWORK_MIN 0x00001a00 +#define URLACTION_CREDENTIALS_USE 0x00001a00 +#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01 +#define URLACTION_COOKIES 0x00001a02 +#define URLACTION_COOKIES_SESSION 0x00001a03 +#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04 +#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05 +#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06 +#define URLACTION_COOKIES_ENABLED 0x00001a10 +#define URLACTION_NETWORK_CURR_MAX 0x00001a10 +#define URLACTION_NETWORK_MAX 0x00001bff +#define URLACTION_JAVA_MIN 0x00001c00 +#define URLACTION_JAVA_PERMISSIONS 0x00001c00 +#define URLPOLICY_JAVA_PROHIBIT 0x00000000 +#define URLPOLICY_JAVA_HIGH 0x00010000 +#define URLPOLICY_JAVA_MEDIUM 0x00020000 +#define URLPOLICY_JAVA_LOW 0x00030000 +#define URLPOLICY_JAVA_CUSTOM 0x00800000 +#define URLACTION_JAVA_CURR_MAX 0x00001c00 +#define URLACTION_JAVA_MAX 0x00001cff +#define URLACTION_INFODELIVERY_MIN 0x00001d00 +#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00 +#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01 +#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02 +#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03 +#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04 +#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05 +#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06 +#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06 +#define URLACTION_INFODELIVERY_MAX 0x00001dff +#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00 +#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05 +#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000 +#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000 +#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000 +#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff +#define URLACTION_BEHAVIOR_MIN 0x00002000 +#define URLACTION_BEHAVIOR_RUN 0x00002000 +#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000 +#define URLACTION_FEATURE_MIN 0x00002100 +#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100 +#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101 +#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102 +#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103 +#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104 +#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105 +#define URLPOLICY_ALLOW 0x00 +#define URLPOLICY_QUERY 0x01 +#define URLPOLICY_DISALLOW 0x03 +#define URLPOLICY_NOTIFY_ON_ALLOW 0x10 +#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20 +#define URLPOLICY_LOG_ON_ALLOW 0x40 +#define URLPOLICY_LOG_ON_DISALLOW 0x80 +#define URLPOLICY_DONTCHECKDLGBOX 0x100 +#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000 +#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000 +#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000 +#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000 +#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000 +#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000 +#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000 +#define URLPOLICY_MASK_PERMISSIONS 0x0f +#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS) +#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2)) +/***************************************************************************** + * IInternetZoneManager interface + */ +#ifndef __IInternetZoneManager_INTERFACE_DEFINED__ +#define __IInternetZoneManager_INTERFACE_DEFINED__ + +typedef IInternetZoneManager *LPURLZONEMANAGER; +typedef enum tagURLZONE { + URLZONE_INVALID = -1, + URLZONE_PREDEFINED_MIN = 0, + URLZONE_LOCAL_MACHINE = 0, + URLZONE_INTRANET = 1, + URLZONE_TRUSTED = 2, + URLZONE_INTERNET = 3, + URLZONE_UNTRUSTED = 4, + URLZONE_PREDEFINED_MAX = 999, + URLZONE_USER_MIN = 1000, + URLZONE_USER_MAX = 10000 +} URLZONE; +typedef enum tagURLTEMPLATE { + URLTEMPLATE_CUSTOM = 0x0, + URLTEMPLATE_PREDEFINED_MIN = 0x10000, + URLTEMPLATE_LOW = 0x10000, + URLTEMPLATE_MEDLOW = 0x10500, + URLTEMPLATE_MEDIUM = 0x11000, + URLTEMPLATE_MEDHIGH = 0x11500, + URLTEMPLATE_HIGH = 0x12000, + URLTEMPLATE_PREDEFINED_MAX = 0x20000 +} URLTEMPLATE; +typedef enum __WIDL_urlmon_generated_name_0000000D { + ZAFLAGS_CUSTOM_EDIT = 0x1, + ZAFLAGS_ADD_SITES = 0x2, + ZAFLAGS_REQUIRE_VERIFICATION = 0x4, + ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x8, + ZAFLAGS_INCLUDE_INTRANET_SITES = 0x10, + ZAFLAGS_NO_UI = 0x20, + ZAFLAGS_SUPPORTS_VERIFICATION = 0x40, + ZAFLAGS_UNC_AS_INTRANET = 0x80, + ZAFLAGS_DETECT_INTRANET = 0x100, + ZAFLAGS_USE_LOCKED_ZONES = 0x10000, + ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x20000, + ZAFLAGS_NO_CACHE = 0x40000 +} ZAFLAGS; +enum { + MAX_ZONE_PATH = 260, + MAX_ZONE_DESCRIPTION = 200 +}; +typedef struct _ZONEATTRIBUTES { + ULONG cbSize; + WCHAR szDisplayName[260]; + WCHAR szDescription[200]; + WCHAR szIconPath[260]; + DWORD dwTemplateMinLevel; + DWORD dwTemplateRecommended; + DWORD dwTemplateCurrentLevel; + DWORD dwFlags; +} ZONEATTRIBUTES; +typedef struct _ZONEATTRIBUTES *LPZONEATTRIBUTES; +typedef enum _URLZONEREG { + URLZONEREG_DEFAULT = 0, + URLZONEREG_HKLM = 1, + URLZONEREG_HKCU = 2 +} URLZONEREG; +DEFINE_GUID(IID_IInternetZoneManager, 0x79eac9ef, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79eac9ef-baf9-11ce-8c82-00aa004ba90b") +IInternetZoneManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetZoneAttributes( + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZoneAttributes( + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZoneCustomPolicy( + DWORD dwZone, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + URLZONEREG ulrZoneReg) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZoneCustomPolicy( + DWORD dwZone, + REFGUID guidKey, + BYTE *ppPolicy, + DWORD pcbPolicy, + URLZONEREG ulrZoneReg) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZoneActionPolicy( + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZoneActionPolicy( + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg) = 0; + + virtual HRESULT STDMETHODCALLTYPE PromptAction( + DWORD dwAction, + HWND hwndParent, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwPromptFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE LogAction( + DWORD dwAction, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwLogFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateZoneEnumerator( + DWORD *pdwEnum, + DWORD *pdwCount, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZoneAt( + DWORD dwEnum, + DWORD dwIndex, + DWORD *pdwZone) = 0; + + virtual HRESULT STDMETHODCALLTYPE DestroyZoneEnumerator( + DWORD dwEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyTemplatePoliciesToZone( + DWORD dwTemplate, + DWORD dwZone, + DWORD dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetZoneManager, 0x79eac9ef, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b) +#endif +#else +typedef struct IInternetZoneManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetZoneManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetZoneManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetZoneManager *This); + + /*** IInternetZoneManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetZoneAttributes)( + IInternetZoneManager *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes); + + HRESULT (STDMETHODCALLTYPE *SetZoneAttributes)( + IInternetZoneManager *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes); + + HRESULT (STDMETHODCALLTYPE *GetZoneCustomPolicy)( + IInternetZoneManager *This, + DWORD dwZone, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + URLZONEREG ulrZoneReg); + + HRESULT (STDMETHODCALLTYPE *SetZoneCustomPolicy)( + IInternetZoneManager *This, + DWORD dwZone, + REFGUID guidKey, + BYTE *ppPolicy, + DWORD pcbPolicy, + URLZONEREG ulrZoneReg); + + HRESULT (STDMETHODCALLTYPE *GetZoneActionPolicy)( + IInternetZoneManager *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg); + + HRESULT (STDMETHODCALLTYPE *SetZoneActionPolicy)( + IInternetZoneManager *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg); + + HRESULT (STDMETHODCALLTYPE *PromptAction)( + IInternetZoneManager *This, + DWORD dwAction, + HWND hwndParent, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwPromptFlags); + + HRESULT (STDMETHODCALLTYPE *LogAction)( + IInternetZoneManager *This, + DWORD dwAction, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwLogFlags); + + HRESULT (STDMETHODCALLTYPE *CreateZoneEnumerator)( + IInternetZoneManager *This, + DWORD *pdwEnum, + DWORD *pdwCount, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneAt)( + IInternetZoneManager *This, + DWORD dwEnum, + DWORD dwIndex, + DWORD *pdwZone); + + HRESULT (STDMETHODCALLTYPE *DestroyZoneEnumerator)( + IInternetZoneManager *This, + DWORD dwEnum); + + HRESULT (STDMETHODCALLTYPE *CopyTemplatePoliciesToZone)( + IInternetZoneManager *This, + DWORD dwTemplate, + DWORD dwZone, + DWORD dwReserved); + + END_INTERFACE +} IInternetZoneManagerVtbl; + +interface IInternetZoneManager { + CONST_VTBL IInternetZoneManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetZoneManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetZoneManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetZoneManager_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetZoneManager methods ***/ +#define IInternetZoneManager_GetZoneAttributes(This,dwZone,pZoneAttributes) (This)->lpVtbl->GetZoneAttributes(This,dwZone,pZoneAttributes) +#define IInternetZoneManager_SetZoneAttributes(This,dwZone,pZoneAttributes) (This)->lpVtbl->SetZoneAttributes(This,dwZone,pZoneAttributes) +#define IInternetZoneManager_GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) (This)->lpVtbl->GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) +#define IInternetZoneManager_SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) (This)->lpVtbl->SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) +#define IInternetZoneManager_GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) (This)->lpVtbl->GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) +#define IInternetZoneManager_SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) (This)->lpVtbl->SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) +#define IInternetZoneManager_PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) (This)->lpVtbl->PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) +#define IInternetZoneManager_LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) (This)->lpVtbl->LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) +#define IInternetZoneManager_CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) (This)->lpVtbl->CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) +#define IInternetZoneManager_GetZoneAt(This,dwEnum,dwIndex,pdwZone) (This)->lpVtbl->GetZoneAt(This,dwEnum,dwIndex,pdwZone) +#define IInternetZoneManager_DestroyZoneEnumerator(This,dwEnum) (This)->lpVtbl->DestroyZoneEnumerator(This,dwEnum) +#define IInternetZoneManager_CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) (This)->lpVtbl->CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetZoneManager_QueryInterface(IInternetZoneManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetZoneManager_AddRef(IInternetZoneManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetZoneManager_Release(IInternetZoneManager* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetZoneManager methods ***/ +static FORCEINLINE HRESULT IInternetZoneManager_GetZoneAttributes(IInternetZoneManager* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes) { + return This->lpVtbl->GetZoneAttributes(This,dwZone,pZoneAttributes); +} +static FORCEINLINE HRESULT IInternetZoneManager_SetZoneAttributes(IInternetZoneManager* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes) { + return This->lpVtbl->SetZoneAttributes(This,dwZone,pZoneAttributes); +} +static FORCEINLINE HRESULT IInternetZoneManager_GetZoneCustomPolicy(IInternetZoneManager* This,DWORD dwZone,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,URLZONEREG ulrZoneReg) { + return This->lpVtbl->GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManager_SetZoneCustomPolicy(IInternetZoneManager* This,DWORD dwZone,REFGUID guidKey,BYTE *ppPolicy,DWORD pcbPolicy,URLZONEREG ulrZoneReg) { + return This->lpVtbl->SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManager_GetZoneActionPolicy(IInternetZoneManager* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg) { + return This->lpVtbl->GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManager_SetZoneActionPolicy(IInternetZoneManager* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg) { + return This->lpVtbl->SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManager_PromptAction(IInternetZoneManager* This,DWORD dwAction,HWND hwndParent,LPCWSTR pwszUrl,LPCWSTR pwszText,DWORD dwPromptFlags) { + return This->lpVtbl->PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags); +} +static FORCEINLINE HRESULT IInternetZoneManager_LogAction(IInternetZoneManager* This,DWORD dwAction,LPCWSTR pwszUrl,LPCWSTR pwszText,DWORD dwLogFlags) { + return This->lpVtbl->LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags); +} +static FORCEINLINE HRESULT IInternetZoneManager_CreateZoneEnumerator(IInternetZoneManager* This,DWORD *pdwEnum,DWORD *pdwCount,DWORD dwFlags) { + return This->lpVtbl->CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags); +} +static FORCEINLINE HRESULT IInternetZoneManager_GetZoneAt(IInternetZoneManager* This,DWORD dwEnum,DWORD dwIndex,DWORD *pdwZone) { + return This->lpVtbl->GetZoneAt(This,dwEnum,dwIndex,pdwZone); +} +static FORCEINLINE HRESULT IInternetZoneManager_DestroyZoneEnumerator(IInternetZoneManager* This,DWORD dwEnum) { + return This->lpVtbl->DestroyZoneEnumerator(This,dwEnum); +} +static FORCEINLINE HRESULT IInternetZoneManager_CopyTemplatePoliciesToZone(IInternetZoneManager* This,DWORD dwTemplate,DWORD dwZone,DWORD dwReserved) { + return This->lpVtbl->CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IInternetZoneManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetZoneManagerEx interface + */ +#ifndef __IInternetZoneManagerEx_INTERFACE_DEFINED__ +#define __IInternetZoneManagerEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetZoneManagerEx, 0xa4c23339, 0x8e06, 0x431e, 0x9b,0xf4, 0x7e,0x71,0x1c,0x08,0x56,0x48); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a4c23339-8e06-431e-9bf4-7e711c085648") +IInternetZoneManagerEx : public IInternetZoneManager +{ + virtual HRESULT STDMETHODCALLTYPE GetZoneActionPolicyEx( + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZoneActionPolicyEx( + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg, + DWORD dwFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetZoneManagerEx, 0xa4c23339, 0x8e06, 0x431e, 0x9b,0xf4, 0x7e,0x71,0x1c,0x08,0x56,0x48) +#endif +#else +typedef struct IInternetZoneManagerExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetZoneManagerEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetZoneManagerEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetZoneManagerEx *This); + + /*** IInternetZoneManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetZoneAttributes)( + IInternetZoneManagerEx *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes); + + HRESULT (STDMETHODCALLTYPE *SetZoneAttributes)( + IInternetZoneManagerEx *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes); + + HRESULT (STDMETHODCALLTYPE *GetZoneCustomPolicy)( + IInternetZoneManagerEx *This, + DWORD dwZone, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + URLZONEREG ulrZoneReg); + + HRESULT (STDMETHODCALLTYPE *SetZoneCustomPolicy)( + IInternetZoneManagerEx *This, + DWORD dwZone, + REFGUID guidKey, + BYTE *ppPolicy, + DWORD pcbPolicy, + URLZONEREG ulrZoneReg); + + HRESULT (STDMETHODCALLTYPE *GetZoneActionPolicy)( + IInternetZoneManagerEx *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg); + + HRESULT (STDMETHODCALLTYPE *SetZoneActionPolicy)( + IInternetZoneManagerEx *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg); + + HRESULT (STDMETHODCALLTYPE *PromptAction)( + IInternetZoneManagerEx *This, + DWORD dwAction, + HWND hwndParent, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwPromptFlags); + + HRESULT (STDMETHODCALLTYPE *LogAction)( + IInternetZoneManagerEx *This, + DWORD dwAction, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwLogFlags); + + HRESULT (STDMETHODCALLTYPE *CreateZoneEnumerator)( + IInternetZoneManagerEx *This, + DWORD *pdwEnum, + DWORD *pdwCount, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneAt)( + IInternetZoneManagerEx *This, + DWORD dwEnum, + DWORD dwIndex, + DWORD *pdwZone); + + HRESULT (STDMETHODCALLTYPE *DestroyZoneEnumerator)( + IInternetZoneManagerEx *This, + DWORD dwEnum); + + HRESULT (STDMETHODCALLTYPE *CopyTemplatePoliciesToZone)( + IInternetZoneManagerEx *This, + DWORD dwTemplate, + DWORD dwZone, + DWORD dwReserved); + + /*** IInternetZoneManagerEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetZoneActionPolicyEx)( + IInternetZoneManagerEx *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *SetZoneActionPolicyEx)( + IInternetZoneManagerEx *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg, + DWORD dwFlags); + + END_INTERFACE +} IInternetZoneManagerExVtbl; + +interface IInternetZoneManagerEx { + CONST_VTBL IInternetZoneManagerExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetZoneManagerEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetZoneManagerEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetZoneManagerEx_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetZoneManager methods ***/ +#define IInternetZoneManagerEx_GetZoneAttributes(This,dwZone,pZoneAttributes) (This)->lpVtbl->GetZoneAttributes(This,dwZone,pZoneAttributes) +#define IInternetZoneManagerEx_SetZoneAttributes(This,dwZone,pZoneAttributes) (This)->lpVtbl->SetZoneAttributes(This,dwZone,pZoneAttributes) +#define IInternetZoneManagerEx_GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) (This)->lpVtbl->GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) +#define IInternetZoneManagerEx_SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) (This)->lpVtbl->SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) +#define IInternetZoneManagerEx_GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) (This)->lpVtbl->GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) +#define IInternetZoneManagerEx_SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) (This)->lpVtbl->SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) +#define IInternetZoneManagerEx_PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) (This)->lpVtbl->PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) +#define IInternetZoneManagerEx_LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) (This)->lpVtbl->LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) +#define IInternetZoneManagerEx_CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) (This)->lpVtbl->CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) +#define IInternetZoneManagerEx_GetZoneAt(This,dwEnum,dwIndex,pdwZone) (This)->lpVtbl->GetZoneAt(This,dwEnum,dwIndex,pdwZone) +#define IInternetZoneManagerEx_DestroyZoneEnumerator(This,dwEnum) (This)->lpVtbl->DestroyZoneEnumerator(This,dwEnum) +#define IInternetZoneManagerEx_CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) (This)->lpVtbl->CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) +/*** IInternetZoneManagerEx methods ***/ +#define IInternetZoneManagerEx_GetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) (This)->lpVtbl->GetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) +#define IInternetZoneManagerEx_SetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) (This)->lpVtbl->SetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx_QueryInterface(IInternetZoneManagerEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetZoneManagerEx_AddRef(IInternetZoneManagerEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetZoneManagerEx_Release(IInternetZoneManagerEx* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetZoneManager methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx_GetZoneAttributes(IInternetZoneManagerEx* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes) { + return This->lpVtbl->GetZoneAttributes(This,dwZone,pZoneAttributes); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_SetZoneAttributes(IInternetZoneManagerEx* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes) { + return This->lpVtbl->SetZoneAttributes(This,dwZone,pZoneAttributes); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_GetZoneCustomPolicy(IInternetZoneManagerEx* This,DWORD dwZone,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,URLZONEREG ulrZoneReg) { + return This->lpVtbl->GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_SetZoneCustomPolicy(IInternetZoneManagerEx* This,DWORD dwZone,REFGUID guidKey,BYTE *ppPolicy,DWORD pcbPolicy,URLZONEREG ulrZoneReg) { + return This->lpVtbl->SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_GetZoneActionPolicy(IInternetZoneManagerEx* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg) { + return This->lpVtbl->GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_SetZoneActionPolicy(IInternetZoneManagerEx* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg) { + return This->lpVtbl->SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_PromptAction(IInternetZoneManagerEx* This,DWORD dwAction,HWND hwndParent,LPCWSTR pwszUrl,LPCWSTR pwszText,DWORD dwPromptFlags) { + return This->lpVtbl->PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_LogAction(IInternetZoneManagerEx* This,DWORD dwAction,LPCWSTR pwszUrl,LPCWSTR pwszText,DWORD dwLogFlags) { + return This->lpVtbl->LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_CreateZoneEnumerator(IInternetZoneManagerEx* This,DWORD *pdwEnum,DWORD *pdwCount,DWORD dwFlags) { + return This->lpVtbl->CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_GetZoneAt(IInternetZoneManagerEx* This,DWORD dwEnum,DWORD dwIndex,DWORD *pdwZone) { + return This->lpVtbl->GetZoneAt(This,dwEnum,dwIndex,pdwZone); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_DestroyZoneEnumerator(IInternetZoneManagerEx* This,DWORD dwEnum) { + return This->lpVtbl->DestroyZoneEnumerator(This,dwEnum); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_CopyTemplatePoliciesToZone(IInternetZoneManagerEx* This,DWORD dwTemplate,DWORD dwZone,DWORD dwReserved) { + return This->lpVtbl->CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved); +} +/*** IInternetZoneManagerEx methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx_GetZoneActionPolicyEx(IInternetZoneManagerEx* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg,DWORD dwFlags) { + return This->lpVtbl->GetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx_SetZoneActionPolicyEx(IInternetZoneManagerEx* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg,DWORD dwFlags) { + return This->lpVtbl->SetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags); +} +#endif +#endif + +#endif + + +#endif /* __IInternetZoneManagerEx_INTERFACE_DEFINED__ */ + +#define SECURITY_IE_STATE_GREEN 0 +#define SECURITY_IE_STATE_RED 1 +/***************************************************************************** + * IInternetZoneManagerEx2 interface + */ +#ifndef __IInternetZoneManagerEx2_INTERFACE_DEFINED__ +#define __IInternetZoneManagerEx2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetZoneManagerEx2, 0xedc17559, 0xdd5d, 0x4846, 0x8e,0xef, 0x8b,0xec,0xba,0x5a,0x4a,0xbf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("edc17559-dd5d-4846-8eef-8becba5a4abf") +IInternetZoneManagerEx2 : public IInternetZoneManagerEx +{ + virtual HRESULT STDMETHODCALLTYPE GetZoneAttributesEx( + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZoneSecurityState( + DWORD dwZoneIndex, + BOOL fRespectPolicy, + LPDWORD pdwState, + BOOL *pfPolicyEncountered) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIESecurityState( + BOOL fRespectPolicy, + LPDWORD pdwState, + BOOL *pfPolicyEncountered, + BOOL fNoCache) = 0; + + virtual HRESULT STDMETHODCALLTYPE FixInsecureSettings( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetZoneManagerEx2, 0xedc17559, 0xdd5d, 0x4846, 0x8e,0xef, 0x8b,0xec,0xba,0x5a,0x4a,0xbf) +#endif +#else +typedef struct IInternetZoneManagerEx2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetZoneManagerEx2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetZoneManagerEx2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetZoneManagerEx2 *This); + + /*** IInternetZoneManager methods ***/ + HRESULT (STDMETHODCALLTYPE *GetZoneAttributes)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes); + + HRESULT (STDMETHODCALLTYPE *SetZoneAttributes)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes); + + HRESULT (STDMETHODCALLTYPE *GetZoneCustomPolicy)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + REFGUID guidKey, + BYTE **ppPolicy, + DWORD *pcbPolicy, + URLZONEREG ulrZoneReg); + + HRESULT (STDMETHODCALLTYPE *SetZoneCustomPolicy)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + REFGUID guidKey, + BYTE *ppPolicy, + DWORD pcbPolicy, + URLZONEREG ulrZoneReg); + + HRESULT (STDMETHODCALLTYPE *GetZoneActionPolicy)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg); + + HRESULT (STDMETHODCALLTYPE *SetZoneActionPolicy)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg); + + HRESULT (STDMETHODCALLTYPE *PromptAction)( + IInternetZoneManagerEx2 *This, + DWORD dwAction, + HWND hwndParent, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwPromptFlags); + + HRESULT (STDMETHODCALLTYPE *LogAction)( + IInternetZoneManagerEx2 *This, + DWORD dwAction, + LPCWSTR pwszUrl, + LPCWSTR pwszText, + DWORD dwLogFlags); + + HRESULT (STDMETHODCALLTYPE *CreateZoneEnumerator)( + IInternetZoneManagerEx2 *This, + DWORD *pdwEnum, + DWORD *pdwCount, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneAt)( + IInternetZoneManagerEx2 *This, + DWORD dwEnum, + DWORD dwIndex, + DWORD *pdwZone); + + HRESULT (STDMETHODCALLTYPE *DestroyZoneEnumerator)( + IInternetZoneManagerEx2 *This, + DWORD dwEnum); + + HRESULT (STDMETHODCALLTYPE *CopyTemplatePoliciesToZone)( + IInternetZoneManagerEx2 *This, + DWORD dwTemplate, + DWORD dwZone, + DWORD dwReserved); + + /*** IInternetZoneManagerEx methods ***/ + HRESULT (STDMETHODCALLTYPE *GetZoneActionPolicyEx)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *SetZoneActionPolicyEx)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + DWORD dwAction, + BYTE *pPolicy, + DWORD cbPolicy, + URLZONEREG urlZoneReg, + DWORD dwFlags); + + /*** IInternetZoneManagerEx2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetZoneAttributesEx)( + IInternetZoneManagerEx2 *This, + DWORD dwZone, + ZONEATTRIBUTES *pZoneAttributes, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetZoneSecurityState)( + IInternetZoneManagerEx2 *This, + DWORD dwZoneIndex, + BOOL fRespectPolicy, + LPDWORD pdwState, + BOOL *pfPolicyEncountered); + + HRESULT (STDMETHODCALLTYPE *GetIESecurityState)( + IInternetZoneManagerEx2 *This, + BOOL fRespectPolicy, + LPDWORD pdwState, + BOOL *pfPolicyEncountered, + BOOL fNoCache); + + HRESULT (STDMETHODCALLTYPE *FixInsecureSettings)( + IInternetZoneManagerEx2 *This); + + END_INTERFACE +} IInternetZoneManagerEx2Vtbl; + +interface IInternetZoneManagerEx2 { + CONST_VTBL IInternetZoneManagerEx2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetZoneManagerEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetZoneManagerEx2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetZoneManagerEx2_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetZoneManager methods ***/ +#define IInternetZoneManagerEx2_GetZoneAttributes(This,dwZone,pZoneAttributes) (This)->lpVtbl->GetZoneAttributes(This,dwZone,pZoneAttributes) +#define IInternetZoneManagerEx2_SetZoneAttributes(This,dwZone,pZoneAttributes) (This)->lpVtbl->SetZoneAttributes(This,dwZone,pZoneAttributes) +#define IInternetZoneManagerEx2_GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) (This)->lpVtbl->GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) +#define IInternetZoneManagerEx2_SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) (This)->lpVtbl->SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg) +#define IInternetZoneManagerEx2_GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) (This)->lpVtbl->GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) +#define IInternetZoneManagerEx2_SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) (This)->lpVtbl->SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) +#define IInternetZoneManagerEx2_PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) (This)->lpVtbl->PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) +#define IInternetZoneManagerEx2_LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) (This)->lpVtbl->LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) +#define IInternetZoneManagerEx2_CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) (This)->lpVtbl->CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) +#define IInternetZoneManagerEx2_GetZoneAt(This,dwEnum,dwIndex,pdwZone) (This)->lpVtbl->GetZoneAt(This,dwEnum,dwIndex,pdwZone) +#define IInternetZoneManagerEx2_DestroyZoneEnumerator(This,dwEnum) (This)->lpVtbl->DestroyZoneEnumerator(This,dwEnum) +#define IInternetZoneManagerEx2_CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) (This)->lpVtbl->CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) +/*** IInternetZoneManagerEx methods ***/ +#define IInternetZoneManagerEx2_GetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) (This)->lpVtbl->GetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) +#define IInternetZoneManagerEx2_SetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) (This)->lpVtbl->SetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags) +/*** IInternetZoneManagerEx2 methods ***/ +#define IInternetZoneManagerEx2_GetZoneAttributesEx(This,dwZone,pZoneAttributes,dwFlags) (This)->lpVtbl->GetZoneAttributesEx(This,dwZone,pZoneAttributes,dwFlags) +#define IInternetZoneManagerEx2_GetZoneSecurityState(This,dwZoneIndex,fRespectPolicy,pdwState,pfPolicyEncountered) (This)->lpVtbl->GetZoneSecurityState(This,dwZoneIndex,fRespectPolicy,pdwState,pfPolicyEncountered) +#define IInternetZoneManagerEx2_GetIESecurityState(This,fRespectPolicy,pdwState,pfPolicyEncountered,fNoCache) (This)->lpVtbl->GetIESecurityState(This,fRespectPolicy,pdwState,pfPolicyEncountered,fNoCache) +#define IInternetZoneManagerEx2_FixInsecureSettings(This) (This)->lpVtbl->FixInsecureSettings(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx2_QueryInterface(IInternetZoneManagerEx2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetZoneManagerEx2_AddRef(IInternetZoneManagerEx2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetZoneManagerEx2_Release(IInternetZoneManagerEx2* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetZoneManager methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneAttributes(IInternetZoneManagerEx2* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes) { + return This->lpVtbl->GetZoneAttributes(This,dwZone,pZoneAttributes); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_SetZoneAttributes(IInternetZoneManagerEx2* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes) { + return This->lpVtbl->SetZoneAttributes(This,dwZone,pZoneAttributes); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneCustomPolicy(IInternetZoneManagerEx2* This,DWORD dwZone,REFGUID guidKey,BYTE **ppPolicy,DWORD *pcbPolicy,URLZONEREG ulrZoneReg) { + return This->lpVtbl->GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_SetZoneCustomPolicy(IInternetZoneManagerEx2* This,DWORD dwZone,REFGUID guidKey,BYTE *ppPolicy,DWORD pcbPolicy,URLZONEREG ulrZoneReg) { + return This->lpVtbl->SetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,ulrZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneActionPolicy(IInternetZoneManagerEx2* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg) { + return This->lpVtbl->GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_SetZoneActionPolicy(IInternetZoneManagerEx2* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg) { + return This->lpVtbl->SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_PromptAction(IInternetZoneManagerEx2* This,DWORD dwAction,HWND hwndParent,LPCWSTR pwszUrl,LPCWSTR pwszText,DWORD dwPromptFlags) { + return This->lpVtbl->PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_LogAction(IInternetZoneManagerEx2* This,DWORD dwAction,LPCWSTR pwszUrl,LPCWSTR pwszText,DWORD dwLogFlags) { + return This->lpVtbl->LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_CreateZoneEnumerator(IInternetZoneManagerEx2* This,DWORD *pdwEnum,DWORD *pdwCount,DWORD dwFlags) { + return This->lpVtbl->CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneAt(IInternetZoneManagerEx2* This,DWORD dwEnum,DWORD dwIndex,DWORD *pdwZone) { + return This->lpVtbl->GetZoneAt(This,dwEnum,dwIndex,pdwZone); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_DestroyZoneEnumerator(IInternetZoneManagerEx2* This,DWORD dwEnum) { + return This->lpVtbl->DestroyZoneEnumerator(This,dwEnum); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_CopyTemplatePoliciesToZone(IInternetZoneManagerEx2* This,DWORD dwTemplate,DWORD dwZone,DWORD dwReserved) { + return This->lpVtbl->CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved); +} +/*** IInternetZoneManagerEx methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneActionPolicyEx(IInternetZoneManagerEx2* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg,DWORD dwFlags) { + return This->lpVtbl->GetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_SetZoneActionPolicyEx(IInternetZoneManagerEx2* This,DWORD dwZone,DWORD dwAction,BYTE *pPolicy,DWORD cbPolicy,URLZONEREG urlZoneReg,DWORD dwFlags) { + return This->lpVtbl->SetZoneActionPolicyEx(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg,dwFlags); +} +/*** IInternetZoneManagerEx2 methods ***/ +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneAttributesEx(IInternetZoneManagerEx2* This,DWORD dwZone,ZONEATTRIBUTES *pZoneAttributes,DWORD dwFlags) { + return This->lpVtbl->GetZoneAttributesEx(This,dwZone,pZoneAttributes,dwFlags); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetZoneSecurityState(IInternetZoneManagerEx2* This,DWORD dwZoneIndex,BOOL fRespectPolicy,LPDWORD pdwState,BOOL *pfPolicyEncountered) { + return This->lpVtbl->GetZoneSecurityState(This,dwZoneIndex,fRespectPolicy,pdwState,pfPolicyEncountered); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_GetIESecurityState(IInternetZoneManagerEx2* This,BOOL fRespectPolicy,LPDWORD pdwState,BOOL *pfPolicyEncountered,BOOL fNoCache) { + return This->lpVtbl->GetIESecurityState(This,fRespectPolicy,pdwState,pfPolicyEncountered,fNoCache); +} +static FORCEINLINE HRESULT IInternetZoneManagerEx2_FixInsecureSettings(IInternetZoneManagerEx2* This) { + return This->lpVtbl->FixInsecureSettings(This); +} +#endif +#endif + +#endif + + +#endif /* __IInternetZoneManagerEx2_INTERFACE_DEFINED__ */ + +typedef struct _tagSOFTDISTINFO { + ULONG cbSize; + DWORD dwFlags; + DWORD dwAdState; + LPWSTR szTitle; + LPWSTR szAbstract; + LPWSTR szHREF; + DWORD dwInstalledVersionMS; + DWORD dwInstalledVersionLS; + DWORD dwUpdateVersionMS; + DWORD dwUpdateVersionLS; + DWORD dwAdvertisedVersionMS; + DWORD dwAdvertisedVersionLS; + DWORD dwReserved; +} SOFTDISTINFO; +typedef struct _tagSOFTDISTINFO *LPSOFTDISTINFO; +typedef struct _tagCODEBASEHOLD { + DWORD cbSize; + LPWSTR szDistUnit; + LPWSTR szCodeBase; + DWORD dwVersionMS; + DWORD dwVersionLS; + DWORD dwStyle; +} CODEBASEHOLD; +typedef struct _tagCODEBASEHOLD *LPCODEBASEHOLD; +/***************************************************************************** + * ISoftDistExt interface + */ +#ifndef __ISoftDistExt_INTERFACE_DEFINED__ +#define __ISoftDistExt_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISoftDistExt, 0xb15b8dc1, 0xc7e1, 0x11d0, 0x86,0x80, 0x00,0xaa,0x00,0xbd,0xcb,0x71); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b15b8dc1-c7e1-11d0-8680-00aa00bdcb71") +ISoftDistExt : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ProcessSoftDist( + LPCWSTR szCDFURL, + IXMLElement *pSoftDistElement, + LPSOFTDISTINFO lpsdi) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFirstCodeBase( + LPWSTR *szCodeBase, + LPDWORD dwMaxSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextCodeBase( + LPWSTR *szCodeBase, + LPDWORD dwMaxSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE AsyncInstallDistributionUnit( + IBindCtx *pbc, + LPVOID lpReserved, + DWORD flags, + LPCODEBASEHOLD lpcbh) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISoftDistExt, 0xb15b8dc1, 0xc7e1, 0x11d0, 0x86,0x80, 0x00,0xaa,0x00,0xbd,0xcb,0x71) +#endif +#else +typedef struct ISoftDistExtVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISoftDistExt *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISoftDistExt *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISoftDistExt *This); + + /*** ISoftDistExt methods ***/ + HRESULT (STDMETHODCALLTYPE *ProcessSoftDist)( + ISoftDistExt *This, + LPCWSTR szCDFURL, + IXMLElement *pSoftDistElement, + LPSOFTDISTINFO lpsdi); + + HRESULT (STDMETHODCALLTYPE *GetFirstCodeBase)( + ISoftDistExt *This, + LPWSTR *szCodeBase, + LPDWORD dwMaxSize); + + HRESULT (STDMETHODCALLTYPE *GetNextCodeBase)( + ISoftDistExt *This, + LPWSTR *szCodeBase, + LPDWORD dwMaxSize); + + HRESULT (STDMETHODCALLTYPE *AsyncInstallDistributionUnit)( + ISoftDistExt *This, + IBindCtx *pbc, + LPVOID lpReserved, + DWORD flags, + LPCODEBASEHOLD lpcbh); + + END_INTERFACE +} ISoftDistExtVtbl; + +interface ISoftDistExt { + CONST_VTBL ISoftDistExtVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISoftDistExt_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISoftDistExt_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISoftDistExt_Release(This) (This)->lpVtbl->Release(This) +/*** ISoftDistExt methods ***/ +#define ISoftDistExt_ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi) (This)->lpVtbl->ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi) +#define ISoftDistExt_GetFirstCodeBase(This,szCodeBase,dwMaxSize) (This)->lpVtbl->GetFirstCodeBase(This,szCodeBase,dwMaxSize) +#define ISoftDistExt_GetNextCodeBase(This,szCodeBase,dwMaxSize) (This)->lpVtbl->GetNextCodeBase(This,szCodeBase,dwMaxSize) +#define ISoftDistExt_AsyncInstallDistributionUnit(This,pbc,lpReserved,flags,lpcbh) (This)->lpVtbl->AsyncInstallDistributionUnit(This,pbc,lpReserved,flags,lpcbh) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISoftDistExt_QueryInterface(ISoftDistExt* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISoftDistExt_AddRef(ISoftDistExt* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISoftDistExt_Release(ISoftDistExt* This) { + return This->lpVtbl->Release(This); +} +/*** ISoftDistExt methods ***/ +static FORCEINLINE HRESULT ISoftDistExt_ProcessSoftDist(ISoftDistExt* This,LPCWSTR szCDFURL,IXMLElement *pSoftDistElement,LPSOFTDISTINFO lpsdi) { + return This->lpVtbl->ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi); +} +static FORCEINLINE HRESULT ISoftDistExt_GetFirstCodeBase(ISoftDistExt* This,LPWSTR *szCodeBase,LPDWORD dwMaxSize) { + return This->lpVtbl->GetFirstCodeBase(This,szCodeBase,dwMaxSize); +} +static FORCEINLINE HRESULT ISoftDistExt_GetNextCodeBase(ISoftDistExt* This,LPWSTR *szCodeBase,LPDWORD dwMaxSize) { + return This->lpVtbl->GetNextCodeBase(This,szCodeBase,dwMaxSize); +} +static FORCEINLINE HRESULT ISoftDistExt_AsyncInstallDistributionUnit(ISoftDistExt* This,IBindCtx *pbc,LPVOID lpReserved,DWORD flags,LPCODEBASEHOLD lpcbh) { + return This->lpVtbl->AsyncInstallDistributionUnit(This,pbc,lpReserved,flags,lpcbh); +} +#endif +#endif + +#endif + + +#endif /* __ISoftDistExt_INTERFACE_DEFINED__ */ + +typedef enum _tagINTERNETFEATURELIST { + FEATURE_OBJECT_CACHING = 0, + FEATURE_ZONE_ELEVATION = 1, + FEATURE_MIME_HANDLING = 2, + FEATURE_MIME_SNIFFING = 3, + FEATURE_WINDOW_RESTRICTIONS = 4, + FEATURE_WEBOC_POPUPMANAGEMENT = 5, + FEATURE_BEHAVIORS = 6, + FEATURE_DISABLE_MK_PROTOCOL = 7, + FEATURE_LOCALMACHINE_LOCKDOWN = 8, + FEATURE_SECURITYBAND = 9, + FEATURE_RESTRICT_ACTIVEXINSTALL = 10, + FEATURE_VALIDATE_NAVIGATE_URL = 11, + FEATURE_RESTRICT_FILEDOWNLOAD = 12, + FEATURE_ADDON_MANAGEMENT = 13, + FEATURE_PROTOCOL_LOCKDOWN = 14, + FEATURE_HTTP_USERNAME_PASSWORD_DISABLE = 15, + FEATURE_SAFE_BINDTOOBJECT = 16, + FEATURE_UNC_SAVEDFILECHECK = 17, + FEATURE_GET_URL_DOM_FILEPATH_UNENCODED = 18, + FEATURE_TABBED_BROWSING = 19, + FEATURE_SSLUX = 20, + FEATURE_DISABLE_NAVIGATION_SOUNDS = 21, + FEATURE_DISABLE_LEGACY_COMPRESSION = 22, + FEATURE_FORCE_ADDR_AND_STATUS = 23, + FEATURE_XMLHTTP = 24, + FEATURE_DISABLE_TELNET_PROTOCOL = 25, + FEATURE_FEEDS = 26, + FEATURE_BLOCK_INPUT_PROMPTS = 27, + FEATURE_ENTRY_COUNT = 28 +} INTERNETFEATURELIST; +#define SET_FEATURE_ON_THREAD 0x00000001 +#define SET_FEATURE_ON_PROCESS 0x00000002 +#define SET_FEATURE_IN_REGISTRY 0x00000004 +#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008 +#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010 +#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020 +#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040 +#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080 +#define GET_FEATURE_FROM_THREAD 0x00000001 +#define GET_FEATURE_FROM_PROCESS 0x00000002 +#define GET_FEATURE_FROM_REGISTRY 0x00000004 +#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008 +#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010 +#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020 +#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040 +#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080 +typedef struct _tagPROTOCOLFILTERDATA { + DWORD cbSize; + IInternetProtocolSink *pProtocolSink; + IInternetProtocol *pProtocol; + IUnknown *pUnk; + DWORD dwFilterFlags; +} PROTOCOLFILTERDATA; +/***************************************************************************** + * IUri interface + */ +#ifndef __IUri_INTERFACE_DEFINED__ +#define __IUri_INTERFACE_DEFINED__ + +typedef enum __WIDL_urlmon_generated_name_0000000E { + Uri_PROPERTY_ABSOLUTE_URI = 0, + Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI, + Uri_PROPERTY_AUTHORITY = 1, + Uri_PROPERTY_DISPLAY_URI = 2, + Uri_PROPERTY_DOMAIN = 3, + Uri_PROPERTY_EXTENSION = 4, + Uri_PROPERTY_FRAGMENT = 5, + Uri_PROPERTY_HOST = 6, + Uri_PROPERTY_PASSWORD = 7, + Uri_PROPERTY_PATH = 8, + Uri_PROPERTY_PATH_AND_QUERY = 9, + Uri_PROPERTY_QUERY = 10, + Uri_PROPERTY_RAW_URI = 11, + Uri_PROPERTY_SCHEME_NAME = 12, + Uri_PROPERTY_USER_INFO = 13, + Uri_PROPERTY_USER_NAME = 14, + Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME, + Uri_PROPERTY_HOST_TYPE = 15, + Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE, + Uri_PROPERTY_PORT = 16, + Uri_PROPERTY_SCHEME = 17, + Uri_PROPERTY_ZONE = 18, + Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE +} Uri_PROPERTY; +typedef enum __WIDL_urlmon_generated_name_0000000F { + Uri_HOST_UNKNOWN = 0, + Uri_HOST_DNS = 1, + Uri_HOST_IPV4 = 2, + Uri_HOST_IPV6 = 3, + Uri_HOST_IDN = 4 +} Uri_HOST_TYPE; +DEFINE_GUID(IID_IUri, 0xa39ee748, 0x6a27, 0x4817, 0xa6,0xf2, 0x13,0x91,0x4b,0xef,0x58,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a39ee748-6a27-4817-a6f2-13914bef5890") +IUri : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPropertyBSTR( + Uri_PROPERTY uriProp, + BSTR *pbstrProperty, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyLength( + Uri_PROPERTY uriProp, + DWORD *pcchProperty, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyDWORD( + Uri_PROPERTY uriProp, + DWORD *pdwProperty, + DWORD dwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE HasProperty( + Uri_PROPERTY uriProp, + BOOL *pfHasProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAbsoluteUri( + BSTR *pbstrAbsoluteUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAuthority( + BSTR *pbstrAuthority) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayUri( + BSTR *pbstrDisplayString) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDomain( + BSTR *pbstrDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExtension( + BSTR *pbstrExtension) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFragment( + BSTR *pbstrFragment) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHost( + BSTR *pbstrHost) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPassword( + BSTR *pbstrPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPath( + BSTR *pbstrPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPathAndQuery( + BSTR *pbstrPathAndQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetQuery( + BSTR *pbstrQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRawUri( + BSTR *pbstrRawUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSchemeName( + BSTR *pbstrSchemeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserInfo( + BSTR *pbstrUserInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserName( + BSTR *pbstrUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHostType( + DWORD *pdwHostType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPort( + DWORD *pdwPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScheme( + DWORD *pdwScheme) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZone( + DWORD *pdwZone) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperties( + LPDWORD pdwFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + IUri *pUri, + BOOL *pfEqual) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUri, 0xa39ee748, 0x6a27, 0x4817, 0xa6,0xf2, 0x13,0x91,0x4b,0xef,0x58,0x90) +#endif +#else +typedef struct IUriVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUri *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUri *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUri *This); + + /*** IUri methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPropertyBSTR)( + IUri *This, + Uri_PROPERTY uriProp, + BSTR *pbstrProperty, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetPropertyLength)( + IUri *This, + Uri_PROPERTY uriProp, + DWORD *pcchProperty, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *GetPropertyDWORD)( + IUri *This, + Uri_PROPERTY uriProp, + DWORD *pdwProperty, + DWORD dwFlags); + + HRESULT (STDMETHODCALLTYPE *HasProperty)( + IUri *This, + Uri_PROPERTY uriProp, + BOOL *pfHasProperty); + + HRESULT (STDMETHODCALLTYPE *GetAbsoluteUri)( + IUri *This, + BSTR *pbstrAbsoluteUri); + + HRESULT (STDMETHODCALLTYPE *GetAuthority)( + IUri *This, + BSTR *pbstrAuthority); + + HRESULT (STDMETHODCALLTYPE *GetDisplayUri)( + IUri *This, + BSTR *pbstrDisplayString); + + HRESULT (STDMETHODCALLTYPE *GetDomain)( + IUri *This, + BSTR *pbstrDomain); + + HRESULT (STDMETHODCALLTYPE *GetExtension)( + IUri *This, + BSTR *pbstrExtension); + + HRESULT (STDMETHODCALLTYPE *GetFragment)( + IUri *This, + BSTR *pbstrFragment); + + HRESULT (STDMETHODCALLTYPE *GetHost)( + IUri *This, + BSTR *pbstrHost); + + HRESULT (STDMETHODCALLTYPE *GetPassword)( + IUri *This, + BSTR *pbstrPassword); + + HRESULT (STDMETHODCALLTYPE *GetPath)( + IUri *This, + BSTR *pbstrPath); + + HRESULT (STDMETHODCALLTYPE *GetPathAndQuery)( + IUri *This, + BSTR *pbstrPathAndQuery); + + HRESULT (STDMETHODCALLTYPE *GetQuery)( + IUri *This, + BSTR *pbstrQuery); + + HRESULT (STDMETHODCALLTYPE *GetRawUri)( + IUri *This, + BSTR *pbstrRawUri); + + HRESULT (STDMETHODCALLTYPE *GetSchemeName)( + IUri *This, + BSTR *pbstrSchemeName); + + HRESULT (STDMETHODCALLTYPE *GetUserInfo)( + IUri *This, + BSTR *pbstrUserInfo); + + HRESULT (STDMETHODCALLTYPE *GetUserName)( + IUri *This, + BSTR *pbstrUserName); + + HRESULT (STDMETHODCALLTYPE *GetHostType)( + IUri *This, + DWORD *pdwHostType); + + HRESULT (STDMETHODCALLTYPE *GetPort)( + IUri *This, + DWORD *pdwPort); + + HRESULT (STDMETHODCALLTYPE *GetScheme)( + IUri *This, + DWORD *pdwScheme); + + HRESULT (STDMETHODCALLTYPE *GetZone)( + IUri *This, + DWORD *pdwZone); + + HRESULT (STDMETHODCALLTYPE *GetProperties)( + IUri *This, + LPDWORD pdwFlags); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IUri *This, + IUri *pUri, + BOOL *pfEqual); + + END_INTERFACE +} IUriVtbl; + +interface IUri { + CONST_VTBL IUriVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUri_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUri_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUri_Release(This) (This)->lpVtbl->Release(This) +/*** IUri methods ***/ +#define IUri_GetPropertyBSTR(This,uriProp,pbstrProperty,dwFlags) (This)->lpVtbl->GetPropertyBSTR(This,uriProp,pbstrProperty,dwFlags) +#define IUri_GetPropertyLength(This,uriProp,pcchProperty,dwFlags) (This)->lpVtbl->GetPropertyLength(This,uriProp,pcchProperty,dwFlags) +#define IUri_GetPropertyDWORD(This,uriProp,pdwProperty,dwFlags) (This)->lpVtbl->GetPropertyDWORD(This,uriProp,pdwProperty,dwFlags) +#define IUri_HasProperty(This,uriProp,pfHasProperty) (This)->lpVtbl->HasProperty(This,uriProp,pfHasProperty) +#define IUri_GetAbsoluteUri(This,pbstrAbsoluteUri) (This)->lpVtbl->GetAbsoluteUri(This,pbstrAbsoluteUri) +#define IUri_GetAuthority(This,pbstrAuthority) (This)->lpVtbl->GetAuthority(This,pbstrAuthority) +#define IUri_GetDisplayUri(This,pbstrDisplayString) (This)->lpVtbl->GetDisplayUri(This,pbstrDisplayString) +#define IUri_GetDomain(This,pbstrDomain) (This)->lpVtbl->GetDomain(This,pbstrDomain) +#define IUri_GetExtension(This,pbstrExtension) (This)->lpVtbl->GetExtension(This,pbstrExtension) +#define IUri_GetFragment(This,pbstrFragment) (This)->lpVtbl->GetFragment(This,pbstrFragment) +#define IUri_GetHost(This,pbstrHost) (This)->lpVtbl->GetHost(This,pbstrHost) +#define IUri_GetPassword(This,pbstrPassword) (This)->lpVtbl->GetPassword(This,pbstrPassword) +#define IUri_GetPath(This,pbstrPath) (This)->lpVtbl->GetPath(This,pbstrPath) +#define IUri_GetPathAndQuery(This,pbstrPathAndQuery) (This)->lpVtbl->GetPathAndQuery(This,pbstrPathAndQuery) +#define IUri_GetQuery(This,pbstrQuery) (This)->lpVtbl->GetQuery(This,pbstrQuery) +#define IUri_GetRawUri(This,pbstrRawUri) (This)->lpVtbl->GetRawUri(This,pbstrRawUri) +#define IUri_GetSchemeName(This,pbstrSchemeName) (This)->lpVtbl->GetSchemeName(This,pbstrSchemeName) +#define IUri_GetUserInfo(This,pbstrUserInfo) (This)->lpVtbl->GetUserInfo(This,pbstrUserInfo) +#define IUri_GetUserName(This,pbstrUserName) (This)->lpVtbl->GetUserName(This,pbstrUserName) +#define IUri_GetHostType(This,pdwHostType) (This)->lpVtbl->GetHostType(This,pdwHostType) +#define IUri_GetPort(This,pdwPort) (This)->lpVtbl->GetPort(This,pdwPort) +#define IUri_GetScheme(This,pdwScheme) (This)->lpVtbl->GetScheme(This,pdwScheme) +#define IUri_GetZone(This,pdwZone) (This)->lpVtbl->GetZone(This,pdwZone) +#define IUri_GetProperties(This,pdwFlags) (This)->lpVtbl->GetProperties(This,pdwFlags) +#define IUri_IsEqual(This,pUri,pfEqual) (This)->lpVtbl->IsEqual(This,pUri,pfEqual) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUri_QueryInterface(IUri* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUri_AddRef(IUri* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUri_Release(IUri* This) { + return This->lpVtbl->Release(This); +} +/*** IUri methods ***/ +static FORCEINLINE HRESULT IUri_GetPropertyBSTR(IUri* This,Uri_PROPERTY uriProp,BSTR *pbstrProperty,DWORD dwFlags) { + return This->lpVtbl->GetPropertyBSTR(This,uriProp,pbstrProperty,dwFlags); +} +static FORCEINLINE HRESULT IUri_GetPropertyLength(IUri* This,Uri_PROPERTY uriProp,DWORD *pcchProperty,DWORD dwFlags) { + return This->lpVtbl->GetPropertyLength(This,uriProp,pcchProperty,dwFlags); +} +static FORCEINLINE HRESULT IUri_GetPropertyDWORD(IUri* This,Uri_PROPERTY uriProp,DWORD *pdwProperty,DWORD dwFlags) { + return This->lpVtbl->GetPropertyDWORD(This,uriProp,pdwProperty,dwFlags); +} +static FORCEINLINE HRESULT IUri_HasProperty(IUri* This,Uri_PROPERTY uriProp,BOOL *pfHasProperty) { + return This->lpVtbl->HasProperty(This,uriProp,pfHasProperty); +} +static FORCEINLINE HRESULT IUri_GetAbsoluteUri(IUri* This,BSTR *pbstrAbsoluteUri) { + return This->lpVtbl->GetAbsoluteUri(This,pbstrAbsoluteUri); +} +static FORCEINLINE HRESULT IUri_GetAuthority(IUri* This,BSTR *pbstrAuthority) { + return This->lpVtbl->GetAuthority(This,pbstrAuthority); +} +static FORCEINLINE HRESULT IUri_GetDisplayUri(IUri* This,BSTR *pbstrDisplayString) { + return This->lpVtbl->GetDisplayUri(This,pbstrDisplayString); +} +static FORCEINLINE HRESULT IUri_GetDomain(IUri* This,BSTR *pbstrDomain) { + return This->lpVtbl->GetDomain(This,pbstrDomain); +} +static FORCEINLINE HRESULT IUri_GetExtension(IUri* This,BSTR *pbstrExtension) { + return This->lpVtbl->GetExtension(This,pbstrExtension); +} +static FORCEINLINE HRESULT IUri_GetFragment(IUri* This,BSTR *pbstrFragment) { + return This->lpVtbl->GetFragment(This,pbstrFragment); +} +static FORCEINLINE HRESULT IUri_GetHost(IUri* This,BSTR *pbstrHost) { + return This->lpVtbl->GetHost(This,pbstrHost); +} +static FORCEINLINE HRESULT IUri_GetPassword(IUri* This,BSTR *pbstrPassword) { + return This->lpVtbl->GetPassword(This,pbstrPassword); +} +static FORCEINLINE HRESULT IUri_GetPath(IUri* This,BSTR *pbstrPath) { + return This->lpVtbl->GetPath(This,pbstrPath); +} +static FORCEINLINE HRESULT IUri_GetPathAndQuery(IUri* This,BSTR *pbstrPathAndQuery) { + return This->lpVtbl->GetPathAndQuery(This,pbstrPathAndQuery); +} +static FORCEINLINE HRESULT IUri_GetQuery(IUri* This,BSTR *pbstrQuery) { + return This->lpVtbl->GetQuery(This,pbstrQuery); +} +static FORCEINLINE HRESULT IUri_GetRawUri(IUri* This,BSTR *pbstrRawUri) { + return This->lpVtbl->GetRawUri(This,pbstrRawUri); +} +static FORCEINLINE HRESULT IUri_GetSchemeName(IUri* This,BSTR *pbstrSchemeName) { + return This->lpVtbl->GetSchemeName(This,pbstrSchemeName); +} +static FORCEINLINE HRESULT IUri_GetUserInfo(IUri* This,BSTR *pbstrUserInfo) { + return This->lpVtbl->GetUserInfo(This,pbstrUserInfo); +} +static FORCEINLINE HRESULT IUri_GetUserName(IUri* This,BSTR *pbstrUserName) { + return This->lpVtbl->GetUserName(This,pbstrUserName); +} +static FORCEINLINE HRESULT IUri_GetHostType(IUri* This,DWORD *pdwHostType) { + return This->lpVtbl->GetHostType(This,pdwHostType); +} +static FORCEINLINE HRESULT IUri_GetPort(IUri* This,DWORD *pdwPort) { + return This->lpVtbl->GetPort(This,pdwPort); +} +static FORCEINLINE HRESULT IUri_GetScheme(IUri* This,DWORD *pdwScheme) { + return This->lpVtbl->GetScheme(This,pdwScheme); +} +static FORCEINLINE HRESULT IUri_GetZone(IUri* This,DWORD *pdwZone) { + return This->lpVtbl->GetZone(This,pdwZone); +} +static FORCEINLINE HRESULT IUri_GetProperties(IUri* This,LPDWORD pdwFlags) { + return This->lpVtbl->GetProperties(This,pdwFlags); +} +static FORCEINLINE HRESULT IUri_IsEqual(IUri* This,IUri *pUri,BOOL *pfEqual) { + return This->lpVtbl->IsEqual(This,pUri,pfEqual); +} +#endif +#endif + +#endif + + +#endif /* __IUri_INTERFACE_DEFINED__ */ + +HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**); +HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**); +HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**); +#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI) +#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY) +#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI) +#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN) +#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION) +#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT) +#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST) +#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD) +#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH) +#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY) +#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI) +#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME) +#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME) +#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY) +#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO) +#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE) +#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT) +#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME) +#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE) +#define Uri_CREATE_ALLOW_RELATIVE 0x0001 +#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002 +#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004 +#define Uri_CREATE_NOFRAG 0x0008 +#define Uri_CREATE_NO_CANONICALIZE 0x0010 +#define Uri_CREATE_CANONICALIZE 0x0100 +#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020 +#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040 +#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080 +#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200 +#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400 +#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800 +#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000 +#define Uri_CREATE_IE_SETTINGS 0x2000 +#define Uri_CREATE_NO_IE_SETTINGS 0x4000 +#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000 +#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000 +#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000 +#define Uri_DISPLAY_NO_FRAGMENT 0x00000001 +#define Uri_PUNYCODE_IDN_HOST 0x00000002 +#define Uri_DISPLAY_IDN_HOST 0x00000004 +#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001 +#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002 +#define Uri_ENCODING_HOST_IS_IDN 0x00000004 +#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008 +#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010 +#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020 +#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040 +#define Uri_ENCODING_RFC (Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8) +#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001 +/***************************************************************************** + * IUriContainer interface + */ +#ifndef __IUriContainer_INTERFACE_DEFINED__ +#define __IUriContainer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUriContainer, 0xa158a630, 0xed6f, 0x45fb, 0xb9,0x87, 0xf6,0x86,0x76,0xf5,0x77,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a158a630-ed6f-45fb-b987-f68676f57752") +IUriContainer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIUri( + IUri **ppIUri) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUriContainer, 0xa158a630, 0xed6f, 0x45fb, 0xb9,0x87, 0xf6,0x86,0x76,0xf5,0x77,0x52) +#endif +#else +typedef struct IUriContainerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUriContainer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUriContainer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUriContainer *This); + + /*** IUriContainer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIUri)( + IUriContainer *This, + IUri **ppIUri); + + END_INTERFACE +} IUriContainerVtbl; + +interface IUriContainer { + CONST_VTBL IUriContainerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUriContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUriContainer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUriContainer_Release(This) (This)->lpVtbl->Release(This) +/*** IUriContainer methods ***/ +#define IUriContainer_GetIUri(This,ppIUri) (This)->lpVtbl->GetIUri(This,ppIUri) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUriContainer_QueryInterface(IUriContainer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUriContainer_AddRef(IUriContainer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUriContainer_Release(IUriContainer* This) { + return This->lpVtbl->Release(This); +} +/*** IUriContainer methods ***/ +static FORCEINLINE HRESULT IUriContainer_GetIUri(IUriContainer* This,IUri **ppIUri) { + return This->lpVtbl->GetIUri(This,ppIUri); +} +#endif +#endif + +#endif + + +#endif /* __IUriContainer_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUriBuilder interface + */ +#ifndef __IUriBuilder_INTERFACE_DEFINED__ +#define __IUriBuilder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUriBuilder, 0x4221b2e1, 0x8955, 0x46c0, 0xbd,0x5b, 0xde,0x98,0x97,0x56,0x5d,0xe7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4221b2e1-8955-46c0-bd5b-de9897565de7") +IUriBuilder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateUriSimple( + DWORD dwAllowEncodingPropertyMask, + DWORD_PTR dwReserved, + IUri **ppIUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUri( + DWORD dwCreateFlags, + DWORD dwAllowEncodingPropertyMask, + DWORD_PTR dwReserved, + IUri **ppIUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUriWithFlags( + DWORD dwCreateFlags, + DWORD dwUriBuilderFlags, + DWORD dwAllowEncodingPropertyMask, + DWORD_PTR dwReserved, + IUri **ppIUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIUri( + IUri **ppIUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIUri( + IUri *pIUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFragment( + DWORD *pcchFragment, + LPCWSTR *ppwzFragment) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetHost( + DWORD *pcchHost, + LPCWSTR *ppwzHost) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPassword( + DWORD *pcchPassword, + LPCWSTR *ppwzPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPath( + DWORD *pcchPath, + LPCWSTR *ppwzPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPort( + BOOL *pfHasPort, + DWORD *pdwPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetQuery( + DWORD *pcchQuery, + LPCWSTR *ppwzQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSchemeName( + DWORD *pcchSchemeName, + LPCWSTR *ppwzSchemeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserName( + DWORD *pcchUserName, + LPCWSTR *ppwzUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFragment( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetHost( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPassword( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPath( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPort( + BOOL fHasPort, + DWORD dwNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetQuery( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSchemeName( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUserName( + LPCWSTR pwzNewValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveProperties( + DWORD dwPropertyMask) = 0; + + virtual HRESULT STDMETHODCALLTYPE HasBeenModified( + BOOL *pfModified) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUriBuilder, 0x4221b2e1, 0x8955, 0x46c0, 0xbd,0x5b, 0xde,0x98,0x97,0x56,0x5d,0xe7) +#endif +#else +typedef struct IUriBuilderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUriBuilder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUriBuilder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUriBuilder *This); + + /*** IUriBuilder methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateUriSimple)( + IUriBuilder *This, + DWORD dwAllowEncodingPropertyMask, + DWORD_PTR dwReserved, + IUri **ppIUri); + + HRESULT (STDMETHODCALLTYPE *CreateUri)( + IUriBuilder *This, + DWORD dwCreateFlags, + DWORD dwAllowEncodingPropertyMask, + DWORD_PTR dwReserved, + IUri **ppIUri); + + HRESULT (STDMETHODCALLTYPE *CreateUriWithFlags)( + IUriBuilder *This, + DWORD dwCreateFlags, + DWORD dwUriBuilderFlags, + DWORD dwAllowEncodingPropertyMask, + DWORD_PTR dwReserved, + IUri **ppIUri); + + HRESULT (STDMETHODCALLTYPE *GetIUri)( + IUriBuilder *This, + IUri **ppIUri); + + HRESULT (STDMETHODCALLTYPE *SetIUri)( + IUriBuilder *This, + IUri *pIUri); + + HRESULT (STDMETHODCALLTYPE *GetFragment)( + IUriBuilder *This, + DWORD *pcchFragment, + LPCWSTR *ppwzFragment); + + HRESULT (STDMETHODCALLTYPE *GetHost)( + IUriBuilder *This, + DWORD *pcchHost, + LPCWSTR *ppwzHost); + + HRESULT (STDMETHODCALLTYPE *GetPassword)( + IUriBuilder *This, + DWORD *pcchPassword, + LPCWSTR *ppwzPassword); + + HRESULT (STDMETHODCALLTYPE *GetPath)( + IUriBuilder *This, + DWORD *pcchPath, + LPCWSTR *ppwzPath); + + HRESULT (STDMETHODCALLTYPE *GetPort)( + IUriBuilder *This, + BOOL *pfHasPort, + DWORD *pdwPort); + + HRESULT (STDMETHODCALLTYPE *GetQuery)( + IUriBuilder *This, + DWORD *pcchQuery, + LPCWSTR *ppwzQuery); + + HRESULT (STDMETHODCALLTYPE *GetSchemeName)( + IUriBuilder *This, + DWORD *pcchSchemeName, + LPCWSTR *ppwzSchemeName); + + HRESULT (STDMETHODCALLTYPE *GetUserName)( + IUriBuilder *This, + DWORD *pcchUserName, + LPCWSTR *ppwzUserName); + + HRESULT (STDMETHODCALLTYPE *SetFragment)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *SetHost)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *SetPassword)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *SetPath)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *SetPort)( + IUriBuilder *This, + BOOL fHasPort, + DWORD dwNewValue); + + HRESULT (STDMETHODCALLTYPE *SetQuery)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *SetSchemeName)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *SetUserName)( + IUriBuilder *This, + LPCWSTR pwzNewValue); + + HRESULT (STDMETHODCALLTYPE *RemoveProperties)( + IUriBuilder *This, + DWORD dwPropertyMask); + + HRESULT (STDMETHODCALLTYPE *HasBeenModified)( + IUriBuilder *This, + BOOL *pfModified); + + END_INTERFACE +} IUriBuilderVtbl; + +interface IUriBuilder { + CONST_VTBL IUriBuilderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUriBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUriBuilder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUriBuilder_Release(This) (This)->lpVtbl->Release(This) +/*** IUriBuilder methods ***/ +#define IUriBuilder_CreateUriSimple(This,dwAllowEncodingPropertyMask,dwReserved,ppIUri) (This)->lpVtbl->CreateUriSimple(This,dwAllowEncodingPropertyMask,dwReserved,ppIUri) +#define IUriBuilder_CreateUri(This,dwCreateFlags,dwAllowEncodingPropertyMask,dwReserved,ppIUri) (This)->lpVtbl->CreateUri(This,dwCreateFlags,dwAllowEncodingPropertyMask,dwReserved,ppIUri) +#define IUriBuilder_CreateUriWithFlags(This,dwCreateFlags,dwUriBuilderFlags,dwAllowEncodingPropertyMask,dwReserved,ppIUri) (This)->lpVtbl->CreateUriWithFlags(This,dwCreateFlags,dwUriBuilderFlags,dwAllowEncodingPropertyMask,dwReserved,ppIUri) +#define IUriBuilder_GetIUri(This,ppIUri) (This)->lpVtbl->GetIUri(This,ppIUri) +#define IUriBuilder_SetIUri(This,pIUri) (This)->lpVtbl->SetIUri(This,pIUri) +#define IUriBuilder_GetFragment(This,pcchFragment,ppwzFragment) (This)->lpVtbl->GetFragment(This,pcchFragment,ppwzFragment) +#define IUriBuilder_GetHost(This,pcchHost,ppwzHost) (This)->lpVtbl->GetHost(This,pcchHost,ppwzHost) +#define IUriBuilder_GetPassword(This,pcchPassword,ppwzPassword) (This)->lpVtbl->GetPassword(This,pcchPassword,ppwzPassword) +#define IUriBuilder_GetPath(This,pcchPath,ppwzPath) (This)->lpVtbl->GetPath(This,pcchPath,ppwzPath) +#define IUriBuilder_GetPort(This,pfHasPort,pdwPort) (This)->lpVtbl->GetPort(This,pfHasPort,pdwPort) +#define IUriBuilder_GetQuery(This,pcchQuery,ppwzQuery) (This)->lpVtbl->GetQuery(This,pcchQuery,ppwzQuery) +#define IUriBuilder_GetSchemeName(This,pcchSchemeName,ppwzSchemeName) (This)->lpVtbl->GetSchemeName(This,pcchSchemeName,ppwzSchemeName) +#define IUriBuilder_GetUserName(This,pcchUserName,ppwzUserName) (This)->lpVtbl->GetUserName(This,pcchUserName,ppwzUserName) +#define IUriBuilder_SetFragment(This,pwzNewValue) (This)->lpVtbl->SetFragment(This,pwzNewValue) +#define IUriBuilder_SetHost(This,pwzNewValue) (This)->lpVtbl->SetHost(This,pwzNewValue) +#define IUriBuilder_SetPassword(This,pwzNewValue) (This)->lpVtbl->SetPassword(This,pwzNewValue) +#define IUriBuilder_SetPath(This,pwzNewValue) (This)->lpVtbl->SetPath(This,pwzNewValue) +#define IUriBuilder_SetPort(This,fHasPort,dwNewValue) (This)->lpVtbl->SetPort(This,fHasPort,dwNewValue) +#define IUriBuilder_SetQuery(This,pwzNewValue) (This)->lpVtbl->SetQuery(This,pwzNewValue) +#define IUriBuilder_SetSchemeName(This,pwzNewValue) (This)->lpVtbl->SetSchemeName(This,pwzNewValue) +#define IUriBuilder_SetUserName(This,pwzNewValue) (This)->lpVtbl->SetUserName(This,pwzNewValue) +#define IUriBuilder_RemoveProperties(This,dwPropertyMask) (This)->lpVtbl->RemoveProperties(This,dwPropertyMask) +#define IUriBuilder_HasBeenModified(This,pfModified) (This)->lpVtbl->HasBeenModified(This,pfModified) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUriBuilder_QueryInterface(IUriBuilder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUriBuilder_AddRef(IUriBuilder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUriBuilder_Release(IUriBuilder* This) { + return This->lpVtbl->Release(This); +} +/*** IUriBuilder methods ***/ +static FORCEINLINE HRESULT IUriBuilder_CreateUriSimple(IUriBuilder* This,DWORD dwAllowEncodingPropertyMask,DWORD_PTR dwReserved,IUri **ppIUri) { + return This->lpVtbl->CreateUriSimple(This,dwAllowEncodingPropertyMask,dwReserved,ppIUri); +} +static FORCEINLINE HRESULT IUriBuilder_CreateUri(IUriBuilder* This,DWORD dwCreateFlags,DWORD dwAllowEncodingPropertyMask,DWORD_PTR dwReserved,IUri **ppIUri) { + return This->lpVtbl->CreateUri(This,dwCreateFlags,dwAllowEncodingPropertyMask,dwReserved,ppIUri); +} +static FORCEINLINE HRESULT IUriBuilder_CreateUriWithFlags(IUriBuilder* This,DWORD dwCreateFlags,DWORD dwUriBuilderFlags,DWORD dwAllowEncodingPropertyMask,DWORD_PTR dwReserved,IUri **ppIUri) { + return This->lpVtbl->CreateUriWithFlags(This,dwCreateFlags,dwUriBuilderFlags,dwAllowEncodingPropertyMask,dwReserved,ppIUri); +} +static FORCEINLINE HRESULT IUriBuilder_GetIUri(IUriBuilder* This,IUri **ppIUri) { + return This->lpVtbl->GetIUri(This,ppIUri); +} +static FORCEINLINE HRESULT IUriBuilder_SetIUri(IUriBuilder* This,IUri *pIUri) { + return This->lpVtbl->SetIUri(This,pIUri); +} +static FORCEINLINE HRESULT IUriBuilder_GetFragment(IUriBuilder* This,DWORD *pcchFragment,LPCWSTR *ppwzFragment) { + return This->lpVtbl->GetFragment(This,pcchFragment,ppwzFragment); +} +static FORCEINLINE HRESULT IUriBuilder_GetHost(IUriBuilder* This,DWORD *pcchHost,LPCWSTR *ppwzHost) { + return This->lpVtbl->GetHost(This,pcchHost,ppwzHost); +} +static FORCEINLINE HRESULT IUriBuilder_GetPassword(IUriBuilder* This,DWORD *pcchPassword,LPCWSTR *ppwzPassword) { + return This->lpVtbl->GetPassword(This,pcchPassword,ppwzPassword); +} +static FORCEINLINE HRESULT IUriBuilder_GetPath(IUriBuilder* This,DWORD *pcchPath,LPCWSTR *ppwzPath) { + return This->lpVtbl->GetPath(This,pcchPath,ppwzPath); +} +static FORCEINLINE HRESULT IUriBuilder_GetPort(IUriBuilder* This,BOOL *pfHasPort,DWORD *pdwPort) { + return This->lpVtbl->GetPort(This,pfHasPort,pdwPort); +} +static FORCEINLINE HRESULT IUriBuilder_GetQuery(IUriBuilder* This,DWORD *pcchQuery,LPCWSTR *ppwzQuery) { + return This->lpVtbl->GetQuery(This,pcchQuery,ppwzQuery); +} +static FORCEINLINE HRESULT IUriBuilder_GetSchemeName(IUriBuilder* This,DWORD *pcchSchemeName,LPCWSTR *ppwzSchemeName) { + return This->lpVtbl->GetSchemeName(This,pcchSchemeName,ppwzSchemeName); +} +static FORCEINLINE HRESULT IUriBuilder_GetUserName(IUriBuilder* This,DWORD *pcchUserName,LPCWSTR *ppwzUserName) { + return This->lpVtbl->GetUserName(This,pcchUserName,ppwzUserName); +} +static FORCEINLINE HRESULT IUriBuilder_SetFragment(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetFragment(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetHost(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetHost(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetPassword(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetPassword(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetPath(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetPath(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetPort(IUriBuilder* This,BOOL fHasPort,DWORD dwNewValue) { + return This->lpVtbl->SetPort(This,fHasPort,dwNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetQuery(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetQuery(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetSchemeName(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetSchemeName(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_SetUserName(IUriBuilder* This,LPCWSTR pwzNewValue) { + return This->lpVtbl->SetUserName(This,pwzNewValue); +} +static FORCEINLINE HRESULT IUriBuilder_RemoveProperties(IUriBuilder* This,DWORD dwPropertyMask) { + return This->lpVtbl->RemoveProperties(This,dwPropertyMask); +} +static FORCEINLINE HRESULT IUriBuilder_HasBeenModified(IUriBuilder* This,BOOL *pfModified) { + return This->lpVtbl->HasBeenModified(This,pfModified); +} +#endif +#endif + +#endif + + +#endif /* __IUriBuilder_INTERFACE_DEFINED__ */ + +HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**); +/***************************************************************************** + * IUriBuilderFactory interface + */ +#ifndef __IUriBuilderFactory_INTERFACE_DEFINED__ +#define __IUriBuilderFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUriBuilderFactory, 0xe982ce48, 0x0b96, 0x440c, 0xbc,0x37, 0x0c,0x86,0x9b,0x27,0xa2,0x9e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e982ce48-0b96-440c-bc37-0c869b27a29e") +IUriBuilderFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateIUriBuilder( + DWORD dwFlags, + DWORD_PTR dwReserved, + IUriBuilder **ppIUriBuilder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInitializedIUriBuilder( + DWORD dwFlags, + DWORD_PTR dwReserved, + IUriBuilder **ppIUriBuilder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUriBuilderFactory, 0xe982ce48, 0x0b96, 0x440c, 0xbc,0x37, 0x0c,0x86,0x9b,0x27,0xa2,0x9e) +#endif +#else +typedef struct IUriBuilderFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUriBuilderFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUriBuilderFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUriBuilderFactory *This); + + /*** IUriBuilderFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateIUriBuilder)( + IUriBuilderFactory *This, + DWORD dwFlags, + DWORD_PTR dwReserved, + IUriBuilder **ppIUriBuilder); + + HRESULT (STDMETHODCALLTYPE *CreateInitializedIUriBuilder)( + IUriBuilderFactory *This, + DWORD dwFlags, + DWORD_PTR dwReserved, + IUriBuilder **ppIUriBuilder); + + END_INTERFACE +} IUriBuilderFactoryVtbl; + +interface IUriBuilderFactory { + CONST_VTBL IUriBuilderFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUriBuilderFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUriBuilderFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUriBuilderFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IUriBuilderFactory methods ***/ +#define IUriBuilderFactory_CreateIUriBuilder(This,dwFlags,dwReserved,ppIUriBuilder) (This)->lpVtbl->CreateIUriBuilder(This,dwFlags,dwReserved,ppIUriBuilder) +#define IUriBuilderFactory_CreateInitializedIUriBuilder(This,dwFlags,dwReserved,ppIUriBuilder) (This)->lpVtbl->CreateInitializedIUriBuilder(This,dwFlags,dwReserved,ppIUriBuilder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUriBuilderFactory_QueryInterface(IUriBuilderFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUriBuilderFactory_AddRef(IUriBuilderFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUriBuilderFactory_Release(IUriBuilderFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IUriBuilderFactory methods ***/ +static FORCEINLINE HRESULT IUriBuilderFactory_CreateIUriBuilder(IUriBuilderFactory* This,DWORD dwFlags,DWORD_PTR dwReserved,IUriBuilder **ppIUriBuilder) { + return This->lpVtbl->CreateIUriBuilder(This,dwFlags,dwReserved,ppIUriBuilder); +} +static FORCEINLINE HRESULT IUriBuilderFactory_CreateInitializedIUriBuilder(IUriBuilderFactory* This,DWORD dwFlags,DWORD_PTR dwReserved,IUriBuilder **ppIUriBuilder) { + return This->lpVtbl->CreateInitializedIUriBuilder(This,dwFlags,dwReserved,ppIUriBuilder); +} +#endif +#endif + +#endif + + +#endif /* __IUriBuilderFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInternetProtocolEx interface + */ +#ifndef __IInternetProtocolEx_INTERFACE_DEFINED__ +#define __IInternetProtocolEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInternetProtocolEx, 0xc7a98e66, 0x1010, 0x492c, 0xa1,0xc8, 0xc8,0x09,0xe1,0xf7,0x59,0x05); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c7a98e66-1010-492c-a1c8-c809e1f75905") +IInternetProtocolEx : public IInternetProtocol +{ + virtual HRESULT STDMETHODCALLTYPE StartEx( + IUri *pUri, + IInternetProtocolSink *pOIProtSink, + IInternetBindInfo *pOIBindInfo, + DWORD grfPI, + HANDLE *dwReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInternetProtocolEx, 0xc7a98e66, 0x1010, 0x492c, 0xa1,0xc8, 0xc8,0x09,0xe1,0xf7,0x59,0x05) +#endif +#else +typedef struct IInternetProtocolExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInternetProtocolEx *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInternetProtocolEx *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInternetProtocolEx *This); + + /*** IInternetProtocolRoot methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IInternetProtocolEx *This, + LPCWSTR szUrl, + IInternetProtocolSink *pOIProtSink, + IInternetBindInfo *pOIBindInfo, + DWORD grfPI, + HANDLE_PTR dwReserved); + + HRESULT (STDMETHODCALLTYPE *Continue)( + IInternetProtocolEx *This, + PROTOCOLDATA *pProtocolData); + + HRESULT (STDMETHODCALLTYPE *Abort)( + IInternetProtocolEx *This, + HRESULT hrReason, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *Terminate)( + IInternetProtocolEx *This, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *Suspend)( + IInternetProtocolEx *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IInternetProtocolEx *This); + + /*** IInternetProtocol methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IInternetProtocolEx *This, + void *pv, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Seek)( + IInternetProtocolEx *This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); + + HRESULT (STDMETHODCALLTYPE *LockRequest)( + IInternetProtocolEx *This, + DWORD dwOptions); + + HRESULT (STDMETHODCALLTYPE *UnlockRequest)( + IInternetProtocolEx *This); + + /*** IInternetProtocolEx methods ***/ + HRESULT (STDMETHODCALLTYPE *StartEx)( + IInternetProtocolEx *This, + IUri *pUri, + IInternetProtocolSink *pOIProtSink, + IInternetBindInfo *pOIBindInfo, + DWORD grfPI, + HANDLE *dwReserved); + + END_INTERFACE +} IInternetProtocolExVtbl; + +interface IInternetProtocolEx { + CONST_VTBL IInternetProtocolExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInternetProtocolEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInternetProtocolEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInternetProtocolEx_Release(This) (This)->lpVtbl->Release(This) +/*** IInternetProtocolRoot methods ***/ +#define IInternetProtocolEx_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) (This)->lpVtbl->Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) +#define IInternetProtocolEx_Continue(This,pProtocolData) (This)->lpVtbl->Continue(This,pProtocolData) +#define IInternetProtocolEx_Abort(This,hrReason,dwOptions) (This)->lpVtbl->Abort(This,hrReason,dwOptions) +#define IInternetProtocolEx_Terminate(This,dwOptions) (This)->lpVtbl->Terminate(This,dwOptions) +#define IInternetProtocolEx_Suspend(This) (This)->lpVtbl->Suspend(This) +#define IInternetProtocolEx_Resume(This) (This)->lpVtbl->Resume(This) +/*** IInternetProtocol methods ***/ +#define IInternetProtocolEx_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) +#define IInternetProtocolEx_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition) +#define IInternetProtocolEx_LockRequest(This,dwOptions) (This)->lpVtbl->LockRequest(This,dwOptions) +#define IInternetProtocolEx_UnlockRequest(This) (This)->lpVtbl->UnlockRequest(This) +/*** IInternetProtocolEx methods ***/ +#define IInternetProtocolEx_StartEx(This,pUri,pOIProtSink,pOIBindInfo,grfPI,dwReserved) (This)->lpVtbl->StartEx(This,pUri,pOIProtSink,pOIBindInfo,grfPI,dwReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInternetProtocolEx_QueryInterface(IInternetProtocolEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInternetProtocolEx_AddRef(IInternetProtocolEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInternetProtocolEx_Release(IInternetProtocolEx* This) { + return This->lpVtbl->Release(This); +} +/*** IInternetProtocolRoot methods ***/ +static FORCEINLINE HRESULT IInternetProtocolEx_Start(IInternetProtocolEx* This,LPCWSTR szUrl,IInternetProtocolSink *pOIProtSink,IInternetBindInfo *pOIBindInfo,DWORD grfPI,HANDLE_PTR dwReserved) { + return This->lpVtbl->Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved); +} +static FORCEINLINE HRESULT IInternetProtocolEx_Continue(IInternetProtocolEx* This,PROTOCOLDATA *pProtocolData) { + return This->lpVtbl->Continue(This,pProtocolData); +} +static FORCEINLINE HRESULT IInternetProtocolEx_Abort(IInternetProtocolEx* This,HRESULT hrReason,DWORD dwOptions) { + return This->lpVtbl->Abort(This,hrReason,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocolEx_Terminate(IInternetProtocolEx* This,DWORD dwOptions) { + return This->lpVtbl->Terminate(This,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocolEx_Suspend(IInternetProtocolEx* This) { + return This->lpVtbl->Suspend(This); +} +static FORCEINLINE HRESULT IInternetProtocolEx_Resume(IInternetProtocolEx* This) { + return This->lpVtbl->Resume(This); +} +/*** IInternetProtocol methods ***/ +static FORCEINLINE HRESULT IInternetProtocolEx_Read(IInternetProtocolEx* This,void *pv,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->Read(This,pv,cb,pcbRead); +} +static FORCEINLINE HRESULT IInternetProtocolEx_Seek(IInternetProtocolEx* This,LARGE_INTEGER dlibMove,DWORD dwOrigin,ULARGE_INTEGER *plibNewPosition) { + return This->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition); +} +static FORCEINLINE HRESULT IInternetProtocolEx_LockRequest(IInternetProtocolEx* This,DWORD dwOptions) { + return This->lpVtbl->LockRequest(This,dwOptions); +} +static FORCEINLINE HRESULT IInternetProtocolEx_UnlockRequest(IInternetProtocolEx* This) { + return This->lpVtbl->UnlockRequest(This); +} +/*** IInternetProtocolEx methods ***/ +static FORCEINLINE HRESULT IInternetProtocolEx_StartEx(IInternetProtocolEx* This,IUri *pUri,IInternetProtocolSink *pOIProtSink,IInternetBindInfo *pOIBindInfo,DWORD grfPI,HANDLE *dwReserved) { + return This->lpVtbl->StartEx(This,pUri,pOIProtSink,pOIBindInfo,grfPI,dwReserved); +} +#endif +#endif + +#endif + + +#endif /* __IInternetProtocolEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IGetBindHandle interface + */ +#ifndef __IGetBindHandle_INTERFACE_DEFINED__ +#define __IGetBindHandle_INTERFACE_DEFINED__ + +typedef IGetBindHandle *LPGETBINDHANDLE; +typedef enum __WIDL_urlmon_generated_name_00000010 { + BINDHANDLETYPES_APPCACHE = 0x0, + BINDHANDLETYPES_DEPENDENCY = 0x1, + BINDHANDLETYPES_COUNT = 0x2 +} BINDHANDLETYPES; +DEFINE_GUID(IID_IGetBindHandle, 0xaf0ff408, 0x129d, 0x4b20, 0x91,0xf0, 0x02,0xbd,0x23,0xd8,0x83,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("af0ff408-129d-4b20-91f0-02bd23d88352") +IGetBindHandle : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetBindHandle( + BINDHANDLETYPES enumRequestedHandle, + HANDLE *pRetHandle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IGetBindHandle, 0xaf0ff408, 0x129d, 0x4b20, 0x91,0xf0, 0x02,0xbd,0x23,0xd8,0x83,0x52) +#endif +#else +typedef struct IGetBindHandleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IGetBindHandle *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IGetBindHandle *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IGetBindHandle *This); + + /*** IGetBindHandle methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBindHandle)( + IGetBindHandle *This, + BINDHANDLETYPES enumRequestedHandle, + HANDLE *pRetHandle); + + END_INTERFACE +} IGetBindHandleVtbl; + +interface IGetBindHandle { + CONST_VTBL IGetBindHandleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IGetBindHandle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IGetBindHandle_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IGetBindHandle_Release(This) (This)->lpVtbl->Release(This) +/*** IGetBindHandle methods ***/ +#define IGetBindHandle_GetBindHandle(This,enumRequestedHandle,pRetHandle) (This)->lpVtbl->GetBindHandle(This,enumRequestedHandle,pRetHandle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IGetBindHandle_QueryInterface(IGetBindHandle* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IGetBindHandle_AddRef(IGetBindHandle* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IGetBindHandle_Release(IGetBindHandle* This) { + return This->lpVtbl->Release(This); +} +/*** IGetBindHandle methods ***/ +static FORCEINLINE HRESULT IGetBindHandle_GetBindHandle(IGetBindHandle* This,BINDHANDLETYPES enumRequestedHandle,HANDLE *pRetHandle) { + return This->lpVtbl->GetBindHandle(This,enumRequestedHandle,pRetHandle); +} +#endif +#endif + +#endif + + +#endif /* __IGetBindHandle_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IBindCallbackRedirect interface + */ +#ifndef __IBindCallbackRedirect_INTERFACE_DEFINED__ +#define __IBindCallbackRedirect_INTERFACE_DEFINED__ + +typedef IBindCallbackRedirect *LPBINDCALLBACKREDIRECT; +DEFINE_GUID(IID_IBindCallbackRedirect, 0x11c81bc2, 0x121e, 0x4ed5, 0xb9,0xc4, 0xb4,0x30,0xbd,0x54,0xf2,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("11c81bc2-121e-4ed5-b9c4-b430bd54f2c0") +IBindCallbackRedirect : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Redirect( + LPCWSTR lpcUrl, + VARIANT_BOOL *vbCancel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IBindCallbackRedirect, 0x11c81bc2, 0x121e, 0x4ed5, 0xb9,0xc4, 0xb4,0x30,0xbd,0x54,0xf2,0xc0) +#endif +#else +typedef struct IBindCallbackRedirectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IBindCallbackRedirect *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IBindCallbackRedirect *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IBindCallbackRedirect *This); + + /*** IBindCallbackRedirect methods ***/ + HRESULT (STDMETHODCALLTYPE *Redirect)( + IBindCallbackRedirect *This, + LPCWSTR lpcUrl, + VARIANT_BOOL *vbCancel); + + END_INTERFACE +} IBindCallbackRedirectVtbl; + +interface IBindCallbackRedirect { + CONST_VTBL IBindCallbackRedirectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IBindCallbackRedirect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IBindCallbackRedirect_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IBindCallbackRedirect_Release(This) (This)->lpVtbl->Release(This) +/*** IBindCallbackRedirect methods ***/ +#define IBindCallbackRedirect_Redirect(This,lpcUrl,vbCancel) (This)->lpVtbl->Redirect(This,lpcUrl,vbCancel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IBindCallbackRedirect_QueryInterface(IBindCallbackRedirect* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IBindCallbackRedirect_AddRef(IBindCallbackRedirect* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IBindCallbackRedirect_Release(IBindCallbackRedirect* This) { + return This->lpVtbl->Release(This); +} +/*** IBindCallbackRedirect methods ***/ +static FORCEINLINE HRESULT IBindCallbackRedirect_Redirect(IBindCallbackRedirect* This,LPCWSTR lpcUrl,VARIANT_BOOL *vbCancel) { + return This->lpVtbl->Redirect(This,lpcUrl,vbCancel); +} +#endif +#endif + +#endif + + +#endif /* __IBindCallbackRedirect_INTERFACE_DEFINED__ */ + +#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001 +struct CONFIRMSAFETY { + CLSID clsid; + IUnknown *pUnk; + DWORD dwFlags; +}; +EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY; +DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4); +DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4); +DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B); +DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B); +DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B); +DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11); +DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02); +DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B); +DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B); +DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B); +DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B); +DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B); +DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B); +#define URLMON_OPTION_USERAGENT 0x10000001 +#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002 +#define URLMON_OPTION_URL_ENCODING 0x10000004 +#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8) +#ifndef S_ASYNCHRONOUS +#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS +#endif +#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002) +#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002) +#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003) +#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004) +#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005) +#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006) +#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007) +#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008) +#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009) +#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A) +#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B) +#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C) +#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D) +#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E) +#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F) +#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010) +#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011) +#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L) +#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER +#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013) +#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014) +#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015) +#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016) +#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017) +#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018) +#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019) +#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100) +#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200) +#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300) +#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400) +#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500) +#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501) +#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE +HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*); +HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk); +HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD); +HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD); +HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved); +HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD); +HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD); +HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**); +HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk); +HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**); +HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD); +HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD); +HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD); +HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR); +HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD); +HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR); +HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD); +HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD); +HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR); +HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD); +HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL); +HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags); +HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*); +HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD); +HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR); +HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD); +HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**); +HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi); +HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD); +HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD); +HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*); +HRESULT WINAPI HlinkGoBack(IUnknown*); +HRESULT WINAPI HlinkGoForward(IUnknown*); +HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*); +HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR); +HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD); +HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD); +HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD); +HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*); +HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD); +HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*); +HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*); +HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*); +HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*); +void WINAPI ReleaseBindInfo(BINDINFO*); +HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD); +HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD); +HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK); +HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK); +#define OInetCombineUrl CoInternetCombineUrl +#define OInetCompareUrl CoInternetCompareUrl +#define OInetGetSession CoInternetGetSession +BOOL WINAPI IsLoggingEnabledA(LPCSTR); +BOOL WINAPI IsLoggingEnabledW(LPCWSTR); +#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled) +#define MKSYS_URLMONIKER 6 +#define URL_MK_LEGACY 0 +#define URL_MK_UNIFORM 1 +#define URL_MK_NO_CANONICALIZE 2 +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *); +unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *); +void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *); +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __urlmon_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlmon.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlmon.idl new file mode 100644 index 0000000..9a39a7c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/urlmon.idl @@ -0,0 +1,2243 @@ +/* + * Copyright (C) 2000 Ulrich Czekalla + * Copyright (C) 2003 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; +import "servprov.idl"; +import "msxml.idl"; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetUserName") +cpp_quote("#undef SetPort") +cpp_quote("#endif") + +interface IInternetProtocolSink; +interface IUri; + +/***************************************************************************** + * IInternet interface + */ +[ + object, + uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique), + local +] +interface IInternet : IUnknown +{ + typedef [unique] IInternet *LPIINTERNET; +} + +/***************************************************************************** + * IBinding interface + */ +[ + object, + uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IBinding : IUnknown +{ + typedef [unique] IBinding *LPBINDING; + + HRESULT Abort(); + HRESULT Suspend(); + HRESULT Resume(); + + HRESULT SetPriority( + [in] LONG nPriority); + + HRESULT GetPriority( + [out] LONG * pnPriority); + + [local] + HRESULT GetBindResult( + [out] CLSID *pclsidProtocol, + [out] DWORD *pdwResult, + [out] LPOLESTR *pszResult, + [in, out] DWORD *pdwReserved); + + [call_as(GetBindResult)] + HRESULT RemoteGetBindResult( + [out] CLSID *pclsidProtocol, + [out] DWORD *pdwResult, + [out] LPOLESTR *pszResult, + [in] DWORD dwReserved); +} + + +/***************************************************************************** + * IBindStatusCallback interface + */ +[ + object, + uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IBindStatusCallback : IUnknown +{ + typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK; + + typedef enum + { + BINDVERB_GET = 0x00000000, + BINDVERB_POST = 0x00000001, + BINDVERB_PUT = 0x00000002, + BINDVERB_CUSTOM = 0x00000003 + } BINDVERB; + + typedef enum + { + BINDINFOF_URLENCODESTGMEDDATA = 0x00000001, + BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002 + } BINDINFOF; + + typedef enum + { + BINDF_ASYNCHRONOUS = 0x00000001, + BINDF_ASYNCSTORAGE = 0x00000002, + BINDF_NOPROGRESSIVERENDERING = 0x00000004, + BINDF_OFFLINEOPERATION = 0x00000008, + BINDF_GETNEWESTVERSION = 0x00000010, + BINDF_NOWRITECACHE = 0x00000020, + BINDF_NEEDFILE = 0x00000040, + BINDF_PULLDATA = 0x00000080, + BINDF_IGNORESECURITYPROBLEM = 0x00000100, + BINDF_RESYNCHRONIZE = 0x00000200, + BINDF_HYPERLINK = 0x00000400, + BINDF_NO_UI = 0x00000800, + BINDF_SILENTOPERATION = 0x00001000, + BINDF_PRAGMA_NO_CACHE = 0x00002000, + BINDF_GETCLASSOBJECT = 0x00004000, + BINDF_RESERVED_1 = 0x00008000, + BINDF_FREE_THREADED = 0x00010000, + BINDF_DIRECT_READ = 0x00020000, + BINDF_FORMS_SUBMIT = 0x00040000, + BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000, + BINDF_FROMURLMON = 0x00100000, + BINDF_FWD_BACK = 0x00200000, + BINDF_PREFERDEFAULTHANDLER = 0x00400000, + BINDF_ENFORCERESTRICTED = 0x00800000 + } BINDF; + + typedef enum + { + URL_ENCODING_NONE = 0x00000000, + URL_ENCODING_ENABLE_UTF8 = 0x10000000, + URL_ENCODING_DISABLE_UTF8 = 0x20000000 + } URL_ENCODING; + + typedef struct _tagBINDINFO + { + ULONG cbSize; + LPWSTR szExtraInfo; + STGMEDIUM stgmedData; + DWORD grfBindInfoF; + DWORD dwBindVerb; + LPWSTR szCustomVerb; + DWORD cbstgmedData; + DWORD dwOptions; + DWORD dwOptionsFlags; + DWORD dwCodePage; + SECURITY_ATTRIBUTES securityAttributes; + IID iid; + IUnknown *pUnk; + DWORD dwReserved; + } BINDINFO; + + typedef struct _REMSECURITY_ATTRIBUTES + { + DWORD nLength; + DWORD lpSecurityDescriptor; + BOOL bInheritHandle; + } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES; + + typedef struct _tagRemBINDINFO + { + ULONG cbSize; + LPWSTR szExtraInfo; + DWORD grfBindInfoF; + DWORD dwBindVerb; + LPWSTR szCustomVerb; + DWORD cbstgmedData; + DWORD dwOptions; + DWORD dwOptionsFlags; + DWORD dwCodePage; + REMSECURITY_ATTRIBUTES securityAttributes; + IID iid; + IUnknown *pUnk; + DWORD dwReserved; + } RemBINDINFO; + + typedef struct tagRemFORMATETC + { + DWORD cfFormat; + DWORD ptd; + DWORD dwAspect; + LONG lindex; + DWORD tymed; + } RemFORMATETC, *LPREMFORMATETC; + + typedef enum + { + BINDINFO_OPTIONS_WININETFLAG = 0x00010000, + BINDINFO_OPTIONS_ENABLE_UTF8 = 0x00020000, + BINDINFO_OPTIONS_DISABLE_UTF8 = 0x00040000, + BINDINFO_OPTIONS_USE_IE_ENCODING = 0x00080000, + BINDINFO_OPTIONS_BINDTOOBJECT = 0x00100000, + BINDINFO_OPTIONS_SECURITYOPTOUT = 0x00200000, + BINDINFO_OPTIONS_IGNOREMIMETEXTPLAIN = 0x00400000, + BINDINFO_OPTIONS_USEBINDSTRINGCREDS = 0x00800000, + BINDINFO_OPTIONS_IGNOREHTTPHTTPSREDIRECTS = 0x01000000, + BINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE = 0x02000000, + BINDINFO_WPC_DOWNLOADBLOCKED = 0x08000000, + BINDINFO_WPC_LOGGING_ENABLED = 0x10000000, + BINDINFO_OPTIONS_ALLOWCONNECTDATA = 0x20000000, + BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS = 0x40000000, + BINDINFO_OPTIONS_SHDOCVW_NAVIGATE = (int)0x80000000 + } BINDINFO_OPTIONS; + + typedef enum + { + BSCF_FIRSTDATANOTIFICATION = 0x01, + BSCF_INTERMEDIATEDATANOTIFICATION = 0x02, + BSCF_LASTDATANOTIFICATION = 0x04, + BSCF_DATAFULLYAVAILABLE = 0x08, + BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10, + BSCF_SKIPDRAINDATAFORFILEURLS = 0x20, + BSCF_64BITLENGTHDOWNLOAD = 0x40 + } BSCF; + + typedef enum BINDSTATUS + { + BINDSTATUS_FINDINGRESOURCE = 1, + BINDSTATUS_CONNECTING, + BINDSTATUS_REDIRECTING, + BINDSTATUS_BEGINDOWNLOADDATA, + BINDSTATUS_DOWNLOADINGDATA, + BINDSTATUS_ENDDOWNLOADDATA, + BINDSTATUS_BEGINDOWNLOADCOMPONENTS, + BINDSTATUS_INSTALLINGCOMPONENTS, + BINDSTATUS_ENDDOWNLOADCOMPONENTS, + BINDSTATUS_USINGCACHEDCOPY, + BINDSTATUS_SENDINGREQUEST, + BINDSTATUS_CLASSIDAVAILABLE, + BINDSTATUS_MIMETYPEAVAILABLE, + BINDSTATUS_CACHEFILENAMEAVAILABLE, + BINDSTATUS_BEGINSYNCOPERATION, + BINDSTATUS_ENDSYNCOPERATION, + BINDSTATUS_BEGINUPLOADDATA, + BINDSTATUS_UPLOADINGDATA, + BINDSTATUS_ENDUPLOADINGDATA, + BINDSTATUS_PROTOCOLCLASSID, + BINDSTATUS_ENCODING, + BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE, + BINDSTATUS_CLASSINSTALLLOCATION, + BINDSTATUS_DECODING, + BINDSTATUS_LOADINGMIMEHANDLER, + BINDSTATUS_CONTENTDISPOSITIONATTACH, + BINDSTATUS_FILTERREPORTMIMETYPE, + BINDSTATUS_CLSIDCANINSTANTIATE, + BINDSTATUS_IUNKNOWNAVAILABLE, + BINDSTATUS_DIRECTBIND, + BINDSTATUS_RAWMIMETYPE, + BINDSTATUS_PROXYDETECTING, + BINDSTATUS_ACCEPTRANGES, + BINDSTATUS_COOKIE_SENT, + BINDSTATUS_COMPACT_POLICY_RECEIVED, + BINDSTATUS_COOKIE_SUPPRESSED, + BINDSTATUS_COOKIE_STATE_UNKNOWN, + BINDSTATUS_COOKIE_STATE_ACCEPT, + BINDSTATUS_COOKIE_STATE_REJECT, + BINDSTATUS_COOKIE_STATE_PROMPT, + BINDSTATUS_COOKIE_STATE_LEASH, + BINDSTATUS_COOKIE_STATE_DOWNGRADE, + BINDSTATUS_POLICY_HREF, + BINDSTATUS_P3P_HEADER, + BINDSTATUS_SESSION_COOKIE_RECEIVED, + BINDSTATUS_PERSISTENT_COOKIE_RECEIVED, + BINDSTATUS_SESSION_COOKIES_ALLOWED, + BINDSTATUS_CACHECONTROL, + BINDSTATUS_CONTENTDISPOSITIONFILENAME, + BINDSTATUS_MIMETEXTPLAINMISMATCH, + BINDSTATUS_PUBLISHERAVAILABLE, + BINDSTATUS_DISPLAYNAMEAVAILABLE, + BINDSTATUS_SSLUX_NAVBLOCKED, + BINDSTATUS_SERVER_MIMETYPEAVAILABLE, + BINDSTATUS_SNIFFED_CLASSIDAVAILABLE, + BINDSTATUS_64BIT_PROGRESS, + BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS, + BINDSTATUS_RESERVED_0 = (BINDSTATUS_LAST+1), + BINDSTATUS_RESERVED_1 = (BINDSTATUS_RESERVED_0+1), + BINDSTATUS_RESERVED_2 = (BINDSTATUS_RESERVED_1+1), + BINDSTATUS_RESERVED_3 = (BINDSTATUS_RESERVED_2+1), + BINDSTATUS_RESERVED_4 = (BINDSTATUS_RESERVED_3+1), + BINDSTATUS_RESERVED_5 = (BINDSTATUS_RESERVED_4+1), + BINDSTATUS_RESERVED_6 = (BINDSTATUS_RESERVED_5+1), + BINDSTATUS_RESERVED_7 = (BINDSTATUS_RESERVED_6+1), + BINDSTATUS_RESERVED_8 = (BINDSTATUS_RESERVED_7+1), + BINDSTATUS_RESERVED_9 = (BINDSTATUS_RESERVED_8+1), + BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9 + } BINDSTATUS; + + + HRESULT OnStartBinding( + [in] DWORD dwReserved, + [in] IBinding * pib); + + HRESULT GetPriority( + [out] LONG * pnPriority); + + HRESULT OnLowResource( + [in] DWORD reserved); + + HRESULT OnProgress( + [in] ULONG ulProgress, + [in] ULONG ulProgressMax, + [in] ULONG ulStatusCode, + [in, unique] LPCWSTR szStatusText); + + HRESULT OnStopBinding( + [in] HRESULT hresult, + [in, unique] LPCWSTR szError); + + [local] + HRESULT GetBindInfo( + [out] DWORD *grfBINDF, + [in, out, unique] BINDINFO * pbindinfo); + + [call_as(GetBindInfo)] + HRESULT RemoteGetBindInfo( + [out] DWORD *grfBINDF, + [in, out, unique] RemBINDINFO * pbindinfo, + [in, out, unique] RemSTGMEDIUM* pstgmed); + + [local] + HRESULT OnDataAvailable( + [in] DWORD grfBSCF, + [in] DWORD dwSize, + [in] FORMATETC* pformatetc, + [in] STGMEDIUM* pstgmed); + + [call_as(OnDataAvailable)] + HRESULT RemoteOnDataAvailable( + [in] DWORD grfBSCF, + [in] DWORD dwSize, + [in] RemFORMATETC *pformatetc, + [in] RemSTGMEDIUM* pstgmed); + + HRESULT OnObjectAvailable( + [in] REFIID riid, + [in, iid_is(riid)] IUnknown* punk); +} + +/***************************************************************************** + * IBindStatusCallbackEx interface + */ +[ + object, + uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc), + pointer_default(unique) +] +interface IBindStatusCallbackEx : IBindStatusCallback +{ + typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX; + + typedef enum { + BINDF2_DISABLEBASICOVERHTTP = 0x00000001, + BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002, + BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004, + BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008, + BINDF2_RESERVED_3 = 0x20000000, + BINDF2_RESERVED_2 = 0x40000000, + BINDF2_RESERVED_1 = 0x80000000, + } BINDF2; + + [local] + HRESULT GetBindInfoEx( + [out] DWORD *grfBINDF, + [in, out, unique] BINDINFO *pbindinfo, + [out] DWORD *grfBINDF2, + [out] DWORD *pdwReserved); + + [call_as(GetBindInfoEx)] + HRESULT RemoteGetBindInfoEx( + [out] DWORD *grfBINDF, + [in, out, unique] RemBINDINFO *pbindinfo, + [in, out, unique] RemSTGMEDIUM *pstgmed, + [out] DWORD *grfBINDF2, + [out] DWORD *pdwReserved); +} + + +/***************************************************************************** + * IAuthenticate interface + */ +[ + object, + uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IAuthenticate : IUnknown +{ + typedef [unique] IAuthenticate *LPAUTHENTICATION; + + HRESULT Authenticate( + [out] HWND* phwnd, + [out] LPWSTR *pszUsername, + [out] LPWSTR *pszPassword); +} + +/***************************************************************************** + * IHttpNegotiate interface + */ +[ + object, + uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IHttpNegotiate : IUnknown +{ + typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE; + + HRESULT BeginningTransaction( + [in] LPCWSTR szURL, + [in, unique] LPCWSTR szHeaders, + [in] DWORD dwReserved, + [out] LPWSTR *pszAdditionalHeaders); + + HRESULT OnResponse( + [in] DWORD dwResponseCode, + [in, unique] LPCWSTR szResponseHeaders, + [in, unique] LPCWSTR szRequestHeaders, + [out] LPWSTR *pszAdditionalRequestHeaders); +} + +/***************************************************************************** + * IHttpNegotiate2 interface + */ +[ + object, + uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4), + pointer_default(unique) +] +interface IHttpNegotiate2 : IHttpNegotiate +{ + typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2; + + HRESULT GetRootSecurityId( + [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId, + [in, out] DWORD *pcbSecurityId, + [in] DWORD_PTR dwReserved); +} + +/***************************************************************************** + * IBindHost interface + */ +cpp_quote("#define SID_IBindHost IID_IBindHost") +cpp_quote("#define SID_SBindHost IID_IBindHost") +[ + object, + uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352), + pointer_default(unique) +] +interface IBindHost : IUnknown +{ + typedef [unique] IBindHost *LPBINDHOST; + + HRESULT CreateMoniker( + [in] LPOLESTR szName, + [in] IBindCtx *pBC, + [out] IMoniker** ppmk, + [in] DWORD dwReserved); + + [local] + HRESULT MonikerBindToStorage( + [in] IMoniker *pMk, + [in] IBindCtx *pBC, + [in] IBindStatusCallback *pBSC, + [in] REFIID riid, + [out] void **ppvObj); + + [call_as(MonikerBindToStorage)] + HRESULT RemoteMonikerBindToStorage( + [in, unique] IMoniker *pMk, + [in, unique] IBindCtx *pBC, + [in, unique] IBindStatusCallback *pBSC, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppvObj); + + [local] + HRESULT MonikerBindToObject( + [in] IMoniker *pMk, + [in] IBindCtx *pBC, + [in] IBindStatusCallback *pBSC, + [in] REFIID riid, + [out] void **ppvObj); + + [call_as(MonikerBindToObject)] + HRESULT RemoteMonikerBindToObject( + [in, unique] IMoniker *pMk, + [in, unique] IBindCtx *pBC, + [in, unique] IBindStatusCallback *pBSC, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppvObj); +} + + +/***************************************************************************** + * IWinInetInfo interface + */ +[ + object, + uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IWinInetInfo : IUnknown +{ + typedef [unique] IWinInetInfo *LPWININETINFO; + + [local] + HRESULT QueryOption( + [in] DWORD dwOption, + [in, out, size_is(*pcbBuf)] LPVOID pBuffer, + [in, out] DWORD *pcbBuf); + + [call_as(QueryOption)] + HRESULT RemoteQueryOption( + [in] DWORD dwOption, + [in, out, size_is(*pcbBuf)] BYTE *pBuffer, + [in, out] DWORD *pcbBuf); +} + + + +/***************************************************************************** + * IWinInetHttpInfo interface + */ +[ + object, + uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IWinInetHttpInfo : IWinInetInfo +{ + typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO; + + [local] + HRESULT QueryInfo( + [in] DWORD dwOption, + [in, out,size_is(*pcbBuf)] LPVOID pBuffer, + [in, out] DWORD *pcbBuf, + [in, out] DWORD *pdwFlags, + [in, out] DWORD *pdwReserved); + + [call_as(QueryInfo)] + HRESULT RemoteQueryInfo( + [in] DWORD dwOption, + [in,out,size_is(*pcbBuf)] BYTE *pBuffer, + [in, out] DWORD *pcbBuf, + [in, out] DWORD *pdwFlags, + [in, out] DWORD *pdwReserved); +} + +/***************************************************************************** + * IWinInetHttpTimeouts interface + */ +[ + local, + object, + uuid(f286fa56-c1fd-4270-8e67-b3eb790a81e8), + pointer_default(unique) +] +interface IWinInetHttpTimeouts : IUnknown +{ + HRESULT GetRequestTimeouts( + [out] DWORD *connect_timeout, + [out] DWORD *send_timeout, + [out] DWORD *receive_timeout); +} + +/***************************************************************************** + * IWindowForBindingUI interface + */ +[ + local, + object, + uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IWindowForBindingUI : IUnknown +{ + typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI; + + HRESULT GetWindow( + [in] REFGUID rguidReason, + [out] HWND *phwnd); +} + +/***************************************************************************** + * ICodeInstall interface + */ +[ + local, + object, + uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface ICodeInstall : IWindowForBindingUI +{ + typedef [unique] ICodeInstall *LPCODEINSTALL; + + typedef enum { + CIP_DISK_FULL, + CIP_ACCESS_DENIED, + CIP_NEWER_VERSION_EXISTS, + CIP_OLDER_VERSION_EXISTS, + CIP_NAME_CONFLICT, + CIP_TRUST_VERIFICATION_COMPONENT_MISSING, + CIP_EXE_SELF_REGISTERATION_TIMEOUT, + CIP_UNSAFE_TO_ABORT, + CIP_NEED_REBOOT, + CIP_NEED_REBOOT_UI_PERMISSION + } CIP_STATUS; + + HRESULT OnCodeInstallProblem( + [in] ULONG ulStatusCode, + [in, unique] LPCWSTR szDestination, + [in, unique] LPCWSTR szSource, + [in] DWORD dwReserved); +} + +/***************************************************************************** + * IHttpSecurity interface + */ +[ + local, + object, + uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IHttpSecurity : IWindowForBindingUI +{ + typedef [unique] IHttpSecurity *LPHTTPSECURITY; + + HRESULT OnSecurityProblem( + [in] DWORD dwProblem); +} + + +/***************************************************************************** + * IPersistMoniker interface + */ +[ + object, + uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IPersistMoniker : IUnknown +{ + typedef [unique] IPersistMoniker *LPPERSISTMONIKER; + + HRESULT GetClassID( + [out] CLSID *pClassID); + + HRESULT IsDirty(); + + HRESULT Load( + [in] BOOL fFullyAvailable, + [in] IMoniker *pimkName, + [in] LPBC pibc, + [in] DWORD grfMode); + + HRESULT Save( + [in] IMoniker *pimkName, + [in] LPBC pbc, + [in] BOOL fRemember); + + HRESULT SaveCompleted( + [in] IMoniker *pimkName, + [in] LPBC pibc); + + HRESULT GetCurMoniker( + [out] IMoniker **ppimkName); +} + +/***************************************************************************** + * IMonikerProp interface + */ +[ + object, + uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D), + pointer_default(unique) +] +interface IMonikerProp : IUnknown +{ + typedef [unique] IMonikerProp *LPMONIKERPROP; + + typedef enum { + MIMETYPEPROP = 0, + USE_SRC_URL = 1, + CLASSIDPROP = 2, + TRUSTEDDOWNLOADPROP = 3, + POPUPLEVELPROP = 4 + } MONIKERPROPERTY; + + HRESULT PutProperty( + [in] MONIKERPROPERTY mkp, + [in] LPCWSTR val); +} + +cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED") +cpp_quote("#define _LPBINDPROTOCOL_DEFINED") + +/***************************************************************************** + * IBindProtocol interface + */ +[ + local, + object, + uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IBindProtocol : IUnknown +{ + typedef [unique] IBindProtocol *LPBINDPROTOCOL; + + HRESULT CreateBinding( + [in] LPCWSTR szUrl, + [in] IBindCtx *pbc, + [out] IBinding **ppb); +} + +cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */") + +/***************************************************************************** + * IInternetBindInfo interface + */ +[ + local, + object, + uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IInternetBindInfo : IUnknown +{ + typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO; + + typedef enum tagBINDSTRING + { + BINDSTRING_HEADERS = 1, + BINDSTRING_ACCEPT_MIMES, + BINDSTRING_EXTRA_URL, + BINDSTRING_LANGUAGE, + BINDSTRING_USERNAME, + BINDSTRING_PASSWORD, + BINDSTRING_UA_PIXELS, + BINDSTRING_UA_COLOR, + BINDSTRING_OS, + BINDSTRING_USER_AGENT, + BINDSTRING_ACCEPT_ENCODINGS, + BINDSTRING_POST_COOKIE, + BINDSTRING_POST_DATA_MIME, + BINDSTRING_URL, + BINDSTRING_IID, + BINDSTRING_FLAG_BIND_TO_OBJECT, + BINDSTRING_PTR_BIND_CONTEXT, + BINDSTRING_XDR_ORIGIN, + BINDSTRING_DOWNLOADPATH, + BINDSTRING_ROOTDOC_URL, + BINDSTRING_INITIAL_FILENAME, + BINDSTRING_PROXY_USERNAME, + BINDSTRING_PROXY_PASSWORD, + BINDSTRING_ENTERPRISE_ID + } BINDSTRING; + + HRESULT GetBindInfo( + [out] DWORD *grfBINDF, + [in, out, unique] BINDINFO *pbindinfo); + + HRESULT GetBindString( + [in] ULONG ulStringType, + [in, out] LPOLESTR *ppwzStr, + [in] ULONG cEl, + [in, out] ULONG *pcElFetched); +} + +/***************************************************************************** + * IInternetPriority interface + */ +[ + local, + object, + uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IInternetPriority : IUnknown +{ + typedef [unique] IInternetPriority *LPIINTERNETPRIORITY; + + HRESULT SetPriority([in] LONG nPriority); + HRESULT GetPriority([out] LONG *pnPriority); +} + +/***************************************************************************** + * IInternetProtocolRoot interface + */ +[ + local, + object, + uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IInternetProtocolRoot : IUnknown +{ + typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT; + + typedef enum _tagPI_FLAGS + { + PI_PARSE_URL = 0x00000001, + PI_FILTER_MODE = 0x00000002, + PI_FORCE_ASYNC = 0x00000004, + PI_USE_WORKERTHREAD = 0x00000008, + PI_MIMEVERIFICATION = 0x00000010, + PI_CLSIDLOOKUP = 0x00000020, + PI_DATAPROGRESS = 0x00000040, + PI_SYNCHRONOUS = 0x00000080, + PI_APARTMENTTHREADED = 0x00000100, + PI_CLASSINSTALL = 0x00000200, + PD_FORCE_SWITCH = 0x00010000 + } PI_FLAGS; + + typedef struct _tagPROTOCOLDATA + { + DWORD grfFlags; + DWORD dwState; + LPVOID pData; + ULONG cbData; + } PROTOCOLDATA; + + HRESULT Start( + [in] LPCWSTR szUrl, + [in] IInternetProtocolSink *pOIProtSink, + [in] IInternetBindInfo *pOIBindInfo, + [in] DWORD grfPI, + [in] HANDLE_PTR dwReserved); + + HRESULT Continue( + [in] PROTOCOLDATA *pProtocolData); + + HRESULT Abort( + [in] HRESULT hrReason, + [in] DWORD dwOptions); + + HRESULT Terminate( + [in] DWORD dwOptions); + + HRESULT Suspend(); + + HRESULT Resume(); +} + +/***************************************************************************** + * IInternetProtocolSink interface + */ +[ + local, + object, + uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IInternetProtocolSink : IUnknown +{ + typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK; + + HRESULT Switch( + [in] PROTOCOLDATA *pProtocolData); + + HRESULT ReportProgress( + [in] ULONG ulStatusCode, + [in] LPCWSTR szStatusText); + + HRESULT ReportData( + [in] DWORD grfBSCF, + [in] ULONG ulProgress, + [in] ULONG ulProgressMax); + + HRESULT ReportResult( + [in] HRESULT hrResult, + [in] DWORD dwError, + [in] LPCWSTR szResult); +} + +/***************************************************************************** + * IInternetProtocol interface + */ +[ + local, + object, + uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IInternetProtocol : IInternetProtocolRoot +{ + typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL; + + HRESULT Read( + [in,out, size_is(cb), length_is(*pcbRead)] void *pv, + [in] ULONG cb, + [out] ULONG *pcbRead); + + HRESULT Seek( + [in] LARGE_INTEGER dlibMove, + [in] DWORD dwOrigin, + [out] ULARGE_INTEGER *plibNewPosition); + + HRESULT LockRequest( + [in] DWORD dwOptions); + + HRESULT UnlockRequest(); +} + +/***************************************************************************** + * IInternetProtocolInfo interface + */ +[ + local, + object, + uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IInternetProtocolInfo : IUnknown +{ + typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO; + + typedef enum _tagPARSEACTION + { + PARSE_CANONICALIZE = 1, + PARSE_FRIENDLY, + PARSE_SECURITY_URL, + PARSE_ROOTDOCUMENT, + PARSE_DOCUMENT, + PARSE_ANCHOR, + PARSE_ENCODE, + PARSE_DECODE, + PARSE_PATH_FROM_URL, + PARSE_URL_FROM_PATH, + PARSE_MIME, + PARSE_SERVER, + PARSE_SCHEMA, + PARSE_SITE, + PARSE_DOMAIN, + PARSE_LOCATION, + PARSE_SECURITY_DOMAIN, + PARSE_ESCAPE, + PARSE_UNESCAPE + } PARSEACTION; + + typedef enum _tagPSUACTION + { + PSU_DEFAULT = 1, + PSU_SECURITY_URL_ONLY + } PSUACTION; + + typedef enum _tagQUERYOPTION + { + QUERY_EXPIRATION_DATE = 1, + QUERY_TIME_OF_LAST_CHANGE, + QUERY_CONTENT_ENCODING, + QUERY_CONTENT_TYPE, + QUERY_REFRESH, + QUERY_RECOMBINE, + QUERY_CAN_NAVIGATE, + QUERY_USES_NETWORK, + QUERY_IS_CACHED, + QUERY_IS_INSTALLEDENTRY, + QUERY_IS_CACHED_OR_MAPPED, + QUERY_USES_CACHE, + QUERY_IS_SECURE, + QUERY_IS_SAFE, + QUERY_USES_HISTORYFOLDER, + QUERY_IS_CACHED_AND_USABLE_OFFLINE + } QUERYOPTION; + + HRESULT ParseUrl( + [in] LPCWSTR pwzUrl, + [in] PARSEACTION ParseAction, + [in] DWORD dwParseFlags, + [out] LPWSTR pwzResult, + [in] DWORD cchResult, + [out] DWORD *pcchResult, + [in] DWORD dwReserved); + + HRESULT CombineUrl( + [in] LPCWSTR pwzBaseUrl, + [in] LPCWSTR pwzRelativeUrl, + [in] DWORD dwCombineFlags, + [out] LPWSTR pwzResult, + [in] DWORD cchResult, + [out] DWORD *pcchResult, + [in] DWORD dwReserved); + + HRESULT CompareUrl( + [in] LPCWSTR pwzUrl1, + [in] LPCWSTR pwzUrl2, + [in] DWORD dwCompareFlags); + + HRESULT QueryInfo( + [in] LPCWSTR pwzUrl, + [in] QUERYOPTION OueryOption, + [in] DWORD dwQueryFlags, + [in, out,size_is(*pcbBuf)] LPVOID pBuffer, + [in] DWORD cbBuffer, + [in, out] DWORD *pcbBuf, + [in] DWORD dwReserved); +} + +/***************************************************************************** + * IInternetSession interface + */ +[ + local, + object, + uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IInternetSession : IUnknown +{ + typedef [unique] IInternetSession *LPIINTERNETSESSION; + + typedef enum _tagOIBDG_FLAGS + { + OIBDG_APARTMENTTHREADED = 0x0100, + OIBDG_DATAONLY = 0x1000 + } OIBDG_FLAGS; + + HRESULT RegisterNameSpace( + [in] IClassFactory *pCF, + [in] REFCLSID rclsid, + [in] LPCWSTR pwzProtocol, + [in] ULONG cPatterns, + [in] const LPCWSTR *ppwzPatterns, + [in] DWORD dwReserved); + + HRESULT UnregisterNameSpace( + [in] IClassFactory *pCF, + [in] LPCWSTR pszProtocol); + + HRESULT RegisterMimeFilter( + [in] IClassFactory *pCF, + [in] REFCLSID rclsid, + [in] LPCWSTR pwzType); + + HRESULT UnregisterMimeFilter( + [in] IClassFactory *pCF, + [in] LPCWSTR pwzType); + + HRESULT CreateBinding( + [in] LPBC pBC, + [in] LPCWSTR szUrl, + [in] IUnknown *pUnkOuter, + [out, unique] IUnknown **ppUnk, + [out, unique] IInternetProtocol **ppOInetProt, + [in] DWORD dwOption); + + HRESULT SetSessionOption( + [in] DWORD dwOption, + [in] LPVOID pBuffer, + [in] DWORD dwBufferLength, + [in] DWORD dwReserved); +} + +/***************************************************************************** + * IInternetSecurityMgrSite interface + */ +[ + local, + object, + uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IInternetSecurityMgrSite : IUnknown +{ + HRESULT GetWindow( + [out] HWND *phwnd); + + HRESULT EnableModeless( + [in] BOOL fEnable); +} + + +/***************************************************************************** + * IInternetSecurityManager interface + */ +cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager") + +[ + object, + uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b), + pointer_default(unique) +] +interface IInternetSecurityManager : IUnknown +{ + HRESULT SetSecuritySite( + [in, unique] IInternetSecurityMgrSite *pSite); + + HRESULT GetSecuritySite( + [out] IInternetSecurityMgrSite **ppSite); + + HRESULT MapUrlToZone( + [in] LPCWSTR pwszUrl, + [out] DWORD *pdwZone, + [in] DWORD dwFlags); + +cpp_quote("#define MAX_SIZE_SECURITY_ID 512") + + HRESULT GetSecurityId( + [in] LPCWSTR pwszUrl, + [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId, + [in, out] DWORD *pcbSecurityId, + [in] DWORD_PTR dwReserved); + + + typedef enum { + PUAF_DEFAULT = 0x00, + PUAF_NOUI = 0x01, + PUAF_ISFILE = 0x02, + PUAF_WARN_IF_DENIED = 0x04, + PUAF_FORCEUI_FOREGROUND = 0x08, + PUAF_CHECK_TIPS = 0x10 + } PUAF; + + HRESULT ProcessUrlAction( + [in] LPCWSTR pwszUrl, + [in] DWORD dwAction, + [out, size_is(cbPolicy)] BYTE *pPolicy, + [in] DWORD cbPolicy, + [in, unique] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD dwFlags, + [in] DWORD dwReserved); + + HRESULT QueryCustomPolicy( + [in] LPCWSTR pwszUrl, + [in] REFGUID guidKey, + [out, size_is(,*pcbPolicy)] BYTE **ppPolicy, + [out] DWORD *pcbPolicy, + [in] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD dwReserved); + + typedef enum { + SZM_CREATE = 0x0, + SZM_DELETE = 0x1 + } SZM_FLAGS; + + HRESULT SetZoneMapping( + [in] DWORD dwZone, + [in] LPCWSTR lpszPattern, + [in] DWORD dwFlags); + + HRESULT GetZoneMappings( + [in] DWORD dwZone, + [out] IEnumString **ppenumString, + [in] DWORD dwFlags); +} + +/***************************************************************************** + * IInternetSecurityManagerEx interface + */ +cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx") + +[ + object, + uuid(f164edf1-cc7c-4f0d-9a94-34222625C393), + pointer_default(unique) +] +interface IInternetSecurityManagerEx : IInternetSecurityManager +{ + HRESULT ProcessUrlActionEx( + [in] LPCWSTR pwszUrl, + [in] DWORD dwAction, + [out, size_is(cbPolicy)] BYTE *pPolicy, + [in] DWORD cbPolicy, + [in] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD dwFlags, + [in] DWORD dwReserved, + [out] DWORD *pdwOutFlags); +} + +/***************************************************************************** + * IInternetSecurityManagerEx2 interface + */ +cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2") + +[ + object, + uuid(f1e50292-a795-4117-8e09-2b560a72ac60), + pointer_default(unique) +] +interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx +{ + HRESULT MapUrlToZoneEx2( + [in] IUri *pUri, + [out] DWORD *pdwZone, + [in] DWORD dwFlags, + [out] LPWSTR *ppwszMappedUrl, + [out] DWORD *pdwOutFlags); + + HRESULT ProcessUrlActionEx2( + [in] IUri *pUri, + [in] DWORD dwAction, + [out, size_is(cbPolicy)] BYTE *pPolicy, + [in] DWORD cbPolicy, + [in, unique] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD dwFlags, + [in] DWORD_PTR dwReserved, + [out] DWORD *pdwOutFlags); + + HRESULT GetSecurityIdEx2( + [in] IUri *pUri, + [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId, + [in, out] DWORD *pcbSecurityId, + [in] DWORD_PTR dwReserved); + + HRESULT QueryCustomPolicyEx2( + [in] IUri *pUri, + [in] REFGUID guidKey, + [out, size_is(,*pcbPolicy)] BYTE **ppPolicy, + [out] DWORD *pcbPolicy, + [in] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD_PTR dwReserved); +} + +/***************************************************************************** + * IInternetHostSecurityManager interface + */ +cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager") + +[ + local, + object, + uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4), + pointer_default(unique) +] +interface IInternetHostSecurityManager : IUnknown +{ + HRESULT GetSecurityId( + [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId, + [in, out] DWORD *pcbSecurityId, + [in] DWORD_PTR dwReserved); + + HRESULT ProcessUrlAction( + [in] DWORD dwAction, + [out, size_is(cbPolicy)] BYTE *pPolicy, + [in] DWORD cbPolicy, + [in] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD dwFlags, + [in] DWORD dwReserved); + + HRESULT QueryCustomPolicy( + [in] REFGUID guidKey, + [out, size_is(,*pcbPolicy)] BYTE **ppPolicy, + [out] DWORD *pcbPolicy, + [in] BYTE *pContext, + [in] DWORD cbContext, + [in] DWORD dwReserved); +} + +cpp_quote("#define URLACTION_MIN 0x00001000") +cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000") +cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001") +cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004") +cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004") +cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff") + +cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200") +cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200") +cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000") +cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201") +cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202") +cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203") +cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401") +cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204") +cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205") +cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205") +cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff") + +cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400") +cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400") +cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402") +cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405") +cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406") +cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407") +cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407") +cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff") + +cpp_quote("#define URLACTION_HTML_MIN 0x00001600") +cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601") +cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602") +cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603") +cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604") +cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605") +cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606") +cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607") +cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608") +cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609") +cpp_quote("#define URLACTION_HTML_MAX 0x000017ff") + +cpp_quote("#define URLACTION_SHELL_MIN 0x00001800") +cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800") +cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802") +cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803") +cpp_quote("#define URLACTION_SHELL_VERB 0x00001804") +cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805") +cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805") +cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff") + +cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00") +cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00") +cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01") +cpp_quote("#define URLACTION_COOKIES 0x00001a02") +cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03") +cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04") +cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05") +cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06") +cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10") +cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10") +cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff") + +cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00") +cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00") +cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000") +cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000") +cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000") +cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000") +cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000") +cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00") +cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff") + +cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00") +cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00") +cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01") +cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02") +cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03") +cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04") +cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05") +cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06") +cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06") +cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff") + +cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00") +cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05") +cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000") +cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000") +cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000") +cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff") + +cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000") +cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000") +cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000") + +cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100") +cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100") +cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101") +cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102") +cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103") +cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104") +cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105") + +cpp_quote("#define URLPOLICY_ALLOW 0x00") +cpp_quote("#define URLPOLICY_QUERY 0x01") +cpp_quote("#define URLPOLICY_DISALLOW 0x03") + +cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10") +cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20") + +cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40") +cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80") + +cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100") + +cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000") +cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000") +cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000") +cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000") + +cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000") +cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000") +cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000") + +cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f") +cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)") +cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))") + +/***************************************************************************** + * IInternetZoneManager interface + */ +[ + local, + object, + uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B), + pointer_default(unique) +] +interface IInternetZoneManager : IUnknown +{ + typedef [unique] IInternetZoneManager* LPURLZONEMANAGER; + + typedef enum tagURLZONE + { + URLZONE_INVALID = -1, + URLZONE_PREDEFINED_MIN = 0, + URLZONE_LOCAL_MACHINE = 0, + URLZONE_INTRANET = 1, + URLZONE_TRUSTED = 2, + URLZONE_INTERNET = 3, + URLZONE_UNTRUSTED = 4, + URLZONE_PREDEFINED_MAX = 999, + URLZONE_USER_MIN = 1000, + URLZONE_USER_MAX = 10000, + } URLZONE; + + typedef enum tagURLTEMPLATE + { + URLTEMPLATE_CUSTOM = 0x00000, + URLTEMPLATE_PREDEFINED_MIN = 0x10000, + URLTEMPLATE_LOW = 0x10000, + URLTEMPLATE_MEDLOW = 0x10500, + URLTEMPLATE_MEDIUM = 0x11000, + URLTEMPLATE_MEDHIGH = 0x11500, + URLTEMPLATE_HIGH = 0x12000, + URLTEMPLATE_PREDEFINED_MAX = 0x20000, + } URLTEMPLATE ; + + typedef enum { + ZAFLAGS_CUSTOM_EDIT = 0x00000001, + ZAFLAGS_ADD_SITES = 0x00000002, + ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004, + ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008, + ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010, + ZAFLAGS_NO_UI = 0x00000020, + ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040, + ZAFLAGS_UNC_AS_INTRANET = 0x00000080, + ZAFLAGS_DETECT_INTRANET = 0x00000100, + ZAFLAGS_USE_LOCKED_ZONES = 0x00010000, + ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000, + ZAFLAGS_NO_CACHE = 0x00040000, + } ZAFLAGS ; + + enum { + MAX_ZONE_PATH = 260, + MAX_ZONE_DESCRIPTION = 200 + }; + + typedef struct _ZONEATTRIBUTES { + ULONG cbSize; + WCHAR szDisplayName[MAX_ZONE_PATH]; + WCHAR szDescription[MAX_ZONE_DESCRIPTION]; + WCHAR szIconPath[MAX_ZONE_PATH]; + DWORD dwTemplateMinLevel; + DWORD dwTemplateRecommended; + DWORD dwTemplateCurrentLevel; + DWORD dwFlags; + } ZONEATTRIBUTES, *LPZONEATTRIBUTES; + + typedef enum _URLZONEREG { + URLZONEREG_DEFAULT, + URLZONEREG_HKLM, + URLZONEREG_HKCU + } URLZONEREG; + + HRESULT GetZoneAttributes( + [in] DWORD dwZone, + [in, out, unique] ZONEATTRIBUTES* pZoneAttributes); + + HRESULT SetZoneAttributes( + [in] DWORD dwZone, + [in] ZONEATTRIBUTES* pZoneAttributes); + + HRESULT GetZoneCustomPolicy( + [in] DWORD dwZone, + [in] REFGUID guidKey, + [out, size_is(,*pcbPolicy)] BYTE **ppPolicy, + [out] DWORD* pcbPolicy, + [in] URLZONEREG ulrZoneReg); + + HRESULT SetZoneCustomPolicy( + [in] DWORD dwZone, + [in] REFGUID guidKey, + [in, size_is(pcbPolicy)] BYTE *ppPolicy, + [in] DWORD pcbPolicy, + [in] URLZONEREG ulrZoneReg); + + HRESULT GetZoneActionPolicy( + [in] DWORD dwZone, + [in] DWORD dwAction, + [out, size_is(cbPolicy)] BYTE* pPolicy, + [in] DWORD cbPolicy, + [in] URLZONEREG urlZoneReg); + + HRESULT SetZoneActionPolicy( + [in] DWORD dwZone, + [in] DWORD dwAction, + [in, size_is(cbPolicy)] BYTE* pPolicy, + [in] DWORD cbPolicy, + [in] URLZONEREG urlZoneReg); + + HRESULT PromptAction( + [in] DWORD dwAction, + [in] HWND hwndParent, + [in] LPCWSTR pwszUrl, + [in] LPCWSTR pwszText, + [in] DWORD dwPromptFlags ); + + HRESULT LogAction( + [in] DWORD dwAction, + [in] LPCWSTR pwszUrl, + [in] LPCWSTR pwszText, + [in] DWORD dwLogFlags); + + HRESULT CreateZoneEnumerator( + [out] DWORD* pdwEnum, + [out] DWORD* pdwCount, + [in] DWORD dwFlags); + + HRESULT GetZoneAt( + [in] DWORD dwEnum, + [in] DWORD dwIndex, + [out] DWORD* pdwZone); + + HRESULT DestroyZoneEnumerator( + [in] DWORD dwEnum); + + HRESULT CopyTemplatePoliciesToZone( + [in] DWORD dwTemplate, + [in] DWORD dwZone, + [in] DWORD dwReserved); +} + +/***************************************************************************** + * IInternetZoneManagerEx interface + */ +[ + local, + object, + uuid(A4C23339-8E06-431E-9BF4-7E711C085648), + pointer_default(unique) +] +interface IInternetZoneManagerEx : IInternetZoneManager +{ + HRESULT GetZoneActionPolicyEx( + [in] DWORD dwZone, + [in] DWORD dwAction, + [out, size_is(cbPolicy)] BYTE *pPolicy, + [in] DWORD cbPolicy, + [in] URLZONEREG urlZoneReg, + [in] DWORD dwFlags); + + HRESULT SetZoneActionPolicyEx( + [in] DWORD dwZone, + [in] DWORD dwAction, + [in, size_is(cbPolicy)] BYTE *pPolicy, + [in] DWORD cbPolicy, + [in] URLZONEREG urlZoneReg, + [in] DWORD dwFlags); + +} + +/***************************************************************************** + * IInternetZoneManagerEx2 interface + */ + +cpp_quote("#define SECURITY_IE_STATE_GREEN 0") +cpp_quote("#define SECURITY_IE_STATE_RED 1") + +[ + local, + object, + uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF), + pointer_default(unique) +] +interface IInternetZoneManagerEx2 : IInternetZoneManagerEx +{ + HRESULT GetZoneAttributesEx( + [in] DWORD dwZone, + [in, out, unique] ZONEATTRIBUTES* pZoneAttributes, + [in] DWORD dwFlags); + + HRESULT GetZoneSecurityState( + [in] DWORD dwZoneIndex, + [in] BOOL fRespectPolicy, + [in, out] LPDWORD pdwState, + [in, out] BOOL *pfPolicyEncountered); + + HRESULT GetIESecurityState( + [in] BOOL fRespectPolicy, + [in, out] LPDWORD pdwState, + [in, out] BOOL *pfPolicyEncountered, + [in] BOOL fNoCache); + + HRESULT FixInsecureSettings(void); + +} + + +typedef struct _tagSOFTDISTINFO +{ + ULONG cbSize; + DWORD dwFlags; + DWORD dwAdState; + LPWSTR szTitle; + LPWSTR szAbstract; + LPWSTR szHREF; + DWORD dwInstalledVersionMS; + DWORD dwInstalledVersionLS; + DWORD dwUpdateVersionMS; + DWORD dwUpdateVersionLS; + DWORD dwAdvertisedVersionMS; + DWORD dwAdvertisedVersionLS; + DWORD dwReserved; +} SOFTDISTINFO, *LPSOFTDISTINFO; + +typedef struct _tagCODEBASEHOLD +{ + DWORD cbSize; + LPWSTR szDistUnit; + LPWSTR szCodeBase; + DWORD dwVersionMS; + DWORD dwVersionLS; + DWORD dwStyle; +} CODEBASEHOLD, *LPCODEBASEHOLD; + +[ + local, + object, + uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71), + pointer_default(unique) +] +interface ISoftDistExt : IUnknown +{ + HRESULT ProcessSoftDist( + [in] LPCWSTR szCDFURL, + [in] IXMLElement *pSoftDistElement, + [in, out] LPSOFTDISTINFO lpsdi ); + + HRESULT GetFirstCodeBase( + [in] LPWSTR *szCodeBase, + [in] LPDWORD dwMaxSize ); + + HRESULT GetNextCodeBase( + [in] LPWSTR *szCodeBase, + [in] LPDWORD dwMaxSize ); + + HRESULT AsyncInstallDistributionUnit( + [in] IBindCtx *pbc, + [in] LPVOID lpReserved, + [in] DWORD flags, + [in] LPCODEBASEHOLD lpcbh); +} + +typedef enum _tagINTERNETFEATURELIST +{ + FEATURE_OBJECT_CACHING, + FEATURE_ZONE_ELEVATION, + FEATURE_MIME_HANDLING, + FEATURE_MIME_SNIFFING, + FEATURE_WINDOW_RESTRICTIONS, + FEATURE_WEBOC_POPUPMANAGEMENT, + FEATURE_BEHAVIORS, + FEATURE_DISABLE_MK_PROTOCOL, + FEATURE_LOCALMACHINE_LOCKDOWN, + FEATURE_SECURITYBAND, + FEATURE_RESTRICT_ACTIVEXINSTALL, + FEATURE_VALIDATE_NAVIGATE_URL, + FEATURE_RESTRICT_FILEDOWNLOAD, + FEATURE_ADDON_MANAGEMENT, + FEATURE_PROTOCOL_LOCKDOWN, + FEATURE_HTTP_USERNAME_PASSWORD_DISABLE, + FEATURE_SAFE_BINDTOOBJECT, + FEATURE_UNC_SAVEDFILECHECK, + FEATURE_GET_URL_DOM_FILEPATH_UNENCODED, + FEATURE_TABBED_BROWSING, + FEATURE_SSLUX, + FEATURE_DISABLE_NAVIGATION_SOUNDS, + FEATURE_DISABLE_LEGACY_COMPRESSION, + FEATURE_FORCE_ADDR_AND_STATUS, + FEATURE_XMLHTTP, + FEATURE_DISABLE_TELNET_PROTOCOL, + FEATURE_FEEDS, + FEATURE_BLOCK_INPUT_PROMPTS, + FEATURE_ENTRY_COUNT +} INTERNETFEATURELIST; + +cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001") +cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002") +cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004") +cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008") +cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010") +cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020") +cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040") +cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080") + +cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001") +cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002") +cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004") +cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008") +cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010") +cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020") +cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040") +cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080") + +typedef struct _tagPROTOCOLFILTERDATA { + DWORD cbSize; + IInternetProtocolSink *pProtocolSink; + IInternetProtocol *pProtocol; + IUnknown *pUnk; + DWORD dwFilterFlags; +} PROTOCOLFILTERDATA; + +/***************************************************************************** + * IUri interface + */ +[ + object, + uuid(a39ee748-6a27-4817-a6f2-13914bef5890), + pointer_default(unique) +] +interface IUri : IUnknown +{ + typedef enum + { + Uri_PROPERTY_ABSOLUTE_URI = 0, + Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI, + Uri_PROPERTY_AUTHORITY = 1, + Uri_PROPERTY_DISPLAY_URI = 2, + Uri_PROPERTY_DOMAIN = 3, + Uri_PROPERTY_EXTENSION = 4, + Uri_PROPERTY_FRAGMENT = 5, + Uri_PROPERTY_HOST = 6, + Uri_PROPERTY_PASSWORD = 7, + Uri_PROPERTY_PATH = 8, + Uri_PROPERTY_PATH_AND_QUERY = 9, + Uri_PROPERTY_QUERY = 10, + Uri_PROPERTY_RAW_URI = 11, + Uri_PROPERTY_SCHEME_NAME = 12, + Uri_PROPERTY_USER_INFO = 13, + Uri_PROPERTY_USER_NAME = 14, + Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME, + Uri_PROPERTY_HOST_TYPE = 15, + Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE, + Uri_PROPERTY_PORT = 16, + Uri_PROPERTY_SCHEME = 17, + Uri_PROPERTY_ZONE = 18, + Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE + } Uri_PROPERTY; + + typedef enum + { + Uri_HOST_UNKNOWN = 0, + Uri_HOST_DNS = 1, + Uri_HOST_IPV4 = 2, + Uri_HOST_IPV6 = 3, + Uri_HOST_IDN = 4 + } Uri_HOST_TYPE; + + HRESULT GetPropertyBSTR( + [in] Uri_PROPERTY uriProp, + [out] BSTR *pbstrProperty, + [in] DWORD dwFlags); + + HRESULT GetPropertyLength( + [in] Uri_PROPERTY uriProp, + [out] DWORD *pcchProperty, + [in] DWORD dwFlags); + + HRESULT GetPropertyDWORD( + [in] Uri_PROPERTY uriProp, + [out] DWORD *pdwProperty, + [in] DWORD dwFlags); + + HRESULT HasProperty( + [in] Uri_PROPERTY uriProp, + [out] BOOL *pfHasProperty); + + HRESULT GetAbsoluteUri( + [out] BSTR *pbstrAbsoluteUri); + + HRESULT GetAuthority( + [out] BSTR *pbstrAuthority); + + HRESULT GetDisplayUri( + [out] BSTR *pbstrDisplayString); + + HRESULT GetDomain( + [out] BSTR *pbstrDomain); + + HRESULT GetExtension( + [out] BSTR *pbstrExtension); + + HRESULT GetFragment( + [out] BSTR *pbstrFragment); + + HRESULT GetHost( + [out] BSTR *pbstrHost); + + HRESULT GetPassword( + [out] BSTR *pbstrPassword); + + HRESULT GetPath( + [out] BSTR *pbstrPath); + + HRESULT GetPathAndQuery( + [out] BSTR *pbstrPathAndQuery); + + HRESULT GetQuery( + [out] BSTR *pbstrQuery); + + HRESULT GetRawUri( + [out] BSTR *pbstrRawUri); + + HRESULT GetSchemeName( + [out] BSTR *pbstrSchemeName); + + HRESULT GetUserInfo( + [out] BSTR *pbstrUserInfo); + + HRESULT GetUserName( + [out] BSTR *pbstrUserName); + + HRESULT GetHostType( + [out] DWORD *pdwHostType); + + HRESULT GetPort( + [out] DWORD *pdwPort); + + HRESULT GetScheme( + [out] DWORD *pdwScheme); + + HRESULT GetZone( + [out] DWORD *pdwZone); + + HRESULT GetProperties( + [out] LPDWORD pdwFlags); + + HRESULT IsEqual( + [in] IUri *pUri, + [out] BOOL *pfEqual); +} + +cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);") +cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);") +cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);") + +cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)") +cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)") +cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)") +cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)") +cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)") +cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)") +cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)") +cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)") +cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)") +cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)") +cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)") +cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)") +cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)") +cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)") +cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)") +cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)") +cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)") +cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)") +cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)") + +cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001") +cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002") +cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004") +cpp_quote("#define Uri_CREATE_NOFRAG 0x0008") +cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010") +cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100") +cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020") +cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040") +cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080") +cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200") +cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400") +cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800") +cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000") +cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000") +cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000") +cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000") +cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000") +cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000") + +cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001") +cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002") +cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004") + +cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001") +cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002") +cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004") +cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008") +cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010") +cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020") +cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040") +cpp_quote("#define Uri_ENCODING_RFC (Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8)") + +cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001") + +/***************************************************************************** + * IUriContainer interface + */ +[ + local, + object, + uuid(a158a630-ed6f-45fb-b987-f68676f57752), + pointer_default(unique) +] +interface IUriContainer : IUnknown +{ + HRESULT GetIUri([out] IUri **ppIUri); +} + +/***************************************************************************** + * IUriBuilder interface + */ +[ + local, + object, + uuid(4221b2e1-8955-46c0-bd5b-de9897565de7), + pointer_default(unique) +] +interface IUriBuilder: IUnknown +{ + HRESULT CreateUriSimple( + [in] DWORD dwAllowEncodingPropertyMask, + [in] DWORD_PTR dwReserved, + [out] IUri **ppIUri); + + HRESULT CreateUri( + [in] DWORD dwCreateFlags, + [in] DWORD dwAllowEncodingPropertyMask, + [in] DWORD_PTR dwReserved, + [out] IUri **ppIUri); + + HRESULT CreateUriWithFlags( + [in] DWORD dwCreateFlags, + [in] DWORD dwUriBuilderFlags, + [in] DWORD dwAllowEncodingPropertyMask, + [in] DWORD_PTR dwReserved, + [out] IUri **ppIUri); + + HRESULT GetIUri( + [out] IUri **ppIUri); + + HRESULT SetIUri( + [in, unique] IUri *pIUri); + + HRESULT GetFragment( + [out] DWORD *pcchFragment, + [out] LPCWSTR *ppwzFragment); + + HRESULT GetHost( + [out] DWORD *pcchHost, + [out] LPCWSTR *ppwzHost); + + HRESULT GetPassword( + [out] DWORD *pcchPassword, + [out] LPCWSTR *ppwzPassword); + + HRESULT GetPath( + [out] DWORD *pcchPath, + [out] LPCWSTR *ppwzPath); + + HRESULT GetPort( + [out] BOOL *pfHasPort, + [out] DWORD *pdwPort); + + HRESULT GetQuery( + [out] DWORD *pcchQuery, + [out] LPCWSTR *ppwzQuery); + + HRESULT GetSchemeName( + [out] DWORD *pcchSchemeName, + [out] LPCWSTR *ppwzSchemeName); + + HRESULT GetUserName( + [out] DWORD *pcchUserName, + [out] LPCWSTR *ppwzUserName); + + HRESULT SetFragment( + [in] LPCWSTR pwzNewValue); + + HRESULT SetHost( + [in] LPCWSTR pwzNewValue); + + HRESULT SetPassword( + [in] LPCWSTR pwzNewValue); + + HRESULT SetPath( + [in] LPCWSTR pwzNewValue); + + HRESULT SetPort( + [in] BOOL fHasPort, + [in] DWORD dwNewValue); + + HRESULT SetQuery( + [in] LPCWSTR pwzNewValue); + + HRESULT SetSchemeName( + [in] LPCWSTR pwzNewValue); + + HRESULT SetUserName( + [in] LPCWSTR pwzNewValue); + + HRESULT RemoveProperties( + [in] DWORD dwPropertyMask); + + HRESULT HasBeenModified( + [out] BOOL *pfModified); +}; + +cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);") + +/***************************************************************************** + * IUriBuilderFactory interface + */ +[ + local, + object, + uuid(e982ce48-0b96-440c-bc37-0c869b27a29e), + pointer_default(unique) +] +interface IUriBuilderFactory : IUnknown +{ + HRESULT CreateIUriBuilder( + [in] DWORD dwFlags, + [in] DWORD_PTR dwReserved, + [out] IUriBuilder **ppIUriBuilder); + + HRESULT CreateInitializedIUriBuilder( + [in] DWORD dwFlags, + [in] DWORD_PTR dwReserved, + [out] IUriBuilder **ppIUriBuilder); +} + +/***************************************************************************** + * IInternetProtocolEx interface + */ +[ + local, + object, + uuid(c7a98e66-1010-492c-a1c8-c809e1f75905), + pointer_default(unique) +] +interface IInternetProtocolEx : IInternetProtocol +{ + HRESULT StartEx( + [in] IUri *pUri, + [in] IInternetProtocolSink *pOIProtSink, + [in] IInternetBindInfo *pOIBindInfo, + [in] DWORD grfPI, + [in] HANDLE *dwReserved); +} + +/***************************************************************************** + * IGetBindHandle interface + */ +[ + local, + object, + uuid(AF0FF408-129D-4b20-91F0-02BD23D88352), + pointer_default(unique) +] +interface IGetBindHandle : IUnknown +{ + typedef [unique] IGetBindHandle *LPGETBINDHANDLE; + + typedef enum { + BINDHANDLETYPES_APPCACHE = 0x00000000, + BINDHANDLETYPES_DEPENDENCY = 0x00000001, + BINDHANDLETYPES_COUNT + } BINDHANDLETYPES; + + HRESULT GetBindHandle( + [in] BINDHANDLETYPES enumRequestedHandle, + [out] HANDLE *pRetHandle); +} + +/***************************************************************************** + * IBindCallbackRedirect interface + */ +[ + local, + object, + uuid(11c81bc2-121e-4ed5-b9c4-b430bd54f2c0), + pointer_default(unique) +] +interface IBindCallbackRedirect : IUnknown +{ + typedef [unique] IBindCallbackRedirect *LPBINDCALLBACKREDIRECT; + + HRESULT Redirect( + [in] LPCWSTR lpcUrl, + [out] VARIANT_BOOL *vbCancel); +} + +cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001") + +struct CONFIRMSAFETY +{ + CLSID clsid; + IUnknown *pUnk; + DWORD dwFlags; +}; + +cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;") + +cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);") +cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);") +cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);") +cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);") +cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);") +cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);") + +cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);") +cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);") +cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);") +cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);") +cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);") +cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);") +cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);") + +cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001") +cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002") +cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004") + +cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)") +cpp_quote("#ifndef S_ASYNCHRONOUS") +cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS") +cpp_quote("#endif") + +cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)") +cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)") +cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)") +cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)") +cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)") +cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)") +cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)") +cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)") +cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)") +cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)") +cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)") +cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)") +cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)") +cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)") +cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)") +cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)") +cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)") +cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)") +cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER") +cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)") +cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)") +cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)") +cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)") +cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)") +cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)") +cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)") +cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)") +cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)") +cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)") +cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)") +cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)") +cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)") +cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE") + +cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);") +cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);") +cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);") +cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);") +cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);") +cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);") +cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);") +cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);") +cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);") +cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);") +cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);") +cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);") +cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);") +cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);") +cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);") +cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);") +cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);") +cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);") +cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);") +cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);") +cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);") +cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);") +cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);") +cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);") +cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);") +cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);") +cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);") +cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);") +cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);") +cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);") +cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);") +cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);") +cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);") +cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);") +cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);") +cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);") +cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);") +cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);") +cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);") +cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);") +cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);") +cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);") +cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);") + +cpp_quote("#define OInetCombineUrl CoInternetCombineUrl") +cpp_quote("#define OInetCompareUrl CoInternetCompareUrl") +cpp_quote("#define OInetGetSession CoInternetGetSession") + +cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);") +cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);") +cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)") + +cpp_quote("#define MKSYS_URLMONIKER 6") +cpp_quote("#define URL_MK_LEGACY 0") +cpp_quote("#define URL_MK_UNIFORM 1") +cpp_quote("#define URL_MK_NO_CANONICALIZE 2") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/userenv.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/userenv.h new file mode 100644 index 0000000..afa3515 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/userenv.h @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_USERENV_H +#define __WINE_USERENV_H + +#include +#include + +#define PT_TEMPORARY 0x00000001 +#define PT_ROAMING 0x00000002 +#define PT_MANDATORY 0x00000004 + +typedef enum _GPO_LINK { + GPLinkUnknown = 0, + GPLinkMachine, + GPLinkSite, + GPLinkDomain, + GPLinkOrganizationalUnit +} GPO_LINK, *PGPO_LINK; + +typedef struct _GROUP_POLICY_OBJECTA { + DWORD dwOptions; + DWORD dwVersion; + LPSTR lpDSPath; + LPSTR lpFileSysPath; + LPSTR lpDisplayName; + CHAR szGPOName[50]; + GPO_LINK GPOLink; + LPARAM lParam; + struct _GROUP_POLICY_OBJECTA *pNext; + struct _GROUP_POLICY_OBJECTA *pPrev; + LPSTR lpExtensions; + LPARAM lParam2; + LPSTR lpLink; +} GROUP_POLICY_OBJECTA, *PGROUP_POLICY_OBJECTA; + +typedef struct _GROUP_POLICY_OBJECTW { + DWORD dwOptions; + DWORD dwVersion; + LPWSTR lpDSPath; + LPWSTR lpFileSysPath; + LPWSTR lpDisplayName; + WCHAR szGPOName[50]; + GPO_LINK GPOLink; + LPARAM lParam; + struct _GROUP_POLICY_OBJECTW *pNext; + struct _GROUP_POLICY_OBJECTW *pPrev; + LPWSTR lpExtensions; + LPARAM lParam2; + LPWSTR lpLink; +} GROUP_POLICY_OBJECTW, *PGROUP_POLICY_OBJECTW; + +DECL_WINELIB_TYPE_AW(GROUP_POLICY_OBJECT) +DECL_WINELIB_TYPE_AW(PGROUP_POLICY_OBJECT) + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI CreateEnvironmentBlock(LPVOID*,HANDLE,BOOL); +BOOL WINAPI DestroyEnvironmentBlock(LPVOID); +HANDLE WINAPI EnterCriticalPolicySection(BOOL); +BOOL WINAPI ExpandEnvironmentStringsForUserA(HANDLE,LPCSTR,LPSTR,DWORD); +BOOL WINAPI ExpandEnvironmentStringsForUserW(HANDLE,LPCWSTR,LPWSTR,DWORD); +#define ExpandEnvironmentStringsForUser WINELIB_NAME_AW(ExpandEnvironmentStringsForUser) +DWORD WINAPI GetAppliedGPOListW(DWORD,LPCWSTR,PSID,GUID*,PGROUP_POLICY_OBJECTW*); +DWORD WINAPI GetAppliedGPOListA(DWORD,LPCSTR,PSID,GUID*,PGROUP_POLICY_OBJECTA*); +#define GetAppliedGPOList WINELIB_NAME_AW(GetAppliedGPOList) +BOOL WINAPI GetUserProfileDirectoryA(HANDLE,LPSTR,LPDWORD); +BOOL WINAPI GetUserProfileDirectoryW(HANDLE,LPWSTR,LPDWORD); +#define GetUserProfileDirectory WINELIB_NAME_AW(GetUserProfileDirectory) +BOOL WINAPI GetProfilesDirectoryA(LPSTR,LPDWORD); +BOOL WINAPI GetProfilesDirectoryW(LPWSTR,LPDWORD); +#define GetProfilesDirectory WINELIB_NAME_AW(GetProfilesDirectory) +BOOL WINAPI GetAllUsersProfileDirectoryA(LPSTR,LPDWORD); +BOOL WINAPI GetAllUsersProfileDirectoryW(LPWSTR,LPDWORD); +#define GetAllUsersProfileDirectory WINELIB_NAME_AW(GetAllUsersProfileDirectory) +BOOL WINAPI GetProfileType(DWORD*); +BOOL WINAPI LeaveCriticalPolicySection(HANDLE); +BOOL WINAPI LoadUserProfileA(HANDLE,LPPROFILEINFOA); +BOOL WINAPI LoadUserProfileW(HANDLE,LPPROFILEINFOW); +#define LoadUserProfile WINELIB_NAME_AW(LoadUserProfile) +BOOL WINAPI RegisterGPNotification(HANDLE,BOOL); +BOOL WINAPI UnloadUserProfile(HANDLE,HANDLE); +BOOL WINAPI UnregisterGPNotification(HANDLE); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_USERENV_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/usp10.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/usp10.h new file mode 100644 index 0000000..09416ae --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/usp10.h @@ -0,0 +1,295 @@ +/* + * Copyright (C) 2005 Steven Edwards + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __USP10_H +#define __USP10_H + +#include +/* FIXME: #include */ + +#ifdef __cplusplus +extern "C" { +#endif + +/** ScriptStringAnalyse */ +#define SSA_PASSWORD 0x00000001 +#define SSA_TAB 0x00000002 +#define SSA_CLIP 0x00000004 +#define SSA_FIT 0x00000008 +#define SSA_DZWG 0x00000010 +#define SSA_FALLBACK 0x00000020 +#define SSA_BREAK 0x00000040 +#define SSA_GLYPHS 0x00000080 +#define SSA_RTL 0x00000100 +#define SSA_GCP 0x00000200 +#define SSA_HOTKEY 0x00000400 +#define SSA_METAFILE 0x00000800 +#define SSA_LINK 0x00001000 +#define SSA_HIDEHOTKEY 0x00002000 +#define SSA_HOTKEYONLY 0x00002400 +#define SSA_FULLMEASURE 0x04000000 +#define SSA_LPKANSIFALLBACK 0x08000000 +#define SSA_PIDX 0x10000000 +#define SSA_LAYOUTRTL 0x20000000 +#define SSA_DONTGLYPH 0x40000000 +#define SSA_NOKASHIDA 0x80000000 + +/** StringIsComplex */ +#define SIC_COMPLEX 1 +#define SIC_ASCIIDIGIT 2 +#define SIC_NEUTRAL 4 + +/** ScriptGetCMap */ +#define SGCM_RTL 0x00000001 + +/** ScriptApplyDigitSubstitution */ +#define SCRIPT_DIGITSUBSTITUTE_CONTEXT 0 +#define SCRIPT_DIGITSUBSTITUTE_NONE 1 +#define SCRIPT_DIGITSUBSTITUTE_NATIONAL 2 +#define SCRIPT_DIGITSUBSTITUTE_TRADITIONAL 3 + +#define SCRIPT_UNDEFINED 0 + +#define USP_E_SCRIPT_NOT_IN_FONT MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x200) + +typedef enum tag_SCRIPT_JUSTIFY { + SCRIPT_JUSTIFY_NONE = 0, + SCRIPT_JUSTIFY_ARABIC_BLANK = 1, + SCRIPT_JUSTIFY_CHARACTER = 2, + SCRIPT_JUSTIFY_RESERVED1 = 3, + SCRIPT_JUSTIFY_BLANK = 4, + SCRIPT_JUSTIFY_RESERVED2 = 5, + SCRIPT_JUSTIFY_RESERVED3 = 6, + SCRIPT_JUSTIFY_ARABIC_NORMAL = 7, + SCRIPT_JUSTIFY_ARABIC_KASHIDA = 8, + SCRIPT_JUSTIFY_ARABIC_ALEF = 9, + SCRIPT_JUSTIFY_ARABIC_HA = 10, + SCRIPT_JUSTIFY_ARABIC_RA = 11, + SCRIPT_JUSTIFY_ARABIC_BA = 12, + SCRIPT_JUSTIFY_ARABIC_BARA = 13, + SCRIPT_JUSTIFY_ARABIC_SEEN = 14, + SCRIPT_JUSTIFY_ARABIC_SEEN_M = 15, +} SCRIPT_JUSTIFY; + +typedef struct tag_SCRIPT_CONTROL { + DWORD uDefaultLanguage :16; + DWORD fContextDigits :1; + DWORD fInvertPreBoundDir :1; + DWORD fInvertPostBoundDir :1; + DWORD fLinkStringBefore :1; + DWORD fLinkStringAfter :1; + DWORD fNeutralOverride :1; + DWORD fNumericOverride :1; + DWORD fLegacyBidiClass :1; + DWORD fMergeNeutralItems :1; + DWORD fReserved :7; +} SCRIPT_CONTROL; + +typedef struct { + DWORD langid :16; + DWORD fNumeric :1; + DWORD fComplex :1; + DWORD fNeedsWordBreaking :1; + DWORD fNeedsCaretInfo :1; + DWORD bCharSet :8; + DWORD fControl :1; + DWORD fPrivateUseArea :1; + DWORD fNeedsCharacterJustify :1; + DWORD fInvalidGlyph :1; + DWORD fInvalidLogAttr :1; + DWORD fCDM :1; + DWORD fAmbiguousCharSet :1; + DWORD fClusterSizeVaries :1; + DWORD fRejectInvalid :1; +} SCRIPT_PROPERTIES; + +typedef struct tag_SCRIPT_STATE { + WORD uBidiLevel :5; + WORD fOverrideDirection :1; + WORD fInhibitSymSwap :1; + WORD fCharShape :1; + WORD fDigitSubstitute :1; + WORD fInhibitLigate :1; + WORD fDisplayZWG :1; + WORD fArabicNumContext :1; + WORD fGcpClusters :1; + WORD fReserved :1; + WORD fEngineReserved :2; +} SCRIPT_STATE; + +typedef struct tag_SCRIPT_ANALYSIS { + WORD eScript :10; + WORD fRTL :1; + WORD fLayoutRTL :1; + WORD fLinkBefore :1; + WORD fLinkAfter :1; + WORD fLogicalOrder :1; + WORD fNoGlyphIndex :1; + SCRIPT_STATE s; +} SCRIPT_ANALYSIS; + +typedef struct tag_SCRIPT_ITEM { + int iCharPos; + SCRIPT_ANALYSIS a; +} SCRIPT_ITEM; + +typedef struct tag_SCRIPT_DIGITSUBSTITUTE { + DWORD NationalDigitLanguage :16; + DWORD TraditionalDigitLanguage :16; + DWORD DigitSubstitute :8; + DWORD dwReserved; +} SCRIPT_DIGITSUBSTITUTE; + +typedef struct tag_SCRIPT_FONTPROPERTIES { + int cBytes; + WORD wgBlank; + WORD wgDefault; + WORD wgInvalid; + WORD wgKashida; + int iKashidaWidth; +} SCRIPT_FONTPROPERTIES; + +typedef struct tag_SCRIPT_TABDEF { + int cTabStops; + int iScale; + int *pTabStops; + int iTabOrigin; +} SCRIPT_TABDEF; + +typedef struct tag_SCRIPT_VISATTR { + WORD uJustification :4; + WORD fClusterStart :1; + WORD fDiacritic :1; + WORD fZeroWidth :1; + WORD fReserved :1; + WORD fShapeReserved :8; +} SCRIPT_VISATTR; + +typedef struct tag_SCRIPT_LOGATTR { + BYTE fSoftBreak :1; + BYTE fWhiteSpace :1; + BYTE fCharStop :1; + BYTE fWordStop :1; + BYTE fInvalid :1; + BYTE fReserved :3; +} SCRIPT_LOGATTR; + +typedef void *SCRIPT_CACHE; +typedef void *SCRIPT_STRING_ANALYSIS; + +#ifndef LSDEFS_DEFINED +typedef struct tagGOFFSET { + LONG du; + LONG dv; +} GOFFSET; +#endif + +typedef ULONG OPENTYPE_TAG; + +typedef struct tagOPENTYPE_FEATURE_RECORD +{ + OPENTYPE_TAG tagFeature; + LONG lParameter; +} OPENTYPE_FEATURE_RECORD; + +typedef struct tagSCRIPT_GLYPHPROP +{ + SCRIPT_VISATTR sva; + WORD reserved; +} SCRIPT_GLYPHPROP; + +typedef struct tagSCRIPT_CHARPROP +{ + WORD fCanGlyphAlone :1; + WORD reserved :15; +} SCRIPT_CHARPROP; + +typedef struct tagTEXTRANGE_PROPERTIES +{ + OPENTYPE_FEATURE_RECORD *potfRecords; + INT cotfRecords; +} TEXTRANGE_PROPERTIES; + +/* Function Declarations */ + +HRESULT WINAPI ScriptApplyDigitSubstitution(const SCRIPT_DIGITSUBSTITUTE* psds, + SCRIPT_CONTROL* psc, SCRIPT_STATE* pss); +HRESULT WINAPI ScriptApplyLogicalWidth(const int *piDx, int cChars, int cGlyphs, const WORD *pwLogClust, + const SCRIPT_VISATTR *psva, const int *piAdvance, + const SCRIPT_ANALYSIS *psa, ABC *pABC, int *piJustify); +HRESULT WINAPI ScriptRecordDigitSubstitution(LCID Locale, SCRIPT_DIGITSUBSTITUTE *psds); +HRESULT WINAPI ScriptItemize(const WCHAR *pwcInChars, int cInChars, int cMaxItems, + const SCRIPT_CONTROL *psControl, const SCRIPT_STATE *psState, + SCRIPT_ITEM *pItems, int *pcItems); +HRESULT WINAPI ScriptGetCMap(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcInChars, int cChars, + DWORD dwFlags, WORD *pwOutGlyphs); +HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES *sfp); +HRESULT WINAPI ScriptGetGlyphABCWidth(HDC hdc, SCRIPT_CACHE *psc, WORD wGlyph, ABC *pABC); +HRESULT WINAPI ScriptGetLogicalWidths(const SCRIPT_ANALYSIS *psa, int cChars, int cGlyphs, + const int *piGlyphWidth, const WORD *pwLogClust, + const SCRIPT_VISATTR *psva, int *piDx); +HRESULT WINAPI ScriptGetProperties(const SCRIPT_PROPERTIES ***ppSp, int *piNumScripts); +HRESULT WINAPI ScriptStringAnalyse(HDC hdc, + const void *pString, + int cString, + int cGlyphs, + int iCharset, + DWORD dwFlags, + int iReqWidth, + SCRIPT_CONTROL *psControl, + SCRIPT_STATE *psState, + const int *piDx, + SCRIPT_TABDEF *pTabdef, + const BYTE *pbInClass, + SCRIPT_STRING_ANALYSIS *pssa); +HRESULT WINAPI ScriptStringValidate(SCRIPT_STRING_ANALYSIS ssa); +HRESULT WINAPI ScriptStringFree(SCRIPT_STRING_ANALYSIS *pssa); +HRESULT WINAPI ScriptFreeCache(SCRIPT_CACHE *psc); +HRESULT WINAPI ScriptIsComplex(const WCHAR* pwcInChars, int cInChars, DWORD dwFlags); +HRESULT WINAPI ScriptJustify(const SCRIPT_VISATTR *psva, const int *piAdvance, int cGlyphs, + int iDx, int iMinKashida, int *piJustify); +HRESULT WINAPI ScriptLayout(int cRuns, const BYTE *pbLevel, int *piVisualToLogical, int *piLogicalToVisual); +HRESULT WINAPI ScriptShape(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars, int cChars, int cMaxGlyphs, + SCRIPT_ANALYSIS *psa, WORD *pwOutGlyphs, WORD *pwLogClust, SCRIPT_VISATTR *psva, int *pcGlyphs); +HRESULT WINAPI ScriptPlace(HDC hdc, SCRIPT_CACHE *psc, const WORD *pwGlyphs, int cGlyphs, const SCRIPT_VISATTR *psva, + SCRIPT_ANALYSIS *psa, int *piAdvance, GOFFSET *pGoffset, ABC *pABC ); +HRESULT WINAPI ScriptBreak(const WCHAR *pwcChars, int cChars, const SCRIPT_ANALYSIS *psa, SCRIPT_LOGATTR *psla); +HRESULT WINAPI ScriptCacheGetHeight(HDC hdc, SCRIPT_CACHE *psc, LONG *tmHeight); +HRESULT WINAPI ScriptCPtoX(int iCP, BOOL fTrailing, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, + const int *piAdvance, const SCRIPT_ANALYSIS *psa, int *piX); +HRESULT WINAPI ScriptXtoCP(int iX, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, + const int *piAdvance, const SCRIPT_ANALYSIS *psa, int *piCP, int *piTrailing); +HRESULT WINAPI ScriptStringCPtoX(SCRIPT_STRING_ANALYSIS ssa, int icp, BOOL fTrailing, int *pX); +HRESULT WINAPI ScriptStringXtoCP(SCRIPT_STRING_ANALYSIS ssa, int iX, int *piCh , int *piTrailing); +HRESULT WINAPI ScriptStringGetLogicalWidths(SCRIPT_STRING_ANALYSIS ssa, int *piDx); +HRESULT WINAPI ScriptStringGetOrder(SCRIPT_STRING_ANALYSIS ssa, UINT *puOrder); +HRESULT WINAPI ScriptStringOut(SCRIPT_STRING_ANALYSIS ssa, int iX, int iY, UINT uOptions, const RECT *prc, + int iMinSel, int iMaxSel, BOOL fDisabled); +HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UINT fuOptions, const RECT *lprc, + const SCRIPT_ANALYSIS *psa, const WCHAR *pwcReserved, int iReserved, const WORD *pwGlyphs, + int cGlyphs, const int *piAdvance, const int *piJustify, const GOFFSET *pGoffset); +const int* WINAPI ScriptString_pcOutChars(SCRIPT_STRING_ANALYSIS ssa); +const SCRIPT_LOGATTR* WINAPI ScriptString_pLogAttr(SCRIPT_STRING_ANALYSIS ssa); +const SIZE* WINAPI ScriptString_pSize(SCRIPT_STRING_ANALYSIS ssa); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __USP10_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uuids.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uuids.h new file mode 100644 index 0000000..6842429 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uuids.h @@ -0,0 +1,442 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef OUR_GUID_ENTRY +#define OUR_GUID_ENTRY(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); +#endif + +#define MEDIATYPE_NULL GUID_NULL +#define MEDIASUBTYPE_NULL GUID_NULL + +OUR_GUID_ENTRY(AMPROPSETID_Pin, 0x9b00f101, 0x1567, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CAPTION_FORMAT_ATSC, 0x3ed9cb31, 0xfd10, 0x4ade, 0xbc, 0xcc, 0xfb, 0x91, 0x05, 0xd2, 0xf3, 0xef) +OUR_GUID_ENTRY(CAPTION_FORMAT_DIRECTV, 0xe9ca1ce7, 0x915e, 0x47be, 0x9b, 0xb9, 0xbf, 0x1d, 0x8a, 0x13, 0xa5, 0xec) +OUR_GUID_ENTRY(CAPTION_FORMAT_DVB, 0x12230db4, 0xff2a, 0x447e, 0xbb, 0x88, 0x68, 0x41, 0xc4, 0x16, 0xd0, 0x68) +OUR_GUID_ENTRY(CAPTION_FORMAT_ECHOSTAR, 0xebb1a262, 0x1158, 0x4b99, 0xae, 0x80, 0x92, 0xac, 0x77, 0x69, 0x52, 0xc4) +OUR_GUID_ENTRY(CLSID_ACMWrapper, 0x6a08cf80, 0x0e18, 0x11cf, 0xa2, 0x4d, 0x00, 0x20, 0xaf, 0xd7, 0x97, 0x67) +OUR_GUID_ENTRY(CLSID_AMovie, 0x5f2759c0, 0x7685, 0x11cf, 0x8b, 0x23, 0x00, 0x80, 0x5f, 0x6c, 0xef, 0x60) +OUR_GUID_ENTRY(CLSID_ATSCNetworkPropertyPage, 0xe3444d16, 0x5ac4, 0x4386, 0x88, 0xdf, 0x13, 0xfd, 0x23, 0x0e, 0x1d, 0xda) +OUR_GUID_ENTRY(CLSID_ATSCNetworkProvider, 0x0dad2fdd, 0x5fd7, 0x11d3, 0x8f, 0x50, 0x00, 0xc0, 0x4f, 0x79, 0x71, 0xe2) +OUR_GUID_ENTRY(CLSID_AVICo, 0xd76e2820, 0x1563, 0x11cf, 0xac, 0x98, 0x00, 0xaa, 0x00, 0x4c, 0x0f, 0xa9) +OUR_GUID_ENTRY(CLSID_AVIDec, 0xcf49d4e0, 0x1115, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_AVIDoc, 0xd3588ab0, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_AVIDocWriter, 0xd3588ab1, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_AVIDraw, 0xa888df60, 0x1e90, 0x11cf, 0xac, 0x98, 0x00, 0xaa, 0x00, 0x4c, 0x0f, 0xa9) +OUR_GUID_ENTRY(CLSID_AVIMIDIRender, 0x07b65360, 0xc445, 0x11ce, 0xaf, 0xde, 0x00, 0xaa, 0x00, 0x6c, 0x14, 0xf4) +OUR_GUID_ENTRY(CLSID_ActiveMovieCategories, 0xda4e3da0, 0xd07d, 0x11d0, 0xbd, 0x50, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_AllocPresenter, 0x99d54f63, 0x1a69, 0x41ae, 0xaa, 0x4d, 0xc9, 0x76, 0xeb, 0x3f, 0x07, 0x13) +OUR_GUID_ENTRY(CLSID_AllocPresenterDDXclMode, 0x4444ac9e, 0x242e, 0x471b, 0xa3, 0xc7, 0x45, 0xdc, 0xd4, 0x63, 0x52, 0xbc) +OUR_GUID_ENTRY(CLSID_AnalogVideoDecoderPropertyPage, 0x71f96466, 0x78f3, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56) +OUR_GUID_ENTRY(CLSID_AsfMux, 0xf560ae42, 0x6cdd, 0x11d1, 0xad, 0xe2, 0x00, 0x00, 0xf8, 0x75, 0x4b, 0x99) +OUR_GUID_ENTRY(CLSID_AsyncReader, 0xe436ebb5, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_AudioCompressorCategory, 0x33d9a761, 0x90c8, 0x11d0, 0xbd, 0x43, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_AudioFileClip, 0xa5ea8d32, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_AudioInputDeviceCategory, 0x33d9a762, 0x90c8, 0x11d0, 0xbd, 0x43, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_AudioInputMixerProperties, 0x2ca8ca52, 0x3c3f, 0x11d2, 0xb7, 0x3d, 0x00, 0xc0, 0x4f, 0xb6, 0xbd, 0x3d) +OUR_GUID_ENTRY(CLSID_AudioProperties, 0x05589faf, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_AudioRecord, 0xe30629d2, 0x27e5, 0x11ce, 0x87, 0x5d, 0x00, 0x60, 0x8c, 0xb7, 0x80, 0x66) +OUR_GUID_ENTRY(CLSID_AudioRender, 0xe30629d1, 0x27e5, 0x11ce, 0x87, 0x5d, 0x00, 0x60, 0x8c, 0xb7, 0x80, 0x66) +OUR_GUID_ENTRY(CLSID_AudioRendererAdvancedProperties,0x37e92a92, 0xd9aa, 0x11d2, 0xbf, 0x84, 0x8e, 0xf2, 0xb1, 0x55, 0x5a, 0xed) +OUR_GUID_ENTRY(CLSID_AudioRendererCategory, 0xe0f158e1, 0xcb04, 0x11d0, 0xbd, 0x4e, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_AviDest, 0xe2510970, 0xf137, 0x11ce, 0x8b, 0x67, 0x00, 0xaa, 0x00, 0xa3, 0xf1, 0xa6) +OUR_GUID_ENTRY(CLSID_AviMuxProptyPage, 0xc647b5c0, 0x157c, 0x11d0, 0xbd, 0x23, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_AviMuxProptyPage1, 0x0a9ae910, 0x85c0, 0x11d0, 0xbd, 0x42, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_AviReader, 0x1b544c21, 0xfd0b, 0x11ce, 0x8c, 0x63, 0x00, 0xaa, 0x00, 0x44, 0xb5, 0x1e) +OUR_GUID_ENTRY(CLSID_AviSplitter, 0x1b544c20, 0xfd0b, 0x11ce, 0x8c, 0x63, 0x00, 0xaa, 0x00, 0x44, 0xb5, 0x1e) +OUR_GUID_ENTRY(CLSID_CAcmCoClassManager, 0x33d9a761, 0x90c8, 0x11d0, 0xbd, 0x43, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CCAFilter, 0x3d07a539, 0x35ca, 0x447c, 0x9b, 0x05, 0x8d, 0x85, 0xce, 0x92, 0x4f, 0x9e) +OUR_GUID_ENTRY(CLSID_CDeviceMoniker, 0x4315d437, 0x5b8c, 0x11d0, 0xbd, 0x3b, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CIcmCoClassManager, 0x33d9a760, 0x90c8, 0x11d0, 0xbd, 0x43, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CMidiOutClassManager, 0x4efe2452, 0x168a, 0x11d1, 0xbc, 0x76, 0x00, 0xc0, 0x4f, 0xb9, 0x45, 0x3b) +OUR_GUID_ENTRY(CLSID_CMpegAudioCodec, 0x4a2286e0, 0x7bef, 0x11ce, 0x9b, 0xd9, 0x00, 0x00, 0xe2, 0x02, 0x59, 0x9c) +OUR_GUID_ENTRY(CLSID_CMpegVideoCodec, 0xfeb50740, 0x7bef, 0x11ce, 0x9b, 0xd9, 0x00, 0x00, 0xe2, 0x02, 0x59, 0x9c) +OUR_GUID_ENTRY(CLSID_CQzFilterClassManager, 0x083863f1, 0x70de, 0x11d0, 0xbd, 0x40, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CVidCapClassManager, 0x860bb310, 0x5d01, 0x11d0, 0xbd, 0x3b, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CWaveOutClassManager, 0xe0f158e1, 0xcb04, 0x11d0, 0xbd, 0x4e, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CWaveinClassManager, 0x33d9a762, 0x90c8, 0x11d0, 0xbd, 0x43, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_CameraControlPropertyPage, 0x71f96465, 0x78f3, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56) +OUR_GUID_ENTRY(CLSID_CaptionsFilter, 0x2f7ee4b6, 0x6ff5, 0x4eb4, 0xb2, 0x4a, 0x2b, 0xfc, 0x41, 0x11, 0x71, 0x71) +OUR_GUID_ENTRY(CLSID_CaptureGraphBuilder, 0xbf87b6e0, 0x8c27, 0x11d0, 0xb3, 0xf0, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_CaptureGraphBuilder2, 0xbf87b6e1, 0x8c27, 0x11d0, 0xb3, 0xf0, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_CaptureProperties, 0x1b544c22, 0xfd0b, 0x11ce, 0x8c, 0x63, 0x00, 0xaa, 0x00, 0x44, 0xb5, 0x1f) +OUR_GUID_ENTRY(CLSID_Colour, 0x1643e180, 0x90f5, 0x11ce, 0x97, 0xd5, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_CrossbarFilterPropertyPage, 0x71f96461, 0x78f3, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56) +OUR_GUID_ENTRY(CLSID_CutListCacheMemory, 0xa5ea8d33, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_CutListGraphBuilder, 0xa5ea8d2f, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_CutListSource, 0xa5ea8d20, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_DShowTVEFilter, 0x05500280, 0xfaa5, 0x4df9, 0x82, 0x46, 0xbf, 0xc2, 0x3a, 0xc5, 0xce, 0xa8) +OUR_GUID_ENTRY(CLSID_DSoundRender, 0x79376820, 0x07d0, 0x11cf, 0xa2, 0x4d, 0x00, 0x20, 0xaf, 0xd7, 0x97, 0x67) +OUR_GUID_ENTRY(CLSID_DVBCNetworkProvider, 0xdc0c0fe7, 0x0485, 0x4266, 0xb9, 0x3f, 0x68, 0xfb, 0xf8, 0x0e, 0xd8, 0x34) +OUR_GUID_ENTRY(CLSID_DVBSNetworkProvider, 0xfa4b375a, 0x45b4, 0x4d45, 0x84, 0x40, 0x26, 0x39, 0x57, 0xb1, 0x16, 0x23) +OUR_GUID_ENTRY(CLSID_DVBTNetworkProvider, 0x216c62df, 0x6d7f, 0x4e9a, 0x85, 0x71, 0x05, 0xf1, 0x4e, 0xdb, 0x76, 0x6a) +OUR_GUID_ENTRY(CLSID_DVDHWDecodersCategory, 0x2721ae20, 0x7e70, 0x11d0, 0xa5, 0xd6, 0x28, 0xdb, 0x04, 0xc1, 0x00, 0x00) +OUR_GUID_ENTRY(CLSID_DVDNavigator, 0x9b8c4620, 0x2c1a, 0x11d0, 0x84, 0x93, 0x00, 0xa0, 0x24, 0x38, 0xad, 0x48) +OUR_GUID_ENTRY(CLSID_DVDState, 0xf963c5cf, 0xa659, 0x4a93, 0x96, 0x38, 0xca, 0xf3, 0xcd, 0x27, 0x7d, 0x13) +OUR_GUID_ENTRY(CLSID_DVDecPropertiesPage, 0x101193c0, 0x0bfe, 0x11d0, 0xaf, 0x91, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DVEncPropertiesPage, 0x4150f050, 0xbb6f, 0x11d0, 0xaf, 0xb9, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DVMux, 0x129d7e40, 0xc10d, 0x11d0, 0xaf, 0xb9, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DVMuxPropertyPage, 0x4db880e0, 0xc10d, 0x11d0, 0xaf, 0xb9, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DVSplitter, 0x4eb31670, 0x9fc6, 0x11cf, 0xaf, 0x6e, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DVVideoCodec, 0xb1b77c00, 0xc3e4, 0x11cf, 0xaf, 0x79, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DVVideoEnc, 0x13aa3650, 0xbb6f, 0x11d0, 0xaf, 0xb9, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_DeviceControlCategory, 0xcc7bfb46, 0xf175, 0x11d1, 0xa3, 0x92, 0x00, 0xe0, 0x29, 0x1f, 0x39, 0x59) +OUR_GUID_ENTRY(CLSID_DirectDrawProperties, 0x944d4c00, 0xdd52, 0x11ce, 0xbf, 0x0e, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_DirectShowPluginControl, 0x8670c736, 0xf614, 0x427b, 0x8a, 0xda, 0xbb, 0xad, 0xc5, 0x87, 0x19, 0x4b) +OUR_GUID_ENTRY(CLSID_Dither, 0x1da08500, 0x9edc, 0x11cf, 0xbc, 0x10, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(CLSID_DtvCcFilter, 0xfb056ba0, 0x2502, 0x45b9, 0x8e, 0x86, 0x2b, 0x40, 0xde, 0x84, 0xad, 0x29) +OUR_GUID_ENTRY(CLSID_DvdGraphBuilder, 0xfcc152b7, 0xf372, 0x11d0, 0x8e, 0x00, 0x00, 0xc0, 0x4f, 0xd7, 0xc0, 0x8b) +OUR_GUID_ENTRY(CLSID_EVRPlaybackPipelineOptimizer, 0x62079164, 0x233b, 0x41f8, 0xa8, 0x0f, 0xf0, 0x17, 0x05, 0xf5, 0x14, 0xa8) +OUR_GUID_ENTRY(CLSID_EVRTearlessWindowPresenter9, 0xa0a7a57b, 0x59b2, 0x4919, 0xa6, 0x94, 0xad, 0xd0, 0xa5, 0x26, 0xc3, 0x73) +OUR_GUID_ENTRY(CLSID_EnhancedVideoRenderer, 0xfa10746c, 0x9b63, 0x4b6c, 0xbc, 0x49, 0xfc, 0x30, 0x0e, 0xa5, 0xf2, 0x56) +OUR_GUID_ENTRY(CLSID_FGControl, 0xe436ebb4, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_FileSource, 0x701722e0, 0x8ae3, 0x11ce, 0xa8, 0x5c, 0x00, 0xaa, 0x00, 0x2f, 0xea, 0xb5) +OUR_GUID_ENTRY(CLSID_FileWriter, 0x8596e5f0, 0x0da5, 0x11d0, 0xbd, 0x21, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_FilterGraph, 0xe436ebb3, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_FilterGraphNoThread, 0xe436ebb8, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_FilterGraphPrivateThread, 0xa3ecbc41, 0x581a, 0x4476, 0xb6, 0x93, 0xa6, 0x33, 0x40, 0x46, 0x2d, 0x8b) +OUR_GUID_ENTRY(CLSID_FilterMapper, 0xe436ebb2, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_FilterMapper2, 0xcda42200, 0xbd88, 0x11d0, 0xbd, 0x4e, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_ICodecAPIProxy, 0x7ff0997a, 0x1999, 0x4286, 0xa7, 0x3c, 0x62, 0x2b, 0x88, 0x14, 0xe7, 0xeb) +OUR_GUID_ENTRY(CLSID_IVideoEncoderCodecAPIProxy, 0xb05dabd9, 0x56e5, 0x4fdc, 0xaf, 0xa4, 0x8a, 0x47, 0xe9, 0x1f, 0x1c, 0x9c) +OUR_GUID_ENTRY(CLSID_IVideoEncoderProxy, 0xb43c4eec, 0x8c32, 0x4791, 0x91, 0x02, 0x50, 0x8a, 0xda, 0x5e, 0xe8, 0xe7) +OUR_GUID_ENTRY(CLSID_InfTee, 0xf8388a40, 0xd5bb, 0x11d0, 0xbe, 0x5a, 0x00, 0x80, 0xc7, 0x06, 0x56, 0x8e) +OUR_GUID_ENTRY(CLSID_LegacyAmFilterCategory, 0x083863f1, 0x70de, 0x11d0, 0xbd, 0x40, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_Line21Decoder, 0x6e8d4a20, 0x310c, 0x11d0, 0xb7, 0x9a, 0x00, 0xaa, 0x00, 0x37, 0x67, 0xa7) +OUR_GUID_ENTRY(CLSID_Line21Decoder2, 0xe4206432, 0x01a1, 0x4bee, 0xb3, 0xe1, 0x37, 0x02, 0xc8, 0xed, 0xc5, 0x74) +OUR_GUID_ENTRY(CLSID_MFVideoMixer9, 0xe474e05a, 0xab65, 0x4f6a, 0x82, 0x7c, 0x21, 0x8b, 0x1b, 0xaa, 0xf3, 0x1f) +OUR_GUID_ENTRY(CLSID_MFVideoPresenter9, 0x98455561, 0x5136, 0x4d28, 0xab, 0x08, 0x4c, 0xee, 0x40, 0xea, 0x27, 0x81) +OUR_GUID_ENTRY(CLSID_MJPGEnc, 0xb80ab0a0, 0x7416, 0x11d2, 0x9e, 0xeb, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37) +OUR_GUID_ENTRY(CLSID_MMSPLITTER, 0x3ae86b20, 0x7be8, 0x11d1, 0xab, 0xe6, 0x00, 0xa0, 0xc9, 0x05, 0xf3, 0x75) +OUR_GUID_ENTRY(CLSID_MOVReader, 0x44584800, 0xf8ee, 0x11ce, 0xb2, 0xd4, 0x00, 0xdd, 0x01, 0x10, 0x1b, 0x85) +OUR_GUID_ENTRY(CLSID_MPEG1Doc, 0xe4bbd160, 0x4269, 0x11ce, 0x83, 0x8d, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_MPEG1PacketPlayer, 0x26c25940, 0x4ca9, 0x11ce, 0xa8, 0x28, 0x00, 0xaa, 0x00, 0x2f, 0xea, 0xb5) +OUR_GUID_ENTRY(CLSID_MPEG1Splitter, 0x336475d0, 0x942a, 0x11ce, 0xa8, 0x70, 0x00, 0xaa, 0x00, 0x2f, 0xea, 0xb5) +OUR_GUID_ENTRY(CLSID_MPEG2Demultiplexer, 0xafb6c280, 0x2c41, 0x11d3, 0x8a, 0x60, 0x00, 0x00, 0xf8, 0x1e, 0x0e, 0x4a) +OUR_GUID_ENTRY(CLSID_MPEG2Demultiplexer_NoClock, 0x687d3367, 0x3644, 0x467a, 0xad, 0xfe, 0x6c, 0xd7, 0xa8, 0x5c, 0x4a, 0x2c) +OUR_GUID_ENTRY(CLSID_MediaEncoderCategory, 0x7d22e920, 0x5ca9, 0x4787, 0x8c, 0x2b, 0xa6, 0x77, 0x9b, 0xd1, 0x17, 0x81) +OUR_GUID_ENTRY(CLSID_MediaMultiplexerCategory, 0x236c9559, 0xadce, 0x4736, 0xbf, 0x72, 0xba, 0xb3, 0x4e, 0x39, 0x21, 0x96) +OUR_GUID_ENTRY(CLSID_MediaPropertyBag, 0xcdbd8d00, 0xc193, 0x11d0, 0xbd, 0x4e, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_MemoryAllocator, 0x1e651cc0, 0xb199, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45) +OUR_GUID_ENTRY(CLSID_MidiRendererCategory, 0x4efe2452, 0x168a, 0x11d1, 0xbc, 0x76, 0x00, 0xc0, 0x4f, 0xb9, 0x45, 0x3b) +OUR_GUID_ENTRY(CLSID_MjpegDec, 0x301056d0, 0x6dff, 0x11d2, 0x9e, 0xeb, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37) +OUR_GUID_ENTRY(CLSID_ModexProperties, 0x0618aa30, 0x6bc4, 0x11cf, 0xbf, 0x36, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_ModexRenderer, 0x07167665, 0x5011, 0x11cf, 0xbf, 0x33, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_Mpeg2VideoStreamAnalyzer, 0x6cfad761, 0x735d, 0x4aa5, 0x8a, 0xfc, 0xaf, 0x91, 0xa7, 0xd6, 0x1e, 0xba) +OUR_GUID_ENTRY(CLSID_NetworkProvider, 0xb2f3a67c, 0x29da, 0x4c78, 0x88, 0x31, 0x09, 0x1e, 0xd5, 0x09, 0xa4, 0x75) +OUR_GUID_ENTRY(CLSID_NullRenderer, 0xc1f400a4, 0x3f08, 0x11d3, 0x9f, 0x0b, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37) +OUR_GUID_ENTRY(CLSID_OverlayMixer, 0xcd8743a1, 0x3736, 0x11d0, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(CLSID_PerformanceProperties, 0x59ce6880, 0xacf8, 0x11cf, 0xb5, 0x6e, 0x00, 0x80, 0xc7, 0xc4, 0xb6, 0x8a) +OUR_GUID_ENTRY(CLSID_PersistMonikerPID, 0xe436ebb7, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_ProtoFilterGraph, 0xe436ebb0, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_QTDec, 0xfdfe9681, 0x74a3, 0x11d0, 0xaf, 0xa7, 0x00, 0xaa, 0x00, 0xb6, 0x7a, 0x42) +OUR_GUID_ENTRY(CLSID_QualityProperties, 0x418afb70, 0xf8b8, 0x11ce, 0xaa, 0xc6, 0x00, 0x20, 0xaf, 0x0b, 0x99, 0xa3) +OUR_GUID_ENTRY(CLSID_QuickTimeParser, 0xd51bd5a0, 0x7548, 0x11cf, 0xa5, 0x20, 0x00, 0x80, 0xc7, 0x7e, 0xf5, 0x8a) +OUR_GUID_ENTRY(CLSID_SBE2File, 0x93a094d7, 0x51e8, 0x485b, 0x90, 0x4a, 0x8d, 0x6b, 0x97, 0xdc, 0x6b, 0x39) +OUR_GUID_ENTRY(CLSID_SBE2FileScan, 0x3e458037, 0x0ca6, 0x41aa, 0xa5, 0x94, 0x2a, 0xa6, 0xc0, 0x2d, 0x70, 0x9b) +OUR_GUID_ENTRY(CLSID_SBE2MediaTypeProfile, 0x1f26a602, 0x2b5c, 0x4b63, 0xb8, 0xe8, 0x9e, 0xa5, 0xc1, 0xa7, 0xdc, 0x2e) +OUR_GUID_ENTRY(CLSID_SBE2Sink, 0xe2448508, 0x95da, 0x4205, 0x9a, 0x27, 0x7e, 0xc8, 0x1e, 0x72, 0x3b, 0x1a) +OUR_GUID_ENTRY(CLSID_SampleGrabber, 0xc1f400a0, 0x3f08, 0x11d3, 0x9f, 0x0b, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37) +OUR_GUID_ENTRY(CLSID_SeekingPassThru, 0x060af76c, 0x68dd, 0x11d0, 0x8f, 0xc1, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d) +OUR_GUID_ENTRY(CLSID_SimpleCutList, 0xa5ea8d30, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_SmartTee, 0xcc58e280, 0x8aa1, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_StreamBufferComposeRecording, 0xd682c4ba, 0xa90a, 0x42fe, 0xb9, 0xe1, 0x03, 0x10, 0x98, 0x49, 0xc4, 0x23) +OUR_GUID_ENTRY(CLSID_StreamBufferConfig, 0xfa8a68b2, 0xc864, 0x4ba2, 0xad, 0x53, 0xd3, 0x87, 0x6a, 0x87, 0x49, 0x4b) +OUR_GUID_ENTRY(CLSID_StreamBufferPropertyHandler, 0xe37a73f8, 0xfb01, 0x43dc, 0x91, 0x4e, 0xaa, 0xee, 0x76, 0x09, 0x5a, 0xb9) +OUR_GUID_ENTRY(CLSID_StreamBufferRecordingAttributes,0xccaa63ac, 0x1057, 0x4778, 0xae, 0x92, 0x12, 0x06, 0xab, 0x9a, 0xce, 0xe6) +OUR_GUID_ENTRY(CLSID_StreamBufferSink, 0x2db47ae5, 0xcf39, 0x43c2, 0xb4, 0xd6, 0x0c, 0xd8, 0xd9, 0x09, 0x46, 0xf4) +OUR_GUID_ENTRY(CLSID_StreamBufferSource, 0xc9f5fe02, 0xf851, 0x4eb5, 0x99, 0xee, 0xad, 0x60, 0x2a, 0xf1, 0xe6, 0x19) +OUR_GUID_ENTRY(CLSID_StreamBufferThumbnailHandler, 0x713790ee, 0x5ee1, 0x45ba, 0x80, 0x70, 0xa1, 0x33, 0x7d, 0x27, 0x62, 0xfa) +OUR_GUID_ENTRY(CLSID_SubtitlesFilter, 0x9f22cfea, 0xce07, 0x41ab, 0x8b, 0xa0, 0xc7, 0x36, 0x4a, 0xf9, 0x0a, 0xf9) +OUR_GUID_ENTRY(CLSID_SystemClock, 0xe436ebb1, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_SystemDeviceEnum, 0x62be5d10, 0x60eb, 0x11d0, 0xbd, 0x3b, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_TVAudioFilterPropertyPage, 0x71f96463, 0x78f3, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56) +OUR_GUID_ENTRY(CLSID_TVEFilterCCProperties, 0x05500282, 0xfaa5, 0x4df9, 0x82, 0x46, 0xbf, 0xc2, 0x3a, 0xc5, 0xce, 0xa8) +OUR_GUID_ENTRY(CLSID_TVEFilterStatsProperties, 0x05500283, 0xfaa5, 0x4df9, 0x82, 0x46, 0xbf, 0xc2, 0x3a, 0xc5, 0xce, 0xa8) +OUR_GUID_ENTRY(CLSID_TVEFilterTuneProperties, 0x05500281, 0xfaa5, 0x4df9, 0x82, 0x46, 0xbf, 0xc2, 0x3a, 0xc5, 0xce, 0xa8) +OUR_GUID_ENTRY(CLSID_TVTunerFilterPropertyPage, 0x266eee41, 0x6c63, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(CLSID_TextRender, 0xe30629d3, 0x27e5, 0x11ce, 0x87, 0x5d, 0x00, 0x60, 0x8c, 0xb7, 0x80, 0x66) +OUR_GUID_ENTRY(CLSID_TransmitCategory, 0xcc7bfb41, 0xf175, 0x11d1, 0xa3, 0x92, 0x00, 0xe0, 0x29, 0x1f, 0x39, 0x59) +OUR_GUID_ENTRY(CLSID_URLReader, 0xe436ebb6, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(CLSID_VBISurfaces, 0x814b9800, 0x1c88, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(CLSID_VPObject, 0xce292861, 0xfc88, 0x11d0, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(CLSID_VPVBIObject, 0x814b9801, 0x1c88, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(CLSID_VfwCapture, 0x1b544c22, 0xfd0b, 0x11ce, 0x8c, 0x63, 0x00, 0xaa, 0x00, 0x44, 0xb5, 0x1e) +OUR_GUID_ENTRY(CLSID_VideoCompressorCategory, 0x33d9a760, 0x90c8, 0x11d0, 0xbd, 0x43, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_VideoFileClip, 0xa5ea8d31, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(CLSID_VideoInputDeviceCategory, 0x860bb310, 0x5d01, 0x11d0, 0xbd, 0x3b, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86) +OUR_GUID_ENTRY(CLSID_VideoMixingRenderer, 0xb87beb7b, 0x8d29, 0x423f, 0xae, 0x4d, 0x65, 0x82, 0xc1, 0x01, 0x75, 0xac) +OUR_GUID_ENTRY(CLSID_VideoMixingRenderer9, 0x51b4abf3, 0x748f, 0x4e3b, 0xa2, 0x76, 0xc8, 0x28, 0x33, 0x0e, 0x92, 0x6a) +OUR_GUID_ENTRY(CLSID_VideoPortManager, 0x6f26a6cd, 0x967b, 0x47fd, 0x87, 0x4a, 0x7a, 0xed, 0x2c, 0x9d, 0x25, 0xa2) +OUR_GUID_ENTRY(CLSID_VideoProcAmpPropertyPage, 0x71f96464, 0x78f3, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56) +OUR_GUID_ENTRY(CLSID_VideoRenderer, 0x70e102b0, 0x5556, 0x11ce, 0x97, 0xc0, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(CLSID_VideoRendererDefault, 0x6bc1cffa, 0x8fc1, 0x4261, 0xac, 0x22, 0xcf, 0xb4, 0xcc, 0x38, 0xdb, 0x50) +OUR_GUID_ENTRY(CLSID_VideoStreamConfigPropertyPage, 0x71f96467, 0x78f3, 0x11d0, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56) +OUR_GUID_ENTRY(CLSID_WAVEParser, 0xd51bd5a1, 0x7548, 0x11cf, 0xa5, 0x20, 0x00, 0x80, 0xc7, 0x7e, 0xf5, 0x8a) +OUR_GUID_ENTRY(CLSID_WMAsfReader, 0x187463a0, 0x5bb7, 0x11d3, 0xac, 0xbe, 0x00, 0x80, 0xc7, 0x5e, 0x24, 0x6e) +OUR_GUID_ENTRY(CLSID_WMAsfWriter, 0x7c23220e, 0x55bb, 0x11d3, 0x8b, 0x16, 0x00, 0xc0, 0x4f, 0xb6, 0xbd, 0x3d) +OUR_GUID_ENTRY(CLSID_WSTDecoder, 0x70bc06e0, 0x5666, 0x11d3, 0xa1, 0x84, 0x00, 0x10, 0x5a, 0xef, 0x9f, 0x33) +OUR_GUID_ENTRY(CLSID_WstDecoderPropertyPage, 0x04e27f80, 0x91e4, 0x11d3, 0xa1, 0x84, 0x00, 0x10, 0x5a, 0xef, 0x9f, 0x33) +OUR_GUID_ENTRY(CODECAPI_ALLSETTINGS, 0x6a577e92, 0x83e1, 0x4113, 0xad, 0xc2, 0x4f, 0xce, 0xc3, 0x2f, 0x83, 0xa1) +OUR_GUID_ENTRY(CODECAPI_AUDIO_ENCODER, 0xb9d19a3e, 0xf897, 0x429c, 0xbc, 0x46, 0x81, 0x38, 0xb7, 0x27, 0x2b, 0x2d) +OUR_GUID_ENTRY(CODECAPI_AVDecMmcssClass, 0xe0ad4828, 0xdf66, 0x4893, 0x9f, 0x33, 0x78, 0x8a, 0xa4, 0xec, 0x40, 0x82) +OUR_GUID_ENTRY(CODECAPI_CHANGELISTS, 0x62b12acf, 0xf6b0, 0x47d9, 0x94, 0x56, 0x96, 0xf2, 0x2c, 0x4e, 0x0b, 0x9d) +OUR_GUID_ENTRY(CODECAPI_CURRENTCHANGELIST, 0x1cb14e83, 0x7d72, 0x4657, 0x83, 0xfd, 0x47, 0xa2, 0xc5, 0xb9, 0xd1, 0x3d) +OUR_GUID_ENTRY(CODECAPI_SETALLDEFAULTS, 0x6c5e6a7c, 0xacf8, 0x4f55, 0xa9, 0x99, 0x1a, 0x62, 0x81, 0x09, 0x05, 0x1b) +OUR_GUID_ENTRY(CODECAPI_SUPPORTSEVENTS, 0x0581af97, 0x7693, 0x4dbd, 0x9d, 0xca, 0x3f, 0x9e, 0xbd, 0x65, 0x85, 0xa1) +OUR_GUID_ENTRY(CODECAPI_VIDEO_ENCODER, 0x7112e8e1, 0x3d03, 0x47ef, 0x8e, 0x60, 0x03, 0xf1, 0xcf, 0x53, 0x73, 0x01) +OUR_GUID_ENTRY(DSATTRIB_CAPTURE_STREAMTIME, 0x0c1a5614, 0x30cd, 0x4f40, 0xbc, 0xbf, 0xd0, 0x3e, 0x52, 0x30, 0x62, 0x07) +OUR_GUID_ENTRY(DSATTRIB_CC_CONTAINER_INFO, 0xe7e050fb, 0xdd5d, 0x40dd, 0x99, 0x15, 0x35, 0xdc, 0xb8, 0x1b, 0xdc, 0x8a) +OUR_GUID_ENTRY(DSATTRIB_DSHOW_STREAM_DESC, 0x5fb5673b, 0x0a2a, 0x4565, 0x82, 0x7b, 0x68, 0x53, 0xfd, 0x75, 0xe6, 0x11) +OUR_GUID_ENTRY(DSATTRIB_OptionalVideoAttributes, 0x5a5f08ca, 0x55c2, 0x4033, 0x92, 0xab, 0x55, 0xdb, 0x8f, 0x78, 0x12, 0x26) +OUR_GUID_ENTRY(DSATTRIB_PBDATAG_ATTRIBUTE, 0xe0b56679, 0x12b9, 0x43cc, 0xb7, 0xdf, 0x57, 0x8c, 0xaa, 0x5a, 0x7b, 0x63) +OUR_GUID_ENTRY(DSATTRIB_PicSampleSeq, 0x2f5bae02, 0x7b8f, 0x4f60, 0x82, 0xd6, 0xe4, 0xea, 0x2f, 0x1f, 0x4c, 0x99) +OUR_GUID_ENTRY(DSATTRIB_SAMPLE_LIVE_STREAM_TIME, 0x892cd111, 0x72f3, 0x411d, 0x8b, 0x91, 0xa9, 0xe9, 0x12, 0x3a, 0xc2, 0x9a) +OUR_GUID_ENTRY(DSATTRIB_TRANSPORT_PROPERTIES, 0xb622f612, 0x47ad, 0x4671, 0xad, 0x6c, 0x05, 0xa9, 0x8e, 0x65, 0xde, 0x3a) +OUR_GUID_ENTRY(DSATTRIB_UDCRTag, 0xeb7836ca, 0x14ff, 0x4919, 0xbc, 0xe7, 0x3a, 0xf1, 0x23, 0x19, 0xe5, 0x0c) +OUR_GUID_ENTRY(ENCAPIPARAM_BITRATE, 0x49cc4c43, 0xca83, 0x4ad4, 0xa9, 0xaf, 0xf3, 0x69, 0x6a, 0xf6, 0x66, 0xdf) +OUR_GUID_ENTRY(ENCAPIPARAM_BITRATE_MODE, 0xee5fb25c, 0xc713, 0x40d1, 0x9d, 0x58, 0xc0, 0xd7, 0x24, 0x1e, 0x25, 0x0f) +OUR_GUID_ENTRY(ENCAPIPARAM_PEAK_BITRATE, 0x703f16a9, 0x3d48, 0x44a1, 0xb0, 0x77, 0x01, 0x8d, 0xff, 0x91, 0x5d, 0x19) +OUR_GUID_ENTRY(ENCAPIPARAM_SAP_MODE, 0x0c0171db, 0xfefc, 0x4af7, 0x99, 0x91, 0xa5, 0x65, 0x7c, 0x19, 0x1c, 0xd1) +OUR_GUID_ENTRY(EVRConfig_AllowBatching, 0xe447df0a, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_AllowDropToBob, 0xe447df02, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_AllowDropToHalfInterlace, 0xe447df06, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_AllowDropToThrottle, 0xe447df04, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_AllowScaling, 0xe447df08, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_ForceBatching, 0xe447df09, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_ForceBob, 0xe447df01, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_ForceHalfInterlace, 0xe447df05, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_ForceScaling, 0xe447df07, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(EVRConfig_ForceThrottle, 0xe447df03, 0x10ca, 0x4d17, 0xb1, 0x7e, 0x6a, 0x84, 0x0f, 0x8a, 0x3a, 0x4c) +OUR_GUID_ENTRY(FORMAT_525WSS, 0xc7ecf04d, 0x4582, 0x4869, 0x9a, 0xbb, 0xbf, 0xb5, 0x23, 0xb6, 0x2e, 0xdf) +OUR_GUID_ENTRY(FORMAT_AnalogVideo, 0x0482dde0, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(FORMAT_CAPTIONED_H264VIDEO, 0xa4efc024, 0x873e, 0x4da3, 0x89, 0x8b, 0x47, 0x4d, 0xdb, 0xd7, 0x9f, 0xd0) +OUR_GUID_ENTRY(FORMAT_CAPTIONED_MPEG2VIDEO, 0x7ab2ada2, 0x81b6, 0x4f14, 0xb3, 0xc8, 0xd0, 0xc4, 0x86, 0x39, 0x3b, 0x67) +OUR_GUID_ENTRY(FORMAT_CC_CONTAINER, 0x50997a4a, 0xe508, 0x4054, 0xa2, 0xb2, 0x10, 0xff, 0x0a, 0xc1, 0xa6, 0x9a) +OUR_GUID_ENTRY(FORMAT_DvInfo, 0x05589f84, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(FORMAT_MPEGStreams, 0x05589f83, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(FORMAT_MPEGVideo, 0x05589f82, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(FORMAT_None, 0x0f6417d6, 0xc318, 0x11d0, 0xa4, 0x3f, 0x00, 0xa0, 0xc9, 0x22, 0x31, 0x96) +OUR_GUID_ENTRY(FORMAT_VideoInfo, 0x05589f80, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(FORMAT_VideoInfo2, 0xf72a76a0, 0xeb0a, 0x11d0, 0xac, 0xe4, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(FORMAT_WaveFormatEx, 0x05589f81, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(IID_IAMAudioCutListElement, 0xcde29524, 0x3418, 0x11cf, 0xa5, 0xb0, 0x00, 0x20, 0xaf, 0x05, 0x3d, 0x8f) +OUR_GUID_ENTRY(IID_IAMCutListElement, 0xcde29520, 0x3418, 0x11cf, 0xa5, 0xb0, 0x00, 0x20, 0xaf, 0x05, 0x3d, 0x8f) +OUR_GUID_ENTRY(IID_IAMDirectSound, 0x546f4260, 0xd53e, 0x11cf, 0xb3, 0xf0, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(IID_IAMFileCutListElement, 0xf0947070, 0x276c, 0x11d0, 0x83, 0x16, 0x00, 0x20, 0xaf, 0x11, 0xc0, 0x10) +OUR_GUID_ENTRY(IID_IAMLine21Decoder, 0x6e8d4a21, 0x310c, 0x11d0, 0xb7, 0x9a, 0x00, 0xaa, 0x00, 0x37, 0x67, 0xa7) +OUR_GUID_ENTRY(IID_IAMVideoCutListElement, 0xcde29522, 0x3418, 0x11cf, 0xa5, 0xb0, 0x00, 0x20, 0xaf, 0x05, 0x3d, 0x8f) +OUR_GUID_ENTRY(IID_IAMWstDecoder, 0xc056de21, 0x75c2, 0x11d3, 0xa1, 0x84, 0x00, 0x10, 0x5a, 0xef, 0x9f, 0x33) +OUR_GUID_ENTRY(IID_IBaseVideoMixer, 0x61ded640, 0xe912, 0x11ce, 0xa0, 0x99, 0x00, 0xaa, 0x00, 0x47, 0x9a, 0x58) +OUR_GUID_ENTRY(IID_ICutListGraphBuilder, 0xa5ea8d2c, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(IID_IDirectDrawVideo, 0x36d39eb0, 0xdd75, 0x11ce, 0xbf, 0x0e, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(IID_IFileClip, 0xa5ea8d2a, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(IID_IFullScreenVideo, 0xdd1d7110, 0x7836, 0x11cf, 0xbf, 0x47, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a) +OUR_GUID_ENTRY(IID_IFullScreenVideoEx, 0x53479470, 0xf1dd, 0x11cf, 0xbc, 0x42, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(IID_IMixerPinConfig, 0x593cdde1, 0x0759, 0x11d1, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IMixerPinConfig2, 0xebf47182, 0x8764, 0x11d1, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IMpegAudioDecoder, 0xb45dd570, 0x3c77, 0x11d1, 0xab, 0xe1, 0x00, 0xa0, 0xc9, 0x05, 0xf3, 0x75) +OUR_GUID_ENTRY(IID_IQualProp, 0x1bd0ecb0, 0xf8e2, 0x11ce, 0xaa, 0xc6, 0x00, 0x20, 0xaf, 0x0b, 0x99, 0xa3) +OUR_GUID_ENTRY(IID_IStandardCutList, 0xa5ea8d29, 0x253d, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(IID_IVPConfig, 0xbc29a660, 0x30e3, 0x11d0, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IVPControl, 0x25df12c1, 0x3de0, 0x11d1, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IVPNotify, 0xc76794a1, 0xd6c5, 0x11d0, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IVPNotify2, 0xebf47183, 0x8764, 0x11d1, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IVPObject, 0xce292862, 0xfc88, 0x11d0, 0x9e, 0x69, 0x00, 0xc0, 0x4f, 0xd7, 0xc1, 0x5b) +OUR_GUID_ENTRY(IID_IVPVBIConfig, 0xec529b00, 0x1a1f, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(IID_IVPVBINotify, 0xec529b01, 0x1a1f, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(IID_IVPVBIObject, 0x814b9802, 0x1c88, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(LOOK_DOWNSTREAM_ONLY, 0xac798be1, 0x98e3, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(LOOK_UPSTREAM_ONLY, 0xac798be0, 0x98e3, 0x11d1, 0xb3, 0xf1, 0x00, 0xaa, 0x00, 0x37, 0x61, 0xc5) +OUR_GUID_ENTRY(MEDIASUBTYPE_420O, 0x4f303234, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_708_608Data, 0x0af414bc, 0x4ed2, 0x445e, 0x98, 0x39, 0x8f, 0x09, 0x55, 0x68, 0xab, 0x3c) +OUR_GUID_ENTRY(MEDIASUBTYPE_A2B10G10R10, 0x576f7893, 0xbdf6, 0x48c4, 0x87, 0x5f, 0xae, 0x7b, 0x81, 0x83, 0x45, 0x67) +OUR_GUID_ENTRY(MEDIASUBTYPE_A2R10G10B10, 0x2f8bb76d, 0xb644, 0x4550, 0xac, 0xf3, 0xd3, 0x0c, 0xaa, 0x65, 0xd5, 0xc5) +OUR_GUID_ENTRY(MEDIASUBTYPE_AI44, 0x34344941, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_AIFF, 0xe436eb8d, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB1555, 0x297c55af, 0xe209, 0x4cb3, 0xb7, 0x57, 0xc7, 0x6d, 0x6b, 0x9c, 0x88, 0xa8) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB1555_D3D_DX7_RT, 0x35314137, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB1555_D3D_DX9_RT, 0x35314139, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB32, 0x773c9ac0, 0x3274, 0x11d0, 0xb7, 0x24, 0x00, 0xaa, 0x00, 0x6c, 0x1a, 0x01) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB32_D3D_DX7_RT, 0x38384137, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB32_D3D_DX9_RT, 0x38384139, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB4444, 0x6e6415e6, 0x5c24, 0x425f, 0x93, 0xcd, 0x80, 0x10, 0x2b, 0x3d, 0x1c, 0xca) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB4444_D3D_DX7_RT, 0x34344137, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB4444_D3D_DX9_RT, 0x34344139, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_AU, 0xe436eb8c, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_AYUV, 0x56555941, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_NTSC_M, 0x0482dde2, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_B, 0x0482dde5, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_D, 0x0482dde6, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_G, 0x0482dde7, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_H, 0x0482dde8, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_I, 0x0482dde9, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_M, 0x0482ddea, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_N, 0x0482ddeb, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_N_COMBO, 0x0482ddec, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_B, 0x0482ddf0, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_D, 0x0482ddf1, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_G, 0x0482ddf2, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_H, 0x0482ddf3, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_K, 0x0482ddf4, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_K1, 0x0482ddf5, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_L, 0x0482ddf6, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIASUBTYPE_Asf, 0x3db80f90, 0x9412, 0x11d1, 0xad, 0xed, 0x00, 0x00, 0xf8, 0x75, 0x4b, 0x99) +OUR_GUID_ENTRY(MEDIASUBTYPE_Avi, 0xe436eb88, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_CC_CONTAINER, 0x7ea626db, 0x54da, 0x437b, 0xbe, 0x9f, 0xf7, 0x30, 0x73, 0xad, 0xfa, 0x3c) +OUR_GUID_ENTRY(MEDIASUBTYPE_CFCC, 0x43434643, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_CLJR, 0x524a4c43, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_CLPL, 0x4c504c43, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_CPLA, 0x414c5043, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_DOLBY_AC3_SPDIF, 0x00000092, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_DRM_Audio, 0x00000009, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVB_SUBTITLES, 0x34ffcbc3, 0xd5b3, 0x4171, 0x90, 0x02, 0xd4, 0xc6, 0x03, 0x01, 0x69, 0x7f) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVCS, 0x53435644, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_DVSD, 0x44535644, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_DssAudio, 0xa0af4f82, 0xe163, 0x11d0, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(MEDIASUBTYPE_DssVideo, 0xa0af4f81, 0xe163, 0x11d0, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(MEDIASUBTYPE_DtvCcData, 0xf52addaa, 0x36f0, 0x43f5, 0x95, 0xea, 0x6d, 0x86, 0x64, 0x84, 0x26, 0x2a) +OUR_GUID_ENTRY(MEDIASUBTYPE_H264, 0x34363248, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IA44, 0x34344149, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IF09, 0x39304649, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IJPG, 0x47504a49, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IMC1, 0x31434d49, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IMC2, 0x32434d49, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IMC3, 0x33434d49, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_IMC4, 0x34434d49, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_ISDB_CAPTIONS, 0x059dd67d, 0x2e55, 0x4d41, 0x8d, 0x1b, 0x01, 0xf5, 0xe4, 0xf5, 0x06, 0x07) +OUR_GUID_ENTRY(MEDIASUBTYPE_ISDB_SUPERIMPOSE, 0x36dc6d28, 0xf1a6, 0x4216, 0x90, 0x48, 0x9c, 0xfc, 0xef, 0xeb, 0x5e, 0xba) +OUR_GUID_ENTRY(MEDIASUBTYPE_IYUV, 0x56555949, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_Line21_BytePair, 0x6e8d4a22, 0x310c, 0x11d0, 0xb7, 0x9a, 0x00, 0xaa, 0x00, 0x37, 0x67, 0xa7) +OUR_GUID_ENTRY(MEDIASUBTYPE_Line21_GOPPacket, 0x6e8d4a23, 0x310c, 0x11d0, 0xb7, 0x9a, 0x00, 0xaa, 0x00, 0x37, 0x67, 0xa7) +OUR_GUID_ENTRY(MEDIASUBTYPE_Line21_VBIRawData, 0x6e8d4a24, 0x310c, 0x11d0, 0xb7, 0x9a, 0x00, 0xaa, 0x00, 0x37, 0x67, 0xa7) +OUR_GUID_ENTRY(MEDIASUBTYPE_MDVF, 0x4656444d, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_MJPG, 0x47504a4d, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Audio, 0xe436eb87, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1AudioPayload, 0x00000050, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Packet, 0xe436eb80, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Payload, 0xe436eb81, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1System, 0xe436eb84, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Video, 0xe436eb86, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1VideoCD, 0xe436eb85, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_NV11, 0x3131564e, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_NV12, 0x3231564e, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_NV24, 0x3432564e, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_None, 0xe436eb8e, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_Overlay, 0xe436eb7f, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_P010, 0x30313050, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_P016, 0x36313050, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_P208, 0x38303250, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_P210, 0x30313250, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_P216, 0x36313250, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_P408, 0x38304250, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_PCMAudio_Obsolete, 0xe436eb8a, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_Plum, 0x6d756c50, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_QTJpeg, 0x6765706a, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_QTMovie, 0xe436eb89, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_QTRle, 0x20656c72, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_QTRpza, 0x617a7072, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_QTSmc, 0x20636d73, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_RAW_SPORT, 0x00000240, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB1, 0xe436eb78, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB16_D3D_DX7_RT, 0x36315237, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB16_D3D_DX9_RT, 0x36315239, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB24, 0xe436eb7d, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB32, 0xe436eb7e, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB32_D3D_DX7_RT, 0x32335237, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB32_D3D_DX9_RT, 0x32335239, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB4, 0xe436eb79, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB555, 0xe436eb7c, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB565, 0xe436eb7b, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_RGB8, 0xe436eb7a, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_S340, 0x30343353, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_S342, 0x32343353, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_SPDIF_TAG_241h, 0x00000241, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_TELETEXT, 0xf72a76e3, 0xeb0a, 0x11d0, 0xac, 0xe4, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(MEDIASUBTYPE_TVMJ, 0x4a4d5654, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_UYVY, 0x59565955, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_VBI, 0x663da43c, 0x03e8, 0x4e9a, 0x9c, 0xd5, 0xbf, 0x11, 0xed, 0x0d, 0xef, 0x76) +OUR_GUID_ENTRY(MEDIASUBTYPE_VPS, 0xa1b3f620, 0x9792, 0x4d8d, 0x81, 0xa4, 0x86, 0xaf, 0x25, 0x77, 0x20, 0x90) +OUR_GUID_ENTRY(MEDIASUBTYPE_VPVBI, 0x5a9b6a41, 0x1a22, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(MEDIASUBTYPE_VPVideo, 0x5a9b6a40, 0x1a22, 0x11d1, 0xba, 0xd9, 0x00, 0x60, 0x97, 0x44, 0x11, 0x1a) +OUR_GUID_ENTRY(MEDIASUBTYPE_WAKE, 0x454b4157, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_WAVE, 0xe436eb8b, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIASUBTYPE_WSS, 0x2791d576, 0x8e7a, 0x466f, 0x9e, 0x90, 0x5d, 0x3f, 0x30, 0x83, 0x73, 0x8b) +OUR_GUID_ENTRY(MEDIASUBTYPE_XDS, 0x01ca73e3, 0xdce6, 0x4575, 0xaf, 0xe1, 0x2b, 0xf1, 0xc9, 0x02, 0xca, 0xf3) +OUR_GUID_ENTRY(MEDIASUBTYPE_Y210, 0x30313259, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_Y211, 0x31313259, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_Y216, 0x36313259, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_Y411, 0x31313459, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_Y41P, 0x50313459, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_YUY2, 0x32595559, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_YUYV, 0x56595559, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_YV12, 0x32315659, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_YVU9, 0x39555659, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_YVYU, 0x55595659, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_dv25, 0x35327664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_dv50, 0x30357664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_dvh1, 0x31687664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_dvhd, 0x64687664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_dvsd, 0x64737664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIASUBTYPE_dvsl, 0x6c737664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_AUXLine21Data, 0x670aea80, 0x3a82, 0x11d0, 0xb7, 0x9b, 0x00, 0xaa, 0x00, 0x37, 0x67, 0xa7) +OUR_GUID_ENTRY(MEDIATYPE_AUXTeletextPage, 0x11264acb, 0x37de, 0x4eba, 0x8c, 0x35, 0x7f, 0x04, 0xa1, 0xa6, 0x83, 0x32) +OUR_GUID_ENTRY(MEDIATYPE_AnalogAudio, 0x0482dee1, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIATYPE_AnalogVideo, 0x0482dde1, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIATYPE_Audio, 0x73647561, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_CC_CONTAINER, 0xaeb312e9, 0x3357, 0x43ca, 0xb7, 0x01, 0x97, 0xec, 0x19, 0x8e, 0x2b, 0x62) +OUR_GUID_ENTRY(MEDIATYPE_DTVCCData, 0xfb77e152, 0x53b2, 0x499c, 0xb4, 0x6b, 0x50, 0x9f, 0xc3, 0x3e, 0xdf, 0xd7) +OUR_GUID_ENTRY(MEDIATYPE_File, 0x656c6966, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_Interleaved, 0x73766169, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_LMRT, 0x74726c6d, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_MPEG1SystemStream, 0xe436eb82, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIATYPE_MSTVCaption, 0xb88b8a89, 0xb049, 0x4c80, 0xad, 0xcf, 0x58, 0x98, 0x98, 0x5e, 0x22, 0xc1) +OUR_GUID_ENTRY(MEDIATYPE_Midi, 0x7364696d, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_ScriptCommand, 0x73636d64, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_Stream, 0xe436eb83, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70) +OUR_GUID_ENTRY(MEDIATYPE_Text, 0x73747874, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_Timecode, 0x0482dee3, 0x7817, 0x11cf, 0x8a, 0x03, 0x00, 0xaa, 0x00, 0x6e, 0xcb, 0x65) +OUR_GUID_ENTRY(MEDIATYPE_URL_STREAM, 0x736c7275, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(MEDIATYPE_VBI, 0xf72a76e1, 0xeb0a, 0x11d0, 0xac, 0xe4, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(MEDIATYPE_Video, 0x73646976, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) +OUR_GUID_ENTRY(PIN_CATEGORY_ANALOGVIDEOIN, 0xfb6c4283, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_CAPTURE, 0xfb6c4281, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_CC, 0xfb6c4289, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_EDS, 0xfb6c4287, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_NABTS, 0xfb6c4286, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_PREVIEW, 0xfb6c4282, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_STILL, 0xfb6c428a, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_TELETEXT, 0xfb6c4288, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_TIMECODE, 0xfb6c428b, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_VBI, 0xfb6c4284, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_VIDEOPORT, 0xfb6c4285, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(PIN_CATEGORY_VIDEOPORT_VBI, 0xfb6c428c, 0x0353, 0x11d1, 0x90, 0x5f, 0x00, 0x00, 0xc0, 0xcc, 0x16, 0xba) +OUR_GUID_ENTRY(TIME_FORMAT_BYTE, 0x7b785571, 0x8c82, 0x11cf, 0xbc, 0x0c, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(TIME_FORMAT_FIELD, 0x7b785573, 0x8c82, 0x11cf, 0xbc, 0x0c, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(TIME_FORMAT_FRAME, 0x7b785570, 0x8c82, 0x11cf, 0xbc, 0x0c, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(TIME_FORMAT_MEDIA_TIME, 0x7b785574, 0x8c82, 0x11cf, 0xbc, 0x0c, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(TIME_FORMAT_NONE, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) +OUR_GUID_ENTRY(TIME_FORMAT_SAMPLE, 0x7b785572, 0x8c82, 0x11cf, 0xbc, 0x0c, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6) +OUR_GUID_ENTRY(UUID_UdriTagTables, 0xe1b98d74, 0x9778, 0x4878, 0xb6, 0x64, 0xeb, 0x20, 0x20, 0x36, 0x4d, 0x88) +OUR_GUID_ENTRY(UUID_WMDRMTagTables, 0x5dcd1101, 0x9263, 0x45bb, 0xa4, 0xd5, 0xc4, 0x15, 0xab, 0x8c, 0x58, 0x9c) + +#include + +#undef OUR_GUID_ENTRY diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uxtheme.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uxtheme.h new file mode 100644 index 0000000..7606306 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/uxtheme.h @@ -0,0 +1,285 @@ +/* + * Win32 5.1 theme definitions + * + * Copyright (C) 2003 Kevin Koltzau + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_UXTHEME_H +#define __WINE_UXTHEME_H + +#include + +typedef HANDLE HTHEME; + +HRESULT WINAPI CloseThemeData(HTHEME hTheme); +HRESULT WINAPI DrawThemeBackground(HTHEME,HDC,int,int,const RECT*,const RECT*); + +#define DTBG_CLIPRECT 0x00000001 +#define DTBG_DRAWSOLID 0x00000002 +#define DTBG_OMITBORDER 0x00000004 +#define DTBG_OMITCONTENT 0x00000008 +#define DTBG_COMPUTINGREGION 0x00000010 +#define DTBG_MIRRORDC 0x00000020 + +typedef struct _DTBGOPTS { + DWORD dwSize; + DWORD dwFlags; + RECT rcClip; +} DTBGOPTS, *PDTBGOPTS; + +HRESULT WINAPI DrawThemeBackgroundEx(HTHEME,HDC,int,int,const RECT*, + const DTBGOPTS*); +HRESULT WINAPI DrawThemeEdge(HTHEME,HDC,int,int,const RECT*,UINT,UINT, + RECT*); +HRESULT WINAPI DrawThemeIcon(HTHEME,HDC,int,int,const RECT*,HIMAGELIST,int); +HRESULT WINAPI DrawThemeParentBackground(HWND,HDC,RECT*); + +#define DTT_GRAYED 0x1 + +HRESULT WINAPI DrawThemeText(HTHEME,HDC,int,int,LPCWSTR,int,DWORD,DWORD, + const RECT*); + +/* DTTOPTS.dwFlags bits */ +#define DTT_TEXTCOLOR 0x00000001 +#define DTT_BORDERCOLOR 0x00000002 +#define DTT_SHADOWCOLOR 0x00000004 +#define DTT_SHADOWTYPE 0x00000008 +#define DTT_SHADOWOFFSET 0x00000010 +#define DTT_BORDERSIZE 0x00000020 +#define DTT_FONTPROP 0x00000040 +#define DTT_COLORPROP 0x00000080 +#define DTT_STATEID 0x00000100 +#define DTT_CALCRECT 0x00000200 +#define DTT_APPLYOVERLAY 0x00000400 +#define DTT_GLOWSIZE 0x00000800 +#define DTT_CALLBACK 0x00001000 +#define DTT_COMPOSITED 0x00002000 +#define DTT_VALIDBITS 0x00003fff + +typedef int (WINAPI *DTT_CALLBACK_PROC)(HDC,LPWSTR,int,RECT*,UINT,LPARAM); + +typedef struct _DTTOPTS { + DWORD dwSize; + DWORD dwFlags; + COLORREF crText; + COLORREF crBorder; + COLORREF crShadow; + int iTextShadowType; + POINT ptShadowOffset; + int iBorderSize; + int iFontPropId; + int iColorPropId; + int iStateId; + BOOL fApplyOverlay; + int iGlowSize; + DTT_CALLBACK_PROC pfnDrawTextCallback; + LPARAM lParam; +} DTTOPTS, *PDTTOPTS; + +HRESULT WINAPI DrawThemeTextEx(HTHEME,HDC,int,int,LPCWSTR,int,DWORD,RECT*, + const DTTOPTS*); + +#define ETDT_DISABLE 0x00000001 +#define ETDT_ENABLE 0x00000002 +#define ETDT_USETABTEXTURE 0x00000004 +#define ETDT_ENABLETAB (ETDT_ENABLE|ETDT_USETABTEXTURE) + +HRESULT WINAPI EnableThemeDialogTexture(HWND,DWORD); +HRESULT WINAPI EnableTheming(BOOL); +HRESULT WINAPI GetCurrentThemeName(LPWSTR,int,LPWSTR,int,LPWSTR,int); + +#define STAP_ALLOW_NONCLIENT (1<<0) +#define STAP_ALLOW_CONTROLS (1<<1) +#define STAP_ALLOW_WEBCONTENT (1<<2) + +DWORD WINAPI GetThemeAppProperties(void); +HRESULT WINAPI GetThemeBackgroundContentRect(HTHEME,HDC,int,int, + const RECT*,RECT*); +HRESULT WINAPI GetThemeBackgroundExtent(HTHEME,HDC,int,int,const RECT*,RECT*); +HRESULT WINAPI GetThemeBackgroundRegion(HTHEME,HDC,int,int,const RECT*,HRGN*); +HRESULT WINAPI GetThemeBool(HTHEME,int,int,int,BOOL*); +HRESULT WINAPI GetThemeColor(HTHEME,int,int,int,COLORREF*); + +#if defined(__GNUC__) +# define SZ_THDOCPROP_DISPLAYNAME (const WCHAR []){ 'D','i','s','p','l','a','y','N','a','m','e',0 } +# define SZ_THDOCPROP_CANONICALNAME (const WCHAR []){ 'T','h','e','m','e','N','a','m','e',0 } +# define SZ_THDOCPROP_TOOLTIP (const WCHAR []){ 'T','o','o','l','T','i','p',0 } +# define SZ_THDOCPROP_AUTHOR (const WCHAR []){ 'a','u','t','h','o','r',0 } +#elif defined(_MSC_VER) +# define SZ_THDOCPROP_DISPLAYNAME L"DisplayName" +# define SZ_THDOCPROP_CANONICALNAME L"ThemeName" +# define SZ_THDOCPROP_TOOLTIP L"ToolTip" +# define SZ_THDOCPROP_AUTHOR L"author" +#else +static const WCHAR SZ_THDOCPROP_DISPLAYNAME[] = { 'D','i','s','p','l','a','y','N','a','m','e',0 }; +static const WCHAR SZ_THDOCPROP_CANONICALNAME[] = { 'T','h','e','m','e','N','a','m','e',0 }; +static const WCHAR SZ_THDOCPROP_TOOLTIP[] = { 'T','o','o','l','T','i','p',0 }; +static const WCHAR SZ_THDOCPROP_AUTHOR[] = { 'a','u','t','h','o','r',0 }; +#endif + +HRESULT WINAPI GetThemeDocumentationProperty(LPCWSTR,LPCWSTR,LPWSTR,int); +HRESULT WINAPI GetThemeEnumValue(HTHEME,int,int,int,int*); +HRESULT WINAPI GetThemeFilename(HTHEME,int,int,int,LPWSTR,int); +HRESULT WINAPI GetThemeFont(HTHEME,HDC,int,int,int,LOGFONTW*); +HRESULT WINAPI GetThemeInt(HTHEME,int,int,int,int*); + +/* MAX_INTLIST_COUNT was 10 before Vista */ +#define MAX_INTLIST_COUNT 402 +typedef struct _INTLIST { + int iValueCount; + int iValues[MAX_INTLIST_COUNT]; +} INTLIST, *PINTLIST; + +HRESULT WINAPI GetThemeIntList(HTHEME,int,int,int,INTLIST*); + +typedef struct _MARGINS { + int cxLeftWidth; + int cxRightWidth; + int cyTopHeight; + int cyBottomHeight; +} MARGINS, *PMARGINS; + +HRESULT WINAPI GetThemeMargins(HTHEME,HDC,int,int,int,RECT*,MARGINS*); +HRESULT WINAPI GetThemeMetric(HTHEME,HDC,int,int,int,int*); + +typedef enum { + TS_MIN, + TS_TRUE, + TS_DRAW +} THEMESIZE; + +HRESULT WINAPI GetThemePartSize(HTHEME,HDC,int,int,RECT*,THEMESIZE,SIZE*); +HRESULT WINAPI GetThemePosition(HTHEME,int,int,int,POINT*); + +typedef enum { + PO_STATE, + PO_PART, + PO_CLASS, + PO_GLOBAL, + PO_NOTFOUND +} PROPERTYORIGIN; + +HRESULT WINAPI GetThemePropertyOrigin(HTHEME,int,int,int,PROPERTYORIGIN*); +HRESULT WINAPI GetThemeRect(HTHEME,int,int,int,RECT*); +HRESULT WINAPI GetThemeString(HTHEME,int,int,int,LPWSTR,int); +BOOL WINAPI GetThemeSysBool(HTHEME,int); +COLORREF WINAPI GetThemeSysColor(HTHEME,int); +HBRUSH WINAPI GetThemeSysColorBrush(HTHEME,int); +HRESULT WINAPI GetThemeSysFont(HTHEME,int,LOGFONTW*); +HRESULT WINAPI GetThemeSysInt(HTHEME,int,int*); +int WINAPI GetThemeSysSize(HTHEME,int); +HRESULT WINAPI GetThemeSysString(HTHEME,int,LPWSTR,int); +HRESULT WINAPI GetThemeTextExtent(HTHEME,HDC,int,int,LPCWSTR,int,DWORD, + const RECT*,RECT*); +HRESULT WINAPI GetThemeTextMetrics(HTHEME,HDC,int,int,TEXTMETRICW*); +HRESULT WINAPI GetThemeTransitionDuration(HTHEME,int,int,int,int,DWORD*); +HTHEME WINAPI GetWindowTheme(HWND); + +#define HTTB_BACKGROUNDSEG 0x0000 +#define HTTB_FIXEDBORDER 0x0002 +#define HTTB_CAPTION 0x0004 +#define HTTB_RESIZINGBORDER_LEFT 0x0010 +#define HTTB_RESIZINGBORDER_TOP 0x0020 +#define HTTB_RESIZINGBORDER_RIGHT 0x0040 +#define HTTB_RESIZINGBORDER_BOTTOM 0x0080 +#define HTTB_RESIZINGBORDER \ + (HTTB_RESIZINGBORDER_LEFT|HTTB_RESIZINGBORDER_TOP|\ + HTTB_RESIZINGBORDER_RIGHT|HTTB_RESIZINGBORDER_BOTTOM) +#define HTTB_SIZINGTEMPLATE 0x0100 +#define HTTB_SYSTEMSIZINGMARGINS 0x0200 + +#define OTD_FORCE_RECT_SIZING 0x0001 +#define OTD_NONCLIENT 0x0002 +#define OTD_VALIDBITS (OTD_FORCE_RECT_SIZING | OTD_NONCLIENT) + +HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*, + HRGN,POINT,WORD*); +BOOL WINAPI IsAppThemed(void); +BOOL WINAPI IsThemeActive(void); +BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int); +BOOL WINAPI IsThemeDialogTextureEnabled(HWND); +BOOL WINAPI IsThemePartDefined(HTHEME,int,int); +HTHEME WINAPI OpenThemeData(HWND,LPCWSTR); +HTHEME WINAPI OpenThemeDataEx(HWND,LPCWSTR,DWORD); +void WINAPI SetThemeAppProperties(DWORD); +HRESULT WINAPI SetWindowTheme(HWND,LPCWSTR,LPCWSTR); + + +/* Double-buffered Drawing API */ + +typedef HANDLE HPAINTBUFFER; + +HRESULT WINAPI BufferedPaintInit(VOID); +HRESULT WINAPI BufferedPaintUnInit(VOID); + +typedef enum _BP_BUFFERFORMAT +{ + BPBF_COMPATIBLEBITMAP, + BPBF_DIB, + BPBF_TOPDOWNDIB, + BPBF_TOPDOWNMONODIB +} BP_BUFFERFORMAT; + +typedef struct _BP_PAINTPARAMS +{ + DWORD cbSize; + DWORD dwFlags; + const RECT *prcExclude; + const BLENDFUNCTION *pBlendFunction; +} BP_PAINTPARAMS, *PBP_PAINTPARAMS; + +HPAINTBUFFER WINAPI BeginBufferedPaint(HDC, const RECT *, BP_BUFFERFORMAT, + BP_PAINTPARAMS *,HDC *); + +HRESULT WINAPI EndBufferedPaint(HPAINTBUFFER, BOOL); + +HRESULT WINAPI BufferedPaintClear(HPAINTBUFFER, const RECT *); +HRESULT WINAPI BufferedPaintSetAlpha(HPAINTBUFFER, const RECT *, BYTE); +HRESULT WINAPI GetBufferedPaintBits(HPAINTBUFFER, RGBQUAD **, int *); +HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER); +HDC WINAPI GetBufferedPaintTargetDC(HPAINTBUFFER); +HRESULT WINAPI GetBufferedPaintTargetRect(HPAINTBUFFER, RECT *prc); + +/* double-buffered animation functions */ + +typedef HANDLE HANIMATIONBUFFER; + +typedef enum _BP_ANIMATIONSTYLE +{ + BPAS_NONE, + BPAS_LINEAR, + BPAS_CUBIC, + BPAS_SINE +} BP_ANIMATIONSTYLE; + +typedef struct _BP_ANIMATIONPARAMS +{ + DWORD cbSize; + DWORD dwFlags; + BP_ANIMATIONSTYLE style; + DWORD dwDuration; +} BP_ANIMATIONPARAMS, *PBP_ANIMATIONPARAMS; + +HANIMATIONBUFFER WINAPI BeginBufferedAnimation(HWND, HDC, const RECT *, + BP_BUFFERFORMAT, BP_PAINTPARAMS *, + BP_ANIMATIONPARAMS *, HDC *, HDC *); + +BOOL WINAPI BufferedPaintRenderAnimation(HWND, HDC); +HRESULT WINAPI BufferedPaintStopAllAnimations(HWND); +HRESULT WINAPI EndBufferedAnimation(HANIMATIONBUFFER, BOOL); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vdmdbg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vdmdbg.h new file mode 100644 index 0000000..6f8e3d6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vdmdbg.h @@ -0,0 +1,40 @@ +/* + * VDMDBG definitions + * + * Copyright (C) 2007 James Hawkins + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_VDMDBG_H +#define __WINE_VDMDBG_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef BOOL (WINAPI *PROCESSENUMPROC)(DWORD, DWORD, LPARAM); +typedef BOOL (WINAPI *TASKENUMPROC)(DWORD, WORD, WORD, LPARAM); +typedef BOOL (WINAPI *TASKENUMPROCEX)(DWORD, WORD, WORD, PSZ, PSZ, LPARAM); + +INT WINAPI VDMEnumProcessWOW(PROCESSENUMPROC, LPARAM); +INT WINAPI VDMEnumTaskWOW(DWORD, TASKENUMPROC, LPARAM); +INT WINAPI VDMEnumTaskWOWEx(DWORD, TASKENUMPROCEX, LPARAM); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_VDMDBG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ver.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ver.h new file mode 100644 index 0000000..b2843f4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ver.h @@ -0,0 +1,27 @@ +/* Definitions for the VERsion infolibrary (VER.DLL) + * + * Copyright 1996 Marcus Meissner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * Marked as obsolete: Albert den Haan (Corel Corp) 1999-04-28 + * VER.H obsolete, include winver.h instead + */ +#ifndef __WINE_VER_H +#define __WINE_VER_H + +#include + +#endif /* __WINE_VER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/verrsrc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/verrsrc.h new file mode 100644 index 0000000..fa5c26c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/verrsrc.h @@ -0,0 +1,173 @@ +/* Definitions for the VERsion info library (VER.DLL) + * + * Copyright 1996 Marcus Meissner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_VERRSRC_H +#define __WINE_VERRSRC_H + +/* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */ +#ifndef __MSABI_LONG +# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__) +# define __MSABI_LONG(x) x ## l +# else +# define __MSABI_LONG(x) x +# endif +#endif + +/* resource ids for different version infos */ +#define VS_FILE_INFO RT_VERSION +#define VS_VERSION_INFO 1 +#define VS_USER_DEFINED 100 + +#define VS_FFI_SIGNATURE __MSABI_LONG(0xfeef04bd) /* FileInfo Magic */ +#define VS_FFI_STRUCVERSION __MSABI_LONG(0x00010000) /* struc version 1.0 */ +#define VS_FFI_FILEFLAGSMASK __MSABI_LONG(0x0000003f) /* valid flags */ + +/* VS_VERSION.dwFileFlags */ +#define VS_FF_DEBUG __MSABI_LONG(0x01) +#define VS_FF_PRERELEASE __MSABI_LONG(0x02) +#define VS_FF_PATCHED __MSABI_LONG(0x04) +#define VS_FF_PRIVATEBUILD __MSABI_LONG(0x08) +#define VS_FF_INFOINFERRED __MSABI_LONG(0x10) +#define VS_FF_SPECIALBUILD __MSABI_LONG(0x20) + +/* VS_VERSION.dwFileOS */ + +/* major os version */ +#define VOS_UNKNOWN __MSABI_LONG(0x00000000) +#define VOS_DOS __MSABI_LONG(0x00010000) +#define VOS_OS216 __MSABI_LONG(0x00020000) +#define VOS_OS232 __MSABI_LONG(0x00030000) +#define VOS_NT __MSABI_LONG(0x00040000) +#define VOS_WINCE __MSABI_LONG(0x00050000) + +/* minor os version */ +#define VOS__BASE __MSABI_LONG(0x00000000) +#define VOS__WINDOWS16 __MSABI_LONG(0x00000001) +#define VOS__PM16 __MSABI_LONG(0x00000002) +#define VOS__PM32 __MSABI_LONG(0x00000003) +#define VOS__WINDOWS32 __MSABI_LONG(0x00000004) + +/* possible versions */ +#define VOS_DOS_WINDOWS16 (VOS_DOS|VOS__WINDOWS16) +#define VOS_DOS_WINDOWS32 (VOS_DOS|VOS__WINDOWS32) +#define VOS_OS216_PM16 (VOS_OS216|VOS__PM16) +#define VOS_OS232_PM32 (VOS_OS232|VOS__PM32) +#define VOS_NT_WINDOWS32 (VOS_NT|VOS__WINDOWS32) + +/* VS_VERSION.dwFileType */ +#define VFT_UNKNOWN __MSABI_LONG(0x00000000) +#define VFT_APP __MSABI_LONG(0x00000001) +#define VFT_DLL __MSABI_LONG(0x00000002) +#define VFT_DRV __MSABI_LONG(0x00000003) +#define VFT_FONT __MSABI_LONG(0x00000004) +#define VFT_VXD __MSABI_LONG(0x00000005) +/* ??one type missing?? __MSABI_LONG(0x00000006) -Marcus */ +#define VFT_STATIC_LIB __MSABI_LONG(0x00000007) + +/* VS_VERSION.dwFileSubtype for VFT_DRV */ +#define VFT2_UNKNOWN __MSABI_LONG(0x00000000) +#define VFT2_DRV_PRINTER __MSABI_LONG(0x00000001) +#define VFT2_DRV_KEYBOARD __MSABI_LONG(0x00000002) +#define VFT2_DRV_LANGUAGE __MSABI_LONG(0x00000003) +#define VFT2_DRV_DISPLAY __MSABI_LONG(0x00000004) +#define VFT2_DRV_MOUSE __MSABI_LONG(0x00000005) +#define VFT2_DRV_NETWORK __MSABI_LONG(0x00000006) +#define VFT2_DRV_SYSTEM __MSABI_LONG(0x00000007) +#define VFT2_DRV_INSTALLABLE __MSABI_LONG(0x00000008) +#define VFT2_DRV_SOUND __MSABI_LONG(0x00000009) +#define VFT2_DRV_COMM __MSABI_LONG(0x0000000a) +#define VFT2_DRV_INPUTMETHOD __MSABI_LONG(0x0000000b) +#define VFT2_DRV_VERSIONED_PRINTER __MSABI_LONG(0x0000000c) + +/* VS_VERSION.dwFileSubtype for VFT_FONT */ +#define VFT2_FONT_RASTER __MSABI_LONG(0x00000001) +#define VFT2_FONT_VECTOR __MSABI_LONG(0x00000002) +#define VFT2_FONT_TRUETYPE __MSABI_LONG(0x00000003) + +/* VerFindFile Flags */ + /* input */ +#define VFFF_ISSHAREDFILE 0x0001 + + /* output (returned) */ +#define VFF_CURNEDEST 0x0001 +#define VFF_FILEINUSE 0x0002 +#define VFF_BUFFTOOSMALL 0x0004 + +/* VerInstallFile Flags */ + /* input */ +#define VIFF_FORCEINSTALL 0x0001 +#define VIFF_DONTDELETEOLD 0x0002 + + /* output (return) */ +#define VIF_TEMPFILE __MSABI_LONG(0x00000001) +#define VIF_MISMATCH __MSABI_LONG(0x00000002) +#define VIF_SRCOLD __MSABI_LONG(0x00000004) +#define VIF_DIFFLANG __MSABI_LONG(0x00000008) +#define VIF_DIFFCODEPG __MSABI_LONG(0x00000010) +#define VIF_DIFFTYPE __MSABI_LONG(0x00000020) +#define VIF_WRITEPROT __MSABI_LONG(0x00000040) +#define VIF_FILEINUSE __MSABI_LONG(0x00000080) +#define VIF_OUTOFSPACE __MSABI_LONG(0x00000100) +#define VIF_ACCESSVIOLATION __MSABI_LONG(0x00000200) +#define VIF_SHARINGVIOLATION __MSABI_LONG(0x00000400) +#define VIF_CANNOTCREATE __MSABI_LONG(0x00000800) +#define VIF_CANNOTDELETE __MSABI_LONG(0x00001000) +#define VIF_CANNOTRENAME __MSABI_LONG(0x00002000) +#define VIF_CANNOTDELETECUR __MSABI_LONG(0x00004000) +#define VIF_OUTOFMEMORY __MSABI_LONG(0x00008000) +#define VIF_CANNOTREADSRC __MSABI_LONG(0x00010000) +#define VIF_CANNOTREADDST __MSABI_LONG(0x00020000) +#define VIF_BUFFTOOSMALL __MSABI_LONG(0x00040000) +#define VIF_CANNOTLOADLZ32 __MSABI_LONG(0x00080000) +#define VIF_CANNOTLOADCABINET __MSABI_LONG(0x00100000) + + +#ifndef RC_INVOKED + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#define FILE_VER_GET_LOCALISED 0x01 +#define FILE_VER_GET_NEUTRAL 0x02 +#define FILE_VER_GET_PREFETCHED 0x04 + +typedef struct tagVS_FIXEDFILEINFO { + DWORD dwSignature; + DWORD dwStrucVersion; + DWORD dwFileVersionMS; + DWORD dwFileVersionLS; + DWORD dwProductVersionMS; + DWORD dwProductVersionLS; + DWORD dwFileFlagsMask; + DWORD dwFileFlags; + DWORD dwFileOS; + DWORD dwFileType; + DWORD dwFileSubtype; + DWORD dwFileDateMS; + DWORD dwFileDateLS; +} VS_FIXEDFILEINFO; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* RC_INVOKED */ + +#endif /* __WINE_VERRSRC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vfw.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vfw.h new file mode 100644 index 0000000..aa3d4f5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vfw.h @@ -0,0 +1,1944 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_VFW_H +#define __WINE_VFW_H + +#include +#include +#include + +#define VFWAPI WINAPI +#define VFWAPIV WINAPIV + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +typedef HANDLE HDRAWDIB; + +/***************************************************************************** + * Predeclare the interfaces + */ +typedef struct IAVIStream *PAVISTREAM; +typedef struct IAVIFile *PAVIFILE; +typedef struct IGetFrame *PGETFRAME; +typedef struct IAVIEditStream *PAVIEDITSTREAM; + +/* Installable Compressor Manager */ + +#define ICVERSION 0x0104 + +DECLARE_HANDLE(HIC); + +/* error return codes */ +#define ICERR_OK 0 +#define ICERR_DONTDRAW 1 +#define ICERR_NEWPALETTE 2 +#define ICERR_GOTOKEYFRAME 3 +#define ICERR_STOPDRAWING 4 + +#define ICERR_UNSUPPORTED -1 +#define ICERR_BADFORMAT -2 +#define ICERR_MEMORY -3 +#define ICERR_INTERNAL -4 +#define ICERR_BADFLAGS -5 +#define ICERR_BADPARAM -6 +#define ICERR_BADSIZE -7 +#define ICERR_BADHANDLE -8 +#define ICERR_CANTUPDATE -9 +#define ICERR_ABORT -10 +#define ICERR_ERROR -100 +#define ICERR_BADBITDEPTH -200 +#define ICERR_BADIMAGESIZE -201 + +#define ICERR_CUSTOM -400 + +/* ICM Messages */ +#define ICM_USER (DRV_USER+0x0000) + +/* ICM driver message range */ +#define ICM_RESERVED_LOW (DRV_USER+0x1000) +#define ICM_RESERVED_HIGH (DRV_USER+0x2000) +#define ICM_RESERVED ICM_RESERVED_LOW + +#define ICM_GETSTATE (ICM_RESERVED+0) +#define ICM_SETSTATE (ICM_RESERVED+1) +#define ICM_GETINFO (ICM_RESERVED+2) + +#define ICM_CONFIGURE (ICM_RESERVED+10) +#define ICM_ABOUT (ICM_RESERVED+11) +/* */ + +#define ICM_GETDEFAULTQUALITY (ICM_RESERVED+30) +#define ICM_GETQUALITY (ICM_RESERVED+31) +#define ICM_SETQUALITY (ICM_RESERVED+32) + +#define ICM_SET (ICM_RESERVED+40) +#define ICM_GET (ICM_RESERVED+41) + +/* 2 constant FOURCC codes */ +#define ICM_FRAMERATE mmioFOURCC('F','r','m','R') +#define ICM_KEYFRAMERATE mmioFOURCC('K','e','y','R') + +#define ICM_COMPRESS_GET_FORMAT (ICM_USER+4) +#define ICM_COMPRESS_GET_SIZE (ICM_USER+5) +#define ICM_COMPRESS_QUERY (ICM_USER+6) +#define ICM_COMPRESS_BEGIN (ICM_USER+7) +#define ICM_COMPRESS (ICM_USER+8) +#define ICM_COMPRESS_END (ICM_USER+9) + +#define ICM_DECOMPRESS_GET_FORMAT (ICM_USER+10) +#define ICM_DECOMPRESS_QUERY (ICM_USER+11) +#define ICM_DECOMPRESS_BEGIN (ICM_USER+12) +#define ICM_DECOMPRESS (ICM_USER+13) +#define ICM_DECOMPRESS_END (ICM_USER+14) +#define ICM_DECOMPRESS_SET_PALETTE (ICM_USER+29) +#define ICM_DECOMPRESS_GET_PALETTE (ICM_USER+30) + +#define ICM_DRAW_QUERY (ICM_USER+31) +#define ICM_DRAW_BEGIN (ICM_USER+15) +#define ICM_DRAW_GET_PALETTE (ICM_USER+16) +#define ICM_DRAW_START (ICM_USER+18) +#define ICM_DRAW_STOP (ICM_USER+19) +#define ICM_DRAW_END (ICM_USER+21) +#define ICM_DRAW_GETTIME (ICM_USER+32) +#define ICM_DRAW (ICM_USER+33) +#define ICM_DRAW_WINDOW (ICM_USER+34) +#define ICM_DRAW_SETTIME (ICM_USER+35) +#define ICM_DRAW_REALIZE (ICM_USER+36) +#define ICM_DRAW_FLUSH (ICM_USER+37) +#define ICM_DRAW_RENDERBUFFER (ICM_USER+38) + +#define ICM_DRAW_START_PLAY (ICM_USER+39) +#define ICM_DRAW_STOP_PLAY (ICM_USER+40) + +#define ICM_DRAW_SUGGESTFORMAT (ICM_USER+50) +#define ICM_DRAW_CHANGEPALETTE (ICM_USER+51) + +#define ICM_GETBUFFERSWANTED (ICM_USER+41) + +#define ICM_GETDEFAULTKEYFRAMERATE (ICM_USER+42) + +#define ICM_DECOMPRESSEX_BEGIN (ICM_USER+60) +#define ICM_DECOMPRESSEX_QUERY (ICM_USER+61) +#define ICM_DECOMPRESSEX (ICM_USER+62) +#define ICM_DECOMPRESSEX_END (ICM_USER+63) + +#define ICM_COMPRESS_FRAMES_INFO (ICM_USER+70) +#define ICM_SET_STATUS_PROC (ICM_USER+72) + +#ifndef comptypeDIB +#define comptypeDIB mmioFOURCC('D','I','B',' ') +#endif + +/* structs */ + +/* NOTE: Only the 16 bit structs are packed. Structs that are packed anyway + * have not been changed. If a structure is later extended, you may need to create + * two versions of it. + */ + +typedef struct { + DWORD dwSize; /* 00: size */ + DWORD fccType; /* 04: type 'vidc' usually */ + DWORD fccHandler; /* 08: */ + DWORD dwVersion; /* 0c: version of compman opening you */ + DWORD dwFlags; /* 10: LOWORD is type specific */ + LRESULT dwError; /* 14: */ + LPVOID pV1Reserved; /* 18: */ + LPVOID pV2Reserved; /* 1c: */ + DWORD dnDevNode; /* 20: */ + /* 24: */ +} ICOPEN,*LPICOPEN; + +#define ICCOMPRESS_KEYFRAME __MSABI_LONG(0x00000001) + +typedef struct { + DWORD dwFlags; + LPBITMAPINFOHEADER lpbiOutput; + LPVOID lpOutput; + LPBITMAPINFOHEADER lpbiInput; + LPVOID lpInput; + LPDWORD lpckid; + LPDWORD lpdwFlags; + LONG lFrameNum; + DWORD dwFrameSize; + DWORD dwQuality; + LPBITMAPINFOHEADER lpbiPrev; + LPVOID lpPrev; +} ICCOMPRESS; + +DWORD VFWAPIV ICCompress( + HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiOutput,LPVOID lpData, + LPBITMAPINFOHEADER lpbiInput,LPVOID lpBits,LPDWORD lpckid, + LPDWORD lpdwFlags,LONG lFrameNum,DWORD dwFrameSize,DWORD dwQuality, + LPBITMAPINFOHEADER lpbiPrev,LPVOID lpPrev +); + +#define ICCompressGetFormat(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic,ICM_COMPRESS_GET_FORMAT,(DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + ) + +#define ICCompressGetFormatSize(hic,lpbi) ICCompressGetFormat(hic,lpbi,NULL) + +#define ICCompressBegin(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic, ICM_COMPRESS_BEGIN, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + ) + +#define ICCompressGetSize(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic, ICM_COMPRESS_GET_SIZE, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + ) + +#define ICCompressQuery(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic, ICM_COMPRESS_QUERY, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + ) + +#define ICCompressEnd(hic) ICSendMessage(hic, ICM_COMPRESS_END, 0, 0) + +/* ICCOMPRESSFRAMES.dwFlags */ +#define ICCOMPRESSFRAMES_PADDING 0x00000001 +typedef struct { + DWORD dwFlags; + LPBITMAPINFOHEADER lpbiOutput; + LPARAM lOutput; + LPBITMAPINFOHEADER lpbiInput; + LPARAM lInput; + LONG lStartFrame; + LONG lFrameCount; + LONG lQuality; + LONG lDataRate; + LONG lKeyRate; + DWORD dwRate; + DWORD dwScale; + DWORD dwOverheadPerFrame; + DWORD dwReserved2; + LONG (CALLBACK *GetData)(LPARAM lInput,LONG lFrame,LPVOID lpBits,LONG len); + LONG (CALLBACK *PutData)(LPARAM lOutput,LONG lFrame,LPVOID lpBits,LONG len); +} ICCOMPRESSFRAMES; + +typedef struct { + DWORD dwFlags; + LPARAM lParam; + /* messages for Status callback */ +#define ICSTATUS_START 0 +#define ICSTATUS_STATUS 1 +#define ICSTATUS_END 2 +#define ICSTATUS_ERROR 3 +#define ICSTATUS_YIELD 4 + /* FIXME: some X11 libs define Status as int... */ + /* LONG (CALLBACK *zStatus)(LPARAM lParam, UINT message, LONG l); */ + LONG (CALLBACK *zStatus)(LPARAM lParam, UINT message, LONG l); +} ICSETSTATUSPROC; + +/* Values for wMode of ICOpen() */ +#define ICMODE_COMPRESS 1 +#define ICMODE_DECOMPRESS 2 +#define ICMODE_FASTDECOMPRESS 3 +#define ICMODE_QUERY 4 +#define ICMODE_FASTCOMPRESS 5 +#define ICMODE_DRAW 8 + +/* quality flags */ +#define ICQUALITY_LOW 0 +#define ICQUALITY_HIGH 10000 +#define ICQUALITY_DEFAULT -1 + +typedef struct { + DWORD dwSize; /* 00: */ + DWORD fccType; /* 04:compressor type 'vidc' 'audc' */ + DWORD fccHandler; /* 08:compressor sub-type 'rle ' 'jpeg' 'pcm '*/ + DWORD dwFlags; /* 0c:flags LOWORD is type specific */ + DWORD dwVersion; /* 10:version of the driver */ + DWORD dwVersionICM; /* 14:version of the ICM used */ + /* + * under Win32, the driver always returns UNICODE strings. + */ + WCHAR szName[16]; /* 18:short name */ + WCHAR szDescription[128]; /* 38:long name */ + WCHAR szDriver[128]; /* 138:driver that contains compressor*/ + /* 238: */ +} ICINFO; + +/* ICINFO.dwFlags */ +#define VIDCF_QUALITY 0x0001 /* supports quality */ +#define VIDCF_CRUNCH 0x0002 /* supports crunching to a frame size */ +#define VIDCF_TEMPORAL 0x0004 /* supports inter-frame compress */ +#define VIDCF_COMPRESSFRAMES 0x0008 /* wants the compress all frames message */ +#define VIDCF_DRAW 0x0010 /* supports drawing */ +#define VIDCF_FASTTEMPORALC 0x0020 /* does not need prev frame on compress */ +#define VIDCF_FASTTEMPORALD 0x0080 /* does not need prev frame on decompress */ +#define VIDCF_QUALITYTIME 0x0040 /* supports temporal quality */ + +#define VIDCF_FASTTEMPORAL (VIDCF_FASTTEMPORALC|VIDCF_FASTTEMPORALD) + + +/* function shortcuts */ +/* ICM_ABOUT */ +#define ICMF_ABOUT_QUERY 0x00000001 + +#define ICQueryAbout(hic) \ + (ICSendMessage(hic,ICM_ABOUT,(DWORD_PTR)-1,ICMF_ABOUT_QUERY)==ICERR_OK) + +#define ICAbout(hic, hwnd) ICSendMessage(hic,ICM_ABOUT,(DWORD_PTR)(UINT_PTR)(hwnd),0) + +/* ICM_CONFIGURE */ +#define ICMF_CONFIGURE_QUERY 0x00000001 +#define ICQueryConfigure(hic) \ + (ICSendMessage(hic,ICM_CONFIGURE,(DWORD_PTR)-1,ICMF_CONFIGURE_QUERY)==ICERR_OK) + +#define ICConfigure(hic,hwnd) \ + ICSendMessage(hic,ICM_CONFIGURE,(DWORD_PTR)(UINT_PTR)(hwnd),0) + +/* Decompression stuff */ +#define ICDECOMPRESS_HURRYUP 0x80000000 /* don't draw just buffer (hurry up!) */ +#define ICDECOMPRESS_UPDATE 0x40000000 /* don't draw just update screen */ +#define ICDECOMPRESS_PREROLL 0x20000000 /* this frame is before real start */ +#define ICDECOMPRESS_NULLFRAME 0x10000000 /* repeat last frame */ +#define ICDECOMPRESS_NOTKEYFRAME 0x08000000 /* this frame is not a key frame */ + +typedef struct { + DWORD dwFlags; /* flags (from AVI index...) */ + LPBITMAPINFOHEADER lpbiInput; /* BITMAPINFO of compressed data */ + LPVOID lpInput; /* compressed data */ + LPBITMAPINFOHEADER lpbiOutput; /* DIB to decompress to */ + LPVOID lpOutput; + DWORD ckid; /* ckid from AVI file */ +} ICDECOMPRESS; + +typedef struct { + DWORD dwFlags; + LPBITMAPINFOHEADER lpbiSrc; + LPVOID lpSrc; + LPBITMAPINFOHEADER lpbiDst; + LPVOID lpDst; + + /* changed for ICM_DECOMPRESSEX */ + INT xDst; /* destination rectangle */ + INT yDst; + INT dxDst; + INT dyDst; + + INT xSrc; /* source rectangle */ + INT ySrc; + INT dxSrc; + INT dySrc; +} ICDECOMPRESSEX; + +DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,LPVOID lpData,LPBITMAPINFOHEADER lpbi,LPVOID lpBits); + +#define ICDecompressBegin(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic, ICM_DECOMPRESS_BEGIN, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + ) + +#define ICDecompressQuery(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic,ICM_DECOMPRESS_QUERY, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR) (LPVOID)(lpbiOutput) \ + ) + +#define ICDecompressGetFormat(hic, lpbiInput, lpbiOutput) \ + ((LONG)ICSendMessage( \ + hic,ICM_DECOMPRESS_GET_FORMAT, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + )) + +#define ICDecompressGetFormatSize(hic, lpbi) \ + ICDecompressGetFormat(hic, lpbi, NULL) + +#define ICDecompressGetPalette(hic, lpbiInput, lpbiOutput) \ + ICSendMessage( \ + hic, ICM_DECOMPRESS_GET_PALETTE, (DWORD_PTR)(LPVOID)(lpbiInput), \ + (DWORD_PTR)(LPVOID)(lpbiOutput) \ + ) + +#define ICDecompressSetPalette(hic,lpbiPalette) \ + ICSendMessage( \ + hic,ICM_DECOMPRESS_SET_PALETTE, \ + (DWORD_PTR)(LPVOID)(lpbiPalette),0 \ + ) + +#define ICDecompressEnd(hic) ICSendMessage(hic, ICM_DECOMPRESS_END, 0, 0) + +LRESULT VFWAPI ICSendMessage(HIC hic, UINT msg, DWORD_PTR dw1, DWORD_PTR dw2); + +static inline LRESULT VFWAPI ICDecompressEx(HIC hic, DWORD dwFlags, + LPBITMAPINFOHEADER lpbiSrc, LPVOID lpSrc, + int xSrc, int ySrc, int dxSrc, int dySrc, + LPBITMAPINFOHEADER lpbiDst, LPVOID lpDst, + int xDst, int yDst, int dxDst, int dyDst) +{ + ICDECOMPRESSEX ic; + + ic.dwFlags = dwFlags; + ic.lpbiSrc = lpbiSrc; + ic.lpSrc = lpSrc; + ic.xSrc = xSrc; + ic.ySrc = ySrc; + ic.dxSrc = dxSrc; + ic.dySrc = dySrc; + ic.lpbiDst = lpbiDst; + ic.lpDst = lpDst; + ic.xDst = xDst; + ic.yDst = yDst; + ic.dxDst = dxDst; + ic.dyDst = dyDst; + return ICSendMessage(hic, ICM_DECOMPRESSEX, (DWORD_PTR)&ic, sizeof(ic)); +} + +static inline LRESULT VFWAPI ICDecompressExBegin(HIC hic, DWORD dwFlags, + LPBITMAPINFOHEADER lpbiSrc, + LPVOID lpSrc, + int xSrc, int ySrc, int dxSrc, int dySrc, + LPBITMAPINFOHEADER lpbiDst, + LPVOID lpDst, + int xDst, + int yDst, + int dxDst, + int dyDst) +{ + ICDECOMPRESSEX ic; + + ic.dwFlags = dwFlags; + ic.lpbiSrc = lpbiSrc; + ic.lpSrc = lpSrc; + ic.xSrc = xSrc; + ic.ySrc = ySrc; + ic.dxSrc = dxSrc; + ic.dySrc = dySrc; + ic.lpbiDst = lpbiDst; + ic.lpDst = lpDst; + ic.xDst = xDst; + ic.yDst = yDst; + ic.dxDst = dxDst; + ic.dyDst = dyDst; + return ICSendMessage(hic, ICM_DECOMPRESSEX_BEGIN, (DWORD_PTR)&ic, sizeof(ic)); +} +static inline LRESULT VFWAPI ICDecompressExQuery(HIC hic, DWORD dwFlags, + LPBITMAPINFOHEADER lpbiSrc, + LPVOID lpSrc, + int xSrc, int ySrc, int dxSrc, int dySrc, + LPBITMAPINFOHEADER lpbiDst, + LPVOID lpDst, + int xDst, + int yDst, + int dxDst, + int dyDst) +{ + ICDECOMPRESSEX ic; + + ic.dwFlags = dwFlags; + ic.lpbiSrc = lpbiSrc; + ic.lpSrc = lpSrc; + ic.xSrc = xSrc; + ic.ySrc = ySrc; + ic.dxSrc = dxSrc; + ic.dySrc = dySrc; + ic.lpbiDst = lpbiDst; + ic.lpDst = lpDst; + ic.xDst = xDst; + ic.yDst = yDst; + ic.dxDst = dxDst; + ic.dyDst = dyDst; + return ICSendMessage(hic, ICM_DECOMPRESSEX_QUERY, (DWORD_PTR)&ic, sizeof(ic)); +} + +#define ICDecompressExEnd(hic) \ + ICSendMessage(hic, ICM_DECOMPRESSEX_END, 0, 0) + +#define ICDRAW_QUERY __MSABI_LONG(0x00000001) /* test for support */ +#define ICDRAW_FULLSCREEN __MSABI_LONG(0x00000002) /* draw to full screen */ +#define ICDRAW_HDC __MSABI_LONG(0x00000004) /* draw to a HDC/HWND */ +#define ICDRAW_ANIMATE __MSABI_LONG(0x00000008) /* expect palette animation */ +#define ICDRAW_CONTINUE __MSABI_LONG(0x00000010) /* draw is a continuation of previous draw */ +#define ICDRAW_MEMORYDC __MSABI_LONG(0x00000020) /* DC is offscreen, by the way */ +#define ICDRAW_UPDATING __MSABI_LONG(0x00000040) /* We're updating, as opposed to playing */ +#define ICDRAW_RENDER __MSABI_LONG(0x00000080) /* used to render data not draw it */ +#define ICDRAW_BUFFER __MSABI_LONG(0x00000100) /* buffer data offscreen, we will need to update it */ + +#define ICDecompressOpen(fccType, fccHandler, lpbiIn, lpbiOut) \ + ICLocate(fccType, fccHandler, lpbiIn, lpbiOut, ICMODE_DECOMPRESS) + +#define ICDrawOpen(fccType, fccHandler, lpbiIn) \ + ICLocate(fccType, fccHandler, lpbiIn, NULL, ICMODE_DRAW) + +HANDLE VFWAPI ICImageCompress(HIC hic, UINT uiFlags, LPBITMAPINFO lpbiIn, + LPVOID lpBits, LPBITMAPINFO lpbiOut, LONG lQuality, + LONG* plSize); + +HANDLE VFWAPI ICImageDecompress(HIC hic, UINT uiFlags, LPBITMAPINFO lpbiIn, + LPVOID lpBits, LPBITMAPINFO lpbiOut); + +BOOL VFWAPI ICInfo(DWORD fccType, DWORD fccHandler, ICINFO * lpicinfo); +BOOL VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR szDesc, UINT wFlags); +BOOL VFWAPI ICRemove(DWORD fccType, DWORD fccHandler, UINT wFlags); +LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo, DWORD cb); +HIC VFWAPI ICOpen(DWORD fccType, DWORD fccHandler, UINT wMode); +#ifdef WINE_STRICT_PROTOTYPES +HIC VFWAPI ICOpenFunction(DWORD fccType, DWORD fccHandler, UINT wMode, DRIVERPROC lpfnHandler); +#else +HIC VFWAPI ICOpenFunction(DWORD fccType, DWORD fccHandler, UINT wMode, FARPROC lpfnHandler); +#endif + +LRESULT VFWAPI ICClose(HIC hic); +HIC VFWAPI ICLocate(DWORD fccType, DWORD fccHandler, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHEADER lpbiOut, WORD wFlags); +HIC VFWAPI ICGetDisplayFormat(HIC hic, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHEADER lpbiOut, int BitDepth, int dx, int dy); + +/* Values for wFlags of ICInstall() */ +#define ICINSTALL_UNICODE 0x8000 +#define ICINSTALL_FUNCTION 0x0001 +#define ICINSTALL_DRIVER 0x0002 +#define ICINSTALL_HDRV 0x0004 +#define ICINSTALL_DRIVERW 0x8002 + +#define ICGetState(hic, pv, cb) \ + ICSendMessage(hic, ICM_GETSTATE, (DWORD_PTR)(LPVOID)(pv), (DWORD_PTR)(cb)) +#define ICSetState(hic, pv, cb) \ + ICSendMessage(hic, ICM_SETSTATE, (DWORD_PTR)(LPVOID)(pv), (DWORD_PTR)(cb)) +#define ICGetStateSize(hic) \ + ICGetState(hic, NULL, 0) + +static inline DWORD ICGetDefaultQuality(HIC hic) +{ + DWORD dwICValue; + ICSendMessage(hic, ICM_GETDEFAULTQUALITY, (DWORD_PTR)(LPVOID)&dwICValue, sizeof(DWORD)); + return dwICValue; +} + +static inline DWORD ICGetDefaultKeyFrameRate(HIC hic) +{ + DWORD dwICValue; + ICSendMessage(hic, ICM_GETDEFAULTKEYFRAMERATE, (DWORD_PTR)(LPVOID)&dwICValue, sizeof(DWORD)); + return dwICValue; +} + +#define ICDrawWindow(hic, prc) \ + ICSendMessage(hic, ICM_DRAW_WINDOW, (DWORD_PTR)(LPVOID)(prc), sizeof(RECT)) + +/* As passed to ICM_DRAW_SUGGESTFORMAT */ +typedef struct { + DWORD dwFlags; + LPBITMAPINFOHEADER lpbiIn; + LPBITMAPINFOHEADER lpbiSuggest; + INT dxSrc; + INT dySrc; + INT dxDst; + INT dyDst; + HIC hicDecompressor; +} ICDRAWSUGGEST; + +typedef struct { + DWORD dwFlags; + int iStart; + int iLen; + LPPALETTEENTRY lppe; +} ICPALETTE; + +DWORD VFWAPIV ICDrawBegin( + HIC hic, + DWORD dwFlags,/* flags */ + HPALETTE hpal, /* palette to draw with */ + HWND hwnd, /* window to draw to */ + HDC hdc, /* HDC to draw to */ + INT xDst, /* destination rectangle */ + INT yDst, + INT dxDst, + INT dyDst, + LPBITMAPINFOHEADER lpbi, /* format of frame to draw */ + INT xSrc, /* source rectangle */ + INT ySrc, + INT dxSrc, + INT dySrc, + DWORD dwRate, /* frames/second = (dwRate/dwScale) */ + DWORD dwScale +); + +/* as passed to ICM_DRAW_BEGIN */ +typedef struct { + DWORD dwFlags; + HPALETTE hpal; + HWND hwnd; + HDC hdc; + INT xDst; + INT yDst; + INT dxDst; + INT dyDst; + LPBITMAPINFOHEADER lpbi; + INT xSrc; + INT ySrc; + INT dxSrc; + INT dySrc; + DWORD dwRate; + DWORD dwScale; +} ICDRAWBEGIN; + +#define ICDRAW_HURRYUP __MSABI_LONG(0x80000000) /* don't draw just buffer (hurry up!) */ +#define ICDRAW_UPDATE __MSABI_LONG(0x40000000) /* don't draw just update screen */ +#define ICDRAW_PREROLL __MSABI_LONG(0x20000000) /* this frame is before real start */ +#define ICDRAW_NULLFRAME __MSABI_LONG(0x10000000) /* repeat last frame */ +#define ICDRAW_NOTKEYFRAME __MSABI_LONG(0x08000000) /* this frame is not a key frame */ + +typedef struct { + DWORD dwFlags; + LPVOID lpFormat; + LPVOID lpData; + DWORD cbData; + LONG lTime; +} ICDRAW; + +DWORD VFWAPIV ICDraw(HIC hic,DWORD dwFlags,LPVOID lpFormat,LPVOID lpData,DWORD cbData,LONG lTime); + +static inline LRESULT VFWAPI ICDrawSuggestFormat(HIC hic, LPBITMAPINFOHEADER lpbiIn, + LPBITMAPINFOHEADER lpbiOut, + int dxSrc, int dySrc, + int dxDst, int dyDst, + HIC hicDecomp) +{ + ICDRAWSUGGEST ic; + + ic.lpbiIn = lpbiIn; + ic.lpbiSuggest = lpbiOut; + ic.dxSrc = dxSrc; + ic.dySrc = dySrc; + ic.dxDst = dxDst; + ic.dyDst = dyDst; + ic.hicDecompressor = hicDecomp; + return ICSendMessage(hic, ICM_DRAW_SUGGESTFORMAT, (DWORD_PTR)&ic, sizeof(ic)); +} + +#define ICDrawQuery(hic, lpbiInput) \ + ICSendMessage(hic, ICM_DRAW_QUERY, (DWORD_PTR)(LPVOID)(lpbiInput), 0) + +#define ICDrawChangePalette(hic, lpbiInput) \ + ICSendMessage(hic, ICM_DRAW_CHANGEPALETTE, (DWORD_PTR)(LPVOID)(lpbiInput), 0) + +#define ICGetBuffersWanted(hic, lpdwBuffers) \ + ICSendMessage(hic, ICM_GETBUFFERSWANTED, (DWORD_PTR)(LPVOID)(lpdwBuffers), 0) + +#define ICDrawEnd(hic) \ + ICSendMessage(hic, ICM_DRAW_END, 0, 0) + +#define ICDrawStart(hic) \ + ICSendMessage(hic, ICM_DRAW_START, 0, 0) + +#define ICDrawStartPlay(hic, lFrom, lTo) \ + ICSendMessage(hic, ICM_DRAW_START_PLAY, (DWORD_PTR)(lFrom), (DWORD_PTR)(lTo)) + +#define ICDrawStop(hic) \ + ICSendMessage(hic, ICM_DRAW_STOP, 0, 0) + +#define ICDrawStopPlay(hic) \ + ICSendMessage(hic, ICM_DRAW_STOP_PLAY, 0, 0) + +#define ICDrawGetTime(hic, lplTime) \ + ICSendMessage(hic, ICM_DRAW_GETTIME, (DWORD_PTR)(LPVOID)(lplTime), 0) + +#define ICDrawSetTime(hic, lTime) \ + ICSendMessage(hic, ICM_DRAW_SETTIME, (DWORD_PTR)lTime, 0) + +#define ICDrawRealize(hic, hdc, fBackground) \ + ICSendMessage(hic, ICM_DRAW_REALIZE, (DWORD_PTR)(UINT_PTR)(HDC)(hdc), (DWORD_PTR)(BOOL)(fBackground)) + +#define ICDrawFlush(hic) \ + ICSendMessage(hic, ICM_DRAW_FLUSH, 0, 0) + +#define ICDrawRenderBuffer(hic) \ + ICSendMessage(hic, ICM_DRAW_RENDERBUFFER, 0, 0) + +static inline LRESULT VFWAPI ICSetStatusProc(HIC hic, DWORD dwFlags, LRESULT lParam, + LONG (CALLBACK *fpfnStatus)(LPARAM, UINT, LONG)) +{ + ICSETSTATUSPROC ic; + + ic.dwFlags = dwFlags; + ic.lParam = lParam; + /* FIXME: see comment in ICSETSTATUSPROC definition */ + ic.zStatus = fpfnStatus; + + return ICSendMessage(hic, ICM_SET_STATUS_PROC, (DWORD_PTR)&ic, sizeof(ic)); +} + +typedef struct { + LONG cbSize; + DWORD dwFlags; + HIC hic; + DWORD fccType; + DWORD fccHandler; + LPBITMAPINFO lpbiIn; + LPBITMAPINFO lpbiOut; + LPVOID lpBitsOut; + LPVOID lpBitsPrev; + LONG lFrame; + LONG lKey; + LONG lDataRate; + LONG lQ; + LONG lKeyCount; + LPVOID lpState; + LONG cbState; +} COMPVARS, *PCOMPVARS; + +#define ICMF_COMPVARS_VALID 0x00000001 + +BOOL VFWAPI ICCompressorChoose(HWND hwnd, UINT uiFlags, LPVOID pvIn, LPVOID lpData, + PCOMPVARS pc, LPSTR lpszTitle); + +#define ICMF_CHOOSE_KEYFRAME 0x0001 +#define ICMF_CHOOSE_DATARATE 0x0002 +#define ICMF_CHOOSE_PREVIEW 0x0004 +#define ICMF_CHOOSE_ALLCOMPRESSORS 0x0008 + +BOOL VFWAPI ICSeqCompressFrameStart(PCOMPVARS pc, LPBITMAPINFO lpbiIn); +void VFWAPI ICSeqCompressFrameEnd(PCOMPVARS pc); + +LPVOID VFWAPI ICSeqCompressFrame(PCOMPVARS pc, UINT uiFlags, LPVOID lpBits, + BOOL *pfKey, LONG *plSize); +void VFWAPI ICCompressorFree(PCOMPVARS pc); + +/********************* AVIFILE function declarations *************************/ + +#ifndef mmioFOURCC +#define mmioFOURCC( ch0, ch1, ch2, ch3 ) \ + ( (DWORD)(BYTE)(ch0) | ( (DWORD)(BYTE)(ch1) << 8 ) | \ + ( (DWORD)(BYTE)(ch2) << 16 ) | ( (DWORD)(BYTE)(ch3) << 24 ) ) +#endif + +#ifndef aviTWOCC +#define aviTWOCC(ch0, ch1) ((WORD)(BYTE)(ch0) | ((WORD)(BYTE)(ch1) << 8)) +#endif + +typedef WORD TWOCC; + +#define ICTYPE_VIDEO mmioFOURCC('v', 'i', 'd', 'c') +#define ICTYPE_AUDIO mmioFOURCC('a', 'u', 'd', 'c') + +#define formtypeAVI mmioFOURCC('A', 'V', 'I', ' ') +#define listtypeAVIHEADER mmioFOURCC('h', 'd', 'r', 'l') +#define ckidAVIMAINHDR mmioFOURCC('a', 'v', 'i', 'h') +#define listtypeSTREAMHEADER mmioFOURCC('s', 't', 'r', 'l') +#define ckidSTREAMHEADER mmioFOURCC('s', 't', 'r', 'h') +#define ckidSTREAMFORMAT mmioFOURCC('s', 't', 'r', 'f') +#define ckidSTREAMHANDLERDATA mmioFOURCC('s', 't', 'r', 'd') +#define ckidSTREAMNAME mmioFOURCC('s', 't', 'r', 'n') + +#define listtypeAVIMOVIE mmioFOURCC('m', 'o', 'v', 'i') +#define listtypeAVIRECORD mmioFOURCC('r', 'e', 'c', ' ') + +#define ckidAVINEWINDEX mmioFOURCC('i', 'd', 'x', '1') + +#define streamtypeANY 0U +#define streamtypeVIDEO mmioFOURCC('v', 'i', 'd', 's') +#define streamtypeAUDIO mmioFOURCC('a', 'u', 'd', 's') +#define streamtypeMIDI mmioFOURCC('m', 'i', 'd', 's') +#define streamtypeTEXT mmioFOURCC('t', 'x', 't', 's') + +/* Basic chunk types */ +#define cktypeDIBbits aviTWOCC('d', 'b') +#define cktypeDIBcompressed aviTWOCC('d', 'c') +#define cktypePALchange aviTWOCC('p', 'c') +#define cktypeWAVEbytes aviTWOCC('w', 'b') + +/* Chunk id to use for extra chunks for padding. */ +#define ckidAVIPADDING mmioFOURCC('J', 'U', 'N', 'K') + +#define FromHex(n) (((n) >= 'A') ? ((n) + 10 - 'A') : ((n) - '0')) +#define StreamFromFOURCC(fcc) ((WORD)((FromHex(LOBYTE(LOWORD(fcc))) << 4) + \ + (FromHex(HIBYTE(LOWORD(fcc)))))) +#define TWOCCFromFOURCC(fcc) HIWORD(fcc) +#define ToHex(n) ((BYTE)(((n) > 9) ? ((n) - 10 + 'A') : ((n) + '0'))) +#define MAKEAVICKID(tcc, stream) \ + MAKELONG((ToHex((stream) & 0x0f) << 8) | \ + (ToHex(((stream) & 0xf0) >> 4)), tcc) + +/* AVIFileHdr.dwFlags */ +#define AVIF_HASINDEX 0x00000010 /* Index at end of file? */ +#define AVIF_MUSTUSEINDEX 0x00000020 +#define AVIF_ISINTERLEAVED 0x00000100 +#define AVIF_TRUSTCKTYPE 0x00000800 /* Use CKType to find key frames*/ +#define AVIF_WASCAPTUREFILE 0x00010000 +#define AVIF_COPYRIGHTED 0x00020000 + +#define AVI_HEADERSIZE 2048 + +typedef BOOL (CALLBACK *AVISAVECALLBACK)(INT); + +typedef struct _MainAVIHeader +{ + DWORD dwMicroSecPerFrame; + DWORD dwMaxBytesPerSec; + DWORD dwPaddingGranularity; + DWORD dwFlags; + DWORD dwTotalFrames; + DWORD dwInitialFrames; + DWORD dwStreams; + DWORD dwSuggestedBufferSize; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwReserved[4]; +} MainAVIHeader; + +/* AVIStreamHeader.dwFlags */ +#define AVISF_DISABLED 0x00000001 +#define AVISF_VIDEO_PALCHANGES 0x00010000 + +typedef struct { + FOURCC fccType; + FOURCC fccHandler; + DWORD dwFlags; /* AVISF_* */ + WORD wPriority; + WORD wLanguage; + DWORD dwInitialFrames; + DWORD dwScale; + DWORD dwRate; /* dwRate / dwScale == samples/second */ + DWORD dwStart; + DWORD dwLength; /* In units above... */ + DWORD dwSuggestedBufferSize; + DWORD dwQuality; + DWORD dwSampleSize; + struct { SHORT left, top, right, bottom; } rcFrame; /* word.word - word.word in file */ +} AVIStreamHeader; + +/* AVIINDEXENTRY.dwFlags */ +#define AVIIF_LIST 0x00000001 /* chunk is a 'LIST' */ +#define AVIIF_TWOCC 0x00000002 +#define AVIIF_KEYFRAME 0x00000010 /* this frame is a key frame. */ +#define AVIIF_FIRSTPART 0x00000020 +#define AVIIF_LASTPART 0x00000040 +#define AVIIF_MIDPART (AVIIF_LASTPART|AVIIF_FIRSTPART) +#define AVIIF_NOTIME 0x00000100 /* this frame doesn't take any time */ +#define AVIIF_COMPUSE 0x0FFF0000 + +typedef struct _AVIINDEXENTRY { + DWORD ckid; + DWORD dwFlags; + DWORD dwChunkOffset; + DWORD dwChunkLength; +} AVIINDEXENTRY; + +typedef struct _AVIPALCHANGE { + BYTE bFirstEntry; + BYTE bNumEntries; + WORD wFlags; /* pad */ + PALETTEENTRY peNew[1]; +} AVIPALCHANGE; + +#define AVIIF_KEYFRAME 0x00000010 /* this frame is a key frame. */ + +#define AVIGETFRAMEF_BESTDISPLAYFMT 1 + +typedef struct _AVISTREAMINFOA { + DWORD fccType; + DWORD fccHandler; + DWORD dwFlags; /* AVIIF_* */ + DWORD dwCaps; + WORD wPriority; + WORD wLanguage; + DWORD dwScale; + DWORD dwRate; /* dwRate / dwScale == samples/second */ + DWORD dwStart; + DWORD dwLength; /* In units above... */ + DWORD dwInitialFrames; + DWORD dwSuggestedBufferSize; + DWORD dwQuality; + DWORD dwSampleSize; + RECT rcFrame; + DWORD dwEditCount; + DWORD dwFormatChangeCount; + CHAR szName[64]; +} AVISTREAMINFOA, * LPAVISTREAMINFOA, *PAVISTREAMINFOA; + +typedef struct _AVISTREAMINFOW { + DWORD fccType; + DWORD fccHandler; + DWORD dwFlags; + DWORD dwCaps; + WORD wPriority; + WORD wLanguage; + DWORD dwScale; + DWORD dwRate; /* dwRate / dwScale == samples/second */ + DWORD dwStart; + DWORD dwLength; /* In units above... */ + DWORD dwInitialFrames; + DWORD dwSuggestedBufferSize; + DWORD dwQuality; + DWORD dwSampleSize; + RECT rcFrame; + DWORD dwEditCount; + DWORD dwFormatChangeCount; + WCHAR szName[64]; +} AVISTREAMINFOW, * LPAVISTREAMINFOW, *PAVISTREAMINFOW; +DECL_WINELIB_TYPE_AW(AVISTREAMINFO) +DECL_WINELIB_TYPE_AW(LPAVISTREAMINFO) +DECL_WINELIB_TYPE_AW(PAVISTREAMINFO) + +#define AVISTREAMINFO_DISABLED 0x00000001 +#define AVISTREAMINFO_FORMATCHANGES 0x00010000 + +/* AVIFILEINFO.dwFlags */ +#define AVIFILEINFO_HASINDEX 0x00000010 +#define AVIFILEINFO_MUSTUSEINDEX 0x00000020 +#define AVIFILEINFO_ISINTERLEAVED 0x00000100 +#define AVIFILEINFO_TRUSTCKTYPE 0x00000800 +#define AVIFILEINFO_WASCAPTUREFILE 0x00010000 +#define AVIFILEINFO_COPYRIGHTED 0x00020000 + +/* AVIFILEINFO.dwCaps */ +#define AVIFILECAPS_CANREAD 0x00000001 +#define AVIFILECAPS_CANWRITE 0x00000002 +#define AVIFILECAPS_ALLKEYFRAMES 0x00000010 +#define AVIFILECAPS_NOCOMPRESSION 0x00000020 + +typedef struct _AVIFILEINFOW { + DWORD dwMaxBytesPerSec; + DWORD dwFlags; + DWORD dwCaps; + DWORD dwStreams; + DWORD dwSuggestedBufferSize; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwScale; + DWORD dwRate; + DWORD dwLength; + DWORD dwEditCount; + WCHAR szFileType[64]; +} AVIFILEINFOW, * LPAVIFILEINFOW, *PAVIFILEINFOW; +typedef struct _AVIFILEINFOA { + DWORD dwMaxBytesPerSec; + DWORD dwFlags; + DWORD dwCaps; + DWORD dwStreams; + DWORD dwSuggestedBufferSize; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwScale; + DWORD dwRate; + DWORD dwLength; + DWORD dwEditCount; + CHAR szFileType[64]; +} AVIFILEINFOA, * LPAVIFILEINFOA, *PAVIFILEINFOA; +DECL_WINELIB_TYPE_AW(AVIFILEINFO) +DECL_WINELIB_TYPE_AW(PAVIFILEINFO) +DECL_WINELIB_TYPE_AW(LPAVIFILEINFO) + +/* AVICOMPRESSOPTIONS.dwFlags. determines presence of fields in below struct */ +#define AVICOMPRESSF_INTERLEAVE 0x00000001 +#define AVICOMPRESSF_DATARATE 0x00000002 +#define AVICOMPRESSF_KEYFRAMES 0x00000004 +#define AVICOMPRESSF_VALID 0x00000008 + +typedef struct { + DWORD fccType; /* stream type, for consistency */ + DWORD fccHandler; /* compressor */ + DWORD dwKeyFrameEvery; /* keyframe rate */ + DWORD dwQuality; /* compress quality 0-10,000 */ + DWORD dwBytesPerSecond; /* bytes per second */ + DWORD dwFlags; /* flags... see below */ + LPVOID lpFormat; /* save format */ + DWORD cbFormat; + LPVOID lpParms; /* compressor options */ + DWORD cbParms; + DWORD dwInterleaveEvery; /* for non-video streams only */ +} AVICOMPRESSOPTIONS, *LPAVICOMPRESSOPTIONS,*PAVICOMPRESSOPTIONS; + +#define FIND_DIR __MSABI_LONG(0x0000000F) /* direction mask */ +#define FIND_NEXT __MSABI_LONG(0x00000001) /* search forward */ +#define FIND_PREV __MSABI_LONG(0x00000004) /* search backward */ +#define FIND_FROM_START __MSABI_LONG(0x00000008) /* start at the logical beginning */ + +#define FIND_TYPE __MSABI_LONG(0x000000F0) /* type mask */ +#define FIND_KEY __MSABI_LONG(0x00000010) /* find a key frame */ +#define FIND_ANY __MSABI_LONG(0x00000020) /* find any (non-empty) sample */ +#define FIND_FORMAT __MSABI_LONG(0x00000040) /* find a formatchange */ + +#define FIND_RET __MSABI_LONG(0x0000F000) /* return mask */ +#define FIND_POS __MSABI_LONG(0x00000000) /* return logical position */ +#define FIND_LENGTH __MSABI_LONG(0x00001000) /* return logical size */ +#define FIND_OFFSET __MSABI_LONG(0x00002000) /* return physical position */ +#define FIND_SIZE __MSABI_LONG(0x00003000) /* return physical size */ +#define FIND_INDEX __MSABI_LONG(0x00004000) /* return physical index position */ + +#include + +#define DEFINE_AVIGUID(name, l, w1, w2) \ + DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46) + +DEFINE_AVIGUID(IID_IAVIFile, 0x00020020, 0, 0); +DEFINE_AVIGUID(IID_IAVIStream, 0x00020021, 0, 0); +DEFINE_AVIGUID(IID_IAVIStreaming, 0x00020022, 0, 0); +DEFINE_AVIGUID(IID_IGetFrame, 0x00020023, 0, 0); +DEFINE_AVIGUID(IID_IAVIEditStream, 0x00020024, 0, 0); + +DEFINE_AVIGUID(CLSID_AVISimpleUnMarshal,0x00020009, 0, 0); +DEFINE_AVIGUID(CLSID_AVIFile, 0x00020000, 0, 0); + +/***************************************************************************** + * IAVIStream interface + */ +#define INTERFACE IAVIStream +DECLARE_INTERFACE_(IAVIStream,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IAVIStream methods ***/ + STDMETHOD(Create)(THIS_ LPARAM lParam1, LPARAM lParam2) PURE; + STDMETHOD(Info)(THIS_ AVISTREAMINFOW *psi, LONG lSize) PURE; + STDMETHOD_(LONG,FindSample)(THIS_ LONG lPos, LONG lFlags) PURE; + STDMETHOD(ReadFormat)(THIS_ LONG lPos, LPVOID lpFormat, LONG *lpcbFormat) PURE; + STDMETHOD(SetFormat)(THIS_ LONG lPos, LPVOID lpFormat, LONG cbFormat) PURE; + STDMETHOD(Read)(THIS_ LONG lStart, LONG lSamples, LPVOID lpBuffer, LONG cbBuffer, LONG *plBytes, LONG *plSamples) PURE; + STDMETHOD(Write)(THIS_ LONG lStart, LONG lSamples, LPVOID lpBuffer, LONG cbBuffer, DWORD dwFlags, LONG *plSampWritten, LONG *plBytesWritten) PURE; + STDMETHOD(Delete)(THIS_ LONG lStart, LONG lSamples) PURE; + STDMETHOD(ReadData)(THIS_ DWORD fcc, LPVOID lpBuffer, LONG *lpcbBuffer) PURE; + STDMETHOD(WriteData)(THIS_ DWORD fcc, LPVOID lpBuffer, LONG cbBuffer) PURE; + STDMETHOD(SetInfo)(THIS_ AVISTREAMINFOW *plInfo, LONG cbInfo) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IAVIStream_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IAVIStream_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IAVIStream_Release(p) (p)->lpVtbl->Release(p) +/*** IAVIStream methods ***/ +#define IAVIStream_Create(p,a,b) (p)->lpVtbl->Create(p,a,b) +#define IAVIStream_Info(p,a,b) (p)->lpVtbl->Info(p,a,b) +#define IAVIStream_FindSample(p,a,b) (p)->lpVtbl->FindSample(p,a,b) +#define IAVIStream_ReadFormat(p,a,b,c) (p)->lpVtbl->ReadFormat(p,a,b,c) +#define IAVIStream_SetFormat(p,a,b,c) (p)->lpVtbl->SetFormat(p,a,b,c) +#define IAVIStream_Read(p,a,b,c,d,e,f) (p)->lpVtbl->Read(p,a,b,c,d,e,f) +#define IAVIStream_Write(p,a,b,c,d,e,f,g) (p)->lpVtbl->Write(p,a,b,c,d,e,f,g) +#define IAVIStream_Delete(p,a,b) (p)->lpVtbl->Delete(p,a,b) +#define IAVIStream_ReadData(p,a,b,c) (p)->lpVtbl->ReadData(p,a,b,c) +#define IAVIStream_WriteData(p,a,b,c) (p)->lpVtbl->WriteData(p,a,b,c) +#define IAVIStream_SetInfo(p,a,b) (p)->lpVtbl->SetInfo(p,a,b) +#endif + +#define AVISTREAMREAD_CONVENIENT (__MSABI_LONG(-1)) + +ULONG WINAPI AVIStreamAddRef(PAVISTREAM iface); +ULONG WINAPI AVIStreamRelease(PAVISTREAM iface); +HRESULT WINAPI AVIStreamCreate(PAVISTREAM*,LONG,LONG,CLSID*); +HRESULT WINAPI AVIStreamInfoA(PAVISTREAM iface,AVISTREAMINFOA *asi,LONG size); +HRESULT WINAPI AVIStreamInfoW(PAVISTREAM iface,AVISTREAMINFOW *asi,LONG size); +#define AVIStreamInfo WINELIB_NAME_AW(AVIStreamInfo) +LONG WINAPI AVIStreamFindSample(PAVISTREAM pstream, LONG pos, LONG flags); +HRESULT WINAPI AVIStreamReadFormat(PAVISTREAM iface,LONG pos,LPVOID format,LONG *formatsize); +HRESULT WINAPI AVIStreamSetFormat(PAVISTREAM iface,LONG pos,LPVOID format,LONG formatsize); +HRESULT WINAPI AVIStreamRead(PAVISTREAM iface,LONG start,LONG samples,LPVOID buffer,LONG buffersize,LONG *bytesread,LONG *samplesread); +HRESULT WINAPI AVIStreamWrite(PAVISTREAM iface,LONG start,LONG samples,LPVOID buffer,LONG buffersize,DWORD flags,LONG *sampwritten,LONG *byteswritten); +HRESULT WINAPI AVIStreamReadData(PAVISTREAM iface,DWORD fcc,LPVOID lp,LONG *lpread); +HRESULT WINAPI AVIStreamWriteData(PAVISTREAM iface,DWORD fcc,LPVOID lp,LONG size); + +PGETFRAME WINAPI AVIStreamGetFrameOpen(PAVISTREAM pavi,LPBITMAPINFOHEADER lpbiWanted); +LPVOID WINAPI AVIStreamGetFrame(PGETFRAME pg,LONG pos); +HRESULT WINAPI AVIStreamGetFrameClose(PGETFRAME pg); + +HRESULT WINAPI AVIMakeCompressedStream(PAVISTREAM*ppsCompressed,PAVISTREAM ppsSource,AVICOMPRESSOPTIONS *lpOptions,CLSID*pclsidHandler); +HRESULT WINAPI AVIMakeFileFromStreams(PAVIFILE *ppfile, int nStreams, PAVISTREAM *ppStreams); +HRESULT WINAPI AVIMakeStreamFromClipboard(UINT cfFormat, HANDLE hGlobal, PAVISTREAM * ppstream); + +HRESULT WINAPI AVIStreamOpenFromFileA(PAVISTREAM *ppavi, LPCSTR szFile, + DWORD fccType, LONG lParam, + UINT mode, CLSID *pclsidHandler); +HRESULT WINAPI AVIStreamOpenFromFileW(PAVISTREAM *ppavi, LPCWSTR szFile, + DWORD fccType, LONG lParam, + UINT mode, CLSID *pclsidHandler); +#define AVIStreamOpenFromFile WINELIB_NAME_AW(AVIStreamOpenFromFile) + +LONG WINAPI AVIStreamBeginStreaming(PAVISTREAM pavi, LONG lStart, LONG lEnd, LONG lRate); +LONG WINAPI AVIStreamEndStreaming(PAVISTREAM pavi); + +HRESULT WINAPI AVIBuildFilterA(LPSTR szFilter, LONG cbFilter, BOOL fSaving); +HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving); +#define AVIBuildFilter WINELIB_NAME_AW(AVIBuildFilter) + +BOOL WINAPI AVISaveOptions(HWND hWnd,UINT uFlags,INT nStream, + PAVISTREAM *ppavi,LPAVICOMPRESSOPTIONS *ppOptions); +HRESULT WINAPI AVISaveOptionsFree(INT nStreams,LPAVICOMPRESSOPTIONS*ppOptions); + +HRESULT CDECL AVISaveA(LPCSTR szFile, CLSID *pclsidHandler, + AVISAVECALLBACK lpfnCallback, int nStreams, + PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...); +HRESULT CDECL AVISaveW(LPCWSTR szFile, CLSID *pclsidHandler, + AVISAVECALLBACK lpfnCallback, int nStreams, + PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...); +#define AVISave WINELIB_NAME_AW(AVISave) + +HRESULT WINAPI AVISaveVA(LPCSTR szFile, CLSID *pclsidHandler, + AVISAVECALLBACK lpfnCallback, int nStream, + PAVISTREAM *ppavi, LPAVICOMPRESSOPTIONS *plpOptions); +HRESULT WINAPI AVISaveVW(LPCWSTR szFile, CLSID *pclsidHandler, + AVISAVECALLBACK lpfnCallback, int nStream, + PAVISTREAM *ppavi, LPAVICOMPRESSOPTIONS *plpOptions); +#define AVISaveV WINELIB_NAME_AW(AVISaveV) + +LONG WINAPI AVIStreamStart(PAVISTREAM iface); +LONG WINAPI AVIStreamLength(PAVISTREAM iface); +LONG WINAPI AVIStreamSampleToTime(PAVISTREAM pstream, LONG lSample); +LONG WINAPI AVIStreamTimeToSample(PAVISTREAM pstream, LONG lTime); + +#define AVIFileClose(pavi) \ + AVIFileRelease(pavi) +#define AVIStreamClose(pavi) \ + AVIStreamRelease(pavi); +#define AVIStreamEnd(pavi) \ + (AVIStreamStart(pavi) + AVIStreamLength(pavi)) +#define AVIStreamEndTime(pavi) \ + AVIStreamSampleToTime(pavi, AVIStreamEnd(pavi)) +#define AVIStreamFormatSize(pavi, lPos, plSize) \ + AVIStreamReadFormat(pavi, lPos, NULL, plSize) +#define AVIStreamLengthTime(pavi) \ + AVIStreamSampleToTime(pavi, AVIStreamLength(pavi)) +#define AVIStreamSampleSize(pavi,pos,psize) \ + AVIStreamRead(pavi,pos,1,NULL,0,psize,NULL) +#define AVIStreamSampleToSample(pavi1, pavi2, samp2) \ + AVIStreamTimeToSample(pavi1, AVIStreamSampleToTime(pavi2, samp2)) +#define AVIStreamStartTime(pavi) \ + AVIStreamSampleToTime(pavi, AVIStreamStart(pavi)) + +#define AVIStreamNextSample(pavi, pos) \ + AVIStreamFindSample(pavi, pos + 1, FIND_NEXT | FIND_ANY) +#define AVIStreamPrevSample(pavi, pos) \ + AVIStreamFindSample(pavi, pos - 1, FIND_PREV | FIND_ANY) +#define AVIStreamNearestSample(pavi, pos) \ + AVIStreamFindSample(pavi, pos, FIND_PREV | FIND_ANY) +#define AVStreamNextKeyFrame(pavi,pos) \ + AVIStreamFindSample(pavi, pos + 1, FIND_NEXT | FIND_KEY) +#define AVStreamPrevKeyFrame(pavi,pos) \ + AVIStreamFindSample(pavi, pos - 1, FIND_NEXT | FIND_KEY) +#define AVIStreamNearestKeyFrame(pavi,pos) \ + AVIStreamFindSample(pavi, pos, FIND_PREV | FIND_KEY) +#define AVIStreamIsKeyFrame(pavi, pos) \ + (AVIStreamNearestKeyFrame(pavi, pos) == pos) + +/***************************************************************************** + * IAVIStreaming interface + */ +#define INTERFACE IAVIStreaming +DECLARE_INTERFACE_(IAVIStreaming,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IAVIStreaming methods ***/ + STDMETHOD(Begin)(THIS_ LONG lStart,LONG lEnd,LONG lRate) PURE; + STDMETHOD(End)(THIS) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IAVIStreaming_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IAVIStreaming_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IAVIStreaming_Release(p) (p)->lpVtbl->Release(p) +/*** IAVIStreaming methods ***/ +#define IAVIStreaming_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c) +#define IAVIStreaming_End(p) (p)->lpVtbl->End(p) +#endif + +/***************************************************************************** + * IAVIEditStream interface + */ +#define INTERFACE IAVIEditStream +DECLARE_INTERFACE_(IAVIEditStream,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IAVIEditStream methods ***/ + STDMETHOD(Cut)(THIS_ LONG *plStart,LONG *plLength,PAVISTREAM *ppResult) PURE; + STDMETHOD(Copy)(THIS_ LONG *plStart,LONG *plLength,PAVISTREAM *ppResult) PURE; + STDMETHOD(Paste)(THIS_ LONG *plStart,LONG *plLength,PAVISTREAM pSource,LONG lStart,LONG lEnd) PURE; + STDMETHOD(Clone)(THIS_ PAVISTREAM *ppResult) PURE; + STDMETHOD(SetInfo)(THIS_ LPAVISTREAMINFOW asi, LONG size) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IAVIEditStream_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IAVIEditStream_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IAVIEditStream_Release(p) (p)->lpVtbl->Release(p) +/*** IAVIEditStream methods ***/ +#define IAVIEditStream_Cut(p,a,b,c) (p)->lpVtbl->Cut(p,a,b,c) +#define IAVIEditStream_Copy(p,a,b,c) (p)->lpVtbl->Copy(p,a,b,c) +#define IAVIEditStream_Paste(p,a,b,c,d,e) (p)->lpVtbl->Paste(p,a,b,c,d,e) +#define IAVIEditStream_Clone(p,a) (p)->lpVtbl->Clone(p,a) +#define IAVIEditStream_SetInfo(p,a,b) (p)->lpVtbl->SetInfo(p,a,b) +#endif + +HRESULT WINAPI CreateEditableStream(PAVISTREAM *ppEditable,PAVISTREAM pSource); +HRESULT WINAPI EditStreamClone(PAVISTREAM pStream, PAVISTREAM *ppResult); +HRESULT WINAPI EditStreamCopy(PAVISTREAM pStream, LONG *plStart, + LONG *plLength, PAVISTREAM *ppResult); +HRESULT WINAPI EditStreamCut(PAVISTREAM pStream, LONG *plStart, + LONG *plLength, PAVISTREAM *ppResult); +HRESULT WINAPI EditStreamPaste(PAVISTREAM pDest, LONG *plStart, LONG *plLength, + PAVISTREAM pSource, LONG lStart, LONG lEnd); + +HRESULT WINAPI EditStreamSetInfoA(PAVISTREAM pstream, LPAVISTREAMINFOA asi, + LONG size); +HRESULT WINAPI EditStreamSetInfoW(PAVISTREAM pstream, LPAVISTREAMINFOW asi, + LONG size); +#define EditStreamSetInfo WINELIB_NAME_AW(EditStreamSetInfo) + +HRESULT WINAPI EditStreamSetNameA(PAVISTREAM pstream, LPCSTR szName); +HRESULT WINAPI EditStreamSetNameW(PAVISTREAM pstream, LPCWSTR szName); +#define EditStreamSetName WINELIB_NAME_AW(EditStreamSetName) + +/***************************************************************************** + * IAVIFile interface + */ +/* In Win32 this interface uses UNICODE only */ +#define INTERFACE IAVIFile +DECLARE_INTERFACE_(IAVIFile,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IAVIFile methods ***/ + STDMETHOD(Info)(THIS_ AVIFILEINFOW *pfi, LONG lSize) PURE; + STDMETHOD(GetStream)(THIS_ PAVISTREAM *ppStream, DWORD fccType, LONG lParam) PURE; + STDMETHOD(CreateStream)(THIS_ PAVISTREAM *ppStream, AVISTREAMINFOW *psi) PURE; + STDMETHOD(WriteData)(THIS_ DWORD fcc, LPVOID lpBuffer, LONG cbBuffer) PURE; + STDMETHOD(ReadData)(THIS_ DWORD fcc, LPVOID lpBuffer, LONG *lpcbBuffer) PURE; + STDMETHOD(EndRecord)(THIS) PURE; + STDMETHOD(DeleteStream)(THIS_ DWORD fccType, LONG lParam) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IAVIFile_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IAVIFile_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IAVIFile_Release(p) (p)->lpVtbl->Release(p) +/*** IAVIFile methods ***/ +#define IAVIFile_Info(p,a,b) (p)->lpVtbl->Info(p,a,b) +#define IAVIFile_GetStream(p,a,b,c) (p)->lpVtbl->GetStream(p,a,b,c) +#define IAVIFile_CreateStream(p,a,b) (p)->lpVtbl->CreateStream(p,a,b) +#define IAVIFile_WriteData(p,a,b,c) (p)->lpVtbl->WriteData(p,a,b,c) +#define IAVIFile_ReadData(p,a,b,c) (p)->lpVtbl->ReadData(p,a,b,c) +#define IAVIFile_EndRecord(p) (p)->lpVtbl->EndRecord(p) +#define IAVIFile_DeleteStream(p,a,b) (p)->lpVtbl->DeleteStream(p,a,b) +#endif + +void WINAPI AVIFileInit(void); +void WINAPI AVIFileExit(void); + +HRESULT WINAPI AVIFileOpenA(PAVIFILE* ppfile,LPCSTR szFile,UINT uMode,LPCLSID lpHandler); +HRESULT WINAPI AVIFileOpenW(PAVIFILE* ppfile,LPCWSTR szFile,UINT uMode,LPCLSID lpHandler); +#define AVIFileOpen WINELIB_NAME_AW(AVIFileOpen) + +ULONG WINAPI AVIFileAddRef(PAVIFILE pfile); +ULONG WINAPI AVIFileRelease(PAVIFILE pfile); +HRESULT WINAPI AVIFileInfoA(PAVIFILE pfile,PAVIFILEINFOA pfi,LONG lSize); +HRESULT WINAPI AVIFileInfoW(PAVIFILE pfile,PAVIFILEINFOW pfi,LONG lSize); +#define AVIFileInfo WINELIB_NAME_AW(AVIFileInfo) +HRESULT WINAPI AVIFileGetStream(PAVIFILE pfile,PAVISTREAM* avis,DWORD fccType,LONG lParam); +HRESULT WINAPI AVIFileCreateStreamA(PAVIFILE pfile,PAVISTREAM* ppavi,AVISTREAMINFOA* psi); +HRESULT WINAPI AVIFileCreateStreamW(PAVIFILE pfile,PAVISTREAM* ppavi,AVISTREAMINFOW* psi); +#define AVIFileCreateStream WINELIB_NAME_AW(AVIFileCreateStream) +HRESULT WINAPI AVIFileWriteData(PAVIFILE pfile,DWORD fcc,LPVOID lp,LONG size); +HRESULT WINAPI AVIFileReadData(PAVIFILE pfile,DWORD fcc,LPVOID lp,LPLONG size); +HRESULT WINAPI AVIFileEndRecord(PAVIFILE pfile); + +/***************************************************************************** + * IGetFrame interface + */ +#define INTERFACE IGetFrame +DECLARE_INTERFACE_(IGetFrame,IUnknown) +{ + /*** IUnknown methods ***/ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + /*** IGetFrame methods ***/ + STDMETHOD_(LPVOID,GetFrame)(THIS_ LONG lPos) PURE; + STDMETHOD(Begin)(THIS_ LONG lStart, LONG lEnd, LONG lRate) PURE; + STDMETHOD(End)(THIS) PURE; + STDMETHOD(SetFormat)(THIS_ LPBITMAPINFOHEADER lpbi, LPVOID lpBits, INT x, INT y, INT dx, INT dy) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define IGetFrame_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define IGetFrame_AddRef(p) (p)->lpVtbl->AddRef(p) +#define IGetFrame_Release(p) (p)->lpVtbl->Release(p) +/*** IGetFrame methods ***/ +#define IGetFrame_GetFrame(p,a) (p)->lpVtbl->GetFrame(p,a) +#define IGetFrame_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c) +#define IGetFrame_End(p) (p)->lpVtbl->End(p) +#define IGetFrame_SetFormat(p,a,b,c,d,e,f) (p)->lpVtbl->SetFormat(p,a,b,c,d,e,f) +#endif + +HRESULT WINAPI AVIClearClipboard(void); +HRESULT WINAPI AVIGetFromClipboard(PAVIFILE *ppfile); +HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile); + +#ifdef OFN_READONLY +BOOL WINAPI GetOpenFileNamePreviewA(LPOPENFILENAMEA lpofn); +BOOL WINAPI GetOpenFileNamePreviewW(LPOPENFILENAMEW lpofn); +#define GetOpenFileNamePreview WINELIB_NAME_AW(GetOpenFileNamePreview) +BOOL WINAPI GetSaveFileNamePreviewA(LPOPENFILENAMEA lpofn); +BOOL WINAPI GetSaveFileNamePreviewW(LPOPENFILENAMEW lpofn); +#define GetSaveFileNamePreview WINELIB_NAME_AW(GetSaveFileNamePreview) +#endif + +#define AVIERR_OK 0 +#define MAKE_AVIERR(error) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x4000+error) + +#define AVIERR_UNSUPPORTED MAKE_AVIERR(101) +#define AVIERR_BADFORMAT MAKE_AVIERR(102) +#define AVIERR_MEMORY MAKE_AVIERR(103) +#define AVIERR_INTERNAL MAKE_AVIERR(104) +#define AVIERR_BADFLAGS MAKE_AVIERR(105) +#define AVIERR_BADPARAM MAKE_AVIERR(106) +#define AVIERR_BADSIZE MAKE_AVIERR(107) +#define AVIERR_BADHANDLE MAKE_AVIERR(108) +#define AVIERR_FILEREAD MAKE_AVIERR(109) +#define AVIERR_FILEWRITE MAKE_AVIERR(110) +#define AVIERR_FILEOPEN MAKE_AVIERR(111) +#define AVIERR_COMPRESSOR MAKE_AVIERR(112) +#define AVIERR_NOCOMPRESSOR MAKE_AVIERR(113) +#define AVIERR_READONLY MAKE_AVIERR(114) +#define AVIERR_NODATA MAKE_AVIERR(115) +#define AVIERR_BUFFERTOOSMALL MAKE_AVIERR(116) +#define AVIERR_CANTCOMPRESS MAKE_AVIERR(117) +#define AVIERR_USERABORT MAKE_AVIERR(198) +#define AVIERR_ERROR MAKE_AVIERR(199) + +BOOL VFWAPIV MCIWndRegisterClass(void); + +HWND VFWAPIV MCIWndCreateA(HWND, HINSTANCE, DWORD, LPCSTR); +HWND VFWAPIV MCIWndCreateW(HWND, HINSTANCE, DWORD, LPCWSTR); +#define MCIWndCreate WINELIB_NAME_AW(MCIWndCreate) + +#define MCIWNDOPENF_NEW 0x0001 + +#define MCIWNDF_NOAUTOSIZEWINDOW 0x0001 +#define MCIWNDF_NOPLAYBAR 0x0002 +#define MCIWNDF_NOAUTOSIZEMOVIE 0x0004 +#define MCIWNDF_NOMENU 0x0008 +#define MCIWNDF_SHOWNAME 0x0010 +#define MCIWNDF_SHOWPOS 0x0020 +#define MCIWNDF_SHOWMODE 0x0040 +#define MCIWNDF_SHOWALL 0x0070 + +#define MCIWNDF_NOTIFYMODE 0x0100 +#define MCIWNDF_NOTIFYPOS 0x0200 +#define MCIWNDF_NOTIFYSIZE 0x0400 +#define MCIWNDF_NOTIFYERROR 0x1000 +#define MCIWNDF_NOTIFYALL 0x1F00 + +#define MCIWNDF_NOTIFYANSI 0x0080 + +#define MCIWNDF_NOTIFYMEDIAA 0x0880 +#define MCIWNDF_NOTIFYMEDIAW 0x0800 +#define MCIWNDF_NOTIFYMEDIA WINELIB_NAME_AW(MCIWNDF_NOTIFYMEDIA) + +#define MCIWNDF_RECORD 0x2000 +#define MCIWNDF_NOERRORDLG 0x4000 +#define MCIWNDF_NOOPEN 0x8000 + +#ifdef __cplusplus +#define MCIWndSM ::SendMessage +#else +#define MCIWndSM SendMessage +#endif + +#define MCIWndCanPlay(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_CAN_PLAY,0,0) +#define MCIWndCanRecord(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_CAN_RECORD,0,0) +#define MCIWndCanSave(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_CAN_SAVE,0,0) +#define MCIWndCanWindow(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_CAN_WINDOW,0,0) +#define MCIWndCanEject(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_CAN_EJECT,0,0) +#define MCIWndCanConfig(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_CAN_CONFIG,0,0) +#define MCIWndPaletteKick(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_PALETTEKICK,0,0) + +#define MCIWndSave(hWnd,szFile) (LONG)MCIWndSM(hWnd,MCI_SAVE,0,(LPARAM)(LPVOID)(szFile)) +#define MCIWndSaveDialog(hWnd) MCIWndSave(hWnd,-1) + +#define MCIWndNew(hWnd,lp) (LONG)MCIWndSM(hWnd,MCIWNDM_NEW,0,(LPARAM)(LPVOID)(lp)) + +#define MCIWndRecord(hWnd) (LONG)MCIWndSM(hWnd,MCI_RECORD,0,0) +#define MCIWndOpen(hWnd,sz,f) (LONG)MCIWndSM(hWnd,MCIWNDM_OPEN,(WPARAM)(UINT)(f),(LPARAM)(LPVOID)(sz)) +#define MCIWndOpenDialog(hWnd) MCIWndOpen(hWnd,-1,0) +#define MCIWndClose(hWnd) (LONG)MCIWndSM(hWnd,MCI_CLOSE,0,0) +#define MCIWndPlay(hWnd) (LONG)MCIWndSM(hWnd,MCI_PLAY,0,0) +#define MCIWndStop(hWnd) (LONG)MCIWndSM(hWnd,MCI_STOP,0,0) +#define MCIWndPause(hWnd) (LONG)MCIWndSM(hWnd,MCI_PAUSE,0,0) +#define MCIWndResume(hWnd) (LONG)MCIWndSM(hWnd,MCI_RESUME,0,0) +#define MCIWndSeek(hWnd,lPos) (LONG)MCIWndSM(hWnd,MCI_SEEK,0,(LPARAM)(LONG)(lPos)) +#define MCIWndEject(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_EJECT,0,0) + +#define MCIWndHome(hWnd) MCIWndSeek(hWnd,MCIWND_START) +#define MCIWndEnd(hWnd) MCIWndSeek(hWnd,MCIWND_END) + +#define MCIWndGetSource(hWnd,prc) (LONG)MCIWndSM(hWnd,MCIWNDM_GET_SOURCE,0,(LPARAM)(LPRECT)(prc)) +#define MCIWndPutSource(hWnd,prc) (LONG)MCIWndSM(hWnd,MCIWNDM_PUT_SOURCE,0,(LPARAM)(LPRECT)(prc)) + +#define MCIWndGetDest(hWnd,prc) (LONG)MCIWndSM(hWnd,MCIWNDM_GET_DEST,0,(LPARAM)(LPRECT)(prc)) +#define MCIWndPutDest(hWnd,prc) (LONG)MCIWndSM(hWnd,MCIWNDM_PUT_DEST,0,(LPARAM)(LPRECT)(prc)) + +#define MCIWndPlayReverse(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_PLAYREVERSE,0,0) +#define MCIWndPlayFrom(hWnd,lPos) (LONG)MCIWndSM(hWnd,MCIWNDM_PLAYFROM,0,(LPARAM)(LONG)(lPos)) +#define MCIWndPlayTo(hWnd,lPos) (LONG)MCIWndSM(hWnd,MCIWNDM_PLAYTO, 0,(LPARAM)(LONG)(lPos)) +#define MCIWndPlayFromTo(hWnd,lStart,lEnd) (MCIWndSeek(hWnd,lStart),MCIWndPlayTo(hWnd,lEnd)) + +#define MCIWndGetDeviceID(hWnd) (UINT)MCIWndSM(hWnd,MCIWNDM_GETDEVICEID,0,0) +#define MCIWndGetAlias(hWnd) (UINT)MCIWndSM(hWnd,MCIWNDM_GETALIAS,0,0) +#define MCIWndGetMode(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_GETMODE,(WPARAM)(UINT)(len),(LPARAM)(LPTSTR)(lp)) +#define MCIWndGetPosition(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_GETPOSITION,0,0) +#define MCIWndGetPositionString(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_GETPOSITION,(WPARAM)(UINT)(len),(LPARAM)(LPTSTR)(lp)) +#define MCIWndGetStart(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_GETSTART,0,0) +#define MCIWndGetLength(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_GETLENGTH,0,0) +#define MCIWndGetEnd(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_GETEND,0,0) + +#define MCIWndStep(hWnd,n) (LONG)MCIWndSM(hWnd,MCI_STEP,0,(LPARAM)(LONG)(n)) + +#define MCIWndDestroy(hWnd) (VOID)MCIWndSM(hWnd,WM_CLOSE,0,0) +#define MCIWndSetZoom(hWnd,iZoom) (VOID)MCIWndSM(hWnd,MCIWNDM_SETZOOM,0,(LPARAM)(UINT)(iZoom)) +#define MCIWndGetZoom(hWnd) (UINT)MCIWndSM(hWnd,MCIWNDM_GETZOOM,0,0) +#define MCIWndSetVolume(hWnd,iVol) (LONG)MCIWndSM(hWnd,MCIWNDM_SETVOLUME,0,(LPARAM)(UINT)(iVol)) +#define MCIWndGetVolume(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_GETVOLUME,0,0) +#define MCIWndSetSpeed(hWnd,iSpeed) (LONG)MCIWndSM(hWnd,MCIWNDM_SETSPEED,0,(LPARAM)(UINT)(iSpeed)) +#define MCIWndGetSpeed(hWnd) (LONG)MCIWndSM(hWnd,MCIWNDM_GETSPEED,0,0) +#define MCIWndSetTimeFormat(hWnd,lp) (LONG)MCIWndSM(hWnd,MCIWNDM_SETTIMEFORMAT,0,(LPARAM)(LPTSTR)(lp)) +#define MCIWndGetTimeFormat(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_GETTIMEFORMAT,(WPARAM)(UINT)(len),(LPARAM)(LPTSTR)(lp)) +#define MCIWndValidateMedia(hWnd) (VOID)MCIWndSM(hWnd,MCIWNDM_VALIDATEMEDIA,0,0) + +#define MCIWndSetRepeat(hWnd,f) (void)MCIWndSM(hWnd,MCIWNDM_SETREPEAT,0,(LPARAM)(BOOL)(f)) +#define MCIWndGetRepeat(hWnd) (BOOL)MCIWndSM(hWnd,MCIWNDM_GETREPEAT,0,0) + +#define MCIWndUseFrames(hWnd) MCIWndSetTimeFormat(hWnd,TEXT("frames")) +#define MCIWndUseTime(hWnd) MCIWndSetTimeFormat(hWnd,TEXT("ms")) + +#define MCIWndSetActiveTimer(hWnd,active) \ + (VOID)MCIWndSM(hWnd,MCIWNDM_SETACTIVETIMER, \ + (WPARAM)(UINT)(active),0) +#define MCIWndSetInactiveTimer(hWnd,inactive) \ + (VOID)MCIWndSM(hWnd,MCIWNDM_SETINACTIVETIMER, \ + (WPARAM)(UINT)(inactive),0) +#define MCIWndSetTimers(hWnd,active,inactive) \ + (VOID)MCIWndSM(hWnd,MCIWNDM_SETTIMERS,(WPARAM)(UINT)(active),\ + (LPARAM)(UINT)(inactive)) +#define MCIWndGetActiveTimer(hWnd) \ + (UINT)MCIWndSM(hWnd,MCIWNDM_GETACTIVETIMER,0,0); +#define MCIWndGetInactiveTimer(hWnd) \ + (UINT)MCIWndSM(hWnd,MCIWNDM_GETINACTIVETIMER,0,0); + +#define MCIWndRealize(hWnd,fBkgnd) (LONG)MCIWndSM(hWnd,MCIWNDM_REALIZE,(WPARAM)(BOOL)(fBkgnd),0) + +#define MCIWndSendString(hWnd,sz) (LONG)MCIWndSM(hWnd,MCIWNDM_SENDSTRING,0,(LPARAM)(LPTSTR)(sz)) +#define MCIWndReturnString(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_RETURNSTRING,(WPARAM)(UINT)(len),(LPARAM)(LPVOID)(lp)) +#define MCIWndGetError(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_GETERROR,(WPARAM)(UINT)(len),(LPARAM)(LPVOID)(lp)) + +#define MCIWndGetPalette(hWnd) (HPALETTE)MCIWndSM(hWnd,MCIWNDM_GETPALETTE,0,0) +#define MCIWndSetPalette(hWnd,hpal) (LONG)MCIWndSM(hWnd,MCIWNDM_SETPALETTE,(WPARAM)(HPALETTE)(hpal),0) + +#define MCIWndGetFileName(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_GETFILENAME,(WPARAM)(UINT)(len),(LPARAM)(LPVOID)(lp)) +#define MCIWndGetDevice(hWnd,lp,len) (LONG)MCIWndSM(hWnd,MCIWNDM_GETDEVICE,(WPARAM)(UINT)(len),(LPARAM)(LPVOID)(lp)) + +#define MCIWndGetStyles(hWnd) (UINT)MCIWndSM(hWnd,MCIWNDM_GETSTYLES,0,0) +#define MCIWndChangeStyles(hWnd,mask,value) (LONG)MCIWndSM(hWnd,MCIWNDM_CHANGESTYLES,(WPARAM)(UINT)(mask),(LPARAM)(LONG)(value)) + +#define MCIWndOpenInterface(hWnd,pUnk) (LONG)MCIWndSM(hWnd,MCIWNDM_OPENINTERFACE,0,(LPARAM)(LPUNKNOWN)(pUnk)) + +#define MCIWndSetOwner(hWnd,hWndP) (LONG)MCIWndSM(hWnd,MCIWNDM_SETOWNER,(WPARAM)(hWndP),0) + +#define MCIWNDM_GETDEVICEID (WM_USER + 100) +#define MCIWNDM_GETSTART (WM_USER + 103) +#define MCIWNDM_GETLENGTH (WM_USER + 104) +#define MCIWNDM_GETEND (WM_USER + 105) +#define MCIWNDM_EJECT (WM_USER + 107) +#define MCIWNDM_SETZOOM (WM_USER + 108) +#define MCIWNDM_GETZOOM (WM_USER + 109) +#define MCIWNDM_SETVOLUME (WM_USER + 110) +#define MCIWNDM_GETVOLUME (WM_USER + 111) +#define MCIWNDM_SETSPEED (WM_USER + 112) +#define MCIWNDM_GETSPEED (WM_USER + 113) +#define MCIWNDM_SETREPEAT (WM_USER + 114) +#define MCIWNDM_GETREPEAT (WM_USER + 115) +#define MCIWNDM_REALIZE (WM_USER + 118) +#define MCIWNDM_VALIDATEMEDIA (WM_USER + 121) +#define MCIWNDM_PLAYFROM (WM_USER + 122) +#define MCIWNDM_PLAYTO (WM_USER + 123) +#define MCIWNDM_GETPALETTE (WM_USER + 126) +#define MCIWNDM_SETPALETTE (WM_USER + 127) +#define MCIWNDM_SETTIMERS (WM_USER + 129) +#define MCIWNDM_SETACTIVETIMER (WM_USER + 130) +#define MCIWNDM_SETINACTIVETIMER (WM_USER + 131) +#define MCIWNDM_GETACTIVETIMER (WM_USER + 132) +#define MCIWNDM_GETINACTIVETIMER (WM_USER + 133) +#define MCIWNDM_CHANGESTYLES (WM_USER + 135) +#define MCIWNDM_GETSTYLES (WM_USER + 136) +#define MCIWNDM_GETALIAS (WM_USER + 137) +#define MCIWNDM_PLAYREVERSE (WM_USER + 139) +#define MCIWNDM_GET_SOURCE (WM_USER + 140) +#define MCIWNDM_PUT_SOURCE (WM_USER + 141) +#define MCIWNDM_GET_DEST (WM_USER + 142) +#define MCIWNDM_PUT_DEST (WM_USER + 143) +#define MCIWNDM_CAN_PLAY (WM_USER + 144) +#define MCIWNDM_CAN_WINDOW (WM_USER + 145) +#define MCIWNDM_CAN_RECORD (WM_USER + 146) +#define MCIWNDM_CAN_SAVE (WM_USER + 147) +#define MCIWNDM_CAN_EJECT (WM_USER + 148) +#define MCIWNDM_CAN_CONFIG (WM_USER + 149) +#define MCIWNDM_PALETTEKICK (WM_USER + 150) +#define MCIWNDM_OPENINTERFACE (WM_USER + 151) +#define MCIWNDM_SETOWNER (WM_USER + 152) + +#define MCIWNDM_SENDSTRINGA (WM_USER + 101) +#define MCIWNDM_GETPOSITIONA (WM_USER + 102) +#define MCIWNDM_GETMODEA (WM_USER + 106) +#define MCIWNDM_SETTIMEFORMATA (WM_USER + 119) +#define MCIWNDM_GETTIMEFORMATA (WM_USER + 120) +#define MCIWNDM_GETFILENAMEA (WM_USER + 124) +#define MCIWNDM_GETDEVICEA (WM_USER + 125) +#define MCIWNDM_GETERRORA (WM_USER + 128) +#define MCIWNDM_NEWA (WM_USER + 134) +#define MCIWNDM_RETURNSTRINGA (WM_USER + 138) +#define MCIWNDM_OPENA (WM_USER + 153) + +#define MCIWNDM_SENDSTRINGW (WM_USER + 201) +#define MCIWNDM_GETPOSITIONW (WM_USER + 202) +#define MCIWNDM_GETMODEW (WM_USER + 206) +#define MCIWNDM_SETTIMEFORMATW (WM_USER + 219) +#define MCIWNDM_GETTIMEFORMATW (WM_USER + 220) +#define MCIWNDM_GETFILENAMEW (WM_USER + 224) +#define MCIWNDM_GETDEVICEW (WM_USER + 225) +#define MCIWNDM_GETERRORW (WM_USER + 228) +#define MCIWNDM_NEWW (WM_USER + 234) +#define MCIWNDM_RETURNSTRINGW (WM_USER + 238) +#define MCIWNDM_OPENW (WM_USER + 252) + +#define MCIWNDM_SENDSTRING WINELIB_NAME_AW(MCIWNDM_SENDSTRING) +#define MCIWNDM_GETPOSITION WINELIB_NAME_AW(MCIWNDM_GETPOSITION) +#define MCIWNDM_GETMODE WINELIB_NAME_AW(MCIWNDM_GETMODE) +#define MCIWNDM_SETTIMEFORMAT WINELIB_NAME_AW(MCIWNDM_SETTIMEFORMAT) +#define MCIWNDM_GETTIMEFORMAT WINELIB_NAME_AW(MCIWNDM_GETTIMEFORMAT) +#define MCIWNDM_GETFILENAME WINELIB_NAME_AW(MCIWNDM_GETFILENAME) +#define MCIWNDM_GETDEVICE WINELIB_NAME_AW(MCIWNDM_GETDEVICE) +#define MCIWNDM_GETERROR WINELIB_NAME_AW(MCIWNDM_GETERROR) +#define MCIWNDM_NEW WINELIB_NAME_AW(MCIWNDM_NEW) +#define MCIWNDM_RETURNSTRING WINELIB_NAME_AW(MCIWNDM_RETURNSTRING) +#define MCIWNDM_OPEN WINELIB_NAME_AW(MCIWNDM_OPEN) + +#define MCIWNDM_NOTIFYMODE (WM_USER + 200) +#define MCIWNDM_NOTIFYPOS (WM_USER + 201) +#define MCIWNDM_NOTIFYSIZE (WM_USER + 202) +#define MCIWNDM_NOTIFYMEDIA (WM_USER + 203) +#define MCIWNDM_NOTIFYERROR (WM_USER + 205) + +#define MCIWND_START -1 +#define MCIWND_END -2 + +/******************************************** + * DrawDib declarations + */ + +typedef struct +{ + LONG timeCount; + LONG timeDraw; + LONG timeDecompress; + LONG timeDither; + LONG timeStretch; + LONG timeBlt; + LONG timeSetDIBits; +} DRAWDIBTIME, *LPDRAWDIBTIME; + +HDRAWDIB VFWAPI DrawDibOpen( void ); +UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground); + +BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd, HDC hdc, INT dxDst, INT dyDst, + LPBITMAPINFOHEADER lpbi, INT dxSrc, INT dySrc, UINT wFlags); + +BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc, INT xDst, INT yDst, INT dxDst, INT dyDst, + LPBITMAPINFOHEADER lpbi, LPVOID lpBits, + INT xSrc, INT ySrc, INT dxSrc, INT dySrc, UINT wFlags); + +/* DrawDibDraw flags */ + +#define DDF_UPDATE 0x0002 +#define DDF_SAME_HDC 0x0004 +#define DDF_SAME_DRAW 0x0008 +#define DDF_DONTDRAW 0x0010 +#define DDF_ANIMATE 0x0020 +#define DDF_BUFFER 0x0040 +#define DDF_JUSTDRAWIT 0x0080 +#define DDF_FULLSCREEN 0x0100 +#define DDF_BACKGROUNDPAL 0x0200 +#define DDF_NOTKEYFRAME 0x0400 +#define DDF_HURRYUP 0x0800 +#define DDF_HALFTONE 0x1000 + +#define DDF_PREROLL DDF_DONTDRAW +#define DDF_SAME_DIB DDF_SAME_DRAW +#define DDF_SAME_SIZE DDF_SAME_DRAW + +BOOL VFWAPI DrawDibSetPalette(HDRAWDIB hdd, HPALETTE hpal); +HPALETTE VFWAPI DrawDibGetPalette(HDRAWDIB hdd); +BOOL VFWAPI DrawDibChangePalette(HDRAWDIB hdd, int iStart, int iLen, LPPALETTEENTRY lppe); +LPVOID VFWAPI DrawDibGetBuffer(HDRAWDIB hdd, LPBITMAPINFOHEADER lpbi, DWORD dwSize, DWORD dwFlags); + +BOOL VFWAPI DrawDibStart(HDRAWDIB hdd, DWORD rate); +BOOL VFWAPI DrawDibStop(HDRAWDIB hdd); +#define DrawDibUpdate(hdd, hdc, x, y) \ + DrawDibDraw(hdd, hdc, x, y, 0, 0, NULL, NULL, 0, 0, 0, 0, DDF_UPDATE) + +BOOL VFWAPI DrawDibEnd(HDRAWDIB hdd); +BOOL VFWAPI DrawDibClose(HDRAWDIB hdd); +BOOL VFWAPI DrawDibTime(HDRAWDIB hdd, LPDRAWDIBTIME lpddtime); + +/* display profiling */ +#define PD_CAN_DRAW_DIB 0x0001 +#define PD_CAN_STRETCHDIB 0x0002 +#define PD_STRETCHDIB_1_1_OK 0x0004 +#define PD_STRETCHDIB_1_2_OK 0x0008 +#define PD_STRETCHDIB_1_N_OK 0x0010 + +DWORD VFWAPI DrawDibProfileDisplay(LPBITMAPINFOHEADER lpbi); + +DECLARE_HANDLE(HVIDEO); +typedef HVIDEO *LPHVIDEO; + +DWORD VFWAPI VideoForWindowsVersion(void); + +LONG VFWAPI InitVFW(void); +LONG VFWAPI TermVFW(void); + +#define DV_ERR_OK (0) +#define DV_ERR_BASE (1) +#define DV_ERR_NONSPECIFIC (DV_ERR_BASE) +#define DV_ERR_BADFORMAT (DV_ERR_BASE + 1) +#define DV_ERR_STILLPLAYING (DV_ERR_BASE + 2) +#define DV_ERR_UNPREPARED (DV_ERR_BASE + 3) +#define DV_ERR_SYNC (DV_ERR_BASE + 4) +#define DV_ERR_TOOMANYCHANNELS (DV_ERR_BASE + 5) +#define DV_ERR_NOTDETECTED (DV_ERR_BASE + 6) +#define DV_ERR_BADINSTALL (DV_ERR_BASE + 7) +#define DV_ERR_CREATEPALETTE (DV_ERR_BASE + 8) +#define DV_ERR_SIZEFIELD (DV_ERR_BASE + 9) +#define DV_ERR_PARAM1 (DV_ERR_BASE + 10) +#define DV_ERR_PARAM2 (DV_ERR_BASE + 11) +#define DV_ERR_CONFIG1 (DV_ERR_BASE + 12) +#define DV_ERR_CONFIG2 (DV_ERR_BASE + 13) +#define DV_ERR_FLAGS (DV_ERR_BASE + 14) +#define DV_ERR_13 (DV_ERR_BASE + 15) + +#define DV_ERR_NOTSUPPORTED (DV_ERR_BASE + 16) +#define DV_ERR_NOMEM (DV_ERR_BASE + 17) +#define DV_ERR_ALLOCATED (DV_ERR_BASE + 18) +#define DV_ERR_BADDEVICEID (DV_ERR_BASE + 19) +#define DV_ERR_INVALHANDLE (DV_ERR_BASE + 20) +#define DV_ERR_BADERRNUM (DV_ERR_BASE + 21) +#define DV_ERR_NO_BUFFERS (DV_ERR_BASE + 22) + +#define DV_ERR_MEM_CONFLICT (DV_ERR_BASE + 23) +#define DV_ERR_IO_CONFLICT (DV_ERR_BASE + 24) +#define DV_ERR_DMA_CONFLICT (DV_ERR_BASE + 25) +#define DV_ERR_INT_CONFLICT (DV_ERR_BASE + 26) +#define DV_ERR_PROTECT_ONLY (DV_ERR_BASE + 27) +#define DV_ERR_LASTERROR (DV_ERR_BASE + 27) + +#define DV_ERR_USER_MSG (DV_ERR_BASE + 1000) + +#ifndef MM_DRVM_OPEN +#define MM_DRVM_OPEN 0x3D0 +#define MM_DRVM_CLOSE 0x3D1 +#define MM_DRVM_DATA 0x3D2 +#define MM_DRVM_ERROR 0x3D3 + +#define DV_VM_OPEN MM_DRVM_OPEN +#define DV_VM_CLOSE MM_DRVM_CLOSE +#define DV_VM_DATA MM_DRVM_DATA +#define DV_VM_ERROR MM_DRVM_ERROR +#endif + +typedef struct videohdr_tag { + LPBYTE lpData; + DWORD dwBufferLength; + DWORD dwBytesUsed; + DWORD dwTimeCaptured; + DWORD_PTR dwUser; + DWORD dwFlags; + DWORD_PTR dwReserved[4]; +} VIDEOHDR, *PVIDEOHDR, *LPVIDEOHDR; + +#define VHDR_DONE 0x00000001 +#define VHDR_PREPARED 0x00000002 +#define VHDR_INQUEUE 0x00000004 +#define VHDR_KEYFRAME 0x00000008 + +typedef struct channel_caps_tag { + DWORD dwFlags; + DWORD dwSrcRectXMod; + DWORD dwSrcRectYMod; + DWORD dwSrcRectWidthMod; + DWORD dwSrcRectHeightMod; + DWORD dwDstRectXMod; + DWORD dwDstRectYMod; + DWORD dwDstRectWidthMod; + DWORD dwDstRectHeightMod; +} CHANNEL_CAPS, *PCHANNEL_CAPS, *LPCHANNEL_CAPS; + +#define VCAPS_OVERLAY 0x00000001 +#define VCAPS_SRC_CAN_CLIP 0x00000002 +#define VCAPS_DST_CAN_CLIP 0x00000004 +#define VCAPS_CAN_SCALE 0x00000008 + +#define VIDEO_EXTERNALIN 0x0001 +#define VIDEO_EXTERNALOUT 0x0002 +#define VIDEO_IN 0x0004 +#define VIDEO_OUT 0x0008 + +#define VIDEO_DLG_QUERY 0x0010 + +#define VIDEO_CONFIGURE_QUERY 0x8000 + +#define VIDEO_CONFIGURE_SET 0x1000 + +#define VIDEO_CONFIGURE_GET 0x2000 +#define VIDEO_CONFIGURE_QUERYSIZE 0x0001 + +#define VIDEO_CONFIGURE_CURRENT 0x0010 +#define VIDEO_CONFIGURE_NOMINAL 0x0020 +#define VIDEO_CONFIGURE_MIN 0x0040 +#define VIDEO_CONFIGURE_MAX 0x0080 + +#define DVM_USER 0x4000 + +#define DVM_CONFIGURE_START 0x1000 +#define DVM_CONFIGURE_END 0x1FFF + +#define DVM_PALETTE (DVM_CONFIGURE_START + 1) +#define DVM_FORMAT (DVM_CONFIGURE_START + 2) +#define DVM_PALETTERGB555 (DVM_CONFIGURE_START + 3) +#define DVM_SRC_RECT (DVM_CONFIGURE_START + 4) +#define DVM_DST_RECT (DVM_CONFIGURE_START + 5) + +#define AVICapSM(hwnd,m,w,l) ((IsWindow(hwnd)) ? SendMessage(hwnd,m,w,l) : 0) + +#define WM_CAP_START WM_USER + +#define WM_CAP_UNICODE_START WM_USER+100 + +#define WM_CAP_GET_CAPSTREAMPTR (WM_CAP_START + 1) + +#define WM_CAP_SET_CALLBACK_ERRORW (WM_CAP_UNICODE_START + 2) +#define WM_CAP_SET_CALLBACK_STATUSW (WM_CAP_UNICODE_START + 3) +#define WM_CAP_SET_CALLBACK_ERRORA (WM_CAP_START + 2) +#define WM_CAP_SET_CALLBACK_STATUSA (WM_CAP_START+ 3) + +#define WM_CAP_SET_CALLBACK_ERROR WINELIB_NAME_AW(WM_CAP_SET_CALLBACK_ERROR) +#define WM_CAP_SET_CALLBACK_STATUS WINELIB_NAME_AW(WM_CAP_SET_CALLBACK_STATUS) + +#define WM_CAP_SET_CALLBACK_YIELD (WM_CAP_START + 4) +#define WM_CAP_SET_CALLBACK_FRAME (WM_CAP_START + 5) +#define WM_CAP_SET_CALLBACK_VIDEOSTREAM (WM_CAP_START + 6) +#define WM_CAP_SET_CALLBACK_WAVESTREAM (WM_CAP_START + 7) +#define WM_CAP_GET_USER_DATA (WM_CAP_START + 8) +#define WM_CAP_SET_USER_DATA (WM_CAP_START + 9) + +#define WM_CAP_DRIVER_CONNECT (WM_CAP_START + 10) +#define WM_CAP_DRIVER_DISCONNECT (WM_CAP_START + 11) + +#define WM_CAP_DRIVER_GET_NAMEA (WM_CAP_START + 12) +#define WM_CAP_DRIVER_GET_VERSIONA (WM_CAP_START + 13) +#define WM_CAP_DRIVER_GET_NAMEW (WM_CAP_UNICODE_START + 12) +#define WM_CAP_DRIVER_GET_VERSIONW (WM_CAP_UNICODE_START + 13) + +#define WM_CAP_DRIVER_GET_NAME WINELIB_NAME_AW(WM_CAP_DRIVER_GET_NAME) +#define WM_CAP_DRIVER_GET_VERSION WINELIB_NAME_AW(WM_CAP_DRIVER_GET_VERSION) + +#define WM_CAP_DRIVER_GET_CAPS (WM_CAP_START + 14) + +#define WM_CAP_FILE_SET_CAPTURE_FILEA (WM_CAP_START + 20) +#define WM_CAP_FILE_GET_CAPTURE_FILEA (WM_CAP_START + 21) +#define WM_CAP_FILE_ALLOCATE (WM_CAP_START + 22) +#define WM_CAP_FILE_SAVEASA (WM_CAP_START + 23) +#define WM_CAP_FILE_SET_INFOCHUNK (WM_CAP_START + 24) +#define WM_CAP_FILE_SAVEDIBA (WM_CAP_START + 25) +#define WM_CAP_FILE_SET_CAPTURE_FILEW (WM_CAP_UNICODE_START + 20) +#define WM_CAP_FILE_GET_CAPTURE_FILEW (WM_CAP_UNICODE_START + 21) +#define WM_CAP_FILE_SAVEASW (WM_CAP_UNICODE_START + 23) +#define WM_CAP_FILE_SAVEDIBW (WM_CAP_UNICODE_START + 25) + +#define WM_CAP_FILE_SET_CAPTURE_FILE WINELIB_NAME_AW(WM_CAP_FILE_SET_CAPTURE_FILE) +#define WM_CAP_FILE_GET_CAPTURE_FILE WINELIB_NAME_AW(WM_CAP_FILE_GET_CAPTURE_FILE) +#define WM_CAP_FILE_SAVEAS WINELIB_NAME_AW(WM_CAP_FILE_SAVEAS) +#define WM_CAP_FILE_SAVEDIB WINELIB_NAME_AW(WM_CAP_FILE_SAVEDIB) + +#define WM_CAP_EDIT_COPY (WM_CAP_START + 30) + +#define WM_CAP_SET_AUDIOFORMAT (WM_CAP_START + 35) +#define WM_CAP_GET_AUDIOFORMAT (WM_CAP_START + 36) + +#define WM_CAP_DLG_VIDEOFORMAT (WM_CAP_START + 41) +#define WM_CAP_DLG_VIDEOSOURCE (WM_CAP_START + 42) +#define WM_CAP_DLG_VIDEODISPLAY (WM_CAP_START + 43) +#define WM_CAP_GET_VIDEOFORMAT (WM_CAP_START + 44) +#define WM_CAP_SET_VIDEOFORMAT (WM_CAP_START + 45) +#define WM_CAP_DLG_VIDEOCOMPRESSION (WM_CAP_START + 46) + +#define WM_CAP_SET_PREVIEW (WM_CAP_START + 50) +#define WM_CAP_SET_OVERLAY (WM_CAP_START + 51) +#define WM_CAP_SET_PREVIEWRATE (WM_CAP_START + 52) +#define WM_CAP_SET_SCALE (WM_CAP_START + 53) +#define WM_CAP_GET_STATUS (WM_CAP_START + 54) +#define WM_CAP_SET_SCROLL (WM_CAP_START + 55) + +#define WM_CAP_GRAB_FRAME (WM_CAP_START + 60) +#define WM_CAP_GRAB_FRAME_NOSTOP (WM_CAP_START + 61) + +#define WM_CAP_SEQUENCE (WM_CAP_START + 62) +#define WM_CAP_SEQUENCE_NOFILE (WM_CAP_START + 63) +#define WM_CAP_SET_SEQUENCE_SETUP (WM_CAP_START + 64) +#define WM_CAP_GET_SEQUENCE_SETUP (WM_CAP_START + 65) + +#define WM_CAP_SET_MCI_DEVICEA (WM_CAP_START + 66) +#define WM_CAP_GET_MCI_DEVICEA (WM_CAP_START + 67) +#define WM_CAP_SET_MCI_DEVICEW (WM_CAP_UNICODE_START + 66) +#define WM_CAP_GET_MCI_DEVICEW (WM_CAP_UNICODE_START + 67) + +#define WM_CAP_SET_MCI_DEVICE WINELIB_NAME_AW(WM_CAP_SET_MCI_DEVICE) +#define WM_CAP_GET_MCI_DEVICE WINELIB_NAME_AW(WM_CAP_GET_MCI_DEVICE) + +#define WM_CAP_STOP (WM_CAP_START + 68) +#define WM_CAP_ABORT (WM_CAP_START + 69) + +#define WM_CAP_SINGLE_FRAME_OPEN (WM_CAP_START + 70) +#define WM_CAP_SINGLE_FRAME_CLOSE (WM_CAP_START + 71) +#define WM_CAP_SINGLE_FRAME (WM_CAP_START + 72) + +#define WM_CAP_PAL_OPENA (WM_CAP_START + 80) +#define WM_CAP_PAL_SAVEA (WM_CAP_START + 81) +#define WM_CAP_PAL_OPENW (WM_CAP_UNICODE_START + 80) +#define WM_CAP_PAL_SAVEW (WM_CAP_UNICODE_START + 81) + +#define WM_CAP_PAL_OPEN WINELIB_NAME_AW(WM_CAP_PAL_OPEN) +#define WM_CAP_PAL_SAVE WINELIB_NAME_AW(WM_CAP_PAL_SAVE) + +#define WM_CAP_PAL_PASTE (WM_CAP_START + 82) +#define WM_CAP_PAL_AUTOCREATE (WM_CAP_START + 83) +#define WM_CAP_PAL_MANUALCREATE (WM_CAP_START + 84) + +#define WM_CAP_SET_CALLBACK_CAPCONTROL (WM_CAP_START + 85) + +#define WM_CAP_UNICODE_END WM_CAP_PAL_SAVEW +#define WM_CAP_END WM_CAP_UNICODE_END + +typedef struct tagCapDriverCaps { + UINT wDeviceIndex; + BOOL fHasOverlay; + BOOL fHasDlgVideoSource; + BOOL fHasDlgVideoFormat; + BOOL fHasDlgVideoDisplay; + BOOL fCaptureInitialized; + BOOL fDriverSuppliesPalettes; + HANDLE hVideoIn; + HANDLE hVideoOut; + HANDLE hVideoExtIn; + HANDLE hVideoExtOut; +} CAPDRIVERCAPS, *PCAPDRIVERCAPS, *LPCAPDRIVERCAPS; + +typedef struct tagCapStatus { + UINT uiImageWidth; + UINT uiImageHeight; + BOOL fLiveWindow; + BOOL fOverlayWindow; + BOOL fScale; + POINT ptScroll; + BOOL fUsingDefaultPalette; + BOOL fAudioHardware; + BOOL fCapFileExists; + DWORD dwCurrentVideoFrame; + DWORD dwCurrentVideoFramesDropped; + DWORD dwCurrentWaveSamples; + DWORD dwCurrentTimeElapsedMS; + HPALETTE hPalCurrent; + BOOL fCapturingNow; + DWORD dwReturn; + UINT wNumVideoAllocated; + UINT wNumAudioAllocated; +} CAPSTATUS, *PCAPSTATUS, *LPCAPSTATUS; + + +typedef struct tagCaptureParms { + DWORD dwRequestMicroSecPerFrame; + BOOL fMakeUserHitOKToCapture; + UINT wPercentDropForError; + BOOL fYield; + DWORD dwIndexSize; + UINT wChunkGranularity; + BOOL fUsingDOSMemory; + UINT wNumVideoRequested; + BOOL fCaptureAudio; + UINT wNumAudioRequested; + UINT vKeyAbort; + BOOL fAbortLeftMouse; + BOOL fAbortRightMouse; + BOOL fLimitEnabled; + UINT wTimeLimit; + BOOL fMCIControl; + BOOL fStepMCIDevice; + DWORD dwMCIStartTime; + DWORD dwMCIStopTime; + BOOL fStepCaptureAt2x; + UINT wStepCaptureAverageFrames; + DWORD dwAudioBufferSize; + BOOL fDisableWriteCache; + UINT AVStreamMaster; +} CAPTUREPARMS, *PCAPTUREPARMS, *LPCAPTUREPARMS; + +typedef LRESULT (CALLBACK* CAPYIELDCALLBACK) (HWND hWnd); +typedef LRESULT (CALLBACK* CAPSTATUSCALLBACKW) (HWND hWnd, int nID, LPCWSTR lpsz); +typedef LRESULT (CALLBACK* CAPERRORCALLBACKW) (HWND hWnd, int nID, LPCWSTR lpsz); +typedef LRESULT (CALLBACK* CAPSTATUSCALLBACKA) (HWND hWnd, int nID, LPCSTR lpsz); +typedef LRESULT (CALLBACK* CAPERRORCALLBACKA) (HWND hWnd, int nID, LPCSTR lpsz); +typedef LRESULT (CALLBACK* CAPVIDEOCALLBACK) (HWND hWnd, LPVIDEOHDR lpVHdr); +typedef LRESULT (CALLBACK* CAPWAVECALLBACK) (HWND hWnd, LPWAVEHDR lpWHdr); +typedef LRESULT (CALLBACK* CAPCONTROLCALLBACK)(HWND hWnd, int nState); + +HWND VFWAPI capCreateCaptureWindowA(LPCSTR,DWORD,INT,INT,INT,INT,HWND,INT); +HWND VFWAPI capCreateCaptureWindowW(LPCWSTR,DWORD,INT,INT,INT,INT,HWND,INT); +#define capCreateCaptureWindow WINELIB_NAME_AW(capCreateCaptureWindow) +BOOL VFWAPI capGetDriverDescriptionA(WORD,LPSTR,INT,LPSTR,INT); +BOOL VFWAPI capGetDriverDescriptionW(WORD,LPWSTR,INT,LPWSTR,INT); +#define capGetDriverDescription WINELIB_NAME_AW(capGetDriverDescription) + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __WINE_VFW_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vfwmsgs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vfwmsgs.h new file mode 100644 index 0000000..be5ff84 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vfwmsgs.h @@ -0,0 +1,177 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define VFW_S_NO_MORE_ITEMS ((HRESULT)0x00040103) +#define VFW_S_DUPLICATE_NAME ((HRESULT)0x0004022D) +#define VFW_S_STATE_INTERMEDIATE ((HRESULT)0x00040237) +#define VFW_S_PARTIAL_RENDER ((HRESULT)0x00040242) +#define VFW_S_SOME_DATA_IGNORED ((HRESULT)0x00040245) +#define VFW_S_CONNECTIONS_DEFERRED ((HRESULT)0x00040246) +#define VFW_S_RESOURCE_NOT_NEEDED ((HRESULT)0x00040250) +#define VFW_S_MEDIA_TYPE_IGNORED ((HRESULT)0x00040254) +#define VFW_S_VIDEO_NOT_RENDERED ((HRESULT)0x00040257) +#define VFW_S_AUDIO_NOT_RENDERED ((HRESULT)0x00040258) +#define VFW_S_RPZA ((HRESULT)0x0004025A) +#define VFW_S_ESTIMATED ((HRESULT)0x00040260) +#define VFW_S_RESERVED ((HRESULT)0x00040263) +#define VFW_S_STREAM_OFF ((HRESULT)0x00040267) +#define VFW_S_CANT_CUE ((HRESULT)0x00040268) +#define VFW_S_NO_STOP_TIME ((HRESULT)0x00040270) +#define VFW_S_NOPREVIEWPIN ((HRESULT)0x0004027E) +#define VFW_S_DVD_NON_ONE_SEQUENTIAL ((HRESULT)0x00040280) +#define VFW_S_DVD_CHANNEL_CONTENTS_NOT_AVAILABLE ((HRESULT)0x0004028C) +#define VFW_S_DVD_NOT_ACCURATE ((HRESULT)0x0004028D) +#define VFW_E_INVALIDMEDIATYPE ((HRESULT)0x80040200) +#define VFW_E_INVALIDSUBTYPE ((HRESULT)0x80040201) +#define VFW_E_NEED_OWNER ((HRESULT)0x80040202) +#define VFW_E_ENUM_OUT_OF_SYNC ((HRESULT)0x80040203) +#define VFW_E_ALREADY_CONNECTED ((HRESULT)0x80040204) +#define VFW_E_FILTER_ACTIVE ((HRESULT)0x80040205) +#define VFW_E_NO_TYPES ((HRESULT)0x80040206) +#define VFW_E_NO_ACCEPTABLE_TYPES ((HRESULT)0x80040207) +#define VFW_E_INVALID_DIRECTION ((HRESULT)0x80040208) +#define VFW_E_NOT_CONNECTED ((HRESULT)0x80040209) +#define VFW_E_NO_ALLOCATOR ((HRESULT)0x8004020A) +#define VFW_E_RUNTIME_ERROR ((HRESULT)0x8004020B) +#define VFW_E_BUFFER_NOTSET ((HRESULT)0x8004020C) +#define VFW_E_BUFFER_OVERFLOW ((HRESULT)0x8004020D) +#define VFW_E_BADALIGN ((HRESULT)0x8004020E) +#define VFW_E_ALREADY_COMMITTED ((HRESULT)0x8004020F) +#define VFW_E_BUFFERS_OUTSTANDING ((HRESULT)0x80040210) +#define VFW_E_NOT_COMMITTED ((HRESULT)0x80040211) +#define VFW_E_SIZENOTSET ((HRESULT)0x80040212) +#define VFW_E_NO_CLOCK ((HRESULT)0x80040213) +#define VFW_E_NO_SINK ((HRESULT)0x80040214) +#define VFW_E_NO_INTERFACE ((HRESULT)0x80040215) +#define VFW_E_NOT_FOUND ((HRESULT)0x80040216) +#define VFW_E_CANNOT_CONNECT ((HRESULT)0x80040217) +#define VFW_E_CANNOT_RENDER ((HRESULT)0x80040218) +#define VFW_E_CHANGING_FORMAT ((HRESULT)0x80040219) +#define VFW_E_NO_COLOR_KEY_SET ((HRESULT)0x8004021A) +#define VFW_E_NOT_OVERLAY_CONNECTION ((HRESULT)0x8004021B) +#define VFW_E_NOT_SAMPLE_CONNECTION ((HRESULT)0x8004021C) +#define VFW_E_PALETTE_SET ((HRESULT)0x8004021D) +#define VFW_E_COLOR_KEY_SET ((HRESULT)0x8004021E) +#define VFW_E_NO_COLOR_KEY_FOUND ((HRESULT)0x8004021F) +#define VFW_E_NO_PALETTE_AVAILABLE ((HRESULT)0x80040220) +#define VFW_E_NO_DISPLAY_PALETTE ((HRESULT)0x80040221) +#define VFW_E_TOO_MANY_COLORS ((HRESULT)0x80040222) +#define VFW_E_STATE_CHANGED ((HRESULT)0x80040223) +#define VFW_E_NOT_STOPPED ((HRESULT)0x80040224) +#define VFW_E_NOT_PAUSED ((HRESULT)0x80040225) +#define VFW_E_NOT_RUNNING ((HRESULT)0x80040226) +#define VFW_E_WRONG_STATE ((HRESULT)0x80040227) +#define VFW_E_START_TIME_AFTER_END ((HRESULT)0x80040228) +#define VFW_E_INVALID_RECT ((HRESULT)0x80040229) +#define VFW_E_TYPE_NOT_ACCEPTED ((HRESULT)0x8004022A) +#define VFW_E_SAMPLE_REJECTED ((HRESULT)0x8004022B) +#define VFW_E_SAMPLE_REJECTED_EOS ((HRESULT)0x8004022C) +#define VFW_E_DUPLICATE_NAME ((HRESULT)0x8004022D) +#define VFW_E_TIMEOUT ((HRESULT)0x8004022E) +#define VFW_E_INVALID_FILE_FORMAT ((HRESULT)0x8004022F) +#define VFW_E_ENUM_OUT_OF_RANGE ((HRESULT)0x80040230) +#define VFW_E_CIRCULAR_GRAPH ((HRESULT)0x80040231) +#define VFW_E_NOT_ALLOWED_TO_SAVE ((HRESULT)0x80040232) +#define VFW_E_TIME_ALREADY_PASSED ((HRESULT)0x80040233) +#define VFW_E_ALREADY_CANCELLED ((HRESULT)0x80040234) +#define VFW_E_CORRUPT_GRAPH_FILE ((HRESULT)0x80040235) +#define VFW_E_ADVISE_ALREADY_SET ((HRESULT)0x80040236) +#define VFW_E_NO_MODEX_AVAILABLE ((HRESULT)0x80040238) +#define VFW_E_NO_ADVISE_SET ((HRESULT)0x80040239) +#define VFW_E_NO_FULLSCREEN ((HRESULT)0x8004023A) +#define VFW_E_IN_FULLSCREEN_MODE ((HRESULT)0x8004023B) +#define VFW_E_UNKNOWN_FILE_TYPE ((HRESULT)0x80040240) +#define VFW_E_CANNOT_LOAD_SOURCE_FILTER ((HRESULT)0x80040241) +#define VFW_E_FILE_TOO_SHORT ((HRESULT)0x80040243) +#define VFW_E_INVALID_FILE_VERSION ((HRESULT)0x80040244) +#define VFW_E_INVALID_CLSID ((HRESULT)0x80040247) +#define VFW_E_INVALID_MEDIA_TYPE ((HRESULT)0x80040248) +#define VFW_E_SAMPLE_TIME_NOT_SET ((HRESULT)0x80040249) +#define VFW_E_MEDIA_TIME_NOT_SET ((HRESULT)0x80040251) +#define VFW_E_NO_TIME_FORMAT_SET ((HRESULT)0x80040252) +#define VFW_E_MONO_AUDIO_HW ((HRESULT)0x80040253) +#define VFW_E_NO_DECOMPRESSOR ((HRESULT)0x80040255) +#define VFW_E_NO_AUDIO_HARDWARE ((HRESULT)0x80040256) +#define VFW_E_RPZA ((HRESULT)0x80040259) +#define VFW_E_PROCESSOR_NOT_SUITABLE ((HRESULT)0x8004025B) +#define VFW_E_UNSUPPORTED_AUDIO ((HRESULT)0x8004025C) +#define VFW_E_UNSUPPORTED_VIDEO ((HRESULT)0x8004025D) +#define VFW_E_MPEG_NOT_CONSTRAINED ((HRESULT)0x8004025E) +#define VFW_E_NOT_IN_GRAPH ((HRESULT)0x8004025F) +#define VFW_E_NO_TIME_FORMAT ((HRESULT)0x80040261) +#define VFW_E_READ_ONLY ((HRESULT)0x80040262) +#define VFW_E_BUFFER_UNDERFLOW ((HRESULT)0x80040264) +#define VFW_E_UNSUPPORTED_STREAM ((HRESULT)0x80040265) +#define VFW_E_NO_TRANSPORT ((HRESULT)0x80040266) +#define VFW_E_BAD_VIDEOCD ((HRESULT)0x80040269) +#define VFW_E_OUT_OF_VIDEO_MEMORY ((HRESULT)0x80040271) +#define VFW_E_VP_NEGOTIATION_FAILED ((HRESULT)0x80040272) +#define VFW_E_DDRAW_CAPS_NOT_SUITABLE ((HRESULT)0x80040273) +#define VFW_E_NO_VP_HARDWARE ((HRESULT)0x80040274) +#define VFW_E_NO_CAPTURE_HARDWARE ((HRESULT)0x80040275) +#define VFW_E_DVD_OPERATION_INHIBITED ((HRESULT)0x80040276) +#define VFW_E_DVD_INVALIDDOMAIN ((HRESULT)0x80040277) +#define VFW_E_DVD_NO_BUTTON ((HRESULT)0x80040278) +#define VFW_E_DVD_GRAPHNOTREADY ((HRESULT)0x80040279) +#define VFW_E_DVD_RENDERFAIL ((HRESULT)0x8004027A) +#define VFW_E_DVD_DECNOTENOUGH ((HRESULT)0x8004027B) +#define VFW_E_DDRAW_VERSION_NOT_SUITABLE ((HRESULT)0x8004027C) +#define VFW_E_COPYPROT_FAILED ((HRESULT)0x8004027D) +#define VFW_E_TIME_EXPIRED ((HRESULT)0x8004027F) +#define VFW_E_DVD_WRONG_SPEED ((HRESULT)0x80040281) +#define VFW_E_DVD_MENU_DOES_NOT_EXIST ((HRESULT)0x80040282) +#define VFW_E_DVD_CMD_CANCELLED ((HRESULT)0x80040283) +#define VFW_E_DVD_STATE_WRONG_VERSION ((HRESULT)0x80040284) +#define VFW_E_DVD_STATE_CORRUPT ((HRESULT)0x80040285) +#define VFW_E_DVD_STATE_WRONG_DISC ((HRESULT)0x80040286) +#define VFW_E_DVD_INCOMPATIBLE_REGION ((HRESULT)0x80040287) +#define VFW_E_DVD_NO_ATTRIBUTES ((HRESULT)0x80040288) +#define VFW_E_DVD_NO_GOUP_PGC ((HRESULT)0x80040289) +#define VFW_E_DVD_LOW_PARENTAL_LEVEL ((HRESULT)0x8004028A) +#define VFW_E_DVD_NOT_IN_KARAOKE_MODE ((HRESULT)0x8004028B) +#define VFW_E_FRAME_STEP_UNSUPPORTED ((HRESULT)0x8004028E) +#define VFW_E_DVD_STREAM_DISABLED ((HRESULT)0x8004028F) +#define VFW_E_DVD_TITLE_UNKNOWN ((HRESULT)0x80040290) +#define VFW_E_DVD_INVALID_DISC ((HRESULT)0x80040291) +#define VFW_E_DVD_NO_RESUME_INFORMATION ((HRESULT)0x80040292) +#define VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD ((HRESULT)0x80040293) +#define VFW_E_PIN_ALREADY_BLOCKED ((HRESULT)0x80040294) +#define VFW_E_CERTIFICATION_FAILURE ((HRESULT)0x80040295) +#define VFW_E_VMR_NOT_IN_MIXER_MODE ((HRESULT)0x80040296) +#define VFW_E_VMR_NO_AP_SUPPLIED ((HRESULT)0x80040297) +#define VFW_E_VMR_NO_DEINTERLACE_HW ((HRESULT)0x80040298) +#define VFW_E_VMR_NO_PROCAMP_HW ((HRESULT)0x80040299) +#define VFW_E_DVD_VMR9_INCOMPATIBLEDEC ((HRESULT)0x8004029A) +#define VFW_E_NO_COPP_HW ((HRESULT)0x8004029B) +#define VFW_E_DVD_NONBLOCKING ((HRESULT)0x8004029C) +#define VFW_E_DVD_TOO_MANY_RENDERERS_IN_FILTER_GRAPH ((HRESULT)0x8004029D) +#define VFW_E_DVD_NON_EVR_RENDERER_IN_FILTER_GRAPH ((HRESULT)0x8004029E) +#define VFW_E_DVD_RESOLUTION_ERROR ((HRESULT)0x8004029F) +#define VFW_E_CODECAPI_LINEAR_RANGE ((HRESULT)0x80040310) +#define VFW_E_CODECAPI_ENUMERATED ((HRESULT)0x80040311) +#define VFW_E_CODECAPI_NO_DEFAULT ((HRESULT)0x80040313) +#define VFW_E_CODECAPI_NO_CURRENT_VALUE ((HRESULT)0x80040314) +#define VFW_E_DVD_CHAPTER_DOES_NOT_EXIST ((HRESULT)0x80040315) +#define VFW_E_BAD_KEY ((HRESULT)0x800403F2) + +#ifndef E_PROP_ID_UNSUPPORTED +#define E_PROP_ID_UNSUPPORTED ((HRESULT)0x80070490) +#endif +#ifndef E_PROP_SET_UNSUPPORTED +#define E_PROP_SET_UNSUPPORTED ((HRESULT)0x80070492) +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmr9.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmr9.h new file mode 100644 index 0000000..76bbdc4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmr9.h @@ -0,0 +1,2425 @@ +/*** Autogenerated by WIDL 2.18 from vmr9.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __vmr9_h__ +#define __vmr9_h__ + +/* Forward declarations */ + +#ifndef __IVMRImagePresenter9_FWD_DEFINED__ +#define __IVMRImagePresenter9_FWD_DEFINED__ +typedef interface IVMRImagePresenter9 IVMRImagePresenter9; +#ifdef __cplusplus +interface IVMRImagePresenter9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocator9_FWD_DEFINED__ +#define __IVMRSurfaceAllocator9_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocator9 IVMRSurfaceAllocator9; +#ifdef __cplusplus +interface IVMRSurfaceAllocator9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocatorEx9_FWD_DEFINED__ +#define __IVMRSurfaceAllocatorEx9_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocatorEx9 IVMRSurfaceAllocatorEx9; +#ifdef __cplusplus +interface IVMRSurfaceAllocatorEx9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocatorNotify9_FWD_DEFINED__ +#define __IVMRSurfaceAllocatorNotify9_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocatorNotify9 IVMRSurfaceAllocatorNotify9; +#ifdef __cplusplus +interface IVMRSurfaceAllocatorNotify9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRWindowlessControl9_FWD_DEFINED__ +#define __IVMRWindowlessControl9_FWD_DEFINED__ +typedef interface IVMRWindowlessControl9 IVMRWindowlessControl9; +#ifdef __cplusplus +interface IVMRWindowlessControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerControl9_FWD_DEFINED__ +#define __IVMRMixerControl9_FWD_DEFINED__ +typedef interface IVMRMixerControl9 IVMRMixerControl9; +#ifdef __cplusplus +interface IVMRMixerControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerBitmap9_FWD_DEFINED__ +#define __IVMRMixerBitmap9_FWD_DEFINED__ +typedef interface IVMRMixerBitmap9 IVMRMixerBitmap9; +#ifdef __cplusplus +interface IVMRMixerBitmap9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurface9_FWD_DEFINED__ +#define __IVMRSurface9_FWD_DEFINED__ +typedef interface IVMRSurface9 IVMRSurface9; +#ifdef __cplusplus +interface IVMRSurface9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenterConfig9_FWD_DEFINED__ +#define __IVMRImagePresenterConfig9_FWD_DEFINED__ +typedef interface IVMRImagePresenterConfig9 IVMRImagePresenterConfig9; +#ifdef __cplusplus +interface IVMRImagePresenterConfig9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRVideoStreamControl9_FWD_DEFINED__ +#define __IVMRVideoStreamControl9_FWD_DEFINED__ +typedef interface IVMRVideoStreamControl9 IVMRVideoStreamControl9; +#ifdef __cplusplus +interface IVMRVideoStreamControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRFilterConfig9_FWD_DEFINED__ +#define __IVMRFilterConfig9_FWD_DEFINED__ +typedef interface IVMRFilterConfig9 IVMRFilterConfig9; +#ifdef __cplusplus +interface IVMRFilterConfig9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRAspectRatioControl9_FWD_DEFINED__ +#define __IVMRAspectRatioControl9_FWD_DEFINED__ +typedef interface IVMRAspectRatioControl9 IVMRAspectRatioControl9; +#ifdef __cplusplus +interface IVMRAspectRatioControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMonitorConfig9_FWD_DEFINED__ +#define __IVMRMonitorConfig9_FWD_DEFINED__ +typedef interface IVMRMonitorConfig9 IVMRMonitorConfig9; +#ifdef __cplusplus +interface IVMRMonitorConfig9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRDeinterlaceControl9_FWD_DEFINED__ +#define __IVMRDeinterlaceControl9_FWD_DEFINED__ +typedef interface IVMRDeinterlaceControl9 IVMRDeinterlaceControl9; +#ifdef __cplusplus +interface IVMRDeinterlaceControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImageCompositor9_FWD_DEFINED__ +#define __IVMRImageCompositor9_FWD_DEFINED__ +typedef interface IVMRImageCompositor9 IVMRImageCompositor9; +#ifdef __cplusplus +interface IVMRImageCompositor9; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +#ifndef __IDirect3DSurface9_FWD_DEFINED__ +#define __IDirect3DSurface9_FWD_DEFINED__ +typedef interface IDirect3DSurface9 IDirect3DSurface9; +#ifdef __cplusplus +interface IDirect3DSurface9; +#endif /* __cplusplus */ +#endif + +#ifndef __IDirect3DDevice9_FWD_DEFINED__ +#define __IDirect3DDevice9_FWD_DEFINED__ +typedef interface IDirect3DDevice9 IDirect3DDevice9; +#ifdef __cplusplus +interface IDirect3DDevice9; +#endif /* __cplusplus */ +#endif + +typedef LONGLONG REFERENCE_TIME; +typedef DWORD D3DFORMAT; +typedef DWORD D3DPOOL; +typedef HANDLE HMONITOR; +typedef struct __WIDL_vmr9_generated_name_00000002 { + char dummy; +} AM_MEDIA_TYPE; +typedef struct __WIDL_vmr9_generated_name_00000003 { + char dummy; +} D3DCOLOR; +#endif +#ifndef __IVMRSurface9_FWD_DEFINED__ +#define __IVMRSurface9_FWD_DEFINED__ +typedef interface IVMRSurface9 IVMRSurface9; +#ifdef __cplusplus +interface IVMRSurface9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocator9_FWD_DEFINED__ +#define __IVMRSurfaceAllocator9_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocator9 IVMRSurfaceAllocator9; +#ifdef __cplusplus +interface IVMRSurfaceAllocator9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocatorEx9_FWD_DEFINED__ +#define __IVMRSurfaceAllocatorEx9_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocatorEx9 IVMRSurfaceAllocatorEx9; +#ifdef __cplusplus +interface IVMRSurfaceAllocatorEx9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRSurfaceAllocatorNotify9_FWD_DEFINED__ +#define __IVMRSurfaceAllocatorNotify9_FWD_DEFINED__ +typedef interface IVMRSurfaceAllocatorNotify9 IVMRSurfaceAllocatorNotify9; +#ifdef __cplusplus +interface IVMRSurfaceAllocatorNotify9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenter9_FWD_DEFINED__ +#define __IVMRImagePresenter9_FWD_DEFINED__ +typedef interface IVMRImagePresenter9 IVMRImagePresenter9; +#ifdef __cplusplus +interface IVMRImagePresenter9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImagePresenterConfig9_FWD_DEFINED__ +#define __IVMRImagePresenterConfig9_FWD_DEFINED__ +typedef interface IVMRImagePresenterConfig9 IVMRImagePresenterConfig9; +#ifdef __cplusplus +interface IVMRImagePresenterConfig9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMonitorConfig9_FWD_DEFINED__ +#define __IVMRMonitorConfig9_FWD_DEFINED__ +typedef interface IVMRMonitorConfig9 IVMRMonitorConfig9; +#ifdef __cplusplus +interface IVMRMonitorConfig9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRWindowlessControl9_FWD_DEFINED__ +#define __IVMRWindowlessControl9_FWD_DEFINED__ +typedef interface IVMRWindowlessControl9 IVMRWindowlessControl9; +#ifdef __cplusplus +interface IVMRWindowlessControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerControl9_FWD_DEFINED__ +#define __IVMRMixerControl9_FWD_DEFINED__ +typedef interface IVMRMixerControl9 IVMRMixerControl9; +#ifdef __cplusplus +interface IVMRMixerControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRImageCompositor9_FWD_DEFINED__ +#define __IVMRImageCompositor9_FWD_DEFINED__ +typedef interface IVMRImageCompositor9 IVMRImageCompositor9; +#ifdef __cplusplus +interface IVMRImageCompositor9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRMixerBitmap9_FWD_DEFINED__ +#define __IVMRMixerBitmap9_FWD_DEFINED__ +typedef interface IVMRMixerBitmap9 IVMRMixerBitmap9; +#ifdef __cplusplus +interface IVMRMixerBitmap9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRFilterConfig9_FWD_DEFINED__ +#define __IVMRFilterConfig9_FWD_DEFINED__ +typedef interface IVMRFilterConfig9 IVMRFilterConfig9; +#ifdef __cplusplus +interface IVMRFilterConfig9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRAspectRatioControl9_FWD_DEFINED__ +#define __IVMRAspectRatioControl9_FWD_DEFINED__ +typedef interface IVMRAspectRatioControl9 IVMRAspectRatioControl9; +#ifdef __cplusplus +interface IVMRAspectRatioControl9; +#endif /* __cplusplus */ +#endif + +#ifndef __IVMRVideoStreamControl9_FWD_DEFINED__ +#define __IVMRVideoStreamControl9_FWD_DEFINED__ +typedef interface IVMRVideoStreamControl9 IVMRVideoStreamControl9; +#ifdef __cplusplus +interface IVMRVideoStreamControl9; +#endif /* __cplusplus */ +#endif + +typedef enum _VMR9PresentationFlags { + VMR9Sample_SyncPoint = 0x1, + VMR9Sample_Preroll = 0x2, + VMR9Sample_Discontinuity = 0x4, + VMR9Sample_TimeValid = 0x8, + VMR9Sample_SrcDstRectsValid = 0x10 +} VMR9PresentationFlags; +typedef struct _VMR9PresentationInfo { + DWORD dwFlags; + IDirect3DSurface9 *lpSurf; + REFERENCE_TIME rtStart; + REFERENCE_TIME rtEnd; + SIZE szAspectRatio; + RECT rcSrc; + RECT rcDst; + DWORD dwReserved1; + DWORD dwReserved2; +} VMR9PresentationInfo; +/***************************************************************************** + * IVMRImagePresenter9 interface + */ +#ifndef __IVMRImagePresenter9_INTERFACE_DEFINED__ +#define __IVMRImagePresenter9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImagePresenter9, 0x69188c61, 0x12a3, 0x40f0, 0x8f,0xfc, 0x34,0x2e,0x7b,0x43,0x3f,0xd7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("69188c61-12a3-40f0-8ffc-342e7b433fd7") +IVMRImagePresenter9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE StartPresenting( + DWORD_PTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopPresenting( + DWORD_PTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE PresentImage( + DWORD_PTR id, + VMR9PresentationInfo *info) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImagePresenter9, 0x69188c61, 0x12a3, 0x40f0, 0x8f,0xfc, 0x34,0x2e,0x7b,0x43,0x3f,0xd7) +#endif +#else +typedef struct IVMRImagePresenter9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImagePresenter9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImagePresenter9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImagePresenter9 *This); + + /*** IVMRImagePresenter9 methods ***/ + HRESULT (STDMETHODCALLTYPE *StartPresenting)( + IVMRImagePresenter9 *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *StopPresenting)( + IVMRImagePresenter9 *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *PresentImage)( + IVMRImagePresenter9 *This, + DWORD_PTR id, + VMR9PresentationInfo *info); + + END_INTERFACE +} IVMRImagePresenter9Vtbl; + +interface IVMRImagePresenter9 { + CONST_VTBL IVMRImagePresenter9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImagePresenter9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImagePresenter9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImagePresenter9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImagePresenter9 methods ***/ +#define IVMRImagePresenter9_StartPresenting(This,id) (This)->lpVtbl->StartPresenting(This,id) +#define IVMRImagePresenter9_StopPresenting(This,id) (This)->lpVtbl->StopPresenting(This,id) +#define IVMRImagePresenter9_PresentImage(This,id,info) (This)->lpVtbl->PresentImage(This,id,info) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenter9_QueryInterface(IVMRImagePresenter9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImagePresenter9_AddRef(IVMRImagePresenter9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImagePresenter9_Release(IVMRImagePresenter9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImagePresenter9 methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenter9_StartPresenting(IVMRImagePresenter9* This,DWORD_PTR id) { + return This->lpVtbl->StartPresenting(This,id); +} +static FORCEINLINE HRESULT IVMRImagePresenter9_StopPresenting(IVMRImagePresenter9* This,DWORD_PTR id) { + return This->lpVtbl->StopPresenting(This,id); +} +static FORCEINLINE HRESULT IVMRImagePresenter9_PresentImage(IVMRImagePresenter9* This,DWORD_PTR id,VMR9PresentationInfo *info) { + return This->lpVtbl->PresentImage(This,id,info); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImagePresenter9_INTERFACE_DEFINED__ */ + +typedef enum _VMR9SurfaceAllocationFlags { + VMR9AllocFlag_3DRenderTarget = 0x1, + VMR9AllocFlag_DXVATarget = 0x2, + VMR9AllocFlag_TextureSurface = 0x4, + VMR9AllocFlag_OffscreenSurface = 0x8, + VMR9AllocFlag_RGBDynamicSwitch = 0x10, + VMR9AllocFlag_UsageReserved = 0xe0, + VMR9AllocFlag_UsageMask = 0xff +} VMR9SurfaceAllocationFlags; +typedef struct _VMR9AllocationInfo { + DWORD dwFlags; + DWORD dwWidth; + DWORD dwHeight; + D3DFORMAT Format; + D3DPOOL Pool; + DWORD MinBuffers; + SIZE szAspectRatio; + SIZE szNativeSize; +} VMR9AllocationInfo; +/***************************************************************************** + * IVMRSurfaceAllocator9 interface + */ +#ifndef __IVMRSurfaceAllocator9_INTERFACE_DEFINED__ +#define __IVMRSurfaceAllocator9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRSurfaceAllocator9, 0x8d5148ea, 0x3f5d, 0x46cf, 0x9d,0xf1, 0xd1,0xb8,0x96,0xee,0xdb,0x1f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8d5148ea-3f5d-46cf-9df1-d1b896eedb1f") +IVMRSurfaceAllocator9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitializeDevice( + DWORD_PTR id, + VMR9AllocationInfo *allocinfo, + DWORD *numbuffers) = 0; + + virtual HRESULT STDMETHODCALLTYPE TerminateDevice( + DWORD_PTR id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSurface( + DWORD_PTR id, + DWORD surfaceindex, + DWORD flags, + IDirect3DSurface9 **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdviseNotify( + IVMRSurfaceAllocatorNotify9 *allocnotify) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRSurfaceAllocator9, 0x8d5148ea, 0x3f5d, 0x46cf, 0x9d,0xf1, 0xd1,0xb8,0x96,0xee,0xdb,0x1f) +#endif +#else +typedef struct IVMRSurfaceAllocator9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRSurfaceAllocator9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRSurfaceAllocator9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRSurfaceAllocator9 *This); + + /*** IVMRSurfaceAllocator9 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeDevice)( + IVMRSurfaceAllocator9 *This, + DWORD_PTR id, + VMR9AllocationInfo *allocinfo, + DWORD *numbuffers); + + HRESULT (STDMETHODCALLTYPE *TerminateDevice)( + IVMRSurfaceAllocator9 *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *GetSurface)( + IVMRSurfaceAllocator9 *This, + DWORD_PTR id, + DWORD surfaceindex, + DWORD flags, + IDirect3DSurface9 **surface); + + HRESULT (STDMETHODCALLTYPE *AdviseNotify)( + IVMRSurfaceAllocator9 *This, + IVMRSurfaceAllocatorNotify9 *allocnotify); + + END_INTERFACE +} IVMRSurfaceAllocator9Vtbl; + +interface IVMRSurfaceAllocator9 { + CONST_VTBL IVMRSurfaceAllocator9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRSurfaceAllocator9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRSurfaceAllocator9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRSurfaceAllocator9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRSurfaceAllocator9 methods ***/ +#define IVMRSurfaceAllocator9_InitializeDevice(This,id,allocinfo,numbuffers) (This)->lpVtbl->InitializeDevice(This,id,allocinfo,numbuffers) +#define IVMRSurfaceAllocator9_TerminateDevice(This,id) (This)->lpVtbl->TerminateDevice(This,id) +#define IVMRSurfaceAllocator9_GetSurface(This,id,surfaceindex,flags,surface) (This)->lpVtbl->GetSurface(This,id,surfaceindex,flags,surface) +#define IVMRSurfaceAllocator9_AdviseNotify(This,allocnotify) (This)->lpVtbl->AdviseNotify(This,allocnotify) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocator9_QueryInterface(IVMRSurfaceAllocator9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRSurfaceAllocator9_AddRef(IVMRSurfaceAllocator9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRSurfaceAllocator9_Release(IVMRSurfaceAllocator9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRSurfaceAllocator9 methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocator9_InitializeDevice(IVMRSurfaceAllocator9* This,DWORD_PTR id,VMR9AllocationInfo *allocinfo,DWORD *numbuffers) { + return This->lpVtbl->InitializeDevice(This,id,allocinfo,numbuffers); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocator9_TerminateDevice(IVMRSurfaceAllocator9* This,DWORD_PTR id) { + return This->lpVtbl->TerminateDevice(This,id); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocator9_GetSurface(IVMRSurfaceAllocator9* This,DWORD_PTR id,DWORD surfaceindex,DWORD flags,IDirect3DSurface9 **surface) { + return This->lpVtbl->GetSurface(This,id,surfaceindex,flags,surface); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocator9_AdviseNotify(IVMRSurfaceAllocator9* This,IVMRSurfaceAllocatorNotify9 *allocnotify) { + return This->lpVtbl->AdviseNotify(This,allocnotify); +} +#endif +#endif + +#endif + + +#endif /* __IVMRSurfaceAllocator9_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRSurfaceAllocatorEx9 interface + */ +#ifndef __IVMRSurfaceAllocatorEx9_INTERFACE_DEFINED__ +#define __IVMRSurfaceAllocatorEx9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRSurfaceAllocatorEx9, 0x6de9a68a, 0xa928, 0x4522, 0xbf,0x57, 0x65,0x5a,0xe3,0x86,0x64,0x56); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6de9a68a-a928-4522-bf57-655ae3866456") +IVMRSurfaceAllocatorEx9 : public IVMRSurfaceAllocator9 +{ + virtual HRESULT STDMETHODCALLTYPE GetSurfaceEx( + DWORD_PTR id, + DWORD surfaceindex, + DWORD flags, + IDirect3DSurface9 **surface, + RECT *dest) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRSurfaceAllocatorEx9, 0x6de9a68a, 0xa928, 0x4522, 0xbf,0x57, 0x65,0x5a,0xe3,0x86,0x64,0x56) +#endif +#else +typedef struct IVMRSurfaceAllocatorEx9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRSurfaceAllocatorEx9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRSurfaceAllocatorEx9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRSurfaceAllocatorEx9 *This); + + /*** IVMRSurfaceAllocator9 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeDevice)( + IVMRSurfaceAllocatorEx9 *This, + DWORD_PTR id, + VMR9AllocationInfo *allocinfo, + DWORD *numbuffers); + + HRESULT (STDMETHODCALLTYPE *TerminateDevice)( + IVMRSurfaceAllocatorEx9 *This, + DWORD_PTR id); + + HRESULT (STDMETHODCALLTYPE *GetSurface)( + IVMRSurfaceAllocatorEx9 *This, + DWORD_PTR id, + DWORD surfaceindex, + DWORD flags, + IDirect3DSurface9 **surface); + + HRESULT (STDMETHODCALLTYPE *AdviseNotify)( + IVMRSurfaceAllocatorEx9 *This, + IVMRSurfaceAllocatorNotify9 *allocnotify); + + /*** IVMRSurfaceAllocatorEx9 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSurfaceEx)( + IVMRSurfaceAllocatorEx9 *This, + DWORD_PTR id, + DWORD surfaceindex, + DWORD flags, + IDirect3DSurface9 **surface, + RECT *dest); + + END_INTERFACE +} IVMRSurfaceAllocatorEx9Vtbl; + +interface IVMRSurfaceAllocatorEx9 { + CONST_VTBL IVMRSurfaceAllocatorEx9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRSurfaceAllocatorEx9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRSurfaceAllocatorEx9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRSurfaceAllocatorEx9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRSurfaceAllocator9 methods ***/ +#define IVMRSurfaceAllocatorEx9_InitializeDevice(This,id,allocinfo,numbuffers) (This)->lpVtbl->InitializeDevice(This,id,allocinfo,numbuffers) +#define IVMRSurfaceAllocatorEx9_TerminateDevice(This,id) (This)->lpVtbl->TerminateDevice(This,id) +#define IVMRSurfaceAllocatorEx9_GetSurface(This,id,surfaceindex,flags,surface) (This)->lpVtbl->GetSurface(This,id,surfaceindex,flags,surface) +#define IVMRSurfaceAllocatorEx9_AdviseNotify(This,allocnotify) (This)->lpVtbl->AdviseNotify(This,allocnotify) +/*** IVMRSurfaceAllocatorEx9 methods ***/ +#define IVMRSurfaceAllocatorEx9_GetSurfaceEx(This,id,surfaceindex,flags,surface,dest) (This)->lpVtbl->GetSurfaceEx(This,id,surfaceindex,flags,surface,dest) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorEx9_QueryInterface(IVMRSurfaceAllocatorEx9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRSurfaceAllocatorEx9_AddRef(IVMRSurfaceAllocatorEx9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRSurfaceAllocatorEx9_Release(IVMRSurfaceAllocatorEx9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRSurfaceAllocator9 methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorEx9_InitializeDevice(IVMRSurfaceAllocatorEx9* This,DWORD_PTR id,VMR9AllocationInfo *allocinfo,DWORD *numbuffers) { + return This->lpVtbl->InitializeDevice(This,id,allocinfo,numbuffers); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorEx9_TerminateDevice(IVMRSurfaceAllocatorEx9* This,DWORD_PTR id) { + return This->lpVtbl->TerminateDevice(This,id); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorEx9_GetSurface(IVMRSurfaceAllocatorEx9* This,DWORD_PTR id,DWORD surfaceindex,DWORD flags,IDirect3DSurface9 **surface) { + return This->lpVtbl->GetSurface(This,id,surfaceindex,flags,surface); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorEx9_AdviseNotify(IVMRSurfaceAllocatorEx9* This,IVMRSurfaceAllocatorNotify9 *allocnotify) { + return This->lpVtbl->AdviseNotify(This,allocnotify); +} +/*** IVMRSurfaceAllocatorEx9 methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorEx9_GetSurfaceEx(IVMRSurfaceAllocatorEx9* This,DWORD_PTR id,DWORD surfaceindex,DWORD flags,IDirect3DSurface9 **surface,RECT *dest) { + return This->lpVtbl->GetSurfaceEx(This,id,surfaceindex,flags,surface,dest); +} +#endif +#endif + +#endif + + +#endif /* __IVMRSurfaceAllocatorEx9_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRSurfaceAllocatorNotify9 interface + */ +#ifndef __IVMRSurfaceAllocatorNotify9_INTERFACE_DEFINED__ +#define __IVMRSurfaceAllocatorNotify9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRSurfaceAllocatorNotify9, 0xdca3f5df, 0xbb3a, 0x4d03, 0xbd,0x81, 0x84,0x61,0x4b,0xfb,0xfa,0x0c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dca3f5df-bb3a-4d03-bd81-84614bfbfa0c") +IVMRSurfaceAllocatorNotify9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdviseSurfaceAllocator( + DWORD_PTR id, + IVMRSurfaceAllocator9 *alloc) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetD3DDevice( + IDirect3DDevice9 *device, + HMONITOR monitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangeD3DDevice( + IDirect3DDevice9 *device, + HMONITOR monitor) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocateSurfaceHelper( + VMR9AllocationInfo *allocinfo, + DWORD *numbuffers, + IDirect3DSurface9 **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyEvent( + LONG code, + LONG_PTR param1, + LONG_PTR param2) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRSurfaceAllocatorNotify9, 0xdca3f5df, 0xbb3a, 0x4d03, 0xbd,0x81, 0x84,0x61,0x4b,0xfb,0xfa,0x0c) +#endif +#else +typedef struct IVMRSurfaceAllocatorNotify9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRSurfaceAllocatorNotify9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRSurfaceAllocatorNotify9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRSurfaceAllocatorNotify9 *This); + + /*** IVMRSurfaceAllocatorNotify9 methods ***/ + HRESULT (STDMETHODCALLTYPE *AdviseSurfaceAllocator)( + IVMRSurfaceAllocatorNotify9 *This, + DWORD_PTR id, + IVMRSurfaceAllocator9 *alloc); + + HRESULT (STDMETHODCALLTYPE *SetD3DDevice)( + IVMRSurfaceAllocatorNotify9 *This, + IDirect3DDevice9 *device, + HMONITOR monitor); + + HRESULT (STDMETHODCALLTYPE *ChangeD3DDevice)( + IVMRSurfaceAllocatorNotify9 *This, + IDirect3DDevice9 *device, + HMONITOR monitor); + + HRESULT (STDMETHODCALLTYPE *AllocateSurfaceHelper)( + IVMRSurfaceAllocatorNotify9 *This, + VMR9AllocationInfo *allocinfo, + DWORD *numbuffers, + IDirect3DSurface9 **surface); + + HRESULT (STDMETHODCALLTYPE *NotifyEvent)( + IVMRSurfaceAllocatorNotify9 *This, + LONG code, + LONG_PTR param1, + LONG_PTR param2); + + END_INTERFACE +} IVMRSurfaceAllocatorNotify9Vtbl; + +interface IVMRSurfaceAllocatorNotify9 { + CONST_VTBL IVMRSurfaceAllocatorNotify9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRSurfaceAllocatorNotify9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRSurfaceAllocatorNotify9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRSurfaceAllocatorNotify9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRSurfaceAllocatorNotify9 methods ***/ +#define IVMRSurfaceAllocatorNotify9_AdviseSurfaceAllocator(This,id,alloc) (This)->lpVtbl->AdviseSurfaceAllocator(This,id,alloc) +#define IVMRSurfaceAllocatorNotify9_SetD3DDevice(This,device,monitor) (This)->lpVtbl->SetD3DDevice(This,device,monitor) +#define IVMRSurfaceAllocatorNotify9_ChangeD3DDevice(This,device,monitor) (This)->lpVtbl->ChangeD3DDevice(This,device,monitor) +#define IVMRSurfaceAllocatorNotify9_AllocateSurfaceHelper(This,allocinfo,numbuffers,surface) (This)->lpVtbl->AllocateSurfaceHelper(This,allocinfo,numbuffers,surface) +#define IVMRSurfaceAllocatorNotify9_NotifyEvent(This,code,param1,param2) (This)->lpVtbl->NotifyEvent(This,code,param1,param2) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify9_QueryInterface(IVMRSurfaceAllocatorNotify9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRSurfaceAllocatorNotify9_AddRef(IVMRSurfaceAllocatorNotify9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRSurfaceAllocatorNotify9_Release(IVMRSurfaceAllocatorNotify9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRSurfaceAllocatorNotify9 methods ***/ +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify9_AdviseSurfaceAllocator(IVMRSurfaceAllocatorNotify9* This,DWORD_PTR id,IVMRSurfaceAllocator9 *alloc) { + return This->lpVtbl->AdviseSurfaceAllocator(This,id,alloc); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify9_SetD3DDevice(IVMRSurfaceAllocatorNotify9* This,IDirect3DDevice9 *device,HMONITOR monitor) { + return This->lpVtbl->SetD3DDevice(This,device,monitor); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify9_ChangeD3DDevice(IVMRSurfaceAllocatorNotify9* This,IDirect3DDevice9 *device,HMONITOR monitor) { + return This->lpVtbl->ChangeD3DDevice(This,device,monitor); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify9_AllocateSurfaceHelper(IVMRSurfaceAllocatorNotify9* This,VMR9AllocationInfo *allocinfo,DWORD *numbuffers,IDirect3DSurface9 **surface) { + return This->lpVtbl->AllocateSurfaceHelper(This,allocinfo,numbuffers,surface); +} +static FORCEINLINE HRESULT IVMRSurfaceAllocatorNotify9_NotifyEvent(IVMRSurfaceAllocatorNotify9* This,LONG code,LONG_PTR param1,LONG_PTR param2) { + return This->lpVtbl->NotifyEvent(This,code,param1,param2); +} +#endif +#endif + +#endif + + +#endif /* __IVMRSurfaceAllocatorNotify9_INTERFACE_DEFINED__ */ + +typedef enum _VMR9AspectRatioMode { + VMR9ARMode_None = 0, + VMR9ARMode_LetterBox = 1 +} VMR9AspectRatioMode; +/***************************************************************************** + * IVMRWindowlessControl9 interface + */ +#ifndef __IVMRWindowlessControl9_INTERFACE_DEFINED__ +#define __IVMRWindowlessControl9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRWindowlessControl9, 0x8f537d09, 0xf85e, 0x4414, 0xb2,0x3b, 0x50,0x2e,0x54,0xc7,0x99,0x27); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f537d09-f85e-4414-b23b-502e54c79927") +IVMRWindowlessControl9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNativeVideoSize( + LONG *width, + LONG *height, + LONG *arwidth, + LONG *arheight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMinIdealVideoSize( + LONG *width, + LONG *height) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxIdealVideoSize( + LONG *width, + LONG *height) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoPosition( + const RECT *source, + const RECT *dest) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoPosition( + RECT *source, + RECT *dest) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( + DWORD *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( + DWORD mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoClippingWindow( + HWND hwnd) = 0; + + virtual HRESULT STDMETHODCALLTYPE RepaintVideo( + HWND hwnd, + HDC hdc) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayModeChanged( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentImage( + BYTE **dib) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBorderColor( + COLORREF color) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBorderColor( + COLORREF *color) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRWindowlessControl9, 0x8f537d09, 0xf85e, 0x4414, 0xb2,0x3b, 0x50,0x2e,0x54,0xc7,0x99,0x27) +#endif +#else +typedef struct IVMRWindowlessControl9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRWindowlessControl9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRWindowlessControl9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRWindowlessControl9 *This); + + /*** IVMRWindowlessControl9 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNativeVideoSize)( + IVMRWindowlessControl9 *This, + LONG *width, + LONG *height, + LONG *arwidth, + LONG *arheight); + + HRESULT (STDMETHODCALLTYPE *GetMinIdealVideoSize)( + IVMRWindowlessControl9 *This, + LONG *width, + LONG *height); + + HRESULT (STDMETHODCALLTYPE *GetMaxIdealVideoSize)( + IVMRWindowlessControl9 *This, + LONG *width, + LONG *height); + + HRESULT (STDMETHODCALLTYPE *SetVideoPosition)( + IVMRWindowlessControl9 *This, + const RECT *source, + const RECT *dest); + + HRESULT (STDMETHODCALLTYPE *GetVideoPosition)( + IVMRWindowlessControl9 *This, + RECT *source, + RECT *dest); + + HRESULT (STDMETHODCALLTYPE *GetAspectRatioMode)( + IVMRWindowlessControl9 *This, + DWORD *mode); + + HRESULT (STDMETHODCALLTYPE *SetAspectRatioMode)( + IVMRWindowlessControl9 *This, + DWORD mode); + + HRESULT (STDMETHODCALLTYPE *SetVideoClippingWindow)( + IVMRWindowlessControl9 *This, + HWND hwnd); + + HRESULT (STDMETHODCALLTYPE *RepaintVideo)( + IVMRWindowlessControl9 *This, + HWND hwnd, + HDC hdc); + + HRESULT (STDMETHODCALLTYPE *DisplayModeChanged)( + IVMRWindowlessControl9 *This); + + HRESULT (STDMETHODCALLTYPE *GetCurrentImage)( + IVMRWindowlessControl9 *This, + BYTE **dib); + + HRESULT (STDMETHODCALLTYPE *SetBorderColor)( + IVMRWindowlessControl9 *This, + COLORREF color); + + HRESULT (STDMETHODCALLTYPE *GetBorderColor)( + IVMRWindowlessControl9 *This, + COLORREF *color); + + END_INTERFACE +} IVMRWindowlessControl9Vtbl; + +interface IVMRWindowlessControl9 { + CONST_VTBL IVMRWindowlessControl9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRWindowlessControl9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRWindowlessControl9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRWindowlessControl9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRWindowlessControl9 methods ***/ +#define IVMRWindowlessControl9_GetNativeVideoSize(This,width,height,arwidth,arheight) (This)->lpVtbl->GetNativeVideoSize(This,width,height,arwidth,arheight) +#define IVMRWindowlessControl9_GetMinIdealVideoSize(This,width,height) (This)->lpVtbl->GetMinIdealVideoSize(This,width,height) +#define IVMRWindowlessControl9_GetMaxIdealVideoSize(This,width,height) (This)->lpVtbl->GetMaxIdealVideoSize(This,width,height) +#define IVMRWindowlessControl9_SetVideoPosition(This,source,dest) (This)->lpVtbl->SetVideoPosition(This,source,dest) +#define IVMRWindowlessControl9_GetVideoPosition(This,source,dest) (This)->lpVtbl->GetVideoPosition(This,source,dest) +#define IVMRWindowlessControl9_GetAspectRatioMode(This,mode) (This)->lpVtbl->GetAspectRatioMode(This,mode) +#define IVMRWindowlessControl9_SetAspectRatioMode(This,mode) (This)->lpVtbl->SetAspectRatioMode(This,mode) +#define IVMRWindowlessControl9_SetVideoClippingWindow(This,hwnd) (This)->lpVtbl->SetVideoClippingWindow(This,hwnd) +#define IVMRWindowlessControl9_RepaintVideo(This,hwnd,hdc) (This)->lpVtbl->RepaintVideo(This,hwnd,hdc) +#define IVMRWindowlessControl9_DisplayModeChanged(This) (This)->lpVtbl->DisplayModeChanged(This) +#define IVMRWindowlessControl9_GetCurrentImage(This,dib) (This)->lpVtbl->GetCurrentImage(This,dib) +#define IVMRWindowlessControl9_SetBorderColor(This,color) (This)->lpVtbl->SetBorderColor(This,color) +#define IVMRWindowlessControl9_GetBorderColor(This,color) (This)->lpVtbl->GetBorderColor(This,color) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRWindowlessControl9_QueryInterface(IVMRWindowlessControl9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRWindowlessControl9_AddRef(IVMRWindowlessControl9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRWindowlessControl9_Release(IVMRWindowlessControl9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRWindowlessControl9 methods ***/ +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetNativeVideoSize(IVMRWindowlessControl9* This,LONG *width,LONG *height,LONG *arwidth,LONG *arheight) { + return This->lpVtbl->GetNativeVideoSize(This,width,height,arwidth,arheight); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetMinIdealVideoSize(IVMRWindowlessControl9* This,LONG *width,LONG *height) { + return This->lpVtbl->GetMinIdealVideoSize(This,width,height); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetMaxIdealVideoSize(IVMRWindowlessControl9* This,LONG *width,LONG *height) { + return This->lpVtbl->GetMaxIdealVideoSize(This,width,height); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_SetVideoPosition(IVMRWindowlessControl9* This,const RECT *source,const RECT *dest) { + return This->lpVtbl->SetVideoPosition(This,source,dest); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetVideoPosition(IVMRWindowlessControl9* This,RECT *source,RECT *dest) { + return This->lpVtbl->GetVideoPosition(This,source,dest); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetAspectRatioMode(IVMRWindowlessControl9* This,DWORD *mode) { + return This->lpVtbl->GetAspectRatioMode(This,mode); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_SetAspectRatioMode(IVMRWindowlessControl9* This,DWORD mode) { + return This->lpVtbl->SetAspectRatioMode(This,mode); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_SetVideoClippingWindow(IVMRWindowlessControl9* This,HWND hwnd) { + return This->lpVtbl->SetVideoClippingWindow(This,hwnd); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_RepaintVideo(IVMRWindowlessControl9* This,HWND hwnd,HDC hdc) { + return This->lpVtbl->RepaintVideo(This,hwnd,hdc); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_DisplayModeChanged(IVMRWindowlessControl9* This) { + return This->lpVtbl->DisplayModeChanged(This); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetCurrentImage(IVMRWindowlessControl9* This,BYTE **dib) { + return This->lpVtbl->GetCurrentImage(This,dib); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_SetBorderColor(IVMRWindowlessControl9* This,COLORREF color) { + return This->lpVtbl->SetBorderColor(This,color); +} +static FORCEINLINE HRESULT IVMRWindowlessControl9_GetBorderColor(IVMRWindowlessControl9* This,COLORREF *color) { + return This->lpVtbl->GetBorderColor(This,color); +} +#endif +#endif + +#endif + + +#endif /* __IVMRWindowlessControl9_INTERFACE_DEFINED__ */ + +typedef enum _VMR9MixerPrefs { + MixerPref9_NoDecimation = 0x1, + MixerPref9_DecimateOutput = 0x2, + MixerPref9_ARAdjustXorY = 0x4, + MixerPref9_NonSquareMixing = 0x8, + MixerPref9_DecimateMask = 0xf, + MixerPref9_BiLinearFiltering = 0x10, + MixerPref9_PointFiltering = 0x20, + MixerPref9_AnisotropicFiltering = 0x40, + MixerPref9_PyramidalQuadFiltering = 0x80, + MixerPref9_GaussianQuadFiltering = 0x100, + MixerPref9_FilteringReserved = 0xe00, + MixerPref9_FilteringMask = 0xff0, + MixerPref9_RenderTargetRGB = 0x1000, + MixerPref9_RenderTargetYUV = 0x2000, + MixerPref9_RenderTargetReserved = 0xfc000, + MixerPref9_DynamicSwitchToBOB = 0x100000, + MixerPref9_DynamicDecimateBy2 = 0x200000, + MixerPref9_DynamicReserved = 0xc00000, + MixerPref9_DynamicMask = 0xf00000 +} VMR9MixerPrefs; +typedef struct _VMR9NormalizedRect { + FLOAT left; + FLOAT top; + FLOAT right; + FLOAT bottom; +} VMR9NormalizedRect; +typedef enum _VMR9ProcAmpControlFlags { + ProcAmpControl9_Brightness = 0x1, + ProcAmpControl9_Contrast = 0x2, + ProcAmpControl9_Hue = 0x4, + ProcAmpControl9_Saturation = 0x8, + ProcAmpControl9_Mask = 0xf +} VMR9ProcAmpControlFlags; +typedef struct _VMR9ProcAmpControl { + DWORD dwSize; + DWORD dwFlags; + FLOAT Brightness; + FLOAT Contrast; + FLOAT Hue; + FLOAT Saturation; +} VMR9ProcAmpControl; +typedef struct _VMR9ProcAmpControlRange { + DWORD dwSize; + VMR9ProcAmpControlFlags dwProperty; + FLOAT MinValue; + FLOAT MaxValue; + FLOAT DefaultValue; + FLOAT StepSize; +} VMR9ProcAmpControlRange; +/***************************************************************************** + * IVMRMixerControl9 interface + */ +#ifndef __IVMRMixerControl9_INTERFACE_DEFINED__ +#define __IVMRMixerControl9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRMixerControl9, 0x1a777eaa, 0x47c8, 0x4930, 0xb2,0xc9, 0x8f,0xee,0x1c,0x1b,0x0f,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1a777eaa-47c8-4930-b2c9-8fee1c1b0f3b") +IVMRMixerControl9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAlpha( + DWORD streamid, + FLOAT alpha) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlpha( + DWORD streamid, + FLOAT *alpha) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetZOrder( + DWORD streamid, + DWORD zorder) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetZOrder( + DWORD streamid, + DWORD *zorder) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputRect( + DWORD streamid, + const VMR9NormalizedRect *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputRect( + DWORD streamid, + VMR9NormalizedRect *rect) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBackgroundClr( + COLORREF back) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBackgroundClr( + COLORREF *back) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMixingPrefs( + DWORD mixingprefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMixingPrefs( + DWORD *mixingprefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProcAmpControl( + DWORD streamid, + VMR9ProcAmpControl *control) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAmpControl( + DWORD streamid, + VMR9ProcAmpControl *control) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAmpControlRange( + DWORD streamid, + VMR9ProcAmpControlRange *controlrange) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRMixerControl9, 0x1a777eaa, 0x47c8, 0x4930, 0xb2,0xc9, 0x8f,0xee,0x1c,0x1b,0x0f,0x3b) +#endif +#else +typedef struct IVMRMixerControl9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRMixerControl9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRMixerControl9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRMixerControl9 *This); + + /*** IVMRMixerControl9 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAlpha)( + IVMRMixerControl9 *This, + DWORD streamid, + FLOAT alpha); + + HRESULT (STDMETHODCALLTYPE *GetAlpha)( + IVMRMixerControl9 *This, + DWORD streamid, + FLOAT *alpha); + + HRESULT (STDMETHODCALLTYPE *SetZOrder)( + IVMRMixerControl9 *This, + DWORD streamid, + DWORD zorder); + + HRESULT (STDMETHODCALLTYPE *GetZOrder)( + IVMRMixerControl9 *This, + DWORD streamid, + DWORD *zorder); + + HRESULT (STDMETHODCALLTYPE *SetOutputRect)( + IVMRMixerControl9 *This, + DWORD streamid, + const VMR9NormalizedRect *rect); + + HRESULT (STDMETHODCALLTYPE *GetOutputRect)( + IVMRMixerControl9 *This, + DWORD streamid, + VMR9NormalizedRect *rect); + + HRESULT (STDMETHODCALLTYPE *SetBackgroundClr)( + IVMRMixerControl9 *This, + COLORREF back); + + HRESULT (STDMETHODCALLTYPE *GetBackgroundClr)( + IVMRMixerControl9 *This, + COLORREF *back); + + HRESULT (STDMETHODCALLTYPE *SetMixingPrefs)( + IVMRMixerControl9 *This, + DWORD mixingprefs); + + HRESULT (STDMETHODCALLTYPE *GetMixingPrefs)( + IVMRMixerControl9 *This, + DWORD *mixingprefs); + + HRESULT (STDMETHODCALLTYPE *SetProcAmpControl)( + IVMRMixerControl9 *This, + DWORD streamid, + VMR9ProcAmpControl *control); + + HRESULT (STDMETHODCALLTYPE *GetProcAmpControl)( + IVMRMixerControl9 *This, + DWORD streamid, + VMR9ProcAmpControl *control); + + HRESULT (STDMETHODCALLTYPE *GetProcAmpControlRange)( + IVMRMixerControl9 *This, + DWORD streamid, + VMR9ProcAmpControlRange *controlrange); + + END_INTERFACE +} IVMRMixerControl9Vtbl; + +interface IVMRMixerControl9 { + CONST_VTBL IVMRMixerControl9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRMixerControl9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRMixerControl9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRMixerControl9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRMixerControl9 methods ***/ +#define IVMRMixerControl9_SetAlpha(This,streamid,alpha) (This)->lpVtbl->SetAlpha(This,streamid,alpha) +#define IVMRMixerControl9_GetAlpha(This,streamid,alpha) (This)->lpVtbl->GetAlpha(This,streamid,alpha) +#define IVMRMixerControl9_SetZOrder(This,streamid,zorder) (This)->lpVtbl->SetZOrder(This,streamid,zorder) +#define IVMRMixerControl9_GetZOrder(This,streamid,zorder) (This)->lpVtbl->GetZOrder(This,streamid,zorder) +#define IVMRMixerControl9_SetOutputRect(This,streamid,rect) (This)->lpVtbl->SetOutputRect(This,streamid,rect) +#define IVMRMixerControl9_GetOutputRect(This,streamid,rect) (This)->lpVtbl->GetOutputRect(This,streamid,rect) +#define IVMRMixerControl9_SetBackgroundClr(This,back) (This)->lpVtbl->SetBackgroundClr(This,back) +#define IVMRMixerControl9_GetBackgroundClr(This,back) (This)->lpVtbl->GetBackgroundClr(This,back) +#define IVMRMixerControl9_SetMixingPrefs(This,mixingprefs) (This)->lpVtbl->SetMixingPrefs(This,mixingprefs) +#define IVMRMixerControl9_GetMixingPrefs(This,mixingprefs) (This)->lpVtbl->GetMixingPrefs(This,mixingprefs) +#define IVMRMixerControl9_SetProcAmpControl(This,streamid,control) (This)->lpVtbl->SetProcAmpControl(This,streamid,control) +#define IVMRMixerControl9_GetProcAmpControl(This,streamid,control) (This)->lpVtbl->GetProcAmpControl(This,streamid,control) +#define IVMRMixerControl9_GetProcAmpControlRange(This,streamid,controlrange) (This)->lpVtbl->GetProcAmpControlRange(This,streamid,controlrange) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRMixerControl9_QueryInterface(IVMRMixerControl9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRMixerControl9_AddRef(IVMRMixerControl9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRMixerControl9_Release(IVMRMixerControl9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRMixerControl9 methods ***/ +static FORCEINLINE HRESULT IVMRMixerControl9_SetAlpha(IVMRMixerControl9* This,DWORD streamid,FLOAT alpha) { + return This->lpVtbl->SetAlpha(This,streamid,alpha); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetAlpha(IVMRMixerControl9* This,DWORD streamid,FLOAT *alpha) { + return This->lpVtbl->GetAlpha(This,streamid,alpha); +} +static FORCEINLINE HRESULT IVMRMixerControl9_SetZOrder(IVMRMixerControl9* This,DWORD streamid,DWORD zorder) { + return This->lpVtbl->SetZOrder(This,streamid,zorder); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetZOrder(IVMRMixerControl9* This,DWORD streamid,DWORD *zorder) { + return This->lpVtbl->GetZOrder(This,streamid,zorder); +} +static FORCEINLINE HRESULT IVMRMixerControl9_SetOutputRect(IVMRMixerControl9* This,DWORD streamid,const VMR9NormalizedRect *rect) { + return This->lpVtbl->SetOutputRect(This,streamid,rect); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetOutputRect(IVMRMixerControl9* This,DWORD streamid,VMR9NormalizedRect *rect) { + return This->lpVtbl->GetOutputRect(This,streamid,rect); +} +static FORCEINLINE HRESULT IVMRMixerControl9_SetBackgroundClr(IVMRMixerControl9* This,COLORREF back) { + return This->lpVtbl->SetBackgroundClr(This,back); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetBackgroundClr(IVMRMixerControl9* This,COLORREF *back) { + return This->lpVtbl->GetBackgroundClr(This,back); +} +static FORCEINLINE HRESULT IVMRMixerControl9_SetMixingPrefs(IVMRMixerControl9* This,DWORD mixingprefs) { + return This->lpVtbl->SetMixingPrefs(This,mixingprefs); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetMixingPrefs(IVMRMixerControl9* This,DWORD *mixingprefs) { + return This->lpVtbl->GetMixingPrefs(This,mixingprefs); +} +static FORCEINLINE HRESULT IVMRMixerControl9_SetProcAmpControl(IVMRMixerControl9* This,DWORD streamid,VMR9ProcAmpControl *control) { + return This->lpVtbl->SetProcAmpControl(This,streamid,control); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetProcAmpControl(IVMRMixerControl9* This,DWORD streamid,VMR9ProcAmpControl *control) { + return This->lpVtbl->GetProcAmpControl(This,streamid,control); +} +static FORCEINLINE HRESULT IVMRMixerControl9_GetProcAmpControlRange(IVMRMixerControl9* This,DWORD streamid,VMR9ProcAmpControlRange *controlrange) { + return This->lpVtbl->GetProcAmpControlRange(This,streamid,controlrange); +} +#endif +#endif + +#endif + + +#endif /* __IVMRMixerControl9_INTERFACE_DEFINED__ */ + +typedef struct _VMR9AlphaBitmap { + DWORD dwFlags; + HDC hdc; + IDirect3DSurface9 *pDDS; + RECT rSrc; + VMR9NormalizedRect *rDest; + FLOAT fAlpha; + COLORREF clrSrcKey; + DWORD dwFilterMode; +} VMR9AlphaBitmap; +typedef enum _VMR9AlphaBitmapFlags { + VMR9AlphaBitmap_Disable = 0x1, + VMR9AlphaBitmap_hDC = 0x2, + VMR9AlphaBitmap_EntireDDS = 0x4, + VMR9AlphaBitmap_SrcColorKey = 0x8, + VMR9AlphaBitmap_SrcRect = 0x10, + VMR9AlphaBitmap_FilterMode = 0x20 +} VMR9AlphaBitmapFlags; +/***************************************************************************** + * IVMRMixerBitmap9 interface + */ +#ifndef __IVMRMixerBitmap9_INTERFACE_DEFINED__ +#define __IVMRMixerBitmap9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRMixerBitmap9, 0xced175e5, 0x1935, 0x4820, 0x81,0xbd, 0xff,0x6a,0xd0,0x0c,0x91,0x08); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ced175e5-1935-4820-81bd-ff6ad00c9108") +IVMRMixerBitmap9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAlphaBitmap( + const VMR9AlphaBitmap *bitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateAlphaBitmapParameters( + const VMR9AlphaBitmap *bitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlphaBitmapParameters( + VMR9AlphaBitmap *bitmap) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRMixerBitmap9, 0xced175e5, 0x1935, 0x4820, 0x81,0xbd, 0xff,0x6a,0xd0,0x0c,0x91,0x08) +#endif +#else +typedef struct IVMRMixerBitmap9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRMixerBitmap9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRMixerBitmap9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRMixerBitmap9 *This); + + /*** IVMRMixerBitmap9 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAlphaBitmap)( + IVMRMixerBitmap9 *This, + const VMR9AlphaBitmap *bitmap); + + HRESULT (STDMETHODCALLTYPE *UpdateAlphaBitmapParameters)( + IVMRMixerBitmap9 *This, + const VMR9AlphaBitmap *bitmap); + + HRESULT (STDMETHODCALLTYPE *GetAlphaBitmapParameters)( + IVMRMixerBitmap9 *This, + VMR9AlphaBitmap *bitmap); + + END_INTERFACE +} IVMRMixerBitmap9Vtbl; + +interface IVMRMixerBitmap9 { + CONST_VTBL IVMRMixerBitmap9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRMixerBitmap9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRMixerBitmap9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRMixerBitmap9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRMixerBitmap9 methods ***/ +#define IVMRMixerBitmap9_SetAlphaBitmap(This,bitmap) (This)->lpVtbl->SetAlphaBitmap(This,bitmap) +#define IVMRMixerBitmap9_UpdateAlphaBitmapParameters(This,bitmap) (This)->lpVtbl->UpdateAlphaBitmapParameters(This,bitmap) +#define IVMRMixerBitmap9_GetAlphaBitmapParameters(This,bitmap) (This)->lpVtbl->GetAlphaBitmapParameters(This,bitmap) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRMixerBitmap9_QueryInterface(IVMRMixerBitmap9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRMixerBitmap9_AddRef(IVMRMixerBitmap9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRMixerBitmap9_Release(IVMRMixerBitmap9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRMixerBitmap9 methods ***/ +static FORCEINLINE HRESULT IVMRMixerBitmap9_SetAlphaBitmap(IVMRMixerBitmap9* This,const VMR9AlphaBitmap *bitmap) { + return This->lpVtbl->SetAlphaBitmap(This,bitmap); +} +static FORCEINLINE HRESULT IVMRMixerBitmap9_UpdateAlphaBitmapParameters(IVMRMixerBitmap9* This,const VMR9AlphaBitmap *bitmap) { + return This->lpVtbl->UpdateAlphaBitmapParameters(This,bitmap); +} +static FORCEINLINE HRESULT IVMRMixerBitmap9_GetAlphaBitmapParameters(IVMRMixerBitmap9* This,VMR9AlphaBitmap *bitmap) { + return This->lpVtbl->GetAlphaBitmapParameters(This,bitmap); +} +#endif +#endif + +#endif + + +#endif /* __IVMRMixerBitmap9_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRSurface9 interface + */ +#ifndef __IVMRSurface9_INTERFACE_DEFINED__ +#define __IVMRSurface9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRSurface9, 0xdfc581a1, 0x6e1f, 0x4c3a, 0x8d,0x0a, 0x5e,0x97,0x92,0xea,0x2a,0xfc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dfc581a1-6e1f-4c3a-8d0a-5e9792ea2afc") +IVMRSurface9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsSurfaceLocked( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockSurface( + BYTE **surface) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnlockSurface( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSurface( + IDirect3DSurface9 **surface) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRSurface9, 0xdfc581a1, 0x6e1f, 0x4c3a, 0x8d,0x0a, 0x5e,0x97,0x92,0xea,0x2a,0xfc) +#endif +#else +typedef struct IVMRSurface9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRSurface9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRSurface9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRSurface9 *This); + + /*** IVMRSurface9 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsSurfaceLocked)( + IVMRSurface9 *This); + + HRESULT (STDMETHODCALLTYPE *LockSurface)( + IVMRSurface9 *This, + BYTE **surface); + + HRESULT (STDMETHODCALLTYPE *UnlockSurface)( + IVMRSurface9 *This); + + HRESULT (STDMETHODCALLTYPE *GetSurface)( + IVMRSurface9 *This, + IDirect3DSurface9 **surface); + + END_INTERFACE +} IVMRSurface9Vtbl; + +interface IVMRSurface9 { + CONST_VTBL IVMRSurface9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRSurface9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRSurface9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRSurface9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRSurface9 methods ***/ +#define IVMRSurface9_IsSurfaceLocked(This) (This)->lpVtbl->IsSurfaceLocked(This) +#define IVMRSurface9_LockSurface(This,surface) (This)->lpVtbl->LockSurface(This,surface) +#define IVMRSurface9_UnlockSurface(This) (This)->lpVtbl->UnlockSurface(This) +#define IVMRSurface9_GetSurface(This,surface) (This)->lpVtbl->GetSurface(This,surface) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRSurface9_QueryInterface(IVMRSurface9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRSurface9_AddRef(IVMRSurface9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRSurface9_Release(IVMRSurface9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRSurface9 methods ***/ +static FORCEINLINE HRESULT IVMRSurface9_IsSurfaceLocked(IVMRSurface9* This) { + return This->lpVtbl->IsSurfaceLocked(This); +} +static FORCEINLINE HRESULT IVMRSurface9_LockSurface(IVMRSurface9* This,BYTE **surface) { + return This->lpVtbl->LockSurface(This,surface); +} +static FORCEINLINE HRESULT IVMRSurface9_UnlockSurface(IVMRSurface9* This) { + return This->lpVtbl->UnlockSurface(This); +} +static FORCEINLINE HRESULT IVMRSurface9_GetSurface(IVMRSurface9* This,IDirect3DSurface9 **surface) { + return This->lpVtbl->GetSurface(This,surface); +} +#endif +#endif + +#endif + + +#endif /* __IVMRSurface9_INTERFACE_DEFINED__ */ + +typedef enum _VMR9RenderPrefs { + RenderPrefs9_DoNotRenderBorder = 0x1, + RenderPrefs9_Mask = 0x1 +} VMR9RenderPrefs; +/***************************************************************************** + * IVMRImagePresenterConfig9 interface + */ +#ifndef __IVMRImagePresenterConfig9_INTERFACE_DEFINED__ +#define __IVMRImagePresenterConfig9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImagePresenterConfig9, 0x45c15cab, 0x6e22, 0x420a, 0x80,0x43, 0xae,0x1f,0x0a,0xc0,0x2c,0x7d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("45c15cab-6e22-420a-8043-ae1f0ac02c7d") +IVMRImagePresenterConfig9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( + DWORD renderflags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( + DWORD *renderflags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImagePresenterConfig9, 0x45c15cab, 0x6e22, 0x420a, 0x80,0x43, 0xae,0x1f,0x0a,0xc0,0x2c,0x7d) +#endif +#else +typedef struct IVMRImagePresenterConfig9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImagePresenterConfig9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImagePresenterConfig9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImagePresenterConfig9 *This); + + /*** IVMRImagePresenterConfig9 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetRenderingPrefs)( + IVMRImagePresenterConfig9 *This, + DWORD renderflags); + + HRESULT (STDMETHODCALLTYPE *GetRenderingPrefs)( + IVMRImagePresenterConfig9 *This, + DWORD *renderflags); + + END_INTERFACE +} IVMRImagePresenterConfig9Vtbl; + +interface IVMRImagePresenterConfig9 { + CONST_VTBL IVMRImagePresenterConfig9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImagePresenterConfig9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImagePresenterConfig9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImagePresenterConfig9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImagePresenterConfig9 methods ***/ +#define IVMRImagePresenterConfig9_SetRenderingPrefs(This,renderflags) (This)->lpVtbl->SetRenderingPrefs(This,renderflags) +#define IVMRImagePresenterConfig9_GetRenderingPrefs(This,renderflags) (This)->lpVtbl->GetRenderingPrefs(This,renderflags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterConfig9_QueryInterface(IVMRImagePresenterConfig9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImagePresenterConfig9_AddRef(IVMRImagePresenterConfig9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImagePresenterConfig9_Release(IVMRImagePresenterConfig9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImagePresenterConfig9 methods ***/ +static FORCEINLINE HRESULT IVMRImagePresenterConfig9_SetRenderingPrefs(IVMRImagePresenterConfig9* This,DWORD renderflags) { + return This->lpVtbl->SetRenderingPrefs(This,renderflags); +} +static FORCEINLINE HRESULT IVMRImagePresenterConfig9_GetRenderingPrefs(IVMRImagePresenterConfig9* This,DWORD *renderflags) { + return This->lpVtbl->GetRenderingPrefs(This,renderflags); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImagePresenterConfig9_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRVideoStreamControl9 interface + */ +#ifndef __IVMRVideoStreamControl9_INTERFACE_DEFINED__ +#define __IVMRVideoStreamControl9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRVideoStreamControl9, 0xd0cfe38b, 0x93e7, 0x4772, 0x89,0x57, 0x04,0x00,0xc4,0x9a,0x44,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d0cfe38b-93e7-4772-8957-0400c49a4485") +IVMRVideoStreamControl9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetStreamActiveState( + BOOL active) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamActiveState( + BOOL *active) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRVideoStreamControl9, 0xd0cfe38b, 0x93e7, 0x4772, 0x89,0x57, 0x04,0x00,0xc4,0x9a,0x44,0x85) +#endif +#else +typedef struct IVMRVideoStreamControl9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRVideoStreamControl9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRVideoStreamControl9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRVideoStreamControl9 *This); + + /*** IVMRVideoStreamControl9 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetStreamActiveState)( + IVMRVideoStreamControl9 *This, + BOOL active); + + HRESULT (STDMETHODCALLTYPE *GetStreamActiveState)( + IVMRVideoStreamControl9 *This, + BOOL *active); + + END_INTERFACE +} IVMRVideoStreamControl9Vtbl; + +interface IVMRVideoStreamControl9 { + CONST_VTBL IVMRVideoStreamControl9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRVideoStreamControl9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRVideoStreamControl9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRVideoStreamControl9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRVideoStreamControl9 methods ***/ +#define IVMRVideoStreamControl9_SetStreamActiveState(This,active) (This)->lpVtbl->SetStreamActiveState(This,active) +#define IVMRVideoStreamControl9_GetStreamActiveState(This,active) (This)->lpVtbl->GetStreamActiveState(This,active) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRVideoStreamControl9_QueryInterface(IVMRVideoStreamControl9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRVideoStreamControl9_AddRef(IVMRVideoStreamControl9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRVideoStreamControl9_Release(IVMRVideoStreamControl9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRVideoStreamControl9 methods ***/ +static FORCEINLINE HRESULT IVMRVideoStreamControl9_SetStreamActiveState(IVMRVideoStreamControl9* This,BOOL active) { + return This->lpVtbl->SetStreamActiveState(This,active); +} +static FORCEINLINE HRESULT IVMRVideoStreamControl9_GetStreamActiveState(IVMRVideoStreamControl9* This,BOOL *active) { + return This->lpVtbl->GetStreamActiveState(This,active); +} +#endif +#endif + +#endif + + +#endif /* __IVMRVideoStreamControl9_INTERFACE_DEFINED__ */ + +typedef enum _VMR9Mode { + VMR9Mode_Windowed = 0x1, + VMR9Mode_Windowless = 0x2, + VMR9Mode_Renderless = 0x4, + VMR9Mode_Mask = 0x7 +} VMR9Mode; +/***************************************************************************** + * IVMRFilterConfig9 interface + */ +#ifndef __IVMRFilterConfig9_INTERFACE_DEFINED__ +#define __IVMRFilterConfig9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRFilterConfig9, 0x5a804648, 0x4f66, 0x4867, 0x9c,0x43, 0x4f,0x5c,0x82,0x2c,0xf1,0xb8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5a804648-4f66-4867-9c43-4f5c822cf1b8") +IVMRFilterConfig9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetImageCompositor( + IVMRImageCompositor9 *compositor) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNumberOfStreams( + DWORD max) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( + DWORD *max) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( + DWORD renderflags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( + DWORD *renderflags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRenderingMode( + DWORD mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingMode( + DWORD *mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRFilterConfig9, 0x5a804648, 0x4f66, 0x4867, 0x9c,0x43, 0x4f,0x5c,0x82,0x2c,0xf1,0xb8) +#endif +#else +typedef struct IVMRFilterConfig9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRFilterConfig9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRFilterConfig9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRFilterConfig9 *This); + + /*** IVMRFilterConfig9 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetImageCompositor)( + IVMRFilterConfig9 *This, + IVMRImageCompositor9 *compositor); + + HRESULT (STDMETHODCALLTYPE *SetNumberOfStreams)( + IVMRFilterConfig9 *This, + DWORD max); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfStreams)( + IVMRFilterConfig9 *This, + DWORD *max); + + HRESULT (STDMETHODCALLTYPE *SetRenderingPrefs)( + IVMRFilterConfig9 *This, + DWORD renderflags); + + HRESULT (STDMETHODCALLTYPE *GetRenderingPrefs)( + IVMRFilterConfig9 *This, + DWORD *renderflags); + + HRESULT (STDMETHODCALLTYPE *SetRenderingMode)( + IVMRFilterConfig9 *This, + DWORD mode); + + HRESULT (STDMETHODCALLTYPE *GetRenderingMode)( + IVMRFilterConfig9 *This, + DWORD *mode); + + END_INTERFACE +} IVMRFilterConfig9Vtbl; + +interface IVMRFilterConfig9 { + CONST_VTBL IVMRFilterConfig9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRFilterConfig9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRFilterConfig9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRFilterConfig9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRFilterConfig9 methods ***/ +#define IVMRFilterConfig9_SetImageCompositor(This,compositor) (This)->lpVtbl->SetImageCompositor(This,compositor) +#define IVMRFilterConfig9_SetNumberOfStreams(This,max) (This)->lpVtbl->SetNumberOfStreams(This,max) +#define IVMRFilterConfig9_GetNumberOfStreams(This,max) (This)->lpVtbl->GetNumberOfStreams(This,max) +#define IVMRFilterConfig9_SetRenderingPrefs(This,renderflags) (This)->lpVtbl->SetRenderingPrefs(This,renderflags) +#define IVMRFilterConfig9_GetRenderingPrefs(This,renderflags) (This)->lpVtbl->GetRenderingPrefs(This,renderflags) +#define IVMRFilterConfig9_SetRenderingMode(This,mode) (This)->lpVtbl->SetRenderingMode(This,mode) +#define IVMRFilterConfig9_GetRenderingMode(This,mode) (This)->lpVtbl->GetRenderingMode(This,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRFilterConfig9_QueryInterface(IVMRFilterConfig9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRFilterConfig9_AddRef(IVMRFilterConfig9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRFilterConfig9_Release(IVMRFilterConfig9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRFilterConfig9 methods ***/ +static FORCEINLINE HRESULT IVMRFilterConfig9_SetImageCompositor(IVMRFilterConfig9* This,IVMRImageCompositor9 *compositor) { + return This->lpVtbl->SetImageCompositor(This,compositor); +} +static FORCEINLINE HRESULT IVMRFilterConfig9_SetNumberOfStreams(IVMRFilterConfig9* This,DWORD max) { + return This->lpVtbl->SetNumberOfStreams(This,max); +} +static FORCEINLINE HRESULT IVMRFilterConfig9_GetNumberOfStreams(IVMRFilterConfig9* This,DWORD *max) { + return This->lpVtbl->GetNumberOfStreams(This,max); +} +static FORCEINLINE HRESULT IVMRFilterConfig9_SetRenderingPrefs(IVMRFilterConfig9* This,DWORD renderflags) { + return This->lpVtbl->SetRenderingPrefs(This,renderflags); +} +static FORCEINLINE HRESULT IVMRFilterConfig9_GetRenderingPrefs(IVMRFilterConfig9* This,DWORD *renderflags) { + return This->lpVtbl->GetRenderingPrefs(This,renderflags); +} +static FORCEINLINE HRESULT IVMRFilterConfig9_SetRenderingMode(IVMRFilterConfig9* This,DWORD mode) { + return This->lpVtbl->SetRenderingMode(This,mode); +} +static FORCEINLINE HRESULT IVMRFilterConfig9_GetRenderingMode(IVMRFilterConfig9* This,DWORD *mode) { + return This->lpVtbl->GetRenderingMode(This,mode); +} +#endif +#endif + +#endif + + +#endif /* __IVMRFilterConfig9_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IVMRAspectRatioControl9 interface + */ +#ifndef __IVMRAspectRatioControl9_INTERFACE_DEFINED__ +#define __IVMRAspectRatioControl9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRAspectRatioControl9, 0x00d96c29, 0xbbde, 0x4efc, 0x99,0x01, 0xbb,0x50,0x36,0x39,0x21,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00d96c29-bbde-4efc-9901-bb5036392146") +IVMRAspectRatioControl9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( + DWORD *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( + DWORD mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRAspectRatioControl9, 0x00d96c29, 0xbbde, 0x4efc, 0x99,0x01, 0xbb,0x50,0x36,0x39,0x21,0x46) +#endif +#else +typedef struct IVMRAspectRatioControl9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRAspectRatioControl9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRAspectRatioControl9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRAspectRatioControl9 *This); + + /*** IVMRAspectRatioControl9 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAspectRatioMode)( + IVMRAspectRatioControl9 *This, + DWORD *mode); + + HRESULT (STDMETHODCALLTYPE *SetAspectRatioMode)( + IVMRAspectRatioControl9 *This, + DWORD mode); + + END_INTERFACE +} IVMRAspectRatioControl9Vtbl; + +interface IVMRAspectRatioControl9 { + CONST_VTBL IVMRAspectRatioControl9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRAspectRatioControl9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRAspectRatioControl9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRAspectRatioControl9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRAspectRatioControl9 methods ***/ +#define IVMRAspectRatioControl9_GetAspectRatioMode(This,mode) (This)->lpVtbl->GetAspectRatioMode(This,mode) +#define IVMRAspectRatioControl9_SetAspectRatioMode(This,mode) (This)->lpVtbl->SetAspectRatioMode(This,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRAspectRatioControl9_QueryInterface(IVMRAspectRatioControl9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRAspectRatioControl9_AddRef(IVMRAspectRatioControl9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRAspectRatioControl9_Release(IVMRAspectRatioControl9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRAspectRatioControl9 methods ***/ +static FORCEINLINE HRESULT IVMRAspectRatioControl9_GetAspectRatioMode(IVMRAspectRatioControl9* This,DWORD *mode) { + return This->lpVtbl->GetAspectRatioMode(This,mode); +} +static FORCEINLINE HRESULT IVMRAspectRatioControl9_SetAspectRatioMode(IVMRAspectRatioControl9* This,DWORD mode) { + return This->lpVtbl->SetAspectRatioMode(This,mode); +} +#endif +#endif + +#endif + + +#endif /* __IVMRAspectRatioControl9_INTERFACE_DEFINED__ */ + +typedef struct _VMR9MonitorInfo { + UINT uDevID; + RECT rcMonitor; + HMONITOR hMon; + DWORD dwFlags; + WCHAR szDevice[32]; + WCHAR szDescription[512]; + LARGE_INTEGER liDriverVersion; + DWORD dwVendorId; + DWORD dwDeviceId; + DWORD dwSubSysId; + DWORD dwRevision; +} VMR9MonitorInfo; +/***************************************************************************** + * IVMRMonitorConfig9 interface + */ +#ifndef __IVMRMonitorConfig9_INTERFACE_DEFINED__ +#define __IVMRMonitorConfig9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRMonitorConfig9, 0x46c2e457, 0x8ba0, 0x4eef, 0xb8,0x0b, 0x06,0x80,0xf0,0x97,0x87,0x49); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("46c2e457-8ba0-4eef-b80b-0680f0978749") +IVMRMonitorConfig9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetMonitor( + UINT uDev) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMonitor( + UINT *uDev) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDefaultMonitor( + UINT uDev) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultMonitor( + UINT *uDev) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAvailableMonitors( + VMR9MonitorInfo *info, + DWORD arraysize, + DWORD *numdev) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRMonitorConfig9, 0x46c2e457, 0x8ba0, 0x4eef, 0xb8,0x0b, 0x06,0x80,0xf0,0x97,0x87,0x49) +#endif +#else +typedef struct IVMRMonitorConfig9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRMonitorConfig9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRMonitorConfig9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRMonitorConfig9 *This); + + /*** IVMRMonitorConfig9 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMonitor)( + IVMRMonitorConfig9 *This, + UINT uDev); + + HRESULT (STDMETHODCALLTYPE *GetMonitor)( + IVMRMonitorConfig9 *This, + UINT *uDev); + + HRESULT (STDMETHODCALLTYPE *SetDefaultMonitor)( + IVMRMonitorConfig9 *This, + UINT uDev); + + HRESULT (STDMETHODCALLTYPE *GetDefaultMonitor)( + IVMRMonitorConfig9 *This, + UINT *uDev); + + HRESULT (STDMETHODCALLTYPE *GetAvailableMonitors)( + IVMRMonitorConfig9 *This, + VMR9MonitorInfo *info, + DWORD arraysize, + DWORD *numdev); + + END_INTERFACE +} IVMRMonitorConfig9Vtbl; + +interface IVMRMonitorConfig9 { + CONST_VTBL IVMRMonitorConfig9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRMonitorConfig9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRMonitorConfig9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRMonitorConfig9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRMonitorConfig9 methods ***/ +#define IVMRMonitorConfig9_SetMonitor(This,uDev) (This)->lpVtbl->SetMonitor(This,uDev) +#define IVMRMonitorConfig9_GetMonitor(This,uDev) (This)->lpVtbl->GetMonitor(This,uDev) +#define IVMRMonitorConfig9_SetDefaultMonitor(This,uDev) (This)->lpVtbl->SetDefaultMonitor(This,uDev) +#define IVMRMonitorConfig9_GetDefaultMonitor(This,uDev) (This)->lpVtbl->GetDefaultMonitor(This,uDev) +#define IVMRMonitorConfig9_GetAvailableMonitors(This,info,arraysize,numdev) (This)->lpVtbl->GetAvailableMonitors(This,info,arraysize,numdev) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRMonitorConfig9_QueryInterface(IVMRMonitorConfig9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRMonitorConfig9_AddRef(IVMRMonitorConfig9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRMonitorConfig9_Release(IVMRMonitorConfig9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRMonitorConfig9 methods ***/ +static FORCEINLINE HRESULT IVMRMonitorConfig9_SetMonitor(IVMRMonitorConfig9* This,UINT uDev) { + return This->lpVtbl->SetMonitor(This,uDev); +} +static FORCEINLINE HRESULT IVMRMonitorConfig9_GetMonitor(IVMRMonitorConfig9* This,UINT *uDev) { + return This->lpVtbl->GetMonitor(This,uDev); +} +static FORCEINLINE HRESULT IVMRMonitorConfig9_SetDefaultMonitor(IVMRMonitorConfig9* This,UINT uDev) { + return This->lpVtbl->SetDefaultMonitor(This,uDev); +} +static FORCEINLINE HRESULT IVMRMonitorConfig9_GetDefaultMonitor(IVMRMonitorConfig9* This,UINT *uDev) { + return This->lpVtbl->GetDefaultMonitor(This,uDev); +} +static FORCEINLINE HRESULT IVMRMonitorConfig9_GetAvailableMonitors(IVMRMonitorConfig9* This,VMR9MonitorInfo *info,DWORD arraysize,DWORD *numdev) { + return This->lpVtbl->GetAvailableMonitors(This,info,arraysize,numdev); +} +#endif +#endif + +#endif + + +#endif /* __IVMRMonitorConfig9_INTERFACE_DEFINED__ */ + +typedef enum _VMR9DeinterlacePrefs { + DeinterlacePref9_NextBest = 0x1, + DeinterlacePref9_BOB = 0x2, + DeinterlacePref9_Weave = 0x4, + DeinterlacePref9_Mask = 0x7 +} VMR9DeinterlacePrefs; +typedef enum _VMR9DeinterlaceTech { + DeinterlaceTech9_Unknown = 0, + DeinterlaceTech9_BOBLineReplicate = 0x1, + DeinterlaceTech9_BOBVerticalStretch = 0x2, + DeinterlaceTech9_MedianFiltering = 0x4, + DeinterlaceTech9_EdgeFiltering = 0x10, + DeinterlaceTech9_FieldAdaptive = 0x20, + DeinterlaceTech9_PixelAdaptive = 0x40, + DeinterlaceTech9_MotionVectorSteered = 0x80 +} VMR9DeinterlaceTech; +typedef struct _VMR9Frequency { + DWORD dwNumerator; + DWORD dwDenominator; +} VMR9Frequency; +typedef enum _VMR9_SampleFormat { + VMR9_SampleReserved = 1, + VMR9_SampleProgressiveFrame = 2, + VMR9_SampleFieldInterleavedEvenFirst = 3, + VMR9_SampleFieldInterleavedOddFirst = 4, + VMR9_SampleFieldSingleEven = 5, + VMR9_SampleFieldSingleOdd = 6 +} VMR9_SampleFormat; +typedef struct _VMR9VideoDesc { + DWORD dwSize; + DWORD dwSampleWidth; + DWORD dwSampleHeight; + VMR9_SampleFormat SampleFormat; + DWORD dwFourCC; + VMR9Frequency InputSampleFreq; + VMR9Frequency OutputFrameFreq; +} VMR9VideoDesc; +typedef struct _VMR9DeinterlaceCaps { + DWORD dwSize; + DWORD dwNumPreviousOutputFrames; + DWORD dwNumForwardRefSamples; + DWORD dwNumBackwardRefSamples; + VMR9DeinterlaceTech DeinterlaceTechnology; +} VMR9DeinterlaceCaps; +/***************************************************************************** + * IVMRDeinterlaceControl9 interface + */ +#ifndef __IVMRDeinterlaceControl9_INTERFACE_DEFINED__ +#define __IVMRDeinterlaceControl9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRDeinterlaceControl9, 0xa215fb8d, 0x13c2, 0x4f7f, 0x99,0x3c, 0x00,0x3d,0x62,0x71,0xa4,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a215fb8d-13c2-4f7f-993c-003d6271a459") +IVMRDeinterlaceControl9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNumberOfDeinterlaceModes( + VMR9VideoDesc *desc, + DWORD *nummodes, + GUID *modes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeinterlaceModeCaps( + GUID *mode, + VMR9VideoDesc *desc, + VMR9DeinterlaceCaps *caps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeinterlaceMode( + DWORD streamid, + GUID *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDeinterlaceMode( + DWORD streamid, + GUID *mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeinterlacePrefs( + DWORD *prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDeinterlacePrefs( + DWORD prefs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActualDeinterlaceMode( + DWORD streamid, + GUID *mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRDeinterlaceControl9, 0xa215fb8d, 0x13c2, 0x4f7f, 0x99,0x3c, 0x00,0x3d,0x62,0x71,0xa4,0x59) +#endif +#else +typedef struct IVMRDeinterlaceControl9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRDeinterlaceControl9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRDeinterlaceControl9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRDeinterlaceControl9 *This); + + /*** IVMRDeinterlaceControl9 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNumberOfDeinterlaceModes)( + IVMRDeinterlaceControl9 *This, + VMR9VideoDesc *desc, + DWORD *nummodes, + GUID *modes); + + HRESULT (STDMETHODCALLTYPE *GetDeinterlaceModeCaps)( + IVMRDeinterlaceControl9 *This, + GUID *mode, + VMR9VideoDesc *desc, + VMR9DeinterlaceCaps *caps); + + HRESULT (STDMETHODCALLTYPE *GetDeinterlaceMode)( + IVMRDeinterlaceControl9 *This, + DWORD streamid, + GUID *mode); + + HRESULT (STDMETHODCALLTYPE *SetDeinterlaceMode)( + IVMRDeinterlaceControl9 *This, + DWORD streamid, + GUID *mode); + + HRESULT (STDMETHODCALLTYPE *GetDeinterlacePrefs)( + IVMRDeinterlaceControl9 *This, + DWORD *prefs); + + HRESULT (STDMETHODCALLTYPE *SetDeinterlacePrefs)( + IVMRDeinterlaceControl9 *This, + DWORD prefs); + + HRESULT (STDMETHODCALLTYPE *GetActualDeinterlaceMode)( + IVMRDeinterlaceControl9 *This, + DWORD streamid, + GUID *mode); + + END_INTERFACE +} IVMRDeinterlaceControl9Vtbl; + +interface IVMRDeinterlaceControl9 { + CONST_VTBL IVMRDeinterlaceControl9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRDeinterlaceControl9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRDeinterlaceControl9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRDeinterlaceControl9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRDeinterlaceControl9 methods ***/ +#define IVMRDeinterlaceControl9_GetNumberOfDeinterlaceModes(This,desc,nummodes,modes) (This)->lpVtbl->GetNumberOfDeinterlaceModes(This,desc,nummodes,modes) +#define IVMRDeinterlaceControl9_GetDeinterlaceModeCaps(This,mode,desc,caps) (This)->lpVtbl->GetDeinterlaceModeCaps(This,mode,desc,caps) +#define IVMRDeinterlaceControl9_GetDeinterlaceMode(This,streamid,mode) (This)->lpVtbl->GetDeinterlaceMode(This,streamid,mode) +#define IVMRDeinterlaceControl9_SetDeinterlaceMode(This,streamid,mode) (This)->lpVtbl->SetDeinterlaceMode(This,streamid,mode) +#define IVMRDeinterlaceControl9_GetDeinterlacePrefs(This,prefs) (This)->lpVtbl->GetDeinterlacePrefs(This,prefs) +#define IVMRDeinterlaceControl9_SetDeinterlacePrefs(This,prefs) (This)->lpVtbl->SetDeinterlacePrefs(This,prefs) +#define IVMRDeinterlaceControl9_GetActualDeinterlaceMode(This,streamid,mode) (This)->lpVtbl->GetActualDeinterlaceMode(This,streamid,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_QueryInterface(IVMRDeinterlaceControl9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRDeinterlaceControl9_AddRef(IVMRDeinterlaceControl9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRDeinterlaceControl9_Release(IVMRDeinterlaceControl9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRDeinterlaceControl9 methods ***/ +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_GetNumberOfDeinterlaceModes(IVMRDeinterlaceControl9* This,VMR9VideoDesc *desc,DWORD *nummodes,GUID *modes) { + return This->lpVtbl->GetNumberOfDeinterlaceModes(This,desc,nummodes,modes); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_GetDeinterlaceModeCaps(IVMRDeinterlaceControl9* This,GUID *mode,VMR9VideoDesc *desc,VMR9DeinterlaceCaps *caps) { + return This->lpVtbl->GetDeinterlaceModeCaps(This,mode,desc,caps); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_GetDeinterlaceMode(IVMRDeinterlaceControl9* This,DWORD streamid,GUID *mode) { + return This->lpVtbl->GetDeinterlaceMode(This,streamid,mode); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_SetDeinterlaceMode(IVMRDeinterlaceControl9* This,DWORD streamid,GUID *mode) { + return This->lpVtbl->SetDeinterlaceMode(This,streamid,mode); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_GetDeinterlacePrefs(IVMRDeinterlaceControl9* This,DWORD *prefs) { + return This->lpVtbl->GetDeinterlacePrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_SetDeinterlacePrefs(IVMRDeinterlaceControl9* This,DWORD prefs) { + return This->lpVtbl->SetDeinterlacePrefs(This,prefs); +} +static FORCEINLINE HRESULT IVMRDeinterlaceControl9_GetActualDeinterlaceMode(IVMRDeinterlaceControl9* This,DWORD streamid,GUID *mode) { + return This->lpVtbl->GetActualDeinterlaceMode(This,streamid,mode); +} +#endif +#endif + +#endif + + +#endif /* __IVMRDeinterlaceControl9_INTERFACE_DEFINED__ */ + +typedef struct _VMR9VideoStreamInfo { + IDirect3DSurface9 *pddsVideoSurface; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwStrmID; + FLOAT fAlpha; + VMR9NormalizedRect rNormal; + REFERENCE_TIME rtStart; + REFERENCE_TIME rtEnd; + VMR9_SampleFormat SampleFormat; +} VMR9VideoStreamInfo; +/***************************************************************************** + * IVMRImageCompositor9 interface + */ +#ifndef __IVMRImageCompositor9_INTERFACE_DEFINED__ +#define __IVMRImageCompositor9_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IVMRImageCompositor9, 0x4a5c89eb, 0xdf51, 0x4654, 0xac,0x2a, 0xe4,0x8e,0x02,0xbb,0xab,0xf6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4a5c89eb-df51-4654-ac2a-e48e02bbabf6") +IVMRImageCompositor9 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitCompositionDevice( + IUnknown *d3ddev) = 0; + + virtual HRESULT STDMETHODCALLTYPE TermCompositionDevice( + IUnknown *d3ddev) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompositeImage( + IUnknown *d3ddev, + IDirect3DSurface9 *d3dtarget, + AM_MEDIA_TYPE *mttarget, + REFERENCE_TIME start, + REFERENCE_TIME stop, + D3DCOLOR back, + VMR9VideoStreamInfo *info, + UINT streams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IVMRImageCompositor9, 0x4a5c89eb, 0xdf51, 0x4654, 0xac,0x2a, 0xe4,0x8e,0x02,0xbb,0xab,0xf6) +#endif +#else +typedef struct IVMRImageCompositor9Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IVMRImageCompositor9 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IVMRImageCompositor9 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IVMRImageCompositor9 *This); + + /*** IVMRImageCompositor9 methods ***/ + HRESULT (STDMETHODCALLTYPE *InitCompositionDevice)( + IVMRImageCompositor9 *This, + IUnknown *d3ddev); + + HRESULT (STDMETHODCALLTYPE *TermCompositionDevice)( + IVMRImageCompositor9 *This, + IUnknown *d3ddev); + + HRESULT (STDMETHODCALLTYPE *CompositeImage)( + IVMRImageCompositor9 *This, + IUnknown *d3ddev, + IDirect3DSurface9 *d3dtarget, + AM_MEDIA_TYPE *mttarget, + REFERENCE_TIME start, + REFERENCE_TIME stop, + D3DCOLOR back, + VMR9VideoStreamInfo *info, + UINT streams); + + END_INTERFACE +} IVMRImageCompositor9Vtbl; + +interface IVMRImageCompositor9 { + CONST_VTBL IVMRImageCompositor9Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IVMRImageCompositor9_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IVMRImageCompositor9_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IVMRImageCompositor9_Release(This) (This)->lpVtbl->Release(This) +/*** IVMRImageCompositor9 methods ***/ +#define IVMRImageCompositor9_InitCompositionDevice(This,d3ddev) (This)->lpVtbl->InitCompositionDevice(This,d3ddev) +#define IVMRImageCompositor9_TermCompositionDevice(This,d3ddev) (This)->lpVtbl->TermCompositionDevice(This,d3ddev) +#define IVMRImageCompositor9_CompositeImage(This,d3ddev,d3dtarget,mttarget,start,stop,back,info,streams) (This)->lpVtbl->CompositeImage(This,d3ddev,d3dtarget,mttarget,start,stop,back,info,streams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IVMRImageCompositor9_QueryInterface(IVMRImageCompositor9* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IVMRImageCompositor9_AddRef(IVMRImageCompositor9* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IVMRImageCompositor9_Release(IVMRImageCompositor9* This) { + return This->lpVtbl->Release(This); +} +/*** IVMRImageCompositor9 methods ***/ +static FORCEINLINE HRESULT IVMRImageCompositor9_InitCompositionDevice(IVMRImageCompositor9* This,IUnknown *d3ddev) { + return This->lpVtbl->InitCompositionDevice(This,d3ddev); +} +static FORCEINLINE HRESULT IVMRImageCompositor9_TermCompositionDevice(IVMRImageCompositor9* This,IUnknown *d3ddev) { + return This->lpVtbl->TermCompositionDevice(This,d3ddev); +} +static FORCEINLINE HRESULT IVMRImageCompositor9_CompositeImage(IVMRImageCompositor9* This,IUnknown *d3ddev,IDirect3DSurface9 *d3dtarget,AM_MEDIA_TYPE *mttarget,REFERENCE_TIME start,REFERENCE_TIME stop,D3DCOLOR back,VMR9VideoStreamInfo *info,UINT streams) { + return This->lpVtbl->CompositeImage(This,d3ddev,d3dtarget,mttarget,start,stop,back,info,streams); +} +#endif +#endif + +#endif + + +#endif /* __IVMRImageCompositor9_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __vmr9_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmr9.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmr9.idl new file mode 100644 index 0000000..bb3681c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmr9.idl @@ -0,0 +1,524 @@ +/* + * Copyright 2008 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +cpp_quote("#if 0") +interface IDirect3DSurface9; +interface IDirect3DDevice9; +typedef LONGLONG REFERENCE_TIME; +typedef DWORD D3DFORMAT; +typedef DWORD D3DPOOL; +typedef HANDLE HMONITOR; +typedef struct { char dummy; } AM_MEDIA_TYPE; +typedef struct { char dummy; } D3DCOLOR; +cpp_quote("#endif") + +interface IVMRSurface9; +interface IVMRSurfaceAllocator9; +interface IVMRSurfaceAllocatorEx9; +interface IVMRSurfaceAllocatorNotify9; +interface IVMRImagePresenter9; +interface IVMRImagePresenterConfig9; +interface IVMRMonitorConfig9; +interface IVMRWindowlessControl9; +interface IVMRMixerControl9; +interface IVMRImageCompositor9; +interface IVMRMixerBitmap9; +interface IVMRFilterConfig9; +interface IVMRAspectRatioControl9; +interface IVMRVideoStreamControl9; + +typedef enum _VMR9PresentationFlags +{ + VMR9Sample_SyncPoint = 0x1, + VMR9Sample_Preroll = 0x2, + VMR9Sample_Discontinuity = 0x4, + VMR9Sample_TimeValid = 0x8, + VMR9Sample_SrcDstRectsValid = 0x10 +} VMR9PresentationFlags; + +typedef struct _VMR9PresentationInfo +{ + DWORD dwFlags; /* Flags defined above */ + IDirect3DSurface9 *lpSurf; + REFERENCE_TIME rtStart; + REFERENCE_TIME rtEnd; + SIZE szAspectRatio; + RECT rcSrc; + RECT rcDst; + DWORD dwReserved1; + DWORD dwReserved2; +} VMR9PresentationInfo; + +[ + local, + object, + uuid(69188c61-12a3-40f0-8ffc-342e7b433fd7), + helpstring("IVMRImagePresenter9 interface"), + pointer_default(unique) +] +interface IVMRImagePresenter9 : IUnknown +{ + HRESULT StartPresenting([in] DWORD_PTR id); + HRESULT StopPresenting([in] DWORD_PTR id); + HRESULT PresentImage([in] DWORD_PTR id, [in] VMR9PresentationInfo *info); +}; + +typedef enum _VMR9SurfaceAllocationFlags +{ + VMR9AllocFlag_3DRenderTarget = 0x1, + VMR9AllocFlag_DXVATarget = 0x2, + VMR9AllocFlag_TextureSurface = 0x4, + VMR9AllocFlag_OffscreenSurface = 0x8, + VMR9AllocFlag_RGBDynamicSwitch = 0x10, + VMR9AllocFlag_UsageReserved = 0xe0, + VMR9AllocFlag_UsageMask = 0xff, +} VMR9SurfaceAllocationFlags; + +typedef struct _VMR9AllocationInfo +{ + DWORD dwFlags; /* Flags defined above */ + DWORD dwWidth; + DWORD dwHeight; + D3DFORMAT Format; + D3DPOOL Pool; + DWORD MinBuffers; + SIZE szAspectRatio; + SIZE szNativeSize; +} VMR9AllocationInfo; + +[ + local, + object, + uuid(8d5148ea-3f5d-46cf-9df1-d1b896eedb1f), + helpstring("IVMRSurfaceAllocator9 interface"), + pointer_default(unique) +] +interface IVMRSurfaceAllocator9 : IUnknown +{ + HRESULT InitializeDevice([in] DWORD_PTR id, [in] VMR9AllocationInfo *allocinfo, [in, out] DWORD *numbuffers); + HRESULT TerminateDevice([in] DWORD_PTR id); + HRESULT GetSurface([in] DWORD_PTR id, [in] DWORD surfaceindex, [in] DWORD flags, [out] IDirect3DSurface9 **surface); + HRESULT AdviseNotify([in] IVMRSurfaceAllocatorNotify9 *allocnotify); +}; + +[ + local, + object, + uuid(6de9a68a-a928-4522-bf57-655ae3866456), + helpstring("IVMRSurfaceAllocatorEx9 interface"), + pointer_default(unique) +] +interface IVMRSurfaceAllocatorEx9 : IVMRSurfaceAllocator9 +{ + HRESULT GetSurfaceEx([in] DWORD_PTR id, [in] DWORD surfaceindex, [in] DWORD flags, [out] IDirect3DSurface9 **surface, [out] RECT *dest); +}; + +[ + local, + object, + uuid(dca3f5df-bb3a-4d03-bd81-84614bfbfa0c), + helpstring("IVMRSurfaceAllocatorNotify9 interface"), + pointer_default(unique) +] +interface IVMRSurfaceAllocatorNotify9 : IUnknown +{ + HRESULT AdviseSurfaceAllocator([in] DWORD_PTR id, [in] IVMRSurfaceAllocator9 *alloc); + HRESULT SetD3DDevice([in] IDirect3DDevice9 *device, [in] HMONITOR monitor); + HRESULT ChangeD3DDevice([in] IDirect3DDevice9 *device, [in] HMONITOR monitor); + HRESULT AllocateSurfaceHelper([in] VMR9AllocationInfo *allocinfo, [in, out] DWORD *numbuffers, [out] IDirect3DSurface9 **surface); + HRESULT NotifyEvent([in] LONG code, [in] LONG_PTR param1, [in] LONG_PTR param2); +}; + +typedef enum _VMR9AspectRatioMode +{ + VMR9ARMode_None, + VMR9ARMode_LetterBox +} VMR9AspectRatioMode; + +[ + local, + object, + uuid(8f537d09-f85e-4414-b23b-502e54c79927), + helpstring("IVMRWindowlessControl interface"), + pointer_default(unique) +] +interface IVMRWindowlessControl9 : IUnknown +{ + HRESULT GetNativeVideoSize([out] LONG *width, [out] LONG *height, [out] LONG *arwidth, [out] LONG *arheight); + HRESULT GetMinIdealVideoSize([out] LONG *width, [out] LONG *height); + HRESULT GetMaxIdealVideoSize([out] LONG *width, [out] LONG *height); + HRESULT SetVideoPosition([in] const RECT *source, [in] const RECT *dest); + HRESULT GetVideoPosition([out] RECT *source, [out] RECT *dest); + HRESULT GetAspectRatioMode([out] DWORD *mode); + HRESULT SetAspectRatioMode([in] DWORD mode); + HRESULT SetVideoClippingWindow([in] HWND hwnd); + HRESULT RepaintVideo([in] HWND hwnd, [in] HDC hdc); + HRESULT DisplayModeChanged(); + HRESULT GetCurrentImage([out] BYTE **dib); + HRESULT SetBorderColor([in] COLORREF color); + HRESULT GetBorderColor([out] COLORREF *color); +}; + +typedef enum _VMR9MixerPrefs +{ + /* Decimation */ + MixerPref9_NoDecimation = 0x1, + MixerPref9_DecimateOutput = 0x2, + MixerPref9_ARAdjustXorY = 0x4, + MixerPref9_NonSquareMixing = 0x8, + MixerPref9_DecimateMask = 0xf, + + /* Filtering */ + MixerPref9_BiLinearFiltering = 0x10, + MixerPref9_PointFiltering = 0x20, + MixerPref9_AnisotropicFiltering = 0x40, + MixerPref9_PyramidalQuadFiltering = 0x80, + MixerPref9_GaussianQuadFiltering = 0x100, + MixerPref9_FilteringReserved = 0xe00, + MixerPref9_FilteringMask = 0xff0, + + /* Render target */ + MixerPref9_RenderTargetRGB = 0x1000, + MixerPref9_RenderTargetYUV = 0x2000, + MixerPref9_RenderTargetReserved = 0xfc000, + + MixerPref9_DynamicSwitchToBOB = 0x100000, + MixerPref9_DynamicDecimateBy2 = 0x200000, + MixerPref9_DynamicReserved = 0xc00000, + MixerPref9_DynamicMask = 0xf00000, +} VMR9MixerPrefs; + +typedef struct _VMR9NormalizedRect +{ + FLOAT left; + FLOAT top; + FLOAT right; + FLOAT bottom; +} VMR9NormalizedRect; + +typedef enum _VMR9ProcAmpControlFlags +{ + ProcAmpControl9_Brightness = 0x1, + ProcAmpControl9_Contrast = 0x2, + ProcAmpControl9_Hue = 0x4, + ProcAmpControl9_Saturation = 0x8, + ProcAmpControl9_Mask = 0xf +} VMR9ProcAmpControlFlags; + +typedef struct _VMR9ProcAmpControl +{ + DWORD dwSize; + DWORD dwFlags; + FLOAT Brightness; + FLOAT Contrast; + FLOAT Hue; + FLOAT Saturation; +} VMR9ProcAmpControl; + +typedef struct _VMR9ProcAmpControlRange +{ + DWORD dwSize; + VMR9ProcAmpControlFlags dwProperty; + FLOAT MinValue; + FLOAT MaxValue; + FLOAT DefaultValue; + FLOAT StepSize; +} VMR9ProcAmpControlRange; + +[ + local, + object, + uuid(1a777eaa-47c8-4930-b2c9-8fee1c1b0f3b), + helpstring("IVMRMixerControl9 interface"), + pointer_default(unique) +] +interface IVMRMixerControl9 : IUnknown +{ + HRESULT SetAlpha([in] DWORD streamid, [in] FLOAT alpha); + HRESULT GetAlpha([in] DWORD streamid, [out] FLOAT *alpha); + HRESULT SetZOrder([in] DWORD streamid, [in] DWORD zorder); + HRESULT GetZOrder([in] DWORD streamid, [out] DWORD *zorder); + HRESULT SetOutputRect([in] DWORD streamid, [in] const VMR9NormalizedRect *rect); + HRESULT GetOutputRect([in] DWORD streamid, [out] VMR9NormalizedRect *rect); + HRESULT SetBackgroundClr([in] COLORREF back); + HRESULT GetBackgroundClr([out] COLORREF *back); + HRESULT SetMixingPrefs([in] DWORD mixingprefs); + HRESULT GetMixingPrefs([out] DWORD *mixingprefs); + HRESULT SetProcAmpControl([in] DWORD streamid, [in] VMR9ProcAmpControl *control); + HRESULT GetProcAmpControl([in] DWORD streamid, [in, out] VMR9ProcAmpControl *control); + HRESULT GetProcAmpControlRange([in] DWORD streamid, [in, out] VMR9ProcAmpControlRange *controlrange); +}; + +typedef struct _VMR9AlphaBitmap +{ + DWORD dwFlags; + HDC hdc; + IDirect3DSurface9 *pDDS; + RECT rSrc; + VMR9NormalizedRect *rDest; + FLOAT fAlpha; + COLORREF clrSrcKey; + DWORD dwFilterMode; +} VMR9AlphaBitmap; + +typedef enum _VMR9AlphaBitmapFlags +{ + VMR9AlphaBitmap_Disable = 0x1, + VMR9AlphaBitmap_hDC = 0x2, + VMR9AlphaBitmap_EntireDDS = 0x4, + VMR9AlphaBitmap_SrcColorKey = 0x8, + VMR9AlphaBitmap_SrcRect = 0x10, + VMR9AlphaBitmap_FilterMode = 0x20 +} VMR9AlphaBitmapFlags; + +[ + local, + object, + uuid(ced175e5-1935-4820-81bd-ff6ad00c9108), + helpstring("IVMRMixerBitmap interface"), + pointer_default(unique) +] +interface IVMRMixerBitmap9 : IUnknown +{ + HRESULT SetAlphaBitmap([in] const VMR9AlphaBitmap *bitmap); + HRESULT UpdateAlphaBitmapParameters([in] const VMR9AlphaBitmap *bitmap); + HRESULT GetAlphaBitmapParameters([out] VMR9AlphaBitmap *bitmap); +}; + +[ + local, + object, + uuid(dfc581a1-6e1f-4c3a-8d0a-5e9792ea2afc), + helpstring("IVMRSurface interface"), + pointer_default(unique) +] +interface IVMRSurface9 : IUnknown +{ + HRESULT IsSurfaceLocked(); + HRESULT LockSurface([out] BYTE **surface); + HRESULT UnlockSurface(); + HRESULT GetSurface([out] IDirect3DSurface9 **surface); +}; + +typedef enum _VMR9RenderPrefs +{ + RenderPrefs9_DoNotRenderBorder = 0x1, + RenderPrefs9_Mask = 0x1 +} VMR9RenderPrefs; + +[ + local, + object, + uuid(45c15cab-6e22-420a-8043-ae1f0ac02c7d), + helpstring("IVMRImagePresenterConfig9 interface"), + pointer_default(unique) +] +interface IVMRImagePresenterConfig9 : IUnknown +{ + HRESULT SetRenderingPrefs([in] DWORD renderflags); + HRESULT GetRenderingPrefs([out] DWORD *renderflags); +}; + +[ + local, + object, + uuid(d0cfe38b-93e7-4772-8957-0400c49a4485), + helpstring("IVMRMixerStreamConfig interface"), + pointer_default(unique) +] +interface IVMRVideoStreamControl9: IUnknown +{ + HRESULT SetStreamActiveState([in] BOOL active); + HRESULT GetStreamActiveState([out] BOOL *active); +}; + +typedef enum _VMR9Mode +{ + VMR9Mode_Windowed = 0x1, + VMR9Mode_Windowless = 0x2, + VMR9Mode_Renderless = 0x4, + VMR9Mode_Mask = 0x7 +} VMR9Mode; + +[ + local, + object, + uuid(5a804648-4f66-4867-9c43-4f5c822cf1b8), + helpstring("IVMRFilterConfig9 interface"), + pointer_default(unique) +] +interface IVMRFilterConfig9 : IUnknown +{ + HRESULT SetImageCompositor([in] IVMRImageCompositor9 *compositor); + HRESULT SetNumberOfStreams([in] DWORD max); + HRESULT GetNumberOfStreams([out] DWORD *max); + HRESULT SetRenderingPrefs([in] DWORD renderflags); + HRESULT GetRenderingPrefs([out] DWORD *renderflags); + HRESULT SetRenderingMode([in] DWORD mode); + HRESULT GetRenderingMode([out] DWORD *mode); +}; + +[ + local, + object, + uuid(00d96c29-bbde-4efc-9901-bb5036392146), + helpstring("IVMRAspectRatioControl9 interface"), + pointer_default(unique) +] +interface IVMRAspectRatioControl9 : IUnknown +{ + HRESULT GetAspectRatioMode([out] DWORD *mode); + HRESULT SetAspectRatioMode([in] DWORD mode); +} + +#define VMR9DEVICENAMELEN 32 +#define VMR9DEVICEDESCRIPTIONLEN 512 + +typedef struct _VMR9MonitorInfo +{ + UINT uDevID; + RECT rcMonitor; + HMONITOR hMon; + DWORD dwFlags; + WCHAR szDevice[VMR9DEVICENAMELEN]; + WCHAR szDescription[VMR9DEVICEDESCRIPTIONLEN]; + LARGE_INTEGER liDriverVersion; + DWORD dwVendorId; + DWORD dwDeviceId; + DWORD dwSubSysId; + DWORD dwRevision; +} VMR9MonitorInfo; + +[ + local, + object, + uuid(46c2e457-8ba0-4eef-b80b-0680f0978749), + helpstring("IVMRMonitorConfig9 interface"), + pointer_default(unique) +] +interface IVMRMonitorConfig9 : IUnknown +{ + HRESULT SetMonitor([in] UINT uDev); + HRESULT GetMonitor([out] UINT *uDev); + HRESULT SetDefaultMonitor([in] UINT uDev); + HRESULT GetDefaultMonitor([out] UINT *uDev); + HRESULT GetAvailableMonitors([out, size_is(arraysize)] VMR9MonitorInfo *info, [in] DWORD arraysize, [out] DWORD *numdev); +}; + +typedef enum _VMR9DeinterlacePrefs +{ + DeinterlacePref9_NextBest = 0x1, + DeinterlacePref9_BOB = 0x2, + DeinterlacePref9_Weave = 0x4, + DeinterlacePref9_Mask = 0x7 +} VMR9DeinterlacePrefs; + +typedef enum _VMR9DeinterlaceTech +{ + DeinterlaceTech9_Unknown = 0, + DeinterlaceTech9_BOBLineReplicate = 0x1, + DeinterlaceTech9_BOBVerticalStretch = 0x2, + DeinterlaceTech9_MedianFiltering = 0x4, + DeinterlaceTech9_EdgeFiltering = 0x10, + DeinterlaceTech9_FieldAdaptive = 0x20, + DeinterlaceTech9_PixelAdaptive = 0x40, + DeinterlaceTech9_MotionVectorSteered = 0x80 +} VMR9DeinterlaceTech; + +typedef struct _VMR9Frequency +{ + DWORD dwNumerator; + DWORD dwDenominator; +} VMR9Frequency; + +typedef enum _VMR9_SampleFormat +{ + VMR9_SampleReserved = 1, + VMR9_SampleProgressiveFrame = 2, + VMR9_SampleFieldInterleavedEvenFirst = 3, + VMR9_SampleFieldInterleavedOddFirst = 4, + VMR9_SampleFieldSingleEven = 5, + VMR9_SampleFieldSingleOdd = 6, +} VMR9_SampleFormat; + +typedef struct _VMR9VideoDesc +{ + DWORD dwSize; + DWORD dwSampleWidth; + DWORD dwSampleHeight; + VMR9_SampleFormat SampleFormat; + DWORD dwFourCC; + VMR9Frequency InputSampleFreq; + VMR9Frequency OutputFrameFreq; +} VMR9VideoDesc; + +typedef struct _VMR9DeinterlaceCaps { + DWORD dwSize; + DWORD dwNumPreviousOutputFrames; + DWORD dwNumForwardRefSamples; + DWORD dwNumBackwardRefSamples; + VMR9DeinterlaceTech DeinterlaceTechnology; +} VMR9DeinterlaceCaps; + +[ + local, + object, + uuid(a215fb8d-13c2-4f7f-993c-003d6271a459), + helpstring("IVMRDeinterlaceControl9 interface"), + pointer_default(unique) +] +interface IVMRDeinterlaceControl9 : IUnknown +{ + HRESULT GetNumberOfDeinterlaceModes([in] VMR9VideoDesc *desc, [in, out] DWORD *nummodes, [out] GUID *modes); + HRESULT GetDeinterlaceModeCaps([in] GUID *mode, [in] VMR9VideoDesc *desc, [out] VMR9DeinterlaceCaps *caps); + HRESULT GetDeinterlaceMode([in] DWORD streamid, [out] GUID *mode); + HRESULT SetDeinterlaceMode([in] DWORD streamid, [in] GUID *mode); + HRESULT GetDeinterlacePrefs([out] DWORD *prefs); + HRESULT SetDeinterlacePrefs([in] DWORD prefs); + HRESULT GetActualDeinterlaceMode([in] DWORD streamid, [out] GUID *mode); +}; + +typedef struct _VMR9VideoStreamInfo { + IDirect3DSurface9 *pddsVideoSurface; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwStrmID; + FLOAT fAlpha; + VMR9NormalizedRect rNormal; + REFERENCE_TIME rtStart; + REFERENCE_TIME rtEnd; + VMR9_SampleFormat SampleFormat; +} VMR9VideoStreamInfo; + +[ + local, + object, + uuid(4a5c89eb-df51-4654-ac2a-e48e02bbabf6), + helpstring("IVMRImageCompositor9 interface"), + pointer_default(unique) +] +interface IVMRImageCompositor9 : IUnknown +{ + HRESULT InitCompositionDevice([in] IUnknown *d3ddev); + HRESULT TermCompositionDevice([in] IUnknown *d3ddev); + HRESULT CompositeImage([in] IUnknown *d3ddev, [in] IDirect3DSurface9 *d3dtarget, [in] AM_MEDIA_TYPE *mttarget, + [in] REFERENCE_TIME start, [in] REFERENCE_TIME stop, D3DCOLOR back, + [in] VMR9VideoStreamInfo *info, [in] UINT streams); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmrender.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmrender.idl new file mode 100644 index 0000000..c3d053d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vmrender.idl @@ -0,0 +1,485 @@ +/* + * Copyright (C) 2008 Maarten Lankhorst + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +cpp_quote("#if 0") +typedef DWORD IDirectDrawSurface7; +typedef DWORD IDirectDraw7; +typedef DWORD *LPBITMAPINFOHEADER; +typedef DWORD *LPDDPIXELFORMAT; +typedef struct { DWORD dw1, dw2; } DDCOLORKEY; +cpp_quote("#endif") +cpp_quote("#include ") + +interface IVMRSurface; +interface IVMRSurfaceAllocator; +interface IVMRSurfaceAllocatorNotify; +interface IVMRImagePresenter; +interface IVMRImagePresenterNotify; +interface IVMRWindowlessControl; +interface IVMRMixerControl; +interface IVMRMixerBitmap; +interface IVMRFilterConfig; +interface IVMRAspectRatioControl; +interface IVMRDeinterlaceControl; +interface IVMRMonitorConfig; +interface IVMRImageCompositor; +interface IVMRVideoStreamControl; + +typedef enum _VMRPresentationFlags +{ + VMRSample_SyncPoint = 0x01, + VMRSample_Preroll = 0x02, + VMRSample_Discontinuity = 0x04, + VMRSample_TimeValid = 0x08, + VMRSample_SrcDstRectsValid = 0x10 +} VMRPresentationFlags; + +typedef struct tagVMRPRESENTATIONINFO +{ + DWORD dwFlags; + IDirectDrawSurface7 *lpSurf; + REFERENCE_TIME rtStart, rtEnd; + SIZE szAspectRatio; + RECT rcSrc, rcDst; + DWORD dwTypeSpecificFlags; + DWORD dwInterlaceFlags; +} VMRPRESENTATIONINFO; + +[ + local, + object, + uuid(ce704fe7-e71e-41fb-baa2-c4403e1182f5), + helpstring("IVMRImagePresenter interface"), + pointer_default(unique) +] +interface IVMRImagePresenter : IUnknown +{ + HRESULT StartPresenting([in] DWORD_PTR id); + HRESULT StopPresenting([in] DWORD_PTR id); + HRESULT PresentImage([in] DWORD_PTR id, [in] VMRPRESENTATIONINFO *info); +}; + +typedef enum _VMRSurfaceAllocationFlags +{ + AMAP_PIXELFORMAT_VALID = 0x01, + AMAP_3D_TARGET = 0x02, + AMAP_ALLOW_SYSMEM = 0x04, + AMAP_FORCE_SYSMEM = 0x08, + AMAP_DIRECTED_FLIP = 0x10, + AMAP_DXVA_TARGET = 0x20 +} VMRSurfaceAllocationFlags; + +typedef struct tagVMRALLOCATIONINFO +{ + DWORD dwFlags; + LPBITMAPINFOHEADER lpHdr; + LPDDPIXELFORMAT lpPixFmt; + SIZE szAspectRatio; + DWORD dwMinBuffers; + DWORD dwMaxBuffers; + DWORD dwInterlaceFlags; + SIZE szNativeSize; +} VMRALLOCATIONINFO; + +[ + local, + object, + uuid(31ce832e-4484-458b-8cca-f4d7e3db0b52), + helpstring("IVMRSurfaceAllocator interface"), + pointer_default(unique) +] +interface IVMRSurfaceAllocator : IUnknown +{ + HRESULT AllocateSurface([in] DWORD_PTR id, [in] VMRALLOCATIONINFO *allocinfo, [in, out] DWORD *buffers, IDirectDrawSurface7 **surface); + HRESULT FreeSurface([in] DWORD_PTR id); + HRESULT PrepareSurface([in] DWORD_PTR id, [in] IDirectDrawSurface7 *surface, [in] DWORD dwSurfaceFlags); + HRESULT AdviseNotify([in] IVMRSurfaceAllocatorNotify *notify); +}; + +[ + local, + object, + uuid(aada05a8-5a4e-4729-af0b-cea27aed51e2), + helpstring("IVMRSurfaceAllocatorNotify interface"), + pointer_default(unique) +] +interface IVMRSurfaceAllocatorNotify : IUnknown +{ + HRESULT AdviseSurfaceAllocator([in] DWORD_PTR id, [in] IVMRSurfaceAllocator *allocator); + HRESULT SetDDrawDevice([in] IDirectDraw7 *device, [in] HMONITOR monitor); + HRESULT ChangeDDrawDevice([in] IDirectDraw7 *device, [in] HMONITOR monitor); + HRESULT RestoreDDrawSurfaces(); + HRESULT NotifyEvent([in] LONG EventCode, [in] LONG_PTR p1, [in] LONG_PTR p2); + HRESULT SetBorderColor([in] COLORREF border); +}; + +typedef enum _VMR_ASPECT_RATIO_MODE +{ + VMR_ARMODE_NONE, + VMR_ARMODE_LETTER_BOX +} VMR_ASPECT_RATIO_MODE; + +[ + local, + object, + uuid(0eb1088c-4dcd-46f0-878f-39dae86a51b7), + helpstring("IVMRWindowlessControl interface"), + pointer_default(unique) +] +interface IVMRWindowlessControl : IUnknown +{ + HRESULT GetNativeVideoSize([out] LONG *width, [out] LONG *height, [out] LONG *ar_width, [out] LONG *ar_height); + HRESULT GetMinIdealVideoSize([out] LONG *width, [out] LONG *height); + HRESULT GetMaxIdealVideoSize([out] LONG *width, [out] LONG *height); + HRESULT SetVideoPosition([in] const RECT *src_rect, [in] const RECT *dst_rect); + HRESULT GetVideoPosition([out] RECT *src_rect, [out] RECT *dst_rect); + HRESULT GetAspectRatioMode([out] DWORD *mode); + HRESULT SetAspectRatioMode([in] DWORD mode); + HRESULT SetVideoClippingWindow([in] HWND hwnd); + HRESULT RepaintVideo([in] HWND hwnd, [in] HDC hdc); + HRESULT DisplayModeChanged(); + HRESULT GetCurrentImage([out] BYTE **data); + HRESULT SetBorderColor([in] COLORREF border); + HRESULT GetBorderColor([out] COLORREF *border); + HRESULT SetColorKey([in] COLORREF key); + HRESULT GetColorKey([out] COLORREF *key); +}; + +typedef enum _VMRMixerPrefs +{ + MixerPref_NoDecimation = 0x0001, + MixerPref_DecimateOutput = 0x0002, + MixerPref_ARAdjustXorY = 0x0004, + MixerPref_DecimationReserved = 0x0008, + MixerPref_DecimateMask = 0x000f, + + MixerPref_BiLinearFiltering = 0x0010, + MixerPref_PointFiltering = 0x0020, + MixerPref_FinteringMask = 0x00f0, + + MixerPref_RenderTargetRGB = 0x0100, + MixerPref_RenderTargetYUV = 0x1000, + MixerPref_RenderTargetYUV420 = 0x0200, + MixerPref_RenderTargetYUV422 = 0x0400, + MixerPref_RenderTargetYUV444 = 0x0800, + MixerPref_RenderTargetReserved = 0xe000, + MixerPref_RenderTargetMask = 0xff00, + + MixerPref_DynamicSwitchToBOB = 0x10000, + MixerPref_DynamicDecimateBy2 = 0x20000, + MixerPref_DynamicReserved = 0xc0000, + MixerPref_DynamicMask = 0xf0000 +} VMRMixerPrefs; + +typedef struct _NORMALIZEDRECT +{ + FLOAT left, top, right, bottom; +} NORMALIZEDRECT; + +[ + local, + object, + uuid(1c1a17b0-bed0-415d-974b-dc6696131599), + helpstring("IVMRMixerControl interface"), + pointer_default(unique) +] +interface IVMRMixerControl : IUnknown +{ + HRESULT SetAlpha([in] DWORD id, [in] FLOAT alpha); + HRESULT GetAlpha([in] DWORD id, [out] FLOAT *alpha); + HRESULT SetZOrder([in] DWORD id, [in] DWORD z); + HRESULT GetZOrder([in] DWORD id, [out] DWORD *z); + HRESULT SetOutputRect([in] DWORD id, [in] const NORMALIZEDRECT *rect); + HRESULT SetBackgroundClr([in] COLORREF background); + HRESULT GetBackgroundClr([out] COLORREF *background); + HRESULT SetMixingPrefs([in] DWORD prefs); + HRESULT GetMixingPrefs([out] DWORD *prefs); +}; + +typedef struct tagVMRGUID +{ + struct _GUID *pGUID, GUID; +} VMRGUID; + +#define VMRDEVICENAMELEN 32 +#define VMRDEVICEDESCRIPTIONLEN 256 + +typedef struct tagVMRMONITORINFO +{ + VMRGUID guid; + RECT rcMonitor; + HMONITOR hMon; + DWORD dwFlags; + WCHAR szDevice[VMRDEVICENAMELEN]; + WCHAR szDescription[VMRDEVICEDESCRIPTIONLEN]; + LARGE_INTEGER liDriverVersion; + DWORD dwVendorId; + DWORD dwDeviceId; + DWORD dwSubSysId; + DWORD dwRevision; +} VMRMONITORINFO; + +[ + local, + object, + uuid(9cf0b1b6-fbaa-4b7f-88cf-cf1f130a0dce), + helpstring("IVMRMonitorConfig interface"), + pointer_default(unique) +] +interface IVMRMonitorConfig : IUnknown +{ + HRESULT SetMonitor([in] const VMRGUID *vmrguid); + HRESULT GetMonitor([out] VMRGUID *vmrguid); + HRESULT SetDefaultMonitor([in] const VMRGUID *vmrguid); + HRESULT GetDefaultMonitor([out] VMRGUID *vmrguid); + HRESULT GetAvailableMonitors([out, size_is(array_size)] VMRMONITORINFO *info, [in] DWORD array_size, [out] DWORD *retrieved); +} + +typedef enum _VMRRenderPrefs +{ + RenderPrefs_RestrictToInitialMonitor = 0x00, + RenderPrefs_ForceOffScreen = 0x01, + RenderPrefs_ForceOverlays = 0x02, + RenderPrefs_AllowOverlays = 0x00, + RenderPrefs_AllowOffscreen = 0x00, + RenderPrefs_DoNotRenderColorKeyAndBorder = 0x08, + RenderPrefs_Reserved = 0x10, + RenderPrefs_PreferAGPMemWhenMixing = 0x20, + RenderPrefs_Mask = 0x3f +} VMRRenderPrefs; + +typedef enum _VMRMode +{ + VMRMode_Windowed = 0x1, + VMRMode_Windowless = 0x2, + VMRMode_Renderless = 0x4, + VMRMode_Mask = 0x7 +} VMRMode; + +enum { MAX_NUMBER_OF_STREAMS = 16 }; + +[ + local, + object, + uuid(9e5530c5-7034-48b4-bb46-0b8a6efc8e36), + helpstring("IVMRFilterConfig interface"), + pointer_default(unique) +] +interface IVMRFilterConfig : IUnknown +{ + HRESULT SetImageCompositor([in] IVMRImageCompositor *compositor); + HRESULT SetNumberOfStreams([in] DWORD streams); + HRESULT GetNumberOfStreams([out] DWORD *streams); + HRESULT SetRenderingPrefs([in] DWORD prefs); + HRESULT GetRenderingPrefs([out] DWORD *prefs); + HRESULT SetRenderingMode([in] DWORD mode); + HRESULT GetRenderingMode([out] DWORD *mode); +}; + +[ + local, + object, + uuid(ede80b5c-bad6-4623-b537-65586c9f8dfd), + helpstring("IVMRAspectRatioControl interface"), + pointer_default(unique) +] +interface IVMRAspectRatioControl : IUnknown +{ + HRESULT GetAspectRatioMode([out] DWORD *armode); + HRESULT SetAspectRatioMode([in] DWORD armode); +}; + +typedef enum _VMRDeinterlacePrefs +{ + DeinterlacePref_NextBest = 0x1, + DeinterlacePref_BOB = 0x2, + DeinterlacePref_Weave = 0x4, + DeinterlacePref_Mask = 0x7 +} VMRDeinterlacePrefs; + +typedef enum _VMRDeinterlaceTech +{ + DeinterlaceTech_Unknown = 0x00, + DeinterlaceTech_BOBLineReplicate = 0x01, + DeinterlaceTech_BOBVerticalStretch = 0x02, + DeinterlaceTech_MedianFiltering = 0x04, + DeinterlaceTech_EdgeFiltering = 0x08, + DeinterlaceTech_FieldAdaptive = 0x10, + DeinterlaceTech_PixelAdaptive = 0x20, + DeinterlaceTech_MotionVectorSteered = 0x80 +} VMRDeinterlaceTech; + +typedef struct _VMRFrequency +{ + DWORD dwNumerator, dwDenominator; +} VMRFrequency; + +typedef struct _VMRVideoDesc +{ + DWORD dwSize; + DWORD dwSampleWidth; + DWORD dwSampleHeight; + BOOL SingleFieldPerSample; + DWORD dwFourCC; + VMRFrequency InputSampleFreq; + VMRFrequency OutputFrameFreq; +} VMRVideoDesc; + +typedef struct _VMRDeinterlaceCaps +{ + DWORD dwSize; + DWORD dwNumPreviousOutputFrames; + DWORD dwNumForwardRefSamples; + DWORD dwNumBackwardRefSamples; + VMRDeinterlaceTech DeinterlaceTechnology; +} VMRDeinterlaceCaps; + +[ + local, + object, + uuid(bb057577-0db8-4e6a-87a7-1a8c9a505a0f), + helpstring("IVMRDeinterlaceControl interface"), + pointer_default(unique) +] +interface IVMRDeinterlaceControl : IUnknown +{ + HRESULT GetNumberOfDeinterlaceModes([in] VMRVideoDesc *desc, [in, out] DWORD *num_modes, [out] GUID *modes); + HRESULT GetDeinterlaceModeCaps([in] GUID *mode, [in] VMRVideoDesc *desc, [in, out] VMRDeinterlaceCaps *caps); + HRESULT GetDeinterlaceMode([in] DWORD id, [out] GUID *mode); + HRESULT SetDeinterlaceMode([in] DWORD id, [in] GUID *mode); + HRESULT GetDeinterlacePrefs([out] DWORD *prefs); + HRESULT SetDeinterlacePrefs([in] DWORD prefs); + HRESULT GetActualDeinterlaceMode([in] DWORD id, [out] GUID *mode); +}; + +typedef struct _VMRALPHABITMAP +{ + DWORD dwFlags; + HDC hdc; + IDirectDrawSurface7 *pDDS; + RECT rSrc; + RECT rDest; + FLOAT fAlpha; + COLORREF clrSrcKey; +} VMRALPHABITMAP, *PVMRALPHABITMAP; + +cpp_quote("#define VMRBITMAP_DISABLE (0x01)") +cpp_quote("#define VMRBITMAP_HDC (0x02)") +cpp_quote("#define VMRBITMAP_ENTIREDDS (0x04)") +cpp_quote("#define VMRBITMAP_SRCCOLORKEY (0x08)") +cpp_quote("#define VMRBITMAP_SRCRECT (0x10)") + +[ + local, + object, + uuid(1e673275-0257-40aa-af20-7c608d4a0428), + helpstring("IVMRMixerBitmap interface"), + pointer_default(unique) +] +interface IVMRMixerBitmap : IUnknown +{ + HRESULT SetAlphaBitmap([in] const VMRALPHABITMAP *params); + HRESULT UpdateAlphaBitmapParameters([in] VMRALPHABITMAP *params); + HRESULT GetAlphaBitmapParameters([out] VMRALPHABITMAP *params); +}; + +typedef struct _VMRVIDEOSTREAMINFO +{ + IDirectDrawSurface7 *pddsVideoSurface; + DWORD dwWidth; + DWORD dwHeight; + DWORD dwStrmID; + FLOAT fAlpha; + DDCOLORKEY ddClrKey; + NORMALIZEDRECT rNormal; +} VMRVIDEOSTREAMINFO; + +[ + local, + object, + uuid(7a4fb5af-479f-4074-bb40-ce6722e43c82), + helpstring("IVMRImageCompositor interface"), + pointer_default(unique) +] +interface IVMRImageCompositor : IUnknown +{ + HRESULT InitCompositionTarget([in] IUnknown *d3ddev, [in] IDirectDrawSurface7 *rendertarget); + HRESULT TermCompositionTarget([in] IUnknown *d3ddev, [in] IDirectDrawSurface7 *rendertarget); + HRESULT SetStreamMediaType([in] DWORD id, [in] AM_MEDIA_TYPE *pmt, [in] BOOL texture); + HRESULT CompositeImage([in] IUnknown *d3ddev, [in] IDirectDrawSurface7 *rendertarget, + [in] AM_MEDIA_TYPE *pmt, [in] REFERENCE_TIME start, [in] REFERENCE_TIME stop, + [in] DWORD backgrnd, [in] VMRVIDEOSTREAMINFO *info, [in] UINT streams); +}; + +[ + local, + object, + uuid(058d1f11-2a54-4bef-bd54-df706626b727), + helpstring("IVMRVideoStreamControl interface"), + pointer_default(unique) +] +interface IVMRVideoStreamControl : IUnknown +{ + HRESULT SetColorKey([in] DDCOLORKEY *key); + HRESULT GetColorKey([out] DDCOLORKEY *key); + HRESULT SetStreamActiveState([in] BOOL active); + HRESULT GetStreamActiveState([out] BOOL *active); +}; + +[ + local, + object, + uuid(9f3a1c85-8555-49ba-935f-be5b5b29d178), + helpstring("IVMRImagePresenterConfig interface"), + pointer_default(unique) +] +interface IVMRImagePresenterConfig : IUnknown +{ + HRESULT SetRenderingPrefs([in] DWORD prefs); + HRESULT GetRenderingPrefs([out] DWORD *prefs); +}; + +[ + local, + object, + uuid(e6f7ce40-4673-44f1-8f77-5499d68cb4ea), + helpstring("IVMRImagePresenterExclModeConfig interface"), + pointer_default(unique) +] +interface IVMRImagePresenterExclModeConfig : IVMRImagePresenterConfig +{ + HRESULT SetXlcModeDDObjAndPrimarySurface([in] IDirectDraw7 *dddev, [in] IDirectDrawSurface7 *ddsurface); + HRESULT GetXlcModeDDObjAndPrimarySurface([out] IDirectDraw7 **dddev, [out] IDirectDrawSurface7 **ddsurface); +}; + +[ + local, + object, + uuid(aac18c18-e186-46d2-825d-a1f8dc8e395a), + helpstring("IVPManager interface"), + pointer_default(unique) +] +interface IVPManager : IUnknown +{ + HRESULT SetVideoPortIndex([in] DWORD index); + HRESULT GetVideoPortIndex([out] DWORD *index); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vss.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vss.h new file mode 100644 index 0000000..adb4b88 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vss.h @@ -0,0 +1,46 @@ +/*** Autogenerated by WIDL 2.18 from vss.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __vss_h__ +#define __vss_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef GUID VSS_ID; +typedef enum _VSS_APPLICATION_LEVEL { + VSS_APP_AUTO = -1, + VSS_APP_UNKNOWN = 0, + VSS_APP_SYSTEM = 1, + VSS_APP_BACK_END = 2, + VSS_APP_FRONT_END = 3, + VSS_APP_SYSTEM_RM = 4 +} VSS_APPLICATION_LEVEL; +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __vss_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vss.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vss.idl new file mode 100644 index 0000000..62335ea --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vss.idl @@ -0,0 +1,31 @@ +/* + * Copyright 2014 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +typedef GUID VSS_ID; + +typedef enum _VSS_APPLICATION_LEVEL +{ + VSS_APP_AUTO = -1, + VSS_APP_UNKNOWN = 0, + VSS_APP_SYSTEM = 1, + VSS_APP_BACK_END = 2, + VSS_APP_FRONT_END = 3, + VSS_APP_SYSTEM_RM = 4 +} VSS_APPLICATION_LEVEL; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vsstyle.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vsstyle.h new file mode 100644 index 0000000..e6fb1a3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vsstyle.h @@ -0,0 +1,1739 @@ +/* + * Copyright (C) 2011 Piotr Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __VSSTYLE_H__ +#define __VSSTYLE_H__ + + +#define TMTVS_RESERVEDLOW 100000 +#define TMTVS_RESERVEDHIGH 19999 + +/* AEROWIZARDSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_AEROWIZARDSTYLE (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0} +#define VSCLASS_AEROWIZARD (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D',0} +#elif defined(_MSC_VER) +#define VSCLASS_AEROWIZARDSTYLE L"AEROWIZARDSTYLE" +#define VSCLASS_AEROWIZARD L"AEROWIZARD" +#else +static const WCHAR VSCLASS_AEROWIZARDSTYLE[] = {'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_AEROWIZARD [] = {'A','E','R','O','W','I','Z','A','R','D',0}; +#endif + +enum AEROWIZARDPARTS { + AW_TITLEBAR = 1, + AW_HEADERAREA = 2, + AW_CONTENTAREA = 3, + AW_COMMANDAREA = 4, + AW_BUTTON = 5, +}; + +#define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS; + +enum TITLEBARSTATES { + AW_S_TITLEBAR_ACTIVE = 1, + AW_S_TITLEBAR_INACTIVE = 2, +}; + +enum HEADERAREASTATES { + AW_S_HEADERAREA_NOMARGIN = 1, +}; + +enum CONTENTAREASTATES { + AW_S_CONTENTAREA_NOMARGIN = 1, +}; + +/* BUTTONSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_BUTTONSTYLE (const WCHAR []){'B','U','T','T','O','N','S','T','Y','L','E',0} +#define VSCLASS_BUTTON (const WCHAR []){'B','U','T','T','O','N',0} +#elif defined(_MSC_VER) +#define VSCLASS_BUTTONSTYLE L"BUTTONSTYLE" +#define VSCLASS_BUTTON L"BUTTON" +#else +static const WCHAR VSCLASS_BUTTONSTYLE [] = {'B','U','T','T','O','N','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_BUTTON [] = {'B','U','T','T','O','N',0}; +#endif + +enum BUTTONPARTS { + BP_PUSHBUTTON = 1, + BP_RADIOBUTTON = 2, + BP_CHECKBOX = 3, + BP_GROUPBOX = 4, + BP_USERBUTTON = 5, + BP_COMMANDLINK = 6, + BP_COMMANDLINKGLYPH = 7, +}; + +#define BUTTONSTYLEPARTS BUTTONPARTS; + +enum PUSHBUTTONSTATES { + PBS_NORMAL = 1, + PBS_HOT = 2, + PBS_PRESSED = 3, + PBS_DISABLED = 4, + PBS_DEFAULTED = 5, + PBS_DEFAULTED_ANIMATING = 6, +}; + +enum RADIOBUTTONSTATES { + RBS_UNCHECKEDNORMAL = 1, + RBS_UNCHECKEDHOT = 2, + RBS_UNCHECKEDPRESSED = 3, + RBS_UNCHECKEDDISABLED = 4, + RBS_CHECKEDNORMAL = 5, + RBS_CHECKEDHOT = 6, + RBS_CHECKEDPRESSED = 7, + RBS_CHECKEDDISABLED = 8, +}; + +enum CHECKBOXSTATES { + CBS_UNCHECKEDNORMAL = 1, + CBS_UNCHECKEDHOT = 2, + CBS_UNCHECKEDPRESSED = 3, + CBS_UNCHECKEDDISABLED = 4, + CBS_CHECKEDNORMAL = 5, + CBS_CHECKEDHOT = 6, + CBS_CHECKEDPRESSED = 7, + CBS_CHECKEDDISABLED = 8, + CBS_MIXEDNORMAL = 9, + CBS_MIXEDHOT = 10, + CBS_MIXEDPRESSED = 11, + CBS_MIXEDDISABLED = 12, + CBS_IMPLICITNORMAL = 13, + CBS_IMPLICITHOT = 14, + CBS_IMPLICITPRESSED = 15, + CBS_IMPLICITDISABLED = 16, + CBS_EXCLUDEDNORMAL = 17, + CBS_EXCLUDEDHOT = 18, + CBS_EXCLUDEDPRESSED = 19, + CBS_EXCLUDEDDISABLED = 20, +}; + +enum GROUPBOXSTATES { + GBS_NORMAL = 1, + GBS_DISABLED = 2, +}; + +enum COMMANDLINKSTATES { + CMDLS_NORMAL = 1, + CMDLS_HOT = 2, + CMDLS_PRESSED = 3, + CMDLS_DISABLED = 4, + CMDLS_DEFAULTED = 5, + CMDLS_DEFAULTED_ANIMATING = 6, +}; + +enum COMMANDLINKGLYPHSTATES { + CMDLGS_NORMAL = 1, + CMDLGS_HOT = 2, + CMDLGS_PRESSED = 3, + CMDLGS_DISABLED = 4, + CMDLGS_DEFAULTED = 5, +}; + +/* COMBOBOXSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_COMBOBOXSTYLE (const WCHAR []){'C','O','M','B','O','B','O','X','S','T','Y','L','E',0} +#define VSCLASS_COMBOBOX (const WCHAR []){'C','O','M','B','O','B','O','X',0} +#elif defined(_MSC_VER) +#define VSCLASS_COMBOBOXSTYLE L"COMBOBOXSTYLE" +#define VSCLASS_COMBOBOX L"COMBOBOX" +#else +static const WCHAR VSCLASS_COMBOBOXSTYLE [] = {'C','O','M','B','O','B','O','X','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_COMBOBOX [] = {'C','O','M','B','O','B','O','X',0}; +#endif + +enum COMBOBOXPARTS { + CP_DROPDOWNBUTTON = 1, + CP_BACKGROUND = 2, + CP_TRANSPARENTBACKGROUND = 3, + CP_BORDER = 4, + CP_READONLY = 5, + CP_DROPDOWNBUTTONRIGHT = 6, + CP_DROPDOWNBUTTONLEFT = 7, + CP_CUEBANNER = 8, +}; + +#define COMBOBOXSTYLEPARTS COMBOBOXPARTS; + +enum COMBOBOXSTYLESTATES { + CBXS_NORMAL = 1, + CBXS_HOT = 2, + CBXS_PRESSED = 3, + CBXS_DISABLED = 4, +}; + +enum DROPDOWNBUTTONRIGHTSTATES { + CBXSR_NORMAL = 1, + CBXSR_HOT = 2, + CBXSR_PRESSED = 3, + CBXSR_DISABLED = 4, +}; + +enum DROPDOWNBUTTONLEFTSTATES { + CBXSL_NORMAL = 1, + CBXSL_HOT = 2, + CBXSL_PRESSED = 3, + CBXSL_DISABLED = 4, +}; + +enum TRANSPARENTBACKGROUNDSTATES { + CBTBS_NORMAL = 1, + CBTBS_HOT = 2, + CBTBS_DISABLED = 3, + CBTBS_FOCUSED = 4, +}; + +enum BORDERSTATES { + CBB_NORMAL = 1, + CBB_HOT = 2, + CBB_FOCUSED = 3, + CBB_DISABLED = 4, +}; + +enum READONLYSTATES { + CBRO_NORMAL = 1, + CBRO_HOT = 2, + CBRO_PRESSED = 3, + CBRO_DISABLED = 4, +}; + +enum CUEBANNERSTATES { + CBCB_NORMAL = 1, + CBCB_HOT = 2, + CBCB_PRESSED = 3, + CBCB_DISABLED = 4, +}; + +/* COMMUNICATIONSSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_COMMUNICATIONSSTYLE (const WCHAR []){'C','O','M','M','U','N','I','C','A','T','I','O','N','S','S','T','Y','L','E',0} +#define VSCLASS_COMMUNICATIONS (const WCHAR []){'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0} +#elif defined(_MSC_VER) +#define VSCLASS_COMMUNICATIONSSTYLE L"COMMUNICATIONSSTYLE" +#define VSCLASS_COMMUNICATIONS L"COMMUNICATIONS" +#else +static const WCHAR VSCLASS_COMMUNICATIONSSTYLE [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0}; +#endif + +enum COMMUNICATIONSPARTS { + CSST_TAB = 1, +}; + +#define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS; + +enum TABSTATES { + CSTB_NORMAL = 1, + CSTB_HOT = 2, + CSTB_SELECTED = 3, +}; + +/* CONTROLPANELSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_CONTROLPANELSTYLE (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0} +#define VSCLASS_CONTROLPANEL (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L',0} +#elif defined(_MSC_VER) +#define VSCLASS_CONTROLPANELSTYLE L"CONTROLPANELSTYLE" +#define VSCLASS_CONTROLPANEL L"CONTROLPANEL" +#else +static const WCHAR VSCLASS_CONTROLPANELSTYLE [] = {'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_CONTROLPANEL [] = {'C','O','N','T','R','O','L','P','A','N','E','L',0}; +#endif + +enum CONTROLPANELPARTS { + CPANEL_NAVIGATIONPANE = 1, + CPANEL_CONTENTPANE = 2, + CPANEL_NAVIGATIONPANELABEL = 3, + CPANEL_CONTENTPANELABEL = 4, + CPANEL_TITLE = 5, + CPANEL_BODYTEXT = 6, + CPANEL_HELPLINK = 7, + CPANEL_TASKLINK = 8, + CPANEL_GROUPTEXT = 9, + CPANEL_CONTENTLINK = 10, + CPANEL_SECTIONTITLELINK = 11, + CPANEL_LARGECOMMANDAREA = 12, + CPANEL_SMALLCOMMANDAREA = 13, + CPANEL_BUTTON = 14, + CPANEL_MESSAGETEXT = 15, + CPANEL_NAVIGATIONPANELINE = 16, + CPANEL_CONTENTPANELINE = 17, + CPANEL_BANNERAREA = 18, + CPANEL_BODYTITLE = 19, +}; + +#define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS; + +enum HELPLINKSTATES { + CPHL_NORMAL = 1, + CPHL_HOT = 2, + CPHL_PRESSED = 3, + CPHL_DISABLED = 4, +}; + +enum TASKLINKSTATES { + CPTL_NORMAL = 1, + CPTL_HOT = 2, + CPTL_PRESSED = 3, + CPTL_DISABLED = 4, + CPTL_PAGE = 5, +}; + +enum CONTENTLINKSTATES { + CPCL_NORMAL = 1, + CPCL_HOT = 2, + CPCL_PRESSED = 3, + CPCL_DISABLED = 4, +}; + +enum SECTIONTITLELINKSTATES { + CPSTL_NORMAL = 1, + CPSTL_HOT = 2, +}; + +/* DATEPICKERSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_DATEPICKERSTYLE (const WCHAR []){'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0} +#define VSCLASS_DATEPICKER (const WCHAR []){'D','A','T','E','P','I','C','K','E','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE" +#define VSCLASS_DATEPICKER L"DATEPICKER" +#else +static const WCHAR VSCLASS_DATEPICKERSTYLE[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E','R',0}; +#endif + +enum DATEPICKERPARTS { + DP_DATETEXT = 1, + DP_DATEBORDER = 2, + DP_SHOWCALENDARBUTTONRIGHT = 3, +}; + +#define DATEPICKERSTYLEPARTS DATEPICKERPARTS; + +enum DATETEXTSTATES { + DPDT_NORMAL = 1, + DPDT_DISABLED = 2, + DPDT_SELECTED = 3, +}; + +enum DATEBORDERSTATES { + DPDB_NORMAL = 1, + DPDB_HOT = 2, + DPDB_FOCUSED = 3, + DPDB_DISABLED = 4, +}; + +enum SHOWCALENDARBUTTONRIGHTSTATES { + DPSCBR_NORMAL = 1, + DPSCBR_HOT = 2, + DPSCBR_PRESSED = 3, + DPSCBR_DISABLED = 4, +}; + +/* DRAGDROPSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_DRAGDROPSTYLE (const WCHAR []){'D','R','A','G','D','R','O','P','S','T','Y','L','E',0} +#define VSCLASS_DRAGDROP (const WCHAR []){'D','R','A','G','D','R','O','P',0} +#elif defined(_MSC_VER) +#define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE" +#define VSCLASS_DRAGDROP L"DRAGDROP" +#else +static const WCHAR VSCLASS_DRAGDROPSTYLE [] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_DRAGDROP [] = {'D','R','A','G','D','R','O','P',0}; +#endif + +enum DRAGDROPPARTS { + DD_COPY = 1, + DD_MOVE = 2, + DD_UPDATEMETADATA = 3, + DD_CREATELINK = 4, + DD_WARNING = 5, + DD_NONE = 6, + DD_IMAGEBG = 7, + DD_TEXTBG = 8, +}; + +#define DRAGDROPSTYLEPARTS DRAGDROPPARTS; + +enum COPYSTATES { + DDCOPY_HIGHLIGHT = 1, + DDCOPY_NOHIGHLIGHT = 2, +}; + +enum MOVESTATES { + DDMOVE_HIGHLIGHT = 1, + DDMOVE_NOHIGHLIGHT = 2, +}; + +enum UPDATEMETADATASTATES { + DDUPDATEMETADATA_HIGHLIGHT = 1, + DDUPDATEMETADATA_NOHIGHLIGHT = 2, +}; + +enum CREATELINKSTATES { + DDCREATELINK_HIGHLIGHT = 1, + DDCREATELINK_NOHIGHLIGHT = 2, +}; + +enum WARNINGSTATES { + DDWARNING_HIGHLIGHT = 1, + DDWARNING_NOHIGHLIGHT = 2, +}; + +enum NONESTATES { + DDNONE_HIGHLIGHT = 1, + DDNONE_NOHIGHLIGHT = 2, +}; + +/* EDITSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_EDITSTYLE (const WCHAR []){'E','D','I','T','S','T','Y','L','E',0} +#define VSCLASS_EDIT (const WCHAR []){'E','D','I','T',0} +#elif defined(_MSC_VER) +#define VSCLASS_EDITSTYLE L"EDITSTYLE" +#define VSCLASS_EDIT L"EDIT" +#else +static const WCHAR VSCLASS_EDITSTYLE [] = {'E','D','I','T','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_EDIT [] = {'E','D','I','T',0}; +#endif + +enum EDITPARTS { + EP_EDITTEXT = 1, + EP_CARET = 2, + EP_BACKGROUND = 3, + EP_PASSWORD = 4, + EP_BACKGROUNDWITHBORDER = 5, + EP_EDITBORDER_NOSCROLL = 6, + EP_EDITBORDER_HSCROLL = 7, + EP_EDITBORDER_VSCROLL = 8, + EP_EDITBORDER_HVSCROLL = 9, +}; + +#define EDITSTYLEPARTS EDITPARTS; + +enum EDITTEXTSTATES { + ETS_NORMAL = 1, + ETS_HOT = 2, + ETS_SELECTED = 3, + ETS_DISABLED = 4, + ETS_FOCUSED = 5, + ETS_READONLY = 6, + ETS_ASSIST = 7, + ETS_CUEBANNER = 8, +}; + +enum BACKGROUNDSTATES { + EBS_NORMAL = 1, + EBS_HOT = 2, + EBS_DISABLED = 3, + EBS_FOCUSED = 4, + EBS_READONLY = 5, + EBS_ASSIST = 6, +}; + +enum BACKGROUNDWITHBORDERSTATES { + EBWBS_NORMAL = 1, + EBWBS_HOT = 2, + EBWBS_DISABLED = 3, + EBWBS_FOCUSED = 4, +}; + +enum EDITBORDER_NOSCROLLSTATES { + EPSN_NORMAL = 1, + EPSN_HOT = 2, + EPSN_FOCUSED = 3, + EPSN_DISABLED = 4, +}; + +enum EDITBORDER_HSCROLLSTATES { + EPSH_NORMAL = 1, + EPSH_HOT = 2, + EPSH_FOCUSED = 3, + EPSH_DISABLED = 4, +}; + +enum EDITBORDER_VSCROLLSTATES { + EPSV_NORMAL = 1, + EPSV_HOT = 2, + EPSV_FOCUSED = 3, + EPSV_DISABLED = 4, +}; + +enum EDITBORDER_HVSCROLLSTATES { + EPSHV_NORMAL = 1, + EPSHV_HOT = 2, + EPSHV_FOCUSED = 3, + EPSHV_DISABLED = 4, +}; + +/* EXPLORERBARSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_EXPLORERBARSTYLE (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0} +#define VSCLASS_EXPLORERBAR (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE" +#define VSCLASS_EXPLORERBAR L"EXPLORERBAR" +#else +static const WCHAR VSCLASS_EXPLORERBARSTYLE [] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_EXPLORERBAR [] = {'E','X','P','L','O','R','E','R','B','A','R',0}; +#endif + +enum EXPLORERBARPARTS { + EBP_HEADERBACKGROUND = 1, + EBP_HEADERCLOSE = 2, + EBP_HEADERPIN = 3, + EBP_IEBARMENU = 4, + EBP_NORMALGROUPBACKGROUND = 5, + EBP_NORMALGROUPCOLLAPSE = 6, + EBP_NORMALGROUPEXPAND = 7, + EBP_NORMALGROUPHEAD = 8, + EBP_SPECIALGROUPBACKGROUND = 9, + EBP_SPECIALGROUPCOLLAPSE = 10, + EBP_SPECIALGROUPEXPAND = 11, + EBP_SPECIALGROUPHEAD = 12, +}; + +#define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS; + +enum HEADERCLOSESTATES { + EBHC_NORMAL = 1, + EBHC_HOT = 2, + EBHC_PRESSED = 3, +}; + +enum HEADERPINSTATES { + EBHP_NORMAL = 1, + EBHP_HOT = 2, + EBHP_PRESSED = 3, + EBHP_SELECTEDNORMAL = 4, + EBHP_SELECTEDHOT = 5, + EBHP_SELECTEDPRESSED = 6, +}; + +enum IEBARMENUSTATES { + EBM_NORMAL = 1, + EBM_HOT = 2, + EBM_PRESSED = 3, +}; + +enum NORMALGROUPCOLLAPSESTATES { + EBNGC_NORMAL = 1, + EBNGC_HOT = 2, + EBNGC_PRESSED = 3, +}; + +enum NORMALGROUPEXPANDSTATES { + EBNGE_NORMAL = 1, + EBNGE_HOT = 2, + EBNGE_PRESSED = 3, +}; + +enum SPECIALGROUPCOLLAPSESTATES { + EBSGC_NORMAL = 1, + EBSGC_HOT = 2, + EBSGC_PRESSED = 3, +}; + +enum SPECIALGROUPEXPANDSTATES { + EBSGE_NORMAL = 1, + EBSGE_HOT = 2, + EBSGE_PRESSED = 3, +}; + +/* FLYOUTSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_FLYOUTSTYLE (const WCHAR []){'F','L','Y','O','U','T','S','T','Y','L','E',0} +#define VSCLASS_FLYOUT (const WCHAR []){'F','L','Y','O','U','T',0} +#elif defined(_MSC_VER) +#define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE" +#define VSCLASS_FLYOUT L"FLYOUT" +#else +static const WCHAR VSCLASS_FLYOUTSTYLE [] = {'F','L','Y','O','U','T','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_FLYOUT [] = {'F','L','Y','O','U','T',0}; +#endif + +enum FLYOUTPARTS { + FLYOUT_HEADER = 1, + FLYOUT_BODY = 2, + FLYOUT_LABEL = 3, + FLYOUT_LINK = 4, + FLYOUT_DIVIDER = 5, + FLYOUT_WINDOW = 6, + FLYOUT_LINKAREA = 7, + FLYOUT_LINKHEADER = 8, +}; + +#define FLYOUTSTYLEPARTS FLYOUTPARTS; + +enum LABELSTATES { + FLS_NORMAL = 1, + FLS_SELECTED = 2, + FLS_EMPHASIZED = 3, + FLS_DISABLED = 4, +}; + +enum LINKSTATES { + FLYOUTLINK_NORMAL = 1, + FLYOUTLINK_HOVER = 2, +}; + +enum BODYSTATES { + FBS_NORMAL = 1, + FBS_EMPHASIZED = 2, +}; + +enum LINKHEADERSTATES { + FLH_NORMAL = 1, + FLH_HOVER = 2, +}; + +/* HEADERSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_HEADERSTYLE (const WCHAR []){'H','E','A','D','E','R','S','T','Y','L','E',0} +#define VSCLASS_HEADER (const WCHAR []){'H','E','A','D','E','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_HEADERSTYLE L"HEADERSTYLE" +#define VSCLASS_HEADER L"HEADER" +#else +static const WCHAR VSCLASS_HEADERSTYLE [] = {'H','E','A','D','E','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_HEADER [] = {'H','E','A','D','E','R',0}; +#endif + +enum HEADERPARTS { + HP_HEADERITEM = 1, + HP_HEADERITEMLEFT = 2, + HP_HEADERITEMRIGHT = 3, + HP_HEADERSORTARROW = 4, + HP_HEADERDROPDOWN = 5, + HP_HEADERDROPDOWNFILTER = 6, + HP_HEADEROVERFLOW = 7, +}; + +#define HEADERSTYLEPARTS HEADERPARTS; + +enum HEADERSTYLESTATES { + HBG_DETAILS = 1, + HBG_ICON = 2, +}; + +enum HEADERITEMSTATES { + HIS_NORMAL = 1, + HIS_HOT = 2, + HIS_PRESSED = 3, + HIS_SORTEDNORMAL = 4, + HIS_SORTEDHOT = 5, + HIS_SORTEDPRESSED = 6, + HIS_ICONNORMAL = 7, + HIS_ICONHOT = 8, + HIS_ICONPRESSED = 9, + HIS_ICONSORTEDNORMAL = 10, + HIS_ICONSORTEDHOT = 11, + HIS_ICONSORTEDPRESSED = 12, +}; + +enum HEADERITEMLEFTSTATES { + HILS_NORMAL = 1, + HILS_HOT = 2, + HILS_PRESSED = 3, +}; + +enum HEADERITEMRIGHTSTATES { + HIRS_NORMAL = 1, + HIRS_HOT = 2, + HIRS_PRESSED = 3, +}; + +enum HEADERSORTARROWSTATES { + HSAS_SORTEDUP = 1, + HSAS_SORTEDDOWN = 2, +}; + +enum HEADERDROPDOWNSTATES { + HDDS_NORMAL = 1, + HDDS_SOFTHOT = 2, + HDDS_HOT = 3, +}; + +enum HEADERDROPDOWNFILTERSTATES { + HDDFS_NORMAL = 1, + HDDFS_SOFTHOT = 2, + HDDFS_HOT = 3, +}; + +enum HEADEROVERFLOWSTATES { + HOFS_NORMAL = 1, + HOFS_HOT = 2, +}; + +/* LISTBOXSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_LISTBOXSTYLE (const WCHAR []){'L','I','S','T','B','O','X','S','T','Y','L','E',0} +#define VSCLASS_LISTBOX (const WCHAR []){'L','I','S','T','B','O','X',0} +#elif defined(_MSC_VER) +#define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE" +#define VSCLASS_LISTBOX L"LISTBOX" +#else +static const WCHAR VSCLASS_LISTBOXSTYLE [] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_LISTBOX[] = {'L','I','S','T','B','O','X',0}; +#endif + +enum LISTBOXPARTS { + LBCP_BORDER_HSCROLL = 1, + LBCP_BORDER_HVSCROLL = 2, + LBCP_BORDER_NOSCROLL = 3, + LBCP_BORDER_VSCROLL = 4, + LBCP_ITEM = 5, +}; + +#define LISTBOXSTYLEPARTS LISTBOXPARTS; + +enum BORDER_HSCROLLSTATES { + LBPSH_NORMAL = 1, + LBPSH_FOCUSED = 2, + LBPSH_HOT = 3, + LBPSH_DISABLED = 4, +}; + +enum BORDER_HVSCROLLSTATES { + LBPSHV_NORMAL = 1, + LBPSHV_FOCUSED = 2, + LBPSHV_HOT = 3, + LBPSHV_DISABLED = 4, +}; + +enum BORDER_NOSCROLLSTATES { + LBPSN_NORMAL = 1, + LBPSN_FOCUSED = 2, + LBPSN_HOT = 3, + LBPSN_DISABLED = 4, +}; + +enum BORDER_VSCROLLSTATES { + LBPSV_NORMAL = 1, + LBPSV_FOCUSED = 2, + LBPSV_HOT = 3, + LBPSV_DISABLED = 4, +}; + +enum ITEMSTATES { + LBPSI_HOT = 1, + LBPSI_HOTSELECTED = 2, + LBPSI_SELECTED = 3, + LBPSI_SELECTEDNOTFOCUS = 4, +}; + +/* LISTVIEWSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_LISTVIEWSTYLE (const WCHAR []){'L','I','S','T','V','I','E','W','S','T','Y','L','E',0} +#define VSCLASS_LISTVIEW (const WCHAR []){'L','I','S','T','V','I','E','W',0} +#elif defined(_MSC_VER) +#define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE" +#define VSCLASS_LISTVIEW L"LISTVIEW" +#else +static const WCHAR VSCLASS_LISTVIEWSTYLE [] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_LISTVIEW [] = {'L','I','S','T','V','I','E','W',0}; +#endif + +enum LISTVIEWPARTS { + LVP_LISTITEM = 1, + LVP_LISTGROUP = 2, + LVP_LISTDETAIL = 3, + LVP_LISTSORTEDDETAIL = 4, + LVP_EMPTYTEXT = 5, + LVP_GROUPHEADER = 6, + LVP_GROUPHEADERLINE = 7, + LVP_EXPANDBUTTON = 8, + LVP_COLLAPSEBUTTON = 9, + LVP_COLUMNDETAIL = 10, +}; + +#define LISTVIEWSTYLEPARTS LISTVIEWPARTS; + +enum LISTITEMSTATES { + LISS_NORMAL = 1, + LISS_HOT = 2, + LISS_SELECTED = 3, + LISS_DISABLED = 4, + LISS_SELECTEDNOTFOCUS = 5, + LISS_HOTSELECTED = 6, +}; + +enum GROUPHEADERSTATES { + LVGH_OPEN = 1, + LVGH_OPENHOT = 2, + LVGH_OPENSELECTED = 3, + LVGH_OPENSELECTEDHOT = 4, + LVGH_OPENSELECTEDNOTFOCUSED = 5, + LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6, + LVGH_OPENMIXEDSELECTION = 7, + LVGH_OPENMIXEDSELECTIONHOT = 8, + LVGH_CLOSE = 9, + LVGH_CLOSEHOT = 10, + LVGH_CLOSESELECTED = 11, + LVGH_CLOSESELECTEDHOT = 12, + LVGH_CLOSESELECTEDNOTFOCUSED = 13, + LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14, + LVGH_CLOSEMIXEDSELECTION = 15, + LVGH_CLOSEMIXEDSELECTIONHOT = 16, +}; + +enum GROUPHEADERLINESTATES { + LVGHL_OPEN = 1, + LVGHL_OPENHOT = 2, + LVGHL_OPENSELECTED = 3, + LVGHL_OPENSELECTEDHOT = 4, + LVGHL_OPENSELECTEDNOTFOCUSED = 5, + LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6, + LVGHL_OPENMIXEDSELECTION = 7, + LVGHL_OPENMIXEDSELECTIONHOT = 8, + LVGHL_CLOSE = 9, + LVGHL_CLOSEHOT = 10, + LVGHL_CLOSESELECTED = 11, + LVGHL_CLOSESELECTEDHOT = 12, + LVGHL_CLOSESELECTEDNOTFOCUSED = 13, + LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14, + LVGHL_CLOSEMIXEDSELECTION = 15, + LVGHL_CLOSEMIXEDSELECTIONHOT = 16, +}; + +enum EXPANDBUTTONSTATES { + LVEB_NORMAL = 1, + LVEB_HOVER = 2, + LVEB_PUSHED = 3, +}; + +enum COLLAPSEBUTTONSTATES { + LVCB_NORMAL = 1, + LVCB_HOVER = 2, + LVCB_PUSHED = 3, +}; + +/* MENUSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_MENUSTYLE (const WCHAR []){'M','E','N','U','S','T','Y','L','E',0} +#define VSCLASS_MENU (const WCHAR []){'M','E','N','U',0} +#elif defined(_MSC_VER) +#define VSCLASS_MENUSTYLE L"MENUSTYLE" +#define VSCLASS_MENU L"MENU" +#else +static const WCHAR VSCLASS_MENUSTYLE [] = {'M','E','N','U','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_MENU [] = {'M','E','N','U',0}; +#endif + +enum MENUPARTS { + MENU_MENUITEM_TMSCHEMA = 1, + MENU_MENUDROPDOWN_TMSCHEMA = 2, + MENU_MENUBARITEM_TMSCHEMA = 3, + MENU_MENUBARDROPDOWN_TMSCHEMA = 4, + MENU_CHEVRON_TMSCHEMA = 5, + MENU_SEPARATOR_TMSCHEMA = 6, + MENU_BARBACKGROUND = 7, + MENU_BARITEM = 8, + MENU_POPUPBACKGROUND = 9, + MENU_POPUPBORDERS = 10, + MENU_POPUPCHECK = 11, + MENU_POPUPCHECKBACKGROUND = 12, + MENU_POPUPGUTTER = 13, + MENU_POPUPITEM = 14, + MENU_POPUPSEPARATOR = 15, + MENU_POPUPSUBMENU = 16, + MENU_SYSTEMCLOSE = 17, + MENU_SYSTEMMAXIMIZE = 18, + MENU_SYSTEMMINIMIZE = 19, + MENU_SYSTEMRESTORE = 20, +}; + +#define MENUSTYLEPARTS MENUPARTS; + +enum BARBACKGROUNDSTATES { + MB_ACTIVE = 1, + MB_INACTIVE = 2, +}; + +enum BARITEMSTATES { + MBI_NORMAL = 1, + MBI_HOT = 2, + MBI_PUSHED = 3, + MBI_DISABLED = 4, + MBI_DISABLEDHOT = 5, + MBI_DISABLEDPUSHED = 6, +}; + +enum POPUPCHECKSTATES { + MC_CHECKMARKNORMAL = 1, + MC_CHECKMARKDISABLED = 2, + MC_BULLETNORMAL = 3, + MC_BULLETDISABLED = 4, +}; + +enum POPUPCHECKBACKGROUNDSTATES { + MCB_DISABLED = 1, + MCB_NORMAL = 2, + MCB_BITMAP = 3, +}; + +enum POPUPITEMSTATES { + MPI_NORMAL = 1, + MPI_HOT = 2, + MPI_DISABLED = 3, + MPI_DISABLEDHOT = 4, +}; + +enum POPUPSUBMENUSTATES { + MSM_NORMAL = 1, + MSM_DISABLED = 2, +}; + +enum SYSTEMCLOSESTATES { + MSYSC_NORMAL = 1, + MSYSC_DISABLED = 2, +}; + +enum SYSTEMMAXIMIZESTATES { + MSYSMX_NORMAL = 1, + MSYSMX_DISABLED = 2, +}; + +enum SYSTEMMINIMIZESTATES { + MSYSMN_NORMAL = 1, + MSYSMN_DISABLED = 2, +}; + +enum SYSTEMRESTORESTATES { + MSYSR_NORMAL = 1, + MSYSR_DISABLED = 2, +}; + +/* NAVIGATION class */ +#if defined(__GNUC__) +#define VSCLASS_NAVIGATION (const WCHAR []){'N','A','V','I','G','A','T','I','O','N',0} +#elif defined(_MSC_VER) +#define VSCLASS_NAVIGATION L"NAVIGATION" +#else +static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0}; +#endif + +enum NAVIGATIONPARTS { + NAV_BACKBUTTON = 1, + NAV_FORWARDBUTTON = 2, + NAV_MENUBUTTON = 3, +}; + +enum NAV_BACKBUTTONSTATES { + NAV_BB_NORMAL = 1, + NAV_BB_HOT = 2, + NAV_BB_PRESSED = 3, + NAV_BB_DISABLED = 4, +}; + +enum NAV_FORWARDBUTTONSTATES { + NAV_FB_NORMAL = 1, + NAV_FB_HOT = 2, + NAV_FB_PRESSED = 3, + NAV_FB_DISABLED = 4, +}; + +enum NAV_MENUBUTTONSTATES { + NAV_MB_NORMAL = 1, + NAV_MB_HOT = 2, + NAV_MB_PRESSED = 3, + NAV_MB_DISABLED = 4, +}; + +/* PROGRESSSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_PROGRESSSTYLE (const WCHAR []){'P','R','O','G','R','E','S','S','S','T','Y','L','E',0} +#define VSCLASS_PROGRESS (const WCHAR []){'P','R','O','G','R','E','S','S',0} +#elif defined(_MSC_VER) +#define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE" +#define VSCLASS_PROGRESS L"PROGRESS" +#else +static const WCHAR VSCLASS_PROGRESSSTYLE [] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_PROGRESS [] = {'P','R','O','G','R','E','S','S',0}; +#endif + +enum PROGRESSPARTS { + PP_BAR = 1, + PP_BARVERT = 2, + PP_CHUNK = 3, + PP_CHUNKVERT = 4, + PP_FILL = 5, + PP_FILLVERT = 6, + PP_PULSEOVERLAY = 7, + PP_MOVEOVERLAY = 8, + PP_PULSEOVERLAYVERT = 9, + PP_MOVEOVERLAYVERT = 10, + PP_TRANSPARENTBAR = 11, + PP_TRANSPARENTBARVERT = 12, +}; + +#define PROGRESSSTYLEPARTS PROGRESSPARTS; + +enum TRANSPARENTBARSTATES { + PBBS_NORMAL = 1, + PBBS_PARTIAL = 2, +}; + +enum TRANSPARENTBARVERTSTATES { + PBBVS_NORMAL = 1, + PBBVS_PARTIAL = 2, +}; + +enum FILLSTATES { + PBFS_NORMAL = 1, + PBFS_ERROR = 2, + PBFS_PAUSED = 3, + PBFS_PARTIAL = 4, +}; + +enum FILLVERTSTATES { + PBFVS_NORMAL = 1, + PBFVS_ERROR = 2, + PBFVS_PAUSED = 3, + PBFVS_PARTIAL = 4, +}; + +/* REBARSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_REBARSTYLE (const WCHAR []){'R','E','B','A','R','S','T','Y','L','E',0} +#define VSCLASS_REBAR (const WCHAR []){'R','E','B','A','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_REBARSTYLE L"REBARSTYLE" +#define VSCLASS_REBAR L"REBAR" +#else +static const WCHAR VSCLASS_REBARSTYLE [] = {'R','E','B','A','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_REBAR [] = {'R','E','B','A','R',0}; +#endif + +enum REBARPARTS { + RP_GRIPPER = 1, + RP_GRIPPERVERT = 2, + RP_BAND = 3, + RP_CHEVRON = 4, + RP_CHEVRONVERT = 5, + RP_BACKGROUND = 6, + RP_SPLITTER = 7, + RP_SPLITTERVERT = 8, +}; + +#define REBARSTYLEPARTS REBARPARTS; + +enum CHEVRONSTATES { + CHEVS_NORMAL = 1, + CHEVS_HOT = 2, + CHEVS_PRESSED = 3, +}; + +enum CHEVRONVERTSTATES { + CHEVSV_NORMAL = 1, + CHEVSV_HOT = 2, + CHEVSV_PRESSED = 3, +}; + +enum SPLITTERSTATES { + SPLITS_NORMAL = 1, + SPLITS_HOT = 2, + SPLITS_PRESSED = 3, +}; + +enum SPLITTERVERTSTATES { + SPLITSV_NORMAL = 1, + SPLITSV_HOT = 2, + SPLITSV_PRESSED = 3, +}; + +/* SCROLLBARSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_SCROLLBARSTYLE (const WCHAR []){'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0} +#define VSCLASS_SCROLLBAR (const WCHAR []){'S','C','R','O','L','L','B','A','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE" +#define VSCLASS_SCROLLBAR L"SCROLLBAR" +#else +static const WCHAR VSCLASS_SCROLLBARSTYLE [] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_SCROLLBAR [] = {'S','C','R','O','L','L','B','A','R',0}; +#endif + +enum SCROLLBARPARTS { + SBP_ARROWBTN = 1, + SBP_THUMBBTNHORZ = 2, + SBP_THUMBBTNVERT = 3, + SBP_LOWERTRACKHORZ = 4, + SBP_UPPERTRACKHORZ = 5, + SBP_LOWERTRACKVERT = 6, + SBP_UPPERTRACKVERT = 7, + SBP_GRIPPERHORZ = 8, + SBP_GRIPPERVERT = 9, + SBP_SIZEBOX = 10, +}; + +#define SCROLLBARSTYLEPARTS SCROLLBARPARTS; + +enum ARROWBTNSTATES { + ABS_UPNORMAL = 1, + ABS_UPHOT = 2, + ABS_UPPRESSED = 3, + ABS_UPDISABLED = 4, + ABS_DOWNNORMAL = 5, + ABS_DOWNHOT = 6, + ABS_DOWNPRESSED = 7, + ABS_DOWNDISABLED = 8, + ABS_LEFTNORMAL = 9, + ABS_LEFTHOT = 10, + ABS_LEFTPRESSED = 11, + ABS_LEFTDISABLED = 12, + ABS_RIGHTNORMAL = 13, + ABS_RIGHTHOT = 14, + ABS_RIGHTPRESSED = 15, + ABS_RIGHTDISABLED = 16, + ABS_UPHOVER = 17, + ABS_DOWNHOVER = 18, + ABS_LEFTHOVER = 19, + ABS_RIGHTHOVER = 20, +}; + +enum SCROLLBARSTYLESTATES { + SCRBS_NORMAL = 1, + SCRBS_HOT = 2, + SCRBS_PRESSED = 3, + SCRBS_DISABLED = 4, + SCRBS_HOVER = 5, +}; + +enum SIZEBOXSTATES { + SZB_RIGHTALIGN = 1, + SZB_LEFTALIGN = 2, + SZB_TOPRIGHTALIGN = 3, + SZB_TOPLEFTALIGN = 4, + SZB_HALFBOTTOMRIGHTALIGN = 5, + SZB_HALFBOTTOMLEFTALIGN = 6, + SZB_HALFTOPRIGHTALIGN = 7, + SZB_HALFTOPLEFTALIGN = 8, +}; + +/* SPINSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_SPINSTYLE (const WCHAR []){'S','P','I','N','S','T','Y','L','E',0} +#elif defined(_MSC_VER) +#define VSCLASS_SPINSTYLE L"SPINSTYLE" +#else +static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0}; +#endif +#if defined(__GNUC__) +#define VSCLASS_SPIN (const WCHAR []){'S','P','I','N',0} +#elif defined(_MSC_VER) +#define VSCLASS_SPIN L"SPIN" +#else +static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0}; +#endif + +enum SPINPARTS { + SPNP_UP = 1, + SPNP_DOWN = 2, + SPNP_UPHORZ = 3, + SPNP_DOWNHORZ = 4, +}; + +#define SPINSTYLEPARTS SPINPARTS; + +enum UPSTATES { + UPS_NORMAL = 1, + UPS_HOT = 2, + UPS_PRESSED = 3, + UPS_DISABLED = 4, +}; + +enum DOWNSTATES { + DNS_NORMAL = 1, + DNS_HOT = 2, + DNS_PRESSED = 3, + DNS_DISABLED = 4, +}; + +enum UPHORZSTATES { + UPHZS_NORMAL = 1, + UPHZS_HOT = 2, + UPHZS_PRESSED = 3, + UPHZS_DISABLED = 4, +}; + +enum DOWNHORZSTATES { + DNHZS_NORMAL = 1, + DNHZS_HOT = 2, + DNHZS_PRESSED = 3, + DNHZS_DISABLED = 4, +}; + +/* STATUSSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_STATUSSTYLE (const WCHAR []){'S','T','A','T','U','S','S','T','Y','L','E',0} +#define VSCLASS_STATUS (const WCHAR []){'S','T','A','T','U','S',0} +#elif defined(_MSC_VER) +#define VSCLASS_STATUSSTYLE L"STATUSSTYLE" +#define VSCLASS_STATUS L"STATUS" +#else +static const WCHAR VSCLASS_STATUSSTYLE [] = {'S','T','A','T','U','S','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0}; +#endif + +enum STATUSPARTS { + SP_PANE = 1, + SP_GRIPPERPANE = 2, + SP_GRIPPER = 3, +}; + +#define STATUSSTYLEPARTS STATUSPARTS; + +/* TABSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TABSTYLE (const WCHAR []){'T','A','B','S','T','Y','L','E',0} +#define VSCLASS_TAB (const WCHAR []){'T','A','B',0} +#elif defined(_MSC_VER) +#define VSCLASS_TABSTYLE L"TABSTYLE" +#define VSCLASS_TAB L"TAB" +#else +static const WCHAR VSCLASS_TABSTYLE [] = {'T','A','B','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_TAB [] = {'T','A','B',0}; +#endif + +enum TABPARTS { + TABP_TABITEM = 1, + TABP_TABITEMLEFTEDGE = 2, + TABP_TABITEMRIGHTEDGE = 3, + TABP_TABITEMBOTHEDGE = 4, + TABP_TOPTABITEM = 5, + TABP_TOPTABITEMLEFTEDGE = 6, + TABP_TOPTABITEMRIGHTEDGE = 7, + TABP_TOPTABITEMBOTHEDGE = 8, + TABP_PANE = 9, + TABP_BODY = 10, + TABP_AEROWIZARDBODY = 11, +}; + +#define TABSTYLEPARTS TABPARTS; + +enum TABITEMSTATES { + TIS_NORMAL = 1, + TIS_HOT = 2, + TIS_SELECTED = 3, + TIS_DISABLED = 4, + TIS_FOCUSED = 5, +}; + +enum TABITEMLEFTEDGESTATES { + TILES_NORMAL = 1, + TILES_HOT = 2, + TILES_SELECTED = 3, + TILES_DISABLED = 4, + TILES_FOCUSED = 5, +}; + +enum TABITEMRIGHTEDGESTATES { + TIRES_NORMAL = 1, + TIRES_HOT = 2, + TIRES_SELECTED = 3, + TIRES_DISABLED = 4, + TIRES_FOCUSED = 5, +}; + +enum TABITEMBOTHEDGESTATES { + TIBES_NORMAL = 1, + TIBES_HOT = 2, + TIBES_SELECTED = 3, + TIBES_DISABLED = 4, + TIBES_FOCUSED = 5, +}; + +enum TOPTABITEMSTATES { + TTIS_NORMAL = 1, + TTIS_HOT = 2, + TTIS_SELECTED = 3, + TTIS_DISABLED = 4, + TTIS_FOCUSED = 5, +}; + +enum TOPTABITEMLEFTEDGESTATES { + TTILES_NORMAL = 1, + TTILES_HOT = 2, + TTILES_SELECTED = 3, + TTILES_DISABLED = 4, + TTILES_FOCUSED = 5, +}; + +enum TOPTABITEMRIGHTEDGESTATES { + TTIRES_NORMAL = 1, + TTIRES_HOT = 2, + TTIRES_SELECTED = 3, + TTIRES_DISABLED = 4, + TTIRES_FOCUSED = 5, +}; + +enum TOPTABITEMBOTHEDGESTATES { + TTIBES_NORMAL = 1, + TTIBES_HOT = 2, + TTIBES_SELECTED = 3, + TTIBES_DISABLED = 4, + TTIBES_FOCUSED = 5, +}; + +/* TASKDIALOGSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TASKDIALOGSTYLE (const WCHAR []){'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0} +#define VSCLASS_TASKDIALOG (const WCHAR []){'T','A','S','K','D','I','A','L','O','G',0} +#elif defined(_MSC_VER) +#define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE" +#define VSCLASS_TASKDIALOG L"TASKDIALOG" +#else +static const WCHAR VSCLASS_TASKDIALOGSTYLE[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_TASKDIALOG [] = {'T','A','S','K','D','I','A','L','O','G',0}; +#endif + +enum TASKDIALOGPARTS { + TDLG_PRIMARYPANEL = 1, + TDLG_MAININSTRUCTIONPANE = 2, + TDLG_MAINICON = 3, + TDLG_CONTENTPANE = 4, + TDLG_CONTENTICON = 5, + TDLG_EXPANDEDCONTENT = 6, + TDLG_COMMANDLINKPANE = 7, + TDLG_SECONDARYPANEL = 8, + TDLG_CONTROLPANE = 9, + TDLG_BUTTONSECTION = 10, + TDLG_BUTTONWRAPPER = 11, + TDLG_EXPANDOTEXT = 12, + TDLG_EXPANDOBUTTON = 13, + TDLG_VERIFICATIONTEXT = 14, + TDLG_FOOTNOTEPANE = 15, + TDLG_FOOTNOTEAREA = 16, + TDLG_FOOTNOTESEPARATOR = 17, + TDLG_EXPANDEDFOOTERAREA = 18, + TDLG_PROGRESSBAR = 19, + TDLG_IMAGEALIGNMENT = 20, + TDLG_RADIOBUTTONPANE = 21, +}; + +#define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS; + +enum CONTENTPANESTATES { + TDLGCPS_STANDALONE = 1, +}; + +enum EXPANDOBUTTONSTATES { + TDLGEBS_NORMAL = 1, + TDLGEBS_HOVER = 2, + TDLGEBS_PRESSED = 3, + TDLGEBS_EXPANDEDNORMAL = 4, + TDLGEBS_EXPANDEDHOVER = 5, + TDLGEBS_EXPANDEDPRESSED = 6, +}; + +/* TEXTSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TEXTSTYLE (const WCHAR []){'T','E','X','T','S','T','Y','L','E',0} +#elif defined(_MSC_VER) +#define VSCLASS_TEXTSTYLE L"TEXTSTYLE" +#else +static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0}; +#endif + +enum TEXTSTYLEPARTS { + TEXT_MAININSTRUCTION = 1, + TEXT_INSTRUCTION = 2, + TEXT_BODYTITLE = 3, + TEXT_BODYTEXT = 4, + TEXT_SECONDARYTEXT = 5, + TEXT_HYPERLINKTEXT = 6, + TEXT_EXPANDED = 7, + TEXT_LABEL = 8, + TEXT_CONTROLLABEL = 9, +}; + +enum HYPERLINKTEXTSTATES { + TS_HYPERLINK_NORMAL = 1, + TS_HYPERLINK_HOT = 2, + TS_HYPERLINK_PRESSED = 3, + TS_HYPERLINK_DISABLED = 4, +}; + +enum CONTROLLABELSTATES { + TS_CONTROLLABEL_NORMAL = 1, + TS_CONTROLLABEL_DISABLED = 2, +}; + +/* TOOLBARSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TOOLBARSTYLE (const WCHAR []){'T','O','O','L','B','A','R','S','T','Y','L','E',0} +#define VSCLASS_TOOLBAR (const WCHAR []){'T','O','O','L','B','A','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE" +#define VSCLASS_TOOLBAR L"TOOLBAR" +#else +static const WCHAR VSCLASS_TOOLBARSTYLE [] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_TOOLBAR[] = {'T','O','O','L','B','A','R',0}; +#endif + +enum TOOLBARPARTS { + TP_BUTTON = 1, + TP_DROPDOWNBUTTON = 2, + TP_SPLITBUTTON = 3, + TP_SPLITBUTTONDROPDOWN = 4, + TP_SEPARATOR = 5, + TP_SEPARATORVERT = 6, +}; + +#define TOOLBARSTYLEPARTS TOOLBARPARTS; + +enum TOOLBARSTYLESTATES { + TS_NORMAL = 1, + TS_HOT = 2, + TS_PRESSED = 3, + TS_DISABLED = 4, + TS_CHECKED = 5, + TS_HOTCHECKED = 6, + TS_NEARHOT = 7, + TS_OTHERSIDEHOT = 8, +}; + +/* TOOLTIPSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TOOLTIPSTYLE (const WCHAR []){'T','O','O','L','T','I','P','S','T','Y','L','E',0} +#define VSCLASS_TOOLTIP (const WCHAR []){'T','O','O','L','T','I','P',0} +#elif defined(_MSC_VER) +#define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE" +#define VSCLASS_TOOLTIP L"TOOLTIP" +#else +static const WCHAR VSCLASS_TOOLTIPSTYLE [] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_TOOLTIP[] = {'T','O','O','L','T','I','P',0}; +#endif + +enum TOOLTIPPARTS { + TTP_STANDARD = 1, + TTP_STANDARDTITLE = 2, + TTP_BALLOON = 3, + TTP_BALLOONTITLE = 4, + TTP_CLOSE = 5, + TTP_BALLOONSTEM = 6, +}; + +#define TOOLTIPSTYLEPARTS TOOLTIPPARTS; + +enum CLOSESTATES { + TTCS_NORMAL = 1, + TTCS_HOT = 2, + TTCS_PRESSED = 3, +}; + +enum STANDARDSTATES { + TTSS_NORMAL = 1, + TTSS_LINK = 2, +}; + +enum BALLOONSTATES { + TTBS_NORMAL = 1, + TTBS_LINK = 2, +}; + +enum BALLOONSTEMSTATES { + TTBSS_POINTINGUPLEFTWALL = 1, + TTBSS_POINTINGUPCENTERED = 2, + TTBSS_POINTINGUPRIGHTWALL = 3, + TTBSS_POINTINGDOWNRIGHTWALL = 4, + TTBSS_POINTINGDOWNCENTERED = 5, + TTBSS_POINTINGDOWNLEFTWALL = 6, +}; + +/* TRACKBARSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TRACKBARSTYLE (const WCHAR []){'T','R','A','C','K','B','A','R','S','T','Y','L','E',0} +#define VSCLASS_TRACKBAR (const WCHAR []){'T','R','A','C','K','B','A','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE" +#define VSCLASS_TRACKBAR L"TRACKBAR" +#else +static const WCHAR VSCLASS_TRACKBARSTYLE [] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_TRACKBAR [] = {'T','R','A','C','K','B','A','R',0}; +#endif + +enum TRACKBARPARTS { + TKP_TRACK = 1, + TKP_TRACKVERT = 2, + TKP_THUMB = 3, + TKP_THUMBBOTTOM = 4, + TKP_THUMBTOP = 5, + TKP_THUMBVERT = 6, + TKP_THUMBLEFT = 7, + TKP_THUMBRIGHT = 8, + TKP_TICS = 9, + TKP_TICSVERT = 10, +}; + +#define TRACKBARSTYLEPARTS TRACKBARPARTS; + +enum TRACKBARSTYLESTATES { + TKS_NORMAL = 1, +}; + +enum TRACKSTATES { + TRS_NORMAL = 1, +}; + +enum TRACKVERTSTATES { + TRVS_NORMAL = 1, +}; + +enum THUMBSTATES { + TUS_NORMAL = 1, + TUS_HOT = 2, + TUS_PRESSED = 3, + TUS_FOCUSED = 4, + TUS_DISABLED = 5, +}; + +enum THUMBBOTTOMSTATES { + TUBS_NORMAL = 1, + TUBS_HOT = 2, + TUBS_PRESSED = 3, + TUBS_FOCUSED = 4, + TUBS_DISABLED = 5, +}; + +enum THUMBTOPSTATES { + TUTS_NORMAL = 1, + TUTS_HOT = 2, + TUTS_PRESSED = 3, + TUTS_FOCUSED = 4, + TUTS_DISABLED = 5, +}; + +enum THUMBVERTSTATES { + TUVS_NORMAL = 1, + TUVS_HOT = 2, + TUVS_PRESSED = 3, + TUVS_FOCUSED = 4, + TUVS_DISABLED = 5, +}; + +enum THUMBLEFTSTATES { + TUVLS_NORMAL = 1, + TUVLS_HOT = 2, + TUVLS_PRESSED = 3, + TUVLS_FOCUSED = 4, + TUVLS_DISABLED = 5, +}; + +enum THUMBRIGHTSTATES { + TUVRS_NORMAL = 1, + TUVRS_HOT = 2, + TUVRS_PRESSED = 3, + TUVRS_FOCUSED = 4, + TUVRS_DISABLED = 5, +}; + +enum TICSSTATES { + TSS_NORMAL = 1, +}; + +enum TICSVERTSTATES { + TSVS_NORMAL = 1, +}; + +/* TREEVIEWSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_TREEVIEWSTYLE (const WCHAR []){'T','R','E','E','V','I','E','W','S','T','Y','L','E',0} +#define VSCLASS_TREEVIEW (const WCHAR []){'T','R','E','E','V','I','E','W',0} +#elif defined(_MSC_VER) +#define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE" +#define VSCLASS_TREEVIEW L"TREEVIEW" +#else +static const WCHAR VSCLASS_TREEVIEWSTYLE [] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_TREEVIEW [] = {'T','R','E','E','V','I','E','W',0}; +#endif + +enum TREEVIEWPARTS { + TVP_TREEITEM = 1, + TVP_GLYPH = 2, + TVP_BRANCH = 3, + TVP_HOTGLYPH = 4, +}; + +#define TREEVIEWSTYLEPARTS TREEVIEWPARTS; + +enum TREEITEMSTATES { + TREIS_NORMAL = 1, + TREIS_HOT = 2, + TREIS_SELECTED = 3, + TREIS_DISABLED = 4, + TREIS_SELECTEDNOTFOCUS = 5, + TREIS_HOTSELECTED = 6, +}; + +enum GLYPHSTATES { + GLPS_CLOSED = 1, + GLPS_OPENED = 2, +}; + +enum HOTGLYPHSTATES { + HGLPS_CLOSED = 1, + HGLPS_OPENED = 2, +}; + +/* WINDOWSTYLE class */ +#if defined(__GNUC__) +#define VSCLASS_WINDOWSTYLE (const WCHAR []){'W','I','N','D','O','W','S','T','Y','L','E',0} +#define VSCLASS_WINDOW (const WCHAR []){'W','I','N','D','O','W',0} +#elif defined(_MSC_VER) +#define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE" +#define VSCLASS_WINDOW L"WINDOW" +#else +static const WCHAR VSCLASS_WINDOWSTYLE [] = {'W','I','N','D','O','W','S','T','Y','L','E',0}; +static const WCHAR VSCLASS_WINDOW [] = {'W','I','N','D','O','W',0}; +#endif + +enum WINDOWPARTS { + WP_CAPTION = 1, + WP_SMALLCAPTION = 2, + WP_MINCAPTION = 3, + WP_SMALLMINCAPTION = 4, + WP_MAXCAPTION = 5, + WP_SMALLMAXCAPTION = 6, + WP_FRAMELEFT = 7, + WP_FRAMERIGHT = 8, + WP_FRAMEBOTTOM = 9, + WP_SMALLFRAMELEFT = 10, + WP_SMALLFRAMERIGHT = 11, + WP_SMALLFRAMEBOTTOM = 12, + WP_SYSBUTTON = 13, + WP_MDISYSBUTTON = 14, + WP_MINBUTTON = 15, + WP_MDIMINBUTTON = 16, + WP_MAXBUTTON = 17, + WP_CLOSEBUTTON = 18, + WP_SMALLCLOSEBUTTON = 19, + WP_MDICLOSEBUTTON = 20, + WP_RESTOREBUTTON = 21, + WP_MDIRESTOREBUTTON = 22, + WP_HELPBUTTON = 23, + WP_MDIHELPBUTTON = 24, + WP_HORZSCROLL = 25, + WP_HORZTHUMB = 26, + WP_VERTSCROLL = 27, + WP_VERTTHUMB = 28, + WP_DIALOG = 29, + WP_CAPTIONSIZINGTEMPLATE = 30, + WP_SMALLCAPTIONSIZINGTEMPLATE = 31, + WP_FRAMELEFTSIZINGTEMPLATE = 32, + WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33, + WP_FRAMERIGHTSIZINGTEMPLATE = 34, + WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35, + WP_FRAMEBOTTOMSIZINGTEMPLATE = 36, + WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37, + WP_FRAME = 38, +}; + +#define WINDOWSTYLEPARTS WINDOWPARTS; + +enum FRAMESTATES { + FS_ACTIVE = 1, + FS_INACTIVE = 2, +}; + +enum CAPTIONSTATES { + CS_ACTIVE = 1, + CS_INACTIVE = 2, + CS_DISABLED = 3, +}; + +enum MAXCAPTIONSTATES { + MXCS_ACTIVE = 1, + MXCS_INACTIVE = 2, + MXCS_DISABLED = 3, +}; + +enum MINCAPTIONSTATES { + MNCS_ACTIVE = 1, + MNCS_INACTIVE = 2, + MNCS_DISABLED = 3, +}; + +enum HORZSCROLLSTATES { + HSS_NORMAL = 1, + HSS_HOT = 2, + HSS_PUSHED = 3, + HSS_DISABLED = 4, +}; + +enum HORZTHUMBSTATES { + HTS_NORMAL = 1, + HTS_HOT = 2, + HTS_PUSHED = 3, + HTS_DISABLED = 4, +}; + +enum VERTSCROLLSTATES { + VSS_NORMAL = 1, + VSS_HOT = 2, + VSS_PUSHED = 3, + VSS_DISABLED = 4, +}; + +enum VERTTHUMBSTATES { + VTS_NORMAL = 1, + VTS_HOT = 2, + VTS_PUSHED = 3, + VTS_DISABLED = 4, +}; + +enum SYSBUTTONSTATES { + SBS_NORMAL = 1, + SBS_HOT = 2, + SBS_PUSHED = 3, + SBS_DISABLED = 4, +}; + +enum MINBUTTONSTATES { + MINBS_NORMAL = 1, + MINBS_HOT = 2, + MINBS_PUSHED = 3, + MINBS_DISABLED = 4, +}; + +enum RESTOREBUTTONSTATES { + RBS_NORMAL = 1, + RBS_HOT = 2, + RBS_PUSHED = 3, + RBS_DISABLED = 4, +}; + +enum HELPBUTTONSTATES { + HBS_NORMAL = 1, + HBS_HOT = 2, + HBS_PUSHED = 3, + HBS_DISABLED = 4, +}; + +enum CLOSEBUTTONSTATES { + CBS_NORMAL = 1, + CBS_HOT = 2, + CBS_PUSHED = 3, + CBS_DISABLED = 4, +}; + +#endif /* __VSSTYLE_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vssym32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vssym32.h new file mode 100644 index 0000000..3536462 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vssym32.h @@ -0,0 +1,678 @@ +/* + * Copyright (C) 2011 Piotr Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __VSSYM32_H__ +#define __VSSYM32_H__ + +#include "vsstyle.h" + + +enum BGTYPE { + BT_IMAGEFILE = 0, + BT_BORDERFILL = 1, + BT_NONE = 2, +}; + +enum IMAGELAYOUT { + IL_VERTICAL = 0, + IL_HORIZONTAL = 1, +}; + +enum BORDERTYPE { + BT_RECT = 0, + BT_ROUNDRECT = 1, + BT_ELLIPSE = 2, +}; + +enum FILLTYPE { + FT_SOLID = 0, + FT_VERTGRADIENT = 1, + FT_HORZGRADIENT = 2, + FT_RADIALGRADIENT = 3, + FT_TILEIMAGE = 4, +}; + +enum SIZINGTYPE { + ST_TRUESIZE = 0, + ST_STRETCH = 1, + ST_TILE = 2, +}; + +enum HALIGN { + HA_LEFT = 0, + HA_CENTER = 1, + HA_RIGHT = 2, +}; + +enum CONTENTALIGNMENT { + CA_LEFT = 0, + CA_CENTER = 1, + CA_RIGHT = 2, +}; + +enum VALIGN { + VA_TOP = 0, + VA_CENTER = 1, + VA_BOTTOM = 2, +}; + +enum OFFSETTYPE { + OT_TOPLEFT = 0, + OT_TOPRIGHT = 1, + OT_TOPMIDDLE = 2, + OT_BOTTOMLEFT = 3, + OT_BOTTOMRIGHT = 4, + OT_BOTTOMMIDDLE = 5, + OT_MIDDLELEFT = 6, + OT_MIDDLERIGHT = 7, + OT_LEFTOFCAPTION = 8, + OT_RIGHTOFCAPTION = 9, + OT_LEFTOFLASTBUTTON = 10, + OT_RIGHTOFLASTBUTTON = 11, + OT_ABOVELASTBUTTON = 12, + OT_BELOWLASTBUTTON = 13, +}; + +enum ICONEFFECT { + ICE_NONE = 0, + ICE_GLOW = 1, + ICE_SHADOW = 2, + ICE_PULSE = 3, + ICE_ALPHA = 4, +}; + +enum TEXTSHADOWTYPE { + TST_NONE = 0, + TST_SINGLE = 1, + TST_CONTINUOUS = 2, +}; + +enum GLYPHTYPE { + GT_NONE = 0, + GT_IMAGEGLYPH = 1, + GT_FONTGLYPH = 2, +}; + +enum IMAGESELECTTYPE { + IST_NONE = 0, + IST_SIZE = 1, + IST_DPI = 2, +}; + +enum TRUESIZESCALINGTYPE { + TSST_NONE = 0, + TSST_SIZE = 1, + TSST_DPI = 2, +}; + +enum GLYPHFONTSIZINGTYPE { + GFST_NONE = 0, + GFST_SIZE = 1, + GFST_DPI = 2, +}; + +#define TMT_RESERVEDLOW 0 +#define TMT_RESERVEDHIGH 7999 + +#define TMT_DIBDATA 2 +#define TMT_GLYPHDIBDATA 8 +#define TMT_ENUM 200 +#define TMT_STRING 201 +#define TMT_INT 202 +#define TMT_BOOL 203 +#define TMT_COLOR 204 +#define TMT_MARGINS 205 +#define TMT_FILENAME 206 +#define TMT_SIZE 207 +#define TMT_POSITION 208 +#define TMT_RECT 209 +#define TMT_FONT 210 +#define TMT_INTLIST 211 +#define TMT_HBITMAP 212 +#define TMT_DISKSTREAM 213 +#define TMT_STREAM 214 +#define TMT_BITMAPREF 215 +#define TMT_COLORSCHEMES 401 +#define TMT_SIZES 402 +#define TMT_CHARSET 403 +#define TMT_NAME 600 +#define TMT_DISPLAYNAME 601 +#define TMT_TOOLTIP 602 +#define TMT_COMPANY 603 +#define TMT_AUTHOR 604 +#define TMT_COPYRIGHT 605 +#define TMT_URL 606 +#define TMT_VERSION 607 +#define TMT_DESCRIPTION 608 +#define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME +#define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION +#define TMT_CAPTIONFONT 801 +#define TMT_SMALLCAPTIONFONT 802 +#define TMT_MENUFONT 803 +#define TMT_STATUSFONT 804 +#define TMT_MSGBOXFONT 805 +#define TMT_ICONTITLEFONT 806 +#define TMT_HEADING1FONT 807 +#define TMT_HEADING2FONT 808 +#define TMT_BODYFONT 809 +#define TMT_FIRSTFONT TMT_CAPTIONFONT +#define TMT_LASTFONT TMT_BODYFONT +#define TMT_FLATMENUS 1001 +#define TMT_FIRSTBOOL TMT_FLATMENUS +#define TMT_LASTBOOL TMT_FLATMENUS +#define TMT_SIZINGBORDERWIDTH 1201 +#define TMT_SCROLLBARWIDTH 1202 +#define TMT_SCROLLBARHEIGHT 1203 +#define TMT_CAPTIONBARWIDTH 1204 +#define TMT_CAPTIONBARHEIGHT 1205 +#define TMT_SMCAPTIONBARWIDTH 1206 +#define TMT_SMCAPTIONBARHEIGHT 1207 +#define TMT_MENUBARWIDTH 1208 +#define TMT_MENUBARHEIGHT 1209 +#define TMT_PADDEDBORDERWIDTH 1210 +#define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH +#define TMT_LASTSIZE TMT_PADDEDBORDERWIDTH +#define TMT_MINCOLORDEPTH 1301 +#define TMT_FIRSTINT TMT_MINCOLORDEPTH +#define TMT_LASTINT TMT_MINCOLORDEPTH +#define TMT_CSSNAME 1401 +#define TMT_XMLNAME 1402 +#define TMT_LASTUPDATED 1403 +#define TMT_ALIAS 1404 +#define TMT_FIRSTSTRING TMT_CSSNAME +#define TMT_LASTSTRING TMT_ALIAS +#define TMT_SCROLLBAR 1601 +#define TMT_BACKGROUND 1602 +#define TMT_ACTIVECAPTION 1603 +#define TMT_INACTIVECAPTION 1604 +#define TMT_MENU 1605 +#define TMT_WINDOW 1606 +#define TMT_WINDOWFRAME 1607 +#define TMT_MENUTEXT 1608 +#define TMT_WINDOWTEXT 1609 +#define TMT_CAPTIONTEXT 1610 +#define TMT_ACTIVEBORDER 1611 +#define TMT_INACTIVEBORDER 1612 +#define TMT_APPWORKSPACE 1613 +#define TMT_HIGHLIGHT 1614 +#define TMT_HIGHLIGHTTEXT 1615 +#define TMT_BTNFACE 1616 +#define TMT_BTNSHADOW 1617 +#define TMT_GRAYTEXT 1618 +#define TMT_BTNTEXT 1619 +#define TMT_INACTIVECAPTIONTEXT 1620 +#define TMT_BTNHIGHLIGHT 1621 +#define TMT_DKSHADOW3D 1622 +#define TMT_LIGHT3D 1623 +#define TMT_INFOTEXT 1624 +#define TMT_INFOBK 1625 +#define TMT_BUTTONALTERNATEFACE 1626 +#define TMT_HOTTRACKING 1627 +#define TMT_GRADIENTACTIVECAPTION 1628 +#define TMT_GRADIENTINACTIVECAPTION 1629 +#define TMT_MENUHILIGHT 1630 +#define TMT_MENUBAR 1631 +#define TMT_FIRSTCOLOR TMT_SCROLLBAR +#define TMT_LASTCOLOR TMT_MENUBAR +#define TMT_FROMHUE1 1801 +#define TMT_FROMHUE2 1802 +#define TMT_FROMHUE3 1803 +#define TMT_FROMHUE4 1804 +#define TMT_FROMHUE5 1805 +#define TMT_TOHUE1 1806 +#define TMT_TOHUE2 1807 +#define TMT_TOHUE3 1808 +#define TMT_TOHUE4 1809 +#define TMT_TOHUE5 1810 +#define TMT_FROMCOLOR1 2001 +#define TMT_FROMCOLOR2 2002 +#define TMT_FROMCOLOR3 2003 +#define TMT_FROMCOLOR4 2004 +#define TMT_FROMCOLOR5 2005 +#define TMT_TOCOLOR1 2006 +#define TMT_TOCOLOR2 2007 +#define TMT_TOCOLOR3 2008 +#define TMT_TOCOLOR4 2009 +#define TMT_TOCOLOR5 2010 +#define TMT_TRANSPARENT 2201 +#define TMT_AUTOSIZE 2202 +#define TMT_BORDERONLY 2203 +#define TMT_COMPOSITED 2204 +#define TMT_BGFILL 2205 +#define TMT_GLYPHTRANSPARENT 2206 +#define TMT_GLYPHONLY 2207 +#define TMT_ALWAYSSHOWSIZINGBAR 2208 +#define TMT_MIRRORIMAGE 2209 +#define TMT_UNIFORMSIZING 2210 +#define TMT_INTEGRALSIZING 2211 +#define TMT_SOURCEGROW 2212 +#define TMT_SOURCESHRINK 2213 +#define TMT_DRAWBORDERS 2214 +#define TMT_NOETCHEDEFFECT 2215 +#define TMT_TEXTAPPLYOVERLAY 2216 +#define TMT_TEXTGLOW 2217 +#define TMT_TEXTITALIC 2218 +#define TMT_COMPOSITEDOPAQUE 2219 +#define TMT_LOCALIZEDMIRRORIMAGE 2220 +#define TMT_IMAGECOUNT 2401 +#define TMT_ALPHALEVEL 2402 +#define TMT_BORDERSIZE 2403 +#define TMT_ROUNDCORNERWIDTH 2404 +#define TMT_ROUNDCORNERHEIGHT 2405 +#define TMT_GRADIENTRATIO1 2406 +#define TMT_GRADIENTRATIO2 2407 +#define TMT_GRADIENTRATIO3 2408 +#define TMT_GRADIENTRATIO4 2409 +#define TMT_GRADIENTRATIO5 2410 +#define TMT_PROGRESSCHUNKSIZE 2411 +#define TMT_PROGRESSSPACESIZE 2412 +#define TMT_SATURATION 2413 +#define TMT_TEXTBORDERSIZE 2414 +#define TMT_ALPHATHRESHOLD 2415 +#define TMT_WIDTH 2416 +#define TMT_HEIGHT 2417 +#define TMT_GLYPHINDEX 2418 +#define TMT_TRUESIZESTRETCHMARK 2419 +#define TMT_MINDPI1 2420 +#define TMT_MINDPI2 2421 +#define TMT_MINDPI3 2422 +#define TMT_MINDPI4 2423 +#define TMT_MINDPI5 2424 +#define TMT_TEXTGLOWSIZE 2425 +#define TMT_FRAMESPERSECOND 2426 +#define TMT_PIXELSPERFRAME 2427 +#define TMT_ANIMATIONDELAY 2428 +#define TMT_GLOWINTENSITY 2429 +#define TMT_OPACITY 2430 +#define TMT_COLORIZATIONCOLOR 2431 +#define TMT_COLORIZATIONOPACITY 2432 +#define TMT_GLYPHFONT 2601 +#define TMT_IMAGEFILE 3001 +#define TMT_IMAGEFILE1 3002 +#define TMT_IMAGEFILE2 3003 +#define TMT_IMAGEFILE3 3004 +#define TMT_IMAGEFILE4 3005 +#define TMT_IMAGEFILE5 3006 +#define TMT_GLYPHIMAGEFILE 3008 +#define TMT_TEXT 3201 +#define TMT_CLASSICVALUE 3202 +#define TMT_OFFSET 3401 +#define TMT_TEXTSHADOWOFFSET 3402 +#define TMT_MINSIZE 3403 +#define TMT_MINSIZE1 3404 +#define TMT_MINSIZE2 3405 +#define TMT_MINSIZE3 3406 +#define TMT_MINSIZE4 3407 +#define TMT_MINSIZE5 3408 +#define TMT_NORMALSIZE 3409 +#define TMT_SIZINGMARGINS 3601 +#define TMT_CONTENTMARGINS 3602 +#define TMT_CAPTIONMARGINS 3603 +#define TMT_BORDERCOLOR 3801 +#define TMT_FILLCOLOR 3802 +#define TMT_TEXTCOLOR 3803 +#define TMT_EDGELIGHTCOLOR 3804 +#define TMT_EDGEHIGHLIGHTCOLOR 3805 +#define TMT_EDGESHADOWCOLOR 3806 +#define TMT_EDGEDKSHADOWCOLOR 3807 +#define TMT_EDGEFILLCOLOR 3808 +#define TMT_TRANSPARENTCOLOR 3809 +#define TMT_GRADIENTCOLOR1 3810 +#define TMT_GRADIENTCOLOR2 3811 +#define TMT_GRADIENTCOLOR3 3812 +#define TMT_GRADIENTCOLOR4 3813 +#define TMT_GRADIENTCOLOR5 3814 +#define TMT_SHADOWCOLOR 3815 +#define TMT_GLOWCOLOR 3816 +#define TMT_TEXTBORDERCOLOR 3817 +#define TMT_TEXTSHADOWCOLOR 3818 +#define TMT_GLYPHTEXTCOLOR 3819 +#define TMT_GLYPHTRANSPARENTCOLOR 3820 +#define TMT_FILLCOLORHINT 3821 +#define TMT_BORDERCOLORHINT 3822 +#define TMT_ACCENTCOLORHINT 3823 +#define TMT_TEXTCOLORHINT 3824 +#define TMT_HEADING1TEXTCOLOR 3825 +#define TMT_HEADING2TEXTCOLOR 3826 +#define TMT_BODYTEXTCOLOR 3827 +#define TMT_BGTYPE 4001 +#define TMT_BORDERTYPE 4002 +#define TMT_FILLTYPE 4003 +#define TMT_SIZINGTYPE 4004 +#define TMT_HALIGN 4005 +#define TMT_CONTENTALIGNMENT 4006 +#define TMT_VALIGN 4007 +#define TMT_OFFSETTYPE 4008 +#define TMT_ICONEFFECT 4009 +#define TMT_TEXTSHADOWTYPE 4010 +#define TMT_IMAGELAYOUT 4011 +#define TMT_GLYPHTYPE 4012 +#define TMT_IMAGESELECTTYPE 4013 +#define TMT_GLYPHFONTSIZINGTYPE 4014 +#define TMT_TRUESIZESCALINGTYPE 4015 +#define TMT_USERPICTURE 5001 +#define TMT_DEFAULTPANESIZE 5002 +#define TMT_BLENDCOLOR 5003 +#define TMT_CUSTOMSPLITRECT 5004 +#define TMT_ANIMATIONBUTTONRECT 5005 +#define TMT_ANIMATIONDURATION 5006 +#define TMT_TRANSITIONDURATIONS 6000 +#define TMT_SCALEDBACKGROUND 7001 +#define TMT_ATLASIMAGE 8000 +#define TMT_ATLASINPUTIMAGE 8001 +#define TMT_ATLASRECT 8002 + +/* LINK class */ +#if defined(__GNUC__) +#define VSCLASS_LINK (const WCHAR []){'L','I','N','K',0} +#elif defined(_MSC_VER) +#define VSCLASS_LINK L"LINK" +#else +static const WCHAR VSCLASS_LINK[] = {'L','I','N','K',0}; +#endif + +enum LINKPARTS { + LP_HYPERLINK = 1, +}; + +enum HYPERLINKSTATES { + HLS_NORMALTEXT = 1, + HLS_LINKTEXT = 2, +}; + +/* EMPTYMARKUP class */ +#if defined(__GNUC__) +#define VSCLASS_EMPTYMARKUP (const WCHAR []){'E','M','P','T','Y','M','A','R','K','U','P',0} +#elif defined(_MSC_VER) +#define VSCLASS_EMPTYMARKUP L"EMPTYMARKUP" +#else +static const WCHAR VSCLASS_EMPTYMARKUP[] = {'E','M','P','T','Y','M','A','R','K','U','P',0}; +#endif + +enum EMPTYMARKUPPARTS { + EMP_MARKUPTEXT = 1, +}; + +enum MARKUPTEXTSTATES { + EMT_NORMALTEXT = 1, + EMT_LINKTEXT = 2, +}; + +/* STATIC class */ +#if defined(__GNUC__) +#define VSCLASS_STATIC (const WCHAR []){'S','T','A','T','I','C',0} +#elif defined(_MSC_VER) +#define VSCLASS_STATIC L"STATIC" +#else +static const WCHAR VSCLASS_STATIC[] = {'S','T','A','T','I','C',0}; +#endif + +enum STATICPARTS { + STAT_TEXT = 1, +}; + +/* PAGE class */ +#if defined(__GNUC__) +#define VSCLASS_PAGE (const WCHAR []){'P','A','G','E',0} +#elif defined(_MSC_VER) +#define VSCLASS_PAGE L"PAGE" +#else +static const WCHAR VSCLASS_PAGE[] = {'P','A','G','E',0}; +#endif + +enum PAGEPARTS { + PGRP_UP = 1, + PGRP_DOWN = 2, + PGRP_UPHORZ = 3, + PGRP_DOWNHORZ = 4, +}; + +/* MONTHCAL class */ +#if defined(__GNUC__) +#define VSCLASS_MONTHCAL (const WCHAR []){'M','O','N','T','H','C','A','L',0} +#elif defined(_MSC_VER) +#define VSCLASS_MONTHCAL L"MONTHCAL" +#else +static const WCHAR VSCLASS_MONTHCAL[] = {'M','O','N','T','H','C','A','L',0}; +#endif + +enum MONTHCALPARTS { + MC_BACKGROUND = 1, + MC_BORDERS = 2, + MC_GRIDBACKGROUND = 3, + MC_COLHEADERSPLITTER = 4, + MC_GRIDCELLBACKGROUND = 5, + MC_GRIDCELL = 6, + MC_GRIDCELLUPPER = 7, + MC_TRAILINGGRIDCELL = 8, + MC_TRAILINGGRIDCELLUPPER = 9, + MC_NAVNEXT = 10, + MC_NAVPREV = 11, +}; + +enum GRIDCELLBACKGROUNDSTATES { + MCGCB_SELECTED = 1, + MCGCB_HOT = 2, + MCGCB_SELECTEDHOT = 3, + MCGCB_SELECTEDNOTFOCUSED = 4, + MCGCB_TODAY = 5, +}; + +enum GRIDCELLSTATES { + MCGC_HOT = 1, + MCGC_HASSTATE = 2, + MCGC_HASSTATEHOT = 3, + MCGC_TODAY = 4, +}; + +enum GRIDCELLUPPERSTATES { + MCGCU_HOT = 1, + MCGCU_HASSTATE = 2, + MCGCU_HASSTATEHOT = 3, +}; + +enum TRAILINGGRIDCELLSTATES { + MCTGC_HOT = 1, + MCTGC_HASSTATE = 2, + MCTGC_HASSTATEHOT = 3, + MCTGC_TODAY = 4, +}; + +enum TRAILINGGRIDCELLUPPERSTATES { + MCTGCU_HOT = 1, + MCTGCU_HASSTATE = 2, + MCTGCU_HASSTATEHOT = 3, +}; + +enum NAVNEXTSTATES { + MCNN_NORMAL = 1, + MCNN_HOT = 2, + MCNN_PRESSED = 3, + MCNN_DISABLED = 4, +}; + +enum NAVPREVSTATES { + MCNP_NORMAL = 1, + MCNP_HOT = 2, + MCNP_PRESSED = 3, + MCNP_DISABLED = 4, +}; + +/* CLOCK class */ +#if defined(__GNUC__) +#define VSCLASS_CLOCK (const WCHAR []){'C','L','O','C','K',0} +#elif defined(_MSC_VER) +#define VSCLASS_CLOCK L"CLOCK" +#else +static const WCHAR VSCLASS_CLOCK[] = {'C','L','O','C','K',0}; +#endif + +enum CLOCKPARTS { + CLP_TIME = 1, +}; + +enum CLOCKSTATES { + CLS_NORMAL = 1, +}; + +/* TRAYNOTIFY class */ +#if defined(__GNUC__) +#define VSCLASS_TRAYNOTIFY (const WCHAR []){'T','R','A','Y','N','O','T','I','F','Y',0} +#elif defined(_MSC_VER) +#define VSCLASS_TRAYNOTIFY L"TRAYNOTIFY" +#else +static const WCHAR VSCLASS_TRAYNOTIFY[] = {'T','R','A','Y','N','O','T','I','F','Y',0}; +#endif + +enum TRAYNOTIFYPARTS { + TNP_BACKGROUND = 1, + TNP_ANIMBACKGROUND = 2, +}; + +/* TASKBAR class */ +#if defined(__GNUC__) +#define VSCLASS_TASKBAR (const WCHAR []){'T','A','S','K','B','A','R',0} +#elif defined(_MSC_VER) +#define VSCLASS_TASKBAR L"TASKBAR" +#else +static const WCHAR VSCLASS_TASKBAR[] = {'T','A','S','K','B','A','R',0}; +#endif + +enum TASKBARPARTS { + TBP_BACKGROUNDBOTTOM = 1, + TBP_BACKGROUNDRIGHT = 2, + TBP_BACKGROUNDTOP = 3, + TBP_BACKGROUNDLEFT = 4, + TBP_SIZINGBARBOTTOM = 5, + TBP_SIZINGBARRIGHT = 6, + TBP_SIZINGBARTOP = 7, + TBP_SIZINGBARLEFT = 8, +}; + +/* TASKBAND class */ +#if defined(__GNUC__) +#define VSCLASS_TASKBAND (const WCHAR []){'T','A','S','K','B','A','N','D',0} +#elif defined(_MSC_VER) +#define VSCLASS_TASKBAND L"TASKBAND" +#else +static const WCHAR VSCLASS_TASKBAND[] = {'T','A','S','K','B','A','N','D',0}; +#endif + +enum TASKBANDPARTS { + TDP_GROUPCOUNT = 1, + TDP_FLASHBUTTON = 2, + TDP_FLASHBUTTONGROUPMENU = 3, +}; + +/* STARTPANEL class */ +#if defined(__GNUC__) +#define VSCLASS_STARTPANEL (const WCHAR []){'S','T','A','R','T','P','A','N','E','L',0} +#elif defined(_MSC_VER) +#define VSCLASS_STARTPANEL L"STARTPANEL" +#else +static const WCHAR VSCLASS_STARTPANEL[] = {'S','T','A','R','T','P','A','N','E','L',0}; +#endif + +enum STARTPANELPARTS { + SPP_USERPANE = 1, + SPP_MOREPROGRAMS = 2, + SPP_MOREPROGRAMSARROW = 3, + SPP_PROGLIST = 4, + SPP_PROGLISTSEPARATOR = 5, + SPP_PLACESLIST = 6, + SPP_PLACESLISTSEPARATOR = 7, + SPP_LOGOFF = 8, + SPP_LOGOFFBUTTONS = 9, + SPP_USERPICTURE = 10, + SPP_PREVIEW = 11, + SPP_MOREPROGRAMSTAB = 12, + SPP_NSCHOST = 13, + SPP_SOFTWAREEXPLORER = 14, + SPP_OPENBOX = 15, + SPP_SEARCHVIEW = 16, + SPP_MOREPROGRAMSARROWBACK = 17, + SPP_TOPMATCH = 18, + SPP_LOGOFFSPLITBUTTONDROPDOWN = 19, +}; + +enum MOREPROGRAMSTABSTATES { + SPMPT_NORMAL = 1, + SPMPT_HOT = 2, + SPMPT_SELECTED = 3, + SPMPT_DISABLED = 4, + SPMPT_FOCUSED = 5, +}; + +enum SOFTWAREEXPLORERSTATES { + SPSE_NORMAL = 1, + SPSE_HOT = 2, + SPSE_SELECTED = 3, + SPSE_DISABLED = 4, + SPSE_FOCUSED = 5, +}; + +enum OPENBOXSTATES { + SPOB_NORMAL = 1, + SPOB_HOT = 2, + SPOB_SELECTED = 3, + SPOB_DISABLED = 4, + SPOB_FOCUSED = 5, +}; + +enum MOREPROGRAMSARROWSTATES { + SPS_NORMAL = 1, + SPS_HOT = 2, + SPS_PRESSED = 3, +}; + +enum MOREPROGRAMSARROWBACKSTATES { + SPSB_NORMAL = 1, + SPSB_HOT = 2, + SPSB_PRESSED = 3, +}; + +enum LOGOFFBUTTONSSTATES { + SPLS_NORMAL = 1, + SPLS_HOT = 2, + SPLS_PRESSED = 3, +}; + +/* MENUBAND class */ +#if defined(__GNUC__) +#define VSCLASS_MENUBAND (const WCHAR []){'M','E','N','U','B','A','N','D',0} +#elif defined(_MSC_VER) +#define VSCLASS_MENUBAND L"MENUBAND" +#else +static const WCHAR VSCLASS_MENUBAND[] = {'M','E','N','U','B','A','N','D',0}; +#endif + +enum MENUBANDPARTS { + MDP_NEWAPPBUTTON = 1, + MDP_SEPERATOR = 2, +}; + +enum MENUBANDSTATES { + MDS_NORMAL = 1, + MDS_HOT = 2, + MDS_PRESSED = 3, + MDS_DISABLED = 4, + MDS_CHECKED = 5, + MDS_HOTCHECKED = 6, +}; + +#endif /* __VSSYM32_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vswriter.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vswriter.h new file mode 100644 index 0000000..043b871 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/vswriter.h @@ -0,0 +1,47 @@ +/* + * Copyright 2014 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_VSWRITER_H +#define __WINE_VSWRITER_H + +typedef enum +{ + VSS_UT_UNDEFINED, + VSS_UT_BOOTABLESYSTEMSTATE, + VSS_UT_SYSTEMSERVICE, + VSS_UT_USERDATA, + VSS_UT_OTHER +} VSS_USAGE_TYPE; + +typedef enum +{ + VSS_ST_UNDEFINED, + VSS_ST_TRANSACTEDDB, + VSS_ST_NONTRANSACTEDDB, + VSS_ST_OTHER +} VSS_SOURCE_TYPE; + +typedef enum +{ + VSS_AWS_UNDEFINED, + VSS_AWS_NO_ALTERNATE_WRITER, + VSS_AWS_ALTERNATE_WRITER_EXISTS, + VSS_AWS_THIS_IS_ALTERNATE_WRITER +} VSS_ALTERNATE_WRITER_STATE; + +#endif /* ___WINE_VSWRITER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemcli.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemcli.h new file mode 100644 index 0000000..eab3001 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemcli.h @@ -0,0 +1,1827 @@ +/*** Autogenerated by WIDL 2.18 from wbemcli.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wbemcli_h__ +#define __wbemcli_h__ + +/* Forward declarations */ + +#ifndef __IWbemLocator_FWD_DEFINED__ +#define __IWbemLocator_FWD_DEFINED__ +typedef interface IWbemLocator IWbemLocator; +#ifdef __cplusplus +interface IWbemLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemStatusCodeText_FWD_DEFINED__ +#define __IWbemStatusCodeText_FWD_DEFINED__ +typedef interface IWbemStatusCodeText IWbemStatusCodeText; +#ifdef __cplusplus +interface IWbemStatusCodeText; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemObjectSink_FWD_DEFINED__ +#define __IWbemObjectSink_FWD_DEFINED__ +typedef interface IWbemObjectSink IWbemObjectSink; +#ifdef __cplusplus +interface IWbemObjectSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemServices_FWD_DEFINED__ +#define __IWbemServices_FWD_DEFINED__ +typedef interface IWbemServices IWbemServices; +#ifdef __cplusplus +interface IWbemServices; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumWbemClassObject_FWD_DEFINED__ +#define __IEnumWbemClassObject_FWD_DEFINED__ +typedef interface IEnumWbemClassObject IEnumWbemClassObject; +#ifdef __cplusplus +interface IEnumWbemClassObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemClassObject_FWD_DEFINED__ +#define __IWbemClassObject_FWD_DEFINED__ +typedef interface IWbemClassObject IWbemClassObject; +#ifdef __cplusplus +interface IWbemClassObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemQualifierSet_FWD_DEFINED__ +#define __IWbemQualifierSet_FWD_DEFINED__ +typedef interface IWbemQualifierSet IWbemQualifierSet; +#ifdef __cplusplus +interface IWbemQualifierSet; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DEFINE_GUID(CLSID_WbemLocator, 0x4590f811,0x1d3A,0x11d0,0x89,0x1f,0x00,0xaa,0x00,0x4b,0x2e,0x24); +DEFINE_GUID(CLSID_WbemStatusCode, 0xeb87e1bd,0x3233,0x11d2,0xae,0xc9,0x00,0xc0,0x4f,0xb6,0x88,0x20); +#ifndef __IWbemContext_FWD_DEFINED__ +#define __IWbemContext_FWD_DEFINED__ +typedef interface IWbemContext IWbemContext; +#ifdef __cplusplus +interface IWbemContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemServices_FWD_DEFINED__ +#define __IWbemServices_FWD_DEFINED__ +typedef interface IWbemServices IWbemServices; +#ifdef __cplusplus +interface IWbemServices; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemStatusCodeText_FWD_DEFINED__ +#define __IWbemStatusCodeText_FWD_DEFINED__ +typedef interface IWbemStatusCodeText IWbemStatusCodeText; +#ifdef __cplusplus +interface IWbemStatusCodeText; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemCallResult_FWD_DEFINED__ +#define __IWbemCallResult_FWD_DEFINED__ +typedef interface IWbemCallResult IWbemCallResult; +#ifdef __cplusplus +interface IWbemCallResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemObjectSink_FWD_DEFINED__ +#define __IWbemObjectSink_FWD_DEFINED__ +typedef interface IWbemObjectSink IWbemObjectSink; +#ifdef __cplusplus +interface IWbemObjectSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemClassObject_FWD_DEFINED__ +#define __IWbemClassObject_FWD_DEFINED__ +typedef interface IWbemClassObject IWbemClassObject; +#ifdef __cplusplus +interface IWbemClassObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumWbemClassObject_FWD_DEFINED__ +#define __IEnumWbemClassObject_FWD_DEFINED__ +typedef interface IEnumWbemClassObject IEnumWbemClassObject; +#ifdef __cplusplus +interface IEnumWbemClassObject; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemQualifierSet_FWD_DEFINED__ +#define __IWbemQualifierSet_FWD_DEFINED__ +typedef interface IWbemQualifierSet IWbemQualifierSet; +#ifdef __cplusplus +interface IWbemQualifierSet; +#endif /* __cplusplus */ +#endif + +typedef enum tag_WBEMSTATUS { + WBEM_NO_ERROR = 0, + WBEM_S_NO_ERROR = 0, + WBEM_S_SAME = 0, + WBEM_S_FALSE = 1, + WBEM_S_ALREADY_EXISTS = 0x40001, + WBEM_S_RESET_TO_DEFAULT = 0x40002, + WBEM_S_DIFFERENT = 0x40003, + WBEM_S_TIMEDOUT = 0x40004, + WBEM_S_NO_MORE_DATA = 0x40005, + WBEM_S_OPERATION_CANCELLED = 0x40006, + WBEM_S_PENDING = 0x40007, + WBEM_S_DUPLICATE_OBJECTS = 0x40008, + WBEM_S_ACCESS_DENIED = 0x40009, + WBEM_S_PARTIAL_RESULTS = 0x40010, + WBEM_S_SOURCE_NOT_AVAILABLE = 0x40017, + WBEM_E_FAILED = 0x80041001, + WBEM_E_NOT_FOUND = 0x80041002, + WBEM_E_ACCESS_DENIED = 0x80041003, + WBEM_E_PROVIDER_FAILURE = 0x80041004, + WBEM_E_TYPE_MISMATCH = 0x80041005, + WBEM_E_OUT_OF_MEMORY = 0x80041006, + WBEM_E_INVALID_CONTEXT = 0x80041007, + WBEM_E_INVALID_PARAMETER = 0x80041008, + WBEM_E_NOT_AVAILABLE = 0x80041009, + WBEM_E_CRITICAL_ERROR = 0x8004100a, + WBEM_E_INVALID_STREAM = 0x8004100b, + WBEM_E_NOT_SUPPORTED = 0x8004100c, + WBEM_E_INVALID_SUPERCLASS = 0x8004100d, + WBEM_E_INVALID_NAMESPACE = 0x8004100e, + WBEM_E_INVALID_OBJECT = 0x8004100f, + WBEM_E_INVALID_CLASS = 0x80041010, + WBEM_E_PROVIDER_NOT_FOUND = 0x80041011, + WBEM_E_INVALID_PROVIDER_REGISTRATION = 0x80041012, + WBEM_E_PROVIDER_LOAD_FAILURE = 0x80041013, + WBEM_E_INITIALIZATION_FAILURE = 0x80041014, + WBEM_E_TRANSPORT_FAILURE = 0x80041015, + WBEM_E_INVALID_OPERATION = 0x80041016, + WBEM_E_INVALID_QUERY = 0x80041017, + WBEM_E_INVALID_QUERY_TYPE = 0x80041018, + WBEM_E_ALREADY_EXISTS = 0x80041019, + WBEM_E_OVERRIDE_NOT_ALLOWED = 0x8004101a, + WBEM_E_PROPAGATED_QUALIFIER = 0x8004101b, + WBEM_E_PROPAGATED_PROPERTY = 0x8004101c, + WBEM_E_UNEXPECTED = 0x8004101d, + WBEM_E_ILLEGAL_OPERATION = 0x8004101e, + WBEM_E_CANNOT_BE_KEY = 0x8004101f, + WBEM_E_INCOMPLETE_CLASS = 0x80041020, + WBEM_E_INVALID_SYNTAX = 0x80041021, + WBEM_E_NONDECORATED_OBJECT = 0x80041022, + WBEM_E_READ_ONLY = 0x80041023, + WBEM_E_PROVIDER_NOT_CAPABLE = 0x80041024, + WBEM_E_CLASS_HAS_CHILDREN = 0x80041025, + WBEM_E_CLASS_HAS_INSTANCES = 0x80041026, + WBEM_E_QUERY_NOT_IMPLEMENTED = 0x80041027, + WBEM_E_ILLEGAL_NULL = 0x80041028, + WBEM_E_INVALID_QUALIFIER_TYPE = 0x80041029, + WBEM_E_INVALID_PROPERTY_TYPE = 0x8004102a, + WBEM_E_VALUE_OUT_OF_RANGE = 0x8004102b, + WBEM_E_CANNOT_BE_SINGLETON = 0x8004102c, + WBEM_E_INVALID_CIM_TYPE = 0x8004102d, + WBEM_E_INVALID_METHOD = 0x8004102e, + WBEM_E_INVALID_METHOD_PARAMETERS = 0x8004102f, + WBEM_E_SYSTEM_PROPERTY = 0x80041030, + WBEM_E_INVALID_PROPERTY = 0x80041031, + WBEM_E_CALL_CANCELLED = 0x80041032, + WBEM_E_SHUTTING_DOWN = 0x80041033, + WBEM_E_PROPAGATED_METHOD = 0x80041034, + WBEM_E_UNSUPPORTED_PARAMETER = 0x80041035, + WBEM_E_MISSING_PARAMETER_ID = 0x80041036, + WBEM_E_INVALID_PARAMETER_ID = 0x80041037, + WBEM_E_NONCONSECUTIVE_PARAMETER_IDS = 0x80041038, + WBEM_E_PARAMETER_ID_ON_RETVAL = 0x80041039, + WBEM_E_INVALID_OBJECT_PATH = 0x8004103a, + WBEM_E_OUT_OF_DISK_SPACE = 0x8004103b, + WBEM_E_BUFFER_TOO_SMALL = 0x8004103c, + WBEM_E_UNSUPPORTED_PUT_EXTENSION = 0x8004103d, + WBEM_E_UNKNOWN_OBJECT_TYPE = 0x8004103e, + WBEM_E_UNKNOWN_PACKET_TYPE = 0x8004103f, + WBEM_E_MARSHAL_VERSION_MISMATCH = 0x80041040, + WBEM_E_MARSHAL_INVALID_SIGNATURE = 0x80041041, + WBEM_E_INVALID_QUALIFIER = 0x80041042, + WBEM_E_INVALID_DUPLICATE_PARAMETER = 0x80041043, + WBEM_E_TOO_MUCH_DATA = 0x80041044, + WBEM_E_SERVER_TOO_BUSY = 0x80041045, + WBEM_E_INVALID_FLAVOR = 0x80041046, + WBEM_E_CIRCULAR_REFERENCE = 0x80041047, + WBEM_E_UNSUPPORTED_CLASS_UPDATE = 0x80041048, + WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE = 0x80041049, + WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE = 0x80041050, + WBEM_E_TOO_MANY_PROPERTIES = 0x80041051, + WBEM_E_UPDATE_TYPE_MISMATCH = 0x80041052, + WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED = 0x80041053, + WBEM_E_UPDATE_PROPAGATED_METHOD = 0x80041054, + WBEM_E_METHOD_NOT_IMPLEMENTED = 0x80041055, + WBEM_E_METHOD_DISABLED = 0x80041056, + WBEM_E_REFRESHER_BUSY = 0x80041057, + WBEM_E_UNPARSABLE_QUERY = 0x80041058, + WBEM_E_NOT_EVENT_CLASS = 0x80041059, + WBEM_E_MISSING_GROUP_WITHIN = 0x8004105a, + WBEM_E_MISSING_AGGREGATION_LIST = 0x8004105b, + WBEM_E_PROPERTY_NOT_AN_OBJECT = 0x8004105c, + WBEM_E_AGGREGATING_BY_OBJECT = 0x8004105d, + WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY = 0x8004105f, + WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING = 0x80041060, + WBEM_E_QUEUE_OVERFLOW = 0x80041061, + WBEM_E_PRIVILEGE_NOT_HELD = 0x80041062, + WBEM_E_INVALID_OPERATOR = 0x80041063, + WBEM_E_LOCAL_CREDENTIALS = 0x80041064, + WBEM_E_CANNOT_BE_ABSTRACT = 0x80041065, + WBEM_E_AMENDED_OBJECT = 0x80041066, + WBEM_E_CLIENT_TOO_SLOW = 0x80041067, + WBEM_E_NULL_SECURITY_DESCRIPTOR = 0x80041068, + WBEM_E_TIMED_OUT = 0x80041069, + WBEM_E_INVALID_ASSOCIATION = 0x8004106a, + WBEM_E_AMBIGUOUS_OPERATION = 0x8004106b, + WBEM_E_QUOTA_VIOLATION = 0x8004106c, + WBEM_E_RESERVED_001 = 0x8004106d, + WBEM_E_RESERVED_002 = 0x8004106e, + WBEM_E_UNSUPPORTED_LOCALE = 0x8004106f, + WBEM_E_HANDLE_OUT_OF_DATE = 0x80041070, + WBEM_E_CONNECTION_FAILED = 0x80041071, + WBEM_E_INVALID_HANDLE_REQUEST = 0x80041072, + WBEM_E_PROPERTY_NAME_TOO_WIDE = 0x80041073, + WBEM_E_CLASS_NAME_TOO_WIDE = 0x80041074, + WBEM_E_METHOD_NAME_TOO_WIDE = 0x80041075, + WBEM_E_QUALIFIER_NAME_TOO_WIDE = 0x80041076, + WBEM_E_RERUN_COMMAND = 0x80041077, + WBEM_E_DATABASE_VER_MISMATCH = 0x80041078, + WBEM_E_VETO_DELETE = 0x80041079, + WBEM_E_VETO_PUT = 0x8004107a, + WBEM_E_INVALID_LOCALE = 0x80041080, + WBEM_E_PROVIDER_SUSPENDED = 0x80041081, + WBEM_E_SYNCHRONIZATION_REQUIRED = 0x80041082, + WBEM_E_NO_SCHEMA = 0x80041083, + WBEM_E_PROVIDER_ALREADY_REGISTERED = 0x80041084, + WBEM_E_PROVIDER_NOT_REGISTERED = 0x80041085, + WBEM_E_FATAL_TRANSPORT_ERROR = 0x80041086, + WBEM_E_ENCRYPTED_CONNECTION_REQUIRED = 0x80041087, + WBEM_E_PROVIDER_TIMED_OUT = 0x80041088, + WBEM_E_NO_KEY = 0x80041089, + WBEM_E_PROVIDER_DISABLED = 0x8004108a +} WBEMSTATUS; +typedef enum tag_WBEM_STATUS_TYPE { + WBEM_STATUS_COMPLETE = 0, + WBEM_STATUS_REQUIREMENTS = 1, + WBEM_STATUS_PROGRESS = 2 +} WBEM_STATUS_TYPE; +typedef enum tag_WBEM_TIMEOUT_TYPE { + WBEM_NO_WAIT = 0, + WBEM_INFINITE = 0xffffffff +} WBEM_TIMEOUT_TYPE; +typedef enum tag_WBEM_CONDITION_FLAG_TYPE { + WBEM_FLAG_ALWAYS = 0, + WBEM_FLAG_ONLY_IF_TRUE = 0x1, + WBEM_FLAG_ONLY_IF_FALSE = 0x2, + WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3, + WBEM_MASK_PRIMARY_CONDITION = 0x3, + WBEM_FLAG_KEYS_ONLY = 0x4, + WBEM_FLAG_REFS_ONLY = 0x8, + WBEM_FLAG_LOCAL_ONLY = 0x10, + WBEM_FLAG_PROPAGATED_ONLY = 0x20, + WBEM_FLAG_SYSTEM_ONLY = 0x30, + WBEM_FLAG_NONSYSTEM_ONLY = 0x40, + WBEM_MASK_CONDITION_ORIGIN = 0x70, + WBEM_FLAG_CLASS_OVERRIDES_ONLY = 0x100, + WBEM_FLAG_CLASS_LOCAL_AND_OVERRIDES = 0x200, + WBEM_MASK_CLASS_CONDITION = 0x300 +} WBEM_CONDITION_FLAG_TYPE; +typedef enum tag_WBEM_FLAVOR_TYPE { + WBEM_FLAVOR_DONT_PROPAGATE = 0, + WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1, + WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2, + WBEM_FLAVOR_MASK_PROPAGATION = 0xf, + WBEM_FLAVOR_OVERRIDABLE = 0, + WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10, + WBEM_FLAVOR_MASK_PERMISSIONS = 0x10, + WBEM_FLAVOR_ORIGIN_LOCAL = 0, + WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20, + WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40, + WBEM_FLAVOR_MASK_ORIGIN = 0x60, + WBEM_FLAVOR_NOT_AMENDED = 0, + WBEM_FLAVOR_AMENDED = 0x80, + WBEM_FLAVOR_MASK_AMENDED = 0x80 +} WBEM_FLAVOR_TYPE; +typedef enum tag_WBEM_GENUS_TYPE { + WBEM_GENUS_CLASS = 1, + WBEM_GENUS_INSTANCE = 2 +} WBEM_GENUS_TYPE; +typedef enum tag_CIMTYPE_ENUMERATION { + CIM_ILLEGAL = 0xfff, + CIM_EMPTY = 0, + CIM_SINT16 = 2, + CIM_SINT32 = 3, + CIM_REAL32 = 4, + CIM_REAL64 = 5, + CIM_STRING = 8, + CIM_BOOLEAN = 11, + CIM_OBJECT = 13, + CIM_SINT8 = 16, + CIM_UINT8 = 17, + CIM_UINT16 = 18, + CIM_UINT32 = 19, + CIM_SINT64 = 20, + CIM_UINT64 = 21, + CIM_DATETIME = 101, + CIM_REFERENCE = 102, + CIM_CHAR16 = 103, + CIM_FLAG_ARRAY = 0x2000 +} CIMTYPE_ENUMERATION; +typedef LONG CIMTYPE; +/***************************************************************************** + * IWbemLocator interface + */ +#ifndef __IWbemLocator_INTERFACE_DEFINED__ +#define __IWbemLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemLocator, 0xdc12a687, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc12a687-737f-11cf-884d-00aa004b2e24") +IWbemLocator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ConnectServer( + const BSTR strNetworkResource, + const BSTR strUser, + const BSTR strPassword, + const BSTR strLocale, + LONG lSecurityFlags, + const BSTR strAuthority, + IWbemContext *pCtx, + IWbemServices **ppNamespace) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemLocator, 0xdc12a687, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24) +#endif +#else +typedef struct IWbemLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemLocator *This); + + /*** IWbemLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *ConnectServer)( + IWbemLocator *This, + const BSTR strNetworkResource, + const BSTR strUser, + const BSTR strPassword, + const BSTR strLocale, + LONG lSecurityFlags, + const BSTR strAuthority, + IWbemContext *pCtx, + IWbemServices **ppNamespace); + + END_INTERFACE +} IWbemLocatorVtbl; + +interface IWbemLocator { + CONST_VTBL IWbemLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemLocator_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemLocator methods ***/ +#define IWbemLocator_ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) (This)->lpVtbl->ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemLocator_QueryInterface(IWbemLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemLocator_AddRef(IWbemLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemLocator_Release(IWbemLocator* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemLocator methods ***/ +static FORCEINLINE HRESULT IWbemLocator_ConnectServer(IWbemLocator* This,const BSTR strNetworkResource,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,LONG lSecurityFlags,const BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace) { + return This->lpVtbl->ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace); +} +#endif +#endif + +#endif + + +#endif /* __IWbemLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWbemStatusCodeText interface + */ +#ifndef __IWbemStatusCodeText_INTERFACE_DEFINED__ +#define __IWbemStatusCodeText_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemStatusCodeText, 0xeb87e1bc, 0x3233, 0x11d2, 0xae,0xc9, 0x00,0xc0,0x4f,0xb6,0x88,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eb87e1bc-3233-11d2-aec9-00c04fb68820") +IWbemStatusCodeText : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetErrorCodeText( + HRESULT hRes, + LCID LocaleId, + LONG lFlags, + BSTR *MessageText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFacilityCodeText( + HRESULT hRes, + LCID LocaleId, + LONG lFlags, + BSTR *MessageText) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemStatusCodeText, 0xeb87e1bc, 0x3233, 0x11d2, 0xae,0xc9, 0x00,0xc0,0x4f,0xb6,0x88,0x20) +#endif +#else +typedef struct IWbemStatusCodeTextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemStatusCodeText *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemStatusCodeText *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemStatusCodeText *This); + + /*** IWbemStatusCodeText methods ***/ + HRESULT (STDMETHODCALLTYPE *GetErrorCodeText)( + IWbemStatusCodeText *This, + HRESULT hRes, + LCID LocaleId, + LONG lFlags, + BSTR *MessageText); + + HRESULT (STDMETHODCALLTYPE *GetFacilityCodeText)( + IWbemStatusCodeText *This, + HRESULT hRes, + LCID LocaleId, + LONG lFlags, + BSTR *MessageText); + + END_INTERFACE +} IWbemStatusCodeTextVtbl; + +interface IWbemStatusCodeText { + CONST_VTBL IWbemStatusCodeTextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemStatusCodeText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemStatusCodeText_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemStatusCodeText_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemStatusCodeText methods ***/ +#define IWbemStatusCodeText_GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText) (This)->lpVtbl->GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText) +#define IWbemStatusCodeText_GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText) (This)->lpVtbl->GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemStatusCodeText_QueryInterface(IWbemStatusCodeText* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemStatusCodeText_AddRef(IWbemStatusCodeText* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemStatusCodeText_Release(IWbemStatusCodeText* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemStatusCodeText methods ***/ +static FORCEINLINE HRESULT IWbemStatusCodeText_GetErrorCodeText(IWbemStatusCodeText* This,HRESULT hRes,LCID LocaleId,LONG lFlags,BSTR *MessageText) { + return This->lpVtbl->GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText); +} +static FORCEINLINE HRESULT IWbemStatusCodeText_GetFacilityCodeText(IWbemStatusCodeText* This,HRESULT hRes,LCID LocaleId,LONG lFlags,BSTR *MessageText) { + return This->lpVtbl->GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText); +} +#endif +#endif + +#endif + + +#endif /* __IWbemStatusCodeText_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWbemObjectSink interface + */ +#ifndef __IWbemObjectSink_INTERFACE_DEFINED__ +#define __IWbemObjectSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemObjectSink, 0x7c857801, 0x7381, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7c857801-7381-11cf-884d-00aa004b2e24") +IWbemObjectSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Indicate( + LONG lObjectCount, + IWbemClassObject **apObjArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStatus( + LONG lFlags, + HRESULT hResult, + BSTR strParam, + IWbemClassObject *pObjParam) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemObjectSink, 0x7c857801, 0x7381, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24) +#endif +#else +typedef struct IWbemObjectSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemObjectSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemObjectSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemObjectSink *This); + + /*** IWbemObjectSink methods ***/ + HRESULT (STDMETHODCALLTYPE *Indicate)( + IWbemObjectSink *This, + LONG lObjectCount, + IWbemClassObject **apObjArray); + + HRESULT (STDMETHODCALLTYPE *SetStatus)( + IWbemObjectSink *This, + LONG lFlags, + HRESULT hResult, + BSTR strParam, + IWbemClassObject *pObjParam); + + END_INTERFACE +} IWbemObjectSinkVtbl; + +interface IWbemObjectSink { + CONST_VTBL IWbemObjectSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemObjectSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemObjectSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemObjectSink_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemObjectSink methods ***/ +#define IWbemObjectSink_Indicate(This,lObjectCount,apObjArray) (This)->lpVtbl->Indicate(This,lObjectCount,apObjArray) +#define IWbemObjectSink_SetStatus(This,lFlags,hResult,strParam,pObjParam) (This)->lpVtbl->SetStatus(This,lFlags,hResult,strParam,pObjParam) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemObjectSink_QueryInterface(IWbemObjectSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemObjectSink_AddRef(IWbemObjectSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemObjectSink_Release(IWbemObjectSink* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemObjectSink methods ***/ +static FORCEINLINE HRESULT IWbemObjectSink_Indicate(IWbemObjectSink* This,LONG lObjectCount,IWbemClassObject **apObjArray) { + return This->lpVtbl->Indicate(This,lObjectCount,apObjArray); +} +static FORCEINLINE HRESULT IWbemObjectSink_SetStatus(IWbemObjectSink* This,LONG lFlags,HRESULT hResult,BSTR strParam,IWbemClassObject *pObjParam) { + return This->lpVtbl->SetStatus(This,lFlags,hResult,strParam,pObjParam); +} +#endif +#endif + +#endif + + +#endif /* __IWbemObjectSink_INTERFACE_DEFINED__ */ + +typedef enum tag_WBEM_GENERIC_FLAG_TYPE { + WBEM_FLAG_RETURN_WBEM_COMPLETE = 0, + WBEM_FLAG_BIDIRECTIONAL = 0, + WBEM_FLAG_RETURN_ERROR_OBJECT = 0, + WBEM_FLAG_DONT_SEND_STATUS = 0, + WBEM_FLAG_SEND_ONLY_SELECTED = 0, + WBEM_FLAG_RETURN_IMMEDIATELY = 0x10, + WBEM_FLAG_FORWARD_ONLY = 0x20, + WBEM_FLAG_NO_ERROR_OBJECT = 0x40, + WBEM_FLAG_SEND_STATUS = 0x80, + WBEM_FLAG_ENSURE_LOCATABLE = 0x100, + WBEM_FLAG_DIRECT_READ = 0x200, + WBEM_MASK_RESERVED_FLAGS = 0x1f000, + WBEM_FLAG_USE_AMENDED_QUALIFIERS = 0x20000, + WBEM_FLAG_STRONG_VALIDATION = 0x100000 +} WBEM_GENERIC_FLAG_TYPE; +/***************************************************************************** + * IWbemServices interface + */ +#ifndef __IWbemServices_INTERFACE_DEFINED__ +#define __IWbemServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemServices, 0x9556dc99, 0x828c, 0x11cf, 0xa3,0x7e, 0x00,0xaa,0x00,0x32,0x40,0xc7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9556dc99-828c-11cf-a37e-00aa003240c7") +IWbemServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OpenNamespace( + const BSTR strNamespace, + LONG lFlags, + IWbemContext *pCtx, + IWbemServices **ppWorkingNamespace, + IWbemCallResult **ppResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelAsyncCall( + IWbemObjectSink *pSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryObjectSink( + LONG lFlags, + IWbemObjectSink **ppResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObject( + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemClassObject **ppObject, + IWbemCallResult **ppCallResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectAsync( + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutClass( + IWbemClassObject *pObject, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutClassAsync( + IWbemClassObject *pObject, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteClass( + const BSTR strClass, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteClassAsync( + const BSTR strClass, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateClassEnum( + const BSTR strSuperclass, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateClassEnumAsync( + const BSTR strSuperclass, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutInstance( + IWbemClassObject *pInst, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutInstanceAsync( + IWbemClassObject *pInst, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteInstance( + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteInstanceAsync( + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstanceEnum( + const BSTR strFilter, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstanceEnumAsync( + const BSTR strFilter, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecQuery( + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecQueryAsync( + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecNotificationQuery( + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync( + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecMethod( + const BSTR strObjectPath, + const BSTR strMethodName, + LONG lFlags, + IWbemContext *pCtx, + IWbemClassObject *pInParams, + IWbemClassObject **ppOutParams, + IWbemCallResult **ppCallResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecMethodAsync( + const BSTR strObjectPath, + const BSTR strMethodName, + LONG lFlags, + IWbemContext *pCtx, + IWbemClassObject *pInParams, + IWbemObjectSink *pResponseHandler) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemServices, 0x9556dc99, 0x828c, 0x11cf, 0xa3,0x7e, 0x00,0xaa,0x00,0x32,0x40,0xc7) +#endif +#else +typedef struct IWbemServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemServices *This); + + /*** IWbemServices methods ***/ + HRESULT (STDMETHODCALLTYPE *OpenNamespace)( + IWbemServices *This, + const BSTR strNamespace, + LONG lFlags, + IWbemContext *pCtx, + IWbemServices **ppWorkingNamespace, + IWbemCallResult **ppResult); + + HRESULT (STDMETHODCALLTYPE *CancelAsyncCall)( + IWbemServices *This, + IWbemObjectSink *pSink); + + HRESULT (STDMETHODCALLTYPE *QueryObjectSink)( + IWbemServices *This, + LONG lFlags, + IWbemObjectSink **ppResponseHandler); + + HRESULT (STDMETHODCALLTYPE *GetObject)( + IWbemServices *This, + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemClassObject **ppObject, + IWbemCallResult **ppCallResult); + + HRESULT (STDMETHODCALLTYPE *GetObjectAsync)( + IWbemServices *This, + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *PutClass)( + IWbemServices *This, + IWbemClassObject *pObject, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult); + + HRESULT (STDMETHODCALLTYPE *PutClassAsync)( + IWbemServices *This, + IWbemClassObject *pObject, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *DeleteClass)( + IWbemServices *This, + const BSTR strClass, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult); + + HRESULT (STDMETHODCALLTYPE *DeleteClassAsync)( + IWbemServices *This, + const BSTR strClass, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *CreateClassEnum)( + IWbemServices *This, + const BSTR strSuperclass, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum); + + HRESULT (STDMETHODCALLTYPE *CreateClassEnumAsync)( + IWbemServices *This, + const BSTR strSuperclass, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *PutInstance)( + IWbemServices *This, + IWbemClassObject *pInst, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult); + + HRESULT (STDMETHODCALLTYPE *PutInstanceAsync)( + IWbemServices *This, + IWbemClassObject *pInst, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *DeleteInstance)( + IWbemServices *This, + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemCallResult **ppCallResult); + + HRESULT (STDMETHODCALLTYPE *DeleteInstanceAsync)( + IWbemServices *This, + const BSTR strObjectPath, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *CreateInstanceEnum)( + IWbemServices *This, + const BSTR strFilter, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum); + + HRESULT (STDMETHODCALLTYPE *CreateInstanceEnumAsync)( + IWbemServices *This, + const BSTR strFilter, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *ExecQuery)( + IWbemServices *This, + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum); + + HRESULT (STDMETHODCALLTYPE *ExecQueryAsync)( + IWbemServices *This, + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *ExecNotificationQuery)( + IWbemServices *This, + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IEnumWbemClassObject **ppEnum); + + HRESULT (STDMETHODCALLTYPE *ExecNotificationQueryAsync)( + IWbemServices *This, + const BSTR strQueryLanguage, + const BSTR strQuery, + LONG lFlags, + IWbemContext *pCtx, + IWbemObjectSink *pResponseHandler); + + HRESULT (STDMETHODCALLTYPE *ExecMethod)( + IWbemServices *This, + const BSTR strObjectPath, + const BSTR strMethodName, + LONG lFlags, + IWbemContext *pCtx, + IWbemClassObject *pInParams, + IWbemClassObject **ppOutParams, + IWbemCallResult **ppCallResult); + + HRESULT (STDMETHODCALLTYPE *ExecMethodAsync)( + IWbemServices *This, + const BSTR strObjectPath, + const BSTR strMethodName, + LONG lFlags, + IWbemContext *pCtx, + IWbemClassObject *pInParams, + IWbemObjectSink *pResponseHandler); + + END_INTERFACE +} IWbemServicesVtbl; + +interface IWbemServices { + CONST_VTBL IWbemServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemServices_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemServices methods ***/ +#define IWbemServices_OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult) (This)->lpVtbl->OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult) +#define IWbemServices_CancelAsyncCall(This,pSink) (This)->lpVtbl->CancelAsyncCall(This,pSink) +#define IWbemServices_QueryObjectSink(This,lFlags,ppResponseHandler) (This)->lpVtbl->QueryObjectSink(This,lFlags,ppResponseHandler) +#define IWbemServices_GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult) (This)->lpVtbl->GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult) +#define IWbemServices_GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) +#define IWbemServices_PutClass(This,pObject,lFlags,pCtx,ppCallResult) (This)->lpVtbl->PutClass(This,pObject,lFlags,pCtx,ppCallResult) +#define IWbemServices_PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) +#define IWbemServices_DeleteClass(This,strClass,lFlags,pCtx,ppCallResult) (This)->lpVtbl->DeleteClass(This,strClass,lFlags,pCtx,ppCallResult) +#define IWbemServices_DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler) +#define IWbemServices_CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum) (This)->lpVtbl->CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum) +#define IWbemServices_CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler) +#define IWbemServices_PutInstance(This,pInst,lFlags,pCtx,ppCallResult) (This)->lpVtbl->PutInstance(This,pInst,lFlags,pCtx,ppCallResult) +#define IWbemServices_PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) +#define IWbemServices_DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult) (This)->lpVtbl->DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult) +#define IWbemServices_DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) +#define IWbemServices_CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum) (This)->lpVtbl->CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum) +#define IWbemServices_CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler) +#define IWbemServices_ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) (This)->lpVtbl->ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) +#define IWbemServices_ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) +#define IWbemServices_ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) (This)->lpVtbl->ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) +#define IWbemServices_ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) +#define IWbemServices_ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) (This)->lpVtbl->ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) +#define IWbemServices_ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler) (This)->lpVtbl->ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemServices_QueryInterface(IWbemServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemServices_AddRef(IWbemServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemServices_Release(IWbemServices* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemServices methods ***/ +static FORCEINLINE HRESULT IWbemServices_OpenNamespace(IWbemServices* This,const BSTR strNamespace,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppWorkingNamespace,IWbemCallResult **ppResult) { + return This->lpVtbl->OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult); +} +static FORCEINLINE HRESULT IWbemServices_CancelAsyncCall(IWbemServices* This,IWbemObjectSink *pSink) { + return This->lpVtbl->CancelAsyncCall(This,pSink); +} +static FORCEINLINE HRESULT IWbemServices_QueryObjectSink(IWbemServices* This,LONG lFlags,IWbemObjectSink **ppResponseHandler) { + return This->lpVtbl->QueryObjectSink(This,lFlags,ppResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_GetObject(IWbemServices* This,const BSTR strObjectPath,LONG lFlags,IWbemContext *pCtx,IWbemClassObject **ppObject,IWbemCallResult **ppCallResult) { + return This->lpVtbl->GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult); +} +static FORCEINLINE HRESULT IWbemServices_GetObjectAsync(IWbemServices* This,const BSTR strObjectPath,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_PutClass(IWbemServices* This,IWbemClassObject *pObject,LONG lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) { + return This->lpVtbl->PutClass(This,pObject,lFlags,pCtx,ppCallResult); +} +static FORCEINLINE HRESULT IWbemServices_PutClassAsync(IWbemServices* This,IWbemClassObject *pObject,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_DeleteClass(IWbemServices* This,const BSTR strClass,LONG lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) { + return This->lpVtbl->DeleteClass(This,strClass,lFlags,pCtx,ppCallResult); +} +static FORCEINLINE HRESULT IWbemServices_DeleteClassAsync(IWbemServices* This,const BSTR strClass,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_CreateClassEnum(IWbemServices* This,const BSTR strSuperclass,LONG lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) { + return This->lpVtbl->CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum); +} +static FORCEINLINE HRESULT IWbemServices_CreateClassEnumAsync(IWbemServices* This,const BSTR strSuperclass,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_PutInstance(IWbemServices* This,IWbemClassObject *pInst,LONG lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) { + return This->lpVtbl->PutInstance(This,pInst,lFlags,pCtx,ppCallResult); +} +static FORCEINLINE HRESULT IWbemServices_PutInstanceAsync(IWbemServices* This,IWbemClassObject *pInst,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_DeleteInstance(IWbemServices* This,const BSTR strObjectPath,LONG lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) { + return This->lpVtbl->DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult); +} +static FORCEINLINE HRESULT IWbemServices_DeleteInstanceAsync(IWbemServices* This,const BSTR strObjectPath,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_CreateInstanceEnum(IWbemServices* This,const BSTR strFilter,LONG lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) { + return This->lpVtbl->CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum); +} +static FORCEINLINE HRESULT IWbemServices_CreateInstanceEnumAsync(IWbemServices* This,const BSTR strFilter,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_ExecQuery(IWbemServices* This,const BSTR strQueryLanguage,const BSTR strQuery,LONG lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) { + return This->lpVtbl->ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum); +} +static FORCEINLINE HRESULT IWbemServices_ExecQueryAsync(IWbemServices* This,const BSTR strQueryLanguage,const BSTR strQuery,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_ExecNotificationQuery(IWbemServices* This,const BSTR strQueryLanguage,const BSTR strQuery,LONG lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) { + return This->lpVtbl->ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum); +} +static FORCEINLINE HRESULT IWbemServices_ExecNotificationQueryAsync(IWbemServices* This,const BSTR strQueryLanguage,const BSTR strQuery,LONG lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler); +} +static FORCEINLINE HRESULT IWbemServices_ExecMethod(IWbemServices* This,const BSTR strObjectPath,const BSTR strMethodName,LONG lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemClassObject **ppOutParams,IWbemCallResult **ppCallResult) { + return This->lpVtbl->ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult); +} +static FORCEINLINE HRESULT IWbemServices_ExecMethodAsync(IWbemServices* This,const BSTR strObjectPath,const BSTR strMethodName,LONG lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemObjectSink *pResponseHandler) { + return This->lpVtbl->ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler); +} +#endif +#endif + +#endif + + +#endif /* __IWbemServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumWbemClassObject interface + */ +#ifndef __IEnumWbemClassObject_INTERFACE_DEFINED__ +#define __IEnumWbemClassObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumWbemClassObject, 0x027947e1, 0xd731, 0x11ce, 0xa3,0x57, 0x00,0x00,0x00,0x00,0x00,0x01); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("027947e1-d731-11ce-a357-000000000001") +IEnumWbemClassObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + LONG lTimeout, + ULONG uCount, + IWbemClassObject **apObjects, + ULONG *puReturned) = 0; + + virtual HRESULT STDMETHODCALLTYPE NextAsync( + ULONG uCount, + IWbemObjectSink *pSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumWbemClassObject **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + LONG lTimeout, + ULONG nCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumWbemClassObject, 0x027947e1, 0xd731, 0x11ce, 0xa3,0x57, 0x00,0x00,0x00,0x00,0x00,0x01) +#endif +#else +typedef struct IEnumWbemClassObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumWbemClassObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumWbemClassObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumWbemClassObject *This); + + /*** IEnumWbemClassObject methods ***/ + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumWbemClassObject *This); + + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumWbemClassObject *This, + LONG lTimeout, + ULONG uCount, + IWbemClassObject **apObjects, + ULONG *puReturned); + + HRESULT (STDMETHODCALLTYPE *NextAsync)( + IEnumWbemClassObject *This, + ULONG uCount, + IWbemObjectSink *pSink); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumWbemClassObject *This, + IEnumWbemClassObject **ppEnum); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumWbemClassObject *This, + LONG lTimeout, + ULONG nCount); + + END_INTERFACE +} IEnumWbemClassObjectVtbl; + +interface IEnumWbemClassObject { + CONST_VTBL IEnumWbemClassObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumWbemClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumWbemClassObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumWbemClassObject_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumWbemClassObject methods ***/ +#define IEnumWbemClassObject_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumWbemClassObject_Next(This,lTimeout,uCount,apObjects,puReturned) (This)->lpVtbl->Next(This,lTimeout,uCount,apObjects,puReturned) +#define IEnumWbemClassObject_NextAsync(This,uCount,pSink) (This)->lpVtbl->NextAsync(This,uCount,pSink) +#define IEnumWbemClassObject_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#define IEnumWbemClassObject_Skip(This,lTimeout,nCount) (This)->lpVtbl->Skip(This,lTimeout,nCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumWbemClassObject_QueryInterface(IEnumWbemClassObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumWbemClassObject_AddRef(IEnumWbemClassObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumWbemClassObject_Release(IEnumWbemClassObject* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumWbemClassObject methods ***/ +static FORCEINLINE HRESULT IEnumWbemClassObject_Reset(IEnumWbemClassObject* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumWbemClassObject_Next(IEnumWbemClassObject* This,LONG lTimeout,ULONG uCount,IWbemClassObject **apObjects,ULONG *puReturned) { + return This->lpVtbl->Next(This,lTimeout,uCount,apObjects,puReturned); +} +static FORCEINLINE HRESULT IEnumWbemClassObject_NextAsync(IEnumWbemClassObject* This,ULONG uCount,IWbemObjectSink *pSink) { + return This->lpVtbl->NextAsync(This,uCount,pSink); +} +static FORCEINLINE HRESULT IEnumWbemClassObject_Clone(IEnumWbemClassObject* This,IEnumWbemClassObject **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +static FORCEINLINE HRESULT IEnumWbemClassObject_Skip(IEnumWbemClassObject* This,LONG lTimeout,ULONG nCount) { + return This->lpVtbl->Skip(This,lTimeout,nCount); +} +#endif +#endif + +#endif + + +#endif /* __IEnumWbemClassObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWbemClassObject interface + */ +#ifndef __IWbemClassObject_INTERFACE_DEFINED__ +#define __IWbemClassObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemClassObject, 0xdc12a681, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc12a681-737f-11cf-884d-00aa004b2e24") +IWbemClassObject : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetQualifierSet( + IWbemQualifierSet **ppQualSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get( + LPCWSTR wszName, + LONG lFlags, + VARIANT *pVal, + CIMTYPE *pType, + LONG *plFlavor) = 0; + + virtual HRESULT STDMETHODCALLTYPE Put( + LPCWSTR wszName, + LONG lFlags, + VARIANT *pVal, + CIMTYPE Type) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + LPCWSTR wszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNames( + LPCWSTR wszQualifierName, + LONG lFlags, + VARIANT *pQualifierVal, + SAFEARRAY **pNames) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginEnumeration( + LONG lEnumFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + LONG lFlags, + BSTR *strName, + VARIANT *pVal, + CIMTYPE *pType, + LONG *plFlavor) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndEnumeration( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyQualifierSet( + LPCWSTR wszProperty, + IWbemQualifierSet **ppQualSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IWbemClassObject **ppCopy) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectText( + LONG lFlags, + BSTR *pstrObjectText) = 0; + + virtual HRESULT STDMETHODCALLTYPE SpawnDerivedClass( + LONG lFlags, + IWbemClassObject **ppNewClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE SpawnInstance( + LONG lFlags, + IWbemClassObject **ppNewInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareTo( + LONG lFlags, + IWbemClassObject *pCompareTo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPropertyOrigin( + LPCWSTR wszName, + BSTR *pstrClassName) = 0; + + virtual HRESULT STDMETHODCALLTYPE InheritsFrom( + LPCWSTR strAncestor) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMethod( + LPCWSTR wszName, + LONG lFlags, + IWbemClassObject **ppInSignature, + IWbemClassObject **ppOutSignature) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutMethod( + LPCWSTR wszName, + LONG lFlags, + IWbemClassObject *pInSignature, + IWbemClassObject *pOutSignature) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteMethod( + LPCWSTR wszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginMethodEnumeration( + LONG lEnumFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE NextMethod( + LONG lFlags, + BSTR *pstrName, + IWbemClassObject **ppInSignature, + IWbemClassObject **ppOutSignature) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndMethodEnumeration( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMethodQualifierSet( + LPCWSTR wszMethod, + IWbemQualifierSet **ppQualSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMethodOrigin( + LPCWSTR wszMethodName, + BSTR *pstrClassName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemClassObject, 0xdc12a681, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24) +#endif +#else +typedef struct IWbemClassObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemClassObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemClassObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemClassObject *This); + + /*** IWbemClassObject methods ***/ + HRESULT (STDMETHODCALLTYPE *GetQualifierSet)( + IWbemClassObject *This, + IWbemQualifierSet **ppQualSet); + + HRESULT (STDMETHODCALLTYPE *Get)( + IWbemClassObject *This, + LPCWSTR wszName, + LONG lFlags, + VARIANT *pVal, + CIMTYPE *pType, + LONG *plFlavor); + + HRESULT (STDMETHODCALLTYPE *Put)( + IWbemClassObject *This, + LPCWSTR wszName, + LONG lFlags, + VARIANT *pVal, + CIMTYPE Type); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IWbemClassObject *This, + LPCWSTR wszName); + + HRESULT (STDMETHODCALLTYPE *GetNames)( + IWbemClassObject *This, + LPCWSTR wszQualifierName, + LONG lFlags, + VARIANT *pQualifierVal, + SAFEARRAY **pNames); + + HRESULT (STDMETHODCALLTYPE *BeginEnumeration)( + IWbemClassObject *This, + LONG lEnumFlags); + + HRESULT (STDMETHODCALLTYPE *Next)( + IWbemClassObject *This, + LONG lFlags, + BSTR *strName, + VARIANT *pVal, + CIMTYPE *pType, + LONG *plFlavor); + + HRESULT (STDMETHODCALLTYPE *EndEnumeration)( + IWbemClassObject *This); + + HRESULT (STDMETHODCALLTYPE *GetPropertyQualifierSet)( + IWbemClassObject *This, + LPCWSTR wszProperty, + IWbemQualifierSet **ppQualSet); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IWbemClassObject *This, + IWbemClassObject **ppCopy); + + HRESULT (STDMETHODCALLTYPE *GetObjectText)( + IWbemClassObject *This, + LONG lFlags, + BSTR *pstrObjectText); + + HRESULT (STDMETHODCALLTYPE *SpawnDerivedClass)( + IWbemClassObject *This, + LONG lFlags, + IWbemClassObject **ppNewClass); + + HRESULT (STDMETHODCALLTYPE *SpawnInstance)( + IWbemClassObject *This, + LONG lFlags, + IWbemClassObject **ppNewInstance); + + HRESULT (STDMETHODCALLTYPE *CompareTo)( + IWbemClassObject *This, + LONG lFlags, + IWbemClassObject *pCompareTo); + + HRESULT (STDMETHODCALLTYPE *GetPropertyOrigin)( + IWbemClassObject *This, + LPCWSTR wszName, + BSTR *pstrClassName); + + HRESULT (STDMETHODCALLTYPE *InheritsFrom)( + IWbemClassObject *This, + LPCWSTR strAncestor); + + HRESULT (STDMETHODCALLTYPE *GetMethod)( + IWbemClassObject *This, + LPCWSTR wszName, + LONG lFlags, + IWbemClassObject **ppInSignature, + IWbemClassObject **ppOutSignature); + + HRESULT (STDMETHODCALLTYPE *PutMethod)( + IWbemClassObject *This, + LPCWSTR wszName, + LONG lFlags, + IWbemClassObject *pInSignature, + IWbemClassObject *pOutSignature); + + HRESULT (STDMETHODCALLTYPE *DeleteMethod)( + IWbemClassObject *This, + LPCWSTR wszName); + + HRESULT (STDMETHODCALLTYPE *BeginMethodEnumeration)( + IWbemClassObject *This, + LONG lEnumFlags); + + HRESULT (STDMETHODCALLTYPE *NextMethod)( + IWbemClassObject *This, + LONG lFlags, + BSTR *pstrName, + IWbemClassObject **ppInSignature, + IWbemClassObject **ppOutSignature); + + HRESULT (STDMETHODCALLTYPE *EndMethodEnumeration)( + IWbemClassObject *This); + + HRESULT (STDMETHODCALLTYPE *GetMethodQualifierSet)( + IWbemClassObject *This, + LPCWSTR wszMethod, + IWbemQualifierSet **ppQualSet); + + HRESULT (STDMETHODCALLTYPE *GetMethodOrigin)( + IWbemClassObject *This, + LPCWSTR wszMethodName, + BSTR *pstrClassName); + + END_INTERFACE +} IWbemClassObjectVtbl; + +interface IWbemClassObject { + CONST_VTBL IWbemClassObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemClassObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemClassObject_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemClassObject methods ***/ +#define IWbemClassObject_GetQualifierSet(This,ppQualSet) (This)->lpVtbl->GetQualifierSet(This,ppQualSet) +#define IWbemClassObject_Get(This,wszName,lFlags,pVal,pType,plFlavor) (This)->lpVtbl->Get(This,wszName,lFlags,pVal,pType,plFlavor) +#define IWbemClassObject_Put(This,wszName,lFlags,pVal,Type) (This)->lpVtbl->Put(This,wszName,lFlags,pVal,Type) +#define IWbemClassObject_Delete(This,wszName) (This)->lpVtbl->Delete(This,wszName) +#define IWbemClassObject_GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) (This)->lpVtbl->GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) +#define IWbemClassObject_BeginEnumeration(This,lEnumFlags) (This)->lpVtbl->BeginEnumeration(This,lEnumFlags) +#define IWbemClassObject_Next(This,lFlags,strName,pVal,pType,plFlavor) (This)->lpVtbl->Next(This,lFlags,strName,pVal,pType,plFlavor) +#define IWbemClassObject_EndEnumeration(This) (This)->lpVtbl->EndEnumeration(This) +#define IWbemClassObject_GetPropertyQualifierSet(This,wszProperty,ppQualSet) (This)->lpVtbl->GetPropertyQualifierSet(This,wszProperty,ppQualSet) +#define IWbemClassObject_Clone(This,ppCopy) (This)->lpVtbl->Clone(This,ppCopy) +#define IWbemClassObject_GetObjectText(This,lFlags,pstrObjectText) (This)->lpVtbl->GetObjectText(This,lFlags,pstrObjectText) +#define IWbemClassObject_SpawnDerivedClass(This,lFlags,ppNewClass) (This)->lpVtbl->SpawnDerivedClass(This,lFlags,ppNewClass) +#define IWbemClassObject_SpawnInstance(This,lFlags,ppNewInstance) (This)->lpVtbl->SpawnInstance(This,lFlags,ppNewInstance) +#define IWbemClassObject_CompareTo(This,lFlags,pCompareTo) (This)->lpVtbl->CompareTo(This,lFlags,pCompareTo) +#define IWbemClassObject_GetPropertyOrigin(This,wszName,pstrClassName) (This)->lpVtbl->GetPropertyOrigin(This,wszName,pstrClassName) +#define IWbemClassObject_InheritsFrom(This,strAncestor) (This)->lpVtbl->InheritsFrom(This,strAncestor) +#define IWbemClassObject_GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) (This)->lpVtbl->GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) +#define IWbemClassObject_PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) (This)->lpVtbl->PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) +#define IWbemClassObject_DeleteMethod(This,wszName) (This)->lpVtbl->DeleteMethod(This,wszName) +#define IWbemClassObject_BeginMethodEnumeration(This,lEnumFlags) (This)->lpVtbl->BeginMethodEnumeration(This,lEnumFlags) +#define IWbemClassObject_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) (This)->lpVtbl->NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) +#define IWbemClassObject_EndMethodEnumeration(This) (This)->lpVtbl->EndMethodEnumeration(This) +#define IWbemClassObject_GetMethodQualifierSet(This,wszMethod,ppQualSet) (This)->lpVtbl->GetMethodQualifierSet(This,wszMethod,ppQualSet) +#define IWbemClassObject_GetMethodOrigin(This,wszMethodName,pstrClassName) (This)->lpVtbl->GetMethodOrigin(This,wszMethodName,pstrClassName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemClassObject_QueryInterface(IWbemClassObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemClassObject_AddRef(IWbemClassObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemClassObject_Release(IWbemClassObject* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemClassObject methods ***/ +static FORCEINLINE HRESULT IWbemClassObject_GetQualifierSet(IWbemClassObject* This,IWbemQualifierSet **ppQualSet) { + return This->lpVtbl->GetQualifierSet(This,ppQualSet); +} +static FORCEINLINE HRESULT IWbemClassObject_Get(IWbemClassObject* This,LPCWSTR wszName,LONG lFlags,VARIANT *pVal,CIMTYPE *pType,LONG *plFlavor) { + return This->lpVtbl->Get(This,wszName,lFlags,pVal,pType,plFlavor); +} +static FORCEINLINE HRESULT IWbemClassObject_Put(IWbemClassObject* This,LPCWSTR wszName,LONG lFlags,VARIANT *pVal,CIMTYPE Type) { + return This->lpVtbl->Put(This,wszName,lFlags,pVal,Type); +} +static FORCEINLINE HRESULT IWbemClassObject_Delete(IWbemClassObject* This,LPCWSTR wszName) { + return This->lpVtbl->Delete(This,wszName); +} +static FORCEINLINE HRESULT IWbemClassObject_GetNames(IWbemClassObject* This,LPCWSTR wszQualifierName,LONG lFlags,VARIANT *pQualifierVal,SAFEARRAY **pNames) { + return This->lpVtbl->GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames); +} +static FORCEINLINE HRESULT IWbemClassObject_BeginEnumeration(IWbemClassObject* This,LONG lEnumFlags) { + return This->lpVtbl->BeginEnumeration(This,lEnumFlags); +} +static FORCEINLINE HRESULT IWbemClassObject_Next(IWbemClassObject* This,LONG lFlags,BSTR *strName,VARIANT *pVal,CIMTYPE *pType,LONG *plFlavor) { + return This->lpVtbl->Next(This,lFlags,strName,pVal,pType,plFlavor); +} +static FORCEINLINE HRESULT IWbemClassObject_EndEnumeration(IWbemClassObject* This) { + return This->lpVtbl->EndEnumeration(This); +} +static FORCEINLINE HRESULT IWbemClassObject_GetPropertyQualifierSet(IWbemClassObject* This,LPCWSTR wszProperty,IWbemQualifierSet **ppQualSet) { + return This->lpVtbl->GetPropertyQualifierSet(This,wszProperty,ppQualSet); +} +static FORCEINLINE HRESULT IWbemClassObject_Clone(IWbemClassObject* This,IWbemClassObject **ppCopy) { + return This->lpVtbl->Clone(This,ppCopy); +} +static FORCEINLINE HRESULT IWbemClassObject_GetObjectText(IWbemClassObject* This,LONG lFlags,BSTR *pstrObjectText) { + return This->lpVtbl->GetObjectText(This,lFlags,pstrObjectText); +} +static FORCEINLINE HRESULT IWbemClassObject_SpawnDerivedClass(IWbemClassObject* This,LONG lFlags,IWbemClassObject **ppNewClass) { + return This->lpVtbl->SpawnDerivedClass(This,lFlags,ppNewClass); +} +static FORCEINLINE HRESULT IWbemClassObject_SpawnInstance(IWbemClassObject* This,LONG lFlags,IWbemClassObject **ppNewInstance) { + return This->lpVtbl->SpawnInstance(This,lFlags,ppNewInstance); +} +static FORCEINLINE HRESULT IWbemClassObject_CompareTo(IWbemClassObject* This,LONG lFlags,IWbemClassObject *pCompareTo) { + return This->lpVtbl->CompareTo(This,lFlags,pCompareTo); +} +static FORCEINLINE HRESULT IWbemClassObject_GetPropertyOrigin(IWbemClassObject* This,LPCWSTR wszName,BSTR *pstrClassName) { + return This->lpVtbl->GetPropertyOrigin(This,wszName,pstrClassName); +} +static FORCEINLINE HRESULT IWbemClassObject_InheritsFrom(IWbemClassObject* This,LPCWSTR strAncestor) { + return This->lpVtbl->InheritsFrom(This,strAncestor); +} +static FORCEINLINE HRESULT IWbemClassObject_GetMethod(IWbemClassObject* This,LPCWSTR wszName,LONG lFlags,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature) { + return This->lpVtbl->GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature); +} +static FORCEINLINE HRESULT IWbemClassObject_PutMethod(IWbemClassObject* This,LPCWSTR wszName,LONG lFlags,IWbemClassObject *pInSignature,IWbemClassObject *pOutSignature) { + return This->lpVtbl->PutMethod(This,wszName,lFlags,pInSignature,pOutSignature); +} +static FORCEINLINE HRESULT IWbemClassObject_DeleteMethod(IWbemClassObject* This,LPCWSTR wszName) { + return This->lpVtbl->DeleteMethod(This,wszName); +} +static FORCEINLINE HRESULT IWbemClassObject_BeginMethodEnumeration(IWbemClassObject* This,LONG lEnumFlags) { + return This->lpVtbl->BeginMethodEnumeration(This,lEnumFlags); +} +static FORCEINLINE HRESULT IWbemClassObject_NextMethod(IWbemClassObject* This,LONG lFlags,BSTR *pstrName,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature) { + return This->lpVtbl->NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature); +} +static FORCEINLINE HRESULT IWbemClassObject_EndMethodEnumeration(IWbemClassObject* This) { + return This->lpVtbl->EndMethodEnumeration(This); +} +static FORCEINLINE HRESULT IWbemClassObject_GetMethodQualifierSet(IWbemClassObject* This,LPCWSTR wszMethod,IWbemQualifierSet **ppQualSet) { + return This->lpVtbl->GetMethodQualifierSet(This,wszMethod,ppQualSet); +} +static FORCEINLINE HRESULT IWbemClassObject_GetMethodOrigin(IWbemClassObject* This,LPCWSTR wszMethodName,BSTR *pstrClassName) { + return This->lpVtbl->GetMethodOrigin(This,wszMethodName,pstrClassName); +} +#endif +#endif + +#endif + + +#endif /* __IWbemClassObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWbemQualifierSet interface + */ +#ifndef __IWbemQualifierSet_INTERFACE_DEFINED__ +#define __IWbemQualifierSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemQualifierSet, 0xdc12a680, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc12a680-737f-11cf-884d-00aa004b2e24") +IWbemQualifierSet : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Get( + LPCWSTR wszName, + LONG lFlags, + VARIANT *pVal, + LONG *plFlavor) = 0; + + virtual HRESULT STDMETHODCALLTYPE Put( + LPCWSTR wszName, + VARIANT *pVal, + LONG lFlavor) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + LPCWSTR wszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNames( + LONG lFlags, + SAFEARRAY **pNames) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginEnumeration( + LONG lFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Next( + LONG lFlags, + BSTR *pstrName, + VARIANT *pVal, + LONG *plFlavor) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndEnumeration( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemQualifierSet, 0xdc12a680, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24) +#endif +#else +typedef struct IWbemQualifierSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemQualifierSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemQualifierSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemQualifierSet *This); + + /*** IWbemQualifierSet methods ***/ + HRESULT (STDMETHODCALLTYPE *Get)( + IWbemQualifierSet *This, + LPCWSTR wszName, + LONG lFlags, + VARIANT *pVal, + LONG *plFlavor); + + HRESULT (STDMETHODCALLTYPE *Put)( + IWbemQualifierSet *This, + LPCWSTR wszName, + VARIANT *pVal, + LONG lFlavor); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IWbemQualifierSet *This, + LPCWSTR wszName); + + HRESULT (STDMETHODCALLTYPE *GetNames)( + IWbemQualifierSet *This, + LONG lFlags, + SAFEARRAY **pNames); + + HRESULT (STDMETHODCALLTYPE *BeginEnumeration)( + IWbemQualifierSet *This, + LONG lFlags); + + HRESULT (STDMETHODCALLTYPE *Next)( + IWbemQualifierSet *This, + LONG lFlags, + BSTR *pstrName, + VARIANT *pVal, + LONG *plFlavor); + + HRESULT (STDMETHODCALLTYPE *EndEnumeration)( + IWbemQualifierSet *This); + + END_INTERFACE +} IWbemQualifierSetVtbl; + +interface IWbemQualifierSet { + CONST_VTBL IWbemQualifierSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemQualifierSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemQualifierSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemQualifierSet_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemQualifierSet methods ***/ +#define IWbemQualifierSet_Get(This,wszName,lFlags,pVal,plFlavor) (This)->lpVtbl->Get(This,wszName,lFlags,pVal,plFlavor) +#define IWbemQualifierSet_Put(This,wszName,pVal,lFlavor) (This)->lpVtbl->Put(This,wszName,pVal,lFlavor) +#define IWbemQualifierSet_Delete(This,wszName) (This)->lpVtbl->Delete(This,wszName) +#define IWbemQualifierSet_GetNames(This,lFlags,pNames) (This)->lpVtbl->GetNames(This,lFlags,pNames) +#define IWbemQualifierSet_BeginEnumeration(This,lFlags) (This)->lpVtbl->BeginEnumeration(This,lFlags) +#define IWbemQualifierSet_Next(This,lFlags,pstrName,pVal,plFlavor) (This)->lpVtbl->Next(This,lFlags,pstrName,pVal,plFlavor) +#define IWbemQualifierSet_EndEnumeration(This) (This)->lpVtbl->EndEnumeration(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemQualifierSet_QueryInterface(IWbemQualifierSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemQualifierSet_AddRef(IWbemQualifierSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemQualifierSet_Release(IWbemQualifierSet* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemQualifierSet methods ***/ +static FORCEINLINE HRESULT IWbemQualifierSet_Get(IWbemQualifierSet* This,LPCWSTR wszName,LONG lFlags,VARIANT *pVal,LONG *plFlavor) { + return This->lpVtbl->Get(This,wszName,lFlags,pVal,plFlavor); +} +static FORCEINLINE HRESULT IWbemQualifierSet_Put(IWbemQualifierSet* This,LPCWSTR wszName,VARIANT *pVal,LONG lFlavor) { + return This->lpVtbl->Put(This,wszName,pVal,lFlavor); +} +static FORCEINLINE HRESULT IWbemQualifierSet_Delete(IWbemQualifierSet* This,LPCWSTR wszName) { + return This->lpVtbl->Delete(This,wszName); +} +static FORCEINLINE HRESULT IWbemQualifierSet_GetNames(IWbemQualifierSet* This,LONG lFlags,SAFEARRAY **pNames) { + return This->lpVtbl->GetNames(This,lFlags,pNames); +} +static FORCEINLINE HRESULT IWbemQualifierSet_BeginEnumeration(IWbemQualifierSet* This,LONG lFlags) { + return This->lpVtbl->BeginEnumeration(This,lFlags); +} +static FORCEINLINE HRESULT IWbemQualifierSet_Next(IWbemQualifierSet* This,LONG lFlags,BSTR *pstrName,VARIANT *pVal,LONG *plFlavor) { + return This->lpVtbl->Next(This,lFlags,pstrName,pVal,plFlavor); +} +static FORCEINLINE HRESULT IWbemQualifierSet_EndEnumeration(IWbemQualifierSet* This) { + return This->lpVtbl->EndEnumeration(This); +} +#endif +#endif + +#endif + + +#endif /* __IWbemQualifierSet_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wbemcli_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemcli.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemcli.idl new file mode 100644 index 0000000..7a309e8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemcli.idl @@ -0,0 +1,662 @@ +/* + * Copyright 2009 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +cpp_quote("DEFINE_GUID(CLSID_WbemLocator, 0x4590f811,0x1d3A,0x11d0,0x89,0x1f,0x00,0xaa,0x00,0x4b,0x2e,0x24);") +cpp_quote("DEFINE_GUID(CLSID_WbemStatusCode, 0xeb87e1bd,0x3233,0x11d2,0xae,0xc9,0x00,0xc0,0x4f,0xb6,0x88,0x20);") + +import "oaidl.idl"; +import "objidl.idl"; + +interface IWbemContext; +interface IWbemServices; +interface IWbemStatusCodeText; +interface IWbemCallResult; +interface IWbemObjectSink; +interface IWbemClassObject; +interface IEnumWbemClassObject; +interface IWbemQualifierSet; + +typedef [v1_enum] enum tag_WBEMSTATUS +{ + WBEM_NO_ERROR = 0, + WBEM_S_NO_ERROR = 0, + WBEM_S_SAME = 0, + WBEM_S_FALSE = 1, + WBEM_S_ALREADY_EXISTS = 0x40001, + WBEM_S_RESET_TO_DEFAULT = 0x40002, + WBEM_S_DIFFERENT = 0x40003, + WBEM_S_TIMEDOUT = 0x40004, + WBEM_S_NO_MORE_DATA = 0x40005, + WBEM_S_OPERATION_CANCELLED = 0x40006, + WBEM_S_PENDING = 0x40007, + WBEM_S_DUPLICATE_OBJECTS = 0x40008, + WBEM_S_ACCESS_DENIED = 0x40009, + WBEM_S_PARTIAL_RESULTS = 0x40010, + WBEM_S_SOURCE_NOT_AVAILABLE = 0x40017, + WBEM_E_FAILED = 0x80041001, + WBEM_E_NOT_FOUND = 0x80041002, + WBEM_E_ACCESS_DENIED = 0x80041003, + WBEM_E_PROVIDER_FAILURE = 0x80041004, + WBEM_E_TYPE_MISMATCH = 0x80041005, + WBEM_E_OUT_OF_MEMORY = 0x80041006, + WBEM_E_INVALID_CONTEXT = 0x80041007, + WBEM_E_INVALID_PARAMETER = 0x80041008, + WBEM_E_NOT_AVAILABLE = 0x80041009, + WBEM_E_CRITICAL_ERROR = 0x8004100a, + WBEM_E_INVALID_STREAM = 0x8004100b, + WBEM_E_NOT_SUPPORTED = 0x8004100c, + WBEM_E_INVALID_SUPERCLASS = 0x8004100d, + WBEM_E_INVALID_NAMESPACE = 0x8004100e, + WBEM_E_INVALID_OBJECT = 0x8004100f, + WBEM_E_INVALID_CLASS = 0x80041010, + WBEM_E_PROVIDER_NOT_FOUND = 0x80041011, + WBEM_E_INVALID_PROVIDER_REGISTRATION = 0x80041012, + WBEM_E_PROVIDER_LOAD_FAILURE = 0x80041013, + WBEM_E_INITIALIZATION_FAILURE = 0x80041014, + WBEM_E_TRANSPORT_FAILURE = 0x80041015, + WBEM_E_INVALID_OPERATION = 0x80041016, + WBEM_E_INVALID_QUERY = 0x80041017, + WBEM_E_INVALID_QUERY_TYPE = 0x80041018, + WBEM_E_ALREADY_EXISTS = 0x80041019, + WBEM_E_OVERRIDE_NOT_ALLOWED = 0x8004101a, + WBEM_E_PROPAGATED_QUALIFIER = 0x8004101b, + WBEM_E_PROPAGATED_PROPERTY = 0x8004101c, + WBEM_E_UNEXPECTED = 0x8004101d, + WBEM_E_ILLEGAL_OPERATION = 0x8004101e, + WBEM_E_CANNOT_BE_KEY = 0x8004101f, + WBEM_E_INCOMPLETE_CLASS = 0x80041020, + WBEM_E_INVALID_SYNTAX = 0x80041021, + WBEM_E_NONDECORATED_OBJECT = 0x80041022, + WBEM_E_READ_ONLY = 0x80041023, + WBEM_E_PROVIDER_NOT_CAPABLE = 0x80041024, + WBEM_E_CLASS_HAS_CHILDREN = 0x80041025, + WBEM_E_CLASS_HAS_INSTANCES = 0x80041026, + WBEM_E_QUERY_NOT_IMPLEMENTED = 0x80041027, + WBEM_E_ILLEGAL_NULL = 0x80041028, + WBEM_E_INVALID_QUALIFIER_TYPE = 0x80041029, + WBEM_E_INVALID_PROPERTY_TYPE = 0x8004102a, + WBEM_E_VALUE_OUT_OF_RANGE = 0x8004102b, + WBEM_E_CANNOT_BE_SINGLETON = 0x8004102c, + WBEM_E_INVALID_CIM_TYPE = 0x8004102d, + WBEM_E_INVALID_METHOD = 0x8004102e, + WBEM_E_INVALID_METHOD_PARAMETERS = 0x8004102f, + WBEM_E_SYSTEM_PROPERTY = 0x80041030, + WBEM_E_INVALID_PROPERTY = 0x80041031, + WBEM_E_CALL_CANCELLED = 0x80041032, + WBEM_E_SHUTTING_DOWN = 0x80041033, + WBEM_E_PROPAGATED_METHOD = 0x80041034, + WBEM_E_UNSUPPORTED_PARAMETER = 0x80041035, + WBEM_E_MISSING_PARAMETER_ID = 0x80041036, + WBEM_E_INVALID_PARAMETER_ID = 0x80041037, + WBEM_E_NONCONSECUTIVE_PARAMETER_IDS = 0x80041038, + WBEM_E_PARAMETER_ID_ON_RETVAL = 0x80041039, + WBEM_E_INVALID_OBJECT_PATH = 0x8004103a, + WBEM_E_OUT_OF_DISK_SPACE = 0x8004103b, + WBEM_E_BUFFER_TOO_SMALL = 0x8004103c, + WBEM_E_UNSUPPORTED_PUT_EXTENSION = 0x8004103d, + WBEM_E_UNKNOWN_OBJECT_TYPE = 0x8004103e, + WBEM_E_UNKNOWN_PACKET_TYPE = 0x8004103f, + WBEM_E_MARSHAL_VERSION_MISMATCH = 0x80041040, + WBEM_E_MARSHAL_INVALID_SIGNATURE = 0x80041041, + WBEM_E_INVALID_QUALIFIER = 0x80041042, + WBEM_E_INVALID_DUPLICATE_PARAMETER = 0x80041043, + WBEM_E_TOO_MUCH_DATA = 0x80041044, + WBEM_E_SERVER_TOO_BUSY = 0x80041045, + WBEM_E_INVALID_FLAVOR = 0x80041046, + WBEM_E_CIRCULAR_REFERENCE = 0x80041047, + WBEM_E_UNSUPPORTED_CLASS_UPDATE = 0x80041048, + WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE = 0x80041049, + WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE = 0x80041050, + WBEM_E_TOO_MANY_PROPERTIES = 0x80041051, + WBEM_E_UPDATE_TYPE_MISMATCH = 0x80041052, + WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED = 0x80041053, + WBEM_E_UPDATE_PROPAGATED_METHOD = 0x80041054, + WBEM_E_METHOD_NOT_IMPLEMENTED = 0x80041055, + WBEM_E_METHOD_DISABLED = 0x80041056, + WBEM_E_REFRESHER_BUSY = 0x80041057, + WBEM_E_UNPARSABLE_QUERY = 0x80041058, + WBEM_E_NOT_EVENT_CLASS = 0x80041059, + WBEM_E_MISSING_GROUP_WITHIN = 0x8004105a, + WBEM_E_MISSING_AGGREGATION_LIST = 0x8004105b, + WBEM_E_PROPERTY_NOT_AN_OBJECT = 0x8004105c, + WBEM_E_AGGREGATING_BY_OBJECT = 0x8004105d, + WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY = 0x8004105f, + WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING = 0x80041060, + WBEM_E_QUEUE_OVERFLOW = 0x80041061, + WBEM_E_PRIVILEGE_NOT_HELD = 0x80041062, + WBEM_E_INVALID_OPERATOR = 0x80041063, + WBEM_E_LOCAL_CREDENTIALS = 0x80041064, + WBEM_E_CANNOT_BE_ABSTRACT = 0x80041065, + WBEM_E_AMENDED_OBJECT = 0x80041066, + WBEM_E_CLIENT_TOO_SLOW = 0x80041067, + WBEM_E_NULL_SECURITY_DESCRIPTOR = 0x80041068, + WBEM_E_TIMED_OUT = 0x80041069, + WBEM_E_INVALID_ASSOCIATION = 0x8004106a, + WBEM_E_AMBIGUOUS_OPERATION = 0x8004106b, + WBEM_E_QUOTA_VIOLATION = 0x8004106c, + WBEM_E_RESERVED_001 = 0x8004106d, + WBEM_E_RESERVED_002 = 0x8004106e, + WBEM_E_UNSUPPORTED_LOCALE = 0x8004106f, + WBEM_E_HANDLE_OUT_OF_DATE = 0x80041070, + WBEM_E_CONNECTION_FAILED = 0x80041071, + WBEM_E_INVALID_HANDLE_REQUEST = 0x80041072, + WBEM_E_PROPERTY_NAME_TOO_WIDE = 0x80041073, + WBEM_E_CLASS_NAME_TOO_WIDE = 0x80041074, + WBEM_E_METHOD_NAME_TOO_WIDE = 0x80041075, + WBEM_E_QUALIFIER_NAME_TOO_WIDE = 0x80041076, + WBEM_E_RERUN_COMMAND = 0x80041077, + WBEM_E_DATABASE_VER_MISMATCH = 0x80041078, + WBEM_E_VETO_DELETE = 0x80041079, + WBEM_E_VETO_PUT = 0x8004107a, + WBEM_E_INVALID_LOCALE = 0x80041080, + WBEM_E_PROVIDER_SUSPENDED = 0x80041081, + WBEM_E_SYNCHRONIZATION_REQUIRED = 0x80041082, + WBEM_E_NO_SCHEMA = 0x80041083, + WBEM_E_PROVIDER_ALREADY_REGISTERED = 0x80041084, + WBEM_E_PROVIDER_NOT_REGISTERED = 0x80041085, + WBEM_E_FATAL_TRANSPORT_ERROR = 0x80041086, + WBEM_E_ENCRYPTED_CONNECTION_REQUIRED = 0x80041087, + WBEM_E_PROVIDER_TIMED_OUT = 0x80041088, + WBEM_E_NO_KEY = 0x80041089, + WBEM_E_PROVIDER_DISABLED = 0x8004108a +} WBEMSTATUS; + +typedef [v1_enum] enum tag_WBEM_STATUS_TYPE +{ + WBEM_STATUS_COMPLETE = 0, + WBEM_STATUS_REQUIREMENTS = 1, + WBEM_STATUS_PROGRESS = 2 +} WBEM_STATUS_TYPE; + +typedef [v1_enum] enum tag_WBEM_TIMEOUT_TYPE +{ + WBEM_NO_WAIT = 0, + WBEM_INFINITE = 0xffffffff +} WBEM_TIMEOUT_TYPE; + +typedef [v1_enum] enum tag_WBEM_CONDITION_FLAG_TYPE +{ + WBEM_FLAG_ALWAYS = 0, + WBEM_FLAG_ONLY_IF_TRUE = 0x1, + WBEM_FLAG_ONLY_IF_FALSE = 0x2, + WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3, + WBEM_MASK_PRIMARY_CONDITION = 0x3, + WBEM_FLAG_KEYS_ONLY = 0x4, + WBEM_FLAG_REFS_ONLY = 0x8, + WBEM_FLAG_LOCAL_ONLY = 0x10, + WBEM_FLAG_PROPAGATED_ONLY = 0x20, + WBEM_FLAG_SYSTEM_ONLY = 0x30, + WBEM_FLAG_NONSYSTEM_ONLY = 0x40, + WBEM_MASK_CONDITION_ORIGIN = 0x70, + WBEM_FLAG_CLASS_OVERRIDES_ONLY = 0x100, + WBEM_FLAG_CLASS_LOCAL_AND_OVERRIDES = 0x200, + WBEM_MASK_CLASS_CONDITION = 0x300 +} WBEM_CONDITION_FLAG_TYPE; + +typedef [v1_enum] enum tag_WBEM_FLAVOR_TYPE +{ + WBEM_FLAVOR_DONT_PROPAGATE = 0, + WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1, + WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2, + WBEM_FLAVOR_MASK_PROPAGATION = 0xf, + WBEM_FLAVOR_OVERRIDABLE = 0, + WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10, + WBEM_FLAVOR_MASK_PERMISSIONS = 0x10, + WBEM_FLAVOR_ORIGIN_LOCAL = 0, + WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20, + WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40, + WBEM_FLAVOR_MASK_ORIGIN = 0x60, + WBEM_FLAVOR_NOT_AMENDED = 0, + WBEM_FLAVOR_AMENDED = 0x80, + WBEM_FLAVOR_MASK_AMENDED = 0x80 +} WBEM_FLAVOR_TYPE; + +typedef [v1_enum] enum tag_WBEM_GENUS_TYPE +{ + WBEM_GENUS_CLASS = 1, + WBEM_GENUS_INSTANCE = 2 +} WBEM_GENUS_TYPE; + +typedef [v1_enum] enum tag_CIMTYPE_ENUMERATION +{ + CIM_ILLEGAL = 0xfff, + CIM_EMPTY = 0, + CIM_SINT16 = 2, + CIM_SINT32 = 3, + CIM_REAL32 = 4, + CIM_REAL64 = 5, + CIM_STRING = 8, + CIM_BOOLEAN = 11, + CIM_OBJECT = 13, + CIM_SINT8 = 16, + CIM_UINT8 = 17, + CIM_UINT16 = 18, + CIM_UINT32 = 19, + CIM_SINT64 = 20, + CIM_UINT64 = 21, + CIM_DATETIME = 101, + CIM_REFERENCE = 102, + CIM_CHAR16 = 103, + CIM_FLAG_ARRAY = 0x2000 +} CIMTYPE_ENUMERATION; + +typedef long CIMTYPE; + +[ + object, + restricted, + local, + uuid(dc12a687-737f-11cf-884d-00aa004b2e24), + pointer_default(unique) +] +interface IWbemLocator : IUnknown +{ + HRESULT ConnectServer( + [in] const BSTR strNetworkResource, + [in] const BSTR strUser, + [in] const BSTR strPassword, + [in] const BSTR strLocale, + [in] LONG lSecurityFlags, + [in] const BSTR strAuthority, + [in] IWbemContext *pCtx, + [out] IWbemServices **ppNamespace); +}; + +[ + object, + local, + uuid(eb87e1bc-3233-11d2-aec9-00c04fb68820) +] +interface IWbemStatusCodeText : IUnknown +{ + HRESULT GetErrorCodeText( + [in] HRESULT hRes, + [in] LCID LocaleId, + [in] LONG lFlags, + [out] BSTR *MessageText); + + HRESULT GetFacilityCodeText( + [in] HRESULT hRes, + [in] LCID LocaleId, + [in] LONG lFlags, + [out] BSTR *MessageText); +}; + +[ + object, + restricted, + uuid(7c857801-7381-11cf-884d-00aa004b2e24) +] +interface IWbemObjectSink : IUnknown +{ + HRESULT Indicate( + [in] long lObjectCount, + [in, size_is(lObjectCount)] IWbemClassObject **apObjArray); + + HRESULT SetStatus( + [in] long lFlags, + [in] HRESULT hResult, + [in] BSTR strParam, + [in] IWbemClassObject *pObjParam); +}; + +typedef [v1_enum] enum tag_WBEM_GENERIC_FLAG_TYPE +{ + WBEM_FLAG_RETURN_WBEM_COMPLETE = 0, + WBEM_FLAG_BIDIRECTIONAL = 0, + WBEM_FLAG_RETURN_ERROR_OBJECT = 0, + WBEM_FLAG_DONT_SEND_STATUS = 0, + WBEM_FLAG_SEND_ONLY_SELECTED = 0, + WBEM_FLAG_RETURN_IMMEDIATELY = 0x10, + WBEM_FLAG_FORWARD_ONLY = 0x20, + WBEM_FLAG_NO_ERROR_OBJECT = 0x40, + WBEM_FLAG_SEND_STATUS = 0x80, + WBEM_FLAG_ENSURE_LOCATABLE = 0x100, + WBEM_FLAG_DIRECT_READ = 0x200, + WBEM_MASK_RESERVED_FLAGS = 0x1f000, + WBEM_FLAG_USE_AMENDED_QUALIFIERS = 0x20000, + WBEM_FLAG_STRONG_VALIDATION = 0x100000 +} WBEM_GENERIC_FLAG_TYPE; + +[ + object, + restricted, + uuid(9556dc99-828c-11cf-a37e-00aa003240c7), + pointer_default(unique) +] +interface IWbemServices : IUnknown +{ + HRESULT OpenNamespace( + [in] const BSTR strNamespace, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IWbemServices **ppWorkingNamespace, + [out] IWbemCallResult **ppResult); + + HRESULT CancelAsyncCall( + [in] IWbemObjectSink *pSink); + + HRESULT QueryObjectSink( + [in] long lFlags, + [out] IWbemObjectSink **ppResponseHandler); + + HRESULT GetObject( + [in] const BSTR strObjectPath, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IWbemClassObject **ppObject, + [out] IWbemCallResult **ppCallResult); + + HRESULT GetObjectAsync( + [in] const BSTR strObjectPath, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT PutClass( + [in] IWbemClassObject *pObject, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IWbemCallResult **ppCallResult); + + HRESULT PutClassAsync( + [in] IWbemClassObject *pObject, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT DeleteClass( + [in] const BSTR strClass, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IWbemCallResult **ppCallResult); + + HRESULT DeleteClassAsync( + [in] const BSTR strClass, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT CreateClassEnum( + [in] const BSTR strSuperclass, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IEnumWbemClassObject **ppEnum); + + HRESULT CreateClassEnumAsync( + [in] const BSTR strSuperclass, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT PutInstance( + [in] IWbemClassObject *pInst, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IWbemCallResult **ppCallResult); + + HRESULT PutInstanceAsync( + [in] IWbemClassObject *pInst, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT DeleteInstance( + [in] const BSTR strObjectPath, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IWbemCallResult **ppCallResult); + + HRESULT DeleteInstanceAsync( + [in] const BSTR strObjectPath, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT CreateInstanceEnum( + [in] const BSTR strFilter, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IEnumWbemClassObject **ppEnum); + + HRESULT CreateInstanceEnumAsync( + [in] const BSTR strFilter, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT ExecQuery( + [in] const BSTR strQueryLanguage, + [in] const BSTR strQuery, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IEnumWbemClassObject **ppEnum); + + HRESULT ExecQueryAsync( + [in] const BSTR strQueryLanguage, + [in] const BSTR strQuery, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT ExecNotificationQuery( + [in] const BSTR strQueryLanguage, + [in] const BSTR strQuery, + [in] long lFlags, + [in] IWbemContext *pCtx, + [out] IEnumWbemClassObject **ppEnum); + + HRESULT ExecNotificationQueryAsync( + [in] const BSTR strQueryLanguage, + [in] const BSTR strQuery, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemObjectSink *pResponseHandler); + + HRESULT ExecMethod( + [in] const BSTR strObjectPath, + [in] const BSTR strMethodName, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemClassObject *pInParams, + [out] IWbemClassObject **ppOutParams, + [out] IWbemCallResult **ppCallResult); + + HRESULT ExecMethodAsync( + [in] const BSTR strObjectPath, + [in] const BSTR strMethodName, + [in] long lFlags, + [in] IWbemContext *pCtx, + [in] IWbemClassObject *pInParams, + [in] IWbemObjectSink *pResponseHandler); +}; + +[ + object, + restricted, + uuid(027947e1-d731-11ce-a357-000000000001) +] +interface IEnumWbemClassObject : IUnknown +{ + HRESULT Reset(); + + HRESULT Next( + [in] long lTimeout, + [in] ULONG uCount, + [out, size_is(uCount), length_is(*puReturned)] IWbemClassObject **apObjects, + [out] ULONG *puReturned); + + HRESULT NextAsync( + [in] ULONG uCount, + [in] IWbemObjectSink *pSink); + + HRESULT Clone( + [out] IEnumWbemClassObject **ppEnum); + + HRESULT Skip( + [in] long lTimeout, + [in] ULONG nCount); +}; + +[ + object, + restricted, + local, + uuid(dc12a681-737f-11cf-884d-00aa004b2e24) +] +interface IWbemClassObject : IUnknown +{ + HRESULT GetQualifierSet( + [out] IWbemQualifierSet **ppQualSet); + + HRESULT Get( + [in,string] LPCWSTR wszName, + [in] long lFlags, + [out] VARIANT *pVal, + [out] CIMTYPE *pType, + [out] long *plFlavor); + + HRESULT Put( + [in,string] LPCWSTR wszName, + [in] long lFlags, + [in] VARIANT *pVal, + [in] CIMTYPE Type); + + HRESULT Delete( + [in,string] LPCWSTR wszName); + + HRESULT GetNames( + [in,string] LPCWSTR wszQualifierName, + [in] long lFlags, + [in] VARIANT *pQualifierVal, + [out] SAFEARRAY **pNames); + + HRESULT BeginEnumeration( + [in] long lEnumFlags); + + HRESULT Next( + [in] long lFlags, + [out] BSTR *strName, + [out] VARIANT *pVal, + [out] CIMTYPE *pType, + [out] long *plFlavor); + + HRESULT EndEnumeration(); + + HRESULT GetPropertyQualifierSet( + [in,string] LPCWSTR wszProperty, + [out] IWbemQualifierSet **ppQualSet); + + HRESULT Clone( + [out] IWbemClassObject **ppCopy); + + HRESULT GetObjectText( + [in] long lFlags, + [out] BSTR *pstrObjectText); + + HRESULT SpawnDerivedClass( + [in] long lFlags, + [out] IWbemClassObject **ppNewClass); + + HRESULT SpawnInstance( + [in] long lFlags, + [out] IWbemClassObject **ppNewInstance); + + HRESULT CompareTo( + [in] long lFlags, + [in] IWbemClassObject *pCompareTo); + + HRESULT GetPropertyOrigin( + [in,string] LPCWSTR wszName, + [out] BSTR *pstrClassName); + + HRESULT InheritsFrom( + [in] LPCWSTR strAncestor); + + HRESULT GetMethod( + [in,string] LPCWSTR wszName, + [in] long lFlags, + [out] IWbemClassObject **ppInSignature, + [out] IWbemClassObject **ppOutSignature); + + HRESULT PutMethod( + [in,string] LPCWSTR wszName, + [in] long lFlags, + [in] IWbemClassObject *pInSignature, + [in] IWbemClassObject *pOutSignature); + + HRESULT DeleteMethod( + [in,string] LPCWSTR wszName); + + HRESULT BeginMethodEnumeration( + [in] long lEnumFlags); + + HRESULT NextMethod( + [in] long lFlags, + [out] BSTR *pstrName, + [out] IWbemClassObject **ppInSignature, + [out] IWbemClassObject **ppOutSignature); + + HRESULT EndMethodEnumeration(); + + HRESULT GetMethodQualifierSet( + [in,string] LPCWSTR wszMethod, + [out] IWbemQualifierSet **ppQualSet); + + HRESULT GetMethodOrigin( + [in,string] LPCWSTR wszMethodName, + [out] BSTR *pstrClassName); +} + +[ + object, + restricted, + local, + uuid(dc12a680-737f-11cf-884d-00aa004b2e24) +] +interface IWbemQualifierSet : IUnknown +{ + HRESULT Get( + [in,string] LPCWSTR wszName, + [in] long lFlags, + [out] VARIANT *pVal, + [out] long *plFlavor); + + HRESULT Put( + [in,string] LPCWSTR wszName, + [in] VARIANT *pVal, + [in] long lFlavor); + + HRESULT Delete( + [in,string] LPCWSTR wszName); + + HRESULT GetNames( + [in] long lFlags, + [out] SAFEARRAY **pNames); + + HRESULT BeginEnumeration( + [in] long lFlags); + + HRESULT Next( + [in] long lFlags, + [out] BSTR *pstrName, + [out] VARIANT *pVal, + [out] long *plFlavor); + + HRESULT EndEnumeration(); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemdisp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemdisp.h new file mode 100644 index 0000000..e0e0a22 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemdisp.h @@ -0,0 +1,4326 @@ +/*** Autogenerated by WIDL 2.18 from wbemdisp.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wbemdisp_h__ +#define __wbemdisp_h__ + +/* Forward declarations */ + +#ifndef __ISWbemEventSource_FWD_DEFINED__ +#define __ISWbemEventSource_FWD_DEFINED__ +typedef interface ISWbemEventSource ISWbemEventSource; +#ifdef __cplusplus +interface ISWbemEventSource; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemLocator_FWD_DEFINED__ +#define __ISWbemLocator_FWD_DEFINED__ +typedef interface ISWbemLocator ISWbemLocator; +#ifdef __cplusplus +interface ISWbemLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemMethod_FWD_DEFINED__ +#define __ISWbemMethod_FWD_DEFINED__ +typedef interface ISWbemMethod ISWbemMethod; +#ifdef __cplusplus +interface ISWbemMethod; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemMethodSet_FWD_DEFINED__ +#define __ISWbemMethodSet_FWD_DEFINED__ +typedef interface ISWbemMethodSet ISWbemMethodSet; +#ifdef __cplusplus +interface ISWbemMethodSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemNamedValue_FWD_DEFINED__ +#define __ISWbemNamedValue_FWD_DEFINED__ +typedef interface ISWbemNamedValue ISWbemNamedValue; +#ifdef __cplusplus +interface ISWbemNamedValue; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemNamedValueSet_FWD_DEFINED__ +#define __ISWbemNamedValueSet_FWD_DEFINED__ +typedef interface ISWbemNamedValueSet ISWbemNamedValueSet; +#ifdef __cplusplus +interface ISWbemNamedValueSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemObject_FWD_DEFINED__ +#define __ISWbemObject_FWD_DEFINED__ +typedef interface ISWbemObject ISWbemObject; +#ifdef __cplusplus +interface ISWbemObject; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemObjectPath_FWD_DEFINED__ +#define __ISWbemObjectPath_FWD_DEFINED__ +typedef interface ISWbemObjectPath ISWbemObjectPath; +#ifdef __cplusplus +interface ISWbemObjectPath; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemObjectSet_FWD_DEFINED__ +#define __ISWbemObjectSet_FWD_DEFINED__ +typedef interface ISWbemObjectSet ISWbemObjectSet; +#ifdef __cplusplus +interface ISWbemObjectSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemPrivilege_FWD_DEFINED__ +#define __ISWbemPrivilege_FWD_DEFINED__ +typedef interface ISWbemPrivilege ISWbemPrivilege; +#ifdef __cplusplus +interface ISWbemPrivilege; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemPrivilegeSet_FWD_DEFINED__ +#define __ISWbemPrivilegeSet_FWD_DEFINED__ +typedef interface ISWbemPrivilegeSet ISWbemPrivilegeSet; +#ifdef __cplusplus +interface ISWbemPrivilegeSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemProperty_FWD_DEFINED__ +#define __ISWbemProperty_FWD_DEFINED__ +typedef interface ISWbemProperty ISWbemProperty; +#ifdef __cplusplus +interface ISWbemProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemPropertySet_FWD_DEFINED__ +#define __ISWbemPropertySet_FWD_DEFINED__ +typedef interface ISWbemPropertySet ISWbemPropertySet; +#ifdef __cplusplus +interface ISWbemPropertySet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemQualifier_FWD_DEFINED__ +#define __ISWbemQualifier_FWD_DEFINED__ +typedef interface ISWbemQualifier ISWbemQualifier; +#ifdef __cplusplus +interface ISWbemQualifier; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemQualifierSet_FWD_DEFINED__ +#define __ISWbemQualifierSet_FWD_DEFINED__ +typedef interface ISWbemQualifierSet ISWbemQualifierSet; +#ifdef __cplusplus +interface ISWbemQualifierSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemSecurity_FWD_DEFINED__ +#define __ISWbemSecurity_FWD_DEFINED__ +typedef interface ISWbemSecurity ISWbemSecurity; +#ifdef __cplusplus +interface ISWbemSecurity; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemServices_FWD_DEFINED__ +#define __ISWbemServices_FWD_DEFINED__ +typedef interface ISWbemServices ISWbemServices; +#ifdef __cplusplus +interface ISWbemServices; +#endif /* __cplusplus */ +#endif + +#ifndef __SWbemLocator_FWD_DEFINED__ +#define __SWbemLocator_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SWbemLocator SWbemLocator; +#else +typedef struct SWbemLocator SWbemLocator; +#endif /* defined __cplusplus */ +#endif /* defined __SWbemLocator_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_WbemScripting, 0x565783c6, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); + +#ifndef __ISWbemEventSource_FWD_DEFINED__ +#define __ISWbemEventSource_FWD_DEFINED__ +typedef interface ISWbemEventSource ISWbemEventSource; +#ifdef __cplusplus +interface ISWbemEventSource; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemLocator_FWD_DEFINED__ +#define __ISWbemLocator_FWD_DEFINED__ +typedef interface ISWbemLocator ISWbemLocator; +#ifdef __cplusplus +interface ISWbemLocator; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemMethod_FWD_DEFINED__ +#define __ISWbemMethod_FWD_DEFINED__ +typedef interface ISWbemMethod ISWbemMethod; +#ifdef __cplusplus +interface ISWbemMethod; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemMethodSet_FWD_DEFINED__ +#define __ISWbemMethodSet_FWD_DEFINED__ +typedef interface ISWbemMethodSet ISWbemMethodSet; +#ifdef __cplusplus +interface ISWbemMethodSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemNamedValue_FWD_DEFINED__ +#define __ISWbemNamedValue_FWD_DEFINED__ +typedef interface ISWbemNamedValue ISWbemNamedValue; +#ifdef __cplusplus +interface ISWbemNamedValue; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemNamedValueSet_FWD_DEFINED__ +#define __ISWbemNamedValueSet_FWD_DEFINED__ +typedef interface ISWbemNamedValueSet ISWbemNamedValueSet; +#ifdef __cplusplus +interface ISWbemNamedValueSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemObject_FWD_DEFINED__ +#define __ISWbemObject_FWD_DEFINED__ +typedef interface ISWbemObject ISWbemObject; +#ifdef __cplusplus +interface ISWbemObject; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemObjectPath_FWD_DEFINED__ +#define __ISWbemObjectPath_FWD_DEFINED__ +typedef interface ISWbemObjectPath ISWbemObjectPath; +#ifdef __cplusplus +interface ISWbemObjectPath; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemObjectSet_FWD_DEFINED__ +#define __ISWbemObjectSet_FWD_DEFINED__ +typedef interface ISWbemObjectSet ISWbemObjectSet; +#ifdef __cplusplus +interface ISWbemObjectSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemPrivilege_FWD_DEFINED__ +#define __ISWbemPrivilege_FWD_DEFINED__ +typedef interface ISWbemPrivilege ISWbemPrivilege; +#ifdef __cplusplus +interface ISWbemPrivilege; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemPrivilegeSet_FWD_DEFINED__ +#define __ISWbemPrivilegeSet_FWD_DEFINED__ +typedef interface ISWbemPrivilegeSet ISWbemPrivilegeSet; +#ifdef __cplusplus +interface ISWbemPrivilegeSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemProperty_FWD_DEFINED__ +#define __ISWbemProperty_FWD_DEFINED__ +typedef interface ISWbemProperty ISWbemProperty; +#ifdef __cplusplus +interface ISWbemProperty; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemPropertySet_FWD_DEFINED__ +#define __ISWbemPropertySet_FWD_DEFINED__ +typedef interface ISWbemPropertySet ISWbemPropertySet; +#ifdef __cplusplus +interface ISWbemPropertySet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemQualifier_FWD_DEFINED__ +#define __ISWbemQualifier_FWD_DEFINED__ +typedef interface ISWbemQualifier ISWbemQualifier; +#ifdef __cplusplus +interface ISWbemQualifier; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemQualifierSet_FWD_DEFINED__ +#define __ISWbemQualifierSet_FWD_DEFINED__ +typedef interface ISWbemQualifierSet ISWbemQualifierSet; +#ifdef __cplusplus +interface ISWbemQualifierSet; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemSecurity_FWD_DEFINED__ +#define __ISWbemSecurity_FWD_DEFINED__ +typedef interface ISWbemSecurity ISWbemSecurity; +#ifdef __cplusplus +interface ISWbemSecurity; +#endif /* __cplusplus */ +#endif + +#ifndef __ISWbemServices_FWD_DEFINED__ +#define __ISWbemServices_FWD_DEFINED__ +typedef interface ISWbemServices ISWbemServices; +#ifdef __cplusplus +interface ISWbemServices; +#endif /* __cplusplus */ +#endif + +typedef enum WbemTimeout { + wbemTimeoutInfinite = 0xffffffff +} WbemTimeout; +typedef enum WbemChangeFlagEnum { + wbemChangeFlagCreateOrUpdate = 0, + wbemChangeFlagUpdateOnly = 0x1, + wbemChangeFlagCreateOnly = 0x2, + wbemChangeFlagUpdateCompatible = 0x0, + wbemChangeFlagUpdateSafeMode = 0x20, + wbemChangeFlagUpdateForceMode = 0x40, + wbemChangeFlagStrongValidation = 0x80, + wbemChangeFlagAdvisory = 0x10000 +} WbemChangeFlagEnum; +typedef enum WbemFlagEnum { + wbemFlagReturnImmediately = 0x10, + wbemFlagReturnWhenComplete = 0, + wbemFlagBidirectional = 0, + wbemFlagForwardOnly = 0x20, + wbemFlagNoErrorObject = 0x40, + wbemFlagReturnErrorObject = 0, + wbemFlagSendStatus = 0x80, + wbemFlagDontSendStatus = 0, + wbemFlagEnsureLocatable = 0x100, + wbemFlagDirectRead = 0x200, + wbemFlagSendOnlySelected = 0, + wbemFlagUseAmendedQualifiers = 0x20000, + wbemFlagGetDefault = 0x0, + wbemFlagSpawnInstance = 0x1, + wbemFlagUseCurrentTime = 0x1 +} WbemFlagEnum; +typedef enum WbemQueryFlagEnum { + wbemQueryFlagDeep = 0, + wbemQueryFlagShallow = 1, + wbemQueryFlagPrototype = 2 +} WbemQueryFlagEnum; +typedef enum WbemComparisonFlagEnum { + wbemComparisonFlagIncludeAll = 0, + wbemComparisonFlagIgnoreQualifiers = 1, + wbemComparisonFlagIgnoreObjectSource = 2, + wbemComparisonFlagIgnoreDefaultValues = 4, + wbemComparisonFlagIgnoreClass = 8, + wbemComparisonFlagIgnoreCase = 16, + wbemComparisonFlagIgnoreFlavor = 32 +} WbemComparisonFlagEnum; +/***************************************************************************** + * ISWbemEventSource interface + */ +#ifndef __ISWbemEventSource_INTERFACE_DEFINED__ +#define __ISWbemEventSource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemEventSource, 0x27d54d92, 0x0ebe, 0x11d2, 0x8b,0x22, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("27d54d92-0ebe-11d2-8b22-00600806d9b6") +ISWbemEventSource : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE NextEvent( + LONG iTimeoutMs, + ISWbemObject **objWbemObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Security_( + ISWbemSecurity **objWbemSecurity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemEventSource, 0x27d54d92, 0x0ebe, 0x11d2, 0x8b,0x22, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemEventSourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemEventSource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemEventSource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemEventSource *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemEventSource *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemEventSource *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemEventSource *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemEventSource *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemEventSource methods ***/ + HRESULT (STDMETHODCALLTYPE *NextEvent)( + ISWbemEventSource *This, + LONG iTimeoutMs, + ISWbemObject **objWbemObject); + + HRESULT (STDMETHODCALLTYPE *get_Security_)( + ISWbemEventSource *This, + ISWbemSecurity **objWbemSecurity); + + END_INTERFACE +} ISWbemEventSourceVtbl; + +interface ISWbemEventSource { + CONST_VTBL ISWbemEventSourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemEventSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemEventSource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemEventSource_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemEventSource_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemEventSource_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemEventSource_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemEventSource_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemEventSource methods ***/ +#define ISWbemEventSource_NextEvent(This,iTimeoutMs,objWbemObject) (This)->lpVtbl->NextEvent(This,iTimeoutMs,objWbemObject) +#define ISWbemEventSource_get_Security_(This,objWbemSecurity) (This)->lpVtbl->get_Security_(This,objWbemSecurity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemEventSource_QueryInterface(ISWbemEventSource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemEventSource_AddRef(ISWbemEventSource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemEventSource_Release(ISWbemEventSource* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemEventSource_GetTypeInfoCount(ISWbemEventSource* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemEventSource_GetTypeInfo(ISWbemEventSource* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemEventSource_GetIDsOfNames(ISWbemEventSource* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemEventSource_Invoke(ISWbemEventSource* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemEventSource methods ***/ +static FORCEINLINE HRESULT ISWbemEventSource_NextEvent(ISWbemEventSource* This,LONG iTimeoutMs,ISWbemObject **objWbemObject) { + return This->lpVtbl->NextEvent(This,iTimeoutMs,objWbemObject); +} +static FORCEINLINE HRESULT ISWbemEventSource_get_Security_(ISWbemEventSource* This,ISWbemSecurity **objWbemSecurity) { + return This->lpVtbl->get_Security_(This,objWbemSecurity); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemEventSource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemLocator interface + */ +#ifndef __ISWbemLocator_INTERFACE_DEFINED__ +#define __ISWbemLocator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemLocator, 0x76a6415b, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("76a6415b-cb41-11d1-8b02-00600806d9b6") +ISWbemLocator : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE ConnectServer( + BSTR strServer, + BSTR strNamespace, + BSTR strUser, + BSTR strPassword, + BSTR strLocale, + BSTR strAuthority, + LONG iSecurityFlags, + IDispatch *objWbemNamedValueSet, + ISWbemServices **objWbemServices) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Security_( + ISWbemSecurity **objWbemSecurity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemLocator, 0x76a6415b, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemLocatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemLocator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemLocator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemLocator *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemLocator *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemLocator *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemLocator *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemLocator *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemLocator methods ***/ + HRESULT (STDMETHODCALLTYPE *ConnectServer)( + ISWbemLocator *This, + BSTR strServer, + BSTR strNamespace, + BSTR strUser, + BSTR strPassword, + BSTR strLocale, + BSTR strAuthority, + LONG iSecurityFlags, + IDispatch *objWbemNamedValueSet, + ISWbemServices **objWbemServices); + + HRESULT (STDMETHODCALLTYPE *get_Security_)( + ISWbemLocator *This, + ISWbemSecurity **objWbemSecurity); + + END_INTERFACE +} ISWbemLocatorVtbl; + +interface ISWbemLocator { + CONST_VTBL ISWbemLocatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemLocator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemLocator_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemLocator methods ***/ +#define ISWbemLocator_ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices) (This)->lpVtbl->ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices) +#define ISWbemLocator_get_Security_(This,objWbemSecurity) (This)->lpVtbl->get_Security_(This,objWbemSecurity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemLocator_QueryInterface(ISWbemLocator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemLocator_AddRef(ISWbemLocator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemLocator_Release(ISWbemLocator* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemLocator_GetTypeInfoCount(ISWbemLocator* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemLocator_GetTypeInfo(ISWbemLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemLocator_GetIDsOfNames(ISWbemLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemLocator_Invoke(ISWbemLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemLocator methods ***/ +static FORCEINLINE HRESULT ISWbemLocator_ConnectServer(ISWbemLocator* This,BSTR strServer,BSTR strNamespace,BSTR strUser,BSTR strPassword,BSTR strLocale,BSTR strAuthority,LONG iSecurityFlags,IDispatch *objWbemNamedValueSet,ISWbemServices **objWbemServices) { + return This->lpVtbl->ConnectServer(This,strServer,strNamespace,strUser,strPassword,strLocale,strAuthority,iSecurityFlags,objWbemNamedValueSet,objWbemServices); +} +static FORCEINLINE HRESULT ISWbemLocator_get_Security_(ISWbemLocator* This,ISWbemSecurity **objWbemSecurity) { + return This->lpVtbl->get_Security_(This,objWbemSecurity); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemLocator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemMethod interface + */ +#ifndef __ISWbemMethod_INTERFACE_DEFINED__ +#define __ISWbemMethod_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemMethod, 0x422e8e90, 0xd955, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("422e8e90-d955-11d1-8b09-00600806d9b6") +ISWbemMethod : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *strName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Origin( + BSTR *strOrigin) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InParameters( + ISWbemObject **objWbemInParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_OutParameters( + ISWbemObject **objWbemOutParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Qualifiers_( + ISWbemQualifierSet **objWbemQualifierSet) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemMethod, 0x422e8e90, 0xd955, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemMethodVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemMethod *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemMethod *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemMethod *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemMethod *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemMethod *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemMethod *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemMethod *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemMethod methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + ISWbemMethod *This, + BSTR *strName); + + HRESULT (STDMETHODCALLTYPE *get_Origin)( + ISWbemMethod *This, + BSTR *strOrigin); + + HRESULT (STDMETHODCALLTYPE *get_InParameters)( + ISWbemMethod *This, + ISWbemObject **objWbemInParameters); + + HRESULT (STDMETHODCALLTYPE *get_OutParameters)( + ISWbemMethod *This, + ISWbemObject **objWbemOutParameters); + + HRESULT (STDMETHODCALLTYPE *get_Qualifiers_)( + ISWbemMethod *This, + ISWbemQualifierSet **objWbemQualifierSet); + + END_INTERFACE +} ISWbemMethodVtbl; + +interface ISWbemMethod { + CONST_VTBL ISWbemMethodVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemMethod_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemMethod_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemMethod_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemMethod_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemMethod_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemMethod_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemMethod_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemMethod methods ***/ +#define ISWbemMethod_get_Name(This,strName) (This)->lpVtbl->get_Name(This,strName) +#define ISWbemMethod_get_Origin(This,strOrigin) (This)->lpVtbl->get_Origin(This,strOrigin) +#define ISWbemMethod_get_InParameters(This,objWbemInParameters) (This)->lpVtbl->get_InParameters(This,objWbemInParameters) +#define ISWbemMethod_get_OutParameters(This,objWbemOutParameters) (This)->lpVtbl->get_OutParameters(This,objWbemOutParameters) +#define ISWbemMethod_get_Qualifiers_(This,objWbemQualifierSet) (This)->lpVtbl->get_Qualifiers_(This,objWbemQualifierSet) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemMethod_QueryInterface(ISWbemMethod* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemMethod_AddRef(ISWbemMethod* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemMethod_Release(ISWbemMethod* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemMethod_GetTypeInfoCount(ISWbemMethod* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemMethod_GetTypeInfo(ISWbemMethod* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemMethod_GetIDsOfNames(ISWbemMethod* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemMethod_Invoke(ISWbemMethod* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemMethod methods ***/ +static FORCEINLINE HRESULT ISWbemMethod_get_Name(ISWbemMethod* This,BSTR *strName) { + return This->lpVtbl->get_Name(This,strName); +} +static FORCEINLINE HRESULT ISWbemMethod_get_Origin(ISWbemMethod* This,BSTR *strOrigin) { + return This->lpVtbl->get_Origin(This,strOrigin); +} +static FORCEINLINE HRESULT ISWbemMethod_get_InParameters(ISWbemMethod* This,ISWbemObject **objWbemInParameters) { + return This->lpVtbl->get_InParameters(This,objWbemInParameters); +} +static FORCEINLINE HRESULT ISWbemMethod_get_OutParameters(ISWbemMethod* This,ISWbemObject **objWbemOutParameters) { + return This->lpVtbl->get_OutParameters(This,objWbemOutParameters); +} +static FORCEINLINE HRESULT ISWbemMethod_get_Qualifiers_(ISWbemMethod* This,ISWbemQualifierSet **objWbemQualifierSet) { + return This->lpVtbl->get_Qualifiers_(This,objWbemQualifierSet); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemMethod_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemMethodSet interface + */ +#ifndef __ISWbemMethodSet_INTERFACE_DEFINED__ +#define __ISWbemMethodSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemMethodSet, 0xc93ba292, 0xd955, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c93ba292-d955-11d1-8b09-00600806d9b6") +ISWbemMethodSet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR strName, + LONG iFlags, + ISWbemMethod **objWbemMethod) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *iCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemMethodSet, 0xc93ba292, 0xd955, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemMethodSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemMethodSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemMethodSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemMethodSet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemMethodSet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemMethodSet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemMethodSet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemMethodSet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemMethodSet methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ISWbemMethodSet *This, + IUnknown **pUnk); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISWbemMethodSet *This, + BSTR strName, + LONG iFlags, + ISWbemMethod **objWbemMethod); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISWbemMethodSet *This, + LONG *iCount); + + END_INTERFACE +} ISWbemMethodSetVtbl; + +interface ISWbemMethodSet { + CONST_VTBL ISWbemMethodSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemMethodSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemMethodSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemMethodSet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemMethodSet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemMethodSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemMethodSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemMethodSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemMethodSet methods ***/ +#define ISWbemMethodSet_get__NewEnum(This,pUnk) (This)->lpVtbl->get__NewEnum(This,pUnk) +#define ISWbemMethodSet_Item(This,strName,iFlags,objWbemMethod) (This)->lpVtbl->Item(This,strName,iFlags,objWbemMethod) +#define ISWbemMethodSet_get_Count(This,iCount) (This)->lpVtbl->get_Count(This,iCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemMethodSet_QueryInterface(ISWbemMethodSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemMethodSet_AddRef(ISWbemMethodSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemMethodSet_Release(ISWbemMethodSet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemMethodSet_GetTypeInfoCount(ISWbemMethodSet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemMethodSet_GetTypeInfo(ISWbemMethodSet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemMethodSet_GetIDsOfNames(ISWbemMethodSet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemMethodSet_Invoke(ISWbemMethodSet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemMethodSet methods ***/ +static FORCEINLINE HRESULT ISWbemMethodSet_get__NewEnum(ISWbemMethodSet* This,IUnknown **pUnk) { + return This->lpVtbl->get__NewEnum(This,pUnk); +} +static FORCEINLINE HRESULT ISWbemMethodSet_Item(ISWbemMethodSet* This,BSTR strName,LONG iFlags,ISWbemMethod **objWbemMethod) { + return This->lpVtbl->Item(This,strName,iFlags,objWbemMethod); +} +static FORCEINLINE HRESULT ISWbemMethodSet_get_Count(ISWbemMethodSet* This,LONG *iCount) { + return This->lpVtbl->get_Count(This,iCount); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemMethodSet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemNamedValue interface + */ +#ifndef __ISWbemNamedValue_INTERFACE_DEFINED__ +#define __ISWbemNamedValue_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemNamedValue, 0x76a64164, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("76a64164-cb41-11d1-8b02-00600806d9b6") +ISWbemNamedValue : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Value( + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Value( + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *strName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemNamedValue, 0x76a64164, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemNamedValueVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemNamedValue *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemNamedValue *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemNamedValue *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemNamedValue *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemNamedValue *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemNamedValue *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemNamedValue *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemNamedValue methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Value)( + ISWbemNamedValue *This, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *put_Value)( + ISWbemNamedValue *This, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + ISWbemNamedValue *This, + BSTR *strName); + + END_INTERFACE +} ISWbemNamedValueVtbl; + +interface ISWbemNamedValue { + CONST_VTBL ISWbemNamedValueVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemNamedValue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemNamedValue_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemNamedValue_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemNamedValue_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemNamedValue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemNamedValue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemNamedValue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemNamedValue methods ***/ +#define ISWbemNamedValue_get_Value(This,varValue) (This)->lpVtbl->get_Value(This,varValue) +#define ISWbemNamedValue_put_Value(This,varValue) (This)->lpVtbl->put_Value(This,varValue) +#define ISWbemNamedValue_get_Name(This,strName) (This)->lpVtbl->get_Name(This,strName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemNamedValue_QueryInterface(ISWbemNamedValue* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemNamedValue_AddRef(ISWbemNamedValue* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemNamedValue_Release(ISWbemNamedValue* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemNamedValue_GetTypeInfoCount(ISWbemNamedValue* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemNamedValue_GetTypeInfo(ISWbemNamedValue* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemNamedValue_GetIDsOfNames(ISWbemNamedValue* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemNamedValue_Invoke(ISWbemNamedValue* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemNamedValue methods ***/ +static FORCEINLINE HRESULT ISWbemNamedValue_get_Value(ISWbemNamedValue* This,VARIANT *varValue) { + return This->lpVtbl->get_Value(This,varValue); +} +static FORCEINLINE HRESULT ISWbemNamedValue_put_Value(ISWbemNamedValue* This,VARIANT *varValue) { + return This->lpVtbl->put_Value(This,varValue); +} +static FORCEINLINE HRESULT ISWbemNamedValue_get_Name(ISWbemNamedValue* This,BSTR *strName) { + return This->lpVtbl->get_Name(This,strName); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemNamedValue_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemNamedValueSet interface + */ +#ifndef __ISWbemNamedValueSet_INTERFACE_DEFINED__ +#define __ISWbemNamedValueSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemNamedValueSet, 0xcf2376ea, 0xce8c, 0x11d1, 0x8b,0x05, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cf2376ea-ce8c-11d1-8b05-00600806d9b6") +ISWbemNamedValueSet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR strName, + LONG iFlags, + ISWbemNamedValue **objWbemNamedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *iCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR strName, + VARIANT *varValue, + LONG iFlags, + ISWbemNamedValue **objWbemNamedValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + BSTR strName, + LONG iFlags = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + ISWbemNamedValueSet **objWbemNamedValueSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAll( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemNamedValueSet, 0xcf2376ea, 0xce8c, 0x11d1, 0x8b,0x05, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemNamedValueSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemNamedValueSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemNamedValueSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemNamedValueSet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemNamedValueSet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemNamedValueSet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemNamedValueSet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemNamedValueSet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemNamedValueSet methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ISWbemNamedValueSet *This, + IUnknown **pUnk); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISWbemNamedValueSet *This, + BSTR strName, + LONG iFlags, + ISWbemNamedValue **objWbemNamedValue); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISWbemNamedValueSet *This, + LONG *iCount); + + HRESULT (STDMETHODCALLTYPE *Add)( + ISWbemNamedValueSet *This, + BSTR strName, + VARIANT *varValue, + LONG iFlags, + ISWbemNamedValue **objWbemNamedValue); + + HRESULT (STDMETHODCALLTYPE *Remove)( + ISWbemNamedValueSet *This, + BSTR strName, + LONG iFlags); + + HRESULT (STDMETHODCALLTYPE *Clone)( + ISWbemNamedValueSet *This, + ISWbemNamedValueSet **objWbemNamedValueSet); + + HRESULT (STDMETHODCALLTYPE *DeleteAll)( + ISWbemNamedValueSet *This); + + END_INTERFACE +} ISWbemNamedValueSetVtbl; + +interface ISWbemNamedValueSet { + CONST_VTBL ISWbemNamedValueSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemNamedValueSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemNamedValueSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemNamedValueSet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemNamedValueSet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemNamedValueSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemNamedValueSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemNamedValueSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemNamedValueSet methods ***/ +#define ISWbemNamedValueSet_get__NewEnum(This,pUnk) (This)->lpVtbl->get__NewEnum(This,pUnk) +#define ISWbemNamedValueSet_Item(This,strName,iFlags,objWbemNamedValue) (This)->lpVtbl->Item(This,strName,iFlags,objWbemNamedValue) +#define ISWbemNamedValueSet_get_Count(This,iCount) (This)->lpVtbl->get_Count(This,iCount) +#define ISWbemNamedValueSet_Add(This,strName,varValue,iFlags,objWbemNamedValue) (This)->lpVtbl->Add(This,strName,varValue,iFlags,objWbemNamedValue) +#define ISWbemNamedValueSet_Remove(This,strName,iFlags) (This)->lpVtbl->Remove(This,strName,iFlags) +#define ISWbemNamedValueSet_Clone(This,objWbemNamedValueSet) (This)->lpVtbl->Clone(This,objWbemNamedValueSet) +#define ISWbemNamedValueSet_DeleteAll(This) (This)->lpVtbl->DeleteAll(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemNamedValueSet_QueryInterface(ISWbemNamedValueSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemNamedValueSet_AddRef(ISWbemNamedValueSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemNamedValueSet_Release(ISWbemNamedValueSet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemNamedValueSet_GetTypeInfoCount(ISWbemNamedValueSet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_GetTypeInfo(ISWbemNamedValueSet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_GetIDsOfNames(ISWbemNamedValueSet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_Invoke(ISWbemNamedValueSet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemNamedValueSet methods ***/ +static FORCEINLINE HRESULT ISWbemNamedValueSet_get__NewEnum(ISWbemNamedValueSet* This,IUnknown **pUnk) { + return This->lpVtbl->get__NewEnum(This,pUnk); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_Item(ISWbemNamedValueSet* This,BSTR strName,LONG iFlags,ISWbemNamedValue **objWbemNamedValue) { + return This->lpVtbl->Item(This,strName,iFlags,objWbemNamedValue); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_get_Count(ISWbemNamedValueSet* This,LONG *iCount) { + return This->lpVtbl->get_Count(This,iCount); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_Add(ISWbemNamedValueSet* This,BSTR strName,VARIANT *varValue,LONG iFlags,ISWbemNamedValue **objWbemNamedValue) { + return This->lpVtbl->Add(This,strName,varValue,iFlags,objWbemNamedValue); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_Remove(ISWbemNamedValueSet* This,BSTR strName,LONG iFlags) { + return This->lpVtbl->Remove(This,strName,iFlags); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_Clone(ISWbemNamedValueSet* This,ISWbemNamedValueSet **objWbemNamedValueSet) { + return This->lpVtbl->Clone(This,objWbemNamedValueSet); +} +static FORCEINLINE HRESULT ISWbemNamedValueSet_DeleteAll(ISWbemNamedValueSet* This) { + return This->lpVtbl->DeleteAll(This); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemNamedValueSet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemObject interface + */ +#ifndef __ISWbemObject_INTERFACE_DEFINED__ +#define __ISWbemObject_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemObject, 0x76a6415a, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("76a6415a-cb41-11d1-8b02-00600806d9b6") +ISWbemObject : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Put_( + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectPath **objWbemObjectPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE PutAsync_( + IDispatch *objWbemSink, + LONG iFlags = wbemChangeFlagCreateOrUpdate, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete_( + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAsync_( + IDispatch *objWbemSink, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Instances_( + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstancesAsync_( + IDispatch *objWbemSink, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Subclasses_( + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubclassesAsync_( + IDispatch *objWbemSink, + LONG iFlags = wbemQueryFlagDeep, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Associators_( + BSTR strAssocClass, + BSTR strResultClass, + BSTR strResultRole, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredAssocQualifier, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE AssociatorsAsync_( + IDispatch *objWbemSink, + BSTR strAssocClass = L"", + BSTR strResultClass = L"", + BSTR strResultRole = L"", + BSTR strRole = L"", + VARIANT_BOOL bClassesOnly = FALSE, + VARIANT_BOOL bSchemaOnly = FALSE, + BSTR strRequiredAssocQualifier = L"", + BSTR strRequiredQualifier = L"", + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE References_( + BSTR strResultClass, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReferencesAsync_( + IDispatch *objWbemSink, + BSTR strResultClass = L"", + BSTR strRole = L"", + VARIANT_BOOL bClassesOnly = FALSE, + VARIANT_BOOL bSchemaOnly = FALSE, + BSTR strRequiredQualifier = L"", + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecMethod_( + BSTR strMethodName, + IDispatch *objWbemInParameters, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObject **objWbemOutParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecMethodAsync_( + IDispatch *objWbemSink, + BSTR strMethodName, + IDispatch *objWbemInParameters = 0, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone_( + ISWbemObject **objWbemObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetObjectText_( + LONG iFlags, + BSTR *strObjectText) = 0; + + virtual HRESULT STDMETHODCALLTYPE SpawnDerivedClass_( + LONG iFlags, + ISWbemObject **objWbemObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE SpawnInstance_( + LONG iFlags, + ISWbemObject **objWbemObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareTo_( + IDispatch *objWbemObject, + LONG iFlags, + VARIANT_BOOL *bResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Qualifiers_( + ISWbemQualifierSet **objWbemQualifierSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Properties_( + ISWbemPropertySet **objWbemPropertySet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Methods_( + ISWbemMethodSet **objWbemMethodSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Derivation_( + VARIANT *strClassNameArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Path_( + ISWbemObjectPath **objWbemObjectPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Security_( + ISWbemSecurity **objWbemSecurity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemObject, 0x76a6415a, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemObjectVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemObject *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemObject *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemObject *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemObject *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemObject *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemObject *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemObject *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemObject methods ***/ + HRESULT (STDMETHODCALLTYPE *Put_)( + ISWbemObject *This, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectPath **objWbemObjectPath); + + HRESULT (STDMETHODCALLTYPE *PutAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *Delete_)( + ISWbemObject *This, + LONG iFlags, + IDispatch *objWbemNamedValueSet); + + HRESULT (STDMETHODCALLTYPE *DeleteAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *Instances_)( + ISWbemObject *This, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *InstancesAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *Subclasses_)( + ISWbemObject *This, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *SubclassesAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *Associators_)( + ISWbemObject *This, + BSTR strAssocClass, + BSTR strResultClass, + BSTR strResultRole, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredAssocQualifier, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *AssociatorsAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + BSTR strAssocClass, + BSTR strResultClass, + BSTR strResultRole, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredAssocQualifier, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *References_)( + ISWbemObject *This, + BSTR strResultClass, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *ReferencesAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + BSTR strResultClass, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *ExecMethod_)( + ISWbemObject *This, + BSTR strMethodName, + IDispatch *objWbemInParameters, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObject **objWbemOutParameters); + + HRESULT (STDMETHODCALLTYPE *ExecMethodAsync_)( + ISWbemObject *This, + IDispatch *objWbemSink, + BSTR strMethodName, + IDispatch *objWbemInParameters, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *Clone_)( + ISWbemObject *This, + ISWbemObject **objWbemObject); + + HRESULT (STDMETHODCALLTYPE *GetObjectText_)( + ISWbemObject *This, + LONG iFlags, + BSTR *strObjectText); + + HRESULT (STDMETHODCALLTYPE *SpawnDerivedClass_)( + ISWbemObject *This, + LONG iFlags, + ISWbemObject **objWbemObject); + + HRESULT (STDMETHODCALLTYPE *SpawnInstance_)( + ISWbemObject *This, + LONG iFlags, + ISWbemObject **objWbemObject); + + HRESULT (STDMETHODCALLTYPE *CompareTo_)( + ISWbemObject *This, + IDispatch *objWbemObject, + LONG iFlags, + VARIANT_BOOL *bResult); + + HRESULT (STDMETHODCALLTYPE *get_Qualifiers_)( + ISWbemObject *This, + ISWbemQualifierSet **objWbemQualifierSet); + + HRESULT (STDMETHODCALLTYPE *get_Properties_)( + ISWbemObject *This, + ISWbemPropertySet **objWbemPropertySet); + + HRESULT (STDMETHODCALLTYPE *get_Methods_)( + ISWbemObject *This, + ISWbemMethodSet **objWbemMethodSet); + + HRESULT (STDMETHODCALLTYPE *get_Derivation_)( + ISWbemObject *This, + VARIANT *strClassNameArray); + + HRESULT (STDMETHODCALLTYPE *get_Path_)( + ISWbemObject *This, + ISWbemObjectPath **objWbemObjectPath); + + HRESULT (STDMETHODCALLTYPE *get_Security_)( + ISWbemObject *This, + ISWbemSecurity **objWbemSecurity); + + END_INTERFACE +} ISWbemObjectVtbl; + +interface ISWbemObject { + CONST_VTBL ISWbemObjectVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemObject_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemObject_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemObject methods ***/ +#define ISWbemObject_Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath) (This)->lpVtbl->Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath) +#define ISWbemObject_PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_Delete_(This,iFlags,objWbemNamedValueSet) (This)->lpVtbl->Delete_(This,iFlags,objWbemNamedValueSet) +#define ISWbemObject_DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemObject_InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemObject_SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemObject_AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemObject_ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) (This)->lpVtbl->ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) +#define ISWbemObject_ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemObject_Clone_(This,objWbemObject) (This)->lpVtbl->Clone_(This,objWbemObject) +#define ISWbemObject_GetObjectText_(This,iFlags,strObjectText) (This)->lpVtbl->GetObjectText_(This,iFlags,strObjectText) +#define ISWbemObject_SpawnDerivedClass_(This,iFlags,objWbemObject) (This)->lpVtbl->SpawnDerivedClass_(This,iFlags,objWbemObject) +#define ISWbemObject_SpawnInstance_(This,iFlags,objWbemObject) (This)->lpVtbl->SpawnInstance_(This,iFlags,objWbemObject) +#define ISWbemObject_CompareTo_(This,objWbemObject,iFlags,bResult) (This)->lpVtbl->CompareTo_(This,objWbemObject,iFlags,bResult) +#define ISWbemObject_get_Qualifiers_(This,objWbemQualifierSet) (This)->lpVtbl->get_Qualifiers_(This,objWbemQualifierSet) +#define ISWbemObject_get_Properties_(This,objWbemPropertySet) (This)->lpVtbl->get_Properties_(This,objWbemPropertySet) +#define ISWbemObject_get_Methods_(This,objWbemMethodSet) (This)->lpVtbl->get_Methods_(This,objWbemMethodSet) +#define ISWbemObject_get_Derivation_(This,strClassNameArray) (This)->lpVtbl->get_Derivation_(This,strClassNameArray) +#define ISWbemObject_get_Path_(This,objWbemObjectPath) (This)->lpVtbl->get_Path_(This,objWbemObjectPath) +#define ISWbemObject_get_Security_(This,objWbemSecurity) (This)->lpVtbl->get_Security_(This,objWbemSecurity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemObject_QueryInterface(ISWbemObject* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemObject_AddRef(ISWbemObject* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemObject_Release(ISWbemObject* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemObject_GetTypeInfoCount(ISWbemObject* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemObject_GetTypeInfo(ISWbemObject* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemObject_GetIDsOfNames(ISWbemObject* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemObject_Invoke(ISWbemObject* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemObject methods ***/ +static FORCEINLINE HRESULT ISWbemObject_Put_(ISWbemObject* This,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectPath **objWbemObjectPath) { + return This->lpVtbl->Put_(This,iFlags,objWbemNamedValueSet,objWbemObjectPath); +} +static FORCEINLINE HRESULT ISWbemObject_PutAsync_(ISWbemObject* This,IDispatch *objWbemSink,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->PutAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_Delete_(ISWbemObject* This,LONG iFlags,IDispatch *objWbemNamedValueSet) { + return This->lpVtbl->Delete_(This,iFlags,objWbemNamedValueSet); +} +static FORCEINLINE HRESULT ISWbemObject_DeleteAsync_(ISWbemObject* This,IDispatch *objWbemSink,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->DeleteAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_Instances_(ISWbemObject* This,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->Instances_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemObject_InstancesAsync_(ISWbemObject* This,IDispatch *objWbemSink,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->InstancesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_Subclasses_(ISWbemObject* This,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->Subclasses_(This,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemObject_SubclassesAsync_(ISWbemObject* This,IDispatch *objWbemSink,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->SubclassesAsync_(This,objWbemSink,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_Associators_(ISWbemObject* This,BSTR strAssocClass,BSTR strResultClass,BSTR strResultRole,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredAssocQualifier,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->Associators_(This,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemObject_AssociatorsAsync_(ISWbemObject* This,IDispatch *objWbemSink,BSTR strAssocClass,BSTR strResultClass,BSTR strResultRole,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredAssocQualifier,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->AssociatorsAsync_(This,objWbemSink,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_References_(ISWbemObject* This,BSTR strResultClass,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->References_(This,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemObject_ReferencesAsync_(ISWbemObject* This,IDispatch *objWbemSink,BSTR strResultClass,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->ReferencesAsync_(This,objWbemSink,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_ExecMethod_(ISWbemObject* This,BSTR strMethodName,IDispatch *objWbemInParameters,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObject **objWbemOutParameters) { + return This->lpVtbl->ExecMethod_(This,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters); +} +static FORCEINLINE HRESULT ISWbemObject_ExecMethodAsync_(ISWbemObject* This,IDispatch *objWbemSink,BSTR strMethodName,IDispatch *objWbemInParameters,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->ExecMethodAsync_(This,objWbemSink,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemObject_Clone_(ISWbemObject* This,ISWbemObject **objWbemObject) { + return This->lpVtbl->Clone_(This,objWbemObject); +} +static FORCEINLINE HRESULT ISWbemObject_GetObjectText_(ISWbemObject* This,LONG iFlags,BSTR *strObjectText) { + return This->lpVtbl->GetObjectText_(This,iFlags,strObjectText); +} +static FORCEINLINE HRESULT ISWbemObject_SpawnDerivedClass_(ISWbemObject* This,LONG iFlags,ISWbemObject **objWbemObject) { + return This->lpVtbl->SpawnDerivedClass_(This,iFlags,objWbemObject); +} +static FORCEINLINE HRESULT ISWbemObject_SpawnInstance_(ISWbemObject* This,LONG iFlags,ISWbemObject **objWbemObject) { + return This->lpVtbl->SpawnInstance_(This,iFlags,objWbemObject); +} +static FORCEINLINE HRESULT ISWbemObject_CompareTo_(ISWbemObject* This,IDispatch *objWbemObject,LONG iFlags,VARIANT_BOOL *bResult) { + return This->lpVtbl->CompareTo_(This,objWbemObject,iFlags,bResult); +} +static FORCEINLINE HRESULT ISWbemObject_get_Qualifiers_(ISWbemObject* This,ISWbemQualifierSet **objWbemQualifierSet) { + return This->lpVtbl->get_Qualifiers_(This,objWbemQualifierSet); +} +static FORCEINLINE HRESULT ISWbemObject_get_Properties_(ISWbemObject* This,ISWbemPropertySet **objWbemPropertySet) { + return This->lpVtbl->get_Properties_(This,objWbemPropertySet); +} +static FORCEINLINE HRESULT ISWbemObject_get_Methods_(ISWbemObject* This,ISWbemMethodSet **objWbemMethodSet) { + return This->lpVtbl->get_Methods_(This,objWbemMethodSet); +} +static FORCEINLINE HRESULT ISWbemObject_get_Derivation_(ISWbemObject* This,VARIANT *strClassNameArray) { + return This->lpVtbl->get_Derivation_(This,strClassNameArray); +} +static FORCEINLINE HRESULT ISWbemObject_get_Path_(ISWbemObject* This,ISWbemObjectPath **objWbemObjectPath) { + return This->lpVtbl->get_Path_(This,objWbemObjectPath); +} +static FORCEINLINE HRESULT ISWbemObject_get_Security_(ISWbemObject* This,ISWbemSecurity **objWbemSecurity) { + return This->lpVtbl->get_Security_(This,objWbemSecurity); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemObject_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemObjectPath interface + */ +#ifndef __ISWbemObjectPath_INTERFACE_DEFINED__ +#define __ISWbemObjectPath_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemObjectPath, 0x5791bc27, 0xce9c, 0x11d1, 0x97,0xbf, 0x00,0x00,0xf8,0x1e,0x84,0x9c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5791bc27-ce9c-11d1-97bf-0000f81e849c") +ISWbemObjectPath : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Path( + BSTR *strPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Path( + BSTR strPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RelPath( + BSTR *strRelPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RelPath( + BSTR strRelPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Server( + BSTR *strServer) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Server( + BSTR strServer) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Namespace( + BSTR *strNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Namespace( + BSTR strNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ParentNamespace( + BSTR *strParentNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DisplayName( + BSTR *strDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_DisplayName( + BSTR strDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Class( + BSTR *strClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Class( + BSTR strClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsClass( + VARIANT_BOOL *bIsClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAsClass( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsSingleton( + VARIANT_BOOL *bIsSingleton) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAsSingleton( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Keys( + ISWbemNamedValueSet **objWbemNamedValueSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Security_( + ISWbemSecurity **objWbemSecurity) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Locale( + BSTR *strLocale) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Locale( + BSTR strLocale) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Authority( + BSTR *strAuthority) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Authority( + BSTR strAuthority) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemObjectPath, 0x5791bc27, 0xce9c, 0x11d1, 0x97,0xbf, 0x00,0x00,0xf8,0x1e,0x84,0x9c) +#endif +#else +typedef struct ISWbemObjectPathVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemObjectPath *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemObjectPath *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemObjectPath *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemObjectPath *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemObjectPath *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemObjectPath *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemObjectPath *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemObjectPath methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Path)( + ISWbemObjectPath *This, + BSTR *strPath); + + HRESULT (STDMETHODCALLTYPE *put_Path)( + ISWbemObjectPath *This, + BSTR strPath); + + HRESULT (STDMETHODCALLTYPE *get_RelPath)( + ISWbemObjectPath *This, + BSTR *strRelPath); + + HRESULT (STDMETHODCALLTYPE *put_RelPath)( + ISWbemObjectPath *This, + BSTR strRelPath); + + HRESULT (STDMETHODCALLTYPE *get_Server)( + ISWbemObjectPath *This, + BSTR *strServer); + + HRESULT (STDMETHODCALLTYPE *put_Server)( + ISWbemObjectPath *This, + BSTR strServer); + + HRESULT (STDMETHODCALLTYPE *get_Namespace)( + ISWbemObjectPath *This, + BSTR *strNamespace); + + HRESULT (STDMETHODCALLTYPE *put_Namespace)( + ISWbemObjectPath *This, + BSTR strNamespace); + + HRESULT (STDMETHODCALLTYPE *get_ParentNamespace)( + ISWbemObjectPath *This, + BSTR *strParentNamespace); + + HRESULT (STDMETHODCALLTYPE *get_DisplayName)( + ISWbemObjectPath *This, + BSTR *strDisplayName); + + HRESULT (STDMETHODCALLTYPE *put_DisplayName)( + ISWbemObjectPath *This, + BSTR strDisplayName); + + HRESULT (STDMETHODCALLTYPE *get_Class)( + ISWbemObjectPath *This, + BSTR *strClass); + + HRESULT (STDMETHODCALLTYPE *put_Class)( + ISWbemObjectPath *This, + BSTR strClass); + + HRESULT (STDMETHODCALLTYPE *get_IsClass)( + ISWbemObjectPath *This, + VARIANT_BOOL *bIsClass); + + HRESULT (STDMETHODCALLTYPE *SetAsClass)( + ISWbemObjectPath *This); + + HRESULT (STDMETHODCALLTYPE *get_IsSingleton)( + ISWbemObjectPath *This, + VARIANT_BOOL *bIsSingleton); + + HRESULT (STDMETHODCALLTYPE *SetAsSingleton)( + ISWbemObjectPath *This); + + HRESULT (STDMETHODCALLTYPE *get_Keys)( + ISWbemObjectPath *This, + ISWbemNamedValueSet **objWbemNamedValueSet); + + HRESULT (STDMETHODCALLTYPE *get_Security_)( + ISWbemObjectPath *This, + ISWbemSecurity **objWbemSecurity); + + HRESULT (STDMETHODCALLTYPE *get_Locale)( + ISWbemObjectPath *This, + BSTR *strLocale); + + HRESULT (STDMETHODCALLTYPE *put_Locale)( + ISWbemObjectPath *This, + BSTR strLocale); + + HRESULT (STDMETHODCALLTYPE *get_Authority)( + ISWbemObjectPath *This, + BSTR *strAuthority); + + HRESULT (STDMETHODCALLTYPE *put_Authority)( + ISWbemObjectPath *This, + BSTR strAuthority); + + END_INTERFACE +} ISWbemObjectPathVtbl; + +interface ISWbemObjectPath { + CONST_VTBL ISWbemObjectPathVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemObjectPath_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemObjectPath_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemObjectPath_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemObjectPath_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemObjectPath_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemObjectPath_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemObjectPath_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemObjectPath methods ***/ +#define ISWbemObjectPath_get_Path(This,strPath) (This)->lpVtbl->get_Path(This,strPath) +#define ISWbemObjectPath_put_Path(This,strPath) (This)->lpVtbl->put_Path(This,strPath) +#define ISWbemObjectPath_get_RelPath(This,strRelPath) (This)->lpVtbl->get_RelPath(This,strRelPath) +#define ISWbemObjectPath_put_RelPath(This,strRelPath) (This)->lpVtbl->put_RelPath(This,strRelPath) +#define ISWbemObjectPath_get_Server(This,strServer) (This)->lpVtbl->get_Server(This,strServer) +#define ISWbemObjectPath_put_Server(This,strServer) (This)->lpVtbl->put_Server(This,strServer) +#define ISWbemObjectPath_get_Namespace(This,strNamespace) (This)->lpVtbl->get_Namespace(This,strNamespace) +#define ISWbemObjectPath_put_Namespace(This,strNamespace) (This)->lpVtbl->put_Namespace(This,strNamespace) +#define ISWbemObjectPath_get_ParentNamespace(This,strParentNamespace) (This)->lpVtbl->get_ParentNamespace(This,strParentNamespace) +#define ISWbemObjectPath_get_DisplayName(This,strDisplayName) (This)->lpVtbl->get_DisplayName(This,strDisplayName) +#define ISWbemObjectPath_put_DisplayName(This,strDisplayName) (This)->lpVtbl->put_DisplayName(This,strDisplayName) +#define ISWbemObjectPath_get_Class(This,strClass) (This)->lpVtbl->get_Class(This,strClass) +#define ISWbemObjectPath_put_Class(This,strClass) (This)->lpVtbl->put_Class(This,strClass) +#define ISWbemObjectPath_get_IsClass(This,bIsClass) (This)->lpVtbl->get_IsClass(This,bIsClass) +#define ISWbemObjectPath_SetAsClass(This) (This)->lpVtbl->SetAsClass(This) +#define ISWbemObjectPath_get_IsSingleton(This,bIsSingleton) (This)->lpVtbl->get_IsSingleton(This,bIsSingleton) +#define ISWbemObjectPath_SetAsSingleton(This) (This)->lpVtbl->SetAsSingleton(This) +#define ISWbemObjectPath_get_Keys(This,objWbemNamedValueSet) (This)->lpVtbl->get_Keys(This,objWbemNamedValueSet) +#define ISWbemObjectPath_get_Security_(This,objWbemSecurity) (This)->lpVtbl->get_Security_(This,objWbemSecurity) +#define ISWbemObjectPath_get_Locale(This,strLocale) (This)->lpVtbl->get_Locale(This,strLocale) +#define ISWbemObjectPath_put_Locale(This,strLocale) (This)->lpVtbl->put_Locale(This,strLocale) +#define ISWbemObjectPath_get_Authority(This,strAuthority) (This)->lpVtbl->get_Authority(This,strAuthority) +#define ISWbemObjectPath_put_Authority(This,strAuthority) (This)->lpVtbl->put_Authority(This,strAuthority) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemObjectPath_QueryInterface(ISWbemObjectPath* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemObjectPath_AddRef(ISWbemObjectPath* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemObjectPath_Release(ISWbemObjectPath* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemObjectPath_GetTypeInfoCount(ISWbemObjectPath* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemObjectPath_GetTypeInfo(ISWbemObjectPath* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemObjectPath_GetIDsOfNames(ISWbemObjectPath* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemObjectPath_Invoke(ISWbemObjectPath* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemObjectPath methods ***/ +static FORCEINLINE HRESULT ISWbemObjectPath_get_Path(ISWbemObjectPath* This,BSTR *strPath) { + return This->lpVtbl->get_Path(This,strPath); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_Path(ISWbemObjectPath* This,BSTR strPath) { + return This->lpVtbl->put_Path(This,strPath); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_RelPath(ISWbemObjectPath* This,BSTR *strRelPath) { + return This->lpVtbl->get_RelPath(This,strRelPath); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_RelPath(ISWbemObjectPath* This,BSTR strRelPath) { + return This->lpVtbl->put_RelPath(This,strRelPath); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Server(ISWbemObjectPath* This,BSTR *strServer) { + return This->lpVtbl->get_Server(This,strServer); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_Server(ISWbemObjectPath* This,BSTR strServer) { + return This->lpVtbl->put_Server(This,strServer); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Namespace(ISWbemObjectPath* This,BSTR *strNamespace) { + return This->lpVtbl->get_Namespace(This,strNamespace); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_Namespace(ISWbemObjectPath* This,BSTR strNamespace) { + return This->lpVtbl->put_Namespace(This,strNamespace); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_ParentNamespace(ISWbemObjectPath* This,BSTR *strParentNamespace) { + return This->lpVtbl->get_ParentNamespace(This,strParentNamespace); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_DisplayName(ISWbemObjectPath* This,BSTR *strDisplayName) { + return This->lpVtbl->get_DisplayName(This,strDisplayName); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_DisplayName(ISWbemObjectPath* This,BSTR strDisplayName) { + return This->lpVtbl->put_DisplayName(This,strDisplayName); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Class(ISWbemObjectPath* This,BSTR *strClass) { + return This->lpVtbl->get_Class(This,strClass); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_Class(ISWbemObjectPath* This,BSTR strClass) { + return This->lpVtbl->put_Class(This,strClass); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_IsClass(ISWbemObjectPath* This,VARIANT_BOOL *bIsClass) { + return This->lpVtbl->get_IsClass(This,bIsClass); +} +static FORCEINLINE HRESULT ISWbemObjectPath_SetAsClass(ISWbemObjectPath* This) { + return This->lpVtbl->SetAsClass(This); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_IsSingleton(ISWbemObjectPath* This,VARIANT_BOOL *bIsSingleton) { + return This->lpVtbl->get_IsSingleton(This,bIsSingleton); +} +static FORCEINLINE HRESULT ISWbemObjectPath_SetAsSingleton(ISWbemObjectPath* This) { + return This->lpVtbl->SetAsSingleton(This); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Keys(ISWbemObjectPath* This,ISWbemNamedValueSet **objWbemNamedValueSet) { + return This->lpVtbl->get_Keys(This,objWbemNamedValueSet); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Security_(ISWbemObjectPath* This,ISWbemSecurity **objWbemSecurity) { + return This->lpVtbl->get_Security_(This,objWbemSecurity); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Locale(ISWbemObjectPath* This,BSTR *strLocale) { + return This->lpVtbl->get_Locale(This,strLocale); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_Locale(ISWbemObjectPath* This,BSTR strLocale) { + return This->lpVtbl->put_Locale(This,strLocale); +} +static FORCEINLINE HRESULT ISWbemObjectPath_get_Authority(ISWbemObjectPath* This,BSTR *strAuthority) { + return This->lpVtbl->get_Authority(This,strAuthority); +} +static FORCEINLINE HRESULT ISWbemObjectPath_put_Authority(ISWbemObjectPath* This,BSTR strAuthority) { + return This->lpVtbl->put_Authority(This,strAuthority); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemObjectPath_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemObjectSet interface + */ +#ifndef __ISWbemObjectSet_INTERFACE_DEFINED__ +#define __ISWbemObjectSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemObjectSet, 0x76a6415f, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("76a6415f-cb41-11d1-8b02-00600806d9b6") +ISWbemObjectSet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR strObjectPath, + LONG iFlags, + ISWbemObject **objWbemObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *iCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Security_( + ISWbemSecurity **objWbemSecurity) = 0; + + virtual HRESULT STDMETHODCALLTYPE ItemIndex( + LONG lIndex, + ISWbemObject **objWbemObject) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemObjectSet, 0x76a6415f, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemObjectSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemObjectSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemObjectSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemObjectSet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemObjectSet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemObjectSet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemObjectSet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemObjectSet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemObjectSet methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ISWbemObjectSet *This, + IUnknown **pUnk); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISWbemObjectSet *This, + BSTR strObjectPath, + LONG iFlags, + ISWbemObject **objWbemObject); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISWbemObjectSet *This, + LONG *iCount); + + HRESULT (STDMETHODCALLTYPE *get_Security_)( + ISWbemObjectSet *This, + ISWbemSecurity **objWbemSecurity); + + HRESULT (STDMETHODCALLTYPE *ItemIndex)( + ISWbemObjectSet *This, + LONG lIndex, + ISWbemObject **objWbemObject); + + END_INTERFACE +} ISWbemObjectSetVtbl; + +interface ISWbemObjectSet { + CONST_VTBL ISWbemObjectSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemObjectSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemObjectSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemObjectSet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemObjectSet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemObjectSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemObjectSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemObjectSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemObjectSet methods ***/ +#define ISWbemObjectSet_get__NewEnum(This,pUnk) (This)->lpVtbl->get__NewEnum(This,pUnk) +#define ISWbemObjectSet_Item(This,strObjectPath,iFlags,objWbemObject) (This)->lpVtbl->Item(This,strObjectPath,iFlags,objWbemObject) +#define ISWbemObjectSet_get_Count(This,iCount) (This)->lpVtbl->get_Count(This,iCount) +#define ISWbemObjectSet_get_Security_(This,objWbemSecurity) (This)->lpVtbl->get_Security_(This,objWbemSecurity) +#define ISWbemObjectSet_ItemIndex(This,lIndex,objWbemObject) (This)->lpVtbl->ItemIndex(This,lIndex,objWbemObject) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemObjectSet_QueryInterface(ISWbemObjectSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemObjectSet_AddRef(ISWbemObjectSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemObjectSet_Release(ISWbemObjectSet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemObjectSet_GetTypeInfoCount(ISWbemObjectSet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemObjectSet_GetTypeInfo(ISWbemObjectSet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemObjectSet_GetIDsOfNames(ISWbemObjectSet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemObjectSet_Invoke(ISWbemObjectSet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemObjectSet methods ***/ +static FORCEINLINE HRESULT ISWbemObjectSet_get__NewEnum(ISWbemObjectSet* This,IUnknown **pUnk) { + return This->lpVtbl->get__NewEnum(This,pUnk); +} +static FORCEINLINE HRESULT ISWbemObjectSet_Item(ISWbemObjectSet* This,BSTR strObjectPath,LONG iFlags,ISWbemObject **objWbemObject) { + return This->lpVtbl->Item(This,strObjectPath,iFlags,objWbemObject); +} +static FORCEINLINE HRESULT ISWbemObjectSet_get_Count(ISWbemObjectSet* This,LONG *iCount) { + return This->lpVtbl->get_Count(This,iCount); +} +static FORCEINLINE HRESULT ISWbemObjectSet_get_Security_(ISWbemObjectSet* This,ISWbemSecurity **objWbemSecurity) { + return This->lpVtbl->get_Security_(This,objWbemSecurity); +} +static FORCEINLINE HRESULT ISWbemObjectSet_ItemIndex(ISWbemObjectSet* This,LONG lIndex,ISWbemObject **objWbemObject) { + return This->lpVtbl->ItemIndex(This,lIndex,objWbemObject); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemObjectSet_INTERFACE_DEFINED__ */ + +typedef enum WbemPrivilegeEnum { + wbemPrivilegeCreateToken = 1, + wbemPrivilegePrimaryToken = 2, + wbemPrivilegeLockMemory = 3, + wbemPrivilegeIncreaseQuota = 4, + wbemPrivilegeMachineAccount = 5, + wbemPrivilegeTcb = 6, + wbemPrivilegeSecurity = 7, + wbemPrivilegeTakeOwnership = 8, + wbemPrivilegeLoadDriver = 9, + wbemPrivilegeSystemProfile = 10, + wbemPrivilegeSystemtime = 11, + wbemPrivilegeProfileSingleProcess = 12, + wbemPrivilegeIncreaseBasePriority = 13, + wbemPrivilegeCreatePagefile = 14, + wbemPrivilegeCreatePermanent = 15, + wbemPrivilegeBackup = 16, + wbemPrivilegeRestore = 17, + wbemPrivilegeShutdown = 18, + wbemPrivilegeDebug = 19, + wbemPrivilegeAudit = 20, + wbemPrivilegeSystemEnvironment = 21, + wbemPrivilegeChangeNotify = 22, + wbemPrivilegeRemoteShutdown = 23, + wbemPrivilegeUndock = 24, + wbemPrivilegeSyncAgent = 25, + wbemPrivilegeEnableDelegation = 26, + wbemPrivilegeManageVolume = 27 +} WbemPrivilegeEnum; +/***************************************************************************** + * ISWbemPrivilege interface + */ +#ifndef __ISWbemPrivilege_INTERFACE_DEFINED__ +#define __ISWbemPrivilege_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemPrivilege, 0x26ee67bd, 0x5804, 0x11d2, 0x8b,0x4a, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("26ee67bd-5804-11d2-8b4a-00600806d9b6") +ISWbemPrivilege : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_IsEnabled( + VARIANT_BOOL *bIsEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IsEnabled( + VARIANT_BOOL bIsEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *strDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DisplayName( + BSTR *strDisplayName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Identifier( + WbemPrivilegeEnum *iPrivilege) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemPrivilege, 0x26ee67bd, 0x5804, 0x11d2, 0x8b,0x4a, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemPrivilegeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemPrivilege *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemPrivilege *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemPrivilege *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemPrivilege *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemPrivilege *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemPrivilege *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemPrivilege *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemPrivilege methods ***/ + HRESULT (STDMETHODCALLTYPE *get_IsEnabled)( + ISWbemPrivilege *This, + VARIANT_BOOL *bIsEnabled); + + HRESULT (STDMETHODCALLTYPE *put_IsEnabled)( + ISWbemPrivilege *This, + VARIANT_BOOL bIsEnabled); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + ISWbemPrivilege *This, + BSTR *strDisplayName); + + HRESULT (STDMETHODCALLTYPE *get_DisplayName)( + ISWbemPrivilege *This, + BSTR *strDisplayName); + + HRESULT (STDMETHODCALLTYPE *get_Identifier)( + ISWbemPrivilege *This, + WbemPrivilegeEnum *iPrivilege); + + END_INTERFACE +} ISWbemPrivilegeVtbl; + +interface ISWbemPrivilege { + CONST_VTBL ISWbemPrivilegeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemPrivilege_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemPrivilege_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemPrivilege_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemPrivilege_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemPrivilege_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemPrivilege_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemPrivilege_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemPrivilege methods ***/ +#define ISWbemPrivilege_get_IsEnabled(This,bIsEnabled) (This)->lpVtbl->get_IsEnabled(This,bIsEnabled) +#define ISWbemPrivilege_put_IsEnabled(This,bIsEnabled) (This)->lpVtbl->put_IsEnabled(This,bIsEnabled) +#define ISWbemPrivilege_get_Name(This,strDisplayName) (This)->lpVtbl->get_Name(This,strDisplayName) +#define ISWbemPrivilege_get_DisplayName(This,strDisplayName) (This)->lpVtbl->get_DisplayName(This,strDisplayName) +#define ISWbemPrivilege_get_Identifier(This,iPrivilege) (This)->lpVtbl->get_Identifier(This,iPrivilege) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemPrivilege_QueryInterface(ISWbemPrivilege* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemPrivilege_AddRef(ISWbemPrivilege* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemPrivilege_Release(ISWbemPrivilege* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemPrivilege_GetTypeInfoCount(ISWbemPrivilege* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemPrivilege_GetTypeInfo(ISWbemPrivilege* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemPrivilege_GetIDsOfNames(ISWbemPrivilege* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemPrivilege_Invoke(ISWbemPrivilege* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemPrivilege methods ***/ +static FORCEINLINE HRESULT ISWbemPrivilege_get_IsEnabled(ISWbemPrivilege* This,VARIANT_BOOL *bIsEnabled) { + return This->lpVtbl->get_IsEnabled(This,bIsEnabled); +} +static FORCEINLINE HRESULT ISWbemPrivilege_put_IsEnabled(ISWbemPrivilege* This,VARIANT_BOOL bIsEnabled) { + return This->lpVtbl->put_IsEnabled(This,bIsEnabled); +} +static FORCEINLINE HRESULT ISWbemPrivilege_get_Name(ISWbemPrivilege* This,BSTR *strDisplayName) { + return This->lpVtbl->get_Name(This,strDisplayName); +} +static FORCEINLINE HRESULT ISWbemPrivilege_get_DisplayName(ISWbemPrivilege* This,BSTR *strDisplayName) { + return This->lpVtbl->get_DisplayName(This,strDisplayName); +} +static FORCEINLINE HRESULT ISWbemPrivilege_get_Identifier(ISWbemPrivilege* This,WbemPrivilegeEnum *iPrivilege) { + return This->lpVtbl->get_Identifier(This,iPrivilege); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemPrivilege_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemPrivilegeSet interface + */ +#ifndef __ISWbemPrivilegeSet_INTERFACE_DEFINED__ +#define __ISWbemPrivilegeSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemPrivilegeSet, 0x26ee67bf, 0x5804, 0x11d2, 0x8b,0x4a, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("26ee67bf-5804-11d2-8b4a-00600806d9b6") +ISWbemPrivilegeSet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + WbemPrivilegeEnum iPrivilege, + ISWbemPrivilege **objWbemPrivilege) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *iCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + WbemPrivilegeEnum iPrivilege, + VARIANT_BOOL bIsEnabled, + ISWbemPrivilege **objWbemPrivilege) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + WbemPrivilegeEnum iPrivilege) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAll( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddAsString( + BSTR strPrivilege, + VARIANT_BOOL bIsEnabled, + ISWbemPrivilege **objWbemPrivilege) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemPrivilegeSet, 0x26ee67bf, 0x5804, 0x11d2, 0x8b,0x4a, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemPrivilegeSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemPrivilegeSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemPrivilegeSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemPrivilegeSet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemPrivilegeSet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemPrivilegeSet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemPrivilegeSet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemPrivilegeSet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemPrivilegeSet methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ISWbemPrivilegeSet *This, + IUnknown **pUnk); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISWbemPrivilegeSet *This, + WbemPrivilegeEnum iPrivilege, + ISWbemPrivilege **objWbemPrivilege); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISWbemPrivilegeSet *This, + LONG *iCount); + + HRESULT (STDMETHODCALLTYPE *Add)( + ISWbemPrivilegeSet *This, + WbemPrivilegeEnum iPrivilege, + VARIANT_BOOL bIsEnabled, + ISWbemPrivilege **objWbemPrivilege); + + HRESULT (STDMETHODCALLTYPE *Remove)( + ISWbemPrivilegeSet *This, + WbemPrivilegeEnum iPrivilege); + + HRESULT (STDMETHODCALLTYPE *DeleteAll)( + ISWbemPrivilegeSet *This); + + HRESULT (STDMETHODCALLTYPE *AddAsString)( + ISWbemPrivilegeSet *This, + BSTR strPrivilege, + VARIANT_BOOL bIsEnabled, + ISWbemPrivilege **objWbemPrivilege); + + END_INTERFACE +} ISWbemPrivilegeSetVtbl; + +interface ISWbemPrivilegeSet { + CONST_VTBL ISWbemPrivilegeSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemPrivilegeSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemPrivilegeSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemPrivilegeSet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemPrivilegeSet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemPrivilegeSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemPrivilegeSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemPrivilegeSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemPrivilegeSet methods ***/ +#define ISWbemPrivilegeSet_get__NewEnum(This,pUnk) (This)->lpVtbl->get__NewEnum(This,pUnk) +#define ISWbemPrivilegeSet_Item(This,iPrivilege,objWbemPrivilege) (This)->lpVtbl->Item(This,iPrivilege,objWbemPrivilege) +#define ISWbemPrivilegeSet_get_Count(This,iCount) (This)->lpVtbl->get_Count(This,iCount) +#define ISWbemPrivilegeSet_Add(This,iPrivilege,bIsEnabled,objWbemPrivilege) (This)->lpVtbl->Add(This,iPrivilege,bIsEnabled,objWbemPrivilege) +#define ISWbemPrivilegeSet_Remove(This,iPrivilege) (This)->lpVtbl->Remove(This,iPrivilege) +#define ISWbemPrivilegeSet_DeleteAll(This) (This)->lpVtbl->DeleteAll(This) +#define ISWbemPrivilegeSet_AddAsString(This,strPrivilege,bIsEnabled,objWbemPrivilege) (This)->lpVtbl->AddAsString(This,strPrivilege,bIsEnabled,objWbemPrivilege) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemPrivilegeSet_QueryInterface(ISWbemPrivilegeSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemPrivilegeSet_AddRef(ISWbemPrivilegeSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemPrivilegeSet_Release(ISWbemPrivilegeSet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemPrivilegeSet_GetTypeInfoCount(ISWbemPrivilegeSet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_GetTypeInfo(ISWbemPrivilegeSet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_GetIDsOfNames(ISWbemPrivilegeSet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_Invoke(ISWbemPrivilegeSet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemPrivilegeSet methods ***/ +static FORCEINLINE HRESULT ISWbemPrivilegeSet_get__NewEnum(ISWbemPrivilegeSet* This,IUnknown **pUnk) { + return This->lpVtbl->get__NewEnum(This,pUnk); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_Item(ISWbemPrivilegeSet* This,WbemPrivilegeEnum iPrivilege,ISWbemPrivilege **objWbemPrivilege) { + return This->lpVtbl->Item(This,iPrivilege,objWbemPrivilege); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_get_Count(ISWbemPrivilegeSet* This,LONG *iCount) { + return This->lpVtbl->get_Count(This,iCount); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_Add(ISWbemPrivilegeSet* This,WbemPrivilegeEnum iPrivilege,VARIANT_BOOL bIsEnabled,ISWbemPrivilege **objWbemPrivilege) { + return This->lpVtbl->Add(This,iPrivilege,bIsEnabled,objWbemPrivilege); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_Remove(ISWbemPrivilegeSet* This,WbemPrivilegeEnum iPrivilege) { + return This->lpVtbl->Remove(This,iPrivilege); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_DeleteAll(ISWbemPrivilegeSet* This) { + return This->lpVtbl->DeleteAll(This); +} +static FORCEINLINE HRESULT ISWbemPrivilegeSet_AddAsString(ISWbemPrivilegeSet* This,BSTR strPrivilege,VARIANT_BOOL bIsEnabled,ISWbemPrivilege **objWbemPrivilege) { + return This->lpVtbl->AddAsString(This,strPrivilege,bIsEnabled,objWbemPrivilege); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemPrivilegeSet_INTERFACE_DEFINED__ */ + +typedef enum WbemCimtypeEnum { + wbemCimtypeSint16 = 2, + wbemCimtypeSint32 = 3, + wbemCimtypeReal32 = 4, + wbemCimtypeReal64 = 5, + wbemCimtypeString = 8, + wbemCimtypeBoolean = 11, + wbemCimtypeObject = 13, + wbemCimtypeSint8 = 16, + wbemCimtypeUint8 = 17, + wbemCimtypeUint16 = 18, + wbemCimtypeUint32 = 19, + wbemCimtypeSint64 = 20, + wbemCimtypeUint64 = 21, + wbemCimtypeDatetime = 101, + wbemCimtypeReference = 102, + wbemCimtypeChar16 = 103 +} WbemCimtypeEnum; +/***************************************************************************** + * ISWbemProperty interface + */ +#ifndef __ISWbemProperty_INTERFACE_DEFINED__ +#define __ISWbemProperty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemProperty, 0x1a388f98, 0xd4ba, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1a388f98-d4ba-11d1-8b09-00600806d9b6") +ISWbemProperty : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Value( + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Value( + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *strName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsLocal( + VARIANT_BOOL *bIsLocal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Origin( + BSTR *strOrigin) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CIMType( + WbemCimtypeEnum *iCimType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Qualifiers_( + ISWbemQualifierSet **objWbemQualifierSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsArray( + VARIANT_BOOL *bIsArray) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemProperty, 0x1a388f98, 0xd4ba, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemPropertyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemProperty *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemProperty *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemProperty *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemProperty *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemProperty *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemProperty *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemProperty *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemProperty methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Value)( + ISWbemProperty *This, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *put_Value)( + ISWbemProperty *This, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + ISWbemProperty *This, + BSTR *strName); + + HRESULT (STDMETHODCALLTYPE *get_IsLocal)( + ISWbemProperty *This, + VARIANT_BOOL *bIsLocal); + + HRESULT (STDMETHODCALLTYPE *get_Origin)( + ISWbemProperty *This, + BSTR *strOrigin); + + HRESULT (STDMETHODCALLTYPE *get_CIMType)( + ISWbemProperty *This, + WbemCimtypeEnum *iCimType); + + HRESULT (STDMETHODCALLTYPE *get_Qualifiers_)( + ISWbemProperty *This, + ISWbemQualifierSet **objWbemQualifierSet); + + HRESULT (STDMETHODCALLTYPE *get_IsArray)( + ISWbemProperty *This, + VARIANT_BOOL *bIsArray); + + END_INTERFACE +} ISWbemPropertyVtbl; + +interface ISWbemProperty { + CONST_VTBL ISWbemPropertyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemProperty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemProperty_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemProperty_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemProperty methods ***/ +#define ISWbemProperty_get_Value(This,varValue) (This)->lpVtbl->get_Value(This,varValue) +#define ISWbemProperty_put_Value(This,varValue) (This)->lpVtbl->put_Value(This,varValue) +#define ISWbemProperty_get_Name(This,strName) (This)->lpVtbl->get_Name(This,strName) +#define ISWbemProperty_get_IsLocal(This,bIsLocal) (This)->lpVtbl->get_IsLocal(This,bIsLocal) +#define ISWbemProperty_get_Origin(This,strOrigin) (This)->lpVtbl->get_Origin(This,strOrigin) +#define ISWbemProperty_get_CIMType(This,iCimType) (This)->lpVtbl->get_CIMType(This,iCimType) +#define ISWbemProperty_get_Qualifiers_(This,objWbemQualifierSet) (This)->lpVtbl->get_Qualifiers_(This,objWbemQualifierSet) +#define ISWbemProperty_get_IsArray(This,bIsArray) (This)->lpVtbl->get_IsArray(This,bIsArray) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemProperty_QueryInterface(ISWbemProperty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemProperty_AddRef(ISWbemProperty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemProperty_Release(ISWbemProperty* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemProperty_GetTypeInfoCount(ISWbemProperty* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemProperty_GetTypeInfo(ISWbemProperty* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemProperty_GetIDsOfNames(ISWbemProperty* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemProperty_Invoke(ISWbemProperty* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemProperty methods ***/ +static FORCEINLINE HRESULT ISWbemProperty_get_Value(ISWbemProperty* This,VARIANT *varValue) { + return This->lpVtbl->get_Value(This,varValue); +} +static FORCEINLINE HRESULT ISWbemProperty_put_Value(ISWbemProperty* This,VARIANT *varValue) { + return This->lpVtbl->put_Value(This,varValue); +} +static FORCEINLINE HRESULT ISWbemProperty_get_Name(ISWbemProperty* This,BSTR *strName) { + return This->lpVtbl->get_Name(This,strName); +} +static FORCEINLINE HRESULT ISWbemProperty_get_IsLocal(ISWbemProperty* This,VARIANT_BOOL *bIsLocal) { + return This->lpVtbl->get_IsLocal(This,bIsLocal); +} +static FORCEINLINE HRESULT ISWbemProperty_get_Origin(ISWbemProperty* This,BSTR *strOrigin) { + return This->lpVtbl->get_Origin(This,strOrigin); +} +static FORCEINLINE HRESULT ISWbemProperty_get_CIMType(ISWbemProperty* This,WbemCimtypeEnum *iCimType) { + return This->lpVtbl->get_CIMType(This,iCimType); +} +static FORCEINLINE HRESULT ISWbemProperty_get_Qualifiers_(ISWbemProperty* This,ISWbemQualifierSet **objWbemQualifierSet) { + return This->lpVtbl->get_Qualifiers_(This,objWbemQualifierSet); +} +static FORCEINLINE HRESULT ISWbemProperty_get_IsArray(ISWbemProperty* This,VARIANT_BOOL *bIsArray) { + return This->lpVtbl->get_IsArray(This,bIsArray); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemProperty_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemPropertySet interface + */ +#ifndef __ISWbemPropertySet_INTERFACE_DEFINED__ +#define __ISWbemPropertySet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemPropertySet, 0xdea0a7b2, 0xd4ba, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dea0a7b2-d4ba-11d1-8b09-00600806d9b6") +ISWbemPropertySet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR strName, + LONG iFlags, + ISWbemProperty **objWbemProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *iCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR strName, + WbemCimtypeEnum iCIMType, + VARIANT_BOOL bIsArray, + LONG iFlags, + ISWbemProperty **objWbemProperty) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + BSTR strName, + LONG iFlags = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemPropertySet, 0xdea0a7b2, 0xd4ba, 0x11d1, 0x8b,0x09, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemPropertySetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemPropertySet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemPropertySet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemPropertySet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemPropertySet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemPropertySet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemPropertySet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemPropertySet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemPropertySet methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ISWbemPropertySet *This, + IUnknown **pUnk); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISWbemPropertySet *This, + BSTR strName, + LONG iFlags, + ISWbemProperty **objWbemProperty); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISWbemPropertySet *This, + LONG *iCount); + + HRESULT (STDMETHODCALLTYPE *Add)( + ISWbemPropertySet *This, + BSTR strName, + WbemCimtypeEnum iCIMType, + VARIANT_BOOL bIsArray, + LONG iFlags, + ISWbemProperty **objWbemProperty); + + HRESULT (STDMETHODCALLTYPE *Remove)( + ISWbemPropertySet *This, + BSTR strName, + LONG iFlags); + + END_INTERFACE +} ISWbemPropertySetVtbl; + +interface ISWbemPropertySet { + CONST_VTBL ISWbemPropertySetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemPropertySet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemPropertySet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemPropertySet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemPropertySet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemPropertySet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemPropertySet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemPropertySet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemPropertySet methods ***/ +#define ISWbemPropertySet_get__NewEnum(This,pUnk) (This)->lpVtbl->get__NewEnum(This,pUnk) +#define ISWbemPropertySet_Item(This,strName,iFlags,objWbemProperty) (This)->lpVtbl->Item(This,strName,iFlags,objWbemProperty) +#define ISWbemPropertySet_get_Count(This,iCount) (This)->lpVtbl->get_Count(This,iCount) +#define ISWbemPropertySet_Add(This,strName,iCIMType,bIsArray,iFlags,objWbemProperty) (This)->lpVtbl->Add(This,strName,iCIMType,bIsArray,iFlags,objWbemProperty) +#define ISWbemPropertySet_Remove(This,strName,iFlags) (This)->lpVtbl->Remove(This,strName,iFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemPropertySet_QueryInterface(ISWbemPropertySet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemPropertySet_AddRef(ISWbemPropertySet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemPropertySet_Release(ISWbemPropertySet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemPropertySet_GetTypeInfoCount(ISWbemPropertySet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemPropertySet_GetTypeInfo(ISWbemPropertySet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemPropertySet_GetIDsOfNames(ISWbemPropertySet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemPropertySet_Invoke(ISWbemPropertySet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemPropertySet methods ***/ +static FORCEINLINE HRESULT ISWbemPropertySet_get__NewEnum(ISWbemPropertySet* This,IUnknown **pUnk) { + return This->lpVtbl->get__NewEnum(This,pUnk); +} +static FORCEINLINE HRESULT ISWbemPropertySet_Item(ISWbemPropertySet* This,BSTR strName,LONG iFlags,ISWbemProperty **objWbemProperty) { + return This->lpVtbl->Item(This,strName,iFlags,objWbemProperty); +} +static FORCEINLINE HRESULT ISWbemPropertySet_get_Count(ISWbemPropertySet* This,LONG *iCount) { + return This->lpVtbl->get_Count(This,iCount); +} +static FORCEINLINE HRESULT ISWbemPropertySet_Add(ISWbemPropertySet* This,BSTR strName,WbemCimtypeEnum iCIMType,VARIANT_BOOL bIsArray,LONG iFlags,ISWbemProperty **objWbemProperty) { + return This->lpVtbl->Add(This,strName,iCIMType,bIsArray,iFlags,objWbemProperty); +} +static FORCEINLINE HRESULT ISWbemPropertySet_Remove(ISWbemPropertySet* This,BSTR strName,LONG iFlags) { + return This->lpVtbl->Remove(This,strName,iFlags); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemPropertySet_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemQualifier interface + */ +#ifndef __ISWbemQualifier_INTERFACE_DEFINED__ +#define __ISWbemQualifier_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemQualifier, 0x79b05932, 0xd3b7, 0x11d1, 0x8b,0x06, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("79b05932-d3b7-11d1-8b06-00600806d9b6") +ISWbemQualifier : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Value( + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Value( + VARIANT *varValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *strName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsLocal( + VARIANT_BOOL *bIsLocal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PropagatesToSubclass( + VARIANT_BOOL *bPropagatesToSubclass) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PropagatesToSubclass( + VARIANT_BOOL bPropagatesToSubclass) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PropagatesToInstance( + VARIANT_BOOL *bPropagatesToInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_PropagatesToInstance( + VARIANT_BOOL bPropagatesToInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsOverridable( + VARIANT_BOOL *bIsOverridable) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IsOverridable( + VARIANT_BOOL bIsOverridable) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsAmended( + VARIANT_BOOL *bIsAmended) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemQualifier, 0x79b05932, 0xd3b7, 0x11d1, 0x8b,0x06, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemQualifierVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemQualifier *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemQualifier *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemQualifier *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemQualifier *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemQualifier *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemQualifier *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemQualifier *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemQualifier methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Value)( + ISWbemQualifier *This, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *put_Value)( + ISWbemQualifier *This, + VARIANT *varValue); + + HRESULT (STDMETHODCALLTYPE *get_Name)( + ISWbemQualifier *This, + BSTR *strName); + + HRESULT (STDMETHODCALLTYPE *get_IsLocal)( + ISWbemQualifier *This, + VARIANT_BOOL *bIsLocal); + + HRESULT (STDMETHODCALLTYPE *get_PropagatesToSubclass)( + ISWbemQualifier *This, + VARIANT_BOOL *bPropagatesToSubclass); + + HRESULT (STDMETHODCALLTYPE *put_PropagatesToSubclass)( + ISWbemQualifier *This, + VARIANT_BOOL bPropagatesToSubclass); + + HRESULT (STDMETHODCALLTYPE *get_PropagatesToInstance)( + ISWbemQualifier *This, + VARIANT_BOOL *bPropagatesToInstance); + + HRESULT (STDMETHODCALLTYPE *put_PropagatesToInstance)( + ISWbemQualifier *This, + VARIANT_BOOL bPropagatesToInstance); + + HRESULT (STDMETHODCALLTYPE *get_IsOverridable)( + ISWbemQualifier *This, + VARIANT_BOOL *bIsOverridable); + + HRESULT (STDMETHODCALLTYPE *put_IsOverridable)( + ISWbemQualifier *This, + VARIANT_BOOL bIsOverridable); + + HRESULT (STDMETHODCALLTYPE *get_IsAmended)( + ISWbemQualifier *This, + VARIANT_BOOL *bIsAmended); + + END_INTERFACE +} ISWbemQualifierVtbl; + +interface ISWbemQualifier { + CONST_VTBL ISWbemQualifierVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemQualifier_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemQualifier_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemQualifier_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemQualifier_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemQualifier_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemQualifier_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemQualifier_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemQualifier methods ***/ +#define ISWbemQualifier_get_Value(This,varValue) (This)->lpVtbl->get_Value(This,varValue) +#define ISWbemQualifier_put_Value(This,varValue) (This)->lpVtbl->put_Value(This,varValue) +#define ISWbemQualifier_get_Name(This,strName) (This)->lpVtbl->get_Name(This,strName) +#define ISWbemQualifier_get_IsLocal(This,bIsLocal) (This)->lpVtbl->get_IsLocal(This,bIsLocal) +#define ISWbemQualifier_get_PropagatesToSubclass(This,bPropagatesToSubclass) (This)->lpVtbl->get_PropagatesToSubclass(This,bPropagatesToSubclass) +#define ISWbemQualifier_put_PropagatesToSubclass(This,bPropagatesToSubclass) (This)->lpVtbl->put_PropagatesToSubclass(This,bPropagatesToSubclass) +#define ISWbemQualifier_get_PropagatesToInstance(This,bPropagatesToInstance) (This)->lpVtbl->get_PropagatesToInstance(This,bPropagatesToInstance) +#define ISWbemQualifier_put_PropagatesToInstance(This,bPropagatesToInstance) (This)->lpVtbl->put_PropagatesToInstance(This,bPropagatesToInstance) +#define ISWbemQualifier_get_IsOverridable(This,bIsOverridable) (This)->lpVtbl->get_IsOverridable(This,bIsOverridable) +#define ISWbemQualifier_put_IsOverridable(This,bIsOverridable) (This)->lpVtbl->put_IsOverridable(This,bIsOverridable) +#define ISWbemQualifier_get_IsAmended(This,bIsAmended) (This)->lpVtbl->get_IsAmended(This,bIsAmended) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemQualifier_QueryInterface(ISWbemQualifier* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemQualifier_AddRef(ISWbemQualifier* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemQualifier_Release(ISWbemQualifier* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemQualifier_GetTypeInfoCount(ISWbemQualifier* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemQualifier_GetTypeInfo(ISWbemQualifier* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemQualifier_GetIDsOfNames(ISWbemQualifier* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemQualifier_Invoke(ISWbemQualifier* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemQualifier methods ***/ +static FORCEINLINE HRESULT ISWbemQualifier_get_Value(ISWbemQualifier* This,VARIANT *varValue) { + return This->lpVtbl->get_Value(This,varValue); +} +static FORCEINLINE HRESULT ISWbemQualifier_put_Value(ISWbemQualifier* This,VARIANT *varValue) { + return This->lpVtbl->put_Value(This,varValue); +} +static FORCEINLINE HRESULT ISWbemQualifier_get_Name(ISWbemQualifier* This,BSTR *strName) { + return This->lpVtbl->get_Name(This,strName); +} +static FORCEINLINE HRESULT ISWbemQualifier_get_IsLocal(ISWbemQualifier* This,VARIANT_BOOL *bIsLocal) { + return This->lpVtbl->get_IsLocal(This,bIsLocal); +} +static FORCEINLINE HRESULT ISWbemQualifier_get_PropagatesToSubclass(ISWbemQualifier* This,VARIANT_BOOL *bPropagatesToSubclass) { + return This->lpVtbl->get_PropagatesToSubclass(This,bPropagatesToSubclass); +} +static FORCEINLINE HRESULT ISWbemQualifier_put_PropagatesToSubclass(ISWbemQualifier* This,VARIANT_BOOL bPropagatesToSubclass) { + return This->lpVtbl->put_PropagatesToSubclass(This,bPropagatesToSubclass); +} +static FORCEINLINE HRESULT ISWbemQualifier_get_PropagatesToInstance(ISWbemQualifier* This,VARIANT_BOOL *bPropagatesToInstance) { + return This->lpVtbl->get_PropagatesToInstance(This,bPropagatesToInstance); +} +static FORCEINLINE HRESULT ISWbemQualifier_put_PropagatesToInstance(ISWbemQualifier* This,VARIANT_BOOL bPropagatesToInstance) { + return This->lpVtbl->put_PropagatesToInstance(This,bPropagatesToInstance); +} +static FORCEINLINE HRESULT ISWbemQualifier_get_IsOverridable(ISWbemQualifier* This,VARIANT_BOOL *bIsOverridable) { + return This->lpVtbl->get_IsOverridable(This,bIsOverridable); +} +static FORCEINLINE HRESULT ISWbemQualifier_put_IsOverridable(ISWbemQualifier* This,VARIANT_BOOL bIsOverridable) { + return This->lpVtbl->put_IsOverridable(This,bIsOverridable); +} +static FORCEINLINE HRESULT ISWbemQualifier_get_IsAmended(ISWbemQualifier* This,VARIANT_BOOL *bIsAmended) { + return This->lpVtbl->get_IsAmended(This,bIsAmended); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemQualifier_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemQualifierSet interface + */ +#ifndef __ISWbemQualifierSet_INTERFACE_DEFINED__ +#define __ISWbemQualifierSet_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemQualifierSet, 0x9b16ed16, 0xd3df, 0x11d1, 0x8b,0x08, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9b16ed16-d3df-11d1-8b08-00600806d9b6") +ISWbemQualifierSet : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + BSTR name, + LONG iFlags, + ISWbemQualifier **objWbemQualifier) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *iCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR strName, + VARIANT *varVal, + VARIANT_BOOL bPropagatesToSubclass, + VARIANT_BOOL bPropagatesToInstance, + VARIANT_BOOL bIsOverridable, + LONG iFlags, + ISWbemQualifier **objWbemQualifier) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + BSTR strName, + LONG iFlags = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemQualifierSet, 0x9b16ed16, 0xd3df, 0x11d1, 0x8b,0x08, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemQualifierSetVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemQualifierSet *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemQualifierSet *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemQualifierSet *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemQualifierSet *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemQualifierSet *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemQualifierSet *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemQualifierSet *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemQualifierSet methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ISWbemQualifierSet *This, + IUnknown **pUnk); + + HRESULT (STDMETHODCALLTYPE *Item)( + ISWbemQualifierSet *This, + BSTR name, + LONG iFlags, + ISWbemQualifier **objWbemQualifier); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ISWbemQualifierSet *This, + LONG *iCount); + + HRESULT (STDMETHODCALLTYPE *Add)( + ISWbemQualifierSet *This, + BSTR strName, + VARIANT *varVal, + VARIANT_BOOL bPropagatesToSubclass, + VARIANT_BOOL bPropagatesToInstance, + VARIANT_BOOL bIsOverridable, + LONG iFlags, + ISWbemQualifier **objWbemQualifier); + + HRESULT (STDMETHODCALLTYPE *Remove)( + ISWbemQualifierSet *This, + BSTR strName, + LONG iFlags); + + END_INTERFACE +} ISWbemQualifierSetVtbl; + +interface ISWbemQualifierSet { + CONST_VTBL ISWbemQualifierSetVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemQualifierSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemQualifierSet_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemQualifierSet_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemQualifierSet_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemQualifierSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemQualifierSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemQualifierSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemQualifierSet methods ***/ +#define ISWbemQualifierSet_get__NewEnum(This,pUnk) (This)->lpVtbl->get__NewEnum(This,pUnk) +#define ISWbemQualifierSet_Item(This,name,iFlags,objWbemQualifier) (This)->lpVtbl->Item(This,name,iFlags,objWbemQualifier) +#define ISWbemQualifierSet_get_Count(This,iCount) (This)->lpVtbl->get_Count(This,iCount) +#define ISWbemQualifierSet_Add(This,strName,varVal,bPropagatesToSubclass,bPropagatesToInstance,bIsOverridable,iFlags,objWbemQualifier) (This)->lpVtbl->Add(This,strName,varVal,bPropagatesToSubclass,bPropagatesToInstance,bIsOverridable,iFlags,objWbemQualifier) +#define ISWbemQualifierSet_Remove(This,strName,iFlags) (This)->lpVtbl->Remove(This,strName,iFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemQualifierSet_QueryInterface(ISWbemQualifierSet* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemQualifierSet_AddRef(ISWbemQualifierSet* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemQualifierSet_Release(ISWbemQualifierSet* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemQualifierSet_GetTypeInfoCount(ISWbemQualifierSet* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_GetTypeInfo(ISWbemQualifierSet* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_GetIDsOfNames(ISWbemQualifierSet* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_Invoke(ISWbemQualifierSet* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemQualifierSet methods ***/ +static FORCEINLINE HRESULT ISWbemQualifierSet_get__NewEnum(ISWbemQualifierSet* This,IUnknown **pUnk) { + return This->lpVtbl->get__NewEnum(This,pUnk); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_Item(ISWbemQualifierSet* This,BSTR name,LONG iFlags,ISWbemQualifier **objWbemQualifier) { + return This->lpVtbl->Item(This,name,iFlags,objWbemQualifier); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_get_Count(ISWbemQualifierSet* This,LONG *iCount) { + return This->lpVtbl->get_Count(This,iCount); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_Add(ISWbemQualifierSet* This,BSTR strName,VARIANT *varVal,VARIANT_BOOL bPropagatesToSubclass,VARIANT_BOOL bPropagatesToInstance,VARIANT_BOOL bIsOverridable,LONG iFlags,ISWbemQualifier **objWbemQualifier) { + return This->lpVtbl->Add(This,strName,varVal,bPropagatesToSubclass,bPropagatesToInstance,bIsOverridable,iFlags,objWbemQualifier); +} +static FORCEINLINE HRESULT ISWbemQualifierSet_Remove(ISWbemQualifierSet* This,BSTR strName,LONG iFlags) { + return This->lpVtbl->Remove(This,strName,iFlags); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemQualifierSet_INTERFACE_DEFINED__ */ + +typedef enum WbemImpersonationLevelEnum { + wbemImpersonationLevelAnonymous = 1, + wbemImpersonationLevelIdentify = 2, + wbemImpersonationLevelImpersonate = 3, + wbemImpersonationLevelDelegate = 4 +} WbemImpersonationLevelEnum; +typedef enum WbemAuthenticationLevelEnum { + wbemAuthenticationLevelDefault = 0, + wbemAuthenticationLevelNone = 1, + wbemAuthenticationLevelConnect = 2, + wbemAuthenticationLevelCall = 3, + wbemAuthenticationLevelPkt = 4, + wbemAuthenticationLevelPktIntegrity = 5, + wbemAuthenticationLevelPktPrivacy = 6 +} WbemAuthenticationLevelEnum; +/***************************************************************************** + * ISWbemSecurity interface + */ +#ifndef __ISWbemSecurity_INTERFACE_DEFINED__ +#define __ISWbemSecurity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemSecurity, 0xb54d66e6, 0x2287, 0x11d2, 0x8b,0x33, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b54d66e6-2287-11d2-8b33-00600806d9b6") +ISWbemSecurity : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ImpersonationLevel( + WbemImpersonationLevelEnum *iImpersonationLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ImpersonationLevel( + WbemImpersonationLevelEnum iImpersonationLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AuthenticationLevel( + WbemAuthenticationLevelEnum *iAuthenticationLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AuthenticationLevel( + WbemAuthenticationLevelEnum iAuthenticationLevel) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Privileges( + ISWbemPrivilegeSet **objWbemPrivilegeSet) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemSecurity, 0xb54d66e6, 0x2287, 0x11d2, 0x8b,0x33, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemSecurityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemSecurity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemSecurity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemSecurity *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemSecurity *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemSecurity *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemSecurity *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemSecurity *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemSecurity methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ImpersonationLevel)( + ISWbemSecurity *This, + WbemImpersonationLevelEnum *iImpersonationLevel); + + HRESULT (STDMETHODCALLTYPE *put_ImpersonationLevel)( + ISWbemSecurity *This, + WbemImpersonationLevelEnum iImpersonationLevel); + + HRESULT (STDMETHODCALLTYPE *get_AuthenticationLevel)( + ISWbemSecurity *This, + WbemAuthenticationLevelEnum *iAuthenticationLevel); + + HRESULT (STDMETHODCALLTYPE *put_AuthenticationLevel)( + ISWbemSecurity *This, + WbemAuthenticationLevelEnum iAuthenticationLevel); + + HRESULT (STDMETHODCALLTYPE *get_Privileges)( + ISWbemSecurity *This, + ISWbemPrivilegeSet **objWbemPrivilegeSet); + + END_INTERFACE +} ISWbemSecurityVtbl; + +interface ISWbemSecurity { + CONST_VTBL ISWbemSecurityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemSecurity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemSecurity_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemSecurity_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemSecurity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemSecurity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemSecurity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemSecurity methods ***/ +#define ISWbemSecurity_get_ImpersonationLevel(This,iImpersonationLevel) (This)->lpVtbl->get_ImpersonationLevel(This,iImpersonationLevel) +#define ISWbemSecurity_put_ImpersonationLevel(This,iImpersonationLevel) (This)->lpVtbl->put_ImpersonationLevel(This,iImpersonationLevel) +#define ISWbemSecurity_get_AuthenticationLevel(This,iAuthenticationLevel) (This)->lpVtbl->get_AuthenticationLevel(This,iAuthenticationLevel) +#define ISWbemSecurity_put_AuthenticationLevel(This,iAuthenticationLevel) (This)->lpVtbl->put_AuthenticationLevel(This,iAuthenticationLevel) +#define ISWbemSecurity_get_Privileges(This,objWbemPrivilegeSet) (This)->lpVtbl->get_Privileges(This,objWbemPrivilegeSet) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemSecurity_QueryInterface(ISWbemSecurity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemSecurity_AddRef(ISWbemSecurity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemSecurity_Release(ISWbemSecurity* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemSecurity_GetTypeInfoCount(ISWbemSecurity* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemSecurity_GetTypeInfo(ISWbemSecurity* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemSecurity_GetIDsOfNames(ISWbemSecurity* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemSecurity_Invoke(ISWbemSecurity* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemSecurity methods ***/ +static FORCEINLINE HRESULT ISWbemSecurity_get_ImpersonationLevel(ISWbemSecurity* This,WbemImpersonationLevelEnum *iImpersonationLevel) { + return This->lpVtbl->get_ImpersonationLevel(This,iImpersonationLevel); +} +static FORCEINLINE HRESULT ISWbemSecurity_put_ImpersonationLevel(ISWbemSecurity* This,WbemImpersonationLevelEnum iImpersonationLevel) { + return This->lpVtbl->put_ImpersonationLevel(This,iImpersonationLevel); +} +static FORCEINLINE HRESULT ISWbemSecurity_get_AuthenticationLevel(ISWbemSecurity* This,WbemAuthenticationLevelEnum *iAuthenticationLevel) { + return This->lpVtbl->get_AuthenticationLevel(This,iAuthenticationLevel); +} +static FORCEINLINE HRESULT ISWbemSecurity_put_AuthenticationLevel(ISWbemSecurity* This,WbemAuthenticationLevelEnum iAuthenticationLevel) { + return This->lpVtbl->put_AuthenticationLevel(This,iAuthenticationLevel); +} +static FORCEINLINE HRESULT ISWbemSecurity_get_Privileges(ISWbemSecurity* This,ISWbemPrivilegeSet **objWbemPrivilegeSet) { + return This->lpVtbl->get_Privileges(This,objWbemPrivilegeSet); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemSecurity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISWbemServices interface + */ +#ifndef __ISWbemServices_INTERFACE_DEFINED__ +#define __ISWbemServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISWbemServices, 0x76a6415c, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("76a6415c-cb41-11d1-8b02-00600806d9b6") +ISWbemServices : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Get( + BSTR strObjectPath, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObject **objWbemObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAsync( + IDispatch *objWbemSink, + BSTR strObjectPath = L"", + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + BSTR strObjectPath, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAsync( + IDispatch *objWbemSink, + BSTR strObjectPath, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstancesOf( + BSTR strClass, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstancesOfAsync( + IDispatch *objWbemSink, + BSTR strClass, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubclassesOf( + BSTR strSuperclass, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubclassesOfAsync( + IDispatch *objWbemSink, + BSTR strSuperclass = L"", + LONG iFlags = wbemQueryFlagDeep, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecQuery( + BSTR strQuery, + BSTR strQueryLanguage, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecQueryAsync( + IDispatch *objWbemSink, + BSTR strQuery, + BSTR strQueryLanguage = L"WQL", + LONG lFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE AssociatorsOf( + BSTR strObjectPath, + BSTR strAssocClass, + BSTR strResultClass, + BSTR strResultRole, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredAssocQualifier, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE AssociatorsOfAsync( + IDispatch *objWbemSink, + BSTR strObjectPath, + BSTR strAssocClass = L"", + BSTR strResultClass = L"", + BSTR strResultRole = L"", + BSTR strRole = L"", + VARIANT_BOOL bClassesOnly = FALSE, + VARIANT_BOOL bSchemaOnly = FALSE, + BSTR strRequiredAssocQualifier = L"", + BSTR strRequiredQualifier = L"", + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReferencesTo( + BSTR strObjectPath, + BSTR strResultClass, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReferencesToAsync( + IDispatch *objWbemSink, + BSTR strObjectPath, + BSTR strResultClass = L"", + BSTR strRole = L"", + VARIANT_BOOL bClassesOnly = FALSE, + VARIANT_BOOL bSchemaOnly = FALSE, + BSTR strRequiredQualifier = L"", + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecNotificationQuery( + BSTR strQuery, + BSTR strQueryLanguage, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemEventSource **objWbemEventSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecNotificationQueryAsync( + IDispatch *objWbemSink, + BSTR strQuery, + BSTR strQueryLanguage = L"WQL", + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecMethod( + BSTR strObjectPath, + BSTR strMethodName, + IDispatch *objWbemInParameters, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObject **objWbemOutParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExecMethodAsync( + IDispatch *objWbemSink, + BSTR strObjectPath, + BSTR strMethodName, + IDispatch *objWbemInParameters = 0, + LONG iFlags = 0, + IDispatch *objWbemNamedValueSet = 0, + IDispatch *objWbemAsyncContext = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Security_( + ISWbemSecurity **objWbemSecurity) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISWbemServices, 0x76a6415c, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#else +typedef struct ISWbemServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISWbemServices *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISWbemServices *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISWbemServices *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISWbemServices *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISWbemServices *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISWbemServices *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISWbemServices *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISWbemServices methods ***/ + HRESULT (STDMETHODCALLTYPE *Get)( + ISWbemServices *This, + BSTR strObjectPath, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObject **objWbemObject); + + HRESULT (STDMETHODCALLTYPE *GetAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strObjectPath, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *Delete)( + ISWbemServices *This, + BSTR strObjectPath, + LONG iFlags, + IDispatch *objWbemNamedValueSet); + + HRESULT (STDMETHODCALLTYPE *DeleteAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strObjectPath, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *InstancesOf)( + ISWbemServices *This, + BSTR strClass, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *InstancesOfAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strClass, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *SubclassesOf)( + ISWbemServices *This, + BSTR strSuperclass, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *SubclassesOfAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strSuperclass, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *ExecQuery)( + ISWbemServices *This, + BSTR strQuery, + BSTR strQueryLanguage, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *ExecQueryAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strQuery, + BSTR strQueryLanguage, + LONG lFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *AssociatorsOf)( + ISWbemServices *This, + BSTR strObjectPath, + BSTR strAssocClass, + BSTR strResultClass, + BSTR strResultRole, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredAssocQualifier, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *AssociatorsOfAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strObjectPath, + BSTR strAssocClass, + BSTR strResultClass, + BSTR strResultRole, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredAssocQualifier, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *ReferencesTo)( + ISWbemServices *This, + BSTR strObjectPath, + BSTR strResultClass, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObjectSet **objWbemObjectSet); + + HRESULT (STDMETHODCALLTYPE *ReferencesToAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strObjectPath, + BSTR strResultClass, + BSTR strRole, + VARIANT_BOOL bClassesOnly, + VARIANT_BOOL bSchemaOnly, + BSTR strRequiredQualifier, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *ExecNotificationQuery)( + ISWbemServices *This, + BSTR strQuery, + BSTR strQueryLanguage, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemEventSource **objWbemEventSource); + + HRESULT (STDMETHODCALLTYPE *ExecNotificationQueryAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strQuery, + BSTR strQueryLanguage, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *ExecMethod)( + ISWbemServices *This, + BSTR strObjectPath, + BSTR strMethodName, + IDispatch *objWbemInParameters, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + ISWbemObject **objWbemOutParameters); + + HRESULT (STDMETHODCALLTYPE *ExecMethodAsync)( + ISWbemServices *This, + IDispatch *objWbemSink, + BSTR strObjectPath, + BSTR strMethodName, + IDispatch *objWbemInParameters, + LONG iFlags, + IDispatch *objWbemNamedValueSet, + IDispatch *objWbemAsyncContext); + + HRESULT (STDMETHODCALLTYPE *get_Security_)( + ISWbemServices *This, + ISWbemSecurity **objWbemSecurity); + + END_INTERFACE +} ISWbemServicesVtbl; + +interface ISWbemServices { + CONST_VTBL ISWbemServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISWbemServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISWbemServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISWbemServices_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISWbemServices_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISWbemServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISWbemServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISWbemServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISWbemServices methods ***/ +#define ISWbemServices_Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject) (This)->lpVtbl->Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject) +#define ISWbemServices_GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_Delete(This,strObjectPath,iFlags,objWbemNamedValueSet) (This)->lpVtbl->Delete(This,strObjectPath,iFlags,objWbemNamedValueSet) +#define ISWbemServices_DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemServices_InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemServices_SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemServices_ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemServices_AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) (This)->lpVtbl->ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet) +#define ISWbemServices_ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource) (This)->lpVtbl->ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource) +#define ISWbemServices_ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) (This)->lpVtbl->ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters) +#define ISWbemServices_ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) (This)->lpVtbl->ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext) +#define ISWbemServices_get_Security_(This,objWbemSecurity) (This)->lpVtbl->get_Security_(This,objWbemSecurity) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISWbemServices_QueryInterface(ISWbemServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISWbemServices_AddRef(ISWbemServices* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISWbemServices_Release(ISWbemServices* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISWbemServices_GetTypeInfoCount(ISWbemServices* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISWbemServices_GetTypeInfo(ISWbemServices* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISWbemServices_GetIDsOfNames(ISWbemServices* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISWbemServices_Invoke(ISWbemServices* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISWbemServices methods ***/ +static FORCEINLINE HRESULT ISWbemServices_Get(ISWbemServices* This,BSTR strObjectPath,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObject **objWbemObject) { + return This->lpVtbl->Get(This,strObjectPath,iFlags,objWbemNamedValueSet,objWbemObject); +} +static FORCEINLINE HRESULT ISWbemServices_GetAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strObjectPath,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->GetAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_Delete(ISWbemServices* This,BSTR strObjectPath,LONG iFlags,IDispatch *objWbemNamedValueSet) { + return This->lpVtbl->Delete(This,strObjectPath,iFlags,objWbemNamedValueSet); +} +static FORCEINLINE HRESULT ISWbemServices_DeleteAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strObjectPath,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->DeleteAsync(This,objWbemSink,strObjectPath,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_InstancesOf(ISWbemServices* This,BSTR strClass,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->InstancesOf(This,strClass,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemServices_InstancesOfAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strClass,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->InstancesOfAsync(This,objWbemSink,strClass,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_SubclassesOf(ISWbemServices* This,BSTR strSuperclass,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->SubclassesOf(This,strSuperclass,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemServices_SubclassesOfAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strSuperclass,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->SubclassesOfAsync(This,objWbemSink,strSuperclass,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_ExecQuery(ISWbemServices* This,BSTR strQuery,BSTR strQueryLanguage,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->ExecQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemServices_ExecQueryAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strQuery,BSTR strQueryLanguage,LONG lFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->ExecQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,lFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_AssociatorsOf(ISWbemServices* This,BSTR strObjectPath,BSTR strAssocClass,BSTR strResultClass,BSTR strResultRole,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredAssocQualifier,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->AssociatorsOf(This,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemServices_AssociatorsOfAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strObjectPath,BSTR strAssocClass,BSTR strResultClass,BSTR strResultRole,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredAssocQualifier,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->AssociatorsOfAsync(This,objWbemSink,strObjectPath,strAssocClass,strResultClass,strResultRole,strRole,bClassesOnly,bSchemaOnly,strRequiredAssocQualifier,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_ReferencesTo(ISWbemServices* This,BSTR strObjectPath,BSTR strResultClass,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObjectSet **objWbemObjectSet) { + return This->lpVtbl->ReferencesTo(This,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemObjectSet); +} +static FORCEINLINE HRESULT ISWbemServices_ReferencesToAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strObjectPath,BSTR strResultClass,BSTR strRole,VARIANT_BOOL bClassesOnly,VARIANT_BOOL bSchemaOnly,BSTR strRequiredQualifier,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->ReferencesToAsync(This,objWbemSink,strObjectPath,strResultClass,strRole,bClassesOnly,bSchemaOnly,strRequiredQualifier,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_ExecNotificationQuery(ISWbemServices* This,BSTR strQuery,BSTR strQueryLanguage,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemEventSource **objWbemEventSource) { + return This->lpVtbl->ExecNotificationQuery(This,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemEventSource); +} +static FORCEINLINE HRESULT ISWbemServices_ExecNotificationQueryAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strQuery,BSTR strQueryLanguage,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->ExecNotificationQueryAsync(This,objWbemSink,strQuery,strQueryLanguage,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_ExecMethod(ISWbemServices* This,BSTR strObjectPath,BSTR strMethodName,IDispatch *objWbemInParameters,LONG iFlags,IDispatch *objWbemNamedValueSet,ISWbemObject **objWbemOutParameters) { + return This->lpVtbl->ExecMethod(This,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemOutParameters); +} +static FORCEINLINE HRESULT ISWbemServices_ExecMethodAsync(ISWbemServices* This,IDispatch *objWbemSink,BSTR strObjectPath,BSTR strMethodName,IDispatch *objWbemInParameters,LONG iFlags,IDispatch *objWbemNamedValueSet,IDispatch *objWbemAsyncContext) { + return This->lpVtbl->ExecMethodAsync(This,objWbemSink,strObjectPath,strMethodName,objWbemInParameters,iFlags,objWbemNamedValueSet,objWbemAsyncContext); +} +static FORCEINLINE HRESULT ISWbemServices_get_Security_(ISWbemServices* This,ISWbemSecurity **objWbemSecurity) { + return This->lpVtbl->get_Security_(This,objWbemSecurity); +} +#endif +#endif + +#endif + + +#endif /* __ISWbemServices_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * SWbemLocator coclass + */ + +DEFINE_GUID(CLSID_SWbemLocator, 0x76a64158, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6); + +#ifdef __cplusplus +class DECLSPEC_UUID("76a64158-cb41-11d1-8b02-00600806d9b6") SWbemLocator; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SWbemLocator, 0x76a64158, 0xcb41, 0x11d1, 0x8b,0x02, 0x00,0x60,0x08,0x06,0xd9,0xb6) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wbemdisp_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemdisp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemdisp.idl new file mode 100644 index 0000000..b7e7a37 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemdisp.idl @@ -0,0 +1,1199 @@ +/* + * Copyright 2013 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dispex.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + uuid(565783c6-cb41-11d1-8b02-00600806d9b6), + helpstring("Microsoft WMI Scripting V1.2 Library"), + lcid(0x0000), + version(1.2) +] +library WbemScripting +{ + +importlib("stdole2.tlb"); + +interface ISWbemEventSource; +interface ISWbemLocator; +interface ISWbemMethod; +interface ISWbemMethodSet; +interface ISWbemNamedValue; +interface ISWbemNamedValueSet; +interface ISWbemObject; +interface ISWbemObjectPath; +interface ISWbemObjectSet; +interface ISWbemPrivilege; +interface ISWbemPrivilegeSet; +interface ISWbemProperty; +interface ISWbemPropertySet; +interface ISWbemQualifier; +interface ISWbemQualifierSet; +interface ISWbemSecurity; +interface ISWbemServices; + +typedef +[ + v1_enum, + uuid(bf078c2a-07d9-11d2-8b21-00600806d9b6) +] +enum WbemTimeout +{ + wbemTimeoutInfinite = 0xffffffff +} WbemTimeout; + +typedef +[ + v1_enum, + uuid(4a249b72-fc9a-11d1-8b1e-00600806d9b6) +] +enum WbemChangeFlagEnum +{ + wbemChangeFlagCreateOrUpdate = 0, + wbemChangeFlagUpdateOnly = 0x00000001, + wbemChangeFlagCreateOnly = 0x00000002, + wbemChangeFlagUpdateCompatible = 0x00000000, + wbemChangeFlagUpdateSafeMode = 0x00000020, + wbemChangeFlagUpdateForceMode = 0x00000040, + wbemChangeFlagStrongValidation = 0x00000080, + wbemChangeFlagAdvisory = 0x00010000 +} WbemChangeFlagEnum; + +typedef +[ + v1_enum, + uuid(4a249b73-fc9a-11d1-8b1e-00600806d9b6) +] +enum WbemFlagEnum +{ + wbemFlagReturnImmediately = 0x00010, + wbemFlagReturnWhenComplete = 0, + wbemFlagBidirectional = 0, + wbemFlagForwardOnly = 0x00020, + wbemFlagNoErrorObject = 0x00040, + wbemFlagReturnErrorObject = 0, + wbemFlagSendStatus = 0x00080, + wbemFlagDontSendStatus = 0, + wbemFlagEnsureLocatable = 0x00100, + wbemFlagDirectRead = 0x00200, + wbemFlagSendOnlySelected = 0, + wbemFlagUseAmendedQualifiers = 0x20000, + wbemFlagGetDefault = 0x0, + wbemFlagSpawnInstance = 0x00001, + wbemFlagUseCurrentTime = 0x00001 +} WbemFlagEnum; + +typedef +[ + v1_enum, + uuid(4a249b76-fc9a-11d1-8b1e-00600806d9b6) +] +enum WbemQueryFlagEnum +{ + wbemQueryFlagDeep, + wbemQueryFlagShallow, + wbemQueryFlagPrototype +} WbemQueryFlagEnum; + +typedef +[ + v1_enum, + uuid(4A249B79-FC9A-11d1-8B1E-00600806D9B6) +] +enum WbemComparisonFlagEnum +{ + wbemComparisonFlagIncludeAll = 0, + wbemComparisonFlagIgnoreQualifiers = 1, + wbemComparisonFlagIgnoreObjectSource = 2, + wbemComparisonFlagIgnoreDefaultValues = 4, + wbemComparisonFlagIgnoreClass = 8, + wbemComparisonFlagIgnoreCase = 16, + wbemComparisonFlagIgnoreFlavor = 32 +} WbemComparisonFlagEnum; + +[ + object, + local, + uuid(27d54d92-0ebe-11d2-8b22-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemEventSource : IDispatch +{ + [ id(1) ] + HRESULT NextEvent( + [in, defaultvalue(wbemTimeoutInfinite)] long iTimeoutMs, + [out, retval] ISWbemObject **objWbemObject); + + [ id(2), propget ] + HRESULT Security_( + [out, retval] ISWbemSecurity **objWbemSecurity); +}; + +[ + object, + local, + uuid(76a6415b-cb41-11d1-8b02-00600806d9b6), + dual, + hidden, + oleautomation, + pointer_default(unique) +] +interface ISWbemLocator : IDispatch +{ + [ id(1) ] + HRESULT ConnectServer( + [in, defaultvalue(".")] BSTR strServer, + [in, defaultvalue("")] BSTR strNamespace, + [in, defaultvalue("")] BSTR strUser, + [in, defaultvalue("")] BSTR strPassword, + [in, defaultvalue("")] BSTR strLocale, + [in, defaultvalue("")] BSTR strAuthority, + [in, defaultvalue(0)] long iSecurityFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemServices **objWbemServices); + + [ id(2), propget ] + HRESULT Security_([out, retval] ISWbemSecurity **objWbemSecurity); +}; + +[ + object, + local, + uuid(422e8e90-d955-11d1-8b09-00600806d9b6), + dual, + hidden, + oleautomation, + pointer_default(unique), + nonextensible +] +interface ISWbemMethod : IDispatch +{ + [ id(1), propget ] + HRESULT Name( + [out, retval] BSTR *strName); + + [ id(2), propget ] + HRESULT Origin( + [out, retval] BSTR *strOrigin); + + [ id(3), propget ] + HRESULT InParameters( + [out, retval] ISWbemObject **objWbemInParameters); + + [ id(4), propget ] + HRESULT OutParameters( + [out, retval] ISWbemObject **objWbemOutParameters); + + [ id(5), propget ] + HRESULT Qualifiers_( + [out, retval] ISWbemQualifierSet **objWbemQualifierSet); +}; + +[ + object, + local, + uuid(c93ba292-d955-11d1-8b09-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemMethodSet : IDispatch +{ + [ id(DISPID_NEWENUM), propget, restricted ] + HRESULT _NewEnum( + [out, retval] IUnknown **pUnk); + + [ id(DISPID_VALUE) ] + HRESULT Item( + [in] BSTR strName, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemMethod **objWbemMethod); + + [ id(1), propget ] + HRESULT Count( + [out, retval] long *iCount); +}; + +[ + object, + local, + uuid(76a64164-cb41-11d1-8b02-00600806d9b6), + dual, + hidden, + oleautomation +] +interface ISWbemNamedValue : IDispatch +{ + [ id(DISPID_VALUE), propget ] + HRESULT Value( + [out, retval] VARIANT *varValue); + + [ id(DISPID_VALUE), propput ] + HRESULT Value( + [in] VARIANT *varValue); + + [ id(2), propget ] + HRESULT Name( + [out, retval] BSTR *strName); +}; + +[ + object, + local, + uuid(cf2376ea-ce8c-11d1-8b05-00600806d9b6), + dual, + hidden, + oleautomation +] +interface ISWbemNamedValueSet : IDispatch +{ + [ id(DISPID_NEWENUM), propget, restricted ] + HRESULT _NewEnum( + [out, retval] IUnknown **pUnk); + + [ id(DISPID_VALUE) ] + HRESULT Item( + [in] BSTR strName, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemNamedValue **objWbemNamedValue); + + [ id(1), propget ] + HRESULT Count( + [out, retval] long *iCount); + + [ id(2) ] + HRESULT Add( + [in] BSTR strName, + [in] VARIANT *varValue, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemNamedValue **objWbemNamedValue); + + [ id(3) ] + HRESULT Remove( + [in] BSTR strName, + [in, defaultvalue(0)] long iFlags); + + [ id(4) ] + HRESULT Clone( + [out, retval] ISWbemNamedValueSet **objWbemNamedValueSet); + + [ id(5) ] + HRESULT DeleteAll(); +}; + +[ + object, + local, + uuid(76A6415A-CB41-11d1-8B02-00600806D9B6), + dual, + hidden, + oleautomation +] +interface ISWbemObject : IDispatch +{ + [ id(1) ] + HRESULT Put_( + [in, defaultvalue(wbemChangeFlagCreateOrUpdate)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectPath **objWbemObjectPath); + + [ id(2) ] + HRESULT PutAsync_( + [in] IDispatch *objWbemSink, + [in, defaultvalue(wbemChangeFlagCreateOrUpdate)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id (3) ] + HRESULT Delete_( + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet); + + [ id (4) ] + HRESULT DeleteAsync_( + [in] IDispatch *objWbemSink, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(5) ] + HRESULT Instances_( + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(6) ] + HRESULT InstancesAsync_( + [in] IDispatch *objWbemSink, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(7) ] + HRESULT Subclasses_( + [in, defaultvalue(wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(8) ] + HRESULT SubclassesAsync_( + [in] IDispatch *objWbemSink, + [in, defaultvalue(wbemQueryFlagDeep)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(9) ] + HRESULT Associators_( + [in, defaultvalue("")] BSTR strAssocClass, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strResultRole, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredAssocQualifier, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(10) ] + HRESULT AssociatorsAsync_( + [in] IDispatch *objWbemSink, + [in, defaultvalue("")] BSTR strAssocClass, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strResultRole, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredAssocQualifier, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(11) ] + HRESULT References_( + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(12) ] + HRESULT ReferencesAsync_( + [in] IDispatch *objWbemSink, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(13) ] + HRESULT ExecMethod_( + [in] BSTR strMethodName, + [in, defaultvalue(0)] IDispatch *objWbemInParameters, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObject **objWbemOutParameters); + + [ id(14) ] + HRESULT ExecMethodAsync_( + [in] IDispatch *objWbemSink, + [in] BSTR strMethodName, + [in, defaultvalue(0)] IDispatch *objWbemInParameters, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(15) ] + HRESULT Clone_( + [out, retval] ISWbemObject **objWbemObject); + + [ id(16) ] + HRESULT GetObjectText_( + [in, defaultvalue(0)] long iFlags, + [out, retval] BSTR *strObjectText); + + [ id(17) ] + HRESULT SpawnDerivedClass_( + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemObject **objWbemObject); + + [ id(18) ] + HRESULT SpawnInstance_( + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemObject **objWbemObject); + + [ id(19) ] + HRESULT CompareTo_( + [in] IDispatch *objWbemObject, + [in, defaultvalue(wbemComparisonFlagIncludeAll)] long iFlags, + [out, retval] VARIANT_BOOL *bResult); + + [ id(20), propget ] + HRESULT Qualifiers_( + [out, retval] ISWbemQualifierSet **objWbemQualifierSet); + + [ id(21), propget ] + HRESULT Properties_( + [out, retval] ISWbemPropertySet **objWbemPropertySet); + + [ id(22), propget ] + HRESULT Methods_( + [out, retval] ISWbemMethodSet **objWbemMethodSet); + + [ id(23), propget ] + HRESULT Derivation_( + [out, retval] VARIANT *strClassNameArray); + + [ id(24), propget ] + HRESULT Path_( + [out, retval] ISWbemObjectPath **objWbemObjectPath); + + [ id(25), propget ] + HRESULT Security_( + [out, retval] ISWbemSecurity **objWbemSecurity); +}; + +[ + object, + local, + uuid(5791bc27-ce9c-11d1-97bf-0000f81e849c), + dual, + hidden, + oleautomation, + pointer_default(unique) +] +interface ISWbemObjectPath : IDispatch +{ + [ id(DISPID_VALUE), propget ] + HRESULT Path( + [out, retval] BSTR *strPath); + + [ id(DISPID_VALUE), propput ] + HRESULT Path( + [in] BSTR strPath); + + [ id(1), propget ] + HRESULT RelPath( + [out, retval] BSTR *strRelPath); + + [ id(1), propput ] + HRESULT RelPath( + [in] BSTR strRelPath); + + [ id(2), propget ] + HRESULT Server( + [out, retval] BSTR *strServer); + + [ id(2), propput ] + HRESULT Server( + [in] BSTR strServer); + + [ id(3), propget ] + HRESULT Namespace( + [out, retval] BSTR *strNamespace); + + [ id(3), propput ] + HRESULT Namespace( + [in] BSTR strNamespace); + + [ id(4), propget ] + HRESULT ParentNamespace( + [out, retval] BSTR *strParentNamespace); + + [ id(5), propget ] + HRESULT DisplayName( + [out, retval] BSTR *strDisplayName); + + [ id(5), propput ] + HRESULT DisplayName( + [in] BSTR strDisplayName); + + [ id(6), propget ] + HRESULT Class( + [out, retval] BSTR *strClass); + + [ id(6), propput ] + HRESULT Class( + [in] BSTR strClass); + + [ id(7), propget ] + HRESULT IsClass( + [out, retval] VARIANT_BOOL *bIsClass); + + [ id(8) ] + HRESULT SetAsClass(); + + [ id(9), propget ] + HRESULT IsSingleton( + [out, retval] VARIANT_BOOL *bIsSingleton); + + [ id(10) ] + HRESULT SetAsSingleton(); + + [ id(11), propget ] + HRESULT Keys( + [out, retval] ISWbemNamedValueSet **objWbemNamedValueSet); + + [ id(12), propget ] + HRESULT Security_( + [out, retval] ISWbemSecurity **objWbemSecurity); + + [ id(13), propget ] + HRESULT Locale( + [out, retval] BSTR *strLocale); + + [ id(13), propput ] + HRESULT Locale( + [in] BSTR strLocale); + + [ id(14), propget ] + HRESULT Authority( + [out, retval] BSTR *strAuthority); + + [ id(14), propput ] + HRESULT Authority( + [in] BSTR strAuthority); +}; + +[ + object, + local, + uuid(76a6415f-cb41-11d1-8b02-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemObjectSet : IDispatch +{ + [ id(DISPID_NEWENUM), propget, restricted ] + HRESULT _NewEnum( + [out, retval] IUnknown **pUnk); + + [ id(DISPID_VALUE) ] + HRESULT Item( + [in] BSTR strObjectPath, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemObject **objWbemObject); + + [ id(1), propget ] + HRESULT Count( + [out, retval] long *iCount); + + [ id(4), propget ] + HRESULT Security_( + [out, retval] ISWbemSecurity **objWbemSecurity); + + [ id(5) ] + HRESULT ItemIndex( + [in] long lIndex, + [out, retval] ISWbemObject **objWbemObject); +}; + +typedef +[ + v1_enum, + uuid(176d2f70-5af3-11d2-8b4a-00600806d9b6) +] +enum WbemPrivilegeEnum +{ + wbemPrivilegeCreateToken = 1, + wbemPrivilegePrimaryToken = 2, + wbemPrivilegeLockMemory = 3, + wbemPrivilegeIncreaseQuota = 4, + wbemPrivilegeMachineAccount = 5, + wbemPrivilegeTcb = 6, + wbemPrivilegeSecurity = 7, + wbemPrivilegeTakeOwnership = 8, + wbemPrivilegeLoadDriver = 9, + wbemPrivilegeSystemProfile = 10, + wbemPrivilegeSystemtime = 11, + wbemPrivilegeProfileSingleProcess = 12, + wbemPrivilegeIncreaseBasePriority = 13, + wbemPrivilegeCreatePagefile = 14, + wbemPrivilegeCreatePermanent = 15, + wbemPrivilegeBackup = 16, + wbemPrivilegeRestore = 17, + wbemPrivilegeShutdown = 18, + wbemPrivilegeDebug = 19, + wbemPrivilegeAudit = 20, + wbemPrivilegeSystemEnvironment = 21, + wbemPrivilegeChangeNotify = 22, + wbemPrivilegeRemoteShutdown = 23, + wbemPrivilegeUndock = 24, + wbemPrivilegeSyncAgent = 25, + wbemPrivilegeEnableDelegation = 26, + wbemPrivilegeManageVolume = 27 +} WbemPrivilegeEnum; + +[ + object, + local, + uuid(26ee67bd-5804-11d2-8b4a-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemPrivilege : IDispatch +{ + [ id(DISPID_VALUE), propget ] + HRESULT IsEnabled( + [out, retval] VARIANT_BOOL *bIsEnabled); + + [ id(DISPID_VALUE), propput ] + HRESULT IsEnabled( + [in] VARIANT_BOOL bIsEnabled); + + [ id(1), propget ] + HRESULT Name( + [out, retval] BSTR *strDisplayName); + + [ id(2), propget ] + HRESULT DisplayName( + [out, retval] BSTR *strDisplayName); + + [ id(3), propget ] + HRESULT Identifier( + [out, retval] WbemPrivilegeEnum *iPrivilege); +}; + +[ + object, + local, + uuid(26ee67bf-5804-11d2-8b4a-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemPrivilegeSet : IDispatch +{ + [ id(DISPID_NEWENUM), propget, restricted ] + HRESULT _NewEnum( + [out, retval] IUnknown **pUnk); + + [ id(DISPID_VALUE) ] + HRESULT Item( + [in] WbemPrivilegeEnum iPrivilege, + [out, retval] ISWbemPrivilege **objWbemPrivilege); + + [ id(1), propget ] + HRESULT Count( + [out, retval] long *iCount); + + [ id(2) ] + HRESULT Add( + [in] WbemPrivilegeEnum iPrivilege, + [in, defaultvalue(TRUE)] VARIANT_BOOL bIsEnabled, + [out, retval] ISWbemPrivilege **objWbemPrivilege); + + [ id(3) ] + HRESULT Remove( + [in] WbemPrivilegeEnum iPrivilege); + + [ id(4) ] + HRESULT DeleteAll(); + + [ id(5) ] + HRESULT AddAsString( + [in] BSTR strPrivilege, + [in, defaultvalue(TRUE)] VARIANT_BOOL bIsEnabled, + [out, retval] ISWbemPrivilege **objWbemPrivilege); +}; + +typedef +[ + v1_enum, + uuid(4a249b7b-fc9a-11d1-8b1e-00600806d9b6), +] +enum WbemCimtypeEnum +{ + wbemCimtypeSint16 = 2, + wbemCimtypeSint32 = 3, + wbemCimtypeReal32 = 4, + wbemCimtypeReal64 = 5, + wbemCimtypeString = 8, + wbemCimtypeBoolean = 11, + wbemCimtypeObject = 13, + wbemCimtypeSint8 = 16, + wbemCimtypeUint8 = 17, + wbemCimtypeUint16 = 18, + wbemCimtypeUint32 = 19, + wbemCimtypeSint64 = 20, + wbemCimtypeUint64 = 21, + wbemCimtypeDatetime = 101, + wbemCimtypeReference = 102, + wbemCimtypeChar16 = 103 +} WbemCimtypeEnum; + +[ + object, + local, + uuid(1a388f98-d4ba-11d1-8b09-00600806d9b6), + dual, + hidden, + oleautomation, + pointer_default(unique) +] +interface ISWbemProperty : IDispatch +{ + [ id(DISPID_VALUE), propget ] + HRESULT Value( + [out, retval] VARIANT *varValue); + + [ id(DISPID_VALUE), propput ] + HRESULT Value( + [in] VARIANT *varValue); + + [ id(1), propget ] + HRESULT Name( + [out, retval] BSTR *strName); + + [ id(2), propget ] + HRESULT IsLocal( + [out, retval] VARIANT_BOOL *bIsLocal); + + [ id(3), propget ] + HRESULT Origin( + [out, retval] BSTR *strOrigin); + + [ id(4), propget ] + HRESULT CIMType( + [out, retval] WbemCimtypeEnum *iCimType); + + [ id(5), propget ] + HRESULT Qualifiers_( + [out, retval] ISWbemQualifierSet **objWbemQualifierSet); + + [ id(6), propget ] + HRESULT IsArray( + [out, retval] VARIANT_BOOL *bIsArray); +}; + +[ + object, + local, + uuid(dea0a7b2-d4ba-11d1-8b09-00600806d9b6), + dual, + hidden, + oleautomation +] +interface ISWbemPropertySet : IDispatch +{ + [ id(DISPID_NEWENUM), propget, restricted ] + HRESULT _NewEnum( + [out, retval] IUnknown **pUnk); + + [ id(DISPID_VALUE) ] + HRESULT Item( + [in] BSTR strName, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemProperty **objWbemProperty); + + [ id(1), propget ] + HRESULT Count( + [out, retval] long *iCount); + + [ id(2) ] + HRESULT Add( + [in] BSTR strName, + [in] WbemCimtypeEnum iCIMType, + [in, defaultvalue(FALSE)] VARIANT_BOOL bIsArray, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemProperty **objWbemProperty); + + [ id(3) ] + HRESULT Remove( + [in] BSTR strName, + [in, defaultvalue(0)] long iFlags); +}; + +[ + object, + local, + uuid(79b05932-d3b7-11d1-8b06-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible, + pointer_default(unique) +] +interface ISWbemQualifier : IDispatch +{ + [ id(DISPID_VALUE), propget ] + HRESULT Value( + [out, retval] VARIANT *varValue); + + [ id(DISPID_VALUE), propput ] + HRESULT Value( + [in] VARIANT *varValue); + + [ id(1), propget ] + HRESULT Name( + [out, retval] BSTR *strName); + + [ id(2), propget ] + HRESULT IsLocal( + [out, retval] VARIANT_BOOL *bIsLocal); + + [ id(3), propget ] + HRESULT PropagatesToSubclass( + [out, retval] VARIANT_BOOL *bPropagatesToSubclass); + + [ id(3), propput ] + HRESULT PropagatesToSubclass( + [in] VARIANT_BOOL bPropagatesToSubclass); + + [ id(4), propget ] + HRESULT PropagatesToInstance( + [out, retval] VARIANT_BOOL *bPropagatesToInstance); + + [ id(4), propput ] + HRESULT PropagatesToInstance( + [in] VARIANT_BOOL bPropagatesToInstance); + + [ id(5), propget ] + HRESULT IsOverridable( + [out, retval] VARIANT_BOOL *bIsOverridable); + + [ id(5), propput ] + HRESULT IsOverridable( + [in] VARIANT_BOOL bIsOverridable); + + [ id(6), propget ] + HRESULT IsAmended( + [out, retval] VARIANT_BOOL *bIsAmended); +}; + +[ + object, + local, + uuid(9b16ed16-d3df-11d1-8b08-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemQualifierSet : IDispatch +{ + [ id(DISPID_NEWENUM), propget, restricted ] + HRESULT _NewEnum( + [out, retval] IUnknown **pUnk); + + [ id(DISPID_VALUE) ] + HRESULT Item( + [in] BSTR name, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemQualifier **objWbemQualifier); + + [ id(1), propget ] + HRESULT Count( + [out, retval] long *iCount); + + [ id(2) ] + HRESULT Add( + [in] BSTR strName, + [in] VARIANT *varVal, + [in, defaultvalue(TRUE)] VARIANT_BOOL bPropagatesToSubclass, + [in, defaultvalue(TRUE)] VARIANT_BOOL bPropagatesToInstance, + [in, defaultvalue(TRUE)] VARIANT_BOOL bIsOverridable, + [in, defaultvalue(0)] long iFlags, + [out, retval] ISWbemQualifier **objWbemQualifier); + + [ id(3) ] + HRESULT Remove( + [in] BSTR strName, + [in, defaultvalue(0)] long iFlags); +}; + +typedef +[ + v1_enum, + uuid(b54d66e8-2287-11d2-8b33-00600806d9b6) +] +enum WbemImpersonationLevelEnum +{ + wbemImpersonationLevelAnonymous = 1, + wbemImpersonationLevelIdentify = 2, + wbemImpersonationLevelImpersonate = 3, + wbemImpersonationLevelDelegate = 4 +} WbemImpersonationLevelEnum; + +typedef +[ + v1_enum, + uuid(b54d66e7-2287-11d2-8b33-00600806d9b6) +] +enum WbemAuthenticationLevelEnum +{ + wbemAuthenticationLevelDefault = 0, + wbemAuthenticationLevelNone = 1, + wbemAuthenticationLevelConnect = 2, + wbemAuthenticationLevelCall = 3, + wbemAuthenticationLevelPkt = 4, + wbemAuthenticationLevelPktIntegrity = 5, + wbemAuthenticationLevelPktPrivacy = 6 +} WbemAuthenticationLevelEnum; + +[ + object, + local, + uuid(b54d66e6-2287-11d2-8b33-00600806d9b6), + dual, + hidden, + oleautomation, + nonextensible +] +interface ISWbemSecurity : IDispatch +{ + [ id(1), propget ] + HRESULT ImpersonationLevel( + [out, retval] WbemImpersonationLevelEnum *iImpersonationLevel); + + [ id(1), propput ] + HRESULT ImpersonationLevel( + [in] WbemImpersonationLevelEnum iImpersonationLevel); + + [ id(2), propget ] + HRESULT AuthenticationLevel( + [out, retval] WbemAuthenticationLevelEnum *iAuthenticationLevel); + + [ id(2), propput ] + HRESULT AuthenticationLevel( + [in] WbemAuthenticationLevelEnum iAuthenticationLevel); + + [ id(3), propget ] + HRESULT Privileges( + [out, retval] ISWbemPrivilegeSet **objWbemPrivilegeSet); +}; + +[ + object, + local, + uuid(76a6415c-cb41-11d1-8b02-00600806d9b6), + dual, + hidden, + oleautomation, + pointer_default(unique) +] +interface ISWbemServices : IDispatch +{ + [ id(1) ] + HRESULT Get( + [in, defaultvalue("")] BSTR strObjectPath, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObject **objWbemObject); + + [ id(2) ] + HRESULT GetAsync( + [in] IDispatch *objWbemSink, + [in, defaultvalue("")] BSTR strObjectPath, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(3) ] + HRESULT Delete( + [in] BSTR strObjectPath, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet); + + [ id(4) ] + HRESULT DeleteAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strObjectPath, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(5) ] + HRESULT InstancesOf( + [in] BSTR strClass, + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(6) ] + HRESULT InstancesOfAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strClass, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(7) ] + HRESULT SubclassesOf( + [in, defaultvalue("")] BSTR strSuperclass, + [in, defaultvalue(wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(8) ] + HRESULT SubclassesOfAsync( + [in] IDispatch *objWbemSink, + [in, defaultvalue("")] BSTR strSuperclass, + [in, defaultvalue(wbemQueryFlagDeep)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(9) ] + HRESULT ExecQuery( + [in] BSTR strQuery, + [in, defaultvalue("WQL")] BSTR strQueryLanguage, + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(10) ] + HRESULT ExecQueryAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strQuery, + [in, defaultvalue("WQL")] BSTR strQueryLanguage, + [in, defaultvalue(0)] long lFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(11) ] + HRESULT AssociatorsOf( + [in] BSTR strObjectPath, + [in, defaultvalue("")] BSTR strAssocClass, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strResultRole, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredAssocQualifier, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(12) ] + HRESULT AssociatorsOfAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strObjectPath, + [in, defaultvalue("")] BSTR strAssocClass, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strResultRole, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredAssocQualifier, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(13) ] + HRESULT ReferencesTo( + [in] BSTR strObjectPath, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObjectSet **objWbemObjectSet); + + [ id(14) ] + HRESULT ReferencesToAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strObjectPath, + [in, defaultvalue("")] BSTR strResultClass, + [in, defaultvalue("")] BSTR strRole, + [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly, + [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly, + [in, defaultvalue("")] BSTR strRequiredQualifier, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(15) ] + HRESULT ExecNotificationQuery( + [in] BSTR strQuery, + [in, defaultvalue("WQL")] BSTR strQueryLanguage, + [in, defaultvalue(wbemFlagReturnImmediately|wbemFlagForwardOnly)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemEventSource **objWbemEventSource); + + [ id(16) ] + HRESULT ExecNotificationQueryAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strQuery, + [in, defaultvalue("WQL")] BSTR strQueryLanguage, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(17) ] + HRESULT ExecMethod( + [in] BSTR strObjectPath, + [in] BSTR strMethodName, + [in, defaultvalue(0)] IDispatch *objWbemInParameters, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [out, retval] ISWbemObject **objWbemOutParameters); + + [ id(18) ] + HRESULT ExecMethodAsync( + [in] IDispatch *objWbemSink, + [in] BSTR strObjectPath, + [in] BSTR strMethodName, + [in, defaultvalue(0)] IDispatch *objWbemInParameters, + [in, defaultvalue(0)] long iFlags, + [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet, + [in, defaultvalue(0)] IDispatch *objWbemAsyncContext); + + [ id(19), propget ] + HRESULT Security_( + [out, retval] ISWbemSecurity **objWbemSecurity); +}; + +[ + threading(apartment), + uuid(76a64158-cb41-11d1-8b02-00600806d9b6), + progid("WbemScripting.SWbemLocator.1"), + vi_progid("WbemScripting.SWbemLocator") +] +coclass SWbemLocator +{ + interface ISWbemLocator; +}; + +}; /* WbemScripting */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemprov.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemprov.h new file mode 100644 index 0000000..a4d2653 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemprov.h @@ -0,0 +1,61 @@ +/*** Autogenerated by WIDL 2.18 from wbemprov.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wbemprov_h__ +#define __wbemprov_h__ + +/* Forward declarations */ + +#ifndef __WbemAdministrativeLocator_FWD_DEFINED__ +#define __WbemAdministrativeLocator_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WbemAdministrativeLocator WbemAdministrativeLocator; +#else +typedef struct WbemAdministrativeLocator WbemAdministrativeLocator; +#endif /* defined __cplusplus */ +#endif /* defined __WbemAdministrativeLocator_FWD_DEFINED__ */ + +/* Headers for imported files */ + + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_WbemProviders_v1, 0x092df710, 0x7010, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff); + +/***************************************************************************** + * WbemAdministrativeLocator coclass + */ + +DEFINE_GUID(CLSID_WbemAdministrativeLocator, 0xcb8555cc, 0x9128, 0x11d1, 0xad,0x9b, 0x00,0xc0,0x4f,0xd8,0xfd,0xff); + +#ifdef __cplusplus +class DECLSPEC_UUID("cb8555cc-9128-11d1-ad9b-00c04fd8fdff") WbemAdministrativeLocator; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WbemAdministrativeLocator, 0xcb8555cc, 0x9128, 0x11d1, 0xad,0x9b, 0x00,0xc0,0x4f,0xd8,0xfd,0xff) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wbemprov_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemprov.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemprov.idl new file mode 100644 index 0000000..bb9f1b1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wbemprov.idl @@ -0,0 +1,28 @@ +/* + * Copyright 2012 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +[ + uuid(092df710-7010-11d1-ad90-00c04fd8fdff) +] +library WbemProviders_v1 +{ + [ + uuid(cb8555cc-9128-11d1-ad9b-00c04fd8fdff) + ] + coclass WbemAdministrativeLocator { interface IWbemLocator; } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wct.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wct.h new file mode 100644 index 0000000..0cef59d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wct.h @@ -0,0 +1,27 @@ +/* + * Copyright 2015 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WCT_H +#define __WINE_WCT_H + +typedef HRESULT (WINAPI *PCOGETCALLSTATE)(int,PULONG); +typedef HRESULT (WINAPI *PCOGETACTIVATIONSTATE)(GUID,DWORD,DWORD*); + +void WINAPI RegisterWaitChainCOMCallback(PCOGETCALLSTATE,PCOGETACTIVATIONSTATE); + +#endif /* __WINE_WCT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/webservices.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/webservices.h new file mode 100644 index 0000000..1f823dd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/webservices.h @@ -0,0 +1,1818 @@ +/* + * Copyright 2015 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WEBSERVICES_H +#define __WINE_WEBSERVICES_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +typedef struct _WS_ERROR WS_ERROR; +typedef struct _WS_HEAP WS_HEAP; +typedef struct _WS_XML_BUFFER WS_XML_BUFFER; +typedef struct _WS_XML_READER WS_XML_READER; +typedef struct _WS_XML_WRITER WS_XML_WRITER; +typedef struct _WS_PROXY_PROPERTY WS_PROXY_PROPERTY; +typedef struct _WS_SECURITY_DESCRIPTION WS_SECURITY_DESCRIPTION; +typedef struct _WS_CHANNEL_PROPERTY WS_CHANNEL_PROPERTY; +typedef struct _WS_SERVICE_PROXY WS_SERVICE_PROXY; +typedef struct _WS_SECURITY_BINDING_PROPERTY WS_SECURITY_BINDING_PROPERTY; +typedef struct _WS_SECURITY_PROPERTY WS_SECURITY_PROPERTY; +typedef struct _WS_SECURITY_PROPERTIES WS_SECURITY_PROPERTIES; +typedef struct _WS_SECURITY_BINDING WS_SECURITY_BINDING; +typedef struct _WS_CHANNEL WS_CHANNEL; +typedef struct _WS_MESSAGE_PROPERTY WS_MESSAGE_PROPERTY; +typedef struct _WS_MESSAGE_PROPERTIES WS_MESSAGE_PROPERTIES; +typedef struct _WS_HTTP_BINDING_TEMPLATE WS_HTTP_BINDING_TEMPLATE; +typedef struct _WS_HTTP_SSL_BINDING_TEMPLATE WS_HTTP_SSL_BINDING_TEMPLATE; +typedef struct _WS_CHANNEL_PROPERTIES WS_CHANNEL_PROPERTIES; +typedef struct _WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE; +typedef struct _WS_SECURITY_BINDING_PROPERTIES WS_SECURITY_BINDING_PROPERTIES; +typedef struct _WS_CERT_CREDENTIAL WS_CERT_CREDENTIAL; +typedef struct _WS_ENDPOINT_ADDRESS WS_ENDPOINT_ADDRESS; +typedef struct _WS_ENDPOINT_IDENTITY WS_ENDPOINT_IDENTITY; +typedef struct _WS_ENUM_DESCRIPTION WS_ENUM_DESCRIPTION; +typedef struct _WS_ENUM_VALUE WS_ENUM_VALUE; +typedef struct _WS_HTTP_POLICY_DESCRIPTION WS_HTTP_POLICY_DESCRIPTION; +typedef struct _WS_MESSAGE WS_MESSAGE; +typedef struct _WS_MESSAGE_DESCRIPTION WS_MESSAGE_DESCRIPTION; +typedef struct _WS_OPERATION_DESCRIPTION WS_OPERATION_DESCRIPTION; +typedef struct _WS_PARAMETER_DESCRIPTION WS_PARAMETER_DESCRIPTION; +typedef struct _WS_OPERATION_CONTEXT WS_OPERATION_CONTEXT; +typedef struct _WS_CALL_PROPERTY WS_CALL_PROPERTY; +typedef struct _WS_FLOAT_DESCRIPTION WS_FLOAT_DESCRIPTION; +typedef struct _WS_DOUBLE_DESCRIPTION WS_DOUBLE_DESCRIPTION; +typedef struct _WS_DATETIME WS_DATETIME; +typedef struct _WS_XML_DATETIME_TEXT WS_XML_DATETIME_TEXT; +typedef struct _WS_XML_BASE64_TEXT WS_XML_BASE64_TEXT; +typedef struct _WS_DATETIME_DESCRIPTION WS_DATETIME_DESCRIPTION; +typedef struct _WS_GUID_DESCRIPTION WS_GUID_DESCRIPTION; +typedef struct _WS_UNIQUE_ID_DESCRIPTION WS_UNIQUE_ID_DESCRIPTION; +typedef struct _WS_BYTES_DESCRIPTION WS_BYTES_DESCRIPTION; +typedef struct _WS_URL WS_URL; +typedef struct _WS_HTTP_URL WS_HTTP_URL; +typedef struct _WS_HTTPS_URL WS_HTTPS_URL; +typedef struct _WS_NETTCP_URL WS_NETTCP_URL; +typedef struct _WS_SOAPUDP_URL WS_SOAPUDP_URL; +typedef struct _WS_NETPIPE_URL WS_NETPIPE_URL; +typedef struct _WS_CUSTOM_CHANNEL_CALLBACKS WS_CUSTOM_CHANNEL_CALLBACKS; +typedef struct _WS_CHANNEL_ENCODER WS_CHANNEL_ENCODER; +typedef struct _WS_CHANNEL_DECODER WS_CHANNEL_DECODER; +typedef struct _WS_CUSTOM_HTTP_PROXY WS_CUSTOM_HTTP_PROXY; +typedef struct _WS_HTTP_MESSAGE_MAPPING WS_HTTP_MESSAGE_MAPPING; +typedef struct _WS_HTTP_HEADER_MAPPING WS_HTTP_HEADER_MAPPING; +typedef struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT WS_HTTP_REDIRECT_CALLBACK_CONTEXT; +typedef struct _WS_PROXY_MESSAGE_CALLBACK_CONTEXT WS_PROXY_MESSAGE_CALLBACK_CONTEXT; +typedef struct _WS_LISTENER WS_LISTENER; +typedef struct _WS_LISTENER_PROPERTY WS_LISTENER_PROPERTY; +typedef struct _WS_DISALLOWED_USER_AGENT_SUBSTRINGS WS_DISALLOWED_USER_AGENT_SUBSTRINGS; +typedef struct _WS_LISTENER_PROPERTIES WS_LISTENER_PROPERTIES; +typedef struct _WS_CUSTOM_LISTENER_CALLBACKS WS_CUSTOM_LISTENER_CALLBACKS; + +struct _WS_STRUCT_DESCRIPTION; +struct _WS_XML_STRING; + +typedef enum { + WS_ERROR_PROPERTY_STRING_COUNT, + WS_ERROR_PROPERTY_ORIGINAL_ERROR_CODE, + WS_ERROR_PROPERTY_LANGID +} WS_ERROR_PROPERTY_ID; + +typedef struct _WS_ERROR_PROPERTY { + WS_ERROR_PROPERTY_ID id; + void *value; + ULONG valueSize; +} WS_ERROR_PROPERTY; + +typedef enum { + WS_HEAP_PROPERTY_MAX_SIZE, + WS_HEAP_PROPERTY_TRIM_SIZE, + WS_HEAP_PROPERTY_REQUESTED_SIZE, + WS_HEAP_PROPERTY_ACTUAL_SIZE +} WS_HEAP_PROPERTY_ID; + +typedef struct _WS_HEAP_PROPERTY { + WS_HEAP_PROPERTY_ID id; + void *value; + ULONG valueSize; +} WS_HEAP_PROPERTY; + +typedef ULONG WS_XML_BUFFER_PROPERTY_ID; + +typedef struct _WS_XML_BUFFER_PROPERTY { + WS_XML_BUFFER_PROPERTY_ID id; + void *value; + ULONG valueSize; +} WS_XML_BUFFER_PROPERTY; + +typedef enum { + WS_XML_READER_PROPERTY_MAX_DEPTH, + WS_XML_READER_PROPERTY_ALLOW_FRAGMENT, + WS_XML_READER_PROPERTY_MAX_ATTRIBUTES, + WS_XML_READER_PROPERTY_READ_DECLARATION, + WS_XML_READER_PROPERTY_CHARSET, + WS_XML_READER_PROPERTY_ROW, + WS_XML_READER_PROPERTY_COLUMN, + WS_XML_READER_PROPERTY_UTF8_TRIM_SIZE, + WS_XML_READER_PROPERTY_STREAM_BUFFER_SIZE, + WS_XML_READER_PROPERTY_IN_ATTRIBUTE, + WS_XML_READER_PROPERTY_STREAM_MAX_ROOT_MIME_PART_SIZE, + WS_XML_READER_PROPERTY_STREAM_MAX_MIME_HEADERS_SIZE, + WS_XML_READER_PROPERTY_MAX_MIME_PARTS, + WS_XML_READER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES, + WS_XML_READER_PROPERTY_MAX_NAMESPACES +} WS_XML_READER_PROPERTY_ID; + +typedef struct _WS_XML_READER_PROPERTY { + WS_XML_READER_PROPERTY_ID id; + void *value; + ULONG valueSize; +} WS_XML_READER_PROPERTY; + +typedef enum { + WS_XML_WRITER_PROPERTY_MAX_DEPTH, + WS_XML_WRITER_PROPERTY_ALLOW_FRAGMENT, + WS_XML_WRITER_PROPERTY_MAX_ATTRIBUTES, + WS_XML_WRITER_PROPERTY_WRITE_DECLARATION, + WS_XML_WRITER_PROPERTY_INDENT, + WS_XML_WRITER_PROPERTY_BUFFER_TRIM_SIZE, + WS_XML_WRITER_PROPERTY_CHARSET, + WS_XML_WRITER_PROPERTY_BUFFERS, + WS_XML_WRITER_PROPERTY_BUFFER_MAX_SIZE, + WS_XML_WRITER_PROPERTY_BYTES, + WS_XML_WRITER_PROPERTY_IN_ATTRIBUTE, + WS_XML_WRITER_PROPERTY_MAX_MIME_PARTS_BUFFER_SIZE, + WS_XML_WRITER_PROPERTY_INITIAL_BUFFER, + WS_XML_WRITER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES, + WS_XML_WRITER_PROPERTY_MAX_NAMESPACES, + WS_XML_WRITER_PROPERTY_BYTES_WRITTEN, + WS_XML_WRITER_PROPERTY_BYTES_TO_CLOSE, + WS_XML_WRITER_PROPERTY_COMPRESS_EMPTY_ELEMENTS, + WS_XML_WRITER_PROPERTY_EMIT_UNCOMPRESSED_EMPTY_ELEMENTS +} WS_XML_WRITER_PROPERTY_ID; + +typedef struct _WS_XML_WRITER_PROPERTY { + WS_XML_WRITER_PROPERTY_ID id; + void *value; + ULONG valueSize; +} WS_XML_WRITER_PROPERTY; + +typedef struct _WS_BYTES { + ULONG length; + BYTE *bytes; +} WS_BYTES; + +typedef struct _WS_BUFFERS { + ULONG bufferCount; + WS_BYTES *buffers; +} WS_BUFFERS; + +typedef enum { + WS_XML_READER_ENCODING_TYPE_TEXT = 1, + WS_XML_READER_ENCODING_TYPE_BINARY = 2, + WS_XML_READER_ENCODING_TYPE_MTOM = 3, + WS_XML_READER_ENCODING_TYPE_RAW = 4 +} WS_XML_READER_ENCODING_TYPE; + +typedef struct _WS_XML_READER_ENCODING { + WS_XML_READER_ENCODING_TYPE encodingType; +} WS_XML_READER_ENCODING; + +typedef enum { + WS_XML_WRITER_ENCODING_TYPE_TEXT = 1, + WS_XML_WRITER_ENCODING_TYPE_BINARY = 2, + WS_XML_WRITER_ENCODING_TYPE_MTOM = 3, + WS_XML_WRITER_ENCODING_TYPE_RAW = 4 +} WS_XML_WRITER_ENCODING_TYPE; + +typedef struct _WS_XML_WRITER_ENCODING { + WS_XML_WRITER_ENCODING_TYPE encodingType; +} WS_XML_WRITER_ENCODING; + +typedef enum { + WS_CHARSET_AUTO, + WS_CHARSET_UTF8, + WS_CHARSET_UTF16LE, + WS_CHARSET_UTF16BE +} WS_CHARSET; + +typedef struct _WS_XML_DICTIONARY { + GUID guid; + struct _WS_XML_STRING *strings; + ULONG stringCount; + BOOL isConst; +} WS_XML_DICTIONARY; + +typedef struct _WS_XML_STRING { + ULONG length; + BYTE *bytes; + WS_XML_DICTIONARY *dictionary; + ULONG id; +} WS_XML_STRING; + +typedef struct _WS_XML_READER_TEXT_ENCODING { + WS_XML_READER_ENCODING encoding; + WS_CHARSET charSet; +} WS_XML_READER_TEXT_ENCODING; + +typedef struct _WS_XML_READER_BINARY_ENCODING { + WS_XML_READER_ENCODING encoding; + WS_XML_DICTIONARY *staticDictionary; + WS_XML_DICTIONARY *dynamicDictionary; +} WS_XML_READER_BINARY_ENCODING; + +typedef struct _WS_XML_WRITER_TEXT_ENCODING { + WS_XML_WRITER_ENCODING encoding; + WS_CHARSET charSet; +} WS_XML_WRITER_TEXT_ENCODING; + +typedef HRESULT (CALLBACK *WS_DYNAMIC_STRING_CALLBACK) + (void*, const WS_XML_STRING*, BOOL*, ULONG*, WS_ERROR*); + +typedef struct _WS_XML_WRITER_BINARY_ENCODING { + WS_XML_WRITER_ENCODING encoding; + WS_XML_DICTIONARY *staticDictionary; + WS_DYNAMIC_STRING_CALLBACK dynamicStringCallback; + void *dynamicStringCallbackState; +} WS_XML_WRITER_BINARY_ENCODING; + +typedef enum { + WS_XML_READER_INPUT_TYPE_BUFFER = 1, + WS_XML_READER_INPUT_TYPE_STREAM = 2 +} WS_XML_READER_INPUT_TYPE; + +typedef enum { + WS_XML_WRITER_OUTPUT_TYPE_BUFFER = 1, + WS_XML_WRITER_OUTPUT_TYPE_STREAM = 2 +} WS_XML_WRITER_OUTPUT_TYPE; + +typedef struct _WS_XML_READER_INPUT { + WS_XML_READER_INPUT_TYPE inputType; +} WS_XML_READER_INPUT; + +typedef struct _WS_XML_WRITER_OUTPUT { + WS_XML_WRITER_OUTPUT_TYPE outputType; +} WS_XML_WRITER_OUTPUT; + +typedef struct _WS_XML_READER_BUFFER_INPUT { + WS_XML_READER_INPUT input; + void *encodedData; + ULONG encodedDataSize; +} WS_XML_READER_BUFFER_INPUT; + +typedef struct _WS_XML_WRITER_BUFFER_OUTPUT { + WS_XML_WRITER_OUTPUT output; +} WS_XML_WRITER_BUFFER_OUTPUT; + +typedef enum { + WS_SHORT_CALLBACK, + WS_LONG_CALLBACK +} WS_CALLBACK_MODEL; + +typedef void (CALLBACK *WS_ASYNC_CALLBACK) + (HRESULT, WS_CALLBACK_MODEL, void *); + +typedef struct _WS_ASYNC_CONTEXT { + WS_ASYNC_CALLBACK callback; + void *callbackState; +} WS_ASYNC_CONTEXT; + +typedef HRESULT (CALLBACK *WS_READ_CALLBACK) + (void*, void*, ULONG, ULONG*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_WRITE_CALLBACK) + (void*, const WS_BYTES*, ULONG, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef struct _WS_XML_READER_STREAM_INPUT { + WS_XML_READER_INPUT input; + WS_READ_CALLBACK readCallback; + void *readCallbackState; +} WS_XML_READER_STREAM_INPUT; + +typedef enum { + WS_ELEMENT_TYPE_MAPPING = 1, + WS_ATTRIBUTE_TYPE_MAPPING = 2, + WS_ELEMENT_CONTENT_TYPE_MAPPING = 3, + WS_ANY_ELEMENT_TYPE_MAPPING = 4 +} WS_TYPE_MAPPING; + +typedef enum { + WS_BOOL_TYPE, + WS_INT8_TYPE, + WS_INT16_TYPE, + WS_INT32_TYPE, + WS_INT64_TYPE, + WS_UINT8_TYPE, + WS_UINT16_TYPE, + WS_UINT32_TYPE, + WS_UINT64_TYPE, + WS_FLOAT_TYPE, + WS_DOUBLE_TYPE, + WS_DECIMAL_TYPE, + WS_DATETIME_TYPE, + WS_TIMESPAN_TYPE, + WS_GUID_TYPE, + WS_UNIQUE_ID_TYPE, + WS_STRING_TYPE, + WS_WSZ_TYPE, + WS_BYTES_TYPE, + WS_XML_STRING_TYPE, + WS_XML_QNAME_TYPE, + WS_XML_BUFFER_TYPE, + WS_CHAR_ARRAY_TYPE, + WS_UTF8_ARRAY_TYPE, + WS_BYTE_ARRAY_TYPE, + WS_DESCRIPTION_TYPE, + WS_STRUCT_TYPE, + WS_CUSTOM_TYPE, + WS_ENDPOINT_ADDRESS_TYPE, + WS_FAULT_TYPE, + WS_VOID_TYPE, + WS_ENUM_TYPE, + WS_DURATION_TYPE, + WS_UNION_TYPE, + WS_ANY_ATTRIBUTES_TYPE +} WS_TYPE; + +typedef enum { + WS_READ_REQUIRED_VALUE = 1, + WS_READ_REQUIRED_POINTER = 2, + WS_READ_OPTIONAL_POINTER = 3, + WS_READ_NILLABLE_POINTER = 4, + WS_READ_NILLABLE_VALUE = 5 +} WS_READ_OPTION; + +typedef enum { + WS_WRITE_REQUIRED_VALUE = 1, + WS_WRITE_REQUIRED_POINTER = 2, + WS_WRITE_NILLABLE_VALUE = 3, + WS_WRITE_NILLABLE_POINTER = 4 +} WS_WRITE_OPTION; + +typedef struct _WS_BOOL_DESCRIPTION { + BOOL value; +} WS_BOOL_DESCRIPTION; + +typedef struct _WS_INT8_DESCRIPTION { + char minValue; + char maxValue; +} WS_INT8_DESCRIPTION; + +typedef struct _WS_INT16_DESCRIPTION { + short minValue; + short maxValue; +} WS_INT16_DESCRIPTION; + +typedef struct _WS_INT32_DESCRIPTION { + int minValue; + int maxValue; +} WS_INT32_DESCRIPTION; + +typedef struct _WS_INT64_DESCRIPTION { + __int64 DECLSPEC_ALIGN(8) minValue; + __int64 DECLSPEC_ALIGN(8) maxValue; +} WS_INT64_DESCRIPTION; + +typedef struct _WS_UINT8_DESCRIPTION { + BYTE minValue; + BYTE maxValue; +} WS_UINT8_DESCRIPTION; + +typedef struct _WS_UINT16_DESCRIPTION { + USHORT minValue; + USHORT maxValue; +} WS_UINT16_DESCRIPTION; + +typedef struct _WS_UINT32_DESCRIPTION { + ULONG minValue; + ULONG maxValue; +} WS_UINT32_DESCRIPTION; + +typedef struct _WS_UINT64_DESCRIPTION { + unsigned __int64 DECLSPEC_ALIGN(8) minValue; + unsigned __int64 DECLSPEC_ALIGN(8) maxValue; +} WS_UINT64_DESCRIPTION; + +typedef struct _WS_WSZ_DESCRIPTION { + ULONG minCharCount; + ULONG maxCharCount; +} WS_WSZ_DESCRIPTION; + +typedef struct _WS_STRING_DESCRIPTION { + ULONG minCharCount; + ULONG maxCharCount; +} WS_STRING_DESCRIPTION; + +typedef struct _WS_XML_STRING_DESCRIPTION { + ULONG minByteCount; + ULONG maxByteCount; +} WS_XML_STRING_DESCRIPTION; + +typedef struct _WS_XML_QNAME_DESCRIPTION { + ULONG minLocalNameByteCount; + ULONG maxLocalNameByteCount; + ULONG minNsByteCount; + ULONG maxNsByteCount; +} WS_XML_QNAME_DESCRIPTION; + +struct _WS_ENUM_VALUE { + int value; + WS_XML_STRING *name; +}; + +struct _WS_ENUM_DESCRIPTION { + WS_ENUM_VALUE *values; + ULONG valueCount; + ULONG maxByteCount; + ULONG *nameIndices; +}; + +struct _WS_FLOAT_DESCRIPTION { + float minValue; + float maxValue; +}; + +struct _WS_DOUBLE_DESCRIPTION { + double DECLSPEC_ALIGN(8) minValue; + double DECLSPEC_ALIGN(8) maxValue; +}; + +struct _WS_GUID_DESCRIPTION { + GUID value; +}; + +struct _WS_UNIQUE_ID_DESCRIPTION { + ULONG minCharCount; + ULONG maxCharCount; +}; + +struct _WS_BYTES_DESCRIPTION { + ULONG minByteCount; + ULONG maxByteCount; +}; + +typedef enum { + WS_TYPE_ATTRIBUTE_FIELD_MAPPING, + WS_ATTRIBUTE_FIELD_MAPPING, + WS_ELEMENT_FIELD_MAPPING, + WS_REPEATING_ELEMENT_FIELD_MAPPING, + WS_TEXT_FIELD_MAPPING, + WS_NO_FIELD_MAPPING, + WS_XML_ATTRIBUTE_FIELD_MAPPING, + WS_ELEMENT_CHOICE_FIELD_MAPPING, + WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING, + WS_ANY_ELEMENT_FIELD_MAPPING, + WS_REPEATING_ANY_ELEMENT_FIELD_MAPPING, + WS_ANY_CONTENT_FIELD_MAPPING, + WS_ANY_ATTRIBUTES_FIELD_MAPPING +} WS_FIELD_MAPPING; + +typedef struct _WS_DEFAULT_VALUE { + void *value; + ULONG valueSize; +} WS_DEFAULT_VALUE; + +typedef struct _WS_ITEM_RANGE { + ULONG minItemCount; + ULONG maxItemCount; +} WS_ITEM_RANGE; + +enum +{ + WS_FIELD_POINTER = 0x1, + WS_FIELD_OPTIONAL = 0x2, + WS_FIELD_NILLABLE = 0x4, + WS_FIELD_NILLABLE_ITEM = 0x8, + WS_FIELD_OTHER_NAMESPACE = 0x10 +}; + +typedef struct _WS_FIELD_DESCRIPTION { + WS_FIELD_MAPPING mapping; + WS_XML_STRING *localName; + WS_XML_STRING *ns; + WS_TYPE type; + void *typeDescription; + ULONG offset; + ULONG options; + WS_DEFAULT_VALUE *defaultValue; + ULONG countOffset; + WS_XML_STRING *itemLocalName; + WS_XML_STRING *itemNs; + WS_ITEM_RANGE *itemRange; +} WS_FIELD_DESCRIPTION; + +enum +{ + WS_STRUCT_ABSTRACT = 0x1, + WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT = 0x2, + WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES = 0x4 +}; + +typedef struct _WS_STRUCT_DESCRIPTION { + ULONG size; + ULONG alignment; + WS_FIELD_DESCRIPTION **fields; + ULONG fieldCount; + WS_XML_STRING *typeLocalName; + WS_XML_STRING *typeNs; + struct _WS_STRUCT_DESCRIPTION *parentType; + struct _WS_STRUCT_DESCRIPTION **subTypes; + ULONG subTypeCount; + ULONG structOptions; +} WS_STRUCT_DESCRIPTION; + +typedef struct _WS_UNION_FIELD_DESCRIPTION { + int value; + WS_FIELD_DESCRIPTION field; +} WS_UNION_FIELD_DESCRIPTION; + +typedef struct _WS_UNION_DESCRIPTION { + ULONG size; + ULONG alignment; + WS_UNION_FIELD_DESCRIPTION **fields; + ULONG fieldCount; + ULONG enumOffset; + int noneEnumValue; + ULONG *valueIndices; +} WS_UNION_DESCRIPTION; + +typedef struct _WS_ATTRIBUTE_DESCRIPTION { + WS_XML_STRING *attributeLocalName; + WS_XML_STRING *attributeNs; + WS_TYPE type; + void *typeDescription; +} WS_ATTRIBUTE_DESCRIPTION; + +typedef struct _WS_ELEMENT_DESCRIPTION { + WS_XML_STRING *elementLocalName; + WS_XML_STRING *elementNs; + WS_TYPE type; + void *typeDescription; +} WS_ELEMENT_DESCRIPTION; + +typedef struct _WS_STRING { + ULONG length; + WCHAR *chars; +} WS_STRING; + +typedef struct _WS_UNIQUE_ID { + WS_STRING uri; + GUID guid; +} WS_UNIQUE_ID; + +typedef enum { + WS_XML_NODE_TYPE_ELEMENT = 1, + WS_XML_NODE_TYPE_TEXT = 2, + WS_XML_NODE_TYPE_END_ELEMENT = 3, + WS_XML_NODE_TYPE_COMMENT = 4, + WS_XML_NODE_TYPE_CDATA = 6, + WS_XML_NODE_TYPE_END_CDATA = 7, + WS_XML_NODE_TYPE_EOF = 8, + WS_XML_NODE_TYPE_BOF = 9 +} WS_XML_NODE_TYPE; + +typedef struct _WS_XML_NODE { + WS_XML_NODE_TYPE nodeType; +} WS_XML_NODE; + +typedef enum { + WS_MOVE_TO_ROOT_ELEMENT, + WS_MOVE_TO_NEXT_ELEMENT, + WS_MOVE_TO_PREVIOUS_ELEMENT, + WS_MOVE_TO_CHILD_ELEMENT, + WS_MOVE_TO_END_ELEMENT, + WS_MOVE_TO_PARENT_ELEMENT, + WS_MOVE_TO_NEXT_NODE, + WS_MOVE_TO_PREVIOUS_NODE, + WS_MOVE_TO_FIRST_NODE, + WS_MOVE_TO_BOF, + WS_MOVE_TO_EOF, + WS_MOVE_TO_CHILD_NODE +} WS_MOVE_TO; + +typedef enum { + WS_XML_TEXT_TYPE_UTF8 = 1, + WS_XML_TEXT_TYPE_UTF16 = 2, + WS_XML_TEXT_TYPE_BASE64 = 3, + WS_XML_TEXT_TYPE_BOOL = 4, + WS_XML_TEXT_TYPE_INT32 = 5, + WS_XML_TEXT_TYPE_INT64 = 6, + WS_XML_TEXT_TYPE_UINT64 = 7, + WS_XML_TEXT_TYPE_FLOAT = 8, + WS_XML_TEXT_TYPE_DOUBLE = 9, + WS_XML_TEXT_TYPE_DECIMAL = 10, + WS_XML_TEXT_TYPE_GUID = 11, + WS_XML_TEXT_TYPE_UNIQUE_ID = 12, + WS_XML_TEXT_TYPE_DATETIME = 13, + WS_XML_TEXT_TYPE_TIMESPAN = 14, + WS_XML_TEXT_TYPE_QNAME = 15, + WS_XML_TEXT_TYPE_LIST = 16 +} WS_XML_TEXT_TYPE; + +typedef struct _WS_XML_TEXT { + WS_XML_TEXT_TYPE textType; +} WS_XML_TEXT; + +typedef struct _WS_XML_UTF8_TEXT { + WS_XML_TEXT text; + WS_XML_STRING value; +} WS_XML_UTF8_TEXT; + +typedef struct _WS_XML_UTF16_TEXT { + WS_XML_TEXT text; + BYTE *bytes; + ULONG byteCount; +} WS_XML_UTF16_TEXT; + +typedef struct _WS_XML_BOOL_TEXT { + WS_XML_TEXT text; + BOOL value; +} WS_XML_BOOL_TEXT; + +typedef struct _WS_XML_INT32_TEXT { + WS_XML_TEXT text; + __int32 value; +} WS_XML_INT32_TEXT; + +typedef struct _WS_XML_INT64_TEXT { + WS_XML_TEXT text; + __int64 DECLSPEC_ALIGN(8) value; +} WS_XML_INT64_TEXT; + +typedef struct _WS_XML_UINT64_TEXT { + WS_XML_TEXT text; + unsigned __int64 DECLSPEC_ALIGN(8) value; +} WS_XML_UINT64_TEXT; + +typedef struct _WS_XML_FLOAT_TEXT { + WS_XML_TEXT text; + float value; +} WS_XML_FLOAT_TEXT; + +typedef struct _WS_XML_DOUBLE_TEXT { + WS_XML_TEXT text; + double DECLSPEC_ALIGN(8) value; +} WS_XML_DOUBLE_TEXT; + +typedef struct _WS_XML_GUID_TEXT { + WS_XML_TEXT text; + GUID value; +} WS_XML_GUID_TEXT; + +typedef struct _WS_XML_UNIQUE_ID_TEXT { + WS_XML_TEXT text; + GUID value; +} WS_XML_UNIQUE_ID_TEXT; + +typedef struct _WS_XML_QNAME_TEXT { + WS_XML_TEXT text; + WS_XML_STRING *prefix; + WS_XML_STRING *localName; + WS_XML_STRING *ns; +} WS_XML_QNAME_TEXT; + +typedef enum { + WS_BOOL_VALUE_TYPE, + WS_INT8_VALUE_TYPE, + WS_INT16_VALUE_TYPE, + WS_INT32_VALUE_TYPE, + WS_INT64_VALUE_TYPE, + WS_UINT8_VALUE_TYPE, + WS_UINT16_VALUE_TYPE, + WS_UINT32_VALUE_TYPE, + WS_UINT64_VALUE_TYPE, + WS_FLOAT_VALUE_TYPE, + WS_DOUBLE_VALUE_TYPE, + WS_DECIMAL_VALUE_TYPE, + WS_DATETIME_VALUE_TYPE, + WS_TIMESPAN_VALUE_TYPE, + WS_GUID_VALUE_TYPE, + WS_DURATION_VALUE_TYPE +} WS_VALUE_TYPE; + +typedef struct _WS_XML_ATTRIBUTE { + BYTE singleQuote; + BYTE isXmlNs; + WS_XML_STRING *prefix; + WS_XML_STRING *localName; + WS_XML_STRING *ns; + WS_XML_TEXT *value; +} WS_XML_ATTRIBUTE; + +typedef struct _WS_XML_ELEMENT_NODE { + WS_XML_NODE node; + WS_XML_STRING *prefix; + WS_XML_STRING *localName; + WS_XML_STRING *ns; + ULONG attributeCount; + WS_XML_ATTRIBUTE **attributes; + BOOL isEmpty; +} WS_XML_ELEMENT_NODE; + +typedef struct _WS_XML_TEXT_NODE { + WS_XML_NODE node; + WS_XML_TEXT *text; +} WS_XML_TEXT_NODE; + +typedef struct _WS_XML_COMMENT_NODE { + WS_XML_NODE node; + WS_XML_STRING value; +} WS_XML_COMMENT_NODE; + +typedef struct _WS_XML_NODE_POSITION { + WS_XML_BUFFER *buffer; + void *node; +} WS_XML_NODE_POSITION; + +typedef struct _WS_XML_QNAME { + WS_XML_STRING localName; + WS_XML_STRING ns; +} WS_XML_QNAME; + +typedef enum { + WS_SERVICE_PROXY_STATE_CREATED, + WS_SERVICE_PROXY_STATE_OPENING, + WS_SERVICE_PROXY_STATE_OPEN, + WS_SERVICE_PROXY_STATE_CLOSING, + WS_SERVICE_PROXY_STATE_CLOSED, + WS_SERVICE_PROXY_STATE_FAULTED +} WS_SERVICE_PROXY_STATE; + +typedef enum { + WS_PROXY_PROPERTY_CALL_TIMEOUT, + WS_PROXY_PROPERTY_MESSAGE_PROPERTIES, + WS_PROXY_PROPERTY_MAX_CALL_POOL_SIZE, + WS_PROXY_PROPERTY_STATE, + WS_PROXY_PROPERTY_MAX_PENDING_CALLS, + WS_PROXY_PROPERTY_MAX_CLOSE_TIMEOUT, + WS_PROXY_FAULT_LANG_ID +} WS_PROXY_PROPERTY_ID; + +struct _WS_PROXY_PROPERTY { + WS_PROXY_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +typedef enum { + WS_CHANNEL_TYPE_INPUT = 0x1, + WS_CHANNEL_TYPE_OUTPUT = 0x2, + WS_CHANNEL_TYPE_SESSION = 0x4, + WS_CHANNEL_TYPE_INPUT_SESSION = (WS_CHANNEL_TYPE_INPUT | WS_CHANNEL_TYPE_SESSION), + WS_CHANNEL_TYPE_OUTPUT_SESSION = (WS_CHANNEL_TYPE_OUTPUT | WS_CHANNEL_TYPE_SESSION), + WS_CHANNEL_TYPE_DUPLEX = (WS_CHANNEL_TYPE_INPUT | WS_CHANNEL_TYPE_OUTPUT), + WS_CHANNEL_TYPE_DUPLEX_SESSION = (WS_CHANNEL_TYPE_INPUT | WS_CHANNEL_TYPE_OUTPUT | WS_CHANNEL_TYPE_SESSION), + WS_CHANNEL_TYPE_REQUEST = 0x8, + WS_CHANNEL_TYPE_REPLY = 0x10 +} WS_CHANNEL_TYPE; + +typedef enum { + WS_ENCODING_XML_BINARY_1, + WS_ENCODING_XML_BINARY_SESSION_1, + WS_ENCODING_XML_MTOM_UTF8, + WS_ENCODING_XML_MTOM_UTF16BE, + WS_ENCODING_XML_MTOM_UTF16LE, + WS_ENCODING_XML_UTF8, + WS_ENCODING_XML_UTF16BE, + WS_ENCODING_XML_UTF16LE, + WS_ENCODING_RAW +} WS_ENCODING; + +typedef enum { + WS_CHANNEL_STATE_CREATED, + WS_CHANNEL_STATE_OPENING, + WS_CHANNEL_STATE_ACCEPTING, + WS_CHANNEL_STATE_OPEN, + WS_CHANNEL_STATE_FAULTED, + WS_CHANNEL_STATE_CLOSING, + WS_CHANNEL_STATE_CLOSED +} WS_CHANNEL_STATE; + +typedef enum { + WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE = 0, + WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE = 1, + WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE = 2, + WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE = 3, + WS_CHANNEL_PROPERTY_ENCODING = 4, + WS_CHANNEL_PROPERTY_ENVELOPE_VERSION = 5, + WS_CHANNEL_PROPERTY_ADDRESSING_VERSION = 6, + WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE = 7, + WS_CHANNEL_PROPERTY_STATE = 8, + WS_CHANNEL_PROPERTY_ASYNC_CALLBACK_MODEL = 9, + WS_CHANNEL_PROPERTY_IP_VERSION = 10, + WS_CHANNEL_PROPERTY_RESOLVE_TIMEOUT = 11, + WS_CHANNEL_PROPERTY_CONNECT_TIMEOUT = 12, + WS_CHANNEL_PROPERTY_SEND_TIMEOUT = 13, + WS_CHANNEL_PROPERTY_RECEIVE_RESPONSE_TIMEOUT = 14, + WS_CHANNEL_PROPERTY_RECEIVE_TIMEOUT = 15, + WS_CHANNEL_PROPERTY_CLOSE_TIMEOUT = 16, + WS_CHANNEL_PROPERTY_ENABLE_TIMEOUTS = 17, + WS_CHANNEL_PROPERTY_TRANSFER_MODE = 18, + WS_CHANNEL_PROPERTY_MULTICAST_INTERFACE = 19, + WS_CHANNEL_PROPERTY_MULTICAST_HOPS = 20, + WS_CHANNEL_PROPERTY_REMOTE_ADDRESS = 21, + WS_CHANNEL_PROPERTY_REMOTE_IP_ADDRESS = 22, + WS_CHANNEL_PROPERTY_HTTP_CONNECTION_ID = 23, + WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_CALLBACKS = 24, + WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_PARAMETERS = 25, + WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_INSTANCE = 26, + WS_CHANNEL_PROPERTY_TRANSPORT_URL = 27, + WS_CHANNEL_PROPERTY_NO_DELAY = 28, + WS_CHANNEL_PROPERTY_SEND_KEEP_ALIVES = 29, + WS_CHANNEL_PROPERTY_KEEP_ALIVE_TIME = 30, + WS_CHANNEL_PROPERTY_KEEP_ALIVE_INTERVAL = 31, + WS_CHANNEL_PROPERTY_MAX_HTTP_SERVER_CONNECTIONS = 32, + WS_CHANNEL_PROPERTY_IS_SESSION_SHUT_DOWN = 33, + WS_CHANNEL_PROPERTY_CHANNEL_TYPE = 34, + WS_CHANNEL_PROPERTY_TRIM_BUFFERED_MESSAGE_SIZE = 35, + WS_CHANNEL_PROPERTY_ENCODER = 36, + WS_CHANNEL_PROPERTY_DECODER = 37, + WS_CHANNEL_PROPERTY_PROTECTION_LEVEL = 38, + WS_CHANNEL_PROPERTY_COOKIE_MODE = 39, + WS_CHANNEL_PROPERTY_HTTP_PROXY_SETTING_MODE = 40, + WS_CHANNEL_PROPERTY_CUSTOM_HTTP_PROXY = 41, + WS_CHANNEL_PROPERTY_HTTP_MESSAGE_MAPPING = 42, + WS_CHANNEL_PROPERTY_ENABLE_HTTP_REDIRECT = 43, + WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT = 44, + WS_CHANNEL_PROPERTY_FAULTS_AS_ERRORS = 45, + WS_CHANNEL_PROPERTY_ALLOW_UNSECURED_FAULTS = 46, + WS_CHANNEL_PROPERTY_HTTP_SERVER_SPN = 47, + WS_CHANNEL_PROPERTY_HTTP_PROXY_SPN = 48, + WS_CHANNEL_PROPERTY_MAX_HTTP_REQUEST_HEADERS_BUFFER_SIZE = 49 +} WS_CHANNEL_PROPERTY_ID; + +struct _WS_CHANNEL_PROPERTY { + WS_CHANNEL_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +struct _WS_CHANNEL_PROPERTIES { + WS_CHANNEL_PROPERTY *properties; + ULONG propertyCount; +}; + +typedef enum { + WS_HTTP_CHANNEL_BINDING, + WS_TCP_CHANNEL_BINDING, + WS_UDP_CHANNEL_BINDING, + WS_CUSTOM_CHANNEL_BINDING, + WS_NAMEDPIPE_CHANNEL_BINDING +} WS_CHANNEL_BINDING; + +typedef enum { + WS_SSL_TRANSPORT_SECURITY_BINDING_TYPE, + WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TYPE, + WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TYPE, + WS_USERNAME_MESSAGE_SECURITY_BINDING_TYPE, + WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TYPE, + WS_XML_TOKEN_MESSAGE_SECURITY_BINDING_TYPE, + WS_SAML_MESSAGE_SECURITY_BINDING_TYPE, + WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TYPE, + WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING_TYPE +} WS_SECURITY_BINDING_TYPE; + +typedef enum { + WS_SECURITY_BINDING_PROPERTY_REQUIRE_SSL_CLIENT_CERT = 1, + WS_SECURITY_BINDING_PROPERTY_WINDOWS_INTEGRATED_AUTH_PACKAGE = 2, + WS_SECURITY_BINDING_PROPERTY_REQUIRE_SERVER_AUTH = 3, + WS_SECURITY_BINDING_PROPERTY_ALLOW_ANONYMOUS_CLIENTS = 4, + WS_SECURITY_BINDING_PROPERTY_ALLOWED_IMPERSONATION_LEVEL = 5, + WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME = 6, + WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET = 7, + WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_BASIC_REALM = 8, + WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_REALM = 9, + WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_DOMAIN = 10, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_SIZE = 11, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_ENTROPY_MODE = 12, + WS_SECURITY_BINDING_PROPERTY_MESSAGE_PROPERTIES = 13, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_PENDING_CONTEXTS = 14, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_ACTIVE_CONTEXTS = 15, + WS_SECURITY_BINDING_PROPERTY_SECURE_CONVERSATION_VERSION = 16, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_SUPPORT_RENEW = 17, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_RENEWAL_INTERVAL = 18, + WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_ROLLOVER_INTERVAL = 19, + WS_SECURITY_BINDING_PROPERTY_CERT_FAILURES_TO_IGNORE = 20, + WS_SECURITY_BINDING_PROPERTY_DISABLE_CERT_REVOCATION_CHECK = 21, + WS_SECURITY_BINDING_PROPERTY_DISALLOWED_SECURE_PROTOCOLS = 22, + WS_SECURITY_BINDING_PROPERTY_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT = 23 +} WS_SECURITY_BINDING_PROPERTY_ID; + +struct _WS_SECURITY_BINDING_PROPERTY { + WS_SECURITY_BINDING_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +struct _WS_SECURITY_BINDING_PROPERTIES { + WS_SECURITY_BINDING_PROPERTY *properties; + ULONG propertyCount; +}; + +struct _WS_SECURITY_BINDING { + WS_SECURITY_BINDING_TYPE bindingType; + WS_SECURITY_BINDING_PROPERTY *properties; + ULONG propertyCount; +}; + +typedef enum { + WS_SECURITY_PROPERTY_TRANSPORT_PROTECTION_LEVEL = 1, + WS_SECURITY_PROPERTY_ALGORITHM_SUITE = 2, + WS_SECURITY_PROPERTY_ALGORITHM_SUITE_NAME = 3, + WS_SECURITY_PROPERTY_MAX_ALLOWED_LATENCY = 4, + WS_SECURITY_PROPERTY_TIMESTAMP_VALIDITY_DURATION = 5, + WS_SECURITY_PROPERTY_MAX_ALLOWED_CLOCK_SKEW = 6, + WS_SECURITY_PROPERTY_TIMESTAMP_USAGE = 7, + WS_SECURITY_PROPERTY_SECURITY_HEADER_LAYOUT = 8, + WS_SECURITY_PROPERTY_SECURITY_HEADER_VERSION = 9, + WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_POLICY = 10, + WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_SCENARIO = 11, + WS_SECURITY_PROPERTY_SERVICE_IDENTITIES = 12 +} WS_SECURITY_PROPERTY_ID; + +struct _WS_SECURITY_PROPERTY { + WS_SECURITY_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +struct _WS_SECURITY_PROPERTIES { + WS_SECURITY_PROPERTY *properties; + ULONG propertyCount; +}; + +struct _WS_SECURITY_DESCRIPTION { + WS_SECURITY_BINDING **securityBindings; + ULONG securityBindingCount; + WS_SECURITY_PROPERTY *properties; + ULONG propertyCount; +}; + +typedef enum { + WS_HTTP_BINDING_TEMPLATE_TYPE, + WS_HTTP_SSL_BINDING_TEMPLATE_TYPE, + WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE_TYPE, + WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE_TYPE, + WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE_TYPE, + WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE, + WS_TCP_BINDING_TEMPLATE_TYPE, + WS_TCP_SSPI_BINDING_TEMPLATE_TYPE, + WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE_TYPE, + WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE, + WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE, + WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE, + WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE, + WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE +} WS_BINDING_TEMPLATE_TYPE; + +typedef enum { + WS_SUBJECT_NAME_CERT_CREDENTIAL_TYPE = 1, + WS_THUMBPRINT_CERT_CREDENTIAL_TYPE = 2, + WS_CUSTOM_CERT_CREDENTIAL_TYPE = 3 +} WS_CERT_CREDENTIAL_TYPE; + +struct _WS_CERT_CREDENTIAL { + WS_CERT_CREDENTIAL_TYPE credentialType; +}; + +struct _WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE { + WS_SECURITY_BINDING_PROPERTIES securityBindingProperties; + WS_CERT_CREDENTIAL *localCertCredential; +}; + +struct _WS_HTTP_BINDING_TEMPLATE { + WS_CHANNEL_PROPERTIES channelProperties; +}; + +struct _WS_HTTP_SSL_BINDING_TEMPLATE { + WS_CHANNEL_PROPERTIES channelProperties; + WS_SECURITY_PROPERTIES securityProperties; + WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE sslTransportSecurityBinding; +}; + +enum { + WS_MUST_UNDERSTAND_HEADER_ATTRIBUTE = 0x1, + WS_RELAY_HEADER_ATTRIBUTE = 0x2 +}; + +typedef enum { + WS_ADDRESSING_VERSION_0_9 = 1, + WS_ADDRESSING_VERSION_1_0 = 2, + WS_ADDRESSING_VERSION_TRANSPORT = 3 +} WS_ADDRESSING_VERSION; + +typedef enum { + WS_ENVELOPE_VERSION_SOAP_1_1 = 1, + WS_ENVELOPE_VERSION_SOAP_1_2 = 2, + WS_ENVELOPE_VERSION_NONE = 3 +} WS_ENVELOPE_VERSION; + +typedef enum { + WS_MESSAGE_PROPERTY_STATE, + WS_MESSAGE_PROPERTY_HEAP, + WS_MESSAGE_PROPERTY_ENVELOPE_VERSION, + WS_MESSAGE_PROPERTY_ADDRESSING_VERSION, + WS_MESSAGE_PROPERTY_HEADER_BUFFER, + WS_MESSAGE_PROPERTY_HEADER_POSITION, + WS_MESSAGE_PROPERTY_BODY_READER, + WS_MESSAGE_PROPERTY_BODY_WRITER, + WS_MESSAGE_PROPERTY_IS_ADDRESSED, + WS_MESSAGE_PROPERTY_HEAP_PROPERTIES, + WS_MESSAGE_PROPERTY_XML_READER_PROPERTIES, + WS_MESSAGE_PROPERTY_XML_WRITER_PROPERTIES, + WS_MESSAGE_PROPERTY_IS_FAULT, + WS_MESSAGE_PROPERTY_MAX_PROCESSED_HEADERS, + WS_MESSAGE_PROPERTY_USERNAME, + WS_MESSAGE_PROPERTY_ENCODED_CERT, + WS_MESSAGE_PROPERTY_TRANSPORT_SECURITY_WINDOWS_TOKEN, + WS_MESSAGE_PROPERTY_HTTP_HEADER_AUTH_WINDOWS_TOKEN, + WS_MESSAGE_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN, + WS_MESSAGE_PROPERTY_SAML_ASSERTION, + WS_MESSAGE_PROPERTY_SECURITY_CONTEXT, + WS_MESSAGE_PROPERTY_PROTECTION_LEVEL +} WS_MESSAGE_PROPERTY_ID; + +struct _WS_MESSAGE_PROPERTY { + WS_MESSAGE_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +struct _WS_MESSAGE_PROPERTIES { + WS_MESSAGE_PROPERTY *properties; + ULONG propertyCount; +}; + +typedef enum { + WS_MESSAGE_STATE_EMPTY = 1, + WS_MESSAGE_STATE_INITIALIZED = 2, + WS_MESSAGE_STATE_READING = 3, + WS_MESSAGE_STATE_WRITING = 4, + WS_MESSAGE_STATE_DONE = 5 +} WS_MESSAGE_STATE; + +typedef enum { + WS_BLANK_MESSAGE, + WS_DUPLICATE_MESSAGE, + WS_REQUEST_MESSAGE, + WS_REPLY_MESSAGE, + WS_FAULT_MESSAGE +} WS_MESSAGE_INITIALIZATION; + +typedef enum { + WS_ACTION_HEADER = 1, + WS_TO_HEADER = 2, + WS_MESSAGE_ID_HEADER = 3, + WS_RELATES_TO_HEADER = 4, + WS_FROM_HEADER = 5, + WS_REPLY_TO_HEADER = 6, + WS_FAULT_TO_HEADER = 7 +} WS_HEADER_TYPE; + +typedef enum { + WS_REPEATING_HEADER = 1, + WS_SINGLETON_HEADER = 2 +} WS_REPEATING_HEADER_OPTION; + +typedef enum { + WS_DNS_ENDPOINT_IDENTITY_TYPE = 1, + WS_UPN_ENDPOINT_IDENTITY_TYPE = 2, + WS_SPN_ENDPOINT_IDENTITY_TYPE = 3, + WS_RSA_ENDPOINT_IDENTITY_TYPE = 4, + WS_CERT_ENDPOINT_IDENTITY_TYPE = 5, + WS_UNKNOWN_ENDPOINT_IDENTITY_TYPE = 6 +} WS_ENDPOINT_IDENTITY_TYPE; + +struct _WS_ENDPOINT_IDENTITY { + WS_ENDPOINT_IDENTITY_TYPE identityType; +}; + +struct _WS_ENDPOINT_ADDRESS { + WS_STRING url; + WS_XML_BUFFER *headers; + WS_XML_BUFFER *extensions; + WS_ENDPOINT_IDENTITY *identity; +}; + +struct _WS_HTTP_POLICY_DESCRIPTION { + WS_CHANNEL_PROPERTIES channelProperties; +}; + +struct _WS_MESSAGE_DESCRIPTION { + WS_XML_STRING *action; + WS_ELEMENT_DESCRIPTION *bodyElementDescription; +}; + +typedef enum { + WS_PARAMETER_TYPE_NORMAL, + WS_PARAMETER_TYPE_ARRAY, + WS_PARAMETER_TYPE_ARRAY_COUNT, + WS_PARAMETER_TYPE_MESSAGES +} WS_PARAMETER_TYPE; + +struct _WS_PARAMETER_DESCRIPTION { + WS_PARAMETER_TYPE parameterType; + USHORT inputMessageIndex; + USHORT outputMessageIndex; +}; + +typedef HRESULT (CALLBACK *WS_SERVICE_STUB_CALLBACK)( + const WS_OPERATION_CONTEXT *context, + void *frame, + const void *callback, + const WS_ASYNC_CONTEXT *asyncContext, + WS_ERROR *error ); + +typedef enum { + WS_NON_RPC_LITERAL_OPERATION, + WS_RPC_LITERAL_OPERATION +} WS_OPERATION_STYLE; + +struct _WS_OPERATION_DESCRIPTION { + ULONG versionInfo; + WS_MESSAGE_DESCRIPTION *inputMessageDescription; + WS_MESSAGE_DESCRIPTION *outputMessageDescription; + ULONG inputMessageOptions; + ULONG outputMessageOptions; + USHORT parameterCount; + WS_PARAMETER_DESCRIPTION *parameterDescription; + WS_SERVICE_STUB_CALLBACK stubCallback; + WS_OPERATION_STYLE style; +}; + +typedef enum { + WS_CALL_PROPERTY_CHECK_MUST_UNDERSTAND, + WS_CALL_PROPERTY_SEND_MESSAGE_CONTEXT, + WS_CALL_PROPERTY_RECEIVE_MESSAGE_CONTEXT, + WS_CALL_PROPERTY_CALL_ID +} WS_CALL_PROPERTY_ID; + +struct _WS_CALL_PROPERTY { + WS_CALL_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +typedef enum { + WS_DATETIME_FORMAT_UTC, + WS_DATETIME_FORMAT_LOCAL, + WS_DATETIME_FORMAT_NONE +} WS_DATETIME_FORMAT; + +struct _WS_DATETIME { + unsigned __int64 DECLSPEC_ALIGN(8) ticks; + WS_DATETIME_FORMAT format; +}; + +struct _WS_DATETIME_DESCRIPTION { + WS_DATETIME minValue; + WS_DATETIME maxValue; +}; + +struct _WS_XML_DATETIME_TEXT { + WS_XML_TEXT text; + WS_DATETIME value; +}; + +struct _WS_XML_BASE64_TEXT { + WS_XML_TEXT text; + BYTE *bytes; + ULONG length; +}; + +typedef enum { + WS_URL_HTTP_SCHEME_TYPE, + WS_URL_HTTPS_SCHEME_TYPE, + WS_URL_NETTCP_SCHEME_TYPE, + WS_URL_SOAPUDP_SCHEME_TYPE, + WS_URL_NETPIPE_SCHEME_TYPE +} WS_URL_SCHEME_TYPE; + +enum { + WS_URL_FLAGS_ALLOW_HOST_WILDCARDS = 0x1, + WS_URL_FLAGS_NO_PATH_COLLAPSE = 0x2, + WS_URL_FLAGS_ZERO_TERMINATE = 0x4 +}; + +struct _WS_URL { + WS_URL_SCHEME_TYPE scheme; +}; + +struct _WS_HTTP_URL { + WS_URL url; + WS_STRING host; + USHORT port; + WS_STRING portAsString; + WS_STRING path; + WS_STRING query; + WS_STRING fragment; +}; + +struct _WS_HTTPS_URL { + WS_URL url; + WS_STRING host; + USHORT port; + WS_STRING portAsString; + WS_STRING path; + WS_STRING query; + WS_STRING fragment; +}; + +struct _WS_NETTCP_URL { + WS_URL url; + WS_STRING host; + USHORT port; + WS_STRING portAsString; + WS_STRING path; + WS_STRING query; + WS_STRING fragment; +}; + +struct _WS_SOAPUDP_URL { + WS_URL url; + WS_STRING host; + USHORT port; + WS_STRING portAsString; + WS_STRING path; + WS_STRING query; + WS_STRING fragment; +}; + +struct _WS_NETPIPE_URL { + WS_URL url; + WS_STRING host; + USHORT port; + WS_STRING portAsString; + WS_STRING path; + WS_STRING query; + WS_STRING fragment; +}; + +typedef enum +{ + WS_IP_VERSION_4 = 1, + WS_IP_VERSION_6 = 2, + WS_IP_VERSION_AUTO = 3 +} WS_IP_VERSION; + +typedef enum +{ + WS_BUFFERED_TRANSFER_MODE = 0x0, + WS_STREAMED_INPUT_TRANSFER_MODE = 0x1, + WS_STREAMED_OUTPUT_TRANSFER_MODE = 0x2, + WS_STREAMED_TRANSFER_MODE = (WS_STREAMED_INPUT_TRANSFER_MODE|WS_STREAMED_OUTPUT_TRANSFER_MODE) +} WS_TRANSFER_MODE; + +typedef HRESULT (CALLBACK *WS_CREATE_CHANNEL_CALLBACK) + (WS_CHANNEL_TYPE, const void*, ULONG, void**, WS_ERROR*); + +typedef void (CALLBACK *WS_FREE_CHANNEL_CALLBACK) + (void*); + +typedef HRESULT (CALLBACK *WS_RESET_CHANNEL_CALLBACK) + (void*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_OPEN_CHANNEL_CALLBACK) + (void*, const WS_ENDPOINT_ADDRESS*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_CLOSE_CHANNEL_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ABORT_CHANNEL_CALLBACK) + (void*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_GET_CHANNEL_PROPERTY_CALLBACK) + (void*, WS_CHANNEL_PROPERTY_ID, void*, ULONG, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_SET_CHANNEL_PROPERTY_CALLBACK) + (void*, WS_CHANNEL_PROPERTY_ID, const void*, ULONG, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_WRITE_MESSAGE_START_CALLBACK) + (void*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_WRITE_MESSAGE_END_CALLBACK) + (void*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_READ_MESSAGE_START_CALLBACK) + (void*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_READ_MESSAGE_END_CALLBACK) + (void*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ABANDON_MESSAGE_CALLBACK) + (void*, WS_MESSAGE*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +struct _WS_CUSTOM_CHANNEL_CALLBACKS +{ + WS_CREATE_CHANNEL_CALLBACK createChannelCallback; + WS_FREE_CHANNEL_CALLBACK freeChannelCallback; + WS_RESET_CHANNEL_CALLBACK resetChannelCallback; + WS_OPEN_CHANNEL_CALLBACK openChannelCallback; + WS_CLOSE_CHANNEL_CALLBACK closeChannelCallback; + WS_ABORT_CHANNEL_CALLBACK abortChannelCallback; + WS_GET_CHANNEL_PROPERTY_CALLBACK getChannelPropertyCallback; + WS_SET_CHANNEL_PROPERTY_CALLBACK setChannelPropertyCallback; + WS_WRITE_MESSAGE_START_CALLBACK writeMessageStartCallback; + WS_WRITE_MESSAGE_END_CALLBACK writeMessageEndCallback; + WS_READ_MESSAGE_START_CALLBACK readMessageStartCallback; + WS_READ_MESSAGE_END_CALLBACK readMessageEndCallback; + WS_ABANDON_MESSAGE_CALLBACK abandonMessageCallback; + WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK shutdownSessionChannelCallback; +}; + +typedef HRESULT (CALLBACK *WS_CREATE_ENCODER_CALLBACK) + (void*, WS_WRITE_CALLBACK, void*, void**, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ENCODER_GET_CONTENT_TYPE_CALLBACK) + (void*, const WS_STRING*, WS_STRING*, WS_STRING*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ENCODER_START_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ENCODER_ENCODE_CALLBACK) + (void*, const WS_BYTES*, ULONG, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ENCODER_END_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef void (CALLBACK *WS_FREE_ENCODER_CALLBACK) + (void*); + +struct _WS_CHANNEL_ENCODER +{ + void *createContext; + WS_CREATE_ENCODER_CALLBACK createEncoderCallback; + WS_ENCODER_GET_CONTENT_TYPE_CALLBACK encoderGetContentTypeCallback; + WS_ENCODER_START_CALLBACK encoderStartCallback; + WS_ENCODER_ENCODE_CALLBACK encoderEncodeCallback; + WS_ENCODER_END_CALLBACK encoderEndCallback; + WS_FREE_ENCODER_CALLBACK freeEncoderCallback; +}; + +typedef HRESULT (CALLBACK *WS_CREATE_DECODER_CALLBACK) + (void*, WS_READ_CALLBACK, void*, void**, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_DECODER_GET_CONTENT_TYPE_CALLBACK) + (void*, const WS_STRING*, const WS_STRING*, WS_STRING*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_DECODER_START_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_DECODER_DECODE_CALLBACK) + (void*, void*, ULONG, ULONG*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_DECODER_END_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef void (CALLBACK *WS_FREE_DECODER_CALLBACK) + (void*); + +struct _WS_CHANNEL_DECODER +{ + void *createContext; + WS_CREATE_DECODER_CALLBACK createDecoderCallback; + WS_DECODER_GET_CONTENT_TYPE_CALLBACK decoderGetContentTypeCallback; + WS_DECODER_START_CALLBACK decoderStartCallback; + WS_DECODER_DECODE_CALLBACK decoderDecodeCallback; + WS_DECODER_END_CALLBACK decoderEndCallback; + WS_FREE_DECODER_CALLBACK freeDecoderCallback; +}; + +typedef enum +{ + WS_PROTECTION_LEVEL_NONE = 1, + WS_PROTECTION_LEVEL_SIGN = 2, + WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT = 3 +} WS_PROTECTION_LEVEL; + +typedef enum +{ + WS_MANUAL_COOKIE_MODE = 1, + WS_AUTO_COOKIE_MODE = 2 +} WS_COOKIE_MODE; + +typedef enum +{ + WS_HTTP_PROXY_SETTING_MODE_AUTO = 0x1, + WS_HTTP_PROXY_SETTING_MODE_NONE = 0x2, + WS_HTTP_PROXY_SETTING_MODE_CUSTOM = 0x3 +} WS_HTTP_PROXY_SETTING_MODE; + +struct _WS_CUSTOM_HTTP_PROXY +{ + WS_STRING servers; + WS_STRING bypass; +}; + +struct _WS_HTTP_HEADER_MAPPING +{ + WS_XML_STRING headerName; + ULONG headerMappingOptions; +}; + +struct _WS_HTTP_MESSAGE_MAPPING +{ + ULONG requestMappingOptions; + ULONG responseMappingOptions; + WS_HTTP_HEADER_MAPPING **requestHeaderMappings; + ULONG requestHeaderMappingCount; + WS_HTTP_HEADER_MAPPING **responseHeaderMappings; + ULONG responseHeaderMappingCount; +}; + +typedef HRESULT (CALLBACK *WS_HTTP_REDIRECT_CALLBACK) + (void*, const WS_STRING*, const WS_STRING*); + +struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT +{ + WS_HTTP_REDIRECT_CALLBACK callback; + void *state; +}; + +typedef enum +{ + WS_RECEIVE_REQUIRED_MESSAGE = 1, + WS_RECEIVE_OPTIONAL_MESSAGE = 2 +} WS_RECEIVE_OPTION; + +typedef void (CALLBACK *WS_MESSAGE_DONE_CALLBACK) + (void*); + +typedef HRESULT (CALLBACK *WS_PROXY_MESSAGE_CALLBACK) + (WS_MESSAGE*, WS_HEAP*, void*, WS_ERROR*); + +struct _WS_PROXY_MESSAGE_CALLBACK_CONTEXT +{ + WS_PROXY_MESSAGE_CALLBACK callback; + void *state; +}; + +typedef enum +{ + WS_LISTENER_STATE_CREATED, + WS_LISTENER_STATE_OPENING, + WS_LISTENER_STATE_OPEN, + WS_LISTENER_STATE_FAULTED, + WS_LISTENER_STATE_CLOSING, + WS_LISTENER_STATE_CLOSED +} WS_LISTENER_STATE; + +typedef enum +{ + WS_LISTENER_PROPERTY_LISTEN_BACKLOG, + WS_LISTENER_PROPERTY_IP_VERSION, + WS_LISTENER_PROPERTY_STATE, + WS_LISTENER_PROPERTY_ASYNC_CALLBACK_MODEL, + WS_LISTENER_PROPERTY_CHANNEL_TYPE, + WS_LISTENER_PROPERTY_CHANNEL_BINDING, + WS_LISTENER_PROPERTY_CONNECT_TIMEOUT, + WS_LISTENER_PROPERTY_IS_MULTICAST, + WS_LISTENER_PROPERTY_MULTICAST_INTERFACES, + WS_LISTENER_PROPERTY_MULTICAST_LOOPBACK, + WS_LISTENER_PROPERTY_CLOSE_TIMEOUT, + WS_LISTENER_PROPERTY_TO_HEADER_MATCHING_OPTIONS, + WS_LISTENER_PROPERTY_TRANSPORT_URL_MATCHING_OPTIONS, + WS_LISTENER_PROPERTY_CUSTOM_LISTENER_CALLBACKS, + WS_LISTENER_PROPERTY_CUSTOM_LISTENER_PARAMETERS, + WS_LISTENER_PROPERTY_CUSTOM_LISTENER_INSTANCE, + WS_LISTENER_PROPERTY_DISALLOWED_USER_AGENT +} WS_LISTENER_PROPERTY_ID; + +struct _WS_LISTENER_PROPERTY +{ + WS_LISTENER_PROPERTY_ID id; + void *value; + ULONG valueSize; +}; + +struct _WS_DISALLOWED_USER_AGENT_SUBSTRINGS +{ + ULONG subStringCount; + WS_STRING **subStrings; +}; + +struct _WS_LISTENER_PROPERTIES +{ + WS_LISTENER_PROPERTY *properties; + ULONG propertyCount; +}; + +typedef HRESULT (CALLBACK *WS_CREATE_LISTENER_CALLBACK) + (WS_CHANNEL_TYPE, const void*, ULONG, void**, WS_ERROR*); + +typedef void (CALLBACK *WS_FREE_LISTENER_CALLBACK) + (void*); + +typedef HRESULT (CALLBACK *WS_RESET_LISTENER_CALLBACK) + (void*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_OPEN_LISTENER_CALLBACK) + (void*, const WS_STRING*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_CLOSE_LISTENER_CALLBACK) + (void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ABORT_LISTENER_CALLBACK) + (void*, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_GET_LISTENER_PROPERTY_CALLBACK) + (void*, WS_LISTENER_PROPERTY_ID, void*, ULONG, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_SET_LISTENER_PROPERTY_CALLBACK) + (void*, WS_LISTENER_PROPERTY_ID, const void*, ULONG, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK) + (void*, const void*, ULONG, void**, WS_ERROR*); + +typedef HRESULT (CALLBACK *WS_ACCEPT_CHANNEL_CALLBACK) + (void*, void*, const WS_ASYNC_CONTEXT*, WS_ERROR*); + +struct _WS_CUSTOM_LISTENER_CALLBACKS +{ + WS_CREATE_LISTENER_CALLBACK createListenerCallback; + WS_FREE_LISTENER_CALLBACK freeListenerCallback; + WS_RESET_LISTENER_CALLBACK resetListenerCallback; + WS_OPEN_LISTENER_CALLBACK openListenerCallback; + WS_CLOSE_LISTENER_CALLBACK closeListenerCallback; + WS_ABORT_LISTENER_CALLBACK abortListenerCallback; + WS_GET_LISTENER_PROPERTY_CALLBACK getListenerPropertyCallback; + WS_SET_LISTENER_PROPERTY_CALLBACK setListenerPropertyCallback; + WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK createChannelForListenerCallback; + WS_ACCEPT_CHANNEL_CALLBACK acceptChannelCallback; +}; + +enum +{ + WS_MATCH_URL_DNS_HOST = 0x1, + WS_MATCH_URL_DNS_FULLY_QUALIFIED_HOST = 0x2, + WS_MATCH_URL_NETBIOS_HOST = 0x4, + WS_MATCH_URL_LOCAL_HOST = 0x8, + WS_MATCH_URL_HOST_ADDRESSES = 0x10, + WS_MATCH_URL_THIS_HOST = (WS_MATCH_URL_DNS_HOST | + WS_MATCH_URL_DNS_FULLY_QUALIFIED_HOST | + WS_MATCH_URL_NETBIOS_HOST | + WS_MATCH_URL_LOCAL_HOST | + WS_MATCH_URL_HOST_ADDRESSES), + WS_MATCH_URL_PORT = 0x20, + WS_MATCH_URL_EXACT_PATH = 0x40, + WS_MATCH_URL_PREFIX_PATH = 0x80, + WS_MATCH_URL_NO_QUERY = 0x100 +}; + +HRESULT WINAPI WsAbortServiceProxy(WS_SERVICE_PROXY*, WS_ERROR*); +HRESULT WINAPI WsAcceptChannel(WS_LISTENER*, WS_CHANNEL*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsAddCustomHeader(WS_MESSAGE*, const WS_ELEMENT_DESCRIPTION*, WS_WRITE_OPTION, + const void*, ULONG, ULONG, WS_ERROR*); +HRESULT WINAPI WsAddMappedHeader(WS_MESSAGE*, const WS_XML_STRING*, WS_TYPE, WS_WRITE_OPTION, + const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsAddressMessage(WS_MESSAGE*, const WS_ENDPOINT_ADDRESS*, WS_ERROR*); +HRESULT WINAPI WsAlloc(WS_HEAP*, SIZE_T, void**, WS_ERROR*); +HRESULT WINAPI WsCall(WS_SERVICE_PROXY*, const WS_OPERATION_DESCRIPTION*, const void**, + WS_HEAP*, const WS_CALL_PROPERTY*, const ULONG, const WS_ASYNC_CONTEXT*, + WS_ERROR*); +HRESULT WINAPI WsCloseChannel(WS_CHANNEL*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsCloseListener(WS_LISTENER*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsCloseServiceProxy(WS_SERVICE_PROXY*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsCombineUrl(const WS_STRING*, const WS_STRING*, ULONG, WS_HEAP*, WS_STRING*, WS_ERROR*); +HRESULT WINAPI WsCopyNode(WS_XML_WRITER*, WS_XML_READER*, WS_ERROR*); +HRESULT WINAPI WsCreateChannel(WS_CHANNEL_TYPE, WS_CHANNEL_BINDING, const WS_CHANNEL_PROPERTY*, + ULONG, const WS_SECURITY_DESCRIPTION*, WS_CHANNEL**, WS_ERROR*); +HRESULT WINAPI WsCreateChannelForListener(WS_LISTENER*, const WS_CHANNEL_PROPERTY*, ULONG, WS_CHANNEL**, + WS_ERROR*); +HRESULT WINAPI WsCreateError(const WS_ERROR_PROPERTY*, ULONG, WS_ERROR**); +HRESULT WINAPI WsCreateHeap(SIZE_T, SIZE_T, const WS_HEAP_PROPERTY*, ULONG, WS_HEAP**, WS_ERROR*); +HRESULT WINAPI WsCreateListener(WS_CHANNEL_TYPE, WS_CHANNEL_BINDING, const WS_LISTENER_PROPERTY*, + ULONG, const WS_SECURITY_DESCRIPTION*, WS_LISTENER**, WS_ERROR*); +HRESULT WINAPI WsCreateMessage(WS_ENVELOPE_VERSION, WS_ADDRESSING_VERSION, const WS_MESSAGE_PROPERTY*, + ULONG, WS_MESSAGE**, WS_ERROR*); +HRESULT WINAPI WsCreateMessageForChannel(WS_CHANNEL*, const WS_MESSAGE_PROPERTY*, ULONG, WS_MESSAGE**, + WS_ERROR*); +HRESULT WINAPI WsCreateReader(const WS_XML_READER_PROPERTY*, ULONG, WS_XML_READER**, WS_ERROR*); +HRESULT WINAPI WsCreateServiceProxy(const WS_CHANNEL_TYPE, const WS_CHANNEL_BINDING, + const WS_SECURITY_DESCRIPTION*, const WS_PROXY_PROPERTY*, + const ULONG, const WS_CHANNEL_PROPERTY*, const ULONG, + WS_SERVICE_PROXY**, WS_ERROR*); +HRESULT WINAPI WsCreateServiceProxyFromTemplate(WS_CHANNEL_TYPE, const WS_PROXY_PROPERTY*, + const ULONG, WS_BINDING_TEMPLATE_TYPE, + void*, ULONG, const void*, ULONG, + WS_SERVICE_PROXY**, WS_ERROR*); +HRESULT WINAPI WsCreateWriter(const WS_XML_WRITER_PROPERTY*, ULONG, WS_XML_WRITER**, WS_ERROR*); +HRESULT WINAPI WsCreateXmlBuffer(WS_HEAP*, const WS_XML_BUFFER_PROPERTY*, ULONG, WS_XML_BUFFER**, + WS_ERROR*); +HRESULT WINAPI WsDateTimeToFileTime(const WS_DATETIME*, FILETIME*, WS_ERROR*); +HRESULT WINAPI WsDecodeUrl(const WS_STRING*, ULONG, WS_HEAP*, WS_URL**, WS_ERROR*); +HRESULT WINAPI WsEncodeUrl(const WS_URL*, ULONG, WS_HEAP*, WS_STRING*, WS_ERROR*); +HRESULT WINAPI WsFileTimeToDateTime(const FILETIME*, WS_DATETIME*, WS_ERROR*); +HRESULT WINAPI WsFillReader(WS_XML_READER*, ULONG, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsFindAttribute(WS_XML_READER*, const WS_XML_STRING*, const WS_XML_STRING*, BOOL, + ULONG*, WS_ERROR*); +void WINAPI WsFreeChannel(WS_CHANNEL*); +void WINAPI WsFreeError(WS_ERROR*); +void WINAPI WsFreeHeap(WS_HEAP*); +void WINAPI WsFreeListener(WS_LISTENER*); +void WINAPI WsFreeMessage(WS_MESSAGE*); +void WINAPI WsFreeReader(WS_XML_READER*); +void WINAPI WsFreeServiceProxy(WS_SERVICE_PROXY*); +void WINAPI WsFreeWriter(WS_XML_WRITER*); +HRESULT WINAPI WsGetChannelProperty(WS_CHANNEL*, WS_CHANNEL_PROPERTY_ID, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetCustomHeader(WS_MESSAGE*, const WS_ELEMENT_DESCRIPTION*, WS_REPEATING_HEADER_OPTION, + ULONG, WS_READ_OPTION, WS_HEAP*, void*, ULONG, ULONG*, WS_ERROR*); +HRESULT WINAPI WsGetDictionary(WS_ENCODING, WS_XML_DICTIONARY**, WS_ERROR*); +HRESULT WINAPI WsGetErrorProperty(WS_ERROR*, WS_ERROR_PROPERTY_ID, void*, ULONG); +HRESULT WINAPI WsGetErrorString(WS_ERROR*, ULONG, WS_STRING*); +HRESULT WINAPI WsGetHeader(WS_MESSAGE*, WS_HEADER_TYPE, WS_TYPE, WS_READ_OPTION, WS_HEAP*, void*, + ULONG, WS_ERROR*); +HRESULT WINAPI WsGetHeapProperty(WS_HEAP*, WS_HEAP_PROPERTY_ID, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetListenerProperty(WS_LISTENER*, WS_LISTENER_PROPERTY_ID, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetMappedHeader(WS_MESSAGE*, const WS_XML_STRING*, WS_REPEATING_HEADER_OPTION, + ULONG, WS_TYPE, WS_READ_OPTION, WS_HEAP*, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetMessageProperty(WS_MESSAGE*, WS_MESSAGE_PROPERTY_ID, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetNamespaceFromPrefix(WS_XML_READER*, const WS_XML_STRING*, BOOL, + const WS_XML_STRING**, WS_ERROR*); +HRESULT WINAPI WsGetPrefixFromNamespace(WS_XML_WRITER*, const WS_XML_STRING*, BOOL, + const WS_XML_STRING**, WS_ERROR*); +HRESULT WINAPI WsGetReaderNode(WS_XML_READER*, const WS_XML_NODE**, WS_ERROR*); +HRESULT WINAPI WsGetReaderPosition(WS_XML_READER*, WS_XML_NODE_POSITION*, WS_ERROR*); +HRESULT WINAPI WsGetReaderProperty(WS_XML_READER*, WS_XML_READER_PROPERTY_ID, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetServiceProxyProperty(WS_SERVICE_PROXY*, const WS_PROXY_PROPERTY_ID, void*, + ULONG, WS_ERROR*); +HRESULT WINAPI WsGetWriterPosition(WS_XML_WRITER*, WS_XML_NODE_POSITION*, WS_ERROR*); +HRESULT WINAPI WsGetWriterProperty(WS_XML_WRITER*, WS_XML_WRITER_PROPERTY_ID, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsGetXmlAttribute(WS_XML_READER*, const WS_XML_STRING*, WS_HEAP*, WCHAR**, + ULONG*, WS_ERROR*); +HRESULT WINAPI WsInitializeMessage(WS_MESSAGE*, WS_MESSAGE_INITIALIZATION, WS_MESSAGE*, WS_ERROR*); +HRESULT WINAPI WsMoveReader(WS_XML_READER*, WS_MOVE_TO, BOOL*, WS_ERROR*); +HRESULT WINAPI WsMoveWriter(WS_XML_WRITER*, WS_MOVE_TO, BOOL*, WS_ERROR*); +HRESULT WINAPI WsOpenChannel(WS_CHANNEL*, const WS_ENDPOINT_ADDRESS*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsOpenListener(WS_LISTENER*, WS_STRING*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsOpenServiceProxy(WS_SERVICE_PROXY*, const WS_ENDPOINT_ADDRESS*, const WS_ASYNC_CONTEXT*, + WS_ERROR*); +HRESULT WINAPI WsReadAttribute(WS_XML_READER*, const WS_ATTRIBUTE_DESCRIPTION*, WS_READ_OPTION, + WS_HEAP*, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsReadBody(WS_MESSAGE*, const WS_ELEMENT_DESCRIPTION*, WS_READ_OPTION, WS_HEAP*, void*, + ULONG, WS_ERROR*); +HRESULT WINAPI WsReadBytes(WS_XML_READER*, void*, ULONG, ULONG*, WS_ERROR*); +HRESULT WINAPI WsReadChars(WS_XML_READER*, WCHAR*, ULONG, ULONG*, WS_ERROR*); +HRESULT WINAPI WsReadCharsUtf8(WS_XML_READER*, BYTE*, ULONG, ULONG*, WS_ERROR*); +HRESULT WINAPI WsReadElement(WS_XML_READER*, const WS_ELEMENT_DESCRIPTION*, WS_READ_OPTION, + WS_HEAP*, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsReadEndAttribute(WS_XML_READER*, WS_ERROR*); +HRESULT WINAPI WsReadEndElement(WS_XML_READER*, WS_ERROR*); +HRESULT WINAPI WsReadEnvelopeEnd(WS_MESSAGE*, WS_ERROR*); +HRESULT WINAPI WsReadEnvelopeStart(WS_MESSAGE*, WS_XML_READER*, WS_MESSAGE_DONE_CALLBACK, void*, + WS_ERROR*); +HRESULT WINAPI WsReadMessageEnd(WS_CHANNEL*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsReadMessageStart(WS_CHANNEL*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsReadNode(WS_XML_READER*, WS_ERROR*); +HRESULT WINAPI WsReadQualifiedName(WS_XML_READER*, WS_HEAP*, WS_XML_STRING*, WS_XML_STRING*, + WS_XML_STRING*, WS_ERROR*); +HRESULT WINAPI WsReadStartAttribute(WS_XML_READER*, ULONG, WS_ERROR*); +HRESULT WINAPI WsReadStartElement(WS_XML_READER*, WS_ERROR*); +HRESULT WINAPI WsReadToStartElement(WS_XML_READER*, const WS_XML_STRING*, const WS_XML_STRING*, + BOOL*, WS_ERROR*); +HRESULT WINAPI WsReadType(WS_XML_READER*, WS_TYPE_MAPPING, WS_TYPE, const void*, WS_READ_OPTION, + WS_HEAP*, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsReadValue(WS_XML_READER*, WS_VALUE_TYPE, void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsReadXmlBuffer(WS_XML_READER*, WS_HEAP*, WS_XML_BUFFER**, WS_ERROR*); +HRESULT WINAPI WsReceiveMessage(WS_CHANNEL*, WS_MESSAGE*, const WS_MESSAGE_DESCRIPTION**, ULONG, + WS_RECEIVE_OPTION, WS_READ_OPTION, WS_HEAP*, void*, ULONG, ULONG*, + const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsRemoveCustomHeader(WS_MESSAGE*, const WS_XML_STRING*, const WS_XML_STRING*, + WS_ERROR*); +HRESULT WINAPI WsRemoveHeader(WS_MESSAGE*, WS_HEADER_TYPE, WS_ERROR*); +HRESULT WINAPI WsRemoveMappedHeader(WS_MESSAGE*, const WS_XML_STRING*, WS_ERROR*); +HRESULT WINAPI WsRemoveNode(const WS_XML_NODE_POSITION*, WS_ERROR*); +HRESULT WINAPI WsResetChannel(WS_CHANNEL*, WS_ERROR*); +HRESULT WINAPI WsResetMessage(WS_MESSAGE*, WS_ERROR*); +HRESULT WINAPI WsResetError(WS_ERROR*); +HRESULT WINAPI WsResetHeap(WS_HEAP*, WS_ERROR*); +HRESULT WINAPI WsResetListener(WS_LISTENER*, WS_ERROR*); +HRESULT WINAPI WsResetMessage(WS_MESSAGE*, WS_ERROR*); +HRESULT WINAPI WsResetServiceProxy(WS_SERVICE_PROXY*, WS_ERROR*); +HRESULT WINAPI WsRequestReply(WS_CHANNEL*, WS_MESSAGE*, const WS_MESSAGE_DESCRIPTION*, WS_WRITE_OPTION, + const void*, ULONG, WS_MESSAGE*, const WS_MESSAGE_DESCRIPTION*, + WS_READ_OPTION, WS_HEAP*, void*, ULONG, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsSendMessage(WS_CHANNEL*, WS_MESSAGE*, const WS_MESSAGE_DESCRIPTION*, WS_WRITE_OPTION, + const void*, ULONG, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsSendReplyMessage(WS_CHANNEL*, WS_MESSAGE*, const WS_MESSAGE_DESCRIPTION*, + WS_WRITE_OPTION, const void*, ULONG, WS_MESSAGE*, + const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsSetChannelProperty(WS_CHANNEL*, WS_CHANNEL_PROPERTY_ID, const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsSetErrorProperty(WS_ERROR*, WS_ERROR_PROPERTY_ID, const void*, ULONG); +HRESULT WINAPI WsSetHeader(WS_MESSAGE*, WS_HEADER_TYPE, WS_TYPE, WS_WRITE_OPTION, const void*, ULONG, + WS_ERROR*); +HRESULT WINAPI WsSetInput(WS_XML_READER*, const WS_XML_READER_ENCODING*, const WS_XML_READER_INPUT*, + const WS_XML_READER_PROPERTY*, ULONG, WS_ERROR*); +HRESULT WINAPI WsSetInputToBuffer(WS_XML_READER*, WS_XML_BUFFER*, const WS_XML_READER_PROPERTY*, + ULONG, WS_ERROR*); +HRESULT WINAPI WsSetListenerProperty(WS_LISTENER*, WS_LISTENER_PROPERTY_ID, const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsSetMessageProperty(WS_MESSAGE*, WS_MESSAGE_PROPERTY_ID, const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsSetOutput(WS_XML_WRITER*, const WS_XML_WRITER_ENCODING*, const WS_XML_WRITER_OUTPUT*, + const WS_XML_WRITER_PROPERTY*, ULONG, WS_ERROR*); +HRESULT WINAPI WsSetOutputToBuffer(WS_XML_WRITER*, WS_XML_BUFFER*, const WS_XML_WRITER_PROPERTY*, + ULONG, WS_ERROR*); +HRESULT WINAPI WsSetReaderPosition(WS_XML_READER*, const WS_XML_NODE_POSITION*, WS_ERROR*); +HRESULT WINAPI WsSetWriterPosition(WS_XML_WRITER*, const WS_XML_NODE_POSITION*, WS_ERROR*); +HRESULT WINAPI WsSkipNode(WS_XML_READER*, WS_ERROR*); +HRESULT WINAPI WsWriteArray(WS_XML_WRITER*, const WS_XML_STRING*, const WS_XML_STRING*, WS_VALUE_TYPE, + const void*, ULONG, ULONG, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteAttribute(WS_XML_WRITER*, const WS_ATTRIBUTE_DESCRIPTION*, WS_WRITE_OPTION, + const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteBody(WS_MESSAGE*, const WS_ELEMENT_DESCRIPTION*, WS_WRITE_OPTION, const void*, + ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteBytes(WS_XML_WRITER*, const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteChars(WS_XML_WRITER*, const WCHAR*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteCharsUtf8(WS_XML_WRITER*, const BYTE*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteElement(WS_XML_WRITER*, const WS_ELEMENT_DESCRIPTION*, WS_WRITE_OPTION, + const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteEndAttribute(WS_XML_WRITER*, WS_ERROR*); +HRESULT WINAPI WsWriteEndCData(WS_XML_WRITER*, WS_ERROR*); +HRESULT WINAPI WsWriteEndElement(WS_XML_WRITER*, WS_ERROR*); +HRESULT WINAPI WsWriteEndStartElement(WS_XML_WRITER*, WS_ERROR*); +HRESULT WINAPI WsWriteEnvelopeEnd(WS_MESSAGE*, WS_ERROR*); +HRESULT WINAPI WsWriteEnvelopeStart(WS_MESSAGE*, WS_XML_WRITER*, WS_MESSAGE_DONE_CALLBACK, void*, WS_ERROR*); +HRESULT WINAPI WsWriteMessageStart(WS_CHANNEL*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsWriteMessageEnd(WS_CHANNEL*, WS_MESSAGE*, const WS_ASYNC_CONTEXT*, WS_ERROR*); +HRESULT WINAPI WsWriteNode(WS_XML_WRITER*, const WS_XML_NODE*, WS_ERROR*); +HRESULT WINAPI WsWriteQualifiedName(WS_XML_WRITER*, const WS_XML_STRING*, const WS_XML_STRING*, + const WS_XML_STRING*, WS_ERROR*); +HRESULT WINAPI WsWriteStartAttribute(WS_XML_WRITER*, const WS_XML_STRING*, const WS_XML_STRING*, + const WS_XML_STRING*, BOOL, WS_ERROR*); +HRESULT WINAPI WsWriteStartCData(WS_XML_WRITER*, WS_ERROR*); +HRESULT WINAPI WsWriteStartElement(WS_XML_WRITER*, const WS_XML_STRING*, const WS_XML_STRING*, + const WS_XML_STRING*, WS_ERROR*); +HRESULT WINAPI WsWriteText(WS_XML_WRITER*, const WS_XML_TEXT*, WS_ERROR*); +HRESULT WINAPI WsWriteType(WS_XML_WRITER*, WS_TYPE_MAPPING, WS_TYPE, const void*, WS_WRITE_OPTION, + const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteValue(WS_XML_WRITER*, WS_VALUE_TYPE, const void*, ULONG, WS_ERROR*); +HRESULT WINAPI WsWriteXmlBuffer(WS_XML_WRITER*, WS_XML_BUFFER*, WS_ERROR*); +HRESULT WINAPI WsWriteXmlBufferToBytes(WS_XML_WRITER*, WS_XML_BUFFER*, const WS_XML_WRITER_ENCODING*, + const WS_XML_WRITER_PROPERTY*, ULONG, WS_HEAP*, void**, + ULONG*, WS_ERROR*); +HRESULT WINAPI WsWriteXmlnsAttribute(WS_XML_WRITER*, const WS_XML_STRING*, const WS_XML_STRING*, + BOOL, WS_ERROR*); +HRESULT WINAPI WsXmlStringEquals(const WS_XML_STRING*, const WS_XML_STRING*, WS_ERROR*); + +#define WS_S_ASYNC 0x003d0000 +#define WS_S_END 0x003d0001 +#define WS_E_INVALID_FORMAT 0x803d0000 +#define WS_E_OBJECT_FAULTED 0x803d0001 +#define WS_E_NUMERIC_OVERFLOW 0x803d0002 +#define WS_E_INVALID_OPERATION 0x803d0003 +#define WS_E_OPERATION_ABORTED 0x803d0004 +#define WS_E_ENDPOINT_ACCESS_DENIED 0x803d0005 +#define WS_E_OPERATION_TIMED_OUT 0x803d0006 +#define WS_E_OPERATION_ABANDONED 0x803d0007 +#define WS_E_QUOTA_EXCEEDED 0x803d0008 +#define WS_E_NO_TRANSLATION_AVAILABLE 0x803d0009 +#define WS_E_SECURITY_VERIFICATION_FAILURE 0x803d000a +#define WS_E_ADDRESS_IN_USE 0x803d000b +#define WS_E_ADDRESS_NOT_AVAILABLE 0x803d000c +#define WS_E_ENDPOINT_NOT_FOUND 0x803d000d +#define WS_E_ENDPOINT_NOT_AVAILABLE 0x803d000e +#define WS_E_ENDPOINT_FAILURE 0x803d000f +#define WS_E_ENDPOINT_UNREACHABLE 0x803d0010 +#define WS_E_ENDPOINT_ACTION_NOT_SUPPORTED 0x803d0011 +#define WS_E_ENDPOINT_TOO_BUSY 0x803d0012 +#define WS_E_ENDPOINT_FAULT_RECEIVED 0x803d0013 +#define WS_E_ENDPOINT_DISCONNECTED 0x803d0014 +#define WS_E_PROXY_FAILURE 0x803d0015 +#define WS_E_PROXY_ACCESS_DENIED 0x803d0016 +#define WS_E_NOT_SUPPORTED 0x803d0017 +#define WS_E_PROXY_REQUIRES_BASIC_AUTH 0x803d0018 +#define WS_E_PROXY_REQUIRES_DIGEST_AUTH 0x803d0019 +#define WS_E_PROXY_REQUIRES_NTLM_AUTH 0x803d001a +#define WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH 0x803d001b +#define WS_E_SERVER_REQUIRES_BASIC_AUTH 0x803d001c +#define WS_E_SERVER_REQUIRES_DIGEST_AUTH 0x803d001d +#define WS_E_SERVER_REQUIRES_NTLM_AUTH 0x803d001e +#define WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH 0x803d001f +#define WS_E_INVALID_ENDPOINT_URL 0x803d0020 +#define WS_E_OTHER 0x803d0021 +#define WS_E_SECURITY_TOKEN_EXPIRED 0x803d0022 +#define WS_E_SECURITY_SYSTEM_FAILURE 0x803d0023 + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __WINE_WEBSERVICES_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/werapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/werapi.h new file mode 100644 index 0000000..c66195f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/werapi.h @@ -0,0 +1,194 @@ +/* + * Windows Error Reporting definitions + * + * Copyright (C) 2010 Louis Lenders + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WERAPI_H +#define __WINE_WERAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Only 10 parameter are allowed in WerReportSetParameter */ +#define WER_MAX_PARAM_COUNT 10 +#define WER_P0 0 +#define WER_P1 1 +#define WER_P2 2 +#define WER_P3 3 +#define WER_P4 4 +#define WER_P5 5 +#define WER_P6 6 +#define WER_P7 7 +#define WER_P8 8 +#define WER_P9 9 + +/* Flags for WerReportSubmit */ +#define WER_SUBMIT_HONOR_RECOVERY 0x0001 +#define WER_SUBMIT_HONOR_RESTART 0x0002 +#define WER_SUBMIT_QUEUE 0x0004 +#define WER_SUBMIT_SHOW_DEBUG 0x0008 +#define WER_SUBMIT_ADD_REGISTERED_DATA 0x0010 +#define WER_SUBMIT_OUTOFPROCESS 0x0020 +#define WER_SUBMIT_NO_CLOSE_UI 0x0040 +#define WER_SUBMIT_NO_QUEUE 0x0080 +#define WER_SUBMIT_NO_ARCHIVE 0x0100 +#define WER_SUBMIT_START_MINIMIZED 0x0200 +#define WER_SUBMIT_OUTOFPROCESS_ASYNC 0x0400 +#define WER_SUBMIT_BYPASS_DATA_THROTTLING 0x0800 +#define WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY 0x1000 +#define WER_SUBMIT_REPORT_MACHINE_ID 0x2000 + +#define WER_MAX_PREFERRED_MODULES 128 +#define WER_MAX_PREFERRED_MODULES_BUFFER 256 + +/* #### */ + +typedef HANDLE HREPORT; + +typedef enum _WER_CONSENT +{ + WerConsentNotAsked = 1, + WerConsentApproved, + WerConsentDenied, + WerConsentAlwaysPrompt, + WerConsentMax +} WER_CONSENT; + +typedef enum _WER_FILE_TYPE +{ + WerFileTypeMicrodump = 1, + WerFileTypeMinidump, + WerFileTypeHeapdump, + WerFileTypeUserDocument, + WerFileTypeOther, + WerFileTypeMax +} WER_FILE_TYPE; + +typedef enum _WER_REGISTER_FILE_TYPE +{ + WerRegFileTypeUserDocument = 1, + WerRegFileTypeOther = 2, + WerRegFileTypeMax +} WER_REGISTER_FILE_TYPE; + +typedef struct _WER_REPORT_INFORMATION +{ + DWORD dwSize; + HANDLE hProcess; + WCHAR wzConsentKey[64]; + WCHAR wzFriendlyEventName[128]; + WCHAR wzApplicationName[128]; + WCHAR wzApplicationPath[MAX_PATH]; + WCHAR wzDescription[512]; + HWND hwndParent; +} WER_REPORT_INFORMATION, *PWER_REPORT_INFORMATION; + + +typedef enum _WER_REPORT_TYPE +{ + WerReportNonCritical = 0, + WerReportCritical, + WerReportApplicationCrash, + WerReportApplicationHang, + WerReportKernel, + WerReportInvalid +} WER_REPORT_TYPE; + +typedef enum _WER_SUBMIT_RESULT +{ + WerReportQueued = 1, + WerReportUploaded, + WerReportDebug, + WerReportFailed, + WerDisabled, + WerReportCancelled, + WerDisabledQueue, + WerReportAsync, + WerCustomAction +} WER_SUBMIT_RESULT, *PWER_SUBMIT_RESULT; + +typedef enum _WER_DUMP_TYPE +{ + WerDumpTypeMicroDump = 1, + WerDumpTypeMiniDump, + WerDumpTypeHeapDump, + WerDumpTypeMax +} WER_DUMP_TYPE; + +typedef enum _WER_REPORT_UI +{ + WerUIAdditionalDataDlgHeader = 1, + WerUIIconFilePath = 2, + WerUIConsentDlgHeader = 3, + WerUIConsentDlgBody = 4, + WerUIOnlineSolutionCheckText = 5, + WerUIOfflineSolutionCheckText = 6, + WerUICloseText = 7, + WerUICloseDlgHeader = 8, + WerUICloseDlgBody = 9, + WerUICloseDlgButtonText = 10, + WerUICustomActionButtonText = 11, + WerUIMax +} WER_REPORT_UI; + +/* #### */ + +typedef struct _WER_DUMP_CUSTOM_OPTIONS +{ + DWORD dwSize; + DWORD dwMask; + DWORD dwDumpFlags; + BOOL bOnlyThisThread; + DWORD dwExceptionThreadFlags; + DWORD dwOtherThreadFlags; + DWORD dwExceptionThreadExFlags; + DWORD dwOtherThreadExFlags; + DWORD dwPreferredModuleFlags; + DWORD dwOtherModuleFlags; + WCHAR wzPreferredModuleList[WER_MAX_PREFERRED_MODULES_BUFFER]; + +} WER_DUMP_CUSTOM_OPTIONS, *PWER_DUMP_CUSTOM_OPTIONS; + +typedef struct _WER_EXCEPTION_INFORMATION +{ + PEXCEPTION_POINTERS pExceptionPointers; + BOOL bClientPointers; +} WER_EXCEPTION_INFORMATION, *PWER_EXCEPTION_INFORMATION; + +/* #### */ + +HRESULT WINAPI WerAddExcludedApplication(PCWSTR, BOOL); +HRESULT WINAPI WerRegisterFile(PCWSTR file, WER_REGISTER_FILE_TYPE regfiletype, DWORD flags); +HRESULT WINAPI WerRegisterMemoryBlock(void *block, DWORD size); +HRESULT WINAPI WerRegisterRuntimeExceptionModule(PCWSTR callbackdll, void *context); +HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR, BOOL); +HRESULT WINAPI WerReportAddFile(HREPORT, PCWSTR, WER_FILE_TYPE, DWORD); +HRESULT WINAPI WerReportCloseHandle(HREPORT); +HRESULT WINAPI WerReportCreate(PCWSTR, WER_REPORT_TYPE, PWER_REPORT_INFORMATION, HREPORT*); +HRESULT WINAPI WerReportSetParameter(HREPORT, DWORD, PCWSTR, PCWSTR); +HRESULT WINAPI WerReportSetUIOption(HREPORT, WER_REPORT_UI, PCWSTR); +HRESULT WINAPI WerReportSubmit(HREPORT, WER_CONSENT, DWORD, PWER_SUBMIT_RESULT); +HRESULT WINAPI WerSetFlags(DWORD flags); +HRESULT WINAPI WerUnregisterMemoryBlock(void *block); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WERAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wfext.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wfext.h new file mode 100644 index 0000000..366e49f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wfext.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_WFEXT_H +#define __WINE_WFEXT_H + +#ifdef __cplusplus +extern "C" { +#endif + +LONG WINAPI FMExtensionProc(HWND,WORD,LONG); +LONG WINAPI FMExtensionProcW(HWND,WORD,LONG); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia.h new file mode 100644 index 0000000..3a0497e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2009 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + + +#ifdef __WINESRC__ +#error Specify wia_lh.h or wia_xp.h explicitly in Wine +#endif + +#if (_WIN32_WINNT >= 0x0600) +#include +#elif (_WIN32_WINNT >= 0x0501) +#include +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_lh.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_lh.h new file mode 100644 index 0000000..1d66166 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_lh.h @@ -0,0 +1,691 @@ +/*** Autogenerated by WIDL 2.18 from wia_lh.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wia_lh_h__ +#define __wia_lh_h__ + +/* Forward declarations */ + +#ifndef __IWiaDevMgr_FWD_DEFINED__ +#define __IWiaDevMgr_FWD_DEFINED__ +typedef interface IWiaDevMgr IWiaDevMgr; +#ifdef __cplusplus +interface IWiaDevMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumWIA_DEV_INFO_FWD_DEFINED__ +#define __IEnumWIA_DEV_INFO_FWD_DEFINED__ +typedef interface IEnumWIA_DEV_INFO IEnumWIA_DEV_INFO; +#ifdef __cplusplus +interface IEnumWIA_DEV_INFO; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaPropertyStorage_FWD_DEFINED__ +#define __IWiaPropertyStorage_FWD_DEFINED__ +typedef interface IWiaPropertyStorage IWiaPropertyStorage; +#ifdef __cplusplus +interface IWiaPropertyStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaItem_FWD_DEFINED__ +#define __IWiaItem_FWD_DEFINED__ +typedef interface IWiaItem IWiaItem; +#ifdef __cplusplus +interface IWiaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaEventCallback_FWD_DEFINED__ +#define __IWiaEventCallback_FWD_DEFINED__ +typedef interface IWiaEventCallback IWiaEventCallback; +#ifdef __cplusplus +interface IWiaEventCallback; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#ifndef __IEnumWIA_DEV_INFO_FWD_DEFINED__ +#define __IEnumWIA_DEV_INFO_FWD_DEFINED__ +typedef interface IEnumWIA_DEV_INFO IEnumWIA_DEV_INFO; +#ifdef __cplusplus +interface IEnumWIA_DEV_INFO; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaPropertyStorage_FWD_DEFINED__ +#define __IWiaPropertyStorage_FWD_DEFINED__ +typedef interface IWiaPropertyStorage IWiaPropertyStorage; +#ifdef __cplusplus +interface IWiaPropertyStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaItem_FWD_DEFINED__ +#define __IWiaItem_FWD_DEFINED__ +typedef interface IWiaItem IWiaItem; +#ifdef __cplusplus +interface IWiaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaEventCallback_FWD_DEFINED__ +#define __IWiaEventCallback_FWD_DEFINED__ +typedef interface IWiaEventCallback IWiaEventCallback; +#ifdef __cplusplus +interface IWiaEventCallback; +#endif /* __cplusplus */ +#endif + +DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11); +/***************************************************************************** + * IWiaDevMgr interface + */ +#ifndef __IWiaDevMgr_INTERFACE_DEFINED__ +#define __IWiaDevMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaDevMgr, 0x5eb2502a, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5eb2502a-8cf1-11d1-bf92-0060081ed811") +IWiaDevMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumDeviceInfo( + LONG lFlag, + IEnumWIA_DEV_INFO **ppIEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDevice( + BSTR bstrDeviceID, + IWiaItem **ppWiaItemRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectDeviceDlg( + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID, + IWiaItem **ppItemRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectDeviceDlgID( + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImageDlg( + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + LONG lIntent, + IWiaItem *pItemRoot, + BSTR bstrFilename, + GUID *pguidFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEventCallbackProgram( + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + BSTR bstrCommandline, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEventCallbackInterface( + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + IWiaEventCallback *pIWiaEventCallback, + IUnknown **pEventObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEventCallbackCLSID( + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + const GUID *pClsID, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddDeviceDlg( + HWND hwndParent, + LONG lFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaDevMgr, 0x5eb2502a, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11) +#endif +#else +typedef struct IWiaDevMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaDevMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaDevMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaDevMgr *This); + + /*** IWiaDevMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumDeviceInfo)( + IWiaDevMgr *This, + LONG lFlag, + IEnumWIA_DEV_INFO **ppIEnum); + + HRESULT (STDMETHODCALLTYPE *CreateDevice)( + IWiaDevMgr *This, + BSTR bstrDeviceID, + IWiaItem **ppWiaItemRoot); + + HRESULT (STDMETHODCALLTYPE *SelectDeviceDlg)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID, + IWiaItem **ppItemRoot); + + HRESULT (STDMETHODCALLTYPE *SelectDeviceDlgID)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID); + + HRESULT (STDMETHODCALLTYPE *GetImageDlg)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + LONG lIntent, + IWiaItem *pItemRoot, + BSTR bstrFilename, + GUID *pguidFormat); + + HRESULT (STDMETHODCALLTYPE *RegisterEventCallbackProgram)( + IWiaDevMgr *This, + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + BSTR bstrCommandline, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon); + + HRESULT (STDMETHODCALLTYPE *RegisterEventCallbackInterface)( + IWiaDevMgr *This, + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + IWiaEventCallback *pIWiaEventCallback, + IUnknown **pEventObject); + + HRESULT (STDMETHODCALLTYPE *RegisterEventCallbackCLSID)( + IWiaDevMgr *This, + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + const GUID *pClsID, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon); + + HRESULT (STDMETHODCALLTYPE *AddDeviceDlg)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lFlags); + + END_INTERFACE +} IWiaDevMgrVtbl; + +interface IWiaDevMgr { + CONST_VTBL IWiaDevMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaDevMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaDevMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaDevMgr_Release(This) (This)->lpVtbl->Release(This) +/*** IWiaDevMgr methods ***/ +#define IWiaDevMgr_EnumDeviceInfo(This,lFlag,ppIEnum) (This)->lpVtbl->EnumDeviceInfo(This,lFlag,ppIEnum) +#define IWiaDevMgr_CreateDevice(This,bstrDeviceID,ppWiaItemRoot) (This)->lpVtbl->CreateDevice(This,bstrDeviceID,ppWiaItemRoot) +#define IWiaDevMgr_SelectDeviceDlg(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID,ppItemRoot) (This)->lpVtbl->SelectDeviceDlg(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID,ppItemRoot) +#define IWiaDevMgr_SelectDeviceDlgID(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID) (This)->lpVtbl->SelectDeviceDlgID(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID) +#define IWiaDevMgr_GetImageDlg(This,hwndParent,lDeviceType,lFlags,lIntent,pItemRoot,bstrFilename,pguidFormat) (This)->lpVtbl->GetImageDlg(This,hwndParent,lDeviceType,lFlags,lIntent,pItemRoot,bstrFilename,pguidFormat) +#define IWiaDevMgr_RegisterEventCallbackProgram(This,lFlags,bstrDeviceID,pEventGUID,bstrCommandline,bstrName,bstrDescription,bstrIcon) (This)->lpVtbl->RegisterEventCallbackProgram(This,lFlags,bstrDeviceID,pEventGUID,bstrCommandline,bstrName,bstrDescription,bstrIcon) +#define IWiaDevMgr_RegisterEventCallbackInterface(This,lFlags,bstrDeviceID,pEventGUID,pIWiaEventCallback,pEventObject) (This)->lpVtbl->RegisterEventCallbackInterface(This,lFlags,bstrDeviceID,pEventGUID,pIWiaEventCallback,pEventObject) +#define IWiaDevMgr_RegisterEventCallbackCLSID(This,lFlags,bstrDeviceID,pEventGUID,pClsID,bstrName,bstrDescription,bstrIcon) (This)->lpVtbl->RegisterEventCallbackCLSID(This,lFlags,bstrDeviceID,pEventGUID,pClsID,bstrName,bstrDescription,bstrIcon) +#define IWiaDevMgr_AddDeviceDlg(This,hwndParent,lFlags) (This)->lpVtbl->AddDeviceDlg(This,hwndParent,lFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaDevMgr_QueryInterface(IWiaDevMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaDevMgr_AddRef(IWiaDevMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaDevMgr_Release(IWiaDevMgr* This) { + return This->lpVtbl->Release(This); +} +/*** IWiaDevMgr methods ***/ +static FORCEINLINE HRESULT IWiaDevMgr_EnumDeviceInfo(IWiaDevMgr* This,LONG lFlag,IEnumWIA_DEV_INFO **ppIEnum) { + return This->lpVtbl->EnumDeviceInfo(This,lFlag,ppIEnum); +} +static FORCEINLINE HRESULT IWiaDevMgr_CreateDevice(IWiaDevMgr* This,BSTR bstrDeviceID,IWiaItem **ppWiaItemRoot) { + return This->lpVtbl->CreateDevice(This,bstrDeviceID,ppWiaItemRoot); +} +static FORCEINLINE HRESULT IWiaDevMgr_SelectDeviceDlg(IWiaDevMgr* This,HWND hwndParent,LONG lDeviceType,LONG lFlags,BSTR *pbstrDeviceID,IWiaItem **ppItemRoot) { + return This->lpVtbl->SelectDeviceDlg(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID,ppItemRoot); +} +static FORCEINLINE HRESULT IWiaDevMgr_SelectDeviceDlgID(IWiaDevMgr* This,HWND hwndParent,LONG lDeviceType,LONG lFlags,BSTR *pbstrDeviceID) { + return This->lpVtbl->SelectDeviceDlgID(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID); +} +static FORCEINLINE HRESULT IWiaDevMgr_GetImageDlg(IWiaDevMgr* This,HWND hwndParent,LONG lDeviceType,LONG lFlags,LONG lIntent,IWiaItem *pItemRoot,BSTR bstrFilename,GUID *pguidFormat) { + return This->lpVtbl->GetImageDlg(This,hwndParent,lDeviceType,lFlags,lIntent,pItemRoot,bstrFilename,pguidFormat); +} +static FORCEINLINE HRESULT IWiaDevMgr_RegisterEventCallbackProgram(IWiaDevMgr* This,LONG lFlags,BSTR bstrDeviceID,const GUID *pEventGUID,BSTR bstrCommandline,BSTR bstrName,BSTR bstrDescription,BSTR bstrIcon) { + return This->lpVtbl->RegisterEventCallbackProgram(This,lFlags,bstrDeviceID,pEventGUID,bstrCommandline,bstrName,bstrDescription,bstrIcon); +} +static FORCEINLINE HRESULT IWiaDevMgr_RegisterEventCallbackInterface(IWiaDevMgr* This,LONG lFlags,BSTR bstrDeviceID,const GUID *pEventGUID,IWiaEventCallback *pIWiaEventCallback,IUnknown **pEventObject) { + return This->lpVtbl->RegisterEventCallbackInterface(This,lFlags,bstrDeviceID,pEventGUID,pIWiaEventCallback,pEventObject); +} +static FORCEINLINE HRESULT IWiaDevMgr_RegisterEventCallbackCLSID(IWiaDevMgr* This,LONG lFlags,BSTR bstrDeviceID,const GUID *pEventGUID,const GUID *pClsID,BSTR bstrName,BSTR bstrDescription,BSTR bstrIcon) { + return This->lpVtbl->RegisterEventCallbackCLSID(This,lFlags,bstrDeviceID,pEventGUID,pClsID,bstrName,bstrDescription,bstrIcon); +} +static FORCEINLINE HRESULT IWiaDevMgr_AddDeviceDlg(IWiaDevMgr* This,HWND hwndParent,LONG lFlags) { + return This->lpVtbl->AddDeviceDlg(This,hwndParent,lFlags); +} +#endif +#endif + +#endif + + +#endif /* __IWiaDevMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumWIA_DEV_INFO interface + */ +#ifndef __IEnumWIA_DEV_INFO_INTERFACE_DEFINED__ +#define __IEnumWIA_DEV_INFO_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumWIA_DEV_INFO, 0x5e38b83c, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5e38b83c-8cf1-11d1-bf92-0060081ed811") +IEnumWIA_DEV_INFO : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IWiaPropertyStorage **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumWIA_DEV_INFO **ppIEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumWIA_DEV_INFO, 0x5e38b83c, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11) +#endif +#else +typedef struct IEnumWIA_DEV_INFOVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumWIA_DEV_INFO *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumWIA_DEV_INFO *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumWIA_DEV_INFO *This); + + /*** IEnumWIA_DEV_INFO methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumWIA_DEV_INFO *This, + ULONG celt, + IWiaPropertyStorage **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumWIA_DEV_INFO *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumWIA_DEV_INFO *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumWIA_DEV_INFO *This, + IEnumWIA_DEV_INFO **ppIEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IEnumWIA_DEV_INFO *This, + ULONG *celt); + + END_INTERFACE +} IEnumWIA_DEV_INFOVtbl; + +interface IEnumWIA_DEV_INFO { + CONST_VTBL IEnumWIA_DEV_INFOVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumWIA_DEV_INFO_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumWIA_DEV_INFO_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumWIA_DEV_INFO_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumWIA_DEV_INFO methods ***/ +#define IEnumWIA_DEV_INFO_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumWIA_DEV_INFO_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumWIA_DEV_INFO_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumWIA_DEV_INFO_Clone(This,ppIEnum) (This)->lpVtbl->Clone(This,ppIEnum) +#define IEnumWIA_DEV_INFO_GetCount(This,celt) (This)->lpVtbl->GetCount(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_QueryInterface(IEnumWIA_DEV_INFO* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumWIA_DEV_INFO_AddRef(IEnumWIA_DEV_INFO* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumWIA_DEV_INFO_Release(IEnumWIA_DEV_INFO* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumWIA_DEV_INFO methods ***/ +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Next(IEnumWIA_DEV_INFO* This,ULONG celt,IWiaPropertyStorage **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Skip(IEnumWIA_DEV_INFO* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Reset(IEnumWIA_DEV_INFO* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Clone(IEnumWIA_DEV_INFO* This,IEnumWIA_DEV_INFO **ppIEnum) { + return This->lpVtbl->Clone(This,ppIEnum); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_GetCount(IEnumWIA_DEV_INFO* This,ULONG *celt) { + return This->lpVtbl->GetCount(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumWIA_DEV_INFO_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWiaPropertyStorage interface + */ +#ifndef __IWiaPropertyStorage_INTERFACE_DEFINED__ +#define __IWiaPropertyStorage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaPropertyStorage, 0x98b5e8a0, 0x29cc, 0x491a, 0xaa,0xc0, 0xe6,0xdb,0x4f,0xdc,0xce,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("98b5e8a0-29cc-491a-aac0-e6db4fdcceb6") +IWiaPropertyStorage : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaPropertyStorage, 0x98b5e8a0, 0x29cc, 0x491a, 0xaa,0xc0, 0xe6,0xdb,0x4f,0xdc,0xce,0xb6) +#endif +#else +typedef struct IWiaPropertyStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaPropertyStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaPropertyStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaPropertyStorage *This); + + END_INTERFACE +} IWiaPropertyStorageVtbl; + +interface IWiaPropertyStorage { + CONST_VTBL IWiaPropertyStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaPropertyStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaPropertyStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaPropertyStorage_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaPropertyStorage_QueryInterface(IWiaPropertyStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaPropertyStorage_AddRef(IWiaPropertyStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaPropertyStorage_Release(IWiaPropertyStorage* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IWiaPropertyStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWiaItem interface + */ +#ifndef __IWiaItem_INTERFACE_DEFINED__ +#define __IWiaItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaItem, 0x4db1ad10, 0x3391, 0x11d2, 0x9a,0x33, 0x00,0xc0,0x4f,0xa3,0x61,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4db1ad10-3391-11d2-9a33-00c04fa36145") +IWiaItem : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaItem, 0x4db1ad10, 0x3391, 0x11d2, 0x9a,0x33, 0x00,0xc0,0x4f,0xa3,0x61,0x45) +#endif +#else +typedef struct IWiaItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaItem *This); + + END_INTERFACE +} IWiaItemVtbl; + +interface IWiaItem { + CONST_VTBL IWiaItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaItem_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaItem_QueryInterface(IWiaItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaItem_AddRef(IWiaItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaItem_Release(IWiaItem* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IWiaItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWiaEventCallback interface + */ +#ifndef __IWiaEventCallback_INTERFACE_DEFINED__ +#define __IWiaEventCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaEventCallback, 0xae6287b0, 0x0084, 0x11d2, 0x97,0x3b, 0x00,0xa0,0xc9,0x06,0x8f,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae6287b0-0084-11d2-973b-00a0c9068f2e") +IWiaEventCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ImageEventCallback( + const GUID *pEventGUID, + BSTR bstrEventDescription, + BSTR bstrDeviceID, + BSTR bstrDeviceDescription, + DWORD dwDeviceType, + BSTR bstrFullItemName, + ULONG *pulEventType, + ULONG ulReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaEventCallback, 0xae6287b0, 0x0084, 0x11d2, 0x97,0x3b, 0x00,0xa0,0xc9,0x06,0x8f,0x2e) +#endif +#else +typedef struct IWiaEventCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaEventCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaEventCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaEventCallback *This); + + /*** IWiaEventCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *ImageEventCallback)( + IWiaEventCallback *This, + const GUID *pEventGUID, + BSTR bstrEventDescription, + BSTR bstrDeviceID, + BSTR bstrDeviceDescription, + DWORD dwDeviceType, + BSTR bstrFullItemName, + ULONG *pulEventType, + ULONG ulReserved); + + END_INTERFACE +} IWiaEventCallbackVtbl; + +interface IWiaEventCallback { + CONST_VTBL IWiaEventCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaEventCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaEventCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaEventCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IWiaEventCallback methods ***/ +#define IWiaEventCallback_ImageEventCallback(This,pEventGUID,bstrEventDescription,bstrDeviceID,bstrDeviceDescription,dwDeviceType,bstrFullItemName,pulEventType,ulReserved) (This)->lpVtbl->ImageEventCallback(This,pEventGUID,bstrEventDescription,bstrDeviceID,bstrDeviceDescription,dwDeviceType,bstrFullItemName,pulEventType,ulReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaEventCallback_QueryInterface(IWiaEventCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaEventCallback_AddRef(IWiaEventCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaEventCallback_Release(IWiaEventCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IWiaEventCallback methods ***/ +static FORCEINLINE HRESULT IWiaEventCallback_ImageEventCallback(IWiaEventCallback* This,const GUID *pEventGUID,BSTR bstrEventDescription,BSTR bstrDeviceID,BSTR bstrDeviceDescription,DWORD dwDeviceType,BSTR bstrFullItemName,ULONG *pulEventType,ULONG ulReserved) { + return This->lpVtbl->ImageEventCallback(This,pEventGUID,bstrEventDescription,bstrDeviceID,bstrDeviceDescription,dwDeviceType,bstrFullItemName,pulEventType,ulReserved); +} +#endif +#endif + +#endif + + +#endif /* __IWiaEventCallback_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wia_lh_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_lh.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_lh.idl new file mode 100644 index 0000000..284528a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_lh.idl @@ -0,0 +1,158 @@ +/* + * Copyright 2009 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "oaidl.idl"; +import "propidl.idl"; + +cpp_quote("#include ") + +interface IEnumWIA_DEV_INFO; +interface IWiaPropertyStorage; +interface IWiaItem; +interface IWiaEventCallback; + +cpp_quote("DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11);") + +[ + object, + uuid(5eb2502a-8cf1-11d1-bf92-0060081ed811) +] +interface IWiaDevMgr : IUnknown +{ + HRESULT EnumDeviceInfo( + [in] LONG lFlag, + [retval, out] IEnumWIA_DEV_INFO **ppIEnum); + + HRESULT CreateDevice( + [in] BSTR bstrDeviceID, + [out] IWiaItem **ppWiaItemRoot); + + HRESULT SelectDeviceDlg( + [in] HWND hwndParent, + [in] LONG lDeviceType, + [in] LONG lFlags, + [in, out] BSTR *pbstrDeviceID, + [retval, out] IWiaItem **ppItemRoot); + + HRESULT SelectDeviceDlgID( + [in] HWND hwndParent, + [in] LONG lDeviceType, + [in] LONG lFlags, + [retval, out] BSTR *pbstrDeviceID); + + HRESULT GetImageDlg( + [in] HWND hwndParent, + [in] LONG lDeviceType, + [in] LONG lFlags, + [in] LONG lIntent, + [in] IWiaItem *pItemRoot, + [in] BSTR bstrFilename, + [in, out] GUID *pguidFormat); + + HRESULT RegisterEventCallbackProgram( + [in] LONG lFlags, + [in] BSTR bstrDeviceID, + [in] const GUID *pEventGUID, + [in] BSTR bstrCommandline, + [in] BSTR bstrName, + [in] BSTR bstrDescription, + [in] BSTR bstrIcon); + + HRESULT RegisterEventCallbackInterface( + [in] LONG lFlags, + [in] BSTR bstrDeviceID, + [in] const GUID *pEventGUID, + [unique, in] IWiaEventCallback *pIWiaEventCallback, + [out] IUnknown **pEventObject); + + HRESULT RegisterEventCallbackCLSID( + [in] LONG lFlags, + [in] BSTR bstrDeviceID, + [in] const GUID *pEventGUID, + [unique, in] const GUID *pClsID, + [in] BSTR bstrName, + [in] BSTR bstrDescription, + [in] BSTR bstrIcon); + + HRESULT AddDeviceDlg( + [in] HWND hwndParent, + [in] LONG lFlags); +} + +[ + object, + uuid(5e38b83c-8cf1-11d1-bf92-0060081ed811) +] +interface IEnumWIA_DEV_INFO : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] IWiaPropertyStorage **rgelt, + [out] ULONG *pceltFetched + ); + + HRESULT Skip( + [in] ULONG celt + ); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumWIA_DEV_INFO **ppIEnum + ); + + HRESULT GetCount( + [out] ULONG *celt + ); +} + +[ + object, + uuid(98B5E8A0-29CC-491a-AAC0-E6DB4FDCCEB6) +] +interface IWiaPropertyStorage : IUnknown +{ + /* FIXME: fill in */ +} + +[ + object, + uuid(4db1ad10-3391-11d2-9a33-00c04fa36145) +] +interface IWiaItem : IUnknown +{ + /* FIXME: fill in */ +} + +[ + object, + uuid(ae6287b0-0084-11d2-973b-00a0c9068f2e) +] +interface IWiaEventCallback : IUnknown +{ + HRESULT ImageEventCallback( + [in] const GUID *pEventGUID, + [in] BSTR bstrEventDescription, + [in] BSTR bstrDeviceID, + [in] BSTR bstrDeviceDescription, + [in] DWORD dwDeviceType, + [in] BSTR bstrFullItemName, + [in,out] ULONG *pulEventType, + [in] ULONG ulReserved); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_xp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_xp.h new file mode 100644 index 0000000..475106b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_xp.h @@ -0,0 +1,691 @@ +/*** Autogenerated by WIDL 2.18 from wia_xp.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wia_xp_h__ +#define __wia_xp_h__ + +/* Forward declarations */ + +#ifndef __IWiaDevMgr_FWD_DEFINED__ +#define __IWiaDevMgr_FWD_DEFINED__ +typedef interface IWiaDevMgr IWiaDevMgr; +#ifdef __cplusplus +interface IWiaDevMgr; +#endif /* __cplusplus */ +#endif + +#ifndef __IEnumWIA_DEV_INFO_FWD_DEFINED__ +#define __IEnumWIA_DEV_INFO_FWD_DEFINED__ +typedef interface IEnumWIA_DEV_INFO IEnumWIA_DEV_INFO; +#ifdef __cplusplus +interface IEnumWIA_DEV_INFO; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaPropertyStorage_FWD_DEFINED__ +#define __IWiaPropertyStorage_FWD_DEFINED__ +typedef interface IWiaPropertyStorage IWiaPropertyStorage; +#ifdef __cplusplus +interface IWiaPropertyStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaItem_FWD_DEFINED__ +#define __IWiaItem_FWD_DEFINED__ +typedef interface IWiaItem IWiaItem; +#ifdef __cplusplus +interface IWiaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaEventCallback_FWD_DEFINED__ +#define __IWiaEventCallback_FWD_DEFINED__ +typedef interface IWiaEventCallback IWiaEventCallback; +#ifdef __cplusplus +interface IWiaEventCallback; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#ifndef __IEnumWIA_DEV_INFO_FWD_DEFINED__ +#define __IEnumWIA_DEV_INFO_FWD_DEFINED__ +typedef interface IEnumWIA_DEV_INFO IEnumWIA_DEV_INFO; +#ifdef __cplusplus +interface IEnumWIA_DEV_INFO; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaPropertyStorage_FWD_DEFINED__ +#define __IWiaPropertyStorage_FWD_DEFINED__ +typedef interface IWiaPropertyStorage IWiaPropertyStorage; +#ifdef __cplusplus +interface IWiaPropertyStorage; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaItem_FWD_DEFINED__ +#define __IWiaItem_FWD_DEFINED__ +typedef interface IWiaItem IWiaItem; +#ifdef __cplusplus +interface IWiaItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IWiaEventCallback_FWD_DEFINED__ +#define __IWiaEventCallback_FWD_DEFINED__ +typedef interface IWiaEventCallback IWiaEventCallback; +#ifdef __cplusplus +interface IWiaEventCallback; +#endif /* __cplusplus */ +#endif + +DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11); +/***************************************************************************** + * IWiaDevMgr interface + */ +#ifndef __IWiaDevMgr_INTERFACE_DEFINED__ +#define __IWiaDevMgr_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaDevMgr, 0x5eb2502a, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5eb2502a-8cf1-11d1-bf92-0060081ed811") +IWiaDevMgr : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE EnumDeviceInfo( + LONG lFlag, + IEnumWIA_DEV_INFO **ppIEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDevice( + BSTR bstrDeviceID, + IWiaItem **ppWiaItemRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectDeviceDlg( + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID, + IWiaItem **ppItemRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectDeviceDlgID( + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetImageDlg( + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + LONG lIntent, + IWiaItem *pItemRoot, + BSTR bstrFilename, + GUID *pguidFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEventCallbackProgram( + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + BSTR bstrCommandline, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEventCallbackInterface( + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + IWiaEventCallback *pIWiaEventCallback, + IUnknown **pEventObject) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEventCallbackCLSID( + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + const GUID *pClsID, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddDeviceDlg( + HWND hwndParent, + LONG lFlags) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaDevMgr, 0x5eb2502a, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11) +#endif +#else +typedef struct IWiaDevMgrVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaDevMgr *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaDevMgr *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaDevMgr *This); + + /*** IWiaDevMgr methods ***/ + HRESULT (STDMETHODCALLTYPE *EnumDeviceInfo)( + IWiaDevMgr *This, + LONG lFlag, + IEnumWIA_DEV_INFO **ppIEnum); + + HRESULT (STDMETHODCALLTYPE *CreateDevice)( + IWiaDevMgr *This, + BSTR bstrDeviceID, + IWiaItem **ppWiaItemRoot); + + HRESULT (STDMETHODCALLTYPE *SelectDeviceDlg)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID, + IWiaItem **ppItemRoot); + + HRESULT (STDMETHODCALLTYPE *SelectDeviceDlgID)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + BSTR *pbstrDeviceID); + + HRESULT (STDMETHODCALLTYPE *GetImageDlg)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lDeviceType, + LONG lFlags, + LONG lIntent, + IWiaItem *pItemRoot, + BSTR bstrFilename, + GUID *pguidFormat); + + HRESULT (STDMETHODCALLTYPE *RegisterEventCallbackProgram)( + IWiaDevMgr *This, + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + BSTR bstrCommandline, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon); + + HRESULT (STDMETHODCALLTYPE *RegisterEventCallbackInterface)( + IWiaDevMgr *This, + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + IWiaEventCallback *pIWiaEventCallback, + IUnknown **pEventObject); + + HRESULT (STDMETHODCALLTYPE *RegisterEventCallbackCLSID)( + IWiaDevMgr *This, + LONG lFlags, + BSTR bstrDeviceID, + const GUID *pEventGUID, + const GUID *pClsID, + BSTR bstrName, + BSTR bstrDescription, + BSTR bstrIcon); + + HRESULT (STDMETHODCALLTYPE *AddDeviceDlg)( + IWiaDevMgr *This, + HWND hwndParent, + LONG lFlags); + + END_INTERFACE +} IWiaDevMgrVtbl; + +interface IWiaDevMgr { + CONST_VTBL IWiaDevMgrVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaDevMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaDevMgr_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaDevMgr_Release(This) (This)->lpVtbl->Release(This) +/*** IWiaDevMgr methods ***/ +#define IWiaDevMgr_EnumDeviceInfo(This,lFlag,ppIEnum) (This)->lpVtbl->EnumDeviceInfo(This,lFlag,ppIEnum) +#define IWiaDevMgr_CreateDevice(This,bstrDeviceID,ppWiaItemRoot) (This)->lpVtbl->CreateDevice(This,bstrDeviceID,ppWiaItemRoot) +#define IWiaDevMgr_SelectDeviceDlg(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID,ppItemRoot) (This)->lpVtbl->SelectDeviceDlg(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID,ppItemRoot) +#define IWiaDevMgr_SelectDeviceDlgID(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID) (This)->lpVtbl->SelectDeviceDlgID(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID) +#define IWiaDevMgr_GetImageDlg(This,hwndParent,lDeviceType,lFlags,lIntent,pItemRoot,bstrFilename,pguidFormat) (This)->lpVtbl->GetImageDlg(This,hwndParent,lDeviceType,lFlags,lIntent,pItemRoot,bstrFilename,pguidFormat) +#define IWiaDevMgr_RegisterEventCallbackProgram(This,lFlags,bstrDeviceID,pEventGUID,bstrCommandline,bstrName,bstrDescription,bstrIcon) (This)->lpVtbl->RegisterEventCallbackProgram(This,lFlags,bstrDeviceID,pEventGUID,bstrCommandline,bstrName,bstrDescription,bstrIcon) +#define IWiaDevMgr_RegisterEventCallbackInterface(This,lFlags,bstrDeviceID,pEventGUID,pIWiaEventCallback,pEventObject) (This)->lpVtbl->RegisterEventCallbackInterface(This,lFlags,bstrDeviceID,pEventGUID,pIWiaEventCallback,pEventObject) +#define IWiaDevMgr_RegisterEventCallbackCLSID(This,lFlags,bstrDeviceID,pEventGUID,pClsID,bstrName,bstrDescription,bstrIcon) (This)->lpVtbl->RegisterEventCallbackCLSID(This,lFlags,bstrDeviceID,pEventGUID,pClsID,bstrName,bstrDescription,bstrIcon) +#define IWiaDevMgr_AddDeviceDlg(This,hwndParent,lFlags) (This)->lpVtbl->AddDeviceDlg(This,hwndParent,lFlags) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaDevMgr_QueryInterface(IWiaDevMgr* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaDevMgr_AddRef(IWiaDevMgr* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaDevMgr_Release(IWiaDevMgr* This) { + return This->lpVtbl->Release(This); +} +/*** IWiaDevMgr methods ***/ +static FORCEINLINE HRESULT IWiaDevMgr_EnumDeviceInfo(IWiaDevMgr* This,LONG lFlag,IEnumWIA_DEV_INFO **ppIEnum) { + return This->lpVtbl->EnumDeviceInfo(This,lFlag,ppIEnum); +} +static FORCEINLINE HRESULT IWiaDevMgr_CreateDevice(IWiaDevMgr* This,BSTR bstrDeviceID,IWiaItem **ppWiaItemRoot) { + return This->lpVtbl->CreateDevice(This,bstrDeviceID,ppWiaItemRoot); +} +static FORCEINLINE HRESULT IWiaDevMgr_SelectDeviceDlg(IWiaDevMgr* This,HWND hwndParent,LONG lDeviceType,LONG lFlags,BSTR *pbstrDeviceID,IWiaItem **ppItemRoot) { + return This->lpVtbl->SelectDeviceDlg(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID,ppItemRoot); +} +static FORCEINLINE HRESULT IWiaDevMgr_SelectDeviceDlgID(IWiaDevMgr* This,HWND hwndParent,LONG lDeviceType,LONG lFlags,BSTR *pbstrDeviceID) { + return This->lpVtbl->SelectDeviceDlgID(This,hwndParent,lDeviceType,lFlags,pbstrDeviceID); +} +static FORCEINLINE HRESULT IWiaDevMgr_GetImageDlg(IWiaDevMgr* This,HWND hwndParent,LONG lDeviceType,LONG lFlags,LONG lIntent,IWiaItem *pItemRoot,BSTR bstrFilename,GUID *pguidFormat) { + return This->lpVtbl->GetImageDlg(This,hwndParent,lDeviceType,lFlags,lIntent,pItemRoot,bstrFilename,pguidFormat); +} +static FORCEINLINE HRESULT IWiaDevMgr_RegisterEventCallbackProgram(IWiaDevMgr* This,LONG lFlags,BSTR bstrDeviceID,const GUID *pEventGUID,BSTR bstrCommandline,BSTR bstrName,BSTR bstrDescription,BSTR bstrIcon) { + return This->lpVtbl->RegisterEventCallbackProgram(This,lFlags,bstrDeviceID,pEventGUID,bstrCommandline,bstrName,bstrDescription,bstrIcon); +} +static FORCEINLINE HRESULT IWiaDevMgr_RegisterEventCallbackInterface(IWiaDevMgr* This,LONG lFlags,BSTR bstrDeviceID,const GUID *pEventGUID,IWiaEventCallback *pIWiaEventCallback,IUnknown **pEventObject) { + return This->lpVtbl->RegisterEventCallbackInterface(This,lFlags,bstrDeviceID,pEventGUID,pIWiaEventCallback,pEventObject); +} +static FORCEINLINE HRESULT IWiaDevMgr_RegisterEventCallbackCLSID(IWiaDevMgr* This,LONG lFlags,BSTR bstrDeviceID,const GUID *pEventGUID,const GUID *pClsID,BSTR bstrName,BSTR bstrDescription,BSTR bstrIcon) { + return This->lpVtbl->RegisterEventCallbackCLSID(This,lFlags,bstrDeviceID,pEventGUID,pClsID,bstrName,bstrDescription,bstrIcon); +} +static FORCEINLINE HRESULT IWiaDevMgr_AddDeviceDlg(IWiaDevMgr* This,HWND hwndParent,LONG lFlags) { + return This->lpVtbl->AddDeviceDlg(This,hwndParent,lFlags); +} +#endif +#endif + +#endif + + +#endif /* __IWiaDevMgr_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumWIA_DEV_INFO interface + */ +#ifndef __IEnumWIA_DEV_INFO_INTERFACE_DEFINED__ +#define __IEnumWIA_DEV_INFO_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumWIA_DEV_INFO, 0x5e38b83c, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5e38b83c-8cf1-11d1-bf92-0060081ed811") +IEnumWIA_DEV_INFO : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IWiaPropertyStorage **rgelt, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumWIA_DEV_INFO **ppIEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *celt) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumWIA_DEV_INFO, 0x5e38b83c, 0x8cf1, 0x11d1, 0xbf,0x92, 0x00,0x60,0x08,0x1e,0xd8,0x11) +#endif +#else +typedef struct IEnumWIA_DEV_INFOVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumWIA_DEV_INFO *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumWIA_DEV_INFO *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumWIA_DEV_INFO *This); + + /*** IEnumWIA_DEV_INFO methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumWIA_DEV_INFO *This, + ULONG celt, + IWiaPropertyStorage **rgelt, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumWIA_DEV_INFO *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumWIA_DEV_INFO *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumWIA_DEV_INFO *This, + IEnumWIA_DEV_INFO **ppIEnum); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IEnumWIA_DEV_INFO *This, + ULONG *celt); + + END_INTERFACE +} IEnumWIA_DEV_INFOVtbl; + +interface IEnumWIA_DEV_INFO { + CONST_VTBL IEnumWIA_DEV_INFOVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumWIA_DEV_INFO_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumWIA_DEV_INFO_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumWIA_DEV_INFO_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumWIA_DEV_INFO methods ***/ +#define IEnumWIA_DEV_INFO_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) +#define IEnumWIA_DEV_INFO_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumWIA_DEV_INFO_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumWIA_DEV_INFO_Clone(This,ppIEnum) (This)->lpVtbl->Clone(This,ppIEnum) +#define IEnumWIA_DEV_INFO_GetCount(This,celt) (This)->lpVtbl->GetCount(This,celt) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_QueryInterface(IEnumWIA_DEV_INFO* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumWIA_DEV_INFO_AddRef(IEnumWIA_DEV_INFO* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumWIA_DEV_INFO_Release(IEnumWIA_DEV_INFO* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumWIA_DEV_INFO methods ***/ +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Next(IEnumWIA_DEV_INFO* This,ULONG celt,IWiaPropertyStorage **rgelt,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Skip(IEnumWIA_DEV_INFO* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Reset(IEnumWIA_DEV_INFO* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_Clone(IEnumWIA_DEV_INFO* This,IEnumWIA_DEV_INFO **ppIEnum) { + return This->lpVtbl->Clone(This,ppIEnum); +} +static FORCEINLINE HRESULT IEnumWIA_DEV_INFO_GetCount(IEnumWIA_DEV_INFO* This,ULONG *celt) { + return This->lpVtbl->GetCount(This,celt); +} +#endif +#endif + +#endif + + +#endif /* __IEnumWIA_DEV_INFO_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWiaPropertyStorage interface + */ +#ifndef __IWiaPropertyStorage_INTERFACE_DEFINED__ +#define __IWiaPropertyStorage_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaPropertyStorage, 0x98b5e8a0, 0x29cc, 0x491a, 0xaa,0xc0, 0xe6,0xdb,0x4f,0xdc,0xce,0xb6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("98b5e8a0-29cc-491a-aac0-e6db4fdcceb6") +IWiaPropertyStorage : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaPropertyStorage, 0x98b5e8a0, 0x29cc, 0x491a, 0xaa,0xc0, 0xe6,0xdb,0x4f,0xdc,0xce,0xb6) +#endif +#else +typedef struct IWiaPropertyStorageVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaPropertyStorage *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaPropertyStorage *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaPropertyStorage *This); + + END_INTERFACE +} IWiaPropertyStorageVtbl; + +interface IWiaPropertyStorage { + CONST_VTBL IWiaPropertyStorageVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaPropertyStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaPropertyStorage_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaPropertyStorage_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaPropertyStorage_QueryInterface(IWiaPropertyStorage* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaPropertyStorage_AddRef(IWiaPropertyStorage* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaPropertyStorage_Release(IWiaPropertyStorage* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IWiaPropertyStorage_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWiaItem interface + */ +#ifndef __IWiaItem_INTERFACE_DEFINED__ +#define __IWiaItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaItem, 0x4db1ad10, 0x3391, 0x11d2, 0x9a,0x33, 0x00,0xc0,0x4f,0xa3,0x61,0x45); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4db1ad10-3391-11d2-9a33-00c04fa36145") +IWiaItem : public IUnknown +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaItem, 0x4db1ad10, 0x3391, 0x11d2, 0x9a,0x33, 0x00,0xc0,0x4f,0xa3,0x61,0x45) +#endif +#else +typedef struct IWiaItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaItem *This); + + END_INTERFACE +} IWiaItemVtbl; + +interface IWiaItem { + CONST_VTBL IWiaItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaItem_Release(This) (This)->lpVtbl->Release(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaItem_QueryInterface(IWiaItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaItem_AddRef(IWiaItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaItem_Release(IWiaItem* This) { + return This->lpVtbl->Release(This); +} +#endif +#endif + +#endif + + +#endif /* __IWiaItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWiaEventCallback interface + */ +#ifndef __IWiaEventCallback_INTERFACE_DEFINED__ +#define __IWiaEventCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWiaEventCallback, 0xae6287b0, 0x0084, 0x11d2, 0x97,0x3b, 0x00,0xa0,0xc9,0x06,0x8f,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae6287b0-0084-11d2-973b-00a0c9068f2e") +IWiaEventCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ImageEventCallback( + const GUID *pEventGUID, + BSTR bstrEventDescription, + BSTR bstrDeviceID, + BSTR bstrDeviceDescription, + DWORD dwDeviceType, + BSTR bstrFullItemName, + ULONG *pulEventType, + ULONG ulReserved) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWiaEventCallback, 0xae6287b0, 0x0084, 0x11d2, 0x97,0x3b, 0x00,0xa0,0xc9,0x06,0x8f,0x2e) +#endif +#else +typedef struct IWiaEventCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWiaEventCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWiaEventCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWiaEventCallback *This); + + /*** IWiaEventCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *ImageEventCallback)( + IWiaEventCallback *This, + const GUID *pEventGUID, + BSTR bstrEventDescription, + BSTR bstrDeviceID, + BSTR bstrDeviceDescription, + DWORD dwDeviceType, + BSTR bstrFullItemName, + ULONG *pulEventType, + ULONG ulReserved); + + END_INTERFACE +} IWiaEventCallbackVtbl; + +interface IWiaEventCallback { + CONST_VTBL IWiaEventCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWiaEventCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWiaEventCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWiaEventCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IWiaEventCallback methods ***/ +#define IWiaEventCallback_ImageEventCallback(This,pEventGUID,bstrEventDescription,bstrDeviceID,bstrDeviceDescription,dwDeviceType,bstrFullItemName,pulEventType,ulReserved) (This)->lpVtbl->ImageEventCallback(This,pEventGUID,bstrEventDescription,bstrDeviceID,bstrDeviceDescription,dwDeviceType,bstrFullItemName,pulEventType,ulReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWiaEventCallback_QueryInterface(IWiaEventCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWiaEventCallback_AddRef(IWiaEventCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWiaEventCallback_Release(IWiaEventCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IWiaEventCallback methods ***/ +static FORCEINLINE HRESULT IWiaEventCallback_ImageEventCallback(IWiaEventCallback* This,const GUID *pEventGUID,BSTR bstrEventDescription,BSTR bstrDeviceID,BSTR bstrDeviceDescription,DWORD dwDeviceType,BSTR bstrFullItemName,ULONG *pulEventType,ULONG ulReserved) { + return This->lpVtbl->ImageEventCallback(This,pEventGUID,bstrEventDescription,bstrDeviceID,bstrDeviceDescription,dwDeviceType,bstrFullItemName,pulEventType,ulReserved); +} +#endif +#endif + +#endif + + +#endif /* __IWiaEventCallback_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wia_xp_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_xp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_xp.idl new file mode 100644 index 0000000..284528a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wia_xp.idl @@ -0,0 +1,158 @@ +/* + * Copyright 2009 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "oaidl.idl"; +import "propidl.idl"; + +cpp_quote("#include ") + +interface IEnumWIA_DEV_INFO; +interface IWiaPropertyStorage; +interface IWiaItem; +interface IWiaEventCallback; + +cpp_quote("DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11);") + +[ + object, + uuid(5eb2502a-8cf1-11d1-bf92-0060081ed811) +] +interface IWiaDevMgr : IUnknown +{ + HRESULT EnumDeviceInfo( + [in] LONG lFlag, + [retval, out] IEnumWIA_DEV_INFO **ppIEnum); + + HRESULT CreateDevice( + [in] BSTR bstrDeviceID, + [out] IWiaItem **ppWiaItemRoot); + + HRESULT SelectDeviceDlg( + [in] HWND hwndParent, + [in] LONG lDeviceType, + [in] LONG lFlags, + [in, out] BSTR *pbstrDeviceID, + [retval, out] IWiaItem **ppItemRoot); + + HRESULT SelectDeviceDlgID( + [in] HWND hwndParent, + [in] LONG lDeviceType, + [in] LONG lFlags, + [retval, out] BSTR *pbstrDeviceID); + + HRESULT GetImageDlg( + [in] HWND hwndParent, + [in] LONG lDeviceType, + [in] LONG lFlags, + [in] LONG lIntent, + [in] IWiaItem *pItemRoot, + [in] BSTR bstrFilename, + [in, out] GUID *pguidFormat); + + HRESULT RegisterEventCallbackProgram( + [in] LONG lFlags, + [in] BSTR bstrDeviceID, + [in] const GUID *pEventGUID, + [in] BSTR bstrCommandline, + [in] BSTR bstrName, + [in] BSTR bstrDescription, + [in] BSTR bstrIcon); + + HRESULT RegisterEventCallbackInterface( + [in] LONG lFlags, + [in] BSTR bstrDeviceID, + [in] const GUID *pEventGUID, + [unique, in] IWiaEventCallback *pIWiaEventCallback, + [out] IUnknown **pEventObject); + + HRESULT RegisterEventCallbackCLSID( + [in] LONG lFlags, + [in] BSTR bstrDeviceID, + [in] const GUID *pEventGUID, + [unique, in] const GUID *pClsID, + [in] BSTR bstrName, + [in] BSTR bstrDescription, + [in] BSTR bstrIcon); + + HRESULT AddDeviceDlg( + [in] HWND hwndParent, + [in] LONG lFlags); +} + +[ + object, + uuid(5e38b83c-8cf1-11d1-bf92-0060081ed811) +] +interface IEnumWIA_DEV_INFO : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [out, size_is(celt), length_is(*pceltFetched)] IWiaPropertyStorage **rgelt, + [out] ULONG *pceltFetched + ); + + HRESULT Skip( + [in] ULONG celt + ); + + HRESULT Reset(); + + HRESULT Clone( + [out] IEnumWIA_DEV_INFO **ppIEnum + ); + + HRESULT GetCount( + [out] ULONG *celt + ); +} + +[ + object, + uuid(98B5E8A0-29CC-491a-AAC0-E6DB4FDCCEB6) +] +interface IWiaPropertyStorage : IUnknown +{ + /* FIXME: fill in */ +} + +[ + object, + uuid(4db1ad10-3391-11d2-9a33-00c04fa36145) +] +interface IWiaItem : IUnknown +{ + /* FIXME: fill in */ +} + +[ + object, + uuid(ae6287b0-0084-11d2-973b-00a0c9068f2e) +] +interface IWiaEventCallback : IUnknown +{ + HRESULT ImageEventCallback( + [in] const GUID *pEventGUID, + [in] BSTR bstrEventDescription, + [in] BSTR bstrDeviceID, + [in] BSTR bstrDeviceDescription, + [in] DWORD dwDeviceType, + [in] BSTR bstrFullItemName, + [in,out] ULONG *pulEventType, + [in] ULONG ulReserved); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wiadef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wiadef.h new file mode 100644 index 0000000..28e43e0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wiadef.h @@ -0,0 +1,22 @@ +/* + * WIA constants + * + * Copyright 2015 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define WIA_DEVINFO_ENUM_ALL 0x0000000f +#define WIA_DEVINFO_ENUM_LOCAL 0x00000010 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wimgapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wimgapi.h new file mode 100644 index 0000000..e517b57 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wimgapi.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2015 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WIMGAPI_H_ +#define _WIMGAPI_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _WIM_MOUNT_LIST +{ + WCHAR WimPath[MAX_PATH]; + WCHAR MountPath[MAX_PATH]; + DWORD ImageIndex; + BOOL MountedForRW; +} WIM_MOUNT_LIST, *PWIM_MOUNT_LIST, *LPWIM_MOUNT_LIST; + +#ifdef __cplusplus +} +#endif + +#endif /* _WIMGAPI_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winbase.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winbase.h new file mode 100644 index 0000000..9f77084 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winbase.h @@ -0,0 +1,3100 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINBASE_H +#define __WINE_WINBASE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _KERNEL32_ +#define WINBASEAPI +#else +#define WINBASEAPI DECLSPEC_IMPORT +#endif + +#ifdef _ADVAPI32_ +#define WINADVAPI +#else +#define WINADVAPI DECLSPEC_IMPORT +#endif + +#include + + /* Windows Exit Procedure flag values */ +#define WEP_FREE_DLL 0 +#define WEP_SYSTEM_EXIT 1 + +typedef DWORD (CALLBACK *LPTHREAD_START_ROUTINE)(LPVOID); + +typedef VOID (WINAPI *PFIBER_START_ROUTINE)( LPVOID lpFiberParameter ); +typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE; + +#define FIBER_FLAG_FLOAT_SWITCH 1 + +typedef RTL_CRITICAL_SECTION CRITICAL_SECTION; +typedef PRTL_CRITICAL_SECTION PCRITICAL_SECTION; +typedef PRTL_CRITICAL_SECTION LPCRITICAL_SECTION; + +typedef RTL_CRITICAL_SECTION_DEBUG CRITICAL_SECTION_DEBUG; +typedef PRTL_CRITICAL_SECTION_DEBUG PCRITICAL_SECTION_DEBUG; +typedef PRTL_CRITICAL_SECTION_DEBUG LPCRITICAL_SECTION_DEBUG; + +#define CRITICAL_SECTION_NO_DEBUG_INFO RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO + +typedef RTL_SRWLOCK SRWLOCK; +typedef PRTL_SRWLOCK PSRWLOCK; + +#define SRWLOCK_INIT RTL_SRWLOCK_INIT + +typedef WAITORTIMERCALLBACKFUNC WAITORTIMERCALLBACK; + +#define CONDITION_VARIABLE_INIT RTL_CONDITION_VARIABLE_INIT +#define CONDITION_VARIABLE_LOCKMODE_SHARED RTL_CONDITION_VARIABLE_LOCKMODE_SHARED +typedef RTL_CONDITION_VARIABLE CONDITION_VARIABLE, *PCONDITION_VARIABLE; + +#define EXCEPTION_DEBUG_EVENT 1 +#define CREATE_THREAD_DEBUG_EVENT 2 +#define CREATE_PROCESS_DEBUG_EVENT 3 +#define EXIT_THREAD_DEBUG_EVENT 4 +#define EXIT_PROCESS_DEBUG_EVENT 5 +#define LOAD_DLL_DEBUG_EVENT 6 +#define UNLOAD_DLL_DEBUG_EVENT 7 +#define OUTPUT_DEBUG_STRING_EVENT 8 +#define RIP_EVENT 9 + +typedef struct _EXCEPTION_DEBUG_INFO { + EXCEPTION_RECORD ExceptionRecord; + DWORD dwFirstChance; +} EXCEPTION_DEBUG_INFO; + +typedef struct _CREATE_THREAD_DEBUG_INFO { + HANDLE hThread; + LPVOID lpThreadLocalBase; + LPTHREAD_START_ROUTINE lpStartAddress; +} CREATE_THREAD_DEBUG_INFO; + +typedef struct _CREATE_PROCESS_DEBUG_INFO { + HANDLE hFile; + HANDLE hProcess; + HANDLE hThread; + LPVOID lpBaseOfImage; + DWORD dwDebugInfoFileOffset; + DWORD nDebugInfoSize; + LPVOID lpThreadLocalBase; + LPTHREAD_START_ROUTINE lpStartAddress; + LPVOID lpImageName; + WORD fUnicode; +} CREATE_PROCESS_DEBUG_INFO; + +typedef struct _EXIT_THREAD_DEBUG_INFO { + DWORD dwExitCode; +} EXIT_THREAD_DEBUG_INFO; + +typedef struct _EXIT_PROCESS_DEBUG_INFO { + DWORD dwExitCode; +} EXIT_PROCESS_DEBUG_INFO; + +typedef struct _LOAD_DLL_DEBUG_INFO { + HANDLE hFile; + LPVOID lpBaseOfDll; + DWORD dwDebugInfoFileOffset; + DWORD nDebugInfoSize; + LPVOID lpImageName; + WORD fUnicode; +} LOAD_DLL_DEBUG_INFO; + +typedef struct _UNLOAD_DLL_DEBUG_INFO { + LPVOID lpBaseOfDll; +} UNLOAD_DLL_DEBUG_INFO; + +typedef struct _OUTPUT_DEBUG_STRING_INFO { + LPSTR lpDebugStringData; + WORD fUnicode; + WORD nDebugStringLength; +} OUTPUT_DEBUG_STRING_INFO; + +typedef struct _RIP_INFO { + DWORD dwError; + DWORD dwType; +} RIP_INFO; + +typedef struct _DEBUG_EVENT { + DWORD dwDebugEventCode; + DWORD dwProcessId; + DWORD dwThreadId; + union { + EXCEPTION_DEBUG_INFO Exception; + CREATE_THREAD_DEBUG_INFO CreateThread; + CREATE_PROCESS_DEBUG_INFO CreateProcessInfo; + EXIT_THREAD_DEBUG_INFO ExitThread; + EXIT_PROCESS_DEBUG_INFO ExitProcess; + LOAD_DLL_DEBUG_INFO LoadDll; + UNLOAD_DLL_DEBUG_INFO UnloadDll; + OUTPUT_DEBUG_STRING_INFO DebugString; + RIP_INFO RipInfo; + } u; +} DEBUG_EVENT, *LPDEBUG_EVENT; + +typedef PCONTEXT LPCONTEXT; +typedef PEXCEPTION_RECORD LPEXCEPTION_RECORD; +typedef PEXCEPTION_POINTERS LPEXCEPTION_POINTERS; + +typedef LONG (CALLBACK *PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS); +typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER; + +#define OFS_MAXPATHNAME 128 +typedef struct _OFSTRUCT +{ + BYTE cBytes; + BYTE fFixedDisk; + WORD nErrCode; + WORD Reserved1; + WORD Reserved2; + CHAR szPathName[OFS_MAXPATHNAME]; +} OFSTRUCT, *POFSTRUCT, *LPOFSTRUCT; + +#define OF_READ 0x0000 +#define OF_WRITE 0x0001 +#define OF_READWRITE 0x0002 +#define OF_SHARE_COMPAT 0x0000 +#define OF_SHARE_EXCLUSIVE 0x0010 +#define OF_SHARE_DENY_WRITE 0x0020 +#define OF_SHARE_DENY_READ 0x0030 +#define OF_SHARE_DENY_NONE 0x0040 +#define OF_PARSE 0x0100 +#define OF_DELETE 0x0200 +#define OF_VERIFY 0x0400 /* Used with OF_REOPEN */ +#define OF_SEARCH 0x0400 /* Used without OF_REOPEN */ +#define OF_CANCEL 0x0800 +#define OF_CREATE 0x1000 +#define OF_PROMPT 0x2000 +#define OF_EXIST 0x4000 +#define OF_REOPEN 0x8000 + +/* SetErrorMode values */ +#define SEM_FAILCRITICALERRORS 0x0001 +#define SEM_NOGPFAULTERRORBOX 0x0002 +#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004 +#define SEM_NOOPENFILEERRORBOX 0x8000 + +/* CopyFileEx flags */ +#define COPY_FILE_FAIL_IF_EXISTS 0x00000001 +#define COPY_FILE_RESTARTABLE 0x00000002 +#define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x00000004 +#define COPY_FILE_ALLOW_DECRYPTED_DESTINATION 0x00000008 +#define COPY_FILE_COPY_SYMLINK 0x00000800 +#define COPY_FILE_NO_BUFFERING 0x00001000 + +/* return values for CopyProgressRoutine */ +#define PROGRESS_CONTINUE 0 +#define PROGRESS_CANCEL 1 +#define PROGRESS_STOP 2 +#define PROGRESS_QUIET 3 + +/* reason codes for CopyProgressRoutine */ +#define CALLBACK_CHUNK_FINISHED 0 +#define CALLBACK_STREAM_SWITCH 1 + +/* GetTempFileName() Flags */ +#define TF_FORCEDRIVE 0x80 + +#define DRIVE_UNKNOWN 0 +#define DRIVE_NO_ROOT_DIR 1 +#define DRIVE_REMOVABLE 2 +#define DRIVE_FIXED 3 +#define DRIVE_REMOTE 4 +/* Win32 additions */ +#define DRIVE_CDROM 5 +#define DRIVE_RAMDISK 6 + +#define MAX_COMPUTERNAME_LENGTH 15 + +/* The security attributes structure */ +typedef struct _SECURITY_ATTRIBUTES +{ + DWORD nLength; + LPVOID lpSecurityDescriptor; + BOOL bInheritHandle; +} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; + +#ifndef _FILETIME_ +#define _FILETIME_ +/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */ +typedef struct _FILETIME +{ +#ifdef WORDS_BIGENDIAN + DWORD dwHighDateTime; + DWORD dwLowDateTime; +#else + DWORD dwLowDateTime; + DWORD dwHighDateTime; +#endif +} FILETIME, *PFILETIME, *LPFILETIME; +#endif /* _FILETIME_ */ + +/* Find* structures */ +typedef struct _WIN32_FIND_DATAA +{ + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; + DWORD dwReserved0; + DWORD dwReserved1; + CHAR cFileName[260]; + CHAR cAlternateFileName[14]; +} WIN32_FIND_DATAA, *PWIN32_FIND_DATAA, *LPWIN32_FIND_DATAA; + +typedef struct _WIN32_FIND_DATAW +{ + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; + DWORD dwReserved0; + DWORD dwReserved1; + WCHAR cFileName[260]; + WCHAR cAlternateFileName[14]; +} WIN32_FIND_DATAW, *PWIN32_FIND_DATAW, *LPWIN32_FIND_DATAW; + +DECL_WINELIB_TYPE_AW(WIN32_FIND_DATA) +DECL_WINELIB_TYPE_AW(PWIN32_FIND_DATA) +DECL_WINELIB_TYPE_AW(LPWIN32_FIND_DATA) + +typedef enum _FINDEX_INFO_LEVELS +{ + FindExInfoStandard, + FindExInfoBasic, + FindExInfoMaxInfoLevel +} FINDEX_INFO_LEVELS; + +#define FIND_FIRST_EX_CASE_SENSITIVE 1 +#define FIND_FIRST_EX_LARGE_FETCH 2 + +typedef enum _FINDEX_SEARCH_OPS +{ + FindExSearchNameMatch, + FindExSearchLimitToDirectories, + FindExSearchLimitToDevices, + FindExSearchMaxSearchOp +} FINDEX_SEARCH_OPS; + +typedef struct _PROCESS_HEAP_ENTRY +{ + LPVOID lpData; + DWORD cbData; + BYTE cbOverhead; + BYTE iRegionIndex; + WORD wFlags; + union { + struct { + HANDLE hMem; + DWORD dwReserved[3]; + } Block; + struct { + DWORD dwCommittedSize; + DWORD dwUnCommittedSize; + LPVOID lpFirstBlock; + LPVOID lpLastBlock; + } Region; + } DUMMYUNIONNAME; +} PROCESS_HEAP_ENTRY, *PPROCESS_HEAP_ENTRY, *LPPROCESS_HEAP_ENTRY; + +#define PROCESS_HEAP_REGION 0x0001 +#define PROCESS_HEAP_UNCOMMITTED_RANGE 0x0002 +#define PROCESS_HEAP_ENTRY_BUSY 0x0004 +#define PROCESS_HEAP_ENTRY_MOVEABLE 0x0010 +#define PROCESS_HEAP_ENTRY_DDESHARE 0x0020 + +#define INVALID_HANDLE_VALUE ((HANDLE)~(ULONG_PTR)0) +#define INVALID_FILE_SIZE (~0u) +#define INVALID_SET_FILE_POINTER (~0u) +#define INVALID_FILE_ATTRIBUTES (~0u) + +#define LOCKFILE_FAIL_IMMEDIATELY 1 +#define LOCKFILE_EXCLUSIVE_LOCK 2 + +#define FLS_OUT_OF_INDEXES (~0u) +#define TLS_OUT_OF_INDEXES (~0u) + +#define SHUTDOWN_NORETRY 1 + +/* comm */ + +#define CBR_110 0xFF10 +#define CBR_300 0xFF11 +#define CBR_600 0xFF12 +#define CBR_1200 0xFF13 +#define CBR_2400 0xFF14 +#define CBR_4800 0xFF15 +#define CBR_9600 0xFF16 +#define CBR_14400 0xFF17 +#define CBR_19200 0xFF18 +#define CBR_38400 0xFF1B +#define CBR_56000 0xFF1F +#define CBR_57600 0xFF20 +#define CBR_115200 0xFF21 +#define CBR_128000 0xFF23 +#define CBR_256000 0xFF27 + +#define NOPARITY 0 +#define ODDPARITY 1 +#define EVENPARITY 2 +#define MARKPARITY 3 +#define SPACEPARITY 4 +#define ONESTOPBIT 0 +#define ONE5STOPBITS 1 +#define TWOSTOPBITS 2 + +#define IGNORE 0 +#define INFINITE 0xFFFFFFFF + +#define CE_RXOVER 0x0001 +#define CE_OVERRUN 0x0002 +#define CE_RXPARITY 0x0004 +#define CE_FRAME 0x0008 +#define CE_BREAK 0x0010 +#define CE_CTSTO 0x0020 +#define CE_DSRTO 0x0040 +#define CE_RLSDTO 0x0080 +#define CE_TXFULL 0x0100 +#define CE_PTO 0x0200 +#define CE_IOE 0x0400 +#define CE_DNS 0x0800 +#define CE_OOP 0x1000 +#define CE_MODE 0x8000 + +#define IE_BADID -1 +#define IE_OPEN -2 +#define IE_NOPEN -3 +#define IE_MEMORY -4 +#define IE_DEFAULT -5 +#define IE_HARDWARE -10 +#define IE_BYTESIZE -11 +#define IE_BAUDRATE -12 + +#define EV_RXCHAR 0x0001 +#define EV_RXFLAG 0x0002 +#define EV_TXEMPTY 0x0004 +#define EV_CTS 0x0008 +#define EV_DSR 0x0010 +#define EV_RLSD 0x0020 +#define EV_BREAK 0x0040 +#define EV_ERR 0x0080 +#define EV_RING 0x0100 +#define EV_PERR 0x0200 +#define EV_RX80FULL 0x0400 +#define EV_EVENT1 0x0800 +#define EV_EVENT2 0x1000 + +#define SETXOFF 1 +#define SETXON 2 +#define SETRTS 3 +#define CLRRTS 4 +#define SETDTR 5 +#define CLRDTR 6 +#define RESETDEV 7 +#define SETBREAK 8 +#define CLRBREAK 9 + +/* Purge functions for Comm Port */ +#define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the + comm port */ +#define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to + the comm port */ +#define PURGE_TXCLEAR 0x0004 /* Kill the transmit queue if there*/ +#define PURGE_RXCLEAR 0x0008 /* Kill the typeahead buffer if there*/ + + +/* Modem Status Flags */ +#define MS_CTS_ON ((DWORD)0x0010) +#define MS_DSR_ON ((DWORD)0x0020) +#define MS_RING_ON ((DWORD)0x0040) +#define MS_RLSD_ON ((DWORD)0x0080) + +#define RTS_CONTROL_DISABLE 0 +#define RTS_CONTROL_ENABLE 1 +#define RTS_CONTROL_HANDSHAKE 2 +#define RTS_CONTROL_TOGGLE 3 + +#define DTR_CONTROL_DISABLE 0 +#define DTR_CONTROL_ENABLE 1 +#define DTR_CONTROL_HANDSHAKE 2 + + +#define LMEM_FIXED 0 +#define LMEM_MOVEABLE 0x0002 +#define LMEM_NOCOMPACT 0x0010 +#define LMEM_NODISCARD 0x0020 +#define LMEM_ZEROINIT 0x0040 +#define LMEM_MODIFY 0x0080 +#define LMEM_DISCARDABLE 0x0F00 +#define LMEM_DISCARDED 0x4000 +#define LMEM_INVALID_HANDLE 0x8000 +#define LMEM_LOCKCOUNT 0x00FF + +#define LPTR (LMEM_FIXED | LMEM_ZEROINIT) +#define LHND (LMEM_MOVEABLE | LMEM_ZEROINIT) + +#define NONZEROLHND (LMEM_MOVEABLE) +#define NONZEROLPTR (LMEM_FIXED) + +#define LocalDiscard(h) (LocalReAlloc((h),0,LMEM_MOVEABLE)) + +#define GMEM_FIXED 0x0000 +#define GMEM_MOVEABLE 0x0002 +#define GMEM_NOCOMPACT 0x0010 +#define GMEM_NODISCARD 0x0020 +#define GMEM_ZEROINIT 0x0040 +#define GMEM_MODIFY 0x0080 +#define GMEM_DISCARDABLE 0x0100 +#define GMEM_NOT_BANKED 0x1000 +#define GMEM_SHARE 0x2000 +#define GMEM_DDESHARE 0x2000 +#define GMEM_NOTIFY 0x4000 +#define GMEM_LOWER GMEM_NOT_BANKED +#define GMEM_DISCARDED 0x4000 +#define GMEM_LOCKCOUNT 0x00ff +#define GMEM_INVALID_HANDLE 0x8000 + +#define GHND (GMEM_MOVEABLE | GMEM_ZEROINIT) +#define GPTR (GMEM_FIXED | GMEM_ZEROINIT) + +#define GlobalLRUNewest(h) ((HANDLE)(h)) +#define GlobalLRUOldest(h) ((HANDLE)(h)) +#define GlobalDiscard(h) (GlobalReAlloc((h),0,GMEM_MOVEABLE)) + +#define INVALID_ATOM ((ATOM)0) +#define MAXINTATOM 0xc000 +#ifdef WINE_NO_UNICODE_MACROS /* force using a cast */ +#define MAKEINTATOM(atom) ((ULONG_PTR)((WORD)(atom))) +#else +#define MAKEINTATOM(atom) ((LPTSTR)((ULONG_PTR)((WORD)(atom)))) +#endif + +typedef struct tagMEMORYSTATUS +{ + DWORD dwLength; + DWORD dwMemoryLoad; + SIZE_T dwTotalPhys; + SIZE_T dwAvailPhys; + SIZE_T dwTotalPageFile; + SIZE_T dwAvailPageFile; + SIZE_T dwTotalVirtual; + SIZE_T dwAvailVirtual; +} MEMORYSTATUS, *LPMEMORYSTATUS; + +#include +typedef struct tagMEMORYSTATUSEX { + DWORD dwLength; + DWORD dwMemoryLoad; + DWORDLONG DECLSPEC_ALIGN(8) ullTotalPhys; + DWORDLONG DECLSPEC_ALIGN(8) ullAvailPhys; + DWORDLONG DECLSPEC_ALIGN(8) ullTotalPageFile; + DWORDLONG DECLSPEC_ALIGN(8) ullAvailPageFile; + DWORDLONG DECLSPEC_ALIGN(8) ullTotalVirtual; + DWORDLONG DECLSPEC_ALIGN(8) ullAvailVirtual; + DWORDLONG DECLSPEC_ALIGN(8) ullAvailExtendedVirtual; +} MEMORYSTATUSEX, *LPMEMORYSTATUSEX; +#include + +typedef enum _MEMORY_RESOURCE_NOTIFICATION_TYPE { + LowMemoryResourceNotification, + HighMemoryResourceNotification +} MEMORY_RESOURCE_NOTIFICATION_TYPE; + +#ifndef _SYSTEMTIME_ +#define _SYSTEMTIME_ +typedef struct _SYSTEMTIME{ + WORD wYear; + WORD wMonth; + WORD wDayOfWeek; + WORD wDay; + WORD wHour; + WORD wMinute; + WORD wSecond; + WORD wMilliseconds; +} SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME; +#endif /* _SYSTEMTIME_ */ + +/* The 'overlapped' data structure used by async I/O functions. + */ +typedef struct _OVERLAPPED { +#ifdef WORDS_BIGENDIAN + ULONG_PTR InternalHigh; + ULONG_PTR Internal; +#else + ULONG_PTR Internal; + ULONG_PTR InternalHigh; +#endif + union { + struct { +#ifdef WORDS_BIGENDIAN + DWORD OffsetHigh; + DWORD Offset; +#else + DWORD Offset; + DWORD OffsetHigh; +#endif + } DUMMYSTRUCTNAME; + PVOID Pointer; + } DUMMYUNIONNAME; + HANDLE hEvent; +} OVERLAPPED, *LPOVERLAPPED; + +typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED); + +/* Process startup information. + */ + +/* STARTUPINFO.dwFlags */ +#define STARTF_USESHOWWINDOW 0x00000001 +#define STARTF_USESIZE 0x00000002 +#define STARTF_USEPOSITION 0x00000004 +#define STARTF_USECOUNTCHARS 0x00000008 +#define STARTF_USEFILLATTRIBUTE 0x00000010 +#define STARTF_RUNFULLSCREEN 0x00000020 +#define STARTF_FORCEONFEEDBACK 0x00000040 +#define STARTF_FORCEOFFFEEDBACK 0x00000080 +#define STARTF_USESTDHANDLES 0x00000100 +#define STARTF_USEHOTKEY 0x00000200 + +typedef struct _STARTUPINFOA{ + DWORD cb; /* 00: size of struct */ + LPSTR lpReserved; /* 04: */ + LPSTR lpDesktop; /* 08: */ + LPSTR lpTitle; /* 0c: */ + DWORD dwX; /* 10: */ + DWORD dwY; /* 14: */ + DWORD dwXSize; /* 18: */ + DWORD dwYSize; /* 1c: */ + DWORD dwXCountChars; /* 20: */ + DWORD dwYCountChars; /* 24: */ + DWORD dwFillAttribute; /* 28: */ + DWORD dwFlags; /* 2c: */ + WORD wShowWindow; /* 30: */ + WORD cbReserved2; /* 32: */ + BYTE *lpReserved2; /* 34: */ + HANDLE hStdInput; /* 38: */ + HANDLE hStdOutput; /* 3c: */ + HANDLE hStdError; /* 40: */ +} STARTUPINFOA, *LPSTARTUPINFOA; + +typedef struct _STARTUPINFOW{ + DWORD cb; + LPWSTR lpReserved; + LPWSTR lpDesktop; + LPWSTR lpTitle; + DWORD dwX; + DWORD dwY; + DWORD dwXSize; + DWORD dwYSize; + DWORD dwXCountChars; + DWORD dwYCountChars; + DWORD dwFillAttribute; + DWORD dwFlags; + WORD wShowWindow; + WORD cbReserved2; + BYTE *lpReserved2; + HANDLE hStdInput; + HANDLE hStdOutput; + HANDLE hStdError; +} STARTUPINFOW, *LPSTARTUPINFOW; + +DECL_WINELIB_TYPE_AW(STARTUPINFO) +DECL_WINELIB_TYPE_AW(LPSTARTUPINFO) + +typedef struct _PROCESS_INFORMATION{ + HANDLE hProcess; + HANDLE hThread; + DWORD dwProcessId; + DWORD dwThreadId; +} PROCESS_INFORMATION, *PPROCESS_INFORMATION, *LPPROCESS_INFORMATION; + +typedef struct _TIME_DYNAMIC_ZONE_INFORMATION +{ + LONG Bias; + WCHAR StandardName[32]; + SYSTEMTIME StandardDate; + LONG StandardBias; + WCHAR DaylightName[32]; + SYSTEMTIME DaylightDate; + LONG DaylightBias; + WCHAR TimeZoneKeyName[128]; + BOOLEAN DynamicDaylightTimeDisabled; +} DYNAMIC_TIME_ZONE_INFORMATION, *PDYNAMIC_TIME_ZONE_INFORMATION; + +typedef struct _TIME_ZONE_INFORMATION{ + LONG Bias; + WCHAR StandardName[32]; + SYSTEMTIME StandardDate; + LONG StandardBias; + WCHAR DaylightName[32]; + SYSTEMTIME DaylightDate; + LONG DaylightBias; +} TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION; + +#define TIME_ZONE_ID_INVALID ((DWORD)0xFFFFFFFF) +#define TIME_ZONE_ID_UNKNOWN 0 +#define TIME_ZONE_ID_STANDARD 1 +#define TIME_ZONE_ID_DAYLIGHT 2 + +/* CreateProcess: dwCreationFlag values + */ +#define DEBUG_PROCESS 0x00000001 +#define DEBUG_ONLY_THIS_PROCESS 0x00000002 +#define CREATE_SUSPENDED 0x00000004 +#define DETACHED_PROCESS 0x00000008 +#define CREATE_NEW_CONSOLE 0x00000010 +#define NORMAL_PRIORITY_CLASS 0x00000020 +#define IDLE_PRIORITY_CLASS 0x00000040 +#define HIGH_PRIORITY_CLASS 0x00000080 +#define REALTIME_PRIORITY_CLASS 0x00000100 +#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000 +#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000 +#define CREATE_NEW_PROCESS_GROUP 0x00000200 +#define CREATE_UNICODE_ENVIRONMENT 0x00000400 +#define CREATE_SEPARATE_WOW_VDM 0x00000800 +#define CREATE_SHARED_WOW_VDM 0x00001000 +#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000 +#define CREATE_BREAKAWAY_FROM_JOB 0x01000000 +#define CREATE_DEFAULT_ERROR_MODE 0x04000000 +#define CREATE_NO_WINDOW 0x08000000 +#define PROFILE_USER 0x10000000 +#define PROFILE_KERNEL 0x20000000 +#define PROFILE_SERVER 0x40000000 + + +/* File object type definitions + */ +#define FILE_TYPE_UNKNOWN 0 +#define FILE_TYPE_DISK 1 +#define FILE_TYPE_CHAR 2 +#define FILE_TYPE_PIPE 3 +#define FILE_TYPE_REMOTE 32768 + +/* File encryption status + */ +#define FILE_ENCRYPTABLE 0 +#define FILE_IS_ENCRYPTED 1 +#define FILE_SYSTEM_ATTR 2 +#define FILE_ROOT_DIR 3 +#define FILE_SYSTEM_DIR 4 +#define FILE_UNKNOWN 5 +#define FILE_SYSTEM_NOT_SUPPORT 6 +#define FILE_USER_DISALLOWED 7 +#define FILE_READ_ONLY 8 +#define FILE_DIR_DISALLOWED 9 + +typedef DWORD (WINAPI *PFE_EXPORT_FUNC)(PBYTE,PVOID,ULONG); +typedef DWORD (WINAPI *PFE_IMPORT_FUNC)(PBYTE,PVOID,ULONG); + +#define CREATE_FOR_IMPORT (1) +#define CREATE_FOR_DIR (2) +#define OVERWRITE_HIDDEN (4) +#define EFSRPC_SECURE_ONLY (8) + +/* File creation flags + */ +#define FILE_FLAG_WRITE_THROUGH 0x80000000 +#define FILE_FLAG_OVERLAPPED 0x40000000 +#define FILE_FLAG_NO_BUFFERING 0x20000000 +#define FILE_FLAG_RANDOM_ACCESS 0x10000000 +#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000 +#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000 +#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000 +#define FILE_FLAG_POSIX_SEMANTICS 0x01000000 +#define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000 +#define FILE_FLAG_OPEN_NO_RECALL 0x00100000 +#define FILE_FLAG_FIRST_PIPE_INSTANCE 0x00080000 + +#define CREATE_NEW 1 +#define CREATE_ALWAYS 2 +#define OPEN_EXISTING 3 +#define OPEN_ALWAYS 4 +#define TRUNCATE_EXISTING 5 + +/* Standard handle identifiers + */ +#define STD_INPUT_HANDLE ((DWORD) -10) +#define STD_OUTPUT_HANDLE ((DWORD) -11) +#define STD_ERROR_HANDLE ((DWORD) -12) + +/* Flags for GetFinalPathNameByHandle + */ +#define FILE_NAME_NORMALIZED 0x0 +#define FILE_NAME_OPENED 0x8 +#define VOLUME_NAME_DOS 0x0 +#define VOLUME_NAME_GUID 0x1 +#define VOLUME_NAME_NT 0x2 +#define VOLUME_NAME_NONE 0x4 + +typedef struct _BY_HANDLE_FILE_INFORMATION +{ + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD dwVolumeSerialNumber; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; + DWORD nNumberOfLinks; + DWORD nFileIndexHigh; + DWORD nFileIndexLow; +} BY_HANDLE_FILE_INFORMATION, *PBY_HANDLE_FILE_INFORMATION, *LPBY_HANDLE_FILE_INFORMATION ; + +typedef enum _FILE_ID_TYPE { + FileIdType, + ObjectIdType, + ExtendedFileIdType, + MaximumFileIdType +} FILE_ID_TYPE, *PFILE_ID_TYPE; + +typedef struct _FILE_ID_DESCRIPTOR { + DWORD dwSize; + FILE_ID_TYPE Type; + union { + LARGE_INTEGER FileId; + GUID ObjectId; + } DUMMYUNIONNAME; +} FILE_ID_DESCRIPTOR, *LPFILE_ID_DESCRIPTOR; + +typedef enum _FILE_INFO_BY_HANDLE_CLASS { + FileBasicInfo, + FileStandardInfo, + FileNameInfo, + FileRenameInfo, + FileDispositionInfo, + FileAllocationInfo, + FileEndOfFileInfo, + FileStreamInfo, + FileCompressionInfo, + FileAttributeTagInfo, + FileIdBothDirectoryInfo, + FileIdBothDirectoryRestartInfo, + FileIoPriorityHintInfo, + FileRemoteProtocolInfo, + FileFullDirectoryInfo, + FileFullDirectoryRestartInfo, + FileStorageInfo, + FileAlignmentInfo, + FileIdInfo, + FileIdExtdDirectoryInfo, + FileIdExtdDirectoryRestartInfo, + MaximumFileInfoByHandlesClass +} FILE_INFO_BY_HANDLE_CLASS, *PFILE_INFO_BY_HANDLE_CLASS; + +typedef struct _FILE_ID_BOTH_DIR_INFO { + DWORD NextEntryOffset; + DWORD FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + DWORD FileAttributes; + DWORD FileNameLength; + DWORD EaSize; + CCHAR ShortNameLength; + WCHAR ShortName[12]; + LARGE_INTEGER FileId; + WCHAR FileName[1]; +} FILE_ID_BOTH_DIR_INFO, *PFILE_ID_BOTH_DIR_INFO; + +typedef struct _FILE_BASIC_INFO { + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + DWORD FileAttributes; +} FILE_BASIC_INFO, *PFILE_BASIC_INFO; + +typedef struct _FILE_STANDARD_INFO { + LARGE_INTEGER AllocationSize; + LARGE_INTEGER EndOfFile; + DWORD NumberOfLinks; + BOOLEAN DeletePending; + BOOLEAN Directory; +} FILE_STANDARD_INFO, *PFILE_STANDARD_INFO; + +typedef struct _FILE_NAME_INFO { + DWORD FileNameLength; + WCHAR FileName[1]; +} FILE_NAME_INFO, *PFILE_NAME_INFO; + +typedef enum _PRIORITY_HINT { + IoPriorityHintVeryLow, + IoPriorityHintLow, + IoPriorityHintNormal, + MaximumIoPriorityHintType +} PRIORITY_HINT; + +typedef struct _FILE_IO_PRIORITY_HINT_INFO { + PRIORITY_HINT PriorityHint; +} FILE_IO_PRIORITY_HINT_INFO; + +typedef struct _FILE_ALLOCATION_INFO { + LARGE_INTEGER AllocationSize; +} FILE_ALLOCATION_INFO, *PFILE_ALLOCATION_INFO; + +typedef struct _FILE_DISPOSITION_INFO { + BOOLEAN DeleteFile; +} FILE_DISPOSITION_INFO, *PFILE_DISPOSITION_INFO; + +typedef struct _FILE_END_OF_FILE_INFO { + LARGE_INTEGER EndOfFile; +} FILE_END_OF_FILE_INFO, *PFILE_END_OF_FILE_INFO; + +typedef struct _FILE_RENAME_INFO { + BOOLEAN ReplaceIfExists; + HANDLE RootDirectory; + DWORD FileNameLength; + WCHAR FileName[1]; +} FILE_RENAME_INFO, *PFILE_RENAME_INFO; + +typedef struct _FILE_ATTRIBUTE_TAG_INFO { + DWORD FileAttributes; + DWORD ReparseTag; +} FILE_ATTRIBUTE_TAG_INFO, *PFILE_ATTRIBUTE_TAG_INFO; + +typedef struct _FILE_COMPRESSION_INFO { + LARGE_INTEGER CompressedFileSize; + WORD CompressionFormat; + UCHAR CompressionUnitShift; + UCHAR ChunkShift; + UCHAR ClusterShift; + UCHAR Reserved[3]; +} FILE_COMPRESSION_INFO, *PFILE_COMPRESSION_INFO; + +typedef struct _FILE_REMOTE_PROTOCOL_INFO { + USHORT StructureVersion; + USHORT StructureSize; + ULONG Protocol; + USHORT ProtocolMajorVersion; + USHORT ProtocolMinorVersion; + USHORT ProtocolRevision; + USHORT Reserved; + ULONG Flags; + struct { + ULONG Reserved[8]; + } GenericReserved; + struct { + ULONG Reserved[16]; + } ProtocolSpecificReserved; +} FILE_REMOTE_PROTOCOL_INFO, *PFILE_REMOTE_PROTOCOL_INFO; + +#define PIPE_ACCESS_INBOUND 1 +#define PIPE_ACCESS_OUTBOUND 2 +#define PIPE_ACCESS_DUPLEX 3 + +#define PIPE_CLIENT_END 0 +#define PIPE_SERVER_END 1 +#define PIPE_READMODE_BYTE 0 +#define PIPE_READMODE_MESSAGE 2 +#define PIPE_TYPE_BYTE 0 +#define PIPE_TYPE_MESSAGE 4 + +#define PIPE_WAIT 0 +#define PIPE_NOWAIT 1 + +#define PIPE_UNLIMITED_INSTANCES 255 + +#define NMPWAIT_WAIT_FOREVER 0xffffffff +#define NMPWAIT_NOWAIT 0x00000001 +#define NMPWAIT_USE_DEFAULT_WAIT 0x00000000 + +/* Security flags for dwFlagsAndAttributes of CreateFile */ +#define SECURITY_ANONYMOUS (SecurityAnonymous << 16) +#define SECURITY_IDENTIFICATION (SecurityIdentification << 16) +#define SECURITY_IMPERSONATION (SecurityImpersonation << 16) +#define SECURITY_DELEGATION (SecurityDelegation << 16) + +#define SECURITY_CONTEXT_TRACKING 0x00040000 +#define SECURITY_EFFECTIVE_ONLY 0x00080000 + +#define SECURITY_SQOS_PRESENT 0x00100000 +#define SECURITY_VALID_SQOS_FLAGS 0x001f0000 + +typedef struct _SYSTEM_POWER_STATUS +{ + BYTE ACLineStatus; + BYTE BatteryFlag; + BYTE BatteryLifePercent; + BYTE Reserved1; + DWORD BatteryLifeTime; + DWORD BatteryFullLifeTime; +} SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS; + +typedef enum _POWER_REQUEST_TYPE +{ + PowerRequestDisplayRequired, + PowerRequestSystemRequired, + PowerRequestAwayModeRequired +} POWER_REQUEST_TYPE, *PPOWER_REQUEST_TYPE; + +typedef struct _SYSTEM_INFO +{ + union { + DWORD dwOemId; /* Obsolete field - do not use */ + struct { + WORD wProcessorArchitecture; + WORD wReserved; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + DWORD dwPageSize; + LPVOID lpMinimumApplicationAddress; + LPVOID lpMaximumApplicationAddress; + DWORD_PTR dwActiveProcessorMask; + DWORD dwNumberOfProcessors; + DWORD dwProcessorType; + DWORD dwAllocationGranularity; + WORD wProcessorLevel; + WORD wProcessorRevision; +} SYSTEM_INFO, *LPSYSTEM_INFO; + +typedef BOOL (CALLBACK *ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG_PTR); +typedef BOOL (CALLBACK *ENUMRESTYPEPROCW)(HMODULE,LPWSTR,LONG_PTR); +typedef BOOL (CALLBACK *ENUMRESNAMEPROCA)(HMODULE,LPCSTR,LPSTR,LONG_PTR); +typedef BOOL (CALLBACK *ENUMRESNAMEPROCW)(HMODULE,LPCWSTR,LPWSTR,LONG_PTR); +typedef BOOL (CALLBACK *ENUMRESLANGPROCA)(HMODULE,LPCSTR,LPCSTR,WORD,LONG_PTR); +typedef BOOL (CALLBACK *ENUMRESLANGPROCW)(HMODULE,LPCWSTR,LPCWSTR,WORD,LONG_PTR); + +DECL_WINELIB_TYPE_AW(ENUMRESTYPEPROC) +DECL_WINELIB_TYPE_AW(ENUMRESNAMEPROC) +DECL_WINELIB_TYPE_AW(ENUMRESLANGPROC) + +/* flags that can be passed to LoadLibraryEx */ +#define DONT_RESOLVE_DLL_REFERENCES 0x00000001 +#define LOAD_LIBRARY_AS_DATAFILE 0x00000002 +#define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008 +#define LOAD_IGNORE_CODE_AUTHZ_LEVEL 0x00000010 +#define LOAD_LIBRARY_AS_IMAGE_RESOURCE 0x00000020 +#define LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE 0x00000040 +#define LOAD_LIBRARY_REQUIRE_SIGNED_TARGET 0x00000080 +#define LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR 0x00000100 +#define LOAD_LIBRARY_SEARCH_APPLICATION_DIR 0x00000200 +#define LOAD_LIBRARY_SEARCH_USER_DIRS 0x00000400 +#define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800 +#define LOAD_LIBRARY_SEARCH_DEFAULT_DIRS 0x00001000 + +#define GET_MODULE_HANDLE_EX_FLAG_PIN 1 +#define GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT 2 +#define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS 4 + +/* flags for SetSearchPathMode */ +#define BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE 0x00001 +#define BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE 0x10000 +#define BASE_SEARCH_PATH_PERMANENT 0x08000 +#define BASE_SEARCH_PATH_INVALID_FLAGS (~0x18001) + +typedef PLDT_ENTRY LPLDT_ENTRY; + +typedef enum _GET_FILEEX_INFO_LEVELS { + GetFileExInfoStandard +} GET_FILEEX_INFO_LEVELS; + +typedef struct _WIN32_FILE_ATTRIBUTES_DATA { + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; +} WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; + +/* + * This one seems to be a Win32 only definition. It also is defined with + * WINAPI instead of CALLBACK in the windows headers. + */ +typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER, + LARGE_INTEGER, DWORD, DWORD, HANDLE, + HANDLE, LPVOID); + +typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK)(PVOID); + +typedef enum _COPYFILE2_MESSAGE_TYPE +{ + COPYFILE2_CALLBACK_NONE = 0, + COPYFILE2_CALLBACK_CHUNK_STARTED, + COPYFILE2_CALLBACK_CHUNK_FINISHED, + COPYFILE2_CALLBACK_STREAM_STARTED, + COPYFILE2_CALLBACK_STREAM_FINISHED, + COPYFILE2_CALLBACK_POLL_CONTINUE, + COPYFILE2_CALLBACK_ERROR, + COPYFILE2_CALLBACK_MAX, +} COPYFILE2_MESSAGE_TYPE; + +typedef enum _COPYFILE2_MESSAGE_ACTION +{ + COPYFILE2_PROGRESS_CONTINUE = 0, + COPYFILE2_PROGRESS_CANCEL, + COPYFILE2_PROGRESS_STOP, + COPYFILE2_PROGRESS_QUIET, + COPYFILE2_PROGRESS_PAUSE, +} COPYFILE2_MESSAGE_ACTION; + +typedef enum _COPYFILE2_COPY_PHASE +{ + COPYFILE2_PHASE_NONE = 0, + COPYFILE2_PHASE_PREPARE_SOURCE, + COPYFILE2_PHASE_PREPARE_DEST, + COPYFILE2_PHASE_READ_SOURCE, + COPYFILE2_PHASE_WRITE_DESTINATION, + COPYFILE2_PHASE_SERVER_COPY, + COPYFILE2_PHASE_NAMEGRAFT_COPY, + COPYFILE2_PHASE_MAX, +} COPYFILE2_COPY_PHASE; + +typedef struct COPYFILE2_MESSAGE +{ + COPYFILE2_MESSAGE_TYPE Type; + DWORD dwPadding; + union + { + struct + { + DWORD dwStreamNumber; + DWORD dwReserved; + HANDLE hSourceFile; + HANDLE hDestinationFile; + ULARGE_INTEGER uliChunkNumber; + ULARGE_INTEGER uliChunkSize; + ULARGE_INTEGER uliStreamSize; + ULARGE_INTEGER uliTotalFileSize; + } ChunkStarted; + struct + { + DWORD dwStreamNumber; + DWORD dwFlags; + HANDLE hSourceFile; + HANDLE hDestinationFile; + ULARGE_INTEGER uliChunkNumber; + ULARGE_INTEGER uliChunkSize; + ULARGE_INTEGER uliStreamSize; + ULARGE_INTEGER uliStreamBytesTransferred; + ULARGE_INTEGER uliTotalFileSize; + ULARGE_INTEGER uliTotalBytesTransferred; + } ChunkFinished; + struct + { + DWORD dwStreamNumber; + DWORD dwReserved; + HANDLE hSourceFile; + HANDLE hDestinationFile; + ULARGE_INTEGER uliStreamSize; + ULARGE_INTEGER uliTotalFileSize; + } StreamStarted; + struct + { + DWORD dwStreamNumber; + DWORD dwReserved; + HANDLE hSourceFile; + HANDLE hDestinationFile; + ULARGE_INTEGER uliStreamSize; + ULARGE_INTEGER uliStreamBytesTransferred; + ULARGE_INTEGER uliTotalFileSize; + ULARGE_INTEGER uliTotalBytesTransferred; + } StreamFinished; + struct + { + DWORD dwReserved; + } PollContinue; + struct + { + COPYFILE2_COPY_PHASE CopyPhase; + DWORD dwStreamNumber; + HRESULT hrFailure; + DWORD dwReserved; + ULARGE_INTEGER uliChunkNumber; + ULARGE_INTEGER uliStreamSize; + ULARGE_INTEGER uliStreamBytesTransferred; + ULARGE_INTEGER uliTotalFileSize; + ULARGE_INTEGER uliTotalBytesTransferred; + } Error; + } Info; +} COPYFILE2_MESSAGE; + +typedef COPYFILE2_MESSAGE_ACTION (CALLBACK *PCOPYFILE2_PROGRESS_ROUTINE)(const COPYFILE2_MESSAGE*,PVOID); + +typedef struct COPYFILE2_EXTENDED_PARAMETERS +{ + DWORD dwSize; + DWORD dwCopyFlags; + BOOL *pfCancel; + PCOPYFILE2_PROGRESS_ROUTINE pProgressRoutine; + PVOID pvCallbackContext; +} COPYFILE2_EXTENDED_PARAMETERS; + +#define CREATE_EVENT_MANUAL_RESET 1 +#define CREATE_EVENT_INITIAL_SET 2 + +#define CREATE_MUTEX_INITIAL_OWNER 1 + +#define CREATE_WAITABLE_TIMER_MANUAL_RESET 1 + +#define WAIT_FAILED 0xffffffff +#define WAIT_OBJECT_0 0 +#define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0 +#define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0 +#define WAIT_IO_COMPLETION STATUS_USER_APC +#define STILL_ACTIVE STATUS_PENDING + +#define FILE_BEGIN 0 +#define FILE_CURRENT 1 +#define FILE_END 2 + +#define FILE_MAP_COPY 0x00000001 +#define FILE_MAP_WRITE 0x00000002 +#define FILE_MAP_READ 0x00000004 +#define FILE_MAP_ALL_ACCESS 0x000f001f +#define FILE_MAP_EXECUTE 0x00000020 + +#define MOVEFILE_REPLACE_EXISTING 0x00000001 +#define MOVEFILE_COPY_ALLOWED 0x00000002 +#define MOVEFILE_DELAY_UNTIL_REBOOT 0x00000004 +#define MOVEFILE_WRITE_THROUGH 0x00000008 + +#define REPLACEFILE_WRITE_THROUGH 0x00000001 +#define REPLACEFILE_IGNORE_MERGE_ERRORS 0x00000002 + +#define FS_CASE_SENSITIVE FILE_CASE_SENSITIVE_SEARCH +#define FS_CASE_IS_PRESERVED FILE_CASE_PRESERVED_NAMES +#define FS_UNICODE_STORED_ON_DISK FILE_UNICODE_ON_DISK +#define FS_PERSISTENT_ACLS FILE_PERSISTENT_ACLS +#define FS_VOL_IS_COMPRESSED FILE_VOLUME_IS_COMPRESSED +#define FS_FILE_COMPRESSION FILE_FILE_COMPRESSION + +#define MUTEX_MODIFY_STATE MUTANT_QUERY_STATE +#define MUTEX_ALL_ACCESS MUTANT_ALL_ACCESS + +#define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION +#define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT +#define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT +#define EXCEPTION_SINGLE_STEP STATUS_SINGLE_STEP +#define EXCEPTION_ARRAY_BOUNDS_EXCEEDED STATUS_ARRAY_BOUNDS_EXCEEDED +#define EXCEPTION_FLT_DENORMAL_OPERAND STATUS_FLOAT_DENORMAL_OPERAND +#define EXCEPTION_FLT_DIVIDE_BY_ZERO STATUS_FLOAT_DIVIDE_BY_ZERO +#define EXCEPTION_FLT_INEXACT_RESULT STATUS_FLOAT_INEXACT_RESULT +#define EXCEPTION_FLT_INVALID_OPERATION STATUS_FLOAT_INVALID_OPERATION +#define EXCEPTION_FLT_OVERFLOW STATUS_FLOAT_OVERFLOW +#define EXCEPTION_FLT_STACK_CHECK STATUS_FLOAT_STACK_CHECK +#define EXCEPTION_FLT_UNDERFLOW STATUS_FLOAT_UNDERFLOW +#define EXCEPTION_INT_DIVIDE_BY_ZERO STATUS_INTEGER_DIVIDE_BY_ZERO +#define EXCEPTION_INT_OVERFLOW STATUS_INTEGER_OVERFLOW +#define EXCEPTION_PRIV_INSTRUCTION STATUS_PRIVILEGED_INSTRUCTION +#define EXCEPTION_IN_PAGE_ERROR STATUS_IN_PAGE_ERROR +#define EXCEPTION_ILLEGAL_INSTRUCTION STATUS_ILLEGAL_INSTRUCTION +#define EXCEPTION_NONCONTINUABLE_EXCEPTION STATUS_NONCONTINUABLE_EXCEPTION +#define EXCEPTION_STACK_OVERFLOW STATUS_STACK_OVERFLOW +#define EXCEPTION_INVALID_DISPOSITION STATUS_INVALID_DISPOSITION +#define EXCEPTION_GUARD_PAGE STATUS_GUARD_PAGE_VIOLATION +#define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE +#define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT + +#define HANDLE_FLAG_INHERIT 0x00000001 +#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x00000002 + +#define HINSTANCE_ERROR 32 + +#define THREAD_PRIORITY_LOWEST THREAD_BASE_PRIORITY_MIN +#define THREAD_PRIORITY_BELOW_NORMAL (THREAD_PRIORITY_LOWEST+1) +#define THREAD_PRIORITY_NORMAL 0 +#define THREAD_PRIORITY_HIGHEST THREAD_BASE_PRIORITY_MAX +#define THREAD_PRIORITY_ABOVE_NORMAL (THREAD_PRIORITY_HIGHEST-1) +#define THREAD_PRIORITY_ERROR_RETURN (0x7fffffff) +#define THREAD_PRIORITY_TIME_CRITICAL THREAD_BASE_PRIORITY_LOWRT +#define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE + +/* flags to FormatMessage */ +#define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100 +#define FORMAT_MESSAGE_IGNORE_INSERTS 0x00000200 +#define FORMAT_MESSAGE_FROM_STRING 0x00000400 +#define FORMAT_MESSAGE_FROM_HMODULE 0x00000800 +#define FORMAT_MESSAGE_FROM_SYSTEM 0x00001000 +#define FORMAT_MESSAGE_ARGUMENT_ARRAY 0x00002000 +#define FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000FF + +/* flags to ACTCTX[AW] */ +#define ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID (0x00000001) +#define ACTCTX_FLAG_LANGID_VALID (0x00000002) +#define ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID (0x00000004) +#define ACTCTX_FLAG_RESOURCE_NAME_VALID (0x00000008) +#define ACTCTX_FLAG_SET_PROCESS_DEFAULT (0x00000010) +#define ACTCTX_FLAG_APPLICATION_NAME_VALID (0x00000020) +#define ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF (0x00000040) +#define ACTCTX_FLAG_HMODULE_VALID (0x00000080) + +/* flags to DeactiveActCtx */ +#define DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION (0x00000001) + +/* flags to FindActCtxSection{Guid,String[AW]} */ +#define FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX (0x00000001) +#define FIND_ACTCTX_SECTION_KEY_RETURN_FLAGS (0x00000002) +#define FIND_ACTCTX_SECTION_KEY_RETURN_ASSEMBLY_METADATA (0x00000004) + +/* flags to QueryActCtxW */ +#define QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX (0x00000004) +#define QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE (0x00000008) +#define QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS (0x00000010) +#define QUERY_ACTCTX_FLAG_NO_ADDREF (0x80000000) + +typedef struct tagACTCTXA { + ULONG cbSize; + DWORD dwFlags; + LPCSTR lpSource; + USHORT wProcessorArchitecture; + LANGID wLangId; + LPCSTR lpAssemblyDirectory; + LPCSTR lpResourceName; + LPCSTR lpApplicationName; + HMODULE hModule; +} ACTCTXA, *PACTCTXA; + +typedef struct tagACTCTXW { + ULONG cbSize; + DWORD dwFlags; + LPCWSTR lpSource; + USHORT wProcessorArchitecture; + LANGID wLangId; + LPCWSTR lpAssemblyDirectory; + LPCWSTR lpResourceName; + LPCWSTR lpApplicationName; + HMODULE hModule; +} ACTCTXW, *PACTCTXW; + +DECL_WINELIB_TYPE_AW(ACTCTX) +DECL_WINELIB_TYPE_AW(PACTCTX) + +typedef const ACTCTXA *PCACTCTXA; +typedef const ACTCTXW *PCACTCTXW; +DECL_WINELIB_TYPE_AW(PCACTCTX) + +typedef struct tagACTCTX_SECTION_KEYED_DATA_2600 { + ULONG cbSize; + ULONG ulDataFormatVersion; + PVOID lpData; + ULONG ulLength; + PVOID lpSectionGlobalData; + ULONG ulSectionGlobalDataLength; + PVOID lpSectionBase; + ULONG ulSectionTotalLength; + HANDLE hActCtx; + ULONG ulAssemblyRosterIndex; +} ACTCTX_SECTION_KEYED_DATA_2600, *PACTCTX_SECTION_KEYED_DATA_2600; +typedef const ACTCTX_SECTION_KEYED_DATA_2600 *PCACTCTX_SECTION_KEYED_DATA_2600; + +typedef struct tagACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA { + PVOID lpInformation; + PVOID lpSectionBase; + ULONG ulSectionLength; + PVOID lpSectionGlobalDataBase; + ULONG ulSectionGlobalDataLength; +} ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA, *PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA; +typedef const ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA *PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA; + +typedef struct tagACTCTX_SECTION_KEYED_DATA { + ULONG cbSize; + ULONG ulDataFormatVersion; + PVOID lpData; + ULONG ulLength; + PVOID lpSectionGlobalData; + ULONG ulSectionGlobalDataLength; + PVOID lpSectionBase; + ULONG ulSectionTotalLength; + HANDLE hActCtx; + ULONG ulAssemblyRosterIndex; + + /* Non 2600 extra fields */ + ULONG ulFlags; + ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA AssemblyMetadata; +} ACTCTX_SECTION_KEYED_DATA, *PACTCTX_SECTION_KEYED_DATA; +typedef const ACTCTX_SECTION_KEYED_DATA *PCACTCTX_SECTION_KEYED_DATA; + +typedef struct _ACTIVATION_CONTEXT_BASIC_INFORMATION { + HANDLE hActCtx; + DWORD dwFlags; +} ACTIVATION_CONTEXT_BASIC_INFORMATION, *PACTIVATION_CONTEXT_BASIC_INFORMATION; + +typedef BOOL (WINAPI *PQUERYACTCTXW_FUNC)(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T *); + +typedef struct tagCOMSTAT +{ + DWORD fCtsHold : 1; + DWORD fDsrHold : 1; + DWORD fRlsdHold : 1; + DWORD fXoffHold : 1; + DWORD fXoffSent : 1; + DWORD fEof : 1; + DWORD fTxim : 1; + DWORD fReserved : 25; + DWORD cbInQue; + DWORD cbOutQue; +} COMSTAT, *LPCOMSTAT; + +typedef struct tagDCB +{ + DWORD DCBlength; + DWORD BaudRate; + unsigned fBinary :1; + unsigned fParity :1; + unsigned fOutxCtsFlow :1; + unsigned fOutxDsrFlow :1; + unsigned fDtrControl :2; + unsigned fDsrSensitivity :1; + unsigned fTXContinueOnXoff :1; + unsigned fOutX :1; + unsigned fInX :1; + unsigned fErrorChar :1; + unsigned fNull :1; + unsigned fRtsControl :2; + unsigned fAbortOnError :1; + unsigned fDummy2 :17; + WORD wReserved; + WORD XonLim; + WORD XoffLim; + BYTE ByteSize; + BYTE Parity; + BYTE StopBits; + char XonChar; + char XoffChar; + char ErrorChar; + char EofChar; + char EvtChar; + WORD wReserved1; +} DCB, *LPDCB; + +typedef struct tagCOMMCONFIG { + DWORD dwSize; + WORD wVersion; + WORD wReserved; + DCB dcb; + DWORD dwProviderSubType; + DWORD dwProviderOffset; + DWORD dwProviderSize; + DWORD wcProviderData[1]; +} COMMCONFIG, *LPCOMMCONFIG; + +typedef struct tagCOMMPROP { + WORD wPacketLength; + WORD wPacketVersion; + DWORD dwServiceMask; + DWORD dwReserved1; + DWORD dwMaxTxQueue; + DWORD dwMaxRxQueue; + DWORD dwMaxBaud; + DWORD dwProvSubType; + DWORD dwProvCapabilities; + DWORD dwSettableParams; + DWORD dwSettableBaud; + WORD wSettableData; + WORD wSettableStopParity; + DWORD dwCurrentTxQueue; + DWORD dwCurrentRxQueue; + DWORD dwProvSpec1; + DWORD dwProvSpec2; + WCHAR wcProvChar[1]; +} COMMPROP, *LPCOMMPROP; + +#define SP_SERIALCOMM ((DWORD)1) + +#define BAUD_075 ((DWORD)0x01) +#define BAUD_110 ((DWORD)0x02) +#define BAUD_134_5 ((DWORD)0x04) +#define BAUD_150 ((DWORD)0x08) +#define BAUD_300 ((DWORD)0x10) +#define BAUD_600 ((DWORD)0x20) +#define BAUD_1200 ((DWORD)0x40) +#define BAUD_1800 ((DWORD)0x80) +#define BAUD_2400 ((DWORD)0x100) +#define BAUD_4800 ((DWORD)0x200) +#define BAUD_7200 ((DWORD)0x400) +#define BAUD_9600 ((DWORD)0x800) +#define BAUD_14400 ((DWORD)0x1000) +#define BAUD_19200 ((DWORD)0x2000) +#define BAUD_38400 ((DWORD)0x4000) +#define BAUD_56K ((DWORD)0x8000) +#define BAUD_57600 ((DWORD)0x40000) +#define BAUD_115200 ((DWORD)0x20000) +#define BAUD_128K ((DWORD)0x10000) +#define BAUD_USER ((DWORD)0x10000000) + +#define PST_FAX ((DWORD)0x21) +#define PST_LAT ((DWORD)0x101) +#define PST_MODEM ((DWORD)0x06) +#define PST_NETWORK_BRIDGE ((DWORD)0x100) +#define PST_PARALLELPORT ((DWORD)0x02) +#define PST_RS232 ((DWORD)0x01) +#define PST_RS442 ((DWORD)0x03) +#define PST_RS423 ((DWORD)0x04) +#define PST_RS449 ((DWORD)0x06) +#define PST_SCANNER ((DWORD)0x22) +#define PST_TCPIP_TELNET ((DWORD)0x102) +#define PST_UNSPECIFIED ((DWORD)0x00) +#define PST_X25 ((DWORD)0x103) + +#define PCF_16BITMODE ((DWORD)0x200) +#define PCF_DTRDSR ((DWORD)0x01) +#define PCF_INTTIMEOUTS ((DWORD)0x80) +#define PCF_PARITY_CHECK ((DWORD)0x08) +#define PCF_RLSD ((DWORD)0x04) +#define PCF_RTSCTS ((DWORD)0x02) +#define PCF_SETXCHAR ((DWORD)0x20) +#define PCF_SPECIALCHARS ((DWORD)0x100) +#define PCF_TOTALTIMEOUTS ((DWORD)0x40) +#define PCF_XONXOFF ((DWORD)0x10) + +#define SP_BAUD ((DWORD)0x02) +#define SP_DATABITS ((DWORD)0x04) +#define SP_HANDSHAKING ((DWORD)0x10) +#define SP_PARITY ((DWORD)0x01) +#define SP_PARITY_CHECK ((DWORD)0x20) +#define SP_RLSD ((DWORD)0x40) +#define SP_STOPBITS ((DWORD)0x08) + +#define DATABITS_5 ((DWORD)0x01) +#define DATABITS_6 ((DWORD)0x02) +#define DATABITS_7 ((DWORD)0x04) +#define DATABITS_8 ((DWORD)0x08) +#define DATABITS_16 ((DWORD)0x10) +#define DATABITS_16X ((DWORD)0x20) + +#define STOPBITS_10 ((DWORD)1) +#define STOPBITS_15 ((DWORD)2) +#define STOPBITS_20 ((DWORD)4) + +#undef PARITY_NONE /* defined on Android */ +#define PARITY_NONE ((DWORD)0x100) +#define PARITY_ODD ((DWORD)0x200) +#define PARITY_EVEN ((DWORD)0x400) +#define PARITY_MARK ((DWORD)0x800) +#define PARITY_SPACE ((DWORD)0x1000) + +typedef struct tagCOMMTIMEOUTS { + DWORD ReadIntervalTimeout; + DWORD ReadTotalTimeoutMultiplier; + DWORD ReadTotalTimeoutConstant; + DWORD WriteTotalTimeoutMultiplier; + DWORD WriteTotalTimeoutConstant; +} COMMTIMEOUTS,*LPCOMMTIMEOUTS; + +#define GET_TAPE_MEDIA_INFORMATION 0 +#define GET_TAPE_DRIVE_INFORMATION 1 +#define SET_TAPE_MEDIA_INFORMATION 0 +#define SET_TAPE_DRIVE_INFORMATION 1 + +#define PROCESS_NAME_NATIVE 1 + +typedef void (CALLBACK *PAPCFUNC)(ULONG_PTR); +typedef void (CALLBACK *PTIMERAPCROUTINE)(LPVOID,DWORD,DWORD); + +typedef enum _COMPUTER_NAME_FORMAT +{ + ComputerNameNetBIOS, + ComputerNameDnsHostname, + ComputerNameDnsDomain, + ComputerNameDnsFullyQualified, + ComputerNamePhysicalNetBIOS, + ComputerNamePhysicalDnsHostname, + ComputerNamePhysicalDnsDomain, + ComputerNamePhysicalDnsFullyQualified, + ComputerNameMax +} COMPUTER_NAME_FORMAT; + +#define HW_PROFILE_GUIDLEN 39 +#define MAX_PROFILE_LEN 80 + +#define DOCKINFO_UNDOCKED 0x1 +#define DOCKINFO_DOCKED 0x2 +#define DOCKINFO_USER_SUPPLIED 0x4 +#define DOCKINFO_USER_UNDOCKED (DOCKINFO_USER_SUPPLIED | DOCKINFO_UNDOCKED) +#define DOCKINFO_USER_DOCKED (DOCKINFO_USER_SUPPLIED | DOCKINFO_DOCKED) + +typedef struct tagHW_PROFILE_INFOA { + DWORD dwDockInfo; + CHAR szHwProfileGuid[HW_PROFILE_GUIDLEN]; + CHAR szHwProfileName[MAX_PROFILE_LEN]; +} HW_PROFILE_INFOA, *LPHW_PROFILE_INFOA; + +typedef struct tagHW_PROFILE_INFOW { + DWORD dwDockInfo; + WCHAR szHwProfileGuid[HW_PROFILE_GUIDLEN]; + WCHAR szHwProfileName[MAX_PROFILE_LEN]; +} HW_PROFILE_INFOW, *LPHW_PROFILE_INFOW; + +DECL_WINELIB_TYPE_AW(HW_PROFILE_INFO) +DECL_WINELIB_TYPE_AW(LPHW_PROFILE_INFO) + +typedef enum _DEP_SYSTEM_POLICY_TYPE { + AlwaysOff = 0, + AlwaysOn = 1, + OptIn = 2, + OptOut = 3 +} DEP_SYSTEM_POLICY_TYPE; + +#define PROCESS_DEP_ENABLE 1 +#define PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION 2 + +/* Event Logging */ + +#define EVENTLOG_FULL_INFO 0 + +typedef struct _EVENTLOG_FULL_INFORMATION { + DWORD dwFull; +} EVENTLOG_FULL_INFORMATION, *LPEVENTLOG_FULL_INFORMATION; + + +/* Stream data structures and defines */ +/*the types of backup data -- WIN32_STREAM_ID.dwStreamId below*/ +#define BACKUP_INVALID 0 +#define BACKUP_DATA 1 +#define BACKUP_EA_DATA 2 +#define BACKUP_SECURITY_DATA 3 +#define BACKUP_ALTERNATE_DATA 4 +#define BACKUP_LINK 5 +#define BACKUP_PROPERTY_DATA 6 +#define BACKUP_OBJECT_ID 7 +#define BACKUP_REPARSE_DATA 8 +#define BACKUP_SPARSE_BLOCK 9 + +/*flags for WIN32_STREAM_ID.dwStreamAttributes below*/ +#define STREAM_NORMAL_ATTRIBUTE 0 +#define STREAM_MODIFIED_WHEN_READ 1 +#define STREAM_CONTAINS_SECURITY 2 +#define STREAM_CONTAINS_PROPERTIES 4 +#define STREAM_SPARSE_ATTRIBUTE 8 + +#include +typedef struct _WIN32_STREAM_ID { + DWORD dwStreamId; + DWORD dwStreamAttributes; + LARGE_INTEGER DECLSPEC_ALIGN(8) Size; + DWORD dwStreamNameSize; + WCHAR cStreamName[ANYSIZE_ARRAY]; +} WIN32_STREAM_ID, *LPWIN32_STREAM_ID; +#include + + +/* GetBinaryType return values. + */ + +#define SCS_32BIT_BINARY 0 +#define SCS_DOS_BINARY 1 +#define SCS_WOW_BINARY 2 +#define SCS_PIF_BINARY 3 +#define SCS_POSIX_BINARY 4 +#define SCS_OS216_BINARY 5 +#define SCS_64BIT_BINARY 6 + +/* flags for DefineDosDevice */ +#define DDD_RAW_TARGET_PATH 0x00000001 +#define DDD_REMOVE_DEFINITION 0x00000002 +#define DDD_EXACT_MATCH_ON_REMOVE 0x00000004 +#define DDD_NO_BROADCAST_SYSTEM 0x00000008 +#define DDD_LUID_BROADCAST_DRIVE 0x00000010 + +#define LOGON_WITH_PROFILE 0x00000001 +#define LOGON_NETCREDENTIALS_ONLY 0x00000002 +#define LOGON_ZERO_PASSWORD_BUFFER 0x80000000 + +/* one-time initialisation API */ +typedef RTL_RUN_ONCE INIT_ONCE; +typedef PRTL_RUN_ONCE PINIT_ONCE; +typedef PRTL_RUN_ONCE LPINIT_ONCE; +#define INIT_ONCE_STATIC_INIT RTL_RUN_ONCE_INIT +#define INIT_ONCE_CHECK_ONLY RTL_RUN_ONCE_CHECK_ONLY +#define INIT_ONCE_ASYNC RTL_RUN_ONCE_ASYNC +#define INIT_ONCE_INIT_FAILED RTL_RUN_ONCE_INIT_FAILED +/* initialization callback prototype */ +typedef BOOL (WINAPI *PINIT_ONCE_FN)(PINIT_ONCE,PVOID,PVOID*); + +typedef struct _REASON_CONTEXT +{ + ULONG Version; + DWORD Flags; + union + { + struct + { + HMODULE LocalizedReasonModule; + ULONG LocalizedReasonId; + ULONG ReasonStringCount; + LPWSTR *ReasonStrings; + } Detailed; + LPWSTR SimpleReasonString; + } Reason; +} REASON_CONTEXT, *PREASON_CONTEXT; + +#define RESOURCE_ENUM_LN 0x0001 +#define RESOURCE_ENUM_MUI 0x0002 +#define RESOURCE_ENUM_MUI_SYSTEM 0x0004 +#define RESOURCE_ENUM_VALIDATE 0x0008 + +typedef struct _PROC_THREAD_ATTRIBUTE_LIST +*PPROC_THREAD_ATTRIBUTE_LIST, *LPPROC_THREAD_ATTRIBUTE_LIST; + +#define PROC_THREAD_ATTRIBUTE_NUMBER 0x0000ffff +#define PROC_THREAD_ATTRIBUTE_THREAD 0x00010000 +#define PROC_THREAD_ATTRIBUTE_INPUT 0x00020000 +#define PROC_THREAD_ATTRIBUTE_ADDITIVE 0x00040000 + +typedef enum _PROC_THREAD_ATTRIBUTE_NUM +{ + ProcThreadAttributeParentProcess = 0, + ProcThreadAttributeHandleList = 2, + ProcThreadAttributeGroupAffinity = 3, + ProcThreadAttributeIdealProcessor = 5, + ProcThreadAttributeUmsThread = 6, + ProcThreadAttributeMitigationPolicy = 7, + ProcThreadAttributeSecurityCapabilities = 9, + ProcThreadAttributeProtectionLevel = 11, + ProcThreadAttributeJobList = 13, + ProcThreadAttributeChildProcessPolicy = 14, + ProcThreadAttributeAllApplicationPackagesPolicy = 15, + ProcThreadAttributeWin32kFilter = 16, + ProcThreadAttributeSafeOpenPromptOriginClaim = 17, +} PROC_THREAD_ATTRIBUTE_NUM; + +#define PROC_THREAD_ATTRIBUTE_PARENT_PROCESS (ProcThreadAttributeParentProcess | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_HANDLE_LIST (ProcThreadAttributeHandleList | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_GROUP_AFFINITY (ProcThreadAttributeGroupAffinity | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_IDEAL_PROCESSOR (ProcThreadAttributeIdealProcessor | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_UMS_THREAD (ProcThreadAttributeUmsThread | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_MIGITATION_POLICY (ProcThreadAttributeMitigationPolicy | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_SECURITY_CAPABILITIES (ProcThreadAttributeSecurityCapabilities | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_PROTECTION_LEVEL (ProcThreadAttributeProtectionLevel | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_JOB_LIST (ProcThreadAttributeJobList | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_CHILD_PROCESS_POLICY (ProcThreadAttributeChildProcessPolicy | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_ALL_APPLICATION_PACKAGES_POLICY (ProcThreadAttributeAllApplicationPackagesPolicy | PROC_THREAD_ATTRIBUTE_INPUT) +#define PROC_THREAD_ATTRIBUTE_WIN32K_FILTER (ProcThreadAttributeWin32kFilter | PROC_THREAD_ATTRIBUTE_INPUT) + +#define SYMBOLIC_LINK_FLAG_DIRECTORY (0x1) +#define VALID_SYMBOLIC_LINK_FLAGS SYMBOLIC_LINK_FLAG_DIRECTORY + +WINBASEAPI BOOL WINAPI ActivateActCtx(HANDLE,ULONG_PTR *); +WINADVAPI BOOL WINAPI AddAccessAllowedAce(PACL,DWORD,DWORD,PSID); +WINADVAPI BOOL WINAPI AddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID); +WINADVAPI BOOL WINAPI AddAccessDeniedAce(PACL,DWORD,DWORD,PSID); +WINADVAPI BOOL WINAPI AddAccessDeniedAceEx(PACL,DWORD,DWORD,DWORD,PSID); +WINADVAPI BOOL WINAPI AddAce(PACL,DWORD,DWORD,LPVOID,DWORD); +WINBASEAPI ATOM WINAPI AddAtomA(LPCSTR); +WINBASEAPI ATOM WINAPI AddAtomW(LPCWSTR); +#define AddAtom WINELIB_NAME_AW(AddAtom) +WINADVAPI BOOL WINAPI AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL); +WINADVAPI BOOL WINAPI AddAuditAccessAceEx(PACL,DWORD,DWORD,DWORD,PSID,BOOL,BOOL); +WINADVAPI BOOL WINAPI AddMandatoryAce(PACL,DWORD,DWORD,DWORD,PSID); +WINBASEAPI VOID WINAPI AddRefActCtx(HANDLE); +WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER); +WINADVAPI BOOL WINAPI AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD); +WINADVAPI BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); +WINADVAPI BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); +WINADVAPI BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); +#define AccessCheckAndAuditAlarm WINELIB_NAME_AW(AccessCheckAndAuditAlarm) +WINADVAPI BOOL WINAPI AccessCheckByType(PSECURITY_DESCRIPTOR,PSID,HANDLE,DWORD,POBJECT_TYPE_LIST,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); +WINBASEAPI VOID WINAPI AcquireSRWLockExclusive(PSRWLOCK); +WINBASEAPI VOID WINAPI AcquireSRWLockShared(PSRWLOCK); +WINADVAPI BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD); +WINADVAPI BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *); +WINADVAPI BOOL WINAPI AllocateLocallyUniqueId(PLUID); +WINADVAPI BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD); +WINADVAPI BOOL WINAPI AreAnyAccessesGranted(DWORD,DWORD); +WINBASEAPI BOOL WINAPI AreFileApisANSI(void); +WINBASEAPI BOOL WINAPI AssignProcessToJobObject(HANDLE,HANDLE); +WINADVAPI BOOL WINAPI BackupEventLogA(HANDLE,LPCSTR); +WINADVAPI BOOL WINAPI BackupEventLogW(HANDLE,LPCWSTR); +#define BackupEventLog WINELIB_NAME_AW(BackupEventLog) +WINBASEAPI BOOL WINAPI BackupRead(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*); +WINBASEAPI BOOL WINAPI BackupSeek(HANDLE,DWORD,DWORD,LPDWORD,LPDWORD,LPVOID*); +WINBASEAPI BOOL WINAPI BackupWrite(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*); +WINBASEAPI BOOL WINAPI Beep(DWORD,DWORD); +WINBASEAPI HANDLE WINAPI BeginUpdateResourceA(LPCSTR,BOOL); +WINBASEAPI HANDLE WINAPI BeginUpdateResourceW(LPCWSTR,BOOL); +#define BeginUpdateResource WINELIB_NAME_AW(BeginUpdateResource) +WINBASEAPI BOOL WINAPI BindIoCompletionCallback(HANDLE,LPOVERLAPPED_COMPLETION_ROUTINE,ULONG); +WINBASEAPI BOOL WINAPI BuildCommDCBA(LPCSTR,LPDCB); +WINBASEAPI BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB); +#define BuildCommDCB WINELIB_NAME_AW(BuildCommDCB) +WINBASEAPI BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS); +WINBASEAPI BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS); +#define BuildCommDCBAndTimeouts WINELIB_NAME_AW(BuildCommDCBAndTimeouts) +WINBASEAPI BOOL WINAPI CallNamedPipeA(LPCSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD); +WINBASEAPI BOOL WINAPI CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD); +#define CallNamedPipe WINELIB_NAME_AW(CallNamedPipe) +WINBASEAPI BOOL WINAPI CancelIo(HANDLE); +WINBASEAPI BOOL WINAPI CancelIoEx(HANDLE,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI CancelSynchronousIo(HANDLE); +WINBASEAPI BOOL WINAPI CancelTimerQueueTimer(HANDLE,HANDLE); +WINBASEAPI BOOL WINAPI CancelWaitableTimer(HANDLE); +WINBASEAPI BOOL WINAPI CheckNameLegalDOS8Dot3A(const char*,char*,DWORD,BOOL*,BOOL*); +WINBASEAPI BOOL WINAPI CheckNameLegalDOS8Dot3W(const WCHAR*, char*,DWORD,BOOL*,BOOL*); +WINBASEAPI BOOL WINAPI CheckRemoteDebuggerPresent(HANDLE,BOOL*); +WINBASEAPI BOOL WINAPI ChangeTimerQueueTimer(HANDLE,HANDLE,ULONG,ULONG); +WINADVAPI BOOL WINAPI CheckTokenMembership(HANDLE,PSID,PBOOL); +WINBASEAPI BOOL WINAPI ClearCommBreak(HANDLE); +WINBASEAPI BOOL WINAPI ClearCommError(HANDLE,LPDWORD,LPCOMSTAT); +WINADVAPI VOID WINAPI CloseEncryptedFileRaw(PVOID); +WINADVAPI BOOL WINAPI ClearEventLogA(HANDLE,LPCSTR); +WINADVAPI BOOL WINAPI ClearEventLogW(HANDLE,LPCWSTR); +#define ClearEventLog WINELIB_NAME_AW(ClearEventLog) +WINADVAPI BOOL WINAPI CloseEventLog(HANDLE); +WINBASEAPI BOOL WINAPI CloseHandle(HANDLE); +WINBASEAPI VOID WINAPI CloseThreadpool(PTP_POOL); +WINBASEAPI VOID WINAPI CloseThreadpoolCleanupGroup(PTP_CLEANUP_GROUP); +WINBASEAPI VOID WINAPI CloseThreadpoolCleanupGroupMembers(PTP_CLEANUP_GROUP,BOOL,PVOID); +WINBASEAPI VOID WINAPI CloseThreadpoolTimer(PTP_TIMER); +WINBASEAPI VOID WINAPI CloseThreadpoolWait(PTP_WAIT); +WINBASEAPI VOID WINAPI CloseThreadpoolWork(PTP_WORK); +WINBASEAPI BOOL WINAPI CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG); +WINBASEAPI BOOL WINAPI CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG); +#define CommConfigDialog WINELIB_NAME_AW(CommConfigDialog) +WINBASEAPI BOOL WINAPI ConnectNamedPipe(HANDLE,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD); +WINBASEAPI HANDLE WINAPI ConvertToGlobalHandle(HANDLE hSrc); +WINBASEAPI BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,BOOL); +WINBASEAPI BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL); +#define CopyFile WINELIB_NAME_AW(CopyFile) +WINBASEAPI HRESULT WINAPI CopyFile2(PCWSTR,PCWSTR,COPYFILE2_EXTENDED_PARAMETERS*); +WINBASEAPI BOOL WINAPI CopyFileExA(LPCSTR, LPCSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD); +WINBASEAPI BOOL WINAPI CopyFileExW(LPCWSTR, LPCWSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD); +#define CopyFileEx WINELIB_NAME_AW(CopyFileEx) +WINADVAPI BOOL WINAPI CopySid(DWORD,PSID,PSID); +WINBASEAPI INT WINAPI CompareFileTime(const FILETIME*,const FILETIME*); +WINBASEAPI BOOL WINAPI ConvertFiberToThread(void); +WINBASEAPI LPVOID WINAPI ConvertThreadToFiber(LPVOID); +WINBASEAPI LPVOID WINAPI ConvertThreadToFiberEx(LPVOID,DWORD); +WINADVAPI BOOL WINAPI ConvertToAutoInheritPrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID*,BOOL,PGENERIC_MAPPING); +WINBASEAPI HANDLE WINAPI CreateActCtxA(PCACTCTXA); +WINBASEAPI HANDLE WINAPI CreateActCtxW(PCACTCTXW); +#define CreateActCtx WINELIB_NAME_AW(CreateActCtx) +WINBASEAPI BOOL WINAPI CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES); +WINBASEAPI BOOL WINAPI CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES); +#define CreateDirectory WINELIB_NAME_AW(CreateDirectory) +WINBASEAPI BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); +WINBASEAPI BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); +#define CreateDirectoryEx WINELIB_NAME_AW(CreateDirectoryEx) +WINBASEAPI HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR); +#define CreateEvent WINELIB_NAME_AW(CreateEvent) +WINBASEAPI HANDLE WINAPI CreateEventExA(SECURITY_ATTRIBUTES*,LPCSTR,DWORD,DWORD); +WINBASEAPI HANDLE WINAPI CreateEventExW(SECURITY_ATTRIBUTES*,LPCWSTR,DWORD,DWORD); +#define CreateEventEx WINELIB_NAME_AW(CreateEventEx) +WINBASEAPI LPVOID WINAPI CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID); +WINBASEAPI LPVOID WINAPI CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID); +WINBASEAPI HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); +WINBASEAPI HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); +#define CreateFile WINELIB_NAME_AW(CreateFile) +WINBASEAPI HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR); +#define CreateFileMapping WINELIB_NAME_AW(CreateFileMapping) +WINBASEAPI HANDLE WINAPI CreateIoCompletionPort(HANDLE,HANDLE,ULONG_PTR,DWORD); +WINBASEAPI HANDLE WINAPI CreateJobObjectA(LPSECURITY_ATTRIBUTES,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR); +#define CreateJobObject WINELIB_NAME_AW(CreateJobObject) +WINBASEAPI HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +WINBASEAPI HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +#define CreateMailslot WINELIB_NAME_AW(CreateMailslot) +WINBASEAPI HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE); +WINBASEAPI HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); +#define CreateMutex WINELIB_NAME_AW(CreateMutex) +WINBASEAPI HANDLE WINAPI CreateMutexExA(SECURITY_ATTRIBUTES*,LPCSTR,DWORD,DWORD); +WINBASEAPI HANDLE WINAPI CreateMutexExW(SECURITY_ATTRIBUTES*,LPCWSTR,DWORD,DWORD); +#define CreateMutexEx WINELIB_NAME_AW(CreateMutexEx) +WINBASEAPI HANDLE WINAPI CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +WINBASEAPI HANDLE WINAPI CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +#define CreateNamedPipe WINELIB_NAME_AW(CreateNamedPipe) +WINBASEAPI BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD); +WINADVAPI BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING); +WINADVAPI BOOL WINAPI CreatePrivateObjectSecurityEx(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID*,BOOL,ULONG,HANDLE,PGENERIC_MAPPING); +WINADVAPI BOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID**,ULONG,BOOL,ULONG,HANDLE,PGENERIC_MAPPING); +WINBASEAPI PTP_POOL WINAPI CreateThreadpool(PVOID); +WINBASEAPI PTP_CLEANUP_GROUP WINAPI CreateThreadpoolCleanupGroup(void); +WINBASEAPI PTP_TIMER WINAPI CreateThreadpoolTimer(PTP_TIMER_CALLBACK,PVOID,PTP_CALLBACK_ENVIRON); +WINBASEAPI PTP_WAIT WINAPI CreateThreadpoolWait(PTP_WAIT_CALLBACK,PVOID,PTP_CALLBACK_ENVIRON); +WINBASEAPI PTP_WORK WINAPI CreateThreadpoolWork(PTP_WORK_CALLBACK,PVOID,PTP_CALLBACK_ENVIRON); +WINBASEAPI BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); +WINBASEAPI BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); +#define CreateProcess WINELIB_NAME_AW(CreateProcess) +WINADVAPI BOOL WINAPI CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); +WINADVAPI BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); +#define CreateProcessAsUser WINELIB_NAME_AW(CreateProcessAsUser) +WINADVAPI BOOL WINAPI CreateProcessWithLogonW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPCWSTR,LPWSTR,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); +WINBASEAPI HANDLE WINAPI CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI CreateRestrictedToken(HANDLE,DWORD,DWORD,PSID_AND_ATTRIBUTES,DWORD,PLUID_AND_ATTRIBUTES,DWORD,PSID_AND_ATTRIBUTES,PHANDLE); +WINBASEAPI HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR); +#define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore) +WINBASEAPI HANDLE WINAPI CreateSemaphoreExA(SECURITY_ATTRIBUTES*,LONG,LONG,LPCSTR,DWORD,DWORD); +WINBASEAPI HANDLE WINAPI CreateSemaphoreExW(SECURITY_ATTRIBUTES*,LONG,LONG,LPCWSTR,DWORD,DWORD); +#define CreateSemaphoreEx WINELIB_NAME_AW(CreateSemaphoreEx) +WINBASEAPI BOOLEAN WINAPI CreateSymbolicLinkA(LPCSTR,LPCSTR,DWORD); +WINBASEAPI BOOLEAN WINAPI CreateSymbolicLinkW(LPCWSTR,LPCWSTR,DWORD); +#define CreateSymbolicLink WINELIB_NAME_AW(CreateSymbolicLink) +WINBASEAPI BOOL WINAPI CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); +WINBASEAPI BOOL WINAPI CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); +#define CreateHardLink WINELIB_NAME_AW(CreateHardLink) +WINBASEAPI DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD); +WINBASEAPI HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); +WINBASEAPI HANDLE WINAPI CreateTimerQueue(void); +WINBASEAPI BOOL WINAPI CreateTimerQueueTimer(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,ULONG); +WINBASEAPI HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); +#define CreateWaitableTimer WINELIB_NAME_AW(CreateWaitableTimer) +WINBASEAPI HANDLE WINAPI CreateWaitableTimerExA(SECURITY_ATTRIBUTES*,LPCSTR,DWORD,DWORD); +WINBASEAPI HANDLE WINAPI CreateWaitableTimerExW(SECURITY_ATTRIBUTES*,LPCWSTR,DWORD,DWORD); +#define CreateWaitableTimerEx WINELIB_NAME_AW(CreateWaitableTimerEx) +WINADVAPI BOOL WINAPI CreateWellKnownSid(WELL_KNOWN_SID_TYPE,PSID,PSID,DWORD*); +WINBASEAPI BOOL WINAPI DeactivateActCtx(DWORD,ULONG_PTR); +WINBASEAPI BOOL WINAPI DebugActiveProcess(DWORD); +WINBASEAPI BOOL WINAPI DebugActiveProcessStop(DWORD); +WINBASEAPI void WINAPI DebugBreak(void); +WINBASEAPI BOOL WINAPI DebugBreakProcess(HANDLE); +WINBASEAPI BOOL WINAPI DebugSetProcessKillOnExit(BOOL); +WINBASEAPI void * WINAPI DecodePointer(void *); +WINBASEAPI void * WINAPI DecodeSystemPointer(void *); +WINADVAPI BOOL WINAPI DecryptFileA(LPCSTR,DWORD); +WINADVAPI BOOL WINAPI DecryptFileW(LPCWSTR,DWORD); +#define DecryptFile WINELIB_NAME_AW(DecryptFile) +WINBASEAPI BOOL WINAPI DefineDosDeviceA(DWORD,LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR); +#define DefineDosDevice WINELIB_NAME_AW(DefineDosDevice) +#define DefineHandleTable(w) ((w),TRUE) +WINADVAPI BOOL WINAPI DeleteAce(PACL,DWORD); +WINBASEAPI ATOM WINAPI DeleteAtom(ATOM); +WINBASEAPI void WINAPI DeleteCriticalSection(CRITICAL_SECTION *lpCrit); +WINBASEAPI void WINAPI DeleteFiber(LPVOID); +WINBASEAPI BOOL WINAPI DeleteFileA(LPCSTR); +WINBASEAPI BOOL WINAPI DeleteFileW(LPCWSTR); +#define DeleteFile WINELIB_NAME_AW(DeleteFile) +WINBASEAPI void WINAPI DeleteProcThreadAttributeList(struct _PROC_THREAD_ATTRIBUTE_LIST*); +WINBASEAPI BOOL WINAPI DeleteTimerQueue(HANDLE); +WINBASEAPI BOOL WINAPI DeleteTimerQueueEx(HANDLE,HANDLE); +WINBASEAPI BOOL WINAPI DeleteTimerQueueTimer(HANDLE,HANDLE,HANDLE); +WINBASEAPI BOOL WINAPI DeleteVolumeMountPointA(LPCSTR); +WINBASEAPI BOOL WINAPI DeleteVolumeMountPointW(LPCWSTR); +#define DeleteVolumeMountPoint WINELIB_NAME_AW(DeleteVolumeMountPoint) +WINADVAPI BOOL WINAPI DeregisterEventSource(HANDLE); +WINADVAPI BOOL WINAPI DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*); +WINBASEAPI BOOL WINAPI DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI DisableThreadLibraryCalls(HMODULE); +WINBASEAPI BOOL WINAPI DisconnectNamedPipe(HANDLE); +WINBASEAPI BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR,LPSTR,LPDWORD); +WINBASEAPI BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR,LPWSTR,LPDWORD); +#define DnsHostnameToComputerName WINELIB_NAME_AW(DnsHostnameToComputerName) +WINBASEAPI BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME); +WINBASEAPI BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD); +WINADVAPI BOOL WINAPI DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE); +WINADVAPI BOOL WINAPI DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE); +WINBASEAPI BOOL WINAPI EscapeCommFunction(HANDLE,DWORD); +WINBASEAPI void * WINAPI EncodePointer(void *); +WINBASEAPI void * WINAPI EncodeSystemPointer(void *); +WINADVAPI BOOL WINAPI EncryptFileA(LPCSTR); +WINADVAPI BOOL WINAPI EncryptFileW(LPCWSTR); +#define EncryptFile WINELIB_NAME_AW(EncryptFile) +WINBASEAPI BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL); +WINBASEAPI BOOL WINAPI EndUpdateResourceW(HANDLE,BOOL); +#define EndUpdateResource WINELIB_NAME_AW(EndUpdateResource) +WINBASEAPI void WINAPI EnterCriticalSection(CRITICAL_SECTION *lpCrit); +WINBASEAPI BOOL WINAPI EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROCA,LONG_PTR); +WINBASEAPI BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROCW,LONG_PTR); +#define EnumResourceLanguages WINELIB_NAME_AW(EnumResourceLanguages) +WINBASEAPI BOOL WINAPI EnumResourceLanguagesExA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROCA,LONG_PTR,DWORD,LANGID); +WINBASEAPI BOOL WINAPI EnumResourceLanguagesExW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROCW,LONG_PTR,DWORD,LANGID); +#define EnumResourceLanguagesEx WINELIB_NAME_AW(EnumResourceLanguagesEx) +WINBASEAPI BOOL WINAPI EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROCA,LONG_PTR); +WINBASEAPI BOOL WINAPI EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROCW,LONG_PTR); +#define EnumResourceNames WINELIB_NAME_AW(EnumResourceNames) +WINBASEAPI BOOL WINAPI EnumResourceTypesA(HMODULE,ENUMRESTYPEPROCA,LONG_PTR); +WINBASEAPI BOOL WINAPI EnumResourceTypesW(HMODULE,ENUMRESTYPEPROCW,LONG_PTR); +#define EnumResourceTypes WINELIB_NAME_AW(EnumResourceTypes) +WINADVAPI BOOL WINAPI EqualSid(PSID, PSID); +WINADVAPI BOOL WINAPI EqualPrefixSid(PSID,PSID); +WINBASEAPI DWORD WINAPI EraseTape(HANDLE,DWORD,BOOL); +WINBASEAPI VOID DECLSPEC_NORETURN WINAPI ExitProcess(DWORD); +WINBASEAPI VOID DECLSPEC_NORETURN WINAPI ExitThread(DWORD); +WINBASEAPI DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD); +WINBASEAPI DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD); +#define ExpandEnvironmentStrings WINELIB_NAME_AW(ExpandEnvironmentStrings) +WINBASEAPI void WINAPI FatalAppExitA(UINT,LPCSTR); +WINBASEAPI void WINAPI FatalAppExitW(UINT,LPCWSTR); +WINBASEAPI void WINAPI FatalExit(int); +#define FatalAppExit WINELIB_NAME_AW(FatalAppExit) +WINADVAPI BOOL WINAPI FileEncryptionStatusA(LPCSTR,LPDWORD); +WINADVAPI BOOL WINAPI FileEncryptionStatusW(LPCWSTR,LPDWORD); +#define FileEncryptionStatus WINELIB_NAME_AW(FileEncryptionStatus) +WINBASEAPI BOOL WINAPI FileTimeToDosDateTime(const FILETIME*,LPWORD,LPWORD); +WINBASEAPI BOOL WINAPI FileTimeToLocalFileTime(const FILETIME*,LPFILETIME); +WINBASEAPI BOOL WINAPI FileTimeToSystemTime(const FILETIME*,LPSYSTEMTIME); +WINBASEAPI BOOL WINAPI FindActCtxSectionStringA(DWORD,const GUID *,ULONG,LPCSTR,PACTCTX_SECTION_KEYED_DATA); +WINBASEAPI BOOL WINAPI FindActCtxSectionStringW(DWORD,const GUID *,ULONG,LPCWSTR,PACTCTX_SECTION_KEYED_DATA); +#define FindActCtxSectionString WINELIB_NAME_AW(FindActCtxSectionString) +WINBASEAPI BOOL WINAPI FindActCtxSectionGuid(DWORD,const GUID *,ULONG,const GUID *,PACTCTX_SECTION_KEYED_DATA); +WINBASEAPI ATOM WINAPI FindAtomA(LPCSTR); +WINBASEAPI ATOM WINAPI FindAtomW(LPCWSTR); +#define FindAtom WINELIB_NAME_AW(FindAtom) +WINBASEAPI BOOL WINAPI FindClose(HANDLE); +WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD); +WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD); +#define FindFirstChangeNotification WINELIB_NAME_AW(FindFirstChangeNotification) +WINBASEAPI HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA); +WINBASEAPI HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW); +#define FindFirstFile WINELIB_NAME_AW(FindFirstFile) +WINBASEAPI HANDLE WINAPI FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,LPVOID,FINDEX_SEARCH_OPS,LPVOID,DWORD); +WINBASEAPI HANDLE WINAPI FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,LPVOID,FINDEX_SEARCH_OPS,LPVOID,DWORD); +#define FindFirstFileEx WINELIB_NAME_AW(FindFirstFileEx) +WINADVAPI BOOL WINAPI FindFirstFreeAce(PACL,LPVOID*); +WINBASEAPI BOOL WINAPI FindNextChangeNotification(HANDLE); +WINBASEAPI BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA); +WINBASEAPI BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW); +#define FindNextFile WINELIB_NAME_AW(FindNextFile) +WINBASEAPI BOOL WINAPI FindCloseChangeNotification(HANDLE); +WINBASEAPI HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR); +WINBASEAPI HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR); +#define FindResource WINELIB_NAME_AW(FindResource) +WINBASEAPI HRSRC WINAPI FindResourceExA(HMODULE,LPCSTR,LPCSTR,WORD); +WINBASEAPI HRSRC WINAPI FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD); +#define FindResourceEx WINELIB_NAME_AW(FindResourceEx) +WINBASEAPI HANDLE WINAPI FindFirstVolumeA(LPSTR,DWORD); +WINBASEAPI HANDLE WINAPI FindFirstVolumeW(LPWSTR,DWORD); +#define FindFirstVolume WINELIB_NAME_AW(FindFirstVolume) +WINBASEAPI HANDLE WINAPI FindFirstVolumeMountPointA(LPCSTR,LPSTR,DWORD); +WINBASEAPI HANDLE WINAPI FindFirstVolumeMountPointW(LPCWSTR,LPWSTR,DWORD); +#define FindFirstVolumeMountPoint WINELIB_NAME_AW(FindFirstVolumeMountPoint) +WINBASEAPI BOOL WINAPI FindNextVolumeA(HANDLE,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI FindNextVolumeW(HANDLE,LPWSTR,DWORD); +#define FindNextVolume WINELIB_NAME_AW(FindNextVolume) +WINBASEAPI BOOL WINAPI FindNextVolumeMountPointA(HANDLE,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI FindNextVolumeMountPointW(HANDLE,LPWSTR,DWORD); +#define FindNextVolumeMountPoint WINELIB_NAME_AW(FindNextVolumeMountPoint) +WINBASEAPI BOOL WINAPI FindVolumeClose(HANDLE); +WINBASEAPI BOOL WINAPI FindVolumeMountPointClose(HANDLE); +WINBASEAPI DWORD WINAPI FlsAlloc(PFLS_CALLBACK_FUNCTION); +WINBASEAPI BOOL WINAPI FlsFree(DWORD); +WINBASEAPI PVOID WINAPI FlsGetValue(DWORD); +WINBASEAPI BOOL WINAPI FlsSetValue(DWORD,PVOID); +WINBASEAPI BOOL WINAPI FlushFileBuffers(HANDLE); +WINBASEAPI BOOL WINAPI FlushInstructionCache(HANDLE,LPCVOID,SIZE_T); +WINBASEAPI VOID WINAPI FlushProcessWriteBuffers(void); +WINBASEAPI BOOL WINAPI FlushViewOfFile(LPCVOID,SIZE_T); +WINBASEAPI DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,__ms_va_list*); +WINBASEAPI DWORD WINAPI FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR,DWORD,__ms_va_list*); +#define FormatMessage WINELIB_NAME_AW(FormatMessage) +WINBASEAPI BOOL WINAPI FreeEnvironmentStringsA(LPSTR); +WINBASEAPI BOOL WINAPI FreeEnvironmentStringsW(LPWSTR); +#define FreeEnvironmentStrings WINELIB_NAME_AW(FreeEnvironmentStrings) +WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE); +WINBASEAPI VOID DECLSPEC_NORETURN WINAPI FreeLibraryAndExitThread(HINSTANCE,DWORD); +WINBASEAPI VOID WINAPI FreeLibraryWhenCallbackReturns(PTP_CALLBACK_INSTANCE,HMODULE); +#define FreeModule(handle) FreeLibrary(handle) +#define FreeProcInstance(proc) /*nothing*/ +WINBASEAPI BOOL WINAPI FreeResource(HGLOBAL); +WINADVAPI PVOID WINAPI FreeSid(PSID); +WINADVAPI BOOL WINAPI GetAce(PACL,DWORD,LPVOID*); +WINADVAPI BOOL WINAPI GetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS); +WINBASEAPI UINT WINAPI GetAtomNameA(ATOM,LPSTR,INT); +WINBASEAPI UINT WINAPI GetAtomNameW(ATOM,LPWSTR,INT); +#define GetAtomName WINELIB_NAME_AW(GetAtomName) +WINBASEAPI BOOL WINAPI GetBinaryTypeA( LPCSTR lpApplicationName, LPDWORD lpBinaryType ); +WINBASEAPI BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType ); +#define GetBinaryType WINELIB_NAME_AW(GetBinaryType) +WINBASEAPI BOOL WINAPI GetCurrentActCtx(HANDLE *); +WINBASEAPI BOOL WINAPI GetCommConfig(HANDLE,LPCOMMCONFIG,LPDWORD); +WINBASEAPI BOOL WINAPI GetCommMask(HANDLE,LPDWORD); +WINBASEAPI BOOL WINAPI GetCommModemStatus(HANDLE,LPDWORD); +WINBASEAPI BOOL WINAPI GetCommProperties(HANDLE,LPCOMMPROP); +WINBASEAPI BOOL WINAPI GetCommState(HANDLE,LPDCB); +WINBASEAPI BOOL WINAPI GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); +WINBASEAPI LPSTR WINAPI GetCommandLineA(void); +WINBASEAPI LPWSTR WINAPI GetCommandLineW(void); +#define GetCommandLine WINELIB_NAME_AW(GetCommandLine) +WINBASEAPI DWORD WINAPI GetCompressedFileSizeA(LPCSTR,LPDWORD); +WINBASEAPI DWORD WINAPI GetCompressedFileSizeW(LPCWSTR,LPDWORD); +#define GetCompressedFileSize WINELIB_NAME_AW(GetCompressedFileSize) +WINBASEAPI BOOL WINAPI GetComputerNameA(LPSTR,LPDWORD); +WINBASEAPI BOOL WINAPI GetComputerNameW(LPWSTR,LPDWORD); +#define GetComputerName WINELIB_NAME_AW(GetComputerName) +WINBASEAPI BOOL WINAPI GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD); +WINBASEAPI BOOL WINAPI GetComputerNameExW(COMPUTER_NAME_FORMAT,LPWSTR,LPDWORD); +#define GetComputerNameEx WINELIB_NAME_AW(GetComputerNameEx) +WINBASEAPI UINT WINAPI GetCurrentDirectoryA(UINT,LPSTR); +WINBASEAPI UINT WINAPI GetCurrentDirectoryW(UINT,LPWSTR); +#define GetCurrentDirectory WINELIB_NAME_AW(GetCurrentDirectory) +WINADVAPI BOOL WINAPI GetCurrentHwProfileA(LPHW_PROFILE_INFOA); +WINADVAPI BOOL WINAPI GetCurrentHwProfileW(LPHW_PROFILE_INFOW); +#define GetCurrentHwProfile WINELIB_NAME_AW(GetCurrentHwProfile) +WINBASEAPI HANDLE WINAPI GetCurrentProcess(void); +WINBASEAPI DWORD WINAPI GetCurrentProcessorNumber(void); +WINBASEAPI VOID WINAPI GetCurrentProcessorNumberEx(PPROCESSOR_NUMBER); +WINBASEAPI HANDLE WINAPI GetCurrentThread(void); +#define GetCurrentTime() GetTickCount() +WINBASEAPI BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,LPDWORD); +WINBASEAPI BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,LPDWORD); +#define GetDefaultCommConfig WINELIB_NAME_AW(GetDefaultCommConfig) +WINBASEAPI BOOL WINAPI GetDevicePowerState(HANDLE,BOOL*); +WINBASEAPI BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD); +WINBASEAPI BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD); +#define GetDiskFreeSpace WINELIB_NAME_AW(GetDiskFreeSpace) +WINBASEAPI BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); +WINBASEAPI BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); +#define GetDiskFreeSpaceEx WINELIB_NAME_AW(GetDiskFreeSpaceEx) +WINBASEAPI DWORD WINAPI GetDllDirectoryA(DWORD,LPSTR); +WINBASEAPI DWORD WINAPI GetDllDirectoryW(DWORD,LPWSTR); +#define GetDllDirectory WINELIB_NAME_AW(GetDllDirectory) +WINBASEAPI UINT WINAPI GetDriveTypeA(LPCSTR); +WINBASEAPI UINT WINAPI GetDriveTypeW(LPCWSTR); +#define GetDriveType WINELIB_NAME_AW(GetDriveType) +WINBASEAPI DWORD WINAPI GetDynamicTimeZoneInformation(PDYNAMIC_TIME_ZONE_INFORMATION); +WINBASEAPI LPSTR WINAPI GetEnvironmentStringsA(void); +WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void); +#define GetEnvironmentStrings WINELIB_NAME_AW(GetEnvironmentStrings) +WINBASEAPI DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD); +#define GetEnvironmentVariable WINELIB_NAME_AW(GetEnvironmentVariable) +WINBASEAPI UINT WINAPI GetErrorMode(void); +WINADVAPI BOOL WINAPI GetEventLogInformation(HANDLE,DWORD,LPVOID,DWORD,LPDWORD); +WINBASEAPI BOOL WINAPI GetExitCodeProcess(HANDLE,LPDWORD); +WINBASEAPI BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD); +WINBASEAPI DWORD WINAPI GetFileAttributesA(LPCSTR); +WINBASEAPI DWORD WINAPI GetFileAttributesW(LPCWSTR); +#define GetFileAttributes WINELIB_NAME_AW(GetFileAttributes) +WINBASEAPI BOOL WINAPI GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,LPVOID); +WINBASEAPI BOOL WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,LPVOID); +#define GetFileAttributesEx WINELIB_NAME_AW(GetFileAttributesEx) +WINBASEAPI BOOL WINAPI GetFileInformationByHandle(HANDLE,BY_HANDLE_FILE_INFORMATION*); +WINBASEAPI BOOL WINAPI GetFileInformationByHandleEx(HANDLE,FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD); +WINADVAPI BOOL WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); +#define GetFileSecurity WINELIB_NAME_AW(GetFileSecurity) +WINBASEAPI DWORD WINAPI GetFileSize(HANDLE,LPDWORD); +WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE,PLARGE_INTEGER); +WINBASEAPI BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); +WINBASEAPI DWORD WINAPI GetFileType(HANDLE); +#define GetFreeSpace(w) (__MSABI_LONG(0x100000)) +WINBASEAPI DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*); +WINBASEAPI DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); +#define GetFullPathName WINELIB_NAME_AW(GetFullPathName) +WINBASEAPI BOOL WINAPI GetHandleInformation(HANDLE,LPDWORD); +WINADVAPI BOOL WINAPI GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); +WINADVAPI DWORD WINAPI GetLengthSid(PSID); +WINBASEAPI VOID WINAPI GetLocalTime(LPSYSTEMTIME); +WINBASEAPI DWORD WINAPI GetLogicalDrives(void); +WINBASEAPI UINT WINAPI GetLogicalDriveStringsA(UINT,LPSTR); +WINBASEAPI UINT WINAPI GetLogicalDriveStringsW(UINT,LPWSTR); +#define GetLogicalDriveStrings WINELIB_NAME_AW(GetLogicalDriveStrings) +WINBASEAPI DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD); +#define GetLongPathName WINELIB_NAME_AW(GetLongPathName) +WINBASEAPI BOOL WINAPI GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD); +WINBASEAPI DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD); +#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName) +WINBASEAPI HMODULE WINAPI GetModuleHandleA(LPCSTR); +WINBASEAPI HMODULE WINAPI GetModuleHandleW(LPCWSTR); +#define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle) +WINBASEAPI BOOL WINAPI GetModuleHandleExA(DWORD,LPCSTR,HMODULE*); +WINBASEAPI BOOL WINAPI GetModuleHandleExW(DWORD,LPCWSTR,HMODULE*); +#define GetModuleHandleEx WINELIB_NAME_AW(GetModuleHandleEx) +WINBASEAPI BOOL WINAPI GetNamedPipeHandleStateA(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI GetNamedPipeHandleStateW(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD); +#define GetNamedPipeHandleState WINELIB_NAME_AW(GetNamedPipeHandleState) +WINBASEAPI BOOL WINAPI GetNamedPipeInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD); +WINBASEAPI BOOL WINAPI GetNamedPipeClientProcessId(HANDLE,PULONG); +WINBASEAPI VOID WINAPI GetNativeSystemInfo(LPSYSTEM_INFO); +WINBASEAPI BOOL WINAPI GetNumaProcessorNode(UCHAR,PUCHAR); +WINADVAPI BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD); +WINADVAPI BOOL WINAPI GetOldestEventLogRecord(HANDLE,PDWORD); +WINBASEAPI BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL); +WINBASEAPI DWORD WINAPI GetPriorityClass(HANDLE); +WINADVAPI BOOL WINAPI GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); +WINBASEAPI UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR); +WINBASEAPI UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR); +#define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt) +WINBASEAPI INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR); +WINBASEAPI INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR); +#define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection) +WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR); +#define GetPrivateProfileSectionNames WINELIB_NAME_AW(GetPrivateProfileSectionNames) +WINBASEAPI INT WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT,LPCSTR); +WINBASEAPI INT WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT,LPCWSTR); +#define GetPrivateProfileString WINELIB_NAME_AW(GetPrivateProfileString) +WINBASEAPI BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); +WINBASEAPI BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); +#define GetPrivateProfileStruct WINELIB_NAME_AW(GetPrivateProfileStruct) +WINBASEAPI BOOL WINAPI IsInProcess(LPCSTR); +WINBASEAPI FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR); +WINBASEAPI BOOL WINAPI GetProcessAffinityMask(HANDLE,PDWORD_PTR,PDWORD_PTR); +WINBASEAPI BOOL WINAPI GetLogicalProcessorInformation(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION,PDWORD); +WINBASEAPI BOOL WINAPI GetLogicalProcessorInformationEx(LOGICAL_PROCESSOR_RELATIONSHIP,PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX,PDWORD); +WINBASEAPI DWORD WINAPI GetProcessHeaps(DWORD,PHANDLE); +WINBASEAPI DWORD WINAPI GetProcessId(HANDLE); +WINBASEAPI DWORD WINAPI GetProcessIdOfThread(HANDLE); +WINBASEAPI BOOL WINAPI GetProcessIoCounters(HANDLE,PIO_COUNTERS); +WINBASEAPI BOOL WINAPI GetProcessPriorityBoost(HANDLE,PBOOL); +WINBASEAPI BOOL WINAPI GetProcessShutdownParameters(LPDWORD,LPDWORD); +WINBASEAPI BOOL WINAPI GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); +WINBASEAPI DWORD WINAPI GetProcessVersion(DWORD); +WINBASEAPI BOOL WINAPI GetProcessWorkingSetSize(HANDLE,PSIZE_T,PSIZE_T); +WINBASEAPI BOOL WINAPI GetProductInfo(DWORD,DWORD,DWORD,DWORD,PDWORD); +WINBASEAPI UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT); +WINBASEAPI UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT); +#define GetProfileInt WINELIB_NAME_AW(GetProfileInt) +WINBASEAPI INT WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD); +WINBASEAPI INT WINAPI GetProfileSectionW(LPCWSTR,LPWSTR,DWORD); +#define GetProfileSection WINELIB_NAME_AW(GetProfileSection) +WINBASEAPI INT WINAPI GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT); +WINBASEAPI INT WINAPI GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT); +#define GetProfileString WINELIB_NAME_AW(GetProfileString) +WINBASEAPI BOOL WINAPI GetQueuedCompletionStatus(HANDLE,LPDWORD,PULONG_PTR,LPOVERLAPPED*,DWORD); +WINADVAPI BOOL WINAPI GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,LPDWORD); +WINADVAPI BOOL WINAPI GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL); +WINADVAPI BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID *,LPBOOL); +WINADVAPI DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR); +WINADVAPI BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID *,LPBOOL); +WINADVAPI BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL); +WINADVAPI PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID); +WINADVAPI DWORD WINAPI GetSidLengthRequired(BYTE); +WINADVAPI PDWORD WINAPI GetSidSubAuthority(PSID,DWORD); +WINADVAPI PUCHAR WINAPI GetSidSubAuthorityCount(PSID); +WINBASEAPI DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD); +#define GetShortPathName WINELIB_NAME_AW(GetShortPathName) +WINBASEAPI VOID WINAPI GetStartupInfoA(LPSTARTUPINFOA); +WINBASEAPI VOID WINAPI GetStartupInfoW(LPSTARTUPINFOW); +#define GetStartupInfo WINELIB_NAME_AW(GetStartupInfo) +WINBASEAPI HANDLE WINAPI GetStdHandle(DWORD); +WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT); +WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT); +#define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory) +WINBASEAPI UINT WINAPI GetSystemFirmwareTable(DWORD,DWORD,PVOID,DWORD); +WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO); +WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); +WINBASEAPI BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD); +WINBASEAPI VOID WINAPI GetSystemTime(LPSYSTEMTIME); +WINBASEAPI BOOL WINAPI GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL); +WINBASEAPI VOID WINAPI GetSystemTimeAsFileTime(LPFILETIME); +WINBASEAPI VOID WINAPI GetSystemTimePreciseAsFileTime(LPFILETIME); +WINBASEAPI UINT WINAPI GetSystemWindowsDirectoryA(LPSTR,UINT); +WINBASEAPI UINT WINAPI GetSystemWindowsDirectoryW(LPWSTR,UINT); +#define GetSystemWindowsDirectory WINELIB_NAME_AW(GetSystemWindowsDirectory) +WINBASEAPI UINT WINAPI GetSystemWow64DirectoryA(LPSTR,UINT); +WINBASEAPI UINT WINAPI GetSystemWow64DirectoryW(LPWSTR,UINT); +#define GetSystemWow64Directory WINELIB_NAME_AW(GetSystemWow64Directory) +WINBASEAPI DWORD WINAPI GetTapeParameters(HANDLE,DWORD,LPDWORD,LPVOID); +WINBASEAPI DWORD WINAPI GetTapePosition(HANDLE,DWORD,LPDWORD,LPDWORD,LPDWORD); +WINBASEAPI DWORD WINAPI GetTapeStatus(HANDLE); +WINBASEAPI UINT WINAPI GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR); +WINBASEAPI UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR); +#define GetTempFileName WINELIB_NAME_AW(GetTempFileName) +WINBASEAPI DWORD WINAPI GetTempPathA(DWORD,LPSTR); +WINBASEAPI DWORD WINAPI GetTempPathW(DWORD,LPWSTR); +#define GetTempPath WINELIB_NAME_AW(GetTempPath) +WINBASEAPI DWORD WINAPI GetThreadId(HANDLE); +WINBASEAPI BOOL WINAPI GetThreadIOPendingFlag(HANDLE,PBOOL); +WINBASEAPI DWORD WINAPI GetTickCount(void); +WINBASEAPI ULONGLONG WINAPI GetTickCount64(void); +WINBASEAPI DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION); +WINBASEAPI BOOL WINAPI GetThreadContext(HANDLE,CONTEXT *); +WINBASEAPI DWORD WINAPI GetThreadErrorMode(void); +WINBASEAPI INT WINAPI GetThreadPriority(HANDLE); +WINBASEAPI BOOL WINAPI GetThreadPriorityBoost(HANDLE,PBOOL); +WINBASEAPI BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY); +WINBASEAPI BOOL WINAPI GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); +WINADVAPI BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI GetUserNameA(LPSTR,LPDWORD); +WINADVAPI BOOL WINAPI GetUserNameW(LPWSTR,LPDWORD); +#define GetUserName WINELIB_NAME_AW(GetUserName) +WINBASEAPI DWORD WINAPI GetVersion(void); +WINBASEAPI BOOL WINAPI GetVersionExA(OSVERSIONINFOA*); +WINBASEAPI BOOL WINAPI GetVersionExW(OSVERSIONINFOW*); +#define GetVersionEx WINELIB_NAME_AW(GetVersionEx) +WINBASEAPI BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD); +#define GetVolumeInformation WINELIB_NAME_AW(GetVolumeInformation) +WINBASEAPI BOOL WINAPI GetVolumeInformationByHandleW(HANDLE,WCHAR *,DWORD,DWORD *,DWORD *,DWORD *,WCHAR *,DWORD); +WINBASEAPI BOOL WINAPI GetVolumeNameForVolumeMountPointA(LPCSTR,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI GetVolumeNameForVolumeMountPointW(LPCWSTR,LPWSTR,DWORD); +#define GetVolumeNameForVolumeMountPoint WINELIB_NAME_AW(GetVolumeNameForVolumeMountPoint) +WINBASEAPI BOOL WINAPI GetVolumePathNameA(LPCSTR,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI GetVolumePathNameW(LPCWSTR,LPWSTR,DWORD); +#define GetVolumePathName WINELIB_NAME_AW(GetVolumePathName) +WINBASEAPI BOOL WINAPI GetVolumePathNamesForVolumeNameA(LPCSTR,LPSTR,DWORD,PDWORD); +WINBASEAPI BOOL WINAPI GetVolumePathNamesForVolumeNameW(LPCWSTR,LPWSTR,DWORD,PDWORD); +#define GetVolumePathNamesForVolumeName WINELIB_NAME_AW(GetVolumePathNamesForVolumeName) +WINBASEAPI UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT); +WINBASEAPI UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT); +#define GetWindowsDirectory WINELIB_NAME_AW(GetWindowsDirectory) +WINBASEAPI UINT WINAPI GetWriteWatch(DWORD,LPVOID,SIZE_T,LPVOID*,ULONG_PTR*,ULONG*); +WINBASEAPI ATOM WINAPI GlobalAddAtomA(LPCSTR); +WINBASEAPI ATOM WINAPI GlobalAddAtomW(LPCWSTR); +#define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom) +WINBASEAPI HGLOBAL WINAPI GlobalAlloc(UINT,SIZE_T) __WINE_ALLOC_SIZE(2); +WINBASEAPI SIZE_T WINAPI GlobalCompact(DWORD); +WINBASEAPI ATOM WINAPI GlobalDeleteAtom(ATOM); +WINBASEAPI ATOM WINAPI GlobalFindAtomA(LPCSTR); +WINBASEAPI ATOM WINAPI GlobalFindAtomW(LPCWSTR); +#define GlobalFindAtom WINELIB_NAME_AW(GlobalFindAtom) +WINBASEAPI VOID WINAPI GlobalFix(HGLOBAL); +WINBASEAPI UINT WINAPI GlobalFlags(HGLOBAL); +WINBASEAPI HGLOBAL WINAPI GlobalFree(HGLOBAL); +WINBASEAPI UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,INT); +WINBASEAPI UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,INT); +#define GlobalGetAtomName WINELIB_NAME_AW(GlobalGetAtomName) +WINBASEAPI HGLOBAL WINAPI GlobalHandle(LPCVOID); +WINBASEAPI LPVOID WINAPI GlobalLock(HGLOBAL); +WINBASEAPI VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS); +WINBASEAPI BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX); +WINBASEAPI HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,SIZE_T,UINT) __WINE_ALLOC_SIZE(2); +WINBASEAPI SIZE_T WINAPI GlobalSize(HGLOBAL); +WINBASEAPI VOID WINAPI GlobalUnfix(HGLOBAL); +WINBASEAPI BOOL WINAPI GlobalUnlock(HGLOBAL); +WINBASEAPI BOOL WINAPI GlobalUnWire(HGLOBAL); +WINBASEAPI LPVOID WINAPI GlobalWire(HGLOBAL); +#define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING) +WINBASEAPI LPVOID WINAPI HeapAlloc(HANDLE,DWORD,SIZE_T) __WINE_ALLOC_SIZE(3); +WINBASEAPI SIZE_T WINAPI HeapCompact(HANDLE,DWORD); +WINBASEAPI HANDLE WINAPI HeapCreate(DWORD,SIZE_T,SIZE_T); +WINBASEAPI BOOL WINAPI HeapDestroy(HANDLE); +WINBASEAPI BOOL WINAPI HeapFree(HANDLE,DWORD,LPVOID); +WINBASEAPI BOOL WINAPI HeapLock(HANDLE); +WINBASEAPI LPVOID WINAPI HeapReAlloc(HANDLE,DWORD,LPVOID,SIZE_T) __WINE_ALLOC_SIZE(4); +WINBASEAPI BOOL WINAPI HeapQueryInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T,PSIZE_T); +WINBASEAPI BOOL WINAPI HeapSetInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T); +WINBASEAPI SIZE_T WINAPI HeapSize(HANDLE,DWORD,LPCVOID); +WINBASEAPI BOOL WINAPI HeapUnlock(HANDLE); +WINBASEAPI BOOL WINAPI HeapValidate(HANDLE,DWORD,LPCVOID); +WINBASEAPI BOOL WINAPI HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY); +WINBASEAPI BOOL WINAPI InitAtomTable(DWORD); +WINADVAPI BOOL WINAPI InitializeAcl(PACL,DWORD,DWORD); +WINBASEAPI VOID WINAPI InitializeConditionVariable(PCONDITION_VARIABLE); +WINBASEAPI void WINAPI InitializeCriticalSection(CRITICAL_SECTION *lpCrit); +WINBASEAPI BOOL WINAPI InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION *,DWORD); +WINBASEAPI BOOL WINAPI InitializeCriticalSectionEx(CRITICAL_SECTION *,DWORD,DWORD); +WINBASEAPI BOOL WINAPI InitializeProcThreadAttributeList(struct _PROC_THREAD_ATTRIBUTE_LIST*,DWORD,DWORD,SIZE_T*); +WINADVAPI BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD); +WINADVAPI BOOL WINAPI InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); +WINBASEAPI VOID WINAPI InitializeSListHead(PSLIST_HEADER); +WINBASEAPI VOID WINAPI InitializeSRWLock(PSRWLOCK); +WINBASEAPI BOOL WINAPI InitOnceBeginInitialize(PINIT_ONCE, DWORD, PBOOL, PVOID*); +WINBASEAPI BOOL WINAPI InitOnceComplete(PINIT_ONCE, DWORD, PVOID); +WINBASEAPI BOOL WINAPI InitOnceExecuteOnce(PINIT_ONCE,PINIT_ONCE_FN,PVOID,PVOID*); +WINBASEAPI VOID WINAPI InitOnceInitialize(PINIT_ONCE); +WINBASEAPI PSLIST_ENTRY WINAPI InterlockedFlushSList(PSLIST_HEADER); +WINBASEAPI PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER); +WINBASEAPI PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER, PSLIST_ENTRY); +WINBASEAPI BOOL WINAPI IsBadCodePtr(FARPROC); +WINBASEAPI BOOL WINAPI IsBadHugeReadPtr(LPCVOID,UINT_PTR); +WINBASEAPI BOOL WINAPI IsBadHugeWritePtr(LPVOID,UINT_PTR); +WINBASEAPI BOOL WINAPI IsBadReadPtr(LPCVOID,UINT_PTR); +WINBASEAPI BOOL WINAPI IsBadStringPtrA(LPCSTR,UINT_PTR); +WINBASEAPI BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT_PTR); +#define IsBadStringPtr WINELIB_NAME_AW(IsBadStringPtr) +WINBASEAPI BOOL WINAPI IsBadWritePtr(LPVOID,UINT_PTR); +WINBASEAPI BOOL WINAPI IsDebuggerPresent(void); +WINBASEAPI BOOL WINAPI IsSystemResumeAutomatic(void); +WINADVAPI BOOL WINAPI IsTextUnicode(LPCVOID,INT,LPINT); +WINADVAPI BOOL WINAPI IsTokenRestricted(HANDLE); +WINADVAPI BOOL WINAPI IsValidAcl(PACL); +WINADVAPI BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR); +WINADVAPI BOOL WINAPI IsValidSid(PSID); +WINADVAPI BOOL WINAPI IsWellKnownSid(PSID,WELL_KNOWN_SID_TYPE); +WINBASEAPI BOOL WINAPI IsWow64Process(HANDLE,PBOOL); +WINADVAPI BOOL WINAPI ImpersonateLoggedOnUser(HANDLE); +WINADVAPI BOOL WINAPI ImpersonateNamedPipeClient(HANDLE); +WINADVAPI BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL); +WINBASEAPI BOOL WINAPI IsProcessInJob(HANDLE,HANDLE,PBOOL); +WINBASEAPI BOOL WINAPI IsProcessorFeaturePresent(DWORD); +WINBASEAPI void WINAPI LeaveCriticalSection(CRITICAL_SECTION *lpCrit); +WINBASEAPI HMODULE WINAPI LoadLibraryA(LPCSTR); +WINBASEAPI HMODULE WINAPI LoadLibraryW(LPCWSTR); +#define LoadLibrary WINELIB_NAME_AW(LoadLibrary) +WINBASEAPI HMODULE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD); +WINBASEAPI HMODULE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD); +#define LoadLibraryEx WINELIB_NAME_AW(LoadLibraryEx) +WINBASEAPI DWORD WINAPI LoadModule(LPCSTR,LPVOID); +WINBASEAPI HGLOBAL WINAPI LoadResource(HMODULE,HRSRC); +WINBASEAPI HLOCAL WINAPI LocalAlloc(UINT,SIZE_T) __WINE_ALLOC_SIZE(2); +WINBASEAPI SIZE_T WINAPI LocalCompact(UINT); +WINBASEAPI UINT WINAPI LocalFlags(HLOCAL); +WINBASEAPI HLOCAL WINAPI LocalFree(HLOCAL); +WINBASEAPI HLOCAL WINAPI LocalHandle(LPCVOID); +WINBASEAPI LPVOID WINAPI LocalLock(HLOCAL); +WINBASEAPI HLOCAL WINAPI LocalReAlloc(HLOCAL,SIZE_T,UINT) __WINE_ALLOC_SIZE(2); +WINBASEAPI SIZE_T WINAPI LocalShrink(HGLOBAL,UINT); +WINBASEAPI SIZE_T WINAPI LocalSize(HLOCAL); +WINBASEAPI BOOL WINAPI LocalUnlock(HLOCAL); +WINBASEAPI LPVOID WINAPI LockResource(HGLOBAL); +#define LockSegment(handle) GlobalFix((HANDLE)(handle)) +WINADVAPI BOOL WINAPI LookupAccountNameA(LPCSTR,LPCSTR,PSID,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE); +WINADVAPI BOOL WINAPI LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE); +#define LookupAccountName WINELIB_NAME_AW(LookupAccountName) +WINADVAPI BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE); +WINADVAPI BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE); +#define LookupAccountSid WINELIB_NAME_AW(LookupAccountSid) +WINBASEAPI BOOL WINAPI LocalFileTimeToFileTime(const FILETIME*,LPFILETIME); +WINBASEAPI BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); +WINBASEAPI BOOL WINAPI LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED); +WINADVAPI BOOL WINAPI LogonUserA(LPCSTR,LPCSTR,LPCSTR,DWORD,DWORD,PHANDLE); +WINADVAPI BOOL WINAPI LogonUserW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,PHANDLE); +#define LogonUser WINELIB_NAME_AW(LogonUser) +WINADVAPI BOOL WINAPI LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,LPDWORD,LPDWORD); +WINADVAPI BOOL WINAPI LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,LPDWORD); +#define LookupPrivilegeDisplayName WINELIB_NAME_AW(LookupPrivilegeDisplayName) +WINADVAPI BOOL WINAPI LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,LPDWORD); +WINADVAPI BOOL WINAPI LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,LPDWORD); +#define LookupPrivilegeName WINELIB_NAME_AW(LookupPrivilegeName) +WINADVAPI BOOL WINAPI LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID); +WINADVAPI BOOL WINAPI LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID); +#define LookupPrivilegeValue WINELIB_NAME_AW(LookupPrivilegeValue) +WINADVAPI BOOL WINAPI MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD,PACL,LPDWORD,PACL,LPDWORD,PSID,LPDWORD,PSID,LPDWORD); +WINBASEAPI void WINAPI MakeCriticalSectionGlobal(CRITICAL_SECTION *lpCrit); +#define MakeProcInstance(proc,inst) (proc) +WINADVAPI BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD); +WINADVAPI VOID WINAPI MapGenericMask(PDWORD,PGENERIC_MAPPING); +WINBASEAPI HMODULE WINAPI MapHModuleSL(WORD); +WINBASEAPI WORD WINAPI MapHModuleLS(HMODULE); +WINBASEAPI LPVOID WINAPI MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,SIZE_T); +WINBASEAPI LPVOID WINAPI MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,SIZE_T,LPVOID); +WINBASEAPI BOOL WINAPI MoveFileA(LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI MoveFileW(LPCWSTR,LPCWSTR); +#define MoveFile WINELIB_NAME_AW(MoveFile) +WINBASEAPI BOOL WINAPI MoveFileExA(LPCSTR,LPCSTR,DWORD); +WINBASEAPI BOOL WINAPI MoveFileExW(LPCWSTR,LPCWSTR,DWORD); +#define MoveFileEx WINELIB_NAME_AW(MoveFileEx) +WINBASEAPI BOOL WINAPI MoveFileWithProgressA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,DWORD); +WINBASEAPI BOOL WINAPI MoveFileWithProgressW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,DWORD); +#define MoveFileWithProgress WINELIB_NAME_AW(MoveFileWithProgress) +WINBASEAPI INT WINAPI MulDiv(INT,INT,INT); +WINBASEAPI BOOL WINAPI NeedCurrentDirectoryForExePathA(LPCSTR); +WINBASEAPI BOOL WINAPI NeedCurrentDirectoryForExePathW(LPCWSTR); +#define NeedCurrentDirectoryForExePath WINELIB_NAME_AW(NeedCurrentDirectoryForExePath) +WINADVAPI BOOL WINAPI NotifyChangeEventLog(HANDLE,HANDLE); +WINADVAPI BOOL WINAPI ObjectCloseAuditAlarmA(LPCSTR,LPVOID,BOOL); +WINADVAPI BOOL WINAPI ObjectCloseAuditAlarmW(LPCWSTR,LPVOID,BOOL); +#define ObjectCloseAuditAlarm WINELIB_NAME_AW(ObjectCloseAuditAlarm) +WINADVAPI BOOL WINAPI ObjectDeleteAuditAlarmA(LPCSTR,LPVOID,BOOL); +WINADVAPI BOOL WINAPI ObjectDeleteAuditAlarmW(LPCWSTR,LPVOID,BOOL); +#define ObjectDeleteAuditAlarm WINELIB_NAME_AW(ObjectDeleteAuditAlarm) +WINADVAPI BOOL WINAPI ObjectOpenAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL); +WINADVAPI BOOL WINAPI ObjectOpenAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL); +#define ObjectOpenAuditAlarm WINELIB_NAME_AW(ObjectOpenAuditAlarm) +WINADVAPI BOOL WINAPI ObjectPrivilegeAuditAlarmA(LPCSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); +WINADVAPI BOOL WINAPI ObjectPrivilegeAuditAlarmW(LPCWSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); +#define ObjectPrivilegeAuditAlarm WINELIB_NAME_AW(ObjectPrivilegeAuditAlarm) +WINADVAPI HANDLE WINAPI OpenBackupEventLogA(LPCSTR,LPCSTR); +WINADVAPI HANDLE WINAPI OpenBackupEventLogW(LPCWSTR,LPCWSTR); +#define OpenBackupEventLog WINELIB_NAME_AW(OpenBackupEventLog) +WINADVAPI DWORD WINAPI OpenEncryptedFileRawA(LPCSTR,ULONG,PVOID*); +WINADVAPI DWORD WINAPI OpenEncryptedFileRawW(LPCWSTR,ULONG,PVOID*); +#define OpenEncryptedFileRaw WINELIB_NAME_AW(OpenEncryptedFileRaw) +WINBASEAPI HANDLE WINAPI OpenEventA(DWORD,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI OpenEventW(DWORD,BOOL,LPCWSTR); +#define OpenEvent WINELIB_NAME_AW(OpenEvent) +WINADVAPI HANDLE WINAPI OpenEventLogA(LPCSTR,LPCSTR); +WINADVAPI HANDLE WINAPI OpenEventLogW(LPCWSTR,LPCWSTR); +#define OpenEventLog WINELIB_NAME_AW(OpenEventLog) +WINBASEAPI HFILE WINAPI OpenFile(LPCSTR,OFSTRUCT*,UINT); +WINBASEAPI HANDLE WINAPI OpenFileMappingA(DWORD,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI OpenFileMappingW(DWORD,BOOL,LPCWSTR); +#define OpenFileMapping WINELIB_NAME_AW(OpenFileMapping) +WINBASEAPI HANDLE WINAPI OpenJobObjectA(DWORD,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI OpenJobObjectW(DWORD,BOOL,LPCWSTR); +#define OpenJobObject WINELIB_NAME_AW(OpenJobObject) +WINBASEAPI HANDLE WINAPI OpenMutexA(DWORD,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI OpenMutexW(DWORD,BOOL,LPCWSTR); +#define OpenMutex WINELIB_NAME_AW(OpenMutex) +WINBASEAPI HANDLE WINAPI OpenProcess(DWORD,BOOL,DWORD); +WINADVAPI BOOL WINAPI OpenProcessToken(HANDLE,DWORD,PHANDLE); +WINBASEAPI HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI OpenSemaphoreW(DWORD,BOOL,LPCWSTR); +#define OpenSemaphore WINELIB_NAME_AW(OpenSemaphore) +WINBASEAPI HANDLE WINAPI OpenThread(DWORD,BOOL,DWORD); +WINADVAPI BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE); +WINBASEAPI HANDLE WINAPI OpenWaitableTimerA(DWORD,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI OpenWaitableTimerW(DWORD,BOOL,LPCWSTR); +#define OpenWaitableTimer WINELIB_NAME_AW(OpenWaitableTimer) +WINBASEAPI VOID WINAPI OutputDebugStringA(LPCSTR); +WINBASEAPI VOID WINAPI OutputDebugStringW(LPCWSTR); +#define OutputDebugString WINELIB_NAME_AW(OutputDebugString) +WINBASEAPI BOOL WINAPI PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD); +WINBASEAPI BOOL WINAPI PostQueuedCompletionStatus(HANDLE,DWORD,ULONG_PTR,LPOVERLAPPED); +WINBASEAPI DWORD WINAPI PrepareTape(HANDLE,DWORD,BOOL); +WINBASEAPI BOOL WINAPI ProcessIdToSessionId(DWORD,DWORD*); +WINADVAPI BOOL WINAPI PrivilegeCheck(HANDLE,PPRIVILEGE_SET,LPBOOL); +WINADVAPI BOOL WINAPI PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL); +WINADVAPI BOOL WINAPI PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL); +#define PrivilegedServiceAuditAlarm WINELIB_NAME_AW(PrivilegedServiceAuditAlarm) +WINBASEAPI BOOL WINAPI PulseEvent(HANDLE); +WINBASEAPI BOOL WINAPI PurgeComm(HANDLE,DWORD); +WINBASEAPI BOOL WINAPI QueryActCtxW(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T *); +WINBASEAPI USHORT WINAPI QueryDepthSList(PSLIST_HEADER); +WINBASEAPI DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD); +WINBASEAPI DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD); +#define QueryDosDevice WINELIB_NAME_AW(QueryDosDevice) +WINBASEAPI BOOL WINAPI QueryFullProcessImageNameA(HANDLE,DWORD,LPSTR,PDWORD); +WINBASEAPI BOOL WINAPI QueryFullProcessImageNameW(HANDLE,DWORD,LPWSTR,PDWORD); +#define QueryFullProcessImageName WINELIB_NAME_AW(QueryFullProcessImageName) +WINBASEAPI BOOL WINAPI QueryInformationJobObject(HANDLE,JOBOBJECTINFOCLASS,LPVOID,DWORD,DWORD*); +WINBASEAPI BOOL WINAPI QueryMemoryResourceNotification(HANDLE,PBOOL); +WINBASEAPI BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER*); +WINBASEAPI BOOL WINAPI QueryPerformanceFrequency(LARGE_INTEGER*); +WINBASEAPI BOOL WINAPI QueryThreadCycleTime(HANDLE,PULONG64); +WINBASEAPI DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR); +WINBASEAPI BOOL WINAPI QueueUserWorkItem(LPTHREAD_START_ROUTINE,PVOID,ULONG); +WINBASEAPI void WINAPI RaiseException(DWORD,DWORD,DWORD,const ULONG_PTR *); +WINADVAPI BOOL WINAPI ReadEventLogA(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *); +WINADVAPI BOOL WINAPI ReadEventLogW(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *); +#define ReadEventLog WINELIB_NAME_AW(ReadEventLog) +WINBASEAPI BOOL WINAPI ReadDirectoryChangesW(HANDLE,LPVOID,DWORD,BOOL,DWORD,LPDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); +WINADVAPI DWORD WINAPI ReadEncryptedFileRaw(PFE_EXPORT_FUNC,PVOID,PVOID); +WINBASEAPI BOOL WINAPI ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI ReadFileEx(HANDLE,LPVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); +WINBASEAPI BOOL WINAPI ReadFileScatter(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI ReadProcessMemory(HANDLE,LPCVOID,LPVOID,SIZE_T,SIZE_T*); +WINADVAPI HANDLE WINAPI RegisterEventSourceA(LPCSTR,LPCSTR); +WINADVAPI HANDLE WINAPI RegisterEventSourceW(LPCWSTR,LPCWSTR); +#define RegisterEventSource WINELIB_NAME_AW(RegisterEventSource) +WINBASEAPI BOOL WINAPI RegisterWaitForSingleObject(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,ULONG,ULONG); +WINBASEAPI HANDLE WINAPI RegisterWaitForSingleObjectEx(HANDLE,WAITORTIMERCALLBACK,PVOID,ULONG,ULONG); +WINBASEAPI VOID WINAPI ReleaseActCtx(HANDLE); +WINBASEAPI BOOL WINAPI ReleaseMutex(HANDLE); +WINBASEAPI BOOL WINAPI ReleaseSemaphore(HANDLE,LONG,LPLONG); +WINBASEAPI VOID WINAPI ReleaseSRWLockExclusive(PSRWLOCK); +WINBASEAPI VOID WINAPI ReleaseSRWLockShared(PSRWLOCK); +WINBASEAPI ULONG WINAPI RemoveVectoredExceptionHandler(PVOID); +WINBASEAPI BOOL WINAPI ReplaceFileA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPVOID,LPVOID); +WINBASEAPI BOOL WINAPI ReplaceFileW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPVOID,LPVOID); +#define ReplaceFile WINELIB_NAME_AW(ReplaceFile) +WINBASEAPI BOOL WINAPI RemoveDirectoryA(LPCSTR); +WINBASEAPI BOOL WINAPI RemoveDirectoryW(LPCWSTR); +#define RemoveDirectory WINELIB_NAME_AW(RemoveDirectory) +WINADVAPI BOOL WINAPI ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID); +WINADVAPI BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR *,LPVOID); +WINBASEAPI BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency); +#define ReportEvent WINELIB_NAME_AW(ReportEvent) +WINBASEAPI BOOL WINAPI ResetEvent(HANDLE); +WINBASEAPI UINT WINAPI ResetWriteWatch(LPVOID,SIZE_T); +WINBASEAPI DWORD WINAPI ResumeThread(HANDLE); +WINADVAPI BOOL WINAPI RevertToSelf(void); +WINBASEAPI DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*); +WINBASEAPI DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*); +#define SearchPath WINELIB_NAME_AW(SearchPath) +WINADVAPI BOOL WINAPI SetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS); +WINBASEAPI BOOL WINAPI SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD); +WINBASEAPI BOOL WINAPI SetCommBreak(HANDLE); +WINBASEAPI BOOL WINAPI SetCommMask(HANDLE,DWORD); +WINBASEAPI BOOL WINAPI SetCommState(HANDLE,LPDCB); +WINBASEAPI BOOL WINAPI SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); +WINBASEAPI BOOL WINAPI SetComputerNameA(LPCSTR); +WINBASEAPI BOOL WINAPI SetComputerNameW(LPCWSTR); +#define SetComputerName WINELIB_NAME_AW(SetComputerName) +WINBASEAPI BOOL WINAPI SetComputerNameExA(COMPUTER_NAME_FORMAT,LPCSTR); +WINBASEAPI BOOL WINAPI SetComputerNameExW(COMPUTER_NAME_FORMAT,LPCWSTR); +#define SetComputerNameEx WINELIB_NAME_AW(SetComputerNameEx) +WINBASEAPI DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD); +WINBASEAPI BOOL WINAPI SetCurrentDirectoryA(LPCSTR); +WINBASEAPI BOOL WINAPI SetCurrentDirectoryW(LPCWSTR); +#define SetCurrentDirectory WINELIB_NAME_AW(SetCurrentDirectory) +WINBASEAPI BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD); +WINBASEAPI BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD); +#define SetDefaultCommConfig WINELIB_NAME_AW(SetDefaultCommConfig) +WINBASEAPI BOOL WINAPI SetDllDirectoryA(LPCSTR); +WINBASEAPI BOOL WINAPI SetDllDirectoryW(LPCWSTR); +#define SetDllDirectory WINELIB_NAME_AW(SetDllDirectory) +WINBASEAPI BOOL WINAPI SetDynamicTimeZoneInformation(const DYNAMIC_TIME_ZONE_INFORMATION*); +WINBASEAPI BOOL WINAPI SetEndOfFile(HANDLE); +WINBASEAPI BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR); +#define SetEnvironmentVariable WINELIB_NAME_AW(SetEnvironmentVariable) +WINBASEAPI UINT WINAPI SetErrorMode(UINT); +WINBASEAPI BOOL WINAPI SetEvent(HANDLE); +WINBASEAPI VOID WINAPI SetFileApisToANSI(void); +WINBASEAPI VOID WINAPI SetFileApisToOEM(void); +WINBASEAPI BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD); +WINBASEAPI BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD); +#define SetFileAttributes WINELIB_NAME_AW(SetFileAttributes) +WINBASEAPI BOOL WINAPI SetFileCompletionNotificationModes(HANDLE,UCHAR); +WINBASEAPI BOOL WINAPI SetFileInformationByHandle(HANDLE,FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD); +WINBASEAPI DWORD WINAPI SetFilePointer(HANDLE,LONG,LPLONG,DWORD); +WINBASEAPI BOOL WINAPI SetFilePointerEx(HANDLE,LARGE_INTEGER,LARGE_INTEGER*,DWORD); +WINADVAPI BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +WINADVAPI BOOL WINAPI SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +#define SetFileSecurity WINELIB_NAME_AW(SetFileSecurity) +WINBASEAPI BOOL WINAPI SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*); +WINBASEAPI BOOL WINAPI SetFileValidData(HANDLE,LONGLONG); +WINBASEAPI UINT WINAPI SetHandleCount(UINT); +WINBASEAPI BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD); +WINBASEAPI BOOL WINAPI SetInformationJobObject(HANDLE,JOBOBJECTINFOCLASS,LPVOID,DWORD); +WINADVAPI BOOL WINAPI SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +WINBASEAPI BOOL WINAPI SetLocalTime(const SYSTEMTIME*); +WINBASEAPI BOOL WINAPI SetMailslotInfo(HANDLE,DWORD); +WINBASEAPI BOOL WINAPI SetNamedPipeHandleState(HANDLE,LPDWORD,LPDWORD,LPDWORD); +WINBASEAPI BOOL WINAPI SetPriorityClass(HANDLE,DWORD); +WINADVAPI BOOL WINAPI SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,PGENERIC_MAPPING,HANDLE); +WINBASEAPI BOOL WINAPI SetProcessAffinityMask(HANDLE,DWORD_PTR); +WINBASEAPI BOOL WINAPI SetProcessPriorityBoost(HANDLE,BOOL); +WINBASEAPI BOOL WINAPI SetProcessShutdownParameters(DWORD,DWORD); +WINBASEAPI BOOL WINAPI SetProcessWorkingSetSize(HANDLE,SIZE_T,SIZE_T); +WINBASEAPI BOOL WINAPI SetSearchPathMode(DWORD); +WINADVAPI BOOL WINAPI SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL); +WINADVAPI BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); +WINADVAPI BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL); +WINADVAPI BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL); +WINADVAPI BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); +WINBASEAPI BOOL WINAPI SetStdHandle(DWORD,HANDLE); +#define SetSwapAreaSize(w) (w) +WINBASEAPI BOOL WINAPI SetSystemPowerState(BOOL,BOOL); +WINBASEAPI BOOL WINAPI SetSystemTime(const SYSTEMTIME*); +WINBASEAPI BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL); +WINBASEAPI DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID); +WINBASEAPI DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL); +WINBASEAPI DWORD_PTR WINAPI SetThreadAffinityMask(HANDLE,DWORD_PTR); +WINBASEAPI BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *); +WINBASEAPI BOOL WINAPI SetThreadErrorMode(DWORD,LPDWORD); +WINBASEAPI DWORD WINAPI SetThreadExecutionState(EXECUTION_STATE); +WINBASEAPI DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD); +WINBASEAPI BOOL WINAPI SetThreadPriority(HANDLE,INT); +WINBASEAPI BOOL WINAPI SetThreadPriorityBoost(HANDLE,BOOL); +WINADVAPI BOOL WINAPI SetThreadToken(PHANDLE,HANDLE); +WINBASEAPI VOID WINAPI SetThreadpoolTimer(PTP_TIMER,FILETIME*,DWORD,DWORD); +WINBASEAPI VOID WINAPI SetThreadpoolWait(PTP_WAIT,HANDLE,FILETIME *); +WINBASEAPI HANDLE WINAPI SetTimerQueueTimer(HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,BOOL); +WINBASEAPI BOOL WINAPI SetTimeZoneInformation(const TIME_ZONE_INFORMATION *); +WINADVAPI BOOL WINAPI SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD); +WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER); +WINBASEAPI BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR); +#define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel) +WINBASEAPI BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI SetVolumeMountPointW(LPCWSTR,LPCWSTR); +#define SetVolumeMountPoint WINELIB_NAME_AW(SetVolumeMountPoint) +WINBASEAPI BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,BOOL); +WINBASEAPI BOOL WINAPI SetWaitableTimerEx(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,REASON_CONTEXT*,ULONG); +WINBASEAPI BOOL WINAPI SetupComm(HANDLE,DWORD,DWORD); +WINBASEAPI DWORD WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL); +WINBASEAPI DWORD WINAPI SizeofResource(HMODULE,HRSRC); +WINBASEAPI VOID WINAPI Sleep(DWORD); +WINBASEAPI BOOL WINAPI SleepConditionVariableCS(PCONDITION_VARIABLE,PCRITICAL_SECTION,DWORD); +WINBASEAPI BOOL WINAPI SleepConditionVariableSRW(PCONDITION_VARIABLE,PSRWLOCK,DWORD,ULONG); +WINBASEAPI DWORD WINAPI SleepEx(DWORD,BOOL); +WINBASEAPI VOID WINAPI SubmitThreadpoolWork(PTP_WORK); +WINBASEAPI DWORD WINAPI SuspendThread(HANDLE); +WINBASEAPI void WINAPI SwitchToFiber(LPVOID); +WINBASEAPI BOOL WINAPI SwitchToThread(void); +WINBASEAPI BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME); +WINBASEAPI BOOL WINAPI SystemTimeToTzSpecificLocalTime(const TIME_ZONE_INFORMATION*,const SYSTEMTIME*,LPSYSTEMTIME); +WINBASEAPI BOOL WINAPI TerminateJobObject(HANDLE,UINT); +WINBASEAPI BOOL WINAPI TerminateProcess(HANDLE,DWORD); +WINBASEAPI BOOL WINAPI TerminateThread(HANDLE,DWORD); +WINBASEAPI DWORD WINAPI TlsAlloc(void); +WINBASEAPI BOOL WINAPI TlsFree(DWORD); +WINBASEAPI LPVOID WINAPI TlsGetValue(DWORD); +WINBASEAPI BOOL WINAPI TlsSetValue(DWORD,LPVOID); +WINBASEAPI BOOL WINAPI TransactNamedPipe(HANDLE,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI TransmitCommChar(HANDLE,CHAR); +WINBASEAPI BOOLEAN WINAPI TryAcquireSRWLockExclusive(PSRWLOCK); +WINBASEAPI BOOLEAN WINAPI TryAcquireSRWLockShared(PSRWLOCK); +WINBASEAPI BOOL WINAPI TryEnterCriticalSection(CRITICAL_SECTION *lpCrit); +WINBASEAPI BOOL WINAPI TrySubmitThreadpoolCallback(PTP_SIMPLE_CALLBACK,void*,TP_CALLBACK_ENVIRON*); +WINBASEAPI BOOL WINAPI TzSpecificLocalTimeToSystemTime(const TIME_ZONE_INFORMATION*,const SYSTEMTIME*,LPSYSTEMTIME); +WINBASEAPI LONG WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS); +WINBASEAPI BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); +WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED); +#define UnlockResource(handle) ((handle), 0) +#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle)) +WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID); +WINBASEAPI HRESULT WINAPI UnregisterApplicationRestart(void); +WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE); +WINBASEAPI BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE); +WINBASEAPI BOOL WINAPI UpdateProcThreadAttribute(struct _PROC_THREAD_ATTRIBUTE_LIST*,DWORD,DWORD_PTR,void*,SIZE_T,void*,SIZE_T*); +WINBASEAPI BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD); +WINBASEAPI BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,LPVOID,DWORD); +#define UpdateResource WINELIB_NAME_AW(UpdateResource) +WINBASEAPI BOOL WINAPI VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG); +WINBASEAPI BOOL WINAPI VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG); +#define VerifyVersionInfo WINELIB_NAME_AW(VerifyVersionInfo) +WINBASEAPI LPVOID WINAPI VirtualAlloc(LPVOID,SIZE_T,DWORD,DWORD); +WINBASEAPI LPVOID WINAPI VirtualAllocEx(HANDLE,LPVOID,SIZE_T,DWORD,DWORD); +WINBASEAPI BOOL WINAPI VirtualFree(LPVOID,SIZE_T,DWORD); +WINBASEAPI BOOL WINAPI VirtualFreeEx(HANDLE,LPVOID,SIZE_T,DWORD); +WINBASEAPI BOOL WINAPI VirtualLock(LPVOID,SIZE_T); +WINBASEAPI BOOL WINAPI VirtualProtect(LPVOID,SIZE_T,DWORD,LPDWORD); +WINBASEAPI BOOL WINAPI VirtualProtectEx(HANDLE,LPVOID,SIZE_T,DWORD,LPDWORD); +WINBASEAPI SIZE_T WINAPI VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,SIZE_T); +WINBASEAPI SIZE_T WINAPI VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,SIZE_T); +WINBASEAPI BOOL WINAPI VirtualUnlock(LPVOID,SIZE_T); +WINBASEAPI DWORD WINAPI WTSGetActiveConsoleSessionId(void); +WINBASEAPI BOOL WINAPI WaitCommEvent(HANDLE,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT,DWORD); +WINBASEAPI DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD); +WINBASEAPI DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL); +WINBASEAPI DWORD WINAPI WaitForSingleObject(HANDLE,DWORD); +WINBASEAPI DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,BOOL); +WINBASEAPI VOID WINAPI WaitForThreadpoolTimerCallbacks(PTP_TIMER,BOOL); +WINBASEAPI BOOL WINAPI WaitNamedPipeA(LPCSTR,DWORD); +WINBASEAPI BOOL WINAPI WaitNamedPipeW(LPCWSTR,DWORD); +#define WaitNamedPipe WINELIB_NAME_AW(WaitNamedPipe) +WINBASEAPI VOID WINAPI WakeAllConditionVariable(PCONDITION_VARIABLE); +WINBASEAPI VOID WINAPI WakeConditionVariable(PCONDITION_VARIABLE); +WINBASEAPI UINT WINAPI WinExec(LPCSTR,UINT); +WINBASEAPI BOOL WINAPI Wow64DisableWow64FsRedirection(PVOID*); +WINBASEAPI BOOLEAN WINAPI Wow64EnableWow64FsRedirection(BOOLEAN); +WINBASEAPI BOOL WINAPI Wow64RevertWow64FsRedirection(PVOID); +WINADVAPI DWORD WINAPI WriteEncryptedFileRaw(PFE_IMPORT_FUNC,PVOID,PVOID); +WINBASEAPI BOOL WINAPI WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI WriteFileEx(HANDLE,LPCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); +WINBASEAPI BOOL WINAPI WriteFileGather(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR); +#define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection) +WINBASEAPI BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); +#define WritePrivateProfileString WINELIB_NAME_AW(WritePrivateProfileString) +WINBASEAPI BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); +WINBASEAPI BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); +#define WritePrivateProfileStruct WINELIB_NAME_AW(WritePrivateProfileStruct) +WINBASEAPI BOOL WINAPI WriteProcessMemory(HANDLE,LPVOID,LPCVOID,SIZE_T,SIZE_T*); +WINBASEAPI BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR); +#define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection) +WINBASEAPI BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR); +#define WriteProfileString WINELIB_NAME_AW(WriteProfileString) +WINBASEAPI DWORD WINAPI WriteTapemark(HANDLE,DWORD,DWORD,BOOL); +#define Yield() +WINBASEAPI BOOL WINAPI ZombifyActCtx(HANDLE); + +WINBASEAPI INT WINAPI lstrcmpA(LPCSTR,LPCSTR); +WINBASEAPI INT WINAPI lstrcmpW(LPCWSTR,LPCWSTR); +WINBASEAPI INT WINAPI lstrcmpiA(LPCSTR,LPCSTR); +WINBASEAPI INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR); + +#if !defined(__WINESRC__) || defined(WINE_NO_INLINE_STRING) + +WINBASEAPI LPSTR WINAPI lstrcatA(LPSTR,LPCSTR); +WINBASEAPI LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR); +WINBASEAPI LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR); +WINBASEAPI LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR); +WINBASEAPI LPSTR WINAPI lstrcpynA(LPSTR,LPCSTR,INT); +WINBASEAPI LPWSTR WINAPI lstrcpynW(LPWSTR,LPCWSTR,INT); +WINBASEAPI INT WINAPI lstrlenA(LPCSTR); +WINBASEAPI INT WINAPI lstrlenW(LPCWSTR); + +#else + +/* string functions without the exception handler */ + +static inline LPWSTR WINAPI lstrcpynW( LPWSTR dst, LPCWSTR src, INT n ) +{ + LPWSTR d = dst; + LPCWSTR s = src; + UINT count = n; + + while ((count > 1) && *s) + { + count--; + *d++ = *s++; + } + if (count) *d = 0; + return dst; +} + +static inline LPSTR WINAPI lstrcpynA( LPSTR dst, LPCSTR src, INT n ) +{ + LPSTR d = dst; + LPCSTR s = src; + UINT count = n; + + while ((count > 1) && *s) + { + count--; + *d++ = *s++; + } + if (count) *d = 0; + return dst; +} + +static inline INT WINAPI lstrlenW( LPCWSTR str ) +{ + const WCHAR *s = str; + while (*s) s++; + return s - str; +} + +static inline INT WINAPI lstrlenA( LPCSTR str ) +{ + return strlen( str ); +} + +static inline LPWSTR WINAPI lstrcpyW( LPWSTR dst, LPCWSTR src ) +{ + WCHAR *p = dst; + while ((*p++ = *src++)); + return dst; +} + +static inline LPSTR WINAPI lstrcpyA( LPSTR dst, LPCSTR src ) +{ + return strcpy( dst, src ); +} + +static inline LPWSTR WINAPI lstrcatW( LPWSTR dst, LPCWSTR src ) +{ + WCHAR *p = dst; + while (*p) p++; + while ((*p++ = *src++)); + return dst; +} + +static inline LPSTR WINAPI lstrcatA( LPSTR dst, LPCSTR src ) +{ + return strcat( dst, src ); +} + +/* strncpy doesn't do what you think, don't use it */ +#undef strncpy +#define strncpy(d,s,n) error do_not_use_strncpy_use_lstrcpynA_or_memcpy_instead + +#endif /* !defined(__WINESRC__) || defined(WINE_NO_INLINE_STRING) */ + +#define lstrcat WINELIB_NAME_AW(lstrcat) +#define lstrcmp WINELIB_NAME_AW(lstrcmp) +#define lstrcmpi WINELIB_NAME_AW(lstrcmpi) +#define lstrcpy WINELIB_NAME_AW(lstrcpy) +#define lstrcpyn WINELIB_NAME_AW(lstrcpyn) +#define lstrlen WINELIB_NAME_AW(lstrlen) + +WINBASEAPI LONG WINAPI _hread(HFILE,LPVOID,LONG); +WINBASEAPI LONG WINAPI _hwrite(HFILE,LPCSTR,LONG); +WINBASEAPI HFILE WINAPI _lcreat(LPCSTR,INT); +WINBASEAPI HFILE WINAPI _lclose(HFILE); +WINBASEAPI LONG WINAPI _llseek(HFILE,LONG,INT); +WINBASEAPI HFILE WINAPI _lopen(LPCSTR,INT); +WINBASEAPI UINT WINAPI _lread(HFILE,LPVOID,UINT); +WINBASEAPI UINT WINAPI _lwrite(HFILE,LPCSTR,UINT); + +/* compatibility macros */ +#define FillMemory RtlFillMemory +#define MoveMemory RtlMoveMemory +#define ZeroMemory RtlZeroMemory +#define CopyMemory RtlCopyMemory +#define SecureZeroMemory RtlSecureZeroMemory + +/* Wine internal functions */ + +extern char * CDECL wine_get_unix_file_name( LPCWSTR dos ); +extern WCHAR * CDECL wine_get_dos_file_name( LPCSTR str ); + + +/* Interlocked functions */ + +#ifdef __i386__ +# if defined(__GNUC__) && !defined(_NTSYSTEM_) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) + +static FORCEINLINE LONG WINAPI InterlockedCompareExchange( LONG volatile *dest, LONG xchg, LONG compare ) +{ + LONG ret; + __asm__ __volatile__( "lock; cmpxchgl %2,(%1)" + : "=a" (ret) : "r" (dest), "r" (xchg), "0" (compare) : "memory" ); + return ret; +} + +static FORCEINLINE LONG WINAPI InterlockedExchange( LONG volatile *dest, LONG val ) +{ + LONG ret; + __asm__ __volatile__( "lock; xchgl %0,(%1)" + : "=r" (ret) :"r" (dest), "0" (val) : "memory" ); + return ret; +} + +static FORCEINLINE LONG WINAPI InterlockedExchangeAdd( LONG volatile *dest, LONG incr ) +{ + LONG ret; + __asm__ __volatile__( "lock; xaddl %0,(%1)" + : "=r" (ret) : "r" (dest), "0" (incr) : "memory" ); + return ret; +} + +static FORCEINLINE LONG WINAPI InterlockedIncrement( LONG volatile *dest ) +{ + return InterlockedExchangeAdd( dest, 1 ) + 1; +} + +static FORCEINLINE LONG WINAPI InterlockedDecrement( LONG volatile *dest ) +{ + return InterlockedExchangeAdd( dest, -1 ) - 1; +} + +# else /* __GNUC__ */ + +WINBASEAPI LONG WINAPI InterlockedCompareExchange(LONG volatile*,LONG,LONG); +WINBASEAPI LONG WINAPI InterlockedDecrement(LONG volatile*); +WINBASEAPI LONG WINAPI InterlockedExchange(LONG volatile*,LONG); +WINBASEAPI LONG WINAPI InterlockedExchangeAdd(LONG volatile*,LONG); +WINBASEAPI LONG WINAPI InterlockedIncrement(LONG volatile*); + +# endif /* __GNUC__ */ + +static FORCEINLINE PVOID WINAPI InterlockedCompareExchangePointer( PVOID volatile *dest, PVOID xchg, PVOID compare ) +{ + return (PVOID)InterlockedCompareExchange( (LONG volatile*)dest, (LONG)xchg, (LONG)compare ); +} + +static FORCEINLINE PVOID WINAPI InterlockedExchangePointer( PVOID volatile *dest, PVOID val ) +{ + return (PVOID)InterlockedExchange( (LONG volatile*)dest, (LONG)val ); +} + +WINBASEAPI LONGLONG WINAPI InterlockedCompareExchange64(LONGLONG volatile*,LONGLONG,LONGLONG); + +#elif defined(_MSC_VER) + +#pragma intrinsic(_InterlockedCompareExchange) +#pragma intrinsic(_InterlockedCompareExchangePointer) +#pragma intrinsic(_InterlockedCompareExchange64) +#pragma intrinsic(_InterlockedExchange) +#pragma intrinsic(_InterlockedExchangePointer) +#pragma intrinsic(_InterlockedExchangeAdd) +#pragma intrinsic(_InterlockedIncrement) +#pragma intrinsic(_InterlockedDecrement) + +static FORCEINLINE LONG WINAPI InterlockedCompareExchange( LONG volatile *dest, LONG xchg, LONG compare ) +{ + return _InterlockedCompareExchange( dest, xchg, compare ); +} + +static FORCEINLINE PVOID WINAPI InterlockedCompareExchangePointer( PVOID volatile *dest, PVOID xchg, PVOID compare ) +{ + return _InterlockedCompareExchangePointer( dest, xchg, compare ); +} + +static FORCEINLINE LONGLONG WINAPI InterlockedCompareExchange64( LONGLONG volatile *dest, LONGLONG xchg, LONGLONG compare ) +{ + return _InterlockedCompareExchange64( dest, xchg, compare ); +} + +static FORCEINLINE LONG WINAPI InterlockedExchange( LONG volatile *dest, LONG val ) +{ + return _InterlockedExchange( dest, val ); +} + +static FORCEINLINE PVOID WINAPI InterlockedExchangePointer( PVOID volatile *dest, PVOID val ) +{ + return _InterlockedExchangePointer( dest, val ); +} + +static FORCEINLINE LONG WINAPI InterlockedExchangeAdd( LONG volatile *dest, LONG incr ) +{ + return _InterlockedExchangeAdd( dest, incr ); +} + +static FORCEINLINE LONG WINAPI InterlockedIncrement( LONG volatile *dest ) +{ + return _InterlockedIncrement( dest ); +} + +static FORCEINLINE LONG WINAPI InterlockedDecrement( LONG volatile *dest ) +{ + return _InterlockedDecrement( dest ); +} + +#elif defined(__GNUC__) + +static FORCEINLINE LONG WINAPI InterlockedCompareExchange( LONG volatile *dest, LONG xchg, LONG compare ) +{ + return __sync_val_compare_and_swap( dest, compare, xchg ); +} + +static FORCEINLINE PVOID WINAPI InterlockedCompareExchangePointer( PVOID volatile *dest, PVOID xchg, PVOID compare ) +{ + return __sync_val_compare_and_swap( dest, compare, xchg ); +} + +static FORCEINLINE LONGLONG WINAPI InterlockedCompareExchange64( LONGLONG volatile *dest, LONGLONG xchg, LONGLONG compare ) +{ + return __sync_val_compare_and_swap( dest, compare, xchg ); +} + +static FORCEINLINE LONG WINAPI InterlockedExchange( LONG volatile *dest, LONG val ) +{ + LONG ret; +#ifdef __x86_64__ + __asm__ __volatile__( "lock; xchgl %0,(%1)" : "=r" (ret) :"r" (dest), "0" (val) : "memory" ); +#else + do ret = *dest; while (!__sync_bool_compare_and_swap( dest, ret, val )); +#endif + return ret; +} + +static FORCEINLINE PVOID WINAPI InterlockedExchangePointer( PVOID volatile *dest, PVOID val ) +{ + PVOID ret; +#ifdef __x86_64__ + __asm__ __volatile__( "lock; xchgq %0,(%1)" : "=r" (ret) :"r" (dest), "0" (val) : "memory" ); +#else + do ret = *dest; while (!__sync_bool_compare_and_swap( dest, ret, val )); +#endif + return ret; +} + +static FORCEINLINE LONG WINAPI InterlockedExchangeAdd( LONG volatile *dest, LONG incr ) +{ + return __sync_fetch_and_add( dest, incr ); +} + +static FORCEINLINE LONG WINAPI InterlockedIncrement( LONG volatile *dest ) +{ + return __sync_add_and_fetch( dest, 1 ); +} + +static FORCEINLINE LONG WINAPI InterlockedDecrement( LONG volatile *dest ) +{ + return __sync_add_and_fetch( dest, -1 ); +} + +#endif /* __i386__ */ + +/* A few optimizations for gcc */ + +#if defined(__GNUC__) && !defined(__MINGW32__) && (defined(__i386__) || defined(__x86_64__)) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) + +static FORCEINLINE DWORD WINAPI GetLastError(void) +{ + DWORD ret; +#ifdef __x86_64__ +#ifdef __APPLE__ + DWORD* teb; + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x30,%0" : "=r" (teb) ); + ret = teb[0x68 / sizeof(DWORD)]; +#else + __asm__ __volatile__( ".byte 0x65\n\tmovl 0x68,%0" : "=r" (ret) ); +#endif +#else + __asm__ __volatile__( ".byte 0x64\n\tmovl 0x34,%0" : "=r" (ret) ); +#endif + return ret; +} + +static FORCEINLINE DWORD WINAPI GetCurrentProcessId(void) +{ + DWORD ret; +#ifdef __x86_64__ +#ifdef __APPLE__ + DWORD* teb; + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x30,%0" : "=r" (teb) ); + ret = teb[0x40 / sizeof(DWORD)]; +#else + __asm__ __volatile__( ".byte 0x65\n\tmovl 0x40,%0" : "=r" (ret) ); +#endif +#else + __asm__ __volatile__( ".byte 0x64\n\tmovl 0x20,%0" : "=r" (ret) ); +#endif + return ret; +} + +static FORCEINLINE DWORD WINAPI GetCurrentThreadId(void) +{ + DWORD ret; +#ifdef __x86_64__ +#ifdef __APPLE__ + DWORD* teb; + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x30,%0" : "=r" (teb) ); + ret = teb[0x48 / sizeof(DWORD)]; +#else + __asm__ __volatile__( ".byte 0x65\n\tmovl 0x48,%0" : "=r" (ret) ); +#endif +#else + __asm__ __volatile__( ".byte 0x64\n\tmovl 0x24,%0" : "=r" (ret) ); +#endif + return ret; +} + +static FORCEINLINE void WINAPI SetLastError( DWORD err ) +{ +#ifdef __x86_64__ +#ifdef __APPLE__ + DWORD* teb; + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x30,%0" : "=r" (teb) ); + teb[0x68 / sizeof(DWORD)] = err; +#else + __asm__ __volatile__( ".byte 0x65\n\tmovl %0,0x68" : : "r" (err) : "memory" ); +#endif +#else + __asm__ __volatile__( ".byte 0x64\n\tmovl %0,0x34" : : "r" (err) : "memory" ); +#endif +} + +static FORCEINLINE HANDLE WINAPI GetProcessHeap(void) +{ + HANDLE *pdb; +#ifdef __x86_64__ +#ifdef __APPLE__ + HANDLE** teb; + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x30,%0" : "=r" (teb) ); + pdb = teb[0x60 / sizeof(HANDLE*)]; +#else + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x60,%0" : "=r" (pdb) ); +#endif + return pdb[0x30 / sizeof(HANDLE)]; /* get dword at offset 0x30 in pdb */ +#else + __asm__ __volatile__( ".byte 0x64\n\tmovl 0x30,%0" : "=r" (pdb) ); + return pdb[0x18 / sizeof(HANDLE)]; /* get dword at offset 0x18 in pdb */ +#endif +} + +#else /* __GNUC__ */ + +WINBASEAPI DWORD WINAPI GetCurrentProcessId(void); +WINBASEAPI DWORD WINAPI GetCurrentThreadId(void); +WINBASEAPI DWORD WINAPI GetLastError(void); +WINBASEAPI HANDLE WINAPI GetProcessHeap(void); +WINBASEAPI VOID WINAPI SetLastError(DWORD); + +#endif /* __GNUC__ */ + +#ifdef __WINESRC__ +#define GetCurrentProcess() ((HANDLE)~(ULONG_PTR)0) +#define GetCurrentThread() ((HANDLE)~(ULONG_PTR)1) +#endif + +#define GetCurrentProcessToken() ((HANDLE)~(ULONG_PTR)3) +#define GetCurrentThreadToken() ((HANDLE)~(ULONG_PTR)4) +#define GetCurrentThreadEffectiveToken() ((HANDLE)~(ULONG_PTR)5) + +/* WinMain(entry point) must be declared in winbase.h. */ +/* If this is not declared, we cannot compile many sources written with C++. */ +int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int); + +#ifdef __WINESRC__ +/* shouldn't be here, but is nice for type checking */ +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) DECLSPEC_HIDDEN; +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINBASE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodec.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodec.h new file mode 100644 index 0000000..17d9b5d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodec.h @@ -0,0 +1,5831 @@ +/*** Autogenerated by WIDL 2.18 from wincodec.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wincodec_h__ +#define __wincodec_h__ + +/* Forward declarations */ + +#ifndef __IWICColorContext_FWD_DEFINED__ +#define __IWICColorContext_FWD_DEFINED__ +typedef interface IWICColorContext IWICColorContext; +#ifdef __cplusplus +interface IWICColorContext; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapSource_FWD_DEFINED__ +#define __IWICBitmapSource_FWD_DEFINED__ +typedef interface IWICBitmapSource IWICBitmapSource; +#ifdef __cplusplus +interface IWICBitmapSource; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapLock_FWD_DEFINED__ +#define __IWICBitmapLock_FWD_DEFINED__ +typedef interface IWICBitmapLock IWICBitmapLock; +#ifdef __cplusplus +interface IWICBitmapLock; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapFlipRotator_FWD_DEFINED__ +#define __IWICBitmapFlipRotator_FWD_DEFINED__ +typedef interface IWICBitmapFlipRotator IWICBitmapFlipRotator; +#ifdef __cplusplus +interface IWICBitmapFlipRotator; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmap_FWD_DEFINED__ +#define __IWICBitmap_FWD_DEFINED__ +typedef interface IWICBitmap IWICBitmap; +#ifdef __cplusplus +interface IWICBitmap; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICPalette_FWD_DEFINED__ +#define __IWICPalette_FWD_DEFINED__ +typedef interface IWICPalette IWICPalette; +#ifdef __cplusplus +interface IWICPalette; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICComponentInfo_FWD_DEFINED__ +#define __IWICComponentInfo_FWD_DEFINED__ +typedef interface IWICComponentInfo IWICComponentInfo; +#ifdef __cplusplus +interface IWICComponentInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataQueryReader_FWD_DEFINED__ +#define __IWICMetadataQueryReader_FWD_DEFINED__ +typedef interface IWICMetadataQueryReader IWICMetadataQueryReader; +#ifdef __cplusplus +interface IWICMetadataQueryReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataQueryWriter_FWD_DEFINED__ +#define __IWICMetadataQueryWriter_FWD_DEFINED__ +typedef interface IWICMetadataQueryWriter IWICMetadataQueryWriter; +#ifdef __cplusplus +interface IWICMetadataQueryWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapFrameDecode_FWD_DEFINED__ +#define __IWICBitmapFrameDecode_FWD_DEFINED__ +typedef interface IWICBitmapFrameDecode IWICBitmapFrameDecode; +#ifdef __cplusplus +interface IWICBitmapFrameDecode; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICPixelFormatInfo_FWD_DEFINED__ +#define __IWICPixelFormatInfo_FWD_DEFINED__ +typedef interface IWICPixelFormatInfo IWICPixelFormatInfo; +#ifdef __cplusplus +interface IWICPixelFormatInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICPixelFormatInfo2_FWD_DEFINED__ +#define __IWICPixelFormatInfo2_FWD_DEFINED__ +typedef interface IWICPixelFormatInfo2 IWICPixelFormatInfo2; +#ifdef __cplusplus +interface IWICPixelFormatInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapCodecInfo_FWD_DEFINED__ +#define __IWICBitmapCodecInfo_FWD_DEFINED__ +typedef interface IWICBitmapCodecInfo IWICBitmapCodecInfo; +#ifdef __cplusplus +interface IWICBitmapCodecInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapDecoderInfo_FWD_DEFINED__ +#define __IWICBitmapDecoderInfo_FWD_DEFINED__ +typedef interface IWICBitmapDecoderInfo IWICBitmapDecoderInfo; +#ifdef __cplusplus +interface IWICBitmapDecoderInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapDecoder_FWD_DEFINED__ +#define __IWICBitmapDecoder_FWD_DEFINED__ +typedef interface IWICBitmapDecoder IWICBitmapDecoder; +#ifdef __cplusplus +interface IWICBitmapDecoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapFrameEncode_FWD_DEFINED__ +#define __IWICBitmapFrameEncode_FWD_DEFINED__ +typedef interface IWICBitmapFrameEncode IWICBitmapFrameEncode; +#ifdef __cplusplus +interface IWICBitmapFrameEncode; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapEncoderInfo_FWD_DEFINED__ +#define __IWICBitmapEncoderInfo_FWD_DEFINED__ +typedef interface IWICBitmapEncoderInfo IWICBitmapEncoderInfo; +#ifdef __cplusplus +interface IWICBitmapEncoderInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapEncoder_FWD_DEFINED__ +#define __IWICBitmapEncoder_FWD_DEFINED__ +typedef interface IWICBitmapEncoder IWICBitmapEncoder; +#ifdef __cplusplus +interface IWICBitmapEncoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICFormatConverter_FWD_DEFINED__ +#define __IWICFormatConverter_FWD_DEFINED__ +typedef interface IWICFormatConverter IWICFormatConverter; +#ifdef __cplusplus +interface IWICFormatConverter; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICFormatConverterInfo_FWD_DEFINED__ +#define __IWICFormatConverterInfo_FWD_DEFINED__ +typedef interface IWICFormatConverterInfo IWICFormatConverterInfo; +#ifdef __cplusplus +interface IWICFormatConverterInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICStream_FWD_DEFINED__ +#define __IWICStream_FWD_DEFINED__ +typedef interface IWICStream IWICStream; +#ifdef __cplusplus +interface IWICStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapScaler_FWD_DEFINED__ +#define __IWICBitmapScaler_FWD_DEFINED__ +typedef interface IWICBitmapScaler IWICBitmapScaler; +#ifdef __cplusplus +interface IWICBitmapScaler; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICBitmapClipper_FWD_DEFINED__ +#define __IWICBitmapClipper_FWD_DEFINED__ +typedef interface IWICBitmapClipper IWICBitmapClipper; +#ifdef __cplusplus +interface IWICBitmapClipper; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICColorTransform_FWD_DEFINED__ +#define __IWICColorTransform_FWD_DEFINED__ +typedef interface IWICColorTransform IWICColorTransform; +#ifdef __cplusplus +interface IWICColorTransform; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICFastMetadataEncoder_FWD_DEFINED__ +#define __IWICFastMetadataEncoder_FWD_DEFINED__ +typedef interface IWICFastMetadataEncoder IWICFastMetadataEncoder; +#ifdef __cplusplus +interface IWICFastMetadataEncoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICImageEncoder_FWD_DEFINED__ +#define __IWICImageEncoder_FWD_DEFINED__ +typedef interface IWICImageEncoder IWICImageEncoder; +#ifdef __cplusplus +interface IWICImageEncoder; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICImagingFactory_FWD_DEFINED__ +#define __IWICImagingFactory_FWD_DEFINED__ +typedef interface IWICImagingFactory IWICImagingFactory; +#ifdef __cplusplus +interface IWICImagingFactory; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICImagingFactory2_FWD_DEFINED__ +#define __IWICImagingFactory2_FWD_DEFINED__ +typedef interface IWICImagingFactory2 IWICImagingFactory2; +#ifdef __cplusplus +interface IWICImagingFactory2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICEnumMetadataItem_FWD_DEFINED__ +#define __IWICEnumMetadataItem_FWD_DEFINED__ +typedef interface IWICEnumMetadataItem IWICEnumMetadataItem; +#ifdef __cplusplus +interface IWICEnumMetadataItem; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include "dcommon.h" +#define WINCODEC_SDK_VERSION 0x0236 +typedef enum WICDecodeOptions { + WICDecodeMetadataCacheOnDemand = 0x0, + WICDecodeMetadataCacheOnLoad = 0x1, + WICMETADATACACHEOPTION_FORCE_DWORD = 0x7fffffff +} WICDecodeOptions; +typedef enum WICBitmapCreateCacheOption { + WICBitmapNoCache = 0x0, + WICBitmapCacheOnDemand = 0x1, + WICBitmapCacheOnLoad = 0x2, + WICBITMAPCREATECACHEOPTION_FORCE_DWORD = 0x7fffffff +} WICBitmapCreateCacheOption; +typedef enum WICBitmapAlphaChannelOption { + WICBitmapUseAlpha = 0x0, + WICBitmapUsePremultipliedAlpha = 0x1, + WICBitmapIgnoreAlpha = 0x2, + WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = 0x7fffffff +} WICBitmapAlphaChannelOption; +typedef enum WICBitmapDecoderCapabilities { + WICBitmapDecoderCapabilitySameEncoder = 0x1, + WICBitmapDecoderCapabilityCanDecodeAllImages = 0x2, + WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x4, + WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x8, + WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x10 +} WICBitmapDecoderCapabilities; +typedef enum WICBitmapDitherType { + WICBitmapDitherTypeNone = 0x0, + WICBitmapDitherTypeSolid = 0x0, + WICBitmapDitherTypeOrdered4x4 = 0x1, + WICBitmapDitherTypeOrdered8x8 = 0x2, + WICBitmapDitherTypeOrdered16x16 = 0x3, + WICBitmapDitherTypeSpiral4x4 = 0x4, + WICBitmapDitherTypeSpiral8x8 = 0x5, + WICBitmapDitherTypeDualSpiral4x4 = 0x6, + WICBitmapDitherTypeDualSpiral8x8 = 0x7, + WICBitmapDitherTypeErrorDiffusion = 0x8, + WICBITMAPDITHERTYPE_FORCE_DWORD = 0x7fffffff +} WICBitmapDitherType; +typedef enum WICBitmapEncoderCacheOption { + WICBitmapEncoderCacheInMemory = 0x0, + WICBitmapEncoderCacheTempFile = 0x1, + WICBitmapEncoderNoCache = 0x2, + WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = 0x7fffffff +} WICBitmapEncoderCacheOption; +typedef enum WICBitmapInterpolationMode { + WICBitmapInterpolationModeNearestNeighbor = 0x0, + WICBitmapInterpolationModeLinear = 0x1, + WICBitmapInterpolationModeCubic = 0x2, + WICBitmapInterpolationModeFant = 0x3, + WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = 0x7fffffff +} WICBitmapInterpolationMode; +typedef enum WICBitmapLockFlags { + WICBitmapLockRead = 0x1, + WICBitmapLockWrite = 0x2, + WICBITMAPLOCKFLAGS_FORCE_DWORD = 0x7fffffff +} WICBitmapLockFlags; +typedef enum WICBitmapPaletteType { + WICBitmapPaletteTypeCustom = 0x0, + WICBitmapPaletteTypeMedianCut = 0x1, + WICBitmapPaletteTypeFixedBW = 0x2, + WICBitmapPaletteTypeFixedHalftone8 = 0x3, + WICBitmapPaletteTypeFixedHalftone27 = 0x4, + WICBitmapPaletteTypeFixedHalftone64 = 0x5, + WICBitmapPaletteTypeFixedHalftone125 = 0x6, + WICBitmapPaletteTypeFixedHalftone216 = 0x7, + WICBitmapPaletteTypeFixedWebPalette = WICBitmapPaletteTypeFixedHalftone216, + WICBitmapPaletteTypeFixedHalftone252 = 0x8, + WICBitmapPaletteTypeFixedHalftone256 = 0x9, + WICBitmapPaletteTypeFixedGray4 = 0xa, + WICBitmapPaletteTypeFixedGray16 = 0xb, + WICBitmapPaletteTypeFixedGray256 = 0xc, + WICBITMAPPALETTETYPE_FORCE_DWORD = 0x7fffffff +} WICBitmapPaletteType; +typedef enum WICBitmapTransformOptions { + WICBitmapTransformRotate0 = 0x0, + WICBitmapTransformRotate90 = 0x1, + WICBitmapTransformRotate180 = 0x2, + WICBitmapTransformRotate270 = 0x3, + WICBitmapTransformFlipHorizontal = 0x8, + WICBitmapTransformFlipVertical = 0x10, + WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = 0x7fffffff +} WICBitmapTransformOptions; +typedef enum WICColorContextType { + WICColorContextUninitialized = 0x0, + WICColorContextProfile = 0x1, + WICColorContextExifColorSpace = 0x2 +} WICColorContextType; +typedef enum WICComponentType { + WICDecoder = 0x1, + WICEncoder = 0x2, + WICPixelFormatConverter = 0x4, + WICMetadataReader = 0x8, + WICMetadataWriter = 0x10, + WICPixelFormat = 0x20, + WICCOMPONENTTYPE_FORCE_DWORD = 0x7fffffff +} WICComponentType; +typedef enum WICComponentSigning { + WICComponentSigned = 0x1, + WICComponentUnsigned = 0x2, + WICComponentSafe = 0x4, + WICComponentDisabled = 0x80000000 +} WICComponentSigning; +typedef enum WICComponentEnumerateOptions { + WICComponentEnumerateDefault = 0x0, + WICComponentEnumerateRefresh = 0x1, + WICComponentEnumerateBuiltInOnly = 0x20000000, + WICComponentEnumerateUnsigned = 0x40000000, + WICComponentEnumerateDisabled = 0x80000000 +} WICComponentEnumerateOptions; +typedef enum WICJpegYCrCbSubsamplingOption { + WICJpegYCrCbSubsamplingDefault = 0x0, + WICJpegYCrCbSubsampling420 = 0x1, + WICJpegYCrCbSubsampling422 = 0x2, + WICJpegYCrCbSubsampling444 = 0x3, + WICJpegYCrCbSubsampling440 = 0x4 +} WICJpegYCrCbSubsamplingOption; +typedef enum WICPixelFormatNumericRepresentation { + WICPixelFormatNumericRepresentationUnspecified = 0x0, + WICPixelFormatNumericRepresentationIndexed = 0x1, + WICPixelFormatNumericRepresentationUnsignedInteger = 0x2, + WICPixelFormatNumericRepresentationSignedInteger = 0x3, + WICPixelFormatNumericRepresentationFixed = 0x4, + WICPixelFormatNumericRepresentationFloat = 0x5, + WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD = 0x7fffffff +} WICPixelFormatNumericRepresentation; +typedef enum WICTiffCompressionOption { + WICTiffCompressionDontCare = 0x0, + WICTiffCompressionNone = 0x1, + WICTiffCompressionCCITT3 = 0x2, + WICTiffCompressionCCITT4 = 0x3, + WICTiffCompressionLZW = 0x4, + WICTiffCompressionRLE = 0x5, + WICTiffCompressionZIP = 0x6, + WICTiffCompressionLZWHDifferencing = 0x7, + WICTIFFCOMPRESSIONOPTION_FORCE_DWORD = 0x7fffffff +} WICTiffCompressionOption; +typedef enum WICPngFilterOption { + WICPngFilterUnspecified = 0, + WICPngFilterNone = 1, + WICPngFilterSub = 2, + WICPngFilterUp = 3, + WICPngFilterAverage = 4, + WICPngFilterPaeth = 5, + WICPngFilterAdaptive = 6, + WICPNFFILTEROPTION_FORCE_DWORD = 0x7fffffff +} WICPngFilterOption; +typedef GUID WICPixelFormatGUID; +typedef REFGUID REFWICPixelFormatGUID; +DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00); +#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare +DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01); +DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02); +DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03); +DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04); +DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05); +DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06); +DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07); +DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08); +DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b); +DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09); +DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a); +DEFINE_GUID(GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b,0xf1e6,0x4961,0xad,0x46,0xe1,0xcc,0x81,0x0a,0x87,0xd2); +DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c); +DEFINE_GUID(GUID_WICPixelFormat24bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0d); +DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e); +DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f); +DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10); +DEFINE_GUID(GUID_WICPixelFormat32bppRGB, 0xd98c6b95,0x3efe,0x47d6,0xbb,0x25,0xeb,0x17,0x48,0xab,0x0c,0xf1); +DEFINE_GUID(GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d,0x6a8d,0x43dd,0xa7,0xa8,0xa2,0x99,0x35,0x26,0x1a,0xe9); +DEFINE_GUID(GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650,0xa527,0x4d37,0xa9,0x16,0x31,0x42,0xc7,0xeb,0xed,0xba); +DEFINE_GUID(GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x11); +DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15); +DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16); +DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x17); +DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c); +#if 0 +typedef DWORD *D2D1_PIXEL_FORMAT; +#endif +typedef struct WICRect { + INT X; + INT Y; + INT Width; + INT Height; +} WICRect; +typedef struct WICBitmapPattern { + ULARGE_INTEGER Position; + ULONG Length; + BYTE *Pattern; + BYTE *Mask; + BOOL EndOfStream; +} WICBitmapPattern; +typedef struct WICImageParameters { + D2D1_PIXEL_FORMAT PixelFormat; + FLOAT DpiX; + FLOAT DpiY; + FLOAT Top; + FLOAT Left; + UINT32 PixelWidth; + UINT32 PixelHeight; +} WICImageParameters; +typedef UINT32 WICColor; +#ifndef __ID2D1Device_FWD_DEFINED__ +#define __ID2D1Device_FWD_DEFINED__ +typedef interface ID2D1Device ID2D1Device; +#ifdef __cplusplus +interface ID2D1Device; +#endif /* __cplusplus */ +#endif + +#ifndef __ID2D1Image_FWD_DEFINED__ +#define __ID2D1Image_FWD_DEFINED__ +typedef interface ID2D1Image ID2D1Image; +#ifdef __cplusplus +interface ID2D1Image; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICPalette_FWD_DEFINED__ +#define __IWICPalette_FWD_DEFINED__ +typedef interface IWICPalette IWICPalette; +#ifdef __cplusplus +interface IWICPalette; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IWICColorContext interface + */ +#ifndef __IWICColorContext_INTERFACE_DEFINED__ +#define __IWICColorContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICColorContext, 0x3c613a02, 0x34b2, 0x44ea, 0x9a,0x7c, 0x45,0xae,0xa9,0xc6,0xfd,0x6d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3c613a02-34b2-44ea-9a7c-45aea9c6fd6d") +IWICColorContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitializeFromFilename( + LPCWSTR wzFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromMemory( + const BYTE *pbBuffer, + UINT cbBufferSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromExifColorSpace( + UINT value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetType( + WICColorContextType *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProfileBytes( + UINT cbBuffer, + BYTE *pbBuffer, + UINT *pcbActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExifColorSpace( + UINT *pValue) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICColorContext, 0x3c613a02, 0x34b2, 0x44ea, 0x9a,0x7c, 0x45,0xae,0xa9,0xc6,0xfd,0x6d) +#endif +#else +typedef struct IWICColorContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICColorContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICColorContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICColorContext *This); + + /*** IWICColorContext methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeFromFilename)( + IWICColorContext *This, + LPCWSTR wzFilename); + + HRESULT (STDMETHODCALLTYPE *InitializeFromMemory)( + IWICColorContext *This, + const BYTE *pbBuffer, + UINT cbBufferSize); + + HRESULT (STDMETHODCALLTYPE *InitializeFromExifColorSpace)( + IWICColorContext *This, + UINT value); + + HRESULT (STDMETHODCALLTYPE *GetType)( + IWICColorContext *This, + WICColorContextType *pType); + + HRESULT (STDMETHODCALLTYPE *GetProfileBytes)( + IWICColorContext *This, + UINT cbBuffer, + BYTE *pbBuffer, + UINT *pcbActual); + + HRESULT (STDMETHODCALLTYPE *GetExifColorSpace)( + IWICColorContext *This, + UINT *pValue); + + END_INTERFACE +} IWICColorContextVtbl; + +interface IWICColorContext { + CONST_VTBL IWICColorContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICColorContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICColorContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICColorContext_Release(This) (This)->lpVtbl->Release(This) +/*** IWICColorContext methods ***/ +#define IWICColorContext_InitializeFromFilename(This,wzFilename) (This)->lpVtbl->InitializeFromFilename(This,wzFilename) +#define IWICColorContext_InitializeFromMemory(This,pbBuffer,cbBufferSize) (This)->lpVtbl->InitializeFromMemory(This,pbBuffer,cbBufferSize) +#define IWICColorContext_InitializeFromExifColorSpace(This,value) (This)->lpVtbl->InitializeFromExifColorSpace(This,value) +#define IWICColorContext_GetType(This,pType) (This)->lpVtbl->GetType(This,pType) +#define IWICColorContext_GetProfileBytes(This,cbBuffer,pbBuffer,pcbActual) (This)->lpVtbl->GetProfileBytes(This,cbBuffer,pbBuffer,pcbActual) +#define IWICColorContext_GetExifColorSpace(This,pValue) (This)->lpVtbl->GetExifColorSpace(This,pValue) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICColorContext_QueryInterface(IWICColorContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICColorContext_AddRef(IWICColorContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICColorContext_Release(IWICColorContext* This) { + return This->lpVtbl->Release(This); +} +/*** IWICColorContext methods ***/ +static FORCEINLINE HRESULT IWICColorContext_InitializeFromFilename(IWICColorContext* This,LPCWSTR wzFilename) { + return This->lpVtbl->InitializeFromFilename(This,wzFilename); +} +static FORCEINLINE HRESULT IWICColorContext_InitializeFromMemory(IWICColorContext* This,const BYTE *pbBuffer,UINT cbBufferSize) { + return This->lpVtbl->InitializeFromMemory(This,pbBuffer,cbBufferSize); +} +static FORCEINLINE HRESULT IWICColorContext_InitializeFromExifColorSpace(IWICColorContext* This,UINT value) { + return This->lpVtbl->InitializeFromExifColorSpace(This,value); +} +static FORCEINLINE HRESULT IWICColorContext_GetType(IWICColorContext* This,WICColorContextType *pType) { + return This->lpVtbl->GetType(This,pType); +} +static FORCEINLINE HRESULT IWICColorContext_GetProfileBytes(IWICColorContext* This,UINT cbBuffer,BYTE *pbBuffer,UINT *pcbActual) { + return This->lpVtbl->GetProfileBytes(This,cbBuffer,pbBuffer,pcbActual); +} +static FORCEINLINE HRESULT IWICColorContext_GetExifColorSpace(IWICColorContext* This,UINT *pValue) { + return This->lpVtbl->GetExifColorSpace(This,pValue); +} +#endif +#endif + +#endif + + +#endif /* __IWICColorContext_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapSource interface + */ +#ifndef __IWICBitmapSource_INTERFACE_DEFINED__ +#define __IWICBitmapSource_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapSource, 0x00000120, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000120-a8f2-4877-ba0a-fd2b6645fb94") +IWICBitmapSource : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSize( + UINT *puiWidth, + UINT *puiHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPixelFormat( + WICPixelFormatGUID *pPixelFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetResolution( + double *pDpiX, + double *pDpiY) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyPalette( + IWICPalette *pIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyPixels( + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapSource, 0x00000120, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICBitmapSourceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapSource *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapSource *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapSource *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmapSource *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmapSource *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICBitmapSource *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmapSource *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICBitmapSource *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + END_INTERFACE +} IWICBitmapSourceVtbl; + +interface IWICBitmapSource { + CONST_VTBL IWICBitmapSourceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapSource_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapSource_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICBitmapSource_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICBitmapSource_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICBitmapSource_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICBitmapSource_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmapSource_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapSource_QueryInterface(IWICBitmapSource* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapSource_AddRef(IWICBitmapSource* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapSource_Release(IWICBitmapSource* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICBitmapSource_GetSize(IWICBitmapSource* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICBitmapSource_GetPixelFormat(IWICBitmapSource* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmapSource_GetResolution(IWICBitmapSource* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICBitmapSource_CopyPalette(IWICBitmapSource* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapSource_CopyPixels(IWICBitmapSource* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapSource_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapLock interface + */ +#ifndef __IWICBitmapLock_INTERFACE_DEFINED__ +#define __IWICBitmapLock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapLock, 0x00000123, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000123-a8f2-4877-ba0a-fd2b6645fb94") +IWICBitmapLock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSize( + UINT *pWidth, + UINT *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStride( + UINT *pcbStride) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDataPointer( + UINT *pcbBufferSize, + BYTE **ppbData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPixelFormat( + WICPixelFormatGUID *pPixelFormat) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapLock, 0x00000123, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICBitmapLockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapLock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapLock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapLock *This); + + /*** IWICBitmapLock methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmapLock *This, + UINT *pWidth, + UINT *pHeight); + + HRESULT (STDMETHODCALLTYPE *GetStride)( + IWICBitmapLock *This, + UINT *pcbStride); + + HRESULT (STDMETHODCALLTYPE *GetDataPointer)( + IWICBitmapLock *This, + UINT *pcbBufferSize, + BYTE **ppbData); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmapLock *This, + WICPixelFormatGUID *pPixelFormat); + + END_INTERFACE +} IWICBitmapLockVtbl; + +interface IWICBitmapLock { + CONST_VTBL IWICBitmapLockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapLock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapLock_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapLock methods ***/ +#define IWICBitmapLock_GetSize(This,pWidth,pHeight) (This)->lpVtbl->GetSize(This,pWidth,pHeight) +#define IWICBitmapLock_GetStride(This,pcbStride) (This)->lpVtbl->GetStride(This,pcbStride) +#define IWICBitmapLock_GetDataPointer(This,pcbBufferSize,ppbData) (This)->lpVtbl->GetDataPointer(This,pcbBufferSize,ppbData) +#define IWICBitmapLock_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapLock_QueryInterface(IWICBitmapLock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapLock_AddRef(IWICBitmapLock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapLock_Release(IWICBitmapLock* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapLock methods ***/ +static FORCEINLINE HRESULT IWICBitmapLock_GetSize(IWICBitmapLock* This,UINT *pWidth,UINT *pHeight) { + return This->lpVtbl->GetSize(This,pWidth,pHeight); +} +static FORCEINLINE HRESULT IWICBitmapLock_GetStride(IWICBitmapLock* This,UINT *pcbStride) { + return This->lpVtbl->GetStride(This,pcbStride); +} +static FORCEINLINE HRESULT IWICBitmapLock_GetDataPointer(IWICBitmapLock* This,UINT *pcbBufferSize,BYTE **ppbData) { + return This->lpVtbl->GetDataPointer(This,pcbBufferSize,ppbData); +} +static FORCEINLINE HRESULT IWICBitmapLock_GetPixelFormat(IWICBitmapLock* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapLock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapFlipRotator interface + */ +#ifndef __IWICBitmapFlipRotator_INTERFACE_DEFINED__ +#define __IWICBitmapFlipRotator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapFlipRotator, 0x5009834f, 0x2d6a, 0x41ce, 0x9e,0x1b, 0x17,0xc5,0xaf,0xf7,0xa7,0x82); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5009834f-2d6a-41ce-9e1b-17c5aff7a782") +IWICBitmapFlipRotator : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IWICBitmapSource *pISource, + WICBitmapTransformOptions options) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapFlipRotator, 0x5009834f, 0x2d6a, 0x41ce, 0x9e,0x1b, 0x17,0xc5,0xaf,0xf7,0xa7,0x82) +#endif +#else +typedef struct IWICBitmapFlipRotatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapFlipRotator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapFlipRotator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapFlipRotator *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmapFlipRotator *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmapFlipRotator *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICBitmapFlipRotator *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmapFlipRotator *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICBitmapFlipRotator *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICBitmapFlipRotator methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICBitmapFlipRotator *This, + IWICBitmapSource *pISource, + WICBitmapTransformOptions options); + + END_INTERFACE +} IWICBitmapFlipRotatorVtbl; + +interface IWICBitmapFlipRotator { + CONST_VTBL IWICBitmapFlipRotatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapFlipRotator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapFlipRotator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapFlipRotator_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICBitmapFlipRotator_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICBitmapFlipRotator_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICBitmapFlipRotator_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICBitmapFlipRotator_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmapFlipRotator_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICBitmapFlipRotator methods ***/ +#define IWICBitmapFlipRotator_Initialize(This,pISource,options) (This)->lpVtbl->Initialize(This,pISource,options) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapFlipRotator_QueryInterface(IWICBitmapFlipRotator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapFlipRotator_AddRef(IWICBitmapFlipRotator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapFlipRotator_Release(IWICBitmapFlipRotator* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICBitmapFlipRotator_GetSize(IWICBitmapFlipRotator* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICBitmapFlipRotator_GetPixelFormat(IWICBitmapFlipRotator* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmapFlipRotator_GetResolution(IWICBitmapFlipRotator* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICBitmapFlipRotator_CopyPalette(IWICBitmapFlipRotator* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapFlipRotator_CopyPixels(IWICBitmapFlipRotator* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICBitmapFlipRotator methods ***/ +static FORCEINLINE HRESULT IWICBitmapFlipRotator_Initialize(IWICBitmapFlipRotator* This,IWICBitmapSource *pISource,WICBitmapTransformOptions options) { + return This->lpVtbl->Initialize(This,pISource,options); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapFlipRotator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmap interface + */ +#ifndef __IWICBitmap_INTERFACE_DEFINED__ +#define __IWICBitmap_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmap, 0x00000121, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000121-a8f2-4877-ba0a-fd2b6645fb94") +IWICBitmap : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE Lock( + const WICRect *prcLock, + DWORD flags, + IWICBitmapLock **ppILock) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPalette( + IWICPalette *pIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetResolution( + double dpiX, + double dpiY) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmap, 0x00000121, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICBitmapVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmap *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmap *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmap *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmap *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmap *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICBitmap *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmap *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICBitmap *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICBitmap methods ***/ + HRESULT (STDMETHODCALLTYPE *Lock)( + IWICBitmap *This, + const WICRect *prcLock, + DWORD flags, + IWICBitmapLock **ppILock); + + HRESULT (STDMETHODCALLTYPE *SetPalette)( + IWICBitmap *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *SetResolution)( + IWICBitmap *This, + double dpiX, + double dpiY); + + END_INTERFACE +} IWICBitmapVtbl; + +interface IWICBitmap { + CONST_VTBL IWICBitmapVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmap_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmap_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICBitmap_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICBitmap_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICBitmap_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICBitmap_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmap_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICBitmap methods ***/ +#define IWICBitmap_Lock(This,prcLock,flags,ppILock) (This)->lpVtbl->Lock(This,prcLock,flags,ppILock) +#define IWICBitmap_SetPalette(This,pIPalette) (This)->lpVtbl->SetPalette(This,pIPalette) +#define IWICBitmap_SetResolution(This,dpiX,dpiY) (This)->lpVtbl->SetResolution(This,dpiX,dpiY) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmap_QueryInterface(IWICBitmap* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmap_AddRef(IWICBitmap* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmap_Release(IWICBitmap* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICBitmap_GetSize(IWICBitmap* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICBitmap_GetPixelFormat(IWICBitmap* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmap_GetResolution(IWICBitmap* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICBitmap_CopyPalette(IWICBitmap* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmap_CopyPixels(IWICBitmap* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICBitmap methods ***/ +static FORCEINLINE HRESULT IWICBitmap_Lock(IWICBitmap* This,const WICRect *prcLock,DWORD flags,IWICBitmapLock **ppILock) { + return This->lpVtbl->Lock(This,prcLock,flags,ppILock); +} +static FORCEINLINE HRESULT IWICBitmap_SetPalette(IWICBitmap* This,IWICPalette *pIPalette) { + return This->lpVtbl->SetPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmap_SetResolution(IWICBitmap* This,double dpiX,double dpiY) { + return This->lpVtbl->SetResolution(This,dpiX,dpiY); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmap_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICPalette interface + */ +#ifndef __IWICPalette_INTERFACE_DEFINED__ +#define __IWICPalette_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICPalette, 0x00000040, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000040-a8f2-4877-ba0a-fd2b6645fb94") +IWICPalette : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitializePredefined( + WICBitmapPaletteType ePaletteType, + BOOL fAddTransparentColor) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeCustom( + WICColor *pColors, + UINT colorCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromBitmap( + IWICBitmapSource *pISurface, + UINT colorCount, + BOOL fAddTransparentColor) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromPalette( + IWICPalette *pIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetType( + WICBitmapPaletteType *pePaletteType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorCount( + UINT *pcCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColors( + UINT colorCount, + WICColor *pColors, + UINT *pcActualColors) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsBlackWhite( + BOOL *pfIsBlackWhite) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsGrayscale( + BOOL *pfIsGrayscale) = 0; + + virtual HRESULT STDMETHODCALLTYPE HasAlpha( + BOOL *pfHasAlpha) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICPalette, 0x00000040, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICPaletteVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICPalette *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICPalette *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICPalette *This); + + /*** IWICPalette methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializePredefined)( + IWICPalette *This, + WICBitmapPaletteType ePaletteType, + BOOL fAddTransparentColor); + + HRESULT (STDMETHODCALLTYPE *InitializeCustom)( + IWICPalette *This, + WICColor *pColors, + UINT colorCount); + + HRESULT (STDMETHODCALLTYPE *InitializeFromBitmap)( + IWICPalette *This, + IWICBitmapSource *pISurface, + UINT colorCount, + BOOL fAddTransparentColor); + + HRESULT (STDMETHODCALLTYPE *InitializeFromPalette)( + IWICPalette *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *GetType)( + IWICPalette *This, + WICBitmapPaletteType *pePaletteType); + + HRESULT (STDMETHODCALLTYPE *GetColorCount)( + IWICPalette *This, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetColors)( + IWICPalette *This, + UINT colorCount, + WICColor *pColors, + UINT *pcActualColors); + + HRESULT (STDMETHODCALLTYPE *IsBlackWhite)( + IWICPalette *This, + BOOL *pfIsBlackWhite); + + HRESULT (STDMETHODCALLTYPE *IsGrayscale)( + IWICPalette *This, + BOOL *pfIsGrayscale); + + HRESULT (STDMETHODCALLTYPE *HasAlpha)( + IWICPalette *This, + BOOL *pfHasAlpha); + + END_INTERFACE +} IWICPaletteVtbl; + +interface IWICPalette { + CONST_VTBL IWICPaletteVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICPalette_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICPalette_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICPalette_Release(This) (This)->lpVtbl->Release(This) +/*** IWICPalette methods ***/ +#define IWICPalette_InitializePredefined(This,ePaletteType,fAddTransparentColor) (This)->lpVtbl->InitializePredefined(This,ePaletteType,fAddTransparentColor) +#define IWICPalette_InitializeCustom(This,pColors,colorCount) (This)->lpVtbl->InitializeCustom(This,pColors,colorCount) +#define IWICPalette_InitializeFromBitmap(This,pISurface,colorCount,fAddTransparentColor) (This)->lpVtbl->InitializeFromBitmap(This,pISurface,colorCount,fAddTransparentColor) +#define IWICPalette_InitializeFromPalette(This,pIPalette) (This)->lpVtbl->InitializeFromPalette(This,pIPalette) +#define IWICPalette_GetType(This,pePaletteType) (This)->lpVtbl->GetType(This,pePaletteType) +#define IWICPalette_GetColorCount(This,pcCount) (This)->lpVtbl->GetColorCount(This,pcCount) +#define IWICPalette_GetColors(This,colorCount,pColors,pcActualColors) (This)->lpVtbl->GetColors(This,colorCount,pColors,pcActualColors) +#define IWICPalette_IsBlackWhite(This,pfIsBlackWhite) (This)->lpVtbl->IsBlackWhite(This,pfIsBlackWhite) +#define IWICPalette_IsGrayscale(This,pfIsGrayscale) (This)->lpVtbl->IsGrayscale(This,pfIsGrayscale) +#define IWICPalette_HasAlpha(This,pfHasAlpha) (This)->lpVtbl->HasAlpha(This,pfHasAlpha) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICPalette_QueryInterface(IWICPalette* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICPalette_AddRef(IWICPalette* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICPalette_Release(IWICPalette* This) { + return This->lpVtbl->Release(This); +} +/*** IWICPalette methods ***/ +static FORCEINLINE HRESULT IWICPalette_InitializePredefined(IWICPalette* This,WICBitmapPaletteType ePaletteType,BOOL fAddTransparentColor) { + return This->lpVtbl->InitializePredefined(This,ePaletteType,fAddTransparentColor); +} +static FORCEINLINE HRESULT IWICPalette_InitializeCustom(IWICPalette* This,WICColor *pColors,UINT colorCount) { + return This->lpVtbl->InitializeCustom(This,pColors,colorCount); +} +static FORCEINLINE HRESULT IWICPalette_InitializeFromBitmap(IWICPalette* This,IWICBitmapSource *pISurface,UINT colorCount,BOOL fAddTransparentColor) { + return This->lpVtbl->InitializeFromBitmap(This,pISurface,colorCount,fAddTransparentColor); +} +static FORCEINLINE HRESULT IWICPalette_InitializeFromPalette(IWICPalette* This,IWICPalette *pIPalette) { + return This->lpVtbl->InitializeFromPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICPalette_GetType(IWICPalette* This,WICBitmapPaletteType *pePaletteType) { + return This->lpVtbl->GetType(This,pePaletteType); +} +static FORCEINLINE HRESULT IWICPalette_GetColorCount(IWICPalette* This,UINT *pcCount) { + return This->lpVtbl->GetColorCount(This,pcCount); +} +static FORCEINLINE HRESULT IWICPalette_GetColors(IWICPalette* This,UINT colorCount,WICColor *pColors,UINT *pcActualColors) { + return This->lpVtbl->GetColors(This,colorCount,pColors,pcActualColors); +} +static FORCEINLINE HRESULT IWICPalette_IsBlackWhite(IWICPalette* This,BOOL *pfIsBlackWhite) { + return This->lpVtbl->IsBlackWhite(This,pfIsBlackWhite); +} +static FORCEINLINE HRESULT IWICPalette_IsGrayscale(IWICPalette* This,BOOL *pfIsGrayscale) { + return This->lpVtbl->IsGrayscale(This,pfIsGrayscale); +} +static FORCEINLINE HRESULT IWICPalette_HasAlpha(IWICPalette* This,BOOL *pfHasAlpha) { + return This->lpVtbl->HasAlpha(This,pfHasAlpha); +} +#endif +#endif + +#endif + + +#endif /* __IWICPalette_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICComponentInfo interface + */ +#ifndef __IWICComponentInfo_INTERFACE_DEFINED__ +#define __IWICComponentInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICComponentInfo, 0x23bc3f0a, 0x698b, 0x4357, 0x88,0x6b, 0xf2,0x4d,0x50,0x67,0x13,0x34); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("23bc3f0a-698b-4357-886b-f24d50671334") +IWICComponentInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetComponentType( + WICComponentType *pType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCLSID( + CLSID *pclsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSigningStatus( + DWORD *pStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAuthor( + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVendorGUID( + GUID *pguidVendor) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVersion( + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSpecVersion( + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFriendlyName( + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICComponentInfo, 0x23bc3f0a, 0x698b, 0x4357, 0x88,0x6b, 0xf2,0x4d,0x50,0x67,0x13,0x34) +#endif +#else +typedef struct IWICComponentInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICComponentInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICComponentInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICComponentInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICComponentInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICComponentInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICComponentInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICComponentInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICComponentInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICComponentInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICComponentInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICComponentInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + END_INTERFACE +} IWICComponentInfoVtbl; + +interface IWICComponentInfo { + CONST_VTBL IWICComponentInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICComponentInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICComponentInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICComponentInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICComponentInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICComponentInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICComponentInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICComponentInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICComponentInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICComponentInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICComponentInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICComponentInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICComponentInfo_QueryInterface(IWICComponentInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICComponentInfo_AddRef(IWICComponentInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICComponentInfo_Release(IWICComponentInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICComponentInfo_GetComponentType(IWICComponentInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetCLSID(IWICComponentInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetSigningStatus(IWICComponentInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetAuthor(IWICComponentInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetVendorGUID(IWICComponentInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetVersion(IWICComponentInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetSpecVersion(IWICComponentInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICComponentInfo_GetFriendlyName(IWICComponentInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +#endif +#endif + +#endif + + +#endif /* __IWICComponentInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataQueryReader interface + */ +#ifndef __IWICMetadataQueryReader_INTERFACE_DEFINED__ +#define __IWICMetadataQueryReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataQueryReader, 0x30989668, 0xe1c9, 0x4597, 0xb3,0x95, 0x45,0x8e,0xed,0xb8,0x08,0xdf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("30989668-e1c9-4597-b395-458eedb808df") +IWICMetadataQueryReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetContainerFormat( + GUID *pguidContainerFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocation( + UINT cchMaxLength, + WCHAR *wzNamespace, + UINT *pcchActualLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetadataByName( + LPCWSTR wzName, + PROPVARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnumerator( + IEnumString **ppIEnumString) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataQueryReader, 0x30989668, 0xe1c9, 0x4597, 0xb3,0x95, 0x45,0x8e,0xed,0xb8,0x08,0xdf) +#endif +#else +typedef struct IWICMetadataQueryReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataQueryReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataQueryReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataQueryReader *This); + + /*** IWICMetadataQueryReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICMetadataQueryReader *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetLocation)( + IWICMetadataQueryReader *This, + UINT cchMaxLength, + WCHAR *wzNamespace, + UINT *pcchActualLength); + + HRESULT (STDMETHODCALLTYPE *GetMetadataByName)( + IWICMetadataQueryReader *This, + LPCWSTR wzName, + PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetEnumerator)( + IWICMetadataQueryReader *This, + IEnumString **ppIEnumString); + + END_INTERFACE +} IWICMetadataQueryReaderVtbl; + +interface IWICMetadataQueryReader { + CONST_VTBL IWICMetadataQueryReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataQueryReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataQueryReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataQueryReader_Release(This) (This)->lpVtbl->Release(This) +/*** IWICMetadataQueryReader methods ***/ +#define IWICMetadataQueryReader_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICMetadataQueryReader_GetLocation(This,cchMaxLength,wzNamespace,pcchActualLength) (This)->lpVtbl->GetLocation(This,cchMaxLength,wzNamespace,pcchActualLength) +#define IWICMetadataQueryReader_GetMetadataByName(This,wzName,pvarValue) (This)->lpVtbl->GetMetadataByName(This,wzName,pvarValue) +#define IWICMetadataQueryReader_GetEnumerator(This,ppIEnumString) (This)->lpVtbl->GetEnumerator(This,ppIEnumString) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataQueryReader_QueryInterface(IWICMetadataQueryReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataQueryReader_AddRef(IWICMetadataQueryReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataQueryReader_Release(IWICMetadataQueryReader* This) { + return This->lpVtbl->Release(This); +} +/*** IWICMetadataQueryReader methods ***/ +static FORCEINLINE HRESULT IWICMetadataQueryReader_GetContainerFormat(IWICMetadataQueryReader* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICMetadataQueryReader_GetLocation(IWICMetadataQueryReader* This,UINT cchMaxLength,WCHAR *wzNamespace,UINT *pcchActualLength) { + return This->lpVtbl->GetLocation(This,cchMaxLength,wzNamespace,pcchActualLength); +} +static FORCEINLINE HRESULT IWICMetadataQueryReader_GetMetadataByName(IWICMetadataQueryReader* This,LPCWSTR wzName,PROPVARIANT *pvarValue) { + return This->lpVtbl->GetMetadataByName(This,wzName,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataQueryReader_GetEnumerator(IWICMetadataQueryReader* This,IEnumString **ppIEnumString) { + return This->lpVtbl->GetEnumerator(This,ppIEnumString); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataQueryReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataQueryWriter interface + */ +#ifndef __IWICMetadataQueryWriter_INTERFACE_DEFINED__ +#define __IWICMetadataQueryWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataQueryWriter, 0xa721791a, 0x0def, 0x4d06, 0xbd,0x91, 0x21,0x18,0xbf,0x1d,0xb1,0x0b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a721791a-0def-4d06-bd91-2118bf1db10b") +IWICMetadataQueryWriter : public IWICMetadataQueryReader +{ + virtual HRESULT STDMETHODCALLTYPE SetMetadataByName( + LPCWSTR wzName, + const PROPVARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveMetadataByName( + LPCWSTR wzName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataQueryWriter, 0xa721791a, 0x0def, 0x4d06, 0xbd,0x91, 0x21,0x18,0xbf,0x1d,0xb1,0x0b) +#endif +#else +typedef struct IWICMetadataQueryWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataQueryWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataQueryWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataQueryWriter *This); + + /*** IWICMetadataQueryReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICMetadataQueryWriter *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetLocation)( + IWICMetadataQueryWriter *This, + UINT cchMaxLength, + WCHAR *wzNamespace, + UINT *pcchActualLength); + + HRESULT (STDMETHODCALLTYPE *GetMetadataByName)( + IWICMetadataQueryWriter *This, + LPCWSTR wzName, + PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetEnumerator)( + IWICMetadataQueryWriter *This, + IEnumString **ppIEnumString); + + /*** IWICMetadataQueryWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMetadataByName)( + IWICMetadataQueryWriter *This, + LPCWSTR wzName, + const PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *RemoveMetadataByName)( + IWICMetadataQueryWriter *This, + LPCWSTR wzName); + + END_INTERFACE +} IWICMetadataQueryWriterVtbl; + +interface IWICMetadataQueryWriter { + CONST_VTBL IWICMetadataQueryWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataQueryWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataQueryWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataQueryWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IWICMetadataQueryReader methods ***/ +#define IWICMetadataQueryWriter_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICMetadataQueryWriter_GetLocation(This,cchMaxLength,wzNamespace,pcchActualLength) (This)->lpVtbl->GetLocation(This,cchMaxLength,wzNamespace,pcchActualLength) +#define IWICMetadataQueryWriter_GetMetadataByName(This,wzName,pvarValue) (This)->lpVtbl->GetMetadataByName(This,wzName,pvarValue) +#define IWICMetadataQueryWriter_GetEnumerator(This,ppIEnumString) (This)->lpVtbl->GetEnumerator(This,ppIEnumString) +/*** IWICMetadataQueryWriter methods ***/ +#define IWICMetadataQueryWriter_SetMetadataByName(This,wzName,pvarValue) (This)->lpVtbl->SetMetadataByName(This,wzName,pvarValue) +#define IWICMetadataQueryWriter_RemoveMetadataByName(This,wzName) (This)->lpVtbl->RemoveMetadataByName(This,wzName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataQueryWriter_QueryInterface(IWICMetadataQueryWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataQueryWriter_AddRef(IWICMetadataQueryWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataQueryWriter_Release(IWICMetadataQueryWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IWICMetadataQueryReader methods ***/ +static FORCEINLINE HRESULT IWICMetadataQueryWriter_GetContainerFormat(IWICMetadataQueryWriter* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICMetadataQueryWriter_GetLocation(IWICMetadataQueryWriter* This,UINT cchMaxLength,WCHAR *wzNamespace,UINT *pcchActualLength) { + return This->lpVtbl->GetLocation(This,cchMaxLength,wzNamespace,pcchActualLength); +} +static FORCEINLINE HRESULT IWICMetadataQueryWriter_GetMetadataByName(IWICMetadataQueryWriter* This,LPCWSTR wzName,PROPVARIANT *pvarValue) { + return This->lpVtbl->GetMetadataByName(This,wzName,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataQueryWriter_GetEnumerator(IWICMetadataQueryWriter* This,IEnumString **ppIEnumString) { + return This->lpVtbl->GetEnumerator(This,ppIEnumString); +} +/*** IWICMetadataQueryWriter methods ***/ +static FORCEINLINE HRESULT IWICMetadataQueryWriter_SetMetadataByName(IWICMetadataQueryWriter* This,LPCWSTR wzName,const PROPVARIANT *pvarValue) { + return This->lpVtbl->SetMetadataByName(This,wzName,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataQueryWriter_RemoveMetadataByName(IWICMetadataQueryWriter* This,LPCWSTR wzName) { + return This->lpVtbl->RemoveMetadataByName(This,wzName); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataQueryWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapFrameDecode interface + */ +#ifndef __IWICBitmapFrameDecode_INTERFACE_DEFINED__ +#define __IWICBitmapFrameDecode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapFrameDecode, 0x3b16811b, 0x6a43, 0x4ec9, 0xa8,0x13, 0x3d,0x93,0x0c,0x13,0xb9,0x40); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3b16811b-6a43-4ec9-a813-3d930c13b940") +IWICBitmapFrameDecode : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE GetMetadataQueryReader( + IWICMetadataQueryReader **ppIMetadataQueryReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorContexts( + UINT cCount, + IWICColorContext **ppIColorContexts, + UINT *pcActualCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThumbnail( + IWICBitmapSource **ppIThumbnail) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapFrameDecode, 0x3b16811b, 0x6a43, 0x4ec9, 0xa8,0x13, 0x3d,0x93,0x0c,0x13,0xb9,0x40) +#endif +#else +typedef struct IWICBitmapFrameDecodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapFrameDecode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapFrameDecode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapFrameDecode *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmapFrameDecode *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmapFrameDecode *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICBitmapFrameDecode *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmapFrameDecode *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICBitmapFrameDecode *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICBitmapFrameDecode methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMetadataQueryReader)( + IWICBitmapFrameDecode *This, + IWICMetadataQueryReader **ppIMetadataQueryReader); + + HRESULT (STDMETHODCALLTYPE *GetColorContexts)( + IWICBitmapFrameDecode *This, + UINT cCount, + IWICColorContext **ppIColorContexts, + UINT *pcActualCount); + + HRESULT (STDMETHODCALLTYPE *GetThumbnail)( + IWICBitmapFrameDecode *This, + IWICBitmapSource **ppIThumbnail); + + END_INTERFACE +} IWICBitmapFrameDecodeVtbl; + +interface IWICBitmapFrameDecode { + CONST_VTBL IWICBitmapFrameDecodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapFrameDecode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapFrameDecode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapFrameDecode_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICBitmapFrameDecode_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICBitmapFrameDecode_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICBitmapFrameDecode_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICBitmapFrameDecode_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmapFrameDecode_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICBitmapFrameDecode methods ***/ +#define IWICBitmapFrameDecode_GetMetadataQueryReader(This,ppIMetadataQueryReader) (This)->lpVtbl->GetMetadataQueryReader(This,ppIMetadataQueryReader) +#define IWICBitmapFrameDecode_GetColorContexts(This,cCount,ppIColorContexts,pcActualCount) (This)->lpVtbl->GetColorContexts(This,cCount,ppIColorContexts,pcActualCount) +#define IWICBitmapFrameDecode_GetThumbnail(This,ppIThumbnail) (This)->lpVtbl->GetThumbnail(This,ppIThumbnail) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapFrameDecode_QueryInterface(IWICBitmapFrameDecode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapFrameDecode_AddRef(IWICBitmapFrameDecode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapFrameDecode_Release(IWICBitmapFrameDecode* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICBitmapFrameDecode_GetSize(IWICBitmapFrameDecode* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICBitmapFrameDecode_GetPixelFormat(IWICBitmapFrameDecode* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmapFrameDecode_GetResolution(IWICBitmapFrameDecode* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICBitmapFrameDecode_CopyPalette(IWICBitmapFrameDecode* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapFrameDecode_CopyPixels(IWICBitmapFrameDecode* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICBitmapFrameDecode methods ***/ +static FORCEINLINE HRESULT IWICBitmapFrameDecode_GetMetadataQueryReader(IWICBitmapFrameDecode* This,IWICMetadataQueryReader **ppIMetadataQueryReader) { + return This->lpVtbl->GetMetadataQueryReader(This,ppIMetadataQueryReader); +} +static FORCEINLINE HRESULT IWICBitmapFrameDecode_GetColorContexts(IWICBitmapFrameDecode* This,UINT cCount,IWICColorContext **ppIColorContexts,UINT *pcActualCount) { + return This->lpVtbl->GetColorContexts(This,cCount,ppIColorContexts,pcActualCount); +} +static FORCEINLINE HRESULT IWICBitmapFrameDecode_GetThumbnail(IWICBitmapFrameDecode* This,IWICBitmapSource **ppIThumbnail) { + return This->lpVtbl->GetThumbnail(This,ppIThumbnail); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapFrameDecode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICPixelFormatInfo interface + */ +#ifndef __IWICPixelFormatInfo_INTERFACE_DEFINED__ +#define __IWICPixelFormatInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICPixelFormatInfo, 0xe8eda601, 0x3d48, 0x431a, 0xab,0x44, 0x69,0x05,0x9b,0xe8,0x8b,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e8eda601-3d48-431a-ab44-69059be88bbe") +IWICPixelFormatInfo : public IWICComponentInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetFormatGUID( + GUID *pFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorContext( + IWICColorContext **ppIColorContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBitsPerPixel( + UINT *puiBitsPerPixel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelCount( + UINT *puiChannelCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelMask( + UINT uiChannelIndex, + UINT cbMaskBuffer, + BYTE *pbMaskBuffer, + UINT *pcbActual) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICPixelFormatInfo, 0xe8eda601, 0x3d48, 0x431a, 0xab,0x44, 0x69,0x05,0x9b,0xe8,0x8b,0xbe) +#endif +#else +typedef struct IWICPixelFormatInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICPixelFormatInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICPixelFormatInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICPixelFormatInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICPixelFormatInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICPixelFormatInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICPixelFormatInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICPixelFormatInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICPixelFormatInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICPixelFormatInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICPixelFormatInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICPixelFormatInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICPixelFormatInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFormatGUID)( + IWICPixelFormatInfo *This, + GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *GetColorContext)( + IWICPixelFormatInfo *This, + IWICColorContext **ppIColorContext); + + HRESULT (STDMETHODCALLTYPE *GetBitsPerPixel)( + IWICPixelFormatInfo *This, + UINT *puiBitsPerPixel); + + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IWICPixelFormatInfo *This, + UINT *puiChannelCount); + + HRESULT (STDMETHODCALLTYPE *GetChannelMask)( + IWICPixelFormatInfo *This, + UINT uiChannelIndex, + UINT cbMaskBuffer, + BYTE *pbMaskBuffer, + UINT *pcbActual); + + END_INTERFACE +} IWICPixelFormatInfoVtbl; + +interface IWICPixelFormatInfo { + CONST_VTBL IWICPixelFormatInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICPixelFormatInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICPixelFormatInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICPixelFormatInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICPixelFormatInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICPixelFormatInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICPixelFormatInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICPixelFormatInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICPixelFormatInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICPixelFormatInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICPixelFormatInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICPixelFormatInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICPixelFormatInfo methods ***/ +#define IWICPixelFormatInfo_GetFormatGUID(This,pFormat) (This)->lpVtbl->GetFormatGUID(This,pFormat) +#define IWICPixelFormatInfo_GetColorContext(This,ppIColorContext) (This)->lpVtbl->GetColorContext(This,ppIColorContext) +#define IWICPixelFormatInfo_GetBitsPerPixel(This,puiBitsPerPixel) (This)->lpVtbl->GetBitsPerPixel(This,puiBitsPerPixel) +#define IWICPixelFormatInfo_GetChannelCount(This,puiChannelCount) (This)->lpVtbl->GetChannelCount(This,puiChannelCount) +#define IWICPixelFormatInfo_GetChannelMask(This,uiChannelIndex,cbMaskBuffer,pbMaskBuffer,pcbActual) (This)->lpVtbl->GetChannelMask(This,uiChannelIndex,cbMaskBuffer,pbMaskBuffer,pcbActual) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo_QueryInterface(IWICPixelFormatInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICPixelFormatInfo_AddRef(IWICPixelFormatInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICPixelFormatInfo_Release(IWICPixelFormatInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetComponentType(IWICPixelFormatInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetCLSID(IWICPixelFormatInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetSigningStatus(IWICPixelFormatInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetAuthor(IWICPixelFormatInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetVendorGUID(IWICPixelFormatInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetVersion(IWICPixelFormatInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetSpecVersion(IWICPixelFormatInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetFriendlyName(IWICPixelFormatInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICPixelFormatInfo methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetFormatGUID(IWICPixelFormatInfo* This,GUID *pFormat) { + return This->lpVtbl->GetFormatGUID(This,pFormat); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetColorContext(IWICPixelFormatInfo* This,IWICColorContext **ppIColorContext) { + return This->lpVtbl->GetColorContext(This,ppIColorContext); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetBitsPerPixel(IWICPixelFormatInfo* This,UINT *puiBitsPerPixel) { + return This->lpVtbl->GetBitsPerPixel(This,puiBitsPerPixel); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetChannelCount(IWICPixelFormatInfo* This,UINT *puiChannelCount) { + return This->lpVtbl->GetChannelCount(This,puiChannelCount); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo_GetChannelMask(IWICPixelFormatInfo* This,UINT uiChannelIndex,UINT cbMaskBuffer,BYTE *pbMaskBuffer,UINT *pcbActual) { + return This->lpVtbl->GetChannelMask(This,uiChannelIndex,cbMaskBuffer,pbMaskBuffer,pcbActual); +} +#endif +#endif + +#endif + + +#endif /* __IWICPixelFormatInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICPixelFormatInfo2 interface + */ +#ifndef __IWICPixelFormatInfo2_INTERFACE_DEFINED__ +#define __IWICPixelFormatInfo2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICPixelFormatInfo2, 0xa9db33a2, 0xaf5f, 0x43c7, 0xb6,0x79, 0x74,0xf5,0x98,0x4b,0x5a,0xa4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a9db33a2-af5f-43c7-b679-74f5984b5aa4") +IWICPixelFormatInfo2 : public IWICPixelFormatInfo +{ + virtual HRESULT STDMETHODCALLTYPE SupportsTransparency( + BOOL *pfSupportsTransparency) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumericRepresentation( + WICPixelFormatNumericRepresentation *pNumericRepresentation) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICPixelFormatInfo2, 0xa9db33a2, 0xaf5f, 0x43c7, 0xb6,0x79, 0x74,0xf5,0x98,0x4b,0x5a,0xa4) +#endif +#else +typedef struct IWICPixelFormatInfo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICPixelFormatInfo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICPixelFormatInfo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICPixelFormatInfo2 *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICPixelFormatInfo2 *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICPixelFormatInfo2 *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICPixelFormatInfo2 *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICPixelFormatInfo2 *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICPixelFormatInfo2 *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICPixelFormatInfo2 *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICPixelFormatInfo2 *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICPixelFormatInfo2 *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICPixelFormatInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFormatGUID)( + IWICPixelFormatInfo2 *This, + GUID *pFormat); + + HRESULT (STDMETHODCALLTYPE *GetColorContext)( + IWICPixelFormatInfo2 *This, + IWICColorContext **ppIColorContext); + + HRESULT (STDMETHODCALLTYPE *GetBitsPerPixel)( + IWICPixelFormatInfo2 *This, + UINT *puiBitsPerPixel); + + HRESULT (STDMETHODCALLTYPE *GetChannelCount)( + IWICPixelFormatInfo2 *This, + UINT *puiChannelCount); + + HRESULT (STDMETHODCALLTYPE *GetChannelMask)( + IWICPixelFormatInfo2 *This, + UINT uiChannelIndex, + UINT cbMaskBuffer, + BYTE *pbMaskBuffer, + UINT *pcbActual); + + /*** IWICPixelFormatInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SupportsTransparency)( + IWICPixelFormatInfo2 *This, + BOOL *pfSupportsTransparency); + + HRESULT (STDMETHODCALLTYPE *GetNumericRepresentation)( + IWICPixelFormatInfo2 *This, + WICPixelFormatNumericRepresentation *pNumericRepresentation); + + END_INTERFACE +} IWICPixelFormatInfo2Vtbl; + +interface IWICPixelFormatInfo2 { + CONST_VTBL IWICPixelFormatInfo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICPixelFormatInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICPixelFormatInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICPixelFormatInfo2_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICPixelFormatInfo2_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICPixelFormatInfo2_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICPixelFormatInfo2_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICPixelFormatInfo2_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICPixelFormatInfo2_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICPixelFormatInfo2_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICPixelFormatInfo2_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICPixelFormatInfo2_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICPixelFormatInfo methods ***/ +#define IWICPixelFormatInfo2_GetFormatGUID(This,pFormat) (This)->lpVtbl->GetFormatGUID(This,pFormat) +#define IWICPixelFormatInfo2_GetColorContext(This,ppIColorContext) (This)->lpVtbl->GetColorContext(This,ppIColorContext) +#define IWICPixelFormatInfo2_GetBitsPerPixel(This,puiBitsPerPixel) (This)->lpVtbl->GetBitsPerPixel(This,puiBitsPerPixel) +#define IWICPixelFormatInfo2_GetChannelCount(This,puiChannelCount) (This)->lpVtbl->GetChannelCount(This,puiChannelCount) +#define IWICPixelFormatInfo2_GetChannelMask(This,uiChannelIndex,cbMaskBuffer,pbMaskBuffer,pcbActual) (This)->lpVtbl->GetChannelMask(This,uiChannelIndex,cbMaskBuffer,pbMaskBuffer,pcbActual) +/*** IWICPixelFormatInfo2 methods ***/ +#define IWICPixelFormatInfo2_SupportsTransparency(This,pfSupportsTransparency) (This)->lpVtbl->SupportsTransparency(This,pfSupportsTransparency) +#define IWICPixelFormatInfo2_GetNumericRepresentation(This,pNumericRepresentation) (This)->lpVtbl->GetNumericRepresentation(This,pNumericRepresentation) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo2_QueryInterface(IWICPixelFormatInfo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICPixelFormatInfo2_AddRef(IWICPixelFormatInfo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICPixelFormatInfo2_Release(IWICPixelFormatInfo2* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetComponentType(IWICPixelFormatInfo2* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetCLSID(IWICPixelFormatInfo2* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetSigningStatus(IWICPixelFormatInfo2* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetAuthor(IWICPixelFormatInfo2* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetVendorGUID(IWICPixelFormatInfo2* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetVersion(IWICPixelFormatInfo2* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetSpecVersion(IWICPixelFormatInfo2* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetFriendlyName(IWICPixelFormatInfo2* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICPixelFormatInfo methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetFormatGUID(IWICPixelFormatInfo2* This,GUID *pFormat) { + return This->lpVtbl->GetFormatGUID(This,pFormat); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetColorContext(IWICPixelFormatInfo2* This,IWICColorContext **ppIColorContext) { + return This->lpVtbl->GetColorContext(This,ppIColorContext); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetBitsPerPixel(IWICPixelFormatInfo2* This,UINT *puiBitsPerPixel) { + return This->lpVtbl->GetBitsPerPixel(This,puiBitsPerPixel); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetChannelCount(IWICPixelFormatInfo2* This,UINT *puiChannelCount) { + return This->lpVtbl->GetChannelCount(This,puiChannelCount); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetChannelMask(IWICPixelFormatInfo2* This,UINT uiChannelIndex,UINT cbMaskBuffer,BYTE *pbMaskBuffer,UINT *pcbActual) { + return This->lpVtbl->GetChannelMask(This,uiChannelIndex,cbMaskBuffer,pbMaskBuffer,pcbActual); +} +/*** IWICPixelFormatInfo2 methods ***/ +static FORCEINLINE HRESULT IWICPixelFormatInfo2_SupportsTransparency(IWICPixelFormatInfo2* This,BOOL *pfSupportsTransparency) { + return This->lpVtbl->SupportsTransparency(This,pfSupportsTransparency); +} +static FORCEINLINE HRESULT IWICPixelFormatInfo2_GetNumericRepresentation(IWICPixelFormatInfo2* This,WICPixelFormatNumericRepresentation *pNumericRepresentation) { + return This->lpVtbl->GetNumericRepresentation(This,pNumericRepresentation); +} +#endif +#endif + +#endif + + +#endif /* __IWICPixelFormatInfo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapCodecInfo interface + */ +#ifndef __IWICBitmapCodecInfo_INTERFACE_DEFINED__ +#define __IWICBitmapCodecInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapCodecInfo, 0xe87a44c4, 0xb76e, 0x4c47, 0x8b,0x09, 0x29,0x8e,0xb1,0x2a,0x27,0x14); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e87a44c4-b76e-4c47-8b09-298eb12a2714") +IWICBitmapCodecInfo : public IWICComponentInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetContainerFormat( + GUID *pguidContainerFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPixelFormats( + UINT cFormats, + GUID *pguidPixelFormats, + UINT *pcActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorManagementVersion( + UINT cchColorManagementVersion, + WCHAR *wzColorManagementVersion, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceManufacturer( + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceModels( + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMimeTypes( + UINT cchMimeTypes, + WCHAR *wzMimeTypes, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFileExtensions( + UINT cchFileExtensions, + WCHAR *wzFileExtensions, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesSupportAnimation( + BOOL *pfSupportAnimation) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesSupportChromaKey( + BOOL *pfSupportChromaKey) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesSupportLossless( + BOOL *pfSupportLossless) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesSupportMultiframe( + BOOL *pfSupportMultiframe) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchesMimeType( + LPCWSTR wzMimeType, + BOOL *pfMatches) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapCodecInfo, 0xe87a44c4, 0xb76e, 0x4c47, 0x8b,0x09, 0x29,0x8e,0xb1,0x2a,0x27,0x14) +#endif +#else +typedef struct IWICBitmapCodecInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapCodecInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapCodecInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapCodecInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICBitmapCodecInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICBitmapCodecInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICBitmapCodecInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICBitmapCodecInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICBitmapCodecInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICBitmapCodecInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICBitmapCodecInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICBitmapCodecInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICBitmapCodecInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICBitmapCodecInfo *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormats)( + IWICBitmapCodecInfo *This, + UINT cFormats, + GUID *pguidPixelFormats, + UINT *pcActual); + + HRESULT (STDMETHODCALLTYPE *GetColorManagementVersion)( + IWICBitmapCodecInfo *This, + UINT cchColorManagementVersion, + WCHAR *wzColorManagementVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceManufacturer)( + IWICBitmapCodecInfo *This, + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceModels)( + IWICBitmapCodecInfo *This, + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetMimeTypes)( + IWICBitmapCodecInfo *This, + UINT cchMimeTypes, + WCHAR *wzMimeTypes, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFileExtensions)( + IWICBitmapCodecInfo *This, + UINT cchFileExtensions, + WCHAR *wzFileExtensions, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *DoesSupportAnimation)( + IWICBitmapCodecInfo *This, + BOOL *pfSupportAnimation); + + HRESULT (STDMETHODCALLTYPE *DoesSupportChromaKey)( + IWICBitmapCodecInfo *This, + BOOL *pfSupportChromaKey); + + HRESULT (STDMETHODCALLTYPE *DoesSupportLossless)( + IWICBitmapCodecInfo *This, + BOOL *pfSupportLossless); + + HRESULT (STDMETHODCALLTYPE *DoesSupportMultiframe)( + IWICBitmapCodecInfo *This, + BOOL *pfSupportMultiframe); + + HRESULT (STDMETHODCALLTYPE *MatchesMimeType)( + IWICBitmapCodecInfo *This, + LPCWSTR wzMimeType, + BOOL *pfMatches); + + END_INTERFACE +} IWICBitmapCodecInfoVtbl; + +interface IWICBitmapCodecInfo { + CONST_VTBL IWICBitmapCodecInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapCodecInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapCodecInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapCodecInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICBitmapCodecInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICBitmapCodecInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICBitmapCodecInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICBitmapCodecInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICBitmapCodecInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICBitmapCodecInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICBitmapCodecInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICBitmapCodecInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICBitmapCodecInfo methods ***/ +#define IWICBitmapCodecInfo_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICBitmapCodecInfo_GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual) (This)->lpVtbl->GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual) +#define IWICBitmapCodecInfo_GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual) (This)->lpVtbl->GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual) +#define IWICBitmapCodecInfo_GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) (This)->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) +#define IWICBitmapCodecInfo_GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) (This)->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) +#define IWICBitmapCodecInfo_GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual) (This)->lpVtbl->GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual) +#define IWICBitmapCodecInfo_GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual) (This)->lpVtbl->GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual) +#define IWICBitmapCodecInfo_DoesSupportAnimation(This,pfSupportAnimation) (This)->lpVtbl->DoesSupportAnimation(This,pfSupportAnimation) +#define IWICBitmapCodecInfo_DoesSupportChromaKey(This,pfSupportChromaKey) (This)->lpVtbl->DoesSupportChromaKey(This,pfSupportChromaKey) +#define IWICBitmapCodecInfo_DoesSupportLossless(This,pfSupportLossless) (This)->lpVtbl->DoesSupportLossless(This,pfSupportLossless) +#define IWICBitmapCodecInfo_DoesSupportMultiframe(This,pfSupportMultiframe) (This)->lpVtbl->DoesSupportMultiframe(This,pfSupportMultiframe) +#define IWICBitmapCodecInfo_MatchesMimeType(This,wzMimeType,pfMatches) (This)->lpVtbl->MatchesMimeType(This,wzMimeType,pfMatches) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapCodecInfo_QueryInterface(IWICBitmapCodecInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapCodecInfo_AddRef(IWICBitmapCodecInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapCodecInfo_Release(IWICBitmapCodecInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetComponentType(IWICBitmapCodecInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetCLSID(IWICBitmapCodecInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetSigningStatus(IWICBitmapCodecInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetAuthor(IWICBitmapCodecInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetVendorGUID(IWICBitmapCodecInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetVersion(IWICBitmapCodecInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetSpecVersion(IWICBitmapCodecInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetFriendlyName(IWICBitmapCodecInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICBitmapCodecInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetContainerFormat(IWICBitmapCodecInfo* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetPixelFormats(IWICBitmapCodecInfo* This,UINT cFormats,GUID *pguidPixelFormats,UINT *pcActual) { + return This->lpVtbl->GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetColorManagementVersion(IWICBitmapCodecInfo* This,UINT cchColorManagementVersion,WCHAR *wzColorManagementVersion,UINT *pcchActual) { + return This->lpVtbl->GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetDeviceManufacturer(IWICBitmapCodecInfo* This,UINT cchDeviceManufacturer,WCHAR *wzDeviceManufacturer,UINT *pcchActual) { + return This->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetDeviceModels(IWICBitmapCodecInfo* This,UINT cchDeviceModels,WCHAR *wzDeviceModels,UINT *pcchActual) { + return This->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetMimeTypes(IWICBitmapCodecInfo* This,UINT cchMimeTypes,WCHAR *wzMimeTypes,UINT *pcchActual) { + return This->lpVtbl->GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_GetFileExtensions(IWICBitmapCodecInfo* This,UINT cchFileExtensions,WCHAR *wzFileExtensions,UINT *pcchActual) { + return This->lpVtbl->GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_DoesSupportAnimation(IWICBitmapCodecInfo* This,BOOL *pfSupportAnimation) { + return This->lpVtbl->DoesSupportAnimation(This,pfSupportAnimation); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_DoesSupportChromaKey(IWICBitmapCodecInfo* This,BOOL *pfSupportChromaKey) { + return This->lpVtbl->DoesSupportChromaKey(This,pfSupportChromaKey); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_DoesSupportLossless(IWICBitmapCodecInfo* This,BOOL *pfSupportLossless) { + return This->lpVtbl->DoesSupportLossless(This,pfSupportLossless); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_DoesSupportMultiframe(IWICBitmapCodecInfo* This,BOOL *pfSupportMultiframe) { + return This->lpVtbl->DoesSupportMultiframe(This,pfSupportMultiframe); +} +static FORCEINLINE HRESULT IWICBitmapCodecInfo_MatchesMimeType(IWICBitmapCodecInfo* This,LPCWSTR wzMimeType,BOOL *pfMatches) { + return This->lpVtbl->MatchesMimeType(This,wzMimeType,pfMatches); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapCodecInfo_INTERFACE_DEFINED__ */ + +#ifndef __IWICBitmapDecoder_FWD_DEFINED__ +#define __IWICBitmapDecoder_FWD_DEFINED__ +typedef interface IWICBitmapDecoder IWICBitmapDecoder; +#ifdef __cplusplus +interface IWICBitmapDecoder; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IWICBitmapDecoderInfo interface + */ +#ifndef __IWICBitmapDecoderInfo_INTERFACE_DEFINED__ +#define __IWICBitmapDecoderInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapDecoderInfo, 0xd8cd007f, 0xd08f, 0x4191, 0x9b,0xfc, 0x23,0x6e,0xa7,0xf0,0xe4,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d8cd007f-d08f-4191-9bfc-236ea7f0e4b5") +IWICBitmapDecoderInfo : public IWICBitmapCodecInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetPatterns( + UINT cbSizePatterns, + WICBitmapPattern *pPatterns, + UINT *pcPatterns, + UINT *pcbPatternsActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchesPattern( + IStream *pIStream, + BOOL *pfMatches) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IWICBitmapDecoder **ppIBitmapDecoder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapDecoderInfo, 0xd8cd007f, 0xd08f, 0x4191, 0x9b,0xfc, 0x23,0x6e,0xa7,0xf0,0xe4,0xb5) +#endif +#else +typedef struct IWICBitmapDecoderInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapDecoderInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapDecoderInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapDecoderInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICBitmapDecoderInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICBitmapDecoderInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICBitmapDecoderInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICBitmapDecoderInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICBitmapDecoderInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICBitmapDecoderInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICBitmapDecoderInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICBitmapDecoderInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICBitmapCodecInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICBitmapDecoderInfo *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormats)( + IWICBitmapDecoderInfo *This, + UINT cFormats, + GUID *pguidPixelFormats, + UINT *pcActual); + + HRESULT (STDMETHODCALLTYPE *GetColorManagementVersion)( + IWICBitmapDecoderInfo *This, + UINT cchColorManagementVersion, + WCHAR *wzColorManagementVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceManufacturer)( + IWICBitmapDecoderInfo *This, + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceModels)( + IWICBitmapDecoderInfo *This, + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetMimeTypes)( + IWICBitmapDecoderInfo *This, + UINT cchMimeTypes, + WCHAR *wzMimeTypes, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFileExtensions)( + IWICBitmapDecoderInfo *This, + UINT cchFileExtensions, + WCHAR *wzFileExtensions, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *DoesSupportAnimation)( + IWICBitmapDecoderInfo *This, + BOOL *pfSupportAnimation); + + HRESULT (STDMETHODCALLTYPE *DoesSupportChromaKey)( + IWICBitmapDecoderInfo *This, + BOOL *pfSupportChromaKey); + + HRESULT (STDMETHODCALLTYPE *DoesSupportLossless)( + IWICBitmapDecoderInfo *This, + BOOL *pfSupportLossless); + + HRESULT (STDMETHODCALLTYPE *DoesSupportMultiframe)( + IWICBitmapDecoderInfo *This, + BOOL *pfSupportMultiframe); + + HRESULT (STDMETHODCALLTYPE *MatchesMimeType)( + IWICBitmapDecoderInfo *This, + LPCWSTR wzMimeType, + BOOL *pfMatches); + + /*** IWICBitmapDecoderInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPatterns)( + IWICBitmapDecoderInfo *This, + UINT cbSizePatterns, + WICBitmapPattern *pPatterns, + UINT *pcPatterns, + UINT *pcbPatternsActual); + + HRESULT (STDMETHODCALLTYPE *MatchesPattern)( + IWICBitmapDecoderInfo *This, + IStream *pIStream, + BOOL *pfMatches); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IWICBitmapDecoderInfo *This, + IWICBitmapDecoder **ppIBitmapDecoder); + + END_INTERFACE +} IWICBitmapDecoderInfoVtbl; + +interface IWICBitmapDecoderInfo { + CONST_VTBL IWICBitmapDecoderInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapDecoderInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapDecoderInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapDecoderInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICBitmapDecoderInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICBitmapDecoderInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICBitmapDecoderInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICBitmapDecoderInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICBitmapDecoderInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICBitmapDecoderInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICBitmapDecoderInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICBitmapDecoderInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICBitmapCodecInfo methods ***/ +#define IWICBitmapDecoderInfo_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICBitmapDecoderInfo_GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual) (This)->lpVtbl->GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual) +#define IWICBitmapDecoderInfo_GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual) (This)->lpVtbl->GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual) +#define IWICBitmapDecoderInfo_GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) (This)->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) +#define IWICBitmapDecoderInfo_GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) (This)->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) +#define IWICBitmapDecoderInfo_GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual) (This)->lpVtbl->GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual) +#define IWICBitmapDecoderInfo_GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual) (This)->lpVtbl->GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual) +#define IWICBitmapDecoderInfo_DoesSupportAnimation(This,pfSupportAnimation) (This)->lpVtbl->DoesSupportAnimation(This,pfSupportAnimation) +#define IWICBitmapDecoderInfo_DoesSupportChromaKey(This,pfSupportChromaKey) (This)->lpVtbl->DoesSupportChromaKey(This,pfSupportChromaKey) +#define IWICBitmapDecoderInfo_DoesSupportLossless(This,pfSupportLossless) (This)->lpVtbl->DoesSupportLossless(This,pfSupportLossless) +#define IWICBitmapDecoderInfo_DoesSupportMultiframe(This,pfSupportMultiframe) (This)->lpVtbl->DoesSupportMultiframe(This,pfSupportMultiframe) +#define IWICBitmapDecoderInfo_MatchesMimeType(This,wzMimeType,pfMatches) (This)->lpVtbl->MatchesMimeType(This,wzMimeType,pfMatches) +/*** IWICBitmapDecoderInfo methods ***/ +#define IWICBitmapDecoderInfo_GetPatterns(This,cbSizePatterns,pPatterns,pcPatterns,pcbPatternsActual) (This)->lpVtbl->GetPatterns(This,cbSizePatterns,pPatterns,pcPatterns,pcbPatternsActual) +#define IWICBitmapDecoderInfo_MatchesPattern(This,pIStream,pfMatches) (This)->lpVtbl->MatchesPattern(This,pIStream,pfMatches) +#define IWICBitmapDecoderInfo_CreateInstance(This,ppIBitmapDecoder) (This)->lpVtbl->CreateInstance(This,ppIBitmapDecoder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_QueryInterface(IWICBitmapDecoderInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapDecoderInfo_AddRef(IWICBitmapDecoderInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapDecoderInfo_Release(IWICBitmapDecoderInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetComponentType(IWICBitmapDecoderInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetCLSID(IWICBitmapDecoderInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetSigningStatus(IWICBitmapDecoderInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetAuthor(IWICBitmapDecoderInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetVendorGUID(IWICBitmapDecoderInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetVersion(IWICBitmapDecoderInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetSpecVersion(IWICBitmapDecoderInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetFriendlyName(IWICBitmapDecoderInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICBitmapCodecInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetContainerFormat(IWICBitmapDecoderInfo* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetPixelFormats(IWICBitmapDecoderInfo* This,UINT cFormats,GUID *pguidPixelFormats,UINT *pcActual) { + return This->lpVtbl->GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetColorManagementVersion(IWICBitmapDecoderInfo* This,UINT cchColorManagementVersion,WCHAR *wzColorManagementVersion,UINT *pcchActual) { + return This->lpVtbl->GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetDeviceManufacturer(IWICBitmapDecoderInfo* This,UINT cchDeviceManufacturer,WCHAR *wzDeviceManufacturer,UINT *pcchActual) { + return This->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetDeviceModels(IWICBitmapDecoderInfo* This,UINT cchDeviceModels,WCHAR *wzDeviceModels,UINT *pcchActual) { + return This->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetMimeTypes(IWICBitmapDecoderInfo* This,UINT cchMimeTypes,WCHAR *wzMimeTypes,UINT *pcchActual) { + return This->lpVtbl->GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetFileExtensions(IWICBitmapDecoderInfo* This,UINT cchFileExtensions,WCHAR *wzFileExtensions,UINT *pcchActual) { + return This->lpVtbl->GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_DoesSupportAnimation(IWICBitmapDecoderInfo* This,BOOL *pfSupportAnimation) { + return This->lpVtbl->DoesSupportAnimation(This,pfSupportAnimation); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_DoesSupportChromaKey(IWICBitmapDecoderInfo* This,BOOL *pfSupportChromaKey) { + return This->lpVtbl->DoesSupportChromaKey(This,pfSupportChromaKey); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_DoesSupportLossless(IWICBitmapDecoderInfo* This,BOOL *pfSupportLossless) { + return This->lpVtbl->DoesSupportLossless(This,pfSupportLossless); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_DoesSupportMultiframe(IWICBitmapDecoderInfo* This,BOOL *pfSupportMultiframe) { + return This->lpVtbl->DoesSupportMultiframe(This,pfSupportMultiframe); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_MatchesMimeType(IWICBitmapDecoderInfo* This,LPCWSTR wzMimeType,BOOL *pfMatches) { + return This->lpVtbl->MatchesMimeType(This,wzMimeType,pfMatches); +} +/*** IWICBitmapDecoderInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_GetPatterns(IWICBitmapDecoderInfo* This,UINT cbSizePatterns,WICBitmapPattern *pPatterns,UINT *pcPatterns,UINT *pcbPatternsActual) { + return This->lpVtbl->GetPatterns(This,cbSizePatterns,pPatterns,pcPatterns,pcbPatternsActual); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_MatchesPattern(IWICBitmapDecoderInfo* This,IStream *pIStream,BOOL *pfMatches) { + return This->lpVtbl->MatchesPattern(This,pIStream,pfMatches); +} +static FORCEINLINE HRESULT IWICBitmapDecoderInfo_CreateInstance(IWICBitmapDecoderInfo* This,IWICBitmapDecoder **ppIBitmapDecoder) { + return This->lpVtbl->CreateInstance(This,ppIBitmapDecoder); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapDecoderInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapDecoder interface + */ +#ifndef __IWICBitmapDecoder_INTERFACE_DEFINED__ +#define __IWICBitmapDecoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapDecoder, 0x9edde9e7, 0x8dee, 0x47ea, 0x99,0xdf, 0xe6,0xfa,0xf2,0xed,0x44,0xbf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9edde9e7-8dee-47ea-99df-e6faf2ed44bf") +IWICBitmapDecoder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE QueryCapability( + IStream *pIStream, + DWORD *pdwCapability) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + IStream *pIStream, + WICDecodeOptions cacheOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainerFormat( + GUID *pguidContainerFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDecoderInfo( + IWICBitmapDecoderInfo **ppIDecoderInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyPalette( + IWICPalette *pIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetadataQueryReader( + IWICMetadataQueryReader **ppIMetadataQueryReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPreview( + IWICBitmapSource **ppIBitmapSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetColorContexts( + UINT cCount, + IWICColorContext **ppIColorContexts, + UINT *pcActualCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetThumbnail( + IWICBitmapSource **ppIThumbnail) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrameCount( + UINT *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFrame( + UINT index, + IWICBitmapFrameDecode **ppIBitmapFrame) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapDecoder, 0x9edde9e7, 0x8dee, 0x47ea, 0x99,0xdf, 0xe6,0xfa,0xf2,0xed,0x44,0xbf) +#endif +#else +typedef struct IWICBitmapDecoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapDecoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapDecoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapDecoder *This); + + /*** IWICBitmapDecoder methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryCapability)( + IWICBitmapDecoder *This, + IStream *pIStream, + DWORD *pdwCapability); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICBitmapDecoder *This, + IStream *pIStream, + WICDecodeOptions cacheOptions); + + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICBitmapDecoder *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetDecoderInfo)( + IWICBitmapDecoder *This, + IWICBitmapDecoderInfo **ppIDecoderInfo); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmapDecoder *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *GetMetadataQueryReader)( + IWICBitmapDecoder *This, + IWICMetadataQueryReader **ppIMetadataQueryReader); + + HRESULT (STDMETHODCALLTYPE *GetPreview)( + IWICBitmapDecoder *This, + IWICBitmapSource **ppIBitmapSource); + + HRESULT (STDMETHODCALLTYPE *GetColorContexts)( + IWICBitmapDecoder *This, + UINT cCount, + IWICColorContext **ppIColorContexts, + UINT *pcActualCount); + + HRESULT (STDMETHODCALLTYPE *GetThumbnail)( + IWICBitmapDecoder *This, + IWICBitmapSource **ppIThumbnail); + + HRESULT (STDMETHODCALLTYPE *GetFrameCount)( + IWICBitmapDecoder *This, + UINT *pCount); + + HRESULT (STDMETHODCALLTYPE *GetFrame)( + IWICBitmapDecoder *This, + UINT index, + IWICBitmapFrameDecode **ppIBitmapFrame); + + END_INTERFACE +} IWICBitmapDecoderVtbl; + +interface IWICBitmapDecoder { + CONST_VTBL IWICBitmapDecoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapDecoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapDecoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapDecoder_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapDecoder methods ***/ +#define IWICBitmapDecoder_QueryCapability(This,pIStream,pdwCapability) (This)->lpVtbl->QueryCapability(This,pIStream,pdwCapability) +#define IWICBitmapDecoder_Initialize(This,pIStream,cacheOptions) (This)->lpVtbl->Initialize(This,pIStream,cacheOptions) +#define IWICBitmapDecoder_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICBitmapDecoder_GetDecoderInfo(This,ppIDecoderInfo) (This)->lpVtbl->GetDecoderInfo(This,ppIDecoderInfo) +#define IWICBitmapDecoder_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmapDecoder_GetMetadataQueryReader(This,ppIMetadataQueryReader) (This)->lpVtbl->GetMetadataQueryReader(This,ppIMetadataQueryReader) +#define IWICBitmapDecoder_GetPreview(This,ppIBitmapSource) (This)->lpVtbl->GetPreview(This,ppIBitmapSource) +#define IWICBitmapDecoder_GetColorContexts(This,cCount,ppIColorContexts,pcActualCount) (This)->lpVtbl->GetColorContexts(This,cCount,ppIColorContexts,pcActualCount) +#define IWICBitmapDecoder_GetThumbnail(This,ppIThumbnail) (This)->lpVtbl->GetThumbnail(This,ppIThumbnail) +#define IWICBitmapDecoder_GetFrameCount(This,pCount) (This)->lpVtbl->GetFrameCount(This,pCount) +#define IWICBitmapDecoder_GetFrame(This,index,ppIBitmapFrame) (This)->lpVtbl->GetFrame(This,index,ppIBitmapFrame) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapDecoder_QueryInterface(IWICBitmapDecoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapDecoder_AddRef(IWICBitmapDecoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapDecoder_Release(IWICBitmapDecoder* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapDecoder methods ***/ +static FORCEINLINE HRESULT IWICBitmapDecoder_QueryCapability(IWICBitmapDecoder* This,IStream *pIStream,DWORD *pdwCapability) { + return This->lpVtbl->QueryCapability(This,pIStream,pdwCapability); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_Initialize(IWICBitmapDecoder* This,IStream *pIStream,WICDecodeOptions cacheOptions) { + return This->lpVtbl->Initialize(This,pIStream,cacheOptions); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetContainerFormat(IWICBitmapDecoder* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetDecoderInfo(IWICBitmapDecoder* This,IWICBitmapDecoderInfo **ppIDecoderInfo) { + return This->lpVtbl->GetDecoderInfo(This,ppIDecoderInfo); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_CopyPalette(IWICBitmapDecoder* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetMetadataQueryReader(IWICBitmapDecoder* This,IWICMetadataQueryReader **ppIMetadataQueryReader) { + return This->lpVtbl->GetMetadataQueryReader(This,ppIMetadataQueryReader); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetPreview(IWICBitmapDecoder* This,IWICBitmapSource **ppIBitmapSource) { + return This->lpVtbl->GetPreview(This,ppIBitmapSource); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetColorContexts(IWICBitmapDecoder* This,UINT cCount,IWICColorContext **ppIColorContexts,UINT *pcActualCount) { + return This->lpVtbl->GetColorContexts(This,cCount,ppIColorContexts,pcActualCount); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetThumbnail(IWICBitmapDecoder* This,IWICBitmapSource **ppIThumbnail) { + return This->lpVtbl->GetThumbnail(This,ppIThumbnail); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetFrameCount(IWICBitmapDecoder* This,UINT *pCount) { + return This->lpVtbl->GetFrameCount(This,pCount); +} +static FORCEINLINE HRESULT IWICBitmapDecoder_GetFrame(IWICBitmapDecoder* This,UINT index,IWICBitmapFrameDecode **ppIBitmapFrame) { + return This->lpVtbl->GetFrame(This,index,ppIBitmapFrame); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapDecoder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapFrameEncode interface + */ +#ifndef __IWICBitmapFrameEncode_INTERFACE_DEFINED__ +#define __IWICBitmapFrameEncode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapFrameEncode, 0x00000105, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000105-a8f2-4877-ba0a-fd2b6645fb94") +IWICBitmapFrameEncode : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IPropertyBag2 *pIEncoderOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSize( + UINT uiWidth, + UINT uiHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetResolution( + double dpiX, + double dpiY) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPixelFormat( + WICPixelFormatGUID *pPixelFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorContexts( + UINT cCount, + IWICColorContext **ppIColorContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPalette( + IWICPalette *pIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThumbnail( + IWICBitmapSource *pIThumbnail) = 0; + + virtual HRESULT STDMETHODCALLTYPE WritePixels( + UINT lineCount, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbPixels) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteSource( + IWICBitmapSource *pIBitmapSource, + WICRect *prc) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetadataQueryWriter( + IWICMetadataQueryWriter **ppIMetadataQueryWriter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapFrameEncode, 0x00000105, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICBitmapFrameEncodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapFrameEncode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapFrameEncode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapFrameEncode *This); + + /*** IWICBitmapFrameEncode methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICBitmapFrameEncode *This, + IPropertyBag2 *pIEncoderOptions); + + HRESULT (STDMETHODCALLTYPE *SetSize)( + IWICBitmapFrameEncode *This, + UINT uiWidth, + UINT uiHeight); + + HRESULT (STDMETHODCALLTYPE *SetResolution)( + IWICBitmapFrameEncode *This, + double dpiX, + double dpiY); + + HRESULT (STDMETHODCALLTYPE *SetPixelFormat)( + IWICBitmapFrameEncode *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *SetColorContexts)( + IWICBitmapFrameEncode *This, + UINT cCount, + IWICColorContext **ppIColorContext); + + HRESULT (STDMETHODCALLTYPE *SetPalette)( + IWICBitmapFrameEncode *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *SetThumbnail)( + IWICBitmapFrameEncode *This, + IWICBitmapSource *pIThumbnail); + + HRESULT (STDMETHODCALLTYPE *WritePixels)( + IWICBitmapFrameEncode *This, + UINT lineCount, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbPixels); + + HRESULT (STDMETHODCALLTYPE *WriteSource)( + IWICBitmapFrameEncode *This, + IWICBitmapSource *pIBitmapSource, + WICRect *prc); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IWICBitmapFrameEncode *This); + + HRESULT (STDMETHODCALLTYPE *GetMetadataQueryWriter)( + IWICBitmapFrameEncode *This, + IWICMetadataQueryWriter **ppIMetadataQueryWriter); + + END_INTERFACE +} IWICBitmapFrameEncodeVtbl; + +interface IWICBitmapFrameEncode { + CONST_VTBL IWICBitmapFrameEncodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapFrameEncode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapFrameEncode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapFrameEncode_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapFrameEncode methods ***/ +#define IWICBitmapFrameEncode_Initialize(This,pIEncoderOptions) (This)->lpVtbl->Initialize(This,pIEncoderOptions) +#define IWICBitmapFrameEncode_SetSize(This,uiWidth,uiHeight) (This)->lpVtbl->SetSize(This,uiWidth,uiHeight) +#define IWICBitmapFrameEncode_SetResolution(This,dpiX,dpiY) (This)->lpVtbl->SetResolution(This,dpiX,dpiY) +#define IWICBitmapFrameEncode_SetPixelFormat(This,pPixelFormat) (This)->lpVtbl->SetPixelFormat(This,pPixelFormat) +#define IWICBitmapFrameEncode_SetColorContexts(This,cCount,ppIColorContext) (This)->lpVtbl->SetColorContexts(This,cCount,ppIColorContext) +#define IWICBitmapFrameEncode_SetPalette(This,pIPalette) (This)->lpVtbl->SetPalette(This,pIPalette) +#define IWICBitmapFrameEncode_SetThumbnail(This,pIThumbnail) (This)->lpVtbl->SetThumbnail(This,pIThumbnail) +#define IWICBitmapFrameEncode_WritePixels(This,lineCount,cbStride,cbBufferSize,pbPixels) (This)->lpVtbl->WritePixels(This,lineCount,cbStride,cbBufferSize,pbPixels) +#define IWICBitmapFrameEncode_WriteSource(This,pIBitmapSource,prc) (This)->lpVtbl->WriteSource(This,pIBitmapSource,prc) +#define IWICBitmapFrameEncode_Commit(This) (This)->lpVtbl->Commit(This) +#define IWICBitmapFrameEncode_GetMetadataQueryWriter(This,ppIMetadataQueryWriter) (This)->lpVtbl->GetMetadataQueryWriter(This,ppIMetadataQueryWriter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapFrameEncode_QueryInterface(IWICBitmapFrameEncode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapFrameEncode_AddRef(IWICBitmapFrameEncode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapFrameEncode_Release(IWICBitmapFrameEncode* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapFrameEncode methods ***/ +static FORCEINLINE HRESULT IWICBitmapFrameEncode_Initialize(IWICBitmapFrameEncode* This,IPropertyBag2 *pIEncoderOptions) { + return This->lpVtbl->Initialize(This,pIEncoderOptions); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_SetSize(IWICBitmapFrameEncode* This,UINT uiWidth,UINT uiHeight) { + return This->lpVtbl->SetSize(This,uiWidth,uiHeight); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_SetResolution(IWICBitmapFrameEncode* This,double dpiX,double dpiY) { + return This->lpVtbl->SetResolution(This,dpiX,dpiY); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_SetPixelFormat(IWICBitmapFrameEncode* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->SetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_SetColorContexts(IWICBitmapFrameEncode* This,UINT cCount,IWICColorContext **ppIColorContext) { + return This->lpVtbl->SetColorContexts(This,cCount,ppIColorContext); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_SetPalette(IWICBitmapFrameEncode* This,IWICPalette *pIPalette) { + return This->lpVtbl->SetPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_SetThumbnail(IWICBitmapFrameEncode* This,IWICBitmapSource *pIThumbnail) { + return This->lpVtbl->SetThumbnail(This,pIThumbnail); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_WritePixels(IWICBitmapFrameEncode* This,UINT lineCount,UINT cbStride,UINT cbBufferSize,BYTE *pbPixels) { + return This->lpVtbl->WritePixels(This,lineCount,cbStride,cbBufferSize,pbPixels); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_WriteSource(IWICBitmapFrameEncode* This,IWICBitmapSource *pIBitmapSource,WICRect *prc) { + return This->lpVtbl->WriteSource(This,pIBitmapSource,prc); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_Commit(IWICBitmapFrameEncode* This) { + return This->lpVtbl->Commit(This); +} +static FORCEINLINE HRESULT IWICBitmapFrameEncode_GetMetadataQueryWriter(IWICBitmapFrameEncode* This,IWICMetadataQueryWriter **ppIMetadataQueryWriter) { + return This->lpVtbl->GetMetadataQueryWriter(This,ppIMetadataQueryWriter); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapFrameEncode_INTERFACE_DEFINED__ */ + +#ifndef __IWICBitmapEncoder_FWD_DEFINED__ +#define __IWICBitmapEncoder_FWD_DEFINED__ +typedef interface IWICBitmapEncoder IWICBitmapEncoder; +#ifdef __cplusplus +interface IWICBitmapEncoder; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IWICBitmapEncoderInfo interface + */ +#ifndef __IWICBitmapEncoderInfo_INTERFACE_DEFINED__ +#define __IWICBitmapEncoderInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapEncoderInfo, 0x94c9b4ee, 0xa09f, 0x4f92, 0x8a,0x1e, 0x4a,0x9b,0xce,0x7e,0x76,0xfb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb") +IWICBitmapEncoderInfo : public IWICBitmapCodecInfo +{ + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IWICBitmapEncoder **ppIBitmapEncoder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapEncoderInfo, 0x94c9b4ee, 0xa09f, 0x4f92, 0x8a,0x1e, 0x4a,0x9b,0xce,0x7e,0x76,0xfb) +#endif +#else +typedef struct IWICBitmapEncoderInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapEncoderInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapEncoderInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapEncoderInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICBitmapEncoderInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICBitmapEncoderInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICBitmapEncoderInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICBitmapEncoderInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICBitmapEncoderInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICBitmapEncoderInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICBitmapEncoderInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICBitmapEncoderInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICBitmapCodecInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICBitmapEncoderInfo *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormats)( + IWICBitmapEncoderInfo *This, + UINT cFormats, + GUID *pguidPixelFormats, + UINT *pcActual); + + HRESULT (STDMETHODCALLTYPE *GetColorManagementVersion)( + IWICBitmapEncoderInfo *This, + UINT cchColorManagementVersion, + WCHAR *wzColorManagementVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceManufacturer)( + IWICBitmapEncoderInfo *This, + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceModels)( + IWICBitmapEncoderInfo *This, + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetMimeTypes)( + IWICBitmapEncoderInfo *This, + UINT cchMimeTypes, + WCHAR *wzMimeTypes, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFileExtensions)( + IWICBitmapEncoderInfo *This, + UINT cchFileExtensions, + WCHAR *wzFileExtensions, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *DoesSupportAnimation)( + IWICBitmapEncoderInfo *This, + BOOL *pfSupportAnimation); + + HRESULT (STDMETHODCALLTYPE *DoesSupportChromaKey)( + IWICBitmapEncoderInfo *This, + BOOL *pfSupportChromaKey); + + HRESULT (STDMETHODCALLTYPE *DoesSupportLossless)( + IWICBitmapEncoderInfo *This, + BOOL *pfSupportLossless); + + HRESULT (STDMETHODCALLTYPE *DoesSupportMultiframe)( + IWICBitmapEncoderInfo *This, + BOOL *pfSupportMultiframe); + + HRESULT (STDMETHODCALLTYPE *MatchesMimeType)( + IWICBitmapEncoderInfo *This, + LPCWSTR wzMimeType, + BOOL *pfMatches); + + /*** IWICBitmapEncoderInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IWICBitmapEncoderInfo *This, + IWICBitmapEncoder **ppIBitmapEncoder); + + END_INTERFACE +} IWICBitmapEncoderInfoVtbl; + +interface IWICBitmapEncoderInfo { + CONST_VTBL IWICBitmapEncoderInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapEncoderInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapEncoderInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapEncoderInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICBitmapEncoderInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICBitmapEncoderInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICBitmapEncoderInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICBitmapEncoderInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICBitmapEncoderInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICBitmapEncoderInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICBitmapEncoderInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICBitmapEncoderInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICBitmapCodecInfo methods ***/ +#define IWICBitmapEncoderInfo_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICBitmapEncoderInfo_GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual) (This)->lpVtbl->GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual) +#define IWICBitmapEncoderInfo_GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual) (This)->lpVtbl->GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual) +#define IWICBitmapEncoderInfo_GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) (This)->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) +#define IWICBitmapEncoderInfo_GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) (This)->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) +#define IWICBitmapEncoderInfo_GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual) (This)->lpVtbl->GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual) +#define IWICBitmapEncoderInfo_GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual) (This)->lpVtbl->GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual) +#define IWICBitmapEncoderInfo_DoesSupportAnimation(This,pfSupportAnimation) (This)->lpVtbl->DoesSupportAnimation(This,pfSupportAnimation) +#define IWICBitmapEncoderInfo_DoesSupportChromaKey(This,pfSupportChromaKey) (This)->lpVtbl->DoesSupportChromaKey(This,pfSupportChromaKey) +#define IWICBitmapEncoderInfo_DoesSupportLossless(This,pfSupportLossless) (This)->lpVtbl->DoesSupportLossless(This,pfSupportLossless) +#define IWICBitmapEncoderInfo_DoesSupportMultiframe(This,pfSupportMultiframe) (This)->lpVtbl->DoesSupportMultiframe(This,pfSupportMultiframe) +#define IWICBitmapEncoderInfo_MatchesMimeType(This,wzMimeType,pfMatches) (This)->lpVtbl->MatchesMimeType(This,wzMimeType,pfMatches) +/*** IWICBitmapEncoderInfo methods ***/ +#define IWICBitmapEncoderInfo_CreateInstance(This,ppIBitmapEncoder) (This)->lpVtbl->CreateInstance(This,ppIBitmapEncoder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_QueryInterface(IWICBitmapEncoderInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapEncoderInfo_AddRef(IWICBitmapEncoderInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapEncoderInfo_Release(IWICBitmapEncoderInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetComponentType(IWICBitmapEncoderInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetCLSID(IWICBitmapEncoderInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetSigningStatus(IWICBitmapEncoderInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetAuthor(IWICBitmapEncoderInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetVendorGUID(IWICBitmapEncoderInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetVersion(IWICBitmapEncoderInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetSpecVersion(IWICBitmapEncoderInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetFriendlyName(IWICBitmapEncoderInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICBitmapCodecInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetContainerFormat(IWICBitmapEncoderInfo* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetPixelFormats(IWICBitmapEncoderInfo* This,UINT cFormats,GUID *pguidPixelFormats,UINT *pcActual) { + return This->lpVtbl->GetPixelFormats(This,cFormats,pguidPixelFormats,pcActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetColorManagementVersion(IWICBitmapEncoderInfo* This,UINT cchColorManagementVersion,WCHAR *wzColorManagementVersion,UINT *pcchActual) { + return This->lpVtbl->GetColorManagementVersion(This,cchColorManagementVersion,wzColorManagementVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetDeviceManufacturer(IWICBitmapEncoderInfo* This,UINT cchDeviceManufacturer,WCHAR *wzDeviceManufacturer,UINT *pcchActual) { + return This->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetDeviceModels(IWICBitmapEncoderInfo* This,UINT cchDeviceModels,WCHAR *wzDeviceModels,UINT *pcchActual) { + return This->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetMimeTypes(IWICBitmapEncoderInfo* This,UINT cchMimeTypes,WCHAR *wzMimeTypes,UINT *pcchActual) { + return This->lpVtbl->GetMimeTypes(This,cchMimeTypes,wzMimeTypes,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_GetFileExtensions(IWICBitmapEncoderInfo* This,UINT cchFileExtensions,WCHAR *wzFileExtensions,UINT *pcchActual) { + return This->lpVtbl->GetFileExtensions(This,cchFileExtensions,wzFileExtensions,pcchActual); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_DoesSupportAnimation(IWICBitmapEncoderInfo* This,BOOL *pfSupportAnimation) { + return This->lpVtbl->DoesSupportAnimation(This,pfSupportAnimation); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_DoesSupportChromaKey(IWICBitmapEncoderInfo* This,BOOL *pfSupportChromaKey) { + return This->lpVtbl->DoesSupportChromaKey(This,pfSupportChromaKey); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_DoesSupportLossless(IWICBitmapEncoderInfo* This,BOOL *pfSupportLossless) { + return This->lpVtbl->DoesSupportLossless(This,pfSupportLossless); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_DoesSupportMultiframe(IWICBitmapEncoderInfo* This,BOOL *pfSupportMultiframe) { + return This->lpVtbl->DoesSupportMultiframe(This,pfSupportMultiframe); +} +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_MatchesMimeType(IWICBitmapEncoderInfo* This,LPCWSTR wzMimeType,BOOL *pfMatches) { + return This->lpVtbl->MatchesMimeType(This,wzMimeType,pfMatches); +} +/*** IWICBitmapEncoderInfo methods ***/ +static FORCEINLINE HRESULT IWICBitmapEncoderInfo_CreateInstance(IWICBitmapEncoderInfo* This,IWICBitmapEncoder **ppIBitmapEncoder) { + return This->lpVtbl->CreateInstance(This,ppIBitmapEncoder); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapEncoderInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapEncoder interface + */ +#ifndef __IWICBitmapEncoder_INTERFACE_DEFINED__ +#define __IWICBitmapEncoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapEncoder, 0x00000103, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000103-a8f2-4877-ba0a-fd2b6645fb94") +IWICBitmapEncoder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IStream *pIStream, + WICBitmapEncoderCacheOption cacheOption) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainerFormat( + GUID *pguidContainerFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEncoderInfo( + IWICBitmapEncoderInfo **ppIEncoderInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetColorContexts( + UINT cCount, + IWICColorContext **ppIColorContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPalette( + IWICPalette *pIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThumbnail( + IWICBitmapSource *pIThumbnail) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPreview( + IWICBitmapSource *pIPreview) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewFrame( + IWICBitmapFrameEncode **ppIFrameEncode, + IPropertyBag2 **ppIEncoderOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetadataQueryWriter( + IWICMetadataQueryWriter **ppIMetadataQueryWriter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapEncoder, 0x00000103, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICBitmapEncoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapEncoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapEncoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapEncoder *This); + + /*** IWICBitmapEncoder methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICBitmapEncoder *This, + IStream *pIStream, + WICBitmapEncoderCacheOption cacheOption); + + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICBitmapEncoder *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetEncoderInfo)( + IWICBitmapEncoder *This, + IWICBitmapEncoderInfo **ppIEncoderInfo); + + HRESULT (STDMETHODCALLTYPE *SetColorContexts)( + IWICBitmapEncoder *This, + UINT cCount, + IWICColorContext **ppIColorContext); + + HRESULT (STDMETHODCALLTYPE *SetPalette)( + IWICBitmapEncoder *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *SetThumbnail)( + IWICBitmapEncoder *This, + IWICBitmapSource *pIThumbnail); + + HRESULT (STDMETHODCALLTYPE *SetPreview)( + IWICBitmapEncoder *This, + IWICBitmapSource *pIPreview); + + HRESULT (STDMETHODCALLTYPE *CreateNewFrame)( + IWICBitmapEncoder *This, + IWICBitmapFrameEncode **ppIFrameEncode, + IPropertyBag2 **ppIEncoderOptions); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IWICBitmapEncoder *This); + + HRESULT (STDMETHODCALLTYPE *GetMetadataQueryWriter)( + IWICBitmapEncoder *This, + IWICMetadataQueryWriter **ppIMetadataQueryWriter); + + END_INTERFACE +} IWICBitmapEncoderVtbl; + +interface IWICBitmapEncoder { + CONST_VTBL IWICBitmapEncoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapEncoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapEncoder_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapEncoder methods ***/ +#define IWICBitmapEncoder_Initialize(This,pIStream,cacheOption) (This)->lpVtbl->Initialize(This,pIStream,cacheOption) +#define IWICBitmapEncoder_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICBitmapEncoder_GetEncoderInfo(This,ppIEncoderInfo) (This)->lpVtbl->GetEncoderInfo(This,ppIEncoderInfo) +#define IWICBitmapEncoder_SetColorContexts(This,cCount,ppIColorContext) (This)->lpVtbl->SetColorContexts(This,cCount,ppIColorContext) +#define IWICBitmapEncoder_SetPalette(This,pIPalette) (This)->lpVtbl->SetPalette(This,pIPalette) +#define IWICBitmapEncoder_SetThumbnail(This,pIThumbnail) (This)->lpVtbl->SetThumbnail(This,pIThumbnail) +#define IWICBitmapEncoder_SetPreview(This,pIPreview) (This)->lpVtbl->SetPreview(This,pIPreview) +#define IWICBitmapEncoder_CreateNewFrame(This,ppIFrameEncode,ppIEncoderOptions) (This)->lpVtbl->CreateNewFrame(This,ppIFrameEncode,ppIEncoderOptions) +#define IWICBitmapEncoder_Commit(This) (This)->lpVtbl->Commit(This) +#define IWICBitmapEncoder_GetMetadataQueryWriter(This,ppIMetadataQueryWriter) (This)->lpVtbl->GetMetadataQueryWriter(This,ppIMetadataQueryWriter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapEncoder_QueryInterface(IWICBitmapEncoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapEncoder_AddRef(IWICBitmapEncoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapEncoder_Release(IWICBitmapEncoder* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapEncoder methods ***/ +static FORCEINLINE HRESULT IWICBitmapEncoder_Initialize(IWICBitmapEncoder* This,IStream *pIStream,WICBitmapEncoderCacheOption cacheOption) { + return This->lpVtbl->Initialize(This,pIStream,cacheOption); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_GetContainerFormat(IWICBitmapEncoder* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_GetEncoderInfo(IWICBitmapEncoder* This,IWICBitmapEncoderInfo **ppIEncoderInfo) { + return This->lpVtbl->GetEncoderInfo(This,ppIEncoderInfo); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_SetColorContexts(IWICBitmapEncoder* This,UINT cCount,IWICColorContext **ppIColorContext) { + return This->lpVtbl->SetColorContexts(This,cCount,ppIColorContext); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_SetPalette(IWICBitmapEncoder* This,IWICPalette *pIPalette) { + return This->lpVtbl->SetPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_SetThumbnail(IWICBitmapEncoder* This,IWICBitmapSource *pIThumbnail) { + return This->lpVtbl->SetThumbnail(This,pIThumbnail); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_SetPreview(IWICBitmapEncoder* This,IWICBitmapSource *pIPreview) { + return This->lpVtbl->SetPreview(This,pIPreview); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_CreateNewFrame(IWICBitmapEncoder* This,IWICBitmapFrameEncode **ppIFrameEncode,IPropertyBag2 **ppIEncoderOptions) { + return This->lpVtbl->CreateNewFrame(This,ppIFrameEncode,ppIEncoderOptions); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_Commit(IWICBitmapEncoder* This) { + return This->lpVtbl->Commit(This); +} +static FORCEINLINE HRESULT IWICBitmapEncoder_GetMetadataQueryWriter(IWICBitmapEncoder* This,IWICMetadataQueryWriter **ppIMetadataQueryWriter) { + return This->lpVtbl->GetMetadataQueryWriter(This,ppIMetadataQueryWriter); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapEncoder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICFormatConverter interface + */ +#ifndef __IWICFormatConverter_INTERFACE_DEFINED__ +#define __IWICFormatConverter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICFormatConverter, 0x00000301, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000301-a8f2-4877-ba0a-fd2b6645fb94") +IWICFormatConverter : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IWICBitmapSource *pISource, + REFWICPixelFormatGUID dstFormat, + WICBitmapDitherType dither, + IWICPalette *pIPalette, + double alphaThresholdPercent, + WICBitmapPaletteType paletteTranslate) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanConvert( + REFWICPixelFormatGUID srcPixelFormat, + REFWICPixelFormatGUID dstPixelFormat, + BOOL *pfCanConvert) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICFormatConverter, 0x00000301, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICFormatConverterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICFormatConverter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICFormatConverter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICFormatConverter *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICFormatConverter *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICFormatConverter *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICFormatConverter *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICFormatConverter *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICFormatConverter *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICFormatConverter methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICFormatConverter *This, + IWICBitmapSource *pISource, + REFWICPixelFormatGUID dstFormat, + WICBitmapDitherType dither, + IWICPalette *pIPalette, + double alphaThresholdPercent, + WICBitmapPaletteType paletteTranslate); + + HRESULT (STDMETHODCALLTYPE *CanConvert)( + IWICFormatConverter *This, + REFWICPixelFormatGUID srcPixelFormat, + REFWICPixelFormatGUID dstPixelFormat, + BOOL *pfCanConvert); + + END_INTERFACE +} IWICFormatConverterVtbl; + +interface IWICFormatConverter { + CONST_VTBL IWICFormatConverterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICFormatConverter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICFormatConverter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICFormatConverter_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICFormatConverter_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICFormatConverter_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICFormatConverter_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICFormatConverter_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICFormatConverter_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICFormatConverter methods ***/ +#define IWICFormatConverter_Initialize(This,pISource,dstFormat,dither,pIPalette,alphaThresholdPercent,paletteTranslate) (This)->lpVtbl->Initialize(This,pISource,dstFormat,dither,pIPalette,alphaThresholdPercent,paletteTranslate) +#define IWICFormatConverter_CanConvert(This,srcPixelFormat,dstPixelFormat,pfCanConvert) (This)->lpVtbl->CanConvert(This,srcPixelFormat,dstPixelFormat,pfCanConvert) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICFormatConverter_QueryInterface(IWICFormatConverter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICFormatConverter_AddRef(IWICFormatConverter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICFormatConverter_Release(IWICFormatConverter* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICFormatConverter_GetSize(IWICFormatConverter* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICFormatConverter_GetPixelFormat(IWICFormatConverter* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICFormatConverter_GetResolution(IWICFormatConverter* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICFormatConverter_CopyPalette(IWICFormatConverter* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICFormatConverter_CopyPixels(IWICFormatConverter* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICFormatConverter methods ***/ +static FORCEINLINE HRESULT IWICFormatConverter_Initialize(IWICFormatConverter* This,IWICBitmapSource *pISource,REFWICPixelFormatGUID dstFormat,WICBitmapDitherType dither,IWICPalette *pIPalette,double alphaThresholdPercent,WICBitmapPaletteType paletteTranslate) { + return This->lpVtbl->Initialize(This,pISource,dstFormat,dither,pIPalette,alphaThresholdPercent,paletteTranslate); +} +static FORCEINLINE HRESULT IWICFormatConverter_CanConvert(IWICFormatConverter* This,REFWICPixelFormatGUID srcPixelFormat,REFWICPixelFormatGUID dstPixelFormat,BOOL *pfCanConvert) { + return This->lpVtbl->CanConvert(This,srcPixelFormat,dstPixelFormat,pfCanConvert); +} +#endif +#endif + +#endif + + +#endif /* __IWICFormatConverter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICFormatConverterInfo interface + */ +#ifndef __IWICFormatConverterInfo_INTERFACE_DEFINED__ +#define __IWICFormatConverterInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICFormatConverterInfo, 0x9f34fb65, 0x13f4, 0x4f15, 0xbc,0x57, 0x37,0x26,0xb5,0xe5,0x3d,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9f34fb65-13f4-4f15-bc57-3726b5e53d9f") +IWICFormatConverterInfo : public IWICComponentInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetPixelFormats( + UINT cFormats, + WICPixelFormatGUID *pPixelFormatGUIDs, + UINT *pcActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IWICFormatConverter **ppIConverter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICFormatConverterInfo, 0x9f34fb65, 0x13f4, 0x4f15, 0xbc,0x57, 0x37,0x26,0xb5,0xe5,0x3d,0x9f) +#endif +#else +typedef struct IWICFormatConverterInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICFormatConverterInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICFormatConverterInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICFormatConverterInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICFormatConverterInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICFormatConverterInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICFormatConverterInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICFormatConverterInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICFormatConverterInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICFormatConverterInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICFormatConverterInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICFormatConverterInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICFormatConverterInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPixelFormats)( + IWICFormatConverterInfo *This, + UINT cFormats, + WICPixelFormatGUID *pPixelFormatGUIDs, + UINT *pcActual); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IWICFormatConverterInfo *This, + IWICFormatConverter **ppIConverter); + + END_INTERFACE +} IWICFormatConverterInfoVtbl; + +interface IWICFormatConverterInfo { + CONST_VTBL IWICFormatConverterInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICFormatConverterInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICFormatConverterInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICFormatConverterInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICFormatConverterInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICFormatConverterInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICFormatConverterInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICFormatConverterInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICFormatConverterInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICFormatConverterInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICFormatConverterInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICFormatConverterInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICFormatConverterInfo methods ***/ +#define IWICFormatConverterInfo_GetPixelFormats(This,cFormats,pPixelFormatGUIDs,pcActual) (This)->lpVtbl->GetPixelFormats(This,cFormats,pPixelFormatGUIDs,pcActual) +#define IWICFormatConverterInfo_CreateInstance(This,ppIConverter) (This)->lpVtbl->CreateInstance(This,ppIConverter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICFormatConverterInfo_QueryInterface(IWICFormatConverterInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICFormatConverterInfo_AddRef(IWICFormatConverterInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICFormatConverterInfo_Release(IWICFormatConverterInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetComponentType(IWICFormatConverterInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetCLSID(IWICFormatConverterInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetSigningStatus(IWICFormatConverterInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetAuthor(IWICFormatConverterInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetVendorGUID(IWICFormatConverterInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetVersion(IWICFormatConverterInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetSpecVersion(IWICFormatConverterInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetFriendlyName(IWICFormatConverterInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICFormatConverterInfo methods ***/ +static FORCEINLINE HRESULT IWICFormatConverterInfo_GetPixelFormats(IWICFormatConverterInfo* This,UINT cFormats,WICPixelFormatGUID *pPixelFormatGUIDs,UINT *pcActual) { + return This->lpVtbl->GetPixelFormats(This,cFormats,pPixelFormatGUIDs,pcActual); +} +static FORCEINLINE HRESULT IWICFormatConverterInfo_CreateInstance(IWICFormatConverterInfo* This,IWICFormatConverter **ppIConverter) { + return This->lpVtbl->CreateInstance(This,ppIConverter); +} +#endif +#endif + +#endif + + +#endif /* __IWICFormatConverterInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICStream interface + */ +#ifndef __IWICStream_INTERFACE_DEFINED__ +#define __IWICStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICStream, 0x135ff860, 0x22b7, 0x4ddf, 0xb0,0xf6, 0x21,0x8f,0x4f,0x29,0x9a,0x43); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("135ff860-22b7-4ddf-b0f6-218f4f299a43") +IWICStream : public IStream +{ + virtual HRESULT STDMETHODCALLTYPE InitializeFromIStream( + IStream *pIStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromFilename( + LPCWSTR wzFileName, + DWORD dwAccessMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromMemory( + BYTE *pbBuffer, + DWORD cbBufferSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE InitializeFromIStreamRegion( + IStream *pIStream, + ULARGE_INTEGER ulOffset, + ULARGE_INTEGER ulMaxSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICStream, 0x135ff860, 0x22b7, 0x4ddf, 0xb0,0xf6, 0x21,0x8f,0x4f,0x29,0x9a,0x43) +#endif +#else +typedef struct IWICStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICStream *This); + + /*** ISequentialStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Read)( + IWICStream *This, + void *pv, + ULONG cb, + ULONG *pcbRead); + + HRESULT (STDMETHODCALLTYPE *Write)( + IWICStream *This, + const void *pv, + ULONG cb, + ULONG *pcbWritten); + + /*** IStream methods ***/ + HRESULT (STDMETHODCALLTYPE *Seek)( + IWICStream *This, + LARGE_INTEGER dlibMove, + DWORD dwOrigin, + ULARGE_INTEGER *plibNewPosition); + + HRESULT (STDMETHODCALLTYPE *SetSize)( + IWICStream *This, + ULARGE_INTEGER libNewSize); + + HRESULT (STDMETHODCALLTYPE *CopyTo)( + IWICStream *This, + IStream *pstm, + ULARGE_INTEGER cb, + ULARGE_INTEGER *pcbRead, + ULARGE_INTEGER *pcbWritten); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IWICStream *This, + DWORD grfCommitFlags); + + HRESULT (STDMETHODCALLTYPE *Revert)( + IWICStream *This); + + HRESULT (STDMETHODCALLTYPE *LockRegion)( + IWICStream *This, + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType); + + HRESULT (STDMETHODCALLTYPE *UnlockRegion)( + IWICStream *This, + ULARGE_INTEGER libOffset, + ULARGE_INTEGER cb, + DWORD dwLockType); + + HRESULT (STDMETHODCALLTYPE *Stat)( + IWICStream *This, + STATSTG *pstatstg, + DWORD grfStatFlag); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IWICStream *This, + IStream **ppstm); + + /*** IWICStream methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeFromIStream)( + IWICStream *This, + IStream *pIStream); + + HRESULT (STDMETHODCALLTYPE *InitializeFromFilename)( + IWICStream *This, + LPCWSTR wzFileName, + DWORD dwAccessMode); + + HRESULT (STDMETHODCALLTYPE *InitializeFromMemory)( + IWICStream *This, + BYTE *pbBuffer, + DWORD cbBufferSize); + + HRESULT (STDMETHODCALLTYPE *InitializeFromIStreamRegion)( + IWICStream *This, + IStream *pIStream, + ULARGE_INTEGER ulOffset, + ULARGE_INTEGER ulMaxSize); + + END_INTERFACE +} IWICStreamVtbl; + +interface IWICStream { + CONST_VTBL IWICStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICStream_Release(This) (This)->lpVtbl->Release(This) +/*** ISequentialStream methods ***/ +#define IWICStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) +#define IWICStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) +/*** IStream methods ***/ +#define IWICStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition) +#define IWICStream_SetSize(This,libNewSize) (This)->lpVtbl->SetSize(This,libNewSize) +#define IWICStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten) (This)->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten) +#define IWICStream_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags) +#define IWICStream_Revert(This) (This)->lpVtbl->Revert(This) +#define IWICStream_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType) +#define IWICStream_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType) +#define IWICStream_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag) +#define IWICStream_Clone(This,ppstm) (This)->lpVtbl->Clone(This,ppstm) +/*** IWICStream methods ***/ +#define IWICStream_InitializeFromIStream(This,pIStream) (This)->lpVtbl->InitializeFromIStream(This,pIStream) +#define IWICStream_InitializeFromFilename(This,wzFileName,dwAccessMode) (This)->lpVtbl->InitializeFromFilename(This,wzFileName,dwAccessMode) +#define IWICStream_InitializeFromMemory(This,pbBuffer,cbBufferSize) (This)->lpVtbl->InitializeFromMemory(This,pbBuffer,cbBufferSize) +#define IWICStream_InitializeFromIStreamRegion(This,pIStream,ulOffset,ulMaxSize) (This)->lpVtbl->InitializeFromIStreamRegion(This,pIStream,ulOffset,ulMaxSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICStream_QueryInterface(IWICStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICStream_AddRef(IWICStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICStream_Release(IWICStream* This) { + return This->lpVtbl->Release(This); +} +/*** ISequentialStream methods ***/ +static FORCEINLINE HRESULT IWICStream_Read(IWICStream* This,void *pv,ULONG cb,ULONG *pcbRead) { + return This->lpVtbl->Read(This,pv,cb,pcbRead); +} +static FORCEINLINE HRESULT IWICStream_Write(IWICStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { + return This->lpVtbl->Write(This,pv,cb,pcbWritten); +} +/*** IStream methods ***/ +static FORCEINLINE HRESULT IWICStream_Seek(IWICStream* This,LARGE_INTEGER dlibMove,DWORD dwOrigin,ULARGE_INTEGER *plibNewPosition) { + return This->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition); +} +static FORCEINLINE HRESULT IWICStream_SetSize(IWICStream* This,ULARGE_INTEGER libNewSize) { + return This->lpVtbl->SetSize(This,libNewSize); +} +static FORCEINLINE HRESULT IWICStream_CopyTo(IWICStream* This,IStream *pstm,ULARGE_INTEGER cb,ULARGE_INTEGER *pcbRead,ULARGE_INTEGER *pcbWritten) { + return This->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten); +} +static FORCEINLINE HRESULT IWICStream_Commit(IWICStream* This,DWORD grfCommitFlags) { + return This->lpVtbl->Commit(This,grfCommitFlags); +} +static FORCEINLINE HRESULT IWICStream_Revert(IWICStream* This) { + return This->lpVtbl->Revert(This); +} +static FORCEINLINE HRESULT IWICStream_LockRegion(IWICStream* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { + return This->lpVtbl->LockRegion(This,libOffset,cb,dwLockType); +} +static FORCEINLINE HRESULT IWICStream_UnlockRegion(IWICStream* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { + return This->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType); +} +static FORCEINLINE HRESULT IWICStream_Stat(IWICStream* This,STATSTG *pstatstg,DWORD grfStatFlag) { + return This->lpVtbl->Stat(This,pstatstg,grfStatFlag); +} +static FORCEINLINE HRESULT IWICStream_Clone(IWICStream* This,IStream **ppstm) { + return This->lpVtbl->Clone(This,ppstm); +} +/*** IWICStream methods ***/ +static FORCEINLINE HRESULT IWICStream_InitializeFromIStream(IWICStream* This,IStream *pIStream) { + return This->lpVtbl->InitializeFromIStream(This,pIStream); +} +static FORCEINLINE HRESULT IWICStream_InitializeFromFilename(IWICStream* This,LPCWSTR wzFileName,DWORD dwAccessMode) { + return This->lpVtbl->InitializeFromFilename(This,wzFileName,dwAccessMode); +} +static FORCEINLINE HRESULT IWICStream_InitializeFromMemory(IWICStream* This,BYTE *pbBuffer,DWORD cbBufferSize) { + return This->lpVtbl->InitializeFromMemory(This,pbBuffer,cbBufferSize); +} +static FORCEINLINE HRESULT IWICStream_InitializeFromIStreamRegion(IWICStream* This,IStream *pIStream,ULARGE_INTEGER ulOffset,ULARGE_INTEGER ulMaxSize) { + return This->lpVtbl->InitializeFromIStreamRegion(This,pIStream,ulOffset,ulMaxSize); +} +#endif +#endif + +#endif + + +#endif /* __IWICStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapScaler interface + */ +#ifndef __IWICBitmapScaler_INTERFACE_DEFINED__ +#define __IWICBitmapScaler_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapScaler, 0x00000302, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000302-a8f2-4877-ba0a-fd2b6645fb94") +IWICBitmapScaler : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IWICBitmapSource *pISource, + UINT uiWidth, + UINT uiHeight, + WICBitmapInterpolationMode mode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapScaler, 0x00000302, 0xa8f2, 0x4877, 0xba,0x0a, 0xfd,0x2b,0x66,0x45,0xfb,0x94) +#endif +#else +typedef struct IWICBitmapScalerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapScaler *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapScaler *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapScaler *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmapScaler *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmapScaler *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICBitmapScaler *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmapScaler *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICBitmapScaler *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICBitmapScaler methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICBitmapScaler *This, + IWICBitmapSource *pISource, + UINT uiWidth, + UINT uiHeight, + WICBitmapInterpolationMode mode); + + END_INTERFACE +} IWICBitmapScalerVtbl; + +interface IWICBitmapScaler { + CONST_VTBL IWICBitmapScalerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapScaler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapScaler_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapScaler_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICBitmapScaler_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICBitmapScaler_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICBitmapScaler_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICBitmapScaler_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmapScaler_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICBitmapScaler methods ***/ +#define IWICBitmapScaler_Initialize(This,pISource,uiWidth,uiHeight,mode) (This)->lpVtbl->Initialize(This,pISource,uiWidth,uiHeight,mode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapScaler_QueryInterface(IWICBitmapScaler* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapScaler_AddRef(IWICBitmapScaler* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapScaler_Release(IWICBitmapScaler* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICBitmapScaler_GetSize(IWICBitmapScaler* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICBitmapScaler_GetPixelFormat(IWICBitmapScaler* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmapScaler_GetResolution(IWICBitmapScaler* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICBitmapScaler_CopyPalette(IWICBitmapScaler* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapScaler_CopyPixels(IWICBitmapScaler* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICBitmapScaler methods ***/ +static FORCEINLINE HRESULT IWICBitmapScaler_Initialize(IWICBitmapScaler* This,IWICBitmapSource *pISource,UINT uiWidth,UINT uiHeight,WICBitmapInterpolationMode mode) { + return This->lpVtbl->Initialize(This,pISource,uiWidth,uiHeight,mode); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapScaler_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICBitmapClipper interface + */ +#ifndef __IWICBitmapClipper_INTERFACE_DEFINED__ +#define __IWICBitmapClipper_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICBitmapClipper, 0xe4fbcf03, 0x223d, 0x4e81, 0x93,0x33, 0xd6,0x35,0x55,0x6d,0xd1,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e4fbcf03-223d-4e81-9333-d635556dd1b5") +IWICBitmapClipper : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IWICBitmapSource *pISource, + const WICRect *prc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICBitmapClipper, 0xe4fbcf03, 0x223d, 0x4e81, 0x93,0x33, 0xd6,0x35,0x55,0x6d,0xd1,0xb5) +#endif +#else +typedef struct IWICBitmapClipperVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICBitmapClipper *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICBitmapClipper *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICBitmapClipper *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICBitmapClipper *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICBitmapClipper *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICBitmapClipper *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICBitmapClipper *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICBitmapClipper *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICBitmapClipper methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICBitmapClipper *This, + IWICBitmapSource *pISource, + const WICRect *prc); + + END_INTERFACE +} IWICBitmapClipperVtbl; + +interface IWICBitmapClipper { + CONST_VTBL IWICBitmapClipperVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICBitmapClipper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICBitmapClipper_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICBitmapClipper_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICBitmapClipper_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICBitmapClipper_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICBitmapClipper_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICBitmapClipper_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICBitmapClipper_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICBitmapClipper methods ***/ +#define IWICBitmapClipper_Initialize(This,pISource,prc) (This)->lpVtbl->Initialize(This,pISource,prc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICBitmapClipper_QueryInterface(IWICBitmapClipper* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICBitmapClipper_AddRef(IWICBitmapClipper* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICBitmapClipper_Release(IWICBitmapClipper* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICBitmapClipper_GetSize(IWICBitmapClipper* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICBitmapClipper_GetPixelFormat(IWICBitmapClipper* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICBitmapClipper_GetResolution(IWICBitmapClipper* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICBitmapClipper_CopyPalette(IWICBitmapClipper* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICBitmapClipper_CopyPixels(IWICBitmapClipper* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICBitmapClipper methods ***/ +static FORCEINLINE HRESULT IWICBitmapClipper_Initialize(IWICBitmapClipper* This,IWICBitmapSource *pISource,const WICRect *prc) { + return This->lpVtbl->Initialize(This,pISource,prc); +} +#endif +#endif + +#endif + + +#endif /* __IWICBitmapClipper_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICColorTransform interface + */ +#ifndef __IWICColorTransform_INTERFACE_DEFINED__ +#define __IWICColorTransform_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICColorTransform, 0xb66f034f, 0xd0e2, 0x40ab, 0xb4,0x36, 0x6d,0xe3,0x9e,0x32,0x1a,0x94); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b66f034f-d0e2-40ab-b436-6de39e321a94") +IWICColorTransform : public IWICBitmapSource +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + IWICBitmapSource *pIBitmapSource, + IWICColorContext *pIContextSource, + IWICColorContext *pIContextDest, + REFWICPixelFormatGUID pixelFmtDest) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICColorTransform, 0xb66f034f, 0xd0e2, 0x40ab, 0xb4,0x36, 0x6d,0xe3,0x9e,0x32,0x1a,0x94) +#endif +#else +typedef struct IWICColorTransformVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICColorTransform *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICColorTransform *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICColorTransform *This); + + /*** IWICBitmapSource methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSize)( + IWICColorTransform *This, + UINT *puiWidth, + UINT *puiHeight); + + HRESULT (STDMETHODCALLTYPE *GetPixelFormat)( + IWICColorTransform *This, + WICPixelFormatGUID *pPixelFormat); + + HRESULT (STDMETHODCALLTYPE *GetResolution)( + IWICColorTransform *This, + double *pDpiX, + double *pDpiY); + + HRESULT (STDMETHODCALLTYPE *CopyPalette)( + IWICColorTransform *This, + IWICPalette *pIPalette); + + HRESULT (STDMETHODCALLTYPE *CopyPixels)( + IWICColorTransform *This, + const WICRect *prc, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer); + + /*** IWICColorTransform methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + IWICColorTransform *This, + IWICBitmapSource *pIBitmapSource, + IWICColorContext *pIContextSource, + IWICColorContext *pIContextDest, + REFWICPixelFormatGUID pixelFmtDest); + + END_INTERFACE +} IWICColorTransformVtbl; + +interface IWICColorTransform { + CONST_VTBL IWICColorTransformVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICColorTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICColorTransform_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICColorTransform_Release(This) (This)->lpVtbl->Release(This) +/*** IWICBitmapSource methods ***/ +#define IWICColorTransform_GetSize(This,puiWidth,puiHeight) (This)->lpVtbl->GetSize(This,puiWidth,puiHeight) +#define IWICColorTransform_GetPixelFormat(This,pPixelFormat) (This)->lpVtbl->GetPixelFormat(This,pPixelFormat) +#define IWICColorTransform_GetResolution(This,pDpiX,pDpiY) (This)->lpVtbl->GetResolution(This,pDpiX,pDpiY) +#define IWICColorTransform_CopyPalette(This,pIPalette) (This)->lpVtbl->CopyPalette(This,pIPalette) +#define IWICColorTransform_CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) (This)->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer) +/*** IWICColorTransform methods ***/ +#define IWICColorTransform_Initialize(This,pIBitmapSource,pIContextSource,pIContextDest,pixelFmtDest) (This)->lpVtbl->Initialize(This,pIBitmapSource,pIContextSource,pIContextDest,pixelFmtDest) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICColorTransform_QueryInterface(IWICColorTransform* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICColorTransform_AddRef(IWICColorTransform* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICColorTransform_Release(IWICColorTransform* This) { + return This->lpVtbl->Release(This); +} +/*** IWICBitmapSource methods ***/ +static FORCEINLINE HRESULT IWICColorTransform_GetSize(IWICColorTransform* This,UINT *puiWidth,UINT *puiHeight) { + return This->lpVtbl->GetSize(This,puiWidth,puiHeight); +} +static FORCEINLINE HRESULT IWICColorTransform_GetPixelFormat(IWICColorTransform* This,WICPixelFormatGUID *pPixelFormat) { + return This->lpVtbl->GetPixelFormat(This,pPixelFormat); +} +static FORCEINLINE HRESULT IWICColorTransform_GetResolution(IWICColorTransform* This,double *pDpiX,double *pDpiY) { + return This->lpVtbl->GetResolution(This,pDpiX,pDpiY); +} +static FORCEINLINE HRESULT IWICColorTransform_CopyPalette(IWICColorTransform* This,IWICPalette *pIPalette) { + return This->lpVtbl->CopyPalette(This,pIPalette); +} +static FORCEINLINE HRESULT IWICColorTransform_CopyPixels(IWICColorTransform* This,const WICRect *prc,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer) { + return This->lpVtbl->CopyPixels(This,prc,cbStride,cbBufferSize,pbBuffer); +} +/*** IWICColorTransform methods ***/ +static FORCEINLINE HRESULT IWICColorTransform_Initialize(IWICColorTransform* This,IWICBitmapSource *pIBitmapSource,IWICColorContext *pIContextSource,IWICColorContext *pIContextDest,REFWICPixelFormatGUID pixelFmtDest) { + return This->lpVtbl->Initialize(This,pIBitmapSource,pIContextSource,pIContextDest,pixelFmtDest); +} +#endif +#endif + +#endif + + +#endif /* __IWICColorTransform_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICFastMetadataEncoder interface + */ +#ifndef __IWICFastMetadataEncoder_INTERFACE_DEFINED__ +#define __IWICFastMetadataEncoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICFastMetadataEncoder, 0xb84e2c09, 0x78c9, 0x4ac4, 0x8b,0xd3, 0x52,0x4a,0xe1,0x66,0x3a,0x2f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b84e2c09-78c9-4ac4-8bd3-524ae1663a2f") +IWICFastMetadataEncoder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Commit( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetadataQueryWriter( + IWICMetadataQueryWriter **ppIMetadataQueryWriter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICFastMetadataEncoder, 0xb84e2c09, 0x78c9, 0x4ac4, 0x8b,0xd3, 0x52,0x4a,0xe1,0x66,0x3a,0x2f) +#endif +#else +typedef struct IWICFastMetadataEncoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICFastMetadataEncoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICFastMetadataEncoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICFastMetadataEncoder *This); + + /*** IWICFastMetadataEncoder methods ***/ + HRESULT (STDMETHODCALLTYPE *Commit)( + IWICFastMetadataEncoder *This); + + HRESULT (STDMETHODCALLTYPE *GetMetadataQueryWriter)( + IWICFastMetadataEncoder *This, + IWICMetadataQueryWriter **ppIMetadataQueryWriter); + + END_INTERFACE +} IWICFastMetadataEncoderVtbl; + +interface IWICFastMetadataEncoder { + CONST_VTBL IWICFastMetadataEncoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICFastMetadataEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICFastMetadataEncoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICFastMetadataEncoder_Release(This) (This)->lpVtbl->Release(This) +/*** IWICFastMetadataEncoder methods ***/ +#define IWICFastMetadataEncoder_Commit(This) (This)->lpVtbl->Commit(This) +#define IWICFastMetadataEncoder_GetMetadataQueryWriter(This,ppIMetadataQueryWriter) (This)->lpVtbl->GetMetadataQueryWriter(This,ppIMetadataQueryWriter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICFastMetadataEncoder_QueryInterface(IWICFastMetadataEncoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICFastMetadataEncoder_AddRef(IWICFastMetadataEncoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICFastMetadataEncoder_Release(IWICFastMetadataEncoder* This) { + return This->lpVtbl->Release(This); +} +/*** IWICFastMetadataEncoder methods ***/ +static FORCEINLINE HRESULT IWICFastMetadataEncoder_Commit(IWICFastMetadataEncoder* This) { + return This->lpVtbl->Commit(This); +} +static FORCEINLINE HRESULT IWICFastMetadataEncoder_GetMetadataQueryWriter(IWICFastMetadataEncoder* This,IWICMetadataQueryWriter **ppIMetadataQueryWriter) { + return This->lpVtbl->GetMetadataQueryWriter(This,ppIMetadataQueryWriter); +} +#endif +#endif + +#endif + + +#endif /* __IWICFastMetadataEncoder_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICImageEncoder interface + */ +#ifndef __IWICImageEncoder_INTERFACE_DEFINED__ +#define __IWICImageEncoder_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICImageEncoder, 0x04c75bf8, 0x3ce1, 0x473b, 0xac,0xc5, 0x3c,0xc4,0xf5,0xe9,0x49,0x99); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("04c75bf8-3ce1-473b-acc5-3cc4f5e94999") +IWICImageEncoder : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE WriteFrame( + ID2D1Image *image, + IWICBitmapFrameEncode *encode, + const WICImageParameters *parameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteFrameThumbnail( + ID2D1Image *image, + IWICBitmapFrameEncode *encode, + const WICImageParameters *parameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteThumbnail( + ID2D1Image *image, + IWICBitmapEncoder *encoder, + const WICImageParameters *parameters) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICImageEncoder, 0x04c75bf8, 0x3ce1, 0x473b, 0xac,0xc5, 0x3c,0xc4,0xf5,0xe9,0x49,0x99) +#endif +#else +typedef struct IWICImageEncoderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICImageEncoder *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICImageEncoder *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICImageEncoder *This); + + /*** IWICImageEncoder methods ***/ + HRESULT (STDMETHODCALLTYPE *WriteFrame)( + IWICImageEncoder *This, + ID2D1Image *image, + IWICBitmapFrameEncode *encode, + const WICImageParameters *parameters); + + HRESULT (STDMETHODCALLTYPE *WriteFrameThumbnail)( + IWICImageEncoder *This, + ID2D1Image *image, + IWICBitmapFrameEncode *encode, + const WICImageParameters *parameters); + + HRESULT (STDMETHODCALLTYPE *WriteThumbnail)( + IWICImageEncoder *This, + ID2D1Image *image, + IWICBitmapEncoder *encoder, + const WICImageParameters *parameters); + + END_INTERFACE +} IWICImageEncoderVtbl; + +interface IWICImageEncoder { + CONST_VTBL IWICImageEncoderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICImageEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICImageEncoder_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICImageEncoder_Release(This) (This)->lpVtbl->Release(This) +/*** IWICImageEncoder methods ***/ +#define IWICImageEncoder_WriteFrame(This,image,encode,parameters) (This)->lpVtbl->WriteFrame(This,image,encode,parameters) +#define IWICImageEncoder_WriteFrameThumbnail(This,image,encode,parameters) (This)->lpVtbl->WriteFrameThumbnail(This,image,encode,parameters) +#define IWICImageEncoder_WriteThumbnail(This,image,encoder,parameters) (This)->lpVtbl->WriteThumbnail(This,image,encoder,parameters) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICImageEncoder_QueryInterface(IWICImageEncoder* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICImageEncoder_AddRef(IWICImageEncoder* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICImageEncoder_Release(IWICImageEncoder* This) { + return This->lpVtbl->Release(This); +} +/*** IWICImageEncoder methods ***/ +static FORCEINLINE HRESULT IWICImageEncoder_WriteFrame(IWICImageEncoder* This,ID2D1Image *image,IWICBitmapFrameEncode *encode,const WICImageParameters *parameters) { + return This->lpVtbl->WriteFrame(This,image,encode,parameters); +} +static FORCEINLINE HRESULT IWICImageEncoder_WriteFrameThumbnail(IWICImageEncoder* This,ID2D1Image *image,IWICBitmapFrameEncode *encode,const WICImageParameters *parameters) { + return This->lpVtbl->WriteFrameThumbnail(This,image,encode,parameters); +} +static FORCEINLINE HRESULT IWICImageEncoder_WriteThumbnail(IWICImageEncoder* This,ID2D1Image *image,IWICBitmapEncoder *encoder,const WICImageParameters *parameters) { + return This->lpVtbl->WriteThumbnail(This,image,encoder,parameters); +} +#endif +#endif + +#endif + + +#endif /* __IWICImageEncoder_INTERFACE_DEFINED__ */ + +DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a); +DEFINE_GUID(CLSID_WICImagingFactory1, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a); +DEFINE_GUID(CLSID_WICImagingFactory2, 0x317d06e8,0x5f24,0x433d,0xbd,0xf7,0x79,0xce,0x68,0xd8,0xab,0xc2); +/***************************************************************************** + * IWICImagingFactory interface + */ +#ifndef __IWICImagingFactory_INTERFACE_DEFINED__ +#define __IWICImagingFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICImagingFactory, 0xec5ec8a9, 0xc395, 0x4314, 0x9c,0x77, 0x54,0xd7,0xa9,0x35,0xff,0x70); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ec5ec8a9-c395-4314-9c77-54d7a935ff70") +IWICImagingFactory : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateDecoderFromFilename( + LPCWSTR wzFilename, + const GUID *pguidVendor, + DWORD dwDesiredAccess, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDecoderFromStream( + IStream *pIStream, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDecoderFromFileHandle( + ULONG_PTR hFile, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateComponentInfo( + REFCLSID clsidComponent, + IWICComponentInfo **ppIInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDecoder( + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapDecoder **ppIDecoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateEncoder( + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapEncoder **ppIEncoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePalette( + IWICPalette **ppIPalette) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFormatConverter( + IWICFormatConverter **ppIFormatConverter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapScaler( + IWICBitmapScaler **ppIBitmapScaler) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapClipper( + IWICBitmapClipper **ppIBitmapClipper) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFlipRotator( + IWICBitmapFlipRotator **ppIBitmapFlipRotator) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateStream( + IWICStream **ppIWICStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateColorContext( + IWICColorContext **ppIWICColorContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateColorTransformer( + IWICColorTransform **ppIWICColorTransform) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmap( + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFromSource( + IWICBitmapSource *piBitmapSource, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFromSourceRect( + IWICBitmapSource *piBitmapSource, + UINT x, + UINT y, + UINT width, + UINT height, + IWICBitmap **ppIBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFromMemory( + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer, + IWICBitmap **ppIBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFromHBITMAP( + HBITMAP hBitmap, + HPALETTE hPalette, + WICBitmapAlphaChannelOption options, + IWICBitmap **ppIBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateBitmapFromHICON( + HICON hIcon, + IWICBitmap **ppIBitmap) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateComponentEnumerator( + DWORD componentTypes, + DWORD options, + IEnumUnknown **ppIEnumUnknown) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFastMetadataEncoderFromDecoder( + IWICBitmapDecoder *pIDecoder, + IWICFastMetadataEncoder **ppIFastEncoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateFastMetadataEncoderFromFrameDecode( + IWICBitmapFrameDecode *pIFrameDecoder, + IWICFastMetadataEncoder **ppIFastEncoder) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQueryWriter( + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQueryWriterFromReader( + IWICMetadataQueryReader *pIQueryReader, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICImagingFactory, 0xec5ec8a9, 0xc395, 0x4314, 0x9c,0x77, 0x54,0xd7,0xa9,0x35,0xff,0x70) +#endif +#else +typedef struct IWICImagingFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICImagingFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICImagingFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICImagingFactory *This); + + /*** IWICImagingFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromFilename)( + IWICImagingFactory *This, + LPCWSTR wzFilename, + const GUID *pguidVendor, + DWORD dwDesiredAccess, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromStream)( + IWICImagingFactory *This, + IStream *pIStream, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromFileHandle)( + IWICImagingFactory *This, + ULONG_PTR hFile, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateComponentInfo)( + IWICImagingFactory *This, + REFCLSID clsidComponent, + IWICComponentInfo **ppIInfo); + + HRESULT (STDMETHODCALLTYPE *CreateDecoder)( + IWICImagingFactory *This, + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateEncoder)( + IWICImagingFactory *This, + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapEncoder **ppIEncoder); + + HRESULT (STDMETHODCALLTYPE *CreatePalette)( + IWICImagingFactory *This, + IWICPalette **ppIPalette); + + HRESULT (STDMETHODCALLTYPE *CreateFormatConverter)( + IWICImagingFactory *This, + IWICFormatConverter **ppIFormatConverter); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapScaler)( + IWICImagingFactory *This, + IWICBitmapScaler **ppIBitmapScaler); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapClipper)( + IWICImagingFactory *This, + IWICBitmapClipper **ppIBitmapClipper); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFlipRotator)( + IWICImagingFactory *This, + IWICBitmapFlipRotator **ppIBitmapFlipRotator); + + HRESULT (STDMETHODCALLTYPE *CreateStream)( + IWICImagingFactory *This, + IWICStream **ppIWICStream); + + HRESULT (STDMETHODCALLTYPE *CreateColorContext)( + IWICImagingFactory *This, + IWICColorContext **ppIWICColorContext); + + HRESULT (STDMETHODCALLTYPE *CreateColorTransformer)( + IWICImagingFactory *This, + IWICColorTransform **ppIWICColorTransform); + + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + IWICImagingFactory *This, + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromSource)( + IWICImagingFactory *This, + IWICBitmapSource *piBitmapSource, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromSourceRect)( + IWICImagingFactory *This, + IWICBitmapSource *piBitmapSource, + UINT x, + UINT y, + UINT width, + UINT height, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromMemory)( + IWICImagingFactory *This, + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromHBITMAP)( + IWICImagingFactory *This, + HBITMAP hBitmap, + HPALETTE hPalette, + WICBitmapAlphaChannelOption options, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromHICON)( + IWICImagingFactory *This, + HICON hIcon, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateComponentEnumerator)( + IWICImagingFactory *This, + DWORD componentTypes, + DWORD options, + IEnumUnknown **ppIEnumUnknown); + + HRESULT (STDMETHODCALLTYPE *CreateFastMetadataEncoderFromDecoder)( + IWICImagingFactory *This, + IWICBitmapDecoder *pIDecoder, + IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT (STDMETHODCALLTYPE *CreateFastMetadataEncoderFromFrameDecode)( + IWICImagingFactory *This, + IWICBitmapFrameDecode *pIFrameDecoder, + IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriter)( + IWICImagingFactory *This, + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriterFromReader)( + IWICImagingFactory *This, + IWICMetadataQueryReader *pIQueryReader, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter); + + END_INTERFACE +} IWICImagingFactoryVtbl; + +interface IWICImagingFactory { + CONST_VTBL IWICImagingFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICImagingFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICImagingFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICImagingFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IWICImagingFactory methods ***/ +#define IWICImagingFactory_CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder) +#define IWICImagingFactory_CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder) +#define IWICImagingFactory_CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder) +#define IWICImagingFactory_CreateComponentInfo(This,clsidComponent,ppIInfo) (This)->lpVtbl->CreateComponentInfo(This,clsidComponent,ppIInfo) +#define IWICImagingFactory_CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder) (This)->lpVtbl->CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder) +#define IWICImagingFactory_CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder) (This)->lpVtbl->CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder) +#define IWICImagingFactory_CreatePalette(This,ppIPalette) (This)->lpVtbl->CreatePalette(This,ppIPalette) +#define IWICImagingFactory_CreateFormatConverter(This,ppIFormatConverter) (This)->lpVtbl->CreateFormatConverter(This,ppIFormatConverter) +#define IWICImagingFactory_CreateBitmapScaler(This,ppIBitmapScaler) (This)->lpVtbl->CreateBitmapScaler(This,ppIBitmapScaler) +#define IWICImagingFactory_CreateBitmapClipper(This,ppIBitmapClipper) (This)->lpVtbl->CreateBitmapClipper(This,ppIBitmapClipper) +#define IWICImagingFactory_CreateBitmapFlipRotator(This,ppIBitmapFlipRotator) (This)->lpVtbl->CreateBitmapFlipRotator(This,ppIBitmapFlipRotator) +#define IWICImagingFactory_CreateStream(This,ppIWICStream) (This)->lpVtbl->CreateStream(This,ppIWICStream) +#define IWICImagingFactory_CreateColorContext(This,ppIWICColorContext) (This)->lpVtbl->CreateColorContext(This,ppIWICColorContext) +#define IWICImagingFactory_CreateColorTransformer(This,ppIWICColorTransform) (This)->lpVtbl->CreateColorTransformer(This,ppIWICColorTransform) +#define IWICImagingFactory_CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap) (This)->lpVtbl->CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap) +#define IWICImagingFactory_CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap) (This)->lpVtbl->CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap) +#define IWICImagingFactory_CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap) (This)->lpVtbl->CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap) +#define IWICImagingFactory_CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap) (This)->lpVtbl->CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap) +#define IWICImagingFactory_CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap) (This)->lpVtbl->CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap) +#define IWICImagingFactory_CreateBitmapFromHICON(This,hIcon,ppIBitmap) (This)->lpVtbl->CreateBitmapFromHICON(This,hIcon,ppIBitmap) +#define IWICImagingFactory_CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown) (This)->lpVtbl->CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown) +#define IWICImagingFactory_CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder) (This)->lpVtbl->CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder) +#define IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder) (This)->lpVtbl->CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder) +#define IWICImagingFactory_CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter) +#define IWICImagingFactory_CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICImagingFactory_QueryInterface(IWICImagingFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICImagingFactory_AddRef(IWICImagingFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICImagingFactory_Release(IWICImagingFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IWICImagingFactory methods ***/ +static FORCEINLINE HRESULT IWICImagingFactory_CreateDecoderFromFilename(IWICImagingFactory* This,LPCWSTR wzFilename,const GUID *pguidVendor,DWORD dwDesiredAccess,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateDecoderFromStream(IWICImagingFactory* This,IStream *pIStream,const GUID *pguidVendor,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateDecoderFromFileHandle(IWICImagingFactory* This,ULONG_PTR hFile,const GUID *pguidVendor,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateComponentInfo(IWICImagingFactory* This,REFCLSID clsidComponent,IWICComponentInfo **ppIInfo) { + return This->lpVtbl->CreateComponentInfo(This,clsidComponent,ppIInfo); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateDecoder(IWICImagingFactory* This,REFGUID guidContainerFormat,const GUID *pguidVendor,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateEncoder(IWICImagingFactory* This,REFGUID guidContainerFormat,const GUID *pguidVendor,IWICBitmapEncoder **ppIEncoder) { + return This->lpVtbl->CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreatePalette(IWICImagingFactory* This,IWICPalette **ppIPalette) { + return This->lpVtbl->CreatePalette(This,ppIPalette); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateFormatConverter(IWICImagingFactory* This,IWICFormatConverter **ppIFormatConverter) { + return This->lpVtbl->CreateFormatConverter(This,ppIFormatConverter); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapScaler(IWICImagingFactory* This,IWICBitmapScaler **ppIBitmapScaler) { + return This->lpVtbl->CreateBitmapScaler(This,ppIBitmapScaler); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapClipper(IWICImagingFactory* This,IWICBitmapClipper **ppIBitmapClipper) { + return This->lpVtbl->CreateBitmapClipper(This,ppIBitmapClipper); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapFlipRotator(IWICImagingFactory* This,IWICBitmapFlipRotator **ppIBitmapFlipRotator) { + return This->lpVtbl->CreateBitmapFlipRotator(This,ppIBitmapFlipRotator); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateStream(IWICImagingFactory* This,IWICStream **ppIWICStream) { + return This->lpVtbl->CreateStream(This,ppIWICStream); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateColorContext(IWICImagingFactory* This,IWICColorContext **ppIWICColorContext) { + return This->lpVtbl->CreateColorContext(This,ppIWICColorContext); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateColorTransformer(IWICImagingFactory* This,IWICColorTransform **ppIWICColorTransform) { + return This->lpVtbl->CreateColorTransformer(This,ppIWICColorTransform); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmap(IWICImagingFactory* This,UINT uiWidth,UINT uiHeight,REFWICPixelFormatGUID pixelFormat,WICBitmapCreateCacheOption option,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapFromSource(IWICImagingFactory* This,IWICBitmapSource *piBitmapSource,WICBitmapCreateCacheOption option,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapFromSourceRect(IWICImagingFactory* This,IWICBitmapSource *piBitmapSource,UINT x,UINT y,UINT width,UINT height,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapFromMemory(IWICImagingFactory* This,UINT uiWidth,UINT uiHeight,REFWICPixelFormatGUID pixelFormat,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapFromHBITMAP(IWICImagingFactory* This,HBITMAP hBitmap,HPALETTE hPalette,WICBitmapAlphaChannelOption options,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateBitmapFromHICON(IWICImagingFactory* This,HICON hIcon,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromHICON(This,hIcon,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateComponentEnumerator(IWICImagingFactory* This,DWORD componentTypes,DWORD options,IEnumUnknown **ppIEnumUnknown) { + return This->lpVtbl->CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateFastMetadataEncoderFromDecoder(IWICImagingFactory* This,IWICBitmapDecoder *pIDecoder,IWICFastMetadataEncoder **ppIFastEncoder) { + return This->lpVtbl->CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode(IWICImagingFactory* This,IWICBitmapFrameDecode *pIFrameDecoder,IWICFastMetadataEncoder **ppIFastEncoder) { + return This->lpVtbl->CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateQueryWriter(IWICImagingFactory* This,REFGUID guidMetadataFormat,const GUID *pguidVendor,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter); +} +static FORCEINLINE HRESULT IWICImagingFactory_CreateQueryWriterFromReader(IWICImagingFactory* This,IWICMetadataQueryReader *pIQueryReader,const GUID *pguidVendor,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter); +} +#endif +#endif + +#endif + + +#endif /* __IWICImagingFactory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICImagingFactory2 interface + */ +#ifndef __IWICImagingFactory2_INTERFACE_DEFINED__ +#define __IWICImagingFactory2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICImagingFactory2, 0x7b816b45, 0x1996, 0x4476, 0xb1,0x32, 0xde,0x9e,0x24,0x7c,0x8a,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7b816b45-1996-4476-b132-de9e247c8af0") +IWICImagingFactory2 : public IWICImagingFactory +{ + virtual HRESULT STDMETHODCALLTYPE CreateImageEncoder( + ID2D1Device *device, + IWICImageEncoder **encoder) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICImagingFactory2, 0x7b816b45, 0x1996, 0x4476, 0xb1,0x32, 0xde,0x9e,0x24,0x7c,0x8a,0xf0) +#endif +#else +typedef struct IWICImagingFactory2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICImagingFactory2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICImagingFactory2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICImagingFactory2 *This); + + /*** IWICImagingFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromFilename)( + IWICImagingFactory2 *This, + LPCWSTR wzFilename, + const GUID *pguidVendor, + DWORD dwDesiredAccess, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromStream)( + IWICImagingFactory2 *This, + IStream *pIStream, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromFileHandle)( + IWICImagingFactory2 *This, + ULONG_PTR hFile, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateComponentInfo)( + IWICImagingFactory2 *This, + REFCLSID clsidComponent, + IWICComponentInfo **ppIInfo); + + HRESULT (STDMETHODCALLTYPE *CreateDecoder)( + IWICImagingFactory2 *This, + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateEncoder)( + IWICImagingFactory2 *This, + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapEncoder **ppIEncoder); + + HRESULT (STDMETHODCALLTYPE *CreatePalette)( + IWICImagingFactory2 *This, + IWICPalette **ppIPalette); + + HRESULT (STDMETHODCALLTYPE *CreateFormatConverter)( + IWICImagingFactory2 *This, + IWICFormatConverter **ppIFormatConverter); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapScaler)( + IWICImagingFactory2 *This, + IWICBitmapScaler **ppIBitmapScaler); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapClipper)( + IWICImagingFactory2 *This, + IWICBitmapClipper **ppIBitmapClipper); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFlipRotator)( + IWICImagingFactory2 *This, + IWICBitmapFlipRotator **ppIBitmapFlipRotator); + + HRESULT (STDMETHODCALLTYPE *CreateStream)( + IWICImagingFactory2 *This, + IWICStream **ppIWICStream); + + HRESULT (STDMETHODCALLTYPE *CreateColorContext)( + IWICImagingFactory2 *This, + IWICColorContext **ppIWICColorContext); + + HRESULT (STDMETHODCALLTYPE *CreateColorTransformer)( + IWICImagingFactory2 *This, + IWICColorTransform **ppIWICColorTransform); + + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + IWICImagingFactory2 *This, + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromSource)( + IWICImagingFactory2 *This, + IWICBitmapSource *piBitmapSource, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromSourceRect)( + IWICImagingFactory2 *This, + IWICBitmapSource *piBitmapSource, + UINT x, + UINT y, + UINT width, + UINT height, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromMemory)( + IWICImagingFactory2 *This, + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromHBITMAP)( + IWICImagingFactory2 *This, + HBITMAP hBitmap, + HPALETTE hPalette, + WICBitmapAlphaChannelOption options, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromHICON)( + IWICImagingFactory2 *This, + HICON hIcon, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateComponentEnumerator)( + IWICImagingFactory2 *This, + DWORD componentTypes, + DWORD options, + IEnumUnknown **ppIEnumUnknown); + + HRESULT (STDMETHODCALLTYPE *CreateFastMetadataEncoderFromDecoder)( + IWICImagingFactory2 *This, + IWICBitmapDecoder *pIDecoder, + IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT (STDMETHODCALLTYPE *CreateFastMetadataEncoderFromFrameDecode)( + IWICImagingFactory2 *This, + IWICBitmapFrameDecode *pIFrameDecoder, + IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriter)( + IWICImagingFactory2 *This, + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriterFromReader)( + IWICImagingFactory2 *This, + IWICMetadataQueryReader *pIQueryReader, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter); + + /*** IWICImagingFactory2 methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateImageEncoder)( + IWICImagingFactory2 *This, + ID2D1Device *device, + IWICImageEncoder **encoder); + + END_INTERFACE +} IWICImagingFactory2Vtbl; + +interface IWICImagingFactory2 { + CONST_VTBL IWICImagingFactory2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICImagingFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICImagingFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICImagingFactory2_Release(This) (This)->lpVtbl->Release(This) +/*** IWICImagingFactory methods ***/ +#define IWICImagingFactory2_CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder) +#define IWICImagingFactory2_CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder) +#define IWICImagingFactory2_CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder) +#define IWICImagingFactory2_CreateComponentInfo(This,clsidComponent,ppIInfo) (This)->lpVtbl->CreateComponentInfo(This,clsidComponent,ppIInfo) +#define IWICImagingFactory2_CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder) (This)->lpVtbl->CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder) +#define IWICImagingFactory2_CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder) (This)->lpVtbl->CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder) +#define IWICImagingFactory2_CreatePalette(This,ppIPalette) (This)->lpVtbl->CreatePalette(This,ppIPalette) +#define IWICImagingFactory2_CreateFormatConverter(This,ppIFormatConverter) (This)->lpVtbl->CreateFormatConverter(This,ppIFormatConverter) +#define IWICImagingFactory2_CreateBitmapScaler(This,ppIBitmapScaler) (This)->lpVtbl->CreateBitmapScaler(This,ppIBitmapScaler) +#define IWICImagingFactory2_CreateBitmapClipper(This,ppIBitmapClipper) (This)->lpVtbl->CreateBitmapClipper(This,ppIBitmapClipper) +#define IWICImagingFactory2_CreateBitmapFlipRotator(This,ppIBitmapFlipRotator) (This)->lpVtbl->CreateBitmapFlipRotator(This,ppIBitmapFlipRotator) +#define IWICImagingFactory2_CreateStream(This,ppIWICStream) (This)->lpVtbl->CreateStream(This,ppIWICStream) +#define IWICImagingFactory2_CreateColorContext(This,ppIWICColorContext) (This)->lpVtbl->CreateColorContext(This,ppIWICColorContext) +#define IWICImagingFactory2_CreateColorTransformer(This,ppIWICColorTransform) (This)->lpVtbl->CreateColorTransformer(This,ppIWICColorTransform) +#define IWICImagingFactory2_CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap) (This)->lpVtbl->CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap) +#define IWICImagingFactory2_CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap) (This)->lpVtbl->CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap) +#define IWICImagingFactory2_CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap) (This)->lpVtbl->CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap) +#define IWICImagingFactory2_CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap) (This)->lpVtbl->CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap) +#define IWICImagingFactory2_CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap) (This)->lpVtbl->CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap) +#define IWICImagingFactory2_CreateBitmapFromHICON(This,hIcon,ppIBitmap) (This)->lpVtbl->CreateBitmapFromHICON(This,hIcon,ppIBitmap) +#define IWICImagingFactory2_CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown) (This)->lpVtbl->CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown) +#define IWICImagingFactory2_CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder) (This)->lpVtbl->CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder) +#define IWICImagingFactory2_CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder) (This)->lpVtbl->CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder) +#define IWICImagingFactory2_CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter) +#define IWICImagingFactory2_CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter) +/*** IWICImagingFactory2 methods ***/ +#define IWICImagingFactory2_CreateImageEncoder(This,device,encoder) (This)->lpVtbl->CreateImageEncoder(This,device,encoder) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICImagingFactory2_QueryInterface(IWICImagingFactory2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICImagingFactory2_AddRef(IWICImagingFactory2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICImagingFactory2_Release(IWICImagingFactory2* This) { + return This->lpVtbl->Release(This); +} +/*** IWICImagingFactory methods ***/ +static FORCEINLINE HRESULT IWICImagingFactory2_CreateDecoderFromFilename(IWICImagingFactory2* This,LPCWSTR wzFilename,const GUID *pguidVendor,DWORD dwDesiredAccess,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateDecoderFromStream(IWICImagingFactory2* This,IStream *pIStream,const GUID *pguidVendor,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateDecoderFromFileHandle(IWICImagingFactory2* This,ULONG_PTR hFile,const GUID *pguidVendor,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateComponentInfo(IWICImagingFactory2* This,REFCLSID clsidComponent,IWICComponentInfo **ppIInfo) { + return This->lpVtbl->CreateComponentInfo(This,clsidComponent,ppIInfo); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateDecoder(IWICImagingFactory2* This,REFGUID guidContainerFormat,const GUID *pguidVendor,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateEncoder(IWICImagingFactory2* This,REFGUID guidContainerFormat,const GUID *pguidVendor,IWICBitmapEncoder **ppIEncoder) { + return This->lpVtbl->CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreatePalette(IWICImagingFactory2* This,IWICPalette **ppIPalette) { + return This->lpVtbl->CreatePalette(This,ppIPalette); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateFormatConverter(IWICImagingFactory2* This,IWICFormatConverter **ppIFormatConverter) { + return This->lpVtbl->CreateFormatConverter(This,ppIFormatConverter); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapScaler(IWICImagingFactory2* This,IWICBitmapScaler **ppIBitmapScaler) { + return This->lpVtbl->CreateBitmapScaler(This,ppIBitmapScaler); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapClipper(IWICImagingFactory2* This,IWICBitmapClipper **ppIBitmapClipper) { + return This->lpVtbl->CreateBitmapClipper(This,ppIBitmapClipper); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapFlipRotator(IWICImagingFactory2* This,IWICBitmapFlipRotator **ppIBitmapFlipRotator) { + return This->lpVtbl->CreateBitmapFlipRotator(This,ppIBitmapFlipRotator); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateStream(IWICImagingFactory2* This,IWICStream **ppIWICStream) { + return This->lpVtbl->CreateStream(This,ppIWICStream); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateColorContext(IWICImagingFactory2* This,IWICColorContext **ppIWICColorContext) { + return This->lpVtbl->CreateColorContext(This,ppIWICColorContext); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateColorTransformer(IWICImagingFactory2* This,IWICColorTransform **ppIWICColorTransform) { + return This->lpVtbl->CreateColorTransformer(This,ppIWICColorTransform); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmap(IWICImagingFactory2* This,UINT uiWidth,UINT uiHeight,REFWICPixelFormatGUID pixelFormat,WICBitmapCreateCacheOption option,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapFromSource(IWICImagingFactory2* This,IWICBitmapSource *piBitmapSource,WICBitmapCreateCacheOption option,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapFromSourceRect(IWICImagingFactory2* This,IWICBitmapSource *piBitmapSource,UINT x,UINT y,UINT width,UINT height,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapFromMemory(IWICImagingFactory2* This,UINT uiWidth,UINT uiHeight,REFWICPixelFormatGUID pixelFormat,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapFromHBITMAP(IWICImagingFactory2* This,HBITMAP hBitmap,HPALETTE hPalette,WICBitmapAlphaChannelOption options,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateBitmapFromHICON(IWICImagingFactory2* This,HICON hIcon,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromHICON(This,hIcon,ppIBitmap); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateComponentEnumerator(IWICImagingFactory2* This,DWORD componentTypes,DWORD options,IEnumUnknown **ppIEnumUnknown) { + return This->lpVtbl->CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateFastMetadataEncoderFromDecoder(IWICImagingFactory2* This,IWICBitmapDecoder *pIDecoder,IWICFastMetadataEncoder **ppIFastEncoder) { + return This->lpVtbl->CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateFastMetadataEncoderFromFrameDecode(IWICImagingFactory2* This,IWICBitmapFrameDecode *pIFrameDecoder,IWICFastMetadataEncoder **ppIFastEncoder) { + return This->lpVtbl->CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateQueryWriter(IWICImagingFactory2* This,REFGUID guidMetadataFormat,const GUID *pguidVendor,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter); +} +static FORCEINLINE HRESULT IWICImagingFactory2_CreateQueryWriterFromReader(IWICImagingFactory2* This,IWICMetadataQueryReader *pIQueryReader,const GUID *pguidVendor,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter); +} +/*** IWICImagingFactory2 methods ***/ +static FORCEINLINE HRESULT IWICImagingFactory2_CreateImageEncoder(IWICImagingFactory2* This,ID2D1Device *device,IWICImageEncoder **encoder) { + return This->lpVtbl->CreateImageEncoder(This,device,encoder); +} +#endif +#endif + +#endif + + +#endif /* __IWICImagingFactory2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICEnumMetadataItem interface + */ +#ifndef __IWICEnumMetadataItem_INTERFACE_DEFINED__ +#define __IWICEnumMetadataItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICEnumMetadataItem, 0xdc2bb46d, 0x3f07, 0x481e, 0x86,0x25, 0x22,0x0c,0x4a,0xed,0xbb,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("dc2bb46d-3f07-481e-8625-220c4aedbb33") +IWICEnumMetadataItem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + PROPVARIANT *rgeltSchema, + PROPVARIANT *rgeltId, + PROPVARIANT *rgeltValue, + ULONG *pceltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IWICEnumMetadataItem **ppIEnumMetadataItem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICEnumMetadataItem, 0xdc2bb46d, 0x3f07, 0x481e, 0x86,0x25, 0x22,0x0c,0x4a,0xed,0xbb,0x33) +#endif +#else +typedef struct IWICEnumMetadataItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICEnumMetadataItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICEnumMetadataItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICEnumMetadataItem *This); + + /*** IWICEnumMetadataItem methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IWICEnumMetadataItem *This, + ULONG celt, + PROPVARIANT *rgeltSchema, + PROPVARIANT *rgeltId, + PROPVARIANT *rgeltValue, + ULONG *pceltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IWICEnumMetadataItem *This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IWICEnumMetadataItem *This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IWICEnumMetadataItem *This, + IWICEnumMetadataItem **ppIEnumMetadataItem); + + END_INTERFACE +} IWICEnumMetadataItemVtbl; + +interface IWICEnumMetadataItem { + CONST_VTBL IWICEnumMetadataItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICEnumMetadataItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICEnumMetadataItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICEnumMetadataItem_Release(This) (This)->lpVtbl->Release(This) +/*** IWICEnumMetadataItem methods ***/ +#define IWICEnumMetadataItem_Next(This,celt,rgeltSchema,rgeltId,rgeltValue,pceltFetched) (This)->lpVtbl->Next(This,celt,rgeltSchema,rgeltId,rgeltValue,pceltFetched) +#define IWICEnumMetadataItem_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IWICEnumMetadataItem_Reset(This) (This)->lpVtbl->Reset(This) +#define IWICEnumMetadataItem_Clone(This,ppIEnumMetadataItem) (This)->lpVtbl->Clone(This,ppIEnumMetadataItem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICEnumMetadataItem_QueryInterface(IWICEnumMetadataItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICEnumMetadataItem_AddRef(IWICEnumMetadataItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICEnumMetadataItem_Release(IWICEnumMetadataItem* This) { + return This->lpVtbl->Release(This); +} +/*** IWICEnumMetadataItem methods ***/ +static FORCEINLINE HRESULT IWICEnumMetadataItem_Next(IWICEnumMetadataItem* This,ULONG celt,PROPVARIANT *rgeltSchema,PROPVARIANT *rgeltId,PROPVARIANT *rgeltValue,ULONG *pceltFetched) { + return This->lpVtbl->Next(This,celt,rgeltSchema,rgeltId,rgeltValue,pceltFetched); +} +static FORCEINLINE HRESULT IWICEnumMetadataItem_Skip(IWICEnumMetadataItem* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IWICEnumMetadataItem_Reset(IWICEnumMetadataItem* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IWICEnumMetadataItem_Clone(IWICEnumMetadataItem* This,IWICEnumMetadataItem **ppIEnumMetadataItem) { + return This->lpVtbl->Clone(This,ppIEnumMetadataItem); +} +#endif +#endif + +#endif + + +#endif /* __IWICEnumMetadataItem_INTERFACE_DEFINED__ */ + +HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst); +HRESULT WINAPI WICMapGuidToShortName(REFGUID,UINT,WCHAR *,UINT *); +HRESULT WINAPI WICMapShortNameToGuid(PCWSTR,GUID *); +HRESULT WINAPI WICMapSchemaToName(REFGUID,LPWSTR,UINT,WCHAR *,UINT *); +DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78); +DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51); +DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe); +DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca); +DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe); +DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b); +DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d); +DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82); +DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc); +DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76); +DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd); +DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8); +DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2); +DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1); +DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3); +DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf); +DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21); +DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57); +DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3); +DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5); +DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b); +DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b); +DEFINE_GUID(CLSID_WICImagingCategories, 0xfae3d380,0xfea4,0x4623,0x8c,0x75,0xc6,0xb6,0x11,0x10,0xb6,0x81); +DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3); +DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e); +DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48); +DEFINE_GUID(CATID_WICMetadataReader, 0x05af94d8,0x7174,0x4cd2,0xbe,0x4a,0x41,0x24,0xb8,0x0e,0xe4,0xb8); +DEFINE_GUID(CATID_WICPixelFormats, 0x2b46e70f,0xcda7,0x473e,0x89,0xf6,0xdc,0x96,0x30,0xa2,0x39,0x0b); +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); +ULONG __RPC_USER HBITMAP_UserSize (ULONG *, ULONG, HBITMAP *); +unsigned char * __RPC_USER HBITMAP_UserMarshal (ULONG *, unsigned char *, HBITMAP *); +unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *); +void __RPC_USER HBITMAP_UserFree (ULONG *, HBITMAP *); +ULONG __RPC_USER HPALETTE_UserSize (ULONG *, ULONG, HPALETTE *); +unsigned char * __RPC_USER HPALETTE_UserMarshal (ULONG *, unsigned char *, HPALETTE *); +unsigned char * __RPC_USER HPALETTE_UserUnmarshal(ULONG *, unsigned char *, HPALETTE *); +void __RPC_USER HPALETTE_UserFree (ULONG *, HPALETTE *); +ULONG __RPC_USER HICON_UserSize (ULONG *, ULONG, HICON *); +unsigned char * __RPC_USER HICON_UserMarshal (ULONG *, unsigned char *, HICON *); +unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *); +void __RPC_USER HICON_UserFree (ULONG *, HICON *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wincodec_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodec.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodec.idl new file mode 100644 index 0000000..e727cbd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodec.idl @@ -0,0 +1,1098 @@ +/* + * Copyright 2009 Vincent Povirk for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; +import "propidl.idl"; +import "ocidl.idl"; + +cpp_quote ("#include \"dcommon.h\"") + +cpp_quote("#define WINCODEC_SDK_VERSION 0x0236") + +#define CODEC_FORCE_DWORD 0x7fffffff + +typedef enum WICDecodeOptions { + WICDecodeMetadataCacheOnDemand = 0x00000000, + WICDecodeMetadataCacheOnLoad = 0x00000001, + WICMETADATACACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD +} WICDecodeOptions; + +typedef enum WICBitmapCreateCacheOption { + WICBitmapNoCache = 0x00000000, + WICBitmapCacheOnDemand = 0x00000001, + WICBitmapCacheOnLoad = 0x00000002, + WICBITMAPCREATECACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapCreateCacheOption; + +typedef enum WICBitmapAlphaChannelOption { + WICBitmapUseAlpha = 0x00000000, + WICBitmapUsePremultipliedAlpha = 0x00000001, + WICBitmapIgnoreAlpha = 0x00000002, + WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapAlphaChannelOption; + +typedef enum WICBitmapDecoderCapabilities { + WICBitmapDecoderCapabilitySameEncoder = 0x00000001, + WICBitmapDecoderCapabilityCanDecodeAllImages = 0x00000002, + WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x00000004, + WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x00000008, + WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x00000010, +} WICBitmapDecoderCapabilities; + +typedef enum WICBitmapDitherType { + WICBitmapDitherTypeNone = 0x00000000, + WICBitmapDitherTypeSolid = 0x00000000, + WICBitmapDitherTypeOrdered4x4 = 0x00000001, + WICBitmapDitherTypeOrdered8x8 = 0x00000002, + WICBitmapDitherTypeOrdered16x16 = 0x00000003, + WICBitmapDitherTypeSpiral4x4 = 0x00000004, + WICBitmapDitherTypeSpiral8x8 = 0x00000005, + WICBitmapDitherTypeDualSpiral4x4 = 0x00000006, + WICBitmapDitherTypeDualSpiral8x8 = 0x00000007, + WICBitmapDitherTypeErrorDiffusion = 0x00000008, + WICBITMAPDITHERTYPE_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapDitherType; + +typedef enum WICBitmapEncoderCacheOption { + WICBitmapEncoderCacheInMemory = 0x00000000, + WICBitmapEncoderCacheTempFile = 0x00000001, + WICBitmapEncoderNoCache = 0x00000002, + WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapEncoderCacheOption; + +typedef enum WICBitmapInterpolationMode { + WICBitmapInterpolationModeNearestNeighbor = 0x00000000, + WICBitmapInterpolationModeLinear = 0x00000001, + WICBitmapInterpolationModeCubic = 0x00000002, + WICBitmapInterpolationModeFant = 0x00000003, + WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapInterpolationMode; + +typedef enum WICBitmapLockFlags { + WICBitmapLockRead = 0x00000001, + WICBitmapLockWrite = 0x00000002, + WICBITMAPLOCKFLAGS_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapLockFlags; + +typedef enum WICBitmapPaletteType { + WICBitmapPaletteTypeCustom = 0x00000000, + WICBitmapPaletteTypeMedianCut = 0x00000001, + WICBitmapPaletteTypeFixedBW = 0x00000002, + WICBitmapPaletteTypeFixedHalftone8 = 0x00000003, + WICBitmapPaletteTypeFixedHalftone27 = 0x00000004, + WICBitmapPaletteTypeFixedHalftone64 = 0x00000005, + WICBitmapPaletteTypeFixedHalftone125 = 0x00000006, + WICBitmapPaletteTypeFixedHalftone216 = 0x00000007, + WICBitmapPaletteTypeFixedWebPalette = WICBitmapPaletteTypeFixedHalftone216, + WICBitmapPaletteTypeFixedHalftone252 = 0x00000008, + WICBitmapPaletteTypeFixedHalftone256 = 0x00000009, + WICBitmapPaletteTypeFixedGray4 = 0x0000000A, + WICBitmapPaletteTypeFixedGray16 = 0x0000000B, + WICBitmapPaletteTypeFixedGray256 = 0x0000000C, + WICBITMAPPALETTETYPE_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapPaletteType; + +typedef enum WICBitmapTransformOptions { + WICBitmapTransformRotate0 = 0x00000000, + WICBitmapTransformRotate90 = 0x00000001, + WICBitmapTransformRotate180 = 0x00000002, + WICBitmapTransformRotate270 = 0x00000003, + WICBitmapTransformFlipHorizontal = 0x00000008, + WICBitmapTransformFlipVertical = 0x00000010, + WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD +} WICBitmapTransformOptions; + +typedef enum WICColorContextType { + WICColorContextUninitialized = 0x00000000, + WICColorContextProfile = 0x00000001, + WICColorContextExifColorSpace = 0x00000002 +} WICColorContextType; + +typedef enum WICComponentType { + WICDecoder = 0x00000001, + WICEncoder = 0x00000002, + WICPixelFormatConverter = 0x00000004, + WICMetadataReader = 0x00000008, + WICMetadataWriter = 0x00000010, + WICPixelFormat = 0x00000020, + WICCOMPONENTTYPE_FORCE_DWORD = CODEC_FORCE_DWORD +} WICComponentType; + +typedef enum WICComponentSigning { + WICComponentSigned = 0x00000001, + WICComponentUnsigned = 0x00000002, + WICComponentSafe = 0x00000004, + WICComponentDisabled = 0x80000000 +} WICComponentSigning; + +typedef enum WICComponentEnumerateOptions { + WICComponentEnumerateDefault = 0x00000000, + WICComponentEnumerateRefresh = 0x00000001, + WICComponentEnumerateBuiltInOnly = 0x20000000, + WICComponentEnumerateUnsigned = 0x40000000, + WICComponentEnumerateDisabled = 0x80000000 +} WICComponentEnumerateOptions; + +typedef enum WICJpegYCrCbSubsamplingOption { + WICJpegYCrCbSubsamplingDefault = 0x00000000, + WICJpegYCrCbSubsampling420 = 0x00000001, + WICJpegYCrCbSubsampling422 = 0x00000002, + WICJpegYCrCbSubsampling444 = 0x00000003, + WICJpegYCrCbSubsampling440 = 0x00000004 +} WICJpegYCrCbSubsamplingOption; + +typedef enum WICPixelFormatNumericRepresentation { + WICPixelFormatNumericRepresentationUnspecified = 0x00000000, + WICPixelFormatNumericRepresentationIndexed = 0x00000001, + WICPixelFormatNumericRepresentationUnsignedInteger = 0x00000002, + WICPixelFormatNumericRepresentationSignedInteger = 0x00000003, + WICPixelFormatNumericRepresentationFixed = 0x00000004, + WICPixelFormatNumericRepresentationFloat = 0x00000005, + WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD = CODEC_FORCE_DWORD +} WICPixelFormatNumericRepresentation; + +typedef enum WICTiffCompressionOption { + WICTiffCompressionDontCare = 0x00000000, + WICTiffCompressionNone = 0x00000001, + WICTiffCompressionCCITT3 = 0x00000002, + WICTiffCompressionCCITT4 = 0x00000003, + WICTiffCompressionLZW = 0x00000004, + WICTiffCompressionRLE = 0x00000005, + WICTiffCompressionZIP = 0x00000006, + WICTiffCompressionLZWHDifferencing = 0x00000007, + WICTIFFCOMPRESSIONOPTION_FORCE_DWORD = CODEC_FORCE_DWORD +} WICTiffCompressionOption; + +typedef enum WICPngFilterOption { + WICPngFilterUnspecified = 0, + WICPngFilterNone = 1, + WICPngFilterSub = 2, + WICPngFilterUp = 3, + WICPngFilterAverage = 4, + WICPngFilterPaeth = 5, + WICPngFilterAdaptive = 6, + WICPNFFILTEROPTION_FORCE_DWORD = CODEC_FORCE_DWORD +} WICPngFilterOption; + +typedef GUID WICPixelFormatGUID; +typedef REFGUID REFWICPixelFormatGUID; + +cpp_quote("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);") +cpp_quote("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare") + +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);") + +cpp_quote("DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b);") + +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b,0xf1e6,0x4961,0xad,0x46,0xe1,0xcc,0x81,0x0a,0x87,0xd2);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0d);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGB, 0xd98c6b95,0x3efe,0x47d6,0xbb,0x25,0xeb,0x17,0x48,0xab,0x0c,0xf1);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d,0x6a8d,0x43dd,0xa7,0xa8,0xa2,0x99,0x35,0x26,0x1a,0xe9);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650,0xa527,0x4d37,0xa9,0x16,0x31,0x42,0xc7,0xeb,0xed,0xba);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x11);") + +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16);") +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x17);") + +cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c);") + +cpp_quote("#if 0") +typedef DWORD *D2D1_PIXEL_FORMAT; +cpp_quote ("#endif") + +typedef struct WICRect { + INT X; + INT Y; + INT Width; + INT Height; +} WICRect; + +typedef struct WICBitmapPattern { + ULARGE_INTEGER Position; + ULONG Length; + BYTE *Pattern; + BYTE *Mask; + BOOL EndOfStream; +} WICBitmapPattern; + +typedef struct WICImageParameters +{ + D2D1_PIXEL_FORMAT PixelFormat; + FLOAT DpiX; + FLOAT DpiY; + FLOAT Top; + FLOAT Left; + UINT32 PixelWidth; + UINT32 PixelHeight; +} WICImageParameters; + +typedef UINT32 WICColor; + +interface ID2D1Device; +interface ID2D1Image; +interface IWICPalette; + +[ + object, + uuid(3c613a02-34b2-44ea-9a7c-45aea9c6fd6d) +] +interface IWICColorContext : IUnknown +{ + HRESULT InitializeFromFilename( + [in] LPCWSTR wzFilename); + + HRESULT InitializeFromMemory( + [in, size_is(cbBufferSize)] const BYTE *pbBuffer, + [in] UINT cbBufferSize); + + HRESULT InitializeFromExifColorSpace( + [in] UINT value); + + HRESULT GetType( + [out] WICColorContextType *pType); + + HRESULT GetProfileBytes( + [in] UINT cbBuffer, + [in, out, unique, size_is(cbBuffer)] BYTE *pbBuffer, + [out] UINT *pcbActual); + + HRESULT GetExifColorSpace( + [out] UINT *pValue); +} + +[ + object, + uuid(00000120-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICBitmapSource : IUnknown +{ + HRESULT GetSize( + [out] UINT *puiWidth, + [out] UINT *puiHeight); + + HRESULT GetPixelFormat( + [out] WICPixelFormatGUID *pPixelFormat); + + HRESULT GetResolution( + [out] double *pDpiX, + [out] double *pDpiY); + + HRESULT CopyPalette( + [in] IWICPalette *pIPalette); + + HRESULT CopyPixels( + [in] const WICRect *prc, + [in] UINT cbStride, + [in] UINT cbBufferSize, + [out, size_is(cbBufferSize)] BYTE *pbBuffer); +} + +[ + object, + uuid(00000123-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICBitmapLock : IUnknown +{ + HRESULT GetSize( + [out] UINT *pWidth, + [out] UINT *pHeight); + + HRESULT GetStride( + [out] UINT *pcbStride); + + HRESULT GetDataPointer( + [out] UINT *pcbBufferSize, + [out, size_is(,*pcbBufferSize)] BYTE **ppbData); + + HRESULT GetPixelFormat( + [out] WICPixelFormatGUID *pPixelFormat); +} + +[ + object, + uuid(5009834f-2d6a-41ce-9e1b-17c5aff7a782) +] +interface IWICBitmapFlipRotator : IWICBitmapSource +{ + HRESULT Initialize( + [in] IWICBitmapSource *pISource, + [in] WICBitmapTransformOptions options); +} + +[ + object, + uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICBitmap : IWICBitmapSource +{ + HRESULT Lock( + [in] const WICRect *prcLock, + [in] DWORD flags, + [out] IWICBitmapLock **ppILock); + + HRESULT SetPalette( + [in] IWICPalette *pIPalette); + + HRESULT SetResolution( + [in] double dpiX, + [in] double dpiY); +} + +[ + object, + uuid(00000040-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICPalette : IUnknown +{ + HRESULT InitializePredefined( + [in] WICBitmapPaletteType ePaletteType, + [in] BOOL fAddTransparentColor); + + HRESULT InitializeCustom( + [in, size_is(colorCount)] WICColor *pColors, + [in] UINT colorCount); + + HRESULT InitializeFromBitmap( + [in] IWICBitmapSource *pISurface, + [in] UINT colorCount, + [in] BOOL fAddTransparentColor); + + HRESULT InitializeFromPalette( + [in] IWICPalette *pIPalette); + + HRESULT GetType( + [out] WICBitmapPaletteType *pePaletteType); + + HRESULT GetColorCount( + [out] UINT *pcCount); + + HRESULT GetColors( + [in] UINT colorCount, + [out, size_is(colorCount)] WICColor *pColors, + [out] UINT *pcActualColors); + + HRESULT IsBlackWhite( + [out] BOOL *pfIsBlackWhite); + + HRESULT IsGrayscale( + [out] BOOL *pfIsGrayscale); + + HRESULT HasAlpha( + [out] BOOL *pfHasAlpha); +} + +[ + object, + uuid(23bc3f0a-698b-4357-886b-f24d50671334) +] +interface IWICComponentInfo : IUnknown +{ + HRESULT GetComponentType( + [out] WICComponentType *pType); + + HRESULT GetCLSID( + [out] CLSID *pclsid); + + HRESULT GetSigningStatus( + [out] DWORD *pStatus); + + HRESULT GetAuthor( + [in] UINT cchAuthor, + [in, out, unique, size_is(cchAuthor)] WCHAR *wzAuthor, + [out] UINT *pcchActual); + + HRESULT GetVendorGUID( + [out] GUID *pguidVendor); + + HRESULT GetVersion( + [in] UINT cchVersion, + [in, out, unique, size_is(cchVersion)] WCHAR *wzVersion, + [out] UINT *pcchActual); + + HRESULT GetSpecVersion( + [in] UINT cchSpecVersion, + [in, out, unique, size_is(cchSpecVersion)] WCHAR *wzSpecVersion, + [out] UINT *pcchActual); + + HRESULT GetFriendlyName( + [in] UINT cchFriendlyName, + [in, out, unique, size_is(cchFriendlyName)] WCHAR *wzFriendlyName, + [out] UINT *pcchActual); +} + +[ + object, + uuid(30989668-e1c9-4597-b395-458eedb808df) +] +interface IWICMetadataQueryReader : IUnknown +{ + HRESULT GetContainerFormat( + [out] GUID *pguidContainerFormat); + + HRESULT GetLocation( + [in] UINT cchMaxLength, + [in, out, unique, size_is(cchMaxLength)] WCHAR *wzNamespace, + [out] UINT *pcchActualLength); + + HRESULT GetMetadataByName( + [in] LPCWSTR wzName, + [in, out, unique] PROPVARIANT *pvarValue); + + HRESULT GetEnumerator( + [out] IEnumString **ppIEnumString); +} + +[ + object, + uuid(a721791a-0def-4d06-bd91-2118bf1db10b) +] +interface IWICMetadataQueryWriter : IWICMetadataQueryReader +{ + HRESULT SetMetadataByName( + [in] LPCWSTR wzName, + [in] const PROPVARIANT *pvarValue); + + HRESULT RemoveMetadataByName( + [in] LPCWSTR wzName); +} + +[ + object, + uuid(3b16811b-6a43-4ec9-a813-3d930c13b940) +] +interface IWICBitmapFrameDecode : IWICBitmapSource +{ + HRESULT GetMetadataQueryReader( + [out] IWICMetadataQueryReader **ppIMetadataQueryReader); + + HRESULT GetColorContexts( + [in] UINT cCount, + [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts, + [out] UINT *pcActualCount); + + HRESULT GetThumbnail( + [out] IWICBitmapSource **ppIThumbnail); +} + +[ + object, + uuid(e8eda601-3d48-431a-ab44-69059be88bbe) +] +interface IWICPixelFormatInfo : IWICComponentInfo +{ + HRESULT GetFormatGUID( + [out] GUID* pFormat); + + HRESULT GetColorContext( + [out] IWICColorContext **ppIColorContext); + + HRESULT GetBitsPerPixel( + [out] UINT *puiBitsPerPixel); + + HRESULT GetChannelCount( + [out] UINT *puiChannelCount); + + HRESULT GetChannelMask( + [in] UINT uiChannelIndex, + [in] UINT cbMaskBuffer, + [in, out, unique, size_is(cbMaskBuffer)] BYTE *pbMaskBuffer, + [out] UINT *pcbActual); +} + +[ + object, + uuid(a9db33a2-af5f-43c7-b679-74f5984b5aa4) +] +interface IWICPixelFormatInfo2 : IWICPixelFormatInfo +{ + HRESULT SupportsTransparency( + [out] BOOL *pfSupportsTransparency); + + HRESULT GetNumericRepresentation( + [out] WICPixelFormatNumericRepresentation *pNumericRepresentation); +} + +[ + object, + uuid(e87a44c4-b76e-4c47-8b09-298eb12a2714) +] +interface IWICBitmapCodecInfo : IWICComponentInfo +{ + HRESULT GetContainerFormat( + [out] GUID *pguidContainerFormat); + + HRESULT GetPixelFormats( + [in] UINT cFormats, + [in, out, unique, size_is(cFormats)] GUID *pguidPixelFormats, + [out] UINT *pcActual); + + HRESULT GetColorManagementVersion( + [in] UINT cchColorManagementVersion, + [in, out, unique, size_is(cchColorManagementVersion)] WCHAR *wzColorManagementVersion, + [out] UINT *pcchActual); + + HRESULT GetDeviceManufacturer( + [in] UINT cchDeviceManufacturer, + [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer, + [out] UINT *pcchActual); + + HRESULT GetDeviceModels( + [in] UINT cchDeviceModels, + [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels, + [out] UINT *pcchActual); + + HRESULT GetMimeTypes( + [in] UINT cchMimeTypes, + [in, out, unique, size_is(cchMimeTypes)] WCHAR *wzMimeTypes, + [out] UINT *pcchActual); + + HRESULT GetFileExtensions( + [in] UINT cchFileExtensions, + [in, out, unique, size_is(cchFileExtensions)] WCHAR *wzFileExtensions, + [out] UINT *pcchActual); + + HRESULT DoesSupportAnimation( + [out] BOOL *pfSupportAnimation); + + HRESULT DoesSupportChromaKey( + [out] BOOL *pfSupportChromaKey); + + HRESULT DoesSupportLossless( + [out] BOOL *pfSupportLossless); + + HRESULT DoesSupportMultiframe( + [out] BOOL *pfSupportMultiframe); + + HRESULT MatchesMimeType( + [in] LPCWSTR wzMimeType, + [out] BOOL *pfMatches); +} + +interface IWICBitmapDecoder; + +[ + object, + uuid(d8cd007f-d08f-4191-9bfc-236ea7f0e4b5) +] +interface IWICBitmapDecoderInfo : IWICBitmapCodecInfo +{ + [local] + HRESULT GetPatterns( + [in] UINT cbSizePatterns, + [in, out, unique] WICBitmapPattern *pPatterns, + [in, out, unique] UINT *pcPatterns, + [in, out, unique] UINT *pcbPatternsActual); + + HRESULT MatchesPattern( + [in] IStream *pIStream, + [out] BOOL *pfMatches); + + HRESULT CreateInstance( + [out] IWICBitmapDecoder **ppIBitmapDecoder); +} + +[ + object, + uuid(9edde9e7-8dee-47ea-99df-e6faf2ed44bf) +] +interface IWICBitmapDecoder : IUnknown +{ + HRESULT QueryCapability( + [in] IStream *pIStream, + [out] DWORD *pdwCapability); + + HRESULT Initialize( + [in] IStream *pIStream, + [in] WICDecodeOptions cacheOptions); + + HRESULT GetContainerFormat( + [out] GUID *pguidContainerFormat); + + HRESULT GetDecoderInfo( + [out] IWICBitmapDecoderInfo **ppIDecoderInfo); + + HRESULT CopyPalette( + [in] IWICPalette *pIPalette); + + HRESULT GetMetadataQueryReader( + [out] IWICMetadataQueryReader **ppIMetadataQueryReader); + + HRESULT GetPreview( + [out] IWICBitmapSource **ppIBitmapSource); + + HRESULT GetColorContexts( + [in] UINT cCount, + [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts, + [out] UINT *pcActualCount); + + HRESULT GetThumbnail( + [out] IWICBitmapSource **ppIThumbnail); + + HRESULT GetFrameCount( + [out] UINT *pCount); + + HRESULT GetFrame( + [in] UINT index, + [out] IWICBitmapFrameDecode **ppIBitmapFrame); +} + +[ + object, + uuid(00000105-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICBitmapFrameEncode : IUnknown +{ + HRESULT Initialize( + [in, unique] IPropertyBag2 *pIEncoderOptions); + + HRESULT SetSize( + [in] UINT uiWidth, + [in] UINT uiHeight); + + HRESULT SetResolution( + [in] double dpiX, + [in] double dpiY); + + HRESULT SetPixelFormat( + [in, out] WICPixelFormatGUID *pPixelFormat); + + HRESULT SetColorContexts( + [in] UINT cCount, + [in, size_is(cCount)] IWICColorContext **ppIColorContext); + + HRESULT SetPalette( + [in] IWICPalette *pIPalette); + + HRESULT SetThumbnail( + [in] IWICBitmapSource *pIThumbnail); + + HRESULT WritePixels( + [in] UINT lineCount, + [in] UINT cbStride, + [in] UINT cbBufferSize, + [in, size_is(cbBufferSize)] BYTE *pbPixels); + + HRESULT WriteSource( + [in] IWICBitmapSource *pIBitmapSource, + [in, unique] WICRect *prc); + + HRESULT Commit(); + + HRESULT GetMetadataQueryWriter( + IWICMetadataQueryWriter **ppIMetadataQueryWriter); +} + +interface IWICBitmapEncoder; + +[ + object, + uuid(94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb) +] +interface IWICBitmapEncoderInfo : IWICBitmapCodecInfo +{ + HRESULT CreateInstance( + [out] IWICBitmapEncoder **ppIBitmapEncoder); +} + +[ + object, + uuid(00000103-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICBitmapEncoder : IUnknown +{ + HRESULT Initialize( + [in] IStream *pIStream, + [in] WICBitmapEncoderCacheOption cacheOption); + + HRESULT GetContainerFormat( + [out] GUID *pguidContainerFormat); + + HRESULT GetEncoderInfo( + [out] IWICBitmapEncoderInfo **ppIEncoderInfo); + + HRESULT SetColorContexts( + [in] UINT cCount, + [in, size_is(cCount)] IWICColorContext **ppIColorContext); + + HRESULT SetPalette( + [in] IWICPalette *pIPalette); + + HRESULT SetThumbnail( + [in] IWICBitmapSource *pIThumbnail); + + HRESULT SetPreview( + [in] IWICBitmapSource *pIPreview); + + HRESULT CreateNewFrame( + [out] IWICBitmapFrameEncode **ppIFrameEncode, + [in, out, unique] IPropertyBag2 **ppIEncoderOptions); + + HRESULT Commit(); + + HRESULT GetMetadataQueryWriter( + [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter); +} + +[ + object, + uuid(00000301-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICFormatConverter : IWICBitmapSource +{ + HRESULT Initialize( + [in] IWICBitmapSource *pISource, + [in] REFWICPixelFormatGUID dstFormat, + [in] WICBitmapDitherType dither, + [in] IWICPalette *pIPalette, + [in] double alphaThresholdPercent, + [in] WICBitmapPaletteType paletteTranslate); + + HRESULT CanConvert( + [in] REFWICPixelFormatGUID srcPixelFormat, + [in] REFWICPixelFormatGUID dstPixelFormat, + [out] BOOL *pfCanConvert); +} + +[ + object, + uuid(9f34fb65-13f4-4f15-bc57-3726b5e53d9f) +] +interface IWICFormatConverterInfo : IWICComponentInfo +{ + HRESULT GetPixelFormats( + [in] UINT cFormats, + [in, out, size_is(cFormats)] WICPixelFormatGUID *pPixelFormatGUIDs, + [out] UINT *pcActual); + + HRESULT CreateInstance( + [out] IWICFormatConverter **ppIConverter); +} + +[ + object, + uuid(135ff860-22b7-4ddf-b0f6-218f4f299a43) +] +interface IWICStream : IStream +{ + HRESULT InitializeFromIStream( + [in] IStream *pIStream); + + HRESULT InitializeFromFilename( + [in] LPCWSTR wzFileName, + [in] DWORD dwAccessMode); + + HRESULT InitializeFromMemory( + [in, size_is(cbBufferSize)] BYTE *pbBuffer, + [in] DWORD cbBufferSize); + + HRESULT InitializeFromIStreamRegion( + [in] IStream *pIStream, + [in] ULARGE_INTEGER ulOffset, + [in] ULARGE_INTEGER ulMaxSize); +} + +[ + object, + uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94) +] +interface IWICBitmapScaler : IWICBitmapSource +{ + HRESULT Initialize( + [in] IWICBitmapSource *pISource, + [in] UINT uiWidth, + [in] UINT uiHeight, + [in] WICBitmapInterpolationMode mode); +} + +[ + object, + uuid(e4fbcf03-223d-4e81-9333-d635556dd1b5) +] +interface IWICBitmapClipper : IWICBitmapSource +{ + HRESULT Initialize( + [in] IWICBitmapSource *pISource, + [in] const WICRect *prc); +} + +[ + object, + uuid(b66f034f-d0e2-40ab-b436-6de39e321a94) +] +interface IWICColorTransform : IWICBitmapSource +{ + HRESULT Initialize( + [in] IWICBitmapSource *pIBitmapSource, + [in] IWICColorContext *pIContextSource, + [in] IWICColorContext *pIContextDest, + [in] REFWICPixelFormatGUID pixelFmtDest); +} + +[ + object, + uuid(b84e2c09-78c9-4ac4-8bd3-524ae1663a2f) +] +interface IWICFastMetadataEncoder : IUnknown +{ + HRESULT Commit(); + + HRESULT GetMetadataQueryWriter( + [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter); +} + +[ + object, + uuid(04c75bf8-3ce1-473b-acc5-3cc4f5e94999), + local +] +interface IWICImageEncoder : IUnknown +{ + HRESULT WriteFrame( + [in] ID2D1Image *image, + [in] IWICBitmapFrameEncode *encode, + [in, unique] const WICImageParameters *parameters); + + HRESULT WriteFrameThumbnail( + [in] ID2D1Image *image, + [in] IWICBitmapFrameEncode *encode, + [in, unique] const WICImageParameters *parameters); + + HRESULT WriteThumbnail( + [in] ID2D1Image *image, + [in] IWICBitmapEncoder *encoder, + [in, unique] const WICImageParameters *parameters); +}; + +cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);") +cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory1, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);") +cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory2, 0x317d06e8,0x5f24,0x433d,0xbd,0xf7,0x79,0xce,0x68,0xd8,0xab,0xc2);") + +[ + object, + uuid(ec5ec8a9-c395-4314-9c77-54d7a935ff70) +] +interface IWICImagingFactory : IUnknown +{ + HRESULT CreateDecoderFromFilename( + [in] LPCWSTR wzFilename, + [in, unique] const GUID *pguidVendor, + [in] DWORD dwDesiredAccess, + [in] WICDecodeOptions metadataOptions, + [out, retval] IWICBitmapDecoder **ppIDecoder); + + HRESULT CreateDecoderFromStream( + [in] IStream *pIStream, + [in, unique] const GUID *pguidVendor, + [in] WICDecodeOptions metadataOptions, + [out, retval] IWICBitmapDecoder **ppIDecoder); + + HRESULT CreateDecoderFromFileHandle( + [in] ULONG_PTR hFile, + [in, unique] const GUID *pguidVendor, + [in] WICDecodeOptions metadataOptions, + [out, retval] IWICBitmapDecoder **ppIDecoder); + + HRESULT CreateComponentInfo( + [in] REFCLSID clsidComponent, + [out] IWICComponentInfo **ppIInfo); + + HRESULT CreateDecoder( + [in] REFGUID guidContainerFormat, + [in, unique] const GUID *pguidVendor, + [out, retval] IWICBitmapDecoder **ppIDecoder); + + HRESULT CreateEncoder( + [in] REFGUID guidContainerFormat, + [in, unique] const GUID *pguidVendor, + [out, retval] IWICBitmapEncoder **ppIEncoder); + + HRESULT CreatePalette( + [out] IWICPalette **ppIPalette); + + HRESULT CreateFormatConverter( + [out] IWICFormatConverter **ppIFormatConverter); + + HRESULT CreateBitmapScaler( + [out] IWICBitmapScaler **ppIBitmapScaler); + + HRESULT CreateBitmapClipper( + [out] IWICBitmapClipper **ppIBitmapClipper); + + HRESULT CreateBitmapFlipRotator( + [out] IWICBitmapFlipRotator **ppIBitmapFlipRotator); + + HRESULT CreateStream( + [out] IWICStream **ppIWICStream); + + HRESULT CreateColorContext( + [out] IWICColorContext **ppIWICColorContext); + + HRESULT CreateColorTransformer( + [out] IWICColorTransform **ppIWICColorTransform); + + HRESULT CreateBitmap( + [in] UINT uiWidth, + [in] UINT uiHeight, + [in] REFWICPixelFormatGUID pixelFormat, + [in] WICBitmapCreateCacheOption option, + [out] IWICBitmap **ppIBitmap); + + HRESULT CreateBitmapFromSource( + [in] IWICBitmapSource *piBitmapSource, + [in] WICBitmapCreateCacheOption option, + [out] IWICBitmap **ppIBitmap); + + HRESULT CreateBitmapFromSourceRect( + [in] IWICBitmapSource *piBitmapSource, + [in] UINT x, + [in] UINT y, + [in] UINT width, + [in] UINT height, + [out] IWICBitmap **ppIBitmap); + + HRESULT CreateBitmapFromMemory( + [in] UINT uiWidth, + [in] UINT uiHeight, + [in] REFWICPixelFormatGUID pixelFormat, + [in] UINT cbStride, + [in] UINT cbBufferSize, + [in, size_is(cbBufferSize)] BYTE *pbBuffer, + [out] IWICBitmap **ppIBitmap); + + HRESULT CreateBitmapFromHBITMAP( + [in] HBITMAP hBitmap, + [in, unique] HPALETTE hPalette, + [in] WICBitmapAlphaChannelOption options, + [out] IWICBitmap **ppIBitmap); + + HRESULT CreateBitmapFromHICON( + [in] HICON hIcon, + [out] IWICBitmap **ppIBitmap); + + HRESULT CreateComponentEnumerator( + [in] DWORD componentTypes, + [in] DWORD options, + [out] IEnumUnknown **ppIEnumUnknown); + + HRESULT CreateFastMetadataEncoderFromDecoder( + [in] IWICBitmapDecoder *pIDecoder, + [out] IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT CreateFastMetadataEncoderFromFrameDecode( + [in] IWICBitmapFrameDecode *pIFrameDecoder, + [out] IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT CreateQueryWriter( + [in] REFGUID guidMetadataFormat, + [in, unique] const GUID *pguidVendor, + [out] IWICMetadataQueryWriter **ppIQueryWriter); + + HRESULT CreateQueryWriterFromReader( + [in] IWICMetadataQueryReader *pIQueryReader, + [in, unique] const GUID *pguidVendor, + [out] IWICMetadataQueryWriter **ppIQueryWriter); +} + +[ + object, + uuid(7b816b45-1996-4476-b132-de9e247c8af0), + local +] +interface IWICImagingFactory2 : IWICImagingFactory +{ + HRESULT CreateImageEncoder( + [in] ID2D1Device *device, + [out] IWICImageEncoder **encoder); +}; + +[ + local, + object, + uuid(dc2bb46d-3f07-481e-8625-220c4aedbb33) +] +interface IWICEnumMetadataItem : IUnknown +{ + HRESULT Next( + [in] ULONG celt, + [in, out, unique, size_is(celt)] PROPVARIANT *rgeltSchema, + [in, out, size_is(celt)] PROPVARIANT *rgeltId, + [in, out, optional, size_is(celt)] PROPVARIANT *rgeltValue, + [out, optional] ULONG *pceltFetched); + + HRESULT Skip( + [in] ULONG celt); + + HRESULT Reset(); + + HRESULT Clone( + [out] IWICEnumMetadataItem **ppIEnumMetadataItem); +} + +cpp_quote("HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);") + +cpp_quote("HRESULT WINAPI WICMapGuidToShortName(REFGUID,UINT,WCHAR *,UINT *);") +cpp_quote("HRESULT WINAPI WICMapShortNameToGuid(PCWSTR,GUID *);") +cpp_quote("HRESULT WINAPI WICMapSchemaToName(REFGUID,LPWSTR,UINT,WCHAR *,UINT *);") + +cpp_quote("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);") +cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);") +cpp_quote("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);") +cpp_quote("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);") +cpp_quote("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);") +cpp_quote("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);") +cpp_quote("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);") + +cpp_quote("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);") +cpp_quote("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);") +cpp_quote("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);") +cpp_quote("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);") +cpp_quote("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);") +cpp_quote("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);") + +cpp_quote("DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1);") + +cpp_quote("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);") +cpp_quote("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);") +cpp_quote("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);") +cpp_quote("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);") +cpp_quote("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);") +cpp_quote("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);") +cpp_quote("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);") + +cpp_quote("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);") + +cpp_quote("DEFINE_GUID(CLSID_WICImagingCategories, 0xfae3d380,0xfea4,0x4623,0x8c,0x75,0xc6,0xb6,0x11,0x10,0xb6,0x81);") +cpp_quote("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);") +cpp_quote("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);") +cpp_quote("DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48);") +cpp_quote("DEFINE_GUID(CATID_WICMetadataReader, 0x05af94d8,0x7174,0x4cd2,0xbe,0x4a,0x41,0x24,0xb8,0x0e,0xe4,0xb8);") +cpp_quote("DEFINE_GUID(CATID_WICPixelFormats, 0x2b46e70f,0xcda7,0x473e,0x89,0xf6,0xdc,0x96,0x30,0xa2,0x39,0x0b);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodecsdk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodecsdk.h new file mode 100644 index 0000000..49a89f0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodecsdk.h @@ -0,0 +1,2083 @@ +/*** Autogenerated by WIDL 2.18 from wincodecsdk.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wincodecsdk_h__ +#define __wincodecsdk_h__ + +/* Forward declarations */ + +#ifndef __IWICMetadataHandlerInfo_FWD_DEFINED__ +#define __IWICMetadataHandlerInfo_FWD_DEFINED__ +typedef interface IWICMetadataHandlerInfo IWICMetadataHandlerInfo; +#ifdef __cplusplus +interface IWICMetadataHandlerInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataReader_FWD_DEFINED__ +#define __IWICMetadataReader_FWD_DEFINED__ +typedef interface IWICMetadataReader IWICMetadataReader; +#ifdef __cplusplus +interface IWICMetadataReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataReaderInfo_FWD_DEFINED__ +#define __IWICMetadataReaderInfo_FWD_DEFINED__ +typedef interface IWICMetadataReaderInfo IWICMetadataReaderInfo; +#ifdef __cplusplus +interface IWICMetadataReaderInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataWriter_FWD_DEFINED__ +#define __IWICMetadataWriter_FWD_DEFINED__ +typedef interface IWICMetadataWriter IWICMetadataWriter; +#ifdef __cplusplus +interface IWICMetadataWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataWriterInfo_FWD_DEFINED__ +#define __IWICMetadataWriterInfo_FWD_DEFINED__ +typedef interface IWICMetadataWriterInfo IWICMetadataWriterInfo; +#ifdef __cplusplus +interface IWICMetadataWriterInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataBlockReader_FWD_DEFINED__ +#define __IWICMetadataBlockReader_FWD_DEFINED__ +typedef interface IWICMetadataBlockReader IWICMetadataBlockReader; +#ifdef __cplusplus +interface IWICMetadataBlockReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICMetadataBlockWriter_FWD_DEFINED__ +#define __IWICMetadataBlockWriter_FWD_DEFINED__ +typedef interface IWICMetadataBlockWriter IWICMetadataBlockWriter; +#ifdef __cplusplus +interface IWICMetadataBlockWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICPersistStream_FWD_DEFINED__ +#define __IWICPersistStream_FWD_DEFINED__ +typedef interface IWICPersistStream IWICPersistStream; +#ifdef __cplusplus +interface IWICPersistStream; +#endif /* __cplusplus */ +#endif + +#ifndef __IWICComponentFactory_FWD_DEFINED__ +#define __IWICComponentFactory_FWD_DEFINED__ +typedef interface IWICComponentFactory IWICComponentFactory; +#ifdef __cplusplus +interface IWICComponentFactory; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum WICPersistOptions { + WICPersistOptionDefault = 0x0, + WICPersistOptionLittleEndian = 0x0, + WICPersistOptionBigEndian = 0x1, + WICPersistOptionStrictFormat = 0x2, + WICPersistOptionNoCacheStream = 0x4, + WICPersistOptionPreferUTF8 = 0x8, + WICPersistOptionMask = 0xffff +} WICPersistOptions; +typedef enum WICMetadataCreationOptions { + WICMetadataCreationDefault = 0x0, + WICMetadataCreationAllowUnknown = WICMetadataCreationDefault, + WICMetadataCreationFailUnknown = 0x10000, + WICMetadataCreationMask = 0xffff0000 +} WICMetadataCreationOptions; +DEFINE_GUID(GUID_MetadataFormatUnknown, 0xa45e592f,0x9078,0x4a7c,0xad,0xb5,0x4e,0xdc,0x4f,0xd6,0x1b,0x1f); +DEFINE_GUID(GUID_MetadataFormatChunkcHRM, 0x9db3655b,0x2842,0x44b3,0x80,0x67,0x12,0xe9,0xb3,0x75,0x55,0x6a); +DEFINE_GUID(GUID_MetadataFormatChunkgAMA, 0xf00935a5,0x1d5d,0x4cd1,0x81,0xb2,0x93,0x24,0xd7,0xec,0xa7,0x81); +DEFINE_GUID(GUID_MetadataFormatChunktEXt, 0x568d8936,0xc0a9,0x4923,0x90,0x5d,0xdf,0x2b,0x38,0x23,0x8f,0xbc); +DEFINE_GUID(GUID_MetadataFormatChunktIME, 0x6b00ae2d,0xe24b,0x460a,0x98,0xb6,0x87,0x8b,0xd0,0x30,0x72,0xfd); +DEFINE_GUID(GUID_MetadataFormatIfd, 0x537396c6,0x2d8a,0x4bb6,0x9b,0xf8,0x2f,0x0a,0x8e,0x2a,0x3a,0xdf); +DEFINE_GUID(GUID_MetadataFormatExif, 0x1c3c4f9d,0xb84a,0x467d,0x94,0x93,0x36,0xcf,0xbd,0x59,0xea,0x57); +DEFINE_GUID(GUID_MetadataFormatXMP, 0xbb5acc38,0xf216,0x4cec,0xa6,0xc5,0x5f,0x6e,0x73,0x97,0x63,0xa9); +DEFINE_GUID(GUID_MetadataFormatXMPStruct, 0x22383cf1,0xed17,0x4e2e,0xaf,0x17,0xd8,0x5b,0x8f,0x6b,0x30,0xd0); +DEFINE_GUID(GUID_MetadataFormatIMD, 0xbd2bb086,0x4d52,0x48dd,0x96,0x77,0xdb,0x48,0x3e,0x85,0xae,0x8f); +DEFINE_GUID(GUID_MetadataFormatLSD, 0xe256031e,0x6299,0x4929,0xb9,0x8d,0x5a,0xc8,0x84,0xaf,0xba,0x92); +DEFINE_GUID(GUID_MetadataFormatGCE, 0x2a25cad8,0xdeeb,0x4c69,0xa7,0x88,0x0e,0xc2,0x26,0x6d,0xca,0xfd); +DEFINE_GUID(GUID_MetadataFormatAPE, 0x2e043dc2,0xc967,0x4e05,0x87,0x5e,0x61,0x8b,0xf6,0x7e,0x85,0xc3); +DEFINE_GUID(GUID_MetadataFormatGifComment, 0xc4b6e0e0,0xcfb4,0x4ad3,0xab,0x33,0x9a,0xad,0x23,0x55,0xa3,0x4a); +DEFINE_GUID(GUID_MetadataFormatSubIfd, 0x58a2e128,0x2db9,0x4e57,0xbb,0x14,0x51,0x77,0x89,0x1e,0xd3,0x31); +DEFINE_GUID(GUID_MetadataFormatGps, 0x7134ab8a,0x9351,0x44ad,0xaf,0x62,0x44,0x8d,0xb6,0xb5,0x02,0xec); +DEFINE_GUID(GUID_MetadataFormatInterop, 0xed686f8e,0x681f,0x4c8b,0xbd,0x41,0xa8,0xad,0xdb,0xf6,0xb3,0xfc); +DEFINE_GUID(GUID_MetadataFormatApp0, 0x79007028,0x268d,0x45d6,0xa3,0xc2,0x35,0x4e,0x6a,0x50,0x4b,0xc9); +DEFINE_GUID(GUID_MetadataFormatApp1, 0x8fd3dfc3,0xf951,0x492b,0x81,0x7f,0x69,0xc2,0xe6,0xd9,0xa5,0xb0); +DEFINE_GUID(GUID_MetadataFormatApp13, 0x326556a2,0xf502,0x4354,0x9c,0xc0,0x8e,0x3f,0x48,0xea,0xf6,0xb5); +DEFINE_GUID(GUID_MetadataFormatIPTC, 0x4fab0914,0xe129,0x4087,0xa1,0xd1,0xbc,0x81,0x2d,0x45,0xa7,0xb5); +DEFINE_GUID(GUID_MetadataFormatIRB, 0x16100d66,0x8570,0x4bb9,0xb9,0x2d,0xfd,0xa4,0xb2,0x3e,0xce,0x67); +DEFINE_GUID(GUID_MetadataFormat8BIMIPTC, 0x0010568c,0x0852,0x4e6a,0xb1,0x91,0x5c,0x33,0xac,0x5b,0x04,0x30); +DEFINE_GUID(GUID_MetadataFormat8BIMResolutionInfo, 0x739f305d,0x81db,0x43cb,0xac,0x5e,0x55,0x01,0x3e,0xf9,0xf0,0x03); +DEFINE_GUID(GUID_MetadataFormat8BIMIPTCDigest, 0x1ca32285,0x9ccd,0x4786,0x8b,0xd8,0x79,0x53,0x9d,0xb6,0xa0,0x06); +DEFINE_GUID(GUID_MetadataFormatThumbnail, 0x243dcee9,0x8703,0x40ee,0x8e,0xf0,0x22,0xa6,0x0,0xb8,0x5,0x8c); +DEFINE_GUID(GUID_MetadataFormatXMPBag, 0x833cca5f,0xdcb7,0x4516,0x80,0x6f,0x65,0x96,0xab,0x26,0xdc,0xe4); +DEFINE_GUID(GUID_MetadataFormatXMPSeq, 0x63e8df02,0xeb6c,0x456c,0xa2,0x24,0xb2,0x5e,0x79,0x4f,0xd6,0x48); +DEFINE_GUID(GUID_MetadataFormatXMPAlt, 0x7b08a675,0x91aa,0x481b,0xa7,0x98,0x4d,0xa9,0x49,0x08,0x61,0x3b); +DEFINE_GUID(GUID_MetadataFormatJpegChrominance, 0xf73d0dcf,0xcec6,0x4f85,0x9b,0x0e,0x1c,0x39,0x56,0xb1,0xbe,0xf7); +DEFINE_GUID(GUID_MetadataFormatJpegLuminance, 0x86908007,0xedfc,0x4860,0x8d,0x4b,0x4e,0xe6,0xe8,0x3e,0x60,0x58); +DEFINE_GUID(GUID_MetadataFormatJpegComment, 0x220e5f33,0xafd3,0x474e,0x9d,0x31,0x7d,0x4f,0xe7,0x30,0xf5,0x57); +DEFINE_GUID(GUID_MetadataFormatChunkbKGD, 0xe14d3571,0x6b47,0x4dea,0xb6,0xa,0x87,0xce,0xa,0x78,0xdf,0xb7); +DEFINE_GUID(GUID_MetadataFormatChunkiTXt, 0xc2bec729,0xb68,0x4b77,0xaa,0xe,0x62,0x95,0xa6,0xac,0x18,0x14); +DEFINE_GUID(GUID_MetadataFormatChunkhIST, 0xc59a82da,0xdb74,0x48a4,0xbd,0x6a,0xb6,0x9c,0x49,0x31,0xef,0x95); +DEFINE_GUID(GUID_MetadataFormatChunkiCCP, 0xeb4349ab,0xb685,0x450f,0x91,0xb5,0xe8,0x2,0xe8,0x92,0x53,0x6c); +DEFINE_GUID(GUID_MetadataFormatChunksRGB, 0xc115fd36,0xcc6f,0x4e3f,0x83,0x63,0x52,0x4b,0x87,0xc6,0xb0,0xd9); +DEFINE_GUID(CLSID_WICUnknownMetadataReader, 0x699745c2,0x5066,0x4b82,0xa8,0xe3,0xd4,0x04,0x78,0xdb,0xec,0x8c); +DEFINE_GUID(CLSID_WICUnknownMetadataWriter, 0xa09cca86,0x27ba,0x4f39,0x90,0x53,0x12,0x1f,0xa4,0xdc,0x08,0xfc); +DEFINE_GUID(CLSID_WICPngChrmMetadataReader, 0xf90b5f36,0x367b,0x402a,0x9d,0xd1,0xbc,0x0f,0xd5,0x9d,0x8f,0x62); +DEFINE_GUID(CLSID_WICPngGamaMetadataReader, 0x3692ca39,0xe082,0x4350,0x9e,0x1f,0x37,0x04,0xcb,0x08,0x3c,0xd5); +DEFINE_GUID(CLSID_WICPngTextMetadataReader, 0x4b59afcc,0xb8c3,0x408a,0xb6,0x70,0x89,0xe5,0xfa,0xb6,0xfd,0xa7); +DEFINE_GUID(CLSID_WICPngTextMetadataWriter, 0xb5ebafb9,0x253e,0x4a72,0xa7,0x44,0x07,0x62,0xd2,0x68,0x56,0x83); +DEFINE_GUID(CLSID_WICIfdMetadataReader, 0x8f914656,0x9d0a,0x4eb2,0x90,0x19,0x0b,0xf9,0x6d,0x8a,0x9e,0xe6); +DEFINE_GUID(CLSID_WICIfdMetadataWriter, 0xb1ebfc28,0xc9bd,0x47a2,0x8d,0x33,0xb9,0x48,0x76,0x97,0x77,0xa7); +DEFINE_GUID(CLSID_WICExifMetadataReader, 0xd9403860,0x297f,0x4a49,0xbf,0x9b,0x77,0x89,0x81,0x50,0xa4,0x42); +DEFINE_GUID(CLSID_WICExifMetadataWriter, 0xc9a14cda,0xc339,0x460b,0x90,0x78,0xd4,0xde,0xbc,0xfa,0xbe,0x91); +DEFINE_GUID(CLSID_WICXMPStructMetadataReader, 0x01b90d9a,0x8209,0x47f7,0x9c,0x52,0xe1,0x24,0x4b,0xf5,0x0c,0xed); +DEFINE_GUID(CLSID_WICXMPStructMetadataWriter, 0x22c21f93,0x7ddb,0x411c,0x9b,0x17,0xc5,0xb7,0xbd,0x06,0x4a,0xbc); +DEFINE_GUID(CLSID_WICLSDMetadataReader, 0x41070793,0x59e4,0x479a,0xa1,0xf7,0x95,0x4a,0xdc,0x2e,0xf5,0xfc); +DEFINE_GUID(CLSID_WICLSDMetadataWriter, 0x73c037e7,0xe5d9,0x4954,0x87,0x6a,0x6d,0xa8,0x1d,0x6e,0x57,0x68); +DEFINE_GUID(CLSID_WICIMDMetadataReader, 0x7447a267,0x0015,0x42c8,0xa8,0xf1,0xfb,0x3b,0x94,0xc6,0x83,0x61); +DEFINE_GUID(CLSID_WICIMDMetadataWriter, 0x8c89071f,0x452e,0x4e95,0x96,0x82,0x9d,0x10,0x24,0x62,0x71,0x72); +DEFINE_GUID(CLSID_WICGCEMetadataReader, 0xb92e345d,0xf52d,0x41f3,0xb5,0x62,0x08,0x1b,0xc7,0x72,0xe3,0xb9); +DEFINE_GUID(CLSID_WICGCEMetadataWriter, 0xaf95dc76,0x16b2,0x47f4,0xb3,0xea,0x3c,0x31,0x79,0x66,0x93,0xe7); +DEFINE_GUID(CLSID_WICAPEMetadataReader, 0x1767b93a,0xb021,0x44ea,0x92,0x0f,0x86,0x3c,0x11,0xf4,0xf7,0x68); +DEFINE_GUID(CLSID_WICAPEMetadataWriter, 0xbd6edfca,0x2890,0x482f,0xb2,0x33,0x8d,0x73,0x39,0xa1,0xcf,0x8d); +DEFINE_GUID(CLSID_WICGifCommentMetadataReader, 0x32557d3b,0x69dc,0x4f95,0x83,0x6e,0xf5,0x97,0x2b,0x2f,0x61,0x59); +DEFINE_GUID(CLSID_WICGifCommentMetadataWriter, 0xa02797fc,0xc4ae,0x418c,0xaf,0x95,0xe6,0x37,0xc7,0xea,0xd2,0xa1); +typedef struct WICMetadataPattern { + ULARGE_INTEGER Position; + ULONG Length; + BYTE *Pattern; + BYTE *Mask; + ULARGE_INTEGER DataOffset; +} WICMetadataPattern; +typedef struct WICMetadataHeader { + ULARGE_INTEGER Position; + ULONG Length; + BYTE *Header; + ULARGE_INTEGER DataOffset; +} WICMetadataHeader; +/***************************************************************************** + * IWICMetadataHandlerInfo interface + */ +#ifndef __IWICMetadataHandlerInfo_INTERFACE_DEFINED__ +#define __IWICMetadataHandlerInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataHandlerInfo, 0xaba958bf, 0xc672, 0x44d1, 0x8d,0x61, 0xce,0x6d,0xf2,0xe6,0x82,0xc2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("aba958bf-c672-44d1-8d61-ce6df2e682c2") +IWICMetadataHandlerInfo : public IWICComponentInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetMetadataFormat( + GUID *pguidMetadataFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContainerFormats( + UINT cContainerFormats, + GUID *pguidContainerFormats, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceManufacturer( + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceModels( + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesRequireFullStream( + BOOL *pfRequiresFullStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesSupportPadding( + BOOL *pfSupportsPadding) = 0; + + virtual HRESULT STDMETHODCALLTYPE DoesRequireFixedSize( + BOOL *pfFixedSize) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataHandlerInfo, 0xaba958bf, 0xc672, 0x44d1, 0x8d,0x61, 0xce,0x6d,0xf2,0xe6,0x82,0xc2) +#endif +#else +typedef struct IWICMetadataHandlerInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataHandlerInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataHandlerInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataHandlerInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICMetadataHandlerInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICMetadataHandlerInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICMetadataHandlerInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICMetadataHandlerInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICMetadataHandlerInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICMetadataHandlerInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICMetadataHandlerInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICMetadataHandlerInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICMetadataHandlerInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMetadataFormat)( + IWICMetadataHandlerInfo *This, + GUID *pguidMetadataFormat); + + HRESULT (STDMETHODCALLTYPE *GetContainerFormats)( + IWICMetadataHandlerInfo *This, + UINT cContainerFormats, + GUID *pguidContainerFormats, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceManufacturer)( + IWICMetadataHandlerInfo *This, + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceModels)( + IWICMetadataHandlerInfo *This, + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *DoesRequireFullStream)( + IWICMetadataHandlerInfo *This, + BOOL *pfRequiresFullStream); + + HRESULT (STDMETHODCALLTYPE *DoesSupportPadding)( + IWICMetadataHandlerInfo *This, + BOOL *pfSupportsPadding); + + HRESULT (STDMETHODCALLTYPE *DoesRequireFixedSize)( + IWICMetadataHandlerInfo *This, + BOOL *pfFixedSize); + + END_INTERFACE +} IWICMetadataHandlerInfoVtbl; + +interface IWICMetadataHandlerInfo { + CONST_VTBL IWICMetadataHandlerInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataHandlerInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataHandlerInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataHandlerInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICMetadataHandlerInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICMetadataHandlerInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICMetadataHandlerInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICMetadataHandlerInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICMetadataHandlerInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICMetadataHandlerInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICMetadataHandlerInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICMetadataHandlerInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICMetadataHandlerInfo methods ***/ +#define IWICMetadataHandlerInfo_GetMetadataFormat(This,pguidMetadataFormat) (This)->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat) +#define IWICMetadataHandlerInfo_GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual) (This)->lpVtbl->GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual) +#define IWICMetadataHandlerInfo_GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) (This)->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) +#define IWICMetadataHandlerInfo_GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) (This)->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) +#define IWICMetadataHandlerInfo_DoesRequireFullStream(This,pfRequiresFullStream) (This)->lpVtbl->DoesRequireFullStream(This,pfRequiresFullStream) +#define IWICMetadataHandlerInfo_DoesSupportPadding(This,pfSupportsPadding) (This)->lpVtbl->DoesSupportPadding(This,pfSupportsPadding) +#define IWICMetadataHandlerInfo_DoesRequireFixedSize(This,pfFixedSize) (This)->lpVtbl->DoesRequireFixedSize(This,pfFixedSize) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_QueryInterface(IWICMetadataHandlerInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataHandlerInfo_AddRef(IWICMetadataHandlerInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataHandlerInfo_Release(IWICMetadataHandlerInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetComponentType(IWICMetadataHandlerInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetCLSID(IWICMetadataHandlerInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetSigningStatus(IWICMetadataHandlerInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetAuthor(IWICMetadataHandlerInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetVendorGUID(IWICMetadataHandlerInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetVersion(IWICMetadataHandlerInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetSpecVersion(IWICMetadataHandlerInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetFriendlyName(IWICMetadataHandlerInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICMetadataHandlerInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetMetadataFormat(IWICMetadataHandlerInfo* This,GUID *pguidMetadataFormat) { + return This->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetContainerFormats(IWICMetadataHandlerInfo* This,UINT cContainerFormats,GUID *pguidContainerFormats,UINT *pcchActual) { + return This->lpVtbl->GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetDeviceManufacturer(IWICMetadataHandlerInfo* This,UINT cchDeviceManufacturer,WCHAR *wzDeviceManufacturer,UINT *pcchActual) { + return This->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_GetDeviceModels(IWICMetadataHandlerInfo* This,UINT cchDeviceModels,WCHAR *wzDeviceModels,UINT *pcchActual) { + return This->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_DoesRequireFullStream(IWICMetadataHandlerInfo* This,BOOL *pfRequiresFullStream) { + return This->lpVtbl->DoesRequireFullStream(This,pfRequiresFullStream); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_DoesSupportPadding(IWICMetadataHandlerInfo* This,BOOL *pfSupportsPadding) { + return This->lpVtbl->DoesSupportPadding(This,pfSupportsPadding); +} +static FORCEINLINE HRESULT IWICMetadataHandlerInfo_DoesRequireFixedSize(IWICMetadataHandlerInfo* This,BOOL *pfFixedSize) { + return This->lpVtbl->DoesRequireFixedSize(This,pfFixedSize); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataHandlerInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataReader interface + */ +#ifndef __IWICMetadataReader_INTERFACE_DEFINED__ +#define __IWICMetadataReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataReader, 0x9204fe99, 0xd8fc, 0x4fd5, 0xa0,0x01, 0x95,0x36,0xb0,0x67,0xa8,0x99); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9204fe99-d8fc-4fd5-a001-9536b067a899") +IWICMetadataReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMetadataFormat( + GUID *pguidMetadataFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMetadataHandlerInfo( + IWICMetadataHandlerInfo **ppIHandler) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pcCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValueByIndex( + UINT nIndex, + PROPVARIANT *pvarSchema, + PROPVARIANT *pvarId, + PROPVARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + PROPVARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnumerator( + IWICEnumMetadataItem **ppIEnumMetadata) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataReader, 0x9204fe99, 0xd8fc, 0x4fd5, 0xa0,0x01, 0x95,0x36,0xb0,0x67,0xa8,0x99) +#endif +#else +typedef struct IWICMetadataReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataReader *This); + + /*** IWICMetadataReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMetadataFormat)( + IWICMetadataReader *This, + GUID *pguidMetadataFormat); + + HRESULT (STDMETHODCALLTYPE *GetMetadataHandlerInfo)( + IWICMetadataReader *This, + IWICMetadataHandlerInfo **ppIHandler); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IWICMetadataReader *This, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetValueByIndex)( + IWICMetadataReader *This, + UINT nIndex, + PROPVARIANT *pvarSchema, + PROPVARIANT *pvarId, + PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IWICMetadataReader *This, + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetEnumerator)( + IWICMetadataReader *This, + IWICEnumMetadataItem **ppIEnumMetadata); + + END_INTERFACE +} IWICMetadataReaderVtbl; + +interface IWICMetadataReader { + CONST_VTBL IWICMetadataReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataReader_Release(This) (This)->lpVtbl->Release(This) +/*** IWICMetadataReader methods ***/ +#define IWICMetadataReader_GetMetadataFormat(This,pguidMetadataFormat) (This)->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat) +#define IWICMetadataReader_GetMetadataHandlerInfo(This,ppIHandler) (This)->lpVtbl->GetMetadataHandlerInfo(This,ppIHandler) +#define IWICMetadataReader_GetCount(This,pcCount) (This)->lpVtbl->GetCount(This,pcCount) +#define IWICMetadataReader_GetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue) (This)->lpVtbl->GetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue) +#define IWICMetadataReader_GetValue(This,pvarSchema,pvarId,pvarValue) (This)->lpVtbl->GetValue(This,pvarSchema,pvarId,pvarValue) +#define IWICMetadataReader_GetEnumerator(This,ppIEnumMetadata) (This)->lpVtbl->GetEnumerator(This,ppIEnumMetadata) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataReader_QueryInterface(IWICMetadataReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataReader_AddRef(IWICMetadataReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataReader_Release(IWICMetadataReader* This) { + return This->lpVtbl->Release(This); +} +/*** IWICMetadataReader methods ***/ +static FORCEINLINE HRESULT IWICMetadataReader_GetMetadataFormat(IWICMetadataReader* This,GUID *pguidMetadataFormat) { + return This->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat); +} +static FORCEINLINE HRESULT IWICMetadataReader_GetMetadataHandlerInfo(IWICMetadataReader* This,IWICMetadataHandlerInfo **ppIHandler) { + return This->lpVtbl->GetMetadataHandlerInfo(This,ppIHandler); +} +static FORCEINLINE HRESULT IWICMetadataReader_GetCount(IWICMetadataReader* This,UINT *pcCount) { + return This->lpVtbl->GetCount(This,pcCount); +} +static FORCEINLINE HRESULT IWICMetadataReader_GetValueByIndex(IWICMetadataReader* This,UINT nIndex,PROPVARIANT *pvarSchema,PROPVARIANT *pvarId,PROPVARIANT *pvarValue) { + return This->lpVtbl->GetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataReader_GetValue(IWICMetadataReader* This,const PROPVARIANT *pvarSchema,const PROPVARIANT *pvarId,PROPVARIANT *pvarValue) { + return This->lpVtbl->GetValue(This,pvarSchema,pvarId,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataReader_GetEnumerator(IWICMetadataReader* This,IWICEnumMetadataItem **ppIEnumMetadata) { + return This->lpVtbl->GetEnumerator(This,ppIEnumMetadata); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataReaderInfo interface + */ +#ifndef __IWICMetadataReaderInfo_INTERFACE_DEFINED__ +#define __IWICMetadataReaderInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataReaderInfo, 0xeebf1f5b, 0x07c1, 0x4447, 0xa3,0xab, 0x22,0xac,0xaf,0x78,0xa8,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eebf1f5b-07c1-4447-a3ab-22acaf78a804") +IWICMetadataReaderInfo : public IWICMetadataHandlerInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetPatterns( + REFGUID guidContainerFormat, + UINT cbSize, + WICMetadataPattern *pPattern, + UINT *pcCount, + UINT *pcbActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchesPattern( + REFGUID guidContainerFormat, + IStream *pIStream, + BOOL *pfMatches) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IWICMetadataReader **ppIReader) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataReaderInfo, 0xeebf1f5b, 0x07c1, 0x4447, 0xa3,0xab, 0x22,0xac,0xaf,0x78,0xa8,0x04) +#endif +#else +typedef struct IWICMetadataReaderInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataReaderInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataReaderInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataReaderInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICMetadataReaderInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICMetadataReaderInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICMetadataReaderInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICMetadataReaderInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICMetadataReaderInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICMetadataReaderInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICMetadataReaderInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICMetadataReaderInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICMetadataHandlerInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMetadataFormat)( + IWICMetadataReaderInfo *This, + GUID *pguidMetadataFormat); + + HRESULT (STDMETHODCALLTYPE *GetContainerFormats)( + IWICMetadataReaderInfo *This, + UINT cContainerFormats, + GUID *pguidContainerFormats, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceManufacturer)( + IWICMetadataReaderInfo *This, + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceModels)( + IWICMetadataReaderInfo *This, + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *DoesRequireFullStream)( + IWICMetadataReaderInfo *This, + BOOL *pfRequiresFullStream); + + HRESULT (STDMETHODCALLTYPE *DoesSupportPadding)( + IWICMetadataReaderInfo *This, + BOOL *pfSupportsPadding); + + HRESULT (STDMETHODCALLTYPE *DoesRequireFixedSize)( + IWICMetadataReaderInfo *This, + BOOL *pfFixedSize); + + /*** IWICMetadataReaderInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPatterns)( + IWICMetadataReaderInfo *This, + REFGUID guidContainerFormat, + UINT cbSize, + WICMetadataPattern *pPattern, + UINT *pcCount, + UINT *pcbActual); + + HRESULT (STDMETHODCALLTYPE *MatchesPattern)( + IWICMetadataReaderInfo *This, + REFGUID guidContainerFormat, + IStream *pIStream, + BOOL *pfMatches); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IWICMetadataReaderInfo *This, + IWICMetadataReader **ppIReader); + + END_INTERFACE +} IWICMetadataReaderInfoVtbl; + +interface IWICMetadataReaderInfo { + CONST_VTBL IWICMetadataReaderInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataReaderInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataReaderInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataReaderInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICMetadataReaderInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICMetadataReaderInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICMetadataReaderInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICMetadataReaderInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICMetadataReaderInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICMetadataReaderInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICMetadataReaderInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICMetadataReaderInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICMetadataHandlerInfo methods ***/ +#define IWICMetadataReaderInfo_GetMetadataFormat(This,pguidMetadataFormat) (This)->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat) +#define IWICMetadataReaderInfo_GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual) (This)->lpVtbl->GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual) +#define IWICMetadataReaderInfo_GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) (This)->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) +#define IWICMetadataReaderInfo_GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) (This)->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) +#define IWICMetadataReaderInfo_DoesRequireFullStream(This,pfRequiresFullStream) (This)->lpVtbl->DoesRequireFullStream(This,pfRequiresFullStream) +#define IWICMetadataReaderInfo_DoesSupportPadding(This,pfSupportsPadding) (This)->lpVtbl->DoesSupportPadding(This,pfSupportsPadding) +#define IWICMetadataReaderInfo_DoesRequireFixedSize(This,pfFixedSize) (This)->lpVtbl->DoesRequireFixedSize(This,pfFixedSize) +/*** IWICMetadataReaderInfo methods ***/ +#define IWICMetadataReaderInfo_GetPatterns(This,guidContainerFormat,cbSize,pPattern,pcCount,pcbActual) (This)->lpVtbl->GetPatterns(This,guidContainerFormat,cbSize,pPattern,pcCount,pcbActual) +#define IWICMetadataReaderInfo_MatchesPattern(This,guidContainerFormat,pIStream,pfMatches) (This)->lpVtbl->MatchesPattern(This,guidContainerFormat,pIStream,pfMatches) +#define IWICMetadataReaderInfo_CreateInstance(This,ppIReader) (This)->lpVtbl->CreateInstance(This,ppIReader) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataReaderInfo_QueryInterface(IWICMetadataReaderInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataReaderInfo_AddRef(IWICMetadataReaderInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataReaderInfo_Release(IWICMetadataReaderInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetComponentType(IWICMetadataReaderInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetCLSID(IWICMetadataReaderInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetSigningStatus(IWICMetadataReaderInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetAuthor(IWICMetadataReaderInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetVendorGUID(IWICMetadataReaderInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetVersion(IWICMetadataReaderInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetSpecVersion(IWICMetadataReaderInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetFriendlyName(IWICMetadataReaderInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICMetadataHandlerInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetMetadataFormat(IWICMetadataReaderInfo* This,GUID *pguidMetadataFormat) { + return This->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetContainerFormats(IWICMetadataReaderInfo* This,UINT cContainerFormats,GUID *pguidContainerFormats,UINT *pcchActual) { + return This->lpVtbl->GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetDeviceManufacturer(IWICMetadataReaderInfo* This,UINT cchDeviceManufacturer,WCHAR *wzDeviceManufacturer,UINT *pcchActual) { + return This->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetDeviceModels(IWICMetadataReaderInfo* This,UINT cchDeviceModels,WCHAR *wzDeviceModels,UINT *pcchActual) { + return This->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_DoesRequireFullStream(IWICMetadataReaderInfo* This,BOOL *pfRequiresFullStream) { + return This->lpVtbl->DoesRequireFullStream(This,pfRequiresFullStream); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_DoesSupportPadding(IWICMetadataReaderInfo* This,BOOL *pfSupportsPadding) { + return This->lpVtbl->DoesSupportPadding(This,pfSupportsPadding); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_DoesRequireFixedSize(IWICMetadataReaderInfo* This,BOOL *pfFixedSize) { + return This->lpVtbl->DoesRequireFixedSize(This,pfFixedSize); +} +/*** IWICMetadataReaderInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataReaderInfo_GetPatterns(IWICMetadataReaderInfo* This,REFGUID guidContainerFormat,UINT cbSize,WICMetadataPattern *pPattern,UINT *pcCount,UINT *pcbActual) { + return This->lpVtbl->GetPatterns(This,guidContainerFormat,cbSize,pPattern,pcCount,pcbActual); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_MatchesPattern(IWICMetadataReaderInfo* This,REFGUID guidContainerFormat,IStream *pIStream,BOOL *pfMatches) { + return This->lpVtbl->MatchesPattern(This,guidContainerFormat,pIStream,pfMatches); +} +static FORCEINLINE HRESULT IWICMetadataReaderInfo_CreateInstance(IWICMetadataReaderInfo* This,IWICMetadataReader **ppIReader) { + return This->lpVtbl->CreateInstance(This,ppIReader); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataReaderInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataWriter interface + */ +#ifndef __IWICMetadataWriter_INTERFACE_DEFINED__ +#define __IWICMetadataWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataWriter, 0xf7836e16, 0x3be0, 0x470b, 0x86,0xbb, 0x16,0x0d,0x0a,0xec,0xd7,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f7836e16-3be0-470b-86bb-160d0aecd7de") +IWICMetadataWriter : public IWICMetadataReader +{ + virtual HRESULT STDMETHODCALLTYPE SetValue( + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + const PROPVARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetValueByIndex( + UINT nIndex, + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + const PROPVARIANT *pvarValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveValue( + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveValueByIndex( + UINT nIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataWriter, 0xf7836e16, 0x3be0, 0x470b, 0x86,0xbb, 0x16,0x0d,0x0a,0xec,0xd7,0xde) +#endif +#else +typedef struct IWICMetadataWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataWriter *This); + + /*** IWICMetadataReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMetadataFormat)( + IWICMetadataWriter *This, + GUID *pguidMetadataFormat); + + HRESULT (STDMETHODCALLTYPE *GetMetadataHandlerInfo)( + IWICMetadataWriter *This, + IWICMetadataHandlerInfo **ppIHandler); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IWICMetadataWriter *This, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetValueByIndex)( + IWICMetadataWriter *This, + UINT nIndex, + PROPVARIANT *pvarSchema, + PROPVARIANT *pvarId, + PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IWICMetadataWriter *This, + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *GetEnumerator)( + IWICMetadataWriter *This, + IWICEnumMetadataItem **ppIEnumMetadata); + + /*** IWICMetadataWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *SetValue)( + IWICMetadataWriter *This, + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + const PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *SetValueByIndex)( + IWICMetadataWriter *This, + UINT nIndex, + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId, + const PROPVARIANT *pvarValue); + + HRESULT (STDMETHODCALLTYPE *RemoveValue)( + IWICMetadataWriter *This, + const PROPVARIANT *pvarSchema, + const PROPVARIANT *pvarId); + + HRESULT (STDMETHODCALLTYPE *RemoveValueByIndex)( + IWICMetadataWriter *This, + UINT nIndex); + + END_INTERFACE +} IWICMetadataWriterVtbl; + +interface IWICMetadataWriter { + CONST_VTBL IWICMetadataWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IWICMetadataReader methods ***/ +#define IWICMetadataWriter_GetMetadataFormat(This,pguidMetadataFormat) (This)->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat) +#define IWICMetadataWriter_GetMetadataHandlerInfo(This,ppIHandler) (This)->lpVtbl->GetMetadataHandlerInfo(This,ppIHandler) +#define IWICMetadataWriter_GetCount(This,pcCount) (This)->lpVtbl->GetCount(This,pcCount) +#define IWICMetadataWriter_GetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue) (This)->lpVtbl->GetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue) +#define IWICMetadataWriter_GetValue(This,pvarSchema,pvarId,pvarValue) (This)->lpVtbl->GetValue(This,pvarSchema,pvarId,pvarValue) +#define IWICMetadataWriter_GetEnumerator(This,ppIEnumMetadata) (This)->lpVtbl->GetEnumerator(This,ppIEnumMetadata) +/*** IWICMetadataWriter methods ***/ +#define IWICMetadataWriter_SetValue(This,pvarSchema,pvarId,pvarValue) (This)->lpVtbl->SetValue(This,pvarSchema,pvarId,pvarValue) +#define IWICMetadataWriter_SetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue) (This)->lpVtbl->SetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue) +#define IWICMetadataWriter_RemoveValue(This,pvarSchema,pvarId) (This)->lpVtbl->RemoveValue(This,pvarSchema,pvarId) +#define IWICMetadataWriter_RemoveValueByIndex(This,nIndex) (This)->lpVtbl->RemoveValueByIndex(This,nIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriter_QueryInterface(IWICMetadataWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataWriter_AddRef(IWICMetadataWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataWriter_Release(IWICMetadataWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IWICMetadataReader methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriter_GetMetadataFormat(IWICMetadataWriter* This,GUID *pguidMetadataFormat) { + return This->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat); +} +static FORCEINLINE HRESULT IWICMetadataWriter_GetMetadataHandlerInfo(IWICMetadataWriter* This,IWICMetadataHandlerInfo **ppIHandler) { + return This->lpVtbl->GetMetadataHandlerInfo(This,ppIHandler); +} +static FORCEINLINE HRESULT IWICMetadataWriter_GetCount(IWICMetadataWriter* This,UINT *pcCount) { + return This->lpVtbl->GetCount(This,pcCount); +} +static FORCEINLINE HRESULT IWICMetadataWriter_GetValueByIndex(IWICMetadataWriter* This,UINT nIndex,PROPVARIANT *pvarSchema,PROPVARIANT *pvarId,PROPVARIANT *pvarValue) { + return This->lpVtbl->GetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataWriter_GetValue(IWICMetadataWriter* This,const PROPVARIANT *pvarSchema,const PROPVARIANT *pvarId,PROPVARIANT *pvarValue) { + return This->lpVtbl->GetValue(This,pvarSchema,pvarId,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataWriter_GetEnumerator(IWICMetadataWriter* This,IWICEnumMetadataItem **ppIEnumMetadata) { + return This->lpVtbl->GetEnumerator(This,ppIEnumMetadata); +} +/*** IWICMetadataWriter methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriter_SetValue(IWICMetadataWriter* This,const PROPVARIANT *pvarSchema,const PROPVARIANT *pvarId,const PROPVARIANT *pvarValue) { + return This->lpVtbl->SetValue(This,pvarSchema,pvarId,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataWriter_SetValueByIndex(IWICMetadataWriter* This,UINT nIndex,const PROPVARIANT *pvarSchema,const PROPVARIANT *pvarId,const PROPVARIANT *pvarValue) { + return This->lpVtbl->SetValueByIndex(This,nIndex,pvarSchema,pvarId,pvarValue); +} +static FORCEINLINE HRESULT IWICMetadataWriter_RemoveValue(IWICMetadataWriter* This,const PROPVARIANT *pvarSchema,const PROPVARIANT *pvarId) { + return This->lpVtbl->RemoveValue(This,pvarSchema,pvarId); +} +static FORCEINLINE HRESULT IWICMetadataWriter_RemoveValueByIndex(IWICMetadataWriter* This,UINT nIndex) { + return This->lpVtbl->RemoveValueByIndex(This,nIndex); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataWriterInfo interface + */ +#ifndef __IWICMetadataWriterInfo_INTERFACE_DEFINED__ +#define __IWICMetadataWriterInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataWriterInfo, 0xb22e3fba, 0x3925, 0x4323, 0xb5,0xc1, 0x9e,0xbf,0xc4,0x30,0xf2,0x36); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b22e3fba-3925-4323-b5c1-9ebfc430f236") +IWICMetadataWriterInfo : public IWICMetadataHandlerInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetHeader( + REFGUID guidContainerFormat, + UINT cbSize, + WICMetadataHeader *pHeader, + UINT *pcbActual) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstance( + IWICMetadataWriter **ppIWriter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataWriterInfo, 0xb22e3fba, 0x3925, 0x4323, 0xb5,0xc1, 0x9e,0xbf,0xc4,0x30,0xf2,0x36) +#endif +#else +typedef struct IWICMetadataWriterInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataWriterInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataWriterInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataWriterInfo *This); + + /*** IWICComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetComponentType)( + IWICMetadataWriterInfo *This, + WICComponentType *pType); + + HRESULT (STDMETHODCALLTYPE *GetCLSID)( + IWICMetadataWriterInfo *This, + CLSID *pclsid); + + HRESULT (STDMETHODCALLTYPE *GetSigningStatus)( + IWICMetadataWriterInfo *This, + DWORD *pStatus); + + HRESULT (STDMETHODCALLTYPE *GetAuthor)( + IWICMetadataWriterInfo *This, + UINT cchAuthor, + WCHAR *wzAuthor, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetVendorGUID)( + IWICMetadataWriterInfo *This, + GUID *pguidVendor); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWICMetadataWriterInfo *This, + UINT cchVersion, + WCHAR *wzVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetSpecVersion)( + IWICMetadataWriterInfo *This, + UINT cchSpecVersion, + WCHAR *wzSpecVersion, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IWICMetadataWriterInfo *This, + UINT cchFriendlyName, + WCHAR *wzFriendlyName, + UINT *pcchActual); + + /*** IWICMetadataHandlerInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMetadataFormat)( + IWICMetadataWriterInfo *This, + GUID *pguidMetadataFormat); + + HRESULT (STDMETHODCALLTYPE *GetContainerFormats)( + IWICMetadataWriterInfo *This, + UINT cContainerFormats, + GUID *pguidContainerFormats, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceManufacturer)( + IWICMetadataWriterInfo *This, + UINT cchDeviceManufacturer, + WCHAR *wzDeviceManufacturer, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *GetDeviceModels)( + IWICMetadataWriterInfo *This, + UINT cchDeviceModels, + WCHAR *wzDeviceModels, + UINT *pcchActual); + + HRESULT (STDMETHODCALLTYPE *DoesRequireFullStream)( + IWICMetadataWriterInfo *This, + BOOL *pfRequiresFullStream); + + HRESULT (STDMETHODCALLTYPE *DoesSupportPadding)( + IWICMetadataWriterInfo *This, + BOOL *pfSupportsPadding); + + HRESULT (STDMETHODCALLTYPE *DoesRequireFixedSize)( + IWICMetadataWriterInfo *This, + BOOL *pfFixedSize); + + /*** IWICMetadataWriterInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetHeader)( + IWICMetadataWriterInfo *This, + REFGUID guidContainerFormat, + UINT cbSize, + WICMetadataHeader *pHeader, + UINT *pcbActual); + + HRESULT (STDMETHODCALLTYPE *CreateInstance)( + IWICMetadataWriterInfo *This, + IWICMetadataWriter **ppIWriter); + + END_INTERFACE +} IWICMetadataWriterInfoVtbl; + +interface IWICMetadataWriterInfo { + CONST_VTBL IWICMetadataWriterInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataWriterInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataWriterInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataWriterInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWICComponentInfo methods ***/ +#define IWICMetadataWriterInfo_GetComponentType(This,pType) (This)->lpVtbl->GetComponentType(This,pType) +#define IWICMetadataWriterInfo_GetCLSID(This,pclsid) (This)->lpVtbl->GetCLSID(This,pclsid) +#define IWICMetadataWriterInfo_GetSigningStatus(This,pStatus) (This)->lpVtbl->GetSigningStatus(This,pStatus) +#define IWICMetadataWriterInfo_GetAuthor(This,cchAuthor,wzAuthor,pcchActual) (This)->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual) +#define IWICMetadataWriterInfo_GetVendorGUID(This,pguidVendor) (This)->lpVtbl->GetVendorGUID(This,pguidVendor) +#define IWICMetadataWriterInfo_GetVersion(This,cchVersion,wzVersion,pcchActual) (This)->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual) +#define IWICMetadataWriterInfo_GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) (This)->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual) +#define IWICMetadataWriterInfo_GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) (This)->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual) +/*** IWICMetadataHandlerInfo methods ***/ +#define IWICMetadataWriterInfo_GetMetadataFormat(This,pguidMetadataFormat) (This)->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat) +#define IWICMetadataWriterInfo_GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual) (This)->lpVtbl->GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual) +#define IWICMetadataWriterInfo_GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) (This)->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual) +#define IWICMetadataWriterInfo_GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) (This)->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual) +#define IWICMetadataWriterInfo_DoesRequireFullStream(This,pfRequiresFullStream) (This)->lpVtbl->DoesRequireFullStream(This,pfRequiresFullStream) +#define IWICMetadataWriterInfo_DoesSupportPadding(This,pfSupportsPadding) (This)->lpVtbl->DoesSupportPadding(This,pfSupportsPadding) +#define IWICMetadataWriterInfo_DoesRequireFixedSize(This,pfFixedSize) (This)->lpVtbl->DoesRequireFixedSize(This,pfFixedSize) +/*** IWICMetadataWriterInfo methods ***/ +#define IWICMetadataWriterInfo_GetHeader(This,guidContainerFormat,cbSize,pHeader,pcbActual) (This)->lpVtbl->GetHeader(This,guidContainerFormat,cbSize,pHeader,pcbActual) +#define IWICMetadataWriterInfo_CreateInstance(This,ppIWriter) (This)->lpVtbl->CreateInstance(This,ppIWriter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriterInfo_QueryInterface(IWICMetadataWriterInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataWriterInfo_AddRef(IWICMetadataWriterInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataWriterInfo_Release(IWICMetadataWriterInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWICComponentInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetComponentType(IWICMetadataWriterInfo* This,WICComponentType *pType) { + return This->lpVtbl->GetComponentType(This,pType); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetCLSID(IWICMetadataWriterInfo* This,CLSID *pclsid) { + return This->lpVtbl->GetCLSID(This,pclsid); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetSigningStatus(IWICMetadataWriterInfo* This,DWORD *pStatus) { + return This->lpVtbl->GetSigningStatus(This,pStatus); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetAuthor(IWICMetadataWriterInfo* This,UINT cchAuthor,WCHAR *wzAuthor,UINT *pcchActual) { + return This->lpVtbl->GetAuthor(This,cchAuthor,wzAuthor,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetVendorGUID(IWICMetadataWriterInfo* This,GUID *pguidVendor) { + return This->lpVtbl->GetVendorGUID(This,pguidVendor); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetVersion(IWICMetadataWriterInfo* This,UINT cchVersion,WCHAR *wzVersion,UINT *pcchActual) { + return This->lpVtbl->GetVersion(This,cchVersion,wzVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetSpecVersion(IWICMetadataWriterInfo* This,UINT cchSpecVersion,WCHAR *wzSpecVersion,UINT *pcchActual) { + return This->lpVtbl->GetSpecVersion(This,cchSpecVersion,wzSpecVersion,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetFriendlyName(IWICMetadataWriterInfo* This,UINT cchFriendlyName,WCHAR *wzFriendlyName,UINT *pcchActual) { + return This->lpVtbl->GetFriendlyName(This,cchFriendlyName,wzFriendlyName,pcchActual); +} +/*** IWICMetadataHandlerInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetMetadataFormat(IWICMetadataWriterInfo* This,GUID *pguidMetadataFormat) { + return This->lpVtbl->GetMetadataFormat(This,pguidMetadataFormat); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetContainerFormats(IWICMetadataWriterInfo* This,UINT cContainerFormats,GUID *pguidContainerFormats,UINT *pcchActual) { + return This->lpVtbl->GetContainerFormats(This,cContainerFormats,pguidContainerFormats,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetDeviceManufacturer(IWICMetadataWriterInfo* This,UINT cchDeviceManufacturer,WCHAR *wzDeviceManufacturer,UINT *pcchActual) { + return This->lpVtbl->GetDeviceManufacturer(This,cchDeviceManufacturer,wzDeviceManufacturer,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetDeviceModels(IWICMetadataWriterInfo* This,UINT cchDeviceModels,WCHAR *wzDeviceModels,UINT *pcchActual) { + return This->lpVtbl->GetDeviceModels(This,cchDeviceModels,wzDeviceModels,pcchActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_DoesRequireFullStream(IWICMetadataWriterInfo* This,BOOL *pfRequiresFullStream) { + return This->lpVtbl->DoesRequireFullStream(This,pfRequiresFullStream); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_DoesSupportPadding(IWICMetadataWriterInfo* This,BOOL *pfSupportsPadding) { + return This->lpVtbl->DoesSupportPadding(This,pfSupportsPadding); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_DoesRequireFixedSize(IWICMetadataWriterInfo* This,BOOL *pfFixedSize) { + return This->lpVtbl->DoesRequireFixedSize(This,pfFixedSize); +} +/*** IWICMetadataWriterInfo methods ***/ +static FORCEINLINE HRESULT IWICMetadataWriterInfo_GetHeader(IWICMetadataWriterInfo* This,REFGUID guidContainerFormat,UINT cbSize,WICMetadataHeader *pHeader,UINT *pcbActual) { + return This->lpVtbl->GetHeader(This,guidContainerFormat,cbSize,pHeader,pcbActual); +} +static FORCEINLINE HRESULT IWICMetadataWriterInfo_CreateInstance(IWICMetadataWriterInfo* This,IWICMetadataWriter **ppIWriter) { + return This->lpVtbl->CreateInstance(This,ppIWriter); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataWriterInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataBlockReader interface + */ +#ifndef __IWICMetadataBlockReader_INTERFACE_DEFINED__ +#define __IWICMetadataBlockReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataBlockReader, 0xfeaa2a8d, 0xb3f3, 0x43e4, 0xb2,0x5c, 0xd1,0xde,0x99,0x0a,0x1a,0xe1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("feaa2a8d-b3f3-43e4-b25c-d1de990a1ae1") +IWICMetadataBlockReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetContainerFormat( + GUID *pguidContainerFormat) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCount( + UINT *pcCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReaderByIndex( + UINT nIndex, + IWICMetadataReader **ppIMetadataReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnumerator( + IEnumUnknown **ppIEnumMetadata) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataBlockReader, 0xfeaa2a8d, 0xb3f3, 0x43e4, 0xb2,0x5c, 0xd1,0xde,0x99,0x0a,0x1a,0xe1) +#endif +#else +typedef struct IWICMetadataBlockReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataBlockReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataBlockReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataBlockReader *This); + + /*** IWICMetadataBlockReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICMetadataBlockReader *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IWICMetadataBlockReader *This, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetReaderByIndex)( + IWICMetadataBlockReader *This, + UINT nIndex, + IWICMetadataReader **ppIMetadataReader); + + HRESULT (STDMETHODCALLTYPE *GetEnumerator)( + IWICMetadataBlockReader *This, + IEnumUnknown **ppIEnumMetadata); + + END_INTERFACE +} IWICMetadataBlockReaderVtbl; + +interface IWICMetadataBlockReader { + CONST_VTBL IWICMetadataBlockReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataBlockReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataBlockReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataBlockReader_Release(This) (This)->lpVtbl->Release(This) +/*** IWICMetadataBlockReader methods ***/ +#define IWICMetadataBlockReader_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICMetadataBlockReader_GetCount(This,pcCount) (This)->lpVtbl->GetCount(This,pcCount) +#define IWICMetadataBlockReader_GetReaderByIndex(This,nIndex,ppIMetadataReader) (This)->lpVtbl->GetReaderByIndex(This,nIndex,ppIMetadataReader) +#define IWICMetadataBlockReader_GetEnumerator(This,ppIEnumMetadata) (This)->lpVtbl->GetEnumerator(This,ppIEnumMetadata) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataBlockReader_QueryInterface(IWICMetadataBlockReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataBlockReader_AddRef(IWICMetadataBlockReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataBlockReader_Release(IWICMetadataBlockReader* This) { + return This->lpVtbl->Release(This); +} +/*** IWICMetadataBlockReader methods ***/ +static FORCEINLINE HRESULT IWICMetadataBlockReader_GetContainerFormat(IWICMetadataBlockReader* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICMetadataBlockReader_GetCount(IWICMetadataBlockReader* This,UINT *pcCount) { + return This->lpVtbl->GetCount(This,pcCount); +} +static FORCEINLINE HRESULT IWICMetadataBlockReader_GetReaderByIndex(IWICMetadataBlockReader* This,UINT nIndex,IWICMetadataReader **ppIMetadataReader) { + return This->lpVtbl->GetReaderByIndex(This,nIndex,ppIMetadataReader); +} +static FORCEINLINE HRESULT IWICMetadataBlockReader_GetEnumerator(IWICMetadataBlockReader* This,IEnumUnknown **ppIEnumMetadata) { + return This->lpVtbl->GetEnumerator(This,ppIEnumMetadata); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataBlockReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICMetadataBlockWriter interface + */ +#ifndef __IWICMetadataBlockWriter_INTERFACE_DEFINED__ +#define __IWICMetadataBlockWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICMetadataBlockWriter, 0x08fb9676, 0xb444, 0x41e8, 0x8d,0xbe, 0x6a,0x53,0xa5,0x42,0xbf,0xf1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("08fb9676-b444-41e8-8dbe-6a53a542bff1") +IWICMetadataBlockWriter : public IWICMetadataBlockReader +{ + virtual HRESULT STDMETHODCALLTYPE InitializeFromBlockReader( + IWICMetadataBlockReader *pIMDBlockReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWriterByIndex( + UINT nIndex, + IWICMetadataWriter **ppIMetadataWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddWriter( + IWICMetadataWriter *pIMetadataWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetWriterByIndex( + UINT nIndex, + IWICMetadataWriter *pIMetadataWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveWriterByIndex( + UINT nIndex) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICMetadataBlockWriter, 0x08fb9676, 0xb444, 0x41e8, 0x8d,0xbe, 0x6a,0x53,0xa5,0x42,0xbf,0xf1) +#endif +#else +typedef struct IWICMetadataBlockWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICMetadataBlockWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICMetadataBlockWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICMetadataBlockWriter *This); + + /*** IWICMetadataBlockReader methods ***/ + HRESULT (STDMETHODCALLTYPE *GetContainerFormat)( + IWICMetadataBlockWriter *This, + GUID *pguidContainerFormat); + + HRESULT (STDMETHODCALLTYPE *GetCount)( + IWICMetadataBlockWriter *This, + UINT *pcCount); + + HRESULT (STDMETHODCALLTYPE *GetReaderByIndex)( + IWICMetadataBlockWriter *This, + UINT nIndex, + IWICMetadataReader **ppIMetadataReader); + + HRESULT (STDMETHODCALLTYPE *GetEnumerator)( + IWICMetadataBlockWriter *This, + IEnumUnknown **ppIEnumMetadata); + + /*** IWICMetadataBlockWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *InitializeFromBlockReader)( + IWICMetadataBlockWriter *This, + IWICMetadataBlockReader *pIMDBlockReader); + + HRESULT (STDMETHODCALLTYPE *GetWriterByIndex)( + IWICMetadataBlockWriter *This, + UINT nIndex, + IWICMetadataWriter **ppIMetadataWriter); + + HRESULT (STDMETHODCALLTYPE *AddWriter)( + IWICMetadataBlockWriter *This, + IWICMetadataWriter *pIMetadataWriter); + + HRESULT (STDMETHODCALLTYPE *SetWriterByIndex)( + IWICMetadataBlockWriter *This, + UINT nIndex, + IWICMetadataWriter *pIMetadataWriter); + + HRESULT (STDMETHODCALLTYPE *RemoveWriterByIndex)( + IWICMetadataBlockWriter *This, + UINT nIndex); + + END_INTERFACE +} IWICMetadataBlockWriterVtbl; + +interface IWICMetadataBlockWriter { + CONST_VTBL IWICMetadataBlockWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICMetadataBlockWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICMetadataBlockWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICMetadataBlockWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IWICMetadataBlockReader methods ***/ +#define IWICMetadataBlockWriter_GetContainerFormat(This,pguidContainerFormat) (This)->lpVtbl->GetContainerFormat(This,pguidContainerFormat) +#define IWICMetadataBlockWriter_GetCount(This,pcCount) (This)->lpVtbl->GetCount(This,pcCount) +#define IWICMetadataBlockWriter_GetReaderByIndex(This,nIndex,ppIMetadataReader) (This)->lpVtbl->GetReaderByIndex(This,nIndex,ppIMetadataReader) +#define IWICMetadataBlockWriter_GetEnumerator(This,ppIEnumMetadata) (This)->lpVtbl->GetEnumerator(This,ppIEnumMetadata) +/*** IWICMetadataBlockWriter methods ***/ +#define IWICMetadataBlockWriter_InitializeFromBlockReader(This,pIMDBlockReader) (This)->lpVtbl->InitializeFromBlockReader(This,pIMDBlockReader) +#define IWICMetadataBlockWriter_GetWriterByIndex(This,nIndex,ppIMetadataWriter) (This)->lpVtbl->GetWriterByIndex(This,nIndex,ppIMetadataWriter) +#define IWICMetadataBlockWriter_AddWriter(This,pIMetadataWriter) (This)->lpVtbl->AddWriter(This,pIMetadataWriter) +#define IWICMetadataBlockWriter_SetWriterByIndex(This,nIndex,pIMetadataWriter) (This)->lpVtbl->SetWriterByIndex(This,nIndex,pIMetadataWriter) +#define IWICMetadataBlockWriter_RemoveWriterByIndex(This,nIndex) (This)->lpVtbl->RemoveWriterByIndex(This,nIndex) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICMetadataBlockWriter_QueryInterface(IWICMetadataBlockWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICMetadataBlockWriter_AddRef(IWICMetadataBlockWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICMetadataBlockWriter_Release(IWICMetadataBlockWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IWICMetadataBlockReader methods ***/ +static FORCEINLINE HRESULT IWICMetadataBlockWriter_GetContainerFormat(IWICMetadataBlockWriter* This,GUID *pguidContainerFormat) { + return This->lpVtbl->GetContainerFormat(This,pguidContainerFormat); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_GetCount(IWICMetadataBlockWriter* This,UINT *pcCount) { + return This->lpVtbl->GetCount(This,pcCount); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_GetReaderByIndex(IWICMetadataBlockWriter* This,UINT nIndex,IWICMetadataReader **ppIMetadataReader) { + return This->lpVtbl->GetReaderByIndex(This,nIndex,ppIMetadataReader); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_GetEnumerator(IWICMetadataBlockWriter* This,IEnumUnknown **ppIEnumMetadata) { + return This->lpVtbl->GetEnumerator(This,ppIEnumMetadata); +} +/*** IWICMetadataBlockWriter methods ***/ +static FORCEINLINE HRESULT IWICMetadataBlockWriter_InitializeFromBlockReader(IWICMetadataBlockWriter* This,IWICMetadataBlockReader *pIMDBlockReader) { + return This->lpVtbl->InitializeFromBlockReader(This,pIMDBlockReader); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_GetWriterByIndex(IWICMetadataBlockWriter* This,UINT nIndex,IWICMetadataWriter **ppIMetadataWriter) { + return This->lpVtbl->GetWriterByIndex(This,nIndex,ppIMetadataWriter); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_AddWriter(IWICMetadataBlockWriter* This,IWICMetadataWriter *pIMetadataWriter) { + return This->lpVtbl->AddWriter(This,pIMetadataWriter); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_SetWriterByIndex(IWICMetadataBlockWriter* This,UINT nIndex,IWICMetadataWriter *pIMetadataWriter) { + return This->lpVtbl->SetWriterByIndex(This,nIndex,pIMetadataWriter); +} +static FORCEINLINE HRESULT IWICMetadataBlockWriter_RemoveWriterByIndex(IWICMetadataBlockWriter* This,UINT nIndex) { + return This->lpVtbl->RemoveWriterByIndex(This,nIndex); +} +#endif +#endif + +#endif + + +#endif /* __IWICMetadataBlockWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICPersistStream interface + */ +#ifndef __IWICPersistStream_INTERFACE_DEFINED__ +#define __IWICPersistStream_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICPersistStream, 0x00675040, 0x6908, 0x45f8, 0x86,0xa3, 0x49,0xc7,0xdf,0xd6,0xd9,0xad); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00675040-6908-45f8-86a3-49c7dfd6d9ad") +IWICPersistStream : public IPersistStream +{ + virtual HRESULT STDMETHODCALLTYPE LoadEx( + IStream *pIStream, + const GUID *pguidPreferredVendor, + DWORD dwPersistOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveEx( + IStream *pIStream, + DWORD dwPersistOptions, + BOOL fClearDirty) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICPersistStream, 0x00675040, 0x6908, 0x45f8, 0x86,0xa3, 0x49,0xc7,0xdf,0xd6,0xd9,0xad) +#endif +#else +typedef struct IWICPersistStreamVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICPersistStream *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICPersistStream *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICPersistStream *This); + + /*** IPersist methods ***/ + HRESULT (STDMETHODCALLTYPE *GetClassID)( + IWICPersistStream *This, + CLSID *pClassID); + + /*** IPersistStream methods ***/ + HRESULT (STDMETHODCALLTYPE *IsDirty)( + IWICPersistStream *This); + + HRESULT (STDMETHODCALLTYPE *Load)( + IWICPersistStream *This, + IStream *pStm); + + HRESULT (STDMETHODCALLTYPE *Save)( + IWICPersistStream *This, + IStream *pStm, + BOOL fClearDirty); + + HRESULT (STDMETHODCALLTYPE *GetSizeMax)( + IWICPersistStream *This, + ULARGE_INTEGER *pcbSize); + + /*** IWICPersistStream methods ***/ + HRESULT (STDMETHODCALLTYPE *LoadEx)( + IWICPersistStream *This, + IStream *pIStream, + const GUID *pguidPreferredVendor, + DWORD dwPersistOptions); + + HRESULT (STDMETHODCALLTYPE *SaveEx)( + IWICPersistStream *This, + IStream *pIStream, + DWORD dwPersistOptions, + BOOL fClearDirty); + + END_INTERFACE +} IWICPersistStreamVtbl; + +interface IWICPersistStream { + CONST_VTBL IWICPersistStreamVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICPersistStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICPersistStream_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICPersistStream_Release(This) (This)->lpVtbl->Release(This) +/*** IPersist methods ***/ +#define IWICPersistStream_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID) +/*** IPersistStream methods ***/ +#define IWICPersistStream_IsDirty(This) (This)->lpVtbl->IsDirty(This) +#define IWICPersistStream_Load(This,pStm) (This)->lpVtbl->Load(This,pStm) +#define IWICPersistStream_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty) +#define IWICPersistStream_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize) +/*** IWICPersistStream methods ***/ +#define IWICPersistStream_LoadEx(This,pIStream,pguidPreferredVendor,dwPersistOptions) (This)->lpVtbl->LoadEx(This,pIStream,pguidPreferredVendor,dwPersistOptions) +#define IWICPersistStream_SaveEx(This,pIStream,dwPersistOptions,fClearDirty) (This)->lpVtbl->SaveEx(This,pIStream,dwPersistOptions,fClearDirty) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICPersistStream_QueryInterface(IWICPersistStream* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICPersistStream_AddRef(IWICPersistStream* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICPersistStream_Release(IWICPersistStream* This) { + return This->lpVtbl->Release(This); +} +/*** IPersist methods ***/ +static FORCEINLINE HRESULT IWICPersistStream_GetClassID(IWICPersistStream* This,CLSID *pClassID) { + return This->lpVtbl->GetClassID(This,pClassID); +} +/*** IPersistStream methods ***/ +static FORCEINLINE HRESULT IWICPersistStream_IsDirty(IWICPersistStream* This) { + return This->lpVtbl->IsDirty(This); +} +static FORCEINLINE HRESULT IWICPersistStream_Load(IWICPersistStream* This,IStream *pStm) { + return This->lpVtbl->Load(This,pStm); +} +static FORCEINLINE HRESULT IWICPersistStream_Save(IWICPersistStream* This,IStream *pStm,BOOL fClearDirty) { + return This->lpVtbl->Save(This,pStm,fClearDirty); +} +static FORCEINLINE HRESULT IWICPersistStream_GetSizeMax(IWICPersistStream* This,ULARGE_INTEGER *pcbSize) { + return This->lpVtbl->GetSizeMax(This,pcbSize); +} +/*** IWICPersistStream methods ***/ +static FORCEINLINE HRESULT IWICPersistStream_LoadEx(IWICPersistStream* This,IStream *pIStream,const GUID *pguidPreferredVendor,DWORD dwPersistOptions) { + return This->lpVtbl->LoadEx(This,pIStream,pguidPreferredVendor,dwPersistOptions); +} +static FORCEINLINE HRESULT IWICPersistStream_SaveEx(IWICPersistStream* This,IStream *pIStream,DWORD dwPersistOptions,BOOL fClearDirty) { + return This->lpVtbl->SaveEx(This,pIStream,dwPersistOptions,fClearDirty); +} +#endif +#endif + +#endif + + +#endif /* __IWICPersistStream_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWICComponentFactory interface + */ +#ifndef __IWICComponentFactory_INTERFACE_DEFINED__ +#define __IWICComponentFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWICComponentFactory, 0x412d0c3a, 0x9650, 0x44fa, 0xaf,0x5b, 0xdd,0x2a,0x06,0xc8,0xe8,0xfb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("412d0c3a-9650-44fa-af5b-dd2a06c8e8fb") +IWICComponentFactory : public IWICImagingFactory +{ + virtual HRESULT STDMETHODCALLTYPE CreateMetadataReader( + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + DWORD dwOptions, + IStream *pIStream, + IWICMetadataReader **ppIReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMetadataReaderFromContainer( + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + DWORD dwOptions, + IStream *pIStream, + IWICMetadataReader **ppIReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMetadataWriter( + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + DWORD dwMetadataOptions, + IWICMetadataWriter **ppIWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMetadataWriterFromReader( + IWICMetadataReader *pIReader, + const GUID *pguidVendor, + IWICMetadataWriter **ppIWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQueryReaderFromBlockReader( + IWICMetadataBlockReader *pIBlockReader, + IWICMetadataQueryReader **ppIQueryReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateQueryWriterFromBlockWriter( + IWICMetadataBlockWriter *pIBlockWriter, + IWICMetadataQueryWriter **ppIQueryWriter) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateEncoderPropertyBag( + PROPBAG2 *ppropOptions, + UINT cCount, + IPropertyBag2 **ppIPropertyBag) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWICComponentFactory, 0x412d0c3a, 0x9650, 0x44fa, 0xaf,0x5b, 0xdd,0x2a,0x06,0xc8,0xe8,0xfb) +#endif +#else +typedef struct IWICComponentFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWICComponentFactory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWICComponentFactory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWICComponentFactory *This); + + /*** IWICImagingFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromFilename)( + IWICComponentFactory *This, + LPCWSTR wzFilename, + const GUID *pguidVendor, + DWORD dwDesiredAccess, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromStream)( + IWICComponentFactory *This, + IStream *pIStream, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateDecoderFromFileHandle)( + IWICComponentFactory *This, + ULONG_PTR hFile, + const GUID *pguidVendor, + WICDecodeOptions metadataOptions, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateComponentInfo)( + IWICComponentFactory *This, + REFCLSID clsidComponent, + IWICComponentInfo **ppIInfo); + + HRESULT (STDMETHODCALLTYPE *CreateDecoder)( + IWICComponentFactory *This, + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapDecoder **ppIDecoder); + + HRESULT (STDMETHODCALLTYPE *CreateEncoder)( + IWICComponentFactory *This, + REFGUID guidContainerFormat, + const GUID *pguidVendor, + IWICBitmapEncoder **ppIEncoder); + + HRESULT (STDMETHODCALLTYPE *CreatePalette)( + IWICComponentFactory *This, + IWICPalette **ppIPalette); + + HRESULT (STDMETHODCALLTYPE *CreateFormatConverter)( + IWICComponentFactory *This, + IWICFormatConverter **ppIFormatConverter); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapScaler)( + IWICComponentFactory *This, + IWICBitmapScaler **ppIBitmapScaler); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapClipper)( + IWICComponentFactory *This, + IWICBitmapClipper **ppIBitmapClipper); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFlipRotator)( + IWICComponentFactory *This, + IWICBitmapFlipRotator **ppIBitmapFlipRotator); + + HRESULT (STDMETHODCALLTYPE *CreateStream)( + IWICComponentFactory *This, + IWICStream **ppIWICStream); + + HRESULT (STDMETHODCALLTYPE *CreateColorContext)( + IWICComponentFactory *This, + IWICColorContext **ppIWICColorContext); + + HRESULT (STDMETHODCALLTYPE *CreateColorTransformer)( + IWICComponentFactory *This, + IWICColorTransform **ppIWICColorTransform); + + HRESULT (STDMETHODCALLTYPE *CreateBitmap)( + IWICComponentFactory *This, + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromSource)( + IWICComponentFactory *This, + IWICBitmapSource *piBitmapSource, + WICBitmapCreateCacheOption option, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromSourceRect)( + IWICComponentFactory *This, + IWICBitmapSource *piBitmapSource, + UINT x, + UINT y, + UINT width, + UINT height, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromMemory)( + IWICComponentFactory *This, + UINT uiWidth, + UINT uiHeight, + REFWICPixelFormatGUID pixelFormat, + UINT cbStride, + UINT cbBufferSize, + BYTE *pbBuffer, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromHBITMAP)( + IWICComponentFactory *This, + HBITMAP hBitmap, + HPALETTE hPalette, + WICBitmapAlphaChannelOption options, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateBitmapFromHICON)( + IWICComponentFactory *This, + HICON hIcon, + IWICBitmap **ppIBitmap); + + HRESULT (STDMETHODCALLTYPE *CreateComponentEnumerator)( + IWICComponentFactory *This, + DWORD componentTypes, + DWORD options, + IEnumUnknown **ppIEnumUnknown); + + HRESULT (STDMETHODCALLTYPE *CreateFastMetadataEncoderFromDecoder)( + IWICComponentFactory *This, + IWICBitmapDecoder *pIDecoder, + IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT (STDMETHODCALLTYPE *CreateFastMetadataEncoderFromFrameDecode)( + IWICComponentFactory *This, + IWICBitmapFrameDecode *pIFrameDecoder, + IWICFastMetadataEncoder **ppIFastEncoder); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriter)( + IWICComponentFactory *This, + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriterFromReader)( + IWICComponentFactory *This, + IWICMetadataQueryReader *pIQueryReader, + const GUID *pguidVendor, + IWICMetadataQueryWriter **ppIQueryWriter); + + /*** IWICComponentFactory methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateMetadataReader)( + IWICComponentFactory *This, + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + DWORD dwOptions, + IStream *pIStream, + IWICMetadataReader **ppIReader); + + HRESULT (STDMETHODCALLTYPE *CreateMetadataReaderFromContainer)( + IWICComponentFactory *This, + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + DWORD dwOptions, + IStream *pIStream, + IWICMetadataReader **ppIReader); + + HRESULT (STDMETHODCALLTYPE *CreateMetadataWriter)( + IWICComponentFactory *This, + REFGUID guidMetadataFormat, + const GUID *pguidVendor, + DWORD dwMetadataOptions, + IWICMetadataWriter **ppIWriter); + + HRESULT (STDMETHODCALLTYPE *CreateMetadataWriterFromReader)( + IWICComponentFactory *This, + IWICMetadataReader *pIReader, + const GUID *pguidVendor, + IWICMetadataWriter **ppIWriter); + + HRESULT (STDMETHODCALLTYPE *CreateQueryReaderFromBlockReader)( + IWICComponentFactory *This, + IWICMetadataBlockReader *pIBlockReader, + IWICMetadataQueryReader **ppIQueryReader); + + HRESULT (STDMETHODCALLTYPE *CreateQueryWriterFromBlockWriter)( + IWICComponentFactory *This, + IWICMetadataBlockWriter *pIBlockWriter, + IWICMetadataQueryWriter **ppIQueryWriter); + + HRESULT (STDMETHODCALLTYPE *CreateEncoderPropertyBag)( + IWICComponentFactory *This, + PROPBAG2 *ppropOptions, + UINT cCount, + IPropertyBag2 **ppIPropertyBag); + + END_INTERFACE +} IWICComponentFactoryVtbl; + +interface IWICComponentFactory { + CONST_VTBL IWICComponentFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWICComponentFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWICComponentFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWICComponentFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IWICImagingFactory methods ***/ +#define IWICComponentFactory_CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder) +#define IWICComponentFactory_CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder) +#define IWICComponentFactory_CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder) (This)->lpVtbl->CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder) +#define IWICComponentFactory_CreateComponentInfo(This,clsidComponent,ppIInfo) (This)->lpVtbl->CreateComponentInfo(This,clsidComponent,ppIInfo) +#define IWICComponentFactory_CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder) (This)->lpVtbl->CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder) +#define IWICComponentFactory_CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder) (This)->lpVtbl->CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder) +#define IWICComponentFactory_CreatePalette(This,ppIPalette) (This)->lpVtbl->CreatePalette(This,ppIPalette) +#define IWICComponentFactory_CreateFormatConverter(This,ppIFormatConverter) (This)->lpVtbl->CreateFormatConverter(This,ppIFormatConverter) +#define IWICComponentFactory_CreateBitmapScaler(This,ppIBitmapScaler) (This)->lpVtbl->CreateBitmapScaler(This,ppIBitmapScaler) +#define IWICComponentFactory_CreateBitmapClipper(This,ppIBitmapClipper) (This)->lpVtbl->CreateBitmapClipper(This,ppIBitmapClipper) +#define IWICComponentFactory_CreateBitmapFlipRotator(This,ppIBitmapFlipRotator) (This)->lpVtbl->CreateBitmapFlipRotator(This,ppIBitmapFlipRotator) +#define IWICComponentFactory_CreateStream(This,ppIWICStream) (This)->lpVtbl->CreateStream(This,ppIWICStream) +#define IWICComponentFactory_CreateColorContext(This,ppIWICColorContext) (This)->lpVtbl->CreateColorContext(This,ppIWICColorContext) +#define IWICComponentFactory_CreateColorTransformer(This,ppIWICColorTransform) (This)->lpVtbl->CreateColorTransformer(This,ppIWICColorTransform) +#define IWICComponentFactory_CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap) (This)->lpVtbl->CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap) +#define IWICComponentFactory_CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap) (This)->lpVtbl->CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap) +#define IWICComponentFactory_CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap) (This)->lpVtbl->CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap) +#define IWICComponentFactory_CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap) (This)->lpVtbl->CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap) +#define IWICComponentFactory_CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap) (This)->lpVtbl->CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap) +#define IWICComponentFactory_CreateBitmapFromHICON(This,hIcon,ppIBitmap) (This)->lpVtbl->CreateBitmapFromHICON(This,hIcon,ppIBitmap) +#define IWICComponentFactory_CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown) (This)->lpVtbl->CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown) +#define IWICComponentFactory_CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder) (This)->lpVtbl->CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder) +#define IWICComponentFactory_CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder) (This)->lpVtbl->CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder) +#define IWICComponentFactory_CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter) +#define IWICComponentFactory_CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter) +/*** IWICComponentFactory methods ***/ +#define IWICComponentFactory_CreateMetadataReader(This,guidMetadataFormat,pguidVendor,dwOptions,pIStream,ppIReader) (This)->lpVtbl->CreateMetadataReader(This,guidMetadataFormat,pguidVendor,dwOptions,pIStream,ppIReader) +#define IWICComponentFactory_CreateMetadataReaderFromContainer(This,guidMetadataFormat,pguidVendor,dwOptions,pIStream,ppIReader) (This)->lpVtbl->CreateMetadataReaderFromContainer(This,guidMetadataFormat,pguidVendor,dwOptions,pIStream,ppIReader) +#define IWICComponentFactory_CreateMetadataWriter(This,guidMetadataFormat,pguidVendor,dwMetadataOptions,ppIWriter) (This)->lpVtbl->CreateMetadataWriter(This,guidMetadataFormat,pguidVendor,dwMetadataOptions,ppIWriter) +#define IWICComponentFactory_CreateMetadataWriterFromReader(This,pIReader,pguidVendor,ppIWriter) (This)->lpVtbl->CreateMetadataWriterFromReader(This,pIReader,pguidVendor,ppIWriter) +#define IWICComponentFactory_CreateQueryReaderFromBlockReader(This,pIBlockReader,ppIQueryReader) (This)->lpVtbl->CreateQueryReaderFromBlockReader(This,pIBlockReader,ppIQueryReader) +#define IWICComponentFactory_CreateQueryWriterFromBlockWriter(This,pIBlockWriter,ppIQueryWriter) (This)->lpVtbl->CreateQueryWriterFromBlockWriter(This,pIBlockWriter,ppIQueryWriter) +#define IWICComponentFactory_CreateEncoderPropertyBag(This,ppropOptions,cCount,ppIPropertyBag) (This)->lpVtbl->CreateEncoderPropertyBag(This,ppropOptions,cCount,ppIPropertyBag) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWICComponentFactory_QueryInterface(IWICComponentFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWICComponentFactory_AddRef(IWICComponentFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWICComponentFactory_Release(IWICComponentFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IWICImagingFactory methods ***/ +static FORCEINLINE HRESULT IWICComponentFactory_CreateDecoderFromFilename(IWICComponentFactory* This,LPCWSTR wzFilename,const GUID *pguidVendor,DWORD dwDesiredAccess,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromFilename(This,wzFilename,pguidVendor,dwDesiredAccess,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateDecoderFromStream(IWICComponentFactory* This,IStream *pIStream,const GUID *pguidVendor,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromStream(This,pIStream,pguidVendor,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateDecoderFromFileHandle(IWICComponentFactory* This,ULONG_PTR hFile,const GUID *pguidVendor,WICDecodeOptions metadataOptions,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoderFromFileHandle(This,hFile,pguidVendor,metadataOptions,ppIDecoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateComponentInfo(IWICComponentFactory* This,REFCLSID clsidComponent,IWICComponentInfo **ppIInfo) { + return This->lpVtbl->CreateComponentInfo(This,clsidComponent,ppIInfo); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateDecoder(IWICComponentFactory* This,REFGUID guidContainerFormat,const GUID *pguidVendor,IWICBitmapDecoder **ppIDecoder) { + return This->lpVtbl->CreateDecoder(This,guidContainerFormat,pguidVendor,ppIDecoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateEncoder(IWICComponentFactory* This,REFGUID guidContainerFormat,const GUID *pguidVendor,IWICBitmapEncoder **ppIEncoder) { + return This->lpVtbl->CreateEncoder(This,guidContainerFormat,pguidVendor,ppIEncoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreatePalette(IWICComponentFactory* This,IWICPalette **ppIPalette) { + return This->lpVtbl->CreatePalette(This,ppIPalette); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateFormatConverter(IWICComponentFactory* This,IWICFormatConverter **ppIFormatConverter) { + return This->lpVtbl->CreateFormatConverter(This,ppIFormatConverter); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapScaler(IWICComponentFactory* This,IWICBitmapScaler **ppIBitmapScaler) { + return This->lpVtbl->CreateBitmapScaler(This,ppIBitmapScaler); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapClipper(IWICComponentFactory* This,IWICBitmapClipper **ppIBitmapClipper) { + return This->lpVtbl->CreateBitmapClipper(This,ppIBitmapClipper); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapFlipRotator(IWICComponentFactory* This,IWICBitmapFlipRotator **ppIBitmapFlipRotator) { + return This->lpVtbl->CreateBitmapFlipRotator(This,ppIBitmapFlipRotator); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateStream(IWICComponentFactory* This,IWICStream **ppIWICStream) { + return This->lpVtbl->CreateStream(This,ppIWICStream); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateColorContext(IWICComponentFactory* This,IWICColorContext **ppIWICColorContext) { + return This->lpVtbl->CreateColorContext(This,ppIWICColorContext); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateColorTransformer(IWICComponentFactory* This,IWICColorTransform **ppIWICColorTransform) { + return This->lpVtbl->CreateColorTransformer(This,ppIWICColorTransform); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmap(IWICComponentFactory* This,UINT uiWidth,UINT uiHeight,REFWICPixelFormatGUID pixelFormat,WICBitmapCreateCacheOption option,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmap(This,uiWidth,uiHeight,pixelFormat,option,ppIBitmap); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapFromSource(IWICComponentFactory* This,IWICBitmapSource *piBitmapSource,WICBitmapCreateCacheOption option,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromSource(This,piBitmapSource,option,ppIBitmap); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapFromSourceRect(IWICComponentFactory* This,IWICBitmapSource *piBitmapSource,UINT x,UINT y,UINT width,UINT height,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromSourceRect(This,piBitmapSource,x,y,width,height,ppIBitmap); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapFromMemory(IWICComponentFactory* This,UINT uiWidth,UINT uiHeight,REFWICPixelFormatGUID pixelFormat,UINT cbStride,UINT cbBufferSize,BYTE *pbBuffer,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromMemory(This,uiWidth,uiHeight,pixelFormat,cbStride,cbBufferSize,pbBuffer,ppIBitmap); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapFromHBITMAP(IWICComponentFactory* This,HBITMAP hBitmap,HPALETTE hPalette,WICBitmapAlphaChannelOption options,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromHBITMAP(This,hBitmap,hPalette,options,ppIBitmap); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateBitmapFromHICON(IWICComponentFactory* This,HICON hIcon,IWICBitmap **ppIBitmap) { + return This->lpVtbl->CreateBitmapFromHICON(This,hIcon,ppIBitmap); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateComponentEnumerator(IWICComponentFactory* This,DWORD componentTypes,DWORD options,IEnumUnknown **ppIEnumUnknown) { + return This->lpVtbl->CreateComponentEnumerator(This,componentTypes,options,ppIEnumUnknown); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateFastMetadataEncoderFromDecoder(IWICComponentFactory* This,IWICBitmapDecoder *pIDecoder,IWICFastMetadataEncoder **ppIFastEncoder) { + return This->lpVtbl->CreateFastMetadataEncoderFromDecoder(This,pIDecoder,ppIFastEncoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateFastMetadataEncoderFromFrameDecode(IWICComponentFactory* This,IWICBitmapFrameDecode *pIFrameDecoder,IWICFastMetadataEncoder **ppIFastEncoder) { + return This->lpVtbl->CreateFastMetadataEncoderFromFrameDecode(This,pIFrameDecoder,ppIFastEncoder); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateQueryWriter(IWICComponentFactory* This,REFGUID guidMetadataFormat,const GUID *pguidVendor,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriter(This,guidMetadataFormat,pguidVendor,ppIQueryWriter); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateQueryWriterFromReader(IWICComponentFactory* This,IWICMetadataQueryReader *pIQueryReader,const GUID *pguidVendor,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriterFromReader(This,pIQueryReader,pguidVendor,ppIQueryWriter); +} +/*** IWICComponentFactory methods ***/ +static FORCEINLINE HRESULT IWICComponentFactory_CreateMetadataReader(IWICComponentFactory* This,REFGUID guidMetadataFormat,const GUID *pguidVendor,DWORD dwOptions,IStream *pIStream,IWICMetadataReader **ppIReader) { + return This->lpVtbl->CreateMetadataReader(This,guidMetadataFormat,pguidVendor,dwOptions,pIStream,ppIReader); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateMetadataReaderFromContainer(IWICComponentFactory* This,REFGUID guidMetadataFormat,const GUID *pguidVendor,DWORD dwOptions,IStream *pIStream,IWICMetadataReader **ppIReader) { + return This->lpVtbl->CreateMetadataReaderFromContainer(This,guidMetadataFormat,pguidVendor,dwOptions,pIStream,ppIReader); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateMetadataWriter(IWICComponentFactory* This,REFGUID guidMetadataFormat,const GUID *pguidVendor,DWORD dwMetadataOptions,IWICMetadataWriter **ppIWriter) { + return This->lpVtbl->CreateMetadataWriter(This,guidMetadataFormat,pguidVendor,dwMetadataOptions,ppIWriter); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateMetadataWriterFromReader(IWICComponentFactory* This,IWICMetadataReader *pIReader,const GUID *pguidVendor,IWICMetadataWriter **ppIWriter) { + return This->lpVtbl->CreateMetadataWriterFromReader(This,pIReader,pguidVendor,ppIWriter); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateQueryReaderFromBlockReader(IWICComponentFactory* This,IWICMetadataBlockReader *pIBlockReader,IWICMetadataQueryReader **ppIQueryReader) { + return This->lpVtbl->CreateQueryReaderFromBlockReader(This,pIBlockReader,ppIQueryReader); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateQueryWriterFromBlockWriter(IWICComponentFactory* This,IWICMetadataBlockWriter *pIBlockWriter,IWICMetadataQueryWriter **ppIQueryWriter) { + return This->lpVtbl->CreateQueryWriterFromBlockWriter(This,pIBlockWriter,ppIQueryWriter); +} +static FORCEINLINE HRESULT IWICComponentFactory_CreateEncoderPropertyBag(IWICComponentFactory* This,PROPBAG2 *ppropOptions,UINT cCount,IPropertyBag2 **ppIPropertyBag) { + return This->lpVtbl->CreateEncoderPropertyBag(This,ppropOptions,cCount,ppIPropertyBag); +} +#endif +#endif + +#endif + + +#endif /* __IWICComponentFactory_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); +void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); +ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *); +unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *); +void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wincodecsdk_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodecsdk.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodecsdk.idl new file mode 100644 index 0000000..7549277 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincodecsdk.idl @@ -0,0 +1,348 @@ +/* + * Copyright 2011 Vincent Povirk for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "wtypes.idl"; +import "wincodec.idl"; + +typedef enum WICPersistOptions { + WICPersistOptionDefault = 0x00000000, + WICPersistOptionLittleEndian = 0x00000000, + WICPersistOptionBigEndian = 0x00000001, + WICPersistOptionStrictFormat = 0x00000002, + WICPersistOptionNoCacheStream = 0x00000004, + WICPersistOptionPreferUTF8 = 0x00000008, + WICPersistOptionMask = 0x0000FFFF +} WICPersistOptions; + +typedef enum WICMetadataCreationOptions { + WICMetadataCreationDefault = 0x00000000, + WICMetadataCreationAllowUnknown = WICMetadataCreationDefault, + WICMetadataCreationFailUnknown = 0x00010000, + WICMetadataCreationMask = 0xFFFF0000 +} WICMetadataCreationOptions; + +cpp_quote("DEFINE_GUID(GUID_MetadataFormatUnknown, 0xa45e592f,0x9078,0x4a7c,0xad,0xb5,0x4e,0xdc,0x4f,0xd6,0x1b,0x1f);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunkcHRM, 0x9db3655b,0x2842,0x44b3,0x80,0x67,0x12,0xe9,0xb3,0x75,0x55,0x6a);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunkgAMA, 0xf00935a5,0x1d5d,0x4cd1,0x81,0xb2,0x93,0x24,0xd7,0xec,0xa7,0x81);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunktEXt, 0x568d8936,0xc0a9,0x4923,0x90,0x5d,0xdf,0x2b,0x38,0x23,0x8f,0xbc);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunktIME, 0x6b00ae2d,0xe24b,0x460a,0x98,0xb6,0x87,0x8b,0xd0,0x30,0x72,0xfd);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatIfd, 0x537396c6,0x2d8a,0x4bb6,0x9b,0xf8,0x2f,0x0a,0x8e,0x2a,0x3a,0xdf);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatExif, 0x1c3c4f9d,0xb84a,0x467d,0x94,0x93,0x36,0xcf,0xbd,0x59,0xea,0x57);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatXMP, 0xbb5acc38,0xf216,0x4cec,0xa6,0xc5,0x5f,0x6e,0x73,0x97,0x63,0xa9);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatXMPStruct, 0x22383cf1,0xed17,0x4e2e,0xaf,0x17,0xd8,0x5b,0x8f,0x6b,0x30,0xd0);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatIMD, 0xbd2bb086,0x4d52,0x48dd,0x96,0x77,0xdb,0x48,0x3e,0x85,0xae,0x8f);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatLSD, 0xe256031e,0x6299,0x4929,0xb9,0x8d,0x5a,0xc8,0x84,0xaf,0xba,0x92);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatGCE, 0x2a25cad8,0xdeeb,0x4c69,0xa7,0x88,0x0e,0xc2,0x26,0x6d,0xca,0xfd);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatAPE, 0x2e043dc2,0xc967,0x4e05,0x87,0x5e,0x61,0x8b,0xf6,0x7e,0x85,0xc3);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatGifComment, 0xc4b6e0e0,0xcfb4,0x4ad3,0xab,0x33,0x9a,0xad,0x23,0x55,0xa3,0x4a);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatSubIfd, 0x58a2e128,0x2db9,0x4e57,0xbb,0x14,0x51,0x77,0x89,0x1e,0xd3,0x31);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatGps, 0x7134ab8a,0x9351,0x44ad,0xaf,0x62,0x44,0x8d,0xb6,0xb5,0x02,0xec);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatInterop, 0xed686f8e,0x681f,0x4c8b,0xbd,0x41,0xa8,0xad,0xdb,0xf6,0xb3,0xfc);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatApp0, 0x79007028,0x268d,0x45d6,0xa3,0xc2,0x35,0x4e,0x6a,0x50,0x4b,0xc9);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatApp1, 0x8fd3dfc3,0xf951,0x492b,0x81,0x7f,0x69,0xc2,0xe6,0xd9,0xa5,0xb0);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatApp13, 0x326556a2,0xf502,0x4354,0x9c,0xc0,0x8e,0x3f,0x48,0xea,0xf6,0xb5);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatIPTC, 0x4fab0914,0xe129,0x4087,0xa1,0xd1,0xbc,0x81,0x2d,0x45,0xa7,0xb5);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatIRB, 0x16100d66,0x8570,0x4bb9,0xb9,0x2d,0xfd,0xa4,0xb2,0x3e,0xce,0x67);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormat8BIMIPTC, 0x0010568c,0x0852,0x4e6a,0xb1,0x91,0x5c,0x33,0xac,0x5b,0x04,0x30);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormat8BIMResolutionInfo, 0x739f305d,0x81db,0x43cb,0xac,0x5e,0x55,0x01,0x3e,0xf9,0xf0,0x03);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormat8BIMIPTCDigest, 0x1ca32285,0x9ccd,0x4786,0x8b,0xd8,0x79,0x53,0x9d,0xb6,0xa0,0x06);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatThumbnail, 0x243dcee9,0x8703,0x40ee,0x8e,0xf0,0x22,0xa6,0x0,0xb8,0x5,0x8c);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatXMPBag, 0x833cca5f,0xdcb7,0x4516,0x80,0x6f,0x65,0x96,0xab,0x26,0xdc,0xe4);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatXMPSeq, 0x63e8df02,0xeb6c,0x456c,0xa2,0x24,0xb2,0x5e,0x79,0x4f,0xd6,0x48);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatXMPAlt, 0x7b08a675,0x91aa,0x481b,0xa7,0x98,0x4d,0xa9,0x49,0x08,0x61,0x3b);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatJpegChrominance, 0xf73d0dcf,0xcec6,0x4f85,0x9b,0x0e,0x1c,0x39,0x56,0xb1,0xbe,0xf7);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatJpegLuminance, 0x86908007,0xedfc,0x4860,0x8d,0x4b,0x4e,0xe6,0xe8,0x3e,0x60,0x58);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatJpegComment, 0x220e5f33,0xafd3,0x474e,0x9d,0x31,0x7d,0x4f,0xe7,0x30,0xf5,0x57);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunkbKGD, 0xe14d3571,0x6b47,0x4dea,0xb6,0xa,0x87,0xce,0xa,0x78,0xdf,0xb7);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunkiTXt, 0xc2bec729,0xb68,0x4b77,0xaa,0xe,0x62,0x95,0xa6,0xac,0x18,0x14);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunkhIST, 0xc59a82da,0xdb74,0x48a4,0xbd,0x6a,0xb6,0x9c,0x49,0x31,0xef,0x95);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunkiCCP, 0xeb4349ab,0xb685,0x450f,0x91,0xb5,0xe8,0x2,0xe8,0x92,0x53,0x6c);") +cpp_quote("DEFINE_GUID(GUID_MetadataFormatChunksRGB, 0xc115fd36,0xcc6f,0x4e3f,0x83,0x63,0x52,0x4b,0x87,0xc6,0xb0,0xd9);") + +cpp_quote("DEFINE_GUID(CLSID_WICUnknownMetadataReader, 0x699745c2,0x5066,0x4b82,0xa8,0xe3,0xd4,0x04,0x78,0xdb,0xec,0x8c);") +cpp_quote("DEFINE_GUID(CLSID_WICUnknownMetadataWriter, 0xa09cca86,0x27ba,0x4f39,0x90,0x53,0x12,0x1f,0xa4,0xdc,0x08,0xfc);") +cpp_quote("DEFINE_GUID(CLSID_WICPngChrmMetadataReader, 0xf90b5f36,0x367b,0x402a,0x9d,0xd1,0xbc,0x0f,0xd5,0x9d,0x8f,0x62);") +cpp_quote("DEFINE_GUID(CLSID_WICPngGamaMetadataReader, 0x3692ca39,0xe082,0x4350,0x9e,0x1f,0x37,0x04,0xcb,0x08,0x3c,0xd5);") +cpp_quote("DEFINE_GUID(CLSID_WICPngTextMetadataReader, 0x4b59afcc,0xb8c3,0x408a,0xb6,0x70,0x89,0xe5,0xfa,0xb6,0xfd,0xa7);") +cpp_quote("DEFINE_GUID(CLSID_WICPngTextMetadataWriter, 0xb5ebafb9,0x253e,0x4a72,0xa7,0x44,0x07,0x62,0xd2,0x68,0x56,0x83);") +cpp_quote("DEFINE_GUID(CLSID_WICIfdMetadataReader, 0x8f914656,0x9d0a,0x4eb2,0x90,0x19,0x0b,0xf9,0x6d,0x8a,0x9e,0xe6);") +cpp_quote("DEFINE_GUID(CLSID_WICIfdMetadataWriter, 0xb1ebfc28,0xc9bd,0x47a2,0x8d,0x33,0xb9,0x48,0x76,0x97,0x77,0xa7);") +cpp_quote("DEFINE_GUID(CLSID_WICExifMetadataReader, 0xd9403860,0x297f,0x4a49,0xbf,0x9b,0x77,0x89,0x81,0x50,0xa4,0x42);") +cpp_quote("DEFINE_GUID(CLSID_WICExifMetadataWriter, 0xc9a14cda,0xc339,0x460b,0x90,0x78,0xd4,0xde,0xbc,0xfa,0xbe,0x91);") +cpp_quote("DEFINE_GUID(CLSID_WICXMPStructMetadataReader, 0x01b90d9a,0x8209,0x47f7,0x9c,0x52,0xe1,0x24,0x4b,0xf5,0x0c,0xed);") +cpp_quote("DEFINE_GUID(CLSID_WICXMPStructMetadataWriter, 0x22c21f93,0x7ddb,0x411c,0x9b,0x17,0xc5,0xb7,0xbd,0x06,0x4a,0xbc);") +cpp_quote("DEFINE_GUID(CLSID_WICLSDMetadataReader, 0x41070793,0x59e4,0x479a,0xa1,0xf7,0x95,0x4a,0xdc,0x2e,0xf5,0xfc);") +cpp_quote("DEFINE_GUID(CLSID_WICLSDMetadataWriter, 0x73c037e7,0xe5d9,0x4954,0x87,0x6a,0x6d,0xa8,0x1d,0x6e,0x57,0x68);") +cpp_quote("DEFINE_GUID(CLSID_WICIMDMetadataReader, 0x7447a267,0x0015,0x42c8,0xa8,0xf1,0xfb,0x3b,0x94,0xc6,0x83,0x61);") +cpp_quote("DEFINE_GUID(CLSID_WICIMDMetadataWriter, 0x8c89071f,0x452e,0x4e95,0x96,0x82,0x9d,0x10,0x24,0x62,0x71,0x72);") +cpp_quote("DEFINE_GUID(CLSID_WICGCEMetadataReader, 0xb92e345d,0xf52d,0x41f3,0xb5,0x62,0x08,0x1b,0xc7,0x72,0xe3,0xb9);") +cpp_quote("DEFINE_GUID(CLSID_WICGCEMetadataWriter, 0xaf95dc76,0x16b2,0x47f4,0xb3,0xea,0x3c,0x31,0x79,0x66,0x93,0xe7);") +cpp_quote("DEFINE_GUID(CLSID_WICAPEMetadataReader, 0x1767b93a,0xb021,0x44ea,0x92,0x0f,0x86,0x3c,0x11,0xf4,0xf7,0x68);") +cpp_quote("DEFINE_GUID(CLSID_WICAPEMetadataWriter, 0xbd6edfca,0x2890,0x482f,0xb2,0x33,0x8d,0x73,0x39,0xa1,0xcf,0x8d);") +cpp_quote("DEFINE_GUID(CLSID_WICGifCommentMetadataReader, 0x32557d3b,0x69dc,0x4f95,0x83,0x6e,0xf5,0x97,0x2b,0x2f,0x61,0x59);") +cpp_quote("DEFINE_GUID(CLSID_WICGifCommentMetadataWriter, 0xa02797fc,0xc4ae,0x418c,0xaf,0x95,0xe6,0x37,0xc7,0xea,0xd2,0xa1);") + +typedef struct WICMetadataPattern { + ULARGE_INTEGER Position; + ULONG Length; + BYTE *Pattern; + BYTE *Mask; + ULARGE_INTEGER DataOffset; +} WICMetadataPattern; + +typedef struct WICMetadataHeader { + ULARGE_INTEGER Position; + ULONG Length; + BYTE *Header; + ULARGE_INTEGER DataOffset; +} WICMetadataHeader; + +[ + object, + uuid(aba958bf-c672-44d1-8d61-ce6df2e682c2) +] +interface IWICMetadataHandlerInfo : IWICComponentInfo +{ + HRESULT GetMetadataFormat( + [out] GUID *pguidMetadataFormat); + + HRESULT GetContainerFormats( + [in] UINT cContainerFormats, + [in, out, unique, size_is(cContainerFormats)] GUID *pguidContainerFormats, + [out] UINT *pcchActual); + + HRESULT GetDeviceManufacturer( + [in] UINT cchDeviceManufacturer, + [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer, + [out] UINT *pcchActual); + + HRESULT GetDeviceModels( + [in] UINT cchDeviceModels, + [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels, + [out] UINT *pcchActual); + + HRESULT DoesRequireFullStream( + [out] BOOL *pfRequiresFullStream); + + HRESULT DoesSupportPadding( + [out] BOOL *pfSupportsPadding); + + HRESULT DoesRequireFixedSize( + [out] BOOL *pfFixedSize); +} + +[ + object, + uuid(9204fe99-d8fc-4fd5-a001-9536b067a899) +] +interface IWICMetadataReader : IUnknown +{ + HRESULT GetMetadataFormat( + [out] GUID *pguidMetadataFormat); + + HRESULT GetMetadataHandlerInfo( + [out] IWICMetadataHandlerInfo **ppIHandler); + + HRESULT GetCount( + [out] UINT *pcCount); + + HRESULT GetValueByIndex( + [in] UINT nIndex, + [in, out, unique] PROPVARIANT *pvarSchema, + [in, out, unique] PROPVARIANT *pvarId, + [in, out, unique] PROPVARIANT *pvarValue); + + HRESULT GetValue( + [in] const PROPVARIANT *pvarSchema, + [in] const PROPVARIANT *pvarId, + [in, out, unique] PROPVARIANT *pvarValue); + + HRESULT GetEnumerator( + [out] IWICEnumMetadataItem **ppIEnumMetadata); +} + +[ + object, + uuid(eebf1f5b-07c1-4447-a3ab-22acaf78a804) +] +interface IWICMetadataReaderInfo : IWICMetadataHandlerInfo +{ + [local] + HRESULT GetPatterns( + [in] REFGUID guidContainerFormat, + [in] UINT cbSize, + [out, unique] WICMetadataPattern *pPattern, + [out, unique] UINT *pcCount, + [out, unique] UINT *pcbActual); + + HRESULT MatchesPattern( + [in] REFGUID guidContainerFormat, + [in] IStream *pIStream, + [out] BOOL *pfMatches); + + HRESULT CreateInstance( + [out] IWICMetadataReader **ppIReader); +} + +[ + object, + uuid(f7836e16-3be0-470b-86bb-160d0aecd7de) +] +interface IWICMetadataWriter : IWICMetadataReader +{ + HRESULT SetValue( + [in, unique] const PROPVARIANT *pvarSchema, + [in] const PROPVARIANT *pvarId, + [in] const PROPVARIANT *pvarValue); + + HRESULT SetValueByIndex( + [in] UINT nIndex, + [in, unique] const PROPVARIANT *pvarSchema, + [in] const PROPVARIANT *pvarId, + [in] const PROPVARIANT *pvarValue); + + HRESULT RemoveValue( + [in, unique] const PROPVARIANT *pvarSchema, + [in] const PROPVARIANT *pvarId); + + HRESULT RemoveValueByIndex( + [in] UINT nIndex); +} + +[ + object, + uuid(b22e3fba-3925-4323-b5c1-9ebfc430f236) +] +interface IWICMetadataWriterInfo : IWICMetadataHandlerInfo +{ + [local] + HRESULT GetHeader( + [in] REFGUID guidContainerFormat, + [in] UINT cbSize, + [out, unique] WICMetadataHeader *pHeader, + [out, unique] UINT *pcbActual); + + HRESULT CreateInstance( + [out] IWICMetadataWriter **ppIWriter); +} + +[ + object, + uuid(feaa2a8d-b3f3-43e4-b25c-d1de990a1ae1) +] +interface IWICMetadataBlockReader : IUnknown +{ + HRESULT GetContainerFormat( + [out] GUID *pguidContainerFormat); + + HRESULT GetCount( + [out] UINT *pcCount); + + HRESULT GetReaderByIndex( + [in] UINT nIndex, + [out] IWICMetadataReader **ppIMetadataReader); + + HRESULT GetEnumerator( + [out] IEnumUnknown **ppIEnumMetadata); +} + +[ + object, + uuid(08fb9676-b444-41e8-8dbe-6a53a542bff1) +] +interface IWICMetadataBlockWriter : IWICMetadataBlockReader +{ + HRESULT InitializeFromBlockReader( + [in] IWICMetadataBlockReader *pIMDBlockReader); + + HRESULT GetWriterByIndex( + [in] UINT nIndex, + [out] IWICMetadataWriter **ppIMetadataWriter); + + HRESULT AddWriter( + [in] IWICMetadataWriter *pIMetadataWriter); + + HRESULT SetWriterByIndex( + [in] UINT nIndex, + [in] IWICMetadataWriter *pIMetadataWriter); + + HRESULT RemoveWriterByIndex( + [in] UINT nIndex); +} + +[ + object, + uuid(00675040-6908-45f8-86a3-49c7dfd6d9ad) +] +interface IWICPersistStream : IPersistStream +{ + HRESULT LoadEx( + [in, unique] IStream *pIStream, + [in, unique] const GUID *pguidPreferredVendor, + [in] DWORD dwPersistOptions); + + HRESULT SaveEx( + [in] IStream *pIStream, + [in] DWORD dwPersistOptions, + [in] BOOL fClearDirty); +} + +[ + object, + uuid(412d0c3a-9650-44fa-af5b-dd2a06c8e8fb) +] +interface IWICComponentFactory : IWICImagingFactory +{ + HRESULT CreateMetadataReader( + [in] REFGUID guidMetadataFormat, + [in, unique] const GUID *pguidVendor, + [in] DWORD dwOptions, + [in] IStream *pIStream, + [out] IWICMetadataReader **ppIReader); + + HRESULT CreateMetadataReaderFromContainer( + [in] REFGUID guidMetadataFormat, + [in, unique] const GUID *pguidVendor, + [in] DWORD dwOptions, + [in] IStream *pIStream, + [out] IWICMetadataReader **ppIReader); + + HRESULT CreateMetadataWriter( + [in] REFGUID guidMetadataFormat, + [in, unique] const GUID *pguidVendor, + [in] DWORD dwMetadataOptions, + [out] IWICMetadataWriter **ppIWriter); + + HRESULT CreateMetadataWriterFromReader( + [in] IWICMetadataReader *pIReader, + [in, unique] const GUID *pguidVendor, + [out] IWICMetadataWriter **ppIWriter); + + HRESULT CreateQueryReaderFromBlockReader( + [in] IWICMetadataBlockReader *pIBlockReader, + [out] IWICMetadataQueryReader **ppIQueryReader); + + HRESULT CreateQueryWriterFromBlockWriter( + [in] IWICMetadataBlockWriter *pIBlockWriter, + [out] IWICMetadataQueryWriter **ppIQueryWriter); + + HRESULT CreateEncoderPropertyBag( + [in, unique, size_is(cCount)] PROPBAG2 *ppropOptions, + [in] UINT cCount, + [out] IPropertyBag2 **ppIPropertyBag); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincon.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincon.h new file mode 100644 index 0000000..8f4d54c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincon.h @@ -0,0 +1,408 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINCON_H +#define __WINE_WINCON_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef NOGDI +#include +#endif + +/* AttachConsole special pid value */ +#define ATTACH_PARENT_PROCESS ((DWORD) -1) + +/* GetConsoleDisplayMode flags */ +#define CONSOLE_FULLSCREEN 1 +#define CONSOLE_FULLSCREEN_HARDWARE 2 + +/* SetConsoleDisplayMode flags */ +#define CONSOLE_FULLSCREEN_MODE 1 +#define CONSOLE_WINDOWED_MODE 2 + +/* CONSOLE_SELECTION_INFO.dwFlags */ +#define CONSOLE_NO_SELECTION 0x00 +#define CONSOLE_SELECTION_IN_PROGRESS 0x01 +#define CONSOLE_SELECTION_NOT_EMPTY 0x02 +#define CONSOLE_MOUSE_SELECTION 0x04 +#define CONSOLE_MOUSE_DOWN 0x08 + +/* handler routine control signal type */ +#define CTRL_C_EVENT 0 +#define CTRL_BREAK_EVENT 1 +#define CTRL_CLOSE_EVENT 2 +#define CTRL_LOGOFF_EVENT 5 +#define CTRL_SHUTDOWN_EVENT 6 + +/* Console Mode flags */ +#define ENABLE_PROCESSED_INPUT 0x0001 +#define ENABLE_LINE_INPUT 0x0002 +#define ENABLE_ECHO_INPUT 0x0004 +#define ENABLE_WINDOW_INPUT 0x0008 +#define ENABLE_MOUSE_INPUT 0x0010 +#define ENABLE_INSERT_MODE 0x0020 +#define ENABLE_QUICK_EDIT_MODE 0x0040 +#define ENABLE_EXTENDED_FLAGS 0x0080 +#define ENABLE_AUTO_POSITION 0x0100 + +#define ENABLE_PROCESSED_OUTPUT 0x01 +#define ENABLE_WRAP_AT_EOL_OUTPUT 0x02 + + +typedef BOOL (WINAPI *PHANDLER_ROUTINE)(DWORD dwCtrlType); + +/* Attributes flags: */ + +#define FOREGROUND_BLUE 0x0001 +#define FOREGROUND_GREEN 0x0002 +#define FOREGROUND_RED 0x0004 +#define FOREGROUND_INTENSITY 0x0008 +#define BACKGROUND_BLUE 0x0010 +#define BACKGROUND_GREEN 0x0020 +#define BACKGROUND_RED 0x0040 +#define BACKGROUND_INTENSITY 0x0080 +#define COMMON_LVB_LEADING_BYTE 0x0100 +#define COMMON_LVB_TRAILING_BYTE 0x0200 +#define COMMON_LVB_GRID_HORIZONTAL 0x0400 +#define COMMON_LVB_GRID_LVERTICAL 0x0800 +#define COMMON_LVB_GRID_RVERTICAL 0x1000 +#define COMMON_LVB_REVERSE_VIDEO 0x4000 +#define COMMON_LVB_UNDERSCORE 0x8000 + +/* CONSOLE_HISTORY_INFO.dwFlags */ +#define HISTORY_NO_DUP_FLAG 0x01 + +typedef struct _CONSOLE_CURSOR_INFO { + DWORD dwSize; /* Between 1 & 100 for percentage of cell filled */ + BOOL bVisible; /* Visibility of cursor */ +} CONSOLE_CURSOR_INFO, *LPCONSOLE_CURSOR_INFO; + +typedef struct tagCOORD +{ + SHORT X; + SHORT Y; +} COORD, *LPCOORD; + +typedef struct tagSMALL_RECT +{ + SHORT Left; + SHORT Top; + SHORT Right; + SHORT Bottom; +} SMALL_RECT,*LPSMALL_RECT; + +typedef struct _CONSOLE_FONT_INFO +{ + DWORD nFont; + COORD dwFontSize; +} CONSOLE_FONT_INFO,*LPCONSOLE_FONT_INFO; + +#ifndef NOGDI +typedef struct _CONSOLE_FONT_INFOEX +{ + ULONG cbSize; + DWORD nFont; + COORD dwFontSize; + UINT FontFamily; + UINT FontWeight; + WCHAR FaceName[LF_FACESIZE]; +} CONSOLE_FONT_INFOEX,*LPCONSOLE_FONT_INFOEX; + +WINBASEAPI BOOL WINAPI GetCurrentConsoleFontEx(HANDLE,BOOL,LPCONSOLE_FONT_INFOEX); +WINBASEAPI BOOL WINAPI SetCurrentConsoleFontEx(HANDLE,BOOL,LPCONSOLE_FONT_INFOEX); +#endif + +typedef struct tagCONSOLE_HISTORY_INFO +{ + UINT cbSize; + UINT HistoryBufferSize; + UINT NumberOfHistoryBuffers; + DWORD dwFlags; +} CONSOLE_HISTORY_INFO,*LPCONSOLE_HISTORY_INFO; + +typedef struct _CONSOLE_READCONSOLE_CONTROL +{ + ULONG nLength; + ULONG nInitialChars; + ULONG dwCtrlWakeupMask; + ULONG dwConsoleKeyState; +} CONSOLE_READCONSOLE_CONTROL,*LPCONSOLE_READCONSOLE_CONTROL; + +typedef struct tagCONSOLE_SCREEN_BUFFER_INFO +{ + COORD dwSize; + COORD dwCursorPosition; + WORD wAttributes; + SMALL_RECT srWindow; + COORD dwMaximumWindowSize; +} CONSOLE_SCREEN_BUFFER_INFO,*LPCONSOLE_SCREEN_BUFFER_INFO; + +typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX +{ + ULONG cbSize; + COORD dwSize; + COORD dwCursorPosition; + WORD wAttributes; + SMALL_RECT srWindow; + COORD dwMaximumWindowSize; + WORD wPopupAttributes; + BOOL bFullscreenSupported; + COLORREF ColorTable[16]; +} CONSOLE_SCREEN_BUFFER_INFOEX,*LPCONSOLE_SCREEN_BUFFER_INFOEX; + +typedef struct _CONSOLE_SELECTION_INFO +{ + DWORD dwFlags; + COORD dwSelectionAnchor; + SMALL_RECT srSelection; +} CONSOLE_SELECTION_INFO,*LPCONSOLE_SELECTION_INFO; + +typedef struct tagCHAR_INFO +{ + union + { + WCHAR UnicodeChar; + CHAR AsciiChar; + } Char; + WORD Attributes; +} CHAR_INFO,*LPCHAR_INFO; + +typedef struct tagKEY_EVENT_RECORD +{ + BOOL bKeyDown; /* 04 */ + WORD wRepeatCount; /* 08 */ + WORD wVirtualKeyCode; /* 0A */ + WORD wVirtualScanCode; /* 0C */ + union /* 0E */ + { + WCHAR UnicodeChar; /* 0E */ + CHAR AsciiChar; /* 0E */ + } uChar; + DWORD dwControlKeyState; /* 10 */ +} KEY_EVENT_RECORD,*LPKEY_EVENT_RECORD; + +/* dwControlKeyState bitmask */ +#define RIGHT_ALT_PRESSED 0x0001 +#define LEFT_ALT_PRESSED 0x0002 +#define RIGHT_CTRL_PRESSED 0x0004 +#define LEFT_CTRL_PRESSED 0x0008 +#define SHIFT_PRESSED 0x0010 +#define NUMLOCK_ON 0x0020 +#define SCROLLLOCK_ON 0x0040 +#define CAPSLOCK_ON 0x0080 +#define ENHANCED_KEY 0x0100 + +typedef struct tagMOUSE_EVENT_RECORD +{ + COORD dwMousePosition; + DWORD dwButtonState; + DWORD dwControlKeyState; + DWORD dwEventFlags; +} MOUSE_EVENT_RECORD,*LPMOUSE_EVENT_RECORD; + +/* MOUSE_EVENT_RECORD.dwButtonState */ +#define FROM_LEFT_1ST_BUTTON_PRESSED 0x0001 +#define RIGHTMOST_BUTTON_PRESSED 0x0002 +#define FROM_LEFT_2ND_BUTTON_PRESSED 0x0004 +#define FROM_LEFT_3RD_BUTTON_PRESSED 0x0008 +#define FROM_LEFT_4TH_BUTTON_PRESSED 0x0010 + +/* MOUSE_EVENT_RECORD.dwEventFlags */ +#define MOUSE_MOVED 0x0001 +#define DOUBLE_CLICK 0x0002 +#define MOUSE_WHEELED 0x0004 +#define MOUSE_HWHEELED 0x0008 + +typedef struct tagWINDOW_BUFFER_SIZE_RECORD +{ + COORD dwSize; +} WINDOW_BUFFER_SIZE_RECORD,*LPWINDOW_BUFFER_SIZE_RECORD; + +typedef struct tagMENU_EVENT_RECORD +{ + UINT dwCommandId; /* perhaps UINT16 ??? */ +} MENU_EVENT_RECORD,*LPMENU_EVENT_RECORD; + +typedef struct tagFOCUS_EVENT_RECORD +{ + BOOL bSetFocus; /* perhaps BOOL16 ??? */ +} FOCUS_EVENT_RECORD,*LPFOCUS_EVENT_RECORD; + +typedef struct tagINPUT_RECORD +{ + WORD EventType; /* 00 */ + union + { + KEY_EVENT_RECORD KeyEvent; + MOUSE_EVENT_RECORD MouseEvent; + WINDOW_BUFFER_SIZE_RECORD WindowBufferSizeEvent; + MENU_EVENT_RECORD MenuEvent; + FOCUS_EVENT_RECORD FocusEvent; + } Event; +} INPUT_RECORD,*PINPUT_RECORD; + +/* INPUT_RECORD.wEventType */ +#define KEY_EVENT 0x01 +#define MOUSE_EVENT 0x02 +#define WINDOW_BUFFER_SIZE_EVENT 0x04 +#define MENU_EVENT 0x08 +#define FOCUS_EVENT 0x10 + +#define CONSOLE_TEXTMODE_BUFFER 1 + +#ifdef __i386__ +/* Note: this should return a COORD, but calling convention for returning + * structures is different between Windows and gcc on i386. */ + +WINBASEAPI DWORD WINAPI GetConsoleFontSize(HANDLE, DWORD); +WINBASEAPI DWORD WINAPI GetLargestConsoleWindowSize(HANDLE); + +static inline COORD __wine_GetConsoleFontSize_wrapper(HANDLE h, DWORD d) +{ + union { + COORD c; + DWORD dw; + } u; + u.dw = GetConsoleFontSize(h, d); + return u.c; +} +#define GetConsoleFontSize(h, d) __wine_GetConsoleFontSize_wrapper(h, d) + +static inline COORD __wine_GetLargestConsoleWindowSize_wrapper(HANDLE h) +{ + union { + COORD c; + DWORD dw; + } u; + u.dw = GetLargestConsoleWindowSize(h); + return u.c; +} +#define GetLargestConsoleWindowSize(h) __wine_GetLargestConsoleWindowSize_wrapper(h) + +#else /* __i386__ */ +WINBASEAPI COORD WINAPI GetConsoleFontSize(HANDLE, DWORD); +WINBASEAPI COORD WINAPI GetLargestConsoleWindowSize(HANDLE); +#endif /* __i386__ */ + +WINBASEAPI BOOL WINAPI AddConsoleAliasA(LPSTR,LPSTR,LPSTR); +WINBASEAPI BOOL WINAPI AddConsoleAliasW(LPWSTR,LPWSTR,LPWSTR); +#define AddConsoleAlias WINELIB_NAME_AW(AddConsoleAlias) +WINBASEAPI BOOL WINAPI AllocConsole(VOID); +WINBASEAPI BOOL WINAPI AttachConsole(DWORD); +WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer( DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,LPVOID); +WINBASEAPI BOOL WINAPI FillConsoleOutputAttribute( HANDLE,WORD,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI FillConsoleOutputCharacterA(HANDLE,CHAR,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI FillConsoleOutputCharacterW(HANDLE,WCHAR,DWORD,COORD,LPDWORD); +#define FillConsoleOutputCharacter WINELIB_NAME_AW(FillConsoleOutputCharacter) +WINBASEAPI BOOL WINAPI FlushConsoleInputBuffer( HANDLE); +WINBASEAPI BOOL WINAPI FreeConsole(VOID); +WINBASEAPI BOOL WINAPI GenerateConsoleCtrlEvent( DWORD,DWORD); +WINBASEAPI DWORD WINAPI GetConsoleAliasA(LPSTR,LPSTR,DWORD,LPSTR); +WINBASEAPI DWORD WINAPI GetConsoleAliasW(LPWSTR,LPWSTR,DWORD,LPWSTR); +#define GetConsoleAlias WINELIB_NAME_AW(GetConsoleAlias) +WINBASEAPI DWORD WINAPI GetConsoleAliasesA(LPSTR,DWORD,LPSTR); +WINBASEAPI DWORD WINAPI GetConsoleAliasesW(LPWSTR,DWORD,LPWSTR); +#define GetConsoleAliases WINELIB_NAME_AW(GetConsoleAliases) +WINBASEAPI DWORD WINAPI GetConsoleAliasesLengthA(LPSTR); +WINBASEAPI DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR); +#define GetConsoleAliasesLength WINELIB_NAME_AW(GetConsoleAliasesLength) +WINBASEAPI DWORD WINAPI GetConsoleAliasExesA(LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetConsoleAliasExesW(LPWSTR,DWORD); +#define GetConsoleAliasExes WINELIB_NAME_AW(GetConsoleAliasExes) +WINBASEAPI DWORD WINAPI GetConsoleAliasExesLengthA(VOID); +WINBASEAPI DWORD WINAPI GetConsoleAliasExesLengthW(VOID); +#define GetConsoleAliasExesLength WINELIB_NAME_AW(GetConsoleAliasExesLength) +WINBASEAPI UINT WINAPI GetConsoleCP(VOID); +WINBASEAPI BOOL WINAPI GetConsoleCursorInfo( HANDLE,LPCONSOLE_CURSOR_INFO); +WINBASEAPI BOOL WINAPI GetConsoleDisplayMode(LPDWORD); +WINBASEAPI BOOL WINAPI GetConsoleHistoryInfo(LPCONSOLE_HISTORY_INFO); +WINBASEAPI BOOL WINAPI GetConsoleInputExeNameA(DWORD,LPSTR); +WINBASEAPI BOOL WINAPI GetConsoleInputExeNameW(DWORD,LPWSTR); +#define GetConsoleInputExeName WINELIB_NAME_AW(GetConsoleInputExeName) +WINBASEAPI BOOL WINAPI GetConsoleMode( HANDLE,LPDWORD); +WINBASEAPI DWORD WINAPI GetConsoleOriginalTitleA(LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetConsoleOriginalTitleW(LPWSTR,DWORD); +#define GetConsoleOriginalTitle WINELIB_NAME_AW(GetConsoleOriginalTitle) +WINBASEAPI UINT WINAPI GetConsoleOutputCP(VOID); +WINBASEAPI DWORD WINAPI GetConsoleProcessList(LPDWORD,DWORD); +WINBASEAPI BOOL WINAPI GetConsoleScreenBufferInfo(HANDLE,LPCONSOLE_SCREEN_BUFFER_INFO); +WINBASEAPI BOOL WINAPI GetConsoleScreenBufferInfoEx(HANDLE,LPCONSOLE_SCREEN_BUFFER_INFOEX); +WINBASEAPI DWORD WINAPI GetConsoleTitleA(LPSTR,DWORD); +WINBASEAPI DWORD WINAPI GetConsoleTitleW(LPWSTR,DWORD); +#define GetConsoleTitle WINELIB_NAME_AW(GetConsoleTitle) +WINBASEAPI HWND WINAPI GetConsoleWindow(void); +WINBASEAPI BOOL WINAPI GetCurrentConsoleFont(HANDLE,BOOL,LPCONSOLE_FONT_INFO); +WINBASEAPI BOOL WINAPI GetNumberOfConsoleInputEvents( HANDLE,LPDWORD); +WINBASEAPI BOOL WINAPI GetNumberOfConsoleMouseButtons(LPDWORD); +WINBASEAPI BOOL WINAPI PeekConsoleInputA( HANDLE,PINPUT_RECORD,DWORD,LPDWORD); +WINBASEAPI BOOL WINAPI PeekConsoleInputW( HANDLE,PINPUT_RECORD,DWORD,LPDWORD); +#define PeekConsoleInput WINELIB_NAME_AW(PeekConsoleInput) +WINBASEAPI BOOL WINAPI ReadConsoleA(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID); +WINBASEAPI BOOL WINAPI ReadConsoleW(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID); +#define ReadConsole WINELIB_NAME_AW(ReadConsole) +WINBASEAPI BOOL WINAPI ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,LPDWORD); +WINBASEAPI BOOL WINAPI ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,LPDWORD); +#define ReadConsoleInput WINELIB_NAME_AW(ReadConsoleInput) +WINBASEAPI BOOL WINAPI ReadConsoleOutputA( HANDLE,LPCHAR_INFO,COORD,COORD,LPSMALL_RECT); +WINBASEAPI BOOL WINAPI ReadConsoleOutputW( HANDLE,LPCHAR_INFO,COORD,COORD,LPSMALL_RECT); +#define ReadConsoleOutput WINELIB_NAME_AW(ReadConsoleOutput) +WINBASEAPI BOOL WINAPI ReadConsoleOutputAttribute( HANDLE,LPWORD,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,LPDWORD); +#define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter) +WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferA( HANDLE,LPSMALL_RECT,LPSMALL_RECT,COORD,LPCHAR_INFO); +WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferW( HANDLE,LPSMALL_RECT,LPSMALL_RECT,COORD,LPCHAR_INFO); +#define ScrollConsoleScreenBuffer WINELIB_NAME_AW(ScrollConsoleScreenBuffer) +WINBASEAPI BOOL WINAPI SetConsoleActiveScreenBuffer( HANDLE); +WINBASEAPI BOOL WINAPI SetConsoleCP(UINT); +WINBASEAPI BOOL WINAPI SetConsoleCtrlHandler( PHANDLER_ROUTINE,BOOL); +WINBASEAPI BOOL WINAPI SetConsoleCursorInfo( HANDLE,LPCONSOLE_CURSOR_INFO); +WINBASEAPI BOOL WINAPI SetConsoleCursorPosition(HANDLE,COORD); +WINBASEAPI BOOL WINAPI SetConsoleDisplayMode(HANDLE,DWORD,LPCOORD); +WINBASEAPI BOOL WINAPI SetConsoleHistoryInfo(LPCONSOLE_HISTORY_INFO); +WINBASEAPI BOOL WINAPI SetConsoleMode( HANDLE,DWORD); +WINBASEAPI BOOL WINAPI SetConsoleOutputCP(UINT); +WINBASEAPI BOOL WINAPI SetConsoleScreenBufferInfoEx(HANDLE,LPCONSOLE_SCREEN_BUFFER_INFOEX); +WINBASEAPI BOOL WINAPI SetConsoleScreenBufferSize(HANDLE,COORD); +WINBASEAPI BOOL WINAPI SetConsoleTextAttribute( HANDLE,WORD); +WINBASEAPI BOOL WINAPI SetConsoleTitleA(LPCSTR); +WINBASEAPI BOOL WINAPI SetConsoleTitleW(LPCWSTR); +#define SetConsoleTitle WINELIB_NAME_AW(SetConsoleTitle) +WINBASEAPI BOOL WINAPI SetConsoleWindowInfo( HANDLE,BOOL,LPSMALL_RECT); +WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,const void *,DWORD,LPDWORD,void *); +WINBASEAPI BOOL WINAPI WriteConsoleW(HANDLE,const void *,DWORD,LPDWORD,void *); +#define WriteConsole WINELIB_NAME_AW(WriteConsole) +WINBASEAPI BOOL WINAPI WriteConsoleInputA(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD); +WINBASEAPI BOOL WINAPI WriteConsoleInputW(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD); +#define WriteConsoleInput WINELIB_NAME_AW(WriteConsoleInput) +WINBASEAPI BOOL WINAPI WriteConsoleOutputA(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT); +WINBASEAPI BOOL WINAPI WriteConsoleOutputW(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT); +#define WriteConsoleOutput WINELIB_NAME_AW(WriteConsoleOutput) +WINBASEAPI BOOL WINAPI WriteConsoleOutputAttribute(HANDLE,const WORD *,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,LPDWORD); +#define WriteConsoleOutputCharacter WINELIB_NAME_AW(WriteConsoleOutputCharacter) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINCON_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincred.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincred.h new file mode 100644 index 0000000..74fc16f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincred.h @@ -0,0 +1,299 @@ +/* + * Copyright (C) 2006 Robert Shearman (for CodeWeavers) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINCRED_H_ +#define _WINCRED_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _ADVAPI32_ +#define WINADVAPI +#else +#define WINADVAPI DECLSPEC_IMPORT +#endif + +#ifndef __SECHANDLE_DEFINED__ +#define __SECHANDLE_DEFINED__ +typedef struct _SecHandle +{ + ULONG_PTR dwLower; + ULONG_PTR dwUpper; +} SecHandle, *PSecHandle; +#endif + +#ifndef __WINE_CTXTHANDLE_DEFINED__ +#define __WINE_CTXTHANDLE_DEFINED__ +typedef SecHandle CtxtHandle; +typedef PSecHandle PCtxtHandle; +#endif + +typedef struct _CREDENTIAL_ATTRIBUTEA +{ + LPSTR Keyword; + DWORD Flags; + DWORD ValueSize; + LPBYTE Value; +} CREDENTIAL_ATTRIBUTEA, *PCREDENTIAL_ATTRIBUTEA; + +typedef struct _CREDENTIAL_ATTRIBUTEW +{ + LPWSTR Keyword; + DWORD Flags; + DWORD ValueSize; + LPBYTE Value; +} CREDENTIAL_ATTRIBUTEW, *PCREDENTIAL_ATTRIBUTEW; + +DECL_WINELIB_TYPE_AW(CREDENTIAL_ATTRIBUTE) +DECL_WINELIB_TYPE_AW(PCREDENTIAL_ATTRIBUTE) + +typedef struct _CREDENTIALA +{ + DWORD Flags; + DWORD Type; + LPSTR TargetName; + LPSTR Comment; + FILETIME LastWritten; + DWORD CredentialBlobSize; + LPBYTE CredentialBlob; + DWORD Persist; + DWORD AttributeCount; + PCREDENTIAL_ATTRIBUTEA Attributes; + LPSTR TargetAlias; + LPSTR UserName; +} CREDENTIALA, *PCREDENTIALA; + +typedef struct _CREDENTIALW +{ + DWORD Flags; + DWORD Type; + LPWSTR TargetName; + LPWSTR Comment; + FILETIME LastWritten; + DWORD CredentialBlobSize; + LPBYTE CredentialBlob; + DWORD Persist; + DWORD AttributeCount; + PCREDENTIAL_ATTRIBUTEW Attributes; + LPWSTR TargetAlias; + LPWSTR UserName; +} CREDENTIALW, *PCREDENTIALW; + +DECL_WINELIB_TYPE_AW(CREDENTIAL) +DECL_WINELIB_TYPE_AW(PCREDENTIAL) + +typedef struct _CREDENTIAL_TARGET_INFORMATIONA +{ + LPSTR TargetName; + LPSTR NetbiosServerName; + LPSTR DnsServerName; + LPSTR NetbiosDomainName; + LPSTR DnsDomainName; + LPSTR DnsTreeName; + LPSTR PackageName; + DWORD Flags; + DWORD CredTypeCount; + LPDWORD CredTypes; +} CREDENTIAL_TARGET_INFORMATIONA, *PCREDENTIAL_TARGET_INFORMATIONA; + +typedef struct _CREDENTIAL_TARGET_INFORMATIONW +{ + LPWSTR TargetName; + LPWSTR NetbiosServerName; + LPWSTR DnsServerName; + LPWSTR NetbiosDomainName; + LPWSTR DnsDomainName; + LPWSTR DnsTreeName; + LPWSTR PackageName; + DWORD Flags; + DWORD CredTypeCount; + LPDWORD CredTypes; +} CREDENTIAL_TARGET_INFORMATIONW, *PCREDENTIAL_TARGET_INFORMATIONW; + +DECL_WINELIB_TYPE_AW(CREDENTIAL_TARGET_INFORMATION) +DECL_WINELIB_TYPE_AW(PCREDENTIAL_TARGET_INFORMATION) + +typedef struct _CREDUI_INFOA +{ + DWORD cbSize; + HWND hwndParent; + PCSTR pszMessageText; + PCSTR pszCaptionText; + HBITMAP hbmBanner; +} CREDUI_INFOA, *PCREDUI_INFOA; + +typedef struct _CREDUI_INFOW +{ + DWORD cbSize; + HWND hwndParent; + PCWSTR pszMessageText; + PCWSTR pszCaptionText; + HBITMAP hbmBanner; +} CREDUI_INFOW, *PCREDUI_INFOW; + +DECL_WINELIB_TYPE_AW(CREDUI_INFO) +DECL_WINELIB_TYPE_AW(PCREDUI_INFO) + +typedef enum _CRED_MARSHAL_TYPE +{ + CertCredential = 1, + UsernameTargetCredential, + BinaryBlobCredential +} CRED_MARSHAL_TYPE, *PCRED_MARSHAL_TYPE; + +#define CERT_HASH_LENGTH 20 + +typedef struct _CERT_CREDENTIAL_INFO +{ + ULONG cbSize; + UCHAR rgbHashOfCert[CERT_HASH_LENGTH]; +} CERT_CREDENTIAL_INFO, *PCERT_CREDENTIAL_INFO; + +typedef struct _USERNAME_TARGET_CREDENTIAL_INFO +{ + LPWSTR UserName; +} USERNAME_TARGET_CREDENTIAL_INFO; + +typedef struct _BINARY_BLOB_CREDENTIAL_INFO +{ + ULONG cbBlob; + LPBYTE pbBlob; +} BINARY_BLOB_CREDENTIAL_INFO, *PBINARY_BLOB_CREDENTIAL_INFO; + +#define CRED_MAX_STRING_LENGTH 256 +#define CRED_MAX_USERNAME_LENGTH 513 +#define CRED_MAX_GENERIC_TARGET_NAME_LENGTH 32767 +#define CRED_MAX_DOMAIN_TARGET_NAME_LENGTH 337 +#define CRED_MAX_VALUE_SIZE 256 +#define CRED_MAX_ATTRIBUTES 64 + +#define CRED_MAX_BLOB_SIZE 512 +#define CRED_MAX_CREDENTIAL_BLOB_SIZE (5 * CRED_MAX_BLOB_SIZE) + +#define CREDUI_MAX_MESSAGE_LENGTH 32767 +#define CREDUI_MAX_CAPTION_LENGTH 128 +#define CREDUI_MAX_GENERIC_TARGET_LENGTH CRED_MAX_GENERIC_TARGET_NAME_LENGTH +#define CREDUI_MAX_DOMAIN_TARGET_LENGTH CRED_MAX_DOMAIN_TARGET_LENGTH +#define CREDUI_MAX_USERNAME_LENGTH CRED_MAX_USERNAME_LENGTH +#define CREDUI_MAX_PASSWORD_LENGTH (CRED_MAX_CREDENTIAL_BLOB_SIZE / 2) + +/* flags for CREDENTIAL::Flags */ +#define CRED_FLAGS_PASSWORD_FOR_CERT 0x0001 +#define CRED_FLAGS_PROMPT_NOW 0x0002 +#define CRED_FLAGS_USERNAME_TARGET 0x0004 +#define CRED_FLAGS_OWF_CRED_BLOB 0x0008 +#define CRED_FLAGS_VALID_FLAGS 0x000f + +/* values for CREDENTIAL::Type */ +#define CRED_TYPE_GENERIC 1 +#define CRED_TYPE_DOMAIN_PASSWORD 2 +#define CRED_TYPE_DOMAIN_CERTIFICATE 3 +#define CRED_TYPE_DOMAIN_VISIBLE_PASSWORD 4 +#define CRED_TYPE_GENERIC_CERTIFICATE 5 +#define CRED_TYPE_MAXIMUM 6 +#define CRED_TYPE_MAXIMUM_EX (CRED_TYPE_MAXIMUM+1000) + +/* values for CREDENTIAL::Persist */ +#define CRED_PERSIST_NONE 0 +#define CRED_PERSIST_SESSION 1 +#define CRED_PERSIST_LOCAL_MACHINE 2 +#define CRED_PERSIST_ENTERPRISE 3 + +/* values for CREDENTIAL_TARGET_INFORMATION::Flags */ +#define CRED_TI_SERVER_FORMAT_UNKNOWN 1 +#define CRED_TI_DOMAIN_FORMAT_UNKNOWN 2 +#define CRED_TI_ONLY_PASSWORD_REQUIRED 4 + +#define CREDUI_FLAGS_INCORRECT_PASSWORD 0x00000001 +#define CREDUI_FLAGS_DO_NOT_PERSIST 0x00000002 +#define CREDUI_FLAGS_REQUEST_ADMINISTRATOR 0x00000004 +#define CREDUI_FLAGS_EXCLUDE_CERTIFICATES 0x00000008 +#define CREDUI_FLAGS_REQUIRE_CERTIFICATE 0x00000010 +#define CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX 0x00000040 +#define CREDUI_FLAGS_ALWAYS_SHOW_UI 0x00000080 +#define CREDUI_FLAGS_REQUIRE_SMARTCARD 0x00000100 +#define CREDUI_FLAGS_PASSWORD_ONLY_OK 0x00000200 +#define CREDUI_FLAGS_VALIDATE_USERNAME 0x00000400 +#define CREDUI_FLAGS_COMPLETE_USERNAME 0x00000800 +#define CREDUI_FLAGS_PERSIST 0x00001000 +#define CREDUI_FLAGS_SERVER_CREDENTIAL 0x00004000 +#define CREDUI_FLAGS_EXPECT_CONFIRMATION 0x00020000 +#define CREDUI_FLAGS_GENERIC_CREDENTIALS 0x00040000 +#define CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS 0x00080000 +#define CREDUI_FLAGS_KEEP_USERNAME 0x00100000 + +/* flags for CredWrite and CredWriteDomainCredentials */ +#define CRED_PRESERVE_CREDENTIAL_BLOB 0x00000001 + +WINADVAPI BOOL WINAPI CredDeleteA(LPCSTR,DWORD,DWORD); +WINADVAPI BOOL WINAPI CredDeleteW(LPCWSTR,DWORD,DWORD); +#define CredDelete WINELIB_NAME_AW(CredDelete) +WINADVAPI BOOL WINAPI CredEnumerateA(LPCSTR,DWORD,DWORD *,PCREDENTIALA **); +WINADVAPI BOOL WINAPI CredEnumerateW(LPCWSTR,DWORD,DWORD *,PCREDENTIALW **); +#define CredEnumerate WINELIB_NAME_AW(CredEnumerate) +WINADVAPI VOID WINAPI CredFree(PVOID); +WINADVAPI BOOL WINAPI CredGetSessionTypes(DWORD,LPDWORD); +WINADVAPI BOOL WINAPI CredIsMarshaledCredentialA(LPCSTR); +WINADVAPI BOOL WINAPI CredIsMarshaledCredentialW(LPCWSTR); +#define CredIsMarshaledCredential WINELIB_NAME_AW(CredIsMarshaledCredential) +WINADVAPI BOOL WINAPI CredMarshalCredentialA(CRED_MARSHAL_TYPE,PVOID,LPSTR *); +WINADVAPI BOOL WINAPI CredMarshalCredentialW(CRED_MARSHAL_TYPE,PVOID,LPWSTR *); +#define CredMarshalCredential WINELIB_NAME_AW(CredMarshalCredential) +WINADVAPI BOOL WINAPI CredReadA(LPCSTR,DWORD,DWORD,PCREDENTIALA *); +WINADVAPI BOOL WINAPI CredReadW(LPCWSTR,DWORD,DWORD,PCREDENTIALW *); +#define CredRead WINELIB_NAME_AW(CredRead) +WINADVAPI BOOL WINAPI CredReadDomainCredentialsA(PCREDENTIAL_TARGET_INFORMATIONA,DWORD,DWORD *,PCREDENTIALA **); +WINADVAPI BOOL WINAPI CredReadDomainCredentialsW(PCREDENTIAL_TARGET_INFORMATIONW,DWORD,DWORD *,PCREDENTIALW **); +#define CredReadDomainCredentials WINELIB_NAME_AW(CredReadDomainCredentials) +WINADVAPI BOOL WINAPI CredRenameA(LPCSTR,LPCSTR,DWORD,DWORD); +WINADVAPI BOOL WINAPI CredRenameW(LPCWSTR,LPCWSTR,DWORD,DWORD); +#define CredRename WINELIB_NAME_AW(CredRename) +WINADVAPI BOOL WINAPI CredUnmarshalCredentialA(LPCSTR,PCRED_MARSHAL_TYPE,PVOID *); +WINADVAPI BOOL WINAPI CredUnmarshalCredentialW(LPCWSTR,PCRED_MARSHAL_TYPE,PVOID *); +#define CredUnmarshalCredential WINELIB_NAME_AW(CredUnmarshalCredential) +WINADVAPI BOOL WINAPI CredWriteA(PCREDENTIALA,DWORD); +WINADVAPI BOOL WINAPI CredWriteW(PCREDENTIALW,DWORD); +#define CredWrite WINELIB_NAME_AW(CredWrite) + +BOOL WINAPI CredPackAuthenticationBufferW(DWORD,LPWSTR,LPWSTR,PBYTE,DWORD *); +BOOL WINAPI CredUnPackAuthenticationBufferW(DWORD,PVOID,DWORD,LPWSTR,DWORD *,LPWSTR,DWORD *,LPWSTR,DWORD *); +DWORD WINAPI CredUICmdLinePromptForCredentialsW(PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,PBOOL,DWORD); +DWORD WINAPI CredUICmdLinePromptForCredentialsA(PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,PBOOL,DWORD); +#define CredUICmdLinePromptForCredentials WINELIB_NAME_AW(CredUICmdLinePromptForCredentials) +DWORD WINAPI CredUIConfirmCredentialsW(PCWSTR,BOOL); +DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL); +#define CredUIConfirmCredentials WINELIB_NAME_AW(CredUIConfirmCredentials) +DWORD WINAPI CredUIParseUserNameW(PCWSTR,PWSTR,ULONG,PWSTR,ULONG); +DWORD WINAPI CredUIParseUserNameA(PCSTR,PSTR,ULONG,PSTR,ULONG); +#define CredUIParseUserName WINELIB_NAME_AW(CredUIParseUserName) +DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW,PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,PBOOL,DWORD); +DWORD WINAPI CredUIPromptForCredentialsA(PCREDUI_INFOA,PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,PBOOL,DWORD); +#define CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials) +DWORD WINAPI CredUIPromptForWindowsCredentialsW(PCREDUI_INFOW,DWORD,ULONG *,LPCVOID,ULONG,LPVOID *, ULONG *, BOOL *, + DWORD); +DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL); +/* Note: no CredUIStoreSSOCredA in PSDK header */ +DWORD WINAPI CredUIReadSSOCredW(PCWSTR,PWSTR*); +/* Note: no CredUIReadSSOCredA in PSDK header */ + +#ifdef __cplusplus +} +#endif + +#endif /* _WINCRED_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincrypt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincrypt.h new file mode 100644 index 0000000..83db673 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wincrypt.h @@ -0,0 +1,4629 @@ +/* + * Copyright (C) 2002 Travis Michielsen + * Copyright (C) 2004-2005 Juan Lang + * Copyright (C) 2007 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINCRYPT_H +#define __WINE_WINCRYPT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +/* FIXME: #include */ + +#ifdef _ADVAPI32_ +# define WINADVAPI +#else +# define WINADVAPI DECLSPEC_IMPORT +#endif + +/* some typedefs for function parameters */ +typedef unsigned int ALG_ID; +typedef ULONG_PTR HCRYPTPROV; +typedef ULONG_PTR HCRYPTPROV_OR_NCRYPT_KEY_HANDLE; +typedef ULONG_PTR HCRYPTPROV_LEGACY; +typedef ULONG_PTR HCRYPTKEY; +typedef ULONG_PTR HCRYPTHASH; +typedef void *HCERTSTORE; +typedef void *HCRYPTMSG; +typedef void *HCERTSTOREPROV; +typedef void *HCRYPTOIDFUNCSET; +typedef void *HCRYPTOIDFUNCADDR; +typedef void *HCRYPTDEFAULTCONTEXT; + +/* CSP Structs */ + +typedef struct _PROV_ENUMALGS { + ALG_ID aiAlgid; + DWORD dwBitLen; + DWORD dwNameLen; + CHAR szName[20]; +} PROV_ENUMALGS; + +typedef struct _PROV_ENUMALGS_EX { + ALG_ID aiAlgid; + DWORD dwDefaultLen; + DWORD dwMinLen; + DWORD dwMaxLen; + DWORD dwProtocols; + DWORD dwNameLen; + CHAR szName[20]; + DWORD dwLongNameLen; + CHAR szLongName[40]; +} PROV_ENUMALGS_EX; + +#define SCHANNEL_MAC_KEY 0 +#define SCHANNEL_ENC_KEY 1 + +typedef struct _SCHANNEL_ALG { + DWORD dwUse; + ALG_ID Algid; + DWORD cBits; + DWORD dwFlags; + DWORD dwReserved; +} SCHANNEL_ALG, *PSCHANNEL_ALG; + + +#define CRYPT_IPSEC_HMAC_KEY 0x0100 + +typedef struct _HMAC_INFO { + ALG_ID HashAlgid; + BYTE* pbInnerString; + DWORD cbInnerString; + BYTE* pbOuterString; + DWORD cbOuterString; +} HMAC_INFO, *PHMAC_INFO; + +typedef struct _CRYPTOAPI_BLOB { + DWORD cbData; + BYTE* pbData; +} CRYPT_INTEGER_BLOB, *PCRYPT_INTEGER_BLOB, + CRYPT_UINT_BLOB, *PCRYPT_UINT_BLOB, + CRYPT_OBJID_BLOB, *PCRYPT_OBJID_BLOB, + CERT_NAME_BLOB, *PCERT_NAME_BLOB, + CERT_RDN_VALUE_BLOB, *PCERT_RDN_VALUE_BLOB, + CERT_BLOB, *PCERT_BLOB, + CRL_BLOB, *PCRL_BLOB, + DATA_BLOB, *PDATA_BLOB, + CRYPT_DATA_BLOB, *PCRYPT_DATA_BLOB, + CRYPT_HASH_BLOB, *PCRYPT_HASH_BLOB, + CRYPT_DIGEST_BLOB, *PCRYPT_DIGEST_BLOB, + CRYPT_DER_BLOB, *PCRYPT_DER_BLOB, + CRYPT_ATTR_BLOB, *PCRYPT_ATTR_BLOB; + +typedef struct _CRYPTPROTECT_PROMPTSTRUCT{ + DWORD cbSize; + DWORD dwPromptFlags; + HWND hwndApp; + LPCWSTR szPrompt; +} CRYPTPROTECT_PROMPTSTRUCT, *PCRYPTPROTECT_PROMPTSTRUCT; + +typedef struct _CRYPT_ALGORITHM_IDENTIFIER { + LPSTR pszObjId; + CRYPT_OBJID_BLOB Parameters; +} CRYPT_ALGORITHM_IDENTIFIER, *PCRYPT_ALGORITHM_IDENTIFIER; + +typedef struct _CRYPT_ATTRIBUTE_TYPE_VALUE { + LPSTR pszObjId; + CRYPT_OBJID_BLOB Value; +} CRYPT_ATTRIBUTE_TYPE_VALUE, *PCRYPT_ATTRIBUTE_TYPE_VALUE; + +typedef struct _PUBLICKEYSTRUC { + BYTE bType; + BYTE bVersion; + WORD reserved; + ALG_ID aiKeyAlg; +} BLOBHEADER, PUBLICKEYSTRUC; + +typedef struct _RSAPUBKEY { + DWORD magic; + DWORD bitlen; + DWORD pubexp; +} RSAPUBKEY; + +typedef struct _PUBKEY { + DWORD magic; + DWORD bitlen; +} DHPUBKEY, DSSPUBKEY, KEAPUBKEY, TEKPUBKEY; + +typedef struct _DSSSEED { + DWORD counter; + BYTE seed[20]; +} DSSSEED; + +typedef struct _PUBKEYVER3 { + DWORD magic; + DWORD bitlenP; + DWORD bitlenQ; + DWORD bitlenJ; + DSSSEED DSSSeed; +} DHPUBKEY_VER3, DSSPUBKEY_VER3; + +typedef struct _PRIVKEYVER3 { + DWORD magic; + DWORD bitlenP; + DWORD bitlenQ; + DWORD bitlenJ; + DWORD bitlenX; + DSSSEED DSSSeed; +} DHPRIVKEY_VER3, DSSPRIVKEY_VER3; + +typedef struct _KEY_TYPE_SUBTYPE { + DWORD dwKeySpec; + GUID Type; + GUID SubType; +} KEY_TYPE_SUBTYPE, *PKEY_TYPE_SUBTYPE; + +typedef struct _CERT_FORTEZZA_DATA_PROP { + unsigned char SerialNumber[8]; + int CertIndex; + unsigned char CertLabel[36]; +} CERT_FORTEZZA_DATA_PROP; + +typedef struct _CMS_DH_KEY_INFO { + DWORD dwVersion; + ALG_ID Algid; + LPSTR pszContentEncObjId; + CRYPT_DATA_BLOB PubInfo; + void *pReserved; +} CMS_DH_KEY_INFO, *PCMS_DH_KEY_INFO; + +typedef struct _CRYPT_BIT_BLOB { + DWORD cbData; + BYTE *pbData; + DWORD cUnusedBits; +} CRYPT_BIT_BLOB, *PCRYPT_BIT_BLOB; + +typedef struct _CRYPT_KEY_PROV_PARAM { + DWORD dwParam; + BYTE *pbData; + DWORD cbData; + DWORD dwFlags; +} CRYPT_KEY_PROV_PARAM, *PCRYPT_KEY_PROV_PARAM; + +typedef struct _CRYPT_KEY_PROV_INFO { + LPWSTR pwszContainerName; + LPWSTR pwszProvName; + DWORD dwProvType; + DWORD dwFlags; + DWORD cProvParam; + PCRYPT_KEY_PROV_PARAM rgProvParam; + DWORD dwKeySpec; +} CRYPT_KEY_PROV_INFO, *PCRYPT_KEY_PROV_INFO; + +typedef struct _CERT_KEY_CONTEXT { + DWORD cbSize; + HCRYPTPROV hCryptProv; + DWORD dwKeySpec; +} CERT_KEY_CONTEXT, *PCERT_KEY_CONTEXT; + +typedef struct _CERT_PUBLIC_KEY_INFO { + CRYPT_ALGORITHM_IDENTIFIER Algorithm; + CRYPT_BIT_BLOB PublicKey; +} CERT_PUBLIC_KEY_INFO, *PCERT_PUBLIC_KEY_INFO; + +typedef struct _CERT_EXTENSION { + LPSTR pszObjId; + BOOL fCritical; + CRYPT_OBJID_BLOB Value; +} CERT_EXTENSION, *PCERT_EXTENSION; + +typedef struct _CERT_EXTENSIONS { + DWORD cExtension; + PCERT_EXTENSION rgExtension; +} CERT_EXTENSIONS, *PCERT_EXTENSIONS; + +typedef struct _CERT_INFO { + DWORD dwVersion; + CRYPT_INTEGER_BLOB SerialNumber; + CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm; + CERT_NAME_BLOB Issuer; + FILETIME NotBefore; + FILETIME NotAfter; + CERT_NAME_BLOB Subject; + CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo; + CRYPT_BIT_BLOB IssuerUniqueId; + CRYPT_BIT_BLOB SubjectUniqueId; + DWORD cExtension; + PCERT_EXTENSION rgExtension; +} CERT_INFO, *PCERT_INFO; + +typedef struct _CERT_RDN_ATTR { + LPSTR pszObjId; + DWORD dwValueType; + CERT_RDN_VALUE_BLOB Value; +} CERT_RDN_ATTR, *PCERT_RDN_ATTR; + +typedef struct _CERT_RDN { + DWORD cRDNAttr; + PCERT_RDN_ATTR rgRDNAttr; +} CERT_RDN, *PCERT_RDN; + +typedef struct _CERT_NAME_INFO { + DWORD cRDN; + PCERT_RDN rgRDN; +} CERT_NAME_INFO, *PCERT_NAME_INFO; + +typedef struct _CERT_NAME_VALUE { + DWORD dwValueType; + CERT_RDN_VALUE_BLOB Value; +} CERT_NAME_VALUE, *PCERT_NAME_VALUE; + +typedef struct _CERT_ENCRYPTED_PRIVATE_KEY_INFO { + CRYPT_ALGORITHM_IDENTIFIER EncryptionAlgorithm; + CRYPT_DATA_BLOB EncryptedPrivateKey; +} CERT_ENCRYPTED_PRIVATE_KEY_INFO, *PCERT_ENCRYPTED_PRIVATE_KEY_INFO; + +typedef struct _CERT_AUTHORITY_KEY_ID_INFO { + CRYPT_DATA_BLOB KeyId; + CERT_NAME_BLOB CertIssuer; + CRYPT_INTEGER_BLOB CertSerialNumber; +} CERT_AUTHORITY_KEY_ID_INFO, *PCERT_AUTHORITY_KEY_ID_INFO; + +typedef struct _CERT_PRIVATE_KEY_VALIDITY { + FILETIME NotBefore; + FILETIME NotAfter; +} CERT_PRIVATE_KEY_VALIDITY, *PCERT_PRIVATE_KEY_VALIDITY; + +typedef struct _CERT_KEY_ATTRIBUTES_INFO { + CRYPT_DATA_BLOB KeyId; + CRYPT_BIT_BLOB IntendedKeyUsage; + PCERT_PRIVATE_KEY_VALIDITY pPrivateKeyUsagePeriod; +} CERT_KEY_ATTRIBUTES_INFO, *PCERT_KEY_ATTRIBUTES_INFO; + +/* byte 0 */ +#define CERT_DIGITAL_SIGNATURE_KEY_USAGE 0x80 +#define CERT_NON_REPUDIATION_KEY_USAGE 0x40 +#define CERT_KEY_ENCIPHERMENT_KEY_USAGE 0x20 +#define CERT_DATA_ENCIPHERMENT_KEY_USAGE 0x10 +#define CERT_KEY_AGREEMENT_KEY_USAGE 0x08 +#define CERT_KEY_CERT_SIGN_KEY_USAGE 0x04 +#define CERT_OFFLINE_CRL_SIGN_KEY_USAGE 0x02 +#define CERT_CRL_SIGN_KEY_USAGE 0x02 +#define CERT_ENCIPHER_ONLY_KEY_USAGE 0x01 +/* byte 1 */ +#define CERT_DECIPHER_ONLY_KEY_USAGE 0x80 + +typedef struct _CERT_POLICY_ID { + DWORD cCertPolicyElementId; + LPSTR *rgbszCertPolicyElementId; +} CERT_POLICY_ID, *PCERT_POLICY_ID; + +typedef struct _CERT_KEY_USAGE_RESTRICTION_INFO { + DWORD cCertPolicyId; + PCERT_POLICY_ID rgCertPolicyId; + CRYPT_BIT_BLOB RestrictedKeyUsage; +} CERT_KEY_USAGE_RESTRICTION_INFO, *PCERT_KEY_USAGE_RESTRICTION_INFO; + +typedef struct _CERT_OTHER_NAME { + LPSTR pszObjId; + CRYPT_OBJID_BLOB Value; +} CERT_OTHER_NAME, *PCERT_OTHER_NAME; + +typedef struct _CERT_ALT_NAME_ENTRY { + DWORD dwAltNameChoice; + union { + PCERT_OTHER_NAME pOtherName; + LPWSTR pwszRfc822Name; + LPWSTR pwszDNSName; + CERT_NAME_BLOB DirectoryName; + LPWSTR pwszURL; + CRYPT_DATA_BLOB IPAddress; + LPSTR pszRegisteredID; + } DUMMYUNIONNAME; +} CERT_ALT_NAME_ENTRY, *PCERT_ALT_NAME_ENTRY; + +#define CERT_ALT_NAME_OTHER_NAME 1 +#define CERT_ALT_NAME_RFC822_NAME 2 +#define CERT_ALT_NAME_DNS_NAME 3 +#define CERT_ALT_NAME_X400_ADDRESS 4 +#define CERT_ALT_NAME_DIRECTORY_NAME 5 +#define CERT_ALT_NAME_EDI_PARTY_NAME 6 +#define CERT_ALT_NAME_URL 7 +#define CERT_ALT_NAME_IP_ADDRESS 8 +#define CERT_ALT_NAME_REGISTERED_ID 9 + +typedef struct _CERT_ALT_NAME_INFO { + DWORD cAltEntry; + PCERT_ALT_NAME_ENTRY rgAltEntry; +} CERT_ALT_NAME_INFO, *PCERT_ALT_NAME_INFO; + +#define CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK 0xff +#define CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT 16 +#define CERT_ALT_NAME_VALUE_ERR_INDEX_MASK 0x0000ffff +#define CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT 0 +#define GET_CERT_ALT_NAME_ENTRY_ERR_INDEX(x) \ + (((x) >> CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT) & \ + CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK) +#define GET_CERT_ALT_NAME_VALUE_ERR_INDEX(x) \ + ((x) & CERT_ALT_NAME_VALUE_ERR_INDEX_MASK) + +typedef struct _CERT_BASIC_CONSTRAINTS_INFO { + CRYPT_BIT_BLOB SubjectType; + BOOL fPathLenConstraint; + DWORD dwPathLenConstraint; + DWORD cSubtreesConstraint; + CERT_NAME_BLOB *rgSubtreesConstraint; +} CERT_BASIC_CONSTRAINTS_INFO, *PCERT_BASIC_CONSTRAINTS_INFO; + +#define CERT_CA_SUBJECT_FLAG 0x80 +#define CERT_END_ENTITY_SUBJECT_FLAG 0x40 + +typedef struct _CERT_BASIC_CONSTRAINTS2_INFO { + BOOL fCA; + BOOL fPathLenConstraint; + DWORD dwPathLenConstraint; +} CERT_BASIC_CONSTRAINTS2_INFO, *PCERT_BASIC_CONSTRAINTS2_INFO; + +typedef struct _CERT_POLICY_QUALIFIER_INFO { + LPSTR pszPolicyQualifierId; + CRYPT_OBJID_BLOB Qualifier; +} CERT_POLICY_QUALIFIER_INFO, *PCERT_POLICY_QUALIFIER_INFO; + +typedef struct _CERT_POLICY_INFO { + LPSTR pszPolicyIdentifier; + DWORD cPolicyQualifier; + CERT_POLICY_QUALIFIER_INFO *rgPolicyQualifier; +} CERT_POLICY_INFO, *PCERT_POLICY_INFO; + +typedef struct _CERT_POLICIES_INFO { + DWORD cPolicyInfo; + CERT_POLICY_INFO *rgPolicyInfo; +} CERT_POLICIES_INFO, *PCERT_POLICIES_INFO; + +typedef struct _CERT_POLICY_QUALIFIER_NOTICE_REFERENCE { + LPSTR pszOrganization; + DWORD cNoticeNumbers; + int *rgNoticeNumbers; +} CERT_POLICY_QUALIFIER_NOTICE_REFERENCE, + *PCERT_POLICY_QUALIFIER_NOTICE_REFERENCE; + +typedef struct _CERT_POLICY_QUALIFIER_USER_NOTICE { + CERT_POLICY_QUALIFIER_NOTICE_REFERENCE *pNoticeReference; + LPWSTR pszDisplayText; +} CERT_POLICY_QUALIFIER_USER_NOTICE, *PCERT_POLICY_QUALIFIER_USER_NOTICE; + +typedef struct _CPS_URLS { + LPWSTR pszURL; + CRYPT_ALGORITHM_IDENTIFIER *pAlgorithm; + CRYPT_DATA_BLOB *pDigest; +} CPS_URLS, *PCPS_URLS; + +typedef struct _CERT_POLICY95_QUALIFIER1 { + LPWSTR pszPracticesReference; + LPSTR pszNoticeIdentifier; + LPSTR pszNSINoticeIdentifier; + DWORD cCPSURLs; + CPS_URLS *rgCPSURLs; +} CERT_POLICY95_QUALIFIER1, *PCERT_POLICY95_QUALIFIER1; + +typedef struct _CERT_POLICY_MAPPING { + LPSTR pszIssuerDomainPolicy; + LPSTR pszSubjectDomainPolicy; +} CERT_POLICY_MAPPING, *PCERT_POLICY_MAPPING; + +typedef struct _CERT_POLICY_MAPPINGS_INFO { + DWORD cPolicyMapping; + PCERT_POLICY_MAPPING rgPolicyMapping; +} CERT_POLICY_MAPPINGS_INFO, *PCERT_POLICY_MAPPINGS_INFO; + +typedef struct _CERT_POLICY_CONSTRAINTS_INFO { + BOOL fRequireExplicitPolicy; + DWORD dwRequireExplicitPolicySkipCerts; + BOOL fInhibitPolicyMapping; + DWORD dwInhibitPolicyMappingSkipCerts; +} CERT_POLICY_CONSTRAINTS_INFO, *PCERT_POLICY_CONSTRAINTS_INFO; + +typedef struct _CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY { + LPSTR pszObjId; + DWORD cValue; + PCRYPT_DER_BLOB rgValue; +} CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY, *PCRYPT_CONTENT_INFO_SEQUENCE_OF_ANY; + +typedef struct _CRYPT_CONTENT_INFO { + LPSTR pszObjId; + CRYPT_DER_BLOB Content; +} CRYPT_CONTENT_INFO, *PCRYPT_CONTENT_INFO; + +typedef struct _CRYPT_SEQUENCE_OF_ANY { + DWORD cValue; + PCRYPT_DER_BLOB rgValue; +} CRYPT_SEQUENCE_OF_ANY, *PCRYPT_SEQUENCE_OF_ANY; + +typedef struct _CERT_AUTHORITY_KEY_ID2_INFO { + CRYPT_DATA_BLOB KeyId; + CERT_ALT_NAME_INFO AuthorityCertIssuer; + CRYPT_INTEGER_BLOB AuthorityCertSerialNumber; +} CERT_AUTHORITY_KEY_ID2_INFO, *PCERT_AUTHORITY_KEY_ID2_INFO; + +typedef struct _CERT_ACCESS_DESCRIPTION { + LPSTR pszAccessMethod; + CERT_ALT_NAME_ENTRY AccessLocation; +} CERT_ACCESS_DESCRIPTION, *PCERT_ACCESS_DESCRIPTION; + +typedef struct _CERT_AUTHORITY_INFO_ACCESS { + DWORD cAccDescr; + PCERT_ACCESS_DESCRIPTION rgAccDescr; +} CERT_AUTHORITY_INFO_ACCESS, *PCERT_AUTHORITY_INFO_ACCESS; + +typedef struct _CERT_CONTEXT { + DWORD dwCertEncodingType; + BYTE *pbCertEncoded; + DWORD cbCertEncoded; + PCERT_INFO pCertInfo; + HCERTSTORE hCertStore; +} CERT_CONTEXT, *PCERT_CONTEXT; +typedef const CERT_CONTEXT *PCCERT_CONTEXT; + +typedef struct _CRL_ENTRY { + CRYPT_INTEGER_BLOB SerialNumber; + FILETIME RevocationDate; + DWORD cExtension; + PCERT_EXTENSION rgExtension; +} CRL_ENTRY, *PCRL_ENTRY; + +typedef struct _CRL_INFO { + DWORD dwVersion; + CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm; + CERT_NAME_BLOB Issuer; + FILETIME ThisUpdate; + FILETIME NextUpdate; + DWORD cCRLEntry; + PCRL_ENTRY rgCRLEntry; + DWORD cExtension; + PCERT_EXTENSION rgExtension; +} CRL_INFO, *PCRL_INFO; + +typedef struct _CRL_DIST_POINT_NAME { + DWORD dwDistPointNameChoice; + union { + CERT_ALT_NAME_INFO FullName; + } DUMMYUNIONNAME; +} CRL_DIST_POINT_NAME, *PCRL_DIST_POINT_NAME; + +#define CRL_DIST_POINT_NO_NAME 0 +#define CRL_DIST_POINT_FULL_NAME 1 +#define CRL_DIST_POINT_ISSUER_RDN_NAME 2 + +typedef struct _CRL_DIST_POINT { + CRL_DIST_POINT_NAME DistPointName; + CRYPT_BIT_BLOB ReasonFlags; + CERT_ALT_NAME_INFO CRLIssuer; +} CRL_DIST_POINT, *PCRL_DIST_POINT; + +#define CRL_REASON_UNUSED_FLAG 0x80 +#define CRL_REASON_KEY_COMPROMISE_FLAG 0x40 +#define CRL_REASON_CA_COMPROMISE_FLAG 0x20 +#define CRL_REASON_AFFILIATION_CHANGED_FLAG 0x10 +#define CRL_REASON_SUPERSEDED_FLAG 0x08 +#define CRL_REASON_CESSATION_OF_OPERATION_FLAG 0x04 +#define CRL_REASON_CERTIFICATE_HOLD_FLAG 0x02 + +typedef struct _CRL_DIST_POINTS_INFO { + DWORD cDistPoint; + PCRL_DIST_POINT rgDistPoint; +} CRL_DIST_POINTS_INFO, *PCRL_DIST_POINTS_INFO; + +#define CRL_DIST_POINT_ERR_INDEX_MASK 0x7f +#define CRL_DIST_POINT_ERR_INDEX_SHIFT 24 +#define GET_CRL_DIST_POINT_ERR_INDEX(x) \ + (((x) >> CRL_DIST_POINT_ERR_INDEX_SHIFT) & CRL_DIST_POINT_ERR_INDEX_MASK) + +#define CRL_DIST_POINT_ERR_CRL_ISSUER_BIT __MSABI_LONG(0x80000000) +#define IS_CRL_DIST_POINT_ERR_CRL_ISSUER(x) \ + ((x) & CRL_DIST_POINT_ERR_CRL_ISSUER_BIT) + +typedef struct _CROSS_CERT_DIST_POINTS_INFO { + DWORD dwSyncDeltaTime; + DWORD cDistPoint; + PCERT_ALT_NAME_INFO rgDistPoint; +} CROSS_CERT_DIST_POINTS_INFO, *PCROSS_CERT_DIST_POINTS_INFO; + +#define CROSS_CERT_DIST_POINT_ERR_INDEX_MASK 0xff +#define CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT 24 +#define GET_CROSS_CERT_DIST_POINT_ERR_INDEX(x) \ + (((x) >> CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT) & \ + CROSS_CERT_DIST_POINT_ERR_INDEX_MASK) + +typedef struct _CERT_PAIR { + CERT_BLOB Forward; + CERT_BLOB Reverse; +} CERT_PAIR, *PCERT_PAIR; + +typedef struct _CRL_ISSUING_DIST_POINT { + CRL_DIST_POINT_NAME DistPointName; + BOOL fOnlyContainsUserCerts; + BOOL fOnlyContainsCACerts; + CRYPT_BIT_BLOB OnlySomeReasonFlags; + BOOL fIndirectCRL; +} CRL_ISSUING_DIST_POINT, *PCRL_ISSUING_DIST_POINT; + +typedef struct _CERT_GENERAL_SUBTREE { + CERT_ALT_NAME_ENTRY Base; + DWORD dwMinimum; + BOOL fMaximum; + DWORD dwMaximum; +} CERT_GENERAL_SUBTREE, *PCERT_GENERAL_SUBTREE; + +typedef struct _CERT_NAME_CONSTRAINTS_INFO { + DWORD cPermittedSubtree; + PCERT_GENERAL_SUBTREE rgPermittedSubtree; + DWORD cExcludedSubtree; + PCERT_GENERAL_SUBTREE rgExcludedSubtree; +} CERT_NAME_CONSTRAINTS_INFO, *PCERT_NAME_CONSTRAINTS_INFO; + +#define CERT_EXCLUDED_SUBTREE_BIT __MSABI_LONG(0x80000000) +#define IS_CERT_EXCLUDED_SUBTREE(x) ((x) & CERT_EXCLUDED_SUBTREE_BIT) + +typedef struct _CRYPT_ATTRIBUTE { + LPSTR pszObjId; + DWORD cValue; + PCRYPT_DATA_BLOB rgValue; +} CRYPT_ATTRIBUTE, *PCRYPT_ATTRIBUTE; + +typedef struct _CRYPT_ATTRIBUTES { + DWORD cAttr; + PCRYPT_ATTRIBUTE rgAttr; +} CRYPT_ATTRIBUTES, *PCRYPT_ATTRIBUTES; + +typedef struct _CERT_REQUEST_INFO { + DWORD dwVersion; + CERT_NAME_BLOB Subject; + CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo; + DWORD cAttribute; + PCRYPT_ATTRIBUTE rgAttribute; +} CERT_REQUEST_INFO, *PCERT_REQUEST_INFO; + +typedef struct _CERT_KEYGEN_REQUEST_INFO { + DWORD dwVersion; + CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo; + LPWSTR pwszChallengeString; +} CERT_KEYGEN_REQUEST_INFO, *PCERT_KEYGEN_REQUEST_INFO; + +typedef struct _CERT_SIGNED_CONTENT_INFO { + CRYPT_DER_BLOB ToBeSigned; + CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm; + CRYPT_BIT_BLOB Signature; +} CERT_SIGNED_CONTENT_INFO, *PCERT_SIGNED_CONTENT_INFO; + +typedef struct _CRL_CONTEXT { + DWORD dwCertEncodingType; + BYTE *pbCrlEncoded; + DWORD cbCrlEncoded; + PCRL_INFO pCrlInfo; + HCERTSTORE hCertStore; +} CRL_CONTEXT, *PCRL_CONTEXT; +typedef const CRL_CONTEXT *PCCRL_CONTEXT; + +#define SORTED_CTL_EXT_FLAGS_OFFSET (0*4) +#define SORTED_CTL_EXT_COUNT_OFFSET (1*4) +#define SORTED_CTL_EXT_MAX_COLLISION_OFFSET (2*4) +#define SORTED_CTL_EXT_HASH_BUCKET_OFFSET (3*4) + +#define SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG 0x1 + +typedef struct _CERT_DSS_PARAMETERS { + CRYPT_UINT_BLOB p; + CRYPT_UINT_BLOB q; + CRYPT_UINT_BLOB g; +} CERT_DSS_PARAMETERS, *PCERT_DSS_PARAMETERS; + +#define CERT_DSS_R_LEN 20 +#define CERT_DSS_S_LEN 20 +#define CERT_DSS_SIGNATURE_LEN (CERT_DSS_R_LEN + CERT_DSS_S_LEN) + +#define CERT_MAX_ENCODED_DSS_SIGNATURE_LEN (2 + 2*(2 + 20 +1)) + +typedef struct _CERT_DH_PARAMETERS { + CRYPT_UINT_BLOB p; + CRYPT_UINT_BLOB g; +} CERT_DH_PARAMETERS, *PCERT_DH_PARAMETERS; + +typedef struct _CERT_X942_DH_VALIDATION_PARAMS { + CRYPT_BIT_BLOB seed; + DWORD pgenCounter; +} CERT_X942_DH_VALIDATION_PARAMS, *PCERT_X942_DH_VALIDATION_PARAMS; + +typedef struct _CERT_X942_DH_PARAMETERS { + CRYPT_UINT_BLOB p; + CRYPT_UINT_BLOB g; + CRYPT_UINT_BLOB q; + CRYPT_UINT_BLOB j; + PCERT_X942_DH_VALIDATION_PARAMS pValidationParams; +} CERT_X942_DH_PARAMETERS, *PCERT_X942_DH_PARAMETERS; + +#define CRYPT_X942_COUNTER_BYTE_LENGTH 4 +#define CRYPT_X942_KEY_LENGTH_BYTE_LENGTH 4 +#define CRYPT_X942_PUB_INFO_BYTE_LENGTH (512/8) + +typedef struct _CRYPT_X942_OTHER_INFO { + LPSTR pszContentEncryptionObjId; + BYTE rgbCounter[CRYPT_X942_COUNTER_BYTE_LENGTH]; + BYTE rgbKeyLength[CRYPT_X942_KEY_LENGTH_BYTE_LENGTH]; + CRYPT_DATA_BLOB PubInfo; +} CRYPT_X942_OTHER_INFO, *PCRYPT_X942_OTHER_INFO; + +typedef struct _CRYPT_RC2_CBC_PARAMETERS { + DWORD dwVersion; + BOOL fIV; + BYTE rgbIV[4]; +} CRYPT_RC2_CBC_PARAMETERS, *PCRYPT_RC2_CBC_PARAMETERS; + +#define CRYPT_RC2_40BIT_VERSION 160 +#define CRYPT_RC2_56BIT_VERSION 52 +#define CRYPT_RC2_64BIT_VERSION 120 +#define CRYPT_RC2_128BIT_VERSION 58 + +typedef struct _CRYPT_SMIME_CAPABILITY { + LPSTR pszObjId; + CRYPT_OBJID_BLOB Parameters; +} CRYPT_SMIME_CAPABILITY, *PCRYPT_SMIME_CAPABILITY; + +typedef struct _CRYPT_SMIME_CAPABILITIES { + DWORD cCapability; + PCRYPT_SMIME_CAPABILITY rgCapability; +} CRYPT_SMIME_CAPABILITIES, *PCRYPT_SMIME_CAPABILITIES; + +typedef struct _VTableProvStruc { + DWORD Version; +#ifdef WINE_STRICT_PROTOTYPES + BOOL (WINAPI *FuncVerifyImage)(LPCSTR,BYTE*); + void (WINAPI *FuncReturnhWnd)(HWND*); +#else + FARPROC FuncVerifyImage; + FARPROC FuncReturnhWnd; +#endif + DWORD dwProvType; + BYTE *pbContextInfo; + DWORD cbContextInfo; + LPSTR pszProvName; +} VTableProvStruc, *PVTableProvStruc; + +typedef struct _CERT_PRIVATE_KEY_INFO { + DWORD Version; + CRYPT_ALGORITHM_IDENTIFIER Algorithm; + CRYPT_DER_BLOB PrivateKey; + PCRYPT_ATTRIBUTES pAttributes; +} CERT_PRIVATE_KEY_INFO, *PCERT_PRIVATE_KEY_INFO; + +typedef struct _CTL_USAGE { + DWORD cUsageIdentifier; + LPSTR *rgpszUsageIdentifier; +} CTL_USAGE, *PCTL_USAGE, CERT_ENHKEY_USAGE, *PCERT_ENHKEY_USAGE; + +typedef struct _CTL_ENTRY { + CRYPT_DATA_BLOB SubjectIdentifier; + DWORD cAttribute; + PCRYPT_ATTRIBUTE rgAttribute; +} CTL_ENTRY, *PCTL_ENTRY; + +typedef struct _CTL_INFO { + DWORD dwVersion; + CTL_USAGE SubjectUsage; + CRYPT_DATA_BLOB ListIdentifier; + CRYPT_INTEGER_BLOB SequenceNumber; + FILETIME ThisUpdate; + FILETIME NextUpdate; + CRYPT_ALGORITHM_IDENTIFIER SubjectAlgorithm; + DWORD cCTLEntry; + PCTL_ENTRY rgCTLEntry; + DWORD cExtension; + PCERT_EXTENSION rgExtension; +} CTL_INFO, *PCTL_INFO; + +typedef struct _CTL_CONTEXT { + DWORD dwMsgAndCertEncodingType; + BYTE *pbCtlEncoded; + DWORD cbCtlEncoded; + PCTL_INFO pCtlInfo; + HCERTSTORE hCertStore; + HCRYPTMSG hCryptMsg; + BYTE *pbCtlContext; + DWORD cbCtlContext; +} CTL_CONTEXT, *PCTL_CONTEXT; +typedef const CTL_CONTEXT *PCCTL_CONTEXT; + +typedef struct _CRYPT_TIME_STAMP_REQUEST_INFO { + LPSTR pszTimeStampAlgorithm; + LPSTR pszContentType; + CRYPT_OBJID_BLOB Content; + DWORD cAttribute; + PCRYPT_ATTRIBUTE rgAttribute; +} CRYPT_TIME_STAMP_REQUEST_INFO, *PCRYPT_TIME_STAMP_REQUEST_INFO; + +typedef struct _CRYPT_ENROLLMENT_NAME_VALUE_PAIR { + LPWSTR pwszName; + LPWSTR pwszValue; +} CRYPT_ENROLLMENT_NAME_VALUE_PAIR, *PCRYPT_ENROLLMENT_NAME_VALUE_PAIR; + +typedef struct _CMSG_SIGNER_INFO { + DWORD dwVersion; + CERT_NAME_BLOB Issuer; + CRYPT_INTEGER_BLOB SerialNumber; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm; + CRYPT_DATA_BLOB EncryptedHash; + CRYPT_ATTRIBUTES AuthAttrs; + CRYPT_ATTRIBUTES UnauthAttrs; +} CMSG_SIGNER_INFO, *PCMSG_SIGNER_INFO; + +#define CMSG_VERIFY_SIGNER_PUBKEY 1 +#define CMSG_VERIFY_SIGNER_CERT 2 +#define CMSG_VERIFY_SIGNER_CHAIN 3 +#define CMSG_VERIFY_SIGNER_NULL 4 + +typedef struct _CERT_REVOCATION_CRL_INFO { + DWORD cbSize; + PCCRL_CONTEXT pBaseCrlContext; + PCCRL_CONTEXT pDeltaCrlContext; + PCRL_ENTRY pCrlEntry; + BOOL fDeltaCrlEntry; +} CERT_REVOCATION_CRL_INFO, *PCERT_REVOCATION_CRL_INFO; + +typedef struct _CERT_REVOCATION_INFO { + DWORD cbSize; + DWORD dwRevocationResult; + LPCSTR pszRevocationOid; + LPVOID pvOidSpecificInfo; + BOOL fHasFreshnessTime; + DWORD dwFreshnessTime; + PCERT_REVOCATION_CRL_INFO pCrlInfo; +} CERT_REVOCATION_INFO, *PCERT_REVOCATION_INFO; + +typedef struct _CERT_REVOCATION_PARA { + DWORD cbSize; + PCCERT_CONTEXT pIssuerCert; + DWORD cCertStore; + HCERTSTORE *rgCertStore; + HCERTSTORE hCrlStore; + LPFILETIME pftTimeToUse; +#ifdef CERT_REVOCATION_PARA_HAS_EXTRA_FIELDS + DWORD dwUrlRetrievalTimeout; + BOOL fCheckFreshnessTime; + DWORD dwFreshnessTime; + LPFILETIME pftCurrentTime; + PCERT_REVOCATION_CRL_INFO pCrlInfo; +#endif +} CERT_REVOCATION_PARA, *PCERT_REVOCATION_PARA; + +#define CERT_CONTEXT_REVOCATION_TYPE 1 +#define CERT_VERIFY_REV_CHAIN_FLAG 0x00000001 +#define CERT_VERIFY_CACHE_ONLY_BASED_REVOCATION 0x00000002 +#define CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG 0x00000004 + +typedef struct _CTL_VERIFY_USAGE_PARA { + DWORD cbSize; + CRYPT_DATA_BLOB ListIdentifier; + DWORD cCtlStore; + HCERTSTORE *rghCtlStore; + DWORD cSignerStore; + HCERTSTORE *rghSignerStore; +} CTL_VERIFY_USAGE_PARA, *PCTL_VERIFY_USAGE_PARA; + +typedef struct _CTL_VERIFY_USAGE_STATUS { + DWORD cbSize; + DWORD dwError; + DWORD dwFlags; + PCCTL_CONTEXT *ppCtl; + DWORD dwCtlEntryIndex; + PCCERT_CONTEXT *ppSigner; + DWORD dwSignerIndex; +} CTL_VERIFY_USAGE_STATUS, *PCTL_VERIFY_USAGE_STATUS; + +#define CERT_VERIFY_INHIBIT_CTL_UPDATE_FLAG 0x1 +#define CERT_VERIFY_TRUSTED_SIGNERS_FLAG 0x2 +#define CERT_VERIFY_NO_TIME_CHECK_FLAG 0x4 +#define CERT_VERIFY_ALLOW_MORE_USAGE_FLAG 0x8 +#define CERT_VERIFY_UPDATED_CTL_FLAG 0x1 + +typedef struct _CERT_CHAIN { + DWORD cCerts; + PCERT_BLOB certs; + CRYPT_KEY_PROV_INFO keyLocatorInfo; +} CERT_CHAIN, *PCERT_CHAIN; + +typedef struct _CERT_REVOCATION_STATUS { + DWORD cbSize; + DWORD dwIndex; + DWORD dwError; + DWORD dwReason; + BOOL fHasFreshnessTime; + DWORD dwFreshnessTime; +} CERT_REVOCATION_STATUS, *PCERT_REVOCATION_STATUS; + +typedef struct _CERT_TRUST_LIST_INFO { + DWORD cbSize; + PCTL_ENTRY pCtlEntry; + PCCTL_CONTEXT pCtlContext; +} CERT_TRUST_LIST_INFO, *PCERT_TRUST_LIST_INFO; + +#define CERT_TRUST_NO_ERROR 0x00000000 +#define CERT_TRUST_IS_NOT_TIME_VALID 0x00000001 +#define CERT_TRUST_IS_NOT_TIME_NESTED 0x00000002 +#define CERT_TRUST_IS_REVOKED 0x00000004 +#define CERT_TRUST_IS_NOT_SIGNATURE_VALID 0x00000008 +#define CERT_TRUST_IS_NOT_VALID_FOR_USAGE 0x00000010 +#define CERT_TRUST_IS_UNTRUSTED_ROOT 0x00000020 +#define CERT_TRUST_REVOCATION_STATUS_UNKNOWN 0x00000040 +#define CERT_TRUST_IS_CYCLIC 0x00000080 +#define CERT_TRUST_INVALID_EXTENSION 0x00000100 +#define CERT_TRUST_INVALID_POLICY_CONSTRAINTS 0x00000200 +#define CERT_TRUST_INVALID_BASIC_CONSTRAINTS 0x00000400 +#define CERT_TRUST_INVALID_NAME_CONSTRAINTS 0x00000800 +#define CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT 0x00001000 +#define CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT 0x00002000 +#define CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT 0x00004000 +#define CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT 0x00008000 +#define CERT_TRUST_IS_OFFLINE_REVOCATION 0x01000000 +#define CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY 0x02000000 +#define CERT_TRUST_IS_EXPLICIT_DISTRUST 0x04000000 +#define CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT 0x08000000 + +#define CERT_TRUST_IS_PARTIAL_CHAIN 0x00010000 +#define CERT_TRUST_CTL_IS_NOT_TIME_VALID 0x00020000 +#define CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID 0x00040000 +#define CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE 0x00080000 + +#define CERT_TRUST_HAS_EXACT_MATCH_ISSUER 0x00000001 +#define CERT_TRUST_HAS_KEY_MATCH_ISSUER 0x00000002 +#define CERT_TRUST_HAS_NAME_MATCH_ISSUER 0x00000004 +#define CERT_TRUST_IS_SELF_SIGNED 0x00000008 + +#define CERT_TRUST_HAS_PREFERRED_ISSUER 0x00000100 +#define CERT_TRUST_HAS_ISSUANCE_CHAIN_POLICY 0x00000200 +#define CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS 0x00000400 +#define CERT_TRUST_IS_PEER_TRUSTED 0x00000800 +#define CERT_TRUST_HAS_CRL_VALIDITY_EXTENDED 0x00001000 + +#define CERT_TRUST_IS_COMPLEX_CHAIN 0x00010000 + +typedef struct _CERT_TRUST_STATUS { + DWORD dwErrorStatus; + DWORD dwInfoStatus; +} CERT_TRUST_STATUS, *PCERT_TRUST_STATUS; + +typedef struct _CERT_CHAIN_ELEMENT { + DWORD cbSize; + PCCERT_CONTEXT pCertContext; + CERT_TRUST_STATUS TrustStatus; + PCERT_REVOCATION_INFO pRevocationInfo; + PCERT_ENHKEY_USAGE pIssuanceUsage; + PCERT_ENHKEY_USAGE pApplicationUsage; + LPCWSTR pwszExtendedErrorInfo; +} CERT_CHAIN_ELEMENT, *PCERT_CHAIN_ELEMENT; + +typedef struct _CERT_SIMPLE_CHAIN { + DWORD cbSize; + CERT_TRUST_STATUS TrustStatus; + DWORD cElement; + PCERT_CHAIN_ELEMENT *rgpElement; + PCERT_TRUST_LIST_INFO pTrustListInfo; + BOOL fHasRevocationFreshnessTime; + DWORD dwRevocationFreshnessTime; +} CERT_SIMPLE_CHAIN, *PCERT_SIMPLE_CHAIN; + +typedef struct _CERT_CHAIN_CONTEXT CERT_CHAIN_CONTEXT, *PCERT_CHAIN_CONTEXT; +typedef const CERT_CHAIN_CONTEXT *PCCERT_CHAIN_CONTEXT; + +struct _CERT_CHAIN_CONTEXT { + DWORD cbSize; + CERT_TRUST_STATUS TrustStatus; + DWORD cChain; + PCERT_SIMPLE_CHAIN *rgpChain; + DWORD cLowerQualityChainContext; + PCCERT_CHAIN_CONTEXT *rgpLowerQualityChainContext; + BOOL fHasRevocationFreshnessTime; + DWORD dwRevocationFreshnessTime; +}; + +typedef struct _CERT_CHAIN_POLICY_PARA { + DWORD cbSize; + DWORD dwFlags; + void *pvExtraPolicyPara; +} CERT_CHAIN_POLICY_PARA, *PCERT_CHAIN_POLICY_PARA; + +typedef struct _CERT_CHAIN_POLICY_STATUS { + DWORD cbSize; + DWORD dwError; + LONG lChainIndex; + LONG lElementIndex; + void *pvExtraPolicyStatus; +} CERT_CHAIN_POLICY_STATUS, *PCERT_CHAIN_POLICY_STATUS; + +#define CERT_CHAIN_POLICY_BASE ((LPCSTR)1) +#define CERT_CHAIN_POLICY_AUTHENTICODE ((LPCSTR)2) +#define CERT_CHAIN_POLICY_AUTHENTICODE_TS ((LPCSTR)3) +#define CERT_CHAIN_POLICY_SSL ((LPCSTR)4) +#define CERT_CHAIN_POLICY_BASIC_CONSTRAINTS ((LPCSTR)5) +#define CERT_CHAIN_POLICY_NT_AUTH ((LPCSTR)6) +#define CERT_CHAIN_POLICY_MICROSOFT_ROOT ((LPCSTR)7) + +#define CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG 0x00000001 +#define CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG 0x00000002 +#define CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG 0x00000004 +#define CERT_CHAIN_POLICY_IGNORE_INVALID_BASIC_CONSTRAINTS_FLAG 0x00000008 + +#define CERT_CHAIN_POLICY_IGNORE_ALL_NOT_TIME_VALID_FLAGS ( \ + CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG \ + CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG \ + CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG ) + +#define CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG 0x00000010 +#define CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG 0x00000020 +#define CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG 0x00000040 +#define CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG 0x00000080 + +#define CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG 0x00000100 +#define CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG 0x00000200 +#define CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG 0x00000400 +#define CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG 0x00000800 + +#define CERT_CHAIN_POLICY_IGNORE_ALL_REV_UNKNOWN_FLAGS ( \ + CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG \ + CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG \ + CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG \ + CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG ) + +#define CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG 0x00001000 +#define CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG 0x00002000 +#define CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG 0x00004000 +#define CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG 0x00008000 +#define MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG 0x00010000 + +typedef struct _AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA { + DWORD cbSize; + DWORD dwRegPolicySettings; + PCMSG_SIGNER_INFO pSignerInfo; +} AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA, + *PAUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA; + +typedef struct _AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS { + DWORD cbSize; + BOOL fCommercial; +} AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS, + *PAUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS; + +typedef struct _AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA { + DWORD cbSize; + DWORD dwRegPolicySettings; + BOOL fCommercial; +} AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA, + *PAUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA; + +typedef struct _HTTPSPolicyCallbackData { + union { + DWORD cbStruct; + DWORD cbSize; + } DUMMYUNIONNAME; + DWORD dwAuthType; + DWORD fdwChecks; + WCHAR *pwszServerName; +} HTTPSPolicyCallbackData, *PHTTPSPolicyCallbackData, + SSL_EXTRA_CERT_CHAIN_POLICY_PARA, *PSSL_EXTRA_CERT_CHAIN_POLICY_PARA; + +/* Values for HTTPSPolicyCallbackData's dwAuthType */ +#define AUTHTYPE_CLIENT 1 +#define AUTHTYPE_SERVER 2 +/* Values for HTTPSPolicyCallbackData's fdwChecks are defined in wininet.h */ + +#define BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_CA_FLAG 0x80000000 +#define BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG 0x40000000 + +#define MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG 0x00010000 + +#define USAGE_MATCH_TYPE_AND 0x00000000 +#define USAGE_MATCH_TYPE_OR 0x00000001 + +typedef struct _CERT_USAGE_MATCH { + DWORD dwType; + CERT_ENHKEY_USAGE Usage; +} CERT_USAGE_MATCH, *PCERT_USAGE_MATCH; + +typedef struct _CTL_USAGE_MATCH { + DWORD dwType; + CTL_USAGE Usage; +} CTL_USAGE_MATCH, *PCTL_USAGE_MATCH; + +#define CERT_CHAIN_REVOCATION_CHECK_END_CERT 0x10000000 +#define CERT_CHAIN_REVOCATION_CHECK_CHAIN 0x20000000 +#define CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT 0x40000000 +#define CERT_CHAIN_REVOCATION_CHECK_CACHE_ONLY 0x80000000 + +#define CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT 0x08000000 + +#define CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING 0x00000040 +#define CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS 0x00000080 +#define CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE 0x00000100 +#define CERT_CHAIN_TIMESTAMP_TIME 0x00000200 + +typedef struct _CERT_CHAIN_PARA { + DWORD cbSize; + CERT_USAGE_MATCH RequestedUsage; +#ifdef CERT_CHAIN_PARA_HAS_EXTRA_FIELDS + CERT_USAGE_MATCH RequestedIssuancePolicy; + DWORD dwUrlRetrievalTimeout; + BOOL fCheckRevocationFreshnessTime; + DWORD dwRevocationFreshnessTime; + LPFILETIME pftCacheResync; +#endif +} CERT_CHAIN_PARA, *PCERT_CHAIN_PARA; + +typedef struct _CERT_SYSTEM_STORE_INFO { + DWORD cbSize; +} CERT_SYSTEM_STORE_INFO, *PCERT_SYSTEM_STORE_INFO; + +typedef struct _CERT_PHYSICAL_STORE_INFO { + DWORD cbSize; + LPSTR pszOpenStoreProvider; + DWORD dwOpenEncodingType; + DWORD dwOpenFlags; + CRYPT_DATA_BLOB OpenParameters; + DWORD dwFlags; + DWORD dwPriority; +} CERT_PHYSICAL_STORE_INFO, *PCERT_PHYSICAL_STORE_INFO; + +typedef struct _CERT_SYSTEM_STORE_RELOCATE_PARA { + union { + HKEY hKeyBase; + VOID *pvBase; + } DUMMYUNIONNAME; + union { + void *pvSystemStore; + LPCSTR pszSystemStore; + LPCWSTR pwszSystemStore; + } DUMMYUNIONNAME2; +} CERT_SYSTEM_STORE_RELOCATE_PARA, *PCERT_SYSTEM_STORE_RELOCATE_PARA; + +typedef BOOL (WINAPI *PFN_CERT_ENUM_SYSTEM_STORE_LOCATION)( + LPCWSTR pwszStoreLocation, DWORD dwFlags, void *pvReserved, void *pvArg); + +typedef BOOL (WINAPI *PFN_CERT_ENUM_SYSTEM_STORE)(const void *pvSystemStore, + DWORD dwFlags, PCERT_SYSTEM_STORE_INFO pStoreInfo, void *pvReserved, + void *pvArg); + +typedef BOOL (WINAPI *PFN_CERT_ENUM_PHYSICAL_STORE)(const void *pvSystemStore, + DWORD dwFlags, LPCWSTR pwszStoreName, PCERT_PHYSICAL_STORE_INFO pStoreInfo, + void *pvReserved, void *pvArg); + +/* Encode/decode object */ +typedef LPVOID (__WINE_ALLOC_SIZE(1) WINAPI *PFN_CRYPT_ALLOC)(size_t cbsize); +typedef VOID (WINAPI *PFN_CRYPT_FREE)(LPVOID pv); + +typedef struct _CRYPT_ENCODE_PARA { + DWORD cbSize; + PFN_CRYPT_ALLOC pfnAlloc; + PFN_CRYPT_FREE pfnFree; +} CRYPT_ENCODE_PARA, *PCRYPT_ENCODE_PARA; + +typedef struct _CRYPT_DECODE_PARA { + DWORD cbSize; + PFN_CRYPT_ALLOC pfnAlloc; + PFN_CRYPT_FREE pfnFree; +} CRYPT_DECODE_PARA, *PCRYPT_DECODE_PARA; + +typedef struct _CERT_STORE_PROV_INFO { + DWORD cbSize; + DWORD cStoreProvFunc; + void **rgpvStoreProvFunc; + HCERTSTOREPROV hStoreProv; + DWORD dwStoreProvFlags; + HCRYPTOIDFUNCADDR hStoreProvFuncAddr2; +} CERT_STORE_PROV_INFO, *PCERT_STORE_PROV_INFO; + +typedef BOOL (WINAPI *PFN_CERT_DLL_OPEN_STORE_PROV_FUNC)( + LPCSTR lpszStoreProvider, DWORD dwEncodingType, HCRYPTPROV_LEGACY hCryptProv, + DWORD dwFlags, const void *pvPara, HCERTSTORE hCertStore, + PCERT_STORE_PROV_INFO pStoreProvInfo); + +typedef void (WINAPI *PFN_CERT_STORE_PROV_CLOSE)(HCERTSTOREPROV hStoreProv, + DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_READ_CERT)(HCERTSTOREPROV hStoreProv, + PCCERT_CONTEXT pStoreCertContext, DWORD dwFlags, + PCCERT_CONTEXT *ppProvCertContext); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_WRITE_CERT)(HCERTSTOREPROV hStoreProv, + PCCERT_CONTEXT pCertContext, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_DELETE_CERT)( + HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CERT_PROPERTY)( + HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, DWORD dwPropId, + DWORD dwFlags, const void *pvData); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_READ_CRL)(HCERTSTOREPROV hStoreProv, + PCCRL_CONTEXT pStoreCrlContext, DWORD dwFlags, + PCCRL_CONTEXT *ppProvCrlContext); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_WRITE_CRL)(HCERTSTOREPROV hStoreProv, + PCCRL_CONTEXT pCrlContext, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_DELETE_CRL)(HCERTSTOREPROV hStoreProv, + PCCRL_CONTEXT pCrlContext, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CRL_PROPERTY)( + HCERTSTOREPROV hStoreProv, PCCRL_CONTEXT pCrlContext, DWORD dwPropId, + DWORD dwFlags, const void *pvData); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_READ_CTL)(HCERTSTOREPROV hStoreProv, + PCCTL_CONTEXT pStoreCtlContext, DWORD dwFlags, + PCCTL_CONTEXT *ppProvCtlContext); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_WRITE_CTL)(HCERTSTOREPROV hStoreProv, + PCCTL_CONTEXT pCtlContext, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_DELETE_CTL)( + HCERTSTOREPROV hStoreProv, PCCTL_CONTEXT pCtlContext, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CTL_PROPERTY)( + HCERTSTOREPROV hStoreProv, PCCTL_CONTEXT pCtlContext, DWORD dwPropId, + DWORD dwFlags, const void *pvData); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_CONTROL)(HCERTSTOREPROV hStoreProv, + DWORD dwFlags, DWORD dwCtrlType, void const *pvCtrlPara); + +typedef struct _CERT_STORE_PROV_FIND_INFO { + DWORD cbSize; + DWORD dwMsgAndCertEncodingType; + DWORD dwFindFlags; + DWORD dwFindType; + const void *pvFindPara; +} CERT_STORE_PROV_FIND_INFO, *PCERT_STORE_PROV_FIND_INFO; +typedef const CERT_STORE_PROV_FIND_INFO CCERT_STORE_PROV_FIND_INFO, + *PCCERT_STORE_PROV_FIND_INFO; + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_FIND_CERT)(HCERTSTOREPROV hStoreProv, + PCCERT_STORE_PROV_FIND_INFO pFindInfo, PCCERT_CONTEXT pPrevCertContext, + DWORD dwFlags, void **ppvStoreProvFindInfo, PCCERT_CONTEXT *ppProvCertContext); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_FREE_FIND_CERT)( + HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, + void *pvStoreProvFindInfo, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CERT_PROPERTY)( + HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, DWORD dwPropId, + DWORD dwFlags, void *pvData, DWORD *pcbData); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_FIND_CRL)(HCERTSTOREPROV hStoreProv, + PCCERT_STORE_PROV_FIND_INFO pFindInfo, PCCRL_CONTEXT pPrevCrlContext, + DWORD dwFlags, void **ppvStoreProvFindInfo, PCCRL_CONTEXT *ppProvCrlContext); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_FREE_FIND_CRL)( + HCERTSTOREPROV hStoreProv, PCCRL_CONTEXT pCrlContext, + void *pvStoreProvFindInfo, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CRL_PROPERTY)( + HCERTSTOREPROV hStoreProv, PCCRL_CONTEXT pCrlContext, DWORD dwPropId, + DWORD dwFlags, void *pvData, DWORD *pcbData); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_FIND_CTL)(HCERTSTOREPROV hStoreProv, + PCCTL_CONTEXT pCtlContext, void *pvStoreProvFindInfo, DWORD dwFlags); + +typedef BOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CTL_PROPERTY)( + HCERTSTOREPROV hStoreProv, PCCTL_CONTEXT pCtlContext, DWORD dwPropId, + DWORD dwFlags, void *pvData); + +typedef struct _CERT_CREATE_CONTEXT_PARA { + DWORD cbSize; + PFN_CRYPT_FREE pfnFree; + void *pvFree; +} CERT_CREATE_CONTEXT_PARA, *PCERT_CREATE_CONTEXT_PARA; + +typedef struct _CRYPT_OID_FUNC_ENTRY { + LPCSTR pszOID; + void *pvFuncAddr; +} CRYPT_OID_FUNC_ENTRY, *PCRYPT_OID_FUNC_ENTRY; + +typedef BOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType, + LPCSTR pszFuncName, LPCSTR pszOID, DWORD cValue, const DWORD rgdwValueType[], + LPCWSTR const rgpwszValueName[], const BYTE * const rgpbValueData[], + const DWORD rgcbValueData[], void *pvArg); + +#define CRYPT_MATCH_ANY_ENCODING_TYPE 0xffffffff + +typedef struct _CRYPT_OID_INFO { + DWORD cbSize; + LPCSTR pszOID; + LPCWSTR pwszName; + DWORD dwGroupId; + union { + DWORD dwValue; + ALG_ID Algid; + DWORD dwLength; + } DUMMYUNIONNAME; + CRYPT_DATA_BLOB ExtraInfo; +} CRYPT_OID_INFO, *PCRYPT_OID_INFO; +typedef const CRYPT_OID_INFO CCRYPT_OID_INFO, *PCCRYPT_OID_INFO; + +typedef BOOL (WINAPI *PFN_CRYPT_ENUM_OID_INFO)(PCCRYPT_OID_INFO pInfo, + void *pvArg); + +typedef struct _CRYPT_SIGN_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgEncodingType; + PCCERT_CONTEXT pSigningCert; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + void * pvHashAuxInfo; + DWORD cMsgCert; + PCCERT_CONTEXT *rgpMsgCert; + DWORD cMsgCrl; + PCCRL_CONTEXT *rgpMsgCrl; + DWORD cAuthAttr; + PCRYPT_ATTRIBUTE rgAuthAttr; + DWORD cUnauthAttr; + PCRYPT_ATTRIBUTE rgUnauthAttr; + DWORD dwFlags; + DWORD dwInnerContentType; +#ifdef CRYPT_SIGN_MESSAGE_PARA_HAS_CMS_FIELDS + CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm; + void * pvHashEncryptionAuxInfo; +#endif +} CRYPT_SIGN_MESSAGE_PARA, *PCRYPT_SIGN_MESSAGE_PARA; + +#define CRYPT_MESSAGE_BARE_CONTENT_OUT_FLAG 0x00000001 +#define CRYPT_MESSAGE_ENCAPSULATED_CONTENT_OUT_FLAG 0x00000002 +#define CRYPT_MESSAGE_KEYID_SIGNER_FLAG 0x00000004 +#define CRYPT_MESSAGE_SILENT_KEYSET_FLAG 0x00000008 + +typedef PCCERT_CONTEXT (WINAPI *PFN_CRYPT_GET_SIGNER_CERTIFICATE)(void *pvArg, + DWORD dwCertEncodingType, PCERT_INFO pSignerId, HCERTSTORE hMsgCertStore); + +typedef struct _CRYPT_VERIFY_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgAndCertEncodingType; + HCRYPTPROV_LEGACY hCryptProv; + PFN_CRYPT_GET_SIGNER_CERTIFICATE pfnGetSignerCertificate; + void * pvGetArg; +} CRYPT_VERIFY_MESSAGE_PARA, *PCRYPT_VERIFY_MESSAGE_PARA; + +typedef struct _CRYPT_ENCRYPT_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgEncodingType; + HCRYPTPROV_LEGACY hCryptProv; + CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm; + void * pvEncryptionAuxInfo; + DWORD dwFlags; + DWORD dwInnerContentType; +} CRYPT_ENCRYPT_MESSAGE_PARA, *PCRYPT_ENCRYPT_MESSAGE_PARA; + +#define CRYPT_MESSAGE_KEYID_RECIPIENT_FLAG 0x00000004 + +typedef struct _CRYPT_DECRYPT_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgAndCertEncodingType; + DWORD cCertStore; + HCERTSTORE *rghCertStore; +#ifdef CRYPT_DECRYPT_MESSAGE_PARA_HAS_EXTRA_FIELDS + DWORD dwFlags; +#endif +} CRYPT_DECRYPT_MESSAGE_PARA, *PCRYPT_DECRYPT_MESSAGE_PARA; + +typedef struct _CRYPT_HASH_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgEncodingType; + HCRYPTPROV_LEGACY hCryptProv; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + void * pvHashAuxInfo; +} CRYPT_HASH_MESSAGE_PARA, *PCRYPT_HASH_MESSAGE_PARA; + +typedef struct _CRYPT_KEY_SIGN_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgAndCertEncodingType; + HCRYPTPROV hCryptProv; + DWORD dwKeySpec; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + void * pvHashAuxInfo; +} CRYPT_KEY_SIGN_MESSAGE_PARA, *PCRYPT_KEY_SIGN_MESSAGE_PARA; + +typedef struct _CRYPT_KEY_VERIFY_MESSAGE_PARA { + DWORD cbSize; + DWORD dwMsgEncodingType; + HCRYPTPROV_LEGACY hCryptProv; +} CRYPT_KEY_VERIFY_MESSAGE_PARA, *PCRYPT_KEY_VERIFY_MESSAGE_PARA; + +typedef struct _CRYPT_URL_ARRAY { + DWORD cUrl; + LPWSTR *rgwszUrl; +} CRYPT_URL_ARRAY, *PCRYPT_URL_ARRAY; + +typedef struct _CRYPT_URL_INFO { + DWORD cbSize; + DWORD dwSyncDeltaTime; + DWORD cGroup; + DWORD *rgcGroupEntry; +} CRYPT_URL_INFO, *PCRYPT_URL_INFO; + +#define URL_OID_CERTIFICATE_ISSUER ((LPCSTR)1) +#define URL_OID_CERTIFICATE_CRL_DIST_POINT ((LPCSTR)2) +#define URL_OID_CTL_ISSUER ((LPCSTR)3) +#define URL_OID_CTL_NEXT_UPDATE ((LPCSTR)4) +#define URL_OID_CRL_ISSUER ((LPCSTR)5) +#define URL_OID_CERTIFICATE_FRESHEST_CRL ((LPCSTR)6) +#define URL_OID_CRL_FRESHEST_CRL ((LPCSTR)7) +#define URL_OID_CROSS_CERT_DIST_POINT ((LPCSTR)8) +#define URL_OID_CERTIFICATE_OCSP ((LPCSTR)9) +#define URL_OID_CERTIFICATE_OCSP_AND_CRL_DIST_POINT ((LPCSTR)10) +#define URL_OID_CERTIFICATE_CRL_DIST_POINT_AND_OCSP ((LPCSTR)11) +#define URL_OID_CROSS_CERT_SUBJECT_INFO_ACCESS ((LPCSTR)12) + +#define URL_OID_GET_OBJECT_URL_FUNC "UrlDllGetObjectUrl" + +typedef HANDLE HCRYPTASYNC, *PHCRYPTASYNC; + +typedef void (WINAPI *PFN_CRYPT_ASYNC_PARAM_FREE_FUNC)(LPSTR pszParamOid, + LPVOID pvParam); + +#define CRYPT_PARAM_ASYNC_RETRIEVAL_COMPLETION ((LPCSTR)1) +#define CRYPT_PARAM_CANCEL_ASYNC_RETRIEVAL ((LPCSTR)2) + +typedef void (WINAPI *PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC)( + void *pvCompletion, DWORD dwCompletionCode, LPCSTR pszURL, LPSTR pszObjectOid, + void *pvObject); + +typedef struct _CRYPT_ASYNC_RETRIEVAL_COMPLETION +{ + PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC pfnCompletion; + void *pvCompletion; +} CRYPT_ASYNC_RETRIEVAL_COMPLETION, *PCRYPT_ASYNC_RETRIEVAL_COMPLETION; + +typedef BOOL (WINAPI *PFN_CANCEL_ASYNC_RETRIEVAL_FUNC)( + HCRYPTASYNC hAsyncRetrieve); + +typedef struct _CRYPT_BLOB_ARRAY +{ + DWORD cBlob; + PCRYPT_DATA_BLOB rgBlob; +} CRYPT_BLOB_ARRAY, *PCRYPT_BLOB_ARRAY; + +typedef struct _CRYPT_CREDENTIALS { + DWORD cbSize; + LPCSTR pszCredentialsOid; + LPVOID pvCredentials; +} CRYPT_CREDENTIALS, *PCRYPT_CREDENTIALS; + +#define CREDENTIAL_OID_PASSWORD_CREDENTIALS_A ((LPCSTR)1) +#define CREDENTIAL_OID_PASSWORD_CREDENTIALS_W ((LPCSTR)2) +#define CREDENTIAL_OID_PASSWORD_CREDENTIALS \ + WINELIB_NAME_AW(CREDENTIAL_OID_PASSWORD_CREDENTIALS_) + +typedef struct _CRYPT_PASSWORD_CREDENTIALSA { + DWORD cbSize; + LPSTR pszUsername; + LPSTR pszPassword; +} CRYPT_PASSWORD_CREDENTIALSA, *PCRYPT_PASSWORD_CREDENTIALSA; + +typedef struct _CRYPT_PASSWORD_CREDENTIALSW { + DWORD cbSize; + LPWSTR pszUsername; + LPWSTR pszPassword; +} CRYPT_PASSWORD_CREDENTIALSW, *PCRYPT_PASSWORD_CREDENTIALSW; +#define CRYPT_PASSWORD_CREDENTIALS WINELIB_NAME_AW(CRYPT_PASSWORD_CREDENTIALS) +#define PCRYPT_PASSWORD_CREDENTIALS WINELIB_NAME_AW(PCRYPT_PASSWORD_CREDENTIALS) + +typedef struct _CRYPT_RETRIEVE_AUX_INFO { + DWORD cbSize; + FILETIME *pLastSyncTime; + DWORD dwMaxUrlRetrievalByteCount; +} CRYPT_RETRIEVE_AUX_INFO, *PCRYPT_RETRIEVE_AUX_INFO; + +typedef void (WINAPI *PFN_FREE_ENCODED_OBJECT_FUNC)(LPCSTR pszObjectOid, + PCRYPT_BLOB_ARRAY pObject, void *pvFreeContext); + +#define SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC \ + "SchemeDllRetrieveEncodedObject" +#define SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC \ + "SchemeDllRetrieveEncodedObjectW" +/* The signature of SchemeDllRetrieveEncodedObjectW is: +BOOL WINAPI SchemeDllRetrieveEncodedObjectW(LPCWSTR pwszUrl, + LPCSTR pszObjectOid, DWORD dwRetrievalFlags, DWORD dwTimeout, + PCRYPT_BLOB_ARRAY pObject, PFN_FREE_ENCODED_OBJECT_FUNC *ppfnFreeObject, + void **ppvFreeContext, HCRYPTASYNC hAsyncRetrieve, + PCRYPT_CREDENTIALS pCredentials, PCRYPT_RETRIEVE_AUX_INFO pAuxInfo); + */ + +#define CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC "ContextDllCreateObjectContext" +/* The signature of ContextDllCreateObjectContext is: +BOOL WINAPI ContextDllCreateObjectContext(LPCSTR pszObjectOid, + DWORD dwRetrievalFlags, PCRYPT_BLOB_ARRAY pObject, void **ppvContxt); + */ + +#define CONTEXT_OID_CERTIFICATE ((LPCSTR)1) +#define CONTEXT_OID_CRL ((LPCSTR)2) +#define CONTEXT_OID_CTL ((LPCSTR)3) +#define CONTEXT_OID_PKCS7 ((LPCSTR)4) +#define CONTEXT_OID_CAPI2_ANY ((LPCSTR)5) + +#define CRYPT_RETRIEVE_MULTIPLE_OBJECTS 0x00000001 +#define CRYPT_CACHE_ONLY_RETRIEVAL 0x00000002 +#define CRYPT_WIRE_ONLY_RETRIEVAL 0x00000004 +#define CRYPT_DONT_CACHE_RESULT 0x00000008 +#define CRYPT_ASYNC_RETRIEVAL 0x00000010 +#define CRYPT_STICKY_CACHE_RETRIEVAL 0x00001000 +#define CRYPT_LDAP_SCOPE_BASE_ONLY_RETRIEVAL 0x00002000 +#define CRYPT_OFFLINE_CHECK_RETRIEVAL 0x00004000 +#define CRYPT_LDAP_INSERT_ENTRY_ATTRIBUTE 0x00008000 +#define CRYPT_LDAP_SIGN_RETRIEVAL 0x00010000 +#define CRYPT_NO_AUTH_RETRIEVAL 0x00020000 +#define CRYPT_LDAP_AREC_EXCLUSIVE_RETRIEVAL 0x00040000 +#define CRYPT_AIA_RETRIEVAL 0x00080000 + +#define CRYPT_VERIFY_CONTEXT_SIGNATURE 0x00000020 +#define CRYPT_VERIFY_DATA_HASH 0x00000040 +#define CRYPT_KEEP_TIME_VALID 0x00000080 +#define CRYPT_DONT_VERIFY_SIGNATURE 0x00000100 +#define CRYPT_DONT_CHECK_TIME_VALIDITY 0x00000200 +#define CRYPT_CHECK_FRESHNESS_TIME_VALIDITY 0x00000400 +#define CRYPT_ACCUMULATIVE_TIMEOUT 0x00000800 + +typedef BOOL (WINAPI *PFN_CRYPT_CANCEL_RETRIEVAL)(DWORD dwFlags, void *pvArg); + +typedef struct _CERT_CRL_CONTEXT_PAIR +{ + PCCERT_CONTEXT pCertContext; + PCCRL_CONTEXT pCrlContext; +} CERT_CRL_CONTEXT_PAIR, *PCERT_CRL_CONTEXT_PAIR; +typedef const CERT_CRL_CONTEXT_PAIR *PCCERT_CRL_CONTEXT_PAIR; + +#define TIME_VALID_OID_GET_OBJECT_FUNC "TimeValidDllGetObject" + +#define TIME_VALID_OID_GET_CTL ((LPCSTR)1) +#define TIME_VALID_OID_GET_CRL ((LPCSTR)2) +#define TIME_VALID_OID_GET_CRL_FROM_CERT ((LPCSTR)3) +#define TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT ((LPCSTR)4) +#define TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL ((LPCSTR)5) + +#define TIME_VALID_OID_FLUSH_OBJECT_FUNC "TimeValidDllFlushObject" + +#define TIME_VALID_OID_FLUSH_CTL ((LPCSTR)1) +#define TIME_VALID_OID_FLUSH_CRL ((LPCSTR)2) +#define TIME_VALID_OID_FLUSH_CRL_FROM_CERT ((LPCSTR)3) +#define TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT ((LPCSTR)4) +#define TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL ((LPCSTR)5) + +/* OID group IDs */ +#define CRYPT_HASH_ALG_OID_GROUP_ID 1 +#define CRYPT_ENCRYPT_ALG_OID_GROUP_ID 2 +#define CRYPT_PUBKEY_ALG_OID_GROUP_ID 3 +#define CRYPT_SIGN_ALG_OID_GROUP_ID 4 +#define CRYPT_RDN_ATTR_OID_GROUP_ID 5 +#define CRYPT_EXT_OR_ATTR_OID_GROUP_ID 6 +#define CRYPT_ENHKEY_USAGE_OID_GROUP_ID 7 +#define CRYPT_POLICY_OID_GROUP_ID 8 +#define CRYPT_TEMPLATE_OID_GROUP_ID 9 +#define CRYPT_LAST_OID_GROUP_ID 9 + +#define CRYPT_FIRST_ALG_OID_GROUP_ID CRYPT_HASH_ALG_OID_GROUP_ID +#define CRYPT_LAST_ALG_OID_GROUP_ID CRYPT_SIGN_ALG_OID_GROUP_ID + +#define CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG 0x1 +#define CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG 0x2 +#define CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG 0x4 + +#define CRYPT_OID_INFO_OID_KEY 1 +#define CRYPT_OID_INFO_NAME_KEY 2 +#define CRYPT_OID_INFO_ALGID_KEY 3 +#define CRYPT_OID_INFO_SIGN_KEY 4 + +/* Algorithm IDs */ + +#define GET_ALG_CLASS(x) (x & (7 << 13)) +#define GET_ALG_TYPE(x) (x & (15 << 9)) +#define GET_ALG_SID(x) (x & (511)) + +/* Algorithm Classes */ +#define ALG_CLASS_ANY (0) +#define ALG_CLASS_SIGNATURE (1 << 13) +#define ALG_CLASS_MSG_ENCRYPT (2 << 13) +#define ALG_CLASS_DATA_ENCRYPT (3 << 13) +#define ALG_CLASS_HASH (4 << 13) +#define ALG_CLASS_KEY_EXCHANGE (5 << 13) +#define ALG_CLASS_ALL (7 << 13) +/* Algorithm types */ +#define ALG_TYPE_ANY (0) +#define ALG_TYPE_DSS (1 << 9) +#define ALG_TYPE_RSA (2 << 9) +#define ALG_TYPE_BLOCK (3 << 9) +#define ALG_TYPE_STREAM (4 << 9) +#define ALG_TYPE_DH (5 << 9) +#define ALG_TYPE_SECURECHANNEL (6 << 9) +#define ALG_TYPE_ECDH (7 << 9) + +/* SIDs */ +#define ALG_SID_ANY (0) +/* RSA SIDs */ +#define ALG_SID_RSA_ANY 0 +#define ALG_SID_RSA_PKCS 1 +#define ALG_SID_RSA_MSATWORK 2 +#define ALG_SID_RSA_ENTRUST 3 +#define ALG_SID_RSA_PGP 4 +/* DSS SIDs */ +#define ALG_SID_DSS_ANY 0 +#define ALG_SID_DSS_PKCS 1 +#define ALG_SID_DSS_DMS 2 +#define ALG_SID_ECDSA 3 + +/* DES SIDs */ +#define ALG_SID_DES 1 +#define ALG_SID_3DES 3 +#define ALG_SID_DESX 4 +#define ALG_SID_IDEA 5 +#define ALG_SID_CAST 6 +#define ALG_SID_SAFERSK64 7 +#define ALG_SID_SAFERSK128 8 +#define ALG_SID_3DES_112 9 +#define ALG_SID_CYLINK_MEK 12 +#define ALG_SID_RC5 13 +#define ALG_SID_AES_128 14 +#define ALG_SID_AES_192 15 +#define ALG_SID_AES_256 16 +#define ALG_SID_AES 17 +/* Fortezza */ +#define ALG_SID_SKIPJACK 10 +#define ALG_SID_TEK 11 +/* Diffie-Hellmans SIDs */ +#define ALG_SID_DH_SANDF 1 +#define ALG_SID_DH_EPHEM 2 +#define ALG_SID_AGREED_KEY_ANY 3 +#define ALG_SID_KEA 4 +#define ALG_SID_ECDH 5 +#define ALG_SID_ECDH_EPHEM 6 +/* RC2 SIDs */ +#define ALG_SID_RC4 1 +#define ALG_SID_RC2 2 +#define ALG_SID_SEAL 2 +/* Hash SIDs */ +#define ALG_SID_MD2 1 +#define ALG_SID_MD4 2 +#define ALG_SID_MD5 3 +#define ALG_SID_SHA 4 +#define ALG_SID_SHA1 ALG_SID_SHA +#define ALG_SID_MAC 5 +#define ALG_SID_RIPEMD 6 +#define ALG_SID_RIPEMD160 7 +#define ALG_SID_SSL3SHAMD5 8 +#define ALG_SID_HMAC 9 +#define ALG_SID_TLS1PRF 10 +#define ALG_SID_HASH_REPLACE_OWF 11 +#define ALG_SID_SHA_256 12 +#define ALG_SID_SHA_384 13 +#define ALG_SID_SHA_512 14 +/* SCHANNEL SIDs */ +#define ALG_SID_SSL3_MASTER 1 +#define ALG_SID_SCHANNEL_MASTER_HASH 2 +#define ALG_SID_SCHANNEL_MAC_KEY 3 +#define ALG_SID_PCT1_MASTER 4 +#define ALG_SID_SSL2_MASTER 5 +#define ALG_SID_TLS1_MASTER 6 +#define ALG_SID_SCHANNEL_ENC_KEY 7 +#define ALG_SID_EXAMPLE 80 + +#define ALG_SID_ECMQV 1 + +/* Algorithm Definitions */ +#define CALG_MD2 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD2) +#define CALG_MD4 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD4) +#define CALG_MD5 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD5) +#define CALG_SHA (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA) +#define CALG_SHA1 CALG_SHA +#define CALG_MAC (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MAC) +#define CALG_SSL3_SHAMD5 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SSL3SHAMD5) +#define CALG_HMAC (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HMAC) +#define CALG_TLS1PRF (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF) +#define CALG_HASH_REPLACE_OWF (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HASH_REPLACE_OWF) +#define CALG_SHA_256 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_256) +#define CALG_SHA_384 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_384) +#define CALG_SHA_512 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_512) +#define CALG_RSA_SIGN (ALG_CLASS_SIGNATURE | ALG_TYPE_RSA | ALG_SID_RSA_ANY) +#define CALG_DSS_SIGN (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_DSS_ANY) +#define CALG_NO_SIGN (ALG_CLASS_SIGNATURE | ALG_TYPE_ANY | ALG_SID_ANY) +#define CALG_ECDSA (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_ECDSA) +#define CALG_DH_SF (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_SANDF) +#define CALG_DH_EPHEM (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_EPHEM) +#define CALG_AGREEDKEY_ANY (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_AGREED_KEY_ANY) +#define CALG_KEA_KEYX (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_KEA) +#define CALG_HUGHES_MD5 (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_MD5) +#define CALG_ECDH (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_ECDH) +#define CALG_ECDH_EPHEM (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ECDH | ALG_SID_ECDH_EPHEM) +#define CALG_RSA_KEYX (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_RSA | ALG_SID_RSA_ANY) +#define CALG_ECMQV (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_ECMQV) +#define CALG_DES (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DES) +#define CALG_RC2 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC2) +#define CALG_3DES (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES) +#define CALG_3DES_112 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES_112) +#define CALG_DESX (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DESX) +#define CALG_AES_128 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_128) +#define CALG_AES_192 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_192) +#define CALG_AES_256 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_256) +#define CALG_AES (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES) +#define CALG_RC4 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC4) +#define CALG_SEAL (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_SEAL) +#define CALG_RC5 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC5) +#define CALG_SKIPJACK (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_SKIPJACK) +#define CALG_TEK (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_TEK) +#define CALG_CYLINK_MEK (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_CYLINK_MEK) +#define CALG_SSL3_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SSL3_MASTER) +#define CALG_SCHANNEL_MASTER_HASH (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MASTER_HASH) +#define CALG_SCHANNEL_MAC_KEY (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MAC_KEY) +#define CALG_SCHANNEL_ENC_KEY (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_ENC_KEY) +#define CALG_PCT1_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_PCT1_MASTER) +#define CALG_SSL2_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SSL2_MASTER) +#define CALG_TLS1_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_TLS1_MASTER) + + +/* Protocol Flags */ +#define CRYPT_FLAG_PCT1 0x0001 +#define CRYPT_FLAG_SSL2 0x0002 +#define CRYPT_FLAG_SSL3 0x0004 +#define CRYPT_FLAG_TLS1 0x0008 +#define CRYPT_FLAG_IPSEC 0x0010 +#define CRYPT_FLAG_SIGNING 0x0020 + +/* Provider names */ +#define MS_DEF_PROV_A "Microsoft Base Cryptographic Provider v1.0" +#if defined(__GNUC__) +# define MS_DEF_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'B','a','s','e',' ','C','r','y','p','t','o','g','r','a','p','h','i','c',' ', \ + 'P','r','o','v','i','d','e','r',' ','v','1','.','0',0 } +#elif defined(_MSC_VER) +# define MS_DEF_PROV_W L"Microsoft Base Cryptographic Provider v1.0" +#else +static const WCHAR MS_DEF_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'B','a','s','e',' ','C','r','y','p','t','o','g','r','a','p','h','i','c',' ', + 'P','r','o','v','i','d','e','r',' ','v','1','.','0',0 }; +#endif +#define MS_DEF_PROV WINELIB_NAME_AW(MS_DEF_PROV_) + +#define MS_ENHANCED_PROV_A "Microsoft Enhanced Cryptographic Provider v1.0" +#if defined(__GNUC__) +# define MS_ENHANCED_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'E','n','h','a','n','c','e','d',' ','C','r','y','p','t','o','g','r','a','p','h','i','c',' ', \ + 'P','r','o','v','i','d','e','r',' ','v','1','.','0',0 } +#elif defined(_MSC_VER) +# define MS_ENHANCED_PROV_W L"Microsoft Enhanced Cryptographic Provider v1.0" +#else +static const WCHAR MS_ENHANCED_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'E','n','h','a','n','c','e','d',' ','C','r','y','p','t','o','g','r','a','p','h','i','c',' ', + 'P','r','o','v','i','d','e','r',' ','v','1','.','0',0 }; +#endif +#define MS_ENHANCED_PROV WINELIB_NAME_AW(MS_ENHANCED_PROV_) + +#define MS_STRONG_PROV_A "Microsoft Strong Cryptographic Provider" +#if defined(__GNUC__) +# define MS_STRONG_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'S','t','r','o','n','g',' ','C','r','y','p','t','o','g','r','a','p','h','i','c',' ', \ + 'P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_STRONG_PROV_W L"Microsoft Strong Cryptographic Provider" +#else +static const WCHAR MS_STRONG_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'S','t','r','o','n','g',' ','C','r','y','p','t','o','g','r','a','p','h','i','c',' ', + 'P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_STRONG_PROV WINELIB_NAME_AW(MS_STRONG_PROV_) + +#define MS_DEF_RSA_SIG_PROV_A "Microsoft RSA Signature Cryptographic Provider" +#if defined(__GNUC__) +# define MS_DEF_RSA_SIG_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'R','S','A',' ','S','i','g','n','a','t','u','r','e',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_DEF_RSA_SIG_PROV_W L"Microsoft RSA Signature Cryptographic Provider" +#else +static const WCHAR MS_DEF_RSA_SIG_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'R','S','A',' ','S','i','g','n','a','t','u','r','e',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_DEF_RSA_SIG_PROV WINELIB_NAME_AW(MS_DEF_RSA_SIG_PROV_) + +#define MS_DEF_RSA_SCHANNEL_PROV_A "Microsoft RSA SChannel Cryptographic Provider" +#if defined(__GNUC__) +# define MS_DEF_RSA_SCHANNEL_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'R','S','A',' ','S','C','h','a','n','n','e','l',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_DEF_RSA_SCHANNEL_PROV_W L"Microsoft RSA SChannel Cryptographic Provider" +#else +static const WCHAR MS_DEF_RSA_SCHANNEL_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'R','S','A',' ','S','C','h','a','n','n','e','l',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_DEF_RSA_SCHANNEL_PROV WINELIB_NAME_AW(MS_DEF_RSA_SCHANNEL_PROV_) + +#define MS_DEF_DSS_PROV_A "Microsoft Base DSS Cryptographic Provider" +#if defined(__GNUC__) +# define MS_DEF_DSS_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'B','a','s','e',' ','D','S','S',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_DEF_DSS_PROV_W L"Microsoft Base DSS Cryptographic Provider" +#else +static const WCHAR MS_DEF_DSS_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'B','a','s','e',' ','D','S','S',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_DEF_DSS_PROV WINELIB_NAME_AW(MS_DEF_DSS_PROV_) + +#define MS_DEF_DSS_DH_PROV_A "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider" +#if defined(__GNUC__) +# define MS_DEF_DSS_DH_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'B','a','s','e',' ','D','S','S',' ','a','n','d',' ', \ + 'D','i','f','f','i','e','-','H','e','l','l','m','a','n',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_DEF_DSS_DH_PROV_W L"Microsoft Base DSS and Diffie-Hellman Cryptographic Provider" +#else +static const WCHAR MS_DEF_DSS_DH_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'B','a','s','e',' ','D','S','S',' ','a','n','d',' ', + 'D','i','f','f','i','e','-','H','e','l','l','m','a','n',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_DEF_DSS_DH_PROV WINELIB_NAME_AW(MS_DEF_DSS_DH_PROV_) + +#define MS_ENH_DSS_DH_PROV_A "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider" +#if defined(__GNUC__) +# define MS_ENH_DSS_DH_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'E','n','h','a','n','c','e','d',' ','D','S','S',' ','a','n','d',' ', \ + 'D','i','f','f','i','e','-','H','e','l','l','m','a','n',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_ENH_DSS_DH_PROV_W L"Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider" +#else +static const WCHAR MS_ENH_DSS_DH_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'E','n','h','a','n','c','e','d',' ','D','S','S',' ','a','n','d',' ', + 'D','i','f','f','i','e','-','H','e','l','l','m','a','n',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_ENH_DSS_DH_PROV WINELIB_NAME_AW(MS_ENH_DSS_DH_PROV_) + +#define MS_DEF_DH_SCHANNEL_PROV_A "Microsoft DH SChannel Cryptographic Provider" +#if defined(__GNUC__) +# define MS_DEF_DH_SCHANNEL_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'D','H',' ','S','C','h','a','n','n','e','l',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_DEF_DH_SCHANNEL_PROV_W L"Microsoft DH SChannel Cryptographic Provider" +#else +static const WCHAR MS_DEF_DH_SCHANNEL_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'D','H',' ','S','C','h','a','n','n','e','l',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_DEF_DH_SCHANNEL_PROV WINELIB_NAME_AW(MS_DEF_DH_SCHANNEL_PROV_) + +#define MS_SCARD_PROV_A "Microsoft Base Smart Card Cryptographic Provider" +#if defined(__GNUC__) +# define MS_SCARD_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'B','a','s','e',' ','S','m','a','r','t',' ','C','a','r','d',' ', \ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_SCARD_PROV_W L"Microsoft Base Smart Card Cryptographic Provider" +#else +static const WCHAR MS_SCARD_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'B','a','s','e',' ','S','m','a','r','t',' ','C','a','r','d',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_SCARD_PROV WINELIB_NAME_AW(MS_SCARD_PROV_) + +#define MS_ENH_RSA_AES_PROV_A "Microsoft Enhanced RSA and AES Cryptographic Provider" +#if defined(__GNUC__) +# define MS_ENH_RSA_AES_PROV_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'E','n','h','a','n','c','e','d',' ','R','S','A',' ','a','n','d',' ','A','E','S',' ',\ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 } +#elif defined(_MSC_VER) +# define MS_ENH_RSA_AES_PROV_W L"Microsoft Enhanced RSA and AES Cryptographic Provider" +#else +static const WCHAR MS_ENH_RSA_AES_PROV_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'E','n','h','a','n','c','e','d',' ','R','S','A',' ','a','n','d',' ','A','E','S',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',0 }; +#endif +#define MS_ENH_RSA_AES_PROV WINELIB_NAME_AW(MS_ENH_RSA_AES_PROV_) + +#define MS_ENH_RSA_AES_PROV_XP_A "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" +#if defined(__GNUC__) +# define MS_ENH_RSA_AES_PROV_XP_W (const WCHAR []){ 'M','i','c','r','o','s','o','f','t',' ', \ + 'E','n','h','a','n','c','e','d',' ','R','S','A',' ','a','n','d',' ','A','E','S',' ',\ + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',' ',\ + '(','P','r','o','t','o','t','y','p','e',')',0 } +#elif defined(_MSC_VER) +# define MS_ENH_RSA_AES_PROV_XP_W L"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" +#else +static const WCHAR MS_ENH_RSA_AES_PROV_XP_W[] = { 'M','i','c','r','o','s','o','f','t',' ', + 'E','n','h','a','n','c','e','d',' ','R','S','A',' ','a','n','d',' ','A','E','S',' ', + 'C','r','y','p','t','o','g','r','a','p','h','i','c',' ','P','r','o','v','i','d','e','r',' ', + '(','P','r','o','t','o','t','y','p','e',')',0 }; +#endif +#define MS_ENH_RSA_AES_PROV_XP WINELIB_NAME_AW(MS_ENH_RSA_AES_PROV_XP_) + +/* Key Specs*/ +#define AT_KEYEXCHANGE 1 +#define AT_SIGNATURE 2 + +/* Provider Types */ +#define PROV_RSA_FULL 1 +#define PROV_RSA_SIG 2 +#define PROV_DSS 3 +#define PROV_FORTEZZA 4 +#define PROV_MS_EXCHANGE 5 +#define PROV_SSL 6 +#define PROV_RSA_SCHANNEL 12 +#define PROV_DSS_DH 13 +#define PROV_EC_ECDSA_SIG 14 +#define PROV_EC_ECNRA_SIG 15 +#define PROV_EC_ECDSA_FULL 16 +#define PROV_EC_ECNRA_FULL 17 +#define PROV_DH_SCHANNEL 18 +#define PROV_SPYRUS_LYNKS 20 +#define PROV_RNG 21 +#define PROV_INTEL_SEC 22 +#define PROV_REPLACE_OWF 23 +#define PROV_RSA_AES 24 + +/* FLAGS Section */ + +#define CRYPT_FIRST 1 +#define CRYPT_NEXT 2 + +#define CRYPT_IMPL_HARDWARE 1 +#define CRYPT_IMPL_SOFTWARE 2 +#define CRYPT_IMPL_MIXED 3 +#define CRYPT_IMPL_UNKNOWN 4 + +/* CryptAcquireContext */ +#define CRYPT_VERIFYCONTEXT 0xF0000000 +#define CRYPT_NEWKEYSET 0x00000008 +#define CRYPT_DELETEKEYSET 0x00000010 +#define CRYPT_MACHINE_KEYSET 0x00000020 +#define CRYPT_SILENT 0x00000040 + +/* Crypt{Get|Set}Provider */ +#define CRYPT_MACHINE_DEFAULT 0x00000001 +#define CRYPT_USER_DEFAULT 0x00000002 +#define CRYPT_DELETE_DEFAULT 0x00000004 + +/* Crypt{Get/Set}ProvParam */ +#define PP_CLIENT_HWND 1 +#define PP_ENUMALGS 1 +#define PP_ENUMCONTAINERS 2 +#define PP_IMPTYPE 3 +#define PP_NAME 4 +#define PP_VERSION 5 +#define PP_CONTAINER 6 +#define PP_CHANGE_PASSWORD 7 +#define PP_KEYSET_SEC_DESCR 8 +#define PP_KEY_TYPE_SUBTYPE 10 +#define PP_CONTEXT_INFO 11 +#define PP_KEYEXCHANGE_KEYSIZE 12 +#define PP_SIGNATURE_KEYSIZE 13 +#define PP_KEYEXCHANGE_ALG 14 +#define PP_SIGNATURE_ALG 15 +#define PP_PROVTYPE 16 +#define PP_KEYSTORAGE 17 +#define PP_SYM_KEYSIZE 19 +#define PP_SESSION_KEYSIZE 20 +#define PP_UI_PROMPT 21 +#define PP_ENUMALGS_EX 22 +#define PP_DELETEKEY 24 +#define PP_ENUMMANDROOTS 25 +#define PP_ENUMELECTROOTS 26 +#define PP_KEYSET_TYPE 27 +#define PP_ADMIN_PIN 31 +#define PP_KEYEXCHANGE_PIN 32 +#define PP_SIGNATURE_PIN 33 +#define PP_SIG_KEYSIZE_INC 34 +#define PP_KEYX_KEYSIZE_INC 35 +#define PP_UNIQUE_CONTAINER 36 +#define PP_SGC_INFO 37 +#define PP_USE_HARDWARE_RNG 38 +#define PP_KEYSPEC 39 +#define PP_ENUMEX_SIGNING_PROT 40 +#define PP_CRYPT_COUNT_KEY_USE 41 +#define PP_USER_CERTSTORE 42 +#define PP_SMARTCARD_READER 43 +#define PP_SMARTCARD_GUID 45 +#define PP_ROOT_CERTSTORE 46 + +/* Values returned by CryptGetProvParam of PP_KEYSTORAGE */ +#define CRYPT_SEC_DESCR 0x00000001 +#define CRYPT_PSTORE 0x00000002 +#define CRYPT_UI_PROMPT 0x00000004 + +/* Crypt{Get/Set}KeyParam */ +#define KP_IV 1 +#define KP_SALT 2 +#define KP_PADDING 3 +#define KP_MODE 4 +#define KP_MODE_BITS 5 +#define KP_PERMISSIONS 6 +#define KP_ALGID 7 +#define KP_BLOCKLEN 8 +#define KP_KEYLEN 9 +#define KP_SALT_EX 10 +#define KP_P 11 +#define KP_G 12 +#define KP_Q 13 +#define KP_X 14 +#define KP_Y 15 +#define KP_RA 16 +#define KP_RB 17 +#define KP_INFO 18 +#define KP_EFFECTIVE_KEYLEN 19 +#define KP_SCHANNEL_ALG 20 +#define KP_CLIENT_RANDOM 21 +#define KP_SERVER_RANDOM 22 +#define KP_RP 23 +#define KP_PRECOMP_MD5 24 +#define KP_PRECOMP_SHA 25 +#define KP_CERTIFICATE 26 +#define KP_CLEAR_KEY 27 +#define KP_PUB_EX_LEN 28 +#define KP_PUB_EX_VAL 29 +#define KP_KEYVAL 30 +#define KP_ADMIN_PIN 31 +#define KP_KEYEXCHANGE_PIN 32 +#define KP_SIGNATURE_PIN 33 +#define KP_PREHASH 34 +#define KP_ROUNDS 35 +#define KP_OAEP_PARAMS 36 +#define KP_CMS_KEY_INFO 37 +#define KP_CMS_DH_KEY_INFO 38 +#define KP_PUB_PARAMS 39 +#define KP_VERIFY_PARAMS 40 +#define KP_HIGHEST_VERSION 41 +#define KP_GET_USE_COUNT 42 + +/* Values for KP_PADDING */ +#define PKCS5_PADDING 1 +#define RANDOM_PADDING 2 +#define ZERO_PADDING 3 + +/* CryptSignHash/CryptVerifySignature */ +#define CRYPT_NOHASHOID 0x00000001 +#define CRYPT_TYPE2_FORMAT 0x00000002 +#define CRYPT_X931_FORMAT 0x00000004 + +/* Crypt{Get,Set}HashParam */ +#define HP_ALGID 0x0001 +#define HP_HASHVAL 0x0002 +#define HP_HASHSIZE 0x0004 +#define HP_HMAC_INFO 0x0005 +#define HP_TLS1PRF_LABEL 0x0006 +#define HP_TLS1PRF_SEED 0x0007 + +/* Crypt{Get,Set}KeyParam */ +#define CRYPT_MODE_CBC 1 +#define CRYPT_MODE_ECB 2 +#define CRYPT_MODE_OFB 3 +#define CRYPT_MODE_CFB 4 + +#define CRYPT_ENCRYPT 0x0001 +#define CRYPT_DECRYPT 0x0002 +#define CRYPT_EXPORT 0x0004 +#define CRYPT_READ 0x0008 +#define CRYPT_WRITE 0x0010 +#define CRYPT_MAC 0x0020 +#define CRYPT_EXPORT_KEY 0x0040 +#define CRYPT_IMPORT_KEY 0x0080 +#define CRYPT_ARCHIVE 0x0100 + +/* Crypt*Key */ +#define CRYPT_EXPORTABLE 0x00000001 +#define CRYPT_USER_PROTECTED 0x00000002 +#define CRYPT_CREATE_SALT 0x00000004 +#define CRYPT_UPDATE_KEY 0x00000008 +#define CRYPT_NO_SALT 0x00000010 +#define CRYPT_PREGEN 0x00000040 +#define CRYPT_SERVER 0x00000400 +#define CRYPT_ARCHIVABLE 0x00004000 + +/* CryptExportKey */ +#define CRYPT_SSL2_FALLBACK 0x00000002 +#define CRYPT_DESTROYKEY 0x00000004 +#define CRYPT_OAEP 0x00000040 + +/* CryptHashSessionKey */ +#define CRYPT_LITTLE_ENDIAN 0x00000001 + +/* Crypt{Protect,Unprotect}Data PROMPTSTRUCT flags */ +#define CRYPTPROTECT_PROMPT_ON_PROTECT 0x0001 +#define CRYPTPROTECT_PROMPT_ON_UNPROTECT 0x0002 +/* Crypt{Protect,Unprotect}Data flags */ +#define CRYPTPROTECT_UI_FORBIDDEN 0x0001 +#define CRYPTPROTECT_LOCAL_MACHINE 0x0004 +#define CRYPTPROTECT_AUDIT 0x0010 +#define CRYPTPROTECT_VERIFY_PROTECTION 0x0040 + +/* Crypt{Protect,Unprotect}Memory */ +#define CRYPTPROTECTMEMORY_BLOCK_SIZE 16 +#define CRYPTPROTECTMEMORY_SAME_PROCESS 0x0000 +#define CRYPTPROTECTMEMORY_CROSS_PROCESS 0x0001 +#define CRYPTPROTECTMEMORY_SAME_LOGON 0x0002 + +/* Blob Types */ +#define SIMPLEBLOB 0x1 +#define PUBLICKEYBLOB 0x6 +#define PRIVATEKEYBLOB 0x7 +#define PLAINTEXTKEYBLOB 0x8 +#define OPAQUEKEYBLOB 0x9 +#define PUBLICKEYBLOBEX 0xA +#define SYMMETRICWRAPKEYBLOB 0xB + +#define CUR_BLOB_VERSION 2 + +/* cert store provider types */ +#define CERT_STORE_PROV_MSG ((LPCSTR)1) +#define CERT_STORE_PROV_MEMORY ((LPCSTR)2) +#define CERT_STORE_PROV_FILE ((LPCSTR)3) +#define CERT_STORE_PROV_REG ((LPCSTR)4) +#define CERT_STORE_PROV_PKCS7 ((LPCSTR)5) +#define CERT_STORE_PROV_SERIALIZED ((LPCSTR)6) +#define CERT_STORE_PROV_FILENAME_A ((LPCSTR)7) +#define CERT_STORE_PROV_FILENAME_W ((LPCSTR)8) +#define CERT_STORE_PROV_SYSTEM_A ((LPCSTR)9) +#define CERT_STORE_PROV_SYSTEM_W ((LPCSTR)10) +#define CERT_STORE_PROV_SYSTEM CERT_STORE_PROV_SYSTEM_W +#define CERT_STORE_PROV_COLLECTION ((LPCSTR)11) +#define CERT_STORE_PROV_SYSTEM_REGISTRY_A ((LPCSTR)12) +#define CERT_STORE_PROV_SYSTEM_REGISTRY_W ((LPCSTR)13) +#define CERT_STORE_PROV_SYSTEM_REGISTRY CERT_STORE_PROV_SYSTEM_REGISTRY_W +#define CERT_STORE_PROV_PHYSICAL_W ((LPCSTR)14) +#define CERT_STORE_PROV_PHYSICAL CERT_STORE_PROV_PHYSICAL_W +#define CERT_STORE_PROV_SMART_CARD_W ((LPCSTR)15) +#define CERT_STORE_PROV_SMART_CARD CERT_STORE_PROV_SMART_CARD_W +#define CERT_STORE_PROV_LDAP_W ((LPCSTR)16) +#define CERT_STORE_PROV_LDAP CERT_STORE_PROV_LDAP_W + +#define sz_CERT_STORE_PROV_MEMORY "Memory" +#define sz_CERT_STORE_PROV_FILENAME_W "File" +#define sz_CERT_STORE_PROV_FILENAME sz_CERT_STORE_PROV_FILENAME_W +#define sz_CERT_STORE_PROV_SYSTEM_W "System" +#define sz_CERT_STORE_PROV_SYSTEM sz_CERT_STORE_PROV_SYSTEM_W +#define sz_CERT_STORE_PROV_PKCS7 "PKCS7" +#define sz_CERT_STORE_PROV_SERIALIZED "Serialized" +#define sz_CERT_STORE_PROV_COLLECTION "Collection" +#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W "SystemRegistry" +#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W +#define sz_CERT_STORE_PROV_PHYSICAL_W "Physical" +#define sz_CERT_STORE_PROV_PHYSICAL sz_CERT_STORE_PROV_PHYSICAL_W +#define sz_CERT_STORE_PROV_SMART_CARD_W "SmartCard" +#define sz_CERT_STORE_PROV_SMART_CARD sz_CERT_STORE_PROV_SMART_CARD_W +#define sz_CERT_STORE_PROV_LDAP_W "Ldap" +#define sz_CERT_STORE_PROV_LDAP sz_CERT_STORE_PROV_LDAP_W + +/* types for CertOpenStore dwEncodingType */ +#define CERT_ENCODING_TYPE_MASK 0x0000ffff +#define CMSG_ENCODING_TYPE_MASK 0xffff0000 +#define GET_CERT_ENCODING_TYPE(x) ((x) & CERT_ENCODING_TYPE_MASK) +#define GET_CMSG_ENCODING_TYPE(x) ((x) & CMSG_ENCODING_TYPE_MASK) + +#define CRYPT_ASN_ENCODING 0x00000001 +#define CRYPT_NDR_ENCODING 0x00000002 +#define X509_ASN_ENCODING 0x00000001 +#define X509_NDR_ENCODING 0x00000002 +#define PKCS_7_ASN_ENCODING 0x00010000 +#define PKCS_7_NDR_ENCODING 0x00020000 + +/* system store locations */ +#define CERT_SYSTEM_STORE_LOCATION_MASK 0x00ff0000 +#define CERT_SYSTEM_STORE_LOCATION_SHIFT 16 + +/* system store location ids */ +/* hkcu */ +#define CERT_SYSTEM_STORE_CURRENT_USER_ID 1 +/* hklm */ +#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ID 2 +/* hklm\Software\Microsoft\Cryptography\Services */ +#define CERT_SYSTEM_STORE_CURRENT_SERVICE_ID 4 +#define CERT_SYSTEM_STORE_SERVICES_ID 5 +/* HKEY_USERS */ +#define CERT_SYSTEM_STORE_USERS_ID 6 +/* hkcu\Software\Policies\Microsoft\SystemCertificates */ +#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID 7 +/* hklm\Software\Policies\Microsoft\SystemCertificates */ +#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID 8 +/* hklm\Software\Microsoft\EnterpriseCertificates */ +#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID 9 + +/* system store location values */ +#define CERT_SYSTEM_STORE_CURRENT_USER \ + (CERT_SYSTEM_STORE_CURRENT_USER_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_LOCAL_MACHINE \ + (CERT_SYSTEM_STORE_LOCAL_MACHINE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_CURRENT_SERVICE \ + (CERT_SYSTEM_STORE_CURRENT_SERVICE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_SERVICES \ + (CERT_SYSTEM_STORE_SERVICES_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_USERS \ + (CERT_SYSTEM_STORE_USERS_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY \ + (CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY \ + (CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) +#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE \ + (CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT) + +#if defined(__GNUC__) +#define CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH (const WCHAR[])\ + {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t',\ + '\\','S','y','s','t','e','m','C','e','r','t','i','f','i','c','a','t','e','s',\ + 0 } +#define CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH (const WCHAR[])\ + {'S','o','f','t','w','a','r','e','\\','P','o','l','i','c','i','e','s','\\',\ + 'M','i','c','r','o','s','o','f','t','\\','S','y','s','t','e','m','C','e','r',\ + 't','i','f','i','c','a','t','e','s',0 } +#elif defined(_MSC_VER) +#define CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH \ + L"Software\\Microsoft\\SystemCertificates" +#define CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH \ + L"Software\\Policies\\Microsoft\\SystemCertificates" +#else +static const WCHAR CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH[] = + {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\', + 'S','y','s','t','e','m','C','e','r','t','i','f','i','c','a','t','e','s',0 }; +static const WCHAR CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH[] = + {'S','o','f','t','w','a','r','e','\\','P','o','l','i','c','i','e','s','\\', + 'M','i','c','r','o','s','o','f','t','\\','S','y','s','t','e','m','C','e','r', + 't','i','f','i','c','a','t','e','s',0 }; +#endif + +#if defined(__GNUC__) +#define CERT_EFSBLOB_REGPATH (const WCHAR[])\ +{'S','o','f','t','w','a','r','e','\\','P','o','l','i','c','i','e','s','\\',\ + 'M','i','c','r','o','s','o','f','t','\\','S','y','s','t','e','m','C','e','r',\ + 't','i','f','i','c','a','t','e','s','\\','E','F','S',0 } +#define CERT_EFSBLOB_VALUE_NAME (const WCHAR[]) {'E','F','S','B','l','o','b',0 } +#elif defined(_MSC_VER) +#define CERT_EFSBLOB_REGPATH CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH L"\\EFS" +#define CERT_EFSBLOB_VALUE_NAME L"EFSBlob" +#else +static const WCHAR CERT_EFSBLOB_REGPATH[] = + {'S','o','f','t','w','a','r','e','\\','P','o','l','i','c','i','e','s','\\', + 'M','i','c','r','o','s','o','f','t','\\','S','y','s','t','e','m','C','e','r', + 't','i','f','i','c','a','t','e','s','\\','E','F','S',0 }; +static const CERT_EFSBLOB_VALUE_NAME[] = { 'E','F','S','B','l','o','b',0 }; +#endif + +#if defined(__GNUC__) +#define CERT_PROT_ROOT_FLAGS_REGPATH (const WCHAR[])\ +{'\\','R','o','o','t','\\','P','r','o','t','e','c','t','e','d','R','o','o','t',\ + 's',0 } +#define CERT_PROT_ROOT_FLAGS_VALUE_NAME (const WCHAR[])\ +{'F','l','a','g','s',0 } +#elif defined(_MSC_VER) +#define CERT_PROT_ROOT_FLAGS_REGPATH L"\\Root\\ProtectedRoots" +#define CERT_PROT_ROOT_FLAGS_VALUE_NAME L"Flags" +#else +static const WCHAR CERT_PROT_ROOT_FLAGS_REGPATH[] = + { '\\','R','o','o','t','\\','P','r','o','t','e','c','t','e','d','R','o','o', + 't','s',0 }; +static const WCHAR CERT_PROT_ROOT_FLAGS_VALUE_NAME[] = {'F','l','a','g','s',0 }; +#endif + +#define CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG 0x01 +#define CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG 0x02 +#define CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG 0x04 +#define CERT_PROT_ROOT_DISABLE_LM_AUTH_FLAG 0x08 +#define CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG 0x10 +#define CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG 0x20 + +#if defined(__GNUC__) +#define CERT_TRUST_PUB_SAFER_GROUP_POLICY_REGPATH (const WCHAR[])\ +{'S','o','f','t','w','a','r','e','\\','P','o','l','i','c','i','e','s','\\',\ + 'M','i','c','r','o','s','o','f','t','\\','S','y','s','t','e','m','C','e','r',\ + 't','i','f','i','c','a','t','e','s','\\','T','r','u','s','t','e','d',\ + 'P','u','b','l','i','s','h','e','r','\\','S','a','f','e','r',0 } +#elif defined(_MSC_VER) +#define CERT_TRUST_PUB_SAFER_GROUP_POLICY_REGPATH \ + CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH L"\\TrustedPublisher\\Safer" +#else +static const WCHAR CERT_TRUST_PUB_SAFER_GROUP_POLICY_REGPATH[] = + {'S','o','f','t','w','a','r','e','\\','P','o','l','i','c','i','e','s','\\', + 'M','i','c','r','o','s','o','f','t','\\','S','y','s','t','e','m','C','e','r', + 't','i','f','i','c','a','t','e','s','\\','T','r','u','s','t','e','d', + 'P','u','b','l','i','s','h','e','r','\\','S','a','f','e','r',0 }; +#endif + +#if defined(__GNUC__) +#define CERT_TRUST_PUB_SAFER_LOCAL_MACHINE_REGPATH (const WCHAR[])\ +{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\',\ + 'S','y','s','t','e','m','C','e','r','t','i','f','i','c','a','t','e','s','\\',\ + 'T','r','u','s','t','e','d','P','u','b','l','i','s','h','e','r','\\',\ + 'S','a','f','e','r',0 } +#define CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME (const WCHAR[])\ +{'A','u','t','h','e','n','t','i','c','o','d','e','F','l','a','g','s',0 }; +#elif defined(_MSC_VER) +#define CERT_TRUST_PUB_SAFER_LOCAL_MACHINE_REGPATH \ + CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH L"\\TrustedPublisher\\Safer" +#define CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME L"AuthenticodeFlags" +#else +static const WCHAR CERT_TRUST_PUB_SAFER_LOCAL_MACHINE_REGPATH[] = + {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\', + 'S','y','s','t','e','m','C','e','r','t','i','f','i','c','a','t','e','s','\\', + 'T','r','u','s','t','e','d','P','u','b','l','i','s','h','e','r','\\', + 'S','a','f','e','r',0 }; +static const WCHAR CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME[] = + { 'A','u','t','h','e','n','t','i','c','o','d','e','F','l','a','g','s',0 }; +#endif + +#define CERT_TRUST_PUB_ALLOW_END_USER_TRUST 0x00000000 +#define CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST 0x00000001 +#define CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST 0x00000002 +#define CERT_TRUST_PUB_ALLOW_TRUST_MASK 0x00000003 +#define CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG 0x00000100 +#define CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_FLAG 0x00000200 + +/* flags for CertOpenStore dwFlags */ +#define CERT_STORE_NO_CRYPT_RELEASE_FLAG 0x00000001 +#define CERT_STORE_SET_LOCALIZED_NAME_FLAG 0x00000002 +#define CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG 0x00000004 +#define CERT_STORE_DELETE_FLAG 0x00000010 +#define CERT_STORE_UNSAFE_PHYSICAL_FLAG 0x00000020 +#define CERT_STORE_SHARE_STORE_FLAG 0x00000040 +#define CERT_STORE_SHARE_CONTEXT_FLAG 0x00000080 +#define CERT_STORE_MANIFOLD_FLAG 0x00000100 +#define CERT_STORE_ENUM_ARCHIVED_FLAG 0x00000200 +#define CERT_STORE_UPDATE_KEYID_FLAG 0x00000400 +#define CERT_STORE_BACKUP_RESTORE_FLAG 0x00000800 +#define CERT_STORE_MAXIMUM_ALLOWED_FLAG 0x00001000 +#define CERT_STORE_CREATE_NEW_FLAG 0x00002000 +#define CERT_STORE_OPEN_EXISTING_FLAG 0x00004000 +#define CERT_STORE_READONLY_FLAG 0x00008000 + +#define CERT_REGISTRY_STORE_REMOTE_FLAG 0x00010000 +#define CERT_REGISTRY_STORE_SERIALIZED_FLAG 0x00020000 +#define CERT_REGISTRY_STORE_ROAMING_FLAG 0x00040000 +#define CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG 0x00080000 +#define CERT_REGISTRY_STORE_LM_GPT_FLAG 0x01000000 +#define CERT_REGISTRY_STORE_CLIENT_GPT_FLAG 0x80000000 + +#define CERT_FILE_STORE_COMMIT_ENABLE_FLAG 0x00010000 + +/* CertCloseStore dwFlags */ +#define CERT_CLOSE_STORE_FORCE_FLAG 0x00000001 +#define CERT_CLOSE_STORE_CHECK_FLAG 0x00000002 + +/* dwAddDisposition */ +#define CERT_STORE_ADD_NEW 1 +#define CERT_STORE_ADD_USE_EXISTING 2 +#define CERT_STORE_ADD_REPLACE_EXISTING 3 +#define CERT_STORE_ADD_ALWAYS 4 +#define CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES 5 +#define CERT_STORE_ADD_NEWER 6 +#define CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES 7 + +/* Installable OID function defs */ +#define CRYPT_OID_OPEN_STORE_PROV_FUNC "CertDllOpenStoreProv" +#define CRYPT_OID_ENCODE_OBJECT_FUNC "CryptDllEncodeObject" +#define CRYPT_OID_DECODE_OBJECT_FUNC "CryptDllDecodeObject" +#define CRYPT_OID_ENCODE_OBJECT_EX_FUNC "CryptDllEncodeObjectEx" +#define CRYPT_OID_DECODE_OBJECT_EX_FUNC "CryptDllDecodeObjectEx" +#define CRYPT_OID_CREATE_COM_OBJECT_FUNC "CryptDllCreateComObject" +#define CRYPT_OID_VERIFY_REVOCATION_FUNC "CertDllVerifyRevocation" +#define CRYPT_OID_VERIFY_CTL_USAGE_FUNC "CertDllVerifyCTLUsage" +#define CRYPT_OID_FORMAT_OBJECT_FUNC "CryptDllFormatObject" +#define CRYPT_OID_FIND_OID_INFO_FUNC "CryptDllFindOIDInfo" +#define CRYPT_OID_FIND_LOCALIZED_NAME_FUNC "CryptDllFindLocalizedName" +#define CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC "CryptDllExportPublicKeyInfoEx" +#define CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC "CryptDllImportPublicKeyInfoEx" +#define CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC "CryptDllExportPrivateKeyInfoEx" +#define CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC "CryptDllImportPrivateKeyInfoEx" +#define CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC \ + "CertDllVerifyCertificateChainPolicy" +#define URL_OID_GET_OBJECT_URL_FUNC "UrlDllGetObjectUrl" +#define TIME_VALID_OID_GET_OBJECT_FUNC "TimeValidDllGetObject" +#define CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC "CryptMsgDllGenContentEncryptKey" +#define CMSG_OID_EXPORT_KEY_TRANS_FUNC "CryptMsgDllExportKeyTrans" +#define CMSG_OID_IMPORT_KEY_TRANS_FUNC "CryptMsgDllImportKeyTrans" + +#define CRYPT_OID_REGPATH "Software\\Microsoft\\Cryptography\\OID" +#define CRYPT_OID_REG_ENCODING_TYPE_PREFIX "EncodingType " +#if defined(__GNUC__) +# define CRYPT_OID_REG_DLL_VALUE_NAME (const WCHAR []){ 'D','l','l',0 } +# define CRYPT_OID_REG_FUNC_NAME_VALUE_NAME \ + (const WCHAR []){ 'F','u','n','c','N','a','m','e',0 } +# define CRYPT_OID_REG_FLAGS_VALUE_NAME \ + (const WCHAR []){ 'C','r','y','p','t','F','l','a','g','s',0 } +#elif defined(_MSC_VER) +# define CRYPT_OID_REG_DLL_VALUE_NAME L"Dll" +# define CRYPT_OID_REG_FUNC_NAME_VALUE_NAME L"FuncName" +# define CRYPT_OID_REG_FLAGS_VALUE_NAME L"CryptFlags" +#else +static const WCHAR CRYPT_OID_REG_DLL_VALUE_NAME[] = { 'D','l','l',0 }; +static const WCHAR CRYPT_OID_REG_FUNC_NAME_VALUE_NAME[] = + { 'F','u','n','c','N','a','m','e',0 }; +static const WCHAR CRYPT_OID_REG_FLAGS_VALUE_NAME[] = + { 'C','r','y','p','t','F','l','a','g','s',0 }; +#endif +#define CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A "FuncName" +#define CRYPT_DEFAULT_OID "DEFAULT" + +#define CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG 1 + +#define CRYPT_GET_INSTALLED_OID_FUNC_FLAG 0x1 + +#define CRYPT_REGISTER_FIRST_INDEX 0 +#define CRYPT_REGISTER_LAST_INDEX 0xffffffff + +/* values for CERT_STORE_PROV_INFO's dwStoreProvFlags */ +#define CERT_STORE_PROV_EXTERNAL_FLAG 0x1 +#define CERT_STORE_PROV_DELETED_FLAG 0x2 +#define CERT_STORE_PROV_NO_PERSIST_FLAG 0x4 +#define CERT_STORE_PROV_SYSTEM_STORE_FLAG 0x8 +#define CERT_STORE_PROV_LM_SYSTEM_STORE_FLAG 0x10 + +/* function indices */ +#define CERT_STORE_PROV_CLOSE_FUNC 0 +#define CERT_STORE_PROV_READ_CERT_FUNC 1 +#define CERT_STORE_PROV_WRITE_CERT_FUNC 2 +#define CERT_STORE_PROV_DELETE_CERT_FUNC 3 +#define CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC 4 +#define CERT_STORE_PROV_READ_CRL_FUNC 5 +#define CERT_STORE_PROV_WRITE_CRL_FUNC 6 +#define CERT_STORE_PROV_DELETE_CRL_FUNC 7 +#define CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC 8 +#define CERT_STORE_PROV_READ_CTL_FUNC 9 +#define CERT_STORE_PROV_WRITE_CTL_FUNC 10 +#define CERT_STORE_PROV_DELETE_CTL_FUNC 11 +#define CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC 12 +#define CERT_STORE_PROV_CONTROL_FUNC 13 +#define CERT_STORE_PROV_FIND_CERT_FUNC 14 +#define CERT_STORE_PROV_FREE_FIND_CERT_FUNC 15 +#define CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC 16 +#define CERT_STORE_PROV_FIND_CRL_FUNC 17 +#define CERT_STORE_PROV_FREE_FIND_CRL_FUNC 18 +#define CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC 19 +#define CERT_STORE_PROV_FIND_CTL_FUNC 20 +#define CERT_STORE_PROV_FREE_FIND_CTL_FUNC 21 +#define CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC 22 + +/* physical store dwFlags, also used by CertAddStoreToCollection as + * dwUpdateFlags + */ +#define CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG 0x1 +#define CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG 0x2 +#define CERT_PHYSICAL_STORE_REMOVE_OPEN_DISABLE_FLAG 0x4 +#define CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG 0x8 + +/* dwFlag values for CertEnumPhysicalStore callback */ +#define CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG 0x1 + +/* predefined store names */ +#if defined(__GNUC__) +# define CERT_PHYSICAL_STORE_DEFAULT_NAME (const WCHAR[])\ + {'.','D','e','f','a','u','l','t','0'} +# define CERT_PHYSICAL_STORE_GROUP_POLICY_NAME (const WCHAR[])\ + {'.','G','r','o','u','p','P','o','l','i','c','y',0} +# define CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME (const WCHAR[])\ + {'.','L','o','c','a','l','M','a','c','h','i','n','e',0} +# define CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME (const WCHAR[])\ + {'.','U','s','e','r','C','e','r','t','i','f','i','c','a','t','e',0} +# define CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME (const WCHAR[])\ + {'.','L','o','c','a','l','M','a','c','h','i','n','e','G','r','o','u','p',\ + 'P','o','l','i','c','y',0} +# define CERT_PHYSICAL_STORE_ENTERPRISE_NAME (const WCHAR[])\ + {'.','E','n','t','e','r','p','r','i','s','e',0} +# define CERT_PHYSICAL_STORE_AUTH_ROOT_NAME (const WCHAR[])\ + {'.','A','u','t','h','R','o','o','t',0} +#elif defined(_MSC_VER) +# define CERT_PHYSICAL_STORE_DEFAULT_NAME \ + L".Default" +# define CERT_PHYSICAL_STORE_GROUP_POLICY_NAME \ + L".GroupPolicy" +# define CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME \ + L".LocalMachine" +# define CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME \ + L".UserCertificate" +# define CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME \ + L".LocalMachineGroupPolicy" +# define CERT_PHYSICAL_STORE_ENTERPRISE_NAME \ + L".Enterprise" +# define CERT_PHYSICAL_STORE_AUTH_ROOT_NAME \ + L".AuthRoot" +#else +static const WCHAR CERT_PHYSICAL_STORE_DEFAULT_NAME[] = + {'.','D','e','f','a','u','l','t','0'}; +static const WCHAR CERT_PHYSICAL_STORE_GROUP_POLICY_NAME[] = + {'.','G','r','o','u','p','P','o','l','i','c','y',0}; +static const WCHAR CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME[] = + {'.','L','o','c','a','l','M','a','c','h','i','n','e',0}; +static const WCHAR CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME[] = + {'.','U','s','e','r','C','e','r','t','i','f','i','c','a','t','e',0}; +static const WCHAR CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME[] = + {'.','L','o','c','a','l','M','a','c','h','i','n','e','G','r','o','u','p', + 'P','o','l','i','c','y',0}; +static const WCHAR CERT_PHYSICAL_STORE_ENTERPRISE_NAME[] = + {'.','E','n','t','e','r','p','r','i','s','e',0}; +static const WCHAR CERT_PHYSICAL_STORE_AUTH_ROOT_NAME[] = + {'.','A','u','t','h','R','o','o','t',0}; +#endif + +/* cert system store flags */ +#define CERT_SYSTEM_STORE_MASK 0xffff0000 +#define CERT_SYSTEM_STORE_RELOCATE_FLAG 0x80000000 + +/* CertFindChainInStore dwFindType types */ +#define CERT_CHAIN_FIND_BY_ISSUER 1 + +/* CertSaveStore dwSaveAs values */ +#define CERT_STORE_SAVE_AS_STORE 1 +#define CERT_STORE_SAVE_AS_PKCS7 2 +/* CertSaveStore dwSaveTo values */ +#define CERT_STORE_SAVE_TO_FILE 1 +#define CERT_STORE_SAVE_TO_MEMORY 2 +#define CERT_STORE_SAVE_TO_FILENAME_A 3 +#define CERT_STORE_SAVE_TO_FILENAME_W 4 +#define CERT_STORE_SAVE_TO_FILENAME CERT_STORE_SAVE_TO_FILENAME_W + +/* CERT_INFO versions/flags */ +#define CERT_V1 0 +#define CERT_V2 1 +#define CERT_V3 2 +#define CERT_INFO_VERSION_FLAG 1 +#define CERT_INFO_SERIAL_NUMBER_FLAG 2 +#define CERT_INFO_SIGNATURE_ALGORITHM_FLAG 3 +#define CERT_INFO_ISSUER_FLAG 4 +#define CERT_INFO_NOT_BEFORE_FLAG 5 +#define CERT_INFO_NOT_AFTER_FLAG 6 +#define CERT_INFO_SUBJECT_FLAG 7 +#define CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG 8 +#define CERT_INFO_ISSUER_UNIQUE_ID_FLAG 9 +#define CERT_INFO_SUBJECT_UNIQUE_ID_FLAG 10 +#define CERT_INFO_EXTENSION_FLAG 11 + +/* CERT_REQUEST_INFO versions */ +#define CERT_REQUEST_V1 0 + +/* CERT_KEYGEN_REQUEST_INFO versions */ +#define CERT_KEYGEN_REQUEST_V1 0 + +/* CRL versions */ +#define CRL_V1 0 +#define CRL_V2 1 + +/* CTL versions */ +#define CTL_V1 0 + +/* Certificate, CRL, CTL property IDs */ +#define CERT_KEY_PROV_HANDLE_PROP_ID 1 +#define CERT_KEY_PROV_INFO_PROP_ID 2 +#define CERT_SHA1_HASH_PROP_ID 3 +#define CERT_HASH_PROP_ID CERT_SHA1_HASH_PROP_ID +#define CERT_MD5_HASH_PROP_ID 4 +#define CERT_KEY_CONTEXT_PROP_ID 5 +#define CERT_KEY_SPEC_PROP_ID 6 +#define CERT_IE30_RESERVED_PROP_ID 7 +#define CERT_PUBKEY_HASH_RESERVED_PROP_ID 8 +#define CERT_ENHKEY_USAGE_PROP_ID 9 +#define CERT_CTL_USAGE_PROP_ID CERT_ENHKEY_USAGE_PROP_ID +#define CERT_NEXT_UPDATE_LOCATION_PROP_ID 10 +#define CERT_FRIENDLY_NAME_PROP_ID 11 +#define CERT_PVK_FILE_PROP_ID 12 +#define CERT_DESCRIPTION_PROP_ID 13 +#define CERT_ACCESS_STATE_PROP_ID 14 +#define CERT_SIGNATURE_HASH_PROP_ID 15 +#define CERT_SMART_CARD_DATA_PROP_ID 16 +#define CERT_EFS_PROP_ID 17 +#define CERT_FORTEZZA_DATA_PROP 18 +#define CERT_ARCHIVED_PROP_ID 19 +#define CERT_KEY_IDENTIFIER_PROP_ID 20 +#define CERT_AUTO_ENROLL_PROP_ID 21 +#define CERT_PUBKEY_ALG_PARA_PROP_ID 22 +#define CERT_CROSS_CERT_DIST_POINTS_PROP_ID 23 +#define CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID 24 +#define CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID 25 +#define CERT_ENROLLMENT_PROP_ID 26 +#define CERT_DATE_STAMP_PROP_ID 27 +#define CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID 28 +#define CERT_SUBJECT_NAME_MD5_HASH_PROP_ID 29 +#define CERT_EXTENDED_ERROR_INFO_PROP_ID 30 +/* 31 -- unused? + 32 -- cert prop id + 33 -- CRL prop id + 34 -- CTL prop id + 35 -- KeyId prop id + 36-63 -- reserved + */ +#define CERT_RENEWAL_PROP_ID 64 +#define CERT_ARCHIVED_KEY_HASH_PROP_ID 65 +#define CERT_AUTO_ENROLL_RETRY_PROP_ID 66 +#define CERT_AIA_URL_RETRIEVED_PROP_ID 67 +#define CERT_AUTHORITY_INFO_ACCESS_PROP_ID 68 +#define CERT_BACKED_UP_PROP_ID 69 +#define CERT_OCSP_RESPONSE_PROP_ID 70 +#define CERT_REQUEST_ORIGINATOR_PROP_ID 71 +#define CERT_SOURCE_LOCATION_PROP_ID 72 +#define CERT_SOURCE_URL_PROP_ID 73 +#define CERT_NEW_KEY_PROP_ID 74 +#define CERT_OCSP_CACHE_PREFIX_PROP_ID 75 +#define CERT_SMART_CARD_ROOT_INFO_PROP_ID 76 +#define CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID 77 +#define CERT_NCRYPT_KEY_HANDLE_PROP_ID 78 +#define CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID 79 +#define CERT_SUBJECT_INFO_ACCESS_PROP_ID 80 +#define CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID 81 +#define CERT_CA_DISABLE_CRL_PROP_ID 82 +#define CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID 83 +#define CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID 84 + +#define CERT_FIRST_RESERVED_PROP_ID 85 +#define CERT_LAST_RESERVED_PROP_ID 0x00007fff +#define CERT_FIRST_USER_PROP_ID 0x00008000 +#define CERT_LAST_USER_PROP_ID 0x0000ffff + +#define IS_CERT_HASH_PROP_ID(x) \ + ((x) == CERT_SHA1_HASH_PROP_ID || (x) == CERT_MD5_HASH_PROP_ID || \ + (x) == CERT_SIGNATURE_HASH_PROP_ID) + +#define IS_PUBKEY_HASH_PROP_ID(x) \ + ((x) == CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID || \ + (x) == CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID) + +#define IS_CHAIN_HASH_PROP_ID(x) \ + ((x) == CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID || \ + (x) == CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID || \ + (x) == CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID || \ + (x) == CERT_SUBJECT_NAME_MD5_HASH_PROP_ID) + +/* access state flags */ +#define CERT_ACCESS_STATE_WRITE_PERSIST_FLAG 0x1 +#define CERT_ACCESS_STATE_SYSTEM_STORE_FLAG 0x2 +#define CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG 0x4 + +/* CertSetCertificateContextProperty flags */ +#define CERT_SET_PROPERTY_INHIBIT_PERSIST_FLAG 0x40000000 +#define CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG 0x80000000 + +/* CERT_RDN attribute dwValueType types */ +#define CERT_RDN_TYPE_MASK 0x000000ff +#define CERT_RDN_ANY_TYPE 0 +#define CERT_RDN_ENCODED_BLOB 1 +#define CERT_RDN_OCTET_STRING 2 +#define CERT_RDN_NUMERIC_STRING 3 +#define CERT_RDN_PRINTABLE_STRING 4 +#define CERT_RDN_TELETEX_STRING 5 +#define CERT_RDN_T61_STRING 5 +#define CERT_RDN_VIDEOTEX_STRING 6 +#define CERT_RDN_IA5_STRING 7 +#define CERT_RDN_GRAPHIC_STRING 8 +#define CERT_RDN_VISIBLE_STRING 9 +#define CERT_RDN_ISO646_STRING 9 +#define CERT_RDN_GENERAL_STRING 10 +#define CERT_RDN_UNIVERSAL_STRING 11 +#define CERT_RDN_INT4_STRING 11 +#define CERT_RDN_BMP_STRING 12 +#define CERT_RDN_UNICODE_STRING 12 +#define CERT_RDN_UTF8_STRING 13 + +/* CERT_RDN attribute dwValueType flags */ +#define CERT_RDN_FLAGS_MASK 0xff000000 +#define CERT_RDN_ENABLE_T61_UNICODE_FLAG 0x80000000 +#define CERT_RDN_DISABLE_CHECK_TYPE_FLAG 0x4000000 +#define CERT_RDN_ENABLE_UTF8_UNICODE_FLAG 0x2000000 +#define CERT_RDN_DISABLE_IE4_UTF8_FLAG 0x0100000 + +#define IS_CERT_RDN_CHAR_STRING(x) \ + (((x) & CERT_RDN_TYPE_MASK) >= CERT_RDN_NUMERIC_STRING) + +/* CertIsRDNAttrsInCertificateName flags */ +#define CERT_UNICODE_IS_RDN_ATTRS_FLAG 0x1 +#define CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG 0x2 + +/* CRL reason codes */ +#define CRL_REASON_UNSPECIFIED 0 +#define CRL_REASON_KEY_COMPROMISE 1 +#define CRL_REASON_CA_COMPROMISE 2 +#define CRL_REASON_AFFILIATION_CHANGED 3 +#define CRL_REASON_SUPERSEDED 4 +#define CRL_REASON_CESSATION_OF_OPERATION 5 +#define CRL_REASON_CERTIFICATE_HOLD 6 +#define CRL_REASON_REMOVE_FROM_CRL 8 + +/* CertControlStore control types */ +#define CERT_STORE_CTRL_RESYNC 1 +#define CERT_STORE_CTRL_NOTIFY_CHANGE 2 +#define CERT_STORE_CTRL_COMMIT 3 +#define CERT_STORE_CTRL_AUTO_RESYNC 4 +#define CERT_STORE_CTRL_CANCEL_NOTIFY 5 + +#define CERT_STORE_CTRL_COMMIT_FORCE_FLAG 0x1 +#define CERT_STORE_CTRL_COMMIT_CLEAR_FLAG 0x2 + +/* cert store properties */ +#define CERT_STORE_LOCALIZED_NAME_PROP_ID 0x1000 + +/* CertCreateContext flags */ +#define CERT_CREATE_CONTEXT_NOCOPY_FLAG 0x1 +#define CERT_CREATE_CONTEXT_SORTED_FLAG 0x2 +#define CERT_CREATE_CONTEXT_NO_HCRYPTMSG_FLAG 0x4 +#define CERT_CREATE_CONTEXT_NO_ENTRY_FLAG 0x8 + +#define CERT_COMPARE_MASK 0xffff +#define CERT_COMPARE_SHIFT 16 +#define CERT_COMPARE_ANY 0 +#define CERT_COMPARE_SHA1_HASH 1 +#define CERT_COMPARE_HASH CERT_COMPARE_SHA1_HASH +#define CERT_COMPARE_NAME 2 +#define CERT_COMPARE_ATTR 3 +#define CERT_COMPARE_MD5_HASH 4 +#define CERT_COMPARE_PROPERTY 5 +#define CERT_COMPARE_PUBLIC_KEY 6 +#define CERT_COMPARE_NAME_STR_A 7 +#define CERT_COMPARE_NAME_STR_W 8 +#define CERT_COMPARE_KEY_SPEC 9 +#define CERT_COMPARE_ENHKEY_USAGE 10 +#define CERT_COMPARE_CTL_USAGE CERT_COMPARE_ENHKEY_USAGE +#define CERT_COMPARE_SUBJECT_CERT 11 +#define CERT_COMPARE_ISSUER_OF 12 +#define CERT_COMPARE_EXISTING 13 +#define CERT_COMPARE_SIGNATURE_HASH 14 +#define CERT_COMPARE_KEY_IDENTIFIER 15 +#define CERT_COMPARE_CERT_ID 16 +#define CERT_COMPARE_CROSS_CERT_DIST_POINTS 17 +#define CERT_COMPARE_PUBKEY_MD5_HASH 18 + +/* values of dwFindType for CertFind*InStore */ +#define CERT_FIND_ANY \ + (CERT_COMPARE_ANY << CERT_COMPARE_SHIFT) +#define CERT_FIND_SHA1_HASH \ + (CERT_COMPARE_SHA1_HASH << CERT_COMPARE_SHIFT) +#define CERT_FIND_MD5_HASH \ + (CERT_COMPARE_MD5_HASH << CERT_COMPARE_SHIFT) +#define CERT_FIND_SIGNATURE_HASH \ + (CERT_COMPARE_SIGNATURE_HASH << CERT_COMPARE_SHIFT) +#define CERT_FIND_KEY_IDENTIFIER \ + (CERT_COMPARE_KEY_IDENTIFIER << CERT_COMPARE_SHIFT) +#define CERT_FIND_HASH CERT_FIND_SHA1_HASH +#define CERT_FIND_PROPERTY \ + (CERT_COMPARE_PROPERTY << CERT_COMPARE_SHIFT) +#define CERT_FIND_PUBLIC_KEY \ + (CERT_COMPARE_PUBLIC_KEY << CERT_COMPARE_SHIFT) +#define CERT_FIND_SUBJECT_NAME \ + (CERT_COMPARE_NAME << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG) +#define CERT_FIND_SUBJECT_ATTR \ + (CERT_COMPARE_ATTR << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG) +#define CERT_FIND_ISSUER_NAME \ + (CERT_COMPARE_NAME << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG) +#define CERT_FIND_ISSUER_ATTR \ + (CERT_COMPARE_ATTR << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG) +#define CERT_FIND_SUBJECT_STR_A \ + (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG) +#define CERT_FIND_SUBJECT_STR_W \ + (CERT_COMPARE_NAME_STR_W << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG) +#define CERT_FIND_SUBJECT_STR CERT_FIND_SUBJECT_STR_W +#define CERT_FIND_ISSUER_STR_A \ + (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG) +#define CERT_FIND_ISSUER_STR_W \ + (CERT_COMPARE_NAME_STR_W << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG) +#define CERT_FIND_ISSUER_STR CERT_FIND_ISSUER_STR_W +#define CERT_FIND_KEY_SPEC \ + (CERT_COMPARE_KEY_SPEC << CERT_COMPARE_SHIFT) +#define CERT_FIND_ENHKEY_USAGE \ + (CERT_COMPARE_ENHKEY_USAGE << CERT_COMPARE_SHIFT) +#define CERT_FIND_CTL_USAGE CERT_FIND_ENHKEY_USAGE +#define CERT_FIND_SUBJECT_CERT \ + (CERT_COMPARE_SUBJECT_CERT << CERT_COMPARE_SHIFT) +#define CERT_FIND_ISSUER_OF \ + (CERT_COMPARE_ISSUER_OF << CERT_COMPARE_SHIFT) +#define CERT_FIND_EXISTING \ + (CERT_COMPARE_EXISTING << CERT_COMPARE_SHIFT) +#define CERT_FIND_CERT_ID \ + (CERT_COMPARE_CERT_ID << CERT_COMPARE_SHIFT) +#define CERT_FIND_CROSS_CERT_DIST_POINTS \ + (CERT_COMPARE_CROSS_CERT_DIST_POINTS << CERT_COMPARE_SHIFT) +#define CERT_FIND_PUBKEY_MD5_HASH \ + (CERT_COMPARE_PUBKEY_MD5_HASH << CERT_COMPARE_SHIFT) + +#define CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG 0x1 +#define CERT_FIND_OPTIONAL_CTL_USAGE_FLAG 0x1 +#define CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG 0x2 +#define CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG 0x2 +#define CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG 0x4 +#define CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG 0x4 +#define CERT_FIND_NO_ENHKEY_USAGE_FLAG 0x8 +#define CERT_FIND_NO_CTL_USAGE_FLAG 0x8 +#define CERT_FIND_OR_ENHKEY_USAGE_FLAG 0x10 +#define CERT_FIND_OR_CTL_USAGE_FLAG 0x10 +#define CERT_FIND_VALID_ENHKEY_USAGE_FLAG 0x20 +#define CERT_FIND_VALID_CTL_USAGE_FLAG 0x20 + +#define CRL_FIND_ANY 0 +#define CRL_FIND_ISSUED_BY 1 +#define CRL_FIND_EXISTING 2 +#define CRL_FIND_ISSUED_FOR 3 + +#define CRL_FIND_ISSUED_BY_AKI_FLAG 0x1 +#define CRL_FIND_ISSUED_BY_SIGNATURE_FLAG 0x2 +#define CRL_FIND_ISSUED_BY_DELTA_FLAG 0x4 +#define CRL_FIND_ISSUED_BY_BASE_FLAG 0x8 + +typedef struct _CRL_FIND_ISSUED_FOR_PARA +{ + PCCERT_CONTEXT pSubjectCert; + PCCERT_CONTEXT pIssuerCert; +} CRL_FIND_ISSUED_FOR_PARA, *PCRL_FIND_ISSUED_FOR_PARA; + +#define CTL_FIND_ANY 0 +#define CTL_FIND_SHA1_HASH 1 +#define CTL_FIND_MD5_HASH 2 +#define CTL_FIND_USAGE 3 +#define CTL_FIND_SUBJECT 4 +#define CTL_FIND_EXISTING 5 + +typedef struct _CTL_FIND_USAGE_PARA +{ + DWORD cbSize; + CTL_USAGE SubjectUsage; + CRYPT_DATA_BLOB ListIdentifier; + PCERT_INFO pSigner; +} CTL_FIND_USAGE_PARA, *PCTL_FIND_USAGE_PARA; + +#define CTL_FIND_NO_LIST_ID_CBDATA 0xffffffff +#define CTL_FIND_NO_SIGNER_PTR ((PCERT_INFO)-1) +#define CTL_FIND_SAME_USAGE_FLAG 0x00000001 + +typedef struct _CTL_FIND_SUBJECT_PARA +{ + DWORD cbSize; + PCTL_FIND_USAGE_PARA pUsagePara; + DWORD dwSubjectType; + void *pvSubject; +} CTL_FIND_SUBJECT_PARA, *PCTL_FIND_SUBJECT_PARA; + +/* PFN_CERT_STORE_PROV_WRITE_CERT dwFlags values */ +#define CERT_STORE_PROV_WRITE_ADD_FLAG 0x1 + +/* CertAddSerializedElementToStore context types */ +#define CERT_STORE_CERTIFICATE_CONTEXT 1 +#define CERT_STORE_CRL_CONTEXT 2 +#define CERT_STORE_CTL_CONTEXT 3 +#define CERT_STORE_ALL_CONTEXT_FLAG ~0U +#define CERT_STORE_CERTIFICATE_CONTEXT_FLAG \ + (1 << CERT_STORE_CERTIFICATE_CONTEXT) +#define CERT_STORE_CRL_CONTEXT_FLAG (1 << CERT_STORE_CRL_CONTEXT) +#define CERT_STORE_CTL_CONTEXT_FLAG (1 << CERT_STORE_CTL_CONTEXT) + +/* CryptBinaryToString/CryptStringToBinary flags */ +#define CRYPT_STRING_BASE64HEADER 0x00000000 +#define CRYPT_STRING_BASE64 0x00000001 +#define CRYPT_STRING_BINARY 0x00000002 +#define CRYPT_STRING_BASE64REQUESTHEADER 0x00000003 +#define CRYPT_STRING_HEX 0x00000004 +#define CRYPT_STRING_HEXASCII 0x00000005 +#define CRYPT_STRING_BASE64_ANY 0x00000006 +#define CRYPT_STRING_ANY 0x00000007 +#define CRYPT_STRING_HEX_ANY 0x00000008 +#define CRYPT_STRING_BASE64X509CRLHEADER 0x00000009 +#define CRYPT_STRING_HEXADDR 0x0000000a +#define CRYPT_STRING_HEXASCIIADDR 0x0000000b +#define CRYPT_STRING_NOCRLF 0x40000000 +#define CRYPT_STRING_NOCR 0x80000000 + +/* OIDs */ +#define szOID_RSA "1.2.840.113549" +#define szOID_PKCS "1.2.840.113549.1" +#define szOID_RSA_HASH "1.2.840.113549.2" +#define szOID_RSA_ENCRYPT "1.2.840.113549.3" +#define szOID_PKCS_1 "1.2.840.113549.1.1" +#define szOID_PKCS_2 "1.2.840.113549.1.2" +#define szOID_PKCS_3 "1.2.840.113549.1.3" +#define szOID_PKCS_4 "1.2.840.113549.1.4" +#define szOID_PKCS_5 "1.2.840.113549.1.5" +#define szOID_PKCS_6 "1.2.840.113549.1.6" +#define szOID_PKCS_7 "1.2.840.113549.1.7" +#define szOID_PKCS_8 "1.2.840.113549.1.8" +#define szOID_PKCS_9 "1.2.840.113549.1.9" +#define szOID_PKCS_10 "1.2.840.113549.1.10" +#define szOID_PKCS_11 "1.2.840.113549.1.12" +#define szOID_RSA_RSA "1.2.840.113549.1.1.1" +#define CERT_RSA_PUBLIC_KEY_OBJID szOID_RSA_RSA +#define CERT_DEFAULT_OID_PUBLIC_KEY_SIGN szOID_RSA_RSA +#define CERT_DEFAULT_OID_PUBLIC_KEY_XCHG szOID_RSA_RSA +#define szOID_RSA_MD2RSA "1.2.840.113549.1.1.2" +#define szOID_RSA_MD4RSA "1.2.840.113549.1.1.3" +#define szOID_RSA_MD5RSA "1.2.840.113549.1.1.4" +#define szOID_RSA_SHA1RSA "1.2.840.113549.1.1.5" +#define szOID_RSA_SET0AEP_RSA "1.2.840.113549.1.1.6" +#define szOID_RSA_SHA256RSA "1.2.840.113549.1.1.11" +#define szOID_RSA_SHA384RSA "1.2.840.113549.1.1.12" +#define szOID_RSA_SHA512RSA "1.2.840.113549.1.1.13" +#define szOID_RSA_DH "1.2.840.113549.1.3.1" +#define szOID_RSA_data "1.2.840.113549.1.7.1" +#define szOID_RSA_signedData "1.2.840.113549.1.7.2" +#define szOID_RSA_envelopedData "1.2.840.113549.1.7.3" +#define szOID_RSA_signEnvData "1.2.840.113549.1.7.4" +#define szOID_RSA_digestedData "1.2.840.113549.1.7.5" +#define szOID_RSA_hashedData "1.2.840.113549.1.7.5" +#define szOID_RSA_encryptedData "1.2.840.113549.1.7.6" +#define szOID_RSA_emailAddr "1.2.840.113549.1.9.1" +#define szOID_RSA_unstructName "1.2.840.113549.1.9.2" +#define szOID_RSA_contentType "1.2.840.113549.1.9.3" +#define szOID_RSA_messageDigest "1.2.840.113549.1.9.4" +#define szOID_RSA_signingTime "1.2.840.113549.1.9.5" +#define szOID_RSA_counterSign "1.2.840.113549.1.9.6" +#define szOID_RSA_challengePwd "1.2.840.113549.1.9.7" +#define szOID_RSA_unstructAddr "1.2.840.113549.1.9.9" +#define szOID_RSA_extCertAttrs "1.2.840.113549.1.9.9" +#define szOID_RSA_certExtensions "1.2.840.113549.1.9.14" +#define szOID_RSA_SMIMECapabilities "1.2.840.113549.1.9.15" +#define szOID_RSA_preferSignedData "1.2.840.113549.1.9.15.1" +#define szOID_RSA_SMIMEalg "1.2.840.113549.1.9.16.3" +#define szOID_RSA_SMIMEalgESDH "1.2.840.113549.1.9.16.3.5" +#define szOID_RSA_SMIMEalgCMS3DESwrap "1.2.840.113549.1.9.16.3.6" +#define szOID_RSA_SMIMEalgCMSRC2wrap "1.2.840.113549.1.9.16.3.7" +#define szOID_RSA_MD2 "1.2.840.113549.2.2" +#define szOID_RSA_MD4 "1.2.840.113549.2.4" +#define szOID_RSA_MD5 "1.2.840.113549.2.5" +#define szOID_RSA_RC2CBC "1.2.840.113549.3.2" +#define szOID_RSA_RC4 "1.2.840.113549.3.4" +#define szOID_RSA_DES_EDE3_CBC "1.2.840.113549.3.7" +#define szOID_RSA_RC5_CBCPad "1.2.840.113549.3.9" +#define szOID_ANSI_X942 "1.2.840.10046" +#define szOID_ANSI_X942_DH "1.2.840.10046.2.1" +#define szOID_X957 "1.2.840.10040" +#define szOID_X957_DSA "1.2.840.10040.4.1" +#define szOID_X957_SHA1DSA "1.2.840.10040.4.3" +#define szOID_DS "2.5" +#define szOID_DSALG "2.5.8" +#define szOID_DSALG_CRPT "2.5.8.1" +#define szOID_DSALG_HASH "2.5.8.2" +#define szOID_DSALG_SIGN "2.5.8.3" +#define szOID_DSALG_RSA "2.5.8.1.1" +#define szOID_OIW "1.3.14" +#define szOID_OIWSEC "1.3.14.3.2" +#define szOID_OIWSEC_md4RSA "1.3.14.3.2.2" +#define szOID_OIWSEC_md5RSA "1.3.14.3.2.3" +#define szOID_OIWSEC_md4RSA2 "1.3.14.3.2.4" +#define szOID_OIWSEC_desECB "1.3.14.3.2.6" +#define szOID_OIWSEC_desCBC "1.3.14.3.2.7" +#define szOID_OIWSEC_desOFB "1.3.14.3.2.8" +#define szOID_OIWSEC_desCFB "1.3.14.3.2.9" +#define szOID_OIWSEC_desMAC "1.3.14.3.2.10" +#define szOID_OIWSEC_rsaSign "1.3.14.3.2.11" +#define szOID_OIWSEC_dsa "1.3.14.3.2.12" +#define szOID_OIWSEC_shaDSA "1.3.14.3.2.13" +#define szOID_OIWSEC_mdc2RSA "1.3.14.3.2.14" +#define szOID_OIWSEC_shaRSA "1.3.14.3.2.15" +#define szOID_OIWSEC_dhCommMod "1.3.14.3.2.16" +#define szOID_OIWSEC_desEDE "1.3.14.3.2.17" +#define szOID_OIWSEC_sha "1.3.14.3.2.18" +#define szOID_OIWSEC_mdc2 "1.3.14.3.2.19" +#define szOID_OIWSEC_dsaComm "1.3.14.3.2.20" +#define szOID_OIWSEC_dsaCommSHA "1.3.14.3.2.21" +#define szOID_OIWSEC_rsaXchg "1.3.14.3.2.22" +#define szOID_OIWSEC_keyHashSeal "1.3.14.3.2.23" +#define szOID_OIWSEC_md2RSASign "1.3.14.3.2.24" +#define szOID_OIWSEC_md5RSASign "1.3.14.3.2.25" +#define szOID_OIWSEC_sha1 "1.3.14.3.2.26" +#define szOID_OIWSEC_dsaSHA1 "1.3.14.3.2.27" +#define szOID_OIWSEC_dsaCommSHA1 "1.3.14.3.2.28" +#define szOID_OIWSEC_sha1RSASign "1.3.14.3.2.29" +#define szOID_OIWDIR "1.3.14.7.2" +#define szOID_OIWDIR_CRPT "1.3.14.7.2.1" +#define szOID_OIWDIR_HASH "1.3.14.7.2.2" +#define szOID_OIWDIR_SIGN "1.3.14.7.2.3" +#define szOID_OIWDIR_md2 "1.3.14.7.2.2.1" +#define szOID_OIWDIR_md2RSA "1.3.14.7.2.3.1" +#define szOID_INFOSEC "2.16.840.1.101.2.1" +#define szOID_INFOSEC_sdnsSignature "2.16.840.1.101.2.1.1.1" +#define szOID_INFOSEC_mosaicSignature "2.16.840.1.101.2.1.1.2" +#define szOID_INFOSEC_sdnsConfidentiality "2.16.840.1.101.2.1.1.3" +#define szOID_INFOSEC_mosaicConfidentiality "2.16.840.1.101.2.1.1.4" +#define szOID_INFOSEC_sdnsIntegrity "2.16.840.1.101.2.1.1.5" +#define szOID_INFOSEC_mosaicIntegrity "2.16.840.1.101.2.1.1.6" +#define szOID_INFOSEC_sdnsTokenProtection "2.16.840.1.101.2.1.1.7" +#define szOID_INFOSEC_mosaicTokenProtection "2.16.840.1.101.2.1.1.8" +#define szOID_INFOSEC_sdnsKeyManagement "2.16.840.1.101.2.1.1.9" +#define szOID_INFOSEC_mosaicKeyManagement "2.16.840.1.101.2.1.1.10" +#define szOID_INFOSEC_sdnsKMandSig "2.16.840.1.101.2.1.1.11" +#define szOID_INFOSEC_mosaicKMandSig "2.16.840.1.101.2.1.1.12" +#define szOID_INFOSEC_SuiteASignature "2.16.840.1.101.2.1.1.13" +#define szOID_INFOSEC_SuiteAConfidentiality "2.16.840.1.101.2.1.1.14" +#define szOID_INFOSEC_SuiteAIntegrity "2.16.840.1.101.2.1.1.15" +#define szOID_INFOSEC_SuiteATokenProtection "2.16.840.1.101.2.1.1.16" +#define szOID_INFOSEC_SuiteAKeyManagement "2.16.840.1.101.2.1.1.17" +#define szOID_INFOSEC_SuiteAKMandSig "2.16.840.1.101.2.1.1.18" +#define szOID_INFOSEC_mosaicUpdatedSig "2.16.840.1.101.2.1.1.19" +#define szOID_INFOSEC_mosaicKMandUpdSig "2.16.840.1.101.2.1.1.20" +#define szOID_INFOSEC_mosaicUpdateInteg "2.16.840.1.101.2.1.1.21" +#define szOID_COMMON_NAME "2.5.4.3" +#define szOID_SUR_NAME "2.5.4.4" +#define szOID_DEVICE_SERIAL_NUMBER "2.5.4.5" +#define szOID_COUNTRY_NAME "2.5.4.6" +#define szOID_LOCALITY_NAME "2.5.4.7" +#define szOID_STATE_OR_PROVINCE_NAME "2.5.4.8" +#define szOID_STREET_ADDRESS "2.5.4.9" +#define szOID_ORGANIZATION_NAME "2.5.4.10" +#define szOID_ORGANIZATIONAL_UNIT_NAME "2.5.4.11" +#define szOID_TITLE "2.5.4.12" +#define szOID_DESCRIPTION "2.5.4.13" +#define szOID_SEARCH_GUIDE "2.5.4.14" +#define szOID_BUSINESS_CATEGORY "2.5.4.15" +#define szOID_POSTAL_ADDRESS "2.5.4.16" +#define szOID_POSTAL_CODE "2.5.4.17" +#define szOID_POST_OFFICE_BOX "2.5.4.18" +#define szOID_PHYSICAL_DELIVERY_OFFICE_NAME "2.5.4.19" +#define szOID_TELEPHONE_NUMBER "2.5.4.20" +#define szOID_TELEX_NUMBER "2.5.4.21" +#define szOID_TELETEXT_TERMINAL_IDENTIFIER "2.5.4.22" +#define szOID_FACSIMILE_TELEPHONE_NUMBER "2.5.4.23" +#define szOID_X21_ADDRESS "2.5.4.24" +#define szOID_INTERNATIONAL_ISDN_NUMBER "2.5.4.25" +#define szOID_REGISTERED_ADDRESS "2.5.4.26" +#define szOID_DESTINATION_INDICATOR "2.5.4.27" +#define szOID_PREFERRED_DELIVERY_METHOD "2.5.4.28" +#define szOID_PRESENTATION_ADDRESS "2.5.4.29" +#define szOID_SUPPORTED_APPLICATION_CONTEXT "2.5.4.30" +#define szOID_MEMBER "2.5.4.31" +#define szOID_OWNER "2.5.4.32" +#define szOID_ROLE_OCCUPANT "2.5.4.33" +#define szOID_SEE_ALSO "2.5.4.34" +#define szOID_USER_PASSWORD "2.5.4.35" +#define szOID_USER_CERTIFICATE "2.5.4.36" +#define szOID_CA_CERTIFICATE "2.5.4.37" +#define szOID_AUTHORITY_REVOCATION_LIST "2.5.4.38" +#define szOID_CERTIFICATE_REVOCATION_LIST "2.5.4.39" +#define szOID_CROSS_CERTIFICATE_PAIR "2.5.4.40" +#define szOID_GIVEN_NAME "2.5.4.42" +#define szOID_INITIALS "2.5.4.43" +#define szOID_DN_QUALIFIER "2.5.4.46" +#define szOID_AUTHORITY_KEY_IDENTIFIER "2.5.29.1" +#define szOID_KEY_ATTRIBUTES "2.5.29.2" +#define szOID_CERT_POLICIES_95 "2.5.29.3" +#define szOID_KEY_USAGE_RESTRICTION "2.5.29.4" +#define szOID_LEGACY_POLICY_MAPPINGS "2.5.29.5" +#define szOID_SUBJECT_ALT_NAME "2.5.29.7" +#define szOID_ISSUER_ALT_NAME "2.5.29.8" +#define szOID_SUBJECT_DIR_ATTRS "2.5.29.9" +#define szOID_BASIC_CONSTRAINTS "2.5.29.10" +#define szOID_SUBJECT_KEY_IDENTIFIER "2.5.29.14" +#define szOID_KEY_USAGE "2.5.29.15" +#define szOID_PRIVATEKEY_USAGE_PERIOD "2.5.29.16" +#define szOID_SUBJECT_ALT_NAME2 "2.5.29.17" +#define szOID_ISSUER_ALT_NAME2 "2.5.29.18" +#define szOID_BASIC_CONSTRAINTS2 "2.5.29.19" +#define szOID_CRL_NUMBER "2.5.29.20" +#define szOID_CRL_REASON_CODE "2.5.29.21" +#define szOID_REASON_CODE_HOLD "2.5.29.23" +#define szOID_DELTA_CRL_INDICATOR "2.5.29.27" +#define szOID_ISSUING_DIST_POINT "2.5.29.28" +#define szOID_NAME_CONSTRAINTS "2.5.29.30" +#define szOID_CRL_DIST_POINTS "2.5.29.31" +#define szOID_CERT_POLICIES "2.5.29.32" +#define szOID_ANY_CERT_POLICY "2.5.29.32.0" +#define szOID_POLICY_MAPPINGS "2.5.29.33" +#define szOID_AUTHORITY_KEY_IDENTIFIER2 "2.5.29.35" +#define szOID_POLICY_CONSTRAINTS "2.5.29.36" +#define szOID_ENHANCED_KEY_USAGE "2.5.29.37" +#define szOID_FRESHEST_CRL "2.5.29.46" +#define szOID_INHIBIT_ANY_POLICY "2.5.29.54" +#define szOID_DOMAIN_COMPONENT "0.9.2342.19200300.100.1.25" +#define szOID_PKCS_12_FRIENDLY_NAME_ATTR "1.2.840.113549.1.9.20" +#define szOID_PKCS_12_LOCAL_KEY_ID "1.2.840.113549.1.9.21" +#define szOID_CERT_EXTENSIONS "1.3.6.1.4.1.311.2.1.14" +#define szOID_NEXT_UPDATE_LOCATION "1.3.6.1.4.1.311.10.2" +#define szOID_KP_CTL_USAGE_SIGNING "1.3.6.1.4.1.311.10.3.1" +#define szOID_KP_TIME_STAMP_SIGNING "1.3.6.1.4.1.311.10.3.2" +#ifndef szOID_SERVER_GATED_CRYPTO +#define szOID_SERVER_GATED_CRYPTO "1.3.6.1.4.1.311.10.3.3" +#endif +#ifndef szOID_SGC_NETSCAPE +#define szOID_SGC_NETSCAPE "2.16.840.1.113730.4.1" +#endif +#define szOID_KP_EFS "1.3.6.1.4.1.311.10.3.4" +#define szOID_EFS_RECOVERY "1.3.6.1.4.1.311.10.3.4.1" +#define szOID_WHQL_CRYPTO "1.3.6.1.4.1.311.10.3.5" +#define szOID_NT5_CRYPTO "1.3.6.1.4.1.311.10.3.6" +#define szOID_OEM_WHQL_CRYPTO "1.3.6.1.4.1.311.10.3.7" +#define szOID_EMBEDDED_NT_CRYPTO "1.3.6.1.4.1.311.10.3.8" +#define szOID_ROOT_LIST_SIGNER "1.3.6.1.4.1.311.10.3.9" +#define szOID_KP_QUALIFIED_SUBORDINATION "1.3.6.1.4.1.311.10.3.10" +#define szOID_KP_KEY_RECOVERY "1.3.6.1.4.1.311.10.3.11" +#define szOID_KP_DOCUMENT_SIGNING "1.3.6.1.4.1.311.10.3.12" +#define szOID_KP_LIFETIME_SIGNING "1.3.6.1.4.1.311.10.3.13" +#define szOID_KP_MOBILE_DEVICE_SOFTWARE "1.3.6.1.4.1.311.10.3.14" +#define szOID_YESNO_TRUST_ATTR "1.3.6.1.4.1.311.10.4.1" +#ifndef szOID_DRM +#define szOID_DRM "1.3.6.1.4.1.311.10.5.1" +#endif +#ifndef szOID_DRM_INDIVIDUALIZATION +#define szOID_DRM_INDIVIDUALIZATION "1.3.6.1.4.1.311.10.5.2" +#endif +#ifndef szOID_LICENSES +#define szOID_LICENSES "1.3.6.1.4.1.311.10.6.1" +#endif +#ifndef szOID_LICENSE_SERVER +#define szOID_LICENSE_SERVER "1.3.6.1.4.1.311.10.6.2" +#endif +#define szOID_REMOVE_CERTIFICATE "1.3.6.1.4.1.311.10.8.1" +#define szOID_CROSS_CERT_DIST_POINTS "1.3.6.1.4.1.311.10.9.1" +#define szOID_CTL "1.3.6.1.4.1.311.10.1" +#define szOID_SORTED_CTL "1.3.6.1.4.1.311.10.1.1" +#define szOID_ANY_APPLICATION_POLICY "1.3.6.1.4.1.311.10.12.1" +#define szOID_RENEWAL_CERTIFICATE "1.3.6.1.4.1.311.13.1" +#define szOID_ENROLLMENT_NAME_VALUE_PAIR "1.3.6.1.4.1.311.13.2.1" +#define szOID_ENROLLMENT_CSP_PROVIDER "1.3.6.1.4.1.311.13.2.2" +#define szOID_OS_VERSION "1.3.6.1.4.1.311.13.2.3" +#define szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR "1.3.6.1.4.1.311.17.1" +#define szOID_LOCAL_MACHINE_KEYSET "1.3.6.1.4.1.311.17.2" +#define szOID_AUTO_ENROLL_CTL_USAGE "1.3.6.1.4.1.311.20.1" +#define szOID_ENROLL_CERTTYPE_EXTENSION "1.3.6.1.4.1.311.20.2" +#define szOID_ENROLLMENT_AGENT "1.3.6.1.4.1.311.20.2.1" +#ifndef szOID_KP_SMARTCARD_LOGON +#define szOID_KP_SMARTCARD_LOGON "1.3.6.1.4.1.311.20.2.2" +#endif +#ifndef szOID_NT_PRINCIPAL_NAME +#define szOID_NT_PRINCIPAL_NAME "1.3.6.1.4.1.311.20.2.3" +#endif +#define szOID_CERT_MANIFOLD "1.3.6.1.4.1.311.20.3" +#ifndef szOID_CERTSRV_CA_VERSION +#define szOID_CERTSRV_CA_VERSION "1.3.6.1.4.1.311.21.1" +#endif +#define szOID_CERTSRV_PREVIOUS_CERT_HASH "1.3.6.1.4.1.311.21.2" +#define szOID_CRL_VIRTUAL_BASE "1.3.6.1.4.1.311.21.3" +#define szOID_CRL_NEXT_PUBLISH "1.3.6.1.4.1.311.21.4" +#define szOID_KP_CA_EXCHANGE "1.3.6.1.4.1.311.21.5" +#define szOID_KP_KEY_RECOVERY_AGENT "1.3.6.1.4.1.311.21.6" +#define szOID_CERTIFICATE_TEMPLATE "1.3.6.1.4.1.311.21.7" +#define szOID_ENTERPRISE_OID_ROOT "1.3.6.1.4.1.311.21.8" +#define szOID_RDN_DUMMY_SIGNER "1.3.6.1.4.1.311.21.9" +#define szOID_APPLICATION_CERT_POLICIES "1.3.6.1.4.1.311.21.10" +#define szOID_APPLICATION_POLICY_MAPPINGS "1.3.6.1.4.1.311.21.11" +#define szOID_APPLICATION_POLICY_CONSTRAINTS "1.3.6.1.4.1.311.21.12" +#define szOID_ARCHIVED_KEY_ATTR "1.3.6.1.4.1.311.21.13" +#define szOID_CRL_SELF_CDP "1.3.6.1.4.1.311.21.14" +#define szOID_REQUIRE_CERT_CHAIN_POLICY "1.3.6.1.4.1.311.21.15" +#define szOID_ARCHIVED_KEY_CERT_HASH "1.3.6.1.4.1.311.21.16" +#define szOID_ISSUED_CERT_HASH "1.3.6.1.4.1.311.21.17" +#define szOID_DS_EMAIL_REPLICATION "1.3.6.1.4.1.311.21.19" +#define szOID_REQUEST_CLIENT_INFO "1.3.6.1.4.1.311.21.20" +#define szOID_ENCRYPTED_KEY_HASH "1.3.6.1.4.1.311.21.21" +#define szOID_CERTSRV_CROSSCA_VERSION "1.3.6.1.4.1.311.21.22" +#define szOID_KEYID_RDN "1.3.6.1.4.1.311.10.7.1" +#define szOID_PKIX "1.3.6.1.5.5.7" +#define szOID_PKIX_PE "1.3.6.1.5.5.7.1" +#define szOID_AUTHORITY_INFO_ACCESS "1.3.6.1.5.5.7.1.1" +#define szOID_PKIX_POLICY_QUALIFIER_CPS "1.3.6.1.5.5.7.2.1" +#define szOID_PKIX_POLICY_QUALIFIER_USERNOTICE "1.3.6.1.5.5.7.2.2" +#define szOID_PKIX_KP "1.3.6.1.5.5.7.3" +#define szOID_PKIX_KP_SERVER_AUTH "1.3.6.1.5.5.7.3.1" +#define szOID_PKIX_KP_CLIENT_AUTH "1.3.6.1.5.5.7.3.2" +#define szOID_PKIX_KP_CODE_SIGNING "1.3.6.1.5.5.7.3.3" +#define szOID_PKIX_KP_EMAIL_PROTECTION "1.3.6.1.5.5.7.3.4" +#define szOID_PKIX_KP_IPSEC_END_SYSTEM "1.3.6.1.5.5.7.3.5" +#define szOID_PKIX_KP_IPSEC_TUNNEL "1.3.6.1.5.5.7.3.6" +#define szOID_PKIX_KP_IPSEC_USER "1.3.6.1.5.5.7.3.7" +#define szOID_PKIX_KP_TIMESTAMP_SIGNING "1.3.6.1.5.5.7.3.8" +#define szOID_PKIX_NO_SIGNATURE "1.3.6.1.5.5.7.6.2" +#define szOID_CMC "1.3.6.1.5.5.7.7" +#define szOID_CMC_STATUS_INFO "1.3.6.1.5.5.7.7.1" +#define szOID_CMC_IDENTIFICATION "1.3.6.1.5.5.7.7.2" +#define szOID_CMC_IDENTITY_PROOF "1.3.6.1.5.5.7.7.3" +#define szOID_CMC_DATA_RETURN "1.3.6.1.5.5.7.7.4" +#define szOID_CMC_TRANSACTION_ID "1.3.6.1.5.5.7.7.5" +#define szOID_CMC_SENDER_NONCE "1.3.6.1.5.5.7.7.6" +#define szOID_CMC_RECIPIENT_NONCE "1.3.6.1.5.5.7.7.7" +#define szOID_CMC_ADD_EXTENSIONS "1.3.6.1.5.5.7.7.8" +#define szOID_CMC_ENCRYPTED_POP "1.3.6.1.5.5.7.7.9" +#define szOID_CMC_DECRYPTED_POP "1.3.6.1.5.5.7.7.10" +#define szOID_CMC_LRA_POP_WITNESS "1.3.6.1.5.5.7.7.11" +#define szOID_CMC_GET_CERT "1.3.6.1.5.5.7.7.15" +#define szOID_CMC_GET_CRL "1.3.6.1.5.5.7.7.16" +#define szOID_CMC_REVOKE_REQUEST "1.3.6.1.5.5.7.7.17" +#define szOID_CMC_REG_INFO "1.3.6.1.5.5.7.7.18" +#define szOID_CMC_RESPONSE_INFO "1.3.6.1.5.5.7.7.19" +#define szOID_CMC_QUERY_PENDING "1.3.6.1.5.5.7.7.21" +#define szOID_CMC_ID_POP_LINK_RANDOM "1.3.6.1.5.5.7.7.22" +#define szOID_CMC_ID_POP_LINK_WITNESS "1.3.6.1.5.5.7.7.23" +#define szOID_CT_PKI_DATA "1.3.6.1.5.5.7.12.2" +#define szOID_CT_PKI_RESPONSE "1.3.6.1.5.5.7.12.3" +#define szOID_PKIX_ACC_DESCR "1.3.6.1.5.5.7.48" +#define szOID_PKIX_OCSP "1.3.6.1.5.5.7.48.1" +#define szOID_PKIX_CA_ISSUERS "1.3.6.1.5.5.7.48.2" +#define szOID_IPSEC_KP_IKE_INTERMEDIATE "1.3.6.1.5.5.8.2.2" + +#ifndef szOID_SERIALIZED +#define szOID_SERIALIZED "1.3.6.1.4.1.311.10.3.3.1" +#endif + +#ifndef szOID_PRODUCT_UPDATE +#define szOID_PRODUCT_UPDATE "1.3.6.1.4.1.311.31.1" +#endif + +#define szOID_NETSCAPE "2.16.840.1.113730" +#define szOID_NETSCAPE_CERT_EXTENSION "2.16.840.1.113730.1" +#define szOID_NETSCAPE_CERT_TYPE "2.16.840.1.113730.1.1" +#define szOID_NETSCAPE_BASE_URL "2.16.840.1.113730.1.2" +#define szOID_NETSCAPE_REVOCATION_URL "2.16.840.1.113730.1.3" +#define szOID_NETSCAPE_CA_REVOCATION_URL "2.16.840.1.113730.1.4" +#define szOID_NETSCAPE_CERT_RENEWAL_URL "2.16.840.1.113730.1.7" +#define szOID_NETSCAPE_CA_POLICY_URL "2.16.840.1.113730.1.8" +#define szOID_NETSCAPE_SSL_SERVER_NAME "2.16.840.1.113730.1.12" +#define szOID_NETSCAPE_COMMENT "2.16.840.1.113730.1.13" +#define szOID_NETSCAPE_DATA_TYPE "2.16.840.1.113730.2" +#define szOID_NETSCAPE_CERT_SEQUENCE "2.16.840.1.113730.2.5" + +/* Bits for szOID_NETSCAPE_CERT_TYPE */ +#define NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE 0x80 +#define NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE 0x40 +#define NETSCAPE_SMIME_CERT_TYPE 0x20 +#define NETSCAPE_SIGN_CERT_TYPE 0x10 +#define NETSCAPE_SSL_CA_CERT_TYPE 0x04 +#define NETSCAPE_SMIME_CA_CERT_TYPE 0x02 +#define NETSCAPE_SIGN_CA_CERT_TYPE 0x01 + +#define CRYPT_ENCODE_DECODE_NONE 0 +#define X509_CERT ((LPCSTR)1) +#define X509_CERT_TO_BE_SIGNED ((LPCSTR)2) +#define X509_CERT_CRL_TO_BE_SIGNED ((LPCSTR)3) +#define X509_CERT_REQUEST_TO_BE_SIGNED ((LPCSTR)4) +#define X509_EXTENSIONS ((LPCSTR)5) +#define X509_NAME_VALUE ((LPCSTR)6) +#define X509_ANY_STRING X509_NAME_VALUE +#define X509_NAME ((LPCSTR)7) +#define X509_PUBLIC_KEY_INFO ((LPCSTR)8) +#define X509_AUTHORITY_KEY_ID ((LPCSTR)9) +#define X509_KEY_ATTRIBUTES ((LPCSTR)10) +#define X509_KEY_USAGE_RESTRICTION ((LPCSTR)11) +#define X509_ALTERNATE_NAME ((LPCSTR)12) +#define X509_BASIC_CONSTRAINTS ((LPCSTR)13) +#define X509_KEY_USAGE ((LPCSTR)14) +#define X509_BASIC_CONSTRAINTS2 ((LPCSTR)15) +#define X509_CERT_POLICIES ((LPCSTR)16) +#define PKCS_UTC_TIME ((LPCSTR)17) +#define PKCS_TIME_REQUEST ((LPCSTR)18) +#define RSA_CSP_PUBLICKEYBLOB ((LPCSTR)19) +#define X509_UNICODE_NAME ((LPCSTR)20) +#define X509_KEYGEN_REQUEST_TO_BE_SIGNED ((LPCSTR)21) +#define PKCS_ATTRIBUTE ((LPCSTR)22) +#define PKCS_CONTENT_INFO_SEQUENCE_OF_ANY ((LPCSTR)23) +#define X509_UNICODE_NAME_VALUE ((LPCSTR)24) +#define X509_UNICODE_ANY_STRING X509_UNICODE_NAME_VALUE +#define X509_OCTET_STRING ((LPCSTR)25) +#define X509_BITS ((LPCSTR)26) +#define X509_INTEGER ((LPCSTR)27) +#define X509_MULTI_BYTE_INTEGER ((LPCSTR)28) +#define X509_ENUMERATED ((LPCSTR)29) +#define X509_CRL_REASON_CODE X509_ENUMERATED +#define X509_CHOICE_OF_TIME ((LPCSTR)30) +#define X509_AUTHORITY_KEY_ID2 ((LPCSTR)31) +#define X509_AUTHORITY_INFO_ACCESS ((LPCSTR)32) +#define PKCS_CONTENT_INFO ((LPCSTR)33) +#define X509_SEQUENCE_OF_ANY ((LPCSTR)34) +#define X509_CRL_DIST_POINTS ((LPCSTR)35) +#define X509_ENHANCED_KEY_USAGE ((LPCSTR)36) +#define PKCS_CTL ((LPCSTR)37) +#define X509_MULTI_BYTE_UINT ((LPCSTR)38) +#define X509_DSS_PUBLICKEY X509_MULTI_BYTE_UINT +#define X509_DSS_PARAMETERS ((LPCSTR)39) +#define X509_DSS_SIGNATURE ((LPCSTR)40) +#define PKCS_RC2_CBC_PARAMETERS ((LPCSTR)41) +#define PKCS_SMIME_CAPABILITIES ((LPCSTR)42) +#define PKCS_RSA_PRIVATE_KEY ((LPCSTR)43) +#define PKCS_PRIVATE_KEY_INFO ((LPCSTR)44) +#define PKCS_ENCRYPTED_PRIVATE_KEY_INFO ((LPCSTR)45) +#define X509_PKIX_POLICY_QUALIFIER_USERNOTICE ((LPCSTR)46) +#define X509_DH_PUBLICKEY X509_MULTI_BYTE_UINT +#define X509_DH_PARAMETERS ((LPCSTR)47) +#define PKCS_ATTRIBUTES ((LPCSTR)48) +#define PKCS_SORTED_CTL ((LPCSTR)49) +#define X942_DH_PARAMETERS ((LPCSTR)50) +#define X509_BITS_WITHOUT_TRAILING_ZEROES ((LPCSTR)51) +#define X942_OTHER_INFO ((LPCSTR)52) +#define X509_CERT_PAIR ((LPCSTR)53) +#define X509_ISSUING_DIST_POINT ((LPCSTR)54) +#define X509_NAME_CONSTRAINTS ((LPCSTR)55) +#define X509_POLICY_MAPPINGS ((LPCSTR)56) +#define X509_POLICY_CONSTRAINTS ((LPCSTR)57) +#define X509_CROSS_CERT_DIST_POINTS ((LPCSTR)58) +#define CMC_DATA ((LPCSTR)59) +#define CMC_RESPONSE ((LPCSTR)60) +#define CMC_STATUS ((LPCSTR)61) +#define CMC_ADD_EXTENSIONS ((LPCSTR)62) +#define CMC_ADD_ATTRIBUTES ((LPCSTR)63) +#define X509_CERTIFICATE_TEMPLATE ((LPCSTR)64) +#define PKCS7_SIGNER_INFO ((LPCSTR)500) +#define CMS_SIGNER_INFO ((LPCSTR)501) + +/* encode/decode flags */ +#define CRYPT_ENCODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG 0x00008 +#define CRYPT_ENCODE_ALLOC_FLAG 0x08000 +#define CRYPT_SORTED_CTL_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG 0x10000 +#define CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG \ + CERT_RDN_ENABLE_T61_UNICODE_FLAG +#define CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG \ + CERT_RDN_ENABLE_UTF8_UNICODE_FLAG +#define CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG \ + CERT_RDN_DISABLE_CHECK_TYPE_FLAG + +#define CRYPT_DECODE_NOCOPY_FLAG 0x00001 +#define CRYPT_DECODE_TO_BE_SIGNED_FLAG 0x00002 +#define CRYPT_DECODE_SHARE_OID_STRING_FLAG 0x00004 +#define CRYPT_DECODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG 0x00008 +#define CRYPT_DECODE_ALLOC_FLAG 0x08000 +#define CRYPT_UNICODE_NAME_DECODE_DISABLE_IE4_UTF8_FLAG \ + CERT_RDN_DISABLE_IE4_UTF8_FLAG + +#define CERT_STORE_SIGNATURE_FLAG 0x00000001 +#define CERT_STORE_TIME_VALIDITY_FLAG 0x00000002 +#define CERT_STORE_REVOCATION_FLAG 0x00000004 +#define CERT_STORE_NO_CRL_FLAG 0x00010000 +#define CERT_STORE_NO_ISSUER_FLAG 0x00020000 + +#define CERT_STORE_BASE_CRL_FLAG 0x00000100 +#define CERT_STORE_DELTA_CRL_FLAG 0x00000200 + +/* subject types for CryptVerifyCertificateSignatureEx */ +#define CRYPT_VERIFY_CERT_SIGN_SUBJECT_BLOB 1 +#define CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT 2 +#define CRYPT_VERIFY_CERT_SIGN_SUBJECT_CRL 3 + +/* issuer types for CryptVerifyCertificateSignatureEx */ +#define CRYPT_VERIFY_CERT_SIGN_ISSUER_PUBKEY 1 +#define CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT 2 +#define CRYPT_VERIFY_CERT_SIGN_ISSUER_CHAIN 3 +#define CRYPT_VERIFY_CERT_SIGN_ISSUER_NULL 4 + +#define CRYPT_GET_URL_FROM_PROPERTY 0x00000001 +#define CRYPT_GET_URL_FROM_EXTENSION 0x00000002 +#define CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE 0x00000004 +#define CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE 0x00000008 + +/* Certificate name string types and flags */ +#define CERT_SIMPLE_NAME_STR 1 +#define CERT_OID_NAME_STR 2 +#define CERT_X500_NAME_STR 3 +#define CERT_NAME_STR_SEMICOLON_FLAG 0x40000000 +#define CERT_NAME_STR_NO_PLUS_FLAG 0x20000000 +#define CERT_NAME_STR_NO_QUOTING_FLAG 0x10000000 +#define CERT_NAME_STR_CRLF_FLAG 0x08000000 +#define CERT_NAME_STR_COMMA_FLAG 0x04000000 +#define CERT_NAME_STR_REVERSE_FLAG 0x02000000 +#define CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG 0x00040000 +#define CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG 0x00020000 +#define CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG 0x00010000 + +#define CERT_NAME_EMAIL_TYPE 1 +#define CERT_NAME_RDN_TYPE 2 +#define CERT_NAME_ATTR_TYPE 3 +#define CERT_NAME_SIMPLE_DISPLAY_TYPE 4 +#define CERT_NAME_FRIENDLY_DISPLAY_TYPE 5 +#define CERT_NAME_DNS_TYPE 6 +#define CERT_NAME_URL_TYPE 7 +#define CERT_NAME_UPN_TYPE 8 + +#define CERT_NAME_ISSUER_FLAG 0x00000001 +#define CERT_NAME_DISABLE_IE4_UTF8_FLAG 0x00010000 + +/* CryptFormatObject flags */ +#define CRYPT_FORMAT_STR_MULTI_LINE 0x0001 +#define CRYPT_FORMAT_STR_NO_HEX 0x0010 + +#define CRYPT_FORMAT_SIMPLE 0x0001 +#define CRYPT_FORMAT_X509 0x0002 +#define CRYPT_FORMAT_OID 0x0004 +#define CRYPT_FORMAT_RDN_SEMICOLON 0x0100 +#define CRYPT_FORMAT_RDN_CRLF 0x0200 +#define CRYPT_FORMAT_RDN_UNQUOTE 0x0400 +#define CRYPT_FORMAT_RDN_REVERSE 0x0800 + +#define CRYPT_FORMAT_COMMA 0x1000 +#define CRYPT_FORMAT_SEMICOLON CRYPT_FORMAT_RDN_SEMICOLON +#define CRYPT_FORMAT_CRLF CRYPT_FORMAT_RDN_CRLF + +/* CryptQueryObject types and flags */ +#define CERT_QUERY_OBJECT_FILE 1 +#define CERT_QUERY_OBJECT_BLOB 2 + +#define CERT_QUERY_CONTENT_CERT 1 +#define CERT_QUERY_CONTENT_CTL 2 +#define CERT_QUERY_CONTENT_CRL 3 +#define CERT_QUERY_CONTENT_SERIALIZED_STORE 4 +#define CERT_QUERY_CONTENT_SERIALIZED_CERT 5 +#define CERT_QUERY_CONTENT_SERIALIZED_CTL 6 +#define CERT_QUERY_CONTENT_SERIALIZED_CRL 7 +#define CERT_QUERY_CONTENT_PKCS7_SIGNED 8 +#define CERT_QUERY_CONTENT_PKCS7_UNSIGNED 9 +#define CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED 10 +#define CERT_QUERY_CONTENT_PKCS10 11 +#define CERT_QUERY_CONTENT_PFX 12 +#define CERT_QUERY_CONTENT_CERT_PAIR 13 + +#define CERT_QUERY_CONTENT_FLAG_CERT (1 << CERT_QUERY_CONTENT_CERT) +#define CERT_QUERY_CONTENT_FLAG_CTL (1 << CERT_QUERY_CONTENT_CTL) +#define CERT_QUERY_CONTENT_FLAG_CRL (1 << CERT_QUERY_CONTENT_CRL) +#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE \ + (1 << CERT_QUERY_CONTENT_SERIALIZED_STORE) +#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT \ + (1 << CERT_QUERY_CONTENT_SERIALIZED_CERT) +#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL \ + (1 << CERT_QUERY_CONTENT_SERIALIZED_CTL) +#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL \ + (1 << CERT_QUERY_CONTENT_SERIALIZED_CRL) +#define CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED \ + (1 << CERT_QUERY_CONTENT_PKCS7_SIGNED) +#define CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED \ + (1 << CERT_QUERY_CONTENT_PKCS7_UNSIGNED) +#define CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED \ + (1 << CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED) +#define CERT_QUERY_CONTENT_FLAG_PKCS10 (1 << CERT_QUERY_CONTENT_PKCS10) +#define CERT_QUERY_CONTENT_FLAG_PFX (1 << CERT_QUERY_CONTENT_PFX) +#define CERT_QUERY_CONTENT_FLAG_CERT_PAIR (1 << CERT_QUERY_CONTENT_CERT_PAIR) + +#define CERT_QUERY_CONTENT_FLAG_ALL \ + CERT_QUERY_CONTENT_FLAG_CERT | \ + CERT_QUERY_CONTENT_FLAG_CTL | \ + CERT_QUERY_CONTENT_FLAG_CRL | \ + CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE | \ + CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT | \ + CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL | \ + CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL | \ + CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED | \ + CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED | \ + CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED | \ + CERT_QUERY_CONTENT_FLAG_PKCS10 | \ + CERT_QUERY_CONTENT_FLAG_PFX | \ + CERT_QUERY_CONTENT_FLAG_CERT_PAIR + +#define CERT_QUERY_FORMAT_BINARY 1 +#define CERT_QUERY_FORMAT_BASE64_ENCODED 2 +#define CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED 3 + +#define CERT_QUERY_FORMAT_FLAG_BINARY (1 << CERT_QUERY_FORMAT_BINARY) +#define CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED \ + (1 << CERT_QUERY_FORMAT_BASE64_ENCODED) +#define CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED \ + (1 << CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED) + +#define CERT_QUERY_FORMAT_FLAG_ALL \ + CERT_QUERY_FORMAT_FLAG_BINARY | \ + CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED | \ + CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED \ + +#define CERT_SET_KEY_PROV_HANDLE_PROP_ID 0x00000001 +#define CERT_SET_KEY_CONTEXT_PROP_ID 0x00000001 + +#define CERT_CREATE_SELFSIGN_NO_SIGN 1 +#define CERT_CREATE_SELFSIGN_NO_KEY_INFO 2 + +/* flags for CryptAcquireCertificatePrivateKey */ +#define CRYPT_ACQUIRE_CACHE_FLAG 0x00000001 +#define CRYPT_ACQUIRE_USE_PROV_INFO_FLAG 0x00000002 +#define CRYPT_ACQUIRE_COMPARE_KEY_FLAG 0x00000004 +#define CRYPT_ACQUIRE_SILENT_FLAG 0x00000040 + +/* flags for CryptFindCertificateKeyProvInfo */ +#define CRYPT_FIND_USER_KEYSET_FLAG 0x00000001 +#define CRYPT_FIND_MACHINE_KEYSET_FLAG 0x00000002 +#define CRYPT_FIND_SILENT_KEYSET_FLAG 0x00000040 + +/* Chain engines and chains */ +typedef HANDLE HCERTCHAINENGINE; +#define HCCE_CURRENT_USER ((HCERTCHAINENGINE)NULL) +#define HCCE_LOCAL_MACHINE ((HCERTCHAINENGINE)1) + +#define CERT_CHAIN_CACHE_END_CERT 0x00000001 +#define CERT_CHAIN_THREAD_STORE_SYNC 0x00000002 +#define CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL 0x00000004 +#define CERT_CHAIN_USE_LOCAL_MACHINE_STORE 0x00000008 +#define CERT_CHAIN_ENABLE_CACHE_AUTO_UPDATE 0x00000010 +#define CERT_CHAIN_ENABLE_SHARE_STORE 0x00000020 + +typedef struct _CERT_CHAIN_ENGINE_CONFIG +{ + DWORD cbSize; + HCERTSTORE hRestrictedRoot; + HCERTSTORE hRestrictedTrust; + HCERTSTORE hRestrictedOther; + DWORD cAdditionalStore; + HCERTSTORE *rghAdditionalStore; + DWORD dwFlags; + DWORD dwUrlRetrievalTimeout; + DWORD MaximumCachedCertificates; + DWORD CycleDetectionModulus; + HCERTSTORE hExclusiveRoot; + HCERTSTORE hExclusiveRootTrustedPeople; +} CERT_CHAIN_ENGINE_CONFIG, *PCERT_CHAIN_ENGINE_CONFIG; + +/* message-related definitions */ + +typedef BOOL (WINAPI *PFN_CMSG_STREAM_OUTPUT)(const void *pvArg, BYTE *pbData, + DWORD cbData, BOOL fFinal); + +#define CMSG_INDEFINITE_LENGTH 0xffffffff + +typedef struct _CMSG_STREAM_INFO +{ + DWORD cbContent; + PFN_CMSG_STREAM_OUTPUT pfnStreamOutput; + void *pvArg; +} CMSG_STREAM_INFO, *PCMSG_STREAM_INFO; + +typedef struct _CERT_ISSUER_SERIAL_NUMBER +{ + CERT_NAME_BLOB Issuer; + CRYPT_INTEGER_BLOB SerialNumber; +} CERT_ISSUER_SERIAL_NUMBER, *PCERT_ISSUER_SERIAL_NUMBER; + +typedef struct _CERT_ID +{ + DWORD dwIdChoice; + union { + CERT_ISSUER_SERIAL_NUMBER IssuerSerialNumber; + CRYPT_HASH_BLOB KeyId; + CRYPT_HASH_BLOB HashId; + } DUMMYUNIONNAME; +} CERT_ID, *PCERT_ID; + +#define CERT_ID_ISSUER_SERIAL_NUMBER 1 +#define CERT_ID_KEY_IDENTIFIER 2 +#define CERT_ID_SHA1_HASH 3 + +#ifndef USE_WC_PREFIX +#undef CMSG_DATA /* may be defined by sys/socket.h */ +#define CMSG_DATA 1 +#define CMSG_SIGNED 2 +#define CMSG_ENVELOPED 3 +#define CMSG_SIGNED_AND_ENVELOPED 4 +#define CMSG_HASHED 5 +#define CMSG_ENCRYPTED 6 + +#define CMSG_ALL_FLAGS ~0U +#define CMSG_DATA_FLAG (1 << CMSG_DATA) +#define CMSG_SIGNED_FLAG (1 << CMSG_SIGNED) +#define CMSG_ENVELOPED_FLAG (1 << CMSG_ENVELOPED) +#define CMSG_SIGNED_AND_ENVELOPED_FLAG (1 << CMSG_SIGNED_AND_ENVELOPED) +#define CMSG_ENCRYPTED_FLAG (1 << CMSG_ENCRYPTED) +#else +#define WC_CMSG_DATA 1 +#define WC_CMSG_SIGNED 2 +#define WC_CMSG_ENVELOPED 3 +#define WC_CMSG_SIGNED_AND_ENVELOPED 4 +#define WC_CMSG_HASHED 5 +#define WC_CMSG_ENCRYPTED 6 + +#define WC_CMSG_ALL_FLAGS ~0U +#define WC_CMSG_DATA_FLAG (1 << WC_CMSG_DATA) +#define WC_CMSG_SIGNED_FLAG (1 << WC_CMSG_SIGNED) +#define WC_CMSG_ENVELOPED_FLAG (1 << WC_CMSG_ENVELOPED) +#define WC_CMSG_SIGNED_AND_ENVELOPED_FLAG (1 << WC_CMSG_SIGNED_AND_ENVELOPED) +#define WC_CMSG_ENCRYPTED_FLAG (1 << WC_CMSG_ENCRYPTED) +#endif + +typedef struct _CMSG_SIGNER_ENCODE_INFO +{ + DWORD cbSize; + PCERT_INFO pCertInfo; + HCRYPTPROV hCryptProv; + DWORD dwKeySpec; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + void *pvHashAuxInfo; + DWORD cAuthAttr; + PCRYPT_ATTRIBUTE rgAuthAttr; + DWORD cUnauthAttr; + PCRYPT_ATTRIBUTE rgUnauthAttr; +#ifdef CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS + CERT_ID SignerId; + CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm; + void *pvHashEncryptionAuxInfo; +#endif +} CMSG_SIGNER_ENCODE_INFO, *PCMSG_SIGNER_ENCODE_INFO; + +typedef struct _CMSG_SIGNED_ENCODE_INFO +{ + DWORD cbSize; + DWORD cSigners; + PCMSG_SIGNER_ENCODE_INFO rgSigners; + DWORD cCertEncoded; + PCERT_BLOB rgCertEncoded; + DWORD cCrlEncoded; + PCRL_BLOB rgCrlEncoded; +#ifdef CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS + DWORD cAttrCertEncoded; + PCERT_BLOB rgAttrCertEncoded; +#endif +} CMSG_SIGNED_ENCODE_INFO, *PCMSG_SIGNED_ENCODE_INFO; + +typedef struct _CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO +{ + DWORD cbSize; + CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm; + void *pvKeyEncryptionAuxInfo; + HCRYPTPROV_LEGACY hCryptProv; + CRYPT_BIT_BLOB RecipientPublicKey; + CERT_ID RecipientId; +} CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO, *PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO; + +typedef struct _CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO +{ + DWORD cbSize; + CRYPT_BIT_BLOB RecipientPublicKey; + CERT_ID RecipientId; + FILETIME Date; + PCRYPT_ATTRIBUTE_TYPE_VALUE pOtherAttr; +} CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO, + *PCMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO; + +typedef struct _CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO +{ + DWORD cbSize; + CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm; + void *pvKeyEncryptionAuxInfo; + CRYPT_ALGORITHM_IDENTIFIER KeyWrapAlgorithm; + void *pvKeyWrapAuxInfo; + HCRYPTPROV_LEGACY hCryptProv; + DWORD dwKeySpec; + DWORD dwKeyChoice; + union { + PCRYPT_ALGORITHM_IDENTIFIER pEphemeralAlgorithm; + PCERT_ID pSenderId; + } DUMMYUNIONNAME; + CRYPT_DATA_BLOB UserKeyingMaterial; + DWORD cRecipientEncryptedKeys; + PCMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO *rgpRecipientEncryptedKeys; +} CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO, *PCMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO; + +#define CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE 1 +#define CMSG_KEY_AGREE_STATIC_KEY_CHOICE 2 + +typedef struct _CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO +{ + DWORD cbSize; + CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm; + void *pvKeyEncryptionAuxInfo; + HCRYPTPROV hCryptProv; + DWORD dwKeyChoice; + union { + HCRYPTKEY hKeyEncryptionKey; + void *pvKeyEncryptionKey; + } DUMMYUNIONNAME; + CRYPT_DATA_BLOB KeyId; + FILETIME Date; + PCRYPT_ATTRIBUTE_TYPE_VALUE pOtherAttr; +} CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO, *PCMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO; + +#define CMSG_MAIL_LIST_HANDLE_KEY_CHOICE 1 + +typedef struct _CMSG_RECIPIENT_ENCODE_INFO +{ + DWORD dwRecipientChoice; + union { + PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO pKeyTrans; + PCMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO pKeyAgree; + PCMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO pMailList; + } DUMMYUNIONNAME; +} CMSG_RECIPIENT_ENCODE_INFO, *PCMSG_RECIPIENT_ENCODE_INFO; + +#define CMSG_KEY_TRANS_RECIPIENT 1 +#define CMSG_KEY_AGREE_RECIPIENT 2 +#define CMSG_MAIL_LIST_RECIPIENT 3 + +typedef struct _CMSG_ENVELOPED_ENCODE_INFO +{ + DWORD cbSize; + HCRYPTPROV_LEGACY hCryptProv; + CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm; + void *pvEncryptionAuxInfo; + DWORD cRecipients; + PCERT_INFO *rgpRecipientCert; +#ifdef CMSG_ENVELOPED_ENCODE_INFO_HAS_CMS_FIELDS + PCMSG_RECIPIENT_ENCODE_INFO rgCmsRecipients; + DWORD cCertEncoded; + PCERT_BLOB rgCertEncoded; + DWORD cCrlEncoded; + PCRL_BLOB rgCrlEncoded; + DWORD cAttrCertEncoded; + PCERT_BLOB rgAttrCertEncoded; + DWORD cUnprotectedAttr; + PCRYPT_ATTRIBUTE rgUnprotectedAttr; +#endif +} CMSG_ENVELOPED_ENCODE_INFO, *PCMSG_ENVELOPED_ENCODE_INFO; + +typedef struct _CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO +{ + DWORD cbSize; + CMSG_SIGNED_ENCODE_INFO SignedInfo; + CMSG_ENVELOPED_ENCODE_INFO EnvelopedInfo; +} CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO, + *PCMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO; + +typedef struct _CMSG_HASHED_ENCODE_INFO +{ + DWORD cbSize; + HCRYPTPROV_LEGACY hCryptProv; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + void *pvHashAuxInfo; +} CMSG_HASHED_ENCODE_INFO, *PCMSG_HASHED_ENCODE_INFO; + +typedef struct _CMSG_ENCRYPTED_ENCODE_INFO +{ + DWORD cbSize; + CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm; + void *pvEncryptionAuxInfo; +} CMSG_ENCRYPTED_ENCODE_INFO, *PCMSG_ENCRYPTED_ENCODE_INFO; + +#define CMSG_BARE_CONTENT_FLAG 0x00000001 +#define CMSG_LENGTH_ONLY_FLAG 0x00000002 +#define CMSG_DETACHED_FLAG 0x00000004 +#define CMSG_AUTHENTICATED_ATTRIBUTES_FLAG 0x00000008 +#define CMSG_CONTENTS_OCTETS_FLAG 0x00000010 +#define CMSG_MAX_LENGTH_FLAG 0x00000020 +#define CMSG_CMS_ENCAPSULATED_CONTENT_FLAG 0x00000040 +#define CMSG_CRYPT_RELEASE_CONTEXT_FLAG 0x00008000 + +#define CMSG_CTRL_VERIFY_SIGNATURE 1 +#define CMSG_CTRL_DECRYPT 2 +#define CMSG_CTRL_VERIFY_HASH 5 +#define CMSG_CTRL_ADD_SIGNER 6 +#define CMSG_CTRL_DEL_SIGNER 7 +#define CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR 8 +#define CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR 9 +#define CMSG_CTRL_ADD_CERT 10 +#define CMSG_CTRL_DEL_CERT 11 +#define CMSG_CTRL_ADD_CRL 12 +#define CMSG_CTRL_DEL_CRL 13 +#define CMSG_CTRL_ADD_ATTR_CERT 14 +#define CMSG_CTRL_DEL_ATTR_CERT 15 +#define CMSG_CTRL_KEY_TRANS_DECRYPT 16 +#define CMSG_CTRL_KEY_AGREE_DECRYPT 17 +#define CMSG_CTRL_MAIL_LIST_DECRYPT 18 +#define CMSG_CTRL_VERIFY_SIGNATURE_EX 19 +#define CMSG_CTRL_ADD_CMS_SIGNER_INFO 20 + +typedef struct _CMSG_CTRL_DECRYPT_PARA +{ + DWORD cbSize; + HCRYPTPROV hCryptProv; + DWORD dwKeySpec; + DWORD dwRecipientIndex; +} CMSG_CTRL_DECRYPT_PARA, *PCMSG_CTRL_DECRYPT_PARA; + +typedef struct _CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA +{ + DWORD cbSize; + DWORD dwSignerIndex; + CRYPT_DATA_BLOB blob; +} CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA, + *PCMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA; + +typedef struct _CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA +{ + DWORD cbSize; + DWORD dwSignerIndex; + DWORD dwUnauthAttrIndex; +} CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA, + *PCMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA; + +typedef struct _CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA { + DWORD cbSize; + HCRYPTPROV hCryptProv; + DWORD dwSignerIndex; + DWORD dwSignerType; + void *pvSigner; +} CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA, *PCMSG_CTRL_VERIFY_SIGNATURE_EX_PARA; + +#define CMSG_VERIFY_SIGNER_PUBKEY 1 +#define CMSG_VERIFY_SIGNER_CERT 2 +#define CMSG_VERIFY_SIGNER_CHAIN 3 +#define CMSG_VERIFY_SIGNER_NULL 4 + +#define CMSG_TYPE_PARAM 1 +#define CMSG_CONTENT_PARAM 2 +#define CMSG_BARE_CONTENT_PARAM 3 +#define CMSG_INNER_CONTENT_TYPE_PARAM 4 +#define CMSG_SIGNER_COUNT_PARAM 5 +#define CMSG_SIGNER_INFO_PARAM 6 +#define CMSG_SIGNER_CERT_INFO_PARAM 7 +#define CMSG_SIGNER_HASH_ALGORITHM_PARAM 8 +#define CMSG_SIGNER_AUTH_ATTR_PARAM 9 +#define CMSG_SIGNER_UNAUTH_ATTR_PARAM 10 +#define CMSG_CERT_COUNT_PARAM 11 +#define CMSG_CERT_PARAM 12 +#define CMSG_CRL_COUNT_PARAM 13 +#define CMSG_CRL_PARAM 14 +#define CMSG_ENVELOPE_ALGORITHM_PARAM 15 +#define CMSG_RECIPIENT_COUNT_PARAM 17 +#define CMSG_RECIPIENT_INDEX_PARAM 18 +#define CMSG_RECIPIENT_INFO_PARAM 19 +#define CMSG_HASH_ALGORITHM_PARAM 20 +#define CMSG_HASH_DATA_PARAM 21 +#define CMSG_COMPUTED_HASH_PARAM 22 +#define CMSG_ENCRYPT_PARAM 26 +#define CMSG_ENCRYPTED_DIGEST 27 +#define CMSG_ENCODED_SIGNER 28 +#define CMSG_ENCODED_MESSAGE 29 +#define CMSG_VERSION_PARAM 30 +#define CMSG_ATTR_CERT_COUNT_PARAM 31 +#define CMSG_ATTR_CERT_PARAM 32 +#define CMSG_CMS_RECIPIENT_COUNT_PARAM 33 +#define CMSG_CMS_RECIPIENT_INDEX_PARAM 34 +#define CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM 35 +#define CMSG_CMS_RECIPIENT_INFO_PARAM 36 +#define CMSG_UNPROTECTED_ATTR_PARAM 37 +#define CMSG_SIGNER_CERT_ID_PARAM 38 +#define CMSG_CMS_SIGNER_INFO_PARAM 39 + +typedef struct _CMSG_CMS_SIGNER_INFO { + DWORD dwVersion; + CERT_ID SignerId; + CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; + CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm; + CRYPT_DATA_BLOB EncryptedHash; + CRYPT_ATTRIBUTES AuthAttrs; + CRYPT_ATTRIBUTES UnauthAttrs; +} CMSG_CMS_SIGNER_INFO, *PCMSG_CMS_SIGNER_INFO; + +typedef CRYPT_ATTRIBUTES CMSG_ATTR, *PCMSG_ATTR; + +#define CMSG_SIGNED_DATA_V1 1 +#define CMSG_SIGNED_DATA_V3 3 +#define CMSG_SIGNED_DATA_PKCS_1_5_VERSION CMSG_SIGNED_DATA_V1 +#define CMSG_SIGNED_DATA_CMS_VERSION CMSG_SIGNED_DATA_V3 + +#define CMSG_SIGNER_INFO_V1 1 +#define CMSG_SIGNER_INFO_V3 3 +#define CMSG_SIGNER_INFO_PKCS_1_5_VERSION CMSG_SIGNER_INFO_V1 +#define CMSG_SIGNER_INFO_CMS_VERSION CMSG_SIGNER_INFO_V3 + +#define CMSG_HASHED_DATA_V0 0 +#define CMSG_HASHED_DATA_V2 2 +#define CMSG_HASHED_DATA_PKCS_1_5_VERSION CMSG_HASHED_DATA_V0 +#define CMSG_HASHED_DATA_CMS_VERSION CMSG_HASHED_DATA_V2 + +#define CMSG_ENVELOPED_DATA_V0 0 +#define CMSG_ENVELOPED_DATA_V2 2 +#define CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION CMSG_ENVELOPED_DATA_V0 +#define CMSG_ENVELOPED_DATA_CMS_VERSION CMSG_ENVELOPED_DATA_V2 + +typedef struct _CMSG_KEY_TRANS_RECIPIENT_INFO { + DWORD dwVersion; + CERT_ID RecipientId; + CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm; + CRYPT_DATA_BLOB EncryptedKey; +} CMSG_KEY_TRANS_RECIPIENT_INFO, *PCMSG_KEY_TRANS_RECIPIENT_INFO; + +typedef struct _CMSG_RECIPIENT_ENCRYPTED_KEY_INFO { + CERT_ID RecipientId; + CRYPT_DATA_BLOB EncryptedKey; + PCRYPT_ATTRIBUTE_TYPE_VALUE pOtherAttr; +} CMSG_RECIPIENT_ENCRYPTED_KEY_INFO, *PCMSG_RECIPIENT_ENCRYPTED_KEY_INFO; + +typedef struct _CMSG_KEY_AGREE_RECIPIENT_INFO { + DWORD dwVersion; + DWORD dwOriginatorChoice; + union { + CERT_ID OriginatorCertId; + CERT_PUBLIC_KEY_INFO OriginatorPublicKeyInfo; + } DUMMYUNIONNAME; + CRYPT_ALGORITHM_IDENTIFIER UserKeyingMaterial; + DWORD cRecipientEncryptedKeys; + PCMSG_RECIPIENT_ENCRYPTED_KEY_INFO *rgpRecipientEncryptedKeys; +} CMSG_KEY_AGREE_RECIPIENT_INFO, *PCMSG_KEY_AGREE_RECIPIENT_INFO; + +#define CMSG_KEY_AGREE_ORIGINATOR_CERT 1 +#define CMSG_KEY_AGREE_ORIGINATOR_PUBLIC_KEY 2 + +typedef struct _CMSG_MAIL_LIST_RECIPIENT_INFO { + DWORD dwVersion; + CRYPT_DATA_BLOB KeyId; + CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm; + CRYPT_DATA_BLOB EncryptedKey; + FILETIME Date; + PCRYPT_ATTRIBUTE_TYPE_VALUE pOtherAttr; +} CMSG_MAIL_LIST_RECIPIENT_INFO, *PCMSG_MAIL_LIST_RECIPIENT_INFO; + +typedef struct _CMSG_CMS_RECIPIENT_INFO { + DWORD dwRecipientChoice; + union { + PCMSG_KEY_TRANS_RECIPIENT_INFO pKeyTrans; + PCMSG_KEY_AGREE_RECIPIENT_INFO pKeyAgree; + PCMSG_MAIL_LIST_RECIPIENT_INFO pMailList; + } DUMMYUNIONNAME; +} CMSG_CMS_RECIPIENT_INFO, *PCMSG_CMS_RECIPIENT_INFO; + +#define CMSG_ENVELOPED_RECIPIENT_V0 0 +#define CMSG_ENVELOPED_RECIPIENT_V2 2 +#define CMSG_ENVELOPED_RECIPIENT_V3 3 +#define CMSG_ENVELOPED_RECIPIENT_V4 4 +#define CMSG_KEY_TRANS_PKCS_1_5_VERSION CMSG_ENVELOPED_RECIPIENT_V0 +#define CMSG_KEY_TRANS_CMS_VERSION CMSG_ENVELOPED_RECIPIENT_V2 +#define CMSG_KEY_AGREE_VERSION CMSG_ENVELOPED_RECIPIENT_V3 +#define CMSG_MAIL_LIST_VERSION CMSG_ENVELOPED_RECIPIENT_V4 + +typedef void * (WINAPI *PFN_CMSG_ALLOC)(size_t cb); +typedef void (WINAPI *PFN_CMSG_FREE)(void *pv); + +typedef struct _CMSG_CONTENT_ENCRYPT_INFO { + DWORD cbSize; + HCRYPTPROV hCryptProv; + CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm; + void *pvEncryptionAuxInfo; + DWORD cRecipients; + PCMSG_RECIPIENT_ENCODE_INFO rgCmsRecipients; + PFN_CMSG_ALLOC pfnAlloc; + PFN_CMSG_FREE pfnFree; + DWORD dwEncryptFlags; + HCRYPTKEY hContentEncryptKey; + DWORD dwFlags; +} CMSG_CONTENT_ENCRYPT_INFO, *PCMSG_CONTENT_ENCRYPT_INFO; + +typedef struct _CMSG_KEY_TRANS_ENCRYPT_INFO { + DWORD cbSize; + DWORD dwRecipientIndex; + CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm; + CRYPT_DATA_BLOB EncryptedKey; + DWORD dwFlags; +} CMSG_KEY_TRANS_ENCRYPT_INFO, *PCMSG_KEY_TRANS_ENCRYPT_INFO; + +typedef struct _CMSG_CTRL_KEY_TRANS_DECRYPT_PARA { + DWORD cbSize; + HCRYPTPROV hCryptProv; + DWORD dwKeySpec; + PCMSG_KEY_TRANS_RECIPIENT_INFO pKeyTrans; + DWORD dwRecipientIndex; +} CMSG_CTRL_KEY_TRANS_DECRYPT_PARA, *PCMSG_CTRL_KEY_TRANS_DECRYPT_PARA; + +typedef struct _CERT_STRONG_SIGN_SERIALIZED_INFO { + DWORD dwFlags; + WCHAR *pwszCNGSignHashAlgids; + WCHAR *pwszCNGPubKeyMinBitLengths; +} CERT_STRONG_SIGN_SERIALIZED_INFO, *PCERT_STRONG_SIGN_SERIALIZED_INFO; + +typedef struct _CERT_STRONG_SIGN_PARA { + DWORD cbSize; + DWORD dwInfoChoice; + union { + void *pvInfo; + CERT_STRONG_SIGN_SERIALIZED_INFO *pSerializedInfo; + char *pszOID; + } DUMMYUNIONNAME; +} CERT_STRONG_SIGN_PARA, *PCERT_STRONG_SIGN_PARA; + +#define CERT_STRONG_SIGN_SERIALIZED_INFO_CHOICE 1 +#define CERT_STRONG_SIGN_OID_INFO_CHOICE 2 + +#define CERT_STRONG_SIGN_ENABLE_CRL_CHECK 0x1 +#define CERT_STRONG_SIGN_ENABLE_OCSP_CHECK 0x2 + +typedef BOOL (WINAPI *PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY)( + PCMSG_CONTENT_ENCRYPT_INFO pContentEncryptInfo, DWORD dwFlags, + void *pvReserved); + +typedef BOOL (WINAPI *PFN_CMSG_EXPORT_KEY_TRANS)( + PCMSG_CONTENT_ENCRYPT_INFO pContentEncryptInfo, + PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO pKeyTransEncodeInfo, + PCMSG_KEY_TRANS_ENCRYPT_INFO pKeyTransEncryptInfo, + DWORD dwFlags, void *pvReserved); + +typedef BOOL (WINAPI *PFN_CMSG_IMPORT_KEY_TRANS)( + PCRYPT_ALGORITHM_IDENTIFIER pContentEncryptionAlgorithm, + PCMSG_CTRL_KEY_TRANS_DECRYPT_PARA pKeyTransDecryptPara, DWORD dwFlags, + void *pvReserved, HCRYPTKEY *phContentEncryptKey); + +/* CryptMsgGetAndVerifySigner flags */ +#define CMSG_TRUSTED_SIGNER_FLAG 0x1 +#define CMSG_SIGNER_ONLY_FLAG 0x2 +#define CMSG_USE_SIGNER_INDEX_FLAG 0x4 + +/* CryptMsgSignCTL flags */ +#define CMSG_CMS_ENCAPSULATED_CTL_FLAG 0x00008000 + +/* CryptMsgEncodeAndSignCTL flags */ +#define CMSG_ENCODED_SORTED_CTL_FLAG 0x1 +#define CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG 0x2 + +/* PFXImportCertStore flags */ +#define CRYPT_USER_KEYSET 0x00001000 +#define PKCS12_IMPORT_RESERVED_MASK 0xffff0000 +/* PFXExportCertStore flags */ +#define REPORT_NO_PRIVATE_KEY 0x00000001 +#define REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY 0x00000002 +#define EXPORT_PRIVATE_KEYS 0x00000004 +#define PKCS12_EXPORT_RESERVED_MASK 0xffff0000 + +#define CRYPT_USERDATA 0x00000001 + +/* function declarations */ +/* advapi32.dll */ +WINADVAPI BOOL WINAPI CryptAcquireContextA(HCRYPTPROV *, LPCSTR, LPCSTR, DWORD, DWORD); +WINADVAPI BOOL WINAPI CryptAcquireContextW (HCRYPTPROV *, LPCWSTR, LPCWSTR, DWORD, DWORD); +#define CryptAcquireContext WINELIB_NAME_AW(CryptAcquireContext) +WINADVAPI BOOL WINAPI CryptGenRandom (HCRYPTPROV, DWORD, BYTE *); +WINADVAPI BOOL WINAPI CryptContextAddRef (HCRYPTPROV, DWORD *, DWORD); +WINADVAPI BOOL WINAPI CryptCreateHash (HCRYPTPROV, ALG_ID, HCRYPTKEY, DWORD, HCRYPTHASH *); +WINADVAPI BOOL WINAPI CryptDecrypt (HCRYPTKEY, HCRYPTHASH, BOOL, DWORD, BYTE *, DWORD *); +WINADVAPI BOOL WINAPI CryptDeriveKey (HCRYPTPROV, ALG_ID, HCRYPTHASH, DWORD, HCRYPTKEY *); +WINADVAPI BOOL WINAPI CryptDestroyHash (HCRYPTHASH); +WINADVAPI BOOL WINAPI CryptDestroyKey (HCRYPTKEY); +WINADVAPI BOOL WINAPI CryptDuplicateKey (HCRYPTKEY, DWORD *, DWORD, HCRYPTKEY *); +WINADVAPI BOOL WINAPI CryptDuplicateHash (HCRYPTHASH, DWORD *, DWORD, HCRYPTHASH *); +WINADVAPI BOOL WINAPI CryptEncrypt (HCRYPTKEY, HCRYPTHASH, BOOL, DWORD, BYTE *, DWORD *, DWORD); +WINADVAPI BOOL WINAPI CryptEnumProvidersA (DWORD, DWORD *, DWORD, DWORD *, LPSTR, DWORD *); +WINADVAPI BOOL WINAPI CryptEnumProvidersW (DWORD, DWORD *, DWORD, DWORD *, LPWSTR, DWORD *); +#define CryptEnumProviders WINELIB_NAME_AW(CryptEnumProviders) +WINADVAPI BOOL WINAPI CryptEnumProviderTypesA (DWORD, DWORD *, DWORD, DWORD *, LPSTR, DWORD *); +WINADVAPI BOOL WINAPI CryptEnumProviderTypesW (DWORD, DWORD *, DWORD, DWORD *, LPWSTR, DWORD *); +#define CryptEnumProviderTypes WINELIB_NAME_AW(CryptEnumProviderTypes) +WINADVAPI BOOL WINAPI CryptExportKey (HCRYPTKEY, HCRYPTKEY, DWORD, DWORD, BYTE *, DWORD *); +WINADVAPI BOOL WINAPI CryptGenKey (HCRYPTPROV, ALG_ID, DWORD, HCRYPTKEY *); +WINADVAPI BOOL WINAPI CryptGetKeyParam (HCRYPTKEY, DWORD, BYTE *, DWORD *, DWORD); +WINADVAPI BOOL WINAPI CryptGetHashParam (HCRYPTHASH, DWORD, BYTE *, DWORD *, DWORD); +WINADVAPI BOOL WINAPI CryptGetProvParam (HCRYPTPROV, DWORD, BYTE *, DWORD *, DWORD); +WINADVAPI BOOL WINAPI CryptGetDefaultProviderA (DWORD, DWORD *, DWORD, LPSTR, DWORD *); +WINADVAPI BOOL WINAPI CryptGetDefaultProviderW (DWORD, DWORD *, DWORD, LPWSTR, DWORD *); +#define CryptGetDefaultProvider WINELIB_NAME_AW(CryptGetDefaultProvider) +WINADVAPI BOOL WINAPI CryptGetUserKey (HCRYPTPROV, DWORD, HCRYPTKEY *); +WINADVAPI BOOL WINAPI CryptHashData (HCRYPTHASH, const BYTE *, DWORD, DWORD); +WINADVAPI BOOL WINAPI CryptHashSessionKey (HCRYPTHASH, HCRYPTKEY, DWORD); +WINADVAPI BOOL WINAPI CryptImportKey (HCRYPTPROV, const BYTE *, DWORD, HCRYPTKEY, DWORD, HCRYPTKEY *); +WINADVAPI BOOL WINAPI CryptReleaseContext (HCRYPTPROV, ULONG_PTR); +WINADVAPI BOOL WINAPI CryptSetHashParam (HCRYPTHASH, DWORD, const BYTE *, DWORD); +WINADVAPI BOOL WINAPI CryptSetKeyParam (HCRYPTKEY, DWORD, const BYTE *, DWORD); +WINADVAPI BOOL WINAPI CryptSetProviderA (LPCSTR, DWORD); +WINADVAPI BOOL WINAPI CryptSetProviderW (LPCWSTR, DWORD); +#define CryptSetProvider WINELIB_NAME_AW(CryptSetProvider) +WINADVAPI BOOL WINAPI CryptSetProviderExA (LPCSTR, DWORD, DWORD *, DWORD); +WINADVAPI BOOL WINAPI CryptSetProviderExW (LPCWSTR, DWORD, DWORD *, DWORD); +#define CryptSetProviderEx WINELIB_NAME_AW(CryptSetProviderEx) +WINADVAPI BOOL WINAPI CryptSetProvParam (HCRYPTPROV, DWORD, const BYTE *, DWORD); +WINADVAPI BOOL WINAPI CryptSignHashA (HCRYPTHASH, DWORD, LPCSTR, DWORD, BYTE *, DWORD *); +WINADVAPI BOOL WINAPI CryptSignHashW (HCRYPTHASH, DWORD, LPCWSTR, DWORD, BYTE *, DWORD *); +#define CryptSignHash WINELIB_NAME_AW(CryptSignHash) +WINADVAPI BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH, const BYTE *, DWORD, HCRYPTKEY, LPCSTR, DWORD); +WINADVAPI BOOL WINAPI CryptVerifySignatureW (HCRYPTHASH, const BYTE *, DWORD, HCRYPTKEY, LPCWSTR, DWORD); +#define CryptVerifySignature WINELIB_NAME_AW(CryptVerifySignature) + +/* crypt32.dll functions */ +LPVOID WINAPI CryptMemAlloc(ULONG cbSize) __WINE_ALLOC_SIZE(1); +LPVOID WINAPI CryptMemRealloc(LPVOID pv, ULONG cbSize) __WINE_ALLOC_SIZE(2); +VOID WINAPI CryptMemFree(LPVOID pv); + +BOOL WINAPI CryptBinaryToStringA(const BYTE *pbBinary, + DWORD cbBinary, DWORD dwFlags, LPSTR pszString, DWORD *pcchString); +BOOL WINAPI CryptBinaryToStringW(const BYTE *pbBinary, + DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString); +#define CryptBinaryToString WINELIB_NAME_AW(CryptBinaryToString) + +BOOL WINAPI CryptStringToBinaryA(LPCSTR pszString, + DWORD cchString, DWORD dwFlags, BYTE *pbBinary, DWORD *pcbBinary, + DWORD *pdwSkip, DWORD *pdwFlags); +BOOL WINAPI CryptStringToBinaryW(LPCWSTR pszString, + DWORD cchString, DWORD dwFlags, BYTE *pbBinary, DWORD *pcbBinary, + DWORD *pdwSkip, DWORD *pdwFlags); +#define CryptStringToBinary WINELIB_NAME_AW(CryptStringToBinary) + +BOOL WINAPI CryptCreateAsyncHandle(DWORD dwFlags, PHCRYPTASYNC phAsync); +BOOL WINAPI CryptSetAsyncParam(HCRYPTASYNC hAsync, LPSTR pszParamOid, + LPVOID pvParam, PFN_CRYPT_ASYNC_PARAM_FREE_FUNC pfnFree); +BOOL WINAPI CryptGetAsyncParam(HCRYPTASYNC hAsync, LPSTR pszParamOid, + LPVOID *ppvParam, PFN_CRYPT_ASYNC_PARAM_FREE_FUNC *ppfnFree); +BOOL WINAPI CryptCloseAsyncHandle(HCRYPTASYNC hAsync); + +BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD,LPCSTR,DWORD,LPCWSTR); +BOOL WINAPI CryptRegisterOIDFunction(DWORD,LPCSTR,LPCSTR,LPCWSTR,LPCSTR); +BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName, + LPCSTR pszOID, LPCWSTR szValueName, DWORD *pdwValueType, + BYTE *pbValueData, DWORD *pcbValueData); +BOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName, + LPCSTR pszOID, LPCWSTR pwszValueName, DWORD dwValueType, + const BYTE *pbValueData, DWORD cbValueData); +BOOL WINAPI CryptUnregisterDefaultOIDFunction(DWORD,LPCSTR,LPCWSTR); +BOOL WINAPI CryptUnregisterOIDFunction(DWORD,LPCSTR,LPCSTR); +BOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, + LPCSTR pszOID, DWORD dwFlags, void *pvArg, + PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc); +HCRYPTOIDFUNCSET WINAPI CryptInitOIDFunctionSet(LPCSTR,DWORD); +BOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet, + DWORD dwEncodingType, LPWSTR pwszDllList, DWORD *pcchDllList); +BOOL WINAPI CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet, + DWORD dwEncodingType, LPCWSTR pwszDll, DWORD dwFlags, void **ppvFuncAddr, + HCRYPTOIDFUNCADDR *phFuncAddr); +BOOL WINAPI CryptGetOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet, + DWORD dwEncodingType, LPCSTR pszOID, DWORD dwFlags, void **ppvFuncAddr, + HCRYPTOIDFUNCADDR *phFuncAddr); +BOOL WINAPI CryptFreeOIDFunctionAddress(HCRYPTOIDFUNCADDR hFuncAddr, + DWORD dwFlags); +BOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule, + DWORD dwEncodingType, LPCSTR pszFuncName, DWORD cFuncEntry, + const CRYPT_OID_FUNC_ENTRY rgFuncEntry[], DWORD dwFlags); +BOOL WINAPI CryptInstallDefaultContext(HCRYPTPROV hCryptProv, + DWORD dwDefaultType, const void *pvDefaultPara, DWORD dwFlags, + void *pvReserved, HCRYPTDEFAULTCONTEXT *phDefaultContext); +BOOL WINAPI CryptUninstallDefaultContext(HCRYPTDEFAULTCONTEXT hDefaultContext, + DWORD dwFlags, void *pvReserved); + +BOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId, DWORD dwFlags, void *pvArg, + PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo); +PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType, void *pvKey, + DWORD dwGroupId); +BOOL WINAPI CryptRegisterOIDInfo(PCCRYPT_OID_INFO pInfo, DWORD dwFlags); +BOOL WINAPI CryptUnregisterOIDInfo(PCCRYPT_OID_INFO pInfo); + +LPCWSTR WINAPI CryptFindLocalizedName(LPCWSTR pwszCryptName); + +LPCSTR WINAPI CertAlgIdToOID(DWORD dwAlgId); +DWORD WINAPI CertOIDToAlgId(LPCSTR pszObjId); + +/* cert store functions */ +HCERTSTORE WINAPI CertOpenStore(LPCSTR lpszStoreProvider, DWORD dwEncodingType, + HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const void *pvPara); + +HCERTSTORE WINAPI CertOpenSystemStoreA(HCRYPTPROV_LEGACY hProv, + LPCSTR szSubSystemProtocol); +HCERTSTORE WINAPI CertOpenSystemStoreW(HCRYPTPROV_LEGACY hProv, + LPCWSTR szSubSystemProtocol); +#define CertOpenSystemStore WINELIB_NAME_AW(CertOpenSystemStore) + +PCCERT_CONTEXT WINAPI CertEnumCertificatesInStore(HCERTSTORE hCertStore, + PCCERT_CONTEXT pPrev); + +PCCRL_CONTEXT WINAPI CertEnumCRLsInStore(HCERTSTORE hCertStore, + PCCRL_CONTEXT pPrev); + +PCCTL_CONTEXT WINAPI CertEnumCTLsInStore(HCERTSTORE hCertStore, + PCCTL_CONTEXT pPrev); + +BOOL WINAPI CertEnumSystemStoreLocation(DWORD dwFlags, void *pvArg, + PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum); + +BOOL WINAPI CertEnumSystemStore(DWORD dwFlags, void *pvSystemStoreLocationPara, + void *pvArg, PFN_CERT_ENUM_SYSTEM_STORE pfnEnum); + +BOOL WINAPI CertEnumPhysicalStore(const void *pvSystemStore, DWORD dwFlags, + void *pvArg, PFN_CERT_ENUM_PHYSICAL_STORE pfnEnum); + +BOOL WINAPI CertRegisterPhysicalStore(const void *pvSystemStore, DWORD dwFlags, + LPCWSTR pwszStoreName, PCERT_PHYSICAL_STORE_INFO pStoreInfo, void *pvReserved); + +BOOL WINAPI CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType, + DWORD dwSaveAs, DWORD dwSaveTo, void* pvSaveToPara, DWORD dwFlags); + +BOOL WINAPI CertAddStoreToCollection(HCERTSTORE hCollectionStore, + HCERTSTORE hSiblingStore, DWORD dwUpdateFlags, DWORD dwPriority); + +void WINAPI CertRemoveStoreFromCollection(HCERTSTORE hCollectionStore, + HCERTSTORE hSiblingStore); + +BOOL WINAPI CertCreateCertificateChainEngine(PCERT_CHAIN_ENGINE_CONFIG pConfig, + HCERTCHAINENGINE *phChainEngine); + +BOOL WINAPI CertResyncCertificateChainEngine(HCERTCHAINENGINE hChainEngine); + +VOID WINAPI CertFreeCertificateChainEngine(HCERTCHAINENGINE hChainEngine); + +BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine, + PCCERT_CONTEXT pCertContext, LPFILETIME pTime, HCERTSTORE hAdditionalStore, + PCERT_CHAIN_PARA pChainPara, DWORD dwFlags, LPVOID pvReserved, + PCCERT_CHAIN_CONTEXT *ppChainContext); + +PCCERT_CHAIN_CONTEXT WINAPI CertDuplicateCertificateChain( + PCCERT_CHAIN_CONTEXT pChainContext); + +VOID WINAPI CertFreeCertificateChain(PCCERT_CHAIN_CONTEXT pChainContext); + +PCCERT_CHAIN_CONTEXT WINAPI CertFindChainInStore(HCERTSTORE hCertStore, + DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, + const void *pvFindPara, PCCERT_CHAIN_CONTEXT pPrevChainContext); + +BOOL WINAPI CertVerifyCertificateChainPolicy(LPCSTR szPolicyOID, + PCCERT_CHAIN_CONTEXT pChainContext, PCERT_CHAIN_POLICY_PARA pPolicyPara, + PCERT_CHAIN_POLICY_STATUS pPolicyStatus); + +DWORD WINAPI CertEnumCertificateContextProperties(PCCERT_CONTEXT pCertContext, + DWORD dwPropId); + +BOOL WINAPI CertGetCertificateContextProperty(PCCERT_CONTEXT pCertContext, + DWORD dwPropId, void *pvData, DWORD *pcbData); + +BOOL WINAPI CertSetCertificateContextProperty(PCCERT_CONTEXT pCertContext, + DWORD dwPropId, DWORD dwFlags, const void *pvData); + +DWORD WINAPI CertEnumCRLContextProperties(PCCRL_CONTEXT pCRLContext, + DWORD dwPropId); + +BOOL WINAPI CertGetCRLContextProperty(PCCRL_CONTEXT pCRLContext, + DWORD dwPropId, void *pvData, DWORD *pcbData); + +BOOL WINAPI CertSetCRLContextProperty(PCCRL_CONTEXT pCRLContext, + DWORD dwPropId, DWORD dwFlags, const void *pvData); + +DWORD WINAPI CertEnumCTLContextProperties(PCCTL_CONTEXT pCTLContext, + DWORD dwPropId); + +BOOL WINAPI CertEnumSubjectInSortedCTL(PCCTL_CONTEXT pCTLContext, + void **ppvNextSubject, PCRYPT_DER_BLOB pSubjectIdentifier, + PCRYPT_DER_BLOB pEncodedAttributes); + +BOOL WINAPI CertGetCTLContextProperty(PCCTL_CONTEXT pCTLContext, + DWORD dwPropId, void *pvData, DWORD *pcbData); + +BOOL WINAPI CertSetCTLContextProperty(PCCTL_CONTEXT pCTLContext, + DWORD dwPropId, DWORD dwFlags, const void *pvData); + +BOOL WINAPI CertGetStoreProperty(HCERTSTORE hCertStore, DWORD dwPropId, + void *pvData, DWORD *pcbData); + +BOOL WINAPI CertSetStoreProperty(HCERTSTORE hCertStore, DWORD dwPropId, + DWORD dwFlags, const void *pvData); + +BOOL WINAPI CertControlStore(HCERTSTORE hCertStore, DWORD dwFlags, + DWORD dwCtrlType, void const *pvCtrlPara); + +HCERTSTORE WINAPI CertDuplicateStore(HCERTSTORE hCertStore); + +BOOL WINAPI CertCloseStore( HCERTSTORE hCertStore, DWORD dwFlags ); + +BOOL WINAPI CertFreeCertificateContext( PCCERT_CONTEXT pCertContext ); + +BOOL WINAPI CertFreeCRLContext( PCCRL_CONTEXT pCrlContext ); + +BOOL WINAPI CertFreeCTLContext( PCCTL_CONTEXT pCtlContext ); + +BOOL WINAPI CertAddCertificateContextToStore(HCERTSTORE hCertStore, + PCCERT_CONTEXT pCertContext, DWORD dwAddDisposition, + PCCERT_CONTEXT *ppStoreContext); + +BOOL WINAPI CertAddCRLContextToStore( HCERTSTORE hCertStore, + PCCRL_CONTEXT pCrlContext, DWORD dwAddDisposition, + PCCRL_CONTEXT *ppStoreContext ); + +BOOL WINAPI CertAddCTLContextToStore( HCERTSTORE hCertStore, + PCCTL_CONTEXT pCtlContext, DWORD dwAddDisposition, + PCCTL_CONTEXT *ppStoreContext ); + +BOOL WINAPI CertAddCertificateLinkToStore(HCERTSTORE hCertStore, + PCCERT_CONTEXT pCertContext, DWORD dwAddDisposition, + PCCERT_CONTEXT *ppStoreContext); + +BOOL WINAPI CertAddCRLLinkToStore(HCERTSTORE hCertStore, + PCCRL_CONTEXT pCrlContext, DWORD dwAddDisposition, + PCCRL_CONTEXT *ppStoreContext); + +BOOL WINAPI CertAddCTLLinkToStore(HCERTSTORE hCertStore, + PCCTL_CONTEXT pCtlContext, DWORD dwAddDisposition, + PCCTL_CONTEXT *ppStoreContext); + +BOOL WINAPI CertAddEncodedCertificateToStore(HCERTSTORE hCertStore, + DWORD dwCertEncodingType, const BYTE *pbCertEncoded, DWORD cbCertEncoded, + DWORD dwAddDisposition, PCCERT_CONTEXT *ppCertContext); + +BOOL WINAPI CertAddEncodedCertificateToSystemStoreA(LPCSTR pszCertStoreName, + const BYTE *pbCertEncoded, DWORD cbCertEncoded); +BOOL WINAPI CertAddEncodedCertificateToSystemStoreW(LPCWSTR pszCertStoreName, + const BYTE *pbCertEncoded, DWORD cbCertEncoded); +#define CertAddEncodedCertificateToSystemStore \ + WINELIB_NAME_AW(CertAddEncodedCertificateToSystemStore) + +BOOL WINAPI CertAddEncodedCRLToStore(HCERTSTORE hCertStore, + DWORD dwCertEncodingType, const BYTE *pbCrlEncoded, DWORD cbCrlEncoded, + DWORD dwAddDisposition, PCCRL_CONTEXT *ppCrlContext); + +BOOL WINAPI CertAddEncodedCTLToStore(HCERTSTORE hCertStore, + DWORD dwMsgAndCertEncodingType, const BYTE *pbCtlEncoded, DWORD cbCtlEncoded, + DWORD dwAddDisposition, PCCTL_CONTEXT *ppCtlContext); + +BOOL WINAPI CertAddSerializedElementToStore(HCERTSTORE hCertStore, + const BYTE *pbElement, DWORD cbElement, DWORD dwAddDisposition, DWORD dwFlags, + DWORD dwContextTypeFlags, DWORD *pdwContentType, const void **ppvContext); + +BOOL WINAPI CertCompareCertificate(DWORD dwCertEncodingType, + PCERT_INFO pCertId1, PCERT_INFO pCertId2); +BOOL WINAPI CertCompareCertificateName(DWORD dwCertEncodingType, + PCERT_NAME_BLOB pCertName1, PCERT_NAME_BLOB pCertName2); +BOOL WINAPI CertCompareIntegerBlob(PCRYPT_INTEGER_BLOB pInt1, + PCRYPT_INTEGER_BLOB pInt2); +BOOL WINAPI CertComparePublicKeyInfo(DWORD dwCertEncodingType, + PCERT_PUBLIC_KEY_INFO pPublicKey1, PCERT_PUBLIC_KEY_INFO pPublicKey2); +DWORD WINAPI CertGetPublicKeyLength(DWORD dwCertEncodingType, + PCERT_PUBLIC_KEY_INFO pPublicKey); + +const void * WINAPI CertCreateContext(DWORD dwContextType, DWORD dwEncodingType, + const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, + PCERT_CREATE_CONTEXT_PARA pCreatePara); + +PCCERT_CONTEXT WINAPI CertCreateCertificateContext(DWORD dwCertEncodingType, + const BYTE *pbCertEncoded, DWORD cbCertEncoded); + +PCCRL_CONTEXT WINAPI CertCreateCRLContext( DWORD dwCertEncodingType, + const BYTE* pbCrlEncoded, DWORD cbCrlEncoded); + +PCCTL_CONTEXT WINAPI CertCreateCTLContext(DWORD dwMsgAndCertEncodingType, + const BYTE *pbCtlEncoded, DWORD cbCtlEncoded); + +PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hProv, + PCERT_NAME_BLOB pSubjectIssuerBlob, DWORD dwFlags, + PCRYPT_KEY_PROV_INFO pKeyProvInfo, + PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, PSYSTEMTIME pStartTime, + PSYSTEMTIME pEndTime, PCERT_EXTENSIONS pExtensions); + +BOOL WINAPI CertDeleteCertificateFromStore(PCCERT_CONTEXT pCertContext); + +BOOL WINAPI CertDeleteCRLFromStore(PCCRL_CONTEXT pCrlContext); + +BOOL WINAPI CertDeleteCTLFromStore(PCCTL_CONTEXT pCtlContext); + +PCCERT_CONTEXT WINAPI CertDuplicateCertificateContext( + PCCERT_CONTEXT pCertContext); + +PCCRL_CONTEXT WINAPI CertDuplicateCRLContext(PCCRL_CONTEXT pCrlContext); + +PCCTL_CONTEXT WINAPI CertDuplicateCTLContext(PCCTL_CONTEXT pCtlContext); + +PCCERT_CONTEXT WINAPI CertFindCertificateInStore( HCERTSTORE hCertStore, + DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, + const void *pvFindPara, PCCERT_CONTEXT pPrevCertContext ); + +PCCRL_CONTEXT WINAPI CertFindCRLInStore(HCERTSTORE hCertStore, + DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, + const void *pvFindPara, PCCRL_CONTEXT pPrevCrlContext); + +PCCTL_CONTEXT WINAPI CertFindCTLInStore(HCERTSTORE hCertStore, + DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, + const void *pvFindPara, PCCTL_CONTEXT pPrevCtlContext); + +PCCERT_CONTEXT WINAPI CertGetIssuerCertificateFromStore(HCERTSTORE hCertStore, + PCCERT_CONTEXT pSubjectContext, PCCERT_CONTEXT pPrevIssuerContext, + DWORD *pdwFlags); + +PCCERT_CONTEXT WINAPI CertGetSubjectCertificateFromStore(HCERTSTORE hCertStore, + DWORD dwCertEncodingType, PCERT_INFO pCertId); + +PCCRL_CONTEXT WINAPI CertGetCRLFromStore(HCERTSTORE hCertStore, + PCCERT_CONTEXT pIssuerContext, PCCRL_CONTEXT pPrevCrlContext, DWORD *pdwFlags); + +BOOL WINAPI CertSerializeCertificateStoreElement(PCCERT_CONTEXT pCertContext, + DWORD dwFlags, BYTE *pbElement, DWORD *pcbElement); + +BOOL WINAPI CertSerializeCRLStoreElement(PCCRL_CONTEXT pCrlContext, + DWORD dwFlags, BYTE *pbElement, DWORD *pcbElement); + +BOOL WINAPI CertSerializeCTLStoreElement(PCCTL_CONTEXT pCtlContext, + DWORD dwFlags, BYTE *pbElement, DWORD *pcbElement); + +BOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType, + PCERT_INFO pCertInfo, BYTE *pbKeyUsage, DWORD cbKeyUsage); + +BOOL WINAPI CertGetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext, DWORD dwFlags, + PCERT_ENHKEY_USAGE pUsage, DWORD *pcbUsage); +BOOL WINAPI CertSetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext, + PCERT_ENHKEY_USAGE pUsage); +BOOL WINAPI CertAddEnhancedKeyUsageIdentifier(PCCERT_CONTEXT pCertContext, + LPCSTR pszUsageIdentifier); +BOOL WINAPI CertRemoveEnhancedKeyUsageIdentifier(PCCERT_CONTEXT pCertContext, + LPCSTR pszUsageIdentifier); +BOOL WINAPI CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts, + int *cNumOIDs, LPSTR *rghOIDs, DWORD *pcbOIDs); + +BOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType, LPCSTR lpszStructType, + const void *pvStructInfo, BYTE *pbEncoded, DWORD *pcbEncoded); +BOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType, + const void *pvStructInfo, DWORD dwFlags, PCRYPT_ENCODE_PARA pEncodePara, + void *pvEncoded, DWORD *pcbEncoded); + +BOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType, LPCSTR lpszStructType, + const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, void *pvStructInfo, + DWORD *pcbStructInfo); +BOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType, + const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, + PCRYPT_DECODE_PARA pDecodePara, void *pvStructInfo, DWORD *pcbStructInfo); + +BOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType, DWORD dwFormatType, + DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, + const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat); + +BOOL WINAPI CryptHashCertificate(HCRYPTPROV_LEGACY hCryptProv, ALG_ID Algid, + DWORD dwFlags, const BYTE *pbEncoded, DWORD cbEncoded, BYTE *pbComputedHash, + DWORD *pcbComputedHash); + +BOOL WINAPI CryptHashPublicKeyInfo(HCRYPTPROV_LEGACY hCryptProv, ALG_ID Algid, + DWORD dwFlags, DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, + BYTE *pbComputedHash, DWORD *pcbComputedHash); + +BOOL WINAPI CryptHashToBeSigned(HCRYPTPROV_LEGACY hCryptProv, DWORD dwCertEncodingType, + const BYTE *pbEncoded, DWORD cbEncoded, BYTE *pbComputedHash, + DWORD *pcbComputedHash); + +BOOL WINAPI CryptQueryObject(DWORD dwObjectType, const void* pvObject, + DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, + DWORD dwFlags, DWORD* pdwMsgAndCertEncodingType, DWORD* pdwContentType, + DWORD* pdwFormatType, HCERTSTORE* phCertStore, HCRYPTMSG* phMsg, + const void** ppvContext); + +BOOL WINAPI CryptSignCertificate(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, DWORD dwKeySpec, + DWORD dwCertEncodingType, const BYTE *pbEncodedToBeSigned, + DWORD cbEncodedToBeSigned, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, + const void *pvHashAuxInfo, BYTE *pbSignature, DWORD *pcbSignature); + +BOOL WINAPI CryptSignAndEncodeCertificate(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, + DWORD dwKeySpec, DWORD dwCertEncodingType, LPCSTR lpszStructType, + const void *pvStructInfo, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, + const void *pvHashAuxInfo, BYTE *pbEncoded, DWORD *pcbEncoded); + +BOOL WINAPI CryptVerifyCertificateSignature(HCRYPTPROV_LEGACY hCryptProv, + DWORD dwCertEncodingType, const BYTE *pbEncoded, DWORD cbEncoded, + PCERT_PUBLIC_KEY_INFO pPublicKey); + +BOOL WINAPI CryptVerifyCertificateSignatureEx(HCRYPTPROV_LEGACY hCryptProv, + DWORD dwCertEncodingType, DWORD dwSubjectType, void *pvSubject, + DWORD dwIssuerType, void *pvIssuer, DWORD dwFlags, void *pvReserved); + +PCRYPT_ATTRIBUTE WINAPI CertFindAttribute(LPCSTR pszObjId, DWORD cAttr, + CRYPT_ATTRIBUTE rgAttr[]); +PCERT_EXTENSION WINAPI CertFindExtension(LPCSTR pszObjId, DWORD cExtensions, + CERT_EXTENSION rgExtensions[]); +PCERT_RDN_ATTR WINAPI CertFindRDNAttr(LPCSTR pszObjId, PCERT_NAME_INFO pName); + +BOOL WINAPI CertFindSubjectInSortedCTL(PCRYPT_DATA_BLOB pSubjectIdentifier, + PCCTL_CONTEXT pCtlContext, DWORD dwFlags, void *pvReserved, + PCRYPT_DER_BLOB pEncodedAttributes); + +BOOL WINAPI CertIsRDNAttrsInCertificateName(DWORD dwCertEncodingType, + DWORD dwFlags, PCERT_NAME_BLOB pCertName, PCERT_RDN pRDN); + +BOOL WINAPI CertIsValidCRLForCertificate(PCCERT_CONTEXT pCert, + PCCRL_CONTEXT pCrl, DWORD dwFlags, void *pvReserved); +BOOL WINAPI CertFindCertificateInCRL(PCCERT_CONTEXT pCert, + PCCRL_CONTEXT pCrlContext, DWORD dwFlags, void *pvReserved, + PCRL_ENTRY *ppCrlEntry); +BOOL WINAPI CertVerifyCRLRevocation(DWORD dwCertEncodingType, + PCERT_INFO pCertId, DWORD cCrlInfo, PCRL_INFO rgpCrlInfo[]); + +BOOL WINAPI CertVerifySubjectCertificateContext(PCCERT_CONTEXT pSubject, + PCCERT_CONTEXT pIssuer, DWORD *pdwFlags); + +LONG WINAPI CertVerifyCRLTimeValidity(LPFILETIME pTimeToVerify, + PCRL_INFO pCrlInfo); +LONG WINAPI CertVerifyTimeValidity(LPFILETIME pTimeToVerify, + PCERT_INFO pCertInfo); +BOOL WINAPI CertVerifyValidityNesting(PCERT_INFO pSubjectInfo, + PCERT_INFO pIssuerInfo); + +BOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType, DWORD dwSubjectType, + void *pvSubject, PCTL_USAGE pSubjectUsage, DWORD dwFlags, + PCTL_VERIFY_USAGE_PARA pVerifyUsagePara, + PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus); + +BOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType, + DWORD cContext, PVOID rgpvContext[], DWORD dwFlags, + PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus); + +BOOL WINAPI CryptExportPublicKeyInfo(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, DWORD dwKeySpec, + DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, DWORD *pcbInfo); +BOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, DWORD dwKeySpec, + DWORD dwCertEncodingType, LPSTR pszPublicKeyObjId, DWORD dwFlags, + void *pvAuxInfo, PCERT_PUBLIC_KEY_INFO pInfo, DWORD *pcbInfo); +BOOL WINAPI CryptImportPublicKeyInfo(HCRYPTPROV hCryptProv, + DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, HCRYPTKEY *phKey); +BOOL WINAPI CryptImportPublicKeyInfoEx(HCRYPTPROV hCryptProv, + DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, ALG_ID aiKeyAlg, + DWORD dwFlags, void *pvAuxInfo, HCRYPTKEY *phKey); + +BOOL WINAPI CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert, + DWORD dwFlags, void *pvReserved, HCRYPTPROV_OR_NCRYPT_KEY_HANDLE *phCryptProv, DWORD *pdwKeySpec, + BOOL *pfCallerFreeProv); + +BOOL WINAPI CryptFindCertificateKeyProvInfo(PCCERT_CONTEXT pCert, + DWORD dwFlags, void *pvReserved); + +BOOL WINAPI CryptProtectData( DATA_BLOB* pDataIn, LPCWSTR szDataDescr, + DATA_BLOB* pOptionalEntropy, PVOID pvReserved, + CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut ); + +BOOL WINAPI CryptUnprotectData( DATA_BLOB* pDataIn, LPWSTR* ppszDataDescr, + DATA_BLOB* pOptionalEntropy, PVOID pvReserved, + CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut ); + +BOOL WINAPI CryptProtectMemory(void *pData, DWORD cbData, DWORD dwFlags); +BOOL WINAPI CryptUnprotectMemory(void *pData, DWORD cbData, DWORD dwFlags); + +DWORD WINAPI CertGetNameStringA(PCCERT_CONTEXT pCertContext, DWORD dwType, + DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString); +DWORD WINAPI CertGetNameStringW(PCCERT_CONTEXT pCertContext, DWORD dwType, + DWORD dwFlags, void *pvTypePara, LPWSTR pszNameString, DWORD cchNameString); +#define CertGetNameString WINELIB_NAME_AW(CertGetNameString) + +DWORD WINAPI CertRDNValueToStrA(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue, + LPSTR psz, DWORD csz); +DWORD WINAPI CertRDNValueToStrW(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue, + LPWSTR psz, DWORD csz); +#define CertRDNValueToStr WINELIB_NAME_AW(CertRDNValueToStr) + +DWORD WINAPI CertNameToStrA(DWORD dwCertEncodingType, PCERT_NAME_BLOB pName, + DWORD dwStrType, LPSTR psz, DWORD csz); +DWORD WINAPI CertNameToStrW(DWORD dwCertEncodingType, PCERT_NAME_BLOB pName, + DWORD dwStrType, LPWSTR psz, DWORD csz); +#define CertNameToStr WINELIB_NAME_AW(CertNameToStr) + +BOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType, LPCSTR pszX500, + DWORD dwStrType, void *pvReserved, BYTE *pbEncoded, DWORD *pcbEncoded, + LPCSTR *ppszError); +BOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType, LPCWSTR pszX500, + DWORD dwStrType, void *pvReserved, BYTE *pbEncoded, DWORD *pcbEncoded, + LPCWSTR *ppszError); +#define CertStrToName WINELIB_NAME_AW(CertStrToName) + +DWORD WINAPI CryptMsgCalculateEncodedLength(DWORD dwMsgEncodingType, + DWORD dwFlags, DWORD dwMsgType, const void *pvMsgEncodeInfo, + LPSTR pszInnerContentObjID, DWORD cbData); + +BOOL WINAPI CryptMsgClose(HCRYPTMSG hCryptMsg); + +BOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags, + DWORD dwCtrlType, const void *pvCtrlPara); + +BOOL WINAPI CryptMsgCountersign(HCRYPTMSG hCryptMsg, DWORD dwIndex, + DWORD dwCountersigners, PCMSG_SIGNER_ENCODE_INFO rgCountersigners); + +BOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType, PBYTE pbSignerInfo, + DWORD cbSignerInfo, DWORD cCountersigners, + PCMSG_SIGNER_ENCODE_INFO rgCountersigners, PBYTE pbCountersignature, + PDWORD pcbCountersignature); + +HCRYPTMSG WINAPI CryptMsgDuplicate(HCRYPTMSG hCryptMsg); + +BOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType, + PCTL_INFO pCtlInfo, PCMSG_SIGNED_ENCODE_INFO pSignInfo, DWORD dwFlags, + BYTE *pbEncoded, DWORD *pcbEncoded); + +BOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg, DWORD cSignerStore, + HCERTSTORE *rghSignerStore, DWORD dwFlags, PCCERT_CONTEXT *ppSigner, + DWORD *pdwSignerIndex); + +BOOL WINAPI CryptMsgGetParam(HCRYPTMSG hCryptMsg, DWORD dwParamType, + DWORD dwIndex, void *pvData, DWORD *pcbData); + +HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType, DWORD dwFlags, + DWORD dwMsgType, HCRYPTPROV_LEGACY hCryptProv, PCERT_INFO pRecipientInfo, + PCMSG_STREAM_INFO pStreamInfo); + +HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType, DWORD dwFlags, + DWORD dwMsgType, const void *pvMsgEncodeInfo, LPSTR pszInnerContentObjID, + PCMSG_STREAM_INFO pStreamInfo); + +BOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType, BYTE *pbCtlContent, + DWORD cbCtlContent, PCMSG_SIGNED_ENCODE_INFO pSignInfo, DWORD dwFlags, + BYTE *pbEncoded, DWORD *pcbEncoded); + +BOOL WINAPI CryptMsgUpdate(HCRYPTMSG hCryptMsg, const BYTE *pbData, + DWORD cbData, BOOL fFinal); + +BOOL WINAPI CryptMsgVerifyCountersignatureEncoded(HCRYPTPROV_LEGACY hCryptProv, + DWORD dwEncodingType, PBYTE pbSignerInfo, DWORD cbSignerInfo, + PBYTE pbSignerInfoCountersignature, DWORD cbSignerInfoCountersignature, + PCERT_INFO pciCountersigner); + +BOOL WINAPI CryptMsgVerifyCountersignatureEncodedEx(HCRYPTPROV_LEGACY hCryptProv, + DWORD dwEncodingType, PBYTE pbSignerInfo, DWORD cbSignerInfo, + PBYTE pbSignerInfoCountersignature, DWORD cbSignerInfoCountersignature, + DWORD dwSignerType, void *pvSigner, DWORD dwFlags, void *pvReserved); + +BOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara, + BOOL fDetachedSignature, DWORD cToBeSigned, const BYTE *rgpbToBeSigned[], + DWORD rgcbToBeSigned[], BYTE *pbSignedBlob, DWORD *pcbSignedBlob); +BOOL WINAPI CryptSignMessageWithKey(PCRYPT_KEY_SIGN_MESSAGE_PARA pSignPara, + const BYTE *pbToBeSigned, DWORD cbToBeSigned, BYTE *pbSignedBlob, + DWORD *pcbSignedBlob); + +BOOL WINAPI CryptVerifyMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, + DWORD dwSignerIndex, const BYTE* pbSignedBlob, DWORD cbSignedBlob, + BYTE* pbDecoded, DWORD* pcbDecoded, PCCERT_CONTEXT* ppSignerCert); +BOOL WINAPI CryptVerifyMessageSignatureWithKey( + PCRYPT_KEY_VERIFY_MESSAGE_PARA pVerifyPara, + PCERT_PUBLIC_KEY_INFO pPublicKeyInfo, const BYTE *pbSignedBlob, + DWORD cbSignedBlob, BYTE *pbDecoded, DWORD *pcbDecoded); + +BOOL WINAPI CryptVerifyDetachedMessageSignature( + PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, + const BYTE *pbDetachedSignBlob, DWORD cbDetachedSignBlob, DWORD cToBeSigned, + const BYTE *rgpbToBeSigned[], DWORD rgcbToBeSigned[], + PCCERT_CONTEXT *ppSignerCert); +LONG WINAPI CryptGetMessageSignerCount(DWORD dwMsgEncodingType, + const BYTE *pbSignedBlob, DWORD cbSignedBlob); + +BOOL WINAPI CryptEncryptMessage(PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara, + DWORD cRecipientCert, PCCERT_CONTEXT rgpRecipientCert[], + const BYTE *pbToBeEncrypted, DWORD cbToBeEncrypted, BYTE *pbEncryptedBlob, + DWORD *pcbEncryptedBlob); +BOOL WINAPI CryptDecryptMessage(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara, + const BYTE *pbEncryptedBlob, DWORD cbEncryptedBlob, BYTE *pbDecrypted, + DWORD *pcbDecrypted, PCCERT_CONTEXT *ppXchgCert); + +BOOL WINAPI CryptSignAndEncryptMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara, + PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara, DWORD cRecipientCert, + PCCERT_CONTEXT rgpRecipientCert[], const BYTE *pbToBeSignedAndEncrypted, + DWORD cbToBeSignedAndEncrypted, BYTE *pbSignedAndEncryptedBlob, + DWORD *pcbSignedAndEncryptedBlob); +BOOL WINAPI CryptDecryptAndVerifyMessageSignature( + PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara, + PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, + const BYTE *pbEncryptedBlob, DWORD cbEncryptedBlob, BYTE *pbDecrypted, + DWORD *pcbDecrypted, PCCERT_CONTEXT *ppXchgCert, PCCERT_CONTEXT *ppSignerCert); + +HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType, + HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const BYTE *pbSignedBlob, + DWORD cbSignedBlob); + +BOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags, + PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara, + PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, + const BYTE *pbEncodedBlob, DWORD cbEncodedBlob, DWORD dwPrevInnerContentType, + DWORD *pdwMsgType, DWORD *pdwInnerContentType, BYTE *pbDecoded, + DWORD *pcbDecoded, PCCERT_CONTEXT *ppXchgCert, PCCERT_CONTEXT *ppSignerCert); + +BOOL WINAPI CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara, + BOOL fDetachedHash, DWORD cToBeHashed, const BYTE *rgpbToBeHashed[], + DWORD rgcbToBeHashed[], BYTE *pbHashedBlob, DWORD *pcbHashedBlob, + BYTE *pbComputedHash, DWORD *pcbComputedHash); +BOOL WINAPI CryptVerifyMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara, + BYTE *pbHashedBlob, DWORD cbHashedBlob, BYTE *pbToBeHashed, + DWORD *pcbToBeHashed, BYTE *pbComputedHash, DWORD *pcbComputedHash); +BOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara, + BYTE *pbDetachedHashBlob, DWORD cbDetachedHashBlob, DWORD cToBeHashed, + const BYTE *rgpbToBeHashed[], DWORD rgcbToBeHashed[], BYTE *pbComputedHash, + DWORD *pcbComputedHash); + +/* PFX functions */ +HCERTSTORE WINAPI PFXImportCertStore(CRYPT_DATA_BLOB *pPFX, LPCWSTR szPassword, + DWORD dwFlags); +BOOL WINAPI PFXIsPFXBlob(CRYPT_DATA_BLOB *pPFX); +BOOL WINAPI PFXVerifyPassword(CRYPT_DATA_BLOB *pPFX, LPCWSTR szPassword, + DWORD dwFlags); +BOOL WINAPI PFXExportCertStoreEx(HCERTSTORE hStore, CRYPT_DATA_BLOB *pPFX, + LPCWSTR szPassword, void *pvReserved, DWORD dwFlags); +BOOL WINAPI PFXExportCertStore(HCERTSTORE hStore, CRYPT_DATA_BLOB *pPFX, + LPCWSTR szPassword, DWORD dwFlags); + +/* cryptnet.dll functions */ +BOOL WINAPI CryptCancelAsyncRetrieval(HCRYPTASYNC hAsyncRetrieval); + +BOOL WINAPI CryptGetObjectUrl(LPCSTR pszUrlOid, LPVOID pvPara, DWORD dwFlags, + PCRYPT_URL_ARRAY pUrlArray, DWORD *pcbUrlArray, PCRYPT_URL_INFO pUrlInfo, + DWORD *pcbUrlInfo, LPVOID pvReserved); + +BOOL WINAPI CryptGetTimeValidObject(LPCSTR pszTimeValidOid, void *pvPara, + PCCERT_CONTEXT pIssuer, LPFILETIME pftValidFor, DWORD dwFlags, DWORD dwTimeout, + void **ppvObject, PCRYPT_CREDENTIALS pCredentials, void *pvReserved); + +BOOL WINAPI CryptFlushTimeValidObject(LPCSTR pszFlushTimeValidOid, void *pvPara, + PCCERT_CONTEXT pIssuer, DWORD dwFlags, void *pvReserved); + +BOOL WINAPI CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel, + const void *pvArg, DWORD dwFlags, void *pvReserved); + +BOOL WINAPI CryptUninstallCancelRetrieval(DWORD dwFlags, void *pvReserved); + +BOOL WINAPI CryptRetrieveObjectByUrlA(LPCSTR pszURL, LPCSTR pszObjectOid, + DWORD dwRetrievalFlags, DWORD dwTimeout, LPVOID *ppvObject, + HCRYPTASYNC hAsyncRetrieve, PCRYPT_CREDENTIALS pCredentials, LPVOID pvVerify, + PCRYPT_RETRIEVE_AUX_INFO pAuxInfo); +BOOL WINAPI CryptRetrieveObjectByUrlW(LPCWSTR pszURL, LPCSTR pszObjectOid, + DWORD dwRetrievalFlags, DWORD dwTimeout, LPVOID *ppvObject, + HCRYPTASYNC hAsyncRetrieve, PCRYPT_CREDENTIALS pCredentials, LPVOID pvVerify, + PCRYPT_RETRIEVE_AUX_INFO pAuxInfo); +#define CryptRetrieveObjectByUrl WINELIB_NAME_AW(CryptRetrieveObjectByUrl) + +/* Not found in crypt32.dll but in softpub.dll */ +HRESULT WINAPI FindCertsByIssuer(PCERT_CHAIN pCertChains, DWORD *pcbCertChains, + DWORD *pcCertChains, BYTE* pbEncodedIssuerName, DWORD cbEncodedIssuerName, + LPCWSTR pwszPurpose, DWORD dwKeySpec); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windef.h new file mode 100644 index 0000000..e77b1ca --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windef.h @@ -0,0 +1,430 @@ +/* + * Basic types definitions + * + * Copyright 1996 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINDEF_ +#define _WINDEF_ + +#ifndef WINVER +#define WINVER 0x0500 +#endif + +#ifndef NO_STRICT +# ifndef STRICT +# define STRICT +# endif /* STRICT */ +#endif /* NO_STRICT */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* Calling conventions definitions */ + +#if (defined(__x86_64__) || defined(__powerpc64__) || defined(__aarch64__)) && !defined(_WIN64) +#define _WIN64 +#endif + +#ifndef _WIN64 +# if defined(__i386__) && !defined(_X86_) +# define _X86_ +# endif +# if defined(_X86_) && !defined(__i386__) +# define __i386__ +# endif +#endif + +#ifndef __stdcall +# ifdef __i386__ +# ifdef __GNUC__ +# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__) +# define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__)) +# else +# define __stdcall __attribute__((__stdcall__)) +# endif +# elif defined(_MSC_VER) + /* Nothing needs to be done. __stdcall already exists */ +# else +# error You need to define __stdcall for your compiler +# endif +# elif defined(__x86_64__) && defined (__GNUC__) +# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) +# define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) +# else +# define __stdcall __attribute__((ms_abi)) +# endif +# else /* __i386__ */ +# define __stdcall +# endif /* __i386__ */ +#endif /* __stdcall */ + +#ifndef __cdecl +# if defined(__i386__) && defined(__GNUC__) +# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__) +# define __cdecl __attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__)) +# else +# define __cdecl __attribute__((__cdecl__)) +# endif +# elif defined(__x86_64__) && defined (__GNUC__) +# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) +# define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) +# else +# define __cdecl __attribute__((ms_abi)) +# endif +# elif !defined(_MSC_VER) +# define __cdecl +# endif +#endif /* __cdecl */ + +#ifndef __ms_va_list +# if defined(__x86_64__) && defined (__GNUC__) +# define __ms_va_list __builtin_ms_va_list +# define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg) +# define __ms_va_end(list) __builtin_ms_va_end(list) +# define __ms_va_copy(dest,src) __builtin_ms_va_copy(dest,src) +# else +# define __ms_va_list va_list +# define __ms_va_start(list,arg) va_start(list,arg) +# define __ms_va_end(list) va_end(list) +# ifdef va_copy +# define __ms_va_copy(dest,src) va_copy(dest,src) +# else +# define __ms_va_copy(dest,src) ((dest) = (src)) +# endif +# endif +#endif + +#ifdef __WINESRC__ +#define __ONLY_IN_WINELIB(x) do_not_use_this_in_wine +#else +#define __ONLY_IN_WINELIB(x) x +#endif + +#ifndef pascal +#define pascal __ONLY_IN_WINELIB(__stdcall) +#endif +#ifndef _pascal +#define _pascal __ONLY_IN_WINELIB(__stdcall) +#endif +#ifndef _stdcall +#define _stdcall __ONLY_IN_WINELIB(__stdcall) +#endif +#ifndef _fastcall +#define _fastcall __ONLY_IN_WINELIB(__stdcall) +#endif +#ifndef __fastcall +#define __fastcall __ONLY_IN_WINELIB(__stdcall) +#endif +#ifndef __export +#define __export __ONLY_IN_WINELIB(__stdcall) +#endif +#ifndef cdecl +#define cdecl __ONLY_IN_WINELIB(__cdecl) +#endif +#ifndef _cdecl +#define _cdecl __ONLY_IN_WINELIB(__cdecl) +#endif + +#ifndef near +#define near __ONLY_IN_WINELIB(/* nothing */) +#endif +#ifndef far +#define far __ONLY_IN_WINELIB(/* nothing */) +#endif +#ifndef _near +#define _near __ONLY_IN_WINELIB(/* nothing */) +#endif +#ifndef _far +#define _far __ONLY_IN_WINELIB(/* nothing */) +#endif +#ifndef NEAR +#define NEAR __ONLY_IN_WINELIB(/* nothing */) +#endif +#ifndef FAR +#define FAR __ONLY_IN_WINELIB(/* nothing */) +#endif + +#ifndef _MSC_VER +# ifndef _declspec +# define _declspec(x) __ONLY_IN_WINELIB(/* nothing */) +# endif +# ifndef __declspec +# define __declspec(x) __ONLY_IN_WINELIB(/* nothing */) +# endif +#endif + +#ifdef _MSC_VER +# define inline __inline +#endif + +#define CALLBACK __stdcall +#define WINAPI __stdcall +#define APIPRIVATE __stdcall +#define PASCAL __stdcall +#define CDECL __cdecl +#define _CDECL __cdecl +#define WINAPIV __cdecl +#define APIENTRY WINAPI +#define CONST __ONLY_IN_WINELIB(const) + +/* Misc. constants. */ + +#undef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void*)0) +#endif + +#ifdef FALSE +#undef FALSE +#endif +#define FALSE 0 + +#ifdef TRUE +#undef TRUE +#endif +#define TRUE 1 + +#ifndef IN +#define IN +#endif + +#ifndef OUT +#define OUT +#endif + +#ifndef OPTIONAL +#define OPTIONAL +#endif + +/* Standard data types */ + +typedef void *LPVOID; +typedef const void *LPCVOID; +typedef int BOOL, *PBOOL, *LPBOOL; +typedef unsigned char BYTE, *PBYTE, *LPBYTE; +typedef unsigned char UCHAR, *PUCHAR; +typedef unsigned short WORD, *PWORD, *LPWORD; +typedef unsigned short USHORT, *PUSHORT; +typedef int INT, *PINT, *LPINT; +typedef unsigned int UINT, *PUINT; +typedef float FLOAT, *PFLOAT; +typedef char *PSZ; +#ifdef _MSC_VER +typedef long *LPLONG; +typedef unsigned long DWORD, *PDWORD, *LPDWORD; +typedef unsigned long ULONG, *PULONG; +#else +typedef int *LPLONG; +typedef unsigned int DWORD, *PDWORD, *LPDWORD; +typedef unsigned int ULONG, *PULONG; +#endif + +/* Macros to map Winelib names to the correct implementation name */ +/* Note that Winelib is purely Win32. */ + +#ifdef __WINESRC__ +#define WINE_NO_UNICODE_MACROS 1 +#define WINE_STRICT_PROTOTYPES 1 +#endif + +#ifdef WINE_NO_UNICODE_MACROS +# define WINELIB_NAME_AW(func) \ + func##_must_be_suffixed_with_W_or_A_in_this_context \ + func##_must_be_suffixed_with_W_or_A_in_this_context +#else /* WINE_NO_UNICODE_MACROS */ +# ifdef UNICODE +# define WINELIB_NAME_AW(func) func##W +# else +# define WINELIB_NAME_AW(func) func##A +# endif +#endif /* WINE_NO_UNICODE_MACROS */ + +#ifdef WINE_NO_UNICODE_MACROS +# define DECL_WINELIB_TYPE_AW(type) /* nothing */ +#else +# define DECL_WINELIB_TYPE_AW(type) typedef WINELIB_NAME_AW(type) type; +#endif + +#include + +/* Polymorphic types */ + +typedef UINT_PTR WPARAM; +typedef LONG_PTR LPARAM; +typedef LONG_PTR LRESULT; + +/* Integer types */ + +typedef WORD ATOM; +typedef DWORD COLORREF, *LPCOLORREF; + + +/* Handle types */ + +typedef int HFILE; +DECLARE_HANDLE(HACCEL); +DECLARE_HANDLE(HBITMAP); +DECLARE_HANDLE(HBRUSH); +DECLARE_HANDLE(HCOLORSPACE); +DECLARE_HANDLE(HDC); +DECLARE_HANDLE(HDESK); +DECLARE_HANDLE(HENHMETAFILE); +DECLARE_HANDLE(HFONT); +DECLARE_HANDLE(HGLRC); +DECLARE_HANDLE(HHOOK); +DECLARE_HANDLE(HICON); +DECLARE_HANDLE(HINSTANCE); +DECLARE_HANDLE(HKEY); +typedef HKEY *PHKEY; +DECLARE_HANDLE(HKL); +DECLARE_HANDLE(HMENU); +DECLARE_HANDLE(HMETAFILE); +DECLARE_HANDLE(HMONITOR); +DECLARE_HANDLE(HPALETTE); +DECLARE_HANDLE(HPEN); +DECLARE_HANDLE(HRGN); +DECLARE_HANDLE(HRSRC); +DECLARE_HANDLE(HTASK); +DECLARE_HANDLE(HWINEVENTHOOK); +DECLARE_HANDLE(HWINSTA); +DECLARE_HANDLE(HWND); + +/* Handle types that must remain interchangeable even with strict on */ + +typedef HINSTANCE HMODULE; +typedef HANDLE HGDIOBJ; +typedef HANDLE HGLOBAL; +typedef HANDLE HLOCAL; +typedef HANDLE GLOBALHANDLE; +typedef HANDLE LOCALHANDLE; +typedef HICON HCURSOR; + +/* Callback function pointers types */ + +#ifdef WINE_STRICT_PROTOTYPES +typedef INT_PTR (CALLBACK *FARPROC)(void); +typedef INT_PTR (CALLBACK *NEARPROC)(void); +typedef INT_PTR (CALLBACK *PROC)(void); +#else +typedef INT_PTR (CALLBACK *FARPROC)(); +typedef INT_PTR (CALLBACK *NEARPROC)(); +typedef INT_PTR (CALLBACK *PROC)(); +#endif + +/* Macros to split words and longs. */ + +#define LOBYTE(w) ((BYTE)((DWORD_PTR)(w) & 0xFF)) +#define HIBYTE(w) ((BYTE)((DWORD_PTR)(w) >> 8)) + +#define LOWORD(l) ((WORD)((DWORD_PTR)(l) & 0xFFFF)) +#define HIWORD(l) ((WORD)((DWORD_PTR)(l) >> 16)) + +#define MAKEWORD(low,high) ((WORD)(((BYTE)((DWORD_PTR)(low) & 0xFF)) | ((WORD)((BYTE)((DWORD_PTR)(high) & 0xFF))) << 8)) +#define MAKELONG(low,high) ((LONG)(((WORD)((DWORD_PTR)(low) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(high) & 0xFFFF))) << 16)) + +/* min and max macros */ +#ifndef NOMINMAX +#ifndef max +#define max(a,b) (((a) > (b)) ? (a) : (b)) +#endif +#ifndef min +#define min(a,b) (((a) < (b)) ? (a) : (b)) +#endif +#endif /* NOMINMAX */ + +#ifdef MAX_PATH /* Work-around for Mingw */ +#undef MAX_PATH +#endif /* MAX_PATH */ + +#define MAX_PATH 260 +#define HFILE_ERROR ((HFILE)-1) + +/* The SIZE structure */ +typedef struct tagSIZE +{ + LONG cx; + LONG cy; +} SIZE, *PSIZE, *LPSIZE; + +typedef SIZE SIZEL, *PSIZEL, *LPSIZEL; + +/* The POINT structure */ +typedef struct tagPOINT +{ + LONG x; + LONG y; +} POINT, *PPOINT, *LPPOINT; + +typedef struct _POINTL +{ + LONG x; + LONG y; +} POINTL, *PPOINTL; + +/* The POINTS structure */ + +typedef struct tagPOINTS +{ +#ifdef WORDS_BIGENDIAN + SHORT y; + SHORT x; +#else + SHORT x; + SHORT y; +#endif +} POINTS, *PPOINTS, *LPPOINTS; + +typedef struct _FILETIME { +#ifdef WORDS_BIGENDIAN + DWORD dwHighDateTime; + DWORD dwLowDateTime; +#else + DWORD dwLowDateTime; + DWORD dwHighDateTime; +#endif +} FILETIME, *PFILETIME, *LPFILETIME; +#define _FILETIME_ + +/* The RECT structure */ +typedef struct tagRECT +{ + LONG left; + LONG top; + LONG right; + LONG bottom; +} RECT, *PRECT, *LPRECT; +typedef const RECT *LPCRECT; + +typedef struct _RECTL +{ + LONG left; + LONG top; + LONG right; + LONG bottom; +} RECTL, *PRECTL, *LPRECTL; + +typedef const RECTL *LPCRECTL; + +#ifdef __cplusplus +} +#endif + +#endif /* _WINDEF_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windns.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windns.h new file mode 100644 index 0000000..f150919 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windns.h @@ -0,0 +1,732 @@ +/* + * DNS support + * + * Copyright (C) 2006 Matthew Kehrer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINDNS_H +#define __WINE_WINDNS_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define DNS_TYPE_ZERO 0x0000 +#define DNS_TYPE_A 0x0001 +#define DNS_TYPE_NS 0x0002 +#define DNS_TYPE_MD 0x0003 +#define DNS_TYPE_MF 0x0004 +#define DNS_TYPE_CNAME 0x0005 +#define DNS_TYPE_SOA 0x0006 +#define DNS_TYPE_MB 0x0007 +#define DNS_TYPE_MG 0x0008 +#define DNS_TYPE_MR 0x0009 +#define DNS_TYPE_NULL 0x000a +#define DNS_TYPE_WKS 0x000b +#define DNS_TYPE_PTR 0x000c +#define DNS_TYPE_HINFO 0x000d +#define DNS_TYPE_MINFO 0x000e +#define DNS_TYPE_MX 0x000f +#define DNS_TYPE_TEXT 0x0010 +#define DNS_TYPE_RP 0x0011 +#define DNS_TYPE_AFSDB 0x0012 +#define DNS_TYPE_X25 0x0013 +#define DNS_TYPE_ISDN 0x0014 +#define DNS_TYPE_RT 0x0015 +#define DNS_TYPE_NSAP 0x0016 +#define DNS_TYPE_NSAPPTR 0x0017 +#define DNS_TYPE_SIG 0x0018 +#define DNS_TYPE_KEY 0x0019 +#define DNS_TYPE_PX 0x001a +#define DNS_TYPE_GPOS 0x001b +#define DNS_TYPE_AAAA 0x001c +#define DNS_TYPE_LOC 0x001d +#define DNS_TYPE_NXT 0x001e +#define DNS_TYPE_EID 0x001f +#define DNS_TYPE_NIMLOC 0x0020 +#define DNS_TYPE_SRV 0x0021 +#define DNS_TYPE_ATMA 0x0022 +#define DNS_TYPE_NAPTR 0x0023 +#define DNS_TYPE_KX 0x0024 +#define DNS_TYPE_CERT 0x0025 +#define DNS_TYPE_A6 0x0026 +#define DNS_TYPE_DNAME 0x0027 +#define DNS_TYPE_SINK 0x0028 +#define DNS_TYPE_OPT 0x0029 +#define DNS_TYPE_UINFO 0x0064 +#define DNS_TYPE_UID 0x0065 +#define DNS_TYPE_GID 0x0066 +#define DNS_TYPE_UNSPEC 0x0067 +#define DNS_TYPE_ADDRS 0x00f8 +#define DNS_TYPE_TKEY 0x00f9 +#define DNS_TYPE_TSIG 0x00fa +#define DNS_TYPE_IXFR 0x00fb +#define DNS_TYPE_AXFR 0x00fc +#define DNS_TYPE_MAILB 0x00fd +#define DNS_TYPE_MAILA 0x00fe +#define DNS_TYPE_ALL 0x00ff +#define DNS_TYPE_ANY 0x00ff + +#define DNS_TYPE_WINS 0xff01 +#define DNS_TYPE_WINSR 0xff02 +#define DNS_TYPE_NBSTAT (DNS_TYPE_WINSR) + +#define DNS_QUERY_STANDARD 0x00000000 +#define DNS_QUERY_ACCEPT_TRUNCATED_RESPONSE 0x00000001 +#define DNS_QUERY_USE_TCP_ONLY 0x00000002 +#define DNS_QUERY_NO_RECURSION 0x00000004 +#define DNS_QUERY_BYPASS_CACHE 0x00000008 +#define DNS_QUERY_NO_WIRE_QUERY 0x00000010 +#define DNS_QUERY_NO_LOCAL_NAME 0x00000020 +#define DNS_QUERY_NO_HOSTS_FILE 0x00000040 +#define DNS_QUERY_NO_NETBT 0x00000080 +#define DNS_QUERY_WIRE_ONLY 0x00000100 +#define DNS_QUERY_RETURN_MESSAGE 0x00000200 +#define DNS_QUERY_MULTICAST_ONLY 0x00000400 +#define DNS_QUERY_NO_MULTICAST 0x00000800 +#define DNS_QUERY_TREAT_AS_FQDN 0x00001000 +#define DNS_QUERY_ADDRCONFIG 0x00002000 +#define DNS_QUERY_DUAL_ADDR 0x00004000 +#define DNS_QUERY_DONT_RESET_TTL_VALUES 0x00100000 +#define DNS_QUERY_DISABLE_IDN_ENCODING 0x00200000 +#define DNS_QUERY_APPEND_MULTILABEL 0x00800000 +#define DNS_QUERY_DNSSEC_OK 0x01000000 +#define DNS_QUERY_DNSSEC_CHECKING_DISABLED 0x02000000 +#define DNS_QUERY_RESERVED 0xff000000 + +typedef enum _DNS_NAME_FORMAT +{ + DnsNameDomain, + DnsNameDomainLabel, + DnsNameHostnameFull, + DnsNameHostnameLabel, + DnsNameWildcard, + DnsNameSrvRecord +} DNS_NAME_FORMAT; + +typedef enum _DNS_FREE_TYPE +{ + DnsFreeFlat, + DnsFreeRecordList, + DnsFreeParsedMessageFields +} DNS_FREE_TYPE; + +typedef enum _DNS_CHARSET +{ + DnsCharSetUnknown, + DnsCharSetUnicode, + DnsCharSetUtf8, + DnsCharSetAnsi +} DNS_CHARSET; + +typedef enum _DNS_CONFIG_TYPE +{ + DnsConfigPrimaryDomainName_W, + DnsConfigPrimaryDomainName_A, + DnsConfigPrimaryDomainName_UTF8, + DnsConfigAdapterDomainName_W, + DnsConfigAdapterDomainName_A, + DnsConfigAdapterDomainName_UTF8, + DnsConfigDnsServerList, + DnsConfigSearchList, + DnsConfigAdapterInfo, + DnsConfigPrimaryHostNameRegistrationEnabled, + DnsConfigAdapterHostNameRegistrationEnabled, + DnsConfigAddressRegistrationMaxCount, + DnsConfigHostName_W, + DnsConfigHostName_A, + DnsConfigHostName_UTF8, + DnsConfigFullHostName_W, + DnsConfigFullHostName_A, + DnsConfigFullHostName_UTF8 +} DNS_CONFIG_TYPE; + +typedef enum _DnsSection +{ + DnsSectionQuestion, + DnsSectionAnswer, + DnsSectionAuthority, + DnsSectionAddtional /* Not a typo, as per Microsoft's headers */ +} DNS_SECTION; + +typedef LONG DNS_STATUS, *PDNS_STATUS; +typedef DWORD IP4_ADDRESS, *PIP4_ADDRESS; + +typedef struct +{ + DWORD IP6Dword[4]; +} IP6_ADDRESS, *PIP6_ADDRESS, DNS_IP6_ADDRESS, *PDNS_IP6_ADDRESS; + +#define SIZEOF_IP4_ADDRESS 4 +#define IP4_ADDRESS_STRING_LENGTH 16 +#define IP6_ADDRESS_STRING_LENGTH 65 +#define DNS_ADDRESS_STRING_LENGTH IP6_ADDRESS_STRING_LENGTH +#define IP4_ADDRESS_STRING_BUFFER_LENGTH IP4_ADDRESS_STRING_LENGTH +#define IP6_ADDRESS_STRING_BUFFER_LENGTH IP6_ADDRESS_STRING_LENGTH + +typedef struct _IP4_ARRAY +{ + DWORD AddrCount; + IP4_ADDRESS AddrArray[1]; +} IP4_ARRAY, *PIP4_ARRAY; + +#include +typedef struct _DNS_HEADER +{ + WORD Xid; + BYTE RecursionDesired:1; + BYTE Truncation:1; + BYTE Authoritative:1; + BYTE Opcode:4; + BYTE IsResponse:1; + BYTE ResponseCode:4; + BYTE CheckingDisabled:1; + BYTE AuthenticatedData:1; + BYTE Reserved:1; + BYTE RecursionAvailable:1; + WORD QuestionCount; + WORD AnswerCount; + WORD NameServerCount; + WORD AdditionalCount; +} DNS_HEADER, *PDNS_HEADER; +#include + +typedef struct _DNS_MESSAGE_BUFFER +{ + DNS_HEADER MessageHead; + CHAR MessageBody[1]; +} DNS_MESSAGE_BUFFER, *PDNS_MESSAGE_BUFFER; + +typedef struct +{ + IP4_ADDRESS IpAddress; +} DNS_A_DATA, *PDNS_A_DATA; + +typedef struct _DnsRecordFlags +{ + DWORD Section :2; + DWORD Delete :1; + DWORD CharSet :2; + DWORD Unused :3; + DWORD Reserved :24; +} DNS_RECORD_FLAGS; + +typedef struct +{ + PSTR pNamePrimaryServer; + PSTR pNameAdministrator; + DWORD dwSerialNo; + DWORD dwRefresh; + DWORD dwRetry; + DWORD dwExpire; + DWORD dwDefaultTtl; +} DNS_SOA_DATAA, *PDNS_SOA_DATAA; + +typedef struct +{ + PWSTR pNamePrimaryServer; + PWSTR pNameAdministrator; + DWORD dwSerialNo; + DWORD dwRefresh; + DWORD dwRetry; + DWORD dwExpire; + DWORD dwDefaultTtl; +} DNS_SOA_DATAW, *PDNS_SOA_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_SOA_DATA) +DECL_WINELIB_TYPE_AW(PDNS_SOA_DATA) + +typedef struct +{ + PSTR pNameHost; +} DNS_PTR_DATAA, *PDNS_PTR_DATAA; + +typedef struct +{ + PWSTR pNameHost; +} DNS_PTR_DATAW, *PDNS_PTR_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_PTR_DATA) +DECL_WINELIB_TYPE_AW(PDNS_PTR_DATA) + +typedef struct +{ + PSTR pNameMailbox; + PSTR pNameErrorsMailbox; +} DNS_MINFO_DATAA, *PDNS_MINFO_DATAA; + +typedef struct +{ + PWSTR pNameMailbox; + PWSTR pNameErrorsMailbox; +} DNS_MINFO_DATAW, *PDNS_MINFO_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_MINFO_DATA) +DECL_WINELIB_TYPE_AW(PDNS_MINFO_DATA) + +typedef struct +{ + PSTR pNameExchange; + WORD wPreference; + WORD Pad; +} DNS_MX_DATAA, *PDNS_MX_DATAA; + +typedef struct +{ + PWSTR pNameExchange; + WORD wPreference; + WORD Pad; +} DNS_MX_DATAW, *PDNS_MX_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_MX_DATA) +DECL_WINELIB_TYPE_AW(PDNS_MX_DATA) + +typedef struct +{ + DWORD dwStringCount; + PSTR pStringArray[1]; +} DNS_TXT_DATAA, *PDNS_TXT_DATAA; + +typedef struct +{ + DWORD dwStringCount; + PWSTR pStringArray[1]; +} DNS_TXT_DATAW, *PDNS_TXT_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_TXT_DATA) +DECL_WINELIB_TYPE_AW(PDNS_TXT_DATA) + +typedef struct +{ + DWORD dwByteCount; + BYTE Data[1]; +} DNS_NULL_DATA, *PDNS_NULL_DATA; + +typedef struct +{ + IP4_ADDRESS IpAddress; + UCHAR chProtocol; + BYTE BitMask[1]; +} DNS_WKS_DATA, *PDNS_WKS_DATA; + +typedef struct +{ + DNS_IP6_ADDRESS Ip6Address; +} DNS_AAAA_DATA, *PDNS_AAAA_DATA; + +typedef struct +{ + WORD wFlags; + BYTE chProtocol; + BYTE chAlgorithm; + BYTE Key[1]; +} DNS_KEY_DATA, *PDNS_KEY_DATA; + +typedef struct +{ + WORD wVersion; + WORD wSize; + WORD wHorPrec; + WORD wVerPrec; + DWORD dwLatitude; + DWORD dwLongitude; + DWORD dwAltitude; +} DNS_LOC_DATA, *PDNS_LOC_DATA; + +typedef struct +{ + PSTR pNameSigner; + WORD wTypeCovered; + BYTE chAlgorithm; + BYTE chLabelCount; + DWORD dwOriginalTtl; + DWORD dwExpiration; + DWORD dwTimeSigned; + WORD wKeyTag; + WORD Pad; + BYTE Signature[1]; +} DNS_SIG_DATAA, *PDNS_SIG_DATAA; + +typedef struct +{ + PWSTR pNameSigner; + WORD wTypeCovered; + BYTE chAlgorithm; + BYTE chLabelCount; + DWORD dwOriginalTtl; + DWORD dwExpiration; + DWORD dwTimeSigned; + WORD wKeyTag; + WORD Pad; + BYTE Signature[1]; +} DNS_SIG_DATAW, *PDNS_SIG_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_SIG_DATA) +DECL_WINELIB_TYPE_AW(PDNS_SIG_DATA) + +#define DNS_ATMA_MAX_ADDR_LENGTH 20 + +typedef struct +{ + BYTE AddressType; + BYTE Address[DNS_ATMA_MAX_ADDR_LENGTH]; +} DNS_ATMA_DATA, *PDNS_ATMA_DATA; + +typedef struct +{ + PSTR pNameNext; + WORD wNumTypes; + WORD wTypes[1]; +} DNS_NXT_DATAA, *PDNS_NXT_DATAA; + +typedef struct +{ + PWSTR pNameNext; + WORD wNumTypes; + WORD wTypes[1]; +} DNS_NXT_DATAW, *PDNS_NXT_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_NXT_DATA) +DECL_WINELIB_TYPE_AW(PDNS_NXT_DATA) + +typedef struct +{ + PSTR pNameTarget; + WORD wPriority; + WORD wWeight; + WORD wPort; + WORD Pad; +} DNS_SRV_DATAA, *PDNS_SRV_DATAA; + +typedef struct +{ + PWSTR pNameTarget; + WORD wPriority; + WORD wWeight; + WORD wPort; + WORD Pad; +} DNS_SRV_DATAW, *PDNS_SRV_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_SRV_DATA) +DECL_WINELIB_TYPE_AW(PDNS_SRV_DATA) + +typedef struct +{ + PSTR pNameAlgorithm; + PBYTE pAlgorithmPacket; + PBYTE pKey; + PBYTE pOtherData; + DWORD dwCreateTime; + DWORD dwExpireTime; + WORD wMode; + WORD wError; + WORD wKeyLength; + WORD wOtherLength; + UCHAR cAlgNameLength; + BOOL bPacketPointers; +} DNS_TKEY_DATAA, *PDNS_TKEY_DATAA; + +typedef struct +{ + PWSTR pNameAlgorithm; + PBYTE pAlgorithmPacket; + PBYTE pKey; + PBYTE pOtherData; + DWORD dwCreateTime; + DWORD dwExpireTime; + WORD wMode; + WORD wError; + WORD wKeyLength; + WORD wOtherLength; + UCHAR cAlgNameLength; + BOOL bPacketPointers; +} DNS_TKEY_DATAW, *PDNS_TKEY_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_TKEY_DATA) +DECL_WINELIB_TYPE_AW(PDNS_TKEY_DATA) + +typedef struct +{ + PSTR pNameAlgorithm; + PBYTE pAlgorithmPacket; + PBYTE pSignature; + PBYTE pOtherData; + LONGLONG i64CreateTime; + WORD wFudgeTime; + WORD wOriginalXid; + WORD wError; + WORD wSigLength; + WORD wOtherLength; + UCHAR cAlgNameLength; + BOOL bPacketPointers; +} DNS_TSIG_DATAA, *PDNS_TSIG_DATAA; + +typedef struct +{ + PWSTR pNameAlgorithm; + PBYTE pAlgorithmPacket; + PBYTE pSignature; + PBYTE pOtherData; + LONGLONG i64CreateTime; + WORD wFudgeTime; + WORD wOriginalXid; + WORD wError; + WORD wSigLength; + WORD wOtherLength; + UCHAR cAlgNameLength; + BOOL bPacketPointers; +} DNS_TSIG_DATAW, *PDNS_TSIG_DATAW; + +typedef struct +{ + DWORD dwMappingFlag; + DWORD dwLookupTimeout; + DWORD dwCacheTimeout; + DWORD cWinsServerCount; + IP4_ADDRESS WinsServers[1]; +} DNS_WINS_DATA, *PDNS_WINS_DATA; + +typedef struct +{ + DWORD dwMappingFlag; + DWORD dwLookupTimeout; + DWORD dwCacheTimeout; + PSTR pNameResultDomain; +} DNS_WINSR_DATAA, *PDNS_WINSR_DATAA; + +typedef struct +{ + DWORD dwMappingFlag; + DWORD dwLookupTimeout; + DWORD dwCacheTimeout; + PWSTR pNameResultDomain; +} DNS_WINSR_DATAW, *PDNS_WINSR_DATAW; + +DECL_WINELIB_TYPE_AW(DNS_WINSR_DATA) +DECL_WINELIB_TYPE_AW(PDNS_WINSR_DATA) + +typedef struct _DnsRecordA +{ + struct _DnsRecordA *pNext; + PSTR pName; + WORD wType; + WORD wDataLength; + union + { + DWORD DW; + DNS_RECORD_FLAGS S; + } Flags; + DWORD dwTtl; + DWORD dwReserved; + union + { + DNS_A_DATA A; + DNS_SOA_DATAA SOA, Soa; + DNS_PTR_DATAA PTR, Ptr, NS, Ns, CNAME, Cname, MB, Mb, MD, Md, MF, Mf, MG, Mg, MR, Mr; + DNS_MINFO_DATAA MINFO, Minfo, RP, Rp; + DNS_MX_DATAA MX, Mx, AFSDB, Afsdb, RT, Rt; + DNS_TXT_DATAA HINFO, Hinfo, ISDN, Isdn, TXT, Txt, X25; + DNS_NULL_DATA Null; + DNS_WKS_DATA WKS, Wks; + DNS_AAAA_DATA AAAA; + DNS_KEY_DATA KEY, Key; + DNS_SIG_DATAA SIG, Sig; + DNS_ATMA_DATA ATMA, Atma; + DNS_NXT_DATAA NXT, Nxt; + DNS_SRV_DATAA SRV, Srv; + DNS_TKEY_DATAA TKEY, Tkey; + DNS_TSIG_DATAA TSIG, Tsig; + DNS_WINS_DATA WINS, Wins; + DNS_WINSR_DATAA WINSR, WinsR, NBSTAT, Nbstat; + } Data; +} DNS_RECORDA, *PDNS_RECORDA; + +typedef struct _DnsRecordW +{ + struct _DnsRecordW *pNext; + PWSTR pName; + WORD wType; + WORD wDataLength; + union + { + DWORD DW; + DNS_RECORD_FLAGS S; + } Flags; + DWORD dwTtl; + DWORD dwReserved; + union + { + DNS_A_DATA A; + DNS_SOA_DATAW SOA, Soa; + DNS_PTR_DATAW PTR, Ptr, NS, Ns, CNAME, Cname, MB, Mb, MD, Md, MF, Mf, MG, Mg, MR, Mr; + DNS_MINFO_DATAW MINFO, Minfo, RP, Rp; + DNS_MX_DATAW MX, Mx, AFSDB, Afsdb, RT, Rt; + DNS_TXT_DATAW HINFO, Hinfo, ISDN, Isdn, TXT, Txt, X25; + DNS_NULL_DATA Null; + DNS_WKS_DATA WKS, Wks; + DNS_AAAA_DATA AAAA; + DNS_KEY_DATA KEY, Key; + DNS_SIG_DATAW SIG, Sig; + DNS_ATMA_DATA ATMA, Atma; + DNS_NXT_DATAW NXT, Nxt; + DNS_SRV_DATAW SRV, Srv; + DNS_TKEY_DATAW TKEY, Tkey; + DNS_TSIG_DATAW TSIG, Tsig; + DNS_WINS_DATA WINS, Wins; + DNS_WINSR_DATAW WINSR, WinsR, NBSTAT, Nbstat; + } Data; +} DNS_RECORDW, *PDNS_RECORDW; + +#if defined(__WINESRC__) || defined(UNICODE) +typedef DNS_RECORDW DNS_RECORD; +typedef PDNS_RECORDW PDNS_RECORD; +#else +typedef DNS_RECORDA DNS_RECORD; +typedef PDNS_RECORDA PDNS_RECORD; +#endif + +typedef struct _DnsRRSet +{ + PDNS_RECORD pFirstRR; + PDNS_RECORD pLastRR; +} DNS_RRSET, *PDNS_RRSET; + +#define DNS_RRSET_INIT( rrset ) \ +{ \ + PDNS_RRSET _prrset = &(rrset); \ + _prrset->pFirstRR = NULL; \ + _prrset->pLastRR = (PDNS_RECORD) &_prrset->pFirstRR; \ +} + +#define DNS_RRSET_ADD( rrset, pnewRR ) \ +{ \ + PDNS_RRSET _prrset = &(rrset); \ + PDNS_RECORD _prrnew = (pnewRR); \ + _prrset->pLastRR->pNext = _prrnew; \ + _prrset->pLastRR = _prrnew; \ +} + +#define DNS_RRSET_TERMINATE( rrset ) \ +{ \ + PDNS_RRSET _prrset = &(rrset); \ + _prrset->pLastRR->pNext = NULL; \ +} + +#define DNS_ADDR_MAX_SOCKADDR_LENGTH 32 + +#include + +typedef struct _DnsAddr +{ + char MaxSa[DNS_ADDR_MAX_SOCKADDR_LENGTH]; + union { + DWORD DnsAddrUserDword[8]; + } Data; +} DNS_ADDR, *PDNS_ADDR; + +typedef struct _DnsAddrArray +{ + DWORD MaxCount; + DWORD AddrCount; + DWORD Tag; + WORD Family; + WORD WordReserved; + DWORD Flags; + DWORD MatchFlag; + DWORD Reserved1; + DWORD Reserved2; + DNS_ADDR AddrArray[1]; +} DNS_ADDR_ARRAY, *PDNS_ADDR_ARRAY; + +#include + +#define DNS_QUERY_RESULTS_VERSION1 0x1 + +typedef struct _DNS_QUERY_RESULT +{ + ULONG Version; + DNS_STATUS QueryStatus; + ULONG64 QueryOptions; + DNS_RECORD *pQueryRecords; + void *Reserved; +} DNS_QUERY_RESULT, *PDNS_QUERY_RESULT; + +typedef void WINAPI DNS_QUERY_COMPLETION_ROUTINE(void*,DNS_QUERY_RESULT*); +typedef DNS_QUERY_COMPLETION_ROUTINE *PDNS_QUERY_COMPLETION_ROUTINE; + +#define DNS_QUERY_REQUEST_VERSION1 0x1 + +typedef struct _DNS_QUERY_REQUEST +{ + ULONG Version; + const WCHAR *QueryName; + WORD QueryType; + ULONG64 QueryOptions; + PDNS_ADDR_ARRAY pDnsServerList; + ULONG InterfaceIndex; + PDNS_QUERY_COMPLETION_ROUTINE pQueryCompletionCallback; + void *pQueryContext; +} DNS_QUERY_REQUEST, *PDNS_QUERY_REQUEST; + +typedef struct _DNS_QUERY_CANCEL +{ + char Reserved[32]; +} DNS_QUERY_CANCEL, *PDNS_QUERY_CANCEL; + +DNS_STATUS WINAPI DnsAcquireContextHandle_A(DWORD,PVOID,PHANDLE); +DNS_STATUS WINAPI DnsAcquireContextHandle_W(DWORD,PVOID,PHANDLE); +#define DnsAcquireContextHandle WINELIB_NAME_AW(DnsAcquireContextHandle_) +DNS_STATUS WINAPI DnsExtractRecordsFromMessage_W(PDNS_MESSAGE_BUFFER,WORD,PDNS_RECORDW*); +DNS_STATUS WINAPI DnsExtractRecordsFromMessage_UTF8(PDNS_MESSAGE_BUFFER,WORD,PDNS_RECORDA*); +VOID WINAPI DnsFree(PVOID,DNS_FREE_TYPE); +DNS_STATUS WINAPI DnsModifyRecordsInSet_A(PDNS_RECORDA,PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID); +DNS_STATUS WINAPI DnsModifyRecordsInSet_W(PDNS_RECORDW,PDNS_RECORDW,DWORD,HANDLE,PVOID,PVOID); +DNS_STATUS WINAPI DnsModifyRecordsInSet_UTF8(PDNS_RECORDA,PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID); +#define DnsModifyRecordsInSet WINELIB_NAME_AW(DnsModifyRecordsInSet_) +BOOL WINAPI DnsNameCompare_A(PCSTR,PCSTR); +BOOL WINAPI DnsNameCompare_W(PCWSTR,PCWSTR); +#define DnsNameCompare WINELIB_NAME_AW(DnsNameCompare_) +DNS_STATUS WINAPI DnsQuery_A(PCSTR,WORD,DWORD,PVOID,PDNS_RECORDA*,PVOID*); +DNS_STATUS WINAPI DnsQuery_W(PCWSTR,WORD,DWORD,PVOID,PDNS_RECORDW*,PVOID*); +DNS_STATUS WINAPI DnsQuery_UTF8(PCSTR,WORD,DWORD,PVOID,PDNS_RECORDA*,PVOID*); +#define DnsQuery WINELIB_NAME_AW(DnsQuery_) +DNS_STATUS WINAPI DnsQueryEx(DNS_QUERY_REQUEST*,DNS_QUERY_RESULT*,DNS_QUERY_CANCEL*); +DNS_STATUS WINAPI DnsCancelQuery(DNS_QUERY_CANCEL*); +DNS_STATUS WINAPI DnsQueryConfig(DNS_CONFIG_TYPE,DWORD,PCWSTR,PVOID,PVOID,PDWORD); +BOOL WINAPI DnsRecordCompare(PDNS_RECORD,PDNS_RECORD); +PDNS_RECORD WINAPI DnsRecordCopyEx(PDNS_RECORD,DNS_CHARSET,DNS_CHARSET); +VOID WINAPI DnsRecordListFree(PDNS_RECORD,DNS_FREE_TYPE); +BOOL WINAPI DnsRecordSetCompare(PDNS_RECORD,PDNS_RECORD,PDNS_RECORD*,PDNS_RECORD*); +PDNS_RECORD WINAPI DnsRecordSetCopyEx(PDNS_RECORD,DNS_CHARSET,DNS_CHARSET); +PDNS_RECORD WINAPI DnsRecordSetDetach(PDNS_RECORD); +void WINAPI DnsReleaseContextHandle(HANDLE); +DNS_STATUS WINAPI DnsReplaceRecordSetA(PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID); +DNS_STATUS WINAPI DnsReplaceRecordSetW(PDNS_RECORDW,DWORD,HANDLE,PVOID,PVOID); +DNS_STATUS WINAPI DnsReplaceRecordSetUTF8(PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID); +#define DnsReplaceRecordSet WINELIB_NAME_AW(DnsReplaceRecordSet) +DNS_STATUS WINAPI DnsValidateName_A(PCSTR,DNS_NAME_FORMAT); +DNS_STATUS WINAPI DnsValidateName_W(PCWSTR, DNS_NAME_FORMAT); +DNS_STATUS WINAPI DnsValidateName_UTF8(PCSTR,DNS_NAME_FORMAT); +#define DnsValidateName WINELIB_NAME_AW(DnsValidateName_) +BOOL WINAPI DnsWriteQuestionToBuffer_W(PDNS_MESSAGE_BUFFER,PDWORD,PCWSTR,WORD,WORD,BOOL); +BOOL WINAPI DnsWriteQuestionToBuffer_UTF8(PDNS_MESSAGE_BUFFER,PDWORD,PCSTR,WORD,WORD,BOOL); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.foundation.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.foundation.h new file mode 100644 index 0000000..c852429 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.foundation.h @@ -0,0 +1,365 @@ +/*** Autogenerated by WIDL 2.18 from windows.foundation.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __windows_foundation_h__ +#define __windows_foundation_h__ + +/* Forward declarations */ + +#ifndef ____x_ABI_CWindows_CFoundation_CIStringable_FWD_DEFINED__ +#define ____x_ABI_CWindows_CFoundation_CIStringable_FWD_DEFINED__ +typedef interface __x_ABI_CWindows_CFoundation_CIStringable __x_ABI_CWindows_CFoundation_CIStringable; +#ifdef __cplusplus +namespace ABI { + namespace Windows { + namespace Foundation { + interface IStringable; + } + } +} +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + enum PropertyType { + PropertyType_Empty = 0, + PropertyType_UInt8 = 1, + PropertyType_Int16 = 2, + PropertyType_UInt16 = 3, + PropertyType_Int32 = 4, + PropertyType_UInt32 = 5, + PropertyType_Int64 = 6, + PropertyType_UInt64 = 7, + PropertyType_Single = 8, + PropertyType_Double = 9, + PropertyType_Char16 = 10, + PropertyType_Boolean = 11, + PropertyType_String = 12, + PropertyType_Inspectable = 13, + PropertyType_DateTime = 14, + PropertyType_TimeSpan = 15, + PropertyType_Guid = 16, + PropertyType_Point = 17, + PropertyType_Size = 18, + PropertyType_Rect = 19, + PropertyType_OtherType = 20, + PropertyType_UInt8Array = 1025, + PropertyType_Int16Array = 1026, + PropertyType_UInt16Array = 1027, + PropertyType_Int32Array = 1028, + PropertyType_UInt32Array = 1029, + PropertyType_Int64Array = 1030, + PropertyType_UInt64Array = 1031, + PropertyType_SingleArray = 1032, + PropertyType_DoubleArray = 1033, + PropertyType_Char16Array = 1034, + PropertyType_BooleanArray = 1035, + PropertyType_StringArray = 1036, + PropertyType_InspectableArray = 1037, + PropertyType_DateTimeArray = 1038, + PropertyType_TimeSpanArray = 1039, + PropertyType_GuidArray = 1040, + PropertyType_PointArray = 1041, + PropertyType_SizeArray = 1042, + PropertyType_RectArray = 1043, + PropertyType_OtherTypeArray = 1044 + }; + } + } +} +extern "C" { +#else +enum __x_ABI_CWindows_CFoundation_CPropertyType { + PropertyType_Empty = 0, + PropertyType_UInt8 = 1, + PropertyType_Int16 = 2, + PropertyType_UInt16 = 3, + PropertyType_Int32 = 4, + PropertyType_UInt32 = 5, + PropertyType_Int64 = 6, + PropertyType_UInt64 = 7, + PropertyType_Single = 8, + PropertyType_Double = 9, + PropertyType_Char16 = 10, + PropertyType_Boolean = 11, + PropertyType_String = 12, + PropertyType_Inspectable = 13, + PropertyType_DateTime = 14, + PropertyType_TimeSpan = 15, + PropertyType_Guid = 16, + PropertyType_Point = 17, + PropertyType_Size = 18, + PropertyType_Rect = 19, + PropertyType_OtherType = 20, + PropertyType_UInt8Array = 1025, + PropertyType_Int16Array = 1026, + PropertyType_UInt16Array = 1027, + PropertyType_Int32Array = 1028, + PropertyType_UInt32Array = 1029, + PropertyType_Int64Array = 1030, + PropertyType_UInt64Array = 1031, + PropertyType_SingleArray = 1032, + PropertyType_DoubleArray = 1033, + PropertyType_Char16Array = 1034, + PropertyType_BooleanArray = 1035, + PropertyType_StringArray = 1036, + PropertyType_InspectableArray = 1037, + PropertyType_DateTimeArray = 1038, + PropertyType_TimeSpanArray = 1039, + PropertyType_GuidArray = 1040, + PropertyType_PointArray = 1041, + PropertyType_SizeArray = 1042, + PropertyType_RectArray = 1043, + PropertyType_OtherTypeArray = 1044 +}; +#endif + +#ifdef __cplusplus +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + struct Point { + FLOAT X; + FLOAT Y; + }; + } + } +} +extern "C" { +#else +struct __x_ABI_CWindows_CFoundation_CPoint { + FLOAT X; + FLOAT Y; +}; +#endif + +#ifdef __cplusplus +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + struct Size { + FLOAT Width; + FLOAT Height; + }; + } + } +} +extern "C" { +#else +struct __x_ABI_CWindows_CFoundation_CSize { + FLOAT Width; + FLOAT Height; +}; +#endif + +#ifdef __cplusplus +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + struct Rect { + FLOAT X; + FLOAT Y; + FLOAT Width; + FLOAT Height; + }; + } + } +} +extern "C" { +#else +struct __x_ABI_CWindows_CFoundation_CRect { + FLOAT X; + FLOAT Y; + FLOAT Width; + FLOAT Height; +}; +#endif + +#ifdef __cplusplus +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + struct DateTime { + INT64 UniversalTime; + }; + } + } +} +extern "C" { +#else +struct __x_ABI_CWindows_CFoundation_CDateTime { + INT64 UniversalTime; +}; +#endif + +#ifdef __cplusplus +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + struct TimeSpan { + INT64 Duration; + }; + } + } +} +extern "C" { +#else +struct __x_ABI_CWindows_CFoundation_CTimeSpan { + INT64 Duration; +}; +#endif + +/***************************************************************************** + * IStringable interface + */ +#ifndef ____x_ABI_CWindows_CFoundation_CIStringable_INTERFACE_DEFINED__ +#define ____x_ABI_CWindows_CFoundation_CIStringable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID___x_ABI_CWindows_CFoundation_CIStringable, 0x96369f54, 0x8eb6, 0x48f0, 0xab,0xce, 0xc1,0xb2,0x11,0xe6,0x27,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +} /* extern "C" */ +namespace ABI { + namespace Windows { + namespace Foundation { + MIDL_INTERFACE("96369f54-8eb6-48f0-abce-c1b211e627c3") + IStringable : public IInspectable + { + virtual HRESULT STDMETHODCALLTYPE ToString( + HSTRING *value) = 0; + + }; + } + } +} +extern "C" { +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ABI::Windows::Foundation::IStringable, 0x96369f54, 0x8eb6, 0x48f0, 0xab,0xce, 0xc1,0xb2,0x11,0xe6,0x27,0xc3) +#endif +#else +typedef struct __x_ABI_CWindows_CFoundation_CIStringableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + __x_ABI_CWindows_CFoundation_CIStringable *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + __x_ABI_CWindows_CFoundation_CIStringable *This); + + ULONG (STDMETHODCALLTYPE *Release)( + __x_ABI_CWindows_CFoundation_CIStringable *This); + + /*** IInspectable methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIids)( + __x_ABI_CWindows_CFoundation_CIStringable *This, + ULONG *iidCount, + IID **iids); + + HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( + __x_ABI_CWindows_CFoundation_CIStringable *This, + HSTRING *className); + + HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( + __x_ABI_CWindows_CFoundation_CIStringable *This, + TrustLevel *trustLevel); + + /*** IStringable methods ***/ + HRESULT (STDMETHODCALLTYPE *ToString)( + __x_ABI_CWindows_CFoundation_CIStringable *This, + HSTRING *value); + + END_INTERFACE +} __x_ABI_CWindows_CFoundation_CIStringableVtbl; + +interface __x_ABI_CWindows_CFoundation_CIStringable { + CONST_VTBL __x_ABI_CWindows_CFoundation_CIStringableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define __x_ABI_CWindows_CFoundation_CIStringable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define __x_ABI_CWindows_CFoundation_CIStringable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define __x_ABI_CWindows_CFoundation_CIStringable_Release(This) (This)->lpVtbl->Release(This) +/*** IInspectable methods ***/ +#define __x_ABI_CWindows_CFoundation_CIStringable_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) +#define __x_ABI_CWindows_CFoundation_CIStringable_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) +#define __x_ABI_CWindows_CFoundation_CIStringable_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) +/*** IStringable methods ***/ +#define __x_ABI_CWindows_CFoundation_CIStringable_ToString(This,value) (This)->lpVtbl->ToString(This,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT __x_ABI_CWindows_CFoundation_CIStringable_QueryInterface(__x_ABI_CWindows_CFoundation_CIStringable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG __x_ABI_CWindows_CFoundation_CIStringable_AddRef(__x_ABI_CWindows_CFoundation_CIStringable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG __x_ABI_CWindows_CFoundation_CIStringable_Release(__x_ABI_CWindows_CFoundation_CIStringable* This) { + return This->lpVtbl->Release(This); +} +/*** IInspectable methods ***/ +static FORCEINLINE HRESULT __x_ABI_CWindows_CFoundation_CIStringable_GetIids(__x_ABI_CWindows_CFoundation_CIStringable* This,ULONG *iidCount,IID **iids) { + return This->lpVtbl->GetIids(This,iidCount,iids); +} +static FORCEINLINE HRESULT __x_ABI_CWindows_CFoundation_CIStringable_GetRuntimeClassName(__x_ABI_CWindows_CFoundation_CIStringable* This,HSTRING *className) { + return This->lpVtbl->GetRuntimeClassName(This,className); +} +static FORCEINLINE HRESULT __x_ABI_CWindows_CFoundation_CIStringable_GetTrustLevel(__x_ABI_CWindows_CFoundation_CIStringable* This,TrustLevel *trustLevel) { + return This->lpVtbl->GetTrustLevel(This,trustLevel); +} +/*** IStringable methods ***/ +static FORCEINLINE HRESULT __x_ABI_CWindows_CFoundation_CIStringable_ToString(__x_ABI_CWindows_CFoundation_CIStringable* This,HSTRING *value) { + return This->lpVtbl->ToString(This,value); +} +#endif +#endif + +#endif + +#endif /* ____x_ABI_CWindows_CFoundation_CIStringable_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *); +unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *); +unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *); +void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __windows_foundation_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.foundation.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.foundation.idl new file mode 100644 index 0000000..2c16fa2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.foundation.idl @@ -0,0 +1,114 @@ +/* + * Copyright 2015 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifdef __WIDL__ +#pragma winrt ns_prefix +#endif + +import "inspectable.idl"; +/* import "asyncinfo.idl"; */ +/* import "eventtoken.idl"; */ +/* import "ivectorchangedeventargs.idl"; */ + +namespace Windows { + namespace Foundation { + [version(0x06020000)] + enum PropertyType { + Empty = 0, + UInt8 = 1, + Int16 = 2, + UInt16 = 3, + Int32 = 4, + UInt32 = 5, + Int64 = 6, + UInt64 = 7, + Single = 8, + Double = 9, + Char16 = 10, + Boolean = 11, + String = 12, + Inspectable = 13, + DateTime = 14, + TimeSpan = 15, + Guid = 16, + Point = 17, + Size = 18, + Rect = 19, + OtherType = 20, + UInt8Array = 1025, + Int16Array = 1026, + UInt16Array = 1027, + Int32Array = 1028, + UInt32Array = 1029, + Int64Array = 1030, + UInt64Array = 1031, + SingleArray = 1032, + DoubleArray = 1033, + Char16Array = 1034, + BooleanArray = 1035, + StringArray = 1036, + InspectableArray = 1037, + DateTimeArray = 1038, + TimeSpanArray = 1039, + GuidArray = 1040, + PointArray = 1041, + SizeArray = 1042, + RectArray = 1043, + OtherTypeArray = 1044 + }; + + [version(0x06020000)] + struct Point { + FLOAT X; + FLOAT Y; + }; + + [version(0x06020000)] + struct Size { + FLOAT Width; + FLOAT Height; + }; + + [version(0x06020000)] + struct Rect { + FLOAT X; + FLOAT Y; + FLOAT Width; + FLOAT Height; + }; + + [version(0x06020000)] + struct DateTime { + INT64 UniversalTime; + }; + + [version(0x06020000)] + struct TimeSpan { + INT64 Duration; + }; + + [ + version(0x06030000), + uuid(96369f54-8eb6-48f0-abce-c1b211e627c3) + ] + interface IStringable : IInspectable + { + HRESULT ToString([out, retval] HSTRING *value); + } + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.h new file mode 100644 index 0000000..ec5c6a2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windows.h @@ -0,0 +1,107 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINDOWS_H +#define __WINE_WINDOWS_H + +#if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus) +/* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */ +# pragma warning(disable:4116) +#endif + +#ifndef _INC_WINDOWS +#define _INC_WINDOWS + +#if defined(RC_INVOKED) && !defined(NOWINRES) +#include +#else /* RC_INVOKED && !NOWINRES */ + +/* All the basic includes */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Not so essential ones */ +#ifndef __WINESRC__ + +#ifndef WIN32_LEAN_AND_MEAN + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifndef WINE_NOWINSOCK +#include +#endif /* WINE_NOWINSOCK */ + +#ifndef NOCRYPT +#include +/* #include */ +#include +#endif /* !NOCRYPT */ + +#ifndef NOGDI +#include +#ifdef INC_OLE1 +/* #include */ +#else +#include +#endif +#include +#endif /* !NOGDI */ + +#endif /* !WIN32_LEAN_AND_MEAN */ + +/* #include */ + +#ifdef INC_OLE2 +#include +#endif /* INC_OLE2 */ + +#ifndef NOSERVICE +#include +#endif /* !NOSERVICE */ + +#ifndef NOMCX +#include +#endif /* !NOMCX */ + +#ifndef NOIMM +#include +#endif /* !NOIMM */ + +#endif /* __WINESRC__ */ + +#endif /* RC_INVOKED && !NOWINRES */ +#endif /* _INC_WINDOWS */ +#endif /* __WINE_WINDOWS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windowsx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windowsx.h new file mode 100644 index 0000000..fa27b49 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/windowsx.h @@ -0,0 +1,1439 @@ +/* Copyright (C) 1999 Corel Corporation (Paul Quinn) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _INC_WINDOWSX +#define _INC_WINDOWSX + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __WINESRC__ +/* This file contains macros that cause warnings on gcc 4.1, so avoid it. */ +#error Please avoid use of windowsx.h in Wine source code. +#endif + +#ifndef SNDMSG +#ifdef __cplusplus +#define SNDMSG ::SendMessage +#else /* __cplusplus */ +#define SNDMSG SendMessage +#endif /* __cplusplus */ +#endif /* SNDMSG */ + +#define GET_WPARAM(wp, lp) (wp) +#define GET_LPARAM(wp, lp) (lp) + +#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp)) +#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp)) + +#define GET_EM_LINESCROLL_MPS(vert, horz) (WPARAM)horz, (LPARAM)vert + +#define GET_EM_SETSEL_START(wp, lp) (INT)(wp) +#define GET_EM_SETSEL_END(wp, lp) (lp) +#define GET_EM_SETSEL_MPS(iStart, iEnd) (WPARAM)(iStart), (LPARAM)(iEnd) + +#define GET_WM_ACTIVATE_STATE(wp, lp) LOWORD(wp) +#define GET_WM_ACTIVATE_FMINIMIZED(wp, lp) (BOOL)HIWORD(wp) +#define GET_WM_ACTIVATE_HWND(wp, lp) (HWND)(lp) +#define GET_WM_ACTIVATE_MPS(s, fmin, hwnd) (WPARAM)MAKELONG((s), (fmin)), (LPARAM)(hwnd) + +#define GET_WM_CHANGECBCHAIN_HWNDNEXT(wp, lp) (HWND)(lp) + +#define GET_WM_CHARTOITEM_CHAR(wp, lp) (TCHAR)LOWORD(wp) +#define GET_WM_CHARTOITEM_POS(wp, lp) HIWORD(wp) +#define GET_WM_CHARTOITEM_HWND(wp, lp) (HWND)(lp) +#define GET_WM_CHARTOITEM_MPS(ch, pos, hwnd) (WPARAM)MAKELONG((pos), (ch)), (LPARAM)(hwnd) + +#define GET_WM_COMMAND_ID(wp, lp) LOWORD(wp) +#define GET_WM_COMMAND_HWND(wp, lp) (HWND)(lp) +#define GET_WM_COMMAND_CMD(wp, lp) HIWORD(wp) +#define GET_WM_COMMAND_MPS(id, hwnd, cmd) (WPARAM)MAKELONG(id, cmd), (LPARAM)(hwnd) + +#define WM_CTLCOLOR 0x0019 + +#define GET_WM_CTLCOLOR_HDC(wp, lp, msg) (HDC)(wp) +#define GET_WM_CTLCOLOR_HWND(wp, lp, msg) (HWND)(lp) +#define GET_WM_CTLCOLOR_TYPE(wp, lp, msg) (WORD)(msg - WM_CTLCOLORMSGBOX) +#define GET_WM_CTLCOLOR_MSG(type) (WORD)(WM_CTLCOLORMSGBOX+(type)) +#define GET_WM_CTLCOLOR_MPS(hdc, hwnd, type) (WPARAM)(hdc), (LPARAM)(hwnd) + +#define GET_WM_HSCROLL_CODE(wp, lp) LOWORD(wp) +#define GET_WM_HSCROLL_POS(wp, lp) HIWORD(wp) +#define GET_WM_HSCROLL_HWND(wp, lp) (HWND)(lp) +#define GET_WM_HSCROLL_MPS(code, pos, hwnd) (WPARAM)MAKELONG(code, pos), (LPARAM)(hwnd) + +#define GET_WM_MENUCHAR_CHAR(wp, lp) (TCHAR)LOWORD(wp) +#define GET_WM_MENUCHAR_HMENU(wp, lp) (HMENU)(lp) +#define GET_WM_MENUCHAR_FMENU(wp, lp) (BOOL)HIWORD(wp) +#define GET_WM_MENUCHAR_MPS(ch, hmenu, f) (WPARAM)MAKELONG(ch, f), (LPARAM)(hmenu) + +#define GET_WM_MENUSELECT_CMD(wp, lp) LOWORD(wp) +#define GET_WM_MENUSELECT_FLAGS(wp, lp) (UINT)(int)(short)HIWORD(wp) +#define GET_WM_MENUSELECT_HMENU(wp, lp) (HMENU)(lp) +#define GET_WM_MENUSELECT_MPS(cmd, f, hmenu) (WPARAM)MAKELONG(cmd, f), (LPARAM)(hmenu) + +#define GET_WM_MDIACTIVATE_FACTIVATE(hwnd, wp, lp) (lp == (LPARAM)hwnd) +#define GET_WM_MDIACTIVATE_HWNDDEACT(wp, lp) (HWND)(wp) +#define GET_WM_MDIACTIVATE_HWNDACTIVATE(wp, lp) (HWND)(lp) +#define GET_WM_MDIACTIVATE_MPS(f, hwndD, hwndA) (WPARAM)(hwndA), 0 +#define GET_WM_MDISETMENU_MPS(hmenuF, hmenuW) (WPARAM)hmenuF, (LPARAM)hmenuW + +#define GET_WM_PARENTNOTIFY_MSG(wp, lp) LOWORD(wp) +#define GET_WM_PARENTNOTIFY_ID(wp, lp) HIWORD(wp) +#define GET_WM_PARENTNOTIFY_HWNDCHILD(wp, lp) (HWND)(lp) +#define GET_WM_PARENTNOTIFY_X(wp, lp) (int)(short)LOWORD(lp) +#define GET_WM_PARENTNOTIFY_Y(wp, lp) (int)(short)HIWORD(lp) +#define GET_WM_PARENTNOTIFY_MPS(msg, id, hwnd) (WPARAM)MAKELONG(id, msg), (LPARAM)(hwnd) +#define GET_WM_PARENTNOTIFY2_MPS(msg, x, y) (WPARAM)MAKELONG(0, msg), MAKELONG(x, y) + +#define GET_WM_VKEYTOITEM_CODE(wp, lp) (int)(short)LOWORD(wp) +#define GET_WM_VKEYTOITEM_ITEM(wp, lp) HIWORD(wp) +#define GET_WM_VKEYTOITEM_HWND(wp, lp) (HWND)(lp) +#define GET_WM_VKEYTOITEM_MPS(code, item, hwnd) (WPARAM)MAKELONG(item, code), (LPARAM)(hwnd) + +#define GET_WM_VSCROLL_CODE(wp, lp) LOWORD(wp) +#define GET_WM_VSCROLL_POS(wp, lp) HIWORD(wp) +#define GET_WM_VSCROLL_HWND(wp, lp) (HWND)(lp) +#define GET_WM_VSCROLL_MPS(code, pos, hwnd) (WPARAM)MAKELONG(code, pos), (LPARAM)(hwnd) + +/****** KERNEL Macro APIs ******************************************************/ + +#define GetInstanceModule(hInst) (HMODULE)(hInst) +#define GlobalPtrHandle(lp) ((HGLOBAL)GlobalHandle(lp)) +#define GlobalLockPtr(lp) ((BOOL)GlobalLock(GlobalPtrHandle(lp))) +#define GlobalUnlockPtr(lp) GlobalUnlock(GlobalPtrHandle(lp)) +#define GlobalAllocPtr(flags, cb) (GlobalLock(GlobalAlloc((flags), (cb)))) +#define GlobalReAllocPtr(lp, cbNew, flags) (GlobalUnlockPtr(lp), GlobalLock(GlobalReAlloc(GlobalPtrHandle(lp) , (cbNew), (flags)))) +#define GlobalFreePtr(lp) (GlobalUnlockPtr(lp), (BOOL)(ULONG_PTR)GlobalFree(GlobalPtrHandle(lp))) + +/****** USER Macro APIs ******************************************************/ + +#define GetWindowInstance(hwnd) ((HMODULE)GetWindowLongPtr(hwnd, GWLP_HINSTANCE)) + +#define GetWindowStyle(hwnd) ((DWORD)GetWindowLong(hwnd, GWL_STYLE)) +#define GetWindowExStyle(hwnd) ((DWORD)GetWindowLong(hwnd, GWL_EXSTYLE)) + +#define GetWindowOwner(hwnd) GetWindow(hwnd, GW_OWNER) + +#define GetFirstChild(hwnd) GetTopWindow(hwnd) +#define GetFirstSibling(hwnd) GetWindow(hwnd, GW_HWNDFIRST) +#define GetLastSibling(hwnd) GetWindow(hwnd, GW_HWNDLAST) +#define GetNextSibling(hwnd) GetWindow(hwnd, GW_HWNDNEXT) +#define GetPrevSibling(hwnd) GetWindow(hwnd, GW_HWNDPREV) + +#define GetWindowID(hwnd) GetDlgCtrlID(hwnd) + +#define SetWindowRedraw(hwnd, fRedraw) \ + ((void)SendMessage(hwnd, WM_SETREDRAW, (WPARAM)(BOOL)(fRedraw), 0L)) +#define SubclassWindow(hwnd, lpfn) \ + ((WNDPROC)SetWindowLongPtr((hwnd), GWLP_WNDPROC, (LPARAM)(WNDPROC)(lpfn))) + +#define IsMinimized(hwnd) IsIconic(hwnd) +#define IsMaximized(hwnd) IsZoomed(hwnd) +#define IsRestored(hwnd) ((GetWindowStyle(hwnd) & (WS_MINIMIZE | WS_MAXIMIZE)) == 0L) +#define SetWindowFont(hwnd, hfont, fRedraw) \ + FORWARD_WM_SETFONT((hwnd), (hfont), (fRedraw), SendMessage) + +#define GetWindowFont(hwnd) FORWARD_WM_GETFONT((hwnd), SendMessage) + +#define MapWindowRect(hwndFrom, hwndTo, lprc) \ + MapWindowPoints((hwndFrom), (hwndTo), (POINT *)(lprc), 2) + +#define IsLButtonDown() (GetKeyState(VK_LBUTTON) < 0) +#define IsRButtonDown() (GetKeyState(VK_RBUTTON) < 0) +#define IsMButtonDown() (GetKeyState(VK_MBUTTON) < 0) + +#define SetDlgMsgResult(hwnd, msg, result) (( \ + (msg) == WM_CTLCOLORMSGBOX || \ + (msg) == WM_CTLCOLOREDIT || \ + (msg) == WM_CTLCOLORLISTBOX || \ + (msg) == WM_CTLCOLORBTN || \ + (msg) == WM_CTLCOLORDLG || \ + (msg) == WM_CTLCOLORSCROLLBAR || \ + (msg) == WM_CTLCOLORSTATIC || \ + (msg) == WM_COMPAREITEM || \ + (msg) == WM_VKEYTOITEM || \ + (msg) == WM_CHARTOITEM || \ + (msg) == WM_QUERYDRAGICON || \ + (msg) == WM_INITDIALOG \ + ) ? (BOOL)(result) : (SetWindowLongPtr((hwnd), DWLP_MSGRESULT, (LPARAM)(LRESULT)(result)), TRUE)) + +#define DefDlgProcEx(hwnd, msg, wParam, lParam, pfRecursion) \ + (*(pfRecursion) = TRUE, DefDlgProc(hwnd, msg, wParam, lParam)) + +#define CheckDefDlgRecursion(pfRecursion) \ + if (*(pfRecursion)) { *(pfRecursion) = FALSE; return FALSE; } + +#define SubclassDialog(hwndDlg, lpfn) \ + ((DLGPROC)SetWindowLongPtr(hwndDlg, DWLP_DLGPROC, (LPARAM)(DLGPROC)(lpfn))) + +#define DeletePen(hpen) DeleteObject((HGDIOBJ)(HPEN)(hpen)) +#define SelectPen(hdc, hpen) ((HPEN)SelectObject((hdc), (HGDIOBJ)(HPEN)(hpen))) +#define GetStockPen(i) ((HPEN)GetStockObject(i)) + +#define DeleteBrush(hbr) DeleteObject((HGDIOBJ)(HBRUSH)(hbr)) +#define SelectBrush(hdc, hbr) ((HBRUSH)SelectObject((hdc), (HGDIOBJ)(HBRUSH)(hbr))) +#define GetStockBrush(i) ((HBRUSH)GetStockObject(i)) + +#define DeleteRgn(hrgn) DeleteObject((HGDIOBJ)(HRGN)(hrgn)) + +#define CopyRgn(hrgnDst, hrgnSrc) CombineRgn(hrgnDst, hrgnSrc, 0, RGN_COPY) +#define IntersectRgn(hrgnResult, hrgnA, hrgnB) CombineRgn(hrgnResult, hrgnA, hrgnB, RGN_AND) +#define SubtractRgn(hrgnResult, hrgnA, hrgnB) CombineRgn(hrgnResult, hrgnA, hrgnB, RGN_DIFF) +#define UnionRgn(hrgnResult, hrgnA, hrgnB) CombineRgn(hrgnResult, hrgnA, hrgnB, RGN_OR) +#define XorRgn(hrgnResult, hrgnA, hrgnB) CombineRgn(hrgnResult, hrgnA, hrgnB, RGN_XOR) + +#define DeletePalette(hpal) DeleteObject((HGDIOBJ)(HPALETTE)(hpal)) + +#define DeleteFont(hfont) DeleteObject((HGDIOBJ)(HFONT)(hfont)) +#define SelectFont(hdc, hfont) ((HFONT)SelectObject((hdc), (HGDIOBJ)(HFONT) (hfont))) +#define GetStockFont(i) ((HFONT)GetStockObject(i)) +#define DeleteBitmap(hbm) DeleteObject((HGDIOBJ)(HBITMAP)(hbm)) +#define SelectBitmap(hdc, hbm) ((HBITMAP)SelectObject((hdc), (HGDIOBJ)(HBITMAP)(hbm))) +#define InsetRect(lprc, dx, dy) InflateRect((lprc), -(dx), -(dy)) + + +/* Button Message APIs */ + +#define Button_Enable(hwndCtl, fEnable) \ + EnableWindow((hwndCtl), (fEnable)) + +#define Button_GetCheck(hwndCtl) \ + ((int)SendMessage((hwndCtl), BM_GETCHECK, 0L, 0L)) + +#define Button_GetState(hwndCtl) \ + ((int)SendMessage((hwndCtl), BM_GETSTATE, 0L, 0L)) + +#define Button_GetText(hwndCtl, lpch, cchMax) \ + GetWindowText((hwndCtl), (lpch), (cchMax)) + +#define Button_GetTextLength(hwndCtl) \ + GetWindowTextLength(hwndCtl) + +#define Button_SetCheck(hwndCtl, check) \ + ((void)SendMessage((hwndCtl), BM_SETCHECK, (WPARAM)(int)(check), 0L)) + +#define Button_SetState(hwndCtl, state) \ + ((UINT)SendMessage((hwndCtl), BM_SETSTATE, (WPARAM)(int)(state), 0L)) + +#define Button_SetStyle(hwndCtl, style, fRedraw) \ + ((void)SendMessage((hwndCtl), BM_SETSTYLE, (WPARAM)LOWORD(style), MAKELPARAM((fRedraw) != 0, 0))) + +#define Button_SetText(hwndCtl, lpsz) \ + SetWindowText((hwndCtl), (lpsz)) + + +/* ComboBox Message APIs */ + +#define ComboBox_AddItemData(hwndCtl, data) \ + ((int)SendMessage((hwndCtl), CB_ADDSTRING, 0L, (LPARAM)(LPCTSTR)(data))) + +#define ComboBox_AddString(hwndCtl, lpsz) \ + ((int)SendMessage((hwndCtl), CB_ADDSTRING, 0L, (LPARAM)(LPCTSTR)(lpsz))) + +#define ComboBox_DeleteString(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), CB_DELETESTRING, (WPARAM)(int)(index), 0L)) + +#define ComboBox_Dir(hwndCtl, attrs, lpszFileSpec) \ + ((int)SendMessage((hwndCtl), CB_DIR, (WPARAM)(UINT)(attrs), (LPARAM)(LPCTSTR)(lpszFileSpec))) + +#define ComboBox_Enable(hwndCtl, fEnable) \ + EnableWindow((hwndCtl), (fEnable)) + +#define ComboBox_FindItemData(hwndCtl, indexStart, data) \ + ((int)SendMessage((hwndCtl), CB_FINDSTRING, (WPARAM)(int)(indexStart), (LPARAM)(data))) + +#define ComboBox_FindString(hwndCtl, indexStart, lpszFind) \ + ((int)SendMessage((hwndCtl), CB_FINDSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind))) + +#define ComboBox_FindStringExact(hwndCtl, indexStart, lpszFind) \ + ((int)SendMessage((hwndCtl), CB_FINDSTRINGEXACT, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind))) + +#define ComboBox_GetCount(hwndCtl) \ + ((int)SendMessage((hwndCtl), CB_GETCOUNT, 0L, 0L)) + +#define ComboBox_GetCurSel(hwndCtl) \ + ((int)SendMessage((hwndCtl), CB_GETCURSEL, 0L, 0L)) + +#define ComboBox_GetDroppedControlRect(hwndCtl, lprc) \ + ((void)SendMessage((hwndCtl), CB_GETDROPPEDCONTROLRECT, 0L, (LPARAM)(RECT *)(lprc))) + +#define ComboBox_GetDroppedState(hwndCtl) \ + ((BOOL)SendMessage((hwndCtl), CB_GETDROPPEDSTATE, 0L, 0L)) + +#define ComboBox_GetEditSel(hwndCtl) \ + ((DWORD)SendMessage((hwndCtl), CB_GETEDITSEL, 0L, 0L)) + +#define ComboBox_GetExtendedUI(hwndCtl) \ + ((UINT)SendMessage((hwndCtl), CB_GETEXTENDEDUI, 0L, 0L)) + +#define ComboBox_GetItemData(hwndCtl, index) \ + ((LRESULT)SendMessage((hwndCtl), CB_GETITEMDATA, (WPARAM)(int)(index), 0L)) + +#define ComboBox_GetItemHeight(hwndCtl) \ + ((int)SendMessage((hwndCtl), CB_GETITEMHEIGHT, 0L, 0L)) + +#define ComboBox_GetLBText(hwndCtl, index, lpszBuffer) \ + ((int)SendMessage((hwndCtl), CB_GETLBTEXT, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpszBuffer))) + +#define ComboBox_GetLBTextLen(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), CB_GETLBTEXTLEN, (WPARAM)(int)(index), 0L)) + +#define ComboBox_InsertItemData(hwndCtl, index, data) \ + ((int)SendMessage((hwndCtl), CB_INSERTSTRING, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(data))) + +#define ComboBox_LimitText(hwndCtl, cchLimit) \ + ((int)SendMessage((hwndCtl), CB_LIMITTEXT, (WPARAM)(int)(cchLimit), 0L)) + +#define ComboBox_GetText(hwndCtl, lpch, cchMax) \ + GetWindowText((hwndCtl), (lpch), (cchMax)) + +#define ComboBox_GetTextLength(hwndCtl) \ + GetWindowTextLength(hwndCtl) + +#define ComboBox_InsertString(hwndCtl, index, lpsz) \ + ((int)SendMessage((hwndCtl), CB_INSERTSTRING, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpsz))) + +#define ComboBox_LimitText(hwndCtl, cchLimit) \ + ((int)SendMessage((hwndCtl), CB_LIMITTEXT, (WPARAM)(int)(cchLimit), 0L)) + +#define ComboBox_ResetContent(hwndCtl) \ + ((int)SendMessage((hwndCtl), CB_RESETCONTENT, 0L, 0L)) + +#define ComboBox_SelectItemData(hwndCtl, indexStart, data) \ + ((int)SendMessage((hwndCtl), CB_SELECTSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(data))) + +#define ComboBox_SelectString(hwndCtl, indexStart, lpszSelect) \ + ((int)SendMessage((hwndCtl), CB_SELECTSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszSelect))) + +#define ComboBox_SetCurSel(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), CB_SETCURSEL, (WPARAM)(int)(index), 0L)) + +#define ComboBox_SetEditSel(hwndCtl, ichStart, ichEnd) \ + ((int)SendMessage((hwndCtl), CB_SETEDITSEL, 0L, MAKELPARAM((ichStart), (ichEnd)))) + +#define ComboBox_SetExtendedUI(hwndCtl, flags) \ + ((int)SendMessage((hwndCtl), CB_SETEXTENDEDUI, (WPARAM)(UINT)(flags), 0L)) + +#define ComboBox_SetItemData(hwndCtl, index, data) \ + ((int)SendMessage((hwndCtl), CB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(DWORD)(data))) + +#define ComboBox_SetItemHeight(hwndCtl, index, cyItem) \ + ((int)SendMessage((hwndCtl), CB_SETITEMHEIGHT, (WPARAM)(int)(index), (LPARAM)(int)cyItem)) + +#define ComboBox_SetText(hwndCtl, lpsz) \ + SetWindowText((hwndCtl), (lpsz)) + +#define ComboBox_ShowDropdown(hwndCtl, fShow) \ + ((BOOL)SendMessage((hwndCtl), CB_SHOWDROPDOWN, (WPARAM)(BOOL)(fShow), 0L)) + + +/* Edit Message APIs */ + +#define Edit_CanUndo(hwndCtl) \ + ((BOOL)SendMessage((hwndCtl), EM_CANUNDO, 0L, 0L)) + +#define Edit_EmptyUndoBuffer(hwndCtl) \ + ((void)SendMessage((hwndCtl), EM_EMPTYUNDOBUFFER, 0L, 0L)) + +#define Edit_Enable(hwndCtl, fEnable) \ + EnableWindow((hwndCtl), (fEnable)) + +#define Edit_FmtLines(hwndCtl, fAddEOL) \ + ((BOOL)SendMessage((hwndCtl), EM_FMTLINES, (WPARAM)(BOOL)(fAddEOL), 0L)) + +#define Edit_GetFirstVisibleLine(hwndCtl) \ + ((int)SendMessage((hwndCtl), EM_GETFIRSTVISIBLELINE, 0L, 0L)) + +#define Edit_GetHandle(hwndCtl) \ + ((HLOCAL)SendMessage((hwndCtl), EM_GETHANDLE, 0L, 0L)) + +#define Edit_GetLine(hwndCtl, line, lpch, cchMax) \ + ((*((int *)(lpch)) = (cchMax)), ((int)SendMessage((hwndCtl), EM_GETLINE, (WPARAM)(int)(line), (LPARAM)(LPTSTR)(lpch)))) + +#define Edit_GetModify(hwndCtl) \ + ((BOOL)SendMessage((hwndCtl), EM_GETMODIFY, 0L, 0L)) + +#define Edit_GetPasswordChar(hwndCtl) \ + ((TCHAR)SendMessage((hwndCtl), EM_GETPASSWORDCHAR, 0L, 0L)) + +#define Edit_GetRect(hwndCtl, lprc) \ + ((void)SendMessage((hwndCtl), EM_GETRECT, 0L, (LPARAM)(RECT *)(lprc))) + +#define Edit_GetSel(hwndCtl) \ + ((DWORD)SendMessage((hwndCtl), EM_GETSEL, 0L, 0L)) + +#define Edit_GetText(hwndCtl, lpch, cchMax) \ + GetWindowText((hwndCtl), (lpch), (cchMax)) + +#define Edit_GetTextLength(hwndCtl) \ + GetWindowTextLength(hwndCtl) + +#define Edit_GetWordBreakProc(hwndCtl) \ + ((EDITWORDBREAKPROC)SendMessage((hwndCtl), EM_GETWORDBREAKPROC, 0L, 0L)) + +#define Edit_LimitText(hwndCtl, cchMax) \ + ((void)SendMessage((hwndCtl), EM_LIMITTEXT, (WPARAM)(UINT)(cchMax), 0L)) + +#define Edit_LineFromChar(hwndCtl, ich) \ + ((int)SendMessage((hwndCtl), EM_LINEFROMCHAR, (WPARAM)(int)(ich), 0L)) + +#define Edit_LineIndex(hwndCtl, line) \ + ((int)SendMessage((hwndCtl), EM_LINEINDEX, (WPARAM)(int)(line), 0L)) + +#define Edit_GetLineCount(hwndCtl) \ + ((int)SendMessage((hwndCtl), EM_GETLINECOUNT, 0L, 0L)) + +#define Edit_LineLength(hwndCtl, line) \ + ((int)SendMessage((hwndCtl), EM_LINELENGTH, (WPARAM)(int)(line), 0L)) + +#define Edit_ReplaceSel(hwndCtl, lpszReplace) \ + ((void)SendMessage((hwndCtl), EM_REPLACESEL, 0L, (LPARAM)(LPCTSTR)(lpszReplace))) + +#define Edit_Scroll(hwndCtl, dv, dh) \ + ((void)SendMessage((hwndCtl), EM_LINESCROLL, (WPARAM)(int)(dh), (LPARAM)(int)(dv))) + +#define Edit_ScrollCaret(hwndCtl) \ + ((BOOL)SendMessage((hwndCtl), EM_SCROLLCARET, 0, 0L)) + +#define Edit_SetHandle(hwndCtl, h) \ + ((void)SendMessage((hwndCtl), EM_SETHANDLE, (WPARAM)(UINT)(HLOCAL)(h), 0L)) + +#define Edit_SetModify(hwndCtl, fModified) \ + ((void)SendMessage((hwndCtl), EM_SETMODIFY, (WPARAM)(UINT)(fModified), 0L)) + +#define Edit_SetPasswordChar(hwndCtl, ch) \ + ((void)SendMessage((hwndCtl), EM_SETPASSWORDCHAR, (WPARAM)(UINT)(ch), 0L)) + +#define Edit_SetReadOnly(hwndCtl, fReadOnly) \ + ((BOOL)SendMessage((hwndCtl), EM_SETREADONLY, (WPARAM)(BOOL)(fReadOnly), 0L)) + +#define Edit_SetRect(hwndCtl, lprc) \ + ((void)SendMessage((hwndCtl), EM_SETRECT, 0L, (LPARAM)(const RECT *)(lprc))) + +#define Edit_SetRectNoPaint(hwndCtl, lprc) \ + ((void)SendMessage((hwndCtl), EM_SETRECTNP, 0L, (LPARAM)(const RECT *)(lprc))) + +#define Edit_SetSel(hwndCtl, ichStart, ichEnd) \ + ((void)SendMessage((hwndCtl), EM_SETSEL, (ichStart), (ichEnd))) + +#define Edit_SetTabStops(hwndCtl, cTabs, lpTabs) \ + ((void)SendMessage((hwndCtl), EM_SETTABSTOPS, (WPARAM)(int)(cTabs), (LPARAM)(const int *)(lpTabs))) + +#define Edit_SetText(hwndCtl, lpsz) \ + SetWindowText((hwndCtl), (lpsz)) + +#define Edit_SetWordBreakProc(hwndCtl, lpfnWordBreak) \ + ((void)SendMessage((hwndCtl), EM_SETWORDBREAKPROC, 0L, (LPARAM)(EDITWORDBREAKPROC)(lpfnWordBreak))) + +#define Edit_Undo(hwndCtl) \ + ((BOOL)SendMessage((hwndCtl), EM_UNDO, 0L, 0L)) + + +/* ListBox Message APIs */ + +#define ListBox_AddItemData(hwndCtl, data) \ + ((int)SendMessage((hwndCtl), LB_ADDSTRING, 0L, (LPARAM)(LPCTSTR)(data))) + +#define ListBox_AddString(hwndCtl, lpsz) \ + ((int)SendMessage((hwndCtl), LB_ADDSTRING, 0L, (LPARAM)(LPCTSTR)(lpsz))) + +#define ListBox_DeleteString(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), LB_DELETESTRING, (WPARAM)(int)(index), 0L)) + +#define ListBox_Dir(hwndCtl, attrs, lpszFileSpec) \ + ((int)SendMessage((hwndCtl), LB_DIR, (WPARAM)(UINT)(attrs), (LPARAM)(LPCTSTR)(lpszFileSpec))) + +#define ListBox_Enable(hwndCtl, fEnable) \ + EnableWindow((hwndCtl), (fEnable)) + +#define ListBox_FindItemData(hwndCtl, indexStart, data) \ + ((int)SendMessage((hwndCtl), LB_FINDSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(data))) + +#define ListBox_FindString(hwndCtl, indexStart, lpszFind) \ + ((int)SendMessage((hwndCtl), LB_FINDSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind))) + +#define ListBox_FindStringExact(hwndCtl, indexStart, lpszFind) \ + ((int)SendMessage((hwndCtl), LB_FINDSTRINGEXACT, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind))) + +#define ListBox_GetCaretIndex(hwndCtl) \ + ((int)SendMessage((hwndCtl), LB_GETCARETINDEX, 0L, 0L)) + +#define ListBox_GetCurSel(hwndCtl) \ + ((int)SendMessage((hwndCtl), LB_GETCURSEL, 0L, 0L)) + +#define ListBox_GetCount(hwndCtl) \ + ((int)SendMessage((hwndCtl), LB_GETCOUNT, 0L, 0L)) + +#define ListBox_GetHorizontalExtent(hwndCtl) \ + ((int)SendMessage((hwndCtl), LB_GETHORIZONTALEXTENT, 0L, 0L)) + +#define ListBox_GetItemData(hwndCtl, index) \ + ((LRESULT)SendMessage((hwndCtl), LB_GETITEMDATA, (WPARAM)(int)(index), 0L)) + +#define ListBox_GetItemHeight(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), LB_GETITEMHEIGHT, (WPARAM)(int)(index), 0L)) + +#define ListBox_GetItemRect(hwndCtl, index, lprc) \ + ((int)SendMessage((hwndCtl), LB_GETITEMRECT, (WPARAM)(int)(index), (LPARAM)(RECT *)(lprc))) + +#define ListBox_GetSel(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), LB_GETSEL, (WPARAM)(int)(index), 0L)) + +#define ListBox_GetSelCount(hwndCtl) \ + ((int)SendMessage((hwndCtl), LB_GETSELCOUNT, 0L, 0L)) + +#define ListBox_GetSelItems(hwndCtl, cItems, lpItems) \ + ((int)SendMessage((hwndCtl), LB_GETSELITEMS, (WPARAM)(int)(cItems), (LPARAM)(int *)(lpItems))) + +#define ListBox_GetText(hwndCtl, index, lpszBuffer) \ + ((int)SendMessage((hwndCtl), LB_GETTEXT, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpszBuffer))) + +#define ListBox_GetTextLen(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), LB_GETTEXTLEN, (WPARAM)(int)(index), 0L)) + +#define ListBox_GetTopIndex(hwndCtl) \ + ((int)SendMessage((hwndCtl), LB_GETTOPINDEX, 0L, 0L)) + +#define ListBox_InsertItemData(hwndCtl, index, data) \ + ((int)SendMessage((hwndCtl), LB_INSERTSTRING, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(data))) + +#define ListBox_InsertString(hwndCtl, index, lpsz) \ + ((int)SendMessage((hwndCtl), LB_INSERTSTRING, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpsz))) + +#define ListBox_ResetContent(hwndCtl) \ + ((BOOL)SendMessage((hwndCtl), LB_RESETCONTENT, 0L, 0L)) + +#define ListBox_SelectItemData(hwndCtl, indexStart, data) \ + ((int)SendMessage((hwndCtl), LB_SELECTSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(data))) + +#define ListBox_SelectString(hwndCtl, indexStart, lpszFind) \ + ((int)SendMessage((hwndCtl), LB_SELECTSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind))) + +#define ListBox_SelItemRange(hwndCtl, fSelect, first, last) \ + ((int)SendMessage((hwndCtl), LB_SELITEMRANGE, (WPARAM)(BOOL)(fSelect), MAKELPARAM((first), (last)))) + +#define ListBox_SetCaretIndex(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), LB_SETCARETINDEX, (WPARAM)(int)(index), 0L)) + +#define ListBox_SetColumnWidth(hwndCtl, cxColumn) \ + ((void)SendMessage((hwndCtl), LB_SETCOLUMNWIDTH, (WPARAM)(int)(cxColumn), 0L)) + +#define ListBox_SetCurSel(hwndCtl, index) \ + ((int)SendMessage((hwndCtl), LB_SETCURSEL, (WPARAM)(int)(index), 0L)) + +#define ListBox_SetHorizontalExtent(hwndCtl, cxExtent) \ + ((void)SendMessage((hwndCtl), LB_SETHORIZONTALEXTENT, (WPARAM)(int)(cxExtent), 0L)) + +#define ListBox_SetItemData(hwndCtl, index, data) \ + ((int)SendMessage((hwndCtl), LB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(DWORD)(data))) + +#define ListBox_SetItemHeight(hwndCtl, index, cy) \ + ((int)SendMessage((hwndCtl), LB_SETITEMHEIGHT, (WPARAM)(int)(index), MAKELPARAM((cy), 0))) + +#define ListBox_SetSel(hwndCtl, fSelect, index) \ + ((int)SendMessage((hwndCtl), LB_SETSEL, (WPARAM)(BOOL)(fSelect), (LPARAM)(UINT)(index))) + +#define ListBox_SetTabStops(hwndCtl, cTabs, lpTabs) \ + ((BOOL)SendMessage((hwndCtl), LB_SETTABSTOPS, (WPARAM)(int)(cTabs), (LPARAM)(int *)(lpTabs))) + +#define ListBox_SetTopIndex(hwndCtl, indexTop) \ + ((int)SendMessage((hwndCtl), LB_SETTOPINDEX, (WPARAM)(int)(indexTop), 0L)) + + +/* Scrollbar Message APIs */ + +#define ScrollBar_Enable(hwndCtl, flags) \ + EnableScrollBar((hwndCtl), SB_CTL, (flags)) + +#define ScrollBar_GetPos(hwndCtl) \ + GetScrollPos((hwndCtl), SB_CTL) + +#define ScrollBar_GetRange(hwndCtl, lpposMin, lpposMax) \ + GetScrollRange((hwndCtl), SB_CTL, (lpposMin), (lpposMax)) + +#define ScrollBar_SetPos(hwndCtl, pos, fRedraw) \ + SetScrollPos((hwndCtl), SB_CTL, (pos), (fRedraw)) + +#define ScrollBar_SetRange(hwndCtl, posMin, posMax, fRedraw) \ + SetScrollRange((hwndCtl), SB_CTL, (posMin), (posMax), (fRedraw)) + +#define ScrollBar_Show(hwndCtl, fShow) \ + ShowWindow((hwndCtl), (fShow) ? SW_SHOWNORMAL : SW_HIDE) + + +/* Static Message APIs */ + +#define Static_Enable(hwndCtl, fEnable) \ + EnableWindow((hwndCtl), (fEnable)) + +#define Static_GetIcon(hwndCtl, hIcon) \ + ((HICON)SendMessage((hwndCtl), STM_GETICON, 0L, 0L)) + +#define Static_GetText(hwndCtl, lpch, cchMax) \ + GetWindowText((hwndCtl), (lpch), (cchMax)) + +#define Static_GetTextLength(hwndCtl) \ + GetWindowTextLength(hwndCtl) + +#define Static_SetIcon(hwndCtl, hIcon) \ + ((HICON)SendMessage((hwndCtl), STM_SETICON, (WPARAM)(HICON)(hIcon), 0L)) + +#define Static_SetText(hwndCtl, lpsz) \ + SetWindowText((hwndCtl), (lpsz)) + + +/****** Message crackers ****************************************************/ + +#define HANDLE_MSG(hwnd, message, fn) \ + case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) + +/* void Cls_OnCompacting(HWND hwnd, UINT compactRatio) */ +#define HANDLE_WM_COMPACTING(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam)), 0L) +#define FORWARD_WM_COMPACTING(hwnd, compactRatio, fn) \ + (void)(fn)((hwnd), WM_COMPACTING, (WPARAM)(UINT)(compactRatio), 0L) + +/* void Cls_OnWinIniChange(HWND hwnd, LPCTSTR lpszSectionName) */ +#define HANDLE_WM_WININICHANGE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (LPCTSTR)(lParam)), 0L) +#define FORWARD_WM_WININICHANGE(hwnd, lpszSectionName, fn) \ + (void)(fn)((hwnd), WM_WININICHANGE, 0L, (LPARAM)(LPCTSTR)(lpszSectionName)) + +/* void Cls_OnSysColorChange(HWND hwnd) */ +#define HANDLE_WM_SYSCOLORCHANGE(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_SYSCOLORCHANGE(hwnd, fn) \ + (void)(fn)((hwnd), WM_SYSCOLORCHANGE, 0L, 0L) + +/* BOOL Cls_OnQueryNewPalette(HWND hwnd) */ +#define HANDLE_WM_QUERYNEWPALETTE(hwnd, wParam, lParam, fn) \ + MAKELRESULT((BOOL)(fn)(hwnd), 0L) +#define FORWARD_WM_QUERYNEWPALETTE(hwnd, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_QUERYNEWPALETTE, 0L, 0L) + +/* void Cls_OnPaletteIsChanging(HWND hwnd, HWND hwndPaletteChange) */ +#define HANDLE_WM_PALETTEISCHANGING(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_PALETTEISCHANGING(hwnd, hwndPaletteChange, fn) \ + (void)(fn)((hwnd), WM_PALETTEISCHANGING, (WPARAM)(HWND)(hwndPaletteChange), 0L) + +/* void Cls_OnPaletteChanged(HWND hwnd, HWND hwndPaletteChange) */ +#define HANDLE_WM_PALETTECHANGED(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_PALETTECHANGED(hwnd, hwndPaletteChange, fn) \ + (void)(fn)((hwnd), WM_PALETTECHANGED, (WPARAM)(HWND)(hwndPaletteChange), 0L) + +/* void Cls_OnFontChange(HWND hwnd) */ +#define HANDLE_WM_FONTCHANGE(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_FONTCHANGE(hwnd, fn) \ + (void)(fn)((hwnd), WM_FONTCHANGE, 0L, 0L) + +/* void Cls_OnSpoolerStatus(HWND hwnd, UINT status, int cJobInQueue) */ +#define HANDLE_WM_SPOOLERSTATUS(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), (int)(short)LOWORD(lParam)), 0L) +#define FORWARD_WM_SPOOLERSTATUS(hwnd, status, cJobInQueue, fn) \ + (void)(fn)((hwnd), WM_SPOOLERSTATUS, (WPARAM)(status), MAKELPARAM((cJobInQueue), 0)) + +/* void Cls_OnDevModeChange(HWND hwnd, LPCTSTR lpszDeviceName) */ +#define HANDLE_WM_DEVMODECHANGE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (LPCTSTR)(lParam)), 0L) +#define FORWARD_WM_DEVMODECHANGE(hwnd, lpszDeviceName, fn) \ + (void)(fn)((hwnd), WM_DEVMODECHANGE, 0L, (LPARAM)(LPCTSTR)(lpszDeviceName)) + +/* void Cls_OnTimeChange(HWND hwnd) */ +#define HANDLE_WM_TIMECHANGE(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_TIMECHANGE(hwnd, fn) \ + (void)(fn)((hwnd), WM_TIMECHANGE, 0L, 0L) + +/* void Cls_OnPower(HWND hwnd, int code) */ +#define HANDLE_WM_POWER(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(wParam)), 0L) +#define FORWARD_WM_POWER(hwnd, code, fn) \ + (void)(fn)((hwnd), WM_POWER, (WPARAM)(int)(code), 0L) + +/* BOOL Cls_OnQueryEndSession(HWND hwnd) */ +#define HANDLE_WM_QUERYENDSESSION(hwnd, wParam, lParam, fn) \ + MAKELRESULT((BOOL)(fn)(hwnd), 0L) +#define FORWARD_WM_QUERYENDSESSION(hwnd, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_QUERYENDSESSION, 0L, 0L) + +/* void Cls_OnEndSession(HWND hwnd, BOOL fEnding) */ +#define HANDLE_WM_ENDSESSION(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (BOOL)(wParam)), 0L) +#define FORWARD_WM_ENDSESSION(hwnd, fEnding, fn) \ + (void)(fn)((hwnd), WM_ENDSESSION, (WPARAM)(BOOL)(fEnding), 0L) + +/* void Cls_OnQuit(HWND hwnd, int exitCode) */ +#define HANDLE_WM_QUIT(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(wParam)), 0L) +#define FORWARD_WM_QUIT(hwnd, exitCode, fn) \ + (void)(fn)((hwnd), WM_QUIT, (WPARAM)(exitCode), 0L) + +/* This message is in Windows 3.1 only */ +/* void Cls_OnSystemError(HWND hwnd, int errCode) */ +#define HANDLE_WM_SYSTEMERROR(hwnd, wParam, lParam, fn) 0L +#define FORWARD_WM_SYSTEMERROR(hwnd, errCode, fn) 0L + +/* BOOL Cls_OnCreate(HWND hwnd, LPCREATESTRUCT lpCreateStruct) */ +#define HANDLE_WM_CREATE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (LPCREATESTRUCT)(lParam)) ? 0L : (LRESULT)-1L) +#define FORWARD_WM_CREATE(hwnd, lpCreateStruct, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_CREATE, 0L, (LPARAM)(LPCREATESTRUCT)(lpCreateStruct)) + +/* BOOL Cls_OnNCCreate(HWND hwnd, LPCREATESTRUCT lpCreateStruct) */ +#define HANDLE_WM_NCCREATE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (LPCREATESTRUCT)(lParam)) +#define FORWARD_WM_NCCREATE(hwnd, lpCreateStruct, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_NCCREATE, 0L, (LPARAM)(LPCREATESTRUCT)(lpCreateStruct)) + +/* void Cls_OnDestroy(HWND hwnd) */ +#define HANDLE_WM_DESTROY(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_DESTROY(hwnd, fn) \ + (void)(fn)((hwnd), WM_DESTROY, 0L, 0L) + +/* void Cls_OnNCDestroy(HWND hwnd) */ +#define HANDLE_WM_NCDESTROY(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_NCDESTROY(hwnd, fn) \ + (void)(fn)((hwnd), WM_NCDESTROY, 0L, 0L) + +/* void Cls_OnShowWindow(HWND hwnd, BOOL fShow, UINT status) */ +#define HANDLE_WM_SHOWWINDOW(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (BOOL)(wParam), (UINT)(lParam)), 0L) +#define FORWARD_WM_SHOWWINDOW(hwnd, fShow, status, fn) \ + (void)(fn)((hwnd), WM_SHOWWINDOW, (WPARAM)(BOOL)(fShow), (LPARAM)(UINT)(status)) + +/* void Cls_OnSetRedraw(HWND hwnd, BOOL fRedraw) */ +#define HANDLE_WM_SETREDRAW(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (BOOL)(wParam)), 0L) +#define FORWARD_WM_SETREDRAW(hwnd, fRedraw, fn) \ + (void)(fn)((hwnd), WM_SETREDRAW, (WPARAM)(BOOL)(fRedraw), 0L) + +/* void Cls_OnEnable(HWND hwnd, BOOL fEnable) */ +#define HANDLE_WM_ENABLE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (BOOL)(wParam)), 0L) +#define FORWARD_WM_ENABLE(hwnd, fEnable, fn) \ + (void)(fn)((hwnd), WM_ENABLE, (WPARAM)(BOOL)(fEnable), 0L) + +/* void Cls_OnSetText(HWND hwnd, LPCTSTR lpszText) */ +#define HANDLE_WM_SETTEXT(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (LPCTSTR)(lParam)), 0L) +#define FORWARD_WM_SETTEXT(hwnd, lpszText, fn) \ + (void)(fn)((hwnd), WM_SETTEXT, 0L, (LPARAM)(LPCTSTR)(lpszText)) + +/* INT Cls_OnGetText(HWND hwnd, int cchTextMax, LPTSTR lpszText) */ +#define HANDLE_WM_GETTEXT(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(int)(fn)((hwnd), (int)(wParam), (LPTSTR)(lParam)) +#define FORWARD_WM_GETTEXT(hwnd, cchTextMax, lpszText, fn) \ + (int)(DWORD)(fn)((hwnd), WM_GETTEXT, (WPARAM)(int)(cchTextMax), (LPARAM)(LPTSTR)(lpszText)) + +/* INT Cls_OnGetTextLength(HWND hwnd) */ +#define HANDLE_WM_GETTEXTLENGTH(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(int)(fn)(hwnd) +#define FORWARD_WM_GETTEXTLENGTH(hwnd, fn) \ + (int)(DWORD)(fn)((hwnd), WM_GETTEXTLENGTH, 0L, 0L) + +/* BOOL Cls_OnWindowPosChanging(HWND hwnd, LPWINDOWPOS lpwpos) */ +#define HANDLE_WM_WINDOWPOSCHANGING(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (LPWINDOWPOS)(lParam)) +#define FORWARD_WM_WINDOWPOSCHANGING(hwnd, lpwpos, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_WINDOWPOSCHANGING, 0L, (LPARAM)(LPWINDOWPOS)(lpwpos)) + +/* void Cls_OnWindowPosChanged(HWND hwnd, const LPWINDOWPOS lpwpos) */ +#define HANDLE_WM_WINDOWPOSCHANGED(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (const LPWINDOWPOS)(lParam)), 0L) +#define FORWARD_WM_WINDOWPOSCHANGED(hwnd, lpwpos, fn) \ + (void)(fn)((hwnd), WM_WINDOWPOSCHANGED, 0L, (LPARAM)(const LPWINDOWPOS)(lpwpos)) + +/* void Cls_OnMove(HWND hwnd, int x, int y) */ +#define HANDLE_WM_MOVE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam)), 0L) +#define FORWARD_WM_MOVE(hwnd, x, y, fn) \ + (void)(fn)((hwnd), WM_MOVE, 0L, MAKELPARAM((x), (y))) + +/* void Cls_OnSize(HWND hwnd, UINT state, int cx, int cy) */ +#define HANDLE_WM_SIZE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam)), 0L) +#define FORWARD_WM_SIZE(hwnd, state, cx, cy, fn) \ + (void)(fn)((hwnd), WM_SIZE, (WPARAM)(UINT)(state), MAKELPARAM((cx), (cy))) + +/* void Cls_OnClose(HWND hwnd) */ +#define HANDLE_WM_CLOSE(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_CLOSE(hwnd, fn) \ + (void)(fn)((hwnd), WM_CLOSE, 0L, 0L) + +/* BOOL Cls_OnQueryOpen(HWND hwnd) */ +#define HANDLE_WM_QUERYOPEN(hwnd, wParam, lParam, fn) \ + MAKELRESULT((BOOL)(fn)(hwnd), 0L) +#define FORWARD_WM_QUERYOPEN(hwnd, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_QUERYOPEN, 0L, 0L) + +/* void Cls_OnPaint(HWND hwnd) */ +#define HANDLE_WM_PAINT(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_PAINT(hwnd, fn) \ + (void)(fn)((hwnd), WM_PAINT, 0L, 0L) + +/* BOOL Cls_OnEraseBkgnd(HWND hwnd, HDC hdc) */ +#define HANDLE_WM_ERASEBKGND(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (HDC)(wParam)) +#define FORWARD_WM_ERASEBKGND(hwnd, hdc, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_ERASEBKGND, (WPARAM)(HDC)(hdc), 0L) + +/* BOOL Cls_OnIconEraseBkgnd(HWND hwnd, HDC hdc) */ +#define HANDLE_WM_ICONERASEBKGND(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (HDC)(wParam)) +#define FORWARD_WM_ICONERASEBKGND(hwnd, hdc, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_ICONERASEBKGND, (WPARAM)(HDC)(hdc), 0L) + +/* void Cls_OnNCPaint(HWND hwnd, HRGN hrgn) */ +#define HANDLE_WM_NCPAINT(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HRGN)(wParam)), 0L) +#define FORWARD_WM_NCPAINT(hwnd, hrgn, fn) \ + (void)(fn)((hwnd), WM_NCPAINT, (WPARAM)(HRGN)(hrgn), 0L) + +/* UINT Cls_OnNCCalcSize(HWND hwnd, BOOL fCalcValidRects, NCCALCSIZE_PARAMS * lpcsp) */ +#define HANDLE_WM_NCCALCSIZE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)((hwnd), (BOOL)(0), (NCCALCSIZE_PARAMS *)(lParam)) +#define FORWARD_WM_NCCALCSIZE(hwnd, fCalcValidRects, lpcsp, fn) \ + (UINT)(DWORD)(fn)((hwnd), WM_NCCALCSIZE, 0L, (LPARAM)(NCCALCSIZE_PARAMS *)(lpcsp)) + +/* HICON Cls_OnQueryDragIcon(HWND hwnd) */ +#define HANDLE_WM_QUERYDRAGICON(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)(hwnd) +#define FORWARD_WM_QUERYDRAGICON(hwnd, fn) \ + (HICON)(UINT)(DWORD)(fn)((hwnd), WM_QUERYDRAGICON, 0L, 0L) + +/* void Cls_OnDropFiles(HWND hwnd, HDROP hdrop) */ +#define HANDLE_WM_DROPFILES(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HDROP)(wParam)), 0L) +#define FORWARD_WM_DROPFILES(hwnd, hdrop, fn) \ + (void)(fn)((hwnd), WM_DROPFILES, (WPARAM)(HDROP)(hdrop), 0L) + +/* void Cls_OnActivate(HWND hwnd, UINT state, HWND hwndActDeact, BOOL fMinimized) */ +#define HANDLE_WM_ACTIVATE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)LOWORD(wParam), (HWND)(lParam), (BOOL)HIWORD(wParam)), 0L) +#define FORWARD_WM_ACTIVATE(hwnd, state, hwndActDeact, fMinimized, fn) \ + (void)(fn)((hwnd), WM_ACTIVATE, MAKEWPARAM((state), (fMinimized)), (LPARAM)(HWND)(hwndActDeact)) + +/* void Cls_OnActivateApp(HWND hwnd, BOOL fActivate, DWORD dwThreadId) */ +#define HANDLE_WM_ACTIVATEAPP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (BOOL)(wParam), (DWORD)(lParam)), 0L) +#define FORWARD_WM_ACTIVATEAPP(hwnd, fActivate, dwThreadId, fn) \ + (void)(fn)((hwnd), WM_ACTIVATEAPP, (WPARAM)(BOOL)(fActivate), (LPARAM)(dwThreadId)) + +/* BOOL Cls_OnNCActivate(HWND hwnd, BOOL fActive, HWND hwndActDeact, BOOL fMinimized) */ +#define HANDLE_WM_NCACTIVATE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (BOOL)(wParam), 0L, 0L) +#define FORWARD_WM_NCACTIVATE(hwnd, fActive, hwndActDeact, fMinimized, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_NCACTIVATE, (WPARAM)(BOOL)(fActive), 0L) + +/* void Cls_OnSetFocus(HWND hwnd, HWND hwndOldFocus) */ +#define HANDLE_WM_SETFOCUS(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_SETFOCUS(hwnd, hwndOldFocus, fn) \ + (void)(fn)((hwnd), WM_SETFOCUS, (WPARAM)(HWND)(hwndOldFocus), 0L) + +/* void Cls_OnKillFocus(HWND hwnd, HWND hwndNewFocus) */ +#define HANDLE_WM_KILLFOCUS(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_KILLFOCUS(hwnd, hwndNewFocus, fn) \ + (void)(fn)((hwnd), WM_KILLFOCUS, (WPARAM)(HWND)(hwndNewFocus), 0L) + +/* void Cls_OnKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) */ +#define HANDLE_WM_KEYDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), TRUE, (int)(short)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD_WM_KEYDOWN(hwnd, vk, cRepeat, flags, fn) \ + (void)(fn)((hwnd), WM_KEYDOWN, (WPARAM)(UINT)(vk), MAKELPARAM((cRepeat), (flags))) + +/* void Cls_OnKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) */ +#define HANDLE_WM_KEYUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), FALSE, (int)(short)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD_WM_KEYUP(hwnd, vk, cRepeat, flags, fn) \ + (void)(fn)((hwnd), WM_KEYUP, (WPARAM)(UINT)(vk), MAKELPARAM((cRepeat), (flags))) + +/* void Cls_OnChar(HWND hwnd, TCHAR ch, int cRepeat) */ +#define HANDLE_WM_CHAR(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (TCHAR)(wParam), (int)(short)LOWORD(lParam)), 0L) +#define FORWARD_WM_CHAR(hwnd, ch, cRepeat, fn) \ + (void)(fn)((hwnd), WM_CHAR, (WPARAM)(TCHAR)(ch), MAKELPARAM((cRepeat),0)) + +/* void Cls_OnDeadChar(HWND hwnd, TCHAR ch, int cRepeat) */ +#define HANDLE_WM_DEADCHAR(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (TCHAR)(wParam), (int)(short)LOWORD(lParam)), 0L) +#define FORWARD_WM_DEADCHAR(hwnd, ch, cRepeat, fn) \ + (void)(fn)((hwnd), WM_DEADCHAR, (WPARAM)(TCHAR)(ch), MAKELPARAM((cRepeat),0)) + +/* void Cls_OnSysKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) */ +#define HANDLE_WM_SYSKEYDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), TRUE, (int)(short)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD_WM_SYSKEYDOWN(hwnd, vk, cRepeat, flags, fn) \ + (void)(fn)((hwnd), WM_SYSKEYDOWN, (WPARAM)(UINT)(vk), MAKELPARAM((cRepeat), (flags))) + +/* void Cls_OnSysKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) */ +#define HANDLE_WM_SYSKEYUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), FALSE, (int)(short)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD_WM_SYSKEYUP(hwnd, vk, cRepeat, flags, fn) \ + (void)(fn)((hwnd), WM_SYSKEYUP, (WPARAM)(UINT)(vk), MAKELPARAM((cRepeat), (flags))) + +/* void Cls_OnSysChar(HWND hwnd, TCHAR ch, int cRepeat) */ +#define HANDLE_WM_SYSCHAR(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (TCHAR)(wParam), (int)(short)LOWORD(lParam)), 0L) +#define FORWARD_WM_SYSCHAR(hwnd, ch, cRepeat, fn) \ + (void)(fn)((hwnd), WM_SYSCHAR, (WPARAM)(TCHAR)(ch), MAKELPARAM((cRepeat), 0)) + +/* void Cls_OnSysDeadChar(HWND hwnd, TCHAR ch, int cRepeat) */ +#define HANDLE_WM_SYSDEADCHAR(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (TCHAR)(wParam), (int)(short)LOWORD(lParam)), 0L) +#define FORWARD_WM_SYSDEADCHAR(hwnd, ch, cRepeat, fn) \ + (void)(fn)((hwnd), WM_SYSDEADCHAR, (WPARAM)(TCHAR)(ch), MAKELPARAM((cRepeat), 0)) + +/* void Cls_OnMouseMove(HWND hwnd, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_MOUSEMOVE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_MOUSEMOVE(hwnd, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), WM_MOUSEMOVE, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_LBUTTONDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), FALSE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_LBUTTONDOWN(hwnd, fDoubleClick, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), (fDoubleClick) ? WM_LBUTTONDBLCLK : WM_LBUTTONDOWN, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_LBUTTONDBLCLK(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), TRUE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) + +/* void Cls_OnLButtonUp(HWND hwnd, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_LBUTTONUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_LBUTTONUP(hwnd, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), WM_LBUTTONUP, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_RBUTTONDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), FALSE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_RBUTTONDOWN(hwnd, fDoubleClick, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), (fDoubleClick) ? WM_RBUTTONDBLCLK : WM_RBUTTONDOWN, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_RBUTTONDBLCLK(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), TRUE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) + +/* void Cls_OnRButtonUp(HWND hwnd, int x, int y, UINT flags) */ +#define HANDLE_WM_RBUTTONUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_RBUTTONUP(hwnd, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), WM_RBUTTONUP, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_MBUTTONDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), FALSE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_MBUTTONDOWN(hwnd, fDoubleClick, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), (fDoubleClick) ? WM_MBUTTONDBLCLK : WM_MBUTTONDOWN, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) */ +#define HANDLE_WM_MBUTTONDBLCLK(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), TRUE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) + +/* void Cls_OnMButtonUp(HWND hwnd, int x, int y, UINT flags) */ +#define HANDLE_WM_MBUTTONUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_MBUTTONUP(hwnd, x, y, keyFlags, fn) \ + (void)(fn)((hwnd), WM_MBUTTONUP, (WPARAM)(UINT)(keyFlags), MAKELPARAM((x), (y))) + +/* void Cls_OnNCMouseMove(HWND hwnd, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCMOUSEMOVE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCMOUSEMOVE(hwnd, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), WM_NCMOUSEMOVE, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y))) + +/* void Cls_OnNCLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCLBUTTONDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), FALSE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCLBUTTONDOWN(hwnd, fDoubleClick, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), (fDoubleClick) ? WM_NCLBUTTONDBLCLK : WM_NCLBUTTONDOWN, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y))) + +/* void Cls_OnNCLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCLBUTTONDBLCLK(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), TRUE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) + +/* void Cls_OnNCLButtonUp(HWND hwnd, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCLBUTTONUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCLBUTTONUP(hwnd, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), WM_NCLBUTTONUP, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y))) + +/* void Cls_OnNCRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCRBUTTONDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), FALSE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCRBUTTONDOWN(hwnd, fDoubleClick, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), (fDoubleClick) ? WM_NCRBUTTONDBLCLK : WM_NCRBUTTONDOWN, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y)) ) + +/* void Cls_OnNCRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCRBUTTONDBLCLK(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), TRUE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) + +/* void Cls_OnNCRButtonUp(HWND hwnd, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCRBUTTONUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCRBUTTONUP(hwnd, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), WM_NCRBUTTONUP, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y)) ) + +/* void Cls_OnNCMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCMBUTTONDOWN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), FALSE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCMBUTTONDOWN(hwnd, fDoubleClick, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), (fDoubleClick) ? WM_NCMBUTTONDBLCLK : WM_NCMBUTTONDOWN, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y)) ) + +/* void Cls_OnNCMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCMBUTTONDBLCLK(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), TRUE, (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) + +/* void Cls_OnNCMButtonUp(HWND hwnd, int x, int y, UINT codeHitTest) */ +#define HANDLE_WM_NCMBUTTONUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam), (UINT)(wParam)), 0L) +#define FORWARD_WM_NCMBUTTONUP(hwnd, x, y, codeHitTest, fn) \ + (void)(fn)((hwnd), WM_NCMBUTTONUP, (WPARAM)(UINT)(codeHitTest), MAKELPARAM((x), (y)) ) + +/* int Cls_OnMouseActivate(HWND hwnd, HWND hwndTopLevel, UINT codeHitTest, UINT msg) */ +#define HANDLE_WM_MOUSEACTIVATE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(int)(fn)((hwnd), (HWND)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)) +#define FORWARD_WM_MOUSEACTIVATE(hwnd, hwndTopLevel, codeHitTest, msg, fn) \ + (int)(DWORD)(fn)((hwnd), WM_MOUSEACTIVATE, (WPARAM)(HWND)(hwndTopLevel), MAKELPARAM((codeHitTest), (msg))) + +/* void Cls_OnCancelMode(HWND hwnd) */ +#define HANDLE_WM_CANCELMODE(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_CANCELMODE(hwnd, fn) (void)(fn)((hwnd), WM_CANCELMODE, 0L, 0L) + +/* void Cls_OnInitMenu(HWND hwnd, HMENU hMenu) */ +#define HANDLE_WM_INITMENU(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HMENU)(wParam)), 0L) +#define FORWARD_WM_INITMENU(hwnd, hMenu, fn) \ + (void)(fn)((hwnd), WM_INITMENU, (WPARAM)(HMENU)(hMenu), 0L) + +/* void Cls_OnMenuSelect(HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags) */ +#define HANDLE_WM_MENUSELECT(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HMENU)(lParam), \ + (HIWORD(wParam) & MF_POPUP) ? 0L : (int)(LOWORD(wParam)), \ + (HIWORD(wParam) & MF_POPUP) ? GetSubMenu((HMENU)lParam, LOWORD(wParam)) : 0L, \ + (UINT)(((short)HIWORD(wParam) == -1) ? 0xFFFFFFFF : HIWORD(wParam))), 0L) +#define FORWARD_WM_MENUSELECT(hwnd, hmenu, item, hmenuPopup, flags, fn) \ + (void)(fn)((hwnd), WM_MENUSELECT, MAKEWPARAM((item), (flags)), (LPARAM)(HMENU)((hmenu) ? (hmenu) : (hmenuPopup))) + +/* DWORD Cls_OnMenuChar(HWND hwnd, UINT ch, UINT flags, HMENU hmenu) */ +#define HANDLE_WM_MENUCHAR(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(fn)((hwnd), (UINT)(LOWORD(wParam)), (UINT)HIWORD(wParam), (HMENU)(lParam)) +#define FORWARD_WM_MENUCHAR(hwnd, ch, flags, hmenu, fn) \ + (DWORD)(fn)((hwnd), WM_MENUCHAR, MAKEWPARAM(flags, (WORD)(ch)), (LPARAM)(HMENU)(hmenu)) + +/* void Cls_OnHScroll(HWND hwnd, HWND hwndCtl, UINT code, int pos) */ +#define HANDLE_WM_HSCROLL(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(lParam), (UINT)(LOWORD(wParam)), (int)(short)HIWORD(wParam)), 0L) +#define FORWARD_WM_HSCROLL(hwnd, hwndCtl, code, pos, fn) \ + (void)(fn)((hwnd), WM_HSCROLL, MAKEWPARAM((UINT)(int)(code),(UINT)(int)(pos)), (LPARAM)(UINT)(hwndCtl)) + +/* void Cls_OnVScroll(HWND hwnd, HWND hwndCtl, UINT code, int pos) */ +#define HANDLE_WM_VSCROLL(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(lParam), (UINT)(LOWORD(wParam)), (int)(short)HIWORD(wParam)), 0L) +#define FORWARD_WM_VSCROLL(hwnd, hwndCtl, code, pos, fn) \ + (void)(fn)((hwnd), WM_VSCROLL, MAKEWPARAM((UINT)(int)(code), (UINT)(int)(pos)), (LPARAM)(HWND)(hwndCtl)) + +/* void Cls_OnCut(HWND hwnd) */ +#define HANDLE_WM_CUT(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_CUT(hwnd, fn) (void)(fn)((hwnd), WM_CUT, 0L, 0L) + +/* void Cls_OnCopy(HWND hwnd) */ +#define HANDLE_WM_COPY(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_COPY(hwnd, fn) (void)(fn)((hwnd), WM_COPY, 0L, 0L) + +/* void Cls_OnPaste(HWND hwnd) */ +#define HANDLE_WM_PASTE(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_PASTE(hwnd, fn) (void)(fn)((hwnd), WM_PASTE, 0L, 0L) + +/* void Cls_OnClear(HWND hwnd) */ +#define HANDLE_WM_CLEAR(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_CLEAR(hwnd, fn) (void)(fn)((hwnd), WM_CLEAR, 0L, 0L) + +/* void Cls_OnUndo(HWND hwnd) */ +#define HANDLE_WM_UNDO(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_UNDO(hwnd, fn) (void)(fn)((hwnd), WM_UNDO, 0L, 0L) + +/* HANDLE Cls_OnRenderFormat(HWND hwnd, UINT fmt) */ +#define HANDLE_WM_RENDERFORMAT(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HANDLE)(fn)((hwnd), (UINT)(wParam)) +#define FORWARD_WM_RENDERFORMAT(hwnd, fmt, fn) \ + (HANDLE)(UINT)(DWORD)(fn)((hwnd), WM_RENDERFORMAT, (WPARAM)(UINT)(fmt), 0L) + +/* void Cls_OnRenderAllFormats(HWND hwnd) */ +#define HANDLE_WM_RENDERALLFORMATS(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_RENDERALLFORMATS(hwnd, fn) (void)(fn)((hwnd), WM_RENDERALLFORMATS, 0L, 0L) + +/* void Cls_OnDestroyClipboard(HWND hwnd) */ +#define HANDLE_WM_DESTROYCLIPBOARD(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_DESTROYCLIPBOARD(hwnd, fn) (void)(fn)((hwnd), WM_DESTROYCLIPBOARD, 0L, 0L) + +/* void Cls_OnDrawClipboard(HWND hwnd) */ +#define HANDLE_WM_DRAWCLIPBOARD(hwnd, wParam, lParam, fn) ((fn)(hwnd), 0L) +#define FORWARD_WM_DRAWCLIPBOARD(hwnd, fn) (void)(fn)((hwnd), WM_DRAWCLIPBOARD, 0L, 0L) + +/* void Cls_OnPaintClipboard(HWND hwnd, HWND hwndCBViewer, const LPPAINTSTRUCT lpPaintStruct) */ +#define HANDLE_WM_PAINTCLIPBOARD(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam), (const LPPAINTSTRUCT)GlobalLock((HGLOBAL)(lParam))), GlobalUnlock((HGLOBAL)(lParam)), 0L) +#define FORWARD_WM_PAINTCLIPBOARD(hwnd, hwndCBViewer, lpPaintStruct, fn) \ + (void)(fn)((hwnd), WM_PAINTCLIPBOARD, (WPARAM)(HWND)(hwndCBViewer), (LPARAM)(LPPAINTSTRUCT)(lpPaintStruct)) + +/* void Cls_OnSizeClipboard(HWND hwnd, HWND hwndCBViewer, const LPRECT lprc) */ +#define HANDLE_WM_SIZECLIPBOARD(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam), (const LPRECT)GlobalLock((HGLOBAL)(lParam))), GlobalUnlock((HGLOBAL)(lParam)), 0L) +#define FORWARD_WM_SIZECLIPBOARD(hwnd, hwndCBViewer, lprc, fn) \ + (void)(fn)((hwnd), WM_SIZECLIPBOARD, (WPARAM)(HWND)(hwndCBViewer), (LPARAM)(LPRECT)(lprc)) + +/* void Cls_OnVScrollClipboard(HWND hwnd, HWND hwndCBViewer, UINT code, int pos) */ +#define HANDLE_WM_VSCROLLCLIPBOARD(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam), (UINT)LOWORD(lParam), (int)(short)HIWORD(lParam)), 0L) +#define FORWARD_WM_VSCROLLCLIPBOARD(hwnd, hwndCBViewer, code, pos, fn) \ + (void)(fn)((hwnd), WM_VSCROLLCLIPBOARD, (WPARAM)(HWND)(hwndCBViewer), MAKELPARAM((code), (pos))) + +/* void Cls_OnHScrollClipboard(HWND hwnd, HWND hwndCBViewer, UINT code, int pos) */ +#define HANDLE_WM_HSCROLLCLIPBOARD(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam), (UINT)LOWORD(lParam), (int)(short)HIWORD(lParam)), 0L) +#define FORWARD_WM_HSCROLLCLIPBOARD(hwnd, hwndCBViewer, code, pos, fn) \ + (void)(fn)((hwnd), WM_HSCROLLCLIPBOARD, (WPARAM)(HWND)(hwndCBViewer), MAKELPARAM((code), (pos))) + +/* void Cls_OnAskCBFormatName(HWND hwnd, int cchMax, LPTSTR rgchName) */ +#define HANDLE_WM_ASKCBFORMATNAME(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(wParam), (LPTSTR)(lParam)), 0L) +#define FORWARD_WM_ASKCBFORMATNAME(hwnd, cchMax, rgchName, fn) \ + (void)(fn)((hwnd), WM_ASKCBFORMATNAME, (WPARAM)(int)(cchMax), (LPARAM)(rgchName)) + +/* void Cls_OnChangeCBChain(HWND hwnd, HWND hwndRemove, HWND hwndNext) */ +#define HANDLE_WM_CHANGECBCHAIN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam), (HWND)(lParam)), 0L) +#define FORWARD_WM_CHANGECBCHAIN(hwnd, hwndRemove, hwndNext, fn) \ + (void)(fn)((hwnd), WM_CHANGECBCHAIN, (WPARAM)(HWND)(hwndRemove), (LPARAM)(HWND)(hwndNext)) + +/* BOOL Cls_OnSetCursor(HWND hwnd, HWND hwndCursor, UINT codeHitTest, UINT msg) */ +#define HANDLE_WM_SETCURSOR(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (HWND)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)) +#define FORWARD_WM_SETCURSOR(hwnd, hwndCursor, codeHitTest, msg, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_SETCURSOR, (WPARAM)(HWND)(hwndCursor), MAKELPARAM((codeHitTest), (msg))) + +/* void Cls_OnSysCommand(HWND hwnd, UINT cmd, int x, int y) */ +#define HANDLE_WM_SYSCOMMAND(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam)), 0L) +#define FORWARD_WM_SYSCOMMAND(hwnd, cmd, x, y, fn) \ + (void)(fn)((hwnd), WM_SYSCOMMAND, (WPARAM)(UINT)(cmd), MAKELPARAM((x), (y))) + +/* HWND Cls_MDICreate(HWND hwnd, const LPMDICREATESTRUCT lpmcs) */ +#define HANDLE_WM_MDICREATE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)((hwnd), (LPMDICREATESTRUCT)(lParam)) +#define FORWARD_WM_MDICREATE(hwnd, lpmcs, fn) \ + (HWND)(UINT)(DWORD)(fn)((hwnd), WM_MDICREATE, 0L, (LPARAM)(LPMDICREATESTRUCT)(lpmcs)) + +/* void Cls_MDIDestroy(HWND hwnd, HWND hwndDestroy) */ +#define HANDLE_WM_MDIDESTROY(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_MDIDESTROY(hwnd, hwndDestroy, fn) \ + (void)(fn)((hwnd), WM_MDIDESTROY, (WPARAM)(hwndDestroy), 0L) + +/* NOTE: Usable only by MDI client windows */ +/* void Cls_MDIActivate(HWND hwnd, BOOL fActive, HWND hwndActivate, HWND hwndDeactivate) */ +#define HANDLE_WM_MDIACTIVATE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (BOOL)(lParam == (LPARAM)hwnd), (HWND)(lParam), (HWND)(wParam)), 0L) +#define FORWARD_WM_MDIACTIVATE(hwnd, fActive, hwndActivate, hwndDeactivate, fn) \ + (void)(fn)(hwnd, WM_MDIACTIVATE, (WPARAM)(hwndDeactivate), (LPARAM)(hwndActivate)) + +/* void Cls_MDIRestore(HWND hwnd, HWND hwndRestore) */ +#define HANDLE_WM_MDIRESTORE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_MDIRESTORE(hwnd, hwndRestore, fn) \ + (void)(fn)((hwnd), WM_MDIRESTORE, (WPARAM)(hwndRestore), 0L) + +/* HWND Cls_MDINext(HWND hwnd, HWND hwndCur, BOOL fPrev) */ +#define HANDLE_WM_MDINEXT(hwnd, wParam, lParam, fn) \ + (LRESULT)(HWND)(fn)((hwnd), (HWND)(wParam), (BOOL)lParam) +#define FORWARD_WM_MDINEXT(hwnd, hwndCur, fPrev, fn) \ + (HWND)(UINT)(DWORD)(fn)((hwnd), WM_MDINEXT, (WPARAM)(hwndCur), (LPARAM)(fPrev)) + +/* void Cls_MDIMaximize(HWND hwnd, HWND hwndMaximize) */ +#define HANDLE_WM_MDIMAXIMIZE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam)), 0L) +#define FORWARD_WM_MDIMAXIMIZE(hwnd, hwndMaximize, fn) \ + (void)(fn)((hwnd), WM_MDIMAXIMIZE, (WPARAM)(hwndMaximize), 0L) + +/* BOOL Cls_MDITile(HWND hwnd, UINT cmd) */ +#define HANDLE_WM_MDITILE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam)) +#define FORWARD_WM_MDITILE(hwnd, cmd, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_MDITILE, (WPARAM)(cmd), 0L) + +/* BOOL Cls_MDICascade(HWND hwnd, UINT cmd) */ +#define HANDLE_WM_MDICASCADE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam)) +#define FORWARD_WM_MDICASCADE(hwnd, cmd, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_MDICASCADE, (WPARAM)(cmd), 0L) + +/* void Cls_MDIIconArrange(HWND hwnd) */ +#define HANDLE_WM_MDIICONARRANGE(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_MDIICONARRANGE(hwnd, fn) \ + (void)(fn)((hwnd), WM_MDIICONARRANGE, 0L, 0L) + +/* HWND Cls_MDIGetActive(HWND hwnd) */ +#define HANDLE_WM_MDIGETACTIVE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)(hwnd) +#define FORWARD_WM_MDIGETACTIVE(hwnd, fn) \ + (HWND)(UINT)(DWORD)(fn)((hwnd), WM_MDIGETACTIVE, 0L, 0L) + +/* HMENU Cls_MDISetMenu(HWND hwnd, BOOL fRefresh, HMENU hmenuFrame, HMENU hmenuWindow) */ +#define HANDLE_WM_MDISETMENU(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)((hwnd), (BOOL)(wParam), (HMENU)(wParam), (HMENU)(lParam)) +#define FORWARD_WM_MDISETMENU(hwnd, fRefresh, hmenuFrame, hmenuWindow, fn) \ + (HMENU)(UINT)(DWORD)(fn)((hwnd), WM_MDISETMENU, (WPARAM)((fRefresh) ? (hmenuFrame) : 0), (LPARAM)(hmenuWindow)) + +/* void Cls_OnChildActivate(HWND hwnd) */ +#define HANDLE_WM_CHILDACTIVATE(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_CHILDACTIVATE(hwnd, fn) \ + (void)(fn)((hwnd), WM_CHILDACTIVATE, 0L, 0L) + +/* BOOL Cls_OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam) */ +#define HANDLE_WM_INITDIALOG(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(BOOL)(fn)((hwnd), (HWND)(wParam), lParam) +#define FORWARD_WM_INITDIALOG(hwnd, hwndFocus, lParam, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_INITDIALOG, (WPARAM)(HWND)(hwndFocus), (lParam)) + +/* HWND Cls_OnNextDlgCtl(HWND hwnd, HWND hwndSetFocus, BOOL fNext) */ +#define HANDLE_WM_NEXTDLGCTL(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HWND)(fn)((hwnd), (HWND)(wParam), (BOOL)(lParam)) +#define FORWARD_WM_NEXTDLGCTL(hwnd, hwndSetFocus, fNext, fn) \ + (HWND)(UINT)(DWORD)(fn)((hwnd), WM_NEXTDLGCTL, (WPARAM)(HWND)(hwndSetFocus), (LPARAM)(fNext)) + +/* void Cls_OnParentNotify(HWND hwnd, UINT msg, HWND hwndChild, int idChild) */ +#define HANDLE_WM_PARENTNOTIFY(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)LOWORD(wParam), (HWND)(lParam), (UINT)HIWORD(wParam)), 0L) +#define FORWARD_WM_PARENTNOTIFY(hwnd, msg, hwndChild, idChild, fn) \ + (void)(fn)((hwnd), WM_PARENTNOTIFY, MAKEWPARAM(msg, idChild), (LPARAM)(hwndChild)) + +/* void Cls_OnEnterIdle(HWND hwnd, UINT source, HWND hwndSource) */ +#define HANDLE_WM_ENTERIDLE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), (HWND)(lParam)), 0L) +#define FORWARD_WM_ENTERIDLE(hwnd, source, hwndSource, fn) \ + (void)(fn)((hwnd), WM_ENTERIDLE, (WPARAM)(UINT)(source), (LPARAM)(HWND)(hwndSource)) + +/* UINT Cls_OnGetDlgCode(HWND hwnd, LPMSG lpmsg) */ +#define HANDLE_WM_GETDLGCODE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)(hwnd, (LPMSG)(lParam)) +#define FORWARD_WM_GETDLGCODE(hwnd, lpmsg, fn) \ + (UINT)(DWORD)(fn)((hwnd), WM_GETDLGCODE, (lpmsg ? lpmsg->wParam : 0), (LPARAM)(LPMSG)(lpmsg)) + +/* HBRUSH Cls_OnCtlColor(HWND hwnd, HDC hdc, HWND hwndChild, int type) */ +#define HANDLE_WM_CTLCOLORMSGBOX(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_MSGBOX) +#define FORWARD_WM_CTLCOLORMSGBOX(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLORMSGBOX, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +#define HANDLE_WM_CTLCOLOREDIT(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_EDIT) +#define FORWARD_WM_CTLCOLOREDIT(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLOREDIT, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +#define HANDLE_WM_CTLCOLORLISTBOX(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_LISTBOX) +#define FORWARD_WM_CTLCOLORLISTBOX(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLORLISTBOX, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +#define HANDLE_WM_CTLCOLORBTN(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_BTN) +#define FORWARD_WM_CTLCOLORBTN(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLORBTN, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +#define HANDLE_WM_CTLCOLORDLG(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_DLG) +#define FORWARD_WM_CTLCOLORDLG(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLORDLG, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +#define HANDLE_WM_CTLCOLORSCROLLBAR(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_SCROLLBAR) +#define FORWARD_WM_CTLCOLORSCROLLBAR(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLORSCROLLBAR, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +#define HANDLE_WM_CTLCOLORSTATIC(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(HBRUSH)(fn)((hwnd), (HDC)(wParam), (HWND)(lParam), CTLCOLOR_STATIC) +#define FORWARD_WM_CTLCOLORSTATIC(hwnd, hdc, hwndChild, fn) \ + (HBRUSH)(UINT)(DWORD)(fn)((hwnd), WM_CTLCOLORSTATIC, (WPARAM)(HDC)(hdc), (LPARAM)(HWND)(hwndChild)) + +/* void Cls_OnDeleteItem(HWND hwnd, const DELETEITEMSTRUCT * lpDeleteItem) */ +#define HANDLE_WM_DELETEITEM(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (const DELETEITEMSTRUCT *)(lParam)), 0L) +#define FORWARD_WM_DELETEITEM(hwnd, lpDeleteItem, fn) \ + (void)(fn)((hwnd), WM_DELETEITEM, (WPARAM)(((const DELETEITEMSTRUCT *)(lpDeleteItem))->CtlID), (LPARAM)(const DELETEITEMSTRUCT *)(lpDeleteItem)) + +/* int Cls_OnCompareItem(HWND hwnd, const COMPAREITEMSTRUCT * lpCompareItem) */ +#define HANDLE_WM_COMPAREITEM(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(int)(fn)((hwnd), (const COMPAREITEMSTRUCT *)(lParam)) +#define FORWARD_WM_COMPAREITEM(hwnd, lpCompareItem, fn) \ + (int)(DWORD)(fn)((hwnd), WM_COMPAREITEM, (WPARAM)(((const COMPAREITEMSTRUCT *)(lpCompareItem))->CtlID), (LPARAM)(const COMPAREITEMSTRUCT *)(lpCompareItem)) + +/* int Cls_OnVkeyToItem(HWND hwnd, UINT vk, HWND hwndListbox, int iCaret) */ +#define HANDLE_WM_VKEYTOITEM(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(int)(fn)((hwnd), (UINT)LOWORD(wParam), (HWND)(lParam), (int)(short)HIWORD(wParam)) +#define FORWARD_WM_VKEYTOITEM(hwnd, vk, hwndListBox, iCaret, fn) \ + (int)(DWORD)(fn)((hwnd), WM_VKEYTOITEM, MAKEWPARAM((vk), (iCaret)), (LPARAM)(hwndListBox)) + +/* int Cls_OnCharToItem(HWND hwnd, UINT ch, HWND hwndListbox, int iCaret) */ +#define HANDLE_WM_CHARTOITEM(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(int)(fn)((hwnd), (UINT)LOWORD(wParam), (HWND)(lParam), (int)(short)HIWORD(wParam)) +#define FORWARD_WM_CHARTOITEM(hwnd, ch, hwndListBox, iCaret, fn) \ + (int)(DWORD)(fn)((hwnd), WM_CHARTOITEM, MAKEWPARAM((UINT)(ch), (UINT)(iCaret)), (LPARAM)(hwndListBox)) + +/* void Cls_OnQueueSync(HWND hwnd) */ +#define HANDLE_WM_QUEUESYNC(hwnd, wParam, lParam, fn) \ + ((fn)(hwnd), 0L) +#define FORWARD_WM_QUEUESYNC(hwnd, fn) \ + (void)(fn)((hwnd), WM_QUEUESYNC, 0L, 0L) +/* void Cls_OnCommNotify(HWND hwnd, int cid, UINT flags) */ +#define HANDLE_WM_COMMNOTIFY(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(wParam), (UINT)LOWORD(lParam)), 0L) +#define FORWARD_WM_COMMNOTIFY(hwnd, cid, flags, fn) \ + (void)(fn)((hwnd), WM_COMMNOTIFY, (WPARAM)(cid), MAKELPARAM((flags), 0)) + +/* void Cls_OnDisplayChange(HWND hwnd, UINT bitsPerPixel, UINT cxScreen, UINT cyScreen) */ +#define HANDLE_WM_DISPLAYCHANGE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (UINT)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD_WM_DISPLAYCHANGE(hwnd, bitsPerPixel, cxScreen, cyScreen, fn) \ + (void)(fn)((hwnd), WM_DISPLAYCHANGE, (WPARAM)(UINT)(bitsPerPixel), (LPARAM)MAKELPARAM((UINT)(cxScreen), (UINT)(cyScreen))) + +/* BOOL Cls_OnDeviceChange(HWND hwnd, UINT uEvent, DWORD dwEventData) */ +#define HANDLE_WM_DEVICECHANGE(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (UINT)(wParam), (DWORD)(wParam)) +#define FORWARD_WM_DEVICECHANGE(hwnd, uEvent, dwEventData, fn) \ + (BOOL)(DWORD)(fn)((hwnd), WM_DEVICECHANGE, (WPARAM)(UINT)(uEvent), (LPARAM)(DWORD)(dwEventData)) + +/* void Cls_OnContextMenu(HWND hwnd, HWND hwndContext, UINT xPos, UINT yPos) */ +#define HANDLE_WM_CONTEXTMENU(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HWND)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD_WM_CONTEXTMENU(hwnd, hwndContext, xPos, yPos, fn) \ + (void)(fn)((hwnd), WM_CONTEXTMENU, (WPARAM)(HWND)(hwndContext), MAKELPARAM((UINT)(xPos), (UINT)(yPos))) + +/* void Cls_OnMeasureItem(HWND hwnd, MEASUREITEMSTRUCT * lpMeasureItem) */ +#define HANDLE_WM_MEASUREITEM(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (MEASUREITEMSTRUCT *)(lParam)), 0L) +#define FORWARD_WM_MEASUREITEM(hwnd, lpMeasureItem, fn) \ + (void)(fn)((hwnd), WM_MEASUREITEM, (WPARAM)(((MEASUREITEMSTRUCT *)lpMeasureItem)->CtlID), (LPARAM)(MEASUREITEMSTRUCT *)(lpMeasureItem)) + +/* void Cls_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify) */ +#define HANDLE_WM_COMMAND(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (int)(LOWORD(wParam)), (HWND)(lParam), (UINT)HIWORD(wParam)), 0L) +#define FORWARD_WM_COMMAND(hwnd, id, hwndCtl, codeNotify, fn) \ + (void)(fn)((hwnd), WM_COMMAND, MAKEWPARAM((UINT)(id),(UINT)(codeNotify)), (LPARAM)(HWND)(hwndCtl)) + +/* void Cls_OnTimer(HWND hwnd, UINT id) */ +#define HANDLE_WM_TIMER(hwnd, wParam, lParam, fn) ((fn)((hwnd), (UINT)(wParam)), 0L) +#define FORWARD_WM_TIMER(hwnd, id, fn) (void)(fn)((hwnd), WM_TIMER, (WPARAM)(UINT)(id), 0L) + +/* void Cls_OnInitMenuPopup(HWND hwnd, HMENU hMenu, UINT item, BOOL fSystemMenu) */ +#define HANDLE_WM_INITMENUPOPUP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HMENU)(wParam), (UINT)LOWORD(lParam), (BOOL)HIWORD(lParam)), 0L) +#define FORWARD_WM_INITMENUPOPUP(hwnd, hMenu, item, fSystemMenu, fn) \ + (void)(fn)((hwnd), WM_INITMENUPOPUP, (WPARAM)(HMENU)(hMenu), MAKELPARAM((item),(fSystemMenu))) + +/* UINT Cls_OnNCHitTest(HWND hwnd, int x, int y) */ +#define HANDLE_WM_NCHITTEST(hwnd, wParam, lParam, fn) \ + (LRESULT)(DWORD)(UINT)(fn)((hwnd), (int)(short)LOWORD(lParam), (int)(short)HIWORD(lParam)) +#define FORWARD_WM_NCHITTEST(hwnd, x, y, fn) \ + (UINT)(DWORD)(fn)((hwnd), WM_NCHITTEST, 0L, MAKELPARAM((x), (y))) + +/* HFONT Cls_OnGetFont(HWND hwnd) */ +#define HANDLE_WM_GETFONT(hwnd, wParam, lParam, fn) (LRESULT)(DWORD)(UINT)(HFONT)(fn)(hwnd) +#define FORWARD_WM_GETFONT(hwnd, fn) (HFONT)(UINT)(DWORD)(fn)((hwnd), WM_GETFONT, 0L, 0L) + +/* void Cls_OnSetFont(HWND hwndCtl, HFONT hfont, BOOL fRedraw) */ +#define HANDLE_WM_SETFONT(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HFONT)(wParam), (BOOL)(lParam)), 0L) +#define FORWARD_WM_SETFONT(hwnd, hfont, fRedraw, fn) \ + (void)(fn)((hwnd), WM_SETFONT, (WPARAM)(HFONT)(hfont), (LPARAM)(BOOL)(fRedraw)) + +/* void Cls_OnGetMinMaxInfo(HWND hwnd, LPMINMAXINFO lpMinMaxInfo) */ +#define HANDLE_WM_GETMINMAXINFO(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (LPMINMAXINFO)(lParam)), 0L) +#define FORWARD_WM_GETMINMAXINFO(hwnd, lpMinMaxInfo, fn) \ + (void)(fn)((hwnd), WM_GETMINMAXINFO, 0L, (LPARAM)(LPMINMAXINFO)(lpMinMaxInfo)) + +/* void Cls_OnDrawItem(HWND hwnd, const DRAWITEMSTRUCT lpDrawItem) */ +#define HANDLE_WM_DRAWITEM(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (const DRAWITEMSTRUCT *)(lParam)), 0L) +#define FORWARD_WM_DRAWITEM(hwnd, lpDrawItem, fn) \ + (void)(fn)((hwnd), WM_DRAWITEM, (WPARAM)(((const DRAWITEMSTRUCT *)lpDrawItem)->CtlID), (LPARAM)(const DRAWITEMSTRUCT *)(lpDrawItem)) + + +/****** C runtime porting macros ****************************************/ + +#define _ncalloc calloc +#define _nexpand _expand +#define _ffree free +#define _fmalloc malloc +#define _fmemccpy _memccpy +#define _fmemchr memchr +#define _fmemcmp memcmp +#define _fmemcpy memcpy +#define _fmemicmp _memicmp +#define _fmemmove memmove +#define _fmemset memset +#define _fmsize _msize +#define _frealloc realloc +#define _fstrcat strcat +#define _fstrchr strchr +#define _fstrcmp strcmp +#define _fstrcpy strcpy +#define _fstrcspn strcspn +#define _fstrdup _strdup +#define _fstricmp _stricmp +#define _fstrlen strlen +#define _fstrlwr _strlwr +#define _fstrncat strncat +#define _fstrncmp strncmp +#define _fstrncpy strncpy +#define _fstrnicmp _strnicmp +#define _fstrnset _strnset +#define _fstrpbrk strpbrk +#define _fstrrchr strrchr +#define _fstrrev _strrev +#define _fstrset _strset +#define _fstrspn strspn +#define _fstrstr strstr +#define _fstrtok strtok +#define _fstrupr _strupr +#define _nfree free +#define _nmalloc malloc +#define _nmsize _msize +#define _nrealloc realloc +#define _nstrdup _strdup +#define hmemcpy MoveMemory + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winerror.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winerror.h new file mode 100644 index 0000000..2c6ce20 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winerror.h @@ -0,0 +1,3160 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINERROR_H +#define __WINE_WINERROR_H + +#define FACILITY_NULL 0 +#define FACILITY_RPC 1 +#define FACILITY_DISPATCH 2 +#define FACILITY_STORAGE 3 +#define FACILITY_ITF 4 +#define FACILITY_WIN32 7 +#define FACILITY_WINDOWS 8 +#define FACILITY_SSPI 9 +#define FACILITY_SECURITY FACILITY_SSPI +#define FACILITY_CONTROL 10 +#define FACILITY_CERT 11 +#define FACILITY_INTERNET 12 +#define FACILITY_MEDIASERVER 13 +#define FACILITY_MSMQ 14 +#define FACILITY_SETUPAPI 15 +#define FACILITY_SCARD 16 +#define FACILITY_COMPLUS 17 +#define FACILITY_AAF 18 +#define FACILITY_URT 19 +#define FACILITY_ACS 20 +#define FACILITY_DPLAY 21 +#define FACILITY_UMI 22 +#define FACILITY_SXS 23 +#define FACILITY_WINDOWS_CE 24 +#define FACILITY_HTTP 25 +#define FACILITY_COMMONLOG 26 +#define FACILITY_USERMODE_FILTER_MANAGER 31 +#define FACILITY_BACKGROUNDCOPY 32 +#define FACILITY_CONFIGURATION 33 +#define FACILITY_STATE_MANAGEMENT 34 +#define FACILITY_METADIRECTORY 35 +#define FACILITY_WINDOWSUPDATE 36 +#define FACILITY_DIRECTORYSERVICE 37 +#define FACILITY_GRAPHICS 38 +#define FACILITY_SHELL 39 +#define FACILITY_TPM_SERVICES 40 +#define FACILITY_TPM_SOFTWARE 41 +#define FACILITY_PLA 48 +#define FACILITY_FVE 49 +#define FACILITY_WINDOWS_DEFENDER 80 +#define FACILITY_DIRECT3D11 0x87c +#define FACILITY_AUDCLNT 0x889 + +#define SEVERITY_SUCCESS 0 +#define SEVERITY_ERROR 1 + + +#define MAKE_HRESULT(sev,fac,code) \ + ((HRESULT) (((unsigned int)(sev)<<31) | ((unsigned int)(fac)<<16) | ((unsigned int)(code))) ) +#define MAKE_SCODE(sev,fac,code) \ + ((SCODE) (((unsigned int)(sev)<<31) | ((unsigned int)(fac)<<16) | ((unsigned int)(code))) ) +#define SUCCEEDED(stat) ((HRESULT)(stat)>=0) +#define FAILED(stat) ((HRESULT)(stat)<0) +#define IS_ERROR(stat) (((unsigned int)(stat)>>31) == SEVERITY_ERROR) + +#define HRESULT_CODE(hr) ((hr) & 0xFFFF) +#define SCODE_CODE(sc) ((sc) & 0xFFFF) + +#define HRESULT_FACILITY(hr) (((hr) >> 16) & 0x1FFF) +#define SCODE_FACILITY(sc) (((sc) >> 16) & 0x1FFF) + +#define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x1) +#define SCODE_SEVERITY(sc) (((sc) >> 31) & 0x1) + +#define __HRESULT_FROM_WIN32(x) ((HRESULT)(x) > 0 ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : (HRESULT)(x) ) +#ifndef _HRESULT_DEFINED +#define _HRESULT_DEFINED +# ifdef _MSC_VER +typedef long HRESULT; +# else +typedef int HRESULT; +# endif +#endif +static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) +{ + return (HRESULT)x > 0 ? ((HRESULT) ((x & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : (HRESULT)x; +} +#define FACILITY_NT_BIT 0x10000000 +#define HRESULT_FROM_NT(x) ((HRESULT) ((x) | FACILITY_NT_BIT)) + +/* SCODE <-> HRESULT functions */ +/* This macros is obsolete and should not be used in new apps. */ +#define GetScode(hr) ((SCODE)(hr)) +/* This macros is obsolete and should not be used in new apps. */ +#define ResultFromScode(sc) ((HRESULT)(sc)) + +#define NO_ERROR 0 +#define ERROR_SUCCESS 0 +#define ERROR_INVALID_FUNCTION 1 +#define ERROR_FILE_NOT_FOUND 2 +#define ERROR_PATH_NOT_FOUND 3 +#define ERROR_TOO_MANY_OPEN_FILES 4 +#define ERROR_ACCESS_DENIED 5 +#define ERROR_INVALID_HANDLE 6 +#define ERROR_ARENA_TRASHED 7 +#define ERROR_NOT_ENOUGH_MEMORY 8 +#define ERROR_INVALID_BLOCK 9 +#define ERROR_BAD_ENVIRONMENT 10 +#define ERROR_BAD_FORMAT 11 +#define ERROR_INVALID_ACCESS 12 +#define ERROR_INVALID_DATA 13 +#define ERROR_OUTOFMEMORY 14 +#define ERROR_INVALID_DRIVE 15 +#define ERROR_CURRENT_DIRECTORY 16 +#define ERROR_NOT_SAME_DEVICE 17 +#define ERROR_NO_MORE_FILES 18 +#define ERROR_WRITE_PROTECT 19 +#define ERROR_BAD_UNIT 20 +#define ERROR_NOT_READY 21 +#define ERROR_BAD_COMMAND 22 +#define ERROR_CRC 23 +#define ERROR_BAD_LENGTH 24 +#define ERROR_SEEK 25 +#define ERROR_NOT_DOS_DISK 26 +#define ERROR_SECTOR_NOT_FOUND 27 +#define ERROR_OUT_OF_PAPER 28 +#define ERROR_WRITE_FAULT 29 +#define ERROR_READ_FAULT 30 +#define ERROR_GEN_FAILURE 31 +#define ERROR_SHARING_VIOLATION 32 +#define ERROR_LOCK_VIOLATION 33 +#define ERROR_WRONG_DISK 34 +#define ERROR_FCB_UNAVAILABLE 35 +#define ERROR_SHARING_BUFFER_EXCEEDED 36 +#define ERROR_HANDLE_EOF 38 +#define ERROR_HANDLE_DISK_FULL 39 +#define ERROR_NOT_SUPPORTED 50 +#define ERROR_REM_NOT_LIST 51 +#define ERROR_DUP_NAME 52 +#define ERROR_BAD_NETPATH 53 +#define ERROR_NETWORK_BUSY 54 +#define ERROR_DEV_NOT_EXIST 55 +#define ERROR_TOO_MANY_CMDS 56 +#define ERROR_ADAP_HDW_ERR 57 +#define ERROR_BAD_NET_RESP 58 +#define ERROR_UNEXP_NET_ERR 59 +#define ERROR_BAD_REM_ADAP 60 +#define ERROR_PRINTQ_FULL 61 +#define ERROR_NO_SPOOL_SPACE 62 +#define ERROR_PRINT_CANCELLED 63 +#define ERROR_NETNAME_DELETED 64 +#define ERROR_NETWORK_ACCESS_DENIED 65 +#define ERROR_BAD_DEV_TYPE 66 +#define ERROR_BAD_NET_NAME 67 +#define ERROR_TOO_MANY_NAMES 68 +#define ERROR_TOO_MANY_SESS 69 +#define ERROR_SHARING_PAUSED 70 +#define ERROR_REQ_NOT_ACCEP 71 +#define ERROR_REDIR_PAUSED 72 +#define ERROR_FILE_EXISTS 80 +#define ERROR_CANNOT_MAKE 82 +#define ERROR_FAIL_I24 83 +#define ERROR_OUT_OF_STRUCTURES 84 +#define ERROR_ALREADY_ASSIGNED 85 +#define ERROR_INVALID_PASSWORD 86 +#define ERROR_INVALID_PARAMETER 87 +#define ERROR_NET_WRITE_FAULT 88 +#define ERROR_NO_PROC_SLOTS 89 +#define ERROR_TOO_MANY_SEMAPHORES 100 +#define ERROR_EXCL_SEM_ALREADY_OWNED 101 +#define ERROR_SEM_IS_SET 102 +#define ERROR_TOO_MANY_SEM_REQUESTS 103 +#define ERROR_INVALID_AT_INTERRUPT_TIME 104 +#define ERROR_SEM_OWNER_DIED 105 +#define ERROR_SEM_USER_LIMIT 106 +#define ERROR_DISK_CHANGE 107 +#define ERROR_DRIVE_LOCKED 108 +#define ERROR_BROKEN_PIPE 109 +#define ERROR_OPEN_FAILED 110 +#define ERROR_BUFFER_OVERFLOW 111 +#define ERROR_DISK_FULL 112 +#define ERROR_NO_MORE_SEARCH_HANDLES 113 +#define ERROR_INVALID_TARGET_HANDLE 114 +#define ERROR_INVALID_CATEGORY 117 +#define ERROR_INVALID_VERIFY_SWITCH 118 +#define ERROR_BAD_DRIVER_LEVEL 119 +#define ERROR_CALL_NOT_IMPLEMENTED 120 +#define ERROR_SEM_TIMEOUT 121 +#define ERROR_INSUFFICIENT_BUFFER 122 +#define ERROR_INVALID_NAME 123 +#define ERROR_INVALID_LEVEL 124 +#define ERROR_NO_VOLUME_LABEL 125 +#define ERROR_MOD_NOT_FOUND 126 +#define ERROR_PROC_NOT_FOUND 127 +#define ERROR_WAIT_NO_CHILDREN 128 +#define ERROR_CHILD_NOT_COMPLETE 129 +#define ERROR_DIRECT_ACCESS_HANDLE 130 +#define ERROR_NEGATIVE_SEEK 131 +#define ERROR_SEEK_ON_DEVICE 132 +#define ERROR_IS_JOIN_TARGET 133 +#define ERROR_IS_JOINED 134 +#define ERROR_IS_SUBSTED 135 +#define ERROR_NOT_JOINED 136 +#define ERROR_NOT_SUBSTED 137 +#define ERROR_JOIN_TO_JOIN 138 +#define ERROR_SUBST_TO_SUBST 139 +#define ERROR_JOIN_TO_SUBST 140 +#define ERROR_SUBST_TO_JOIN 141 +#define ERROR_BUSY_DRIVE 142 +#define ERROR_SAME_DRIVE 143 +#define ERROR_DIR_NOT_ROOT 144 +#define ERROR_DIR_NOT_EMPTY 145 +#define ERROR_IS_SUBST_PATH 146 +#define ERROR_IS_JOIN_PATH 147 +#define ERROR_PATH_BUSY 148 +#define ERROR_IS_SUBST_TARGET 149 +#define ERROR_SYSTEM_TRACE 150 +#define ERROR_INVALID_EVENT_COUNT 151 +#define ERROR_TOO_MANY_MUXWAITERS 152 +#define ERROR_INVALID_LIST_FORMAT 153 +#define ERROR_LABEL_TOO_LONG 154 +#define ERROR_TOO_MANY_TCBS 155 +#define ERROR_SIGNAL_REFUSED 156 +#define ERROR_DISCARDED 157 +#define ERROR_NOT_LOCKED 158 +#define ERROR_BAD_THREADID_ADDR 159 +#define ERROR_BAD_ARGUMENTS 160 +#define ERROR_BAD_PATHNAME 161 +#define ERROR_SIGNAL_PENDING 162 +#define ERROR_MAX_THRDS_REACHED 164 +#define ERROR_LOCK_FAILED 167 +#define ERROR_BUSY 170 +#define ERROR_DEVICE_SUPPORT_IN_PROGRESS 171 +#define ERROR_CANCEL_VIOLATION 173 +#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174 +#define ERROR_INVALID_SEGMENT_NUMBER 180 +#define ERROR_INVALID_ORDINAL 182 +#define ERROR_ALREADY_EXISTS 183 +#define ERROR_INVALID_FLAG_NUMBER 186 +#define ERROR_SEM_NOT_FOUND 187 +#define ERROR_INVALID_STARTING_CODESEG 188 +#define ERROR_INVALID_STACKSEG 189 +#define ERROR_INVALID_MODULETYPE 190 +#define ERROR_INVALID_EXE_SIGNATURE 191 +#define ERROR_EXE_MARKED_INVALID 192 +#define ERROR_BAD_EXE_FORMAT 193 +#define ERROR_ITERATED_DATA_EXCEEDS_64k 194 +#define ERROR_INVALID_MINALLOCSIZE 195 +#define ERROR_DYNLINK_FROM_INVALID_RING 196 +#define ERROR_IOPL_NOT_ENABLED 197 +#define ERROR_INVALID_SEGDPL 198 +#define ERROR_AUTODATASEG_EXCEEDS_64k 199 +#define ERROR_RING2SEG_MUST_BE_MOVABLE 200 +#define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 201 +#define ERROR_INFLOOP_IN_RELOC_CHAIN 202 +#define ERROR_ENVVAR_NOT_FOUND 203 +#define ERROR_NO_SIGNAL_SENT 205 +#define ERROR_FILENAME_EXCED_RANGE 206 +#define ERROR_RING2_STACK_IN_USE 207 +#define ERROR_META_EXPANSION_TOO_LONG 208 +#define ERROR_INVALID_SIGNAL_NUMBER 209 +#define ERROR_THREAD_1_INACTIVE 210 +#define ERROR_LOCKED 212 +#define ERROR_TOO_MANY_MODULES 214 +#define ERROR_NESTING_NOT_ALLOWED 215 +#define ERROR_EXE_MACHINE_TYPE_MISMATCH 216 +#define ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY 217 +#define ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY 218 +#define ERROR_FILE_CHECKED_OUT 220 +#define ERROR_CHECKOUT_REQUIRED 221 +#define ERROR_BAD_FILE_TYPE 222 +#define ERROR_FILE_TOO_LARGE 223 +#define ERROR_FORMS_AUTH_REQUIRED 224 +#define ERROR_VIRUS_INFECTED 225 +#define ERROR_VIRUS_DELETED 226 +#define ERROR_PIPE_LOCAL 229 +#define ERROR_BAD_PIPE 230 +#define ERROR_PIPE_BUSY 231 +#define ERROR_NO_DATA 232 +#define ERROR_PIPE_NOT_CONNECTED 233 +#define ERROR_MORE_DATA 234 +#define ERROR_VC_DISCONNECTED 240 +#define ERROR_INVALID_EA_NAME 254 +#define ERROR_EA_LIST_INCONSISTENT 255 +#define WAIT_TIMEOUT 258 +#define ERROR_NO_MORE_ITEMS 259 +#define ERROR_CANNOT_COPY 266 +#define ERROR_DIRECTORY 267 +#define ERROR_EAS_DIDNT_FIT 275 +#define ERROR_EA_FILE_CORRUPT 276 +#define ERROR_EA_TABLE_FULL 277 +#define ERROR_INVALID_EA_HANDLE 278 +#define ERROR_EAS_NOT_SUPPORTED 282 +#define ERROR_NOT_OWNER 288 +#define ERROR_TOO_MANY_POSTS 298 +#define ERROR_PARTIAL_COPY 299 +#define ERROR_OPLOCK_NOT_GRANTED 300 +#define ERROR_INVALID_OPLOCK_PROTOCOL 301 +#define ERROR_DISK_TOO_FRAGMENTED 302 +#define ERROR_DELETE_PENDING 303 +#define ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING 304 +#define ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME 305 +#define ERROR_SECURITY_STREAM_IS_INCONSISTENT 306 +#define ERROR_INVALID_LOCK_RANGE 307 +#define ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT 308 +#define ERROR_NOTIFICATION_GUID_ALREADY_DEFINED 309 +#define ERROR_INVALID_EXCEPTION_HANDLER 310 +#define ERROR_DUPLICATE_PRIVILEGES 311 +#define ERROR_NO_RANGES_PROCESSED 312 +#define ERROR_NOT_ALLOWED_ON_SYSTEM_FILE 313 +#define ERROR_DISK_RESOURCES_EXHAUSTED 314 +#define ERROR_INVALID_TOKEN 315 +#define ERROR_DEVICE_FEATURE_NOT_SUPPORTED 316 +#define ERROR_MR_MID_NOT_FOUND 317 +#define ERROR_SCOPE_NOT_FOUND 318 +#define ERROR_UNDEFINED_SCOPE 319 +#define ERROR_INVALID_CAP 320 +#define ERROR_DEVICE_UNREACHABLE 321 +#define ERROR_DEVICE_NO_RESOURCES 322 +#define ERROR_DATA_CHECKSUM_ERROR 323 +#define ERROR_INTERMIXED_KERNEL_EA_OPERATION 324 +#define ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED 326 +#define ERROR_OFFSET_ALIGNMENT_VIOLATION 327 +#define ERROR_INVALID_FIELD_IN_PARAMETER_LIST 328 +#define ERROR_OPERATION_IN_PROGRESS 329 +#define ERROR_BAD_DEVICE_PATH 330 +#define ERROR_TOO_MANY_DESCRIPTORS 331 +#define ERROR_SCRUB_DATA_DISABLED 332 +#define ERROR_NOT_REDUNDANT_STORAGE 333 +#define ERROR_RESIDENT_FILE_NOT_SUPPORTED 334 +#define ERROR_COMPRESSED_FILE_NOT_SUPPORTED 335 +#define ERROR_DIRECTORY_NOT_SUPPORTED 336 +#define ERROR_NOT_READ_FROM_COPY 337 +#define ERROR_FT_WRITE_FAILURE 338 +#define ERROR_FT_DI_SCAN_REQUIRED 339 +#define ERROR_INVALID_KERNEL_INFO_VERSION 340 +#define ERROR_INVALID_PEP_INFO_VERSION 341 +#define ERROR_FAIL_NOACTION_REBOOT 350 +#define ERROR_FAIL_SHUTDOWN 351 +#define ERROR_FAIL_RESTART 352 +#define ERROR_MAX_SESSIONS_REACHED 353 +#define ERROR_INVALID_ADDRESS 487 +#define ERROR_USER_PROFILE_LOAD 500 +#define ERROR_ARITHMETIC_OVERFLOW 534 +#define ERROR_PIPE_CONNECTED 535 +#define ERROR_PIPE_LISTENING 536 +#define ERROR_INVALID_LDT_SIZE 561 +#define ERROR_INVALID_LDT_OFFSET 563 +#define ERROR_INVALID_LDT_DESCRIPTOR 564 +#define ERROR_TOO_MANY_THREADS 565 +#define ERROR_THREAD_NOT_IN_PROCESS 566 +#define ERROR_PAGEFILE_QUOTA_EXCEEDED 567 +#define ERROR_LOGON_SERVER_CONFLICT 568 +#define ERROR_SYNCHRONIZATION_REQUIRED 569 +#define ERROR_NET_OPEN_FAILED 570 +#define ERROR_IO_PRIVILEGE_FAILED 571 +#define ERROR_CONTROL_C_EXIT 572 +#define ERROR_MISSING_SYSTEMFILE 573 +#define ERROR_UNHANDLED_EXCEPTION 574 +#define ERROR_APP_INIT_FAILURE 575 +#define ERROR_PAGEFILE_CREATE_FAILED 576 +#define ERROR_INVALID_IMAGE_HASH 577 +#define ERROR_NO_PAGEFILE 578 +#define ERROR_ILLEGAL_FLOAT_CONTEXT 579 +#define ERROR_NO_EVENT_PAIR 580 +#define ERROR_DOMAIN_CTRLR_CONFIG_ERROR 581 +#define ERROR_ILLEGAL_CHARACTER 582 +#define ERROR_UNDEFINED_CHARACTER 583 +#define ERROR_FLOPPY_VOLUME 584 +#define ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT 585 +#define ERROR_BACKUP_CONTROLLER 586 +#define ERROR_MUTANT_LIMIT_EXCEEDED 587 +#define ERROR_FS_DRIVER_REQUIRED 588 +#define ERROR_CANNOT_LOAD_REGISTRY_FILE 589 +#define ERROR_DEBUG_ATTACH_FAILED 590 +#define ERROR_SYSTEM_PROCESS_TERMINATED 591 +#define ERROR_DATA_NOT_ACCEPTED 592 +#define ERROR_VDM_HARD_ERROR 593 +#define ERROR_DRIVER_CANCEL_TIMEOUT 594 +#define ERROR_REPLY_MESSAGE_MISMATCH 595 +#define ERROR_LOST_WRITEBEHIND_DATA 596 +#define ERROR_CLIENT_SERVER_PARAMETERS_INVALID 597 +#define ERROR_NOT_TINY_STREAM 598 +#define ERROR_STACK_OVERFLOW_READ 599 +#define ERROR_CONVERT_TO_LARGE 600 +#define ERROR_FOUND_OUT_OF_SCOPE 601 +#define ERROR_ALLOCATE_BUCKET 602 +#define ERROR_MARSHALL_OVERFLOW 603 +#define ERROR_INVALID_VARIANT 604 +#define ERROR_BAD_COMPRESSION_BUFFER 605 +#define ERROR_AUDIT_FAILED 606 +#define ERROR_TIMER_RESOLUTION_NOT_SET 607 +#define ERROR_INSUFFICIENT_LOGON_INFO 608 +#define ERROR_BAD_DLL_ENTRYPOINT 609 +#define ERROR_BAD_SERVICE_ENTRYPOINT 610 +#define ERROR_IP_ADDRESS_CONFLICT1 611 +#define ERROR_IP_ADDRESS_CONFLICT2 612 +#define ERROR_REGISTRY_QUOTA_LIMIT 613 +#define ERROR_NO_CALLBACK_ACTIVE 614 +#define ERROR_PWD_TOO_SHORT 615 +#define ERROR_PWD_TOO_RECENT 616 +#define ERROR_PWD_HISTORY_CONFLICT 617 +#define ERROR_UNSUPPORTED_COMPRESSION 618 +#define ERROR_INVALID_HW_PROFILE 619 +#define ERROR_INVALID_PLUGPLAY_DEVICE_PATH 620 +#define ERROR_QUOTA_LIST_INCONSISTENT 621 +#define ERROR_EVALUATION_EXPIRATION 622 +#define ERROR_ILLEGAL_DLL_RELOCATION 623 +#define ERROR_DLL_INIT_FAILED_LOGOFF 624 +#define ERROR_VALIDATE_CONTINUE 625 +#define ERROR_NO_MORE_MATCHES 626 +#define ERROR_RANGE_LIST_CONFLICT 627 +#define ERROR_SERVER_SID_MISMATCH 628 +#define ERROR_CANT_ENABLE_DENY_ONLY 629 +#define ERROR_FLOAT_MULTIPLE_FAULTS 630 +#define ERROR_FLOAT_MULTIPLE_TRAPS 631 +#define ERROR_NOINTERFACE 632 +#define ERROR_DRIVER_FAILED_SLEEP 633 +#define ERROR_CORRUPT_SYSTEM_FILE 634 +#define ERROR_COMMITMENT_MINIMUM 635 +#define ERROR_PNP_RESTART_ENUMERATION 636 +#define ERROR_SYSTEM_IMAGE_BAD_SIGNATURE 637 +#define ERROR_PNP_REBOOT_REQUIRED 638 +#define ERROR_INSUFFICIENT_POWER 639 +#define ERROR_MULTIPLE_FAULT_VIOLATION 640 +#define ERROR_SYSTEM_SHUTDOWN 641 +#define ERROR_PORT_NOT_SET 642 +#define ERROR_DS_VERSION_CHECK_FAILURE 643 +#define ERROR_RANGE_NOT_FOUND 644 +#define ERROR_NOT_SAFE_MODE_DRIVER 646 +#define ERROR_FAILED_DRIVER_ENTRY 647 +#define ERROR_DEVICE_ENUMERATION_ERROR 648 +#define ERROR_MOUNT_POINT_NOT_RESOLVED 649 +#define ERROR_INVALID_DEVICE_OBJECT_PARAMETER 650 +#define ERROR_MCA_OCCURED 651 +#define ERROR_DRIVER_DATABASE_ERROR 652 +#define ERROR_SYSTEM_HIVE_TOO_LARGE 653 +#define ERROR_DRIVER_FAILED_PRIOR_UNLOAD 654 +#define ERROR_VOLSNAP_PREPARE_HIBERNATE 655 +#define ERROR_HIBERNATION_FAILURE 656 +#define ERROR_FILE_SYSTEM_LIMITATION 665 +#define ERROR_ASSERTION_FAILURE 668 +#define ERROR_ACPI_ERROR 669 +#define ERROR_WOW_ASSERTION 670 +#define ERROR_PNP_BAD_MPS_TABLE 671 +#define ERROR_PNP_TRANSLATION_FAILED 672 +#define ERROR_PNP_IRQ_TRANSLATION_FAILED 673 +#define ERROR_PNP_INVALID_ID 674 +#define ERROR_WAKE_SYSTEM_DEBUGGER 675 +#define ERROR_HANDLES_CLOSED 676 +#define ERROR_EXTRANEOUS_INFORMATION 677 +#define ERROR_RXACT_COMMIT_NECESSARY 678 +#define ERROR_MEDIA_CHECK 679 +#define ERROR_GUID_SUBSTITUTION_MADE 680 +#define ERROR_STOPPED_ON_SYMLINK 681 +#define ERROR_LONGJUMP 682 +#define ERROR_PLUGPLAY_QUERY_VETOED 683 +#define ERROR_UNWIND_CONSOLIDATE 684 +#define ERROR_REGISTRY_HIVE_RECOVERED 685 +#define ERROR_DLL_MIGHT_BE_INSECURE 686 +#define ERROR_DLL_MIGHT_BE_INCOMPATIBLE 687 +#define ERROR_DBG_EXCEPTION_NOT_HANDLED 688 +#define ERROR_DBG_REPLY_LATER 689 +#define ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE 690 +#define ERROR_DBG_TERMINATE_THREAD 691 +#define ERROR_DBG_TERMINATE_PROCESS 692 +#define ERROR_DBG_CONTROL_C 693 +#define ERROR_DBG_PRINTEXCEPTION_C 694 +#define ERROR_DBG_RIPEXCEPTION 695 +#define ERROR_DBG_CONTROL_BREAK 696 +#define ERROR_DBG_COMMAND_EXCEPTION 697 +#define ERROR_OBJECT_NAME_EXISTS 698 +#define ERROR_THREAD_WAS_SUSPENDED 699 +#define ERROR_IMAGE_NOT_AT_BASE 700 +#define ERROR_RXACT_STATE_CREATED 701 +#define ERROR_SEGMENT_NOTIFICATION 702 +#define ERROR_BAD_CURRENT_DIRECTORY 703 +#define ERROR_FT_READ_RECOVERY_FROM_BACKUP 704 +#define ERROR_FT_WRITE_RECOVERY 705 +#define ERROR_IMAGE_MACHINE_TYPE_MISMATCH 706 +#define ERROR_RECEIVE_PARTIAL 707 +#define ERROR_RECEIVE_EXPEDITED 708 +#define ERROR_RECEIVE_PARTIAL_EXPEDITED 709 +#define ERROR_EVENT_DONE 710 +#define ERROR_EVENT_PENDING 711 +#define ERROR_CHECKING_FILE_SYSTEM 712 +#define ERROR_FATAL_APP_EXIT 713 +#define ERROR_PREDEFINED_HANDLE 714 +#define ERROR_WAS_UNLOCKED 715 +#define ERROR_SERVICE_NOTIFICATION 716 +#define ERROR_WAS_LOCKED 717 +#define ERROR_LOG_HARD_ERROR 718 +#define ERROR_ALREADY_WIN32 719 +#define ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE 720 +#define ERROR_NO_YIELD_PERFORMED 721 +#define ERROR_TIMER_RESUME_IGNORED 722 +#define ERROR_ARBITRATION_UNHANDLED 723 +#define ERROR_CARDBUS_NOT_SUPPORTED 724 +#define ERROR_MP_PROCESSOR_MISMATCH 725 +#define ERROR_HIBERNATED 726 +#define ERROR_RESUME_HIBERNATION 727 +#define ERROR_FIRMWARE_UPDATED 728 +#define ERROR_DRIVERS_LEAKING_LOCKED_PAGES 729 +#define ERROR_WAKE_SYSTEM 730 +#define ERROR_WAIT_1 731 +#define ERROR_WAIT_2 732 +#define ERROR_WAIT_3 733 +#define ERROR_WAIT_63 734 +#define ERROR_ABANDONED_WAIT_0 735 +#define ERROR_ABANDONED_WAIT_63 736 +#define ERROR_USER_APC 737 +#define ERROR_KERNEL_APC 738 +#define ERROR_ALERTED 739 +#define ERROR_ELEVATION_REQUIRED 740 +#define ERROR_REPARSE 741 +#define ERROR_OPLOCK_BREAK_IN_PROGRESS 742 +#define ERROR_VOLUME_MOUNTED 743 +#define ERROR_RXACT_COMMITTED 744 +#define ERROR_NOTIFY_CLEANUP 745 +#define ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED 746 +#define ERROR_PAGE_FAULT_TRANSITION 747 +#define ERROR_PAGE_FAULT_DEMAND_ZERO 748 +#define ERROR_PAGE_FAULT_COPY_ON_WRITE 749 +#define ERROR_PAGE_FAULT_GUARD_PAGE 750 +#define ERROR_PAGE_FAULT_PAGING_FILE 751 +#define ERROR_CACHE_PAGE_LOCKED 752 +#define ERROR_CRASH_DUMP 753 +#define ERROR_BUFFER_ALL_ZEROS 754 +#define ERROR_REPARSE_OBJECT 755 +#define ERROR_RESOURCE_REQUIREMENTS_CHANGED 756 +#define ERROR_TRANSLATION_COMPLETE 757 +#define ERROR_NOTHING_TO_TERMINATE 758 +#define ERROR_PROCESS_NOT_IN_JOB 759 +#define ERROR_PROCESS_IN_JOB 760 +#define ERROR_VOLSNAP_HIBERNATE_READY 761 +#define ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY 762 +#define ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED 763 +#define ERROR_INTERRUPT_STILL_CONNECTED 764 +#define ERROR_WAIT_FOR_OPLOCK 765 +#define ERROR_DBG_EXCEPTION_HANDLED 766 +#define ERROR_DBG_CONTINUE 767 +#define ERROR_CALLBACK_POP_STACK 768 +#define ERROR_COMPRESSION_DISABLED 769 +#define ERROR_CANTFETCHBACKWARDS 770 +#define ERROR_CANTSCROLLBACKWARDS 771 +#define ERROR_ROWSNOTRELEASED 772 +#define ERROR_BAD_ACCESSOR_FLAGS 773 +#define ERROR_ERRORS_ENCOUNTERED 774 +#define ERROR_NOT_CAPABLE 775 +#define ERROR_REQUEST_OUT_OF_SEQUENCE 776 +#define ERROR_VERSION_PARSE_ERROR 777 +#define ERROR_BADSTARTPOSITION 778 +#define ERROR_MEMORY_HARDWARE 779 +#define ERROR_DISK_REPAIR_DISABLED 780 +#define ERROR_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE 781 +#define ERROR_SYSTEM_POWERSTATE_TRANSITION 782 +#define ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION 783 +#define ERROR_MCA_EXCEPTION 784 +#define ERROR_ACCESS_AUDIT_BY_POLICY 785 +#define ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY 786 +#define ERROR_ABANDON_HIBERFILE 787 +#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED 788 +#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR 789 +#define ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR 790 +#define ERROR_NO_ACE_CONDITION 804 +#define ERROR_INVALID_ACE_CONDITION 805 +#define ERROR_EA_ACCESS_DENIED 994 +#define ERROR_OPERATION_ABORTED 995 +#define ERROR_IO_INCOMPLETE 996 +#define ERROR_IO_PENDING 997 +#define ERROR_NOACCESS 998 +#define ERROR_SWAPERROR 999 +#define ERROR_STACK_OVERFLOW 1001 +#define ERROR_INVALID_MESSAGE 1002 +#define ERROR_CAN_NOT_COMPLETE 1003 +#define ERROR_INVALID_FLAGS 1004 +#define ERROR_UNRECOGNIZED_VOLUME 1005 +#define ERROR_FILE_INVALID 1006 +#define ERROR_FULLSCREEN_MODE 1007 +#define ERROR_NO_TOKEN 1008 +#define ERROR_BADDB 1009 +#define ERROR_BADKEY 1010 +#define ERROR_CANTOPEN 1011 +#define ERROR_CANTREAD 1012 +#define ERROR_CANTWRITE 1013 +#define ERROR_REGISTRY_RECOVERED 1014 +#define ERROR_REGISTRY_CORRUPT 1015 +#define ERROR_REGISTRY_IO_FAILED 1016 +#define ERROR_NOT_REGISTRY_FILE 1017 +#define ERROR_KEY_DELETED 1018 +#define ERROR_NO_LOG_SPACE 1019 +#define ERROR_KEY_HAS_CHILDREN 1020 +#define ERROR_CHILD_MUST_BE_VOLATILE 1021 +#define ERROR_NOTIFY_ENUM_DIR 1022 +#define ERROR_DEPENDENT_SERVICES_RUNNING 1051 +#define ERROR_INVALID_SERVICE_CONTROL 1052 +#define ERROR_SERVICE_REQUEST_TIMEOUT 1053 +#define ERROR_SERVICE_NO_THREAD 1054 +#define ERROR_SERVICE_DATABASE_LOCKED 1055 +#define ERROR_SERVICE_ALREADY_RUNNING 1056 +#define ERROR_INVALID_SERVICE_ACCOUNT 1057 +#define ERROR_SERVICE_DISABLED 1058 +#define ERROR_CIRCULAR_DEPENDENCY 1059 +#define ERROR_SERVICE_DOES_NOT_EXIST 1060 +#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061 +#define ERROR_SERVICE_NOT_ACTIVE 1062 +#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063 +#define ERROR_EXCEPTION_IN_SERVICE 1064 +#define ERROR_DATABASE_DOES_NOT_EXIST 1065 +#define ERROR_SERVICE_SPECIFIC_ERROR 1066 +#define ERROR_PROCESS_ABORTED 1067 +#define ERROR_SERVICE_DEPENDENCY_FAIL 1068 +#define ERROR_SERVICE_LOGON_FAILED 1069 +#define ERROR_SERVICE_START_HANG 1070 +#define ERROR_INVALID_SERVICE_LOCK 1071 +#define ERROR_SERVICE_MARKED_FOR_DELETE 1072 +#define ERROR_SERVICE_EXISTS 1073 +#define ERROR_ALREADY_RUNNING_LKG 1074 +#define ERROR_SERVICE_DEPENDENCY_DELETED 1075 +#define ERROR_BOOT_ALREADY_ACCEPTED 1076 +#define ERROR_SERVICE_NEVER_STARTED 1077 +#define ERROR_DUPLICATE_SERVICE_NAME 1078 +#define ERROR_DIFFERENT_SERVICE_ACCOUNT 1079 +#define ERROR_CANNOT_DETECT_DRIVER_FAILURE 1080 +#define ERROR_CANNOT_DETECT_PROCESS_ABORT 1081 +#define ERROR_NO_RECOVERY_PROGRAM 1082 +#define ERROR_SERVICE_NOT_IN_EXE 1083 +#define ERROR_END_OF_MEDIA 1100 +#define ERROR_FILEMARK_DETECTED 1101 +#define ERROR_BEGINNING_OF_MEDIA 1102 +#define ERROR_SETMARK_DETECTED 1103 +#define ERROR_NO_DATA_DETECTED 1104 +#define ERROR_PARTITION_FAILURE 1105 +#define ERROR_INVALID_BLOCK_LENGTH 1106 +#define ERROR_DEVICE_NOT_PARTITIONED 1107 +#define ERROR_UNABLE_TO_LOCK_MEDIA 1108 +#define ERROR_UNABLE_TO_UNLOAD_MEDIA 1109 +#define ERROR_MEDIA_CHANGED 1110 +#define ERROR_BUS_RESET 1111 +#define ERROR_NO_MEDIA_IN_DRIVE 1112 +#define ERROR_NO_UNICODE_TRANSLATION 1113 +#define ERROR_DLL_INIT_FAILED 1114 +#define ERROR_SHUTDOWN_IN_PROGRESS 1115 +#define ERROR_NO_SHUTDOWN_IN_PROGRESS 1116 +#define ERROR_IO_DEVICE 1117 +#define ERROR_SERIAL_NO_DEVICE 1118 +#define ERROR_IRQ_BUSY 1119 +#define ERROR_MORE_WRITES 1120 +#define ERROR_COUNTER_TIMEOUT 1121 +#define ERROR_FLOPPY_ID_MARK_NOT_FOUND 1122 +#define ERROR_FLOPPY_WRONG_CYLINDER 1123 +#define ERROR_FLOPPY_UNKNOWN_ERROR 1124 +#define ERROR_FLOPPY_BAD_REGISTERS 1125 +#define ERROR_DISK_RECALIBRATE_FAILED 1126 +#define ERROR_DISK_OPERATION_FAILED 1127 +#define ERROR_DISK_RESET_FAILED 1128 +#define ERROR_EOM_OVERFLOW 1129 +#define ERROR_NOT_ENOUGH_SERVER_MEMORY 1130 +#define ERROR_POSSIBLE_DEADLOCK 1131 +#define ERROR_MAPPED_ALIGNMENT 1132 +#define ERROR_SET_POWER_STATE_VETOED 1140 +#define ERROR_SET_POWER_STATE_FAILED 1141 +#define ERROR_TOO_MANY_LINKS 1142 +#define ERROR_OLD_WIN_VERSION 1150 +#define ERROR_APP_WRONG_OS 1151 +#define ERROR_SINGLE_INSTANCE_APP 1152 +#define ERROR_RMODE_APP 1153 +#define ERROR_INVALID_DLL 1154 +#define ERROR_NO_ASSOCIATION 1155 +#define ERROR_DDE_FAIL 1156 +#define ERROR_DLL_NOT_FOUND 1157 +#define ERROR_NO_MORE_USER_HANDLES 1158 +#define ERROR_MESSAGE_SYNC_ONLY 1159 +#define ERROR_SOURCE_ELEMENT_EMPTY 1160 +#define ERROR_DESTINATION_ELEMENT_FULL 1161 +#define ERROR_ILLEGAL_ELEMENT_ADDRESS 1162 +#define ERROR_MAGAZINE_NOT_PRESENT 1163 +#define ERROR_DEVICE_REINITIALIZATION_NEEDED 1164 +#define ERROR_DEVICE_REQUIRES_CLEANING 1165 +#define ERROR_DEVICE_DOOR_OPEN 1166 +#define ERROR_DEVICE_NOT_CONNECTED 1167 +#define ERROR_NOT_FOUND 1168 +#define ERROR_NO_MATCH 1169 +#define ERROR_SET_NOT_FOUND 1170 +#define ERROR_POINT_NOT_FOUND 1171 +#define ERROR_NO_TRACKING_SERVICE 1172 +#define ERROR_NO_VOLUME_ID 1173 +#define ERROR_UNABLE_TO_REMOVE_REPLACED 1175 +#define ERROR_UNABLE_TO_MOVE_REPLACEMENT 1176 +#define ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 1177 +#define ERROR_JOURNAL_DELETE_IN_PROGRESS 1178 +#define ERROR_JOURNAL_NOT_ACTIVE 1179 +#define ERROR_POTENTIAL_FILE_FOUND 1180 +#define ERROR_JOURNAL_ENTRY_DELETED 1181 +#define ERROR_BAD_DEVICE 1200 +#define ERROR_CONNECTION_UNAVAIL 1201 +#define ERROR_DEVICE_ALREADY_REMEMBERED 1202 +#define ERROR_NO_NET_OR_BAD_PATH 1203 +#define ERROR_BAD_PROVIDER 1204 +#define ERROR_CANNOT_OPEN_PROFILE 1205 +#define ERROR_BAD_PROFILE 1206 +#define ERROR_NOT_CONTAINER 1207 +#define ERROR_EXTENDED_ERROR 1208 +#define ERROR_INVALID_GROUPNAME 1209 +#define ERROR_INVALID_COMPUTERNAME 1210 +#define ERROR_INVALID_EVENTNAME 1211 +#define ERROR_INVALID_DOMAINNAME 1212 +#define ERROR_INVALID_SERVICENAME 1213 +#define ERROR_INVALID_NETNAME 1214 +#define ERROR_INVALID_SHARENAME 1215 +#define ERROR_INVALID_PASSWORDNAME 1216 +#define ERROR_INVALID_MESSAGENAME 1217 +#define ERROR_INVALID_MESSAGEDEST 1218 +#define ERROR_SESSION_CREDENTIAL_CONFLICT 1219 +#define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220 +#define ERROR_DUP_DOMAINNAME 1221 +#define ERROR_NO_NETWORK 1222 +#define ERROR_CANCELLED 1223 +#define ERROR_USER_MAPPED_FILE 1224 +#define ERROR_CONNECTION_REFUSED 1225 +#define ERROR_GRACEFUL_DISCONNECT 1226 +#define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227 +#define ERROR_ADDRESS_NOT_ASSOCIATED 1228 +#define ERROR_CONNECTION_INVALID 1229 +#define ERROR_CONNECTION_ACTIVE 1230 +#define ERROR_NETWORK_UNREACHABLE 1231 +#define ERROR_HOST_UNREACHABLE 1232 +#define ERROR_PROTOCOL_UNREACHABLE 1233 +#define ERROR_PORT_UNREACHABLE 1234 +#define ERROR_REQUEST_ABORTED 1235 +#define ERROR_CONNECTION_ABORTED 1236 +#define ERROR_RETRY 1237 +#define ERROR_CONNECTION_COUNT_LIMIT 1238 +#define ERROR_LOGIN_TIME_RESTRICTION 1239 +#define ERROR_LOGIN_WKSTA_RESTRICTION 1240 +#define ERROR_INCORRECT_ADDRESS 1241 +#define ERROR_ALREADY_REGISTERED 1242 +#define ERROR_SERVICE_NOT_FOUND 1243 +#define ERROR_NOT_AUTHENTICATED 1244 +#define ERROR_NOT_LOGGED_ON 1245 +#define ERROR_CONTINUE 1246 +#define ERROR_ALREADY_INITIALIZED 1247 +#define ERROR_NO_MORE_DEVICES 1248 +#define ERROR_NO_SUCH_SITE 1249 +#define ERROR_DOMAIN_CONTROLLER_EXISTS 1250 +#define ERROR_ONLY_IF_CONNECTED 1251 +#define ERROR_OVERRIDE_NOCHANGES 1252 +#define ERROR_BAD_USER_PROFILE 1253 +#define ERROR_NOT_SUPPORTED_ON_SBS 1254 +#define ERROR_SERVER_SHUTDOWN_IN_PROGRESS 1255 +#define ERROR_HOST_DOWN 1256 +#define ERROR_ACCESS_DISABLED_BY_POLICY 1260 +#define ERROR_REG_NAT_CONSUMPTION 1261 +#define ERROR_PKINIT_FAILURE 1263 +#define ERROR_SMARTCARD_SUBSYSTEM_FAILURE 1264 +#define ERROR_DOWNGRADE_DETECTED 1265 +#define ERROR_MACHINE_LOCKED 1271 +#define ERROR_CALLBACK_SUPPLIED_INVALID_DATA 1273 +#define ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED 1274 +#define ERROR_DRIVER_BLOCKED 1275 +#define ERROR_INVALID_IMPORT_OF_NON_DLL 1276 +#define ERROR_NOT_ALL_ASSIGNED 1300 +#define ERROR_SOME_NOT_MAPPED 1301 +#define ERROR_NO_QUOTAS_FOR_ACCOUNT 1302 +#define ERROR_LOCAL_USER_SESSION_KEY 1303 +#define ERROR_NULL_LM_PASSWORD 1304 +#define ERROR_UNKNOWN_REVISION 1305 +#define ERROR_REVISION_MISMATCH 1306 +#define ERROR_INVALID_OWNER 1307 +#define ERROR_INVALID_PRIMARY_GROUP 1308 +#define ERROR_NO_IMPERSONATION_TOKEN 1309 +#define ERROR_CANT_DISABLE_MANDATORY 1310 +#define ERROR_NO_LOGON_SERVERS 1311 +#define ERROR_NO_SUCH_LOGON_SESSION 1312 +#define ERROR_NO_SUCH_PRIVILEGE 1313 +#define ERROR_PRIVILEGE_NOT_HELD 1314 +#define ERROR_INVALID_ACCOUNT_NAME 1315 +#define ERROR_USER_EXISTS 1316 +#define ERROR_NO_SUCH_USER 1317 +#define ERROR_GROUP_EXISTS 1318 +#define ERROR_NO_SUCH_GROUP 1319 +#define ERROR_MEMBER_IN_GROUP 1320 +#define ERROR_MEMBER_NOT_IN_GROUP 1321 +#define ERROR_LAST_ADMIN 1322 +#define ERROR_WRONG_PASSWORD 1323 +#define ERROR_ILL_FORMED_PASSWORD 1324 +#define ERROR_PASSWORD_RESTRICTION 1325 +#define ERROR_LOGON_FAILURE 1326 +#define ERROR_ACCOUNT_RESTRICTION 1327 +#define ERROR_INVALID_LOGON_HOURS 1328 +#define ERROR_INVALID_WORKSTATION 1329 +#define ERROR_PASSWORD_EXPIRED 1330 +#define ERROR_ACCOUNT_DISABLED 1331 +#define ERROR_NONE_MAPPED 1332 +#define ERROR_TOO_MANY_LUIDS_REQUESTED 1333 +#define ERROR_LUIDS_EXHAUSTED 1334 +#define ERROR_INVALID_SUB_AUTHORITY 1335 +#define ERROR_INVALID_ACL 1336 +#define ERROR_INVALID_SID 1337 +#define ERROR_INVALID_SECURITY_DESCR 1338 +#define ERROR_BAD_INHERITANCE_ACL 1340 +#define ERROR_SERVER_DISABLED 1341 +#define ERROR_SERVER_NOT_DISABLED 1342 +#define ERROR_INVALID_ID_AUTHORITY 1343 +#define ERROR_ALLOTTED_SPACE_EXCEEDED 1344 +#define ERROR_INVALID_GROUP_ATTRIBUTES 1345 +#define ERROR_BAD_IMPERSONATION_LEVEL 1346 +#define ERROR_CANT_OPEN_ANONYMOUS 1347 +#define ERROR_BAD_VALIDATION_CLASS 1348 +#define ERROR_BAD_TOKEN_TYPE 1349 +#define ERROR_NO_SECURITY_ON_OBJECT 1350 +#define ERROR_CANT_ACCESS_DOMAIN_INFO 1351 +#define ERROR_INVALID_SERVER_STATE 1352 +#define ERROR_INVALID_DOMAIN_STATE 1353 +#define ERROR_INVALID_DOMAIN_ROLE 1354 +#define ERROR_NO_SUCH_DOMAIN 1355 +#define ERROR_DOMAIN_EXISTS 1356 +#define ERROR_DOMAIN_LIMIT_EXCEEDED 1357 +#define ERROR_INTERNAL_DB_CORRUPTION 1358 +#define ERROR_INTERNAL_ERROR 1359 +#define ERROR_GENERIC_NOT_MAPPED 1360 +#define ERROR_BAD_DESCRIPTOR_FORMAT 1361 +#define ERROR_NOT_LOGON_PROCESS 1362 +#define ERROR_LOGON_SESSION_EXISTS 1363 +#define ERROR_NO_SUCH_PACKAGE 1364 +#define ERROR_BAD_LOGON_SESSION_STATE 1365 +#define ERROR_LOGON_SESSION_COLLISION 1366 +#define ERROR_INVALID_LOGON_TYPE 1367 +#define ERROR_CANNOT_IMPERSONATE 1368 +#define ERROR_RXACT_INVALID_STATE 1369 +#define ERROR_RXACT_COMMIT_FAILURE 1370 +#define ERROR_SPECIAL_ACCOUNT 1371 +#define ERROR_SPECIAL_GROUP 1372 +#define ERROR_SPECIAL_USER 1373 +#define ERROR_MEMBERS_PRIMARY_GROUP 1374 +#define ERROR_TOKEN_ALREADY_IN_USE 1375 +#define ERROR_NO_SUCH_ALIAS 1376 +#define ERROR_MEMBER_NOT_IN_ALIAS 1377 +#define ERROR_MEMBER_IN_ALIAS 1378 +#define ERROR_ALIAS_EXISTS 1379 +#define ERROR_LOGON_NOT_GRANTED 1380 +#define ERROR_TOO_MANY_SECRETS 1381 +#define ERROR_SECRET_TOO_LONG 1382 +#define ERROR_INTERNAL_DB_ERROR 1383 +#define ERROR_TOO_MANY_CONTEXT_IDS 1384 +#define ERROR_LOGON_TYPE_NOT_GRANTED 1385 +#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386 +#define ERROR_NO_SUCH_MEMBER 1387 +#define ERROR_INVALID_MEMBER 1388 +#define ERROR_TOO_MANY_SIDS 1389 +#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390 +#define ERROR_NO_INHERITANCE 1391 +#define ERROR_FILE_CORRUPT 1392 +#define ERROR_DISK_CORRUPT 1393 +#define ERROR_NO_USER_SESSION_KEY 1394 +#define ERROR_LICENSE_QUOTA_EXCEEDED 1395 +#define ERROR_WRONG_TARGET_NAME 1396 +#define ERROR_MUTUAL_AUTH_FAILED 1397 +#define ERROR_TIME_SKEW 1398 +#define ERROR_CURRENT_DOMAIN_NOT_ALLOWED 1399 +#define ERROR_INVALID_WINDOW_HANDLE 1400 +#define ERROR_INVALID_MENU_HANDLE 1401 +#define ERROR_INVALID_CURSOR_HANDLE 1402 +#define ERROR_INVALID_ACCEL_HANDLE 1403 +#define ERROR_INVALID_HOOK_HANDLE 1404 +#define ERROR_INVALID_DWP_HANDLE 1405 +#define ERROR_TLW_WITH_WSCHILD 1406 +#define ERROR_CANNOT_FIND_WND_CLASS 1407 +#define ERROR_WINDOW_OF_OTHER_THREAD 1408 +#define ERROR_HOTKEY_ALREADY_REGISTERED 1409 +#define ERROR_CLASS_ALREADY_EXISTS 1410 +#define ERROR_CLASS_DOES_NOT_EXIST 1411 +#define ERROR_CLASS_HAS_WINDOWS 1412 +#define ERROR_INVALID_INDEX 1413 +#define ERROR_INVALID_ICON_HANDLE 1414 +#define ERROR_PRIVATE_DIALOG_INDEX 1415 +#define ERROR_LISTBOX_ID_NOT_FOUND 1416 +#define ERROR_NO_WILDCARD_CHARACTERS 1417 +#define ERROR_CLIPBOARD_NOT_OPEN 1418 +#define ERROR_HOTKEY_NOT_REGISTERED 1419 +#define ERROR_WINDOW_NOT_DIALOG 1420 +#define ERROR_CONTROL_ID_NOT_FOUND 1421 +#define ERROR_INVALID_COMBOBOX_MESSAGE 1422 +#define ERROR_WINDOW_NOT_COMBOBOX 1423 +#define ERROR_INVALID_EDIT_HEIGHT 1424 +#define ERROR_DC_NOT_FOUND 1425 +#define ERROR_INVALID_HOOK_FILTER 1426 +#define ERROR_INVALID_FILTER_PROC 1427 +#define ERROR_HOOK_NEEDS_HMOD 1428 +#define ERROR_GLOBAL_ONLY_HOOK 1429 +#define ERROR_JOURNAL_HOOK_SET 1430 +#define ERROR_HOOK_NOT_INSTALLED 1431 +#define ERROR_INVALID_LB_MESSAGE 1432 +#define ERROR_SETCOUNT_ON_BAD_LB 1433 +#define ERROR_LB_WITHOUT_TABSTOPS 1434 +#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435 +#define ERROR_CHILD_WINDOW_MENU 1436 +#define ERROR_NO_SYSTEM_MENU 1437 +#define ERROR_INVALID_MSGBOX_STYLE 1438 +#define ERROR_INVALID_SPI_VALUE 1439 +#define ERROR_SCREEN_ALREADY_LOCKED 1440 +#define ERROR_HWNDS_HAVE_DIFF_PARENT 1441 +#define ERROR_NOT_CHILD_WINDOW 1442 +#define ERROR_INVALID_GW_COMMAND 1443 +#define ERROR_INVALID_THREAD_ID 1444 +#define ERROR_NON_MDICHILD_WINDOW 1445 +#define ERROR_POPUP_ALREADY_ACTIVE 1446 +#define ERROR_NO_SCROLLBARS 1447 +#define ERROR_INVALID_SCROLLBAR_RANGE 1448 +#define ERROR_INVALID_SHOWWIN_COMMAND 1449 +#define ERROR_NO_SYSTEM_RESOURCES 1450 +#define ERROR_NONPAGED_SYSTEM_RESOURCES 1451 +#define ERROR_PAGED_SYSTEM_RESOURCES 1452 +#define ERROR_WORKING_SET_QUOTA 1453 +#define ERROR_PAGEFILE_QUOTA 1454 +#define ERROR_COMMITMENT_LIMIT 1455 +#define ERROR_MENU_ITEM_NOT_FOUND 1456 +#define ERROR_INVALID_KEYBOARD_HANDLE 1457 +#define ERROR_HOOK_TYPE_NOT_ALLOWED 1458 +#define ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION 1459 +#define ERROR_TIMEOUT 1460 +#define ERROR_INVALID_MONITOR_HANDLE 1461 +#define ERROR_INCORRECT_SIZE 1462 +#define ERROR_SYMLINK_CLASS_DISABLED 1463 +#define ERROR_SYMLINK_NOT_SUPPORTED 1464 +#define ERROR_XML_PARSE_ERROR 1465 +#define ERROR_XMLDSIG_ERROR 1466 +#define ERROR_RESTART_APPLICATION 1467 +#define ERROR_WRONG_COMPARTMENT 1468 +#define ERROR_AUTHIP_FAILURE 1469 +#define ERROR_NO_NVRAM_RESOURCES 1470 +#define ERROR_EVENTLOG_FILE_CORRUPT 1500 +#define ERROR_EVENTLOG_CANT_START 1501 +#define ERROR_LOG_FILE_FULL 1502 +#define ERROR_EVENTLOG_FILE_CHANGED 1503 +#define ERROR_INVALID_TASK_NAME 1550 +#define ERROR_INVALID_TASK_INDEX 1551 +#define ERROR_THREAD_ALREADY_IN_TASK 1552 +#define ERROR_INSTALL_SERVICE_FAILURE 1601 +#define ERROR_INSTALL_USEREXIT 1602 +#define ERROR_INSTALL_FAILURE 1603 +#define ERROR_INSTALL_SUSPEND 1604 +#define ERROR_UNKNOWN_PRODUCT 1605 +#define ERROR_UNKNOWN_FEATURE 1606 +#define ERROR_UNKNOWN_COMPONENT 1607 +#define ERROR_UNKNOWN_PROPERTY 1608 +#define ERROR_INVALID_HANDLE_STATE 1609 +#define ERROR_BAD_CONFIGURATION 1610 +#define ERROR_INDEX_ABSENT 1611 +#define ERROR_INSTALL_SOURCE_ABSENT 1612 +#define ERROR_INSTALL_PACKAGE_VERSION 1613 +#define ERROR_PRODUCT_UNINSTALLED 1614 +#define ERROR_BAD_QUERY_SYNTAX 1615 +#define ERROR_INVALID_FIELD 1616 +#define ERROR_DEVICE_REMOVED 1617 +#define ERROR_INSTALL_ALREADY_RUNNING 1618 +#define ERROR_INSTALL_PACKAGE_OPEN_FAILED 1619 +#define ERROR_INSTALL_PACKAGE_INVALID 1620 +#define ERROR_INSTALL_UI_FAILURE 1621 +#define ERROR_INSTALL_LOG_FAILURE 1622 +#define ERROR_INSTALL_LANGUAGE_UNSUPPORTED 1623 +#define ERROR_INSTALL_TRANSFORM_FAILURE 1624 +#define ERROR_INSTALL_PACKAGE_REJECTED 1625 +#define ERROR_FUNCTION_NOT_CALLED 1626 +#define ERROR_FUNCTION_FAILED 1627 +#define ERROR_INVALID_TABLE 1628 +#define ERROR_DATATYPE_MISMATCH 1629 +#define ERROR_UNSUPPORTED_TYPE 1630 +#define ERROR_CREATE_FAILED 1631 +#define ERROR_INSTALL_TEMP_UNWRITABLE 1632 +#define ERROR_INSTALL_PLATFORM_UNSUPPORTED 1633 +#define ERROR_INSTALL_NOTUSED 1634 +#define ERROR_PATCH_PACKAGE_OPEN_FAILED 1635 +#define ERROR_PATCH_PACKAGE_INVALID 1636 +#define ERROR_PATCH_PACKAGE_UNSUPPORTED 1637 +#define ERROR_PRODUCT_VERSION 1638 +#define ERROR_INVALID_COMMAND_LINE 1639 +#define ERROR_INSTALL_REMOTE_DISALLOWED 1640 +#define ERROR_SUCCESS_REBOOT_INITIATED 1641 +#define ERROR_PATCH_TARGET_NOT_FOUND 1642 +#define ERROR_PATCH_PACKAGE_REJECTED 1643 +#define ERROR_INSTALL_TRANSFORM_REJECTED 1644 +#define ERROR_INSTALL_REMOTE_PROHIBITED 1645 +#define ERROR_PATCH_REMOVAL_UNSUPPORTED 1646 +#define ERROR_UNKNOWN_PATCH 1647 +#define ERROR_PATCH_NO_SEQUENCE 1648 +#define ERROR_PATCH_REMOVAL_DISALLOWED 1649 +#define ERROR_INVALID_PATCH_XML 1650 +#define ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT 1651 +#define ERROR_INSTALL_SERVICE_SAFEBOOT 1652 +#define RPC_S_INVALID_STRING_BINDING 1700 +#define RPC_S_WRONG_KIND_OF_BINDING 1701 +#define RPC_S_INVALID_BINDING 1702 +#define RPC_S_PROTSEQ_NOT_SUPPORTED 1703 +#define RPC_S_INVALID_RPC_PROTSEQ 1704 +#define RPC_S_INVALID_STRING_UUID 1705 +#define RPC_S_INVALID_ENDPOINT_FORMAT 1706 +#define RPC_S_INVALID_NET_ADDR 1707 +#define RPC_S_NO_ENDPOINT_FOUND 1708 +#define RPC_S_INVALID_TIMEOUT 1709 +#define RPC_S_OBJECT_NOT_FOUND 1710 +#define RPC_S_ALREADY_REGISTERED 1711 +#define RPC_S_TYPE_ALREADY_REGISTERED 1712 +#define RPC_S_ALREADY_LISTENING 1713 +#define RPC_S_NO_PROTSEQS_REGISTERED 1714 +#define RPC_S_NOT_LISTENING 1715 +#define RPC_S_UNKNOWN_MGR_TYPE 1716 +#define RPC_S_UNKNOWN_IF 1717 +#define RPC_S_NO_BINDINGS 1718 +#define RPC_S_NO_PROTSEQS 1719 +#define RPC_S_CANT_CREATE_ENDPOINT 1720 +#define RPC_S_OUT_OF_RESOURCES 1721 +#define RPC_S_SERVER_UNAVAILABLE 1722 +#define RPC_S_SERVER_TOO_BUSY 1723 +#define RPC_S_INVALID_NETWORK_OPTIONS 1724 +#define RPC_S_NO_CALL_ACTIVE 1725 +#define RPC_S_CALL_FAILED 1726 +#define RPC_S_CALL_FAILED_DNE 1727 +#define RPC_S_PROTOCOL_ERROR 1728 +#define RPC_S_UNSUPPORTED_TRANS_SYN 1730 +#define RPC_S_UNSUPPORTED_TYPE 1732 +#define RPC_S_INVALID_TAG 1733 +#define RPC_S_INVALID_BOUND 1734 +#define RPC_S_NO_ENTRY_NAME 1735 +#define RPC_S_INVALID_NAME_SYNTAX 1736 +#define RPC_S_UNSUPPORTED_NAME_SYNTAX 1737 +#define RPC_S_UUID_NO_ADDRESS 1739 +#define RPC_S_DUPLICATE_ENDPOINT 1740 +#define RPC_S_UNKNOWN_AUTHN_TYPE 1741 +#define RPC_S_MAX_CALLS_TOO_SMALL 1742 +#define RPC_S_STRING_TOO_LONG 1743 +#define RPC_S_PROTSEQ_NOT_FOUND 1744 +#define RPC_S_PROCNUM_OUT_OF_RANGE 1745 +#define RPC_S_BINDING_HAS_NO_AUTH 1746 +#define RPC_S_UNKNOWN_AUTHN_SERVICE 1747 +#define RPC_S_UNKNOWN_AUTHN_LEVEL 1748 +#define RPC_S_INVALID_AUTH_IDENTITY 1749 +#define RPC_S_UNKNOWN_AUTHZ_SERVICE 1750 +#define EPT_S_INVALID_ENTRY 1751 +#define EPT_S_CANT_PERFORM_OP 1752 +#define EPT_S_NOT_REGISTERED 1753 +#define RPC_S_NOTHING_TO_EXPORT 1754 +#define RPC_S_INCOMPLETE_NAME 1755 +#define RPC_S_INVALID_VERS_OPTION 1756 +#define RPC_S_NO_MORE_MEMBERS 1757 +#define RPC_S_NOT_ALL_OBJS_UNEXPORTED 1758 +#define RPC_S_INTERFACE_NOT_FOUND 1759 +#define RPC_S_ENTRY_ALREADY_EXISTS 1760 +#define RPC_S_ENTRY_NOT_FOUND 1761 +#define RPC_S_NAME_SERVICE_UNAVAILABLE 1762 +#define RPC_S_INVALID_NAF_ID 1763 +#define RPC_S_CANNOT_SUPPORT 1764 +#define RPC_S_NO_CONTEXT_AVAILABLE 1765 +#define RPC_S_INTERNAL_ERROR 1766 +#define RPC_S_ZERO_DIVIDE 1767 +#define RPC_S_ADDRESS_ERROR 1768 +#define RPC_S_FP_DIV_ZERO 1769 +#define RPC_S_FP_UNDERFLOW 1770 +#define RPC_S_FP_OVERFLOW 1771 +#define RPC_X_NO_MORE_ENTRIES 1772 +#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 1773 +#define RPC_X_SS_CHAR_TRANS_SHORT_FILE 1774 +#define RPC_X_SS_IN_NULL_CONTEXT 1775 +#define RPC_X_SS_CONTEXT_DAMAGED 1777 +#define RPC_X_SS_HANDLES_MISMATCH 1778 +#define RPC_X_SS_CANNOT_GET_CALL_HANDLE 1779 +#define RPC_X_NULL_REF_POINTER 1780 +#define RPC_X_ENUM_VALUE_OUT_OF_RANGE 1781 +#define RPC_X_BYTE_COUNT_TOO_SMALL 1782 +#define RPC_X_BAD_STUB_DATA 1783 +#define ERROR_INVALID_USER_BUFFER 1784 +#define ERROR_UNRECOGNIZED_MEDIA 1785 +#define ERROR_NO_TRUST_LSA_SECRET 1786 +#define ERROR_NO_TRUST_SAM_ACCOUNT 1787 +#define ERROR_TRUSTED_DOMAIN_FAILURE 1788 +#define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789 +#define ERROR_TRUST_FAILURE 1790 +#define RPC_S_CALL_IN_PROGRESS 1791 +#define ERROR_NETLOGON_NOT_STARTED 1792 +#define ERROR_ACCOUNT_EXPIRED 1793 +#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794 +#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795 +#define ERROR_UNKNOWN_PORT 1796 +#define ERROR_UNKNOWN_PRINTER_DRIVER 1797 +#define ERROR_UNKNOWN_PRINTPROCESSOR 1798 +#define ERROR_INVALID_SEPARATOR_FILE 1799 +#define ERROR_INVALID_PRIORITY 1800 +#define ERROR_INVALID_PRINTER_NAME 1801 +#define ERROR_PRINTER_ALREADY_EXISTS 1802 +#define ERROR_INVALID_PRINTER_COMMAND 1803 +#define ERROR_INVALID_DATATYPE 1804 +#define ERROR_INVALID_ENVIRONMENT 1805 +#define RPC_S_NO_MORE_BINDINGS 1806 +#define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807 +#define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808 +#define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809 +#define ERROR_DOMAIN_TRUST_INCONSISTENT 1810 +#define ERROR_SERVER_HAS_OPEN_HANDLES 1811 +#define ERROR_RESOURCE_DATA_NOT_FOUND 1812 +#define ERROR_RESOURCE_TYPE_NOT_FOUND 1813 +#define ERROR_RESOURCE_NAME_NOT_FOUND 1814 +#define ERROR_RESOURCE_LANG_NOT_FOUND 1815 +#define ERROR_NOT_ENOUGH_QUOTA 1816 +#define RPC_S_NO_INTERFACES 1817 +#define RPC_S_CALL_CANCELLED 1818 +#define RPC_S_BINDING_INCOMPLETE 1819 +#define RPC_S_COMM_FAILURE 1820 +#define RPC_S_UNSUPPORTED_AUTHN_LEVEL 1821 +#define RPC_S_NO_PRINC_NAME 1822 +#define RPC_S_NOT_RPC_ERROR 1823 +#define RPC_S_UUID_LOCAL_ONLY 1824 +#define RPC_S_SEC_PKG_ERROR 1825 +#define RPC_S_NOT_CANCELLED 1826 +#define RPC_X_INVALID_ES_ACTION 1827 +#define RPC_X_WRONG_ES_VERSION 1828 +#define RPC_X_WRONG_STUB_VERSION 1829 +#define RPC_X_INVALID_PIPE_OBJECT 1830 +#define RPC_X_WRONG_PIPE_ORDER 1831 +#define RPC_X_WRONG_PIPE_VERSION 1832 +#define RPC_S_GROUP_MEMBER_NOT_FOUND 1898 +#define EPT_S_CANT_CREATE 1899 +#define RPC_S_INVALID_OBJECT 1900 +#define ERROR_INVALID_TIME 1901 +#define ERROR_INVALID_FORM_NAME 1902 +#define ERROR_INVALID_FORM_SIZE 1903 +#define ERROR_ALREADY_WAITING 1904 +#define ERROR_PRINTER_DELETED 1905 +#define ERROR_INVALID_PRINTER_STATE 1906 +#define ERROR_PASSWORD_MUST_CHANGE 1907 +#define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908 +#define ERROR_ACCOUNT_LOCKED_OUT 1909 +#define OR_INVALID_OXID 1910 +#define OR_INVALID_OID 1911 +#define OR_INVALID_SET 1912 +#define RPC_S_SEND_INCOMPLETE 1913 +#define RPC_S_INVALID_ASYNC_HANDLE 1914 +#define RPC_S_INVALID_ASYNC_CALL 1915 +#define RPC_X_PIPE_CLOSED 1916 +#define RPC_X_PIPE_DISCIPLINE_ERROR 1917 +#define RPC_X_PIPE_EMPTY 1918 +#define ERROR_NO_SITENAME 1919 +#define ERROR_CANT_ACCESS_FILE 1920 +#define ERROR_CANT_RESOLVE_FILENAME 1921 +#define RPC_S_ENTRY_TYPE_MISMATCH 1922 +#define RPC_S_NOT_ALL_OBJS_EXPORTED 1923 +#define RPC_S_INTERFACE_NOT_EXPORTED 1924 +#define RPC_S_PROFILE_NOT_ADDED 1925 +#define RPC_S_PRF_ELT_NOT_ADDED 1926 +#define RPC_S_PRF_ELT_NOT_REMOVED 1927 +#define RPC_S_GRP_ELT_NOT_ADDED 1928 +#define RPC_S_GRP_ELT_NOT_REMOVED 1929 +#define ERROR_KM_DRIVER_BLOCKED 1930 +#define ERROR_CONTEXT_EXPIRED 1931 +#define ERROR_PER_USER_TRUST_QUOTA_EXCEEDED 1932 +#define ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED 1933 +#define ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED 1934 +#define ERROR_AUTHENTICATION_FIREWALL_FAILED 1935 +#define ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED 1936 +#define ERROR_INVALID_PIXEL_FORMAT 2000 +#define ERROR_BAD_DRIVER 2001 +#define ERROR_INVALID_WINDOW_STYLE 2002 +#define ERROR_METAFILE_NOT_SUPPORTED 2003 +#define ERROR_TRANSFORM_NOT_SUPPORTED 2004 +#define ERROR_CLIPPING_NOT_SUPPORTED 2005 +#define ERROR_INVALID_CMM 2010 +#define ERROR_INVALID_PROFILE 2011 +#define ERROR_TAG_NOT_FOUND 2012 +#define ERROR_TAG_NOT_PRESENT 2013 +#define ERROR_DUPLICATE_TAG 2014 +#define ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE 2015 +#define ERROR_PROFILE_NOT_FOUND 2016 +#define ERROR_INVALID_COLORSPACE 2017 +#define ERROR_ICM_NOT_ENABLED 2018 +#define ERROR_DELETING_ICM_XFORM 2019 +#define ERROR_INVALID_TRANSFORM 2020 +#define ERROR_COLORSPACE_MISMATCH 2021 +#define ERROR_INVALID_COLORINDEX 2022 +#define ERROR_CONNECTED_OTHER_PASSWORD 2108 +#define ERROR_BAD_USERNAME 2202 +#define ERROR_NOT_CONNECTED 2250 +#define ERROR_OPEN_FILES 2401 +#define ERROR_ACTIVE_CONNECTIONS 2402 +#define ERROR_DEVICE_IN_USE 2404 +#define ERROR_UNKNOWN_PRINT_MONITOR 3000 +#define ERROR_PRINTER_DRIVER_IN_USE 3001 +#define ERROR_SPOOL_FILE_NOT_FOUND 3002 +#define ERROR_SPL_NO_STARTDOC 3003 +#define ERROR_SPL_NO_ADDJOB 3004 +#define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005 +#define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006 +#define ERROR_INVALID_PRINT_MONITOR 3007 +#define ERROR_PRINT_MONITOR_IN_USE 3008 +#define ERROR_PRINTER_HAS_JOBS_QUEUED 3009 +#define ERROR_SUCCESS_REBOOT_REQUIRED 3010 +#define ERROR_SUCCESS_RESTART_REQUIRED 3011 +#define ERROR_PRINTER_NOT_FOUND 3012 +#define ERROR_PRINTER_DRIVER_WARNED 3013 +#define ERROR_PRINTER_DRIVER_BLOCKED 3014 +#define ERROR_REQUEST_PAUSED 3050 +#define ERROR_WINS_INTERNAL 4000 +#define ERROR_CAN_NOT_DEL_LOCAL_WINS 4001 +#define ERROR_STATIC_INIT 4002 +#define ERROR_INC_BACKUP 4003 +#define ERROR_FULL_BACKUP 4004 +#define ERROR_REC_NON_EXISTENT 4005 +#define ERROR_RPL_NOT_ALLOWED 4006 +#define ERROR_DHCP_ADDRESS_CONFLICT 4100 +#define ERROR_WMI_GUID_NOT_FOUND 4200 +#define ERROR_WMI_INSTANCE_NOT_FOUND 4201 +#define ERROR_WMI_ITEMID_NOT_FOUND 4202 +#define ERROR_WMI_TRY_AGAIN 4203 +#define ERROR_WMI_DP_NOT_FOUND 4204 +#define ERROR_WMI_UNRESOLVED_INSTANCE_REF 4205 +#define ERROR_WMI_ALREADY_ENABLED 4206 +#define ERROR_WMI_GUID_DISCONNECTED 4207 +#define ERROR_WMI_SERVER_UNAVAILABLE 4208 +#define ERROR_WMI_DP_FAILED 4209 +#define ERROR_WMI_INVALID_MOF 4210 +#define ERROR_WMI_INVALID_REGINFO 4211 +#define ERROR_WMI_ALREADY_DISABLED 4212 +#define ERROR_WMI_READ_ONLY 4213 +#define ERROR_WMI_SET_FAILURE 4214 +#define ERROR_INVALID_MEDIA 4300 +#define ERROR_INVALID_LIBRARY 4301 +#define ERROR_INVALID_MEDIA_POOL 4302 +#define ERROR_DRIVE_MEDIA_MISMATCH 4303 +#define ERROR_MEDIA_OFFLINE 4304 +#define ERROR_LIBRARY_OFFLINE 4305 +#define ERROR_EMPTY 4306 +#define ERROR_NOT_EMPTY 4307 +#define ERROR_MEDIA_UNAVAILABLE 4308 +#define ERROR_RESOURCE_DISABLED 4309 +#define ERROR_INVALID_CLEANER 4310 +#define ERROR_UNABLE_TO_CLEAN 4311 +#define ERROR_OBJECT_NOT_FOUND 4312 +#define ERROR_DATABASE_FAILURE 4313 +#define ERROR_DATABASE_FULL 4314 +#define ERROR_MEDIA_INCOMPATIBLE 4315 +#define ERROR_RESOURCE_NOT_PRESENT 4316 +#define ERROR_INVALID_OPERATION 4317 +#define ERROR_MEDIA_NOT_AVAILABLE 4318 +#define ERROR_DEVICE_NOT_AVAILABLE 4319 +#define ERROR_REQUEST_REFUSED 4320 +#define ERROR_INVALID_DRIVE_OBJECT 4321 +#define ERROR_LIBRARY_FULL 4322 +#define ERROR_MEDIUM_NOT_ACCESSIBLE 4323 +#define ERROR_UNABLE_TO_LOAD_MEDIUM 4324 +#define ERROR_UNABLE_TO_INVENTORY_DRIVE 4325 +#define ERROR_UNABLE_TO_INVENTORY_SLOT 4326 +#define ERROR_UNABLE_TO_INVENTORY_TRANSPORT 4327 +#define ERROR_TRANSPORT_FULL 4328 +#define ERROR_CONTROLLING_IEPORT 4329 +#define ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA 4330 +#define ERROR_CLEANER_SLOT_SET 4331 +#define ERROR_CLEANER_SLOT_NOT_SET 4332 +#define ERROR_CLEANER_CARTRIDGE_SPENT 4333 +#define ERROR_UNEXPECTED_OMID 4334 +#define ERROR_CANT_DELETE_LAST_ITEM 4335 +#define ERROR_MESSAGE_EXCEEDS_MAX_SIZE 4336 +#define ERROR_VOLUME_CONTAINS_SYS_FILES 4337 +#define ERROR_INDIGENOUS_TYPE 4338 +#define ERROR_NO_SUPPORTING_DRIVES 4339 +#define ERROR_CLEANER_CARTRIDGE_INSTALLED 4340 +#define ERROR_FILE_OFFLINE 4350 +#define ERROR_REMOTE_STORAGE_NOT_ACTIVE 4351 +#define ERROR_REMOTE_STORAGE_MEDIA_ERROR 4352 +#define ERROR_NOT_A_REPARSE_POINT 4390 +#define ERROR_REPARSE_ATTRIBUTE_CONFLICT 4391 +#define ERROR_INVALID_REPARSE_DATA 4392 +#define ERROR_REPARSE_TAG_INVALID 4393 +#define ERROR_REPARSE_TAG_MISMATCH 4394 +#define ERROR_VOLUME_NOT_SIS_ENABLED 4500 +#define ERROR_DEPENDENT_RESOURCE_EXISTS 5001 +#define ERROR_DEPENDENCY_NOT_FOUND 5002 +#define ERROR_DEPENDENCY_ALREADY_EXISTS 5003 +#define ERROR_RESOURCE_NOT_ONLINE 5004 +#define ERROR_HOST_NODE_NOT_AVAILABLE 5005 +#define ERROR_RESOURCE_NOT_AVAILABLE 5006 +#define ERROR_RESOURCE_NOT_FOUND 5007 +#define ERROR_SHUTDOWN_CLUSTER 5008 +#define ERROR_CANT_EVICT_ACTIVE_NODE 5009 +#define ERROR_OBJECT_ALREADY_EXISTS 5010 +#define ERROR_OBJECT_IN_LIST 5011 +#define ERROR_GROUP_NOT_AVAILABLE 5012 +#define ERROR_GROUP_NOT_FOUND 5013 +#define ERROR_GROUP_NOT_ONLINE 5014 +#define ERROR_HOST_NODE_NOT_RESOURCE_OWNER 5015 +#define ERROR_HOST_NODE_NOT_GROUP_OWNER 5016 +#define ERROR_RESMON_CREATE_FAILED 5017 +#define ERROR_RESMON_ONLINE_FAILED 5018 +#define ERROR_RESOURCE_ONLINE 5019 +#define ERROR_QUORUM_RESOURCE 5020 +#define ERROR_NOT_QUORUM_CAPABLE 5021 +#define ERROR_CLUSTER_SHUTTING_DOWN 5022 +#define ERROR_INVALID_STATE 5023 +#define ERROR_RESOURCE_PROPERTIES_STORED 5024 +#define ERROR_NOT_QUORUM_CLASS 5025 +#define ERROR_CORE_RESOURCE 5026 +#define ERROR_QUORUM_RESOURCE_ONLINE_FAILED 5027 +#define ERROR_QUORUMLOG_OPEN_FAILED 5028 +#define ERROR_CLUSTERLOG_CORRUPT 5029 +#define ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE 5030 +#define ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE 5031 +#define ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND 5032 +#define ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE 5033 +#define ERROR_QUORUM_OWNER_ALIVE 5034 +#define ERROR_NETWORK_NOT_AVAILABLE 5035 +#define ERROR_NODE_NOT_AVAILABLE 5036 +#define ERROR_ALL_NODES_NOT_AVAILABLE 5037 +#define ERROR_RESOURCE_FAILED 5038 +#define ERROR_CLUSTER_INVALID_NODE 5039 +#define ERROR_CLUSTER_NODE_EXISTS 5040 +#define ERROR_CLUSTER_JOIN_IN_PROGRESS 5041 +#define ERROR_CLUSTER_NODE_NOT_FOUND 5042 +#define ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND 5043 +#define ERROR_CLUSTER_NETWORK_EXISTS 5044 +#define ERROR_CLUSTER_NETWORK_NOT_FOUND 5045 +#define ERROR_CLUSTER_NETINTERFACE_EXISTS 5046 +#define ERROR_CLUSTER_NETINTERFACE_NOT_FOUND 5047 +#define ERROR_CLUSTER_INVALID_REQUEST 5048 +#define ERROR_CLUSTER_INVALID_NETWORK_PROVIDER 5049 +#define ERROR_CLUSTER_NODE_DOWN 5050 +#define ERROR_CLUSTER_NODE_UNREACHABLE 5051 +#define ERROR_CLUSTER_NODE_NOT_MEMBER 5052 +#define ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS 5053 +#define ERROR_CLUSTER_INVALID_NETWORK 5054 +#define ERROR_CLUSTER_NODE_UP 5056 +#define ERROR_CLUSTER_IPADDR_IN_USE 5057 +#define ERROR_CLUSTER_NODE_NOT_PAUSED 5058 +#define ERROR_CLUSTER_NO_SECURITY_CONTEXT 5059 +#define ERROR_CLUSTER_NETWORK_NOT_INTERNAL 5060 +#define ERROR_CLUSTER_NODE_ALREADY_UP 5061 +#define ERROR_CLUSTER_NODE_ALREADY_DOWN 5062 +#define ERROR_CLUSTER_NETWORK_ALREADY_ONLINE 5063 +#define ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE 5064 +#define ERROR_CLUSTER_NODE_ALREADY_MEMBER 5065 +#define ERROR_CLUSTER_LAST_INTERNAL_NETWORK 5066 +#define ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS 5067 +#define ERROR_INVALID_OPERATION_ON_QUORUM 5068 +#define ERROR_DEPENDENCY_NOT_ALLOWED 5069 +#define ERROR_CLUSTER_NODE_PAUSED 5070 +#define ERROR_NODE_CANT_HOST_RESOURCE 5071 +#define ERROR_CLUSTER_NODE_NOT_READY 5072 +#define ERROR_CLUSTER_NODE_SHUTTING_DOWN 5073 +#define ERROR_CLUSTER_JOIN_ABORTED 5074 +#define ERROR_CLUSTER_INCOMPATIBLE_VERSIONS 5075 +#define ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED 5076 +#define ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED 5077 +#define ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND 5078 +#define ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED 5079 +#define ERROR_CLUSTER_RESNAME_NOT_FOUND 5080 +#define ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED 5081 +#define ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST 5082 +#define ERROR_CLUSTER_DATABASE_SEQMISMATCH 5083 +#define ERROR_RESMON_INVALID_STATE 5084 +#define ERROR_CLUSTER_GUM_NOT_LOCKER 5085 +#define ERROR_QUORUM_DISK_NOT_FOUND 5086 +#define ERROR_DATABASE_BACKUP_CORRUPT 5087 +#define ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT 5088 +#define ERROR_RESOURCE_PROPERTY_UNCHANGEABLE 5089 +#define ERROR_ENCRYPTION_FAILED 6000 +#define ERROR_DECRYPTION_FAILED 6001 +#define ERROR_FILE_ENCRYPTED 6002 +#define ERROR_NO_RECOVERY_POLICY 6003 +#define ERROR_NO_EFS 6004 +#define ERROR_WRONG_EFS 6005 +#define ERROR_NO_USER_KEYS 6006 +#define ERROR_FILE_NOT_ENCRYPTED 6007 +#define ERROR_NOT_EXPORT_FORMAT 6008 +#define ERROR_FILE_READ_ONLY 6009 +#define ERROR_DIR_EFS_DISALLOWED 6010 +#define ERROR_EFS_SERVER_NOT_TRUSTED 6011 +#define ERROR_EFS_ALG_BLOB_TOO_BIG 6013 +#define ERROR_NO_BROWSER_SERVERS_FOUND 6118 +#define SCHED_E_SERVICE_NOT_LOCALSYSTEM 6200 +#define ERROR_CTX_WINSTATION_NAME_INVALID 7001 +#define ERROR_CTX_INVALID_PD 7002 +#define ERROR_CTX_PD_NOT_FOUND 7003 +#define ERROR_CTX_WD_NOT_FOUND 7004 +#define ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY 7005 +#define ERROR_CTX_SERVICE_NAME_COLLISION 7006 +#define ERROR_CTX_CLOSE_PENDING 7007 +#define ERROR_CTX_NO_OUTBUF 7008 +#define ERROR_CTX_MODEM_INF_NOT_FOUND 7009 +#define ERROR_CTX_INVALID_MODEMNAME 7010 +#define ERROR_CTX_MODEM_RESPONSE_ERROR 7011 +#define ERROR_CTX_MODEM_RESPONSE_TIMEOUT 7012 +#define ERROR_CTX_MODEM_RESPONSE_NO_CARRIER 7013 +#define ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE 7014 +#define ERROR_CTX_MODEM_RESPONSE_BUSY 7015 +#define ERROR_CTX_MODEM_RESPONSE_VOICE 7016 +#define ERROR_CTX_TD_ERROR 7017 +#define ERROR_CTX_WINSTATION_NOT_FOUND 7022 +#define ERROR_CTX_WINSTATION_ALREADY_EXISTS 7023 +#define ERROR_CTX_WINSTATION_BUSY 7024 +#define ERROR_CTX_BAD_VIDEO_MODE 7025 +#define ERROR_CTX_GRAPHICS_INVALID 7035 +#define ERROR_CTX_LOGON_DISABLED 7037 +#define ERROR_CTX_NOT_CONSOLE 7038 +#define ERROR_CTX_CLIENT_QUERY_TIMEOUT 7040 +#define ERROR_CTX_CONSOLE_DISCONNECT 7041 +#define ERROR_CTX_CONSOLE_CONNECT 7042 +#define ERROR_CTX_SHADOW_DENIED 7044 +#define ERROR_CTX_WINSTATION_ACCESS_DENIED 7045 +#define ERROR_CTX_INVALID_WD 7049 +#define ERROR_CTX_SHADOW_INVALID 7050 +#define ERROR_CTX_SHADOW_DISABLED 7051 +#define ERROR_CTX_CLIENT_LICENSE_IN_USE 7052 +#define ERROR_CTX_CLIENT_LICENSE_NOT_SET 7053 +#define ERROR_CTX_LICENSE_NOT_AVAILABLE 7054 +#define ERROR_CTX_LICENSE_CLIENT_INVALID 7055 +#define ERROR_CTX_LICENSE_EXPIRED 7056 +#define ERROR_CTX_SHADOW_NOT_RUNNING 7057 +#define ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE 7058 +#define FRS_ERR_INVALID_API_SEQUENCE 8001 +#define FRS_ERR_STARTING_SERVICE 8002 +#define FRS_ERR_STOPPING_SERVICE 8003 +#define FRS_ERR_INTERNAL_API 8004 +#define FRS_ERR_INTERNAL 8005 +#define FRS_ERR_SERVICE_COMM 8006 +#define FRS_ERR_INSUFFICIENT_PRIV 8007 +#define FRS_ERR_AUTHENTICATION 8008 +#define FRS_ERR_PARENT_INSUFFICIENT_PRIV 8009 +#define FRS_ERR_PARENT_AUTHENTICATION 8010 +#define FRS_ERR_CHILD_TO_PARENT_COMM 8011 +#define FRS_ERR_PARENT_TO_CHILD_COMM 8012 +#define FRS_ERR_SYSVOL_POPULATE 8013 +#define FRS_ERR_SYSVOL_POPULATE_TIMEOUT 8014 +#define FRS_ERR_SYSVOL_IS_BUSY 8015 +#define FRS_ERR_SYSVOL_DEMOTE 8016 +#define FRS_ERR_INVALID_SERVICE_PARAMETER 8017 +#define ERROR_DS_NOT_INSTALLED 8200 +#define ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY 8201 +#define ERROR_DS_NO_ATTRIBUTE_OR_VALUE 8202 +#define ERROR_DS_INVALID_ATTRIBUTE_SYNTAX 8203 +#define ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED 8204 +#define ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS 8205 +#define ERROR_DS_BUSY 8206 +#define ERROR_DS_UNAVAILABLE 8207 +#define ERROR_DS_NO_RIDS_ALLOCATED 8208 +#define ERROR_DS_NO_MORE_RIDS 8209 +#define ERROR_DS_INCORRECT_ROLE_OWNER 8210 +#define ERROR_DS_RIDMGR_INIT_ERROR 8211 +#define ERROR_DS_OBJ_CLASS_VIOLATION 8212 +#define ERROR_DS_CANT_ON_NON_LEAF 8213 +#define ERROR_DS_CANT_ON_RDN 8214 +#define ERROR_DS_CANT_MOD_OBJ_CLASS 8215 +#define ERROR_DS_CROSS_DOM_MOVE_ERROR 8216 +#define ERROR_DS_GC_NOT_AVAILABLE 8217 +#define ERROR_SHARED_POLICY 8218 +#define ERROR_POLICY_OBJECT_NOT_FOUND 8219 +#define ERROR_POLICY_ONLY_IN_DS 8220 +#define ERROR_PROMOTION_ACTIVE 8221 +#define ERROR_NO_PROMOTION_ACTIVE 8222 +#define ERROR_DS_OPERATIONS_ERROR 8224 +#define ERROR_DS_PROTOCOL_ERROR 8225 +#define ERROR_DS_TIMELIMIT_EXCEEDED 8226 +#define ERROR_DS_SIZELIMIT_EXCEEDED 8227 +#define ERROR_DS_ADMIN_LIMIT_EXCEEDED 8228 +#define ERROR_DS_COMPARE_FALSE 8229 +#define ERROR_DS_COMPARE_TRUE 8230 +#define ERROR_DS_AUTH_METHOD_NOT_SUPPORTED 8231 +#define ERROR_DS_STRONG_AUTH_REQUIRED 8232 +#define ERROR_DS_INAPPROPRIATE_AUTH 8233 +#define ERROR_DS_AUTH_UNKNOWN 8234 +#define ERROR_DS_REFERRAL 8235 +#define ERROR_DS_UNAVAILABLE_CRIT_EXTENSION 8236 +#define ERROR_DS_CONFIDENTIALITY_REQUIRED 8237 +#define ERROR_DS_INAPPROPRIATE_MATCHING 8238 +#define ERROR_DS_CONSTRAINT_VIOLATION 8239 +#define ERROR_DS_NO_SUCH_OBJECT 8240 +#define ERROR_DS_ALIAS_PROBLEM 8241 +#define ERROR_DS_INVALID_DN_SYNTAX 8242 +#define ERROR_DS_IS_LEAF 8243 +#define ERROR_DS_ALIAS_DEREF_PROBLEM 8244 +#define ERROR_DS_UNWILLING_TO_PERFORM 8245 +#define ERROR_DS_LOOP_DETECT 8246 +#define ERROR_DS_NAMING_VIOLATION 8247 +#define ERROR_DS_OBJECT_RESULTS_TOO_LARGE 8248 +#define ERROR_DS_AFFECTS_MULTIPLE_DSAS 8249 +#define ERROR_DS_SERVER_DOWN 8250 +#define ERROR_DS_LOCAL_ERROR 8251 +#define ERROR_DS_ENCODING_ERROR 8252 +#define ERROR_DS_DECODING_ERROR 8253 +#define ERROR_DS_FILTER_UNKNOWN 8254 +#define ERROR_DS_PARAM_ERROR 8255 +#define ERROR_DS_NOT_SUPPORTED 8256 +#define ERROR_DS_NO_RESULTS_RETURNED 8257 +#define ERROR_DS_CONTROL_NOT_FOUND 8258 +#define ERROR_DS_CLIENT_LOOP 8259 +#define ERROR_DS_REFERRAL_LIMIT_EXCEEDED 8260 +#define ERROR_DS_ROOT_MUST_BE_NC 8301 +#define ERROR_DS_ADD_REPLICA_INHIBITED 8302 +#define ERROR_DS_ATT_NOT_DEF_IN_SCHEMA 8303 +#define ERROR_DS_MAX_OBJ_SIZE_EXCEEDED 8304 +#define ERROR_DS_OBJ_STRING_NAME_EXISTS 8305 +#define ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA 8306 +#define ERROR_DS_RDN_DOESNT_MATCH_SCHEMA 8307 +#define ERROR_DS_NO_REQUESTED_ATTS_FOUND 8308 +#define ERROR_DS_USER_BUFFER_TO_SMALL 8309 +#define ERROR_DS_ATT_IS_NOT_ON_OBJ 8310 +#define ERROR_DS_ILLEGAL_MOD_OPERATION 8311 +#define ERROR_DS_OBJ_TOO_LARGE 8312 +#define ERROR_DS_BAD_INSTANCE_TYPE 8313 +#define ERROR_DS_MASTERDSA_REQUIRED 8314 +#define ERROR_DS_OBJECT_CLASS_REQUIRED 8315 +#define ERROR_DS_MISSING_REQUIRED_ATT 8316 +#define ERROR_DS_ATT_NOT_DEF_FOR_CLASS 8317 +#define ERROR_DS_ATT_ALREADY_EXISTS 8318 +#define ERROR_DS_CANT_ADD_ATT_VALUES 8320 +#define ERROR_DS_SINGLE_VALUE_CONSTRAINT 8321 +#define ERROR_DS_RANGE_CONSTRAINT 8322 +#define ERROR_DS_ATT_VAL_ALREADY_EXISTS 8323 +#define ERROR_DS_CANT_REM_MISSING_ATT 8324 +#define ERROR_DS_CANT_REM_MISSING_ATT_VAL 8325 +#define ERROR_DS_ROOT_CANT_BE_SUBREF 8326 +#define ERROR_DS_NO_CHAINING 8327 +#define ERROR_DS_NO_CHAINED_EVAL 8328 +#define ERROR_DS_NO_PARENT_OBJECT 8329 +#define ERROR_DS_PARENT_IS_AN_ALIAS 8330 +#define ERROR_DS_CANT_MIX_MASTER_AND_REPS 8331 +#define ERROR_DS_CHILDREN_EXIST 8332 +#define ERROR_DS_OBJ_NOT_FOUND 8333 +#define ERROR_DS_ALIASED_OBJ_MISSING 8334 +#define ERROR_DS_BAD_NAME_SYNTAX 8335 +#define ERROR_DS_ALIAS_POINTS_TO_ALIAS 8336 +#define ERROR_DS_CANT_DEREF_ALIAS 8337 +#define ERROR_DS_OUT_OF_SCOPE 8338 +#define ERROR_DS_CANT_DELETE_DSA_OBJ 8340 +#define ERROR_DS_GENERIC_ERROR 8341 +#define ERROR_DS_DSA_MUST_BE_INT_MASTER 8342 +#define ERROR_DS_CLASS_NOT_DSA 8343 +#define ERROR_DS_INSUFF_ACCESS_RIGHTS 8344 +#define ERROR_DS_ILLEGAL_SUPERIOR 8345 +#define ERROR_DS_ATTRIBUTE_OWNED_BY_SAM 8346 +#define ERROR_DS_NAME_TOO_MANY_PARTS 8347 +#define ERROR_DS_NAME_TOO_LONG 8348 +#define ERROR_DS_NAME_VALUE_TOO_LONG 8349 +#define ERROR_DS_NAME_UNPARSEABLE 8350 +#define ERROR_DS_NAME_TYPE_UNKNOWN 8351 +#define ERROR_DS_NOT_AN_OBJECT 8352 +#define ERROR_DS_SEC_DESC_TOO_SHORT 8353 +#define ERROR_DS_SEC_DESC_INVALID 8354 +#define ERROR_DS_NO_DELETED_NAME 8355 +#define ERROR_DS_SUBREF_MUST_HAVE_PARENT 8356 +#define ERROR_DS_NCNAME_MUST_BE_NC 8357 +#define ERROR_DS_CANT_ADD_SYSTEM_ONLY 8358 +#define ERROR_DS_CLASS_MUST_BE_CONCRETE 8359 +#define ERROR_DS_INVALID_DMD 8360 +#define ERROR_DS_OBJ_GUID_EXISTS 8361 +#define ERROR_DS_NOT_ON_BACKLINK 8362 +#define ERROR_DS_NO_CROSSREF_FOR_NC 8363 +#define ERROR_DS_SHUTTING_DOWN 8364 +#define ERROR_DS_UNKNOWN_OPERATION 8365 +#define ERROR_DS_INVALID_ROLE_OWNER 8366 +#define ERROR_DS_COULDNT_CONTACT_FSMO 8367 +#define ERROR_DS_CROSS_NC_DN_RENAME 8368 +#define ERROR_DS_CANT_MOD_SYSTEM_ONLY 8369 +#define ERROR_DS_REPLICATOR_ONLY 8370 +#define ERROR_DS_OBJ_CLASS_NOT_DEFINED 8371 +#define ERROR_DS_OBJ_CLASS_NOT_SUBCLASS 8372 +#define ERROR_DS_NAME_REFERENCE_INVALID 8373 +#define ERROR_DS_CROSS_REF_EXISTS 8374 +#define ERROR_DS_CANT_DEL_MASTER_CROSSREF 8375 +#define ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD 8376 +#define ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX 8377 +#define ERROR_DS_DUP_RDN 8378 +#define ERROR_DS_DUP_OID 8379 +#define ERROR_DS_DUP_MAPI_ID 8380 +#define ERROR_DS_DUP_SCHEMA_ID_GUID 8381 +#define ERROR_DS_DUP_LDAP_DISPLAY_NAME 8382 +#define ERROR_DS_SEMANTIC_ATT_TEST 8383 +#define ERROR_DS_SYNTAX_MISMATCH 8384 +#define ERROR_DS_EXISTS_IN_MUST_HAVE 8385 +#define ERROR_DS_EXISTS_IN_MAY_HAVE 8386 +#define ERROR_DS_NONEXISTENT_MAY_HAVE 8387 +#define ERROR_DS_NONEXISTENT_MUST_HAVE 8388 +#define ERROR_DS_AUX_CLS_TEST_FAIL 8389 +#define ERROR_DS_NONEXISTENT_POSS_SUP 8390 +#define ERROR_DS_SUB_CLS_TEST_FAIL 8391 +#define ERROR_DS_BAD_RDN_ATT_ID_SYNTAX 8392 +#define ERROR_DS_EXISTS_IN_AUX_CLS 8393 +#define ERROR_DS_EXISTS_IN_SUB_CLS 8394 +#define ERROR_DS_EXISTS_IN_POSS_SUP 8395 +#define ERROR_DS_RECALCSCHEMA_FAILED 8396 +#define ERROR_DS_TREE_DELETE_NOT_FINISHED 8397 +#define ERROR_DS_CANT_DELETE 8398 +#define ERROR_DS_ATT_SCHEMA_REQ_ID 8399 +#define ERROR_DS_BAD_ATT_SCHEMA_SYNTAX 8400 +#define ERROR_DS_CANT_CACHE_ATT 8401 +#define ERROR_DS_CANT_CACHE_CLASS 8402 +#define ERROR_DS_CANT_REMOVE_ATT_CACHE 8403 +#define ERROR_DS_CANT_REMOVE_CLASS_CACHE 8404 +#define ERROR_DS_CANT_RETRIEVE_DN 8405 +#define ERROR_DS_MISSING_SUPREF 8406 +#define ERROR_DS_CANT_RETRIEVE_INSTANCE 8407 +#define ERROR_DS_CODE_INCONSISTENCY 8408 +#define ERROR_DS_DATABASE_ERROR 8409 +#define ERROR_DS_GOVERNSID_MISSING 8410 +#define ERROR_DS_MISSING_EXPECTED_ATT 8411 +#define ERROR_DS_NCNAME_MISSING_CR_REF 8412 +#define ERROR_DS_SECURITY_CHECKING_ERROR 8413 +#define ERROR_DS_SCHEMA_NOT_LOADED 8414 +#define ERROR_DS_SCHEMA_ALLOC_FAILED 8415 +#define ERROR_DS_ATT_SCHEMA_REQ_SYNTAX 8416 +#define ERROR_DS_GCVERIFY_ERROR 8417 +#define ERROR_DS_DRA_SCHEMA_MISMATCH 8418 +#define ERROR_DS_CANT_FIND_DSA_OBJ 8419 +#define ERROR_DS_CANT_FIND_EXPECTED_NC 8420 +#define ERROR_DS_CANT_FIND_NC_IN_CACHE 8421 +#define ERROR_DS_CANT_RETRIEVE_CHILD 8422 +#define ERROR_DS_SECURITY_ILLEGAL_MODIFY 8423 +#define ERROR_DS_CANT_REPLACE_HIDDEN_REC 8424 +#define ERROR_DS_BAD_HIERARCHY_FILE 8425 +#define ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED 8426 +#define ERROR_DS_CONFIG_PARAM_MISSING 8427 +#define ERROR_DS_COUNTING_AB_INDICES_FAILED 8428 +#define ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED 8429 +#define ERROR_DS_INTERNAL_FAILURE 8430 +#define ERROR_DS_UNKNOWN_ERROR 8431 +#define ERROR_DS_ROOT_REQUIRES_CLASS_TOP 8432 +#define ERROR_DS_REFUSING_FSMO_ROLES 8433 +#define ERROR_DS_MISSING_FSMO_SETTINGS 8434 +#define ERROR_DS_UNABLE_TO_SURRENDER_ROLES 8435 +#define ERROR_DS_DRA_GENERIC 8436 +#define ERROR_DS_DRA_INVALID_PARAMETER 8437 +#define ERROR_DS_DRA_BUSY 8438 +#define ERROR_DS_DRA_BAD_DN 8439 +#define ERROR_DS_DRA_BAD_NC 8440 +#define ERROR_DS_DRA_DN_EXISTS 8441 +#define ERROR_DS_DRA_INTERNAL_ERROR 8442 +#define ERROR_DS_DRA_INCONSISTENT_DIT 8443 +#define ERROR_DS_DRA_CONNECTION_FAILED 8444 +#define ERROR_DS_DRA_BAD_INSTANCE_TYPE 8445 +#define ERROR_DS_DRA_OUT_OF_MEM 8446 +#define ERROR_DS_DRA_MAIL_PROBLEM 8447 +#define ERROR_DS_DRA_REF_ALREADY_EXISTS 8448 +#define ERROR_DS_DRA_REF_NOT_FOUND 8449 +#define ERROR_DS_DRA_OBJ_IS_REP_SOURCE 8450 +#define ERROR_DS_DRA_DB_ERROR 8451 +#define ERROR_DS_DRA_NO_REPLICA 8452 +#define ERROR_DS_DRA_ACCESS_DENIED 8453 +#define ERROR_DS_DRA_NOT_SUPPORTED 8454 +#define ERROR_DS_DRA_RPC_CANCELLED 8455 +#define ERROR_DS_DRA_SOURCE_DISABLED 8456 +#define ERROR_DS_DRA_SINK_DISABLED 8457 +#define ERROR_DS_DRA_NAME_COLLISION 8458 +#define ERROR_DS_DRA_SOURCE_REINSTALLED 8459 +#define ERROR_DS_DRA_MISSING_PARENT 8460 +#define ERROR_DS_DRA_PREEMPTED 8461 +#define ERROR_DS_DRA_ABANDON_SYNC 8462 +#define ERROR_DS_DRA_SHUTDOWN 8463 +#define ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET 8464 +#define ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA 8465 +#define ERROR_DS_DRA_EXTN_CONNECTION_FAILED 8466 +#define ERROR_DS_INSTALL_SCHEMA_MISMATCH 8467 +#define ERROR_DS_DUP_LINK_ID 8468 +#define ERROR_DS_NAME_ERROR_RESOLVING 8469 +#define ERROR_DS_NAME_ERROR_NOT_FOUND 8470 +#define ERROR_DS_NAME_ERROR_NOT_UNIQUE 8471 +#define ERROR_DS_NAME_ERROR_NO_MAPPING 8472 +#define ERROR_DS_NAME_ERROR_DOMAIN_ONLY 8473 +#define ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING 8474 +#define ERROR_DS_CONSTRUCTED_ATT_MOD 8475 +#define ERROR_DS_WRONG_OM_OBJ_CLASS 8476 +#define ERROR_DS_DRA_REPL_PENDING 8477 +#define ERROR_DS_DS_REQUIRED 8478 +#define ERROR_DS_INVALID_LDAP_DISPLAY_NAME 8479 +#define ERROR_DS_NON_BASE_SEARCH 8480 +#define ERROR_DS_CANT_RETRIEVE_ATTS 8481 +#define ERROR_DS_BACKLINK_WITHOUT_LINK 8482 +#define ERROR_DS_EPOCH_MISMATCH 8483 +#define ERROR_DS_SRC_NAME_MISMATCH 8484 +#define ERROR_DS_SRC_AND_DST_NC_IDENTICAL 8485 +#define ERROR_DS_DST_NC_MISMATCH 8486 +#define ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC 8487 +#define ERROR_DS_SRC_GUID_MISMATCH 8488 +#define ERROR_DS_CANT_MOVE_DELETED_OBJECT 8489 +#define ERROR_DS_PDC_OPERATION_IN_PROGRESS 8490 +#define ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD 8491 +#define ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION 8492 +#define ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS 8493 +#define ERROR_DS_NC_MUST_HAVE_NC_PARENT 8494 +#define ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE 8495 +#define ERROR_DS_DST_DOMAIN_NOT_NATIVE 8496 +#define ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER 8497 +#define ERROR_DS_CANT_MOVE_ACCOUNT_GROUP 8498 +#define ERROR_DS_CANT_MOVE_RESOURCE_GROUP 8499 +#define ERROR_DS_INVALID_SEARCH_FLAG 8500 +#define ERROR_DS_NO_TREE_DELETE_ABOVE_NC 8501 +#define ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE 8502 +#define ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE 8503 +#define ERROR_DS_SAM_INIT_FAILURE 8504 +#define ERROR_DS_SENSITIVE_GROUP_VIOLATION 8505 +#define ERROR_DS_CANT_MOD_PRIMARYGROUPID 8506 +#define ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD 8507 +#define ERROR_DS_NONSAFE_SCHEMA_CHANGE 8508 +#define ERROR_DS_SCHEMA_UPDATE_DISALLOWED 8509 +#define ERROR_DS_CANT_CREATE_UNDER_SCHEMA 8510 +#define ERROR_DS_INSTALL_NO_SRC_SCH_VERSION 8511 +#define ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE 8512 +#define ERROR_DS_INVALID_GROUP_TYPE 8513 +#define ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN 8514 +#define ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN 8515 +#define ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER 8516 +#define ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER 8517 +#define ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER 8518 +#define ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER 8519 +#define ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER 8520 +#define ERROR_DS_HAVE_PRIMARY_MEMBERS 8521 +#define ERROR_DS_STRING_SD_CONVERSION_FAILED 8522 +#define ERROR_DS_NAMING_MASTER_GC 8523 +#define ERROR_DS_LOOKUP_FAILURE 8524 +#define ERROR_DS_COULDNT_UPDATE_SPNS 8525 +#define ERROR_DS_CANT_RETRIEVE_SD 8526 +#define ERROR_DS_KEY_NOT_UNIQUE 8527 +#define ERROR_DS_WRONG_LINKED_ATT_SYNTAX 8528 +#define ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD 8529 +#define ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY 8530 +#define ERROR_DS_CANT_START 8531 +#define ERROR_DS_INIT_FAILURE 8532 +#define ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION 8533 +#define ERROR_DS_SOURCE_DOMAIN_IN_FOREST 8534 +#define ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST 8535 +#define ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED 8536 +#define ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN 8537 +#define ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER 8538 +#define ERROR_DS_SRC_SID_EXISTS_IN_FOREST 8539 +#define ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH 8540 +#define ERROR_SAM_INIT_FAILURE 8541 +#define ERROR_DS_DRA_SCHEMA_INFO_SHIP 8542 +#define ERROR_DS_DRA_SCHEMA_CONFLICT 8543 +#define ERROR_DS_DRA_EARLIER_SCHEMA_CONLICT 8544 +#define ERROR_DS_DRA_OBJ_NC_MISMATCH 8545 +#define ERROR_DS_NC_STILL_HAS_DSAS 8546 +#define ERROR_DS_GC_REQUIRED 8547 +#define ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY 8548 +#define ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS 8549 +#define ERROR_DS_CANT_ADD_TO_GC 8550 +#define ERROR_DS_NO_CHECKPOINT_WITH_PDC 8551 +#define ERROR_DS_SOURCE_AUDITING_NOT_ENABLED 8552 +#define ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC 8553 +#define ERROR_DS_INVALID_NAME_FOR_SPN 8554 +#define ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS 8555 +#define ERROR_DS_UNICODEPWD_NOT_IN_QUOTES 8556 +#define ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED 8557 +#define ERROR_DS_MUST_BE_RUN_ON_DST_DC 8558 +#define ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER 8559 +#define ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ 8560 +#define ERROR_DS_INIT_FAILURE_CONSOLE 8561 +#define ERROR_DS_SAM_INIT_FAILURE_CONSOLE 8562 +#define ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 8572 +#define ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER 8578 +#define DNS_ERROR_RCODE_FORMAT_ERROR 9001 +#define DNS_ERROR_RCODE_SERVER_FAILURE 9002 +#define DNS_ERROR_RCODE_NAME_ERROR 9003 +#define DNS_ERROR_RCODE_NOT_IMPLEMENTED 9004 +#define DNS_ERROR_RCODE_REFUSED 9005 +#define DNS_ERROR_RCODE_YXDOMAIN 9006 +#define DNS_ERROR_RCODE_YXRRSET 9007 +#define DNS_ERROR_RCODE_NXRRSET 9008 +#define DNS_ERROR_RCODE_NOTAUTH 9009 +#define DNS_ERROR_RCODE_NOTZONE 9010 +#define DNS_ERROR_RCODE_BADSIG 9016 +#define DNS_ERROR_RCODE_BADKEY 9017 +#define DNS_ERROR_RCODE_BADTIME 9018 +#define DNS_INFO_NO_RECORDS 9501 +#define DNS_ERROR_BAD_PACKET 9502 +#define DNS_ERROR_NO_PACKET 9503 +#define DNS_ERROR_RCODE 9504 +#define DNS_ERROR_UNSECURE_PACKET 9505 +#define DNS_REQUEST_PENDING 9506 +#define DNS_ERROR_INVALID_TYPE 9551 +#define DNS_ERROR_INVALID_IP_ADDRESS 9552 +#define DNS_ERROR_INVALID_PROPERTY 9553 +#define DNS_ERROR_TRY_AGAIN_LATER 9554 +#define DNS_ERROR_NOT_UNIQUE 9555 +#define DNS_ERROR_NON_RFC_NAME 9556 +#define DNS_STATUS_FQDN 9557 +#define DNS_STATUS_DOTTED_NAME 9558 +#define DNS_STATUS_SINGLE_PART_NAME 9559 +#define DNS_ERROR_INVALID_NAME_CHAR 9560 +#define DNS_ERROR_NUMERIC_NAME 9561 +#define DNS_ERROR_ZONE_DOES_NOT_EXIST 9601 +#define DNS_ERROR_NO_ZONE_INFO 9602 +#define DNS_ERROR_INVALID_ZONE_OPERATION 9603 +#define DNS_ERROR_ZONE_CONFIGURATION_ERROR 9604 +#define DNS_ERROR_ZONE_HAS_NO_SOA_RECORD 9605 +#define DNS_ERROR_ZONE_HAS_NO_NS_RECORDS 9606 +#define DNS_ERROR_ZONE_LOCKED 9607 +#define DNS_ERROR_ZONE_CREATION_FAILED 9608 +#define DNS_ERROR_ZONE_ALREADY_EXISTS 9609 +#define DNS_ERROR_AUTOZONE_ALREADY_EXISTS 9610 +#define DNS_ERROR_INVALID_ZONE_TYPE 9611 +#define DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP 9612 +#define DNS_ERROR_ZONE_NOT_SECONDARY 9613 +#define DNS_ERROR_NEED_SECONDARY_ADDRESSES 9614 +#define DNS_ERROR_WINS_INIT_FAILED 9615 +#define DNS_ERROR_NEED_WINS_SERVERS 9616 +#define DNS_ERROR_NBSTAT_INIT_FAILED 9617 +#define DNS_ERROR_SOA_DELETE_INVALID 9618 +#define DNS_ERROR_PRIMARY_REQUIRES_DATAFILE 9651 +#define DNS_ERROR_INVALID_DATAFILE_NAME 9652 +#define DNS_ERROR_DATAFILE_OPEN_FAILURE 9653 +#define DNS_ERROR_FILE_WRITEBACK_FAILED 9654 +#define DNS_ERROR_DATAFILE_PARSING 9655 +#define DNS_ERROR_RECORD_DOES_NOT_EXIST 9701 +#define DNS_ERROR_RECORD_FORMAT 9702 +#define DNS_ERROR_NODE_CREATION_FAILED 9703 +#define DNS_ERROR_UNKNOWN_RECORD_TYPE 9704 +#define DNS_ERROR_RECORD_TIMED_OUT 9705 +#define DNS_ERROR_NAME_NOT_IN_ZONE 9706 +#define DNS_ERROR_CNAME_LOOP 9707 +#define DNS_ERROR_NODE_IS_CNAME 9708 +#define DNS_ERROR_CNAME_COLLISION 9709 +#define DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT 9710 +#define DNS_ERROR_RECORD_ALREADY_EXISTS 9711 +#define DNS_ERROR_SECONDARY_DATA 9712 +#define DNS_ERROR_NO_CREATE_CACHE_DATA 9713 +#define DNS_ERROR_NAME_DOES_NOT_EXIST 9714 +#define DNS_WARNING_PTR_CREATE_FAILED 9715 +#define DNS_WARNING_DOMAIN_UNDELETED 9716 +#define DNS_ERROR_DS_UNAVAILABLE 9717 +#define DNS_ERROR_DS_ZONE_ALREADY_EXISTS 9718 +#define DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE 9719 +#define DNS_INFO_AXFR_COMPLETE 9751 +#define DNS_ERROR_AXFR 9752 +#define DNS_INFO_ADDED_LOCAL_WINS 9753 +#define DNS_STATUS_CONTINUE_NEEDED 9801 +#define DNS_ERROR_NO_TCPIP 9851 +#define DNS_ERROR_NO_DNS_SERVERS 9852 + +/* + * Also defined in winsock.h. + * + * All Windows Sockets error constants are biased by WSABASEERR from + * the "normal" + */ +#define WSABASEERR 10000 +/* + * Windows Sockets definitions of regular Microsoft C error constants + */ +#define WSAEINTR (WSABASEERR+4) +#define WSAEBADF (WSABASEERR+9) +#define WSAEACCES (WSABASEERR+13) +#define WSAEFAULT (WSABASEERR+14) +#define WSAEINVAL (WSABASEERR+22) +#define WSAEMFILE (WSABASEERR+24) + +/* + * Windows Sockets definitions of regular Berkeley error constants + */ +#define WSAEWOULDBLOCK (WSABASEERR+35) +#define WSAEINPROGRESS (WSABASEERR+36) +#define WSAEALREADY (WSABASEERR+37) +#define WSAENOTSOCK (WSABASEERR+38) +#define WSAEDESTADDRREQ (WSABASEERR+39) +#define WSAEMSGSIZE (WSABASEERR+40) +#define WSAEPROTOTYPE (WSABASEERR+41) +#define WSAENOPROTOOPT (WSABASEERR+42) +#define WSAEPROTONOSUPPORT (WSABASEERR+43) +#define WSAESOCKTNOSUPPORT (WSABASEERR+44) +#define WSAEOPNOTSUPP (WSABASEERR+45) +#define WSAEPFNOSUPPORT (WSABASEERR+46) +#define WSAEAFNOSUPPORT (WSABASEERR+47) +#define WSAEADDRINUSE (WSABASEERR+48) +#define WSAEADDRNOTAVAIL (WSABASEERR+49) +#define WSAENETDOWN (WSABASEERR+50) +#define WSAENETUNREACH (WSABASEERR+51) +#define WSAENETRESET (WSABASEERR+52) +#define WSAECONNABORTED (WSABASEERR+53) +#define WSAECONNRESET (WSABASEERR+54) +#define WSAENOBUFS (WSABASEERR+55) +#define WSAEISCONN (WSABASEERR+56) +#define WSAENOTCONN (WSABASEERR+57) +#define WSAESHUTDOWN (WSABASEERR+58) +#define WSAETOOMANYREFS (WSABASEERR+59) +#define WSAETIMEDOUT (WSABASEERR+60) +#define WSAECONNREFUSED (WSABASEERR+61) +#define WSAELOOP (WSABASEERR+62) +#define WSAENAMETOOLONG (WSABASEERR+63) +#define WSAEHOSTDOWN (WSABASEERR+64) +#define WSAEHOSTUNREACH (WSABASEERR+65) +#define WSAENOTEMPTY (WSABASEERR+66) +#define WSAEPROCLIM (WSABASEERR+67) +#define WSAEUSERS (WSABASEERR+68) +#define WSAEDQUOT (WSABASEERR+69) +#define WSAESTALE (WSABASEERR+70) +#define WSAEREMOTE (WSABASEERR+71) + +/* + * Extended Windows Sockets error constant definitions + */ +#define WSASYSNOTREADY (WSABASEERR+91) +#define WSAVERNOTSUPPORTED (WSABASEERR+92) +#define WSANOTINITIALISED (WSABASEERR+93) +#define WSAEDISCON (WSABASEERR+101) +#define WSAENOMORE (WSABASEERR+102) +#define WSAECANCELLED (WSABASEERR+103) +#define WSAEINVALIDPROCTABLE (WSABASEERR+104) +#define WSAEINVALIDPROVIDER (WSABASEERR+105) +#define WSAEPROVIDERFAILEDINIT (WSABASEERR+106) +#define WSASYSCALLFAILURE (WSABASEERR+107) +#define WSASERVICE_NOT_FOUND (WSABASEERR+108) +#define WSATYPE_NOT_FOUND (WSABASEERR+109) +#define WSA_E_NO_MORE (WSABASEERR+110) +#define WSA_E_CANCELLED (WSABASEERR+111) +#define WSAEREFUSED (WSABASEERR+112) + + +#define ERROR_SXS_SECTION_NOT_FOUND 14000 +#define ERROR_SXS_CANT_GEN_ACTCTX 14001 +#define ERROR_SXS_INVALID_ACTCTXDATA_FORMAT 14002 +#define ERROR_SXS_ASSEMBLY_NOT_FOUND 14003 +#define ERROR_SXS_MANIFEST_FORMAT_ERROR 14004 +#define ERROR_SXS_MANIFEST_PARSE_ERROR 14005 +#define ERROR_SXS_ACTIVATION_CONTEXT_DISABLED 14006 +#define ERROR_SXS_KEY_NOT_FOUND 14007 +#define ERROR_SXS_VERSION_CONFLICT 14008 +#define ERROR_SXS_WRONG_SECTION_TYPE 14009 +#define ERROR_SXS_THREAD_QUERIES_DISABLED 14010 +#define ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET 14011 +#define ERROR_SXS_UNKNOWN_ENCODING_GROUP 14012 +#define ERROR_SXS_UNKNOWN_ENCODING 14013 +#define ERROR_SXS_INVALID_XML_NAMESPACE_URI 14014 +#define ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED 14015 +#define ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED 14016 +#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE 14017 +#define ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE 14018 +#define ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE 14019 +#define ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT 14020 +#define ERROR_SXS_DUPLICATE_DLL_NAME 14021 +#define ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME 14022 +#define ERROR_SXS_DUPLICATE_CLSID 14023 +#define ERROR_SXS_DUPLICATE_IID 14024 +#define ERROR_SXS_DUPLICATE_TLBID 14025 +#define ERROR_SXS_DUPLICATE_PROGID 14026 +#define ERROR_SXS_DUPLICATE_ASSEMBLY_NAME 14027 +#define ERROR_SXS_FILE_HASH_MISMATCH 14028 +#define ERROR_SXS_POLICY_PARSE_ERROR 14029 +#define ERROR_SXS_PROTECTION_RECOVERY_FAILED 14074 +#define ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT 14075 +#define ERROR_SXS_PROTECTION_CATALOG_NOT_VALID 14076 +#define ERROR_SXS_UNTRANSLATABLE_HRESULT 14077 +#define ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING 14078 +#define ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE 14079 +#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME 14080 +#define ERROR_SXS_ASSEMBLY_MISSING 14081 +#define ERROR_SXS_CORRUPT_ACTIVATION_STACK 14082 +#define ERROR_SXS_CORRUPTION 14083 +#define ERROR_SXS_EARLY_DEACTIVATION 14084 +#define ERROR_SXS_INVALID_DEACTIVATION 14085 +#define ERROR_SXS_MULTIPLE_DEACTIVATION 14086 +#define ERROR_SXS_PROCESS_TERMINATION_REQUESTED 14087 +#define ERROR_SXS_RELEASE_ACTIVATION_CONTEXT 14088 +#define ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY 14089 +#define ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE 14090 +#define ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME 14091 +#define ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE 14092 +#define ERROR_SXS_IDENTITY_PARSE_ERROR 14093 +#define ERROR_SXS_IDENTITY_PARSE_ERROR 14093 +#define ERROR_MALFORMED_SUBSTITUTION_STRING 14094 +#define ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN 14095 +#define ERROR_UNMAPPED_SUBSTITUTION_STRING 14096 +#define ERROR_SXS_ASSEMBLY_NOT_LOCKED 14097 +#define ERROR_SXS_COMPONENT_STORE_CORRUPT 14098 +#define ERROR_ADVANCED_INSTALLER_FAILED 14099 +#define ERROR_XML_ENCODING_MISMATCH 14100 +#define ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT 14101 +#define ERROR_SXS_IDENTITIES_DIFFERENT 14102 +#define ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT 14103 +#define ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY 14104 +#define ERROR_SXS_MANIFEST_TOO_BIG 14105 +#define ERROR_SXS_SETTING_NOT_REGISTERED 14106 +#define ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE 14107 +#define ERROR_SMI_PRIMITIVE_INSTALLER_FAILED 14108 +#define ERROR_GENERIC_COMMAND_FAILED 14109 +#define ERROR_SXS_FILE_HASH_MISSING 14110 +#define ERROR_MUI_FILE_NOT_FOUND 15100 +#define ERROR_MUI_INVALID_FILE 15101 +#define ERROR_MUI_INVALID_RC_CONFIG 15102 +#define ERROR_MUI_INVALID_LOCALE_NAME 15103 +#define ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME 15104 +#define ERROR_MUI_FILE_NOT_LOADED 15105 +#define ERROR_RESOURCE_ENUM_USER_STOP 15106 +#define ERROR_MUI_INTLSETTINGS_UILANG_NOT_INSTALLED 15107 +#define ERROR_MUI_INTLSETTINGS_INVALID_LOCALE_NAME 15108 +#define ERROR_MRM_RUNTIME_NO_DEFAULT_OR_NEUTRAL_RESOURCE 15110 +#define ERROR_MRM_INVALID_PRICONFIG 15111 +#define ERROR_MRM_INVALID_FILE_TYPE 15112 +#define ERROR_MRM_UNKNOWN_QUALIFIER 15113 +#define ERROR_MRM_INVALID_QUALIFIER_VALUE 15114 +#define ERROR_MRM_NO_CANDIDATE 15115 +#define ERROR_MRM_NO_MATCH_OR_DEFAULT_CANDIDATE 15116 +#define ERROR_MRM_RESOURCE_TYPE_MISMATCH 15117 +#define ERROR_MRM_DUPLICATE_MAP_NAME 15118 +#define ERROR_MRM_DUPLICATE_ENTRY 15119 +#define ERROR_MRM_INVALID_RESOURCE_IDENTIFIER 15120 +#define ERROR_MRM_FILEPATH_TOO_LONG 15121 +#define ERROR_MRM_UNSUPPORTED_DIRECTORY_TYPE 15122 +#define ERROR_MRM_INVALID_PRI_FILE 15126 +#define ERROR_MRM_NAMED_RESOURCE_NOT_FOUND 15127 +#define ERROR_MRM_MAP_NOT_FOUND 15135 +#define ERROR_MRM_UNSUPPORTED_PROFILE_TYPE 15136 +#define ERROR_MRM_INVALID_QUALIFIER_OPERATOR 15137 +#define ERROR_MRM_INDETERMINATE_QUALIFIER_VALUE 15138 +#define ERROR_MRM_AUTOMERGE_ENABLED 15139 +#define ERROR_MRM_TOO_MANY_RESOURCES 15140 +#define ERROR_MCA_INVALID_CAPABILITIES_STRING 15200 +#define ERROR_MCA_INVALID_VCP_VERSION 15201 +#define ERROR_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION 15202 +#define ERROR_MCA_MCCS_VERSION_MISMATCH 15203 +#define ERROR_MCA_UNSUPPORTED_MCCS_VERSION 15204 +#define ERROR_MCA_INTERNAL_ERROR 15205 +#define ERROR_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED 15206 +#define ERROR_MCA_UNSUPPORTED_COLOR_TEMPERATURE 15207 +#define ERROR_AMBIGUOUS_SYSTEM_DEVICE 15250 +#define ERROR_SYSTEM_DEVICE_NOT_FOUND 15299 +#define ERROR_HASH_NOT_SUPPORTED 15300 +#define ERROR_HASH_NOT_PRESENT 15301 +#define ERROR_SECONDARY_IC_PROVIDER_NOT_REGISTERED 15321 +#define ERROR_GPIO_CLIENT_INFORMATION_INVALID 15322 +#define ERROR_GPIO_VERSION_NOT_SUPPORTED 15323 +#define ERROR_GPIO_INVALID_REGISTRATION_PACKET 15324 +#define ERROR_GPIO_OPERATION_DENIED 15325 +#define ERROR_GPIO_INCOMPATIBLE_CONNECT_MODE 15326 +#define ERROR_GPIO_INTERRUPT_ALREADY_UNMASKED 15327 +#define ERROR_CANNOT_SWITCH_RUNLEVEL 15400 +#define ERROR_INVALID_RUNLEVEL_SETTING 15401 +#define ERROR_RUNLEVEL_SWITCH_TIMEOUT 15402 +#define ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT 15403 +#define ERROR_RUNLEVEL_SWITCH_IN_PROGRESS 15404 +#define ERROR_SERVICES_FAILED_AUTOSTART 15405 +#define ERROR_COM_TASK_STOP_PENDING 15501 +#define ERROR_INSTALL_OPEN_PACKAGE_FAILED 15600 +#define ERROR_INSTALL_PACKAGE_NOT_FOUND 15601 +#define ERROR_INSTALL_INVALID_PACKAGE 15602 +#define ERROR_INSTALL_RESOLVE_DEPENDENCY_FAILED 15603 +#define ERROR_INSTALL_OUT_OF_DISK_SPACE 15604 +#define ERROR_INSTALL_NETWORK_FAILURE 15605 +#define ERROR_INSTALL_REGISTRATION_FAILURE 15606 +#define ERROR_INSTALL_DEREGISTRATION_FAILURE 15607 +#define ERROR_INSTALL_CANCEL 15608 +#define ERROR_INSTALL_FAILED 15609 +#define ERROR_REMOVE_FAILED 15610 +#define ERROR_PACKAGE_ALREADY_EXISTS 15611 +#define ERROR_NEEDS_REMEDIATION 15612 +#define ERROR_INSTALL_PREREQUISITE_FAILED 15613 +#define ERROR_PACKAGE_REPOSITORY_CORRUPTED 15614 +#define ERROR_INSTALL_POLICY_FAILURE 15615 +#define ERROR_PACKAGE_UPDATING 15616 +#define ERROR_DEPLOYMENT_BLOCKED_BY_POLICY 15617 +#define ERROR_PACKAGES_IN_USE 15618 +#define ERROR_RECOVERY_FILE_CORRUPT 15619 +#define ERROR_INVALID_STAGED_SIGNATURE 15620 +#define ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED 15621 +#define ERROR_INSTALL_PACKAGE_DOWNGRADE 15622 +#define ERROR_SYSTEM_NEEDS_REMEDIATION 15623 +#define ERROR_APPX_INTEGRITY_FAILURE_CLR_NGEN 15624 +#define ERROR_RESILIENCY_FILE_CORRUPT 15625 +#define ERROR_INSTALL_FIREWALL_SERVICE_NOT_RUNNING 15626 +#define APPMODEL_ERROR_NO_PACKAGE 15700 +#define APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT 15701 +#define APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT 15702 +#define APPMODEL_ERROR_NO_APPLICATION 15703 + +/* HRESULT values for OLE, SHELL and other Interface stuff */ +/* the codes 4000-40ff are reserved for OLE */ +#undef NOERROR /* arpa/nameser_compat.h defines this */ + +#define E_NOT_SUFFICIENT_BUFFER HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) +#define E_NOT_VALID_STATE HRESULT_FROM_WIN32(ERROR_INVALID_STATE) + +#ifdef RC_INVOKED +#define _HRESULT_TYPEDEF_(x) (x) +#else +#define _HRESULT_TYPEDEF_(x) ((HRESULT)x) +#endif + +#define NOERROR _HRESULT_TYPEDEF_(0) +#define S_OK _HRESULT_TYPEDEF_(0) +#define SEC_E_OK _HRESULT_TYPEDEF_(0) +#define S_FALSE _HRESULT_TYPEDEF_(1) + +#define E_PENDING _HRESULT_TYPEDEF_(0x8000000A) +#define E_BOUNDS _HRESULT_TYPEDEF_(0x8000000B) + + +#define E_NOTIMPL _HRESULT_TYPEDEF_(0x80004001) +#define E_NOINTERFACE _HRESULT_TYPEDEF_(0x80004002) +#define E_POINTER _HRESULT_TYPEDEF_(0x80004003) +#define E_ABORT _HRESULT_TYPEDEF_(0x80004004) +#define E_FAIL _HRESULT_TYPEDEF_(0x80004005) + + +#define CO_E_INIT_TLS _HRESULT_TYPEDEF_(0x80004006) +#define CO_E_INIT_SHARED_ALLOCATOR _HRESULT_TYPEDEF_(0x80004007) +#define CO_E_INIT_MEMORY_ALLOCATOR _HRESULT_TYPEDEF_(0x80004008) +#define CO_E_INIT_CLASS_CACHE _HRESULT_TYPEDEF_(0x80004009) +#define CO_E_INIT_RPC_CHANNEL _HRESULT_TYPEDEF_(0x8000400A) +#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL _HRESULT_TYPEDEF_(0x8000400B) +#define CO_E_INIT_TLS_CHANNEL_CONTROL _HRESULT_TYPEDEF_(0x8000400C) +#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR _HRESULT_TYPEDEF_(0x8000400D) +#define CO_E_INIT_SCM_MUTEX_EXISTS _HRESULT_TYPEDEF_(0x8000400E) +#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS _HRESULT_TYPEDEF_(0x8000400F) +#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE _HRESULT_TYPEDEF_(0x80004010) +#define CO_E_INIT_SCM_EXEC_FAILURE _HRESULT_TYPEDEF_(0x80004011) +#define CO_E_INIT_ONLY_SINGLE_THREADED _HRESULT_TYPEDEF_(0x80004012) +#define CO_E_CANT_REMOTE _HRESULT_TYPEDEF_(0x80004013) +#define CO_E_BAD_SERVER_NAME _HRESULT_TYPEDEF_(0x80004014) +#define CO_E_WRONG_SERVER_IDENTITY _HRESULT_TYPEDEF_(0x80004015) +#define CO_E_OLE1DDE_DISABLED _HRESULT_TYPEDEF_(0x80004016) +#define CO_E_RUNAS_SYNTAX _HRESULT_TYPEDEF_(0x80004017) +#define CO_E_CREATEPROCESS_FAILURE _HRESULT_TYPEDEF_(0x80004018) +#define CO_E_RUNAS_CREATEPROCESS_FAILURE _HRESULT_TYPEDEF_(0x80004019) +#define CO_E_RUNAS_LOGON_FAILURE _HRESULT_TYPEDEF_(0x8000401A) +#define CO_E_LAUNCH_PERMISSION_DENIED _HRESULT_TYPEDEF_(0x8000401B) +#define CO_E_START_SERVICE_FAILURE _HRESULT_TYPEDEF_(0x8000401C) +#define CO_E_REMOTE_COMMUNICATION_FAILURE _HRESULT_TYPEDEF_(0x8000401D) +#define CO_E_SERVER_START_TIMEOUT _HRESULT_TYPEDEF_(0x8000401E) +#define CO_E_CLSREG_INCONSISTENT _HRESULT_TYPEDEF_(0x8000401F) +#define CO_E_IIDREG_INCONSISTENT _HRESULT_TYPEDEF_(0x80004020) +#define CO_E_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80004021) +#define CO_E_RELOAD_DLL _HRESULT_TYPEDEF_(0x80004022) +#define CO_E_MSI_ERROR _HRESULT_TYPEDEF_(0x80004023) +#define CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT _HRESULT_TYPEDEF_(0x80004024) +#define CO_E_SERVER_PAUSED _HRESULT_TYPEDEF_(0x80004025) +#define CO_E_SERVER_NOT_PAUSED _HRESULT_TYPEDEF_(0x80004026) +#define CO_E_CLASS_DISABLED _HRESULT_TYPEDEF_(0x80004027) +#define CO_E_CLRNOTAVAILABLE _HRESULT_TYPEDEF_(0x80004028) +#define CO_E_ASYNC_WORK_REJECTED _HRESULT_TYPEDEF_(0x80004029) +#define CO_E_SERVER_INIT_TIMEOUT _HRESULT_TYPEDEF_(0x8000402A) +#define CO_E_NO_SECCTX_IN_ACTIVATE _HRESULT_TYPEDEF_(0x8000402B) +#define CO_E_TRACKER_CONFIG _HRESULT_TYPEDEF_(0x80004030) +#define CO_E_THREADPOOL_CONFIG _HRESULT_TYPEDEF_(0x80004031) +#define CO_E_SXS_CONFIG _HRESULT_TYPEDEF_(0x80004032) +#define CO_E_MALFORMED_SPN _HRESULT_TYPEDEF_(0x80004033) + +#define E_UNEXPECTED _HRESULT_TYPEDEF_(0x8000FFFF) + +#define RPC_E_CALL_REJECTED _HRESULT_TYPEDEF_(0x80010001) +#define RPC_E_CALL_CANCELED _HRESULT_TYPEDEF_(0x80010002) +#define RPC_E_CANTPOST_INSENDCALL _HRESULT_TYPEDEF_(0x80010003) +#define RPC_E_CANTCALLOUT_INASYNCCALL _HRESULT_TYPEDEF_(0x80010004) +#define RPC_E_CANTCALLOUT_INEXTERNALCALL _HRESULT_TYPEDEF_(0x80010005) +#define RPC_E_CONNECTION_TERMINATED _HRESULT_TYPEDEF_(0x80010006) +#define RPC_E_SERVER_DIED _HRESULT_TYPEDEF_(0x80010007) +#define RPC_E_CLIENT_DIED _HRESULT_TYPEDEF_(0x80010008) +#define RPC_E_INVALID_DATAPACKET _HRESULT_TYPEDEF_(0x80010009) +#define RPC_E_CANTTRANSMIT_CALL _HRESULT_TYPEDEF_(0x8001000A) +#define RPC_E_CLIENT_CANTMARSHAL_DATA _HRESULT_TYPEDEF_(0x8001000B) +#define RPC_E_CLIENT_CANTUNMARSHAL_DATA _HRESULT_TYPEDEF_(0x8001000C) +#define RPC_E_SERVER_CANTMARSHAL_DATA _HRESULT_TYPEDEF_(0x8001000D) +#define RPC_E_SERVER_CANTUNMARSHAL_DATA _HRESULT_TYPEDEF_(0x8001000E) +#define RPC_E_INVALID_DATA _HRESULT_TYPEDEF_(0x8001000F) +#define RPC_E_INVALID_PARAMETER _HRESULT_TYPEDEF_(0x80010010) +#define RPC_E_CANTCALLOUT_AGAIN _HRESULT_TYPEDEF_(0x80010011) +#define RPC_E_SERVER_DIED_DNE _HRESULT_TYPEDEF_(0x80010012) +#define RPC_E_SYS_CALL_FAILED _HRESULT_TYPEDEF_(0x80010100) +#define RPC_E_OUT_OF_RESOURCES _HRESULT_TYPEDEF_(0x80010101) +#define RPC_E_ATTEMPTED_MULTITHREAD _HRESULT_TYPEDEF_(0x80010102) +#define RPC_E_NOT_REGISTERED _HRESULT_TYPEDEF_(0x80010103) +#define RPC_E_FAULT _HRESULT_TYPEDEF_(0x80010104) +#define RPC_E_SERVERFAULT _HRESULT_TYPEDEF_(0x80010105) +#define RPC_E_CHANGED_MODE _HRESULT_TYPEDEF_(0x80010106) +#define RPC_E_INVALIDMETHOD _HRESULT_TYPEDEF_(0x80010107) +#define RPC_E_DISCONNECTED _HRESULT_TYPEDEF_(0x80010108) +#define RPC_E_RETRY _HRESULT_TYPEDEF_(0x80010109) +#define RPC_E_SERVERCALL_RETRYLATER _HRESULT_TYPEDEF_(0x8001010A) +#define RPC_E_SERVERCALL_REJECTED _HRESULT_TYPEDEF_(0x8001010B) +#define RPC_E_INVALID_CALLDATA _HRESULT_TYPEDEF_(0x8001010C) +#define RPC_E_CANTCALLOUT_ININPUTSYNCCALL _HRESULT_TYPEDEF_(0x8001010D) +#define RPC_E_WRONG_THREAD _HRESULT_TYPEDEF_(0x8001010E) +#define RPC_E_THREAD_NOT_INIT _HRESULT_TYPEDEF_(0x8001010F) +#define RPC_E_VERSION_MISMATCH _HRESULT_TYPEDEF_(0x80010110) +#define RPC_E_INVALID_HEADER _HRESULT_TYPEDEF_(0x80010111) +#define RPC_E_INVALID_EXTENSION _HRESULT_TYPEDEF_(0x80010112) +#define RPC_E_INVALID_IPID _HRESULT_TYPEDEF_(0x80010113) +#define RPC_E_INVALID_OBJECT _HRESULT_TYPEDEF_(0x80010114) +#define RPC_S_CALLPENDING _HRESULT_TYPEDEF_(0x80010115) +#define RPC_S_WAITONTIMER _HRESULT_TYPEDEF_(0x80010116) +#define RPC_E_CALL_COMPLETE _HRESULT_TYPEDEF_(0x80010117) +#define RPC_E_UNSECURE_CALL _HRESULT_TYPEDEF_(0x80010118) +#define RPC_E_TOO_LATE _HRESULT_TYPEDEF_(0x80010119) +#define RPC_E_NO_GOOD_SECURITY_PACKAGES _HRESULT_TYPEDEF_(0x8001011A) +#define RPC_E_ACCESS_DENIED _HRESULT_TYPEDEF_(0x8001011B) +#define RPC_E_REMOTE_DISABLED _HRESULT_TYPEDEF_(0x8001011C) +#define RPC_E_INVALID_OBJREF _HRESULT_TYPEDEF_(0x8001011D) +#define RPC_E_NO_CONTEXT _HRESULT_TYPEDEF_(0x8001011E) +#define RPC_E_TIMEOUT _HRESULT_TYPEDEF_(0x8001011F) +#define RPC_E_NO_SYNC _HRESULT_TYPEDEF_(0x80010120) +#define RPC_E_UNEXPECTED _HRESULT_TYPEDEF_(0x8001FFFF) + +#define DISP_E_UNKNOWNINTERFACE _HRESULT_TYPEDEF_(0x80020001) +#define DISP_E_MEMBERNOTFOUND _HRESULT_TYPEDEF_(0x80020003) +#define DISP_E_PARAMNOTFOUND _HRESULT_TYPEDEF_(0x80020004) +#define DISP_E_TYPEMISMATCH _HRESULT_TYPEDEF_(0x80020005) +#define DISP_E_UNKNOWNNAME _HRESULT_TYPEDEF_(0x80020006) +#define DISP_E_NONAMEDARGS _HRESULT_TYPEDEF_(0x80020007) +#define DISP_E_BADVARTYPE _HRESULT_TYPEDEF_(0x80020008) +#define DISP_E_EXCEPTION _HRESULT_TYPEDEF_(0x80020009) +#define DISP_E_OVERFLOW _HRESULT_TYPEDEF_(0x8002000A) +#define DISP_E_BADINDEX _HRESULT_TYPEDEF_(0x8002000B) +#define DISP_E_UNKNOWNLCID _HRESULT_TYPEDEF_(0x8002000C) +#define DISP_E_ARRAYISLOCKED _HRESULT_TYPEDEF_(0x8002000D) +#define DISP_E_BADPARAMCOUNT _HRESULT_TYPEDEF_(0x8002000E) +#define DISP_E_PARAMNOTOPTIONAL _HRESULT_TYPEDEF_(0x8002000F) +#define DISP_E_BADCALLEE _HRESULT_TYPEDEF_(0x80020010) +#define DISP_E_NOTACOLLECTION _HRESULT_TYPEDEF_(0x80020011) +#define DISP_E_DIVBYZERO _HRESULT_TYPEDEF_(0x80020012) + +#define TYPE_E_BUFFERTOOSMALL _HRESULT_TYPEDEF_(0x80028016) +#define TYPE_E_FIELDNOTFOUND _HRESULT_TYPEDEF_(0x80028017) +#define TYPE_E_INVDATAREAD _HRESULT_TYPEDEF_(0x80028018) +#define TYPE_E_UNSUPFORMAT _HRESULT_TYPEDEF_(0x80028019) +#define TYPE_E_REGISTRYACCESS _HRESULT_TYPEDEF_(0x8002801C) +#define TYPE_E_LIBNOTREGISTERED _HRESULT_TYPEDEF_(0x8002801D) +#define TYPE_E_UNDEFINEDTYPE _HRESULT_TYPEDEF_(0x80028027) +#define TYPE_E_QUALIFIEDNAMEDISALLOWED _HRESULT_TYPEDEF_(0x80028028) +#define TYPE_E_INVALIDSTATE _HRESULT_TYPEDEF_(0x80028029) +#define TYPE_E_WRONGTYPEKIND _HRESULT_TYPEDEF_(0x8002802A) +#define TYPE_E_ELEMENTNOTFOUND _HRESULT_TYPEDEF_(0x8002802B) +#define TYPE_E_AMBIGUOUSNAME _HRESULT_TYPEDEF_(0x8002802C) +#define TYPE_E_NAMECONFLICT _HRESULT_TYPEDEF_(0x8002802D) +#define TYPE_E_UNKNOWNLCID _HRESULT_TYPEDEF_(0x8002802E) +#define TYPE_E_DLLFUNCTIONNOTFOUND _HRESULT_TYPEDEF_(0x8002802F) +#define TYPE_E_BADMODULEKIND _HRESULT_TYPEDEF_(0x800288BD) +#define TYPE_E_SIZETOOBIG _HRESULT_TYPEDEF_(0x800288C5) +#define TYPE_E_DUPLICATEID _HRESULT_TYPEDEF_(0x800288C6) +#define TYPE_E_INVALIDID _HRESULT_TYPEDEF_(0x800288CF) +#define TYPE_E_TYPEMISMATCH _HRESULT_TYPEDEF_(0x80028CA0) +#define TYPE_E_OUTOFBOUNDS _HRESULT_TYPEDEF_(0x80028CA1) +#define TYPE_E_IOERROR _HRESULT_TYPEDEF_(0x80028CA2) +#define TYPE_E_CANTCREATETMPFILE _HRESULT_TYPEDEF_(0x80028CA3) +#define TYPE_E_CANTLOADLIBRARY _HRESULT_TYPEDEF_(0x80029C4A) +#define TYPE_E_INCONSISTENTPROPFUNCS _HRESULT_TYPEDEF_(0x80029C83) +#define TYPE_E_CIRCULARTYPE _HRESULT_TYPEDEF_(0x80029C84) + +#define STG_S_CONVERTED _HRESULT_TYPEDEF_(0x00030200) +#define STG_S_BLOCK _HRESULT_TYPEDEF_(0x00030201) +#define STG_S_RETRYNOW _HRESULT_TYPEDEF_(0x00030202) +#define STG_S_MONITORING _HRESULT_TYPEDEF_(0x00030203) +#define STG_S_MULTIPLEOPENS _HRESULT_TYPEDEF_(0x00030204) +#define STG_S_CONSOLIDATIONFAILED _HRESULT_TYPEDEF_(0x00030205) +#define STG_S_CANNOTCONSOLIDATE _HRESULT_TYPEDEF_(0x00030206) + +#define STG_E_INVALIDFUNCTION _HRESULT_TYPEDEF_(0x80030001) +#define STG_E_FILENOTFOUND _HRESULT_TYPEDEF_(0x80030002) +#define STG_E_PATHNOTFOUND _HRESULT_TYPEDEF_(0x80030003) +#define STG_E_TOOMANYOPENFILES _HRESULT_TYPEDEF_(0x80030004) +#define STG_E_ACCESSDENIED _HRESULT_TYPEDEF_(0x80030005) +#define STG_E_INVALIDHANDLE _HRESULT_TYPEDEF_(0x80030006) +#define STG_E_INSUFFICIENTMEMORY _HRESULT_TYPEDEF_(0x80030008) +#define STG_E_INVALIDPOINTER _HRESULT_TYPEDEF_(0x80030009) +#define STG_E_NOMOREFILES _HRESULT_TYPEDEF_(0x80030012) +#define STG_E_DISKISWRITEPROTECTED _HRESULT_TYPEDEF_(0x80030013) +#define STG_E_SEEKERROR _HRESULT_TYPEDEF_(0x80030019) +#define STG_E_WRITEFAULT _HRESULT_TYPEDEF_(0x8003001D) +#define STG_E_READFAULT _HRESULT_TYPEDEF_(0x8003001E) +#define STG_E_SHAREVIOLATION _HRESULT_TYPEDEF_(0x80030020) +#define STG_E_LOCKVIOLATION _HRESULT_TYPEDEF_(0x80030021) +#define STG_E_FILEALREADYEXISTS _HRESULT_TYPEDEF_(0x80030050) +#define STG_E_INVALIDPARAMETER _HRESULT_TYPEDEF_(0x80030057) +#define STG_E_MEDIUMFULL _HRESULT_TYPEDEF_(0x80030070) +#define STG_E_ABNORMALAPIEXIT _HRESULT_TYPEDEF_(0x800300FA) +#define STG_E_INVALIDHEADER _HRESULT_TYPEDEF_(0x800300FB) +#define STG_E_INVALIDNAME _HRESULT_TYPEDEF_(0x800300FC) +#define STG_E_UNKNOWN _HRESULT_TYPEDEF_(0x800300FD) +#define STG_E_UNIMPLEMENTEDFUNCTION _HRESULT_TYPEDEF_(0x800300FE) +#define STG_E_INVALIDFLAG _HRESULT_TYPEDEF_(0x800300FF) +#define STG_E_INUSE _HRESULT_TYPEDEF_(0x80030100) +#define STG_E_NOTCURRENT _HRESULT_TYPEDEF_(0x80030101) +#define STG_E_REVERTED _HRESULT_TYPEDEF_(0x80030102) +#define STG_E_CANTSAVE _HRESULT_TYPEDEF_(0x80030103) +#define STG_E_OLDFORMAT _HRESULT_TYPEDEF_(0x80030104) +#define STG_E_OLDDLL _HRESULT_TYPEDEF_(0x80030105) +#define STG_E_SHAREREQUIRED _HRESULT_TYPEDEF_(0x80030106) +#define STG_E_NOTFILEBASEDSTORAGE _HRESULT_TYPEDEF_(0x80030107) +#define STG_E_EXTANTMARSHALLINGS _HRESULT_TYPEDEF_(0x80030108) +#define STG_E_DOCFILECORRUPT _HRESULT_TYPEDEF_(0x80030109) + +#define STG_E_STATUS_COPY_PROTECTION_FAILURE _HRESULT_TYPEDEF_(0x80030305) +#define STG_E_CSS_AUTHENTICATION_FAILURE _HRESULT_TYPEDEF_(0x80030306) +#define STG_E_CSS_KEY_NOT_PRESENT _HRESULT_TYPEDEF_(0x80030307) +#define STG_E_CSS_KEY_NOT_ESTABLISHED _HRESULT_TYPEDEF_(0x80030308) +#define STG_E_CSS_SCRAMBLED_SECTOR _HRESULT_TYPEDEF_(0x80030309) +#define STG_E_CSS_REGION_MISMATCH _HRESULT_TYPEDEF_(0x8003030A) +#define STG_E_RESETS_EXHAUSTED _HRESULT_TYPEDEF_(0x8003030B) + +#define OLE_S_FIRST _HRESULT_TYPEDEF_(0x00040000) +#define OLE_S_USEREG _HRESULT_TYPEDEF_(0x00040000) +#define OLE_S_STATIC _HRESULT_TYPEDEF_(0x00040001) +#define OLE_S_MAC_CLIPFORMAT _HRESULT_TYPEDEF_(0x00040002) +#define OLE_S_LAST _HRESULT_TYPEDEF_(0x000400FF) + +#define OLE_E_FIRST _HRESULT_TYPEDEF_(0x80040000) +#define OLE_E_OLEVERB _HRESULT_TYPEDEF_(0x80040000) +#define OLE_E_ADVF _HRESULT_TYPEDEF_(0x80040001) +#define OLE_E_ENUM_NOMORE _HRESULT_TYPEDEF_(0x80040002) +#define OLE_E_ADVISENOTSUPPORTED _HRESULT_TYPEDEF_(0x80040003) +#define OLE_E_NOCONNECTION _HRESULT_TYPEDEF_(0x80040004) +#define OLE_E_NOTRUNNING _HRESULT_TYPEDEF_(0x80040005) +#define OLE_E_NOCACHE _HRESULT_TYPEDEF_(0x80040006) +#define OLE_E_BLANK _HRESULT_TYPEDEF_(0x80040007) +#define OLE_E_CLASSDIFF _HRESULT_TYPEDEF_(0x80040008) +#define OLE_E_CANT_GETMONIKER _HRESULT_TYPEDEF_(0x80040009) +#define OLE_E_CANT_BINDTOSOURCE _HRESULT_TYPEDEF_(0x8004000A) +#define OLE_E_STATIC _HRESULT_TYPEDEF_(0x8004000B) +#define OLE_E_PROMPTSAVECANCELLED _HRESULT_TYPEDEF_(0x8004000C) +#define OLE_E_INVALIDRECT _HRESULT_TYPEDEF_(0x8004000D) +#define OLE_E_WRONGCOMPOBJ _HRESULT_TYPEDEF_(0x8004000E) +#define OLE_E_INVALIDHWND _HRESULT_TYPEDEF_(0x8004000F) +#define OLE_E_NOT_INPLACEACTIVE _HRESULT_TYPEDEF_(0x80040010) +#define OLE_E_CANTCONVERT _HRESULT_TYPEDEF_(0x80040011) +#define OLE_E_NOSTORAGE _HRESULT_TYPEDEF_(0x80040012) +#define DV_E_FORMATETC _HRESULT_TYPEDEF_(0x80040064) +#define DV_E_DVTARGETDEVICE _HRESULT_TYPEDEF_(0x80040065) +#define DV_E_STGMEDIUM _HRESULT_TYPEDEF_(0x80040066) +#define DV_E_STATDATA _HRESULT_TYPEDEF_(0x80040067) +#define DV_E_LINDEX _HRESULT_TYPEDEF_(0x80040068) +#define DV_E_TYMED _HRESULT_TYPEDEF_(0x80040069) +#define DV_E_CLIPFORMAT _HRESULT_TYPEDEF_(0x8004006A) +#define DV_E_DVASPECT _HRESULT_TYPEDEF_(0x8004006B) +#define DV_E_DVTARGETDEVICE_SIZE _HRESULT_TYPEDEF_(0x8004006C) +#define DV_E_NOIVIEWOBJECT _HRESULT_TYPEDEF_(0x8004006D) +#define OLE_E_LAST _HRESULT_TYPEDEF_(0x800400FF) + +#define DRAGDROP_S_FIRST _HRESULT_TYPEDEF_(0x00040100) +#define DRAGDROP_S_DROP _HRESULT_TYPEDEF_(0x00040100) +#define DRAGDROP_S_CANCEL _HRESULT_TYPEDEF_(0x00040101) +#define DRAGDROP_S_USEDEFAULTCURSORS _HRESULT_TYPEDEF_(0x00040102) +#define DRAGDROP_S_LAST _HRESULT_TYPEDEF_(0x0004010F) + +#define DRAGDROP_E_FIRST _HRESULT_TYPEDEF_(0x80040100) +#define DRAGDROP_E_NOTREGISTERED _HRESULT_TYPEDEF_(0x80040100) +#define DRAGDROP_E_ALREADYREGISTERED _HRESULT_TYPEDEF_(0x80040101) +#define DRAGDROP_E_INVALIDHWND _HRESULT_TYPEDEF_(0x80040102) +#define DRAGDROP_E_LAST _HRESULT_TYPEDEF_(0x8004010F) + + +#define CLASSFACTORY_S_FIRST _HRESULT_TYPEDEF_(0x00040110) +#define CLASSFACTORY_S_LAST _HRESULT_TYPEDEF_(0x0004011F) + +#define CLASSFACTORY_E_FIRST _HRESULT_TYPEDEF_(0x80040110) +#define CLASS_E_NOAGGREGATION _HRESULT_TYPEDEF_(0x80040110) +#define CLASS_E_CLASSNOTAVAILABLE _HRESULT_TYPEDEF_(0x80040111) +#define CLASS_E_NOTLICENSED _HRESULT_TYPEDEF_(0x80040112) +#define CLASSFACTORY_E_LAST _HRESULT_TYPEDEF_(0x8004011F) + +#define MARSHAL_S_FIRST _HRESULT_TYPEDEF_(0x00040120) +#define MARSHAL_S_LAST _HRESULT_TYPEDEF_(0x0004012F) + +#define MARSHAL_E_FIRST _HRESULT_TYPEDEF_(0x80040120) +#define MARSHAL_E_LAST _HRESULT_TYPEDEF_(0x8004012F) + +#define DATA_S_FIRST _HRESULT_TYPEDEF_(0x00040130) +#define DATA_S_SAMEFORMATETC _HRESULT_TYPEDEF_(0x00040130) +#define DATA_S_LAST _HRESULT_TYPEDEF_(0x0004013F) + +#define DATA_E_FIRST _HRESULT_TYPEDEF_(0x80040130) +#define DATA_E_LAST _HRESULT_TYPEDEF_(0x8004013F) + +#define VIEW_S_FIRST _HRESULT_TYPEDEF_(0x00040140) +#define VIEW_S_ALREADY_FROZEN _HRESULT_TYPEDEF_(0x00040140) +#define VIEW_S_LAST _HRESULT_TYPEDEF_(0x0004014F) + +#define VIEW_E_FIRST _HRESULT_TYPEDEF_(0x80040140) +#define VIEW_E_DRAW _HRESULT_TYPEDEF_(0x80040140) +#define VIEW_E_LAST _HRESULT_TYPEDEF_(0x8004014F) + +#define REGDB_S_FIRST _HRESULT_TYPEDEF_(0x00040150) +#define REGDB_S_LAST _HRESULT_TYPEDEF_(0x0004015F) + +#define REGDB_E_FIRST _HRESULT_TYPEDEF_(0x80040150) +#define REGDB_E_READREGDB _HRESULT_TYPEDEF_(0x80040150) +#define REGDB_E_WRITEREGDB _HRESULT_TYPEDEF_(0x80040151) +#define REGDB_E_KEYMISSING _HRESULT_TYPEDEF_(0x80040152) +#define REGDB_E_INVALIDVALUE _HRESULT_TYPEDEF_(0x80040153) +#define REGDB_E_CLASSNOTREG _HRESULT_TYPEDEF_(0x80040154) +#define REGDB_E_IIDNOTREG _HRESULT_TYPEDEF_(0x80040155) +#define REGDB_E_LAST _HRESULT_TYPEDEF_(0x8004015F) + +#define CAT_E_FIRST _HRESULT_TYPEDEF_(0x80040160) +#define CAT_E_CATIDNOEXIST _HRESULT_TYPEDEF_(0x80040160) +#define CAT_E_NODESCRIPTION _HRESULT_TYPEDEF_(0x80040161) +#define CAT_E_LAST _HRESULT_TYPEDEF_(0x80040161) + +#define CACHE_S_FIRST _HRESULT_TYPEDEF_(0x00040170) +#define CACHE_S_FORMATETC_NOTSUPPORTED _HRESULT_TYPEDEF_(0x00040170) +#define CACHE_S_SAMECACHE _HRESULT_TYPEDEF_(0x00040171) +#define CACHE_S_SOMECACHES_NOTUPDATED _HRESULT_TYPEDEF_(0x00040172) +#define CACHE_S_LAST _HRESULT_TYPEDEF_(0x0004017F) + +#define CACHE_E_FIRST _HRESULT_TYPEDEF_(0x80040170) +#define CACHE_E_NOCACHE_UPDATED _HRESULT_TYPEDEF_(0x80040170) +#define CACHE_E_LAST _HRESULT_TYPEDEF_(0x8004017F) + +#define OLEOBJ_S_FIRST _HRESULT_TYPEDEF_(0x00040180) +#define OLEOBJ_S_INVALIDVERB _HRESULT_TYPEDEF_(0x00040180) +#define OLEOBJ_S_CANNOT_DOVERB_NOW _HRESULT_TYPEDEF_(0x00040181) +#define OLEOBJ_S_INVALIDHWND _HRESULT_TYPEDEF_(0x00040182) +#define OLEOBJ_S_LAST _HRESULT_TYPEDEF_(0x0004018F) + +#define OLEOBJ_E_FIRST _HRESULT_TYPEDEF_(0x80040180) +#define OLEOBJ_E_NOVERBS _HRESULT_TYPEDEF_(0x80040180) +#define OLEOBJ_E_INVALIDVERB _HRESULT_TYPEDEF_(0x80040181) +#define OLEOBJ_E_LAST _HRESULT_TYPEDEF_(0x8004018F) + +#define CLIENTSITE_S_FIRST _HRESULT_TYPEDEF_(0x00040190) +#define CLIENTSITE_S_LAST _HRESULT_TYPEDEF_(0x0004019F) + +#define CLIENTSITE_E_FIRST _HRESULT_TYPEDEF_(0x80040190) +#define CLIENTSITE_E_LAST _HRESULT_TYPEDEF_(0x8004019F) + +#define INPLACE_S_FIRST _HRESULT_TYPEDEF_(0x000401A0) +#define INPLACE_S_TRUNCATED _HRESULT_TYPEDEF_(0x000401A0) +#define INPLACE_S_LAST _HRESULT_TYPEDEF_(0x000401AF) + +#define INPLACE_E_FIRST _HRESULT_TYPEDEF_(0x800401A0) +#define INPLACE_E_NOTUNDOABLE _HRESULT_TYPEDEF_(0x800401A0) +#define INPLACE_E_NOTOOLSPACE _HRESULT_TYPEDEF_(0x800401A1) +#define INPLACE_E_LAST _HRESULT_TYPEDEF_(0x800401AF) + +#define ENUM_S_FIRST _HRESULT_TYPEDEF_(0x000401B0) +#define ENUM_S_LAST _HRESULT_TYPEDEF_(0x000401BF) + +#define ENUM_E_FIRST _HRESULT_TYPEDEF_(0x800401B0) +#define ENUM_E_LAST _HRESULT_TYPEDEF_(0x800401BF) + +#define CONVERT10_S_FIRST _HRESULT_TYPEDEF_(0x000401C0) +#define CONVERT10_S_NO_PRESENTATION _HRESULT_TYPEDEF_(0x000401C0) +#define CONVERT10_S_LAST _HRESULT_TYPEDEF_(0x000401CF) + +#define CONVERT10_E_FIRST _HRESULT_TYPEDEF_(0x800401C0) +#define CONVERT10_E_OLESTREAM_GET _HRESULT_TYPEDEF_(0x800401C0) +#define CONVERT10_E_OLESTREAM_PUT _HRESULT_TYPEDEF_(0x800401C1) +#define CONVERT10_E_OLESTREAM_FMT _HRESULT_TYPEDEF_(0x800401C2) +#define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB _HRESULT_TYPEDEF_(0x800401C3) +#define CONVERT10_E_STG_FMT _HRESULT_TYPEDEF_(0x800401C4) +#define CONVERT10_E_STG_NO_STD_STREAM _HRESULT_TYPEDEF_(0x800401C5) +#define CONVERT10_E_STG_DIB_TO_BITMAP _HRESULT_TYPEDEF_(0x800401C6) +#define CONVERT10_E_LAST _HRESULT_TYPEDEF_(0x800401CF) + +#define CLIPBRD_S_FIRST _HRESULT_TYPEDEF_(0x000401D0) +#define CLIPBRD_S_LAST _HRESULT_TYPEDEF_(0x000401DF) + +#define CLIPBRD_E_FIRST _HRESULT_TYPEDEF_(0x800401D0) +#define CLIPBRD_E_LAST _HRESULT_TYPEDEF_(0x800401DF) +#define CLIPBRD_E_CANT_OPEN _HRESULT_TYPEDEF_(0x800401D0) +#define CLIPBRD_E_CANT_EMPTY _HRESULT_TYPEDEF_(0x800401D1) +#define CLIPBRD_E_CANT_SET _HRESULT_TYPEDEF_(0x800401D2) +#define CLIPBRD_E_BAD_DATA _HRESULT_TYPEDEF_(0x800401D3) +#define CLIPBRD_E_CANT_CLOSE _HRESULT_TYPEDEF_(0x800401D4) + +#define MK_S_FIRST _HRESULT_TYPEDEF_(0x000401E0) +#define MK_S_REDUCED_TO_SELF _HRESULT_TYPEDEF_(0x000401E2) +#define MK_S_ME _HRESULT_TYPEDEF_(0x000401E4) +#define MK_S_HIM _HRESULT_TYPEDEF_(0x000401E5) +#define MK_S_US _HRESULT_TYPEDEF_(0x000401E6) +#define MK_S_MONIKERALREADYREGISTERED _HRESULT_TYPEDEF_(0x000401E7) +#define MK_S_LAST _HRESULT_TYPEDEF_(0x000401EF) + +#define MK_E_FIRST _HRESULT_TYPEDEF_(0x800401E0) +#define MK_E_CONNECTMANUALLY _HRESULT_TYPEDEF_(0x800401E0) +#define MK_E_EXCEEDEDDEADLINE _HRESULT_TYPEDEF_(0x800401E1) +#define MK_E_NEEDGENERIC _HRESULT_TYPEDEF_(0x800401E2) +#define MK_E_UNAVAILABLE _HRESULT_TYPEDEF_(0x800401E3) +#define MK_E_SYNTAX _HRESULT_TYPEDEF_(0x800401E4) +#define MK_E_NOOBJECT _HRESULT_TYPEDEF_(0x800401E5) +#define MK_E_INVALIDEXTENSION _HRESULT_TYPEDEF_(0x800401E6) +#define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED _HRESULT_TYPEDEF_(0x800401E7) +#define MK_E_NOTBINDABLE _HRESULT_TYPEDEF_(0x800401E8) +#define MK_E_NOTBOUND _HRESULT_TYPEDEF_(0x800401E9) +#define MK_E_CANTOPENFILE _HRESULT_TYPEDEF_(0x800401EA) +#define MK_E_MUSTBOTHERUSER _HRESULT_TYPEDEF_(0x800401EB) +#define MK_E_NOINVERSE _HRESULT_TYPEDEF_(0x800401EC) +#define MK_E_NOSTORAGE _HRESULT_TYPEDEF_(0x800401ED) +#define MK_E_NOPREFIX _HRESULT_TYPEDEF_(0x800401EE) +#define MK_E_ENUMERATION_FAILED _HRESULT_TYPEDEF_(0x800401EF) +#define MK_E_LAST _HRESULT_TYPEDEF_(0x800401EF) + +#define CO_S_FIRST _HRESULT_TYPEDEF_(0x000401F0) +#define CO_S_LAST _HRESULT_TYPEDEF_(0x000401FF) + +#define CO_E_FIRST _HRESULT_TYPEDEF_(0x800401F0) +#define CO_E_NOTINITIALIZED _HRESULT_TYPEDEF_(0x800401F0) +#define CO_E_ALREADYINITIALIZED _HRESULT_TYPEDEF_(0x800401F1) +#define CO_E_CANTDETERMINECLASS _HRESULT_TYPEDEF_(0x800401F2) +#define CO_E_CLASSSTRING _HRESULT_TYPEDEF_(0x800401F3) +#define CO_E_IIDSTRING _HRESULT_TYPEDEF_(0x800401F4) +#define CO_E_APPNOTFOUND _HRESULT_TYPEDEF_(0x800401F5) +#define CO_E_APPSINGLEUSE _HRESULT_TYPEDEF_(0x800401F6) +#define CO_E_ERRORINAPP _HRESULT_TYPEDEF_(0x800401F7) +#define CO_E_DLLNOTFOUND _HRESULT_TYPEDEF_(0x800401F8) +#define CO_E_ERRORINDLL _HRESULT_TYPEDEF_(0x800401F9) +#define CO_E_WRONGOSFORAPP _HRESULT_TYPEDEF_(0x800401FA) +#define CO_E_OBJNOTREG _HRESULT_TYPEDEF_(0x800401FB) +#define CO_E_OBJISREG _HRESULT_TYPEDEF_(0x800401FC) +#define CO_E_OBJNOTCONNECTED _HRESULT_TYPEDEF_(0x800401FD) +#define CO_E_APPDIDNTREG _HRESULT_TYPEDEF_(0x800401FE) +#define CO_E_RELEASED _HRESULT_TYPEDEF_(0x800401FF) +#define CO_E_LAST _HRESULT_TYPEDEF_(0x800401FF) +#define CO_E_FAILEDTOIMPERSONATE _HRESULT_TYPEDEF_(0x80040200) +#define CO_E_FAILEDTOGETSECCTX _HRESULT_TYPEDEF_(0x80040201) +#define CO_E_FAILEDTOOPENTHREADTOKEN _HRESULT_TYPEDEF_(0x80040202) +#define CO_E_FAILEDTOGETTOKENINFO _HRESULT_TYPEDEF_(0x80040203) +#define CO_E_TRUSTEEDOESNTMATCHCLIENT _HRESULT_TYPEDEF_(0x80040204) +#define CO_E_FAILEDTOQUERYCLIENTBLANKET _HRESULT_TYPEDEF_(0x80040205) +#define CO_E_FAILEDTOSETDACL _HRESULT_TYPEDEF_(0x80040206) +#define CO_E_ACCESSCHECKFAILED _HRESULT_TYPEDEF_(0x80040207) +#define CO_E_NETACCESSAPIFAILED _HRESULT_TYPEDEF_(0x80040208) +#define CO_E_WRONGTRUSTEENAMESYNTAX _HRESULT_TYPEDEF_(0x80040209) +#define CO_E_INVALIDSID _HRESULT_TYPEDEF_(0x8004020A) +#define CO_E_CONVERSIONFAILED _HRESULT_TYPEDEF_(0x8004020B) +#define CO_E_NOMATCHINGSIDFOUND _HRESULT_TYPEDEF_(0x8004020C) +#define CO_E_LOOKUPACCSIDFAILED _HRESULT_TYPEDEF_(0x8004020D) +#define CO_E_NOMATCHINGNAMEFOUND _HRESULT_TYPEDEF_(0x8004020E) +#define CO_E_LOOKUPACCNAMEFAILED _HRESULT_TYPEDEF_(0x8004020F) +#define CO_E_SETSERLHNDLFAILED _HRESULT_TYPEDEF_(0x80040210) +#define CO_E_FAILEDTOGETWINDIR _HRESULT_TYPEDEF_(0x80040211) +#define CO_E_PATHTOOLONG _HRESULT_TYPEDEF_(0x80040212) +#define CO_E_FAILEDTOGENUUID _HRESULT_TYPEDEF_(0x80040213) +#define CO_E_FAILEDTOCREATEFILE _HRESULT_TYPEDEF_(0x80040214) +#define CO_E_FAILEDTOCLOSEHANDLE _HRESULT_TYPEDEF_(0x80040215) +#define CO_E_EXCEEDSYSACLLIMIT _HRESULT_TYPEDEF_(0x80040216) +#define CO_E_ACESINWRONGORDER _HRESULT_TYPEDEF_(0x80040217) +#define CO_E_INCOMPATIBLESTREAMVERSION _HRESULT_TYPEDEF_(0x80040218) +#define CO_E_FAILEDTOOPENPROCESSTOKEN _HRESULT_TYPEDEF_(0x80040219) +#define CO_E_DECODEFAILED _HRESULT_TYPEDEF_(0x8004021A) +#define CO_E_ACNOTINITIALIZED _HRESULT_TYPEDEF_(0x8004021B) + +/* Task Scheduler Service Error Codes */ +#define SCHED_S_TASK_READY _HRESULT_TYPEDEF_(0x00041300) +#define SCHED_S_TASK_RUNNING _HRESULT_TYPEDEF_(0x00041301) +#define SCHED_S_TASK_DISABLED _HRESULT_TYPEDEF_(0x00041302) +#define SCHED_S_TASK_HAS_NOT_RUN _HRESULT_TYPEDEF_(0x00041303) +#define SCHED_S_TASK_NO_MORE_RUNS _HRESULT_TYPEDEF_(0x00041304) +#define SCHED_S_TASK_NOT_SCHEDULED _HRESULT_TYPEDEF_(0x00041305) +#define SCHED_S_TASK_TERMINATED _HRESULT_TYPEDEF_(0x00041306) +#define SCHED_S_TASK_NO_VALID_TRIGGERS _HRESULT_TYPEDEF_(0x00041307) +#define SCHED_S_EVENT_TRIGGER _HRESULT_TYPEDEF_(0x00041308) +#define SCHED_E_TRIGGER_NOT_FOUND _HRESULT_TYPEDEF_(0x80041309) +#define SCHED_E_TASK_NOT_READY _HRESULT_TYPEDEF_(0x8004130A) +#define SCHED_E_TASK_NOT_RUNNING _HRESULT_TYPEDEF_(0x8004130B) +#define SCHED_E_SERVICE_NOT_INSTALLED _HRESULT_TYPEDEF_(0x8004130C) +#define SCHED_E_CANNOT_OPEN_TASK _HRESULT_TYPEDEF_(0x8004130D) +#define SCHED_E_INVALID_TASK _HRESULT_TYPEDEF_(0x8004130E) +#define SCHED_E_ACCOUNT_INFORMATION_NOT_SET _HRESULT_TYPEDEF_(0x8004130F) +#define SCHED_E_ACCOUNT_NAME_NOT_FOUND _HRESULT_TYPEDEF_(0x80041310) +#define SCHED_E_ACCOUNT_DBASE_CORRUPT _HRESULT_TYPEDEF_(0x80041311) +#define SCHED_E_NO_SECURITY_SERVICES _HRESULT_TYPEDEF_(0x80041312) +#define SCHED_E_UNKNOWN_OBJECT_VERSION _HRESULT_TYPEDEF_(0x80041313) +#define SCHED_E_UNSUPPORTED_ACCOUNT_OPTION _HRESULT_TYPEDEF_(0x80041314) +#define SCHED_E_SERVICE_NOT_RUNNING _HRESULT_TYPEDEF_(0x80041315) +#define SCHED_E_UNEXPECTEDNODE _HRESULT_TYPEDEF_(0x80041316) +#define SCHED_E_NAMESPACE _HRESULT_TYPEDEF_(0x80041317) +#define SCHED_E_INVALIDVALUE _HRESULT_TYPEDEF_(0x80041318) +#define SCHED_E_MISSINGNODE _HRESULT_TYPEDEF_(0x80041319) +#define SCHED_E_MALFORMEDXML _HRESULT_TYPEDEF_(0x8004131A) +#define SCHED_S_SOME_TRIGGERS_FAILED _HRESULT_TYPEDEF_(0x0004131B) +#define SCHED_S_BATCH_LOGON_PROBLEM _HRESULT_TYPEDEF_(0x0004131C) +#define SCHED_E_TOO_MANY_NODES _HRESULT_TYPEDEF_(0x8004131D) +#define SCHED_E_PAST_END_BOUNDARY _HRESULT_TYPEDEF_(0x8004131E) +#define SCHED_E_ALREADY_RUNNING _HRESULT_TYPEDEF_(0x8004131F) +#define SCHED_E_USER_NOT_LOGGED_ON _HRESULT_TYPEDEF_(0x80041320) +#define SCHED_E_INVALID_TASK_HASH _HRESULT_TYPEDEF_(0x80041321) +#define SCHED_E_SERVICE_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x80041322) +#define SCHED_E_SERVICE_TOO_BUSY _HRESULT_TYPEDEF_(0x80041323) +#define SCHED_E_TASK_ATTEMPTED _HRESULT_TYPEDEF_(0x80041324) +#define SCHED_S_TASK_QUEUED _HRESULT_TYPEDEF_(0x00041325) +#define SCHED_E_TASK_DISABLED _HRESULT_TYPEDEF_(0x80041326) +#define SCHED_E_TASK_NOT_V1_COMPAT _HRESULT_TYPEDEF_(0x80041327) +#define SCHED_E_START_ON_DEMAND _HRESULT_TYPEDEF_(0x80041328) + +#define E_ACCESSDENIED _HRESULT_TYPEDEF_(0x80070005) +#define E_HANDLE _HRESULT_TYPEDEF_(0x80070006) +#define E_OUTOFMEMORY _HRESULT_TYPEDEF_(0x8007000E) +#define E_INVALIDARG _HRESULT_TYPEDEF_(0x80070057) + +#define CO_S_NOTALLINTERFACES _HRESULT_TYPEDEF_(0x00080012) + +#define CO_E_CLASS_CREATE_FAILED _HRESULT_TYPEDEF_(0x80080001) +#define CO_E_SCM_ERROR _HRESULT_TYPEDEF_(0x80080002) +#define CO_E_SCM_RPC_FAILURE _HRESULT_TYPEDEF_(0x80080003) +#define CO_E_BAD_PATH _HRESULT_TYPEDEF_(0x80080004) +#define CO_E_SERVER_EXEC_FAILURE _HRESULT_TYPEDEF_(0x80080005) +#define CO_E_OBJSRV_RPC_FAILURE _HRESULT_TYPEDEF_(0x80080006) +#define MK_E_NO_NORMALIZED _HRESULT_TYPEDEF_(0x80080007) +#define CO_E_SERVER_STOPPING _HRESULT_TYPEDEF_(0x80080008) +#define MEM_E_INVALID_ROOT _HRESULT_TYPEDEF_(0x80080009) +#define MEM_E_INVALID_LINK _HRESULT_TYPEDEF_(0x80080010) +#define MEM_E_INVALID_SIZE _HRESULT_TYPEDEF_(0x80080011) + +/*Cryptographic Error Codes */ +#define NTE_BAD_UID _HRESULT_TYPEDEF_(0x80090001) +#define NTE_BAD_HASH _HRESULT_TYPEDEF_(0x80090002) +#define NTE_BAD_KEY _HRESULT_TYPEDEF_(0x80090003) +#define NTE_BAD_LEN _HRESULT_TYPEDEF_(0x80090004) +#define NTE_BAD_DATA _HRESULT_TYPEDEF_(0x80090005) +#define NTE_BAD_SIGNATURE _HRESULT_TYPEDEF_(0x80090006) +#define NTE_BAD_VER _HRESULT_TYPEDEF_(0x80090007) +#define NTE_BAD_ALGID _HRESULT_TYPEDEF_(0x80090008) +#define NTE_BAD_FLAGS _HRESULT_TYPEDEF_(0x80090009) +#define NTE_BAD_TYPE _HRESULT_TYPEDEF_(0x8009000A) +#define NTE_BAD_KEY_STATE _HRESULT_TYPEDEF_(0x8009000B) +#define NTE_BAD_HASH_STATE _HRESULT_TYPEDEF_(0x8009000C) +#define NTE_NO_KEY _HRESULT_TYPEDEF_(0x8009000D) +#define NTE_NO_MEMORY _HRESULT_TYPEDEF_(0x8009000E) +#define NTE_EXISTS _HRESULT_TYPEDEF_(0x8009000F) +#define NTE_PERM _HRESULT_TYPEDEF_(0x80090010) +#define NTE_NOT_FOUND _HRESULT_TYPEDEF_(0x80090011) +#define NTE_DOUBLE_ENCRYPT _HRESULT_TYPEDEF_(0x80090012) +#define NTE_BAD_PROVIDER _HRESULT_TYPEDEF_(0x80090013) +#define NTE_BAD_PROV_TYPE _HRESULT_TYPEDEF_(0x80090014) +#define NTE_BAD_PUBLIC_KEY _HRESULT_TYPEDEF_(0x80090015) +#define NTE_BAD_KEYSET _HRESULT_TYPEDEF_(0x80090016) +#define NTE_PROV_TYPE_NOT_DEF _HRESULT_TYPEDEF_(0x80090017) +#define NTE_PROV_TYPE_ENTRY_BAD _HRESULT_TYPEDEF_(0x80090018) +#define NTE_KEYSET_NOT_DEF _HRESULT_TYPEDEF_(0x80090019) +#define NTE_KEYSET_ENTRY_BAD _HRESULT_TYPEDEF_(0x8009001A) +#define NTE_PROV_TYPE_NO_MATCH _HRESULT_TYPEDEF_(0x8009001B) +#define NTE_SIGNATURE_FILE_BAD _HRESULT_TYPEDEF_(0x8009001C) +#define NTE_PROVIDER_DLL_FAIL _HRESULT_TYPEDEF_(0x8009001D) +#define NTE_PROV_DLL_NOT_FOUND _HRESULT_TYPEDEF_(0x8009001E) +#define NTE_BAD_KEYSET_PARAM _HRESULT_TYPEDEF_(0x8009001F) +#define NTE_FAIL _HRESULT_TYPEDEF_(0x80090020) +#define NTE_SYS_ERR _HRESULT_TYPEDEF_(0x80090021) +#define NTE_SILENT_CONTEXT _HRESULT_TYPEDEF_(0x80090022) +#define NTE_TOKEN_KEYSET_STORAGE_FULL _HRESULT_TYPEDEF_(0x80090023) +#define NTE_TEMPORARY_PROFILE _HRESULT_TYPEDEF_(0x80090024) +#define NTE_FIXEDPARAMETER _HRESULT_TYPEDEF_(0x80090025) +#define NTE_INVALID_HANDLE _HRESULT_TYPEDEF_(0x80090026) +#define NTE_INVALID_PARAMETER _HRESULT_TYPEDEF_(0x80090027) +#define NTE_BUFFER_TOO_SMALL _HRESULT_TYPEDEF_(0x80090028) +#define NTE_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80090029) +#define NTE_NO_MORE_ITEMS _HRESULT_TYPEDEF_(0x8009002A) +#define NTE_BUFFERS_OVERLAP _HRESULT_TYPEDEF_(0x8009002B) +#define NTE_DECRYPTION_FAILURE _HRESULT_TYPEDEF_(0x8009002C) +#define NTE_INTERNAL_ERROR _HRESULT_TYPEDEF_(0x8009002D) +#define NTE_UI_REQUIRED _HRESULT_TYPEDEF_(0x8009002E) +#define NTE_HMAC_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8009002F) +#define NTE_OP_OK _HRESULT_TYPEDEF_(0) + +#define SEC_E_INSUFFICIENT_MEMORY _HRESULT_TYPEDEF_(0x80090300) +#define SEC_E_INVALID_HANDLE _HRESULT_TYPEDEF_(0x80090301) +#define SEC_E_UNSUPPORTED_FUNCTION _HRESULT_TYPEDEF_(0x80090302) +#define SEC_E_TARGET_UNKNOWN _HRESULT_TYPEDEF_(0x80090303) +#define SEC_E_INTERNAL_ERROR _HRESULT_TYPEDEF_(0x80090304) +#define SEC_E_SECPKG_NOT_FOUND _HRESULT_TYPEDEF_(0x80090305) +#define SEC_E_NOT_OWNER _HRESULT_TYPEDEF_(0x80090306) +#define SEC_E_CANNOT_INSTALL _HRESULT_TYPEDEF_(0x80090307) +#define SEC_E_INVALID_TOKEN _HRESULT_TYPEDEF_(0x80090308) +#define SEC_E_CANNOT_PACK _HRESULT_TYPEDEF_(0x80090309) +#define SEC_E_QOP_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8009030A) +#define SEC_E_NO_IMPERSONATION _HRESULT_TYPEDEF_(0x8009030B) +#define SEC_E_LOGON_DENIED _HRESULT_TYPEDEF_(0x8009030C) +#define SEC_E_UNKNOWN_CREDENTIALS _HRESULT_TYPEDEF_(0x8009030D) +#define SEC_E_NO_CREDENTIALS _HRESULT_TYPEDEF_(0x8009030E) +#define SEC_E_MESSAGE_ALTERED _HRESULT_TYPEDEF_(0x8009030F) +#define SEC_E_OUT_OF_SEQUENCE _HRESULT_TYPEDEF_(0x80090310) +#define SEC_E_NO_AUTHENTICATING_AUTHORITY _HRESULT_TYPEDEF_(0x80090311) +#define SEC_I_CONTINUE_NEEDED _HRESULT_TYPEDEF_(0x00090312) +#define SEC_I_COMPLETE_NEEDED _HRESULT_TYPEDEF_(0x00090313) +#define SEC_I_COMPLETE_AND_CONTINUE _HRESULT_TYPEDEF_(0x00090314) +#define SEC_I_CONTEXT_EXPIRED _HRESULT_TYPEDEF_(0x00090317) +#define SEC_E_BAD_PKGID _HRESULT_TYPEDEF_(0x80090316) +#define SEC_E_CONTEXT_EXPIRED _HRESULT_TYPEDEF_(0x80090317) +#define SEC_E_INCOMPLETE_MESSAGE _HRESULT_TYPEDEF_(0x80090318) +#define SEC_E_INCOMPLETE_CREDENTIALS _HRESULT_TYPEDEF_(0x80090320) +#define SEC_E_BUFFER_TOO_SMALL _HRESULT_TYPEDEF_(0x80090321) +#define SEC_E_WRONG_PRINCIPAL _HRESULT_TYPEDEF_(0x80090322) +#define SEC_E_TIME_SKEW _HRESULT_TYPEDEF_(0x80090324) +#define SEC_E_UNTRUSTED_ROOT _HRESULT_TYPEDEF_(0x80090325) +#define SEC_E_ILLEGAL_MESSAGE _HRESULT_TYPEDEF_(0x80090326) +#define SEC_E_CERT_UNKNOWN _HRESULT_TYPEDEF_(0x80090327) +#define SEC_E_CERT_EXPIRED _HRESULT_TYPEDEF_(0x80090328) +#define SEC_E_ENCRYPT_FAILURE _HRESULT_TYPEDEF_(0x80090329) +#define SEC_E_DECRYPT_FAILURE _HRESULT_TYPEDEF_(0x80090330) +#define SEC_E_ALGORITHM_MISMATCH _HRESULT_TYPEDEF_(0x80090331) +#define SEC_E_SECURITY_QOS_FAILED _HRESULT_TYPEDEF_(0x80090332) +#define SEC_E_UNFINISHED_CONTEXT_DELETED _HRESULT_TYPEDEF_(0x80090333) +#define SEC_E_NO_TGT_REPLY _HRESULT_TYPEDEF_(0x80090334) +#define SEC_E_NO_IP_ADDRESSES _HRESULT_TYPEDEF_(0x80090335) +#define SEC_E_WRONG_CREDENTIAL_HANDLE _HRESULT_TYPEDEF_(0x80090336) +#define SEC_E_CRYPTO_SYSTEM_INVALID _HRESULT_TYPEDEF_(0x80090337) +#define SEC_E_MAX_REFERRALS_EXCEEDED _HRESULT_TYPEDEF_(0x80090338) +#define SEC_E_MUST_BE_KDC _HRESULT_TYPEDEF_(0x80090339) +#define SEC_E_STRONG_CRYPTO_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8009033A) +#define SEC_E_TOO_MANY_PRINCIPALS _HRESULT_TYPEDEF_(0x8009033B) +#define SEC_E_NO_PA_DATA _HRESULT_TYPEDEF_(0x8009033C) +#define SEC_E_PKINIT_NAME_MISMATCH _HRESULT_TYPEDEF_(0x8009033D) +#define SEC_E_SMARTCARD_LOGON_REQUIRED _HRESULT_TYPEDEF_(0x8009033E) +#define SEC_E_SHUTDOWN_IN_PROGRESS _HRESULT_TYPEDEF_(0x8009033F) +#define SEC_E_KDC_INVALID_REQUEST _HRESULT_TYPEDEF_(0x80090340) +#define SEC_E_KDC_UNABLE_TO_REFER _HRESULT_TYPEDEF_(0x80090341) +#define SEC_E_KDC_UNKNOWN_ETYPE _HRESULT_TYPEDEF_(0x80090342) +#define SEC_E_UNSUPPORTED_PREAUTH _HRESULT_TYPEDEF_(0x80090343) +#define SEC_E_DELEGATION_REQUIRED _HRESULT_TYPEDEF_(0x80090345) +#define SEC_E_BAD_BINDINGS _HRESULT_TYPEDEF_(0x80090346) +#define SEC_E_MULTIPLE_ACCOUNTS _HRESULT_TYPEDEF_(0x80090347) +#define SEC_E_NO_KERB_KEY _HRESULT_TYPEDEF_(0x80090348) +#define SEC_E_CERT_WRONG_USAGE _HRESULT_TYPEDEF_(0x80090349) +#define SEC_E_DOWNGRADE_DETECTED _HRESULT_TYPEDEF_(0x80090350) +#define SEC_E_SMARTCARD_CERT_REVOKED _HRESULT_TYPEDEF_(0x80090351) +#define SEC_E_ISSUING_CA_UNTRUSTED _HRESULT_TYPEDEF_(0x80090352) +#define SEC_E_REVOCATION_OFFLINE_C _HRESULT_TYPEDEF_(0x80090353) +#define SEC_E_PKINIT_CLIENT_FAILURE _HRESULT_TYPEDEF_(0x80090354) +#define SEC_E_SMARTCARD_CERT_EXPIRED _HRESULT_TYPEDEF_(0x80090355) +#define SEC_E_NO_S4U_PROT_SUPPORT _HRESULT_TYPEDEF_(0x80090356) +#define SEC_E_CROSSREALM_DELEGATION_FAILURE _HRESULT_TYPEDEF_(0x80090357) +#define SEC_E_REVOCATION_OFFLINE_KDC _HRESULT_TYPEDEF_(0x80090358) +#define SEC_E_ISSUING_CA_UNTRUSTED_KDC _HRESULT_TYPEDEF_(0x80090359) +#define SEC_E_KDC_CERT_EXPIRED _HRESULT_TYPEDEF_(0x8009035A) +#define SEC_E_KDC_CERT_REVOKED _HRESULT_TYPEDEF_(0x8009035B) + +#define CRYPT_E_MSG_ERROR _HRESULT_TYPEDEF_(0x80091001) +#define CRYPT_E_UNKNOWN_ALGO _HRESULT_TYPEDEF_(0x80091002) +#define CRYPT_E_OID_FORMAT _HRESULT_TYPEDEF_(0x80091003) +#define CRYPT_E_INVALID_MSG_TYPE _HRESULT_TYPEDEF_(0x80091004) +#define CRYPT_E_UNEXPECTED_ENCODING _HRESULT_TYPEDEF_(0x80091005) +#define CRYPT_E_AUTH_ATTR_MISSING _HRESULT_TYPEDEF_(0x80091006) +#define CRYPT_E_HASH_VALUE _HRESULT_TYPEDEF_(0x80091007) +#define CRYPT_E_INVALID_INDEX _HRESULT_TYPEDEF_(0x80091008) +#define CRYPT_E_ALREADY_DECRYPTED _HRESULT_TYPEDEF_(0x80091009) +#define CRYPT_E_NOT_DECRYPTED _HRESULT_TYPEDEF_(0x8009100A) +#define CRYPT_E_RECIPIENT_NOT_FOUND _HRESULT_TYPEDEF_(0x8009100B) +#define CRYPT_E_CONTROL_TYPE _HRESULT_TYPEDEF_(0x8009100C) +#define CRYPT_E_ISSUER_SERIALNUMBER _HRESULT_TYPEDEF_(0x8009100D) +#define CRYPT_E_SIGNER_NOT_FOUND _HRESULT_TYPEDEF_(0x8009100E) +#define CRYPT_E_ATTRIBUTES_MISSING _HRESULT_TYPEDEF_(0x8009100F) +#define CRYPT_E_STREAM_MSG_NOT_READY _HRESULT_TYPEDEF_(0x80091010) +#define CRYPT_E_STREAM_INSUFFICIENT_DATA _HRESULT_TYPEDEF_(0x80091011) +#define CRYPT_I_NEW_PROTECTION_REQUIRED _HRESULT_TYPEDEF_(0x80091012) + +#define CRYPT_E_BAD_LEN _HRESULT_TYPEDEF_(0x80092001) +#define CRYPT_E_BAD_ENCODE _HRESULT_TYPEDEF_(0x80092002) +#define CRYPT_E_FILE_ERROR _HRESULT_TYPEDEF_(0x80092003) +#define CRYPT_E_NOT_FOUND _HRESULT_TYPEDEF_(0x80092004) +#define CRYPT_E_EXISTS _HRESULT_TYPEDEF_(0x80092005) +#define CRYPT_E_NO_PROVIDER _HRESULT_TYPEDEF_(0x80092006) +#define CRYPT_E_SELF_SIGNED _HRESULT_TYPEDEF_(0x80092007) +#define CRYPT_E_DELETED_PREV _HRESULT_TYPEDEF_(0x80092008) +#define CRYPT_E_NO_MATCH _HRESULT_TYPEDEF_(0x80092009) +#define CRYPT_E_UNEXPECTED_MSG_TYPE _HRESULT_TYPEDEF_(0x8009200A) +#define CRYPT_E_NO_KEY_PROPERTY _HRESULT_TYPEDEF_(0x8009200B) +#define CRYPT_E_NO_DECRYPT_CERT _HRESULT_TYPEDEF_(0x8009200C) +#define CRYPT_E_BAD_MSG _HRESULT_TYPEDEF_(0x8009200D) +#define CRYPT_E_NO_SIGNER _HRESULT_TYPEDEF_(0x8009200E) +#define CRYPT_E_PENDING_CLOSE _HRESULT_TYPEDEF_(0x8009200F) +#define CRYPT_E_REVOKED _HRESULT_TYPEDEF_(0x80092010) +#define CRYPT_E_NO_REVOCATION_DLL _HRESULT_TYPEDEF_(0x80092011) +#define CRYPT_E_NO_REVOCATION_CHECK _HRESULT_TYPEDEF_(0x80092012) +#define CRYPT_E_REVOCATION_OFFLINE _HRESULT_TYPEDEF_(0x80092013) +#define CRYPT_E_NOT_IN_REVOCATION_DATABASE _HRESULT_TYPEDEF_(0x80092014) +#define CRYPT_E_INVALID_NUMERIC_STRING _HRESULT_TYPEDEF_(0x80092020) +#define CRYPT_E_INVALID_PRINTABLE_STRING _HRESULT_TYPEDEF_(0x80092021) +#define CRYPT_E_INVALID_IA5_STRING _HRESULT_TYPEDEF_(0x80092022) +#define CRYPT_E_INVALID_X500_STRING _HRESULT_TYPEDEF_(0x80092023) +#define CRYPT_E_NOT_CHAR_STRING _HRESULT_TYPEDEF_(0x80092024) +#define CRYPT_E_FILERESIZED _HRESULT_TYPEDEF_(0x80092025) +#define CRYPT_E_SECURITY_SETTINGS _HRESULT_TYPEDEF_(0x80092026) +#define CRYPT_E_NO_VERIFY_USAGE_DLL _HRESULT_TYPEDEF_(0x80092027) +#define CRYPT_E_NO_VERIFY_USAGE_CHECK _HRESULT_TYPEDEF_(0x80092028) +#define CRYPT_E_VERIFY_USAGE_OFFLINE _HRESULT_TYPEDEF_(0x80092029) +#define CRYPT_E_NOT_IN_CTL _HRESULT_TYPEDEF_(0x8009202A) +#define CRYPT_E_NO_TRUSTED_SIGNER _HRESULT_TYPEDEF_(0x8009202B) +#define CRYPT_E_MISSING_PUBKEY_PARA _HRESULT_TYPEDEF_(0x8009202C) +#define CRYPT_E_OSS_ERROR _HRESULT_TYPEDEF_(0x80093000) +#define OSS_MORE_BUF _HRESULT_TYPEDEF_(0x80093001) +#define OSS_NEGATIVE_UINTEGER _HRESULT_TYPEDEF_(0x80093002) +#define OSS_PDU_RANGE _HRESULT_TYPEDEF_(0x80093003) +#define OSS_MORE_INPUT _HRESULT_TYPEDEF_(0x80093004) +#define OSS_DATA_ERROR _HRESULT_TYPEDEF_(0x80093005) +#define OSS_BAD_ARG _HRESULT_TYPEDEF_(0x80093006) +#define OSS_BAD_VERSION _HRESULT_TYPEDEF_(0x80093007) +#define OSS_OUT_MEMORY _HRESULT_TYPEDEF_(0x80093008) +#define OSS_PDU_MISMATCH _HRESULT_TYPEDEF_(0x80093009) +#define OSS_LIMITED _HRESULT_TYPEDEF_(0x8009300A) +#define OSS_BAD_PTR _HRESULT_TYPEDEF_(0x8009300B) +#define OSS_BAD_TIME _HRESULT_TYPEDEF_(0x8009300C) +#define OSS_INDEFINITE_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8009300D) +#define OSS_MEM_ERROR _HRESULT_TYPEDEF_(0x8009300E) +#define OSS_BAD_TABLE _HRESULT_TYPEDEF_(0x8009300F) +#define OSS_TOO_LONG _HRESULT_TYPEDEF_(0x80093010) +#define OSS_CONSTRAINT_VIOLATED _HRESULT_TYPEDEF_(0x80093011) +#define OSS_FATAL_ERROR _HRESULT_TYPEDEF_(0x80093012) +#define OSS_ACCESS_SERIALIZATION_ERROR _HRESULT_TYPEDEF_(0x80093013) +#define OSS_NULL_TBL _HRESULT_TYPEDEF_(0x80093014) +#define OSS_NULL_FCN _HRESULT_TYPEDEF_(0x80093015) +#define OSS_BAD_ENCRULES _HRESULT_TYPEDEF_(0x80093016) +#define OSS_UNAVAIL_ENCRULES _HRESULT_TYPEDEF_(0x80093017) +#define OSS_CANT_OPEN_TRACE_WINDOW _HRESULT_TYPEDEF_(0x80093018) +#define OSS_UNIMPLEMENTED _HRESULT_TYPEDEF_(0x80093019) +#define OSS_OID_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x8009301A) +#define OSS_CANT_OPEN_TRACE_FILE _HRESULT_TYPEDEF_(0x8009301B) +#define OSS_TRACE_FILE_ALREADY_OPEN _HRESULT_TYPEDEF_(0x8009301C) +#define OSS_TABLE_MISMATCH _HRESULT_TYPEDEF_(0x8009301D) +#define OSS_TYPE_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8009301E) +#define OSS_REAL_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x8009301F) +#define OSS_REAL_CODE_NOT_LINKED _HRESULT_TYPEDEF_(0x80093020) +#define OSS_OUT_OF_RANGE _HRESULT_TYPEDEF_(0x80093021) +#define OSS_COPIER_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x80093022) +#define OSS_CONSTRAINT_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x80093023) +#define OSS_COMPARATOR_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x80093024) +#define OSS_COMPARATOR_CODE_NOT_LINKED _HRESULT_TYPEDEF_(0x80093025) +#define OSS_MEM_MGR_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x80093026) +#define OSS_PDV_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x80093027) +#define OSS_PDV_CODE_NOT_LINKED _HRESULT_TYPEDEF_(0x80093028) +#define OSS_API_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x80093029) +#define OSS_BERDER_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x8009302A) +#define OSS_PER_DLL_NOT_LINKED _HRESULT_TYPEDEF_(0x8009302B) +#define OSS_OPEN_TYPE_ERROR _HRESULT_TYPEDEF_(0x8009302C) +#define OSS_MUTEX_NOT_CREATED _HRESULT_TYPEDEF_(0x8009302D) +#define OSS_CANT_CLOSE_TRACE_FILE _HRESULT_TYPEDEF_(0x8009302E) +#define CRYPT_E_ASN1_ERROR _HRESULT_TYPEDEF_(0x80093100) +#define CRYPT_E_ASN1_INTERNAL _HRESULT_TYPEDEF_(0x80093101) +#define CRYPT_E_ASN1_EOD _HRESULT_TYPEDEF_(0x80093102) +#define CRYPT_E_ASN1_CORRUPT _HRESULT_TYPEDEF_(0x80093103) +#define CRYPT_E_ASN1_LARGE _HRESULT_TYPEDEF_(0x80093104) +#define CRYPT_E_ASN1_CONSTRAINT _HRESULT_TYPEDEF_(0x80093105) +#define CRYPT_E_ASN1_MEMORY _HRESULT_TYPEDEF_(0x80093106) +#define CRYPT_E_ASN1_OVERFLOW _HRESULT_TYPEDEF_(0x80093107) +#define CRYPT_E_ASN1_BADPDU _HRESULT_TYPEDEF_(0x80093108) +#define CRYPT_E_ASN1_BADARGS _HRESULT_TYPEDEF_(0x80093109) +#define CRYPT_E_ASN1_BADREAL _HRESULT_TYPEDEF_(0x8009310A) +#define CRYPT_E_ASN1_BADTAG _HRESULT_TYPEDEF_(0x8009310B) +#define CRYPT_E_ASN1_CHOICE _HRESULT_TYPEDEF_(0x8009310C) +#define CRYPT_E_ASN1_RULE _HRESULT_TYPEDEF_(0x8009310D) +#define CRYPT_E_ASN1_UTF8 _HRESULT_TYPEDEF_(0x8009310E) +#define CRYPT_E_ASN1_PDU_TYPE _HRESULT_TYPEDEF_(0x80093133) +#define CRYPT_E_ASN1_NYI _HRESULT_TYPEDEF_(0x80093134) +#define CRYPT_E_ASN1_EXTENDED _HRESULT_TYPEDEF_(0x80093201) +#define CRYPT_E_ASN1_NOEOD _HRESULT_TYPEDEF_(0x80093202) + +#define TRUST_E_SYSTEM_ERROR _HRESULT_TYPEDEF_(0x80096001) +#define TRUST_E_NO_SIGNER_CERT _HRESULT_TYPEDEF_(0x80096002) +#define TRUST_E_COUNTER_SIGNER _HRESULT_TYPEDEF_(0x80096003) +#define TRUST_E_CERT_SIGNATURE _HRESULT_TYPEDEF_(0x80096004) +#define TRUST_E_TIME_STAMP _HRESULT_TYPEDEF_(0x80096005) +#define TRUST_E_BAD_DIGEST _HRESULT_TYPEDEF_(0x80096010) +#define TRUST_E_BASIC_CONSTRAINTS _HRESULT_TYPEDEF_(0x80096019) +#define TRUST_E_FINANCIAL_CRITERIA _HRESULT_TYPEDEF_(0x8009601E) +#define TRUST_E_PROVIDER_UNKNOWN _HRESULT_TYPEDEF_(0x800B0001) +#define TRUST_E_ACTION_UNKNOWN _HRESULT_TYPEDEF_(0x800B0002) +#define TRUST_E_SUBJECT_FORM_UNKNOWN _HRESULT_TYPEDEF_(0x800B0003) +#define TRUST_E_SUBJECT_NOT_TRUSTED _HRESULT_TYPEDEF_(0x800B0004) +#define TRUST_E_NOSIGNATURE _HRESULT_TYPEDEF_(0x800B0100) +#define CERT_E_EXPIRED _HRESULT_TYPEDEF_(0x800B0101) +#define CERT_E_VALIDITYPERIODNESTING _HRESULT_TYPEDEF_(0x800B0102) +#define CERT_E_ROLE _HRESULT_TYPEDEF_(0x800B0103) +#define CERT_E_PATHLENCONST _HRESULT_TYPEDEF_(0x800B0104) +#define CERT_E_CRITICAL _HRESULT_TYPEDEF_(0x800B0105) +#define CERT_E_PURPOSE _HRESULT_TYPEDEF_(0x800B0106) +#define CERT_E_ISSUERCHAINING _HRESULT_TYPEDEF_(0x800B0107) +#define CERT_E_MALFORMED _HRESULT_TYPEDEF_(0x800B0108) +#define CERT_E_UNTRUSTEDROOT _HRESULT_TYPEDEF_(0x800B0109) +#define CERT_E_CHAINING _HRESULT_TYPEDEF_(0x800B010A) +#define TRUST_E_FAIL _HRESULT_TYPEDEF_(0x800B010B) +#define CERT_E_REVOKED _HRESULT_TYPEDEF_(0x800B010C) +#define CERT_E_UNTRUSTEDTESTROOT _HRESULT_TYPEDEF_(0x800B010D) +#define CERT_E_REVOCATION_FAILURE _HRESULT_TYPEDEF_(0x800B010E) +#define CERT_E_CN_NO_MATCH _HRESULT_TYPEDEF_(0x800B010F) +#define CERT_E_WRONG_USAGE _HRESULT_TYPEDEF_(0x800B0110) +#define TRUST_E_EXPLICIT_DISTRUST _HRESULT_TYPEDEF_(0x800B0111) +#define CERT_E_UNTRUSTEDCA _HRESULT_TYPEDEF_(0x800B0112) +#define CERT_E_INVALID_POLICY _HRESULT_TYPEDEF_(0x800B0113) +#define CERT_E_INVALID_NAME _HRESULT_TYPEDEF_(0x800B0114) + +#define SPAPI_E_EXPECTED_SECTION_NAME _HRESULT_TYPEDEF_(0x800F0000) +#define SPAPI_E_BAD_SECTION_NAME_LINE _HRESULT_TYPEDEF_(0x800F0001) +#define SPAPI_E_SECTION_NAME_TOO_LONG _HRESULT_TYPEDEF_(0x800F0002) +#define SPAPI_E_GENERAL_SYNTAX _HRESULT_TYPEDEF_(0x800F0003) +#define SPAPI_E_WRONG_INF_STYLE _HRESULT_TYPEDEF_(0x800F0100) +#define SPAPI_E_SECTION_NOT_FOUND _HRESULT_TYPEDEF_(0x800F0101) +#define SPAPI_E_LINE_NOT_FOUND _HRESULT_TYPEDEF_(0x800F0102) +#define SPAPI_E_NO_BACKUP _HRESULT_TYPEDEF_(0x800F0103) +#define SPAPI_E_NO_ASSOCIATED_CLASS _HRESULT_TYPEDEF_(0x800F0200) +#define SPAPI_E_CLASS_MISMATCH _HRESULT_TYPEDEF_(0x800F0201) +#define SPAPI_E_DUPLICATE_FOUND _HRESULT_TYPEDEF_(0x800F0202) +#define SPAPI_E_NO_DRIVER_SELECTED _HRESULT_TYPEDEF_(0x800F0203) +#define SPAPI_E_KEY_DOES_NOT_EXIST _HRESULT_TYPEDEF_(0x800F0204) +#define SPAPI_E_INVALID_DEVINST_NAME _HRESULT_TYPEDEF_(0x800F0205) +#define SPAPI_E_INVALID_CLASS _HRESULT_TYPEDEF_(0x800F0206) +#define SPAPI_E_DEVINST_ALREADY_EXISTS _HRESULT_TYPEDEF_(0x800F0207) +#define SPAPI_E_DEVINFO_NOT_REGISTERED _HRESULT_TYPEDEF_(0x800F0208) +#define SPAPI_E_INVALID_REG_PROPERTY _HRESULT_TYPEDEF_(0x800F0209) +#define SPAPI_E_NO_INF _HRESULT_TYPEDEF_(0x800F020A) +#define SPAPI_E_NO_SUCH_DEVINST _HRESULT_TYPEDEF_(0x800F020B) +#define SPAPI_E_CANT_LOAD_CLASS_ICON _HRESULT_TYPEDEF_(0x800F020C) +#define SPAPI_E_INVALID_CLASS_INSTALLER _HRESULT_TYPEDEF_(0x800F020D) +#define SPAPI_E_DI_DO_DEFAULT _HRESULT_TYPEDEF_(0x800F020E) +#define SPAPI_E_DI_NOFILECOPY _HRESULT_TYPEDEF_(0x800F020F) +#define SPAPI_E_INVALID_HWPROFILE _HRESULT_TYPEDEF_(0x800F0210) +#define SPAPI_E_NO_DEVICE_SELECTED _HRESULT_TYPEDEF_(0x800F0211) +#define SPAPI_E_DEVINFO_LIST_LOCKED _HRESULT_TYPEDEF_(0x800F0212) +#define SPAPI_E_DEVINFO_DATA_LOCKED _HRESULT_TYPEDEF_(0x800F0213) +#define SPAPI_E_DI_BAD_PATH _HRESULT_TYPEDEF_(0x800F0214) +#define SPAPI_E_NO_CLASSINSTALL_PARAMS _HRESULT_TYPEDEF_(0x800F0215) +#define SPAPI_E_FILEQUEUE_LOCKED _HRESULT_TYPEDEF_(0x800F0216) +#define SPAPI_E_BAD_SERVICE_INSTALLSECT _HRESULT_TYPEDEF_(0x800F0217) +#define SPAPI_E_NO_CLASS_DRIVER_LIST _HRESULT_TYPEDEF_(0x800F0218) +#define SPAPI_E_NO_ASSOCIATED_SERVICE _HRESULT_TYPEDEF_(0x800F0219) +#define SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE _HRESULT_TYPEDEF_(0x800F021A) +#define SPAPI_E_DEVICE_INTERFACE_ACTIVE _HRESULT_TYPEDEF_(0x800F021B) +#define SPAPI_E_DEVICE_INTERFACE_REMOVED _HRESULT_TYPEDEF_(0x800F021C) +#define SPAPI_E_BAD_INTERFACE_INSTALLSECT _HRESULT_TYPEDEF_(0x800F021D) +#define SPAPI_E_NO_SUCH_INTERFACE_CLASS _HRESULT_TYPEDEF_(0x800F021E) +#define SPAPI_E_INVALID_REFERENCE_STRING _HRESULT_TYPEDEF_(0x800F021F) +#define SPAPI_E_INVALID_MACHINENAME _HRESULT_TYPEDEF_(0x800F0220) +#define SPAPI_E_REMOTE_COMM_FAILURE _HRESULT_TYPEDEF_(0x800F0221) +#define SPAPI_E_MACHINE_UNAVAILABLE _HRESULT_TYPEDEF_(0x800F0222) +#define SPAPI_E_NO_CONFIGMGR_SERVICES _HRESULT_TYPEDEF_(0x800F0223) +#define SPAPI_E_INVALID_PROPPAGE_PROVIDER _HRESULT_TYPEDEF_(0x800F0224) +#define SPAPI_E_NO_SUCH_DEVICE_INTERFACE _HRESULT_TYPEDEF_(0x800F0225) +#define SPAPI_E_DI_POSTPROCESSING_REQUIRED _HRESULT_TYPEDEF_(0x800F0226) +#define SPAPI_E_INVALID_COINSTALLER _HRESULT_TYPEDEF_(0x800F0227) +#define SPAPI_E_NO_COMPAT_DRIVERS _HRESULT_TYPEDEF_(0x800F0228) +#define SPAPI_E_NO_DEVICE_ICON _HRESULT_TYPEDEF_(0x800F0229) +#define SPAPI_E_INVALID_INF_LOGCONFIG _HRESULT_TYPEDEF_(0x800F022A) +#define SPAPI_E_DI_DONT_INSTALL _HRESULT_TYPEDEF_(0x800F022B) +#define SPAPI_E_INVALID_FILTER_DRIVER _HRESULT_TYPEDEF_(0x800F022C) +#define SPAPI_E_NON_WINDOWS_NT_DRIVER _HRESULT_TYPEDEF_(0x800F022D) +#define SPAPI_E_NON_WINDOWS_DRIVER _HRESULT_TYPEDEF_(0x800F022E) +#define SPAPI_E_NO_CATALOG_FOR_OEM_INF _HRESULT_TYPEDEF_(0x800F022F) +#define SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE _HRESULT_TYPEDEF_(0x800F0230) +#define SPAPI_E_NOT_DISABLEABLE _HRESULT_TYPEDEF_(0x800F0231) +#define SPAPI_E_CANT_REMOVE_DEVINST _HRESULT_TYPEDEF_(0x800F0232) +#define SPAPI_E_INVALID_TARGET _HRESULT_TYPEDEF_(0x800F0233) +#define SPAPI_E_DRIVER_NONNATIVE _HRESULT_TYPEDEF_(0x800F0234) +#define SPAPI_E_IN_WOW64 _HRESULT_TYPEDEF_(0x800F0235) +#define SPAPI_E_SET_SYSTEM_RESTORE_POINT _HRESULT_TYPEDEF_(0x800F0236) +#define SPAPI_E_INCORRECTLY_COPIED_INF _HRESULT_TYPEDEF_(0x800F0237) +#define SPAPI_E_SCE_DISABLED _HRESULT_TYPEDEF_(0x800F0238) +#define SPAPI_E_ERROR_NOT_INSTALLED _HRESULT_TYPEDEF_(0x800F1000) + +/* Smart card management error codes */ +#define SCARD_S_SUCCESS NO_ERROR +#define SCARD_F_INTERNAL_ERROR _HRESULT_TYPEDEF_(0x80100001) +#define SCARD_E_CANCELLED _HRESULT_TYPEDEF_(0x80100002) +#define SCARD_E_INVALID_HANDLE _HRESULT_TYPEDEF_(0x80100003) +#define SCARD_E_INVALID_PARAMETER _HRESULT_TYPEDEF_(0x80100004) +#define SCARD_E_INVALID_TARGET _HRESULT_TYPEDEF_(0x80100005) +#define SCARD_E_NO_MEMORY _HRESULT_TYPEDEF_(0x80100006) +#define SCARD_F_WAITED_TOO_LONG _HRESULT_TYPEDEF_(0x80100007) +#define SCARD_E_INSUFFICIENT_BUFFER _HRESULT_TYPEDEF_(0x80100008) +#define SCARD_E_UNKNOWN_READER _HRESULT_TYPEDEF_(0x80100009) +#define SCARD_E_TIMEOUT _HRESULT_TYPEDEF_(0x8010000A) +#define SCARD_E_SHARING_VIOLATION _HRESULT_TYPEDEF_(0x8010000B) +#define SCARD_E_NO_SMARTCARD _HRESULT_TYPEDEF_(0x8010000C) +#define SCARD_E_UNKNOWN_CARD _HRESULT_TYPEDEF_(0x8010000D) +#define SCARD_E_CANT_DISPOSE _HRESULT_TYPEDEF_(0x8010000E) +#define SCARD_E_PROTO_MISMATCH _HRESULT_TYPEDEF_(0x8010000F) +#define SCARD_E_NOT_READY _HRESULT_TYPEDEF_(0x80100010) +#define SCARD_E_INVALID_VALUE _HRESULT_TYPEDEF_(0x80100011) +#define SCARD_E_SYSTEM_CANCELLED _HRESULT_TYPEDEF_(0x80100012) +#define SCARD_F_COMM_ERROR _HRESULT_TYPEDEF_(0x80100013) +#define SCARD_F_UNKNOWN_ERROR _HRESULT_TYPEDEF_(0x80100014) +#define SCARD_E_INVALID_ATR _HRESULT_TYPEDEF_(0x80100015) +#define SCARD_E_NOT_TRANSACTED _HRESULT_TYPEDEF_(0x80100016) +#define SCARD_E_READER_UNAVAILABLE _HRESULT_TYPEDEF_(0x80100017) +#define SCARD_P_SHUTDOWN _HRESULT_TYPEDEF_(0x80100018) +#define SCARD_E_PCI_TOO_SMALL _HRESULT_TYPEDEF_(0x80100019) +#define SCARD_E_READER_UNSUPPORTED _HRESULT_TYPEDEF_(0x8010001A) +#define SCARD_E_DUPLICATE_READER _HRESULT_TYPEDEF_(0x8010001B) +#define SCARD_E_CARD_UNSUPPORTED _HRESULT_TYPEDEF_(0x8010001C) +#define SCARD_E_NO_SERVICE _HRESULT_TYPEDEF_(0x8010001D) +#define SCARD_E_SERVICE_STOPPED _HRESULT_TYPEDEF_(0x8010001E) +#define SCARD_E_UNEXPECTED _HRESULT_TYPEDEF_(0x8010001F) +#define SCARD_E_ICC_INSTALLATION _HRESULT_TYPEDEF_(0x80100020) +#define SCARD_E_ICC_CREATEORDER _HRESULT_TYPEDEF_(0x80100021) +#define SCARD_E_UNSUPPORTED_FEATURE _HRESULT_TYPEDEF_(0x80100022) +#define SCARD_E_DIR_NOT_FOUND _HRESULT_TYPEDEF_(0x80100023) +#define SCARD_E_FILE_NOT_FOUND _HRESULT_TYPEDEF_(0x80100024) +#define SCARD_E_NO_DIR _HRESULT_TYPEDEF_(0x80100025) +#define SCARD_E_NO_FILE _HRESULT_TYPEDEF_(0x80100026) +#define SCARD_E_NO_ACCESS _HRESULT_TYPEDEF_(0x80100027) +#define SCARD_E_WRITE_TOO_MANY _HRESULT_TYPEDEF_(0x80100028) +#define SCARD_E_BAD_SEEK _HRESULT_TYPEDEF_(0x80100029) +#define SCARD_E_INVALID_CHV _HRESULT_TYPEDEF_(0x8010002A) +#define SCARD_E_UNKNOWN_RES_MNG _HRESULT_TYPEDEF_(0x8010002B) +#define SCARD_E_NO_SUCH_CERTIFICATE _HRESULT_TYPEDEF_(0x8010002C) +#define SCARD_E_CERTIFICATE_UNAVAILABLE _HRESULT_TYPEDEF_(0x8010002D) +#define SCARD_E_NO_READERS_AVAILABLE _HRESULT_TYPEDEF_(0x8010002E) +#define SCARD_E_COMM_DATA_LOST _HRESULT_TYPEDEF_(0x8010002F) +#define SCARD_E_NO_KEY_CONTAINER _HRESULT_TYPEDEF_(0x80100030) +#define SCARD_E_SERVER_TOO_BUSY _HRESULT_TYPEDEF_(0x80100031) +#define SCARD_W_UNSUPPORTED_CARD _HRESULT_TYPEDEF_(0x80100065) +#define SCARD_W_UNRESPONSIVE_CARD _HRESULT_TYPEDEF_(0x80100066) +#define SCARD_W_UNPOWERED_CARD _HRESULT_TYPEDEF_(0x80100067) +#define SCARD_W_RESET_CARD _HRESULT_TYPEDEF_(0x80100068) +#define SCARD_W_REMOVED_CARD _HRESULT_TYPEDEF_(0x80100069) +#define SCARD_W_SECURITY_VIOLATION _HRESULT_TYPEDEF_(0x8010006A) +#define SCARD_W_WRONG_CHV _HRESULT_TYPEDEF_(0x8010006B) +#define SCARD_W_CHV_BLOCKED _HRESULT_TYPEDEF_(0x8010006C) +#define SCARD_W_EOF _HRESULT_TYPEDEF_(0x8010006D) +#define SCARD_W_CANCELLED_BY_USER _HRESULT_TYPEDEF_(0x8010006E) +#define SCARD_W_CARD_NOT_AUTHENTICATED _HRESULT_TYPEDEF_(0x8010006F) +#define SCARD_W_CACHE_ITEM_NOT_FOUND _HRESULT_TYPEDEF_(0x80100070) +#define SCARD_W_CACHE_ITEM_STALE _HRESULT_TYPEDEF_(0x80100071) +#define SCARD_W_CACHE_ITEM_TOO_BIG _HRESULT_TYPEDEF_(0x80100072) + +#define D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS _HRESULT_TYPEDEF_(0x887c0001) +#define D3D11_ERROR_FILE_NOT_FOUND _HRESULT_TYPEDEF_(0x887c0002) +#define D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS _HRESULT_TYPEDEF_(0x887c0003) +#define D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD _HRESULT_TYPEDEF_(0x887c0004) + +#define WINCODEC_ERR_WRONGSTATE _HRESULT_TYPEDEF_(0x88982f04) +#define WINCODEC_ERR_VALUEOUTOFRANGE _HRESULT_TYPEDEF_(0x88982f05) +#define WINCODEC_ERR_UNKNOWNIMAGEFORMAT _HRESULT_TYPEDEF_(0x88982f07) +#define WINCODEC_ERR_UNSUPPORTEDVERSION _HRESULT_TYPEDEF_(0x88982f0b) +#define WINCODEC_ERR_NOTINITIALIZED _HRESULT_TYPEDEF_(0x88982f0c) +#define WINCODEC_ERR_ALREADYLOCKED _HRESULT_TYPEDEF_(0x88982f0d) +#define WINCODEC_ERR_PROPERTYNOTFOUND _HRESULT_TYPEDEF_(0x88982f40) +#define WINCODEC_ERR_PROPERTYNOTSUPPORTED _HRESULT_TYPEDEF_(0x88982f41) +#define WINCODEC_ERR_PROPERTYSIZE _HRESULT_TYPEDEF_(0x88982f42) +#define WINCODEC_ERR_CODECPRESENT _HRESULT_TYPEDEF_(0x88982f43) +#define WINCODEC_ERR_CODECNOTHUMBNAIL _HRESULT_TYPEDEF_(0x88982f44) +#define WINCODEC_ERR_PALETTEUNAVAILABLE _HRESULT_TYPEDEF_(0x88982f45) +#define WINCODEC_ERR_CODECTOOMANYSCANLINES _HRESULT_TYPEDEF_(0x88982f46) +#define WINCODEC_ERR_INTERNALERROR _HRESULT_TYPEDEF_(0x88982f48) +#define WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS _HRESULT_TYPEDEF_(0x88982f49) +#define WINCODEC_ERR_COMPONENTNOTFOUND _HRESULT_TYPEDEF_(0x88982f50) +#define WINCODEC_ERR_IMAGESIZEOUTOFRANGE _HRESULT_TYPEDEF_(0x88982f51) +#define WINCODEC_ERR_TOOMUCHMETADATA _HRESULT_TYPEDEF_(0x88982f52) +#define WINCODEC_ERR_BADIMAGE _HRESULT_TYPEDEF_(0x88982f60) +#define WINCODEC_ERR_BADHEADER _HRESULT_TYPEDEF_(0x88982f61) +#define WINCODEC_ERR_FRAMEMISSING _HRESULT_TYPEDEF_(0x88982f62) +#define WINCODEC_ERR_BADMETADATAHEADER _HRESULT_TYPEDEF_(0x88982f63) +#define WINCODEC_ERR_BADSTREAMDATA _HRESULT_TYPEDEF_(0x88982f70) +#define WINCODEC_ERR_STREAMWRITE _HRESULT_TYPEDEF_(0x88982f71) +#define WINCODEC_ERR_STREAMREAD _HRESULT_TYPEDEF_(0x88982f72) +#define WINCODEC_ERR_STREAMNOTAVAILABLE _HRESULT_TYPEDEF_(0x88982f73) +#define WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT _HRESULT_TYPEDEF_(0x88982f80) +#define WINCODEC_ERR_UNSUPPORTEDOPERATION _HRESULT_TYPEDEF_(0x88982f81) +#define WINCODEC_ERR_INVALIDREGISTRATION _HRESULT_TYPEDEF_(0x88982f8a) +#define WINCODEC_ERR_COMPONENTINITIALIZEFAILURE _HRESULT_TYPEDEF_(0x88982f8b) +#define WINCODEC_ERR_INSUFFICIENTBUFFER _HRESULT_TYPEDEF_(0x88982f8c) +#define WINCODEC_ERR_DUPLICATEMETADATAPRESENT _HRESULT_TYPEDEF_(0x88982f8d) +#define WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE _HRESULT_TYPEDEF_(0x88982f8e) +#define WINCODEC_ERR_UNEXPECTEDSIZE _HRESULT_TYPEDEF_(0x88982f8f) +#define WINCODEC_ERR_INVALIDQUERYREQUEST _HRESULT_TYPEDEF_(0x88982f90) +#define WINCODEC_ERR_UNEXPECTEDMETADATATYPE _HRESULT_TYPEDEF_(0x88982f91) +#define WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT _HRESULT_TYPEDEF_(0x88982f92) +#define WINCODEC_ERR_INVALIDQUERYCHARACTER _HRESULT_TYPEDEF_(0x88982f93) +#define WINCODEC_ERR_WIN32ERROR _HRESULT_TYPEDEF_(0x88982f94) +#define WINCODEC_ERR_INVALIDPROGRESSIVELEVEL _HRESULT_TYPEDEF_(0x88982f95) + +#define DWRITE_E_FILEFORMAT _HRESULT_TYPEDEF_(0x88985000) +#define DWRITE_E_UNEXPECTED _HRESULT_TYPEDEF_(0x88985001) +#define DWRITE_E_NOFONT _HRESULT_TYPEDEF_(0x88985002) +#define DWRITE_E_FILENOTFOUND _HRESULT_TYPEDEF_(0x88985003) +#define DWRITE_E_FILEACCESS _HRESULT_TYPEDEF_(0x88985004) +#define DWRITE_E_FONTCOLLECTIONOBSOLETE _HRESULT_TYPEDEF_(0x88985005) +#define DWRITE_E_ALREADYREGISTERED _HRESULT_TYPEDEF_(0x88985006) +#define DWRITE_E_CACHEFORMAT _HRESULT_TYPEDEF_(0x88985007) +#define DWRITE_E_CACHEVERSION _HRESULT_TYPEDEF_(0x88985008) +#define DWRITE_E_UNSUPPORTEDOPERATION _HRESULT_TYPEDEF_(0x88985009) +#define DWRITE_E_TEXTRENDERERINCOMPATIBLE _HRESULT_TYPEDEF_(0x8898500A) +#define DWRITE_E_FLOWDIRECTIONCONFLICTS _HRESULT_TYPEDEF_(0x8898500B) +#define DWRITE_E_NOCOLOR _HRESULT_TYPEDEF_(0x8898500C) + +#define D2DERR_WRONG_STATE _HRESULT_TYPEDEF_(0x88990001) +#define D2DERR_NOT_INITIALIZED _HRESULT_TYPEDEF_(0x88990002) +#define D2DERR_UNSUPPORTED_OPERATION _HRESULT_TYPEDEF_(0x88990003) +#define D2DERR_SCANNER_FAILED _HRESULT_TYPEDEF_(0x88990004) +#define D2DERR_SCREEN_ACCESS_DENIED _HRESULT_TYPEDEF_(0x88990005) +#define D2DERR_DISPLAY_STATE_INVALID _HRESULT_TYPEDEF_(0x88990006) +#define D2DERR_ZERO_VECTOR _HRESULT_TYPEDEF_(0x88990007) +#define D2DERR_INTERNAL_ERROR _HRESULT_TYPEDEF_(0x88990008) +#define D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x88990009) +#define D2DERR_INVALID_CALL _HRESULT_TYPEDEF_(0x8899000a) +#define D2DERR_NO_HARDWARE_DEVICE _HRESULT_TYPEDEF_(0x8899000b) +#define D2DERR_RECREATE_TARGET _HRESULT_TYPEDEF_(0x8899000c) +#define D2DERR_TOO_MANY_SHADER_ELEMENTS _HRESULT_TYPEDEF_(0x8899000d) +#define D2DERR_SHADER_COMPILE_FAILED _HRESULT_TYPEDEF_(0x8899000e) +#define D2DERR_MAX_TEXTURE_SIZE_EXCEEDED _HRESULT_TYPEDEF_(0x8899000f) +#define D2DERR_UNSUPPORTED_VERSION _HRESULT_TYPEDEF_(0x88990010) +#define D2DERR_BAD_NUMBER _HRESULT_TYPEDEF_(0x88990011) +#define D2DERR_WRONG_FACTORY _HRESULT_TYPEDEF_(0x88990012) +#define D2DERR_LAYER_ALREADY_IN_USE _HRESULT_TYPEDEF_(0x88990013) +#define D2DERR_POP_CALL_DID_NOT_MATCH_PUSH _HRESULT_TYPEDEF_(0x88990014) +#define D2DERR_WRONG_RESOURCE_DOMAIN _HRESULT_TYPEDEF_(0x88990015) +#define D2DERR_PUSH_POP_UNBALANCED _HRESULT_TYPEDEF_(0x88990016) +#define D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT _HRESULT_TYPEDEF_(0x88990017) +#define D2DERR_INCOMPATIBLE_BRUSH_TYPES _HRESULT_TYPEDEF_(0x88990018) +#define D2DERR_WIN32_ERROR _HRESULT_TYPEDEF_(0x88990019) +#define D2DERR_TARGET_NOT_GDI_COMPATIBLE _HRESULT_TYPEDEF_(0x8899001a) +#define D2DERR_TEXT_EFFECT_IS_WRONG_TYPE _HRESULT_TYPEDEF_(0x8899001b) +#define D2DERR_TEXT_RENDERER_NOT_RELEASED _HRESULT_TYPEDEF_(0x8899001c) +#define D2DERR_EXCEEDS_MAX_BITMAP_SIZE _HRESULT_TYPEDEF_(0x8899001d) +#define D2DERR_INVALID_GRAPH_CONFIGURATION _HRESULT_TYPEDEF_(0x8899001e) +#define D2DERR_INVALID_INTERNAL_GRAPH_CONFIGURATION _HRESULT_TYPEDEF_(0x8899001f) +#define D2DERR_CYCLIC_GRAPH _HRESULT_TYPEDEF_(0x88990020) +#define D2DERR_BITMAP_CANNOT_DRAW _HRESULT_TYPEDEF_(0x88990021) +#define D2DERR_OUTSTANDING_BITMAP_REFERENCES _HRESULT_TYPEDEF_(0x88990022) +#define D2DERR_ORIGINAL_TARGET_NOT_BOUND _HRESULT_TYPEDEF_(0x88990023) +#define D2DERR_INVALID_TARGET _HRESULT_TYPEDEF_(0x88990024) +#define D2DERR_BITMAP_BOUND_AS_TARGET _HRESULT_TYPEDEF_(0x88990025) +#define D2DERR_INSUFFICIENT_DEVICE_CAPABILITIES _HRESULT_TYPEDEF_(0x88990026) +#define D2DERR_INTERMEDIATE_TOO_LARGE _HRESULT_TYPEDEF_(0x88990027) +#define D2DERR_EFFECT_IS_NOT_REGISTERED _HRESULT_TYPEDEF_(0x88990028) +#define D2DERR_INVALID_PROPERTY _HRESULT_TYPEDEF_(0x88990029) +#define D2DERR_NO_SUBPROPERTIES _HRESULT_TYPEDEF_(0x8899002a) +#define D2DERR_PRINT_JOB_CLOSED _HRESULT_TYPEDEF_(0x8899002b) +#define D2DERR_PRINT_FORMAT_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8899002c) +#define D2DERR_TOO_MANY_TRANSFORM_INPUTS _HRESULT_TYPEDEF_(0x8899002d) + +#define DXGI_STATUS_OCCLUDED _HRESULT_TYPEDEF_(0x087a0001) +#define DXGI_STATUS_CLIPPED _HRESULT_TYPEDEF_(0x087a0002) +#define DXGI_STATUS_NO_REDIRECTION _HRESULT_TYPEDEF_(0x087a0004) +#define DXGI_STATUS_NO_DESKTOP_ACCESS _HRESULT_TYPEDEF_(0x087a0005) +#define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE _HRESULT_TYPEDEF_(0x087a0006) +#define DXGI_STATUS_MODE_CHANGED _HRESULT_TYPEDEF_(0x087a0007) +#define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS _HRESULT_TYPEDEF_(0x087a0008) +#define DXGI_STATUS_UNOCCLUDED _HRESULT_TYPEDEF_(0x087a0009) +#define DXGI_STATUS_DDA_WAS_STILL_DRAWING _HRESULT_TYPEDEF_(0x087a000a) +#define DXGI_STATUS_PRESENT_REQUIRED _HRESULT_TYPEDEF_(0x087a002f) + +#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001) +#define DXGI_ERROR_NOT_FOUND _HRESULT_TYPEDEF_(0x887a0002) +#define DXGI_ERROR_MORE_DATA _HRESULT_TYPEDEF_(0x887a0003) +#define DXGI_ERROR_UNSUPPORTED _HRESULT_TYPEDEF_(0x887a0004) +#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005) +#define DXGI_ERROR_DEVICE_HUNG _HRESULT_TYPEDEF_(0x887a0006) +#define DXGI_ERROR_DEVICE_RESET _HRESULT_TYPEDEF_(0x887a0007) +#define DXGI_ERROR_WAS_STILL_DRAWING _HRESULT_TYPEDEF_(0x887a000a) +#define DXGI_ERROR_FRAME_STATISTICS_DISJOINT _HRESULT_TYPEDEF_(0x887a000b) +#define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE _HRESULT_TYPEDEF_(0x887a000c) +#define DXGI_ERROR_DRIVER_INTERNAL_ERROR _HRESULT_TYPEDEF_(0x887a0020) +#define DXGI_ERROR_NONEXCLUSIVE _HRESULT_TYPEDEF_(0x887a0021) +#define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE _HRESULT_TYPEDEF_(0x887a0022) +#define DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED _HRESULT_TYPEDEF_(0x887a0023) +#define DXGI_ERROR_REMOTE_OUTOFMEMORY _HRESULT_TYPEDEF_(0x887a0024) +#define DXGI_ERROR_ACCESS_LOST _HRESULT_TYPEDEF_(0x887a0026) +#define DXGI_ERROR_WAIT_TIMEOUT _HRESULT_TYPEDEF_(0x887a0027) +#define DXGI_ERROR_SESSION_DISCONNECTED _HRESULT_TYPEDEF_(0x887a0028) +#define DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE _HRESULT_TYPEDEF_(0x887a0029) +#define DXGI_ERROR_CANNOT_PROTECT_CONTENT _HRESULT_TYPEDEF_(0x887a002a) +#define DXGI_ERROR_ACCESS_DENIED _HRESULT_TYPEDEF_(0x887a002b) +#define DXGI_ERROR_NAME_ALREADY_EXISTS _HRESULT_TYPEDEF_(0x887a002c) +#define DXGI_ERROR_SDK_COMPONENT_MISSING _HRESULT_TYPEDEF_(0x887a002d) +#define DXGI_ERROR_NOT_CURRENT _HRESULT_TYPEDEF_(0x887a002e) +#define DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY _HRESULT_TYPEDEF_(0x887a0030) +#define DXGI_ERROR_MODE_CHANGE_IN_PROGRESS _HRESULT_TYPEDEF_(0x887a0025) + +#define ERROR_AUDITING_DISABLED _HRESULT_TYPEDEF_(0xC0090001) +#define ERROR_ALL_SIDS_FILTERED _HRESULT_TYPEDEF_(0xC0090002) + +#endif /* __WINE_WINERROR_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winevt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winevt.h new file mode 100644 index 0000000..53ffe44 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winevt.h @@ -0,0 +1,132 @@ +/* Definitions for the Windows Event Log (wevtapi.dll) + * + * Copyright 2012 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINEVT_H +#define __WINE_WINEVT_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef HANDLE EVT_HANDLE, *PEVT_HANDLE; + +typedef enum _EVT_CHANNEL_CONFIG_PROPERTY_ID { + EvtChannelConfigEnabled = 0, + EvtChannelConfigIsolation, + EvtChannelConfigType, + EvtChannelConfigOwningPublisher, + EvtChannelConfigClassicEventlog, + EvtChannelConfigAccess, + EvtChannelLoggingConfigRetention, + EvtChannelLoggingConfigAutoBackup, + EvtChannelLoggingConfigMaxSize, + EvtChannelLoggingConfigLogFilePath, + EvtChannelPublishingConfigLevel, + EvtChannelPublishingConfigKeywords, + EvtChannelPublishingConfigControlGuid, + EvtChannelPublishingConfigBufferSize, + EvtChannelPublishingConfigMinBuffers, + EvtChannelPublishingConfigMaxBuffers, + EvtChannelPublishingConfigLatency, + EvtChannelPublishingConfigClockType, + EvtChannelPublishingConfigSidType, + EvtChannelPublisherList, + EvtChannelPublishingConfigFileMax, + EvtChannelConfigPropertyIdEND +} EVT_CHANNEL_CONFIG_PROPERTY_ID; + +typedef enum _EVT_SUBSCRIBE_NOTIFY_ACTION { + EvtSubscribeActionError = 0, + EvtSubscribeActionDeliver +} EVT_SUBSCRIBE_NOTIFY_ACTION; + +typedef struct _EVT_VARIANT { + union { + BOOL BooleanVal; + INT8 SByteVal; + INT16 Int16Val; + INT32 Int32Val; + INT64 Int64Val; + UINT8 ByteVal; + UINT16 UInt16Val; + UINT32 UInt32Val; + UINT64 UInt64Val; + FLOAT SingleVal; + DOUBLE DoubleVal; + ULONGLONG FileTimeVal; + SYSTEMTIME* SysTimeVal; + GUID* GuidVal; + LPCWSTR StringVal; + LPCSTR AnsiStringVal; + PBYTE BinaryVal; + PSID SidVal; + SIZE_T SizeTVal; + + BOOL* BooleanArr; + INT8* SByteArr; + INT16* Int16Arr; + INT32* Int32Arr; + INT64* Int64Arr; + UINT8* ByteArr; + UINT16* UInt16Arr; + UINT32* UInt32Arr; + UINT64* UInt64Arr; + FLOAT* SingleArr; + DOUBLE* DoubleArr; + FILETIME* FileTimeArr; + SYSTEMTIME* SysTimeArr; + GUID* GuidArr; + LPWSTR* StringArr; + LPSTR* AnsiStringArr; + PSID* SidArr; + SIZE_T* SizeTArr; + + EVT_HANDLE EvtHandleVal; + LPCWSTR XmlVal; + LPCWSTR* XmlValArr; + } DUMMYUNIONNAME; + + DWORD Count; + DWORD Type; +} EVT_VARIANT, *PEVT_VARIANT; + +typedef DWORD (WINAPI *EVT_SUBSCRIBE_CALLBACK)(EVT_SUBSCRIBE_NOTIFY_ACTION Action, + PVOID UserContext, EVT_HANDLE Event); + +BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig, + EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId, + DWORD Flags, DWORD PropertyValueBufferSize, + PEVT_VARIANT PropertyValueBuffer, + PDWORD PropertyValueBufferUsed); +BOOL WINAPI EvtSetChannelConfigProperty(EVT_HANDLE ChannelConfig, + EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId, + DWORD Flags, PEVT_VARIANT PropertyValue); +EVT_HANDLE WINAPI EvtSubscribe(EVT_HANDLE Session, HANDLE SignalEvent, LPCWSTR ChannelPath, + LPCWSTR Query, EVT_HANDLE Bookmark, PVOID context, + EVT_SUBSCRIBE_CALLBACK Callback, DWORD Flags); +EVT_HANDLE WINAPI EvtOpenChannelConfig(EVT_HANDLE Session, LPCWSTR ChannelPath, DWORD Flags); + + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_WINEVT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wingdi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wingdi.h new file mode 100644 index 0000000..d3f97ad --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wingdi.h @@ -0,0 +1,4012 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINGDI_ +#define _WINGDI_ +#ifndef NOGDI + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _GDI32_ +#define WINGDIAPI +#else +#define WINGDIAPI DECLSPEC_IMPORT +#endif + +typedef struct _ABCFLOAT { + FLOAT abcfA; + FLOAT abcfB; + FLOAT abcfC; +} ABCFLOAT, *PABCFLOAT, *LPABCFLOAT; + +#define FONTMAPPER_MAX 10 + +typedef struct +{ + WORD wFirst; + WORD wSecond; + INT iKernAmount; +} KERNINGPAIR, *LPKERNINGPAIR; + +typedef struct tagPIXELFORMATDESCRIPTOR { + WORD nSize; + WORD nVersion; + DWORD dwFlags; + BYTE iPixelType; + BYTE cColorBits; + BYTE cRedBits; + BYTE cRedShift; + BYTE cGreenBits; + BYTE cGreenShift; + BYTE cBlueBits; + BYTE cBlueShift; + BYTE cAlphaBits; + BYTE cAlphaShift; + BYTE cAccumBits; + BYTE cAccumRedBits; + BYTE cAccumGreenBits; + BYTE cAccumBlueBits; + BYTE cAccumAlphaBits; + BYTE cDepthBits; + BYTE cStencilBits; + BYTE cAuxBuffers; + BYTE iLayerType; + BYTE bReserved; + DWORD dwLayerMask; + DWORD dwVisibleMask; + DWORD dwDamageMask; +} PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESCRIPTOR, *LPPIXELFORMATDESCRIPTOR; + +#define PFD_TYPE_RGBA 0 +#define PFD_TYPE_COLORINDEX 1 + +#define PFD_MAIN_PLANE 0 +#define PFD_OVERLAY_PLANE 1 +#define PFD_UNDERLAY_PLANE (-1) + +#define PFD_DOUBLEBUFFER 0x00000001 +#define PFD_STEREO 0x00000002 +#define PFD_DRAW_TO_WINDOW 0x00000004 +#define PFD_DRAW_TO_BITMAP 0x00000008 +#define PFD_SUPPORT_GDI 0x00000010 +#define PFD_SUPPORT_OPENGL 0x00000020 +#define PFD_GENERIC_FORMAT 0x00000040 +#define PFD_NEED_PALETTE 0x00000080 +#define PFD_NEED_SYSTEM_PALETTE 0x00000100 +#define PFD_SWAP_EXCHANGE 0x00000200 +#define PFD_SWAP_COPY 0x00000400 +#define PFD_SWAP_LAYER_BUFFERS 0x00000800 +#define PFD_GENERIC_ACCELERATED 0x00001000 +#define PFD_SUPPORT_COMPOSITION 0x00008000 /* Vista stuff */ + +#define PFD_DEPTH_DONTCARE 0x20000000 +#define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 +#define PFD_STEREO_DONTCARE 0x80000000 + +typedef struct tagCOLORADJUSTMENT +{ + WORD caSize; + WORD caFlags; + WORD caIlluminantIndex; + WORD caRedGamma; + WORD caGreenGamma; + WORD caBlueGamma; + WORD caReferenceBlack; + WORD caReferenceWhite; + SHORT caContrast; + SHORT caBrightness; + SHORT caColorfulness; + SHORT caRedGreenTint; +} COLORADJUSTMENT, *PCOLORADJUSTMENT, *LPCOLORADJUSTMENT; + +#define CA_NEGATIVE 0x0001 +#define CA_LOG_FILTER 0x0002 + +#define ILLUMINANT_DEVICE_DEFAULT 0 +#define ILLUMINANT_A 1 +#define ILLUMINANT_B 2 +#define ILLUMINANT_C 3 +#define ILLUMINANT_D50 4 +#define ILLUMINANT_D55 5 +#define ILLUMINANT_D65 6 +#define ILLUMINANT_D75 7 +#define ILLUMINANT_F2 8 +#define ILLUMINANT_MAX_INDEX ILLUMINANT_F2 + +#define ILLUMINANT_TUNGSTEN ILLUMINANT_A +#define ILLUMINANT_DAYLIGHT ILLUMINANT_C +#define ILLUMINANT_FLUORESCENT ILLUMINANT_F2 +#define ILLUMINANT_NTSC ILLUMINANT_C + +#define RGB_GAMMA_MIN (WORD)02500 +#define RGB_GAMMA_MAX (WORD)65000 + +#define REFERENCE_WHITE_MIN (WORD)6000 +#define REFERENCE_WHITE_MAX (WORD)10000 +#define REFERENCE_BLACK_MIN (WORD)0 +#define REFERENCE_BLACK_MAX (WORD)4000 + +#define COLOR_ADJ_MIN ((SHORT)-100) +#define COLOR_ADJ_MAX (SHORT) 100 + +typedef LONG FXPT16DOT16, *LPFXPT16DOT16; +typedef LONG FXPT2DOT30, *LPFXPT2DOT30; +typedef LONG LCSCSTYPE; +typedef LONG LCSGAMUTMATCH; + +#define LCS_sRGB 0x73524742 /* 'sRGB' */ +#define LCS_WINDOWS_COLOR_SPACE 0x57696e20 /* 'Win ' */ + +#define LCS_CALIBRATED_RGB __MSABI_LONG(0x00000000) +#define LCS_DEVICE_RGB __MSABI_LONG(0x00000001) +#define LCS_DEVICE_CMYK __MSABI_LONG(0x00000002) + +#define LCS_GM_BUSINESS __MSABI_LONG(0x00000001) +#define LCS_GM_GRAPHICS __MSABI_LONG(0x00000002) +#define LCS_GM_IMAGES __MSABI_LONG(0x00000004) + +#define CM_OUT_OF_GAMUT 255 +#define CM_IN_GAMUT 0 + +typedef struct tagCIEXYZ +{ + FXPT2DOT30 ciexyzX; + FXPT2DOT30 ciexyzY; + FXPT2DOT30 ciexyzZ; +} CIEXYZ, *LPCIEXYZ; + +typedef struct tagCIEXYZTRIPLE +{ + CIEXYZ ciexyzRed; + CIEXYZ ciexyzGreen; + CIEXYZ ciexyzBlue; +} CIEXYZTRIPLE, *LPCIEXYZTRIPLE; + +typedef struct tagLOGCOLORSPACEA +{ + DWORD lcsSignature; + DWORD lcsVersion; + DWORD lcsSize; + LCSCSTYPE lcsCSType; + LCSGAMUTMATCH lcsIntent; + CIEXYZTRIPLE lcsEndpoints; + DWORD lcsGammaRed; + DWORD lcsGammaGreen; + DWORD lcsGammaBlue; + CHAR lcsFilename[MAX_PATH]; +} LOGCOLORSPACEA, *LPLOGCOLORSPACEA; + +typedef struct tagLOGCOLORSPACEW +{ + DWORD lcsSignature; + DWORD lcsVersion; + DWORD lcsSize; + LCSCSTYPE lcsCSType; + LCSGAMUTMATCH lcsIntent; + CIEXYZTRIPLE lcsEndpoints; + DWORD lcsGammaRed; + DWORD lcsGammaGreen; + DWORD lcsGammaBlue; + WCHAR lcsFilename[MAX_PATH]; +} LOGCOLORSPACEW, *LPLOGCOLORSPACEW; + +DECL_WINELIB_TYPE_AW(LPLOGCOLORSPACE) +DECL_WINELIB_TYPE_AW(LOGCOLORSPACE) + +#define DC_FIELDS 1 +#define DC_PAPERS 2 +#define DC_PAPERSIZE 3 +#define DC_MINEXTENT 4 +#define DC_MAXEXTENT 5 +#define DC_BINS 6 +#define DC_DUPLEX 7 +#define DC_SIZE 8 +#define DC_EXTRA 9 +#define DC_VERSION 10 +#define DC_DRIVER 11 +#define DC_BINNAMES 12 +#define DC_ENUMRESOLUTIONS 13 +#define DC_FILEDEPENDENCIES 14 +#define DC_TRUETYPE 15 +#define DC_PAPERNAMES 16 +#define DC_ORIENTATION 17 +#define DC_COPIES 18 +#define DC_BINADJUST 19 +#define DC_EMF_COMPLIANT 20 +#define DC_DATATYPE_PRODUCED 21 +#define DC_COLLATE 22 +#define DC_MANUFACTURER 23 +#define DC_MODEL 24 +#define DC_PERSONALITY 25 +#define DC_PRINTRATE 26 +#define DC_PRINTRATEUNIT 27 +#define DC_PRINTERMEM 28 +#define DC_MEDIAREADY 29 +#define DC_STAPLE 30 +#define DC_PRINTRATEPPM 31 +#define DC_COLORDEVICE 32 +#define DC_NUP 33 +#define DC_MEDIATYPENAMES 34 +#define DC_MEDIATYPES 35 + +#define DCTT_BITMAP __MSABI_LONG(0x00000001) +#define DCTT_DOWNLOAD __MSABI_LONG(0x00000002) +#define DCTT_SUBDEV __MSABI_LONG(0x00000004) +#define DCTT_DOWNLOAD_OUTLINE __MSABI_LONG(0x00000008) + +#define DCBA_FACEUPNONE 0x0000 +#define DCBA_FACEUPCENTER 0x0001 +#define DCBA_FACEUPLEFT 0x0002 +#define DCBA_FACEUPRIGHT 0x0003 +#define DCBA_FACEDOWNNONE 0x0100 +#define DCBA_FACEDOWNCENTER 0x0101 +#define DCBA_FACEDOWNLEFT 0x0102 +#define DCBA_FACEDOWNRIGHT 0x0103 + +#define PRINTRATEUNIT_PPM 1 +#define PRINTRATEUNIT_CPS 2 +#define PRINTRATEUNIT_LPM 3 +#define PRINTRATEUNIT_IPM 4 + +/* Flag returned from Escape QUERYDIBSUPPORT */ +#define QDI_SETDIBITS 1 +#define QDI_GETDIBITS 2 +#define QDI_DIBTOSCREEN 4 +#define QDI_STRETCHDIB 8 + + +/* GDI Escape commands */ +#define NEWFRAME 1 +#define ABORTDOC 2 +#define NEXTBAND 3 +#define SETCOLORTABLE 4 +#define GETCOLORTABLE 5 +#define FLUSHOUTPUT 6 +#define DRAFTMODE 7 +#define QUERYESCSUPPORT 8 +#define SETABORTPROC 9 +#define STARTDOC 10 +#define ENDDOC 11 +#define GETPHYSPAGESIZE 12 +#define GETPRINTINGOFFSET 13 +#define GETSCALINGFACTOR 14 +#define MFCOMMENT 15 +#define GETPENWIDTH 16 +#define SETCOPYCOUNT 17 +#define SELECTPAPERSOURCE 18 +#define DEVICEDATA 19 +#define PASSTHROUGH 19 +#define GETTECHNOLGY 20 +#define GETTECHNOLOGY 20 /* yes, both of them */ +#define SETLINECAP 21 +#define SETLINEJOIN 22 +#define SETMITERLIMIT 23 +#define BANDINFO 24 +#define DRAWPATTERNRECT 25 +#define GETVECTORPENSIZE 26 +#define GETVECTORBRUSHSIZE 27 +#define ENABLEDUPLEX 28 +#define GETSETPAPERBINS 29 +#define GETSETPRINTORIENT 30 +#define ENUMPAPERBINS 31 +#define SETDIBSCALING 32 +#define EPSPRINTING 33 +#define ENUMPAPERMETRICS 34 +#define GETSETPAPERMETRICS 35 +#define POSTSCRIPT_DATA 37 +#define POSTSCRIPT_IGNORE 38 +#define MOUSETRAILS 39 +#define GETDEVICEUNITS 42 + +#define GETEXTENDEDTEXTMETRICS 256 +#define GETEXTENTTABLE 257 +#define GETPAIRKERNTABLE 258 +#define GETTRACKKERNTABLE 259 +#define EXTTEXTOUT 512 +#define GETFACENAME 513 +#define DOWNLOADFACE 514 +#define ENABLERELATIVEWIDTHS 768 +#define ENABLEPAIRKERNING 769 +#define SETKERNTRACK 770 +#define SETALLJUSTVALUES 771 +#define SETCHARSET 772 + +#define STRETCHBLT 2048 +#define GETSETSCREENPARAMS 3072 +#define QUERYDIBSUPPORT 3073 +#define BEGIN_PATH 4096 +#define CLIP_TO_PATH 4097 +#define END_PATH 4098 +#define EXT_DEVICE_CAPS 4099 +#define RESTORE_CTM 4100 +#define SAVE_CTM 4101 +#define SET_ARC_DIRECTION 4102 +#define SET_BACKGROUND_COLOR 4103 +#define SET_POLY_MODE 4104 +#define SET_SCREEN_ANGLE 4105 +#define SET_SPREAD 4106 +#define TRANSFORM_CTM 4107 +#define SET_CLIP_BOX 4108 +#define SET_BOUNDS 4109 +#define SET_MIRROR_MODE 4110 +#define OPENCHANNEL 4110 +#define DOWNLOADHEADER 4111 +#define CLOSECHANNEL 4112 +#define POSTSCRIPT_PASSTHROUGH 4115 +#define ENCAPSULATED_POSTSCRIPT 4116 +#define POSTSCRIPT_IDENTIFY 4117 +#define POSTSCRIPT_INJECTION 4118 +#define CHECKJPEGFORMAT 4119 +#define CHECKPNGFORMAT 4120 +#define GET_PS_FEATURESETTING 4121 +#define GDIPLUS_TS_QUERYVER 4122 +#define GDIPLUS_TS_RECORD 4123 + +/* for POSTSCRIPT_IDENTIFY */ +#define PSIDENT_GDICENTRIC 0 +#define PSIDENT_PSCENTRIC 1 + + +#define QDI_SETDIBITS 1 +#define QDI_GETDIBITS 2 +#define QDI_DIBTOSCREEN 4 +#define QDI_STRETCHDIB 8 + +/* Spooler Error Codes */ +#define SP_NOTREPORTED 0x4000 +#define SP_ERROR (-1) +#define SP_APPABORT (-2) +#define SP_USERABORT (-3) +#define SP_OUTOFDISK (-4) +#define SP_OUTOFMEMORY (-5) + +#define PR_JOBSTATUS 0 + + /* Raster operations */ + +#define R2_BLACK 1 +#define R2_NOTMERGEPEN 2 +#define R2_MASKNOTPEN 3 +#define R2_NOTCOPYPEN 4 +#define R2_MASKPENNOT 5 +#define R2_NOT 6 +#define R2_XORPEN 7 +#define R2_NOTMASKPEN 8 +#define R2_MASKPEN 9 +#define R2_NOTXORPEN 10 +#define R2_NOP 11 +#define R2_MERGENOTPEN 12 +#define R2_COPYPEN 13 +#define R2_MERGEPENNOT 14 +#define R2_MERGEPEN 15 +#define R2_WHITE 16 +#define R2_LAST 16 + +#define MAKEROP4(fore,back) (DWORD)((((back)<<8)&0xFF000000)|(fore)) + +#define SRCCOPY 0xcc0020 +#define SRCPAINT 0xee0086 +#define SRCAND 0x8800c6 +#define SRCINVERT 0x660046 +#define SRCERASE 0x440328 +#define NOTSRCCOPY 0x330008 +#define NOTSRCERASE 0x1100a6 +#define MERGECOPY 0xc000ca +#define MERGEPAINT 0xbb0226 +#define PATCOPY 0xf00021 +#define PATPAINT 0xfb0a09 +#define PATINVERT 0x5a0049 +#define DSTINVERT 0x550009 +#define BLACKNESS 0x000042 +#define WHITENESS 0xff0062 + + /* StretchBlt() modes */ +#define BLACKONWHITE 1 +#define WHITEONBLACK 2 +#define COLORONCOLOR 3 +#define HALFTONE 4 +#define MAXSTRETCHBLTMODE 4 + +#define STRETCH_ANDSCANS BLACKONWHITE +#define STRETCH_ORSCANS WHITEONBLACK +#define STRETCH_DELETESCANS COLORONCOLOR +#define STRETCH_HALFTONE HALFTONE + + /* Colors */ + +#define RGB(r,g,b) ((COLORREF)((BYTE)(r) | ((BYTE)(g) << 8) | ((BYTE)(b) << 16))) +#define PALETTERGB(r,g,b) (0x02000000 | RGB(r,g,b)) +#define PALETTEINDEX(i) ((COLORREF)(0x01000000 | (WORD)(i))) + +#define GetRValue(rgb) ((BYTE) (rgb) ) +#define GetGValue(rgb) ((BYTE) ((rgb) >> 8)) +#define GetBValue(rgb) ((BYTE) ((rgb) >> 16)) + +#define GetKValue(cmyk) ((BYTE) (cmyk) ) +#define GetYValue(cmyk) ((BYTE) ((cmyk) >> 8)) +#define GetMValue(cmyk) ((BYTE) ((cmyk) >> 16)) +#define GetCValue(cmyk) ((BYTE) ((cmyk) >> 24)) + +#define CMYK(c,m,y,k) ((COLORREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24))) + +/* ICM stuff */ +typedef INT (CALLBACK *ICMENUMPROCA)(LPSTR lpszFilename,LPARAM lParam); +typedef INT (CALLBACK *ICMENUMPROCW)(LPWSTR lpszFilename,LPARAM lParam); +DECL_WINELIB_TYPE_AW(ICMENUMPROC) + + +#define ICM_OFF 1 +#define ICM_ON 2 +#define ICM_QUERY 3 + + /* Bounds Accumulation APIs */ +#define DCB_RESET 0x0001 +#define DCB_ACCUMULATE 0x0002 +#define DCB_DIRTY DCB_ACCUMULATE +#define DCB_SET (DCB_RESET | DCB_ACCUMULATE) +#define DCB_ENABLE 0x0004 +#define DCB_DISABLE 0x0008 + +typedef struct +{ + LONG paXCount; + LONG paYCount; + LONG paXExt; + LONG paYExt; + BYTE paRGBs; +} PELARRAY, *PPELARRAY, *LPPELARRAY; + + /* Bitmaps */ + +typedef struct +{ + INT bmType; + INT bmWidth; + INT bmHeight; + INT bmWidthBytes; + WORD bmPlanes; + WORD bmBitsPixel; + LPVOID bmBits; +} BITMAP, *PBITMAP, *LPBITMAP; + + + /* Brushes */ + +typedef struct +{ + UINT lbStyle; + COLORREF lbColor; + ULONG_PTR lbHatch; +} LOGBRUSH, *PLOGBRUSH, *LPLOGBRUSH; + +typedef struct +{ + UINT lbStyle; + COLORREF lbColor; + ULONG lbHatch; +} LOGBRUSH32, *PLOGBRUSH32, *LPLOGBRUSH32; + +typedef LOGBRUSH PATTERN, *PPATTERN, *LPPATTERN; + + + /* Brush styles */ +#define BS_SOLID 0 +#define BS_NULL 1 +#define BS_HOLLOW 1 +#define BS_HATCHED 2 +#define BS_PATTERN 3 +#define BS_INDEXED 4 +#define BS_DIBPATTERN 5 +#define BS_DIBPATTERNPT 6 +#define BS_PATTERN8X8 7 +#define BS_DIBPATTERN8X8 8 +#define BS_MONOPATTERN 9 + + /* Hatch styles */ +#define HS_HORIZONTAL 0 +#define HS_VERTICAL 1 +#define HS_FDIAGONAL 2 +#define HS_BDIAGONAL 3 +#define HS_CROSS 4 +#define HS_DIAGCROSS 5 +#define HS_API_MAX 12 + + /* Fonts */ + +#define LF_FACESIZE 32 +#define LF_FULLFACESIZE 64 + +#define RASTER_FONTTYPE 0x0001 +#define DEVICE_FONTTYPE 0x0002 +#define TRUETYPE_FONTTYPE 0x0004 + +typedef struct tagLOGFONTA +{ + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + CHAR lfFaceName[LF_FACESIZE]; +} LOGFONTA, *PLOGFONTA, *LPLOGFONTA; + +typedef struct tagLOGFONTW +{ + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + WCHAR lfFaceName[LF_FACESIZE]; +} LOGFONTW, *PLOGFONTW, *LPLOGFONTW; + +DECL_WINELIB_TYPE_AW(LOGFONT) +DECL_WINELIB_TYPE_AW(PLOGFONT) +DECL_WINELIB_TYPE_AW(LPLOGFONT) + +typedef struct +{ + LOGFONTA elfLogFont; + BYTE elfFullName[LF_FULLFACESIZE]; + BYTE elfStyle[LF_FACESIZE]; +} ENUMLOGFONTA, *LPENUMLOGFONTA; + +typedef struct +{ + LOGFONTW elfLogFont; + WCHAR elfFullName[LF_FULLFACESIZE]; + WCHAR elfStyle[LF_FACESIZE]; +} ENUMLOGFONTW, *LPENUMLOGFONTW; + +DECL_WINELIB_TYPE_AW(ENUMLOGFONT) +DECL_WINELIB_TYPE_AW(LPENUMLOGFONT) + +typedef struct +{ + LOGFONTA elfLogFont; + BYTE elfFullName[LF_FULLFACESIZE]; + BYTE elfStyle[LF_FACESIZE]; + BYTE elfScript[LF_FACESIZE]; +} ENUMLOGFONTEXA,*LPENUMLOGFONTEXA; + +typedef struct +{ + LOGFONTW elfLogFont; + WCHAR elfFullName[LF_FULLFACESIZE]; + WCHAR elfStyle[LF_FACESIZE]; + WCHAR elfScript[LF_FACESIZE]; +} ENUMLOGFONTEXW,*LPENUMLOGFONTEXW; + +DECL_WINELIB_TYPE_AW(ENUMLOGFONTEX) +DECL_WINELIB_TYPE_AW(LPENUMLOGFONTEX) + +#define MM_MAX_NUMAXES 16 + +typedef struct +{ + DWORD dvReserved; + DWORD dvNumAxes; + LONG dvValues[MM_MAX_NUMAXES]; +} DESIGNVECTOR, *PDESIGNVECTOR; + +typedef struct +{ + ENUMLOGFONTEXA elfEnumLogfontEx; + DESIGNVECTOR elfDesignVector; +} ENUMLOGFONTEXDVA, *PENUMLOGFONTEXDVA; + +typedef struct +{ + ENUMLOGFONTEXW elfEnumLogfontEx; + DESIGNVECTOR elfDesignVector; +} ENUMLOGFONTEXDVW, *PENUMLOGFONTEXDVW; + +DECL_WINELIB_TYPE_AW(ENUMLOGFONTEXDV) +DECL_WINELIB_TYPE_AW(PENUMLOGFONTEXDV) + +/* + * The FONTSIGNATURE tells which Unicode ranges and which code pages + * have glyphs in a font. + * + * fsUsb 128-bit bitmap. The most significant bits are 10 (magic number). + * The remaining 126 bits map the Unicode ISO 10646 subranges + * for which the font provides glyphs. + * + * fsCsb 64-bit bitmap. The low 32 bits map the Windows codepages for + * which the font provides glyphs. The high 32 bits are for + * non Windows codepages. + */ +typedef struct +{ + DWORD fsUsb[4]; + DWORD fsCsb[2]; +} FONTSIGNATURE, *PFONTSIGNATURE, *LPFONTSIGNATURE; + +typedef struct +{ + UINT ciCharset; /* character set */ + UINT ciACP; /* ANSI code page */ + FONTSIGNATURE fs; +} CHARSETINFO, *PCHARSETINFO, *LPCHARSETINFO; + +/* Flags for TranslateCharsetInfo */ +#define TCI_SRCCHARSET 1 +#define TCI_SRCCODEPAGE 2 +#define TCI_SRCFONTSIG 3 + +typedef struct +{ + DWORD lsUsb[4]; + DWORD lsCsbDefault[2]; + DWORD lsCsbSupported[2]; +} LOCALESIGNATURE, *PLOCALESIGNATURE, *LPLOCALESIGNATURE; + + +/* Flags for ModifyWorldTransform */ +#define MWT_IDENTITY 1 +#define MWT_LEFTMULTIPLY 2 +#define MWT_RIGHTMULTIPLY 3 +#define MWT_MIN MWT_IDENTITY +#define MWT_MAX MWT_RIGHTMULTIPLY + +/* Object Definitions for EnumObjects() */ +#define OBJ_PEN 1 +#define OBJ_BRUSH 2 +#define OBJ_DC 3 +#define OBJ_METADC 4 +#define OBJ_PAL 5 +#define OBJ_FONT 6 +#define OBJ_BITMAP 7 +#define OBJ_REGION 8 +#define OBJ_METAFILE 9 +#define OBJ_MEMDC 10 +#define OBJ_EXTPEN 11 +#define OBJ_ENHMETADC 12 +#define OBJ_ENHMETAFILE 13 +#define OBJ_COLORSPACE 14 + +typedef struct tagXFORM +{ + FLOAT eM11; + FLOAT eM12; + FLOAT eM21; + FLOAT eM22; + FLOAT eDx; + FLOAT eDy; +} XFORM, *PXFORM, *LPXFORM; + + /* lfWeight values */ +#define FW_DONTCARE 0 +#define FW_THIN 100 +#define FW_EXTRALIGHT 200 +#define FW_ULTRALIGHT 200 +#define FW_LIGHT 300 +#define FW_NORMAL 400 +#define FW_REGULAR 400 +#define FW_MEDIUM 500 +#define FW_SEMIBOLD 600 +#define FW_DEMIBOLD 600 +#define FW_BOLD 700 +#define FW_EXTRABOLD 800 +#define FW_ULTRABOLD 800 +#define FW_HEAVY 900 +#define FW_BLACK 900 + + /* lfCharSet values */ +#define ANSI_CHARSET (BYTE)0 /* CP1252, ansi-0, iso8859-{1,15} */ +#define DEFAULT_CHARSET (BYTE)1 +#define SYMBOL_CHARSET (BYTE)2 +#define SHIFTJIS_CHARSET (BYTE)128 /* CP932 */ +#define HANGEUL_CHARSET (BYTE)129 /* CP949, ksc5601.1987-0 */ +#define HANGUL_CHARSET HANGEUL_CHARSET +#define GB2312_CHARSET (BYTE)134 /* CP936, gb2312.1980-0 */ +#define CHINESEBIG5_CHARSET (BYTE)136 /* CP950, big5.et-0 */ +#define GREEK_CHARSET (BYTE)161 /* CP1253 */ +#define TURKISH_CHARSET (BYTE)162 /* CP1254, -iso8859-9 */ +#define HEBREW_CHARSET (BYTE)177 /* CP1255, -iso8859-8 */ +#define ARABIC_CHARSET (BYTE)178 /* CP1256, -iso8859-6 */ +#define BALTIC_CHARSET (BYTE)186 /* CP1257, -iso8859-13 */ +#define VIETNAMESE_CHARSET (BYTE)163 /* CP1258 */ +#define RUSSIAN_CHARSET (BYTE)204 /* CP1251, -iso8859-5 */ +#define EE_CHARSET (BYTE)238 /* CP1250, -iso8859-2 */ +#define EASTEUROPE_CHARSET EE_CHARSET +#define THAI_CHARSET (BYTE)222 /* CP874, iso8859-11, tis620 */ +#define JOHAB_CHARSET (BYTE)130 /* korean (johab) CP1361 */ +#define MAC_CHARSET (BYTE)77 +#define OEM_CHARSET (BYTE)255 +/* I don't know if the values of *_CHARSET macros are defined in Windows + * or if we can choose them as we want. -- srtxg + */ +#define VISCII_CHARSET (BYTE)240 /* viscii1.1-1 */ +#define TCVN_CHARSET (BYTE)241 /* tcvn-0 */ +#define KOI8_CHARSET (BYTE)242 /* koi8-{r,u,ru} */ +#define ISO3_CHARSET (BYTE)243 /* iso8859-3 */ +#define ISO4_CHARSET (BYTE)244 /* iso8859-4 */ +#define ISO10_CHARSET (BYTE)245 /* iso8859-10 */ +#define CELTIC_CHARSET (BYTE)246 /* iso8859-14 */ + +#define FS_LATIN1 __MSABI_LONG(0x00000001) +#define FS_LATIN2 __MSABI_LONG(0x00000002) +#define FS_CYRILLIC __MSABI_LONG(0x00000004) +#define FS_GREEK __MSABI_LONG(0x00000008) +#define FS_TURKISH __MSABI_LONG(0x00000010) +#define FS_HEBREW __MSABI_LONG(0x00000020) +#define FS_ARABIC __MSABI_LONG(0x00000040) +#define FS_BALTIC __MSABI_LONG(0x00000080) +#define FS_VIETNAMESE __MSABI_LONG(0x00000100) +#define FS_THAI __MSABI_LONG(0x00010000) +#define FS_JISJAPAN __MSABI_LONG(0x00020000) +#define FS_CHINESESIMP __MSABI_LONG(0x00040000) +#define FS_WANSUNG __MSABI_LONG(0x00080000) +#define FS_CHINESETRAD __MSABI_LONG(0x00100000) +#define FS_JOHAB __MSABI_LONG(0x00200000) +#define FS_SYMBOL __MSABI_LONG(0x80000000) + + /* lfOutPrecision values */ +#define OUT_DEFAULT_PRECIS 0 +#define OUT_STRING_PRECIS 1 +#define OUT_CHARACTER_PRECIS 2 +#define OUT_STROKE_PRECIS 3 +#define OUT_TT_PRECIS 4 +#define OUT_DEVICE_PRECIS 5 +#define OUT_RASTER_PRECIS 6 +#define OUT_TT_ONLY_PRECIS 7 +#define OUT_OUTLINE_PRECIS 8 +#define OUT_SCREEN_OUTLINE_PRECIS 9 +#define OUT_PS_ONLY_PRECIS 10 + + /* lfClipPrecision values */ +#define CLIP_DEFAULT_PRECIS 0x00 +#define CLIP_CHARACTER_PRECIS 0x01 +#define CLIP_STROKE_PRECIS 0x02 +#define CLIP_MASK 0x0F +#define CLIP_LH_ANGLES 0x10 +#define CLIP_TT_ALWAYS 0x20 +#define CLIP_DFA_DISABLE 0x40 +#define CLIP_EMBEDDED 0x80 + + /* lfQuality values */ +#define DEFAULT_QUALITY 0 +#define DRAFT_QUALITY 1 +#define PROOF_QUALITY 2 +#define NONANTIALIASED_QUALITY 3 +#define ANTIALIASED_QUALITY 4 +#define CLEARTYPE_QUALITY 5 +#define CLEARTYPE_NATURAL_QUALITY 6 + + /* lfPitchAndFamily pitch values */ +#define DEFAULT_PITCH 0x00 +#define FIXED_PITCH 0x01 +#define VARIABLE_PITCH 0x02 +#define MONO_FONT 0x08 + +#define FF_DONTCARE 0x00 +#define FF_ROMAN 0x10 +#define FF_SWISS 0x20 +#define FF_MODERN 0x30 +#define FF_SCRIPT 0x40 +#define FF_DECORATIVE 0x50 + +#ifndef _TEXTMETRIC_DEFINED +#define _TEXTMETRIC_DEFINED + +typedef struct tagTEXTMETRICA +{ + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + BYTE tmFirstChar; + BYTE tmLastChar; + BYTE tmDefaultChar; + BYTE tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; +} TEXTMETRICA, *LPTEXTMETRICA, *PTEXTMETRICA; + +typedef struct tagTEXTMETRICW +{ + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + WCHAR tmFirstChar; + WCHAR tmLastChar; + WCHAR tmDefaultChar; + WCHAR tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; +} TEXTMETRICW, *LPTEXTMETRICW, *PTEXTMETRICW; + +DECL_WINELIB_TYPE_AW(TEXTMETRIC) +DECL_WINELIB_TYPE_AW(PTEXTMETRIC) +DECL_WINELIB_TYPE_AW(LPTEXTMETRIC) +#endif /* _TEXTMETRIC_DEFINED */ + + +typedef struct tagPANOSE +{ + BYTE bFamilyType; + BYTE bSerifStyle; + BYTE bWeight; + BYTE bProportion; + BYTE bContrast; + BYTE bStrokeVariation; + BYTE bArmStyle; + BYTE bLetterform; + BYTE bMidline; + BYTE bXHeight; +} PANOSE, *LPPANOSE; + +#define PANOSE_COUNT 10 + +#define PAN_FAMILYTYPE_INDEX 0 +#define PAN_SERIFSTYLE_INDEX 1 +#define PAN_WEIGHT_INDEX 2 +#define PAN_PROPORTION_INDEX 3 +#define PAN_CONTRAST_INDEX 4 +#define PAN_STROKEVARIATION_INDEX 5 +#define PAN_ARMSTYLE_INDEX 6 +#define PAN_LETTERFORM_INDEX 7 +#define PAN_MIDLINE_INDEX 8 +#define PAN_XHEIGHT_INDEX 9 + +#define PAN_CULTURE_LATIN 0 + +#define PAN_ANY 0 +#define PAN_NO_FIT 1 + +#define PAN_FAMILY_TEXT_DISPLAY 2 +#define PAN_FAMILY_SCRIPT 3 +#define PAN_FAMILY_DECORATIVE 4 +#define PAN_FAMILY_PICTORIAL 5 + +#define PAN_SERIF_COVE 2 +#define PAN_SERIF_OBTUSE_COVE 3 +#define PAN_SERIF_SQUARE_COVE 4 +#define PAN_SERIF_OBTUSE_SQUARE_COVE 5 +#define PAN_SERIF_SQUARE 6 +#define PAN_SERIF_THIN 7 +#define PAN_SERIF_BONE 8 +#define PAN_SERIF_EXAGGERATED 9 +#define PAN_SERIF_TRIANGLE 10 +#define PAN_SERIF_NORMAL_SANS 11 +#define PAN_SERIF_OBTUSE_SANS 12 +#define PAN_SERIF_PERP_SANS 13 +#define PAN_SERIF_FLARED 14 +#define PAN_SERIF_ROUNDED 15 + +#define PAN_WEIGHT_VERY_LIGHT 2 +#define PAN_WEIGHT_LIGHT 3 +#define PAN_WEIGHT_THIN 4 +#define PAN_WEIGHT_BOOK 5 +#define PAN_WEIGHT_MEDIUM 6 +#define PAN_WEIGHT_DEMI 7 +#define PAN_WEIGHT_BOLD 8 +#define PAN_WEIGHT_HEAVY 9 +#define PAN_WEIGHT_BLACK 10 +#define PAN_WEIGHT_NORD 11 + +#define PAN_PROP_OLD_STYLE 2 +#define PAN_PROP_MODERN 3 +#define PAN_PROP_EVEN_WIDTH 4 +#define PAN_PROP_EXPANDED 5 +#define PAN_PROP_CONDENSED 6 +#define PAN_PROP_VERY_EXPANDED 7 +#define PAN_PROP_VERY_CONDENSED 8 +#define PAN_PROP_MONOSPACED 9 + +#define PAN_CONTRAST_NONE 2 +#define PAN_CONTRAST_VERY_LOW 3 +#define PAN_CONTRAST_LOW 4 +#define PAN_CONTRAST_MEDIUM_LOW 5 +#define PAN_CONTRAST_MEDIUM 6 +#define PAN_CONTRAST_MEDIUM_HIGH 7 +#define PAN_CONTRAST_HIGH 8 +#define PAN_CONTRAST_VERY_HIGH 9 + +#define PAN_STROKE_GRADUAL_DIAG 2 +#define PAN_STROKE_GRADUAL_TRAN 3 +#define PAN_STROKE_GRADUAL_VERT 4 +#define PAN_STROKE_GRADUAL_HORZ 5 +#define PAN_STROKE_RAPID_VERT 6 +#define PAN_STROKE_RAPID_HORZ 7 +#define PAN_STROKE_INSTANT_VERT 8 + +#define PAN_STRAIGHT_ARMS_HORZ 2 +#define PAN_STRAIGHT_ARMS_WEDGE 3 +#define PAN_STRAIGHT_ARMS_VERT 4 +#define PAN_STRAIGHT_ARMS_SINGLE_SERIF 5 +#define PAN_STRAIGHT_ARMS_DOUBLE_SERIF 6 +#define PAN_BENT_ARMS_HORZ 7 +#define PAN_BENT_ARMS_WEDGE 8 +#define PAN_BENT_ARMS_VERT 9 +#define PAN_BENT_ARMS_SINGLE_SERIF 10 +#define PAN_BENT_ARMS_DOUBLE_SERIF 11 + +#define PAN_LETT_NORMAL_COMPACT 2 +#define PAN_LETT_NORMAL_WEIGHTED 3 +#define PAN_LETT_NORMAL_BOXED 4 +#define PAN_LETT_NORMAL_FLATTENED 5 +#define PAN_LETT_NORMAL_ROUNDED 6 +#define PAN_LETT_NORMAL_OFF_CENTER 7 +#define PAN_LETT_NORMAL_SQUARE 8 +#define PAN_LETT_OBLIQUE_COMPACT 9 +#define PAN_LETT_OBLIQUE_WEIGHTED 10 +#define PAN_LETT_OBLIQUE_BOXED 11 +#define PAN_LETT_OBLIQUE_FLATTENED 12 +#define PAN_LETT_OBLIQUE_ROUNDED 13 +#define PAN_LETT_OBLIQUE_OFF_CENTER 14 +#define PAN_LETT_OBLIQUE_SQUARE 15 + +#define PAN_MIDLINE_STANDARD_TRIMMED 2 +#define PAN_MIDLINE_STANDARD_POINTED 3 +#define PAN_MIDLINE_STANDARD_SERIFED 4 +#define PAN_MIDLINE_HIGH_TRIMMED 5 +#define PAN_MIDLINE_HIGH_POINTED 6 +#define PAN_MIDLINE_HIGH_SERIFED 7 +#define PAN_MIDLINE_CONSTANT_TRIMMED 8 +#define PAN_MIDLINE_CONSTANT_POINTED 9 +#define PAN_MIDLINE_CONSTANT_SERIFED 10 +#define PAN_MIDLINE_LOW_TRIMMED 11 +#define PAN_MIDLINE_LOW_POINTED 12 +#define PAN_MIDLINE_LOW_SERIFED 13 + +#define PAN_XHEIGHT_CONSTANT_SMALL 2 +#define PAN_XHEIGHT_CONSTANT_STANDARD 3 +#define PAN_XHEIGHT_CONSTANT_LARGE 4 +#define PAN_XHEIGHT_DUCKING_SMALL 5 +#define PAN_XHEIGHT_DUCKING_STANDARD 6 +#define PAN_XHEIGHT_DUCKING_LARGE 7 + +#define ELF_VENDOR_SIZE 4 +typedef struct +{ + LOGFONTA elfLogFont; + BYTE elfFullName[LF_FULLFACESIZE]; + BYTE elfStyle[LF_FACESIZE]; + DWORD elfVersion; + DWORD elfStyleSize; + DWORD elfMatch; + DWORD elfReserved; + BYTE elfVendorId[ELF_VENDOR_SIZE]; + DWORD elfCulture; + PANOSE elfPanose; +} EXTLOGFONTA, *PEXTLOGFONTA, *LPEXTLOGFONTA; + +typedef struct +{ + LOGFONTW elfLogFont; + WCHAR elfFullName[LF_FULLFACESIZE]; + WCHAR elfStyle[LF_FACESIZE]; + DWORD elfVersion; + DWORD elfStyleSize; + DWORD elfMatch; + DWORD elfReserved; + BYTE elfVendorId[ELF_VENDOR_SIZE]; + DWORD elfCulture; + PANOSE elfPanose; +} EXTLOGFONTW, *PEXTLOGFONTW, *LPEXTLOGFONTW; + +DECL_WINELIB_TYPE_AW(EXTLOGFONT) +DECL_WINELIB_TYPE_AW(PEXTLOGFONT) +DECL_WINELIB_TYPE_AW(LPEXTLOGFONT) + +#define ELF_VERSION 0 +#define ELF_CULTURE_LATIN 0 + +typedef struct _OUTLINETEXTMETRICA +{ + UINT otmSize; + TEXTMETRICA otmTextMetrics; + BYTE otmFiller; + PANOSE otmPanoseNumber; + UINT otmfsSelection; + UINT otmfsType; + INT otmsCharSlopeRise; + INT otmsCharSlopeRun; + INT otmItalicAngle; + UINT otmEMSquare; + INT otmAscent; + INT otmDescent; + UINT otmLineGap; + UINT otmsCapEmHeight; + UINT otmsXHeight; + RECT otmrcFontBox; + INT otmMacAscent; + INT otmMacDescent; + UINT otmMacLineGap; + UINT otmusMinimumPPEM; + POINT otmptSubscriptSize; + POINT otmptSubscriptOffset; + POINT otmptSuperscriptSize; + POINT otmptSuperscriptOffset; + UINT otmsStrikeoutSize; + INT otmsStrikeoutPosition; + INT otmsUnderscoreSize; + INT otmsUnderscorePosition; + LPSTR otmpFamilyName; + LPSTR otmpFaceName; + LPSTR otmpStyleName; + LPSTR otmpFullName; +} OUTLINETEXTMETRICA, *POUTLINETEXTMETRICA, *LPOUTLINETEXTMETRICA; + +typedef struct _OUTLINETEXTMETRICW +{ + UINT otmSize; + TEXTMETRICW otmTextMetrics; + BYTE otmFiller; + PANOSE otmPanoseNumber; + UINT otmfsSelection; + UINT otmfsType; + INT otmsCharSlopeRise; + INT otmsCharSlopeRun; + INT otmItalicAngle; + UINT otmEMSquare; + INT otmAscent; + INT otmDescent; + UINT otmLineGap; + UINT otmsCapEmHeight; + UINT otmsXHeight; + RECT otmrcFontBox; + INT otmMacAscent; + INT otmMacDescent; + UINT otmMacLineGap; + UINT otmusMinimumPPEM; + POINT otmptSubscriptSize; + POINT otmptSubscriptOffset; + POINT otmptSuperscriptSize; + POINT otmptSuperscriptOffset; + UINT otmsStrikeoutSize; + INT otmsStrikeoutPosition; + INT otmsUnderscoreSize; + INT otmsUnderscorePosition; + LPSTR otmpFamilyName; + LPSTR otmpFaceName; + LPSTR otmpStyleName; + LPSTR otmpFullName; +} OUTLINETEXTMETRICW, *POUTLINETEXTMETRICW, *LPOUTLINETEXTMETRICW; + +DECL_WINELIB_TYPE_AW(OUTLINETEXTMETRIC) +DECL_WINELIB_TYPE_AW(POUTLINETEXTMETRIC) +DECL_WINELIB_TYPE_AW(LPOUTLINETEXTMETRIC) + +typedef struct +{ + INT x; + INT y; + UINT n; + LPCSTR lpstr; + UINT uiFlags; + RECT rcl; + INT *pdx; +} POLYTEXTA, *PPOLYTEXTA, *LPPOLYTEXTA; + +typedef struct +{ + INT x; + INT y; + UINT n; + LPCWSTR lpstr; + UINT uiFlags; + RECT rcl; + INT *pdx; +} POLYTEXTW, *PPOLYTEXTW, *LPPOLYTEXTW; + +DECL_WINELIB_TYPE_AW(POLYTEXT) +DECL_WINELIB_TYPE_AW(PPOLYTEXT) +DECL_WINELIB_TYPE_AW(LPPOLYTEXT) + + +/* ntmFlags field flags */ +#define NTM_REGULAR __MSABI_LONG(0x00000040) +#define NTM_BOLD __MSABI_LONG(0x00000020) +#define NTM_ITALIC __MSABI_LONG(0x00000001) + +#define NTM_NONNEGATIVE_AC 0x00010000 +#define NTM_PS_OPENTYPE 0x00020000 +#define NTM_TT_OPENTYPE 0x00040000 +#define NTM_MULTIPLEMASTER 0x00080000 +#define NTM_TYPE1 0x00100000 +#define NTM_DSIG 0x00200000 + + +typedef struct +{ + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + BYTE tmFirstChar; + BYTE tmLastChar; + BYTE tmDefaultChar; + BYTE tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; + DWORD ntmFlags; + UINT ntmSizeEM; + UINT ntmCellHeight; + UINT ntmAvgWidth; +} NEWTEXTMETRICA, *PNEWTEXTMETRICA, *LPNEWTEXTMETRICA; + +typedef struct +{ + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + WCHAR tmFirstChar; + WCHAR tmLastChar; + WCHAR tmDefaultChar; + WCHAR tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; + DWORD ntmFlags; + UINT ntmSizeEM; + UINT ntmCellHeight; + UINT ntmAvgWidth; +} NEWTEXTMETRICW, *PNEWTEXTMETRICW, *LPNEWTEXTMETRICW; + +DECL_WINELIB_TYPE_AW(NEWTEXTMETRIC) +DECL_WINELIB_TYPE_AW(PNEWTEXTMETRIC) +DECL_WINELIB_TYPE_AW(LPNEWTEXTMETRIC) + +typedef struct +{ + NEWTEXTMETRICA ntmTm; + FONTSIGNATURE ntmFontSig; +} NEWTEXTMETRICEXA; + +typedef struct +{ + NEWTEXTMETRICW ntmTm; + FONTSIGNATURE ntmFontSig; +} NEWTEXTMETRICEXW; + +DECL_WINELIB_TYPE_AW(NEWTEXTMETRICEX) + +#if defined(STRICT) + +#if !defined(NOTEXTMETRIC) +typedef int (CALLBACK *OLDFONTENUMPROCA)(const LOGFONTA *, const TEXTMETRICA *, DWORD, LPARAM); +typedef int (CALLBACK *OLDFONTENUMPROCW)(const LOGFONTW *, const TEXTMETRICW *, DWORD, LPARAM); +#else /* !defined(NOTEXTMETRIC) */ +typedef int (CALLBACK *OLDFONTENUMPROCA)(const LOGFONTA *, const VOID *, DWORD, LPARAM); +typedef int (CALLBACK *OLDFONTENUMPROCW)(const LOGFONTW *, const VOID *, DWORD, LPARAM); +#endif /* !defined(NOTEXTMETRIC) */ +DECL_WINELIB_TYPE_AW(OLDFONTENUMPROC) + +typedef OLDFONTENUMPROCA FONTENUMPROCA; +typedef OLDFONTENUMPROCW FONTENUMPROCW; +DECL_WINELIB_TYPE_AW(FONTENUMPROC) + +typedef INT (CALLBACK *GOBJENUMPROC)(LPVOID, LPARAM); +typedef VOID (CALLBACK *LINEDDAPROC)(INT, INT, LPARAM); + +#else /* defined(STRICT) */ + +typedef FARPROC OLDFONTENUMPROC; + +typedef FARPROC FONTENUMPROCA; +typedef FARPROC FONTENUMPROCW; +DECL_WINELIB_TYPE_AW(FONTENUMPROC) + +typedef FARPROC GOBJENUMPROC; +typedef FARPROC LINEDDAPROC; + +#endif /* defined(STRICT) */ + + /* tmPitchAndFamily bits */ +#define TMPF_FIXED_PITCH 1 /* means variable pitch */ +#define TMPF_VECTOR 2 +#define TMPF_TRUETYPE 4 +#define TMPF_DEVICE 8 + + /* Text alignment */ +#define TA_NOUPDATECP 0x00 +#define TA_UPDATECP 0x01 +#define TA_LEFT 0x00 +#define TA_RIGHT 0x02 +#define TA_CENTER 0x06 +#define TA_TOP 0x00 +#define TA_BOTTOM 0x08 +#define TA_BASELINE 0x18 +#define TA_RTLREADING 0x100 +#define TA_MASK TA_BASELINE+TA_CENTER+TA_UPDATECP+TA_RTLREADING + +#define VTA_BASELINE TA_BASELINE +#define VTA_LEFT TA_BOTTOM +#define VTA_RIGHT TA_TOP +#define VTA_CENTER TA_CENTER +#define VTA_BOTTOM TA_RIGHT +#define VTA_TOP TA_LEFT + + + /* ExtTextOut() parameters */ +#define ETO_GRAYED 0x0001 +#define ETO_OPAQUE 0x0002 +#define ETO_CLIPPED 0x0004 +#define ETO_GLYPH_INDEX 0x0010 +#define ETO_RTLREADING 0x0080 +#define ETO_NUMERICSLOCAL 0x0400 +#define ETO_NUMERICSLATIN 0x0800 +#define ETO_IGNORELANGUAGE 0x1000 +#define ETO_PDY 0x2000 + +#define ASPECT_FILTERING 0x0001 + + /* for GetGlyphIndices() */ +#define GGI_MARK_NONEXISTING_GLYPHS 0x0001 + +typedef struct +{ + UINT gmBlackBoxX; + UINT gmBlackBoxY; + POINT gmptGlyphOrigin; + SHORT gmCellIncX; + SHORT gmCellIncY; +} GLYPHMETRICS, *LPGLYPHMETRICS; + + +#define GGO_METRICS 0 +#define GGO_BITMAP 1 +#define GGO_NATIVE 2 +#define GGO_BEZIER 3 +#define GGO_GRAY2_BITMAP 4 +#define GGO_GRAY4_BITMAP 5 +#define GGO_GRAY8_BITMAP 6 +#define GGO_GLYPH_INDEX 0x80 +#define GGO_UNHINTED 0x100 + +#ifdef __WINESRC__ +#define WINE_GGO_GRAY16_BITMAP 0x10 +#define WINE_GGO_HRGB_BITMAP 0x11 +#define WINE_GGO_HBGR_BITMAP 0x12 +#define WINE_GGO_VRGB_BITMAP 0x13 +#define WINE_GGO_VBGR_BITMAP 0x14 +#define WINE_GGO_NO_SCALE 0x1000 +#endif + +typedef struct +{ + WORD fract; + SHORT value; +} FIXED; + +typedef struct tagPOINTFX +{ + FIXED x; + FIXED y; +} POINTFX, *LPPOINTFX; + +typedef struct tagTTPOLYCURVE +{ + WORD wType; + WORD cpfx; + POINTFX apfx[1]; +} TTPOLYCURVE, *LPTTPOLYCURVE; + +typedef struct tagTTPOLYGONHEADER +{ + DWORD cb; + DWORD dwType; + POINTFX pfxStart; +} TTPOLYGONHEADER, *LPTTPOLYGONHEADER; + +typedef struct +{ + FIXED eM11; + FIXED eM12; + FIXED eM21; + FIXED eM22; +} MAT2, *LPMAT2; + + /* for GetCharABCWidths() */ +typedef struct +{ + INT abcA; + UINT abcB; + INT abcC; +} ABC, *PABC, *LPABC; + + + /* for GetCharacterPlacement () */ + +#define GCP_DBCS 0x0001 +#define GCP_REORDER 0x0002 +#define GCP_USEKERNING 0x0008 +#define GCP_GLYPHSHAPE 0x0010 +#define GCP_LIGATE 0x0020 +#define GCP_DIACRITIC 0x0100 +#define GCP_KASHIDA 0x0200 +#define GCP_ERROR 0x8000 +#define FLI_MASK 0x103b +#define GCP_JUSTIFY __MSABI_LONG(0x00010000) +#define FLI_GLYPHS __MSABI_LONG(0x00040000) +#define GCP_CLASSIN __MSABI_LONG(0x00080000) +#define GCP_MAXEXTENT __MSABI_LONG(0x00100000) +#define GCP_JUSTIFYIN __MSABI_LONG(0x00200000) +#define GCP_DISPLAYZWG __MSABI_LONG(0x00400000) +#define GCP_SYMSWAPOFF __MSABI_LONG(0x00800000) +#define GCP_NUMERICOVERRIDE __MSABI_LONG(0x01000000) +#define GCP_NEUTRALOVERRIDE __MSABI_LONG(0x02000000) +#define GCP_NUMERICSLATIN __MSABI_LONG(0x04000000) +#define GCP_NUMERICSLOCAL __MSABI_LONG(0x08000000) + +#define GCPCLASS_LATIN 1 +#define GCPCLASS_HEBREW 2 +#define GCPCLASS_ARABIC 3 +#define GCPCLASS_NEUTRAL 4 +#define GCPCLASS_LOCALNUMBER 5 +#define GCPCLASS_LATINNUMBER 6 +#define GCPCLASS_LATINNUMERICTERMINATOR 7 +#define GCPCLASS_LATINNUMERICSEPARATOR 8 +#define GCPCLASS_NUMERICSEPARATOR 9 +#define GCPCLASS_PREBOUNDLTR 0x80 +#define GCPCLASS_PREBOUNDRTL 0x40 +#define GCPCLASS_POSTBOUNDLTR 0x20 +#define GCPCLASS_POSTBOUNDRTL 0x10 + +#define GCPGLYPH_LINKBEFORE 0x8000 +#define GCPGLYPH_LINKAFTER 0x4000 + + +typedef struct tagGCP_RESULTSA{ + DWORD lStructSize; + LPSTR lpOutString; + UINT *lpOrder; + INT *lpDx; + INT *lpCaretPos; + LPSTR lpClass; + LPWSTR lpGlyphs; + UINT nGlyphs; + UINT nMaxFit; +} GCP_RESULTSA, *LPGCP_RESULTSA; + +typedef struct tagGCP_RESULTSW +{ + DWORD lStructSize; + LPWSTR lpOutString; + UINT *lpOrder; + INT *lpDx; + INT *lpCaretPos; + LPSTR lpClass; + LPWSTR lpGlyphs; + UINT nGlyphs; + UINT nMaxFit; +} GCP_RESULTSW, *LPGCP_RESULTSW; + +DECL_WINELIB_TYPE_AW(GCP_RESULTS) +DECL_WINELIB_TYPE_AW(LPGCP_RESULTS) + + /* Rasterizer status */ +typedef struct +{ + SHORT nSize; + SHORT wFlags; + SHORT nLanguageID; +} RASTERIZER_STATUS, *LPRASTERIZER_STATUS; + +#define TT_AVAILABLE 0x0001 +#define TT_ENABLED 0x0002 + +#define TT_PRIM_LINE 1 +#define TT_PRIM_QSPLINE 2 +#define TT_PRIM_CSPLINE 3 +#define TT_POLYGON_TYPE 24 + + /* OpenGL defines */ +typedef struct { + FLOAT x; + FLOAT y; +} POINTFLOAT, *PPOINTFLOAT; + +typedef struct { + FLOAT gmfBlackBoxX; + FLOAT gmfBlackBoxY; + POINTFLOAT gmfptGlyphOrigin; + FLOAT gmfCellIncX; + FLOAT gmfCellIncY; +} GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; + +typedef struct { + WORD nSize; + WORD nVersion; + DWORD dwFlags; + BYTE iPixelType; + BYTE cColorBits; + BYTE cRedBits; + BYTE cRedShift; + BYTE cGreenBits; + BYTE cGreenShift; + BYTE cBlueBits; + BYTE cBlueShift; + BYTE cAlphaBits; + BYTE cAlphaShift; + BYTE cAccumBits; + BYTE cAccumRedBits; + BYTE cAccumGreenBits; + BYTE cAccumBlueBits; + BYTE cAccumAlphaBits; + BYTE cDepthBits; + BYTE cStencilBits; + BYTE cAuxBuffers; + BYTE iLayerPlane; + BYTE bReserved; + COLORREF crTransparent; +} LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; + +/* Get/SetSystemPaletteUse() values */ +#define SYSPAL_ERROR 0 +#define SYSPAL_STATIC 1 +#define SYSPAL_NOSTATIC 2 +#define SYSPAL_NOSTATIC256 3 + +#ifndef _PALETTEENTRY_DEFINED +#define _PALETTEENTRY_DEFINED +typedef struct tagPALETTEENTRY +{ + BYTE peRed, peGreen, peBlue, peFlags; +} PALETTEENTRY, *PPALETTEENTRY, *LPPALETTEENTRY; +#endif + +/* Logical palette entry flags */ +#define PC_RESERVED 0x01 +#define PC_EXPLICIT 0x02 +#define PC_NOCOLLAPSE 0x04 + +#ifndef _LOGPALETTE_DEFINED +#define _LOGPALETTE_DEFINED +typedef struct tagLOGPALETTE +{ + WORD palVersion; + WORD palNumEntries; + PALETTEENTRY palPalEntry[1]; +} LOGPALETTE, *PLOGPALETTE, *LPLOGPALETTE, *NPLOGPALETTE; +#endif + + /* Pens */ + +typedef struct +{ + UINT lopnStyle; + POINT lopnWidth; + COLORREF lopnColor; +} LOGPEN, *LPLOGPEN; + + +typedef struct tagEXTLOGPEN +{ + DWORD elpPenStyle; + DWORD elpWidth; + UINT elpBrushStyle; + COLORREF elpColor; + ULONG_PTR elpHatch; + DWORD elpNumEntries; + DWORD elpStyleEntry[1]; +} EXTLOGPEN, *PEXTLOGPEN, *NPEXTLOGPEN, *LPEXTLOGPEN; + +#define PS_SOLID 0x00000000 +#define PS_DASH 0x00000001 +#define PS_DOT 0x00000002 +#define PS_DASHDOT 0x00000003 +#define PS_DASHDOTDOT 0x00000004 +#define PS_NULL 0x00000005 +#define PS_INSIDEFRAME 0x00000006 +#define PS_USERSTYLE 0x00000007 +#define PS_ALTERNATE 0x00000008 +#define PS_STYLE_MASK 0x0000000f + +#define PS_ENDCAP_ROUND 0x00000000 +#define PS_ENDCAP_SQUARE 0x00000100 +#define PS_ENDCAP_FLAT 0x00000200 +#define PS_ENDCAP_MASK 0x00000f00 + +#define PS_JOIN_ROUND 0x00000000 +#define PS_JOIN_BEVEL 0x00001000 +#define PS_JOIN_MITER 0x00002000 +#define PS_JOIN_MASK 0x0000f000 + +#define PS_COSMETIC 0x00000000 +#define PS_GEOMETRIC 0x00010000 +#define PS_TYPE_MASK 0x000f0000 + + /* Regions */ + +#define ERROR 0 +#define NULLREGION 1 +#define SIMPLEREGION 2 +#define COMPLEXREGION 3 +#define RGN_ERROR ERROR + +#define RGN_AND 1 +#define RGN_OR 2 +#define RGN_XOR 3 +#define RGN_DIFF 4 +#define RGN_COPY 5 +#define RGN_MIN RGN_AND +#define RGN_MAX RGN_COPY + +#define SYSRGN 4 + + /* Device contexts */ + + /* Polygon modes */ +#define ALTERNATE 1 +#define WINDING 2 +#define POLYFILL_LAST 2 + +/* Background modes */ +/* Apparently some broken svr4 includes define TRANSPARENT */ +#undef TRANSPARENT +#define TRANSPARENT 1 +#define OPAQUE 2 +#define BKMODE_LAST 2 + + /* Graphics Modes */ +#define GM_COMPATIBLE 1 +#define GM_ADVANCED 2 +#define GM_LAST 2 + + /* Arc direction modes */ +#define AD_COUNTERCLOCKWISE 1 +#define AD_CLOCKWISE 2 + + /* Map modes */ +#define MM_TEXT 1 +#define MM_LOMETRIC 2 +#define MM_HIMETRIC 3 +#define MM_LOENGLISH 4 +#define MM_HIENGLISH 5 +#define MM_TWIPS 6 +#define MM_ISOTROPIC 7 +#define MM_ANISOTROPIC 8 + +#define MM_MIN MM_TEXT +#define MM_MAX MM_ANISOTROPIC +#define MM_MAX_FIXEDSCALE MM_TWIPS + + /* Coordinate modes */ +#define ABSOLUTE 1 +#define RELATIVE 2 + + /* Flood fill modes */ +#define FLOODFILLBORDER 0 +#define FLOODFILLSURFACE 1 + + /* Device parameters for GetDeviceCaps() */ +#define DRIVERVERSION 0 +#define TECHNOLOGY 2 +#define HORZSIZE 4 +#define VERTSIZE 6 +#define HORZRES 8 +#define VERTRES 10 +#define BITSPIXEL 12 +#define PLANES 14 +#define NUMBRUSHES 16 +#define NUMPENS 18 +#define NUMMARKERS 20 +#define NUMFONTS 22 +#define NUMCOLORS 24 +#define PDEVICESIZE 26 +#define CURVECAPS 28 +#define LINECAPS 30 +#define POLYGONALCAPS 32 +#define TEXTCAPS 34 +#define CLIPCAPS 36 +#define RASTERCAPS 38 +#define ASPECTX 40 +#define ASPECTY 42 +#define ASPECTXY 44 +#define LOGPIXELSX 88 +#define LOGPIXELSY 90 +#define CAPS1 94 +#define SIZEPALETTE 104 +#define NUMRESERVED 106 +#define COLORRES 108 + +#define PHYSICALWIDTH 110 +#define PHYSICALHEIGHT 111 +#define PHYSICALOFFSETX 112 +#define PHYSICALOFFSETY 113 +#define SCALINGFACTORX 114 +#define SCALINGFACTORY 115 +#define VREFRESH 116 +#define DESKTOPVERTRES 117 +#define DESKTOPHORZRES 118 +#define BLTALIGNMENT 119 +#define SHADEBLENDCAPS 120 +#define COLORMGMTCAPS 121 + +/* TECHNOLOGY */ +#define DT_PLOTTER 0 +#define DT_RASDISPLAY 1 +#define DT_RASPRINTER 2 +#define DT_RASCAMERA 3 +#define DT_CHARSTREAM 4 +#define DT_METAFILE 5 +#define DT_DISPFILE 6 + +/* CURVECAPS */ +#define CC_NONE 0x0000 +#define CC_CIRCLES 0x0001 +#define CC_PIE 0x0002 +#define CC_CHORD 0x0004 +#define CC_ELLIPSES 0x0008 +#define CC_WIDE 0x0010 +#define CC_STYLED 0x0020 +#define CC_WIDESTYLED 0x0040 +#define CC_INTERIORS 0x0080 +#define CC_ROUNDRECT 0x0100 + +/* LINECAPS */ +#define LC_NONE 0x0000 +#define LC_POLYLINE 0x0002 +#define LC_MARKER 0x0004 +#define LC_POLYMARKER 0x0008 +#define LC_WIDE 0x0010 +#define LC_STYLED 0x0020 +#define LC_WIDESTYLED 0x0040 +#define LC_INTERIORS 0x0080 + +/* POLYGONALCAPS */ +#define PC_NONE 0x0000 +#define PC_POLYGON 0x0001 +#define PC_RECTANGLE 0x0002 +#define PC_WINDPOLYGON 0x0004 +#define PC_TRAPEZOID 0x0004 +#define PC_SCANLINE 0x0008 +#define PC_WIDE 0x0010 +#define PC_STYLED 0x0020 +#define PC_WIDESTYLED 0x0040 +#define PC_INTERIORS 0x0080 +#define PC_POLYPOLYGON 0x0100 +#define PC_PATHS 0x0200 + +/* TEXTCAPS */ +#define TC_OP_CHARACTER 0x0001 +#define TC_OP_STROKE 0x0002 +#define TC_CP_STROKE 0x0004 +#define TC_CR_90 0x0008 +#define TC_CR_ANY 0x0010 +#define TC_SF_X_YINDEP 0x0020 +#define TC_SA_DOUBLE 0x0040 +#define TC_SA_INTEGER 0x0080 +#define TC_SA_CONTIN 0x0100 +#define TC_EA_DOUBLE 0x0200 +#define TC_IA_ABLE 0x0400 +#define TC_UA_ABLE 0x0800 +#define TC_SO_ABLE 0x1000 +#define TC_RA_ABLE 0x2000 +#define TC_VA_ABLE 0x4000 +#define TC_RESERVED 0x8000 +#define TC_SCROLLBLT 0x00010000 + +/* CLIPCAPS */ +#define CP_NONE 0x0000 +#define CP_RECTANGLE 0x0001 +#define CP_REGION 0x0002 + +/* RASTERCAPS */ +#define RC_NONE 0x0000 +#define RC_BITBLT 0x0001 +#define RC_BANDING 0x0002 +#define RC_SCALING 0x0004 +#define RC_BITMAP64 0x0008 +#define RC_GDI20_OUTPUT 0x0010 +#define RC_GDI20_STATE 0x0020 +#define RC_SAVEBITMAP 0x0040 +#define RC_DI_BITMAP 0x0080 +#define RC_PALETTE 0x0100 +#define RC_DIBTODEV 0x0200 +#define RC_BIGFONT 0x0400 +#define RC_STRETCHBLT 0x0800 +#define RC_FLOODFILL 0x1000 +#define RC_STRETCHDIB 0x2000 +#define RC_OP_DX_OUTPUT 0x4000 +#define RC_DEVBITS 0x8000 + +/* CAPS1 */ +#define C1_TRANSPARENT 0x0001 +#define TC_TT_ABLE 0x0002 +#define C1_TT_CR_ANY 0x0004 +#define C1_EMF_COMPLIANT 0x0008 +#define C1_DIBENGINE 0x0010 +#define C1_GAMMA_RAMP 0x0040 +#define C1_REINIT_ABLE 0x0080 +#define C1_GLYPH_INDEX 0x0100 +#define C1_BIT_PACKED 0x0200 +#define C1_BYTE_PACKED 0x0400 +#define C1_COLORCURSOR 0x0800 +#define C1_CMYK_ABLE 0x1000 +#define C1_SLOW_CARD 0x2000 + +/* SHADEBLENDCAPS */ +#define SB_NONE 0x0000 +#define SB_CONST_ALPHA 0x0001 +#define SB_PIXEL_ALPHA 0x0002 +#define SB_PREMULT_ALPHA 0x0004 +#define SB_GRAD_RECT 0x0010 +#define SB_GRAD_TRI 0x0020 + + /* Device-independent bitmaps */ + +typedef struct tagRGBQUAD { + BYTE rgbBlue; + BYTE rgbGreen; + BYTE rgbRed; + BYTE rgbReserved; +} RGBQUAD, *LPRGBQUAD; + +typedef struct tagRGBTRIPLE { + BYTE rgbtBlue; + BYTE rgbtGreen; + BYTE rgbtRed; +} RGBTRIPLE; + +#include +typedef struct +{ + WORD bfType; + DWORD bfSize; + WORD bfReserved1; + WORD bfReserved2; + DWORD bfOffBits; +} BITMAPFILEHEADER, *PBITMAPFILEHEADER, *LPBITMAPFILEHEADER; +#include + +#define MAKEPOINTS(l) (*((POINTS *)&(l))) + +typedef struct +{ + DWORD biSize; + LONG biWidth; + LONG biHeight; + WORD biPlanes; + WORD biBitCount; + DWORD biCompression; + DWORD biSizeImage; + LONG biXPelsPerMeter; + LONG biYPelsPerMeter; + DWORD biClrUsed; + DWORD biClrImportant; +} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER; + +typedef struct +{ + DWORD bV4Size; + LONG bV4Width; + LONG bV4Height; + WORD bV4Planes; + WORD bV4BitCount; + DWORD bV4V4Compression; + DWORD bV4SizeImage; + LONG bV4XPelsPerMeter; + LONG bV4YPelsPerMeter; + DWORD bV4ClrUsed; + DWORD bV4ClrImportant; + DWORD bV4RedMask; + DWORD bV4GreenMask; + DWORD bV4BlueMask; + DWORD bV4AlphaMask; + DWORD bV4CSType; + CIEXYZTRIPLE bV4Endpoints; + DWORD bV4GammaRed; + DWORD bV4GammaGreen; + DWORD bV4GammaBlue; +} BITMAPV4HEADER, *PBITMAPV4HEADER; + +typedef struct { + DWORD bV5Size; + LONG bV5Width; + LONG bV5Height; + WORD bV5Planes; + WORD bV5BitCount; + DWORD bV5Compression; + DWORD bV5SizeImage; + LONG bV5XPelsPerMeter; + LONG bV5YPelsPerMeter; + DWORD bV5ClrUsed; + DWORD bV5ClrImportant; + DWORD bV5RedMask; + DWORD bV5GreenMask; + DWORD bV5BlueMask; + DWORD bV5AlphaMask; + DWORD bV5CSType; + CIEXYZTRIPLE bV5Endpoints; + DWORD bV5GammaRed; + DWORD bV5GammaGreen; + DWORD bV5GammaBlue; + DWORD bV5Intent; + DWORD bV5ProfileData; + DWORD bV5ProfileSize; + DWORD bV5Reserved; +} BITMAPV5HEADER, *LPBITMAPV5HEADER, *PBITMAPV5HEADER; + +#define PROFILE_LINKED 0x4c494e4b /* 'LINK' */ +#define PROFILE_EMBEDDED 0x4d424544 /* 'MBED' */ + + + /* biCompression */ +#define BI_RGB 0 +#define BI_RLE8 1 +#define BI_RLE4 2 +#define BI_BITFIELDS 3 +#define BI_JPEG 4 +#define BI_PNG 5 + +typedef struct tagBITMAPINFO +{ + BITMAPINFOHEADER bmiHeader; + RGBQUAD bmiColors[1]; +} BITMAPINFO, *PBITMAPINFO, *LPBITMAPINFO; + +typedef struct +{ + DWORD bcSize; + WORD bcWidth; + WORD bcHeight; + WORD bcPlanes; + WORD bcBitCount; +} BITMAPCOREHEADER, *PBITMAPCOREHEADER, *LPBITMAPCOREHEADER; + +typedef struct +{ + BITMAPCOREHEADER bmciHeader; + RGBTRIPLE bmciColors[1]; +} BITMAPCOREINFO, *PBITMAPCOREINFO, *LPBITMAPCOREINFO; + +#define DIB_RGB_COLORS 0 +#define DIB_PAL_COLORS 1 +#define CBM_INIT 4 + +typedef struct +{ + BITMAP dsBm; + BITMAPINFOHEADER dsBmih; + DWORD dsBitfields[3]; + HANDLE dshSection; + DWORD dsOffset; +} DIBSECTION, *PDIBSECTION, *LPDIBSECTION; + + /* Stock GDI objects for GetStockObject() */ + +#define WHITE_BRUSH 0 +#define LTGRAY_BRUSH 1 +#define GRAY_BRUSH 2 +#define DKGRAY_BRUSH 3 +#define BLACK_BRUSH 4 +#define NULL_BRUSH 5 +#define HOLLOW_BRUSH 5 +#define WHITE_PEN 6 +#define BLACK_PEN 7 +#define NULL_PEN 8 +#define OEM_FIXED_FONT 10 +#define ANSI_FIXED_FONT 11 +#define ANSI_VAR_FONT 12 +#define SYSTEM_FONT 13 +#define DEVICE_DEFAULT_FONT 14 +#define DEFAULT_PALETTE 15 +#define SYSTEM_FIXED_FONT 16 +#define DEFAULT_GUI_FONT 17 +#define DC_BRUSH 18 +#define DC_PEN 19 + +#define STOCK_LAST 19 + +#define CLR_INVALID 0xffffffff + +typedef USHORT COLOR16; + +typedef struct _TRIVERTEX +{ + LONG x; + LONG y; + COLOR16 Red; + COLOR16 Green; + COLOR16 Blue; + COLOR16 Alpha; +} TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX; + +typedef struct _GRADIENT_TRIANGLE +{ + ULONG Vertex1; + ULONG Vertex2; + ULONG Vertex3; +} GRADIENT_TRIANGLE, *PGRADIENT_TRIANGLE, *LPGRADIENT_TRIANGLE; + +typedef struct _GRADIENT_RECT +{ + ULONG UpperLeft; + ULONG LowerRight; +} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT; + +#define AC_SRC_OVER 0x00 +#define AC_SRC_ALPHA 0x01 + +typedef struct _BLENDFUNCTION +{ + BYTE BlendOp; + BYTE BlendFlags; + BYTE SourceConstantAlpha; + BYTE AlphaFormat; +} BLENDFUNCTION, *PBLENDFUNCTION; + +#define GRADIENT_FILL_RECT_H 0x00000000 +#define GRADIENT_FILL_RECT_V 0x00000001 +#define GRADIENT_FILL_TRIANGLE 0x00000002 +#define GRADIENT_FILL_OP_FLAG 0x000000ff + + +/* Metafile header structure */ +#include +typedef struct +{ + WORD mtType; + WORD mtHeaderSize; + WORD mtVersion; + DWORD mtSize; + WORD mtNoObjects; + DWORD mtMaxRecord; + WORD mtNoParameters; +} METAHEADER, *PMETAHEADER, *LPMETAHEADER; +#include + +/* Metafile typical record structure */ +typedef struct +{ + DWORD rdSize; + WORD rdFunction; + WORD rdParm[1]; +} METARECORD, *PMETARECORD, *LPMETARECORD; + +/* Handle table structure */ + +typedef struct +{ + HGDIOBJ objectHandle[1]; +} HANDLETABLE, *PHANDLETABLE, *LPHANDLETABLE; + + +/* Clipboard metafile picture structure */ +typedef struct +{ + LONG mm; + LONG xExt; + LONG yExt; + HMETAFILE hMF; +} METAFILEPICT, *LPMETAFILEPICT; + + +/* Metafile functions */ +#define META_SETBKCOLOR 0x0201 +#define META_SETBKMODE 0x0102 +#define META_SETMAPMODE 0x0103 +#define META_SETROP2 0x0104 +#define META_SETRELABS 0x0105 +#define META_SETPOLYFILLMODE 0x0106 +#define META_SETSTRETCHBLTMODE 0x0107 +#define META_SETTEXTCHAREXTRA 0x0108 +#define META_SETTEXTCOLOR 0x0209 +#define META_SETTEXTJUSTIFICATION 0x020A +#define META_SETWINDOWORG 0x020B +#define META_SETWINDOWEXT 0x020C +#define META_SETVIEWPORTORG 0x020D +#define META_SETVIEWPORTEXT 0x020E +#define META_OFFSETWINDOWORG 0x020F +#define META_SCALEWINDOWEXT 0x0410 +#define META_OFFSETVIEWPORTORG 0x0211 +#define META_SCALEVIEWPORTEXT 0x0412 +#define META_LINETO 0x0213 +#define META_MOVETO 0x0214 +#define META_EXCLUDECLIPRECT 0x0415 +#define META_INTERSECTCLIPRECT 0x0416 +#define META_ARC 0x0817 +#define META_ELLIPSE 0x0418 +#define META_FLOODFILL 0x0419 +#define META_PIE 0x081A +#define META_RECTANGLE 0x041B +#define META_ROUNDRECT 0x061C +#define META_PATBLT 0x061D +#define META_SAVEDC 0x001E +#define META_SETPIXEL 0x041F +#define META_OFFSETCLIPRGN 0x0220 +#define META_TEXTOUT 0x0521 +#define META_BITBLT 0x0922 +#define META_STRETCHBLT 0x0B23 +#define META_POLYGON 0x0324 +#define META_POLYLINE 0x0325 +#define META_ESCAPE 0x0626 +#define META_RESTOREDC 0x0127 +#define META_FILLREGION 0x0228 +#define META_FRAMEREGION 0x0429 +#define META_INVERTREGION 0x012A +#define META_PAINTREGION 0x012B +#define META_SELECTCLIPREGION 0x012C +#define META_SELECTOBJECT 0x012D +#define META_SETTEXTALIGN 0x012E +#define META_DRAWTEXT 0x062F +#define META_CHORD 0x0830 +#define META_SETMAPPERFLAGS 0x0231 +#define META_EXTTEXTOUT 0x0A32 +#define META_SETDIBTODEV 0x0D33 +#define META_SELECTPALETTE 0x0234 +#define META_REALIZEPALETTE 0x0035 +#define META_ANIMATEPALETTE 0x0436 +#define META_SETPALENTRIES 0x0037 +#define META_POLYPOLYGON 0x0538 +#define META_RESIZEPALETTE 0x0139 +#define META_DIBBITBLT 0x0940 +#define META_DIBSTRETCHBLT 0x0B41 +#define META_DIBCREATEPATTERNBRUSH 0x0142 +#define META_STRETCHDIB 0x0F43 +#define META_EXTFLOODFILL 0x0548 +#define META_RESETDC 0x014C +#define META_STARTDOC 0x014D +#define META_STARTPAGE 0x004F +#define META_ENDPAGE 0x0050 +#define META_ABORTDOC 0x0052 +#define META_ENDDOC 0x005E +#define META_DELETEOBJECT 0x01F0 +#define META_CREATEPALETTE 0x00F7 +#define META_CREATEBRUSH 0x00F8 +#define META_CREATEPATTERNBRUSH 0x01F9 +#define META_CREATEPENINDIRECT 0x02FA +#define META_CREATEFONTINDIRECT 0x02FB +#define META_CREATEBRUSHINDIRECT 0x02FC +#define META_CREATEBITMAPINDIRECT 0x02FD +#define META_CREATEBITMAP 0x06FE +#define META_CREATEREGION 0x06FF +#define META_UNKNOWN 0x0529 /* FIXME: unknown meta magic */ + +typedef INT (CALLBACK *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*, + INT,LPARAM); + +/* enhanced metafile structures and functions */ + +/* note that ENHMETAHEADER is just a particular kind of ENHMETARECORD, + ie. the header is just the first record in the metafile */ +typedef struct { + DWORD iType; + DWORD nSize; + RECTL rclBounds; + RECTL rclFrame; + DWORD dSignature; + DWORD nVersion; + DWORD nBytes; + DWORD nRecords; + WORD nHandles; + WORD sReserved; + DWORD nDescription; + DWORD offDescription; + DWORD nPalEntries; + SIZEL szlDevice; + SIZEL szlMillimeters; + DWORD cbPixelFormat; + DWORD offPixelFormat; + DWORD bOpenGL; + SIZEL szlMicrometers; +} ENHMETAHEADER, *PENHMETAHEADER, *LPENHMETAHEADER; + +typedef struct { + DWORD iType; + DWORD nSize; + DWORD dParm[1]; +} ENHMETARECORD, *LPENHMETARECORD; + +typedef struct { + DWORD iType; + DWORD nSize; +} EMR, *PEMR; + +typedef struct { + POINTL ptlReference; + DWORD nChars; + DWORD offString; + DWORD fOptions; + RECTL rcl; + DWORD offDx; +} EMRTEXT, *PEMRTEXT; + +typedef struct { + EMR emr; +} EMRABORTPATH, *PEMRABORTPATH, + EMRBEGINPATH, *PEMRBEGINPATH, + EMRENDPATH, *PEMRENDPATH, + EMRCLOSEFIGURE, *PEMRCLOSEFIGURE, + EMRFLATTENPATH, *PEMRFLATTENPATH, + EMRWIDENPATH, *PEMRWIDENPATH, + EMRSETMETARGN, *PEMRSETMETARGN, + EMRSAVEDC, *PEMRSAVEDC, + EMRREALIZEPALETTE, *PEMRREALIZEPALETTE; + +typedef struct { + EMR emr; + POINTL ptlCenter; + DWORD nRadius; + FLOAT eStartAngle; + FLOAT eSweepAngle; +} EMRANGLEARC, *PEMRANGLEARC; + +typedef struct { + EMR emr; + RECTL rclBox; + POINTL ptlStart; + POINTL ptlEnd; +} EMRARC, *PEMRARC, + EMRARCTO, *PEMRARCTO, + EMRCHORD, *PEMRCHORD, + EMRPIE, *PEMRPIE; + +typedef struct { + EMR emr; + RECTL rclBounds; + LONG xDest; + LONG yDest; + LONG cxDest; + LONG cyDest; + DWORD dwRop; + LONG xSrc; + LONG ySrc; + XFORM xformSrc; + COLORREF crBkColorSrc; + DWORD iUsageSrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; +} EMRBITBLT, *PEMRBITBLT; + +typedef struct { + EMR emr; + DWORD ihBrush; + LOGBRUSH32 lb; +} EMRCREATEBRUSHINDIRECT, *PEMRCREATEBRUSHINDIRECT; + +typedef struct { + EMR emr; + DWORD ihCS; + LOGCOLORSPACEA lcs; +} EMRCREATECOLORSPACE, *PEMRCREATECOLORSPACE; + +typedef struct { + EMR emr; + DWORD ihCS; + LOGCOLORSPACEW lcs; + DWORD dwFlags; + DWORD cbData; + BYTE Data[1]; +} EMRCREATECOLORSPACEW, *PEMRCREATECOLORSPACEW; + +typedef struct { + EMR emr; + DWORD ihBrush; + DWORD iUsage; + DWORD offBmi; + DWORD cbBmi; + DWORD offBits; + DWORD cbBits; +} EMRCREATEDIBPATTERNBRUSHPT, *PEMRCREATEDIBPATTERNBRUSHPT; + +typedef struct { + EMR emr; + DWORD ihBrush; + DWORD iUsage; + DWORD offBmi; + DWORD cbBmi; + DWORD offBits; + DWORD cbBits; +} EMRCREATEMONOBRUSH, *PEMRCREATEMONOBRUSH; + +typedef struct { + EMR emr; + DWORD ihPal; + LOGPALETTE lgpl; +} EMRCREATEPALETTE, *PEMRCREATEPALETTE; + +typedef struct { + EMR emr; + DWORD ihPen; + LOGPEN lopn; +} EMRCREATEPEN, *PEMRCREATEPEN; + +typedef struct { + EMR emr; + DWORD ihCS; +} EMRDELETECOLORSPACE, *PEMRDELETECOLORSPACE, + EMRSELECTCOLORSPACE, *PEMRSELECTCOLORSPACE, + EMRSETCOLORSPACE, *PEMRSETCOLORSPACE; + +typedef struct { + EMR emr; + DWORD ihObject; +} EMRDELETEOBJECT, *PEMRDELETEOBJECT, + EMRSELECTOBJECT, *PEMRSELECTOBJECT; + +typedef struct { + EMR emr; + RECTL rclBox; +} EMRELLIPSE, *PEMRELLIPSE, + EMRRECTANGLE, *PEMRRECTANGLE; + +typedef struct { + EMR emr; + DWORD nPalEntries; + DWORD offPalEntries; + DWORD nSizeLast; +} EMREOF, *PEMREOF; + +typedef struct { + EMR emr; + RECTL rclClip; +} EMREXCLUDECLIPRECT, *PEMREXCLUDECLIPRECT, + EMRINTERSECTCLIPRECT, *PEMRINTERSECTCLIPRECT; + +typedef struct { + EMR emr; + DWORD ihFont; + EXTLOGFONTW elfw; +} EMREXTCREATEFONTINDIRECTW, *PEMREXTCREATEFONTINDIRECTW; + +typedef struct { + EMR emr; + DWORD ihPen; + DWORD offBmi; + DWORD cbBmi; + DWORD offBits; + DWORD cbBits; + EXTLOGPEN elp; +} EMREXTCREATEPEN, *PEMREXTCREATEPEN; + +typedef struct { + EMR emr; + POINTL ptlStart; + COLORREF crColor; + DWORD iMode; +} EMREXTFLOODFILL, *PEMREXTFLOODFILL; + +typedef struct { + EMR emr; + DWORD cbRgnData; + DWORD iMode; + BYTE RgnData[1]; +} EMREXTSELECTCLIPRGN, *PEMREXTSELECTCLIPRGN; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD iGraphicsMode; + FLOAT exScale; + FLOAT eyScale; + EMRTEXT emrtext; +} EMREXTTEXTOUTA, *PEMREXTTEXTOUTA, + EMREXTTEXTOUTW, *PEMREXTTEXTOUTW; + +typedef struct { + EMR emr; + RECTL rclBounds; +} EMRFILLPATH, *PEMRFILLPATH, + EMRSTROKEANDFILLPATH, *PEMRSTROKEANDFILLPATH, + EMRSTROKEPATH, *PEMRSTROKEPATH; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cbRgnData; + DWORD ihBrush; + BYTE RgnData[1]; +} EMRFILLRGN, *PEMRFILLRGN; + +typedef struct { + DWORD dSignature; + DWORD nVersion; + DWORD cbData; + DWORD offData; +} EMRFORMAT, *PEMRFORMAT; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cbRgnData; + DWORD ihBrush; + SIZEL szlStroke; + BYTE RgnData[1]; +} EMRFRAMERGN, *PEMRFRAMERGN; + +typedef struct { + EMR emr; + DWORD cbData; + BYTE Data[1]; +} EMRGDICOMMENT, *PEMRGDICOMMENT; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD nVer; + DWORD nTri; + ULONG ulMode; + TRIVERTEX Ver[1]; +} EMRGRADIENTFILL, *PEMRGRADIENTFILL; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cbRgnData; + BYTE RgnData[1]; +} EMRINVERTRGN, *PEMRINVERTRGN, + EMRPAINTRGN, *PEMRPAINTRGN; + +typedef struct { + EMR emr; + POINTL ptl; +} EMRLINETO, *PEMRLINETO, + EMRMOVETOEX, *PEMRMOVETOEX; + +typedef struct { + EMR emr; + RECTL rclBounds; + LONG xDest; + LONG yDest; + LONG cxDest; + LONG cyDest; + DWORD dwRop; + LONG xSrc; + LONG ySrc; + XFORM xformSrc; + COLORREF crBkColorSrc; + DWORD iUsageSrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; + LONG xMask; + LONG yMask; + DWORD iUsageMask; + DWORD offBmiMask; + DWORD cbBmiMask; + DWORD offBitsMask; + DWORD cbBitsMask; +} EMRMASKBLT, *PEMRMASKBLT; + +typedef struct { + EMR emr; + XFORM xform; + DWORD iMode; +} EMRMODIFYWORLDTRANSFORM, *PEMRMODIFYWORLDTRANSFORM; + +typedef struct { + EMR emr; + POINTL ptlOffset; +} EMROFFSETCLIPRGN, *PEMROFFSETCLIPRGN; + +typedef struct { + EMR emr; + RECTL rclBounds; + POINTL aptlDest[3]; + LONG xSrc; + LONG ySrc; + LONG cxSrc; + LONG cySrc; + XFORM xformSrc; + COLORREF crBkColorSrc; + DWORD iUsageSrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; + LONG xMask; + LONG yMask; + DWORD iUsageMask; + DWORD offBmiMask; + DWORD cbBmiMask; + DWORD offBitsMask; + DWORD cbBitsMask; +} EMRPLGBLT, *PEMRPLGBLT; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cptl; + POINTL aptl[1]; +} EMRPOLYLINE, *PEMRPOLYLINE, + EMRPOLYBEZIER, *PEMRPOLYBEZIER, + EMRPOLYGON, *PEMRPOLYGON, + EMRPOLYBEZIERTO, *PEMRPOLYBEZIERTO, + EMRPOLYLINETO, *PEMRPOLYLINETO; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cpts; + POINTS apts[1]; +} EMRPOLYLINE16, *PEMRPOLYLINE16, + EMRPOLYBEZIER16, *PEMRPOLYBEZIER16, + EMRPOLYGON16, *PEMRPOLYGON16, + EMRPOLYBEZIERTO16, *PEMRPOLYBEZIERTO16, + EMRPOLYLINETO16, *PEMRPOLYLINETO16; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cpts; + POINTS apts[1]; + BYTE abTypes[1]; +} EMRPOLYDRAW16, *PEMRPOLYDRAW16; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD nPolys; + DWORD cpts; + DWORD aPolyCounts[1]; + POINTS apts[1]; +} EMRPOLYPOLYLINE16, *PEMRPOLYPOLYLINE16, + EMRPOLYPOLYGON16, *PEMRPOLYPOLYGON16; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cptl; + POINTL aptl[1]; + BYTE abTypes[1]; +} EMRPOLYDRAW, *PEMRPOLYDRAW; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD nPolys; + DWORD cptl; + DWORD aPolyCounts[1]; + POINTL aptl[1]; +} EMRPOLYPOLYLINE, *PEMRPOLYPOLYLINE, + EMRPOLYPOLYGON, *PEMRPOLYPOLYGON; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD iGraphicsMode; + FLOAT exScale; + FLOAT eyScale; + LONG cStrings; + EMRTEXT aemrtext[1]; +} EMRPOLYTEXTOUTA, *PEMRPOLYTEXTOUTA, + EMRPOLYTEXTOUTW, *PEMRPOLYTEXTOUTW; + +typedef struct { + EMR emr; + DWORD ihPal; + DWORD cEntries; +} EMRRESIZEPALETTE, *PEMRRESIZEPALETTE; + +typedef struct { + EMR emr; + LONG iRelative; +} EMRRESTOREDC, *PEMRRESTOREDC; + +typedef struct { + EMR emr; + RECTL rclBox; + SIZEL szlCorner; +} EMRROUNDRECT, *PEMRROUNDRECT; + +typedef struct { + EMR emr; + LONG xNum; + LONG xDenom; + LONG yNum; + LONG yDenom; +} EMRSCALEVIEWPORTEXTEX, *PEMRSCALEVIEWPORTEXTEX, + EMRSCALEWINDOWEXTEX, *PEMRSCALEWINDOWEXTEX; + +typedef struct { + EMR emr; + DWORD iMode; +} EMRSELECTCLIPPATH, *PEMRSELECTCLIPPATH, + EMRSETBKMODE, *PEMRSETBKMODE, + EMRSETMAPMODE, *PEMRSETMAPMODE, + EMRSETPOLYFILLMODE, *PEMRSETPOLYFILLMODE, + EMRSETROP2, *PEMRSETROP2, + EMRSETSTRETCHBLTMODE, *PEMRSETSTRETCHBLTMODE, + EMRSETTEXTALIGN, *PEMRSETTEXTALIGN, + EMRSETICMMODE, *PEMRSETICMMODE, + EMRSETLAYOUT, *PEMRSETLAYOUT; + +typedef struct { + EMR emr; + DWORD ihPal; +} EMRSELECTPALETTE, *PEMRSELECTPALETTE; + +typedef struct { + EMR emr; + DWORD iArcDirection; +} EMRSETARCDIRECTION, *PEMRSETARCDIRECTION; + +typedef struct { + EMR emr; + COLORREF crColor; +} EMRSETBKCOLOR, *PEMRSETBKCOLOR, + EMRSETTEXTCOLOR, *PEMRSETTEXTCOLOR; + +typedef struct { + EMR emr; + POINTL ptlOrigin; +} EMRSETBRUSHORGEX, *PEMRSETBRUSHORGEX, + EMRSETVIEWPORTORGEX, *PEMRSETVIEWPORTORGEX, + EMRSETWINDOWORGEX, *PEMRSETWINDOWORGEX; + +typedef struct { + EMR emr; + COLORADJUSTMENT ColorAdjustment; +} EMRSETCOLORADJUSTMENT, *PEMRSETCOLORADJUSTMENT; + +typedef struct { + EMR emr; + RECTL rclBounds; + LONG xDest; + LONG yDest; + LONG xSrc; + LONG ySrc; + LONG cxSrc; + LONG cySrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; + DWORD iUsageSrc; + DWORD iStartScan; + DWORD cScans; +} EMRSETDIBITSTODEVICE, *PEMRSETDIBITSTODEVICE; + +typedef struct { + EMR emr; + DWORD dwFlags; +} EMRSETMAPPERFLAGS, *PEMRSETMAPPERFLAGS; + +typedef struct { + EMR emr; + FLOAT eMiterLimit; +} EMRSETMITERLIMIT, *PEMRSETMITERLIMIT; + +typedef struct { + EMR emr; + DWORD ihPal; + DWORD iStart; + DWORD cEntries; + PALETTEENTRY aPalEntries[1]; +} EMRSETPALETTEENTRIES, *PEMRSETPALETTEENTRIES; + +typedef struct { + EMR emr; + POINTL ptlPixel; + COLORREF crColor; +} EMRSETPIXELV, *PEMRSETPIXELV; + +typedef struct { + EMR emr; + SIZEL szlExtent; +} EMRSETVIEWPORTEXTEX, *PEMRSETVIEWPORTEXTEX, + EMRSETWINDOWEXTEX, *PEMRSETWINDOWEXTEX; + +typedef struct { + EMR emr; + XFORM xform; +} EMRSETWORLDTRANSFORM, *PEMRSETWORLDTRANSFORM; + +typedef struct { + EMR emr; + RECTL rclBounds; + LONG xDest; + LONG yDest; + LONG cxDest; + LONG cyDest; + DWORD dwRop; + LONG xSrc; + LONG ySrc; + XFORM xformSrc; + COLORREF crBkColorSrc; + DWORD iUsageSrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; + LONG cxSrc; + LONG cySrc; +} EMRSTRETCHBLT, *PEMRSTRETCHBLT; + +typedef struct { + EMR emr; + RECTL rclBounds; + LONG xDest; + LONG yDest; + LONG cxDest; + LONG cyDest; + DWORD dwRop; + LONG xSrc; + LONG ySrc; + XFORM xformSrc; + COLORREF crBkColorSrc; + DWORD iUsageSrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; + LONG cxSrc; + LONG cySrc; +} EMRALPHABLEND, *PEMRALPHABLEND; + +typedef struct { + EMR emr; + RECTL rclBounds; + LONG xDest; + LONG yDest; + LONG xSrc; + LONG ySrc; + LONG cxSrc; + LONG cySrc; + DWORD offBmiSrc; + DWORD cbBmiSrc; + DWORD offBitsSrc; + DWORD cbBitsSrc; + DWORD iUsageSrc; + DWORD dwRop; + LONG cxDest; + LONG cyDest; +} EMRSTRETCHDIBITS, *PEMRSTRETCHDIBITS; + +typedef struct { + EMR emr; + PIXELFORMATDESCRIPTOR pfd; +} EMRPIXELFORMAT, *PEMRPIXELFORMAT; + +typedef struct tagEMRGLSRECORD { + EMR emr; + DWORD cbData; + BYTE Data[1]; +} EMRGLSRECORD, *PEMRGLSRECORD; + +typedef struct { + EMR emr; + RECTL rclBounds; + DWORD cbData; + BYTE Data[1]; +} EMRGLSBOUNDEDRECORD, *PEMRGLSBOUNDEDRECORD; + +typedef INT (CALLBACK *ENHMFENUMPROC)(HDC, HANDLETABLE *, + const ENHMETARECORD *, INT, LPARAM); + +#define EMR_HEADER 1 +#define EMR_POLYBEZIER 2 +#define EMR_POLYGON 3 +#define EMR_POLYLINE 4 +#define EMR_POLYBEZIERTO 5 +#define EMR_POLYLINETO 6 +#define EMR_POLYPOLYLINE 7 +#define EMR_POLYPOLYGON 8 +#define EMR_SETWINDOWEXTEX 9 +#define EMR_SETWINDOWORGEX 10 +#define EMR_SETVIEWPORTEXTEX 11 +#define EMR_SETVIEWPORTORGEX 12 +#define EMR_SETBRUSHORGEX 13 +#define EMR_EOF 14 +#define EMR_SETPIXELV 15 +#define EMR_SETMAPPERFLAGS 16 +#define EMR_SETMAPMODE 17 +#define EMR_SETBKMODE 18 +#define EMR_SETPOLYFILLMODE 19 +#define EMR_SETROP2 20 +#define EMR_SETSTRETCHBLTMODE 21 +#define EMR_SETTEXTALIGN 22 +#define EMR_SETCOLORADJUSTMENT 23 +#define EMR_SETTEXTCOLOR 24 +#define EMR_SETBKCOLOR 25 +#define EMR_OFFSETCLIPRGN 26 +#define EMR_MOVETOEX 27 +#define EMR_SETMETARGN 28 +#define EMR_EXCLUDECLIPRECT 29 +#define EMR_INTERSECTCLIPRECT 30 +#define EMR_SCALEVIEWPORTEXTEX 31 +#define EMR_SCALEWINDOWEXTEX 32 +#define EMR_SAVEDC 33 +#define EMR_RESTOREDC 34 +#define EMR_SETWORLDTRANSFORM 35 +#define EMR_MODIFYWORLDTRANSFORM 36 +#define EMR_SELECTOBJECT 37 +#define EMR_CREATEPEN 38 +#define EMR_CREATEBRUSHINDIRECT 39 +#define EMR_DELETEOBJECT 40 +#define EMR_ANGLEARC 41 +#define EMR_ELLIPSE 42 +#define EMR_RECTANGLE 43 +#define EMR_ROUNDRECT 44 +#define EMR_ARC 45 +#define EMR_CHORD 46 +#define EMR_PIE 47 +#define EMR_SELECTPALETTE 48 +#define EMR_CREATEPALETTE 49 +#define EMR_SETPALETTEENTRIES 50 +#define EMR_RESIZEPALETTE 51 +#define EMR_REALIZEPALETTE 52 +#define EMR_EXTFLOODFILL 53 +#define EMR_LINETO 54 +#define EMR_ARCTO 55 +#define EMR_POLYDRAW 56 +#define EMR_SETARCDIRECTION 57 +#define EMR_SETMITERLIMIT 58 +#define EMR_BEGINPATH 59 +#define EMR_ENDPATH 60 +#define EMR_CLOSEFIGURE 61 +#define EMR_FILLPATH 62 +#define EMR_STROKEANDFILLPATH 63 +#define EMR_STROKEPATH 64 +#define EMR_FLATTENPATH 65 +#define EMR_WIDENPATH 66 +#define EMR_SELECTCLIPPATH 67 +#define EMR_ABORTPATH 68 +#define EMR_GDICOMMENT 70 +#define EMR_FILLRGN 71 +#define EMR_FRAMERGN 72 +#define EMR_INVERTRGN 73 +#define EMR_PAINTRGN 74 +#define EMR_EXTSELECTCLIPRGN 75 +#define EMR_BITBLT 76 +#define EMR_STRETCHBLT 77 +#define EMR_MASKBLT 78 +#define EMR_PLGBLT 79 +#define EMR_SETDIBITSTODEVICE 80 +#define EMR_STRETCHDIBITS 81 +#define EMR_EXTCREATEFONTINDIRECTW 82 +#define EMR_EXTTEXTOUTA 83 +#define EMR_EXTTEXTOUTW 84 +#define EMR_POLYBEZIER16 85 +#define EMR_POLYGON16 86 +#define EMR_POLYLINE16 87 +#define EMR_POLYBEZIERTO16 88 +#define EMR_POLYLINETO16 89 +#define EMR_POLYPOLYLINE16 90 +#define EMR_POLYPOLYGON16 91 +#define EMR_POLYDRAW16 92 +#define EMR_CREATEMONOBRUSH 93 +#define EMR_CREATEDIBPATTERNBRUSHPT 94 +#define EMR_EXTCREATEPEN 95 +#define EMR_POLYTEXTOUTA 96 +#define EMR_POLYTEXTOUTW 97 +#define EMR_SETICMMODE 98 +#define EMR_CREATECOLORSPACE 99 +#define EMR_SETCOLORSPACE 100 +#define EMR_DELETECOLORSPACE 101 +#define EMR_GLSRECORD 102 +#define EMR_GLSBOUNDEDRECORD 103 +#define EMR_PIXELFORMAT 104 +#define EMR_DRAWESCAPE 105 +#define EMR_EXTESCAPE 106 +#define EMR_STARTDOC 107 +#define EMR_SMALLTEXTOUT 108 +#define EMR_FORCEUFIMAPPING 109 +#define EMR_NAMEDESCAPE 110 +#define EMR_COLORCORRECTPALETTE 111 +#define EMR_SETICMPROFILEA 112 +#define EMR_SETICMPROFILEW 113 +#define EMR_ALPHABLEND 114 +#define EMR_SETLAYOUT 115 +#define EMR_TRANSPARENTBLT 116 +#define EMR_RESERVED_117 117 +#define EMR_GRADIENTFILL 118 +#define EMR_SETLINKEDUFI 119 +#define EMR_SETTEXTJUSTIFICATION 120 +#define EMR_COLORMATCHTOTARGETW 121 +#define EMR_CREATECOLORSPACEW 122 + +#define EMR_MIN 1 +#define EMR_MAX 122 + +#define ENHMETA_SIGNATURE 1179469088 +#define ENHMETA_STOCK_OBJECT 0x80000000 + +#define GDICOMMENT_IDENTIFIER 0x43494447 +#define GDICOMMENT_WINDOWS_METAFILE 0x80000001 +#define GDICOMMENT_BEGINGROUP 0x00000002 +#define GDICOMMENT_ENDGROUP 0x00000003 +#define GDICOMMENT_MULTIFORMATS 0x40000004 +#define GDICOMMENT_UNICODE_STRING 0x00000040 +#define GDICOMMENT_UNICODE_END 0x00000080 +#define EPS_SIGNATURE 0x46535045 + +#define CCHDEVICENAME 32 +#define CCHFORMNAME 32 + +typedef struct +{ + BYTE dmDeviceName[CCHDEVICENAME]; + WORD dmSpecVersion; + WORD dmDriverVersion; + WORD dmSize; + WORD dmDriverExtra; + DWORD dmFields; + union { + struct { + short dmOrientation; + short dmPaperSize; + short dmPaperLength; + short dmPaperWidth; + short dmScale; + short dmCopies; + short dmDefaultSource; + short dmPrintQuality; + } DUMMYSTRUCTNAME1; + struct { + POINTL dmPosition; + DWORD dmDisplayOrientation; + DWORD dmDisplayFixedOutput; + } DUMMYSTRUCTNAME2; + } DUMMYUNIONNAME1; + short dmColor; + short dmDuplex; + short dmYResolution; + short dmTTOption; + short dmCollate; + BYTE dmFormName[CCHFORMNAME]; + WORD dmLogPixels; + DWORD dmBitsPerPel; + DWORD dmPelsWidth; + DWORD dmPelsHeight; + union { + DWORD dmDisplayFlags; + DWORD dmNup; + } DUMMYUNIONNAME2; + DWORD dmDisplayFrequency; + DWORD dmICMMethod; + DWORD dmICMIntent; + DWORD dmMediaType; + DWORD dmDitherType; + DWORD dmReserved1; + DWORD dmReserved2; + DWORD dmPanningWidth; + DWORD dmPanningHeight; +} DEVMODEA, *PDEVMODEA, *LPDEVMODEA; + +typedef struct +{ + WCHAR dmDeviceName[CCHDEVICENAME]; + WORD dmSpecVersion; + WORD dmDriverVersion; + WORD dmSize; + WORD dmDriverExtra; + DWORD dmFields; + union { + struct { + short dmOrientation; + short dmPaperSize; + short dmPaperLength; + short dmPaperWidth; + short dmScale; + short dmCopies; + short dmDefaultSource; + short dmPrintQuality; + } DUMMYSTRUCTNAME1; + struct { + POINTL dmPosition; + DWORD dmDisplayOrientation; + DWORD dmDisplayFixedOutput; + } DUMMYSTRUCTNAME2; + } DUMMYUNIONNAME1; + short dmColor; + short dmDuplex; + short dmYResolution; + short dmTTOption; + short dmCollate; + WCHAR dmFormName[CCHFORMNAME]; + WORD dmLogPixels; + DWORD dmBitsPerPel; + DWORD dmPelsWidth; + DWORD dmPelsHeight; + union { + DWORD dmDisplayFlags; + DWORD dmNup; + } DUMMYUNIONNAME2; + DWORD dmDisplayFrequency; + DWORD dmICMMethod; + DWORD dmICMIntent; + DWORD dmMediaType; + DWORD dmDitherType; + DWORD dmReserved1; + DWORD dmReserved2; + DWORD dmPanningWidth; + DWORD dmPanningHeight; +} DEVMODEW, *PDEVMODEW, *LPDEVMODEW; + +DECL_WINELIB_TYPE_AW(DEVMODE) +DECL_WINELIB_TYPE_AW(PDEVMODE) +DECL_WINELIB_TYPE_AW(LPDEVMODE) + +#define DM_SPECVERSION 0x401 +#define DM_UPDATE 1 +#define DM_COPY 2 +#define DM_PROMPT 4 +#define DM_MODIFY 8 + +#define DM_IN_BUFFER DM_MODIFY +#define DM_IN_PROMPT DM_PROMPT +#define DM_OUT_BUFFER DM_COPY +#define DM_OUT_DEFAULT DM_UPDATE + +#define DM_ORIENTATION __MSABI_LONG(0x00000001) +#define DM_PAPERSIZE __MSABI_LONG(0x00000002) +#define DM_PAPERLENGTH __MSABI_LONG(0x00000004) +#define DM_PAPERWIDTH __MSABI_LONG(0x00000008) +#define DM_SCALE __MSABI_LONG(0x00000010) +#define DM_POSITION __MSABI_LONG(0x00000020) +#define DM_NUP __MSABI_LONG(0x00000040) +#define DM_DISPLAYORIENTATION __MSABI_LONG(0x00000080) +#define DM_COPIES __MSABI_LONG(0x00000100) +#define DM_DEFAULTSOURCE __MSABI_LONG(0x00000200) +#define DM_PRINTQUALITY __MSABI_LONG(0x00000400) +#define DM_COLOR __MSABI_LONG(0x00000800) +#define DM_DUPLEX __MSABI_LONG(0x00001000) +#define DM_YRESOLUTION __MSABI_LONG(0x00002000) +#define DM_TTOPTION __MSABI_LONG(0x00004000) +#define DM_COLLATE __MSABI_LONG(0x00008000) +#define DM_FORMNAME __MSABI_LONG(0x00010000) +#define DM_LOGPIXELS __MSABI_LONG(0x00020000) +#define DM_BITSPERPEL __MSABI_LONG(0x00040000) +#define DM_PELSWIDTH __MSABI_LONG(0x00080000) +#define DM_PELSHEIGHT __MSABI_LONG(0x00100000) +#define DM_DISPLAYFLAGS __MSABI_LONG(0x00200000) +#define DM_DISPLAYFREQUENCY __MSABI_LONG(0x00400000) +#define DM_ICMMETHOD __MSABI_LONG(0x00800000) +#define DM_ICMINTENT __MSABI_LONG(0x01000000) +#define DM_MEDIATYPE __MSABI_LONG(0x02000000) +#define DM_DITHERTYPE __MSABI_LONG(0x04000000) +#define DM_PANNINGWIDTH __MSABI_LONG(0x08000000) +#define DM_PANNINGHEIGHT __MSABI_LONG(0x10000000) +#define DM_DISPLAYFIXEDOUTPUT __MSABI_LONG(0x20000000) + +#define DM_GRAYSCALE 1 +#define DM_INTERLACED 2 +#define DMDISPLAYFLAGS_TEXTMODE 4 + +#define DMORIENT_PORTRAIT 1 +#define DMORIENT_LANDSCAPE 2 + +#define DMPAPER_FIRST DMPAPER_LETTER +#define DMPAPER_LETTER 1 +#define DMPAPER_LETTERSMALL 2 +#define DMPAPER_TABLOID 3 +#define DMPAPER_LEDGER 4 +#define DMPAPER_LEGAL 5 +#define DMPAPER_STATEMENT 6 +#define DMPAPER_EXECUTIVE 7 +#define DMPAPER_A3 8 +#define DMPAPER_A4 9 +#define DMPAPER_A4SMALL 10 +#define DMPAPER_A5 11 +#define DMPAPER_B4 12 +#define DMPAPER_B5 13 +#define DMPAPER_FOLIO 14 +#define DMPAPER_QUARTO 15 +#define DMPAPER_10X14 16 +#define DMPAPER_11X17 17 +#define DMPAPER_NOTE 18 +#define DMPAPER_ENV_9 19 +#define DMPAPER_ENV_10 20 +#define DMPAPER_ENV_11 21 +#define DMPAPER_ENV_12 22 +#define DMPAPER_ENV_14 23 +#define DMPAPER_CSHEET 24 +#define DMPAPER_DSHEET 25 +#define DMPAPER_ESHEET 26 +#define DMPAPER_ENV_DL 27 +#define DMPAPER_ENV_C5 28 +#define DMPAPER_ENV_C3 29 +#define DMPAPER_ENV_C4 30 +#define DMPAPER_ENV_C6 31 +#define DMPAPER_ENV_C65 32 +#define DMPAPER_ENV_B4 33 +#define DMPAPER_ENV_B5 34 +#define DMPAPER_ENV_B6 35 +#define DMPAPER_ENV_ITALY 36 +#define DMPAPER_ENV_MONARCH 37 +#define DMPAPER_ENV_PERSONAL 38 +#define DMPAPER_FANFOLD_US 39 +#define DMPAPER_FANFOLD_STD_GERMAN 40 +#define DMPAPER_FANFOLD_LGL_GERMAN 41 +#define DMPAPER_ISO_B4 42 +#define DMPAPER_JAPANESE_POSTCARD 43 +#define DMPAPER_9X11 44 +#define DMPAPER_10X11 45 +#define DMPAPER_15X11 46 +#define DMPAPER_ENV_INVITE 47 +#define DMPAPER_RESERVED_48 48 +#define DMPAPER_RESERVED_49 49 +#define DMPAPER_LETTER_EXTRA 50 +#define DMPAPER_LEGAL_EXTRA 51 +#define DMPAPER_TABLOID_EXTRA 52 +#define DMPAPER_A4_EXTRA 53 +#define DMPAPER_LETTER_TRANSVERSE 54 +#define DMPAPER_A4_TRANSVERSE 55 +#define DMPAPER_LETTER_EXTRA_TRANSVERSE 56 +#define DMPAPER_A_PLUS 57 +#define DMPAPER_B_PLUS 58 +#define DMPAPER_LETTER_PLUS 59 +#define DMPAPER_A4_PLUS 60 +#define DMPAPER_A5_TRANSVERSE 61 +#define DMPAPER_B5_TRANSVERSE 62 +#define DMPAPER_A3_EXTRA 63 +#define DMPAPER_A5_EXTRA 64 +#define DMPAPER_B5_EXTRA 65 +#define DMPAPER_A2 66 +#define DMPAPER_A3_TRANSVERSE 67 +#define DMPAPER_A3_EXTRA_TRANSVERSE 68 +#define DMPAPER_DBL_JAPANESE_POSTCARD 69 +#define DMPAPER_A6 70 +#define DMPAPER_JENV_KAKU2 71 +#define DMPAPER_JENV_KAKU3 72 +#define DMPAPER_JENV_CHOU3 73 +#define DMPAPER_JENV_CHOU4 74 +#define DMPAPER_LETTER_ROTATED 75 +#define DMPAPER_A3_ROTATED 76 +#define DMPAPER_A4_ROTATED 77 +#define DMPAPER_A5_ROTATED 78 +#define DMPAPER_B4_JIS_ROTATED 79 +#define DMPAPER_B5_JIS_ROTATED 80 +#define DMPAPER_JAPANESE_POSTCARD_ROTATED 81 +#define DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED 82 +#define DMPAPER_A6_ROTATED 83 +#define DMPAPER_JENV_KAKU2_ROTATED 84 +#define DMPAPER_JENV_KAKU3_ROTATED 85 +#define DMPAPER_JENV_CHOU3_ROTATED 86 +#define DMPAPER_JENV_CHOU4_ROTATED 87 +#define DMPAPER_B6_JIS 88 +#define DMPAPER_B6_JIS_ROTATED 89 +#define DMPAPER_12X11 90 +#define DMPAPER_JENV_YOU4 91 +#define DMPAPER_JENV_YOU4_ROTATED 92 +#define DMPAPER_P16K 93 +#define DMPAPER_P32K 94 +#define DMPAPER_P32KBIG 95 +#define DMPAPER_PENV_1 96 +#define DMPAPER_PENV_2 97 +#define DMPAPER_PENV_3 98 +#define DMPAPER_PENV_4 99 +#define DMPAPER_PENV_5 100 +#define DMPAPER_PENV_6 101 +#define DMPAPER_PENV_7 102 +#define DMPAPER_PENV_8 103 +#define DMPAPER_PENV_9 104 +#define DMPAPER_PENV_10 105 +#define DMPAPER_P16K_ROTATED 106 +#define DMPAPER_P32K_ROTATED 107 +#define DMPAPER_P32KBIG_ROTATED 108 +#define DMPAPER_PENV_1_ROTATED 109 +#define DMPAPER_PENV_2_ROTATED 110 +#define DMPAPER_PENV_3_ROTATED 111 +#define DMPAPER_PENV_4_ROTATED 112 +#define DMPAPER_PENV_5_ROTATED 113 +#define DMPAPER_PENV_6_ROTATED 114 +#define DMPAPER_PENV_7_ROTATED 115 +#define DMPAPER_PENV_8_ROTATED 116 +#define DMPAPER_PENV_9_ROTATED 117 +#define DMPAPER_PENV_10_ROTATED 118 + +#define DMPAPER_LAST DMPAPER_PENV_10_ROTATED +#define DMPAPER_USER 256 + +#define DMBIN_FIRST DMBIN_UPPER +#define DMBIN_UPPER 1 +#define DMBIN_ONLYONE 1 +#define DMBIN_LOWER 2 +#define DMBIN_MIDDLE 3 +#define DMBIN_MANUAL 4 +#define DMBIN_ENVELOPE 5 +#define DMBIN_ENVMANUAL 6 +#define DMBIN_AUTO 7 +#define DMBIN_TRACTOR 8 +#define DMBIN_SMALLFMT 9 +#define DMBIN_LARGEFMT 10 +#define DMBIN_LARGECAPACITY 11 +#define DMBIN_CASSETTE 14 +#define DMBIN_FORMSOURCE 15 +#define DMBIN_LAST DMBIN_FORMSOURCE +#define DMBIN_USER 256 + +#define DMRES_DRAFT (-1) +#define DMRES_LOW (-2) +#define DMRES_MEDIUM (-3) +#define DMRES_HIGH (-4) + +#define DMCOLOR_MONOCHROME 1 +#define DMCOLOR_COLOR 2 + +#define DMDUP_SIMPLEX 1 +#define DMDUP_VERTICAL 2 +#define DMDUP_HORIZONTAL 3 + +#define DMTT_BITMAP 1 +#define DMTT_DOWNLOAD 2 +#define DMTT_SUBDEV 3 +#define DMTT_DOWNLOAD_OUTLINE 4 + +#define DMCOLLATE_FALSE 0 +#define DMCOLLATE_TRUE 1 + +#define DMICMMETHOD_NONE 1 +#define DMICMMETHOD_SYSTEM 2 +#define DMICMMETHOD_DRIVER 3 +#define DMICMMETHOD_DEVICE 4 +#define DMICMMETHOD_USER 256 + +#define DMICM_SATURATE 1 +#define DMICM_CONTRAST 2 +#define DMICM_COLORMETRIC 3 +#define DMICM_USER 256 + +#define DMMEDIA_STANDARD 1 +#define DMMEDIA_TRANSPARENCY 2 +#define DMMEDIA_GLOSSY 3 +#define DMMEDIA_USER 256 + +#define DMDITHER_NONE 1 +#define DMDITHER_COARSE 2 +#define DMDITHER_FINE 3 +#define DMDITHER_LINEART 4 +#define DMDITHER_GRAYSCALE 5 +#define DMDITHER_USER 256 + +#define DMDO_DEFAULT 0 +#define DMDO_90 1 +#define DMDO_180 2 +#define DMDO_270 3 + +#define DMDFO_DEFAULT 0 +#define DMDFO_STRETCH 1 +#define DMDFO_CENTER 2 + +typedef struct +{ + INT cbSize; + LPCSTR lpszDocName; + LPCSTR lpszOutput; + LPCSTR lpszDatatype; + DWORD fwType; +} DOCINFOA, *LPDOCINFOA; + +typedef struct +{ + INT cbSize; + LPCWSTR lpszDocName; + LPCWSTR lpszOutput; + LPCWSTR lpszDatatype; + DWORD fwType; +} DOCINFOW, *LPDOCINFOW; + +DECL_WINELIB_TYPE_AW(DOCINFO) +DECL_WINELIB_TYPE_AW(LPDOCINFO) + +#define DI_APPBANDING 0x0001 + +/* Flags for PolyDraw and GetPath */ +#define PT_CLOSEFIGURE 0x0001 +#define PT_LINETO 0x0002 +#define PT_BEZIERTO 0x0004 +#define PT_MOVETO 0x0006 + +#define RDH_RECTANGLES 1 + +typedef struct _RGNDATAHEADER { + DWORD dwSize; + DWORD iType; + DWORD nCount; + DWORD nRgnSize; + RECT rcBound; +} RGNDATAHEADER,*PRGNDATAHEADER; + +typedef struct _RGNDATA { + RGNDATAHEADER rdh; + char Buffer[1]; +} RGNDATA,*PRGNDATA,*LPRGNDATA; + +typedef BOOL (CALLBACK *ABORTPROC)(HDC, INT); + +typedef enum { + DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME = 1, + DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME = 2, + DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE = 3, + DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME = 4, + DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE = 5, + DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE = 6, + DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION = 7, + DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION = 8, + DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_DEVICE_INFO_TYPE; + +typedef struct DISPLAYCONFIG_DEVICE_INFO_HEADER { + DISPLAYCONFIG_DEVICE_INFO_TYPE type; + UINT32 size; + LUID adapterId; + UINT32 id; +} DISPLAYCONFIG_DEVICE_INFO_HEADER; + +typedef struct { + DWORD cb; + CHAR DeviceName[32]; + CHAR DeviceString[128]; + DWORD StateFlags; + CHAR DeviceID[128]; + CHAR DeviceKey[128]; +} DISPLAY_DEVICEA,*PDISPLAY_DEVICEA,*LPDISPLAY_DEVICEA; + +typedef struct { + DWORD cb; + WCHAR DeviceName[32]; + WCHAR DeviceString[128]; + DWORD StateFlags; + WCHAR DeviceID[128]; + WCHAR DeviceKey[128]; +} DISPLAY_DEVICEW,*PDISPLAY_DEVICEW,*LPDISPLAY_DEVICEW; +DECL_WINELIB_TYPE_AW(DISPLAY_DEVICE) +DECL_WINELIB_TYPE_AW(PDISPLAY_DEVICE) +DECL_WINELIB_TYPE_AW(LPDISPLAY_DEVICE) + +/* DISPLAY_DEVICE.StateFlags (?)*/ +#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001 +#define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002 +#define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004 +#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008 +#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010 + +typedef struct DISPLAYCONFIG_DESKTOP_IMAGE_INFO +{ + POINTL PathSourceSize; + RECTL DesktopImageRegion; + RECTL DesktopImageClip; +} DISPLAYCONFIG_DESKTOP_IMAGE_INFO; + +typedef enum +{ + DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE = 1, + DISPLAYCONFIG_MODE_INFO_TYPE_TARGET = 2, + DISPLAYCONFIG_MODE_INFO_TYPE_DESKTOP_IMAGE = 3, + DISPLAYCONFIG_MODE_INFO_TYPE_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_MODE_INFO_TYPE; + +typedef enum +{ + DISPLAYCONFIG_PIXELFORMAT_8BPP = 1, + DISPLAYCONFIG_PIXELFORMAT_16BPP = 2, + DISPLAYCONFIG_PIXELFORMAT_24BPP = 3, + DISPLAYCONFIG_PIXELFORMAT_32BPP = 4, + DISPLAYCONFIG_PIXELFORMAT_NONGDI = 5, + DISPLAYCONFIG_PIXELFORMAT_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_PIXELFORMAT; + +typedef enum +{ + DISPLAYCONFIG_ROTATION_IDENTITY = 1, + DISPLAYCONFIG_ROTATION_ROTATE90 = 2, + DISPLAYCONFIG_ROTATION_ROTATE180 = 3, + DISPLAYCONFIG_ROTATION_ROTATE270 = 4, + DISPLAYCONFIG_ROTATION_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_ROTATION; + +typedef enum +{ + DISPLAYCONFIG_SCALING_IDENTITY = 1, + DISPLAYCONFIG_SCALING_CENTERED = 2, + DISPLAYCONFIG_SCALING_STRETCHED = 3, + DISPLAYCONFIG_SCALING_ASPECTRATIOCENTEREDMAX = 4, + DISPLAYCONFIG_SCALING_CUSTOM = 5, + DISPLAYCONFIG_SCALING_PREFERRED = 128, + DISPLAYCONFIG_SCALING_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_SCALING; + +typedef enum +{ + DISPLAYCONFIG_SCANLINE_ORDERING_UNSPECIFIED = 0, + DISPLAYCONFIG_SCANLINE_ORDERING_PROGRESSIVE = 1, + DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED = 2, + DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_UPPERFIELDFIRST = DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED, + DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_LOWERFIELDFIRST = 3, + DISPLAYCONFIG_SCANLINE_ORDERING_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_SCANLINE_ORDERING; + +typedef enum +{ + DISPLAYCONFIG_TOPOLOGY_INTERNAL = 0x00000001, + DISPLAYCONFIG_TOPOLOGY_CLONE = 0x00000002, + DISPLAYCONFIG_TOPOLOGY_EXTEND = 0x00000004, + DISPLAYCONFIG_TOPOLOGY_EXTERNAL = 0x00000008, + DISPLAYCONFIG_TOPOLOGY_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_TOPOLOGY_ID; + +typedef enum +{ + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_OTHER = -1, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HD15 = 0, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SVIDEO = 1, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPOSITE_VIDEO = 2, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPONENT_VIDEO = 3, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DVI = 4, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HDMI = 5, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_LVDS = 6, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_D_JPN = 8, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDI = 9, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EXTERNAL = 10, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EMBEDDED = 11, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EXTERNAL = 12, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EMBEDDED = 13, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDTVDONGLE = 14, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_MIRACAST = 15, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL = 0x80000000, + DISPLAYCONFIG_OUTPUT_TECHNOLOGY_FORCE_UINT32 = 0xffffffff +} DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY; + +typedef struct DISPLAYCONFIG_2DREGION +{ + UINT32 cx; + UINT32 cy; +} DISPLAYCONFIG_2DREGION; + +typedef struct DISPLAYCONFIG_RATIONAL +{ + UINT32 Numerator; + UINT32 Denominator; +} DISPLAYCONFIG_RATIONAL; + +typedef struct DISPLAYCONFIG_PATH_SOURCE_INFO +{ + LUID adapterId; + UINT32 id; + union { + UINT32 modeInfoIdx; + struct { + UINT32 cloneGroupId :16; + UINT32 sourceModeInfoIdx :16; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + UINT32 statusFlags; +} DISPLAYCONFIG_PATH_SOURCE_INFO; + +typedef struct DISPLAYCONFIG_SOURCE_MODE +{ + UINT32 width; + UINT32 height; + DISPLAYCONFIG_PIXELFORMAT pixelFormat; + POINTL position; +} DISPLAYCONFIG_SOURCE_MODE; + +typedef struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO +{ + UINT64 pixelRate; + DISPLAYCONFIG_RATIONAL hSyncFreq; + DISPLAYCONFIG_RATIONAL vSyncFreq; + DISPLAYCONFIG_2DREGION activeSize; + DISPLAYCONFIG_2DREGION totalSize; + union { + struct { + UINT32 videoStandard :16; + UINT32 vSyncFreqDivider :6; + UINT32 reserved :10; + } AdditionalSignalInfo; + UINT32 videoStandard; + } DUMMYUNIONNAME; + DISPLAYCONFIG_SCANLINE_ORDERING scanLineOrdering; +} DISPLAYCONFIG_VIDEO_SIGNAL_INFO; + +typedef struct DISPLAYCONFIG_PATH_TARGET_INFO +{ + LUID adapterId; + UINT32 id; + union { + UINT32 modeInfoIdx; + struct { + UINT32 desktopModeInfoIdx :16; + UINT32 targetModeInfoIdx :16; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY outputTechnology; + DISPLAYCONFIG_ROTATION rotation; + DISPLAYCONFIG_SCALING scaling; + DISPLAYCONFIG_RATIONAL refreshRate; + DISPLAYCONFIG_SCANLINE_ORDERING scanLineOrdering; + BOOL targetAvailable; + UINT32 statusFlags; +} DISPLAYCONFIG_PATH_TARGET_INFO; + +typedef struct DISPLAYCONFIG_TARGET_MODE +{ + DISPLAYCONFIG_VIDEO_SIGNAL_INFO targetVideoSignalInfo; +} DISPLAYCONFIG_TARGET_MODE; + +typedef struct DISPLAYCONFIG_PATH_INFO +{ + DISPLAYCONFIG_PATH_SOURCE_INFO sourceInfo; + DISPLAYCONFIG_PATH_TARGET_INFO targetInfo; + UINT32 flags; +} DISPLAYCONFIG_PATH_INFO; + +typedef struct DISPLAYCONFIG_MODE_INFO +{ + DISPLAYCONFIG_MODE_INFO_TYPE infoType; + UINT32 id; + LUID adapterId; + union { + DISPLAYCONFIG_TARGET_MODE targetMode; + DISPLAYCONFIG_SOURCE_MODE sourceMode; + DISPLAYCONFIG_DESKTOP_IMAGE_INFO desktopImageInfo; + } DUMMYUNIONNAME; +} DISPLAYCONFIG_MODE_INFO; + +/* For GetDisplayConfigBufferSizes */ +#define QDC_ALL_PATHS 0x00000001 +#define QDC_ONLY_ACTIVE_PATHS 0x00000002 +#define QDC_DATABASE_CURRENT 0x00000004 + +#define GDI_ERROR (~0u) +#define HGDI_ERROR ((HANDLE)~(ULONG_PTR)0) + +/* AddFontResourceEx flags */ +#define FR_PRIVATE 0x10 +#define FR_NOT_ENUM 0x20 + +/* Mirroring flags */ +#define LAYOUT_LTR 0x00000000 +#define LAYOUT_RTL 0x00000001 +#define LAYOUT_BITMAPORIENTATIONPRESERVED 0x00000008 +#define NOMIRRORBITMAP 0x80000000 + +/* For DRAWPATTERNRECT Escape */ +typedef struct _DRAWPATRECT +{ + POINT ptPosition; + POINT ptSize; + WORD wStyle; + WORD wPattern; +} DRAWPATRECT, *PDRAWPATRECT; + +typedef struct tagWCRANGE { + WCHAR wcLow; + USHORT cGlyphs; +} WCRANGE, *PWCRANGE, *LPWCRANGE; + +typedef struct tagGLYPHSET { + DWORD cbThis; + DWORD flAccel; + DWORD cGlyphsSupported; + DWORD cRanges; + WCRANGE ranges[1]; +} GLYPHSET, *PGLYPHSET, *LPGLYPHSET; + +#define GS_8BIT_INDICES 0x00000001 + +WINGDIAPI INT WINAPI AbortDoc(HDC); +WINGDIAPI BOOL WINAPI AbortPath(HDC); +WINGDIAPI INT WINAPI AddFontResourceA(LPCSTR); +WINGDIAPI INT WINAPI AddFontResourceW(LPCWSTR); +#define AddFontResource WINELIB_NAME_AW(AddFontResource) +WINGDIAPI INT WINAPI AddFontResourceExA(LPCSTR, DWORD, PVOID); +WINGDIAPI INT WINAPI AddFontResourceExW(LPCWSTR, DWORD, PVOID); +#define AddFontResourceEx WINELIB_NAME_AW(AddFontResourceEx) +WINGDIAPI HANDLE WINAPI AddFontMemResourceEx(PVOID, DWORD, PVOID, DWORD *); +WINGDIAPI BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION); +WINGDIAPI BOOL WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT); +WINGDIAPI BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*); +WINGDIAPI BOOL WINAPI Arc(HDC,INT,INT,INT,INT,INT,INT,INT,INT); +WINGDIAPI BOOL WINAPI ArcTo(HDC, INT, INT, INT, INT, INT, INT, INT, INT); +WINGDIAPI BOOL WINAPI BeginPath(HDC); +WINGDIAPI BOOL WINAPI BitBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,DWORD); +WINGDIAPI INT WINAPI ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR*); +WINGDIAPI BOOL WINAPI Chord(HDC,INT,INT,INT,INT,INT,INT,INT,INT); +WINGDIAPI HENHMETAFILE WINAPI CloseEnhMetaFile(HDC); +WINGDIAPI BOOL WINAPI CloseFigure(HDC); +WINGDIAPI HMETAFILE WINAPI CloseMetaFile(HDC); +WINGDIAPI INT WINAPI CombineRgn(HRGN,HRGN,HRGN,INT); +WINGDIAPI BOOL WINAPI CombineTransform(LPXFORM,const XFORM *,const XFORM *); +WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileA(HENHMETAFILE,LPCSTR); +WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR); +#define CopyEnhMetaFile WINELIB_NAME_AW(CopyEnhMetaFile) +WINGDIAPI HMETAFILE WINAPI CopyMetaFileA(HMETAFILE,LPCSTR); +WINGDIAPI HMETAFILE WINAPI CopyMetaFileW(HMETAFILE,LPCWSTR); +#define CopyMetaFile WINELIB_NAME_AW(CopyMetaFile) +WINGDIAPI HBITMAP WINAPI CreateBitmap(INT,INT,UINT,UINT,LPCVOID); +WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect(const BITMAP*); +WINGDIAPI HBRUSH WINAPI CreateBrushIndirect(const LOGBRUSH*); +WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceA(LPLOGCOLORSPACEA); +WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceW(LPLOGCOLORSPACEW); +#define CreateColorSpace WINELIB_NAME_AW(CreateColorSpace) +WINGDIAPI HBITMAP WINAPI CreateCompatibleBitmap(HDC,INT,INT); +WINGDIAPI HDC WINAPI CreateCompatibleDC(HDC); +WINGDIAPI HDC WINAPI CreateDCA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); +WINGDIAPI HDC WINAPI CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); +#define CreateDC WINELIB_NAME_AW(CreateDC) +WINGDIAPI HBITMAP WINAPI CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD,LPCVOID,const BITMAPINFO*,UINT); +WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrush(HGLOBAL,UINT); +WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrushPt(const void*,UINT); +WINGDIAPI HBITMAP WINAPI CreateDIBSection(HDC, const BITMAPINFO *, UINT, void **, HANDLE, DWORD offset); +WINGDIAPI HBITMAP WINAPI CreateDiscardableBitmap(HDC,INT,INT); +WINGDIAPI HRGN WINAPI CreateEllipticRgn(INT,INT,INT,INT); +WINGDIAPI HRGN WINAPI CreateEllipticRgnIndirect(const RECT *); +WINGDIAPI HDC WINAPI CreateEnhMetaFileA(HDC,LPCSTR,const RECT*,LPCSTR); +WINGDIAPI HDC WINAPI CreateEnhMetaFileW(HDC,LPCWSTR,const RECT*,LPCWSTR); +#define CreateEnhMetaFile WINELIB_NAME_AW(CreateEnhMetaFile) +WINGDIAPI HFONT WINAPI CreateFontA(INT,INT,INT,INT,INT,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR); +WINGDIAPI HFONT WINAPI CreateFontW(INT,INT,INT,INT,INT,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); +#define CreateFont WINELIB_NAME_AW(CreateFont) +WINGDIAPI HFONT WINAPI CreateFontIndirectA(const LOGFONTA*); +WINGDIAPI HFONT WINAPI CreateFontIndirectW(const LOGFONTW*); +#define CreateFontIndirect WINELIB_NAME_AW(CreateFontIndirect) +WINGDIAPI HFONT WINAPI CreateFontIndirectExA(const ENUMLOGFONTEXDVA*); +WINGDIAPI HFONT WINAPI CreateFontIndirectExW(const ENUMLOGFONTEXDVW*); +#define CreateFontIndirectEx WINELIB_NAME_AW(CreateFontIndirectEx) +WINGDIAPI HPALETTE WINAPI CreateHalftonePalette(HDC); +WINGDIAPI HBRUSH WINAPI CreateHatchBrush(INT,COLORREF); +WINGDIAPI HDC WINAPI CreateICA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); +WINGDIAPI HDC WINAPI CreateICW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); +#define CreateIC WINELIB_NAME_AW(CreateIC) +WINGDIAPI HDC WINAPI CreateMetaFileA(LPCSTR); +WINGDIAPI HDC WINAPI CreateMetaFileW(LPCWSTR); +#define CreateMetaFile WINELIB_NAME_AW(CreateMetaFile) +WINGDIAPI HPALETTE WINAPI CreatePalette(const LOGPALETTE*); +WINGDIAPI HBRUSH WINAPI CreatePatternBrush(HBITMAP); +WINGDIAPI HPEN WINAPI CreatePen(INT,INT,COLORREF); +WINGDIAPI HPEN WINAPI CreatePenIndirect(const LOGPEN*); +WINGDIAPI HRGN WINAPI CreatePolyPolygonRgn(const POINT*,const INT*,INT,INT); +WINGDIAPI HRGN WINAPI CreatePolygonRgn(const POINT*,INT,INT); +WINGDIAPI HRGN WINAPI CreateRectRgn(INT,INT,INT,INT); +WINGDIAPI HRGN WINAPI CreateRectRgnIndirect(const RECT*); +WINGDIAPI HRGN WINAPI CreateRoundRectRgn(INT,INT,INT,INT,INT,INT); +WINGDIAPI BOOL WINAPI CreateScalableFontResourceA(DWORD,LPCSTR,LPCSTR,LPCSTR); +WINGDIAPI BOOL WINAPI CreateScalableFontResourceW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR); +#define CreateScalableFontResource WINELIB_NAME_AW(CreateScalableFontResource) +WINGDIAPI HBRUSH WINAPI CreateSolidBrush(COLORREF); +WINGDIAPI BOOL WINAPI DPtoLP(HDC,LPPOINT,INT); +WINGDIAPI BOOL WINAPI DeleteColorSpace(HCOLORSPACE); +WINGDIAPI BOOL WINAPI DeleteDC(HDC); +WINGDIAPI BOOL WINAPI DeleteEnhMetaFile(HENHMETAFILE); +WINGDIAPI BOOL WINAPI DeleteMetaFile(HMETAFILE); +WINGDIAPI BOOL WINAPI DeleteObject(HGDIOBJ); +WINGDIAPI INT WINAPI DescribePixelFormat(HDC,int,UINT,LPPIXELFORMATDESCRIPTOR); +WINGDIAPI INT WINAPI DrawEscape(HDC,INT,INT,LPCSTR); +WINGDIAPI BOOL WINAPI Ellipse(HDC,INT,INT,INT,INT); +WINGDIAPI INT WINAPI EndDoc(HDC); +WINGDIAPI BOOL WINAPI EndPath(HDC); +WINGDIAPI BOOL WINAPI EnumEnhMetaFile(HDC,HENHMETAFILE,ENHMFENUMPROC,LPVOID,const RECT*); +WINGDIAPI INT WINAPI EnumFontFamiliesA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); +WINGDIAPI INT WINAPI EnumFontFamiliesW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); +#define EnumFontFamilies WINELIB_NAME_AW(EnumFontFamilies) +WINGDIAPI INT WINAPI EnumFontFamiliesExA(HDC,LPLOGFONTA,FONTENUMPROCA,LPARAM,DWORD); +WINGDIAPI INT WINAPI EnumFontFamiliesExW(HDC,LPLOGFONTW,FONTENUMPROCW,LPARAM,DWORD); +#define EnumFontFamiliesEx WINELIB_NAME_AW(EnumFontFamiliesEx) +WINGDIAPI INT WINAPI EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); +WINGDIAPI INT WINAPI EnumFontsW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); +#define EnumFonts WINELIB_NAME_AW(EnumFonts) +WINGDIAPI INT WINAPI EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM); +WINGDIAPI INT WINAPI EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM); +#define EnumICMProfiles WINELIB_NAME_AW(EnumICMProfiles) +WINGDIAPI BOOL WINAPI EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM); +WINGDIAPI INT WINAPI EnumObjects(HDC,INT,GOBJENUMPROC,LPARAM); +WINGDIAPI BOOL WINAPI EqualRgn(HRGN,HRGN); +WINGDIAPI INT WINAPI Escape(HDC,INT,INT,LPCSTR,LPVOID); +WINGDIAPI INT WINAPI ExcludeClipRect(HDC,INT,INT,INT,INT); +WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD,DWORD,const LOGBRUSH*,DWORD,const DWORD*); +WINGDIAPI HRGN WINAPI ExtCreateRegion(const XFORM*,DWORD,const RGNDATA*); +WINGDIAPI INT WINAPI ExtEscape(HDC,INT,INT,LPCSTR,INT,LPSTR); +WINGDIAPI BOOL WINAPI ExtFloodFill(HDC,INT,INT,COLORREF,UINT); +WINGDIAPI INT WINAPI ExtSelectClipRgn(HDC,HRGN,INT); +WINGDIAPI BOOL WINAPI ExtTextOutA(HDC,INT,INT,UINT,const RECT*,LPCSTR,UINT,const INT*); +WINGDIAPI BOOL WINAPI ExtTextOutW(HDC,INT,INT,UINT,const RECT*,LPCWSTR,UINT,const INT*); +#define ExtTextOut WINELIB_NAME_AW(ExtTextOut) +WINGDIAPI BOOL WINAPI FillPath(HDC); +WINGDIAPI BOOL WINAPI FillRgn(HDC,HRGN,HBRUSH); +WINGDIAPI BOOL WINAPI FixBrushOrgEx(HDC,INT,INT,LPPOINT); +WINGDIAPI BOOL WINAPI FlattenPath(HDC); +WINGDIAPI BOOL WINAPI FloodFill(HDC,INT,INT,COLORREF); +WINGDIAPI BOOL WINAPI FrameRgn(HDC,HRGN,HBRUSH,INT,INT); +WINGDIAPI BOOL WINAPI GdiAlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION); +WINGDIAPI BOOL WINAPI GdiComment(HDC,UINT,const BYTE *); +WINGDIAPI DEVMODEW * WINAPI GdiConvertToDevmodeW(const DEVMODEA *); +WINGDIAPI BOOL WINAPI GdiFlush(void); +WINGDIAPI DWORD WINAPI GdiGetBatchLimit(void); +WINGDIAPI LONG WINAPI GdiGetCharDimensions(HDC, LPTEXTMETRICW, LONG *); +WINGDIAPI DWORD WINAPI GdiGetCodePage(HDC); +WINGDIAPI BOOL WINAPI GdiGradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG); +WINGDIAPI BOOL WINAPI GdiIsMetaFileDC(HDC); +WINGDIAPI BOOL WINAPI GdiIsMetaPrintDC(HDC); +WINGDIAPI BOOL WINAPI GdiIsPlayMetafileDC(HDC); +WINGDIAPI DWORD WINAPI GdiSetBatchLimit(DWORD); +WINGDIAPI BOOL WINAPI GdiTransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT); +WINGDIAPI INT WINAPI GetArcDirection(HDC); +WINGDIAPI BOOL WINAPI GetAspectRatioFilterEx(HDC,LPSIZE); +WINGDIAPI LONG WINAPI GetBitmapBits(HBITMAP,LONG,LPVOID); +WINGDIAPI BOOL WINAPI GetBitmapDimensionEx(HBITMAP,LPSIZE); +WINGDIAPI BOOL WINAPI GetBrushOrgEx(HDC,LPPOINT); +WINGDIAPI COLORREF WINAPI GetBkColor(HDC); +WINGDIAPI INT WINAPI GetBkMode(HDC); +WINGDIAPI UINT WINAPI GetBoundsRect(HDC,LPRECT,UINT); +WINGDIAPI BOOL WINAPI GetCharABCWidthsA(HDC,UINT,UINT,LPABC); +WINGDIAPI BOOL WINAPI GetCharABCWidthsW(HDC,UINT,UINT,LPABC); +#define GetCharABCWidths WINELIB_NAME_AW(GetCharABCWidths) +WINGDIAPI BOOL WINAPI GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT); +WINGDIAPI BOOL WINAPI GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT); +#define GetCharABCWidthsFloat WINELIB_NAME_AW(GetCharABCWidthsFloat) +WINGDIAPI BOOL WINAPI GetCharABCWidthsI(HDC,UINT,UINT,LPWORD,LPABC); +WINGDIAPI DWORD WINAPI GetCharacterPlacementA(HDC,LPCSTR,INT,INT,GCP_RESULTSA*,DWORD); +WINGDIAPI DWORD WINAPI GetCharacterPlacementW(HDC,LPCWSTR,INT,INT,GCP_RESULTSW*,DWORD); +#define GetCharacterPlacement WINELIB_NAME_AW(GetCharacterPlacement) +WINGDIAPI BOOL WINAPI GetCharWidth32A(HDC,UINT,UINT,LPINT); +WINGDIAPI BOOL WINAPI GetCharWidth32W(HDC,UINT,UINT,LPINT); +#define GetCharWidth32 WINELIB_NAME_AW(GetCharWidth32) +WINGDIAPI BOOL WINAPI GetCharWidthA(HDC,UINT,UINT,LPINT); +WINGDIAPI BOOL WINAPI GetCharWidthI(HDC,UINT,UINT,LPWORD,LPINT); +WINGDIAPI BOOL WINAPI GetCharWidthW(HDC,UINT,UINT,LPINT); +#define GetCharWidth WINELIB_NAME_AW(GetCharWidth) +WINGDIAPI BOOL WINAPI GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT); +WINGDIAPI BOOL WINAPI GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT); +#define GetCharWidthFloat WINELIB_NAME_AW(GetCharWidthFloat) +WINGDIAPI INT WINAPI GetClipBox(HDC,LPRECT); +WINGDIAPI INT WINAPI GetClipRgn(HDC,HRGN); +WINGDIAPI BOOL WINAPI GetColorAdjustment(HDC, LPCOLORADJUSTMENT); +WINGDIAPI HCOLORSPACE WINAPI GetColorSpace(HDC); +WINGDIAPI HGDIOBJ WINAPI GetCurrentObject(HDC,UINT); +WINGDIAPI BOOL WINAPI GetCurrentPositionEx(HDC,LPPOINT); +WINGDIAPI INT WINAPI GetDeviceCaps(HDC,INT); +WINGDIAPI BOOL WINAPI GetDeviceGammaRamp(HDC,LPVOID); +WINGDIAPI COLORREF WINAPI GetDCBrushColor(HDC); +WINGDIAPI BOOL WINAPI GetDCOrgEx(HDC,LPPOINT); +WINGDIAPI COLORREF WINAPI GetDCPenColor(HDC); +WINGDIAPI UINT WINAPI GetDIBColorTable(HDC,UINT,UINT,RGBQUAD*); +WINGDIAPI INT WINAPI GetDIBits(HDC,HBITMAP,UINT,UINT,LPVOID,LPBITMAPINFO,UINT); +WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileA(LPCSTR); +WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileW(LPCWSTR); +#define GetEnhMetaFile WINELIB_NAME_AW(GetEnhMetaFile) +WINGDIAPI UINT WINAPI GetEnhMetaFileBits(HENHMETAFILE,UINT,LPBYTE); +WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionA(HENHMETAFILE,UINT,LPSTR); +WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionW(HENHMETAFILE,UINT,LPWSTR); +#define GetEnhMetaFileDescription WINELIB_NAME_AW(GetEnhMetaFileDescription) +WINGDIAPI UINT WINAPI GetEnhMetaFileHeader(HENHMETAFILE,UINT,LPENHMETAHEADER); +WINGDIAPI UINT WINAPI GetEnhMetaFilePaletteEntries(HENHMETAFILE,UINT,LPPALETTEENTRY); +WINGDIAPI DWORD WINAPI GetFontData(HDC,DWORD,DWORD,LPVOID,DWORD); +WINGDIAPI DWORD WINAPI GetFontLanguageInfo(HDC); +WINGDIAPI DWORD WINAPI GetFontUnicodeRanges(HDC,LPGLYPHSET); +WINGDIAPI DWORD WINAPI GetGlyphIndicesA(HDC,LPCSTR,INT,LPWORD,DWORD); +WINGDIAPI DWORD WINAPI GetGlyphIndicesW(HDC,LPCWSTR,INT,LPWORD,DWORD); +#define GetGlyphIndices WINELIB_NAME_AW(GetGlyphIndices) +WINGDIAPI DWORD WINAPI GetGlyphOutlineA(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*); +WINGDIAPI DWORD WINAPI GetGlyphOutlineW(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*); +#define GetGlyphOutline WINELIB_NAME_AW(GetGlyphOutline) +WINGDIAPI INT WINAPI GetGraphicsMode(HDC); +WINGDIAPI BOOL WINAPI GetICMProfileA(HDC,LPDWORD,LPSTR); +WINGDIAPI BOOL WINAPI GetICMProfileW(HDC,LPDWORD,LPWSTR); +#define GetICMProfile WINELIB_NAME_AW(GetICMProfile) +WINGDIAPI DWORD WINAPI GetKerningPairsA(HDC,DWORD,LPKERNINGPAIR); +WINGDIAPI DWORD WINAPI GetKerningPairsW(HDC,DWORD,LPKERNINGPAIR); +#define GetKerningPairs WINELIB_NAME_AW(GetKerningPairs) +WINGDIAPI DWORD WINAPI GetLayout(HDC); +WINGDIAPI BOOL WINAPI GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACEA,DWORD); +WINGDIAPI BOOL WINAPI GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACEW,DWORD); +#define GetLogColorSpace WINELIB_NAME_AW(GetLogColorSpace) +WINGDIAPI INT WINAPI GetMapMode(HDC); +WINGDIAPI HMETAFILE WINAPI GetMetaFileA(LPCSTR); +WINGDIAPI HMETAFILE WINAPI GetMetaFileW(LPCWSTR); +#define GetMetaFile WINELIB_NAME_AW(GetMetaFile) +WINGDIAPI UINT WINAPI GetMetaFileBitsEx(HMETAFILE,UINT,LPVOID); +WINGDIAPI INT WINAPI GetMetaRgn(HDC,HRGN); +WINGDIAPI BOOL WINAPI GetMiterLimit(HDC, PFLOAT); +WINGDIAPI DWORD WINAPI GetNearestColor(HDC,DWORD); +WINGDIAPI UINT WINAPI GetNearestPaletteIndex(HPALETTE,COLORREF); +WINGDIAPI INT WINAPI GetObjectA(HGDIOBJ,INT,LPVOID); +WINGDIAPI INT WINAPI GetObjectW(HGDIOBJ,INT,LPVOID); +#define GetObject WINELIB_NAME_AW(GetObject) +WINGDIAPI DWORD WINAPI GetObjectType(HGDIOBJ); +WINGDIAPI UINT WINAPI GetOutlineTextMetricsA(HDC,UINT,LPOUTLINETEXTMETRICA); +WINGDIAPI UINT WINAPI GetOutlineTextMetricsW(HDC,UINT,LPOUTLINETEXTMETRICW); +#define GetOutlineTextMetrics WINELIB_NAME_AW(GetOutlineTextMetrics) +WINGDIAPI UINT WINAPI GetPaletteEntries(HPALETTE,UINT,UINT,LPPALETTEENTRY); +WINGDIAPI INT WINAPI GetPath(HDC,LPPOINT,LPBYTE,INT); +WINGDIAPI COLORREF WINAPI GetPixel(HDC,INT,INT); +WINGDIAPI INT WINAPI GetPixelFormat(HDC); +WINGDIAPI INT WINAPI GetPolyFillMode(HDC); +WINGDIAPI INT WINAPI GetRandomRgn(HDC,HRGN,INT); +WINGDIAPI BOOL WINAPI GetRasterizerCaps(LPRASTERIZER_STATUS,UINT); +WINGDIAPI DWORD WINAPI GetRegionData(HRGN,DWORD,LPRGNDATA); +WINGDIAPI INT WINAPI GetRelAbs(HDC,DWORD); +WINGDIAPI INT WINAPI GetRgnBox(HRGN,LPRECT); +WINGDIAPI INT WINAPI GetROP2(HDC); +WINGDIAPI HGDIOBJ WINAPI GetStockObject(INT); +WINGDIAPI INT WINAPI GetStretchBltMode(HDC); +WINGDIAPI UINT WINAPI GetSystemPaletteEntries(HDC,UINT,UINT,LPPALETTEENTRY); +WINGDIAPI UINT WINAPI GetSystemPaletteUse(HDC); +WINGDIAPI UINT WINAPI GetTextAlign(HDC); +WINGDIAPI INT WINAPI GetTextCharacterExtra(HDC); +WINGDIAPI UINT WINAPI GetTextCharset(HDC); +WINGDIAPI UINT WINAPI GetTextCharsetInfo(HDC,LPFONTSIGNATURE,DWORD); +WINGDIAPI COLORREF WINAPI GetTextColor(HDC); +WINGDIAPI BOOL WINAPI GetTextExtentExPointA(HDC,LPCSTR,INT,INT,LPINT,LPINT,LPSIZE); +WINGDIAPI BOOL WINAPI GetTextExtentExPointW(HDC,LPCWSTR,INT,INT,LPINT,LPINT,LPSIZE); +#define GetTextExtentExPoint WINELIB_NAME_AW(GetTextExtentExPoint) +WINGDIAPI BOOL WINAPI GetTextExtentPointA(HDC,LPCSTR,INT,LPSIZE); +WINGDIAPI BOOL WINAPI GetTextExtentPointW(HDC,LPCWSTR,INT,LPSIZE); +#define GetTextExtentPoint WINELIB_NAME_AW(GetTextExtentPoint) +WINGDIAPI BOOL WINAPI GetTextExtentPoint32A(HDC,LPCSTR,INT,LPSIZE); +WINGDIAPI BOOL WINAPI GetTextExtentPoint32W(HDC,LPCWSTR,INT,LPSIZE); +#define GetTextExtentPoint32 WINELIB_NAME_AW(GetTextExtentPoint32) +WINGDIAPI BOOL WINAPI GetTextExtentExPointI(HDC,const WORD*,INT,INT,LPINT,LPINT,LPSIZE); +WINGDIAPI BOOL WINAPI GetTextExtentPointI(HDC,const WORD*,INT,LPSIZE); +WINGDIAPI INT WINAPI GetTextFaceA(HDC,INT,LPSTR); +WINGDIAPI INT WINAPI GetTextFaceW(HDC,INT,LPWSTR); +#define GetTextFace WINELIB_NAME_AW(GetTextFace) +WINGDIAPI BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA); +WINGDIAPI BOOL WINAPI GetTextMetricsW(HDC,LPTEXTMETRICW); +#define GetTextMetrics WINELIB_NAME_AW(GetTextMetrics) +WINGDIAPI BOOL WINAPI GetTransform(HDC,DWORD,XFORM*); +WINGDIAPI BOOL WINAPI GetViewportExtEx(HDC,LPSIZE); +WINGDIAPI BOOL WINAPI GetViewportOrgEx(HDC,LPPOINT); +WINGDIAPI BOOL WINAPI GetWindowExtEx(HDC,LPSIZE); +WINGDIAPI BOOL WINAPI GetWindowOrgEx(HDC,LPPOINT); +WINGDIAPI UINT WINAPI GetWinMetaFileBits(HENHMETAFILE,UINT,LPBYTE,INT,HDC); +WINGDIAPI BOOL WINAPI GetWorldTransform(HDC,LPXFORM); +WINGDIAPI BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG); +WINGDIAPI INT WINAPI IntersectClipRect(HDC,INT,INT,INT,INT); +WINGDIAPI BOOL WINAPI InvertRgn(HDC,HRGN); +WINGDIAPI BOOL WINAPI LineDDA(INT,INT,INT,INT,LINEDDAPROC,LPARAM); +WINGDIAPI BOOL WINAPI LineTo(HDC,INT,INT); +WINGDIAPI BOOL WINAPI LPtoDP(HDC,LPPOINT,INT); +WINGDIAPI BOOL WINAPI MaskBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,HBITMAP,INT,INT,DWORD); +WINGDIAPI BOOL WINAPI MirrorRgn(HWND,HRGN); +WINGDIAPI BOOL WINAPI ModifyWorldTransform(HDC,const XFORM *, DWORD); +WINGDIAPI BOOL WINAPI MoveToEx(HDC,INT,INT,LPPOINT); +WINGDIAPI INT WINAPI OffsetClipRgn(HDC,INT,INT); +WINGDIAPI INT WINAPI OffsetRgn(HRGN,INT,INT); +WINGDIAPI BOOL WINAPI OffsetViewportOrgEx(HDC,INT,INT,LPPOINT); +WINGDIAPI BOOL WINAPI OffsetWindowOrgEx(HDC,INT,INT,LPPOINT); +WINGDIAPI BOOL WINAPI PaintRgn(HDC,HRGN); +WINGDIAPI BOOL WINAPI PatBlt(HDC,INT,INT,INT,INT,DWORD); +WINGDIAPI HRGN WINAPI PathToRegion(HDC); +WINGDIAPI BOOL WINAPI Pie(HDC,INT,INT,INT,INT,INT,INT,INT,INT); +WINGDIAPI BOOL WINAPI PlayEnhMetaFile(HDC,HENHMETAFILE,const RECT*); +WINGDIAPI BOOL WINAPI PlayEnhMetaFileRecord(HDC,LPHANDLETABLE,const ENHMETARECORD*,UINT); +WINGDIAPI BOOL WINAPI PlayMetaFile(HDC,HMETAFILE); +WINGDIAPI BOOL WINAPI PlayMetaFileRecord(HDC,LPHANDLETABLE,LPMETARECORD,UINT); +WINGDIAPI BOOL WINAPI PlgBlt(HDC,const POINT*,HDC,INT,INT,INT,INT,HBITMAP,INT,INT); +WINGDIAPI BOOL WINAPI PolyBezier(HDC,const POINT*,DWORD); +WINGDIAPI BOOL WINAPI PolyBezierTo(HDC,const POINT*,DWORD); +WINGDIAPI BOOL WINAPI PolyDraw(HDC,const POINT*,const BYTE*,DWORD); +WINGDIAPI BOOL WINAPI PolyPolygon(HDC,const POINT*,const INT*,UINT); +WINGDIAPI BOOL WINAPI PolyPolyline(HDC,const POINT*,const DWORD*,DWORD); +WINGDIAPI BOOL WINAPI Polygon(HDC,const POINT*,INT); +WINGDIAPI BOOL WINAPI Polyline(HDC,const POINT*,INT); +WINGDIAPI BOOL WINAPI PolylineTo(HDC,const POINT*,DWORD); +WINGDIAPI BOOL WINAPI PtInRegion(HRGN,INT,INT); +WINGDIAPI BOOL WINAPI PtVisible(HDC,INT,INT); +WINGDIAPI UINT WINAPI RealizePalette(HDC); +WINGDIAPI BOOL WINAPI Rectangle(HDC,INT,INT,INT,INT); +WINGDIAPI BOOL WINAPI RectInRegion(HRGN,const RECT *); +WINGDIAPI BOOL WINAPI RectVisible(HDC,const RECT*); +WINGDIAPI BOOL WINAPI RemoveFontMemResourceEx(HANDLE); +WINGDIAPI BOOL WINAPI RemoveFontResourceA(LPCSTR); +WINGDIAPI BOOL WINAPI RemoveFontResourceW(LPCWSTR); +#define RemoveFontResource WINELIB_NAME_AW(RemoveFontResource) +WINGDIAPI BOOL WINAPI RemoveFontResourceExA(LPCSTR, DWORD, PVOID); +WINGDIAPI BOOL WINAPI RemoveFontResourceExW(LPCWSTR, DWORD, PVOID); +#define RemoveFontResourceEx WINELIB_NAME_AW(RemoveFontResourceEx) +WINGDIAPI HDC WINAPI ResetDCA(HDC,const DEVMODEA *); +WINGDIAPI HDC WINAPI ResetDCW(HDC,const DEVMODEW *); +#define ResetDC WINELIB_NAME_AW(ResetDC) +WINGDIAPI BOOL WINAPI ResizePalette(HPALETTE,UINT); +WINGDIAPI BOOL WINAPI RestoreDC(HDC,INT); +WINGDIAPI BOOL WINAPI RoundRect(HDC,INT,INT,INT,INT,INT,INT); +WINGDIAPI INT WINAPI SaveDC(HDC); +WINGDIAPI BOOL WINAPI ScaleViewportExtEx(HDC,INT,INT,INT,INT,LPSIZE); +WINGDIAPI BOOL WINAPI ScaleWindowExtEx(HDC,INT,INT,INT,INT,LPSIZE); +WINGDIAPI BOOL WINAPI SelectClipPath(HDC,INT); +WINGDIAPI INT WINAPI SelectClipRgn(HDC,HRGN); +WINGDIAPI HGDIOBJ WINAPI SelectObject(HDC,HGDIOBJ); +WINGDIAPI HPALETTE WINAPI SelectPalette(HDC,HPALETTE,BOOL); +WINGDIAPI INT WINAPI SetAbortProc(HDC,ABORTPROC); +WINGDIAPI INT WINAPI SetArcDirection(HDC,INT); +WINGDIAPI LONG WINAPI SetBitmapBits(HBITMAP,LONG,LPCVOID); +WINGDIAPI BOOL WINAPI SetBitmapDimensionEx(HBITMAP,INT,INT,LPSIZE); +WINGDIAPI COLORREF WINAPI SetBkColor(HDC,COLORREF); +WINGDIAPI INT WINAPI SetBkMode(HDC,INT); +WINGDIAPI UINT WINAPI SetBoundsRect(HDC,const RECT*,UINT); +WINGDIAPI BOOL WINAPI SetBrushOrgEx(HDC,INT,INT,LPPOINT); +WINGDIAPI BOOL WINAPI SetColorAdjustment(HDC,const COLORADJUSTMENT*); +WINGDIAPI HCOLORSPACE WINAPI SetColorSpace(HDC,HCOLORSPACE); +WINGDIAPI BOOL WINAPI SetDeviceGammaRamp(HDC,LPVOID); +WINGDIAPI COLORREF WINAPI SetDCBrushColor(HDC,COLORREF); +WINGDIAPI COLORREF WINAPI SetDCPenColor(HDC, COLORREF); +WINGDIAPI UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); +WINGDIAPI INT WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); +WINGDIAPI INT WINAPI SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); +WINGDIAPI HENHMETAFILE WINAPI SetEnhMetaFileBits(UINT,const BYTE *); +WINGDIAPI INT WINAPI SetGraphicsMode(HDC,INT); +WINGDIAPI INT WINAPI SetICMMode(HDC,INT); +WINGDIAPI BOOL WINAPI SetICMProfileA(HDC,LPSTR); +WINGDIAPI BOOL WINAPI SetICMProfileW(HDC,LPWSTR); +#define SetICMProfile WINELIB_NAME_AW(SetICMProfile) +WINGDIAPI DWORD WINAPI SetLayout(HDC,DWORD); +WINGDIAPI INT WINAPI SetMapMode(HDC,INT); +WINGDIAPI DWORD WINAPI SetMapperFlags(HDC,DWORD); +WINGDIAPI HMETAFILE WINAPI SetMetaFileBitsEx(UINT,const BYTE*); +WINGDIAPI INT WINAPI SetMetaRgn(HDC); +WINGDIAPI BOOL WINAPI SetMiterLimit(HDC, FLOAT, PFLOAT); +WINGDIAPI UINT WINAPI SetPaletteEntries(HPALETTE,UINT,UINT,const PALETTEENTRY*); +WINGDIAPI COLORREF WINAPI SetPixel(HDC,INT,INT,COLORREF); +WINGDIAPI BOOL WINAPI SetPixelV(HDC,INT,INT,COLORREF); +WINGDIAPI BOOL WINAPI SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR*); +WINGDIAPI INT WINAPI SetPolyFillMode(HDC,INT); +WINGDIAPI BOOL WINAPI SetRectRgn(HRGN,INT,INT,INT,INT); +WINGDIAPI INT WINAPI SetRelAbs(HDC,INT); +WINGDIAPI INT WINAPI SetROP2(HDC,INT); +WINGDIAPI INT WINAPI SetStretchBltMode(HDC,INT); +WINGDIAPI UINT WINAPI SetSystemPaletteUse(HDC,UINT); +WINGDIAPI UINT WINAPI SetTextAlign(HDC,UINT); +WINGDIAPI INT WINAPI SetTextCharacterExtra(HDC,INT); +WINGDIAPI COLORREF WINAPI SetTextColor(HDC,COLORREF); +WINGDIAPI BOOL WINAPI SetTextJustification(HDC,INT,INT); +WINGDIAPI BOOL WINAPI SetViewportExtEx(HDC,INT,INT,LPSIZE); +WINGDIAPI BOOL WINAPI SetViewportOrgEx(HDC,INT,INT,LPPOINT); +WINGDIAPI BOOL WINAPI SetWindowExtEx(HDC,INT,INT,LPSIZE); +WINGDIAPI BOOL WINAPI SetWindowOrgEx(HDC,INT,INT,LPPOINT); +WINGDIAPI HENHMETAFILE WINAPI SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT *); +WINGDIAPI BOOL WINAPI SetWorldTransform(HDC,const XFORM*); +WINGDIAPI INT WINAPI StartDocA(HDC,const DOCINFOA*); +WINGDIAPI INT WINAPI StartDocW(HDC,const DOCINFOW*); +#define StartDoc WINELIB_NAME_AW(StartDoc) +WINGDIAPI INT WINAPI StartPage(HDC); +WINGDIAPI INT WINAPI EndPage(HDC); +WINGDIAPI BOOL WINAPI StretchBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,INT,INT,DWORD); +WINGDIAPI INT WINAPI StretchDIBits(HDC,INT,INT,INT,INT,INT,INT,INT,INT,const VOID*,const BITMAPINFO*,UINT,DWORD); +WINGDIAPI BOOL WINAPI StrokeAndFillPath(HDC); +WINGDIAPI BOOL WINAPI StrokePath(HDC); +WINGDIAPI BOOL WINAPI SwapBuffers(HDC); +WINGDIAPI BOOL WINAPI TextOutA(HDC,INT,INT,LPCSTR,INT); +WINGDIAPI BOOL WINAPI TextOutW(HDC,INT,INT,LPCWSTR,INT); +#define TextOut WINELIB_NAME_AW(TextOut) +WINGDIAPI BOOL WINAPI TranslateCharsetInfo(LPDWORD,LPCHARSETINFO,DWORD); +WINGDIAPI BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT); +WINGDIAPI BOOL WINAPI UnrealizeObject(HGDIOBJ); +WINGDIAPI BOOL WINAPI UpdateColors(HDC); +WINGDIAPI BOOL WINAPI UpdateICMRegKeyA(DWORD,LPSTR,LPSTR,UINT); +WINGDIAPI BOOL WINAPI UpdateICMRegKeyW(DWORD,LPWSTR,LPWSTR,UINT); +#define UpdateICMRegKey WINELIB_NAME_AW(UpdateICMRegKey) +WINGDIAPI BOOL WINAPI WidenPath(HDC); +WINGDIAPI BOOL WINAPI PolyTextOutA(HDC,const POLYTEXTA*,INT); +WINGDIAPI BOOL WINAPI PolyTextOutW(HDC,const POLYTEXTW*,INT); +#define PolyTextOut WINELIB_NAME_AW(PolyTextOut) + +/* These defines are used by wglSwapLayerBuffers */ +#define WGL_SWAP_MAIN_PLANE (1 << 0) +#define WGL_SWAP_OVERLAY1 (1 << 1) +#define WGL_SWAP_OVERLAY2 (1 << 2) +#define WGL_SWAP_OVERLAY3 (1 << 3) +#define WGL_SWAP_OVERLAY4 (1 << 4) +#define WGL_SWAP_OVERLAY5 (1 << 5) +#define WGL_SWAP_OVERLAY6 (1 << 6) +#define WGL_SWAP_OVERLAY7 (1 << 7) +#define WGL_SWAP_OVERLAY8 (1 << 8) +#define WGL_SWAP_OVERLAY9 (1 << 9) +#define WGL_SWAP_OVERLAY10 (1 << 10) +#define WGL_SWAP_OVERLAY11 (1 << 11) +#define WGL_SWAP_OVERLAY12 (1 << 12) +#define WGL_SWAP_OVERLAY13 (1 << 13) +#define WGL_SWAP_OVERLAY14 (1 << 14) +#define WGL_SWAP_OVERLAY15 (1 << 15) +#define WGL_SWAP_UNDERLAY1 (1 << 16) +#define WGL_SWAP_UNDERLAY2 (1 << 17) +#define WGL_SWAP_UNDERLAY3 (1 << 18) +#define WGL_SWAP_UNDERLAY4 (1 << 19) +#define WGL_SWAP_UNDERLAY5 (1 << 20) +#define WGL_SWAP_UNDERLAY6 (1 << 21) +#define WGL_SWAP_UNDERLAY7 (1 << 22) +#define WGL_SWAP_UNDERLAY8 (1 << 23) +#define WGL_SWAP_UNDERLAY9 (1 << 24) +#define WGL_SWAP_UNDERLAY10 (1 << 25) +#define WGL_SWAP_UNDERLAY11 (1 << 26) +#define WGL_SWAP_UNDERLAY12 (1 << 27) +#define WGL_SWAP_UNDERLAY13 (1 << 28) +#define WGL_SWAP_UNDERLAY14 (1 << 29) +#define WGL_SWAP_UNDERLAY15 (1 << 30) + +#define WGL_FONT_LINES 0 +#define WGL_FONT_POLYGONS 1 + +/* WGL prototypes */ +WINGDIAPI HGLRC WINAPI wglCreateContext(HDC); +WINGDIAPI HGLRC WINAPI wglCreateLayerContext(HDC,INT); +WINGDIAPI BOOL WINAPI wglCopyContext(HGLRC,HGLRC,UINT); +WINGDIAPI BOOL WINAPI wglDeleteContext(HGLRC); +WINGDIAPI BOOL WINAPI wglDescribeLayerPlane(HDC,INT,INT,UINT,LPLAYERPLANEDESCRIPTOR); +WINGDIAPI HGLRC WINAPI wglGetCurrentContext(void); +WINGDIAPI HDC WINAPI wglGetCurrentDC(void); +WINGDIAPI INT WINAPI wglGetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *); +WINGDIAPI PROC WINAPI wglGetProcAddress(LPCSTR); +WINGDIAPI BOOL WINAPI wglMakeCurrent(HDC,HGLRC); +WINGDIAPI BOOL WINAPI wglRealizeLayerPalette(HDC,INT,BOOL); +WINGDIAPI INT WINAPI wglSetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *); +WINGDIAPI BOOL WINAPI wglShareLists(HGLRC,HGLRC); +WINGDIAPI BOOL WINAPI wglSwapLayerBuffers(HDC,UINT); +WINGDIAPI BOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD); +WINGDIAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD); +#define wglUseFontBitmaps WINELIB_NAME_AW(wglUseFontBitmaps) +WINGDIAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); +WINGDIAPI BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); +#define wglUseFontOutlines WINELIB_NAME_AW(wglUseFontOutlines) + +#ifdef __cplusplus +} +#endif + +#endif /* !NOGDI */ +#endif /* _WINGDI_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winhttp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winhttp.h new file mode 100644 index 0000000..e873e77 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winhttp.h @@ -0,0 +1,593 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINHTTP_H +#define __WINE_WINHTTP_H + +#ifdef _WIN64 +#include +#else +#include +#endif + +#define WINHTTPAPI +#define BOOLAPI WINHTTPAPI BOOL WINAPI + + +typedef LPVOID HINTERNET; +typedef HINTERNET *LPHINTERNET; + +#define INTERNET_DEFAULT_PORT 0 +#define INTERNET_DEFAULT_HTTP_PORT 80 +#define INTERNET_DEFAULT_HTTPS_PORT 443 +typedef WORD INTERNET_PORT; +typedef INTERNET_PORT *LPINTERNET_PORT; + +/* Yes, these values contradict wininet.h */ +#define INTERNET_SCHEME_HTTP 1 +#define INTERNET_SCHEME_HTTPS 2 +#define INTERNET_SCHEME_FTP 3 +#define INTERNET_SCHEME_SOCKS 4 +typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; + +#define ICU_ESCAPE 0x80000000 + +/* flags for WinHttpOpen */ +#define WINHTTP_FLAG_ASYNC 0x10000000 + +/* flags for WinHttpOpenRequest */ +#define WINHTTP_FLAG_ESCAPE_PERCENT 0x00000004 +#define WINHTTP_FLAG_NULL_CODEPAGE 0x00000008 +#define WINHTTP_FLAG_ESCAPE_DISABLE 0x00000040 +#define WINHTTP_FLAG_ESCAPE_DISABLE_QUERY 0x00000080 +#define WINHTTP_FLAG_BYPASS_PROXY_CACHE 0x00000100 +#define WINHTTP_FLAG_REFRESH WINHTTP_FLAG_BYPASS_PROXY_CACHE +#define WINHTTP_FLAG_SECURE 0x00800000 + +#define WINHTTP_ACCESS_TYPE_DEFAULT_PROXY 0 +#define WINHTTP_ACCESS_TYPE_NO_PROXY 1 +#define WINHTTP_ACCESS_TYPE_NAMED_PROXY 3 + +#define WINHTTP_NO_PROXY_NAME NULL +#define WINHTTP_NO_PROXY_BYPASS NULL + +#define WINHTTP_NO_CLIENT_CERT_CONTEXT NULL + +#define WINHTTP_NO_REFERER NULL +#define WINHTTP_DEFAULT_ACCEPT_TYPES NULL + +#define WINHTTP_NO_ADDITIONAL_HEADERS NULL +#define WINHTTP_NO_REQUEST_DATA NULL + +#define WINHTTP_HEADER_NAME_BY_INDEX NULL +#define WINHTTP_NO_OUTPUT_BUFFER NULL +#define WINHTTP_NO_HEADER_INDEX NULL + +#define WINHTTP_ADDREQ_INDEX_MASK 0x0000FFFF +#define WINHTTP_ADDREQ_FLAGS_MASK 0xFFFF0000 +#define WINHTTP_ADDREQ_FLAG_ADD_IF_NEW 0x10000000 +#define WINHTTP_ADDREQ_FLAG_ADD 0x20000000 +#define WINHTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA 0x40000000 +#define WINHTTP_ADDREQ_FLAG_COALESCE_WITH_SEMICOLON 0x01000000 +#define WINHTTP_ADDREQ_FLAG_COALESCE WINHTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA +#define WINHTTP_ADDREQ_FLAG_REPLACE 0x80000000 + +#define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH 0 + +/* flags for WinHttp{Set/Query}Options */ +#define WINHTTP_FIRST_OPTION WINHTTP_OPTION_CALLBACK +#define WINHTTP_OPTION_CALLBACK 1 +#define WINHTTP_OPTION_RESOLVE_TIMEOUT 2 +#define WINHTTP_OPTION_CONNECT_TIMEOUT 3 +#define WINHTTP_OPTION_CONNECT_RETRIES 4 +#define WINHTTP_OPTION_SEND_TIMEOUT 5 +#define WINHTTP_OPTION_RECEIVE_TIMEOUT 6 +#define WINHTTP_OPTION_RECEIVE_RESPONSE_TIMEOUT 7 +#define WINHTTP_OPTION_HANDLE_TYPE 9 +#define WINHTTP_OPTION_READ_BUFFER_SIZE 12 +#define WINHTTP_OPTION_WRITE_BUFFER_SIZE 13 +#define WINHTTP_OPTION_PARENT_HANDLE 21 +#define WINHTTP_OPTION_EXTENDED_ERROR 24 +#define WINHTTP_OPTION_SECURITY_FLAGS 31 +#define WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT 32 +#define WINHTTP_OPTION_URL 34 +#define WINHTTP_OPTION_SECURITY_KEY_BITNESS 36 +#define WINHTTP_OPTION_PROXY 38 +#define WINHTTP_OPTION_USER_AGENT 41 +#define WINHTTP_OPTION_CONTEXT_VALUE 45 +#define WINHTTP_OPTION_CLIENT_CERT_CONTEXT 47 +#define WINHTTP_OPTION_REQUEST_PRIORITY 58 +#define WINHTTP_OPTION_HTTP_VERSION 59 +#define WINHTTP_OPTION_DISABLE_FEATURE 63 +#define WINHTTP_OPTION_CODEPAGE 68 +#define WINHTTP_OPTION_MAX_CONNS_PER_SERVER 73 +#define WINHTTP_OPTION_MAX_CONNS_PER_1_0_SERVER 74 +#define WINHTTP_OPTION_AUTOLOGON_POLICY 77 +#define WINHTTP_OPTION_SERVER_CERT_CONTEXT 78 +#define WINHTTP_OPTION_ENABLE_FEATURE 79 +#define WINHTTP_OPTION_WORKER_THREAD_COUNT 80 +#define WINHTTP_OPTION_PASSPORT_COBRANDING_TEXT 81 +#define WINHTTP_OPTION_PASSPORT_COBRANDING_URL 82 +#define WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH 83 +#define WINHTTP_OPTION_SECURE_PROTOCOLS 84 +#define WINHTTP_OPTION_ENABLETRACING 85 +#define WINHTTP_OPTION_PASSPORT_SIGN_OUT 86 +#define WINHTTP_OPTION_PASSPORT_RETURN_URL 87 +#define WINHTTP_OPTION_REDIRECT_POLICY 88 +#define WINHTTP_OPTION_MAX_HTTP_AUTOMATIC_REDIRECTS 89 +#define WINHTTP_OPTION_MAX_HTTP_STATUS_CONTINUE 90 +#define WINHTTP_OPTION_MAX_RESPONSE_HEADER_SIZE 91 +#define WINHTTP_OPTION_MAX_RESPONSE_DRAIN_SIZE 92 +#define WINHTTP_OPTION_CONNECTION_INFO 93 +#define WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST 94 +#define WINHTTP_OPTION_SPN 96 +#define WINHTTP_OPTION_GLOBAL_PROXY_CREDS 97 +#define WINHTTP_OPTION_GLOBAL_SERVER_CREDS 98 +#define WINHTTP_OPTION_UNLOAD_NOTIFY_EVENT 99 +#define WINHTTP_OPTION_REJECT_USERPWD_IN_URL 100 +#define WINHTTP_OPTION_USE_GLOBAL_SERVER_CREDENTIALS 101 +#define WINHTTP_LAST_OPTION WINHTTP_OPTION_USE_GLOBAL_SERVER_CREDENTIALS +#define WINHTTP_OPTION_USERNAME 0x1000 +#define WINHTTP_OPTION_PASSWORD 0x1001 +#define WINHTTP_OPTION_PROXY_USERNAME 0x1002 +#define WINHTTP_OPTION_PROXY_PASSWORD 0x1003 + +#define WINHTTP_CONNS_PER_SERVER_UNLIMITED 0xFFFFFFFF + +#define WINHTTP_AUTOLOGON_SECURITY_LEVEL_MEDIUM 0 +#define WINHTTP_AUTOLOGON_SECURITY_LEVEL_LOW 1 +#define WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH 2 +#define WINHTTP_AUTOLOGON_SECURITY_LEVEL_DEFAULT WINHTTP_AUTOLOGON_SECURITY_LEVEL_MEDIUM + +#define WINHTTP_OPTION_REDIRECT_POLICY_NEVER 0 +#define WINHTTP_OPTION_REDIRECT_POLICY_DISALLOW_HTTPS_TO_HTTP 1 +#define WINHTTP_OPTION_REDIRECT_POLICY_ALWAYS 2 +#define WINHTTP_OPTION_REDIRECT_POLICY_LAST WINHTTP_OPTION_REDIRECT_POLICY_ALWAYS +#define WINHTTP_OPTION_REDIRECT_POLICY_DEFAULT WINHTTP_OPTION_REDIRECT_POLICY_DISALLOW_HTTPS_TO_HTTP + +#define WINHTTP_DISABLE_PASSPORT_AUTH 0x00000000 +#define WINHTTP_ENABLE_PASSPORT_AUTH 0x10000000 +#define WINHTTP_DISABLE_PASSPORT_KEYRING 0x20000000 +#define WINHTTP_ENABLE_PASSPORT_KEYRING 0x40000000 + +#define WINHTTP_DISABLE_COOKIES 0x00000001 +#define WINHTTP_DISABLE_REDIRECTS 0x00000002 +#define WINHTTP_DISABLE_AUTHENTICATION 0x00000004 +#define WINHTTP_DISABLE_KEEP_ALIVE 0x00000008 +#define WINHTTP_ENABLE_SSL_REVOCATION 0x00000001 +#define WINHTTP_ENABLE_SSL_REVERT_IMPERSONATION 0x00000002 +#define WINHTTP_DISABLE_SPN_SERVER_PORT 0x00000000 +#define WINHTTP_ENABLE_SPN_SERVER_PORT 0x00000001 +#define WINHTTP_OPTION_SPN_MASK WINHTTP_ENABLE_SPN_SERVER_PORT + +/* Options for WinHttpOpenRequest */ +#define WINHTTP_NO_REFERER NULL +#define WINHTTP_DEFAULT_ACCEPT_TYPES NULL + +/* Options for WinHttpSendRequest */ +#define WINHTTP_NO_ADDITIONAL_HEADERS NULL +#define WINHTTP_NO_REQUEST_DATA NULL + +/* WinHTTP error codes */ +#define WINHTTP_ERROR_BASE 12000 +#define ERROR_WINHTTP_OUT_OF_HANDLES (WINHTTP_ERROR_BASE + 1) +#define ERROR_WINHTTP_TIMEOUT (WINHTTP_ERROR_BASE + 2) +#define ERROR_WINHTTP_INTERNAL_ERROR (WINHTTP_ERROR_BASE + 4) +#define ERROR_WINHTTP_INVALID_URL (WINHTTP_ERROR_BASE + 5) +#define ERROR_WINHTTP_UNRECOGNIZED_SCHEME (WINHTTP_ERROR_BASE + 6) +#define ERROR_WINHTTP_NAME_NOT_RESOLVED (WINHTTP_ERROR_BASE + 7) +#define ERROR_WINHTTP_INVALID_OPTION (WINHTTP_ERROR_BASE + 9) +#define ERROR_WINHTTP_OPTION_NOT_SETTABLE (WINHTTP_ERROR_BASE + 11) +#define ERROR_WINHTTP_SHUTDOWN (WINHTTP_ERROR_BASE + 12) +#define ERROR_WINHTTP_LOGIN_FAILURE (WINHTTP_ERROR_BASE + 15) +#define ERROR_WINHTTP_OPERATION_CANCELLED (WINHTTP_ERROR_BASE + 17) +#define ERROR_WINHTTP_INCORRECT_HANDLE_TYPE (WINHTTP_ERROR_BASE + 18) +#define ERROR_WINHTTP_INCORRECT_HANDLE_STATE (WINHTTP_ERROR_BASE + 19) +#define ERROR_WINHTTP_CANNOT_CONNECT (WINHTTP_ERROR_BASE + 29) +#define ERROR_WINHTTP_CONNECTION_ERROR (WINHTTP_ERROR_BASE + 30) +#define ERROR_WINHTTP_RESEND_REQUEST (WINHTTP_ERROR_BASE + 32) +#define ERROR_WINHTTP_SECURE_CERT_DATE_INVALID (WINHTTP_ERROR_BASE + 37) +#define ERROR_WINHTTP_SECURE_CERT_CN_INVALID (WINHTTP_ERROR_BASE + 38) +#define ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED (WINHTTP_ERROR_BASE + 44) +#define ERROR_WINHTTP_SECURE_INVALID_CA (WINHTTP_ERROR_BASE + 45) +#define ERROR_WINHTTP_SECURE_CERT_REV_FAILED (WINHTTP_ERROR_BASE + 57) +#define ERROR_WINHTTP_CANNOT_CALL_BEFORE_OPEN (WINHTTP_ERROR_BASE + 100) +#define ERROR_WINHTTP_CANNOT_CALL_BEFORE_SEND (WINHTTP_ERROR_BASE + 101) +#define ERROR_WINHTTP_CANNOT_CALL_AFTER_SEND (WINHTTP_ERROR_BASE + 102) +#define ERROR_WINHTTP_CANNOT_CALL_AFTER_OPEN (WINHTTP_ERROR_BASE + 103) +#define ERROR_WINHTTP_HEADER_NOT_FOUND (WINHTTP_ERROR_BASE + 150) +#define ERROR_WINHTTP_INVALID_SERVER_RESPONSE (WINHTTP_ERROR_BASE + 152) +#define ERROR_WINHTTP_INVALID_HEADER (WINHTTP_ERROR_BASE + 153) +#define ERROR_WINHTTP_INVALID_QUERY_REQUEST (WINHTTP_ERROR_BASE + 154) +#define ERROR_WINHTTP_HEADER_ALREADY_EXISTS (WINHTTP_ERROR_BASE + 155) +#define ERROR_WINHTTP_REDIRECT_FAILED (WINHTTP_ERROR_BASE + 156) +#define ERROR_WINHTTP_SECURE_CHANNEL_ERROR (WINHTTP_ERROR_BASE + 157) +#define ERROR_WINHTTP_BAD_AUTO_PROXY_SCRIPT (WINHTTP_ERROR_BASE + 166) +#define ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT (WINHTTP_ERROR_BASE + 167) +#define ERROR_WINHTTP_SECURE_INVALID_CERT (WINHTTP_ERROR_BASE + 169) +#define ERROR_WINHTTP_SECURE_CERT_REVOKED (WINHTTP_ERROR_BASE + 170) +#define ERROR_WINHTTP_NOT_INITIALIZED (WINHTTP_ERROR_BASE + 172) +#define ERROR_WINHTTP_SECURE_FAILURE (WINHTTP_ERROR_BASE + 175) +#define ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR (WINHTTP_ERROR_BASE + 178) +#define ERROR_WINHTTP_SECURE_CERT_WRONG_USAGE (WINHTTP_ERROR_BASE + 179) +#define ERROR_WINHTTP_AUTODETECTION_FAILED (WINHTTP_ERROR_BASE + 180) +#define ERROR_WINHTTP_HEADER_COUNT_EXCEEDED (WINHTTP_ERROR_BASE + 181) +#define ERROR_WINHTTP_HEADER_SIZE_OVERFLOW (WINHTTP_ERROR_BASE + 182) +#define ERROR_WINHTTP_CHUNKED_ENCODING_HEADER_SIZE_OVERFLOW (WINHTTP_ERROR_BASE + 183) +#define ERROR_WINHTTP_RESPONSE_DRAIN_OVERFLOW (WINHTTP_ERROR_BASE + 184) +#define ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY (WINHTTP_ERROR_BASE + 185) +#define ERROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY (WINHTTP_ERROR_BASE + 186) +#define WINHTTP_ERROR_LAST (WINHTTP_ERROR_BASE + 186) + +/* WinHttp status codes */ +#define HTTP_STATUS_CONTINUE 100 +#define HTTP_STATUS_SWITCH_PROTOCOLS 101 +#define HTTP_STATUS_OK 200 +#define HTTP_STATUS_CREATED 201 +#define HTTP_STATUS_ACCEPTED 202 +#define HTTP_STATUS_PARTIAL 203 +#define HTTP_STATUS_NO_CONTENT 204 +#define HTTP_STATUS_RESET_CONTENT 205 +#define HTTP_STATUS_PARTIAL_CONTENT 206 +#define HTTP_STATUS_WEBDAV_MULTI_STATUS 207 +#define HTTP_STATUS_AMBIGUOUS 300 +#define HTTP_STATUS_MOVED 301 +#define HTTP_STATUS_REDIRECT 302 +#define HTTP_STATUS_REDIRECT_METHOD 303 +#define HTTP_STATUS_NOT_MODIFIED 304 +#define HTTP_STATUS_USE_PROXY 305 +#define HTTP_STATUS_REDIRECT_KEEP_VERB 307 +#define HTTP_STATUS_BAD_REQUEST 400 +#define HTTP_STATUS_DENIED 401 +#define HTTP_STATUS_PAYMENT_REQ 402 +#define HTTP_STATUS_FORBIDDEN 403 +#define HTTP_STATUS_NOT_FOUND 404 +#define HTTP_STATUS_BAD_METHOD 405 +#define HTTP_STATUS_NONE_ACCEPTABLE 406 +#define HTTP_STATUS_PROXY_AUTH_REQ 407 +#define HTTP_STATUS_REQUEST_TIMEOUT 408 +#define HTTP_STATUS_CONFLICT 409 +#define HTTP_STATUS_GONE 410 +#define HTTP_STATUS_LENGTH_REQUIRED 411 +#define HTTP_STATUS_PRECOND_FAILED 412 +#define HTTP_STATUS_REQUEST_TOO_LARGE 413 +#define HTTP_STATUS_URI_TOO_LONG 414 +#define HTTP_STATUS_UNSUPPORTED_MEDIA 415 +#define HTTP_STATUS_RETRY_WITH 449 +#define HTTP_STATUS_SERVER_ERROR 500 +#define HTTP_STATUS_NOT_SUPPORTED 501 +#define HTTP_STATUS_BAD_GATEWAY 502 +#define HTTP_STATUS_SERVICE_UNAVAIL 503 +#define HTTP_STATUS_GATEWAY_TIMEOUT 504 +#define HTTP_STATUS_VERSION_NOT_SUP 505 +#define HTTP_STATUS_FIRST HTTP_STATUS_CONTINUE +#define HTTP_STATUS_LAST HTTP_STATUS_VERSION_NOT_SUP + +#define SECURITY_FLAG_IGNORE_UNKNOWN_CA 0x00000100 +#define SECURITY_FLAG_IGNORE_CERT_DATE_INVALID 0x00002000 +#define SECURITY_FLAG_IGNORE_CERT_CN_INVALID 0x00001000 +#define SECURITY_FLAG_IGNORE_CERT_WRONG_USAGE 0x00000200 +#define SECURITY_FLAG_SECURE 0x00000001 +#define SECURITY_FLAG_STRENGTH_WEAK 0x10000000 +#define SECURITY_FLAG_STRENGTH_MEDIUM 0x40000000 +#define SECURITY_FLAG_STRENGTH_STRONG 0x20000000 + +#define ICU_NO_ENCODE 0x20000000 +#define ICU_DECODE 0x10000000 +#define ICU_NO_META 0x08000000 +#define ICU_ENCODE_SPACES_ONLY 0x04000000 +#define ICU_BROWSER_MODE 0x02000000 +#define ICU_ENCODE_PERCENT 0x00001000 + +/* Query flags */ +#define WINHTTP_QUERY_MIME_VERSION 0 +#define WINHTTP_QUERY_CONTENT_TYPE 1 +#define WINHTTP_QUERY_CONTENT_TRANSFER_ENCODING 2 +#define WINHTTP_QUERY_CONTENT_ID 3 +#define WINHTTP_QUERY_CONTENT_DESCRIPTION 4 +#define WINHTTP_QUERY_CONTENT_LENGTH 5 +#define WINHTTP_QUERY_CONTENT_LANGUAGE 6 +#define WINHTTP_QUERY_ALLOW 7 +#define WINHTTP_QUERY_PUBLIC 8 +#define WINHTTP_QUERY_DATE 9 +#define WINHTTP_QUERY_EXPIRES 10 +#define WINHTTP_QUERY_LAST_MODIFIED 11 +#define WINHTTP_QUERY_MESSAGE_ID 12 +#define WINHTTP_QUERY_URI 13 +#define WINHTTP_QUERY_DERIVED_FROM 14 +#define WINHTTP_QUERY_COST 15 +#define WINHTTP_QUERY_LINK 16 +#define WINHTTP_QUERY_PRAGMA 17 +#define WINHTTP_QUERY_VERSION 18 +#define WINHTTP_QUERY_STATUS_CODE 19 +#define WINHTTP_QUERY_STATUS_TEXT 20 +#define WINHTTP_QUERY_RAW_HEADERS 21 +#define WINHTTP_QUERY_RAW_HEADERS_CRLF 22 +#define WINHTTP_QUERY_CONNECTION 23 +#define WINHTTP_QUERY_ACCEPT 24 +#define WINHTTP_QUERY_ACCEPT_CHARSET 25 +#define WINHTTP_QUERY_ACCEPT_ENCODING 26 +#define WINHTTP_QUERY_ACCEPT_LANGUAGE 27 +#define WINHTTP_QUERY_AUTHORIZATION 28 +#define WINHTTP_QUERY_CONTENT_ENCODING 29 +#define WINHTTP_QUERY_FORWARDED 30 +#define WINHTTP_QUERY_FROM 31 +#define WINHTTP_QUERY_IF_MODIFIED_SINCE 32 +#define WINHTTP_QUERY_LOCATION 33 +#define WINHTTP_QUERY_ORIG_URI 34 +#define WINHTTP_QUERY_REFERER 35 +#define WINHTTP_QUERY_RETRY_AFTER 36 +#define WINHTTP_QUERY_SERVER 37 +#define WINHTTP_QUERY_TITLE 38 +#define WINHTTP_QUERY_USER_AGENT 39 +#define WINHTTP_QUERY_WWW_AUTHENTICATE 40 +#define WINHTTP_QUERY_PROXY_AUTHENTICATE 41 +#define WINHTTP_QUERY_ACCEPT_RANGES 42 +#define WINHTTP_QUERY_SET_COOKIE 43 +#define WINHTTP_QUERY_COOKIE 44 +#define WINHTTP_QUERY_REQUEST_METHOD 45 +#define WINHTTP_QUERY_REFRESH 46 +#define WINHTTP_QUERY_CONTENT_DISPOSITION 47 +#define WINHTTP_QUERY_AGE 48 +#define WINHTTP_QUERY_CACHE_CONTROL 49 +#define WINHTTP_QUERY_CONTENT_BASE 50 +#define WINHTTP_QUERY_CONTENT_LOCATION 51 +#define WINHTTP_QUERY_CONTENT_MD5 52 +#define WINHTTP_QUERY_CONTENT_RANGE 53 +#define WINHTTP_QUERY_ETAG 54 +#define WINHTTP_QUERY_HOST 55 +#define WINHTTP_QUERY_IF_MATCH 56 +#define WINHTTP_QUERY_IF_NONE_MATCH 57 +#define WINHTTP_QUERY_IF_RANGE 58 +#define WINHTTP_QUERY_IF_UNMODIFIED_SINCE 59 +#define WINHTTP_QUERY_MAX_FORWARDS 60 +#define WINHTTP_QUERY_PROXY_AUTHORIZATION 61 +#define WINHTTP_QUERY_RANGE 62 +#define WINHTTP_QUERY_TRANSFER_ENCODING 63 +#define WINHTTP_QUERY_UPGRADE 64 +#define WINHTTP_QUERY_VARY 65 +#define WINHTTP_QUERY_VIA 66 +#define WINHTTP_QUERY_WARNING 67 +#define WINHTTP_QUERY_EXPECT 68 +#define WINHTTP_QUERY_PROXY_CONNECTION 69 +#define WINHTTP_QUERY_UNLESS_MODIFIED_SINCE 70 +#define WINHTTP_QUERY_PROXY_SUPPORT 75 +#define WINHTTP_QUERY_AUTHENTICATION_INFO 76 +#define WINHTTP_QUERY_PASSPORT_URLS 77 +#define WINHTTP_QUERY_PASSPORT_CONFIG 78 +#define WINHTTP_QUERY_MAX 78 +#define WINHTTP_QUERY_CUSTOM 65535 +#define WINHTTP_QUERY_FLAG_REQUEST_HEADERS 0x80000000 +#define WINHTTP_QUERY_FLAG_SYSTEMTIME 0x40000000 +#define WINHTTP_QUERY_FLAG_NUMBER 0x20000000 + +/* Callback options */ +#define WINHTTP_CALLBACK_STATUS_RESOLVING_NAME 0x00000001 +#define WINHTTP_CALLBACK_STATUS_NAME_RESOLVED 0x00000002 +#define WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER 0x00000004 +#define WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER 0x00000008 +#define WINHTTP_CALLBACK_STATUS_SENDING_REQUEST 0x00000010 +#define WINHTTP_CALLBACK_STATUS_REQUEST_SENT 0x00000020 +#define WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE 0x00000040 +#define WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED 0x00000080 +#define WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION 0x00000100 +#define WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED 0x00000200 +#define WINHTTP_CALLBACK_STATUS_HANDLE_CREATED 0x00000400 +#define WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING 0x00000800 +#define WINHTTP_CALLBACK_STATUS_DETECTING_PROXY 0x00001000 +#define WINHTTP_CALLBACK_STATUS_REDIRECT 0x00004000 +#define WINHTTP_CALLBACK_STATUS_INTERMEDIATE_RESPONSE 0x00008000 +#define WINHTTP_CALLBACK_STATUS_SECURE_FAILURE 0x00010000 +#define WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE 0x00020000 +#define WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE 0x00040000 +#define WINHTTP_CALLBACK_STATUS_READ_COMPLETE 0x00080000 +#define WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE 0x00100000 +#define WINHTTP_CALLBACK_STATUS_REQUEST_ERROR 0x00200000 +#define WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE 0x00400000 +#define WINHTTP_CALLBACK_FLAG_RESOLVE_NAME (WINHTTP_CALLBACK_STATUS_RESOLVING_NAME | WINHTTP_CALLBACK_STATUS_NAME_RESOLVED) +#define WINHTTP_CALLBACK_FLAG_CONNECT_TO_SERVER (WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER | WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER) +#define WINHTTP_CALLBACK_FLAG_SEND_REQUEST (WINHTTP_CALLBACK_STATUS_SENDING_REQUEST | WINHTTP_CALLBACK_STATUS_REQUEST_SENT) +#define WINHTTP_CALLBACK_FLAG_RECEIVE_RESPONSE (WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE | WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED) +#define WINHTTP_CALLBACK_FLAG_CLOSE_CONNECTION (WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION | WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED) +#define WINHTTP_CALLBACK_FLAG_HANDLES (WINHTTP_CALLBACK_STATUS_HANDLE_CREATED | WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING) +#define WINHTTP_CALLBACK_FLAG_DETECTING_PROXY WINHTTP_CALLBACK_STATUS_DETECTING_PROXY +#define WINHTTP_CALLBACK_FLAG_REDIRECT WINHTTP_CALLBACK_STATUS_REDIRECT +#define WINHTTP_CALLBACK_FLAG_INTERMEDIATE_RESPONSE WINHTTP_CALLBACK_STATUS_INTERMEDIATE_RESPONSE +#define WINHTTP_CALLBACK_FLAG_SECURE_FAILURE WINHTTP_CALLBACK_STATUS_SECURE_FAILURE +#define WINHTTP_CALLBACK_FLAG_SENDREQUEST_COMPLETE WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE +#define WINHTTP_CALLBACK_FLAG_HEADERS_AVAILABLE WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE +#define WINHTTP_CALLBACK_FLAG_DATA_AVAILABLE WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE +#define WINHTTP_CALLBACK_FLAG_READ_COMPLETE WINHTTP_CALLBACK_STATUS_READ_COMPLETE +#define WINHTTP_CALLBACK_FLAG_WRITE_COMPLETE WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE +#define WINHTTP_CALLBACK_FLAG_REQUEST_ERROR WINHTTP_CALLBACK_STATUS_REQUEST_ERROR +#define WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS (WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE | WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE \ + | WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE | WINHTTP_CALLBACK_STATUS_READ_COMPLETE \ + | WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE | WINHTTP_CALLBACK_STATUS_REQUEST_ERROR) +#define WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS 0xffffffff +#define WINHTTP_INVALID_STATUS_CALLBACK ((WINHTTP_STATUS_CALLBACK)(-1)) + +#define API_RECEIVE_RESPONSE (1) +#define API_QUERY_DATA_AVAILABLE (2) +#define API_READ_DATA (3) +#define API_WRITE_DATA (4) +#define API_SEND_REQUEST (5) + +#define WINHTTP_HANDLE_TYPE_SESSION 1 +#define WINHTTP_HANDLE_TYPE_CONNECT 2 +#define WINHTTP_HANDLE_TYPE_REQUEST 3 + +#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_REV_FAILED 0x00000001 +#define WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CERT 0x00000002 +#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_REVOKED 0x00000004 +#define WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CA 0x00000008 +#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_CN_INVALID 0x00000010 +#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_DATE_INVALID 0x00000020 +#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_WRONG_USAGE 0x00000040 +#define WINHTTP_CALLBACK_STATUS_FLAG_SECURITY_CHANNEL_ERROR 0x80000000 + +#define WINHTTP_FLAG_SECURE_PROTOCOL_SSL2 0x00000008 +#define WINHTTP_FLAG_SECURE_PROTOCOL_SSL3 0x00000020 +#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1 0x00000080 +#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1 0x00000200 +#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2 0x00000800 +#define WINHTTP_FLAG_SECURE_PROTOCOL_ALL (WINHTTP_FLAG_SECURE_PROTOCOL_SSL2 |\ + WINHTTP_FLAG_SECURE_PROTOCOL_SSL3 |\ + WINHTTP_FLAG_SECURE_PROTOCOL_TLS1) + +#define WINHTTP_AUTH_SCHEME_BASIC 0x00000001 +#define WINHTTP_AUTH_SCHEME_NTLM 0x00000002 +#define WINHTTP_AUTH_SCHEME_PASSPORT 0x00000004 +#define WINHTTP_AUTH_SCHEME_DIGEST 0x00000008 +#define WINHTTP_AUTH_SCHEME_NEGOTIATE 0x00000010 + +#define WINHTTP_AUTH_TARGET_SERVER 0x00000000 +#define WINHTTP_AUTH_TARGET_PROXY 0x00000001 + +#define WINHTTP_TIME_FORMAT_BUFSIZE 62 + +typedef struct +{ + DWORD dwStructSize; + LPWSTR lpszScheme; + DWORD dwSchemeLength; + INTERNET_SCHEME nScheme; + LPWSTR lpszHostName; + DWORD dwHostNameLength; + INTERNET_PORT nPort; + LPWSTR lpszUserName; + DWORD dwUserNameLength; + LPWSTR lpszPassword; + DWORD dwPasswordLength; + LPWSTR lpszUrlPath; + DWORD dwUrlPathLength; + LPWSTR lpszExtraInfo; + DWORD dwExtraInfoLength; +} URL_COMPONENTS, *LPURL_COMPONENTS; +typedef URL_COMPONENTS URL_COMPONENTSW; +typedef LPURL_COMPONENTS LPURL_COMPONENTSW; + +typedef struct +{ + DWORD_PTR dwResult; + DWORD dwError; +} WINHTTP_ASYNC_RESULT, *LPWINHTTP_ASYNC_RESULT; + +typedef struct +{ + FILETIME ftExpiry; + FILETIME ftStart; + LPWSTR lpszSubjectInfo; + LPWSTR lpszIssuerInfo; + LPWSTR lpszProtocolName; + LPWSTR lpszSignatureAlgName; + LPWSTR lpszEncryptionAlgName; + DWORD dwKeySize; +} WINHTTP_CERTIFICATE_INFO; + +typedef struct +{ + DWORD dwAccessType; + LPWSTR lpszProxy; + LPWSTR lpszProxyBypass; +} WINHTTP_PROXY_INFO, *LPWINHTTP_PROXY_INFO; +typedef WINHTTP_PROXY_INFO WINHTTP_PROXY_INFOW; +typedef LPWINHTTP_PROXY_INFO LPWINHTTP_PROXY_INFOW; + +typedef struct +{ + BOOL fAutoDetect; + LPWSTR lpszAutoConfigUrl; + LPWSTR lpszProxy; + LPWSTR lpszProxyBypass; +} WINHTTP_CURRENT_USER_IE_PROXY_CONFIG; + +typedef VOID (CALLBACK *WINHTTP_STATUS_CALLBACK)(HINTERNET,DWORD_PTR,DWORD,LPVOID,DWORD); + +#define WINHTTP_AUTO_DETECT_TYPE_DHCP 0x00000001 +#define WINHTTP_AUTO_DETECT_TYPE_DNS_A 0x00000002 + +#define WINHTTP_AUTOPROXY_AUTO_DETECT 0x00000001 +#define WINHTTP_AUTOPROXY_CONFIG_URL 0x00000002 +#define WINHTTP_AUTOPROXY_RUN_INPROCESS 0x00010000 +#define WINHTTP_AUTOPROXY_RUN_OUTPROCESS_ONLY 0x00020000 + +typedef struct +{ + DWORD dwFlags; + DWORD dwAutoDetectFlags; + LPCWSTR lpszAutoConfigUrl; + LPVOID lpvReserved; + DWORD dwReserved; + BOOL fAutoLogonIfChallenged; +} WINHTTP_AUTOPROXY_OPTIONS; + +typedef struct +{ + DWORD dwMajorVersion; + DWORD dwMinorVersion; +} HTTP_VERSION_INFO, *LPHTTP_VERSION_INFO; + +#ifdef _WS2DEF_ +typedef struct +{ + DWORD cbSize; + SOCKADDR_STORAGE LocalAddress; + SOCKADDR_STORAGE RemoteAddress; +} WINHTTP_CONNECTION_INFO; +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI WinHttpAddRequestHeaders(HINTERNET,LPCWSTR,DWORD,DWORD); +BOOL WINAPI WinHttpDetectAutoProxyConfigUrl(DWORD,LPWSTR*); +BOOL WINAPI WinHttpCheckPlatform(void); +BOOL WINAPI WinHttpCloseHandle(HINTERNET); +HINTERNET WINAPI WinHttpConnect(HINTERNET,LPCWSTR,INTERNET_PORT,DWORD); +BOOL WINAPI WinHttpCrackUrl(LPCWSTR,DWORD,DWORD,LPURL_COMPONENTS); +BOOL WINAPI WinHttpCreateUrl(LPURL_COMPONENTS,DWORD,LPWSTR,LPDWORD); +BOOL WINAPI WinHttpGetDefaultProxyConfiguration(WINHTTP_PROXY_INFO*); +BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser(WINHTTP_CURRENT_USER_IE_PROXY_CONFIG*); +BOOL WINAPI WinHttpGetProxyForUrl(HINTERNET,LPCWSTR,WINHTTP_AUTOPROXY_OPTIONS*,WINHTTP_PROXY_INFO*); +HINTERNET WINAPI WinHttpOpen(LPCWSTR,DWORD,LPCWSTR,LPCWSTR,DWORD); +HINTERNET WINAPI WinHttpOpenRequest(HINTERNET,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR*,DWORD); +BOOL WINAPI WinHttpQueryAuthParams(HINTERNET,DWORD,LPVOID*); +BOOL WINAPI WinHttpQueryAuthSchemes(HINTERNET,LPDWORD,LPDWORD,LPDWORD); +BOOL WINAPI WinHttpQueryDataAvailable(HINTERNET,LPDWORD); +BOOL WINAPI WinHttpQueryHeaders(HINTERNET,DWORD,LPCWSTR,LPVOID,LPDWORD,LPDWORD); +BOOL WINAPI WinHttpQueryOption(HINTERNET,DWORD,LPVOID,LPDWORD); +BOOL WINAPI WinHttpReadData(HINTERNET,LPVOID,DWORD,LPDWORD); +BOOL WINAPI WinHttpReceiveResponse(HINTERNET,LPVOID); +BOOL WINAPI WinHttpSendRequest(HINTERNET,LPCWSTR,DWORD,LPVOID,DWORD,DWORD,DWORD_PTR); +BOOL WINAPI WinHttpSetDefaultProxyConfiguration(WINHTTP_PROXY_INFO*); +BOOL WINAPI WinHttpSetCredentials(HINTERNET,DWORD,DWORD,LPCWSTR,LPCWSTR,LPVOID); +BOOL WINAPI WinHttpSetOption(HINTERNET,DWORD,LPVOID,DWORD); +WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback(HINTERNET,WINHTTP_STATUS_CALLBACK,DWORD,DWORD_PTR); +BOOL WINAPI WinHttpSetTimeouts(HINTERNET,int,int,int,int); +BOOL WINAPI WinHttpTimeFromSystemTime(const SYSTEMTIME *,LPWSTR); +BOOL WINAPI WinHttpTimeToSystemTime(LPCWSTR,SYSTEMTIME*); +BOOL WINAPI WinHttpWriteData(HINTERNET,LPCVOID,DWORD,LPDWORD); + +#ifdef __cplusplus +} +#endif + +#include + +#endif /* __WINE_WINHTTP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wininet.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wininet.h new file mode 100644 index 0000000..e9126de --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wininet.h @@ -0,0 +1,1775 @@ +/* + * Copyright (C) 2000 Ulrich Czekalla + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINE_WININET_H_ +#define _WINE_WININET_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define INTERNETAPI +#define BOOLAPI INTERNETAPI BOOL WINAPI + +typedef LPVOID HINTERNET; +typedef HINTERNET * LPHINTERNET; + +typedef WORD INTERNET_PORT; +typedef INTERNET_PORT * LPINTERNET_PORT; + + +#define INTERNET_INVALID_PORT_NUMBER 0 + +#define INTERNET_DEFAULT_FTP_PORT 21 +#define INTERNET_DEFAULT_GOPHER_PORT 70 +#define INTERNET_DEFAULT_HTTP_PORT 80 +#define INTERNET_DEFAULT_HTTPS_PORT 443 +#define INTERNET_DEFAULT_SOCKS_PORT 1080 + +#define INTERNET_MAX_HOST_NAME_LENGTH 256 +#define INTERNET_MAX_USER_NAME_LENGTH 128 +#define INTERNET_MAX_PASSWORD_LENGTH 128 +#define INTERNET_MAX_PORT_NUMBER_LENGTH 5 +#define INTERNET_MAX_PORT_NUMBER_VALUE 65535 +#define INTERNET_MAX_PATH_LENGTH 2048 +#define INTERNET_MAX_SCHEME_LENGTH 32 +#define INTERNET_MAX_URL_LENGTH (INTERNET_MAX_SCHEME_LENGTH + sizeof("://")+ INTERNET_MAX_PATH_LENGTH) +#define INTERNET_KEEP_ALIVE_UNKNOWN ((DWORD)-1) +#define INTERNET_KEEP_ALIVE_ENABLED 1 +#define INTERNET_KEEP_ALIVE_DISABLED 0 +#define INTERNET_REQFLAG_FROM_CACHE 0x00000001 +#define INTERNET_REQFLAG_ASYNC 0x00000002 +#define INTERNET_REQFLAG_VIA_PROXY 0x00000004 +#define INTERNET_REQFLAG_NO_HEADERS 0x00000008 +#define INTERNET_REQFLAG_PASSIVE 0x00000010 +#define INTERNET_REQFLAG_CACHE_WRITE_DISABLED 0x00000040 +#define INTERNET_FLAG_RELOAD 0x80000000 +#define INTERNET_FLAG_RAW_DATA 0x40000000 +#define INTERNET_FLAG_EXISTING_CONNECT 0x20000000 +#define INTERNET_FLAG_ASYNC 0x10000000 +#define INTERNET_FLAG_PASSIVE 0x08000000 +#define INTERNET_FLAG_NO_CACHE_WRITE 0x04000000 +#define INTERNET_FLAG_DONT_CACHE INTERNET_FLAG_NO_CACHE_WRITE +#define INTERNET_FLAG_MAKE_PERSISTENT 0x02000000 +#define INTERNET_FLAG_FROM_CACHE 0x01000000 +#define INTERNET_FLAG_OFFLINE INTERNET_FLAG_FROM_CACHE +#define INTERNET_FLAG_SECURE 0x00800000 +#define INTERNET_FLAG_KEEP_CONNECTION 0x00400000 +#define INTERNET_FLAG_NO_AUTO_REDIRECT 0x00200000 +#define INTERNET_FLAG_READ_PREFETCH 0x00100000 +#define INTERNET_FLAG_NO_COOKIES 0x00080000 +#define INTERNET_FLAG_NO_AUTH 0x00040000 +#define INTERNET_FLAG_CACHE_IF_NET_FAIL 0x00010000 +#define INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP 0x00008000 +#define INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS 0x00004000 +#define INTERNET_FLAG_IGNORE_CERT_DATE_INVALID 0x00002000 +#define INTERNET_FLAG_IGNORE_CERT_CN_INVALID 0x00001000 +#define INTERNET_FLAG_RESYNCHRONIZE 0x00000800 +#define INTERNET_FLAG_HYPERLINK 0x00000400 +#define INTERNET_FLAG_NO_UI 0x00000200 +#define INTERNET_FLAG_PRAGMA_NOCACHE 0x00000100 +#define INTERNET_FLAG_CACHE_ASYNC 0x00000080 +#define INTERNET_FLAG_FORMS_SUBMIT 0x00000040 +#define INTERNET_FLAG_NEED_FILE 0x00000010 +#define INTERNET_FLAG_MUST_CACHE_REQUEST INTERNET_FLAG_NEED_FILE +#define INTERNET_FLAG_TRANSFER_ASCII FTP_TRANSFER_TYPE_ASCII +#define INTERNET_FLAG_TRANSFER_BINARY FTP_TRANSFER_TYPE_BINARY +#define SECURITY_INTERNET_MASK (INTERNET_FLAG_IGNORE_CERT_CN_INVALID|\ +INTERNET_FLAG_IGNORE_CERT_DATE_INVALID|\ +INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS|\ +INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP) + +#define INTERNET_FLAGS_MASK (INTERNET_FLAG_RELOAD \ + | INTERNET_FLAG_RAW_DATA \ + | INTERNET_FLAG_EXISTING_CONNECT \ + | INTERNET_FLAG_ASYNC \ + | INTERNET_FLAG_PASSIVE \ + | INTERNET_FLAG_NO_CACHE_WRITE \ + | INTERNET_FLAG_MAKE_PERSISTENT \ + | INTERNET_FLAG_FROM_CACHE \ + | INTERNET_FLAG_SECURE \ + | INTERNET_FLAG_KEEP_CONNECTION \ + | INTERNET_FLAG_NO_AUTO_REDIRECT \ + | INTERNET_FLAG_READ_PREFETCH \ + | INTERNET_FLAG_NO_COOKIES \ + | INTERNET_FLAG_NO_AUTH \ + | INTERNET_FLAG_CACHE_IF_NET_FAIL \ + | SECURITY_INTERNET_MASK \ + | INTERNET_FLAG_RESYNCHRONIZE \ + | INTERNET_FLAG_HYPERLINK \ + | INTERNET_FLAG_NO_UI \ + | INTERNET_FLAG_PRAGMA_NOCACHE \ + | INTERNET_FLAG_CACHE_ASYNC \ + | INTERNET_FLAG_FORMS_SUBMIT \ + | INTERNET_FLAG_NEED_FILE \ + | INTERNET_FLAG_TRANSFER_BINARY \ + | INTERNET_FLAG_TRANSFER_ASCII \ + ) + +#define INTERNET_ERROR_MASK_INSERT_CDROM 0x1 +#define INTERNET_ERROR_MASK_COMBINED_SEC_CERT 0x2 +#define INTERNET_ERROR_MASK_NEED_MSN_SSPI_PKG 0x4 +#define INTERNET_ERROR_MASK_LOGIN_FAILURE_DISPLAY_ENTITY_BODY 0x8 + +#define INTERNET_OPTIONS_MASK (~INTERNET_FLAGS_MASK) +#define WININET_API_FLAG_ASYNC 0x00000001 +#define WININET_API_FLAG_SYNC 0x00000004 +#define WININET_API_FLAG_USE_CONTEXT 0x00000008 +#define INTERNET_NO_CALLBACK 0 + +typedef enum { + INTERNET_SCHEME_PARTIAL = -2, + INTERNET_SCHEME_UNKNOWN = -1, + INTERNET_SCHEME_DEFAULT = 0, + INTERNET_SCHEME_FTP, /* yes, this contradicts winhttp.h */ + INTERNET_SCHEME_GOPHER, + INTERNET_SCHEME_HTTP, /* yes, this contradicts winhttp.h */ + INTERNET_SCHEME_HTTPS, /* yes, this contradicts winhttp.h */ + INTERNET_SCHEME_FILE, + INTERNET_SCHEME_NEWS, + INTERNET_SCHEME_MAILTO, + INTERNET_SCHEME_SOCKS, /* yes, this contradicts winhttp.h */ + INTERNET_SCHEME_JAVASCRIPT, + INTERNET_SCHEME_VBSCRIPT, + INTERNET_SCHEME_RES, + INTERNET_SCHEME_FIRST = INTERNET_SCHEME_FTP, + INTERNET_SCHEME_LAST = INTERNET_SCHEME_RES +} INTERNET_SCHEME,* LPINTERNET_SCHEME; + +typedef struct { + DWORD_PTR dwResult; + DWORD dwError; +} INTERNET_ASYNC_RESULT,* LPINTERNET_ASYNC_RESULT; + +typedef struct { + DWORD dwAccessType; + LPCSTR lpszProxy; + LPCSTR lpszProxyBypass; +} INTERNET_PROXY_INFOA,* LPINTERNET_PROXY_INFOA; + +typedef struct { + DWORD dwAccessType; + LPCWSTR lpszProxy; + LPCWSTR lpszProxyBypass; +} INTERNET_PROXY_INFOW,* LPINTERNET_PROXY_INFOW; + + +DECL_WINELIB_TYPE_AW(INTERNET_PROXY_INFO) +DECL_WINELIB_TYPE_AW(LPINTERNET_PROXY_INFO) + +typedef struct { + DWORD dwMajorVersion; + DWORD dwMinorVersion; +} INTERNET_VERSION_INFO,* LPINTERNET_VERSION_INFO; + +typedef struct { + DWORD dwMajorVersion; + DWORD dwMinorVersion; +} HTTP_VERSION_INFO,* LPHTTP_VERSION_INFO; + +typedef struct { + DWORD dwConnectedState; + DWORD dwFlags; +} INTERNET_CONNECTED_INFO,* LPINTERNET_CONNECTED_INFO; + +#define ISO_FORCE_DISCONNECTED 0x00000001 + +typedef struct { + DWORD dwStructSize; + LPSTR lpszScheme; + DWORD dwSchemeLength; + INTERNET_SCHEME nScheme; + LPSTR lpszHostName; + DWORD dwHostNameLength; + INTERNET_PORT nPort; + LPSTR lpszUserName; + DWORD dwUserNameLength; + LPSTR lpszPassword; + DWORD dwPasswordLength; + LPSTR lpszUrlPath; + DWORD dwUrlPathLength; + LPSTR lpszExtraInfo; + DWORD dwExtraInfoLength; +} URL_COMPONENTSA,* LPURL_COMPONENTSA; + +typedef struct { + DWORD dwStructSize; + LPWSTR lpszScheme; + DWORD dwSchemeLength; + INTERNET_SCHEME nScheme; + LPWSTR lpszHostName; + DWORD dwHostNameLength; + INTERNET_PORT nPort; + LPWSTR lpszUserName; + DWORD dwUserNameLength; + LPWSTR lpszPassword; + DWORD dwPasswordLength; + LPWSTR lpszUrlPath; + DWORD dwUrlPathLength; + LPWSTR lpszExtraInfo; + DWORD dwExtraInfoLength; +} URL_COMPONENTSW,* LPURL_COMPONENTSW; + +DECL_WINELIB_TYPE_AW(URL_COMPONENTS) +DECL_WINELIB_TYPE_AW(LPURL_COMPONENTS) + +typedef struct { + FILETIME ftExpiry; + FILETIME ftStart; + LPSTR lpszSubjectInfo; + LPSTR lpszIssuerInfo; + LPSTR lpszProtocolName; + LPSTR lpszSignatureAlgName; + LPSTR lpszEncryptionAlgName; + DWORD dwKeySize; + +} INTERNET_CERTIFICATE_INFOA,* LPINTERNET_CERTIFICATE_INFOA; + +typedef struct { + FILETIME ftExpiry; + FILETIME ftStart; + LPWSTR lpszSubjectInfo; + LPWSTR lpszIssuerInfo; + LPWSTR lpszProtocolName; + LPWSTR lpszSignatureAlgName; + LPWSTR lpszEncryptionAlgName; + DWORD dwKeySize; + +} INTERNET_CERTIFICATE_INFOW,* LPINTERNET_CERTIFICATE_INFOW; + +DECL_WINELIB_TYPE_AW(INTERNET_CERTIFICATE_INFO) +DECL_WINELIB_TYPE_AW(LPINTERNET_CERTIFICATE_INFO) + +typedef struct _INTERNET_BUFFERSA { + DWORD dwStructSize; + struct _INTERNET_BUFFERSA * Next; + LPCSTR lpcszHeader; + DWORD dwHeadersLength; + DWORD dwHeadersTotal; + LPVOID lpvBuffer; + DWORD dwBufferLength; + DWORD dwBufferTotal; + DWORD dwOffsetLow; + DWORD dwOffsetHigh; +} INTERNET_BUFFERSA,* LPINTERNET_BUFFERSA; + +typedef struct _INTERNET_BUFFERSW { + DWORD dwStructSize; + struct _INTERNET_BUFFERSW * Next; + LPCWSTR lpcszHeader; + DWORD dwHeadersLength; + DWORD dwHeadersTotal; + LPVOID lpvBuffer; + DWORD dwBufferLength; + DWORD dwBufferTotal; + DWORD dwOffsetLow; + DWORD dwOffsetHigh; +} INTERNET_BUFFERSW,* LPINTERNET_BUFFERSW; + +DECL_WINELIB_TYPE_AW(INTERNET_BUFFERS) +DECL_WINELIB_TYPE_AW(LPINTERNET_BUFFERS) + +#define GROUP_OWNER_STORAGE_SIZE 4 +#define GROUPNAME_MAX_LENGTH 120 + +typedef struct _INTERNET_CACHE_GROUP_INFOA { + DWORD dwGroupSize; + DWORD dwGroupFlags; + DWORD dwGroupType; + DWORD dwDiskUsage; + DWORD dwDiskQuota; + DWORD dwOwnerStorage[GROUP_OWNER_STORAGE_SIZE]; + CHAR szGroupName[GROUPNAME_MAX_LENGTH]; +} INTERNET_CACHE_GROUP_INFOA, * LPINTERNET_CACHE_GROUP_INFOA; + +typedef struct _INTERNET_CACHE_GROUP_INFOW { + DWORD dwGroupSize; + DWORD dwGroupFlags; + DWORD dwGroupType; + DWORD dwDiskUsage; + DWORD dwDiskQuota; + DWORD dwOwnerStorage[GROUP_OWNER_STORAGE_SIZE]; + WCHAR szGroupName[GROUPNAME_MAX_LENGTH]; +} INTERNET_CACHE_GROUP_INFOW, *LPINTERNET_CACHE_GROUP_INFOW; + +DECL_WINELIB_TYPE_AW(INTERNET_CACHE_GROUP_INFO) +DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_GROUP_INFO) + +typedef struct _INTERNET_PER_CONN_OPTIONA { + DWORD dwOption; + union { + DWORD dwValue; + LPSTR pszValue; + FILETIME ftValue; + } Value; +} INTERNET_PER_CONN_OPTIONA, *LPINTERNET_PER_CONN_OPTIONA; + +typedef struct _INTERNET_PER_CONN_OPTIONW { + DWORD dwOption; + union { + DWORD dwValue; + LPWSTR pszValue; + FILETIME ftValue; + } Value; +} INTERNET_PER_CONN_OPTIONW, *LPINTERNET_PER_CONN_OPTIONW; + +DECL_WINELIB_TYPE_AW(INTERNET_PER_CONN_OPTION) +DECL_WINELIB_TYPE_AW(LPINTERNET_PER_CONN_OPTION) + +#define INTERNET_PER_CONN_FLAGS 1 +#define INTERNET_PER_CONN_PROXY_SERVER 2 +#define INTERNET_PER_CONN_PROXY_BYPASS 3 +#define INTERNET_PER_CONN_AUTOCONFIG_URL 4 +#define INTERNET_PER_CONN_AUTODISCOVERY_FLAGS 5 +#define INTERNET_PER_CONN_AUTOCONFIG_SECONDARY_URL 6 +#define INTERNET_PER_CONN_AUTOCONFIG_RELOAD_DELAY_MINS 7 +#define INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME 8 +#define INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL 9 + +/* Values for INTERNET_PER_CONN_FLAGS */ +#define PROXY_TYPE_DIRECT 0x00000001 +#define PROXY_TYPE_PROXY 0x00000002 +#define PROXY_TYPE_AUTO_PROXY_URL 0x00000004 +#define PROXY_TYPE_AUTO_DETECT 0x00000008 +/* Values for INTERNET_PER_CONN_AUTODISCOVERY_FLAGS */ +#define AUTO_PROXY_FLAG_USER_SET 0x00000001 +#define AUTO_PROXY_FLAG_ALWAYS_DETECT 0x00000002 +#define AUTO_PROXY_FLAG_DETECTION_RUN 0x00000004 +#define AUTO_PROXY_FLAG_MIGRATED 0x00000008 +#define AUTO_PROXY_FLAG_DONT_CACHE_PROXY_RESULT 0x00000010 +#define AUTO_PROXY_FLAG_CACHE_INIT_RUN 0x00000020 +#define AUTO_PROXY_FLAG_DETECTION_SUSPECT 0x00000040 + +typedef struct _INTERNET_PER_CONN_OPTION_LISTA { + DWORD dwSize; + LPSTR pszConnection; + DWORD dwOptionCount; + DWORD dwOptionError; + LPINTERNET_PER_CONN_OPTIONA pOptions; +} INTERNET_PER_CONN_OPTION_LISTA, *LPINTERNET_PER_CONN_OPTION_LISTA; + +typedef struct _INTERNET_PER_CONN_OPTION_LISTW { + DWORD dwSize; + LPWSTR pszConnection; + DWORD dwOptionCount; + DWORD dwOptionError; + LPINTERNET_PER_CONN_OPTIONW pOptions; +} INTERNET_PER_CONN_OPTION_LISTW, *LPINTERNET_PER_CONN_OPTION_LISTW; + +DECL_WINELIB_TYPE_AW(INTERNET_PER_CONN_OPTION_LIST) +DECL_WINELIB_TYPE_AW(LPINTERNET_PER_CONN_OPTION_LIST) + +typedef struct _INTERNET_DIAGNOSTIC_SOCKET_INFO +{ + DWORD_PTR Socket; + DWORD SourcePort; + DWORD DestPort; + DWORD Flags; +} INTERNET_DIAGNOSTIC_SOCKET_INFO, *LPINTERNET_DIAGNOSTIC_SOCKET_INFO; + +#define IDSI_FLAG_KEEP_ALIVE 0x00000001 +#define IDSI_FLAG_SECURE 0x00000002 +#define IDSI_FLAG_PROXY 0x00000004 +#define IDSI_FLAG_TUNNEL 0x00000008 + +BOOLAPI InternetTimeFromSystemTimeA(const SYSTEMTIME *,DWORD ,LPSTR ,DWORD); +BOOLAPI InternetTimeFromSystemTimeW(const SYSTEMTIME *,DWORD ,LPWSTR ,DWORD); +#define InternetTimeFromSystemTime WINELIB_NAME_AW(InternetTimeFromSystemTime) + +#define INTERNET_RFC1123_FORMAT 0 +#define INTERNET_RFC1123_BUFSIZE 30 + +BOOLAPI InternetTimeToSystemTimeA(LPCSTR ,SYSTEMTIME *,DWORD); +BOOLAPI InternetTimeToSystemTimeW(LPCWSTR ,SYSTEMTIME *,DWORD); +#define InternetTimeToSystemTime WINELIB_NAME_AW(InternetTimeToSystemTime) + +BOOLAPI InternetCrackUrlA(LPCSTR ,DWORD ,DWORD ,LPURL_COMPONENTSA); +BOOLAPI InternetCrackUrlW(LPCWSTR ,DWORD ,DWORD ,LPURL_COMPONENTSW); +#define InternetCrackUrl WINELIB_NAME_AW(InternetCrackUrl) + +BOOLAPI InternetCreateUrlA(LPURL_COMPONENTSA ,DWORD ,LPSTR ,LPDWORD); +BOOLAPI InternetCreateUrlW(LPURL_COMPONENTSW ,DWORD ,LPWSTR ,LPDWORD); +#define InternetCreateUrl WINELIB_NAME_AW(InternetCreateUrl) + +BOOLAPI InternetCanonicalizeUrlA(LPCSTR ,LPSTR ,LPDWORD ,DWORD); +BOOLAPI InternetCanonicalizeUrlW(LPCWSTR ,LPWSTR ,LPDWORD ,DWORD); +#define InternetCanonicalizeUrl WINELIB_NAME_AW(InternetCanonicalizeUrl) + +BOOLAPI InternetCombineUrlA(LPCSTR ,LPCSTR ,LPSTR ,LPDWORD ,DWORD); +BOOLAPI InternetCombineUrlW(LPCWSTR ,LPCWSTR ,LPWSTR ,LPDWORD ,DWORD); +#define InternetCombineUrl WINELIB_NAME_AW(InternetCombineUrl) + +#define ICU_ESCAPE 0x80000000 +#define ICU_USERNAME 0x40000000 +#define ICU_NO_ENCODE 0x20000000 +#define ICU_DECODE 0x10000000 +#define ICU_NO_META 0x08000000 +#define ICU_ENCODE_SPACES_ONLY 0x04000000 +#define ICU_BROWSER_MODE 0x02000000 +#define ICU_ENCODE_PERCENT 0x00001000 + +INTERNETAPI HINTERNET WINAPI InternetOpenA(LPCSTR ,DWORD ,LPCSTR ,LPCSTR ,DWORD); +INTERNETAPI HINTERNET WINAPI InternetOpenW(LPCWSTR ,DWORD ,LPCWSTR ,LPCWSTR ,DWORD); +#define InternetOpen WINELIB_NAME_AW(InternetOpen) + +#define INTERNET_OPEN_TYPE_PRECONFIG 0 +#define INTERNET_OPEN_TYPE_DIRECT 1 +#define INTERNET_OPEN_TYPE_PROXY 3 +#define INTERNET_OPEN_TYPE_PRECONFIG_WITH_NO_AUTOPROXY 4 +#define PRE_CONFIG_INTERNET_ACCESS INTERNET_OPEN_TYPE_PRECONFIG +#define LOCAL_INTERNET_ACCESS INTERNET_OPEN_TYPE_DIRECT +#define CERN_PROXY_INTERNET_ACCESS INTERNET_OPEN_TYPE_PROXY + +BOOLAPI InternetCloseHandle(HINTERNET); + +INTERNETAPI HINTERNET WINAPI InternetConnectA(HINTERNET ,LPCSTR ,INTERNET_PORT , + LPCSTR ,LPCSTR ,DWORD ,DWORD ,DWORD_PTR ); +INTERNETAPI HINTERNET WINAPI InternetConnectW(HINTERNET ,LPCWSTR ,INTERNET_PORT , + LPCWSTR ,LPCWSTR ,DWORD ,DWORD ,DWORD_PTR ); +#define InternetConnect WINELIB_NAME_AW(InternetConnect) + +#define INTERNET_SERVICE_URL 0 +#define INTERNET_SERVICE_FTP 1 +#define INTERNET_SERVICE_GOPHER 2 +#define INTERNET_SERVICE_HTTP 3 + +#define InternetConnectUrl(hInternet,lpszUrl,dwFlags,dwContext) \ + InternetConnect(hInternet,\ + lpszUrl,\ + INTERNET_INVALID_PORT_NUMBER,\ + NULL,\ + NULL,\ + INTERNET_SERVICE_URL,\ + dwFlags,\ + dwContext \ + ) + +INTERNETAPI HINTERNET WINAPI InternetOpenUrlA(HINTERNET ,LPCSTR ,LPCSTR ,DWORD ,DWORD ,DWORD_PTR); +INTERNETAPI HINTERNET WINAPI InternetOpenUrlW(HINTERNET ,LPCWSTR ,LPCWSTR ,DWORD ,DWORD ,DWORD_PTR); +#define InternetOpenUrl WINELIB_NAME_AW(InternetOpenUrl) + +BOOLAPI InternetReadFile( HINTERNET ,LPVOID ,DWORD ,LPDWORD ); +INTERNETAPI BOOL WINAPI InternetReadFileExA( HINTERNET ,LPINTERNET_BUFFERSA ,DWORD ,DWORD_PTR ); +INTERNETAPI BOOL WINAPI InternetReadFileExW( HINTERNET ,LPINTERNET_BUFFERSW ,DWORD ,DWORD_PTR ); +#define InternetReadFileEx WINELIB_NAME_AW(InternetReadFileEx) + +#define IRF_ASYNC WININET_API_FLAG_ASYNC +#define IRF_SYNC WININET_API_FLAG_SYNC +#define IRF_USE_CONTEXT WININET_API_FLAG_USE_CONTEXT +#define IRF_NO_WAIT 0x00000008 + +INTERNETAPI DWORD WINAPI InternetSetFilePointer(HINTERNET ,LONG ,PVOID ,DWORD ,DWORD_PTR); +BOOLAPI InternetWriteFile(HINTERNET ,LPCVOID ,DWORD ,LPDWORD); +BOOLAPI InternetQueryDataAvailable(HINTERNET ,LPDWORD ,DWORD ,DWORD_PTR); +BOOLAPI InternetFindNextFileA(HINTERNET ,LPVOID); +BOOLAPI InternetFindNextFileW(HINTERNET ,LPVOID); +#define InternetFindNextFile WINELIB_NAME_AW(InternetFindNextFile) + +BOOLAPI InternetQueryOptionA(HINTERNET ,DWORD ,LPVOID ,LPDWORD); +BOOLAPI InternetQueryOptionW(HINTERNET ,DWORD ,LPVOID ,LPDWORD); +#define InternetQueryOption WINELIB_NAME_AW(InternetQueryOption) + +BOOLAPI InternetSetOptionA(HINTERNET ,DWORD ,LPVOID ,DWORD); +BOOLAPI InternetSetOptionW(HINTERNET ,DWORD ,LPVOID ,DWORD); +#define InternetSetOption WINELIB_NAME_AW(InternetSetOption) + +BOOLAPI InternetSetOptionExA(HINTERNET ,DWORD ,LPVOID ,DWORD ,DWORD); +BOOLAPI InternetSetOptionExW(HINTERNET ,DWORD ,LPVOID ,DWORD ,DWORD); +#define InternetSetOptionEx WINELIB_NAME_AW(InternetSetOptionEx) + +BOOLAPI InternetLockRequestFile(HINTERNET ,HANDLE *); +BOOLAPI InternetUnlockRequestFile(HANDLE); + +#define ISO_GLOBAL 0x00000001 +#define ISO_REGISTRY 0x00000002 + +#define ISO_VALID_FLAGS (ISO_GLOBAL | ISO_REGISTRY) +#define INTERNET_OPTION_CALLBACK 1 +#define INTERNET_OPTION_CONNECT_TIMEOUT 2 +#define INTERNET_OPTION_CONNECT_RETRIES 3 +#define INTERNET_OPTION_CONNECT_BACKOFF 4 +#define INTERNET_OPTION_SEND_TIMEOUT 5 +#define INTERNET_OPTION_CONTROL_SEND_TIMEOUT INTERNET_OPTION_SEND_TIMEOUT +#define INTERNET_OPTION_RECEIVE_TIMEOUT 6 +#define INTERNET_OPTION_CONTROL_RECEIVE_TIMEOUT INTERNET_OPTION_RECEIVE_TIMEOUT +#define INTERNET_OPTION_DATA_SEND_TIMEOUT 7 +#define INTERNET_OPTION_DATA_RECEIVE_TIMEOUT 8 +#define INTERNET_OPTION_HANDLE_TYPE 9 +#define INTERNET_OPTION_LISTEN_TIMEOUT 11 +#define INTERNET_OPTION_READ_BUFFER_SIZE 12 +#define INTERNET_OPTION_WRITE_BUFFER_SIZE 13 +#define INTERNET_OPTION_ASYNC_ID 15 +#define INTERNET_OPTION_ASYNC_PRIORITY 16 +#define INTERNET_OPTION_PARENT_HANDLE 21 +#define INTERNET_OPTION_KEEP_CONNECTION 22 +#define INTERNET_OPTION_REQUEST_FLAGS 23 +#define INTERNET_OPTION_EXTENDED_ERROR 24 +#define INTERNET_OPTION_OFFLINE_MODE 26 +#define INTERNET_OPTION_CACHE_STREAM_HANDLE 27 +#define INTERNET_OPTION_USERNAME 28 +#define INTERNET_OPTION_PASSWORD 29 +#define INTERNET_OPTION_ASYNC 30 +#define INTERNET_OPTION_SECURITY_FLAGS 31 +#define INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT 32 +#define INTERNET_OPTION_DATAFILE_NAME 33 +#define INTERNET_OPTION_URL 34 +#define INTERNET_OPTION_SECURITY_CERTIFICATE 35 +#define INTERNET_OPTION_SECURITY_KEY_BITNESS 36 +#define INTERNET_OPTION_REFRESH 37 +#define INTERNET_OPTION_PROXY 38 +#define INTERNET_OPTION_SETTINGS_CHANGED 39 +#define INTERNET_OPTION_VERSION 40 +#define INTERNET_OPTION_USER_AGENT 41 +#define INTERNET_OPTION_END_BROWSER_SESSION 42 +#define INTERNET_OPTION_PROXY_USERNAME 43 +#define INTERNET_OPTION_PROXY_PASSWORD 44 +#define INTERNET_OPTION_CONTEXT_VALUE 45 +#define INTERNET_OPTION_CONNECT_LIMIT 46 +#define INTERNET_OPTION_SECURITY_SELECT_CLIENT_CERT 47 +#define INTERNET_OPTION_POLICY 48 +#define INTERNET_OPTION_DISCONNECTED_TIMEOUT 49 +#define INTERNET_OPTION_CONNECTED_STATE 50 +#define INTERNET_OPTION_IDLE_STATE 51 +#define INTERNET_OPTION_OFFLINE_SEMANTICS 52 +#define INTERNET_OPTION_SECONDARY_CACHE_KEY 53 +#define INTERNET_OPTION_CALLBACK_FILTER 54 +#define INTERNET_OPTION_CONNECT_TIME 55 +#define INTERNET_OPTION_SEND_THROUGHPUT 56 +#define INTERNET_OPTION_RECEIVE_THROUGHPUT 57 +#define INTERNET_OPTION_REQUEST_PRIORITY 58 +#define INTERNET_OPTION_HTTP_VERSION 59 +#define INTERNET_OPTION_RESET_URLCACHE_SESSION 60 +#define INTERNET_OPTION_ERROR_MASK 62 +#define INTERNET_OPTION_FROM_CACHE_TIMEOUT 63 +#define INTERNET_OPTION_BYPASS_EDITED_ENTRY 64 +#define INTERNET_OPTION_HTTP_DECODING 65 +#define INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO 67 +#define INTERNET_OPTION_CODEPAGE 68 +#define INTERNET_OPTION_CACHE_TIMESTAMPS 69 +#define INTERNET_OPTION_DISABLE_AUTODIAL 70 +#define INTERNET_OPTION_MAX_CONNS_PER_SERVER 73 +#define INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER 74 +#define INTERNET_OPTION_PER_CONNECTION_OPTION 75 +#define INTERNET_OPTION_DIGEST_AUTH_UNLOAD 76 +#define INTERNET_OPTION_IGNORE_OFFLINE 77 +#define INTERNET_OPTION_IDENTITY 78 +#define INTERNET_OPTION_REMOVE_IDENTITY 79 +#define INTERNET_OPTION_ALTER_IDENTITY 80 +#define INTERNET_OPTION_SUPPRESS_BEHAVIOR 81 +#define INTERNET_OPTION_AUTODIAL_MODE 82 +#define INTERNET_OPTION_AUTODIAL_CONNECTION 83 +#define INTERNET_OPTION_CLIENT_CERT_CONTEXT 84 +#define INTERNET_OPTION_AUTH_FLAGS 85 +#define INTERNET_OPTION_COOKIES_3RD_PARTY 86 +#define INTERNET_OPTION_DISABLE_PASSPORT_AUTH 87 +#define INTERNET_OPTION_SEND_UTF8_SERVERNAME_TO_PROXY 88 +#define INTERNET_OPTION_EXEMPT_CONNECTION_LIMIT 89 +#define INTERNET_OPTION_ENABLE_PASSPORT_AUTH 90 + +#define INTERNET_OPTION_HIBERNATE_INACTIVE_WORKER_THREADS 91 +#define INTERNET_OPTION_ACTIVATE_WORKER_THREADS 92 +#define INTERNET_OPTION_RESTORE_WORKER_THREAD_DEFAULTS 93 +#define INTERNET_OPTION_SOCKET_SEND_BUFFER_LENGTH 94 + +#define INTERNET_OPTION_PROXY_SETTINGS_CHANGED 95 +#define INTERNET_OPTION_DATAFILE_EXT 96 + +#define INTERNET_OPTION_CODEPAGE_PATH 100 +#define INTERNET_OPTION_CODEPAGE_EXTRA 101 +#define INTERNET_OPTION_IDN 102 +#define INTERNET_OPTION_MAX_CONNS_PER_PROXY 103 +#define INTERNET_OPTION_SUPPRESS_SERVER_AUTH 104 +#define INTERNET_OPTION_SERVER_CERT_CHAIN_CONTEXT 105 + + +#define INTERNET_FIRST_OPTION INTERNET_OPTION_CALLBACK +#define INTERNET_LAST_OPTION INTERNET_OPTION_SERVER_CERT_CHAIN_CONTEXT + +#define INTERNET_PRIORITY_FOREGROUND 1000 +#define INTERNET_HANDLE_TYPE_INTERNET 1 +#define INTERNET_HANDLE_TYPE_CONNECT_FTP 2 +#define INTERNET_HANDLE_TYPE_CONNECT_GOPHER 3 +#define INTERNET_HANDLE_TYPE_CONNECT_HTTP 4 +#define INTERNET_HANDLE_TYPE_FTP_FIND 5 +#define INTERNET_HANDLE_TYPE_FTP_FIND_HTML 6 +#define INTERNET_HANDLE_TYPE_FTP_FILE 7 +#define INTERNET_HANDLE_TYPE_FTP_FILE_HTML 8 +#define INTERNET_HANDLE_TYPE_GOPHER_FIND 9 +#define INTERNET_HANDLE_TYPE_GOPHER_FIND_HTML 10 +#define INTERNET_HANDLE_TYPE_GOPHER_FILE 11 +#define INTERNET_HANDLE_TYPE_GOPHER_FILE_HTML 12 +#define INTERNET_HANDLE_TYPE_HTTP_REQUEST 13 +#define SECURITY_FLAG_SECURE 0x00000001 +#define SECURITY_FLAG_STRENGTH_WEAK 0x10000000 +#define SECURITY_FLAG_STRENGTH_MEDIUM 0x40000000 +#define SECURITY_FLAG_STRENGTH_STRONG 0x20000000 +#define SECURITY_FLAG_UNKNOWNBIT 0x80000000 +#define SECURITY_FLAG_NORMALBITNESS SECURITY_FLAG_STRENGTH_WEAK +#define SECURITY_FLAG_SSL 0x00000002 +#define SECURITY_FLAG_SSL3 0x00000004 +#define SECURITY_FLAG_PCT 0x00000008 +#define SECURITY_FLAG_PCT4 0x00000010 +#define SECURITY_FLAG_IETFSSL4 0x00000020 +#define SECURITY_FLAG_40BIT SECURITY_FLAG_STRENGTH_WEAK +#define SECURITY_FLAG_128BIT SECURITY_FLAG_STRENGTH_STRONG +#define SECURITY_FLAG_56BIT SECURITY_FLAG_STRENGTH_MEDIUM +#define SECURITY_FLAG_IGNORE_REVOCATION 0x00000080 +#define SECURITY_FLAG_IGNORE_UNKNOWN_CA 0x00000100 +#define SECURITY_FLAG_IGNORE_WRONG_USAGE 0x00000200 +#define SECURITY_FLAG_IGNORE_CERT_CN_INVALID INTERNET_FLAG_IGNORE_CERT_CN_INVALID +#define SECURITY_FLAG_IGNORE_CERT_DATE_INVALID INTERNET_FLAG_IGNORE_CERT_DATE_INVALID +#define SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTPS INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS +#define SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTP INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP +#define SECURITY_SET_MASK (SECURITY_FLAG_IGNORE_REVOCATION |\ + SECURITY_FLAG_IGNORE_UNKNOWN_CA |\ + SECURITY_FLAG_IGNORE_CERT_CN_INVALID |\ + SECURITY_FLAG_IGNORE_CERT_DATE_INVALID |\ + SECURITY_FLAG_IGNORE_WRONG_USAGE) + + + +BOOLAPI InternetGetLastResponseInfoA(LPDWORD ,LPSTR ,LPDWORD); +BOOLAPI InternetGetLastResponseInfoW(LPDWORD ,LPWSTR ,LPDWORD); +#define InternetGetLastResponseInfo WINELIB_NAME_AW(InternetGetLastResponseInfo) + +typedef VOID (CALLBACK *INTERNET_STATUS_CALLBACK)(HINTERNET ,DWORD_PTR ,DWORD , + LPVOID ,DWORD); + +typedef INTERNET_STATUS_CALLBACK * LPINTERNET_STATUS_CALLBACK; + +INTERNETAPI INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackA(HINTERNET ,INTERNET_STATUS_CALLBACK); +INTERNETAPI INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackW(HINTERNET ,INTERNET_STATUS_CALLBACK); +#define InternetSetStatusCallback WINELIB_NAME_AW(InternetSetStatusCallback) + +#define INTERNET_STATUS_RESOLVING_NAME 10 +#define INTERNET_STATUS_NAME_RESOLVED 11 +#define INTERNET_STATUS_CONNECTING_TO_SERVER 20 +#define INTERNET_STATUS_CONNECTED_TO_SERVER 21 +#define INTERNET_STATUS_SENDING_REQUEST 30 +#define INTERNET_STATUS_REQUEST_SENT 31 +#define INTERNET_STATUS_RECEIVING_RESPONSE 40 +#define INTERNET_STATUS_RESPONSE_RECEIVED 41 +#define INTERNET_STATUS_CTL_RESPONSE_RECEIVED 42 +#define INTERNET_STATUS_PREFETCH 43 +#define INTERNET_STATUS_CLOSING_CONNECTION 50 +#define INTERNET_STATUS_CONNECTION_CLOSED 51 +#define INTERNET_STATUS_HANDLE_CREATED 60 +#define INTERNET_STATUS_HANDLE_CLOSING 70 +#define INTERNET_STATUS_DETECTING_PROXY 80 +#define INTERNET_STATUS_REQUEST_COMPLETE 100 +#define INTERNET_STATUS_REDIRECT 110 +#define INTERNET_STATUS_INTERMEDIATE_RESPONSE 120 +#define INTERNET_STATUS_USER_INPUT_REQUIRED 140 +#define INTERNET_STATUS_STATE_CHANGE 200 +#define INTERNET_STATUS_COOKIE_SENT 320 +#define INTERNET_STATUS_COOKIE_RECEIVED 321 +#define INTERNET_STATUS_PRIVACY_IMPACTED 324 +#define INTERNET_STATUS_P3P_HEADER 325 +#define INTERNET_STATUS_P3P_POLICYREF 326 +#define INTERNET_STATUS_COOKIE_HISTORY 327 +#define INTERNET_STATE_CONNECTED 0x00000001 +#define INTERNET_STATE_DISCONNECTED 0x00000002 +#define INTERNET_STATE_DISCONNECTED_BY_USER 0x00000010 +#define INTERNET_STATE_IDLE 0x00000100 +#define INTERNET_STATE_BUSY 0x00000200 + +#define INTERNET_INVALID_STATUS_CALLBACK ((INTERNET_STATUS_CALLBACK)(-1)) + +#define FTP_TRANSFER_TYPE_UNKNOWN 0x00000000 +#define FTP_TRANSFER_TYPE_ASCII 0x00000001 +#define FTP_TRANSFER_TYPE_BINARY 0x00000002 +#define FTP_TRANSFER_TYPE_MASK (FTP_TRANSFER_TYPE_ASCII | FTP_TRANSFER_TYPE_BINARY) + +BOOLAPI FtpCommandA(HINTERNET, BOOL, DWORD, LPCSTR, DWORD_PTR, HINTERNET *); +BOOLAPI FtpCommandW(HINTERNET, BOOL, DWORD, LPCWSTR, DWORD_PTR, HINTERNET *); +#define FtpCommand WINELIB_NAME_AW(FtpCommand) + +INTERNETAPI HINTERNET WINAPI FtpFindFirstFileA(HINTERNET ,LPCSTR , + LPWIN32_FIND_DATAA ,DWORD ,DWORD_PTR); +INTERNETAPI HINTERNET WINAPI FtpFindFirstFileW(HINTERNET ,LPCWSTR , + LPWIN32_FIND_DATAW ,DWORD ,DWORD_PTR); +#define FtpFindFirstFile WINELIB_NAME_AW(FtpFindFirstFile) + +BOOLAPI FtpGetFileA(HINTERNET ,LPCSTR ,LPCSTR ,BOOL ,DWORD ,DWORD ,DWORD_PTR); +BOOLAPI FtpGetFileW(HINTERNET ,LPCWSTR ,LPCWSTR ,BOOL ,DWORD ,DWORD ,DWORD_PTR); +#define FtpGetFile WINELIB_NAME_AW(FtpGetFile) + +DWORD WINAPI FtpGetFileSize(HINTERNET, LPDWORD); + +BOOLAPI FtpPutFileA(HINTERNET ,LPCSTR ,LPCSTR ,DWORD ,DWORD_PTR); +BOOLAPI FtpPutFileW(HINTERNET ,LPCWSTR ,LPCWSTR ,DWORD ,DWORD_PTR); +#define FtpPutFile WINELIB_NAME_AW(FtpPutFile) + +BOOLAPI FtpDeleteFileA(HINTERNET ,LPCSTR); +BOOLAPI FtpDeleteFileW(HINTERNET ,LPCWSTR); +#define FtpDeleteFile WINELIB_NAME_AW(FtpDeleteFile) + +BOOLAPI FtpRenameFileA(HINTERNET ,LPCSTR ,LPCSTR); +BOOLAPI FtpRenameFileW(HINTERNET ,LPCWSTR ,LPCWSTR); +#define FtpRenameFile WINELIB_NAME_AW(FtpRenameFile) + +INTERNETAPI HINTERNET WINAPI FtpOpenFileA(HINTERNET ,LPCSTR ,DWORD ,DWORD ,DWORD_PTR); +INTERNETAPI HINTERNET WINAPI FtpOpenFileW(HINTERNET ,LPCWSTR ,DWORD ,DWORD ,DWORD_PTR); +#define FtpOpenFile WINELIB_NAME_AW(FtpOpenFile) + +BOOLAPI FtpCreateDirectoryA(HINTERNET ,LPCSTR); +BOOLAPI FtpCreateDirectoryW(HINTERNET ,LPCWSTR); +#define FtpCreateDirectory WINELIB_NAME_AW(FtpCreateDirectory) + +BOOLAPI FtpRemoveDirectoryA(HINTERNET ,LPCSTR); +BOOLAPI FtpRemoveDirectoryW(HINTERNET ,LPCWSTR); +#define FtpRemoveDirectory WINELIB_NAME_AW(FtpRemoveDirectory) + +BOOLAPI FtpSetCurrentDirectoryA(HINTERNET ,LPCSTR); +BOOLAPI FtpSetCurrentDirectoryW(HINTERNET ,LPCWSTR); +#define FtpSetCurrentDirectory WINELIB_NAME_AW(FtpSetCurrentDirectory) + +BOOLAPI FtpGetCurrentDirectoryA(HINTERNET ,LPSTR ,LPDWORD); +BOOLAPI FtpGetCurrentDirectoryW(HINTERNET ,LPWSTR ,LPDWORD); +#define FtpGetCurrentDirectory WINELIB_NAME_AW(FtpGetCurrentDirectory) + +#define MAX_GOPHER_DISPLAY_TEXT 128 +#define MAX_GOPHER_SELECTOR_TEXT 256 +#define MAX_GOPHER_HOST_NAME INTERNET_MAX_HOST_NAME_LENGTH +#define MAX_GOPHER_LOCATOR_LENGTH (1 \ + + MAX_GOPHER_DISPLAY_TEXT \ + + 1 \ + + MAX_GOPHER_SELECTOR_TEXT \ + + 1 \ + + MAX_GOPHER_HOST_NAME \ + + 1 \ + + INTERNET_MAX_PORT_NUMBER_LENGTH \ + + 1 \ + + 1 \ + + 2 \ + ) + + +typedef struct { + CHAR DisplayString[MAX_GOPHER_DISPLAY_TEXT + 1]; + DWORD GopherType; + DWORD SizeLow; + DWORD SizeHigh; + FILETIME LastModificationTime; + CHAR Locator[MAX_GOPHER_LOCATOR_LENGTH + 1]; +} GOPHER_FIND_DATAA,* LPGOPHER_FIND_DATAA; + +typedef struct { + WCHAR DisplayString[MAX_GOPHER_DISPLAY_TEXT + 1]; + DWORD GopherType; + DWORD SizeLow; + DWORD SizeHigh; + FILETIME LastModificationTime; + WCHAR Locator[MAX_GOPHER_LOCATOR_LENGTH + 1]; +} GOPHER_FIND_DATAW,* LPGOPHER_FIND_DATAW; + +DECL_WINELIB_TYPE_AW(GOPHER_FIND_DATA) +DECL_WINELIB_TYPE_AW(LPGOPHER_FIND_DATA) + +#define GOPHER_TYPE_TEXT_FILE 0x00000001 +#define GOPHER_TYPE_DIRECTORY 0x00000002 +#define GOPHER_TYPE_CSO 0x00000004 +#define GOPHER_TYPE_ERROR 0x00000008 +#define GOPHER_TYPE_MAC_BINHEX 0x00000010 +#define GOPHER_TYPE_DOS_ARCHIVE 0x00000020 +#define GOPHER_TYPE_UNIX_UUENCODED 0x00000040 +#define GOPHER_TYPE_INDEX_SERVER 0x00000080 +#define GOPHER_TYPE_TELNET 0x00000100 +#define GOPHER_TYPE_BINARY 0x00000200 +#define GOPHER_TYPE_REDUNDANT 0x00000400 +#define GOPHER_TYPE_TN3270 0x00000800 +#define GOPHER_TYPE_GIF 0x00001000 +#define GOPHER_TYPE_IMAGE 0x00002000 +#define GOPHER_TYPE_BITMAP 0x00004000 +#define GOPHER_TYPE_MOVIE 0x00008000 +#define GOPHER_TYPE_SOUND 0x00010000 +#define GOPHER_TYPE_HTML 0x00020000 +#define GOPHER_TYPE_PDF 0x00040000 +#define GOPHER_TYPE_CALENDAR 0x00080000 +#define GOPHER_TYPE_INLINE 0x00100000 +#define GOPHER_TYPE_UNKNOWN 0x20000000 +#define GOPHER_TYPE_ASK 0x40000000 +#define GOPHER_TYPE_GOPHER_PLUS 0x80000000 + +#define IS_GOPHER_FILE(type) (BOOL)(((type) & GOPHER_TYPE_FILE_MASK) != 0) +#define IS_GOPHER_DIRECTORY(type) (BOOL)(((type) & GOPHER_TYPE_DIRECTORY) != 0) +#define IS_GOPHER_PHONE_SERVER(type) (BOOL)(((type) & GOPHER_TYPE_CSO) != 0) +#define IS_GOPHER_ERROR(type) (BOOL)(((type) & GOPHER_TYPE_ERROR) != 0) +#define IS_GOPHER_INDEX_SERVER(type) (BOOL)(((type) & GOPHER_TYPE_INDEX_SERVER) != 0) +#define IS_GOPHER_TELNET_SESSION(type) (BOOL)(((type) & GOPHER_TYPE_TELNET) != 0) +#define IS_GOPHER_BACKUP_SERVER(type) (BOOL)(((type) & GOPHER_TYPE_REDUNDANT) != 0) +#define IS_GOPHER_TN3270_SESSION(type) (BOOL)(((type) & GOPHER_TYPE_TN3270) != 0) +#define IS_GOPHER_ASK(type) (BOOL)(((type) & GOPHER_TYPE_ASK) != 0) +#define IS_GOPHER_PLUS(type) (BOOL)(((type) & GOPHER_TYPE_GOPHER_PLUS) != 0) +#define IS_GOPHER_TYPE_KNOWN(type) (BOOL)(!((type) & GOPHER_TYPE_UNKNOWN)) +#define GOPHER_TYPE_FILE_MASK (GOPHER_TYPE_TEXT_FILE \ + | GOPHER_TYPE_MAC_BINHEX \ + | GOPHER_TYPE_DOS_ARCHIVE \ + | GOPHER_TYPE_UNIX_UUENCODED \ + | GOPHER_TYPE_BINARY \ + | GOPHER_TYPE_GIF \ + | GOPHER_TYPE_IMAGE \ + | GOPHER_TYPE_BITMAP \ + | GOPHER_TYPE_MOVIE \ + | GOPHER_TYPE_SOUND \ + | GOPHER_TYPE_HTML \ + | GOPHER_TYPE_PDF \ + | GOPHER_TYPE_CALENDAR \ + | GOPHER_TYPE_INLINE \ + ) + + +typedef struct { + LPCSTR Comment; + LPCSTR EmailAddress; +} GOPHER_ADMIN_ATTRIBUTE_TYPEA,* LPGOPHER_ADMIN_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Comment; + LPCWSTR EmailAddress; +} GOPHER_ADMIN_ATTRIBUTE_TYPEW,* LPGOPHER_ADMIN_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_ADMIN_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_ADMIN_ATTRIBUTE_TYPE) + +typedef struct { + FILETIME DateAndTime; +} GOPHER_MOD_DATE_ATTRIBUTE_TYPE,* LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE; + +typedef struct { + DWORD Ttl; +} GOPHER_TTL_ATTRIBUTE_TYPE,* LPGOPHER_TTL_ATTRIBUTE_TYPE; + +typedef struct { + INT Score; +} GOPHER_SCORE_ATTRIBUTE_TYPE,* LPGOPHER_SCORE_ATTRIBUTE_TYPE; + +typedef struct { + INT LowerBound; + INT UpperBound; +} GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE,* LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE; + +typedef struct { + LPCSTR Site; +} GOPHER_SITE_ATTRIBUTE_TYPEA,* LPGOPHER_SITE_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Site; +} GOPHER_SITE_ATTRIBUTE_TYPEW,* LPGOPHER_SITE_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_SITE_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_SITE_ATTRIBUTE_TYPE) + +typedef struct { + LPCSTR Organization; +} GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA,* LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Organization; +} GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW,* LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_ORGANIZATION_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPE) + +typedef struct { + LPCSTR Location; +} GOPHER_LOCATION_ATTRIBUTE_TYPEA,* LPGOPHER_LOCATION_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Location; +} GOPHER_LOCATION_ATTRIBUTE_TYPEW,* LPGOPHER_LOCATION_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_LOCATION_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_LOCATION_ATTRIBUTE_TYPE) + +typedef struct { + INT DegreesNorth; + INT MinutesNorth; + INT SecondsNorth; + INT DegreesEast; + INT MinutesEast; + INT SecondsEast; +} GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE,* LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE; + +typedef struct { + INT Zone; +} GOPHER_TIMEZONE_ATTRIBUTE_TYPE,* LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE; + +typedef struct { + LPCSTR Provider; +} GOPHER_PROVIDER_ATTRIBUTE_TYPEA,* LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Provider; +} GOPHER_PROVIDER_ATTRIBUTE_TYPEW,* LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_PROVIDER_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_PROVIDER_ATTRIBUTE_TYPE) + +typedef struct { + LPCSTR Version; +} GOPHER_VERSION_ATTRIBUTE_TYPEA,* LPGOPHER_VERSION_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Version; +} GOPHER_VERSION_ATTRIBUTE_TYPEW,* LPGOPHER_VERSION_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_VERSION_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_VERSION_ATTRIBUTE_TYPE) + +typedef struct { + LPCSTR ShortAbstract; + LPCSTR AbstractFile; +} GOPHER_ABSTRACT_ATTRIBUTE_TYPEA,* LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR ShortAbstract; + LPCWSTR AbstractFile; +} GOPHER_ABSTRACT_ATTRIBUTE_TYPEW,* LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_ABSTRACT_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_ABSTRACT_ATTRIBUTE_TYPE) + +typedef struct { + LPCSTR ContentType; + LPCSTR Language; + DWORD Size; +} GOPHER_VIEW_ATTRIBUTE_TYPEA,* LPGOPHER_VIEW_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR ContentType; + LPCWSTR Language; + DWORD Size; +} GOPHER_VIEW_ATTRIBUTE_TYPEW,* LPGOPHER_VIEW_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_VIEW_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_VIEW_ATTRIBUTE_TYPE) + +typedef struct { + BOOL TreeWalk; +} GOPHER_VERONICA_ATTRIBUTE_TYPE,* LPGOPHER_VERONICA_ATTRIBUTE_TYPE; + +typedef struct { + LPCSTR QuestionType; + LPCSTR QuestionText; +} GOPHER_ASK_ATTRIBUTE_TYPEA,* LPGOPHER_ASK_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR QuestionType; + LPCWSTR QuestionText; +} GOPHER_ASK_ATTRIBUTE_TYPEW,* LPGOPHER_ASK_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_ASK_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_ASK_ATTRIBUTE_TYPE) + +typedef struct { + LPCSTR Text; +} GOPHER_UNKNOWN_ATTRIBUTE_TYPEA,* LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA; + +typedef struct { + LPCWSTR Text; +} GOPHER_UNKNOWN_ATTRIBUTE_TYPEW,* LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_UNKNOWN_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_UNKNOWN_ATTRIBUTE_TYPE) + +typedef struct { + DWORD CategoryId; + DWORD AttributeId; + union { + GOPHER_ADMIN_ATTRIBUTE_TYPEA Admin; + GOPHER_MOD_DATE_ATTRIBUTE_TYPE ModDate; + GOPHER_TTL_ATTRIBUTE_TYPE Ttl; + GOPHER_SCORE_ATTRIBUTE_TYPE Score; + GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE ScoreRange; + GOPHER_SITE_ATTRIBUTE_TYPEA Site; + GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA Organization; + GOPHER_LOCATION_ATTRIBUTE_TYPEA Location; + GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE GeographicalLocation; + GOPHER_TIMEZONE_ATTRIBUTE_TYPE TimeZone; + GOPHER_PROVIDER_ATTRIBUTE_TYPEA Provider; + GOPHER_VERSION_ATTRIBUTE_TYPEA Version; + GOPHER_ABSTRACT_ATTRIBUTE_TYPEA Abstract; + GOPHER_VIEW_ATTRIBUTE_TYPEA View; + GOPHER_VERONICA_ATTRIBUTE_TYPE Veronica; + GOPHER_ASK_ATTRIBUTE_TYPEA Ask; + GOPHER_UNKNOWN_ATTRIBUTE_TYPEA Unknown; + } AttributeType; +} GOPHER_ATTRIBUTE_TYPEA, *LPGOPHER_ATTRIBUTE_TYPEA; + +typedef struct { + DWORD CategoryId; + DWORD AttributeId; + union { + GOPHER_ADMIN_ATTRIBUTE_TYPEW Admin; + GOPHER_MOD_DATE_ATTRIBUTE_TYPE ModDate; + GOPHER_TTL_ATTRIBUTE_TYPE Ttl; + GOPHER_SCORE_ATTRIBUTE_TYPE Score; + GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE ScoreRange; + GOPHER_SITE_ATTRIBUTE_TYPEW Site; + GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW Organization; + GOPHER_LOCATION_ATTRIBUTE_TYPEW Location; + GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE GeographicalLocation; + GOPHER_TIMEZONE_ATTRIBUTE_TYPE TimeZone; + GOPHER_PROVIDER_ATTRIBUTE_TYPEW Provider; + GOPHER_VERSION_ATTRIBUTE_TYPEW Version; + GOPHER_ABSTRACT_ATTRIBUTE_TYPEW Abstract; + GOPHER_VIEW_ATTRIBUTE_TYPEW View; + GOPHER_VERONICA_ATTRIBUTE_TYPE Veronica; + GOPHER_ASK_ATTRIBUTE_TYPEW Ask; + GOPHER_UNKNOWN_ATTRIBUTE_TYPEW Unknown; + } AttributeType; +} GOPHER_ATTRIBUTE_TYPEW, *LPGOPHER_ATTRIBUTE_TYPEW; + +DECL_WINELIB_TYPE_AW(GOPHER_ATTRIBUTE_TYPE) +DECL_WINELIB_TYPE_AW(LPGOPHER_ATTRIBUTE_TYPE) + +#define MAX_GOPHER_CATEGORY_NAME 128 +#define MAX_GOPHER_ATTRIBUTE_NAME 128 +#define MIN_GOPHER_ATTRIBUTE_LENGTH 256 + +#define GOPHER_INFO_CATEGORY TEXT("+INFO") +#define GOPHER_ADMIN_CATEGORY TEXT("+ADMIN") +#define GOPHER_VIEWS_CATEGORY TEXT("+VIEWS") +#define GOPHER_ABSTRACT_CATEGORY TEXT("+ABSTRACT") +#define GOPHER_VERONICA_CATEGORY TEXT("+VERONICA") +#define GOPHER_ADMIN_ATTRIBUTE TEXT("Admin") +#define GOPHER_MOD_DATE_ATTRIBUTE TEXT("Mod-Date") +#define GOPHER_TTL_ATTRIBUTE TEXT("TTL") +#define GOPHER_SCORE_ATTRIBUTE TEXT("Score") +#define GOPHER_RANGE_ATTRIBUTE TEXT("Score-range") +#define GOPHER_SITE_ATTRIBUTE TEXT("Site") +#define GOPHER_ORG_ATTRIBUTE TEXT("Org") +#define GOPHER_LOCATION_ATTRIBUTE TEXT("Loc") +#define GOPHER_GEOG_ATTRIBUTE TEXT("Geog") +#define GOPHER_TIMEZONE_ATTRIBUTE TEXT("TZ") +#define GOPHER_PROVIDER_ATTRIBUTE TEXT("Provider") +#define GOPHER_VERSION_ATTRIBUTE TEXT("Version") +#define GOPHER_ABSTRACT_ATTRIBUTE TEXT("Abstract") +#define GOPHER_VIEW_ATTRIBUTE TEXT("View") +#define GOPHER_TREEWALK_ATTRIBUTE TEXT("treewalk") + +#define GOPHER_ATTRIBUTE_ID_BASE 0xabcccc00 + +#define GOPHER_CATEGORY_ID_ALL (GOPHER_ATTRIBUTE_ID_BASE + 1) +#define GOPHER_CATEGORY_ID_INFO (GOPHER_ATTRIBUTE_ID_BASE + 2) +#define GOPHER_CATEGORY_ID_ADMIN (GOPHER_ATTRIBUTE_ID_BASE + 3) +#define GOPHER_CATEGORY_ID_VIEWS (GOPHER_ATTRIBUTE_ID_BASE + 4) +#define GOPHER_CATEGORY_ID_ABSTRACT (GOPHER_ATTRIBUTE_ID_BASE + 5) +#define GOPHER_CATEGORY_ID_VERONICA (GOPHER_ATTRIBUTE_ID_BASE + 6) +#define GOPHER_CATEGORY_ID_ASK (GOPHER_ATTRIBUTE_ID_BASE + 7) +#define GOPHER_CATEGORY_ID_UNKNOWN (GOPHER_ATTRIBUTE_ID_BASE + 8) + +#define GOPHER_ATTRIBUTE_ID_ALL (GOPHER_ATTRIBUTE_ID_BASE + 9) +#define GOPHER_ATTRIBUTE_ID_ADMIN (GOPHER_ATTRIBUTE_ID_BASE + 10) +#define GOPHER_ATTRIBUTE_ID_MOD_DATE (GOPHER_ATTRIBUTE_ID_BASE + 11) +#define GOPHER_ATTRIBUTE_ID_TTL (GOPHER_ATTRIBUTE_ID_BASE + 12) +#define GOPHER_ATTRIBUTE_ID_SCORE (GOPHER_ATTRIBUTE_ID_BASE + 13) +#define GOPHER_ATTRIBUTE_ID_RANGE (GOPHER_ATTRIBUTE_ID_BASE + 14) +#define GOPHER_ATTRIBUTE_ID_SITE (GOPHER_ATTRIBUTE_ID_BASE + 15) +#define GOPHER_ATTRIBUTE_ID_ORG (GOPHER_ATTRIBUTE_ID_BASE + 16) +#define GOPHER_ATTRIBUTE_ID_LOCATION (GOPHER_ATTRIBUTE_ID_BASE + 17) +#define GOPHER_ATTRIBUTE_ID_GEOG (GOPHER_ATTRIBUTE_ID_BASE + 18) +#define GOPHER_ATTRIBUTE_ID_TIMEZONE (GOPHER_ATTRIBUTE_ID_BASE + 19) +#define GOPHER_ATTRIBUTE_ID_PROVIDER (GOPHER_ATTRIBUTE_ID_BASE + 20) +#define GOPHER_ATTRIBUTE_ID_VERSION (GOPHER_ATTRIBUTE_ID_BASE + 21) +#define GOPHER_ATTRIBUTE_ID_ABSTRACT (GOPHER_ATTRIBUTE_ID_BASE + 22) +#define GOPHER_ATTRIBUTE_ID_VIEW (GOPHER_ATTRIBUTE_ID_BASE + 23) +#define GOPHER_ATTRIBUTE_ID_TREEWALK (GOPHER_ATTRIBUTE_ID_BASE + 24) +#define GOPHER_ATTRIBUTE_ID_UNKNOWN (GOPHER_ATTRIBUTE_ID_BASE + 25) + +BOOLAPI GopherCreateLocatorA(LPCSTR ,INTERNET_PORT ,LPCSTR , + LPCSTR ,DWORD ,LPSTR ,LPDWORD); +BOOLAPI GopherCreateLocatorW(LPCWSTR ,INTERNET_PORT ,LPCWSTR , + LPCWSTR ,DWORD ,LPWSTR ,LPDWORD); +#define GopherCreateLocator WINELIB_NAME_AW(GopherCreateLocator) + +BOOLAPI GopherGetLocatorTypeA(LPCSTR ,LPDWORD); +BOOLAPI GopherGetLocatorTypeW(LPCWSTR ,LPDWORD); +#define GopherGetLocatorType WINELIB_NAME_AW(GopherGetLocatorType) + +INTERNETAPI HINTERNET WINAPI GopherFindFirstFileA(HINTERNET ,LPCSTR , + LPCSTR ,LPGOPHER_FIND_DATAA ,DWORD ,DWORD_PTR); +INTERNETAPI HINTERNET WINAPI GopherFindFirstFileW(HINTERNET ,LPCWSTR , + LPCWSTR ,LPGOPHER_FIND_DATAW ,DWORD ,DWORD_PTR); +#define GopherFindFirstFile WINELIB_NAME_AW(GopherFindFirstFile) + +INTERNETAPI HINTERNET WINAPI GopherOpenFileA(HINTERNET ,LPCSTR ,LPCSTR ,DWORD ,DWORD_PTR); +INTERNETAPI HINTERNET WINAPI GopherOpenFileW(HINTERNET ,LPCWSTR ,LPCWSTR ,DWORD ,DWORD_PTR); +#define GopherOpenFile WINELIB_NAME_AW(GopherOpenFile) + +typedef BOOL (CALLBACK *GOPHER_ATTRIBUTE_ENUMERATORA)(LPGOPHER_ATTRIBUTE_TYPEA ,DWORD); +typedef BOOL (CALLBACK *GOPHER_ATTRIBUTE_ENUMERATORW)(LPGOPHER_ATTRIBUTE_TYPEW ,DWORD); + +DECL_WINELIB_TYPE_AW(GOPHER_ATTRIBUTE_ENUMERATOR) + +BOOLAPI GopherGetAttributeA(HINTERNET ,LPCSTR ,LPCSTR ,LPBYTE , + DWORD ,LPDWORD ,GOPHER_ATTRIBUTE_ENUMERATORA ,DWORD_PTR); +BOOLAPI GopherGetAttributeW(HINTERNET ,LPCWSTR ,LPCWSTR ,LPBYTE , + DWORD ,LPDWORD ,GOPHER_ATTRIBUTE_ENUMERATORW ,DWORD_PTR); +#define GopherGetAttribute WINELIB_NAME_AW(GopherGetAttribute) + +#define HTTP_MAJOR_VERSION 1 +#define HTTP_MINOR_VERSION 0 +#define HTTP_VERSION TEXT("HTTP/1.0") +#define HTTP_QUERY_MIME_VERSION 0 +#define HTTP_QUERY_CONTENT_TYPE 1 +#define HTTP_QUERY_CONTENT_TRANSFER_ENCODING 2 +#define HTTP_QUERY_CONTENT_ID 3 +#define HTTP_QUERY_CONTENT_DESCRIPTION 4 +#define HTTP_QUERY_CONTENT_LENGTH 5 +#define HTTP_QUERY_CONTENT_LANGUAGE 6 +#define HTTP_QUERY_ALLOW 7 +#define HTTP_QUERY_PUBLIC 8 +#define HTTP_QUERY_DATE 9 +#define HTTP_QUERY_EXPIRES 10 +#define HTTP_QUERY_LAST_MODIFIED 11 +#define HTTP_QUERY_MESSAGE_ID 12 +#define HTTP_QUERY_URI 13 +#define HTTP_QUERY_DERIVED_FROM 14 +#define HTTP_QUERY_COST 15 +#define HTTP_QUERY_LINK 16 +#define HTTP_QUERY_PRAGMA 17 +#define HTTP_QUERY_VERSION 18 +#define HTTP_QUERY_STATUS_CODE 19 +#define HTTP_QUERY_STATUS_TEXT 20 +#define HTTP_QUERY_RAW_HEADERS 21 +#define HTTP_QUERY_RAW_HEADERS_CRLF 22 +#define HTTP_QUERY_CONNECTION 23 +#define HTTP_QUERY_ACCEPT 24 +#define HTTP_QUERY_ACCEPT_CHARSET 25 +#define HTTP_QUERY_ACCEPT_ENCODING 26 +#define HTTP_QUERY_ACCEPT_LANGUAGE 27 +#define HTTP_QUERY_AUTHORIZATION 28 +#define HTTP_QUERY_CONTENT_ENCODING 29 +#define HTTP_QUERY_FORWARDED 30 +#define HTTP_QUERY_FROM 31 +#define HTTP_QUERY_IF_MODIFIED_SINCE 32 +#define HTTP_QUERY_LOCATION 33 +#define HTTP_QUERY_ORIG_URI 34 +#define HTTP_QUERY_REFERER 35 +#define HTTP_QUERY_RETRY_AFTER 36 +#define HTTP_QUERY_SERVER 37 +#define HTTP_QUERY_TITLE 38 +#define HTTP_QUERY_USER_AGENT 39 +#define HTTP_QUERY_WWW_AUTHENTICATE 40 +#define HTTP_QUERY_PROXY_AUTHENTICATE 41 +#define HTTP_QUERY_ACCEPT_RANGES 42 +#define HTTP_QUERY_SET_COOKIE 43 +#define HTTP_QUERY_COOKIE 44 +#define HTTP_QUERY_REQUEST_METHOD 45 +#define HTTP_QUERY_REFRESH 46 +#define HTTP_QUERY_CONTENT_DISPOSITION 47 +#define HTTP_QUERY_AGE 48 +#define HTTP_QUERY_CACHE_CONTROL 49 +#define HTTP_QUERY_CONTENT_BASE 50 +#define HTTP_QUERY_CONTENT_LOCATION 51 +#define HTTP_QUERY_CONTENT_MD5 52 +#define HTTP_QUERY_CONTENT_RANGE 53 +#define HTTP_QUERY_ETAG 54 +#define HTTP_QUERY_HOST 55 +#define HTTP_QUERY_IF_MATCH 56 +#define HTTP_QUERY_IF_NONE_MATCH 57 +#define HTTP_QUERY_IF_RANGE 58 +#define HTTP_QUERY_IF_UNMODIFIED_SINCE 59 +#define HTTP_QUERY_MAX_FORWARDS 60 +#define HTTP_QUERY_PROXY_AUTHORIZATION 61 +#define HTTP_QUERY_RANGE 62 +#define HTTP_QUERY_TRANSFER_ENCODING 63 +#define HTTP_QUERY_UPGRADE 64 +#define HTTP_QUERY_VARY 65 +#define HTTP_QUERY_VIA 66 +#define HTTP_QUERY_WARNING 67 +#define HTTP_QUERY_EXPECT 68 +#define HTTP_QUERY_PROXY_CONNECTION 69 +#define HTTP_QUERY_UNLESS_MODIFIED_SINCE 70 +#define HTTP_QUERY_ECHO_REQUEST 71 +#define HTTP_QUERY_ECHO_REPLY 72 +#define HTTP_QUERY_ECHO_HEADERS 73 +#define HTTP_QUERY_ECHO_HEADERS_CRLF 74 +#define HTTP_QUERY_PROXY_SUPPORT 75 +#define HTTP_QUERY_AUTHENTICATION_INFO 76 +#define HTTP_QUERY_PASSPORT_URLS 77 +#define HTTP_QUERY_PASSPORT_CONFIG 78 +#define HTTP_QUERY_MAX 78 +#define HTTP_QUERY_CUSTOM 65535 +#define HTTP_QUERY_FLAG_REQUEST_HEADERS 0x80000000 +#define HTTP_QUERY_FLAG_SYSTEMTIME 0x40000000 +#define HTTP_QUERY_FLAG_NUMBER 0x20000000 +#define HTTP_QUERY_FLAG_COALESCE 0x10000000 +#define HTTP_QUERY_MODIFIER_FLAGS_MASK (HTTP_QUERY_FLAG_REQUEST_HEADERS \ + | HTTP_QUERY_FLAG_SYSTEMTIME \ + | HTTP_QUERY_FLAG_NUMBER \ + | HTTP_QUERY_FLAG_COALESCE \ + ) +#define HTTP_QUERY_HEADER_MASK (~HTTP_QUERY_MODIFIER_FLAGS_MASK) + +#define HTTP_STATUS_CONTINUE 100 +#define HTTP_STATUS_SWITCH_PROTOCOLS 101 +#define HTTP_STATUS_OK 200 +#define HTTP_STATUS_CREATED 201 +#define HTTP_STATUS_ACCEPTED 202 +#define HTTP_STATUS_PARTIAL 203 +#define HTTP_STATUS_NO_CONTENT 204 +#define HTTP_STATUS_RESET_CONTENT 205 +#define HTTP_STATUS_PARTIAL_CONTENT 206 +#define HTTP_STATUS_AMBIGUOUS 300 +#define HTTP_STATUS_MOVED 301 +#define HTTP_STATUS_REDIRECT 302 +#define HTTP_STATUS_REDIRECT_METHOD 303 +#define HTTP_STATUS_NOT_MODIFIED 304 +#define HTTP_STATUS_USE_PROXY 305 +#define HTTP_STATUS_REDIRECT_KEEP_VERB 307 +#define HTTP_STATUS_BAD_REQUEST 400 +#define HTTP_STATUS_DENIED 401 +#define HTTP_STATUS_PAYMENT_REQ 402 +#define HTTP_STATUS_FORBIDDEN 403 +#define HTTP_STATUS_NOT_FOUND 404 +#define HTTP_STATUS_BAD_METHOD 405 +#define HTTP_STATUS_NONE_ACCEPTABLE 406 +#define HTTP_STATUS_PROXY_AUTH_REQ 407 +#define HTTP_STATUS_REQUEST_TIMEOUT 408 +#define HTTP_STATUS_CONFLICT 409 +#define HTTP_STATUS_GONE 410 +#define HTTP_STATUS_LENGTH_REQUIRED 411 +#define HTTP_STATUS_PRECOND_FAILED 412 +#define HTTP_STATUS_REQUEST_TOO_LARGE 413 +#define HTTP_STATUS_URI_TOO_LONG 414 +#define HTTP_STATUS_UNSUPPORTED_MEDIA 415 +#define HTTP_STATUS_SERVER_ERROR 500 +#define HTTP_STATUS_NOT_SUPPORTED 501 +#define HTTP_STATUS_BAD_GATEWAY 502 +#define HTTP_STATUS_SERVICE_UNAVAIL 503 +#define HTTP_STATUS_GATEWAY_TIMEOUT 504 +#define HTTP_STATUS_VERSION_NOT_SUP 505 +#define HTTP_STATUS_FIRST HTTP_STATUS_CONTINUE +#define HTTP_STATUS_LAST HTTP_STATUS_VERSION_NOT_SUP + + +INTERNETAPI HINTERNET WINAPI HttpOpenRequestA(HINTERNET ,LPCSTR ,LPCSTR ,LPCSTR , + LPCSTR ,LPCSTR * ,DWORD ,DWORD_PTR); +INTERNETAPI HINTERNET WINAPI HttpOpenRequestW(HINTERNET ,LPCWSTR ,LPCWSTR ,LPCWSTR , + LPCWSTR ,LPCWSTR * ,DWORD ,DWORD_PTR); +#define HttpOpenRequest WINELIB_NAME_AW(HttpOpenRequest) + +BOOLAPI HttpAddRequestHeadersA(HINTERNET ,LPCSTR ,DWORD ,DWORD); +BOOLAPI HttpAddRequestHeadersW(HINTERNET ,LPCWSTR ,DWORD ,DWORD); +#define HttpAddRequestHeaders WINELIB_NAME_AW(HttpAddRequestHeaders) + +#define HTTP_ADDREQ_INDEX_MASK 0x0000FFFF +#define HTTP_ADDREQ_FLAGS_MASK 0xFFFF0000 +#define HTTP_ADDREQ_FLAG_ADD_IF_NEW 0x10000000 +#define HTTP_ADDREQ_FLAG_ADD 0x20000000 +#define HTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA 0x40000000 +#define HTTP_ADDREQ_FLAG_COALESCE_WITH_SEMICOLON 0x01000000 +#define HTTP_ADDREQ_FLAG_COALESCE HTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA +#define HTTP_ADDREQ_FLAG_REPLACE 0x80000000 + +BOOLAPI HttpSendRequestA(HINTERNET ,LPCSTR ,DWORD ,LPVOID ,DWORD); +BOOLAPI HttpSendRequestW(HINTERNET ,LPCWSTR ,DWORD ,LPVOID ,DWORD); +#define HttpSendRequest WINELIB_NAME_AW(HttpSendRequest) + +INTERNETAPI BOOL WINAPI HttpSendRequestExA(HINTERNET ,LPINTERNET_BUFFERSA , + LPINTERNET_BUFFERSA ,DWORD ,DWORD_PTR); +INTERNETAPI BOOL WINAPI HttpSendRequestExW(HINTERNET ,LPINTERNET_BUFFERSW , + LPINTERNET_BUFFERSW ,DWORD ,DWORD_PTR); +#define HttpSendRequestEx WINELIB_NAME_AW(HttpSendRequestEx) + +#define HSR_ASYNC WININET_API_FLAG_ASYNC +#define HSR_SYNC WININET_API_FLAG_SYNC +#define HSR_USE_CONTEXT WININET_API_FLAG_USE_CONTEXT +#define HSR_INITIATE 0x00000008 +#define HSR_DOWNLOAD 0x00000010 +#define HSR_CHUNKED 0x00000020 + +INTERNETAPI BOOL WINAPI HttpEndRequestA(HINTERNET ,LPINTERNET_BUFFERSA ,DWORD ,DWORD_PTR); +INTERNETAPI BOOL WINAPI HttpEndRequestW(HINTERNET ,LPINTERNET_BUFFERSW ,DWORD ,DWORD_PTR); +#define HttpEndRequest WINELIB_NAME_AW(HttpEndRequest) + +BOOLAPI HttpQueryInfoA(HINTERNET ,DWORD ,LPVOID ,LPDWORD ,LPDWORD); +BOOLAPI HttpQueryInfoW(HINTERNET ,DWORD ,LPVOID ,LPDWORD ,LPDWORD); +#define HttpQueryInfo WINELIB_NAME_AW(HttpQueryInfo) + +typedef enum { + COOKIE_STATE_UNKNOWN, + COOKIE_STATE_ACCEPT, + COOKIE_STATE_PROMPT, + COOKIE_STATE_LEASH, + COOKIE_STATE_DOWNGRADE, + COOKIE_STATE_REJECT, + COOKIE_STATE_MAX = COOKIE_STATE_REJECT +} InternetCookieState; + +BOOLAPI InternetClearAllPerSiteCookieDecisions(VOID); + +BOOLAPI InternetEnumPerSiteCookieDecisionA(LPSTR,ULONG *,ULONG *,ULONG); +BOOLAPI InternetEnumPerSiteCookieDecisionW(LPWSTR,ULONG *,ULONG *,ULONG); +#define InternetEnumPerSiteCookieDecision WINELIB_NAME_AW(InternetEnumPerSiteCookieDecision) + +#define INTERNET_COOKIE_IS_SECURE 0x00000001 +#define INTERNET_COOKIE_IS_SESSION 0x00000002 +#define INTERNET_COOKIE_THIRD_PARTY 0x00000010 +#define INTERNET_COOKIE_PROMPT_REQUIRED 0x00000020 +#define INTERNET_COOKIE_EVALUATE_P3P 0x00000040 +#define INTERNET_COOKIE_APPLY_P3P 0x00000080 +#define INTERNET_COOKIE_P3P_ENABLED 0x00000100 +#define INTERNET_COOKIE_IS_RESTRICTED 0x00000200 +#define INTERNET_COOKIE_IE6 0x00000400 +#define INTERNET_COOKIE_IS_LEGACY 0x00000800 +#define INTERNET_COOKIE_NON_SCRIPT 0x00001000 +#define INTERNET_COOKIE_HTTPONLY 0x00002000 + +BOOLAPI InternetGetCookieExA(LPCSTR,LPCSTR,LPSTR,LPDWORD,DWORD,LPVOID); +BOOLAPI InternetGetCookieExW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,DWORD,LPVOID); +#define InternetGetCookieEx WINELIB_NAME_AW(InternetGetCookieEx) + +DWORD WINAPI InternetSetCookieExA(LPCSTR,LPCSTR,LPCSTR,DWORD,DWORD_PTR); +DWORD WINAPI InternetSetCookieExW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD_PTR); +#define InternetSetCookieEx WINELIB_NAME_AW(InternetSetCookieEx) + +BOOLAPI InternetGetPerSiteCookieDecisionA(LPCSTR,ULONG *); +BOOLAPI InternetGetPerSiteCookieDecisionW(LPCWSTR,ULONG *); +#define InternetGetPerSiteCookieDecision WINELIB_NAME_AW(InternetGetPerSiteCookieDecision) + +BOOLAPI InternetSetPerSiteCookieDecisionA(LPCSTR,DWORD); +BOOLAPI InternetSetPerSiteCookieDecisionW(LPCWSTR,DWORD); +#define InternetSetPerSiteCookieDecision WINELIB_NAME_AW(InternetSetPerSiteCookieDecision) + +BOOLAPI InternetSetCookieA(LPCSTR ,LPCSTR ,LPCSTR); +BOOLAPI InternetSetCookieW(LPCWSTR ,LPCWSTR ,LPCWSTR); +#define InternetSetCookie WINELIB_NAME_AW(InternetSetCookie) + +BOOLAPI InternetGetCookieA(LPCSTR ,LPCSTR ,LPSTR ,LPDWORD); +BOOLAPI InternetGetCookieW(LPCWSTR ,LPCWSTR ,LPWSTR ,LPDWORD); +#define InternetGetCookie WINELIB_NAME_AW(InternetGetCookie) + +INTERNETAPI DWORD WINAPI InternetAttemptConnect(DWORD); +BOOLAPI InternetCheckConnectionA(LPCSTR ,DWORD ,DWORD); +BOOLAPI InternetCheckConnectionW(LPCWSTR ,DWORD ,DWORD); +#define InternetCheckConnection WINELIB_NAME_AW(InternetCheckConnection) + +#define FLAG_ICC_FORCE_CONNECTION 0x00000001 + +#define FLAGS_ERROR_UI_FILTER_FOR_ERRORS 0x01 +#define FLAGS_ERROR_UI_FLAGS_CHANGE_OPTIONS 0x02 +#define FLAGS_ERROR_UI_FLAGS_GENERATE_DATA 0x04 +#define FLAGS_ERROR_UI_FLAGS_NO_UI 0x08 +#define FLAGS_ERROR_UI_SERIALIZE_DIALOGS 0x10 + +DWORD InternetAuthNotifyCallback ( DWORD_PTR ,DWORD ,LPVOID ); +typedef DWORD (CALLBACK *PFN_AUTH_NOTIFY) (DWORD_PTR,DWORD,LPVOID); + +typedef struct +{ + DWORD cbStruct; + DWORD dwOptions; + PFN_AUTH_NOTIFY pfnNotify; + DWORD_PTR dwContext; +} +INTERNET_AUTH_NOTIFY_DATA; + + +INTERNETAPI DWORD WINAPI InternetErrorDlg(HWND ,HINTERNET ,DWORD ,DWORD ,LPVOID *); +INTERNETAPI DWORD WINAPI InternetConfirmZoneCrossingA(HWND ,LPSTR ,LPSTR ,BOOL); +INTERNETAPI DWORD WINAPI InternetConfirmZoneCrossingW(HWND ,LPWSTR ,LPWSTR ,BOOL); +#define InternetConfirmZoneCrossing WINELIB_NAME_AW(InternetConfirmZoneCrossing) + +#define PRIVACY_TEMPLATE_NO_COOKIES 0 +#define PRIVACY_TEMPLATE_HIGH 1 +#define PRIVACY_TEMPLATE_MEDIUM_HIGH 2 +#define PRIVACY_TEMPLATE_MEDIUM 3 +#define PRIVACY_TEMPLATE_MEDIUM_LOW 4 +#define PRIVACY_TEMPLATE_LOW 5 +#define PRIVACY_TEMPLATE_CUSTOM 100 +#define PRIVACY_TEMPLATE_ADVANCED 101 + +#define PRIVACY_TEMPLATE_MAX PRIVACY_TEMPLATE_LOW + +#define PRIVACY_TYPE_FIRST_PARTY 0 +#define PRIVACY_TYPE_THIRD_PARTY 1 + +INTERNETAPI DWORD WINAPI PrivacySetZonePreferenceW(DWORD,DWORD,DWORD,LPCWSTR); +INTERNETAPI DWORD WINAPI PrivacyGetZonePreferenceW(DWORD,DWORD,LPDWORD,LPWSTR,LPDWORD); + +#define INTERNET_ERROR_BASE 12000 + +#define ERROR_INTERNET_OUT_OF_HANDLES (INTERNET_ERROR_BASE + 1) +#define ERROR_INTERNET_TIMEOUT (INTERNET_ERROR_BASE + 2) +#define ERROR_INTERNET_EXTENDED_ERROR (INTERNET_ERROR_BASE + 3) +#define ERROR_INTERNET_INTERNAL_ERROR (INTERNET_ERROR_BASE + 4) +#define ERROR_INTERNET_INVALID_URL (INTERNET_ERROR_BASE + 5) +#define ERROR_INTERNET_UNRECOGNIZED_SCHEME (INTERNET_ERROR_BASE + 6) +#define ERROR_INTERNET_NAME_NOT_RESOLVED (INTERNET_ERROR_BASE + 7) +#define ERROR_INTERNET_PROTOCOL_NOT_FOUND (INTERNET_ERROR_BASE + 8) +#define ERROR_INTERNET_INVALID_OPTION (INTERNET_ERROR_BASE + 9) +#define ERROR_INTERNET_BAD_OPTION_LENGTH (INTERNET_ERROR_BASE + 10) +#define ERROR_INTERNET_OPTION_NOT_SETTABLE (INTERNET_ERROR_BASE + 11) +#define ERROR_INTERNET_SHUTDOWN (INTERNET_ERROR_BASE + 12) +#define ERROR_INTERNET_INCORRECT_USER_NAME (INTERNET_ERROR_BASE + 13) +#define ERROR_INTERNET_INCORRECT_PASSWORD (INTERNET_ERROR_BASE + 14) +#define ERROR_INTERNET_LOGIN_FAILURE (INTERNET_ERROR_BASE + 15) +#define ERROR_INTERNET_INVALID_OPERATION (INTERNET_ERROR_BASE + 16) +#define ERROR_INTERNET_OPERATION_CANCELLED (INTERNET_ERROR_BASE + 17) +#define ERROR_INTERNET_INCORRECT_HANDLE_TYPE (INTERNET_ERROR_BASE + 18) +#define ERROR_INTERNET_INCORRECT_HANDLE_STATE (INTERNET_ERROR_BASE + 19) +#define ERROR_INTERNET_NOT_PROXY_REQUEST (INTERNET_ERROR_BASE + 20) +#define ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND (INTERNET_ERROR_BASE + 21) +#define ERROR_INTERNET_BAD_REGISTRY_PARAMETER (INTERNET_ERROR_BASE + 22) +#define ERROR_INTERNET_NO_DIRECT_ACCESS (INTERNET_ERROR_BASE + 23) +#define ERROR_INTERNET_NO_CONTEXT (INTERNET_ERROR_BASE + 24) +#define ERROR_INTERNET_NO_CALLBACK (INTERNET_ERROR_BASE + 25) +#define ERROR_INTERNET_REQUEST_PENDING (INTERNET_ERROR_BASE + 26) +#define ERROR_INTERNET_INCORRECT_FORMAT (INTERNET_ERROR_BASE + 27) +#define ERROR_INTERNET_ITEM_NOT_FOUND (INTERNET_ERROR_BASE + 28) +#define ERROR_INTERNET_CANNOT_CONNECT (INTERNET_ERROR_BASE + 29) +#define ERROR_INTERNET_CONNECTION_ABORTED (INTERNET_ERROR_BASE + 30) +#define ERROR_INTERNET_CONNECTION_RESET (INTERNET_ERROR_BASE + 31) +#define ERROR_INTERNET_FORCE_RETRY (INTERNET_ERROR_BASE + 32) +#define ERROR_INTERNET_INVALID_PROXY_REQUEST (INTERNET_ERROR_BASE + 33) +#define ERROR_INTERNET_NEED_UI (INTERNET_ERROR_BASE + 34) +#define ERROR_INTERNET_HANDLE_EXISTS (INTERNET_ERROR_BASE + 36) +#define ERROR_INTERNET_SEC_CERT_DATE_INVALID (INTERNET_ERROR_BASE + 37) +#define ERROR_INTERNET_SEC_CERT_CN_INVALID (INTERNET_ERROR_BASE + 38) +#define ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR (INTERNET_ERROR_BASE + 39) +#define ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR (INTERNET_ERROR_BASE + 40) +#define ERROR_INTERNET_MIXED_SECURITY (INTERNET_ERROR_BASE + 41) +#define ERROR_INTERNET_CHG_POST_IS_NON_SECURE (INTERNET_ERROR_BASE + 42) +#define ERROR_INTERNET_POST_IS_NON_SECURE (INTERNET_ERROR_BASE + 43) +#define ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED (INTERNET_ERROR_BASE + 44) +#define ERROR_INTERNET_INVALID_CA (INTERNET_ERROR_BASE + 45) +#define ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP (INTERNET_ERROR_BASE + 46) +#define ERROR_INTERNET_ASYNC_THREAD_FAILED (INTERNET_ERROR_BASE + 47) +#define ERROR_INTERNET_REDIRECT_SCHEME_CHANGE (INTERNET_ERROR_BASE + 48) +#define ERROR_INTERNET_DIALOG_PENDING (INTERNET_ERROR_BASE + 49) +#define ERROR_INTERNET_RETRY_DIALOG (INTERNET_ERROR_BASE + 50) +#define ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR (INTERNET_ERROR_BASE + 52) +#define ERROR_INTERNET_INSERT_CDROM (INTERNET_ERROR_BASE + 53) +#define ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED (INTERNET_ERROR_BASE + 54) +#define ERROR_INTERNET_SEC_CERT_ERRORS (INTERNET_ERROR_BASE + 55) +#define ERROR_INTERNET_SEC_CERT_NO_REV (INTERNET_ERROR_BASE + 56) +#define ERROR_INTERNET_SEC_CERT_REV_FAILED (INTERNET_ERROR_BASE + 57) +#define ERROR_FTP_TRANSFER_IN_PROGRESS (INTERNET_ERROR_BASE + 110) +#define ERROR_FTP_DROPPED (INTERNET_ERROR_BASE + 111) +#define ERROR_FTP_NO_PASSIVE_MODE (INTERNET_ERROR_BASE + 112) +#define ERROR_GOPHER_PROTOCOL_ERROR (INTERNET_ERROR_BASE + 130) +#define ERROR_GOPHER_NOT_FILE (INTERNET_ERROR_BASE + 131) +#define ERROR_GOPHER_DATA_ERROR (INTERNET_ERROR_BASE + 132) +#define ERROR_GOPHER_END_OF_DATA (INTERNET_ERROR_BASE + 133) +#define ERROR_GOPHER_INVALID_LOCATOR (INTERNET_ERROR_BASE + 134) +#define ERROR_GOPHER_INCORRECT_LOCATOR_TYPE (INTERNET_ERROR_BASE + 135) +#define ERROR_GOPHER_NOT_GOPHER_PLUS (INTERNET_ERROR_BASE + 136) +#define ERROR_GOPHER_ATTRIBUTE_NOT_FOUND (INTERNET_ERROR_BASE + 137) +#define ERROR_GOPHER_UNKNOWN_LOCATOR (INTERNET_ERROR_BASE + 138) +#define ERROR_HTTP_HEADER_NOT_FOUND (INTERNET_ERROR_BASE + 150) +#define ERROR_HTTP_DOWNLEVEL_SERVER (INTERNET_ERROR_BASE + 151) +#define ERROR_HTTP_INVALID_SERVER_RESPONSE (INTERNET_ERROR_BASE + 152) +#define ERROR_HTTP_INVALID_HEADER (INTERNET_ERROR_BASE + 153) +#define ERROR_HTTP_INVALID_QUERY_REQUEST (INTERNET_ERROR_BASE + 154) +#define ERROR_HTTP_HEADER_ALREADY_EXISTS (INTERNET_ERROR_BASE + 155) +#define ERROR_HTTP_REDIRECT_FAILED (INTERNET_ERROR_BASE + 156) +#define ERROR_HTTP_NOT_REDIRECTED (INTERNET_ERROR_BASE + 160) +#define ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION (INTERNET_ERROR_BASE + 161) +#define ERROR_HTTP_COOKIE_DECLINED (INTERNET_ERROR_BASE + 162) +#define ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION (INTERNET_ERROR_BASE + 168) +#define ERROR_INTERNET_SECURITY_CHANNEL_ERROR (INTERNET_ERROR_BASE + 157) +#define ERROR_INTERNET_UNABLE_TO_CACHE_FILE (INTERNET_ERROR_BASE + 158) +#define ERROR_INTERNET_TCPIP_NOT_INSTALLED (INTERNET_ERROR_BASE + 159) +#define ERROR_INTERNET_DISCONNECTED (INTERNET_ERROR_BASE + 163) +#define ERROR_INTERNET_SERVER_UNREACHABLE (INTERNET_ERROR_BASE + 164) +#define ERROR_INTERNET_PROXY_SERVER_UNREACHABLE (INTERNET_ERROR_BASE + 165) +#define ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT (INTERNET_ERROR_BASE + 166) +#define ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT (INTERNET_ERROR_BASE + 167) +#define ERROR_INTERNET_SEC_INVALID_CERT (INTERNET_ERROR_BASE + 169) +#define ERROR_INTERNET_SEC_CERT_REVOKED (INTERNET_ERROR_BASE + 170) +#define ERROR_INTERNET_FAILED_DUETOSECURITYCHECK (INTERNET_ERROR_BASE + 171) +#define ERROR_INTERNET_NOT_INITIALIZED (INTERNET_ERROR_BASE + 172) +#define ERROR_INTERNET_NEED_MSN_SSPI_PKG (INTERNET_ERROR_BASE + 173) +#define ERROR_INTERNET_LOGIN_FAILURE_DISPLAY_ENTITY_BODY (INTERNET_ERROR_BASE + 174) +#define ERROR_INTERNET_DECODING_FAILED (INTERNET_ERROR_BASE + 175) +#define INTERNET_ERROR_LAST ERROR_INTERNET_DECODING_FAILED + + +#define NORMAL_CACHE_ENTRY 0x00000001 +#define STICKY_CACHE_ENTRY 0x00000004 +#define EDITED_CACHE_ENTRY 0x00000008 +#define COOKIE_CACHE_ENTRY 0x00100000 +#define URLHISTORY_CACHE_ENTRY 0x00200000 +#define TRACK_OFFLINE_CACHE_ENTRY 0x00000010 +#define TRACK_ONLINE_CACHE_ENTRY 0x00000020 +#define SPARSE_CACHE_ENTRY 0x00010000 + +#define URLCACHE_FIND_DEFAULT_FILTER NORMAL_CACHE_ENTRY \ + | COOKIE_CACHE_ENTRY \ + | URLHISTORY_CACHE_ENTRY \ + | TRACK_OFFLINE_CACHE_ENTRY \ + | TRACK_ONLINE_CACHE_ENTRY \ + | STICKY_CACHE_ENTRY + + +typedef struct _INTERNET_CACHE_ENTRY_INFOA { + DWORD dwStructSize; + LPSTR lpszSourceUrlName; + LPSTR lpszLocalFileName; + DWORD CacheEntryType; + DWORD dwUseCount; + DWORD dwHitRate; + DWORD dwSizeLow; + DWORD dwSizeHigh; + FILETIME LastModifiedTime; + FILETIME ExpireTime; + FILETIME LastAccessTime; + FILETIME LastSyncTime; + + LPBYTE lpHeaderInfo; + DWORD dwHeaderInfoSize; + LPSTR lpszFileExtension; + union { + DWORD dwReserved; + DWORD dwExemptDelta; + } DUMMYUNIONNAME; +} INTERNET_CACHE_ENTRY_INFOA,* LPINTERNET_CACHE_ENTRY_INFOA; + +typedef struct _INTERNET_CACHE_ENTRY_INFOW { + DWORD dwStructSize; + LPWSTR lpszSourceUrlName; + LPWSTR lpszLocalFileName; + DWORD CacheEntryType; + DWORD dwUseCount; + DWORD dwHitRate; + DWORD dwSizeLow; + DWORD dwSizeHigh; + FILETIME LastModifiedTime; + FILETIME ExpireTime; + FILETIME LastAccessTime; + FILETIME LastSyncTime; + + LPBYTE lpHeaderInfo; + DWORD dwHeaderInfoSize; + LPWSTR lpszFileExtension; + union { + DWORD dwReserved; + DWORD dwExemptDelta; + } DUMMYUNIONNAME; +} INTERNET_CACHE_ENTRY_INFOW,* LPINTERNET_CACHE_ENTRY_INFOW; + +DECL_WINELIB_TYPE_AW(INTERNET_CACHE_ENTRY_INFO) +DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_ENTRY_INFO) + +typedef struct _INTERNET_CACHE_TIMESTAMPS +{ + FILETIME ftExpires; + FILETIME ftLastModified; +} INTERNET_CACHE_TIMESTAMPS, *LPINTERNET_CACHE_TIMESTAMPS; + +BOOLAPI CreateUrlCacheEntryA(LPCSTR ,DWORD ,LPCSTR ,LPSTR ,DWORD); +BOOLAPI CreateUrlCacheEntryW(LPCWSTR ,DWORD ,LPCWSTR ,LPWSTR ,DWORD); +#define CreateUrlCacheEntry WINELIB_NAME_AW(CreateUrlCacheEntry) + +BOOLAPI CommitUrlCacheEntryA(LPCSTR,LPCSTR,FILETIME,FILETIME,DWORD,LPBYTE,DWORD,LPCSTR,LPCSTR); +BOOLAPI CommitUrlCacheEntryW(LPCWSTR,LPCWSTR,FILETIME,FILETIME,DWORD,LPWSTR,DWORD,LPCWSTR,LPCWSTR); +#define CommitUrlCacheEntry WINELIB_NAME_AW(CommitUrlCacheEntry) + +BOOLAPI ResumeSuspendedDownload(HINTERNET, DWORD); + +BOOLAPI RetrieveUrlCacheEntryFileA(LPCSTR ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD ,DWORD); +BOOLAPI RetrieveUrlCacheEntryFileW(LPCWSTR ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD ,DWORD); +#define RetrieveUrlCacheEntryFile WINELIB_NAME_AW(RetrieveUrlCacheEntryFile) + +BOOLAPI UnlockUrlCacheEntryFileA(LPCSTR ,DWORD); +BOOLAPI UnlockUrlCacheEntryFileW(LPCWSTR ,DWORD); +#define UnlockUrlCacheEntryFile WINELIB_NAME_AW(UnlockUrlCacheEntryFile) + +INTERNETAPI HANDLE WINAPI RetrieveUrlCacheEntryStreamA(LPCSTR , + LPINTERNET_CACHE_ENTRY_INFOA , LPDWORD ,BOOL ,DWORD); +INTERNETAPI HANDLE WINAPI RetrieveUrlCacheEntryStreamW(LPCWSTR ,LPINTERNET_CACHE_ENTRY_INFOW , + LPDWORD ,BOOL ,DWORD); +#define RetrieveUrlCacheEntryStream WINELIB_NAME_AW(RetrieveUrlCacheEntryStream) + +BOOLAPI ReadUrlCacheEntryStream( HANDLE ,DWORD ,LPVOID ,LPDWORD ,DWORD ); +BOOLAPI UnlockUrlCacheEntryStream( HANDLE ,DWORD ); +BOOLAPI GetUrlCacheEntryInfoA(LPCSTR ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD); +BOOLAPI GetUrlCacheEntryInfoW(LPCWSTR ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD); +#define GetUrlCacheEntryInfo WINELIB_NAME_AW(GetUrlCacheEntryInfo) + +BOOLAPI GetUrlCacheEntryInfoExA( + LPCSTR ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD ,LPSTR ,LPDWORD ,LPVOID ,DWORD); +BOOLAPI GetUrlCacheEntryInfoExW( + LPCWSTR ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD ,LPWSTR ,LPDWORD ,LPVOID ,DWORD); +#define GetUrlCacheEntryInfoEx WINELIB_NAME_AW(GetUrlCacheEntryInfoEx) + +#define CACHE_ENTRY_ATTRIBUTE_FC 0x00000004 +#define CACHE_ENTRY_HITRATE_FC 0x00000010 +#define CACHE_ENTRY_MODTIME_FC 0x00000040 +#define CACHE_ENTRY_EXPTIME_FC 0x00000080 +#define CACHE_ENTRY_ACCTIME_FC 0x00000100 +#define CACHE_ENTRY_SYNCTIME_FC 0x00000200 +#define CACHE_ENTRY_HEADERINFO_FC 0x00000400 +#define CACHE_ENTRY_EXEMPT_DELTA_FC 0x00000800 + + +BOOLAPI SetUrlCacheEntryInfoA(LPCSTR ,LPINTERNET_CACHE_ENTRY_INFOA ,DWORD); +BOOLAPI SetUrlCacheEntryInfoW(LPCWSTR ,LPINTERNET_CACHE_ENTRY_INFOW ,DWORD); +#define SetUrlCacheEntryInfo WINELIB_NAME_AW(SetUrlCacheEntryInfo) + +typedef LONGLONG GROUPID; + +INTERNETAPI GROUPID WINAPI CreateUrlCacheGroup(DWORD,LPVOID); +BOOLAPI DeleteUrlCacheGroup(GROUPID ,DWORD ,LPVOID); + +INTERNETAPI HANDLE WINAPI FindFirstUrlCacheGroup(DWORD,DWORD,LPVOID,DWORD,GROUPID*,LPVOID); +BOOLAPI FindNextUrlCacheGroup(HANDLE,GROUPID*,LPVOID); + +BOOLAPI GetUrlCacheGroupAttributeA(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROUP_INFOA,LPDWORD,LPVOID); +BOOLAPI GetUrlCacheGroupAttributeW(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROUP_INFOW,LPDWORD,LPVOID); +#define GetUrlCacheGroupAttribute WINELIB_NAME_AW(GetUrlCacheGroupAttribute) + +#define INTERNET_CACHE_GROUP_ADD 0 +#define INTERNET_CACHE_GROUP_REMOVE 1 + +BOOLAPI SetUrlCacheEntryGroupA(LPCSTR,DWORD,GROUPID,LPBYTE,DWORD,LPVOID); +BOOLAPI SetUrlCacheEntryGroupW(LPCWSTR,DWORD,GROUPID,LPBYTE,DWORD,LPVOID); +#define SetUrlCacheEntryGroup WINELIB_NAME_AW(SetUrlCacheEntryGroup) + +BOOLAPI SetUrlCacheGroupAttributeA(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROUP_INFOA,LPVOID); +BOOLAPI SetUrlCacheGroupAttributeW(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROUP_INFOW,LPVOID); +#define SetUrlCacheGroupAttribute WINELIB_NAME_AW(SetUrlCacheGroupAttribute) + +INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryExA( + LPCSTR ,DWORD ,DWORD ,GROUPID ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD ,LPVOID ,LPDWORD ,LPVOID ); +INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryExW( + LPCWSTR ,DWORD ,DWORD ,GROUPID ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD ,LPVOID ,LPDWORD ,LPVOID ); +#define FindFirstUrlCacheEntryEx WINELIB_NAME_AW(FindFirstUrlCacheEntryEx) + +BOOLAPI FindNextUrlCacheEntryExA(HANDLE ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD ,LPVOID ,LPDWORD ,LPVOID); +BOOLAPI FindNextUrlCacheEntryExW(HANDLE ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD ,LPVOID ,LPDWORD ,LPVOID); +#define FindNextUrlCacheEntryEx WINELIB_NAME_AW(FindNextUrlCacheEntryEx) + +INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD); +INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD); +#define FindFirstUrlCacheEntry WINELIB_NAME_AW(FindFirstUrlCacheEntry) + +BOOLAPI FindNextUrlCacheEntryA(HANDLE ,LPINTERNET_CACHE_ENTRY_INFOA ,LPDWORD); +BOOLAPI FindNextUrlCacheEntryW(HANDLE ,LPINTERNET_CACHE_ENTRY_INFOW ,LPDWORD); +#define FindNextUrlCacheEntry WINELIB_NAME_AW(FindNextUrlCacheEntry) + +BOOLAPI FindCloseUrlCache(HANDLE); + +BOOLAPI DeleteUrlCacheEntryA(LPCSTR); +BOOLAPI DeleteUrlCacheEntryW(LPCWSTR); +#define DeleteUrlCacheEntry WINELIB_NAME_AW(DeleteUrlCacheEntry) + +/* FCS_ flags and FreeUrlCacheSpace are no longer documented */ +#define FCS_PERCENT_CACHE_SPACE 0 /* guessed value */ +#define FCS_PERCENT_DISK_SPACE 1 /* guessed value */ +#define FCS_ABSOLUTE_SIZE 2 /* guessed value */ + +BOOLAPI FreeUrlCacheSpaceA(LPCSTR ,DWORD ,DWORD); +BOOLAPI FreeUrlCacheSpaceW(LPCWSTR ,DWORD ,DWORD); +#define FreeUrlCacheSpace WINELIB_NAME_AW(FreeUrlCacheSpace) + + +INTERNETAPI DWORD WINAPI InternetDialA(HWND ,LPSTR ,DWORD ,DWORD_PTR* ,DWORD); +INTERNETAPI DWORD WINAPI InternetDialW(HWND ,LPWSTR ,DWORD ,DWORD_PTR* ,DWORD); +#define InternetDial WINELIB_NAME_AW(InternetDial) + + +#define INTERNET_DIAL_UNATTENDED 0x8000 + +INTERNETAPI DWORD WINAPI InternetHangUp(DWORD_PTR ,DWORD); +BOOLAPI CreateMD5SSOHash(PWSTR,PWSTR,PWSTR,PBYTE); + +#define INTERENT_GOONLINE_REFRESH 0x00000001 +#define INTERENT_GOONLINE_MASK 0x00000001 +INTERNETAPI BOOL WINAPI InternetGoOnlineA(LPSTR ,HWND ,DWORD); +INTERNETAPI BOOL WINAPI InternetGoOnlineW(LPWSTR ,HWND ,DWORD); +#define InternetGoOnline WINELIB_NAME_AW(InternetGoOnline) +INTERNETAPI BOOL WINAPI InternetAutodial(DWORD,HWND); + +#define INTERNET_AUTODIAL_FORCE_ONLINE 1 +#define INTERNET_AUTODIAL_FORCE_UNATTENDED 2 +#define INTERNET_AUTODIAL_FAILIFSECURITYCHECK 4 + +#define INTERNET_AUTODIAL_FLAGS_MASK (INTERNET_AUTODIAL_FORCE_ONLINE | INTERNET_AUTODIAL_FORCE_UNATTENDED | INTERNET_AUTODIAL_FAILIFSECURITYCHECK) +INTERNETAPI BOOL WINAPI InternetAutodialHangup(DWORD); +INTERNETAPI BOOL WINAPI InternetGetConnectedState(LPDWORD ,DWORD); + +#define INTERNET_CONNECTION_MODEM 0x01 +#define INTERNET_CONNECTION_LAN 0x02 +#define INTERNET_CONNECTION_PROXY 0x04 +#define INTERNET_CONNECTION_MODEM_BUSY 0x08 +#define INTERNET_RAS_INSTALLED 0x10 +#define INTERNET_CONNECTION_OFFLINE 0x20 +#define INTERNET_CONNECTION_CONFIGURED 0x40 + +typedef DWORD (CALLBACK *PFN_DIAL_HANDLER) (HWND,LPCSTR,DWORD,LPDWORD); + +#define INTERNET_CUSTOMDIAL_CONNECT 0 +#define INTERNET_CUSTOMDIAL_UNATTENDED 1 +#define INTERNET_CUSTOMDIAL_DISCONNECT 2 +#define INTERNET_CUSTOMDIAL_SHOWOFFLINE 4 +#define INTERNET_CUSTOMDIAL_SAFE_FOR_UNATTENDED 1 +#define INTERNET_CUSTOMDIAL_WILL_SUPPLY_STATE 2 +#define INTERNET_CUSTOMDIAL_CAN_HANGUP 4 + +INTERNETAPI BOOL WINAPI InternetSetDialStateA(LPCSTR ,DWORD ,DWORD); +INTERNETAPI BOOL WINAPI InternetSetDialStateW(LPCWSTR ,DWORD ,DWORD); +#define InternetSetDialState WINELIB_NAME_AW(InternetSetDialState) +#define INTERNET_DIALSTATE_DISCONNECTED 1 + +BOOL WINAPI InternetGetConnectedStateExA(LPDWORD, LPSTR, DWORD, DWORD); +BOOL WINAPI InternetGetConnectedStateExW(LPDWORD, LPWSTR, DWORD, DWORD); +#define InternetGetConnectedStateEx WINELIB_NAME_AW(InternetGetConnectedStateEx) + +typedef struct AutoProxyHelperVtbl +{ + BOOL (WINAPI *IsResolvable)(LPSTR); + DWORD (WINAPI *GetIPAddress)(LPSTR, LPDWORD); + DWORD (WINAPI *ResolveHostName)(LPSTR, LPSTR, LPDWORD); + BOOL (WINAPI *IsInNet)(LPSTR, LPSTR, LPSTR); + BOOL (WINAPI *IsResolvableEx)(LPSTR); + DWORD (WINAPI *GetIPAddressEx)(LPSTR, LPDWORD); + DWORD (WINAPI *ResolveHostNameEx)(LPSTR, LPSTR, LPDWORD); + BOOL (WINAPI *IsInNetEx)(LPSTR, LPSTR); + DWORD (WINAPI *SortIpList)(LPSTR, LPSTR, LPDWORD); +} AutoProxyHelperVtbl; + +typedef struct AutoProxyHelperFunctions +{ + const struct AutoProxyHelperVtbl *lpVtbl; +} AutoProxyHelperFunctions; + +typedef struct +{ + DWORD dwStructSize; + LPSTR lpszScriptBuffer; + DWORD dwScriptBufferSize; +} AUTO_PROXY_SCRIPT_BUFFER, *LPAUTO_PROXY_SCRIPT_BUFFER; + +typedef BOOL (CALLBACK *pfnInternetDeInitializeAutoProxyDll)(LPSTR, DWORD); +typedef BOOL (CALLBACK *pfnInternetGetProxyInfo)(LPCSTR, DWORD, LPSTR, DWORD, LPSTR *, LPDWORD); +typedef BOOL (CALLBACK *pfnInternetInitializeAutoProxyDll)(DWORD, LPSTR, LPSTR, AutoProxyHelperFunctions *, + LPAUTO_PROXY_SCRIPT_BUFFER); + +BOOL WINAPI InternetInitializeAutoProxyDll(DWORD); +BOOL WINAPI DetectAutoProxyUrl(LPSTR, DWORD, DWORD); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winineti.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winineti.h new file mode 100644 index 0000000..5b6f15f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winineti.h @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINE_WININETI_H_ +#define _WINE_WININETI_H_ + +/* FIXME: #include */ +#include +#include + +typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYA +{ + CHAR CachePath[MAX_PATH]; + DWORD dwCacheSize; +} INTERNET_CACHE_CONFIG_PATH_ENTRYA, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYA; + +typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYW +{ + WCHAR CachePath[MAX_PATH]; + DWORD dwCacheSize; +} INTERNET_CACHE_CONFIG_PATH_ENTRYW, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYW; + +DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_PATH_ENTRY) +DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_PATH_ENTRY) + +typedef struct _INTERNET_CACHE_CONFIG_INFOA +{ + DWORD dwStructSize; + DWORD dwContainer; + DWORD dwQuota; + DWORD dwReserved4; + BOOL fPerUser; + DWORD dwSyncMode; + DWORD dwNumCachePaths; + __C89_NAMELESS union + { + __C89_NAMELESS struct + { + CHAR CachePath[MAX_PATH]; + DWORD dwCacheSize; + } __C89_NAMELESSSTRUCTNAME; + INTERNET_CACHE_CONFIG_PATH_ENTRYA CachePaths[ANYSIZE_ARRAY]; + } __C89_NAMELESSUNIONNAME; + DWORD dwNormalUsage; + DWORD dwExemptUsage; +} INTERNET_CACHE_CONFIG_INFOA, *LPINTERNET_CACHE_CONFIG_INFOA; + +typedef struct _INTERNET_CACHE_CONFIG_INFOW +{ + DWORD dwStructSize; + DWORD dwContainer; + DWORD dwQuota; + DWORD dwReserved4; + BOOL fPerUser; + DWORD dwSyncMode; + DWORD dwNumCachePaths; + __C89_NAMELESS union + { + __C89_NAMELESS struct + { + WCHAR CachePath[MAX_PATH]; + DWORD dwCacheSize; + } __C89_NAMELESSSTRUCTNAME; + INTERNET_CACHE_CONFIG_PATH_ENTRYW CachePaths[ANYSIZE_ARRAY]; + } __C89_NAMELESSUNIONNAME; + DWORD dwNormalUsage; + DWORD dwExemptUsage; +} INTERNET_CACHE_CONFIG_INFOW, *LPINTERNET_CACHE_CONFIG_INFOW; + +DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_INFO) +DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_INFO) + +typedef enum { + WININET_SYNC_MODE_NEVER = 0, + WININET_SYNC_MODE_ON_EXPIRY, + WININET_SYNC_MODE_ONCE_PER_SESSION, + WININET_SYNC_MODE_ALWAYS, + WININET_SYNC_MODE_AUTOMATIC, + WININET_SYNC_MODE_DEFAULT = WININET_SYNC_MODE_AUTOMATIC +} WININET_SYNC_MODE; + +/* Flags for GetUrlCacheConfigInfoA/W and SetUrlCacheConfigInfoA/W */ +#define CACHE_CONFIG_FORCE_CLEANUP_FC 0x00000020 +#define CACHE_CONFIG_DISK_CACHE_PATHS_FC 0x00000040 +#define CACHE_CONFIG_SYNC_MODE_FC 0x00000080 +#define CACHE_CONFIG_CONTENT_PATHS_FC 0x00000100 +#define CACHE_CONFIG_COOKIES_PATHS_FC 0x00000200 +#define CACHE_CONFIG_HISTORY_PATHS_FC 0x00000400 +#define CACHE_CONFIG_QUOTA_FC 0x00000800 +#define CACHE_CONFIG_USER_MODE_FC 0x00001000 +#define CACHE_CONFIG_CONTENT_USAGE_FC 0x00002000 +#define CACHE_CONFIG_STICKY_CONTENT_USAGE_FC 0x00004000 + +#ifdef __cplusplus +extern "C" { +#endif + +DWORD WINAPI DeleteIE3Cache(HWND,HINSTANCE,LPSTR,int); +BOOL WINAPI GetDiskInfoA(PCSTR,PDWORD,PDWORDLONG,PDWORDLONG); +BOOL WINAPI GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,LPDWORD,DWORD); +BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,LPDWORD,DWORD); +#define GetUrlCacheConfigInfo WINELIB_NAME_AW(GetUrlCacheConfigInfo) +BOOL WINAPI IncrementUrlCacheHeaderData(DWORD,LPDWORD); +BOOL WINAPI InternetQueryFortezzaStatus(DWORD*,DWORD_PTR); +BOOL WINAPI IsUrlCacheEntryExpiredA(LPCSTR,DWORD,FILETIME*); +BOOL WINAPI IsUrlCacheEntryExpiredW(LPCWSTR,DWORD,FILETIME*); +#define IsUrlCacheEntryExpired WINELIB_NAME_AW(IsUrlCacheEntryExpired) +BOOL WINAPI SetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,DWORD); +BOOL WINAPI SetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,DWORD); +#define SetUrlCacheConfigInfo WINELIB_NAME_AW(SetUrlCacheConfigInfo) +BOOL WINAPI InternetGetSecurityInfoByURLA(LPSTR,PCCERT_CHAIN_CONTEXT*,DWORD*); +BOOL WINAPI InternetGetSecurityInfoByURLW(LPCWSTR,PCCERT_CHAIN_CONTEXT*,DWORD*); +#define InternetGetSecurityInfoByURL WINELIB_NAME_AW(InternetGetSecurityInfoByURL) + +#ifdef __cplusplus +} +#endif + +#endif /* _WINE_WININETI_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winioctl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winioctl.h new file mode 100644 index 0000000..269f771 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winioctl.h @@ -0,0 +1,485 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINIOCTL_H +#define __WINE_WINIOCTL_H + +#define CTL_CODE( DeviceType, Function, Method, Access ) ( \ + (DWORD)((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \ +) + +#define DEVICE_TYPE DWORD + +#define FILE_DEVICE_BEEP 0x00000001 +#define FILE_DEVICE_CD_ROM 0x00000002 +#define FILE_DEVICE_CD_ROM_FILE_SYSTEM 0x00000003 +#define FILE_DEVICE_CONTROLLER 0x00000004 +#define FILE_DEVICE_DATALINK 0x00000005 +#define FILE_DEVICE_DFS 0x00000006 +#define FILE_DEVICE_DISK 0x00000007 +#define FILE_DEVICE_DISK_FILE_SYSTEM 0x00000008 +#define FILE_DEVICE_FILE_SYSTEM 0x00000009 +#define FILE_DEVICE_INPORT_PORT 0x0000000a +#define FILE_DEVICE_KEYBOARD 0x0000000b +#define FILE_DEVICE_MAILSLOT 0x0000000c +#define FILE_DEVICE_MIDI_IN 0x0000000d +#define FILE_DEVICE_MIDI_OUT 0x0000000e +#define FILE_DEVICE_MOUSE 0x0000000f +#define FILE_DEVICE_MULTI_UNC_PROVIDER 0x00000010 +#define FILE_DEVICE_NAMED_PIPE 0x00000011 +#define FILE_DEVICE_NETWORK 0x00000012 +#define FILE_DEVICE_NETWORK_BROWSER 0x00000013 +#define FILE_DEVICE_NETWORK_FILE_SYSTEM 0x00000014 +#define FILE_DEVICE_NULL 0x00000015 +#define FILE_DEVICE_PARALLEL_PORT 0x00000016 +#define FILE_DEVICE_PHYSICAL_NETCARD 0x00000017 +#define FILE_DEVICE_PRINTER 0x00000018 +#define FILE_DEVICE_SCANNER 0x00000019 +#define FILE_DEVICE_SERIAL_MOUSE_PORT 0x0000001a +#define FILE_DEVICE_SERIAL_PORT 0x0000001b +#define FILE_DEVICE_SCREEN 0x0000001c +#define FILE_DEVICE_SOUND 0x0000001d +#define FILE_DEVICE_STREAMS 0x0000001e +#define FILE_DEVICE_TAPE 0x0000001f +#define FILE_DEVICE_TAPE_FILE_SYSTEM 0x00000020 +#define FILE_DEVICE_TRANSPORT 0x00000021 +#define FILE_DEVICE_UNKNOWN 0x00000022 +#define FILE_DEVICE_VIDEO 0x00000023 +#define FILE_DEVICE_VIRTUAL_DISK 0x00000024 +#define FILE_DEVICE_WAVE_IN 0x00000025 +#define FILE_DEVICE_WAVE_OUT 0x00000026 +#define FILE_DEVICE_8042_PORT 0x00000027 +#define FILE_DEVICE_NETWORK_REDIRECTOR 0x00000028 +#define FILE_DEVICE_BATTERY 0x00000029 +#define FILE_DEVICE_BUS_EXTENDER 0x0000002a +#define FILE_DEVICE_MODEM 0x0000002b +#define FILE_DEVICE_VDM 0x0000002c +#define FILE_DEVICE_MASS_STORAGE 0x0000002d +#define FILE_DEVICE_SMB 0x0000002e +#define FILE_DEVICE_KS 0x0000002f +#define FILE_DEVICE_CHANGER 0x00000030 +#define FILE_DEVICE_SMARTCARD 0x00000031 +#define FILE_DEVICE_ACPI 0x00000032 +#define FILE_DEVICE_DVD 0x00000033 +#define FILE_DEVICE_FULLSCREEN_VIDEO 0x00000034 +#define FILE_DEVICE_DFS_FILE_SYSTEM 0x00000035 +#define FILE_DEVICE_DFS_VOLUME 0x00000036 +#define FILE_DEVICE_SERENUM 0x00000037 +#define FILE_DEVICE_TERMSRV 0x00000038 +#define FILE_DEVICE_KSEC 0x00000039 + +#define METHOD_BUFFERED 0 +#define METHOD_IN_DIRECT 1 +#define METHOD_OUT_DIRECT 2 +#define METHOD_NEITHER 3 + +#define FILE_ANY_ACCESS 0 +#define FILE_SPECIAL_ACCESS 0 +#define FILE_READ_ACCESS FILE_READ_DATA /* file & pipe */ +#define FILE_WRITE_ACCESS FILE_WRITE_DATA /* file & pipe */ + +#define FSCTL_REQUEST_OPLOCK_LEVEL_1 CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 0, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_REQUEST_OPLOCK_LEVEL_2 CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 1, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_REQUEST_BATCH_OPLOCK CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_OPLOCK_BREAK_ACKNOWLEDGE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 3, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_OPBATCH_ACK_CLOSE_PENDING CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 4, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_OPLOCK_BREAK_NOTIFY CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 5, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_LOCK_VOLUME CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 6, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_UNLOCK_VOLUME CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 7, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_DISMOUNT_VOLUME CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 8, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_IS_VOLUME_MOUNTED CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 10, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_IS_PATHNAME_VALID CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 11, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_MARK_VOLUME_DIRTY CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 12, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_QUERY_RETRIEVAL_POINTERS CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 14, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_GET_COMPRESSION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 15, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_SET_COMPRESSION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 16, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA) +#define FSCTL_MARK_AS_SYSTEM_HIVE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 19, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_OPLOCK_BREAK_ACK_NO_2 CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 20, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_INVALIDATE_VOLUMES CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 21, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_QUERY_FAT_BPB CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 22, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_REQUEST_FILTER_OPLOCK CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 23, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_FILESYSTEM_GET_STATISTICS CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 24, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_GET_NTFS_VOLUME_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 25, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_GET_NTFS_FILE_RECORD CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 26, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_GET_VOLUME_BITMAP CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 27, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_GET_RETRIEVAL_POINTERS CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 28, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_MOVE_FILE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 29, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_IS_VOLUME_DIRTY CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 30, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_GET_HFS_INFORMATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 31, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_ALLOW_EXTENDED_DASD_IO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 32, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_READ_PROPERTY_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 33, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_WRITE_PROPERTY_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 34, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_FIND_FILES_BY_SID CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 35, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_DUMP_PROPERTY_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 37, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_SET_OBJECT_ID CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 38, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_GET_OBJECT_ID CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 39, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_DELETE_OBJECT_ID CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 40, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_SET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 41, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_GET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 42, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_DELETE_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 43, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_ENUM_USN_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 44, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_SECURITY_ID_CHECK CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 45, METHOD_NEITHER, FILE_READ_DATA) +#define FSCTL_READ_USN_JOURNAL CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 46, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_SET_OBJECT_ID_EXTENDED CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 47, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_CREATE_OR_GET_OBJECT_ID CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 48, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_SET_SPARSE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 49, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_SET_ZERO_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 50, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_QUERY_ALLOCATED_RANGES CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 51, METHOD_NEITHER, FILE_READ_DATA) +#define FSCTL_ENABLE_UPGRADE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 52, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_SET_ENCRYPTION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 53, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_ENCRYPTION_FSCTL_IO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 54, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_WRITE_RAW_ENCRYPTED CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 55, METHOD_NEITHER, FILE_SPECIAL_ACCESS) +#define FSCTL_READ_RAW_ENCRYPTED CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 56, METHOD_NEITHER, FILE_SPECIAL_ACCESS) +#define FSCTL_CREATE_USN_JOURNAL CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 57, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_READ_FILE_USN_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 58, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_WRITE_USN_CLOSE_RECORD CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 59, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_EXTEND_VOLUME CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 60, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_QUERY_USN_JOURNAL CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 61, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_DELETE_USN_JOURNAL CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 62, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_MARK_HANDLE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 63, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_SIS_COPYFILE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 64, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_SIS_LINK_FILES CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 65, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA) +#define FSCTL_HSM_MSG CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 66, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA) +#define FSCTL_HSM_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 68, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA) +#define FSCTL_RECALL_FILE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 69, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_READ_FROM_PLEX CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 71, METHOD_OUT_DIRECT,FILE_READ_DATA) +#define FSCTL_FILE_PREFETCH CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 72, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_MAKE_MEDIA_COMPATIBLE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 76, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_SET_DEFECT_MANAGEMENT CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 77, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_QUERY_SPARING_INFO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 78, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_QUERY_ON_DISK_VOLUME_INFO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 79, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_SET_VOLUME_COMPRESSION_STATE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 80, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_TXFS_MODIFY_RM CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 81, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_QUERY_RM_INFORMATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 82, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_TXFS_ROLLFORWARD_REDO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 84, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_ROLLFORWARD_UNDO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 85, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_START_RM CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 86, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_SHUTDOWN_RM CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 87, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_READ_BACKUP_INFORMATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 88, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_TXFS_WRITE_BACKUP_INFORMATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 89, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_CREATE_SECONDARY_RM CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 90, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_GET_METADATA_INFO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 91, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_TXFS_GET_TRANSACTED_VERSION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 92, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_TXFS_CREATE_MINIVERSION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 95, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_TXFS_TRANSACTION_ACTIVE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 99, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_SET_ZERO_ON_DEALLOCATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 101, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_SET_REPAIR CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 102, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_GET_REPAIR CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 103, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_WAIT_FOR_REPAIR CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 104, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_INITIATE_REPAIR CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 106, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_CSC_INTERNAL CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 107, METHOD_NEITHER, FILE_ANY_ACCESS) +#define FSCTL_SHRINK_VOLUME CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 108, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) +#define FSCTL_SET_SHORT_NAME_BEHAVIOR CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 109, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_DFSR_SET_GHOST_HANDLE_STATE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 110, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_TXFS_LIST_TRANSACTION_LOCKED_FILES CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 120, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_TXFS_LIST_TRANSACTIONS CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 121, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_QUERY_PAGEFILE_ENCRYPTION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 122, METHOD_BUFFERED, FILE_ANY_ACCESS) + +#define FSCTL_PIPE_ASSIGN_EVENT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_DISCONNECT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_LISTEN CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_PEEK CTL_CODE(FILE_DEVICE_NAMED_PIPE, 3, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_PIPE_QUERY_EVENT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_TRANSCEIVE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 5, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA) +#define FSCTL_PIPE_WAIT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_IMPERSONATE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_SET_CLIENT_PROCESS CTL_CODE(FILE_DEVICE_NAMED_PIPE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_QUERY_CLIENT_PROCESS CTL_CODE(FILE_DEVICE_NAMED_PIPE, 9, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define FSCTL_PIPE_INTERNAL_READ CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2045, METHOD_BUFFERED, FILE_READ_DATA) +#define FSCTL_PIPE_INTERNAL_WRITE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2046, METHOD_BUFFERED, FILE_WRITE_DATA) +#define FSCTL_PIPE_INTERNAL_TRANSCEIVE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2047, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA) +#define FSCTL_PIPE_INTERNAL_READ_OVFLOW CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2048, METHOD_BUFFERED, FILE_READ_DATA) + +#define IOCTL_STORAGE_BASE FILE_DEVICE_MASS_STORAGE +#define IOCTL_STORAGE_CHECK_VERIFY CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_CHECK_VERIFY2 CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_MEDIA_REMOVAL CTL_CODE(IOCTL_STORAGE_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_EJECT_MEDIA CTL_CODE(IOCTL_STORAGE_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_LOAD_MEDIA CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_LOAD_MEDIA2 CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_RESERVE CTL_CODE(IOCTL_STORAGE_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_RELEASE CTL_CODE(IOCTL_STORAGE_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_FIND_NEW_DEVICES CTL_CODE(IOCTL_STORAGE_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_EJECTION_CONTROL CTL_CODE(IOCTL_STORAGE_BASE, 0x0250, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_MCN_CONTROL CTL_CODE(IOCTL_STORAGE_BASE, 0x0251, METHOD_BUFFERED, FILE_ANY_ACCESS) + +#define IOCTL_STORAGE_GET_MEDIA_TYPES CTL_CODE(IOCTL_STORAGE_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER CTL_CODE(IOCTL_STORAGE_BASE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_GET_HOTPLUG_INFO CTL_CODE(IOCTL_STORAGE_BASE, 0x0305, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_STORAGE_SET_HOTPLUG_INFO CTL_CODE(IOCTL_STORAGE_BASE, 0x0306, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + +#define IOCTL_STORAGE_RESET_BUS CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_RESET_DEVICE CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_BREAK_RESERVATION CTL_CODE(IOCTL_STORAGE_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_PERSISTENT_RESERVE_IN CTL_CODE(IOCTL_STORAGE_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_STORAGE_PERSISTENT_RESERVE_OUT CTL_CODE(IOCTL_STORAGE_BASE, 0x0407, METHOD_BUFFERED, FILE_READ_ACCESS|FILE_WRITE_ACCESS) + +#define IOCTL_STORAGE_GET_DEVICE_NUMBER CTL_CODE(IOCTL_STORAGE_BASE, 0x0420, METHOD_BUFFERED, FILE_ANY_ACCESS) + +#define IOCTL_DISK_BASE FILE_DEVICE_DISK +#define IOCTL_DISK_GET_DRIVE_GEOMETRY CTL_CODE(IOCTL_DISK_BASE, 0x0000, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_GET_PARTITION_INFO CTL_CODE(IOCTL_DISK_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_SET_PARTITION_INFO CTL_CODE(IOCTL_DISK_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_GET_DRIVE_LAYOUT CTL_CODE(IOCTL_DISK_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_SET_DRIVE_LAYOUT CTL_CODE(IOCTL_DISK_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_VERIFY CTL_CODE(IOCTL_DISK_BASE, 0x0005, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_FORMAT_TRACKS CTL_CODE(IOCTL_DISK_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_REASSIGN_BLOCKS CTL_CODE(IOCTL_DISK_BASE, 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_PERFORMANCE CTL_CODE(IOCTL_DISK_BASE, 0x0008, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_IS_WRITABLE CTL_CODE(IOCTL_DISK_BASE, 0x0009, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_LOGGING CTL_CODE(IOCTL_DISK_BASE, 0x000a, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_FORMAT_TRACKS_EX CTL_CODE(IOCTL_DISK_BASE, 0x000b, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_HISTOGRAM_STRUCTURE CTL_CODE(IOCTL_DISK_BASE, 0x000c, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_HISTOGRAM_DATA CTL_CODE(IOCTL_DISK_BASE, 0x000d, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_HISTOGRAM_RESET CTL_CODE(IOCTL_DISK_BASE, 0x000e, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_REQUEST_STRUCTURE CTL_CODE(IOCTL_DISK_BASE, 0x000f, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_REQUEST_DATA CTL_CODE(IOCTL_DISK_BASE, 0x0010, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_DISK_CHECK_VERIFY CTL_CODE(IOCTL_DISK_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_MEDIA_REMOVAL CTL_CODE(IOCTL_DISK_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_EJECT_MEDIA CTL_CODE(IOCTL_DISK_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_LOAD_MEDIA CTL_CODE(IOCTL_DISK_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_RESERVE CTL_CODE(IOCTL_DISK_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_RELEASE CTL_CODE(IOCTL_DISK_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_FIND_NEW_DEVICES CTL_CODE(IOCTL_DISK_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DISK_GET_MEDIA_TYPES CTL_CODE(IOCTL_DISK_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS) + + +#define IOCTL_DISK_CONTROLLER_NUMBER CTL_CODE(IOCTL_DISK_BASE, 0x0011, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define SMART_GET_VERSION CTL_CODE(IOCTL_DISK_BASE, 0x0020, METHOD_BUFFERED, FILE_READ_ACCESS) +#define SMART_SEND_DRIVE_COMMAND CTL_CODE(IOCTL_DISK_BASE, 0x0021, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define SMART_RCV_DRIVE_DATA CTL_CODE(IOCTL_DISK_BASE, 0x0022, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_GET_DRIVE_GEOMETRY_EX CTL_CODE(IOCTL_DISK_BASE, 0x0028, METHOD_BUFFERED, FILE_ANY_ACCESS) + +#define IOCTL_VOLUME_BASE ((DWORD)'V') +#define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS CTL_CODE(IOCTL_VOLUME_BASE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS) + +#define IOCTL_SERIAL_LSRMST_INSERT CTL_CODE(FILE_DEVICE_SERIAL_PORT,31,METHOD_BUFFERED,FILE_ANY_ACCESS) + + +/* Return Codes... should these be the same as something somewhere? */ +#define PARTITION_ENTRY_UNUSED 0x00 /* Entry unused */ +#define PARTITION_FAT_12 0x01 /* 12-bit FAT entries */ +#define PARTITION_XENIX_1 0x02 /* Xenix */ +#define PARTITION_XENIX_2 0x03 /* Xenix */ +#define PARTITION_FAT_16 0x04 /* 16-bit FAT entries */ +#define PARTITION_EXTENDED 0x05 /* Extended partition entry */ +#define PARTITION_HUGE 0x06 /* Huge partition MS-DOS V4 */ +#define PARTITION_IFS 0x07 /* IFS Partition */ +#define PARTITION_FAT32 0x0B /* FAT32 */ +#define PARTITION_FAT32_XINT13 0x0C /* FAT32 using extended int13 services */ +#define PARTITION_XINT13 0x0E /* Win95 partition using extended int13 services */ +#define PARTITION_XINT13_EXTENDED 0x0F /* Same as type 5 but uses extended int13 services */ +#define PARTITION_PREP 0x41 /* PowerPC Reference Platform (PReP) Boot Partition */ +#define PARTITION_LDM 0x42 /* Logical Disk Manager partition */ +#define PARTITION_UNIX 0x63 /* Unix */ + +typedef enum _MEDIA_TYPE { + Unknown, F5_1Pt2_512, F3_1Pt44_512, F3_2Pt88_512, F3_20Pt8_512, F3_720_512, F5_360_512, + F5_320_512, F5_320_1024, F5_180_512, F5_160_512, RemovableMedia, FixedMedia, F3_120M_512, + F3_640_512, F5_640_512, F5_720_512, F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512, + F3_230Mb_512, F8_256_128 +} MEDIA_TYPE, *PMEDIA_TYPE; + +typedef struct _FORMAT_PARAMETERS { + MEDIA_TYPE MediaType; + DWORD StartCylinderNumber; + DWORD EndCylinderNumber; + DWORD StartHeadNumber; + DWORD EndHeadNumber; +} FORMAT_PARAMETERS, *PFORMAT_PARAMETERS; + +typedef WORD BAD_TRACK_NUMBER; +typedef WORD *PBAD_TRACK_NUMBER; + +typedef struct _FORMAT_EX_PARAMETERS { + MEDIA_TYPE MediaType; + DWORD StartCylinderNumber; + DWORD EndCylinderNumber; + DWORD StartHeadNumber; + DWORD EndHeadNumber; + WORD FormatGapLength; + WORD SectorsPerTrack; + WORD SectorNumber[1]; +} FORMAT_EX_PARAMETERS, *PFORMAT_EX_PARAMETERS; + +typedef struct _DISK_GEOMETRY { + LARGE_INTEGER Cylinders; + MEDIA_TYPE MediaType; + DWORD TracksPerCylinder; + DWORD SectorsPerTrack; + DWORD BytesPerSector; +} DISK_GEOMETRY, *PDISK_GEOMETRY; + +typedef struct _DISK_GEOMETRY_EX { + DISK_GEOMETRY Geometry; + LARGE_INTEGER DiskSize; + BYTE Data[1]; +} DISK_GEOMETRY_EX, *PDISK_GEOMETRY_EX; + +typedef struct _PARTITION_INFORMATION { + LARGE_INTEGER StartingOffset; + LARGE_INTEGER PartitionLength; + DWORD HiddenSectors; + DWORD PartitionNumber; + BYTE PartitionType; + BOOLEAN BootIndicator; + BOOLEAN RecognizedPartition; + BOOLEAN RewritePartition; +} PARTITION_INFORMATION, *PPARTITION_INFORMATION; + +typedef struct _SET_PARTITION_INFORMATION { + BYTE PartitionType; +} SET_PARTITION_INFORMATION, *PSET_PARTITION_INFORMATION; + +typedef struct _DRIVE_LAYOUT_INFORMATION { + DWORD PartitionCount; + DWORD Signature; + PARTITION_INFORMATION PartitionEntry[1]; +} DRIVE_LAYOUT_INFORMATION, *PDRIVE_LAYOUT_INFORMATION; + +typedef struct _VERIFY_INFORMATION { + LARGE_INTEGER StartingOffset; + DWORD Length; +} VERIFY_INFORMATION, *PVERIFY_INFORMATION; + +typedef struct _REASSIGN_BLOCKS { + WORD Reserved; + WORD Count; + DWORD BlockNumber[1]; +} REASSIGN_BLOCKS, *PREASSIGN_BLOCKS; + +/* Start: _WIN32_WINNT >= 0x0400 */ + +typedef struct _DISK_CONTROLLER_NUMBER { + DWORD ControllerNumber; + DWORD DiskNumber; +} DISK_CONTROLLER_NUMBER, *PDISK_CONTROLLER_NUMBER; + +/* VOLUME_GET_VOLUME_DISK_EXTENTS */ +typedef struct _DISK_EXTENT { + DWORD DiskNumber; + LARGE_INTEGER StartingOffset; + LARGE_INTEGER ExtentLength; +} DISK_EXTENT; + +typedef struct _VOLUME_DISK_EXTENTS { + DWORD NumberOfDiskExtents; + DISK_EXTENT Extents[1]; +} VOLUME_DISK_EXTENTS; + +typedef struct RETRIEVAL_POINTERS_BUFFER { + DWORD ExtentCount; + LARGE_INTEGER StartingVcn; + struct { + LARGE_INTEGER NextVcn; + LARGE_INTEGER Lcn; + } Extents[1]; +} RETRIEVAL_POINTERS_BUFFER, *PRETRIEVAL_POINTERS_BUFFER; + +/* End: _WIN32_WINNT >= 0x0400 */ + +/* + * NT I/O-Manager + */ + +/* + * structures for NtQueryVolumeInformationFile + * (wdm.h) + */ + +/* FileFsVolumeInformation = 1 */ +typedef struct _FILE_FS_VOLUME_INFORMATION { + LARGE_INTEGER VolumeCreationTime; + ULONG VolumeSerialNumber; + ULONG VolumeLabelLength; + BOOLEAN SupportsObjects; + WCHAR VolumeLabel[1]; +} FILE_FS_VOLUME_INFORMATION, *PFILE_FS_VOLUME_INFORMATION; + +/* FileFsLabelInformation = 2 */ +/* + unknown +*/ + +/* FileFsSizeInformation = 3 */ +typedef struct _FILE_FS_SIZE_INFORMATION { + LARGE_INTEGER TotalAllocationUnits; + LARGE_INTEGER AvailableAllocationUnits; + ULONG SectorsPerAllocationUnit; + ULONG BytesPerSector; +} FILE_FS_SIZE_INFORMATION, *PFILE_FS_SIZE_INFORMATION; + +/* FileFsDeviceInformation = 4 */ +typedef struct _FILE_FS_DEVICE_INFORMATION { + DEVICE_TYPE DeviceType; + ULONG Characteristics; +} FILE_FS_DEVICE_INFORMATION, *PFILE_FS_DEVICE_INFORMATION; + +/* FileFsAttributeInformation = 5 */ +typedef struct _FILE_FS_ATTRIBUTE_INFORMATION { + ULONG FileSystemAttribute; + LONG MaximumComponentNameLength; + ULONG FileSystemNameLength; + WCHAR FileSystemName[1]; +} FILE_FS_ATTRIBUTE_INFORMATION, *PFILE_FS_ATTRIBUTE_INFORMATION; + +/*FileFsControlInformation = 6 */ +/* + unknown + */ + +/*FileFsFullSizeInformation = 7 */ +typedef struct _FILE_FS_FULL_SIZE_INFORMATION { + LARGE_INTEGER TotalAllocationUnits; + LARGE_INTEGER CallerAvailableAllocationUnits; + LARGE_INTEGER ActualAvailableAllocationUnits; + ULONG SectorsPerAllocationUnit; + ULONG BytesPerSector; +} FILE_FS_FULL_SIZE_INFORMATION, *PFILE_FS_FULL_SIZE_INFORMATION; + +typedef struct _FILE_PIPE_WAIT_FOR_BUFFER { + LARGE_INTEGER Timeout; + ULONG NameLength; + BOOLEAN TimeoutSpecified; + WCHAR Name[1]; +} FILE_PIPE_WAIT_FOR_BUFFER, *PFILE_PIPE_WAIT_FOR_BUFFER; + +typedef struct _FILE_PIPE_PEEK_BUFFER { + ULONG NamedPipeState; + ULONG ReadDataAvailable; + ULONG NumberOfMessages; + ULONG MessageLength; + CHAR Data[1]; +} FILE_PIPE_PEEK_BUFFER, *PFILE_PIPE_PEEK_BUFFER; + +/* Device GUIDs */ +#ifdef DEFINE_GUID + +DEFINE_GUID(GUID_DEVINTERFACE_COMPORT, 0x86E0D1E0, 0x8089, + 0x11D0, 0x9C, 0xE4, 0x08, 0x00, 0x3E, 0x30, 0x1F, 0x73); +DEFINE_GUID(GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR, 0x4D36E978, 0xE325, + 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18); + +/* obsolete GUID names */ +#define GUID_CLASS_COMPORT GUID_DEVINTERFACE_COMPORT +#define GUID_SERENUM_BUS_ENUMERATOR GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR + +#endif /* DEFINE_GUID */ + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winldap.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winldap.h new file mode 100644 index 0000000..2014e06 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winldap.h @@ -0,0 +1,644 @@ +/* + * Copyright 2005 Hans Leidekker + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINLDAP_H +#define __WINE_WINLDAP_H + +#include +#include + +#ifndef LDAPAPI +#define LDAPAPI __cdecl +#endif + + +typedef enum { + LDAP_SUCCESS = 0x00, + LDAP_OPERATIONS_ERROR = 0x01, + LDAP_PROTOCOL_ERROR = 0x02, + LDAP_TIMELIMIT_EXCEEDED = 0x03, + LDAP_SIZELIMIT_EXCEEDED = 0x04, + LDAP_COMPARE_FALSE = 0x05, + LDAP_COMPARE_TRUE = 0x06, + LDAP_AUTH_METHOD_NOT_SUPPORTED = 0x07, + LDAP_STRONG_AUTH_REQUIRED = 0x08, + LDAP_REFERRAL_V2 = 0x09, + LDAP_PARTIAL_RESULTS = 0x09, + LDAP_REFERRAL = 0x0a, + LDAP_ADMIN_LIMIT_EXCEEDED = 0x0b, + LDAP_UNAVAILABLE_CRIT_EXTENSION = 0x0c, + LDAP_CONFIDENTIALITY_REQUIRED = 0x0d, + LDAP_SASL_BIND_IN_PROGRESS = 0x0e, + + LDAP_NO_SUCH_ATTRIBUTE = 0x10, + LDAP_UNDEFINED_TYPE = 0x11, + LDAP_INAPPROPRIATE_MATCHING = 0x12, + LDAP_CONSTRAINT_VIOLATION = 0x13, + LDAP_ATTRIBUTE_OR_VALUE_EXISTS = 0x14, + LDAP_INVALID_SYNTAX = 0x15, + + LDAP_NO_SUCH_OBJECT = 0x20, + LDAP_ALIAS_PROBLEM = 0x21, + LDAP_INVALID_DN_SYNTAX = 0x22, + LDAP_IS_LEAF = 0x23, + LDAP_ALIAS_DEREF_PROBLEM = 0x24, + + LDAP_INAPPROPRIATE_AUTH = 0x30, + LDAP_INVALID_CREDENTIALS = 0x31, + LDAP_INSUFFICIENT_RIGHTS = 0x32, + LDAP_BUSY = 0x33, + LDAP_UNAVAILABLE = 0x34, + LDAP_UNWILLING_TO_PERFORM = 0x35, + LDAP_LOOP_DETECT = 0x36, + LDAP_SORT_CONTROL_MISSING = 0x3C, + LDAP_OFFSET_RANGE_ERROR = 0x3D, + + LDAP_NAMING_VIOLATION = 0x40, + LDAP_OBJECT_CLASS_VIOLATION = 0x41, + LDAP_NOT_ALLOWED_ON_NONLEAF = 0x42, + LDAP_NOT_ALLOWED_ON_RDN = 0x43, + LDAP_ALREADY_EXISTS = 0x44, + LDAP_NO_OBJECT_CLASS_MODS = 0x45, + LDAP_RESULTS_TOO_LARGE = 0x46, + LDAP_AFFECTS_MULTIPLE_DSAS = 0x47, + + LDAP_VIRTUAL_LIST_VIEW_ERROR = 0x4c, + + LDAP_OTHER = 0x50, + LDAP_SERVER_DOWN = 0x51, + LDAP_LOCAL_ERROR = 0x52, + LDAP_ENCODING_ERROR = 0x53, + LDAP_DECODING_ERROR = 0x54, + LDAP_TIMEOUT = 0x55, + LDAP_AUTH_UNKNOWN = 0x56, + LDAP_FILTER_ERROR = 0x57, + LDAP_USER_CANCELLED = 0x58, + LDAP_PARAM_ERROR = 0x59, + LDAP_NO_MEMORY = 0x5a, + LDAP_CONNECT_ERROR = 0x5b, + LDAP_NOT_SUPPORTED = 0x5c, + LDAP_CONTROL_NOT_FOUND = 0x5d, + LDAP_NO_RESULTS_RETURNED = 0x5e, + LDAP_MORE_RESULTS_TO_RETURN = 0x5f, + + LDAP_CLIENT_LOOP = 0x60, + LDAP_REFERRAL_LIMIT_EXCEEDED = 0x61 +} LDAP_RETCODE; + +#define LDAP_SCOPE_BASE 0x00 +#define LDAP_SCOPE_ONELEVEL 0x01 +#define LDAP_SCOPE_SUBTREE 0x02 + +typedef struct berelement +{ + PCHAR opaque; +} BerElement; + +#define LDAP_OPT_API_INFO 0x00 +#define LDAP_OPT_DESC 0x01 +#define LDAP_OPT_DEREF 0x02 +#define LDAP_OPT_SIZELIMIT 0x03 +#define LDAP_OPT_TIMELIMIT 0x04 +#define LDAP_OPT_THREAD_FN_PTRS 0x05 +#define LDAP_OPT_REBIND_FN 0x06 +#define LDAP_OPT_REBIND_ARG 0x07 +#define LDAP_OPT_REFERRALS 0x08 +#define LDAP_OPT_RESTART 0x09 +#define LDAP_OPT_SSL 0x0a +#define LDAP_OPT_IO_FN_PTRS 0x0b +#define LDAP_OPT_CACHE_FN_PTRS 0x0d +#define LDAP_OPT_CACHE_STRATEGY 0x0e +#define LDAP_OPT_CACHE_ENABLE 0x0f +#define LDAP_OPT_REFERRAL_HOP_LIMIT 0x10 +#define LDAP_OPT_PROTOCOL_VERSION 0x11 +#define LDAP_OPT_VERSION 0x11 +#define LDAP_OPT_API_FEATURE_INFO 0x15 +#define LDAP_OPT_HOST_NAME 0x30 +#define LDAP_OPT_ERROR_NUMBER 0x31 +#define LDAP_OPT_ERROR_STRING 0x32 +#define LDAP_OPT_SERVER_ERROR 0x33 +#define LDAP_OPT_SERVER_EXT_ERROR 0x34 +#define LDAP_OPT_PING_KEEP_ALIVE 0x36 +#define LDAP_OPT_PING_WAIT_TIME 0x37 +#define LDAP_OPT_PING_LIMIT 0x38 +#define LDAP_OPT_DNSDOMAIN_NAME 0x3b +#define LDAP_OPT_GETDSNAME_FLAGS 0x3d +#define LDAP_OPT_HOST_REACHABLE 0x3e +#define LDAP_OPT_PROMPT_CREDENTIALS 0x3f +#define LDAP_OPT_TCP_KEEPALIVE 0x40 +#define LDAP_OPT_FAST_CONCURRENT_BIND 0x41 +#define LDAP_OPT_SEND_TIMEOUT 0x42 +#define LDAP_OPT_REFERRAL_CALLBACK 0x70 +#define LDAP_OPT_CLIENT_CERTIFICATE 0x80 +#define LDAP_OPT_SERVER_CERTIFICATE 0x81 +#define LDAP_OPT_AUTO_RECONNECT 0x91 +#define LDAP_OPT_SSPI_FLAGS 0x92 +#define LDAP_OPT_SSL_INFO 0x93 +#define LDAP_OPT_REF_DEREF_CONN_PER_MSG 0x94 +#define LDAP_OPT_TLS LDAP_OPT_SSL +#define LDAP_OPT_TLS_INFO LDAP_OPT_SSL_INFO +#define LDAP_OPT_SIGN 0x95 +#define LDAP_OPT_ENCRYPT 0x96 +#define LDAP_OPT_SASL_METHOD 0x97 +#define LDAP_OPT_AREC_EXCLUSIVE 0x98 +#define LDAP_OPT_SECURITY_CONTEXT 0x99 +#define LDAP_OPT_ROOTDSE_CACHE 0x9a + +#define LDAP_OPT_ON ((void *)1) +#define LDAP_OPT_OFF ((void *)0) + +#define LDAP_VERSION1 1 +#define LDAP_VERSION2 2 +#define LDAP_VERSION3 3 +#define LDAP_VERSION LDAP_VERSION2 + +#define LDAP_MSG_ONE 0 +#define LDAP_MSG_ALL 1 +#define LDAP_MSG_RECEIVED 2 + +#define LDAP_RES_BIND 0x61 +#define LDAP_RES_SEARCH_ENTRY 0x64 +#define LDAP_RES_SEARCH_RESULT 0x65 +#define LDAP_RES_MODIFY 0x67 +#define LDAP_RES_ADD 0x69 +#define LDAP_RES_DELETE 0x6b +#define LDAP_RES_MODRDN 0x6d +#define LDAP_RES_COMPARE 0x6f +#define LDAP_RES_SESSION 0x72 +#define LDAP_RES_REFERRAL 0x73 +#define LDAP_RES_EXTENDED 0x78 +#define LDAP_RES_ANY (-1) + +typedef struct ldap +{ + struct + { + UINT_PTR sb_sd; + UCHAR Reserved1[41]; + ULONG_PTR sb_naddr; + UCHAR Reserved2[24]; + } ld_sb; + + PCHAR ld_host; + ULONG ld_version; + UCHAR ld_lberoptions; + ULONG ld_deref; + ULONG ld_timelimit; + ULONG ld_sizelimit; + ULONG ld_errno; + PCHAR ld_matched; + PCHAR ld_error; + ULONG ld_msgid; + UCHAR Reserved3[25]; + ULONG ld_cldaptries; + ULONG ld_cldaptimeout; + ULONG ld_refhoplimit; + ULONG ld_options; +} LDAP, *PLDAP; + +#define LDAP_MOD_ADD 0x00 +#define LDAP_MOD_DELETE 0x01 +#define LDAP_MOD_REPLACE 0x02 +#define LDAP_MOD_BVALUES 0x80 + +typedef struct ldapmodA { + ULONG mod_op; + PCHAR mod_type; + union { + PCHAR *modv_strvals; + struct berval **modv_bvals; + } mod_vals; +} LDAPModA, *PLDAPModA; + +typedef struct ldapmodW { + ULONG mod_op; + PWCHAR mod_type; + union { + PWCHAR *modv_strvals; + struct berval **modv_bvals; + } mod_vals; +} LDAPModW, *PLDAPModW; + +DECL_WINELIB_TYPE_AW(LDAPMod) +DECL_WINELIB_TYPE_AW(PLDAPMod) + +typedef struct l_timeval +{ + LONG tv_sec; + LONG tv_usec; +} LDAP_TIMEVAL, *PLDAP_TIMEVAL; + +typedef struct ldapmsg +{ + ULONG lm_msgid; + ULONG lm_msgtype; + + PVOID lm_ber; + + struct ldapmsg *lm_chain; + struct ldapmsg *lm_next; + ULONG lm_time; + + PLDAP Connection; + PVOID Request; + ULONG lm_returncode; + USHORT lm_referral; + BOOLEAN lm_chased; + BOOLEAN lm_eom; + BOOLEAN ConnectionReferenced; +} LDAPMessage, *PLDAPMessage; + +#define LAPI_MAJOR_VER1 1 +#define LAPI_MINOR_VER1 1 + +typedef struct ldap_version_info +{ + ULONG lv_size; + ULONG lv_major; + ULONG lv_minor; +} LDAP_VERSION_INFO, *PLDAP_VERSION_INFO; + +typedef struct berval +{ + ULONG bv_len; + PCHAR bv_val; +} LDAP_BERVAL, *PLDAP_BERVAL, BERVAL, *PBERVAL, BerValue; + +typedef struct ldapcontrolA +{ + PCHAR ldctl_oid; + struct berval ldctl_value; + BOOLEAN ldctl_iscritical; +} LDAPControlA, *PLDAPControlA; + +typedef struct ldapcontrolW +{ + PWCHAR ldctl_oid; + struct berval ldctl_value; + BOOLEAN ldctl_iscritical; +} LDAPControlW, *PLDAPControlW; + +DECL_WINELIB_TYPE_AW(LDAPControl) +DECL_WINELIB_TYPE_AW(PLDAPControl) + +typedef struct ldapvlvinfo +{ + int ldvlv_version; + ULONG ldvlv_before_count; + ULONG ldvlv_after_count; + ULONG ldvlv_offset; + ULONG ldvlv_count; + PBERVAL ldvlv_attrvalue; + PBERVAL ldvlv_context; + VOID *ldvlv_extradata; +} LDAPVLVInfo, *PLDAPVLVInfo; + +typedef struct ldapsearch LDAPSearch, *PLDAPSearch; + +typedef struct ldapsortkeyA +{ + PCHAR sk_attrtype; + PCHAR sk_matchruleoid; + BOOLEAN sk_reverseorder; +} LDAPSortKeyA, *PLDAPSortKeyA; + +typedef struct ldapsortkeyW +{ + PWCHAR sk_attrtype; + PWCHAR sk_matchruleoid; + BOOLEAN sk_reverseorder; +} LDAPSortKeyW, *PLDAPSortKeyW; + +DECL_WINELIB_TYPE_AW(LDAPSortKey) +DECL_WINELIB_TYPE_AW(PLDAPSortKey) + +#define LDAP_API_INFO_VERSION 1 + +typedef struct ldapapiinfoA +{ + int ldapai_info_version; + int ldapai_api_version; + int ldapai_protocol_version; + char **ldapai_extensions; + char *ldapai_vendor_name; + int ldapai_vendor_version; +} LDAPAPIInfoA; + +typedef struct ldapapiinfoW +{ + int ldapai_info_version; + int ldapai_api_version; + int ldapai_protocol_version; + PWCHAR *ldapai_extensions; + PWCHAR ldapai_vendor_name; + int ldapai_vendor_version; +} LDAPAPIInfoW; + +DECL_WINELIB_TYPE_AW(LDAPAPIInfo) + +#define LDAP_FEATURE_INFO_VERSION 1 + +typedef struct ldap_apifeature_infoA +{ + int ldapaif_info_version; + char *ldapaif_name; + int ldapaif_version; +} LDAPAPIFeatureInfoA; + +typedef struct ldap_apifeature_infoW +{ + int ldapaif_info_version; + PWCHAR ldapaif_name; + int ldapaif_version; +} LDAPAPIFeatureInfoW; + +DECL_WINELIB_TYPE_AW(LDAPAPIFeatureInfo) + + +#ifdef __cplusplus +extern "C" { +#endif + +LDAP * CDECL cldap_openA(PCHAR,ULONG); +LDAP * CDECL cldap_openW(PWCHAR,ULONG); +#define cldap_open WINELIB_NAME_AW(cldap_open) +ULONG CDECL ldap_abandon(LDAP*,ULONG); +ULONG CDECL ldap_addA(LDAP*,PCHAR,LDAPModA*[]); +ULONG CDECL ldap_addW(LDAP*,PWCHAR,LDAPModW*[]); +#define ldap_add WINELIB_NAME_AW(ldap_add) +ULONG CDECL ldap_add_extA(LDAP*,PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*,ULONG*); +ULONG CDECL ldap_add_extW(LDAP*,PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*,ULONG*); +#define ldap_add_ext WINELIB_NAME_AW(ldap_add_ext) +ULONG CDECL ldap_add_ext_sA(LDAP*,PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*); +ULONG CDECL ldap_add_ext_sW(LDAP*,PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*); +#define ldap_add_ext_s WINELIB_NAME_AW(ldap_add_ext_s) +ULONG CDECL ldap_add_sA(LDAP*,PCHAR,LDAPModA*[]); +ULONG CDECL ldap_add_sW(LDAP*,PWCHAR,LDAPModW*[]); +#define ldap_add_s WINELIB_NAME_AW(ldap_add_s) +ULONG CDECL ldap_bindA(LDAP*,PCHAR,PCHAR,ULONG); +ULONG CDECL ldap_bindW(LDAP*,PWCHAR,PWCHAR,ULONG); +#define ldap_bind WINELIB_NAME_AW(ldap_bind) +ULONG CDECL ldap_bind_sA(LDAP*,PCHAR,PCHAR,ULONG); +ULONG CDECL ldap_bind_sW(LDAP*,PWCHAR,PWCHAR,ULONG); +#define ldap_bind_s WINELIB_NAME_AW(ldap_bind_s) +ULONG CDECL ldap_check_filterA(LDAP*,PCHAR); +ULONG CDECL ldap_check_filterW(LDAP*,PWCHAR); +#define ldap_check_filter WINELIB_NAME_AW(ldap_check_filter) +ULONG CDECL ldap_cleanup(HANDLE); +ULONG CDECL ldap_close_extended_op(LDAP*,ULONG); +LDAP* CDECL ldap_conn_from_msg(LDAP*,LDAPMessage*); +ULONG CDECL ldap_compareA(LDAP*,PCHAR,PCHAR,PCHAR); +ULONG CDECL ldap_compareW(LDAP*,PWCHAR,PWCHAR,PWCHAR); +#define ldap_compare WINELIB_NAME_AW(ldap_compare) +ULONG CDECL ldap_compare_extA(LDAP*,PCHAR,PCHAR,PCHAR,struct berval*,PLDAPControlA*,PLDAPControlA*,ULONG*); +ULONG CDECL ldap_compare_extW(LDAP*,PWCHAR,PWCHAR,PWCHAR,struct berval*,PLDAPControlW*,PLDAPControlW*,ULONG*); +#define ldap_compare_ext WINELIB_NAME_AW(ldap_compare_ext) +ULONG CDECL ldap_compare_ext_sA(LDAP*,PCHAR,PCHAR,PCHAR,struct berval*,PLDAPControlA*,PLDAPControlA*); +ULONG CDECL ldap_compare_ext_sW(LDAP*,PWCHAR,PWCHAR,PWCHAR,struct berval*,PLDAPControlW*,PLDAPControlW*); +#define ldap_compare_ext_s WINELIB_NAME_AW(ldap_compare_ext_s) +ULONG CDECL ldap_compare_sA(LDAP*,PCHAR,PCHAR,PCHAR); +ULONG CDECL ldap_compare_sW(LDAP*,PWCHAR,PWCHAR,PWCHAR); +#define ldap_compare_s WINELIB_NAME_AW(ldap_compare_s) +ULONG CDECL ldap_connect(LDAP*,struct l_timeval*); +ULONG CDECL ldap_control_freeA(LDAPControlA*); +ULONG CDECL ldap_control_freeW(LDAPControlW*); +#define ldap_control_free WINELIB_NAME_AW(ldap_control_free) +ULONG CDECL ldap_controls_freeA(LDAPControlA**); +ULONG CDECL ldap_controls_freeW(LDAPControlW**); +#define ldap_controls_free WINELIB_NAME_AW(ldap_controls_free) +ULONG CDECL ldap_count_entries(LDAP*,LDAPMessage*); +ULONG CDECL ldap_count_references(LDAP*,LDAPMessage*); +ULONG CDECL ldap_count_values_len(struct berval**); +ULONG CDECL ldap_count_valuesA(PCHAR*); +ULONG CDECL ldap_count_valuesW(PWCHAR*); +#define ldap_count_values WINELIB_NAME_AW(ldap_count_values) +ULONG CDECL ldap_create_page_controlA(PLDAP,ULONG,struct berval*,UCHAR,PLDAPControlA*); +ULONG CDECL ldap_create_page_controlW(PLDAP,ULONG,struct berval*,UCHAR,PLDAPControlW*); +#define ldap_create_page_control WINELIB_NAME_AW(ldap_create_page_control) +ULONG CDECL ldap_create_sort_controlA(PLDAP,PLDAPSortKeyA*,UCHAR,PLDAPControlA*); +ULONG CDECL ldap_create_sort_controlW(PLDAP,PLDAPSortKeyW*,UCHAR,PLDAPControlW*); +#define ldap_create_sort_control WINELIB_NAME_AW(ldap_create_sort_control) +INT CDECL ldap_create_vlv_controlA(PLDAP,PLDAPVLVInfo,UCHAR,PLDAPControlA*); +INT CDECL ldap_create_vlv_controlW(PLDAP,PLDAPVLVInfo,UCHAR,PLDAPControlW*); +#define ldap_create_vlv_control WINELIB_NAME_AW(ldap_create_vlv_control) +ULONG CDECL ldap_deleteA(LDAP*,PCHAR); +ULONG CDECL ldap_deleteW(LDAP*,PWCHAR); +#define ldap_delete WINELIB_NAME_AW(ldap_delete) +ULONG CDECL ldap_delete_extA(LDAP*,PCHAR,PLDAPControlA*,PLDAPControlA*,ULONG*); +ULONG CDECL ldap_delete_extW(LDAP*,PWCHAR,PLDAPControlW*,PLDAPControlW*,ULONG*); +#define ldap_delete_ext WINELIB_NAME_AW(ldap_delete_ext) +ULONG CDECL ldap_delete_ext_sA(LDAP*,PCHAR,PLDAPControlA*,PLDAPControlA*); +ULONG CDECL ldap_delete_ext_sW(LDAP*,PWCHAR,PLDAPControlW*,PLDAPControlW*); +#define ldap_delete_ext_s WINELIB_NAME_AW(ldap_delete_ext_s) +ULONG CDECL ldap_delete_sA(LDAP*,PCHAR); +ULONG CDECL ldap_delete_sW(LDAP*,PWCHAR); +#define ldap_delete_s WINELIB_NAME_AW(ldap_delete_s) +PCHAR CDECL ldap_dn2ufnA(PCHAR); +PWCHAR CDECL ldap_dn2ufnW(PWCHAR); +#define ldap_dn2ufn WINELIB_NAME_AW(ldap_dn2ufn) +ULONG CDECL ldap_encode_sort_controlA(PLDAP,PLDAPSortKeyA*,PLDAPControlA,BOOLEAN); +ULONG CDECL ldap_encode_sort_controlW(PLDAP,PLDAPSortKeyW*,PLDAPControlW,BOOLEAN); +#define ldap_encode_sort_control WINELIB_NAME_AW(ldap_encode_sort_control) +PCHAR CDECL ldap_err2stringA(ULONG); +PWCHAR CDECL ldap_err2stringW(ULONG); +#define ldap_err2string WINELIB_NAME_AW(ldap_err2string) +ULONG CDECL ldap_escape_filter_elementA(PCHAR,ULONG,PCHAR,ULONG); +ULONG CDECL ldap_escape_filter_elementW(PCHAR,ULONG,PWCHAR,ULONG); +#define ldap_escape_filter_element WINELIB_NAME_AW(ldap_escape_filter_element) +PCHAR* CDECL ldap_explode_dnA(PCHAR,ULONG); +PWCHAR* CDECL ldap_explode_dnW(PWCHAR,ULONG); +#define ldap_explode_dn WINELIB_NAME_AW(ldap_explode_dn) +ULONG CDECL ldap_extended_operationA(LDAP*,PCHAR,struct berval*,PLDAPControlA*,PLDAPControlA*,ULONG*); +ULONG CDECL ldap_extended_operationW(LDAP*,PWCHAR,struct berval*,PLDAPControlW*,PLDAPControlW*,ULONG*); +#define ldap_extended_operation WINELIB_NAME_AW(ldap_extended_operation) +ULONG CDECL ldap_extended_operation_sA(LDAP*,PCHAR,struct berval*,PLDAPControlA*,PLDAPControlA*,PCHAR*,struct berval**); +ULONG CDECL ldap_extended_operation_sW(LDAP*,PWCHAR,struct berval*,PLDAPControlW*,PLDAPControlW*,PWCHAR*,struct berval**); +#define ldap_extended_operation_s WINELIB_NAME_AW(ldap_extended_operation_s) +PCHAR CDECL ldap_first_attributeA(LDAP*,LDAPMessage*,BerElement**); +PWCHAR CDECL ldap_first_attributeW(LDAP*,LDAPMessage*,BerElement**); +#define ldap_first_attribute WINELIB_NAME_AW(ldap_first_attribute) +LDAPMessage* CDECL ldap_first_entry(LDAP*,LDAPMessage*); +LDAPMessage* CDECL ldap_first_reference(LDAP*,LDAPMessage*); +ULONG CDECL ldap_free_controlsA(LDAPControlA**); +ULONG CDECL ldap_free_controlsW(LDAPControlW**); +#define ldap_free_controls WINELIB_NAME_AW(ldap_free_controls) +PCHAR CDECL ldap_get_dnA(LDAP*,LDAPMessage*); +PWCHAR CDECL ldap_get_dnW(LDAP*,LDAPMessage*); +#define ldap_get_dn WINELIB_NAME_AW(ldap_get_dn) +ULONG CDECL ldap_get_next_page(PLDAP,PLDAPSearch,ULONG,ULONG*); +ULONG CDECL ldap_get_next_page_s(PLDAP,PLDAPSearch,struct l_timeval*,ULONG,ULONG*,LDAPMessage**); +ULONG CDECL ldap_get_optionA(LDAP*,int,void*); +ULONG CDECL ldap_get_optionW(LDAP*,int,void*); +#define ldap_get_option WINELIB_NAME_AW(ldap_get_option) +ULONG CDECL ldap_get_paged_count(LDAP*,PLDAPSearch,ULONG*,LDAPMessage*); +PCHAR* CDECL ldap_get_valuesA(LDAP*,LDAPMessage*,PCHAR); +PWCHAR* CDECL ldap_get_valuesW(LDAP*,LDAPMessage*,PWCHAR); +#define ldap_get_values WINELIB_NAME_AW(ldap_get_values) +struct berval ** CDECL ldap_get_values_lenA(LDAP*,LDAPMessage*,PCHAR); +struct berval ** CDECL ldap_get_values_lenW(LDAP*,LDAPMessage*,PWCHAR); +#define ldap_get_values_len WINELIB_NAME_AW(ldap_get_values_len) +LDAP* CDECL ldap_initA(const PCHAR,ULONG); +LDAP* CDECL ldap_initW(const PWCHAR,ULONG); +#define ldap_init WINELIB_NAME_AW(ldap_init) +VOID CDECL ldap_memfreeA(PCHAR); +VOID CDECL ldap_memfreeW(PWCHAR); +#define ldap_memfree WINELIB_NAME_AW(ldap_memfree) +ULONG CDECL ldap_modifyA(LDAP*,PCHAR,LDAPModA*[]); +ULONG CDECL ldap_modifyW(LDAP*,PWCHAR,LDAPModW*[]); +#define ldap_modify WINELIB_NAME_AW(ldap_modify) +ULONG CDECL ldap_modify_extA(LDAP*,PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*,ULONG*); +ULONG CDECL ldap_modify_extW(LDAP*,PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*,ULONG*); +#define ldap_modify_ext WINELIB_NAME_AW(ldap_modify_ext) +ULONG CDECL ldap_modify_ext_sA(LDAP*,PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*); +ULONG CDECL ldap_modify_ext_sW(LDAP*,PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*); +#define ldap_modify_ext_s WINELIB_NAME_AW(ldap_modify_ext_s) +ULONG CDECL ldap_modify_sA(LDAP*,PCHAR,LDAPModA*[]); +ULONG CDECL ldap_modify_sW(LDAP*,PWCHAR,LDAPModW*[]); +#define ldap_modify_s WINELIB_NAME_AW(ldap_modify_s) +ULONG CDECL ldap_modrdnA(LDAP*,PCHAR,PCHAR); +ULONG CDECL ldap_modrdnW(LDAP*,PWCHAR,PWCHAR); +#define ldap_modrdn WINELIB_NAME_AW(ldap_modrdn) +ULONG CDECL ldap_modrdn2A(LDAP*,PCHAR,PCHAR,INT); +ULONG CDECL ldap_modrdn2W(LDAP*,PWCHAR,PWCHAR,INT); +#define ldap_modrdn2 WINELIB_NAME_AW(ldap_modrdn2) +ULONG CDECL ldap_modrdn2_sA(LDAP*,PCHAR,PCHAR,INT); +ULONG CDECL ldap_modrdn2_sW(LDAP*,PWCHAR,PWCHAR,INT); +#define ldap_modrdn2_s WINELIB_NAME_AW(ldap_modrdn2_s) +ULONG CDECL ldap_modrdn_sA(LDAP*,PCHAR,PCHAR); +ULONG CDECL ldap_modrdn_sW(LDAP*,PWCHAR,PWCHAR); +#define ldap_modrdn_s WINELIB_NAME_AW(ldap_modrdn_s) +ULONG CDECL ldap_msgfree(LDAPMessage*); +PCHAR CDECL ldap_next_attributeA(LDAP*,LDAPMessage*,BerElement*); +PWCHAR CDECL ldap_next_attributeW(LDAP*,LDAPMessage*,BerElement*); +#define ldap_next_attribute WINELIB_NAME_AW(ldap_next_attribute) +LDAPMessage * CDECL ldap_next_entry(LDAP*,LDAPMessage*); +LDAP * CDECL ldap_openA(PCHAR,ULONG); +LDAP * CDECL ldap_openW(PWCHAR,ULONG); +#define ldap_open WINELIB_NAME_AW(ldap_open) +ULONG CDECL ldap_parse_extended_resultA(LDAP*,LDAPMessage*,PCHAR*,struct berval**,BOOLEAN); +ULONG CDECL ldap_parse_extended_resultW(LDAP*,LDAPMessage*,PWCHAR*,struct berval**,BOOLEAN); +#define ldap_parse_extended_result WINELIB_NAME_AW(ldap_parse_extended_result) +ULONG CDECL ldap_parse_page_controlA(LDAP*,PLDAPControlA*,ULONG*,struct berval**); +ULONG CDECL ldap_parse_page_controlW(LDAP*,PLDAPControlW*,ULONG*,struct berval**); +#define ldap_parse_page_control WINELIB_NAME_AW(ldap_parse_page_control) +ULONG CDECL ldap_parse_referenceA(LDAP*,LDAPMessage*,PCHAR**); +ULONG CDECL ldap_parse_referenceW(LDAP*,LDAPMessage*,PWCHAR**); +#define ldap_parse_reference WINELIB_NAME_AW(ldap_parse_reference) +ULONG CDECL ldap_result2error(LDAP*,LDAPMessage*,ULONG); +ULONG CDECL ldap_parse_resultA(LDAP*,LDAPMessage*,ULONG*,PCHAR*,PCHAR*,PCHAR**,PLDAPControlA**,BOOLEAN); +ULONG CDECL ldap_parse_resultW(LDAP*,LDAPMessage*,ULONG*,PWCHAR*,PWCHAR*,PWCHAR**,PLDAPControlW**,BOOLEAN); +#define ldap_parse_result WINELIB_NAME_AW(ldap_parse_result) +ULONG CDECL ldap_parse_sort_controlA(LDAP*,PLDAPControlA*,ULONG*,PCHAR*); +ULONG CDECL ldap_parse_sort_controlW(LDAP*,PLDAPControlW*,ULONG*,PWCHAR*); +#define ldap_parse_sort_control WINELIB_NAME_AW(ldap_parse_sort_control) +INT CDECL ldap_parse_vlv_controlA(PLDAP,PLDAPControlA*,PULONG,PULONG,PBERVAL*,PINT); +INT CDECL ldap_parse_vlv_controlW(PLDAP,PLDAPControlW*,PULONG,PULONG,PBERVAL*,PINT); +#define ldap_parse_vlv_control WINELIB_NAME_AW(ldap_parse_vlv_control) +void CDECL ldap_perror(LDAP*,const PCHAR); +ULONG CDECL ldap_rename_extA(LDAP*,PCHAR,PCHAR,PCHAR,INT,PLDAPControlA*,PLDAPControlA*,ULONG*); +ULONG CDECL ldap_rename_extW(LDAP*,PWCHAR,PWCHAR,PWCHAR,INT,PLDAPControlW*,PLDAPControlW*,ULONG*); +#define ldap_rename_ext WINELIB_NAME_AW(ldap_rename_ext) +ULONG CDECL ldap_rename_ext_sA(LDAP*,PCHAR,PCHAR,PCHAR,INT,PLDAPControlA*,PLDAPControlA*); +ULONG CDECL ldap_rename_ext_sW(LDAP*,PWCHAR,PWCHAR,PWCHAR,INT,PLDAPControlW*,PLDAPControlW*); +#define ldap_rename_ext_s WINELIB_NAME_AW(ldap_rename_ext_s) +ULONG CDECL ldap_result(LDAP*,ULONG,ULONG,struct l_timeval*,LDAPMessage**); +ULONG CDECL ldap_result2error(LDAP*,LDAPMessage*,ULONG); +ULONG CDECL ldap_sasl_bindA(LDAP*,const PCHAR,const PCHAR,const BERVAL*,PLDAPControlA*,PLDAPControlA*,int*); +ULONG CDECL ldap_sasl_bindW(LDAP*,const PWCHAR,const PWCHAR,const BERVAL*,PLDAPControlW*,PLDAPControlW*,int*); +#define ldap_sasl_bind WINELIB_NAME_AW(ldap_sasl_bind) +ULONG CDECL ldap_sasl_bind_sA(LDAP*,const PCHAR,const PCHAR,const BERVAL*,PLDAPControlA*,PLDAPControlA*,PBERVAL*); +ULONG CDECL ldap_sasl_bind_sW(LDAP*,const PWCHAR,const PWCHAR,const BERVAL*,PLDAPControlW*,PLDAPControlW*,PBERVAL*); +#define ldap_sasl_bind_s WINELIB_NAME_AW(ldap_sasl_bind_s) +ULONG CDECL ldap_simple_bindA(LDAP*,PCHAR,PCHAR); +ULONG CDECL ldap_simple_bindW(LDAP*,PWCHAR,PWCHAR); +#define ldap_simple_bind WINELIB_NAME_AW(ldap_simple_bind) +ULONG CDECL ldap_simple_bind_sA(LDAP*,PCHAR,PCHAR); +ULONG CDECL ldap_simple_bind_sW(LDAP*,PWCHAR,PWCHAR); +#define ldap_simple_bind_s WINELIB_NAME_AW(ldap_simple_bind_s) +ULONG CDECL ldap_search_abandon_page(PLDAP,PLDAPSearch); +ULONG CDECL ldap_searchA(LDAP*,PCHAR,ULONG,PCHAR,PCHAR[],ULONG); +ULONG CDECL ldap_searchW(LDAP*,PWCHAR,ULONG,PWCHAR,PCHAR[],ULONG); +#define ldap_search WINELIB_NAME_AW(ldap_search) +ULONG CDECL ldap_search_extA(LDAP*,PCHAR,ULONG,PCHAR,PCHAR[],ULONG,PLDAPControlA*, + PLDAPControlA*,ULONG,ULONG,ULONG*); +ULONG CDECL ldap_search_extW(LDAP*,PWCHAR,ULONG,PWCHAR,PWCHAR[],ULONG,PLDAPControlW*, + PLDAPControlW*,ULONG,ULONG,ULONG*); +#define ldap_search_ext WINELIB_NAME_AW(ldap_search_ext) +ULONG CDECL ldap_search_ext_sA(LDAP*,PCHAR,ULONG,PCHAR,PCHAR[],ULONG,PLDAPControlA*, + PLDAPControlA*,struct l_timeval*,ULONG,LDAPMessage**); +ULONG CDECL ldap_search_ext_sW(LDAP*,PWCHAR,ULONG,PWCHAR,PWCHAR[],ULONG,PLDAPControlW*, + PLDAPControlW*,struct l_timeval*,ULONG,LDAPMessage**); +#define ldap_search_ext_s WINELIB_NAME_AW(ldap_search_ext_s) +PLDAPSearch CDECL ldap_search_init_pageA(PLDAP,PCHAR,ULONG,PCHAR,PCHAR[],ULONG,PLDAPControlA*, + PLDAPControlA*,ULONG,ULONG,PLDAPSortKeyA*); +PLDAPSearch CDECL ldap_search_init_pageW(PLDAP,PWCHAR,ULONG,PWCHAR,PWCHAR[],ULONG,PLDAPControlW*, + PLDAPControlW*,ULONG,ULONG, PLDAPSortKeyW*); +#define ldap_search_init_page WINELIB_NAME_AW(ldap_search_init_page) +ULONG CDECL ldap_search_sA(LDAP*,PCHAR,ULONG,PCHAR,PCHAR[],ULONG,LDAPMessage**); +ULONG CDECL ldap_search_sW(LDAP*,PWCHAR,ULONG,PWCHAR,PWCHAR[],ULONG,LDAPMessage**); +#define ldap_search_s WINELIB_NAME_AW(ldap_search_s) +ULONG CDECL ldap_search_stA(LDAP*,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG, + struct l_timeval*,LDAPMessage**); +ULONG CDECL ldap_search_stW(LDAP*,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG, + struct l_timeval*,LDAPMessage**); +#define ldap_search_st WINELIB_NAME_AW(ldap_search_st) +ULONG CDECL ldap_set_optionA(LDAP*,int,void*); +ULONG CDECL ldap_set_optionW(LDAP*,int,void*); +#define ldap_set_option WINELIB_NAME_AW(ldap_set_option) +LDAP * CDECL ldap_sslinitA(PCHAR,ULONG,int); +LDAP * CDECL ldap_sslinitW(PWCHAR,ULONG,int); +#define ldap_sslinit WINELIB_NAME_AW(ldap_sslinit) +ULONG CDECL ldap_start_tls_sA(LDAP*,PULONG,LDAPMessage**,PLDAPControlA*,PLDAPControlA*); +ULONG CDECL ldap_start_tls_sW(LDAP*,PULONG,LDAPMessage**,PLDAPControlW*,PLDAPControlW*); +#define ldap_start_tls_s WINELIB_NAME_AW(ldap_start_tls_s) +ULONG CDECL ldap_startup(PLDAP_VERSION_INFO,HANDLE*); +BOOLEAN CDECL ldap_stop_tls_s(LDAP*); +ULONG CDECL ldap_ufn2dnA(PCHAR,PCHAR*); +ULONG CDECL ldap_ufn2dnW(PWCHAR,PWCHAR*); +#define ldap_ufn2dn WINELIB_NAME_AW(ldap_ufn2dn) +ULONG CDECL ldap_unbind(LDAP*); +ULONG CDECL ldap_unbind_s(LDAP*); +ULONG CDECL ldap_value_freeA(PCHAR*); +ULONG CDECL ldap_value_freeW(PWCHAR*); +#define ldap_value_free WINELIB_NAME_AW(ldap_value_free) +ULONG CDECL ldap_value_free_len(struct berval**); + +BerElement* CDECL ber_alloc_t(INT); +BERVAL* CDECL ber_bvdup(BERVAL*); +void CDECL ber_bvecfree(PBERVAL*); +void CDECL ber_bvfree(BERVAL*); +ULONG CDECL ber_first_element(BerElement*,ULONG*,CHAR**); +INT CDECL ber_flatten(BerElement*,PBERVAL*); +void CDECL ber_free(BerElement*,INT); +BerElement* CDECL ber_init(BERVAL*); +ULONG CDECL ber_next_element(BerElement*,ULONG*,CHAR*); +ULONG CDECL ber_peek_tag(BerElement*,ULONG*); +INT CDECL ber_printf(BerElement*,PCHAR,...); +ULONG CDECL ber_skip_tag(BerElement*,ULONG*); +INT CDECL ber_scanf(BerElement*,PCHAR,...); + +ULONG CDECL LdapGetLastError(void); +ULONG CDECL LdapMapErrorToWin32(ULONG); +int CDECL LdapUnicodeToUTF8(LPCWSTR,int,LPSTR,int); +int CDECL LdapUTF8ToUnicode(LPCSTR,int,LPWSTR,int); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINLDAP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnetwk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnetwk.h new file mode 100644 index 0000000..b5c2d93 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnetwk.h @@ -0,0 +1,408 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + + +#ifndef _WINNETWK_H_ +#define _WINNETWK_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Network types + */ + +#define WNNC_NET_MSNET 0x00010000 +#define WNNC_NET_LANMAN 0x00020000 +#define WNNC_NET_NETWARE 0x00030000 +#define WNNC_NET_VINES 0x00040000 +#define WNNC_NET_10NET 0x00050000 +#define WNNC_NET_LOCUS 0x00060000 +#define WNNC_NET_SUN_PC_NFS 0x00070000 +#define WNNC_NET_LANSTEP 0x00080000 +#define WNNC_NET_9TILES 0x00090000 +#define WNNC_NET_LANTASTIC 0x000A0000 +#define WNNC_NET_AS400 0x000B0000 +#define WNNC_NET_FTP_NFS 0x000C0000 +#define WNNC_NET_PATHWORKS 0x000D0000 +#define WNNC_NET_LIFENET 0x000E0000 +#define WNNC_NET_POWERLAN 0x000F0000 +#define WNNC_NET_BWNFS 0x00100000 +#define WNNC_NET_COGENT 0x00110000 +#define WNNC_NET_FARALLON 0x00120000 +#define WNNC_NET_APPLETALK 0x00130000 +#define WNNC_NET_INTERGRAPH 0x00140000 + +/* + * Network resources + */ + +#define RESOURCE_CONNECTED 0x00000001 +#define RESOURCE_GLOBALNET 0x00000002 +#define RESOURCE_REMEMBERED 0x00000003 +#define RESOURCE_RECENT 0x00000004 +#define RESOURCE_CONTEXT 0x00000005 + +#define RESOURCETYPE_ANY 0x00000000 +#define RESOURCETYPE_DISK 0x00000001 +#define RESOURCETYPE_PRINT 0x00000002 +#define RESOURCETYPE_RESERVED 0x00000008 +#define RESOURCETYPE_UNKNOWN 0xFFFFFFFF + +#define RESOURCEUSAGE_CONNECTABLE 0x00000001 +#define RESOURCEUSAGE_CONTAINER 0x00000002 +#define RESOURCEUSAGE_NOLOCALDEVICE 0x00000004 +#define RESOURCEUSAGE_SIBLING 0x00000008 +#define RESOURCEUSAGE_ATTACHED 0x00000010 +#define RESOURCEUSAGE_ALL (RESOURCEUSAGE_CONNECTABLE | RESOURCEUSAGE_CONTAINER | RESOURCEUSAGE_ATTACHED) +#define RESOURCEUSAGE_RESERVED 0x80000000 + +#define RESOURCEDISPLAYTYPE_GENERIC 0x00000000 +#define RESOURCEDISPLAYTYPE_DOMAIN 0x00000001 +#define RESOURCEDISPLAYTYPE_SERVER 0x00000002 +#define RESOURCEDISPLAYTYPE_SHARE 0x00000003 +#define RESOURCEDISPLAYTYPE_FILE 0x00000004 +#define RESOURCEDISPLAYTYPE_GROUP 0x00000005 +#define RESOURCEDISPLAYTYPE_NETWORK 0x00000006 +#define RESOURCEDISPLAYTYPE_ROOT 0x00000007 +#define RESOURCEDISPLAYTYPE_SHAREADMIN 0x00000008 +#define RESOURCEDISPLAYTYPE_DIRECTORY 0x00000009 +#define RESOURCEDISPLAYTYPE_TREE 0x0000000A + +typedef struct { + DWORD dwScope; + DWORD dwType; + DWORD dwDisplayType; + DWORD dwUsage; + LPSTR lpLocalName; + LPSTR lpRemoteName; + LPSTR lpComment ; + LPSTR lpProvider; +} NETRESOURCEA,*LPNETRESOURCEA; + +typedef struct { + DWORD dwScope; + DWORD dwType; + DWORD dwDisplayType; + DWORD dwUsage; + LPWSTR lpLocalName; + LPWSTR lpRemoteName; + LPWSTR lpComment ; + LPWSTR lpProvider; +} NETRESOURCEW,*LPNETRESOURCEW; + +DECL_WINELIB_TYPE_AW(NETRESOURCE) +DECL_WINELIB_TYPE_AW(LPNETRESOURCE) + + +/* + * Network connections + */ + +#define NETPROPERTY_PERSISTENT 1 + +#define CONNECT_UPDATE_PROFILE 0x00000001 +#define CONNECT_UPDATE_RECENT 0x00000002 +#define CONNECT_TEMPORARY 0x00000004 +#define CONNECT_INTERACTIVE 0x00000008 +#define CONNECT_PROMPT 0x00000010 +#define CONNECT_NEED_DRIVE 0x00000020 +#define CONNECT_REFCOUNT 0x00000040 +#define CONNECT_REDIRECT 0x00000080 +#define CONNECT_LOCALDRIVE 0x00000100 +#define CONNECT_CURRENT_MEDIA 0x00000200 + +DWORD WINAPI WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR); +DWORD WINAPI WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR); +#define WNetAddConnection WINELIB_NAME_AW(WNetAddConnection) +DWORD WINAPI WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); +DWORD WINAPI WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); +#define WNetAddConnection2 WINELIB_NAME_AW(WNetAddConnection2) +DWORD WINAPI WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); +DWORD WINAPI WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); +#define WNetAddConnection3 WINELIB_NAME_AW(WNetAddConnection3) +DWORD WINAPI WNetCancelConnectionA(LPCSTR,BOOL); +DWORD WINAPI WNetCancelConnectionW(LPCWSTR,BOOL); +#define WNetCancelConnection WINELIB_NAME_AW(WNetCancelConnection) +DWORD WINAPI WNetCancelConnection2A(LPCSTR,DWORD,BOOL); +DWORD WINAPI WNetCancelConnection2W(LPCWSTR,DWORD,BOOL); +#define WNetCancelConnection2 WINELIB_NAME_AW(WNetCancelConnection2) +DWORD WINAPI WNetGetConnectionA(LPCSTR,LPSTR,LPDWORD); +DWORD WINAPI WNetGetConnectionW(LPCWSTR,LPWSTR,LPDWORD); +#define WNetGetConnection WINELIB_NAME_AW(WNetGetConnection) +DWORD WINAPI WNetGetLastErrorA(LPDWORD,LPSTR,DWORD,LPSTR,DWORD); +DWORD WINAPI WNetGetLastErrorW(LPDWORD,LPWSTR,DWORD,LPWSTR,DWORD); +#define WNetGetLastError WINELIB_NAME_AW(WNetGetLastError) +DWORD WINAPI WNetRestoreConnectionA(HWND,LPCSTR); +DWORD WINAPI WNetRestoreConnectionW(HWND,LPCWSTR); +#define WNetRestoreConnection WINELIB_NAME_AW(WNetRestoreConnection) +DWORD WINAPI WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,LPDWORD,LPDWORD); +DWORD WINAPI WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPDWORD,LPDWORD); +#define WNetUseConnection WINELIB_NAME_AW(WNetUseConnection) +DWORD WINAPI WNetSetConnectionA(LPCSTR,DWORD,LPVOID); +DWORD WINAPI WNetSetConnectionW(LPCWSTR,DWORD,LPVOID); +#define WNetSetConnection WINELIB_NAME_AW(WNetSetConnection) + +/* + * Network connection dialogs + */ + +typedef struct { + DWORD cbStructure; /* size of this structure in bytes */ + HWND hwndOwner; /* owner window for the dialog */ + LPNETRESOURCEA lpConnRes;/* Requested Resource info */ + DWORD dwFlags; /* flags (see below) */ + DWORD dwDevNum; /* number of devices connected to */ +} CONNECTDLGSTRUCTA, *LPCONNECTDLGSTRUCTA; +typedef struct { + DWORD cbStructure; /* size of this structure in bytes */ + HWND hwndOwner; /* owner window for the dialog */ + LPNETRESOURCEW lpConnRes;/* Requested Resource info */ + DWORD dwFlags; /* flags (see below) */ + DWORD dwDevNum; /* number of devices connected to */ +} CONNECTDLGSTRUCTW, *LPCONNECTDLGSTRUCTW; + +DECL_WINELIB_TYPE_AW(CONNECTDLGSTRUCT) +DECL_WINELIB_TYPE_AW(LPCONNECTDLGSTRUCT) + +#define CONNDLG_RO_PATH 0x00000001 /* Resource path should be read-only */ +#define CONNDLG_CONN_POINT 0x00000002 /* Netware -style movable connection point enabled */ +#define CONNDLG_USE_MRU 0x00000004 /* Use MRU combobox */ +#define CONNDLG_HIDE_BOX 0x00000008 /* Hide persistent connect checkbox */ +#define CONNDLG_PERSIST 0x00000010 /* Force persistent connection */ +#define CONNDLG_NOT_PERSIST 0x00000020 /* Force connection NOT persistent */ + +typedef struct { + DWORD cbStructure; /* size of this structure in bytes */ + HWND hwndOwner; /* owner window for the dialog */ + LPSTR lpLocalName; /* local device name */ + LPSTR lpRemoteName; /* network resource name */ + DWORD dwFlags; /* flags */ +} DISCDLGSTRUCTA, *LPDISCDLGSTRUCTA; +typedef struct { + DWORD cbStructure; /* size of this structure in bytes */ + HWND hwndOwner; /* owner window for the dialog */ + LPWSTR lpLocalName; /* local device name */ + LPWSTR lpRemoteName; /* network resource name */ + DWORD dwFlags; /* flags */ +} DISCDLGSTRUCTW, *LPDISCDLGSTRUCTW; + +DECL_WINELIB_TYPE_AW(DISCDLGSTRUCT) +DECL_WINELIB_TYPE_AW(LPDISCDLGSTRUCT) + +#define DISC_UPDATE_PROFILE 0x00000001 +#define DISC_NO_FORCE 0x00000040 + +DWORD WINAPI WNetConnectionDialog(HWND,DWORD); +DWORD WINAPI WNetDisconnectDialog(HWND,DWORD); +DWORD WINAPI WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA); +DWORD WINAPI WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW); +#define WNetConnectionDialog1 WINELIB_NAME_AW(WNetConnectionDialog1) +DWORD WINAPI WNetDisconnectDialog1A(LPDISCDLGSTRUCTA); +DWORD WINAPI WNetDisconnectDialog1W(LPDISCDLGSTRUCTW); +#define WNetDisconnectDialog1 WINELIB_NAME_AW(WNetDisconnectDialog1) + +/* + * Network browsing + */ + +DWORD WINAPI WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE); +DWORD WINAPI WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE); +#define WNetOpenEnum WINELIB_NAME_AW(WNetOpenEnum) +DWORD WINAPI WNetEnumResourceA(HANDLE,LPDWORD,LPVOID,LPDWORD); +DWORD WINAPI WNetEnumResourceW(HANDLE,LPDWORD,LPVOID,LPDWORD); +#define WNetEnumResource WINELIB_NAME_AW(WNetEnumResource) +DWORD WINAPI WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPSTR*); +DWORD WINAPI WNetGetResourceInformationW(LPNETRESOURCEW,LPVOID,LPDWORD,LPWSTR*); +#define WNetGetResourceInformation WINELIB_NAME_AW(WNetGetResourceInformation) +DWORD WINAPI WNetGetResourceParentA(LPNETRESOURCEA,LPVOID,LPDWORD); +DWORD WINAPI WNetGetResourceParentW(LPNETRESOURCEW,LPVOID,LPDWORD); +#define WNetGetResourceParent WINELIB_NAME_AW(WNetGetResourceParent) +DWORD WINAPI WNetCloseEnum(HANDLE); + +/* + * Universal naming + */ + +#define UNIVERSAL_NAME_INFO_LEVEL 0x00000001 +#define REMOTE_NAME_INFO_LEVEL 0x00000002 + +typedef struct { + LPSTR lpUniversalName; +} UNIVERSAL_NAME_INFOA, *LPUNIVERSAL_NAME_INFOA; +typedef struct { + LPWSTR lpUniversalName; +} UNIVERSAL_NAME_INFOW, *LPUNIVERSAL_NAME_INFOW; + +DECL_WINELIB_TYPE_AW(UNIVERSAL_NAME_INFO) +DECL_WINELIB_TYPE_AW(LPUNIVERSAL_NAME_INFO) + +typedef struct { + LPSTR lpUniversalName; + LPSTR lpConnectionName; + LPSTR lpRemainingPath; +}REMOTE_NAME_INFOA, *LPREMOTE_NAME_INFOA; +typedef struct { + LPWSTR lpUniversalName; + LPWSTR lpConnectionName; + LPWSTR lpRemainingPath; +}REMOTE_NAME_INFOW, *LPREMOTE_NAME_INFOW; + +DECL_WINELIB_TYPE_AW(REMOTE_NAME_INFO) +DECL_WINELIB_TYPE_AW(LPREMOTE_NAME_INFO) + +DWORD WINAPI WNetGetUniversalNameA(LPCSTR,DWORD,LPVOID,LPDWORD); +DWORD WINAPI WNetGetUniversalNameW(LPCWSTR,DWORD,LPVOID,LPDWORD); +#define WNetGetUniversalName WINELIB_NAME_AW(WNetGetUniversalName) + +/* + * Other + */ + +DWORD WINAPI WNetGetUserA(LPCSTR,LPSTR,LPDWORD); +DWORD WINAPI WNetGetUserW(LPCWSTR,LPWSTR,LPDWORD); +#define WNetGetUser WINELIB_NAME_AW(WNetGetUser) + +#define WNFMT_MULTILINE 0x01 +#define WNFMT_ABBREVIATED 0x02 +#define WNFMT_INENUM 0x10 +#define WNFMT_CONNECTION 0x20 + +DWORD WINAPI WNetGetProviderNameA(DWORD,LPSTR,LPDWORD); +DWORD WINAPI WNetGetProviderNameW(DWORD,LPWSTR,LPDWORD); +#define WNetGetProviderName WINELIB_NAME_AW(WNetGetProviderName) + +typedef struct { + DWORD cbStructure; + DWORD dwProviderVersion; + DWORD dwStatus; + DWORD dwCharacteristics; + DWORD dwHandle; + WORD wNetType; + DWORD dwPrinters; + DWORD dwDrives; +} NETINFOSTRUCT, *LPNETINFOSTRUCT; + +#define NETINFO_DLL16 0x00000001 +#define NETINFO_DISKRED 0x00000004 +#define NETINFO_PRINTERRED 0x00000008 + +DWORD WINAPI WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT); +DWORD WINAPI WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT); +#define WNetGetNetworkInformation WINELIB_NAME_AW(WNetGetNetworkInformation) + + +/* + * Status codes + */ + +#define WN_SUCCESS NO_ERROR +#define WN_NO_ERROR NO_ERROR +#define WN_NOT_SUPPORTED ERROR_NOT_SUPPORTED +#define WN_CANCEL ERROR_CANCELLED +#define WN_RETRY ERROR_RETRY +#define WN_NET_ERROR ERROR_UNEXP_NET_ERR +#define WN_MORE_DATA ERROR_MORE_DATA +#define WN_BAD_POINTER ERROR_INVALID_ADDRESS +#define WN_BAD_VALUE ERROR_INVALID_PARAMETER +#define WN_BAD_USER ERROR_BAD_USERNAME +#define WN_BAD_PASSWORD ERROR_INVALID_PASSWORD +#define WN_ACCESS_DENIED ERROR_ACCESS_DENIED +#define WN_FUNCTION_BUSY ERROR_BUSY +#define WN_WINDOWS_ERROR ERROR_UNEXP_NET_ERR +#define WN_OUT_OF_MEMORY ERROR_NOT_ENOUGH_MEMORY +#define WN_NO_NETWORK ERROR_NO_NETWORK +#define WN_EXTENDED_ERROR ERROR_EXTENDED_ERROR +#define WN_BAD_LEVEL ERROR_INVALID_LEVEL +#define WN_BAD_HANDLE ERROR_INVALID_HANDLE +#define WN_NOT_INITIALIZING ERROR_ALREADY_INITIALIZED +#define WN_NO_MORE_DEVICES ERROR_NO_MORE_DEVICES + +#define WN_NOT_CONNECTED ERROR_NOT_CONNECTED +#define WN_OPEN_FILES ERROR_OPEN_FILES +#define WN_DEVICE_IN_USE ERROR_DEVICE_IN_USE +#define WN_BAD_NETNAME ERROR_BAD_NET_NAME +#define WN_BAD_LOCALNAME ERROR_BAD_DEVICE +#define WN_ALREADY_CONNECTED ERROR_ALREADY_ASSIGNED +#define WN_DEVICE_ERROR ERROR_GEN_FAILURE +#define WN_CONNECTION_CLOSED ERROR_CONNECTION_UNAVAIL +#define WN_NO_NET_OR_BAD_PATH ERROR_NO_NET_OR_BAD_PATH +#define WN_BAD_PROVIDER ERROR_BAD_PROVIDER +#define WN_CANNOT_OPEN_PROFILE ERROR_CANNOT_OPEN_PROFILE +#define WN_BAD_PROFILE ERROR_BAD_PROFILE +#define WN_BAD_DEV_TYPE ERROR_BAD_DEV_TYPE +#define WN_DEVICE_ALREADY_REMEMBERED ERROR_DEVICE_ALREADY_REMEMBERED + +#define WN_NO_MORE_ENTRIES ERROR_NO_MORE_ITEMS +#define WN_NOT_CONTAINER ERROR_NOT_CONTAINER + +#define WN_NOT_AUTHENTICATED ERROR_NOT_AUTHENTICATED +#define WN_NOT_LOGGED_ON ERROR_NOT_LOGGED_ON +#define WN_NOT_VALIDATED ERROR_NO_LOGON_SERVERS + + +/* + * Multinet (for Shell) + */ + +typedef struct { + DWORD cbStructure; + DWORD dwFlags; + DWORD dwSpeed; + DWORD dwDelay; + DWORD dwOptDataSize; +} NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT; + +#define WNCON_FORNETCARD 0x00000001 +#define WNCON_NOTROUTED 0x00000002 +#define WNCON_SLOWLINK 0x00000004 +#define WNCON_DYNAMIC 0x00000008 + +DWORD WINAPI MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT); +DWORD WINAPI MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT); +#define MultinetGetConnectionPerformance WINELIB_NAME_AW(MultinetGetConnectionPerformance) +DWORD WINAPI MultinetGetErrorTextA(DWORD,DWORD,DWORD); +DWORD WINAPI MultinetGetErrorTextW(DWORD,DWORD,DWORD); +#define MultinetGetErrorText WINELIB_NAME_AW(MultinetGetErrorText) + +/* + * Password cache + */ + +/* WNetEnumCachedPasswords */ +typedef struct tagPASSWORD_CACHE_ENTRY +{ + WORD cbEntry; + WORD cbResource; + WORD cbPassword; + BYTE iEntry; + BYTE nType; + BYTE abResource[1]; +} PASSWORD_CACHE_ENTRY; + +typedef BOOL (CALLBACK *ENUMPASSWORDPROC)(PASSWORD_CACHE_ENTRY *, DWORD); +UINT WINAPI WNetEnumCachedPasswords( LPSTR, WORD, BYTE, ENUMPASSWORDPROC, DWORD); +DWORD WINAPI WNetGetCachedPassword( LPSTR, WORD, LPSTR, LPWORD, BYTE ); +DWORD WINAPI WNetCachePassword( LPSTR, WORD, LPSTR, WORD, BYTE, WORD ); + +#ifdef __cplusplus +} +#endif + +#endif /* _WINNETWK_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnls.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnls.h new file mode 100644 index 0000000..8cb8af6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnls.h @@ -0,0 +1,970 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINNLS_H +#define __WINE_WINNLS_H +#ifndef NONLS + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _NORMALIZE_ +# define WINNORMALIZEAPI DECLSPEC_IMPORT +#else +# define WINNORMALIZEAPI +#endif + +/* Country codes */ +#define CTRY_DEFAULT (0) +#define CTRY_ALBANIA (355) +#define CTRY_ALGERIA (213) +#define CTRY_ARGENTINA (54) +#define CTRY_ARMENIA (374) +#define CTRY_AUSTRALIA (61) +#define CTRY_AUSTRIA (43) +#define CTRY_AZERBAIJAN (994) +#define CTRY_BAHRAIN (973) +#define CTRY_BELARUS (375) +#define CTRY_BELGIUM (32) +#define CTRY_BELIZE (501) +#define CTRY_BOLIVIA (591) +#define CTRY_BRAZIL (55) +#define CTRY_BRUNEI_DARUSSALAM (673) +#define CTRY_BULGARIA (359) +#define CTRY_CANADA (2) +#define CTRY_CARIBBEAN (1) +#define CTRY_CHILE (56) +#define CTRY_COLOMBIA (57) +#define CTRY_COSTA_RICA (506) +#define CTRY_CROATIA (385) +#define CTRY_CZECH (420) +#define CTRY_DENMARK (45) +#define CTRY_DOMINICAN_REPUBLIC (1) +#define CTRY_ECUADOR (593) +#define CTRY_EGYPT (20) +#define CTRY_EL_SALVADOR (503) +#define CTRY_ESTONIA (372) +#define CTRY_FAEROE_ISLANDS (298) +#define CTRY_FINLAND (358) +#define CTRY_FRANCE (33) +#define CTRY_GEORGIA (995) +#define CTRY_GERMANY (49) +#define CTRY_GREECE (30) +#define CTRY_GUATEMALA (502) +#define CTRY_HONDURAS (504) +#define CTRY_HONG_KONG (852) +#define CTRY_HUNGARY (36) +#define CTRY_ICELAND (354) +#define CTRY_INDIA (91) +#define CTRY_INDONESIA (62) +#define CTRY_IRAN (981) +#define CTRY_IRAQ (964) +#define CTRY_IRELAND (353) +#define CTRY_ISRAEL (972) +#define CTRY_ITALY (39) +#define CTRY_JAMAICA (1) +#define CTRY_JAPAN (81) +#define CTRY_JORDAN (962) +#define CTRY_KAZAKSTAN (7) +#define CTRY_KENYA (254) +#define CTRY_KUWAIT (965) +#define CTRY_KYRGYZSTAN (996) +#define CTRY_LATVIA (371) +#define CTRY_LEBANON (961) +#define CTRY_LIBYA (218) +#define CTRY_LIECHTENSTEIN (41) +#define CTRY_LITHUANIA (370) +#define CTRY_LUXEMBOURG (352) +#define CTRY_MACAU (853) +#define CTRY_MACEDONIA (389) +#define CTRY_MALAYSIA (60) +#define CTRY_MALDIVES (960) +#define CTRY_MEXICO (52) +#define CTRY_MONACO (33) +#define CTRY_MONGOLIA (976) +#define CTRY_MOROCCO (212) +#define CTRY_NETHERLANDS (31) +#define CTRY_NEW_ZEALAND (64) +#define CTRY_NICARAGUA (505) +#define CTRY_NORWAY (47) +#define CTRY_OMAN (968) +#define CTRY_PAKISTAN (92) +#define CTRY_PANAMA (507) +#define CTRY_PARAGUAY (595) +#define CTRY_PERU (51) +#define CTRY_PHILIPPINES (63) +#define CTRY_POLAND (48) +#define CTRY_PORTUGAL (351) +#define CTRY_PRCHINA (86) +#define CTRY_PUERTO_RICO (1) +#define CTRY_QATAR (974) +#define CTRY_ROMANIA (40) +#define CTRY_RUSSIA (7) +#define CTRY_SAUDI_ARABIA (966) +#define CTRY_SERBIA (381) +#define CTRY_SINGAPORE (65) +#define CTRY_SLOVAK (421) +#define CTRY_SLOVENIA (386) +#define CTRY_SOUTH_AFRICA (27) +#define CTRY_SOUTH_KOREA (82) +#define CTRY_SPAIN (34) +#define CTRY_SWEDEN (46) +#define CTRY_SWITZERLAND (41) +#define CTRY_SYRIA (963) +#define CTRY_TAIWAN (886) +#define CTRY_TATARSTAN (7) +#define CTRY_THAILAND (66) +#define CTRY_TRINIDAD_Y_TOBAGO (1) +#define CTRY_TUNISIA (216) +#define CTRY_TURKEY (90) +#define CTRY_UAE (971) +#define CTRY_UKRAINE (380) +#define CTRY_UNITED_KINGDOM (44) +#define CTRY_UNITED_STATES (1) +#define CTRY_URUGUAY (598) +#define CTRY_UZBEKISTAN (7) +#define CTRY_VENEZUELA (58) +#define CTRY_VIET_NAM (84) +#define CTRY_YEMEN (967) +#define CTRY_ZIMBABWE (263) + +#define MB_PRECOMPOSED 0x01 +#define MB_COMPOSITE 0x02 +#define MB_USEGLYPHCHARS 0x04 +#define MB_ERR_INVALID_CHARS 0x08 + +#define LGRPID_INSTALLED 0x1 +#define LGRPID_SUPPORTED 0x2 + +#define LCID_INSTALLED 0x1 +#define LCID_SUPPORTED 0x2 +#define LCID_ALTERNATE_SORTS 0x4 + +#define LOCALE_ALL 0x00 +#define LOCALE_WINDOWS 0x01 +#define LOCALE_SUPPLEMENTAL 0x02 +#define LOCALE_ALTERNATE_SORTS 0x04 +#define LOCALE_REPLACEMENT 0x08 +#define LOCALE_NEUTRALDATA 0x10 +#define LOCALE_SPECIFICDATA 0x20 + +/* Locale flags */ +#define LOCALE_NOUSEROVERRIDE 0x80000000 +#define LOCALE_USE_CP_ACP 0x40000000 +#define LOCALE_RETURN_NUMBER 0x20000000 +#define LOCALE_RETURN_GENITIVE_NAMES 0x10000000 + +/* Locale information types */ +#define LOCALE_ILANGUAGE 0x0001 +#define LOCALE_SLANGUAGE 0x0002 +#define LOCALE_SENGLANGUAGE 0x1001 +#define LOCALE_SENGLISHLANGUAGENAME 0x1001 +#define LOCALE_SABBREVLANGNAME 0x0003 +#define LOCALE_SNATIVELANGNAME 0x0004 +#define LOCALE_SNATIVELANGUAGENAME 0x0004 +#define LOCALE_ICOUNTRY 0x0005 +#define LOCALE_SCOUNTRY 0x0006 +#define LOCALE_SLOCALIZEDCOUNTRYNAME 0x0006 +#define LOCALE_SENGCOUNTRY 0x1002 +#define LOCALE_SENGLISHCOUNTRYNAME 0x1002 +#define LOCALE_SABBREVCTRYNAME 0x0007 +#define LOCALE_SNATIVECTRYNAME 0x0008 +#define LOCALE_SNATIVECOUNTRYNAME 0x0008 +#define LOCALE_IDEFAULTLANGUAGE 0x0009 +#define LOCALE_IDEFAULTCOUNTRY 0x000A +#define LOCALE_IDEFAULTCODEPAGE 0x000B +#define LOCALE_IDEFAULTANSICODEPAGE 0x1004 +#define LOCALE_IDEFAULTMACCODEPAGE 0x1011 +#define LOCALE_SLIST 0x000C +#define LOCALE_IMEASURE 0x000D +#define LOCALE_SDECIMAL 0x000E +#define LOCALE_STHOUSAND 0x000F +#define LOCALE_SGROUPING 0x0010 +#define LOCALE_IDIGITS 0x0011 +#define LOCALE_ILZERO 0x0012 +#define LOCALE_INEGNUMBER 0x1010 +#define LOCALE_SNATIVEDIGITS 0x0013 +#define LOCALE_SCURRENCY 0x0014 +#define LOCALE_SINTLSYMBOL 0x0015 +#define LOCALE_SMONDECIMALSEP 0x0016 +#define LOCALE_SMONTHOUSANDSEP 0x0017 +#define LOCALE_SMONGROUPING 0x0018 +#define LOCALE_ICURRDIGITS 0x0019 +#define LOCALE_IINTLCURRDIGITS 0x001A +#define LOCALE_ICURRENCY 0x001B +#define LOCALE_INEGCURR 0x001C +#define LOCALE_SDATE 0x001D +#define LOCALE_STIME 0x001E +#define LOCALE_SSHORTDATE 0x001F +#define LOCALE_SLONGDATE 0x0020 +#define LOCALE_STIMEFORMAT 0x1003 +#define LOCALE_IDATE 0x0021 +#define LOCALE_ILDATE 0x0022 +#define LOCALE_ITIME 0x0023 +#define LOCALE_ITIMEMARKPOSN 0x1005 +#define LOCALE_ICENTURY 0x0024 +#define LOCALE_ITLZERO 0x0025 +#define LOCALE_IDAYLZERO 0x0026 +#define LOCALE_IMONLZERO 0x0027 +#define LOCALE_S1159 0x0028 +#define LOCALE_S2359 0x0029 +#define LOCALE_ICALENDARTYPE 0x1009 +#define LOCALE_IOPTIONALCALENDAR 0x100B +#define LOCALE_IFIRSTDAYOFWEEK 0x100C +#define LOCALE_IFIRSTWEEKOFYEAR 0x100D +#define LOCALE_SDAYNAME1 0x002A +#define LOCALE_SDAYNAME2 0x002B +#define LOCALE_SDAYNAME3 0x002C +#define LOCALE_SDAYNAME4 0x002D +#define LOCALE_SDAYNAME5 0x002E +#define LOCALE_SDAYNAME6 0x002F +#define LOCALE_SDAYNAME7 0x0030 +#define LOCALE_SABBREVDAYNAME1 0x0031 +#define LOCALE_SABBREVDAYNAME2 0x0032 +#define LOCALE_SABBREVDAYNAME3 0x0033 +#define LOCALE_SABBREVDAYNAME4 0x0034 +#define LOCALE_SABBREVDAYNAME5 0x0035 +#define LOCALE_SABBREVDAYNAME6 0x0036 +#define LOCALE_SABBREVDAYNAME7 0x0037 +#define LOCALE_SMONTHNAME1 0x0038 +#define LOCALE_SMONTHNAME2 0x0039 +#define LOCALE_SMONTHNAME3 0x003A +#define LOCALE_SMONTHNAME4 0x003B +#define LOCALE_SMONTHNAME5 0x003C +#define LOCALE_SMONTHNAME6 0x003D +#define LOCALE_SMONTHNAME7 0x003E +#define LOCALE_SMONTHNAME8 0x003F +#define LOCALE_SMONTHNAME9 0x0040 +#define LOCALE_SMONTHNAME10 0x0041 +#define LOCALE_SMONTHNAME11 0x0042 +#define LOCALE_SMONTHNAME12 0x0043 +#define LOCALE_SMONTHNAME13 0x100E +#define LOCALE_SABBREVMONTHNAME1 0x0044 +#define LOCALE_SABBREVMONTHNAME2 0x0045 +#define LOCALE_SABBREVMONTHNAME3 0x0046 +#define LOCALE_SABBREVMONTHNAME4 0x0047 +#define LOCALE_SABBREVMONTHNAME5 0x0048 +#define LOCALE_SABBREVMONTHNAME6 0x0049 +#define LOCALE_SABBREVMONTHNAME7 0x004A +#define LOCALE_SABBREVMONTHNAME8 0x004B +#define LOCALE_SABBREVMONTHNAME9 0x004C +#define LOCALE_SABBREVMONTHNAME10 0x004D +#define LOCALE_SABBREVMONTHNAME11 0x004E +#define LOCALE_SABBREVMONTHNAME12 0x004F +#define LOCALE_SABBREVMONTHNAME13 0x100F +#define LOCALE_SPOSITIVESIGN 0x0050 +#define LOCALE_SNEGATIVESIGN 0x0051 +#define LOCALE_IPOSSIGNPOSN 0x0052 +#define LOCALE_INEGSIGNPOSN 0x0053 +#define LOCALE_IPOSSYMPRECEDES 0x0054 +#define LOCALE_IPOSSEPBYSPACE 0x0055 +#define LOCALE_INEGSYMPRECEDES 0x0056 +#define LOCALE_INEGSEPBYSPACE 0x0057 +#define LOCALE_FONTSIGNATURE 0x0058 +#define LOCALE_SISO639LANGNAME 0x0059 +#define LOCALE_SISO3166CTRYNAME 0x005A +#define LOCALE_IGEOID 0x005B +#define LOCALE_SNAME 0x005C +#define LOCALE_SDURATION 0x005D +#define LOCALE_SKEYBOARDSTOINSTALL 0x005E +#define LOCALE_SSHORTESTDAYNAME1 0x0060 +#define LOCALE_SSHORTESTDAYNAME2 0x0061 +#define LOCALE_SSHORTESTDAYNAME3 0x0062 +#define LOCALE_SSHORTESTDAYNAME4 0x0063 +#define LOCALE_SSHORTESTDAYNAME5 0x0064 +#define LOCALE_SSHORTESTDAYNAME6 0x0065 +#define LOCALE_SSHORTESTDAYNAME7 0x0066 +#define LOCALE_SISO639LANGNAME2 0x0067 +#define LOCALE_SISO3166CTRYNAME2 0x0068 +#define LOCALE_SNAN 0x0069 +#define LOCALE_SPOSINFINITY 0x006A +#define LOCALE_SNEGINFINITY 0x006B +#define LOCALE_SSCRIPTS 0x006C +#define LOCALE_SPARENT 0x006D +#define LOCALE_SCONSOLEFALLBACKNAME 0x006E +#define LOCALE_SLANGDISPLAYNAME 0x006F +#define LOCALE_SLOCALIZEDLANGUAGENAME 0x006F +#define LOCALE_IREADINGLAYOUT 0x0070 +#define LOCALE_INEUTRAL 0x0071 +#define LOCALE_SENGLISHDISPLAYNAME 0x0072 +#define LOCALE_SNATIVEDISPLAYNAME 0x0073 +#define LOCALE_INEGATIVEPERCENT 0x0074 +#define LOCALE_IPOSITIVEPERCENT 0x0075 +#define LOCALE_SPERCENT 0x0076 +#define LOCALE_SPERMILLE 0x0077 +#define LOCALE_SMONTHDAY 0x0078 +#define LOCALE_SSHORTTIME 0x0079 +#define LOCALE_SOPENTYPELANGUAGETAG 0X007A +#define LOCALE_SSORTLOCALE 0x007B + +#define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012 +#define LOCALE_IPAPERSIZE 0x100A +#define LOCALE_SENGCURRNAME 0x1007 +#define LOCALE_SNATIVECURRNAME 0x1008 +#define LOCALE_SYEARMONTH 0x1006 +#define LOCALE_SSORTNAME 0x1013 +#define LOCALE_IDIGITSUBSTITUTION 0x1014 + +/* Locale name special values */ +#if defined(__GNUC__) +# define LOCALE_NAME_INVARIANT (const WCHAR []){ 0 } +#elif defined(_MSC_VER) +# define LOCALE_NAME_INVARIANT L"" +#else +static const WCHAR LOCALE_NAME_INVARIANT[] = { 0 }; +#endif + +#if defined(__GNUC__) +# define LOCALE_NAME_SYSTEM_DEFAULT (const WCHAR []){'!','s','y','s','-','d','e','f','a','u','l','t','-','l','o','c','a','l','e',0} +#elif defined(_MSC_VER) +# define LOCALE_NAME_SYSTEM_DEFAULT L"!sys-default-locale" +#else +static const WCHAR LOCALE_NAME_SYSTEM_DEFAULT[] = {'!','s','y','s','-','d','e','f','a','u','l','t','-','l','o','c','a','l','e',0}; +#endif + +#define LOCALE_NAME_USER_DEFAULT NULL + +#define LOCALE_IDEFAULTUNIXCODEPAGE 0x1030 /* Wine extension */ + +#define NORM_IGNORECASE 0x00000001 +#define NORM_IGNORENONSPACE 0x00000002 +#define NORM_IGNORESYMBOLS 0x00000004 +#define SORT_DIGITSASNUMBERS 0x00000008 +#define LINGUISTIC_IGNORECASE 0x00000010 +#define LINGUISTIC_IGNOREDIACRITIC 0x00000020 +#define SORT_STRINGSORT 0x00001000 /* Take punctuation into account */ +#define NORM_IGNOREKANATYPE 0x00010000 +#define NORM_IGNOREWIDTH 0x00020000 +#define NORM_LINGUISTIC_CASING 0x08000000 + +#define CP_ACP 0 +#define CP_OEMCP 1 +#define CP_MACCP 2 +#define CP_THREAD_ACP 3 +#define CP_SYMBOL 42 +#define CP_UTF7 65000 +#define CP_UTF8 65001 + +#define CP_UNIXCP 65010 /* Wine extension */ + +#define CP_INSTALLED 0x1 +#define CP_SUPPORTED 0x2 + +#define HIGH_SURROGATE_START 0xd800 +#define HIGH_SURROGATE_END 0xdbff +#define LOW_SURROGATE_START 0xdc00 +#define LOW_SURROGATE_END 0xdfff + +#define IS_HIGH_SURROGATE(ch) ((ch) >= HIGH_SURROGATE_START && (ch) <= HIGH_SURROGATE_END) +#define IS_LOW_SURROGATE(ch) ((ch) >= LOW_SURROGATE_START && (ch) <= LOW_SURROGATE_END) +#define IS_SURROGATE_PAIR(high,low) (IS_HIGH_SURROGATE(high) && IS_LOW_SURROGATE(low)) + +#define WC_DISCARDNS 0x0010 +#define WC_SEPCHARS 0x0020 +#define WC_DEFAULTCHAR 0x0040 +#define WC_ERR_INVALID_CHARS 0x0080 +#define WC_COMPOSITECHECK 0x0200 +#define WC_NO_BEST_FIT_CHARS 0x0400 + +#define MAP_FOLDCZONE 0x0010 +#define MAP_PRECOMPOSED 0x0020 +#define MAP_COMPOSITE 0x0040 +#define MAP_FOLDDIGITS 0x0080 +#define MAP_EXPAND_LIGATURES 0x2000 + + +/* String mapping flags */ +#define LCMAP_LOWERCASE 0x00000100 /* Make lower-case */ +#define LCMAP_UPPERCASE 0x00000200 /* Make upper-case */ +#define LCMAP_SORTKEY 0x00000400 /* Create a sort key */ +#define LCMAP_BYTEREV 0x00000800 /* Reverse the result */ + +#define LCMAP_HIRAGANA 0x00100000 /* Transform Japanese katakana into hiragana */ +#define LCMAP_KATAKANA 0x00200000 /* Transform Japanese hiragana into katakana */ +#define LCMAP_HALFWIDTH 0x00400000 /* Use single byte chars in output */ +#define LCMAP_FULLWIDTH 0x00800000 /* Use double byte chars in output */ + +#define LCMAP_LINGUISTIC_CASING 0x01000000 /* Change case by using language context */ +#define LCMAP_SIMPLIFIED_CHINESE 0x02000000 /* Transform Chinese traditional into simplified */ +#define LCMAP_TRADITIONAL_CHINESE 0x04000000 /* Transform Chinese simplified into traditional */ + +/* Date and time formatting flags */ +#define DATE_SHORTDATE 0x01 /* Short date format */ +#define DATE_LONGDATE 0x02 /* Long date format */ +#define DATE_USE_ALT_CALENDAR 0x04 /* Use an Alternate calendar */ +#define DATE_YEARMONTH 0x08 /* Year/month format */ +#define DATE_LTRREADING 0x10 /* Add LTR reading marks */ +#define DATE_RTLREADING 0x20 /* Add RTL reading marks */ + +#define TIME_FORCE24HOURFORMAT 0x08 /* Always use 24 hour clock */ +#define TIME_NOTIMEMARKER 0x04 /* show no AM/PM */ +#define TIME_NOSECONDS 0x02 /* show no seconds */ +#define TIME_NOMINUTESORSECONDS 0x01 /* show no minutes either */ + +/* Unicode char type flags */ +#define CT_CTYPE1 0x0001 /* usual ctype */ +#define CT_CTYPE2 0x0002 /* bidirectional layout info */ +#define CT_CTYPE3 0x0004 /* textprocessing info */ + +/* Type 1 flags */ +#define C1_UPPER 0x0001 +#define C1_LOWER 0x0002 +#define C1_DIGIT 0x0004 +#define C1_SPACE 0x0008 +#define C1_PUNCT 0x0010 +#define C1_CNTRL 0x0020 +#define C1_BLANK 0x0040 +#define C1_XDIGIT 0x0080 +#define C1_ALPHA 0x0100 +#define C1_DEFINED 0x0200 + +/* Type 2 flags */ +#define C2_LEFTTORIGHT 0x0001 +#define C2_RIGHTTOLEFT 0x0002 +#define C2_EUROPENUMBER 0x0003 +#define C2_EUROPESEPARATOR 0x0004 +#define C2_EUROPETERMINATOR 0x0005 +#define C2_ARABICNUMBER 0x0006 +#define C2_COMMONSEPARATOR 0x0007 +#define C2_BLOCKSEPARATOR 0x0008 +#define C2_SEGMENTSEPARATOR 0x0009 +#define C2_WHITESPACE 0x000A +#define C2_OTHERNEUTRAL 0x000B +#define C2_NOTAPPLICABLE 0x0000 + +/* Type 3 flags */ +#define C3_NONSPACING 0x0001 +#define C3_DIACRITIC 0x0002 +#define C3_VOWELMARK 0x0004 +#define C3_SYMBOL 0x0008 +#define C3_KATAKANA 0x0010 +#define C3_HIRAGANA 0x0020 +#define C3_HALFWIDTH 0x0040 +#define C3_FULLWIDTH 0x0080 +#define C3_IDEOGRAPH 0x0100 +#define C3_KASHIDA 0x0200 +#define C3_LEXICAL 0x0400 +#define C3_HIGHSURROGATE 0x0800 +#define C3_LOWSURROGATE 0x1000 +#define C3_ALPHA 0x8000 +#define C3_NOTAPPLICABLE 0x0000 + +/* Code page information. + */ +#define MAX_LEADBYTES 12 +#define MAX_DEFAULTCHAR 2 + +/* Defines for calendar handling */ +#define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE +#define CAL_USE_CP_ACP LOCALE_USE_CP_ACP +#define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER +#define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES + +#define CAL_ICALINTVALUE 0x01 +#define CAL_SCALNAME 0x02 +#define CAL_IYEAROFFSETRANGE 0x03 +#define CAL_SERASTRING 0x04 +#define CAL_SSHORTDATE 0x05 +#define CAL_SLONGDATE 0x06 +#define CAL_SDAYNAME1 0x07 +#define CAL_SDAYNAME2 0x08 +#define CAL_SDAYNAME3 0x09 +#define CAL_SDAYNAME4 0x0a +#define CAL_SDAYNAME5 0x0b +#define CAL_SDAYNAME6 0x0c +#define CAL_SDAYNAME7 0x0d +#define CAL_SABBREVDAYNAME1 0x0e +#define CAL_SABBREVDAYNAME2 0x0f +#define CAL_SABBREVDAYNAME3 0x10 +#define CAL_SABBREVDAYNAME4 0x11 +#define CAL_SABBREVDAYNAME5 0x12 +#define CAL_SABBREVDAYNAME6 0x13 +#define CAL_SABBREVDAYNAME7 0x14 +#define CAL_SMONTHNAME1 0x15 +#define CAL_SMONTHNAME2 0x16 +#define CAL_SMONTHNAME3 0x17 +#define CAL_SMONTHNAME4 0x18 +#define CAL_SMONTHNAME5 0x19 +#define CAL_SMONTHNAME6 0x1a +#define CAL_SMONTHNAME7 0x1b +#define CAL_SMONTHNAME8 0x1c +#define CAL_SMONTHNAME9 0x1d +#define CAL_SMONTHNAME10 0x1e +#define CAL_SMONTHNAME11 0x1f +#define CAL_SMONTHNAME12 0x20 +#define CAL_SMONTHNAME13 0x21 +#define CAL_SABBREVMONTHNAME1 0x22 +#define CAL_SABBREVMONTHNAME2 0x23 +#define CAL_SABBREVMONTHNAME3 0x24 +#define CAL_SABBREVMONTHNAME4 0x25 +#define CAL_SABBREVMONTHNAME5 0x26 +#define CAL_SABBREVMONTHNAME6 0x27 +#define CAL_SABBREVMONTHNAME7 0x28 +#define CAL_SABBREVMONTHNAME8 0x29 +#define CAL_SABBREVMONTHNAME9 0x2a +#define CAL_SABBREVMONTHNAME10 0x2b +#define CAL_SABBREVMONTHNAME11 0x2c +#define CAL_SABBREVMONTHNAME12 0x2d +#define CAL_SABBREVMONTHNAME13 0x2e +#define CAL_SYEARMONTH 0x2f +#define CAL_ITWODIGITYEARMAX 0x30 +#define CAL_SSHORTESTDAYNAME1 0x31 +#define CAL_SSHORTESTDAYNAME2 0x32 +#define CAL_SSHORTESTDAYNAME3 0x33 +#define CAL_SSHORTESTDAYNAME4 0x34 +#define CAL_SSHORTESTDAYNAME5 0x35 +#define CAL_SSHORTESTDAYNAME6 0x36 +#define CAL_SSHORTESTDAYNAME7 0x37 +#define CAL_SMONTHDAY 0x38 +#define CAL_SABBREVERASTRING 0x39 + +/* Calendar types */ +#define CAL_GREGORIAN 1 +#define CAL_GREGORIAN_US 2 +#define CAL_JAPAN 3 +#define CAL_TAIWAN 4 +#define CAL_KOREA 5 +#define CAL_HIJRI 6 +#define CAL_THAI 7 +#define CAL_HEBREW 8 +#define CAL_GREGORIAN_ME_FRENCH 9 +#define CAL_GREGORIAN_ARABIC 10 +#define CAL_GREGORIAN_XLIT_ENGLISH 11 +#define CAL_GREGORIAN_XLIT_FRENCH 12 + +/* EnumCalendarInfo Flags */ +#define ENUM_ALL_CALENDARS 0xffffffff /* Enumerate all calendars within a locale */ + +/* CompareString results */ +#define CSTR_LESS_THAN 1 +#define CSTR_EQUAL 2 +#define CSTR_GREATER_THAN 3 + +/* + * Language Group IDs. + * Resources in kernel32 are LGRPID_xxx+0x2000 because low values were used by LOCALE_xxx + * This is done because resources in win2k kernel32 / winxp kernel32 are not even + * stored the same way. + */ +#define LGRPID_WESTERN_EUROPE 0x01 /* Includes US and Africa */ +#define LGRPID_CENTRAL_EUROPE 0x02 +#define LGRPID_BALTIC 0x03 +#define LGRPID_GREEK 0x04 +#define LGRPID_CYRILLIC 0x05 +#define LGRPID_TURKISH 0x06 +#define LGRPID_JAPANESE 0x07 +#define LGRPID_KOREAN 0x08 +#define LGRPID_TRADITIONAL_CHINESE 0x09 +#define LGRPID_SIMPLIFIED_CHINESE 0x0A +#define LGRPID_THAI 0x0B +#define LGRPID_HEBREW 0x0C +#define LGRPID_ARABIC 0x0D +#define LGRPID_VIETNAMESE 0x0E +#define LGRPID_INDIC 0x0F +#define LGRPID_GEORGIAN 0x10 +#define LGRPID_ARMENIAN 0x11 + +/* IDN defines. */ +#define IDN_ALLOW_UNASSIGNED 0x1 +#define IDN_USE_STD3_ASCII_RULES 0x2 + +/* MUI defines. */ +#define MUI_LANGUAGE_ID 0x04 +#define MUI_LANGUAGE_NAME 0x08 +#define MUI_MERGE_SYSTEM_FALLBACK 0x10 +#define MUI_MERGE_USER_FALLBACK 0x20 +#define MUI_UI_FALLBACK MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK +#define MUI_THREAD_LANGUAGES 0x40 +#define MUI_CONSOLE_FILTER 0x100 +#define MUI_COMPLEX_SCRIPT_FILTER 0x200 +#define MUI_RESET_FILTERS 0x001 +#define MUI_USER_PREFERRED_UI_LANGUAGES 0x10 +#define MUI_USE_INSTALLED_LANGUAGES 0x20 +#define MUI_USE_SEARCH_ALL_LANGUAGES 0x40 +#define MUI_LANG_NEUTRAL_PE_FILE 0x100 +#define MUI_NON_LANG_NEUTRAL_FILE 0x200 +#define MUI_MACHINE_LANGUAGE_SETTINGS 0x400 +#define MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL 0x001 +#define MUI_FILETYPE_LANGUAGE_NEUTRAL_MAIN 0x002 +#define MUI_FILETYPE_LANGUAGE_NEUTRAL_MUI 0x004 +#define MUI_QUERY_TYPE 0x001 +#define MUI_QUERY_CHECKSUM 0x002 +#define MUI_QUERY_LANGUAGE_NAME 0x004 +#define MUI_QUERY_RESOURCE_TYPES 0x008 +#define MUI_FILEINFO_VERSION 0x001 +#define MUI_FULL_LANGUAGE 0x01 +#define MUI_PARTIAL_LANGUAGE 0x02 +#define MUI_LIP_LANGUAGE 0x04 +#define MUI_LANGUAGE_INSTALLED 0x20 +#define MUI_LANGUAGE_LICENSED 0x40 + +typedef struct _FILEMUIINFO { + DWORD dwSize; + DWORD dwVersion; + DWORD dwFileType; + BYTE pChecksum[16]; + BYTE pServiceChecksum[16]; + DWORD dwLanguageNameOffset; + DWORD dwTypeIDMainSize; + DWORD dwTypeIDMainOffset; + DWORD dwTypeNameMainOffset; + DWORD dwTypeIDMUISize; + DWORD dwTypeIDMUIOffset; + DWORD dwTypeNameMUIOffset; + BYTE abBuffer[8]; +} FILEMUIINFO, *PFILEMUIINFO; + +/* Types + */ + +typedef enum _NORM_FORM { + NormalizationOther = 0, + NormalizationC = 0x1, + NormalizationD = 0x2, + NormalizationKC = 0x5, + NormalizationKD = 0x6 +} NORM_FORM; + +typedef DWORD CALID; +typedef DWORD CALTYPE; +typedef LONG GEOID; +typedef DWORD GEOCLASS; +typedef DWORD GEOTYPE; +typedef DWORD LCTYPE; +typedef DWORD LGRPID; + +typedef struct +{ + UINT MaxCharSize; + BYTE DefaultChar[MAX_DEFAULTCHAR]; + BYTE LeadByte[MAX_LEADBYTES]; +} CPINFO, *LPCPINFO; + +typedef struct +{ + UINT MaxCharSize; + BYTE DefaultChar[MAX_DEFAULTCHAR]; + BYTE LeadByte[MAX_LEADBYTES]; + WCHAR UnicodeDefaultChar; + UINT CodePage; + CHAR CodePageName[MAX_PATH]; +} CPINFOEXA, *LPCPINFOEXA; + +typedef struct +{ + UINT MaxCharSize; + BYTE DefaultChar[MAX_DEFAULTCHAR]; + BYTE LeadByte[MAX_LEADBYTES]; + WCHAR UnicodeDefaultChar; + UINT CodePage; + WCHAR CodePageName[MAX_PATH]; +} CPINFOEXW, *LPCPINFOEXW; + +DECL_WINELIB_TYPE_AW(CPINFOEX) +DECL_WINELIB_TYPE_AW(LPCPINFOEX) + +typedef struct _numberfmtA { + UINT NumDigits; + UINT LeadingZero; + UINT Grouping; + LPSTR lpDecimalSep; + LPSTR lpThousandSep; + UINT NegativeOrder; +} NUMBERFMTA, *LPNUMBERFMTA; + +typedef struct _numberfmtW { + UINT NumDigits; + UINT LeadingZero; + UINT Grouping; + LPWSTR lpDecimalSep; + LPWSTR lpThousandSep; + UINT NegativeOrder; +} NUMBERFMTW, *LPNUMBERFMTW; + +DECL_WINELIB_TYPE_AW(NUMBERFMT) +DECL_WINELIB_TYPE_AW(LPNUMBERFMT) + +typedef struct _currencyfmtA +{ + UINT NumDigits; + UINT LeadingZero; + UINT Grouping; + LPSTR lpDecimalSep; + LPSTR lpThousandSep; + UINT NegativeOrder; + UINT PositiveOrder; + LPSTR lpCurrencySymbol; +} CURRENCYFMTA, *LPCURRENCYFMTA; + +typedef struct _currencyfmtW +{ + UINT NumDigits; + UINT LeadingZero; + UINT Grouping; + LPWSTR lpDecimalSep; + LPWSTR lpThousandSep; + UINT NegativeOrder; + UINT PositiveOrder; + LPWSTR lpCurrencySymbol; +} CURRENCYFMTW, *LPCURRENCYFMTW; + +DECL_WINELIB_TYPE_AW(CURRENCYFMT) +DECL_WINELIB_TYPE_AW(LPCURRENCYFMT) + +typedef struct _nlsversioninfo { + DWORD dwNLSVersionInfoSize; + DWORD dwNLSVersion; + DWORD dwDefinedVersion; +} NLSVERSIONINFO, *LPNLSVERSIONINFO; + +typedef struct _nlsversioninfoex { + DWORD dwNLSVersionInfoSize; + DWORD dwNLSVersion; + DWORD dwDefinedVersion; + DWORD dwEffectiveId; + GUID guidCustomVersion; +} NLSVERSIONINFOEX, *LPNLSVERSIONINFOEX; + +/* Define a bunch of callback types */ + +typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXEX)(LPWSTR,CALID,LPWSTR,LPARAM); +typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXEX)(LPWSTR,CALID,LPARAM); +typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCEX)(LPWSTR,LPARAM); +#if defined(STRICT) +typedef BOOL (CALLBACK *CALINFO_ENUMPROCA)(LPSTR); +typedef BOOL (CALLBACK *CALINFO_ENUMPROCW)(LPWSTR); +typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXA)(LPSTR,CALID); +typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXW)(LPWSTR,CALID); +typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCA)(LPSTR); +typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCW)(LPWSTR); +typedef BOOL (CALLBACK *DATEFMT_ENUMPROCA)(LPSTR); +typedef BOOL (CALLBACK *DATEFMT_ENUMPROCW)(LPWSTR); +typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXA)(LPSTR,CALID); +typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXW)(LPWSTR,CALID); +typedef BOOL (CALLBACK *GEO_ENUMPROC)(GEOID); +typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA)(LGRPID,LCID,LPSTR,LONG_PTR); +typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW)(LGRPID,LCID,LPWSTR,LONG_PTR); +typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA)(LGRPID,LPSTR,LPSTR,DWORD,LONG_PTR); +typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW)(LGRPID,LPWSTR,LPWSTR,DWORD,LONG_PTR); +typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR); +typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR); +typedef BOOL (CALLBACK *LOCALE_ENUMPROCEX)(LPWSTR, DWORD, LPARAM); +typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR); +typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCW)(LPWSTR); +typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCA)(LPSTR,LONG_PTR); +typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCW)(LPWSTR,LONG_PTR); +#else +typedef FARPROC CALINFO_ENUMPROCA; +typedef FARPROC CALINFO_ENUMPROCW; +typedef FARPROC CALINFO_ENUMPROCEXA; +typedef FARPROC CALINFO_ENUMPROCEXW; +typedef FARPROC CODEPAGE_ENUMPROCA; +typedef FARPROC CODEPAGE_ENUMPROCW; +typedef FARPROC DATEFMT_ENUMPROCA; +typedef FARPROC DATEFMT_ENUMPROCW; +typedef FARPROC DATEFMT_ENUMPROCEXA; +typedef FARPROC DATEFMT_ENUMPROCEXW; +typedef FARPROC GEO_ENUMPROC; +typedef FARPROC LANGGROUPLOCALE_ENUMPROCA; +typedef FARPROC LANGGROUPLOCALE_ENUMPROCW; +typedef FARPROC LANGUAGEGROUP_ENUMPROCA; +typedef FARPROC LANGUAGEGROUP_ENUMPROCW; +typedef FARPROC LOCALE_ENUMPROCA; +typedef FARPROC LOCALE_ENUMPROCW; +typedef FARPROC TIMEFMT_ENUMPROCA; +typedef FARPROC TIMEFMT_ENUMPROCW; +typedef FARPROC UILANGUAGE_ENUMPROCA; +typedef FARPROC UILANGUAGE_ENUMPROCW; +#endif /* STRICT */ + +DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC) +DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROCEX) +DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC) +DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROC) +DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROCEX) +DECL_WINELIB_TYPE_AW(LANGGROUPLOCALE_ENUMPROC) +DECL_WINELIB_TYPE_AW(LANGUAGEGROUP_ENUMPROC) +DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC) +DECL_WINELIB_TYPE_AW(TIMEFMT_ENUMPROC) +DECL_WINELIB_TYPE_AW(UILANGUAGE_ENUMPROC) + +/* Geographic Information types */ +enum SYSGEOTYPE +{ + GEO_NATION = 1, + GEO_LATITUDE, + GEO_LONGITUDE, + GEO_ISO2, + GEO_ISO3, + GEO_RFC1766, + GEO_LCID, + GEO_FRIENDLYNAME, + GEO_OFFICIALNAME, + GEO_TIMEZONES, + GEO_OFFICIALLANGUAGES, + GEO_ISO_UN_NUMBER, + GEO_PARENT, + GEO_DIALINGCODE, + GEO_CURRENCYCODE, + GEO_CURRENCYSYMBOL +}; + +enum SYSGEOCLASS +{ + GEOCLASS_REGION = 14, + GEOCLASS_NATION = 16 +}; + +#define GEOID_NOT_AVAILABLE (-1) + + +/* NLS Functions. + */ + +WINBASEAPI INT WINAPI CompareStringA(LCID,DWORD,LPCSTR,INT,LPCSTR,INT); +WINBASEAPI INT WINAPI CompareStringW(LCID,DWORD,LPCWSTR,INT,LPCWSTR,INT); +#define CompareString WINELIB_NAME_AW(CompareString) +WINBASEAPI INT WINAPI CompareStringEx(LPCWSTR,DWORD,LPCWSTR,INT,LPCWSTR,INT,LPNLSVERSIONINFO,LPVOID,LPARAM); +WINBASEAPI INT WINAPI CompareStringOrdinal(const WCHAR *,INT,const WCHAR *,INT,BOOL); +WINBASEAPI LCID WINAPI ConvertDefaultLocale(LCID); +WINBASEAPI BOOL WINAPI EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE); +WINBASEAPI BOOL WINAPI EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE); +#define EnumCalendarInfo WINELIB_NAME_AW(EnumCalendarInfo) +WINBASEAPI BOOL WINAPI EnumCalendarInfoExA(CALINFO_ENUMPROCEXA,LCID,CALID,CALTYPE); +WINBASEAPI BOOL WINAPI EnumCalendarInfoExW(CALINFO_ENUMPROCEXW,LCID,CALID,CALTYPE); +#define EnumCalendarInfoEx WINELIB_NAME_AW(EnumCalendarInfoEx) +WINBASEAPI BOOL WINAPI EnumCalendarInfoExEx(CALINFO_ENUMPROCEXEX,LPCWSTR,CALID,LPCWSTR,CALTYPE,LPARAM); +WINBASEAPI BOOL WINAPI EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD); +WINBASEAPI BOOL WINAPI EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD); +#define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats) +WINBASEAPI BOOL WINAPI EnumDateFormatsExA(DATEFMT_ENUMPROCEXA,LCID,DWORD); +WINBASEAPI BOOL WINAPI EnumDateFormatsExW(DATEFMT_ENUMPROCEXW,LCID,DWORD); +#define EnumDateFormatsEx WINELIB_NAME_AW(EnumDateFormatsEx) +WINBASEAPI BOOL WINAPI EnumDateFormatsExEx(DATEFMT_ENUMPROCEXEX,LPCWSTR,DWORD,LPARAM); +WINBASEAPI BOOL WINAPI EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD); +WINBASEAPI BOOL WINAPI EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD); +#define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages) +WINBASEAPI BOOL WINAPI EnumSystemGeoID(GEOCLASS,GEOID,GEO_ENUMPROC); +WINBASEAPI BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD); +WINBASEAPI BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD); +#define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales) +WINBASEAPI BOOL WINAPI EnumSystemLocalesEx(LOCALE_ENUMPROCEX,DWORD,LPARAM,LPVOID); +WINBASEAPI BOOL WINAPI EnumSystemLanguageGroupsA(LANGUAGEGROUP_ENUMPROCA,DWORD,LONG_PTR); +WINBASEAPI BOOL WINAPI EnumSystemLanguageGroupsW(LANGUAGEGROUP_ENUMPROCW,DWORD,LONG_PTR); +#define EnumSystemLanguageGroups WINELIB_NAME_AW(EnumSystemLanguageGroups) +WINBASEAPI BOOL WINAPI EnumLanguageGroupLocalesA(LANGGROUPLOCALE_ENUMPROCA,LGRPID,DWORD,LONG_PTR); +WINBASEAPI BOOL WINAPI EnumLanguageGroupLocalesW(LANGGROUPLOCALE_ENUMPROCW,LGRPID,DWORD,LONG_PTR); +#define EnumLanguageGroupLocales WINELIB_NAME_AW(EnumLanguageGroupLocales) +WINBASEAPI BOOL WINAPI EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD); +WINBASEAPI BOOL WINAPI EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD); +#define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats) +WINBASEAPI BOOL WINAPI EnumTimeFormatsEx(TIMEFMT_ENUMPROCEX,LPCWSTR,DWORD,LPARAM); +WINBASEAPI BOOL WINAPI EnumUILanguagesA(UILANGUAGE_ENUMPROCA,DWORD,LONG_PTR); +WINBASEAPI BOOL WINAPI EnumUILanguagesW(UILANGUAGE_ENUMPROCW,DWORD,LONG_PTR); +#define EnumUILanguages WINELIB_NAME_AW(EnumUILanguages) +WINBASEAPI INT WINAPI FoldStringA(DWORD,LPCSTR,INT,LPSTR,INT); +WINBASEAPI INT WINAPI FoldStringW(DWORD,LPCWSTR,INT,LPWSTR,INT); +#define FoldString WINELIB_NAME_AW(FoldString) +WINBASEAPI UINT WINAPI GetACP(void); +WINBASEAPI BOOL WINAPI GetCPInfo(UINT,LPCPINFO); +WINBASEAPI BOOL WINAPI GetCPInfoExA(UINT,DWORD,LPCPINFOEXA); +WINBASEAPI BOOL WINAPI GetCPInfoExW(UINT,DWORD,LPCPINFOEXW); +#define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx) +WINBASEAPI INT WINAPI GetCalendarInfoA(LCID,DWORD,DWORD,LPSTR,INT,LPDWORD); +WINBASEAPI INT WINAPI GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD); +#define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo) +WINBASEAPI INT WINAPI GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,INT); +WINBASEAPI INT WINAPI GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,INT); +#define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat) +WINBASEAPI INT WINAPI GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT); +WINBASEAPI INT WINAPI GetDateFormatEx(LPCWSTR,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT,LPCWSTR); +WINBASEAPI INT WINAPI GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT); +#define GetDateFormat WINELIB_NAME_AW(GetDateFormat) +WINBASEAPI BOOL WINAPI GetFileMUIInfo(DWORD,PCWSTR,PFILEMUIINFO,DWORD*); +WINBASEAPI BOOL WINAPI GetFileMUIPath(DWORD,PCWSTR,PWSTR,PULONG,PWSTR,PULONG,PULONGLONG); +WINBASEAPI INT WINAPI GetGeoInfoA(GEOID,GEOTYPE,LPSTR,INT,LANGID); +WINBASEAPI INT WINAPI GetGeoInfoW(GEOID,GEOTYPE,LPWSTR,INT,LANGID); +#define GetGeoInfo WINELIB_NAME_AW(GetGeoInfo) +WINBASEAPI INT WINAPI GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT); +WINBASEAPI INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT); +#define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo) +WINBASEAPI INT WINAPI GetLocaleInfoEx(LPCWSTR,LCTYPE,LPWSTR,INT); +WINBASEAPI INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,INT); +WINBASEAPI INT WINAPI GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,INT); +#define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat) +WINBASEAPI UINT WINAPI GetOEMCP(void); +WINBASEAPI BOOL WINAPI GetProcessPreferredUILanguages(DWORD,PULONG,PZZWSTR,PULONG); +WINBASEAPI BOOL WINAPI GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD); +WINBASEAPI BOOL WINAPI GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD); +WINBASEAPI BOOL WINAPI GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD); +WINBASEAPI BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD); +#define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx) +WINBASEAPI LANGID WINAPI GetSystemDefaultLangID(void); +WINBASEAPI INT WINAPI GetSystemDefaultLocaleName(LPWSTR,int); +WINBASEAPI LCID WINAPI GetSystemDefaultLCID(void); +WINBASEAPI LANGID WINAPI GetSystemDefaultUILanguage(void); +WINBASEAPI BOOL WINAPI GetSystemPreferredUILanguages(DWORD,ULONG*,WCHAR*,ULONG*); +WINBASEAPI LCID WINAPI GetThreadLocale(void); +WINBASEAPI BOOL WINAPI GetThreadPreferredUILanguages(DWORD,ULONG*,WCHAR*,ULONG*); +WINBASEAPI LANGID WINAPI GetThreadUILanguage(void); +WINBASEAPI INT WINAPI GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT); +WINBASEAPI INT WINAPI GetTimeFormatEx(LPCWSTR,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT); +WINBASEAPI INT WINAPI GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT); +#define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat) +WINBASEAPI LANGID WINAPI GetUserDefaultLangID(void); +WINBASEAPI LCID WINAPI GetUserDefaultLCID(void); +WINBASEAPI INT WINAPI GetUserDefaultLocaleName(LPWSTR,int); +WINBASEAPI LANGID WINAPI GetUserDefaultUILanguage(void); +WINBASEAPI GEOID WINAPI GetUserGeoID(GEOCLASS); +WINNORMALIZEAPI INT WINAPI IdnToAscii(DWORD,LPCWSTR,INT,LPWSTR,INT); +WINNORMALIZEAPI INT WINAPI IdnToNameprepUnicode(DWORD,LPCWSTR,INT,LPWSTR,INT); +WINNORMALIZEAPI INT WINAPI IdnToUnicode(DWORD,LPCWSTR,INT,LPWSTR,INT); +WINBASEAPI BOOL WINAPI IsDBCSLeadByte(BYTE); +WINBASEAPI BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE); +WINNORMALIZEAPI BOOL WINAPI IsNormalizedString(NORM_FORM,LPCWSTR,INT); +WINBASEAPI BOOL WINAPI IsValidCodePage(UINT); +WINBASEAPI BOOL WINAPI IsValidLanguageGroup(LGRPID,DWORD); +WINBASEAPI BOOL WINAPI IsValidLocale(LCID,DWORD); +WINBASEAPI BOOL WINAPI IsValidLocaleName(LPCWSTR); +WINBASEAPI INT WINAPI LCIDToLocaleName(LCID,LPWSTR,INT,DWORD); +WINBASEAPI INT WINAPI LCMapStringA(LCID,DWORD,LPCSTR,INT,LPSTR,INT); +WINBASEAPI INT WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT); +#define LCMapString WINELIB_NAME_AW(LCMapString) +WINBASEAPI INT WINAPI LCMapStringEx(LPCWSTR,DWORD,LPCWSTR,INT,LPWSTR,INT,LPNLSVERSIONINFO,LPVOID,LPARAM); +WINBASEAPI LCID WINAPI LocaleNameToLCID(LPCWSTR,DWORD); +WINBASEAPI INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT); +WINNORMALIZEAPI INT WINAPI NormalizeString(NORM_FORM,LPCWSTR,INT,LPWSTR,INT); +WINBASEAPI INT WINAPI ResolveLocaleName(LPCWSTR,LPWSTR,INT); +WINBASEAPI INT WINAPI SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR); +WINBASEAPI INT WINAPI SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR); +#define SetCalendarInfo WINELIB_NAME_AW(SetCalendarInfo) +WINBASEAPI BOOL WINAPI SetLocaleInfoA(LCID,LCTYPE,LPCSTR); +WINBASEAPI BOOL WINAPI SetLocaleInfoW(LCID,LCTYPE,LPCWSTR); +#define SetLocaleInfo WINELIB_NAME_AW(SetLocaleInfo) +WINBASEAPI BOOL WINAPI SetThreadLocale(LCID); +WINBASEAPI LANGID WINAPI SetThreadUILanguage(LANGID); +WINBASEAPI BOOL WINAPI SetUserGeoID(GEOID); +WINBASEAPI INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,LPBOOL); + +#ifdef __cplusplus +} +#endif + +#endif /* !NONLS */ +#endif /* __WINE_WINNLS_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnls32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnls32.h new file mode 100644 index 0000000..caf4768 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnls32.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2005 Diego Petteno + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINNLS32_ +#define _WINNLS32_ + +#ifdef __cplusplus +extern "C" { +#endif + +UINT WINAPI WINNLSGetIMEHotkey(HWND); +BOOL WINAPI WINNLSEnableIME(HWND, BOOL); +BOOL WINAPI WINNLSGetEnableStatus(HWND); + +#ifdef __cplusplus +} +#endif + +#endif /* _WINNLS32_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnt.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnt.h new file mode 100644 index 0000000..25fdab4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnt.h @@ -0,0 +1,6066 @@ +/* + * Win32 definitions for Windows NT + * + * Copyright 1996 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINNT_ +#define _WINNT_ + +#include +#include + +#ifndef RC_INVOKED +#include +#include +#include +#endif + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _NTSYSTEM_ +#define NTSYSAPI +#else +#define NTSYSAPI DECLSPEC_IMPORT +#endif + +#define NTAPI __stdcall + +#ifndef MIDL_PASS +# if defined(_MSC_VER) +# define DECLSPEC_IMPORT __declspec(dllimport) +# elif defined(__MINGW32__) || defined(__CYGWIN__) +# define DECLSPEC_IMPORT __attribute__((dllimport)) +# else +# define DECLSPEC_IMPORT DECLSPEC_HIDDEN +# endif +#else +# define DECLSPEC_IMPORT +#endif + +#ifndef DECLSPEC_NORETURN +# if defined(_MSC_VER) && (_MSC_VER >= 1200) && !defined(MIDL_PASS) +# define DECLSPEC_NORETURN __declspec(noreturn) +# elif defined(__GNUC__) +# define DECLSPEC_NORETURN __attribute__((noreturn)) +# else +# define DECLSPEC_NORETURN +# endif +#endif + +#ifndef DECLSPEC_ALIGN +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) +# define DECLSPEC_ALIGN(x) __declspec(align(x)) +# elif defined(__GNUC__) +# define DECLSPEC_ALIGN(x) __attribute__((aligned(x))) +# else +# define DECLSPEC_ALIGN(x) +# endif +#endif + +#ifndef DECLSPEC_CACHEALIGN +# define DECLSPEC_CACHEALIGN DECLSPEC_ALIGN(128) +#endif + +#ifndef DECLSPEC_UUID +# if defined(_MSC_VER) && (_MSC_VER >= 1100) && defined (__cplusplus) +# define DECLSPEC_UUID(x) __declspec(uuid(x)) +# else +# define DECLSPEC_UUID(x) +# endif +#endif + +#ifndef DECLSPEC_NOVTABLE +# if defined(_MSC_VER) && (_MSC_VER >= 1100) && defined(__cplusplus) +# define DECLSPEC_NOVTABLE __declspec(novtable) +# else +# define DECLSPEC_NOVTABLE +# endif +#endif + +#ifndef DECLSPEC_SELECTANY +#if defined(_MSC_VER) && (_MSC_VER >= 1100) +#define DECLSPEC_SELECTANY __declspec(selectany) +#else +#define DECLSPEC_SELECTANY +#endif +#endif + +#ifndef NOP_FUNCTION +# if defined(_MSC_VER) && (_MSC_VER >= 1210) +# define NOP_FUNCTION __noop +# else +# define NOP_FUNCTION (void)0 +# endif +#endif + +#ifndef DECLSPEC_ADDRSAFE +# if defined(_MSC_VER) && (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64)) +# define DECLSPEC_ADDRSAFE __declspec(address_safe) +# else +# define DECLSPEC_ADDRSAFE +# endif +#endif + +#ifndef FORCEINLINE +# if defined(_MSC_VER) && (_MSC_VER >= 1200) +# define FORCEINLINE __forceinline +# elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) +# define FORCEINLINE inline __attribute__((always_inline)) +# else +# define FORCEINLINE inline +# endif +#endif + +#ifndef DECLSPEC_DEPRECATED +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) +# define DECLSPEC_DEPRECATED __declspec(deprecated) +# define DEPRECATE_SUPPORTED +# elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) +# define DECLSPEC_DEPRECATED __attribute__((deprecated)) +# define DEPRECATE_SUPPORTED +# else +# define DECLSPEC_DEPRECATED +# undef DEPRECATE_SUPPORTED +# endif +#endif + +/* a couple of useful Wine extensions */ + +#ifdef _MSC_VER +# define DECLSPEC_EXPORT __declspec(dllexport) +#elif defined(__MINGW32__) +# define DECLSPEC_EXPORT __attribute__((dllexport)) +#elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) && !defined(__sun) +# define DECLSPEC_EXPORT __attribute__((visibility ("default"))) +#else +# define DECLSPEC_EXPORT +#endif + +#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__) || defined(__sun) +# define DECLSPEC_HIDDEN +#elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) +# define DECLSPEC_HIDDEN __attribute__((visibility ("hidden"))) +#else +# define DECLSPEC_HIDDEN +#endif + +#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))) +#define __WINE_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) +#else +#define __WINE_ALLOC_SIZE(x) +#endif + +/* Anonymous union/struct handling */ + +#ifndef NONAMELESSSTRUCT +# ifdef __GNUC__ + /* Anonymous struct support starts with gcc 2.96 or gcc/g++ 3.x */ +# if (__GNUC__ < 2) || ((__GNUC__ == 2) && (defined(__cplusplus) || (__GNUC_MINOR__ < 96))) +# define NONAMELESSSTRUCT +# endif +# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) +# define NONAMELESSSTRUCT +# endif +#endif /* NONAMELESSSTRUCT */ + +#ifndef NONAMELESSUNION +# ifdef __GNUC__ + /* Anonymous unions support starts with gcc 2.96/g++ 2.95 */ +# if (__GNUC__ < 2) || ((__GNUC__ == 2) && ((__GNUC_MINOR__ < 95) || ((__GNUC_MINOR__ == 95) && !defined(__cplusplus)))) +# define NONAMELESSUNION +# endif +# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) +# define NONAMELESSUNION +# endif +#endif /* NONAMELESSUNION */ + +#undef DUMMYSTRUCTNAME +#undef DUMMYSTRUCTNAME1 +#undef DUMMYSTRUCTNAME2 +#undef DUMMYSTRUCTNAME3 +#undef DUMMYSTRUCTNAME4 +#undef DUMMYSTRUCTNAME5 +#ifndef NONAMELESSSTRUCT +#define DUMMYSTRUCTNAME +#define DUMMYSTRUCTNAME1 +#define DUMMYSTRUCTNAME2 +#define DUMMYSTRUCTNAME3 +#define DUMMYSTRUCTNAME4 +#define DUMMYSTRUCTNAME5 +#else /* !defined(NONAMELESSSTRUCT) */ +#define DUMMYSTRUCTNAME s +#define DUMMYSTRUCTNAME1 s1 +#define DUMMYSTRUCTNAME2 s2 +#define DUMMYSTRUCTNAME3 s3 +#define DUMMYSTRUCTNAME4 s4 +#define DUMMYSTRUCTNAME5 s5 +#endif /* !defined(NONAMELESSSTRUCT) */ + +#undef DUMMYUNIONNAME +#undef DUMMYUNIONNAME1 +#undef DUMMYUNIONNAME2 +#undef DUMMYUNIONNAME3 +#undef DUMMYUNIONNAME4 +#undef DUMMYUNIONNAME5 +#undef DUMMYUNIONNAME6 +#undef DUMMYUNIONNAME7 +#undef DUMMYUNIONNAME8 +#ifndef NONAMELESSUNION +#define DUMMYUNIONNAME +#define DUMMYUNIONNAME1 +#define DUMMYUNIONNAME2 +#define DUMMYUNIONNAME3 +#define DUMMYUNIONNAME4 +#define DUMMYUNIONNAME5 +#define DUMMYUNIONNAME6 +#define DUMMYUNIONNAME7 +#define DUMMYUNIONNAME8 +#else /* !defined(NONAMELESSUNION) */ +#define DUMMYUNIONNAME u +#define DUMMYUNIONNAME1 u1 +#define DUMMYUNIONNAME2 u2 +#define DUMMYUNIONNAME3 u3 +#define DUMMYUNIONNAME4 u4 +#define DUMMYUNIONNAME5 u5 +#define DUMMYUNIONNAME6 u6 +#define DUMMYUNIONNAME7 u7 +#define DUMMYUNIONNAME8 u8 +#endif /* !defined(NONAMELESSUNION) */ + +#undef __C89_NAMELESS +#undef __C89_NAMELESSSTRUCTNAME +#undef __C89_NAMELESSSTRUCTNAME1 +#undef __C89_NAMELESSSTRUCTNAME2 +#undef __C89_NAMELESSSTRUCTNAME3 +#undef __C89_NAMELESSSTRUCTNAME4 +#undef __C89_NAMELESSSTRUCTNAME5 +#undef __C89_NAMELESSUNIONNAME +#undef __C89_NAMELESSUNIONNAME1 +#undef __C89_NAMELESSUNIONNAME2 +#undef __C89_NAMELESSUNIONNAME3 +#undef __C89_NAMELESSUNIONNAME4 +#undef __C89_NAMELESSUNIONNAME5 +#undef __C89_NAMELESSUNIONNAME6 +#undef __C89_NAMELESSUNIONNAME7 +#undef __C89_NAMELESSUNIONNAME8 + +#if !defined(__WINESRC__) && !defined(WINE_NO_NAMELESS_EXTENSION) +# ifdef __GNUC__ + /* Anonymous structs support starts with gcc 2.96/g++ 2.95 */ +# if (__GNUC__ > 2) || ((__GNUC__ == 2) && ((__GNUC_MINOR__ > 95) || ((__GNUC_MINOR__ == 95) && defined(__cplusplus)))) +# define __C89_NAMELESS __extension__ +# endif +# elif defined(_MSC_VER) +# define __C89_NAMELESS +# endif +#endif + +#ifdef __C89_NAMELESS +# define __C89_NAMELESSSTRUCTNAME +# define __C89_NAMELESSSTRUCTNAME1 +# define __C89_NAMELESSSTRUCTNAME2 +# define __C89_NAMELESSSTRUCTNAME3 +# define __C89_NAMELESSSTRUCTNAME4 +# define __C89_NAMELESSSTRUCTNAME5 +# define __C89_NAMELESSUNIONNAME +# define __C89_NAMELESSUNIONNAME1 +# define __C89_NAMELESSUNIONNAME2 +# define __C89_NAMELESSUNIONNAME3 +# define __C89_NAMELESSUNIONNAME4 +# define __C89_NAMELESSUNIONNAME5 +# define __C89_NAMELESSUNIONNAME6 +# define __C89_NAMELESSUNIONNAME7 +# define __C89_NAMELESSUNIONNAME8 +#else +# define __C89_NAMELESS +# define __C89_NAMELESSSTRUCTNAME DUMMYSTRUCTNAME +# define __C89_NAMELESSSTRUCTNAME1 DUMMYSTRUCTNAME1 +# define __C89_NAMELESSSTRUCTNAME2 DUMMYSTRUCTNAME2 +# define __C89_NAMELESSSTRUCTNAME3 DUMMYSTRUCTNAME3 +# define __C89_NAMELESSSTRUCTNAME4 DUMMYSTRUCTNAME4 +# define __C89_NAMELESSSTRUCTNAME5 DUMMYSTRUCTNAME5 +# define __C89_NAMELESSUNIONNAME DUMMYUNIONNAME +# define __C89_NAMELESSUNIONNAME1 DUMMYUNIONNAME1 +# define __C89_NAMELESSUNIONNAME2 DUMMYUNIONNAME2 +# define __C89_NAMELESSUNIONNAME3 DUMMYUNIONNAME3 +# define __C89_NAMELESSUNIONNAME4 DUMMYUNIONNAME4 +# define __C89_NAMELESSUNIONNAME5 DUMMYUNIONNAME5 +# define __C89_NAMELESSUNIONNAME6 DUMMYUNIONNAME6 +# define __C89_NAMELESSUNIONNAME7 DUMMYUNIONNAME7 +# define __C89_NAMELESSUNIONNAME8 DUMMYUNIONNAME8 +#endif + +/* C99 restrict support */ + +#if defined(ENABLE_RESTRICTED) && !defined(MIDL_PASS) && !defined(RC_INVOKED) +# if defined(_MSC_VER) && defined(_M_MRX000) +# define RESTRICTED_POINTER __restrict +# elif defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95))) +# define RESTRICTED_POINTER __restrict +# else +# define RESTRICTED_POINTER +# endif +#else +# define RESTRICTED_POINTER +#endif + +/* C99 unaligned support */ + +#ifndef UNALIGNED +#if defined(_MSC_VER) && (defined(_M_MRX000) || defined(_M_ALPHA) || defined(_M_PPC) || defined(_M_IA64) || defined(_M_AMD64)) +# define UNALIGNED __unaligned +# ifdef _WIN64 +# define UNALIGNED64 __unaligned +# else +# define UNALIGNED64 +# endif +#else +# define UNALIGNED +# define UNALIGNED64 +#endif +#endif + +/* Alignment macros */ + +#if defined(_WIN64) || (defined(_MSC_VER) && defined(_M_ALPHA)) || defined(__alpha__) +#define MAX_NATURAL_ALIGNMENT sizeof(ULONGLONG) +#define MEMORY_ALLOCATION_ALIGNMENT 16 +#else +#define MAX_NATURAL_ALIGNMENT sizeof(DWORD) +#define MEMORY_ALLOCATION_ALIGNMENT 8 +#endif + +#if defined(_MSC_VER) && (_MSC_VER >= 1300) && defined(__cplusplus) +# define TYPE_ALIGNMENT(t) __alignof(t) +#elif defined(__GNUC__) +# define TYPE_ALIGNMENT(t) __alignof__(t) +#else +# define TYPE_ALIGNMENT(t) FIELD_OFFSET(struct { char x; t test; }, test) +#endif + +#ifdef _WIN64 +# define PROBE_ALIGNMENT(_s) \ + (TYPE_ALIGNMENT(_s) > TYPE_ALIGNMENT(DWORD) ? \ + TYPE_ALIGNMENT(_s) : TYPE_ALIGNMENT(DWORD)) +# define PROBE_ALIGNMENT32(_s) TYPE_ALIGNMENT(DWORD) +#else +# define PROBE_ALIGNMENT(_s) TYPE_ALIGNMENT(DWORD) +#endif + +/* Compile time assertion */ + +#if defined(_MSC_VER) +# define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1] +#else +# define C_ASSERT(e) extern void __C_ASSERT__(int [(e)?1:-1]) +#endif + +/* Eliminate Microsoft C/C++ compiler warning 4715 */ +#if defined(_MSC_VER) && (_MSC_VER > 1200) +# define DEFAULT_UNREACHABLE default: __assume(0) +#elif defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)))) +# define DEFAULT_UNREACHABLE default: __builtin_unreachable() +#else +# define DEFAULT_UNREACHABLE default: +#endif + +/* Error Masks */ +#define APPLICATION_ERROR_MASK 0x20000000 +#define ERROR_SEVERITY_SUCCESS 0x00000000 +#define ERROR_SEVERITY_INFORMATIONAL 0x40000000 +#define ERROR_SEVERITY_WARNING 0x80000000 +#define ERROR_SEVERITY_ERROR 0xC0000000 + +#ifdef __cplusplus +#define DEFINE_ENUM_FLAG_OPERATORS(ENUMTYPE) \ +extern "C++" { \ + inline ENUMTYPE operator | (ENUMTYPE a, ENUMTYPE b) { return ENUMTYPE(((int)a)|((int)b)); } \ + inline ENUMTYPE operator |= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((int &)a) |= ((int)b)); } \ + inline ENUMTYPE operator & (ENUMTYPE a, ENUMTYPE b) { return ENUMTYPE(((int)a)&((int)b)); } \ + inline ENUMTYPE operator &= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((int &)a) &= ((int)b)); } \ + inline ENUMTYPE operator ~ (ENUMTYPE a) { return (ENUMTYPE)(~((int)a)); } \ + inline ENUMTYPE operator ^ (ENUMTYPE a, ENUMTYPE b) { return ENUMTYPE(((int)a)^((int)b)); } \ + inline ENUMTYPE operator ^= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((int &)a) ^= ((int)b)); } \ +} +#else +#define DEFINE_ENUM_FLAG_OPERATORS(ENUMTYPE) /* */ +#endif + +/* Microsoft's macros for declaring functions */ + +#ifdef __cplusplus +# define EXTERN_C extern "C" +#else +# define EXTERN_C extern +#endif + +#define STDMETHODCALLTYPE __stdcall +#define STDMETHODVCALLTYPE __cdecl +#define STDAPICALLTYPE __stdcall +#define STDAPIVCALLTYPE __cdecl + +#define STDAPI EXTERN_C HRESULT STDAPICALLTYPE +#define STDAPI_(type) EXTERN_C type STDAPICALLTYPE +#define STDMETHODIMP HRESULT STDMETHODCALLTYPE +#define STDMETHODIMP_(type) type STDMETHODCALLTYPE +#define STDAPIV EXTERN_C HRESULT STDAPIVCALLTYPE +#define STDAPIV_(type) EXTERN_C type STDAPIVCALLTYPE +#define STDMETHODIMPV HRESULT STDMETHODVCALLTYPE +#define STDMETHODIMPV_(type) type STDMETHODVCALLTYPE + +/* Define the basic types */ +#ifndef VOID +#define VOID void +#endif +typedef VOID *PVOID; +typedef VOID *PVOID64; +typedef BYTE BOOLEAN, *PBOOLEAN; +typedef char CHAR, *PCHAR; +typedef short SHORT, *PSHORT; +#ifdef _MSC_VER +typedef long LONG, *PLONG; +#else +typedef int LONG, *PLONG; +#endif + +/* Some systems might have wchar_t, but we really need 16 bit characters */ +#ifdef WINE_UNICODE_NATIVE +typedef wchar_t WCHAR, *PWCHAR; +#else +typedef unsigned short WCHAR, *PWCHAR; +#endif + +typedef ULONG UCSCHAR; +#define MIN_UCSCHAR (0) +#define MAX_UCSCHAR (0x0010ffff) +#define UCSCHAR_INVALID_CHARACTER (0xffffffff) + +/* 'Extended/Wide' numerical types */ +#ifndef _ULONGLONG_ +# define _ULONGLONG_ +# ifdef _MSC_VER +typedef signed __int64 LONGLONG, *PLONGLONG; +typedef unsigned __int64 ULONGLONG, *PULONGLONG; +# else +typedef signed __int64 DECLSPEC_ALIGN(8) LONGLONG, *PLONGLONG; +typedef unsigned __int64 DECLSPEC_ALIGN(8) ULONGLONG, *PULONGLONG; +# endif +#endif + +#ifndef _DWORDLONG_ +# define _DWORDLONG_ +# ifdef _MSC_VER +typedef ULONGLONG DWORDLONG, *PDWORDLONG; +# else +typedef ULONGLONG DECLSPEC_ALIGN(8) DWORDLONG, *PDWORDLONG; +# endif +#endif + +/* ANSI string types */ +typedef CHAR *PCH, *LPCH, *PNZCH; +typedef const CHAR *PCCH, *LPCCH, *PCNZCH; +typedef CHAR *PSTR, *LPSTR, *NPSTR; +typedef const CHAR *PCSTR, *LPCSTR; +typedef CHAR *PZZSTR; +typedef const CHAR *PCZZSTR; + +/* Unicode string types */ +typedef const WCHAR *PCWCHAR, *LPCUWCHAR, *PCUWCHAR; +typedef WCHAR *PWCH, *LPWCH; +typedef const WCHAR *PCWCH, *LPCWCH; +typedef WCHAR *PNZWCH, *PUNZWCH; +typedef const WCHAR *PCNZWCH, *PCUNZWCH; +typedef WCHAR *PWSTR, *LPWSTR, *NWPSTR; +typedef const WCHAR *PCWSTR, *LPCWSTR; +typedef WCHAR *PZZWSTR, *PUZZWSTR; +typedef const WCHAR *PCZZWSTR, *PCUZZWSTR; +typedef PWSTR *PZPWSTR; +typedef PCWSTR *PZPCWSTR; + +/* Neutral character and string types */ +/* These are only defined for Winelib, i.e. _not_ defined for + * the emulator. The reason is they depend on the UNICODE + * macro which only exists in the user's code. + */ +#ifndef WINE_NO_UNICODE_MACROS +# ifdef UNICODE +# ifndef _TCHAR_DEFINED +typedef WCHAR TCHAR, *PTCHAR; +# define _TCHAR_DEFINED +#endif +typedef LPWCH PTCH, LPTCH; +typedef LPCWCH PCTCH, LPCTCH; +typedef LPWSTR PTSTR, LPTSTR; +typedef LPCWSTR PCTSTR, LPCTSTR; +typedef LPWSTR PUTSTR, LPUTSTR; +typedef LPCWSTR PCUTSTR, LPCUTSTR; +typedef PNZWCH PNZTCH; +typedef PUNZWCH PUNZTCH; +typedef PCNZWCH PCNZTCH; +typedef PCUNZWCH PCUNZTCH; +typedef PZZWSTR PZZTSTR; +typedef PCZZWSTR PCZZTSTR; +typedef PUZZWSTR PUZZTSTR; +typedef PCUZZWSTR PCUZZTSTR; +# else /* UNICODE */ +# ifndef _TCHAR_DEFINED +typedef CHAR TCHAR, *PTCHAR; +# define _TCHAR_DEFINED +# endif +typedef LPCH PTCH, LPTCH; +typedef LPCCH PCTCH, LPCTCH; +typedef LPSTR PTSTR, LPTSTR; +typedef LPCSTR PCTSTR, LPCTSTR; +typedef PNZCH PNZTCH, PUNZTCH; +typedef PCNZCH PCNZTCH, PCUNZTCH; +typedef PZZSTR PZZTSTR, PUZZTSTR; +typedef PCZZSTR PCZZTSTR, PCUZZTSTR; +# endif /* UNICODE */ +#endif /* WINE_NO_UNICODE_MACROS */ + +/* UCS string types */ +typedef UCSCHAR *PUCSCHAR, *PUUCSCHAR; +typedef const UCSCHAR *PCUCSCHAR, *PCUUCSCHAR; +typedef UCSCHAR *PUCSSTR, *PUUCSSTR; +typedef const UCSCHAR *PCUCSSTR, *PCUUCSSTR; + +/* Misc common WIN32 types */ +typedef char CCHAR; +typedef DWORD LCID, *PLCID; +typedef WORD LANGID; +typedef DWORD EXECUTION_STATE; +#ifndef _HRESULT_DEFINED +#define _HRESULT_DEFINED +typedef LONG HRESULT; +#endif + +/* Handle type */ + +typedef void *HANDLE; +typedef HANDLE *PHANDLE, *LPHANDLE; + +#ifdef STRICT +#define DECLARE_HANDLE(a) typedef struct a##__ { int unused; } *a +#else /*STRICT*/ +#define DECLARE_HANDLE(a) typedef HANDLE a +#endif /*STRICT*/ + +typedef BYTE FCHAR; +typedef WORD FSHORT; +typedef DWORD FLONG; + +/* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */ +#ifndef __MSABI_LONG +# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__) +# define __MSABI_LONG(x) x ## l +# else +# define __MSABI_LONG(x) x +# endif +#endif + +/* Defines */ + +#ifndef WIN32_NO_STATUS + +#define STATUS_WAIT_0 ((DWORD) 0x00000000) +#define STATUS_ABANDONED_WAIT_0 ((DWORD) 0x00000080) +#define STATUS_USER_APC ((DWORD) 0x000000C0) +#define STATUS_TIMEOUT ((DWORD) 0x00000102) +#define STATUS_PENDING ((DWORD) 0x00000103) +#define STATUS_SEGMENT_NOTIFICATION ((DWORD) 0x40000005) +#define STATUS_GUARD_PAGE_VIOLATION ((DWORD) 0x80000001) +#define STATUS_DATATYPE_MISALIGNMENT ((DWORD) 0x80000002) +#define STATUS_BREAKPOINT ((DWORD) 0x80000003) +#define STATUS_SINGLE_STEP ((DWORD) 0x80000004) +#define STATUS_ACCESS_VIOLATION ((DWORD) 0xC0000005) +#define STATUS_IN_PAGE_ERROR ((DWORD) 0xC0000006) +#define STATUS_INVALID_HANDLE ((DWORD) 0xC0000008) +#define STATUS_NO_MEMORY ((DWORD) 0xC0000017) +#define STATUS_ILLEGAL_INSTRUCTION ((DWORD) 0xC000001D) +#define STATUS_NONCONTINUABLE_EXCEPTION ((DWORD) 0xC0000025) +#define STATUS_INVALID_DISPOSITION ((DWORD) 0xC0000026) +#define STATUS_ARRAY_BOUNDS_EXCEEDED ((DWORD) 0xC000008C) +#define STATUS_FLOAT_DENORMAL_OPERAND ((DWORD) 0xC000008D) +#define STATUS_FLOAT_DIVIDE_BY_ZERO ((DWORD) 0xC000008E) +#define STATUS_FLOAT_INEXACT_RESULT ((DWORD) 0xC000008F) +#define STATUS_FLOAT_INVALID_OPERATION ((DWORD) 0xC0000090) +#define STATUS_FLOAT_OVERFLOW ((DWORD) 0xC0000091) +#define STATUS_FLOAT_STACK_CHECK ((DWORD) 0xC0000092) +#define STATUS_FLOAT_UNDERFLOW ((DWORD) 0xC0000093) +#define STATUS_INTEGER_DIVIDE_BY_ZERO ((DWORD) 0xC0000094) +#define STATUS_INTEGER_OVERFLOW ((DWORD) 0xC0000095) +#define STATUS_PRIVILEGED_INSTRUCTION ((DWORD) 0xC0000096) +#define STATUS_STACK_OVERFLOW ((DWORD) 0xC00000FD) +#define STATUS_CONTROL_C_EXIT ((DWORD) 0xC000013A) +#define STATUS_FLOAT_MULTIPLE_FAULTS ((DWORD) 0xC00002B4) +#define STATUS_FLOAT_MULTIPLE_TRAPS ((DWORD) 0xC00002B5) +#define STATUS_REG_NAT_CONSUMPTION ((DWORD) 0xC00002C9) +#define STATUS_SXS_EARLY_DEACTIVATION ((DWORD) 0xC015000F) +#define STATUS_SXS_INVALID_DEACTIVATION ((DWORD) 0xC0150010) + +/* status values for ContinueDebugEvent */ +#define DBG_EXCEPTION_HANDLED ((DWORD) 0x00010001) +#define DBG_CONTINUE ((DWORD) 0x00010002) +#define DBG_TERMINATE_THREAD ((DWORD) 0x40010003) +#define DBG_TERMINATE_PROCESS ((DWORD) 0x40010004) +#define DBG_CONTROL_C ((DWORD) 0x40010005) +#define DBG_PRINTEXCEPTION_C ((DWORD) 0x40010006) +#define DBG_RIPEXCEPTION ((DWORD) 0x40010007) +#define DBG_CONTROL_BREAK ((DWORD) 0x40010008) +#define DBG_COMMAND_EXCEPTION ((DWORD) 0x40010009) +#define DBG_EXCEPTION_NOT_HANDLED ((DWORD) 0x80010001) + +#endif /* WIN32_NO_STATUS */ + +/* Argument 1 passed to the DllEntryProc. */ +#define DLL_PROCESS_DETACH 0 /* detach process (unload library) */ +#define DLL_PROCESS_ATTACH 1 /* attach process (load library) */ +#define DLL_THREAD_ATTACH 2 /* attach new thread */ +#define DLL_THREAD_DETACH 3 /* detach thread */ +#ifdef __WINESRC__ +#define DLL_WINE_PREATTACH 8 /* called before process attach for Wine builtins */ +#endif + +/* u.x.wProcessorArchitecture (NT) */ +#define PROCESSOR_ARCHITECTURE_INTEL 0 +#define PROCESSOR_ARCHITECTURE_MIPS 1 +#define PROCESSOR_ARCHITECTURE_ALPHA 2 +#define PROCESSOR_ARCHITECTURE_PPC 3 +#define PROCESSOR_ARCHITECTURE_SHX 4 +#define PROCESSOR_ARCHITECTURE_ARM 5 +#define PROCESSOR_ARCHITECTURE_IA64 6 +#define PROCESSOR_ARCHITECTURE_ALPHA64 7 +#define PROCESSOR_ARCHITECTURE_MSIL 8 +#define PROCESSOR_ARCHITECTURE_AMD64 9 +#define PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 10 +#define PROCESSOR_ARCHITECTURE_NEUTRAL 11 +#define PROCESSOR_ARCHITECTURE_ARM64 12 +#define PROCESSOR_ARCHITECTURE_UNKNOWN 0xFFFF + +/* dwProcessorType */ +#define PROCESSOR_INTEL_386 386 +#define PROCESSOR_INTEL_486 486 +#define PROCESSOR_INTEL_PENTIUM 586 +#define PROCESSOR_INTEL_860 860 +#define PROCESSOR_INTEL_IA64 2200 +#define PROCESSOR_AMD_X8664 8664 +#define PROCESSOR_MIPS_R2000 2000 +#define PROCESSOR_MIPS_R3000 3000 +#define PROCESSOR_MIPS_R4000 4000 +#define PROCESSOR_ALPHA_21064 21064 +#define PROCESSOR_PPC_601 601 +#define PROCESSOR_PPC_603 603 +#define PROCESSOR_PPC_604 604 +#define PROCESSOR_PPC_620 620 +#define PROCESSOR_HITACHI_SH3 10003 +#define PROCESSOR_HITACHI_SH3E 10004 +#define PROCESSOR_HITACHI_SH4 10005 +#define PROCESSOR_MOTOROLA_821 821 +#define PROCESSOR_SHx_SH3 103 +#define PROCESSOR_SHx_SH4 104 +#define PROCESSOR_STRONGARM 2577 +#define PROCESSOR_ARM720 1824 /* 0x720 */ +#define PROCESSOR_ARM820 2080 /* 0x820 */ +#define PROCESSOR_ARM920 2336 /* 0x920 */ +#define PROCESSOR_ARM_7TDMI 70001 +#define PROCESSOR_OPTIL 18767 + +#ifdef _WIN64 +#define MAXIMUM_PROCESSORS 64 +#else +#define MAXIMUM_PROCESSORS 32 +#endif + +typedef struct _MEMORY_BASIC_INFORMATION +{ + LPVOID BaseAddress; + LPVOID AllocationBase; + DWORD AllocationProtect; + SIZE_T RegionSize; + DWORD State; + DWORD Protect; + DWORD Type; +} MEMORY_BASIC_INFORMATION, *PMEMORY_BASIC_INFORMATION; + +#define PAGE_NOACCESS 0x01 +#define PAGE_READONLY 0x02 +#define PAGE_READWRITE 0x04 +#define PAGE_WRITECOPY 0x08 +#define PAGE_EXECUTE 0x10 +#define PAGE_EXECUTE_READ 0x20 +#define PAGE_EXECUTE_READWRITE 0x40 +#define PAGE_EXECUTE_WRITECOPY 0x80 +#define PAGE_GUARD 0x100 +#define PAGE_NOCACHE 0x200 +#define PAGE_WRITECOMBINE 0x400 + +#define MEM_COMMIT 0x00001000 +#define MEM_RESERVE 0x00002000 +#define MEM_DECOMMIT 0x00004000 +#define MEM_RELEASE 0x00008000 +#define MEM_FREE 0x00010000 +#define MEM_PRIVATE 0x00020000 +#define MEM_MAPPED 0x00040000 +#define MEM_RESET 0x00080000 +#define MEM_TOP_DOWN 0x00100000 +#define MEM_WRITE_WATCH 0x00200000 +#define MEM_PHYSICAL 0x00400000 +#define MEM_LARGE_PAGES 0x20000000 +#define MEM_4MB_PAGES 0x80000000 + +#define SEC_FILE 0x00800000 +#define SEC_IMAGE 0x01000000 +#define SEC_PROTECTED_IMAGE 0x02000000 +#define SEC_RESERVE 0x04000000 +#define SEC_COMMIT 0x08000000 +#define SEC_NOCACHE 0x10000000 +#define SEC_WRITECOMBINE 0x40000000 +#define SEC_LARGE_PAGES 0x80000000 +#define SEC_IMAGE_NO_EXECUTE (SEC_IMAGE | SEC_NOCACHE) +#define MEM_IMAGE SEC_IMAGE + +#define WRITE_WATCH_FLAG_RESET 0x00000001 + +#define AT_ROUND_TO_PAGE 0x40000000 + +#define MINCHAR 0x80 +#define MAXCHAR 0x7f +#define MINSHORT 0x8000 +#define MAXSHORT 0x7fff +#define MINLONG 0x80000000 +#define MAXLONG 0x7fffffff +#define MAXBYTE 0xff +#define MAXWORD 0xffff +#define MAXDWORD 0xffffffff +#define MAXLONGLONG (((LONGLONG)0x7fffffff << 32) | 0xffffffff) + +#define UNICODE_STRING_MAX_CHARS 32767 + +#define FIELD_OFFSET(type, field) ((LONG)offsetof(type, field)) + +#define CONTAINING_RECORD(address, type, field) \ + ((type *)((PCHAR)(address) - offsetof(type, field))) + +/* Types */ + +typedef struct _LIST_ENTRY { + struct _LIST_ENTRY *Flink; + struct _LIST_ENTRY *Blink; +} LIST_ENTRY, *PLIST_ENTRY, * RESTRICTED_POINTER PRLIST_ENTRY; + +typedef struct _SINGLE_LIST_ENTRY { + struct _SINGLE_LIST_ENTRY *Next; +} SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY; + +#ifdef _WIN64 + +typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY *PSLIST_ENTRY; +typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY { + PSLIST_ENTRY Next; +} SLIST_ENTRY; + +typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER { + struct { + ULONGLONG Alignment; + ULONGLONG Region; + } DUMMYSTRUCTNAME; + struct { + ULONGLONG Depth:16; + ULONGLONG Sequence:9; + ULONGLONG NextEntry:39; + ULONGLONG HeaderType:1; + ULONGLONG Init:1; + ULONGLONG Reserved:59; + ULONGLONG Region:3; + } Header8; + struct { + ULONGLONG Depth:16; + ULONGLONG Sequence:48; + ULONGLONG HeaderType:1; + ULONGLONG Init:1; + ULONGLONG Reserved:2; + ULONGLONG NextEntry:60; + } Header16; +} SLIST_HEADER, *PSLIST_HEADER; + +#else + +#undef SLIST_ENTRY /* for Mac OS */ +#define SLIST_ENTRY SINGLE_LIST_ENTRY +#define _SLIST_ENTRY _SINGLE_LIST_ENTRY +#define PSLIST_ENTRY PSINGLE_LIST_ENTRY + +typedef union _SLIST_HEADER { + ULONGLONG Alignment; + struct { + SLIST_ENTRY Next; + WORD Depth; + WORD Sequence; + } DUMMYSTRUCTNAME; +} SLIST_HEADER, *PSLIST_HEADER; + +#endif + +NTSYSAPI PSLIST_ENTRY WINAPI RtlFirstEntrySList(const SLIST_HEADER*); +NTSYSAPI VOID WINAPI RtlInitializeSListHead(PSLIST_HEADER); +NTSYSAPI PSLIST_ENTRY WINAPI RtlInterlockedFlushSList(PSLIST_HEADER); +NTSYSAPI PSLIST_ENTRY WINAPI RtlInterlockedPopEntrySList(PSLIST_HEADER); +NTSYSAPI PSLIST_ENTRY WINAPI RtlInterlockedPushEntrySList(PSLIST_HEADER, PSLIST_ENTRY); +NTSYSAPI WORD WINAPI RtlQueryDepthSList(PSLIST_HEADER); + + +/* Heap flags */ + +#define HEAP_NO_SERIALIZE 0x00000001 +#define HEAP_GROWABLE 0x00000002 +#define HEAP_GENERATE_EXCEPTIONS 0x00000004 +#define HEAP_ZERO_MEMORY 0x00000008 +#define HEAP_REALLOC_IN_PLACE_ONLY 0x00000010 +#define HEAP_TAIL_CHECKING_ENABLED 0x00000020 +#define HEAP_FREE_CHECKING_ENABLED 0x00000040 +#define HEAP_DISABLE_COALESCE_ON_FREE 0x00000080 +#define HEAP_CREATE_ALIGN_16 0x00010000 +#define HEAP_CREATE_ENABLE_TRACING 0x00020000 +#define HEAP_CREATE_ENABLE_EXECUTE 0x00040000 + +/* This flag allows it to create heaps shared by all processes under win95, + FIXME: correct name */ +#define HEAP_SHARED 0x04000000 + +typedef enum _HEAP_INFORMATION_CLASS { + HeapCompatibilityInformation, +} HEAP_INFORMATION_CLASS; + +/* Processor feature flags. */ +#define PF_FLOATING_POINT_PRECISION_ERRATA 0 +#define PF_FLOATING_POINT_EMULATED 1 +#define PF_COMPARE_EXCHANGE_DOUBLE 2 +#define PF_MMX_INSTRUCTIONS_AVAILABLE 3 +#define PF_PPC_MOVEMEM_64BIT_OK 4 +#define PF_ALPHA_BYTE_INSTRUCTIONS 5 +#define PF_XMMI_INSTRUCTIONS_AVAILABLE 6 +#define PF_3DNOW_INSTRUCTIONS_AVAILABLE 7 +#define PF_RDTSC_INSTRUCTION_AVAILABLE 8 +#define PF_PAE_ENABLED 9 +#define PF_XMMI64_INSTRUCTIONS_AVAILABLE 10 +#define PF_SSE_DAZ_MODE_AVAILABLE 11 +#define PF_NX_ENABLED 12 +#define PF_SSE3_INSTRUCTIONS_AVAILABLE 13 +#define PF_COMPARE_EXCHANGE128 14 +#define PF_COMPARE64_EXCHANGE128 15 +#define PF_CHANNELS_ENABLED 16 +#define PF_XSAVE_ENABLED 17 +#define PF_ARM_VFP_32_REGISTERS_AVAILABLE 18 +#define PF_ARM_NEON_INSTRUCTIONS_AVAILABLE 19 +#define PF_SECOND_LEVEL_ADDRESS_TRANSLATION 20 +#define PF_VIRT_FIRMWARE_ENABLED 21 +#define PF_RDWRFSGSBASE_AVAILABLE 22 +#define PF_FASTFAIL_AVAILABLE 23 +#define PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE 24 +#define PF_ARM_64BIT_LOADSTORE_ATOMIC 25 +#define PF_ARM_EXTERNAL_CACHE_AVAILABLE 26 +#define PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE 27 +#define PF_RDRAND_INSTRUCTION_AVAILABLE 28 +#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE 29 +#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE 30 +#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE 31 + + +/* Execution state flags */ +#define ES_SYSTEM_REQUIRED 0x00000001 +#define ES_DISPLAY_REQUIRED 0x00000002 +#define ES_USER_PRESENT 0x00000004 +#define ES_CONTINUOUS 0x80000000 + +/* The Win32 register context */ + +/* i386 context definitions */ +#ifdef __i386__ + +#define SIZE_OF_80387_REGISTERS 80 + +typedef struct _FLOATING_SAVE_AREA +{ + DWORD ControlWord; + DWORD StatusWord; + DWORD TagWord; + DWORD ErrorOffset; + DWORD ErrorSelector; + DWORD DataOffset; + DWORD DataSelector; + BYTE RegisterArea[SIZE_OF_80387_REGISTERS]; + DWORD Cr0NpxState; +} FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA; + +#define MAXIMUM_SUPPORTED_EXTENSION 512 + +typedef struct _CONTEXT +{ + DWORD ContextFlags; + + /* These are selected by CONTEXT_DEBUG_REGISTERS */ + DWORD Dr0; + DWORD Dr1; + DWORD Dr2; + DWORD Dr3; + DWORD Dr6; + DWORD Dr7; + + /* These are selected by CONTEXT_FLOATING_POINT */ + FLOATING_SAVE_AREA FloatSave; + + /* These are selected by CONTEXT_SEGMENTS */ + DWORD SegGs; + DWORD SegFs; + DWORD SegEs; + DWORD SegDs; + + /* These are selected by CONTEXT_INTEGER */ + DWORD Edi; + DWORD Esi; + DWORD Ebx; + DWORD Edx; + DWORD Ecx; + DWORD Eax; + + /* These are selected by CONTEXT_CONTROL */ + DWORD Ebp; + DWORD Eip; + DWORD SegCs; + DWORD EFlags; + DWORD Esp; + DWORD SegSs; + + BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION]; +} CONTEXT; + +#define CONTEXT_X86 0x00010000 +#define CONTEXT_i386 CONTEXT_X86 +#define CONTEXT_i486 CONTEXT_X86 + +#define CONTEXT_CONTROL (CONTEXT_i386 | 0x0001) /* SS:SP, CS:IP, FLAGS, BP */ +#define CONTEXT_INTEGER (CONTEXT_i386 | 0x0002) /* AX, BX, CX, DX, SI, DI */ +#define CONTEXT_SEGMENTS (CONTEXT_i386 | 0x0004) /* DS, ES, FS, GS */ +#define CONTEXT_FLOATING_POINT (CONTEXT_i386 | 0x0008) /* 387 state */ +#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386 | 0x0010) /* DB 0-3,6,7 */ +#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386 | 0x0020) +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS) +#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | \ + CONTEXT_FLOATING_POINT | CONTEXT_DEBUG_REGISTERS | CONTEXT_EXTENDED_REGISTERS) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +#endif /* __i386__ */ + +typedef struct _LDT_ENTRY { + WORD LimitLow; + WORD BaseLow; + union { + struct { + BYTE BaseMid; + BYTE Flags1; + BYTE Flags2; + BYTE BaseHi; + } Bytes; + struct { + unsigned BaseMid: 8; + unsigned Type : 5; + unsigned Dpl : 2; + unsigned Pres : 1; + unsigned LimitHi : 4; + unsigned Sys : 1; + unsigned Reserved_0 : 1; + unsigned Default_Big : 1; + unsigned Granularity : 1; + unsigned BaseHi : 8; + } Bits; + } HighWord; +} LDT_ENTRY, *PLDT_ENTRY; + +/* x86-64 context definitions */ +#if defined(__x86_64__) + +#define CONTEXT_AMD64 0x00100000 + +#define CONTEXT_CONTROL (CONTEXT_AMD64 | 0x0001) +#define CONTEXT_INTEGER (CONTEXT_AMD64 | 0x0002) +#define CONTEXT_SEGMENTS (CONTEXT_AMD64 | 0x0004) +#define CONTEXT_FLOATING_POINT (CONTEXT_AMD64 | 0x0008) +#define CONTEXT_DEBUG_REGISTERS (CONTEXT_AMD64 | 0x0010) +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT) +#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | CONTEXT_FLOATING_POINT | CONTEXT_DEBUG_REGISTERS) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +typedef struct DECLSPEC_ALIGN(16) _M128A { + ULONGLONG Low; + LONGLONG High; +} M128A, *PM128A; + +typedef struct _XMM_SAVE_AREA32 { + WORD ControlWord; /* 000 */ + WORD StatusWord; /* 002 */ + BYTE TagWord; /* 004 */ + BYTE Reserved1; /* 005 */ + WORD ErrorOpcode; /* 006 */ + DWORD ErrorOffset; /* 008 */ + WORD ErrorSelector; /* 00c */ + WORD Reserved2; /* 00e */ + DWORD DataOffset; /* 010 */ + WORD DataSelector; /* 014 */ + WORD Reserved3; /* 016 */ + DWORD MxCsr; /* 018 */ + DWORD MxCsr_Mask; /* 01c */ + M128A FloatRegisters[8]; /* 020 */ + M128A XmmRegisters[16]; /* 0a0 */ + BYTE Reserved4[96]; /* 1a0 */ +} XMM_SAVE_AREA32, *PXMM_SAVE_AREA32; + +typedef struct DECLSPEC_ALIGN(16) _CONTEXT { + DWORD64 P1Home; /* 000 */ + DWORD64 P2Home; /* 008 */ + DWORD64 P3Home; /* 010 */ + DWORD64 P4Home; /* 018 */ + DWORD64 P5Home; /* 020 */ + DWORD64 P6Home; /* 028 */ + + /* Control flags */ + DWORD ContextFlags; /* 030 */ + DWORD MxCsr; /* 034 */ + + /* Segment */ + WORD SegCs; /* 038 */ + WORD SegDs; /* 03a */ + WORD SegEs; /* 03c */ + WORD SegFs; /* 03e */ + WORD SegGs; /* 040 */ + WORD SegSs; /* 042 */ + DWORD EFlags; /* 044 */ + + /* Debug */ + DWORD64 Dr0; /* 048 */ + DWORD64 Dr1; /* 050 */ + DWORD64 Dr2; /* 058 */ + DWORD64 Dr3; /* 060 */ + DWORD64 Dr6; /* 068 */ + DWORD64 Dr7; /* 070 */ + + /* Integer */ + DWORD64 Rax; /* 078 */ + DWORD64 Rcx; /* 080 */ + DWORD64 Rdx; /* 088 */ + DWORD64 Rbx; /* 090 */ + DWORD64 Rsp; /* 098 */ + DWORD64 Rbp; /* 0a0 */ + DWORD64 Rsi; /* 0a8 */ + DWORD64 Rdi; /* 0b0 */ + DWORD64 R8; /* 0b8 */ + DWORD64 R9; /* 0c0 */ + DWORD64 R10; /* 0c8 */ + DWORD64 R11; /* 0d0 */ + DWORD64 R12; /* 0d8 */ + DWORD64 R13; /* 0e0 */ + DWORD64 R14; /* 0e8 */ + DWORD64 R15; /* 0f0 */ + + /* Counter */ + DWORD64 Rip; /* 0f8 */ + + /* Floating point */ + union { + XMM_SAVE_AREA32 FltSave; /* 100 */ + struct { + M128A Header[2]; /* 100 */ + M128A Legacy[8]; /* 120 */ + M128A Xmm0; /* 1a0 */ + M128A Xmm1; /* 1b0 */ + M128A Xmm2; /* 1c0 */ + M128A Xmm3; /* 1d0 */ + M128A Xmm4; /* 1e0 */ + M128A Xmm5; /* 1f0 */ + M128A Xmm6; /* 200 */ + M128A Xmm7; /* 210 */ + M128A Xmm8; /* 220 */ + M128A Xmm9; /* 230 */ + M128A Xmm10; /* 240 */ + M128A Xmm11; /* 250 */ + M128A Xmm12; /* 260 */ + M128A Xmm13; /* 270 */ + M128A Xmm14; /* 280 */ + M128A Xmm15; /* 290 */ + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + + /* Vector */ + M128A VectorRegister[26]; /* 300 */ + DWORD64 VectorControl; /* 4a0 */ + + /* Debug control */ + DWORD64 DebugControl; /* 4a8 */ + DWORD64 LastBranchToRip; /* 4b0 */ + DWORD64 LastBranchFromRip; /* 4b8 */ + DWORD64 LastExceptionToRip; /* 4c0 */ + DWORD64 LastExceptionFromRip; /* 4c8 */ +} CONTEXT; + +typedef struct _RUNTIME_FUNCTION +{ + DWORD BeginAddress; + DWORD EndAddress; + DWORD UnwindData; +} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; + +#define UNWIND_HISTORY_TABLE_SIZE 12 + +typedef struct _UNWIND_HISTORY_TABLE_ENTRY +{ + ULONG64 ImageBase; + PRUNTIME_FUNCTION FunctionEntry; +} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; + +#define UNWIND_HISTORY_TABLE_NONE 0 +#define UNWIND_HISTORY_TABLE_GLOBAL 1 +#define UNWIND_HISTORY_TABLE_LOCAL 2 + +typedef struct _UNWIND_HISTORY_TABLE +{ + ULONG Count; + UCHAR Search; + ULONG64 LowAddress; + ULONG64 HighAddress; + UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; +} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; + +typedef struct _KNONVOLATILE_CONTEXT_POINTERS +{ + union + { + PM128A FloatingContext[16]; + struct + { + PM128A Xmm0; + PM128A Xmm1; + PM128A Xmm2; + PM128A Xmm3; + PM128A Xmm4; + PM128A Xmm5; + PM128A Xmm6; + PM128A Xmm7; + PM128A Xmm8; + PM128A Xmm9; + PM128A Xmm10; + PM128A Xmm11; + PM128A Xmm12; + PM128A Xmm13; + PM128A Xmm14; + PM128A Xmm15; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + + union + { + PULONG64 IntegerContext[16]; + struct + { + PULONG64 Rax; + PULONG64 Rcx; + PULONG64 Rdx; + PULONG64 Rbx; + PULONG64 Rsp; + PULONG64 Rbp; + PULONG64 Rsi; + PULONG64 Rdi; + PULONG64 R8; + PULONG64 R9; + PULONG64 R10; + PULONG64 R11; + PULONG64 R12; + PULONG64 R13; + PULONG64 R14; + PULONG64 R15; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME2; +} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS; + +typedef PRUNTIME_FUNCTION (CALLBACK *PGET_RUNTIME_FUNCTION_CALLBACK)(DWORD64,PVOID); + +BOOLEAN CDECL RtlAddFunctionTable(RUNTIME_FUNCTION*,DWORD,DWORD64); +BOOLEAN CDECL RtlDeleteFunctionTable(RUNTIME_FUNCTION*); +BOOLEAN CDECL RtlInstallFunctionTableCallback(DWORD64,DWORD64,DWORD,PGET_RUNTIME_FUNCTION_CALLBACK,PVOID,PCWSTR); +PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry(DWORD64,DWORD64*,UNWIND_HISTORY_TABLE*); +PVOID WINAPI RtlVirtualUnwind(ULONG,ULONG64,ULONG64,RUNTIME_FUNCTION*,CONTEXT*,PVOID*,ULONG64*,KNONVOLATILE_CONTEXT_POINTERS*); + +#define UNW_FLAG_NHANDLER 0 +#define UNW_FLAG_EHANDLER 1 +#define UNW_FLAG_UHANDLER 2 +#define UNW_FLAG_CHAININFO 4 + +#endif /* __x86_64__ */ + +/* IA64 context definitions */ +#ifdef __ia64__ + +#define CONTEXT_IA64 0x00080000 +#define CONTEXT_CONTROL (CONTEXT_IA64 | 0x00000001) +#define CONTEXT_LOWER_FLOATING_POINT (CONTEXT_IA64 | 0x00000002) +#define CONTEXT_HIGHER_FLOATING_POINT (CONTEXT_IA64 | 0x00000004) +#define CONTEXT_INTEGER (CONTEXT_IA64 | 0x00000008) +#define CONTEXT_DEBUG (CONTEXT_IA64 | 0x00000010) +#define CONTEXT_IA32_CONTROL (CONTEXT_IA64 | 0x00000020) +#define CONTEXT_FLOATING_POINT (CONTEXT_LOWER_FLOATING_POINT | CONTEXT_HIGHER_FLOATING_POINT) +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER | CONTEXT_IA32_CONTROL) +#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER | CONTEXT_DEBUG | CONTEXT_IA32_CONTROL) + +#define CONTEXT_EXCEPTION_ACTIVE 0x8000000 +#define CONTEXT_SERVICE_ACTIVE 0x10000000 +#define CONTEXT_EXCEPTION_REQUEST 0x40000000 +#define CONTEXT_EXCEPTION_REPORTING 0x80000000 + +typedef struct _CONTEXT +{ + DWORD ContextFlags; + DWORD Fill1[3]; + ULONGLONG DbI0; + ULONGLONG DbI1; + ULONGLONG DbI2; + ULONGLONG DbI3; + ULONGLONG DbI4; + ULONGLONG DbI5; + ULONGLONG DbI6; + ULONGLONG DbI7; + ULONGLONG DbD0; + ULONGLONG DbD1; + ULONGLONG DbD2; + ULONGLONG DbD3; + ULONGLONG DbD4; + ULONGLONG DbD5; + ULONGLONG DbD6; + ULONGLONG DbD7; + FLOAT128 FltS0; + FLOAT128 FltS1; + FLOAT128 FltS2; + FLOAT128 FltS3; + FLOAT128 FltT0; + FLOAT128 FltT1; + FLOAT128 FltT2; + FLOAT128 FltT3; + FLOAT128 FltT4; + FLOAT128 FltT5; + FLOAT128 FltT6; + FLOAT128 FltT7; + FLOAT128 FltT8; + FLOAT128 FltT9; + FLOAT128 FltS4; + FLOAT128 FltS5; + FLOAT128 FltS6; + FLOAT128 FltS7; + FLOAT128 FltS8; + FLOAT128 FltS9; + FLOAT128 FltS10; + FLOAT128 FltS11; + FLOAT128 FltS12; + FLOAT128 FltS13; + FLOAT128 FltS14; + FLOAT128 FltS15; + FLOAT128 FltS16; + FLOAT128 FltS17; + FLOAT128 FltS18; + FLOAT128 FltS19; + FLOAT128 FltF32; + FLOAT128 FltF33; + FLOAT128 FltF34; + FLOAT128 FltF35; + FLOAT128 FltF36; + FLOAT128 FltF37; + FLOAT128 FltF38; + FLOAT128 FltF39; + FLOAT128 FltF40; + FLOAT128 FltF41; + FLOAT128 FltF42; + FLOAT128 FltF43; + FLOAT128 FltF44; + FLOAT128 FltF45; + FLOAT128 FltF46; + FLOAT128 FltF47; + FLOAT128 FltF48; + FLOAT128 FltF49; + FLOAT128 FltF50; + FLOAT128 FltF51; + FLOAT128 FltF52; + FLOAT128 FltF53; + FLOAT128 FltF54; + FLOAT128 FltF55; + FLOAT128 FltF56; + FLOAT128 FltF57; + FLOAT128 FltF58; + FLOAT128 FltF59; + FLOAT128 FltF60; + FLOAT128 FltF61; + FLOAT128 FltF62; + FLOAT128 FltF63; + FLOAT128 FltF64; + FLOAT128 FltF65; + FLOAT128 FltF66; + FLOAT128 FltF67; + FLOAT128 FltF68; + FLOAT128 FltF69; + FLOAT128 FltF70; + FLOAT128 FltF71; + FLOAT128 FltF72; + FLOAT128 FltF73; + FLOAT128 FltF74; + FLOAT128 FltF75; + FLOAT128 FltF76; + FLOAT128 FltF77; + FLOAT128 FltF78; + FLOAT128 FltF79; + FLOAT128 FltF80; + FLOAT128 FltF81; + FLOAT128 FltF82; + FLOAT128 FltF83; + FLOAT128 FltF84; + FLOAT128 FltF85; + FLOAT128 FltF86; + FLOAT128 FltF87; + FLOAT128 FltF88; + FLOAT128 FltF89; + FLOAT128 FltF90; + FLOAT128 FltF91; + FLOAT128 FltF92; + FLOAT128 FltF93; + FLOAT128 FltF94; + FLOAT128 FltF95; + FLOAT128 FltF96; + FLOAT128 FltF97; + FLOAT128 FltF98; + FLOAT128 FltF99; + FLOAT128 FltF100; + FLOAT128 FltF101; + FLOAT128 FltF102; + FLOAT128 FltF103; + FLOAT128 FltF104; + FLOAT128 FltF105; + FLOAT128 FltF106; + FLOAT128 FltF107; + FLOAT128 FltF108; + FLOAT128 FltF109; + FLOAT128 FltF110; + FLOAT128 FltF111; + FLOAT128 FltF112; + FLOAT128 FltF113; + FLOAT128 FltF114; + FLOAT128 FltF115; + FLOAT128 FltF116; + FLOAT128 FltF117; + FLOAT128 FltF118; + FLOAT128 FltF119; + FLOAT128 FltF120; + FLOAT128 FltF121; + FLOAT128 FltF122; + FLOAT128 FltF123; + FLOAT128 FltF124; + FLOAT128 FltF125; + FLOAT128 FltF126; + FLOAT128 FltF127; + ULONGLONG StFPSR; + ULONGLONG IntGp; + ULONGLONG IntT0; + ULONGLONG IntT1; + ULONGLONG IntS0; + ULONGLONG IntS1; + ULONGLONG IntS2; + ULONGLONG IntS3; + ULONGLONG IntV0; + ULONGLONG IntT2; + ULONGLONG IntT3; + ULONGLONG IntT4; + ULONGLONG IntSp; + ULONGLONG IntTeb; + ULONGLONG IntT5; + ULONGLONG IntT6; + ULONGLONG IntT7; + ULONGLONG IntT8; + ULONGLONG IntT9; + ULONGLONG IntT10; + ULONGLONG IntT11; + ULONGLONG IntT12; + ULONGLONG IntT13; + ULONGLONG IntT14; + ULONGLONG IntT15; + ULONGLONG IntT16; + ULONGLONG IntT17; + ULONGLONG IntT18; + ULONGLONG IntT19; + ULONGLONG IntT20; + ULONGLONG IntT21; + ULONGLONG IntT22; + ULONGLONG IntNats; + ULONGLONG Preds; + ULONGLONG BrRp; + ULONGLONG BrS0; + ULONGLONG BrS1; + ULONGLONG BrS2; + ULONGLONG BrS3; + ULONGLONG BrS4; + ULONGLONG BrT0; + ULONGLONG BrT1; + ULONGLONG ApUNAT; + ULONGLONG ApLC; + ULONGLONG ApEC; + ULONGLONG ApCCV; + ULONGLONG ApDCR; + ULONGLONG RsPFS; + ULONGLONG RsBSP; + ULONGLONG RsBSPSTORE; + ULONGLONG RsRSC; + ULONGLONG RsRNAT; + ULONGLONG StIPSR; + ULONGLONG StIIP; + ULONGLONG StIFS; + ULONGLONG StFCR; + ULONGLONG Eflag; + ULONGLONG SegCSD; + ULONGLONG SegSSD; + ULONGLONG Cflag; + ULONGLONG StFSR; + ULONGLONG StFIR; + ULONGLONG StFDR; + ULONGLONG UNUSEDPACK; +} CONTEXT, *PCONTEXT; + +typedef struct _RUNTIME_FUNCTION +{ + ULONG BeginAddress; + ULONG EndAddress; + ULONG UnwindInfoAddress; +} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; + +typedef struct _FRAME_POINTERS { + ULONGLONG MemoryStackFp; + ULONGLONG BackingStoreFp; +} FRAME_POINTERS, *PFRAME_POINTERS; + +#define UNWIND_HISTORY_TABLE_SIZE 12 + +typedef struct _UNWIND_HISTORY_TABLE_ENTRY { + ULONG64 ImageBase; + ULONG64 Gp; + PRUNTIME_FUNCTION FunctionEntry; +} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; + +typedef struct _UNWIND_HISTORY_TABLE { + ULONG Count; + UCHAR Search; + ULONG64 LowAddress; + ULONG64 HighAddress; + UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; +} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; + +typedef struct _KNONVOLATILE_CONTEXT_POINTERS +{ + PFLOAT128 FltS0; + PFLOAT128 FltS1; + PFLOAT128 FltS2; + PFLOAT128 FltS3; + PFLOAT128 HighFloatingContext[10]; + PFLOAT128 FltS4; + PFLOAT128 FltS5; + PFLOAT128 FltS6; + PFLOAT128 FltS7; + PFLOAT128 FltS8; + PFLOAT128 FltS9; + PFLOAT128 FltS10; + PFLOAT128 FltS11; + PFLOAT128 FltS12; + PFLOAT128 FltS13; + PFLOAT128 FltS14; + PFLOAT128 FltS15; + PFLOAT128 FltS16; + PFLOAT128 FltS17; + PFLOAT128 FltS18; + PFLOAT128 FltS19; + PULONGLONG IntS0; + PULONGLONG IntS1; + PULONGLONG IntS2; + PULONGLONG IntS3; + PULONGLONG IntSp; + PULONGLONG IntS0Nat; + PULONGLONG IntS1Nat; + PULONGLONG IntS2Nat; + PULONGLONG IntS3Nat; + PULONGLONG IntSpNat; + PULONGLONG Preds; + PULONGLONG BrRp; + PULONGLONG BrS0; + PULONGLONG BrS1; + PULONGLONG BrS2; + PULONGLONG BrS3; + PULONGLONG BrS4; + PULONGLONG ApUNAT; + PULONGLONG ApLC; + PULONGLONG ApEC; + PULONGLONG RsPFS; + PULONGLONG StFSR; + PULONGLONG StFIR; + PULONGLONG StFDR; + PULONGLONG Cflag; +} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS; + +ULONGLONG WINAPI RtlVirtualUnwind(ULONGLONG,ULONGLONG,RUNTIME_FUNCTION*,CONTEXT*,BOOLEAN*,FRAME_POINTERS*,KNONVOLATILE_CONTEXT_POINTERS*); + +#endif /* __ia64__ */ + +/* Alpha context definitions */ +#if defined(_ALPHA_) || defined(__ALPHA__) || defined(__alpha__) + +#define CONTEXT_ALPHA 0x00020000 + +#define CONTEXT_CONTROL (CONTEXT_ALPHA | 0x00000001) +#define CONTEXT_FLOATING_POINT (CONTEXT_ALPHA | 0x00000002) +#define CONTEXT_INTEGER (CONTEXT_ALPHA | 0x00000004) +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +typedef struct _CONTEXT +{ + /* selected by CONTEXT_FLOATING_POINT */ + ULONGLONG FltF0; + ULONGLONG FltF1; + ULONGLONG FltF2; + ULONGLONG FltF3; + ULONGLONG FltF4; + ULONGLONG FltF5; + ULONGLONG FltF6; + ULONGLONG FltF7; + ULONGLONG FltF8; + ULONGLONG FltF9; + ULONGLONG FltF10; + ULONGLONG FltF11; + ULONGLONG FltF12; + ULONGLONG FltF13; + ULONGLONG FltF14; + ULONGLONG FltF15; + ULONGLONG FltF16; + ULONGLONG FltF17; + ULONGLONG FltF18; + ULONGLONG FltF19; + ULONGLONG FltF20; + ULONGLONG FltF21; + ULONGLONG FltF22; + ULONGLONG FltF23; + ULONGLONG FltF24; + ULONGLONG FltF25; + ULONGLONG FltF26; + ULONGLONG FltF27; + ULONGLONG FltF28; + ULONGLONG FltF29; + ULONGLONG FltF30; + ULONGLONG FltF31; + + /* selected by CONTEXT_INTEGER */ + ULONGLONG IntV0; + ULONGLONG IntT0; + ULONGLONG IntT1; + ULONGLONG IntT2; + ULONGLONG IntT3; + ULONGLONG IntT4; + ULONGLONG IntT5; + ULONGLONG IntT6; + ULONGLONG IntT7; + ULONGLONG IntS0; + ULONGLONG IntS1; + ULONGLONG IntS2; + ULONGLONG IntS3; + ULONGLONG IntS4; + ULONGLONG IntS5; + ULONGLONG IntFp; + ULONGLONG IntA0; + ULONGLONG IntA1; + ULONGLONG IntA2; + ULONGLONG IntA3; + ULONGLONG IntA4; + ULONGLONG IntA5; + ULONGLONG IntT8; + ULONGLONG IntT9; + ULONGLONG IntT10; + ULONGLONG IntT11; + ULONGLONG IntRa; + ULONGLONG IntT12; + ULONGLONG IntAt; + ULONGLONG IntGp; + ULONGLONG IntSp; + ULONGLONG IntZero; + + /* selected by CONTEXT_FLOATING_POINT */ + ULONGLONG Fpcr; + ULONGLONG SoftFpcr; + + /* selected by CONTEXT_CONTROL */ + ULONGLONG Fir; + DWORD Psr; + DWORD ContextFlags; + DWORD Fill[4]; +} CONTEXT; + +#define _QUAD_PSR_OFFSET HighSoftFpcr +#define _QUAD_FLAGS_OFFSET HighFir + +#endif /* _ALPHA_ */ + +#ifdef __arm__ + +/* The following flags control the contents of the CONTEXT structure. */ + +#define CONTEXT_ARM 0x0200000 +#define CONTEXT_CONTROL (CONTEXT_ARM | 0x00000001) +#define CONTEXT_INTEGER (CONTEXT_ARM | 0x00000002) +#define CONTEXT_FLOATING_POINT (CONTEXT_ARM | 0x00000004) +#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM | 0x00000008) + +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +typedef struct _RUNTIME_FUNCTION +{ + DWORD BeginAddress; + union { + DWORD UnwindData; + struct { + DWORD Flag : 2; + DWORD FunctionLength : 11; + DWORD Ret : 2; + DWORD H : 1; + DWORD Reg : 3; + DWORD R : 1; + DWORD L : 1; + DWORD C : 1; + DWORD StackAdjust : 10; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; +} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; + +#define UNWIND_HISTORY_TABLE_SIZE 12 + +typedef struct _UNWIND_HISTORY_TABLE_ENTRY +{ + DWORD ImageBase; + PRUNTIME_FUNCTION FunctionEntry; +} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; + +typedef struct _UNWIND_HISTORY_TABLE +{ + DWORD Count; + BYTE LocalHint; + BYTE GlobalHint; + BYTE Search; + BYTE Once; + DWORD LowAddress; + DWORD HighAddress; + UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; +} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; + +typedef struct _CONTEXT { + /* The flags values within this flag control the contents of + a CONTEXT record. + + If the context record is used as an input parameter, then + for each portion of the context record controlled by a flag + whose value is set, it is assumed that that portion of the + context record contains valid context. If the context record + is being used to modify a thread's context, then only that + portion of the threads context will be modified. + + If the context record is used as an IN OUT parameter to capture + the context of a thread, then only those portions of the thread's + context corresponding to set flags will be returned. + + The context record is never used as an OUT only parameter. */ + + ULONG ContextFlags; + + /* This section is specified/returned if the ContextFlags word contains + the flag CONTEXT_INTEGER. */ + ULONG R0; + ULONG R1; + ULONG R2; + ULONG R3; + ULONG R4; + ULONG R5; + ULONG R6; + ULONG R7; + ULONG R8; + ULONG R9; + ULONG R10; + ULONG Fp; + ULONG Ip; + + /* These are selected by CONTEXT_CONTROL */ + ULONG Sp; + ULONG Lr; + ULONG Pc; + ULONG Cpsr; +} CONTEXT; + +BOOLEAN CDECL RtlAddFunctionTable(RUNTIME_FUNCTION*,DWORD,DWORD); +BOOLEAN CDECL RtlDeleteFunctionTable(RUNTIME_FUNCTION*); +PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry(ULONG_PTR,DWORD*,UNWIND_HISTORY_TABLE*); + +#endif /* __arm__ */ + +#ifdef __aarch64__ +/* + * FIXME: + * + * There is not yet an official CONTEXT structure defined for the AArch64 + * architecture, so I just made one up. + * + */ + +#define CONTEXT_ARM64 0x400000 +#define CONTEXT_CONTROL (CONTEXT_ARM64 | 0x00000001) +#define CONTEXT_INTEGER (CONTEXT_ARM64 | 0x00000002) +#define CONTEXT_FLOATING_POINT (CONTEXT_ARM64 | 0x00000004) +#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM64 | 0x00000008) + +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +typedef struct _RUNTIME_FUNCTION +{ + DWORD BeginAddress; + union + { + DWORD UnwindData; + struct + { + DWORD Flag : 2; + DWORD FunctionLength : 11; + DWORD RegF : 3; + DWORD RegI : 4; + DWORD H : 1; + DWORD CR : 2; + DWORD FrameSize : 9; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; +} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; + +#define UNWIND_HISTORY_TABLE_SIZE 12 + +typedef struct _UNWIND_HISTORY_TABLE_ENTRY +{ + DWORD64 ImageBase; + PRUNTIME_FUNCTION FunctionEntry; +} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; + +typedef struct _UNWIND_HISTORY_TABLE +{ + DWORD Count; + BYTE LocalHint; + BYTE GlobalHint; + BYTE Search; + BYTE Once; + DWORD64 LowAddress; + DWORD64 HighAddress; + UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; +} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; + +typedef struct _CONTEXT { + ULONG ContextFlags; + ULONG Cpsr; + + /* This section is specified/returned if the ContextFlags word contains + the flag CONTEXT_INTEGER. */ + ULONGLONG X0; + ULONGLONG X1; + ULONGLONG X2; + ULONGLONG X3; + ULONGLONG X4; + ULONGLONG X5; + ULONGLONG X6; + ULONGLONG X7; + ULONGLONG X8; + ULONGLONG X9; + ULONGLONG X10; + ULONGLONG X11; + ULONGLONG X12; + ULONGLONG X13; + ULONGLONG X14; + ULONGLONG X15; + ULONGLONG X16; + ULONGLONG X17; + ULONGLONG X18; + ULONGLONG X19; + ULONGLONG X20; + ULONGLONG X21; + ULONGLONG X22; + ULONGLONG X23; + ULONGLONG X24; + ULONGLONG X25; + ULONGLONG X26; + ULONGLONG X27; + ULONGLONG X28; + + /* These are selected by CONTEXT_CONTROL */ + ULONGLONG Fp; + ULONGLONG Lr; + ULONGLONG Sp; + ULONGLONG Pc; + + /* These are selected by CONTEXT_FLOATING_POINT */ + /* FIXME */ +} CONTEXT; + +#endif /* __aarch64__ */ + + +/* Mips context definitions */ +#if defined(_MIPS_) || defined(__MIPS__) || defined(__mips__) + +#define CONTEXT_R4000 0x00010000 + +#define CONTEXT_CONTROL (CONTEXT_R4000 | 0x00000001) +#define CONTEXT_FLOATING_POINT (CONTEXT_R4000 | 0x00000002) +#define CONTEXT_INTEGER (CONTEXT_R4000 | 0x00000004) + +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +typedef struct _CONTEXT +{ + DWORD Argument[4]; + /* These are selected by CONTEXT_FLOATING_POINT */ + DWORD FltF0; + DWORD FltF1; + DWORD FltF2; + DWORD FltF3; + DWORD FltF4; + DWORD FltF5; + DWORD FltF6; + DWORD FltF7; + DWORD FltF8; + DWORD FltF9; + DWORD FltF10; + DWORD FltF11; + DWORD FltF12; + DWORD FltF13; + DWORD FltF14; + DWORD FltF15; + DWORD FltF16; + DWORD FltF17; + DWORD FltF18; + DWORD FltF19; + DWORD FltF20; + DWORD FltF21; + DWORD FltF22; + DWORD FltF23; + DWORD FltF24; + DWORD FltF25; + DWORD FltF26; + DWORD FltF27; + DWORD FltF28; + DWORD FltF29; + DWORD FltF30; + DWORD FltF31; + + /* These are selected by CONTEXT_INTEGER */ + DWORD IntZero; + DWORD IntAt; + DWORD IntV0; + DWORD IntV1; + DWORD IntA0; + DWORD IntA1; + DWORD IntA2; + DWORD IntA3; + DWORD IntT0; + DWORD IntT1; + DWORD IntT2; + DWORD IntT3; + DWORD IntT4; + DWORD IntT5; + DWORD IntT6; + DWORD IntT7; + DWORD IntS0; + DWORD IntS1; + DWORD IntS2; + DWORD IntS3; + DWORD IntS4; + DWORD IntS5; + DWORD IntS6; + DWORD IntS7; + DWORD IntT8; + DWORD IntT9; + DWORD IntK0; + DWORD IntK1; + DWORD IntGp; + DWORD IntSp; + DWORD IntS8; + DWORD IntRa; + DWORD IntLo; + DWORD IntHi; + + /* These are selected by CONTEXT_FLOATING_POINT */ + DWORD Fsr; + + /* These are selected by CONTEXT_CONTROL */ + DWORD Fir; + DWORD Psr; + + DWORD ContextFlags; + DWORD Fill[2]; +} CONTEXT; + +#endif /* _MIPS_ */ + +/* PowerPC context definitions */ +#ifdef __powerpc__ + +#define CONTEXT_CONTROL 0x0001 +#define CONTEXT_FLOATING_POINT 0x0002 +#define CONTEXT_INTEGER 0x0004 +#define CONTEXT_DEBUG_REGISTERS 0x0008 +#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER) + +#define EXCEPTION_READ_FAULT 0 +#define EXCEPTION_WRITE_FAULT 1 +#define EXCEPTION_EXECUTE_FAULT 8 + +typedef struct +{ + /* These are selected by CONTEXT_FLOATING_POINT */ + double Fpr0; + double Fpr1; + double Fpr2; + double Fpr3; + double Fpr4; + double Fpr5; + double Fpr6; + double Fpr7; + double Fpr8; + double Fpr9; + double Fpr10; + double Fpr11; + double Fpr12; + double Fpr13; + double Fpr14; + double Fpr15; + double Fpr16; + double Fpr17; + double Fpr18; + double Fpr19; + double Fpr20; + double Fpr21; + double Fpr22; + double Fpr23; + double Fpr24; + double Fpr25; + double Fpr26; + double Fpr27; + double Fpr28; + double Fpr29; + double Fpr30; + double Fpr31; + double Fpscr; + + /* These are selected by CONTEXT_INTEGER */ + DWORD Gpr0; + DWORD Gpr1; + DWORD Gpr2; + DWORD Gpr3; + DWORD Gpr4; + DWORD Gpr5; + DWORD Gpr6; + DWORD Gpr7; + DWORD Gpr8; + DWORD Gpr9; + DWORD Gpr10; + DWORD Gpr11; + DWORD Gpr12; + DWORD Gpr13; + DWORD Gpr14; + DWORD Gpr15; + DWORD Gpr16; + DWORD Gpr17; + DWORD Gpr18; + DWORD Gpr19; + DWORD Gpr20; + DWORD Gpr21; + DWORD Gpr22; + DWORD Gpr23; + DWORD Gpr24; + DWORD Gpr25; + DWORD Gpr26; + DWORD Gpr27; + DWORD Gpr28; + DWORD Gpr29; + DWORD Gpr30; + DWORD Gpr31; + + DWORD Cr; + DWORD Xer; + + /* These are selected by CONTEXT_CONTROL */ + DWORD Msr; + DWORD Iar; /* Instruction Address Register , aka PC ... */ + DWORD Lr; + DWORD Ctr; + + DWORD ContextFlags; + + DWORD Dar; /* Fault registers for coredump */ + DWORD Dsisr; + DWORD Trap; /* number of powerpc exception taken */ + + /* These are selected by CONTEXT_DEBUG_REGISTERS */ + DWORD Dr0; + DWORD Dr1; + DWORD Dr2; + DWORD Dr3; + DWORD Dr4; + DWORD Dr5; + DWORD Dr6; + DWORD Dr7; +} CONTEXT; + +typedef struct _STACK_FRAME_HEADER +{ + DWORD BackChain; + DWORD GlueSaved1; + DWORD GlueSaved2; + DWORD Reserved1; + DWORD Spare1; + DWORD Spare2; + + DWORD Parameter0; + DWORD Parameter1; + DWORD Parameter2; + DWORD Parameter3; + DWORD Parameter4; + DWORD Parameter5; + DWORD Parameter6; + DWORD Parameter7; +} STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER; + +#endif /* __powerpc__ */ + +#if !defined(CONTEXT_FULL) && !defined(RC_INVOKED) +#error You need to define a CONTEXT for your CPU +#endif + +typedef CONTEXT *PCONTEXT; + +NTSYSAPI void WINAPI RtlCaptureContext(CONTEXT*); + +/* + * Product types + */ +#define PRODUCT_UNDEFINED 0x00000000 +#define PRODUCT_ULTIMATE 0x00000001 +#define PRODUCT_HOME_BASIC 0x00000002 +#define PRODUCT_HOME_PREMIUM 0x00000003 +#define PRODUCT_ENTERPRISE 0x00000004 +#define PRODUCT_HOME_BASIC_N 0x00000005 +#define PRODUCT_BUSINESS 0x00000006 +#define PRODUCT_STANDARD_SERVER 0x00000007 +#define PRODUCT_DATACENTER_SERVER 0x00000008 +#define PRODUCT_SMALLBUSINESS_SERVER 0x00000009 +#define PRODUCT_ENTERPRISE_SERVER 0x0000000A +#define PRODUCT_STARTER 0x0000000B +#define PRODUCT_DATACENTER_SERVER_CORE 0x0000000C +#define PRODUCT_STANDARD_SERVER_CORE 0x0000000D +#define PRODUCT_ENTERPRISE_SERVER_CORE 0x0000000E +#define PRODUCT_ENTERPRISE_SERVER_IA64 0x0000000F +#define PRODUCT_BUSINESS_N 0x00000010 +#define PRODUCT_WEB_SERVER 0x00000011 +#define PRODUCT_CLUSTER_SERVER 0x00000012 +#define PRODUCT_HOME_SERVER 0x00000013 +#define PRODUCT_STORAGE_EXPRESS_SERVER 0x00000014 +#define PRODUCT_STORAGE_STANDARD_SERVER 0x00000015 +#define PRODUCT_STORAGE_WORKGROUP_SERVER 0x00000016 +#define PRODUCT_STORAGE_ENTERPRISE_SERVER 0x00000017 +#define PRODUCT_SERVER_FOR_SMALLBUSINESS 0x00000018 +#define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM 0x00000019 +#define PRODUCT_HOME_PREMIUM_N 0x0000001A +#define PRODUCT_ENTERPRISE_N 0x0000001B +#define PRODUCT_ULTIMATE_N 0x0000001C +#define PRODUCT_WEB_SERVER_CORE 0x0000001D +#define PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT 0x0000001E +#define PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY 0x0000001F +#define PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING 0x00000020 +#define PRODUCT_SERVER_FOUNDATION 0x00000021 +#define PRODUCT_HOME_PREMIUM_SERVER 0x00000022 +#define PRODUCT_SERVER_FOR_SMALLBUSINESS_V 0x00000023 +#define PRODUCT_STANDARD_SERVER_V 0x00000024 +#define PRODUCT_DATACENTER_SERVER_V 0x00000025 +#define PRODUCT_SERVER_V 0x00000025 +#define PRODUCT_ENTERPRISE_SERVER_V 0x00000026 +#define PRODUCT_DATACENTER_SERVER_CORE_V 0x00000027 +#define PRODUCT_STANDARD_SERVER_CORE_V 0x00000028 +#define PRODUCT_ENTERPRISE_SERVER_CORE_V 0x00000029 +#define PRODUCT_HYPERV 0x0000002A +#define PRODUCT_STORAGE_EXPRESS_SERVER_CORE 0x0000002B +#define PRODUCT_STORAGE_STANDARD_SERVER_CORE 0x0000002C +#define PRODUCT_STORAGE_WORKGROUP_SERVER_CORE 0x0000002D +#define PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE 0x0000002E +#define PRODUCT_STARTER_N 0x0000002F +#define PRODUCT_PROFESSIONAL 0x00000030 +#define PRODUCT_PROFESSIONAL_N 0x00000031 +#define PRODUCT_SB_SOLUTION_SERVER 0x00000032 +#define PRODUCT_SERVER_FOR_SB_SOLUTIONS 0x00000033 +#define PRODUCT_STANDARD_SERVER_SOLUTIONS 0x00000034 +#define PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE 0x00000035 +#define PRODUCT_SB_SOLUTION_SERVER_EM 0x00000036 +#define PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM 0x00000037 +#define PRODUCT_SOLUTION_EMBEDDEDSERVER 0x00000038 +#define PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE 0x00000039 +#define PRODUCT_PROFESSIONAL_EMBEDDED 0x0000003A +#define PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT 0x0000003B +#define PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL 0x0000003C +#define PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC 0x0000003D +#define PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC 0x0000003E +#define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE 0x0000003F +#define PRODUCT_CLUSTER_SERVER_V 0x00000040 +#define PRODUCT_EMBEDDED 0x00000041 +#define PRODUCT_STARTER_E 0x00000042 +#define PRODUCT_HOME_BASIC_E 0x00000043 +#define PRODUCT_HOME_PREMIUM_E 0x00000044 +#define PRODUCT_PROFESSIONAL_E 0x00000045 +#define PRODUCT_ENTERPRISE_E 0x00000046 +#define PRODUCT_ULTIMATE_E 0x00000047 +#define PRODUCT_ENTERPRISE_EVALUATION 0x00000048 +#define PRODUCT_MULTIPOINT_STANDARD_SERVER 0x0000004C +#define PRODUCT_MULTIPOINT_PREMIUM_SERVER 0x0000004D +#define PRODUCT_STANDARD_EVALUATION_SERVER 0x0000004F +#define PRODUCT_DATACENTER_EVALUATION_SERVER 0x00000050 +#define PRODUCT_ENTERPRISE_N_EVALUATION 0x00000054 +#define PRODUCT_EMBEDDED_AUTOMOTIVE 0x00000055 +#define PRODUCT_EMBEDDED_INDUSTRY_A 0x00000056 +#define PRODUCT_THINPC 0x00000057 +#define PRODUCT_EMBEDDED_A 0x00000058 +#define PRODUCT_EMBEDDED_INDUSTRY 0x00000059 +#define PRODUCT_EMBEDDED_E 0x0000005A +#define PRODUCT_EMBEDDED_INDUSTRY_E 0x0000005B +#define PRODUCT_EMBEDDED_INDUSTRY_A_E 0x0000005C +#define PRODUCT_STORAGE_WORKGROUP_EVALUATION_SERVER 0x0000005F +#define PRODUCT_STORAGE_STANDARD_EVALUATION_SERVER 0x00000060 +#define PRODUCT_CORE_ARM 0x00000061 +#define PRODUCT_CORE_N 0x00000062 +#define PRODUCT_CORE_COUNTRYSPECIFIC 0x00000063 +#define PRODUCT_CORE_SINGLELANGUAGE 0x00000064 +#define PRODUCT_CORE_LANGUAGESPECIFIC 0x00000064 +#define PRODUCT_CORE 0x00000065 +#define PRODUCT_PROFESSIONAL_WMC 0x00000067 +#define PRODUCT_MOBILE_CORE 0x00000068 +#define PRODUCT_EMBEDDED_INDUSTRY_EVAL 0x00000069 +#define PRODUCT_EMBEDDED_INDUSTRY_E_EVAL 0x0000006A +#define PRODUCT_EMBEDDED_EVAL 0x0000006B +#define PRODUCT_EMBEDDED_E_EVAL 0x0000006C +#define PRODUCT_NANO_SERVER 0x0000006D +#define PRODUCT_CLOUD_STORAGE_SERVER 0x0000006E +#define PRODUCT_CORE_CONNECTED 0x0000006F +#define PRODUCT_PROFESSIONAL_STUDENT 0x00000070 +#define PRODUCT_CORE_CONNECTED_N 0x00000071 +#define PRODUCT_PROFESSIONAL_STUDENT_N 0x00000072 +#define PRODUCT_CORE_CONNECTED_SINGLELANGUAGE 0x00000073 +#define PRODUCT_CORE_CONNECTED_COUNTRYSPECIFIC 0x00000074 +#define PRODUCT_CONNECTED_CAR 0x00000075 +#define PRODUCT_INDUSTRY_HANDHELD 0x00000076 +#define PRODUCT_PPI_PRO 0x00000077 +#define PRODUCT_ARM64_SERVER 0x00000078 +#define PRODUCT_EDUCATION 0x00000079 +#define PRODUCT_EDUCATION_N 0x0000007A +#define PRODUCT_IOTUAP 0x0000007B +#define PRODUCT_CLOUD_HOST_INFRASTRUCTURE_SERVER 0x0000007C +#define PRODUCT_ENTERPRISE_S 0x0000007D +#define PRODUCT_ENTERPRISE_S_N 0x0000007E +#define PRODUCT_PROFESSIONAL_S 0x0000007F +#define PRODUCT_PROFESSIONAL_S_N 0x00000080 +#define PRODUCT_ENTERPRISE_S_EVALUATION 0x00000081 +#define PRODUCT_ENTERPRISE_S_N_EVALUATION 0x00000082 +#define PRODUCT_UNLICENSED 0xABCDABCD + + +/* + * Language IDs + */ + +#define MAKELCID(l, s) (MAKELONG(l, s)) + +#define MAKELANGID(p, s) ((((WORD)(s))<<10) | (WORD)(p)) +#define PRIMARYLANGID(l) ((WORD)(l) & 0x3ff) +#define SUBLANGID(l) ((WORD)(l) >> 10) + +#define LANGIDFROMLCID(lcid) ((WORD)(lcid)) +#define SORTIDFROMLCID(lcid) ((WORD)((((DWORD)(lcid)) >> 16) & 0x0f)) + +#define LANG_SYSTEM_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_SYS_DEFAULT)) +#define LANG_USER_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT)) +#define LOCALE_SYSTEM_DEFAULT (MAKELCID(LANG_SYSTEM_DEFAULT, SORT_DEFAULT)) +#define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT)) +#define LOCALE_NEUTRAL (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),SORT_DEFAULT)) +#define LOCALE_INVARIANT (MAKELCID(MAKELANGID(LANG_INVARIANT,SUBLANG_NEUTRAL),SORT_DEFAULT)) +#define LOCALE_CUSTOM_DEFAULT (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_CUSTOM_DEFAULT),SORT_DEFAULT)) +#define LOCALE_CUSTOM_UNSPECIFIED (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_CUSTOM_UNSPECIFIED),SORT_DEFAULT)) +#define LOCALE_CUSTOM_UI_DEFAULT (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_UI_CUSTOM_DEFAULT),SORT_DEFAULT)) +#define LOCALE_NAME_MAX_LENGTH 85 + + +#define UNREFERENCED_PARAMETER(u) (void)(u) +#define DBG_UNREFERENCED_PARAMETER(u) (void)(u) +#define DBG_UNREFERENCED_LOCAL_VARIABLE(u) (void)(u) + +#include + + +/* + * Definitions for IsTextUnicode() + */ + +#define IS_TEXT_UNICODE_ASCII16 0x0001 +#define IS_TEXT_UNICODE_STATISTICS 0x0002 +#define IS_TEXT_UNICODE_CONTROLS 0x0004 +#define IS_TEXT_UNICODE_SIGNATURE 0x0008 +#define IS_TEXT_UNICODE_UNICODE_MASK 0x000F +#define IS_TEXT_UNICODE_REVERSE_ASCII16 0x0010 +#define IS_TEXT_UNICODE_REVERSE_STATISTICS 0x0020 +#define IS_TEXT_UNICODE_REVERSE_CONTROLS 0x0040 +#define IS_TEXT_UNICODE_REVERSE_SIGNATURE 0x0080 +#define IS_TEXT_UNICODE_REVERSE_MASK 0x00F0 +#define IS_TEXT_UNICODE_ILLEGAL_CHARS 0x0100 +#define IS_TEXT_UNICODE_ODD_LENGTH 0x0200 +#define IS_TEXT_UNICODE_DBCS_LEADBYTE 0x0400 +#define IS_TEXT_UNICODE_NOT_UNICODE_MASK 0x0F00 +#define IS_TEXT_UNICODE_NULL_BYTES 0x1000 +#define IS_TEXT_UNICODE_NOT_ASCII_MASK 0xF000 + +#define MAXIMUM_WAIT_OBJECTS 64 +#define MAXIMUM_SUSPEND_COUNT 127 + +#define WT_EXECUTEDEFAULT 0x00 +#define WT_EXECUTEINIOTHREAD 0x01 +#define WT_EXECUTEINUITHREAD 0x02 +#define WT_EXECUTEINWAITTHREAD 0x04 +#define WT_EXECUTEONLYONCE 0x08 +#define WT_EXECUTELONGFUNCTION 0x10 +#define WT_EXECUTEINTIMERTHREAD 0x20 +#define WT_EXECUTEINPERSISTENTIOTHREAD 0x40 +#define WT_EXECUTEINPERSISTENTTHREAD 0x80 +#define WT_EXECUTEINLONGTHREAD 0x10 +#define WT_EXECUTEDELETEWAIT 0x08 +#define WT_TRANSFER_IMPERSONATION 0x0100 + + +#define EXCEPTION_CONTINUABLE 0 +#define EXCEPTION_NONCONTINUABLE 0x01 + +/* + * The exception record used by Win32 to give additional information + * about exception to exception handlers. + */ + +#define EXCEPTION_MAXIMUM_PARAMETERS 15 + +typedef struct _EXCEPTION_RECORD +{ + DWORD ExceptionCode; + DWORD ExceptionFlags; + struct _EXCEPTION_RECORD *ExceptionRecord; + + PVOID ExceptionAddress; + DWORD NumberParameters; + ULONG_PTR ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS]; +} EXCEPTION_RECORD, *PEXCEPTION_RECORD; + +/* + * The exception pointers structure passed to exception filters + * in except() and the UnhandledExceptionFilter(). + */ + +typedef struct _EXCEPTION_POINTERS +{ + PEXCEPTION_RECORD ExceptionRecord; + PCONTEXT ContextRecord; +} EXCEPTION_POINTERS, *PEXCEPTION_POINTERS; + + +/* + * The exception frame, used for registering exception handlers + * Win32 cares only about this, but compilers generally emit + * larger exception frames for their own use. + */ + +struct _EXCEPTION_REGISTRATION_RECORD; + +typedef DWORD (*PEXCEPTION_HANDLER)(PEXCEPTION_RECORD,struct _EXCEPTION_REGISTRATION_RECORD*, + PCONTEXT,struct _EXCEPTION_REGISTRATION_RECORD **); + +typedef struct _EXCEPTION_REGISTRATION_RECORD +{ + struct _EXCEPTION_REGISTRATION_RECORD *Prev; + PEXCEPTION_HANDLER Handler; +} EXCEPTION_REGISTRATION_RECORD; + +/* + * function pointer to an exception filter + */ + +typedef LONG (CALLBACK *PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionInfo); + +typedef struct _NT_TIB +{ + struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList; + PVOID StackBase; + PVOID StackLimit; + PVOID SubSystemTib; + union { + PVOID FiberData; + DWORD Version; + } DUMMYUNIONNAME; + PVOID ArbitraryUserPointer; + struct _NT_TIB *Self; +} NT_TIB, *PNT_TIB; + +struct _TEB; + +#if defined(__i386__) && defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) +static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void) +{ + struct _TEB *teb; + __asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (teb)); + return teb; +} +#elif defined(__i386__) && defined(_MSC_VER) +static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void) +{ + struct _TEB *teb; + __asm mov eax, fs:[0x18]; + __asm mov teb, eax; + return teb; +} +#elif defined(__x86_64__) && defined(__GNUC__) +static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void) +{ + struct _TEB *teb; + __asm__(".byte 0x65\n\tmovq (0x30),%0" : "=r" (teb)); + return teb; +} +#elif defined(__x86_64__) && defined(_MSC_VER) +#pragma intrinsic(__readgsqword) +static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void) +{ + return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB, Self)); +} +#else +extern struct _TEB * WINAPI NtCurrentTeb(void); +#endif + +#ifdef NONAMELESSUNION +#define GetCurrentFiber() (((NT_TIB *)NtCurrentTeb())->u.FiberData) +#else +#define GetCurrentFiber() (((NT_TIB *)NtCurrentTeb())->FiberData) +#endif +#define GetFiberData() (*(void **)GetCurrentFiber()) + +#define TLS_MINIMUM_AVAILABLE 64 + +/* + * File formats definitions + */ + +#include +typedef struct _IMAGE_DOS_HEADER { + WORD e_magic; /* 00: MZ Header signature */ + WORD e_cblp; /* 02: Bytes on last page of file */ + WORD e_cp; /* 04: Pages in file */ + WORD e_crlc; /* 06: Relocations */ + WORD e_cparhdr; /* 08: Size of header in paragraphs */ + WORD e_minalloc; /* 0a: Minimum extra paragraphs needed */ + WORD e_maxalloc; /* 0c: Maximum extra paragraphs needed */ + WORD e_ss; /* 0e: Initial (relative) SS value */ + WORD e_sp; /* 10: Initial SP value */ + WORD e_csum; /* 12: Checksum */ + WORD e_ip; /* 14: Initial IP value */ + WORD e_cs; /* 16: Initial (relative) CS value */ + WORD e_lfarlc; /* 18: File address of relocation table */ + WORD e_ovno; /* 1a: Overlay number */ + WORD e_res[4]; /* 1c: Reserved words */ + WORD e_oemid; /* 24: OEM identifier (for e_oeminfo) */ + WORD e_oeminfo; /* 26: OEM information; e_oemid specific */ + WORD e_res2[10]; /* 28: Reserved words */ + DWORD e_lfanew; /* 3c: Offset to extended header */ +} IMAGE_DOS_HEADER, *PIMAGE_DOS_HEADER; +#include + +#define IMAGE_DOS_SIGNATURE 0x5A4D /* MZ */ +#define IMAGE_OS2_SIGNATURE 0x454E /* NE */ +#define IMAGE_OS2_SIGNATURE_LE 0x454C /* LE */ +#define IMAGE_OS2_SIGNATURE_LX 0x584C /* LX */ +#define IMAGE_VXD_SIGNATURE 0x454C /* LE */ +#define IMAGE_NT_SIGNATURE 0x00004550 /* PE00 */ + +/* + * This is the Windows executable (NE) header. + * the name IMAGE_OS2_HEADER is misleading, but in the SDK this way. + */ +#include +typedef struct +{ + WORD ne_magic; /* 00 NE signature 'NE' */ + BYTE ne_ver; /* 02 Linker version number */ + BYTE ne_rev; /* 03 Linker revision number */ + WORD ne_enttab; /* 04 Offset to entry table relative to NE */ + WORD ne_cbenttab; /* 06 Length of entry table in bytes */ + LONG ne_crc; /* 08 Checksum */ + WORD ne_flags; /* 0c Flags about segments in this file */ + WORD ne_autodata; /* 0e Automatic data segment number */ + WORD ne_heap; /* 10 Initial size of local heap */ + WORD ne_stack; /* 12 Initial size of stack */ + DWORD ne_csip; /* 14 Initial CS:IP */ + DWORD ne_sssp; /* 18 Initial SS:SP */ + WORD ne_cseg; /* 1c # of entries in segment table */ + WORD ne_cmod; /* 1e # of entries in module reference tab. */ + WORD ne_cbnrestab; /* 20 Length of nonresident-name table */ + WORD ne_segtab; /* 22 Offset to segment table */ + WORD ne_rsrctab; /* 24 Offset to resource table */ + WORD ne_restab; /* 26 Offset to resident-name table */ + WORD ne_modtab; /* 28 Offset to module reference table */ + WORD ne_imptab; /* 2a Offset to imported name table */ + DWORD ne_nrestab; /* 2c Offset to nonresident-name table */ + WORD ne_cmovent; /* 30 # of movable entry points */ + WORD ne_align; /* 32 Logical sector alignment shift count */ + WORD ne_cres; /* 34 # of resource segments */ + BYTE ne_exetyp; /* 36 Flags indicating target OS */ + BYTE ne_flagsothers; /* 37 Additional information flags */ + WORD ne_pretthunks; /* 38 Offset to return thunks */ + WORD ne_psegrefbytes; /* 3a Offset to segment ref. bytes */ + WORD ne_swaparea; /* 3c Reserved by Microsoft */ + WORD ne_expver; /* 3e Expected Windows version number */ +} IMAGE_OS2_HEADER, *PIMAGE_OS2_HEADER; +#include + +#include +typedef struct _IMAGE_VXD_HEADER { + WORD e32_magic; + BYTE e32_border; + BYTE e32_worder; + DWORD e32_level; + WORD e32_cpu; + WORD e32_os; + DWORD e32_ver; + DWORD e32_mflags; + DWORD e32_mpages; + DWORD e32_startobj; + DWORD e32_eip; + DWORD e32_stackobj; + DWORD e32_esp; + DWORD e32_pagesize; + DWORD e32_lastpagesize; + DWORD e32_fixupsize; + DWORD e32_fixupsum; + DWORD e32_ldrsize; + DWORD e32_ldrsum; + DWORD e32_objtab; + DWORD e32_objcnt; + DWORD e32_objmap; + DWORD e32_itermap; + DWORD e32_rsrctab; + DWORD e32_rsrccnt; + DWORD e32_restab; + DWORD e32_enttab; + DWORD e32_dirtab; + DWORD e32_dircnt; + DWORD e32_fpagetab; + DWORD e32_frectab; + DWORD e32_impmod; + DWORD e32_impmodcnt; + DWORD e32_impproc; + DWORD e32_pagesum; + DWORD e32_datapage; + DWORD e32_preload; + DWORD e32_nrestab; + DWORD e32_cbnrestab; + DWORD e32_nressum; + DWORD e32_autodata; + DWORD e32_debuginfo; + DWORD e32_debuglen; + DWORD e32_instpreload; + DWORD e32_instdemand; + DWORD e32_heapsize; + BYTE e32_res3[12]; + DWORD e32_winresoff; + DWORD e32_winreslen; + WORD e32_devid; + WORD e32_ddkver; +} IMAGE_VXD_HEADER, *PIMAGE_VXD_HEADER; +#include + +/* These defines describe the meanings of the bits in the Characteristics + field */ + +#define IMAGE_FILE_RELOCS_STRIPPED 0x0001 /* No relocation info */ +#define IMAGE_FILE_EXECUTABLE_IMAGE 0x0002 +#define IMAGE_FILE_LINE_NUMS_STRIPPED 0x0004 +#define IMAGE_FILE_LOCAL_SYMS_STRIPPED 0x0008 +#define IMAGE_FILE_AGGRESIVE_WS_TRIM 0x0010 +#define IMAGE_FILE_LARGE_ADDRESS_AWARE 0x0020 +#define IMAGE_FILE_16BIT_MACHINE 0x0040 +#define IMAGE_FILE_BYTES_REVERSED_LO 0x0080 +#define IMAGE_FILE_32BIT_MACHINE 0x0100 +#define IMAGE_FILE_DEBUG_STRIPPED 0x0200 +#define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP 0x0400 +#define IMAGE_FILE_NET_RUN_FROM_SWAP 0x0800 +#define IMAGE_FILE_SYSTEM 0x1000 +#define IMAGE_FILE_DLL 0x2000 +#define IMAGE_FILE_UP_SYSTEM_ONLY 0x4000 +#define IMAGE_FILE_BYTES_REVERSED_HI 0x8000 + +/* These are the settings of the Machine field. */ +#define IMAGE_FILE_MACHINE_UNKNOWN 0 +#define IMAGE_FILE_MACHINE_I860 0x014d +#define IMAGE_FILE_MACHINE_I386 0x014c +#define IMAGE_FILE_MACHINE_R3000 0x0162 +#define IMAGE_FILE_MACHINE_R4000 0x0166 +#define IMAGE_FILE_MACHINE_R10000 0x0168 +#define IMAGE_FILE_MACHINE_WCEMIPSV2 0x0169 +#define IMAGE_FILE_MACHINE_ALPHA 0x0184 +#define IMAGE_FILE_MACHINE_SH3 0x01a2 +#define IMAGE_FILE_MACHINE_SH3DSP 0x01a3 +#define IMAGE_FILE_MACHINE_SH3E 0x01a4 +#define IMAGE_FILE_MACHINE_SH4 0x01a6 +#define IMAGE_FILE_MACHINE_SH5 0x01a8 +#define IMAGE_FILE_MACHINE_ARM 0x01c0 +#define IMAGE_FILE_MACHINE_THUMB 0x01c2 +#define IMAGE_FILE_MACHINE_ARMNT 0x01c4 +#define IMAGE_FILE_MACHINE_ARM64 0xaa64 +#define IMAGE_FILE_MACHINE_AM33 0x01d3 +#define IMAGE_FILE_MACHINE_POWERPC 0x01f0 +#define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1 +#define IMAGE_FILE_MACHINE_IA64 0x0200 +#define IMAGE_FILE_MACHINE_MIPS16 0x0266 +#define IMAGE_FILE_MACHINE_ALPHA64 0x0284 +#define IMAGE_FILE_MACHINE_MIPSFPU 0x0366 +#define IMAGE_FILE_MACHINE_MIPSFPU16 0x0466 +#define IMAGE_FILE_MACHINE_AXP64 IMAGE_FILE_MACHINE_ALPHA64 +#define IMAGE_FILE_MACHINE_TRICORE 0x0520 +#define IMAGE_FILE_MACHINE_CEF 0x0cef +#define IMAGE_FILE_MACHINE_EBC 0x0ebc +#define IMAGE_FILE_MACHINE_AMD64 0x8664 +#define IMAGE_FILE_MACHINE_M32R 0x9041 +#define IMAGE_FILE_MACHINE_CEE 0xc0ee + +#define IMAGE_SIZEOF_FILE_HEADER 20 +#define IMAGE_SIZEOF_ROM_OPTIONAL_HEADER 56 +#define IMAGE_SIZEOF_STD_OPTIONAL_HEADER 28 +#define IMAGE_SIZEOF_NT_OPTIONAL32_HEADER 224 +#define IMAGE_SIZEOF_NT_OPTIONAL64_HEADER 240 +#define IMAGE_SIZEOF_SHORT_NAME 8 +#define IMAGE_SIZEOF_SECTION_HEADER 40 +#define IMAGE_SIZEOF_SYMBOL 18 +#define IMAGE_SIZEOF_AUX_SYMBOL 18 +#define IMAGE_SIZEOF_RELOCATION 10 +#define IMAGE_SIZEOF_BASE_RELOCATION 8 +#define IMAGE_SIZEOF_LINENUMBER 6 +#define IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR 60 + +/* Possible Magic values */ +#define IMAGE_NT_OPTIONAL_HDR32_MAGIC 0x10b +#define IMAGE_NT_OPTIONAL_HDR64_MAGIC 0x20b +#define IMAGE_ROM_OPTIONAL_HDR_MAGIC 0x107 + +#ifdef _WIN64 +#define IMAGE_SIZEOF_NT_OPTIONAL_HEADER IMAGE_SIZEOF_NT_OPTIONAL64_HEADER +#define IMAGE_NT_OPTIONAL_HDR_MAGIC IMAGE_NT_OPTIONAL_HDR64_MAGIC +#else +#define IMAGE_SIZEOF_NT_OPTIONAL_HEADER IMAGE_SIZEOF_NT_OPTIONAL32_HEADER +#define IMAGE_NT_OPTIONAL_HDR_MAGIC IMAGE_NT_OPTIONAL_HDR32_MAGIC +#endif + +/* These are indexes into the DataDirectory array */ +#define IMAGE_FILE_EXPORT_DIRECTORY 0 +#define IMAGE_FILE_IMPORT_DIRECTORY 1 +#define IMAGE_FILE_RESOURCE_DIRECTORY 2 +#define IMAGE_FILE_EXCEPTION_DIRECTORY 3 +#define IMAGE_FILE_SECURITY_DIRECTORY 4 +#define IMAGE_FILE_BASE_RELOCATION_TABLE 5 +#define IMAGE_FILE_DEBUG_DIRECTORY 6 +#define IMAGE_FILE_DESCRIPTION_STRING 7 +#define IMAGE_FILE_MACHINE_VALUE 8 /* Mips */ +#define IMAGE_FILE_THREAD_LOCAL_STORAGE 9 +#define IMAGE_FILE_CALLBACK_DIRECTORY 10 + +/* Directory Entries, indices into the DataDirectory array */ + +#define IMAGE_DIRECTORY_ENTRY_EXPORT 0 +#define IMAGE_DIRECTORY_ENTRY_IMPORT 1 +#define IMAGE_DIRECTORY_ENTRY_RESOURCE 2 +#define IMAGE_DIRECTORY_ENTRY_EXCEPTION 3 +#define IMAGE_DIRECTORY_ENTRY_SECURITY 4 +#define IMAGE_DIRECTORY_ENTRY_BASERELOC 5 +#define IMAGE_DIRECTORY_ENTRY_DEBUG 6 +#define IMAGE_DIRECTORY_ENTRY_COPYRIGHT 7 +#define IMAGE_DIRECTORY_ENTRY_GLOBALPTR 8 /* (MIPS GP) */ +#define IMAGE_DIRECTORY_ENTRY_TLS 9 +#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG 10 +#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT 11 +#define IMAGE_DIRECTORY_ENTRY_IAT 12 /* Import Address Table */ +#define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT 13 +#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR 14 + +/* Subsystem Values */ + +#define IMAGE_SUBSYSTEM_UNKNOWN 0 +#define IMAGE_SUBSYSTEM_NATIVE 1 +#define IMAGE_SUBSYSTEM_WINDOWS_GUI 2 /* Windows GUI subsystem */ +#define IMAGE_SUBSYSTEM_WINDOWS_CUI 3 /* Windows character subsystem */ +#define IMAGE_SUBSYSTEM_OS2_CUI 5 +#define IMAGE_SUBSYSTEM_POSIX_CUI 7 +#define IMAGE_SUBSYSTEM_NATIVE_WINDOWS 8 /* native Win9x driver */ +#define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI 9 /* Windows CE subsystem */ +#define IMAGE_SUBSYSTEM_EFI_APPLICATION 10 +#define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11 +#define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12 +#define IMAGE_SUBSYSTEM_EFI_ROM 13 +#define IMAGE_SUBSYSTEM_XBOX 14 +#define IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION 16 + +/* DLL Characteristics */ +#define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE 0x0040 +#define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY 0x0080 +#define IMAGE_DLLCHARACTERISTICS_NX_COMPAT 0x0100 +#define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION 0x0200 +#define IMAGE_DLLCHARACTERISTICS_NO_SEH 0x0400 +#define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800 +#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000 +#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000 + +typedef struct _IMAGE_FILE_HEADER { + WORD Machine; + WORD NumberOfSections; + DWORD TimeDateStamp; + DWORD PointerToSymbolTable; + DWORD NumberOfSymbols; + WORD SizeOfOptionalHeader; + WORD Characteristics; +} IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER; + +typedef struct _IMAGE_DATA_DIRECTORY { + DWORD VirtualAddress; + DWORD Size; +} IMAGE_DATA_DIRECTORY, *PIMAGE_DATA_DIRECTORY; + +#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES 16 + +typedef struct _IMAGE_OPTIONAL_HEADER64 { + WORD Magic; /* 0x20b */ + BYTE MajorLinkerVersion; + BYTE MinorLinkerVersion; + DWORD SizeOfCode; + DWORD SizeOfInitializedData; + DWORD SizeOfUninitializedData; + DWORD AddressOfEntryPoint; + DWORD BaseOfCode; + ULONGLONG ImageBase; + DWORD SectionAlignment; + DWORD FileAlignment; + WORD MajorOperatingSystemVersion; + WORD MinorOperatingSystemVersion; + WORD MajorImageVersion; + WORD MinorImageVersion; + WORD MajorSubsystemVersion; + WORD MinorSubsystemVersion; + DWORD Win32VersionValue; + DWORD SizeOfImage; + DWORD SizeOfHeaders; + DWORD CheckSum; + WORD Subsystem; + WORD DllCharacteristics; + ULONGLONG SizeOfStackReserve; + ULONGLONG SizeOfStackCommit; + ULONGLONG SizeOfHeapReserve; + ULONGLONG SizeOfHeapCommit; + DWORD LoaderFlags; + DWORD NumberOfRvaAndSizes; + IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; +} IMAGE_OPTIONAL_HEADER64, *PIMAGE_OPTIONAL_HEADER64; + +typedef struct _IMAGE_NT_HEADERS64 { + DWORD Signature; + IMAGE_FILE_HEADER FileHeader; + IMAGE_OPTIONAL_HEADER64 OptionalHeader; +} IMAGE_NT_HEADERS64, *PIMAGE_NT_HEADERS64; + +typedef struct _IMAGE_OPTIONAL_HEADER { + + /* Standard fields */ + + WORD Magic; /* 0x10b or 0x107 */ /* 0x00 */ + BYTE MajorLinkerVersion; + BYTE MinorLinkerVersion; + DWORD SizeOfCode; + DWORD SizeOfInitializedData; + DWORD SizeOfUninitializedData; + DWORD AddressOfEntryPoint; /* 0x10 */ + DWORD BaseOfCode; + DWORD BaseOfData; + + /* NT additional fields */ + + DWORD ImageBase; + DWORD SectionAlignment; /* 0x20 */ + DWORD FileAlignment; + WORD MajorOperatingSystemVersion; + WORD MinorOperatingSystemVersion; + WORD MajorImageVersion; + WORD MinorImageVersion; + WORD MajorSubsystemVersion; /* 0x30 */ + WORD MinorSubsystemVersion; + DWORD Win32VersionValue; + DWORD SizeOfImage; + DWORD SizeOfHeaders; + DWORD CheckSum; /* 0x40 */ + WORD Subsystem; + WORD DllCharacteristics; + DWORD SizeOfStackReserve; + DWORD SizeOfStackCommit; + DWORD SizeOfHeapReserve; /* 0x50 */ + DWORD SizeOfHeapCommit; + DWORD LoaderFlags; + DWORD NumberOfRvaAndSizes; + IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; /* 0x60 */ + /* 0xE0 */ +} IMAGE_OPTIONAL_HEADER32, *PIMAGE_OPTIONAL_HEADER32; + +typedef struct _IMAGE_NT_HEADERS { + DWORD Signature; /* "PE"\0\0 */ /* 0x00 */ + IMAGE_FILE_HEADER FileHeader; /* 0x04 */ + IMAGE_OPTIONAL_HEADER32 OptionalHeader; /* 0x18 */ +} IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; + +#ifdef _WIN64 +typedef IMAGE_NT_HEADERS64 IMAGE_NT_HEADERS; +typedef PIMAGE_NT_HEADERS64 PIMAGE_NT_HEADERS; +typedef IMAGE_OPTIONAL_HEADER64 IMAGE_OPTIONAL_HEADER; +typedef PIMAGE_OPTIONAL_HEADER64 PIMAGE_OPTIONAL_HEADER; +#else +typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS; +typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS; +typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER; +typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER; +#endif + +#define IMAGE_SIZEOF_SHORT_NAME 8 + +typedef struct _IMAGE_SECTION_HEADER { + BYTE Name[IMAGE_SIZEOF_SHORT_NAME]; + union { + DWORD PhysicalAddress; + DWORD VirtualSize; + } Misc; + DWORD VirtualAddress; + DWORD SizeOfRawData; + DWORD PointerToRawData; + DWORD PointerToRelocations; + DWORD PointerToLinenumbers; + WORD NumberOfRelocations; + WORD NumberOfLinenumbers; + DWORD Characteristics; +} IMAGE_SECTION_HEADER, *PIMAGE_SECTION_HEADER; + +#define IMAGE_SIZEOF_SECTION_HEADER 40 + +#define IMAGE_FIRST_SECTION(ntheader) \ + ((PIMAGE_SECTION_HEADER)(ULONG_PTR)((const BYTE *)&((const IMAGE_NT_HEADERS *)(ntheader))->OptionalHeader + \ + ((const IMAGE_NT_HEADERS *)(ntheader))->FileHeader.SizeOfOptionalHeader)) + +/* These defines are for the Characteristics bitfield. */ +/* #define IMAGE_SCN_TYPE_REG 0x00000000 - Reserved */ +/* #define IMAGE_SCN_TYPE_DSECT 0x00000001 - Reserved */ +/* #define IMAGE_SCN_TYPE_NOLOAD 0x00000002 - Reserved */ +/* #define IMAGE_SCN_TYPE_GROUP 0x00000004 - Reserved */ +#define IMAGE_SCN_TYPE_NO_PAD 0x00000008 /* Reserved */ +/* #define IMAGE_SCN_TYPE_COPY 0x00000010 - Reserved */ + +#define IMAGE_SCN_CNT_CODE 0x00000020 +#define IMAGE_SCN_CNT_INITIALIZED_DATA 0x00000040 +#define IMAGE_SCN_CNT_UNINITIALIZED_DATA 0x00000080 + +#define IMAGE_SCN_LNK_OTHER 0x00000100 +#define IMAGE_SCN_LNK_INFO 0x00000200 +/* #define IMAGE_SCN_TYPE_OVER 0x00000400 - Reserved */ +#define IMAGE_SCN_LNK_REMOVE 0x00000800 +#define IMAGE_SCN_LNK_COMDAT 0x00001000 + +/* 0x00002000 - Reserved */ +/* #define IMAGE_SCN_MEM_PROTECTED 0x00004000 - Obsolete */ +#define IMAGE_SCN_MEM_FARDATA 0x00008000 + +/* #define IMAGE_SCN_MEM_SYSHEAP 0x00010000 - Obsolete */ +#define IMAGE_SCN_MEM_PURGEABLE 0x00020000 +#define IMAGE_SCN_MEM_16BIT 0x00020000 +#define IMAGE_SCN_MEM_LOCKED 0x00040000 +#define IMAGE_SCN_MEM_PRELOAD 0x00080000 + +#define IMAGE_SCN_ALIGN_1BYTES 0x00100000 +#define IMAGE_SCN_ALIGN_2BYTES 0x00200000 +#define IMAGE_SCN_ALIGN_4BYTES 0x00300000 +#define IMAGE_SCN_ALIGN_8BYTES 0x00400000 +#define IMAGE_SCN_ALIGN_16BYTES 0x00500000 /* Default */ +#define IMAGE_SCN_ALIGN_32BYTES 0x00600000 +#define IMAGE_SCN_ALIGN_64BYTES 0x00700000 +#define IMAGE_SCN_ALIGN_128BYTES 0x00800000 +#define IMAGE_SCN_ALIGN_256BYTES 0x00900000 +#define IMAGE_SCN_ALIGN_512BYTES 0x00A00000 +#define IMAGE_SCN_ALIGN_1024BYTES 0x00B00000 +#define IMAGE_SCN_ALIGN_2048BYTES 0x00C00000 +#define IMAGE_SCN_ALIGN_4096BYTES 0x00D00000 +#define IMAGE_SCN_ALIGN_8192BYTES 0x00E00000 +/* 0x00F00000 - Unused */ +#define IMAGE_SCN_ALIGN_MASK 0x00F00000 + +#define IMAGE_SCN_LNK_NRELOC_OVFL 0x01000000 + + +#define IMAGE_SCN_MEM_DISCARDABLE 0x02000000 +#define IMAGE_SCN_MEM_NOT_CACHED 0x04000000 +#define IMAGE_SCN_MEM_NOT_PAGED 0x08000000 +#define IMAGE_SCN_MEM_SHARED 0x10000000 +#define IMAGE_SCN_MEM_EXECUTE 0x20000000 +#define IMAGE_SCN_MEM_READ 0x40000000 +#define IMAGE_SCN_MEM_WRITE 0x80000000 + +#include + +typedef struct _IMAGE_SYMBOL { + union { + BYTE ShortName[8]; + struct { + DWORD Short; + DWORD Long; + } Name; + DWORD LongName[2]; + } N; + DWORD Value; + SHORT SectionNumber; + WORD Type; + BYTE StorageClass; + BYTE NumberOfAuxSymbols; +} IMAGE_SYMBOL; +typedef IMAGE_SYMBOL *PIMAGE_SYMBOL; + +#define IMAGE_SIZEOF_SYMBOL 18 + +typedef struct _IMAGE_LINENUMBER { + union { + DWORD SymbolTableIndex; + DWORD VirtualAddress; + } Type; + WORD Linenumber; +} IMAGE_LINENUMBER; +typedef IMAGE_LINENUMBER *PIMAGE_LINENUMBER; + +#define IMAGE_SIZEOF_LINENUMBER 6 + +typedef union _IMAGE_AUX_SYMBOL { + struct { + DWORD TagIndex; + union { + struct { + WORD Linenumber; + WORD Size; + } LnSz; + DWORD TotalSize; + } Misc; + union { + struct { + DWORD PointerToLinenumber; + DWORD PointerToNextFunction; + } Function; + struct { + WORD Dimension[4]; + } Array; + } FcnAry; + WORD TvIndex; + } Sym; + struct { + BYTE Name[IMAGE_SIZEOF_SYMBOL]; + } File; + struct { + DWORD Length; + WORD NumberOfRelocations; + WORD NumberOfLinenumbers; + DWORD CheckSum; + SHORT Number; + BYTE Selection; + } Section; +} IMAGE_AUX_SYMBOL; +typedef IMAGE_AUX_SYMBOL *PIMAGE_AUX_SYMBOL; + +#define IMAGE_SIZEOF_AUX_SYMBOL 18 + +#include + +#define IMAGE_SYM_UNDEFINED (SHORT)0 +#define IMAGE_SYM_ABSOLUTE (SHORT)-1 +#define IMAGE_SYM_DEBUG (SHORT)-2 + +#define IMAGE_SYM_TYPE_NULL 0x0000 +#define IMAGE_SYM_TYPE_VOID 0x0001 +#define IMAGE_SYM_TYPE_CHAR 0x0002 +#define IMAGE_SYM_TYPE_SHORT 0x0003 +#define IMAGE_SYM_TYPE_INT 0x0004 +#define IMAGE_SYM_TYPE_LONG 0x0005 +#define IMAGE_SYM_TYPE_FLOAT 0x0006 +#define IMAGE_SYM_TYPE_DOUBLE 0x0007 +#define IMAGE_SYM_TYPE_STRUCT 0x0008 +#define IMAGE_SYM_TYPE_UNION 0x0009 +#define IMAGE_SYM_TYPE_ENUM 0x000A +#define IMAGE_SYM_TYPE_MOE 0x000B +#define IMAGE_SYM_TYPE_BYTE 0x000C +#define IMAGE_SYM_TYPE_WORD 0x000D +#define IMAGE_SYM_TYPE_UINT 0x000E +#define IMAGE_SYM_TYPE_DWORD 0x000F +#define IMAGE_SYM_TYPE_PCODE 0x8000 + +#define IMAGE_SYM_DTYPE_NULL 0 +#define IMAGE_SYM_DTYPE_POINTER 1 +#define IMAGE_SYM_DTYPE_FUNCTION 2 +#define IMAGE_SYM_DTYPE_ARRAY 3 + +#define IMAGE_SYM_CLASS_END_OF_FUNCTION (BYTE )-1 +#define IMAGE_SYM_CLASS_NULL 0x0000 +#define IMAGE_SYM_CLASS_AUTOMATIC 0x0001 +#define IMAGE_SYM_CLASS_EXTERNAL 0x0002 +#define IMAGE_SYM_CLASS_STATIC 0x0003 +#define IMAGE_SYM_CLASS_REGISTER 0x0004 +#define IMAGE_SYM_CLASS_EXTERNAL_DEF 0x0005 +#define IMAGE_SYM_CLASS_LABEL 0x0006 +#define IMAGE_SYM_CLASS_UNDEFINED_LABEL 0x0007 +#define IMAGE_SYM_CLASS_MEMBER_OF_STRUCT 0x0008 +#define IMAGE_SYM_CLASS_ARGUMENT 0x0009 +#define IMAGE_SYM_CLASS_STRUCT_TAG 0x000A +#define IMAGE_SYM_CLASS_MEMBER_OF_UNION 0x000B +#define IMAGE_SYM_CLASS_UNION_TAG 0x000C +#define IMAGE_SYM_CLASS_TYPE_DEFINITION 0x000D +#define IMAGE_SYM_CLASS_UNDEFINED_STATIC 0x000E +#define IMAGE_SYM_CLASS_ENUM_TAG 0x000F +#define IMAGE_SYM_CLASS_MEMBER_OF_ENUM 0x0010 +#define IMAGE_SYM_CLASS_REGISTER_PARAM 0x0011 +#define IMAGE_SYM_CLASS_BIT_FIELD 0x0012 + +#define IMAGE_SYM_CLASS_FAR_EXTERNAL 0x0044 +#define IMAGE_SYM_CLASS_BLOCK 0x0064 +#define IMAGE_SYM_CLASS_FUNCTION 0x0065 +#define IMAGE_SYM_CLASS_END_OF_STRUCT 0x0066 +#define IMAGE_SYM_CLASS_FILE 0x0067 +#define IMAGE_SYM_CLASS_SECTION 0x0068 +#define IMAGE_SYM_CLASS_WEAK_EXTERNAL 0x0069 + +#define N_BTMASK 0x000F +#define N_TMASK 0x0030 +#define N_TMASK1 0x00C0 +#define N_TMASK2 0x00F0 +#define N_BTSHFT 4 +#define N_TSHIFT 2 + +#define BTYPE(x) ((x) & N_BTMASK) + +#ifndef ISPTR +#define ISPTR(x) (((x) & N_TMASK) == (IMAGE_SYM_DTYPE_POINTER << N_BTSHFT)) +#endif + +#ifndef ISFCN +#define ISFCN(x) (((x) & N_TMASK) == (IMAGE_SYM_DTYPE_FUNCTION << N_BTSHFT)) +#endif + +#ifndef ISARY +#define ISARY(x) (((x) & N_TMASK) == (IMAGE_SYM_DTYPE_ARRAY << N_BTSHFT)) +#endif + +#ifndef ISTAG +#define ISTAG(x) ((x)==IMAGE_SYM_CLASS_STRUCT_TAG || (x)==IMAGE_SYM_CLASS_UNION_TAG || (x)==IMAGE_SYM_CLASS_ENUM_TAG) +#endif + +#ifndef INCREF +#define INCREF(x) ((((x)&~N_BTMASK)<>N_TSHIFT)&~N_BTMASK)|((x)&N_BTMASK)) +#endif + +#define IMAGE_COMDAT_SELECT_NODUPLICATES 1 +#define IMAGE_COMDAT_SELECT_ANY 2 +#define IMAGE_COMDAT_SELECT_SAME_SIZE 3 +#define IMAGE_COMDAT_SELECT_EXACT_MATCH 4 +#define IMAGE_COMDAT_SELECT_ASSOCIATIVE 5 +#define IMAGE_COMDAT_SELECT_LARGEST 6 +#define IMAGE_COMDAT_SELECT_NEWEST 7 + +#define IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY 1 +#define IMAGE_WEAK_EXTERN_SEARCH_LIBRARY 2 +#define IMAGE_WEAK_EXTERN_SEARCH_ALIAS 3 + +/* Export module directory */ + +typedef struct _IMAGE_EXPORT_DIRECTORY { + DWORD Characteristics; + DWORD TimeDateStamp; + WORD MajorVersion; + WORD MinorVersion; + DWORD Name; + DWORD Base; + DWORD NumberOfFunctions; + DWORD NumberOfNames; + DWORD AddressOfFunctions; + DWORD AddressOfNames; + DWORD AddressOfNameOrdinals; +} IMAGE_EXPORT_DIRECTORY,*PIMAGE_EXPORT_DIRECTORY; + +/* Import name entry */ +typedef struct _IMAGE_IMPORT_BY_NAME { + WORD Hint; + BYTE Name[1]; +} IMAGE_IMPORT_BY_NAME,*PIMAGE_IMPORT_BY_NAME; + +#include +/* Import thunk */ +typedef struct _IMAGE_THUNK_DATA64 { + union { + ULONGLONG ForwarderString; + ULONGLONG Function; + ULONGLONG Ordinal; + ULONGLONG AddressOfData; + } u1; +} IMAGE_THUNK_DATA64,*PIMAGE_THUNK_DATA64; +#include + +typedef struct _IMAGE_THUNK_DATA32 { + union { + DWORD ForwarderString; + DWORD Function; + DWORD Ordinal; + DWORD AddressOfData; + } u1; +} IMAGE_THUNK_DATA32,*PIMAGE_THUNK_DATA32; + +/* Import module directory */ + +typedef struct _IMAGE_IMPORT_DESCRIPTOR { + union { + DWORD Characteristics; /* 0 for terminating null import descriptor */ + DWORD OriginalFirstThunk; /* RVA to original unbound IAT */ + } DUMMYUNIONNAME; + DWORD TimeDateStamp; /* 0 if not bound, + * -1 if bound, and real date\time stamp + * in IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT + * (new BIND) + * otherwise date/time stamp of DLL bound to + * (Old BIND) + */ + DWORD ForwarderChain; /* -1 if no forwarders */ + DWORD Name; + /* RVA to IAT (if bound this IAT has actual addresses) */ + DWORD FirstThunk; +} IMAGE_IMPORT_DESCRIPTOR,*PIMAGE_IMPORT_DESCRIPTOR; + +#define IMAGE_ORDINAL_FLAG64 (((ULONGLONG)0x80000000 << 32) | 0x00000000) +#define IMAGE_ORDINAL_FLAG32 0x80000000 +#define IMAGE_SNAP_BY_ORDINAL64(ordinal) (((ordinal) & IMAGE_ORDINAL_FLAG64) != 0) +#define IMAGE_SNAP_BY_ORDINAL32(ordinal) (((ordinal) & IMAGE_ORDINAL_FLAG32) != 0) +#define IMAGE_ORDINAL64(ordinal) ((ordinal) & 0xffff) +#define IMAGE_ORDINAL32(ordinal) ((ordinal) & 0xffff) + +#ifdef _WIN64 +#define IMAGE_ORDINAL_FLAG IMAGE_ORDINAL_FLAG64 +#define IMAGE_SNAP_BY_ORDINAL(Ordinal) IMAGE_SNAP_BY_ORDINAL64(Ordinal) +#define IMAGE_ORDINAL(Ordinal) IMAGE_ORDINAL64(Ordinal) +typedef IMAGE_THUNK_DATA64 IMAGE_THUNK_DATA; +typedef PIMAGE_THUNK_DATA64 PIMAGE_THUNK_DATA; +#else +#define IMAGE_ORDINAL_FLAG IMAGE_ORDINAL_FLAG32 +#define IMAGE_SNAP_BY_ORDINAL(Ordinal) IMAGE_SNAP_BY_ORDINAL32(Ordinal) +#define IMAGE_ORDINAL(Ordinal) IMAGE_ORDINAL32(Ordinal) +typedef IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA; +typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA; +#endif + +typedef struct _IMAGE_BOUND_IMPORT_DESCRIPTOR +{ + DWORD TimeDateStamp; + WORD OffsetModuleName; + WORD NumberOfModuleForwarderRefs; +/* Array of zero or more IMAGE_BOUND_FORWARDER_REF follows */ +} IMAGE_BOUND_IMPORT_DESCRIPTOR, *PIMAGE_BOUND_IMPORT_DESCRIPTOR; + +typedef struct _IMAGE_BOUND_FORWARDER_REF +{ + DWORD TimeDateStamp; + WORD OffsetModuleName; + WORD Reserved; +} IMAGE_BOUND_FORWARDER_REF, *PIMAGE_BOUND_FORWARDER_REF; + +typedef struct _IMAGE_BASE_RELOCATION +{ + DWORD VirtualAddress; + DWORD SizeOfBlock; + /* WORD TypeOffset[1]; */ +} IMAGE_BASE_RELOCATION,*PIMAGE_BASE_RELOCATION; + +#include + +typedef struct _IMAGE_RELOCATION +{ + union { + DWORD VirtualAddress; + DWORD RelocCount; + } DUMMYUNIONNAME; + DWORD SymbolTableIndex; + WORD Type; +} IMAGE_RELOCATION, *PIMAGE_RELOCATION; + +#include + +#define IMAGE_SIZEOF_RELOCATION 10 + +typedef struct _IMAGE_DELAYLOAD_DESCRIPTOR +{ + union + { + DWORD AllAttributes; + struct + { + DWORD RvaBased:1; + DWORD ReservedAttributes:31; + } DUMMYSTRUCTNAME; + } Attributes; + + DWORD DllNameRVA; + DWORD ModuleHandleRVA; + DWORD ImportAddressTableRVA; + DWORD ImportNameTableRVA; + DWORD BoundImportAddressTableRVA; + DWORD UnloadInformationTableRVA; + DWORD TimeDateStamp; +} IMAGE_DELAYLOAD_DESCRIPTOR, *PIMAGE_DELAYLOAD_DESCRIPTOR; +typedef const IMAGE_DELAYLOAD_DESCRIPTOR *PCIMAGE_DELAYLOAD_DESCRIPTOR; + +/* generic relocation types */ +#define IMAGE_REL_BASED_ABSOLUTE 0 +#define IMAGE_REL_BASED_HIGH 1 +#define IMAGE_REL_BASED_LOW 2 +#define IMAGE_REL_BASED_HIGHLOW 3 +#define IMAGE_REL_BASED_HIGHADJ 4 +#define IMAGE_REL_BASED_MIPS_JMPADDR 5 +#define IMAGE_REL_BASED_ARM_MOV32A 5 /* yes, 5 too */ +#define IMAGE_REL_BASED_ARM_MOV32 5 /* yes, 5 too */ +#define IMAGE_REL_BASED_SECTION 6 +#define IMAGE_REL_BASED_REL 7 +#define IMAGE_REL_BASED_ARM_MOV32T 7 /* yes, 7 too */ +#define IMAGE_REL_BASED_THUMB_MOV32 7 /* yes, 7 too */ +#define IMAGE_REL_BASED_MIPS_JMPADDR16 9 +#define IMAGE_REL_BASED_IA64_IMM64 9 /* yes, 9 too */ +#define IMAGE_REL_BASED_DIR64 10 +#define IMAGE_REL_BASED_HIGH3ADJ 11 + +/* I386 relocation types */ +#define IMAGE_REL_I386_ABSOLUTE 0 +#define IMAGE_REL_I386_DIR16 1 +#define IMAGE_REL_I386_REL16 2 +#define IMAGE_REL_I386_DIR32 6 +#define IMAGE_REL_I386_DIR32NB 7 +#define IMAGE_REL_I386_SEG12 9 +#define IMAGE_REL_I386_SECTION 10 +#define IMAGE_REL_I386_SECREL 11 +#define IMAGE_REL_I386_TOKEN 12 +#define IMAGE_REL_I386_SECREL7 13 +#define IMAGE_REL_I386_REL32 20 + +/* MIPS relocation types */ +#define IMAGE_REL_MIPS_ABSOLUTE 0x0000 +#define IMAGE_REL_MIPS_REFHALF 0x0001 +#define IMAGE_REL_MIPS_REFWORD 0x0002 +#define IMAGE_REL_MIPS_JMPADDR 0x0003 +#define IMAGE_REL_MIPS_REFHI 0x0004 +#define IMAGE_REL_MIPS_REFLO 0x0005 +#define IMAGE_REL_MIPS_GPREL 0x0006 +#define IMAGE_REL_MIPS_LITERAL 0x0007 +#define IMAGE_REL_MIPS_SECTION 0x000A +#define IMAGE_REL_MIPS_SECREL 0x000B +#define IMAGE_REL_MIPS_SECRELLO 0x000C +#define IMAGE_REL_MIPS_SECRELHI 0x000D +#define IMAGE_REL_MIPS_TOKEN 0x000E +#define IMAGE_REL_MIPS_JMPADDR16 0x0010 +#define IMAGE_REL_MIPS_REFWORDNB 0x0022 +#define IMAGE_REL_MIPS_PAIR 0x0025 + +/* ALPHA relocation types */ +#define IMAGE_REL_ALPHA_ABSOLUTE 0x0000 +#define IMAGE_REL_ALPHA_REFLONG 0x0001 +#define IMAGE_REL_ALPHA_REFQUAD 0x0002 +#define IMAGE_REL_ALPHA_GPREL 0x0003 +#define IMAGE_REL_ALPHA_LITERAL 0x0004 +#define IMAGE_REL_ALPHA_LITUSE 0x0005 +#define IMAGE_REL_ALPHA_GPDISP 0x0006 +#define IMAGE_REL_ALPHA_BRADDR 0x0007 +#define IMAGE_REL_ALPHA_HINT 0x0008 +#define IMAGE_REL_ALPHA_INLINE_REFLONG 0x0009 +#define IMAGE_REL_ALPHA_REFHI 0x000A +#define IMAGE_REL_ALPHA_REFLO 0x000B +#define IMAGE_REL_ALPHA_PAIR 0x000C +#define IMAGE_REL_ALPHA_MATCH 0x000D +#define IMAGE_REL_ALPHA_SECTION 0x000E +#define IMAGE_REL_ALPHA_SECREL 0x000F +#define IMAGE_REL_ALPHA_REFLONGNB 0x0010 +#define IMAGE_REL_ALPHA_SECRELLO 0x0011 +#define IMAGE_REL_ALPHA_SECRELHI 0x0012 +#define IMAGE_REL_ALPHA_REFQ3 0x0013 +#define IMAGE_REL_ALPHA_REFQ2 0x0014 +#define IMAGE_REL_ALPHA_REFQ1 0x0015 +#define IMAGE_REL_ALPHA_GPRELLO 0x0016 +#define IMAGE_REL_ALPHA_GPRELHI 0x0017 + +/* PowerPC relocation types */ +#define IMAGE_REL_PPC_ABSOLUTE 0x0000 +#define IMAGE_REL_PPC_ADDR64 0x0001 +#define IMAGE_REL_PPC_ADDR 0x0002 +#define IMAGE_REL_PPC_ADDR24 0x0003 +#define IMAGE_REL_PPC_ADDR16 0x0004 +#define IMAGE_REL_PPC_ADDR14 0x0005 +#define IMAGE_REL_PPC_REL24 0x0006 +#define IMAGE_REL_PPC_REL14 0x0007 +#define IMAGE_REL_PPC_TOCREL16 0x0008 +#define IMAGE_REL_PPC_TOCREL14 0x0009 +#define IMAGE_REL_PPC_ADDR32NB 0x000A +#define IMAGE_REL_PPC_SECREL 0x000B +#define IMAGE_REL_PPC_SECTION 0x000C +#define IMAGE_REL_PPC_IFGLUE 0x000D +#define IMAGE_REL_PPC_IMGLUE 0x000E +#define IMAGE_REL_PPC_SECREL16 0x000F +#define IMAGE_REL_PPC_REFHI 0x0010 +#define IMAGE_REL_PPC_REFLO 0x0011 +#define IMAGE_REL_PPC_PAIR 0x0012 +#define IMAGE_REL_PPC_SECRELLO 0x0013 +#define IMAGE_REL_PPC_SECRELHI 0x0014 +#define IMAGE_REL_PPC_GPREL 0x0015 +#define IMAGE_REL_PPC_TOKEN 0x0016 +#define IMAGE_REL_PPC_TYPEMASK 0x00FF +/* modifier bits */ +#define IMAGE_REL_PPC_NEG 0x0100 +#define IMAGE_REL_PPC_BRTAKEN 0x0200 +#define IMAGE_REL_PPC_BRNTAKEN 0x0400 +#define IMAGE_REL_PPC_TOCDEFN 0x0800 + +/* SH3 relocation types */ +#define IMAGE_REL_SH3_ABSOLUTE 0x0000 +#define IMAGE_REL_SH3_DIRECT16 0x0001 +#define IMAGE_REL_SH3_DIRECT 0x0002 +#define IMAGE_REL_SH3_DIRECT8 0x0003 +#define IMAGE_REL_SH3_DIRECT8_WORD 0x0004 +#define IMAGE_REL_SH3_DIRECT8_LONG 0x0005 +#define IMAGE_REL_SH3_DIRECT4 0x0006 +#define IMAGE_REL_SH3_DIRECT4_WORD 0x0007 +#define IMAGE_REL_SH3_DIRECT4_LONG 0x0008 +#define IMAGE_REL_SH3_PCREL8_WORD 0x0009 +#define IMAGE_REL_SH3_PCREL8_LONG 0x000A +#define IMAGE_REL_SH3_PCREL12_WORD 0x000B +#define IMAGE_REL_SH3_STARTOF_SECTION 0x000C +#define IMAGE_REL_SH3_SIZEOF_SECTION 0x000D +#define IMAGE_REL_SH3_SECTION 0x000E +#define IMAGE_REL_SH3_SECREL 0x000F +#define IMAGE_REL_SH3_DIRECT32_NB 0x0010 +#define IMAGE_REL_SH3_GPREL4_LONG 0x0011 +#define IMAGE_REL_SH3_TOKEN 0x0012 + +/* ARM relocation types */ +#define IMAGE_REL_ARM_ABSOLUTE 0x0000 +#define IMAGE_REL_ARM_ADDR 0x0001 +#define IMAGE_REL_ARM_ADDR32NB 0x0002 +#define IMAGE_REL_ARM_BRANCH24 0x0003 +#define IMAGE_REL_ARM_BRANCH11 0x0004 +#define IMAGE_REL_ARM_TOKEN 0x0005 +#define IMAGE_REL_ARM_GPREL12 0x0006 +#define IMAGE_REL_ARM_GPREL7 0x0007 +#define IMAGE_REL_ARM_BLX24 0x0008 +#define IMAGE_REL_ARM_BLX11 0x0009 +#define IMAGE_REL_ARM_SECTION 0x000E +#define IMAGE_REL_ARM_SECREL 0x000F +#define IMAGE_REL_ARM_MOV32A 0x0010 +#define IMAGE_REL_ARM_MOV32T 0x0011 +#define IMAGE_REL_ARM_BRANCH20T 0x0012 +#define IMAGE_REL_ARM_BRANCH24T 0x0014 +#define IMAGE_REL_ARM_BLX23T 0x0015 + +/* ARM64 relocation types */ +#define IMAGE_REL_ARM64_ABSOLUTE 0x0000 +#define IMAGE_REL_ARM64_ADDR32 0x0001 +#define IMAGE_REL_ARM64_ADDR32NB 0x0002 +#define IMAGE_REL_ARM64_BRANCH26 0x0003 +#define IMAGE_REL_ARM64_PAGEBASE_REL21 0x0004 +#define IMAGE_REL_ARM64_REL21 0x0005 +#define IMAGE_REL_ARM64_PAGEOFFSET_12A 0x0006 +#define IMAGE_REL_ARM64_PAGEOFFSET_12L 0x0007 +#define IMAGE_REL_ARM64_SECREL 0x0008 +#define IMAGE_REL_ARM64_SECREL_LOW12A 0x0009 +#define IMAGE_REL_ARM64_SECREL_HIGH12A 0x000A +#define IMAGE_REL_ARM64_SECREL_LOW12L 0x000B +#define IMAGE_REL_ARM64_TOKEN 0x000C +#define IMAGE_REL_ARM64_SECTION 0x000D +#define IMAGE_REL_ARM64_ADDR64 0x000E + +/* IA64 relocation types */ +#define IMAGE_REL_IA64_ABSOLUTE 0x0000 +#define IMAGE_REL_IA64_IMM14 0x0001 +#define IMAGE_REL_IA64_IMM22 0x0002 +#define IMAGE_REL_IA64_IMM64 0x0003 +#define IMAGE_REL_IA64_DIR 0x0004 +#define IMAGE_REL_IA64_DIR64 0x0005 +#define IMAGE_REL_IA64_PCREL21B 0x0006 +#define IMAGE_REL_IA64_PCREL21M 0x0007 +#define IMAGE_REL_IA64_PCREL21F 0x0008 +#define IMAGE_REL_IA64_GPREL22 0x0009 +#define IMAGE_REL_IA64_LTOFF22 0x000A +#define IMAGE_REL_IA64_SECTION 0x000B +#define IMAGE_REL_IA64_SECREL22 0x000C +#define IMAGE_REL_IA64_SECREL64I 0x000D +#define IMAGE_REL_IA64_SECREL 0x000E +#define IMAGE_REL_IA64_LTOFF64 0x000F +#define IMAGE_REL_IA64_DIR32NB 0x0010 +#define IMAGE_REL_IA64_SREL14 0x0011 +#define IMAGE_REL_IA64_SREL22 0x0012 +#define IMAGE_REL_IA64_SREL32 0x0013 +#define IMAGE_REL_IA64_UREL32 0x0014 +#define IMAGE_REL_IA64_PCREL60X 0x0015 +#define IMAGE_REL_IA64_PCREL60B 0x0016 +#define IMAGE_REL_IA64_PCREL60F 0x0017 +#define IMAGE_REL_IA64_PCREL60I 0x0018 +#define IMAGE_REL_IA64_PCREL60M 0x0019 +#define IMAGE_REL_IA64_IMMGPREL64 0x001A +#define IMAGE_REL_IA64_TOKEN 0x001B +#define IMAGE_REL_IA64_GPREL32 0x001C +#define IMAGE_REL_IA64_ADDEND 0x001F + +/* AMD64 relocation types */ +#define IMAGE_REL_AMD64_ABSOLUTE 0x0000 +#define IMAGE_REL_AMD64_ADDR64 0x0001 +#define IMAGE_REL_AMD64_ADDR32 0x0002 +#define IMAGE_REL_AMD64_ADDR32NB 0x0003 +#define IMAGE_REL_AMD64_REL32 0x0004 +#define IMAGE_REL_AMD64_REL32_1 0x0005 +#define IMAGE_REL_AMD64_REL32_2 0x0006 +#define IMAGE_REL_AMD64_REL32_3 0x0007 +#define IMAGE_REL_AMD64_REL32_4 0x0008 +#define IMAGE_REL_AMD64_REL32_5 0x0009 +#define IMAGE_REL_AMD64_SECTION 0x000A +#define IMAGE_REL_AMD64_SECREL 0x000B +#define IMAGE_REL_AMD64_SECREL7 0x000C +#define IMAGE_REL_AMD64_TOKEN 0x000D +#define IMAGE_REL_AMD64_SREL32 0x000E +#define IMAGE_REL_AMD64_PAIR 0x000F +#define IMAGE_REL_AMD64_SSPAN32 0x0010 + +/* archive format */ + +#define IMAGE_ARCHIVE_START_SIZE 8 +#define IMAGE_ARCHIVE_START "!\n" +#define IMAGE_ARCHIVE_END "`\n" +#define IMAGE_ARCHIVE_PAD "\n" +#define IMAGE_ARCHIVE_LINKER_MEMBER "/ " +#define IMAGE_ARCHIVE_LONGNAMES_MEMBER "// " + +typedef struct _IMAGE_ARCHIVE_MEMBER_HEADER +{ + BYTE Name[16]; + BYTE Date[12]; + BYTE UserID[6]; + BYTE GroupID[6]; + BYTE Mode[8]; + BYTE Size[10]; + BYTE EndHeader[2]; +} IMAGE_ARCHIVE_MEMBER_HEADER, *PIMAGE_ARCHIVE_MEMBER_HEADER; + +#define IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR 60 + +typedef struct _IMPORT_OBJECT_HEADER +{ + WORD Sig1; + WORD Sig2; + WORD Version; + WORD Machine; + DWORD TimeDateStamp; + DWORD SizeOfData; + union + { + WORD Ordinal; + WORD Hint; + } DUMMYUNIONNAME; + WORD Type : 2; + WORD NameType : 3; + WORD Reserved : 11; +} IMPORT_OBJECT_HEADER; + +#define IMPORT_OBJECT_HDR_SIG2 0xffff + +typedef enum IMPORT_OBJECT_TYPE +{ + IMPORT_OBJECT_CODE = 0, + IMPORT_OBJECT_DATA = 1, + IMPORT_OBJECT_CONST = 2 +} IMPORT_OBJECT_TYPE; + +typedef enum IMPORT_OBJECT_NAME_TYPE +{ + IMPORT_OBJECT_ORDINAL = 0, + IMPORT_OBJECT_NAME = 1, + IMPORT_OBJECT_NAME_NO_PREFIX = 2, + IMPORT_OBJECT_NAME_UNDECORATE = 3 +} IMPORT_OBJECT_NAME_TYPE; + +typedef struct _ANON_OBJECT_HEADER +{ + WORD Sig1; + WORD Sig2; + WORD Version; + WORD Machine; + DWORD TimeDateStamp; + CLSID ClassID; + DWORD SizeOfData; +} ANON_OBJECT_HEADER; + +/* + * Resource directory stuff + */ +typedef struct _IMAGE_RESOURCE_DIRECTORY { + DWORD Characteristics; + DWORD TimeDateStamp; + WORD MajorVersion; + WORD MinorVersion; + WORD NumberOfNamedEntries; + WORD NumberOfIdEntries; + /* IMAGE_RESOURCE_DIRECTORY_ENTRY DirectoryEntries[]; */ +} IMAGE_RESOURCE_DIRECTORY,*PIMAGE_RESOURCE_DIRECTORY; + +#define IMAGE_RESOURCE_NAME_IS_STRING 0x80000000 +#define IMAGE_RESOURCE_DATA_IS_DIRECTORY 0x80000000 + +typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY { + union { + struct { +#ifdef BITFIELDS_BIGENDIAN + unsigned NameIsString:1; + unsigned NameOffset:31; +#else + unsigned NameOffset:31; + unsigned NameIsString:1; +#endif + } DUMMYSTRUCTNAME; + DWORD Name; +#ifdef WORDS_BIGENDIAN + WORD __pad; + WORD Id; +#else + WORD Id; + WORD __pad; +#endif + } DUMMYUNIONNAME; + union { + DWORD OffsetToData; + struct { +#ifdef BITFIELDS_BIGENDIAN + unsigned DataIsDirectory:1; + unsigned OffsetToDirectory:31; +#else + unsigned OffsetToDirectory:31; + unsigned DataIsDirectory:1; +#endif + } DUMMYSTRUCTNAME2; + } DUMMYUNIONNAME2; +} IMAGE_RESOURCE_DIRECTORY_ENTRY,*PIMAGE_RESOURCE_DIRECTORY_ENTRY; + + +typedef struct _IMAGE_RESOURCE_DIRECTORY_STRING { + WORD Length; + CHAR NameString[ 1 ]; +} IMAGE_RESOURCE_DIRECTORY_STRING,*PIMAGE_RESOURCE_DIRECTORY_STRING; + +typedef struct _IMAGE_RESOURCE_DIR_STRING_U { + WORD Length; + WCHAR NameString[ 1 ]; +} IMAGE_RESOURCE_DIR_STRING_U,*PIMAGE_RESOURCE_DIR_STRING_U; + +typedef struct _IMAGE_RESOURCE_DATA_ENTRY { + DWORD OffsetToData; + DWORD Size; + DWORD CodePage; + DWORD Reserved; +} IMAGE_RESOURCE_DATA_ENTRY,*PIMAGE_RESOURCE_DATA_ENTRY; + + +typedef VOID (CALLBACK *PIMAGE_TLS_CALLBACK)( + LPVOID DllHandle,DWORD Reason,LPVOID Reserved +); + +typedef struct _IMAGE_TLS_DIRECTORY64 { + ULONGLONG StartAddressOfRawData; + ULONGLONG EndAddressOfRawData; + ULONGLONG AddressOfIndex; + ULONGLONG AddressOfCallBacks; + DWORD SizeOfZeroFill; + DWORD Characteristics; +} IMAGE_TLS_DIRECTORY64, *PIMAGE_TLS_DIRECTORY64; + +typedef struct _IMAGE_TLS_DIRECTORY32 { + DWORD StartAddressOfRawData; + DWORD EndAddressOfRawData; + DWORD AddressOfIndex; + DWORD AddressOfCallBacks; + DWORD SizeOfZeroFill; + DWORD Characteristics; +} IMAGE_TLS_DIRECTORY32, *PIMAGE_TLS_DIRECTORY32; + +#ifdef _WIN64 +typedef IMAGE_TLS_DIRECTORY64 IMAGE_TLS_DIRECTORY; +typedef PIMAGE_TLS_DIRECTORY64 PIMAGE_TLS_DIRECTORY; +#else +typedef IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY; +typedef PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY; +#endif + +typedef struct _IMAGE_DEBUG_DIRECTORY { + DWORD Characteristics; + DWORD TimeDateStamp; + WORD MajorVersion; + WORD MinorVersion; + DWORD Type; + DWORD SizeOfData; + DWORD AddressOfRawData; + DWORD PointerToRawData; +} IMAGE_DEBUG_DIRECTORY, *PIMAGE_DEBUG_DIRECTORY; + +#define IMAGE_DEBUG_TYPE_UNKNOWN 0 +#define IMAGE_DEBUG_TYPE_COFF 1 +#define IMAGE_DEBUG_TYPE_CODEVIEW 2 +#define IMAGE_DEBUG_TYPE_FPO 3 +#define IMAGE_DEBUG_TYPE_MISC 4 +#define IMAGE_DEBUG_TYPE_EXCEPTION 5 +#define IMAGE_DEBUG_TYPE_FIXUP 6 +#define IMAGE_DEBUG_TYPE_OMAP_TO_SRC 7 +#define IMAGE_DEBUG_TYPE_OMAP_FROM_SRC 8 +#define IMAGE_DEBUG_TYPE_BORLAND 9 +#define IMAGE_DEBUG_TYPE_RESERVED10 10 +#define IMAGE_DEBUG_TYPE_CLSID 11 +#define IMAGE_DEBUG_TYPE_VC_FEATURE 12 +#define IMAGE_DEBUG_TYPE_POGO 13 +#define IMAGE_DEBUG_TYPE_ILTCG 14 +#define IMAGE_DEBUG_TYPE_MPX 15 + +typedef enum ReplacesCorHdrNumericDefines +{ + COMIMAGE_FLAGS_ILONLY = 0x00000001, + COMIMAGE_FLAGS_32BITREQUIRED = 0x00000002, + COMIMAGE_FLAGS_IL_LIBRARY = 0x00000004, + COMIMAGE_FLAGS_STRONGNAMESIGNED = 0x00000008, + COMIMAGE_FLAGS_NATIVE_ENTRYPOINT= 0x00000010, + COMIMAGE_FLAGS_TRACKDEBUGDATA = 0x00010000, + + COR_VERSION_MAJOR_V2 = 2, + COR_VERSION_MAJOR = COR_VERSION_MAJOR_V2, + COR_VERSION_MINOR = 0, + COR_DELETED_NAME_LENGTH = 8, + COR_VTABLEGAP_NAME_LENGTH = 8, + + NATIVE_TYPE_MAX_CB = 1, + COR_ILMETHOD_SECT_SMALL_MAX_DATASIZE = 0xff, + + IMAGE_COR_MIH_METHODRVA = 0x01, + IMAGE_COR_MIH_EHRVA = 0x02, + IMAGE_COR_MIH_BASICBLOCK = 0x08, + + COR_VTABLE_32BIT = 0x01, + COR_VTABLE_64BIT = 0x02, + COR_VTABLE_FROM_UNMANAGED = 0x04, + COR_VTABLE_CALL_MOST_DERIVED = 0x10, + + IMAGE_COR_EATJ_THUNK_SIZE = 32, + + MAX_CLASS_NAME = 1024, + MAX_PACKAGE_NAME = 1024, +} ReplacesCorHdrNumericDefines; + +typedef struct IMAGE_COR20_HEADER +{ + DWORD cb; + WORD MajorRuntimeVersion; + WORD MinorRuntimeVersion; + + IMAGE_DATA_DIRECTORY MetaData; + DWORD Flags; + union { + DWORD EntryPointToken; + DWORD EntryPointRVA; + } DUMMYUNIONNAME; + + IMAGE_DATA_DIRECTORY Resources; + IMAGE_DATA_DIRECTORY StrongNameSignature; + IMAGE_DATA_DIRECTORY CodeManagerTable; + IMAGE_DATA_DIRECTORY VTableFixups; + IMAGE_DATA_DIRECTORY ExportAddressTableJumps; + IMAGE_DATA_DIRECTORY ManagedNativeHeader; + +} IMAGE_COR20_HEADER, *PIMAGE_COR20_HEADER; + +typedef struct _IMAGE_COFF_SYMBOLS_HEADER { + DWORD NumberOfSymbols; + DWORD LvaToFirstSymbol; + DWORD NumberOfLinenumbers; + DWORD LvaToFirstLinenumber; + DWORD RvaToFirstByteOfCode; + DWORD RvaToLastByteOfCode; + DWORD RvaToFirstByteOfData; + DWORD RvaToLastByteOfData; +} IMAGE_COFF_SYMBOLS_HEADER, *PIMAGE_COFF_SYMBOLS_HEADER; + +#define FRAME_FPO 0 +#define FRAME_TRAP 1 +#define FRAME_TSS 2 +#define FRAME_NONFPO 3 + +typedef struct _FPO_DATA { + DWORD ulOffStart; + DWORD cbProcSize; + DWORD cdwLocals; + WORD cdwParams; + WORD cbProlog : 8; + WORD cbRegs : 3; + WORD fHasSEH : 1; + WORD fUseBP : 1; + WORD reserved : 1; + WORD cbFrame : 2; +} FPO_DATA, *PFPO_DATA; + +typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY64 { + DWORD Size; + DWORD TimeDateStamp; + WORD MajorVersion; + WORD MinorVersion; + DWORD GlobalFlagsClear; + DWORD GlobalFlagsSet; + DWORD CriticalSectionDefaultTimeout; + ULONGLONG DeCommitFreeBlockThreshold; + ULONGLONG DeCommitTotalFreeThreshold; + ULONGLONG LockPrefixTable; + ULONGLONG MaximumAllocationSize; + ULONGLONG VirtualMemoryThreshold; + ULONGLONG ProcessAffinityMask; + DWORD ProcessHeapFlags; + WORD CSDVersion; + WORD Reserved1; + ULONGLONG EditList; + ULONGLONG SecurityCookie; + ULONGLONG SEHandlerTable; + ULONGLONG SEHandlerCount; +} IMAGE_LOAD_CONFIG_DIRECTORY64, *PIMAGE_LOAD_CONFIG_DIRECTORY64; + +typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY32 { + DWORD Size; + DWORD TimeDateStamp; + WORD MajorVersion; + WORD MinorVersion; + DWORD GlobalFlagsClear; + DWORD GlobalFlagsSet; + DWORD CriticalSectionDefaultTimeout; + DWORD DeCommitFreeBlockThreshold; + DWORD DeCommitTotalFreeThreshold; + PVOID LockPrefixTable; + DWORD MaximumAllocationSize; + DWORD VirtualMemoryThreshold; + DWORD ProcessHeapFlags; + DWORD ProcessAffinityMask; + WORD CSDVersion; + WORD Reserved1; + PVOID EditList; + DWORD SecurityCookie; + DWORD SEHandlerTable; + DWORD SEHandlerCount; +} IMAGE_LOAD_CONFIG_DIRECTORY32, *PIMAGE_LOAD_CONFIG_DIRECTORY32; + +#ifdef _WIN64 +typedef IMAGE_LOAD_CONFIG_DIRECTORY64 IMAGE_LOAD_CONFIG_DIRECTORY; +typedef PIMAGE_LOAD_CONFIG_DIRECTORY64 PIMAGE_LOAD_CONFIG_DIRECTORY; +#else +typedef IMAGE_LOAD_CONFIG_DIRECTORY32 IMAGE_LOAD_CONFIG_DIRECTORY; +typedef PIMAGE_LOAD_CONFIG_DIRECTORY32 PIMAGE_LOAD_CONFIG_DIRECTORY; +#endif + +typedef struct _IMAGE_FUNCTION_ENTRY { + DWORD StartingAddress; + DWORD EndingAddress; + DWORD EndOfPrologue; +} IMAGE_FUNCTION_ENTRY, *PIMAGE_FUNCTION_ENTRY; + +#define IMAGE_DEBUG_MISC_EXENAME 1 + +typedef struct _IMAGE_DEBUG_MISC { + DWORD DataType; + DWORD Length; + BYTE Unicode; + BYTE Reserved[ 3 ]; + BYTE Data[ 1 ]; +} IMAGE_DEBUG_MISC, *PIMAGE_DEBUG_MISC; + +/* This is the structure that appears at the very start of a .DBG file. */ + +typedef struct _IMAGE_SEPARATE_DEBUG_HEADER { + WORD Signature; + WORD Flags; + WORD Machine; + WORD Characteristics; + DWORD TimeDateStamp; + DWORD CheckSum; + DWORD ImageBase; + DWORD SizeOfImage; + DWORD NumberOfSections; + DWORD ExportedNamesSize; + DWORD DebugDirectorySize; + DWORD SectionAlignment; + DWORD Reserved[ 2 ]; +} IMAGE_SEPARATE_DEBUG_HEADER,*PIMAGE_SEPARATE_DEBUG_HEADER; + +#define IMAGE_SEPARATE_DEBUG_SIGNATURE 0x4944 + + +typedef struct tagMESSAGE_RESOURCE_ENTRY { + WORD Length; + WORD Flags; + BYTE Text[1]; +} MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY; +#define MESSAGE_RESOURCE_UNICODE 0x0001 + +typedef struct tagMESSAGE_RESOURCE_BLOCK { + DWORD LowId; + DWORD HighId; + DWORD OffsetToEntries; +} MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK; + +typedef struct tagMESSAGE_RESOURCE_DATA { + DWORD NumberOfBlocks; + MESSAGE_RESOURCE_BLOCK Blocks[ 1 ]; +} MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA; + +/* + * Here follows typedefs for security and tokens. + */ + +/* + * First a constant for the following typedefs. + */ + +#define ANYSIZE_ARRAY 1 + +/* FIXME: Orphan. What does it point to? */ +typedef PVOID PACCESS_TOKEN; +typedef PVOID PSECURITY_DESCRIPTOR; +typedef PVOID PSID; + +typedef enum _TOKEN_ELEVATION_TYPE { + TokenElevationTypeDefault = 1, + TokenElevationTypeFull, + TokenElevationTypeLimited +} TOKEN_ELEVATION_TYPE, *PTOKEN_ELEVATION_TYPE; + +/* + * TOKEN_INFORMATION_CLASS + */ + +typedef enum _TOKEN_INFORMATION_CLASS { + TokenUser = 1, + TokenGroups, + TokenPrivileges, + TokenOwner, + TokenPrimaryGroup, + TokenDefaultDacl, + TokenSource, + TokenType, + TokenImpersonationLevel, + TokenStatistics, + TokenRestrictedSids, + TokenSessionId, + TokenGroupsAndPrivileges, + TokenSessionReference, + TokenSandBoxInert, + TokenAuditPolicy, + TokenOrigin, + TokenElevationType, + TokenLinkedToken, + TokenElevation, + TokenHasRestrictions, + TokenAccessInformation, + TokenVirtualizationAllowed, + TokenVirtualizationEnabled, + TokenIntegrityLevel, + TokenUIAccess, + TokenMandatoryPolicy, + TokenLogonSid, + TokenIsAppContainer, + TokenCapabilities, + TokenAppContainerSid, + TokenAppContainerNumber, + TokenUserClaimAttributes, + TokenDeviceClaimAttributes, + TokenRestrictedUserClaimAttributes, + TokenRestrictedDeviceClaimAttributes, + TokenDeviceGroups, + TokenRestrictedDeviceGroups, + TokenSecurityAttributes, + TokenIsRestricted, + TokenProcessTrustLevel, + MaxTokenInfoClass +} TOKEN_INFORMATION_CLASS; + +#define TOKEN_TOKEN_ADJUST_DEFAULT 0x0080 +#define TOKEN_ADJUST_GROUPS 0x0040 +#define TOKEN_ADJUST_PRIVILEGES 0x0020 +#define TOKEN_ADJUST_SESSIONID 0x0100 +#define TOKEN_ASSIGN_PRIMARY 0x0001 +#define TOKEN_DUPLICATE 0x0002 +#define TOKEN_EXECUTE STANDARD_RIGHTS_EXECUTE +#define TOKEN_IMPERSONATE 0x0004 +#define TOKEN_QUERY 0x0008 +#define TOKEN_QUERY_SOURCE 0x0010 +#define TOKEN_ADJUST_DEFAULT 0x0080 +#define TOKEN_READ (STANDARD_RIGHTS_READ|TOKEN_QUERY) +#define TOKEN_WRITE (STANDARD_RIGHTS_WRITE | \ + TOKEN_ADJUST_PRIVILEGES | \ + TOKEN_ADJUST_GROUPS | \ + TOKEN_ADJUST_DEFAULT ) +#define TOKEN_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \ + TOKEN_ASSIGN_PRIMARY | \ + TOKEN_DUPLICATE | \ + TOKEN_IMPERSONATE | \ + TOKEN_QUERY | \ + TOKEN_QUERY_SOURCE | \ + TOKEN_ADJUST_PRIVILEGES | \ + TOKEN_ADJUST_GROUPS | \ + TOKEN_ADJUST_SESSIONID | \ + TOKEN_ADJUST_DEFAULT ) + +#ifndef _SECURITY_DEFINED +#define _SECURITY_DEFINED + + +typedef DWORD ACCESS_MASK, *PACCESS_MASK; + +typedef struct _GENERIC_MAPPING { + ACCESS_MASK GenericRead; + ACCESS_MASK GenericWrite; + ACCESS_MASK GenericExecute; + ACCESS_MASK GenericAll; +} GENERIC_MAPPING, *PGENERIC_MAPPING; + +#ifndef SID_IDENTIFIER_AUTHORITY_DEFINED +#define SID_IDENTIFIER_AUTHORITY_DEFINED +typedef struct { + BYTE Value[6]; +} SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY; +#endif /* !defined(SID_IDENTIFIER_AUTHORITY_DEFINED) */ + +#ifndef SID_DEFINED +#define SID_DEFINED +typedef struct _SID { + BYTE Revision; + BYTE SubAuthorityCount; + SID_IDENTIFIER_AUTHORITY IdentifierAuthority; + DWORD SubAuthority[1]; +} SID,*PISID; +#endif /* !defined(SID_DEFINED) */ + +#define SID_REVISION (1) /* Current revision */ +#define SID_MAX_SUB_AUTHORITIES (15) /* current max subauths */ +#define SID_RECOMMENDED_SUB_AUTHORITIES (1) /* recommended subauths */ + +#define SECURITY_MAX_SID_SIZE (sizeof(SID) - sizeof(DWORD) + (SID_MAX_SUB_AUTHORITIES * sizeof(DWORD))) + +/* + * ACL + */ + +#define ACL_REVISION1 1 +#define ACL_REVISION2 2 +#define ACL_REVISION3 3 +#define ACL_REVISION4 4 + +#define MIN_ACL_REVISION ACL_REVISION2 +#define MAX_ACL_REVISION ACL_REVISION4 + +#define ACL_REVISION 2 + +typedef struct _ACL { + BYTE AclRevision; + BYTE Sbz1; + WORD AclSize; + WORD AceCount; + WORD Sbz2; +} ACL, *PACL; + +typedef enum _ACL_INFORMATION_CLASS +{ + AclRevisionInformation = 1, + AclSizeInformation +} ACL_INFORMATION_CLASS; + +typedef struct _ACL_REVISION_INFORMATION +{ + DWORD AclRevision; +} ACL_REVISION_INFORMATION, *PACL_REVISION_INFORMATION; + +typedef struct _ACL_SIZE_INFORMATION +{ + DWORD AceCount; + DWORD AclBytesInUse; + DWORD AclBytesFree; +} ACL_SIZE_INFORMATION, *PACL_SIZE_INFORMATION; + +/* SECURITY_DESCRIPTOR */ +#define SECURITY_DESCRIPTOR_REVISION 1 +#define SECURITY_DESCRIPTOR_REVISION1 1 + + +/* + * Privilege Names + */ +#ifdef UNICODE +#if defined(_MSC_VER) +#define SE_CREATE_TOKEN_NAME L"SeCreateTokenPrivilege" +#define SE_ASSIGNPRIMARYTOKEN_NAME L"SeAssignPrimaryTokenPrivilege" +#define SE_LOCK_MEMORY_NAME L"SeLockMemoryPrivilege" +#define SE_INCREASE_QUOTA_NAME L"SeIncreaseQuotaPrivilege" +#define SE_UNSOLICITED_INPUT_NAME L"SeUnsolicitedInputPrivilege" +#define SE_MACHINE_ACCOUNT_NAME L"SeMachineAccountPrivilege" +#define SE_TCB_NAME L"SeTcbPrivilege" +#define SE_SECURITY_NAME L"SeSecurityPrivilege" +#define SE_TAKE_OWNERSHIP_NAME L"SeTakeOwnershipPrivilege" +#define SE_LOAD_DRIVER_NAME L"SeLoadDriverPrivilege" +#define SE_SYSTEM_PROFILE_NAME L"SeSystemProfilePrivilege" +#define SE_SYSTEMTIME_NAME L"SeSystemtimePrivilege" +#define SE_PROF_SINGLE_PROCESS_NAME L"SeProfileSingleProcessPrivilege" +#define SE_INC_BASE_PRIORITY_NAME L"SeIncreaseBasePriorityPrivilege" +#define SE_CREATE_PAGEFILE_NAME L"SeCreatePagefilePrivilege" +#define SE_CREATE_PERMANENT_NAME L"SeCreatePermanentPrivilege" +#define SE_BACKUP_NAME L"SeBackupPrivilege" +#define SE_RESTORE_NAME L"SeRestorePrivilege" +#define SE_SHUTDOWN_NAME L"SeShutdownPrivilege" +#define SE_DEBUG_NAME L"SeDebugPrivilege" +#define SE_AUDIT_NAME L"SeAuditPrivilege" +#define SE_SYSTEM_ENVIRONMENT_NAME L"SeSystemEnvironmentPrivilege" +#define SE_CHANGE_NOTIFY_NAME L"SeChangeNotifyPrivilege" +#define SE_REMOTE_SHUTDOWN_NAME L"SeRemoteShutdownPrivilege" +#define SE_UNDOCK_NAME L"SeUndockPrivilege" +#define SE_ENABLE_DELEGATION_NAME L"SeEnableDelegationPrivilege" +#define SE_MANAGE_VOLUME_NAME L"SeManageVolumePrivilege" +#define SE_IMPERSONATE_NAME L"SeImpersonatePrivilege" +#define SE_CREATE_GLOBAL_NAME L"SeCreateGlobalPrivilege" +#elif defined(__GNUC__) +#define SE_CREATE_TOKEN_NAME (const WCHAR []){ 'S','e','C','r','e','a','t','e','T','o','k','e','n','P','r','i','v','i','l','e','g','e',0 } +#define SE_ASSIGNPRIMARYTOKEN_NAME (const WCHAR []){ 'S','e','A','s','s','i','g','n','P','r','i','m','a','r','y','T','o','k','e','n','P','r','i','v','i','l','e','g','e',0 } +#define SE_LOCK_MEMORY_NAME (const WCHAR []){ 'S','e','L','o','c','k','M','e','m','o','r','y','P','r','i','v','i','l','e','g','e',0 } +#define SE_INCREASE_QUOTA_NAME (const WCHAR []){ 'S','e','I','n','c','r','e','a','s','e','Q','u','o','t','a','P','r','i','v','i','l','e','g','e',0 } +#define SE_UNSOLICITED_INPUT_NAME (const WCHAR []){ 'S','e','U','n','s','o','l','i','c','i','t','e','d','I','n','p','u','t','P','r','i','v','i','l','e','g','e',0 } +#define SE_MACHINE_ACCOUNT_NAME (const WCHAR []){ 'S','e','M','a','c','h','i','n','e','A','c','c','o','u','n','t','P','r','i','v','i','l','e','g','e',0 } +#define SE_TCB_NAME (const WCHAR []){ 'S','e','T','c','b','P','r','i','v','i','l','e','g','e',0 } +#define SE_SECURITY_NAME (const WCHAR []){ 'S','e','S','e','c','u','r','i','t','y','P','r','i','v','i','l','e','g','e',0 } +#define SE_TAKE_OWNERSHIP_NAME (const WCHAR []){ 'S','e','T','a','k','e','O','w','n','e','r','s','h','i','p','P','r','i','v','i','l','e','g','e',0 } +#define SE_LOAD_DRIVER_NAME (const WCHAR []){ 'S','e','L','o','a','d','D','r','i','v','e','r','P','r','i','v','i','l','e','g','e',0 } +#define SE_SYSTEM_PROFILE_NAME (const WCHAR []){ 'S','e','S','y','s','t','e','m','P','r','o','f','i','l','e','P','r','i','v','i','l','e','g','e',0 } +#define SE_SYSTEMTIME_NAME (const WCHAR []){ 'S','e','S','y','s','t','e','m','t','i','m','e','P','r','i','v','i','l','e','g','e',0 } +#define SE_PROF_SINGLE_PROCESS_NAME (const WCHAR []){ 'S','e','P','r','o','f','i','l','e','S','i','n','g','l','e','P','r','o','c','e','s','s','P','r','i','v','i','l','e','g','e',0 } +#define SE_INC_BASE_PRIORITY_NAME (const WCHAR []){ 'S','e','I','n','c','r','e','a','s','e','B','a','s','e','P','r','i','o','r','i','t','y','P','r','i','v','i','l','e','g','e',0 } +#define SE_CREATE_PAGEFILE_NAME (const WCHAR []){ 'S','e','C','r','e','a','t','e','P','a','g','e','f','i','l','e','P','r','i','v','i','l','e','g','e',0 } +#define SE_CREATE_PERMANENT_NAME (const WCHAR []){ 'S','e','C','r','e','a','t','e','P','e','r','m','a','n','e','n','t','P','r','i','v','i','l','e','g','e',0 } +#define SE_BACKUP_NAME (const WCHAR []){ 'S','e','B','a','c','k','u','p','P','r','i','v','i','l','e','g','e',0 } +#define SE_RESTORE_NAME (const WCHAR []){ 'S','e','R','e','s','t','o','r','e','P','r','i','v','i','l','e','g','e',0 } +#define SE_SHUTDOWN_NAME (const WCHAR []){ 'S','e','S','h','u','t','d','o','w','n','P','r','i','v','i','l','e','g','e',0 } +#define SE_DEBUG_NAME (const WCHAR []){ 'S','e','D','e','b','u','g','P','r','i','v','i','l','e','g','e',0 } +#define SE_AUDIT_NAME (const WCHAR []){ 'S','e','A','u','d','i','t','P','r','i','v','i','l','e','g','e',0 } +#define SE_SYSTEM_ENVIRONMENT_NAME (const WCHAR []){ 'S','e','S','y','s','t','e','m','E','n','v','i','r','o','n','m','e','n','t','P','r','i','v','i','l','e','g','e',0 } +#define SE_CHANGE_NOTIFY_NAME (const WCHAR []){ 'S','e','C','h','a','n','g','e','N','o','t','i','f','y','P','r','i','v','i','l','e','g','e',0 } +#define SE_REMOTE_SHUTDOWN_NAME (const WCHAR []){ 'S','e','R','e','m','o','t','e','S','h','u','t','d','o','w','n','P','r','i','v','i','l','e','g','e',0 } +#define SE_UNDOCK_NAME (const WCHAR []){ 'S','e','U','n','d','o','c','k','P','r','i','v','i','l','e','g','e',0 } +#define SE_ENABLE_DELEGATION_NAME (const WCHAR []){ 'S','e','E','n','a','b','l','e','D','e','l','e','g','a','t','i','o','n','P','r','i','v','i','l','e','g','e',0 } +#define SE_MANAGE_VOLUME_NAME (const WCHAR []){ 'S','e','M','a','n','a','g','e','V','o','l','u','m','e','P','r','i','v','i','l','e','g','e',0 } +#define SE_IMPERSONATE_NAME (const WCHAR []){ 'S','e','I','m','p','e','r','s','o','n','a','t','e','P','r','i','v','i','l','e','g','e',0 } +#define SE_CREATE_GLOBAL_NAME (const WCHAR []){ 'S','e','C','r','e','a','t','e','G','l','o','b','a','l','P','r','i','v','i','l','e','g','e',0 } +#else /* _MSC_VER/__GNUC__ */ +static const WCHAR SE_CREATE_TOKEN_NAME[] = { 'S','e','C','r','e','a','t','e','T','o','k','e','n','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_ASSIGNPRIMARYTOKEN_NAME[] = { 'S','e','A','s','s','i','g','n','P','r','i','m','a','r','y','T','o','k','e','n','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_LOCK_MEMORY_NAME[] = { 'S','e','L','o','c','k','M','e','m','o','r','y','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_INCREASE_QUOTA_NAME[] = { 'S','e','I','n','c','r','e','a','s','e','Q','u','o','t','a','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_UNSOLICITED_INPUT_NAME[] = { 'S','e','U','n','s','o','l','i','c','i','t','e','d','I','n','p','u','t','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_MACHINE_ACCOUNT_NAME[] = { 'S','e','M','a','c','h','i','n','e','A','c','c','o','u','n','t','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_TCB_NAME[] = { 'S','e','T','c','b','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_SECURITY_NAME[] = { 'S','e','S','e','c','u','r','i','t','y','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_TAKE_OWNERSHIP_NAME[] = { 'S','e','T','a','k','e','O','w','n','e','r','s','h','i','p','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_LOAD_DRIVER_NAME[] = { 'S','e','L','o','a','d','D','r','i','v','e','r','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_SYSTEM_PROFILE_NAME[] = { 'S','e','S','y','s','t','e','m','P','r','o','f','i','l','e','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_SYSTEMTIME_NAME[] = { 'S','e','S','y','s','t','e','m','t','i','m','e','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_PROF_SINGLE_PROCESS_NAME[] = { 'S','e','P','r','o','f','i','l','e','S','i','n','g','l','e','P','r','o','c','e','s','s','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_INC_BASE_PRIORITY_NAME[] = { 'S','e','I','n','c','r','e','a','s','e','B','a','s','e','P','r','i','o','r','i','t','y','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_CREATE_PAGEFILE_NAME[] = { 'S','e','C','r','e','a','t','e','P','a','g','e','f','i','l','e','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_CREATE_PERMANENT_NAME[] = { 'S','e','C','r','e','a','t','e','P','e','r','m','a','n','e','n','t','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_BACKUP_NAME[] = { 'S','e','B','a','c','k','u','p','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_RESTORE_NAME[] = { 'S','e','R','e','s','t','o','r','e','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_SHUTDOWN_NAME[] = { 'S','e','S','h','u','t','d','o','w','n','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_DEBUG_NAME[] = { 'S','e','D','e','b','u','g','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_AUDIT_NAME[] = { 'S','e','A','u','d','i','t','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_SYSTEM_ENVIRONMENT_NAME[] = { 'S','e','S','y','s','t','e','m','E','n','v','i','r','o','n','m','e','n','t','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_CHANGE_NOTIFY_NAME[] = { 'S','e','C','h','a','n','g','e','N','o','t','i','f','y','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_REMOTE_SHUTDOWN_NAME[] = { 'S','e','R','e','m','o','t','e','S','h','u','t','d','o','w','n','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_UNDOCK_NAME[] = { 'S','e','U','n','d','o','c','k','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_ENABLE_DELEGATION_NAME[] = { 'S','e','E','n','a','b','l','e','D','e','l','e','g','a','t','i','o','n','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_MANAGE_VOLUME_NAME[] = { 'S','e','M','a','n','a','g','e','V','o','l','u','m','e','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_IMPERSONATE_NAME[] = { 'S','e','I','m','p','e','r','s','o','n','a','t','e','P','r','i','v','i','l','e','g','e',0 }; +static const WCHAR SE_CREATE_GLOBAL_NAME[] = { 'S','e','C','r','e','a','t','e','G','l','o','b','a','l','P','r','i','v','i','l','e','g','e',0 }; +#endif +#else /* UNICODE */ +#define SE_CREATE_TOKEN_NAME "SeCreateTokenPrivilege" +#define SE_ASSIGNPRIMARYTOKEN_NAME "SeAssignPrimaryTokenPrivilege" +#define SE_LOCK_MEMORY_NAME "SeLockMemoryPrivilege" +#define SE_INCREASE_QUOTA_NAME "SeIncreaseQuotaPrivilege" +#define SE_UNSOLICITED_INPUT_NAME "SeUnsolicitedInputPrivilege" +#define SE_MACHINE_ACCOUNT_NAME "SeMachineAccountPrivilege" +#define SE_TCB_NAME "SeTcbPrivilege" +#define SE_SECURITY_NAME "SeSecurityPrivilege" +#define SE_TAKE_OWNERSHIP_NAME "SeTakeOwnershipPrivilege" +#define SE_LOAD_DRIVER_NAME "SeLoadDriverPrivilege" +#define SE_SYSTEM_PROFILE_NAME "SeSystemProfilePrivilege" +#define SE_SYSTEMTIME_NAME "SeSystemtimePrivilege" +#define SE_PROF_SINGLE_PROCESS_NAME "SeProfileSingleProcessPrivilege" +#define SE_INC_BASE_PRIORITY_NAME "SeIncreaseBasePriorityPrivilege" +#define SE_CREATE_PAGEFILE_NAME "SeCreatePagefilePrivilege" +#define SE_CREATE_PERMANENT_NAME "SeCreatePermanentPrivilege" +#define SE_BACKUP_NAME "SeBackupPrivilege" +#define SE_RESTORE_NAME "SeRestorePrivilege" +#define SE_SHUTDOWN_NAME "SeShutdownPrivilege" +#define SE_DEBUG_NAME "SeDebugPrivilege" +#define SE_AUDIT_NAME "SeAuditPrivilege" +#define SE_SYSTEM_ENVIRONMENT_NAME "SeSystemEnvironmentPrivilege" +#define SE_CHANGE_NOTIFY_NAME "SeChangeNotifyPrivilege" +#define SE_REMOTE_SHUTDOWN_NAME "SeRemoteShutdownPrivilege" +#define SE_UNDOCK_NAME "SeUndockPrivilege" +#define SE_ENABLE_DELEGATION_NAME "SeEnableDelegationPrivilege" +#define SE_MANAGE_VOLUME_NAME "SeManageVolumePrivilege" +#define SE_IMPERSONATE_NAME "SeImpersonatePrivilege" +#define SE_CREATE_GLOBAL_NAME "SeCreateGlobalPrivilege" +#endif + +#define SE_GROUP_MANDATORY 0x00000001 +#define SE_GROUP_ENABLED_BY_DEFAULT 0x00000002 +#define SE_GROUP_ENABLED 0x00000004 +#define SE_GROUP_OWNER 0x00000008 +#define SE_GROUP_USE_FOR_DENY_ONLY 0x00000010 +#define SE_GROUP_INTEGRITY 0x00000020 +#define SE_GROUP_INTEGRITY_ENABLED 0x00000040 +#define SE_GROUP_LOGON_ID 0xC0000000 +#define SE_GROUP_RESOURCE 0x20000000 +#define SE_GROUP_VALID_ATTRIBUTES 0xE000007F + +#define SE_PRIVILEGE_ENABLED_BY_DEFAULT 0x00000001 +#define SE_PRIVILEGE_ENABLED 0x00000002 +#define SE_PRIVILEGE_REMOVED 0x00000004 +#define SE_PRIVILEGE_USED_FOR_ACCESS 0x80000000 + +#define PRIVILEGE_SET_ALL_NECESSARY 1 + +#define SE_OWNER_DEFAULTED 0x00000001 +#define SE_GROUP_DEFAULTED 0x00000002 +#define SE_DACL_PRESENT 0x00000004 +#define SE_DACL_DEFAULTED 0x00000008 +#define SE_SACL_PRESENT 0x00000010 +#define SE_SACL_DEFAULTED 0x00000020 +#define SE_DACL_AUTO_INHERIT_REQ 0x00000100 +#define SE_SACL_AUTO_INHERIT_REQ 0x00000200 +#define SE_DACL_AUTO_INHERITED 0x00000400 +#define SE_SACL_AUTO_INHERITED 0x00000800 +#define SE_DACL_PROTECTED 0x00001000 +#define SE_SACL_PROTECTED 0x00002000 +#define SE_RM_CONTROL_VALID 0x00004000 +#define SE_SELF_RELATIVE 0x00008000 + +typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION; +typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL; + +/* The security descriptor structure */ +typedef struct { + BYTE Revision; + BYTE Sbz1; + SECURITY_DESCRIPTOR_CONTROL Control; + DWORD Owner; + DWORD Group; + DWORD Sacl; + DWORD Dacl; +} SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE; + +typedef struct { + BYTE Revision; + BYTE Sbz1; + SECURITY_DESCRIPTOR_CONTROL Control; + PSID Owner; + PSID Group; + PACL Sacl; + PACL Dacl; +} SECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR; + +#define SECURITY_DESCRIPTOR_MIN_LENGTH (sizeof(SECURITY_DESCRIPTOR)) + +#endif /* _SECURITY_DEFINED */ + +/* + * SID_AND_ATTRIBUTES + */ + +typedef struct _SID_AND_ATTRIBUTES { + PSID Sid; + DWORD Attributes; +} SID_AND_ATTRIBUTES, *PSID_AND_ATTRIBUTES; + +/* security entities */ +#define SECURITY_NULL_RID __MSABI_LONG(0x00000000) +#define SECURITY_WORLD_RID __MSABI_LONG(0x00000000) +#define SECURITY_LOCAL_RID __MSABI_LONG(0X00000000) + +#define SECURITY_NULL_SID_AUTHORITY {0,0,0,0,0,0} + +/* S-1-1 */ +#define SECURITY_WORLD_SID_AUTHORITY {0,0,0,0,0,1} + +/* S-1-2 */ +#define SECURITY_LOCAL_SID_AUTHORITY {0,0,0,0,0,2} + +/* S-1-3 */ +#define SECURITY_CREATOR_SID_AUTHORITY {0,0,0,0,0,3} +#define SECURITY_CREATOR_OWNER_RID __MSABI_LONG(0x00000000) +#define SECURITY_CREATOR_GROUP_RID __MSABI_LONG(0x00000001) +#define SECURITY_CREATOR_OWNER_SERVER_RID __MSABI_LONG(0x00000002) +#define SECURITY_CREATOR_GROUP_SERVER_RID __MSABI_LONG(0x00000003) + +/* S-1-4 */ +#define SECURITY_NON_UNIQUE_AUTHORITY {0,0,0,0,0,4} + +/* S-1-5 */ +#define SECURITY_NT_AUTHORITY {0,0,0,0,0,5} +#define SECURITY_DIALUP_RID __MSABI_LONG(0x00000001) +#define SECURITY_NETWORK_RID __MSABI_LONG(0x00000002) +#define SECURITY_BATCH_RID __MSABI_LONG(0x00000003) +#define SECURITY_INTERACTIVE_RID __MSABI_LONG(0x00000004) +#define SECURITY_LOGON_IDS_RID __MSABI_LONG(0x00000005) +#define SECURITY_SERVICE_RID __MSABI_LONG(0x00000006) +#define SECURITY_ANONYMOUS_LOGON_RID __MSABI_LONG(0x00000007) +#define SECURITY_PROXY_RID __MSABI_LONG(0x00000008) +#define SECURITY_ENTERPRISE_CONTROLLERS_RID __MSABI_LONG(0x00000009) +#define SECURITY_SERVER_LOGON_RID SECURITY_ENTERPRISE_CONTROLLERS_RID +#define SECURITY_PRINCIPAL_SELF_RID __MSABI_LONG(0x0000000A) +#define SECURITY_AUTHENTICATED_USER_RID __MSABI_LONG(0x0000000B) +#define SECURITY_RESTRICTED_CODE_RID __MSABI_LONG(0x0000000C) +#define SECURITY_TERMINAL_SERVER_RID __MSABI_LONG(0x0000000D) +#define SECURITY_REMOTE_LOGON_RID __MSABI_LONG(0x0000000E) +#define SECURITY_THIS_ORGANIZATION_RID __MSABI_LONG(0x0000000F) +#define SECURITY_LOCAL_SYSTEM_RID __MSABI_LONG(0x00000012) +#define SECURITY_LOCAL_SERVICE_RID __MSABI_LONG(0x00000013) +#define SECURITY_NETWORK_SERVICE_RID __MSABI_LONG(0x00000014) +#define SECURITY_NT_NON_UNIQUE __MSABI_LONG(0x00000015) +#define SECURITY_BUILTIN_DOMAIN_RID __MSABI_LONG(0x00000020) + +#define SECURITY_PACKAGE_BASE_RID __MSABI_LONG(0x00000040) +#define SECURITY_PACKAGE_NTLM_RID __MSABI_LONG(0x0000000A) +#define SECURITY_PACKAGE_SCHANNEL_RID __MSABI_LONG(0x0000000E) +#define SECURITY_PACKAGE_DIGEST_RID __MSABI_LONG(0x00000015) +#define SECURITY_MAX_ALWAYS_FILTERED __MSABI_LONG(0x000003E7) +#define SECURITY_MIN_NEVER_FILTERED __MSABI_LONG(0x000003E8) +#define SECURITY_OTHER_ORGANIZATION_RID __MSABI_LONG(0x000003E8) + +#define FOREST_USER_RID_MAX __MSABI_LONG(0x000001F3) +#define DOMAIN_USER_RID_ADMIN __MSABI_LONG(0x000001F4) +#define DOMAIN_USER_RID_GUEST __MSABI_LONG(0x000001F5) +#define DOMAIN_USER_RID_KRBTGT __MSABI_LONG(0x000001F6) +#define DOMAIN_USER_RID_MAX __MSABI_LONG(0x000003E7) + +#define DOMAIN_GROUP_RID_ADMINS __MSABI_LONG(0x00000200) +#define DOMAIN_GROUP_RID_USERS __MSABI_LONG(0x00000201) +#define DOMAIN_GROUP_RID_GUESTS __MSABI_LONG(0x00000202) +#define DOMAIN_GROUP_RID_COMPUTERS __MSABI_LONG(0x00000203) +#define DOMAIN_GROUP_RID_CONTROLLERS __MSABI_LONG(0x00000204) +#define DOMAIN_GROUP_RID_CERT_ADMINS __MSABI_LONG(0x00000205) +#define DOMAIN_GROUP_RID_SCHEMA_ADMINS __MSABI_LONG(0x00000206) +#define DOMAIN_GROUP_RID_ENTERPRISE_ADMINS __MSABI_LONG(0x00000207) +#define DOMAIN_GROUP_RID_POLICY_ADMINS __MSABI_LONG(0x00000208) + +#define SECURITY_APP_PACKAGE_AUTHORITY {0,0,0,0,0,15} +#define SECURITY_APP_PACKAGE_BASE_RID __MSABI_LONG(0x000000002) +#define SECURITY_BUILTIN_APP_PACKAGE_RID_COUNT __MSABI_LONG(0x000000002) +#define SECURITY_APP_PACKAGE_RID_COUNT __MSABI_LONG(0x000000008) +#define SECURITY_CAPABILITY_BASE_RID __MSABI_LONG(0x000000003) +#define SECURITY_CAPABILITY_APP_RID __MSABI_LONG(0x000000400) +#define SECURITY_BUILTIN_CAPABILITY_RID_COUNT __MSABI_LONG(0x000000002) +#define SECURITY_CAPABILITY_RID_COUNT __MSABI_LONG(0x000000005) +#define SECURITY_PARENT_PACKAGE_RID_COUNT SECURITY_APP_PACKAGE_RID_COUNT +#define SECURITY_CHILD_PACKAGE_RID_COUNT __MSABI_LONG(0x00000000c) +#define SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE __MSABI_LONG(0x000000001) + +#define SECURITY_MANDATORY_LABEL_AUTHORITY {0,0,0,0,0,16} +#define SECURITY_MANDATORY_UNTRUSTED_RID __MSABI_LONG(0x00000000) +#define SECURITY_MANDATORY_LOW_RID __MSABI_LONG(0x00001000) +#define SECURITY_MANDATORY_MEDIUM_RID __MSABI_LONG(0x00002000) +#define SECURITY_MANDATORY_HIGH_RID __MSABI_LONG(0x00003000) +#define SECURITY_MANDATORY_SYSTEM_RID __MSABI_LONG(0x00004000) +#define SECURITY_MANDATORY_PROTECTED_PROCESS_RID __MSABI_LONG(0x00005000) + +#define DOMAIN_ALIAS_RID_ADMINS __MSABI_LONG(0x00000220) +#define DOMAIN_ALIAS_RID_USERS __MSABI_LONG(0x00000221) +#define DOMAIN_ALIAS_RID_GUESTS __MSABI_LONG(0x00000222) +#define DOMAIN_ALIAS_RID_POWER_USERS __MSABI_LONG(0x00000223) + +#define DOMAIN_ALIAS_RID_ACCOUNT_OPS __MSABI_LONG(0x00000224) +#define DOMAIN_ALIAS_RID_SYSTEM_OPS __MSABI_LONG(0x00000225) +#define DOMAIN_ALIAS_RID_PRINT_OPS __MSABI_LONG(0x00000226) +#define DOMAIN_ALIAS_RID_BACKUP_OPS __MSABI_LONG(0x00000227) + +#define DOMAIN_ALIAS_RID_REPLICATOR __MSABI_LONG(0x00000228) +#define DOMAIN_ALIAS_RID_RAS_SERVERS __MSABI_LONG(0x00000229) +#define DOMAIN_ALIAS_RID_PREW2KCOMPACCESS __MSABI_LONG(0x0000022A) +#define DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS __MSABI_LONG(0x0000022B) +#define DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS __MSABI_LONG(0x0000022C) +#define DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS __MSABI_LONG(0x0000022D) + +#define DOMAIN_ALIAS_RID_MONITORING_USERS __MSABI_LONG(0x0000022E) +#define DOMAIN_ALIAS_RID_LOGGING_USERS __MSABI_LONG(0x0000022F) +#define DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS __MSABI_LONG(0x00000230) +#define DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS __MSABI_LONG(0x00000231) +#define DOMAIN_ALIAS_RID_DCOM_USERS __MSABI_LONG(0x00000232) + +#define SECURITY_SERVER_LOGON_RID SECURITY_ENTERPRISE_CONTROLLERS_RID + +#define SECURITY_PACKAGE_RID_COUNT __MSABI_LONG(2) +#define SECURITY_LOGON_IDS_RID_COUNT __MSABI_LONG(3) + +typedef enum { + WinNullSid = 0, + WinWorldSid = 1, + WinLocalSid = 2, + WinCreatorOwnerSid = 3, + WinCreatorGroupSid = 4, + WinCreatorOwnerServerSid = 5, + WinCreatorGroupServerSid = 6, + WinNtAuthoritySid = 7, + WinDialupSid = 8, + WinNetworkSid = 9, + WinBatchSid = 10, + WinInteractiveSid = 11, + WinServiceSid = 12, + WinAnonymousSid = 13, + WinProxySid = 14, + WinEnterpriseControllersSid = 15, + WinSelfSid = 16, + WinAuthenticatedUserSid = 17, + WinRestrictedCodeSid = 18, + WinTerminalServerSid = 19, + WinRemoteLogonIdSid = 20, + WinLogonIdsSid = 21, + WinLocalSystemSid = 22, + WinLocalServiceSid = 23, + WinNetworkServiceSid = 24, + WinBuiltinDomainSid = 25, + WinBuiltinAdministratorsSid = 26, + WinBuiltinUsersSid = 27, + WinBuiltinGuestsSid = 28, + WinBuiltinPowerUsersSid = 29, + WinBuiltinAccountOperatorsSid = 30, + WinBuiltinSystemOperatorsSid = 31, + WinBuiltinPrintOperatorsSid = 32, + WinBuiltinBackupOperatorsSid = 33, + WinBuiltinReplicatorSid = 34, + WinBuiltinPreWindows2000CompatibleAccessSid = 35, + WinBuiltinRemoteDesktopUsersSid = 36, + WinBuiltinNetworkConfigurationOperatorsSid = 37, + WinAccountAdministratorSid = 38, + WinAccountGuestSid = 39, + WinAccountKrbtgtSid = 40, + WinAccountDomainAdminsSid = 41, + WinAccountDomainUsersSid = 42, + WinAccountDomainGuestsSid = 43, + WinAccountComputersSid = 44, + WinAccountControllersSid = 45, + WinAccountCertAdminsSid = 46, + WinAccountSchemaAdminsSid = 47, + WinAccountEnterpriseAdminsSid = 48, + WinAccountPolicyAdminsSid = 49, + WinAccountRasAndIasServersSid = 50, + WinNTLMAuthenticationSid = 51, + WinDigestAuthenticationSid = 52, + WinSChannelAuthenticationSid = 53, + WinThisOrganizationSid = 54, + WinOtherOrganizationSid = 55, + WinBuiltinIncomingForestTrustBuildersSid = 56, + WinBuiltinPerfMonitoringUsersSid = 57, + WinBuiltinPerfLoggingUsersSid = 58, + WinBuiltinAuthorizationAccessSid = 59, + WinBuiltinTerminalServerLicenseServersSid = 60, + WinBuiltinDCOMUsersSid = 61, + WinBuiltinIUsersSid = 62, + WinIUserSid = 63, + WinBuiltinCryptoOperatorsSid = 64, + WinUntrustedLabelSid = 65, + WinLowLabelSid = 66, + WinMediumLabelSid = 67, + WinHighLabelSid = 68, + WinSystemLabelSid = 69, + WinWriteRestrictedCodeSid = 70, + WinCreatorOwnerRightsSid = 71, + WinCacheablePrincipalsGroupSid = 72, + WinNonCacheablePrincipalsGroupSid = 73, + WinEnterpriseReadonlyControllersSid = 74, + WinAccountReadonlyControllersSid = 75, + WinBuiltinEventLogReadersGroup = 76, + WinNewEnterpriseReadonlyControllersSid = 77, + WinBuiltinCertSvcDComAccessGroup = 78, + WinMediumPlusLabelSid = 79, + WinLocalLogonSid = 80, + WinConsoleLogonSid = 81, + WinThisOrganizationCertificateSid = 82, + WinApplicationPackageAuthoritySid = 83, + WinBuiltinAnyPackageSid = 84, + WinCapabilityInternetClientSid = 85, + WinCapabilityInternetClientServerSid = 86, + WinCapabilityPrivateNetworkClientServerSid = 87, + WinCapabilityPicturesLibrarySid = 88, + WinCapabilityVideosLibrarySid = 89, + WinCapabilityMusicLibrarySid = 90, + WinCapabilityDocumentsLibrarySid = 91, + WinCapabilitySharedUserCertificatesSid = 92, + WinCapabilityEnterpriseAuthenticationSid = 93, + WinCapabilityRemovableStorageSid = 94, + WinBuiltinRDSRemoteAccessServersSid = 95, + WinBuiltinRDSEndpointServersSid = 96, + WinBuiltinRDSManagementServersSid = 97, + WinUserModeDriversSid = 98, + WinBuiltinHyperVAdminsSid = 99, + WinAccountCloneableControllersSid = 100, + WinBuiltinAccessControlAssistanceOperatorsSid = 101, + WinBuiltinRemoteManagementUsersSid = 102, + WinAuthenticationAuthorityAssertedSid = 103, + WinAuthenticationServiceAssertedSid = 104, + WinLocalAccountSid = 105, + WinLocalAccountAndAdministratorSid = 106, + WinAccountProtectedUsersSid = 107, +} WELL_KNOWN_SID_TYPE; + +/* + * TOKEN_USER + */ + +typedef struct _TOKEN_USER { + SID_AND_ATTRIBUTES User; +} TOKEN_USER, *PTOKEN_USER; + +/* + * TOKEN_GROUPS + */ + +typedef struct _TOKEN_GROUPS { + DWORD GroupCount; + SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY]; +} TOKEN_GROUPS, *PTOKEN_GROUPS; + +/* + * LUID_AND_ATTRIBUTES + */ + +typedef union _LARGE_INTEGER { + struct { +#ifdef WORDS_BIGENDIAN + LONG HighPart; + DWORD LowPart; +#else + DWORD LowPart; + LONG HighPart; +#endif + } u; +#ifndef NONAMELESSSTRUCT + struct { +#ifdef WORDS_BIGENDIAN + LONG HighPart; + DWORD LowPart; +#else + DWORD LowPart; + LONG HighPart; +#endif + }; +#endif + LONGLONG QuadPart; +} LARGE_INTEGER, *PLARGE_INTEGER; + +typedef union _ULARGE_INTEGER { + struct { +#ifdef WORDS_BIGENDIAN + DWORD HighPart; + DWORD LowPart; +#else + DWORD LowPart; + DWORD HighPart; +#endif + } u; +#ifndef NONAMELESSSTRUCT + struct { +#ifdef WORDS_BIGENDIAN + DWORD HighPart; + DWORD LowPart; +#else + DWORD LowPart; + DWORD HighPart; +#endif + }; +#endif + ULONGLONG QuadPart; +} ULARGE_INTEGER, *PULARGE_INTEGER; + +/* + * Locally Unique Identifier + */ + +typedef struct _LUID { + DWORD LowPart; + LONG HighPart; +} LUID, *PLUID; + +#include +typedef struct _LUID_AND_ATTRIBUTES { + LUID Luid; + DWORD Attributes; +} LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES; +#include + +/* + * PRIVILEGE_SET + */ + +typedef struct _PRIVILEGE_SET { + DWORD PrivilegeCount; + DWORD Control; + LUID_AND_ATTRIBUTES Privilege[ANYSIZE_ARRAY]; +} PRIVILEGE_SET, *PPRIVILEGE_SET; + +/* + * TOKEN_PRIVILEGES + */ + +typedef struct _TOKEN_PRIVILEGES { + DWORD PrivilegeCount; + LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY]; +} TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES; + +/* + * TOKEN_OWNER + */ + +typedef struct _TOKEN_OWNER { + PSID Owner; +} TOKEN_OWNER, *PTOKEN_OWNER; + +/* + * TOKEN_PRIMARY_GROUP + */ + +typedef struct _TOKEN_PRIMARY_GROUP { + PSID PrimaryGroup; +} TOKEN_PRIMARY_GROUP, *PTOKEN_PRIMARY_GROUP; + + +/* + * TOKEN_DEFAULT_DACL + */ + +typedef struct _TOKEN_DEFAULT_DACL { + PACL DefaultDacl; +} TOKEN_DEFAULT_DACL, *PTOKEN_DEFAULT_DACL; + +/* + * TOKEN_SOURCE + */ + +#define TOKEN_SOURCE_LENGTH 8 + +typedef struct _TOKEN_SOURCE { + char SourceName[TOKEN_SOURCE_LENGTH]; + LUID SourceIdentifier; +} TOKEN_SOURCE, *PTOKEN_SOURCE; + +/* + * TOKEN_TYPE + */ + +typedef enum tagTOKEN_TYPE { + TokenPrimary = 1, + TokenImpersonation +} TOKEN_TYPE; + +/* + * SECURITY_IMPERSONATION_LEVEL + */ + +typedef enum _SECURITY_IMPERSONATION_LEVEL { + SecurityAnonymous, + SecurityIdentification, + SecurityImpersonation, + SecurityDelegation +} SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL; + +#define SECURITY_DYNAMIC_TRACKING (TRUE) +#define SECURITY_STATIC_TRACKING (FALSE) + +typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE, + * PSECURITY_CONTEXT_TRACKING_MODE; +/* + * Quality of Service + */ + +typedef struct _SECURITY_QUALITY_OF_SERVICE { + DWORD Length; + SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; + SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; + BOOLEAN EffectiveOnly; +} SECURITY_QUALITY_OF_SERVICE, *PSECURITY_QUALITY_OF_SERVICE; + +/* + * TOKEN_STATISTICS + */ + +#include +typedef struct _TOKEN_STATISTICS { + LUID TokenId; + LUID AuthenticationId; + LARGE_INTEGER ExpirationTime; + TOKEN_TYPE TokenType; + SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; + DWORD DynamicCharged; + DWORD DynamicAvailable; + DWORD GroupCount; + DWORD PrivilegeCount; + LUID ModifiedId; +} TOKEN_STATISTICS; +#include + +typedef struct _TOKEN_GROUPS_AND_PRIVILEGES { + DWORD SidCount; + DWORD SidLength; + PSID_AND_ATTRIBUTES Sids; + DWORD RestrictedSidCount; + DWORD RestrictedSidLength; + PSID_AND_ATTRIBUTES RestrictedSids; + DWORD PrivilegeCount; + DWORD PrivilegeLength; + PLUID_AND_ATTRIBUTES Privileges; + LUID AuthenticationId; +} TOKEN_GROUPS_AND_PRIVILEGES, * PTOKEN_GROUPS_AND_PRIVILEGES; + +typedef struct _TOKEN_ORIGIN { + LUID OriginatingLogonSession; +} TOKEN_ORIGIN, * PTOKEN_ORIGIN; + +typedef struct _TOKEN_LINKED_TOKEN { + HANDLE LinkedToken; +} TOKEN_LINKED_TOKEN, * PTOKEN_LINKED_TOKEN; + +typedef struct _TOKEN_ELEVATION { + DWORD TokenIsElevated; +} TOKEN_ELEVATION, * PTOKEN_ELEVATION; + +typedef struct _TOKEN_MANDATORY_LABEL { + SID_AND_ATTRIBUTES Label; +} TOKEN_MANDATORY_LABEL, * PTOKEN_MANDATORY_LABEL; + +typedef struct _TOKEN_APPCONTAINER_INFORMATION { + PSID TokenAppContainer; +} TOKEN_APPCONTAINER_INFORMATION, * PTOKEN_APPCONTAINER_INFORMATION; + +/* + * ACLs of NT + */ + +/* ACEs, directly starting after an ACL */ +typedef struct _ACE_HEADER { + BYTE AceType; + BYTE AceFlags; + WORD AceSize; +} ACE_HEADER,*PACE_HEADER; + +/* AceType */ +#define ACCESS_ALLOWED_ACE_TYPE 0 +#define ACCESS_DENIED_ACE_TYPE 1 +#define SYSTEM_AUDIT_ACE_TYPE 2 +#define SYSTEM_ALARM_ACE_TYPE 3 +#define SYSTEM_MANDATORY_LABEL_ACE_TYPE 0x11 + +/* inherit AceFlags */ +#define OBJECT_INHERIT_ACE 0x01 +#define CONTAINER_INHERIT_ACE 0x02 +#define NO_PROPAGATE_INHERIT_ACE 0x04 +#define INHERIT_ONLY_ACE 0x08 +#define INHERITED_ACE 0x10 +#define VALID_INHERIT_FLAGS 0x1F + +/* AceFlags mask for what events we (should) audit */ +#define SUCCESSFUL_ACCESS_ACE_FLAG 0x40 +#define FAILED_ACCESS_ACE_FLAG 0x80 + +/* different ACEs depending on AceType + * SidStart marks the begin of a SID + * so the thing finally looks like this: + * 0: ACE_HEADER + * 4: ACCESS_MASK + * 8... : SID + */ +typedef struct _ACCESS_ALLOWED_ACE { + ACE_HEADER Header; + DWORD Mask; + DWORD SidStart; +} ACCESS_ALLOWED_ACE,*PACCESS_ALLOWED_ACE; + +typedef struct _ACCESS_DENIED_ACE { + ACE_HEADER Header; + DWORD Mask; + DWORD SidStart; +} ACCESS_DENIED_ACE,*PACCESS_DENIED_ACE; + +typedef struct _SYSTEM_AUDIT_ACE { + ACE_HEADER Header; + DWORD Mask; + DWORD SidStart; +} SYSTEM_AUDIT_ACE,*PSYSTEM_AUDIT_ACE; + +typedef struct _SYSTEM_ALARM_ACE { + ACE_HEADER Header; + DWORD Mask; + DWORD SidStart; +} SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE; + +typedef struct _SYSTEM_MANDATORY_LABEL_ACE { + ACE_HEADER Header; + ACCESS_MASK Mask; + DWORD SidStart; +} SYSTEM_MANDATORY_LABEL_ACE,*PSYSTEM_MANDATORY_LABEL_ACE; + +#define SYSTEM_MANDATORY_LABEL_NO_WRITE_UP 0x1 +#define SYSTEM_MANDATORY_LABEL_NO_READ_UP 0x2 +#define SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP 0x4 + +typedef enum tagSID_NAME_USE { + SidTypeUser = 1, + SidTypeGroup, + SidTypeDomain, + SidTypeAlias, + SidTypeWellKnownGroup, + SidTypeDeletedAccount, + SidTypeInvalid, + SidTypeUnknown +} SID_NAME_USE,*PSID_NAME_USE; + +#define ACE_OBJECT_TYPE_PRESENT 0x1 +#define ACE_INHERITED_OBJECT_TYPE_PRESENT 0x2 + +/* Access rights */ + +/* DELETE may be already defined via /usr/include/arpa/nameser_compat.h */ +#undef DELETE +#define DELETE 0x00010000 +#define READ_CONTROL 0x00020000 +#define WRITE_DAC 0x00040000 +#define WRITE_OWNER 0x00080000 +#define SYNCHRONIZE 0x00100000 +#define STANDARD_RIGHTS_REQUIRED 0x000f0000 + +#define STANDARD_RIGHTS_READ READ_CONTROL +#define STANDARD_RIGHTS_WRITE READ_CONTROL +#define STANDARD_RIGHTS_EXECUTE READ_CONTROL + +#define STANDARD_RIGHTS_ALL 0x001f0000 + +#define SPECIFIC_RIGHTS_ALL 0x0000ffff + +#define GENERIC_READ 0x80000000 +#define GENERIC_WRITE 0x40000000 +#define GENERIC_EXECUTE 0x20000000 +#define GENERIC_ALL 0x10000000 + +#define MAXIMUM_ALLOWED 0x02000000 +#define ACCESS_SYSTEM_SECURITY 0x01000000 + +#define EVENT_QUERY_STATE 0x0001 +#define EVENT_MODIFY_STATE 0x0002 +#define EVENT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3) + +#define SEMAPHORE_QUERY_STATE 0x0001 +#define SEMAPHORE_MODIFY_STATE 0x0002 +#define SEMAPHORE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3) + +#define MUTANT_QUERY_STATE 0x0001 +#define MUTANT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|MUTANT_QUERY_STATE) + +#define JOB_OBJECT_ASSIGN_PROCESS 0x0001 +#define JOB_OBJECT_SET_ATTRIBUTES 0x0002 +#define JOB_OBJECT_QUERY 0x0004 +#define JOB_OBJECT_TERMINATE 0x0008 +#define JOB_OBJECT_SET_SECURITY_ATTRIBUTES 0x0010 +#define JOB_OBJECT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x1f) + +#define TIMER_QUERY_STATE 0x0001 +#define TIMER_MODIFY_STATE 0x0002 +#define TIMER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3) + +#define PROCESS_TERMINATE 0x0001 +#define PROCESS_CREATE_THREAD 0x0002 +#define PROCESS_VM_OPERATION 0x0008 +#define PROCESS_VM_READ 0x0010 +#define PROCESS_VM_WRITE 0x0020 +#define PROCESS_DUP_HANDLE 0x0040 +#define PROCESS_CREATE_PROCESS 0x0080 +#define PROCESS_SET_QUOTA 0x0100 +#define PROCESS_SET_INFORMATION 0x0200 +#define PROCESS_QUERY_INFORMATION 0x0400 +#define PROCESS_SUSPEND_RESUME 0x0800 +#define PROCESS_QUERY_LIMITED_INFORMATION 0x1000 +#define PROCESS_SET_LIMITED_INFORMATION 0x2000 +#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0xffff) + +#define THREAD_TERMINATE 0x0001 +#define THREAD_SUSPEND_RESUME 0x0002 +#define THREAD_GET_CONTEXT 0x0008 +#define THREAD_SET_CONTEXT 0x0010 +#define THREAD_SET_INFORMATION 0x0020 +#define THREAD_QUERY_INFORMATION 0x0040 +#define THREAD_SET_THREAD_TOKEN 0x0080 +#define THREAD_IMPERSONATE 0x0100 +#define THREAD_DIRECT_IMPERSONATION 0x0200 +#define THREAD_SET_LIMITED_INFORMATION 0x0400 +#define THREAD_QUERY_LIMITED_INFORMATION 0x0800 +#define THREAD_RESUME 0x1000 +#define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0xffff) + +#define THREAD_BASE_PRIORITY_LOWRT 15 +#define THREAD_BASE_PRIORITY_MAX 2 +#define THREAD_BASE_PRIORITY_MIN -2 +#define THREAD_BASE_PRIORITY_IDLE -15 + +typedef struct _QUOTA_LIMITS { + SIZE_T PagedPoolLimit; + SIZE_T NonPagedPoolLimit; + SIZE_T MinimumWorkingSetSize; + SIZE_T MaximumWorkingSetSize; + SIZE_T PagefileLimit; + LARGE_INTEGER TimeLimit; +} QUOTA_LIMITS, *PQUOTA_LIMITS; + +#define QUOTA_LIMITS_HARDWS_MIN_ENABLE 0x00000001 +#define QUOTA_LIMITS_HARDWS_MIN_DISABLE 0x00000002 +#define QUOTA_LIMITS_HARDWS_MAX_ENABLE 0x00000004 +#define QUOTA_LIMITS_HARDWS_MAX_DISABLE 0x00000008 + +typedef struct _QUOTA_LIMITS_EX { + SIZE_T PagedPoolLimit; + SIZE_T NonPagedPoolLimit; + SIZE_T MinimumWorkingSetSize; + SIZE_T MaximumWorkingSetSize; + SIZE_T PagefileLimit; + LARGE_INTEGER TimeLimit; + SIZE_T Reserved1; + SIZE_T Reserved2; + SIZE_T Reserved3; + SIZE_T Reserved4; + DWORD Flags; + DWORD Reserved5; +} QUOTA_LIMITS_EX, *PQUOTA_LIMITS_EX; + +#define SECTION_QUERY 0x0001 +#define SECTION_MAP_WRITE 0x0002 +#define SECTION_MAP_READ 0x0004 +#define SECTION_MAP_EXECUTE 0x0008 +#define SECTION_EXTEND_SIZE 0x0010 +#define SECTION_MAP_EXECUTE_EXPLICIT 0x0020 +#define SECTION_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|0x01f) + +#define FILE_READ_DATA 0x0001 /* file & pipe */ +#define FILE_LIST_DIRECTORY 0x0001 /* directory */ +#define FILE_WRITE_DATA 0x0002 /* file & pipe */ +#define FILE_ADD_FILE 0x0002 /* directory */ +#define FILE_APPEND_DATA 0x0004 /* file */ +#define FILE_ADD_SUBDIRECTORY 0x0004 /* directory */ +#define FILE_CREATE_PIPE_INSTANCE 0x0004 /* named pipe */ +#define FILE_READ_EA 0x0008 /* file & directory */ +#define FILE_READ_PROPERTIES FILE_READ_EA +#define FILE_WRITE_EA 0x0010 /* file & directory */ +#define FILE_WRITE_PROPERTIES FILE_WRITE_EA +#define FILE_EXECUTE 0x0020 /* file */ +#define FILE_TRAVERSE 0x0020 /* directory */ +#define FILE_DELETE_CHILD 0x0040 /* directory */ +#define FILE_READ_ATTRIBUTES 0x0080 /* all */ +#define FILE_WRITE_ATTRIBUTES 0x0100 /* all */ +#define FILE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x1ff) + +#define FILE_GENERIC_READ (STANDARD_RIGHTS_READ | FILE_READ_DATA | \ + FILE_READ_ATTRIBUTES | FILE_READ_EA | \ + SYNCHRONIZE) +#define FILE_GENERIC_WRITE (STANDARD_RIGHTS_WRITE | FILE_WRITE_DATA | \ + FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | \ + FILE_APPEND_DATA | SYNCHRONIZE) +#define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE | FILE_EXECUTE | \ + FILE_READ_ATTRIBUTES | SYNCHRONIZE) + +#define DUPLICATE_CLOSE_SOURCE 0x00000001 +#define DUPLICATE_SAME_ACCESS 0x00000002 + +/* File attribute flags */ +#define FILE_SHARE_READ 0x00000001 +#define FILE_SHARE_WRITE 0x00000002 +#define FILE_SHARE_DELETE 0x00000004 + +#define FILE_ATTRIBUTE_READONLY 0x00000001 +#define FILE_ATTRIBUTE_HIDDEN 0x00000002 +#define FILE_ATTRIBUTE_SYSTEM 0x00000004 +#define FILE_ATTRIBUTE_DIRECTORY 0x00000010 +#define FILE_ATTRIBUTE_ARCHIVE 0x00000020 +#define FILE_ATTRIBUTE_DEVICE 0x00000040 +#define FILE_ATTRIBUTE_NORMAL 0x00000080 +#define FILE_ATTRIBUTE_TEMPORARY 0x00000100 +#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200 +#define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400 +#define FILE_ATTRIBUTE_COMPRESSED 0x00000800 +#define FILE_ATTRIBUTE_OFFLINE 0x00001000 +#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000 +#define FILE_ATTRIBUTE_ENCRYPTED 0x00004000 +#define FILE_ATTRIBUTE_INTEGRITY_STREAM 0x00008000 +#define FILE_ATTRIBUTE_VIRTUAL 0x00010000 +#define FILE_ATTRIBUTE_NO_SCRUB_DATA 0x00020000 +#define FILE_ATTRIBUTE_EA 0x00040000 + +/* File notification flags */ +#define FILE_NOTIFY_CHANGE_FILE_NAME 0x00000001 +#define FILE_NOTIFY_CHANGE_DIR_NAME 0x00000002 +#define FILE_NOTIFY_CHANGE_NAME 0x00000003 +#define FILE_NOTIFY_CHANGE_ATTRIBUTES 0x00000004 +#define FILE_NOTIFY_CHANGE_SIZE 0x00000008 +#define FILE_NOTIFY_CHANGE_LAST_WRITE 0x00000010 +#define FILE_NOTIFY_CHANGE_LAST_ACCESS 0x00000020 +#define FILE_NOTIFY_CHANGE_CREATION 0x00000040 +#define FILE_NOTIFY_CHANGE_EA 0x00000080 +#define FILE_NOTIFY_CHANGE_SECURITY 0x00000100 +#define FILE_NOTIFY_CHANGE_STREAM_NAME 0x00000200 +#define FILE_NOTIFY_CHANGE_STREAM_SIZE 0x00000400 +#define FILE_NOTIFY_CHANGE_STREAM_WRITE 0x00000800 + +#define FILE_ACTION_ADDED 0x00000001 +#define FILE_ACTION_REMOVED 0x00000002 +#define FILE_ACTION_MODIFIED 0x00000003 +#define FILE_ACTION_RENAMED_OLD_NAME 0x00000004 +#define FILE_ACTION_RENAMED_NEW_NAME 0x00000005 +#define FILE_ACTION_ADDED_STREAM 0x00000006 +#define FILE_ACTION_REMOVED_STREAM 0x00000007 +#define FILE_ACTION_MODIFIED_STREAM 0x00000008 +#define FILE_ACTION_REMOVED_BY_DELETE 0x00000009 +#define FILE_ACTION_ID_NOT_TUNNELLED 0x0000000a +#define FILE_ACTION_TUNNELLED_ID_COLLISION 0x0000000b + +#define FILE_CASE_SENSITIVE_SEARCH 0x00000001 +#define FILE_CASE_PRESERVED_NAMES 0x00000002 +#define FILE_UNICODE_ON_DISK 0x00000004 +#define FILE_PERSISTENT_ACLS 0x00000008 +#define FILE_FILE_COMPRESSION 0x00000010 +#define FILE_VOLUME_QUOTAS 0x00000020 +#define FILE_SUPPORTS_SPARSE_FILES 0x00000040 +#define FILE_SUPPORTS_REPARSE_POINTS 0x00000080 +#define FILE_SUPPORTS_REMOTE_STORAGE 0x00000100 +#define FILE_VOLUME_IS_COMPRESSED 0x00008000 +#define FILE_SUPPORTS_OBJECT_IDS 0x00010000 +#define FILE_SUPPORTS_ENCRYPTION 0x00020000 +#define FILE_NAMED_STREAMS 0x00040000 +#define FILE_READ_ONLY_VOLUME 0x00080000 +#define FILE_SEQUENTIAL_WRITE_ONCE 0x00100000 +#define FILE_SUPPORTS_TRANSACTIONS 0x00200000 +#define FILE_SUPPORTS_HARD_LINKS 0x00400000 +#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000 +#define FILE_SUPPORTS_OPEN_BY_FILE_ID 0x01000000 +#define FILE_SUPPORTS_USN_JOURNAL 0x02000000 +#define FILE_SUPPORTS_INTEGRITY_STREAMS 0x04000000 +#define FILE_SUPPORTS_BLOCK_REFCOUNTING 0x08000000 +#define FILE_SUPPORTS_SPARSE_VDL 0x10000000 + +/* File alignments (NT) */ +#define FILE_BYTE_ALIGNMENT 0x00000000 +#define FILE_WORD_ALIGNMENT 0x00000001 +#define FILE_LONG_ALIGNMENT 0x00000003 +#define FILE_QUAD_ALIGNMENT 0x00000007 +#define FILE_OCTA_ALIGNMENT 0x0000000f +#define FILE_32_BYTE_ALIGNMENT 0x0000001f +#define FILE_64_BYTE_ALIGNMENT 0x0000003f +#define FILE_128_BYTE_ALIGNMENT 0x0000007f +#define FILE_256_BYTE_ALIGNMENT 0x000000ff +#define FILE_512_BYTE_ALIGNMENT 0x000001ff + +#define COMPRESSION_FORMAT_NONE 0 +#define COMPRESSION_FORMAT_DEFAULT 1 +#define COMPRESSION_FORMAT_LZNT1 2 +#define COMPRESSION_ENGINE_STANDARD 0 +#define COMPRESSION_ENGINE_MAXIMUM 256 + +#define MAILSLOT_NO_MESSAGE ((DWORD)-1) +#define MAILSLOT_WAIT_FOREVER ((DWORD)-1) + +#define REG_NONE 0 /* no type */ +#define REG_SZ 1 /* string type (ASCII) */ +#define REG_EXPAND_SZ 2 /* string, includes %ENVVAR% (expanded by caller) (ASCII) */ +#define REG_BINARY 3 /* binary format, callerspecific */ +/* YES, REG_DWORD == REG_DWORD_LITTLE_ENDIAN */ +#define REG_DWORD 4 /* DWORD in little endian format */ +#define REG_DWORD_LITTLE_ENDIAN 4 /* DWORD in little endian format */ +#define REG_DWORD_BIG_ENDIAN 5 /* DWORD in big endian format */ +#define REG_LINK 6 /* symbolic link (UNICODE) */ +#define REG_MULTI_SZ 7 /* multiple strings, delimited by \0, terminated by \0\0 (ASCII) */ +#define REG_RESOURCE_LIST 8 /* resource list? huh? */ +#define REG_FULL_RESOURCE_DESCRIPTOR 9 /* full resource descriptor? huh? */ +#define REG_RESOURCE_REQUIREMENTS_LIST 10 +#define REG_QWORD 11 /* QWORD in little endian format */ +#define REG_QWORD_LITTLE_ENDIAN 11 /* QWORD in little endian format */ + +/* ----------------------------- begin power management --------------------- */ + +typedef enum _LATENCY_TIME { + LT_DONT_CARE, + LT_LOWEST_LATENCY +} LATENCY_TIME, *PLATENCY_TIME; + +#define DISCHARGE_POLICY_CRITICAL 0 +#define DISCHARGE_POLICY_LOW 1 +#define NUM_DISCHARGE_POLICIES 4 + +#define PO_THROTTLE_NONE 0 +#define PO_THROTTLE_CONSTANT 1 +#define PO_THROTTLE_DEGRADE 2 +#define PO_THROTTLE_ADAPTIVE 3 + +typedef enum _POWER_ACTION { + PowerActionNone = 0, + PowerActionReserved, + PowerActionSleep, + PowerActionHibernate, + PowerActionShutdown, + PowerActionShutdownReset, + PowerActionShutdownOff, + PowerActionWarmEject +} POWER_ACTION, +*PPOWER_ACTION; + +typedef enum _POWER_PLATFORM_ROLE { + PlatformRoleUnspecified, + PlatformRoleDesktop, + PlatformRoleMobile, + PlatformRoleWorkstation, + PlatformRoleEnterpriseServer, + PlatformRoleSOHOServer, + PlatformRoleAppliancePC, + PlatformRolePerformanceServer, + PlatformRoleSlate, + PlatformRoleMaximum +} POWER_PLATFORM_ROLE, *PPOWER_PLATFORM_ROLE; + +typedef enum _SYSTEM_POWER_STATE { + PowerSystemUnspecified = 0, + PowerSystemWorking = 1, + PowerSystemSleeping1 = 2, + PowerSystemSleeping2 = 3, + PowerSystemSleeping3 = 4, + PowerSystemHibernate = 5, + PowerSystemShutdown = 6, + PowerSystemMaximum = 7 +} SYSTEM_POWER_STATE, +*PSYSTEM_POWER_STATE; + +typedef enum _DEVICE_POWER_STATE { + PowerDeviceUnspecified, + PowerDeviceD0, + PowerDeviceD1, + PowerDeviceD2, + PowerDeviceD3, + PowerDeviceMaximum +} DEVICE_POWER_STATE, *PDEVICE_POWER_STATE; + +typedef enum _POWER_INFORMATION_LEVEL { + SystemPowerPolicyAc, + SystemPowerPolicyDc, + VerifySystemPolicyAc, + VerifySystemPolicyDc, + SystemPowerCapabilities, + SystemBatteryState, + SystemPowerStateHandler, + ProcessorStateHandler, + SystemPowerPolicyCurrent, + AdministratorPowerPolicy, + SystemReserveHiberFile, + ProcessorInformation, + SystemPowerInformation, + ProcessorStateHandler2, + LastWakeTime, + LastSleepTime, + SystemExecutionState, + SystemPowerStateNotifyHandler, + ProcessorPowerPolicyAc, + ProcessorPowerPolicyDc, + VerifyProcessorPowerPolicyAc, + VerifyProcessorPowerPolicyDc, + ProcessorPowerPolicyCurrent +} POWER_INFORMATION_LEVEL; + +typedef struct _ADMINISTRATOR_POWER_POLICY { + SYSTEM_POWER_STATE MinSleep; + SYSTEM_POWER_STATE MaxSleep; + ULONG MinVideoTimeout; + ULONG MaxVideoTimeout; + ULONG MinSpindownTimeout; + ULONG MaxSpindownTimeout; +} ADMINISTRATOR_POWER_POLICY, *PADMINISTRATOR_POWER_POLICY; + +typedef struct { + ULONG Granularity; + ULONG Capacity; +} BATTERY_REPORTING_SCALE, +*PBATTERY_REPORTING_SCALE; + +typedef struct { + POWER_ACTION Action; + ULONG Flags; + ULONG EventCode; +} POWER_ACTION_POLICY, +*PPOWER_ACTION_POLICY; + +typedef struct _PROCESSOR_POWER_INFORMATION { + ULONG Number; + ULONG MaxMhz; + ULONG CurrentMhz; + ULONG MhzLimit; + ULONG MaxIdleState; + ULONG CurrentIdleState; +} PROCESSOR_POWER_INFORMATION, +*PPROCESSOR_POWER_INFORMATION; + +typedef struct _PROCESSOR_POWER_POLICY_INFO { + ULONG TimeCheck; + ULONG DemoteLimit; + ULONG PromoteLimit; + UCHAR DemotePercent; + UCHAR PromotePercent; + UCHAR Spare[2]; + ULONG AllowDemotion:1; + ULONG AllowPromotion:1; + ULONG Reserved:30; +} PROCESSOR_POWER_POLICY_INFO, +*PPROCESSOR_POWER_POLICY_INFO; + +typedef struct _PROCESSOR_POWER_POLICY { + DWORD Revision; + BYTE DynamicThrottle; + BYTE Spare[3]; + DWORD DisableCStates:1; + DWORD Reserved:31; + DWORD PolicyCount; + PROCESSOR_POWER_POLICY_INFO Policy[3]; +} PROCESSOR_POWER_POLICY, +*PPROCESSOR_POWER_POLICY; + +typedef struct { + BOOLEAN AcOnLine; + BOOLEAN BatteryPresent; + BOOLEAN Charging; + BOOLEAN Discharging; + BOOLEAN Spare1[4]; + ULONG MaxCapacity; + ULONG RemainingCapacity; + ULONG Rate; + ULONG EstimatedTime; + ULONG DefaultAlert1; + ULONG DefaultAlert2; +} SYSTEM_BATTERY_STATE, +*PSYSTEM_BATTERY_STATE; + +typedef struct { + BOOLEAN PowerButtonPresent; + BOOLEAN SleepButtonPresent; + BOOLEAN LidPresent; + BOOLEAN SystemS1; + BOOLEAN SystemS2; + BOOLEAN SystemS3; + BOOLEAN SystemS4; + BOOLEAN SystemS5; + BOOLEAN HiberFilePresent; + BOOLEAN FullWake; + BOOLEAN VideoDimPresent; + BOOLEAN ApmPresent; + BOOLEAN UpsPresent; + BOOLEAN ThermalControl; + BOOLEAN ProcessorThrottle; + UCHAR ProcessorMinThrottle; + UCHAR ProcessorMaxThrottle; + UCHAR spare2[4]; + BOOLEAN DiskSpinDown; + UCHAR spare3[8]; + BOOLEAN SystemBatteriesPresent; + BOOLEAN BatteriesAreShortTerm; + BATTERY_REPORTING_SCALE BatteryScale[3]; + SYSTEM_POWER_STATE AcOnLineWake; + SYSTEM_POWER_STATE SoftLidWake; + SYSTEM_POWER_STATE RtcWake; + SYSTEM_POWER_STATE MinDeviceWakeState; + SYSTEM_POWER_STATE DefaultLowLatencyWake; +} SYSTEM_POWER_CAPABILITIES, +*PSYSTEM_POWER_CAPABILITIES; + +typedef struct _SYSTEM_POWER_INFORMATION { + ULONG MaxIdlenessAllowed; + ULONG Idleness; + ULONG TimeRemaining; + UCHAR CoolingMode; +} SYSTEM_POWER_INFORMATION, +*PSYSTEM_POWER_INFORMATION; + +typedef struct _SYSTEM_POWER_LEVEL { + BOOLEAN Enable; + UCHAR Spare[3]; + ULONG BatteryLevel; + POWER_ACTION_POLICY PowerPolicy; + SYSTEM_POWER_STATE MinSystemState; +} SYSTEM_POWER_LEVEL, +*PSYSTEM_POWER_LEVEL; + +typedef struct _SYSTEM_POWER_POLICY { + ULONG Revision; + POWER_ACTION_POLICY PowerButton; + POWER_ACTION_POLICY SleepButton; + POWER_ACTION_POLICY LidClose; + SYSTEM_POWER_STATE LidOpenWake; + ULONG Reserved; + POWER_ACTION_POLICY Idle; + ULONG IdleTimeout; + UCHAR IdleSensitivity; + UCHAR DynamicThrottle; + UCHAR Spare2[2]; + SYSTEM_POWER_STATE MinSleep; + SYSTEM_POWER_STATE MaxSleep; + SYSTEM_POWER_STATE ReducedLatencySleep; + ULONG WinLogonFlags; + ULONG Spare3; + ULONG DozeS4Timeout; + ULONG BroadcastCapacityResolution; + SYSTEM_POWER_LEVEL DischargePolicy[NUM_DISCHARGE_POLICIES]; + ULONG VideoTimeout; + BOOLEAN VideoDimDisplay; + ULONG VideoReserved[3]; + ULONG SpindownTimeout; + BOOLEAN OptimizeForPower; + UCHAR FanThrottleTolerance; + UCHAR ForcedThrottle; + UCHAR MinThrottle; + POWER_ACTION_POLICY OverThrottled; +} SYSTEM_POWER_POLICY, +*PSYSTEM_POWER_POLICY; + +typedef union _FILE_SEGMENT_ELEMENT { + PVOID64 Buffer; + ULONGLONG Alignment; +} FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT; + +typedef struct _FILE_NOTIFY_INFORMATION { + DWORD NextEntryOffset; + DWORD Action; + DWORD FileNameLength; + WCHAR FileName[1]; +} FILE_NOTIFY_INFORMATION, *PFILE_NOTIFY_INFORMATION; + +/* ----------------------------- begin tape storage --------------------- */ + +#define TAPE_FIXED_PARTITIONS 0 +#define TAPE_SELECT_PARTITIONS 1 +#define TAPE_INITIATOR_PARTITIONS 2 +#define TAPE_ERASE_SHORT 0 +#define TAPE_ERASE_LONG 1 +#define TAPE_LOAD 0 +#define TAPE_UNLOAD 1 +#define TAPE_TENSION 2 +#define TAPE_LOCK 3 +#define TAPE_UNLOCK 4 +#define TAPE_FORMAT 5 +#define TAPE_SETMARKS 0 +#define TAPE_FILEMARKS 1 +#define TAPE_SHORT_FILEMARKS 2 +#define TAPE_LONG_FILEMARKS 3 +#define TAPE_REWIND 0 +#define TAPE_ABSOLUTE_BLOCK 1 +#define TAPE_LOGICAL_BLOCK 2 +#define TAPE_PSEUDO_LOGICAL_BLOCK 3 +#define TAPE_SPACE_END_OF_DATA 4 +#define TAPE_SPACE_RELATIVE_BLOCKS 5 +#define TAPE_SPACE_FILEMARKS 6 +#define TAPE_SPACE_SEQUENTIAL_FMKS 7 +#define TAPE_SPACE_SETMARKS 8 +#define TAPE_SPACE_SEQUENTIAL_SMKS 9 + +typedef struct _TAPE_CREATE_PARTITION { + DWORD Method; + DWORD Count; + DWORD Size; +} TAPE_CREATE_PARTITION, *PTAPE_CREATE_PARTITION; + +typedef struct _TAPE_ERASE { + DWORD Type; + BOOLEAN Immediate; +} TAPE_ERASE, *PTAPE_ERASE; + +typedef struct _TAPE_PREPARE { + DWORD Operation; + BOOLEAN Immediate; +} TAPE_PREPARE, *PTAPE_PREPARE; + +typedef struct _TAPE_SET_DRIVE_PARAMETERS { + BOOLEAN ECC; + BOOLEAN Compression; + BOOLEAN DataPadding; + BOOLEAN ReportSetmarks; + ULONG EOTWarningZoneSize; +} TAPE_SET_DRIVE_PARAMETERS, *PTAPE_SET_DRIVE_PARAMETERS; + +typedef struct _TAPE_SET_MEDIA_PARAMETERS { + ULONG BlockSize; +} TAPE_SET_MEDIA_PARAMETERS, *PTAPE_SET_MEDIA_PARAMETERS; + +typedef struct _TAPE_WRITE_MARKS { + DWORD Type; + DWORD Count; + BOOLEAN Immediate; +} TAPE_WRITE_MARKS, *PTAPE_WRITE_MARKS; + +typedef struct _TAPE_GET_POSITION { + ULONG Type; + ULONG Partition; + ULONG OffsetLow; + ULONG OffsetHigh; +} TAPE_GET_POSITION, *PTAPE_GET_POSITION; + +typedef struct _TAPE_SET_POSITION { + ULONG Method; + ULONG Partition; + LARGE_INTEGER Offset; + BOOLEAN Immediate; +} TAPE_SET_POSITION, *PTAPE_SET_POSITION; + +typedef struct _TAPE_GET_DRIVE_PARAMETERS { + BOOLEAN ECC; + BOOLEAN Compression; + BOOLEAN DataPadding; + BOOLEAN ReportSetmarks; + DWORD DefaultBlockSize; + DWORD MaximumBlockSize; + DWORD MinimumBlockSize; + DWORD MaximumPartitionCount; + DWORD FeaturesLow; + DWORD FeaturesHigh; + DWORD EOTWarningZoneSize; +} TAPE_GET_DRIVE_PARAMETERS, *PTAPE_GET_DRIVE_PARAMETERS; + +typedef struct _TAPE_GET_MEDIA_PARAMETERS { + LARGE_INTEGER Capacity; + LARGE_INTEGER Remaining; + DWORD BlockSize; + DWORD PartitionCount; + BOOLEAN WriteProtected; +} TAPE_GET_MEDIA_PARAMETERS, *PTAPE_GET_MEDIA_PARAMETERS; + +/* ----------------------------- begin registry ----------------------------- */ + +/* Registry security values */ +#define OWNER_SECURITY_INFORMATION 0x00000001 +#define GROUP_SECURITY_INFORMATION 0x00000002 +#define DACL_SECURITY_INFORMATION 0x00000004 +#define SACL_SECURITY_INFORMATION 0x00000008 +#define LABEL_SECURITY_INFORMATION 0x00000010 + +#define REG_OPTION_RESERVED 0x00000000 +#define REG_OPTION_NON_VOLATILE 0x00000000 +#define REG_OPTION_VOLATILE 0x00000001 +#define REG_OPTION_CREATE_LINK 0x00000002 +#define REG_OPTION_BACKUP_RESTORE 0x00000004 /* FIXME */ +#define REG_OPTION_OPEN_LINK 0x00000008 +#define REG_LEGAL_OPTION (REG_OPTION_RESERVED | \ + REG_OPTION_NON_VOLATILE | \ + REG_OPTION_VOLATILE | \ + REG_OPTION_CREATE_LINK | \ + REG_OPTION_BACKUP_RESTORE | \ + REG_OPTION_OPEN_LINK) + + +#define REG_CREATED_NEW_KEY 0x00000001 +#define REG_OPENED_EXISTING_KEY 0x00000002 + +/* For RegNotifyChangeKeyValue */ +#define REG_NOTIFY_CHANGE_NAME 0x01 +#define REG_NOTIFY_CHANGE_ATTRIBUTES 0x02 +#define REG_NOTIFY_CHANGE_LAST_SET 0x04 +#define REG_NOTIFY_CHANGE_SECURITY 0x08 + +#define KEY_QUERY_VALUE 0x00000001 +#define KEY_SET_VALUE 0x00000002 +#define KEY_CREATE_SUB_KEY 0x00000004 +#define KEY_ENUMERATE_SUB_KEYS 0x00000008 +#define KEY_NOTIFY 0x00000010 +#define KEY_CREATE_LINK 0x00000020 +#define KEY_WOW64_64KEY 0x00000100 +#define KEY_WOW64_32KEY 0x00000200 +#define KEY_WOW64_RES 0x00000300 + +/* for RegKeyRestore flags */ +#define REG_WHOLE_HIVE_VOLATILE 0x00000001 +#define REG_REFRESH_HIVE 0x00000002 +#define REG_NO_LAZY_FLUSH 0x00000004 +#define REG_FORCE_RESTORE 0x00000008 + +#define KEY_READ ((STANDARD_RIGHTS_READ| \ + KEY_QUERY_VALUE| \ + KEY_ENUMERATE_SUB_KEYS| \ + KEY_NOTIFY) \ + & (~SYNCHRONIZE) \ + ) +#define KEY_WRITE ((STANDARD_RIGHTS_WRITE| \ + KEY_SET_VALUE| \ + KEY_CREATE_SUB_KEY) \ + & (~SYNCHRONIZE) \ + ) +#define KEY_EXECUTE ((KEY_READ) & (~SYNCHRONIZE)) +#define KEY_ALL_ACCESS ((STANDARD_RIGHTS_ALL| \ + KEY_QUERY_VALUE| \ + KEY_SET_VALUE| \ + KEY_CREATE_SUB_KEY| \ + KEY_ENUMERATE_SUB_KEYS| \ + KEY_NOTIFY| \ + KEY_CREATE_LINK) \ + & (~SYNCHRONIZE) \ + ) +/* ------------------------------ end registry ------------------------------ */ + + +#define EVENTLOG_SUCCESS 0x0000 +#define EVENTLOG_ERROR_TYPE 0x0001 +#define EVENTLOG_WARNING_TYPE 0x0002 +#define EVENTLOG_INFORMATION_TYPE 0x0004 +#define EVENTLOG_AUDIT_SUCCESS 0x0008 +#define EVENTLOG_AUDIT_FAILURE 0x0010 + +#define EVENTLOG_SEQUENTIAL_READ 0x0001 +#define EVENTLOG_SEEK_READ 0x0002 +#define EVENTLOG_FORWARDS_READ 0x0004 +#define EVENTLOG_BACKWARDS_READ 0x0008 + +typedef struct _EVENTLOGRECORD { + DWORD Length; + DWORD Reserved; + DWORD RecordNumber; + DWORD TimeGenerated; + DWORD TimeWritten; + DWORD EventID; + WORD EventType; + WORD NumStrings; + WORD EventCategory; + WORD ReservedFlags; + DWORD ClosingRecordNumber; + DWORD StringOffset; + DWORD UserSidLength; + DWORD UserSidOffset; + DWORD DataLength; + DWORD DataOffset; +} EVENTLOGRECORD, *PEVENTLOGRECORD; + +#define SERVICE_BOOT_START 0x00000000 +#define SERVICE_SYSTEM_START 0x00000001 +#define SERVICE_AUTO_START 0x00000002 +#define SERVICE_DEMAND_START 0x00000003 +#define SERVICE_DISABLED 0x00000004 + +#define SERVICE_ERROR_IGNORE 0x00000000 +#define SERVICE_ERROR_NORMAL 0x00000001 +#define SERVICE_ERROR_SEVERE 0x00000002 +#define SERVICE_ERROR_CRITICAL 0x00000003 + +/* Service types */ +#define SERVICE_KERNEL_DRIVER 0x00000001 +#define SERVICE_FILE_SYSTEM_DRIVER 0x00000002 +#define SERVICE_ADAPTER 0x00000004 +#define SERVICE_RECOGNIZER_DRIVER 0x00000008 + +#define SERVICE_DRIVER ( SERVICE_KERNEL_DRIVER | SERVICE_FILE_SYSTEM_DRIVER | \ + SERVICE_RECOGNIZER_DRIVER ) + +#define SERVICE_WIN32_OWN_PROCESS 0x00000010 +#define SERVICE_WIN32_SHARE_PROCESS 0x00000020 +#define SERVICE_WIN32 (SERVICE_WIN32_OWN_PROCESS | SERVICE_WIN32_SHARE_PROCESS) + +#define SERVICE_INTERACTIVE_PROCESS 0x00000100 + +#define SERVICE_TYPE_ALL ( SERVICE_WIN32 | SERVICE_ADAPTER | \ + SERVICE_DRIVER | SERVICE_INTERACTIVE_PROCESS ) + + +typedef enum _CM_SERVICE_NODE_TYPE +{ + DriverType = SERVICE_KERNEL_DRIVER, + FileSystemType = SERVICE_FILE_SYSTEM_DRIVER, + Win32ServiceOwnProcess = SERVICE_WIN32_OWN_PROCESS, + Win32ServiceShareProcess = SERVICE_WIN32_SHARE_PROCESS, + AdapterType = SERVICE_ADAPTER, + RecognizerType = SERVICE_RECOGNIZER_DRIVER +} SERVICE_NODE_TYPE; + +typedef enum _CM_SERVICE_LOAD_TYPE +{ + BootLoad = SERVICE_BOOT_START, + SystemLoad = SERVICE_SYSTEM_START, + AutoLoad = SERVICE_AUTO_START, + DemandLoad = SERVICE_DEMAND_START, + DisableLoad = SERVICE_DISABLED +} SERVICE_LOAD_TYPE; + +typedef enum _CM_ERROR_CONTROL_TYPE +{ + IgnoreError = SERVICE_ERROR_IGNORE, + NormalError = SERVICE_ERROR_NORMAL, + SevereError = SERVICE_ERROR_SEVERE, + CriticalError = SERVICE_ERROR_CRITICAL +} SERVICE_ERROR_TYPE; + + + +#define RtlEqualMemory(Destination, Source, Length) (!memcmp((Destination),(Source),(Length))) +#define RtlMoveMemory(Destination, Source, Length) memmove((Destination),(Source),(Length)) +#define RtlCopyMemory(Destination, Source, Length) memcpy((Destination),(Source),(Length)) +#define RtlFillMemory(Destination, Length, Fill) memset((Destination),(Fill),(Length)) +#define RtlZeroMemory(Destination, Length) memset((Destination),0,(Length)) + +static FORCEINLINE void *RtlSecureZeroMemory(void *buffer, SIZE_T length) +{ + volatile char *ptr = (volatile char *)buffer; + + while (length--) *ptr++ = 0; + return buffer; +} + +#include + +typedef struct _OBJECT_TYPE_LIST { + WORD Level; + WORD Sbz; + GUID *ObjectType; +} OBJECT_TYPE_LIST, *POBJECT_TYPE_LIST; + +typedef struct _RTL_CRITICAL_SECTION_DEBUG +{ + WORD Type; + WORD CreatorBackTraceIndex; + struct _RTL_CRITICAL_SECTION *CriticalSection; + LIST_ENTRY ProcessLocksList; + DWORD EntryCount; + DWORD ContentionCount; +#ifdef __WINESRC__ /* in Wine we store the name here */ + DWORD_PTR Spare[8/sizeof(DWORD_PTR)]; +#else + DWORD Spare[ 2 ]; +#endif +} RTL_CRITICAL_SECTION_DEBUG, *PRTL_CRITICAL_SECTION_DEBUG, RTL_RESOURCE_DEBUG, *PRTL_RESOURCE_DEBUG; + +typedef struct _RTL_CRITICAL_SECTION { + PRTL_CRITICAL_SECTION_DEBUG DebugInfo; + LONG LockCount; + LONG RecursionCount; + HANDLE OwningThread; + HANDLE LockSemaphore; + ULONG_PTR SpinCount; +} RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION; + +#define RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO 0x1000000 +#define RTL_CRITICAL_SECTION_FLAG_DYNAMIC_SPIN 0x2000000 +#define RTL_CRITICAL_SECTION_FLAG_STATIC_INIT 0x4000000 +#define RTL_CRITICAL_SECTION_ALL_FLAG_BITS 0xFF000000 +#define RTL_CRITICAL_SECTION_FLAG_RESERVED (RTL_CRITICAL_SECTION_ALL_FLAG_BITS & ~0x7000000) + +typedef struct _RTL_SRWLOCK { + PVOID Ptr; +} RTL_SRWLOCK, *PRTL_SRWLOCK; + +#define RTL_SRWLOCK_INIT {0} + +typedef struct _RTL_CONDITION_VARIABLE { + PVOID Ptr; +} RTL_CONDITION_VARIABLE, *PRTL_CONDITION_VARIABLE; +#define RTL_CONDITION_VARIABLE_INIT {0} +#define RTL_CONDITION_VARIABLE_LOCKMODE_SHARED 0x1 + +typedef VOID (NTAPI * WAITORTIMERCALLBACKFUNC) (PVOID, BOOLEAN ); +typedef VOID (NTAPI * PFLS_CALLBACK_FUNCTION) ( PVOID ); + +#define RTL_RUN_ONCE_INIT {0} +typedef union _RTL_RUN_ONCE { + PVOID Ptr; +} RTL_RUN_ONCE, *PRTL_RUN_ONCE; + +#define RTL_RUN_ONCE_CHECK_ONLY 0x00000001 +#define RTL_RUN_ONCE_ASYNC 0x00000002 +#define RTL_RUN_ONCE_INIT_FAILED 0x00000004 + +typedef DWORD WINAPI RTL_RUN_ONCE_INIT_FN(PRTL_RUN_ONCE, PVOID, PVOID*); +typedef RTL_RUN_ONCE_INIT_FN *PRTL_RUN_ONCE_INIT_FN; +NTSYSAPI VOID WINAPI RtlRunOnceInitialize(PRTL_RUN_ONCE); +NTSYSAPI DWORD WINAPI RtlRunOnceExecuteOnce(PRTL_RUN_ONCE,PRTL_RUN_ONCE_INIT_FN,PVOID,PVOID*); +NTSYSAPI DWORD WINAPI RtlRunOnceBeginInitialize(PRTL_RUN_ONCE, DWORD, PVOID*); +NTSYSAPI DWORD WINAPI RtlRunOnceComplete(PRTL_RUN_ONCE, DWORD, PVOID); + +#include +typedef struct _IO_COUNTERS { + ULONGLONG DECLSPEC_ALIGN(8) ReadOperationCount; + ULONGLONG DECLSPEC_ALIGN(8) WriteOperationCount; + ULONGLONG DECLSPEC_ALIGN(8) OtherOperationCount; + ULONGLONG DECLSPEC_ALIGN(8) ReadTransferCount; + ULONGLONG DECLSPEC_ALIGN(8) WriteTransferCount; + ULONGLONG DECLSPEC_ALIGN(8) OtherTransferCount; +} IO_COUNTERS, *PIO_COUNTERS; +#include + +typedef struct { + DWORD dwOSVersionInfoSize; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + DWORD dwBuildNumber; + DWORD dwPlatformId; + CHAR szCSDVersion[128]; +} OSVERSIONINFOA, *POSVERSIONINFOA, *LPOSVERSIONINFOA; + +typedef struct { + DWORD dwOSVersionInfoSize; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + DWORD dwBuildNumber; + DWORD dwPlatformId; + WCHAR szCSDVersion[128]; +} OSVERSIONINFOW, *POSVERSIONINFOW, *LPOSVERSIONINFOW, RTL_OSVERSIONINFOW, *PRTL_OSVERSIONINFOW; + +DECL_WINELIB_TYPE_AW(OSVERSIONINFO) +DECL_WINELIB_TYPE_AW(POSVERSIONINFO) +DECL_WINELIB_TYPE_AW(LPOSVERSIONINFO) + +typedef struct { + DWORD dwOSVersionInfoSize; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + DWORD dwBuildNumber; + DWORD dwPlatformId; + CHAR szCSDVersion[128]; + WORD wServicePackMajor; + WORD wServicePackMinor; + WORD wSuiteMask; + BYTE wProductType; + BYTE wReserved; +} OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA; + +typedef struct { + DWORD dwOSVersionInfoSize; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + DWORD dwBuildNumber; + DWORD dwPlatformId; + WCHAR szCSDVersion[128]; + WORD wServicePackMajor; + WORD wServicePackMinor; + WORD wSuiteMask; + BYTE wProductType; + BYTE wReserved; +} OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW, RTL_OSVERSIONINFOEXW, *PRTL_OSVERSIONINFOEXW; + +DECL_WINELIB_TYPE_AW(OSVERSIONINFOEX) +DECL_WINELIB_TYPE_AW(POSVERSIONINFOEX) +DECL_WINELIB_TYPE_AW(LPOSVERSIONINFOEX) + +NTSYSAPI ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE); + +#define VER_SET_CONDITION(_m_,_t_,_c_) ((_m_)=VerSetConditionMask((_m_),(_t_),(_c_))) + +#define VER_PLATFORM_WIN32s 0 +#define VER_PLATFORM_WIN32_WINDOWS 1 +#define VER_PLATFORM_WIN32_NT 2 + +#define VER_MINORVERSION 0x00000001 +#define VER_MAJORVERSION 0x00000002 +#define VER_BUILDNUMBER 0x00000004 +#define VER_PLATFORMID 0x00000008 +#define VER_SERVICEPACKMINOR 0x00000010 +#define VER_SERVICEPACKMAJOR 0x00000020 +#define VER_SUITENAME 0x00000040 +#define VER_PRODUCT_TYPE 0x00000080 + +#define VER_NT_WORKSTATION 1 +#define VER_NT_DOMAIN_CONTROLLER 2 +#define VER_NT_SERVER 3 + +#define VER_SUITE_SMALLBUSINESS 0x00000001 +#define VER_SUITE_ENTERPRISE 0x00000002 +#define VER_SUITE_BACKOFFICE 0x00000004 +#define VER_SUITE_COMMUNICATIONS 0x00000008 +#define VER_SUITE_TERMINAL 0x00000010 +#define VER_SUITE_SMALLBUSINESS_RESTRICTED 0x00000020 +#define VER_SUITE_EMBEDDEDNT 0x00000040 +#define VER_SUITE_DATACENTER 0x00000080 +#define VER_SUITE_SINGLEUSERTS 0x00000100 +#define VER_SUITE_PERSONAL 0x00000200 +#define VER_SUITE_BLADE 0x00000400 +#define VER_SUITE_EMBEDDED_RESTRICTED 0x00000800 +#define VER_SUITE_SECURITY_APPLIANCE 0x00001000 +#define VER_SUITE_STORAGE_SERVER 0x00002000 +#define VER_SUITE_COMPUTE_SERVER 0x00004000 +#define VER_SUITE_WH_SERVER 0x00008000 + +#define VER_EQUAL 1 +#define VER_GREATER 2 +#define VER_GREATER_EQUAL 3 +#define VER_LESS 4 +#define VER_LESS_EQUAL 5 +#define VER_AND 6 +#define VER_OR 7 + +typedef struct _ACTIVATION_CONTEXT_DETAILED_INFORMATION { + DWORD dwFlags; + DWORD ulFormatVersion; + DWORD ulAssemblyCount; + DWORD ulRootManifestPathType; + DWORD ulRootManifestPathChars; + DWORD ulRootConfigurationPathType; + DWORD ulRootConfigurationPathChars; + DWORD ulAppDirPathType; + DWORD ulAppDirPathChars; + PCWSTR lpRootManifestPath; + PCWSTR lpRootConfigurationPath; + PCWSTR lpAppDirPath; +} ACTIVATION_CONTEXT_DETAILED_INFORMATION, *PACTIVATION_CONTEXT_DETAILED_INFORMATION; + +typedef struct _ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION { + DWORD ulFlags; + DWORD ulEncodedAssemblyIdentityLength; + DWORD ulManifestPathType; + DWORD ulManifestPathLength; + LARGE_INTEGER liManifestLastWriteTime; + DWORD ulPolicyPathType; + DWORD ulPolicyPathLength; + LARGE_INTEGER liPolicyLastWriteTime; + DWORD ulMetadataSatelliteRosterIndex; + DWORD ulManifestVersionMajor; + DWORD ulManifestVersionMinor; + DWORD ulPolicyVersionMajor; + DWORD ulPolicyVersionMinor; + DWORD ulAssemblyDirectoryNameLength; + PCWSTR lpAssemblyEncodedAssemblyIdentity; + PCWSTR lpAssemblyManifestPath; + PCWSTR lpAssemblyPolicyPath; + PCWSTR lpAssemblyDirectoryName; + DWORD ulFileCount; +} ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION, *PACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION; + +typedef struct _ACTIVATION_CONTEXT_QUERY_INDEX { + DWORD ulAssemblyIndex; + DWORD ulFileIndexInAssembly; +} ACTIVATION_CONTEXT_QUERY_INDEX, *PACTIVATION_CONTEXT_QUERY_INDEX; + +typedef const struct _ACTIVATION_CONTEXT_QUERY_INDEX *PCACTIVATION_CONTEXT_QUERY_INDEX; + +typedef struct _ASSEMBLY_FILE_DETAILED_INFORMATION { + DWORD ulFlags; + DWORD ulFilenameLength; + DWORD ulPathLength; + PCWSTR lpFileName; + PCWSTR lpFilePath; +} ASSEMBLY_FILE_DETAILED_INFORMATION, *PASSEMBLY_FILE_DETAILED_INFORMATION; + +typedef const ASSEMBLY_FILE_DETAILED_INFORMATION *PCASSEMBLY_FILE_DETAILED_INFORMATION; + +typedef enum _ACTIVATION_CONTEXT_INFO_CLASS { + ActivationContextBasicInformation = 1, + ActivationContextDetailedInformation = 2, + AssemblyDetailedInformationInActivationContext = 3, + FileInformationInAssemblyOfAssemblyInActivationContext = 4, + MaxActivationContextInfoClass, + + AssemblyDetailedInformationInActivationContxt = 3, + FileInformationInAssemblyOfAssemblyInActivationContxt = 4 +} ACTIVATION_CONTEXT_INFO_CLASS; + +#define ACTIVATION_CONTEXT_PATH_TYPE_NONE 1 +#define ACTIVATION_CONTEXT_PATH_TYPE_WIN32_FILE 2 +#define ACTIVATION_CONTEXT_PATH_TYPE_URL 3 +#define ACTIVATION_CONTEXT_PATH_TYPE_ASSEMBLYREF 4 + +#define ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION 1 +#define ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION 2 +#define ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION 3 +#define ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION 4 +#define ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION 5 +#define ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION 6 +#define ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION 7 +#define ACTIVATION_CONTEXT_SECTION_GLOBAL_OBJECT_RENAME_TABLE 8 +#define ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES 9 + +typedef enum _JOBOBJECTINFOCLASS +{ + JobObjectBasicAccountingInformation = 1, + JobObjectBasicLimitInformation, + JobObjectBasicProcessIdList, + JobObjectBasicUIRestrictions, + JobObjectSecurityLimitInformation, + JobObjectEndOfJobTimeInformation, + JobObjectAssociateCompletionPortInformation, + JobObjectBasicAndIoAccountingInformation, + JobObjectExtendedLimitInformation, + JobObjectJobSetInformation, + MaxJobObjectInfoClass +} JOBOBJECTINFOCLASS; + +typedef struct _JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { + LARGE_INTEGER TotalUserTime; + LARGE_INTEGER TotalKernelTime; + LARGE_INTEGER ThisPeriodTotalUserTime; + LARGE_INTEGER ThisPeriodTotalKernelTime; + DWORD TotalPageFaultCount; + DWORD TotalProcesses; + DWORD ActiveProcesses; + DWORD TotalTerminatedProcesses; +} JOBOBJECT_BASIC_ACCOUNTING_INFORMATION, *PJOBOBJECT_BASIC_ACCOUNTING_INFORMATION; + +typedef struct _JOBOBJECT_BASIC_LIMIT_INFORMATION { + LARGE_INTEGER PerProcessUserTimeLimit; + LARGE_INTEGER PerJobUserTimeLimit; + DWORD LimitFlags; + SIZE_T MinimumWorkingSetSize; + SIZE_T MaximumWorkingSetSize; + DWORD ActiveProcessLimit; + ULONG_PTR Affinity; + DWORD PriorityClass; + DWORD SchedulingClass; +} JOBOBJECT_BASIC_LIMIT_INFORMATION, *PJOBOBJECT_BASIC_LIMIT_INFORMATION; + +typedef struct _JOBOBJECT_BASIC_PROCESS_ID_LIST { + DWORD NumberOfAssignedProcesses; + DWORD NumberOfProcessIdsInList; + ULONG_PTR ProcessIdList[1]; +} JOBOBJECT_BASIC_PROCESS_ID_LIST, *PJOBOBJECT_BASIC_PROCESS_ID_LIST; + +typedef struct _JOBOBJECT_BASIC_UI_RESTRICTIONS { + DWORD UIRestrictionsClass; +} JOBOBJECT_BASIC_UI_RESTRICTIONS, *PJOBOBJECT_BASIC_UI_RESTRICTIONS; + +typedef struct _JOBOBJECT_SECURITY_LIMIT_INFORMATION { + DWORD SecurityLimitFlags; + HANDLE JobToken; + PTOKEN_GROUPS SidsToDisable; + PTOKEN_PRIVILEGES PrivilegesToDelete; + PTOKEN_GROUPS RestrictedSids; +} JOBOBJECT_SECURITY_LIMIT_INFORMATION, *PJOBOBJECT_SECURITY_LIMIT_INFORMATION; + +typedef struct _JOBOBJECT_END_OF_JOB_TIME_INFORMATION { + DWORD EndOfJobTimeAction; +} JOBOBJECT_END_OF_JOB_TIME_INFORMATION, PJOBOBJECT_END_OF_JOB_TIME_INFORMATION; + +typedef struct _JOBOBJECT_ASSOCIATE_COMPLETION_PORT { + PVOID CompletionKey; + HANDLE CompletionPort; +} JOBOBJECT_ASSOCIATE_COMPLETION_PORT, *PJOBOBJECT_ASSOCIATE_COMPLETION_PORT; + +#define JOB_OBJECT_MSG_END_OF_JOB_TIME 1 +#define JOB_OBJECT_MSG_END_OF_PROCESS_TIME 2 +#define JOB_OBJECT_MSG_ACTIVE_PROCESS_LIMIT 3 +#define JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO 4 +#define JOB_OBJECT_MSG_NEW_PROCESS 6 +#define JOB_OBJECT_MSG_EXIT_PROCESS 7 +#define JOB_OBJECT_MSG_ABNORMAL_EXIT_PROCESS 8 +#define JOB_OBJECT_MSG_PROCESS_MEMORY_LIMIT 9 +#define JOB_OBJECT_MSG_JOB_MEMORY_LIMIT 10 + +typedef struct JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { + JOBOBJECT_BASIC_ACCOUNTING_INFORMATION BasicInfo; + IO_COUNTERS IoInfo; +} JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION, *PJOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION; + +typedef struct _JOBOBJECT_EXTENDED_LIMIT_INFORMATION { + JOBOBJECT_BASIC_LIMIT_INFORMATION BasicLimitInformation; + IO_COUNTERS IoInfo; + SIZE_T ProcessMemoryLimit; + SIZE_T JobMemoryLimit; + SIZE_T PeakProcessMemoryUsed; + SIZE_T PeakJobMemoryUsed; +} JOBOBJECT_EXTENDED_LIMIT_INFORMATION, *PJOBOBJECT_EXTENDED_LIMIT_INFORMATION; + +#define JOB_OBJECT_LIMIT_WORKINGSET 0x00000001 +#define JOB_OBJECT_LIMIT_PROCESS_TIME 0x00000002 +#define JOB_OBJECT_LIMIT_JOB_TIME 0x00000004 +#define JOB_OBJECT_LIMIT_ACTIVE_PROCESS 0x00000008 +#define JOB_OBJECT_LIMIT_AFFINITY 0x00000010 +#define JOB_OBJECT_LIMIT_PRIORITY_CLASS 0x00000020 +#define JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME 0x00000040 +#define JOB_OBJECT_LIMIT_SCHEDULING_CLASS 0x00000080 +#define JOB_OBJECT_LIMIT_PROCESS_MEMORY 0x00000100 +#define JOB_OBJECT_LIMIT_JOB_MEMORY 0x00000200 +#define JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION 0x00000400 +#define JOB_OBJECT_LIMIT_BREAKAWAY_OK 0x00000800 +#define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK 0x00001000 +#define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x00002000 +#define JOB_OBJECT_LIMIT_SUBSET_AFFINITY 0x00004000 + +#define JOB_OBJECT_LIMIT_VALID_FLAGS 0x0007ffff +#define JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS 0x000000ff +#define JOB_OBJECT_EXTENDED_LIMIT_VALID_FLAGS 0x00007fff + +typedef enum _LOGICAL_PROCESSOR_RELATIONSHIP +{ + RelationProcessorCore = 0, + RelationNumaNode = 1, + RelationCache = 2, + RelationProcessorPackage = 3, + RelationGroup = 4, + RelationAll = 0xffff +} LOGICAL_PROCESSOR_RELATIONSHIP; + +typedef enum _PROCESSOR_CACHE_TYPE +{ + CacheUnified, + CacheInstruction, + CacheData, + CacheTrace +} PROCESSOR_CACHE_TYPE; + +typedef struct _PROCESSOR_GROUP_INFO +{ + BYTE MaximumProcessorCount; + BYTE ActiveProcessorCount; + BYTE Reserved[38]; + KAFFINITY ActiveProcessorMask; +} PROCESSOR_GROUP_INFO, *PPROCESSOR_GROUP_INFO; + +typedef struct _CACHE_DESCRIPTOR +{ + BYTE Level; + BYTE Associativity; + WORD LineSize; + DWORD Size; + PROCESSOR_CACHE_TYPE Type; +} CACHE_DESCRIPTOR, *PCACHE_DESCRIPTOR; + +typedef struct _GROUP_AFFINITY +{ + KAFFINITY Mask; + WORD Group; + WORD Reserved[3]; +} GROUP_AFFINITY, *PGROUP_AFFINITY; + +typedef struct _PROCESSOR_NUMBER +{ + WORD Group; + BYTE Number; + BYTE Reserved; +} PROCESSOR_NUMBER, *PPROCESSOR_NUMBER; + +typedef struct _PROCESSOR_RELATIONSHIP +{ + BYTE Flags; + BYTE EfficiencyClass; + BYTE Reserved[20]; + WORD GroupCount; + GROUP_AFFINITY GroupMask[ANYSIZE_ARRAY]; +} PROCESSOR_RELATIONSHIP, *PPROCESSOR_RELATIONSHIP; + +typedef struct _NUMA_NODE_RELATIONSHIP +{ + DWORD NodeNumber; + BYTE Reserved[20]; + GROUP_AFFINITY GroupMask; +} NUMA_NODE_RELATIONSHIP, *PNUMA_NODE_RELATIONSHIP; + +typedef struct _CACHE_RELATIONSHIP +{ + BYTE Level; + BYTE Associativity; + WORD LineSize; + DWORD CacheSize; + PROCESSOR_CACHE_TYPE Type; + BYTE Reserved[20]; + GROUP_AFFINITY GroupMask; +} CACHE_RELATIONSHIP, *PCACHE_RELATIONSHIP; + +typedef struct _GROUP_RELATIONSHIP +{ + WORD MaximumGroupCount; + WORD ActiveGroupCount; + BYTE Reserved[20]; + PROCESSOR_GROUP_INFO GroupInfo[ANYSIZE_ARRAY]; +} GROUP_RELATIONSHIP, *PGROUP_RELATIONSHIP; + +typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION +{ + ULONG_PTR ProcessorMask; + LOGICAL_PROCESSOR_RELATIONSHIP Relationship; + union + { + struct + { + BYTE Flags; + } ProcessorCore; + struct + { + DWORD NodeNumber; + } NumaNode; + CACHE_DESCRIPTOR Cache; + ULONGLONG Reserved[2]; + } DUMMYUNIONNAME; +} SYSTEM_LOGICAL_PROCESSOR_INFORMATION, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION; + +typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX +{ + LOGICAL_PROCESSOR_RELATIONSHIP Relationship; + DWORD Size; + union + { + PROCESSOR_RELATIONSHIP Processor; + NUMA_NODE_RELATIONSHIP NumaNode; + CACHE_RELATIONSHIP Cache; + GROUP_RELATIONSHIP Group; + } DUMMYUNIONNAME; +} SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX; + +/* Threadpool things */ +typedef DWORD TP_VERSION,*PTP_VERSION; + +typedef struct _TP_CALLBACK_INSTANCE TP_CALLBACK_INSTANCE,*PTP_CALLBACK_INSTANCE; + +typedef VOID (CALLBACK *PTP_SIMPLE_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID); + +typedef struct _TP_POOL TP_POOL,*PTP_POOL; + +typedef enum _TP_CALLBACK_PRIORITY +{ + TP_CALLBACK_PRIORITY_HIGH, + TP_CALLBACK_PRIORITY_NORMAL, + TP_CALLBACK_PRIORITY_LOW, + TP_CALLBACK_PRIORITY_INVALID, + TP_CALLBACK_PRIORITY_COUNT = TP_CALLBACK_PRIORITY_INVALID +} TP_CALLBACK_PRIORITY; + +typedef struct _TP_POOL_STACK_INFORMATION +{ + SIZE_T StackReserve; + SIZE_T StackCommit; +} TP_POOL_STACK_INFORMATION,*PTP_POOL_STACK_INFORMATION; + +typedef struct _TP_CLEANUP_GROUP TP_CLEANUP_GROUP,*PTP_CLEANUP_GROUP; + +typedef VOID (CALLBACK *PTP_CLEANUP_GROUP_CANCEL_CALLBACK)(PVOID,PVOID); + +typedef struct _TP_CALLBACK_ENVIRON_V1 +{ + TP_VERSION Version; + PTP_POOL Pool; + PTP_CLEANUP_GROUP CleanupGroup; + PTP_CLEANUP_GROUP_CANCEL_CALLBACK CleanupGroupCancelCallback; + PVOID RaceDll; + struct _ACTIVATION_CONTEXT* ActivationContext; + PTP_SIMPLE_CALLBACK FinalizationCallback; + union + { + DWORD Flags; + struct + { + DWORD LongFunction:1; + DWORD Persistent:1; + DWORD Private:30; + } s; + } u; +} TP_CALLBACK_ENVIRON_V1; + +typedef struct _TP_CALLBACK_ENVIRON_V3 +{ + TP_VERSION Version; + PTP_POOL Pool; + PTP_CLEANUP_GROUP CleanupGroup; + PTP_CLEANUP_GROUP_CANCEL_CALLBACK CleanupGroupCancelCallback; + PVOID RaceDll; + struct _ACTIVATION_CONTEXT *ActivationContext; + PTP_SIMPLE_CALLBACK FinalizationCallback; + union + { + DWORD Flags; + struct + { + DWORD LongFunction:1; + DWORD Persistent:1; + DWORD Private:30; + } s; + } u; + TP_CALLBACK_PRIORITY CallbackPriority; + DWORD Size; +} TP_CALLBACK_ENVIRON_V3; + +typedef struct _TP_WORK TP_WORK, *PTP_WORK; +typedef struct _TP_TIMER TP_TIMER, *PTP_TIMER; + +typedef DWORD TP_WAIT_RESULT; +typedef struct _TP_WAIT TP_WAIT, *PTP_WAIT; + +typedef struct _TP_IO TP_IO, *PTP_IO; + +typedef TP_CALLBACK_ENVIRON_V1 TP_CALLBACK_ENVIRON, *PTP_CALLBACK_ENVIRON; + +typedef VOID (CALLBACK *PTP_WORK_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PTP_WORK); +typedef VOID (CALLBACK *PTP_TIMER_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PTP_TIMER); +typedef VOID (CALLBACK *PTP_WAIT_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PTP_WAIT,TP_WAIT_RESULT); +typedef VOID (CALLBACK *PTP_WIN32_IO_CALLBACK)(PTP_CALLBACK_INSTANCE,PVOID,PVOID,ULONG,ULONG_PTR,PTP_IO); + + +NTSYSAPI BOOLEAN NTAPI RtlGetProductInfo(DWORD,DWORD,DWORD,DWORD,PDWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* _WINNT_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnt.rh b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnt.rh new file mode 100644 index 0000000..5f07168 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winnt.rh @@ -0,0 +1,453 @@ +/* + * Win32 definitions for Windows NT + * + * Copyright 1996 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + + +/* These are only defined for Winelib, i.e. _not_ defined for + * the emulator. The reason is they depend on the UNICODE + * macro which only exists in the user's code. + */ +#ifndef WINE_NO_UNICODE_MACROS +# ifdef UNICODE +# define __TEXT(string) L##string +# else +# define __TEXT(string) string +# endif +# define TEXT(string) __TEXT(string) +#endif + + +/* Language definitions */ +#define LANG_NEUTRAL 0x00 +#define LANG_INVARIANT 0x7f + +#define LANG_AFRIKAANS 0x36 +#define LANG_ALBANIAN 0x1c +#define LANG_ALSATIAN 0x84 +#define LANG_AMHARIC 0x5e +#define LANG_ARABIC 0x01 +#define LANG_ARMENIAN 0x2b +#define LANG_ASSAMESE 0x4d +#define LANG_AZERI 0x2c +#define LANG_BANGLA 0x45 +#define LANG_BASHKIR 0x6d +#define LANG_BASQUE 0x2d +#define LANG_BELARUSIAN 0x23 +#define LANG_BENGALI 0x45 +#define LANG_BOSNIAN 0x1a +#define LANG_BOSNIAN_NEUTRAL 0x781a +#define LANG_BRETON 0x7e +#define LANG_BULGARIAN 0x02 +#define LANG_CATALAN 0x03 +#define LANG_CHINESE 0x04 +#define LANG_CHINESE_SIMPLIFIED 0x0004 +#define LANG_CHINESE_TRADITIONAL 0x7c04 +#define LANG_CORSICAN 0x83 +#define LANG_CROATIAN 0x1a +#define LANG_CZECH 0x05 +#define LANG_DANISH 0x06 +#define LANG_DARI 0x8c +#define LANG_DIVEHI 0x65 +#define LANG_DUTCH 0x13 +#define LANG_ENGLISH 0x09 +#define LANG_ESTONIAN 0x25 +#define LANG_FAEROESE 0x38 +#define LANG_FARSI LANG_PERSIAN +#define LANG_FILIPINO 0x64 +#define LANG_FINNISH 0x0b +#define LANG_FRENCH 0x0c +#define LANG_FRISIAN 0x62 +#define LANG_GALICIAN 0x56 +#define LANG_GEORGIAN 0x37 +#define LANG_GERMAN 0x07 +#define LANG_GREEK 0x08 +#define LANG_GREENLANDIC 0x6f +#define LANG_GUJARATI 0x47 +#define LANG_HAUSA 0x68 +#define LANG_HEBREW 0x0d +#define LANG_HINDI 0x39 +#define LANG_HUNGARIAN 0x0e +#define LANG_ICELANDIC 0x0f +#define LANG_IGBO 0x70 +#define LANG_INDONESIAN 0x21 +#define LANG_INUKTITUT 0x5d +#define LANG_IRISH 0x3c +#define LANG_ITALIAN 0x10 +#define LANG_JAPANESE 0x11 +#define LANG_KANNADA 0x4b +#define LANG_KASHMIRI 0x60 +#define LANG_KAZAK 0x3f +#define LANG_KHMER 0x53 +#define LANG_KICHE 0x86 +#define LANG_KINYARWANDA 0x87 +#define LANG_KONKANI 0x57 +#define LANG_KOREAN 0x12 +#define LANG_KYRGYZ 0x40 +#define LANG_LAO 0x54 +#define LANG_LATVIAN 0x26 +#define LANG_LITHUANIAN 0x27 +#define LANG_LOWER_SORBIAN 0x2e +#define LANG_LUXEMBOURGISH 0x6e +#define LANG_MACEDONIAN 0x2f +#define LANG_MALAY 0x3e +#define LANG_MALAYALAM 0x4c +#define LANG_MALTESE 0x3a +#define LANG_MANIPURI 0x58 +#define LANG_MAORI 0x81 +#define LANG_MAPUDUNGUN 0x7a +#define LANG_MARATHI 0x4e +#define LANG_MOHAWK 0x7c +#define LANG_MONGOLIAN 0x50 +#define LANG_NEPALI 0x61 +#define LANG_NORWEGIAN 0x14 +#define LANG_OCCITAN 0x82 +#define LANG_ORIYA 0x48 +#define LANG_PASHTO 0x63 +#define LANG_PERSIAN 0x29 +#define LANG_POLISH 0x15 +#define LANG_PORTUGUESE 0x16 +#define LANG_PUNJABI 0x46 +#define LANG_QUECHUA 0x6b +#define LANG_ROMANIAN 0x18 +#define LANG_ROMANSH 0x17 +#define LANG_RUSSIAN 0x19 +#define LANG_SAMI 0x3b +#define LANG_SANSKRIT 0x4f +#define LANG_SCOTTISH_GAELIC 0x91 +#define LANG_SERBIAN 0x1a +#define LANG_SERBIAN_NEUTRAL 0x7c1a +#define LANG_SINDHI 0x59 +#define LANG_SINHALESE 0x5b +#define LANG_SLOVAK 0x1b +#define LANG_SLOVENIAN 0x24 +#define LANG_SOTHO 0x6c +#define LANG_SPANISH 0x0a +#define LANG_SWAHILI 0x41 +#define LANG_SWEDISH 0x1d +#define LANG_SYRIAC 0x5a +#define LANG_TAJIK 0x28 +#define LANG_TAMAZIGHT 0x5f +#define LANG_TAMIL 0x49 +#define LANG_TATAR 0x44 +#define LANG_TELUGU 0x4a +#define LANG_THAI 0x1e +#define LANG_TIBETAN 0x51 +#define LANG_TIGRIGNA 0x73 +#define LANG_TSWANA 0x32 +#define LANG_TURKISH 0x1f +#define LANG_TURKMEN 0x42 +#define LANG_UIGHUR 0x80 +#define LANG_UKRAINIAN 0x22 +#define LANG_UPPER_SORBIAN 0x2e +#define LANG_URDU 0x20 +#define LANG_UZBEK 0x43 +#define LANG_VIETNAMESE 0x2a +#define LANG_WELSH 0x52 +#define LANG_WOLOF 0x88 +#define LANG_XHOSA 0x34 +#define LANG_YAKUT 0x85 +#define LANG_YI 0x78 +#define LANG_YORUBA 0x6a +#define LANG_ZULU 0x35 + +/* These are documented by the MSDN but are missing from the Windows header */ +#define LANG_MALAGASY 0x8d + +/* FIXME: these are not defined anywhere */ +#define LANG_SUTU 0x30 +#define LANG_TSONGA 0x31 +#define LANG_VENDA 0x33 + +/* non standard; keep the number high enough (but < 0xff) */ +#define LANG_ESPERANTO 0x8f +#define LANG_WALON 0x90 +#define LANG_CORNISH 0x92 +#define LANG_MANX_GAELIC 0x94 + +/* Sublanguage definitions */ +#define SUBLANG_NEUTRAL 0x00 /* language neutral */ +#define SUBLANG_DEFAULT 0x01 /* user default */ +#define SUBLANG_SYS_DEFAULT 0x02 /* system default */ +#define SUBLANG_CUSTOM_DEFAULT 0x03 +#define SUBLANG_CUSTOM_UNSPECIFIED 0x04 +#define SUBLANG_UI_CUSTOM_DEFAULT 0x05 + +#define SUBLANG_AFRIKAANS_SOUTH_AFRICA 0x01 +#define SUBLANG_ALBANIAN_ALBANIA 0x01 +#define SUBLANG_ALSATIAN_FRANCE 0x01 +#define SUBLANG_AMHARIC_ETHIOPIA 0x01 +#define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 +#define SUBLANG_ARABIC_IRAQ 0x02 +#define SUBLANG_ARABIC_EGYPT 0x03 +#define SUBLANG_ARABIC_LIBYA 0x04 +#define SUBLANG_ARABIC_ALGERIA 0x05 +#define SUBLANG_ARABIC_MOROCCO 0x06 +#define SUBLANG_ARABIC_TUNISIA 0x07 +#define SUBLANG_ARABIC_OMAN 0x08 +#define SUBLANG_ARABIC_YEMEN 0x09 +#define SUBLANG_ARABIC_SYRIA 0x0a +#define SUBLANG_ARABIC_JORDAN 0x0b +#define SUBLANG_ARABIC_LEBANON 0x0c +#define SUBLANG_ARABIC_KUWAIT 0x0d +#define SUBLANG_ARABIC_UAE 0x0e +#define SUBLANG_ARABIC_BAHRAIN 0x0f +#define SUBLANG_ARABIC_QATAR 0x10 +#define SUBLANG_ARMENIAN_ARMENIA 0x01 +#define SUBLANG_ASSAMESE_INDIA 0x01 +#define SUBLANG_AZERI_LATIN 0x01 +#define SUBLANG_AZERI_CYRILLIC 0x02 +#define SUBLANG_BANGLA_BANGLADESH 0x02 +#define SUBLANG_BANGLA_INDIA 0x01 +#define SUBLANG_BASHKIR_RUSSIA 0x01 +#define SUBLANG_BASQUE_BASQUE 0x01 +#define SUBLANG_BELARUSIAN_BELARUS 0x01 +#define SUBLANG_BENGALI_INDIA 0x01 +#define SUBLANG_BENGALI_BANGLADESH 0x02 +#define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN 0x05 +#define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x08 +#define SUBLANG_BRETON_FRANCE 0x01 +#define SUBLANG_BULGARIAN_BULGARIA 0x01 +#define SUBLANG_CATALAN_CATALAN 0x01 +#define SUBLANG_CHINESE_TRADITIONAL 0x01 +#define SUBLANG_CHINESE_SIMPLIFIED 0x02 +#define SUBLANG_CHINESE_HONGKONG 0x03 +#define SUBLANG_CHINESE_SINGAPORE 0x04 +#define SUBLANG_CHINESE_MACAU 0x05 +#define SUBLANG_CORSICAN_FRANCE 0x01 +#define SUBLANG_CROATIAN_CROATIA 0x01 +#define SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN 0x04 +#define SUBLANG_CZECH_CZECH_REPUBLIC 0x01 +#define SUBLANG_DANISH_DENMARK 0x01 +#define SUBLANG_DARI_AFGHANISTAN 0x01 +#define SUBLANG_DIVEHI_MALDIVES 0x01 +#define SUBLANG_DUTCH 0x01 +#define SUBLANG_DUTCH_BELGIAN 0x02 +#define SUBLANG_ENGLISH_US 0x01 +#define SUBLANG_ENGLISH_UK 0x02 +#define SUBLANG_ENGLISH_AUS 0x03 +#define SUBLANG_ENGLISH_CAN 0x04 +#define SUBLANG_ENGLISH_NZ 0x05 +#define SUBLANG_ENGLISH_EIRE 0x06 +#define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 +#define SUBLANG_ENGLISH_JAMAICA 0x08 +#define SUBLANG_ENGLISH_CARIBBEAN 0x09 +#define SUBLANG_ENGLISH_BELIZE 0x0a +#define SUBLANG_ENGLISH_TRINIDAD 0x0b +#define SUBLANG_ENGLISH_ZIMBABWE 0x0c +#define SUBLANG_ENGLISH_PHILIPPINES 0x0d +#define SUBLANG_ENGLISH_INDIA 0x10 +#define SUBLANG_ENGLISH_MALAYSIA 0x11 +#define SUBLANG_ENGLISH_SINGAPORE 0x12 +#define SUBLANG_ESTONIAN_ESTONIA 0x01 +#define SUBLANG_FAEROESE_FAROE_ISLANDS 0x01 +#define SUBLANG_FILIPINO_PHILIPPINES 0x01 +#define SUBLANG_FINNISH_FINLAND 0x01 +#define SUBLANG_FRENCH 0x01 +#define SUBLANG_FRENCH_BELGIAN 0x02 +#define SUBLANG_FRENCH_CANADIAN 0x03 +#define SUBLANG_FRENCH_SWISS 0x04 +#define SUBLANG_FRENCH_LUXEMBOURG 0x05 +#define SUBLANG_FRENCH_MONACO 0x06 +#define SUBLANG_FRISIAN_NETHERLANDS 0x01 +#define SUBLANG_GALICIAN_GALICIAN 0x01 +#define SUBLANG_GEORGIAN_GEORGIA 0x01 +#define SUBLANG_GERMAN 0x01 +#define SUBLANG_GERMAN_SWISS 0x02 +#define SUBLANG_GERMAN_AUSTRIAN 0x03 +#define SUBLANG_GERMAN_LUXEMBOURG 0x04 +#define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 +#define SUBLANG_GREEK_GREECE 0x01 +#define SUBLANG_GREENLANDIC_GREENLAND 0x01 +#define SUBLANG_GUJARATI_INDIA 0x01 +#define SUBLANG_HAUSA_NIGERIA_LATIN 0x01 +#define SUBLANG_HEBREW_ISRAEL 0x01 +#define SUBLANG_HINDI_INDIA 0x01 +#define SUBLANG_HUNGARIAN_HUNGARY 0x01 +#define SUBLANG_ICELANDIC_ICELAND 0x01 +#define SUBLANG_IGBO_NIGERIA 0x01 +#define SUBLANG_INDONESIAN_INDONESIA 0x01 +#define SUBLANG_INUKTITUT_CANADA 0x01 +#define SUBLANG_INUKTITUT_CANADA_LATIN 0x02 +#define SUBLANG_IRISH_IRELAND 0x02 +#define SUBLANG_ITALIAN 0x01 +#define SUBLANG_ITALIAN_SWISS 0x02 +#define SUBLANG_JAPANESE_JAPAN 0x01 +#define SUBLANG_KANNADA_INDIA 0x01 +#define SUBLANG_KASHMIRI_SASIA 0x02 +#define SUBLANG_KASHMIRI_INDIA 0x02 +#define SUBLANG_KAZAK_KAZAKHSTAN 0x01 +#define SUBLANG_KHMER_CAMBODIA 0x01 +#define SUBLANG_KICHE_GUATEMALA 0x01 +#define SUBLANG_KINYARWANDA_RWANDA 0X01 +#define SUBLANG_KONKANI_INDIA 0x01 +#define SUBLANG_KOREAN 0x01 +#define SUBLANG_KYRGYZ_KYRGYZSTAN 0x01 +#define SUBLANG_LAO_LAO 0x01 +#define SUBLANG_LATVIAN_LATVIA 0x01 +#define SUBLANG_LITHUANIAN 0x01 +#define SUBLANG_LOWER_SORBIAN_GERMANY 0x02 +#define SUBLANG_LUXEMBOURGISH_LUXEMBOURG 0x01 +#define SUBLANG_MACEDONIAN_MACEDONIA 0x01 +#define SUBLANG_MALAY_MALAYSIA 0x01 +#define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 +#define SUBLANG_MALAYALAM_INDIA 0x01 +#define SUBLANG_MALTESE_MALTA 0x01 +#define SUBLANG_MAORI_NEW_ZEALAND 0x01 +#define SUBLANG_MAPUDUNGUN_CHILE 0x01 +#define SUBLANG_MARATHI_INDIA 0x01 +#define SUBLANG_MOHAWK_MOHAWK 0x01 +#define SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA 0x01 +#define SUBLANG_MONGOLIAN_PRC 0x02 +#define SUBLANG_NEPALI_INDIA 0x02 +#define SUBLANG_NEPALI_NEPAL 0x01 +#define SUBLANG_NORWEGIAN_BOKMAL 0x01 +#define SUBLANG_NORWEGIAN_NYNORSK 0x02 +#define SUBLANG_OCCITAN_FRANCE 0x01 +#define SUBLANG_ORIYA_INDIA 0x01 +#define SUBLANG_PASHTO_AFGHANISTAN 0x01 +#define SUBLANG_PERSIAN_IRAN 0x01 +#define SUBLANG_POLISH_POLAND 0x01 +#define SUBLANG_PORTUGUESE 0x02 +#define SUBLANG_PORTUGUESE_BRAZILIAN 0x01 +#define SUBLANG_PUNJABI_INDIA 0x01 +#define SUBLANG_QUECHUA_BOLIVIA 0x01 +#define SUBLANG_QUECHUA_ECUADOR 0x02 +#define SUBLANG_QUECHUA_PERU 0x03 +#define SUBLANG_ROMANIAN_ROMANIA 0x01 +#define SUBLANG_ROMANSH_SWITZERLAND 0x01 +#define SUBLANG_RUSSIAN_RUSSIA 0x01 +#define SUBLANG_SAMI_NORTHERN_NORWAY 0x01 +#define SUBLANG_SAMI_NORTHERN_SWEDEN 0x02 +#define SUBLANG_SAMI_NORTHERN_FINLAND 0x03 +#define SUBLANG_SAMI_LULE_NORWAY 0x04 +#define SUBLANG_SAMI_LULE_SWEDEN 0x05 +#define SUBLANG_SAMI_SOUTHERN_NORWAY 0x06 +#define SUBLANG_SAMI_SOUTHERN_SWEDEN 0x07 +#define SUBLANG_SAMI_SKOLT_FINLAND 0x08 +#define SUBLANG_SAMI_INARI_FINLAND 0x09 +#define SUBLANG_SANSKRIT_INDIA 0x01 +#define SUBLANG_SCOTTISH_GAELIC 0x01 +#define SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN 0x06 +#define SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x07 +#define SUBLANG_SERBIAN_CROATIA 0x01 +#define SUBLANG_SERBIAN_LATIN 0x02 +#define SUBLANG_SERBIAN_CYRILLIC 0x03 +#define SUBLANG_SERBIAN_SERBIA_LATIN 0x09 +#define SUBLANG_SERBIAN_SERBIA_CYRILLIC 0x0a +#define SUBLANG_SERBIAN_MONTENEGRO_LATIN 0x0b +#define SUBLANG_SERBIAN_MONTENEGRO_CYRILLIC 0x0c +#define SUBLANG_SINDHI_INDIA 0x01 +#define SUBLANG_SINDHI_AFGHANISTAN 0x02 +#define SUBLANG_SINDHI_PAKISTAN SUBLANG_SINDHI_AFGHANISTAN +#define SUBLANG_SINHALESE_SRI_LANKA 0x01 +#define SUBLANG_SLOVAK_SLOVAKIA 0x01 +#define SUBLANG_SLOVENIAN_SLOVENIA 0x01 +#define SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA 0x01 +#define SUBLANG_SPANISH 0x01 +#define SUBLANG_SPANISH_MEXICAN 0x02 +#define SUBLANG_SPANISH_MODERN 0x03 +#define SUBLANG_SPANISH_GUATEMALA 0x04 +#define SUBLANG_SPANISH_COSTA_RICA 0x05 +#define SUBLANG_SPANISH_PANAMA 0x06 +#define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 +#define SUBLANG_SPANISH_VENEZUELA 0x08 +#define SUBLANG_SPANISH_COLOMBIA 0x09 +#define SUBLANG_SPANISH_PERU 0x0a +#define SUBLANG_SPANISH_ARGENTINA 0x0b +#define SUBLANG_SPANISH_ECUADOR 0x0c +#define SUBLANG_SPANISH_CHILE 0x0d +#define SUBLANG_SPANISH_URUGUAY 0x0e +#define SUBLANG_SPANISH_PARAGUAY 0x0f +#define SUBLANG_SPANISH_BOLIVIA 0x10 +#define SUBLANG_SPANISH_EL_SALVADOR 0x11 +#define SUBLANG_SPANISH_HONDURAS 0x12 +#define SUBLANG_SPANISH_NICARAGUA 0x13 +#define SUBLANG_SPANISH_PUERTO_RICO 0x14 +#define SUBLANG_SPANISH_US 0x15 +#define SUBLANG_SWAHILI_KENYA 0x01 +#define SUBLANG_SWEDISH 0x01 +#define SUBLANG_SWEDISH_FINLAND 0x02 +#define SUBLANG_SYRIAC_SYRIA 0x01 +#define SUBLANG_TAJIK_TAJIKISTAN 0x01 +#define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02 +#define SUBLANG_TAMIL_INDIA 0x01 +#define SUBLANG_TATAR_RUSSIA 0x01 +#define SUBLANG_TELUGU_INDIA 0x01 +#define SUBLANG_THAI_THAILAND 0x01 +#define SUBLANG_TIBETAN_PRC 0x01 +#define SUBLANG_TIBETAN_BHUTAN 0x02 +#define SUBLANG_TIGRIGNA_ERITREA 0x02 +#define SUBLANG_TSWANA_SOUTH_AFRICA 0x01 +#define SUBLANG_TURKISH_TURKEY 0x01 +#define SUBLANG_TURKMEN_TURKMENISTAN 0x01 +#define SUBLANG_UIGHUR_PRC 0x01 +#define SUBLANG_UKRAINIAN_UKRAINE 0x01 +#define SUBLANG_UPPER_SORBIAN_GERMANY 0x01 +#define SUBLANG_URDU_PAKISTAN 0x01 +#define SUBLANG_URDU_INDIA 0x02 +#define SUBLANG_UZBEK_LATIN 0x01 +#define SUBLANG_UZBEK_CYRILLIC 0x02 +#define SUBLANG_VIETNAMESE_VIETNAM 0x01 +#define SUBLANG_WELSH_UNITED_KINGDOM 0x01 +#define SUBLANG_WOLOF_SENEGAL 0x01 +#define SUBLANG_XHOSA_SOUTH_AFRICA 0x01 +#define SUBLANG_YAKUT_RUSSIA 0x01 +#define SUBLANG_YI_PRC 0x01 +#define SUBLANG_YORUBA_NIGERIA 0x01 +#define SUBLANG_ZULU_SOUTH_AFRICA 0x01 + +/* These are documented by the MSDN but are missing from the Windows header */ +#define SUBLANG_ENGLISH_IRELAND SUBLANG_ENGLISH_EIRE +#define SUBLANG_HAUSA_NIGERIA SUBLANG_HAUSA_NIGERIA_LATIN +#define SUBLANG_LAO_LAO_PDR SUBLANG_LAO_LAO +#define SUBLANG_PORTUGUESE_PORTUGAL SUBLANG_PORTUGUESE +#define SUBLANG_SWAHILI SUBLANG_SWAHILI_KENYA +#define SUBLANG_SWEDISH_SWEDEN SUBLANG_SWEDISH +#define SUBLANG_SYRIAC SUBLANG_SYRIAC_SYRIA + +/* FIXME: these are not defined anywhere */ +#define SUBLANG_DUTCH_SURINAM 0x03 +#define SUBLANG_ROMANIAN_MOLDAVIA 0x02 +#define SUBLANG_RUSSIAN_MOLDAVIA 0x02 +#define SUBLANG_LITHUANIAN_CLASSIC 0x02 +#define SUBLANG_MANX_GAELIC 0x01 + + +/* + * Sort definitions + */ + +#define SORT_DEFAULT 0x0 +#define SORT_INVARIANT_MATH 0x1 +#define SORT_JAPANESE_XJIS 0x0 +#define SORT_JAPANESE_UNICODE 0x1 +#define SORT_JAPANESE_RADICALSTROKE 0x4 +#define SORT_CHINESE_BIG5 0x0 +#define SORT_CHINESE_PRCP 0x0 +#define SORT_CHINESE_UNICODE 0x1 +#define SORT_CHINESE_PRC 0x2 +#define SORT_CHINESE_BOPOMOFO 0x3 +#define SORT_CHINESE_RADICALSTROKE 0x4 +#define SORT_KOREAN_KSC 0x0 +#define SORT_KOREAN_UNICODE 0x1 +#define SORT_GERMAN_PHONE_BOOK 0x1 +#define SORT_HUNGARIAN_DEFAULT 0x0 +#define SORT_HUNGARIAN_TECHNICAL 0x1 +#define SORT_GEORGIAN_TRADITIONAL 0x0 +#define SORT_GEORGIAN_MODERN 0x1 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winperf.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winperf.h new file mode 100644 index 0000000..dce1a6d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winperf.h @@ -0,0 +1,91 @@ +/* + * Performance Monitor + * + * Copyright 2007 Hans Leidekker + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINPERF_ +#define _WINPERF_ + +#define PERF_SIZE_DWORD 0x00000000 +#define PERF_SIZE_LARGE 0x00000100 +#define PERF_SIZE_ZERO 0x00000200 +#define PERF_SIZE_VARIABLE_LEN 0x00000300 + +#define PERF_TYPE_NUMBER 0x00000000 +#define PERF_TYPE_COUNTER 0x00000400 +#define PERF_TYPE_TEXT 0x00000800 +#define PERF_TYPE_ZERO 0x00000C00 + +#define PERF_NUMBER_HEX 0x00000000 +#define PERF_NUMBER_DECIMAL 0x00010000 +#define PERF_NUMBER_DEC_1000 0x00020000 + +#define PERF_COUNTER_VALUE 0x00000000 +#define PERF_COUNTER_RATE 0x00010000 +#define PERF_COUNTER_FRACTION 0x00020000 +#define PERF_COUNTER_BASE 0x00030000 +#define PERF_COUNTER_ELAPSED 0x00040000 +#define PERF_COUNTER_QUEUELEN 0x00050000 +#define PERF_COUNTER_HISTOGRAM 0x00060000 +#define PERF_COUNTER_PRECISION 0x00070000 + +#define PERF_TEXT_UNICODE 0x00000000 +#define PERF_TEXT_ASCII 0x00010000 + +#define PERF_TIMER_TICK 0x00000000 +#define PERF_TIMER_100NS 0x00100000 +#define PERF_OBJECT_TIMER 0x00200000 + +#define PERF_DELTA_COUNTER 0x00400000 +#define PERF_DELTA_BASE 0x00800000 +#define PERF_INVERSE_COUNTER 0x01000000 +#define PERF_MULTI_COUNTER 0x02000000 + +#define PERF_DISPLAY_NO_SUFFIX 0x00000000 +#define PERF_DISPLAY_PER_SEC 0x10000000 +#define PERF_DISPLAY_PERCENT 0x20000000 +#define PERF_DISPLAY_SECONDS 0x30000000 +#define PERF_DISPLAY_NOSHOW 0x40000000 + +#define PERF_DETAIL_NOVICE 100 +#define PERF_DETAIL_ADVANCED 200 +#define PERF_DETAIL_EXPERT 300 +#define PERF_DETAIL_WIZARD 400 + +/* Performance data structure header + * returned in answer to HKEY_PERFORMANCE_DATA request + */ + +typedef struct _PERF_DATA_BLOCK { + WCHAR Signature[4]; + DWORD LittleEndian; + DWORD Version; + DWORD Revision; + DWORD TotalByteLength; + DWORD HeaderLength; + DWORD NumObjectTypes; + DWORD DefaultObject; + SYSTEMTIME SystemTime; + LARGE_INTEGER PerfTime; + LARGE_INTEGER PerfFreq; + LARGE_INTEGER PerfTime100nSec; + DWORD SystemNameLength; + DWORD SystemNameOffset; +} PERF_DATA_BLOCK, *PPERF_DATA_BLOCK, *LPPERF_DATA_BLOCK; + +#endif /* _WINPERF_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winreg.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winreg.h new file mode 100644 index 0000000..42b7725 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winreg.h @@ -0,0 +1,191 @@ +/* + * Win32 registry defines (see also winnt.h) + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINREG_H +#define __WINE_WINREG_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#define HKEY_CLASSES_ROOT ((HKEY)(LONG_PTR)(LONG)0x80000000) +#define HKEY_CURRENT_USER ((HKEY)(LONG_PTR)(LONG)0x80000001) +#define HKEY_LOCAL_MACHINE ((HKEY)(LONG_PTR)(LONG)0x80000002) +#define HKEY_USERS ((HKEY)(LONG_PTR)(LONG)0x80000003) +#define HKEY_PERFORMANCE_DATA ((HKEY)(LONG_PTR)(LONG)0x80000004) +#define HKEY_CURRENT_CONFIG ((HKEY)(LONG_PTR)(LONG)0x80000005) +#define HKEY_DYN_DATA ((HKEY)(LONG_PTR)(LONG)0x80000006) + +/* + * registry provider structs + */ +typedef struct value_entA +{ LPSTR ve_valuename; + DWORD ve_valuelen; + DWORD_PTR ve_valueptr; + DWORD ve_type; +} VALENTA, *PVALENTA; + +typedef struct value_entW { + LPWSTR ve_valuename; + DWORD ve_valuelen; + DWORD_PTR ve_valueptr; + DWORD ve_type; +} VALENTW, *PVALENTW; + +typedef ACCESS_MASK REGSAM; +typedef LONG LSTATUS; + +/* + * InitiateSystemShutdown() reasons + */ +#include + +#define REASON_OTHER (SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER) +#define REASON_UNKNOWN SHTDN_REASON_UNKNOWN +#define REASON_LEGACY_API SHTDN_REASON_LEGACY_API +#define REASON_PLANNED_FLAG SHTDN_REASON_FLAG_PLANNED + +#define MAX_SHUTDOWN_TIMEOUT (10*365*24*60*60) + +/* + * RegGetValue() restrictions + */ + +#define RRF_RT_REG_NONE (1 << 0) +#define RRF_RT_REG_SZ (1 << 1) +#define RRF_RT_REG_EXPAND_SZ (1 << 2) +#define RRF_RT_REG_BINARY (1 << 3) +#define RRF_RT_REG_DWORD (1 << 4) +#define RRF_RT_REG_MULTI_SZ (1 << 5) +#define RRF_RT_REG_QWORD (1 << 6) +#define RRF_RT_DWORD (RRF_RT_REG_BINARY | RRF_RT_REG_DWORD) +#define RRF_RT_QWORD (RRF_RT_REG_BINARY | RRF_RT_REG_QWORD) +#define RRF_RT_ANY 0xffff +#define RRF_NOEXPAND (1 << 28) +#define RRF_ZEROONFAILURE (1 << 29) + +WINADVAPI BOOL WINAPI AbortSystemShutdownA(LPSTR); +WINADVAPI BOOL WINAPI AbortSystemShutdownW(LPWSTR); +#define AbortSystemShutdown WINELIB_NAME_AW(AbortSystemShutdown) +WINADVAPI BOOL WINAPI InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL); +WINADVAPI BOOL WINAPI InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL); +#define InitiateSystemShutdown WINELIB_NAME_AW(InitiateSystemShutdown) +WINADVAPI BOOL WINAPI InitiateSystemShutdownExA(LPSTR,LPSTR,DWORD,BOOL,BOOL,DWORD); +WINADVAPI BOOL WINAPI InitiateSystemShutdownExW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL,DWORD); +#define InitiateSystemShutdownEx WINELIB_NAME_AW(InitiateSystemShutdownEx) +WINADVAPI LSTATUS WINAPI RegCloseKey(HKEY); +WINADVAPI LSTATUS WINAPI RegConnectRegistryA(LPCSTR,HKEY,PHKEY); +WINADVAPI LSTATUS WINAPI RegConnectRegistryW(LPCWSTR,HKEY,PHKEY); +#define RegConnectRegistry WINELIB_NAME_AW(RegConnectRegistry) +WINADVAPI LSTATUS WINAPI RegCreateKeyA(HKEY,LPCSTR,PHKEY); +WINADVAPI LSTATUS WINAPI RegCreateKeyW(HKEY,LPCWSTR,PHKEY); +#define RegCreateKey WINELIB_NAME_AW(RegCreateKey) +WINADVAPI LSTATUS WINAPI RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); +WINADVAPI LSTATUS WINAPI RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); +#define RegCreateKeyEx WINELIB_NAME_AW(RegCreateKeyEx) +WINADVAPI LSTATUS WINAPI RegDeleteKeyA(HKEY,LPCSTR); +WINADVAPI LSTATUS WINAPI RegDeleteKeyW(HKEY,LPCWSTR); +#define RegDeleteKey WINELIB_NAME_AW(RegDeleteKey) +WINADVAPI LSTATUS WINAPI RegDeleteKeyExA(HKEY,LPCSTR,REGSAM,DWORD); +WINADVAPI LSTATUS WINAPI RegDeleteKeyExW(HKEY,LPCWSTR,REGSAM,DWORD); +#define RegDeleteKeyEx WINELIB_NAME_AW(RegDeleteKeyEx) +WINADVAPI LSTATUS WINAPI RegDeleteKeyValueA(HKEY,LPCSTR,LPCSTR); +WINADVAPI LSTATUS WINAPI RegDeleteKeyValueW(HKEY,LPCWSTR,LPCWSTR); +#define RegDeleteKeyValue WINELIB_NAME_AW(RegDeleteKeyValue) +WINADVAPI LSTATUS WINAPI RegDeleteTreeA(HKEY,LPCSTR); +WINADVAPI LSTATUS WINAPI RegDeleteTreeW(HKEY,LPCWSTR); +#define RegDeleteTree WINELIB_NAME_AW(RegDeleteTree) +WINADVAPI LSTATUS WINAPI RegDeleteValueA(HKEY,LPCSTR); +WINADVAPI LSTATUS WINAPI RegDeleteValueW(HKEY,LPCWSTR); +#define RegDeleteValue WINELIB_NAME_AW(RegDeleteValue) +WINADVAPI LSTATUS WINAPI RegDisablePredefinedCache(void); +WINADVAPI LSTATUS WINAPI RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD); +WINADVAPI LSTATUS WINAPI RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD); +#define RegEnumKey WINELIB_NAME_AW(RegEnumKey) +WINADVAPI LSTATUS WINAPI RegEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPSTR,LPDWORD,LPFILETIME); +WINADVAPI LSTATUS WINAPI RegEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPWSTR,LPDWORD,LPFILETIME); +#define RegEnumKeyEx WINELIB_NAME_AW(RegEnumKeyEx) +WINADVAPI LSTATUS WINAPI RegEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +WINADVAPI LSTATUS WINAPI RegEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +#define RegEnumValue WINELIB_NAME_AW(RegEnumValue) +WINADVAPI LSTATUS WINAPI RegFlushKey(HKEY); +WINADVAPI LSTATUS WINAPI RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,LPDWORD); +WINADVAPI LSTATUS WINAPI RegGetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPDWORD,PVOID,LPDWORD); +WINADVAPI LSTATUS WINAPI RegGetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPDWORD,PVOID,LPDWORD); +#define RegGetValue WINELIB_NAME_AW(RegGetValue) +WINADVAPI LSTATUS WINAPI RegLoadKeyA(HKEY,LPCSTR,LPCSTR); +WINADVAPI LSTATUS WINAPI RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR); +#define RegLoadKey WINELIB_NAME_AW(RegLoadKey) +WINADVAPI LSTATUS WINAPI RegLoadMUIStringA(HKEY,LPCSTR,LPSTR,DWORD,LPDWORD,DWORD,LPCSTR); +WINADVAPI LSTATUS WINAPI RegLoadMUIStringW(HKEY,LPCWSTR,LPWSTR,DWORD,LPDWORD,DWORD,LPCWSTR); +#define RegLoadMUIString WINELIB_NAME_AW(RegLoadMUIString) +WINADVAPI LSTATUS WINAPI RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL); +WINADVAPI LSTATUS WINAPI RegOpenCurrentUser(REGSAM,PHKEY); +WINADVAPI LSTATUS WINAPI RegOpenKeyA(HKEY,LPCSTR,PHKEY); +WINADVAPI LSTATUS WINAPI RegOpenKeyW(HKEY,LPCWSTR,PHKEY); +#define RegOpenKey WINELIB_NAME_AW(RegOpenKey) +WINADVAPI LSTATUS WINAPI RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY); +WINADVAPI LSTATUS WINAPI RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY); +#define RegOpenKeyEx WINELIB_NAME_AW(RegOpenKeyEx) +WINADVAPI LSTATUS WINAPI RegOpenUserClassesRoot(HANDLE,DWORD,REGSAM,PHKEY); +WINADVAPI LSTATUS WINAPI RegOverridePredefKey(HKEY,HKEY); +WINADVAPI LSTATUS WINAPI RegQueryInfoKeyW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPFILETIME); +WINADVAPI LSTATUS WINAPI RegQueryInfoKeyA(HKEY,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPFILETIME); +#define RegQueryInfoKey WINELIB_NAME_AW(RegQueryInfoKey) +WINADVAPI LSTATUS WINAPI RegQueryMultipleValuesA(HKEY,PVALENTA,DWORD,LPSTR,LPDWORD); +WINADVAPI LSTATUS WINAPI RegQueryMultipleValuesW(HKEY,PVALENTW,DWORD,LPWSTR,LPDWORD); +#define RegQueryMultipleValues WINELIB_NAME_AW(RegQueryMultipleValues) +WINADVAPI LSTATUS WINAPI RegQueryValueA(HKEY,LPCSTR,LPSTR,LPLONG); +WINADVAPI LSTATUS WINAPI RegQueryValueW(HKEY,LPCWSTR,LPWSTR,LPLONG); +#define RegQueryValue WINELIB_NAME_AW(RegQueryValue) +WINADVAPI LSTATUS WINAPI RegQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +WINADVAPI LSTATUS WINAPI RegQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +#define RegQueryValueEx WINELIB_NAME_AW(RegQueryValueEx) +WINADVAPI LSTATUS WINAPI RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR); +WINADVAPI LSTATUS WINAPI RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR); +#define RegReplaceKey WINELIB_NAME_AW(RegReplaceKey) +WINADVAPI LSTATUS WINAPI RegRestoreKeyA(HKEY,LPCSTR,DWORD); +WINADVAPI LSTATUS WINAPI RegRestoreKeyW(HKEY,LPCWSTR,DWORD); +#define RegRestoreKey WINELIB_NAME_AW(RegRestoreKey) +WINADVAPI LSTATUS WINAPI RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES); +WINADVAPI LSTATUS WINAPI RegSaveKeyW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES); +#define RegSaveKey WINELIB_NAME_AW(RegSaveKey) +WINADVAPI LSTATUS WINAPI RegSaveKeyExA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES,DWORD); +WINADVAPI LSTATUS WINAPI RegSaveKeyExW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES,DWORD); +#define RegSaveKeyEx WINELIB_NAME_AW(RegSaveKeyEx) +WINADVAPI LSTATUS WINAPI RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +WINADVAPI LSTATUS WINAPI RegSetKeyValueA(HKEY,LPCSTR,LPCSTR,DWORD,const void*,DWORD); +WINADVAPI LSTATUS WINAPI RegSetKeyValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,const void*,DWORD); +WINADVAPI LSTATUS WINAPI RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); +WINADVAPI LSTATUS WINAPI RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); +#define RegSetValue WINELIB_NAME_AW(RegSetValue) +WINADVAPI LSTATUS WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD); +WINADVAPI LSTATUS WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE*,DWORD); +#define RegSetValueEx WINELIB_NAME_AW(RegSetValueEx) +WINADVAPI LSTATUS WINAPI RegUnLoadKeyA(HKEY,LPCSTR); +WINADVAPI LSTATUS WINAPI RegUnLoadKeyW(HKEY,LPCWSTR); +#define RegUnLoadKey WINELIB_NAME_AW(RegUnLoadKey) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_WINREG_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winresrc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winresrc.h new file mode 100644 index 0000000..2f99661 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winresrc.h @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2002 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINRESRC_ +#define _WINRESRC_ + +#ifndef WINVER +#define WINVER 0x0500 +#endif + +#ifndef _WIN32_IE +#define _WIN32_IE 0x0501 +#endif + +#ifndef _WIN32_WINDOWS +#define _WIN32_WINDOWS 0x0410 +#endif + +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0500 +#endif + +#include +#include +#include +#include +#include +#include + +#endif /* _WINRESRC_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsafer.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsafer.h new file mode 100644 index 0000000..4855f53 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsafer.h @@ -0,0 +1,80 @@ +/* + * Winsafer definitions + * + * Copyright (C) 2009 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINSAFER_H +#define __WINE_WINSAFER_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DECLARE_HANDLE(SAFER_LEVEL_HANDLE); + +#define SAFER_SCOPEID_MACHINE 1 +#define SAFER_SCOPEID_USER 2 + +#define SAFER_LEVELID_DISALLOWED 0x00000 +#define SAFER_LEVELID_UNTRUSTED 0x01000 +#define SAFER_LEVELID_CONSTRAINED 0x10000 +#define SAFER_LEVELID_NORMALUSER 0x20000 +#define SAFER_LEVELID_FULLYTRUSTED 0x40000 + +#define SAFER_LEVEL_OPEN 1 + +WINADVAPI BOOL WINAPI SaferCreateLevel(DWORD,DWORD,DWORD,SAFER_LEVEL_HANDLE*,LPVOID); + +typedef enum _SAFER_POLICY_INFO_CLASS { + SaferPolicyLevelList = 1, + SaferPolicyEnableTransparentEnforcement, + SaferPolicyDefaultLevel, + SaferPolicyEvaluateUserScope, + SaferPolicyScopeFlags +} SAFER_POLICY_INFO_CLASS; + +typedef enum _SAFER_OBJECT_INFO_CLASS { + SaferObjectLevelId = 1, + SaferObjectScopeId, + SaferObjectFriendlyName, + SaferObjectDescription, + SaferObjectBuiltin, + SaferObjectDisallowed, + SaferObjectDisableMaxPrivilege, + SaferObjectInvertDeletedPrivileges, + SaferObjectDeletedPrivileges, + SaferObjectDefaultOwner, + SaferObjectSidsToDisable, + SaferObjectRestrictedSidsInverted, + SaferObjectRestrictedSidsAdded, + SaferObjectAllIdentificationGuids, + SaferObjectSingleIdentification, + SaferObjectExtendedError +} SAFER_OBJECT_INFO_CLASS; + +WINADVAPI BOOL WINAPI SaferGetPolicyInformation(DWORD,SAFER_POLICY_INFO_CLASS,DWORD,PVOID,PDWORD,LPVOID); +WINADVAPI BOOL WINAPI SaferSetLevelInformation(SAFER_LEVEL_HANDLE,SAFER_OBJECT_INFO_CLASS,LPVOID,DWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINSAFER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winscard.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winscard.h new file mode 100644 index 0000000..fc729e2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winscard.h @@ -0,0 +1,155 @@ +/* + * Winscard definitions + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINSCARD_H +#define __WINE_WINSCARD_H + +#include +#include +#include +#include + +/* Valid scopes for contexts */ +#define SCARD_SCOPE_USER 0 +#define SCARD_SCOPE_TERMINAL 1 +#define SCARD_SCOPE_SYSTEM 2 + +#ifndef _LPCBYTE_DEFINED +#define _LPCBYTE_DEFINED +typedef const BYTE *LPCBYTE; +#endif + +typedef ULONG_PTR SCARDCONTEXT, *PSCARDCONTEXT, *LPSCARDCONTEXT; +typedef ULONG_PTR SCARDHANDLE, *PSCARDHANDLE, *LPSCARDHANDLE; + +typedef struct _SCARD_ATRMASK +{ + DWORD cbAtr; + BYTE rgbAtr[36]; + BYTE rgbMask[36]; +} SCARD_ATRMASK, *PSCARD_ATRMASK, *LPSCARD_ATRMASK; + +typedef struct +{ + LPCSTR szReader; + LPVOID pvUserData; + DWORD dwCurrentState; + DWORD dwEventState; + DWORD cbAtr; + BYTE rgbAtr[36]; +} SCARD_READERSTATEA, *PSCARD_READERSTATEA, *LPSCARD_READERSTATEA; +typedef struct +{ + LPCWSTR szReader; + LPVOID pvUserData; + DWORD dwCurrentState; + DWORD dwEventState; + DWORD cbAtr; + BYTE rgbAtr[36]; +} SCARD_READERSTATEW, *PSCARD_READERSTATEW, *LPSCARD_READERSTATEW; +DECL_WINELIB_TYPE_AW(SCARD_READERSTATE) +DECL_WINELIB_TYPE_AW(PSCARD_READERSTATE) +DECL_WINELIB_TYPE_AW(LPSCARD_READERSTATE) + + +#ifdef __cplusplus +extern "C" { +#endif + +HANDLE WINAPI SCardAccessStartedEvent(void); +LONG WINAPI SCardAddReaderToGroupA(SCARDCONTEXT,LPCSTR,LPCSTR); +LONG WINAPI SCardAddReaderToGroupW(SCARDCONTEXT,LPCWSTR,LPCWSTR); +#define SCardAddReaderToGroup WINELIB_NAME_AW(SCardAddReaderToGroup) +LONG WINAPI SCardBeginTransaction(SCARDHANDLE); +LONG WINAPI SCardCancel(SCARDCONTEXT); +LONG WINAPI SCardConnectA(SCARDCONTEXT,LPCSTR,DWORD,DWORD,LPSCARDHANDLE,LPDWORD); +LONG WINAPI SCardConnectW(SCARDCONTEXT,LPCWSTR,DWORD,DWORD,LPSCARDHANDLE,LPDWORD); +#define SCardConnect WINELIB_NAME_AW(SCardConnect) +LONG WINAPI SCardControl(SCARDHANDLE,DWORD,LPCVOID,DWORD,LPVOID,DWORD,LPDWORD); +LONG WINAPI SCardDisconnect(SCARDHANDLE,DWORD); +LONG WINAPI SCardEndTransaction(SCARDHANDLE,DWORD); +LONG WINAPI SCardEstablishContext(DWORD,LPCVOID,LPCVOID,LPSCARDCONTEXT); +LONG WINAPI SCardForgetCardTypeA(SCARDCONTEXT,LPCSTR); +LONG WINAPI SCardForgetCardTypeW(SCARDCONTEXT,LPCWSTR); +#define SCardForgetCardType WINELIB_NAME_AW(SCardForgetCardType) +LONG WINAPI SCardForgetReaderA(SCARDCONTEXT,LPCSTR); +LONG WINAPI SCardForgetReaderW(SCARDCONTEXT,LPCWSTR); +#define SCardForgetReader WINELIB_NAME_AW(SCardForgetReader) +LONG WINAPI SCardForgetReaderGroupA(SCARDCONTEXT,LPCSTR); +LONG WINAPI SCardForgetReaderGroupW(SCARDCONTEXT,LPCWSTR); +#define SCardForgetReaderGroup WINELIB_NAME_AW(SCardForgetReaderGroup) +LONG WINAPI SCardFreeMemory(SCARDCONTEXT,LPCVOID); +LONG WINAPI SCardGetAttrib(SCARDHANDLE,DWORD,LPBYTE,LPDWORD); +LONG WINAPI SCardGetCardTypeProviderNameA(SCARDCONTEXT,LPCSTR,DWORD,LPSTR,LPDWORD); +LONG WINAPI SCardGetCardTypeProviderNameW(SCARDCONTEXT,LPCWSTR,DWORD,LPWSTR,LPDWORD); +#define SCardGetCardTypeProviderName WINELIB_NAME_AW(SCardGetCardTypeProviderName) +LONG WINAPI SCardGetProviderIdA(SCARDCONTEXT,LPCSTR,LPGUID); +LONG WINAPI SCardGetProviderIdW(SCARDCONTEXT,LPCWSTR,LPGUID); +#define SCardGetProviderId WINELIB_NAME_AW(SCardGetProviderId) +LONG WINAPI SCardGetStatusChangeA(SCARDCONTEXT,DWORD,LPSCARD_READERSTATEA,DWORD); +LONG WINAPI SCardGetStatusChangeW(SCARDCONTEXT,DWORD,LPSCARD_READERSTATEW,DWORD); +#define SCardGetStatusChange WINELIB_NAME_AW(SCardGetStatusChange) +LONG WINAPI SCardIntroduceCardTypeA(SCARDCONTEXT,LPCSTR,LPCGUID,LPCGUID,DWORD,LPCBYTE,LPCBYTE,DWORD); +LONG WINAPI SCardIntroduceCardTypeW(SCARDCONTEXT,LPCWSTR,LPCGUID,LPCGUID,DWORD,LPCBYTE,LPCBYTE,DWORD); +#define SCardIntroduceCardType WINELIB_NAME_AW(SCardIntroduceCardType) +LONG WINAPI SCardIntroduceReaderA(SCARDCONTEXT,LPCSTR,LPCSTR); +LONG WINAPI SCardIntroduceReaderW(SCARDCONTEXT,LPCWSTR,LPCWSTR); +#define SCardIntroduceReader WINELIB_NAME_AW(SCardIntroduceReader) +LONG WINAPI SCardIntroduceReaderGroupA(SCARDCONTEXT,LPCSTR); +LONG WINAPI SCardIntroduceReaderGroupW(SCARDCONTEXT,LPCWSTR); +#define SCardIntroduceReaderGroup WINELIB_NAME_AW(SCardIntroduceReaderGroup) +LONG WINAPI SCardIsValidContext(SCARDCONTEXT); +LONG WINAPI SCardListCardsA(SCARDCONTEXT,LPCBYTE,LPCGUID,DWORD,LPSTR,LPDWORD); +LONG WINAPI SCardListCardsW(SCARDCONTEXT,LPCBYTE,LPCGUID,DWORD,LPWSTR,LPDWORD); +#define SCardListCards WINELIB_NAME_AW(SCardListCards) +LONG WINAPI SCardListInterfacesA(SCARDCONTEXT,LPCSTR,LPGUID,LPDWORD); +LONG WINAPI SCardListInterfacesW(SCARDCONTEXT,LPCWSTR,LPGUID,LPDWORD); +#define SCardListInterfaces WINELIB_NAME_AW(SCardListInterfaces) +LONG WINAPI SCardListReadersA(SCARDCONTEXT,const CHAR *,CHAR *,DWORD *); +LONG WINAPI SCardListReadersW(SCARDCONTEXT,const WCHAR *,WCHAR *,DWORD *); +#define SCardListReaders WINELIB_NAME_AW(SCardListReaders) +LONG WINAPI SCardListReaderGroupsA(SCARDCONTEXT,LPSTR,LPDWORD); +LONG WINAPI SCardListReaderGroupsW(SCARDCONTEXT,LPWSTR,LPDWORD); +#define SCardListReaderGroups WINELIB_NAME_AW(SCardListReaderGroups) +LONG WINAPI SCardLocateCardsA(SCARDCONTEXT,LPCSTR,LPSCARD_READERSTATEA,DWORD); +LONG WINAPI SCardLocateCardsW(SCARDCONTEXT,LPCWSTR,LPSCARD_READERSTATEW,DWORD); +#define SCardLocateCards WINELIB_NAME_AW(SCardLocateCards) +LONG WINAPI SCardLocateCardsByATRA(SCARDCONTEXT,LPSCARD_ATRMASK,DWORD,LPSCARD_READERSTATEA,DWORD); +LONG WINAPI SCardLocateCardsByATRW(SCARDCONTEXT,LPSCARD_ATRMASK,DWORD,LPSCARD_READERSTATEW,DWORD); +#define SCardLocateCardsByATR WINELIB_NAME_AW(SCardLocateCardsByATR) +LONG WINAPI SCardReconnect(SCARDHANDLE,DWORD,DWORD,DWORD,LPDWORD); +LONG WINAPI SCardReleaseContext(SCARDCONTEXT); +void WINAPI SCardReleaseStartedEvent(void); +LONG WINAPI SCardRemoveReaderFromGroupA(SCARDCONTEXT,LPCSTR,LPCSTR); +LONG WINAPI SCardRemoveReaderFromGroupW(SCARDCONTEXT,LPCWSTR,LPCWSTR); +#define SCardRemoveReaderFromGroup WINELIB_NAME_AW(SCardRemoveReaderFromGroup) +LONG WINAPI SCardSetAttrib(SCARDHANDLE,DWORD,LPCBYTE,DWORD); +LONG WINAPI SCardSetCardTypeProviderNameA(SCARDCONTEXT,LPCSTR,DWORD,LPCSTR); +LONG WINAPI SCardSetCardTypeProviderNameW(SCARDCONTEXT,LPCWSTR,DWORD,LPCWSTR); +#define SCardSetCardTypeProviderName WINELIB_NAME_AW(SCardSetCardTypeProviderName) +LONG WINAPI SCardState(SCARDHANDLE,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +LONG WINAPI SCardStatusA(SCARDHANDLE,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +LONG WINAPI SCardStatusW(SCARDHANDLE,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); +#define SCardStatus WINELIB_NAME_AW(SCardStatus) +LONG WINAPI SCardTransmit(SCARDHANDLE,LPCSCARD_IO_REQUEST,LPCBYTE,DWORD,LPSCARD_IO_REQUEST,LPBYTE,LPDWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINSCARD_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsmcrd.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsmcrd.h new file mode 100644 index 0000000..60fdd3e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsmcrd.h @@ -0,0 +1,37 @@ +/* + * Winscard definitions + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINSMCRD_H +#define __WINE_WINSMCRD_H + +#define SCARD_PROTOCOL_UNDEFINED 0x00000000 +#define SCARD_PROTOCOL_OPTIMAL 0x00000000 +#define SCARD_PROTOCOL_T0 0x00000001 +#define SCARD_PROTOCOL_T1 0x00000002 +#define SCARD_PROTOCOL_RAW 0x00010000 +#define SCARD_PROTOCOL_DEFAULT 0x80000000 +#define SCARD_PROTOCOL_Tx (SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1) + +typedef struct _SCARD_IO_REQUEST +{ + DWORD dwProtocol; + DWORD cbPciLength; +} SCARD_IO_REQUEST, *PSCARD_IO_REQUEST, *LPSCARD_IO_REQUEST; +typedef const SCARD_IO_REQUEST *LPCSCARD_IO_REQUEST; + +#endif /* __WINE_WINSMCRD_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsnmp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsnmp.h new file mode 100644 index 0000000..79a5e88 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsnmp.h @@ -0,0 +1,57 @@ +/* + * Copyright 2013 Hans Leidekker for CodeWeavers. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINSNMP_H +#define __WINE_WINSNMP_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef int smiINT, *smiLPINT; +typedef smiINT smiINT32, *smiLPINT32; +typedef unsigned int smiUINT32, *smiLPUINT32; +typedef smiUINT32 SNMPAPI_STATUS; +typedef HANDLE HSNMP_SESSION; + +#define SNMPAPI_NO_SUPPORT 0 +#define SNMPAPI_V1_SUPPORT 1 +#define SNMPAPI_V2_SUPPORT 2 +#define SNMPAPI_M2M_SUPPORT 3 + +#define SNMPAPI_TRANSLATED 0 +#define SNMPAPI_UNTRANSLATED_V1 1 +#define SNMPAPI_UNTRANSLATED_V2 2 + +#define SNMPAPI_OFF 0 +#define SNMPAPI_ON 1 + +#define SNMPAPI_FAILURE 0 +#define SNMPAPI_SUCCESS 1 + +SNMPAPI_STATUS WINAPI SnmpCleanup(void); +HSNMP_SESSION WINAPI SnmpOpen(HWND,UINT); +SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode(smiUINT32); +SNMPAPI_STATUS WINAPI SnmpSetTranslateMode(smiUINT32); +SNMPAPI_STATUS WINAPI SnmpStartup(smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINSNMP_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsock.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsock.h new file mode 100644 index 0000000..8bb067f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsock.h @@ -0,0 +1,1062 @@ +/* WINSOCK.H--definitions to be used with the WINSOCK.DLL + * + * This header file corresponds to version 1.1 of the Windows Sockets + * specification. + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifdef __WINESRC__ +# ifndef __WINE_WINSOCK2__ +# error Please use Winsock2 in Wine +# endif +#endif + +#ifndef __WINE_WINSOCKAPI_STDLIB_H +#define __WINE_WINSOCKAPI_STDLIB_H + +/* + * This section defines the items that conflict with the Unix headers. + */ +#ifndef USE_WS_PREFIX +/* We are not using the WS_ prefix we risk getting conflicts for + * everything related to select. + */ +# ifdef FD_CLR +/* Too late, the Unix version of stdlib.h was included before winsock.h. + * This means select and all the related stuff is already defined and we + * cannot override types and function prototypes. + * All we can do is disable all these symbols so that they are not used + * inadvertently. + */ +# include +# undef FD_SETSIZE +# undef FD_CLR +# undef FD_SET +# undef FD_ZERO +# undef FD_ISSET + +# define FD_SETSIZE Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# define FD_CLR Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# define FD_SET Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# define FD_ZERO Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# define FD_ISSET Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# define fd_set Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# define select Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library +# elif defined(RLIM_INFINITY) +/* On Darwin stdlib.h includes sys/resource.h which defines timeval but not the fd_set macros */ +# define fd_set unix_fd_set +# include +# include +# include +# undef fd_set +# undef FD_SETSIZE +# undef FD_CLR +# undef FD_SET +# undef FD_ZERO +# undef FD_ISSET +# define select Include_winsock_h_before_sys_types_h_or_use_the_MSVCRT_library +# define timeval Include_winsock_h_before_sys_types_h_or_use_the_MSVCRT_library +# else /* FD_CLR */ +/* stdlib.h has not been included yet so it's not too late. Include it now + * making sure that none of the select symbols is affected. Then we can + * define them with our own values. + */ +# define fd_set unix_fd_set +# define timeval unix_timeval +# define select unix_select +# define socklen_t unix_socklen_t +# define u_long unix_u_long +# include +# include +# include +# undef fd_set +# undef timeval +# undef select +# undef socklen_t +# undef u_long +# undef FD_SETSIZE +# undef FD_CLR +# undef FD_SET +# undef FD_ZERO +# undef FD_ISSET +# undef _TIMEVAL_DEFINED + +# define WS_DEFINE_SELECT +# endif /* FD_CLR */ + +#else +# define WS_DEFINE_SELECT +# include +# include +#endif /* !USE_WS_PREFIX */ + +#endif /* __WINE_WINSOCKAPI_STDLIB_H */ + +#include + +#ifndef _WINSOCKAPI_ +#define _WINSOCKAPI_ + +#include + +#ifdef USE_WS_PREFIX +typedef unsigned char WS_u_char; +typedef unsigned short WS_u_short; +typedef unsigned int WS_u_int; +typedef ULONG WS_u_long; +#elif (defined(_MSC_VER) || defined(__MINGW32__) || defined(__WATCOMC__)) && !defined(_BSDTYPES_DEFINED) +/* MinGW doesn't define the u_xxx types */ +typedef unsigned char u_char; +typedef unsigned short u_short; +typedef unsigned int u_int; +typedef ULONG u_long; +#define _BSDTYPES_DEFINED +#else +#define u_long ULONG /* make sure we don't use the system u_long */ +#endif + +#ifdef USE_WS_PREFIX +# define WS(x) WS_##x +#else +# define WS(x) x +#endif + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/* + * Address families + */ +#ifndef USE_WS_PREFIX +#define AF_UNSPEC 0 +#define AF_UNIX 1 +#define AF_INET 2 +#define AF_IMPLINK 3 +#define AF_PUP 4 +#define AF_CHAOS 5 +#define AF_NS 6 +#define AF_IPX AF_NS +#define AF_ISO 7 +#define AF_OSI AF_ISO +#define AF_ECMA 8 +#define AF_DATAKIT 9 +#define AF_CCITT 10 +#define AF_SNA 11 +#define AF_DECnet 12 +#define AF_DLI 13 +#define AF_LAT 14 +#define AF_HYLINK 15 +#define AF_APPLETALK 16 +#define AF_NETBIOS 17 +#define AF_VOICEVIEW 18 +#define AF_FIREFOX 19 +#define AF_UNKNOWN1 20 +#define AF_BAN 21 +#define AF_ATM 22 +#define AF_INET6 23 +#define AF_CLUSTER 24 +#define AF_12844 25 +#define AF_IRDA 26 +#define AF_MAX 27 +#define PF_UNSPEC AF_UNSPEC +#define PF_UNIX AF_UNIX +#define PF_INET AF_INET +#define PF_IMPLINK AF_IMPLINK +#define PF_PUP AF_PUP +#define PF_CHAOS AF_CHAOS +#define PF_NS AF_NS +#define PF_IPX AF_IPX +#define PF_ISO AF_ISO +#define PF_OSI AF_OSI +#define PF_ECMA AF_ECMA +#define PF_DATAKIT AF_DATAKIT +#define PF_CCITT AF_CCITT +#define PF_SNA AF_SNA +#define PF_DECnet AF_DECnet +#define PF_DLI AF_DLI +#define PF_LAT AF_LAT +#define PF_HYLINK AF_HYLINK +#define PF_APPLETALK AF_APPLETALK +#define PF_VOICEVIEW AF_VOICEVIEW +#define PF_FIREFOX AF_FIREFOX +#define PF_UNKNOWN1 AF_UNKNOWN1 +#define PF_BAN AF_BAN +#define PF_MAX AF_MAX +#else /* USE_WS_PREFIX */ +#define WS_AF_UNSPEC 0 +#define WS_AF_UNIX 1 +#define WS_AF_INET 2 +#define WS_AF_IMPLINK 3 +#define WS_AF_PUP 4 +#define WS_AF_CHAOS 5 +#define WS_AF_NS 6 +#define WS_AF_IPX WS_AF_NS +#define WS_AF_ISO 7 +#define WS_AF_OSI AF_ISO +#define WS_AF_ECMA 8 +#define WS_AF_DATAKIT 9 +#define WS_AF_CCITT 10 +#define WS_AF_SNA 11 +#define WS_AF_DECnet 12 +#define WS_AF_DLI 13 +#define WS_AF_LAT 14 +#define WS_AF_HYLINK 15 +#define WS_AF_APPLETALK 16 +#define WS_AF_NETBIOS 17 +#define WS_AF_VOICEVIEW 18 +#define WS_AF_FIREFOX 19 +#define WS_AF_UNKNOWN1 20 +#define WS_AF_BAN 21 +#define WS_AF_ATM 22 +#define WS_AF_INET6 23 +#define WS_AF_CLUSTER 24 +#define WS_AF_12844 25 +#define WS_AF_IRDA 26 +#define WS_AF_MAX 27 +#endif /* USE_WS_PREFIX */ + +/* + * Types + */ +#ifndef USE_WS_PREFIX +#define SOCK_STREAM 1 +#define SOCK_DGRAM 2 +#define SOCK_RAW 3 +#define SOCK_RDM 4 +#define SOCK_SEQPACKET 5 +#else /* USE_WS_PREFIX */ +#define WS_SOCK_STREAM 1 +#define WS_SOCK_DGRAM 2 +#define WS_SOCK_RAW 3 +#define WS_SOCK_RDM 4 +#define WS_SOCK_SEQPACKET 5 +#endif /* USE_WS_PREFIX */ + + +/* + * Protocols + */ +#ifndef USE_WS_PREFIX +#define IPPROTO_IP 0 +#define IPPROTO_ICMP 1 +#define IPPROTO_IGMP 2 +#define IPPROTO_GGP 3 +#define IPPROTO_TCP 6 +#define IPPROTO_UDP 17 +#define IPPROTO_IDP 22 +#define IPPROTO_IPV6 41 +#define IPPROTO_ICMPV6 58 +#define IPPROTO_ND 77 +#define IPPROTO_RAW 255 +#define IPPROTO_MAX 256 +#else /* USE_WS_PREFIX */ +#define WS_IPPROTO_IP 0 +#define WS_IPPROTO_ICMP 1 +#define WS_IPPROTO_IGMP 2 +#define WS_IPPROTO_GGP 3 +#define WS_IPPROTO_TCP 6 +#define WS_IPPROTO_UDP 17 +#define WS_IPPROTO_IDP 22 +#define WS_IPPROTO_IPV6 41 +#define WS_IPPROTO_ICMPV6 58 +#define WS_IPPROTO_ND 77 +#define WS_IPPROTO_RAW 255 +#define WS_IPPROTO_MAX 256 +#endif /* USE_WS_PREFIX */ + +typedef struct WS(protoent) +{ + char* p_name; + char** p_aliases; + short p_proto; +} PROTOENT, *PPROTOENT, *LPPROTOENT; + + + +/* + * Networks + */ +struct WS(netent) +{ + char* n_name; /* official name of net */ + char** n_aliases; /* alias list */ + short n_addrtype; /* net address type */ + ULONG n_net; /* network # */ +}; + + +/* + * Services + */ +#ifndef USE_WS_PREFIX +#define IPPORT_ECHO 7 +#define IPPORT_DISCARD 9 +#define IPPORT_SYSTAT 11 +#define IPPORT_DAYTIME 13 +#define IPPORT_NETSTAT 15 +#define IPPORT_FTP 21 +#define IPPORT_TELNET 23 +#define IPPORT_SMTP 25 +#define IPPORT_TIMESERVER 37 +#define IPPORT_NAMESERVER 42 +#define IPPORT_WHOIS 43 +#define IPPORT_MTP 57 +#define IPPORT_TFTP 69 +#define IPPORT_RJE 77 +#define IPPORT_FINGER 79 +#define IPPORT_TTYLINK 87 +#define IPPORT_SUPDUP 95 +#define IPPORT_EXECSERVER 512 +#define IPPORT_LOGINSERVER 513 +#define IPPORT_CMDSERVER 514 +#define IPPORT_EFSSERVER 520 +#define IPPORT_BIFFUDP 512 +#define IPPORT_WHOSERVER 513 +#define IPPORT_ROUTESERVER 520 +#define IPPORT_RESERVED 1024 +#else /* USE_WS_PREFIX */ +#define WS_IPPORT_ECHO 7 +#define WS_IPPORT_DISCARD 9 +#define WS_IPPORT_SYSTAT 11 +#define WS_IPPORT_DAYTIME 13 +#define WS_IPPORT_NETSTAT 15 +#define WS_IPPORT_FTP 21 +#define WS_IPPORT_TELNET 23 +#define WS_IPPORT_SMTP 25 +#define WS_IPPORT_TIMESERVER 37 +#define WS_IPPORT_NAMESERVER 42 +#define WS_IPPORT_WHOIS 43 +#define WS_IPPORT_MTP 57 +#define WS_IPPORT_TFTP 69 +#define WS_IPPORT_RJE 77 +#define WS_IPPORT_FINGER 79 +#define WS_IPPORT_TTYLINK 87 +#define WS_IPPORT_SUPDUP 95 +#define WS_IPPORT_EXECSERVER 512 +#define WS_IPPORT_LOGINSERVER 513 +#define WS_IPPORT_CMDSERVER 514 +#define WS_IPPORT_EFSSERVER 520 +#define WS_IPPORT_BIFFUDP 512 +#define WS_IPPORT_WHOSERVER 513 +#define WS_IPPORT_ROUTESERVER 520 +#define WS_IPPORT_RESERVED 1024 +#endif /* USE_WS_PREFIX */ + +typedef struct WS(servent) +{ + char* s_name; /* official service name */ + char** s_aliases; /* alias list */ +#ifdef _WIN64 + char* s_proto; /* protocol to use */ + short s_port; /* port # */ +#else + short s_port; /* port # */ + char* s_proto; /* protocol to use */ +#endif +} SERVENT, *PSERVENT, *LPSERVENT; + + + +/* + * Hosts + */ + +typedef struct WS(hostent) +{ + char* h_name; /* official name of host */ + char** h_aliases; /* alias list */ + short h_addrtype; /* host address type */ + short h_length; /* length of address */ + char** h_addr_list; /* list of addresses from name server */ +#define h_addr h_addr_list[0] /* address, for backward compat */ +} HOSTENT, *PHOSTENT, *LPHOSTENT; + + +/* + * Sockets + */ + +typedef UINT_PTR SOCKET; + +/* + * This is used instead of -1, since the + * SOCKET type is unsigned. + */ +#define INVALID_SOCKET (SOCKET)(~0) +#define SOCKET_ERROR (-1) + +typedef struct WS(sockaddr) +{ + WS(u_short) sa_family; + char sa_data[14]; +} SOCKADDR, *PSOCKADDR, *LPSOCKADDR; + +typedef struct WS(linger) +{ + WS(u_short) l_onoff; /* option on/off */ + WS(u_short) l_linger; /* linger time */ +} LINGER, *PLINGER, *LPLINGER; + +/* + * Select + */ + +#ifdef WS_DEFINE_SELECT +/* Define our own version of select and the associated types and macros */ + +# ifndef USE_WS_PREFIX +# ifndef FD_SETSIZE +# define FD_SETSIZE 64 +# endif +# else +# ifndef WS_FD_SETSIZE +# define WS_FD_SETSIZE 64 +# endif +# endif + +typedef struct WS(fd_set) +{ + WS(u_int) fd_count; /* how many are SET? */ +# ifndef USE_WS_PREFIX + SOCKET fd_array[FD_SETSIZE]; /* an array of SOCKETs */ +# else + SOCKET fd_array[WS_FD_SETSIZE];/* an array of SOCKETs */ +# endif +} WS(fd_set), FD_SET, *PFD_SET, *LPFD_SET; + +#ifndef _TIMEVAL_DEFINED +#define _TIMEVAL_DEFINED +typedef struct WS(timeval) +{ + LONG tv_sec; /* seconds */ + LONG tv_usec; /* and microseconds */ +} TIMEVAL, *PTIMEVAL, *LPTIMEVAL; +#endif + +#define __WS_FD_CLR(fd, set, cast) do { \ + unsigned int __i; \ + for (__i = 0; __i < ((cast*)(set))->fd_count ; __i++) \ + { \ + if (((cast*)(set))->fd_array[__i] == fd) \ + { \ + while (__i < ((cast*)(set))->fd_count-1) \ + { \ + ((cast*)(set))->fd_array[__i] = \ + ((cast*)(set))->fd_array[__i+1]; \ + __i++; \ + } \ + ((cast*)(set))->fd_count--; \ + break; \ + } \ + } \ +} while(0) +#define __WS_FD_SET1(fd, set, cast) do { \ + if (((cast*)(set))->fd_count < FD_SETSIZE) \ + ((cast*)(set))->fd_array[((cast*)(set))->fd_count++]=(fd); \ +} while(0) +/* This version checks if the filedesc is already in the list, and appends it + * only if it's not the case + */ +#define __WS_FD_SET2(fd, set, cast) do { \ + unsigned int __i; \ + for (__i = 0; __i < ((cast*)(set))->fd_count ; __i++) \ + { \ + if (((cast*)(set))->fd_array[__i]==(fd)) \ + break; \ + } \ + if (__i == ((cast*)(set))->fd_count && ((cast*)(set))->fd_count < FD_SETSIZE) \ + { \ + ((cast*)(set))->fd_count++; \ + ((cast*)(set))->fd_array[__i]=(fd);\ + } \ +} while(0) + +#ifndef __WINE_WINSOCK2__ +#define __WS_FD_SET(fd, set, cast) __WS_FD_SET1((fd),(set), cast) +#else +#define __WS_FD_SET(fd, set, cast) __WS_FD_SET2((fd),(set), cast) +#endif + +#ifndef USE_WS_PREFIX +#define FD_CLR(fd, set) __WS_FD_CLR((fd),(set), fd_set) +#define FD_SET(fd, set) __WS_FD_SET((fd),(set), fd_set) +#define FD_ZERO(set) (((fd_set*)(set))->fd_count=0) +#define FD_ISSET(fd, set) __WSAFDIsSet((SOCKET)(fd), (fd_set*)(set)) +#else +#define WS_FD_CLR(fd, set) __WS_FD_CLR((fd),(set), WS_fd_set) +#define WS_FD_SET(fd, set) __WS_FD_SET((fd),(set), WS_fd_set) +#define WS_FD_ZERO(set) (((WS_fd_set*)(set))->fd_count=0) +#define WS_FD_ISSET(fd, set) __WSAFDIsSet((SOCKET)(fd), (WS_fd_set*)(set)) +#endif + +int WINAPI __WSAFDIsSet(SOCKET,WS(fd_set)*); + +#endif /* WS_DEFINE_SELECT */ + +/* we have to define hton/ntoh as macros to avoid conflicts with Unix headers */ +#ifndef USE_WS_PREFIX + +#undef htonl +#undef htons +#undef ntohl +#undef ntohs + +#ifdef WORDS_BIGENDIAN + +static inline u_short __wine_ushort_noop(u_short s) +{ + return s; +} +static inline ULONG __wine_ulong_noop(ULONG l) +{ + return l; +} +#define htonl __wine_ulong_noop +#define htons __wine_ushort_noop +#define ntohl __wine_ulong_noop +#define ntohs __wine_ushort_noop + +#else /* WORDS_BIGENDIAN */ + +static inline u_short __wine_ushort_swap(u_short s) +{ + return (s >> 8) | (s << 8); +} +static inline ULONG __wine_ulong_swap(ULONG l) +{ + return ((ULONG)__wine_ushort_swap((u_short)l) << 16) | __wine_ushort_swap((u_short)(l >> 16)); +} +#define htonl __wine_ulong_swap +#define htons __wine_ushort_swap +#define ntohl __wine_ulong_swap +#define ntohs __wine_ushort_swap + +#endif /* WORDS_BIGENDIAN */ + +#endif /* USE_WS_PREFIX */ + +/* + * Internet address (old style... should be updated) + */ + +#ifndef USE_WS_PREFIX +#define IN_CLASSA_NSHIFT 24 +#define IN_CLASSA_MAX 128 +#define IN_CLASSA_NET 0xff000000 +#define IN_CLASSA_HOST 0x00ffffff +#define IN_CLASSA(i) (((LONG)(i) & 0x80000000) == 0) +#define IN_CLASSB_NSHIFT 16 +#define IN_CLASSB_MAX 65536 +#define IN_CLASSB_NET 0xffff0000 +#define IN_CLASSB_HOST 0x0000ffff +#define IN_CLASSB(i) (((LONG)(i) & 0xc0000000) == 0x80000000) +#define IN_CLASSC_NSHIFT 8 +#define IN_CLASSC_NET 0xffffff00 +#define IN_CLASSC_HOST 0x000000ff +#define IN_CLASSC(i) (((LONG)(i) & 0xe0000000) == 0xc0000000) +#else +#define WS_IN_CLASSA_NSHIFT 24 +#define WS_IN_CLASSA_MAX 128 +#define WS_IN_CLASSA_NET 0xff000000 +#define WS_IN_CLASSA_HOST 0x00ffffff +#define WS_IN_CLASSA(i) (((LONG)(i) & 0x80000000) == 0) +#define WS_IN_CLASSB_NSHIFT 16 +#define WS_IN_CLASSB_MAX 65536 +#define WS_IN_CLASSB_NET 0xffff0000 +#define WS_IN_CLASSB_HOST 0x0000ffff +#define WS_IN_CLASSB(i) (((LONG)(i) & 0xc0000000) == 0x80000000) +#define WS_IN_CLASSC_NSHIFT 8 +#define WS_IN_CLASSC_NET 0xffffff00 +#define WS_IN_CLASSC_HOST 0x000000ff +#define WS_IN_CLASSC(i) (((LONG)(i) & 0xe0000000) == 0xc0000000) +#endif /* USE_WS_PREFIX */ + +#ifndef USE_WS_PREFIX +#define INADDR_ANY ((ULONG)0x00000000) +#define INADDR_LOOPBACK 0x7f000001 +#define INADDR_BROADCAST ((ULONG)0xffffffff) +#define INADDR_NONE 0xffffffff +#else +#define WS_INADDR_ANY ((ULONG)0x00000000) +#define WS_INADDR_LOOPBACK 0x7f000001 +#define WS_INADDR_BROADCAST ((ULONG)0xffffffff) +#define WS_INADDR_NONE 0xffffffff +#endif /* USE_WS_PREFIX */ + +typedef struct WS(sockaddr_in) +{ + short sin_family; + WS(u_short) sin_port; + struct WS(in_addr) sin_addr; + char sin_zero[8]; +} SOCKADDR_IN, *PSOCKADDR_IN, *LPSOCKADDR_IN; + +/* + * Multicast group information + */ + +#if !defined(__WINE_WINSOCK2__) +struct WS(ip_mreq) +{ + struct WS(in_addr) imr_multiaddr; + struct WS(in_addr) imr_interface; +}; +#endif + +/* + * WSAStartup + */ +#define WSADESCRIPTION_LEN 256 +#define WSASYS_STATUS_LEN 128 + +typedef struct WS(WSAData) +{ + WORD wVersion; + WORD wHighVersion; +#ifdef _WIN64 + WORD iMaxSockets; + WORD iMaxUdpDg; + char *lpVendorInfo; + char szDescription[WSADESCRIPTION_LEN+1]; + char szSystemStatus[WSASYS_STATUS_LEN+1]; +#else + char szDescription[WSADESCRIPTION_LEN+1]; + char szSystemStatus[WSASYS_STATUS_LEN+1]; + WORD iMaxSockets; + WORD iMaxUdpDg; + char *lpVendorInfo; +#endif +} WSADATA, *LPWSADATA; + + + +/* + * {get,set}sockopt + */ +#ifndef USE_WS_PREFIX +#define SOL_SOCKET 0xffff +#define SO_DEBUG 0x0001 +#define SO_ACCEPTCONN 0x0002 +#define SO_REUSEADDR 0x0004 +#define SO_EXCLUSIVEADDRUSE ((u_int)(~SO_REUSEADDR)) +#define SO_KEEPALIVE 0x0008 +#define SO_DONTROUTE 0x0010 +#define SO_BROADCAST 0x0020 +#define SO_USELOOPBACK 0x0040 +#define SO_LINGER 0x0080 +#define SO_OOBINLINE 0x0100 +#define SO_DONTLINGER ((u_int)(~SO_LINGER)) +#define SO_SNDBUF 0x1001 +#define SO_RCVBUF 0x1002 +#define SO_SNDLOWAT 0x1003 +#define SO_RCVLOWAT 0x1004 +#define SO_SNDTIMEO 0x1005 +#define SO_RCVTIMEO 0x1006 +#define SO_ERROR 0x1007 +#define SO_TYPE 0x1008 +#define SO_BSP_STATE 0x1009 + + +#define IOCPARM_MASK 0x7f +#define IOC_VOID 0x20000000 +#define IOC_OUT 0x40000000 +#define IOC_IN 0x80000000 +#define IOC_INOUT (IOC_IN|IOC_OUT) + +#define _IO(x,y) (IOC_VOID|((x)<<8)|(y)) +#define _IOR(x,y,t) (IOC_OUT|(((UINT)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y)) +#define _IOW(x,y,t) (IOC_IN|(((UINT)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y)) + +#else + +#define WS_SOL_SOCKET 0xffff +#define WS_SO_DEBUG 0x0001 +#define WS_SO_ACCEPTCONN 0x0002 +#define WS_SO_REUSEADDR 0x0004 +#define WS_SO_EXCLUSIVEADDRUSE ((WS_u_int)(~WS_SO_REUSEADDR)) +#define WS_SO_KEEPALIVE 0x0008 +#define WS_SO_DONTROUTE 0x0010 +#define WS_SO_BROADCAST 0x0020 +#define WS_SO_USELOOPBACK 0x0040 +#define WS_SO_LINGER 0x0080 +#define WS_SO_OOBINLINE 0x0100 +#define WS_SO_DONTLINGER ((WS_u_int)(~WS_SO_LINGER)) +#define WS_SO_SNDBUF 0x1001 +#define WS_SO_RCVBUF 0x1002 +#define WS_SO_SNDLOWAT 0x1003 +#define WS_SO_RCVLOWAT 0x1004 +#define WS_SO_SNDTIMEO 0x1005 +#define WS_SO_RCVTIMEO 0x1006 +#define WS_SO_ERROR 0x1007 +#define WS_SO_TYPE 0x1008 +#define WS_SO_BSP_STATE 0x1009 + +#define WS_IOCPARM_MASK 0x7f +#define WS_IOC_VOID 0x20000000 +#define WS_IOC_OUT 0x40000000 +#define WS_IOC_IN 0x80000000 +#define WS_IOC_INOUT (WS_IOC_IN|WS_IOC_OUT) + +#define WS__IO(x,y) (WS_IOC_VOID|((x)<<8)|(y)) +#define WS__IOR(x,y,t) (WS_IOC_OUT|(((LONG)sizeof(t)&WS_IOCPARM_MASK)<<16)|((x)<<8)|(y)) +#define WS__IOW(x,y,t) (WS_IOC_IN|(((LONG)sizeof(t)&WS_IOCPARM_MASK)<<16)|((x)<<8)|(y)) + +#endif + +/* IPPROTO_TCP options */ +#ifndef USE_WS_PREFIX +#define TCP_NODELAY 1 +#else +#define WS_TCP_NODELAY 1 +#endif + +/* IPPROTO_IP options */ +#ifndef __WINE_WINSOCK2__ /* WinSock2 has different values for the IP_ constants */ +# ifndef USE_WS_PREFIX +# define IP_OPTIONS 1 +# define IP_MULTICAST_IF 2 +# define IP_MULTICAST_TTL 3 +# define IP_MULTICAST_LOOP 4 +# define IP_ADD_MEMBERSHIP 5 +# define IP_DROP_MEMBERSHIP 6 +# define IP_TTL 7 +# define IP_TOS 8 +# define IP_DONTFRAGMENT 9 +# define IP_RECEIVE_BROADCAST 22 +# else +# define WS_IP_OPTIONS 1 +# define WS_IP_MULTICAST_IF 2 +# define WS_IP_MULTICAST_TTL 3 +# define WS_IP_MULTICAST_LOOP 4 +# define WS_IP_ADD_MEMBERSHIP 5 +# define WS_IP_DROP_MEMBERSHIP 6 +# define WS_IP_TTL 7 +# define WS_IP_TOS 8 +# define WS_IP_DONTFRAGMENT 9 +# define WS_IP_RECEIVE_BROADCAST 22 +# endif +#endif + + +/* + * Socket I/O flags (supported by spec 1.1) + */ +#ifndef USE_WS_PREFIX +#define FIONREAD _IOR('f', 127, ULONG) +#define FIONBIO _IOW('f', 126, ULONG) +#define FIOASYNC _IOW('f', 125, ULONG) +#define SIOCSHIWAT _IOW('s', 0, ULONG) +#define SIOCGHIWAT _IOR('s', 1, ULONG) +#define SIOCSLOWAT _IOW('s', 2, ULONG) +#define SIOCGLOWAT _IOR('s', 3, ULONG) +#define SIOCATMARK _IOR('s', 7, ULONG) +#else +#define WS_FIONREAD WS__IOR('f', 127, ULONG) +#define WS_FIONBIO WS__IOW('f', 126, ULONG) +#define WS_FIOASYNC WS__IOW('f', 125, ULONG) +#define WS_SIOCSHIWAT WS__IOW('s', 0, ULONG) +#define WS_SIOCGHIWAT WS__IOR('s', 1, ULONG) +#define WS_SIOCSLOWAT WS__IOW('s', 2, ULONG) +#define WS_SIOCGLOWAT WS__IOR('s', 3, ULONG) +#define WS_SIOCATMARK WS__IOR('s', 7, ULONG) +#endif + +/* + * Maximum queue length specifiable by listen. + */ +#ifndef USE_WS_PREFIX +#define SOMAXCONN 5 + +#define MSG_OOB 0x0001 +#define MSG_PEEK 0x0002 +#define MSG_DONTROUTE 0x0004 +#define MSG_WAITALL 0x0008 +#define MSG_INTERRUPT 0x0010 +#define MSG_PARTIAL 0x8000 +#define MSG_MAXIOVLEN 16 +#else /* USE_WS_PREFIX */ +#define WS_SOMAXCONN 5 + +#define WS_MSG_OOB 0x0001 +#define WS_MSG_PEEK 0x0002 +#define WS_MSG_DONTROUTE 0x0004 +#define WS_MSG_WAITALL 0x0008 +#define WS_MSG_INTERRUPT 0x0010 +#define WS_MSG_PARTIAL 0x8000 +#define WS_MSG_MAXIOVLEN 16 +#endif /* USE_WS_PREFIX */ + +/* + * Define constant based on rfc883, used by gethostbyxxxx() calls. + */ +#ifndef USE_WS_PREFIX +#define MAXGETHOSTSTRUCT 1024 +#else +#define MAXGETHOSTSTRUCT 1024 +#endif + + +/* + * Define flags to be used with the WSAAsyncSelect() call. + */ +#define FD_READ 0x00000001 +#define FD_WRITE 0x00000002 +#define FD_OOB 0x00000004 +#define FD_ACCEPT 0x00000008 +#define FD_CONNECT 0x00000010 +#define FD_CLOSE 0x00000020 + +/* internal per-socket flags */ +#ifdef __WINESRC__ +#define FD_WINE_LISTENING 0x10000000 +#define FD_WINE_NONBLOCKING 0x20000000 +#define FD_WINE_CONNECTED 0x40000000 +#define FD_WINE_RAW 0x80000000 +#define FD_WINE_INTERNAL 0xFFFF0000 +#endif + +/* + * All Windows Sockets error constants are biased by WSABASEERR from + * the "normal". They are also defined in winerror.h. + */ +#define WSABASEERR 10000 +/* + * Windows Sockets definitions of regular Microsoft C error constants + */ +#define WSAEINTR (WSABASEERR+4) +#define WSAEBADF (WSABASEERR+9) +#define WSAEACCES (WSABASEERR+13) +#define WSAEFAULT (WSABASEERR+14) +#define WSAEINVAL (WSABASEERR+22) +#define WSAEMFILE (WSABASEERR+24) + +/* + * Windows Sockets definitions of regular Berkeley error constants + */ +#define WSAEWOULDBLOCK (WSABASEERR+35) +#define WSAEINPROGRESS (WSABASEERR+36) +#define WSAEALREADY (WSABASEERR+37) +#define WSAENOTSOCK (WSABASEERR+38) +#define WSAEDESTADDRREQ (WSABASEERR+39) +#define WSAEMSGSIZE (WSABASEERR+40) +#define WSAEPROTOTYPE (WSABASEERR+41) +#define WSAENOPROTOOPT (WSABASEERR+42) +#define WSAEPROTONOSUPPORT (WSABASEERR+43) +#define WSAESOCKTNOSUPPORT (WSABASEERR+44) +#define WSAEOPNOTSUPP (WSABASEERR+45) +#define WSAEPFNOSUPPORT (WSABASEERR+46) +#define WSAEAFNOSUPPORT (WSABASEERR+47) +#define WSAEADDRINUSE (WSABASEERR+48) +#define WSAEADDRNOTAVAIL (WSABASEERR+49) +#define WSAENETDOWN (WSABASEERR+50) +#define WSAENETUNREACH (WSABASEERR+51) +#define WSAENETRESET (WSABASEERR+52) +#define WSAECONNABORTED (WSABASEERR+53) +#define WSAECONNRESET (WSABASEERR+54) +#define WSAENOBUFS (WSABASEERR+55) +#define WSAEISCONN (WSABASEERR+56) +#define WSAENOTCONN (WSABASEERR+57) +#define WSAESHUTDOWN (WSABASEERR+58) +#define WSAETOOMANYREFS (WSABASEERR+59) +#define WSAETIMEDOUT (WSABASEERR+60) +#define WSAECONNREFUSED (WSABASEERR+61) +#define WSAELOOP (WSABASEERR+62) +#define WSAENAMETOOLONG (WSABASEERR+63) +#define WSAEHOSTDOWN (WSABASEERR+64) +#define WSAEHOSTUNREACH (WSABASEERR+65) +#define WSAENOTEMPTY (WSABASEERR+66) +#define WSAEPROCLIM (WSABASEERR+67) +#define WSAEUSERS (WSABASEERR+68) +#define WSAEDQUOT (WSABASEERR+69) +#define WSAESTALE (WSABASEERR+70) +#define WSAEREMOTE (WSABASEERR+71) + +/* + * Extended Windows Sockets error constant definitions + */ +#define WSASYSNOTREADY (WSABASEERR+91) +#define WSAVERNOTSUPPORTED (WSABASEERR+92) +#define WSANOTINITIALISED (WSABASEERR+93) +#define WSAEDISCON (WSABASEERR+101) +#define WSAENOMORE (WSABASEERR+102) +#define WSAECANCELLED (WSABASEERR+103) +#define WSAEINVALIDPROCTABLE (WSABASEERR+104) +#define WSAEINVALIDPROVIDER (WSABASEERR+105) +#define WSAEPROVIDERFAILEDINIT (WSABASEERR+106) +#define WSASYSCALLFAILURE (WSABASEERR+107) +#define WSASERVICE_NOT_FOUND (WSABASEERR+108) +#define WSATYPE_NOT_FOUND (WSABASEERR+109) +#define WSA_E_NO_MORE (WSABASEERR+110) +#define WSA_E_CANCELLED (WSABASEERR+111) +#define WSAEREFUSED (WSABASEERR+112) + +/* + * Error return codes from gethostbyname() and gethostbyaddr() + * (when using the resolver). Note that these errors are + * retrieved via WSAGetLastError() and must therefore follow + * the rules for avoiding clashes with error numbers from + * specific implementations or language run-time systems. + * For this reason the codes are based at WSABASEERR+1001. + * Note also that [WSA]NO_ADDRESS is defined only for + * compatibility purposes. + */ + +#ifndef USE_WS_PREFIX +#define h_errno WSAGetLastError() +#else +#define WS_h_errno WSAGetLastError() +#endif + +/* Authoritative Answer: Host not found */ +#define WSAHOST_NOT_FOUND (WSABASEERR+1001) + +/* Non-Authoritative: Host not found, or SERVERFAIL */ +#define WSATRY_AGAIN (WSABASEERR+1002) + +/* Non recoverable errors, FORMERR, REFUSED, NOTIMP */ +#define WSANO_RECOVERY (WSABASEERR+1003) + +/* Valid name, no data record of requested type */ +#define WSANO_DATA (WSABASEERR+1004) + +/* no address, look for MX record */ +#define WSANO_ADDRESS WSANO_DATA + +#ifndef USE_WS_PREFIX +#define HOST_NOT_FOUND WSAHOST_NOT_FOUND +#define TRY_AGAIN WSATRY_AGAIN +#define NO_RECOVERY WSANO_RECOVERY +#define NO_DATA WSANO_DATA +#define NO_ADDRESS WSANO_ADDRESS +#endif /* USE_WS_PREFIX */ + + + +/* + * Windows message parameter composition and decomposition + * macros. + */ + +/* + * WSAMAKEASYNCREPLY is intended for use by the Windows Sockets implementation + * when constructing the response to a WSAAsyncGetXByY() routine. + */ +#define WSAMAKEASYNCREPLY(buflen,error) MAKELONG(buflen,error) +/* + * WSAMAKESELECTREPLY is intended for use by the Windows Sockets implementation + * when constructing the response to WSAAsyncSelect(). + */ +#define WSAMAKESELECTREPLY(event,error) MAKELONG(event,error) +/* + * WSAGETASYNCBUFLEN is intended for use by the Windows Sockets application + * to extract the buffer length from the lParam in the response + * to a WSAGetXByY(). + */ +#define WSAGETASYNCBUFLEN(lParam) LOWORD(lParam) +/* + * WSAGETASYNCERROR is intended for use by the Windows Sockets application + * to extract the error code from the lParam in the response + * to a WSAGetXByY(). + */ +#define WSAGETASYNCERROR(lParam) HIWORD(lParam) +/* + * WSAGETSELECTEVENT is intended for use by the Windows Sockets application + * to extract the event code from the lParam in the response + * to a WSAAsyncSelect(). + */ +#define WSAGETSELECTEVENT(lParam) LOWORD(lParam) +/* + * WSAGETSELECTERROR is intended for use by the Windows Sockets application + * to extract the error code from the lParam in the response + * to a WSAAsyncSelect(). + */ +#define WSAGETSELECTERROR(lParam) HIWORD(lParam) + + + +/* + * Prototypes + * + * Remember to keep this section in sync with the + * "Winsock Function Typedefs" section in winsock2.h. + */ +#if !defined(__WINE_WINSOCK2__) || WS_API_PROTOTYPES +HANDLE WINAPI WSAAsyncGetHostByAddr(HWND,WS(u_int),const char*,int,int,char*,int); +HANDLE WINAPI WSAAsyncGetHostByName(HWND,WS(u_int),const char*,char*,int); +HANDLE WINAPI WSAAsyncGetProtoByName(HWND,WS(u_int),const char*,char*,int); +HANDLE WINAPI WSAAsyncGetProtoByNumber(HWND,WS(u_int),int,char*,int); +HANDLE WINAPI WSAAsyncGetServByName(HWND,WS(u_int),const char*,const char*,char*,int); +HANDLE WINAPI WSAAsyncGetServByPort(HWND,WS(u_int),int,const char*,char*,int); +int WINAPI WSAAsyncSelect(SOCKET,HWND,WS(u_int),LONG); +int WINAPI WSACancelAsyncRequest(HANDLE); +int WINAPI WSACancelBlockingCall(void); +int WINAPI WSACleanup(void); +int WINAPI WSAGetLastError(void); +BOOL WINAPI WSAIsBlocking(void); +FARPROC WINAPI WSASetBlockingHook(FARPROC); +void WINAPI WSASetLastError(int); +int WINAPI WSAStartup(WORD,LPWSADATA); +int WINAPI WSAUnhookBlockingHook(void); + +SOCKET WINAPI WS(accept)(SOCKET,struct WS(sockaddr)*,int*); +int WINAPI WS(bind)(SOCKET,const struct WS(sockaddr)*,int); +int WINAPI WS(closesocket)(SOCKET); +int WINAPI WS(connect)(SOCKET,const struct WS(sockaddr)*,int); +struct WS(hostent)* WINAPI WS(gethostbyaddr)(const char*,int,int); +struct WS(hostent)* WINAPI WS(gethostbyname)(const char*); +int WINAPI WS(getpeername)(SOCKET,struct WS(sockaddr)*,int*); +struct WS(protoent)* WINAPI WS(getprotobyname)(const char*); +struct WS(protoent)* WINAPI WS(getprotobynumber)(int); +#ifdef WS_DEFINE_SELECT +int WINAPI WS(select)(int,WS(fd_set)*,WS(fd_set)*,WS(fd_set)*,const struct WS(timeval)*); +#endif +struct WS(servent)* WINAPI WS(getservbyname)(const char*,const char*); +struct WS(servent)* WINAPI WS(getservbyport)(int,const char*); +int WINAPI WS(getsockname)(SOCKET,struct WS(sockaddr)*,int*); +int WINAPI WS(getsockopt)(SOCKET,int,int,char*,int*); +ULONG WINAPI WS(inet_addr)(const char*); +char* WINAPI WS(inet_ntoa)(struct WS(in_addr)); +int WINAPI WS(ioctlsocket)(SOCKET,LONG,ULONG*); +int WINAPI WS(listen)(SOCKET,int); +int WINAPI WS(recv)(SOCKET,char*,int,int); +int WINAPI WS(recvfrom)(SOCKET,char*,int,int,struct WS(sockaddr)*,int*); +int WINAPI WS(send)(SOCKET,const char*,int,int); +int WINAPI WS(sendto)(SOCKET,const char*,int,int,const struct WS(sockaddr)*,int); +int WINAPI WS(setsockopt)(SOCKET,int,int,const char*,int); +int WINAPI WS(shutdown)(SOCKET,int); +SOCKET WINAPI WS(socket)(int,int,int); + +#if defined(__MINGW32__) || defined (_MSC_VER) +/* gethostname is not defined on Unix because of conflicts with unistd.h */ +int WINAPI WS(gethostname)(char*,int); +#endif + +#endif /* !defined(__WINE_WINSOCK2__) || WS_API_PROTOTYPES */ + +#ifdef __cplusplus +} +#endif + +#ifndef __WINE_WINSOCK2__ +#undef WS +#undef WS_API_PROTOTYPES +#undef WS_API_TYPEDEFS +#endif + +#endif /* _WINSOCKAPI_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsock2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsock2.h new file mode 100644 index 0000000..a2563f4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsock2.h @@ -0,0 +1,846 @@ +/* + * Winsock 2 definitions - used for ws2_32.dll + * + * Copyright (C) 1999 Ove Kaaven + * Copyright (C) 2001 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * FIXME: Still missing required Winsock 2 definitions. + */ + +#ifndef _WINSOCK2API_ +#define _WINSOCK2API_ + +/* + * Setup phase + */ + +/* Everything common between winsock.h and winsock2.h */ +#ifndef INCL_WINSOCK_API_PROTOTYPES +#define INCL_WINSOCK_API_PROTOTYPES 1 +#define WS_API_PROTOTYPES 1 +#else +#define WS_API_PROTOTYPES INCL_WINSOCK_API_PROTOTYPES +#endif + +#ifndef INCL_WINSOCK_API_TYPEDEFS +#define INCL_WINSOCK_API_TYPEDEFS 0 +#define WS_API_TYPEDEFS 0 +#else +#define WS_API_TYPEDEFS INCL_WINSOCK_API_TYPEDEFS +#endif + +#define __WINE_WINSOCK2__ +#include +#undef __WINE_WINSOCK2__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + + +#ifndef USE_WS_PREFIX +#define SO_GROUP_ID 0x2001 +#define SO_GROUP_PRIORITY 0x2002 +#define SO_MAX_MSG_SIZE 0x2003 +#define SO_PROTOCOL_INFOA 0x2004 +#define SO_PROTOCOL_INFOW 0x2005 +#define SO_PROTOCOL_INFO WINELIB_NAME_AW(WS_SO_PROTOCOL_INFO) +#define PVD_CONFIG 0x3001 +#define SO_CONDITIONAL_ACCEPT 0x3002 +#else +#define WS_SO_GROUP_ID 0x2001 +#define WS_SO_GROUP_PRIORITY 0x2002 +#define WS_SO_MAX_MSG_SIZE 0x2003 +#define WS_SO_PROTOCOL_INFOA 0x2004 +#define WS_SO_PROTOCOL_INFOW 0x2005 +#define WS_SO_PROTOCOL_INFO WINELIB_NAME_AW(WS_SO_PROTOCOL_INFO) +#define WS_PVD_CONFIG 0x3001 +#define WS_SO_CONDITIONAL_ACCEPT 0x3002 +#endif + +/* protocol types */ + +#define FROM_PROTOCOL_INFO (-1) + +#ifndef USE_WS_PREFIX +#define SOCK_STREAM 1 +#define SOCK_DGRAM 2 +#define SOCK_RAW 3 +#define SOCK_RDM 4 +#define SOCK_SEQPACKET 5 +#else /* USE_WS_PREFIX */ +#define WS_SOCK_STREAM 1 +#define WS_SOCK_DGRAM 2 +#define WS_SOCK_RAW 3 +#define WS_SOCK_RDM 4 +#define WS_SOCK_SEQPACKET 5 +#endif /* USE_WS_PREFIX */ + +/* option flags per socket */ + +#define FD_MAX_EVENTS 10 +#define FD_READ_BIT 0 +#define FD_WRITE_BIT 1 +#define FD_OOB_BIT 2 +#define FD_ACCEPT_BIT 3 +#define FD_CONNECT_BIT 4 +#define FD_CLOSE_BIT 5 +#define FD_QOS_BIT 6 +#define FD_GROUP_QOS_BIT 7 +#define FD_ROUTING_INTERFACE_CHANGE_BIT 8 +#define FD_ADDRESS_LIST_CHANGE_BIT 9 + +#define FD_QOS 0x00000040 +#define FD_GROUP_QOS 0x00000080 +#define FD_ROUTING_INTERFACE_CHANGE 0x00000100 +#define FD_ADDRESS_LIST_CHANGE 0x00000200 + +/* Constants for LPCONDITIONPROC */ +#define CF_ACCEPT 0x0000 +#define CF_REJECT 0x0001 +#define CF_DEFER 0x0002 + +/* Constants for shutdown() */ +#define SD_RECEIVE 0x00 +#define SD_SEND 0x01 +#define SD_BOTH 0x02 + +/* Constants for WSAPoll() */ +#ifndef USE_WS_PREFIX +#ifndef __WINE_WINE_PORT_H +#define POLLERR 0x0001 +#define POLLHUP 0x0002 +#define POLLNVAL 0x0004 +#define POLLWRNORM 0x0010 +#define POLLWRBAND 0x0020 +#define POLLRDNORM 0x0100 +#define POLLRDBAND 0x0200 +#define POLLPRI 0x0400 +#define POLLIN (POLLRDNORM|POLLRDBAND) +#define POLLOUT (POLLWRNORM) +#endif +#else +#define WS_POLLERR 0x0001 +#define WS_POLLHUP 0x0002 +#define WS_POLLNVAL 0x0004 +#define WS_POLLWRNORM 0x0010 +#define WS_POLLWRBAND 0x0020 +#define WS_POLLRDNORM 0x0100 +#define WS_POLLRDBAND 0x0200 +#define WS_POLLPRI 0x0400 +#define WS_POLLIN (WS_POLLRDNORM|WS_POLLRDBAND) +#define WS_POLLOUT (WS_POLLWRNORM) +#endif + +/* Constants for WSAIoctl() */ +#ifdef USE_WS_PREFIX +#define WS_IOC_UNIX 0x00000000 +#define WS_IOC_WS2 0x08000000 +#define WS_IOC_PROTOCOL 0x10000000 +#define WS_IOC_VENDOR 0x18000000 +#define WS_IOC_VOID 0x20000000 +#define WS_IOC_OUT 0x40000000 +#define WS_IOC_IN 0x80000000 +#define WS_IOC_INOUT (WS_IOC_IN|WS_IOC_OUT) +#define _WSAIO(x,y) (WS_IOC_VOID|(x)|(y)) +#define _WSAIOR(x,y) (WS_IOC_OUT|(x)|(y)) +#define _WSAIOW(x,y) (WS_IOC_IN|(x)|(y)) +#define _WSAIORW(x,y) (WS_IOC_INOUT|(x)|(y)) +#define WS_SIO_ASSOCIATE_HANDLE _WSAIOW(WS_IOC_WS2,1) +#define WS_SIO_ENABLE_CIRCULAR_QUEUEING _WSAIO(WS_IOC_WS2,2) +#define WS_SIO_FIND_ROUTE _WSAIOR(WS_IOC_WS2,3) +#define WS_SIO_FLUSH _WSAIO(WS_IOC_WS2,4) +#define WS_SIO_GET_BROADCAST_ADDRESS _WSAIOR(WS_IOC_WS2,5) +#define WS_SIO_GET_EXTENSION_FUNCTION_POINTER _WSAIORW(WS_IOC_WS2,6) +#define WS_SIO_GET_QOS _WSAIORW(WS_IOC_WS2,7) +#define WS_SIO_GET_GROUP_QOS _WSAIORW(WS_IOC_WS2,8) +#define WS_SIO_MULTIPOINT_LOOPBACK _WSAIOW(WS_IOC_WS2,9) +#define WS_SIO_MULTICAST_SCOPE _WSAIOW(WS_IOC_WS2,10) +#define WS_SIO_SET_QOS _WSAIOW(WS_IOC_WS2,11) +#define WS_SIO_SET_GROUP_QOS _WSAIOW(WS_IOC_WS2,12) +#define WS_SIO_TRANSLATE_HANDLE _WSAIORW(WS_IOC_WS2,13) +#define WS_SIO_ROUTING_INTERFACE_QUERY _WSAIORW(WS_IOC_WS2,20) +#define WS_SIO_ROUTING_INTERFACE_CHANGE _WSAIOW(WS_IOC_WS2,21) +#define WS_SIO_ADDRESS_LIST_QUERY _WSAIOR(WS_IOC_WS2,22) +#define WS_SIO_ADDRESS_LIST_CHANGE _WSAIO(WS_IOC_WS2,23) +#define WS_SIO_QUERY_TARGET_PNP_HANDLE _WSAIOR(WS_IOC_WS2,24) +#define WS_SIO_GET_INTERFACE_LIST WS__IOR('t', 127, ULONG) +#else /* USE_WS_PREFIX */ +#undef IOC_VOID +#undef IOC_IN +#undef IOC_OUT +#undef IOC_INOUT +#define IOC_UNIX 0x00000000 +#define IOC_WS2 0x08000000 +#define IOC_PROTOCOL 0x10000000 +#define IOC_VENDOR 0x18000000 +#define IOC_VOID 0x20000000 +#define IOC_OUT 0x40000000 +#define IOC_IN 0x80000000 +#define IOC_INOUT (IOC_IN|IOC_OUT) +#define _WSAIO(x,y) (IOC_VOID|(x)|(y)) +#define _WSAIOR(x,y) (IOC_OUT|(x)|(y)) +#define _WSAIOW(x,y) (IOC_IN|(x)|(y)) +#define _WSAIORW(x,y) (IOC_INOUT|(x)|(y)) +#define SIO_ASSOCIATE_HANDLE _WSAIOW(IOC_WS2,1) +#define SIO_ENABLE_CIRCULAR_QUEUEING _WSAIO(IOC_WS2,2) +#define SIO_FIND_ROUTE _WSAIOR(IOC_WS2,3) +#define SIO_FLUSH _WSAIO(IOC_WS2,4) +#define SIO_GET_BROADCAST_ADDRESS _WSAIOR(IOC_WS2,5) +#define SIO_GET_EXTENSION_FUNCTION_POINTER _WSAIORW(IOC_WS2,6) +#define SIO_GET_QOS _WSAIORW(IOC_WS2,7) +#define SIO_GET_GROUP_QOS _WSAIORW(IOC_WS2,8) +#define SIO_MULTIPOINT_LOOPBACK _WSAIOW(IOC_WS2,9) +#define SIO_MULTICAST_SCOPE _WSAIOW(IOC_WS2,10) +#define SIO_SET_QOS _WSAIOW(IOC_WS2,11) +#define SIO_SET_GROUP_QOS _WSAIOW(IOC_WS2,12) +#define SIO_TRANSLATE_HANDLE _WSAIORW(IOC_WS2,13) +#define SIO_ROUTING_INTERFACE_QUERY _WSAIORW(IOC_WS2,20) +#define SIO_ROUTING_INTERFACE_CHANGE _WSAIOW(IOC_WS2,21) +#define SIO_ADDRESS_LIST_QUERY _WSAIOR(IOC_WS2,22) +#define SIO_ADDRESS_LIST_CHANGE _WSAIO(IOC_WS2,23) +#define SIO_QUERY_TARGET_PNP_HANDLE _WSAIOR(IOC_WS2,24) +#define SIO_GET_INTERFACE_LIST _IOR ('t', 127, ULONG) +#endif /* USE_WS_PREFIX */ + +/* Constants for WSAIoctl() */ +#define WSA_FLAG_OVERLAPPED 0x0001 +#define WSA_FLAG_MULTIPOINT_C_ROOT 0x0002 +#define WSA_FLAG_MULTIPOINT_C_LEAF 0x0004 +#define WSA_FLAG_MULTIPOINT_D_ROOT 0x0008 +#define WSA_FLAG_MULTIPOINT_D_LEAF 0x0010 +#define WSA_FLAG_ACCESS_SYSTEM_SECURITY 0x0040 +#define WSA_FLAG_NO_HANDLE_INHERIT 0x0080 +#define WSA_FLAG_REGISTERED_IO 0x0100 + +/* Constants for WSAJoinLeaf() */ +#define JL_SENDER_ONLY 0x01 +#define JL_RECEIVER_ONLY 0x02 +#define JL_BOTH 0x04 + +/* Constants for WSALookupServiceBegin() */ +#define LUP_DEEP 0x0001 +#define LUP_RETURN_NAME 0x0010 +#define LUP_RETURN_TYPE 0x0020 +#define LUP_RETURN_VERSION 0x0040 +#define LUP_RETURN_COMMENT 0x0080 +#define LUP_RETURN_ADDR 0x0100 +#define LUP_RETURN_BLOB 0x0200 +#define LUP_RETURN_ALIASES 0x0400 +#define LUP_RETURN_QUERY_STRING 0x0800 +#define LUP_RETURN_ALL (LUP_RETURN_ADDR|LUP_RETURN_BLOB|LUP_RETURN_ALIASES|LUP_RETURN_QUERY_STRING \ + |LUP_RETURN_NAME|LUP_RETURN_TYPE|LUP_RETURN_VERSION|LUP_RETURN_COMMENT) + +/* Constants for dwNameSpace from struct WSANAMESPACE_INFO */ +#define NS_ALL 0 +#define NS_SAP 1 +#define NS_NDS 2 +#define NS_PEER_BROWSE 3 +#define NS_SLP 5 +#define NS_DHCP 6 +#define NS_TCPIP_LOCAL 10 +#define NS_TCPIP_HOSTS 11 +#define NS_DNS 12 +#define NS_NETBT 13 +#define NS_WINS 14 +#define NS_NLA 15 +#define NS_BTH 16 +#define NS_NBP 20 +#define NS_MS 30 +#define NS_STDA 31 +#define NS_NTDS 32 +#define NS_EMAIL 37 +#define NS_PNRPNAME 38 +#define NS_PNRPCLOUD 39 +#define NS_X500 40 +#define NS_NIS 41 +#define NS_NISPLUS 42 +#define NS_WRQ 50 +#define NS_NETDES 60 + +#ifndef GUID_DEFINED +#include +#endif + +#define MAX_PROTOCOL_CHAIN 7 +#define BASE_PROTOCOL 1 +#define LAYERED_PROTOCOL 0 + +typedef struct _WSAPROTOCOLCHAIN +{ + int ChainLen; /* the length of the chain, */ + /* length = 0 means layered protocol, */ + /* length = 1 means base protocol, */ + /* length > 1 means protocol chain */ + DWORD ChainEntries[MAX_PROTOCOL_CHAIN]; /* a list of dwCatalogEntryIds */ +} WSAPROTOCOLCHAIN, * LPWSAPROTOCOLCHAIN; + +/* constants used in dwProviderFlags from struct WSAPROTOCOL_INFO */ +#define PFL_MULTIPLE_PROTO_ENTRIES 0x00000001 +#define PFL_RECOMMENDED_PROTO_ENTRY 0x00000002 +#define PFL_HIDDEN 0x00000004 +#define PFL_MATCHES_PROTOCOL_ZERO 0x00000008 + +#define XP1_CONNECTIONLESS 0x00000001 +#define XP1_GUARANTEED_DELIVERY 0x00000002 +#define XP1_GUARANTEED_ORDER 0x00000004 +#define XP1_MESSAGE_ORIENTED 0x00000008 +#define XP1_PSEUDO_STREAM 0x00000010 +#define XP1_GRACEFUL_CLOSE 0x00000020 +#define XP1_EXPEDITED_DATA 0x00000040 +#define XP1_CONNECT_DATA 0x00000080 +#define XP1_DISCONNECT_DATA 0x00000100 +#define XP1_SUPPORT_BROADCAST 0x00000200 +#define XP1_SUPPORT_MULTIPOINT 0x00000400 +#define XP1_MULTIPOINT_CONTROL_PLANE 0x00000800 +#define XP1_MULTIPOINT_DATA_PLANE 0x00001000 +#define XP1_QOS_SUPPORTED 0x00002000 +#define XP1_INTERRUPT 0x00004000 +#define XP1_UNI_SEND 0x00008000 +#define XP1_UNI_RECV 0x00010000 +#define XP1_IFS_HANDLES 0x00020000 +#define XP1_PARTIAL_MESSAGE 0x00040000 + +#define BIGENDIAN 0x0000 +#define LITTLEENDIAN 0x0001 + +#define SECURITY_PROTOCOL_NONE 0x0000 + +typedef struct /*WS(pollfd)*/ +{ + SOCKET fd; + SHORT events; + SHORT revents; +} WSAPOLLFD; + +#define WSAPROTOCOL_LEN 255 +typedef struct _WSAPROTOCOL_INFOA +{ + DWORD dwServiceFlags1; + DWORD dwServiceFlags2; + DWORD dwServiceFlags3; + DWORD dwServiceFlags4; + DWORD dwProviderFlags; + GUID ProviderId; + DWORD dwCatalogEntryId; + WSAPROTOCOLCHAIN ProtocolChain; + int iVersion; + int iAddressFamily; + int iMaxSockAddr; + int iMinSockAddr; + int iSocketType; + int iProtocol; + int iProtocolMaxOffset; + int iNetworkByteOrder; + int iSecurityScheme; + DWORD dwMessageSize; + DWORD dwProviderReserved; + CHAR szProtocol[WSAPROTOCOL_LEN+1]; +} WSAPROTOCOL_INFOA, * LPWSAPROTOCOL_INFOA; + +typedef struct _WSAPROTOCOL_INFOW +{ + DWORD dwServiceFlags1; + DWORD dwServiceFlags2; + DWORD dwServiceFlags3; + DWORD dwServiceFlags4; + DWORD dwProviderFlags; + GUID ProviderId; + DWORD dwCatalogEntryId; + WSAPROTOCOLCHAIN ProtocolChain; + int iVersion; + int iAddressFamily; + int iMaxSockAddr; + int iMinSockAddr; + int iSocketType; + int iProtocol; + int iProtocolMaxOffset; + int iNetworkByteOrder; + int iSecurityScheme; + DWORD dwMessageSize; + DWORD dwProviderReserved; + WCHAR szProtocol[WSAPROTOCOL_LEN+1]; +} WSAPROTOCOL_INFOW, *LPWSAPROTOCOL_INFOW; + +DECL_WINELIB_TYPE_AW(WSAPROTOCOL_INFO) +DECL_WINELIB_TYPE_AW(LPWSAPROTOCOL_INFO) + +typedef struct _WSANETWORKEVENTS +{ + LONG lNetworkEvents; + int iErrorCode[FD_MAX_EVENTS]; +} WSANETWORKEVENTS, *LPWSANETWORKEVENTS; + +typedef struct _WSANSClassInfoA +{ + LPSTR lpszName; + DWORD dwNameSpace; + DWORD dwValueType; + DWORD dwValueSize; + LPVOID lpValue; +} WSANSCLASSINFOA, *PWSANSCLASSINFOA, *LPWSANSCLASSINFOA; + +typedef struct _WSANSClassInfoW +{ + LPSTR lpszName; + DWORD dwNameSpace; + DWORD dwValueType; + DWORD dwValueSize; + LPVOID lpValue; +} WSANSCLASSINFOW, *PWSANSCLASSINFOW, *LPWSANSCLASSINFOW; + +DECL_WINELIB_TYPE_AW(WSANSCLASSINFO) +DECL_WINELIB_TYPE_AW(PWSANSCLASSINFO) +DECL_WINELIB_TYPE_AW(LPWSANSCLASSINFO) + +typedef struct _WSAServiceClassInfoA +{ + LPGUID lpServiceClassId; + LPSTR lpszServiceClassName; + DWORD dwCount; + LPWSANSCLASSINFOA lpClassInfos; +} WSASERVICECLASSINFOA, *PWSASERVICECLASSINFOA, *LPWSASERVICECLASSINFOA; + +typedef struct _WSAServiceClassInfoW +{ + LPGUID lpServiceClassId; + LPWSTR lpszServiceClassName; + DWORD dwCount; + LPWSANSCLASSINFOW lpClassInfos; +} WSASERVICECLASSINFOW, *PWSASERVICECLASSINFOW, *LPWSASERVICECLASSINFOW; + + +DECL_WINELIB_TYPE_AW(WSASERVICECLASSINFO) +DECL_WINELIB_TYPE_AW(PWSASERVICECLASSINFO) +DECL_WINELIB_TYPE_AW(LPWSASERVICECLASSINFO) + +#define WSAEVENT HANDLE +#define LPWSAEVENT LPHANDLE +#define WSAOVERLAPPED OVERLAPPED +typedef struct _OVERLAPPED* LPWSAOVERLAPPED; + +#define WSA_IO_PENDING (ERROR_IO_PENDING) +#define WSA_IO_INCOMPLETE (ERROR_IO_INCOMPLETE) +#define WSA_INVALID_HANDLE (ERROR_INVALID_HANDLE) +#define WSA_INVALID_PARAMETER (ERROR_INVALID_PARAMETER) +#define WSA_NOT_ENOUGH_MEMORY (ERROR_NOT_ENOUGH_MEMORY) +#define WSA_OPERATION_ABORTED (ERROR_OPERATION_ABORTED) + +#define WSA_INVALID_EVENT ((WSAEVENT)NULL) +#define WSA_MAXIMUM_WAIT_EVENTS (MAXIMUM_WAIT_OBJECTS) +#define WSA_WAIT_FAILED ((DWORD)-1) +#define WSA_WAIT_EVENT_0 (WAIT_OBJECT_0) +#define WSA_WAIT_IO_COMPLETION (WAIT_IO_COMPLETION) +#define WSA_WAIT_TIMEOUT (WAIT_TIMEOUT) +#define WSA_INFINITE (INFINITE) + +typedef unsigned int GROUP; +#define SG_UNCONSTRAINED_GROUP 0x01 +#define SG_CONSTRAINED_GROUP 0x02 + +/* + * FLOWSPEC and SERVICETYPE should eventually move to qos.h + */ + +typedef ULONG SERVICETYPE; + +typedef struct _FLOWSPEC { + unsigned int TokenRate; + unsigned int TokenBucketSize; + unsigned int PeakBandwidth; + unsigned int Latency; + unsigned int DelayVariation; + SERVICETYPE ServiceType; + unsigned int MaxSduSize; + unsigned int MinimumPolicedSize; + } FLOWSPEC, *PFLOWSPEC, *LPFLOWSPEC; + +typedef struct _QUALITYOFSERVICE { + FLOWSPEC SendingFlowspec; + FLOWSPEC ReceivingFlowspec; + WSABUF ProviderSpecific; + } QOS, *LPQOS; + +typedef int (CALLBACK *LPCONDITIONPROC) +( + LPWSABUF lpCallerId, + LPWSABUF lpCallerData, + LPQOS lpSQOS, + LPQOS lpGQOS, + LPWSABUF lpCalleeId, + LPWSABUF lpCalleeData, + GROUP *g, + DWORD_PTR dwCallbackData +); + +typedef void (CALLBACK *LPWSAOVERLAPPED_COMPLETION_ROUTINE) +( + DWORD dwError, + DWORD cbTransferred, + LPWSAOVERLAPPED lpOverlapped, + DWORD dwFlags +); + +#ifndef _tagBLOB_DEFINED +#define _tagBLOB_DEFINED +#define _BLOB_DEFINED +#define _LPBLOB_DEFINED +typedef struct _BLOB { + ULONG cbSize; + BYTE *pBlobData; +} BLOB, *LPBLOB; +#endif + +/* addressfamily protocol pairs */ +typedef struct _AFPROTOCOLS { + INT iAddressFamily; + INT iProtocol; +} AFPROTOCOLS, *PAFPROTOCOLS, *LPAFPROTOCOLS; + +/* client query definitions */ +typedef enum _WSAEcomparator { + COMP_EQUAL = 0, + COMP_NOTLESS +} WSAECOMPARATOR, *PWSAECOMPARATOR, *LPWSAECOMPARATOR; + +typedef struct _WSAVersion { + DWORD dwVersion; + WSAECOMPARATOR ecHow; +} WSAVERSION, *PWSAVERSION, *LPWSAVERSION; + + +typedef struct _WSAQuerySetA { + DWORD dwSize; + LPSTR lpszServiceInstanceName; + LPGUID lpServiceClassId; + LPWSAVERSION lpVersion; + LPSTR lpszComment; + DWORD dwNameSpace; + LPGUID lpNSProviderId; + LPSTR lpszContext; + DWORD dwNumberOfProtocols; + LPAFPROTOCOLS lpafpProtocols; + LPSTR lpszQueryString; + DWORD dwNumberOfCsAddrs; + LPCSADDR_INFO lpcsaBuffer; + DWORD dwOutputFlags; + LPBLOB lpBlob; +} WSAQUERYSETA, *PWSAQUERYSETA, *LPWSAQUERYSETA; + +typedef struct _WSAQuerySetW { + DWORD dwSize; + LPWSTR lpszServiceInstanceName; + LPGUID lpServiceClassId; + LPWSAVERSION lpVersion; + LPWSTR lpszComment; + DWORD dwNameSpace; + LPGUID lpNSProviderId; + LPWSTR lpszContext; + DWORD dwNumberOfProtocols; + LPAFPROTOCOLS lpafpProtocols; + LPWSTR lpszQueryString; + DWORD dwNumberOfCsAddrs; + LPCSADDR_INFO lpcsaBuffer; + DWORD dwOutputFlags; + LPBLOB lpBlob; +} WSAQUERYSETW, *PWSAQUERYSETW, *LPWSAQUERYSETW; + +DECL_WINELIB_TYPE_AW(WSAQUERYSET) +DECL_WINELIB_TYPE_AW(PWSAQUERYSET) +DECL_WINELIB_TYPE_AW(LPWSAQUERYSET) + +typedef enum _WSAESETSERVICEOP { + RNRSERVICE_REGISTER = 0, + RNRSERVICE_DEREGISTER, + RNRSERVICE_DELETE +} WSAESETSERVICEOP, *PWSAESETSERVICEOP, *LPWSAESETSERVICEOP; + +typedef struct _WSANAMESPACE_INFOA { + GUID NSProviderId; + DWORD dwNameSpace; + BOOL fActive; + DWORD dwVersion; + LPSTR lpszIdentifier; +} WSANAMESPACE_INFOA, *PWSANAMESPACE_INFOA, *LPWSANAMESPACE_INFOA; + +typedef struct _WSANAMESPACE_INFOW { + GUID NSProviderId; + DWORD dwNameSpace; + BOOL fActive; + DWORD dwVersion; + LPWSTR lpszIdentifier; +} WSANAMESPACE_INFOW, *PWSANAMESPACE_INFOW, *LPWSANAMESPACE_INFOW; + +DECL_WINELIB_TYPE_AW(WSANAMESPACE_INFO) +DECL_WINELIB_TYPE_AW(PWSANAMESPACE_INFO) +DECL_WINELIB_TYPE_AW(LPWSANAMESPACE_INFO) + +typedef enum _WSACOMPLETIONTYPE { + NSP_NOTIFY_IMMEDIATELY = 0, + NSP_NOTIFY_HWND = 1, + NSP_NOTIFY_EVENT = 2, + NSP_NOTIFY_PORT = 3, + NSP_NOTIFY_APC = 4 +} WSACOMPLETIONTYPE, * PWSACOMPLETIONTYPE, * LPWSACOMPLETIONTYPE; + +typedef struct _WSACOMPLETION { + WSACOMPLETIONTYPE Type; + union { + struct { + HWND hWnd; + UINT uMsg; + WPARAM context; + } WindowMessage; + struct { + LPWSAOVERLAPPED lpOverlapped; + } Event; + struct { + LPWSAOVERLAPPED lpOverlapped; + LPWSAOVERLAPPED_COMPLETION_ROUTINE lpfnCompletionProc; + } Apc; + struct { + LPWSAOVERLAPPED lpOverlapped; + HANDLE hPort; + ULONG_PTR Key; + } Port; + } Parameters; +} WSACOMPLETION, *PWSACOMPLETION, *LPWSACOMPLETION; + +/* + * Winsock Function Typedefs + * + * Remember to keep this section in sync with the + * "Prototypes" section in winsock.h. + */ +#if WS_API_TYPEDEFS +typedef HANDLE (WINAPI *LPFN_WSAASYNCGETHOSTBYADDR)(HWND,WS(u_int),const char*,int,int,char*,int); +typedef HANDLE (WINAPI *LPFN_WSAASYNCGETHOSTBYNAME)(HWND,WS(u_int),const char*,char*,int); +typedef HANDLE (WINAPI *LPFN_WSAASYNCGETPROTOBYNAME)(HWND,WS(u_int),const char*,char*,int); +typedef HANDLE (WINAPI *LPFN_WSAASYNCGETPROTOBYNUMBER)(HWND,WS(u_int),int,char*,int); +typedef HANDLE (WINAPI *LPFN_WSAASYNCGETSERVBYNAME)(HWND,WS(u_int),const char*,const char*,char*,int); +typedef HANDLE (WINAPI *LPFN_WSAASYNCGETSERVBYPORT)(HWND,WS(u_int),int,const char*,char*,int); +typedef int (WINAPI *LPFN_WSAASYNCSELECT)(SOCKET,HWND,WS(u_int),LONG); +typedef int (WINAPI *LPFN_WSACANCELASYNCREQUEST)(HANDLE); +typedef int (WINAPI *LPFN_WSACANCELBLOCKINGCALL)(void); +typedef int (WINAPI *LPFN_WSACLEANUP)(void); +typedef int (WINAPI *LPFN_WSAGETLASTERROR)(void); +typedef BOOL (WINAPI *LPFN_WSAISBLOCKING)(void); +typedef FARPROC (WINAPI *LPFN_WSASETBLOCKINGHOOK)(FARPROC); +typedef void (WINAPI *LPFN_WSASETLASTERROR)(int); +typedef int (WINAPI *LPFN_WSASTARTUP)(WORD,LPWSADATA); +typedef int (WINAPI *LPFN_WSAUNHOOKBLOCKINGHOOK)(void); + +typedef SOCKET (WINAPI *LPFN_ACCEPT)(SOCKET,struct WS(sockaddr)*,int*); +typedef int (WINAPI *LPFN_BIND)(SOCKET,const struct WS(sockaddr)*,int); +typedef int (WINAPI *LPFN_CLOSESOCKET)(SOCKET); +typedef int (WINAPI *LPFN_CONNECT)(SOCKET,const struct WS(sockaddr)*,int); +typedef struct WS(hostent)* (WINAPI *LPFN_GETHOSTBYADDR)(const char*,int,int); +typedef struct WS(hostent)* (WINAPI *LPFN_GETHOSTBYNAME)(const char*); +typedef int (WINAPI *LPFN_GETHOSTNAME)(char*,int); +typedef int (WINAPI *LPFN_GETPEERNAME)(SOCKET,struct WS(sockaddr)*,int*); +typedef struct WS(protoent)* (WINAPI *LPFN_GETPROTOBYNAME)(const char*); +typedef struct WS(protoent)* (WINAPI *LPFN_GETPROTOBYNUMBER)(int); +#ifdef WS_DEFINE_SELECT +typedef int (WINAPI* LPFN_SELECT)(int,WS(fd_set)*,WS(fd_set)*,WS(fd_set)*,const struct WS(timeval)*); +#endif +typedef struct WS(servent)* (WINAPI *LPFN_GETSERVBYNAME)(const char*,const char*); +typedef struct WS(servent)* (WINAPI *LPFN_GETSERVBYPORT)(int,const char*); +typedef int (WINAPI *LPFN_GETSOCKNAME)(SOCKET,struct WS(sockaddr)*,int*); +typedef int (WINAPI *LPFN_GETSOCKOPT)(SOCKET,int,int,char*,int*); +typedef ULONG (WINAPI *LPFN_HTONL)(ULONG); +typedef WS(u_short) (WINAPI *LPFN_HTONS)(WS(u_short)); +typedef ULONG (WINAPI *LPFN_INET_ADDR)(const char*); +typedef char* (WINAPI *LPFN_INET_NTOA)(struct WS(in_addr)); +typedef int (WINAPI *LPFN_IOCTLSOCKET)(SOCKET,LONG,ULONG*); +typedef int (WINAPI *LPFN_LISTEN)(SOCKET,int); +typedef ULONG (WINAPI *LPFN_NTOHL)(ULONG); +typedef WS(u_short) (WINAPI *LPFN_NTOHS)(WS(u_short)); +typedef int (WINAPI *LPFN_RECV)(SOCKET,char*,int,int); +typedef int (WINAPI *LPFN_RECVFROM)(SOCKET,char*,int,int,struct WS(sockaddr)*,int*); +typedef int (WINAPI *LPFN_SEND)(SOCKET,const char*,int,int); +typedef int (WINAPI *LPFN_SENDTO)(SOCKET,const char*,int,int,const struct WS(sockaddr)*,int); +typedef int (WINAPI *LPFN_SETSOCKOPT)(SOCKET,int,int,const char*,int); +typedef int (WINAPI *LPFN_SHUTDOWN)(SOCKET,int); +typedef SOCKET (WINAPI *LPFN_SOCKET)(int,int,int); +#endif /* WS_API_TYPEDEFS */ + + + +/* + * Winsock2 Prototypes + * + * Remember to keep this section in sync with the + * "Winsock2 Function Typedefs" section below. + */ +#if WS_API_PROTOTYPES +SOCKET WINAPI WSAAccept(SOCKET,struct WS(sockaddr)*,LPINT,LPCONDITIONPROC,DWORD_PTR); +INT WINAPI WSAAddressToStringA(LPSOCKADDR,DWORD,LPWSAPROTOCOL_INFOA,LPSTR,LPDWORD); +INT WINAPI WSAAddressToStringW(LPSOCKADDR,DWORD,LPWSAPROTOCOL_INFOW,LPWSTR,LPDWORD); +#define WSAAddressToString WINELIB_NAME_AW(WSAAddressToString) +BOOL WINAPI WSACloseEvent(WSAEVENT); +int WINAPI WSAConnect(SOCKET,const struct WS(sockaddr)*,int,LPWSABUF,LPWSABUF,LPQOS,LPQOS); +WSAEVENT WINAPI WSACreateEvent(void); +INT WINAPI WSADuplicateSocketA(SOCKET,DWORD,LPWSAPROTOCOL_INFOA); +INT WINAPI WSADuplicateSocketW(SOCKET,DWORD,LPWSAPROTOCOL_INFOW); +#define WSADuplicateSocket WINELIB_NAME_AW(WSADuplicateSocket) +INT WINAPI WSAEnumNameSpaceProvidersA(LPDWORD,LPWSANAMESPACE_INFOA); +INT WINAPI WSAEnumNameSpaceProvidersW(LPDWORD,LPWSANAMESPACE_INFOW); +#define WSAEnumNameSpaceProviders WINELIB_NAME_AW(WSAEnumNameSpaceProviders) +int WINAPI WSAEnumNetworkEvents(SOCKET,WSAEVENT,LPWSANETWORKEVENTS); +int WINAPI WSAEnumProtocolsA(LPINT,LPWSAPROTOCOL_INFOA,LPDWORD); +int WINAPI WSAEnumProtocolsW(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD); +#define WSAEnumProtocols WINELIB_NAME_AW(WSAEnumProtocols) +int WINAPI WSAEventSelect(SOCKET,WSAEVENT,LONG); +BOOL WINAPI WSAGetOverlappedResult(SOCKET,LPWSAOVERLAPPED,LPDWORD,BOOL,LPDWORD); +BOOL WINAPI WSAGetQOSByName(SOCKET,LPWSABUF,LPQOS); +INT WINAPI WSAGetServiceClassInfoA(LPGUID,LPGUID,LPDWORD,LPWSASERVICECLASSINFOA); +INT WINAPI WSAGetServiceClassInfoW(LPGUID,LPGUID,LPDWORD,LPWSASERVICECLASSINFOW); +#define WSAGetServiceClassInfo WINELIB_NAME_AW(WSAGetServiceClassInfo) +INT WINAPI WSAGetServiceClassNameByClassIdA(LPGUID,LPSTR,LPDWORD); +INT WINAPI WSAGetServiceClassNameByClassIdW(LPGUID,LPWSTR,LPDWORD); +#define WSAGetServiceClassNameByClassId WINELIB_NAME_AW(WSAGetServiceClassNameByClassId) +int WINAPI WSAHtonl(SOCKET,ULONG,ULONG*); +int WINAPI WSAHtons(SOCKET,WS(u_short),WS(u_short)*); +int WINAPI WSAInstallServiceClassA(LPWSASERVICECLASSINFOA); +int WINAPI WSAInstallServiceClassW(LPWSASERVICECLASSINFOW); +#define WSAInstallServiceClass WINELIB_NAME_AW(WSAInstallServiceClass) +int WINAPI WSAIoctl(SOCKET,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +SOCKET WINAPI WSAJoinLeaf(SOCKET,const struct WS(sockaddr)*,int,LPWSABUF,LPWSABUF,LPQOS,LPQOS,DWORD); +INT WINAPI WSALookupServiceBeginA(LPWSAQUERYSETA,DWORD,LPHANDLE); +INT WINAPI WSALookupServiceBeginW(LPWSAQUERYSETW,DWORD,LPHANDLE); +#define WSALookupServiceBegin WINELIB_NAME_AW(WSALookupServiceBegin) +INT WINAPI WSALookupServiceEnd(HANDLE); +INT WINAPI WSALookupServiceNextA(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETA); +INT WINAPI WSALookupServiceNextW(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETW); +#define WSALookupServiceNext WINELIB_NAME_AW(WSALookupServiceNext) +int WINAPI WSANSPIoctl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSACOMPLETION); +int WINAPI WSANtohl(SOCKET,ULONG,ULONG*); +int WINAPI WSANtohs(SOCKET,WS(u_short),WS(u_short)*); +int WINAPI WSAPoll(WSAPOLLFD*,ULONG,int); +INT WINAPI WSAProviderConfigChange(LPHANDLE,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +int WINAPI WSARecv(SOCKET,LPWSABUF,DWORD,LPDWORD,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +int WINAPI WSARecvDisconnect(SOCKET,LPWSABUF); +int WINAPI WSARecvFrom(SOCKET,LPWSABUF,DWORD,LPDWORD,LPDWORD,struct WS(sockaddr)*,LPINT,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +INT WINAPI WSARemoveServiceClass(LPGUID); +BOOL WINAPI WSAResetEvent(WSAEVENT); +int WINAPI WSASend(SOCKET,LPWSABUF,DWORD,LPDWORD,DWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +int WINAPI WSASendDisconnect(SOCKET,LPWSABUF); +int WINAPI WSASendTo(SOCKET,LPWSABUF,DWORD,LPDWORD,DWORD,const struct WS(sockaddr)*,int,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +BOOL WINAPI WSASetEvent(WSAEVENT); +INT WINAPI WSASetServiceA(LPWSAQUERYSETA,WSAESETSERVICEOP,DWORD); +INT WINAPI WSASetServiceW(LPWSAQUERYSETW,WSAESETSERVICEOP,DWORD); +#define WSASetService WINELIB_NAME_AW(WSASetService) +SOCKET WINAPI WSASocketA(int,int,int,LPWSAPROTOCOL_INFOA,GROUP,DWORD); +SOCKET WINAPI WSASocketW(int,int,int,LPWSAPROTOCOL_INFOW,GROUP,DWORD); +#define WSASocket WINELIB_NAME_AW(WSASocket) +INT WINAPI WSAStringToAddressA(LPSTR,INT,LPWSAPROTOCOL_INFOA,LPSOCKADDR,LPINT); +INT WINAPI WSAStringToAddressW(LPWSTR,INT,LPWSAPROTOCOL_INFOW,LPSOCKADDR,LPINT); +#define WSAStringToAddress WINELIB_NAME_AW(WSAStringToAddress) +DWORD WINAPI WSAWaitForMultipleEvents(DWORD,const WSAEVENT*,BOOL,DWORD,BOOL); +#endif /* WS_API_PROTOTYPES */ + + + +/* + * Winsock2 Function Typedefs + * + * Remember to keep this section in sync with the + * "Winsock2 Prototypes" section above. + */ +#if WS_API_TYPEDEFS +typedef SOCKET (WINAPI *LPFN_WSAACCEPT)(SOCKET,struct WS(sockaddr)*,LPINT,LPCONDITIONPROC,DWORD_PTR); +typedef INT (WINAPI *LPFN_WSAADDRESSTOSTRINGA)(LPSOCKADDR,DWORD,LPWSAPROTOCOL_INFOA,LPSTR,LPDWORD); +typedef INT (WINAPI *LPFN_WSAADDRESSTOSTRINGW)(LPSOCKADDR,DWORD,LPWSAPROTOCOL_INFOW,LPWSTR,LPDWORD); +#define LPFN_WSAADDRESSTOSTRING WINELIB_NAME_AW(LPFN_WSAADDRESSTOSTRING) +typedef BOOL (WINAPI *LPFN_WSACLOSEEVENT)(WSAEVENT); +typedef int (WINAPI *LPFN_WSACONNECT)(SOCKET,const struct WS(sockaddr)*,int,LPWSABUF,LPWSABUF,LPQOS,LPQOS); +typedef WSAEVENT (WINAPI *LPFN_WSACREATEEVENT)(void); +typedef INT (WINAPI *LPFN_WSADUPLICATESOCKETA)(SOCKET,DWORD,LPWSAPROTOCOL_INFOA); +typedef INT (WINAPI *LPFN_WSADUPLICATESOCKETW)(SOCKET,DWORD,LPWSAPROTOCOL_INFOW); +#define LPFN_WSADUPLICATESOCKET WINELIB_NAME_AW(LPFN_WSADUPLICATESOCKET) +typedef INT (WINAPI *LPFN_WSAENUMNAMESPACEPROVIDERSA)(LPDWORD,LPWSANAMESPACE_INFOA); +typedef INT (WINAPI *LPFN_WSAENUMNAMESPACEPROVIDERSW)(LPDWORD,LPWSANAMESPACE_INFOW); +#define LPFN_WSAENUMNAMESPACEPROVIDERS WINELIB_NAME_AW(LPFN_WSAENUMNAMESPACEPROVIDERS) +typedef int (WINAPI *LPFN_WSAENUMNETWORKEVENTS)(SOCKET,WSAEVENT,LPWSANETWORKEVENTS); +typedef int (WINAPI *LPFN_WSAENUMPROTOCOLSA)(LPINT,LPWSAPROTOCOL_INFOA,LPDWORD); +typedef int (WINAPI *LPFN_WSAENUMPROTOCOLSW)(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD); +#define LPFN_WSAENUMPROTOCOLS WINELIB_NAME_AW(LPFN_WSAENUMPROTOCOLS) +typedef int (WINAPI *LPFN_WSAEVENTSELECT)(SOCKET,WSAEVENT,LONG); +typedef BOOL (WINAPI *LPFN_WSAGETOVERLAPPEDRESULT)(SOCKET,LPWSAOVERLAPPED,LPDWORD,BOOL,LPDWORD); +typedef BOOL (WINAPI *LPFN_WSAGETQOSBYNAME)(SOCKET,LPWSABUF,LPQOS); +typedef INT (WINAPI *LPFN_WSAGETSERVICECLASSINFOA)(LPGUID,LPGUID,LPDWORD,LPWSASERVICECLASSINFOA); +typedef INT (WINAPI *LPFN_WSAGETSERVICECLASSINFOW)(LPGUID,LPGUID,LPDWORD,LPWSASERVICECLASSINFOW); +#define LPFN_LPFNWSAGETSERVICECLASSINFO WINELIB_NAME_AW(LPFN_LPFNWSAGETSERVICECLASSINFO) +typedef INT (WINAPI *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDA)(LPGUID,LPSTR,LPDWORD); +typedef INT (WINAPI *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDW)(LPGUID,LPWSTR,LPDWORD); +#define LPFN_WSAGETSERVICECLASSNAMEBYCLASSID WINELIB_NAME_AW(LPFN_WSAGETSERVICECLASSNAMEBYCLASSID) +typedef int (WINAPI *LPFN_WSAHTONL)(SOCKET,ULONG,ULONG*); +typedef int (WINAPI *LPFN_WSAHTONS)(SOCKET,WS(u_short),WS(u_short)*); +typedef int (WINAPI *LPFN_WSAINSTALLSERVICECLASSA)(LPWSASERVICECLASSINFOA); +typedef int (WINAPI *LPFN_WSAINSTALLSERVICECLASSW)(LPWSASERVICECLASSINFOW); +typedef int (WINAPI *LPFN_WSAIOCTL)(SOCKET,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef int (WINAPI *LPFN_WSAJOINLEAF)(SOCKET,const struct WS(sockaddr)*,int,LPWSABUF,LPWSABUF,LPQOS,LPQOS,DWORD); +typedef INT (WINAPI *LPFN_WSALOOKUPSERVICEBEGINA)(LPWSAQUERYSETA,DWORD,LPHANDLE); +typedef INT (WINAPI *LPFN_WSALOOKUPSERVICEBEGINW)(LPWSAQUERYSETW,DWORD,LPHANDLE); +#define LPFN_WSALOOKUPSERVICEBEGIN WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICEBEGIN) +typedef INT (WINAPI *LPFN_WSALOOKUPSERVICEEND)(HANDLE); +typedef INT (WINAPI *LPFN_WSALOOKUPSERVICENEXTA)(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETA); +typedef INT (WINAPI *LPFN_WSALOOKUPSERVICENEXTW)(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETW); +#define LPFN_WSALOOKUPSERVICENEXT WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICENEXT) +typedef int (WINAPI *LPFN_WSANSPIOCTL)(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSACOMPLETION); +typedef int (WINAPI *LPFN_WSANTOHL)(SOCKET,ULONG,ULONG*); +typedef int (WINAPI *LPFN_WSANTOHS)(SOCKET,WS(u_short),WS(u_short)*); +typedef INT (WINAPI *LPFN_WSAPROVIDERCONFIGCHANGE)(LPHANDLE,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef int (WINAPI *LPFN_WSAPOLL)(WSAPOLLFD*,ULONG,int); +typedef int (WINAPI *LPFN_WSARECV)(SOCKET,LPWSABUF,DWORD,LPDWORD,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef int (WINAPI *LPFN_WSARECVDISCONNECT)(SOCKET,LPWSABUF); +typedef int (WINAPI *LPFN_WSARECVFROM)(SOCKET,LPWSABUF,DWORD,LPDWORD,LPDWORD,struct WS(sockaddr)*,LPINT,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef INT (WINAPI *LPFN_WSAREMOVESERVICECLASS)(LPGUID); +typedef BOOL (WINAPI *LPFN_WSARESETEVENT)(WSAEVENT); +typedef int (WINAPI *LPFN_WSASEND)(SOCKET,LPWSABUF,DWORD,LPDWORD,DWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef int (WINAPI *LPFN_WSASENDDISCONNECT)(SOCKET,LPWSABUF); +typedef int (WINAPI *LPFN_WSASENDTO)(SOCKET,LPWSABUF,DWORD,LPDWORD,DWORD,const struct WS(sockaddr)*,int,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); +typedef BOOL (WINAPI *LPFN_WSASETEVENT)(WSAEVENT); +typedef INT (WINAPI *LPFN_WSASETSERVICEA)(LPWSAQUERYSETA,WSAESETSERVICEOP,DWORD); +typedef INT (WINAPI *LPFN_WSASETSERVICEW)(LPWSAQUERYSETW,WSAESETSERVICEOP,DWORD); +#define LPFN_WSASETSERVICE WINELIB_NAME_AW(LPFN_WSASETSERVICE) +typedef SOCKET (WINAPI *LPFN_WSASOCKETA)(int,int,int,LPWSAPROTOCOL_INFOA,GROUP,DWORD); +typedef SOCKET (WINAPI *LPFN_WSASOCKETW)(int,int,int,LPWSAPROTOCOL_INFOW,GROUP,DWORD); +typedef INT (WINAPI *LPFN_WSASTRINGTOADDRESSA)(LPSTR,INT,LPWSAPROTOCOL_INFOA,LPSOCKADDR,LPINT); +typedef INT (WINAPI *LPFN_WSASTRINGTOADDRESSW)(LPSTR,INT,LPWSAPROTOCOL_INFOA,LPSOCKADDR,LPINT); +#define LPFN_WSASOCKET WINELIB_NAME_AW(LPFN_WSASOCKET) +#define LPFN_WSASTRINGTOADDRESS WINELIB_NAME_AW(LPFN_WSASTRINGTOADDRESS) +typedef DWORD (WINAPI *LPFN_WSAWAITFORMULTIPLEEVENTS)(DWORD,const WSAEVENT*,BOOL,DWORD,BOOL); +#endif /* WS_API_TYPEDEFS */ + + +/* Condition function return values */ +#define CF_ACCEPT 0x0000 +#define CF_REJECT 0x0001 +#define CF_DEFER 0x0002 + +#ifdef __cplusplus +} +#endif + +#undef WS +#undef WS_API_PROTOTYPES +#undef WS_API_TYPEDEFS + +#endif /* __WINSOCK2API__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winspool.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winspool.h new file mode 100644 index 0000000..b11438f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winspool.h @@ -0,0 +1,1826 @@ +/* Definitions for printing + * + * Copyright 1998 Huw Davies, Andreas Mohr + * + * Portions Copyright (c) 1999 Corel Corporation + * (Paul Quinn, Albert Den Haan) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_WINSPOOL_H +#define __WINE_WINSPOOL_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* DEFINES */ + +#define PRINTER_ATTRIBUTE_QUEUED 0x00000001 +#define PRINTER_ATTRIBUTE_DIRECT 0x00000002 +#define PRINTER_ATTRIBUTE_DEFAULT 0x00000004 +#define PRINTER_ATTRIBUTE_SHARED 0x00000008 +#define PRINTER_ATTRIBUTE_NETWORK 0x00000010 +#define PRINTER_ATTRIBUTE_HIDDEN 0x00000020 +#define PRINTER_ATTRIBUTE_LOCAL 0x00000040 +#define PRINTER_ATTRIBUTE_ENABLE_DEVQ 0x00000080 +#define PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS 0x00000100 +#define PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST 0x00000200 +#define PRINTER_ATTRIBUTE_WORK_OFFLINE 0x00000400 +#define PRINTER_ATTRIBUTE_ENABLE_BIDI 0x00000800 +#define PRINTER_ATTRIBUTE_RAW_ONLY 0x00001000 +#define PRINTER_ATTRIBUTE_PUBLISHED 0x00002000 + +#define PRINTER_CONTROL_PAUSE 1 +#define PRINTER_CONTROL_RESUME 2 +#define PRINTER_CONTROL_PURGE 3 +#define PRINTER_CONTROL_SET_STATUS 4 + +#define PRINTER_ENUM_DEFAULT 0x00000001 +#define PRINTER_ENUM_LOCAL 0x00000002 +#define PRINTER_ENUM_CONNECTIONS 0x00000004 +#define PRINTER_ENUM_FAVORITE 0x00000004 +#define PRINTER_ENUM_NAME 0x00000008 +#define PRINTER_ENUM_REMOTE 0x00000010 +#define PRINTER_ENUM_SHARED 0x00000020 +#define PRINTER_ENUM_NETWORK 0x00000040 + +#define PRINTER_ENUM_EXPAND 0x00004000 +#define PRINTER_ENUM_CONTAINER 0x00008000 + +#define PRINTER_ENUM_ICONMASK 0x00ff0000 +#define PRINTER_ENUM_ICON1 0x00010000 +#define PRINTER_ENUM_ICON2 0x00020000 +#define PRINTER_ENUM_ICON3 0x00040000 +#define PRINTER_ENUM_ICON4 0x00080000 +#define PRINTER_ENUM_ICON5 0x00100000 +#define PRINTER_ENUM_ICON6 0x00200000 +#define PRINTER_ENUM_ICON7 0x00400000 +#define PRINTER_ENUM_ICON8 0x00800000 +#define PRINTER_ENUM_HIDE 0x01000000 + + +/* various printer statuses */ +#define PRINTER_STATUS_PAUSED 0x00000001 +#define PRINTER_STATUS_ERROR 0x00000002 +#define PRINTER_STATUS_PENDING_DELETION 0x00000004 +#define PRINTER_STATUS_PAPER_JAM 0x00000008 +#define PRINTER_STATUS_PAPER_OUT 0x00000010 +#define PRINTER_STATUS_MANUAL_FEED 0x00000020 +#define PRINTER_STATUS_PAPER_PROBLEM 0x00000040 +#define PRINTER_STATUS_OFFLINE 0x00000080 +#define PRINTER_STATUS_IO_ACTIVE 0x00000100 +#define PRINTER_STATUS_BUSY 0x00000200 +#define PRINTER_STATUS_PRINTING 0x00000400 +#define PRINTER_STATUS_OUTPUT_BIN_FULL 0x00000800 +#define PRINTER_STATUS_NOT_AVAILABLE 0x00001000 +#define PRINTER_STATUS_WAITING 0x00002000 +#define PRINTER_STATUS_PROCESSING 0x00004000 +#define PRINTER_STATUS_INITIALIZING 0x00008000 +#define PRINTER_STATUS_WARMING_UP 0x00010000 +#define PRINTER_STATUS_TONER_LOW 0x00020000 +#define PRINTER_STATUS_NO_TONER 0x00040000 +#define PRINTER_STATUS_PAGE_PUNT 0x00080000 +#define PRINTER_STATUS_USER_INTERVENTION 0x00100000 +#define PRINTER_STATUS_OUT_OF_MEMORY 0x00200000 +#define PRINTER_STATUS_DOOR_OPEN 0x00400000 +#define PRINTER_STATUS_SERVER_UNKNOWN 0x00800000 +#define PRINTER_STATUS_POWER_SAVE 0x01000000 +#define PRINTER_STATUS_SERVER_OFFLINE 0x02000000 +#define PRINTER_STATUS_DRIVER_UPDATE_NEEDED 0x04000000 + +#define NO_PRIORITY 0 +#define MAX_PRIORITY 99 +#define MIN_PRIORITY 1 +#define DEF_PRIORITY 1 + +#define JOB_CONTROL_PAUSE 1 +#define JOB_CONTROL_RESUME 2 +#define JOB_CONTROL_CANCEL 3 +#define JOB_CONTROL_RESTART 4 +#define JOB_CONTROL_DELETE 5 +#define JOB_CONTROL_SENT_TO_PRINTER 6 +#define JOB_CONTROL_LAST_PAGE_EJECTED 7 + +#define JOB_STATUS_PAUSED 0x0001 +#define JOB_STATUS_ERROR 0x0002 +#define JOB_STATUS_DELETING 0x0004 +#define JOB_STATUS_SPOOLING 0x0008 +#define JOB_STATUS_PRINTING 0x0010 +#define JOB_STATUS_OFFLINE 0x0020 +#define JOB_STATUS_PAPEROUT 0x0040 +#define JOB_STATUS_PRINTED 0x0080 +#define JOB_STATUS_DELETED 0x0100 +#define JOB_STATUS_BLOCKED_DEVQ 0x0200 +#define JOB_STATUS_USER_INTERVENTION 0x0400 + +#define JOB_POSITION_UNSPECIFIED 1 + +#define DI_CHANNEL 1 +#define DI_READ_SPOOL_JOB 3 + +#define FORM_USER 0 +#define FORM_BUILTIN 1 +#define FORM_PRINTER 2 + +#define PORT_TYPE_WRITE 1 +#define PORT_TYPE_READ 2 +#define PORT_TYPE_REDIRECTED 4 +#define PORT_TYPE_NET_ATTACHED 8 + +#define PORT_STATUS_TYPE_ERROR 1 +#define PORT_STATUS_TYPE_WARNING 2 +#define PORT_STATUS_TYPE_INFO 3 + +#define PORT_STATUS_OFFLINE 1 +#define PORT_STATUS_PAPER_JAM 2 +#define PORT_STATUS_PAPER_OUT 3 +#define PORT_STATUS_OUTPUT_BIN_FULL 4 +#define PORT_STATUS_PAPER_PROBLEM 5 +#define PORT_STATUS_NO_TONER 6 +#define PORT_STATUS_DOOR_OPEN 7 +#define PORT_STATUS_USER_INTERVENTION 8 +#define PORT_STATUS_OUT_OF_MEMORY 9 +#define PORT_STATUS_TONER_LOW 10 +#define PORT_STATUS_WARMING_UP 11 +#define PORT_STATUS_POWER_SAVE 12 + +#define PRINTER_NOTIFY_TYPE 0 +#define JOB_NOTIFY_TYPE 1 + +#define PRINTER_NOTIFY_FIELD_SERVER_NAME 0x00 +#define PRINTER_NOTIFY_FIELD_PRINTER_NAME 0x01 +#define PRINTER_NOTIFY_FIELD_SHARE_NAME 0x02 +#define PRINTER_NOTIFY_FIELD_PORT_NAME 0x03 +#define PRINTER_NOTIFY_FIELD_DRIVER_NAME 0x04 +#define PRINTER_NOTIFY_FIELD_COMMENT 0x05 +#define PRINTER_NOTIFY_FIELD_LOCATION 0x06 +#define PRINTER_NOTIFY_FIELD_DEVMODE 0x07 +#define PRINTER_NOTIFY_FIELD_SEPFILE 0x08 +#define PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR 0x09 +#define PRINTER_NOTIFY_FIELD_PARAMETERS 0x0a +#define PRINTER_NOTIFY_FIELD_DATATYPE 0x0b +#define PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR 0x0c +#define PRINTER_NOTIFY_FIELD_ATTRIBUTES 0x0d +#define PRINTER_NOTIFY_FIELD_PRIORITY 0x0e +#define PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY 0x0f +#define PRINTER_NOTIFY_FIELD_START_TIME 0x10 +#define PRINTER_NOTIFY_FIELD_UNTIL_TIME 0x11 +#define PRINTER_NOTIFY_FIELD_STATUS 0x12 +#define PRINTER_NOTIFY_FIELD_STATUS_STRING 0x13 +#define PRINTER_NOTIFY_FIELD_CJOBS 0x14 +#define PRINTER_NOTIFY_FIELD_AVERAGE_PPM 0x15 +#define PRINTER_NOTIFY_FIELD_TOTAL_PAGES 0x16 +#define PRINTER_NOTIFY_FIELD_PAGES_PRINTED 0x17 +#define PRINTER_NOTIFY_FIELD_TOTAL_BYTES 0x18 +#define PRINTER_NOTIFY_FIELD_BYTES_PRINTED 0x19 + +#define JOB_NOTIFY_FIELD_PRINTER_NAME 0x00 +#define JOB_NOTIFY_FIELD_MACHINE_NAME 0x01 +#define JOB_NOTIFY_FIELD_PORT_NAME 0x02 +#define JOB_NOTIFY_FIELD_USER_NAME 0x03 +#define JOB_NOTIFY_FIELD_NOTIFY_NAME 0x04 +#define JOB_NOTIFY_FIELD_DATATYPE 0x05 +#define JOB_NOTIFY_FIELD_PRINT_PROCESSOR 0x06 +#define JOB_NOTIFY_FIELD_PARAMETERS 0x07 +#define JOB_NOTIFY_FIELD_DRIVER_NAME 0x08 +#define JOB_NOTIFY_FIELD_DEVMODE 0x09 +#define JOB_NOTIFY_FIELD_STATUS 0x0a +#define JOB_NOTIFY_FIELD_STATUS_STRING 0x0b +#define JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR 0x0c +#define JOB_NOTIFY_FIELD_DOCUMENT 0x0d +#define JOB_NOTIFY_FIELD_PRIORITY 0x0e +#define JOB_NOTIFY_FIELD_POSITION 0x0f +#define JOB_NOTIFY_FIELD_SUBMITTED 0x10 +#define JOB_NOTIFY_FIELD_START_TIME 0x11 +#define JOB_NOTIFY_FIELD_UNTIL_TIME 0x12 +#define JOB_NOTIFY_FIELD_TIME 0x13 +#define JOB_NOTIFY_FIELD_TOTAL_PAGES 0x14 +#define JOB_NOTIFY_FIELD_PAGES_PRINTED 0x15 +#define JOB_NOTIFY_FIELD_TOTAL_BYTES 0x16 +#define JOB_NOTIFY_FIELD_BYTES_PRINTED 0x17 + +#define PRINTER_NOTIFY_OPTIONS_REFRESH 1 +#define PRINTER_NOTIFY_INFO_DISCARDED 1 + +#define PRINTER_CHANGE_ADD_PRINTER 0x00000001 +#define PRINTER_CHANGE_SET_PRINTER 0x00000002 +#define PRINTER_CHANGE_DELETE_PRINTER 0x00000004 +#define PRINTER_CHANGE_FAILED_CONNECTION_PRINTER 0x00000008 +#define PRINTER_CHANGE_PRINTER 0x000000ff +#define PRINTER_CHANGE_ADD_JOB 0x00000100 +#define PRINTER_CHANGE_SET_JOB 0x00000200 +#define PRINTER_CHANGE_DELETE_JOB 0x00000400 +#define PRINTER_CHANGE_WRITE_JOB 0x00000800 +#define PRINTER_CHANGE_JOB 0x0000ff00 +#define PRINTER_CHANGE_ADD_FORM 0x00010000 +#define PRINTER_CHANGE_SET_FORM 0x00020000 +#define PRINTER_CHANGE_DELETE_FORM 0x00040000 +#define PRINTER_CHANGE_FORM 0x00070000 +#define PRINTER_CHANGE_ADD_PORT 0x00100000 +#define PRINTER_CHANGE_CONFIGURE_PORT 0x00200000 +#define PRINTER_CHANGE_DELETE_PORT 0x00400000 +#define PRINTER_CHANGE_PORT 0x00700000 +#define PRINTER_CHANGE_ADD_PRINT_PROCESSOR 0x01000000 +#define PRINTER_CHANGE_DELETE_PRINTER_PROCESSOR 0x04000000 +#define PRINTER_CHANGE_PRINT_PROCESSOR 0x07000000 +#define PRINTER_CHANGE_ADD_PRINTER_DRIVER 0x10000000 +#define PRINTER_CHANGE_SET_PRINTER_DRIVER 0x20000000 +#define PRINTER_CHANGE_DELETE_PRINTER_DRIVER 0x40000000 +#define PRINTER_CHANGE_PRINTER_DRIVER 0x70000000 +#define PRINTER_CHANGE_TIMEOUT 0x80000000 +#define PRINTER_CHANGE_ALL 0x7777ffff + +#define PRINTER_ERROR_INFORMATION 0x80000000 +#define PRINTER_ERROR_WARNING 0x40000000 +#define PRINTER_ERROR_SEVERE 0x20000000 + +#define PRINTER_ERROR_OUTODPAPER 0x00000001 +#define PRINTER_ERROR_JAM 0x00000002 +#define PRINTER_ERROR_OUTOFTONER 0x00000004 + +/* Access Rights for Printserver, Printers and Printjobs */ +#define SERVER_ACCESS_ADMINISTER 0x00000001 +#define SERVER_ACCESS_ENUMERATE 0x00000002 +#define SERVER_READ (STANDARD_RIGHTS_READ | SERVER_ACCESS_ENUMERATE) +#define SERVER_WRITE (STANDARD_RIGHTS_WRITE | \ + SERVER_ACCESS_ADMINISTER | SERVER_ACCESS_ENUMERATE) +#define SERVER_EXECUTE (STANDARD_RIGHTS_EXECUTE | SERVER_ACCESS_ENUMERATE) +#define SERVER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \ + SERVER_ACCESS_ADMINISTER | SERVER_ACCESS_ENUMERATE) + +#define PRINTER_ACCESS_ADMINISTER 0x00000004 +#define PRINTER_ACCESS_USE 0x00000008 +#define PRINTER_READ (STANDARD_RIGHTS_READ | PRINTER_ACCESS_USE) +#define PRINTER_WRITE (STANDARD_RIGHTS_WRITE | PRINTER_ACCESS_USE) +#define PRINTER_EXECUTE (STANDARD_RIGHTS_EXECUTE | PRINTER_ACCESS_USE) +#define PRINTER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \ + PRINTER_ACCESS_ADMINISTER | PRINTER_ACCESS_USE) + +#define JOB_ACCESS_ADMINISTER 0x00000010 +#define JOB_READ (STANDARD_RIGHTS_READ | JOB_ACCESS_ADMINISTER) +#define JOB_WRITE (STANDARD_RIGHTS_WRITE | JOB_ACCESS_ADMINISTER) +#define JOB_EXECUTE (STANDARD_RIGHTS_EXECUTE | JOB_ACCESS_ADMINISTER) +#define JOB_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | JOB_ACCESS_ADMINISTER) + + +/* Flags for printer drivers */ +#define DRIVER_KERNELMODE 0x00000001 +#define DRIVER_USERMODE 0x00000002 + +#define APD_STRICT_UPGRADE 0x00000001 +#define APD_STRICT_DOWNGRADE 0x00000002 +#define APD_COPY_ALL_FILES 0x00000004 +#define APD_COPY_NEW_FILES 0x00000008 +#define APD_COPY_FROM_DIRECTORY 0x00000010 + +#define DPD_DELETE_UNUSED_FILES 0x00000001 +#define DPD_DELETE_SPECIFIC_VERSION 0x00000002 +#define DPD_DELETE_ALL_FILES 0x00000004 + +/* dwAction for PRINTER_INFO_7 */ +#define DSPRINT_PUBLISH 0x00000001 +#define DSPRINT_UPDATE 0x00000002 +#define DSPRINT_UNPUBLISH 0x00000004 +#define DSPRINT_REPUBLISH 0x00000008 +#define DSPRINT_PENDING 0x80000000 + +#define UPDP_SILENT_UPLOAD 0x00000001 +#define UPDP_UPLOAD_ALWAYS 0x00000002 +#define UPDP_CHECK_DRIVERSTORE 0x00000004 + +/* ##################################### */ + +/* TYPES */ +typedef struct _PRINTER_DEFAULTSA { + LPSTR pDatatype; + LPDEVMODEA pDevMode; + ACCESS_MASK DesiredAccess; +} PRINTER_DEFAULTSA, *LPPRINTER_DEFAULTSA; + +typedef struct _PRINTER_DEFAULTSW { + LPWSTR pDatatype; + LPDEVMODEW pDevMode; + ACCESS_MASK DesiredAccess; +} PRINTER_DEFAULTSW, *LPPRINTER_DEFAULTSW; + +DECL_WINELIB_TYPE_AW(PRINTER_DEFAULTS) +DECL_WINELIB_TYPE_AW(LPPRINTER_DEFAULTS) + +typedef struct _DRIVER_INFO_1A { + LPSTR pName; +} DRIVER_INFO_1A, *PDRIVER_INFO_1A, *LPDRIVER_INFO_1A; + +typedef struct _DRIVER_INFO_1W { + LPWSTR pName; +} DRIVER_INFO_1W, *PDRIVER_INFO_1W, *LPDRIVER_INFO_1W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_1) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_1) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_1) + +typedef struct _DRIVER_INFO_2A { + DWORD cVersion; + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDriverPath; + LPSTR pDataFile; + LPSTR pConfigFile; +} DRIVER_INFO_2A, *PDRIVER_INFO_2A, *LPDRIVER_INFO_2A; + +typedef struct _DRIVER_INFO_2W { + DWORD cVersion; + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDriverPath; + LPWSTR pDataFile; + LPWSTR pConfigFile; +} DRIVER_INFO_2W, *PDRIVER_INFO_2W, *LPDRIVER_INFO_2W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_2) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_2) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_2) + +typedef struct _DRIVER_INFO_3A { + DWORD cVersion; + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDriverPath; + LPSTR pDataFile; + LPSTR pConfigFile; + LPSTR pHelpFile; + LPSTR pDependentFiles; + LPSTR pMonitorName; + LPSTR pDefaultDataType; +} DRIVER_INFO_3A, *PDRIVER_INFO_3A, *LPDRIVER_INFO_3A; + +typedef struct _DRIVER_INFO_3W { + DWORD cVersion; + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDriverPath; + LPWSTR pDataFile; + LPWSTR pConfigFile; + LPWSTR pHelpFile; + LPWSTR pDependentFiles; + LPWSTR pMonitorName; + LPWSTR pDefaultDataType; +} DRIVER_INFO_3W, *PDRIVER_INFO_3W, *LPDRIVER_INFO_3W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_3) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_3) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_3) + +typedef struct _DRIVER_INFO_4A { + DWORD cVersion; + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDriverPath; + LPSTR pDataFile; + LPSTR pConfigFile; + LPSTR pHelpFile; + LPSTR pDependentFiles; + LPSTR pMonitorName; + LPSTR pDefaultDataType; + LPSTR pszzPreviousNames; +} DRIVER_INFO_4A, *PDRIVER_INFO_4A, *LPDRIVER_INFO_4A; + +typedef struct _DRIVER_INFO_4W { + DWORD cVersion; + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDriverPath; + LPWSTR pDataFile; + LPWSTR pConfigFile; + LPWSTR pHelpFile; + LPWSTR pDependentFiles; + LPWSTR pMonitorName; + LPWSTR pDefaultDataType; + LPWSTR pszzPreviousNames; +} DRIVER_INFO_4W, *PDRIVER_INFO_4W, *LPDRIVER_INFO_4W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_4) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_4) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_4) + + +typedef struct _DRIVER_INFO_5A { + DWORD cVersion; + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDriverPath; + LPSTR pDataFile; + LPSTR pConfigFile; + DWORD dwDriverAttributes; + DWORD dwConfigVersion; + DWORD dwDriverVersion; +} DRIVER_INFO_5A, *PDRIVER_INFO_5A, *LPDRIVER_INFO_5A; + +typedef struct _DRIVER_INFO_5W { + DWORD cVersion; + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDriverPath; + LPWSTR pDataFile; + LPWSTR pConfigFile; + DWORD dwDriverAttributes; + DWORD dwConfigVersion; + DWORD dwDriverVersion; +} DRIVER_INFO_5W, *PDRIVER_INFO_5W, *LPDRIVER_INFO_5W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_5) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_5) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_5) + +typedef struct _DRIVER_INFO_6A { + DWORD cVersion; + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDriverPath; + LPSTR pDataFile; + LPSTR pConfigFile; + LPSTR pHelpFile; + LPSTR pDependentFiles; + LPSTR pMonitorName; + LPSTR pDefaultDataType; + LPSTR pszzPreviousNames; + FILETIME ftDriverDate; + DWORDLONG dwlDriverVersion; + LPSTR pszMfgName; + LPSTR pszOEMUrl; + LPSTR pszHardwareID; + LPSTR pszProvider; +} DRIVER_INFO_6A, *PDRIVER_INFO_6A, *LPDRIVER_INFO_6A; + +typedef struct _DRIVER_INFO_6W { + DWORD cVersion; + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDriverPath; + LPWSTR pDataFile; + LPWSTR pConfigFile; + LPWSTR pHelpFile; + LPWSTR pDependentFiles; + LPWSTR pMonitorName; + LPWSTR pDefaultDataType; + LPWSTR pszzPreviousNames; + FILETIME ftDriverDate; + DWORDLONG dwlDriverVersion; + LPWSTR pszMfgName; + LPWSTR pszOEMUrl; + LPWSTR pszHardwareID; + LPWSTR pszProvider; +} DRIVER_INFO_6W, *PDRIVER_INFO_6W, *LPDRIVER_INFO_6W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_6) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_6) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_6) + +/* DRIVER_INFO_7 is not defined in native winspool.h and not found in the www */ + +typedef struct _DRIVER_INFO_8A { + DWORD cVersion; + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDriverPath; + LPSTR pDataFile; + LPSTR pConfigFile; + LPSTR pHelpFile; + LPSTR pDependentFiles; + LPSTR pMonitorName; + LPSTR pDefaultDataType; + LPSTR pszzPreviousNames; + FILETIME ftDriverDate; + DWORDLONG dwlDriverVersion; + LPSTR pszMfgName; + LPSTR pszOEMUrl; + LPSTR pszHardwareID; + LPSTR pszProvider; + LPSTR pszPrintProcessor; + LPSTR pszVendorSetup; + LPSTR pszzColorProfiles; + LPSTR pszInfPath; + DWORD dwPrinterDriverAttributes; + LPSTR pszzCoreDriverDependencies; + FILETIME ftMinInboxDriverVerDate; + DWORDLONG dwlMinInboxDriverVerVersion; +} DRIVER_INFO_8A, *PDRIVER_INFO_8A, *LPDRIVER_INFO_8A; + +typedef struct _DRIVER_INFO_8W { + DWORD cVersion; + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDriverPath; + LPWSTR pDataFile; + LPWSTR pConfigFile; + LPWSTR pHelpFile; + LPWSTR pDependentFiles; + LPWSTR pMonitorName; + LPWSTR pDefaultDataType; + LPWSTR pszzPreviousNames; + FILETIME ftDriverDate; + DWORDLONG dwlDriverVersion; + LPWSTR pszMfgName; + LPWSTR pszOEMUrl; + LPWSTR pszHardwareID; + LPWSTR pszProvider; + LPWSTR pszPrintProcessor; + LPWSTR pszVendorSetup; + LPWSTR pszzColorProfiles; + LPWSTR pszInfPath; + DWORD dwPrinterDriverAttributes; + LPWSTR pszzCoreDriverDependencies; + FILETIME ftMinInboxDriverVerDate; + DWORDLONG dwlMinInboxDriverVerVersion; +} DRIVER_INFO_8W, *PDRIVER_INFO_8W, *LPDRIVER_INFO_8W; + +DECL_WINELIB_TYPE_AW(DRIVER_INFO_8) +DECL_WINELIB_TYPE_AW(PDRIVER_INFO_8) +DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_8) + + +typedef struct _PRINTER_INFO_1A { + DWORD Flags; + LPSTR pDescription; + LPSTR pName; + LPSTR pComment; +} PRINTER_INFO_1A, *PPRINTER_INFO_1A, *LPPRINTER_INFO_1A; + +typedef struct _PRINTER_INFO_1W { + DWORD Flags; + LPWSTR pDescription; + LPWSTR pName; + LPWSTR pComment; +} PRINTER_INFO_1W, *PPRINTER_INFO_1W, *LPPRINTER_INFO_1W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_1) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_1) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_1) + +/* FIXME: winspool.h declares some structure members with the name Status. + * unfortunately #defines Status to the type 'int' + * therefore the following hack */ +#ifndef Status + +typedef struct _PRINTER_INFO_2A { + LPSTR pServerName; + LPSTR pPrinterName; + LPSTR pShareName; + LPSTR pPortName; + LPSTR pDriverName; + LPSTR pComment; + LPSTR pLocation; + LPDEVMODEA pDevMode; + LPSTR pSepFile; + LPSTR pPrintProcessor; + LPSTR pDatatype; + LPSTR pParameters; + PSECURITY_DESCRIPTOR pSecurityDescriptor; + DWORD Attributes; + DWORD Priority; + DWORD DefaultPriority; + DWORD StartTime; + DWORD UntilTime; + DWORD Status; + DWORD cJobs; + DWORD AveragePPM; +} PRINTER_INFO_2A, *PPRINTER_INFO_2A, *LPPRINTER_INFO_2A; + +typedef struct _PRINTER_INFO_2W { + LPWSTR pServerName; + LPWSTR pPrinterName; + LPWSTR pShareName; + LPWSTR pPortName; + LPWSTR pDriverName; + LPWSTR pComment; + LPWSTR pLocation; + LPDEVMODEW pDevMode; + LPWSTR pSepFile; + LPWSTR pPrintProcessor; + LPWSTR pDatatype; + LPWSTR pParameters; + PSECURITY_DESCRIPTOR pSecurityDescriptor; + DWORD Attributes; + DWORD Priority; + DWORD DefaultPriority; + DWORD StartTime; + DWORD UntilTime; + DWORD Status; + DWORD cJobs; + DWORD AveragePPM; +} PRINTER_INFO_2W, *PPRINTER_INFO_2W, *LPPRINTER_INFO_2W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_2) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_2) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_2) + +typedef struct _PRINTER_INFO_3 { + PSECURITY_DESCRIPTOR pSecurityDescriptor; +} PRINTER_INFO_3, *PPRINTER_INFO_3, *LPPRINTER_INFO_3; + +typedef struct _PRINTER_INFO_4A { + LPSTR pPrinterName; + LPSTR pServerName; + DWORD Attributes; +} PRINTER_INFO_4A, *PPRINTER_INFO_4A, *LPPRINTER_INFO_4A; + +typedef struct _PRINTER_INFO_4W { + LPWSTR pPrinterName; + LPWSTR pServerName; + DWORD Attributes; +} PRINTER_INFO_4W, *PPRINTER_INFO_4W, *LPPRINTER_INFO_4W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_4) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_4) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_4) + +typedef struct _PRINTER_INFO_5A { + LPSTR pPrinterName; + LPSTR pPortName; + DWORD Attributes; + DWORD DeviceNotSelectedTimeout; + DWORD TransmissionRetryTimeout; +} PRINTER_INFO_5A, *PPRINTER_INFO_5A, *LPPRINTER_INFO_5A; + +typedef struct _PRINTER_INFO_5W { + LPWSTR pPrinterName; + LPWSTR pPortName; + DWORD Attributes; + DWORD DeviceNotSelectedTimeout; + DWORD TransmissionRetryTimeout; +} PRINTER_INFO_5W, *PPRINTER_INFO_5W, *LPPRINTER_INFO_5W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_5) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_5) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_5) + +typedef struct _PRINTER_INFO_6 { + DWORD dwStatus; +} PRINTER_INFO_6, *PPRINTER_INFO_6, *LPPRINTER_INFO_6; + +typedef struct _PRINTER_INFO_7A { + LPSTR pszObjectGUID; + DWORD dwAction; +} PRINTER_INFO_7A, *PPRINTER_INFO_7A, *LPPRINTER_INFO_7A; + +typedef struct _PRINTER_INFO_7W { + LPWSTR pszObjectGUID; + DWORD dwAction; +} PRINTER_INFO_7W, *PPRINTER_INFO_7W, *LPPRINTER_INFO_7W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_7) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_7) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_7) + +typedef struct _PRINTER_INFO_8A { + LPDEVMODEA pDevMode; +} PRINTER_INFO_8A, *PPRINTER_INFO_8A, *LPPRINTER_INFO_8A; + +typedef struct _PRINTER_INFO_8W { + LPDEVMODEW pDevMode; +} PRINTER_INFO_8W, *PPRINTER_INFO_8W, *LPPRINTER_INFO_8W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_8) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_8) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_8) + +typedef struct _PRINTER_INFO_9A { + LPDEVMODEA pDevMode; +} PRINTER_INFO_9A, *PPRINTER_INFO_9A, *LPPRINTER_INFO_9A; + +typedef struct _PRINTER_INFO_9W { + LPDEVMODEW pDevMode; +} PRINTER_INFO_9W, *PPRINTER_INFO_9W, *LPPRINTER_INFO_9W; + +DECL_WINELIB_TYPE_AW(PRINTER_INFO_9) +DECL_WINELIB_TYPE_AW(PPRINTER_INFO_9) +DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_9) + + +typedef struct _JOB_INFO_1A { + DWORD JobId; + LPSTR pPrinterName; + LPSTR pMachineName; + LPSTR pUserName; + LPSTR pDocument; + LPSTR pDatatype; + LPSTR pStatus; + DWORD Status; + DWORD Priority; + DWORD Position; + DWORD TotalPages; + DWORD PagesPrinted; + SYSTEMTIME Submitted; +} JOB_INFO_1A, *PJOB_INFO_1A, *LPJOB_INFO_1A; + +typedef struct _JOB_INFO_1W { + DWORD JobId; + LPWSTR pPrinterName; + LPWSTR pMachineName; + LPWSTR pUserName; + LPWSTR pDocument; + LPWSTR pDatatype; + LPWSTR pStatus; + DWORD Status; + DWORD Priority; + DWORD Position; + DWORD TotalPages; + DWORD PagesPrinted; + SYSTEMTIME Submitted; +} JOB_INFO_1W, *PJOB_INFO_1W, *LPJOB_INFO_1W; + +DECL_WINELIB_TYPE_AW(JOB_INFO_1) +DECL_WINELIB_TYPE_AW(PJOB_INFO_1) +DECL_WINELIB_TYPE_AW(LPJOB_INFO_1) + +typedef struct _JOB_INFO_2A { + DWORD JobId; + LPSTR pPrinterName; + LPSTR pMachineName; + LPSTR pUserName; + LPSTR pDocument; + LPSTR pNotifyName; + LPSTR pDatatype; + LPSTR pPrintProcessor; + LPSTR pParameters; + LPSTR pDriverName; + LPDEVMODEA pDevMode; + LPSTR pStatus; + PSECURITY_DESCRIPTOR pSecurityDescriptor; + DWORD Status; + DWORD Priority; + DWORD Position; + DWORD StartTime; + DWORD UntilTime; + DWORD TotalPages; + DWORD Size; + SYSTEMTIME Submitted; + DWORD Time; + DWORD PagesPrinted; +} JOB_INFO_2A, *PJOB_INFO_2A, *LPJOB_INFO_2A; + +typedef struct _JOB_INFO_2W { + DWORD JobId; + LPWSTR pPrinterName; + LPWSTR pMachineName; + LPWSTR pUserName; + LPWSTR pDocument; + LPWSTR pNotifyName; + LPWSTR pDatatype; + LPWSTR pPrintProcessor; + LPWSTR pParameters; + LPWSTR pDriverName; + LPDEVMODEW pDevMode; + LPWSTR pStatus; + PSECURITY_DESCRIPTOR pSecurityDescriptor; + DWORD Status; + DWORD Priority; + DWORD Position; + DWORD StartTime; + DWORD UntilTime; + DWORD TotalPages; + DWORD Size; + SYSTEMTIME Submitted; + DWORD Time; + DWORD PagesPrinted; +} JOB_INFO_2W, *PJOB_INFO_2W, *LPJOB_INFO_2W; + +DECL_WINELIB_TYPE_AW(JOB_INFO_2) +DECL_WINELIB_TYPE_AW(PJOB_INFO_2) +DECL_WINELIB_TYPE_AW(LPJOB_INFO_2) + +typedef struct _JOB_INFO_3 { + DWORD JobId; + DWORD NextJobId; + DWORD Reserved; +} JOB_INFO_3, *PJOB_INFO_3, *LPJOB_INFO_3; + +typedef struct _ADDJOB_INFO_1A { + LPSTR Path; + DWORD JobId; +} ADDJOB_INFO_1A, *PADDJOB_INFO_1A, *LPADDJOB_INFO_1A; + +typedef struct _ADDJOB_INFO_1W { + LPWSTR Path; + DWORD JobId; +} ADDJOB_INFO_1W, *PADDJOB_INFO_1W, *LPADDJOB_INFO_1W; + +DECL_WINELIB_TYPE_AW(ADDJOB_INFO_1) +DECL_WINELIB_TYPE_AW(PADDJOB_INFO_1) +DECL_WINELIB_TYPE_AW(LPADDJOB_INFO_1) + +typedef struct _DOC_INFO_1A { + LPSTR pDocName; + LPSTR pOutputFile; + LPSTR pDatatype; +} DOC_INFO_1A, *PDOC_INFO_1A, *LPDOC_INFO_1A; + +typedef struct _DOC_INFO_1W { + LPWSTR pDocName; + LPWSTR pOutputFile; + LPWSTR pDatatype; +} DOC_INFO_1W, *PDOC_INFO_1W, *LPDOC_INFO_1W; + +DECL_WINELIB_TYPE_AW(DOC_INFO_1) +DECL_WINELIB_TYPE_AW(PDOC_INFO_1) +DECL_WINELIB_TYPE_AW(LPDOC_INFO_1) + +typedef struct _DOC_INFO_2A { + LPSTR pDocName; + LPSTR pOutputFile; + LPSTR pDatatype; + DWORD dwMode; + DWORD JobId; +} DOC_INFO_2A, *PDOC_INFO_2A, *LPDOC_INFO_2A; + +typedef struct _DOC_INFO_2W { + LPWSTR pDocName; + LPWSTR pOutputFile; + LPWSTR pDatatype; + DWORD dwMode; + DWORD JobId; +} DOC_INFO_2W, *PDOC_INFO_2W, *LPDOC_INFO_2W; + +DECL_WINELIB_TYPE_AW(DOC_INFO_2) +DECL_WINELIB_TYPE_AW(PDOC_INFO_2) +DECL_WINELIB_TYPE_AW(LPDOC_INFO_2) + +typedef struct _FORM_INFO_1A { + DWORD Flags; + LPSTR pName; + SIZEL Size; + RECTL ImageableArea; +} FORM_INFO_1A, *PFORM_INFO_1A, *LPFORM_INFO_1A; + +typedef struct _FORM_INFO_1W { + DWORD Flags; + LPWSTR pName; + SIZEL Size; + RECTL ImageableArea; +} FORM_INFO_1W, *PFORM_INFO_1W, *LPFORM_INFO_1W; + +DECL_WINELIB_TYPE_AW(FORM_INFO_1) +DECL_WINELIB_TYPE_AW(PFORM_INFO_1) +DECL_WINELIB_TYPE_AW(LPFORM_INFO_1) + +typedef struct _FORM_INFO_2A { + DWORD Flags; + LPSTR pName; + SIZEL Size; + RECTL ImageableArea; + LPCSTR pKeyword; + DWORD StringType; + LPSTR pMuiDll; + DWORD dwResourceId; + LPSTR pDisplayName; + LANGID wLangId; +} FORM_INFO_2A, *PFORM_INFO_2A, *LPFORM_INFO_2A; + +typedef struct _FORM_INFO_2W { + DWORD Flags; + LPWSTR pName; + SIZEL Size; + RECTL ImageableArea; + LPCSTR pKeyword; + DWORD StringType; + LPWSTR pMuiDll; + DWORD dwResourceId; + LPWSTR pDisplayName; + LANGID wLangId; +} FORM_INFO_2W, *PFORM_INFO_2W, *LPFORM_INFO_2W; + +DECL_WINELIB_TYPE_AW(FORM_INFO_2) +DECL_WINELIB_TYPE_AW(PFORM_INFO_2) +DECL_WINELIB_TYPE_AW(LPFORM_INFO_2) + +typedef struct _PRINTPROCESSOR_INFO_1A { + LPSTR pName; +} PRINTPROCESSOR_INFO_1A, *PPRINTPROCESSOR_INFO_1A, + *LPPRINTPROCESSOR_INFO_1A; + +typedef struct _PRINTPROCESSOR_INFO_1W { + LPWSTR pName; +} PRINTPROCESSOR_INFO_1W, *PPRINTPROCESSOR_INFO_1W, + *LPPRINTPROCESSOR_INFO_1W; + +DECL_WINELIB_TYPE_AW(PRINTPROCESSOR_INFO_1) +DECL_WINELIB_TYPE_AW(PPRINTPROCESSOR_INFO_1) +DECL_WINELIB_TYPE_AW(LPPRINTPROCESSOR_INFO_1) + +typedef struct _PORT_INFO_1A { + LPSTR pName; +} PORT_INFO_1A, *PPORT_INFO_1A, *LPPORT_INFO_1A; + +typedef struct _PORT_INFO_1W { + LPWSTR pName; +} PORT_INFO_1W, *PPORT_INFO_1W, *LPPORT_INFO_1W; + +DECL_WINELIB_TYPE_AW(PORT_INFO_1) +DECL_WINELIB_TYPE_AW(PPORT_INFO_1) +DECL_WINELIB_TYPE_AW(LPPORT_INFO_1) + +typedef struct _PORT_INFO_2A { + LPSTR pPortName; + LPSTR pMonitorName; + LPSTR pDescription; + DWORD fPortType; + DWORD Reserved; +} PORT_INFO_2A, *PPORT_INFO_2A, *LPPORT_INFO_2A; + +typedef struct _PORT_INFO_2W { + LPWSTR pPortName; + LPWSTR pMonitorName; + LPWSTR pDescription; + DWORD fPortType; + DWORD Reserved; +} PORT_INFO_2W, *PPORT_INFO_2W, *LPPORT_INFO_2W; + +DECL_WINELIB_TYPE_AW(PORT_INFO_2) +DECL_WINELIB_TYPE_AW(PPORT_INFO_2) +DECL_WINELIB_TYPE_AW(LPPORT_INFO_2) + +typedef struct _PORT_INFO_3A { + DWORD dwStatus; + LPSTR pszStatus; + DWORD dwSeverity; +} PORT_INFO_3A, *PPORT_INFO_3A, *LPPORT_INFO_3A; + +typedef struct _PORT_INFO_3W { + DWORD dwStatus; + LPWSTR pszStatus; + DWORD dwSeverity; +} PORT_INFO_3W, *PPORT_INFO_3W, *LPPORT_INFO_3W; + +DECL_WINELIB_TYPE_AW(PORT_INFO_3) +DECL_WINELIB_TYPE_AW(PPORT_INFO_3) +DECL_WINELIB_TYPE_AW(LPPORT_INFO_3) + +typedef struct _MONITOR_INFO_1A { + LPSTR pName; +} MONITOR_INFO_1A, *PMONITOR_INFO_1A, *LPMONITOR_INFO_1A; + +typedef struct _MONITOR_INFO_1W { + LPWSTR pName; +} MONITOR_INFO_1W, *PMONITOR_INFO_1W, *LPMONITOR_INFO_1W; + +DECL_WINELIB_TYPE_AW(MONITOR_INFO_1) +DECL_WINELIB_TYPE_AW(PMONITOR_INFO_1) +DECL_WINELIB_TYPE_AW(LPMONITOR_INFO_1) + +#endif /* Status */ + + +typedef struct _MONITOR_INFO_2A { + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDLLName; +} MONITOR_INFO_2A, *PMONITOR_INFO_2A, *LPMONITOR_INFO_2A; + +typedef struct _MONITOR_INFO_2W { + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDLLName; +} MONITOR_INFO_2W, *PMONITOR_INFO_2W, *LPMONITOR_INFO_2W; + +DECL_WINELIB_TYPE_AW(MONITOR_INFO_2) +DECL_WINELIB_TYPE_AW(PMONITOR_INFO_2) +DECL_WINELIB_TYPE_AW(LPMONITOR_INFO_2) + +typedef struct _DATATYPES_INFO_1A { + LPSTR pName; +} DATATYPES_INFO_1A, *PDATATYPES_INFO_1A, *LPDATATYPES_INFO_1A; + +typedef struct _DATATYPES_INFO_1W { + LPWSTR pName; +} DATATYPES_INFO_1W, *PDATATYPES_INFO_1W, *LPDATATYPES_INFO_1W; + +DECL_WINELIB_TYPE_AW(DATATYPES_INFO_1) +DECL_WINELIB_TYPE_AW(PDATATYPES_INFO_1) +DECL_WINELIB_TYPE_AW(LPDATATYPES_INFO_1) + +typedef struct _PRINTER_NOTIFY_OPTIONS_TYPE { + WORD Type; + WORD Reserved0; + DWORD Reserved1; + DWORD Reserved2; + DWORD Count; + PWORD pFields; +} PRINTER_NOTIFY_OPTIONS_TYPE, *PPRINTER_NOTIFY_OPTIONS_TYPE, +*LPPRINTER_NOTIFY_OPTIONS_TYPE; + +typedef struct _PRINTER_NOTIFY_OPTIONS { + DWORD Version; + DWORD Flags; + DWORD Count; + PPRINTER_NOTIFY_OPTIONS_TYPE pTypes; +} PRINTER_NOTIFY_OPTIONS, *PPRINTER_NOTIFY_OPTIONS, *LPPRINTER_NOTIFY_OPTIONS; + +typedef struct _PRINTER_NOTIFY_INFO_DATA { + WORD Type; + WORD Field; + DWORD Reserved; + DWORD Id; + union { + DWORD adwData[2]; + struct { + DWORD cbBuf; + LPVOID pBuf; + } Data; + } NotifyData; +} PRINTER_NOTIFY_INFO_DATA, *PPRINTER_NOTIFY_INFO_DATA, +*LPPRINTER_NOTIFY_INFO_DATA; + +typedef struct _PRINTER_NOTIFY_INFO { + DWORD Version; + DWORD Flags; + DWORD Count; + PRINTER_NOTIFY_INFO_DATA aData[1]; +} PRINTER_NOTIFY_INFO, *PPRINTER_NOTIFY_INFO, *LPPRINTER_NOTIFY_INFO; + +typedef struct _PROVIDOR_INFO_1A { + LPSTR pName; + LPSTR pEnvironment; + LPSTR pDLLName; +} PROVIDOR_INFO_1A, *PPROVIDOR_INFO_1A, *LPPROVIDOR_INFO_1A; + +typedef struct _PROVIDOR_INFO_1W { + LPWSTR pName; + LPWSTR pEnvironment; + LPWSTR pDLLName; +} PROVIDOR_INFO_1W, *PPROVIDOR_INFO_1W, *LPPROVIDOR_INFO_1W; + +DECL_WINELIB_TYPE_AW(PROVIDOR_INFO_1) +DECL_WINELIB_TYPE_AW(PPROVIDOR_INFO_1) +DECL_WINELIB_TYPE_AW(LPPROVIDOR_INFO_1) + +typedef struct _PRINTER_ENUM_VALUESA { + LPSTR pValueName; + DWORD cbValueName; + DWORD dwType; + LPBYTE pData; + DWORD cbData; +} PRINTER_ENUM_VALUESA, *PPRINTER_ENUM_VALUESA; + +typedef struct _PRINTER_ENUM_VALUESW { + LPWSTR pValueName; + DWORD cbValueName; + DWORD dwType; + LPBYTE pData; + DWORD cbData; +} PRINTER_ENUM_VALUESW, *PPRINTER_ENUM_VALUESW; + +DECL_WINELIB_TYPE_AW(PRINTER_ENUM_VALUES) +DECL_WINELIB_TYPE_AW(PPRINTER_ENUM_VALUES) + +typedef enum { + BIDI_NULL = 0, + BIDI_INT, + BIDI_FLOAT, + BIDI_BOOL, + BIDI_STRING, + BIDI_TEXT, + BIDI_ENUM, + BIDI_BLOB +} BIDI_TYPE; + +typedef struct _BINARY_CONTAINER { + DWORD cbBuf; + LPBYTE pData; +} BINARY_CONTAINER, *PBINARY_CONTAINER; + +typedef struct _BIDI_DATA { + DWORD dwBidiType; + union + { + BOOL bData; + INT iData; + LPWSTR sData; + FLOAT fData; + BINARY_CONTAINER biData; + } u; +} BIDI_DATA, *LPBIDI_DATA, *PBIDI_DATA; + +typedef struct _BIDI_REQUEST_DATA { + DWORD dwReqNumber; + LPWSTR pSchema; + BIDI_DATA data; +} BIDI_REQUEST_DATA, *LPBIDI_REQUEST_DATA, *PBIDI_REQUEST_DATA; + +typedef struct _BIDI_REQUEST_CONTAINER { + DWORD Version; + DWORD Flags; + DWORD Count; + BIDI_REQUEST_DATA aData[1]; +} BIDI_REQUEST_CONTAINER, *LPBIDI_REQUEST_CONTAINER, *PBIDI_REQUEST_CONTAINER; + +typedef struct _BIDI_RESPONSE_DATA { + DWORD dwResult; + DWORD dwReqNumber; + LPWSTR pSchema; + BIDI_DATA data; +} BIDI_RESPONSE_DATA, *LPBIDI_RESPONSE_DATA, *PBIDI_RESPONSE_DATA; + +typedef struct _BIDI_RESPONSE_CONTAINER { + DWORD Version; + DWORD Flags; + DWORD Count; + BIDI_RESPONSE_DATA aData[1]; +} BIDI_RESPONSE_CONTAINER, *LPBIDI_RESPONSE_CONTAINER, *PBIDI_RESPONSE_CONTAINER; + +/* string constants */ + +#define SPLREG_DEFAULT_SPOOL_DIRECTORYA "DefaultSpoolDirectory" +#ifdef _MSC_VER +#define SPLREG_DEFAULT_SPOOL_DIRECTORYW L"DefaultSpoolDirectory" +#elif defined(__GNUC__) +#define SPLREG_DEFAULT_SPOOL_DIRECTORYW (const WCHAR[]){'D','e','f','a','u','l','t','S','p','o','o','l','D','i','r','e','c','t','o','r','y',0} +#else +static const WCHAR SPLREG_DEFAULT_SPOOL_DIRECTORYW[] = {'D','e','f','a','u','l','t','S','p','o','o','l','D','i','r','e','c','t','o','r','y',0}; +#endif +#define SPLREG_DEFAULT_SPOOL_DIRECTORY WINELIB_NAME_AW(SPLREG_DEFAULT_SPOOL_DIRECTORY) + +#define SPLREG_PORT_THREAD_PRIORITY_DEFAULTA "PortThreadPriorityDefault" +#ifdef _MSC_VER +#define SPLREG_PORT_THREAD_PRIORITY_DEFAULTW L"PortThreadPriorityDefault" +#elif defined(__GNUC__) +#define SPLREG_PORT_THREAD_PRIORITY_DEFAULTW (const WCHAR[]){'P','o','r','t','T','h','r','e','a','d','P','r','i','o','r','i','t','y','D','e','f','a','u','l','t',0} +#else +static const WCHAR SPLREG_PORT_THREAD_PRIORITY_DEFAULTW[] = {'P','o','r','t','T','h','r','e','a','d','P','r','i','o','r','i','t','y','D','e','f','a','u','l','t',0}; +#endif +#define SPLREG_PORT_THREAD_PRIORITY_DEFAULT WINELIB_NAME_AW(SPLREG_PORT_THREAD_PRIORITY_DEFAULT) + +#define SPLREG_PORT_THREAD_PRIORITYA "PortThreadPriority" +#ifdef _MSC_VER +#define SPLREG_PORT_THREAD_PRIORITYW L"PortThreadPriority" +#elif defined(__GNUC__) +#define SPLREG_PORT_THREAD_PRIORITYW (const WCHAR[]){'P','o','r','t','T','h','r','e','a','d','P','r','i','o','r','i','t','y',0} +#else +static const WCHAR SPLREG_PORT_THREAD_PRIORITYW[] = {'P','o','r','t','T','h','r','e','a','d','P','r','i','o','r','i','t','y',0}; +#endif +#define SPLREG_PORT_THREAD_PRIORITY WINELIB_NAME_AW(SPLREG_PORT_THREAD_PRIORITY) + +#define SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULTA "SchedulerThreadPriorityDefault" +#ifdef _MSC_VER +#define SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULTW L"SchedulerThreadPriorityDefault" +#elif defined(__GNUC__) +#define SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULTW (const WCHAR[]){'S','c','h','e','d','u','l','e','r','T','h','r','e','a','d','P','r','i','o','r','i','t','y','D','e','f','a','u','l','t',0} +#else +static const WCHAR SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULTW[] = {'S','c','h','e','d','u','l','e','r','T','h','r','e','a','d','P','r','i','o','r','i','t','y','D','e','f','a','u','l','t',0}; +#endif +#define SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULT WINELIB_NAME_AW(SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULT) + +#define SPLREG_SCHEDULER_THREAD_PRIORITYA "SchedulerThreadPriority" +#ifdef _MSC_VER +#define SPLREG_SCHEDULER_THREAD_PRIORITYW L"SchedulerThreadPriority" +#elif defined(__GNUC__) +#define SPLREG_SCHEDULER_THREAD_PRIORITYW (const WCHAR[]){'S','c','h','e','d','u','l','e','r','T','h','r','e','a','d','P','r','i','o','r','i','t','y',0} +#else +static const WCHAR SPLREG_SCHEDULER_THREAD_PRIORITYW[] = {'S','c','h','e','d','u','l','e','r','T','h','r','e','a','d','P','r','i','o','r','i','t','y',0}; +#endif +#define SPLREG_SCHEDULER_THREAD_PRIORITY WINELIB_NAME_AW(SPLREG_SCHEDULER_THREAD_PRIORITY) + +#define SPLREG_BEEP_ENABLEDA "BeepEnabled" +#ifdef _MSC_VER +#define SPLREG_BEEP_ENABLEDW L"BeepEnabled" +#elif defined(__GNUC__) +#define SPLREG_BEEP_ENABLEDW (const WCHAR[]){'B','e','e','p','E','n','a','b','l','e','d',0} +#else +static const WCHAR SPLREG_BEEP_ENABLEDW[] = {'B','e','e','p','E','n','a','b','l','e','d',0}; +#endif +#define SPLREG_BEEP_ENABLED WINELIB_NAME_AW(SPLREG_BEEP_ENABLED) + +#define SPLREG_NET_POPUPA "NetPopup" +#ifdef _MSC_VER +#define SPLREG_NET_POPUPW L"NetPopup" +#elif defined(__GNUC__) +#define SPLREG_NET_POPUPW (const WCHAR[]){'N','e','t','P','o','p','u','p',0} +#else +static const WCHAR SPLREG_NET_POPUPW[] = {'N','e','t','P','o','p','u','p',0}; +#endif +#define SPLREG_NET_POPUP WINELIB_NAME_AW(SPLREG_NET_POPUP) + +#define SPLREG_RETRY_POPUPA "RetryPopup" +#ifdef _MSC_VER +#define SPLREG_RETRY_POPUPW L"RetryPopup" +#elif defined(__GNUC__) +#define SPLREG_RETRY_POPUPW (const WCHAR[]){'R','e','t','r','y','P','o','p','u','p',0} +#else +static const WCHAR SPLREG_RETRY_POPUPW[] = {'R','e','t','r','y','P','o','p','u','p',0}; +#endif +#define SPLREG_RETRY_POPUP WINELIB_NAME_AW(SPLREG_RETRY_POPUP) + +#define SPLREG_NET_POPUP_TO_COMPUTERA "NetPopupToComputer" +#ifdef _MSC_VER +#define SPLREG_NET_POPUP_TO_COMPUTERW L"NetPopupToComputer" +#elif defined(__GNUC__) +#define SPLREG_NET_POPUP_TO_COMPUTERW (const WCHAR[]){'N','e','t','P','o','p','u','p','T','o','C','o','m','p','u','t','e','r',0} +#else +static const WCHAR SPLREG_NET_POPUP_TO_COMPUTERW[] = {'N','e','t','P','o','p','u','p','T','o','C','o','m','p','u','t','e','r',0}; +#endif +#define SPLREG_NET_POPUP_TO_COMPUTER WINELIB_NAME_AW(SPLREG_NET_POPUP_TO_COMPUTER) + +#define SPLREG_EVENT_LOGA "EventLog" +#ifdef _MSC_VER +#define SPLREG_EVENT_LOGW L"EventLog" +#elif defined(__GNUC__) +#define SPLREG_EVENT_LOGW (const WCHAR[]){'E','v','e','n','t','L','o','g',0} +#else +static const WCHAR SPLREG_EVENT_LOGW[] = {'E','v','e','n','t','L','o','g',0}; +#endif +#define SPLREG_EVENT_LOG WINELIB_NAME_AW(SPLREG_EVENT_LOG) + +#define SPLREG_MAJOR_VERSIONA "MajorVersion" +#ifdef _MSC_VER +#define SPLREG_MAJOR_VERSIONW L"MajorVersion" +#elif defined(__GNUC__) +#define SPLREG_MAJOR_VERSIONW (const WCHAR[]){'M','a','j','o','r','V','e','r','s','i','o','n',0} +#else +static const WCHAR SPLREG_MAJOR_VERSIONW[] = {'M','a','j','o','r','V','e','r','s','i','o','n',0}; +#endif +#define SPLREG_MAJOR_VERSION WINELIB_NAME_AW(SPLREG_MAJOR_VERSION) + +#define SPLREG_MINOR_VERSIONA "MinorVersion" +#ifdef _MSC_VER +#define SPLREG_MINOR_VERSIONW L"MinorVersion" +#elif defined(__GNUC__) +#define SPLREG_MINOR_VERSIONW (const WCHAR[]){'M','i','n','o','r','V','e','r','s','i','o','n',0} +#else +static const WCHAR SPLREG_MINOR_VERSIONW[] = {'M','i','n','o','r','V','e','r','s','i','o','n',0}; +#endif +#define SPLREG_MINOR_VERSION WINELIB_NAME_AW(SPLREG_MINOR_VERSION) + +#define SPLREG_ARCHITECTUREA "Architecture" +#ifdef _MSC_VER +#define SPLREG_ARCHITECTUREW L"Architecture" +#elif defined(__GNUC__) +#define SPLREG_ARCHITECTUREW (const WCHAR[]){'A','r','c','h','i','t','e','c','t','u','r','e',0} +#else +static const WCHAR SPLREG_ARCHITECTUREW[] = {'A','r','c','h','i','t','e','c','t','u','r','e',0}; +#endif +#define SPLREG_ARCHITECTURE WINELIB_NAME_AW(SPLREG_ARCHITECTURE) + +#define SPLREG_OS_VERSIONA "OSVersion" +#ifdef _MSC_VER +#define SPLREG_OS_VERSIONW L"OSVersion" +#elif defined(__GNUC__) +#define SPLREG_OS_VERSIONW (const WCHAR[]){'O','S','V','e','r','s','i','o','n',0} +#else +static const WCHAR SPLREG_OS_VERSIONW[] = {'O','S','V','e','r','s','i','o','n',0}; +#endif +#define SPLREG_OS_VERSION WINELIB_NAME_AW(SPLREG_OS_VERSION) + +#define SPLREG_OS_VERSIONEXA "OSVersionEx" +#ifdef _MSC_VER +#define SPLREG_OS_VERSIONEXW L"OSVersionEx" +#elif defined(__GNUC__) +#define SPLREG_OS_VERSIONEXW (const WCHAR[]){'O','S','V','e','r','s','i','o','n','E','x',0} +#else +static const WCHAR SPLREG_OS_VERSIONEXW[] = {'O','S','V','e','r','s','i','o','n','E','x',0}; +#endif +#define SPLREG_OS_VERSIONEX WINELIB_NAME_AW(SPLREG_OS_VERSIONEX) + +#define SPLREG_DS_PRESENTA "DsPresent" +#ifdef _MSC_VER +#define SPLREG_DS_PRESENTW L"DsPresent" +#elif defined(__GNUC__) +#define SPLREG_DS_PRESENTW (const WCHAR[]){'D','s','P','r','e','s','e','n','t',0} +#else +static const WCHAR SPLREG_DS_PRESENTW[] = {'D','s','P','r','e','s','e','n','t',0}; +#endif +#define SPLREG_DS_PRESENT WINELIB_NAME_AW(SPLREG_DS_PRESENT) + +#define SPLREG_DS_PRESENT_FOR_USERA "DsPresentForUser" +#ifdef _MSC_VER +#define SPLREG_DS_PRESENT_FOR_USERW L"DsPresentForUser" +#elif defined(__GNUC__) +#define SPLREG_DS_PRESENT_FOR_USERW (const WCHAR[]){'D','s','P','r','e','s','e','n','t','F','o','r','U','s','e','r',0} +#else +static const WCHAR SPLREG_DS_PRESENT_FOR_USERW[] = {'D','s','P','r','e','s','e','n','t','F','o','r','U','s','e','r',0}; +#endif +#define SPLREG_DS_PRESENT_FOR_USER WINELIB_NAME_AW(SPLREG_DS_PRESENT_FOR_USER) + +#define SPLREG_REMOTE_FAXA "RemoteFax" +#ifdef _MSC_VER +#define SPLREG_REMOTE_FAXW L"RemoteFax" +#elif defined(__GNUC__) +#define SPLREG_REMOTE_FAXW (const WCHAR[]){'R','e','m','o','t','e','F','a','x',0} +#else +static const WCHAR SPLREG_REMOTE_FAXW[] = {'R','e','m','o','t','e','F','a','x',0}; +#endif +#define SPLREG_REMOTE_FAX WINELIB_NAME_AW(SPLREG_REMOTE_FAX) + +#define SPLREG_RESTART_JOB_ON_POOL_ERRORA "RestartJobOnPoolError" +#ifdef _MSC_VER +#define SPLREG_RESTART_JOB_ON_POOL_ERRORW L"RestartJobOnPoolError" +#elif defined(__GNUC__) +#define SPLREG_RESTART_JOB_ON_POOL_ERRORW (const WCHAR[]){'R','e','s','t','a','r','t','J','o','b','O','n','P','o','o','l','E','r','r','o','r',0} +#else +static const WCHAR SPLREG_RESTART_JOB_ON_POOL_ERRORW[] = {'R','e','s','t','a','r','t','J','o','b','O','n','P','o','o','l','E','r','r','o','r',0}; +#endif +#define SPLREG_RESTART_JOB_ON_POOL_ERROR WINELIB_NAME_AW(SPLREG_RESTART_JOB_ON_POOL_ERROR) + +#define SPLREG_RESTART_JOB_ON_POOL_ENABLEDA "RestartJobOnPoolEnabled" +#ifdef _MSC_VER +#define SPLREG_RESTART_JOB_ON_POOL_ENABLEDW L"RestartJobOnPoolEnabled" +#elif defined(__GNUC__) +#define SPLREG_RESTART_JOB_ON_POOL_ENABLEDW (const WCHAR[]){'R','e','s','t','a','r','t','J','o','b','O','n','P','o','o','l','E','n','a','b','l','e','d',0} +#else +static const WCHAR SPLREG_RESTART_JOB_ON_POOL_ENABLEDW[] = {'R','e','s','t','a','r','t','J','o','b','O','n','P','o','o','l','E','n','a','b','l','e','d',0}; +#endif +#define SPLREG_RESTART_JOB_ON_POOL_ENABLED WINELIB_NAME_AW(SPLREG_RESTART_JOB_ON_POOL_ENABLED) + +#define SPLREG_DNS_MACHINE_NAMEA "DNSMachineName" +#ifdef _MSC_VER +#define SPLREG_DNS_MACHINE_NAMEW L"DNSMachineName" +#elif defined(__GNUC__) +#define SPLREG_DNS_MACHINE_NAMEW (const WCHAR[]){'D','N','S','M','a','c','h','i','n','e','N','a','m','e',0} +#else +static const WCHAR SPLREG_DNS_MACHINE_NAMEW[] = {'D','N','S','M','a','c','h','i','n','e','N','a','m','e',0}; +#endif +#define SPLREG_DNS_MACHINE_NAME WINELIB_NAME_AW(SPLREG_DNS_MACHINE_NAME) + +#define SPLREG_ALLOW_USER_MANAGEFORMSA "AllowUserManageForms" +#ifdef _MSC_VER +#define SPLREG_ALLOW_USER_MANAGEFORMSW L"AllowUserManageForms" +#elif defined(__GNUC__) +#define SPLREG_ALLOW_USER_MANAGEFORMSW (const WCHAR[]){'A','l','l','o','w','U','s','e','r','M','a','n','a','g','e','F','o','r','m','s',0} +#else +static const WCHAR SPLREG_ALLOW_USER_MANAGEFORMSW[] = {'A','l','l','o','w','U','s','e','r','M','a','n','a','g','e','F','o','r','m','s',0}; +#endif +#define SPLREG_ALLOW_USER_MANAGEFORMS WINELIB_NAME_AW(SPLREG_ALLOW_USER_MANAGEFORMS) + +#define SPLREG_WEBSHAREMGMTA "WebShareMgmt" +#ifdef _MSC_VER +#define SPLREG_WEBSHAREMGMTW L"WebShareMgmt" +#elif defined(__GNUC__) +#define SPLREG_WEBSHAREMGMTW (const WCHAR[]){'W','e','b','S','h','a','r','e','M','g','m','t',0} +#else +static const WCHAR SPLREG_WEBSHAREMGMTW[] = {'W','e','b','S','h','a','r','e','M','g','m','t',0}; +#endif +#define SPLREG_WEBSHAREMGMT WINELIB_NAME_AW(SPLREG_WEBSHAREMGMT) + +#define SPLREG_PRINT_DRIVER_ISOLATION_GROUPSA "PrintDriverIsolationGroups" +#ifdef _MSC_VER +#define SPLREG_PRINT_DRIVER_ISOLATION_GROUPSW L"PrintDriverIsolationGroups" +#elif defined(__GNUC__) +#define SPLREG_PRINT_DRIVER_ISOLATION_GROUPSW (const WCHAR[]){'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','G','r','o','u','p','s',0} +#else +static const WCHAR SPLREG_PRINT_DRIVER_ISOLATION_GROUPSW[] = {'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','G','r','o','u','p','s',0}; +#endif +#define SPLREG_PRINT_DRIVER_ISOLATION_GROUPS WINELIB_NAME_AW(SPLREG_PRINT_DRIVER_ISOLATION_GROUPS) + +#define SPLREG_PRINT_DRIVER_ISOLATION_TIME_BEFORE_RECYCLEA "PrintDriverIsolationTimeBeforeRecycle" +#ifdef _MSC_VER +#define SPLREG_PRINT_DRIVER_ISOLATION_TIME_BEFORE_RECYCLEW L"PrintDriverIsolationTimeBeforeRecycle" +#elif defined(__GNUC__) +#define SPLREG_PRINT_DRIVER_ISOLATION_TIME_BEFORE_RECYCLEW (const WCHAR[]){'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','T','i','m','e','B','e','f','o','r','e','R','e','c','y','c','l','e',0} +#else +static const WCHAR SPLREG_PRINT_DRIVER_ISOLATION_TIME_BEFORE_RECYCLEW[] = {'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','T','i','m','e','B','e','f','o','r','e','R','e','c','y','c','l','e',0}; +#endif +#define SPLREG_PRINT_DRIVER_ISOLATION_TIME_BEFORE_RECYCLE WINELIB_NAME_AW(SPLREG_PRINT_DRIVER_ISOLATION_TIME_BEFORE_RECYCLE) + +#define SPLREG_PRINT_DRIVER_ISOLATION_MAX_OBJECTS_BEFORE_RECYCLEA "PrintDriverIsolationMaxobjsBeforeRecycle" +#ifdef _MSC_VER +#define SPLREG_PRINT_DRIVER_ISOLATION_MAX_OBJECTS_BEFORE_RECYCLEW L"PrintDriverIsolationMaxobjsBeforeRecycle" +#elif defined(__GNUC__) +#define SPLREG_PRINT_DRIVER_ISOLATION_MAX_OBJECTS_BEFORE_RECYCLEW (const WCHAR[]){'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','M','a','x','o','b','j','s','B','e','f','o','r','e','R','e','c','y','c','l','e',0} +#else +static const WCHAR SPLREG_PRINT_DRIVER_ISOLATION_MAX_OBJECTS_BEFORE_RECYCLEW[] = {'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','M','a','x','o','b','j','s','B','e','f','o','r','e','R','e','c','y','c','l','e',0}; +#endif +#define SPLREG_PRINT_DRIVER_ISOLATION_MAX_OBJECTS_BEFORE_RECYCLE WINELIB_NAME_AW(SPLREG_PRINT_DRIVER_ISOLATION_MAX_OBJECTS_BEFORE_RECYCLE) + +#define SPLREG_PRINT_DRIVER_ISOLATION_IDLE_TIMEOUTA "PrintDriverIsolationIdleTimeout" +#ifdef _MSC_VER +#define SPLREG_PRINT_DRIVER_ISOLATION_IDLE_TIMEOUTW L"PrintDriverIsolationIdleTimeout" +#elif defined(__GNUC__) +#define SPLREG_PRINT_DRIVER_ISOLATION_IDLE_TIMEOUTW (const WCHAR[]){'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','I','d','l','e','T','i','m','e','o','u','t',0} +#else +static const WCHAR SPLREG_PRINT_DRIVER_ISOLATION_IDLE_TIMEOUTW[] = {'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','I','d','l','e','T','i','m','e','o','u','t',0}; +#endif +#define SPLREG_PRINT_DRIVER_ISOLATION_IDLE_TIMEOUT WINELIB_NAME_AW(SPLREG_PRINT_DRIVER_ISOLATION_IDLE_TIMEOUT) + +#define SPLREG_PRINT_DRIVER_ISOLATION_EXECUTION_POLICYA "PrintDriverIsolationExecutionPolicy" +#ifdef _MSC_VER +#define SPLREG_PRINT_DRIVER_ISOLATION_EXECUTION_POLICYW L"PrintDriverIsolationExecutionPolicy" +#elif defined(__GNUC__) +#define SPLREG_PRINT_DRIVER_ISOLATION_EXECUTION_POLICYW (const WCHAR[]){'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','E','x','e','c','u','t','i','o','n','P','o','l','i','c','y',0} +#else +static const WCHAR SPLREG_PRINT_DRIVER_ISOLATION_EXECUTION_POLICYW[] = {'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','E','x','e','c','u','t','i','o','n','P','o','l','i','c','y',0}; +#endif +#define SPLREG_PRINT_DRIVER_ISOLATION_EXECUTION_POLICY WINELIB_NAME_AW(SPLREG_PRINT_DRIVER_ISOLATION_EXECUTION_POLICY) + +#define SPLREG_PRINT_DRIVER_ISOLATION_OVERRIDE_POLICYA "PrintDriverIsolationOverrideCompat" +#ifdef _MSC_VER +#define SPLREG_PRINT_DRIVER_ISOLATION_OVERRIDE_POLICYW L"PrintDriverIsolationOverrideCompat" +#elif defined(__GNUC__) +#define SPLREG_PRINT_DRIVER_ISOLATION_OVERRIDE_POLICYW (const WCHAR[]){'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','O','v','e','r','r','i','d','e','C','o','m','p','a','t',0} +#else +static const WCHAR SPLREG_PRINT_DRIVER_ISOLATION_OVERRIDE_POLICYW[] = {'P','r','i','n','t','D','r','i','v','e','r','I','s','o','l','a','t','i','o','n','O','v','e','r','r','i','d','e','C','o','m','p','a','t',0}; +#endif +#define SPLREG_PRINT_DRIVER_ISOLATION_OVERRIDE_POLICY WINELIB_NAME_AW(SPLREG_PRINT_DRIVER_ISOLATION_OVERRIDE_POLICY) + +/* DECLARATIONS */ +INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort,WORD fwCapability, + LPSTR pOutput, LPDEVMODEA pDevMode); +INT WINAPI DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, + WORD fwCapability, LPWSTR pOutput, + const DEVMODEW *pDevMode); + +#define DeviceCapabilities WINELIB_NAME_AW(DeviceCapabilities) + +LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter, + LPSTR pDeviceName, LPDEVMODEA pDevModeOutput, + LPDEVMODEA pDevModeInput,DWORD fMode ); +LONG WINAPI DocumentPropertiesW(HWND hWnd, HANDLE hPrinter, + LPWSTR pDeviceName, + LPDEVMODEW pDevModeOutput, + LPDEVMODEW pDevModeInput, DWORD fMode); + +#define DocumentProperties WINELIB_NAME_AW(DocumentProperties) + +BOOL WINAPI OpenPrinterA(LPSTR lpPrinterName,HANDLE *phPrinter, + LPPRINTER_DEFAULTSA pDefault); +BOOL WINAPI OpenPrinterW(LPWSTR lpPrinterName,HANDLE *phPrinter, + LPPRINTER_DEFAULTSW pDefault); + +#define OpenPrinter WINELIB_NAME_AW(OpenPrinter) + +BOOL WINAPI ResetPrinterA(HANDLE hPrinter, LPPRINTER_DEFAULTSA pDefault); +BOOL WINAPI ResetPrinterW(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault); +#define ResetPrinter WINELIB_NAME_AW(ResetPrinter) + +BOOL WINAPI ClosePrinter (HANDLE phPrinter); + +BOOL WINAPI EnumJobsA(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, + DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcReturned); +BOOL WINAPI EnumJobsW(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, + DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcReturned); +#define EnumJobs WINELIB_NAME_AW(EnumJobs) + +BOOL WINAPI EnumPrintersA(DWORD dwType, LPSTR lpszName, + DWORD dwLevel, LPBYTE lpbPrinters, + DWORD cbBuf, LPDWORD lpdwNeeded, + LPDWORD lpdwReturned); +BOOL WINAPI EnumPrintersW(DWORD dwType, LPWSTR lpszName, + DWORD dwLevel, LPBYTE lpbPrinters, + DWORD cbBuf, LPDWORD lpdwNeeded, + LPDWORD lpdwReturned); +#define EnumPrinters WINELIB_NAME_AW(EnumPrinters) + +BOOL WINAPI PrinterProperties(HWND hWnd, HANDLE hPrinter); + +BOOL WINAPI GetPrinterDriverDirectoryA(LPSTR,LPSTR,DWORD,LPBYTE,DWORD,LPDWORD); +BOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR,LPWSTR,DWORD,LPBYTE,DWORD,LPDWORD); +#define GetPrinterDriverDirectory WINELIB_NAME_AW(GetPrinterDriverDirectory) + +BOOL WINAPI GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, + DWORD Level, LPBYTE pDriverInfo, + DWORD cbBuf, LPDWORD pcbNeeded); +BOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, + DWORD Level, LPBYTE pDriverInfo, + DWORD cbBuf, LPDWORD pcbNeeded); +#define GetPrinterDriver WINELIB_NAME_AW(GetPrinterDriver) + +BOOL WINAPI SetJobA(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, + DWORD Command); +BOOL WINAPI SetJobW(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, + DWORD Command); +#define SetJob WINELIB_NAME_AW(SetJob) + +BOOL WINAPI GetJobA(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, + DWORD cbBuf, LPDWORD pcbNeeded); +BOOL WINAPI GetJobW(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, + DWORD cbBuf, LPDWORD pcbNeeded); +#define GetJob WINELIB_NAME_AW(GetJob) + +HANDLE WINAPI AddPrinterA(LPSTR pName, DWORD Level, LPBYTE pPrinter); +HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter); +#define AddPrinter WINELIB_NAME_AW(AddPrinter) + +BOOL WINAPI DeletePrinter(HANDLE hPrinter); + +BOOL WINAPI SetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, + DWORD Command); +BOOL WINAPI SetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, + DWORD Command); +#define SetPrinter WINELIB_NAME_AW(SetPrinter) + +BOOL WINAPI GetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, + DWORD cbBuf, LPDWORD pcbNeeded); +BOOL WINAPI GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, + DWORD cbBuf, LPDWORD pcbNeeded); +#define GetPrinter WINELIB_NAME_AW(GetPrinter) + +BOOL WINAPI AddPrinterDriverA(LPSTR pName, DWORD Level, LPBYTE pDriverInfo); +BOOL WINAPI AddPrinterDriverW(LPWSTR pName, DWORD Level, LPBYTE pDriverInfo); +#define AddPrinterDriver WINELIB_NAME_AW(AddPrinterDriver) + +BOOL WINAPI AddPrinterDriverExA(LPSTR pName, DWORD Level, LPBYTE pDriverInfo, + DWORD dwFileCopyFlags); +BOOL WINAPI AddPrinterDriverExW(LPWSTR pName, DWORD Level, LPBYTE pDriverInfo, + DWORD dwFileCopyFlags); +#define AddPrinterDriverEx WINELIB_NAME_AW(AddPrinterDriverEx) + +BOOL WINAPI EnumPrinterDriversA(LPSTR pName, LPSTR pEnvironment, DWORD Level, + LPBYTE pDriverInfo, DWORD cbBuf, + LPDWORD pcbNeeded, LPDWORD pcbReturned); +BOOL WINAPI EnumPrinterDriversW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, + LPBYTE pDriverInfo, DWORD cbBuf, + LPDWORD pcbNeeded, LPDWORD pcbReturned); +#define EnumPrinterDrivers WINELIB_NAME_AW(EnumPrinterDrivers) + +BOOL WINAPI GetDefaultPrinterA(LPSTR pName, LPDWORD pcbNameSize); +BOOL WINAPI GetDefaultPrinterW(LPWSTR pName, LPDWORD pcbNameSize); +#define GetDefaultPrinter WINELIB_NAME_AW(GetDefaultPrinter) + +BOOL WINAPI SetDefaultPrinterA(LPCSTR); +BOOL WINAPI SetDefaultPrinterW(LPCWSTR); +#define SetDefaultPrinter WINELIB_NAME_AW(SetDefaultPrinter) + +BOOL WINAPI DeletePrinterDriverA(LPSTR pName, LPSTR pEnvironment, + LPSTR pDriverName); +BOOL WINAPI DeletePrinterDriverW(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pDriverName); +#define DeletePrinterDriver WINELIB_NAME_AW(DeletePrinterDriver) + +BOOL WINAPI DeletePrinterDriverExA(LPSTR pName, LPSTR pEnvironment, + LPSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag); +BOOL WINAPI DeletePrinterDriverExW(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag); +#define DeletePrinterDriverEx WINELIB_NAME_AW(DeletePrinterDriverEx) + +BOOL WINAPI AddPrintProcessorA(LPSTR pName, LPSTR pEnvironment, + LPSTR pPathName, LPSTR pPrintProcessorName); +BOOL WINAPI AddPrintProcessorW(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pPathName, LPWSTR pPrintProcessorName); +#define AddPrintProcessor WINELIB_NAME_AW(AddPrintProcessor) + +BOOL WINAPI EnumPrintProcessorsA(LPSTR pName, LPSTR pEnvironment, + DWORD Level, LPBYTE pPrintProcessorInfo, + DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcbReturned); +BOOL WINAPI EnumPrintProcessorsW(LPWSTR pName, LPWSTR pEnvironment, + DWORD Level, LPBYTE pPrintProcessorInfo, + DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcbReturned); +#define EnumPrintProcessors WINELIB_NAME_AW(EnumPrintProcessors) + +BOOL WINAPI GetPrintProcessorDirectoryA(LPSTR pName, LPSTR pEnvironment, + DWORD Level, + LPBYTE pPrintProcessorInfo, + DWORD cbBuf, LPDWORD pcbNeeded); + +BOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, + DWORD Level, + LPBYTE pPrintProcessorInfo, + DWORD cbBuf, LPDWORD pcbNeeded); +#define GetPrintProcessorDirectory WINELIB_NAME_AW(GetPrintProcessorDirectory) + +BOOL WINAPI EnumPrintProcessorDatatypesA(LPSTR pName, + LPSTR pPrintProcessorName, + DWORD Level, LPBYTE pDatatypes, + DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcbReturned); +BOOL WINAPI EnumPrintProcessorDatatypesW(LPWSTR pName, + LPWSTR pPrintProcessorName, + DWORD Level, LPBYTE pDatatypes, + DWORD cbBuf, LPDWORD pcbNeeded, + LPDWORD pcbReturned); +#define EnumPrintProcessorDatatypes WINELIB_NAME_AW(EnumPrintProcessorDatatypes) + +BOOL WINAPI DeletePrintProcessorA(LPSTR pName, LPSTR pEnvironment, + LPSTR pPrintProcessorName); +BOOL WINAPI DeletePrintProcessorW(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pPrintProcessorName); +#define DeletePrintProcessor WINELIB_NAME_AW(DeletePrintProcessor) + +DWORD WINAPI StartDocPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo); +DWORD WINAPI StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo); +#define StartDocPrinter WINELIB_NAME_AW(StartDocPrinter) + +BOOL WINAPI StartPagePrinter(HANDLE hPrinter); +BOOL WINAPI WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, + LPDWORD pcWritten); +BOOL WINAPI EndPagePrinter(HANDLE hPrinter); +BOOL WINAPI AbortPrinter(HANDLE hPrinter); +BOOL WINAPI ReadPrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, + LPDWORD pNoBytesRead); +BOOL WINAPI EndDocPrinter(HANDLE hPrinter); + +BOOL WINAPI AddJobA(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, + LPDWORD pcbNeeded); +BOOL WINAPI AddJobW(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, + LPDWORD pcbNeeded); +#define AddJob WINELIB_NAME_AW(AddJob) + +BOOL WINAPI ScheduleJob(HANDLE hPrinter, DWORD JobID); + +LONG WINAPI AdvancedDocumentPropertiesA(HWND hWnd, HANDLE hPrinter, + LPSTR pDeviceName, + PDEVMODEA pDevModeOutput, + PDEVMODEA pDevModeInput); +LONG WINAPI AdvancedDocumentPropertiesW(HWND hWnd, HANDLE hPrinter, + LPWSTR pDeviceName, + PDEVMODEW pDevModeOutput, + PDEVMODEW pDevModeInput); +#define AdvancedDocumentProperties WINELIB_NAME_AW(AdvancedDocumentProperties) + +DWORD WINAPI GetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, LPDWORD pType, + LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); +DWORD WINAPI GetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, LPDWORD pType, + LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); +#define GetPrinterData WINELIB_NAME_AW(GetPrinterData) + +DWORD WINAPI GetPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, + LPCSTR pValueName, LPDWORD pType, + LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); +DWORD WINAPI GetPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, + LPCWSTR pValueName, LPDWORD pType, + LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); +#define GetPrinterDataEx WINELIB_NAME_AW(GetPrinterDataEx) + +DWORD WINAPI DeletePrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, + LPCSTR pValueName); +DWORD WINAPI DeletePrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, + LPCWSTR pValueName); +#define DeletePrinterDataEx WINELIB_NAME_AW(DeletePrinterDataEx) + +DWORD WINAPI SetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, DWORD Type, + LPBYTE pData, DWORD cbData); +DWORD WINAPI SetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, DWORD Type, + LPBYTE pData, DWORD cbData); +#define SetPrinterData WINELIB_NAME_AW(SetPrinterData) + +DWORD WINAPI SetPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, + LPCSTR pValueName, DWORD Type, + LPBYTE pData, DWORD cbData); +DWORD WINAPI SetPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, + LPCWSTR pValueName, DWORD Type, + LPBYTE pData, DWORD cbData); +#define SetPrinterDataEx WINELIB_NAME_AW(SetPrinterDataEx) + +DWORD WINAPI WaitForPrinterChange(HANDLE hPrinter, DWORD Flags); +HANDLE WINAPI FindFirstPrinterChangeNotification(HANDLE hPrinter, + DWORD fdwFlags, + DWORD fdwOptions, + LPVOID pPrinterNotifyOptions); +BOOL WINAPI FindNextPrinterChangeNotification(HANDLE hChange, + PDWORD pdwChange, + LPVOID pvReserved, + LPVOID *ppPrinterNotifyInfo); +BOOL WINAPI FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO pPrinterNotifyInfo); +BOOL WINAPI FindClosePrinterChangeNotification(HANDLE hChange); + +DWORD WINAPI PrinterMessageBoxA(HANDLE hPrinter, DWORD Error, HWND hWnd, + LPSTR pText, LPSTR pCaption, DWORD dwType); +DWORD WINAPI PrinterMessageBoxW(HANDLE hPrinter, DWORD Error, HWND hWnd, + LPWSTR pText, LPWSTR pCaption, DWORD dwType); +#define PrinterMessageBox WINELIB_NAME_AW(PrinterMessageBox) + +BOOL WINAPI AddFormA(HANDLE hPrinter, DWORD Level, LPBYTE pForm); +BOOL WINAPI AddFormW(HANDLE hPrinter, DWORD Level, LPBYTE pForm); +#define AddForm WINELIB_NAME_AW(AddForm) + +BOOL WINAPI DeleteFormA(HANDLE hPrinter, LPSTR pFormName); +BOOL WINAPI DeleteFormW(HANDLE hPrinter, LPWSTR pFormName); +#define DeleteForm WINELIB_NAME_AW(DeleteForm) + +BOOL WINAPI GetFormA(HANDLE hPrinter, LPSTR pFormName, DWORD Level, + LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded); +BOOL WINAPI GetFormW(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, + LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded); +#define GetForm WINELIB_NAME_AW(GetForm) + +BOOL WINAPI SetFormA(HANDLE hPrinter, LPSTR pFormName, DWORD Level, + LPBYTE pForm); +BOOL WINAPI SetFormW(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, + LPBYTE pForm); +#define SetForm WINELIB_NAME_AW(SetForm) + +BOOL WINAPI EnumFormsA(HANDLE hPrinter, DWORD Level, LPBYTE pForm, DWORD cbBuf, + LPDWORD pcbNeeded, LPDWORD pcReturned); +BOOL WINAPI EnumFormsW(HANDLE hPrinter, DWORD Level, LPBYTE pForm, DWORD cbBuf, + LPDWORD pcbNeeded, LPDWORD pcReturned); +#define EnumForms WINELIB_NAME_AW(EnumForms) + +BOOL WINAPI EnumMonitorsA(LPSTR pName, DWORD Level, LPBYTE pMonitors, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); +BOOL WINAPI EnumMonitorsW(LPWSTR pName, DWORD Level, LPBYTE pMonitors, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); +#define EnumMonitors WINELIB_NAME_AW(EnumMonitors) + +DWORD WINAPI EnumPrinterDataA( HANDLE hPrinter, DWORD dwIndex, LPSTR pValueName, + DWORD cbValueName, LPDWORD pcbValueName, LPDWORD pType, LPBYTE pData, + DWORD cbData, LPDWORD pcbData ); +DWORD WINAPI EnumPrinterDataW( HANDLE hPrinter, DWORD dwIndex, LPWSTR pValueName, + DWORD cbValueName, LPDWORD pcbValueName, LPDWORD pType, LPBYTE pData, + DWORD cbData, LPDWORD pcbData ); +#define EnumPrinterData WINELIB_NAME_AW(EnumPrinterData) + +BOOL WINAPI AddMonitorA(LPSTR pName, DWORD Level, LPBYTE pMonitors); +BOOL WINAPI AddMonitorW(LPWSTR pName, DWORD Level, LPBYTE pMonitors); +#define AddMonitor WINELIB_NAME_AW(AddMonitor) + +BOOL WINAPI DeleteMonitorA(LPSTR pName, LPSTR pEnvironment, + LPSTR pMonitorName); +BOOL WINAPI DeleteMonitorW(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pMonitorName); +#define DeleteMonitor WINELIB_NAME_AW(DeleteMonitor) + +BOOL WINAPI EnumPortsA(LPSTR pName, DWORD Level, LPBYTE pPorts, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); +BOOL WINAPI EnumPortsW(LPWSTR pName, DWORD Level, LPBYTE pPorts, + DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); +#define EnumPorts WINELIB_NAME_AW(EnumPorts) + +BOOL WINAPI AddPortA(LPSTR pName, HWND hWnd, LPSTR pMonitorName); +BOOL WINAPI AddPortW(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName); +#define AddPort WINELIB_NAME_AW(AddPort) + +BOOL WINAPI AddPortExA(LPSTR, DWORD, LPBYTE, LPSTR); +BOOL WINAPI AddPortExW(LPWSTR, DWORD, LPBYTE, LPWSTR); +#define AddPortEx WINELIB_NAME_AW(AddPortEx) + +BOOL WINAPI ConfigurePortA(LPSTR pName, HWND hWnd, LPSTR pPortName); +BOOL WINAPI ConfigurePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName); +#define ConfigurePort WINELIB_NAME_AW(ConfigurePort) + +BOOL WINAPI DeletePortA(LPSTR pName, HWND hWnd, LPSTR pPortName); +BOOL WINAPI DeletePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName); +#define DeletePort WINELIB_NAME_AW(DeletePort) + +BOOL WINAPI SetPortA(LPSTR pName, LPSTR pPortName, DWORD dwLevel, + LPBYTE pPortInfo); +BOOL WINAPI SetPortW(LPWSTR pName, LPWSTR pPortName, DWORD dwLevel, + LPBYTE pPortInfo); +#define SetPort WINELIB_NAME_AW(SetPort) + +BOOL WINAPI AddPrinterConnectionA(LPSTR pName); +BOOL WINAPI AddPrinterConnectionW(LPWSTR pName); +#define AddPrinterConnection WINELIB_NAME_AW(AddPrinterConnection) + +BOOL WINAPI DeletePrinterConnectionA(LPSTR pName); +BOOL WINAPI DeletePrinterConnectionW(LPWSTR pName); +#define DeletePrinterConnection WINELIB_NAME_AW(DeletePrinterConnection) + +HANDLE WINAPI ConnectToPrinterDlg(HWND hwnd, DWORD Flags); + +BOOL WINAPI AddPrintProvidorA(LPSTR pName, DWORD Level, LPBYTE pProvidorInfo); +BOOL WINAPI AddPrintProvidorW(LPWSTR pName, DWORD Level, LPBYTE pProvidorInfo); +#define AddPrintProvidor WINELIB_NAME_AW(AddPrintProvidor) + +BOOL WINAPI DeletePrintProvidorA(LPSTR pName, LPSTR pEnvironment, + LPSTR pPrintProvidorName); +BOOL WINAPI DeletePrintProvidorW(LPWSTR pName, LPWSTR pEnvironment, + LPWSTR pPrintProvidorName); +#define DeletePrintProvidor WINELIB_NAME_AW(DeletePrintProvidor) + +DWORD WINAPI EnumPrinterKeyA(HANDLE printer, const CHAR *key, + CHAR *subkey, DWORD size, DWORD *needed); +DWORD WINAPI EnumPrinterKeyW(HANDLE printer, const WCHAR *key, + WCHAR *subkey, DWORD size, DWORD *needed); +#define EnumPrinterKey WINELIB_NAME_AW(EnumPrinterKey) + +DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, + LPBYTE pEnumValues, DWORD cbEnumValues, + LPDWORD pcbEnumValues, LPDWORD pnEnumValues); +DWORD WINAPI EnumPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, + LPBYTE pEnumValues, DWORD cbEnumValues, + LPDWORD pcbEnumValues, LPDWORD pnEnumValues); +#define EnumPrinterDataEx WINELIB_NAME_AW(EnumPrinterDataEx) + +LONG WINAPI ExtDeviceMode( HWND hWnd, HANDLE hInst, LPDEVMODEA pDevModeOutput, + LPSTR pDeviceName, LPSTR pPort, LPDEVMODEA pDevModeInput, LPSTR pProfile, + DWORD fMode); + +LPSTR WINAPI StartDocDlgA(HANDLE hPrinter, DOCINFOA *doc); +LPWSTR WINAPI StartDocDlgW(HANDLE hPrinter, DOCINFOW *doc); +#define StartDocDlg WINELIB_NAME_AW(StartDocDlg) + +HRESULT WINAPI UploadPrinterDriverPackageA(LPCSTR,LPCSTR,LPCSTR,DWORD,HWND,LPSTR,PULONG); +HRESULT WINAPI UploadPrinterDriverPackageW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,HWND,LPWSTR,PULONG); +#define UploadPrinterDriverPackage WINELIB_NAME_AW(UploadPrinterDriverPackage) + +BOOL WINAPI XcvDataW(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInputData, + DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, + PDWORD pcbOutputNeeded, PDWORD pdwStatus); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __WINE_WINSPOOL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winstring.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winstring.h new file mode 100644 index 0000000..27c299b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winstring.h @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2014 Martin Storsjo + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINSTRING_H +#define __WINE_WINSTRING_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT WINAPI WindowsCompareStringOrdinal(HSTRING str1, HSTRING str2, INT32 *order); +HRESULT WINAPI WindowsConcatString(HSTRING str1, HSTRING str2, HSTRING *out); +HRESULT WINAPI WindowsCreateString(LPCWSTR ptr, UINT32 len, HSTRING *out); +HRESULT WINAPI WindowsCreateStringReference(LPCWSTR ptr, UINT32 len, + HSTRING_HEADER *header, HSTRING *out); +HRESULT WINAPI WindowsDeleteString(HSTRING str); +HRESULT WINAPI WindowsDeleteStringBuffer(HSTRING_BUFFER buf); +HRESULT WINAPI WindowsDuplicateString(HSTRING str, HSTRING *out); +UINT32 WINAPI WindowsGetStringLen(HSTRING str); +LPCWSTR WINAPI WindowsGetStringRawBuffer(HSTRING str, UINT32 *len); +BOOL WINAPI WindowsIsStringEmpty(HSTRING str); +HRESULT WINAPI WindowsPreallocateStringBuffer(UINT32 len, WCHAR **outptr, HSTRING_BUFFER *out); +HRESULT WINAPI WindowsPromoteStringBuffer(HSTRING_BUFFER buf, HSTRING *out); +HRESULT WINAPI WindowsReplaceString(HSTRING haystack, HSTRING needle, HSTRING replacement, + HSTRING *out); +HRESULT WINAPI WindowsStringHasEmbeddedNull(HSTRING str, BOOL *out); +HRESULT WINAPI WindowsSubstring(HSTRING str, UINT32 pos, HSTRING *out); +HRESULT WINAPI WindowsSubstringWithSpecifiedLength(HSTRING str, UINT32 pos, + UINT32 len, HSTRING *out); +HRESULT WINAPI WindowsTrimStringEnd(HSTRING str, HSTRING charstr, HSTRING *out); +HRESULT WINAPI WindowsTrimStringStart(HSTRING str, HSTRING charstr, HSTRING *out); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_WINSTRING_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsvc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsvc.h new file mode 100644 index 0000000..7d768f5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsvc.h @@ -0,0 +1,453 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINSVC_H +#define __WINE_WINSVC_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifdef _ADVAPI32_ +#define WINADVAPI +#else +#define WINADVAPI DECLSPEC_IMPORT +#endif + +/* Service database names */ +#define SERVICES_ACTIVE_DATABASEA "ServicesActive" +#define SERVICES_FAILED_DATABASEA "ServicesFailed" + +#if defined(__GNUC__) +# define SERVICES_ACTIVE_DATABASEW (const WCHAR []){ 'S','e','r','v','i','c','e','s','A','c','t','i','v','e',0 } +# define SERVICES_FAILED_DATABASEW (const WCHAR []){ 'S','e','r','v','i','c','e','s','F','a','i','l','e','d',0 } +#elif defined(_MSC_VER) +# define SERVICES_ACTIVE_DATABASEW L"ServicesActive" +# define SERVICES_FAILED_DATABASEW L"ServicesFailed" +#endif + +#define SERVICES_ACTIVE_DATABASE WINELIB_NAME_AW( SERVICES_ACTIVE_DATABASE ) +#define SERVICES_FAILED_DATABASE WINELIB_NAME_AW( SERVICES_FAILED_DATABASE ) + +/* Service State requests */ +#define SERVICE_ACTIVE 0x00000001 +#define SERVICE_INACTIVE 0x00000002 +#define SERVICE_STATE_ALL (SERVICE_ACTIVE | SERVICE_INACTIVE) + +/* Controls */ +#define SERVICE_CONTROL_STOP 0x00000001 +#define SERVICE_CONTROL_PAUSE 0x00000002 +#define SERVICE_CONTROL_CONTINUE 0x00000003 +#define SERVICE_CONTROL_INTERROGATE 0x00000004 +#define SERVICE_CONTROL_SHUTDOWN 0x00000005 +#define SERVICE_CONTROL_PARAMCHANGE 0x00000006 +#define SERVICE_CONTROL_NETBINDADD 0x00000007 +#define SERVICE_CONTROL_NETBINDREMOVE 0x00000008 +#define SERVICE_CONTROL_NETBINDENABLE 0x00000009 +#define SERVICE_CONTROL_NETBINDDISABLE 0x0000000A +#define SERVICE_CONTROL_DEVICEEVENT 0x0000000B +#define SERVICE_CONTROL_HARDWAREPROFILECHANGE 0x0000000C +#define SERVICE_CONTROL_POWEREVENT 0x0000000D +#define SERVICE_CONTROL_SESSIONCHANGE 0x0000000E +#define SERVICE_CONTROL_PRESHUTDOWN 0x0000000F + +/* Service State */ +#define SERVICE_STOPPED 0x00000001 +#define SERVICE_START_PENDING 0x00000002 +#define SERVICE_STOP_PENDING 0x00000003 +#define SERVICE_RUNNING 0x00000004 +#define SERVICE_CONTINUE_PENDING 0x00000005 +#define SERVICE_PAUSE_PENDING 0x00000006 +#define SERVICE_PAUSED 0x00000007 + +/* Controls Accepted */ +#define SERVICE_ACCEPT_STOP 0x00000001 +#define SERVICE_ACCEPT_PAUSE_CONTINUE 0x00000002 +#define SERVICE_ACCEPT_SHUTDOWN 0x00000004 +#define SERVICE_ACCEPT_PARAMCHANGE 0x00000008 +#define SERVICE_ACCEPT_NETBINDCHANGE 0x00000010 +#define SERVICE_ACCEPT_HARDWAREPROFILECHANGE 0x00000020 +#define SERVICE_ACCEPT_POWEREVENT 0x00000040 +#define SERVICE_ACCEPT_SESSIONCHANGE 0x00000080 +#define SERVICE_ACCEPT_PRESHUTDOWN 0x00000100 + +/* Service Control Manager Object access types */ +#define SC_MANAGER_CONNECT 0x0001 +#define SC_MANAGER_CREATE_SERVICE 0x0002 +#define SC_MANAGER_ENUMERATE_SERVICE 0x0004 +#define SC_MANAGER_LOCK 0x0008 +#define SC_MANAGER_QUERY_LOCK_STATUS 0x0010 +#define SC_MANAGER_MODIFY_BOOT_CONFIG 0x0020 +#define SC_MANAGER_ALL_ACCESS ( STANDARD_RIGHTS_REQUIRED | \ + SC_MANAGER_CONNECT | \ + SC_MANAGER_CREATE_SERVICE | \ + SC_MANAGER_ENUMERATE_SERVICE | \ + SC_MANAGER_LOCK | \ + SC_MANAGER_QUERY_LOCK_STATUS | \ + SC_MANAGER_MODIFY_BOOT_CONFIG ) + +#define SERVICE_QUERY_CONFIG 0x0001 +#define SERVICE_CHANGE_CONFIG 0x0002 +#define SERVICE_QUERY_STATUS 0x0004 +#define SERVICE_ENUMERATE_DEPENDENTS 0x0008 +#define SERVICE_START 0x0010 +#define SERVICE_STOP 0x0020 +#define SERVICE_PAUSE_CONTINUE 0x0040 +#define SERVICE_INTERROGATE 0x0080 +#define SERVICE_USER_DEFINED_CONTROL 0x0100 + +#define SERVICE_ALL_ACCESS ( STANDARD_RIGHTS_REQUIRED | \ + SERVICE_QUERY_CONFIG | \ + SERVICE_CHANGE_CONFIG | \ + SERVICE_QUERY_STATUS | \ + SERVICE_ENUMERATE_DEPENDENTS | \ + SERVICE_START | \ + SERVICE_STOP | \ + SERVICE_PAUSE_CONTINUE | \ + SERVICE_INTERROGATE | \ + SERVICE_USER_DEFINED_CONTROL ) + +#define SERVICE_NO_CHANGE 0xffffffff + + +/* Handle types */ + +DECLARE_HANDLE(SC_HANDLE); +typedef SC_HANDLE *LPSC_HANDLE; +DECLARE_HANDLE(SERVICE_STATUS_HANDLE); +typedef LPVOID SC_LOCK; + +/* Service status structure */ + +typedef struct _SERVICE_STATUS { + DWORD dwServiceType; + DWORD dwCurrentState; + DWORD dwControlsAccepted; + DWORD dwWin32ExitCode; + DWORD dwServiceSpecificExitCode; + DWORD dwCheckPoint; + DWORD dwWaitHint; +} SERVICE_STATUS, *LPSERVICE_STATUS; + +/* Service status process structure */ + +typedef struct _SERVICE_STATUS_PROCESS +{ + DWORD dwServiceType; + DWORD dwCurrentState; + DWORD dwControlsAccepted; + DWORD dwWin32ExitCode; + DWORD dwServiceSpecificExitCode; + DWORD dwCheckPoint; + DWORD dwWaitHint; + DWORD dwProcessId; + DWORD dwServiceFlags; +} SERVICE_STATUS_PROCESS, *LPSERVICE_STATUS_PROCESS; + +#define SERVICE_NOTIFY_STATUS_CHANGE 2 + +#define SERVICE_NOTIFY_STOPPED 0x1 +#define SERVICE_NOTIFY_START_PENDING 0x2 +#define SERVICE_NOTIFY_STOP_PENDING 0x4 +#define SERVICE_NOTIFY_RUNNING 0x8 +#define SERVICE_NOTIFY_CONTINUE_PENDING 0x10 +#define SERVICE_NOTIFY_PAUSE_PENDING 0x20 +#define SERVICE_NOTIFY_PAUSED 0x40 +#define SERVICE_NOTIFY_CREATED 0x80 +#define SERVICE_NOTIFY_DELETED 0x100 +#define SERVICE_NOTIFY_DELETE_PENDING 0x200 + +typedef void (CALLBACK *PFN_SC_NOTIFY_CALLBACK)(void *); + +typedef struct _SERVICE_NOTIFY_2A { + DWORD dwVersion; + PFN_SC_NOTIFY_CALLBACK pfnNotifyCallback; + void *pContext; + DWORD dwNotificationStatus; + SERVICE_STATUS_PROCESS ServiceStatus; + DWORD dwNotificationTriggered; + char *pszServiceNames; +} SERVICE_NOTIFY_2A, SERVICE_NOTIFYA; + +typedef struct _SERVICE_NOTIFY_2W { + DWORD dwVersion; + PFN_SC_NOTIFY_CALLBACK pfnNotifyCallback; + void *pContext; + DWORD dwNotificationStatus; + SERVICE_STATUS_PROCESS ServiceStatus; + DWORD dwNotificationTriggered; + WCHAR *pszServiceNames; +} SERVICE_NOTIFY_2W, SERVICE_NOTIFYW; + +DWORD WINAPI NotifyServiceStatusChangeW(SC_HANDLE,DWORD,SERVICE_NOTIFYW*); + +typedef enum _SC_STATUS_TYPE { + SC_STATUS_PROCESS_INFO = 0 +} SC_STATUS_TYPE; + +/* Service main function prototype */ + +typedef VOID (CALLBACK *LPSERVICE_MAIN_FUNCTIONA)(DWORD,LPSTR*); +typedef VOID (CALLBACK *LPSERVICE_MAIN_FUNCTIONW)(DWORD,LPWSTR*); +DECL_WINELIB_TYPE_AW(LPSERVICE_MAIN_FUNCTION) + +/* Service start table */ + +typedef struct _SERVICE_TABLE_ENTRYA { + LPSTR lpServiceName; + LPSERVICE_MAIN_FUNCTIONA lpServiceProc; +} SERVICE_TABLE_ENTRYA, *LPSERVICE_TABLE_ENTRYA; + +typedef struct _SERVICE_TABLE_ENTRYW { + LPWSTR lpServiceName; + LPSERVICE_MAIN_FUNCTIONW lpServiceProc; +} SERVICE_TABLE_ENTRYW, *LPSERVICE_TABLE_ENTRYW; + +DECL_WINELIB_TYPE_AW(SERVICE_TABLE_ENTRY) +DECL_WINELIB_TYPE_AW(LPSERVICE_TABLE_ENTRY) + +/* Service status enumeration structure */ + +typedef struct _ENUM_SERVICE_STATUSA { + LPSTR lpServiceName; + LPSTR lpDisplayName; + SERVICE_STATUS ServiceStatus; +} ENUM_SERVICE_STATUSA, *LPENUM_SERVICE_STATUSA; + +typedef struct _ENUM_SERVICE_STATUSW { + LPWSTR lpServiceName; + LPWSTR lpDisplayName; + SERVICE_STATUS ServiceStatus; +} ENUM_SERVICE_STATUSW, *LPENUM_SERVICE_STATUSW; + +DECL_WINELIB_TYPE_AW(ENUM_SERVICE_STATUS) +DECL_WINELIB_TYPE_AW(LPENUM_SERVICE_STATUS) + +typedef struct _ENUM_SERVICE_STATUS_PROCESSA { + LPSTR lpServiceName; + LPSTR lpDisplayName; + SERVICE_STATUS_PROCESS ServiceStatusProcess; +} ENUM_SERVICE_STATUS_PROCESSA, *LPENUM_SERVICE_STATUS_PROCESSA; + +typedef struct _ENUM_SERVICE_STATUS_PROCESSW { + LPWSTR lpServiceName; + LPWSTR lpDisplayName; + SERVICE_STATUS_PROCESS ServiceStatusProcess; +} ENUM_SERVICE_STATUS_PROCESSW, *LPENUM_SERVICE_STATUS_PROCESSW; + +DECL_WINELIB_TYPE_AW(ENUM_SERVICE_STATUS_PROCESS) +DECL_WINELIB_TYPE_AW(LPENUM_SERVICE_STATUS_PROCESS) + +typedef enum _SC_ENUM_TYPE { + SC_ENUM_PROCESS_INFO = 0 +} SC_ENUM_TYPE; + +typedef struct _QUERY_SERVICE_CONFIGA { + DWORD dwServiceType; + DWORD dwStartType; + DWORD dwErrorControl; + LPSTR lpBinaryPathName; + LPSTR lpLoadOrderGroup; + DWORD dwTagId; + LPSTR lpDependencies; + LPSTR lpServiceStartName; + LPSTR lpDisplayName; +} QUERY_SERVICE_CONFIGA, *LPQUERY_SERVICE_CONFIGA; + +typedef struct _QUERY_SERVICE_CONFIGW { + DWORD dwServiceType; + DWORD dwStartType; + DWORD dwErrorControl; + LPWSTR lpBinaryPathName; + LPWSTR lpLoadOrderGroup; + DWORD dwTagId; + LPWSTR lpDependencies; + LPWSTR lpServiceStartName; + LPWSTR lpDisplayName; +} QUERY_SERVICE_CONFIGW, *LPQUERY_SERVICE_CONFIGW; + +/* defines and structures for ChangeServiceConfig2 */ +#define SERVICE_CONFIG_DESCRIPTION 1 +#define SERVICE_CONFIG_FAILURE_ACTIONS 2 +#define SERVICE_CONFIG_DELAYED_AUTO_START_INFO 3 +#define SERVICE_CONFIG_FAILURE_ACTIONS_FLAG 4 +#define SERVICE_CONFIG_SERVICE_SID_INFO 5 +#define SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO 6 +#define SERVICE_CONFIG_PRESHUTDOWN_INFO 7 + + +typedef struct _SERVICE_DESCRIPTIONA { + LPSTR lpDescription; +} SERVICE_DESCRIPTIONA,*LPSERVICE_DESCRIPTIONA; + +typedef struct _SERVICE_DESCRIPTIONW { + LPWSTR lpDescription; +} SERVICE_DESCRIPTIONW,*LPSERVICE_DESCRIPTIONW; + +DECL_WINELIB_TYPE_AW(SERVICE_DESCRIPTION) +DECL_WINELIB_TYPE_AW(LPSERVICE_DESCRIPTION) + +typedef enum _SC_ACTION_TYPE { + SC_ACTION_NONE = 0, + SC_ACTION_RESTART = 1, + SC_ACTION_REBOOT = 2, + SC_ACTION_RUN_COMMAND = 3 +} SC_ACTION_TYPE; + +typedef struct _SC_ACTION { + SC_ACTION_TYPE Type; + DWORD Delay; +} SC_ACTION,*LPSC_ACTION; + +typedef struct _SERVICE_FAILURE_ACTIONSA { + DWORD dwResetPeriod; + LPSTR lpRebootMsg; + LPSTR lpCommand; + DWORD cActions; + SC_ACTION * lpsaActions; +} SERVICE_FAILURE_ACTIONSA,*LPSERVICE_FAILURE_ACTIONSA; + +typedef struct _SERVICE_FAILURE_ACTIONSW { + DWORD dwResetPeriod; + LPWSTR lpRebootMsg; + LPWSTR lpCommand; + DWORD cActions; + SC_ACTION * lpsaActions; +} SERVICE_FAILURE_ACTIONSW,*LPSERVICE_FAILURE_ACTIONSW; + +DECL_WINELIB_TYPE_AW(SERVICE_FAILURE_ACTIONS) +DECL_WINELIB_TYPE_AW(LPSERVICE_FAILURE_ACTIONS) + +typedef struct _SERVICE_DELAYED_AUTO_START_INFO { + BOOL fDelayedAutostart; +} SERVICE_DELAYED_AUTO_START_INFO,*LPSERVICE_DELAYED_AUTO_START_INFO; + +typedef struct _SERVICE_FAILURE_ACTIONS_FLAG { + BOOL fFailureActionsOnNonCrashFailures; +} SERVICE_FAILURE_ACTIONS_FLAG,*LPSERVICE_FAILURE_ACTIONS_FLAG; + +typedef struct _SERVICE_SID_INFO { + DWORD dwServiceSidType; +} SERVICE_SID_INFO,*LPSERVICE_SID_INFO; + +typedef struct _SERVICE_REQUIRED_PRIVILEGES_INFOA { + LPSTR pmszRequiredPrivileges; +} SERVICE_REQUIRED_PRIVILEGES_INFOA,*LPSERVICE_REQUIRED_PRIVILEGES_INFOA; + +typedef struct _SERVICE_REQUIRED_PRIVILEGES_INFOW { + LPWSTR pmszRequiredPrivileges; +} SERVICE_REQUIRED_PRIVILEGES_INFOW,*LPSERVICE_REQUIRED_PRIVILEGES_INFOW; + +DECL_WINELIB_TYPE_AW(SERVICE_REQUIRED_PRIVILEGES_INFO) +DECL_WINELIB_TYPE_AW(LPSERVICE_REQUIRED_PRIVILEGES_INFO) + +typedef struct _SERVICE_PRESHUTDOWN_INFO { + DWORD dwPreshutdownTimeout; +} SERVICE_PRESHUTDOWN_INFO,*LPSERVICE_PRESHUTDOWN_INFO; + +typedef struct _QUERY_SERVICE_LOCK_STATUSA +{ + DWORD fIsLocked; + LPSTR lpLockOwner; + DWORD dwLockDuration; +} QUERY_SERVICE_LOCK_STATUSA, *LPQUERY_SERVICE_LOCK_STATUSA; + +typedef struct _QUERY_SERVICE_LOCK_STATUSW +{ + DWORD fIsLocked; + LPWSTR lpLockOwner; + DWORD dwLockDuration; +} QUERY_SERVICE_LOCK_STATUSW, *LPQUERY_SERVICE_LOCK_STATUSW; + +DECL_WINELIB_TYPE_AW(QUERY_SERVICE_LOCK_STATUS) + +/* Service control handler function prototype */ + +typedef VOID (WINAPI *LPHANDLER_FUNCTION)(DWORD); +typedef DWORD (WINAPI *LPHANDLER_FUNCTION_EX)(DWORD,DWORD,LPVOID,LPVOID); + +/* API function prototypes */ + +WINADVAPI BOOL WINAPI ChangeServiceConfigA(SC_HANDLE,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR); +WINADVAPI BOOL WINAPI ChangeServiceConfigW(SC_HANDLE,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); +#define ChangeServiceConfig WINELIB_NAME_AW(ChangeServiceConfig) +WINADVAPI BOOL WINAPI ChangeServiceConfig2A(SC_HANDLE,DWORD,LPVOID); +WINADVAPI BOOL WINAPI ChangeServiceConfig2W(SC_HANDLE,DWORD,LPVOID); +#define ChangeServiceConfig2 WINELIB_NAME_AW(ChangeServiceConfig2) +WINADVAPI BOOL WINAPI CloseServiceHandle(SC_HANDLE); +WINADVAPI BOOL WINAPI ControlService(SC_HANDLE,DWORD,LPSERVICE_STATUS); +WINADVAPI SC_HANDLE WINAPI CreateServiceA(SC_HANDLE,LPCSTR,LPCSTR,DWORD,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR); +WINADVAPI SC_HANDLE WINAPI CreateServiceW(SC_HANDLE,LPCWSTR,LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR); +#define CreateService WINELIB_NAME_AW(CreateService) +WINADVAPI BOOL WINAPI DeleteService(SC_HANDLE); +WINADVAPI BOOL WINAPI EnumDependentServicesA(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSA,DWORD,LPDWORD,LPDWORD); +WINADVAPI BOOL WINAPI EnumDependentServicesW(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSW,DWORD,LPDWORD,LPDWORD); +#define EnumDependentServices WINELIB_NAME_AW(EnumDependentServices) +WINADVAPI BOOL WINAPI EnumServicesStatusA(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSA,DWORD,LPDWORD,LPDWORD,LPDWORD); +WINADVAPI BOOL WINAPI EnumServicesStatusW(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSW,DWORD,LPDWORD,LPDWORD,LPDWORD); +#define EnumServicesStatus WINELIB_NAME_AW(EnumServicesStatus) +WINADVAPI BOOL WINAPI EnumServicesStatusExA(SC_HANDLE,SC_ENUM_TYPE,DWORD,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD,LPDWORD,LPCSTR); +WINADVAPI BOOL WINAPI EnumServicesStatusExW(SC_HANDLE,SC_ENUM_TYPE,DWORD,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD,LPDWORD,LPCWSTR); +#define EnumServicesStatus WINELIB_NAME_AW(EnumServicesStatus) +WINADVAPI BOOL WINAPI GetServiceDisplayNameA(SC_HANDLE,LPCSTR,LPSTR,LPDWORD); +WINADVAPI BOOL WINAPI GetServiceDisplayNameW(SC_HANDLE,LPCWSTR,LPWSTR,LPDWORD); +#define GetServiceDisplayName WINELIB_NAME_AW(GetServiceDisplayName) +WINADVAPI BOOL WINAPI GetServiceKeyNameA(SC_HANDLE,LPCSTR,LPSTR,LPDWORD); +WINADVAPI BOOL WINAPI GetServiceKeyNameW(SC_HANDLE,LPCWSTR,LPWSTR,LPDWORD); +#define GetServiceKeyName WINELIB_NAME_AW(GetServiceKeyName) +WINADVAPI SC_LOCK WINAPI LockServiceDatabase(SC_HANDLE); +WINADVAPI BOOL WINAPI NotifyBootConfigStatus(BOOL); +WINADVAPI SC_HANDLE WINAPI OpenSCManagerA(LPCSTR,LPCSTR,DWORD); +WINADVAPI SC_HANDLE WINAPI OpenSCManagerW(LPCWSTR,LPCWSTR,DWORD); +#define OpenSCManager WINELIB_NAME_AW(OpenSCManager) +WINADVAPI SC_HANDLE WINAPI OpenServiceA(SC_HANDLE,LPCSTR,DWORD); +WINADVAPI SC_HANDLE WINAPI OpenServiceW(SC_HANDLE,LPCWSTR,DWORD); +#define OpenService WINELIB_NAME_AW(OpenService) +WINADVAPI BOOL WINAPI QueryServiceStatus(SC_HANDLE,LPSERVICE_STATUS); +WINADVAPI BOOL WINAPI QueryServiceStatusEx(SC_HANDLE,SC_STATUS_TYPE,LPBYTE,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI QueryServiceConfigA(SC_HANDLE,LPQUERY_SERVICE_CONFIGA,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI QueryServiceConfigW(SC_HANDLE,LPQUERY_SERVICE_CONFIGW,DWORD,LPDWORD); +#define QueryServiceConfig WINELIB_NAME_AW(QueryServiceConfig) +WINADVAPI BOOL WINAPI QueryServiceConfig2A(SC_HANDLE,DWORD,LPBYTE,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI QueryServiceConfig2W(SC_HANDLE,DWORD,LPBYTE,DWORD,LPDWORD); +#define QueryServiceConfig2 WINELIB_NAME_AW(QueryServiceConfig2) +WINADVAPI BOOL WINAPI QueryServiceLockStatusA(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSA,DWORD,LPDWORD); +WINADVAPI BOOL WINAPI QueryServiceLockStatusW(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSW,DWORD,LPDWORD); +#define QueryServiceLockStatus WINELIB_NAME_AW(QueryServiceLockStatus) +WINADVAPI BOOL WINAPI QueryServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); +WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerA(LPCSTR,LPHANDLER_FUNCTION); +WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerW(LPCWSTR,LPHANDLER_FUNCTION); +#define RegisterServiceCtrlHandler WINELIB_NAME_AW(RegisterServiceCtrlHandler) +WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerExA(LPCSTR,LPHANDLER_FUNCTION_EX,LPVOID); +WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerExW(LPCWSTR,LPHANDLER_FUNCTION_EX,LPVOID); +#define RegisterServiceCtrlHandlerEx WINELIB_NAME_AW(RegisterServiceCtrlHandlerEx) +WINADVAPI BOOL WINAPI SetServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +WINADVAPI BOOL WINAPI SetServiceStatus(SERVICE_STATUS_HANDLE,LPSERVICE_STATUS); +WINADVAPI BOOL WINAPI StartServiceA(SC_HANDLE,DWORD,LPCSTR*); +WINADVAPI BOOL WINAPI StartServiceW(SC_HANDLE,DWORD,LPCWSTR*); +#define StartService WINELIB_NAME_AW(StartService) +WINADVAPI BOOL WINAPI StartServiceCtrlDispatcherA(const SERVICE_TABLE_ENTRYA*); +WINADVAPI BOOL WINAPI StartServiceCtrlDispatcherW(const SERVICE_TABLE_ENTRYW*); +#define StartServiceCtrlDispatcher WINELIB_NAME_AW(StartServiceCtrlDispatcher) +WINADVAPI BOOL WINAPI UnlockServiceDatabase(SC_LOCK); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* !defined(__WINE_WINSVC_H) */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsxs.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsxs.h new file mode 100644 index 0000000..5381686 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsxs.h @@ -0,0 +1,588 @@ +/*** Autogenerated by WIDL 2.18 from winsxs.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __winsxs_h__ +#define __winsxs_h__ + +/* Forward declarations */ + +#ifndef __IAssemblyCache_FWD_DEFINED__ +#define __IAssemblyCache_FWD_DEFINED__ +typedef interface IAssemblyCache IAssemblyCache; +#ifdef __cplusplus +interface IAssemblyCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyCacheItem_FWD_DEFINED__ +#define __IAssemblyCacheItem_FWD_DEFINED__ +typedef interface IAssemblyCacheItem IAssemblyCacheItem; +#ifdef __cplusplus +interface IAssemblyCacheItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyName_FWD_DEFINED__ +#define __IAssemblyName_FWD_DEFINED__ +typedef interface IAssemblyName IAssemblyName; +#ifdef __cplusplus +interface IAssemblyName; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IAssemblyCache_FWD_DEFINED__ +#define __IAssemblyCache_FWD_DEFINED__ +typedef interface IAssemblyCache IAssemblyCache; +#ifdef __cplusplus +interface IAssemblyCache; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyCacheItem_FWD_DEFINED__ +#define __IAssemblyCacheItem_FWD_DEFINED__ +typedef interface IAssemblyCacheItem IAssemblyCacheItem; +#ifdef __cplusplus +interface IAssemblyCacheItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IAssemblyName_FWD_DEFINED__ +#define __IAssemblyName_FWD_DEFINED__ +typedef interface IAssemblyName IAssemblyName; +#ifdef __cplusplus +interface IAssemblyName; +#endif /* __cplusplus */ +#endif + +typedef struct _FUSION_INSTALL_REFERENCE_ { + DWORD cbSize; + DWORD dwFlags; + GUID guidScheme; + LPCWSTR szIdentifier; + LPCWSTR szNonCannonicalData; +} FUSION_INSTALL_REFERENCE; +typedef struct _FUSION_INSTALL_REFERENCE_ *LPFUSION_INSTALL_REFERENCE; +typedef struct _ASSEMBLY_INFO { + ULONG cbAssemblyInfo; + DWORD dwAssemblyFlags; + ULARGE_INTEGER uliAssemblySizeInKB; + LPWSTR pszCurrentAssemblyPathBuf; + ULONG cchBuf; +} ASSEMBLY_INFO; +typedef const struct _FUSION_INSTALL_REFERENCE_ *LPCFUSION_INSTALL_REFERENCE; +/***************************************************************************** + * IAssemblyCache interface + */ +#ifndef __IAssemblyCache_INTERFACE_DEFINED__ +#define __IAssemblyCache_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAssemblyCache, 0xe707dcde, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e707dcde-d1cd-11d2-bab9-00c04f8eceae") +IAssemblyCache : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE UninstallAssembly( + DWORD flags, + LPCWSTR name, + LPCFUSION_INSTALL_REFERENCE ref, + ULONG *disp) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryAssemblyInfo( + DWORD flags, + LPCWSTR name, + ASSEMBLY_INFO *info) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateAssemblyCacheItem( + DWORD flags, + PVOID reserved, + IAssemblyCacheItem **item, + LPCWSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reserved( + IUnknown **reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE InstallAssembly( + DWORD flags, + LPCWSTR path, + LPCFUSION_INSTALL_REFERENCE ref) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyCache, 0xe707dcde, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae) +#endif +#else +typedef struct IAssemblyCacheVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyCache *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyCache *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyCache *This); + + /*** IAssemblyCache methods ***/ + HRESULT (STDMETHODCALLTYPE *UninstallAssembly)( + IAssemblyCache *This, + DWORD flags, + LPCWSTR name, + LPCFUSION_INSTALL_REFERENCE ref, + ULONG *disp); + + HRESULT (STDMETHODCALLTYPE *QueryAssemblyInfo)( + IAssemblyCache *This, + DWORD flags, + LPCWSTR name, + ASSEMBLY_INFO *info); + + HRESULT (STDMETHODCALLTYPE *CreateAssemblyCacheItem)( + IAssemblyCache *This, + DWORD flags, + PVOID reserved, + IAssemblyCacheItem **item, + LPCWSTR name); + + HRESULT (STDMETHODCALLTYPE *Reserved)( + IAssemblyCache *This, + IUnknown **reserved); + + HRESULT (STDMETHODCALLTYPE *InstallAssembly)( + IAssemblyCache *This, + DWORD flags, + LPCWSTR path, + LPCFUSION_INSTALL_REFERENCE ref); + + END_INTERFACE +} IAssemblyCacheVtbl; + +interface IAssemblyCache { + CONST_VTBL IAssemblyCacheVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyCache_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyCache_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyCache methods ***/ +#define IAssemblyCache_UninstallAssembly(This,flags,name,ref,disp) (This)->lpVtbl->UninstallAssembly(This,flags,name,ref,disp) +#define IAssemblyCache_QueryAssemblyInfo(This,flags,name,info) (This)->lpVtbl->QueryAssemblyInfo(This,flags,name,info) +#define IAssemblyCache_CreateAssemblyCacheItem(This,flags,reserved,item,name) (This)->lpVtbl->CreateAssemblyCacheItem(This,flags,reserved,item,name) +#define IAssemblyCache_Reserved(This,reserved) (This)->lpVtbl->Reserved(This,reserved) +#define IAssemblyCache_InstallAssembly(This,flags,path,ref) (This)->lpVtbl->InstallAssembly(This,flags,path,ref) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyCache_QueryInterface(IAssemblyCache* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyCache_AddRef(IAssemblyCache* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyCache_Release(IAssemblyCache* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyCache methods ***/ +static FORCEINLINE HRESULT IAssemblyCache_UninstallAssembly(IAssemblyCache* This,DWORD flags,LPCWSTR name,LPCFUSION_INSTALL_REFERENCE ref,ULONG *disp) { + return This->lpVtbl->UninstallAssembly(This,flags,name,ref,disp); +} +static FORCEINLINE HRESULT IAssemblyCache_QueryAssemblyInfo(IAssemblyCache* This,DWORD flags,LPCWSTR name,ASSEMBLY_INFO *info) { + return This->lpVtbl->QueryAssemblyInfo(This,flags,name,info); +} +static FORCEINLINE HRESULT IAssemblyCache_CreateAssemblyCacheItem(IAssemblyCache* This,DWORD flags,PVOID reserved,IAssemblyCacheItem **item,LPCWSTR name) { + return This->lpVtbl->CreateAssemblyCacheItem(This,flags,reserved,item,name); +} +static FORCEINLINE HRESULT IAssemblyCache_Reserved(IAssemblyCache* This,IUnknown **reserved) { + return This->lpVtbl->Reserved(This,reserved); +} +static FORCEINLINE HRESULT IAssemblyCache_InstallAssembly(IAssemblyCache* This,DWORD flags,LPCWSTR path,LPCFUSION_INSTALL_REFERENCE ref) { + return This->lpVtbl->InstallAssembly(This,flags,path,ref); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyCache_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssemblyCacheItem interface + */ +#ifndef __IAssemblyCacheItem_INTERFACE_DEFINED__ +#define __IAssemblyCacheItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAssemblyCacheItem, 0x9e3aaeb4, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae") +IAssemblyCacheItem : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateStream( + DWORD flags, + LPCWSTR name, + DWORD format, + DWORD format_flags, + IStream **stream, + ULARGE_INTEGER *max_size) = 0; + + virtual HRESULT STDMETHODCALLTYPE Commit( + DWORD flags, + ULONG *disp) = 0; + + virtual HRESULT STDMETHODCALLTYPE AbortItem( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyCacheItem, 0x9e3aaeb4, 0xd1cd, 0x11d2, 0xba,0xb9, 0x00,0xc0,0x4f,0x8e,0xce,0xae) +#endif +#else +typedef struct IAssemblyCacheItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyCacheItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyCacheItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyCacheItem *This); + + /*** IAssemblyCacheItem methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateStream)( + IAssemblyCacheItem *This, + DWORD flags, + LPCWSTR name, + DWORD format, + DWORD format_flags, + IStream **stream, + ULARGE_INTEGER *max_size); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IAssemblyCacheItem *This, + DWORD flags, + ULONG *disp); + + HRESULT (STDMETHODCALLTYPE *AbortItem)( + IAssemblyCacheItem *This); + + END_INTERFACE +} IAssemblyCacheItemVtbl; + +interface IAssemblyCacheItem { + CONST_VTBL IAssemblyCacheItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyCacheItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyCacheItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyCacheItem_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyCacheItem methods ***/ +#define IAssemblyCacheItem_CreateStream(This,flags,name,format,format_flags,stream,max_size) (This)->lpVtbl->CreateStream(This,flags,name,format,format_flags,stream,max_size) +#define IAssemblyCacheItem_Commit(This,flags,disp) (This)->lpVtbl->Commit(This,flags,disp) +#define IAssemblyCacheItem_AbortItem(This) (This)->lpVtbl->AbortItem(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyCacheItem_QueryInterface(IAssemblyCacheItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyCacheItem_AddRef(IAssemblyCacheItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyCacheItem_Release(IAssemblyCacheItem* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyCacheItem methods ***/ +static FORCEINLINE HRESULT IAssemblyCacheItem_CreateStream(IAssemblyCacheItem* This,DWORD flags,LPCWSTR name,DWORD format,DWORD format_flags,IStream **stream,ULARGE_INTEGER *max_size) { + return This->lpVtbl->CreateStream(This,flags,name,format,format_flags,stream,max_size); +} +static FORCEINLINE HRESULT IAssemblyCacheItem_Commit(IAssemblyCacheItem* This,DWORD flags,ULONG *disp) { + return This->lpVtbl->Commit(This,flags,disp); +} +static FORCEINLINE HRESULT IAssemblyCacheItem_AbortItem(IAssemblyCacheItem* This) { + return This->lpVtbl->AbortItem(This); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyCacheItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAssemblyName interface + */ +#ifndef __IAssemblyName_INTERFACE_DEFINED__ +#define __IAssemblyName_INTERFACE_DEFINED__ + +typedef enum __WIDL_winsxs_generated_name_00000002 { + ASM_NAME_PUBLIC_KEY = 0, + ASM_NAME_PUBLIC_KEY_TOKEN = 1, + ASM_NAME_HASH_VALUE = 2, + ASM_NAME_NAME = 3, + ASM_NAME_MAJOR_VERSION = 4, + ASM_NAME_MINOR_VERSION = 5, + ASM_NAME_BUILD_NUMBER = 6, + ASM_NAME_REVISION_NUMBER = 7, + ASM_NAME_CULTURE = 8, + ASM_NAME_PROCESSOR_ID_ARRAY = 9, + ASM_NAME_OSINFO_ARRAY = 10, + ASM_NAME_HASH_ALGID = 11, + ASM_NAME_ALIAS = 12, + ASM_NAME_CODEBASE_URL = 13, + ASM_NAME_CODEBASE_LASTMOD = 14, + ASM_NAME_NULL_PUBLIC_KEY = 15, + ASM_NAME_NULL_PUBLIC_KEY_TOKEN = 16, + ASM_NAME_CUSTOM = 17, + ASM_NAME_NULL_CUSTOM = 18, + ASM_NAME_MVID = 19, + ASM_NAME_MAX_PARAMS = 20 +} ASM_NAME; +typedef enum __WIDL_winsxs_generated_name_00000003 { + ASM_DISPLAYF_VERSION = 0x1, + ASM_DISPLAYF_CULTURE = 0x2, + ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4, + ASM_DISPLAYF_PUBLIC_KEY = 0x8, + ASM_DISPLAYF_CUSTOM = 0x10, + ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20, + ASM_DISPLAYF_LANGUAGEID = 0x40 +} ASM_DISPLAY_FLAGS; +DEFINE_GUID(IID_IAssemblyName, 0xcd193bc0, 0xb4bc, 0x11d2, 0x98,0x33, 0x00,0xc0,0x4f,0xc3,0x1d,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cd193bc0-b4bc-11d2-9833-00c04fc31d2e") +IAssemblyName : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetProperty( + DWORD id, + LPVOID property, + DWORD size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + DWORD id, + LPVOID buffer, + LPDWORD buflen) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finalize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDisplayName( + LPWSTR buffer, + LPDWORD buflen, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reserved( + REFIID riid, + IUnknown *pUnkReserved1, + IUnknown *pUnkReserved2, + LPCOLESTR szReserved, + LONGLONG llReserved, + LPVOID pvReserved, + DWORD cbReserved, + LPVOID *ppReserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + LPDWORD buflen, + LPWSTR buffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVersion( + LPDWORD hi, + LPDWORD low) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsEqual( + IAssemblyName *name, + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IAssemblyName **name) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAssemblyName, 0xcd193bc0, 0xb4bc, 0x11d2, 0x98,0x33, 0x00,0xc0,0x4f,0xc3,0x1d,0x2e) +#endif +#else +typedef struct IAssemblyNameVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAssemblyName *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAssemblyName *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAssemblyName *This); + + /*** IAssemblyName methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IAssemblyName *This, + DWORD id, + LPVOID property, + DWORD size); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IAssemblyName *This, + DWORD id, + LPVOID buffer, + LPDWORD buflen); + + HRESULT (STDMETHODCALLTYPE *Finalize)( + IAssemblyName *This); + + HRESULT (STDMETHODCALLTYPE *GetDisplayName)( + IAssemblyName *This, + LPWSTR buffer, + LPDWORD buflen, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *Reserved)( + IAssemblyName *This, + REFIID riid, + IUnknown *pUnkReserved1, + IUnknown *pUnkReserved2, + LPCOLESTR szReserved, + LONGLONG llReserved, + LPVOID pvReserved, + DWORD cbReserved, + LPVOID *ppReserved); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IAssemblyName *This, + LPDWORD buflen, + LPWSTR buffer); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IAssemblyName *This, + LPDWORD hi, + LPDWORD low); + + HRESULT (STDMETHODCALLTYPE *IsEqual)( + IAssemblyName *This, + IAssemblyName *name, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IAssemblyName *This, + IAssemblyName **name); + + END_INTERFACE +} IAssemblyNameVtbl; + +interface IAssemblyName { + CONST_VTBL IAssemblyNameVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAssemblyName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAssemblyName_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAssemblyName_Release(This) (This)->lpVtbl->Release(This) +/*** IAssemblyName methods ***/ +#define IAssemblyName_SetProperty(This,id,property,size) (This)->lpVtbl->SetProperty(This,id,property,size) +#define IAssemblyName_GetProperty(This,id,buffer,buflen) (This)->lpVtbl->GetProperty(This,id,buffer,buflen) +#define IAssemblyName_Finalize(This) (This)->lpVtbl->Finalize(This) +#define IAssemblyName_GetDisplayName(This,buffer,buflen,flags) (This)->lpVtbl->GetDisplayName(This,buffer,buflen,flags) +#define IAssemblyName_Reserved(This,riid,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved) (This)->lpVtbl->Reserved(This,riid,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved) +#define IAssemblyName_GetName(This,buflen,buffer) (This)->lpVtbl->GetName(This,buflen,buffer) +#define IAssemblyName_GetVersion(This,hi,low) (This)->lpVtbl->GetVersion(This,hi,low) +#define IAssemblyName_IsEqual(This,name,flags) (This)->lpVtbl->IsEqual(This,name,flags) +#define IAssemblyName_Clone(This,name) (This)->lpVtbl->Clone(This,name) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAssemblyName_QueryInterface(IAssemblyName* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAssemblyName_AddRef(IAssemblyName* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAssemblyName_Release(IAssemblyName* This) { + return This->lpVtbl->Release(This); +} +/*** IAssemblyName methods ***/ +static FORCEINLINE HRESULT IAssemblyName_SetProperty(IAssemblyName* This,DWORD id,LPVOID property,DWORD size) { + return This->lpVtbl->SetProperty(This,id,property,size); +} +static FORCEINLINE HRESULT IAssemblyName_GetProperty(IAssemblyName* This,DWORD id,LPVOID buffer,LPDWORD buflen) { + return This->lpVtbl->GetProperty(This,id,buffer,buflen); +} +static FORCEINLINE HRESULT IAssemblyName_Finalize(IAssemblyName* This) { + return This->lpVtbl->Finalize(This); +} +static FORCEINLINE HRESULT IAssemblyName_GetDisplayName(IAssemblyName* This,LPWSTR buffer,LPDWORD buflen,DWORD flags) { + return This->lpVtbl->GetDisplayName(This,buffer,buflen,flags); +} +static FORCEINLINE HRESULT IAssemblyName_Reserved(IAssemblyName* This,REFIID riid,IUnknown *pUnkReserved1,IUnknown *pUnkReserved2,LPCOLESTR szReserved,LONGLONG llReserved,LPVOID pvReserved,DWORD cbReserved,LPVOID *ppReserved) { + return This->lpVtbl->Reserved(This,riid,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved); +} +static FORCEINLINE HRESULT IAssemblyName_GetName(IAssemblyName* This,LPDWORD buflen,LPWSTR buffer) { + return This->lpVtbl->GetName(This,buflen,buffer); +} +static FORCEINLINE HRESULT IAssemblyName_GetVersion(IAssemblyName* This,LPDWORD hi,LPDWORD low) { + return This->lpVtbl->GetVersion(This,hi,low); +} +static FORCEINLINE HRESULT IAssemblyName_IsEqual(IAssemblyName* This,IAssemblyName *name,DWORD flags) { + return This->lpVtbl->IsEqual(This,name,flags); +} +static FORCEINLINE HRESULT IAssemblyName_Clone(IAssemblyName* This,IAssemblyName **name) { + return This->lpVtbl->Clone(This,name); +} +#endif +#endif + +#endif + + +#endif /* __IAssemblyName_INTERFACE_DEFINED__ */ + +typedef IAssemblyName *LPASSEMBLYNAME; +typedef enum __WIDL_winsxs_generated_name_00000004 { + CANOF_PARSE_DISPLAY_NAME = 0x1, + CANOF_SET_DEFAULT_VALUES = 0x2 +} CREATE_ASM_NAME_OBJ_FLAGS; +HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD); +HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME *,LPCWSTR,DWORD,LPVOID); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __winsxs_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsxs.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsxs.idl new file mode 100644 index 0000000..775c69a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winsxs.idl @@ -0,0 +1,198 @@ +/* + * Copyright 2010 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "oleidl.idl"; + +interface IAssemblyCache; +interface IAssemblyCacheItem; +interface IAssemblyName; + +typedef struct _FUSION_INSTALL_REFERENCE_ +{ + DWORD cbSize; + DWORD dwFlags; + GUID guidScheme; + LPCWSTR szIdentifier; + LPCWSTR szNonCannonicalData; +} FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE; + +typedef struct _ASSEMBLY_INFO +{ + ULONG cbAssemblyInfo; + DWORD dwAssemblyFlags; + ULARGE_INTEGER uliAssemblySizeInKB; + LPWSTR pszCurrentAssemblyPathBuf; + ULONG cchBuf; +} ASSEMBLY_INFO; + +typedef const struct _FUSION_INSTALL_REFERENCE_ *LPCFUSION_INSTALL_REFERENCE; + +[ + object, + uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae), + pointer_default(unique), + local +] +interface IAssemblyCache : IUnknown +{ + HRESULT UninstallAssembly( + [in] DWORD flags, + [in] LPCWSTR name, + [in] LPCFUSION_INSTALL_REFERENCE ref, + [out, optional] ULONG *disp); + + HRESULT QueryAssemblyInfo( + [in] DWORD flags, + [in] LPCWSTR name, + [in, out] ASSEMBLY_INFO *info); + + HRESULT CreateAssemblyCacheItem( + [in] DWORD flags, + [in] PVOID reserved, + [out] IAssemblyCacheItem **item, + [in, optional] LPCWSTR name); + + HRESULT Reserved( + [out] IUnknown **reserved); + + HRESULT InstallAssembly( + [in] DWORD flags, + [in] LPCWSTR path, + [in] LPCFUSION_INSTALL_REFERENCE ref); +} + +[ + object, + uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae), + pointer_default(unique), + local +] +interface IAssemblyCacheItem : IUnknown +{ + HRESULT CreateStream( + [in] DWORD flags, + [in] LPCWSTR name, + [in] DWORD format, + [in] DWORD format_flags, + [out] IStream **stream, + [in, optional] ULARGE_INTEGER *max_size); + + HRESULT Commit( + [in] DWORD flags, + [out, optional] ULONG *disp); + + HRESULT AbortItem(); +} + +[ + object, + uuid(cd193bc0-b4bc-11D2-9833-00c04fc31d2e), + pointer_default(unique), + local +] +interface IAssemblyName : IUnknown +{ + typedef [public] enum + { + ASM_NAME_PUBLIC_KEY, + ASM_NAME_PUBLIC_KEY_TOKEN, + ASM_NAME_HASH_VALUE, + ASM_NAME_NAME, + ASM_NAME_MAJOR_VERSION, + ASM_NAME_MINOR_VERSION, + ASM_NAME_BUILD_NUMBER, + ASM_NAME_REVISION_NUMBER, + ASM_NAME_CULTURE, + ASM_NAME_PROCESSOR_ID_ARRAY, + ASM_NAME_OSINFO_ARRAY, + ASM_NAME_HASH_ALGID, + ASM_NAME_ALIAS, + ASM_NAME_CODEBASE_URL, + ASM_NAME_CODEBASE_LASTMOD, + ASM_NAME_NULL_PUBLIC_KEY, + ASM_NAME_NULL_PUBLIC_KEY_TOKEN, + ASM_NAME_CUSTOM, + ASM_NAME_NULL_CUSTOM, + ASM_NAME_MVID, + ASM_NAME_MAX_PARAMS + } ASM_NAME; + + typedef [public] enum + { + ASM_DISPLAYF_VERSION = 0x1, + ASM_DISPLAYF_CULTURE = 0x2, + ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4, + ASM_DISPLAYF_PUBLIC_KEY = 0x8, + ASM_DISPLAYF_CUSTOM = 0x10, + ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20, + ASM_DISPLAYF_LANGUAGEID = 0x40 + } ASM_DISPLAY_FLAGS; + + HRESULT SetProperty( + [in] DWORD id, + [in] LPVOID property, + [in] DWORD size); + + HRESULT GetProperty( + [in] DWORD id, + [out] LPVOID buffer, + [in][out] LPDWORD buflen); + + HRESULT Finalize(); + + HRESULT GetDisplayName( + [out] LPWSTR buffer, + [in][out] LPDWORD buflen, + [in] DWORD flags); + + HRESULT Reserved( + [in] REFIID riid, + [in] IUnknown *pUnkReserved1, + [in] IUnknown *pUnkReserved2, + [in] LPCOLESTR szReserved, + [in] LONGLONG llReserved, + [in] LPVOID pvReserved, + [in] DWORD cbReserved, + [out] LPVOID *ppReserved); + + HRESULT GetName( + [in][out] LPDWORD buflen, + [out] LPWSTR buffer); + + HRESULT GetVersion( + [out] LPDWORD hi, + [out] LPDWORD low); + + HRESULT IsEqual( + [in] IAssemblyName *name, + [in] DWORD flags); + + HRESULT Clone( + [out] IAssemblyName **name); +} + +typedef [unique] IAssemblyName *LPASSEMBLYNAME; +typedef [public] enum +{ + CANOF_PARSE_DISPLAY_NAME = 0x1, + CANOF_SET_DEFAULT_VALUES = 0x2 +} CREATE_ASM_NAME_OBJ_FLAGS; + +cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);") +cpp_quote("HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME *,LPCWSTR,DWORD,LPVOID);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintab.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintab.h new file mode 100644 index 0000000..d10371b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintab.h @@ -0,0 +1,788 @@ +/* + * Copyright (C) 1991-1998 by LCS/Telegraphics + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINTAB_H +#define __WINE_WINTAB_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/*********************************************************************** + * Messages + */ +#ifndef NOWTMESSAGES + +#define WT_DEFBASE 0x7FF0 +#define WT_MAXOFFSET 0xF + +#define _WT_PACKET(b) ((b)+0) +#define _WT_CTXOPEN(b) ((b)+1) +#define _WT_CTXCLOSE(b) ((b)+2) +#define _WT_CTXUPDATE(b) ((b)+3) +#define _WT_CTXOVERLAP(b) ((b)+4) +#define _WT_PROXIMITY(b) ((b)+5) +#define _WT_INFOCHANGE(b) ((b)+6) +#define _WT_CSRCHANGE(b) ((b)+7) /* 1.1 */ +#define _WT_MAX(b) ((b)+WT_MAXOFFSET) + +#define WT_PACKET _WT_PACKET(WT_DEFBASE) +#define WT_CTXOPEN _WT_CTXOPEN(WT_DEFBASE) +#define WT_CTXCLOSE _WT_CTXCLOSE(WT_DEFBASE) +#define WT_CTXUPDATE _WT_CTXUPDATE(WT_DEFBASE) +#define WT_CTXOVERLAP _WT_CTXOVERLAP(WT_DEFBASE) +#define WT_PROXIMITY _WT_PROXIMITY(WT_DEFBASE) +#define WT_INFOCHANGE _WT_INFOCHANGE(WT_DEFBASE) +#define WT_CSRCHANGE _WT_CSRCHANGE(WT_DEFBASE) /* 1.1 */ +#define WT_MAX _WT_MAX(WT_DEFBASE) + +#endif + +/*********************************************************************** + * COMMON DATA DEFS + */ + +DECLARE_HANDLE(HMGR); /* manager handle */ +DECLARE_HANDLE(HCTX); /* context handle */ +DECLARE_HANDLE(HWTHOOK); /* hook handle */ + +typedef DWORD WTPKT; /* packet mask */ + +#ifndef NOWTPKT + +/* WTPKT bits */ +#define PK_CONTEXT 0x0001 /* reporting context */ +#define PK_STATUS 0x0002 /* status bits */ +#define PK_TIME 0x0004 /* time stamp */ +#define PK_CHANGED 0x0008 /* change bit vector */ +#define PK_SERIAL_NUMBER 0x0010 /* packet serial number */ +#define PK_CURSOR 0x0020 /* reporting cursor */ +#define PK_BUTTONS 0x0040 /* button information */ +#define PK_X 0x0080 /* x axis */ +#define PK_Y 0x0100 /* y axis */ +#define PK_Z 0x0200 /* z axis */ +#define PK_NORMAL_PRESSURE 0x0400 /* normal or tip pressure */ +#define PK_TANGENT_PRESSURE 0x0800 /* tangential or barrel pressure */ +#define PK_ORIENTATION 0x1000 /* orientation info: tilts */ +#define PK_ROTATION 0x2000 /* rotation info; 1.1 */ + +#endif + +typedef DWORD FIX32; /* fixed-point arithmetic type */ + +#ifndef NOFIX32 + +#define INT(x) HIWORD(x) +#define FRAC(x) LOWORD(x) + +#define CASTFIX32(x) ((FIX32)((x)*65536L)) + +#define ROUND(x) (INT(x) + (FRAC(x) > (WORD)0x8000)) + +#define FIX_MUL(c, a, b) \ + (c = (((DWORD)FRAC(a) * FRAC(b)) >> 16) + \ + (DWORD)INT(a) * FRAC(b) + \ + (DWORD)INT(b) * FRAC(a) + \ + ((DWORD)INT(a) * INT(b) << 16)) + +#ifdef _WINDLL +# define FIX_DIV_SC static +#else +# define FIX_DIV_SC +# endif + +#define FIX_DIV(c, a, b) \ + { \ + FIX_DIV_SC DWORD temp, rem, btemp; \ + \ + /* fraction done bytewise */ \ + temp = ((a / b) << 16); \ + rem = a % b; \ + btemp = b; \ + if (INT(btemp) < 256) { \ + rem <<= 8; \ + } else { \ + btemp >>= 8; \ + } \ + temp += ((rem / btemp) << 8); \ + rem %= btemp; \ + rem <<= 8; \ + temp += rem / btemp; \ + c = temp; \ + } + +#endif + +/*********************************************************************** + * INFO DATA DEFS + */ + +#ifndef NOWTINFO + +#ifndef NOWTAXIS + +typedef struct tagAXIS { + LONG axMin; + LONG axMax; + UINT axUnits; + FIX32 axResolution; +} AXIS, *PAXIS, *NPAXIS, *LPAXIS; + +/* unit specifiers */ +#define TU_NONE 0 +#define TU_INCHES 1 +#define TU_CENTIMETERS 2 +#define TU_CIRCLE 3 + +#endif + +#ifndef NOWTSYSBUTTONS + +/* system button assignment values */ +#define SBN_NONE 0x00 +#define SBN_LCLICK 0x01 +#define SBN_LDBLCLICK 0x02 +#define SBN_LDRAG 0x03 +#define SBN_RCLICK 0x04 +#define SBN_RDBLCLICK 0x05 +#define SBN_RDRAG 0x06 +#define SBN_MCLICK 0x07 +#define SBN_MDBLCLICK 0x08 +#define SBN_MDRAG 0x09 + +/* for Pen Windows */ +#define SBN_PTCLICK 0x10 +#define SBN_PTDBLCLICK 0x20 +#define SBN_PTDRAG 0x30 +#define SBN_PNCLICK 0x40 +#define SBN_PNDBLCLICK 0x50 +#define SBN_PNDRAG 0x60 +#define SBN_P1CLICK 0x70 +#define SBN_P1DBLCLICK 0x80 +#define SBN_P1DRAG 0x90 +#define SBN_P2CLICK 0xA0 +#define SBN_P2DBLCLICK 0xB0 +#define SBN_P2DRAG 0xC0 +#define SBN_P3CLICK 0xD0 +#define SBN_P3DBLCLICK 0xE0 +#define SBN_P3DRAG 0xF0 + +#endif + +#ifndef NOWTCAPABILITIES + +/* hardware capabilities */ +#define HWC_INTEGRATED 0x0001 +#define HWC_TOUCH 0x0002 +#define HWC_HARDPROX 0x0004 +#define HWC_PHYSID_CURSORS 0x0008 /* 1.1 */ +#endif + +#ifndef NOWTIFC + +#ifndef NOWTCURSORS + +/* cursor capabilities */ +#define CRC_MULTIMODE 0x0001 /* 1.1 */ +#define CRC_AGGREGATE 0x0002 /* 1.1 */ +#define CRC_INVERT 0x0004 /* 1.1 */ + +#endif + +/* info categories */ +#define WTI_INTERFACE 1 +#define IFC_WINTABID 1 +#define IFC_SPECVERSION 2 +#define IFC_IMPLVERSION 3 +#define IFC_NDEVICES 4 +#define IFC_NCURSORS 5 +#define IFC_NCONTEXTS 6 +#define IFC_CTXOPTIONS 7 +#define IFC_CTXSAVESIZE 8 +#define IFC_NEXTENSIONS 9 +#define IFC_NMANAGERS 10 +#define IFC_MAX 10 + +#endif + +#ifndef NOWTSTATUS + +#define WTI_STATUS 2 +#define STA_CONTEXTS 1 +#define STA_SYSCTXS 2 +#define STA_PKTRATE 3 +#define STA_PKTDATA 4 +#define STA_MANAGERS 5 +#define STA_SYSTEM 6 +#define STA_BUTTONUSE 7 +#define STA_SYSBTNUSE 8 +#define STA_MAX 8 + +#endif + +#ifndef NOWTDEFCONTEXT + +#define WTI_DEFCONTEXT 3 +#define WTI_DEFSYSCTX 4 +#define WTI_DDCTXS 400 /* 1.1 */ +#define WTI_DSCTXS 500 /* 1.1 */ +#define CTX_NAME 1 +#define CTX_OPTIONS 2 +#define CTX_STATUS 3 +#define CTX_LOCKS 4 +#define CTX_MSGBASE 5 +#define CTX_DEVICE 6 +#define CTX_PKTRATE 7 +#define CTX_PKTDATA 8 +#define CTX_PKTMODE 9 +#define CTX_MOVEMASK 10 +#define CTX_BTNDNMASK 11 +#define CTX_BTNUPMASK 12 +#define CTX_INORGX 13 +#define CTX_INORGY 14 +#define CTX_INORGZ 15 +#define CTX_INEXTX 16 +#define CTX_INEXTY 17 +#define CTX_INEXTZ 18 +#define CTX_OUTORGX 19 +#define CTX_OUTORGY 20 +#define CTX_OUTORGZ 21 +#define CTX_OUTEXTX 22 +#define CTX_OUTEXTY 23 +#define CTX_OUTEXTZ 24 +#define CTX_SENSX 25 +#define CTX_SENSY 26 +#define CTX_SENSZ 27 +#define CTX_SYSMODE 28 +#define CTX_SYSORGX 29 +#define CTX_SYSORGY 30 +#define CTX_SYSEXTX 31 +#define CTX_SYSEXTY 32 +#define CTX_SYSSENSX 33 +#define CTX_SYSSENSY 34 +#define CTX_MAX 34 + +#endif + +#ifndef NOWTDEVICES + +#define WTI_DEVICES 100 +#define DVC_NAME 1 +#define DVC_HARDWARE 2 +#define DVC_NCSRTYPES 3 +#define DVC_FIRSTCSR 4 +#define DVC_PKTRATE 5 +#define DVC_PKTDATA 6 +#define DVC_PKTMODE 7 +#define DVC_CSRDATA 8 +#define DVC_XMARGIN 9 +#define DVC_YMARGIN 10 +#define DVC_ZMARGIN 11 +#define DVC_X 12 +#define DVC_Y 13 +#define DVC_Z 14 +#define DVC_NPRESSURE 15 +#define DVC_TPRESSURE 16 +#define DVC_ORIENTATION 17 +#define DVC_ROTATION 18 /* 1.1 */ +#define DVC_PNPID 19 /* 1.1 */ +#define DVC_MAX 19 + +#endif + +#ifndef NOWTCURSORS + +#define WTI_CURSORS 200 +#define CSR_NAME 1 +#define CSR_ACTIVE 2 +#define CSR_PKTDATA 3 +#define CSR_BUTTONS 4 +#define CSR_BUTTONBITS 5 +#define CSR_BTNNAMES 6 +#define CSR_BUTTONMAP 7 +#define CSR_SYSBTNMAP 8 +#define CSR_NPBUTTON 9 +#define CSR_NPBTNMARKS 10 +#define CSR_NPRESPONSE 11 +#define CSR_TPBUTTON 12 +#define CSR_TPBTNMARKS 13 +#define CSR_TPRESPONSE 14 +#define CSR_PHYSID 15 /* 1.1 */ +#define CSR_MODE 16 /* 1.1 */ +#define CSR_MINPKTDATA 17 /* 1.1 */ +#define CSR_MINBUTTONS 18 /* 1.1 */ +#define CSR_CAPABILITIES 19 /* 1.1 */ +/* from http://www.wacomeng.com/devsupport/ibmpc/wacomwindevfaq.html */ +#define CSR_TYPE 20 +#define CSR_MAX 20 + +#endif + +#ifndef NOWTEXTENSIONS + +#define WTI_EXTENSIONS 300 +#define EXT_NAME 1 +#define EXT_TAG 2 +#define EXT_MASK 3 +#define EXT_SIZE 4 +#define EXT_AXES 5 +#define EXT_DEFAULT 6 +#define EXT_DEFCONTEXT 7 +#define EXT_DEFSYSCTX 8 +#define EXT_CURSORS 9 +#define EXT_MAX 109 /* Allow 100 cursors */ + +#endif + +#endif + +/*********************************************************************** + * CONTEXT DATA DEFS + */ + +#define LCNAMELEN 40 +#define LC_NAMELEN 40 + +typedef struct tagLOGCONTEXTA { + char lcName[LCNAMELEN]; + UINT lcOptions; + UINT lcStatus; + UINT lcLocks; + UINT lcMsgBase; + UINT lcDevice; + UINT lcPktRate; + WTPKT lcPktData; + WTPKT lcPktMode; + WTPKT lcMoveMask; + DWORD lcBtnDnMask; + DWORD lcBtnUpMask; + LONG lcInOrgX; + LONG lcInOrgY; + LONG lcInOrgZ; + LONG lcInExtX; + LONG lcInExtY; + LONG lcInExtZ; + LONG lcOutOrgX; + LONG lcOutOrgY; + LONG lcOutOrgZ; + LONG lcOutExtX; + LONG lcOutExtY; + LONG lcOutExtZ; + FIX32 lcSensX; + FIX32 lcSensY; + FIX32 lcSensZ; + BOOL lcSysMode; + int lcSysOrgX; + int lcSysOrgY; + int lcSysExtX; + int lcSysExtY; + FIX32 lcSysSensX; + FIX32 lcSysSensY; +} LOGCONTEXTA, *PLOGCONTEXTA, *NPLOGCONTEXTA, *LPLOGCONTEXTA; + +typedef struct tagLOGCONTEXTW { + WCHAR lcName[LCNAMELEN]; + UINT lcOptions; + UINT lcStatus; + UINT lcLocks; + UINT lcMsgBase; + UINT lcDevice; + UINT lcPktRate; + WTPKT lcPktData; + WTPKT lcPktMode; + WTPKT lcMoveMask; + DWORD lcBtnDnMask; + DWORD lcBtnUpMask; + LONG lcInOrgX; + LONG lcInOrgY; + LONG lcInOrgZ; + LONG lcInExtX; + LONG lcInExtY; + LONG lcInExtZ; + LONG lcOutOrgX; + LONG lcOutOrgY; + LONG lcOutOrgZ; + LONG lcOutExtX; + LONG lcOutExtY; + LONG lcOutExtZ; + FIX32 lcSensX; + FIX32 lcSensY; + FIX32 lcSensZ; + BOOL lcSysMode; + int lcSysOrgX; + int lcSysOrgY; + int lcSysExtX; + int lcSysExtY; + FIX32 lcSysSensX; + FIX32 lcSysSensY; +} LOGCONTEXTW, *PLOGCONTEXTW, *NPLOGCONTEXTW, *LPLOGCONTEXTW; + +DECL_WINELIB_TYPE_AW(LOGCONTEXT) +DECL_WINELIB_TYPE_AW(PLOGCONTEXT) +DECL_WINELIB_TYPE_AW(NPLOGCONTEXT) +DECL_WINELIB_TYPE_AW(LPLOGCONTEXT) + +/* context option values */ +#define CXO_SYSTEM 0x0001 +#define CXO_PEN 0x0002 +#define CXO_MESSAGES 0x0004 +#define CXO_MARGIN 0x8000 +#define CXO_MGNINSIDE 0x4000 +#define CXO_CSRMESSAGES 0x0008 /* 1.1 */ + +/* context status values */ +#define CXS_DISABLED 0x0001 +#define CXS_OBSCURED 0x0002 +#define CXS_ONTOP 0x0004 + +/* context lock values */ +#define CXL_INSIZE 0x0001 +#define CXL_INASPECT 0x0002 +#define CXL_SENSITIVITY 0x0004 +#define CXL_MARGIN 0x0008 +#define CXL_SYSOUT 0x0010 + +/*********************************************************************** + * EVENT DATA DEFS + */ + +/* For packet structure definition, see pktdef.h */ + +/* packet status values */ +#define TPS_PROXIMITY 0x0001 +#define TPS_QUEUE_ERR 0x0002 +#define TPS_MARGIN 0x0004 +#define TPS_GRAB 0x0008 +#define TPS_INVERT 0x0010 /* 1.1 */ + +typedef struct tagORIENTATION { + int orAzimuth; + int orAltitude; + int orTwist; +} ORIENTATION, *PORIENTATION, *NPORIENTATION, *LPORIENTATION; + +typedef struct tagROTATION { /* 1.1 */ + int roPitch; + int roRoll; + int roYaw; +} ROTATION, *PROTATION, *NPROTATION, *LPROTATION; + +/* grandfather in obsolete member names. */ +#define rotPitch roPitch +#define rotRoll roRoll +#define rotYaw roYaw + +/* relative buttons */ +#define TBN_NONE 0 +#define TBN_UP 1 +#define TBN_DOWN 2 + +/*********************************************************************** + * DEVICE CONFIG CONSTANTS + */ + +#ifndef NOWTDEVCFG + +#define WTDC_NONE 0 +#define WTDC_CANCEL 1 +#define WTDC_OK 2 +#define WTDC_RESTART 3 + +#endif + +/*********************************************************************** + * HOOK CONSTANTS + */ + +#ifndef NOWTHOOKS + +#define WTH_PLAYBACK 1 +#define WTH_RECORD 2 + +#define WTHC_GETLPLPFN (-3) +#define WTHC_LPLPFNNEXT (-2) +#define WTHC_LPFNNEXT (-1) +#define WTHC_ACTION 0 +#define WTHC_GETNEXT 1 +#define WTHC_SKIP 2 + +#endif + +/*********************************************************************** + * PREFERENCE FUNCTION CONSTANTS + */ + +#ifndef NOWTPREF + +#define WTP_LPDEFAULT ((LPVOID)-1L) +#define WTP_DWDEFAULT ((DWORD)-1L) + +#endif + +/*********************************************************************** + * EXTENSION TAGS AND CONSTANTS + */ + +#ifndef NOWTEXTENSIONS + +/* constants for use with pktdef.h */ +#define PKEXT_ABSOLUTE 1 +#define PKEXT_RELATIVE 2 + +/* Extension tags. */ +#define WTX_OBT 0 /* Out of bounds tracking */ +#define WTX_FKEYS 1 /* Function keys */ +#define WTX_TILT 2 /* Raw Cartesian tilt; 1.1 */ +#define WTX_CSRMASK 3 /* select input by cursor type; 1.1 */ +#define WTX_XBTNMASK 4 /* Extended button mask; 1.1 */ + +typedef struct tagXBTNMASK { + BYTE xBtnDnMask[32]; + BYTE xBtnUpMask[32]; +} XBTNMASK; + +typedef struct tagTILT { /* 1.1 */ + int tiltX; + int tiltY; +} TILT; + +#endif + +/*********************************************************************** + * Functions + */ + +#ifndef NOWTCALLBACKS + +#ifndef NOWTMANAGERFXNS + +/* callback function types */ +typedef BOOL (WINAPI * WTENUMPROC)(HCTX, LPARAM); /* changed CALLBACK->WINAPI, 1.1 */ +typedef BOOL (WINAPI * WTCONFIGPROC)(HCTX, HWND); +typedef LRESULT (WINAPI * WTHOOKPROC)(int, WPARAM, LPARAM); +typedef WTHOOKPROC *LPWTHOOKPROC; + +#endif + +#endif + +#ifndef NOWTFUNCTIONS + +#ifndef NOWTBASICFXNS +/* BASIC FUNCTIONS */ + +#define ORD_WTInfoA 20 +#define ORD_WTInfoW 1020 +#define ORD_WTInfo WINELIB_NAME_AW(ORD_WTInfo) +#define ORD_WTOpenA 21 +#define ORD_WTOpenW 1021 +#define ORD_WTOpen WINELIB_NAME_AW(ORD_WTOpen) +#define ORD_WTClose 22 +#define ORD_WTPacketsGet 23 +#define ORD_WTPacket 24 + +UINT WINAPI WTInfoA(UINT, UINT, LPVOID); +UINT WINAPI WTInfoW(UINT, UINT, LPVOID); +#define WTInfo WINELIB_NAME_AW(WTInfo) +HCTX WINAPI WTOpenA(HWND, LPLOGCONTEXTA, BOOL); +HCTX WINAPI WTOpenW(HWND, LPLOGCONTEXTW, BOOL); +#define WTOpen WINELIB_NAME_AW(WTOpen) +BOOL WINAPI WTClose(HCTX); +int WINAPI WTPacketsGet(HCTX, int, LPVOID); +BOOL WINAPI WTPacket(HCTX, UINT, LPVOID); + +#endif + +#ifndef NOWTVISIBILITYFXNS +/* VISIBILITY FUNCTIONS */ + +#define ORD_WTEnable 40 +#define ORD_WTOverlap 41 + +BOOL WINAPI WTEnable(HCTX, BOOL); +BOOL WINAPI WTOverlap(HCTX, BOOL); + +#endif + +#ifndef NOWTCTXEDITFXNS +/* CONTEXT EDITING FUNCTIONS */ + +#define ORD_WTConfig 60 +#define ORD_WTGetA 61 +#define ORD_WTGetW 1061 +#define ORD_WTGet WINELIB_NAME_AW(ORD_WTGet) +#define ORD_WTSetA 62 +#define ORD_WTSetW 1062 +#define ORD_WTSet WINELIB_NAME_AW(ORD_WTSet) +#define ORD_WTExtGet 63 +#define ORD_WTExtSet 64 +#define ORD_WTSave 65 +#define ORD_WTRestore 66 + +BOOL WINAPI WTConfig(HCTX, HWND); +BOOL WINAPI WTGetA(HCTX, LPLOGCONTEXTA); +BOOL WINAPI WTGetW(HCTX, LPLOGCONTEXTW); +#define WTGet WINELIB_NAME_AW(WTGet) +BOOL WINAPI WTSetA(HCTX, LPLOGCONTEXTA); +BOOL WINAPI WTSetW(HCTX, LPLOGCONTEXTW); +#define WTSet WINELIB_NAME_AW(WTSet) +BOOL WINAPI WTExtGet(HCTX, UINT, LPVOID); +BOOL WINAPI WTExtSet(HCTX, UINT, LPVOID); +BOOL WINAPI WTSave(HCTX, LPVOID); +HCTX WINAPI WTRestore(HWND, LPVOID, BOOL); + +#endif + +#ifndef NOWTQUEUEFXNS +/* ADVANCED PACKET AND QUEUE FUNCTIONS */ + +#define ORD_WTPacketsPeek 80 +#define ORD_WTDataGet 81 +#define ORD_WTDataPeek 82 +#define ORD_WTQueueSizeGet 84 +#define ORD_WTQueueSizeSet 85 + +int WINAPI WTPacketsPeek(HCTX, int, LPVOID); +int WINAPI WTDataGet(HCTX, UINT, UINT, int, LPVOID, LPINT); +int WINAPI WTDataPeek(HCTX, UINT, UINT, int, LPVOID, LPINT); +int WINAPI WTQueueSizeGet(HCTX); +BOOL WINAPI WTQueueSizeSet(HCTX, int); + +#endif + +#ifndef NOWTHMGRFXNS +/* MANAGER HANDLE FUNCTIONS */ + +#define ORD_WTMgrOpen 100 +#define ORD_WTMgrClose 101 + +HMGR WINAPI WTMgrOpen(HWND, UINT); +BOOL WINAPI WTMgrClose(HMGR); + +#endif + +#ifndef NOWTMGRCTXFXNS +/* MANAGER CONTEXT FUNCTIONS */ + +#define ORD_WTMgrContextEnum 120 +#define ORD_WTMgrContextOwner 121 +#define ORD_WTMgrDefContext 122 +#define ORD_WTMgrDefContextEx 206 + +BOOL WINAPI WTMgrContextEnum(HMGR, WTENUMPROC, LPARAM); +HWND WINAPI WTMgrContextOwner(HMGR, HCTX); +HCTX WINAPI WTMgrDefContext(HMGR, BOOL); +HCTX WINAPI WTMgrDefContextEx(HMGR, UINT, BOOL); /* 1.1 */ + +#endif + +#ifndef NOWTMGRCONFIGFXNS +/* MANAGER CONFIG BOX FUNCTIONS */ + +#define ORD_WTMgrDeviceConfig 140 + +UINT WINAPI WTMgrDeviceConfig(HMGR, UINT, HWND); + +#endif + +#ifndef NOWTMGRHOOKFXNS +/* MANAGER PACKET HOOK FUNCTIONS */ + +/* OBSOLETE IN WIN32! */ + +#endif + +#ifndef NOWTMGRPREFFXNS +/* MANAGER PREFERENCE DATA FUNCTIONS */ + +#define ORD_WTMgrExt 180 +#define ORD_WTMgrCsrEnable 181 +#define ORD_WTMgrCsrButtonMap 182 +#define ORD_WTMgrCsrPressureBtnMarks 183 +#define ORD_WTMgrCsrPressureResponse 184 +#define ORD_WTMgrCsrExt 185 + +BOOL WINAPI WTMgrExt(HMGR, UINT, LPVOID); +BOOL WINAPI WTMgrCsrEnable(HMGR, UINT, BOOL); +BOOL WINAPI WTMgrCsrButtonMap(HMGR, UINT, LPBYTE, LPBYTE); +BOOL WINAPI WTMgrCsrPressureBtnMarks(HMGR, UINT, DWORD, DWORD); +BOOL WINAPI WTMgrCsrPressureResponse(HMGR, UINT, UINT *, UINT *); +BOOL WINAPI WTMgrCsrExt(HMGR, UINT, UINT, LPVOID); + +#endif + +/*********************************************************************** + * Win32 replacements for non-portable functions. + */ + +#ifndef NOWTQUEUEFXNS +/* ADVANCED PACKET AND QUEUE FUNCTIONS */ + +#define ORD_WTQueuePacketsEx 200 + +BOOL WINAPI WTQueuePacketsEx(HCTX, UINT *, UINT *); + +#endif + +#ifndef NOWTMGRCONFIGFXNS +/* MANAGER CONFIG BOX FUNCTIONS */ + +#define ORD_WTMgrConfigReplaceExA 202 +#define ORD_WTMgrConfigReplaceExW 1202 +#define ORD_WTMgrConfigReplaceEx WINELIB_NAME_AW(ORD_WTMgrConfigReplaceEx) + +BOOL WINAPI WTMgrConfigReplaceExA(HMGR, BOOL, LPSTR, LPSTR); +BOOL WINAPI WTMgrConfigReplaceExW(HMGR, BOOL, LPWSTR, LPSTR); +#define WTMgrConfigReplaceEx WINELIB_NAME_AW(WTMgrConfigReplaceEx) + +#endif + +#ifndef NOWTMGRHOOKFXNS +/* MANAGER PACKET HOOK FUNCTIONS */ + +#define ORD_WTMgrPacketHookExA 203 +#define ORD_WTMgrPacketHookExW 1203 +#define ORD_WTMgrPacketHookEx WINELIB_NAME_AW(ORD_WTMgrPacketHookEx) +#define ORD_WTMgrPacketUnhook 204 +#define ORD_WTMgrPacketHookNext 205 + +HWTHOOK WINAPI WTMgrPacketHookExA(HMGR, int, LPSTR, LPSTR); +HWTHOOK WINAPI WTMgrPacketHookExW(HMGR, int, LPWSTR, LPSTR); +#define WTMgrPacketHookEx WINELIB_NAME_AW(WTMgrPacketHookEx) +BOOL WINAPI WTMgrPacketUnhook(HWTHOOK); +LRESULT WINAPI WTMgrPacketHookNext(HWTHOOK, int, WPARAM, LPARAM); + +#endif + +#ifndef NOWTMGRPREFFXNS +/* MANAGER PREFERENCE DATA FUNCTIONS */ + +#define ORD_WTMgrCsrPressureBtnMarksEx 201 + +BOOL WINAPI WTMgrCsrPressureBtnMarksEx(HMGR, UINT, UINT *, UINT *); + +#endif + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* defined(__WINE_WINTAB_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintabx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintabx.h new file mode 100644 index 0000000..d5531cb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintabx.h @@ -0,0 +1,130 @@ +/* + * Copyright (C) 1991-1998 by LCS/Telegraphics + * Copyright (C) 2002 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINTABX_H +#define __WINE_WINTABX_H + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +/*********************************************************************** + * Wintab message crackers + */ + +#ifndef HANDLE_MSG +# define HANDLE_MSG(hwnd, message, fn) \ + case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) +#endif + +/* void Cls_OnWintabPacket(HWND hwnd, HCTX hCtx, UINT sn) */ +#define HANDLE_WT_PACKET(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HCTX)(lParam), (UINT)(wParam)), 0L) +#define FORWARD__WT_PACKET(hwnd, bs, hCtx, sn, fn) \ + (void)(fn)((hwnd), _WT_PACKET(bs), (WPARAM)(UINT)(sn), (LPARAM)(HCTX)(hCtx)) +#define FORWARD_WT_PACKET(hwnd, hCtx, sn, fn) \ + FORWARD__WT_PACKET(hwnd, WT_DEFBASE, hCtx, sn, fn) + +/* void Cls_OnWintabCtxOpen(HWND hwnd, HCTX hCtx, UINT sf) */ +#define HANDLE_WT_CTXOPEN(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HCTX)(wParam), (UINT)(lParam)), 0L) +#define FORWARD__WT_CTXOPEN(hwnd, bs, hCtx, sf, fn) \ + (void)(fn)((hwnd), _WT_CTXOPEN(bs), (WPARAM)(HCTX)(hCtx), (LPARAM)(UINT)(sf)) +#define FORWARD_WT_CTXOPEN(hwnd, hCtx, sf, fn) \ + FORWARD__WT_CTXOPEN(hwnd, WT_DEFBASE, hCtx, sf, fn) + +/* void Cls_OnWintabCtxClose(HWND hwnd, HCTX hCtx, UINT sf) */ +#define HANDLE_WT_CTXCLOSE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HCTX)(wParam), (UINT)(lParam)), 0L) +#define FORWARD__WT_CTXCLOSE(hwnd, bs, hCtx, sf, fn) \ + (void)(fn)((hwnd), _WT_CTXCLOSE(bs), (WPARAM)(HCTX)(hCtx), (LPARAM)(UINT)(sf)) +#define FORWARD_WT_CTXCLOSE(hwnd, hCtx, sf, fn) \ + FORWARD__WT_CTXCLOSE(hwnd, WT_DEFBASE, hCtx, sf, fn) + +/* void Cls_OnWintabCtxUpdate(HWND hwnd, HCTX hCtx, UINT sf) */ +#define HANDLE_WT_CTXUPDATE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HCTX)(wParam), (UINT)(lParam)), 0L) +#define FORWARD__WT_CTXUPDATE(hwnd, bs, hCtx, sf, fn) \ + (void)(fn)((hwnd), _WT_CTXUPDATE(bs), (WPARAM)(HCTX)(hCtx), (LPARAM)(UINT)(sf)) +#define FORWARD_WT_CTXUPDATE(hwnd, hCtx, sf, fn) \ + FORWARD__WT_CTXUPDATE(hwnd, WT_DEFBASE, hCtx, sf, fn) + +/* void Cls_OnWintabCtxOverlap(HWND hwnd, HCTX hCtx, UINT sf) */ +#define HANDLE_WT_CTXOVERLAP(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HCTX)(wParam), (UINT)(lParam)), 0L) +#define FORWARD__WT_CTXOVERLAP(hwnd, bs, hCtx, sf, fn) \ + (void)(fn)((hwnd), _WT_CTXOVERLAP(bs), (WPARAM)(HCTX)(hCtx), (LPARAM)(UINT)(sf)) +#define FORWARD_WT_CTXOVERLAP(hwnd, hCtx, sf, fn) \ + FORWARD__WT_CTXOVERLAP(hwnd, WT_DEFBASE, hCtx, sf, fn) + +/* void Cls_OnWintabProximity(HWND hwnd, HCTX hCtx, BOOL cp, BOOL hp) */ +#define HANDLE_WT_PROXIMITY(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HCTX)(wParam), (BOOL)LOWORD(lParam), (BOOL)HIWORD(lParam)), 0L) +#define FORWARD__WT_PROXIMITY(hwnd, bs, hCtx, cp, hp, fn) \ + (void)(fn)((hwnd), _WT_PROXIMITY(bs), (WPARAM)(HCTX)(hCtx), MAKELPARAM((cp), (hp)) +#define FORWARD_WT_PROXIMITY(hwnd, hCtx, sf, fn) \ + FORWARD__WT_PROXIMITY(hwnd, WT_DEFBASE, hCtx, cp, hp, fn) + +/* void Cls_OnWintabInfoChange(HWND hwnd, HMGR hMgr, UINT c, UINT i) */ +#define HANDLE_WT_INFOCHANGE(hwnd, wParam, lParam, fn) \ + ((fn)((hwnd), (HMGR)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L) +#define FORWARD__WT_INFOCHANGE(hwnd, bs, hMgr, cp, hp, fn) \ + (void)(fn)((hwnd), _WT_INFOCHANGE(bs), (WPARAM)(HMGR)(hMgr), MAKELPARAM((c), (i)) +#define FORWARD_WT_INFOCHANGE(hwnd, hMgr, sf, fn) \ + FORWARD__WT_INFOCHANGE(hwnd, WT_DEFBASE, hMgr, cp, hp, fn) + +/*********************************************************************** + * Alternate porting layer macros + */ + +#define GET_WT_PACKET_HCTX(wp, lp) ((HCTX)lp) +#define GET_WT_PACKET_SERIAL(wp, lp) (wp) +#define GET_WT_PACKET_MPS(h, s) (s), (LPARAM)(h) + +#define GET_WT_CTXOPEN_HCTX(wp, lp) ((HCTX)wp) +#define GET_WT_CTXOPEN_STATUS(wp, lp) ((UINT)lp) +#define GET_WT_CTXOPEN_MPS(h, s) (WPARAM)(h), (LPARAM)(s) + +#define GET_WT_CTXCLOSE_HCTX(wp, lp) ((HCTX)wp) +#define GET_WT_CTXCLOSE_STATUS(wp, lp) ((UINT)lp) +#define GET_WT_CTXCLOSE_MPS(h, s) (WPARAM)(h), (LPARAM)(s) + +#define GET_WT_CTXUPDATE_HCTX(wp, lp) ((HCTX)wp) +#define GET_WT_CTXUPDATE_STATUS(wp, lp) ((UINT)lp) +#define GET_WT_CTXUPDATE_MPS(h, s) (WPARAM)(h), (LPARAM)(s) + +#define GET_WT_CTXOVERLAP_HCTX(wp, lp) ((HCTX)wp) +#define GET_WT_CTXOVERLAP_STATUS(wp, lp) ((UINT)lp) +#define GET_WT_CTXOVERLAP_MPS(h, s) (WPARAM)(h), (LPARAM)(s) + +#define GET_WT_PROXIMITY_HCTX(wp, lp) ((HCTX)wp) +#define GET_WT_PROXIMITY_CTXPROX(wp, lp) LOWORD(lp) +#define GET_WT_PROXIMITY_HARDPROX(wp, lp) HIWORD(lp) +#define GET_WT_PROXIMITY_MPS(h, fc, fh) (WPARAM)(h), MAKELONG(fc, fh) + +#define GET_WT_INFOCHANGE_HMGR(wp, lp) ((HMGR)wp) +#define GET_WT_INFOCHANGE_CATEGORY(wp, lp) LOWORD(lp) +#define GET_WT_INFOCHANGE_INDEX(wp, lp) HIWORD(lp) +#define GET_WT_INFOCHANGE_MPS(h, c, i) (WPARAM)(h), MAKELONG(c, i) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* defined(__WINE_WINTABX_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winternl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winternl.h new file mode 100644 index 0000000..ec8b387 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winternl.h @@ -0,0 +1,2914 @@ +/* + * Internal NT APIs and data structures + * + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINTERNL_H +#define __WINE_WINTERNL_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + + +/********************************************************************** + * Fundamental types and data structures + */ + +#ifndef WINE_NTSTATUS_DECLARED +#define WINE_NTSTATUS_DECLARED +typedef LONG NTSTATUS; +#endif + +typedef const char *PCSZ; + +typedef short CSHORT; +typedef CSHORT *PCSHORT; + +#ifndef __STRING_DEFINED__ +#define __STRING_DEFINED__ +typedef struct _STRING { + USHORT Length; + USHORT MaximumLength; + PCHAR Buffer; +} STRING, *PSTRING; +#endif + +typedef STRING ANSI_STRING; +typedef PSTRING PANSI_STRING; +typedef const STRING *PCANSI_STRING; + +typedef STRING OEM_STRING; +typedef PSTRING POEM_STRING; +typedef const STRING *PCOEM_STRING; + +#ifndef __UNICODE_STRING_DEFINED__ +#define __UNICODE_STRING_DEFINED__ +typedef struct _UNICODE_STRING { + USHORT Length; /* bytes */ + USHORT MaximumLength; /* bytes */ + PWSTR Buffer; +} UNICODE_STRING, *PUNICODE_STRING; +#endif + +typedef const UNICODE_STRING *PCUNICODE_STRING; + +#ifndef _FILETIME_ +#define _FILETIME_ +/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */ +typedef struct _FILETIME +{ +#ifdef WORDS_BIGENDIAN + DWORD dwHighDateTime; + DWORD dwLowDateTime; +#else + DWORD dwLowDateTime; + DWORD dwHighDateTime; +#endif +} FILETIME, *PFILETIME, *LPFILETIME; +#endif /* _FILETIME_ */ + +/* + * RTL_SYSTEM_TIME and RTL_TIME_ZONE_INFORMATION are the same as + * the SYSTEMTIME and TIME_ZONE_INFORMATION structures defined + * in winbase.h, however we need to define them separately so + * winternl.h doesn't depend on winbase.h. They are used by + * RtlQueryTimeZoneInformation and RtlSetTimeZoneInformation. + * The names are guessed; if anybody knows the real names, let me know. + */ +typedef struct _RTL_SYSTEM_TIME { + WORD wYear; + WORD wMonth; + WORD wDayOfWeek; + WORD wDay; + WORD wHour; + WORD wMinute; + WORD wSecond; + WORD wMilliseconds; +} RTL_SYSTEM_TIME, *PRTL_SYSTEM_TIME; + +typedef struct _RTL_TIME_ZONE_INFORMATION { + LONG Bias; + WCHAR StandardName[32]; + RTL_SYSTEM_TIME StandardDate; + LONG StandardBias; + WCHAR DaylightName[32]; + RTL_SYSTEM_TIME DaylightDate; + LONG DaylightBias; +} RTL_TIME_ZONE_INFORMATION, *PRTL_TIME_ZONE_INFORMATION; + +typedef struct _RTL_TIME_DYNAMIC_ZONE_INFORMATION +{ + LONG Bias; + WCHAR StandardName[32]; + RTL_SYSTEM_TIME StandardDate; + LONG StandardBias; + WCHAR DaylightName[32]; + RTL_SYSTEM_TIME DaylightDate; + LONG DaylightBias; + WCHAR TimeZoneKeyName[128]; + BOOLEAN DynamicDaylightTimeDisabled; +} RTL_DYNAMIC_TIME_ZONE_INFORMATION, *PRTL_DYNAMIC_TIME_ZONE_INFORMATION; + +typedef struct _CLIENT_ID +{ + HANDLE UniqueProcess; + HANDLE UniqueThread; +} CLIENT_ID, *PCLIENT_ID; + +typedef struct _CURDIR +{ + UNICODE_STRING DosPath; + PVOID Handle; +} CURDIR, *PCURDIR; + +typedef struct RTL_DRIVE_LETTER_CURDIR +{ + USHORT Flags; + USHORT Length; + ULONG TimeStamp; + UNICODE_STRING DosPath; +} RTL_DRIVE_LETTER_CURDIR, *PRTL_DRIVE_LETTER_CURDIR; + +typedef struct tagRTL_BITMAP { + ULONG SizeOfBitMap; /* Number of bits in the bitmap */ + PULONG Buffer; /* Bitmap data, assumed sized to a DWORD boundary */ +} RTL_BITMAP, *PRTL_BITMAP; + +typedef const RTL_BITMAP *PCRTL_BITMAP; + +typedef struct tagRTL_BITMAP_RUN { + ULONG StartingIndex; /* Bit position at which run starts */ + ULONG NumberOfBits; /* Size of the run in bits */ +} RTL_BITMAP_RUN, *PRTL_BITMAP_RUN; + +typedef const RTL_BITMAP_RUN *PCRTL_BITMAP_RUN; + +typedef struct _RTL_USER_PROCESS_PARAMETERS +{ + ULONG AllocationSize; + ULONG Size; + ULONG Flags; + ULONG DebugFlags; + HANDLE ConsoleHandle; + ULONG ConsoleFlags; + HANDLE hStdInput; + HANDLE hStdOutput; + HANDLE hStdError; + CURDIR CurrentDirectory; + UNICODE_STRING DllPath; + UNICODE_STRING ImagePathName; + UNICODE_STRING CommandLine; + PWSTR Environment; + ULONG dwX; + ULONG dwY; + ULONG dwXSize; + ULONG dwYSize; + ULONG dwXCountChars; + ULONG dwYCountChars; + ULONG dwFillAttribute; + ULONG dwFlags; + ULONG wShowWindow; + UNICODE_STRING WindowTitle; + UNICODE_STRING Desktop; + UNICODE_STRING ShellInfo; + UNICODE_STRING RuntimeInfo; + RTL_DRIVE_LETTER_CURDIR DLCurrentDirectory[0x20]; +} RTL_USER_PROCESS_PARAMETERS, *PRTL_USER_PROCESS_PARAMETERS; + +/* value for Flags field (FIXME: not the correct name) */ +#define PROCESS_PARAMS_FLAG_NORMALIZED 1 + +typedef struct _PEB_LDR_DATA +{ + ULONG Length; + BOOLEAN Initialized; + PVOID SsHandle; + LIST_ENTRY InLoadOrderModuleList; + LIST_ENTRY InMemoryOrderModuleList; + LIST_ENTRY InInitializationOrderModuleList; + PVOID EntryInProgress; +} PEB_LDR_DATA, *PPEB_LDR_DATA; + +typedef struct _GDI_TEB_BATCH +{ + ULONG Offset; + HANDLE HDC; + ULONG Buffer[0x136]; +} GDI_TEB_BATCH; + +typedef struct _RTL_ACTIVATION_CONTEXT_STACK_FRAME +{ + struct _RTL_ACTIVATION_CONTEXT_STACK_FRAME *Previous; + struct _ACTIVATION_CONTEXT *ActivationContext; + ULONG Flags; +} RTL_ACTIVATION_CONTEXT_STACK_FRAME, *PRTL_ACTIVATION_CONTEXT_STACK_FRAME; + +typedef struct _ACTIVATION_CONTEXT_STACK +{ + ULONG Flags; + ULONG NextCookieSequenceNumber; + RTL_ACTIVATION_CONTEXT_STACK_FRAME *ActiveFrame; + LIST_ENTRY FrameListCache; +} ACTIVATION_CONTEXT_STACK, *PACTIVATION_CONTEXT_STACK; + +/*********************************************************************** + * PEB data structure + */ +typedef struct _PEB +{ /* win32/win64 */ + BOOLEAN InheritedAddressSpace; /* 000/000 */ + BOOLEAN ReadImageFileExecOptions; /* 001/001 */ + BOOLEAN BeingDebugged; /* 002/002 */ + BOOLEAN SpareBool; /* 003/003 */ + HANDLE Mutant; /* 004/008 */ + HMODULE ImageBaseAddress; /* 008/010 */ + PPEB_LDR_DATA LdrData; /* 00c/018 */ + RTL_USER_PROCESS_PARAMETERS *ProcessParameters; /* 010/020 */ + PVOID SubSystemData; /* 014/028 */ + HANDLE ProcessHeap; /* 018/030 */ + PRTL_CRITICAL_SECTION FastPebLock; /* 01c/038 */ + PVOID /*PPEBLOCKROUTINE*/ FastPebLockRoutine; /* 020/040 */ + PVOID /*PPEBLOCKROUTINE*/ FastPebUnlockRoutine; /* 024/048 */ + ULONG EnvironmentUpdateCount; /* 028/050 */ + PVOID KernelCallbackTable; /* 02c/058 */ + ULONG Reserved[2]; /* 030/060 */ + PVOID /*PPEB_FREE_BLOCK*/ FreeList; /* 038/068 */ + ULONG TlsExpansionCounter; /* 03c/070 */ + PRTL_BITMAP TlsBitmap; /* 040/078 */ + ULONG TlsBitmapBits[2]; /* 044/080 */ + PVOID ReadOnlySharedMemoryBase; /* 04c/088 */ + PVOID ReadOnlySharedMemoryHeap; /* 050/090 */ + PVOID *ReadOnlyStaticServerData; /* 054/098 */ + PVOID AnsiCodePageData; /* 058/0a0 */ + PVOID OemCodePageData; /* 05c/0a8 */ + PVOID UnicodeCaseTableData; /* 060/0b0 */ + ULONG NumberOfProcessors; /* 064/0b8 */ + ULONG NtGlobalFlag; /* 068/0bc */ + LARGE_INTEGER CriticalSectionTimeout; /* 070/0c0 */ + SIZE_T HeapSegmentReserve; /* 078/0c8 */ + SIZE_T HeapSegmentCommit; /* 07c/0d0 */ + SIZE_T HeapDeCommitTotalFreeThreshold; /* 080/0d8 */ + SIZE_T HeapDeCommitFreeBlockThreshold; /* 084/0e0 */ + ULONG NumberOfHeaps; /* 088/0e8 */ + ULONG MaximumNumberOfHeaps; /* 08c/0ec */ + PVOID *ProcessHeaps; /* 090/0f0 */ + PVOID GdiSharedHandleTable; /* 094/0f8 */ + PVOID ProcessStarterHelper; /* 098/100 */ + PVOID GdiDCAttributeList; /* 09c/108 */ + PVOID LoaderLock; /* 0a0/110 */ + ULONG OSMajorVersion; /* 0a4/118 */ + ULONG OSMinorVersion; /* 0a8/11c */ + ULONG OSBuildNumber; /* 0ac/120 */ + ULONG OSPlatformId; /* 0b0/124 */ + ULONG ImageSubSystem; /* 0b4/128 */ + ULONG ImageSubSystemMajorVersion; /* 0b8/12c */ + ULONG ImageSubSystemMinorVersion; /* 0bc/130 */ + ULONG ImageProcessAffinityMask; /* 0c0/134 */ + HANDLE GdiHandleBuffer[28]; /* 0c4/138 */ + ULONG unknown[6]; /* 134/218 */ + PVOID PostProcessInitRoutine; /* 14c/230 */ + PRTL_BITMAP TlsExpansionBitmap; /* 150/238 */ + ULONG TlsExpansionBitmapBits[32]; /* 154/240 */ + ULONG SessionId; /* 1d4/2c0 */ + ULARGE_INTEGER AppCompatFlags; /* 1d8/2c8 */ + ULARGE_INTEGER AppCompatFlagsUser; /* 1e0/2d0 */ + PVOID ShimData; /* 1e8/2d8 */ + PVOID AppCompatInfo; /* 1ec/2e0 */ + UNICODE_STRING CSDVersion; /* 1f0/2e8 */ + PVOID ActivationContextData; /* 1f8/2f8 */ + PVOID ProcessAssemblyStorageMap; /* 1fc/300 */ + PVOID SystemDefaultActivationData; /* 200/308 */ + PVOID SystemAssemblyStorageMap; /* 204/310 */ + SIZE_T MinimumStackCommit; /* 208/318 */ + PVOID *FlsCallback; /* 20c/320 */ + LIST_ENTRY FlsListHead; /* 210/328 */ + PRTL_BITMAP FlsBitmap; /* 218/338 */ + ULONG FlsBitmapBits[4]; /* 21c/340 */ +} PEB, *PPEB; + + +/*********************************************************************** + * TEB data structure + */ +typedef struct _TEB +{ /* win32/win64 */ + NT_TIB Tib; /* 000/0000 */ + PVOID EnvironmentPointer; /* 01c/0038 */ + CLIENT_ID ClientId; /* 020/0040 */ + PVOID ActiveRpcHandle; /* 028/0050 */ + PVOID ThreadLocalStoragePointer; /* 02c/0058 */ + PPEB Peb; /* 030/0060 */ + ULONG LastErrorValue; /* 034/0068 */ + ULONG CountOfOwnedCriticalSections; /* 038/006c */ + PVOID CsrClientThread; /* 03c/0070 */ + PVOID Win32ThreadInfo; /* 040/0078 */ + ULONG Win32ClientInfo[31]; /* 044/0080 used for user32 private data in Wine */ + PVOID WOW32Reserved; /* 0c0/0100 */ + ULONG CurrentLocale; /* 0c4/0108 */ + ULONG FpSoftwareStatusRegister; /* 0c8/010c */ + PVOID SystemReserved1[54]; /* 0cc/0110 used for kernel32 private data in Wine */ + LONG ExceptionCode; /* 1a4/02c0 */ + ACTIVATION_CONTEXT_STACK ActivationContextStack; /* 1a8/02c8 */ + BYTE SpareBytes1[24]; /* 1bc/02e8 */ + PVOID SystemReserved2[10]; /* 1d4/0300 used for ntdll platform-specific private data in Wine */ + GDI_TEB_BATCH GdiTebBatch; /* 1fc/0350 used for ntdll private data in Wine */ + HANDLE gdiRgn; /* 6dc/0838 */ + HANDLE gdiPen; /* 6e0/0840 */ + HANDLE gdiBrush; /* 6e4/0848 */ + CLIENT_ID RealClientId; /* 6e8/0850 */ + HANDLE GdiCachedProcessHandle; /* 6f0/0860 */ + ULONG GdiClientPID; /* 6f4/0868 */ + ULONG GdiClientTID; /* 6f8/086c */ + PVOID GdiThreadLocaleInfo; /* 6fc/0870 */ + ULONG UserReserved[5]; /* 700/0878 */ + PVOID glDispatchTable[280]; /* 714/0890 */ + PVOID glReserved1[26]; /* b74/1150 */ + PVOID glReserved2; /* bdc/1220 */ + PVOID glSectionInfo; /* be0/1228 */ + PVOID glSection; /* be4/1230 */ + PVOID glTable; /* be8/1238 */ + PVOID glCurrentRC; /* bec/1240 */ + PVOID glContext; /* bf0/1248 */ + ULONG LastStatusValue; /* bf4/1250 */ + UNICODE_STRING StaticUnicodeString; /* bf8/1258 used by advapi32 */ + WCHAR StaticUnicodeBuffer[261]; /* c00/1268 used by advapi32 */ + PVOID DeallocationStack; /* e0c/1478 */ + PVOID TlsSlots[64]; /* e10/1480 */ + LIST_ENTRY TlsLinks; /* f10/1680 */ + PVOID Vdm; /* f18/1690 */ + PVOID ReservedForNtRpc; /* f1c/1698 */ + PVOID DbgSsReserved[2]; /* f20/16a0 */ + ULONG HardErrorDisabled; /* f28/16b0 */ + PVOID Instrumentation[16]; /* f2c/16b8 */ + PVOID WinSockData; /* f6c/1738 */ + ULONG GdiBatchCount; /* f70/1740 */ + ULONG Spare2; /* f74/1744 */ + PVOID Spare3; /* f78/1748 */ + PVOID Spare4; /* f7c/1750 */ + PVOID ReservedForOle; /* f80/1758 */ + ULONG WaitingOnLoaderLock; /* f84/1760 */ + PVOID Reserved5[3]; /* f88/1768 */ + PVOID *TlsExpansionSlots; /* f94/1780 */ + ULONG ImpersonationLocale; /* f98/1788 */ + ULONG IsImpersonating; /* f9c/178c */ + PVOID NlsCache; /* fa0/1790 */ + PVOID ShimData; /* fa4/1798 */ + ULONG HeapVirtualAffinity; /* fa8/17a0 */ + PVOID CurrentTransactionHandle; /* fac/17a8 */ + PVOID ActiveFrame; /* fb0/17b0 */ +#ifdef _WIN64 + PVOID unknown[2]; /* 17b8 */ +#endif + PVOID *FlsSlots; /* fb4/17c8 */ +} TEB, *PTEB; + +/*********************************************************************** + * Enums + */ + +typedef enum _FILE_INFORMATION_CLASS { + FileDirectoryInformation = 1, + FileFullDirectoryInformation, + FileBothDirectoryInformation, + FileBasicInformation, + FileStandardInformation, + FileInternalInformation, + FileEaInformation, + FileAccessInformation, + FileNameInformation, + FileRenameInformation, + FileLinkInformation, + FileNamesInformation, + FileDispositionInformation, + FilePositionInformation, + FileFullEaInformation, + FileModeInformation, + FileAlignmentInformation, + FileAllInformation, + FileAllocationInformation, + FileEndOfFileInformation, + FileAlternateNameInformation, + FileStreamInformation, + FilePipeInformation, + FilePipeLocalInformation, + FilePipeRemoteInformation, + FileMailslotQueryInformation, + FileMailslotSetInformation, + FileCompressionInformation, + FileObjectIdInformation, + FileCompletionInformation, + FileMoveClusterInformation, + FileQuotaInformation, + FileReparsePointInformation, + FileNetworkOpenInformation, + FileAttributeTagInformation, + FileTrackingInformation, + FileIdBothDirectoryInformation, + FileIdFullDirectoryInformation, + FileValidDataLengthInformation, + FileShortNameInformation, + FileIoCompletionNotificationInformation, + FileIoStatusBlockRangeInformation, + FileIoPriorityHintInformation, + FileSfioReserveInformation, + FileSfioVolumeInformation, + FileHardLinkInformation, + FileProcessIdsUsingFileInformation, + FileNormalizedNameInformation, + FileNetworkPhysicalNameInformation, + FileIdGlobalTxDirectoryInformation, + FileIsRemoteDeviceInformation, + FileAttributeCacheInformation, + FileNumaNodeInformation, + FileStandardLinkInformation, + FileRemoteProtocolInformation, + FileRenameInformationBypassAccessCheck, + FileLinkInformationBypassAccessCheck, + FileVolumeNameInformation, + FileIdInformation, + FileIdExtdDirectoryInformation, + FileReplaceCompletionInformation, + FileHardLinkFullIdInformation, + FileIdExtdBothDirectoryInformation, + FileMaximumInformation +} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS; + +typedef struct _FILE_DIRECTORY_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + ULONG FileAttributes; + ULONG FileNameLength; + WCHAR FileName[ANYSIZE_ARRAY]; +} FILE_DIRECTORY_INFORMATION, *PFILE_DIRECTORY_INFORMATION; + +typedef struct _FILE_FULL_DIRECTORY_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + ULONG FileAttributes; + ULONG FileNameLength; + ULONG EaSize; + WCHAR FileName[ANYSIZE_ARRAY]; +} FILE_FULL_DIRECTORY_INFORMATION, *PFILE_FULL_DIRECTORY_INFORMATION, + FILE_FULL_DIR_INFORMATION, *PFILE_FULL_DIR_INFORMATION; + +typedef struct _FILE_ID_FULL_DIRECTORY_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + ULONG FileAttributes; + ULONG FileNameLength; + ULONG EaSize; + LARGE_INTEGER FileId; + WCHAR FileName[ANYSIZE_ARRAY]; +} FILE_ID_FULL_DIRECTORY_INFORMATION, *PFILE_ID_FULL_DIRECTORY_INFORMATION; + +typedef struct _FILE_BOTH_DIRECTORY_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + ULONG FileAttributes; + ULONG FileNameLength; + ULONG EaSize; + CHAR ShortNameLength; + WCHAR ShortName[12]; + WCHAR FileName[ANYSIZE_ARRAY]; +} FILE_BOTH_DIRECTORY_INFORMATION, *PFILE_BOTH_DIRECTORY_INFORMATION, + FILE_BOTH_DIR_INFORMATION, *PFILE_BOTH_DIR_INFORMATION; + +typedef struct _FILE_ID_BOTH_DIRECTORY_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + ULONG FileAttributes; + ULONG FileNameLength; + ULONG EaSize; + CHAR ShortNameLength; + WCHAR ShortName[12]; + LARGE_INTEGER FileId; + WCHAR FileName[ANYSIZE_ARRAY]; +} FILE_ID_BOTH_DIRECTORY_INFORMATION, *PFILE_ID_BOTH_DIRECTORY_INFORMATION; + +typedef struct _FILE_ID_GLOBAL_TX_DIR_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER EndOfFile; + LARGE_INTEGER AllocationSize; + ULONG FileAttributes; + ULONG FileNameLength; + LARGE_INTEGER FileId; + GUID LockingTransactionId; + ULONG TxInfoFlags; + WCHAR FileName[ANYSIZE_ARRAY]; +} FILE_ID_GLOBAL_TX_DIR_INFORMATION, *PFILE_ID_GLOBAL_TX_DIR_INFORMATION; + +typedef struct _FILE_BASIC_INFORMATION { + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + ULONG FileAttributes; +} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION; + +typedef struct _FILE_STANDARD_INFORMATION { + LARGE_INTEGER AllocationSize; + LARGE_INTEGER EndOfFile; + ULONG NumberOfLinks; + BOOLEAN DeletePending; + BOOLEAN Directory; +} FILE_STANDARD_INFORMATION, *PFILE_STANDARD_INFORMATION; + +typedef struct _FILE_INTERNAL_INFORMATION { + LARGE_INTEGER IndexNumber; +} FILE_INTERNAL_INFORMATION, *PFILE_INTERNAL_INFORMATION; + +typedef struct _FILE_ID_128 { + UCHAR Identifier[16]; +} FILE_ID_128, *PFILE_ID_128; + +typedef struct _FILE_ID_INFORMATION { + ULONGLONG VolumeSerialNumber; + FILE_ID_128 FileId; +} FILE_ID_INFORMATION, *PFILE_ID_INFORMATION; + +typedef struct _FILE_EA_INFORMATION { + ULONG EaSize; +} FILE_EA_INFORMATION, *PFILE_EA_INFORMATION; + +typedef struct _FILE_ACCESS_INFORMATION { + ACCESS_MASK AccessFlags; +} FILE_ACCESS_INFORMATION, *PFILE_ACCESS_INFORMATION; + +typedef struct _FILE_NAME_INFORMATION { + ULONG FileNameLength; + WCHAR FileName[1]; +} FILE_NAME_INFORMATION, *PFILE_NAME_INFORMATION; + +typedef struct _FILE_RENAME_INFORMATION { + BOOLEAN Replace; + HANDLE RootDir; + ULONG FileNameLength; + WCHAR FileName[1]; +} FILE_RENAME_INFORMATION, *PFILE_RENAME_INFORMATION; + +typedef struct _FILE_LINK_INFORMATION { + BOOLEAN ReplaceIfExists; + HANDLE RootDirectory; + ULONG FileNameLength; + WCHAR FileName[1]; +} FILE_LINK_INFORMATION, *PFILE_LINK_INFORMATION; + +typedef struct _FILE_NAMES_INFORMATION { + ULONG NextEntryOffset; + ULONG FileIndex; + ULONG FileNameLength; + WCHAR FileName[1]; +} FILE_NAMES_INFORMATION, *PFILE_NAMES_INFORMATION; + +typedef struct _FILE_DISPOSITION_INFORMATION { + BOOLEAN DoDeleteFile; +} FILE_DISPOSITION_INFORMATION, *PFILE_DISPOSITION_INFORMATION; + +typedef struct _FILE_POSITION_INFORMATION { + LARGE_INTEGER CurrentByteOffset; +} FILE_POSITION_INFORMATION, *PFILE_POSITION_INFORMATION; + +typedef struct _FILE_ALIGNMENT_INFORMATION { + ULONG AlignmentRequirement; +} FILE_ALIGNMENT_INFORMATION, *PFILE_ALIGNMENT_INFORMATION; + +typedef struct _FILE_ALLOCATION_INFORMATION { + LARGE_INTEGER AllocationSize; +} FILE_ALLOCATION_INFORMATION, *PFILE_ALLOCATION_INFORMATION; + +typedef struct _FILE_END_OF_FILE_INFORMATION { + LARGE_INTEGER EndOfFile; +} FILE_END_OF_FILE_INFORMATION, *PFILE_END_OF_FILE_INFORMATION; + +typedef struct _FILE_NETWORK_OPEN_INFORMATION { + LARGE_INTEGER CreationTime; + LARGE_INTEGER LastAccessTime; + LARGE_INTEGER LastWriteTime; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER AllocationSize; + LARGE_INTEGER EndOfFile; + ULONG FileAttributes; +} FILE_NETWORK_OPEN_INFORMATION, *PFILE_NETWORK_OPEN_INFORMATION; + +typedef struct _FILE_FULL_EA_INFORMATION { + ULONG NextEntryOffset; + UCHAR Flags; + UCHAR EaNameLength; + USHORT EaValueLength; + CHAR EaName[1]; +} FILE_FULL_EA_INFORMATION, *PFILE_FULL_EA_INFORMATION; + +typedef struct _FILE_MODE_INFORMATION { + ULONG Mode; +} FILE_MODE_INFORMATION, *PFILE_MODE_INFORMATION; + +typedef struct _FILE_STREAM_INFORMATION +{ + ULONG NextEntryOffset; + ULONG StreamNameLength; + LARGE_INTEGER StreamSize; + LARGE_INTEGER StreamAllocationSize; + WCHAR StreamName[1]; +} FILE_STREAM_INFORMATION, *PFILE_STREAM_INFORMATION; + +typedef struct _FILE_ATTRIBUTE_TAG_INFORMATION +{ + ULONG FileAttributes; + ULONG ReparseTag; +} FILE_ATTRIBUTE_TAG_INFORMATION, *PFILE_ATTRIBUTE_TAG_INFORMATION; + +typedef struct _FILE_MAILSLOT_QUERY_INFORMATION { + ULONG MaximumMessageSize; + ULONG MailslotQuota; + ULONG NextMessageSize; + ULONG MessagesAvailable; + LARGE_INTEGER ReadTimeout; +} FILE_MAILSLOT_QUERY_INFORMATION, *PFILE_MAILSLOT_QUERY_INFORMATION; + +typedef struct _FILE_MAILSLOT_SET_INFORMATION { + LARGE_INTEGER ReadTimeout; +} FILE_MAILSLOT_SET_INFORMATION, *PFILE_MAILSLOT_SET_INFORMATION; + +typedef struct _FILE_PIPE_INFORMATION { + ULONG ReadMode; + ULONG CompletionMode; +} FILE_PIPE_INFORMATION, *PFILE_PIPE_INFORMATION; + +typedef struct _FILE_PIPE_LOCAL_INFORMATION { + ULONG NamedPipeType; + ULONG NamedPipeConfiguration; + ULONG MaximumInstances; + ULONG CurrentInstances; + ULONG InboundQuota; + ULONG ReadDataAvailable; + ULONG OutboundQuota; + ULONG WriteQuotaAvailable; + ULONG NamedPipeState; + ULONG NamedPipeEnd; +} FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION; + +typedef struct _FILE_OBJECTID_INFORMATION { + LONGLONG FileReference; + UCHAR ObjectId[16]; + union { + struct { + UCHAR BirthVolumeId[16]; + UCHAR BirthObjectId[16]; + UCHAR DomainId[16]; + } DUMMYSTRUCTNAME; + UCHAR ExtendedInfo[48]; + } DUMMYUNIONNAME; +} FILE_OBJECTID_INFORMATION, *PFILE_OBJECTID_INFORMATION; + +typedef struct _FILE_QUOTA_INFORMATION { + ULONG NextEntryOffset; + ULONG SidLength; + LARGE_INTEGER ChangeTime; + LARGE_INTEGER QuotaUsed; + LARGE_INTEGER QuotaThreshold; + LARGE_INTEGER QuotaLimit; + SID Sid; +} FILE_QUOTA_INFORMATION, *PFILE_QUOTA_INFORMATION; + +typedef struct _FILE_REPARSE_POINT_INFORMATION { + LONGLONG FileReference; + ULONG Tag; +} FILE_REPARSE_POINT_INFORMATION, *PFILE_REPARSE_POINT_INFORMATION; + +typedef struct _FILE_ALL_INFORMATION { + FILE_BASIC_INFORMATION BasicInformation; + FILE_STANDARD_INFORMATION StandardInformation; + FILE_INTERNAL_INFORMATION InternalInformation; + FILE_EA_INFORMATION EaInformation; + FILE_ACCESS_INFORMATION AccessInformation; + FILE_POSITION_INFORMATION PositionInformation; + FILE_MODE_INFORMATION ModeInformation; + FILE_ALIGNMENT_INFORMATION AlignmentInformation; + FILE_NAME_INFORMATION NameInformation; +} FILE_ALL_INFORMATION, *PFILE_ALL_INFORMATION; + +typedef struct _FILE_IO_COMPLETION_NOTIFICATION_INFORMATION { + ULONG Flags; +} FILE_IO_COMPLETION_NOTIFICATION_INFORMATION, *PFILE_IO_COMPLETION_NOTIFICATION_INFORMATION; + +#define FILE_SKIP_COMPLETION_PORT_ON_SUCCESS 0x1 +#define FILE_SKIP_SET_EVENT_ON_HANDLE 0x2 +#define FILE_SKIP_SET_USER_EVENT_ON_FAST_IO 0x4 + +typedef enum _FSINFOCLASS { + FileFsVolumeInformation = 1, + FileFsLabelInformation, + FileFsSizeInformation, + FileFsDeviceInformation, + FileFsAttributeInformation, + FileFsControlInformation, + FileFsFullSizeInformation, + FileFsObjectIdInformation, + FileFsMaximumInformation +} FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS; + +typedef enum _KEY_INFORMATION_CLASS { + KeyBasicInformation, + KeyNodeInformation, + KeyFullInformation, + KeyNameInformation, + KeyCachedInformation, + KeyFlagsInformation, + KeyVirtualizationInformation, + KeyHandleTagsInformation, + MaxKeyInfoClass +} KEY_INFORMATION_CLASS; + +typedef enum _KEY_VALUE_INFORMATION_CLASS { + KeyValueBasicInformation, + KeyValueFullInformation, + KeyValuePartialInformation, + KeyValueFullInformationAlign64, + KeyValuePartialInformationAlign64 +} KEY_VALUE_INFORMATION_CLASS; + +typedef enum _OBJECT_INFORMATION_CLASS { + ObjectBasicInformation, + ObjectNameInformation, + ObjectTypeInformation, + ObjectAllInformation, + ObjectDataInformation +} OBJECT_INFORMATION_CLASS, *POBJECT_INFORMATION_CLASS; + +typedef enum _PROCESSINFOCLASS { + ProcessBasicInformation = 0, + ProcessQuotaLimits = 1, + ProcessIoCounters = 2, + ProcessVmCounters = 3, + ProcessTimes = 4, + ProcessBasePriority = 5, + ProcessRaisePriority = 6, + ProcessDebugPort = 7, + ProcessExceptionPort = 8, + ProcessAccessToken = 9, + ProcessLdtInformation = 10, + ProcessLdtSize = 11, + ProcessDefaultHardErrorMode = 12, + ProcessIoPortHandlers = 13, + ProcessPooledUsageAndLimits = 14, + ProcessWorkingSetWatch = 15, + ProcessUserModeIOPL = 16, + ProcessEnableAlignmentFaultFixup = 17, + ProcessPriorityClass = 18, + ProcessWx86Information = 19, + ProcessHandleCount = 20, + ProcessAffinityMask = 21, + ProcessPriorityBoost = 22, + ProcessDeviceMap = 23, + ProcessSessionInformation = 24, + ProcessForegroundInformation = 25, + ProcessWow64Information = 26, + ProcessImageFileName = 27, + ProcessLUIDDeviceMapsEnabled = 28, + ProcessBreakOnTermination = 29, + ProcessDebugObjectHandle = 30, + ProcessDebugFlags = 31, + ProcessHandleTracing = 32, + ProcessExecuteFlags = 34, + MaxProcessInfoClass +} PROCESSINFOCLASS, PROCESS_INFORMATION_CLASS; + +#define MEM_EXECUTE_OPTION_DISABLE 0x01 +#define MEM_EXECUTE_OPTION_ENABLE 0x02 +#define MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION 0x04 +#define MEM_EXECUTE_OPTION_PERMANENT 0x08 + +typedef enum _SECTION_INHERIT { + ViewShare = 1, + ViewUnmap = 2 +} SECTION_INHERIT; + +typedef enum _SYSTEM_INFORMATION_CLASS { + SystemBasicInformation = 0, + SystemCpuInformation = 1, + SystemPerformanceInformation = 2, + SystemTimeOfDayInformation = 3, /* was SystemTimeInformation */ + Unknown4, + SystemProcessInformation = 5, + Unknown6, + Unknown7, + SystemProcessorPerformanceInformation = 8, + Unknown9, + Unknown10, + SystemModuleInformation = 11, + Unknown12, + Unknown13, + Unknown14, + Unknown15, + SystemHandleInformation = 16, + Unknown17, + SystemPageFileInformation = 18, + Unknown19, + Unknown20, + SystemCacheInformation = 21, + Unknown22, + SystemInterruptInformation = 23, + SystemDpcBehaviourInformation = 24, + SystemFullMemoryInformation = 25, + SystemNotImplemented6 = 25, + SystemLoadImage = 26, + SystemUnloadImage = 27, + SystemTimeAdjustmentInformation = 28, + SystemTimeAdjustment = 28, + SystemSummaryMemoryInformation = 29, + SystemNotImplemented7 = 29, + SystemNextEventIdInformation = 30, + SystemNotImplemented8 = 30, + SystemEventIdsInformation = 31, + SystemCrashDumpInformation = 32, + SystemExceptionInformation = 33, + SystemCrashDumpStateInformation = 34, + SystemKernelDebuggerInformation = 35, + SystemContextSwitchInformation = 36, + SystemRegistryQuotaInformation = 37, + SystemCurrentTimeZoneInformation = 44, + SystemTimeZoneInformation = 44, + SystemLookasideInformation = 45, + SystemSetTimeSlipEvent = 46, + SystemCreateSession = 47, + SystemDeleteSession = 48, + SystemInvalidInfoClass4 = 49, + SystemRangeStartInformation = 50, + SystemVerifierInformation = 51, + SystemAddVerifier = 52, + SystemSessionProcessesInformation = 53, + Unknown54, + Unknown55, + Unknown56, + Unknown57, + SystemRecommendedSharedDataAlignment = 58, + Unknown59, + Unknown60, + Unknown61, + Unknown62, + Unknown63, + Unknown64, + Unknown65, + Unknown66, + Unknown67, + Unknown68, + Unknown69, + Unknown70, + Unknown71, + Unknown72, + SystemLogicalProcessorInformation = 73, + SystemLogicalProcessorInformationEx = 107, + SystemInformationClassMax +} SYSTEM_INFORMATION_CLASS, *PSYSTEM_INFORMATION_CLASS; + +typedef enum _THREADINFOCLASS { + ThreadBasicInformation, + ThreadTimes, + ThreadPriority, + ThreadBasePriority, + ThreadAffinityMask, + ThreadImpersonationToken, + ThreadDescriptorTableEntry, + ThreadEnableAlignmentFaultFixup, + ThreadEventPair_Reusable, + ThreadQuerySetWin32StartAddress, + ThreadZeroTlsCell, + ThreadPerformanceCount, + ThreadAmILastThread, + ThreadIdealProcessor, + ThreadPriorityBoost, + ThreadSetTlsArrayAddress, + ThreadIsIoPending, + ThreadHideFromDebugger, + ThreadBreakOnTermination, + ThreadSwitchLegacyState, + ThreadIsTerminated, + ThreadLastSystemCall, + ThreadIoPriority, + ThreadCycleTime, + ThreadPagePriority, + ThreadActualBasePriority, + ThreadTebInformation, + ThreadCSwitchMon, + ThreadCSwitchPmu, + ThreadWow64Context, + ThreadGroupInformation, + ThreadUmsInformation, + ThreadCounterProfiling, + ThreadIdealProcessorEx, + MaxThreadInfoClass +} THREADINFOCLASS; + +typedef struct _THREAD_BASIC_INFORMATION +{ + NTSTATUS ExitStatus; + PVOID TebBaseAddress; + CLIENT_ID ClientId; + ULONG_PTR AffinityMask; + LONG Priority; + LONG BasePriority; +} THREAD_BASIC_INFORMATION, *PTHREAD_BASIC_INFORMATION; + +typedef struct _THREAD_DESCRIPTOR_INFORMATION +{ + DWORD Selector; + LDT_ENTRY Entry; +} THREAD_DESCRIPTOR_INFORMATION, *PTHREAD_DESCRIPTOR_INFORMATION; + +typedef struct _KERNEL_USER_TIMES { + LARGE_INTEGER CreateTime; + LARGE_INTEGER ExitTime; + LARGE_INTEGER KernelTime; + LARGE_INTEGER UserTime; +} KERNEL_USER_TIMES, *PKERNEL_USER_TIMES; + +typedef enum _WINSTATIONINFOCLASS { + WinStationInformation = 8 +} WINSTATIONINFOCLASS; + +typedef enum _MEMORY_INFORMATION_CLASS { + MemoryBasicInformation, + MemoryWorkingSetList, + MemorySectionName, + MemoryBasicVlmInformation +} MEMORY_INFORMATION_CLASS; + +typedef struct _MEMORY_SECTION_NAME +{ + UNICODE_STRING SectionFileName; +} MEMORY_SECTION_NAME, *PMEMORY_SECTION_NAME; + +typedef enum _MUTANT_INFORMATION_CLASS +{ + MutantBasicInformation +} MUTANT_INFORMATION_CLASS, *PMUTANT_INFORMATION_CLASS; + +typedef struct _MUTANT_BASIC_INFORMATION { + LONG CurrentCount; + BOOLEAN OwnedByCaller; + BOOLEAN AbandonedState; +} MUTANT_BASIC_INFORMATION, *PMUTANT_BASIC_INFORMATION; + +typedef enum _TIMER_INFORMATION_CLASS +{ + TimerBasicInformation = 0 +} TIMER_INFORMATION_CLASS; + +typedef struct _TIMER_BASIC_INFORMATION +{ + LARGE_INTEGER RemainingTime; + BOOLEAN TimerState; +} TIMER_BASIC_INFORMATION, *PTIMER_BASIC_INFORMATION; + + +/* return type of RtlDetermineDosPathNameType_U (FIXME: not the correct names) */ +typedef enum +{ + INVALID_PATH = 0, + UNC_PATH, /* "//foo" */ + ABSOLUTE_DRIVE_PATH, /* "c:/foo" */ + RELATIVE_DRIVE_PATH, /* "c:foo" */ + ABSOLUTE_PATH, /* "/foo" */ + RELATIVE_PATH, /* "foo" */ + DEVICE_PATH, /* "//./foo" */ + UNC_DOT_PATH /* "//." */ +} DOS_PATHNAME_TYPE; + + +/*********************************************************************** + * Types and data structures + */ + +/* This is used by NtQuerySystemInformation */ +typedef struct _SYSTEM_THREAD_INFORMATION +{ /* win32/win64 */ + LARGE_INTEGER KernelTime; /* 00/00 */ + LARGE_INTEGER UserTime; /* 08/08 */ + LARGE_INTEGER CreateTime; /* 10/10 */ + DWORD dwTickCount; /* 18/18 */ + LPVOID StartAddress; /* 1c/20 */ + CLIENT_ID ClientId; /* 20/28 */ + DWORD dwCurrentPriority; /* 28/38 */ + DWORD dwBasePriority; /* 2c/3c */ + DWORD dwContextSwitches; /* 30/40 */ + DWORD dwThreadState; /* 34/44 */ + DWORD dwWaitReason; /* 38/48 */ + DWORD dwUnknown; /* 3c/4c */ +} SYSTEM_THREAD_INFORMATION, *PSYSTEM_THREAD_INFORMATION; + +typedef struct _IO_STATUS_BLOCK { + union { + NTSTATUS Status; + PVOID Pointer; + } DUMMYUNIONNAME; + + ULONG_PTR Information; +} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; + +typedef void (WINAPI * PIO_APC_ROUTINE)(PVOID,PIO_STATUS_BLOCK,ULONG); + +typedef struct _KEY_BASIC_INFORMATION { + LARGE_INTEGER LastWriteTime; + ULONG TitleIndex; + ULONG NameLength; + WCHAR Name[1]; +} KEY_BASIC_INFORMATION, *PKEY_BASIC_INFORMATION; + +typedef struct _KEY_NODE_INFORMATION +{ + LARGE_INTEGER LastWriteTime; + ULONG TitleIndex; + ULONG ClassOffset; + ULONG ClassLength; + ULONG NameLength; + WCHAR Name[1]; + /* Class[1]; */ +} KEY_NODE_INFORMATION, *PKEY_NODE_INFORMATION; + +typedef struct _KEY_FULL_INFORMATION +{ + LARGE_INTEGER LastWriteTime; + ULONG TitleIndex; + ULONG ClassOffset; + ULONG ClassLength; + ULONG SubKeys; + ULONG MaxNameLen; + ULONG MaxClassLen; + ULONG Values; + ULONG MaxValueNameLen; + ULONG MaxValueDataLen; + WCHAR Class[1]; +} KEY_FULL_INFORMATION, *PKEY_FULL_INFORMATION; + +typedef struct _KEY_NAME_INFORMATION { + ULONG NameLength; + WCHAR Name[1]; +} KEY_NAME_INFORMATION, *PKEY_NAME_INFORMATION; + +typedef struct _KEY_CACHED_INFORMATION +{ + LARGE_INTEGER LastWriteTime; + ULONG TitleIndex; + ULONG SubKeys; + ULONG MaxNameLen; + ULONG Values; + ULONG MaxValueNameLen; + ULONG MaxValueDataLen; + ULONG NameLength; +} KEY_CACHED_INFORMATION, *PKEY_CACHED_INFORMATION; + +typedef struct _KEY_VALUE_ENTRY +{ + PUNICODE_STRING ValueName; + ULONG DataLength; + ULONG DataOffset; + ULONG Type; +} KEY_VALUE_ENTRY, *PKEY_VALUE_ENTRY; + +typedef struct _KEY_VALUE_BASIC_INFORMATION { + ULONG TitleIndex; + ULONG Type; + ULONG NameLength; + WCHAR Name[1]; +} KEY_VALUE_BASIC_INFORMATION, *PKEY_VALUE_BASIC_INFORMATION; + +typedef struct _KEY_VALUE_FULL_INFORMATION { + ULONG TitleIndex; + ULONG Type; + ULONG DataOffset; + ULONG DataLength; + ULONG NameLength; + WCHAR Name[1]; +} KEY_VALUE_FULL_INFORMATION, *PKEY_VALUE_FULL_INFORMATION; + +typedef struct _KEY_VALUE_PARTIAL_INFORMATION { + ULONG TitleIndex; + ULONG Type; + ULONG DataLength; + UCHAR Data[1]; +} KEY_VALUE_PARTIAL_INFORMATION, *PKEY_VALUE_PARTIAL_INFORMATION; + +#ifndef __OBJECT_ATTRIBUTES_DEFINED__ +#define __OBJECT_ATTRIBUTES_DEFINED__ +typedef struct _OBJECT_ATTRIBUTES { + ULONG Length; + HANDLE RootDirectory; + PUNICODE_STRING ObjectName; + ULONG Attributes; + PVOID SecurityDescriptor; /* type SECURITY_DESCRIPTOR */ + PVOID SecurityQualityOfService; /* type SECURITY_QUALITY_OF_SERVICE */ +} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES; +#endif + +typedef struct _OBJECT_DATA_INFORMATION { + BOOLEAN InheritHandle; + BOOLEAN ProtectFromClose; +} OBJECT_DATA_INFORMATION, *POBJECT_DATA_INFORMATION; + +typedef struct _OBJECT_BASIC_INFORMATION { + ULONG Attributes; + ACCESS_MASK GrantedAccess; + ULONG HandleCount; + ULONG PointerCount; + ULONG PagedPoolUsage; + ULONG NonPagedPoolUsage; + ULONG Reserved[3]; + ULONG NameInformationLength; + ULONG TypeInformationLength; + ULONG SecurityDescriptorLength; + LARGE_INTEGER CreateTime; +} OBJECT_BASIC_INFORMATION, *POBJECT_BASIC_INFORMATION; + +typedef struct _OBJECT_NAME_INFORMATION { + UNICODE_STRING Name; +} OBJECT_NAME_INFORMATION, *POBJECT_NAME_INFORMATION; + +typedef struct __OBJECT_TYPE_INFORMATION { + UNICODE_STRING TypeName; + ULONG Reserved [22]; +} OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION; + +typedef struct _PROCESS_BASIC_INFORMATION { +#ifdef __WINESRC__ + DWORD_PTR ExitStatus; + PPEB PebBaseAddress; + DWORD_PTR AffinityMask; + DWORD_PTR BasePriority; + ULONG_PTR UniqueProcessId; + ULONG_PTR InheritedFromUniqueProcessId; +#else + PVOID Reserved1; + PPEB PebBaseAddress; + PVOID Reserved2[2]; + ULONG_PTR UniqueProcessId; + PVOID Reserved3; +#endif +} PROCESS_BASIC_INFORMATION, *PPROCESS_BASIC_INFORMATION; + +#define PROCESS_PRIOCLASS_IDLE 1 +#define PROCESS_PRIOCLASS_NORMAL 2 +#define PROCESS_PRIOCLASS_HIGH 3 +#define PROCESS_PRIOCLASS_REALTIME 4 +#define PROCESS_PRIOCLASS_BELOW_NORMAL 5 +#define PROCESS_PRIOCLASS_ABOVE_NORMAL 6 + +typedef struct _PROCESS_PRIORITY_CLASS { + BOOLEAN Foreground; + UCHAR PriorityClass; +} PROCESS_PRIORITY_CLASS, *PPROCESS_PRIORITY_CLASS; + +typedef struct _RTL_HEAP_DEFINITION { + ULONG Length; /* = sizeof(RTL_HEAP_DEFINITION) */ + + ULONG Unknown[11]; +} RTL_HEAP_DEFINITION, *PRTL_HEAP_DEFINITION; + +typedef struct _RTL_RWLOCK { + RTL_CRITICAL_SECTION rtlCS; + + HANDLE hSharedReleaseSemaphore; + UINT uSharedWaiters; + + HANDLE hExclusiveReleaseSemaphore; + UINT uExclusiveWaiters; + + INT iNumberActive; + HANDLE hOwningThreadId; + DWORD dwTimeoutBoost; + PVOID pDebugInfo; +} RTL_RWLOCK, *LPRTL_RWLOCK; + +/* System Information Class 0x00 */ + +typedef struct _SYSTEM_BASIC_INFORMATION { +#ifdef __WINESRC__ + DWORD unknown; + ULONG KeMaximumIncrement; + ULONG PageSize; + ULONG MmNumberOfPhysicalPages; + ULONG MmLowestPhysicalPage; + ULONG MmHighestPhysicalPage; + ULONG_PTR AllocationGranularity; + PVOID LowestUserAddress; + PVOID HighestUserAddress; + ULONG_PTR ActiveProcessorsAffinityMask; + BYTE NumberOfProcessors; +#else + BYTE Reserved1[24]; + PVOID Reserved2[4]; + CCHAR NumberOfProcessors; +#endif +} SYSTEM_BASIC_INFORMATION, *PSYSTEM_BASIC_INFORMATION; + +/* System Information Class 0x01 */ + +typedef struct _SYSTEM_CPU_INFORMATION { + WORD Architecture; + WORD Level; + WORD Revision; /* combination of CPU model and stepping */ + WORD Reserved; /* always zero */ + DWORD FeatureSet; /* see bit flags below */ +} SYSTEM_CPU_INFORMATION, *PSYSTEM_CPU_INFORMATION; + +/* definitions of bits in the Feature set for the x86 processors */ +#define CPU_FEATURE_VME 0x00000005 /* Virtual 86 Mode Extensions */ +#define CPU_FEATURE_TSC 0x00000002 /* Time Stamp Counter available */ +#define CPU_FEATURE_CMOV 0x00000008 /* Conditional Move instruction*/ +#define CPU_FEATURE_PGE 0x00000014 /* Page table Entry Global bit */ +#define CPU_FEATURE_PSE 0x00000024 /* Page Size Extension */ +#define CPU_FEATURE_MTRR 0x00000040 /* Memory Type Range Registers */ +#define CPU_FEATURE_CX8 0x00000080 /* Compare and eXchange 8 byte instr. */ +#define CPU_FEATURE_MMX 0x00000100 /* Multi Media eXtensions */ +#define CPU_FEATURE_X86 0x00000200 /* seems to be always ON, on the '86 */ +#define CPU_FEATURE_PAT 0x00000400 /* Page Attribute Table */ +#define CPU_FEATURE_FXSR 0x00000800 /* FXSAVE and FXSTORE instructions */ +#define CPU_FEATURE_SEP 0x00001000 /* SYSENTER and SYSEXIT instructions */ +#define CPU_FEATURE_SSE 0x00002000 /* SSE extensions (ext. MMX) */ +#define CPU_FEATURE_3DNOW 0x00004000 /* 3DNOW instructions available */ +#define CPU_FEATURE_SSE2 0x00010000 /* SSE2 extensions (XMMI64) */ +#define CPU_FEATURE_DS 0x00020000 /* Debug Store */ +#define CPU_FEATURE_HTT 0x00040000 /* Hyper Threading Technology */ + +/* System Information Class 0x02 */ + +/* Documented in "Windows NT/2000 Native API Reference" by Gary Nebbett. */ +typedef struct _SYSTEM_PERFORMANCE_INFORMATION { + LARGE_INTEGER IdleTime; + LARGE_INTEGER ReadTransferCount; + LARGE_INTEGER WriteTransferCount; + LARGE_INTEGER OtherTransferCount; + ULONG ReadOperationCount; + ULONG WriteOperationCount; + ULONG OtherOperationCount; + ULONG AvailablePages; + ULONG TotalCommittedPages; + ULONG TotalCommitLimit; + ULONG PeakCommitment; + ULONG PageFaults; + ULONG WriteCopyFaults; + ULONG TransitionFaults; + ULONG Reserved1; + ULONG DemandZeroFaults; + ULONG PagesRead; + ULONG PageReadIos; + ULONG Reserved2[2]; + ULONG PagefilePagesWritten; + ULONG PagefilePageWriteIos; + ULONG MappedFilePagesWritten; + ULONG MappedFilePageWriteIos; + ULONG PagedPoolUsage; + ULONG NonPagedPoolUsage; + ULONG PagedPoolAllocs; + ULONG PagedPoolFrees; + ULONG NonPagedPoolAllocs; + ULONG NonPagedPoolFrees; + ULONG TotalFreeSystemPtes; + ULONG SystemCodePage; + ULONG TotalSystemDriverPages; + ULONG TotalSystemCodePages; + ULONG SmallNonPagedLookasideListAllocateHits; + ULONG SmallPagedLookasideListAllocateHits; + ULONG Reserved3; + ULONG MmSystemCachePage; + ULONG PagedPoolPage; + ULONG SystemDriverPage; + ULONG FastReadNoWait; + ULONG FastReadWait; + ULONG FastReadResourceMiss; + ULONG FastReadNotPossible; + ULONG FastMdlReadNoWait; + ULONG FastMdlReadWait; + ULONG FastMdlReadResourceMiss; + ULONG FastMdlReadNotPossible; + ULONG MapDataNoWait; + ULONG MapDataWait; + ULONG MapDataNoWaitMiss; + ULONG MapDataWaitMiss; + ULONG PinMappedDataCount; + ULONG PinReadNoWait; + ULONG PinReadWait; + ULONG PinReadNoWaitMiss; + ULONG PinReadWaitMiss; + ULONG CopyReadNoWait; + ULONG CopyReadWait; + ULONG CopyReadNoWaitMiss; + ULONG CopyReadWaitMiss; + ULONG MdlReadNoWait; + ULONG MdlReadWait; + ULONG MdlReadNoWaitMiss; + ULONG MdlReadWaitMiss; + ULONG ReadAheadIos; + ULONG LazyWriteIos; + ULONG LazyWritePages; + ULONG DataFlushes; + ULONG DataPages; + ULONG ContextSwitches; + ULONG FirstLevelTbFills; + ULONG SecondLevelTbFills; + ULONG SystemCalls; +} SYSTEM_PERFORMANCE_INFORMATION, *PSYSTEM_PERFORMANCE_INFORMATION; + +/* System Information Class 0x03 */ + +typedef struct _SYSTEM_TIMEOFDAY_INFORMATION { +#ifdef __WINESRC__ + LARGE_INTEGER liKeBootTime; + LARGE_INTEGER liKeSystemTime; + LARGE_INTEGER liExpTimeZoneBias; + ULONG uCurrentTimeZoneId; + DWORD dwUnknown1[5]; +#else + BYTE Reserved1[48]; +#endif +} SYSTEM_TIMEOFDAY_INFORMATION, *PSYSTEM_TIMEOFDAY_INFORMATION; /* was SYSTEM_TIME_INFORMATION */ + +/* System Information Class 0x08 */ + +typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION { + LARGE_INTEGER IdleTime; + LARGE_INTEGER KernelTime; + LARGE_INTEGER UserTime; + LARGE_INTEGER Reserved1[2]; + ULONG Reserved2; +} SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION, *PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION; + +/* System Information Class 0x0b */ + +typedef struct _SYSTEM_DRIVER_INFORMATION { + PVOID pvAddress; + DWORD dwUnknown1; + DWORD dwUnknown2; + DWORD dwEntryIndex; + DWORD dwUnknown3; + char szName[MAX_PATH + 1]; +} SYSTEM_DRIVER_INFORMATION, *PSYSTEM_DRIVER_INFORMATION; + +/* System Information Class 0x10 */ + +typedef struct _SYSTEM_HANDLE_ENTRY { + ULONG OwnerPid; + BYTE ObjectType; + BYTE HandleFlags; + USHORT HandleValue; + PVOID ObjectPointer; + ULONG AccessMask; +} SYSTEM_HANDLE_ENTRY, *PSYSTEM_HANDLE_ENTRY; + +typedef struct _SYSTEM_HANDLE_INFORMATION { + ULONG Count; + SYSTEM_HANDLE_ENTRY Handle[1]; +} SYSTEM_HANDLE_INFORMATION, *PSYSTEM_HANDLE_INFORMATION; + +/* System Information Class 0x15 */ + +typedef struct _SYSTEM_CACHE_INFORMATION { + ULONG CurrentSize; + ULONG PeakSize; + ULONG PageFaultCount; + ULONG MinimumWorkingSet; + ULONG MaximumWorkingSet; + ULONG unused[4]; +#ifdef _WIN64 + ULONG unknown64[7]; +#endif +} SYSTEM_CACHE_INFORMATION, *PSYSTEM_CACHE_INFORMATION; + +/* System Information Class 0x17 */ + +typedef struct _SYSTEM_INTERRUPT_INFORMATION { + BYTE Reserved1[24]; +} SYSTEM_INTERRUPT_INFORMATION, *PSYSTEM_INTERRUPT_INFORMATION; + +typedef struct _SYSTEM_CONFIGURATION_INFO { + union { + ULONG OemId; + struct { + WORD ProcessorArchitecture; + WORD Reserved; + } tag1; + } tag2; + ULONG PageSize; + PVOID MinimumApplicationAddress; + PVOID MaximumApplicationAddress; + ULONG ActiveProcessorMask; + ULONG NumberOfProcessors; + ULONG ProcessorType; + ULONG AllocationGranularity; + WORD ProcessorLevel; + WORD ProcessorRevision; +} SYSTEM_CONFIGURATION_INFO, *PSYSTEM_CONFIGURATION_INFO; + +typedef struct _SYSTEM_EXCEPTION_INFORMATION { + BYTE Reserved1[16]; +} SYSTEM_EXCEPTION_INFORMATION, *PSYSTEM_EXCEPTION_INFORMATION; + +typedef struct _SYSTEM_LOOKASIDE_INFORMATION { + BYTE Reserved1[32]; +} SYSTEM_LOOKASIDE_INFORMATION, *PSYSTEM_LOOKASIDE_INFORMATION; + +typedef struct _SYSTEM_KERNEL_DEBUGGER_INFORMATION { + BOOLEAN DebuggerEnabled; + BOOLEAN DebuggerNotPresent; +} SYSTEM_KERNEL_DEBUGGER_INFORMATION, *PSYSTEM_KERNEL_DEBUGGER_INFORMATION; + +/* System Information Class 0x05 */ + +typedef struct _VM_COUNTERS_ { + SIZE_T PeakVirtualSize; + SIZE_T VirtualSize; + ULONG PageFaultCount; + SIZE_T PeakWorkingSetSize; + SIZE_T WorkingSetSize; + SIZE_T QuotaPeakPagedPoolUsage; + SIZE_T QuotaPagedPoolUsage; + SIZE_T QuotaPeakNonPagedPoolUsage; + SIZE_T QuotaNonPagedPoolUsage; + SIZE_T PagefileUsage; + SIZE_T PeakPagefileUsage; + SIZE_T PrivatePageCount; +} VM_COUNTERS, *PVM_COUNTERS; + +typedef struct _SYSTEM_PROCESS_INFORMATION { +#ifdef __WINESRC__ /* win32/win64 */ + ULONG NextEntryOffset; /* 00/00 */ + DWORD dwThreadCount; /* 04/04 */ + DWORD dwUnknown1[6]; /* 08/08 */ + LARGE_INTEGER CreationTime; /* 20/20 */ + LARGE_INTEGER UserTime; /* 28/28 */ + LARGE_INTEGER KernelTime; /* 30/30 */ + UNICODE_STRING ProcessName; /* 38/38 */ + DWORD dwBasePriority; /* 40/48 */ + HANDLE UniqueProcessId; /* 44/50 */ + HANDLE ParentProcessId; /* 48/58 */ + ULONG HandleCount; /* 4c/60 */ + ULONG SessionId; /* 50/64 */ + DWORD dwUnknown4; /* 54/68 */ + VM_COUNTERS vmCounters; /* 58/70 */ + IO_COUNTERS ioCounters; /* 88/d0 */ + SYSTEM_THREAD_INFORMATION ti[1]; /* b8/100 */ +#else + ULONG NextEntryOffset; /* 00/00 */ + BYTE Reserved1[52]; /* 04/04 */ + PVOID Reserved2[3]; /* 38/38 */ + HANDLE UniqueProcessId; /* 44/50 */ + PVOID Reserved3; /* 48/58 */ + ULONG HandleCount; /* 4c/60 */ + BYTE Reserved4[4]; /* 50/64 */ + PVOID Reserved5[11]; /* 54/68 */ + SIZE_T PeakPagefileUsage; /* 80/c0 */ + SIZE_T PrivatePageCount; /* 84/c8 */ + LARGE_INTEGER Reserved6[6]; /* 88/d0 */ +#endif +} SYSTEM_PROCESS_INFORMATION, *PSYSTEM_PROCESS_INFORMATION; + +typedef struct _SYSTEM_REGISTRY_QUOTA_INFORMATION { + ULONG RegistryQuotaAllowed; + ULONG RegistryQuotaUsed; + PVOID Reserved1; +} SYSTEM_REGISTRY_QUOTA_INFORMATION, *PSYSTEM_REGISTRY_QUOTA_INFORMATION; + +typedef struct _SYSTEM_TIME_ADJUSTMENT { + ULONG TimeAdjustment; + BOOLEAN TimeAdjustmentDisabled; +} SYSTEM_TIME_ADJUSTMENT, *PSYSTEM_TIME_ADJUSTMENT; + +typedef struct _TIME_FIELDS +{ CSHORT Year; + CSHORT Month; + CSHORT Day; + CSHORT Hour; + CSHORT Minute; + CSHORT Second; + CSHORT Milliseconds; + CSHORT Weekday; +} TIME_FIELDS, *PTIME_FIELDS; + +typedef struct _WINSTATIONINFORMATIONW { + BYTE Reserved2[70]; + ULONG LogonId; + BYTE Reserved3[1140]; +} WINSTATIONINFORMATIONW, *PWINSTATIONINFORMATIONW; + +typedef BOOLEAN (WINAPI * PWINSTATIONQUERYINFORMATIONW)(HANDLE,ULONG,WINSTATIONINFOCLASS,PVOID,ULONG,PULONG); + +typedef struct _LDR_RESOURCE_INFO +{ + ULONG_PTR Type; + ULONG_PTR Name; + ULONG Language; +} LDR_RESOURCE_INFO, *PLDR_RESOURCE_INFO; + + +/* debug buffer definitions */ + +typedef struct _DEBUG_BUFFER { + HANDLE SectionHandle; + PVOID SectionBase; + PVOID RemoteSectionBase; + ULONG SectionBaseDelta; + HANDLE EventPairHandle; + ULONG Unknown[2]; + HANDLE RemoteThreadHandle; + ULONG InfoClassMask; + ULONG SizeOfInfo; + ULONG AllocatedSize; + ULONG SectionSize; + PVOID ModuleInformation; + PVOID BackTraceInformation; + PVOID HeapInformation; + PVOID LockInformation; + PVOID Reserved[8]; +} DEBUG_BUFFER, *PDEBUG_BUFFER; + +#define PDI_MODULES 0x01 +#define PDI_BACKTRACE 0x02 +#define PDI_HEAPS 0x04 +#define PDI_HEAP_TAGS 0x08 +#define PDI_HEAP_BLOCKS 0x10 +#define PDI_LOCKS 0x20 + +typedef struct _DEBUG_MODULE_INFORMATION { + ULONG Reserved[2]; + ULONG Base; + ULONG Size; + ULONG Flags; + USHORT Index; + USHORT Unknown; + USHORT LoadCount; + USHORT ModuleNameOffset; + CHAR ImageName[256]; +} DEBUG_MODULE_INFORMATION, *PDEBUG_MODULE_INFORMATION; + +typedef struct _DEBUG_HEAP_INFORMATION { + ULONG Base; + ULONG Flags; + USHORT Granularity; + USHORT Unknown; + ULONG Allocated; + ULONG Committed; + ULONG TagCount; + ULONG BlockCount; + ULONG Reserved[7]; + PVOID Tags; + PVOID Blocks; +} DEBUG_HEAP_INFORMATION, *PDEBUG_HEAP_INFORMATION; + +typedef struct _DEBUG_LOCK_INFORMATION { + PVOID Address; + USHORT Type; + USHORT CreatorBackTraceIndex; + ULONG OwnerThreadId; + ULONG ActiveCount; + ULONG ContentionCount; + ULONG EntryCount; + ULONG RecursionCount; + ULONG NumberOfSharedWaiters; + ULONG NumberOfExclusiveWaiters; +} DEBUG_LOCK_INFORMATION, *PDEBUG_LOCK_INFORMATION; + +typedef struct _PORT_MESSAGE_HEADER { + USHORT DataSize; + USHORT MessageSize; + USHORT MessageType; + USHORT VirtualRangesOffset; + CLIENT_ID ClientId; + ULONG MessageId; + ULONG SectionSize; +} PORT_MESSAGE_HEADER, *PPORT_MESSAGE_HEADER, PORT_MESSAGE, *PPORT_MESSAGE; + +typedef unsigned short RTL_ATOM, *PRTL_ATOM; + +/* Wine doesn't implement atom table as NT does: + * - in NT, atom tables are user space tables, which ntdll directly accesses + * - on Wine, (even local) atom tables are wineserver objects, hence a HANDLE + */ +typedef struct atom_table *RTL_ATOM_TABLE, **PRTL_ATOM_TABLE; + +typedef enum _ATOM_INFORMATION_CLASS { + AtomBasicInformation = 0, + AtomTableInformation = 1, +} ATOM_INFORMATION_CLASS; + +typedef struct _ATOM_BASIC_INFORMATION { + USHORT ReferenceCount; + USHORT Pinned; + USHORT NameLength; + WCHAR Name[1]; +} ATOM_BASIC_INFORMATION, *PATOM_BASIC_INFORMATION; + +/* FIXME: names probably not correct */ +typedef struct _RTL_HANDLE +{ + struct _RTL_HANDLE * Next; +} RTL_HANDLE; + +/* FIXME: names probably not correct */ +typedef struct _RTL_HANDLE_TABLE +{ + ULONG MaxHandleCount; /* 0x00 */ + ULONG HandleSize; /* 0x04 */ + ULONG Unused[2]; /* 0x08-0x0c */ + PVOID NextFree; /* 0x10 */ + PVOID FirstHandle; /* 0x14 */ + PVOID ReservedMemory; /* 0x18 */ + PVOID MaxHandle; /* 0x1c */ +} RTL_HANDLE_TABLE; + +/*********************************************************************** + * Defines + */ + +/* flags for NtCreateFile and NtOpenFile */ +#define FILE_DIRECTORY_FILE 0x00000001 +#define FILE_WRITE_THROUGH 0x00000002 +#define FILE_SEQUENTIAL_ONLY 0x00000004 +#define FILE_NO_INTERMEDIATE_BUFFERING 0x00000008 +#define FILE_SYNCHRONOUS_IO_ALERT 0x00000010 +#define FILE_SYNCHRONOUS_IO_NONALERT 0x00000020 +#define FILE_NON_DIRECTORY_FILE 0x00000040 +#define FILE_CREATE_TREE_CONNECTION 0x00000080 +#define FILE_COMPLETE_IF_OPLOCKED 0x00000100 +#define FILE_NO_EA_KNOWLEDGE 0x00000200 +#define FILE_OPEN_FOR_RECOVERY 0x00000400 +#define FILE_RANDOM_ACCESS 0x00000800 +#define FILE_DELETE_ON_CLOSE 0x00001000 +#define FILE_OPEN_BY_FILE_ID 0x00002000 +#define FILE_OPEN_FOR_BACKUP_INTENT 0x00004000 +#define FILE_NO_COMPRESSION 0x00008000 +#define FILE_RESERVE_OPFILTER 0x00100000 +#define FILE_TRANSACTED_MODE 0x00200000 +#define FILE_OPEN_OFFLINE_FILE 0x00400000 +#define FILE_OPEN_FOR_FREE_SPACE_QUERY 0x00800000 + +#define FILE_ATTRIBUTE_VALID_FLAGS 0x00007fb7 +#define FILE_ATTRIBUTE_VALID_SET_FLAGS 0x000031a7 + +/* status for NtCreateFile or NtOpenFile */ +#define FILE_SUPERSEDED 0 +#define FILE_OPENED 1 +#define FILE_CREATED 2 +#define FILE_OVERWRITTEN 3 +#define FILE_EXISTS 4 +#define FILE_DOES_NOT_EXIST 5 + +/* disposition for NtCreateFile */ +#define FILE_SUPERSEDE 0 +#define FILE_OPEN 1 +#define FILE_CREATE 2 +#define FILE_OPEN_IF 3 +#define FILE_OVERWRITE 4 +#define FILE_OVERWRITE_IF 5 +#define FILE_MAXIMUM_DISPOSITION 5 + +/* Characteristics of a File System */ +#define FILE_REMOVABLE_MEDIA 0x00000001 +#define FILE_READ_ONLY_DEVICE 0x00000002 +#define FILE_FLOPPY_DISKETTE 0x00000004 +#define FILE_WRITE_ONE_MEDIA 0x00000008 +#define FILE_REMOTE_DEVICE 0x00000010 +#define FILE_DEVICE_IS_MOUNTED 0x00000020 +#define FILE_VIRTUAL_VOLUME 0x00000040 +#define FILE_AUTOGENERATED_DEVICE_NAME 0x00000080 +#define FILE_DEVICE_SECURE_OPEN 0x00000100 +#define FILE_CHARACTERISTIC_PNP_DEVICE 0x00000800 +#define FILE_CHARACTERISTIC_TS_DEVICE 0x00001000 +#define FILE_CHARACTERISTIC_WEBDAV_DEVICE 0x00002000 +#define FILE_CHARACTERISTIC_CSV 0x00010000 +#define FILE_DEVICE_ALLOW_APPCONTAINER_TRAVERSAL 0x00020000 +#define FILE_PORTABLE_DEVICE 0x00040000 + +/* options for NtCreateNamedPipeFile */ +#define FILE_PIPE_INBOUND 0x00000000 +#define FILE_PIPE_OUTBOUND 0x00000001 +#define FILE_PIPE_FULL_DUPLEX 0x00000002 + +/* options for pipe's type */ +#define FILE_PIPE_TYPE_MESSAGE 0x00000001 +#define FILE_PIPE_TYPE_BYTE 0x00000000 +/* options for pipe's message mode */ +#define FILE_PIPE_MESSAGE_MODE 0x00000001 +#define FILE_PIPE_BYTE_STREAM_MODE 0x00000000 +/* options for pipe's blocking mode */ +#define FILE_PIPE_COMPLETE_OPERATION 0x00000001 +#define FILE_PIPE_QUEUE_OPERATION 0x00000000 +/* and client / server end */ +#define FILE_PIPE_SERVER_END 0x00000001 +#define FILE_PIPE_CLIENT_END 0x00000000 + +#define INTERNAL_TS_ACTIVE_CONSOLE_ID ( *((volatile ULONG*)(0x7ffe02d8)) ) + +#define LOGONID_CURRENT ((ULONG)-1) + +#define OBJ_INHERIT 0x00000002 +#define OBJ_PERMANENT 0x00000010 +#define OBJ_EXCLUSIVE 0x00000020 +#define OBJ_CASE_INSENSITIVE 0x00000040 +#define OBJ_OPENIF 0x00000080 +#define OBJ_OPENLINK 0x00000100 +#define OBJ_KERNEL_HANDLE 0x00000200 +#define OBJ_VALID_ATTRIBUTES 0x000003F2 + +#define SERVERNAME_CURRENT ((HANDLE)NULL) + +typedef void (CALLBACK *PNTAPCFUNC)(ULONG_PTR,ULONG_PTR,ULONG_PTR); /* FIXME: not the right name */ +typedef void (CALLBACK *PRTL_THREAD_START_ROUTINE)(LPVOID); /* FIXME: not the right name */ +typedef DWORD (CALLBACK *PRTL_WORK_ITEM_ROUTINE)(LPVOID); /* FIXME: not the right name */ +typedef void (NTAPI *RTL_WAITORTIMERCALLBACKFUNC)(PVOID,BOOLEAN); /* FIXME: not the right name */ + + +/* DbgPrintEx default levels */ +#define DPFLTR_ERROR_LEVEL 0 +#define DPFLTR_WARNING_LEVEL 1 +#define DPFLTR_TRACE_LEVEL 2 +#define DPFLTR_INFO_LEVEL 3 +#define DPFLTR_MASK 0x8000000 + +/* Well-known LUID values */ +#define SE_MIN_WELL_KNOWN_PRIVILEGE 2 +#define SE_CREATE_TOKEN_PRIVILEGE 2 +#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE 3 +#define SE_LOCK_MEMORY_PRIVILEGE 4 +#define SE_INCREASE_QUOTA_PRIVILEGE 5 +#define SE_UNSOLICITED_INPUT_PRIVILEGE 6 /* obsolete */ +#define SE_MACHINE_ACCOUNT_PRIVILEGE 6 +#define SE_TCB_PRIVILEGE 7 +#define SE_SECURITY_PRIVILEGE 8 +#define SE_TAKE_OWNERSHIP_PRIVILEGE 9 +#define SE_LOAD_DRIVER_PRIVILEGE 10 +#define SE_SYSTEM_PROFILE_PRIVILEGE 11 +#define SE_SYSTEMTIME_PRIVILEGE 12 +#define SE_PROF_SINGLE_PROCESS_PRIVILEGE 13 +#define SE_INC_BASE_PRIORITY_PRIVILEGE 14 +#define SE_CREATE_PAGEFILE_PRIVILEGE 15 +#define SE_CREATE_PERMANENT_PRIVILEGE 16 +#define SE_BACKUP_PRIVILEGE 17 +#define SE_RESTORE_PRIVILEGE 18 +#define SE_SHUTDOWN_PRIVILEGE 19 +#define SE_DEBUG_PRIVILEGE 20 +#define SE_AUDIT_PRIVILEGE 21 +#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE 22 +#define SE_CHANGE_NOTIFY_PRIVILEGE 23 +#define SE_REMOTE_SHUTDOWN_PRIVILEGE 24 +#define SE_UNDOCK_PRIVILEGE 25 +#define SE_SYNC_AGENT_PRIVILEGE 26 +#define SE_ENABLE_DELEGATION_PRIVILEGE 27 +#define SE_MANAGE_VOLUME_PRIVILEGE 28 +#define SE_IMPERSONATE_PRIVILEGE 29 +#define SE_CREATE_GLOBAL_PRIVILEGE 30 +#define SE_MAX_WELL_KNOWN_PRIVILEGE SE_CREATE_GLOBAL_PRIVILEGE + +/* NtGlobalFlag bits */ +#define FLG_STOP_ON_EXCEPTION 0x00000001 +#define FLG_SHOW_LDR_SNAPS 0x00000002 +#define FLG_DEBUG_INITIAL_COMMAND 0x00000004 +#define FLG_STOP_ON_HUNG_GUI 0x00000008 +#define FLG_HEAP_ENABLE_TAIL_CHECK 0x00000010 +#define FLG_HEAP_ENABLE_FREE_CHECK 0x00000020 +#define FLG_HEAP_VALIDATE_PARAMETERS 0x00000040 +#define FLG_HEAP_VALIDATE_ALL 0x00000080 +#define FLG_APPLICATION_VERIFIER 0x00000100 +#define FLG_POOL_ENABLE_TAGGING 0x00000400 +#define FLG_HEAP_ENABLE_TAGGING 0x00000800 +#define FLG_USER_STACK_TRACE_DB 0x00001000 +#define FLG_KERNEL_STACK_TRACE_DB 0x00002000 +#define FLG_MAINTAIN_OBJECT_TYPELIST 0x00004000 +#define FLG_HEAP_ENABLE_TAG_BY_DLL 0x00008000 +#define FLG_DISABLE_STACK_EXTENSION 0x00010000 +#define FLG_ENABLE_CSRDEBUG 0x00020000 +#define FLG_ENABLE_KDEBUG_SYMBOL_LOAD 0x00040000 +#define FLG_DISABLE_PAGE_KERNEL_STACKS 0x00080000 +#define FLG_ENABLE_SYSTEM_CRIT_BREAKS 0x00100000 +#define FLG_HEAP_DISABLE_COALESCING 0x00200000 +#define FLG_ENABLE_CLOSE_EXCEPTIONS 0x00400000 +#define FLG_ENABLE_EXCEPTION_LOGGING 0x00800000 +#define FLG_ENABLE_HANDLE_TYPE_TAGGING 0x01000000 +#define FLG_HEAP_PAGE_ALLOCS 0x02000000 +#define FLG_DEBUG_INITIAL_COMMAND_EX 0x04000000 +#define FLG_DISABLE_DBGPRINT 0x08000000 +#define FLG_CRITSEC_EVENT_CREATION 0x10000000 +#define FLG_LDR_TOP_DOWN 0x20000000 +#define FLG_ENABLE_HANDLE_EXCEPTIONS 0x40000000 +#define FLG_DISABLE_PROTDLLS 0x80000000 + +/* Rtl*Registry* functions structs and defines */ +#define RTL_REGISTRY_ABSOLUTE 0 +#define RTL_REGISTRY_SERVICES 1 +#define RTL_REGISTRY_CONTROL 2 +#define RTL_REGISTRY_WINDOWS_NT 3 +#define RTL_REGISTRY_DEVICEMAP 4 +#define RTL_REGISTRY_USER 5 + +#define RTL_REGISTRY_HANDLE 0x40000000 +#define RTL_REGISTRY_OPTIONAL 0x80000000 + +#define RTL_QUERY_REGISTRY_SUBKEY 0x00000001 +#define RTL_QUERY_REGISTRY_TOPKEY 0x00000002 +#define RTL_QUERY_REGISTRY_REQUIRED 0x00000004 +#define RTL_QUERY_REGISTRY_NOVALUE 0x00000008 +#define RTL_QUERY_REGISTRY_NOEXPAND 0x00000010 +#define RTL_QUERY_REGISTRY_DIRECT 0x00000020 +#define RTL_QUERY_REGISTRY_DELETE 0x00000040 + +typedef NTSTATUS (WINAPI *PRTL_QUERY_REGISTRY_ROUTINE)( PCWSTR ValueName, + ULONG ValueType, + PVOID ValueData, + ULONG ValueLength, + PVOID Context, + PVOID EntryContext); + +typedef struct _RTL_QUERY_REGISTRY_TABLE +{ + PRTL_QUERY_REGISTRY_ROUTINE QueryRoutine; + ULONG Flags; + PWSTR Name; + PVOID EntryContext; + ULONG DefaultType; + PVOID DefaultData; + ULONG DefaultLength; +} RTL_QUERY_REGISTRY_TABLE, *PRTL_QUERY_REGISTRY_TABLE; + +typedef struct _KEY_MULTIPLE_VALUE_INFORMATION +{ + PUNICODE_STRING ValueName; + ULONG DataLength; + ULONG DataOffset; + ULONG Type; +} KEY_MULTIPLE_VALUE_INFORMATION, *PKEY_MULTIPLE_VALUE_INFORMATION; + +typedef VOID (CALLBACK *PRTL_OVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPVOID); + +typedef VOID (CALLBACK *PTIMER_APC_ROUTINE) ( PVOID, ULONG, LONG ); + +typedef enum _EVENT_INFORMATION_CLASS { + EventBasicInformation +} EVENT_INFORMATION_CLASS, *PEVENT_INFORMATION_CLASS; + +typedef struct _EVENT_BASIC_INFORMATION { + EVENT_TYPE EventType; + LONG EventState; +} EVENT_BASIC_INFORMATION, *PEVENT_BASIC_INFORMATION; + +typedef enum _SEMAPHORE_INFORMATION_CLASS { + SemaphoreBasicInformation +} SEMAPHORE_INFORMATION_CLASS, *PSEMAPHORE_INFORMATION_CLASS; + +typedef struct _SEMAPHORE_BASIC_INFORMATION { + ULONG CurrentCount; + ULONG MaximumCount; +} SEMAPHORE_BASIC_INFORMATION, *PSEMAPHORE_BASIC_INFORMATION; + +typedef enum _SECTION_INFORMATION_CLASS +{ + SectionBasicInformation, + SectionImageInformation, +} SECTION_INFORMATION_CLASS; + +typedef struct _SECTION_BASIC_INFORMATION { + PVOID BaseAddress; + ULONG Attributes; + LARGE_INTEGER Size; +} SECTION_BASIC_INFORMATION, *PSECTION_BASIC_INFORMATION; + +typedef struct _SECTION_IMAGE_INFORMATION { + PVOID TransferAddress; + ULONG ZeroBits; + SIZE_T MaximumStackSize; + SIZE_T CommittedStackSize; + ULONG SubSystemType; + WORD SubsystemVersionLow; + WORD SubsystemVersionHigh; + ULONG GpValue; + USHORT ImageCharacteristics; + USHORT DllCharacteristics; + USHORT Machine; + BOOLEAN ImageContainsCode; + UCHAR ImageFlags; + ULONG LoaderFlags; + ULONG ImageFileSize; + ULONG CheckSum; +} SECTION_IMAGE_INFORMATION, *PSECTION_IMAGE_INFORMATION; + +typedef struct _LPC_SECTION_WRITE { + ULONG Length; + HANDLE SectionHandle; + ULONG SectionOffset; + ULONG ViewSize; + PVOID ViewBase; + PVOID TargetViewBase; +} LPC_SECTION_WRITE, *PLPC_SECTION_WRITE; + +typedef struct _LPC_SECTION_READ { + ULONG Length; + ULONG ViewSize; + PVOID ViewBase; +} LPC_SECTION_READ, *PLPC_SECTION_READ; + +typedef struct _LPC_MESSAGE { + USHORT DataSize; + USHORT MessageSize; + USHORT MessageType; + USHORT VirtualRangesOffset; + CLIENT_ID ClientId; + ULONG_PTR MessageId; + ULONG_PTR SectionSize; + UCHAR Data[ANYSIZE_ARRAY]; +} LPC_MESSAGE, *PLPC_MESSAGE; + +typedef struct _RTL_USER_PROCESS_INFORMATION +{ + ULONG Length; + HANDLE Process; + HANDLE Thread; + CLIENT_ID ClientId; + SECTION_IMAGE_INFORMATION ImageInformation; +} RTL_USER_PROCESS_INFORMATION, *PRTL_USER_PROCESS_INFORMATION; + +typedef enum _SHUTDOWN_ACTION { + ShutdownNoReboot, + ShutdownReboot, + ShutdownPowerOff +} SHUTDOWN_ACTION, *PSHUTDOWN_ACTION; + +typedef enum _KPROFILE_SOURCE { + ProfileTime, + ProfileAlignmentFixup, + ProfileTotalIssues, + ProfilePipelineDry, + ProfileLoadInstructions, + ProfilePipelineFrozen, + ProfileBranchInstructions, + ProfileTotalNonissues, + ProfileDcacheMisses, + ProfileIcacheMisses, + ProfileCacheMisses, + ProfileBranchMispredictions, + ProfileStoreInstructions, + ProfileFpInstructions, + ProfileIntegerInstructions, + Profile2Issue, + Profile3Issue, + Profile4Issue, + ProfileSpecialInstructions, + ProfileTotalCycles, + ProfileIcacheIssues, + ProfileDcacheAccesses, + ProfileMemoryBarrierCycles, + ProfileLoadLinkedIssues, + ProfileMaximum +} KPROFILE_SOURCE, *PKPROFILE_SOURCE; + +typedef struct _DIRECTORY_BASIC_INFORMATION { + UNICODE_STRING ObjectName; + UNICODE_STRING ObjectTypeName; +} DIRECTORY_BASIC_INFORMATION, *PDIRECTORY_BASIC_INFORMATION; + +typedef struct _INITIAL_TEB { + PVOID StackBase; + PVOID StackLimit; + PVOID StackCommit; + PVOID StackCommitMax; + PVOID StackReserved; +} INITIAL_TEB, *PINITIAL_TEB; + +typedef enum _PORT_INFORMATION_CLASS { + PortNoInformation +} PORT_INFORMATION_CLASS, *PPORT_INFORMATION_CLASS; + +typedef enum _IO_COMPLETION_INFORMATION_CLASS { + IoCompletionBasicInformation +} IO_COMPLETION_INFORMATION_CLASS, *PIO_COMPLETION_INFORMATION_CLASS; + +typedef struct _FILE_COMPLETION_INFORMATION { + HANDLE CompletionPort; + ULONG_PTR CompletionKey; +} FILE_COMPLETION_INFORMATION, *PFILE_COMPLETION_INFORMATION; + +#define IO_COMPLETION_QUERY_STATE 0x0001 +#define IO_COMPLETION_MODIFY_STATE 0x0002 +#define IO_COMPLETION_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3) + +typedef enum _HARDERROR_RESPONSE_OPTION { + OptionAbortRetryIgnore, + OptionOk, + OptionOkCancel, + OptionRetryCancel, + OptionYesNo, + OptionYesNoCancel, + OptionShutdownSystem +} HARDERROR_RESPONSE_OPTION, *PHARDERROR_RESPONSE_OPTION; + +typedef enum _HARDERROR_RESPONSE { + ResponseReturnToCaller, + ResponseNotHandled, + ResponseAbort, + ResponseCancel, + ResponseIgnore, + ResponseNo, + ResponseOk, + ResponseRetry, + ResponseYes +} HARDERROR_RESPONSE, *PHARDERROR_RESPONSE; + +typedef enum _SYSDBG_COMMAND { + SysDbgQueryModuleInformation, + SysDbgQueryTraceInformation, + SysDbgSetTracepoint, + SysDbgSetSpecialCall, + SysDbgClearSpecialCalls, + SysDbgQuerySpecialCalls, + SysDbgBreakPoint, + SysDbgQueryVersion, + SysDbgReadVirtual, + SysDbgWriteVirtual, + SysDbgReadPhysical, + SysDbgWritePhysical, + SysDbgReadControlSpace, + SysDbgWriteControlSpace, + SysDbgReadIoSpace, + SysDbgWriteIoSpace, + SysDbgReadMsr, + SysDbgWriteMsr, + SysDbgReadBusData, + SysDbgWriteBusData +} SYSDBG_COMMAND, *PSYSDBG_COMMAND; + + +/************************************************************************* + * Loader structures + * + * Those are not part of standard Winternl.h + */ +typedef struct _LDR_MODULE +{ + LIST_ENTRY InLoadOrderModuleList; + LIST_ENTRY InMemoryOrderModuleList; + LIST_ENTRY InInitializationOrderModuleList; + void* BaseAddress; + void* EntryPoint; + ULONG SizeOfImage; + UNICODE_STRING FullDllName; + UNICODE_STRING BaseDllName; + ULONG Flags; + SHORT LoadCount; + SHORT TlsIndex; + HANDLE SectionHandle; + ULONG CheckSum; + ULONG TimeDateStamp; + HANDLE ActivationContext; +} LDR_MODULE, *PLDR_MODULE; + +/* those defines are (some of the) regular LDR_MODULE.Flags values */ +#define LDR_IMAGE_IS_DLL 0x00000004 +#define LDR_LOAD_IN_PROGRESS 0x00001000 +#define LDR_UNLOAD_IN_PROGRESS 0x00002000 +#define LDR_NO_DLL_CALLS 0x00040000 +#define LDR_PROCESS_ATTACHED 0x00080000 +#define LDR_MODULE_REBASED 0x00200000 + +/* these ones is Wine specific */ +#define LDR_DONT_RESOLVE_REFS 0x40000000 +#define LDR_WINE_INTERNAL 0x80000000 + +/* flag for LdrAddRefDll */ +#define LDR_ADDREF_DLL_PIN 0x00000001 + +/* FIXME: to be checked */ +#define MAXIMUM_FILENAME_LENGTH 256 + +typedef struct _SYSTEM_MODULE +{ + PVOID Reserved1; /* 00/00 */ + PVOID Reserved2; /* 04/08 */ + PVOID ImageBaseAddress; /* 08/10 */ + ULONG ImageSize; /* 0c/18 */ + ULONG Flags; /* 10/1c */ + WORD Id; /* 14/20 */ + WORD Rank; /* 16/22 */ + WORD Unknown; /* 18/24 */ + WORD NameOffset; /* 1a/26 */ + BYTE Name[MAXIMUM_FILENAME_LENGTH]; /* 1c/28 */ +} SYSTEM_MODULE, *PSYSTEM_MODULE; + +typedef struct _SYSTEM_MODULE_INFORMATION +{ + ULONG ModulesCount; + SYSTEM_MODULE Modules[1]; /* FIXME: should be Modules[0] */ +} SYSTEM_MODULE_INFORMATION, *PSYSTEM_MODULE_INFORMATION; + +/*********************************************************************** + * Function declarations + */ + +#if defined(__i386__) && defined(__GNUC__) +static inline void WINAPI DbgBreakPoint(void) { __asm__ __volatile__("int3"); } +static inline void WINAPI DbgUserBreakPoint(void) { __asm__ __volatile__("int3"); } +#else /* __i386__ && __GNUC__ */ +NTSYSAPI void WINAPI DbgBreakPoint(void); +NTSYSAPI void WINAPI DbgUserBreakPoint(void); +#endif /* __i386__ && __GNUC__ */ +NTSYSAPI NTSTATUS WINAPIV DbgPrint(LPCSTR fmt, ...); +NTSYSAPI NTSTATUS WINAPIV DbgPrintEx(ULONG iComponentId, ULONG Level, LPCSTR fmt, ...); +NTSYSAPI NTSTATUS WINAPI LdrAccessResource(HMODULE,const IMAGE_RESOURCE_DATA_ENTRY*,void**,PULONG); +NTSYSAPI NTSTATUS WINAPI LdrAddRefDll(ULONG,HMODULE); +NTSYSAPI NTSTATUS WINAPI LdrFindResourceDirectory_U(HMODULE,const LDR_RESOURCE_INFO*,ULONG,const IMAGE_RESOURCE_DIRECTORY**); +NTSYSAPI NTSTATUS WINAPI LdrFindResource_U(HMODULE,const LDR_RESOURCE_INFO*,ULONG,const IMAGE_RESOURCE_DATA_ENTRY**); +NTSYSAPI NTSTATUS WINAPI LdrDisableThreadCalloutsForDll(HMODULE); +NTSYSAPI NTSTATUS WINAPI LdrFindEntryForAddress(const void*, PLDR_MODULE*); +NTSYSAPI NTSTATUS WINAPI LdrGetDllHandle(LPCWSTR, ULONG, const UNICODE_STRING*, HMODULE*); +NTSYSAPI NTSTATUS WINAPI LdrGetProcedureAddress(HMODULE, const ANSI_STRING*, ULONG, void**); +NTSYSAPI void WINAPI LdrInitializeThunk(void*,ULONG_PTR,ULONG_PTR,ULONG_PTR); +NTSYSAPI NTSTATUS WINAPI LdrLoadDll(LPCWSTR, DWORD, const UNICODE_STRING*, HMODULE*); +NTSYSAPI NTSTATUS WINAPI LdrLockLoaderLock(ULONG,ULONG*,ULONG_PTR*); +IMAGE_BASE_RELOCATION * WINAPI LdrProcessRelocationBlock(void*,UINT,USHORT*,INT_PTR); +NTSYSAPI NTSTATUS WINAPI LdrQueryImageFileExecutionOptions(const UNICODE_STRING*,LPCWSTR,ULONG,void*,ULONG,ULONG*); +NTSYSAPI NTSTATUS WINAPI LdrQueryProcessModuleInformation(SYSTEM_MODULE_INFORMATION*, ULONG, ULONG*); +NTSYSAPI void WINAPI LdrShutdownProcess(void); +NTSYSAPI void WINAPI LdrShutdownThread(void); +NTSYSAPI NTSTATUS WINAPI LdrUnloadDll(HMODULE); +NTSYSAPI NTSTATUS WINAPI LdrUnlockLoaderLock(ULONG,ULONG_PTR); +NTSYSAPI NTSTATUS WINAPI NtAcceptConnectPort(PHANDLE,ULONG,PLPC_MESSAGE,BOOLEAN,PLPC_SECTION_WRITE,PLPC_SECTION_READ); +NTSYSAPI NTSTATUS WINAPI NtAccessCheck(PSECURITY_DESCRIPTOR,HANDLE,ACCESS_MASK,PGENERIC_MAPPING,PPRIVILEGE_SET,PULONG,PULONG,NTSTATUS*); +NTSYSAPI NTSTATUS WINAPI NtAccessCheckAndAuditAlarm(PUNICODE_STRING,HANDLE,PUNICODE_STRING,PUNICODE_STRING,PSECURITY_DESCRIPTOR,ACCESS_MASK,PGENERIC_MAPPING,BOOLEAN,PACCESS_MASK,PBOOLEAN,PBOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtAddAtom(const WCHAR*,ULONG,RTL_ATOM*); +NTSYSAPI NTSTATUS WINAPI NtAdjustGroupsToken(HANDLE,BOOLEAN,PTOKEN_GROUPS,ULONG,PTOKEN_GROUPS,PULONG); +NTSYSAPI NTSTATUS WINAPI NtAdjustPrivilegesToken(HANDLE,BOOLEAN,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD); +NTSYSAPI NTSTATUS WINAPI NtAlertResumeThread(HANDLE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtAlertThread(HANDLE ThreadHandle); +NTSYSAPI NTSTATUS WINAPI NtAllocateLocallyUniqueId(PLUID lpLuid); +NTSYSAPI NTSTATUS WINAPI NtAllocateUuids(PULARGE_INTEGER,PULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtAllocateVirtualMemory(HANDLE,PVOID*,ULONG,SIZE_T*,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI NtAreMappedFilesTheSame(PVOID,PVOID); +NTSYSAPI NTSTATUS WINAPI NtAssignProcessToJobObject(HANDLE,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtCallbackReturn(PVOID,ULONG,NTSTATUS); +NTSYSAPI NTSTATUS WINAPI NtCancelIoFile(HANDLE,PIO_STATUS_BLOCK); +NTSYSAPI NTSTATUS WINAPI NtCancelIoFileEx(HANDLE,PIO_STATUS_BLOCK,PIO_STATUS_BLOCK); +NTSYSAPI NTSTATUS WINAPI NtCancelTimer(HANDLE, BOOLEAN*); +NTSYSAPI NTSTATUS WINAPI NtClearEvent(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtClose(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtCloseObjectAuditAlarm(PUNICODE_STRING,HANDLE,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtCompleteConnectPort(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtConnectPort(PHANDLE,PUNICODE_STRING,PSECURITY_QUALITY_OF_SERVICE,PLPC_SECTION_WRITE,PLPC_SECTION_READ,PULONG,PVOID,PULONG); +NTSYSAPI NTSTATUS WINAPI NtContinue(PCONTEXT,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtCreateDirectoryObject(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES); +NTSYSAPI NTSTATUS WINAPI NtCreateEvent(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *,EVENT_TYPE,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtCreateEventPair(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES); +NTSYSAPI NTSTATUS WINAPI NtCreateFile(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,PLARGE_INTEGER,ULONG,ULONG,ULONG,ULONG,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtCreateIoCompletion(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,ULONG); +NTSYSAPI NTSTATUS WINAPI NtCreateJobObject(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtCreateKey(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,const UNICODE_STRING*,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtCreateKeyTransacted(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,const UNICODE_STRING*,ULONG,HANDLE,ULONG*); +NTSYSAPI NTSTATUS WINAPI NtCreateKeyedEvent(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG); +NTSYSAPI NTSTATUS WINAPI NtCreateMailslotFile(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,ULONG,ULONG,ULONG,PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtCreateMutant(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtCreateNamedPipeFile(PHANDLE,ULONG,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtCreatePagingFile(PUNICODE_STRING,PLARGE_INTEGER,PLARGE_INTEGER,PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtCreatePort(PHANDLE,POBJECT_ATTRIBUTES,ULONG,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtCreateProcess(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,HANDLE,BOOLEAN,HANDLE,HANDLE,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtCreateProfile(PHANDLE,HANDLE,PVOID,ULONG,ULONG,PVOID,ULONG,KPROFILE_SOURCE,KAFFINITY); +NTSYSAPI NTSTATUS WINAPI NtCreateSection(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const LARGE_INTEGER*,ULONG,ULONG,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtCreateSemaphore(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,LONG,LONG); +NTSYSAPI NTSTATUS WINAPI NtCreateSymbolicLinkObject(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI NtCreateThread(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PCONTEXT,PINITIAL_TEB,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtCreateTimer(HANDLE*, ACCESS_MASK, const OBJECT_ATTRIBUTES*, TIMER_TYPE); +NTSYSAPI NTSTATUS WINAPI NtCreateToken(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,TOKEN_TYPE,PLUID,PLARGE_INTEGER,PTOKEN_USER,PTOKEN_GROUPS,PTOKEN_PRIVILEGES,PTOKEN_OWNER,PTOKEN_PRIMARY_GROUP,PTOKEN_DEFAULT_DACL,PTOKEN_SOURCE); +NTSYSAPI NTSTATUS WINAPI NtDelayExecution(BOOLEAN,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtDeleteAtom(RTL_ATOM); +NTSYSAPI NTSTATUS WINAPI NtDeleteFile(POBJECT_ATTRIBUTES); +NTSYSAPI NTSTATUS WINAPI NtDeleteKey(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtDeleteValueKey(HANDLE,const UNICODE_STRING *); +NTSYSAPI NTSTATUS WINAPI NtDeviceIoControlFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,PVOID,ULONG,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtDisplayString(PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI NtDuplicateObject(HANDLE,HANDLE,HANDLE,PHANDLE,ACCESS_MASK,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI NtDuplicateToken(HANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE); +NTSYSAPI NTSTATUS WINAPI NtEnumerateKey(HANDLE,ULONG,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *); +NTSYSAPI NTSTATUS WINAPI NtEnumerateValueKey(HANDLE,ULONG,KEY_VALUE_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtExtendSection(HANDLE,PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtFindAtom(const WCHAR*,ULONG,RTL_ATOM*); +NTSYSAPI NTSTATUS WINAPI NtFlushBuffersFile(HANDLE,IO_STATUS_BLOCK*); +NTSYSAPI NTSTATUS WINAPI NtFlushInstructionCache(HANDLE,LPCVOID,SIZE_T); +NTSYSAPI NTSTATUS WINAPI NtFlushKey(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtFlushVirtualMemory(HANDLE,LPCVOID*,SIZE_T*,ULONG); +NTSYSAPI NTSTATUS WINAPI NtFlushWriteBuffer(VOID); +NTSYSAPI NTSTATUS WINAPI NtFreeVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG); +NTSYSAPI NTSTATUS WINAPI NtFsControlFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,PVOID,ULONG,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtGetContextThread(HANDLE,CONTEXT*); +NTSYSAPI ULONG WINAPI NtGetCurrentProcessorNumber(void); +NTSYSAPI NTSTATUS WINAPI NtGetPlugPlayEvent(ULONG,ULONG,PVOID,ULONG); +NTSYSAPI ULONG WINAPI NtGetTickCount(VOID); +NTSYSAPI NTSTATUS WINAPI NtGetWriteWatch(HANDLE,ULONG,PVOID,SIZE_T,PVOID*,ULONG_PTR*,ULONG*); +NTSYSAPI NTSTATUS WINAPI NtImpersonateAnonymousToken(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtImpersonateClientOfPort(HANDLE,PPORT_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtImpersonateThread(HANDLE,HANDLE,PSECURITY_QUALITY_OF_SERVICE); +NTSYSAPI NTSTATUS WINAPI NtInitializeRegistry(BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtInitiatePowerAction(POWER_ACTION,SYSTEM_POWER_STATE,ULONG,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtIsProcessInJob(HANDLE,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtListenPort(HANDLE,PLPC_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtLoadDriver(const UNICODE_STRING *); +NTSYSAPI NTSTATUS WINAPI NtLoadKey(const OBJECT_ATTRIBUTES *,OBJECT_ATTRIBUTES *); +NTSYSAPI NTSTATUS WINAPI NtLockFile(HANDLE,HANDLE,PIO_APC_ROUTINE,void*,PIO_STATUS_BLOCK,PLARGE_INTEGER,PLARGE_INTEGER,ULONG*,BOOLEAN,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtLockVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG); +NTSYSAPI NTSTATUS WINAPI NtMakeTemporaryObject(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtMapViewOfSection(HANDLE,HANDLE,PVOID*,ULONG,SIZE_T,const LARGE_INTEGER*,SIZE_T*,SECTION_INHERIT,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI NtNotifyChangeDirectoryFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,ULONG,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtNotifyChangeKey(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,BOOLEAN,PVOID,ULONG,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtNotifyChangeMultipleKeys(HANDLE,ULONG,OBJECT_ATTRIBUTES*,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,ULONG,BOOLEAN,PVOID,ULONG,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtOpenDirectoryObject(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenEvent(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *); +NTSYSAPI NTSTATUS WINAPI NtOpenEventPair(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenFile(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI NtOpenIoCompletion(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenJobObject(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenKey(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *); +NTSYSAPI NTSTATUS WINAPI NtOpenKeyEx(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG); +NTSYSAPI NTSTATUS WINAPI NtOpenKeyTransacted(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtOpenKeyTransactedEx(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtOpenKeyedEvent(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenMutant(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenObjectAuditAlarm(PUNICODE_STRING,PHANDLE,PUNICODE_STRING,PUNICODE_STRING,PSECURITY_DESCRIPTOR,HANDLE,ACCESS_MASK,ACCESS_MASK,PPRIVILEGE_SET,BOOLEAN,BOOLEAN,PBOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtOpenProcess(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const CLIENT_ID*); +NTSYSAPI NTSTATUS WINAPI NtOpenProcessToken(HANDLE,DWORD,HANDLE *); +NTSYSAPI NTSTATUS WINAPI NtOpenProcessTokenEx(HANDLE,DWORD,DWORD,HANDLE *); +NTSYSAPI NTSTATUS WINAPI NtOpenSection(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenSemaphore(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenSymbolicLinkObject(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtOpenThread(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const CLIENT_ID*); +NTSYSAPI NTSTATUS WINAPI NtOpenThreadToken(HANDLE,DWORD,BOOLEAN,HANDLE *); +NTSYSAPI NTSTATUS WINAPI NtOpenThreadTokenEx(HANDLE,DWORD,BOOLEAN,DWORD,HANDLE *); +NTSYSAPI NTSTATUS WINAPI NtOpenTimer(HANDLE*, ACCESS_MASK, const OBJECT_ATTRIBUTES*); +NTSYSAPI NTSTATUS WINAPI NtPowerInformation(POWER_INFORMATION_LEVEL,PVOID,ULONG,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtPrivilegeCheck(HANDLE,PPRIVILEGE_SET,PBOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtPrivilegeObjectAuditAlarm(PUNICODE_STRING,HANDLE,HANDLE,ULONG,PPRIVILEGE_SET,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtPrivilegedServiceAuditAlarm(PUNICODE_STRING,PUNICODE_STRING,HANDLE,PPRIVILEGE_SET,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtProtectVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG,ULONG*); +NTSYSAPI NTSTATUS WINAPI NtPulseEvent(HANDLE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueueApcThread(HANDLE,PNTAPCFUNC,ULONG_PTR,ULONG_PTR,ULONG_PTR); +NTSYSAPI NTSTATUS WINAPI NtQueryAttributesFile(const OBJECT_ATTRIBUTES*,FILE_BASIC_INFORMATION*); +NTSYSAPI NTSTATUS WINAPI NtQueryDefaultLocale(BOOLEAN,LCID*); +NTSYSAPI NTSTATUS WINAPI NtQueryDefaultUILanguage(LANGID*); +NTSYSAPI NTSTATUS WINAPI NtQueryDirectoryFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS,BOOLEAN,PUNICODE_STRING,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtQueryDirectoryObject(HANDLE,PDIRECTORY_BASIC_INFORMATION,ULONG,BOOLEAN,BOOLEAN,PULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,BOOLEAN,PVOID,ULONG,PULONG,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI NtQueryEvent(HANDLE,EVENT_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryFullAttributesFile(const OBJECT_ATTRIBUTES*,FILE_NETWORK_OPEN_INFORMATION*); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationAtom(RTL_ATOM,ATOM_INFORMATION_CLASS,PVOID,ULONG,ULONG*); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,LONG,FILE_INFORMATION_CLASS); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationJobObject(HANDLE,JOBOBJECTINFOCLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationPort(HANDLE,PORT_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationProcess(HANDLE,PROCESSINFOCLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationThread(HANDLE,THREADINFOCLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryInformationToken(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryInstallUILanguage(LANGID*); +NTSYSAPI NTSTATUS WINAPI NtQueryIntervalProfile(KPROFILE_SOURCE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryIoCompletion(HANDLE,IO_COMPLETION_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryKey(HANDLE,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *); +NTSYSAPI NTSTATUS WINAPI NtQueryMultipleValueKey(HANDLE,PKEY_MULTIPLE_VALUE_INFORMATION,ULONG,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryMutant(HANDLE,MUTANT_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG, PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryOpenSubKeys(POBJECT_ATTRIBUTES,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryPerformanceCounter(PLARGE_INTEGER, PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtQuerySecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQuerySection(HANDLE,SECTION_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQuerySemaphore(HANDLE,SEMAPHORE_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQuerySymbolicLinkObject(HANDLE,PUNICODE_STRING,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQuerySystemEnvironmentValue(PUNICODE_STRING,PWCHAR,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQuerySystemInformation(SYSTEM_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQuerySystemInformationEx(SYSTEM_INFORMATION_CLASS,void*,ULONG,void*,ULONG,ULONG*); +NTSYSAPI NTSTATUS WINAPI NtQuerySystemTime(PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtQueryTimer(HANDLE,TIMER_INFORMATION_CLASS,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryTimerResolution(PULONG,PULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtQueryValueKey(HANDLE,const UNICODE_STRING *,KEY_VALUE_INFORMATION_CLASS,void *,DWORD,DWORD *); +NTSYSAPI NTSTATUS WINAPI NtQueryLicenseValue(const UNICODE_STRING *,ULONG *,PVOID,ULONG,ULONG *); +NTSYSAPI NTSTATUS WINAPI NtQueryVirtualMemory(HANDLE,LPCVOID,MEMORY_INFORMATION_CLASS,PVOID,SIZE_T,SIZE_T*); +NTSYSAPI NTSTATUS WINAPI NtQueryVolumeInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FS_INFORMATION_CLASS); +NTSYSAPI NTSTATUS WINAPI NtRaiseException(PEXCEPTION_RECORD,PCONTEXT,BOOL); +NTSYSAPI NTSTATUS WINAPI NtRaiseHardError(NTSTATUS,ULONG,PUNICODE_STRING,PVOID*,HARDERROR_RESPONSE_OPTION,PHARDERROR_RESPONSE); +NTSYSAPI NTSTATUS WINAPI NtReadFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,PLARGE_INTEGER,PULONG); +NTSYSAPI NTSTATUS WINAPI NtReadFileScatter(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,FILE_SEGMENT_ELEMENT*,ULONG,PLARGE_INTEGER,PULONG); +NTSYSAPI NTSTATUS WINAPI NtReadRequestData(HANDLE,PLPC_MESSAGE,ULONG,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtReadVirtualMemory(HANDLE,const void*,void*,SIZE_T,SIZE_T*); +NTSYSAPI NTSTATUS WINAPI NtRegisterThreadTerminatePort(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtReleaseKeyedEvent(HANDLE,const void*,BOOLEAN,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtReleaseMutant(HANDLE,PLONG); +NTSYSAPI NTSTATUS WINAPI NtReleaseSemaphore(HANDLE,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtRemoveIoCompletion(HANDLE,PULONG_PTR,PULONG_PTR,PIO_STATUS_BLOCK,PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtRenameKey(HANDLE,UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI NtReplaceKey(POBJECT_ATTRIBUTES,HANDLE,POBJECT_ATTRIBUTES); +NTSYSAPI NTSTATUS WINAPI NtReplyPort(HANDLE,PLPC_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtReplyWaitReceivePort(HANDLE,PULONG,PLPC_MESSAGE,PLPC_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtReplyWaitReceivePortEx(HANDLE,PVOID*,PPORT_MESSAGE,PPORT_MESSAGE,PLARGE_INTEGER); +NTSYSAPI NTSTATUS WINAPI NtReplyWaitReplyPort(HANDLE,PLPC_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtRequestPort(HANDLE,PLPC_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtRequestWaitReplyPort(HANDLE,PLPC_MESSAGE,PLPC_MESSAGE); +NTSYSAPI NTSTATUS WINAPI NtResetEvent(HANDLE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtResetWriteWatch(HANDLE,PVOID,SIZE_T); +NTSYSAPI NTSTATUS WINAPI NtRestoreKey(HANDLE,HANDLE,ULONG); +NTSYSAPI NTSTATUS WINAPI NtResumeThread(HANDLE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtSaveKey(HANDLE,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSecureConnectPort(PHANDLE,PUNICODE_STRING,PSECURITY_QUALITY_OF_SERVICE,PLPC_SECTION_WRITE,PSID,PLPC_SECTION_READ,PULONG,PVOID,PULONG); +NTSYSAPI NTSTATUS WINAPI NtSetContextThread(HANDLE,const CONTEXT*); +NTSYSAPI NTSTATUS WINAPI NtSetDefaultHardErrorPort(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSetDefaultLocale(BOOLEAN,LCID); +NTSYSAPI NTSTATUS WINAPI NtSetDefaultUILanguage(LANGID); +NTSYSAPI NTSTATUS WINAPI NtSetEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetEvent(HANDLE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtSetHighEventPair(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSetHighWaitLowEventPair(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSetHighWaitLowThread(VOID); +NTSYSAPI NTSTATUS WINAPI NtSetInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS); +NTSYSAPI NTSTATUS WINAPI NtSetInformationJobObject(HANDLE,JOBOBJECTINFOCLASS,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetInformationKey(HANDLE,const int,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetInformationObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetInformationProcess(HANDLE,PROCESS_INFORMATION_CLASS,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetInformationThread(HANDLE,THREADINFOCLASS,LPCVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetInformationToken(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetIntervalProfile(ULONG,KPROFILE_SOURCE); +NTSYSAPI NTSTATUS WINAPI NtSetIoCompletion(HANDLE,ULONG_PTR,ULONG_PTR,NTSTATUS,SIZE_T); +NTSYSAPI NTSTATUS WINAPI NtSetLdtEntries(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetLowEventPair(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSetLowWaitHighEventPair(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSetLowWaitHighThread(VOID); +NTSYSAPI NTSTATUS WINAPI NtSetSecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +NTSYSAPI NTSTATUS WINAPI NtSetSystemEnvironmentValue(PUNICODE_STRING,PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI NtSetSystemInformation(SYSTEM_INFORMATION_CLASS,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetSystemPowerState(POWER_ACTION,SYSTEM_POWER_STATE,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetSystemTime(const LARGE_INTEGER*,LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtSetTimer(HANDLE, const LARGE_INTEGER*, PTIMER_APC_ROUTINE, PVOID, BOOLEAN, ULONG, BOOLEAN*); +NTSYSAPI NTSTATUS WINAPI NtSetTimerResolution(ULONG,BOOLEAN,PULONG); +NTSYSAPI NTSTATUS WINAPI NtSetValueKey(HANDLE,const UNICODE_STRING *,ULONG,ULONG,const void *,ULONG); +NTSYSAPI NTSTATUS WINAPI NtSetVolumeInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FS_INFORMATION_CLASS); +NTSYSAPI NTSTATUS WINAPI NtSignalAndWaitForSingleObject(HANDLE,HANDLE,BOOLEAN,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtShutdownSystem(SHUTDOWN_ACTION); +NTSYSAPI NTSTATUS WINAPI NtStartProfile(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtStopProfile(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtSuspendThread(HANDLE,PULONG); +NTSYSAPI NTSTATUS WINAPI NtSystemDebugControl(SYSDBG_COMMAND,PVOID,ULONG,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtTerminateJobObject(HANDLE,NTSTATUS); +NTSYSAPI NTSTATUS WINAPI NtTerminateProcess(HANDLE,LONG); +NTSYSAPI NTSTATUS WINAPI NtTerminateThread(HANDLE,LONG); +NTSYSAPI NTSTATUS WINAPI NtTestAlert(VOID); +NTSYSAPI NTSTATUS WINAPI NtUnloadDriver(const UNICODE_STRING *); +NTSYSAPI NTSTATUS WINAPI NtUnloadKey(POBJECT_ATTRIBUTES); +NTSYSAPI NTSTATUS WINAPI NtUnloadKeyEx(POBJECT_ATTRIBUTES,HANDLE); +NTSYSAPI NTSTATUS WINAPI NtUnlockFile(HANDLE,PIO_STATUS_BLOCK,PLARGE_INTEGER,PLARGE_INTEGER,PULONG); +NTSYSAPI NTSTATUS WINAPI NtUnlockVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG); +NTSYSAPI NTSTATUS WINAPI NtUnmapViewOfSection(HANDLE,PVOID); +NTSYSAPI NTSTATUS WINAPI NtVdmControl(ULONG,PVOID); +NTSYSAPI NTSTATUS WINAPI NtWaitForKeyedEvent(HANDLE,const void*,BOOLEAN,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtWaitForSingleObject(HANDLE,BOOLEAN,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtWaitForMultipleObjects(ULONG,const HANDLE*,BOOLEAN,BOOLEAN,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI NtWaitHighEventPair(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtWaitLowEventPair(HANDLE); +NTSYSAPI NTSTATUS WINAPI NtWriteFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,const void*,ULONG,PLARGE_INTEGER,PULONG); +NTSYSAPI NTSTATUS WINAPI NtWriteFileGather(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,FILE_SEGMENT_ELEMENT*,ULONG,PLARGE_INTEGER,PULONG); +NTSYSAPI NTSTATUS WINAPI NtWriteRequestData(HANDLE,PLPC_MESSAGE,ULONG,PVOID,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI NtWriteVirtualMemory(HANDLE,void*,const void*,SIZE_T,SIZE_T*); +NTSYSAPI NTSTATUS WINAPI NtYieldExecution(void); + +NTSYSAPI void WINAPI RtlAcquirePebLock(void); +NTSYSAPI BYTE WINAPI RtlAcquireResourceExclusive(LPRTL_RWLOCK,BYTE); +NTSYSAPI BYTE WINAPI RtlAcquireResourceShared(LPRTL_RWLOCK,BYTE); +NTSYSAPI void WINAPI RtlAcquireSRWLockExclusive(RTL_SRWLOCK*); +NTSYSAPI void WINAPI RtlAcquireSRWLockShared(RTL_SRWLOCK*); +NTSYSAPI NTSTATUS WINAPI RtlActivateActivationContext(DWORD,HANDLE,ULONG_PTR*); +NTSYSAPI NTSTATUS WINAPI RtlAddAce(PACL,DWORD,DWORD,PACE_HEADER,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlAddAccessAllowedAce(PACL,DWORD,DWORD,PSID); +NTSYSAPI NTSTATUS WINAPI RtlAddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID); +NTSYSAPI NTSTATUS WINAPI RtlAddAccessAllowedObjectAce(PACL,DWORD,DWORD,DWORD,GUID*,GUID*,PSID); +NTSYSAPI NTSTATUS WINAPI RtlAddAccessDeniedAce(PACL,DWORD,DWORD,PSID); +NTSYSAPI NTSTATUS WINAPI RtlAddAccessDeniedAceEx(PACL,DWORD,DWORD,DWORD,PSID); +NTSYSAPI NTSTATUS WINAPI RtlAddAccessDeniedObjectAce(PACL,DWORD,DWORD,DWORD,GUID*,GUID*,PSID); +NTSYSAPI NTSTATUS WINAPI RtlAddAtomToAtomTable(RTL_ATOM_TABLE,const WCHAR*,RTL_ATOM*); +NTSYSAPI NTSTATUS WINAPI RtlAddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL); +NTSYSAPI NTSTATUS WINAPI RtlAddAuditAccessAceEx(PACL,DWORD,DWORD,DWORD,PSID,BOOL,BOOL); +NTSYSAPI NTSTATUS WINAPI RtlAddAuditAccessObjectAce(PACL,DWORD,DWORD,DWORD,GUID*,GUID*,PSID,BOOL,BOOL); +NTSYSAPI NTSTATUS WINAPI RtlAddMandatoryAce(PACL,DWORD,DWORD,DWORD,DWORD,PSID); +NTSYSAPI void WINAPI RtlAddRefActivationContext(HANDLE); +NTSYSAPI PVOID WINAPI RtlAddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER); +NTSYSAPI NTSTATUS WINAPI RtlAdjustPrivilege(ULONG,BOOLEAN,BOOLEAN,PBOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlAllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *); +NTSYSAPI RTL_HANDLE * WINAPI RtlAllocateHandle(RTL_HANDLE_TABLE *,ULONG *); +NTSYSAPI PVOID WINAPI RtlAllocateHeap(HANDLE,ULONG,SIZE_T) __WINE_ALLOC_SIZE(3); +NTSYSAPI WCHAR WINAPI RtlAnsiCharToUnicodeChar(LPSTR *); +NTSYSAPI DWORD WINAPI RtlAnsiStringToUnicodeSize(const STRING *); +NTSYSAPI NTSTATUS WINAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING,PCANSI_STRING,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlAppendAsciizToString(STRING *,LPCSTR); +NTSYSAPI NTSTATUS WINAPI RtlAppendStringToString(STRING *,const STRING *); +NTSYSAPI NTSTATUS WINAPI RtlAppendUnicodeStringToString(UNICODE_STRING *,const UNICODE_STRING *); +NTSYSAPI NTSTATUS WINAPI RtlAppendUnicodeToString(UNICODE_STRING *,LPCWSTR); +NTSYSAPI BOOLEAN WINAPI RtlAreAllAccessesGranted(ACCESS_MASK,ACCESS_MASK); +NTSYSAPI BOOLEAN WINAPI RtlAreAnyAccessesGranted(ACCESS_MASK,ACCESS_MASK); +NTSYSAPI BOOLEAN WINAPI RtlAreBitsSet(PCRTL_BITMAP,ULONG,ULONG); +NTSYSAPI BOOLEAN WINAPI RtlAreBitsClear(PCRTL_BITMAP,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlCharToInteger(PCSZ,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI RtlCheckRegistryKey(ULONG, PWSTR); +NTSYSAPI void WINAPI RtlClearAllBits(PRTL_BITMAP); +NTSYSAPI void WINAPI RtlClearBits(PRTL_BITMAP,ULONG,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlCreateActivationContext(HANDLE*,const void*); +NTSYSAPI PDEBUG_BUFFER WINAPI RtlCreateQueryDebugBuffer(ULONG,BOOLEAN); +NTSYSAPI ULONG WINAPI RtlCompactHeap(HANDLE,ULONG); +NTSYSAPI LONG WINAPI RtlCompareString(const STRING*,const STRING*,BOOLEAN); +NTSYSAPI LONG WINAPI RtlCompareUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI LONG WINAPI RtlCompareUnicodeStrings(const WCHAR*,SIZE_T,const WCHAR*,SIZE_T,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlCompressBuffer(USHORT,PUCHAR,ULONG,PUCHAR,ULONG,ULONG,PULONG,PVOID); +NTSYSAPI DWORD WINAPI RtlComputeCrc32(DWORD,const BYTE*,INT); +NTSYSAPI NTSTATUS WINAPI RtlConvertSidToUnicodeString(PUNICODE_STRING,PSID,BOOLEAN); +NTSYSAPI void WINAPI RtlCopyLuid(PLUID,const LUID*); +NTSYSAPI void WINAPI RtlCopyLuidAndAttributesArray(ULONG,const LUID_AND_ATTRIBUTES*,PLUID_AND_ATTRIBUTES); +NTSYSAPI BOOLEAN WINAPI RtlCopySid(DWORD,PSID,PSID); +NTSYSAPI NTSTATUS WINAPI RtlCopySecurityDescriptor(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR); +NTSYSAPI void WINAPI RtlCopyString(STRING*,const STRING*); +NTSYSAPI void WINAPI RtlCopyUnicodeString(UNICODE_STRING*,const UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlCreateAcl(PACL,DWORD,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlCreateAtomTable(ULONG,RTL_ATOM_TABLE*); +NTSYSAPI NTSTATUS WINAPI RtlCreateEnvironment(BOOLEAN, PWSTR*); +NTSYSAPI HANDLE WINAPI RtlCreateHeap(ULONG,PVOID,SIZE_T,SIZE_T,PVOID,PRTL_HEAP_DEFINITION); +NTSYSAPI NTSTATUS WINAPI RtlCreateProcessParameters(RTL_USER_PROCESS_PARAMETERS**,const UNICODE_STRING*,const UNICODE_STRING*,const UNICODE_STRING*,const UNICODE_STRING*,PWSTR,const UNICODE_STRING*,const UNICODE_STRING*,const UNICODE_STRING*,const UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlCreateTimerQueue(PHANDLE); +NTSYSAPI NTSTATUS WINAPI RtlCreateTimer(PHANDLE, HANDLE, RTL_WAITORTIMERCALLBACKFUNC, PVOID, DWORD, DWORD, ULONG); +NTSYSAPI BOOLEAN WINAPI RtlCreateUnicodeString(PUNICODE_STRING,LPCWSTR); +NTSYSAPI BOOLEAN WINAPI RtlCreateUnicodeStringFromAsciiz(PUNICODE_STRING,LPCSTR); +NTSYSAPI NTSTATUS WINAPI RtlCreateUserProcess(UNICODE_STRING*,ULONG,RTL_USER_PROCESS_PARAMETERS*,SECURITY_DESCRIPTOR*,SECURITY_DESCRIPTOR*,HANDLE,BOOLEAN,HANDLE,HANDLE,RTL_USER_PROCESS_INFORMATION*); +NTSYSAPI NTSTATUS WINAPI RtlCreateUserThread(HANDLE,const SECURITY_DESCRIPTOR*,BOOLEAN,PVOID,SIZE_T,SIZE_T,PRTL_THREAD_START_ROUTINE,void*,HANDLE*,CLIENT_ID*); +NTSYSAPI void WINAPI RtlDeactivateActivationContext(DWORD,ULONG_PTR); +NTSYSAPI PVOID WINAPI RtlDecodePointer(PVOID); +NTSYSAPI NTSTATUS WINAPI RtlDecompressBuffer(USHORT,PUCHAR,ULONG,PUCHAR,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI RtlDeleteAce(PACL,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlDeleteAtomFromAtomTable(RTL_ATOM_TABLE,RTL_ATOM); +NTSYSAPI NTSTATUS WINAPI RtlDeleteCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI NTSTATUS WINAPI RtlDeleteRegistryValue(ULONG, PCWSTR, PCWSTR); +NTSYSAPI void WINAPI RtlDeleteResource(LPRTL_RWLOCK); +NTSYSAPI NTSTATUS WINAPI RtlDeleteSecurityObject(PSECURITY_DESCRIPTOR*); +NTSYSAPI NTSTATUS WINAPI RtlDeleteTimer(HANDLE, HANDLE, HANDLE); +NTSYSAPI NTSTATUS WINAPI RtlDeleteTimerQueueEx(HANDLE, HANDLE); +NTSYSAPI PRTL_USER_PROCESS_PARAMETERS WINAPI RtlDeNormalizeProcessParams(RTL_USER_PROCESS_PARAMETERS*); +NTSYSAPI NTSTATUS WINAPI RtlDeregisterWait(HANDLE); +NTSYSAPI NTSTATUS WINAPI RtlDeregisterWaitEx(HANDLE,HANDLE); +NTSYSAPI NTSTATUS WINAPI RtlDestroyAtomTable(RTL_ATOM_TABLE); +NTSYSAPI NTSTATUS WINAPI RtlDestroyEnvironment(PWSTR); +NTSYSAPI NTSTATUS WINAPI RtlDestroyHandleTable(RTL_HANDLE_TABLE *); +NTSYSAPI HANDLE WINAPI RtlDestroyHeap(HANDLE); +NTSYSAPI void WINAPI RtlDestroyProcessParameters(RTL_USER_PROCESS_PARAMETERS*); +NTSYSAPI NTSTATUS WINAPI RtlDestroyQueryDebugBuffer(PDEBUG_BUFFER); +NTSYSAPI DOS_PATHNAME_TYPE WINAPI RtlDetermineDosPathNameType_U(PCWSTR); +NTSYSAPI BOOLEAN WINAPI RtlDllShutdownInProgress(void); +NTSYSAPI BOOLEAN WINAPI RtlDoesFileExists_U(LPCWSTR); +NTSYSAPI BOOLEAN WINAPI RtlDosPathNameToNtPathName_U(PCWSTR,PUNICODE_STRING,PWSTR*,CURDIR*); +NTSYSAPI ULONG WINAPI RtlDosSearchPath_U(LPCWSTR, LPCWSTR, LPCWSTR, ULONG, LPWSTR, LPWSTR*); +NTSYSAPI WCHAR WINAPI RtlDowncaseUnicodeChar(WCHAR); +NTSYSAPI NTSTATUS WINAPI RtlDowncaseUnicodeString(UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI void WINAPI RtlDumpResource(LPRTL_RWLOCK); +NTSYSAPI NTSTATUS WINAPI RtlDuplicateUnicodeString(int,const UNICODE_STRING*,UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlEmptyAtomTable(RTL_ATOM_TABLE,BOOLEAN); +NTSYSAPI PVOID WINAPI RtlEncodePointer(PVOID); +NTSYSAPI NTSTATUS WINAPI RtlEnterCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI void WINAPI RtlEraseUnicodeString(UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlEqualComputerName(const UNICODE_STRING*,const UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlEqualDomainName(const UNICODE_STRING*,const UNICODE_STRING*); +NTSYSAPI BOOLEAN WINAPI RtlEqualLuid(const LUID*,const LUID*); +NTSYSAPI BOOL WINAPI RtlEqualPrefixSid(PSID,PSID); +NTSYSAPI BOOL WINAPI RtlEqualSid(PSID,PSID); +NTSYSAPI BOOLEAN WINAPI RtlEqualString(const STRING*,const STRING*,BOOLEAN); +NTSYSAPI BOOLEAN WINAPI RtlEqualUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI void DECLSPEC_NORETURN WINAPI RtlExitUserProcess(ULONG); +NTSYSAPI void DECLSPEC_NORETURN WINAPI RtlExitUserThread(ULONG); +NTSYSAPI NTSTATUS WINAPI RtlExpandEnvironmentStrings_U(PCWSTR, const UNICODE_STRING*, UNICODE_STRING*, ULONG*); +NTSYSAPI NTSTATUS WINAPI RtlFindActivationContextSectionString(ULONG,const GUID*,ULONG,const UNICODE_STRING*,PVOID); +NTSYSAPI NTSTATUS WINAPI RtlFindActivationContextSectionGuid(ULONG,const GUID*,ULONG,const GUID*,PVOID); +NTSYSAPI NTSTATUS WINAPI RtlFindCharInUnicodeString(int,const UNICODE_STRING*,const UNICODE_STRING*,USHORT*); +NTSYSAPI ULONG WINAPI RtlFindClearBits(PCRTL_BITMAP,ULONG,ULONG); +NTSYSAPI ULONG WINAPI RtlFindClearBitsAndSet(PRTL_BITMAP,ULONG,ULONG); +NTSYSAPI ULONG WINAPI RtlFindClearRuns(PCRTL_BITMAP,PRTL_BITMAP_RUN,ULONG,BOOLEAN); +NTSYSAPI ULONG WINAPI RtlFindLastBackwardRunSet(PCRTL_BITMAP,ULONG,PULONG); +NTSYSAPI ULONG WINAPI RtlFindLastBackwardRunClear(PCRTL_BITMAP,ULONG,PULONG); +NTSYSAPI CCHAR WINAPI RtlFindLeastSignificantBit(ULONGLONG); +NTSYSAPI ULONG WINAPI RtlFindLongestRunSet(PCRTL_BITMAP,PULONG); +NTSYSAPI ULONG WINAPI RtlFindLongestRunClear(PCRTL_BITMAP,PULONG); +NTSYSAPI NTSTATUS WINAPI RtlFindMessage(HMODULE,ULONG,ULONG,ULONG,const MESSAGE_RESOURCE_ENTRY**); +NTSYSAPI CCHAR WINAPI RtlFindMostSignificantBit(ULONGLONG); +NTSYSAPI ULONG WINAPI RtlFindNextForwardRunSet(PCRTL_BITMAP,ULONG,PULONG); +NTSYSAPI ULONG WINAPI RtlFindNextForwardRunClear(PCRTL_BITMAP,ULONG,PULONG); +NTSYSAPI ULONG WINAPI RtlFindSetBits(PCRTL_BITMAP,ULONG,ULONG); +NTSYSAPI ULONG WINAPI RtlFindSetBitsAndClear(PRTL_BITMAP,ULONG,ULONG); +NTSYSAPI ULONG WINAPI RtlFindSetRuns(PCRTL_BITMAP,PRTL_BITMAP_RUN,ULONG,BOOLEAN); +NTSYSAPI BOOLEAN WINAPI RtlFirstFreeAce(PACL,PACE_HEADER *); +NTSYSAPI NTSTATUS WINAPI RtlFormatCurrentUserKeyPath(PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI RtlFormatMessage(LPWSTR,UCHAR,BOOLEAN,BOOLEAN,BOOLEAN,__ms_va_list *,LPWSTR,ULONG); +NTSYSAPI void WINAPI RtlFreeAnsiString(PANSI_STRING); +NTSYSAPI BOOLEAN WINAPI RtlFreeHandle(RTL_HANDLE_TABLE *,RTL_HANDLE *); +NTSYSAPI BOOLEAN WINAPI RtlFreeHeap(HANDLE,ULONG,PVOID); +NTSYSAPI void WINAPI RtlFreeOemString(POEM_STRING); +NTSYSAPI DWORD WINAPI RtlFreeSid(PSID); +NTSYSAPI void WINAPI RtlFreeThreadActivationContextStack(void); +NTSYSAPI void WINAPI RtlFreeUnicodeString(PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI RtlGetAce(PACL,DWORD,LPVOID *); +NTSYSAPI NTSTATUS WINAPI RtlGetActiveActivationContext(HANDLE*); +NTSYSAPI NTSTATUS WINAPI RtlGetCompressionWorkSpaceSize(USHORT,PULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI RtlGetControlSecurityDescriptor(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR_CONTROL,LPDWORD); +NTSYSAPI NTSTATUS WINAPI RtlGetCurrentDirectory_U(ULONG, LPWSTR); +NTSYSAPI PEB * WINAPI RtlGetCurrentPeb(void); +NTSYSAPI NTSTATUS WINAPI RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR,PBOOLEAN,PACL *,PBOOLEAN); +NTSYSAPI ULONG WINAPI RtlGetFullPathName_U(PCWSTR,ULONG,PWSTR,PWSTR*); +NTSYSAPI NTSTATUS WINAPI RtlGetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR,PSID *,PBOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlGetLastNtStatus(void); +NTSYSAPI DWORD WINAPI RtlGetLastWin32Error(void); +NTSYSAPI DWORD WINAPI RtlGetLongestNtPathLength(void); +NTSYSAPI ULONG WINAPI RtlGetNtGlobalFlags(void); +NTSYSAPI BOOLEAN WINAPI RtlGetNtProductType(LPDWORD); +NTSYSAPI NTSTATUS WINAPI RtlGetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR,PSID *,PBOOLEAN); +NTSYSAPI ULONG WINAPI RtlGetProcessHeaps(ULONG,HANDLE*); +NTSYSAPI DWORD WINAPI RtlGetThreadErrorMode(void); +NTSYSAPI NTSTATUS WINAPI RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR,PBOOLEAN,PACL *,PBOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlGetVersion(RTL_OSVERSIONINFOEXW*); +NTSYSAPI NTSTATUS WINAPI RtlGUIDFromString(PUNICODE_STRING,GUID*); +NTSYSAPI PSID_IDENTIFIER_AUTHORITY WINAPI RtlIdentifierAuthoritySid(PSID); +NTSYSAPI PVOID WINAPI RtlImageDirectoryEntryToData(HMODULE,BOOL,WORD,ULONG *); +NTSYSAPI PIMAGE_NT_HEADERS WINAPI RtlImageNtHeader(HMODULE); +NTSYSAPI PIMAGE_SECTION_HEADER WINAPI RtlImageRvaToSection(const IMAGE_NT_HEADERS *,HMODULE,DWORD); +NTSYSAPI PVOID WINAPI RtlImageRvaToVa(const IMAGE_NT_HEADERS *,HMODULE,DWORD,IMAGE_SECTION_HEADER **); +NTSYSAPI NTSTATUS WINAPI RtlImpersonateSelf(SECURITY_IMPERSONATION_LEVEL); +NTSYSAPI void WINAPI RtlInitString(PSTRING,PCSZ); +NTSYSAPI void WINAPI RtlInitAnsiString(PANSI_STRING,PCSZ); +NTSYSAPI NTSTATUS WINAPI RtlInitAnsiStringEx(PANSI_STRING,PCSZ); +NTSYSAPI void WINAPI RtlInitUnicodeString(PUNICODE_STRING,PCWSTR); +NTSYSAPI NTSTATUS WINAPI RtlInitUnicodeStringEx(PUNICODE_STRING,PCWSTR); +NTSYSAPI void WINAPI RtlInitializeBitMap(PRTL_BITMAP,PULONG,ULONG); +NTSYSAPI void WINAPI RtlInitializeConditionVariable(RTL_CONDITION_VARIABLE *); +NTSYSAPI NTSTATUS WINAPI RtlInitializeCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI NTSTATUS WINAPI RtlInitializeCriticalSectionAndSpinCount(RTL_CRITICAL_SECTION *,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlInitializeCriticalSectionEx(RTL_CRITICAL_SECTION *,ULONG,ULONG); +NTSYSAPI void WINAPI RtlInitializeHandleTable(ULONG,ULONG,RTL_HANDLE_TABLE *); +NTSYSAPI void WINAPI RtlInitializeResource(LPRTL_RWLOCK); +NTSYSAPI void WINAPI RtlInitializeSRWLock(RTL_SRWLOCK*); +NTSYSAPI BOOL WINAPI RtlInitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); +NTSYSAPI NTSTATUS WINAPI RtlInt64ToUnicodeString(ULONGLONG,ULONG,UNICODE_STRING *); +NTSYSAPI NTSTATUS WINAPI RtlIntegerToChar(ULONG,ULONG,ULONG,PCHAR); +NTSYSAPI NTSTATUS WINAPI RtlIntegerToUnicodeString(ULONG,ULONG,UNICODE_STRING *); +NTSYSAPI BOOLEAN WINAPI RtlIsActivationContextActive(HANDLE); +NTSYSAPI BOOL WINAPI RtlIsCriticalSectionLocked(RTL_CRITICAL_SECTION *); +NTSYSAPI BOOL WINAPI RtlIsCriticalSectionLockedByThread(RTL_CRITICAL_SECTION *); +NTSYSAPI ULONG WINAPI RtlIsDosDeviceName_U(PCWSTR); +NTSYSAPI BOOLEAN WINAPI RtlIsNameLegalDOS8Dot3(const UNICODE_STRING*,POEM_STRING,PBOOLEAN); +NTSYSAPI BOOLEAN WINAPI RtlIsTextUnicode(LPCVOID,INT,INT *); +NTSYSAPI BOOLEAN WINAPI RtlIsValidHandle(const RTL_HANDLE_TABLE *, const RTL_HANDLE *); +NTSYSAPI BOOLEAN WINAPI RtlIsValidIndexHandle(const RTL_HANDLE_TABLE *, ULONG Index, RTL_HANDLE **); +NTSYSAPI NTSTATUS WINAPI RtlLeaveCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI DWORD WINAPI RtlLengthRequiredSid(DWORD); +NTSYSAPI ULONG WINAPI RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR); +NTSYSAPI DWORD WINAPI RtlLengthSid(PSID); +NTSYSAPI NTSTATUS WINAPI RtlLocalTimeToSystemTime(const LARGE_INTEGER*,PLARGE_INTEGER); +NTSYSAPI BOOLEAN WINAPI RtlLockHeap(HANDLE); +NTSYSAPI NTSTATUS WINAPI RtlLookupAtomInAtomTable(RTL_ATOM_TABLE,const WCHAR*,RTL_ATOM*); +NTSYSAPI NTSTATUS WINAPI RtlMakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD); +NTSYSAPI void WINAPI RtlMapGenericMask(PACCESS_MASK,const GENERIC_MAPPING*); +NTSYSAPI NTSTATUS WINAPI RtlMultiByteToUnicodeN(LPWSTR,DWORD,LPDWORD,LPCSTR,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlMultiByteToUnicodeSize(DWORD*,LPCSTR,UINT); +NTSYSAPI NTSTATUS WINAPI RtlNewSecurityObject(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOLEAN,HANDLE,PGENERIC_MAPPING); +NTSYSAPI PRTL_USER_PROCESS_PARAMETERS WINAPI RtlNormalizeProcessParams(RTL_USER_PROCESS_PARAMETERS*); +NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS); +NTSYSAPI ULONG WINAPI RtlNtStatusToDosErrorNoTeb(NTSTATUS); +NTSYSAPI ULONG WINAPI RtlNumberOfSetBits(PCRTL_BITMAP); +NTSYSAPI ULONG WINAPI RtlNumberOfClearBits(PCRTL_BITMAP); +NTSYSAPI UINT WINAPI RtlOemStringToUnicodeSize(const STRING*); +NTSYSAPI NTSTATUS WINAPI RtlOemStringToUnicodeString(UNICODE_STRING*,const STRING*,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlOemToUnicodeN(LPWSTR,DWORD,LPDWORD,LPCSTR,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlOpenCurrentUser(ACCESS_MASK,PHANDLE); +NTSYSAPI PVOID WINAPI RtlPcToFileHeader(PVOID,PVOID*); +NTSYSAPI NTSTATUS WINAPI RtlPinAtomInAtomTable(RTL_ATOM_TABLE,RTL_ATOM); +NTSYSAPI BOOLEAN WINAPI RtlPrefixString(const STRING*,const STRING*,BOOLEAN); +NTSYSAPI BOOLEAN WINAPI RtlPrefixUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlQueryAtomInAtomTable(RTL_ATOM_TABLE,RTL_ATOM,ULONG*,ULONG*,WCHAR*,ULONG*); +NTSYSAPI NTSTATUS WINAPI RtlQueryDynamicTimeZoneInformation(RTL_DYNAMIC_TIME_ZONE_INFORMATION*); +NTSYSAPI NTSTATUS WINAPI RtlQueryEnvironmentVariable_U(PWSTR,PUNICODE_STRING,PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI RtlQueryHeapInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T,PSIZE_T); +NTSYSAPI NTSTATUS WINAPI RtlQueryInformationAcl(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS); +NTSYSAPI NTSTATUS WINAPI RtlQueryInformationActivationContext(ULONG,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T*); +NTSYSAPI NTSTATUS WINAPI RtlQueryProcessDebugInformation(ULONG,ULONG,PDEBUG_BUFFER); +NTSYSAPI NTSTATUS WINAPI RtlQueryRegistryValues(ULONG, PCWSTR, PRTL_QUERY_REGISTRY_TABLE, PVOID, PVOID); +NTSYSAPI NTSTATUS WINAPI RtlQueryTimeZoneInformation(RTL_TIME_ZONE_INFORMATION*); +NTSYSAPI NTSTATUS WINAPI RtlQueryUnbiasedInterruptTime(ULONGLONG*); +NTSYSAPI NTSTATUS WINAPI RtlQueueWorkItem(PRTL_WORK_ITEM_ROUTINE,PVOID,ULONG); +NTSYSAPI void WINAPI RtlRaiseException(PEXCEPTION_RECORD); +NTSYSAPI void WINAPI RtlRaiseStatus(NTSTATUS); +NTSYSAPI ULONG WINAPI RtlRandom(PULONG); +NTSYSAPI PVOID WINAPI RtlReAllocateHeap(HANDLE,ULONG,PVOID,SIZE_T); +NTSYSAPI NTSTATUS WINAPI RtlRegisterWait(PHANDLE,HANDLE,RTL_WAITORTIMERCALLBACKFUNC,PVOID,ULONG,ULONG); +NTSYSAPI void WINAPI RtlReleaseActivationContext(HANDLE); +NTSYSAPI void WINAPI RtlReleasePebLock(void); +NTSYSAPI void WINAPI RtlReleaseResource(LPRTL_RWLOCK); +NTSYSAPI void WINAPI RtlReleaseSRWLockExclusive(RTL_SRWLOCK*); +NTSYSAPI void WINAPI RtlReleaseSRWLockShared(RTL_SRWLOCK*); +NTSYSAPI ULONG WINAPI RtlRemoveVectoredExceptionHandler(PVOID); +NTSYSAPI void WINAPI RtlRestoreLastWin32Error(DWORD); +NTSYSAPI void WINAPI RtlSecondsSince1970ToTime(DWORD,LARGE_INTEGER *); +NTSYSAPI void WINAPI RtlSecondsSince1980ToTime(DWORD,LARGE_INTEGER *); +NTSYSAPI NTSTATUS WINAPI RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD,PACL,PDWORD,PACL,PDWORD,PSID,PDWORD,PSID,PDWORD); +NTSYSAPI void WINAPI RtlSetAllBits(PRTL_BITMAP); +NTSYSAPI void WINAPI RtlSetBits(PRTL_BITMAP,ULONG,ULONG); +NTSYSAPI ULONG WINAPI RtlSetCriticalSectionSpinCount(RTL_CRITICAL_SECTION*,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlSetControlSecurityDescriptor(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL); +NTSYSAPI NTSTATUS WINAPI RtlSetCurrentDirectory_U(const UNICODE_STRING*); +NTSYSAPI void WINAPI RtlSetCurrentEnvironment(PWSTR, PWSTR*); +NTSYSAPI NTSTATUS WINAPI RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR,BOOLEAN,PACL,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlSetEnvironmentVariable(PWSTR*,PUNICODE_STRING,PUNICODE_STRING); +NTSYSAPI NTSTATUS WINAPI RtlSetHeapInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T); +NTSYSAPI NTSTATUS WINAPI RtlSetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR,PSID,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlSetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR,PSID,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlSetIoCompletionCallback(HANDLE,PRTL_OVERLAPPED_COMPLETION_ROUTINE,ULONG); +NTSYSAPI void WINAPI RtlSetLastWin32Error(DWORD); +NTSYSAPI void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus(NTSTATUS); +NTSYSAPI NTSTATUS WINAPI RtlSetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR,BOOLEAN,PACL,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlSetThreadErrorMode(DWORD,LPDWORD); +NTSYSAPI NTSTATUS WINAPI RtlSetTimeZoneInformation(const RTL_TIME_ZONE_INFORMATION*); +NTSYSAPI SIZE_T WINAPI RtlSizeHeap(HANDLE,ULONG,const void*); +NTSYSAPI NTSTATUS WINAPI RtlSleepConditionVariableCS(RTL_CONDITION_VARIABLE*,RTL_CRITICAL_SECTION*,const LARGE_INTEGER*); +NTSYSAPI NTSTATUS WINAPI RtlSleepConditionVariableSRW(RTL_CONDITION_VARIABLE*,RTL_SRWLOCK*,const LARGE_INTEGER*,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlStringFromGUID(REFGUID,PUNICODE_STRING); +NTSYSAPI LPDWORD WINAPI RtlSubAuthoritySid(PSID,DWORD); +NTSYSAPI LPBYTE WINAPI RtlSubAuthorityCountSid(PSID); +NTSYSAPI NTSTATUS WINAPI RtlSystemTimeToLocalTime(const LARGE_INTEGER*,PLARGE_INTEGER); +NTSYSAPI void WINAPI RtlTimeToTimeFields(const LARGE_INTEGER*,PTIME_FIELDS); +NTSYSAPI BOOLEAN WINAPI RtlTimeFieldsToTime(PTIME_FIELDS,PLARGE_INTEGER); +NTSYSAPI void WINAPI RtlTimeToElapsedTimeFields(const LARGE_INTEGER *,PTIME_FIELDS); +NTSYSAPI BOOLEAN WINAPI RtlTimeToSecondsSince1970(const LARGE_INTEGER *,LPDWORD); +NTSYSAPI BOOLEAN WINAPI RtlTimeToSecondsSince1980(const LARGE_INTEGER *,LPDWORD); +NTSYSAPI BOOLEAN WINAPI RtlTryAcquireSRWLockExclusive(RTL_SRWLOCK *); +NTSYSAPI BOOLEAN WINAPI RtlTryAcquireSRWLockShared(RTL_SRWLOCK *); +NTSYSAPI BOOL WINAPI RtlTryEnterCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI ULONGLONG __cdecl RtlUlonglongByteSwap(ULONGLONG); +NTSYSAPI DWORD WINAPI RtlUnicodeStringToAnsiSize(const UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlUnicodeStringToAnsiString(PANSI_STRING,PCUNICODE_STRING,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlUnicodeStringToInteger(const UNICODE_STRING *,ULONG,ULONG *); +NTSYSAPI DWORD WINAPI RtlUnicodeStringToOemSize(const UNICODE_STRING*); +NTSYSAPI NTSTATUS WINAPI RtlUnicodeStringToOemString(POEM_STRING,PCUNICODE_STRING,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlUnicodeToMultiByteN(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlUnicodeToMultiByteSize(PULONG,PCWSTR,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlUnicodeToOemN(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD); +NTSYSAPI ULONG WINAPI RtlUniform(PULONG); +NTSYSAPI BOOLEAN WINAPI RtlUnlockHeap(HANDLE); +NTSYSAPI void WINAPI RtlUnwind(PVOID,PVOID,PEXCEPTION_RECORD,PVOID); +#ifdef __x86_64__ +NTSYSAPI void WINAPI RtlUnwindEx(PVOID,PVOID,PEXCEPTION_RECORD,PVOID,PCONTEXT,PUNWIND_HISTORY_TABLE); +#elif defined(__ia64__) +NTSYSAPI void WINAPI RtlUnwind2(FRAME_POINTERS,PVOID,PEXCEPTION_RECORD,PVOID,PCONTEXT); +NTSYSAPI void WINAPI RtlUnwindEx(FRAME_POINTERS,PVOID,PEXCEPTION_RECORD,PVOID,PCONTEXT,PUNWIND_HISTORY_TABLE); +#endif +NTSYSAPI WCHAR WINAPI RtlUpcaseUnicodeChar(WCHAR); +NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeString(UNICODE_STRING*,const UNICODE_STRING *,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeStringToAnsiString(STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeStringToCountedOemString(STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeStringToOemString(STRING*,const UNICODE_STRING*,BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeToMultiByteN(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeToOemN(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD); +NTSYSAPI NTSTATUS WINAPI RtlUpdateTimer(HANDLE, HANDLE, DWORD, DWORD); +NTSYSAPI CHAR WINAPI RtlUpperChar(CHAR); +NTSYSAPI void WINAPI RtlUpperString(STRING *,const STRING *); +NTSYSAPI NTSTATUS WINAPI RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR); +NTSYSAPI BOOLEAN WINAPI RtlValidRelativeSecurityDescriptor(PSECURITY_DESCRIPTOR,ULONG,SECURITY_INFORMATION); +NTSYSAPI BOOLEAN WINAPI RtlValidAcl(PACL); +NTSYSAPI BOOLEAN WINAPI RtlValidSid(PSID); +NTSYSAPI BOOLEAN WINAPI RtlValidateHeap(HANDLE,ULONG,LPCVOID); +NTSYSAPI NTSTATUS WINAPI RtlVerifyVersionInfo(const RTL_OSVERSIONINFOEXW*,DWORD,DWORDLONG); +NTSYSAPI void WINAPI RtlWakeAllConditionVariable(RTL_CONDITION_VARIABLE *); +NTSYSAPI void WINAPI RtlWakeConditionVariable(RTL_CONDITION_VARIABLE *); +NTSYSAPI NTSTATUS WINAPI RtlWalkHeap(HANDLE,PVOID); +NTSYSAPI NTSTATUS WINAPI RtlWow64EnableFsRedirection(BOOLEAN); +NTSYSAPI NTSTATUS WINAPI RtlWow64EnableFsRedirectionEx(ULONG,ULONG*); +NTSYSAPI NTSTATUS WINAPI RtlWriteRegistryValue(ULONG,PCWSTR,PCWSTR,ULONG,PVOID,ULONG); +NTSYSAPI NTSTATUS WINAPI RtlZombifyActivationContext(HANDLE); +NTSYSAPI NTSTATUS WINAPI RtlpNtCreateKey(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,const UNICODE_STRING*,ULONG,PULONG); +NTSYSAPI NTSTATUS WINAPI RtlpNtEnumerateSubKey(HANDLE,UNICODE_STRING *, ULONG); +NTSYSAPI NTSTATUS WINAPI RtlpWaitForCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI NTSTATUS WINAPI RtlpUnWaitCriticalSection(RTL_CRITICAL_SECTION *); +NTSYSAPI NTSTATUS WINAPI vDbgPrintEx(ULONG,ULONG,LPCSTR,__ms_va_list); +NTSYSAPI NTSTATUS WINAPI vDbgPrintExWithPrefix(LPCSTR,ULONG,ULONG,LPCSTR,__ms_va_list); + +/* 32-bit only functions */ + +#ifndef _WIN64 +NTSYSAPI LONGLONG WINAPI RtlConvertLongToLargeInteger(LONG); +NTSYSAPI ULONGLONG WINAPI RtlConvertUlongToLargeInteger(ULONG); +NTSYSAPI LONGLONG WINAPI RtlEnlargedIntegerMultiply(INT,INT); +NTSYSAPI ULONGLONG WINAPI RtlEnlargedUnsignedMultiply(UINT,UINT); +NTSYSAPI UINT WINAPI RtlEnlargedUnsignedDivide(ULONGLONG,UINT,UINT *); +NTSYSAPI LONGLONG WINAPI RtlExtendedMagicDivide(LONGLONG,LONGLONG,INT); +NTSYSAPI LONGLONG WINAPI RtlExtendedIntegerMultiply(LONGLONG,INT); +NTSYSAPI LONGLONG WINAPI RtlExtendedLargeIntegerDivide(LONGLONG,INT,INT *); +NTSYSAPI LONGLONG WINAPI RtlLargeIntegerAdd(LONGLONG,LONGLONG); +NTSYSAPI LONGLONG WINAPI RtlLargeIntegerArithmeticShift(LONGLONG,INT); +NTSYSAPI ULONGLONG WINAPI RtlLargeIntegerDivide( ULONGLONG,ULONGLONG,ULONGLONG *); +NTSYSAPI LONGLONG WINAPI RtlLargeIntegerNegate(LONGLONG); +NTSYSAPI LONGLONG WINAPI RtlLargeIntegerShiftLeft(LONGLONG,INT); +NTSYSAPI LONGLONG WINAPI RtlLargeIntegerShiftRight(LONGLONG,INT); +NTSYSAPI LONGLONG WINAPI RtlLargeIntegerSubtract(LONGLONG,LONGLONG); +NTSYSAPI NTSTATUS WINAPI RtlLargeIntegerToChar(const ULONGLONG *,ULONG,ULONG,PCHAR); +#endif + +/* Threadpool functions */ + +NTSYSAPI NTSTATUS WINAPI TpAllocCleanupGroup(TP_CLEANUP_GROUP **); +NTSYSAPI NTSTATUS WINAPI TpAllocPool(TP_POOL **,PVOID); +NTSYSAPI NTSTATUS WINAPI TpAllocTimer(TP_TIMER **,PTP_TIMER_CALLBACK,PVOID,TP_CALLBACK_ENVIRON *); +NTSYSAPI NTSTATUS WINAPI TpAllocWait(TP_WAIT **,PTP_WAIT_CALLBACK,PVOID,TP_CALLBACK_ENVIRON *); +NTSYSAPI NTSTATUS WINAPI TpAllocWork(TP_WORK **,PTP_WORK_CALLBACK,PVOID,TP_CALLBACK_ENVIRON *); +NTSYSAPI void WINAPI TpCallbackLeaveCriticalSectionOnCompletion(TP_CALLBACK_INSTANCE *,RTL_CRITICAL_SECTION *); +NTSYSAPI NTSTATUS WINAPI TpCallbackMayRunLong(TP_CALLBACK_INSTANCE *); +NTSYSAPI void WINAPI TpCallbackReleaseMutexOnCompletion(TP_CALLBACK_INSTANCE *,HANDLE); +NTSYSAPI void WINAPI TpCallbackReleaseSemaphoreOnCompletion(TP_CALLBACK_INSTANCE *,HANDLE,DWORD); +NTSYSAPI void WINAPI TpCallbackSetEventOnCompletion(TP_CALLBACK_INSTANCE *,HANDLE); +NTSYSAPI void WINAPI TpCallbackUnloadDllOnCompletion(TP_CALLBACK_INSTANCE *,HMODULE); +NTSYSAPI void WINAPI TpDisassociateCallback(TP_CALLBACK_INSTANCE *); +NTSYSAPI BOOL WINAPI TpIsTimerSet(TP_TIMER *); +NTSYSAPI void WINAPI TpPostWork(TP_WORK *); +NTSYSAPI void WINAPI TpReleaseCleanupGroup(TP_CLEANUP_GROUP *); +NTSYSAPI void WINAPI TpReleaseCleanupGroupMembers(TP_CLEANUP_GROUP *,BOOL,PVOID); +NTSYSAPI void WINAPI TpReleasePool(TP_POOL *); +NTSYSAPI void WINAPI TpReleaseTimer(TP_TIMER *); +NTSYSAPI void WINAPI TpReleaseWait(TP_WAIT *); +NTSYSAPI void WINAPI TpReleaseWork(TP_WORK *); +NTSYSAPI void WINAPI TpSetPoolMaxThreads(TP_POOL *,DWORD); +NTSYSAPI BOOL WINAPI TpSetPoolMinThreads(TP_POOL *,DWORD); +NTSYSAPI void WINAPI TpSetTimer(TP_TIMER *, LARGE_INTEGER *,LONG,LONG); +NTSYSAPI void WINAPI TpSetWait(TP_WAIT *,HANDLE,LARGE_INTEGER *); +NTSYSAPI NTSTATUS WINAPI TpSimpleTryPost(PTP_SIMPLE_CALLBACK,PVOID,TP_CALLBACK_ENVIRON *); +NTSYSAPI void WINAPI TpWaitForTimer(TP_TIMER *,BOOL); +NTSYSAPI void WINAPI TpWaitForWait(TP_WAIT *,BOOL); +NTSYSAPI void WINAPI TpWaitForWork(TP_WORK *,BOOL); + +/* Wine internal functions */ + +NTSYSAPI NTSTATUS CDECL wine_nt_to_unix_file_name( const UNICODE_STRING *nameW, ANSI_STRING *unix_name_ret, + UINT disposition, BOOLEAN check_case ); +NTSYSAPI NTSTATUS CDECL wine_unix_to_nt_file_name( const ANSI_STRING *name, UNICODE_STRING *nt ); + + +/*********************************************************************** + * Inline functions + */ + +#define InitializeObjectAttributes(p,n,a,r,s) \ + do { \ + (p)->Length = sizeof(OBJECT_ATTRIBUTES); \ + (p)->RootDirectory = r; \ + (p)->Attributes = a; \ + (p)->ObjectName = n; \ + (p)->SecurityDescriptor = s; \ + (p)->SecurityQualityOfService = NULL; \ + } while (0) + +#define NtCurrentProcess() ((HANDLE)-1) + +#define RtlFillMemory(Destination,Length,Fill) memset((Destination),(Fill),(Length)) +#define RtlMoveMemory(Destination,Source,Length) memmove((Destination),(Source),(Length)) +#define RtlStoreUlong(p,v) do { ULONG _v = (v); memcpy((p), &_v, sizeof(_v)); } while (0) +#define RtlStoreUlonglong(p,v) do { ULONGLONG _v = (v); memcpy((p), &_v, sizeof(_v)); } while (0) +#define RtlRetrieveUlong(p,s) memcpy((p), (s), sizeof(ULONG)) +#define RtlRetrieveUlonglong(p,s) memcpy((p), (s), sizeof(ULONGLONG)) +#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length)) + +static inline BOOLEAN RtlCheckBit(PCRTL_BITMAP lpBits, ULONG ulBit) +{ + if (lpBits && ulBit < lpBits->SizeOfBitMap && + lpBits->Buffer[ulBit >> 5] & (1 << (ulBit & 31))) + return TRUE; + return FALSE; +} + +/* These are implemented as __fastcall, so we can't let Winelib apps link with them */ +static inline USHORT RtlUshortByteSwap(USHORT s) +{ + return (s >> 8) | (s << 8); +} +static inline ULONG RtlUlongByteSwap(ULONG i) +{ +#if defined(__i386__) && defined(__GNUC__) + ULONG ret; + __asm__("bswap %0" : "=r" (ret) : "0" (i) ); + return ret; +#else + return ((ULONG)RtlUshortByteSwap((USHORT)i) << 16) | RtlUshortByteSwap((USHORT)(i >> 16)); +#endif +} + +/* list manipulation macros */ +#define InitializeListHead(le) (void)((le)->Flink = (le)->Blink = (le)) +#define InsertHeadList(le,e) do { PLIST_ENTRY f = (le)->Flink; (e)->Flink = f; (e)->Blink = (le); f->Blink = (e); (le)->Flink = (e); } while (0) +#define InsertTailList(le,e) do { PLIST_ENTRY b = (le)->Blink; (e)->Flink = (le); (e)->Blink = b; b->Flink = (e); (le)->Blink = (e); } while (0) +#define IsListEmpty(le) ((le)->Flink == (le)) +#define RemoveEntryList(e) do { PLIST_ENTRY f = (e)->Flink, b = (e)->Blink; f->Blink = b; b->Flink = f; (e)->Flink = (e)->Blink = NULL; } while (0) +static inline PLIST_ENTRY RemoveHeadList(PLIST_ENTRY le) +{ + PLIST_ENTRY f, b, e; + + e = le->Flink; + f = le->Flink->Flink; + b = le->Flink->Blink; + f->Blink = b; + b->Flink = f; + + if (e != le) e->Flink = e->Blink = NULL; + return e; +} +static inline PLIST_ENTRY RemoveTailList(PLIST_ENTRY le) +{ + PLIST_ENTRY f, b, e; + + e = le->Blink; + f = le->Blink->Flink; + b = le->Blink->Blink; + f->Blink = b; + b->Flink = f; + + if (e != le) e->Flink = e->Blink = NULL; + return e; +} + + +#ifdef __WINESRC__ + +/* FIXME: private structure for vm86 mode, stored in teb->GdiTebBatch */ +typedef struct +{ + DWORD dpmi_vif; + DWORD vm86_pending; +} WINE_VM86_TEB_INFO; + +static inline WINE_VM86_TEB_INFO *get_vm86_teb_info(void) +{ + return (WINE_VM86_TEB_INFO *)&NtCurrentTeb()->GdiTebBatch; +} + +/* The thread information for 16-bit threads */ +/* NtCurrentTeb()->SubSystemTib points to this */ +typedef struct +{ + void *unknown; /* 00 unknown */ + UNICODE_STRING *exe_name; /* 04 exe module name */ + + /* the following fields do not exist under Windows */ + UNICODE_STRING exe_str; /* exe name string pointed to by exe_name */ + CURDIR curdir; /* current directory */ + WCHAR curdir_buffer[MAX_PATH]; +} WIN16_SUBSYSTEM_TIB; + +#endif /* __WINESRC__ */ + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_WINTERNL_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintrust.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintrust.h new file mode 100644 index 0000000..20fb296 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wintrust.h @@ -0,0 +1,668 @@ +/* + * Copyright (C) 2004 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINTRUST_H +#define __WINE_WINTRUST_H + +#include + + +#include + +typedef struct WINTRUST_FILE_INFO_ +{ + DWORD cbStruct; + LPCWSTR pcwszFilePath; + HANDLE hFile; + GUID* pgKnownSubject; +} WINTRUST_FILE_INFO, *PWINTRUST_FILE_INFO; + +typedef struct WINTRUST_CATALOG_INFO_ +{ + DWORD cbStruct; + DWORD dwCatalogVersion; + LPCWSTR pcwszCatalogFilePath; + LPCWSTR pcwszMemberTag; + LPCWSTR pcwszMemberFilePath; + HANDLE hMemberFile; + BYTE* pbCalculatedFileHash; + DWORD cbCalculatedFileHash; + PCCTL_CONTEXT pcCatalogContext; +} WINTRUST_CATALOG_INFO, *PWINTRUST_CATALOG_INFO; + +typedef struct WINTRUST_BLOB_INFO_ +{ + DWORD cbStruct; + GUID gSubject; + LPCWSTR pcwszDisplayName; + DWORD cbMemObject; + BYTE* pbMemObject; + DWORD cbMemSignedMsg; + BYTE* pbMemSignedMsg; +} WINTRUST_BLOB_INFO, *PWINTRUST_BLOB_INFO; + +typedef struct WINTRUST_SGNR_INFO_ +{ + DWORD cbStruct; + LPCWSTR pcwszDisplayName; + CMSG_SIGNER_INFO* psSignerInfo; + DWORD chStores; + HCERTSTORE* pahStores; +} WINTRUST_SGNR_INFO, *PWINTRUST_SGNR_INFO; + +typedef struct WINTRUST_CERT_INFO_ +{ + DWORD cbStruct; + LPCWSTR pcwszDisplayName; + CERT_CONTEXT* psCertContext; + DWORD chStores; + HCERTSTORE* pahStores; + DWORD dwFlags; + FILETIME* psftVerifyAsOf; +} WINTRUST_CERT_INFO, *PWINTRUST_CERT_INFO; + +#define WTCI_DONT_OPEN_STORES 0x00000001 +#define WTCI_OPEN_ONLY_ROOT 0x00000002 + +/* dwUIChoice */ +#define WTD_UI_ALL 1 +#define WTD_UI_NONE 2 +#define WTD_UI_NOBAD 3 +#define WTD_UI_NOGOOD 4 +/* fdwRevocationChecks */ +#define WTD_REVOKE_NONE 0 +#define WTD_REVOKE_WHOLECHAIN 1 +/* dwUnionChoice */ +#define WTD_CHOICE_FILE 1 +#define WTD_CHOICE_CATALOG 2 +#define WTD_CHOICE_BLOB 3 +#define WTD_CHOICE_SIGNER 4 +#define WTD_CHOICE_CERT 5 + +typedef struct _WINTRUST_DATA +{ + DWORD cbStruct; + LPVOID pPolicyCallbackData; + LPVOID pSIPClientData; + DWORD dwUIChoice; + DWORD fdwRevocationChecks; + DWORD dwUnionChoice; + union + { + struct WINTRUST_FILE_INFO_* pFile; + struct WINTRUST_CATALOG_INFO_* pCatalog; + struct WINTRUST_BLOB_INFO_* pBlob; + struct WINTRUST_SGNR_INFO_* pSgnr; + struct WINTRUST_CERT_INFO_* pCert; + } DUMMYUNIONNAME; + + DWORD dwStateAction; + HANDLE hWVTStateData; + WCHAR* pwszURLReference; + DWORD dwProvFlags; + DWORD dwUIContext; + struct WINTRUST_SIGNATURE_SETTINGS_ *pSignatureSettings; +} WINTRUST_DATA, *PWINTRUST_DATA; + +#define WTD_STATEACTION_IGNORE 0 +#define WTD_STATEACTION_VERIFY 1 +#define WTD_STATEACTION_CLOSE 2 +#define WTD_STATEACTION_AUTO_CACHE 3 +#define WTD_STATEACTION_AUTO_CACHE_FLUSH 4 + +#define WTD_PROV_FLAGS_MASK 0x0000ffff +#define WTD_USE_IE4_TRUST_FLAG 0x00000001 +#define WTD_NO_IE4_CHAIN_FLAG 0x00000002 +#define WTD_NO_POLICY_USAGE_FLAG 0x00000004 +#define WTD_REVOCATION_CHECK_NONE 0x00000010 +#define WTD_REVOCATION_CHECK_END_CERT 0x00000020 +#define WTD_REVOCATION_CHECK_CHAIN 0x00000040 +#define WTD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT 0x00000080 +#define WTD_SAFER_FLAG 0x00000100 +#define WTD_HASH_ONLY_FLAG 0x00000200 +#define WTD_USE_DEFAULT_OSVER_CHECK 0x00000400 +#define WTD_LIFETIME_SIGNING_FLAG 0x00000800 +#define WTD_CACHE_ONLY_URL_RETRIEVAL 0x00001000 + +#define WTD_UICONTEXT_EXECUTE 0 +#define WTD_UICONTEXT_INSTALL 1 + +typedef struct WINTRUST_SIGNATURE_SETTINGS_ +{ + DWORD cbStruct; + DWORD dwIndex; + DWORD dwFlags; + DWORD cSecondarySigs; + DWORD dwVerifiedSigIndex; + CERT_STRONG_SIGN_PARA *pCryptoPolicy; +} WINTRUST_SIGNATURE_SETTINGS, *PWINTRUST_SIGNATURE_SETTINGS; + +#define WSS_VERIFY_SPECIFIC 0x00000001 +#define WSS_GET_SECONDARY_SIG_COUNT 0x00000002 +#define WSS_VERIFY_SEALING 0x00000004 +#define WSS_INPUT_FLAG_MASK 0x00000007 + +#define WSS_OUT_SEALING_STATUS_VERIFIED 0x80000000 +#define WSS_OUT_HAS_SEALING_INTENT 0x40000000 +#define WSS_OUT_FILE_SUPPORTS_SEAL 0x20000000 +#define WSS_OUTPUT_FLAG_MASK 0xe0000000 + +typedef struct _CRYPT_TRUST_REG_ENTRY +{ + DWORD cbStruct; + WCHAR *pwszDLLName; + WCHAR *pwszFunctionName; +} CRYPT_TRUST_REG_ENTRY, *PCRYPT_TRUST_REG_ENTRY; + +typedef struct _CRYPT_REGISTER_ACTIONID +{ + DWORD cbStruct; + CRYPT_TRUST_REG_ENTRY sInitProvider; + CRYPT_TRUST_REG_ENTRY sObjectProvider; + CRYPT_TRUST_REG_ENTRY sSignatureProvider; + CRYPT_TRUST_REG_ENTRY sCertificateProvider; + CRYPT_TRUST_REG_ENTRY sCertificatePolicyProvider; + CRYPT_TRUST_REG_ENTRY sFinalPolicyProvider; + CRYPT_TRUST_REG_ENTRY sTestPolicyProvider; + CRYPT_TRUST_REG_ENTRY sCleanupProvider; +} CRYPT_REGISTER_ACTIONID, *PCRYPT_REGISTER_ACTIONID; + +typedef struct _CRYPT_PROVIDER_REGDEFUSAGE +{ + DWORD cbStruct; + GUID *pgActionID; + WCHAR *pwszDllName; + char *pwszLoadCallbackDataFunctionName; + char *pwszFreeCallbackDataFunctionName; +} CRYPT_PROVIDER_REGDEFUSAGE, *PCRYPT_PROVIDER_REGDEFUSAGE; + +typedef struct _CRYPT_PROVUI_DATA { + DWORD cbStruct; + DWORD dwFinalError; + WCHAR *pYesButtonText; + WCHAR *pNoButtonText; + WCHAR *pMoreInfoButtonText; + WCHAR *pAdvancedLinkText; + WCHAR *pCopyActionText; + WCHAR *pCopyActionTextNoTS; + WCHAR *pCopyActionTextNotSigned; +} CRYPT_PROVUI_DATA, *PCRYPT_PROVUI_DATA; + +typedef struct _CRYPT_PROVIDER_CERT { + DWORD cbStruct; + PCCERT_CONTEXT pCert; + BOOL fCommercial; + BOOL fTrustedRoot; + BOOL fSelfSigned; + BOOL fTestCert; + DWORD dwRevokedReason; + DWORD dwConfidence; + DWORD dwError; + CTL_CONTEXT *pTrustListContext; + BOOL fTrustListSignerCert; + PCCTL_CONTEXT pCtlContext; + DWORD dwCtlError; + BOOL fIsCyclic; + PCERT_CHAIN_ELEMENT pChainElement; +} CRYPT_PROVIDER_CERT, *PCRYPT_PROVIDER_CERT; + +#define CERT_CONFIDENCE_SIG 0x10000000 +#define CERT_CONFIDENCE_TIME 0x01000000 +#define CERT_CONFIDENCE_TIMENEST 0x00100000 +#define CERT_CONFIDENCE_AUTHIDEXT 0x00010000 +#define CERT_CONFIDENCE_HYGIENE 0x00001000 +#define CERT_CONFIDENCE_HIGHEST 0x11111000 + +typedef struct _CRYPT_PROVIDER_SGNR { + DWORD cbStruct; + FILETIME sftVerifyAsOf; + DWORD csCertChain; + CRYPT_PROVIDER_CERT *pasCertChain; + DWORD dwSignerType; + CMSG_SIGNER_INFO *psSigner; + DWORD dwError; + DWORD csCounterSigners; + struct _CRYPT_PROVIDER_SGNR *pasCounterSigners; + PCCERT_CHAIN_CONTEXT pChainContext; +} CRYPT_PROVIDER_SGNR, *PCRYPT_PROVIDER_SGNR; + +#define SGNR_TYPE_TIMESTAMP 0x00000010 + +typedef struct _CRYPT_PROVIDER_PRIVDATA { + DWORD cbStruct; + GUID gProviderID; + DWORD cbProvData; + void *pvProvData; +} CRYPT_PROVIDER_PRIVDATA, *PCRYPT_PROVIDER_PRIVDATA; + +struct _CRYPT_PROVIDER_DATA; + +#define TRUSTERROR_STEP_WVTPARAMS 0 +#define TRUSTERROR_STEP_FILEIO 2 +#define TRUSTERROR_STEP_SIP 3 +#define TRUSTERROR_STEP_SIPSUBJINFO 5 +#define TRUSTERROR_STEP_CATALOGFILE 6 +#define TRUSTERROR_STEP_CERTSTORE 7 +#define TRUSTERROR_STEP_MESSAGE 8 +#define TRUSTERROR_STEP_MSG_SIGNERCOUNT 9 +#define TRUSTERROR_STEP_MSG_INNERCNTTYPE 10 +#define TRUSTERROR_STEP_MSG_INNERCNT 11 +#define TRUSTERROR_STEP_MSG_STORE 12 +#define TRUSTERROR_STEP_MSG_SIGNERINFO 13 +#define TRUSTERROR_STEP_MSG_SIGNERCERT 14 +#define TRUSTERROR_STEP_MSG_CERTCHAIN 15 +#define TRUSTERROR_STEP_MSG_COUNTERSIGINFO 16 +#define TRUSTERROR_STEP_MSG_COUNTERSIGCERT 17 +#define TRUSTERROR_STEP_VERIFY_MSGHASH 18 +#define TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA 19 +#define TRUSTERROR_STEP_FINAL_WVTINIT 30 +#define TRUSTERROR_STEP_FINAL_INITPROV 31 +#define TRUSTERROR_STEP_FINAL_OBJPROV 32 +#define TRUSTERROR_STEP_FINAL_SIGPROV 33 +#define TRUSTERROR_STEP_FINAL_CERTPROV 34 +#define TRUSTERROR_STEP_FINAL_CERTCHKPROV 35 +#define TRUSTERROR_STEP_FINAL_POLICYPROV 36 +#define TRUSTERROR_STEP_FINAL_UIPROV 37 + +#define TRUSTERROR_MAX_STEPS 38 + +typedef void * (__WINE_ALLOC_SIZE(1) WINAPI *PFN_CPD_MEM_ALLOC)(DWORD cbSize); +typedef void (WINAPI *PFN_CPD_MEM_FREE)(void *pvMem2Free); +typedef BOOL (WINAPI *PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData, + HCERTSTORE hStore2Add); +typedef BOOL (WINAPI *PFN_CPD_ADD_SGNR)(struct _CRYPT_PROVIDER_DATA *pProvData, + BOOL fCounterSigner, DWORD idxSigner, struct _CRYPT_PROVIDER_SGNR *pSgnr2Add); +typedef BOOL (WINAPI *PFN_CPD_ADD_CERT)(struct _CRYPT_PROVIDER_DATA *pProvData, + DWORD idxSigner, BOOL fCounterSigner, DWORD idxCounterSigner, + PCCERT_CONTEXT pCert2Add); +typedef BOOL (WINAPI *PFN_CPD_ADD_PRIVDATA)(struct _CRYPT_PROVIDER_DATA *pProvData, + struct _CRYPT_PROVIDER_PRIVDATA *pPrivData2Add); +typedef HRESULT (WINAPI *PFN_PROVIDER_INIT_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef HRESULT (WINAPI *PFN_PROVIDER_OBJTRUST_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef HRESULT (WINAPI *PFN_PROVIDER_SIGTRUST_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef HRESULT (WINAPI *PFN_PROVIDER_CERTTRUST_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef HRESULT (WINAPI *PFN_PROVIDER_FINALPOLICY_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef HRESULT (WINAPI *PFN_PROVIDER_TESTFINALPOLICY_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef HRESULT (WINAPI *PFN_PROVIDER_CLEANUP_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData); +typedef BOOL (WINAPI *PFN_PROVIDER_CERTCHKPOLICY_CALL)( + struct _CRYPT_PROVIDER_DATA *pProvData, DWORD idxSigner, + BOOL fCounterSignerChain, DWORD idxCounterSigner); + +typedef struct _CRYPT_PROVIDER_FUNCTIONS { + DWORD cbStruct; + PFN_CPD_MEM_ALLOC pfnAlloc; + PFN_CPD_MEM_FREE pfnFree; + PFN_CPD_ADD_STORE pfnAddStore2Chain; + PFN_CPD_ADD_SGNR pfnAddSgnr2Chain; + PFN_CPD_ADD_CERT pfnAddCert2Chain; + PFN_CPD_ADD_PRIVDATA pfnAddPrivData2Chain; + PFN_PROVIDER_INIT_CALL pfnInitialize; + PFN_PROVIDER_OBJTRUST_CALL pfnObjectTrust; + PFN_PROVIDER_SIGTRUST_CALL pfnSignatureTrust; + PFN_PROVIDER_CERTTRUST_CALL pfnCertificateTrust; + PFN_PROVIDER_FINALPOLICY_CALL pfnFinalPolicy; + PFN_PROVIDER_CERTCHKPOLICY_CALL pfnCertCheckPolicy; + PFN_PROVIDER_TESTFINALPOLICY_CALL pfnTestFinalPolicy; + struct _CRYPT_PROVUI_FUNCS *psUIpfns; + PFN_PROVIDER_CLEANUP_CALL pfnCleanupPolicy; +} CRYPT_PROVIDER_FUNCTIONS, *PCRYPT_PROVIDER_FUNCTIONS; + +struct SIP_DISPATCH_INFO_; +struct SIP_SUBJECTINFO_; +struct SIP_INDIRECT_DATA_; + +typedef struct _PROVDATA_SIP { + DWORD cbStruct; + GUID gSubject; + struct SIP_DISPATCH_INFO_ *pSip; + struct SIP_DISPATCH_INFO_ *pCATSip; + struct SIP_SUBJECTINFO_ *psSipSubjectInfo; + struct SIP_SUBJECTINFO_ *psSipCATSubjectInfo; + struct SIP_INDIRECT_DATA_ *psIndirectData; +} PROVDATA_SIP, *PPROVDATA_SIP; + +typedef struct _CRYPT_PROVIDER_DATA { + DWORD cbStruct; + WINTRUST_DATA *pWintrustData; + BOOL fOpenedFile; + HWND hWndParent; + GUID *pgActionID; + HCRYPTPROV hProv; + DWORD dwError; + DWORD dwRegSecuritySettings; + DWORD dwRegPolicySettings; + CRYPT_PROVIDER_FUNCTIONS *psPfns; + DWORD cdwTrustStepErrors; + DWORD *padwTrustStepErrors; + DWORD chStores; + HCERTSTORE *pahStores; + DWORD dwEncoding; + HCRYPTMSG hMsg; + DWORD csSigners; + CRYPT_PROVIDER_SGNR *pasSigners; + DWORD csProvPrivData; + CRYPT_PROVIDER_PRIVDATA *pasProvPrivData; + DWORD dwSubjectChoice; + union { + struct _PROVDATA_SIP *pPDSip; + } DUMMYUNIONNAME; + char *pszUsageOID; + BOOL fRecallWithState; + FILETIME sftSystemTime; + char *pszCTLSignerUsageOID; + DWORD dwProvFlags; + DWORD dwFinalError; + PCERT_USAGE_MATCH pRequestUsage; + DWORD dwTrustPubSettings; + DWORD dwUIStateFlags; + struct _CRYPT_PROVIDER_SIGSTATE *pSigState; + struct WINTRUST_SIGNATURE_SETTINGS_ *pSigSettings; +} CRYPT_PROVIDER_DATA, *PCRYPT_PROVIDER_DATA; + +#define CPD_CHOICE_SIP 1 + +#define CPD_USE_NT5_CHAIN_FLAG 0x80000000 +#define CPD_REVOCATION_CHECK_NONE 0x00010000 +#define CPD_REVOCATION_CHECK_END_CERT 0x00020000 +#define CPD_REVOCATION_CHECK_CHAIN 0x00040000 +#define CPD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT 0x00080000 + +#define CPD_UISTATE_MODE_PROMPT 0x00000000 +#define CPD_UISTATE_MODE_BLOCK 0x00000001 +#define CPD_UISTATE_MODE_ALLOW 0x00000002 +#define CPD_UISTATE_MODE_MASK 0x00000003 + +typedef struct _CRYPT_PROVIDER_SIGSTATE +{ + DWORD cbStruct; + HCRYPTMSG *rhSecondarySigs; + HCRYPTMSG hPrimarySig; + BOOL fFirstAttemptMade; + BOOL fNoMoreSigs; + DWORD cSecondarySigs; + DWORD dwCurrentIndex; + BOOL fSupportMultiSig; + DWORD dwCryptoPolicySupport; + DWORD iAttemptCount; + BOOL fCheckedSealing; + struct _SEALING_SIGNATURE_ATTRIBUTE *pSealingSignature; +} CRYPT_PROVIDER_SIGSTATE, *PCRYPT_PROVIDER_SIGSTATE; + +/* Flags for dwCryptoPolicySupport */ +#define WSS_OBJTRUST_SUPPORT 0x00000001 +#define WSS_SIGTRUST_SUPPORT 0x00000002 +#define WSS_CERTTRUST_SUPPORT 0x00000004 + +typedef BOOL (*PFN_PROVUI_CALL)(HWND hWndSecurityDialog, + struct _CRYPT_PROVIDER_DATA *pProvData); + +typedef struct _CRYPT_PROVUI_FUNCS { + DWORD cbStruct; + CRYPT_PROVUI_DATA psUIData; + PFN_PROVUI_CALL pfnOnMoreInfoClick; + PFN_PROVUI_CALL pfnOnMoreInfoClickDefault; + PFN_PROVUI_CALL pfnOnAdvancedClick; + PFN_PROVUI_CALL pfnOnAdvancedClickDefault; +} CRYPT_PROVUI_FUNCS, *PCRYPT_PROVUI_FUNCS; + +#include + +#define WVT_OFFSETOF(t,f) ((ULONG)(offsetof(t, f))) +#define WVT_ISINSTRUCT(t,s,f) (WVT_OFFSETOF(t,f) + sizeof(((t*)0)->f) <= (s)) +#define WVT_IS_CBSTRUCT_GT_MEMBEROFFSET(t,s,f) WVT_ISINSTRUCT(t,s,f) + +#define WTPF_TRUSTTEST 0x00000020 +#define WTPF_TESTCANBEVALID 0x00000080 +#define WTPF_IGNOREEXPIRATION 0x00000100 +#define WTPF_IGNOREREVOKATION 0x00000200 +#define WTPF_OFFLINEOK_IND 0x00000400 +#define WTPF_OFFLINEOK_COM 0x00000800 +#define WTPF_OFFLINEOKNBU_IND 0x00001000 +#define WTPF_OFFLINEOKNBU_COM 0x00002000 +#define WTPF_VERIFY_V1_OFF 0x00010000 +#define WTPF_IGNOREREVOCATIONONTS 0x00020000 +#define WTPF_ALLOWONLYPERTRUST 0x00040000 + +#define WT_ADD_ACTION_ID_RET_RESULT_FLAG 1 + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(__GNUC__) +#define WT_PROVIDER_CERTTRUST_FUNCTION (const WCHAR []) \ + {'W','i','n','t','r','u','s','t','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0} +#elif defined(_MSC_VER) +#define WT_PROVIDER_CERTTRUST_FUNCTION L"WintrustCertificateTrust" +#else +static const WCHAR WT_PROVIDER_CERTTRUST_FUNCTION[] = + {'W','i','n','t','r','u','s','t','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0}; +#endif + +BOOL WINAPI WintrustAddActionID(GUID*,DWORD,CRYPT_REGISTER_ACTIONID*); +BOOL WINAPI WintrustRemoveActionID(GUID*); +BOOL WINAPI WintrustLoadFunctionPointers(GUID*,CRYPT_PROVIDER_FUNCTIONS*); +BOOL WINAPI WintrustAddDefaultForUsage(const char*,CRYPT_PROVIDER_REGDEFUSAGE*); +void WINAPI WintrustGetRegPolicyFlags(DWORD*); +BOOL WINAPI WintrustSetRegPolicyFlags(DWORD); +LONG WINAPI WinVerifyTrust(HWND,GUID*,LPVOID); +HRESULT WINAPI WinVerifyTrustEx(HWND,GUID*,WINTRUST_DATA*); + +CRYPT_PROVIDER_CERT * WINAPI WTHelperGetProvCertFromChain( + CRYPT_PROVIDER_SGNR *pSgnr, DWORD idxCert); +CRYPT_PROVIDER_SGNR * WINAPI WTHelperGetProvSignerFromChain( + CRYPT_PROVIDER_DATA *pProvData, DWORD idxSigner, BOOL fCounterSigner, + DWORD idxCounterSigner); +CRYPT_PROVIDER_DATA * WINAPI WTHelperProvDataFromStateData(HANDLE hStateData); +CRYPT_PROVIDER_PRIVDATA * WINAPI WTHelperGetProvPrivateDataFromChain(CRYPT_PROVIDER_DATA *,GUID *); + +#define SPC_INDIRECT_DATA_OBJID "1.3.6.1.4.1.311.2.1.4" +#define SPC_SP_AGENCY_INFO_OBJID "1.3.6.1.4.1.311.2.1.10" +#define SPC_STATEMENT_TYPE_OBJID "1.3.6.1.4.1.311.2.1.11" +#define SPC_SP_OPUS_INFO_OBJID "1.3.6.1.4.1.311.2.1.12" +#define SPC_CERT_EXTENSIONS_OBJID "1.3.6.1.4.1.311.2.1.14" +#define SPC_PE_IMAGE_DATA_OBJID "1.3.6.1.4.1.311.2.1.15" +#define SPC_RAW_FILE_DATA_OBJID "1.3.6.1.4.1.311.2.1.18" +#define SPC_STRUCTURED_STORAGE_DATA_OBJID "1.3.6.1.4.1.311.2.1.19" +#define SPC_JAVA_CLASS_DATA_OBJID "1.3.6.1.4.1.311.2.1.20" +#define SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID "1.3.6.1.4.1.311.2.1.21" +#define SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID "1.3.6.1.4.1.311.2.1.22" +#define SPC_CAB_DATA_OBJID "1.3.6.1.4.1.311.2.1.25" +#define SPC_GLUE_RDN_OBJID "1.3.6.1.4.1.311.2.1.25" +#define SPC_MINIMAL_CRITERIA_OBJID "1.3.6.1.4.1.311.2.1.26" +#define SPC_FINANCIAL_CRITERIA_OBJID "1.3.6.1.4.1.311.2.1.27" +#define SPC_LINK_OBJID "1.3.6.1.4.1.311.2.1.28" +#define SPC_SIGINFO_OBJID "1.3.6.1.4.1.311.2.1.30" +#define CAT_NAMEVALUE_OBJID "1.3.6.1.4.1.311.12.2.1" +#define CAT_MEMBERINFO_OBJID "1.3.6.1.4.1.311.12.2.2" + +#define SPC_SP_AGENCY_INFO_STRUCT ((LPCSTR) 2000) +#define SPC_MINIMAL_CRITERIA_STRUCT ((LPCSTR) 2001) +#define SPC_FINANCIAL_CRITERIA_STRUCT ((LPCSTR) 2002) +#define SPC_INDIRECT_DATA_CONTENT_STRUCT ((LPCSTR) 2003) +#define SPC_PE_IMAGE_DATA_STRUCT ((LPCSTR) 2004) +#define SPC_LINK_STRUCT ((LPCSTR) 2005) +#define SPC_STATEMENT_TYPE_STRUCT ((LPCSTR) 2006) +#define SPC_SP_OPUS_INFO_STRUCT ((LPCSTR) 2007) +#define SPC_CAB_DATA_STRUCT ((LPCSTR) 2008) +#define SPC_JAVA_CLASS_DATA_STRUCT ((LPCSTR) 2009) +#define SPC_SIGINFO_STRUCT ((LPCSTR) 2130) +#define CAT_NAMEVALUE_STRUCT ((LPCSTR) 2221) +#define CAT_MEMBERINFO_STRUCT ((LPCSTR) 2222) + +#define SPC_UUID_LENGTH 16 +typedef BYTE SPC_UUID[SPC_UUID_LENGTH]; + +typedef struct _SPC_SERIALIZED_OBJECT +{ + SPC_UUID ClassId; + CRYPT_DATA_BLOB SerializedData; +} SPC_SERIALIZED_OBJECT, *PSPC_SERIALIZED_OBJECT; + +typedef struct SPC_SIGINFO_ +{ + DWORD dwSipVersion; + GUID gSIPGuid; + DWORD dwReserved1; + DWORD dwReserved2; + DWORD dwReserved3; + DWORD dwReserved4; + DWORD dwReserved5; +} SPC_SIGINFO, *PSPC_SIGINFO; + +#define SPC_URL_LINK_CHOICE 1 +#define SPC_MONIKER_LINK_CHOICE 2 +#define SPC_FILE_LINK_CHOICE 3 + +typedef struct SPC_LINK_ +{ + DWORD dwLinkChoice; + union + { + LPWSTR pwszUrl; + SPC_SERIALIZED_OBJECT Moniker; + LPWSTR pwszFile; + } DUMMYUNIONNAME; +} SPC_LINK, *PSPC_LINK; + +typedef struct _SPC_PE_IMAGE_DATA +{ + CRYPT_BIT_BLOB Flags; + PSPC_LINK pFile; +} SPC_PE_IMAGE_DATA, *PSPC_PE_IMAGE_DATA; + +typedef struct _SPC_INDIRECT_DATA_CONTENT +{ + CRYPT_ATTRIBUTE_TYPE_VALUE Data; + CRYPT_ALGORITHM_IDENTIFIER DigestAlgorithm; + CRYPT_HASH_BLOB Digest; +} SPC_INDIRECT_DATA_CONTENT, *PSPC_INDIRECT_DATA_CONTENT; + +typedef struct _SPC_FINANCIAL_CRITERIA +{ + BOOL fFinancialInfoAvailable; + BOOL fMeetsCriteria; +} SPC_FINANCIAL_CRITERIA, *PSPC_FINANCIAL_CRITERIA; + +typedef struct _SPC_IMAGE +{ + struct SPC_LINK_ *pImageLink; + CRYPT_DATA_BLOB Bitmap; + CRYPT_DATA_BLOB Metafile; + CRYPT_DATA_BLOB EnhancedMetafile; + CRYPT_DATA_BLOB GifFile; +} SPC_IMAGE, *PSPC_IMAGE; + +typedef struct _SPC_SP_AGENCY_INFO +{ + struct SPC_LINK_ *pPolicyInformation; + LPWSTR pwszPolicyDisplayText; + PSPC_IMAGE pLogoImage; + struct SPC_LINK_ *pLogoLink; +} SPC_SP_AGENCY_INFO, *PSPC_SP_AGENCY_INFO; + +typedef struct _SPC_STATEMENT_TYPE +{ + DWORD cKeyPurposeId; + LPSTR *rgpszKeyPurposeId; +} SPC_STATEMENT_TYPE, *PSPC_STATEMENT_TYPE; + +typedef struct _SPC_SP_OPUS_INFO +{ + LPCWSTR pwszProgramName; + struct SPC_LINK_ *pMoreInfo; + struct SPC_LINK_ *pPublisherInfo; +} SPC_SP_OPUS_INFO, *PSPC_SP_OPUS_INFO; + +typedef struct _CAT_NAMEVALUE +{ + LPWSTR pwszTag; + DWORD fdwFlags; + CRYPT_DATA_BLOB Value; +} CAT_NAMEVALUE, *PCAT_NAMEVALUE; + +typedef struct _CAT_MEMBERINFO +{ + LPWSTR pwszSubjGuid; + DWORD dwCertVersion; +} CAT_MEMBERINFO, *PCAT_MEMBERINFO; + +/* PSDK protects the remaining defines with WT_DEFINE_ALL_APIS, but it's + * defined by default. No need to protect against bad headers from old PSDKs. + */ + +typedef struct _WIN_CERTIFICATE { + DWORD dwLength; + WORD wRevision; /* WIN_CERT_REVISION_xxx */ + WORD wCertificateType; /* WIN_CERT_TYPE_xxx */ + BYTE bCertificate[ANYSIZE_ARRAY]; +} WIN_CERTIFICATE, *LPWIN_CERTIFICATE; + +#define WIN_CERT_REVISION_1_0 0x0100 +#define WIN_CERT_REVISION_2_0 0x0200 + +#define WIN_CERT_TYPE_X509 0x0001 /* X.509 Certificate */ +#define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002 /* PKCS SignedData */ +#define WIN_CERT_TYPE_RESERVED_1 0x0003 /* Reserved */ +#define WIN_CERT_TYPE_TS_STACK_SIGNED 0x0004 + +typedef LPVOID WIN_TRUST_SUBJECT; + +typedef struct _WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT +{ + HANDLE hClientToken; + GUID *SubjectType; + WIN_TRUST_SUBJECT Subject; +} WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT, + *LPWIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT; + +typedef struct _WIN_TRUST_ACTDATA_CONTEXT_SUBJECT_ONLY +{ + GUID *SubjectType; + WIN_TRUST_SUBJECT Subject; +} WIN_TRUST_ACTDATA_CONTEXT_SUBJECT_ONLY, + *LPWIN_TRUST_ACTDATA_CONTEXT_SUBJECT_ONLY; + +typedef struct _WIN_TRUST_SUBJECT_FILE +{ + HANDLE hFile; + LPCWSTR lpPath; +} WIN_TRUST_SUBJECT_FILE, *LPWIN_TRUST_SUBJECT_FILE; + +typedef struct _WIN_TRUST_SUBJECT_FILE_AND_DISPLAY +{ + HANDLE hFile; + LPCWSTR lpPath; + LPCWSTR lpDisplayName; +} WIN_TRUST_SUBJECT_FILE_AND_DISPLAY, *LPWIN_TRUST_SUBJECT_FILE_AND_DISPLAY; + +#define WIN_SPUB_ACTION_PUBLISHED_SOFTWARE \ + { 0x64b9d180, 0x8da2, 0x11cf, { 0x87,0x36,0x00,0xaa,0x00,0xa4,0x85,0xeb }} + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winuser.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winuser.h new file mode 100644 index 0000000..12f1582 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winuser.h @@ -0,0 +1,4250 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINUSER_ +#define _WINUSER_ + +#if !defined(_USER32_) +#define WINUSERAPI DECLSPEC_IMPORT +#else +#define WINUSERAPI +#endif + +#ifndef RC_INVOKED +#include +#endif +#include + + +#ifdef __cplusplus +extern "C" { +#endif + +/* Define a bunch of callback types */ + +#if defined(STRICT) +typedef INT_PTR (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM); +typedef BOOL (CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int); +typedef INT (CALLBACK *EDITWORDBREAKPROCA)(LPSTR,INT,INT,INT); +typedef INT (CALLBACK *EDITWORDBREAKPROCW)(LPWSTR,INT,INT,INT); +typedef BOOL (CALLBACK *GRAYSTRINGPROC)(HDC,LPARAM,INT); +typedef LRESULT (CALLBACK *HOOKPROC)(INT,WPARAM,LPARAM); +typedef BOOL (CALLBACK *NAMEENUMPROCA)(LPSTR,LPARAM); +typedef BOOL (CALLBACK *NAMEENUMPROCW)(LPWSTR,LPARAM); +typedef BOOL (CALLBACK *PROPENUMPROCA)(HWND,LPCSTR,HANDLE); +typedef BOOL (CALLBACK *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE); +typedef BOOL (CALLBACK *PROPENUMPROCEXA)(HWND,LPSTR,HANDLE,ULONG_PTR); +typedef BOOL (CALLBACK *PROPENUMPROCEXW)(HWND,LPWSTR,HANDLE,ULONG_PTR); +typedef VOID (CALLBACK *SENDASYNCPROC)(HWND,UINT,ULONG_PTR,LRESULT); +typedef VOID (CALLBACK *TIMERPROC)(HWND,UINT,UINT_PTR,DWORD); +typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK,DWORD,HWND,LONG,LONG, + DWORD,DWORD); +typedef BOOL (CALLBACK *WNDENUMPROC)(HWND,LPARAM); + +#else +typedef FARPROC DLGPROC; +typedef FARPROC DRAWSTATEPROC; +typedef FARPROC EDITWORDBREAKPROCA; +typedef FARPROC EDITWORDBREAKPROCW; +typedef FARPROC GRAYSTRINGPROC; +typedef FARPROC HOOKPROC; +typedef FARPROC NAMEENUMPROCA; +typedef FARPROC NAMEENUMPROCW; +typedef FARPROC PROPENUMPROCA; +typedef FARPROC PROPENUMPROCW; +typedef FARPROC PROPENUMPROCEXA; +typedef FARPROC PROPENUMPROCEXW; +typedef FARPROC SENDASYNCPROC; +typedef FARPROC TIMERPROC; +typedef FARPROC WINEVENTPROC; +typedef FARPROC WNDENUMPROC; +#endif /* STRICT */ + +typedef NAMEENUMPROCA WINSTAENUMPROCA; +typedef NAMEENUMPROCA DESKTOPENUMPROCA; +typedef NAMEENUMPROCW WINSTAENUMPROCW; +typedef NAMEENUMPROCW DESKTOPENUMPROCW; + +typedef LRESULT (CALLBACK *WNDPROC)(HWND,UINT,WPARAM,LPARAM); + +DECL_WINELIB_TYPE_AW(DESKTOPENUMPROC) +DECL_WINELIB_TYPE_AW(EDITWORDBREAKPROC) +DECL_WINELIB_TYPE_AW(NAMEENUMPROC) +DECL_WINELIB_TYPE_AW(PROPENUMPROC) +DECL_WINELIB_TYPE_AW(PROPENUMPROCEX) +DECL_WINELIB_TYPE_AW(WINSTAENUMPROC) + + +typedef HANDLE HDWP; +typedef void* HPOWERNOTIFY; + +#define UOI_FLAGS 1 +#define UOI_NAME 2 +#define UOI_TYPE 3 +#define UOI_USER_SID 4 + +#define WSF_VISIBLE 1 +#define DF_ALLOWOTHERACCOUNTHOOK 1 + +typedef struct tagUSEROBJECTFLAGS { + BOOL fInherit; + BOOL fReserved; + DWORD dwFlags; +} USEROBJECTFLAGS, *PUSEROBJECTFLAGS; + +typedef struct tagBSMINFO { + UINT cbSize; + HDESK hdesk; + HWND hwnd; + LUID luid; +} BSMINFO, *PBSMINFO; + +/* Window stations */ +#define WINSTA_ENUMDESKTOPS 0x0001 +#define WINSTA_READATTRIBUTES 0x0002 +#define WINSTA_ACCESSCLIPBOARD 0x0004 +#define WINSTA_CREATEDESKTOP 0x0008 +#define WINSTA_WRITEATTRIBUTES 0x0010 +#define WINSTA_ACCESSGLOBALATOMS 0x0020 +#define WINSTA_EXITWINDOWS 0x0040 +#define WINSTA_ENUMERATE 0x0100 +#define WINSTA_READSCREEN 0x0200 +#define WINSTA_ALL_ACCESS 0x037f + +/* Desktops */ +#define DESKTOP_READOBJECTS 0x0001 +#define DESKTOP_CREATEWINDOW 0x0002 +#define DESKTOP_CREATEMENU 0x0004 +#define DESKTOP_HOOKCONTROL 0x0008 +#define DESKTOP_JOURNALRECORD 0x0010 +#define DESKTOP_JOURNALPLAYBACK 0x0020 +#define DESKTOP_ENUMERATE 0x0040 +#define DESKTOP_WRITEOBJECTS 0x0080 +#define DESKTOP_SWITCHDESKTOP 0x0100 + + +/* flags for FILTERKEYS dwFlags field */ +#define FKF_AVAILABLE 0x00000002 +#define FKF_CLICKON 0x00000040 +#define FKF_FILTERKEYSON 0x00000001 +#define FKF_HOTKEYACTIVE 0x00000004 +#define FKF_HOTKEYSOUND 0x00000010 +#define FKF_CONFIRMHOTKEY 0x00000008 +#define FKF_INDICATOR 0x00000020 + +typedef struct tagFILTERKEYS +{ + UINT cbSize; + DWORD dwFlags; + DWORD iWaitMSec; + DWORD iDelayMSec; + DWORD iRepeatMSec; + DWORD iBounceMSec; +} FILTERKEYS, *LPFILTERKEYS; + +/* flags for TOGGLEKEYS dwFlags field */ +#define TKF_AVAILABLE 0x00000002 +#define TKF_CONFIRMHOTKEY 0x00000008 +#define TKF_HOTKEYACTIVE 0x00000004 +#define TKF_HOTKEYSOUND 0x00000010 +#define TKF_TOGGLEKEYSON 0x00000001 + +typedef struct tagTOGGLEKEYS +{ + DWORD cbSize; + DWORD dwFlags; +} TOGGLEKEYS, *LPTOGGLEKEYS; + +/* flags for MOUSEKEYS dwFlags field */ +#define MKF_AVAILABLE 0x00000002 +#define MKF_CONFIRMHOTKEY 0x00000008 +#define MKF_HOTKEYACTIVE 0x00000004 +#define MKF_HOTKEYSOUND 0x00000010 +#define MKF_INDICATOR 0x00000020 +#define MKF_MOUSEKEYSON 0x00000001 +#define MKF_MODIFIERS 0x00000040 +#define MKF_REPLACENUMBERS 0x00000080 + +typedef struct tagMOUSEKEYS +{ + UINT cbSize; + DWORD dwFlags; + DWORD iMaxSpeed; + DWORD iTimeToMaxSpeed; + DWORD iCtrlSpeed; + DWORD dwReserved1; + DWORD dwReserved2; +} MOUSEKEYS, *LPMOUSEKEYS; + +/* struct and defines for GetMouseMovePointsEx */ +#define GMMP_USE_DISPLAY_POINTS 1 +#define GMMP_USE_HIGH_RESOLUTION_POINTS 2 + +typedef struct tagMOUSEMOVEPOINT { + int x; + int y; + DWORD time; + ULONG_PTR dwExtraInfo; +} MOUSEMOVEPOINT,*PMOUSEMOVEPOINT,*LPMOUSEMOVEPOINT; + +/* flags for STICKYKEYS dwFlags field */ +#define SKF_AUDIBLEFEEDBACK 0x00000040 +#define SKF_AVAILABLE 0x00000002 +#define SKF_CONFIRMHOTKEY 0x00000008 +#define SKF_HOTKEYACTIVE 0x00000004 +#define SKF_HOTKEYSOUND 0x00000010 +#define SKF_INDICATOR 0x00000020 +#define SKF_STICKYKEYSON 0x00000001 +#define SKF_TRISTATE 0x00000080 +#define SKF_TWOKEYSOFF 0x00000100 + +typedef struct tagSTICKYKEYS +{ + DWORD cbSize; + DWORD dwFlags; +} STICKYKEYS, *LPSTICKYKEYS; + +/* flags for ACCESSTIMEOUT dwFlags field */ +#define ATF_ONOFFFEEDBACK 0x00000002 +#define ATF_AVAILABLE 0x00000004 +#define ATF_TIMEOUTON 0x00000001 + +typedef struct tagACCESSTIMEOUT +{ + UINT cbSize; + DWORD dwFlags; + DWORD iTimeOutMSec; +} ACCESSTIMEOUT, *LPACCESSTIMEOUT; + +/* flags for SERIALKEYS dwFlags field */ +#define SERKF_ACTIVE 0x00000008 +#define SERKF_AVAILABLE 0x00000002 +#define SERKF_INDICATOR 0x00000004 +#define SERKF_SERIALKEYSON 0x00000001 + +typedef struct tagSERIALKEYSA +{ + UINT cbSize; + DWORD dwFlags; + LPSTR lpszActivePort; + LPSTR lpszPort; + UINT iBaudRate; + UINT iPortState; + UINT iActive; +} SERIALKEYSA, *LPSERIALKEYSA; + +typedef struct tagSERIALKEYSW { + UINT cbSize; + DWORD dwFlags; + LPWSTR lpszActivePort; + LPWSTR lpszPort; + UINT iBaudRate; + UINT iPortState; + UINT iActive; +} SERIALKEYSW,*LPSERIALKEYSW; + +DECL_WINELIB_TYPE_AW(SERIALKEYS) +DECL_WINELIB_TYPE_AW(LPSERIALKEYS) + +/* flags for SOUNDSENTRY dwFlags field */ +#define SSF_AVAILABLE 0x00000002 +#define SSF_SOUNDSENTRYON 0x00000001 + +#define SSTF_BORDER 0x00000002 +#define SSTF_CHARS 0x00000001 +#define SSTF_DISPLAY 0x00000003 +#define SSTF_NONE 0x00000000 + +#define SSGF_DISPLAY 0x00000003 +#define SSGF_NONE 0x00000000 + +#define SSWF_DISPLAY 0x00000003 +#define SSWF_NONE 0x00000000 +#define SSWF_TITLE 0x00000001 +#define SSWF_WINDOW 0x00000002 + +typedef struct tagSOUNDSENTRYA +{ + UINT cbSize; + DWORD dwFlags; + DWORD iFSTextEffect; + DWORD iFSTextEffectMSec; + DWORD iFSTextEffectColorBits; + DWORD iFSGrafEffect; + DWORD iFSGrafEffectMSec; + DWORD iFSGrafEffectColor; + DWORD iWindowsEffect; + DWORD iWindowsEffectMSec; + LPSTR lpszWindowsEffectDLL; + DWORD iWindowsEffectOrdinal; +} SOUNDSENTRYA, *LPSOUNDSENTRYA; + +typedef struct tagSOUNDSENTRYW +{ + UINT cbSize; + DWORD dwFlags; + DWORD iFSTextEffect; + DWORD iFSTextEffectMSec; + DWORD iFSTextEffectColorBits; + DWORD iFSGrafEffect; + DWORD iFSGrafEffectMSec; + DWORD iFSGrafEffectColor; + DWORD iWindowsEffect; + DWORD iWindowsEffectMSec; + LPWSTR lpszWindowsEffectDLL; + DWORD iWindowsEffectOrdinal; +} SOUNDSENTRYW, *LPSOUNDSENTRYW; + +DECL_WINELIB_TYPE_AW(SOUNDSENTRY) +DECL_WINELIB_TYPE_AW(LPSOUNDSENTRY) + +/* flags for HIGHCONTRAST dwFlags field */ +#define HCF_HIGHCONTRASTON 0x00000001 +#define HCF_AVAILABLE 0x00000002 +#define HCF_HOTKEYACTIVE 0x00000004 +#define HCF_CONFIRMHOTKEY 0x00000008 +#define HCF_HOTKEYSOUND 0x00000010 +#define HCF_INDICATOR 0x00000020 +#define HCF_HOTKEYAVAILABLE 0x00000040 + +typedef struct tagHIGHCONTRASTA +{ + UINT cbSize; + DWORD dwFlags; + LPSTR lpszDefaultScheme; +} HIGHCONTRASTA, *LPHIGHCONTRASTA; + +typedef struct tagHIGHCONTRASTW +{ + UINT cbSize; + DWORD dwFlags; + LPWSTR lpszDefaultScheme; +} HIGHCONTRASTW, *LPHIGHCONTRASTW; + +DECL_WINELIB_TYPE_AW(HIGHCONTRAST) +DECL_WINELIB_TYPE_AW(LPHIGHCONTRAST) + +typedef struct tagEVENTMSG +{ + UINT message; + UINT paramL; + UINT paramH; + DWORD time; + HWND hwnd; +} EVENTMSG, *PEVENTMSG, *LPEVENTMSG; + +/* WH_KEYBOARD_LL structure */ +typedef struct tagKBDLLHOOKSTRUCT +{ + DWORD vkCode; + DWORD scanCode; + DWORD flags; + DWORD time; + ULONG_PTR dwExtraInfo; +} KBDLLHOOKSTRUCT, *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT; + +#define LLKHF_EXTENDED (KF_EXTENDED >> 8) +#define LLKHF_INJECTED 0x00000010 +#define LLKHF_ALTDOWN (KF_ALTDOWN >> 8) +#define LLKHF_UP (KF_UP >> 8) + +/* WH_MOUSE_LL structure */ +typedef struct tagMSLLHOOKSTRUCT +{ + POINT pt; + DWORD mouseData; + DWORD flags; + DWORD time; + ULONG_PTR dwExtraInfo; +} MSLLHOOKSTRUCT, *LPMSLLHOOKSTRUCT, *PMSLLHOOKSTRUCT; + +#define LLMHF_INJECTED 0x00000001 + + /* Mouse hook structure */ + +typedef struct +{ + POINT pt; + HWND hwnd; + UINT wHitTestCode; + ULONG_PTR dwExtraInfo; +} MOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT, *LPMOUSEHOOKSTRUCT; + +typedef struct +{ + struct { /* MOUSEHOOKSTRUCT */ + POINT pt; + HWND hwnd; + UINT wHitTestCode; + ULONG_PTR dwExtraInfo; + } DUMMYSTRUCTNAME; + DWORD mouseData; +} MOUSEHOOKSTRUCTEX, *PMOUSEHOOKSTRUCTEX, *LPMOUSEHOOKSTRUCTEX; + + + /* Hardware hook structure */ + +typedef struct +{ + HWND hwnd; + UINT message; + WPARAM wParam; + LPARAM lParam; +} HARDWAREHOOKSTRUCT, *PHARDWAREHOOKSTRUCT, *LPHARDWAREHOOKSTRUCT; + + + /* Debug hook structure */ + +typedef struct tagDEBUGHOOKINFO +{ + DWORD idThread; + DWORD idThreadInstaller; + LPARAM lParam; + WPARAM wParam; + INT code; +} DEBUGHOOKINFO, *PDEBUGHOOKINFO, *LPDEBUGHOOKINFO; + +#define HKL_PREV 0 +#define HKL_NEXT 1 + +#define KLF_ACTIVATE 0x00000001 +#define KLF_SUBSTITUTE_OK 0x00000002 +#define KLF_UNLOADPREVIOUS 0x00000004 +#define KLF_REORDER 0x00000008 +#define KLF_REPLACELANG 0x00000010 +#define KLF_NOTELLSHELL 0x00000080 +#define KLF_SETFORPROCESS 0x00000100 +#define KLF_SHIFTLOCK 0x00010000 +#define KLF_RESET 0x40000000 + +#define KL_NAMELENGTH 9 + +typedef struct tagMOUSEINPUT +{ + LONG dx; + LONG dy; + DWORD mouseData; + DWORD dwFlags; + DWORD time; + ULONG_PTR dwExtraInfo; +} MOUSEINPUT, *PMOUSEINPUT, *LPMOUSEINPUT; + +typedef struct tagKEYBDINPUT +{ + WORD wVk; + WORD wScan; + DWORD dwFlags; + DWORD time; + ULONG_PTR dwExtraInfo; +} KEYBDINPUT, *PKEYBDINPUT, *LPKEYBDINPUT; + +typedef struct tagHARDWAREINPUT +{ + DWORD uMsg; + WORD wParamL; + WORD wParamH; +} HARDWAREINPUT, *PHARDWAREINPUT, *LPHARDWAREINPUT; + +#define INPUT_MOUSE 0 +#define INPUT_KEYBOARD 1 +#define INPUT_HARDWARE 2 + +typedef struct tagINPUT +{ + DWORD type; + union + { + MOUSEINPUT mi; + KEYBDINPUT ki; + HARDWAREINPUT hi; + } DUMMYUNIONNAME; +} INPUT, *PINPUT, *LPINPUT; + +DECLARE_HANDLE(HRAWINPUT); + +typedef struct tagRAWINPUTDEVICELIST +{ + HANDLE hDevice; + DWORD dwType; +} RAWINPUTDEVICELIST, *PRAWINPUTDEVICELIST; + +typedef struct tagRAWHID { + DWORD dwSizeHid; + DWORD dwCount; + BYTE bRawData; +} RAWHID, *LPRAWHID; + +typedef struct tagRAWKEYBOARD { + USHORT MakeCode; + USHORT Flags; + USHORT Reserved; + USHORT VKey; + UINT Message; + ULONG ExtraInformation; +} RAWKEYBOARD, *PRAWKEYBOARD, *LPRAWKEYBOARD; + +typedef struct tagRAWMOUSE { + USHORT usFlags; + union { + ULONG ulButtons; + struct { + USHORT usButtonFlags; + USHORT usButtonData; + } DUMMYSTRUCTNAME; + } DUMMYUNIONNAME; + ULONG ulRawButtons; + LONG lLastX; + LONG lLastY; + ULONG ulExtraInformation; +} RAWMOUSE, *PRAWMOUSE, *LPRAWMOUSE; + +typedef struct tagRAWINPUTHEADER { + DWORD dwType; + DWORD dwSize; + HANDLE hDevice; + WPARAM wParam; +} RAWINPUTHEADER, *PRAWINPUTHEADER; + +typedef struct tagRAWINPUT { + RAWINPUTHEADER header; + union { + RAWMOUSE mouse; + RAWKEYBOARD keyboard; + RAWHID hid; + } data; +} RAWINPUT, *PRAWINPUT, *LPRAWINPUT; + +typedef struct tagRAWINPUTDEVICE { + USHORT usUsagePage; + USHORT usUsage; + DWORD dwFlags; + HWND hwndTarget; +} RAWINPUTDEVICE, *PRAWINPUTDEVICE, *LPRAWINPUTDEVICE; + +typedef struct tagRID_DEVICE_INFO_MOUSE { + DWORD dwId; + DWORD dwNumberOfButtons; + DWORD dwSampleRate; + BOOL fHasHorizontalWheel; +} RID_DEVICE_INFO_MOUSE, *PRID_DEVICE_INFO_MOUSE; + +typedef struct tagRID_DEVICE_INFO_KEYBOARD { + DWORD dwType; + DWORD dwSubType; + DWORD dwKeyboardMode; + DWORD dwNumberOfFunctionKeys; + DWORD dwNumberOfIndicators; + DWORD dwNumberOfKeysTotal; +} RID_DEVICE_INFO_KEYBOARD, *PRID_DEVICE_INFO_KEYBOARD; + +typedef struct tagRID_DEVICE_INFO_HID { + DWORD dwVendorId; + DWORD dwProductId; + DWORD dwVersionNumber; + USHORT usUsagePage; + USHORT usUsage; +} RID_DEVICE_INFO_HID, *PRID_DEVICE_INFO_HID; + +typedef struct tagRID_DEVICE_INFO { + DWORD cbSize; + DWORD dwType; + union { + RID_DEVICE_INFO_MOUSE mouse; + RID_DEVICE_INFO_KEYBOARD keyboard; + RID_DEVICE_INFO_HID hid; + } DUMMYUNIONNAME; +} RID_DEVICE_INFO, *PRID_DEVICE_INFO, *LPRID_DEVICE_INFO; + +#define GET_RAWINPUT_CODE_WPARAM(wParam) ((wParam) & 0xff) + +#define RIM_INPUT 0 +#define RIM_INPUTSINK 1 + +#define RIM_TYPEMOUSE 0 +#define RIM_TYPEKEYBOARD 1 +#define RIM_TYPEHID 2 + +#define RI_MOUSE_LEFT_BUTTON_DOWN 0x0001 +#define RI_MOUSE_LEFT_BUTTON_UP 0x0002 +#define RI_MOUSE_RIGHT_BUTTON_DOWN 0x0004 +#define RI_MOUSE_RIGHT_BUTTON_UP 0x0008 +#define RI_MOUSE_MIDDLE_BUTTON_DOWN 0x0010 +#define RI_MOUSE_MIDDLE_BUTTON_UP 0x0020 + +#define RI_MOUSE_BUTTON_1_DOWN RI_MOUSE_LEFT_BUTTON_DOWN +#define RI_MOUSE_BUTTON_1_UP RI_MOUSE_LEFT_BUTTON_UP +#define RI_MOUSE_BUTTON_2_DOWN RI_MOUSE_RIGHT_BUTTON_DOWN +#define RI_MOUSE_BUTTON_2_UP RI_MOUSE_RIGHT_BUTTON_UP +#define RI_MOUSE_BUTTON_3_DOWN RI_MOUSE_MIDDLE_BUTTON_DOWN +#define RI_MOUSE_BUTTON_3_UP RI_MOUSE_MIDDLE_BUTTON_UP + +#define RI_MOUSE_BUTTON_4_DOWN 0x0040 +#define RI_MOUSE_BUTTON_4_UP 0x0080 +#define RI_MOUSE_BUTTON_5_DOWN 0x0100 +#define RI_MOUSE_BUTTON_5_UP 0x0200 +#define RI_MOUSE_WHEEL 0x0400 +#define RI_MOUSE_HORIZONTAL_WHEEL 0x0800 + +#define MOUSE_MOVE_RELATIVE 0x00 +#define MOUSE_MOVE_ABSOLUTE 0x01 +#define MOUSE_VIRTUAL_DESKTOP 0x02 +#define MOUSE_ATTRIBUTES_CHANGED 0x04 +#define MOUSE_MOVE_NOCOALESCE 0x08 + +#define KEYBOARD_OVERRUN_MAKE_CODE 0xFF + +#define RI_KEY_MAKE 0x00 +#define RI_KEY_BREAK 0x01 +#define RI_KEY_E0 0x02 +#define RI_KEY_E1 0x04 +#define RI_KEY_TERMSRV_SET_LED 0x08 +#define RI_KEY_TERMSRV_SHADOW 0x10 + +#define RAWINPUT_ALIGN(x) (((x) + sizeof(DWORD_PTR) - 1) & ~(sizeof(DWORD_PTR) - 1)) +#define NEXTRAWINPUTBLOCK(ptr) ((PRAWINPUT)RAWINPUT_ALIGN((ULONG_PTR)((PBYTE)(ptr) + (ptr)->header.dwSize))) + +#define RID_INPUT 0x10000003 +#define RID_HEADER 0x10000005 + +#define RIDI_PREPARSEDDATA 0x20000005 +#define RIDI_DEVICENAME 0x20000007 +#define RIDI_DEVICEINFO 0x2000000b + +#define RIDEV_REMOVE 0x00000001 +#define RIDEV_EXCLUDE 0x00000010 +#define RIDEV_PAGEONLY 0x00000020 +#define RIDEV_NOLEGACY 0x00000030 +#define RIDEV_INPUTSINK 0x00000100 +#define RIDEV_CAPTUREMOUSE 0x00000200 +#define RIDEV_NOHOTKEYS 0x00000200 +#define RIDEV_APPKEYS 0x00000400 +#define RIDEV_EXINPUTSINK 0x00001000 +#define RIDEV_DEVNOTIFY 0x00002000 +#define RIDEV_EXMODEMASK 0x000000F0 + +#define RIDEV_EXMODE(mode) ((mode) & RIDEV_EXMODEMASK) + +typedef struct tagGESTURECONFIG { + DWORD dwID; + DWORD dwWant; + DWORD dwBlock; +} GESTURECONFIG, *PGESTURECONFIG; + +#define GIDC_ARRIVAL 1 +#define GIDC_REMOVAL 2 + +#if (_WIN32_WINNT >= 0x0601) +#define GET_DEVICE_CHANGE_WPARAM(wParam) (LOWORD(wParam)) +#elif (_WIN32_WINNT >= 0x0501) +#define GET_DEVICE_CHANGE_LPARAM(lParam) (LOWORD(lParam)) +#endif + +typedef struct tagGUITHREADINFO +{ + DWORD cbSize; + DWORD flags; + HWND hwndActive; + HWND hwndFocus; + HWND hwndCapture; + HWND hwndMenuOwner; + HWND hwndMoveSize; + HWND hwndCaret; + RECT rcCaret; +} GUITHREADINFO, *PGUITHREADINFO, *LPGUITHREADINFO; + +#define GUI_CARETBLINKING 0x00000001 +#define GUI_INMOVESIZE 0x00000002 +#define GUI_INMENUMODE 0x00000004 +#define GUI_SYSTEMMENUMODE 0x00000008 +#define GUI_POPUPMENUMODE 0x00000010 +#define GUI_16BITTASK 0x00000020 + + +/***** Dialogs *****/ + +/* Gcc on Solaris has a version of this that we don't care about */ +#undef FSHIFT + +#define FVIRTKEY TRUE /* Assumed to be == TRUE */ +#define FNOINVERT 0x02 +#define FSHIFT 0x04 +#define FCONTROL 0x08 +#define FALT 0x10 + + +typedef struct tagANIMATIONINFO +{ + UINT cbSize; + INT iMinAnimate; +} ANIMATIONINFO, *LPANIMATIONINFO; + +typedef struct tagNMHDR +{ + HWND hwndFrom; + UINT_PTR idFrom; + UINT code; +} NMHDR, *LPNMHDR; + +typedef struct tagDRAWTEXTPARAMS +{ + UINT cbSize; + INT iTabLength; + INT iLeftMargin; + INT iRightMargin; + UINT uiLengthDrawn; +} DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS; + +typedef struct +{ + LPARAM lParam; + WPARAM wParam; + UINT message; + HWND hwnd; +} CWPSTRUCT, *PCWPSTRUCT, *LPCWPSTRUCT; + +typedef struct +{ + LRESULT lResult; + LPARAM lParam; + WPARAM wParam; + DWORD message; + HWND hwnd; +} CWPRETSTRUCT, *PCWPRETSTRUCT, *LPCWPRETSTRUCT; + +typedef struct tagWINDOWPLACEMENT +{ + UINT length; + UINT flags; + UINT showCmd; + POINT ptMinPosition; + POINT ptMaxPosition; + RECT rcNormalPosition; +} WINDOWPLACEMENT, *PWINDOWPLACEMENT, *LPWINDOWPLACEMENT; + + + /* WINDOWPLACEMENT flags */ +#define WPF_SETMINPOSITION 0x0001 +#define WPF_RESTORETOMAXIMIZED 0x0002 + +/***** Dialogs *****/ + +#define IS_INTRESOURCE(x) (((ULONG_PTR)(x) >> 16) == 0) +#define MAKEINTRESOURCEA(i) (LPSTR)((ULONG_PTR)((WORD)(i))) +#define MAKEINTRESOURCEW(i) (LPWSTR)((ULONG_PTR)((WORD)(i))) + +#ifndef RC_INVOKED +# ifdef WINE_NO_UNICODE_MACROS /* force using a cast */ +# define MAKEINTRESOURCE(i) ((ULONG_PTR)((WORD)(i))) +# else +# define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE) +# endif +#endif + +/* Predefined resource types */ +#define RT_CURSOR MAKEINTRESOURCE(1) +#define RT_BITMAP MAKEINTRESOURCE(2) +#define RT_ICON MAKEINTRESOURCE(3) +#define RT_MENU MAKEINTRESOURCE(4) +#define RT_DIALOG MAKEINTRESOURCE(5) +#define RT_STRING MAKEINTRESOURCE(6) +#define RT_FONTDIR MAKEINTRESOURCE(7) +#define RT_FONT MAKEINTRESOURCE(8) +#define RT_ACCELERATOR MAKEINTRESOURCE(9) +#define RT_RCDATA MAKEINTRESOURCE(10) +#define RT_MESSAGETABLE MAKEINTRESOURCE(11) +#define RT_GROUP_CURSOR MAKEINTRESOURCE(12) +#define RT_GROUP_ICON MAKEINTRESOURCE(14) +#define RT_VERSION MAKEINTRESOURCE(16) +#define RT_DLGINCLUDE MAKEINTRESOURCE(17) +#define RT_PLUGPLAY MAKEINTRESOURCE(19) +#define RT_VXD MAKEINTRESOURCE(20) +#define RT_ANICURSOR MAKEINTRESOURCE(21) +#define RT_ANIICON MAKEINTRESOURCE(22) +#define RT_HTML MAKEINTRESOURCE(23) + +#ifdef RC_INVOKED +#define RT_MANIFEST 24 +#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 +#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2 +#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3 +#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID 1 +#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID 16 +#else +#define RT_MANIFEST MAKEINTRESOURCE(24) +#define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1) +#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2) +#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3) +#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1) +#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(16) +#endif + + /* cbWndExtra bytes for dialog class */ +#define DLGWINDOWEXTRA 30 + + + /* Dialog messages */ +#define DM_GETDEFID (WM_USER+0) +#define DM_SETDEFID (WM_USER+1) +#define DM_REPOSITION (WM_USER+2) + +#define DC_HASDEFID 0x534b + +/* Bit flags for DRAWITEMSTRUCT.CtlType */ +#define ODT_MENU 1 +#define ODT_LISTBOX 2 +#define ODT_COMBOBOX 3 +#define ODT_BUTTON 4 +#define ODT_STATIC 5 + +/* Bit flags for DRAWITEMSTRUCT.itemAction */ +#define ODA_DRAWENTIRE 0x1 +#define ODA_SELECT 0x2 +#define ODA_FOCUS 0x4 + +/* Bit flags for DRAWITEMSTRUCT.itemState */ +#define ODS_SELECTED 0x0001 /* Selected */ +#define ODS_GRAYED 0x0002 /* Grayed (Menus only) */ +#define ODS_DISABLED 0x0004 /* Disabled */ +#define ODS_CHECKED 0x0008 /* Checked (Menus only) */ +#define ODS_FOCUS 0x0010 /* Has focus */ +#define ODS_DEFAULT 0x0020 /* Default */ +#define ODS_HOTLIGHT 0x0040 /* Highlighted when under mouse */ +#define ODS_INACTIVE 0x0080 /* Inactive */ +#define ODS_NOACCEL 0x0100 /* No keyboard accelerator */ +#define ODS_NOFOCUSRECT 0x0200 /* No focus rectangle */ +#define ODS_COMBOBOXEDIT 0x1000 /* Edit of a combo box */ + +#ifndef NOCOLOR + +#define COLOR_SCROLLBAR 0 +#define COLOR_BACKGROUND 1 +#define COLOR_ACTIVECAPTION 2 +#define COLOR_INACTIVECAPTION 3 +#define COLOR_MENU 4 +#define COLOR_WINDOW 5 +#define COLOR_WINDOWFRAME 6 +#define COLOR_MENUTEXT 7 +#define COLOR_WINDOWTEXT 8 +#define COLOR_CAPTIONTEXT 9 +#define COLOR_ACTIVEBORDER 10 +#define COLOR_INACTIVEBORDER 11 +#define COLOR_APPWORKSPACE 12 +#define COLOR_HIGHLIGHT 13 +#define COLOR_HIGHLIGHTTEXT 14 +#define COLOR_BTNFACE 15 +#define COLOR_BTNSHADOW 16 +#define COLOR_GRAYTEXT 17 +#define COLOR_BTNTEXT 18 +#define COLOR_INACTIVECAPTIONTEXT 19 +#define COLOR_BTNHIGHLIGHT 20 +/* win95 colors */ +#define COLOR_3DDKSHADOW 21 +#define COLOR_3DLIGHT 22 +#define COLOR_INFOTEXT 23 +#define COLOR_INFOBK 24 +#define COLOR_DESKTOP COLOR_BACKGROUND +#define COLOR_3DFACE COLOR_BTNFACE +#define COLOR_3DSHADOW COLOR_BTNSHADOW +#define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT +#define COLOR_3DHILIGHT COLOR_BTNHIGHLIGHT +#define COLOR_BTNHILIGHT COLOR_BTNHIGHLIGHT +/* win98 colors */ +#define COLOR_ALTERNATEBTNFACE 25 /* undocumented, constant name unknown */ +#define COLOR_HOTLIGHT 26 +#define COLOR_GRADIENTACTIVECAPTION 27 +#define COLOR_GRADIENTINACTIVECAPTION 28 +/* win2k/xp colors */ +#define COLOR_MENUHILIGHT 29 +#define COLOR_MENUBAR 30 + + /* WM_CTLCOLOR values */ +#define CTLCOLOR_MSGBOX 0 +#define CTLCOLOR_EDIT 1 +#define CTLCOLOR_LISTBOX 2 +#define CTLCOLOR_BTN 3 +#define CTLCOLOR_DLG 4 +#define CTLCOLOR_SCROLLBAR 5 +#define CTLCOLOR_STATIC 6 + +WINUSERAPI COLORREF WINAPI GetSysColor(INT); +WINUSERAPI BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*); + +#endif /* NOCOLOR */ + +/* IMESTATUS type */ +#define EMSIS_COMPOSITIONSTRING 1 + +/* IMESTATUS type specific data */ +#define EIMES_GETCOMPSTRATONCE 0x0001 +#define EIMES_CANCELCOMPSTRINFOCUS 0x0002 +#define EIMES_COMPLETECOMPSTRKILLFOCUS 0x0004 + +/* EDITWORDBREAKPROC code values */ +#define WB_LEFT 0 +#define WB_RIGHT 1 +#define WB_ISDELIMITER 2 + +/* Edit control notification codes */ +#define EN_SETFOCUS 0x0100 +#define EN_KILLFOCUS 0x0200 +#define EN_CHANGE 0x0300 +#define EN_UPDATE 0x0400 +#define EN_ERRSPACE 0x0500 +#define EN_MAXTEXT 0x0501 +#define EN_HSCROLL 0x0601 +#define EN_VSCROLL 0x0602 + +/* New since win95 : EM_SETMARGIN parameters */ +#define EC_LEFTMARGIN 0x0001 +#define EC_RIGHTMARGIN 0x0002 +#define EC_USEFONTINFO 0xffff + + + /* GetSystemMetrics() codes */ +#define SM_CXSCREEN 0 +#define SM_CYSCREEN 1 +#define SM_CXVSCROLL 2 +#define SM_CYHSCROLL 3 +#define SM_CYCAPTION 4 +#define SM_CXBORDER 5 +#define SM_CYBORDER 6 +#define SM_CXDLGFRAME 7 +#define SM_CYDLGFRAME 8 +#define SM_CYVTHUMB 9 +#define SM_CXHTHUMB 10 +#define SM_CXICON 11 +#define SM_CYICON 12 +#define SM_CXCURSOR 13 +#define SM_CYCURSOR 14 +#define SM_CYMENU 15 +#define SM_CXFULLSCREEN 16 +#define SM_CYFULLSCREEN 17 +#define SM_CYKANJIWINDOW 18 +#define SM_MOUSEPRESENT 19 +#define SM_CYVSCROLL 20 +#define SM_CXHSCROLL 21 +#define SM_DEBUG 22 +#define SM_SWAPBUTTON 23 +#define SM_RESERVED1 24 +#define SM_RESERVED2 25 +#define SM_RESERVED3 26 +#define SM_RESERVED4 27 +#define SM_CXMIN 28 +#define SM_CYMIN 29 +#define SM_CXSIZE 30 +#define SM_CYSIZE 31 +#define SM_CXFRAME 32 +#define SM_CYFRAME 33 +#define SM_CXMINTRACK 34 +#define SM_CYMINTRACK 35 +#define SM_CXDOUBLECLK 36 +#define SM_CYDOUBLECLK 37 +#define SM_CXICONSPACING 38 +#define SM_CYICONSPACING 39 +#define SM_MENUDROPALIGNMENT 40 +#define SM_PENWINDOWS 41 +#define SM_DBCSENABLED 42 +#define SM_CMOUSEBUTTONS 43 +#define SM_CXFIXEDFRAME SM_CXDLGFRAME +#define SM_CYFIXEDFRAME SM_CYDLGFRAME +#define SM_CXSIZEFRAME SM_CXFRAME +#define SM_CYSIZEFRAME SM_CYFRAME +#define SM_SECURE 44 +#define SM_CXEDGE 45 +#define SM_CYEDGE 46 +#define SM_CXMINSPACING 47 +#define SM_CYMINSPACING 48 +#define SM_CXSMICON 49 +#define SM_CYSMICON 50 +#define SM_CYSMCAPTION 51 +#define SM_CXSMSIZE 52 +#define SM_CYSMSIZE 53 +#define SM_CXMENUSIZE 54 +#define SM_CYMENUSIZE 55 +#define SM_ARRANGE 56 +#define SM_CXMINIMIZED 57 +#define SM_CYMINIMIZED 58 +#define SM_CXMAXTRACK 59 +#define SM_CYMAXTRACK 60 +#define SM_CXMAXIMIZED 61 +#define SM_CYMAXIMIZED 62 +#define SM_NETWORK 63 +#define SM_CLEANBOOT 67 +#define SM_CXDRAG 68 +#define SM_CYDRAG 69 +#define SM_SHOWSOUNDS 70 +#define SM_CXMENUCHECK 71 +#define SM_CYMENUCHECK 72 +#define SM_SLOWMACHINE 73 +#define SM_MIDEASTENABLED 74 +#define SM_MOUSEWHEELPRESENT 75 +#define SM_XVIRTUALSCREEN 76 +#define SM_YVIRTUALSCREEN 77 +#define SM_CXVIRTUALSCREEN 78 +#define SM_CYVIRTUALSCREEN 79 +#define SM_CMONITORS 80 +#define SM_SAMEDISPLAYFORMAT 81 +#define SM_IMMENABLED 82 +#define SM_CXFOCUSBORDER 83 +#define SM_CYFOCUSBORDER 84 +#define SM_TABLETPC 86 +#define SM_MEDIACENTER 87 +#define SM_STARTER 88 +#define SM_SERVERR2 89 +#define SM_CMETRICS 90 +#define SM_MOUSEHORIZONTALWHEELPRESENT 91 +#define SM_CXPADDEDBORDER 92 + +#define SM_REMOTESESSION 0x1000 +#define SM_SHUTTINGDOWN 0x2000 +#define SM_REMOTECONTROL 0x2001 +#define SM_CARETBLINKINGENABLED 0x2002 + +#define PMB_ACTIVE 0x00000001 + + +/* wParam for WM_POWERBROADCAST */ +#define PBT_APMQUERYSUSPEND 0x0000 +#define PBT_APMQUERYSTANDBY 0x0001 +#define PBT_APMQUERYSUSPENDFAILED 0x0002 +#define PBT_APMQUERYSTANDBYFAILED 0x0003 +#define PBT_APMSUSPEND 0x0004 +#define PBT_APMSTANDBY 0x0005 +#define PBT_APMRESUMECRITICAL 0x0006 +#define PBT_APMRESUMESUSPEND 0x0007 +#define PBT_APMRESUMESTANDBY 0x0008 +#define PBT_APMBATTERYLOW 0x0009 +#define PBT_APMPOWERSTATUSCHANGE 0x000A +#define PBT_APMOEMEVENT 0x000B +#define PBT_APMRESUMEAUTOMATIC 0x0012 + +#define PBTF_APMRESUMEFROMFAILURE 0x00000001 + + +/* MsgWaitForMultipleObjectsEx flags */ +#define MWMO_WAITALL 0x0001 +#define MWMO_ALERTABLE 0x0002 +#define MWMO_INPUTAVAILABLE 0x0004 + +/* WM_GETDLGCODE values */ +#define DLGC_WANTARROWS 0x0001 +#define DLGC_WANTTAB 0x0002 +#define DLGC_WANTALLKEYS 0x0004 +#define DLGC_WANTMESSAGE 0x0004 +#define DLGC_HASSETSEL 0x0008 +#define DLGC_DEFPUSHBUTTON 0x0010 +#define DLGC_UNDEFPUSHBUTTON 0x0020 +#define DLGC_RADIOBUTTON 0x0040 +#define DLGC_WANTCHARS 0x0080 +#define DLGC_STATIC 0x0100 +#define DLGC_BUTTON 0x2000 + +/* Used for EnumDisplaySettingsEx */ +#define ENUM_CURRENT_SETTINGS ((DWORD) -1) +#define ENUM_REGISTRY_SETTINGS ((DWORD) -2) + +#define EDS_RAWMODE 0x00000002 +#define EDS_ROTATEDMODE 0x00000004 + +/* Used for PrintWindow */ +#define PW_CLIENTONLY 0x00000001 + +/****** Window classes ******/ + +typedef struct tagCREATESTRUCTA +{ + LPVOID lpCreateParams; + HINSTANCE hInstance; + HMENU hMenu; + HWND hwndParent; + INT cy; + INT cx; + INT y; + INT x; + LONG style; + LPCSTR lpszName; + LPCSTR lpszClass; + DWORD dwExStyle; +} CREATESTRUCTA, *LPCREATESTRUCTA; + +typedef struct tagCREATESTRUCTW +{ + LPVOID lpCreateParams; + HINSTANCE hInstance; + HMENU hMenu; + HWND hwndParent; + INT cy; + INT cx; + INT y; + INT x; + LONG style; + LPCWSTR lpszName; + LPCWSTR lpszClass; + DWORD dwExStyle; +} CREATESTRUCTW, *LPCREATESTRUCTW; + +DECL_WINELIB_TYPE_AW(CREATESTRUCT) +DECL_WINELIB_TYPE_AW(LPCREATESTRUCT) + +typedef struct tagPAINTSTRUCT +{ + HDC hdc; + BOOL fErase; + RECT rcPaint; + BOOL fRestore; + BOOL fIncUpdate; + BYTE rgbReserved[32]; +} PAINTSTRUCT, *PPAINTSTRUCT, *LPPAINTSTRUCT; + +typedef struct tagCLIENTCREATESTRUCT +{ + HMENU hWindowMenu; + UINT idFirstChild; +} CLIENTCREATESTRUCT, *LPCLIENTCREATESTRUCT; + + +typedef struct tagMDICREATESTRUCTA +{ + LPCSTR szClass; + LPCSTR szTitle; + HINSTANCE hOwner; + INT x; + INT y; + INT cx; + INT cy; + DWORD style; + LPARAM lParam; +} MDICREATESTRUCTA, *LPMDICREATESTRUCTA; + +typedef struct tagMDICREATESTRUCTW +{ + LPCWSTR szClass; + LPCWSTR szTitle; + HINSTANCE hOwner; + INT x; + INT y; + INT cx; + INT cy; + DWORD style; + LPARAM lParam; +} MDICREATESTRUCTW, *LPMDICREATESTRUCTW; + +DECL_WINELIB_TYPE_AW(MDICREATESTRUCT) +DECL_WINELIB_TYPE_AW(LPMDICREATESTRUCT) + +#define MDITILE_VERTICAL 0x0000 +#define MDITILE_HORIZONTAL 0x0001 +#define MDITILE_SKIPDISABLED 0x0002 +#define MDITILE_ZORDER 0x0004 + +#define MDIS_ALLCHILDSTYLES 0x0001 + +typedef struct tagSTYLESTRUCT { + DWORD styleOld; + DWORD styleNew; +} STYLESTRUCT, *LPSTYLESTRUCT; + +#define WC_DIALOG MAKEINTATOM(0x8002) + + /* Offsets for GetWindowLong() and GetWindowWord() */ +#define GWL_EXSTYLE (-20) +#define GWL_STYLE (-16) +#if !defined _WIN64 && !defined __WINESRC__ +# define GWL_USERDATA (-21) +# define GWL_ID (-12) +# define GWL_HWNDPARENT (-8) +# define GWL_HINSTANCE (-6) +# define GWL_WNDPROC (-4) +# define DWL_MSGRESULT 0 +# define DWL_DLGPROC 4 +# define DWL_USER 8 +#endif /* _WIN64 && __WINESRC__ */ + + /* Offsets for GetWindowLongPtr() and SetWindowLongPtr() */ +#define GWLP_USERDATA (-21) +#define GWLP_ID (-12) +#define GWLP_HWNDPARENT (-8) +#define GWLP_HINSTANCE (-6) +#define GWLP_WNDPROC (-4) +#define DWLP_MSGRESULT 0 +#define DWLP_DLGPROC DWLP_MSGRESULT + sizeof(LRESULT) +#define DWLP_USER DWLP_DLGPROC + sizeof(DLGPROC) + + /* GetWindow() constants */ +#define GW_HWNDFIRST 0 +#define GW_HWNDLAST 1 +#define GW_HWNDNEXT 2 +#define GW_HWNDPREV 3 +#define GW_OWNER 4 +#define GW_CHILD 5 + +/* GetAncestor() constants */ +#define GA_PARENT 1 +#define GA_ROOT 2 +#define GA_ROOTOWNER 3 + + /* WM_GETMINMAXINFO struct */ +typedef struct tagMINMAXINFO +{ + POINT ptReserved; + POINT ptMaxSize; + POINT ptMaxPosition; + POINT ptMinTrackSize; + POINT ptMaxTrackSize; +} MINMAXINFO, *PMINMAXINFO, *LPMINMAXINFO; + + + /* RedrawWindow() flags */ +#define RDW_INVALIDATE 0x0001 +#define RDW_INTERNALPAINT 0x0002 +#define RDW_ERASE 0x0004 +#define RDW_VALIDATE 0x0008 +#define RDW_NOINTERNALPAINT 0x0010 +#define RDW_NOERASE 0x0020 +#define RDW_NOCHILDREN 0x0040 +#define RDW_ALLCHILDREN 0x0080 +#define RDW_UPDATENOW 0x0100 +#define RDW_ERASENOW 0x0200 +#define RDW_FRAME 0x0400 +#define RDW_NOFRAME 0x0800 + +/* debug flags */ +#define DBGFILL_ALLOC 0xfd +#define DBGFILL_FREE 0xfb +#define DBGFILL_BUFFER 0xf9 +#define DBGFILL_STACK 0xf7 + + /* WM_WINDOWPOSCHANGING/CHANGED struct */ +typedef struct tagWINDOWPOS +{ + HWND hwnd; + HWND hwndInsertAfter; + INT x; + INT y; + INT cx; + INT cy; + UINT flags; +} WINDOWPOS, *PWINDOWPOS, *LPWINDOWPOS; + + + /* WM_NCCALCSIZE parameter structure */ +typedef struct +{ + RECT rgrc[3]; + WINDOWPOS *lppos; +} NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS; + + +#define PRF_CHECKVISIBLE __MSABI_LONG(0x00000001) +#define PRF_NONCLIENT __MSABI_LONG(0x00000002) +#define PRF_CLIENT __MSABI_LONG(0x00000004) +#define PRF_ERASEBKGND __MSABI_LONG(0x00000008) +#define PRF_CHILDREN __MSABI_LONG(0x00000010) +#define PRF_OWNED __MSABI_LONG(0x00000020) + + /* Offsets for GetClassLong() and GetClassWord() */ +#if !defined _WIN64 && !defined __WINESRC__ +# define GCL_MENUNAME (-8) +# define GCL_HBRBACKGROUND (-10) +# define GCL_HCURSOR (-12) +# define GCL_HICON (-14) +# define GCL_HMODULE (-16) +# define GCL_WNDPROC (-24) +# define GCL_HICONSM (-34) +#endif /* _WIN64 && __WINESRC__ */ + +#define GCL_CBWNDEXTRA (-18) +#define GCL_CBCLSEXTRA (-20) +#define GCL_STYLE (-26) +#define GCW_ATOM (-32) + +#define GCLP_MENUNAME (-8) +#define GCLP_HBRBACKGROUND (-10) +#define GCLP_HCURSOR (-12) +#define GCLP_HICON (-14) +#define GCLP_HMODULE (-16) +#define GCLP_WNDPROC (-24) +#define GCLP_HICONSM (-34) + +/* BroadcastSystemMessage flags */ +#define BSM_ALLCOMPONENTS 0x00000000 +#define BSM_VXDS 0x00000001 +#define BSM_NETDRIVER 0x00000002 +#define BSM_INSTALLABLEDRIVERS 0x00000004 +#define BSM_APPLICATIONS 0x00000008 +#define BSM_ALLDESKTOPS 0x00000010 + +#define BSF_QUERY 0x00000001 +#define BSF_IGNORECURRENTTASK 0x00000002 +#define BSF_FLUSHDISK 0x00000004 +#define BSF_NOHANG 0x00000008 +#define BSF_POSTMESSAGE 0x00000010 +#define BSF_FORCEIFHUNG 0x00000020 +#define BSF_NOTIMEOUTIFNOTHUNG 0x00000040 +#define BSF_ALLOWSFW 0x00000080 +#define BSF_SENDNOTIFYMESSAGE 0x00000100 +#define BSF_RETURNHDESK 0x00000200 +#define BSF_LUID 0x00000400 + +#define BROADCAST_QUERY_DENY 0x424D5144 + +/***** Window hooks *****/ + + /* Hook values */ +#define WH_MIN (-1) +#define WH_MSGFILTER (-1) +#define WH_JOURNALRECORD 0 +#define WH_JOURNALPLAYBACK 1 +#define WH_KEYBOARD 2 +#define WH_GETMESSAGE 3 +#define WH_CALLWNDPROC 4 +#define WH_CBT 5 +#define WH_SYSMSGFILTER 6 +#define WH_MOUSE 7 +#define WH_HARDWARE 8 +#define WH_DEBUG 9 +#define WH_SHELL 10 +#define WH_FOREGROUNDIDLE 11 +#define WH_CALLWNDPROCRET 12 +#define WH_KEYBOARD_LL 13 +#define WH_MOUSE_LL 14 +#define WH_MAX 14 + +#define WH_MINHOOK WH_MIN +#define WH_MAXHOOK WH_MAX + + /* Hook action codes */ +#define HC_ACTION 0 +#define HC_GETNEXT 1 +#define HC_SKIP 2 +#define HC_NOREMOVE 3 +#define HC_NOREM HC_NOREMOVE +#define HC_SYSMODALON 4 +#define HC_SYSMODALOFF 5 + + /* CallMsgFilter() values */ +#define MSGF_DIALOGBOX 0 +#define MSGF_MESSAGEBOX 1 +#define MSGF_MENU 2 +#define MSGF_MOVE 3 +#define MSGF_SIZE 4 +#define MSGF_SCROLLBAR 5 +#define MSGF_NEXTWINDOW 6 +#define MSGF_MAX 8 +#define MSGF_USER 0x1000 +#define MSGF_DDEMGR 0x8001 + +typedef struct tagWNDCLASSA +{ + UINT style; + WNDPROC lpfnWndProc; + INT cbClsExtra; + INT cbWndExtra; + HINSTANCE hInstance; + HICON hIcon; + HCURSOR hCursor; + HBRUSH hbrBackground; + LPCSTR lpszMenuName; + LPCSTR lpszClassName; +} WNDCLASSA, *PWNDCLASSA, *LPWNDCLASSA; + +typedef struct tagWNDCLASSW +{ + UINT style; + WNDPROC lpfnWndProc; + INT cbClsExtra; + INT cbWndExtra; + HINSTANCE hInstance; + HICON hIcon; + HCURSOR hCursor; + HBRUSH hbrBackground; + LPCWSTR lpszMenuName; + LPCWSTR lpszClassName; +} WNDCLASSW, *PWNDCLASSW, *LPWNDCLASSW; + +DECL_WINELIB_TYPE_AW(WNDCLASS) +DECL_WINELIB_TYPE_AW(PWNDCLASS) +DECL_WINELIB_TYPE_AW(LPWNDCLASS) + +typedef struct tagCOPYDATASTRUCT { + ULONG_PTR dwData; + DWORD cbData; + PVOID lpData; +} COPYDATASTRUCT, *PCOPYDATASTRUCT; + +typedef struct tagMDINEXTMENU { + HMENU hmenuIn; + HMENU hmenuNext; + HWND hwndNext; +} MDINEXTMENU, *PMDINEXTMENU, *LPMDINEXTMENU; + +typedef struct tagMULTIKEYHELPA +{ + DWORD mkSize; + CHAR mkKeylist; + CHAR szKeyphrase[1]; +} MULTIKEYHELPA, *PMULTIKEYHELPA, *LPMULTIKEYHELPA; + +typedef struct tagMULTIKEYHELPW +{ + DWORD mkSize; + WCHAR mkKeylist; + WCHAR szKeyphrase[1]; +} MULTIKEYHELPW, *PMULTIKEYHELPW, *LPMULTIKEYHELPW; + +DECL_WINELIB_TYPE_AW(MULTIKEYHELP) +DECL_WINELIB_TYPE_AW(PMULTIKEYHELP) +DECL_WINELIB_TYPE_AW(LPMULTIKEYHELP) + +typedef struct tagHELPWININFOA { + int wStructSize; + int x; + int y; + int dx; + int dy; + int wMax; + CHAR rgchMember[2]; +} HELPWININFOA, *PHELPWININFOA, *LPHELPWININFOA; + +typedef struct tagHELPWININFOW { + int wStructSize; + int x; + int y; + int dx; + int dy; + int wMax; + WCHAR rgchMember[2]; +} HELPWININFOW, *PHELPWININFOW, *LPHELPWININFOW; + +DECL_WINELIB_TYPE_AW(HELPWININFO) +DECL_WINELIB_TYPE_AW(PHELPWININFO) +DECL_WINELIB_TYPE_AW(LPHELPWININFO) + + + /* ChangeDisplaySettings return codes */ + +#define DISP_CHANGE_SUCCESSFUL 0 +#define DISP_CHANGE_RESTART 1 +#define DISP_CHANGE_FAILED (-1) +#define DISP_CHANGE_BADMODE (-2) +#define DISP_CHANGE_NOTUPDATED (-3) +#define DISP_CHANGE_BADFLAGS (-4) +#define DISP_CHANGE_BADPARAM (-5) +#define DISP_CHANGE_BADDUALVIEW (-6) + +/* ChangeDisplaySettings.dwFlags */ +#define CDS_UPDATEREGISTRY 0x00000001 +#define CDS_TEST 0x00000002 +#define CDS_FULLSCREEN 0x00000004 +#define CDS_GLOBAL 0x00000008 +#define CDS_SET_PRIMARY 0x00000010 +#define CDS_VIDEOPARAMETERS 0x00000020 +#define CDS_NORESET 0x10000000 +#define CDS_SETRECT 0x20000000 +#define CDS_RESET 0x40000000 + +typedef struct tagWNDCLASSEXA +{ + UINT cbSize; + UINT style; + WNDPROC lpfnWndProc; + INT cbClsExtra; + INT cbWndExtra; + HINSTANCE hInstance; + HICON hIcon; + HCURSOR hCursor; + HBRUSH hbrBackground; + LPCSTR lpszMenuName; + LPCSTR lpszClassName; + HICON hIconSm; +} WNDCLASSEXA, *PWNDCLASSEXA, *LPWNDCLASSEXA; + +typedef struct tagWNDCLASSEXW +{ + UINT cbSize; + UINT style; + WNDPROC lpfnWndProc; + INT cbClsExtra; + INT cbWndExtra; + HINSTANCE hInstance; + HICON hIcon; + HCURSOR hCursor; + HBRUSH hbrBackground; + LPCWSTR lpszMenuName; + LPCWSTR lpszClassName; + HICON hIconSm; +} WNDCLASSEXW, *PWNDCLASSEXW, *LPWNDCLASSEXW; + +DECL_WINELIB_TYPE_AW(WNDCLASSEX) +DECL_WINELIB_TYPE_AW(PWNDCLASSEX) +DECL_WINELIB_TYPE_AW(LPWNDCLASSEX) + +typedef struct tagMSG +{ + HWND hwnd; + UINT message; + WPARAM wParam; + LPARAM lParam; + DWORD time; + POINT pt; +} MSG, *PMSG, *LPMSG; + +#define POINTSTOPOINT(pt, pts) { (pt).x = (pts).x; (pt).y = (pts).y; } +#define POINTTOPOINTS(pt) (MAKELONG((short)((pt).x), (short)((pt).y))) + +#define MAKELPARAM(low,high) ((LPARAM)(DWORD)MAKELONG(low,high)) +#define MAKEWPARAM(low,high) ((WPARAM)(DWORD)MAKELONG(low,high)) +#define MAKELRESULT(low,high) ((LRESULT)(DWORD)MAKELONG(low,high)) + +/* Cursors / Icons */ + +typedef struct _ICONINFO { + BOOL fIcon; + DWORD xHotspot; + DWORD yHotspot; + HBITMAP hbmMask; + HBITMAP hbmColor; +} ICONINFO, *PICONINFO; + +typedef struct _ICONINFOEXA +{ + DWORD cbSize; + BOOL fIcon; + DWORD xHotspot; + DWORD yHotspot; + HBITMAP hbmMask; + HBITMAP hbmColor; + WORD wResID; + CHAR szModName[MAX_PATH]; + CHAR szResName[MAX_PATH]; +} ICONINFOEXA, *PICONINFOEXA; + +typedef struct _ICONINFOEXW +{ + DWORD cbSize; + BOOL fIcon; + DWORD xHotspot; + DWORD yHotspot; + HBITMAP hbmMask; + HBITMAP hbmColor; + WORD wResID; + WCHAR szModName[MAX_PATH]; + WCHAR szResName[MAX_PATH]; +} ICONINFOEXW, *PICONINFOEXW; + +DECL_WINELIB_TYPE_AW(ICONINFOEX) +DECL_WINELIB_TYPE_AW(PICONINFOEX) + +typedef struct tagCURSORINFO +{ + DWORD cbSize; + DWORD flags; + HCURSOR hCursor; + POINT ptScreenPos; +} CURSORINFO, *PCURSORINFO, *LPCURSORINFO; + +#define CURSOR_SHOWING 0x00000001 +#define CURSOR_SUPPRESSED 0x00000002 + +/* this is the 6 byte accel struct used in Win32 when presented to the user */ +typedef struct tagACCEL +{ +#ifdef WORDS_BIGENDIAN + WORD fVirt; + WORD key; + DWORD cmd; +#else + BYTE fVirt; + WORD key; + WORD cmd; +#endif +} ACCEL, *LPACCEL; + + +/* Flags for TrackPopupMenu */ +#define TPM_LEFTBUTTON 0x0000 +#define TPM_RECURSE 0x0001 +#define TPM_RIGHTBUTTON 0x0002 +#define TPM_LEFTALIGN 0x0000 +#define TPM_CENTERALIGN 0x0004 +#define TPM_RIGHTALIGN 0x0008 +#define TPM_TOPALIGN 0x0000 +#define TPM_VCENTERALIGN 0x0010 +#define TPM_BOTTOMALIGN 0x0020 +#define TPM_HORIZONTAL 0x0000 +#define TPM_VERTICAL 0x0040 +#define TPM_NONOTIFY 0x0080 +#define TPM_RETURNCMD 0x0100 +#define TPM_HORPOSANIMATION 0x0400 +#define TPM_HORNEGANIMATION 0x0800 +#define TPM_VERPOSANIMATION 0x1000 +#define TPM_VERNEGANIMATION 0x2000 +#define TPM_NOANIMATION 0x4000 +#define TPM_LAYOUTRTL 0x8000 + +typedef struct tagTPMPARAMS +{ + UINT cbSize; + RECT rcExclude; +} TPMPARAMS, *LPTPMPARAMS; + + +/* + * Combobox information + */ +typedef struct tagCOMBOBOXINFO +{ + DWORD cbSize; + RECT rcItem; + RECT rcButton; + DWORD stateButton; + HWND hwndCombo; + HWND hwndItem; + HWND hwndList; +} COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO; + +typedef struct tagMENUITEMINFOA { + UINT cbSize; + UINT fMask; + UINT fType; + UINT fState; + UINT wID; + HMENU hSubMenu; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + ULONG_PTR dwItemData; + LPSTR dwTypeData; + UINT cch; + HBITMAP hbmpItem; +} MENUITEMINFOA, *LPMENUITEMINFOA; + +typedef struct tagMENUITEMINFOW { + UINT cbSize; + UINT fMask; + UINT fType; + UINT fState; + UINT wID; + HMENU hSubMenu; + HBITMAP hbmpChecked; + HBITMAP hbmpUnchecked; + ULONG_PTR dwItemData; + LPWSTR dwTypeData; + UINT cch; + HBITMAP hbmpItem; +} MENUITEMINFOW, *LPMENUITEMINFOW; + +DECL_WINELIB_TYPE_AW(MENUITEMINFO) +DECL_WINELIB_TYPE_AW(LPMENUITEMINFO) +typedef const MENUITEMINFOA *LPCMENUITEMINFOA; +typedef const MENUITEMINFOW *LPCMENUITEMINFOW; +DECL_WINELIB_TYPE_AW(LPCMENUITEMINFO) + +typedef struct tagMENUBARINFO { + DWORD cbSize; + RECT rcBar; + HMENU hMenu; + HWND hwndMenu; + BOOL fBarFocused:1; + BOOL fFocused:1; +} MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO; + +typedef struct tagMENUINFO { + DWORD cbSize; + DWORD fMask; + DWORD dwStyle; + UINT cyMax; + HBRUSH hbrBack; + DWORD dwContextHelpID; + ULONG_PTR dwMenuData; +} MENUINFO, *LPMENUINFO; + +typedef const MENUINFO *LPCMENUINFO; + +#define MIM_MAXHEIGHT 0x00000001 +#define MIM_BACKGROUND 0x00000002 +#define MIM_HELPID 0x00000004 +#define MIM_MENUDATA 0x00000008 +#define MIM_STYLE 0x00000010 +#define MIM_APPLYTOSUBMENUS 0x80000000 + +#define MNS_NOCHECK 0x80000000 +#define MNS_MODELESS 0x40000000 +#define MNS_DRAGDROP 0x20000000 +#define MNS_AUTODISMISS 0x10000000 +#define MNS_NOTIFYBYPOS 0x08000000 +#define MNS_CHECKORBMP 0x04000000 + +typedef struct { + WORD versionNumber; + WORD offset; +} MENUITEMTEMPLATEHEADER, *PMENUITEMTEMPLATEHEADER; + + +typedef struct { + WORD mtOption; + WORD mtID; + WCHAR mtString[1]; +} MENUITEMTEMPLATE, *PMENUITEMTEMPLATE; + + +typedef VOID MENUTEMPLATE; +typedef PVOID *LPMENUTEMPLATE; + +/* Field specifiers for MENUITEMINFO[AW] type. */ +#define MIIM_STATE 0x00000001 +#define MIIM_ID 0x00000002 +#define MIIM_SUBMENU 0x00000004 +#define MIIM_CHECKMARKS 0x00000008 +#define MIIM_TYPE 0x00000010 +#define MIIM_DATA 0x00000020 +#define MIIM_STRING 0x00000040 +#define MIIM_BITMAP 0x00000080 +#define MIIM_FTYPE 0x00000100 + +#define HBMMENU_CALLBACK ((HBITMAP) -1) +#define HBMMENU_SYSTEM ((HBITMAP) 1) +#define HBMMENU_MBAR_RESTORE ((HBITMAP) 2) +#define HBMMENU_MBAR_MINIMIZE ((HBITMAP) 3) +#define HBMMENU_MBAR_CLOSE ((HBITMAP) 5) +#define HBMMENU_MBAR_CLOSE_D ((HBITMAP) 6) +#define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP) 7) +#define HBMMENU_POPUP_CLOSE ((HBITMAP) 8) +#define HBMMENU_POPUP_RESTORE ((HBITMAP) 9) +#define HBMMENU_POPUP_MAXIMIZE ((HBITMAP) 10) +#define HBMMENU_POPUP_MINIMIZE ((HBITMAP) 11) + +/* WM_H/VSCROLL commands */ +#define SB_LINEUP 0 +#define SB_LINELEFT 0 +#define SB_LINEDOWN 1 +#define SB_LINERIGHT 1 +#define SB_PAGEUP 2 +#define SB_PAGELEFT 2 +#define SB_PAGEDOWN 3 +#define SB_PAGERIGHT 3 +#define SB_THUMBPOSITION 4 +#define SB_THUMBTRACK 5 +#define SB_TOP 6 +#define SB_LEFT 6 +#define SB_BOTTOM 7 +#define SB_RIGHT 7 +#define SB_ENDSCROLL 8 + +/* Scroll bar selection constants */ +#define SB_HORZ 0 +#define SB_VERT 1 +#define SB_CTL 2 +#define SB_BOTH 3 + +/* EnableScrollBar() flags */ +#define ESB_ENABLE_BOTH 0x0000 +#define ESB_DISABLE_BOTH 0x0003 + +#define ESB_DISABLE_LEFT 0x0001 +#define ESB_DISABLE_RIGHT 0x0002 + +#define ESB_DISABLE_UP 0x0001 +#define ESB_DISABLE_DOWN 0x0002 + +#define ESB_DISABLE_LTUP ESB_DISABLE_LEFT +#define ESB_DISABLE_RTDN ESB_DISABLE_RIGHT + +/* Static Control Messages */ +#define STM_SETICON 0x0170 +#define STM_GETICON 0x0171 +#define STM_SETIMAGE 0x0172 +#define STM_GETIMAGE 0x0173 +#define STM_MSGMAX 0x0174 + +#define STN_CLICKED 0 +#define STN_DBLCLK 1 +#define STN_ENABLE 2 +#define STN_DISABLE 3 + +/* Scrollbar messages */ +#define SBM_SETPOS 0x00e0 +#define SBM_GETPOS 0x00e1 +#define SBM_SETRANGE 0x00e2 +#define SBM_GETRANGE 0x00e3 +#define SBM_ENABLE_ARROWS 0x00e4 +#define SBM_SETRANGEREDRAW 0x00e6 +#define SBM_SETSCROLLINFO 0x00e9 +#define SBM_GETSCROLLINFO 0x00ea +#define SBM_GETSCROLLBARINFO 0x00eb + +/* Scrollbar info */ +typedef struct tagSCROLLINFO +{ + UINT cbSize; + UINT fMask; + INT nMin; + INT nMax; + UINT nPage; + INT nPos; + INT nTrackPos; +} SCROLLINFO, *LPSCROLLINFO; + +typedef const SCROLLINFO *LPCSCROLLINFO; + +#define CCHILDREN_SCROLLBAR 5 + +typedef struct tagSCROLLBARINFO +{ + DWORD cbSize; /* Size of SCROLLBARINFO struct */ + RECT rcScrollBar; /* Coordinates of the scroll bar */ + INT dxyLineButton; /* Height or width */ + INT xyThumbTop; /* Position of the top or the left */ + INT xyThumbBottom; /* Position of the bottom or the right */ + INT reserved; + DWORD rgstate[CCHILDREN_SCROLLBAR+1]; +} SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO; + +/* GetScrollInfo() flags */ +#define SIF_RANGE 0x0001 +#define SIF_PAGE 0x0002 +#define SIF_POS 0x0004 +#define SIF_DISABLENOSCROLL 0x0008 +#define SIF_TRACKPOS 0x0010 +#define SIF_ALL (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS) + +/* Listbox messages */ +#define LB_ADDSTRING 0x0180 +#define LB_INSERTSTRING 0x0181 +#define LB_DELETESTRING 0x0182 +#define LB_SELITEMRANGEEX 0x0183 +#define LB_RESETCONTENT 0x0184 +#define LB_SETSEL 0x0185 +#define LB_SETCURSEL 0x0186 +#define LB_GETSEL 0x0187 +#define LB_GETCURSEL 0x0188 +#define LB_GETTEXT 0x0189 +#define LB_GETTEXTLEN 0x018a +#define LB_GETCOUNT 0x018b +#define LB_SELECTSTRING 0x018c +#define LB_DIR 0x018d +#define LB_GETTOPINDEX 0x018e +#define LB_FINDSTRING 0x018f +#define LB_GETSELCOUNT 0x0190 +#define LB_GETSELITEMS 0x0191 +#define LB_SETTABSTOPS 0x0192 +#define LB_GETHORIZONTALEXTENT 0x0193 +#define LB_SETHORIZONTALEXTENT 0x0194 +#define LB_SETCOLUMNWIDTH 0x0195 +#define LB_ADDFILE 0x0196 +#define LB_SETTOPINDEX 0x0197 +#define LB_GETITEMRECT 0x0198 +#define LB_GETITEMDATA 0x0199 +#define LB_SETITEMDATA 0x019a +#define LB_SELITEMRANGE 0x019b +#define LB_SETANCHORINDEX 0x019c +#define LB_GETANCHORINDEX 0x019d +#define LB_SETCARETINDEX 0x019e +#define LB_GETCARETINDEX 0x019f +#define LB_SETITEMHEIGHT 0x01a0 +#define LB_GETITEMHEIGHT 0x01a1 +#define LB_FINDSTRINGEXACT 0x01a2 +#define LB_CARETON 0x01a3 +#define LB_CARETOFF 0x01a4 +#define LB_SETLOCALE 0x01a5 +#define LB_GETLOCALE 0x01a6 +#define LB_SETCOUNT 0x01a7 +#define LB_INITSTORAGE 0x01a8 +#define LB_ITEMFROMPOINT 0x01a9 +#define LB_GETLISTBOXINFO 0x01b2 +#define LB_MSGMAX 0x01b3 + +/* Listbox notification codes */ +#define LBN_ERRSPACE (-2) +#define LBN_SELCHANGE 1 +#define LBN_DBLCLK 2 +#define LBN_SELCANCEL 3 +#define LBN_SETFOCUS 4 +#define LBN_KILLFOCUS 5 + +/* Listbox message return values */ +#define LB_OKAY 0 +#define LB_ERR (-1) +#define LB_ERRSPACE (-2) + +#define LB_CTLCODE __MSABI_LONG(0) + +/* Combo box messages */ +#define CB_GETEDITSEL 0x0140 +#define CB_LIMITTEXT 0x0141 +#define CB_SETEDITSEL 0x0142 +#define CB_ADDSTRING 0x0143 +#define CB_DELETESTRING 0x0144 +#define CB_DIR 0x0145 +#define CB_GETCOUNT 0x0146 +#define CB_GETCURSEL 0x0147 +#define CB_GETLBTEXT 0x0148 +#define CB_GETLBTEXTLEN 0x0149 +#define CB_INSERTSTRING 0x014a +#define CB_RESETCONTENT 0x014b +#define CB_FINDSTRING 0x014c +#define CB_SELECTSTRING 0x014d +#define CB_SETCURSEL 0x014e +#define CB_SHOWDROPDOWN 0x014f +#define CB_GETITEMDATA 0x0150 +#define CB_SETITEMDATA 0x0151 +#define CB_GETDROPPEDCONTROLRECT 0x0152 +#define CB_SETITEMHEIGHT 0x0153 +#define CB_GETITEMHEIGHT 0x0154 +#define CB_SETEXTENDEDUI 0x0155 +#define CB_GETEXTENDEDUI 0x0156 +#define CB_GETDROPPEDSTATE 0x0157 +#define CB_FINDSTRINGEXACT 0x0158 +#define CB_SETLOCALE 0x0159 +#define CB_GETLOCALE 0x015a +#define CB_GETTOPINDEX 0x015b +#define CB_SETTOPINDEX 0x015c +#define CB_GETHORIZONTALEXTENT 0x015d +#define CB_SETHORIZONTALEXTENT 0x015e +#define CB_GETDROPPEDWIDTH 0x015f +#define CB_SETDROPPEDWIDTH 0x0160 +#define CB_INITSTORAGE 0x0161 +#define CB_MULTIPLEADDSTRING 0x0163 +#define CB_GETCOMBOBOXINFO 0x0164 +#define CB_MSGMAX 0x0165 + +/* Combo box notification codes */ +#define CBN_ERRSPACE (-1) +#define CBN_SELCHANGE 1 +#define CBN_DBLCLK 2 +#define CBN_SETFOCUS 3 +#define CBN_KILLFOCUS 4 +#define CBN_EDITCHANGE 5 +#define CBN_EDITUPDATE 6 +#define CBN_DROPDOWN 7 +#define CBN_CLOSEUP 8 +#define CBN_SELENDOK 9 +#define CBN_SELENDCANCEL 10 + +/* Combo box message return values */ +#define CB_OKAY 0 +#define CB_ERR (-1) +#define CB_ERRSPACE (-2) + +#define MB_OK 0x00000000 +#define MB_OKCANCEL 0x00000001 +#define MB_ABORTRETRYIGNORE 0x00000002 +#define MB_YESNOCANCEL 0x00000003 +#define MB_YESNO 0x00000004 +#define MB_RETRYCANCEL 0x00000005 +#define MB_CANCELTRYCONTINUE 0x00000006 +#define MB_TYPEMASK 0x0000000F + +#define MB_ICONHAND 0x00000010 +#define MB_ICONQUESTION 0x00000020 +#define MB_ICONEXCLAMATION 0x00000030 +#define MB_ICONASTERISK 0x00000040 +#define MB_USERICON 0x00000080 +#define MB_ICONMASK 0x000000F0 + +#define MB_ICONINFORMATION MB_ICONASTERISK +#define MB_ICONSTOP MB_ICONHAND +#define MB_ICONWARNING MB_ICONEXCLAMATION +#define MB_ICONERROR MB_ICONHAND + +#define MB_DEFBUTTON1 0x00000000 +#define MB_DEFBUTTON2 0x00000100 +#define MB_DEFBUTTON3 0x00000200 +#define MB_DEFBUTTON4 0x00000300 +#define MB_DEFMASK 0x00000F00 + +#define MB_APPLMODAL 0x00000000 +#define MB_SYSTEMMODAL 0x00001000 +#define MB_TASKMODAL 0x00002000 +#define MB_MODEMASK 0x00003000 + +#define MB_HELP 0x00004000 +#define MB_NOFOCUS 0x00008000 +#define MB_MISCMASK 0x0000C000 + +#define MB_SETFOREGROUND 0x00010000 +#define MB_DEFAULT_DESKTOP_ONLY 0x00020000 +#define MB_SERVICE_NOTIFICATION 0x00040000 +#define MB_TOPMOST 0x00040000 +#define MB_RIGHT 0x00080000 +#define MB_RTLREADING 0x00100000 + +#define HELPINFO_WINDOW 0x0001 +#define HELPINFO_MENUITEM 0x0002 + +/* Structure pointed to by lParam of WM_HELP */ +typedef struct tagHELPINFO +{ + UINT cbSize; /* Size in bytes of this struct */ + INT iContextType; /* Either HELPINFO_WINDOW or HELPINFO_MENUITEM */ + INT iCtrlId; /* Control Id or a Menu item Id. */ + HANDLE hItemHandle; /* hWnd of control or hMenu. */ + DWORD_PTR dwContextId; /* Context Id associated with this item */ + POINT MousePos; /* Mouse Position in screen co-ordinates */ +} HELPINFO,*LPHELPINFO; + +typedef void (CALLBACK *MSGBOXCALLBACK)(LPHELPINFO lpHelpInfo); + +typedef struct tagMSGBOXPARAMSA +{ + UINT cbSize; + HWND hwndOwner; + HINSTANCE hInstance; + LPCSTR lpszText; + LPCSTR lpszCaption; + DWORD dwStyle; + LPCSTR lpszIcon; + DWORD_PTR dwContextHelpId; + MSGBOXCALLBACK lpfnMsgBoxCallback; + DWORD dwLanguageId; +} MSGBOXPARAMSA, *PMSGBOXPARAMSA, *LPMSGBOXPARAMSA; + +typedef struct tagMSGBOXPARAMSW +{ + UINT cbSize; + HWND hwndOwner; + HINSTANCE hInstance; + LPCWSTR lpszText; + LPCWSTR lpszCaption; + DWORD dwStyle; + LPCWSTR lpszIcon; + DWORD_PTR dwContextHelpId; + MSGBOXCALLBACK lpfnMsgBoxCallback; + DWORD dwLanguageId; +} MSGBOXPARAMSW, *PMSGBOXPARAMSW, *LPMSGBOXPARAMSW; + +DECL_WINELIB_TYPE_AW(MSGBOXPARAMS) +DECL_WINELIB_TYPE_AW(PMSGBOXPARAMS) +DECL_WINELIB_TYPE_AW(LPMSGBOXPARAMS) + +#define MONITOR_DEFAULTTONULL 0x00000000 +#define MONITOR_DEFAULTTOPRIMARY 0x00000001 +#define MONITOR_DEFAULTTONEAREST 0x00000002 + +#define MONITORINFOF_PRIMARY 0x00000001 + +#ifndef CCHDEVICENAME +#define CCHDEVICENAME 32 +#endif + +typedef struct tagMONITORINFO +{ + DWORD cbSize; + RECT rcMonitor; + RECT rcWork; + DWORD dwFlags; +} MONITORINFO, *LPMONITORINFO; + +typedef struct tagMONITORINFOEXA +{ /* the 4 first entries are the same as MONITORINFO */ + DWORD cbSize; + RECT rcMonitor; + RECT rcWork; + DWORD dwFlags; + CHAR szDevice[CCHDEVICENAME]; +} MONITORINFOEXA, *LPMONITORINFOEXA; + +typedef struct tagMONITORINFOEXW +{ /* the 4 first entries are the same as MONITORINFO */ + DWORD cbSize; + RECT rcMonitor; + RECT rcWork; + DWORD dwFlags; + WCHAR szDevice[CCHDEVICENAME]; +} MONITORINFOEXW, *LPMONITORINFOEXW; + +DECL_WINELIB_TYPE_AW(MONITORINFOEX) +DECL_WINELIB_TYPE_AW(LPMONITORINFOEX) + +typedef BOOL (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM); + +#include + +typedef struct tagDLGTEMPLATE +{ + DWORD style; + DWORD dwExtendedStyle; + WORD cdit; + short x; + short y; + short cx; + short cy; +} DLGTEMPLATE; + +typedef DLGTEMPLATE *LPDLGTEMPLATEA; +typedef DLGTEMPLATE *LPDLGTEMPLATEW; +DECL_WINELIB_TYPE_AW(LPDLGTEMPLATE) +typedef const DLGTEMPLATE *LPCDLGTEMPLATEA; +typedef const DLGTEMPLATE *LPCDLGTEMPLATEW; +DECL_WINELIB_TYPE_AW(LPCDLGTEMPLATE) + +typedef struct tagDLGITEMTEMPLATE +{ + DWORD style; + DWORD dwExtendedStyle; + short x; + short y; + short cx; + short cy; + WORD id; +} DLGITEMTEMPLATE; + +typedef DLGITEMTEMPLATE *PDLGITEMTEMPLATEA; +typedef DLGITEMTEMPLATE *PDLGITEMTEMPLATEW; +DECL_WINELIB_TYPE_AW(PDLGITEMTEMPLATE) +typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEA; +typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEW; +DECL_WINELIB_TYPE_AW(LPDLGITEMTEMPLATE) + +#include + + /* CBT hook values */ +#define HCBT_MOVESIZE 0 +#define HCBT_MINMAX 1 +#define HCBT_QS 2 +#define HCBT_CREATEWND 3 +#define HCBT_DESTROYWND 4 +#define HCBT_ACTIVATE 5 +#define HCBT_CLICKSKIPPED 6 +#define HCBT_KEYSKIPPED 7 +#define HCBT_SYSCOMMAND 8 +#define HCBT_SETFOCUS 9 + + /* CBT hook structures */ + +typedef struct tagCBT_CREATEWNDA +{ + CREATESTRUCTA *lpcs; + HWND hwndInsertAfter; +} CBT_CREATEWNDA, *LPCBT_CREATEWNDA; + +typedef struct tagCBT_CREATEWNDW +{ + CREATESTRUCTW *lpcs; + HWND hwndInsertAfter; +} CBT_CREATEWNDW, *LPCBT_CREATEWNDW; + +DECL_WINELIB_TYPE_AW(CBT_CREATEWND) +DECL_WINELIB_TYPE_AW(LPCBT_CREATEWND) + +typedef struct tagCBTACTIVATESTRUCT +{ + BOOL fMouse; + HWND hWndActive; +} CBTACTIVATESTRUCT, *LPCBTACTIVATESTRUCT; + + +/* modifiers for RegisterHotKey */ +#define MOD_ALT 0x0001 +#define MOD_CONTROL 0x0002 +#define MOD_SHIFT 0x0004 +#define MOD_WIN 0x0008 + +/* ids for RegisterHotKey */ +#define IDHOT_SNAPWINDOW (-1) /* SHIFT-PRINTSCRN */ +#define IDHOT_SNAPDESKTOP (-2) /* PRINTSCRN */ + + /* keybd_event flags */ +#define KEYEVENTF_EXTENDEDKEY 0x0001 +#define KEYEVENTF_KEYUP 0x0002 +#define KEYEVENTF_UNICODE 0x0004 +#define KEYEVENTF_SCANCODE 0x0008 + + /* mouse_event flags */ +#define MOUSEEVENTF_MOVE 0x0001 +#define MOUSEEVENTF_LEFTDOWN 0x0002 +#define MOUSEEVENTF_LEFTUP 0x0004 +#define MOUSEEVENTF_RIGHTDOWN 0x0008 +#define MOUSEEVENTF_RIGHTUP 0x0010 +#define MOUSEEVENTF_MIDDLEDOWN 0x0020 +#define MOUSEEVENTF_MIDDLEUP 0x0040 +#define MOUSEEVENTF_XDOWN 0x0080 +#define MOUSEEVENTF_XUP 0x0100 +#define MOUSEEVENTF_WHEEL 0x0800 +#define MOUSEEVENTF_HWHEEL 0x1000 +#define MOUSEEVENTF_MOVE_NOCOALESCE 0x2000 +#define MOUSEEVENTF_VIRTUALDESK 0x4000 +#define MOUSEEVENTF_ABSOLUTE 0x8000 + +/* ExitWindows() flags */ +#define EW_RESTARTWINDOWS 0x0042 +#define EW_REBOOTSYSTEM 0x0043 +#define EW_EXITANDEXECAPP 0x0044 + +/* ExitWindowsEx() flags */ +#define EWX_LOGOFF 0 +#define EWX_SHUTDOWN 1 +#define EWX_REBOOT 2 +#define EWX_FORCE 4 +#define EWX_POWEROFF 8 +#define EWX_FORCEIFHUNG 16 + +/* SetLastErrorEx types */ +#define SLE_ERROR 0x00000001 +#define SLE_MINORERROR 0x00000002 +#define SLE_WARNING 0x00000003 + +/* Predefined resources */ +#define IDI_APPLICATION MAKEINTRESOURCE(32512) +#define IDI_HAND MAKEINTRESOURCE(32513) +#define IDI_QUESTION MAKEINTRESOURCE(32514) +#define IDI_EXCLAMATION MAKEINTRESOURCE(32515) +#define IDI_ASTERISK MAKEINTRESOURCE(32516) +#define IDI_WINLOGO MAKEINTRESOURCE(32517) + +#define IDI_WARNING IDI_EXCLAMATION +#define IDI_ERROR IDI_HAND +#define IDI_INFORMATION IDI_ASTERISK + +#define IDC_ARROW MAKEINTRESOURCE(32512) +#define IDC_IBEAM MAKEINTRESOURCE(32513) +#define IDC_WAIT MAKEINTRESOURCE(32514) +#define IDC_CROSS MAKEINTRESOURCE(32515) +#define IDC_UPARROW MAKEINTRESOURCE(32516) +#define IDC_PEN MAKEINTRESOURCE(32631) +#define IDC_SIZE MAKEINTRESOURCE(32640) +#define IDC_ICON MAKEINTRESOURCE(32641) +#define IDC_SIZENWSE MAKEINTRESOURCE(32642) +#define IDC_SIZENESW MAKEINTRESOURCE(32643) +#define IDC_SIZEWE MAKEINTRESOURCE(32644) +#define IDC_SIZENS MAKEINTRESOURCE(32645) +#define IDC_SIZEALL MAKEINTRESOURCE(32646) +#define IDC_NO MAKEINTRESOURCE(32648) +#define IDC_HAND MAKEINTRESOURCE(32649) +#define IDC_APPSTARTING MAKEINTRESOURCE(32650) +#define IDC_HELP MAKEINTRESOURCE(32651) + +#define MNC_IGNORE 0 +#define MNC_CLOSE 1 +#define MNC_EXECUTE 2 +#define MNC_SELECT 3 + +/* SystemParametersInfo */ +#define SPI_GETBEEP 1 +#define SPI_SETBEEP 2 +#define SPI_GETMOUSE 3 +#define SPI_SETMOUSE 4 +#define SPI_GETBORDER 5 +#define SPI_SETBORDER 6 +#define SPI_GETKEYBOARDSPEED 10 +#define SPI_SETKEYBOARDSPEED 11 +#define SPI_LANGDRIVER 12 +#define SPI_ICONHORIZONTALSPACING 13 +#define SPI_GETSCREENSAVETIMEOUT 14 +#define SPI_SETSCREENSAVETIMEOUT 15 +#define SPI_GETSCREENSAVEACTIVE 16 +#define SPI_SETSCREENSAVEACTIVE 17 +#define SPI_GETGRIDGRANULARITY 18 +#define SPI_SETGRIDGRANULARITY 19 +#define SPI_SETDESKWALLPAPER 20 +#define SPI_SETDESKPATTERN 21 +#define SPI_GETKEYBOARDDELAY 22 +#define SPI_SETKEYBOARDDELAY 23 +#define SPI_ICONVERTICALSPACING 24 +#define SPI_GETICONTITLEWRAP 25 +#define SPI_SETICONTITLEWRAP 26 +#define SPI_GETMENUDROPALIGNMENT 27 +#define SPI_SETMENUDROPALIGNMENT 28 +#define SPI_SETDOUBLECLKWIDTH 29 +#define SPI_SETDOUBLECLKHEIGHT 30 +#define SPI_GETICONTITLELOGFONT 31 +#define SPI_SETDOUBLECLICKTIME 32 +#define SPI_SETMOUSEBUTTONSWAP 33 +#define SPI_SETICONTITLELOGFONT 34 +#define SPI_GETFASTTASKSWITCH 35 +#define SPI_SETFASTTASKSWITCH 36 +#define SPI_SETDRAGFULLWINDOWS 37 +#define SPI_GETDRAGFULLWINDOWS 38 +#define SPI_GETNONCLIENTMETRICS 41 +#define SPI_SETNONCLIENTMETRICS 42 +#define SPI_GETMINIMIZEDMETRICS 43 +#define SPI_SETMINIMIZEDMETRICS 44 +#define SPI_GETICONMETRICS 45 +#define SPI_SETICONMETRICS 46 +#define SPI_SETWORKAREA 47 +#define SPI_GETWORKAREA 48 +#define SPI_SETPENWINDOWS 49 +#define SPI_GETFILTERKEYS 50 +#define SPI_SETFILTERKEYS 51 +#define SPI_GETTOGGLEKEYS 52 +#define SPI_SETTOGGLEKEYS 53 +#define SPI_GETMOUSEKEYS 54 +#define SPI_SETMOUSEKEYS 55 +#define SPI_GETSHOWSOUNDS 56 +#define SPI_SETSHOWSOUNDS 57 +#define SPI_GETSTICKYKEYS 58 +#define SPI_SETSTICKYKEYS 59 +#define SPI_GETACCESSTIMEOUT 60 +#define SPI_SETACCESSTIMEOUT 61 +#define SPI_GETSERIALKEYS 62 +#define SPI_SETSERIALKEYS 63 +#define SPI_GETSOUNDSENTRY 64 +#define SPI_SETSOUNDSENTRY 65 +#define SPI_GETHIGHCONTRAST 66 +#define SPI_SETHIGHCONTRAST 67 +#define SPI_GETKEYBOARDPREF 68 +#define SPI_SETKEYBOARDPREF 69 +#define SPI_GETSCREENREADER 70 +#define SPI_SETSCREENREADER 71 +#define SPI_GETANIMATION 72 +#define SPI_SETANIMATION 73 +#define SPI_GETFONTSMOOTHING 74 +#define SPI_SETFONTSMOOTHING 75 +#define SPI_SETDRAGWIDTH 76 +#define SPI_SETDRAGHEIGHT 77 +#define SPI_SETHANDHELD 78 +#define SPI_GETLOWPOWERTIMEOUT 79 +#define SPI_GETPOWEROFFTIMEOUT 80 +#define SPI_SETLOWPOWERTIMEOUT 81 +#define SPI_SETPOWEROFFTIMEOUT 82 +#define SPI_GETLOWPOWERACTIVE 83 +#define SPI_GETPOWEROFFACTIVE 84 +#define SPI_SETLOWPOWERACTIVE 85 +#define SPI_SETPOWEROFFACTIVE 86 +#define SPI_SETCURSORS 87 +#define SPI_SETICONS 88 +#define SPI_GETDEFAULTINPUTLANG 89 +#define SPI_SETDEFAULTINPUTLANG 90 +#define SPI_SETLANGTOGGLE 91 +#define SPI_GETWINDOWSEXTENSION 92 +#define SPI_SETMOUSETRAILS 93 +#define SPI_GETMOUSETRAILS 94 +#define SPI_GETSNAPTODEFBUTTON 95 +#define SPI_SETSNAPTODEFBUTTON 96 +#define SPI_SETSCREENSAVERRUNNING 97 +#define SPI_SCREENSAVERRUNNING SPI_SETSCREENSAVERRUNNING +#define SPI_GETMOUSEHOVERWIDTH 98 +#define SPI_SETMOUSEHOVERWIDTH 99 +#define SPI_GETMOUSEHOVERHEIGHT 100 +#define SPI_SETMOUSEHOVERHEIGHT 101 +#define SPI_GETMOUSEHOVERTIME 102 +#define SPI_SETMOUSEHOVERTIME 103 +#define SPI_GETWHEELSCROLLLINES 104 +#define SPI_SETWHEELSCROLLLINES 105 +#define SPI_GETMENUSHOWDELAY 106 +#define SPI_SETMENUSHOWDELAY 107 +#define SPI_GETWHEELSCROLLCHARS 108 +#define SPI_SETWHEELSCROLLCHARS 109 +#define SPI_GETSHOWIMEUI 110 +#define SPI_SETSHOWIMEUI 111 +#define SPI_GETMOUSESPEED 112 +#define SPI_SETMOUSESPEED 113 +#define SPI_GETSCREENSAVERRUNNING 114 +#define SPI_GETDESKWALLPAPER 115 + +#define SPI_GETACTIVEWINDOWTRACKING 0x1000 +#define SPI_SETACTIVEWINDOWTRACKING 0x1001 +#define SPI_GETMENUANIMATION 0x1002 +#define SPI_SETMENUANIMATION 0x1003 +#define SPI_GETCOMBOBOXANIMATION 0x1004 +#define SPI_SETCOMBOBOXANIMATION 0x1005 +#define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006 +#define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007 +#define SPI_GETGRADIENTCAPTIONS 0x1008 +#define SPI_SETGRADIENTCAPTIONS 0x1009 +#define SPI_GETKEYBOARDCUES 0x100A +#define SPI_SETKEYBOARDCUES 0x100B +#define SPI_GETMENUUNDERLINES SPI_GETKEYBOARDCUES +#define SPI_SETMENUUNDERLINES SPI_SETKEYBOARDCUES +#define SPI_GETACTIVEWNDTRKZORDER 0x100C +#define SPI_SETACTIVEWNDTRKZORDER 0x100D +#define SPI_GETHOTTRACKING 0x100E +#define SPI_SETHOTTRACKING 0x100F +#define SPI_GETMENUFADE 0x1012 +#define SPI_SETMENUFADE 0x1013 +#define SPI_GETSELECTIONFADE 0x1014 +#define SPI_SETSELECTIONFADE 0x1015 +#define SPI_GETTOOLTIPANIMATION 0x1016 +#define SPI_SETTOOLTIPANIMATION 0x1017 +#define SPI_GETTOOLTIPFADE 0x1018 +#define SPI_SETTOOLTIPFADE 0x1019 +#define SPI_GETCURSORSHADOW 0x101A +#define SPI_SETCURSORSHADOW 0x101B +#define SPI_GETMOUSESONAR 0x101C +#define SPI_SETMOUSESONAR 0x101D +#define SPI_GETMOUSECLICKLOCK 0x101E +#define SPI_SETMOUSECLICKLOCK 0x101F +#define SPI_GETMOUSEVANISH 0x1020 +#define SPI_SETMOUSEVANISH 0x1021 +#define SPI_GETFLATMENU 0x1022 +#define SPI_SETFLATMENU 0x1023 +#define SPI_GETDROPSHADOW 0x1024 +#define SPI_SETDROPSHADOW 0x1025 +#define SPI_GETBLOCKSENDINPUTRESETS 0x1026 +#define SPI_SETBLOCKSENDINPUTRESETS 0x1027 +#define SPI_GETUIEFFECTS 0x103E +#define SPI_SETUIEFFECTS 0x103F +#define SPI_GETDISABLEOVERLAPPEDCONTENT 0x1040 +#define SPI_SETDISABLEOVERLAPPEDCONTENT 0x1041 +#define SPI_GETCLIENTAREAANIMATION 0x1042 +#define SPI_SETCLIENTAREAANIMATION 0x1043 +#define SPI_GETCLEARTYPE 0x1048 +#define SPI_SETCLEARTYPE 0x1049 +#define SPI_GETSPEECHRECOGNITION 0x104A +#define SPI_SETSPEECHRECOGNITION 0x104B +#define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000 +#define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001 +#define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002 +#define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003 +#define SPI_GETFOREGROUNDFLASHCOUNT 0x2004 +#define SPI_SETFOREGROUNDFLASHCOUNT 0x2005 +#define SPI_GETCARETWIDTH 0x2006 +#define SPI_SETCARETWIDTH 0x2007 +#define SPI_GETMOUSECLICKLOCKTIME 0x2008 +#define SPI_SETMOUSECLICKLOCKTIME 0x2009 +#define SPI_GETFONTSMOOTHINGTYPE 0x200A +#define SPI_SETFONTSMOOTHINGTYPE 0x200B +#define SPI_GETFONTSMOOTHINGCONTRAST 0x200C +#define SPI_SETFONTSMOOTHINGCONTRAST 0x200D +#define SPI_GETFOCUSBORDERWIDTH 0x200E +#define SPI_SETFOCUSBORDERWIDTH 0x200F +#define SPI_GETFOCUSBORDERHEIGHT 0x2010 +#define SPI_SETFOCUSBORDERHEIGHT 0x2011 +#define SPI_GETFONTSMOOTHINGORIENTATION 0x2012 +#define SPI_SETFONTSMOOTHINGORIENTATION 0x2013 + +#define FE_FONTSMOOTHINGSTANDARD 0x0001 +#define FE_FONTSMOOTHINGCLEARTYPE 0x0002 +#define FE_FONTSMOOTHINGDOCKING 0x8000 + +#define FE_FONTSMOOTHINGORIENTATIONBGR 0x0000 +#define FE_FONTSMOOTHINGORIENTATIONRGB 0x0001 + +#define SETWALLPAPER_DEFAULT ((LPWSTR)-1) + +/* SystemParametersInfo flags */ + +#define SPIF_UPDATEINIFILE 1 +#define SPIF_SENDWININICHANGE 2 +#define SPIF_SENDCHANGE SPIF_SENDWININICHANGE + +#if defined(_WINGDI_) && !defined(NOGDI) +typedef struct tagNONCLIENTMETRICSA { + UINT cbSize; + INT iBorderWidth; + INT iScrollWidth; + INT iScrollHeight; + INT iCaptionWidth; + INT iCaptionHeight; + LOGFONTA lfCaptionFont; + INT iSmCaptionWidth; + INT iSmCaptionHeight; + LOGFONTA lfSmCaptionFont; + INT iMenuWidth; + INT iMenuHeight; + LOGFONTA lfMenuFont; + LOGFONTA lfStatusFont; + LOGFONTA lfMessageFont; + INT iPaddedBorderWidth; +} NONCLIENTMETRICSA, *PNONCLIENTMETRICSA, *LPNONCLIENTMETRICSA; + +typedef struct tagNONCLIENTMETRICSW { + UINT cbSize; + INT iBorderWidth; + INT iScrollWidth; + INT iScrollHeight; + INT iCaptionWidth; + INT iCaptionHeight; + LOGFONTW lfCaptionFont; + INT iSmCaptionWidth; + INT iSmCaptionHeight; + LOGFONTW lfSmCaptionFont; + INT iMenuWidth; + INT iMenuHeight; + LOGFONTW lfMenuFont; + LOGFONTW lfStatusFont; + LOGFONTW lfMessageFont; + INT iPaddedBorderWidth; +} NONCLIENTMETRICSW, *PNONCLIENTMETRICSW, *LPNONCLIENTMETRICSW; + +DECL_WINELIB_TYPE_AW(NONCLIENTMETRICS) +DECL_WINELIB_TYPE_AW(PNONCLIENTMETRICS) +DECL_WINELIB_TYPE_AW(LPNONCLIENTMETRICS) + +typedef struct tagICONMETRICSA { + UINT cbSize; + int iHorzSpacing; + int iVertSpacing; + int iTitleWrap; + LOGFONTA lfFont; +} ICONMETRICSA, *PICONMETRICSA, *LPICONMETRICSA; + +typedef struct tagICONMETRICSW { + UINT cbSize; + int iHorzSpacing; + int iVertSpacing; + int iTitleWrap; + LOGFONTW lfFont; +} ICONMETRICSW, *PICONMETRICSW, *LPICONMETRICSW; + +DECL_WINELIB_TYPE_AW(ICONMETRICS) +DECL_WINELIB_TYPE_AW(PICONMETRICS) +DECL_WINELIB_TYPE_AW(LPICONMETRICS) + +typedef struct tagUPDATELAYEREDWINDOWINFO +{ + DWORD cbSize; + HDC hdcDst; + POINT const* pptDst; + SIZE const* psize; + HDC hdcSrc; + POINT const* pptSrc; + COLORREF crKey; + BLENDFUNCTION const* pblend; + DWORD dwFlags; + RECT const* prcDirty; +} UPDATELAYEREDWINDOWINFO, *PUPDATELAYEREDWINDOWINFO; + +#endif /* defined(_WINGDI_) && !defined(NOGDI) */ + +#define ARW_BOTTOMLEFT __MSABI_LONG(0x0000) +#define ARW_BOTTOMRIGHT __MSABI_LONG(0x0001) +#define ARW_TOPLEFT __MSABI_LONG(0x0002) +#define ARW_TOPRIGHT __MSABI_LONG(0x0003) +#define ARW_STARTMASK __MSABI_LONG(0x0003) +#define ARW_STARTRIGHT __MSABI_LONG(0x0001) +#define ARW_STARTTOP __MSABI_LONG(0x0002) + +#define ARW_LEFT __MSABI_LONG(0x0000) +#define ARW_RIGHT __MSABI_LONG(0x0000) +#define ARW_UP __MSABI_LONG(0x0004) +#define ARW_DOWN __MSABI_LONG(0x0004) +#define ARW_HIDE __MSABI_LONG(0x0008) + +typedef struct tagMINIMIZEDMETRICS { + UINT cbSize; + int iWidth; + int iHorzGap; + int iVertGap; + int iArrange; +} MINIMIZEDMETRICS, *PMINIMIZEDMETRICS, *LPMINIMIZEDMETRICS; + + +/* Window scrolling */ +#define SW_SCROLLCHILDREN 0x0001 +#define SW_INVALIDATE 0x0002 +#define SW_ERASE 0x0004 + +/* CreateWindow() coordinates */ +#define CW_USEDEFAULT ((INT)0x80000000) + +/* ChildWindowFromPointEx Flags */ +#define CWP_ALL 0x0000 +#define CWP_SKIPINVISIBLE 0x0001 +#define CWP_SKIPDISABLED 0x0002 +#define CWP_SKIPTRANSPARENT 0x0004 + + /* PeekMessage() options */ +#define PM_NOREMOVE 0x0000 +#define PM_REMOVE 0x0001 +#define PM_NOYIELD 0x0002 +#define PM_QS_INPUT (QS_INPUT << 16) +#define PM_QS_POSTMESSAGE ((QS_POSTMESSAGE | QS_HOTKEY | QS_TIMER) << 16) +#define PM_QS_PAINT (QS_PAINT << 16) +#define PM_QS_SENDMESSAGE (QS_SENDMESSAGE << 16) + +/* SetTimer() limits */ +#define USER_TIMER_MINIMUM 0x0000000A +#define USER_TIMER_MAXIMUM 0x7FFFFFFF + +/* SetCoalescableTimer() tolerances */ +#define TIMERV_DEFAULT_COALESCING 0 +#define TIMERV_NO_COALESCING 0xFFFFFFFF +#define TIMERV_COALESCING_MIN 1 +#define TIMERV_COALESCING_MAX 0x7FFFFFF5 + +/* AnimateWindow() flags */ +#define AW_SLIDE 0x00040000 +#define AW_ACTIVATE 0x00020000 +#define AW_BLEND 0x00080000 +#define AW_HIDE 0x00010000 +#define AW_CENTER 0x00000010 +#define AW_HOR_POSITIVE 0x00000001 +#define AW_HOR_NEGATIVE 0x00000002 +#define AW_VER_POSITIVE 0x00000004 +#define AW_VER_NEGATIVE 0x00000008 + +/* FlashWindowEx() flags */ +#define FLASHW_STOP 0x00000000 +#define FLASHW_CAPTION 0x00000001 +#define FLASHW_TRAY 0x00000002 +#define FLASHW_ALL (FLASHW_CAPTION|FLASHW_TRAY) +#define FLASHW_TIMER 0x00000004 +#define FLASHW_TIMERNOFG 0x0000000C + +typedef struct { + UINT cbSize; + HWND hwnd; + DWORD dwFlags; + UINT uCount; + DWORD dwTimeout; +} FLASHWINFO, *PFLASHWINFO; + +/* SetLayeredWindowAttributes() flags */ +#define LWA_COLORKEY 0x00000001 +#define LWA_ALPHA 0x00000002 + +/* UpdateLayeredWindow() flags */ +#define ULW_COLORKEY 0x00000001 +#define ULW_ALPHA 0x00000002 +#define ULW_OPAQUE 0x00000004 +#define ULW_EX_NORESIZE 0x00000008 + +/* SetWindowPos() and WINDOWPOS flags */ +#define SWP_NOSIZE 0x0001 +#define SWP_NOMOVE 0x0002 +#define SWP_NOZORDER 0x0004 +#define SWP_NOREDRAW 0x0008 +#define SWP_NOACTIVATE 0x0010 +#define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */ +#define SWP_SHOWWINDOW 0x0040 +#define SWP_HIDEWINDOW 0x0080 +#define SWP_NOCOPYBITS 0x0100 +#define SWP_NOOWNERZORDER 0x0200 /* Don't do owner Z ordering */ + +#define SWP_DRAWFRAME SWP_FRAMECHANGED +#define SWP_NOREPOSITION SWP_NOOWNERZORDER + +#define SWP_NOSENDCHANGING 0x0400 +#define SWP_DEFERERASE 0x2000 +#define SWP_ASYNCWINDOWPOS 0x4000 + +/* undocumented SWP flags - from SDK 3.1 */ +#define SWP_NOCLIENTSIZE 0x0800 +#define SWP_NOCLIENTMOVE 0x1000 +#define SWP_STATECHANGED 0x8000 + +#define HWND_DESKTOP ((HWND)0) +#define HWND_BROADCAST ((HWND)0xffff) + +/* SetWindowPos() hwndInsertAfter field values */ +#define HWND_TOP ((HWND)0) +#define HWND_BOTTOM ((HWND)1) +#define HWND_TOPMOST ((HWND)-1) +#define HWND_NOTOPMOST ((HWND)-2) +#define HWND_MESSAGE ((HWND)-3) + +/* GetDCEx flags */ +#define DCX_WINDOW 0x00000001 +#define DCX_CACHE 0x00000002 +#define DCX_NORESETATTRS 0x00000004 +#define DCX_CLIPCHILDREN 0x00000008 +#define DCX_CLIPSIBLINGS 0x00000010 +#define DCX_PARENTCLIP 0x00000020 +#define DCX_EXCLUDERGN 0x00000040 +#define DCX_INTERSECTRGN 0x00000080 +#define DCX_EXCLUDEUPDATE 0x00000100 +#define DCX_INTERSECTUPDATE 0x00000200 +#define DCX_LOCKWINDOWUPDATE 0x00000400 +#define DCX_USESTYLE 0x00010000 +#define DCX_NORECOMPUTE 0x00100000 +#define DCX_VALIDATE 0x00200000 + + + +/* for GetMenuDefaultItem */ +#define GMDI_USEDISABLED __MSABI_LONG(0x0001) +#define GMDI_GOINTOPOPUPS __MSABI_LONG(0x0002) + +/* DrawText() flags */ +#define DT_TOP 0x00000000 +#define DT_LEFT 0x00000000 +#define DT_CENTER 0x00000001 +#define DT_RIGHT 0x00000002 +#define DT_VCENTER 0x00000004 +#define DT_BOTTOM 0x00000008 +#define DT_WORDBREAK 0x00000010 +#define DT_SINGLELINE 0x00000020 +#define DT_EXPANDTABS 0x00000040 +#define DT_TABSTOP 0x00000080 +#define DT_NOCLIP 0x00000100 +#define DT_EXTERNALLEADING 0x00000200 +#define DT_CALCRECT 0x00000400 +#define DT_NOPREFIX 0x00000800 +#define DT_INTERNAL 0x00001000 +#define DT_EDITCONTROL 0x00002000 +#define DT_PATH_ELLIPSIS 0x00004000 +#define DT_END_ELLIPSIS 0x00008000 +#define DT_MODIFYSTRING 0x00010000 +#define DT_RTLREADING 0x00020000 +#define DT_WORD_ELLIPSIS 0x00040000 +#define DT_NOFULLWIDTHCHARBREAK 0x00080000 +#define DT_HIDEPREFIX 0x00100000 +#define DT_PREFIXONLY 0x00200000 + +/* DrawCaption()/DrawCaptionTemp() flags */ +#define DC_ACTIVE 0x0001 +#define DC_SMALLCAP 0x0002 +#define DC_ICON 0x0004 +#define DC_TEXT 0x0008 +#define DC_INBUTTON 0x0010 +#define DC_GRADIENT 0x0020 +#define DC_BUTTONS 0x1000 + +/* DrawEdge() flags */ +#define BDR_RAISEDOUTER 0x0001 +#define BDR_SUNKENOUTER 0x0002 +#define BDR_RAISEDINNER 0x0004 +#define BDR_SUNKENINNER 0x0008 + +#define BDR_OUTER 0x0003 +#define BDR_INNER 0x000c +#define BDR_RAISED 0x0005 +#define BDR_SUNKEN 0x000a + +#define EDGE_RAISED (BDR_RAISEDOUTER | BDR_RAISEDINNER) +#define EDGE_SUNKEN (BDR_SUNKENOUTER | BDR_SUNKENINNER) +#define EDGE_ETCHED (BDR_SUNKENOUTER | BDR_RAISEDINNER) +#define EDGE_BUMP (BDR_RAISEDOUTER | BDR_SUNKENINNER) + +/* border flags */ +#define BF_LEFT 0x0001 +#define BF_TOP 0x0002 +#define BF_RIGHT 0x0004 +#define BF_BOTTOM 0x0008 +#define BF_DIAGONAL 0x0010 +#define BF_MIDDLE 0x0800 /* Fill in the middle */ +#define BF_SOFT 0x1000 /* For softer buttons */ +#define BF_ADJUST 0x2000 /* Calculate the space left over */ +#define BF_FLAT 0x4000 /* For flat rather than 3D borders */ +#define BF_MONO 0x8000 /* For monochrome borders */ +#define BF_TOPLEFT (BF_TOP | BF_LEFT) +#define BF_TOPRIGHT (BF_TOP | BF_RIGHT) +#define BF_BOTTOMLEFT (BF_BOTTOM | BF_LEFT) +#define BF_BOTTOMRIGHT (BF_BOTTOM | BF_RIGHT) +#define BF_RECT (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM) +#define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL | BF_TOP | BF_RIGHT) +#define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL | BF_TOP | BF_LEFT) +#define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL | BF_BOTTOM | BF_LEFT) +#define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT) + +/* DrawFrameControl() uType's */ + +#define DFC_CAPTION 1 +#define DFC_MENU 2 +#define DFC_SCROLL 3 +#define DFC_BUTTON 4 +#define DFC_POPUPMENU 5 + +/* uState's */ + +#define DFCS_CAPTIONCLOSE 0x0000 +#define DFCS_CAPTIONMIN 0x0001 +#define DFCS_CAPTIONMAX 0x0002 +#define DFCS_CAPTIONRESTORE 0x0003 +#define DFCS_CAPTIONHELP 0x0004 /* Windows 95 only */ + +#define DFCS_MENUARROW 0x0000 +#define DFCS_MENUCHECK 0x0001 +#define DFCS_MENUBULLET 0x0002 +#define DFCS_MENUARROWRIGHT 0x0004 + +#define DFCS_SCROLLUP 0x0000 +#define DFCS_SCROLLDOWN 0x0001 +#define DFCS_SCROLLLEFT 0x0002 +#define DFCS_SCROLLRIGHT 0x0003 +#define DFCS_SCROLLCOMBOBOX 0x0005 +#define DFCS_SCROLLSIZEGRIP 0x0008 +#define DFCS_SCROLLSIZEGRIPRIGHT 0x0010 + +#define DFCS_BUTTONCHECK 0x0000 +#define DFCS_BUTTONRADIOIMAGE 0x0001 +#define DFCS_BUTTONRADIOMASK 0x0002 /* to draw nonsquare button */ +#define DFCS_BUTTONRADIO 0x0004 +#define DFCS_BUTTON3STATE 0x0008 +#define DFCS_BUTTONPUSH 0x0010 + +/* additional state of the control */ + +#define DFCS_INACTIVE 0x0100 +#define DFCS_PUSHED 0x0200 +#define DFCS_CHECKED 0x0400 +#define DFCS_TRANSPARENT 0x0800 +#define DFCS_HOT 0x1000 +#define DFCS_ADJUSTRECT 0x2000 /* exclude surrounding edge */ +#define DFCS_FLAT 0x4000 +#define DFCS_MONO 0x8000 + + +/* Image type */ +#define DST_COMPLEX 0x0000 +#define DST_TEXT 0x0001 +#define DST_PREFIXTEXT 0x0002 +#define DST_ICON 0x0003 +#define DST_BITMAP 0x0004 + +/* State type */ +#define DSS_NORMAL 0x0000 +#define DSS_UNION 0x0010 /* Gray string appearance */ +#define DSS_DISABLED 0x0020 +#define DSS_DEFAULT 0x0040 /* Make it bold */ +#define DSS_MONO 0x0080 +#define DSS_HIDEPREFIX 0x0200 +#define DSS_PREFIXONLY 0x0400 +#define DSS_RIGHT 0x8000 + +/* UserObjectInformation classes */ +#define UOI_FLAGS 1 +#define UOI_NAME 2 +#define UOI_TYPE 3 +#define UOI_USER_SID 4 + + +/* Sent as the lParam of a WM_DRAWITEM message to instruct how an + * owner drawn control is to be drawn */ +typedef struct tagDRAWITEMSTRUCT +{ + UINT CtlType; /* Type of control (ODT_* flags from "winuser.h") */ + UINT CtlID; /* Control ID */ + UINT itemID; /* Menu item ID */ + UINT itemAction; /* Action to perform (ODA_* flags from "winuser.h") */ + UINT itemState; /* Item state (ODS_* flags from "winuser.h") */ + HWND hwndItem; /* Control window */ + HDC hDC; /* Device context to draw to */ + RECT rcItem; /* Position of the control in hDC */ + ULONG_PTR itemData; /* Extra data added by the application, if any */ +} DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT; + + +typedef struct tagMEASUREITEMSTRUCT +{ + UINT CtlType; + UINT CtlID; + UINT itemID; + UINT itemWidth; + UINT itemHeight; + ULONG_PTR itemData; +} MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT; + + +typedef struct tagDELETEITEMSTRUCT +{ + UINT CtlType; + UINT CtlID; + UINT itemID; + HWND hwndItem; + ULONG_PTR itemData; +} DELETEITEMSTRUCT, *PDELETEITEMSTRUCT, *LPDELETEITEMSTRUCT; + + +typedef struct tagCOMPAREITEMSTRUCT +{ + UINT CtlType; + UINT CtlID; + HWND hwndItem; + UINT itemID1; + ULONG_PTR itemData1; + UINT itemID2; + ULONG_PTR itemData2; + DWORD dwLocaleId; +} COMPAREITEMSTRUCT, *PCOMPAREITEMSTRUCT, *LPCOMPAREITEMSTRUCT; + + +/* WM_KEYUP/DOWN/CHAR HIWORD(lParam) flags */ +#define KF_EXTENDED 0x0100 +#define KF_DLGMODE 0x0800 +#define KF_MENUMODE 0x1000 +#define KF_ALTDOWN 0x2000 +#define KF_REPEAT 0x4000 +#define KF_UP 0x8000 + + +/* MapVirtualKey translation types */ +#define MAPVK_VK_TO_VSC 0 +#define MAPVK_VSC_TO_VK 1 +#define MAPVK_VK_TO_CHAR 2 +#define MAPVK_VSC_TO_VK_EX 3 +#define MAPVK_VK_TO_VSC_EX 4 + + + +typedef struct tagTRACKMOUSEEVENT { + DWORD cbSize; + DWORD dwFlags; + HWND hwndTrack; + DWORD dwHoverTime; +} TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT; + + /* Queue status flags */ +#define QS_KEY 0x0001 +#define QS_MOUSEMOVE 0x0002 +#define QS_MOUSEBUTTON 0x0004 +#define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON) +#define QS_POSTMESSAGE 0x0008 +#define QS_TIMER 0x0010 +#define QS_PAINT 0x0020 +#define QS_SENDMESSAGE 0x0040 +#define QS_HOTKEY 0x0080 +#define QS_ALLPOSTMESSAGE 0x0100 +#define QS_RAWINPUT 0x0400 +#define QS_INPUT (QS_MOUSE | QS_KEY | QS_RAWINPUT) +#define QS_ALLEVENTS (QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY) +#define QS_ALLINPUT (QS_ALLEVENTS | QS_SENDMESSAGE) + +/* Extra (undocumented) queue wake bits - see "Undoc. Windows" */ +#define QS_SMRESULT 0x8000 + +/* InSendMessageEx flags */ +#define ISMEX_NOSEND 0x00000000 +#define ISMEX_SEND 0x00000001 +#define ISMEX_NOTIFY 0x00000002 +#define ISMEX_CALLBACK 0x00000004 +#define ISMEX_REPLIED 0x00000008 + +#define DDL_READWRITE 0x0000 +#define DDL_READONLY 0x0001 +#define DDL_HIDDEN 0x0002 +#define DDL_SYSTEM 0x0004 +#define DDL_DIRECTORY 0x0010 +#define DDL_ARCHIVE 0x0020 + +#define DDL_POSTMSGS 0x2000 +#define DDL_DRIVES 0x4000 +#define DDL_EXCLUSIVE 0x8000 + + /* Shell hook values */ +#define HSHELL_WINDOWCREATED 1 +#define HSHELL_WINDOWDESTROYED 2 +#define HSHELL_ACTIVATESHELLWINDOW 3 +#define HSHELL_WINDOWACTIVATED 4 +#define HSHELL_GETMINRECT 5 +#define HSHELL_REDRAW 6 +#define HSHELL_TASKMAN 7 +#define HSHELL_LANGUAGE 8 +#define HSHELL_SYSMENU 9 +#define HSHELL_ENDTASK 10 +#define HSHELL_ACCESSIBILITYSTATE 11 +#define HSHELL_APPCOMMAND 12 +#define HSHELL_WINDOWREPLACED 13 +#define HSHELL_WINDOWREPLACING 14 + +#define HSHELL_HIGHBIT 0x8000 +#define HSHELL_FLASH (HSHELL_REDRAW|HSHELL_HIGHBIT) +#define HSHELL_RUDEAPPACTIVATED (HSHELL_WINDOWACTIVATED|HSHELL_HIGHBIT) + +/* App commands */ +#define APPCOMMAND_BROWSER_BACKWARD 1 +#define APPCOMMAND_BROWSER_FORWARD 2 +#define APPCOMMAND_BROWSER_REFRESH 3 +#define APPCOMMAND_BROWSER_STOP 4 +#define APPCOMMAND_BROWSER_SEARCH 5 +#define APPCOMMAND_BROWSER_FAVORITES 6 +#define APPCOMMAND_BROWSER_HOME 7 +#define APPCOMMAND_VOLUME_MUTE 8 +#define APPCOMMAND_VOLUME_DOWN 9 +#define APPCOMMAND_VOLUME_UP 10 +#define APPCOMMAND_MEDIA_NEXTTRACK 11 +#define APPCOMMAND_MEDIA_PREVIOUSTRACK 12 +#define APPCOMMAND_MEDIA_STOP 13 +#define APPCOMMAND_MEDIA_PLAY_PAUSE 14 +#define APPCOMMAND_LAUNCH_MAIL 15 +#define APPCOMMAND_LAUNCH_MEDIA_SELECT 16 +#define APPCOMMAND_LAUNCH_APP1 17 +#define APPCOMMAND_LAUNCH_APP2 18 +#define APPCOMMAND_BASS_DOWN 19 +#define APPCOMMAND_BASS_BOOST 20 +#define APPCOMMAND_BASS_UP 21 +#define APPCOMMAND_TREBLE_DOWN 22 +#define APPCOMMAND_TREBLE_UP 23 +#define APPCOMMAND_MICROPHONE_VOLUME_MUTE 24 +#define APPCOMMAND_MICROPHONE_VOLUME_DOWN 25 +#define APPCOMMAND_MICROPHONE_VOLUME_UP 26 +#define APPCOMMAND_HELP 27 +#define APPCOMMAND_FIND 28 +#define APPCOMMAND_NEW 29 +#define APPCOMMAND_OPEN 30 +#define APPCOMMAND_CLOSE 31 +#define APPCOMMAND_SAVE 32 +#define APPCOMMAND_PRINT 33 +#define APPCOMMAND_UNDO 34 +#define APPCOMMAND_REDO 35 +#define APPCOMMAND_COPY 36 +#define APPCOMMAND_CUT 37 +#define APPCOMMAND_PASTE 38 +#define APPCOMMAND_REPLY_TO_MAIL 39 +#define APPCOMMAND_FORWARD_MAIL 40 +#define APPCOMMAND_SEND_MAIL 41 +#define APPCOMMAND_SPELL_CHECK 42 +#define APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE 43 +#define APPCOMMAND_MIC_ON_OFF_TOGGLE 44 +#define APPCOMMAND_CORRECTION_LIST 45 +#define APPCOMMAND_MEDIA_PLAY 46 +#define APPCOMMAND_MEDIA_PAUSE 47 +#define APPCOMMAND_MEDIA_RECORD 48 +#define APPCOMMAND_MEDIA_FAST_FORWARD 49 +#define APPCOMMAND_MEDIA_REWIND 50 +#define APPCOMMAND_MEDIA_CHANNEL_UP 51 +#define APPCOMMAND_MEDIA_CHANNEL_DOWN 52 +#define APPCOMMAND_DELETE 53 +#define APPCOMMAND_DWM_FLIP3D 54 + +#define FAPPCOMMAND_MOUSE 0x8000 +#define FAPPCOMMAND_KEY 0 +#define FAPPCOMMAND_OEM 0x1000 +#define FAPPCOMMAND_MASK 0xF000 + +#define GET_APPCOMMAND_LPARAM(lParam) ((short)(HIWORD(lParam) & ~FAPPCOMMAND_MASK)) +#define GET_DEVICE_LPARAM(lParam) ((WORD)(HIWORD(lParam) & FAPPCOMMAND_MASK)) +#define GET_MOUSEORKEY_LPARAM GET_DEVICE_LPARAM +#define GET_FLAGS_LPARAM(lParam) (LOWORD(lParam)) +#define GET_KEYSTATE_LPARAM(lParam) GET_FLAGS_LPARAM(lParam) + + +/* types of LoadImage */ +#define IMAGE_BITMAP 0 +#define IMAGE_ICON 1 +#define IMAGE_CURSOR 2 +#define IMAGE_ENHMETAFILE 3 + +/* loadflags to LoadImage */ +#define LR_DEFAULTCOLOR 0x0000 +#define LR_MONOCHROME 0x0001 +#define LR_COLOR 0x0002 +#define LR_COPYRETURNORG 0x0004 +#define LR_COPYDELETEORG 0x0008 +#define LR_LOADFROMFILE 0x0010 +#define LR_LOADTRANSPARENT 0x0020 +#define LR_DEFAULTSIZE 0x0040 +#define LR_VGA_COLOR 0x0080 +#define LR_LOADMAP3DCOLORS 0x1000 +#define LR_CREATEDIBSECTION 0x2000 +#define LR_COPYFROMRESOURCE 0x4000 +#define LR_SHARED 0x8000 + +/* Flags for DrawIconEx. */ +#define DI_MASK 0x0001 +#define DI_IMAGE 0x0002 +#define DI_NORMAL (DI_MASK | DI_IMAGE) +#define DI_COMPAT 0x0004 +#define DI_DEFAULTSIZE 0x0008 +#define DI_NOMIRROR 0x0010 + +/* RegisterDeviceNotification stuff */ +typedef PVOID HDEVNOTIFY; +typedef HDEVNOTIFY *PHDEVNOTIFY; + +#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000 + +/* used for GetWindowInfo() */ + +#define WS_ACTIVECAPTION 0x0001 + +typedef struct tagWINDOWINFO { + DWORD cbSize; + RECT rcWindow; + RECT rcClient; + DWORD dwStyle; + DWORD dwExStyle; + DWORD dwWindowStatus; + UINT cxWindowBorders; + UINT cyWindowBorders; + ATOM atomWindowType; + WORD wCreatorVersion; +} WINDOWINFO, *PWINDOWINFO, *LPWINDOWINFO; + +/* used for GetTitleBarInfo() */ + +#define CCHILDREN_TITLEBAR 5 + +typedef struct tagTITLEBARINFO { + DWORD cbSize; + RECT rcTitleBar; + DWORD rgstate[CCHILDREN_TITLEBAR+1]; +} TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO; + +/* used by GetLastInputInfo */ +typedef struct tagLASTINPUTINFO { + UINT cbSize; + DWORD dwTime; +} LASTINPUTINFO, *PLASTINPUTINFO; + +/* used by GetAltTabInfo */ +typedef struct +{ + DWORD cbSize; + INT cItems; + INT cColumns; + INT cRows; + INT iColFocus; + INT iRowFocus; + INT cxItem; + INT cyItem; + POINT ptStart; +} ALTTABINFO, *PALTTABINFO, *LPALTTABINFO; + +/* SetWinEventHook() flags */ +#define WINEVENT_OUTOFCONTEXT 0x0 +#define WINEVENT_SKIPOWNTHREAD 0x1 +#define WINEVENT_SKIPOWNPROCESS 0x2 +#define WINEVENT_INCONTEXT 0x4 + +#define ENDSESSION_LOGOFF 0x80000000 + +/* Object Id's */ +#define CHILDID_SELF 0 +#define INDEXID_OBJECT 0 +#define INDEXID_CONTAINER 0 + +/* System object Id's */ +#define OBJID_WINDOW 0 +#define OBJID_SYSMENU -1 +#define OBJID_TITLEBAR -2 +#define OBJID_MENU -3 +#define OBJID_CLIENT -4 +#define OBJID_VSCROLL -5 +#define OBJID_HSCROLL -6 +#define OBJID_SIZEGRIP -7 +#define OBJID_CARET -8 +#define OBJID_CURSOR -9 +#define OBJID_ALERT -10 +#define OBJID_SOUND -11 +#define OBJID_QUERYCLASSNAMEIDX -12 +#define OBJID_NATIVEOM -16 + +/* User event Id limits */ +#define EVENT_MIN 0x00000001 +#define EVENT_MAX 0x7FFFFFFF + +/* System events */ +#define EVENT_SYSTEM_SOUND 0x01 +#define EVENT_SYSTEM_ALERT 0x02 +#define EVENT_SYSTEM_FOREGROUND 0x03 +#define EVENT_SYSTEM_MENUSTART 0x04 +#define EVENT_SYSTEM_MENUEND 0x05 +#define EVENT_SYSTEM_MENUPOPUPSTART 0x06 +#define EVENT_SYSTEM_MENUPOPUPEND 0x07 +#define EVENT_SYSTEM_CAPTURESTART 0x08 +#define EVENT_SYSTEM_CAPTUREEND 0x09 +#define EVENT_SYSTEM_MOVESIZESTART 0x0A +#define EVENT_SYSTEM_MOVESIZEEND 0x0B +#define EVENT_SYSTEM_CONTEXTHELPSTART 0x0C +#define EVENT_SYSTEM_CONTEXTHELPEND 0x0D +#define EVENT_SYSTEM_DRAGDROPSTART 0x0E +#define EVENT_SYSTEM_DRAGDROPEND 0x0F +#define EVENT_SYSTEM_DIALOGSTART 0x10 +#define EVENT_SYSTEM_DIALOGEND 0x11 +#define EVENT_SYSTEM_SCROLLINGSTART 0x12 +#define EVENT_SYSTEM_SCROLLINGEND 0x13 +#define EVENT_SYSTEM_SWITCHSTART 0x14 +#define EVENT_SYSTEM_SWITCHEND 0x15 +#define EVENT_SYSTEM_MINIMIZESTART 0x16 +#define EVENT_SYSTEM_MINIMIZEEND 0x17 + +/* Console events */ +#define EVENT_CONSOLE_CARET 0x4001 +#define EVENT_CONSOLE_UPDATE_REGION 0x4002 +#define EVENT_CONSOLE_UPDATE_SIMPLE 0x4003 +#define EVENT_CONSOLE_UPDATE_SCROLL 0x4004 +#define EVENT_CONSOLE_LAYOUT 0x4005 +#define EVENT_CONSOLE_START_APPLICATION 0x4006 +#define EVENT_CONSOLE_END_APPLICATION 0x4007 + +#define CONSOLE_APPLICATION_16BIT 0x1 +#define CONSOLE_CARET_SELECTION 0x1 +#define CONSOLE_CARET_VISIBLE 0x2 + +/* Object events */ +#define EVENT_OBJECT_CREATE 0x8000 +#define EVENT_OBJECT_DESTROY 0x8001 +#define EVENT_OBJECT_SHOW 0x8002 +#define EVENT_OBJECT_HIDE 0x8003 +#define EVENT_OBJECT_REORDER 0x8004 +#define EVENT_OBJECT_FOCUS 0x8005 +#define EVENT_OBJECT_SELECTION 0x8006 +#define EVENT_OBJECT_SELECTIONADD 0x8007 +#define EVENT_OBJECT_SELECTIONREMOVE 0x8008 +#define EVENT_OBJECT_SELECTIONWITHIN 0x8009 +#define EVENT_OBJECT_STATECHANGE 0x800A +#define EVENT_OBJECT_LOCATIONCHANGE 0x800B +#define EVENT_OBJECT_NAMECHANGE 0x800C +#define EVENT_OBJECT_DESCRIPTIONCHANGE 0x800D +#define EVENT_OBJECT_VALUECHANGE 0x800E +#define EVENT_OBJECT_PARENTCHANGE 0x800F +#define EVENT_OBJECT_HELPCHANGE 0x8010 +#define EVENT_OBJECT_DEFACTIONCHANGE 0x8011 +#define EVENT_OBJECT_ACCELERATORCHANGE 0x8012 + +/* Sound events */ +#define SOUND_SYSTEM_STARTUP 1 +#define SOUND_SYSTEM_SHUTDOWN 2 +#define SOUND_SYSTEM_BEEP 3 +#define SOUND_SYSTEM_ERROR 4 +#define SOUND_SYSTEM_QUESTION 5 +#define SOUND_SYSTEM_WARNING 6 +#define SOUND_SYSTEM_INFORMATION 7 +#define SOUND_SYSTEM_MAXIMIZE 8 +#define SOUND_SYSTEM_MINIMIZE 9 +#define SOUND_SYSTEM_RESTOREUP 10 +#define SOUND_SYSTEM_RESTOREDOWN 11 +#define SOUND_SYSTEM_APPSTART 12 +#define SOUND_SYSTEM_FAULT 13 +#define SOUND_SYSTEM_APPEND 14 +#define SOUND_SYSTEM_MENUCOMMAND 15 +#define SOUND_SYSTEM_MENUPOPUP 16 +#define CSOUND_SYSTEM 16 + +/* Alert events */ +#define ALERT_SYSTEM_INFORMATIONAL 1 +#define ALERT_SYSTEM_WARNING 2 +#define ALERT_SYSTEM_ERROR 3 +#define ALERT_SYSTEM_QUERY 4 +#define ALERT_SYSTEM_CRITICAL 5 +#define CALERT_SYSTEM 6 + +/* System state flags */ +#define STATE_SYSTEM_UNAVAILABLE 0x00000001 +#define STATE_SYSTEM_SELECTED 0x00000002 +#define STATE_SYSTEM_FOCUSED 0x00000004 +#define STATE_SYSTEM_PRESSED 0x00000008 +#define STATE_SYSTEM_CHECKED 0x00000010 +#define STATE_SYSTEM_MIXED 0x00000020 +#define STATE_SYSTEM_INDETERMINATE STATE_SYSTEM_MIXED +#define STATE_SYSTEM_READONLY 0x00000040 +#define STATE_SYSTEM_HOTTRACKED 0x00000080 +#define STATE_SYSTEM_DEFAULT 0x00000100 +#define STATE_SYSTEM_EXPANDED 0x00000200 +#define STATE_SYSTEM_COLLAPSED 0x00000400 +#define STATE_SYSTEM_BUSY 0x00000800 +#define STATE_SYSTEM_FLOATING 0x00001000 +#define STATE_SYSTEM_MARQUEED 0x00002000 +#define STATE_SYSTEM_ANIMATED 0x00004000 +#define STATE_SYSTEM_INVISIBLE 0x00008000 +#define STATE_SYSTEM_OFFSCREEN 0x00010000 +#define STATE_SYSTEM_SIZEABLE 0x00020000 +#define STATE_SYSTEM_MOVEABLE 0x00040000 +#define STATE_SYSTEM_SELFVOICING 0x00080000 +#define STATE_SYSTEM_FOCUSABLE 0x00100000 +#define STATE_SYSTEM_SELECTABLE 0x00200000 +#define STATE_SYSTEM_LINKED 0x00400000 +#define STATE_SYSTEM_TRAVERSED 0x00800000 +#define STATE_SYSTEM_MULTISELECTABLE 0x01000000 +#define STATE_SYSTEM_EXTSELECTABLE 0x02000000 +#define STATE_SYSTEM_ALERT_LOW 0x04000000 +#define STATE_SYSTEM_ALERT_MEDIUM 0x08000000 +#define STATE_SYSTEM_ALERT_HIGH 0x10000000 +#define STATE_SYSTEM_PROTECTED 0x20000000 +#define STATE_SYSTEM_VALID 0x3FFFFFFF + +/* Lock codes for LockSetForegroundWindow */ +#define LSFW_LOCK 1 +#define LSFW_UNLOCK 2 + +/* Values for AllowSetForegroundWindow */ +#define ASFW_ANY ((DWORD)-1) + +#define EnumTaskWindows(handle,proc,lparam) \ + EnumThreadWindows(handle,proc,lparam) +#define OemToAnsiA OemToCharA +#define OemToAnsiW OemToCharW +#define OemToAnsi WINELIB_NAME_AW(OemToAnsi) +#define OemToAnsiBuffA OemToCharBuffA +#define OemToAnsiBuffW OemToCharBuffW +#define OemToAnsiBuff WINELIB_NAME_AW(OemToAnsiBuff) +#define AnsiToOemA CharToOemA +#define AnsiToOemW CharToOemW +#define AnsiToOem WINELIB_NAME_AW(AnsiToOem) +#define AnsiToOemBuffA CharToOemBuffA +#define AnsiToOemBuffW CharToOemBuffW +#define AnsiToOemBuff WINELIB_NAME_AW(AnsiToOemBuff) + +/* ChangeWindowMessageFilter flags */ +#define MSGFLT_ADD 1 +#define MSGFLT_REMOVE 2 + +/* ChangeWindowMessageFilterEx defines */ +#define MSGFLTINFO_NONE 0 +#define MSGFLTINFO_ALREADYALLOWED_FORWND 1 +#define MSGFLTINFO_ALREADYDISALLOWED_FORWND 2 +#define MSGFLTINFO_ALLOWED_HIGHER 3 + +typedef struct tagCHANGEFILTERSTRUCT +{ + DWORD cbSize; + DWORD ExtStatus; +} CHANGEFILTERSTRUCT, *PCHANGEFILTERSTRUCT; + +/* Actions for ChangeWindowMessageFilterEx */ +#define MSGFLT_RESET 0 +#define MSGFLT_ALLOW 1 +#define MSGFLT_DISALLOW 2 + +#define USER_DEFAULT_SCREEN_DPI 96 + +typedef enum tagAR_STATE { + AR_ENABLED = 0x0, + AR_DISABLED = 0x1, + AR_SUPPRESSED = 0x2, + AR_REMOTESESSION = 0x4, + AR_MULTIMON = 0x8, + AR_NOSENSOR = 0x10, + AR_NOT_SUPPORTED = 0x20, + AR_DOCKED = 0x40, + AR_LAPTOP = 0x80 +} AR_STATE, *PAR_STATE; + +typedef enum ORIENTATION_PREFERENCE { + ORIENTATION_PREFERENCE_NONE = 0x0, + ORIENTATION_PREFERENCE_LANDSCAPE = 0x1, + ORIENTATION_PREFERENCE_PORTRAIT = 0x2, + ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED = 0x4, + ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED = 0x8 +} ORIENTATION_PREFERENCE; + +/* Touch input definitions */ +DECLARE_HANDLE(HTOUCHINPUT); + +typedef struct tagTOUCHINPUT { + LONG x; + LONG y; + HANDLE hSource; + DWORD dwID; + DWORD dwFlags; + DWORD dwMask; + DWORD dwTime; + ULONG_PTR dwExtraInfo; + DWORD cxContact; + DWORD cyContact; +} TOUCHINPUT, *PTOUCHINPUT; +typedef TOUCHINPUT const * PCTOUCHINPUT; + +/* Gesture definitions */ +DECLARE_HANDLE(HGESTUREINFO); + +typedef struct tagGESTUREINFO { + UINT cbSize; + DWORD dwFlags; + DWORD dwID; + HWND hwndTarget; + POINTS ptsLocation; + DWORD dwInstanceID; + DWORD dwSequenceID; + ULONGLONG ullArguments; + UINT cbExtraArgs; +} GESTUREINFO, *PGESTUREINFO; +typedef GESTUREINFO const * PCGESTUREINFO; + +#if defined(_WINGDI_) && !defined(NOGDI) +WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA,DWORD); +WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW,DWORD); +#define ChangeDisplaySettings WINELIB_NAME_AW(ChangeDisplaySettings) +WINUSERAPI LONG WINAPI ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); +WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); +#define ChangeDisplaySettingsEx WINELIB_NAME_AW(ChangeDisplaySettingsEx) +WINUSERAPI HDESK WINAPI CreateDesktopA(LPCSTR,LPCSTR,LPDEVMODEA,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); +WINUSERAPI HDESK WINAPI CreateDesktopW(LPCWSTR,LPCWSTR,LPDEVMODEW,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); +#define CreateDesktop WINELIB_NAME_AW(CreateDesktop) +WINUSERAPI LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *); +WINUSERAPI BOOL WINAPI EnumDisplayDevicesA(LPCSTR,DWORD,LPDISPLAY_DEVICEA,DWORD); +WINUSERAPI BOOL WINAPI EnumDisplayDevicesW(LPCWSTR,DWORD,LPDISPLAY_DEVICEW,DWORD); +#define EnumDisplayDevices WINELIB_NAME_AW(EnumDisplayDevices) +WINUSERAPI BOOL WINAPI EnumDisplaySettingsA(LPCSTR,DWORD,LPDEVMODEA); +WINUSERAPI BOOL WINAPI EnumDisplaySettingsW(LPCWSTR,DWORD,LPDEVMODEW); +#define EnumDisplaySettings WINELIB_NAME_AW(EnumDisplaySettings) +WINUSERAPI BOOL WINAPI EnumDisplaySettingsExA(LPCSTR,DWORD,LPDEVMODEA,DWORD); +WINUSERAPI BOOL WINAPI EnumDisplaySettingsExW(LPCWSTR,DWORD,LPDEVMODEW,DWORD); +#define EnumDisplaySettingsEx WINELIB_NAME_AW(EnumDisplaySettingsEx) +WINUSERAPI LONG WINAPI GetDisplayConfigBufferSizes(UINT32,UINT32*,UINT32*); +WINUSERAPI BOOL WINAPI UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD); +WINUSERAPI BOOL WINAPI UpdateLayeredWindowIndirect(HWND,UPDATELAYEREDWINDOWINFO const*); +#endif /* defined(_WINGDI_) && !defined(NOGDI) */ + +WINUSERAPI HKL WINAPI ActivateKeyboardLayout(HKL,UINT); +WINUSERAPI BOOL WINAPI AddClipboardFormatListener(HWND); +WINUSERAPI BOOL WINAPI AdjustWindowRect(LPRECT,DWORD,BOOL); +WINUSERAPI BOOL WINAPI AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD); +WINUSERAPI BOOL WINAPI AllowSetForegroundWindow(DWORD); +WINUSERAPI BOOL WINAPI AnimateWindow(HWND,DWORD,DWORD); +#define AnsiLowerA CharLowerA +#define AnsiLowerW CharLowerW +#define AnsiLower WINELIB_NAME_AW(AnsiLower) +#define AnsiLowerBuffA CharLowerBuffA +#define AnsiLowerBuffW CharLowerBuffW +#define AnsiLowerBuff WINELIB_NAME_AW(AnsiLowerBuff) +#define AnsiNextA CharNextA +#define AnsiNextW CharNextW +#define AnsiNext WINELIB_NAME_AW(AnsiNext) +#define AnsiPrevA CharPrevA +#define AnsiPrevW CharPrevW +#define AnsiPrev WINELIB_NAME_AW(AnsiPrev) +#define AnsiUpperA CharUpperA +#define AnsiUpperW CharUpperW +#define AnsiUpper WINELIB_NAME_AW(AnsiUpper) +#define AnsiUpperBuffA CharUpperBuffA +#define AnsiUpperBuffW CharUpperBuffW +#define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff) +WINUSERAPI BOOL WINAPI AnyPopup(void); +WINUSERAPI BOOL WINAPI AppendMenuA(HMENU,UINT,UINT_PTR,LPCSTR); +WINUSERAPI BOOL WINAPI AppendMenuW(HMENU,UINT,UINT_PTR,LPCWSTR); +#define AppendMenu WINELIB_NAME_AW(AppendMenu) +WINUSERAPI UINT WINAPI ArrangeIconicWindows(HWND); +WINUSERAPI BOOL WINAPI AttachThreadInput(DWORD,DWORD,BOOL); +WINUSERAPI HDWP WINAPI BeginDeferWindowPos(INT); +WINUSERAPI HDC WINAPI BeginPaint(HWND,LPPAINTSTRUCT); +WINUSERAPI BOOL WINAPI BlockInput(BOOL); +WINUSERAPI BOOL WINAPI BringWindowToTop(HWND); +WINUSERAPI LONG WINAPI BroadcastSystemMessageA(DWORD,LPDWORD,UINT,WPARAM,LPARAM); +WINUSERAPI LONG WINAPI BroadcastSystemMessageW(DWORD,LPDWORD,UINT,WPARAM,LPARAM); +#define BroadcastSystemMessage WINELIB_NAME_AW(BroadcastSystemMessage) +WINUSERAPI LONG WINAPI BroadcastSystemMessageExA(DWORD,LPDWORD,UINT,WPARAM,LPARAM,PBSMINFO); +WINUSERAPI LONG WINAPI BroadcastSystemMessageExW(DWORD,LPDWORD,UINT,WPARAM,LPARAM,PBSMINFO); +#define BroadcastSystemMessageEx WINELIB_NAME_AW(BroadcastSystemMessageEx) +WINUSERAPI void WINAPI CalcChildScroll(HWND, INT); +WINUSERAPI BOOL WINAPI CallMsgFilterA(LPMSG,INT); +WINUSERAPI BOOL WINAPI CallMsgFilterW(LPMSG,INT); +#define CallMsgFilter WINELIB_NAME_AW(CallMsgFilter) +WINUSERAPI LRESULT WINAPI CallNextHookEx(HHOOK,INT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM); +#define CallWindowProc WINELIB_NAME_AW(CallWindowProc) +WINUSERAPI WORD WINAPI CascadeWindows(HWND, UINT, const RECT *, UINT, const HWND *); +WINUSERAPI BOOL WINAPI ChangeClipboardChain(HWND,HWND); +WINUSERAPI BOOL WINAPI ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT); +WINUSERAPI BOOL WINAPI ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT); +#define ChangeMenu WINELIB_NAME_AW(ChangeMenu) +WINUSERAPI BOOL WINAPI ChangeWindowMessageFilter(UINT,DWORD); +WINUSERAPI BOOL WINAPI ChangeWindowMessageFilterEx(HWND,UINT,DWORD,CHANGEFILTERSTRUCT*); +WINUSERAPI LPSTR WINAPI CharLowerA(LPSTR); +WINUSERAPI LPWSTR WINAPI CharLowerW(LPWSTR); +#define CharLower WINELIB_NAME_AW(CharLower) +WINUSERAPI DWORD WINAPI CharLowerBuffA(LPSTR,DWORD); +WINUSERAPI DWORD WINAPI CharLowerBuffW(LPWSTR,DWORD); +#define CharLowerBuff WINELIB_NAME_AW(CharLowerBuff) +WINUSERAPI LPSTR WINAPI CharNextA(LPCSTR); +WINUSERAPI LPWSTR WINAPI CharNextW(LPCWSTR); +#define CharNext WINELIB_NAME_AW(CharNext) +WINUSERAPI LPSTR WINAPI CharNextExA(WORD,LPCSTR,DWORD); +/* no CharNextExW (doesn't make sense) */ +WINUSERAPI LPSTR WINAPI CharPrevA(LPCSTR,LPCSTR); +WINUSERAPI LPWSTR WINAPI CharPrevW(LPCWSTR,LPCWSTR); +#define CharPrev WINELIB_NAME_AW(CharPrev) +WINUSERAPI LPSTR WINAPI CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD); +/* no CharPrevExW (doesn't make sense) */ +WINUSERAPI LPSTR WINAPI CharUpperA(LPSTR); +WINUSERAPI LPWSTR WINAPI CharUpperW(LPWSTR); +#define CharUpper WINELIB_NAME_AW(CharUpper) +WINUSERAPI DWORD WINAPI CharUpperBuffA(LPSTR,DWORD); +WINUSERAPI DWORD WINAPI CharUpperBuffW(LPWSTR,DWORD); +#define CharUpperBuff WINELIB_NAME_AW(CharUpperBuff) +WINUSERAPI BOOL WINAPI CharToOemA(LPCSTR,LPSTR); +WINUSERAPI BOOL WINAPI CharToOemW(LPCWSTR,LPSTR); +#define CharToOem WINELIB_NAME_AW(CharToOem) +WINUSERAPI BOOL WINAPI CharToOemBuffA(LPCSTR,LPSTR,DWORD); +WINUSERAPI BOOL WINAPI CharToOemBuffW(LPCWSTR,LPSTR,DWORD); +#define CharToOemBuff WINELIB_NAME_AW(CharToOemBuff) +WINUSERAPI BOOL WINAPI CheckDlgButton(HWND,INT,UINT); +WINUSERAPI DWORD WINAPI CheckMenuItem(HMENU,UINT,UINT); +WINUSERAPI BOOL WINAPI CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT); +WINUSERAPI BOOL WINAPI CheckRadioButton(HWND,int,int,int); +WINUSERAPI HWND WINAPI ChildWindowFromPoint(HWND,POINT); +WINUSERAPI HWND WINAPI ChildWindowFromPointEx(HWND,POINT,UINT); +WINUSERAPI BOOL WINAPI ClientToScreen(HWND,LPPOINT); +WINUSERAPI BOOL WINAPI ClipCursor(const RECT*); +WINUSERAPI BOOL WINAPI CloseClipboard(void); +WINUSERAPI BOOL WINAPI CloseDesktop(HDESK); +WINUSERAPI BOOL WINAPI CloseTouchInputHandle(HTOUCHINPUT); +WINUSERAPI BOOL WINAPI CloseWindow(HWND); +WINUSERAPI BOOL WINAPI CloseWindowStation(HWINSTA); +WINUSERAPI INT WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,INT); +WINUSERAPI INT WINAPI CopyAcceleratorTableW(HACCEL,LPACCEL,INT); +#define CopyAcceleratorTable WINELIB_NAME_AW(CopyAcceleratorTable) +#define CopyCursor(cur) ((HCURSOR)CopyIcon((HICON)(cur))) +WINUSERAPI HICON WINAPI CopyIcon(HICON); +WINUSERAPI HANDLE WINAPI CopyImage(HANDLE,UINT,INT,INT,UINT); +WINUSERAPI BOOL WINAPI CopyRect(RECT*,const RECT*); +WINUSERAPI INT WINAPI CountClipboardFormats(void); +WINUSERAPI HACCEL WINAPI CreateAcceleratorTableA(LPACCEL,INT); +WINUSERAPI HACCEL WINAPI CreateAcceleratorTableW(LPACCEL,INT); +#define CreateAcceleratorTable WINELIB_NAME_AW(CreateAcceleratorTable) +WINUSERAPI HICON WINAPI CreateIconIndirect(PICONINFO); +WINUSERAPI BOOL WINAPI CreateCaret(HWND,HBITMAP,INT,INT); +WINUSERAPI HCURSOR WINAPI CreateCursor(HINSTANCE,INT,INT,INT,INT,LPCVOID,LPCVOID); +#define CreateDialogA(inst,ptr,hwnd,dlg) CreateDialogParamA(inst,ptr,hwnd,dlg,0) +#define CreateDialogW(inst,ptr,hwnd,dlg) CreateDialogParamW(inst,ptr,hwnd,dlg,0) +#define CreateDialog WINELIB_NAME_AW(CreateDialog) +#define CreateDialogIndirectA(inst,ptr,hwnd,dlg) CreateDialogIndirectParamA(inst,ptr,hwnd,dlg,0) +#define CreateDialogIndirectW(inst,ptr,hwnd,dlg) CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0) +#define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect) +WINUSERAPI HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,DLGPROC,LPARAM); +WINUSERAPI HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,DLGPROC,LPARAM); +#define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam) +WINUSERAPI HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); +WINUSERAPI HWND WINAPI CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +#define CreateDialogParam WINELIB_NAME_AW(CreateDialogParam) +WINUSERAPI HICON WINAPI CreateIcon(HINSTANCE,INT,INT,BYTE,BYTE,LPCVOID,LPCVOID); +WINUSERAPI HICON WINAPI CreateIconFromResource(LPBYTE,UINT,BOOL,DWORD); +WINUSERAPI HICON WINAPI CreateIconFromResourceEx(LPBYTE,UINT,BOOL,DWORD,INT,INT,UINT); +WINUSERAPI HMENU WINAPI CreateMenu(void); +WINUSERAPI HMENU WINAPI CreatePopupMenu(void); +#define CreateWindowA(className,titleName,style,x,y,width,height,parent,menu,instance,param) CreateWindowExA(0,className,titleName,style,x,y,width,height,parent,menu,instance,param) +#define CreateWindowW(className,titleName,style,x,y,width,height,parent,menu,instance,param) CreateWindowExW(0,className,titleName,style,x,y,width,height,parent,menu,instance,param) +#define CreateWindow WINELIB_NAME_AW(CreateWindow) +WINUSERAPI HWND WINAPI CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,INT,INT,INT,INT,HWND,HMENU,HINSTANCE,LPVOID); +WINUSERAPI HWND WINAPI CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,INT,INT,INT,INT,HWND,HMENU,HINSTANCE,LPVOID); +#define CreateWindowEx WINELIB_NAME_AW(CreateWindowEx) +WINUSERAPI HWINSTA WINAPI CreateWindowStationA(LPCSTR,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); +WINUSERAPI HWINSTA WINAPI CreateWindowStationW(LPCWSTR,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); +#define CreateWindowStation WINELIB_NAME_AW(CreateWindowStation) +WINUSERAPI HWND WINAPI CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,INT,INT,HWND,HINSTANCE,LPARAM); +WINUSERAPI HWND WINAPI CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,INT,INT,HWND,HINSTANCE,LPARAM); +#define CreateMDIWindow WINELIB_NAME_AW(CreateMDIWindow) +WINUSERAPI LRESULT WINAPI DefDlgProcA(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI DefDlgProcW(HWND,UINT,WPARAM,LPARAM); +#define DefDlgProc WINELIB_NAME_AW(DefDlgProc) +WINUSERAPI HDWP WINAPI DeferWindowPos(HDWP,HWND,HWND,INT,INT,INT,INT,UINT); +WINUSERAPI LRESULT WINAPI DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM); +#define DefFrameProc WINELIB_NAME_AW(DefFrameProc) +#define DefHookProc(code,wparam,lparam,phhook) CallNextHookEx(*(phhook),code,wparam,lparam) +WINUSERAPI LRESULT WINAPI DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM); +#define DefMDIChildProc WINELIB_NAME_AW(DefMDIChildProc) +WINUSERAPI LRESULT WINAPI DefRawInputProc(PRAWINPUT*,INT,UINT); +WINUSERAPI LRESULT WINAPI DefWindowProcA(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI DefWindowProcW(HWND,UINT,WPARAM,LPARAM); +#define DefWindowProc WINELIB_NAME_AW(DefWindowProc) +WINUSERAPI BOOL WINAPI DeleteMenu(HMENU,UINT,UINT); +WINUSERAPI BOOL WINAPI DeregisterShellHookWindow(HWND); +WINUSERAPI BOOL WINAPI DestroyAcceleratorTable(HACCEL); +WINUSERAPI BOOL WINAPI DestroyCaret(void); +WINUSERAPI BOOL WINAPI DestroyCursor(HCURSOR); +WINUSERAPI BOOL WINAPI DestroyIcon(HICON); +WINUSERAPI BOOL WINAPI DestroyMenu(HMENU); +WINUSERAPI BOOL WINAPI DestroyWindow(HWND); +#define DialogBoxA(inst,template,owner,func) DialogBoxParamA(inst,template,owner,func,0) +#define DialogBoxW(inst,template,owner,func) DialogBoxParamW(inst,template,owner,func,0) +#define DialogBox WINELIB_NAME_AW(DialogBox) +#define DialogBoxIndirectA(inst,template,owner,func) DialogBoxIndirectParamA(inst,template,owner,func,0) +#define DialogBoxIndirectW(inst,template,owner,func) DialogBoxIndirectParamW(inst,template,owner,func,0) +#define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect) +WINUSERAPI INT_PTR WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,DLGPROC,LPARAM); +WINUSERAPI INT_PTR WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,DLGPROC,LPARAM); +#define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam) +WINUSERAPI INT_PTR WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); +WINUSERAPI INT_PTR WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +#define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam) +WINUSERAPI VOID WINAPI DisableProcessWindowsGhosting(VOID); +WINUSERAPI LRESULT WINAPI DispatchMessageA(const MSG*); +WINUSERAPI LRESULT WINAPI DispatchMessageW(const MSG*); +#define DispatchMessage WINELIB_NAME_AW(DispatchMessage) +WINUSERAPI INT WINAPI DlgDirListA(HWND,LPSTR,INT,INT,UINT); +WINUSERAPI INT WINAPI DlgDirListW(HWND,LPWSTR,INT,INT,UINT); +#define DlgDirList WINELIB_NAME_AW(DlgDirList) +WINUSERAPI INT WINAPI DlgDirListComboBoxA(HWND,LPSTR,INT,INT,UINT); +WINUSERAPI INT WINAPI DlgDirListComboBoxW(HWND,LPWSTR,INT,INT,UINT); +#define DlgDirListComboBox WINELIB_NAME_AW(DlgDirListComboBox) +WINUSERAPI BOOL WINAPI DlgDirSelectComboBoxExA(HWND,LPSTR,INT,INT); +WINUSERAPI BOOL WINAPI DlgDirSelectComboBoxExW(HWND,LPWSTR,INT,INT); +#define DlgDirSelectComboBoxEx WINELIB_NAME_AW(DlgDirSelectComboBoxEx) +WINUSERAPI BOOL WINAPI DlgDirSelectExA(HWND,LPSTR,INT,INT); +WINUSERAPI BOOL WINAPI DlgDirSelectExW(HWND,LPWSTR,INT,INT); +#define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx) +WINUSERAPI BOOL WINAPI DragDetect(HWND,POINT); +WINUSERAPI DWORD WINAPI DragObject(HWND,HWND,UINT,ULONG_PTR,HCURSOR); +WINUSERAPI BOOL WINAPI DrawAnimatedRects(HWND,int,const RECT*,const RECT*); +WINUSERAPI BOOL WINAPI DrawCaption(HWND,HDC,const RECT*,UINT); +WINUSERAPI BOOL WINAPI DrawCaptionTempA(HWND,HDC,const RECT*,HFONT,HICON,LPCSTR,UINT); +WINUSERAPI BOOL WINAPI DrawCaptionTempW(HWND,HDC,const RECT*,HFONT,HICON,LPCWSTR,UINT); +#define DrawCaptionTemp WINELIB_NAME_AW(DrawCaptionTemp) +WINUSERAPI BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT); +WINUSERAPI BOOL WINAPI DrawFocusRect(HDC,const RECT*); +WINUSERAPI BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT); +WINUSERAPI BOOL WINAPI DrawIcon(HDC,INT,INT,HICON); +WINUSERAPI BOOL WINAPI DrawIconEx(HDC,INT,INT,HICON,INT,INT,UINT,HBRUSH,UINT); +WINUSERAPI BOOL WINAPI DrawMenuBar(HWND); +WINUSERAPI BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT); +WINUSERAPI BOOL WINAPI DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT); +#define DrawState WINELIB_NAME_AW(DrawState) +WINUSERAPI INT WINAPI DrawTextA(HDC,LPCSTR,INT,LPRECT,UINT); +WINUSERAPI INT WINAPI DrawTextW(HDC,LPCWSTR,INT,LPRECT,UINT); +#define DrawText WINELIB_NAME_AW(DrawText) +WINUSERAPI INT WINAPI DrawTextExA(HDC,LPSTR,INT,LPRECT,UINT,LPDRAWTEXTPARAMS); +WINUSERAPI INT WINAPI DrawTextExW(HDC,LPWSTR,INT,LPRECT,UINT,LPDRAWTEXTPARAMS); +#define DrawTextEx WINELIB_NAME_AW(DrawTextEx) +WINUSERAPI BOOL WINAPI EmptyClipboard(void); +WINUSERAPI BOOL WINAPI EnableMenuItem(HMENU,UINT,UINT); +WINUSERAPI BOOL WINAPI EnableScrollBar(HWND,UINT,UINT); +WINUSERAPI BOOL WINAPI EnableWindow(HWND,BOOL); +WINUSERAPI BOOL WINAPI EndDeferWindowPos(HDWP); +WINUSERAPI BOOL WINAPI EndDialog(HWND,INT_PTR); +WINUSERAPI BOOL WINAPI EndMenu(void); +WINUSERAPI BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*); +WINUSERAPI BOOL WINAPI EnumChildWindows(HWND,WNDENUMPROC,LPARAM); +WINUSERAPI UINT WINAPI EnumClipboardFormats(UINT); +WINUSERAPI BOOL WINAPI EnumDesktopsA(HWINSTA,DESKTOPENUMPROCA,LPARAM); +WINUSERAPI BOOL WINAPI EnumDesktopsW(HWINSTA,DESKTOPENUMPROCW,LPARAM); +#define EnumDesktops WINELIB_NAME_AW(EnumDesktops) +WINUSERAPI BOOL WINAPI EnumDesktopWindows(HDESK,WNDENUMPROC,LPARAM); +WINUSERAPI BOOL WINAPI EnumDisplayMonitors(HDC,LPRECT,MONITORENUMPROC,LPARAM); +WINUSERAPI INT WINAPI EnumPropsA(HWND,PROPENUMPROCA); +WINUSERAPI INT WINAPI EnumPropsW(HWND,PROPENUMPROCW); +#define EnumProps WINELIB_NAME_AW(EnumProps) +WINUSERAPI INT WINAPI EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM); +WINUSERAPI INT WINAPI EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM); +#define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx) +WINUSERAPI BOOL WINAPI EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM); +WINUSERAPI BOOL WINAPI EnumWindows(WNDENUMPROC,LPARAM); +WINUSERAPI BOOL WINAPI EnumWindowStationsA(WINSTAENUMPROCA,LPARAM); +WINUSERAPI BOOL WINAPI EnumWindowStationsW(WINSTAENUMPROCW,LPARAM); +#define EnumWindowStations WINELIB_NAME_AW(EnumWindowStations) +WINUSERAPI INT WINAPI ExcludeUpdateRgn(HDC,HWND); +#define ExitWindows(a,b) ExitWindowsEx(EWX_LOGOFF,0xffffffff) +WINUSERAPI BOOL WINAPI ExitWindowsEx(UINT,DWORD); +WINUSERAPI INT WINAPI FillRect(HDC,const RECT*,HBRUSH); +WINUSERAPI HWND WINAPI FindWindowA(LPCSTR,LPCSTR); +WINUSERAPI HWND WINAPI FindWindowW(LPCWSTR,LPCWSTR); +#define FindWindow WINELIB_NAME_AW(FindWindow) +WINUSERAPI HWND WINAPI FindWindowExA(HWND,HWND,LPCSTR,LPCSTR); +WINUSERAPI HWND WINAPI FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR); +#define FindWindowEx WINELIB_NAME_AW(FindWindowEx) +WINUSERAPI BOOL WINAPI FlashWindow(HWND,BOOL); +WINUSERAPI BOOL WINAPI FlashWindowEx(PFLASHWINFO); +WINUSERAPI INT WINAPI FrameRect(HDC,const RECT*,HBRUSH); +WINUSERAPI HWND WINAPI GetActiveWindow(void); +WINUSERAPI BOOL WINAPI GetAltTabInfoA(HWND,INT,PALTTABINFO,LPSTR,UINT); +WINUSERAPI BOOL WINAPI GetAltTabInfoW(HWND,INT,PALTTABINFO,LPWSTR,UINT); +#define GetAltTabInfo WINELIB_NAME_AW(GetAltTabInfo) +WINUSERAPI HWND WINAPI GetAncestor(HWND,UINT); +WINUSERAPI DWORD WINAPI GetAppCompatFlags(HTASK); +WINUSERAPI SHORT WINAPI GetAsyncKeyState(INT); +WINUSERAPI BOOL WINAPI GetAutoRotationState(AR_STATE*); +WINUSERAPI HWND WINAPI GetCapture(void); +WINUSERAPI UINT WINAPI GetCaretBlinkTime(void); +WINUSERAPI BOOL WINAPI GetCaretPos(LPPOINT); +WINUSERAPI BOOL WINAPI GetClassInfoA(HINSTANCE,LPCSTR,WNDCLASSA *); +WINUSERAPI BOOL WINAPI GetClassInfoW(HINSTANCE,LPCWSTR,WNDCLASSW *); +#define GetClassInfo WINELIB_NAME_AW(GetClassInfo) +WINUSERAPI BOOL WINAPI GetClassInfoExA(HINSTANCE,LPCSTR,WNDCLASSEXA *); +WINUSERAPI BOOL WINAPI GetClassInfoExW(HINSTANCE,LPCWSTR,WNDCLASSEXW *); +#define GetClassInfoEx WINELIB_NAME_AW(GetClassInfoEx) +WINUSERAPI DWORD WINAPI GetClassLongA(HWND,INT); +WINUSERAPI DWORD WINAPI GetClassLongW(HWND,INT); +#define GetClassLong WINELIB_NAME_AW(GetClassLong) +#ifdef _WIN64 +WINUSERAPI ULONG_PTR WINAPI GetClassLongPtrA(HWND,INT); +WINUSERAPI ULONG_PTR WINAPI GetClassLongPtrW(HWND,INT); +#else +#define GetClassLongPtrA GetClassLongA +#define GetClassLongPtrW GetClassLongW +#endif +#define GetClassLongPtr WINELIB_NAME_AW(GetClassLongPtr) +WINUSERAPI INT WINAPI GetClassNameA(HWND,LPSTR,INT); +WINUSERAPI INT WINAPI GetClassNameW(HWND,LPWSTR,INT); +#define GetClassName WINELIB_NAME_AW(GetClassName) +WINUSERAPI WORD WINAPI GetClassWord(HWND,INT); +WINUSERAPI BOOL WINAPI GetClientRect(HWND,LPRECT); +WINUSERAPI HANDLE WINAPI GetClipboardData(UINT); +WINUSERAPI INT WINAPI GetClipboardFormatNameA(UINT,LPSTR,INT); +WINUSERAPI INT WINAPI GetClipboardFormatNameW(UINT,LPWSTR,INT); +#define GetClipboardFormatName WINELIB_NAME_AW(GetClipboardFormatName) +WINUSERAPI HWND WINAPI GetClipboardOwner(void); +WINUSERAPI DWORD WINAPI GetClipboardSequenceNumber(VOID); +WINUSERAPI HWND WINAPI GetClipboardViewer(void); +WINUSERAPI BOOL WINAPI GetClipCursor(LPRECT); +WINUSERAPI BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO); +WINUSERAPI HCURSOR WINAPI GetCursor(void); +WINUSERAPI BOOL WINAPI GetCursorInfo(PCURSORINFO); +WINUSERAPI HCURSOR WINAPI GetCursorFrameInfo(HCURSOR,DWORD,DWORD,DWORD*,DWORD*); +WINUSERAPI BOOL WINAPI GetCursorPos(LPPOINT); +WINUSERAPI HDC WINAPI GetDC(HWND); +WINUSERAPI HDC WINAPI GetDCEx(HWND,HRGN,DWORD); +WINUSERAPI HWND WINAPI GetDesktopWindow(void); +WINUSERAPI DWORD WINAPI GetDialogBaseUnits(void); +WINUSERAPI BOOL WINAPI GetDisplayAutoRotationPreferences(ORIENTATION_PREFERENCE*); +WINUSERAPI INT WINAPI GetDlgCtrlID(HWND); +WINUSERAPI HWND WINAPI GetDlgItem(HWND,INT); +WINUSERAPI UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL); +WINUSERAPI UINT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,INT); +WINUSERAPI UINT WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,INT); +#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText) +WINUSERAPI UINT WINAPI GetDoubleClickTime(void); +WINUSERAPI HWND WINAPI GetFocus(void); +WINUSERAPI HWND WINAPI GetForegroundWindow(void); +WINUSERAPI BOOL WINAPI GetGestureConfig(HWND,DWORD,DWORD,UINT*,GESTURECONFIG*,UINT); +WINUSERAPI BOOL WINAPI GetGestureInfo(HGESTUREINFO,PGESTUREINFO); +WINUSERAPI BOOL WINAPI GetGUIThreadInfo(DWORD,GUITHREADINFO*); +WINUSERAPI DWORD WINAPI GetGuiResources(HANDLE,DWORD); +WINUSERAPI BOOL WINAPI GetIconInfo(HICON,PICONINFO); +WINUSERAPI BOOL WINAPI GetIconInfoExA(HICON,ICONINFOEXA*); +WINUSERAPI BOOL WINAPI GetIconInfoExW(HICON,ICONINFOEXW*); +#define GetIconInfoEx WINELIB_NAME_AW(GetIconInfoEx) +WINUSERAPI BOOL WINAPI GetInputState(void); +WINUSERAPI UINT WINAPI GetInternalWindowPos(HWND,LPRECT,LPPOINT); +WINUSERAPI UINT WINAPI GetKBCodePage(void); +WINUSERAPI HKL WINAPI GetKeyboardLayout(DWORD); +WINUSERAPI UINT WINAPI GetKeyboardLayoutList(INT,HKL *); +WINUSERAPI BOOL WINAPI GetKeyboardState(LPBYTE); +WINUSERAPI INT WINAPI GetKeyboardType(INT); +WINUSERAPI INT WINAPI GetKeyNameTextA(LONG,LPSTR,INT); +WINUSERAPI INT WINAPI GetKeyNameTextW(LONG,LPWSTR,INT); +#define GetKeyNameText WINELIB_NAME_AW(GetKeyNameText) +WINUSERAPI BOOL WINAPI GetKeyboardLayoutNameA(LPSTR); +WINUSERAPI BOOL WINAPI GetKeyboardLayoutNameW(LPWSTR); +#define GetKeyboardLayoutName WINELIB_NAME_AW(GetKeyboardLayoutName) +WINUSERAPI SHORT WINAPI GetKeyState(INT); +WINUSERAPI HWND WINAPI GetLastActivePopup(HWND); +WINUSERAPI BOOL WINAPI GetLastInputInfo(PLASTINPUTINFO); +WINUSERAPI DWORD WINAPI GetListBoxInfo(HWND); +WINUSERAPI UINT WINAPI GetRawInputBuffer(PRAWINPUT,PUINT,UINT); +WINUSERAPI UINT WINAPI GetRawInputData(HRAWINPUT,UINT,LPVOID,PUINT,UINT); +WINUSERAPI UINT WINAPI GetRawInputDeviceInfoA(HANDLE,UINT,LPVOID,PUINT); +WINUSERAPI UINT WINAPI GetRawInputDeviceInfoW(HANDLE,UINT,LPVOID,PUINT); +#define GetRawInputDeviceInfo WINELIB_NAME_AW(GetRawInputDeviceInfo) +WINUSERAPI UINT WINAPI GetRawInputDeviceList(PRAWINPUTDEVICELIST,PUINT,UINT); +WINUSERAPI UINT WINAPI GetRegisteredRawInputDevices(PRAWINPUTDEVICE,PUINT,UINT); +WINUSERAPI BOOL WINAPI GetLayeredWindowAttributes(HWND,COLORREF*,BYTE*,DWORD*); +WINUSERAPI HMENU WINAPI GetMenu(HWND); +WINUSERAPI BOOL WINAPI GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO); +WINUSERAPI DWORD WINAPI GetMenuCheckMarkDimensions(void); +WINUSERAPI DWORD WINAPI GetMenuContextHelpId(HMENU); +WINUSERAPI UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT); +WINUSERAPI BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO); +WINUSERAPI INT WINAPI GetMenuItemCount(HMENU); +WINUSERAPI UINT WINAPI GetMenuItemID(HMENU,INT); +WINUSERAPI BOOL WINAPI GetMenuItemInfoA(HMENU,UINT,BOOL,MENUITEMINFOA*); +WINUSERAPI BOOL WINAPI GetMenuItemInfoW(HMENU,UINT,BOOL,MENUITEMINFOW*); +#define GetMenuItemInfo WINELIB_NAME_AW(GetMenuItemInfo) +WINUSERAPI BOOL WINAPI GetMenuItemRect(HWND,HMENU,UINT,LPRECT); +WINUSERAPI UINT WINAPI GetMenuState(HMENU,UINT,UINT); +WINUSERAPI INT WINAPI GetMenuStringA(HMENU,UINT,LPSTR,INT,UINT); +WINUSERAPI INT WINAPI GetMenuStringW(HMENU,UINT,LPWSTR,INT,UINT); +#define GetMenuString WINELIB_NAME_AW(GetMenuString) +WINUSERAPI BOOL WINAPI GetMessageA(LPMSG,HWND,UINT,UINT); +WINUSERAPI BOOL WINAPI GetMessageW(LPMSG,HWND,UINT,UINT); +#define GetMessage WINELIB_NAME_AW(GetMessage) +WINUSERAPI LPARAM WINAPI GetMessageExtraInfo(void); +WINUSERAPI DWORD WINAPI GetMessagePos(void); +WINUSERAPI LONG WINAPI GetMessageTime(void); +WINUSERAPI BOOL WINAPI GetMonitorInfoA(HMONITOR,LPMONITORINFO); +WINUSERAPI BOOL WINAPI GetMonitorInfoW(HMONITOR,LPMONITORINFO); +#define GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo) +WINUSERAPI HWND WINAPI GetNextDlgGroupItem(HWND,HWND,BOOL); +WINUSERAPI HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL); +#define GetNextWindow GetWindow +WINUSERAPI HWND WINAPI GetOpenClipboardWindow(void); +WINUSERAPI HWND WINAPI GetParent(HWND); +WINUSERAPI BOOL WINAPI GetPhysicalCursorPos(POINT*); +WINUSERAPI INT WINAPI GetPriorityClipboardFormat(UINT*,INT); +WINUSERAPI BOOL WINAPI GetProcessDefaultLayout(DWORD*); +WINUSERAPI HANDLE WINAPI GetPropA(HWND,LPCSTR); +WINUSERAPI HANDLE WINAPI GetPropW(HWND,LPCWSTR); +#define GetProp WINELIB_NAME_AW(GetProp) +WINUSERAPI DWORD WINAPI GetQueueStatus(UINT); +WINUSERAPI BOOL WINAPI GetScrollInfo(HWND,INT,LPSCROLLINFO); +WINUSERAPI BOOL WINAPI GetScrollBarInfo(HWND,LONG,LPSCROLLBARINFO); +WINUSERAPI INT WINAPI GetScrollPos(HWND,INT); +WINUSERAPI BOOL WINAPI GetScrollRange(HWND,INT,LPINT,LPINT); +WINUSERAPI HWND WINAPI GetShellWindow(void); +WINUSERAPI HMENU WINAPI GetSubMenu(HMENU,INT); +WINUSERAPI HBRUSH WINAPI GetSysColorBrush(INT); +#define GetSysModalWindow() ((HWND)0) +WINUSERAPI HMENU WINAPI GetSystemMenu(HWND,BOOL); +WINUSERAPI INT WINAPI GetSystemMetrics(INT); +WINUSERAPI DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,INT,INT,const INT*); +WINUSERAPI DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,INT,INT,const INT*); +#define GetTabbedTextExtent WINELIB_NAME_AW(GetTabbedTextExtent) +WINUSERAPI BOOL WINAPI GetTitleBarInfo(HWND,PTITLEBARINFO); +WINUSERAPI HDESK WINAPI GetThreadDesktop(DWORD); +WINUSERAPI HWND WINAPI GetTopWindow(HWND); +WINUSERAPI BOOL WINAPI GetTouchInputInfo(HTOUCHINPUT,UINT,TOUCHINPUT*,int); +WINUSERAPI BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL); +WINUSERAPI INT WINAPI GetUpdateRgn(HWND,HRGN,BOOL); +WINUSERAPI BOOL WINAPI GetUpdatedClipboardFormats(UINT*,UINT,UINT*); +WINUSERAPI BOOL WINAPI GetUserObjectInformationA(HANDLE,INT,LPVOID,DWORD,LPDWORD); +WINUSERAPI BOOL WINAPI GetUserObjectInformationW(HANDLE,INT,LPVOID,DWORD,LPDWORD); +#define GetUserObjectInformation WINELIB_NAME_AW(GetUserObjectInformation) +WINUSERAPI BOOL WINAPI GetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); +WINUSERAPI HWND WINAPI GetWindow(HWND,UINT); +WINUSERAPI DWORD WINAPI GetWindowContextHelpId(HWND); +WINUSERAPI HDC WINAPI GetWindowDC(HWND); +WINUSERAPI BOOL WINAPI GetWindowInfo(HWND, PWINDOWINFO); +WINUSERAPI LONG WINAPI GetWindowLongA(HWND,INT); +WINUSERAPI LONG WINAPI GetWindowLongW(HWND,INT); +#define GetWindowLong WINELIB_NAME_AW(GetWindowLong) +#ifdef _WIN64 +WINUSERAPI LONG_PTR WINAPI GetWindowLongPtrA(HWND,INT); +WINUSERAPI LONG_PTR WINAPI GetWindowLongPtrW(HWND,INT); +#else +#define GetWindowLongPtrA GetWindowLongA +#define GetWindowLongPtrW GetWindowLongW +#endif +#define GetWindowLongPtr WINELIB_NAME_AW(GetWindowLongPtr) +WINUSERAPI UINT WINAPI GetWindowModuleFileNameA(HWND,LPSTR,UINT); +WINUSERAPI UINT WINAPI GetWindowModuleFileNameW(HWND,LPWSTR,UINT); +#define GetWindowModuleFileName WINELIB_NAME_AW(GetWindowModuleFileName) +WINUSERAPI BOOL WINAPI GetWindowPlacement(HWND,LPWINDOWPLACEMENT); +WINUSERAPI BOOL WINAPI GetWindowRect(HWND,LPRECT); +WINUSERAPI INT WINAPI GetWindowRgnBox(HWND,LPRECT); +WINUSERAPI INT WINAPI GetWindowRgn(HWND,HRGN); +WINUSERAPI HWINSTA WINAPI GetProcessWindowStation(void); +#define GetWindowTask(hwnd) ((HTASK)GetWindowThreadProcessId(hwnd,NULL)) +WINUSERAPI INT WINAPI GetWindowTextA(HWND,LPSTR,INT); +WINUSERAPI INT WINAPI GetWindowTextW(HWND,LPWSTR,INT); +#define GetWindowText WINELIB_NAME_AW(GetWindowText) +WINUSERAPI INT WINAPI GetWindowTextLengthA(HWND); +WINUSERAPI INT WINAPI GetWindowTextLengthW(HWND); +#define GetWindowTextLength WINELIB_NAME_AW(GetWindowTextLength) +WINUSERAPI DWORD WINAPI GetWindowThreadProcessId(HWND,LPDWORD); +WINUSERAPI WORD WINAPI GetWindowWord(HWND,INT); +WINUSERAPI LONG WINAPI GetXWindowId(HWND); +WINUSERAPI BOOL WINAPI GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,INT,INT,INT,INT,INT); +WINUSERAPI BOOL WINAPI GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,INT,INT,INT,INT,INT); +#define GrayString WINELIB_NAME_AW(GrayString) +WINUSERAPI BOOL WINAPI HideCaret(HWND); +WINUSERAPI BOOL WINAPI HiliteMenuItem(HWND,HMENU,UINT,UINT); +WINUSERAPI BOOL WINAPI InSendMessage(void); +WINUSERAPI DWORD WINAPI InSendMessageEx(LPVOID); +WINUSERAPI BOOL WINAPI InsertMenuA(HMENU,UINT,UINT,UINT_PTR,LPCSTR); +WINUSERAPI BOOL WINAPI InsertMenuW(HMENU,UINT,UINT,UINT_PTR,LPCWSTR); +#define InsertMenu WINELIB_NAME_AW(InsertMenu) +WINUSERAPI BOOL WINAPI InsertMenuItemA(HMENU,UINT,BOOL,const MENUITEMINFOA*); +WINUSERAPI BOOL WINAPI InsertMenuItemW(HMENU,UINT,BOOL,const MENUITEMINFOW*); +#define InsertMenuItem WINELIB_NAME_AW(InsertMenuItem) +WINUSERAPI INT WINAPI InternalGetWindowText(HWND,LPWSTR,INT); +WINUSERAPI BOOL WINAPI IntersectRect(LPRECT,const RECT*,const RECT*); +WINUSERAPI BOOL WINAPI InvalidateRect(HWND,const RECT*,BOOL); +WINUSERAPI BOOL WINAPI InvalidateRgn(HWND,HRGN,BOOL); +WINUSERAPI BOOL WINAPI InvertRect(HDC,const RECT*); +WINUSERAPI BOOL WINAPI IsCharAlphaA(CHAR); +WINUSERAPI BOOL WINAPI IsCharAlphaW(WCHAR); +#define IsCharAlpha WINELIB_NAME_AW(IsCharAlpha) +WINUSERAPI BOOL WINAPI IsCharAlphaNumericA(CHAR); +WINUSERAPI BOOL WINAPI IsCharAlphaNumericW(WCHAR); +#define IsCharAlphaNumeric WINELIB_NAME_AW(IsCharAlphaNumeric) +WINUSERAPI BOOL WINAPI IsCharLowerA(CHAR); +WINUSERAPI BOOL WINAPI IsCharLowerW(WCHAR); +#define IsCharLower WINELIB_NAME_AW(IsCharLower) +WINUSERAPI BOOL WINAPI IsCharUpperA(CHAR); +WINUSERAPI BOOL WINAPI IsCharUpperW(WCHAR); +#define IsCharUpper WINELIB_NAME_AW(IsCharUpper) +WINUSERAPI BOOL WINAPI IsChild(HWND,HWND); +WINUSERAPI BOOL WINAPI IsClipboardFormatAvailable(UINT); +WINUSERAPI BOOL WINAPI IsDialogMessageA(HWND,LPMSG); +WINUSERAPI BOOL WINAPI IsDialogMessageW(HWND,LPMSG); +#define IsDialogMessage WINELIB_NAME_AW(IsDialogMessage) +WINUSERAPI UINT WINAPI IsDlgButtonChecked(HWND,int); +WINUSERAPI BOOL WINAPI IsGUIThread(BOOL); +WINUSERAPI BOOL WINAPI IsHungAppWindow(HWND); +WINUSERAPI BOOL WINAPI IsIconic(HWND); +WINUSERAPI BOOL WINAPI IsMenu(HMENU); +WINUSERAPI BOOL WINAPI IsProcessDPIAware(void); +WINUSERAPI BOOL WINAPI IsTouchWindow(HWND,PULONG); +WINUSERAPI BOOL WINAPI IsWinEventHookInstalled(DWORD); +WINUSERAPI BOOL WINAPI IsWindow(HWND); +WINUSERAPI BOOL WINAPI IsWindowEnabled(HWND); +WINUSERAPI BOOL WINAPI IsWindowUnicode(HWND); +WINUSERAPI BOOL WINAPI IsWindowVisible(HWND); +WINUSERAPI BOOL WINAPI IsZoomed(HWND); +WINUSERAPI BOOL WINAPI KillSystemTimer(HWND,UINT_PTR); +WINUSERAPI BOOL WINAPI KillTimer(HWND,UINT_PTR); +WINUSERAPI HACCEL WINAPI LoadAcceleratorsA(HINSTANCE,LPCSTR); +WINUSERAPI HACCEL WINAPI LoadAcceleratorsW(HINSTANCE,LPCWSTR); +#define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators) +WINUSERAPI HBITMAP WINAPI LoadBitmapA(HINSTANCE,LPCSTR); +WINUSERAPI HBITMAP WINAPI LoadBitmapW(HINSTANCE,LPCWSTR); +#define LoadBitmap WINELIB_NAME_AW(LoadBitmap) +WINUSERAPI HCURSOR WINAPI LoadCursorA(HINSTANCE,LPCSTR); +WINUSERAPI HCURSOR WINAPI LoadCursorW(HINSTANCE,LPCWSTR); +#define LoadCursor WINELIB_NAME_AW(LoadCursor) +WINUSERAPI HCURSOR WINAPI LoadCursorFromFileA(LPCSTR); +WINUSERAPI HCURSOR WINAPI LoadCursorFromFileW(LPCWSTR); +#define LoadCursorFromFile WINELIB_NAME_AW(LoadCursorFromFile) +WINUSERAPI HICON WINAPI LoadIconA(HINSTANCE,LPCSTR); +WINUSERAPI HICON WINAPI LoadIconW(HINSTANCE,LPCWSTR); +#define LoadIcon WINELIB_NAME_AW(LoadIcon) +WINUSERAPI HANDLE WINAPI LoadImageA(HINSTANCE,LPCSTR,UINT,INT,INT,UINT); +WINUSERAPI HANDLE WINAPI LoadImageW(HINSTANCE,LPCWSTR,UINT,INT,INT,UINT); +#define LoadImage WINELIB_NAME_AW(LoadImage) +WINUSERAPI HKL WINAPI LoadKeyboardLayoutA(LPCSTR,UINT); +WINUSERAPI HKL WINAPI LoadKeyboardLayoutW(LPCWSTR,UINT); +#define LoadKeyboardLayout WINELIB_NAME_AW(LoadKeyboardLayout) +WINUSERAPI HMENU WINAPI LoadMenuA(HINSTANCE,LPCSTR); +WINUSERAPI HMENU WINAPI LoadMenuW(HINSTANCE,LPCWSTR); +#define LoadMenu WINELIB_NAME_AW(LoadMenu) +WINUSERAPI HMENU WINAPI LoadMenuIndirectA(LPCVOID); +WINUSERAPI HMENU WINAPI LoadMenuIndirectW(LPCVOID); +#define LoadMenuIndirect WINELIB_NAME_AW(LoadMenuIndirect) +WINUSERAPI INT WINAPI LoadStringA(HINSTANCE,UINT,LPSTR,INT); +WINUSERAPI INT WINAPI LoadStringW(HINSTANCE,UINT,LPWSTR,INT); +#define LoadString WINELIB_NAME_AW(LoadString) +WINUSERAPI BOOL WINAPI LogicalToPhysicalPoint(HWND,POINT*); +WINUSERAPI BOOL WINAPI LockSetForegroundWindow(UINT); +WINUSERAPI BOOL WINAPI LockWindowUpdate(HWND); +WINUSERAPI BOOL WINAPI LockWorkStation(void); +WINUSERAPI INT WINAPI LookupIconIdFromDirectory(LPBYTE,BOOL); +WINUSERAPI INT WINAPI LookupIconIdFromDirectoryEx(LPBYTE,BOOL,INT,INT,UINT); +WINUSERAPI UINT WINAPI MapVirtualKeyA(UINT,UINT); +WINUSERAPI UINT WINAPI MapVirtualKeyW(UINT,UINT); +#define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey) +WINUSERAPI UINT WINAPI MapVirtualKeyExA(UINT,UINT,HKL); +WINUSERAPI UINT WINAPI MapVirtualKeyExW(UINT,UINT,HKL); +#define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx) +WINUSERAPI BOOL WINAPI MapDialogRect(HWND,LPRECT); +WINUSERAPI INT WINAPI MapWindowPoints(HWND,HWND,LPPOINT,UINT); +WINUSERAPI INT WINAPI MenuItemFromPoint(HWND,HMENU,POINT); +WINUSERAPI BOOL WINAPI MessageBeep(UINT); +WINUSERAPI INT WINAPI MessageBoxA(HWND,LPCSTR,LPCSTR,UINT); +WINUSERAPI INT WINAPI MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT); +#define MessageBox WINELIB_NAME_AW(MessageBox) +WINUSERAPI INT WINAPI MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD); +WINUSERAPI INT WINAPI MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD); +#define MessageBoxEx WINELIB_NAME_AW(MessageBoxEx) +WINUSERAPI INT WINAPI MessageBoxIndirectA(LPMSGBOXPARAMSA); +WINUSERAPI INT WINAPI MessageBoxIndirectW(LPMSGBOXPARAMSW); +#define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect) +WINUSERAPI BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT_PTR,LPCSTR); +WINUSERAPI BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT_PTR,LPCWSTR); +#define ModifyMenu WINELIB_NAME_AW(ModifyMenu) +WINUSERAPI HMONITOR WINAPI MonitorFromPoint(POINT,DWORD); +WINUSERAPI HMONITOR WINAPI MonitorFromRect(LPRECT,DWORD); +WINUSERAPI HMONITOR WINAPI MonitorFromWindow(HWND,DWORD); +WINUSERAPI BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL); +WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD,DWORD); +WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjectsEx(DWORD,const HANDLE*,DWORD,DWORD,DWORD); +WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD,HWND,LONG,LONG); +WINUSERAPI DWORD WINAPI OemKeyScan(WORD); +WINUSERAPI BOOL WINAPI OemToCharA(LPCSTR,LPSTR); +WINUSERAPI BOOL WINAPI OemToCharW(LPCSTR,LPWSTR); +#define OemToChar WINELIB_NAME_AW(OemToChar) +WINUSERAPI BOOL WINAPI OemToCharBuffA(LPCSTR,LPSTR,DWORD); +WINUSERAPI BOOL WINAPI OemToCharBuffW(LPCSTR,LPWSTR,DWORD); +#define OemToCharBuff WINELIB_NAME_AW(OemToCharBuff) +WINUSERAPI BOOL WINAPI OpenClipboard(HWND); +WINUSERAPI HDESK WINAPI OpenDesktopA(LPCSTR,DWORD,BOOL,ACCESS_MASK); +WINUSERAPI HDESK WINAPI OpenDesktopW(LPCWSTR,DWORD,BOOL,ACCESS_MASK); +#define OpenDesktop WINELIB_NAME_AW(OpenDesktop) +WINUSERAPI BOOL WINAPI OpenIcon(HWND); +WINUSERAPI HDESK WINAPI OpenInputDesktop(DWORD,BOOL,ACCESS_MASK); +WINUSERAPI HWINSTA WINAPI OpenWindowStationA(LPCSTR,BOOL,ACCESS_MASK); +WINUSERAPI HWINSTA WINAPI OpenWindowStationW(LPCWSTR,BOOL,ACCESS_MASK); +#define OpenWindowStation WINELIB_NAME_AW(OpenWindowStation) +WINUSERAPI BOOL WINAPI PaintDesktop(HDC); +WINUSERAPI BOOL WINAPI PeekMessageA(LPMSG,HWND,UINT,UINT,UINT); +WINUSERAPI BOOL WINAPI PeekMessageW(LPMSG,HWND,UINT,UINT,UINT); +#define PeekMessage WINELIB_NAME_AW(PeekMessage) +WINUSERAPI BOOL WINAPI PhysicalToLogicalPoint(HWND,POINT*); +#define PostAppMessageA(thread,msg,wparam,lparam) PostThreadMessageA((DWORD)(thread),msg,wparam,lparam) +#define PostAppMessageW(thread,msg,wparam,lparam) PostThreadMessageW((DWORD)(thread),msg,wparam,lparam) +#define PostAppMessage WINELIB_NAME_AW(PostAppMessage) +WINUSERAPI BOOL WINAPI PostMessageA(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI BOOL WINAPI PostMessageW(HWND,UINT,WPARAM,LPARAM); +#define PostMessage WINELIB_NAME_AW(PostMessage) +WINUSERAPI void WINAPI PostQuitMessage(INT); +WINUSERAPI BOOL WINAPI PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM); +WINUSERAPI BOOL WINAPI PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM); +#define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage) +WINUSERAPI BOOL WINAPI PrintWindow(HWND,HDC,UINT); +WINUSERAPI UINT WINAPI PrivateExtractIconExA(LPCSTR,int,HICON*,HICON*,UINT); +WINUSERAPI UINT WINAPI PrivateExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT); +WINUSERAPI UINT WINAPI PrivateExtractIconsA(LPCSTR,int,int,int,HICON*,UINT*,UINT,UINT); +WINUSERAPI UINT WINAPI PrivateExtractIconsW(LPCWSTR,int,int,int,HICON*,UINT*,UINT,UINT); +WINUSERAPI BOOL WINAPI PtInRect(const RECT*,POINT); +WINUSERAPI HWND WINAPI RealChildWindowFromPoint(HWND,POINT); +WINUSERAPI UINT WINAPI RealGetWindowClassA(HWND,LPSTR,UINT); +WINUSERAPI UINT WINAPI RealGetWindowClassW(HWND,LPWSTR,UINT); +#define RealGetWindowClass WINELIB_NAME_AW(RealGetWindowClass) +WINUSERAPI BOOL WINAPI RedrawWindow(HWND,const RECT*,HRGN,UINT); +WINUSERAPI ATOM WINAPI RegisterClassA(const WNDCLASSA *); +WINUSERAPI ATOM WINAPI RegisterClassW(const WNDCLASSW *); +#define RegisterClass WINELIB_NAME_AW(RegisterClass) +WINUSERAPI ATOM WINAPI RegisterClassExA(const WNDCLASSEXA *); +WINUSERAPI ATOM WINAPI RegisterClassExW(const WNDCLASSEXW *); +#define RegisterClassEx WINELIB_NAME_AW(RegisterClassEx) +WINUSERAPI UINT WINAPI RegisterClipboardFormatA(LPCSTR); +WINUSERAPI UINT WINAPI RegisterClipboardFormatW(LPCWSTR); +#define RegisterClipboardFormat WINELIB_NAME_AW(RegisterClipboardFormat) +WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD); +WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD); +#define RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification) +WINUSERAPI BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT); +WINUSERAPI HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE,LPCGUID,DWORD); +WINUSERAPI BOOL WINAPI RegisterRawInputDevices(PRAWINPUTDEVICE,UINT,UINT); +WINUSERAPI BOOL WINAPI RegisterShellHookWindow(HWND); +WINUSERAPI BOOL WINAPI RegisterTouchWindow(HWND,ULONG); +WINUSERAPI UINT WINAPI RegisterWindowMessageA(LPCSTR); +WINUSERAPI UINT WINAPI RegisterWindowMessageW(LPCWSTR); +#define RegisterWindowMessage WINELIB_NAME_AW(RegisterWindowMessage) +WINUSERAPI BOOL WINAPI ReleaseCapture(void); +WINUSERAPI INT WINAPI ReleaseDC(HWND,HDC); +WINUSERAPI BOOL WINAPI RemoveClipboardFormatListener(HWND); +WINUSERAPI BOOL WINAPI RemoveMenu(HMENU,UINT,UINT); +WINUSERAPI HANDLE WINAPI RemovePropA(HWND,LPCSTR); +WINUSERAPI HANDLE WINAPI RemovePropW(HWND,LPCWSTR); +#define RemoveProp WINELIB_NAME_AW(RemoveProp) +WINUSERAPI BOOL WINAPI ReplyMessage(LRESULT); +WINUSERAPI BOOL WINAPI ScreenToClient(HWND,LPPOINT); +WINUSERAPI VOID WINAPI ScrollChildren(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI BOOL WINAPI ScrollDC(HDC,INT,INT,const RECT*,const RECT*,HRGN,LPRECT); +WINUSERAPI BOOL WINAPI ScrollWindow(HWND,INT,INT,const RECT*,const RECT*); +WINUSERAPI INT WINAPI ScrollWindowEx(HWND,INT,INT,const RECT*,const RECT*,HRGN,LPRECT,UINT); +WINUSERAPI LRESULT WINAPI SendDlgItemMessageA(HWND,INT,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI SendDlgItemMessageW(HWND,INT,UINT,WPARAM,LPARAM); +#define SendDlgItemMessage WINELIB_NAME_AW(SendDlgItemMessage) +WINUSERAPI UINT WINAPI SendInput(UINT,LPINPUT,int); +WINUSERAPI LRESULT WINAPI SendMessageA(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI LRESULT WINAPI SendMessageW(HWND,UINT,WPARAM,LPARAM); +#define SendMessage WINELIB_NAME_AW(SendMessage) +WINUSERAPI BOOL WINAPI SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,ULONG_PTR); +WINUSERAPI BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,ULONG_PTR); +#define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback) +WINUSERAPI LRESULT WINAPI SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD_PTR); +WINUSERAPI LRESULT WINAPI SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD_PTR); +#define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout) +WINUSERAPI BOOL WINAPI SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM); +WINUSERAPI BOOL WINAPI SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM); +#define SendNotifyMessage WINELIB_NAME_AW(SendNotifyMessage) +WINUSERAPI HWND WINAPI SetActiveWindow(HWND); +WINUSERAPI HWND WINAPI SetCapture(HWND); +WINUSERAPI BOOL WINAPI SetCaretBlinkTime(UINT); +WINUSERAPI BOOL WINAPI SetCaretPos(INT,INT); +WINUSERAPI DWORD WINAPI SetClassLongA(HWND,INT,LONG); +WINUSERAPI DWORD WINAPI SetClassLongW(HWND,INT,LONG); +#define SetClassLong WINELIB_NAME_AW(SetClassLong) +#ifdef _WIN64 +WINUSERAPI ULONG_PTR WINAPI SetClassLongPtrA(HWND,INT,LONG_PTR); +WINUSERAPI ULONG_PTR WINAPI SetClassLongPtrW(HWND,INT,LONG_PTR); +#else +#define SetClassLongPtrA SetClassLongA +#define SetClassLongPtrW SetClassLongW +#endif +#define SetClassLongPtr WINELIB_NAME_AW(SetClassLongPtr) +WINUSERAPI WORD WINAPI SetClassWord(HWND,INT,WORD); +WINUSERAPI HANDLE WINAPI SetClipboardData(UINT,HANDLE); +WINUSERAPI HWND WINAPI SetClipboardViewer(HWND); +WINUSERAPI UINT_PTR WINAPI SetCoalescableTimer(HWND,UINT_PTR,UINT,TIMERPROC,ULONG); +WINUSERAPI HCURSOR WINAPI SetCursor(HCURSOR); +WINUSERAPI BOOL WINAPI SetCursorPos(INT,INT); +WINUSERAPI VOID WINAPI SetDebugErrorLevel(DWORD); +WINUSERAPI BOOL WINAPI SetDeskWallPaper(LPCSTR); +WINUSERAPI BOOL WINAPI SetDlgItemInt(HWND,INT,UINT,BOOL); +WINUSERAPI BOOL WINAPI SetDlgItemTextA(HWND,INT,LPCSTR); +WINUSERAPI BOOL WINAPI SetDlgItemTextW(HWND,INT,LPCWSTR); +#define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText) +WINUSERAPI BOOL WINAPI SetDoubleClickTime(UINT); +WINUSERAPI HWND WINAPI SetFocus(HWND); +WINUSERAPI BOOL WINAPI SetForegroundWindow(HWND); +WINUSERAPI BOOL WINAPI WINE_SetForegroundWindow(HWND); +WINUSERAPI BOOL WINAPI SetGestureConfig(HWND,DWORD,UINT,PGESTURECONFIG,UINT); +WINUSERAPI void WINAPI SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT); +WINUSERAPI BOOL WINAPI SetKeyboardState(LPBYTE); +WINUSERAPI VOID WINAPI SetLastErrorEx(DWORD,DWORD); +WINUSERAPI BOOL WINAPI SetLayeredWindowAttributes(HWND,COLORREF,BYTE,DWORD); +WINUSERAPI BOOL WINAPI SetMenu(HWND,HMENU); +WINUSERAPI BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD); +WINUSERAPI BOOL WINAPI SetMenuDefaultItem(HMENU,UINT,UINT); +WINUSERAPI BOOL WINAPI SetMenuInfo(HMENU,LPCMENUINFO); +WINUSERAPI BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP); +WINUSERAPI BOOL WINAPI SetMenuItemInfoA(HMENU,UINT,BOOL,const MENUITEMINFOA*); +WINUSERAPI BOOL WINAPI SetMenuItemInfoW(HMENU,UINT,BOOL,const MENUITEMINFOW*); +#define SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo) +WINUSERAPI LPARAM WINAPI SetMessageExtraInfo(LPARAM); +WINUSERAPI BOOL WINAPI SetMessageQueue(INT); +WINUSERAPI HWND WINAPI SetParent(HWND,HWND); +WINUSERAPI BOOL WINAPI SetPhysicalCursorPos(INT,INT); +WINUSERAPI BOOL WINAPI SetProcessDPIAware(void); +WINUSERAPI BOOL WINAPI SetProcessDefaultLayout(DWORD); +WINUSERAPI BOOL WINAPI SetProcessWindowStation(HWINSTA); +WINUSERAPI BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE); +WINUSERAPI BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE); +#define SetProp WINELIB_NAME_AW(SetProp) +WINUSERAPI INT WINAPI SetScrollInfo(HWND,INT,const SCROLLINFO*,BOOL); +WINUSERAPI INT WINAPI SetScrollPos(HWND,INT,INT,BOOL); +WINUSERAPI BOOL WINAPI SetScrollRange(HWND,INT,INT,INT,BOOL); +#define SetSysModalWindow(hwnd) ((HWND)0) +WINUSERAPI BOOL WINAPI SetSystemCursor(HCURSOR,DWORD); +WINUSERAPI BOOL WINAPI SetSystemMenu(HWND,HMENU); +WINUSERAPI UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC); +WINUSERAPI BOOL WINAPI SetThreadDesktop(HDESK); +WINUSERAPI UINT_PTR WINAPI SetTimer(HWND,UINT_PTR,UINT,TIMERPROC); +WINUSERAPI BOOL WINAPI SetUserObjectInformationA(HANDLE,INT,LPVOID,DWORD); +WINUSERAPI BOOL WINAPI SetUserObjectInformationW(HANDLE,INT,LPVOID,DWORD); +#define SetUserObjectInformation WINELIB_NAME_AW(SetUserObjectInformation) +WINUSERAPI BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR); +WINUSERAPI BOOL WINAPI SetWindowContextHelpId(HWND,DWORD); +WINUSERAPI LONG WINAPI SetWindowLongA(HWND,INT,LONG); +WINUSERAPI LONG WINAPI SetWindowLongW(HWND,INT,LONG); +#define SetWindowLong WINELIB_NAME_AW(SetWindowLong) +#ifdef _WIN64 +WINUSERAPI LONG_PTR WINAPI SetWindowLongPtrA(HWND,INT,LONG_PTR); +WINUSERAPI LONG_PTR WINAPI SetWindowLongPtrW(HWND,INT,LONG_PTR); +#else +#define SetWindowLongPtrA SetWindowLongA +#define SetWindowLongPtrW SetWindowLongW +#endif +#define SetWindowLongPtr WINELIB_NAME_AW(SetWindowLongPtr) +WINUSERAPI BOOL WINAPI SetWindowPlacement(HWND,const WINDOWPLACEMENT*); +WINUSERAPI HHOOK WINAPI SetWindowsHookA(INT,HOOKPROC); +WINUSERAPI HHOOK WINAPI SetWindowsHookW(INT,HOOKPROC); +#define SetWindowsHook WINELIB_NAME_AW(SetWindowsHook) +WINUSERAPI HHOOK WINAPI SetWindowsHookExA(INT,HOOKPROC,HINSTANCE,DWORD); +WINUSERAPI HHOOK WINAPI SetWindowsHookExW(INT,HOOKPROC,HINSTANCE,DWORD); +#define SetWindowsHookEx WINELIB_NAME_AW(SetWindowsHookEx) +WINUSERAPI BOOL WINAPI SetWindowPos(HWND,HWND,INT,INT,INT,INT,UINT); +WINUSERAPI INT WINAPI SetWindowRgn(HWND,HRGN,BOOL); +WINUSERAPI BOOL WINAPI SetWindowTextA(HWND,LPCSTR); +WINUSERAPI BOOL WINAPI SetWindowTextW(HWND,LPCWSTR); +#define SetWindowText WINELIB_NAME_AW(SetWindowText) +WINUSERAPI WORD WINAPI SetWindowWord(HWND,INT,WORD); +WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD,DWORD,HMODULE,WINEVENTPROC,DWORD,DWORD,DWORD); +WINUSERAPI BOOL WINAPI ShowCaret(HWND); +WINUSERAPI INT WINAPI ShowCursor(BOOL); +WINUSERAPI BOOL WINAPI ShowScrollBar(HWND,INT,BOOL); +WINUSERAPI BOOL WINAPI ShowOwnedPopups(HWND,BOOL); +WINUSERAPI BOOL WINAPI ShowWindow(HWND,INT); +WINUSERAPI BOOL WINAPI ShowWindowAsync(HWND,INT); +WINUSERAPI BOOL WINAPI ShutdownBlockReasonCreate(HWND,LPCWSTR); +WINUSERAPI BOOL WINAPI ShutdownBlockReasonDestroy(HWND); +WINUSERAPI BOOL WINAPI SubtractRect(LPRECT,const RECT*,const RECT*); +WINUSERAPI BOOL WINAPI SwapMouseButton(BOOL); +WINUSERAPI BOOL WINAPI SwitchDesktop(HDESK); +WINUSERAPI VOID WINAPI SwitchToThisWindow(HWND,BOOL); +WINUSERAPI BOOL WINAPI SystemParametersInfoA(UINT,UINT,LPVOID,UINT); +WINUSERAPI BOOL WINAPI SystemParametersInfoW(UINT,UINT,LPVOID,UINT); +#define SystemParametersInfo WINELIB_NAME_AW(SystemParametersInfo) +WINUSERAPI LONG WINAPI TabbedTextOutA(HDC,INT,INT,LPCSTR,INT,INT,const INT*,INT); +WINUSERAPI LONG WINAPI TabbedTextOutW(HDC,INT,INT,LPCWSTR,INT,INT,const INT*,INT); +#define TabbedTextOut WINELIB_NAME_AW(TabbedTextOut) +WINUSERAPI WORD WINAPI TileWindows (HWND,UINT,const RECT *,UINT,const HWND *); +WINUSERAPI INT WINAPI ToAscii(UINT,UINT,const BYTE *,LPWORD,UINT); +WINUSERAPI INT WINAPI ToAsciiEx(UINT,UINT,const BYTE *,LPWORD,UINT,HKL); +WINUSERAPI INT WINAPI ToUnicode(UINT,UINT,const BYTE *,LPWSTR,int,UINT); +WINUSERAPI INT WINAPI ToUnicodeEx(UINT,UINT,const BYTE *,LPWSTR,int,UINT,HKL); +WINUSERAPI BOOL WINAPI TrackMouseEvent(LPTRACKMOUSEEVENT); +WINUSERAPI BOOL WINAPI TrackPopupMenu(HMENU,UINT,INT,INT,INT,HWND,const RECT*); +WINUSERAPI BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND,LPTPMPARAMS); +WINUSERAPI INT WINAPI TranslateAcceleratorA(HWND,HACCEL,LPMSG); +WINUSERAPI INT WINAPI TranslateAcceleratorW(HWND,HACCEL,LPMSG); +#define TranslateAccelerator WINELIB_NAME_AW(TranslateAccelerator) +WINUSERAPI BOOL WINAPI TranslateMDISysAccel(HWND,LPMSG); +WINUSERAPI BOOL WINAPI TranslateMessage(const MSG*); +WINUSERAPI BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK); +WINUSERAPI BOOL WINAPI UnhookWindowsHook(INT,HOOKPROC); +WINUSERAPI BOOL WINAPI UnhookWindowsHookEx(HHOOK); +WINUSERAPI BOOL WINAPI UnloadKeyboardLayout(HKL); +WINUSERAPI BOOL WINAPI UnionRect(LPRECT,const RECT*,const RECT*); +WINUSERAPI BOOL WINAPI UnregisterClassA(LPCSTR,HINSTANCE); +WINUSERAPI BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE); +#define UnregisterClass WINELIB_NAME_AW(UnregisterClass) +WINUSERAPI BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY); +WINUSERAPI BOOL WINAPI UnregisterHotKey(HWND,INT); +WINUSERAPI BOOL WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY); +WINUSERAPI BOOL WINAPI UnregisterTouchWindow(HWND); +WINUSERAPI BOOL WINAPI UpdateWindow(HWND); +WINUSERAPI BOOL WINAPI UserHandleGrantAccess(HANDLE,HANDLE,BOOL); +WINUSERAPI UINT WINAPI UserRealizePalette(HDC); +WINUSERAPI BOOL WINAPI ValidateRect(HWND,const RECT*); +WINUSERAPI BOOL WINAPI ValidateRgn(HWND,HRGN); +WINUSERAPI SHORT WINAPI VkKeyScanA(CHAR); +WINUSERAPI SHORT WINAPI VkKeyScanW(WCHAR); +#define VkKeyScan WINELIB_NAME_AW(VkKeyScan) +WINUSERAPI WORD WINAPI VkKeyScanExA(CHAR, HKL); +WINUSERAPI WORD WINAPI VkKeyScanExW(WCHAR, HKL); +#define VkKeyScanEx WINELIB_NAME_AW(VkKeyScanEx) +WINUSERAPI DWORD WINAPI WaitForInputIdle(HANDLE,DWORD); +WINUSERAPI BOOL WINAPI WaitMessage(void); +WINUSERAPI HWND WINAPI WindowFromDC(HDC); +WINUSERAPI HWND WINAPI WindowFromPoint(POINT); +WINUSERAPI BOOL WINAPI WinHelpA(HWND,LPCSTR,UINT,ULONG_PTR); +WINUSERAPI BOOL WINAPI WinHelpW(HWND,LPCWSTR,UINT,ULONG_PTR); +#define WinHelp WINELIB_NAME_AW(WinHelp) +WINUSERAPI VOID WINAPI keybd_event(BYTE,BYTE,DWORD,ULONG_PTR); +WINUSERAPI VOID WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,ULONG_PTR); +WINUSERAPI INT WINAPIV wsprintfA(LPSTR,LPCSTR,...); +WINUSERAPI INT WINAPIV wsprintfW(LPWSTR,LPCWSTR,...); +#define wsprintf WINELIB_NAME_AW(wsprintf) +WINUSERAPI INT WINAPI wvsprintfA(LPSTR,LPCSTR,__ms_va_list); +WINUSERAPI INT WINAPI wvsprintfW(LPWSTR,LPCWSTR,__ms_va_list); +#define wvsprintf WINELIB_NAME_AW(wvsprintf) + +#if !defined(__WINESRC__) || defined(WINE_NO_INLINE_RECT) + +WINUSERAPI BOOL WINAPI EqualRect(const RECT*,const RECT*); +WINUSERAPI BOOL WINAPI InflateRect(LPRECT,INT,INT); +WINUSERAPI BOOL WINAPI IsRectEmpty(const RECT*); +WINUSERAPI BOOL WINAPI OffsetRect(LPRECT,INT,INT); +WINUSERAPI BOOL WINAPI SetRect(LPRECT,INT,INT,INT,INT); +WINUSERAPI BOOL WINAPI SetRectEmpty(LPRECT); + +#else + +/* Inline versions of common RECT helpers */ + +static inline BOOL WINAPI EqualRect(const RECT *rect1, const RECT *rect2) +{ + if (!rect1 || !rect2) return FALSE; + return ((rect1->left == rect2->left) && (rect1->right == rect2->right) && + (rect1->top == rect2->top) && (rect1->bottom == rect2->bottom)); +} + +static inline BOOL WINAPI InflateRect(LPRECT rect, INT x, INT y) +{ + if (!rect) return FALSE; + rect->left -= x; + rect->top -= y; + rect->right += x; + rect->bottom += y; + return TRUE; +} + +static inline BOOL WINAPI IsRectEmpty(const RECT *rect) +{ + if (!rect) return TRUE; + return ((rect->left >= rect->right) || (rect->top >= rect->bottom)); +} + +static inline BOOL WINAPI OffsetRect(LPRECT rect, INT x, INT y) +{ + if (!rect) return FALSE; + rect->left += x; + rect->right += x; + rect->top += y; + rect->bottom += y; + return TRUE; +} + +static inline BOOL WINAPI SetRect(LPRECT rect, INT left, INT top, INT right, INT bottom) +{ + if (!rect) return FALSE; + rect->left = left; + rect->right = right; + rect->top = top; + rect->bottom = bottom; + return TRUE; +} + +static inline BOOL WINAPI SetRectEmpty(LPRECT rect) +{ + if (!rect) return FALSE; + rect->left = rect->right = rect->top = rect->bottom = 0; + return TRUE; +} + +#endif /* !defined(__WINESRC__) || defined(WINE_NO_INLINE_RECT) */ + +/* Undocumented functions */ + +/* NOTE: This is SYSTEM.3, not USER.182, which is also named KillSystemTimer */ +WORD WINAPI SYSTEM_KillSystemTimer( WORD ); + +#ifdef __WINESRC__ +WINUSERAPI BOOL CDECL __wine_send_input( HWND hwnd, const INPUT *input ); +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* _WINUSER_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winuser.rh b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winuser.rh new file mode 100644 index 0000000..350d427 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winuser.rh @@ -0,0 +1,1342 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */ +#ifndef __MSABI_LONG +# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__) +# define __MSABI_LONG(x) x ## l +# else +# define __MSABI_LONG(x) x +# endif +#endif + +#ifdef RC_INVOKED +# define MAKEINTRESOURCE(i) i +#endif + + +#define RT_MANIFEST MAKEINTRESOURCE(24) +#define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1) +#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2) +#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3) +#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1) +#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(16) + + +/*** ShowWindow() codes ***/ +#define SW_HIDE 0 +#define SW_SHOWNORMAL 1 +#define SW_NORMAL SW_SHOWNORMAL +#define SW_SHOWMINIMIZED 2 +#define SW_SHOWMAXIMIZED 3 +#define SW_MAXIMIZE SW_SHOWMAXIMIZED +#define SW_SHOWNOACTIVATE 4 +#define SW_SHOW 5 +#define SW_MINIMIZE 6 +#define SW_SHOWMINNOACTIVE 7 +#define SW_SHOWNA 8 +#define SW_RESTORE 9 +#define SW_SHOWDEFAULT 10 +#define SW_FORCEMINIMIZE 11 +#define SW_MAX 11 +#define SW_NORMALNA 0xCC /* Undocumented. Flag in MinMaximize */ + +/* Obsolete ShowWindow() codes for compatibility */ +#define HIDE_WINDOW SW_HIDE +#define SHOW_OPENWINDOW SW_SHOWNORMAL +#define SHOW_ICONWINDOW SW_SHOWMINIMIZED +#define SHOW_FULLSCREEN SW_SHOWMAXIMIZED +#define SHOW_OPENNOACTIVATE SW_SHOWNOACTIVATE + +/* WM_SHOWWINDOW lParam codes */ +#define SW_PARENTCLOSING 1 +#define SW_OTHERZOOM 2 +#define SW_PARENTOPENING 3 +#define SW_OTHERUNZOOM 4 + + +/*** Virtual key codes ***/ +#define VK_LBUTTON 0x01 +#define VK_RBUTTON 0x02 +#define VK_CANCEL 0x03 +#define VK_MBUTTON 0x04 +#define VK_XBUTTON1 0x05 +#define VK_XBUTTON2 0x06 +/* 0x07 Undefined */ +#define VK_BACK 0x08 +#define VK_TAB 0x09 +/* 0x0A-0x0B Undefined */ +#define VK_CLEAR 0x0C +#define VK_RETURN 0x0D +/* 0x0E-0x0F Undefined */ +#define VK_SHIFT 0x10 +#define VK_CONTROL 0x11 +#define VK_MENU 0x12 +#define VK_PAUSE 0x13 +#define VK_CAPITAL 0x14 + +#define VK_KANA 0x15 +#define VK_HANGEUL VK_KANA +#define VK_HANGUL VK_KANA +#define VK_JUNJA 0x17 +#define VK_FINAL 0x18 +#define VK_HANJA 0x19 +#define VK_KANJI VK_HANJA + +/* 0x1A Undefined */ +#define VK_ESCAPE 0x1B + +#define VK_CONVERT 0x1C +#define VK_NONCONVERT 0x1D +#define VK_ACCEPT 0x1E +#define VK_MODECHANGE 0x1F + +#define VK_SPACE 0x20 +#define VK_PRIOR 0x21 +#define VK_NEXT 0x22 +#define VK_END 0x23 +#define VK_HOME 0x24 +#define VK_LEFT 0x25 +#define VK_UP 0x26 +#define VK_RIGHT 0x27 +#define VK_DOWN 0x28 +#define VK_SELECT 0x29 +#define VK_PRINT 0x2A /* OEM specific in Windows 3.1 SDK */ +#define VK_EXECUTE 0x2B +#define VK_SNAPSHOT 0x2C +#define VK_INSERT 0x2D +#define VK_DELETE 0x2E +#define VK_HELP 0x2F +/* VK_0 - VK-9 0x30-0x39 Use ASCII instead */ +/* 0x3A-0x40 Undefined */ +/* VK_A - VK_Z 0x41-0x5A Use ASCII instead */ +#define VK_LWIN 0x5B +#define VK_RWIN 0x5C +#define VK_APPS 0x5D +/* 0x5E Unassigned */ +#define VK_SLEEP 0x5F +#define VK_NUMPAD0 0x60 +#define VK_NUMPAD1 0x61 +#define VK_NUMPAD2 0x62 +#define VK_NUMPAD3 0x63 +#define VK_NUMPAD4 0x64 +#define VK_NUMPAD5 0x65 +#define VK_NUMPAD6 0x66 +#define VK_NUMPAD7 0x67 +#define VK_NUMPAD8 0x68 +#define VK_NUMPAD9 0x69 +#define VK_MULTIPLY 0x6A +#define VK_ADD 0x6B +#define VK_SEPARATOR 0x6C +#define VK_SUBTRACT 0x6D +#define VK_DECIMAL 0x6E +#define VK_DIVIDE 0x6F +#define VK_F1 0x70 +#define VK_F2 0x71 +#define VK_F3 0x72 +#define VK_F4 0x73 +#define VK_F5 0x74 +#define VK_F6 0x75 +#define VK_F7 0x76 +#define VK_F8 0x77 +#define VK_F9 0x78 +#define VK_F10 0x79 +#define VK_F11 0x7A +#define VK_F12 0x7B +#define VK_F13 0x7C +#define VK_F14 0x7D +#define VK_F15 0x7E +#define VK_F16 0x7F +#define VK_F17 0x80 +#define VK_F18 0x81 +#define VK_F19 0x82 +#define VK_F20 0x83 +#define VK_F21 0x84 +#define VK_F22 0x85 +#define VK_F23 0x86 +#define VK_F24 0x87 +/* 0x88-0x8F Unassigned */ +#define VK_NUMLOCK 0x90 +#define VK_SCROLL 0x91 +#define VK_OEM_NEC_EQUAL 0x92 +#define VK_OEM_FJ_JISHO 0x92 +#define VK_OEM_FJ_MASSHOU 0x93 +#define VK_OEM_FJ_TOUROKU 0x94 +#define VK_OEM_FJ_LOYA 0x95 +#define VK_OEM_FJ_ROYA 0x96 +/* 0x97-0x9F Unassigned */ +/* + * differencing between right and left shift/control/alt key. + * Used only by GetAsyncKeyState() and GetKeyState(). + */ +#define VK_LSHIFT 0xA0 +#define VK_RSHIFT 0xA1 +#define VK_LCONTROL 0xA2 +#define VK_RCONTROL 0xA3 +#define VK_LMENU 0xA4 +#define VK_RMENU 0xA5 + +#define VK_BROWSER_BACK 0xA6 +#define VK_BROWSER_FORWARD 0xA7 +#define VK_BROWSER_REFRESH 0xA8 +#define VK_BROWSER_STOP 0xA9 +#define VK_BROWSER_SEARCH 0xAA +#define VK_BROWSER_FAVORITES 0xAB +#define VK_BROWSER_HOME 0xAC +#define VK_VOLUME_MUTE 0xAD +#define VK_VOLUME_DOWN 0xAE +#define VK_VOLUME_UP 0xAF +#define VK_MEDIA_NEXT_TRACK 0xB0 +#define VK_MEDIA_PREV_TRACK 0xB1 +#define VK_MEDIA_STOP 0xB2 +#define VK_MEDIA_PLAY_PAUSE 0xB3 +#define VK_LAUNCH_MAIL 0xB4 +#define VK_LAUNCH_MEDIA_SELECT 0xB5 +#define VK_LAUNCH_APP1 0xB6 +#define VK_LAUNCH_APP2 0xB7 + +/* 0xB8-0xB9 Unassigned */ +#define VK_OEM_1 0xBA +#define VK_OEM_PLUS 0xBB +#define VK_OEM_COMMA 0xBC +#define VK_OEM_MINUS 0xBD +#define VK_OEM_PERIOD 0xBE +#define VK_OEM_2 0xBF +#define VK_OEM_3 0xC0 +/* 0xC1-0xDA Unassigned */ +#define VK_OEM_4 0xDB +#define VK_OEM_5 0xDC +#define VK_OEM_6 0xDD +#define VK_OEM_7 0xDE +#define VK_OEM_8 0xDF +/* 0xE0 OEM specific */ +#define VK_OEM_AX 0xE1 /* "AX" key on Japanese AX keyboard */ +#define VK_OEM_102 0xE2 /* "<>" or "\|" on RT 102-key keyboard */ +#define VK_ICO_HELP 0xE3 /* Help key on ICO */ +#define VK_ICO_00 0xE4 /* 00 key on ICO */ +#define VK_PROCESSKEY 0xE5 +#define VK_ICO_CLEAR 0xE6 + +#define VK_PACKET 0xE7 +/* 0xE8 Unassigned */ + +#define VK_OEM_RESET 0xE9 +#define VK_OEM_JUMP 0xEA +#define VK_OEM_PA1 0xEB +#define VK_OEM_PA2 0xEC +#define VK_OEM_PA3 0xED +#define VK_OEM_WSCTRL 0xEE +#define VK_OEM_CUSEL 0xEF +#define VK_OEM_ATTN 0xF0 +#define VK_OEM_FINISH 0xF1 +#define VK_OEM_COPY 0xF2 +#define VK_OEM_AUTO 0xF3 +#define VK_OEM_ENLW 0xF4 +#define VK_OEM_BACKTAB 0xF5 +#define VK_ATTN 0xF6 +#define VK_CRSEL 0xF7 +#define VK_EXSEL 0xF8 +#define VK_EREOF 0xF9 +#define VK_PLAY 0xFA +#define VK_ZOOM 0xFB +#define VK_NONAME 0xFC +#define VK_PA1 0xFD +#define VK_OEM_CLEAR 0xFE +/* 0xFF Unassigned */ + + +/*** Messages ***/ +#ifndef NOWINMESSAGES +#define WM_NULL 0x0000 +#define WM_CREATE 0x0001 +#define WM_DESTROY 0x0002 +#define WM_MOVE 0x0003 +#define WM_SIZEWAIT 0x0004 /* DDK / Win16 */ +#define WM_SIZE 0x0005 +#define WM_ACTIVATE 0x0006 + +/* WM_ACTIVATE wParam values */ +#define WA_INACTIVE 0 +#define WA_ACTIVE 1 +#define WA_CLICKACTIVE 2 + +#define WM_SETFOCUS 0x0007 +#define WM_KILLFOCUS 0x0008 +#define WM_SETVISIBLE 0x0009 /* DDK / Win16 */ +#define WM_ENABLE 0x000a +#define WM_SETREDRAW 0x000b +#define WM_SETTEXT 0x000c +#define WM_GETTEXT 0x000d +#define WM_GETTEXTLENGTH 0x000e +#define WM_PAINT 0x000f +#define WM_CLOSE 0x0010 +#define WM_QUERYENDSESSION 0x0011 +#define WM_QUIT 0x0012 +#define WM_QUERYOPEN 0x0013 +#define WM_ERASEBKGND 0x0014 +#define WM_SYSCOLORCHANGE 0x0015 +#define WM_ENDSESSION 0x0016 +#define WM_SYSTEMERROR 0x0017 /* DDK / Win16 */ +#define WM_SHOWWINDOW 0x0018 +#define WM_CTLCOLOR 0x0019 /* Added from windowsx.h */ +#define WM_WININICHANGE 0x001a +#define WM_SETTINGCHANGE WM_WININICHANGE +#define WM_DEVMODECHANGE 0x001b +#define WM_ACTIVATEAPP 0x001c +#define WM_FONTCHANGE 0x001d +#define WM_TIMECHANGE 0x001e +#define WM_CANCELMODE 0x001f +#define WM_SETCURSOR 0x0020 +#define WM_MOUSEACTIVATE 0x0021 +#define WM_CHILDACTIVATE 0x0022 +#define WM_QUEUESYNC 0x0023 +#define WM_GETMINMAXINFO 0x0024 + +#define WM_PAINTICON 0x0026 +#define WM_ICONERASEBKGND 0x0027 +#define WM_NEXTDLGCTL 0x0028 +#define WM_ALTTABACTIVE 0x0029 /* DDK / Win16 */ +#define WM_SPOOLERSTATUS 0x002a +#define WM_DRAWITEM 0x002b +#define WM_MEASUREITEM 0x002c +#define WM_DELETEITEM 0x002d +#define WM_VKEYTOITEM 0x002e +#define WM_CHARTOITEM 0x002f +#define WM_SETFONT 0x0030 +#define WM_GETFONT 0x0031 +#define WM_SETHOTKEY 0x0032 +#define WM_GETHOTKEY 0x0033 +#define WM_FILESYSCHANGE 0x0034 /* DDK / Win16 */ +#define WM_ISACTIVEICON 0x0035 /* DDK / Win16 */ +#define WM_QUERYPARKICON 0x0036 /* Undocumented */ +#define WM_QUERYDRAGICON 0x0037 +#define WM_QUERYSAVESTATE 0x0038 /* Undocumented */ +#define WM_COMPAREITEM 0x0039 +#define WM_TESTING 0x003a /* DDK / Win16 */ + +#define WM_GETOBJECT 0x003d + +#define WM_ACTIVATESHELLWINDOW 0x003e /* FIXME: Wine-only */ + +#define WM_COMPACTING 0x0041 + +#define WM_COMMNOTIFY 0x0044 +#define WM_WINDOWPOSCHANGING 0x0046 +#define WM_WINDOWPOSCHANGED 0x0047 + +#define WM_POWER 0x0048 + +/* For WM_POWER */ +#define PWR_OK 1 +#define PWR_FAIL (-1) +#define PWR_SUSPENDREQUEST 1 +#define PWR_SUSPENDRESUME 2 +#define PWR_CRITICALRESUME 3 + +/* Win32 4.0 messages */ +#define WM_COPYDATA 0x004a +#define WM_CANCELJOURNAL 0x004b +#define WM_KEYF1 0x004d /* DDK / Win16 */ +#define WM_NOTIFY 0x004e +#define WM_INPUTLANGCHANGEREQUEST 0x0050 +#define WM_INPUTLANGCHANGE 0x0051 +#define WM_TCARD 0x0052 +#define WM_HELP 0x0053 +#define WM_USERCHANGED 0x0054 +#define WM_NOTIFYFORMAT 0x0055 + +/* WM_NOTIFYFORMAT commands and return values */ +#define NFR_ANSI 1 +#define NFR_UNICODE 2 +#define NF_QUERY 3 +#define NF_REQUERY 4 + +#define WM_CONTEXTMENU 0x007b +#define WM_STYLECHANGING 0x007c +#define WM_STYLECHANGED 0x007d +#define WM_DISPLAYCHANGE 0x007e +#define WM_GETICON 0x007f +#define WM_SETICON 0x0080 + +/* Non-client system messages */ +#define WM_NCCREATE 0x0081 +#define WM_NCDESTROY 0x0082 +#define WM_NCCALCSIZE 0x0083 +#define WM_NCHITTEST 0x0084 +#define WM_NCPAINT 0x0085 +#define WM_NCACTIVATE 0x0086 + +#define WM_GETDLGCODE 0x0087 +#define WM_SYNCPAINT 0x0088 +#define WM_SYNCTASK 0x0089 /* DDK / Win16 */ + +/* Non-client mouse messages */ +#define WM_NCMOUSEMOVE 0x00a0 +#define WM_NCLBUTTONDOWN 0x00a1 +#define WM_NCLBUTTONUP 0x00a2 +#define WM_NCLBUTTONDBLCLK 0x00a3 +#define WM_NCRBUTTONDOWN 0x00a4 +#define WM_NCRBUTTONUP 0x00a5 +#define WM_NCRBUTTONDBLCLK 0x00a6 +#define WM_NCMBUTTONDOWN 0x00a7 +#define WM_NCMBUTTONUP 0x00a8 +#define WM_NCMBUTTONDBLCLK 0x00a9 + +#define WM_NCXBUTTONDOWN 0x00ab +#define WM_NCXBUTTONUP 0x00ac +#define WM_NCXBUTTONDBLCLK 0x00ad + +/* Raw input */ +#define WM_INPUT_DEVICE_CHANGE 0x00fe +#define WM_INPUT 0x00ff + +/* Keyboard messages */ +#define WM_KEYFIRST 0x0100 +#define WM_KEYDOWN WM_KEYFIRST +#define WM_KEYUP 0x0101 +#define WM_CHAR 0x0102 +#define WM_DEADCHAR 0x0103 +#define WM_SYSKEYDOWN 0x0104 +#define WM_SYSKEYUP 0x0105 +#define WM_SYSCHAR 0x0106 +#define WM_SYSDEADCHAR 0x0107 +#define WM_UNICHAR 0x0109 +#define WM_KEYLAST WM_UNICHAR + +#define UNICODE_NOCHAR 0xffff + +/* Win32 4.0 messages for IME */ +#define WM_IME_STARTCOMPOSITION 0x010d +#define WM_IME_ENDCOMPOSITION 0x010e +#define WM_IME_COMPOSITION 0x010f +#define WM_IME_KEYLAST 0x010f + +#define WM_INITDIALOG 0x0110 +#define WM_COMMAND 0x0111 +#define WM_SYSCOMMAND 0x0112 +#define WM_TIMER 0x0113 + +/* Scroll messages */ +#define WM_HSCROLL 0x0114 +#define WM_VSCROLL 0x0115 + +/* Menu messages */ +#define WM_INITMENU 0x0116 +#define WM_INITMENUPOPUP 0x0117 +#define WM_GESTURE 0x0119 +#define WM_GESTURENOTIFY 0x011A + +#define WM_MENUSELECT 0x011F +#define WM_MENUCHAR 0x0120 +#define WM_ENTERIDLE 0x0121 + +#define WM_MENURBUTTONUP 0x0122 +#define WM_MENUDRAG 0x0123 +#define WM_MENUGETOBJECT 0x0124 +#define WM_UNINITMENUPOPUP 0x0125 +#define WM_MENUCOMMAND 0x0126 + +#define WM_CHANGEUISTATE 0x0127 +#define WM_UPDATEUISTATE 0x0128 +#define WM_QUERYUISTATE 0x0129 + +/* UI flags for WM_*UISTATE */ +/* for low-order word of wparam */ +#define UIS_SET 1 +#define UIS_CLEAR 2 +#define UIS_INITIALIZE 3 +/* for hi-order word of wparam */ +#define UISF_HIDEFOCUS 0x1 +#define UISF_HIDEACCEL 0x2 +#define UISF_ACTIVE 0x4 + +#define WM_LBTRACKPOINT 0x0131 /* DDK / Win16 */ + +/* Win32 CTLCOLOR messages */ +#define WM_CTLCOLORMSGBOX 0x0132 +#define WM_CTLCOLOREDIT 0x0133 +#define WM_CTLCOLORLISTBOX 0x0134 +#define WM_CTLCOLORBTN 0x0135 +#define WM_CTLCOLORDLG 0x0136 +#define WM_CTLCOLORSCROLLBAR 0x0137 +#define WM_CTLCOLORSTATIC 0x0138 + +#define MN_GETHMENU 0x01E1 + +/* Mouse messages */ +#define WM_MOUSEFIRST 0x0200 +#define WM_MOUSEMOVE WM_MOUSEFIRST +#define WM_LBUTTONDOWN 0x0201 +#define WM_LBUTTONUP 0x0202 +#define WM_LBUTTONDBLCLK 0x0203 +#define WM_RBUTTONDOWN 0x0204 +#define WM_RBUTTONUP 0x0205 +#define WM_RBUTTONDBLCLK 0x0206 +#define WM_MBUTTONDOWN 0x0207 +#define WM_MBUTTONUP 0x0208 +#define WM_MBUTTONDBLCLK 0x0209 +#define WM_MOUSEWHEEL 0x020A +#define WM_XBUTTONDOWN 0x020B +#define WM_XBUTTONUP 0x020C +#define WM_XBUTTONDBLCLK 0x020D +#define WM_MOUSEHWHEEL 0x020E +#define WM_MOUSELAST WM_MOUSEHWHEEL + +/* Macros for the mouse messages */ +#define WHEEL_DELTA 120 +#define GET_WHEEL_DELTA_WPARAM(wParam) ((short)HIWORD(wParam)) +#define WHEEL_PAGESCROLL (UINT_MAX) + +#define GET_KEYSTATE_WPARAM(wParam) (LOWORD(wParam)) +#define GET_NCHITTEST_WPARAM(wParam) ((short)LOWORD(wParam)) +#define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam)) +#define XBUTTON1 0x0001 +#define XBUTTON2 0x0002 + +#define WM_PARENTNOTIFY 0x0210 +#define WM_ENTERMENULOOP 0x0211 +#define WM_EXITMENULOOP 0x0212 +#define WM_NEXTMENU 0x0213 + +/* Win32 4.0 messages */ +#define WM_SIZING 0x0214 +#define WM_CAPTURECHANGED 0x0215 +#define WM_MOVING 0x0216 +#define WM_POWERBROADCAST 0x0218 +#define WM_DEVICECHANGE 0x0219 +/* MDI messages */ +#define WM_MDICREATE 0x0220 +#define WM_MDIDESTROY 0x0221 +#define WM_MDIACTIVATE 0x0222 +#define WM_MDIRESTORE 0x0223 +#define WM_MDINEXT 0x0224 +#define WM_MDIMAXIMIZE 0x0225 +#define WM_MDITILE 0x0226 +#define WM_MDICASCADE 0x0227 +#define WM_MDIICONARRANGE 0x0228 +#define WM_MDIGETACTIVE 0x0229 +#define WM_MDISETMENU 0x0230 +#define WM_MDIREFRESHMENU 0x0234 + +/* D&D messages */ +#define WM_DROPOBJECT 0x022A /* DDK / Win16 */ +#define WM_QUERYDROPOBJECT 0x022B /* DDK / Win16 */ +#define WM_BEGINDRAG 0x022C /* DDK / Win16 */ +#define WM_DRAGLOOP 0x022D /* DDK / Win16 */ +#define WM_DRAGSELECT 0x022E /* DDK / Win16 */ +#define WM_DRAGMOVE 0x022F /* DDK / Win16 */ + +#define WM_ENTERSIZEMOVE 0x0231 +#define WM_EXITSIZEMOVE 0x0232 +#define WM_DROPFILES 0x0233 + +#define WM_TOUCH 0x0240 + +/* Win32 4.0 messages for IME */ +#define WM_IME_SETCONTEXT 0x0281 +#define WM_IME_NOTIFY 0x0282 +#define WM_IME_CONTROL 0x0283 +#define WM_IME_COMPOSITIONFULL 0x0284 +#define WM_IME_SELECT 0x0285 +#define WM_IME_CHAR 0x0286 +/* Win32 5.0 messages for IME */ +#define WM_IME_REQUEST 0x0288 + +/* Win32 4.0 messages for IME */ +#define WM_IME_KEYDOWN 0x0290 +#define WM_IME_KEYUP 0x0291 + +#define WM_NCMOUSEHOVER 0x02A0 +#define WM_MOUSEHOVER 0x02A1 +#define WM_MOUSELEAVE 0x02A3 +#define WM_NCMOUSELEAVE 0x02A2 + +#define WM_WTSSESSION_CHANGE 0x02B1 + +#define WM_TABLET_FIRST 0x02c0 +#define WM_TABLET_LAST 0x02df + +/* Clipboard command messages */ +#define WM_CUT 0x0300 +#define WM_COPY 0x0301 +#define WM_PASTE 0x0302 +#define WM_CLEAR 0x0303 +#define WM_UNDO 0x0304 + +/* Clipboard owner messages */ +#define WM_RENDERFORMAT 0x0305 +#define WM_RENDERALLFORMATS 0x0306 +#define WM_DESTROYCLIPBOARD 0x0307 + +/* Clipboard viewer messages */ +#define WM_DRAWCLIPBOARD 0x0308 +#define WM_PAINTCLIPBOARD 0x0309 +#define WM_VSCROLLCLIPBOARD 0x030A +#define WM_SIZECLIPBOARD 0x030B +#define WM_ASKCBFORMATNAME 0x030C +#define WM_CHANGECBCHAIN 0x030D +#define WM_HSCROLLCLIPBOARD 0x030E + +#define WM_QUERYNEWPALETTE 0x030F +#define WM_PALETTEISCHANGING 0x0310 +#define WM_PALETTECHANGED 0x0311 +#define WM_HOTKEY 0x0312 + +#define WM_PRINT 0x0317 +#define WM_PRINTCLIENT 0x0318 +#define WM_APPCOMMAND 0x0319 +#define WM_THEMECHANGED 0x031A +#define WM_CLIPBOARDUPDATE 0x031D + +#define WM_DWMCOMPOSITIONCHANGED 0x031E +#define WM_DWMNCRENDERINGCHANGED 0x031F +#define WM_DWMCOLORIZATIONCOLORCHANGED 0x0320 +#define WM_DWMWINDOWMAXIMIZEDCHANGE 0x0321 +#define WM_DWMSENDICONICTHUMBNAIL 0x0323 +#define WM_DWMSENDICONICLIVEPREVIEWBITMAP 0x0326 + +#define WM_GETTITLEBARINFOEX 0x033F + +#define WM_HANDHELDFIRST 0x0358 +#define WM_HANDHELDLAST 0x035F + +#define WM_AFXFIRST 0x0360 +#define WM_AFXLAST 0x037F + +#define WM_PENWINFIRST 0x0380 +#define WM_PENWINLAST 0x038F + +#define WM_USER 0x0400 + +#define WM_APP 0x8000 + + +/* wParam for WM_SIZING message */ +#define WMSZ_LEFT 1 +#define WMSZ_RIGHT 2 +#define WMSZ_TOP 3 +#define WMSZ_TOPLEFT 4 +#define WMSZ_TOPRIGHT 5 +#define WMSZ_BOTTOM 6 +#define WMSZ_BOTTOMLEFT 7 +#define WMSZ_BOTTOMRIGHT 8 + +/* WM_NCHITTEST return codes */ +#define HTERROR (-2) +#define HTTRANSPARENT (-1) +#define HTNOWHERE 0 +#define HTCLIENT 1 +#define HTCAPTION 2 +#define HTSYSMENU 3 +#define HTSIZE 4 +#define HTGROWBOX HTSIZE +#define HTMENU 5 +#define HTHSCROLL 6 +#define HTVSCROLL 7 +#define HTMINBUTTON 8 +#define HTREDUCE HTMINBUTTON +#define HTMAXBUTTON 9 +#define HTZOOM HTMAXBUTTON +#define HTLEFT 10 +#define HTSIZEFIRST HTLEFT +#define HTRIGHT 11 +#define HTTOP 12 +#define HTTOPLEFT 13 +#define HTTOPRIGHT 14 +#define HTBOTTOM 15 +#define HTBOTTOMLEFT 16 +#define HTBOTTOMRIGHT 17 +#define HTSIZELAST HTBOTTOMRIGHT +#define HTBORDER 18 +#define HTOBJECT 19 +#define HTCLOSE 20 +#define HTHELP 21 + +/* SendMessageTimeout flags */ +#define SMTO_NORMAL 0x0000 +#define SMTO_BLOCK 0x0001 +#define SMTO_ABORTIFHUNG 0x0002 +#define SMTO_NOTIMEOUTIFNOTHUNG 0x0008 +#define SMTO_ERRORONEXIT 0x0020 + +/* WM_MOUSEACTIVATE return values */ +#define MA_ACTIVATE 1 +#define MA_ACTIVATEANDEAT 2 +#define MA_NOACTIVATE 3 +#define MA_NOACTIVATEANDEAT 4 + +/* WM_GETICON/WM_SETICON params values */ +#define ICON_SMALL 0 +#define ICON_BIG 1 +#define ICON_SMALL2 2 + +/* WM_SIZE message wParam values */ +#define SIZE_RESTORED 0 +#define SIZE_MINIMIZED 1 +#define SIZE_MAXIMIZED 2 +#define SIZE_MAXSHOW 3 +#define SIZE_MAXHIDE 4 +#define SIZENORMAL SIZE_RESTORED +#define SIZEICONIC SIZE_MINIMIZED +#define SIZEFULLSCREEN SIZE_MAXIMIZED +#define SIZEZOOMSHOW SIZE_MAXSHOW +#define SIZEZOOMHIDE SIZE_MAXHIDE + +/* WM_NCCALCSIZE return flags */ +#define WVR_ALIGNTOP 0x0010 +#define WVR_ALIGNLEFT 0x0020 +#define WVR_ALIGNBOTTOM 0x0040 +#define WVR_ALIGNRIGHT 0x0080 +#define WVR_HREDRAW 0x0100 +#define WVR_VREDRAW 0x0200 +#define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW) +#define WVR_VALIDRECTS 0x0400 + +/* Key status flags for mouse events */ +#ifndef NOKEYSTATES +#define MK_LBUTTON 0x0001 +#define MK_RBUTTON 0x0002 +#define MK_SHIFT 0x0004 +#define MK_CONTROL 0x0008 +#define MK_MBUTTON 0x0010 +#define MK_XBUTTON1 0x0020 +#define MK_XBUTTON2 0x0040 +#endif /* NOKEYSTATES */ + +#ifndef NOTRACKMOUSEEVENT +#define TME_HOVER 0x00000001 +#define TME_LEAVE 0x00000002 +#define TME_NONCLIENT 0x00000010 +#define TME_QUERY 0x40000000 +#define TME_CANCEL 0x80000000 +#define HOVER_DEFAULT 0xFFFFFFFF +#endif /* NOTRACKMOUSEEVENT */ + +#endif /* NOWINMESSAGES */ + + +/*** Window Styles ***/ +#ifndef NOWINSTYLES +#define WS_OVERLAPPED __MSABI_LONG(0x00000000) +#define WS_POPUP __MSABI_LONG(0x80000000) +#define WS_CHILD __MSABI_LONG(0x40000000) +#define WS_MINIMIZE __MSABI_LONG(0x20000000) +#define WS_VISIBLE __MSABI_LONG(0x10000000) +#define WS_DISABLED __MSABI_LONG(0x08000000) +#define WS_CLIPSIBLINGS __MSABI_LONG(0x04000000) +#define WS_CLIPCHILDREN __MSABI_LONG(0x02000000) +#define WS_MAXIMIZE __MSABI_LONG(0x01000000) +#define WS_BORDER __MSABI_LONG(0x00800000) +#define WS_DLGFRAME __MSABI_LONG(0x00400000) +#define WS_VSCROLL __MSABI_LONG(0x00200000) +#define WS_HSCROLL __MSABI_LONG(0x00100000) +#define WS_SYSMENU __MSABI_LONG(0x00080000) +#define WS_THICKFRAME __MSABI_LONG(0x00040000) +#define WS_GROUP __MSABI_LONG(0x00020000) +#define WS_TABSTOP __MSABI_LONG(0x00010000) +#define WS_MINIMIZEBOX __MSABI_LONG(0x00020000) +#define WS_MAXIMIZEBOX __MSABI_LONG(0x00010000) +#define WS_CAPTION (WS_BORDER | WS_DLGFRAME) +#define WS_TILED WS_OVERLAPPED +#define WS_ICONIC WS_MINIMIZE +#define WS_SIZEBOX WS_THICKFRAME +#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX) +#define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU) +#define WS_CHILDWINDOW WS_CHILD +#define WS_TILEDWINDOW WS_OVERLAPPEDWINDOW +#endif /* NOWINSTYLES */ + + +/*** Window extended styles ***/ +#ifndef NOWINSTYLES +#define WS_EX_DLGMODALFRAME __MSABI_LONG(0x00000001) +#define WS_EX_DRAGDETECT __MSABI_LONG(0x00000002) /* Undocumented */ +#define WS_EX_NOPARENTNOTIFY __MSABI_LONG(0x00000004) +#define WS_EX_TOPMOST __MSABI_LONG(0x00000008) +#define WS_EX_ACCEPTFILES __MSABI_LONG(0x00000010) +#define WS_EX_TRANSPARENT __MSABI_LONG(0x00000020) +#define WS_EX_MDICHILD __MSABI_LONG(0x00000040) +#define WS_EX_TOOLWINDOW __MSABI_LONG(0x00000080) +#define WS_EX_WINDOWEDGE __MSABI_LONG(0x00000100) +#define WS_EX_CLIENTEDGE __MSABI_LONG(0x00000200) +#define WS_EX_CONTEXTHELP __MSABI_LONG(0x00000400) +#define WS_EX_RIGHT __MSABI_LONG(0x00001000) +#define WS_EX_LEFT __MSABI_LONG(0x00000000) +#define WS_EX_RTLREADING __MSABI_LONG(0x00002000) +#define WS_EX_LTRREADING __MSABI_LONG(0x00000000) +#define WS_EX_LEFTSCROLLBAR __MSABI_LONG(0x00004000) +#define WS_EX_RIGHTSCROLLBAR __MSABI_LONG(0x00000000) +#define WS_EX_CONTROLPARENT __MSABI_LONG(0x00010000) +#define WS_EX_STATICEDGE __MSABI_LONG(0x00020000) +#define WS_EX_APPWINDOW __MSABI_LONG(0x00040000) +#define WS_EX_LAYERED __MSABI_LONG(0x00080000) +#define WS_EX_NOINHERITLAYOUT __MSABI_LONG(0x00100000) +#define WS_EX_LAYOUTRTL __MSABI_LONG(0x00400000) +#define WS_EX_COMPOSITED __MSABI_LONG(0x02000000) +#define WS_EX_NOACTIVATE __MSABI_LONG(0x08000000) + +#define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE) +#define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST) +#endif /* NOWINSTYLES */ + + +/*** Class styles ***/ +#ifndef NOWINSTYLES +#define CS_VREDRAW 0x00000001 +#define CS_HREDRAW 0x00000002 +#define CS_KEYCVTWINDOW 0x00000004 /* DDK / Win16 */ +#define CS_DBLCLKS 0x00000008 +#define CS_OWNDC 0x00000020 +#define CS_CLASSDC 0x00000040 +#define CS_PARENTDC 0x00000080 +#define CS_NOKEYCVT 0x00000100 /* DDK / Win16 */ +#define CS_NOCLOSE 0x00000200 +#define CS_SAVEBITS 0x00000800 +#define CS_BYTEALIGNCLIENT 0x00001000 +#define CS_BYTEALIGNWINDOW 0x00002000 +#define CS_GLOBALCLASS 0x00004000 +#define CS_IME 0x00010000 +#define CS_DROPSHADOW 0x00020000 +#endif /* NOWINSTYLES */ + + +/*** Predefined Clipboard Formats ***/ +#ifndef NOCLIPBOARD +#define CF_TEXT 1 +#define CF_BITMAP 2 +#define CF_METAFILEPICT 3 +#define CF_SYLK 4 +#define CF_DIF 5 +#define CF_TIFF 6 +#define CF_OEMTEXT 7 +#define CF_DIB 8 +#define CF_PALETTE 9 +#define CF_PENDATA 10 +#define CF_RIFF 11 +#define CF_WAVE 12 +#define CF_UNICODETEXT 13 +#define CF_ENHMETAFILE 14 +#define CF_HDROP 15 +#define CF_LOCALE 16 +#define CF_DIBV5 17 +#define CF_MAX 18 + +#define CF_OWNERDISPLAY 0x0080 +#define CF_DSPTEXT 0x0081 +#define CF_DSPBITMAP 0x0082 +#define CF_DSPMETAFILEPICT 0x0083 +#define CF_DSPENHMETAFILE 0x008E + +/* "Private" formats don't get GlobalFree()'d */ +#define CF_PRIVATEFIRST 0x0200 +#define CF_PRIVATELAST 0x02FF + +/* "GDIOBJ" formats do get DeleteObject()'d */ +#define CF_GDIOBJFIRST 0x0300 +#define CF_GDIOBJLAST 0x03FF +#endif /* NOCLIPBOARD */ + + +/*** Menu flags ***/ +#ifndef NOMENUS +#define MF_INSERT __MSABI_LONG(0x00000000) +#define MF_CHANGE __MSABI_LONG(0x00000080) +#define MF_APPEND __MSABI_LONG(0x00000100) +#define MF_DELETE __MSABI_LONG(0x00000200) +#define MF_REMOVE __MSABI_LONG(0x00001000) +#define MF_END __MSABI_LONG(0x00000080) + +#define MF_ENABLED __MSABI_LONG(0x00000000) +#define MF_GRAYED __MSABI_LONG(0x00000001) +#define MF_DISABLED __MSABI_LONG(0x00000002) +#define MF_STRING __MSABI_LONG(0x00000000) +#define MF_BITMAP __MSABI_LONG(0x00000004) +#define MF_UNCHECKED __MSABI_LONG(0x00000000) +#define MF_CHECKED __MSABI_LONG(0x00000008) +#define MF_POPUP __MSABI_LONG(0x00000010) +#define MF_MENUBARBREAK __MSABI_LONG(0x00000020) +#define MF_MENUBREAK __MSABI_LONG(0x00000040) +#define MF_UNHILITE __MSABI_LONG(0x00000000) +#define MF_HILITE __MSABI_LONG(0x00000080) +#define MF_OWNERDRAW __MSABI_LONG(0x00000100) +#define MF_USECHECKBITMAPS __MSABI_LONG(0x00000200) +#define MF_BYCOMMAND __MSABI_LONG(0x00000000) +#define MF_BYPOSITION __MSABI_LONG(0x00000400) +#define MF_SEPARATOR __MSABI_LONG(0x00000800) +#define MF_DEFAULT __MSABI_LONG(0x00001000) +#define MF_SYSMENU __MSABI_LONG(0x00002000) +#define MF_HELP __MSABI_LONG(0x00004000) +#define MF_RIGHTJUSTIFY __MSABI_LONG(0x00004000) +#define MF_MOUSESELECT __MSABI_LONG(0x00008000) + +/* Flags for extended menu item types */ +#define MFT_STRING MF_STRING +#define MFT_BITMAP MF_BITMAP +#define MFT_MENUBARBREAK MF_MENUBARBREAK +#define MFT_MENUBREAK MF_MENUBREAK +#define MFT_OWNERDRAW MF_OWNERDRAW +#define MFT_RADIOCHECK __MSABI_LONG(0x00000200) +#define MFT_SEPARATOR MF_SEPARATOR +#define MFT_RIGHTORDER __MSABI_LONG(0x00002000) +#define MFT_RIGHTJUSTIFY MF_RIGHTJUSTIFY + +/* Flags for extended menu item states */ +#define MFS_GRAYED __MSABI_LONG(0x00000003) +#define MFS_DISABLED MFS_GRAYED +#define MFS_CHECKED MF_CHECKED +#define MFS_HILITE MF_HILITE +#define MFS_ENABLED MF_ENABLED +#define MFS_UNCHECKED MF_UNCHECKED +#define MFS_UNHILITE MF_UNHILITE +#define MFS_DEFAULT MF_DEFAULT + +/* DDK / Win16 defines */ +#define MFS_MASK __MSABI_LONG(0x0000108B) +#define MFS_HOTTRACKDRAWN __MSABI_LONG(0x10000000) +#define MFS_CACHEDBMP __MSABI_LONG(0x20000000) +#define MFS_BOTTOMGAPDROP __MSABI_LONG(0x40000000) +#define MFS_TOPGAPDROP __MSABI_LONG(0x80000000) +#define MFS_GAPDROP (MFS_BOTTOMGAPDROP | MFS_TOPGAPDROP) +#endif /* NOMENUS */ + + +/*** WM_SYSCOMMAND parameters ***/ +#ifndef NOSYSCOMMANDS +/* At least HP-UX defines it in /usr/include/sys/signal.h */ +# ifdef SC_SIZE +# undef SC_SIZE +# endif +#define SC_SIZE 0xf000 +#define SC_MOVE 0xf010 +#define SC_MINIMIZE 0xf020 +#define SC_MAXIMIZE 0xf030 +#define SC_NEXTWINDOW 0xf040 +#define SC_PREVWINDOW 0xf050 +#define SC_CLOSE 0xf060 +#define SC_VSCROLL 0xf070 +#define SC_HSCROLL 0xf080 +#define SC_MOUSEMENU 0xf090 +#define SC_KEYMENU 0xf100 +#define SC_ARRANGE 0xf110 +#define SC_RESTORE 0xf120 +#define SC_TASKLIST 0xf130 +#define SC_SCREENSAVE 0xf140 +#define SC_HOTKEY 0xf150 + +/* Win32 4.0 */ +#define SC_DEFAULT 0xf160 +#define SC_MONITORPOWER 0xf170 +#define SC_CONTEXTHELP 0xf180 +#define SC_SEPARATOR 0xf00f + +#define GET_SC_WPARAM(wParam) ((int)wParam & 0xfff0) +#define SCF_ISSECURE 0x0001 + +/* Obsolete names */ +#define SC_ICON SC_MINIMIZE +#define SC_ZOOM SC_MAXIMIZE +#endif /* NOSYSCOMMANDS */ + + +/*** OEM Resource Ordinal Numbers ***/ +#ifdef OEMRESOURCE +#define OBM_RDRVERT 32559 +#define OBM_RDRHORZ 32660 +#define OBM_RDR2DIM 32661 +#define OBM_TRTYPE 32732 /* FIXME: Wine-only */ +#define OBM_LFARROWI 32734 +#define OBM_RGARROWI 32735 +#define OBM_DNARROWI 32736 +#define OBM_UPARROWI 32737 +#define OBM_COMBO 32738 +#define OBM_MNARROW 32739 +#define OBM_LFARROWD 32740 +#define OBM_RGARROWD 32741 +#define OBM_DNARROWD 32742 +#define OBM_UPARROWD 32743 +#define OBM_RESTORED 32744 +#define OBM_ZOOMD 32745 +#define OBM_REDUCED 32746 +#define OBM_RESTORE 32747 +#define OBM_ZOOM 32748 +#define OBM_REDUCE 32749 +#define OBM_LFARROW 32750 +#define OBM_RGARROW 32751 +#define OBM_DNARROW 32752 +#define OBM_UPARROW 32753 +#define OBM_CLOSE 32754 +#define OBM_OLD_RESTORE 32755 +#define OBM_OLD_ZOOM 32756 +#define OBM_OLD_REDUCE 32757 +#define OBM_BTNCORNERS 32758 +#define OBM_CHECKBOXES 32759 +#define OBM_CHECK 32760 +#define OBM_BTSIZE 32761 +#define OBM_OLD_LFARROW 32762 +#define OBM_OLD_RGARROW 32763 +#define OBM_OLD_DNARROW 32764 +#define OBM_OLD_UPARROW 32765 +#define OBM_SIZE 32766 +#define OBM_OLD_CLOSE 32767 + +#define OCR_NORMAL 32512 +#define OCR_IBEAM 32513 +#define OCR_WAIT 32514 +#define OCR_CROSS 32515 +#define OCR_UP 32516 +#define OCR_PEN 32631 +#define OCR_SIZE 32640 +#define OCR_ICON 32641 +#define OCR_SIZENWSE 32642 +#define OCR_SIZENESW 32643 +#define OCR_SIZEWE 32644 +#define OCR_SIZENS 32645 +#define OCR_SIZEALL 32646 +#define OCR_ICOCUR 32647 +#define OCR_NO 32648 +#define OCR_HAND 32649 +#define OCR_APPSTARTING 32650 +#define OCR_HELP 32651 /* DDK / Win16 */ +#define OCR_RDRVERT 32652 /* DDK / Win16 */ +#define OCR_RDRHORZ 32653 /* DDK / Win16 */ +#define OCR_RDR2DIM 32654 /* DDK / Win16 */ +#define OCR_RDRNORTH 32655 /* DDK / Win16 */ +#define OCR_RDRSOUTH 32656 /* DDK / Win16 */ +#define OCR_RDRWEST 32657 /* DDK / Win16 */ +#define OCR_RDREAST 32658 /* DDK / Win16 */ +#define OCR_RDRNORTHWEST 32659 /* DDK / Win16 */ +#define OCR_RDRNORTHEAST 32660 /* DDK / Win16 */ +#define OCR_RDRSOUTHWEST 32661 /* DDK / Win16 */ +#define OCR_RDRSOUTHEAST 32662 /* DDK / Win16 */ + +#define OIC_SAMPLE 32512 +#define OIC_HAND 32513 +#define OIC_ERROR OIC_HAND +#define OIC_QUES 32514 +#define OIC_BANG 32515 +#define OIC_WARNING OIC_BANG +#define OIC_NOTE 32516 +#define OIC_INFORMATION OIC_NOTE +#define OIC_WINLOGO 32517 +#define OIC_SHIELD 32518 +#endif /* OEMRESOURCE */ + + +/*** Predefined resources ***/ +#ifndef NOICONS +#define IDI_APPLICATION MAKEINTRESOURCE(32512) +#define IDI_HAND MAKEINTRESOURCE(32513) +#define IDI_QUESTION MAKEINTRESOURCE(32514) +#define IDI_EXCLAMATION MAKEINTRESOURCE(32515) +#define IDI_ASTERISK MAKEINTRESOURCE(32516) +#define IDI_WINLOGO MAKEINTRESOURCE(32517) +#define IDI_SHIELD MAKEINTRESOURCE(32518) + +#define IDI_WARNING IDI_EXCLAMATION +#define IDI_ERROR IDI_HAND +#define IDI_INFORMATION IDI_ASTERISK +#endif /* NOICONS */ + + +/*** Standard dialog button IDs ***/ +#define IDOK 1 +#define IDCANCEL 2 +#define IDABORT 3 +#define IDRETRY 4 +#define IDIGNORE 5 +#define IDYES 6 +#define IDNO 7 +#define IDCLOSE 8 +#define IDHELP 9 +#define IDTRYAGAIN 10 +#define IDCONTINUE 11 +#ifndef IDTIMEOUT +#define IDTIMEOUT 32000 +#endif + + +/*** Edit control styles ***/ +#ifndef NOWINSTYLES +#define ES_LEFT __MSABI_LONG(0x00000000) +#define ES_CENTER __MSABI_LONG(0x00000001) +#define ES_RIGHT __MSABI_LONG(0x00000002) +#define ES_MULTILINE __MSABI_LONG(0x00000004) +#define ES_UPPERCASE __MSABI_LONG(0x00000008) +#define ES_LOWERCASE __MSABI_LONG(0x00000010) +#define ES_PASSWORD __MSABI_LONG(0x00000020) +#define ES_AUTOVSCROLL __MSABI_LONG(0x00000040) +#define ES_AUTOHSCROLL __MSABI_LONG(0x00000080) +#define ES_NOHIDESEL __MSABI_LONG(0x00000100) +#define ES_COMBO __MSABI_LONG(0x00000200) /* Undocumented. Parent is a combobox */ +#define ES_OEMCONVERT __MSABI_LONG(0x00000400) +#define ES_READONLY __MSABI_LONG(0x00000800) +#define ES_WANTRETURN __MSABI_LONG(0x00001000) +#define ES_NUMBER __MSABI_LONG(0x00002000) +#endif /* NOWINSTYLES */ + + +/*** Edit control messages ***/ +#ifndef NOWINMESSAGES +#define EM_GETSEL 0x00b0 +#define EM_SETSEL 0x00b1 +#define EM_GETRECT 0x00b2 +#define EM_SETRECT 0x00b3 +#define EM_SETRECTNP 0x00b4 +#define EM_SCROLL 0x00b5 +#define EM_LINESCROLL 0x00b6 +#define EM_SCROLLCARET 0x00b7 +#define EM_GETMODIFY 0x00b8 +#define EM_SETMODIFY 0x00b9 +#define EM_GETLINECOUNT 0x00ba +#define EM_LINEINDEX 0x00bb +#define EM_SETHANDLE 0x00bc +#define EM_GETHANDLE 0x00bd +#define EM_GETTHUMB 0x00be +/* Unassigned 0x00bf and 0x00c0 */ +#define EM_LINELENGTH 0x00c1 +#define EM_REPLACESEL 0x00c2 +#define EM_SETFONT 0x00c3 /* DDK / Win16 */ +#define EM_GETLINE 0x00c4 +#define EM_LIMITTEXT 0x00c5 +#define EM_SETLIMITTEXT EM_LIMITTEXT +#define EM_CANUNDO 0x00c6 +#define EM_UNDO 0x00c7 +#define EM_FMTLINES 0x00c8 +#define EM_LINEFROMCHAR 0x00c9 +#define EM_SETWORDBREAK 0x00ca /* DDK / Win16 */ +#define EM_SETTABSTOPS 0x00cb +#define EM_SETPASSWORDCHAR 0x00cc +#define EM_EMPTYUNDOBUFFER 0x00cd +#define EM_GETFIRSTVISIBLELINE 0x00ce +#define EM_SETREADONLY 0x00cf +#define EM_SETWORDBREAKPROC 0x00d0 +#define EM_GETWORDBREAKPROC 0x00d1 +#define EM_GETPASSWORDCHAR 0x00d2 +#define EM_SETMARGINS 0x00d3 +#define EM_GETMARGINS 0x00d4 +#define EM_GETLIMITTEXT 0x00d5 +#define EM_POSFROMCHAR 0x00d6 +#define EM_CHARFROMPOS 0x00d7 +#define EM_SETIMESTATUS 0x00d8 +#define EM_GETIMESTATUS 0x00d9 +#endif /* NOWINMESSAGES */ + + +/*** Button control styles ***/ +#define BS_PUSHBUTTON __MSABI_LONG(0x00000000) +#define BS_DEFPUSHBUTTON __MSABI_LONG(0x00000001) +#define BS_CHECKBOX __MSABI_LONG(0x00000002) +#define BS_AUTOCHECKBOX __MSABI_LONG(0x00000003) +#define BS_RADIOBUTTON __MSABI_LONG(0x00000004) +#define BS_3STATE __MSABI_LONG(0x00000005) +#define BS_AUTO3STATE __MSABI_LONG(0x00000006) +#define BS_GROUPBOX __MSABI_LONG(0x00000007) +#define BS_USERBUTTON __MSABI_LONG(0x00000008) +#define BS_AUTORADIOBUTTON __MSABI_LONG(0x00000009) +#define BS_PUSHBOX __MSABI_LONG(0x0000000A) +#define BS_OWNERDRAW __MSABI_LONG(0x0000000B) +#define BS_TYPEMASK __MSABI_LONG(0x0000000F) +#define BS_LEFTTEXT __MSABI_LONG(0x00000020) +#define BS_RIGHTBUTTON BS_LEFTTEXT + +#define BS_TEXT __MSABI_LONG(0x00000000) +#define BS_ICON __MSABI_LONG(0x00000040) +#define BS_BITMAP __MSABI_LONG(0x00000080) +#define BS_LEFT __MSABI_LONG(0x00000100) +#define BS_RIGHT __MSABI_LONG(0x00000200) +#define BS_CENTER __MSABI_LONG(0x00000300) +#define BS_TOP __MSABI_LONG(0x00000400) +#define BS_BOTTOM __MSABI_LONG(0x00000800) +#define BS_VCENTER __MSABI_LONG(0x00000C00) +#define BS_PUSHLIKE __MSABI_LONG(0x00001000) +#define BS_MULTILINE __MSABI_LONG(0x00002000) +#define BS_NOTIFY __MSABI_LONG(0x00004000) +#define BS_FLAT __MSABI_LONG(0x00008000) + + +/*** Button notification codes ***/ +#define BN_CLICKED 0 +#define BN_PAINT 1 +#define BN_HILITE 2 +#define BN_PUSHED BN_HILITE +#define BN_UNHILITE 3 +#define BN_UNPUSHED BN_UNHILITE +#define BN_DISABLE 4 +#define BN_DOUBLECLICKED 5 +#define BN_DBLCLK BN_DOUBLECLICKED +#define BN_SETFOCUS 6 +#define BN_KILLFOCUS 7 + + +/*** Win32 button control messages ***/ +#define BM_GETCHECK 0x00f0 +#define BM_SETCHECK 0x00f1 +#define BM_GETSTATE 0x00f2 +#define BM_SETSTATE 0x00f3 +#define BM_SETSTYLE 0x00f4 +#define BM_CLICK 0x00f5 +#define BM_GETIMAGE 0x00f6 +#define BM_SETIMAGE 0x00f7 +#define BM_SETDONTCLICK 0x00f8 + +/* Button states */ +#define BST_UNCHECKED 0x0000 +#define BST_CHECKED 0x0001 +#define BST_INDETERMINATE 0x0002 +#define BST_PUSHED 0x0004 +#define BST_FOCUS 0x0008 + +/*** Static Control Styles ***/ +#define SS_LEFT __MSABI_LONG(0x00000000) +#define SS_CENTER __MSABI_LONG(0x00000001) +#define SS_RIGHT __MSABI_LONG(0x00000002) +#define SS_ICON __MSABI_LONG(0x00000003) +#define SS_BLACKRECT __MSABI_LONG(0x00000004) +#define SS_GRAYRECT __MSABI_LONG(0x00000005) +#define SS_WHITERECT __MSABI_LONG(0x00000006) +#define SS_BLACKFRAME __MSABI_LONG(0x00000007) +#define SS_GRAYFRAME __MSABI_LONG(0x00000008) +#define SS_WHITEFRAME __MSABI_LONG(0x00000009) +#define SS_USERITEM __MSABI_LONG(0x0000000A) +#define SS_SIMPLE __MSABI_LONG(0x0000000B) +#define SS_LEFTNOWORDWRAP __MSABI_LONG(0x0000000C) +#define SS_OWNERDRAW __MSABI_LONG(0x0000000D) +#define SS_BITMAP __MSABI_LONG(0x0000000E) +#define SS_ENHMETAFILE __MSABI_LONG(0x0000000F) +#define SS_ETCHEDHORZ __MSABI_LONG(0x00000010) +#define SS_ETCHEDVERT __MSABI_LONG(0x00000011) +#define SS_ETCHEDFRAME __MSABI_LONG(0x00000012) +#define SS_TYPEMASK __MSABI_LONG(0x0000001F) + +#define SS_REALSIZECONTROL __MSABI_LONG(0x00000040) +#define SS_NOPREFIX __MSABI_LONG(0x00000080) +#define SS_NOTIFY __MSABI_LONG(0x00000100) +#define SS_CENTERIMAGE __MSABI_LONG(0x00000200) +#define SS_RIGHTJUST __MSABI_LONG(0x00000400) +#define SS_REALSIZEIMAGE __MSABI_LONG(0x00000800) +#define SS_SUNKEN __MSABI_LONG(0x00001000) +#define SS_EDITCONTROL __MSABI_LONG(0x00002000) +#define SS_ENDELLIPSIS __MSABI_LONG(0x00004000) +#define SS_PATHELLIPSIS __MSABI_LONG(0x00008000) +#define SS_WORDELLIPSIS __MSABI_LONG(0x0000C000) +#define SS_ELLIPSISMASK SS_WORDELLIPSIS + + +/*** Dialog styles ***/ +#define DS_ABSALIGN __MSABI_LONG(0x00000001) +#define DS_SYSMODAL __MSABI_LONG(0x00000002) +#define DS_3DLOOK __MSABI_LONG(0x00000004) /* win95 */ +#define DS_FIXEDSYS __MSABI_LONG(0x00000008) /* win95 */ +#define DS_NOFAILCREATE __MSABI_LONG(0x00000010) /* win95 */ +#define DS_LOCALEDIT __MSABI_LONG(0x00000020) +#define DS_SETFONT __MSABI_LONG(0x00000040) +#define DS_MODALFRAME __MSABI_LONG(0x00000080) +#define DS_NOIDLEMSG __MSABI_LONG(0x00000100) +#define DS_SETFOREGROUND __MSABI_LONG(0x00000200) /* win95 */ +#define DS_CONTROL __MSABI_LONG(0x00000400) /* win95 */ +#define DS_CENTER __MSABI_LONG(0x00000800) /* win95 */ +#define DS_CENTERMOUSE __MSABI_LONG(0x00001000) /* win95 */ +#define DS_CONTEXTHELP __MSABI_LONG(0x00002000) /* win95 */ +#define DS_USEPIXELS __MSABI_LONG(0x00008000) +#define DS_SHELLFONT (DS_SETFONT | DS_FIXEDSYS) + + +/*** Listbox styles ***/ +#ifndef NOWINSTYLES +#define LBS_NOTIFY __MSABI_LONG(0x00000001) +#define LBS_SORT __MSABI_LONG(0x00000002) +#define LBS_NOREDRAW __MSABI_LONG(0x00000004) +#define LBS_MULTIPLESEL __MSABI_LONG(0x00000008) +#define LBS_OWNERDRAWFIXED __MSABI_LONG(0x00000010) +#define LBS_OWNERDRAWVARIABLE __MSABI_LONG(0x00000020) +#define LBS_HASSTRINGS __MSABI_LONG(0x00000040) +#define LBS_USETABSTOPS __MSABI_LONG(0x00000080) +#define LBS_NOINTEGRALHEIGHT __MSABI_LONG(0x00000100) +#define LBS_MULTICOLUMN __MSABI_LONG(0x00000200) +#define LBS_WANTKEYBOARDINPUT __MSABI_LONG(0x00000400) +#define LBS_EXTENDEDSEL __MSABI_LONG(0x00000800) +#define LBS_DISABLENOSCROLL __MSABI_LONG(0x00001000) +#define LBS_NODATA __MSABI_LONG(0x00002000) +#define LBS_NOSEL __MSABI_LONG(0x00004000) +#define LBS_COMBOBOX __MSABI_LONG(0x00008000) +#define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER) +#endif /* NOWINSTYLES */ + +/*** Combo box styles ***/ +#ifndef NOWINSTYLES +#define CBS_SIMPLE __MSABI_LONG(0x00000001) +#define CBS_DROPDOWN __MSABI_LONG(0x00000002) +#define CBS_DROPDOWNLIST __MSABI_LONG(0x00000003) +#define CBS_OWNERDRAWFIXED __MSABI_LONG(0x00000010) +#define CBS_OWNERDRAWVARIABLE __MSABI_LONG(0x00000020) +#define CBS_AUTOHSCROLL __MSABI_LONG(0x00000040) +#define CBS_OEMCONVERT __MSABI_LONG(0x00000080) +#define CBS_SORT __MSABI_LONG(0x00000100) +#define CBS_HASSTRINGS __MSABI_LONG(0x00000200) +#define CBS_NOINTEGRALHEIGHT __MSABI_LONG(0x00000400) +#define CBS_DISABLENOSCROLL __MSABI_LONG(0x00000800) + +#define CBS_UPPERCASE __MSABI_LONG(0x00002000) +#define CBS_LOWERCASE __MSABI_LONG(0x00004000) +#endif /* NOWINSTYLES */ + + +/*** Scrollbar styles ***/ +#ifndef NOWINSTYLES +#define SBS_HORZ __MSABI_LONG(0x00000000) +#define SBS_VERT __MSABI_LONG(0x00000001) +#define SBS_TOPALIGN __MSABI_LONG(0x00000002) +#define SBS_LEFTALIGN __MSABI_LONG(0x00000002) +#define SBS_BOTTOMALIGN __MSABI_LONG(0x00000004) +#define SBS_RIGHTALIGN __MSABI_LONG(0x00000004) +#define SBS_SIZEBOXTOPLEFTALIGN __MSABI_LONG(0x00000002) +#define SBS_SIZEBOXBOTTOMRIGHTALIGN __MSABI_LONG(0x00000004) +#define SBS_SIZEBOX __MSABI_LONG(0x00000008) +#define SBS_SIZEGRIP __MSABI_LONG(0x00000010) +#endif /* NOWINSTYLES */ + +/*** WinHelp commands ***/ +#define HELP_CONTEXT __MSABI_LONG(0x00000001) +#define HELP_QUIT __MSABI_LONG(0x00000002) +#define HELP_INDEX __MSABI_LONG(0x00000003) +#define HELP_CONTENTS HELP_INDEX +#define HELP_HELPONHELP __MSABI_LONG(0x00000004) +#define HELP_SETINDEX __MSABI_LONG(0x00000005) +#define HELP_SETCONTENTS HELP_SETINDEX +#define HELP_CONTEXTPOPUP __MSABI_LONG(0x00000008) +#define HELP_FORCEFILE __MSABI_LONG(0x00000009) +#define HELP_KEY __MSABI_LONG(0x00000101) +#define HELP_COMMAND __MSABI_LONG(0x00000102) +#define HELP_PARTIALKEY __MSABI_LONG(0x00000105) +#define HELP_MULTIKEY __MSABI_LONG(0x00000201) +#define HELP_SETWINPOS __MSABI_LONG(0x00000203) + +#define HELP_CONTEXTMENU 0x000a +#define HELP_FINDER 0x000b +#define HELP_WM_HELP 0x000c +#define HELP_SETPOPUP_POS 0x000d +#define HELP_TCARD_DATA 0x0010 +#define HELP_TCARD_OTHER_CALLER 0x0011 +#define HELP_TCARD 0x8000 + +#define IDH_NO_HELP 28440 +#define IDH_MISSING_CONTEXT 28441 +#define IDH_GENERIC_HELP_BUTTON 28442 +#define IDH_OK 28443 +#define IDH_CANCEL 28444 +#define IDH_HELP 28445 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winver.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winver.h new file mode 100644 index 0000000..b40a566 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/winver.h @@ -0,0 +1,65 @@ +/* Definitions for the VERsion info library (VER.DLL) + * + * Copyright 1996 Marcus Meissner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WINVER_H +#define __WINE_WINVER_H + +/* FIXME: #include */ +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +#ifndef RC_INVOKED + +/* function prototypes */ + +DWORD WINAPI VerFindFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT); +DWORD WINAPI VerFindFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT); +#define VerFindFile WINELIB_NAME_AW(VerFindFile) +DWORD WINAPI VerInstallFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT); +DWORD WINAPI VerInstallFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT); +#define VerInstallFile WINELIB_NAME_AW(VerInstallFile) +DWORD WINAPI VerLanguageNameA(DWORD,LPSTR,DWORD); +DWORD WINAPI VerLanguageNameW(DWORD,LPWSTR,DWORD); +#define VerLanguageName WINELIB_NAME_AW(VerLanguageName) +BOOL WINAPI VerQueryValueA(LPCVOID,LPCSTR,LPVOID*,PUINT); +BOOL WINAPI VerQueryValueW(LPCVOID,LPCWSTR,LPVOID*,PUINT); +#define VerQueryValue WINELIB_NAME_AW(VerQueryValue) +DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD); +DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD); +#define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize) +BOOL WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID); +BOOL WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID); +#define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo) +DWORD WINAPI GetFileVersionInfoSizeExA(DWORD,LPCSTR,LPDWORD); +DWORD WINAPI GetFileVersionInfoSizeExW(DWORD,LPCWSTR,LPDWORD); +#define GetFileVersionInfoSizeEx WINELIB_NAME_AW(GetFileVersionInfoSizeEx) +BOOL WINAPI GetFileVersionInfoExA(DWORD,LPCSTR,DWORD,DWORD,LPVOID); +BOOL WINAPI GetFileVersionInfoExW(DWORD,LPCWSTR,DWORD,DWORD,LPVOID); +#define GetFileVersionInfoEx WINELIB_NAME_AW(GetFileVersionInfoEx) + +#endif /* RC_INVOKED */ + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#endif /* __WINE_WINVER_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wlanapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wlanapi.h new file mode 100644 index 0000000..1cd8c93 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wlanapi.h @@ -0,0 +1,161 @@ +/* + * Copyright (C) 2016 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WLAN_WLANAPI_H +#define _WLAN_WLANAPI_H + +typedef enum _WLAN_INTERFACE_STATE +{ + wlan_interface_state_not_ready, + wlan_interface_state_connected, + wlan_interface_state_ad_hoc_network_formed, + wlan_interface_state_disconnecting, + wlan_interface_state_disconnected, + wlan_interface_state_associating, + wlan_interface_state_discovering, + wlan_interface_state_authenticating +} WLAN_INTERFACE_STATE, *PWLAN_INTERFACE_STATE; + +typedef struct _WLAN_INTERFACE_INFO +{ + GUID InterfaceGuid; + WCHAR strInterfaceDescription[256]; + WLAN_INTERFACE_STATE isState; +} WLAN_INTERFACE_INFO, *PWLAN_INTERFACE_INFO; + +typedef struct _WLAN_INTERFACE_INFO_LIST +{ + DWORD dwNumberOfItems; + DWORD dwIndex; + WLAN_INTERFACE_INFO InterfaceInfo[1]; +} WLAN_INTERFACE_INFO_LIST, *PWLAN_INTERFACE_INFO_LIST; + +#define DOT11_SSID_MAX_LENGTH 32 +typedef struct _DOT11_SSID +{ + DWORD uSSIDLength; + UCHAR ucSSID[DOT11_SSID_MAX_LENGTH]; +} DOT11_SSID; + +typedef struct _WLAN_RAW_DATA +{ + DWORD dwDataSize; + BYTE DataBlob[1]; +} WLAN_RAW_DATA, *PWLAN_RAW_DATA; + +typedef struct _WLAN_NOTIFICATION_DATA +{ + DWORD NotificationSource; + DWORD NotificationCode; + GUID InterfaceGuid; + DWORD dwDataSize; + PVOID pData; +} WLAN_NOTIFICATION_DATA, *PWLAN_NOTIFICATION_DATA; + +typedef void (WINAPI *WLAN_NOTIFICATION_CALLBACK)(WLAN_NOTIFICATION_DATA *, void *); + +typedef enum _DOT11_BSS_TYPE +{ + dot11_BSS_type_infrastructure = 0x01, + dot11_BSS_type_independent = 0x02, + dot11_BSS_type_any = 0x03 +} DOT11_BSS_TYPE, *PDOT11_BSS_TYPE; + +typedef DWORD WLAN_REASON_CODE, *PWLAN_REASON_CODE, WLAN_SIGNAL_QUALITY; + +typedef enum _DOT11_AUTH_ALGORITHM +{ + DOT11_AUTH_ALGO_80211_OPEN = 0x01, + DOT11_AUTH_ALGO_80211_SHARED_KEY = 0x02, + DOT11_AUTH_ALGO_WPA = 0x03, + DOT11_AUTH_ALGO_WPA_PSK = 0x04, + DOT11_AUTH_ALGO_WPA_NONE = 0x05, + DOT11_AUTH_ALGO_RSNA = 0x06, + DOT11_AUTH_ALGO_RSNA_PSK = 0x07, + DOT11_AUTH_ALGO_IHV_START = 0x80000000, + DOT11_AUTH_ALGO_IHV_END = 0xFFFFFFFF +} DOT11_AUTH_ALGORITHM, *PDOT11_AUTH_ALGORITHM; + +typedef enum _DOT11_CIPHER_ALGORITHM +{ + DOT11_CIPHER_ALGO_NONE = 0x00, + DOT11_CIPHER_ALGO_WEP40 = 0x01, + DOT11_CIPHER_ALGO_TKIP = 0x02, + DOT11_CIPHER_ALGO_CCMP = 0x04, + DOT11_CIPHER_ALGO_WEP104 = 0x05, + DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100, + DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100, + DOT11_CIPHER_ALGO_WEP = 0x101, + DOT11_CIPHER_ALGO_IHV_START = 0x80000000, + DOT11_CIPHER_ALGO_IHV_END = 0xFFFFFFFF +} DOT11_CIPHER_ALGORITHM, *PDOT11_CIPHER_ALGORITHM; + +typedef enum _DOT11_PHY_TYPE +{ + dot11_phy_type_unknown = 0x00, + dot11_phy_type_any = 0x00, + dot11_phy_type_fhss = 0x01, + dot11_phy_type_dsss = 0x02, + dot11_phy_type_irbaseband = 0x03, + dot11_phy_type_ofdm = 0x04, + dot11_phy_type_hrdsss = 0x05, + dot11_phy_type_erp = 0x06, + dot11_phy_type_ht = 0x07, + dot11_phy_type_vht = 0x08, + dot11_phy_type_IHV_start = 0x80000000, + dot11_phy_type_IHV_end = 0xFFFFFFFF +} DOT11_PHY_TYPE, *PDOT11_PHY_TYPE; + +#define WLAN_MAX_PHY_TYPE_NUMBER 8 + +typedef struct _WLAN_AVAILABLE_NETWORK +{ + WCHAR strProfileName[256]; + DOT11_SSID dot11Ssid; + DOT11_BSS_TYPE dot11BssType; + ULONG uNumberOfBssids; + BOOL bNetworkConnectable; + WLAN_REASON_CODE wlanNotConnectableReason; + ULONG uNumberOfPhyTypes; + DOT11_PHY_TYPE dot11PhyTypes[WLAN_MAX_PHY_TYPE_NUMBER]; + BOOL bMorePhyTypes; + WLAN_SIGNAL_QUALITY wlanSignalQuality; + BOOL bSecurityEnabled; + DOT11_AUTH_ALGORITHM dot11DefaultAuthAlgorithm; + DOT11_CIPHER_ALGORITHM dot11DefaultCipherAlgorithm; + DWORD dwFlags; + DWORD dwReserved; +} WLAN_AVAILABLE_NETWORK, *PWLAN_AVAILABLE_NETWORK; + +typedef struct _WLAN_AVAILABLE_NETWORK_LIST +{ + DWORD dwNumberOfItems; + DWORD dwIndex; + WLAN_AVAILABLE_NETWORK Network[1]; +} WLAN_AVAILABLE_NETWORK_LIST, *PWLAN_AVAILABLE_NETWORK_LIST; + +DWORD WINAPI WlanCloseHandle(HANDLE, void *); +DWORD WINAPI WlanEnumInterfaces(HANDLE, void *, WLAN_INTERFACE_INFO_LIST **); +DWORD WINAPI WlanOpenHandle(DWORD, void *, DWORD *, HANDLE *); +void *WINAPI WlanAllocateMemory(DWORD); +void WINAPI WlanFreeMemory(void *); +DWORD WINAPI WlanScan(HANDLE, const GUID *, const DOT11_SSID *, const WLAN_RAW_DATA *, void *); +DWORD WINAPI WlanRegisterNotification(HANDLE, DWORD, BOOL, WLAN_NOTIFICATION_CALLBACK, void *, void *, DWORD *); +DWORD WINAPI WlanGetAvailableNetworkList(HANDLE, const GUID *, DWORD, void *, WLAN_AVAILABLE_NETWORK_LIST **); + +#endif /* _WLAN_WLANAPI_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmdrmsdk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmdrmsdk.h new file mode 100644 index 0000000..4798997 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmdrmsdk.h @@ -0,0 +1,94 @@ +/*** Autogenerated by WIDL 2.18 from wmdrmsdk.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wmdrmsdk_h__ +#define __wmdrmsdk_h__ + +/* Forward declarations */ + +#ifndef __WMDRMContentEnablerActivate_FWD_DEFINED__ +#define __WMDRMContentEnablerActivate_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WMDRMContentEnablerActivate WMDRMContentEnablerActivate; +#else +typedef struct WMDRMContentEnablerActivate WMDRMContentEnablerActivate; +#endif /* defined __cplusplus */ +#endif /* defined __WMDRMContentEnablerActivate_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS { + WORD wCompressedDigitalVideo; + WORD wUncompressedDigitalVideo; + WORD wAnalogVideo; + WORD wCompressedDigitalAudio; + WORD wUncompressedDigitalAudio; +} DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS; +typedef struct _DRM_VIDEO_OUTPUT_PROTECTION { + GUID guidId; + BYTE bConfigData; +} DRM_VIDEO_OUTPUT_PROTECTION; +typedef struct _DRM_VIDEO_OUTPUT_PROTECTION_IDS { + WORD cEntries; + DRM_VIDEO_OUTPUT_PROTECTION *rgVop; +} DRM_VIDEO_OUTPUT_PROTECTION_IDS; +typedef struct _DRM_OPL_OUTPUT_IDS { + WORD cIds; + GUID *rgIds; +} DRM_OPL_OUTPUT_IDS; +typedef struct __tagDRM_COPY_OPL { + WORD wMinimumCopyLevel; + DRM_OPL_OUTPUT_IDS oplIdIncludes; + DRM_OPL_OUTPUT_IDS oplIdExcludes; +} DRM_COPY_OPL; +typedef struct __tagDRM_PLAY_OPL { + DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS minOPL; + DRM_OPL_OUTPUT_IDS oplIdReserved; + DRM_VIDEO_OUTPUT_PROTECTION_IDS vopi; +} DRM_PLAY_OPL; + +DEFINE_GUID(LIBID_WMDRMContentEnablerLib, 0x82435be0, 0xf7c1, 0x4df9, 0x81,0x03, 0xee,0xab,0xeb,0xf3,0xd6,0xe1); + +/***************************************************************************** + * WMDRMContentEnablerActivate coclass + */ + +DEFINE_GUID(CLSID_WMDRMContentEnablerActivate, 0x82435bdf, 0xf7c1, 0x4df9, 0x81,0x03, 0xee,0xab,0xeb,0xf3,0xd6,0xe1); + +#ifdef __cplusplus +class DECLSPEC_UUID("82435bdf-f7c1-4df9-8103-eeabebf3d6e1") WMDRMContentEnablerActivate; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WMDRMContentEnablerActivate, 0x82435bdf, 0xf7c1, 0x4df9, 0x81,0x03, 0xee,0xab,0xeb,0xf3,0xd6,0xe1) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wmdrmsdk_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmdrmsdk.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmdrmsdk.idl new file mode 100644 index 0000000..8de3b35 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmdrmsdk.idl @@ -0,0 +1,81 @@ +/* + * Copyright 2017 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "mfobjects.idl"; +import "mfidl.idl"; + +typedef struct _DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS +{ + WORD wCompressedDigitalVideo; + WORD wUncompressedDigitalVideo; + WORD wAnalogVideo; + WORD wCompressedDigitalAudio; + WORD wUncompressedDigitalAudio; +} DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS; + +typedef struct _DRM_VIDEO_OUTPUT_PROTECTION +{ + GUID guidId; + BYTE bConfigData; +} DRM_VIDEO_OUTPUT_PROTECTION; + +typedef struct _DRM_VIDEO_OUTPUT_PROTECTION_IDS +{ + WORD cEntries; + DRM_VIDEO_OUTPUT_PROTECTION *rgVop; +} DRM_VIDEO_OUTPUT_PROTECTION_IDS; + +typedef struct _DRM_OPL_OUTPUT_IDS +{ + WORD cIds; + GUID *rgIds; +} DRM_OPL_OUTPUT_IDS; + +typedef struct __tagDRM_COPY_OPL +{ + WORD wMinimumCopyLevel; + DRM_OPL_OUTPUT_IDS oplIdIncludes; + DRM_OPL_OUTPUT_IDS oplIdExcludes; +} DRM_COPY_OPL; + +typedef struct __tagDRM_PLAY_OPL +{ + DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS minOPL; + DRM_OPL_OUTPUT_IDS oplIdReserved; + DRM_VIDEO_OUTPUT_PROTECTION_IDS vopi; +} DRM_PLAY_OPL; + + +[ + uuid(82435be0-f7c1-4df9-8103-eeabebf3d6e1), + version(1.0) +] +library WMDRMContentEnablerLib +{ + importlib("stdole2.tlb"); + + [ + uuid(82435bdf-f7c1-4df9-8103-eeabebf3d6e1) + ] + coclass WMDRMContentEnablerActivate + { + [default] interface IPersistStream; + }; +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmistr.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmistr.h new file mode 100644 index 0000000..0962fc3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmistr.h @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WMISTR_ +#define _WMISTR_ + +#define WNODE_FLAG_ALL_DATA 0x00000001 +#define WNODE_FLAG_SINGLE_INSTANCE 0x00000002 +#define WNODE_FLAG_SINGLE_ITEM 0x00000004 +#define WNODE_FLAG_EVENT_ITEM 0x00000008 +#define WNODE_FLAG_FIXED_INSTANCE_SIZE 0x00000010 +#define WNODE_FLAG_TOO_SMALL 0x00000020 +#define WNODE_FLAG_INSTANCES_SAME 0x00000040 +#define WNODE_FLAG_STATIC_INSTANCE_NAMES 0x00000080 +#define WNODE_FLAG_USE_TIMESTAMP 0x00000200 +#define WNODE_FLAG_EVENT_REFERENCE 0x00002000 +#define WNODE_FLAG_METHOD_ITEM 0x00008000 +#define WNODE_FLAG_PDO_INSTANCE_NAMES 0x00010000 +#define WNODE_FLAG_TRACED_GUID 0x00020000 +#define WNODE_FLAG_LOG_WNODE 0x00040000 +#define WNODE_FLAG_USE_GUID_PTR 0x00080000 +#define WNODE_FLAG_USE_MOF_PTR 0x00100000 +#define WNODE_FLAG_SEVERITY_MASK 0xFF000000 + +typedef enum +{ + WMI_GET_ALL_DATA = 0, + WMI_GET_SINGLE_INSTANCE = 1, + WMI_SET_SINGLE_INSTANCE = 2, + WMI_SET_SINGLE_ITEM = 3, + WMI_ENABLE_EVENTS = 4, + WMI_DISABLE_EVENTS = 5, + WMI_ENABLE_CONNECTION = 6, + WMI_DISABLE_CONNECTION = 7, + WMI_REGINFO = 8, + WMI_EXECUTE_METHOD = 9, +} WMIDPREQUESTCODE; + +typedef struct _WNODE_HEADER +{ + ULONG BufferSize; + ULONG ProvicerId; + union + { + ULONG64 HistoricalContext; + struct + { + ULONG Version; + ULONG Linkage; + } DUMMYSTRUCTNAME; + + } DUMMYUNIONNAME; + union + { + HANDLE KernelHandle; + LARGE_INTEGER TimeStamp; + } DUMMYUNIONNAME2; + GUID Guid; + ULONG ClientContext; + ULONG Flags; +} WNODE_HEADER, *PWNODE_HEADER; + +#endif /* _WMISTR_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmium.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmium.h new file mode 100644 index 0000000..bbb13a3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmium.h @@ -0,0 +1,116 @@ +/* + * Copyright (C) 2016 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WMIUM_ +#define _WMIUM_ + +#ifdef _WMI_SOURCE_ +#define WMIAPI __stdcall +#else +#define WMIAPI DECLSPEC_IMPORT __stdcall +#endif + +#include +#include +#include + +typedef PVOID WMIHANDLE, *PWMIHANDLE, MOFHANDLE, *PMOFHANDLE; + +#define MOFCI_RESERVED0 0x00000001 +#define MOFCI_RESERVED1 0x00000002 +#define MOFCI_RESERVED2 0x00000004 + +typedef struct +{ + char *ImagePath; + char *ResourceName; + ULONG ResourceSize; + UCHAR *ResourceBuffer; +} MOFRESOURCEINFOA, *PMOFRESOURCEINFOA; + +typedef struct +{ + WCHAR *ImagePath; + WCHAR *ResourceName; + ULONG ResourceSize; + UCHAR *ResourceBuffer; +} MOFRESOURCEINFOW, *PMOFRESOURCEINFOW; + +DECL_WINELIB_TYPE_AW(MOFRESOURCEINFO) +DECL_WINELIB_TYPE_AW(PMOFRESOURCEINFO) + +#ifdef __cplusplus +extern "C" { +#endif + +#define NOTIFICATION_TRACE_FLAG 0x00010000 +#define NOTIFICATION_CALLBACK_DIRECT 0x00000004 +#define NOTIFICATION_CHECK_ACCESS 0x00000008 + +typedef void (WINAPI *NOTIFICATIONCALLBACK)(WNODE_HEADER *, UINT_PTR); + +typedef struct _WMIGUIDINFORMATION +{ + ULONG Size; + BOOLEAN IsExpensive; + BOOLEAN IsEventOnly; +} WMIGUIDINFORMATION, *PWMIGUIDINFORMATION; + +DEFINE_GUID(GUID_REGISTRATION_CHANGE_NOTIFICATION, 0xb48d49a1, 0xe777, 0x11d0, 0xa5, 0xc, 0x0, 0xa0, 0xc9, 0x6, 0x29, 0x10); +DEFINE_GUID(GUID_MOF_RESOURCE_ADDED_NOTIFICATION, 0xb48d49a2, 0xe777, 0x11d0, 0xa5, 0xc, 0x0, 0xa0, 0xc9, 0x6, 0x29, 0x10); +DEFINE_GUID(GUID_MOF_RESOURCE_REMOVED_NOTIFICATION, 0xb48d49a3, 0xe777, 0x11d0, 0xa5, 0xc, 0x0, 0xa0, 0xc9, 0x6, 0x29, 0x10); + +ULONG WMIAPI WmiCloseBlock(WMIHANDLE); +ULONG WMIAPI WmiDevInstToInstanceNameA(char *, ULONG, char *, ULONG); +ULONG WMIAPI WmiDevInstToInstanceNameW(WCHAR *, ULONG, WCHAR *, ULONG); +#define WmiDevInstToInstanceName WINELIB_NAME_AW(WmiDevInstToInstanceName) +ULONG WMIAPI WmiEnumerateGuids(GUID *, ULONG *); +ULONG WMIAPI WmiExecuteMethodA(WMIHANDLE, const char *, ULONG, ULONG, void *, ULONG *, void *); +ULONG WMIAPI WmiExecuteMethodW(WMIHANDLE, const WCHAR *, ULONG, ULONG, void *, ULONG *, void *); +#define WmiExecuteMethod WINELIB_NAME_AW(WmiExecuteMethod) +ULONG WMIAPI WmiFileHandleToInstanceNameA(WMIHANDLE, HANDLE, ULONG *, char *); +ULONG WMIAPI WmiFileHandleToInstanceNameW(WMIHANDLE, HANDLE, ULONG *, WCHAR *); +#define WmiFileHandleToInstanceName WINELIB_NAME_AW(WmiFileHandleToInstanceName) +void WMIAPI WmiFreeBuffer(void *); +#define WmiInsertTimestamp(WnodeHeader) GetSystemTimeAsFileTime((FILETIME *)&((WNODE_HEADER *)WnodeHeader)->TimeStamp) +ULONG WMIAPI WmiMofEnumerateResourcesA(MOFHANDLE, ULONG *, MOFRESOURCEINFOA **); +ULONG WMIAPI WmiMofEnumerateResourcesW(MOFHANDLE, ULONG *, MOFRESOURCEINFOW **); +#define WmiMofEnumerateResources WINELIB_NAME_AW(WmiMofEnumerateResources) +ULONG WMIAPI WmiNotificationRegistrationA(GUID *, BOOLEAN, void *, ULONG_PTR, ULONG); +ULONG WMIAPI WmiNotificationRegistrationW(GUID *, BOOLEAN, void *, ULONG_PTR, ULONG); +#define WmiNotificationRegistration WINELIB_NAME_AW(WmiNotificationRegistration) +ULONG WMIAPI WmiOpenBlock(GUID *, ULONG, WMIHANDLE *); +ULONG WMIAPI WmiQueryAllDataA(WMIHANDLE, ULONG *, void *); +ULONG WMIAPI WmiQueryAllDataW(WMIHANDLE, ULONG *, void *); +#define WmiQueryAllData WINELIB_NAME_AW(WmiQueryAllData) +ULONG WMIAPI WmiQueryGuidInformation(WMIHANDLE, WMIGUIDINFORMATION *); +ULONG WMIAPI WmiQuerySingleInstanceA(WMIHANDLE, const char *, ULONG *, void *); +ULONG WMIAPI WmiQuerySingleInstanceW(WMIHANDLE, const WCHAR *, ULONG *, void *); +#define WmiQuerySingleInstance WINELIB_NAME_AW(WmiQuerySingleInstance) +ULONG WMIAPI WmiSetSingleInstanceA(WMIHANDLE, const char *, ULONG, ULONG, void *); +ULONG WMIAPI WmiSetSingleInstanceW(WMIHANDLE, const WCHAR *, ULONG, ULONG, void *); +#define WmiSetSingleInstance WINELIB_NAME_AW(WmiSetSingleInstance) +ULONG WMIAPI WmiSetSingleItemA(WMIHANDLE, const char *, ULONG, ULONG, ULONG, void *); +ULONG WMIAPI WmiSetSingleItemW(WMIHANDLE, const WCHAR *, ULONG, ULONG, ULONG, void *); +#define WmiSetSingleItem WINELIB_NAME_AW(WmiSetSingleItem) + +#ifdef __cplusplus +} +#endif + +#endif /* _WMIUM_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmiutils.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmiutils.h new file mode 100644 index 0000000..23633cf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmiutils.h @@ -0,0 +1,736 @@ +/*** Autogenerated by WIDL 2.18 from wmiutils.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wmiutils_h__ +#define __wmiutils_h__ + +/* Forward declarations */ + +#ifndef __IWbemPathKeyList_FWD_DEFINED__ +#define __IWbemPathKeyList_FWD_DEFINED__ +typedef interface IWbemPathKeyList IWbemPathKeyList; +#ifdef __cplusplus +interface IWbemPathKeyList; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemPath_FWD_DEFINED__ +#define __IWbemPath_FWD_DEFINED__ +typedef interface IWbemPath IWbemPath; +#ifdef __cplusplus +interface IWbemPath; +#endif /* __cplusplus */ +#endif + +#ifndef __WbemDefPath_FWD_DEFINED__ +#define __WbemDefPath_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WbemDefPath WbemDefPath; +#else +typedef struct WbemDefPath WbemDefPath; +#endif /* defined __cplusplus */ +#endif /* defined __WbemDefPath_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IWbemPath_FWD_DEFINED__ +#define __IWbemPath_FWD_DEFINED__ +typedef interface IWbemPath IWbemPath; +#ifdef __cplusplus +interface IWbemPath; +#endif /* __cplusplus */ +#endif + +#ifndef __IWbemPathKeyList_FWD_DEFINED__ +#define __IWbemPathKeyList_FWD_DEFINED__ +typedef interface IWbemPathKeyList IWbemPathKeyList; +#ifdef __cplusplus +interface IWbemPathKeyList; +#endif /* __cplusplus */ +#endif + +typedef enum tag_WBEM_PATH_STATUS_FLAG { + WBEMPATH_INFO_ANON_LOCAL_MACHINE = 0x1, + WBEMPATH_INFO_HAS_MACHINE_NAME = 0x2, + WBEMPATH_INFO_IS_CLASS_REF = 0x4, + WBEMPATH_INFO_IS_INST_REF = 0x8, + WBEMPATH_INFO_HAS_SUBSCOPES = 0x10, + WBEMPATH_INFO_IS_COMPOUND = 0x20, + WBEMPATH_INFO_HAS_V2_REF_PATHS = 0x40, + WBEMPATH_INFO_HAS_IMPLIED_KEY = 0x80, + WBEMPATH_INFO_CONTAINS_SINGLETON = 0x100, + WBEMPATH_INFO_V1_COMPLIANT = 0x200, + WBEMPATH_INFO_V2_COMPLIANT = 0x400, + WBEMPATH_INFO_CIM_COMPLIANT = 0x800, + WBEMPATH_INFO_IS_SINGLETON = 0x1000, + WBEMPATH_INFO_IS_PARENT = 0x2000, + WBEMPATH_INFO_SERVER_NAMESPACE_ONLY = 0x4000, + WBEMPATH_INFO_NATIVE_PATH = 0x8000, + WBEMPATH_INFO_WMI_PATH = 0x10000, + WBEMPATH_INFO_PATH_HAD_SERVER = 0x20000 +} tag_WBEM_PATH_STATUS_FLAG; +typedef enum tag_WBEM_PATH_CREATE_FLAG { + WBEMPATH_CREATE_ACCEPT_RELATIVE = 0x1, + WBEMPATH_CREATE_ACCEPT_ABSOLUTE = 0x2, + WBEMPATH_CREATE_ACCEPT_ALL = 0x4, + WBEMPATH_TREAT_SINGLE_IDENT_AS_NS = 0x8 +} tag_WBEM_PATH_CREATE_FLAG; +typedef enum tag_WBEM_GET_TEXT_FLAGS { + WBEMPATH_COMPRESSED = 0x1, + WBEMPATH_GET_RELATIVE_ONLY = 0x2, + WBEMPATH_GET_SERVER_TOO = 0x4, + WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY = 0x8, + WBEMPATH_GET_NAMESPACE_ONLY = 0x10, + WBEMPATH_GET_ORIGINAL = 0x20 +} tag_WBEM_GET_TEXT_FLAGS; +/***************************************************************************** + * IWbemPathKeyList interface + */ +#ifndef __IWbemPathKeyList_INTERFACE_DEFINED__ +#define __IWbemPathKeyList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemPathKeyList, 0x9ae62877, 0x7544, 0x4bb0, 0xaa,0x26, 0xa1,0x38,0x24,0x65,0x9e,0xd6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9ae62877-7544-4bb0-aa26-a13824659ed6") +IWbemPathKeyList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCount( + ULONG *puKeyCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetKey( + LPCWSTR wszName, + ULONG uFlags, + ULONG uCimType, + LPVOID pKeyVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetKey2( + LPCWSTR wszName, + ULONG uFlags, + ULONG uCimType, + VARIANT *pKeyVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKey( + ULONG uKeyIx, + ULONG uFlags, + ULONG *puNameBufSize, + LPWSTR pszKeyName, + ULONG *puKeyValBufSize, + LPVOID pKeyVal, + ULONG *puApparentCimType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKey2( + ULONG uKeyIx, + ULONG uFlags, + ULONG *puNameBufSize, + LPWSTR pszKeyName, + VARIANT *pKeyValue, + ULONG *puApparentCimType) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveKey( + LPCWSTR wszName, + ULONG uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllKeys( + ULONG uFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE MakeSingleton( + boolean bSet) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfo( + ULONG uRequestedInfo, + ULONGLONG *puResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetText( + LONG lFlags, + ULONG *puBuffLength, + LPWSTR pszText) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemPathKeyList, 0x9ae62877, 0x7544, 0x4bb0, 0xaa,0x26, 0xa1,0x38,0x24,0x65,0x9e,0xd6) +#endif +#else +typedef struct IWbemPathKeyListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemPathKeyList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemPathKeyList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemPathKeyList *This); + + /*** IWbemPathKeyList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCount)( + IWbemPathKeyList *This, + ULONG *puKeyCount); + + HRESULT (STDMETHODCALLTYPE *SetKey)( + IWbemPathKeyList *This, + LPCWSTR wszName, + ULONG uFlags, + ULONG uCimType, + LPVOID pKeyVal); + + HRESULT (STDMETHODCALLTYPE *SetKey2)( + IWbemPathKeyList *This, + LPCWSTR wszName, + ULONG uFlags, + ULONG uCimType, + VARIANT *pKeyVal); + + HRESULT (STDMETHODCALLTYPE *GetKey)( + IWbemPathKeyList *This, + ULONG uKeyIx, + ULONG uFlags, + ULONG *puNameBufSize, + LPWSTR pszKeyName, + ULONG *puKeyValBufSize, + LPVOID pKeyVal, + ULONG *puApparentCimType); + + HRESULT (STDMETHODCALLTYPE *GetKey2)( + IWbemPathKeyList *This, + ULONG uKeyIx, + ULONG uFlags, + ULONG *puNameBufSize, + LPWSTR pszKeyName, + VARIANT *pKeyValue, + ULONG *puApparentCimType); + + HRESULT (STDMETHODCALLTYPE *RemoveKey)( + IWbemPathKeyList *This, + LPCWSTR wszName, + ULONG uFlags); + + HRESULT (STDMETHODCALLTYPE *RemoveAllKeys)( + IWbemPathKeyList *This, + ULONG uFlags); + + HRESULT (STDMETHODCALLTYPE *MakeSingleton)( + IWbemPathKeyList *This, + boolean bSet); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IWbemPathKeyList *This, + ULONG uRequestedInfo, + ULONGLONG *puResponse); + + HRESULT (STDMETHODCALLTYPE *GetText)( + IWbemPathKeyList *This, + LONG lFlags, + ULONG *puBuffLength, + LPWSTR pszText); + + END_INTERFACE +} IWbemPathKeyListVtbl; + +interface IWbemPathKeyList { + CONST_VTBL IWbemPathKeyListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemPathKeyList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemPathKeyList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemPathKeyList_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemPathKeyList methods ***/ +#define IWbemPathKeyList_GetCount(This,puKeyCount) (This)->lpVtbl->GetCount(This,puKeyCount) +#define IWbemPathKeyList_SetKey(This,wszName,uFlags,uCimType,pKeyVal) (This)->lpVtbl->SetKey(This,wszName,uFlags,uCimType,pKeyVal) +#define IWbemPathKeyList_SetKey2(This,wszName,uFlags,uCimType,pKeyVal) (This)->lpVtbl->SetKey2(This,wszName,uFlags,uCimType,pKeyVal) +#define IWbemPathKeyList_GetKey(This,uKeyIx,uFlags,puNameBufSize,pszKeyName,puKeyValBufSize,pKeyVal,puApparentCimType) (This)->lpVtbl->GetKey(This,uKeyIx,uFlags,puNameBufSize,pszKeyName,puKeyValBufSize,pKeyVal,puApparentCimType) +#define IWbemPathKeyList_GetKey2(This,uKeyIx,uFlags,puNameBufSize,pszKeyName,pKeyValue,puApparentCimType) (This)->lpVtbl->GetKey2(This,uKeyIx,uFlags,puNameBufSize,pszKeyName,pKeyValue,puApparentCimType) +#define IWbemPathKeyList_RemoveKey(This,wszName,uFlags) (This)->lpVtbl->RemoveKey(This,wszName,uFlags) +#define IWbemPathKeyList_RemoveAllKeys(This,uFlags) (This)->lpVtbl->RemoveAllKeys(This,uFlags) +#define IWbemPathKeyList_MakeSingleton(This,bSet) (This)->lpVtbl->MakeSingleton(This,bSet) +#define IWbemPathKeyList_GetInfo(This,uRequestedInfo,puResponse) (This)->lpVtbl->GetInfo(This,uRequestedInfo,puResponse) +#define IWbemPathKeyList_GetText(This,lFlags,puBuffLength,pszText) (This)->lpVtbl->GetText(This,lFlags,puBuffLength,pszText) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemPathKeyList_QueryInterface(IWbemPathKeyList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemPathKeyList_AddRef(IWbemPathKeyList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemPathKeyList_Release(IWbemPathKeyList* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemPathKeyList methods ***/ +static FORCEINLINE HRESULT IWbemPathKeyList_GetCount(IWbemPathKeyList* This,ULONG *puKeyCount) { + return This->lpVtbl->GetCount(This,puKeyCount); +} +static FORCEINLINE HRESULT IWbemPathKeyList_SetKey(IWbemPathKeyList* This,LPCWSTR wszName,ULONG uFlags,ULONG uCimType,LPVOID pKeyVal) { + return This->lpVtbl->SetKey(This,wszName,uFlags,uCimType,pKeyVal); +} +static FORCEINLINE HRESULT IWbemPathKeyList_SetKey2(IWbemPathKeyList* This,LPCWSTR wszName,ULONG uFlags,ULONG uCimType,VARIANT *pKeyVal) { + return This->lpVtbl->SetKey2(This,wszName,uFlags,uCimType,pKeyVal); +} +static FORCEINLINE HRESULT IWbemPathKeyList_GetKey(IWbemPathKeyList* This,ULONG uKeyIx,ULONG uFlags,ULONG *puNameBufSize,LPWSTR pszKeyName,ULONG *puKeyValBufSize,LPVOID pKeyVal,ULONG *puApparentCimType) { + return This->lpVtbl->GetKey(This,uKeyIx,uFlags,puNameBufSize,pszKeyName,puKeyValBufSize,pKeyVal,puApparentCimType); +} +static FORCEINLINE HRESULT IWbemPathKeyList_GetKey2(IWbemPathKeyList* This,ULONG uKeyIx,ULONG uFlags,ULONG *puNameBufSize,LPWSTR pszKeyName,VARIANT *pKeyValue,ULONG *puApparentCimType) { + return This->lpVtbl->GetKey2(This,uKeyIx,uFlags,puNameBufSize,pszKeyName,pKeyValue,puApparentCimType); +} +static FORCEINLINE HRESULT IWbemPathKeyList_RemoveKey(IWbemPathKeyList* This,LPCWSTR wszName,ULONG uFlags) { + return This->lpVtbl->RemoveKey(This,wszName,uFlags); +} +static FORCEINLINE HRESULT IWbemPathKeyList_RemoveAllKeys(IWbemPathKeyList* This,ULONG uFlags) { + return This->lpVtbl->RemoveAllKeys(This,uFlags); +} +static FORCEINLINE HRESULT IWbemPathKeyList_MakeSingleton(IWbemPathKeyList* This,boolean bSet) { + return This->lpVtbl->MakeSingleton(This,bSet); +} +static FORCEINLINE HRESULT IWbemPathKeyList_GetInfo(IWbemPathKeyList* This,ULONG uRequestedInfo,ULONGLONG *puResponse) { + return This->lpVtbl->GetInfo(This,uRequestedInfo,puResponse); +} +static FORCEINLINE HRESULT IWbemPathKeyList_GetText(IWbemPathKeyList* This,LONG lFlags,ULONG *puBuffLength,LPWSTR pszText) { + return This->lpVtbl->GetText(This,lFlags,puBuffLength,pszText); +} +#endif +#endif + +#endif + + +#endif /* __IWbemPathKeyList_INTERFACE_DEFINED__ */ + +#ifdef WINE_NO_UNICODE_MACROS +#undef GetClassName +#endif +/***************************************************************************** + * IWbemPath interface + */ +#ifndef __IWbemPath_INTERFACE_DEFINED__ +#define __IWbemPath_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWbemPath, 0x3bc15af2, 0x736c, 0x477e, 0x9e,0x51, 0x23,0x8a,0xf8,0x66,0x7d,0xcc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3bc15af2-736c-477e-9e51-238af8667dcc") +IWbemPath : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetText( + ULONG uMode, + LPCWSTR pszPath) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetText( + LONG lFlags, + ULONG *puBuffLength, + LPWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInfo( + ULONG uRequestedInfo, + ULONGLONG *puResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetServer( + LPCWSTR Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetServer( + ULONG *puNameBufLength, + LPWSTR pName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNamespaceCount( + ULONG *puCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNamespaceAt( + ULONG uIndex, + LPCWSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNamespaceAt( + ULONG uIndex, + ULONG *puNameBufLength, + LPWSTR pName) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveNamespaceAt( + ULONG uIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllNamespaces( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScopeCount( + ULONG *puCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetScope( + ULONG uIndex, + LPWSTR pszClass) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetScopeFromText( + ULONG uIndex, + LPWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScope( + ULONG uIndex, + ULONG *puClassNameBufSize, + LPWSTR pszClass, + IWbemPathKeyList **pKeyList) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScopeAsText( + ULONG uIndex, + ULONG *puTextBufSize, + LPWSTR pszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveScope( + ULONG uIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAllScopes( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClassName( + LPCWSTR Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetClassName( + ULONG *puBuffLength, + LPWSTR pszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetKeyList( + IWbemPathKeyList **pOut) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateClassPart( + LONG lFlags, + LPCWSTR Name) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteClassPart( + LONG lFlags) = 0; + + virtual BOOL STDMETHODCALLTYPE IsRelative( + LPWSTR wszMachine, + LPWSTR wszNamespace) = 0; + + virtual BOOL STDMETHODCALLTYPE IsRelativeOrChild( + LPWSTR wszMachine, + LPWSTR wszNamespace, + LONG lFlags) = 0; + + virtual BOOL STDMETHODCALLTYPE IsLocal( + LPCWSTR wszMachine) = 0; + + virtual BOOL STDMETHODCALLTYPE IsSameClassName( + LPCWSTR wszClass) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWbemPath, 0x3bc15af2, 0x736c, 0x477e, 0x9e,0x51, 0x23,0x8a,0xf8,0x66,0x7d,0xcc) +#endif +#else +typedef struct IWbemPathVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWbemPath *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWbemPath *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWbemPath *This); + + /*** IWbemPath methods ***/ + HRESULT (STDMETHODCALLTYPE *SetText)( + IWbemPath *This, + ULONG uMode, + LPCWSTR pszPath); + + HRESULT (STDMETHODCALLTYPE *GetText)( + IWbemPath *This, + LONG lFlags, + ULONG *puBuffLength, + LPWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *GetInfo)( + IWbemPath *This, + ULONG uRequestedInfo, + ULONGLONG *puResponse); + + HRESULT (STDMETHODCALLTYPE *SetServer)( + IWbemPath *This, + LPCWSTR Name); + + HRESULT (STDMETHODCALLTYPE *GetServer)( + IWbemPath *This, + ULONG *puNameBufLength, + LPWSTR pName); + + HRESULT (STDMETHODCALLTYPE *GetNamespaceCount)( + IWbemPath *This, + ULONG *puCount); + + HRESULT (STDMETHODCALLTYPE *SetNamespaceAt)( + IWbemPath *This, + ULONG uIndex, + LPCWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetNamespaceAt)( + IWbemPath *This, + ULONG uIndex, + ULONG *puNameBufLength, + LPWSTR pName); + + HRESULT (STDMETHODCALLTYPE *RemoveNamespaceAt)( + IWbemPath *This, + ULONG uIndex); + + HRESULT (STDMETHODCALLTYPE *RemoveAllNamespaces)( + IWbemPath *This); + + HRESULT (STDMETHODCALLTYPE *GetScopeCount)( + IWbemPath *This, + ULONG *puCount); + + HRESULT (STDMETHODCALLTYPE *SetScope)( + IWbemPath *This, + ULONG uIndex, + LPWSTR pszClass); + + HRESULT (STDMETHODCALLTYPE *SetScopeFromText)( + IWbemPath *This, + ULONG uIndex, + LPWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *GetScope)( + IWbemPath *This, + ULONG uIndex, + ULONG *puClassNameBufSize, + LPWSTR pszClass, + IWbemPathKeyList **pKeyList); + + HRESULT (STDMETHODCALLTYPE *GetScopeAsText)( + IWbemPath *This, + ULONG uIndex, + ULONG *puTextBufSize, + LPWSTR pszText); + + HRESULT (STDMETHODCALLTYPE *RemoveScope)( + IWbemPath *This, + ULONG uIndex); + + HRESULT (STDMETHODCALLTYPE *RemoveAllScopes)( + IWbemPath *This); + + HRESULT (STDMETHODCALLTYPE *SetClassName)( + IWbemPath *This, + LPCWSTR Name); + + HRESULT (STDMETHODCALLTYPE *GetClassName)( + IWbemPath *This, + ULONG *puBuffLength, + LPWSTR pszName); + + HRESULT (STDMETHODCALLTYPE *GetKeyList)( + IWbemPath *This, + IWbemPathKeyList **pOut); + + HRESULT (STDMETHODCALLTYPE *CreateClassPart)( + IWbemPath *This, + LONG lFlags, + LPCWSTR Name); + + HRESULT (STDMETHODCALLTYPE *DeleteClassPart)( + IWbemPath *This, + LONG lFlags); + + BOOL (STDMETHODCALLTYPE *IsRelative)( + IWbemPath *This, + LPWSTR wszMachine, + LPWSTR wszNamespace); + + BOOL (STDMETHODCALLTYPE *IsRelativeOrChild)( + IWbemPath *This, + LPWSTR wszMachine, + LPWSTR wszNamespace, + LONG lFlags); + + BOOL (STDMETHODCALLTYPE *IsLocal)( + IWbemPath *This, + LPCWSTR wszMachine); + + BOOL (STDMETHODCALLTYPE *IsSameClassName)( + IWbemPath *This, + LPCWSTR wszClass); + + END_INTERFACE +} IWbemPathVtbl; + +interface IWbemPath { + CONST_VTBL IWbemPathVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWbemPath_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWbemPath_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWbemPath_Release(This) (This)->lpVtbl->Release(This) +/*** IWbemPath methods ***/ +#define IWbemPath_SetText(This,uMode,pszPath) (This)->lpVtbl->SetText(This,uMode,pszPath) +#define IWbemPath_GetText(This,lFlags,puBuffLength,pszText) (This)->lpVtbl->GetText(This,lFlags,puBuffLength,pszText) +#define IWbemPath_GetInfo(This,uRequestedInfo,puResponse) (This)->lpVtbl->GetInfo(This,uRequestedInfo,puResponse) +#define IWbemPath_SetServer(This,Name) (This)->lpVtbl->SetServer(This,Name) +#define IWbemPath_GetServer(This,puNameBufLength,pName) (This)->lpVtbl->GetServer(This,puNameBufLength,pName) +#define IWbemPath_GetNamespaceCount(This,puCount) (This)->lpVtbl->GetNamespaceCount(This,puCount) +#define IWbemPath_SetNamespaceAt(This,uIndex,pszName) (This)->lpVtbl->SetNamespaceAt(This,uIndex,pszName) +#define IWbemPath_GetNamespaceAt(This,uIndex,puNameBufLength,pName) (This)->lpVtbl->GetNamespaceAt(This,uIndex,puNameBufLength,pName) +#define IWbemPath_RemoveNamespaceAt(This,uIndex) (This)->lpVtbl->RemoveNamespaceAt(This,uIndex) +#define IWbemPath_RemoveAllNamespaces(This) (This)->lpVtbl->RemoveAllNamespaces(This) +#define IWbemPath_GetScopeCount(This,puCount) (This)->lpVtbl->GetScopeCount(This,puCount) +#define IWbemPath_SetScope(This,uIndex,pszClass) (This)->lpVtbl->SetScope(This,uIndex,pszClass) +#define IWbemPath_SetScopeFromText(This,uIndex,pszText) (This)->lpVtbl->SetScopeFromText(This,uIndex,pszText) +#define IWbemPath_GetScope(This,uIndex,puClassNameBufSize,pszClass,pKeyList) (This)->lpVtbl->GetScope(This,uIndex,puClassNameBufSize,pszClass,pKeyList) +#define IWbemPath_GetScopeAsText(This,uIndex,puTextBufSize,pszText) (This)->lpVtbl->GetScopeAsText(This,uIndex,puTextBufSize,pszText) +#define IWbemPath_RemoveScope(This,uIndex) (This)->lpVtbl->RemoveScope(This,uIndex) +#define IWbemPath_RemoveAllScopes(This) (This)->lpVtbl->RemoveAllScopes(This) +#define IWbemPath_SetClassName(This,Name) (This)->lpVtbl->SetClassName(This,Name) +#define IWbemPath_GetClassName(This,puBuffLength,pszName) (This)->lpVtbl->GetClassName(This,puBuffLength,pszName) +#define IWbemPath_GetKeyList(This,pOut) (This)->lpVtbl->GetKeyList(This,pOut) +#define IWbemPath_CreateClassPart(This,lFlags,Name) (This)->lpVtbl->CreateClassPart(This,lFlags,Name) +#define IWbemPath_DeleteClassPart(This,lFlags) (This)->lpVtbl->DeleteClassPart(This,lFlags) +#define IWbemPath_IsRelative(This,wszMachine,wszNamespace) (This)->lpVtbl->IsRelative(This,wszMachine,wszNamespace) +#define IWbemPath_IsRelativeOrChild(This,wszMachine,wszNamespace,lFlags) (This)->lpVtbl->IsRelativeOrChild(This,wszMachine,wszNamespace,lFlags) +#define IWbemPath_IsLocal(This,wszMachine) (This)->lpVtbl->IsLocal(This,wszMachine) +#define IWbemPath_IsSameClassName(This,wszClass) (This)->lpVtbl->IsSameClassName(This,wszClass) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWbemPath_QueryInterface(IWbemPath* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWbemPath_AddRef(IWbemPath* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWbemPath_Release(IWbemPath* This) { + return This->lpVtbl->Release(This); +} +/*** IWbemPath methods ***/ +static FORCEINLINE HRESULT IWbemPath_SetText(IWbemPath* This,ULONG uMode,LPCWSTR pszPath) { + return This->lpVtbl->SetText(This,uMode,pszPath); +} +static FORCEINLINE HRESULT IWbemPath_GetText(IWbemPath* This,LONG lFlags,ULONG *puBuffLength,LPWSTR pszText) { + return This->lpVtbl->GetText(This,lFlags,puBuffLength,pszText); +} +static FORCEINLINE HRESULT IWbemPath_GetInfo(IWbemPath* This,ULONG uRequestedInfo,ULONGLONG *puResponse) { + return This->lpVtbl->GetInfo(This,uRequestedInfo,puResponse); +} +static FORCEINLINE HRESULT IWbemPath_SetServer(IWbemPath* This,LPCWSTR Name) { + return This->lpVtbl->SetServer(This,Name); +} +static FORCEINLINE HRESULT IWbemPath_GetServer(IWbemPath* This,ULONG *puNameBufLength,LPWSTR pName) { + return This->lpVtbl->GetServer(This,puNameBufLength,pName); +} +static FORCEINLINE HRESULT IWbemPath_GetNamespaceCount(IWbemPath* This,ULONG *puCount) { + return This->lpVtbl->GetNamespaceCount(This,puCount); +} +static FORCEINLINE HRESULT IWbemPath_SetNamespaceAt(IWbemPath* This,ULONG uIndex,LPCWSTR pszName) { + return This->lpVtbl->SetNamespaceAt(This,uIndex,pszName); +} +static FORCEINLINE HRESULT IWbemPath_GetNamespaceAt(IWbemPath* This,ULONG uIndex,ULONG *puNameBufLength,LPWSTR pName) { + return This->lpVtbl->GetNamespaceAt(This,uIndex,puNameBufLength,pName); +} +static FORCEINLINE HRESULT IWbemPath_RemoveNamespaceAt(IWbemPath* This,ULONG uIndex) { + return This->lpVtbl->RemoveNamespaceAt(This,uIndex); +} +static FORCEINLINE HRESULT IWbemPath_RemoveAllNamespaces(IWbemPath* This) { + return This->lpVtbl->RemoveAllNamespaces(This); +} +static FORCEINLINE HRESULT IWbemPath_GetScopeCount(IWbemPath* This,ULONG *puCount) { + return This->lpVtbl->GetScopeCount(This,puCount); +} +static FORCEINLINE HRESULT IWbemPath_SetScope(IWbemPath* This,ULONG uIndex,LPWSTR pszClass) { + return This->lpVtbl->SetScope(This,uIndex,pszClass); +} +static FORCEINLINE HRESULT IWbemPath_SetScopeFromText(IWbemPath* This,ULONG uIndex,LPWSTR pszText) { + return This->lpVtbl->SetScopeFromText(This,uIndex,pszText); +} +static FORCEINLINE HRESULT IWbemPath_GetScope(IWbemPath* This,ULONG uIndex,ULONG *puClassNameBufSize,LPWSTR pszClass,IWbemPathKeyList **pKeyList) { + return This->lpVtbl->GetScope(This,uIndex,puClassNameBufSize,pszClass,pKeyList); +} +static FORCEINLINE HRESULT IWbemPath_GetScopeAsText(IWbemPath* This,ULONG uIndex,ULONG *puTextBufSize,LPWSTR pszText) { + return This->lpVtbl->GetScopeAsText(This,uIndex,puTextBufSize,pszText); +} +static FORCEINLINE HRESULT IWbemPath_RemoveScope(IWbemPath* This,ULONG uIndex) { + return This->lpVtbl->RemoveScope(This,uIndex); +} +static FORCEINLINE HRESULT IWbemPath_RemoveAllScopes(IWbemPath* This) { + return This->lpVtbl->RemoveAllScopes(This); +} +static FORCEINLINE HRESULT IWbemPath_SetClassName(IWbemPath* This,LPCWSTR Name) { + return This->lpVtbl->SetClassName(This,Name); +} +static FORCEINLINE HRESULT IWbemPath_GetClassName(IWbemPath* This,ULONG *puBuffLength,LPWSTR pszName) { + return This->lpVtbl->GetClassName(This,puBuffLength,pszName); +} +static FORCEINLINE HRESULT IWbemPath_GetKeyList(IWbemPath* This,IWbemPathKeyList **pOut) { + return This->lpVtbl->GetKeyList(This,pOut); +} +static FORCEINLINE HRESULT IWbemPath_CreateClassPart(IWbemPath* This,LONG lFlags,LPCWSTR Name) { + return This->lpVtbl->CreateClassPart(This,lFlags,Name); +} +static FORCEINLINE HRESULT IWbemPath_DeleteClassPart(IWbemPath* This,LONG lFlags) { + return This->lpVtbl->DeleteClassPart(This,lFlags); +} +static FORCEINLINE BOOL IWbemPath_IsRelative(IWbemPath* This,LPWSTR wszMachine,LPWSTR wszNamespace) { + return This->lpVtbl->IsRelative(This,wszMachine,wszNamespace); +} +static FORCEINLINE BOOL IWbemPath_IsRelativeOrChild(IWbemPath* This,LPWSTR wszMachine,LPWSTR wszNamespace,LONG lFlags) { + return This->lpVtbl->IsRelativeOrChild(This,wszMachine,wszNamespace,lFlags); +} +static FORCEINLINE BOOL IWbemPath_IsLocal(IWbemPath* This,LPCWSTR wszMachine) { + return This->lpVtbl->IsLocal(This,wszMachine); +} +static FORCEINLINE BOOL IWbemPath_IsSameClassName(IWbemPath* This,LPCWSTR wszClass) { + return This->lpVtbl->IsSameClassName(This,wszClass); +} +#endif +#endif + +#endif + + +#endif /* __IWbemPath_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * WbemDefPath coclass + */ + +DEFINE_GUID(CLSID_WbemDefPath, 0xcf4cc405, 0xe2c5, 0x4ddd, 0xb3,0xce, 0x5e,0x75,0x82,0xd8,0xc9,0xfa); + +#ifdef __cplusplus +class DECLSPEC_UUID("cf4cc405-e2c5-4ddd-b3ce-5e7582d8c9fa") WbemDefPath; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WbemDefPath, 0xcf4cc405, 0xe2c5, 0x4ddd, 0xb3,0xce, 0x5e,0x75,0x82,0xd8,0xc9,0xfa) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wmiutils_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmiutils.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmiutils.idl new file mode 100644 index 0000000..fa790c8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmiutils.idl @@ -0,0 +1,236 @@ +/* + * Copyright 2012 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +interface IWbemPath; +interface IWbemPathKeyList; + +typedef [v1_enum] enum tag_WBEM_PATH_STATUS_FLAG +{ + WBEMPATH_INFO_ANON_LOCAL_MACHINE = 0x1, + WBEMPATH_INFO_HAS_MACHINE_NAME = 0x2, + WBEMPATH_INFO_IS_CLASS_REF = 0x4, + WBEMPATH_INFO_IS_INST_REF = 0x8, + WBEMPATH_INFO_HAS_SUBSCOPES = 0x10, + WBEMPATH_INFO_IS_COMPOUND = 0x20, + WBEMPATH_INFO_HAS_V2_REF_PATHS = 0x40, + WBEMPATH_INFO_HAS_IMPLIED_KEY = 0x80, + WBEMPATH_INFO_CONTAINS_SINGLETON = 0x100, + WBEMPATH_INFO_V1_COMPLIANT = 0x200, + WBEMPATH_INFO_V2_COMPLIANT = 0x400, + WBEMPATH_INFO_CIM_COMPLIANT = 0x800, + WBEMPATH_INFO_IS_SINGLETON = 0x1000, + WBEMPATH_INFO_IS_PARENT = 0x2000, + WBEMPATH_INFO_SERVER_NAMESPACE_ONLY = 0x4000, + WBEMPATH_INFO_NATIVE_PATH = 0x8000, + WBEMPATH_INFO_WMI_PATH = 0x10000, + WBEMPATH_INFO_PATH_HAD_SERVER = 0x20000 +} tag_WBEM_PATH_STATUS_FLAG; + +typedef [v1_enum] enum tag_WBEM_PATH_CREATE_FLAG +{ + WBEMPATH_CREATE_ACCEPT_RELATIVE = 0x1, + WBEMPATH_CREATE_ACCEPT_ABSOLUTE = 0x2, + WBEMPATH_CREATE_ACCEPT_ALL = 0x4, + WBEMPATH_TREAT_SINGLE_IDENT_AS_NS = 0x8 +} tag_WBEM_PATH_CREATE_FLAG; + +typedef [v1_enum] enum tag_WBEM_GET_TEXT_FLAGS +{ + WBEMPATH_COMPRESSED = 0x1, + WBEMPATH_GET_RELATIVE_ONLY = 0x2, + WBEMPATH_GET_SERVER_TOO = 0x4, + WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY = 0x8, + WBEMPATH_GET_NAMESPACE_ONLY = 0x10, + WBEMPATH_GET_ORIGINAL = 0x20 +} tag_WBEM_GET_TEXT_FLAGS; + +[ + local, + object, + uuid(9ae62877-7544-4bb0-aa26-a13824659ed6) +] +interface IWbemPathKeyList : IUnknown +{ + HRESULT GetCount( + [out] ULONG *puKeyCount); + + HRESULT SetKey( + [in,string] LPCWSTR wszName, + [in] ULONG uFlags, + [in] ULONG uCimType, + [in] LPVOID pKeyVal); + + HRESULT SetKey2( + [in,string] LPCWSTR wszName, + [in] ULONG uFlags, + [in] ULONG uCimType, + [in] VARIANT *pKeyVal); + + HRESULT GetKey( + [in] ULONG uKeyIx, + [in] ULONG uFlags, + [in,out] ULONG *puNameBufSize, + [in,out] LPWSTR pszKeyName, + [in,out] ULONG *puKeyValBufSize, + [in,out] LPVOID pKeyVal, + [out] ULONG *puApparentCimType); + + HRESULT GetKey2( + [in] ULONG uKeyIx, + [in] ULONG uFlags, + [in,out] ULONG *puNameBufSize, + [in,out] LPWSTR pszKeyName, + [in,out] VARIANT *pKeyValue, + [out] ULONG *puApparentCimType); + + HRESULT RemoveKey( + [in,string] LPCWSTR wszName, + [in] ULONG uFlags); + + HRESULT RemoveAllKeys( + [in] ULONG uFlags); + + HRESULT MakeSingleton([in] boolean bSet); + + HRESULT GetInfo( + [in] ULONG uRequestedInfo, + [out] ULONGLONG *puResponse); + + HRESULT GetText( + [in] long lFlags, + [in,out] ULONG *puBuffLength, + [in,out,string] LPWSTR pszText); +}; + +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetClassName") +cpp_quote("#endif") + +[ + local, + object, + uuid(3bc15af2-736c-477e-9e51-238af8667dcc) +] +interface IWbemPath : IUnknown +{ + HRESULT SetText( + [in] ULONG uMode, + [in] LPCWSTR pszPath); + + HRESULT GetText( + [in] long lFlags, + [in,out] ULONG *puBuffLength, + [in,out,string] LPWSTR pszText); + + HRESULT GetInfo( + [in] ULONG uRequestedInfo, + [out] ULONGLONG *puResponse); + + HRESULT SetServer( + [in,string] LPCWSTR Name); + + HRESULT GetServer( + [in,out] ULONG *puNameBufLength, + [in,out,string] LPWSTR pName); + + HRESULT GetNamespaceCount( + [out] ULONG *puCount); + + HRESULT SetNamespaceAt( + [in] ULONG uIndex, + [in,string] LPCWSTR pszName); + + HRESULT GetNamespaceAt( + [in] ULONG uIndex, + [in,out] ULONG *puNameBufLength, + [in,out,string] LPWSTR pName); + + HRESULT RemoveNamespaceAt( + [in] ULONG uIndex); + + HRESULT RemoveAllNamespaces(); + + HRESULT GetScopeCount( + [out] ULONG *puCount); + + HRESULT SetScope( + [in] ULONG uIndex, + [in] LPWSTR pszClass); + + HRESULT SetScopeFromText( + [in] ULONG uIndex, + [in] LPWSTR pszText); + + HRESULT GetScope( + [in] ULONG uIndex, + [in,out] ULONG *puClassNameBufSize, + [in,out] LPWSTR pszClass, + [out] IWbemPathKeyList **pKeyList); + + HRESULT GetScopeAsText( + [in] ULONG uIndex, + [in,out] ULONG *puTextBufSize, + [in,out] LPWSTR pszText); + + HRESULT RemoveScope( + [in] ULONG uIndex); + + HRESULT RemoveAllScopes(); + + HRESULT SetClassName( + [in,string] LPCWSTR Name); + + HRESULT GetClassName( + [in,out] ULONG *puBuffLength, + [in,out,string] LPWSTR pszName); + + HRESULT GetKeyList( + [out] IWbemPathKeyList **pOut); + + HRESULT CreateClassPart( + [in] long lFlags, + [in,string] LPCWSTR Name); + + HRESULT DeleteClassPart( + [in] long lFlags); + + BOOL IsRelative( + [in,string] LPWSTR wszMachine, + [in,string] LPWSTR wszNamespace); + + BOOL IsRelativeOrChild( + [in,string] LPWSTR wszMachine, + [in,string] LPWSTR wszNamespace, + [in] long lFlags); + + BOOL IsLocal( + [in,string] LPCWSTR wszMachine); + + BOOL IsSameClassName( + [in,string] LPCWSTR wszClass); +}; + +[ + uuid(cf4cc405-e2c5-4ddd-b3ce-5e7582d8c9fa) +] +coclass WbemDefPath +{ + interface IWbemPath; +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmp.h new file mode 100644 index 0000000..20e1d83 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmp.h @@ -0,0 +1,8883 @@ +/*** Autogenerated by WIDL 2.18 from wmp.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wmp_h__ +#define __wmp_h__ + +/* Forward declarations */ + +#ifndef __IWMPPlaylist_FWD_DEFINED__ +#define __IWMPPlaylist_FWD_DEFINED__ +typedef interface IWMPPlaylist IWMPPlaylist; +#ifdef __cplusplus +interface IWMPPlaylist; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPMedia_FWD_DEFINED__ +#define __IWMPMedia_FWD_DEFINED__ +typedef interface IWMPMedia IWMPMedia; +#ifdef __cplusplus +interface IWMPMedia; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPControls_FWD_DEFINED__ +#define __IWMPControls_FWD_DEFINED__ +typedef interface IWMPControls IWMPControls; +#ifdef __cplusplus +interface IWMPControls; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPSettings_FWD_DEFINED__ +#define __IWMPSettings_FWD_DEFINED__ +typedef interface IWMPSettings IWMPSettings; +#ifdef __cplusplus +interface IWMPSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPStringCollection_FWD_DEFINED__ +#define __IWMPStringCollection_FWD_DEFINED__ +typedef interface IWMPStringCollection IWMPStringCollection; +#ifdef __cplusplus +interface IWMPStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPMediaCollection_FWD_DEFINED__ +#define __IWMPMediaCollection_FWD_DEFINED__ +typedef interface IWMPMediaCollection IWMPMediaCollection; +#ifdef __cplusplus +interface IWMPMediaCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPPlaylistArray_FWD_DEFINED__ +#define __IWMPPlaylistArray_FWD_DEFINED__ +typedef interface IWMPPlaylistArray IWMPPlaylistArray; +#ifdef __cplusplus +interface IWMPPlaylistArray; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPPlaylistCollection_FWD_DEFINED__ +#define __IWMPPlaylistCollection_FWD_DEFINED__ +typedef interface IWMPPlaylistCollection IWMPPlaylistCollection; +#ifdef __cplusplus +interface IWMPPlaylistCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPNetwork_FWD_DEFINED__ +#define __IWMPNetwork_FWD_DEFINED__ +typedef interface IWMPNetwork IWMPNetwork; +#ifdef __cplusplus +interface IWMPNetwork; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCdrom_FWD_DEFINED__ +#define __IWMPCdrom_FWD_DEFINED__ +typedef interface IWMPCdrom IWMPCdrom; +#ifdef __cplusplus +interface IWMPCdrom; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCdromCollection_FWD_DEFINED__ +#define __IWMPCdromCollection_FWD_DEFINED__ +typedef interface IWMPCdromCollection IWMPCdromCollection; +#ifdef __cplusplus +interface IWMPCdromCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPDVD_FWD_DEFINED__ +#define __IWMPDVD_FWD_DEFINED__ +typedef interface IWMPDVD IWMPDVD; +#ifdef __cplusplus +interface IWMPDVD; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPClosedCaption_FWD_DEFINED__ +#define __IWMPClosedCaption_FWD_DEFINED__ +typedef interface IWMPClosedCaption IWMPClosedCaption; +#ifdef __cplusplus +interface IWMPClosedCaption; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPErrorItem_FWD_DEFINED__ +#define __IWMPErrorItem_FWD_DEFINED__ +typedef interface IWMPErrorItem IWMPErrorItem; +#ifdef __cplusplus +interface IWMPErrorItem; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPError_FWD_DEFINED__ +#define __IWMPError_FWD_DEFINED__ +typedef interface IWMPError IWMPError; +#ifdef __cplusplus +interface IWMPError; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPPlayerApplication_FWD_DEFINED__ +#define __IWMPPlayerApplication_FWD_DEFINED__ +typedef interface IWMPPlayerApplication IWMPPlayerApplication; +#ifdef __cplusplus +interface IWMPPlayerApplication; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCore_FWD_DEFINED__ +#define __IWMPCore_FWD_DEFINED__ +typedef interface IWMPCore IWMPCore; +#ifdef __cplusplus +interface IWMPCore; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCore2_FWD_DEFINED__ +#define __IWMPCore2_FWD_DEFINED__ +typedef interface IWMPCore2 IWMPCore2; +#ifdef __cplusplus +interface IWMPCore2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCore3_FWD_DEFINED__ +#define __IWMPCore3_FWD_DEFINED__ +typedef interface IWMPCore3 IWMPCore3; +#ifdef __cplusplus +interface IWMPCore3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPPlayer4_FWD_DEFINED__ +#define __IWMPPlayer4_FWD_DEFINED__ +typedef interface IWMPPlayer4 IWMPPlayer4; +#ifdef __cplusplus +interface IWMPPlayer4; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPSyncDevice_FWD_DEFINED__ +#define __IWMPSyncDevice_FWD_DEFINED__ +typedef interface IWMPSyncDevice IWMPSyncDevice; +#ifdef __cplusplus +interface IWMPSyncDevice; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPSyncDevice2_FWD_DEFINED__ +#define __IWMPSyncDevice2_FWD_DEFINED__ +typedef interface IWMPSyncDevice2 IWMPSyncDevice2; +#ifdef __cplusplus +interface IWMPSyncDevice2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCdromRip_FWD_DEFINED__ +#define __IWMPCdromRip_FWD_DEFINED__ +typedef interface IWMPCdromRip IWMPCdromRip; +#ifdef __cplusplus +interface IWMPCdromRip; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPCdromBurn_FWD_DEFINED__ +#define __IWMPCdromBurn_FWD_DEFINED__ +typedef interface IWMPCdromBurn IWMPCdromBurn; +#ifdef __cplusplus +interface IWMPCdromBurn; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPLibrary_FWD_DEFINED__ +#define __IWMPLibrary_FWD_DEFINED__ +typedef interface IWMPLibrary IWMPLibrary; +#ifdef __cplusplus +interface IWMPLibrary; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPEvents_FWD_DEFINED__ +#define __IWMPEvents_FWD_DEFINED__ +typedef interface IWMPEvents IWMPEvents; +#ifdef __cplusplus +interface IWMPEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPEvents2_FWD_DEFINED__ +#define __IWMPEvents2_FWD_DEFINED__ +typedef interface IWMPEvents2 IWMPEvents2; +#ifdef __cplusplus +interface IWMPEvents2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPEvents3_FWD_DEFINED__ +#define __IWMPEvents3_FWD_DEFINED__ +typedef interface IWMPEvents3 IWMPEvents3; +#ifdef __cplusplus +interface IWMPEvents3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPEvents4_FWD_DEFINED__ +#define __IWMPEvents4_FWD_DEFINED__ +typedef interface IWMPEvents4 IWMPEvents4; +#ifdef __cplusplus +interface IWMPEvents4; +#endif /* __cplusplus */ +#endif + +#ifndef ___WMPOCXEvents_FWD_DEFINED__ +#define ___WMPOCXEvents_FWD_DEFINED__ +typedef interface _WMPOCXEvents _WMPOCXEvents; +#ifdef __cplusplus +interface _WMPOCXEvents; +#endif /* __cplusplus */ +#endif + +#ifndef __WindowsMediaPlayer_FWD_DEFINED__ +#define __WindowsMediaPlayer_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WindowsMediaPlayer WindowsMediaPlayer; +#else +typedef struct WindowsMediaPlayer WindowsMediaPlayer; +#endif /* defined __cplusplus */ +#endif /* defined __WindowsMediaPlayer_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_WMPLib, 0x6bf52a50, 0x394a, 0x11d3, 0xb1,0x53, 0x00,0xc0,0x4f,0x79,0xfa,0xa6); + +typedef enum __WIDL_wmp_generated_name_00000011 { + wmposUndefined = 0, + wmposPlaylistChanging = 1, + wmposPlaylistLocating = 2, + wmposPlaylistConnecting = 3, + wmposPlaylistLoading = 4, + wmposPlaylistOpening = 5, + wmposPlaylistOpenNoMedia = 6, + wmposPlaylistChanged = 7, + wmposMediaChanging = 8, + wmposMediaLocating = 9, + wmposMediaConnecting = 10, + wmposMediaLoading = 11, + wmposMediaOpening = 12, + wmposMediaOpen = 13, + wmposBeginCodecAcquisition = 14, + wmposEndCodecAcquisition = 15, + wmposBeginLicenseAcquisition = 16, + wmposEndLicenseAcquisition = 17, + wmposBeginIndividualization = 18, + wmposEndIndividualization = 19, + wmposMediaWaiting = 20, + wmposOpeningUnknownURL = 21 +} WMPOpenState; +typedef enum __WIDL_wmp_generated_name_00000012 { + wmppsUndefined = 0, + wmppsStopped = 1, + wmppsPaused = 2, + wmppsPlaying = 3, + wmppsScanForward = 4, + wmppsScanReverse = 5, + wmppsBuffering = 6, + wmppsWaiting = 7, + wmppsMediaEnded = 8, + wmppsTransitioning = 9, + wmppsReady = 10, + wmppsReconnecting = 11, + wmppsLast = 12 +} WMPPlayState; +typedef enum __WIDL_wmp_generated_name_00000013 { + wmplcUnknown = 0, + wmplcClear = 1, + wmplcInfoChange = 2, + wmplcMove = 3, + wmplcDelete = 4, + wmplcInsert = 5, + wmplcAppend = 6, + wmplcPrivate = 7, + wmplcNameChange = 8, + wmplcMorph = 9, + wmplcSort = 10, + wmplcLast = 11 +} WMPPlaylistChangeEventType; +typedef enum __WIDL_wmp_generated_name_00000014 { + wmpdsUnknown = 0, + wmpdsPartnershipExists = 1, + wmpdsPartnershipDeclined = 2, + wmpdsPartnershipAnother = 3, + wmpdsManualDevice = 4, + wmpdsNewDevice = 5, + wmpdsLast = 6 +} WMPDeviceStatus; +typedef enum __WIDL_wmp_generated_name_00000015 { + wmpssUnknown = 0, + wmpssSynchronizing = 1, + wmpssStopped = 2, + wmpssEstimating = 3, + wmpssLast = 4 +} WMPSyncState; +typedef enum __WIDL_wmp_generated_name_00000016 { + wmprsUnknown = 0, + wmprsRipping = 1, + wmprsStopped = 2 +} WMPRipState; +typedef enum __WIDL_wmp_generated_name_00000017 { + wmpbfAudioCD = 0, + wmpbfDataCD = 1 +} WMPBurnFormat; +typedef enum __WIDL_wmp_generated_name_00000018 { + wmpbsUnknown = 0, + wmpbsBusy = 1, + wmpbsReady = 2, + wmpbsWaitingForDisc = 3, + wmpbsRefreshStatusPending = 4, + wmpbsPreparingToBurn = 5, + wmpbsBurning = 6, + wmpbsStopped = 7, + wmpbsErasing = 8, + wmpbsDownloading = 9 +} WMPBurnState; +typedef enum __WIDL_wmp_generated_name_00000019 { + wmpltUnknown = 0, + wmpltAll = 1, + wmpltLocal = 2, + wmpltRemote = 3, + wmpltDisc = 4, + wmpltPortableDevice = 5 +} WMPLibraryType; +typedef enum __WIDL_wmp_generated_name_0000001A { + wmpfssUnknown = 0, + wmpfssScanning = 1, + wmpfssUpdating = 2, + wmpfssStopped = 3 +} WMPFolderScanState; +typedef enum __WIDL_wmp_generated_name_0000001B { + wmpsccetUnknown = 0, + wmpsccetInsert = 1, + wmpsccetChange = 2, + wmpsccetDelete = 3, + wmpsccetClear = 4, + wmpsccetBeginUpdates = 5, + wmpsccetEndUpdates = 6 +} WMPStringCollectionChangeEventType; +#ifndef __IWMPMedia_FWD_DEFINED__ +#define __IWMPMedia_FWD_DEFINED__ +typedef interface IWMPMedia IWMPMedia; +#ifdef __cplusplus +interface IWMPMedia; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IWMPPlaylist interface + */ +#ifndef __IWMPPlaylist_INTERFACE_DEFINED__ +#define __IWMPPlaylist_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPPlaylist, 0xd5f0f4f1, 0x130c, 0x11d3, 0xb1,0x4e, 0x00,0xc0,0x4f,0x79,0xfa,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d5f0f4f1-130c-11d3-b14e-00c04f79faa6") +IWMPPlaylist : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributeCount( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributeName( + LONG lIndex, + BSTR *pbstrAttributeName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG lIndex, + IWMPMedia **ppIWMPMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE getItemInfo( + BSTR bstrName, + BSTR *pbstrVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE setItemInfo( + BSTR bstrName, + BSTR bstrValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isIdentical( + IWMPPlaylist *pIWMPPlaylist, + VARIANT_BOOL *pvbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE insertItem( + LONG lIndex, + IWMPMedia *pIWMPMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE appendItem( + IWMPMedia *pIWMPMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE removeItem( + IWMPMedia *pIWMPMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE moveItem( + LONG lIndexOld, + LONG lIndexNew) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPPlaylist, 0xd5f0f4f1, 0x130c, 0x11d3, 0xb1,0x4e, 0x00,0xc0,0x4f,0x79,0xfa,0xa6) +#endif +#else +typedef struct IWMPPlaylistVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPPlaylist *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPPlaylist *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPPlaylist *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPPlaylist *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPPlaylist *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPPlaylist *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPPlaylist *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPPlaylist methods ***/ + HRESULT (STDMETHODCALLTYPE *get_count)( + IWMPPlaylist *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IWMPPlaylist *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IWMPPlaylist *This, + BSTR pbstrName); + + HRESULT (STDMETHODCALLTYPE *get_attributeCount)( + IWMPPlaylist *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *get_attributeName)( + IWMPPlaylist *This, + LONG lIndex, + BSTR *pbstrAttributeName); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + IWMPPlaylist *This, + LONG lIndex, + IWMPMedia **ppIWMPMedia); + + HRESULT (STDMETHODCALLTYPE *getItemInfo)( + IWMPPlaylist *This, + BSTR bstrName, + BSTR *pbstrVal); + + HRESULT (STDMETHODCALLTYPE *setItemInfo)( + IWMPPlaylist *This, + BSTR bstrName, + BSTR bstrValue); + + HRESULT (STDMETHODCALLTYPE *get_isIdentical)( + IWMPPlaylist *This, + IWMPPlaylist *pIWMPPlaylist, + VARIANT_BOOL *pvbool); + + HRESULT (STDMETHODCALLTYPE *clear)( + IWMPPlaylist *This); + + HRESULT (STDMETHODCALLTYPE *insertItem)( + IWMPPlaylist *This, + LONG lIndex, + IWMPMedia *pIWMPMedia); + + HRESULT (STDMETHODCALLTYPE *appendItem)( + IWMPPlaylist *This, + IWMPMedia *pIWMPMedia); + + HRESULT (STDMETHODCALLTYPE *removeItem)( + IWMPPlaylist *This, + IWMPMedia *pIWMPMedia); + + HRESULT (STDMETHODCALLTYPE *moveItem)( + IWMPPlaylist *This, + LONG lIndexOld, + LONG lIndexNew); + + END_INTERFACE +} IWMPPlaylistVtbl; + +interface IWMPPlaylist { + CONST_VTBL IWMPPlaylistVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPPlaylist_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPPlaylist_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPPlaylist_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPPlaylist_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPPlaylist_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPPlaylist_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPPlaylist_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPPlaylist methods ***/ +#define IWMPPlaylist_get_count(This,plCount) (This)->lpVtbl->get_count(This,plCount) +#define IWMPPlaylist_get_name(This,pbstrName) (This)->lpVtbl->get_name(This,pbstrName) +#define IWMPPlaylist_put_name(This,pbstrName) (This)->lpVtbl->put_name(This,pbstrName) +#define IWMPPlaylist_get_attributeCount(This,plCount) (This)->lpVtbl->get_attributeCount(This,plCount) +#define IWMPPlaylist_get_attributeName(This,lIndex,pbstrAttributeName) (This)->lpVtbl->get_attributeName(This,lIndex,pbstrAttributeName) +#define IWMPPlaylist_get_Item(This,lIndex,ppIWMPMedia) (This)->lpVtbl->get_Item(This,lIndex,ppIWMPMedia) +#define IWMPPlaylist_getItemInfo(This,bstrName,pbstrVal) (This)->lpVtbl->getItemInfo(This,bstrName,pbstrVal) +#define IWMPPlaylist_setItemInfo(This,bstrName,bstrValue) (This)->lpVtbl->setItemInfo(This,bstrName,bstrValue) +#define IWMPPlaylist_get_isIdentical(This,pIWMPPlaylist,pvbool) (This)->lpVtbl->get_isIdentical(This,pIWMPPlaylist,pvbool) +#define IWMPPlaylist_clear(This) (This)->lpVtbl->clear(This) +#define IWMPPlaylist_insertItem(This,lIndex,pIWMPMedia) (This)->lpVtbl->insertItem(This,lIndex,pIWMPMedia) +#define IWMPPlaylist_appendItem(This,pIWMPMedia) (This)->lpVtbl->appendItem(This,pIWMPMedia) +#define IWMPPlaylist_removeItem(This,pIWMPMedia) (This)->lpVtbl->removeItem(This,pIWMPMedia) +#define IWMPPlaylist_moveItem(This,lIndexOld,lIndexNew) (This)->lpVtbl->moveItem(This,lIndexOld,lIndexNew) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPPlaylist_QueryInterface(IWMPPlaylist* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPPlaylist_AddRef(IWMPPlaylist* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPPlaylist_Release(IWMPPlaylist* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPPlaylist_GetTypeInfoCount(IWMPPlaylist* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPPlaylist_GetTypeInfo(IWMPPlaylist* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPPlaylist_GetIDsOfNames(IWMPPlaylist* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPPlaylist_Invoke(IWMPPlaylist* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPPlaylist methods ***/ +static FORCEINLINE HRESULT IWMPPlaylist_get_count(IWMPPlaylist* This,LONG *plCount) { + return This->lpVtbl->get_count(This,plCount); +} +static FORCEINLINE HRESULT IWMPPlaylist_get_name(IWMPPlaylist* This,BSTR *pbstrName) { + return This->lpVtbl->get_name(This,pbstrName); +} +static FORCEINLINE HRESULT IWMPPlaylist_put_name(IWMPPlaylist* This,BSTR pbstrName) { + return This->lpVtbl->put_name(This,pbstrName); +} +static FORCEINLINE HRESULT IWMPPlaylist_get_attributeCount(IWMPPlaylist* This,LONG *plCount) { + return This->lpVtbl->get_attributeCount(This,plCount); +} +static FORCEINLINE HRESULT IWMPPlaylist_get_attributeName(IWMPPlaylist* This,LONG lIndex,BSTR *pbstrAttributeName) { + return This->lpVtbl->get_attributeName(This,lIndex,pbstrAttributeName); +} +static FORCEINLINE HRESULT IWMPPlaylist_get_Item(IWMPPlaylist* This,LONG lIndex,IWMPMedia **ppIWMPMedia) { + return This->lpVtbl->get_Item(This,lIndex,ppIWMPMedia); +} +static FORCEINLINE HRESULT IWMPPlaylist_getItemInfo(IWMPPlaylist* This,BSTR bstrName,BSTR *pbstrVal) { + return This->lpVtbl->getItemInfo(This,bstrName,pbstrVal); +} +static FORCEINLINE HRESULT IWMPPlaylist_setItemInfo(IWMPPlaylist* This,BSTR bstrName,BSTR bstrValue) { + return This->lpVtbl->setItemInfo(This,bstrName,bstrValue); +} +static FORCEINLINE HRESULT IWMPPlaylist_get_isIdentical(IWMPPlaylist* This,IWMPPlaylist *pIWMPPlaylist,VARIANT_BOOL *pvbool) { + return This->lpVtbl->get_isIdentical(This,pIWMPPlaylist,pvbool); +} +static FORCEINLINE HRESULT IWMPPlaylist_clear(IWMPPlaylist* This) { + return This->lpVtbl->clear(This); +} +static FORCEINLINE HRESULT IWMPPlaylist_insertItem(IWMPPlaylist* This,LONG lIndex,IWMPMedia *pIWMPMedia) { + return This->lpVtbl->insertItem(This,lIndex,pIWMPMedia); +} +static FORCEINLINE HRESULT IWMPPlaylist_appendItem(IWMPPlaylist* This,IWMPMedia *pIWMPMedia) { + return This->lpVtbl->appendItem(This,pIWMPMedia); +} +static FORCEINLINE HRESULT IWMPPlaylist_removeItem(IWMPPlaylist* This,IWMPMedia *pIWMPMedia) { + return This->lpVtbl->removeItem(This,pIWMPMedia); +} +static FORCEINLINE HRESULT IWMPPlaylist_moveItem(IWMPPlaylist* This,LONG lIndexOld,LONG lIndexNew) { + return This->lpVtbl->moveItem(This,lIndexOld,lIndexNew); +} +#endif +#endif + +#endif + + +#endif /* __IWMPPlaylist_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPMedia interface + */ +#ifndef __IWMPMedia_INTERFACE_DEFINED__ +#define __IWMPMedia_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPMedia, 0x94d55e95, 0x3fac, 0x11d3, 0xb1,0x55, 0x00,0xc0,0x4f,0x79,0xfa,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("94d55e95-3fac-11d3-b155-00c04f79faa6") +IWMPMedia : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_isIdentical( + IWMPMedia *pIWMPMedia, + VARIANT_BOOL *pvbool) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_sourceURL( + BSTR *pbstrSourceURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_name( + BSTR pbstrName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_imageSourceWidth( + LONG *pWidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_imageSourceHeight( + LONG *pHeight) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_markerCount( + LONG *pMarkerCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE getMarkerTime( + LONG MarkerNum, + double *pMarkerTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE getMarkerName( + LONG MarkerNum, + BSTR *pbstrMarkerName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_duration( + double *pDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_durationString( + BSTR *pbstrDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_attributeCount( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeName( + LONG lIndex, + BSTR *pbstrItemName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getItemInfo( + BSTR bstrItemName, + BSTR *pbstrVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE setItemInfo( + BSTR bstrItemName, + BSTR bstrVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE getItemInfoByAtom( + LONG lAtom, + BSTR *pbstrVal) = 0; + + virtual HRESULT STDMETHODCALLTYPE isMemberOf( + IWMPPlaylist *pPlaylist, + VARIANT_BOOL *pvarfIsMemberOf) = 0; + + virtual HRESULT STDMETHODCALLTYPE isReadOnlyItem( + BSTR bstrItemName, + VARIANT_BOOL *pvarfIsReadOnly) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPMedia, 0x94d55e95, 0x3fac, 0x11d3, 0xb1,0x55, 0x00,0xc0,0x4f,0x79,0xfa,0xa6) +#endif +#else +typedef struct IWMPMediaVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPMedia *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPMedia *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPMedia *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPMedia *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPMedia *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPMedia *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPMedia *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPMedia methods ***/ + HRESULT (STDMETHODCALLTYPE *get_isIdentical)( + IWMPMedia *This, + IWMPMedia *pIWMPMedia, + VARIANT_BOOL *pvbool); + + HRESULT (STDMETHODCALLTYPE *get_sourceURL)( + IWMPMedia *This, + BSTR *pbstrSourceURL); + + HRESULT (STDMETHODCALLTYPE *get_name)( + IWMPMedia *This, + BSTR *pbstrName); + + HRESULT (STDMETHODCALLTYPE *put_name)( + IWMPMedia *This, + BSTR pbstrName); + + HRESULT (STDMETHODCALLTYPE *get_imageSourceWidth)( + IWMPMedia *This, + LONG *pWidth); + + HRESULT (STDMETHODCALLTYPE *get_imageSourceHeight)( + IWMPMedia *This, + LONG *pHeight); + + HRESULT (STDMETHODCALLTYPE *get_markerCount)( + IWMPMedia *This, + LONG *pMarkerCount); + + HRESULT (STDMETHODCALLTYPE *getMarkerTime)( + IWMPMedia *This, + LONG MarkerNum, + double *pMarkerTime); + + HRESULT (STDMETHODCALLTYPE *getMarkerName)( + IWMPMedia *This, + LONG MarkerNum, + BSTR *pbstrMarkerName); + + HRESULT (STDMETHODCALLTYPE *get_duration)( + IWMPMedia *This, + double *pDuration); + + HRESULT (STDMETHODCALLTYPE *get_durationString)( + IWMPMedia *This, + BSTR *pbstrDuration); + + HRESULT (STDMETHODCALLTYPE *get_attributeCount)( + IWMPMedia *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *getAttributeName)( + IWMPMedia *This, + LONG lIndex, + BSTR *pbstrItemName); + + HRESULT (STDMETHODCALLTYPE *getItemInfo)( + IWMPMedia *This, + BSTR bstrItemName, + BSTR *pbstrVal); + + HRESULT (STDMETHODCALLTYPE *setItemInfo)( + IWMPMedia *This, + BSTR bstrItemName, + BSTR bstrVal); + + HRESULT (STDMETHODCALLTYPE *getItemInfoByAtom)( + IWMPMedia *This, + LONG lAtom, + BSTR *pbstrVal); + + HRESULT (STDMETHODCALLTYPE *isMemberOf)( + IWMPMedia *This, + IWMPPlaylist *pPlaylist, + VARIANT_BOOL *pvarfIsMemberOf); + + HRESULT (STDMETHODCALLTYPE *isReadOnlyItem)( + IWMPMedia *This, + BSTR bstrItemName, + VARIANT_BOOL *pvarfIsReadOnly); + + END_INTERFACE +} IWMPMediaVtbl; + +interface IWMPMedia { + CONST_VTBL IWMPMediaVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPMedia_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPMedia_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPMedia_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPMedia_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPMedia_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPMedia_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPMedia_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPMedia methods ***/ +#define IWMPMedia_get_isIdentical(This,pIWMPMedia,pvbool) (This)->lpVtbl->get_isIdentical(This,pIWMPMedia,pvbool) +#define IWMPMedia_get_sourceURL(This,pbstrSourceURL) (This)->lpVtbl->get_sourceURL(This,pbstrSourceURL) +#define IWMPMedia_get_name(This,pbstrName) (This)->lpVtbl->get_name(This,pbstrName) +#define IWMPMedia_put_name(This,pbstrName) (This)->lpVtbl->put_name(This,pbstrName) +#define IWMPMedia_get_imageSourceWidth(This,pWidth) (This)->lpVtbl->get_imageSourceWidth(This,pWidth) +#define IWMPMedia_get_imageSourceHeight(This,pHeight) (This)->lpVtbl->get_imageSourceHeight(This,pHeight) +#define IWMPMedia_get_markerCount(This,pMarkerCount) (This)->lpVtbl->get_markerCount(This,pMarkerCount) +#define IWMPMedia_getMarkerTime(This,MarkerNum,pMarkerTime) (This)->lpVtbl->getMarkerTime(This,MarkerNum,pMarkerTime) +#define IWMPMedia_getMarkerName(This,MarkerNum,pbstrMarkerName) (This)->lpVtbl->getMarkerName(This,MarkerNum,pbstrMarkerName) +#define IWMPMedia_get_duration(This,pDuration) (This)->lpVtbl->get_duration(This,pDuration) +#define IWMPMedia_get_durationString(This,pbstrDuration) (This)->lpVtbl->get_durationString(This,pbstrDuration) +#define IWMPMedia_get_attributeCount(This,plCount) (This)->lpVtbl->get_attributeCount(This,plCount) +#define IWMPMedia_getAttributeName(This,lIndex,pbstrItemName) (This)->lpVtbl->getAttributeName(This,lIndex,pbstrItemName) +#define IWMPMedia_getItemInfo(This,bstrItemName,pbstrVal) (This)->lpVtbl->getItemInfo(This,bstrItemName,pbstrVal) +#define IWMPMedia_setItemInfo(This,bstrItemName,bstrVal) (This)->lpVtbl->setItemInfo(This,bstrItemName,bstrVal) +#define IWMPMedia_getItemInfoByAtom(This,lAtom,pbstrVal) (This)->lpVtbl->getItemInfoByAtom(This,lAtom,pbstrVal) +#define IWMPMedia_isMemberOf(This,pPlaylist,pvarfIsMemberOf) (This)->lpVtbl->isMemberOf(This,pPlaylist,pvarfIsMemberOf) +#define IWMPMedia_isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly) (This)->lpVtbl->isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPMedia_QueryInterface(IWMPMedia* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPMedia_AddRef(IWMPMedia* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPMedia_Release(IWMPMedia* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPMedia_GetTypeInfoCount(IWMPMedia* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPMedia_GetTypeInfo(IWMPMedia* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPMedia_GetIDsOfNames(IWMPMedia* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPMedia_Invoke(IWMPMedia* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPMedia methods ***/ +static FORCEINLINE HRESULT IWMPMedia_get_isIdentical(IWMPMedia* This,IWMPMedia *pIWMPMedia,VARIANT_BOOL *pvbool) { + return This->lpVtbl->get_isIdentical(This,pIWMPMedia,pvbool); +} +static FORCEINLINE HRESULT IWMPMedia_get_sourceURL(IWMPMedia* This,BSTR *pbstrSourceURL) { + return This->lpVtbl->get_sourceURL(This,pbstrSourceURL); +} +static FORCEINLINE HRESULT IWMPMedia_get_name(IWMPMedia* This,BSTR *pbstrName) { + return This->lpVtbl->get_name(This,pbstrName); +} +static FORCEINLINE HRESULT IWMPMedia_put_name(IWMPMedia* This,BSTR pbstrName) { + return This->lpVtbl->put_name(This,pbstrName); +} +static FORCEINLINE HRESULT IWMPMedia_get_imageSourceWidth(IWMPMedia* This,LONG *pWidth) { + return This->lpVtbl->get_imageSourceWidth(This,pWidth); +} +static FORCEINLINE HRESULT IWMPMedia_get_imageSourceHeight(IWMPMedia* This,LONG *pHeight) { + return This->lpVtbl->get_imageSourceHeight(This,pHeight); +} +static FORCEINLINE HRESULT IWMPMedia_get_markerCount(IWMPMedia* This,LONG *pMarkerCount) { + return This->lpVtbl->get_markerCount(This,pMarkerCount); +} +static FORCEINLINE HRESULT IWMPMedia_getMarkerTime(IWMPMedia* This,LONG MarkerNum,double *pMarkerTime) { + return This->lpVtbl->getMarkerTime(This,MarkerNum,pMarkerTime); +} +static FORCEINLINE HRESULT IWMPMedia_getMarkerName(IWMPMedia* This,LONG MarkerNum,BSTR *pbstrMarkerName) { + return This->lpVtbl->getMarkerName(This,MarkerNum,pbstrMarkerName); +} +static FORCEINLINE HRESULT IWMPMedia_get_duration(IWMPMedia* This,double *pDuration) { + return This->lpVtbl->get_duration(This,pDuration); +} +static FORCEINLINE HRESULT IWMPMedia_get_durationString(IWMPMedia* This,BSTR *pbstrDuration) { + return This->lpVtbl->get_durationString(This,pbstrDuration); +} +static FORCEINLINE HRESULT IWMPMedia_get_attributeCount(IWMPMedia* This,LONG *plCount) { + return This->lpVtbl->get_attributeCount(This,plCount); +} +static FORCEINLINE HRESULT IWMPMedia_getAttributeName(IWMPMedia* This,LONG lIndex,BSTR *pbstrItemName) { + return This->lpVtbl->getAttributeName(This,lIndex,pbstrItemName); +} +static FORCEINLINE HRESULT IWMPMedia_getItemInfo(IWMPMedia* This,BSTR bstrItemName,BSTR *pbstrVal) { + return This->lpVtbl->getItemInfo(This,bstrItemName,pbstrVal); +} +static FORCEINLINE HRESULT IWMPMedia_setItemInfo(IWMPMedia* This,BSTR bstrItemName,BSTR bstrVal) { + return This->lpVtbl->setItemInfo(This,bstrItemName,bstrVal); +} +static FORCEINLINE HRESULT IWMPMedia_getItemInfoByAtom(IWMPMedia* This,LONG lAtom,BSTR *pbstrVal) { + return This->lpVtbl->getItemInfoByAtom(This,lAtom,pbstrVal); +} +static FORCEINLINE HRESULT IWMPMedia_isMemberOf(IWMPMedia* This,IWMPPlaylist *pPlaylist,VARIANT_BOOL *pvarfIsMemberOf) { + return This->lpVtbl->isMemberOf(This,pPlaylist,pvarfIsMemberOf); +} +static FORCEINLINE HRESULT IWMPMedia_isReadOnlyItem(IWMPMedia* This,BSTR bstrItemName,VARIANT_BOOL *pvarfIsReadOnly) { + return This->lpVtbl->isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly); +} +#endif +#endif + +#endif + + +#endif /* __IWMPMedia_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPControls interface + */ +#ifndef __IWMPControls_INTERFACE_DEFINED__ +#define __IWMPControls_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPControls, 0x74c09e02, 0xf828, 0x11d2, 0xa7,0x4b, 0x00,0xa0,0xc9,0x05,0xf3,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("74c09e02-f828-11d2-a74b-00a0c905f36e") +IWMPControls : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_isAvailable( + BSTR bstrItem, + VARIANT_BOOL *pIsAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE play( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE pause( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE fastForward( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE fastReverse( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentPosition( + double *pdCurrentPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_currentPosition( + double pdCurrentPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentPositionString( + BSTR *pbstrCurrentPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE next( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE previous( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE currentItem( + IWMPMedia **ppIWMPMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_currentItem( + IWMPMedia *ppIWMPMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentMarker( + LONG *plMarker) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_currentMarker( + LONG plMarker) = 0; + + virtual HRESULT STDMETHODCALLTYPE playItem( + IWMPMedia *pIWMPMedia) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPControls, 0x74c09e02, 0xf828, 0x11d2, 0xa7,0x4b, 0x00,0xa0,0xc9,0x05,0xf3,0x6e) +#endif +#else +typedef struct IWMPControlsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPControls *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPControls *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPControls *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPControls *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPControls *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPControls *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPControls *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPControls methods ***/ + HRESULT (STDMETHODCALLTYPE *get_isAvailable)( + IWMPControls *This, + BSTR bstrItem, + VARIANT_BOOL *pIsAvailable); + + HRESULT (STDMETHODCALLTYPE *play)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *stop)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *pause)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *fastForward)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *fastReverse)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *get_currentPosition)( + IWMPControls *This, + double *pdCurrentPosition); + + HRESULT (STDMETHODCALLTYPE *put_currentPosition)( + IWMPControls *This, + double pdCurrentPosition); + + HRESULT (STDMETHODCALLTYPE *get_currentPositionString)( + IWMPControls *This, + BSTR *pbstrCurrentPosition); + + HRESULT (STDMETHODCALLTYPE *next)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *previous)( + IWMPControls *This); + + HRESULT (STDMETHODCALLTYPE *currentItem)( + IWMPControls *This, + IWMPMedia **ppIWMPMedia); + + HRESULT (STDMETHODCALLTYPE *put_currentItem)( + IWMPControls *This, + IWMPMedia *ppIWMPMedia); + + HRESULT (STDMETHODCALLTYPE *get_currentMarker)( + IWMPControls *This, + LONG *plMarker); + + HRESULT (STDMETHODCALLTYPE *put_currentMarker)( + IWMPControls *This, + LONG plMarker); + + HRESULT (STDMETHODCALLTYPE *playItem)( + IWMPControls *This, + IWMPMedia *pIWMPMedia); + + END_INTERFACE +} IWMPControlsVtbl; + +interface IWMPControls { + CONST_VTBL IWMPControlsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPControls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPControls_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPControls_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPControls_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPControls_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPControls_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPControls_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPControls methods ***/ +#define IWMPControls_get_isAvailable(This,bstrItem,pIsAvailable) (This)->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable) +#define IWMPControls_play(This) (This)->lpVtbl->play(This) +#define IWMPControls_stop(This) (This)->lpVtbl->stop(This) +#define IWMPControls_pause(This) (This)->lpVtbl->pause(This) +#define IWMPControls_fastForward(This) (This)->lpVtbl->fastForward(This) +#define IWMPControls_fastReverse(This) (This)->lpVtbl->fastReverse(This) +#define IWMPControls_get_currentPosition(This,pdCurrentPosition) (This)->lpVtbl->get_currentPosition(This,pdCurrentPosition) +#define IWMPControls_put_currentPosition(This,pdCurrentPosition) (This)->lpVtbl->put_currentPosition(This,pdCurrentPosition) +#define IWMPControls_get_currentPositionString(This,pbstrCurrentPosition) (This)->lpVtbl->get_currentPositionString(This,pbstrCurrentPosition) +#define IWMPControls_next(This) (This)->lpVtbl->next(This) +#define IWMPControls_previous(This) (This)->lpVtbl->previous(This) +#define IWMPControls_currentItem(This,ppIWMPMedia) (This)->lpVtbl->currentItem(This,ppIWMPMedia) +#define IWMPControls_put_currentItem(This,ppIWMPMedia) (This)->lpVtbl->put_currentItem(This,ppIWMPMedia) +#define IWMPControls_get_currentMarker(This,plMarker) (This)->lpVtbl->get_currentMarker(This,plMarker) +#define IWMPControls_put_currentMarker(This,plMarker) (This)->lpVtbl->put_currentMarker(This,plMarker) +#define IWMPControls_playItem(This,pIWMPMedia) (This)->lpVtbl->playItem(This,pIWMPMedia) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPControls_QueryInterface(IWMPControls* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPControls_AddRef(IWMPControls* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPControls_Release(IWMPControls* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPControls_GetTypeInfoCount(IWMPControls* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPControls_GetTypeInfo(IWMPControls* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPControls_GetIDsOfNames(IWMPControls* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPControls_Invoke(IWMPControls* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPControls methods ***/ +static FORCEINLINE HRESULT IWMPControls_get_isAvailable(IWMPControls* This,BSTR bstrItem,VARIANT_BOOL *pIsAvailable) { + return This->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable); +} +static FORCEINLINE HRESULT IWMPControls_play(IWMPControls* This) { + return This->lpVtbl->play(This); +} +static FORCEINLINE HRESULT IWMPControls_stop(IWMPControls* This) { + return This->lpVtbl->stop(This); +} +static FORCEINLINE HRESULT IWMPControls_pause(IWMPControls* This) { + return This->lpVtbl->pause(This); +} +static FORCEINLINE HRESULT IWMPControls_fastForward(IWMPControls* This) { + return This->lpVtbl->fastForward(This); +} +static FORCEINLINE HRESULT IWMPControls_fastReverse(IWMPControls* This) { + return This->lpVtbl->fastReverse(This); +} +static FORCEINLINE HRESULT IWMPControls_get_currentPosition(IWMPControls* This,double *pdCurrentPosition) { + return This->lpVtbl->get_currentPosition(This,pdCurrentPosition); +} +static FORCEINLINE HRESULT IWMPControls_put_currentPosition(IWMPControls* This,double pdCurrentPosition) { + return This->lpVtbl->put_currentPosition(This,pdCurrentPosition); +} +static FORCEINLINE HRESULT IWMPControls_get_currentPositionString(IWMPControls* This,BSTR *pbstrCurrentPosition) { + return This->lpVtbl->get_currentPositionString(This,pbstrCurrentPosition); +} +static FORCEINLINE HRESULT IWMPControls_next(IWMPControls* This) { + return This->lpVtbl->next(This); +} +static FORCEINLINE HRESULT IWMPControls_previous(IWMPControls* This) { + return This->lpVtbl->previous(This); +} +static FORCEINLINE HRESULT IWMPControls_currentItem(IWMPControls* This,IWMPMedia **ppIWMPMedia) { + return This->lpVtbl->currentItem(This,ppIWMPMedia); +} +static FORCEINLINE HRESULT IWMPControls_put_currentItem(IWMPControls* This,IWMPMedia *ppIWMPMedia) { + return This->lpVtbl->put_currentItem(This,ppIWMPMedia); +} +static FORCEINLINE HRESULT IWMPControls_get_currentMarker(IWMPControls* This,LONG *plMarker) { + return This->lpVtbl->get_currentMarker(This,plMarker); +} +static FORCEINLINE HRESULT IWMPControls_put_currentMarker(IWMPControls* This,LONG plMarker) { + return This->lpVtbl->put_currentMarker(This,plMarker); +} +static FORCEINLINE HRESULT IWMPControls_playItem(IWMPControls* This,IWMPMedia *pIWMPMedia) { + return This->lpVtbl->playItem(This,pIWMPMedia); +} +#endif +#endif + +#endif + + +#endif /* __IWMPControls_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPSettings interface + */ +#ifndef __IWMPSettings_INTERFACE_DEFINED__ +#define __IWMPSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPSettings, 0x9104d1ab, 0x80c9, 0x4fed, 0xab,0xf0, 0x2e,0x64,0x17,0xa6,0xdf,0x14); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9104d1ab-80c9-4fed-abf0-2e6417a6df14") +IWMPSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_isAvailable( + BSTR bstrItem, + VARIANT_BOOL *pIsAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_autoStart( + VARIANT_BOOL *pfAutoStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_autoStart( + VARIANT_BOOL pfAutoStart) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_baseURL( + BSTR *pbstrBaseURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_baseURL( + BSTR pbstrBaseURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_defaultFrame( + BSTR *pbstrDefaultFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_defaultFrame( + BSTR pbstrDefaultFrame) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_invokeURLs( + VARIANT_BOOL *pfInvokeURLs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_invokeURLs( + VARIANT_BOOL pfInvokeURLs) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mute( + VARIANT_BOOL *pfMute) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_mute( + VARIANT_BOOL pfMute) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_playCount( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_playCount( + LONG plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_rate( + double *pdRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_rate( + double pdRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_balance( + LONG *plBalance) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_balance( + LONG plBalance) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_volume( + LONG *plVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_volume( + LONG plVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE getMode( + BSTR bstrMode, + VARIANT_BOOL *pvarfMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE setMode( + BSTR bstrMode, + VARIANT_BOOL varfMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_enableErrorDialogs( + VARIANT_BOOL *pfEnableErrorDialogs) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_enableErrorDialogs( + VARIANT_BOOL pfEnableErrorDialogs) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPSettings, 0x9104d1ab, 0x80c9, 0x4fed, 0xab,0xf0, 0x2e,0x64,0x17,0xa6,0xdf,0x14) +#endif +#else +typedef struct IWMPSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_isAvailable)( + IWMPSettings *This, + BSTR bstrItem, + VARIANT_BOOL *pIsAvailable); + + HRESULT (STDMETHODCALLTYPE *get_autoStart)( + IWMPSettings *This, + VARIANT_BOOL *pfAutoStart); + + HRESULT (STDMETHODCALLTYPE *put_autoStart)( + IWMPSettings *This, + VARIANT_BOOL pfAutoStart); + + HRESULT (STDMETHODCALLTYPE *get_baseURL)( + IWMPSettings *This, + BSTR *pbstrBaseURL); + + HRESULT (STDMETHODCALLTYPE *put_baseURL)( + IWMPSettings *This, + BSTR pbstrBaseURL); + + HRESULT (STDMETHODCALLTYPE *get_defaultFrame)( + IWMPSettings *This, + BSTR *pbstrDefaultFrame); + + HRESULT (STDMETHODCALLTYPE *put_defaultFrame)( + IWMPSettings *This, + BSTR pbstrDefaultFrame); + + HRESULT (STDMETHODCALLTYPE *get_invokeURLs)( + IWMPSettings *This, + VARIANT_BOOL *pfInvokeURLs); + + HRESULT (STDMETHODCALLTYPE *put_invokeURLs)( + IWMPSettings *This, + VARIANT_BOOL pfInvokeURLs); + + HRESULT (STDMETHODCALLTYPE *get_mute)( + IWMPSettings *This, + VARIANT_BOOL *pfMute); + + HRESULT (STDMETHODCALLTYPE *put_mute)( + IWMPSettings *This, + VARIANT_BOOL pfMute); + + HRESULT (STDMETHODCALLTYPE *get_playCount)( + IWMPSettings *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *put_playCount)( + IWMPSettings *This, + LONG plCount); + + HRESULT (STDMETHODCALLTYPE *get_rate)( + IWMPSettings *This, + double *pdRate); + + HRESULT (STDMETHODCALLTYPE *put_rate)( + IWMPSettings *This, + double pdRate); + + HRESULT (STDMETHODCALLTYPE *get_balance)( + IWMPSettings *This, + LONG *plBalance); + + HRESULT (STDMETHODCALLTYPE *put_balance)( + IWMPSettings *This, + LONG plBalance); + + HRESULT (STDMETHODCALLTYPE *get_volume)( + IWMPSettings *This, + LONG *plVolume); + + HRESULT (STDMETHODCALLTYPE *put_volume)( + IWMPSettings *This, + LONG plVolume); + + HRESULT (STDMETHODCALLTYPE *getMode)( + IWMPSettings *This, + BSTR bstrMode, + VARIANT_BOOL *pvarfMode); + + HRESULT (STDMETHODCALLTYPE *setMode)( + IWMPSettings *This, + BSTR bstrMode, + VARIANT_BOOL varfMode); + + HRESULT (STDMETHODCALLTYPE *get_enableErrorDialogs)( + IWMPSettings *This, + VARIANT_BOOL *pfEnableErrorDialogs); + + HRESULT (STDMETHODCALLTYPE *put_enableErrorDialogs)( + IWMPSettings *This, + VARIANT_BOOL pfEnableErrorDialogs); + + END_INTERFACE +} IWMPSettingsVtbl; + +interface IWMPSettings { + CONST_VTBL IWMPSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPSettings methods ***/ +#define IWMPSettings_get_isAvailable(This,bstrItem,pIsAvailable) (This)->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable) +#define IWMPSettings_get_autoStart(This,pfAutoStart) (This)->lpVtbl->get_autoStart(This,pfAutoStart) +#define IWMPSettings_put_autoStart(This,pfAutoStart) (This)->lpVtbl->put_autoStart(This,pfAutoStart) +#define IWMPSettings_get_baseURL(This,pbstrBaseURL) (This)->lpVtbl->get_baseURL(This,pbstrBaseURL) +#define IWMPSettings_put_baseURL(This,pbstrBaseURL) (This)->lpVtbl->put_baseURL(This,pbstrBaseURL) +#define IWMPSettings_get_defaultFrame(This,pbstrDefaultFrame) (This)->lpVtbl->get_defaultFrame(This,pbstrDefaultFrame) +#define IWMPSettings_put_defaultFrame(This,pbstrDefaultFrame) (This)->lpVtbl->put_defaultFrame(This,pbstrDefaultFrame) +#define IWMPSettings_get_invokeURLs(This,pfInvokeURLs) (This)->lpVtbl->get_invokeURLs(This,pfInvokeURLs) +#define IWMPSettings_put_invokeURLs(This,pfInvokeURLs) (This)->lpVtbl->put_invokeURLs(This,pfInvokeURLs) +#define IWMPSettings_get_mute(This,pfMute) (This)->lpVtbl->get_mute(This,pfMute) +#define IWMPSettings_put_mute(This,pfMute) (This)->lpVtbl->put_mute(This,pfMute) +#define IWMPSettings_get_playCount(This,plCount) (This)->lpVtbl->get_playCount(This,plCount) +#define IWMPSettings_put_playCount(This,plCount) (This)->lpVtbl->put_playCount(This,plCount) +#define IWMPSettings_get_rate(This,pdRate) (This)->lpVtbl->get_rate(This,pdRate) +#define IWMPSettings_put_rate(This,pdRate) (This)->lpVtbl->put_rate(This,pdRate) +#define IWMPSettings_get_balance(This,plBalance) (This)->lpVtbl->get_balance(This,plBalance) +#define IWMPSettings_put_balance(This,plBalance) (This)->lpVtbl->put_balance(This,plBalance) +#define IWMPSettings_get_volume(This,plVolume) (This)->lpVtbl->get_volume(This,plVolume) +#define IWMPSettings_put_volume(This,plVolume) (This)->lpVtbl->put_volume(This,plVolume) +#define IWMPSettings_getMode(This,bstrMode,pvarfMode) (This)->lpVtbl->getMode(This,bstrMode,pvarfMode) +#define IWMPSettings_setMode(This,bstrMode,varfMode) (This)->lpVtbl->setMode(This,bstrMode,varfMode) +#define IWMPSettings_get_enableErrorDialogs(This,pfEnableErrorDialogs) (This)->lpVtbl->get_enableErrorDialogs(This,pfEnableErrorDialogs) +#define IWMPSettings_put_enableErrorDialogs(This,pfEnableErrorDialogs) (This)->lpVtbl->put_enableErrorDialogs(This,pfEnableErrorDialogs) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPSettings_QueryInterface(IWMPSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPSettings_AddRef(IWMPSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPSettings_Release(IWMPSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPSettings_GetTypeInfoCount(IWMPSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPSettings_GetTypeInfo(IWMPSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPSettings_GetIDsOfNames(IWMPSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPSettings_Invoke(IWMPSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPSettings methods ***/ +static FORCEINLINE HRESULT IWMPSettings_get_isAvailable(IWMPSettings* This,BSTR bstrItem,VARIANT_BOOL *pIsAvailable) { + return This->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable); +} +static FORCEINLINE HRESULT IWMPSettings_get_autoStart(IWMPSettings* This,VARIANT_BOOL *pfAutoStart) { + return This->lpVtbl->get_autoStart(This,pfAutoStart); +} +static FORCEINLINE HRESULT IWMPSettings_put_autoStart(IWMPSettings* This,VARIANT_BOOL pfAutoStart) { + return This->lpVtbl->put_autoStart(This,pfAutoStart); +} +static FORCEINLINE HRESULT IWMPSettings_get_baseURL(IWMPSettings* This,BSTR *pbstrBaseURL) { + return This->lpVtbl->get_baseURL(This,pbstrBaseURL); +} +static FORCEINLINE HRESULT IWMPSettings_put_baseURL(IWMPSettings* This,BSTR pbstrBaseURL) { + return This->lpVtbl->put_baseURL(This,pbstrBaseURL); +} +static FORCEINLINE HRESULT IWMPSettings_get_defaultFrame(IWMPSettings* This,BSTR *pbstrDefaultFrame) { + return This->lpVtbl->get_defaultFrame(This,pbstrDefaultFrame); +} +static FORCEINLINE HRESULT IWMPSettings_put_defaultFrame(IWMPSettings* This,BSTR pbstrDefaultFrame) { + return This->lpVtbl->put_defaultFrame(This,pbstrDefaultFrame); +} +static FORCEINLINE HRESULT IWMPSettings_get_invokeURLs(IWMPSettings* This,VARIANT_BOOL *pfInvokeURLs) { + return This->lpVtbl->get_invokeURLs(This,pfInvokeURLs); +} +static FORCEINLINE HRESULT IWMPSettings_put_invokeURLs(IWMPSettings* This,VARIANT_BOOL pfInvokeURLs) { + return This->lpVtbl->put_invokeURLs(This,pfInvokeURLs); +} +static FORCEINLINE HRESULT IWMPSettings_get_mute(IWMPSettings* This,VARIANT_BOOL *pfMute) { + return This->lpVtbl->get_mute(This,pfMute); +} +static FORCEINLINE HRESULT IWMPSettings_put_mute(IWMPSettings* This,VARIANT_BOOL pfMute) { + return This->lpVtbl->put_mute(This,pfMute); +} +static FORCEINLINE HRESULT IWMPSettings_get_playCount(IWMPSettings* This,LONG *plCount) { + return This->lpVtbl->get_playCount(This,plCount); +} +static FORCEINLINE HRESULT IWMPSettings_put_playCount(IWMPSettings* This,LONG plCount) { + return This->lpVtbl->put_playCount(This,plCount); +} +static FORCEINLINE HRESULT IWMPSettings_get_rate(IWMPSettings* This,double *pdRate) { + return This->lpVtbl->get_rate(This,pdRate); +} +static FORCEINLINE HRESULT IWMPSettings_put_rate(IWMPSettings* This,double pdRate) { + return This->lpVtbl->put_rate(This,pdRate); +} +static FORCEINLINE HRESULT IWMPSettings_get_balance(IWMPSettings* This,LONG *plBalance) { + return This->lpVtbl->get_balance(This,plBalance); +} +static FORCEINLINE HRESULT IWMPSettings_put_balance(IWMPSettings* This,LONG plBalance) { + return This->lpVtbl->put_balance(This,plBalance); +} +static FORCEINLINE HRESULT IWMPSettings_get_volume(IWMPSettings* This,LONG *plVolume) { + return This->lpVtbl->get_volume(This,plVolume); +} +static FORCEINLINE HRESULT IWMPSettings_put_volume(IWMPSettings* This,LONG plVolume) { + return This->lpVtbl->put_volume(This,plVolume); +} +static FORCEINLINE HRESULT IWMPSettings_getMode(IWMPSettings* This,BSTR bstrMode,VARIANT_BOOL *pvarfMode) { + return This->lpVtbl->getMode(This,bstrMode,pvarfMode); +} +static FORCEINLINE HRESULT IWMPSettings_setMode(IWMPSettings* This,BSTR bstrMode,VARIANT_BOOL varfMode) { + return This->lpVtbl->setMode(This,bstrMode,varfMode); +} +static FORCEINLINE HRESULT IWMPSettings_get_enableErrorDialogs(IWMPSettings* This,VARIANT_BOOL *pfEnableErrorDialogs) { + return This->lpVtbl->get_enableErrorDialogs(This,pfEnableErrorDialogs); +} +static FORCEINLINE HRESULT IWMPSettings_put_enableErrorDialogs(IWMPSettings* This,VARIANT_BOOL pfEnableErrorDialogs) { + return This->lpVtbl->put_enableErrorDialogs(This,pfEnableErrorDialogs); +} +#endif +#endif + +#endif + + +#endif /* __IWMPSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPStringCollection interface + */ +#ifndef __IWMPStringCollection_INTERFACE_DEFINED__ +#define __IWMPStringCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPStringCollection, 0x4a976298, 0x8c0d, 0x11d3, 0xb3,0x89, 0x00,0xc0,0x4f,0x68,0x57,0x4b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4a976298-8c0d-11d3-b389-00c04f68574b") +IWMPStringCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG lIndex, + BSTR *pbstrString) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPStringCollection, 0x4a976298, 0x8c0d, 0x11d3, 0xb3,0x89, 0x00,0xc0,0x4f,0x68,0x57,0x4b) +#endif +#else +typedef struct IWMPStringCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPStringCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPStringCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPStringCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPStringCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPStringCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPStringCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPStringCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPStringCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_count)( + IWMPStringCollection *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *Item)( + IWMPStringCollection *This, + LONG lIndex, + BSTR *pbstrString); + + END_INTERFACE +} IWMPStringCollectionVtbl; + +interface IWMPStringCollection { + CONST_VTBL IWMPStringCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPStringCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPStringCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPStringCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPStringCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPStringCollection methods ***/ +#define IWMPStringCollection_get_count(This,plCount) (This)->lpVtbl->get_count(This,plCount) +#define IWMPStringCollection_Item(This,lIndex,pbstrString) (This)->lpVtbl->Item(This,lIndex,pbstrString) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPStringCollection_QueryInterface(IWMPStringCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPStringCollection_AddRef(IWMPStringCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPStringCollection_Release(IWMPStringCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPStringCollection_GetTypeInfoCount(IWMPStringCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPStringCollection_GetTypeInfo(IWMPStringCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPStringCollection_GetIDsOfNames(IWMPStringCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPStringCollection_Invoke(IWMPStringCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPStringCollection methods ***/ +static FORCEINLINE HRESULT IWMPStringCollection_get_count(IWMPStringCollection* This,LONG *plCount) { + return This->lpVtbl->get_count(This,plCount); +} +static FORCEINLINE HRESULT IWMPStringCollection_Item(IWMPStringCollection* This,LONG lIndex,BSTR *pbstrString) { + return This->lpVtbl->Item(This,lIndex,pbstrString); +} +#endif +#endif + +#endif + + +#endif /* __IWMPStringCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPMediaCollection interface + */ +#ifndef __IWMPMediaCollection_INTERFACE_DEFINED__ +#define __IWMPMediaCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPMediaCollection, 0x8363bc22, 0xb4b4, 0x4b19, 0x98,0x9d, 0x1c,0xd7,0x65,0x74,0x9d,0xd1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8363bc22-b4b4-4b19-989d-1cd765749dd1") +IWMPMediaCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE add( + BSTR bstrURL, + IWMPMedia **ppItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAll( + IWMPPlaylist **ppMediaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByName( + BSTR bstrName, + IWMPPlaylist **ppMediaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByGenre( + BSTR bstrGenre, + IWMPPlaylist **ppMediaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByAuthor( + BSTR bstrAuthor, + IWMPPlaylist **ppMediaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByAlbum( + BSTR bstrAlbum, + IWMPPlaylist **ppMediaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByAttribute( + BSTR bstrAttribute, + BSTR bstrValue, + IWMPPlaylist **ppMediaItems) = 0; + + virtual HRESULT STDMETHODCALLTYPE remove( + IWMPMedia *pItem, + VARIANT_BOOL varfDeleteFile) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAttributeStringCollection( + BSTR bstrAttribute, + BSTR bstrMediaType, + IWMPStringCollection **ppStringCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE getMediaAtom( + BSTR bstrItemName, + LONG *plAtom) = 0; + + virtual HRESULT STDMETHODCALLTYPE setDeleted( + IWMPMedia *pItem, + VARIANT_BOOL varfIsDeleted) = 0; + + virtual HRESULT STDMETHODCALLTYPE isDeleted( + IWMPMedia *pItem, + VARIANT_BOOL *pvarfIsDeleted) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPMediaCollection, 0x8363bc22, 0xb4b4, 0x4b19, 0x98,0x9d, 0x1c,0xd7,0x65,0x74,0x9d,0xd1) +#endif +#else +typedef struct IWMPMediaCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPMediaCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPMediaCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPMediaCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPMediaCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPMediaCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPMediaCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPMediaCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPMediaCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *add)( + IWMPMediaCollection *This, + BSTR bstrURL, + IWMPMedia **ppItem); + + HRESULT (STDMETHODCALLTYPE *getAll)( + IWMPMediaCollection *This, + IWMPPlaylist **ppMediaItems); + + HRESULT (STDMETHODCALLTYPE *getByName)( + IWMPMediaCollection *This, + BSTR bstrName, + IWMPPlaylist **ppMediaItems); + + HRESULT (STDMETHODCALLTYPE *getByGenre)( + IWMPMediaCollection *This, + BSTR bstrGenre, + IWMPPlaylist **ppMediaItems); + + HRESULT (STDMETHODCALLTYPE *getByAuthor)( + IWMPMediaCollection *This, + BSTR bstrAuthor, + IWMPPlaylist **ppMediaItems); + + HRESULT (STDMETHODCALLTYPE *getByAlbum)( + IWMPMediaCollection *This, + BSTR bstrAlbum, + IWMPPlaylist **ppMediaItems); + + HRESULT (STDMETHODCALLTYPE *getByAttribute)( + IWMPMediaCollection *This, + BSTR bstrAttribute, + BSTR bstrValue, + IWMPPlaylist **ppMediaItems); + + HRESULT (STDMETHODCALLTYPE *remove)( + IWMPMediaCollection *This, + IWMPMedia *pItem, + VARIANT_BOOL varfDeleteFile); + + HRESULT (STDMETHODCALLTYPE *getAttributeStringCollection)( + IWMPMediaCollection *This, + BSTR bstrAttribute, + BSTR bstrMediaType, + IWMPStringCollection **ppStringCollection); + + HRESULT (STDMETHODCALLTYPE *getMediaAtom)( + IWMPMediaCollection *This, + BSTR bstrItemName, + LONG *plAtom); + + HRESULT (STDMETHODCALLTYPE *setDeleted)( + IWMPMediaCollection *This, + IWMPMedia *pItem, + VARIANT_BOOL varfIsDeleted); + + HRESULT (STDMETHODCALLTYPE *isDeleted)( + IWMPMediaCollection *This, + IWMPMedia *pItem, + VARIANT_BOOL *pvarfIsDeleted); + + END_INTERFACE +} IWMPMediaCollectionVtbl; + +interface IWMPMediaCollection { + CONST_VTBL IWMPMediaCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPMediaCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPMediaCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPMediaCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPMediaCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPMediaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPMediaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPMediaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPMediaCollection methods ***/ +#define IWMPMediaCollection_add(This,bstrURL,ppItem) (This)->lpVtbl->add(This,bstrURL,ppItem) +#define IWMPMediaCollection_getAll(This,ppMediaItems) (This)->lpVtbl->getAll(This,ppMediaItems) +#define IWMPMediaCollection_getByName(This,bstrName,ppMediaItems) (This)->lpVtbl->getByName(This,bstrName,ppMediaItems) +#define IWMPMediaCollection_getByGenre(This,bstrGenre,ppMediaItems) (This)->lpVtbl->getByGenre(This,bstrGenre,ppMediaItems) +#define IWMPMediaCollection_getByAuthor(This,bstrAuthor,ppMediaItems) (This)->lpVtbl->getByAuthor(This,bstrAuthor,ppMediaItems) +#define IWMPMediaCollection_getByAlbum(This,bstrAlbum,ppMediaItems) (This)->lpVtbl->getByAlbum(This,bstrAlbum,ppMediaItems) +#define IWMPMediaCollection_getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems) (This)->lpVtbl->getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems) +#define IWMPMediaCollection_remove(This,pItem,varfDeleteFile) (This)->lpVtbl->remove(This,pItem,varfDeleteFile) +#define IWMPMediaCollection_getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection) (This)->lpVtbl->getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection) +#define IWMPMediaCollection_getMediaAtom(This,bstrItemName,plAtom) (This)->lpVtbl->getMediaAtom(This,bstrItemName,plAtom) +#define IWMPMediaCollection_setDeleted(This,pItem,varfIsDeleted) (This)->lpVtbl->setDeleted(This,pItem,varfIsDeleted) +#define IWMPMediaCollection_isDeleted(This,pItem,pvarfIsDeleted) (This)->lpVtbl->isDeleted(This,pItem,pvarfIsDeleted) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPMediaCollection_QueryInterface(IWMPMediaCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPMediaCollection_AddRef(IWMPMediaCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPMediaCollection_Release(IWMPMediaCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPMediaCollection_GetTypeInfoCount(IWMPMediaCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPMediaCollection_GetTypeInfo(IWMPMediaCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPMediaCollection_GetIDsOfNames(IWMPMediaCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPMediaCollection_Invoke(IWMPMediaCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPMediaCollection methods ***/ +static FORCEINLINE HRESULT IWMPMediaCollection_add(IWMPMediaCollection* This,BSTR bstrURL,IWMPMedia **ppItem) { + return This->lpVtbl->add(This,bstrURL,ppItem); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getAll(IWMPMediaCollection* This,IWMPPlaylist **ppMediaItems) { + return This->lpVtbl->getAll(This,ppMediaItems); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getByName(IWMPMediaCollection* This,BSTR bstrName,IWMPPlaylist **ppMediaItems) { + return This->lpVtbl->getByName(This,bstrName,ppMediaItems); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getByGenre(IWMPMediaCollection* This,BSTR bstrGenre,IWMPPlaylist **ppMediaItems) { + return This->lpVtbl->getByGenre(This,bstrGenre,ppMediaItems); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getByAuthor(IWMPMediaCollection* This,BSTR bstrAuthor,IWMPPlaylist **ppMediaItems) { + return This->lpVtbl->getByAuthor(This,bstrAuthor,ppMediaItems); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getByAlbum(IWMPMediaCollection* This,BSTR bstrAlbum,IWMPPlaylist **ppMediaItems) { + return This->lpVtbl->getByAlbum(This,bstrAlbum,ppMediaItems); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getByAttribute(IWMPMediaCollection* This,BSTR bstrAttribute,BSTR bstrValue,IWMPPlaylist **ppMediaItems) { + return This->lpVtbl->getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems); +} +static FORCEINLINE HRESULT IWMPMediaCollection_remove(IWMPMediaCollection* This,IWMPMedia *pItem,VARIANT_BOOL varfDeleteFile) { + return This->lpVtbl->remove(This,pItem,varfDeleteFile); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getAttributeStringCollection(IWMPMediaCollection* This,BSTR bstrAttribute,BSTR bstrMediaType,IWMPStringCollection **ppStringCollection) { + return This->lpVtbl->getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection); +} +static FORCEINLINE HRESULT IWMPMediaCollection_getMediaAtom(IWMPMediaCollection* This,BSTR bstrItemName,LONG *plAtom) { + return This->lpVtbl->getMediaAtom(This,bstrItemName,plAtom); +} +static FORCEINLINE HRESULT IWMPMediaCollection_setDeleted(IWMPMediaCollection* This,IWMPMedia *pItem,VARIANT_BOOL varfIsDeleted) { + return This->lpVtbl->setDeleted(This,pItem,varfIsDeleted); +} +static FORCEINLINE HRESULT IWMPMediaCollection_isDeleted(IWMPMediaCollection* This,IWMPMedia *pItem,VARIANT_BOOL *pvarfIsDeleted) { + return This->lpVtbl->isDeleted(This,pItem,pvarfIsDeleted); +} +#endif +#endif + +#endif + + +#endif /* __IWMPMediaCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPPlaylistArray interface + */ +#ifndef __IWMPPlaylistArray_INTERFACE_DEFINED__ +#define __IWMPPlaylistArray_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPPlaylistArray, 0x679409c0, 0x99f7, 0x11d3, 0x9f,0xb7, 0x00,0x10,0x5a,0xa6,0x20,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("679409c0-99f7-11d3-9fb7-00105aa620bb") +IWMPPlaylistArray : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG lIndex, + IWMPPlaylist **ppItem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPPlaylistArray, 0x679409c0, 0x99f7, 0x11d3, 0x9f,0xb7, 0x00,0x10,0x5a,0xa6,0x20,0xbb) +#endif +#else +typedef struct IWMPPlaylistArrayVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPPlaylistArray *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPPlaylistArray *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPPlaylistArray *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPPlaylistArray *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPPlaylistArray *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPPlaylistArray *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPPlaylistArray *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPPlaylistArray methods ***/ + HRESULT (STDMETHODCALLTYPE *get_count)( + IWMPPlaylistArray *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *Item)( + IWMPPlaylistArray *This, + LONG lIndex, + IWMPPlaylist **ppItem); + + END_INTERFACE +} IWMPPlaylistArrayVtbl; + +interface IWMPPlaylistArray { + CONST_VTBL IWMPPlaylistArrayVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPPlaylistArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPPlaylistArray_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPPlaylistArray_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPPlaylistArray_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPPlaylistArray_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPPlaylistArray_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPPlaylistArray_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPPlaylistArray methods ***/ +#define IWMPPlaylistArray_get_count(This,plCount) (This)->lpVtbl->get_count(This,plCount) +#define IWMPPlaylistArray_Item(This,lIndex,ppItem) (This)->lpVtbl->Item(This,lIndex,ppItem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPPlaylistArray_QueryInterface(IWMPPlaylistArray* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPPlaylistArray_AddRef(IWMPPlaylistArray* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPPlaylistArray_Release(IWMPPlaylistArray* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPPlaylistArray_GetTypeInfoCount(IWMPPlaylistArray* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPPlaylistArray_GetTypeInfo(IWMPPlaylistArray* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPPlaylistArray_GetIDsOfNames(IWMPPlaylistArray* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPPlaylistArray_Invoke(IWMPPlaylistArray* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPPlaylistArray methods ***/ +static FORCEINLINE HRESULT IWMPPlaylistArray_get_count(IWMPPlaylistArray* This,LONG *plCount) { + return This->lpVtbl->get_count(This,plCount); +} +static FORCEINLINE HRESULT IWMPPlaylistArray_Item(IWMPPlaylistArray* This,LONG lIndex,IWMPPlaylist **ppItem) { + return This->lpVtbl->Item(This,lIndex,ppItem); +} +#endif +#endif + +#endif + + +#endif /* __IWMPPlaylistArray_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPPlaylistCollection interface + */ +#ifndef __IWMPPlaylistCollection_INTERFACE_DEFINED__ +#define __IWMPPlaylistCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPPlaylistCollection, 0x10a13217, 0x23a7, 0x439b, 0xb1,0xc0, 0xd8,0x47,0xc7,0x9b,0x77,0x74); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("10a13217-23a7-439b-b1c0-d847c79b7774") +IWMPPlaylistCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE newPlaylist( + BSTR bstrName, + IWMPPlaylist **ppItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE getAll( + IWMPPlaylistArray **ppPlaylistArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByName( + BSTR bstrName, + IWMPPlaylistArray **ppPlaylistArray) = 0; + + virtual HRESULT STDMETHODCALLTYPE remove( + IWMPPlaylist *pItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE setDeleted( + IWMPPlaylist *pItem, + VARIANT_BOOL varfIsDeleted) = 0; + + virtual HRESULT STDMETHODCALLTYPE isDeleted( + IWMPPlaylist *pItem, + VARIANT_BOOL *pvarfIsDeleted) = 0; + + virtual HRESULT STDMETHODCALLTYPE importPlaylist( + IWMPPlaylist *pItem, + IWMPPlaylist **ppImportedItem) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPPlaylistCollection, 0x10a13217, 0x23a7, 0x439b, 0xb1,0xc0, 0xd8,0x47,0xc7,0x9b,0x77,0x74) +#endif +#else +typedef struct IWMPPlaylistCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPPlaylistCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPPlaylistCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPPlaylistCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPPlaylistCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPPlaylistCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPPlaylistCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPPlaylistCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPPlaylistCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *newPlaylist)( + IWMPPlaylistCollection *This, + BSTR bstrName, + IWMPPlaylist **ppItem); + + HRESULT (STDMETHODCALLTYPE *getAll)( + IWMPPlaylistCollection *This, + IWMPPlaylistArray **ppPlaylistArray); + + HRESULT (STDMETHODCALLTYPE *getByName)( + IWMPPlaylistCollection *This, + BSTR bstrName, + IWMPPlaylistArray **ppPlaylistArray); + + HRESULT (STDMETHODCALLTYPE *remove)( + IWMPPlaylistCollection *This, + IWMPPlaylist *pItem); + + HRESULT (STDMETHODCALLTYPE *setDeleted)( + IWMPPlaylistCollection *This, + IWMPPlaylist *pItem, + VARIANT_BOOL varfIsDeleted); + + HRESULT (STDMETHODCALLTYPE *isDeleted)( + IWMPPlaylistCollection *This, + IWMPPlaylist *pItem, + VARIANT_BOOL *pvarfIsDeleted); + + HRESULT (STDMETHODCALLTYPE *importPlaylist)( + IWMPPlaylistCollection *This, + IWMPPlaylist *pItem, + IWMPPlaylist **ppImportedItem); + + END_INTERFACE +} IWMPPlaylistCollectionVtbl; + +interface IWMPPlaylistCollection { + CONST_VTBL IWMPPlaylistCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPPlaylistCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPPlaylistCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPPlaylistCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPPlaylistCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPPlaylistCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPPlaylistCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPPlaylistCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPPlaylistCollection methods ***/ +#define IWMPPlaylistCollection_newPlaylist(This,bstrName,ppItem) (This)->lpVtbl->newPlaylist(This,bstrName,ppItem) +#define IWMPPlaylistCollection_getAll(This,ppPlaylistArray) (This)->lpVtbl->getAll(This,ppPlaylistArray) +#define IWMPPlaylistCollection_getByName(This,bstrName,ppPlaylistArray) (This)->lpVtbl->getByName(This,bstrName,ppPlaylistArray) +#define IWMPPlaylistCollection_remove(This,pItem) (This)->lpVtbl->remove(This,pItem) +#define IWMPPlaylistCollection_setDeleted(This,pItem,varfIsDeleted) (This)->lpVtbl->setDeleted(This,pItem,varfIsDeleted) +#define IWMPPlaylistCollection_isDeleted(This,pItem,pvarfIsDeleted) (This)->lpVtbl->isDeleted(This,pItem,pvarfIsDeleted) +#define IWMPPlaylistCollection_importPlaylist(This,pItem,ppImportedItem) (This)->lpVtbl->importPlaylist(This,pItem,ppImportedItem) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPPlaylistCollection_QueryInterface(IWMPPlaylistCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPPlaylistCollection_AddRef(IWMPPlaylistCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPPlaylistCollection_Release(IWMPPlaylistCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPPlaylistCollection_GetTypeInfoCount(IWMPPlaylistCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_GetTypeInfo(IWMPPlaylistCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_GetIDsOfNames(IWMPPlaylistCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_Invoke(IWMPPlaylistCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPPlaylistCollection methods ***/ +static FORCEINLINE HRESULT IWMPPlaylistCollection_newPlaylist(IWMPPlaylistCollection* This,BSTR bstrName,IWMPPlaylist **ppItem) { + return This->lpVtbl->newPlaylist(This,bstrName,ppItem); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_getAll(IWMPPlaylistCollection* This,IWMPPlaylistArray **ppPlaylistArray) { + return This->lpVtbl->getAll(This,ppPlaylistArray); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_getByName(IWMPPlaylistCollection* This,BSTR bstrName,IWMPPlaylistArray **ppPlaylistArray) { + return This->lpVtbl->getByName(This,bstrName,ppPlaylistArray); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_remove(IWMPPlaylistCollection* This,IWMPPlaylist *pItem) { + return This->lpVtbl->remove(This,pItem); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_setDeleted(IWMPPlaylistCollection* This,IWMPPlaylist *pItem,VARIANT_BOOL varfIsDeleted) { + return This->lpVtbl->setDeleted(This,pItem,varfIsDeleted); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_isDeleted(IWMPPlaylistCollection* This,IWMPPlaylist *pItem,VARIANT_BOOL *pvarfIsDeleted) { + return This->lpVtbl->isDeleted(This,pItem,pvarfIsDeleted); +} +static FORCEINLINE HRESULT IWMPPlaylistCollection_importPlaylist(IWMPPlaylistCollection* This,IWMPPlaylist *pItem,IWMPPlaylist **ppImportedItem) { + return This->lpVtbl->importPlaylist(This,pItem,ppImportedItem); +} +#endif +#endif + +#endif + + +#endif /* __IWMPPlaylistCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPNetwork interface + */ +#ifndef __IWMPNetwork_INTERFACE_DEFINED__ +#define __IWMPNetwork_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPNetwork, 0xec21b779, 0xedef, 0x462d, 0xbb,0xa4, 0xad,0x9d,0xde,0x2b,0x29,0xa7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ec21b779-edef-462d-bba4-ad9dde2b29a7") +IWMPNetwork : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_bandWidth( + LONG *plBandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_recoveredPackets( + LONG *plRecoveredPackets) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_sourceProtocol( + BSTR *pbstrSourceProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_receivedPackets( + LONG *plReceivedPackets) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_lostPackets( + LONG *plLostPackets) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_receptionQuality( + LONG *plReceptionQuality) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bufferingCount( + LONG *plBufferingCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bufferingProgress( + LONG *plBufferingProgress) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bufferingTime( + LONG *plBufferingTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_bufferingTime( + LONG plBufferingTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_frameRate( + LONG *plFrameRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxBitRate( + LONG *plBitRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_bitRate( + LONG *plBitRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProxySettings( + BSTR bstrProtocol, + LONG *plProxySetting) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxySettings( + BSTR bstrProtocol, + LONG lProxySetting) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProxyName( + BSTR bstrProtocol, + BSTR *pbstrProxyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxyName( + BSTR bstrProtocol, + BSTR bstrProxyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProxyPort( + BSTR bstrProtocol, + LONG *lProxyPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxyPort( + BSTR bstrProtocol, + LONG lProxyPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProxyExceptionList( + BSTR bstrProtocol, + BSTR *pbstrExceptionList) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxyExceptionList( + BSTR bstrProtocol, + BSTR pbstrExceptionList) = 0; + + virtual HRESULT STDMETHODCALLTYPE getProxyBypassForLocal( + BSTR bstrProtocol, + VARIANT_BOOL *pfBypassForLocal) = 0; + + virtual HRESULT STDMETHODCALLTYPE setProxyBypassForLocal( + BSTR bstrProtocol, + VARIANT_BOOL fBypassForLocal) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_maxBandwidth( + LONG *lMaxBandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_maxBandwidth( + LONG lMaxBandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_downloadProgress( + LONG *plDownloadProgress) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_encodedFrameRate( + LONG *plFrameRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_framesSkipped( + LONG *plFrames) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPNetwork, 0xec21b779, 0xedef, 0x462d, 0xbb,0xa4, 0xad,0x9d,0xde,0x2b,0x29,0xa7) +#endif +#else +typedef struct IWMPNetworkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPNetwork *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPNetwork *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPNetwork *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPNetwork *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPNetwork *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPNetwork *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPNetwork *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPNetwork methods ***/ + HRESULT (STDMETHODCALLTYPE *get_bandWidth)( + IWMPNetwork *This, + LONG *plBandwidth); + + HRESULT (STDMETHODCALLTYPE *get_recoveredPackets)( + IWMPNetwork *This, + LONG *plRecoveredPackets); + + HRESULT (STDMETHODCALLTYPE *get_sourceProtocol)( + IWMPNetwork *This, + BSTR *pbstrSourceProtocol); + + HRESULT (STDMETHODCALLTYPE *get_receivedPackets)( + IWMPNetwork *This, + LONG *plReceivedPackets); + + HRESULT (STDMETHODCALLTYPE *get_lostPackets)( + IWMPNetwork *This, + LONG *plLostPackets); + + HRESULT (STDMETHODCALLTYPE *get_receptionQuality)( + IWMPNetwork *This, + LONG *plReceptionQuality); + + HRESULT (STDMETHODCALLTYPE *get_bufferingCount)( + IWMPNetwork *This, + LONG *plBufferingCount); + + HRESULT (STDMETHODCALLTYPE *get_bufferingProgress)( + IWMPNetwork *This, + LONG *plBufferingProgress); + + HRESULT (STDMETHODCALLTYPE *get_bufferingTime)( + IWMPNetwork *This, + LONG *plBufferingTime); + + HRESULT (STDMETHODCALLTYPE *put_bufferingTime)( + IWMPNetwork *This, + LONG plBufferingTime); + + HRESULT (STDMETHODCALLTYPE *get_frameRate)( + IWMPNetwork *This, + LONG *plFrameRate); + + HRESULT (STDMETHODCALLTYPE *get_maxBitRate)( + IWMPNetwork *This, + LONG *plBitRate); + + HRESULT (STDMETHODCALLTYPE *get_bitRate)( + IWMPNetwork *This, + LONG *plBitRate); + + HRESULT (STDMETHODCALLTYPE *getProxySettings)( + IWMPNetwork *This, + BSTR bstrProtocol, + LONG *plProxySetting); + + HRESULT (STDMETHODCALLTYPE *setProxySettings)( + IWMPNetwork *This, + BSTR bstrProtocol, + LONG lProxySetting); + + HRESULT (STDMETHODCALLTYPE *getProxyName)( + IWMPNetwork *This, + BSTR bstrProtocol, + BSTR *pbstrProxyName); + + HRESULT (STDMETHODCALLTYPE *setProxyName)( + IWMPNetwork *This, + BSTR bstrProtocol, + BSTR bstrProxyName); + + HRESULT (STDMETHODCALLTYPE *getProxyPort)( + IWMPNetwork *This, + BSTR bstrProtocol, + LONG *lProxyPort); + + HRESULT (STDMETHODCALLTYPE *setProxyPort)( + IWMPNetwork *This, + BSTR bstrProtocol, + LONG lProxyPort); + + HRESULT (STDMETHODCALLTYPE *getProxyExceptionList)( + IWMPNetwork *This, + BSTR bstrProtocol, + BSTR *pbstrExceptionList); + + HRESULT (STDMETHODCALLTYPE *setProxyExceptionList)( + IWMPNetwork *This, + BSTR bstrProtocol, + BSTR pbstrExceptionList); + + HRESULT (STDMETHODCALLTYPE *getProxyBypassForLocal)( + IWMPNetwork *This, + BSTR bstrProtocol, + VARIANT_BOOL *pfBypassForLocal); + + HRESULT (STDMETHODCALLTYPE *setProxyBypassForLocal)( + IWMPNetwork *This, + BSTR bstrProtocol, + VARIANT_BOOL fBypassForLocal); + + HRESULT (STDMETHODCALLTYPE *get_maxBandwidth)( + IWMPNetwork *This, + LONG *lMaxBandwidth); + + HRESULT (STDMETHODCALLTYPE *put_maxBandwidth)( + IWMPNetwork *This, + LONG lMaxBandwidth); + + HRESULT (STDMETHODCALLTYPE *get_downloadProgress)( + IWMPNetwork *This, + LONG *plDownloadProgress); + + HRESULT (STDMETHODCALLTYPE *get_encodedFrameRate)( + IWMPNetwork *This, + LONG *plFrameRate); + + HRESULT (STDMETHODCALLTYPE *get_framesSkipped)( + IWMPNetwork *This, + LONG *plFrames); + + END_INTERFACE +} IWMPNetworkVtbl; + +interface IWMPNetwork { + CONST_VTBL IWMPNetworkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPNetwork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPNetwork_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPNetwork_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPNetwork_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPNetwork_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPNetwork_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPNetwork_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPNetwork methods ***/ +#define IWMPNetwork_get_bandWidth(This,plBandwidth) (This)->lpVtbl->get_bandWidth(This,plBandwidth) +#define IWMPNetwork_get_recoveredPackets(This,plRecoveredPackets) (This)->lpVtbl->get_recoveredPackets(This,plRecoveredPackets) +#define IWMPNetwork_get_sourceProtocol(This,pbstrSourceProtocol) (This)->lpVtbl->get_sourceProtocol(This,pbstrSourceProtocol) +#define IWMPNetwork_get_receivedPackets(This,plReceivedPackets) (This)->lpVtbl->get_receivedPackets(This,plReceivedPackets) +#define IWMPNetwork_get_lostPackets(This,plLostPackets) (This)->lpVtbl->get_lostPackets(This,plLostPackets) +#define IWMPNetwork_get_receptionQuality(This,plReceptionQuality) (This)->lpVtbl->get_receptionQuality(This,plReceptionQuality) +#define IWMPNetwork_get_bufferingCount(This,plBufferingCount) (This)->lpVtbl->get_bufferingCount(This,plBufferingCount) +#define IWMPNetwork_get_bufferingProgress(This,plBufferingProgress) (This)->lpVtbl->get_bufferingProgress(This,plBufferingProgress) +#define IWMPNetwork_get_bufferingTime(This,plBufferingTime) (This)->lpVtbl->get_bufferingTime(This,plBufferingTime) +#define IWMPNetwork_put_bufferingTime(This,plBufferingTime) (This)->lpVtbl->put_bufferingTime(This,plBufferingTime) +#define IWMPNetwork_get_frameRate(This,plFrameRate) (This)->lpVtbl->get_frameRate(This,plFrameRate) +#define IWMPNetwork_get_maxBitRate(This,plBitRate) (This)->lpVtbl->get_maxBitRate(This,plBitRate) +#define IWMPNetwork_get_bitRate(This,plBitRate) (This)->lpVtbl->get_bitRate(This,plBitRate) +#define IWMPNetwork_getProxySettings(This,bstrProtocol,plProxySetting) (This)->lpVtbl->getProxySettings(This,bstrProtocol,plProxySetting) +#define IWMPNetwork_setProxySettings(This,bstrProtocol,lProxySetting) (This)->lpVtbl->setProxySettings(This,bstrProtocol,lProxySetting) +#define IWMPNetwork_getProxyName(This,bstrProtocol,pbstrProxyName) (This)->lpVtbl->getProxyName(This,bstrProtocol,pbstrProxyName) +#define IWMPNetwork_setProxyName(This,bstrProtocol,bstrProxyName) (This)->lpVtbl->setProxyName(This,bstrProtocol,bstrProxyName) +#define IWMPNetwork_getProxyPort(This,bstrProtocol,lProxyPort) (This)->lpVtbl->getProxyPort(This,bstrProtocol,lProxyPort) +#define IWMPNetwork_setProxyPort(This,bstrProtocol,lProxyPort) (This)->lpVtbl->setProxyPort(This,bstrProtocol,lProxyPort) +#define IWMPNetwork_getProxyExceptionList(This,bstrProtocol,pbstrExceptionList) (This)->lpVtbl->getProxyExceptionList(This,bstrProtocol,pbstrExceptionList) +#define IWMPNetwork_setProxyExceptionList(This,bstrProtocol,pbstrExceptionList) (This)->lpVtbl->setProxyExceptionList(This,bstrProtocol,pbstrExceptionList) +#define IWMPNetwork_getProxyBypassForLocal(This,bstrProtocol,pfBypassForLocal) (This)->lpVtbl->getProxyBypassForLocal(This,bstrProtocol,pfBypassForLocal) +#define IWMPNetwork_setProxyBypassForLocal(This,bstrProtocol,fBypassForLocal) (This)->lpVtbl->setProxyBypassForLocal(This,bstrProtocol,fBypassForLocal) +#define IWMPNetwork_get_maxBandwidth(This,lMaxBandwidth) (This)->lpVtbl->get_maxBandwidth(This,lMaxBandwidth) +#define IWMPNetwork_put_maxBandwidth(This,lMaxBandwidth) (This)->lpVtbl->put_maxBandwidth(This,lMaxBandwidth) +#define IWMPNetwork_get_downloadProgress(This,plDownloadProgress) (This)->lpVtbl->get_downloadProgress(This,plDownloadProgress) +#define IWMPNetwork_get_encodedFrameRate(This,plFrameRate) (This)->lpVtbl->get_encodedFrameRate(This,plFrameRate) +#define IWMPNetwork_get_framesSkipped(This,plFrames) (This)->lpVtbl->get_framesSkipped(This,plFrames) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPNetwork_QueryInterface(IWMPNetwork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPNetwork_AddRef(IWMPNetwork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPNetwork_Release(IWMPNetwork* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPNetwork_GetTypeInfoCount(IWMPNetwork* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPNetwork_GetTypeInfo(IWMPNetwork* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPNetwork_GetIDsOfNames(IWMPNetwork* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPNetwork_Invoke(IWMPNetwork* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPNetwork methods ***/ +static FORCEINLINE HRESULT IWMPNetwork_get_bandWidth(IWMPNetwork* This,LONG *plBandwidth) { + return This->lpVtbl->get_bandWidth(This,plBandwidth); +} +static FORCEINLINE HRESULT IWMPNetwork_get_recoveredPackets(IWMPNetwork* This,LONG *plRecoveredPackets) { + return This->lpVtbl->get_recoveredPackets(This,plRecoveredPackets); +} +static FORCEINLINE HRESULT IWMPNetwork_get_sourceProtocol(IWMPNetwork* This,BSTR *pbstrSourceProtocol) { + return This->lpVtbl->get_sourceProtocol(This,pbstrSourceProtocol); +} +static FORCEINLINE HRESULT IWMPNetwork_get_receivedPackets(IWMPNetwork* This,LONG *plReceivedPackets) { + return This->lpVtbl->get_receivedPackets(This,plReceivedPackets); +} +static FORCEINLINE HRESULT IWMPNetwork_get_lostPackets(IWMPNetwork* This,LONG *plLostPackets) { + return This->lpVtbl->get_lostPackets(This,plLostPackets); +} +static FORCEINLINE HRESULT IWMPNetwork_get_receptionQuality(IWMPNetwork* This,LONG *plReceptionQuality) { + return This->lpVtbl->get_receptionQuality(This,plReceptionQuality); +} +static FORCEINLINE HRESULT IWMPNetwork_get_bufferingCount(IWMPNetwork* This,LONG *plBufferingCount) { + return This->lpVtbl->get_bufferingCount(This,plBufferingCount); +} +static FORCEINLINE HRESULT IWMPNetwork_get_bufferingProgress(IWMPNetwork* This,LONG *plBufferingProgress) { + return This->lpVtbl->get_bufferingProgress(This,plBufferingProgress); +} +static FORCEINLINE HRESULT IWMPNetwork_get_bufferingTime(IWMPNetwork* This,LONG *plBufferingTime) { + return This->lpVtbl->get_bufferingTime(This,plBufferingTime); +} +static FORCEINLINE HRESULT IWMPNetwork_put_bufferingTime(IWMPNetwork* This,LONG plBufferingTime) { + return This->lpVtbl->put_bufferingTime(This,plBufferingTime); +} +static FORCEINLINE HRESULT IWMPNetwork_get_frameRate(IWMPNetwork* This,LONG *plFrameRate) { + return This->lpVtbl->get_frameRate(This,plFrameRate); +} +static FORCEINLINE HRESULT IWMPNetwork_get_maxBitRate(IWMPNetwork* This,LONG *plBitRate) { + return This->lpVtbl->get_maxBitRate(This,plBitRate); +} +static FORCEINLINE HRESULT IWMPNetwork_get_bitRate(IWMPNetwork* This,LONG *plBitRate) { + return This->lpVtbl->get_bitRate(This,plBitRate); +} +static FORCEINLINE HRESULT IWMPNetwork_getProxySettings(IWMPNetwork* This,BSTR bstrProtocol,LONG *plProxySetting) { + return This->lpVtbl->getProxySettings(This,bstrProtocol,plProxySetting); +} +static FORCEINLINE HRESULT IWMPNetwork_setProxySettings(IWMPNetwork* This,BSTR bstrProtocol,LONG lProxySetting) { + return This->lpVtbl->setProxySettings(This,bstrProtocol,lProxySetting); +} +static FORCEINLINE HRESULT IWMPNetwork_getProxyName(IWMPNetwork* This,BSTR bstrProtocol,BSTR *pbstrProxyName) { + return This->lpVtbl->getProxyName(This,bstrProtocol,pbstrProxyName); +} +static FORCEINLINE HRESULT IWMPNetwork_setProxyName(IWMPNetwork* This,BSTR bstrProtocol,BSTR bstrProxyName) { + return This->lpVtbl->setProxyName(This,bstrProtocol,bstrProxyName); +} +static FORCEINLINE HRESULT IWMPNetwork_getProxyPort(IWMPNetwork* This,BSTR bstrProtocol,LONG *lProxyPort) { + return This->lpVtbl->getProxyPort(This,bstrProtocol,lProxyPort); +} +static FORCEINLINE HRESULT IWMPNetwork_setProxyPort(IWMPNetwork* This,BSTR bstrProtocol,LONG lProxyPort) { + return This->lpVtbl->setProxyPort(This,bstrProtocol,lProxyPort); +} +static FORCEINLINE HRESULT IWMPNetwork_getProxyExceptionList(IWMPNetwork* This,BSTR bstrProtocol,BSTR *pbstrExceptionList) { + return This->lpVtbl->getProxyExceptionList(This,bstrProtocol,pbstrExceptionList); +} +static FORCEINLINE HRESULT IWMPNetwork_setProxyExceptionList(IWMPNetwork* This,BSTR bstrProtocol,BSTR pbstrExceptionList) { + return This->lpVtbl->setProxyExceptionList(This,bstrProtocol,pbstrExceptionList); +} +static FORCEINLINE HRESULT IWMPNetwork_getProxyBypassForLocal(IWMPNetwork* This,BSTR bstrProtocol,VARIANT_BOOL *pfBypassForLocal) { + return This->lpVtbl->getProxyBypassForLocal(This,bstrProtocol,pfBypassForLocal); +} +static FORCEINLINE HRESULT IWMPNetwork_setProxyBypassForLocal(IWMPNetwork* This,BSTR bstrProtocol,VARIANT_BOOL fBypassForLocal) { + return This->lpVtbl->setProxyBypassForLocal(This,bstrProtocol,fBypassForLocal); +} +static FORCEINLINE HRESULT IWMPNetwork_get_maxBandwidth(IWMPNetwork* This,LONG *lMaxBandwidth) { + return This->lpVtbl->get_maxBandwidth(This,lMaxBandwidth); +} +static FORCEINLINE HRESULT IWMPNetwork_put_maxBandwidth(IWMPNetwork* This,LONG lMaxBandwidth) { + return This->lpVtbl->put_maxBandwidth(This,lMaxBandwidth); +} +static FORCEINLINE HRESULT IWMPNetwork_get_downloadProgress(IWMPNetwork* This,LONG *plDownloadProgress) { + return This->lpVtbl->get_downloadProgress(This,plDownloadProgress); +} +static FORCEINLINE HRESULT IWMPNetwork_get_encodedFrameRate(IWMPNetwork* This,LONG *plFrameRate) { + return This->lpVtbl->get_encodedFrameRate(This,plFrameRate); +} +static FORCEINLINE HRESULT IWMPNetwork_get_framesSkipped(IWMPNetwork* This,LONG *plFrames) { + return This->lpVtbl->get_framesSkipped(This,plFrames); +} +#endif +#endif + +#endif + + +#endif /* __IWMPNetwork_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCdrom interface + */ +#ifndef __IWMPCdrom_INTERFACE_DEFINED__ +#define __IWMPCdrom_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCdrom, 0xcfab6e98, 0x8730, 0x11d3, 0xb3,0x88, 0x00,0xc0,0x4f,0x68,0x57,0x4b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cfab6e98-8730-11d3-b388-00c04f68574b") +IWMPCdrom : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_driveSpecifier( + BSTR *pbstrDrive) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Playlist( + IWMPPlaylist **ppPlaylist) = 0; + + virtual HRESULT STDMETHODCALLTYPE eject( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCdrom, 0xcfab6e98, 0x8730, 0x11d3, 0xb3,0x88, 0x00,0xc0,0x4f,0x68,0x57,0x4b) +#endif +#else +typedef struct IWMPCdromVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCdrom *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCdrom *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCdrom *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPCdrom *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPCdrom *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPCdrom *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPCdrom *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPCdrom methods ***/ + HRESULT (STDMETHODCALLTYPE *get_driveSpecifier)( + IWMPCdrom *This, + BSTR *pbstrDrive); + + HRESULT (STDMETHODCALLTYPE *get_Playlist)( + IWMPCdrom *This, + IWMPPlaylist **ppPlaylist); + + HRESULT (STDMETHODCALLTYPE *eject)( + IWMPCdrom *This); + + END_INTERFACE +} IWMPCdromVtbl; + +interface IWMPCdrom { + CONST_VTBL IWMPCdromVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCdrom_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCdrom_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCdrom_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPCdrom_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPCdrom_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPCdrom_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPCdrom_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPCdrom methods ***/ +#define IWMPCdrom_get_driveSpecifier(This,pbstrDrive) (This)->lpVtbl->get_driveSpecifier(This,pbstrDrive) +#define IWMPCdrom_get_Playlist(This,ppPlaylist) (This)->lpVtbl->get_Playlist(This,ppPlaylist) +#define IWMPCdrom_eject(This) (This)->lpVtbl->eject(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCdrom_QueryInterface(IWMPCdrom* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCdrom_AddRef(IWMPCdrom* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCdrom_Release(IWMPCdrom* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPCdrom_GetTypeInfoCount(IWMPCdrom* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPCdrom_GetTypeInfo(IWMPCdrom* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPCdrom_GetIDsOfNames(IWMPCdrom* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPCdrom_Invoke(IWMPCdrom* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPCdrom methods ***/ +static FORCEINLINE HRESULT IWMPCdrom_get_driveSpecifier(IWMPCdrom* This,BSTR *pbstrDrive) { + return This->lpVtbl->get_driveSpecifier(This,pbstrDrive); +} +static FORCEINLINE HRESULT IWMPCdrom_get_Playlist(IWMPCdrom* This,IWMPPlaylist **ppPlaylist) { + return This->lpVtbl->get_Playlist(This,ppPlaylist); +} +static FORCEINLINE HRESULT IWMPCdrom_eject(IWMPCdrom* This) { + return This->lpVtbl->eject(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCdrom_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCdromCollection interface + */ +#ifndef __IWMPCdromCollection_INTERFACE_DEFINED__ +#define __IWMPCdromCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCdromCollection, 0xee4c8fe2, 0x34b2, 0x11d3, 0xa3,0xbf, 0x00,0x60,0x97,0xc9,0xb3,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ee4c8fe2-34b2-11d3-a3bf-006097c9b344") +IWMPCdromCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_count( + LONG *plCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + LONG lIndex, + IWMPCdrom **ppItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE getByDriveSpecifier( + BSTR bstrDriveSpecifier, + IWMPCdrom **ppCdrom) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCdromCollection, 0xee4c8fe2, 0x34b2, 0x11d3, 0xa3,0xbf, 0x00,0x60,0x97,0xc9,0xb3,0x44) +#endif +#else +typedef struct IWMPCdromCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCdromCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCdromCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCdromCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPCdromCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPCdromCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPCdromCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPCdromCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPCdromCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_count)( + IWMPCdromCollection *This, + LONG *plCount); + + HRESULT (STDMETHODCALLTYPE *Item)( + IWMPCdromCollection *This, + LONG lIndex, + IWMPCdrom **ppItem); + + HRESULT (STDMETHODCALLTYPE *getByDriveSpecifier)( + IWMPCdromCollection *This, + BSTR bstrDriveSpecifier, + IWMPCdrom **ppCdrom); + + END_INTERFACE +} IWMPCdromCollectionVtbl; + +interface IWMPCdromCollection { + CONST_VTBL IWMPCdromCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCdromCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCdromCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCdromCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPCdromCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPCdromCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPCdromCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPCdromCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPCdromCollection methods ***/ +#define IWMPCdromCollection_get_count(This,plCount) (This)->lpVtbl->get_count(This,plCount) +#define IWMPCdromCollection_Item(This,lIndex,ppItem) (This)->lpVtbl->Item(This,lIndex,ppItem) +#define IWMPCdromCollection_getByDriveSpecifier(This,bstrDriveSpecifier,ppCdrom) (This)->lpVtbl->getByDriveSpecifier(This,bstrDriveSpecifier,ppCdrom) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCdromCollection_QueryInterface(IWMPCdromCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCdromCollection_AddRef(IWMPCdromCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCdromCollection_Release(IWMPCdromCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPCdromCollection_GetTypeInfoCount(IWMPCdromCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPCdromCollection_GetTypeInfo(IWMPCdromCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPCdromCollection_GetIDsOfNames(IWMPCdromCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPCdromCollection_Invoke(IWMPCdromCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPCdromCollection methods ***/ +static FORCEINLINE HRESULT IWMPCdromCollection_get_count(IWMPCdromCollection* This,LONG *plCount) { + return This->lpVtbl->get_count(This,plCount); +} +static FORCEINLINE HRESULT IWMPCdromCollection_Item(IWMPCdromCollection* This,LONG lIndex,IWMPCdrom **ppItem) { + return This->lpVtbl->Item(This,lIndex,ppItem); +} +static FORCEINLINE HRESULT IWMPCdromCollection_getByDriveSpecifier(IWMPCdromCollection* This,BSTR bstrDriveSpecifier,IWMPCdrom **ppCdrom) { + return This->lpVtbl->getByDriveSpecifier(This,bstrDriveSpecifier,ppCdrom); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCdromCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPDVD interface + */ +#ifndef __IWMPDVD_INTERFACE_DEFINED__ +#define __IWMPDVD_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPDVD, 0x8da61686, 0x4668, 0x4a5c, 0xae,0x5d, 0x80,0x31,0x93,0x29,0x3d,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8da61686-4668-4a5c-ae5d-803193293dbe") +IWMPDVD : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_isAvailable( + BSTR bstrItem, + VARIANT_BOOL *pIsAvailable) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_domain( + BSTR *strDomain) = 0; + + virtual HRESULT STDMETHODCALLTYPE topMenu( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE titleMenu( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE back( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE resume( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPDVD, 0x8da61686, 0x4668, 0x4a5c, 0xae,0x5d, 0x80,0x31,0x93,0x29,0x3d,0xbe) +#endif +#else +typedef struct IWMPDVDVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPDVD *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPDVD *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPDVD *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPDVD *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPDVD *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPDVD *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPDVD *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPDVD methods ***/ + HRESULT (STDMETHODCALLTYPE *get_isAvailable)( + IWMPDVD *This, + BSTR bstrItem, + VARIANT_BOOL *pIsAvailable); + + HRESULT (STDMETHODCALLTYPE *get_domain)( + IWMPDVD *This, + BSTR *strDomain); + + HRESULT (STDMETHODCALLTYPE *topMenu)( + IWMPDVD *This); + + HRESULT (STDMETHODCALLTYPE *titleMenu)( + IWMPDVD *This); + + HRESULT (STDMETHODCALLTYPE *back)( + IWMPDVD *This); + + HRESULT (STDMETHODCALLTYPE *resume)( + IWMPDVD *This); + + END_INTERFACE +} IWMPDVDVtbl; + +interface IWMPDVD { + CONST_VTBL IWMPDVDVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPDVD_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPDVD_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPDVD_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPDVD_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPDVD_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPDVD_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPDVD_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPDVD methods ***/ +#define IWMPDVD_get_isAvailable(This,bstrItem,pIsAvailable) (This)->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable) +#define IWMPDVD_get_domain(This,strDomain) (This)->lpVtbl->get_domain(This,strDomain) +#define IWMPDVD_topMenu(This) (This)->lpVtbl->topMenu(This) +#define IWMPDVD_titleMenu(This) (This)->lpVtbl->titleMenu(This) +#define IWMPDVD_back(This) (This)->lpVtbl->back(This) +#define IWMPDVD_resume(This) (This)->lpVtbl->resume(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPDVD_QueryInterface(IWMPDVD* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPDVD_AddRef(IWMPDVD* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPDVD_Release(IWMPDVD* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPDVD_GetTypeInfoCount(IWMPDVD* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPDVD_GetTypeInfo(IWMPDVD* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPDVD_GetIDsOfNames(IWMPDVD* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPDVD_Invoke(IWMPDVD* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPDVD methods ***/ +static FORCEINLINE HRESULT IWMPDVD_get_isAvailable(IWMPDVD* This,BSTR bstrItem,VARIANT_BOOL *pIsAvailable) { + return This->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable); +} +static FORCEINLINE HRESULT IWMPDVD_get_domain(IWMPDVD* This,BSTR *strDomain) { + return This->lpVtbl->get_domain(This,strDomain); +} +static FORCEINLINE HRESULT IWMPDVD_topMenu(IWMPDVD* This) { + return This->lpVtbl->topMenu(This); +} +static FORCEINLINE HRESULT IWMPDVD_titleMenu(IWMPDVD* This) { + return This->lpVtbl->titleMenu(This); +} +static FORCEINLINE HRESULT IWMPDVD_back(IWMPDVD* This) { + return This->lpVtbl->back(This); +} +static FORCEINLINE HRESULT IWMPDVD_resume(IWMPDVD* This) { + return This->lpVtbl->resume(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMPDVD_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPClosedCaption interface + */ +#ifndef __IWMPClosedCaption_INTERFACE_DEFINED__ +#define __IWMPClosedCaption_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPClosedCaption, 0x4f2df574, 0xc588, 0x11d3, 0x9e,0xd0, 0x00,0xc0,0x4f,0xb6,0xe9,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4f2df574-c588-11d3-9ed0-00c04fb6e937") +IWMPClosedCaption : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_SAMIStyle( + BSTR *pbstrSAMIStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SAMIStyle( + BSTR pbstrSAMIStyle) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SAMILang( + BSTR *pbstrSAMILang) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SAMILang( + BSTR pbstrSAMILang) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SAMIFileName( + BSTR *pbstrSAMIFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_SAMIFileName( + BSTR pbstrSAMIFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_captioningId( + BSTR *pbstrCaptioningID) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_captioningId( + BSTR pbstrCaptioningID) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPClosedCaption, 0x4f2df574, 0xc588, 0x11d3, 0x9e,0xd0, 0x00,0xc0,0x4f,0xb6,0xe9,0x37) +#endif +#else +typedef struct IWMPClosedCaptionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPClosedCaption *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPClosedCaption *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPClosedCaption *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPClosedCaption *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPClosedCaption *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPClosedCaption *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPClosedCaption *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPClosedCaption methods ***/ + HRESULT (STDMETHODCALLTYPE *get_SAMIStyle)( + IWMPClosedCaption *This, + BSTR *pbstrSAMIStyle); + + HRESULT (STDMETHODCALLTYPE *put_SAMIStyle)( + IWMPClosedCaption *This, + BSTR pbstrSAMIStyle); + + HRESULT (STDMETHODCALLTYPE *get_SAMILang)( + IWMPClosedCaption *This, + BSTR *pbstrSAMILang); + + HRESULT (STDMETHODCALLTYPE *put_SAMILang)( + IWMPClosedCaption *This, + BSTR pbstrSAMILang); + + HRESULT (STDMETHODCALLTYPE *get_SAMIFileName)( + IWMPClosedCaption *This, + BSTR *pbstrSAMIFileName); + + HRESULT (STDMETHODCALLTYPE *put_SAMIFileName)( + IWMPClosedCaption *This, + BSTR pbstrSAMIFileName); + + HRESULT (STDMETHODCALLTYPE *get_captioningId)( + IWMPClosedCaption *This, + BSTR *pbstrCaptioningID); + + HRESULT (STDMETHODCALLTYPE *put_captioningId)( + IWMPClosedCaption *This, + BSTR pbstrCaptioningID); + + END_INTERFACE +} IWMPClosedCaptionVtbl; + +interface IWMPClosedCaption { + CONST_VTBL IWMPClosedCaptionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPClosedCaption_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPClosedCaption_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPClosedCaption_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPClosedCaption_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPClosedCaption_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPClosedCaption_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPClosedCaption_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPClosedCaption methods ***/ +#define IWMPClosedCaption_get_SAMIStyle(This,pbstrSAMIStyle) (This)->lpVtbl->get_SAMIStyle(This,pbstrSAMIStyle) +#define IWMPClosedCaption_put_SAMIStyle(This,pbstrSAMIStyle) (This)->lpVtbl->put_SAMIStyle(This,pbstrSAMIStyle) +#define IWMPClosedCaption_get_SAMILang(This,pbstrSAMILang) (This)->lpVtbl->get_SAMILang(This,pbstrSAMILang) +#define IWMPClosedCaption_put_SAMILang(This,pbstrSAMILang) (This)->lpVtbl->put_SAMILang(This,pbstrSAMILang) +#define IWMPClosedCaption_get_SAMIFileName(This,pbstrSAMIFileName) (This)->lpVtbl->get_SAMIFileName(This,pbstrSAMIFileName) +#define IWMPClosedCaption_put_SAMIFileName(This,pbstrSAMIFileName) (This)->lpVtbl->put_SAMIFileName(This,pbstrSAMIFileName) +#define IWMPClosedCaption_get_captioningId(This,pbstrCaptioningID) (This)->lpVtbl->get_captioningId(This,pbstrCaptioningID) +#define IWMPClosedCaption_put_captioningId(This,pbstrCaptioningID) (This)->lpVtbl->put_captioningId(This,pbstrCaptioningID) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPClosedCaption_QueryInterface(IWMPClosedCaption* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPClosedCaption_AddRef(IWMPClosedCaption* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPClosedCaption_Release(IWMPClosedCaption* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPClosedCaption_GetTypeInfoCount(IWMPClosedCaption* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPClosedCaption_GetTypeInfo(IWMPClosedCaption* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPClosedCaption_GetIDsOfNames(IWMPClosedCaption* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPClosedCaption_Invoke(IWMPClosedCaption* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPClosedCaption methods ***/ +static FORCEINLINE HRESULT IWMPClosedCaption_get_SAMIStyle(IWMPClosedCaption* This,BSTR *pbstrSAMIStyle) { + return This->lpVtbl->get_SAMIStyle(This,pbstrSAMIStyle); +} +static FORCEINLINE HRESULT IWMPClosedCaption_put_SAMIStyle(IWMPClosedCaption* This,BSTR pbstrSAMIStyle) { + return This->lpVtbl->put_SAMIStyle(This,pbstrSAMIStyle); +} +static FORCEINLINE HRESULT IWMPClosedCaption_get_SAMILang(IWMPClosedCaption* This,BSTR *pbstrSAMILang) { + return This->lpVtbl->get_SAMILang(This,pbstrSAMILang); +} +static FORCEINLINE HRESULT IWMPClosedCaption_put_SAMILang(IWMPClosedCaption* This,BSTR pbstrSAMILang) { + return This->lpVtbl->put_SAMILang(This,pbstrSAMILang); +} +static FORCEINLINE HRESULT IWMPClosedCaption_get_SAMIFileName(IWMPClosedCaption* This,BSTR *pbstrSAMIFileName) { + return This->lpVtbl->get_SAMIFileName(This,pbstrSAMIFileName); +} +static FORCEINLINE HRESULT IWMPClosedCaption_put_SAMIFileName(IWMPClosedCaption* This,BSTR pbstrSAMIFileName) { + return This->lpVtbl->put_SAMIFileName(This,pbstrSAMIFileName); +} +static FORCEINLINE HRESULT IWMPClosedCaption_get_captioningId(IWMPClosedCaption* This,BSTR *pbstrCaptioningID) { + return This->lpVtbl->get_captioningId(This,pbstrCaptioningID); +} +static FORCEINLINE HRESULT IWMPClosedCaption_put_captioningId(IWMPClosedCaption* This,BSTR pbstrCaptioningID) { + return This->lpVtbl->put_captioningId(This,pbstrCaptioningID); +} +#endif +#endif + +#endif + + +#endif /* __IWMPClosedCaption_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPErrorItem interface + */ +#ifndef __IWMPErrorItem_INTERFACE_DEFINED__ +#define __IWMPErrorItem_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPErrorItem, 0x3614c646, 0x3b3b, 0x4de7, 0xa8,0x1e, 0x93,0x0e,0x3f,0x21,0x27,0xb3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3614c646-3b3b-4de7-a81e-930e3f2127b3") +IWMPErrorItem : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_errorCode( + LONG *phr) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorDescription( + BSTR *pbstrDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorContext( + VARIANT *pvarContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_remedy( + LONG *plRemedy) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_customUrl( + BSTR *pbstrCustomUrl) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPErrorItem, 0x3614c646, 0x3b3b, 0x4de7, 0xa8,0x1e, 0x93,0x0e,0x3f,0x21,0x27,0xb3) +#endif +#else +typedef struct IWMPErrorItemVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPErrorItem *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPErrorItem *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPErrorItem *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPErrorItem *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPErrorItem *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPErrorItem *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPErrorItem *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPErrorItem methods ***/ + HRESULT (STDMETHODCALLTYPE *get_errorCode)( + IWMPErrorItem *This, + LONG *phr); + + HRESULT (STDMETHODCALLTYPE *get_errorDescription)( + IWMPErrorItem *This, + BSTR *pbstrDescription); + + HRESULT (STDMETHODCALLTYPE *get_errorContext)( + IWMPErrorItem *This, + VARIANT *pvarContext); + + HRESULT (STDMETHODCALLTYPE *get_remedy)( + IWMPErrorItem *This, + LONG *plRemedy); + + HRESULT (STDMETHODCALLTYPE *get_customUrl)( + IWMPErrorItem *This, + BSTR *pbstrCustomUrl); + + END_INTERFACE +} IWMPErrorItemVtbl; + +interface IWMPErrorItem { + CONST_VTBL IWMPErrorItemVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPErrorItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPErrorItem_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPErrorItem_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPErrorItem_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPErrorItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPErrorItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPErrorItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPErrorItem methods ***/ +#define IWMPErrorItem_get_errorCode(This,phr) (This)->lpVtbl->get_errorCode(This,phr) +#define IWMPErrorItem_get_errorDescription(This,pbstrDescription) (This)->lpVtbl->get_errorDescription(This,pbstrDescription) +#define IWMPErrorItem_get_errorContext(This,pvarContext) (This)->lpVtbl->get_errorContext(This,pvarContext) +#define IWMPErrorItem_get_remedy(This,plRemedy) (This)->lpVtbl->get_remedy(This,plRemedy) +#define IWMPErrorItem_get_customUrl(This,pbstrCustomUrl) (This)->lpVtbl->get_customUrl(This,pbstrCustomUrl) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPErrorItem_QueryInterface(IWMPErrorItem* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPErrorItem_AddRef(IWMPErrorItem* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPErrorItem_Release(IWMPErrorItem* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPErrorItem_GetTypeInfoCount(IWMPErrorItem* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPErrorItem_GetTypeInfo(IWMPErrorItem* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPErrorItem_GetIDsOfNames(IWMPErrorItem* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPErrorItem_Invoke(IWMPErrorItem* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPErrorItem methods ***/ +static FORCEINLINE HRESULT IWMPErrorItem_get_errorCode(IWMPErrorItem* This,LONG *phr) { + return This->lpVtbl->get_errorCode(This,phr); +} +static FORCEINLINE HRESULT IWMPErrorItem_get_errorDescription(IWMPErrorItem* This,BSTR *pbstrDescription) { + return This->lpVtbl->get_errorDescription(This,pbstrDescription); +} +static FORCEINLINE HRESULT IWMPErrorItem_get_errorContext(IWMPErrorItem* This,VARIANT *pvarContext) { + return This->lpVtbl->get_errorContext(This,pvarContext); +} +static FORCEINLINE HRESULT IWMPErrorItem_get_remedy(IWMPErrorItem* This,LONG *plRemedy) { + return This->lpVtbl->get_remedy(This,plRemedy); +} +static FORCEINLINE HRESULT IWMPErrorItem_get_customUrl(IWMPErrorItem* This,BSTR *pbstrCustomUrl) { + return This->lpVtbl->get_customUrl(This,pbstrCustomUrl); +} +#endif +#endif + +#endif + + +#endif /* __IWMPErrorItem_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPError interface + */ +#ifndef __IWMPError_INTERFACE_DEFINED__ +#define __IWMPError_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPError, 0xa12dcf7d, 0x14ab, 0x4c1b, 0xa8,0xcd, 0x63,0x90,0x9f,0x06,0x02,0x5b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a12dcf7d-14ab-4c1b-a8cd-63909f06025b") +IWMPError : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE clearErrorQueue( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_errorCount( + LONG *plNumErrors) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG dwIndex, + IWMPErrorItem **ppErrorItem) = 0; + + virtual HRESULT STDMETHODCALLTYPE webHelp( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPError, 0xa12dcf7d, 0x14ab, 0x4c1b, 0xa8,0xcd, 0x63,0x90,0x9f,0x06,0x02,0x5b) +#endif +#else +typedef struct IWMPErrorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPError *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPError *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPError *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPError *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPError *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPError *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPError *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPError methods ***/ + HRESULT (STDMETHODCALLTYPE *clearErrorQueue)( + IWMPError *This); + + HRESULT (STDMETHODCALLTYPE *get_errorCount)( + IWMPError *This, + LONG *plNumErrors); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + IWMPError *This, + LONG dwIndex, + IWMPErrorItem **ppErrorItem); + + HRESULT (STDMETHODCALLTYPE *webHelp)( + IWMPError *This); + + END_INTERFACE +} IWMPErrorVtbl; + +interface IWMPError { + CONST_VTBL IWMPErrorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPError_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPError_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPError_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPError methods ***/ +#define IWMPError_clearErrorQueue(This) (This)->lpVtbl->clearErrorQueue(This) +#define IWMPError_get_errorCount(This,plNumErrors) (This)->lpVtbl->get_errorCount(This,plNumErrors) +#define IWMPError_get_Item(This,dwIndex,ppErrorItem) (This)->lpVtbl->get_Item(This,dwIndex,ppErrorItem) +#define IWMPError_webHelp(This) (This)->lpVtbl->webHelp(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPError_QueryInterface(IWMPError* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPError_AddRef(IWMPError* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPError_Release(IWMPError* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPError_GetTypeInfoCount(IWMPError* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPError_GetTypeInfo(IWMPError* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPError_GetIDsOfNames(IWMPError* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPError_Invoke(IWMPError* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPError methods ***/ +static FORCEINLINE HRESULT IWMPError_clearErrorQueue(IWMPError* This) { + return This->lpVtbl->clearErrorQueue(This); +} +static FORCEINLINE HRESULT IWMPError_get_errorCount(IWMPError* This,LONG *plNumErrors) { + return This->lpVtbl->get_errorCount(This,plNumErrors); +} +static FORCEINLINE HRESULT IWMPError_get_Item(IWMPError* This,LONG dwIndex,IWMPErrorItem **ppErrorItem) { + return This->lpVtbl->get_Item(This,dwIndex,ppErrorItem); +} +static FORCEINLINE HRESULT IWMPError_webHelp(IWMPError* This) { + return This->lpVtbl->webHelp(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMPError_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPPlayerApplication interface + */ +#ifndef __IWMPPlayerApplication_INTERFACE_DEFINED__ +#define __IWMPPlayerApplication_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPPlayerApplication, 0x40897764, 0xceab, 0x47be, 0xad,0x4a, 0x8e,0x28,0x53,0x7f,0x9b,0xbf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("40897764-ceab-47be-ad4a-8e28537f9bbf") +IWMPPlayerApplication : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE switchToPlayerApplication( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE switchToControl( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_playerDocked( + VARIANT_BOOL *pbPlayerDocked) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_hasDisplay( + VARIANT_BOOL *pbHasDisplay) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPPlayerApplication, 0x40897764, 0xceab, 0x47be, 0xad,0x4a, 0x8e,0x28,0x53,0x7f,0x9b,0xbf) +#endif +#else +typedef struct IWMPPlayerApplicationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPPlayerApplication *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPPlayerApplication *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPPlayerApplication *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPPlayerApplication *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPPlayerApplication *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPPlayerApplication *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPPlayerApplication *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPPlayerApplication methods ***/ + HRESULT (STDMETHODCALLTYPE *switchToPlayerApplication)( + IWMPPlayerApplication *This); + + HRESULT (STDMETHODCALLTYPE *switchToControl)( + IWMPPlayerApplication *This); + + HRESULT (STDMETHODCALLTYPE *get_playerDocked)( + IWMPPlayerApplication *This, + VARIANT_BOOL *pbPlayerDocked); + + HRESULT (STDMETHODCALLTYPE *get_hasDisplay)( + IWMPPlayerApplication *This, + VARIANT_BOOL *pbHasDisplay); + + END_INTERFACE +} IWMPPlayerApplicationVtbl; + +interface IWMPPlayerApplication { + CONST_VTBL IWMPPlayerApplicationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPPlayerApplication_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPPlayerApplication_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPPlayerApplication_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPPlayerApplication_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPPlayerApplication_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPPlayerApplication_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPPlayerApplication_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPPlayerApplication methods ***/ +#define IWMPPlayerApplication_switchToPlayerApplication(This) (This)->lpVtbl->switchToPlayerApplication(This) +#define IWMPPlayerApplication_switchToControl(This) (This)->lpVtbl->switchToControl(This) +#define IWMPPlayerApplication_get_playerDocked(This,pbPlayerDocked) (This)->lpVtbl->get_playerDocked(This,pbPlayerDocked) +#define IWMPPlayerApplication_get_hasDisplay(This,pbHasDisplay) (This)->lpVtbl->get_hasDisplay(This,pbHasDisplay) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPPlayerApplication_QueryInterface(IWMPPlayerApplication* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPPlayerApplication_AddRef(IWMPPlayerApplication* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPPlayerApplication_Release(IWMPPlayerApplication* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPPlayerApplication_GetTypeInfoCount(IWMPPlayerApplication* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPPlayerApplication_GetTypeInfo(IWMPPlayerApplication* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPPlayerApplication_GetIDsOfNames(IWMPPlayerApplication* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPPlayerApplication_Invoke(IWMPPlayerApplication* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPPlayerApplication methods ***/ +static FORCEINLINE HRESULT IWMPPlayerApplication_switchToPlayerApplication(IWMPPlayerApplication* This) { + return This->lpVtbl->switchToPlayerApplication(This); +} +static FORCEINLINE HRESULT IWMPPlayerApplication_switchToControl(IWMPPlayerApplication* This) { + return This->lpVtbl->switchToControl(This); +} +static FORCEINLINE HRESULT IWMPPlayerApplication_get_playerDocked(IWMPPlayerApplication* This,VARIANT_BOOL *pbPlayerDocked) { + return This->lpVtbl->get_playerDocked(This,pbPlayerDocked); +} +static FORCEINLINE HRESULT IWMPPlayerApplication_get_hasDisplay(IWMPPlayerApplication* This,VARIANT_BOOL *pbHasDisplay) { + return This->lpVtbl->get_hasDisplay(This,pbHasDisplay); +} +#endif +#endif + +#endif + + +#endif /* __IWMPPlayerApplication_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCore interface + */ +#ifndef __IWMPCore_INTERFACE_DEFINED__ +#define __IWMPCore_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCore, 0xd84cca99, 0xcce2, 0x11d2, 0x9e,0xcc, 0x00,0x00,0xf8,0x08,0x59,0x81); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d84cca99-cce2-11d2-9ecc-0000f8085981") +IWMPCore : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_URL( + BSTR *pbstrURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_URL( + BSTR pbstrURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_openState( + WMPOpenState *pwmpos) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_playState( + WMPPlayState *pwmpps) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_controls( + IWMPControls **ppControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_settings( + IWMPSettings **ppSettings) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentMedia( + IWMPMedia **ppMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_currentMedia( + IWMPMedia *ppMedia) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mediaCollection( + IWMPMediaCollection **ppMediaCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_playlistCollection( + IWMPPlaylistCollection **ppPlaylistCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_versionInfo( + BSTR *pbstrVersionInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE launchURL( + BSTR bstrURL) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_network( + IWMPNetwork **ppQNI) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_currentPlaylist( + IWMPPlaylist **ppPL) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_currentPlaylist( + IWMPPlaylist *ppPL) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_cdromCollection( + IWMPCdromCollection **ppCdromCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_closedCaption( + IWMPClosedCaption **ppClosedCaption) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isOnline( + VARIANT_BOOL *pfOnline) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Error( + IWMPError **ppError) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + BSTR *pbstrStatus) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCore, 0xd84cca99, 0xcce2, 0x11d2, 0x9e,0xcc, 0x00,0x00,0xf8,0x08,0x59,0x81) +#endif +#else +typedef struct IWMPCoreVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCore *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCore *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCore *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPCore *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPCore *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPCore *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPCore *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPCore methods ***/ + HRESULT (STDMETHODCALLTYPE *close)( + IWMPCore *This); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IWMPCore *This, + BSTR *pbstrURL); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IWMPCore *This, + BSTR pbstrURL); + + HRESULT (STDMETHODCALLTYPE *get_openState)( + IWMPCore *This, + WMPOpenState *pwmpos); + + HRESULT (STDMETHODCALLTYPE *get_playState)( + IWMPCore *This, + WMPPlayState *pwmpps); + + HRESULT (STDMETHODCALLTYPE *get_controls)( + IWMPCore *This, + IWMPControls **ppControl); + + HRESULT (STDMETHODCALLTYPE *get_settings)( + IWMPCore *This, + IWMPSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *get_currentMedia)( + IWMPCore *This, + IWMPMedia **ppMedia); + + HRESULT (STDMETHODCALLTYPE *put_currentMedia)( + IWMPCore *This, + IWMPMedia *ppMedia); + + HRESULT (STDMETHODCALLTYPE *get_mediaCollection)( + IWMPCore *This, + IWMPMediaCollection **ppMediaCollection); + + HRESULT (STDMETHODCALLTYPE *get_playlistCollection)( + IWMPCore *This, + IWMPPlaylistCollection **ppPlaylistCollection); + + HRESULT (STDMETHODCALLTYPE *get_versionInfo)( + IWMPCore *This, + BSTR *pbstrVersionInfo); + + HRESULT (STDMETHODCALLTYPE *launchURL)( + IWMPCore *This, + BSTR bstrURL); + + HRESULT (STDMETHODCALLTYPE *get_network)( + IWMPCore *This, + IWMPNetwork **ppQNI); + + HRESULT (STDMETHODCALLTYPE *get_currentPlaylist)( + IWMPCore *This, + IWMPPlaylist **ppPL); + + HRESULT (STDMETHODCALLTYPE *put_currentPlaylist)( + IWMPCore *This, + IWMPPlaylist *ppPL); + + HRESULT (STDMETHODCALLTYPE *get_cdromCollection)( + IWMPCore *This, + IWMPCdromCollection **ppCdromCollection); + + HRESULT (STDMETHODCALLTYPE *get_closedCaption)( + IWMPCore *This, + IWMPClosedCaption **ppClosedCaption); + + HRESULT (STDMETHODCALLTYPE *get_isOnline)( + IWMPCore *This, + VARIANT_BOOL *pfOnline); + + HRESULT (STDMETHODCALLTYPE *get_Error)( + IWMPCore *This, + IWMPError **ppError); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IWMPCore *This, + BSTR *pbstrStatus); + + END_INTERFACE +} IWMPCoreVtbl; + +interface IWMPCore { + CONST_VTBL IWMPCoreVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCore_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCore_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPCore_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPCore_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPCore_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPCore_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPCore methods ***/ +#define IWMPCore_close(This) (This)->lpVtbl->close(This) +#define IWMPCore_get_URL(This,pbstrURL) (This)->lpVtbl->get_URL(This,pbstrURL) +#define IWMPCore_put_URL(This,pbstrURL) (This)->lpVtbl->put_URL(This,pbstrURL) +#define IWMPCore_get_openState(This,pwmpos) (This)->lpVtbl->get_openState(This,pwmpos) +#define IWMPCore_get_playState(This,pwmpps) (This)->lpVtbl->get_playState(This,pwmpps) +#define IWMPCore_get_controls(This,ppControl) (This)->lpVtbl->get_controls(This,ppControl) +#define IWMPCore_get_settings(This,ppSettings) (This)->lpVtbl->get_settings(This,ppSettings) +#define IWMPCore_get_currentMedia(This,ppMedia) (This)->lpVtbl->get_currentMedia(This,ppMedia) +#define IWMPCore_put_currentMedia(This,ppMedia) (This)->lpVtbl->put_currentMedia(This,ppMedia) +#define IWMPCore_get_mediaCollection(This,ppMediaCollection) (This)->lpVtbl->get_mediaCollection(This,ppMediaCollection) +#define IWMPCore_get_playlistCollection(This,ppPlaylistCollection) (This)->lpVtbl->get_playlistCollection(This,ppPlaylistCollection) +#define IWMPCore_get_versionInfo(This,pbstrVersionInfo) (This)->lpVtbl->get_versionInfo(This,pbstrVersionInfo) +#define IWMPCore_launchURL(This,bstrURL) (This)->lpVtbl->launchURL(This,bstrURL) +#define IWMPCore_get_network(This,ppQNI) (This)->lpVtbl->get_network(This,ppQNI) +#define IWMPCore_get_currentPlaylist(This,ppPL) (This)->lpVtbl->get_currentPlaylist(This,ppPL) +#define IWMPCore_put_currentPlaylist(This,ppPL) (This)->lpVtbl->put_currentPlaylist(This,ppPL) +#define IWMPCore_get_cdromCollection(This,ppCdromCollection) (This)->lpVtbl->get_cdromCollection(This,ppCdromCollection) +#define IWMPCore_get_closedCaption(This,ppClosedCaption) (This)->lpVtbl->get_closedCaption(This,ppClosedCaption) +#define IWMPCore_get_isOnline(This,pfOnline) (This)->lpVtbl->get_isOnline(This,pfOnline) +#define IWMPCore_get_Error(This,ppError) (This)->lpVtbl->get_Error(This,ppError) +#define IWMPCore_get_status(This,pbstrStatus) (This)->lpVtbl->get_status(This,pbstrStatus) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCore_QueryInterface(IWMPCore* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCore_AddRef(IWMPCore* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCore_Release(IWMPCore* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPCore_GetTypeInfoCount(IWMPCore* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPCore_GetTypeInfo(IWMPCore* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPCore_GetIDsOfNames(IWMPCore* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPCore_Invoke(IWMPCore* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPCore methods ***/ +static FORCEINLINE HRESULT IWMPCore_close(IWMPCore* This) { + return This->lpVtbl->close(This); +} +static FORCEINLINE HRESULT IWMPCore_get_URL(IWMPCore* This,BSTR *pbstrURL) { + return This->lpVtbl->get_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPCore_put_URL(IWMPCore* This,BSTR pbstrURL) { + return This->lpVtbl->put_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPCore_get_openState(IWMPCore* This,WMPOpenState *pwmpos) { + return This->lpVtbl->get_openState(This,pwmpos); +} +static FORCEINLINE HRESULT IWMPCore_get_playState(IWMPCore* This,WMPPlayState *pwmpps) { + return This->lpVtbl->get_playState(This,pwmpps); +} +static FORCEINLINE HRESULT IWMPCore_get_controls(IWMPCore* This,IWMPControls **ppControl) { + return This->lpVtbl->get_controls(This,ppControl); +} +static FORCEINLINE HRESULT IWMPCore_get_settings(IWMPCore* This,IWMPSettings **ppSettings) { + return This->lpVtbl->get_settings(This,ppSettings); +} +static FORCEINLINE HRESULT IWMPCore_get_currentMedia(IWMPCore* This,IWMPMedia **ppMedia) { + return This->lpVtbl->get_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPCore_put_currentMedia(IWMPCore* This,IWMPMedia *ppMedia) { + return This->lpVtbl->put_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPCore_get_mediaCollection(IWMPCore* This,IWMPMediaCollection **ppMediaCollection) { + return This->lpVtbl->get_mediaCollection(This,ppMediaCollection); +} +static FORCEINLINE HRESULT IWMPCore_get_playlistCollection(IWMPCore* This,IWMPPlaylistCollection **ppPlaylistCollection) { + return This->lpVtbl->get_playlistCollection(This,ppPlaylistCollection); +} +static FORCEINLINE HRESULT IWMPCore_get_versionInfo(IWMPCore* This,BSTR *pbstrVersionInfo) { + return This->lpVtbl->get_versionInfo(This,pbstrVersionInfo); +} +static FORCEINLINE HRESULT IWMPCore_launchURL(IWMPCore* This,BSTR bstrURL) { + return This->lpVtbl->launchURL(This,bstrURL); +} +static FORCEINLINE HRESULT IWMPCore_get_network(IWMPCore* This,IWMPNetwork **ppQNI) { + return This->lpVtbl->get_network(This,ppQNI); +} +static FORCEINLINE HRESULT IWMPCore_get_currentPlaylist(IWMPCore* This,IWMPPlaylist **ppPL) { + return This->lpVtbl->get_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPCore_put_currentPlaylist(IWMPCore* This,IWMPPlaylist *ppPL) { + return This->lpVtbl->put_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPCore_get_cdromCollection(IWMPCore* This,IWMPCdromCollection **ppCdromCollection) { + return This->lpVtbl->get_cdromCollection(This,ppCdromCollection); +} +static FORCEINLINE HRESULT IWMPCore_get_closedCaption(IWMPCore* This,IWMPClosedCaption **ppClosedCaption) { + return This->lpVtbl->get_closedCaption(This,ppClosedCaption); +} +static FORCEINLINE HRESULT IWMPCore_get_isOnline(IWMPCore* This,VARIANT_BOOL *pfOnline) { + return This->lpVtbl->get_isOnline(This,pfOnline); +} +static FORCEINLINE HRESULT IWMPCore_get_Error(IWMPCore* This,IWMPError **ppError) { + return This->lpVtbl->get_Error(This,ppError); +} +static FORCEINLINE HRESULT IWMPCore_get_status(IWMPCore* This,BSTR *pbstrStatus) { + return This->lpVtbl->get_status(This,pbstrStatus); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCore_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCore2 interface + */ +#ifndef __IWMPCore2_INTERFACE_DEFINED__ +#define __IWMPCore2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCore2, 0xbc17e5b7, 0x7561, 0x4c18, 0xbb,0x90, 0x17,0xd4,0x85,0x77,0x56,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc17e5b7-7561-4c18-bb90-17d485775659") +IWMPCore2 : public IWMPCore +{ + virtual HRESULT STDMETHODCALLTYPE get_dvd( + IWMPDVD **ppDVD) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCore2, 0xbc17e5b7, 0x7561, 0x4c18, 0xbb,0x90, 0x17,0xd4,0x85,0x77,0x56,0x59) +#endif +#else +typedef struct IWMPCore2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCore2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCore2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCore2 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPCore2 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPCore2 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPCore2 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPCore2 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPCore methods ***/ + HRESULT (STDMETHODCALLTYPE *close)( + IWMPCore2 *This); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IWMPCore2 *This, + BSTR *pbstrURL); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IWMPCore2 *This, + BSTR pbstrURL); + + HRESULT (STDMETHODCALLTYPE *get_openState)( + IWMPCore2 *This, + WMPOpenState *pwmpos); + + HRESULT (STDMETHODCALLTYPE *get_playState)( + IWMPCore2 *This, + WMPPlayState *pwmpps); + + HRESULT (STDMETHODCALLTYPE *get_controls)( + IWMPCore2 *This, + IWMPControls **ppControl); + + HRESULT (STDMETHODCALLTYPE *get_settings)( + IWMPCore2 *This, + IWMPSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *get_currentMedia)( + IWMPCore2 *This, + IWMPMedia **ppMedia); + + HRESULT (STDMETHODCALLTYPE *put_currentMedia)( + IWMPCore2 *This, + IWMPMedia *ppMedia); + + HRESULT (STDMETHODCALLTYPE *get_mediaCollection)( + IWMPCore2 *This, + IWMPMediaCollection **ppMediaCollection); + + HRESULT (STDMETHODCALLTYPE *get_playlistCollection)( + IWMPCore2 *This, + IWMPPlaylistCollection **ppPlaylistCollection); + + HRESULT (STDMETHODCALLTYPE *get_versionInfo)( + IWMPCore2 *This, + BSTR *pbstrVersionInfo); + + HRESULT (STDMETHODCALLTYPE *launchURL)( + IWMPCore2 *This, + BSTR bstrURL); + + HRESULT (STDMETHODCALLTYPE *get_network)( + IWMPCore2 *This, + IWMPNetwork **ppQNI); + + HRESULT (STDMETHODCALLTYPE *get_currentPlaylist)( + IWMPCore2 *This, + IWMPPlaylist **ppPL); + + HRESULT (STDMETHODCALLTYPE *put_currentPlaylist)( + IWMPCore2 *This, + IWMPPlaylist *ppPL); + + HRESULT (STDMETHODCALLTYPE *get_cdromCollection)( + IWMPCore2 *This, + IWMPCdromCollection **ppCdromCollection); + + HRESULT (STDMETHODCALLTYPE *get_closedCaption)( + IWMPCore2 *This, + IWMPClosedCaption **ppClosedCaption); + + HRESULT (STDMETHODCALLTYPE *get_isOnline)( + IWMPCore2 *This, + VARIANT_BOOL *pfOnline); + + HRESULT (STDMETHODCALLTYPE *get_Error)( + IWMPCore2 *This, + IWMPError **ppError); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IWMPCore2 *This, + BSTR *pbstrStatus); + + /*** IWMPCore2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_dvd)( + IWMPCore2 *This, + IWMPDVD **ppDVD); + + END_INTERFACE +} IWMPCore2Vtbl; + +interface IWMPCore2 { + CONST_VTBL IWMPCore2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCore2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCore2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCore2_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPCore2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPCore2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPCore2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPCore2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPCore methods ***/ +#define IWMPCore2_close(This) (This)->lpVtbl->close(This) +#define IWMPCore2_get_URL(This,pbstrURL) (This)->lpVtbl->get_URL(This,pbstrURL) +#define IWMPCore2_put_URL(This,pbstrURL) (This)->lpVtbl->put_URL(This,pbstrURL) +#define IWMPCore2_get_openState(This,pwmpos) (This)->lpVtbl->get_openState(This,pwmpos) +#define IWMPCore2_get_playState(This,pwmpps) (This)->lpVtbl->get_playState(This,pwmpps) +#define IWMPCore2_get_controls(This,ppControl) (This)->lpVtbl->get_controls(This,ppControl) +#define IWMPCore2_get_settings(This,ppSettings) (This)->lpVtbl->get_settings(This,ppSettings) +#define IWMPCore2_get_currentMedia(This,ppMedia) (This)->lpVtbl->get_currentMedia(This,ppMedia) +#define IWMPCore2_put_currentMedia(This,ppMedia) (This)->lpVtbl->put_currentMedia(This,ppMedia) +#define IWMPCore2_get_mediaCollection(This,ppMediaCollection) (This)->lpVtbl->get_mediaCollection(This,ppMediaCollection) +#define IWMPCore2_get_playlistCollection(This,ppPlaylistCollection) (This)->lpVtbl->get_playlistCollection(This,ppPlaylistCollection) +#define IWMPCore2_get_versionInfo(This,pbstrVersionInfo) (This)->lpVtbl->get_versionInfo(This,pbstrVersionInfo) +#define IWMPCore2_launchURL(This,bstrURL) (This)->lpVtbl->launchURL(This,bstrURL) +#define IWMPCore2_get_network(This,ppQNI) (This)->lpVtbl->get_network(This,ppQNI) +#define IWMPCore2_get_currentPlaylist(This,ppPL) (This)->lpVtbl->get_currentPlaylist(This,ppPL) +#define IWMPCore2_put_currentPlaylist(This,ppPL) (This)->lpVtbl->put_currentPlaylist(This,ppPL) +#define IWMPCore2_get_cdromCollection(This,ppCdromCollection) (This)->lpVtbl->get_cdromCollection(This,ppCdromCollection) +#define IWMPCore2_get_closedCaption(This,ppClosedCaption) (This)->lpVtbl->get_closedCaption(This,ppClosedCaption) +#define IWMPCore2_get_isOnline(This,pfOnline) (This)->lpVtbl->get_isOnline(This,pfOnline) +#define IWMPCore2_get_Error(This,ppError) (This)->lpVtbl->get_Error(This,ppError) +#define IWMPCore2_get_status(This,pbstrStatus) (This)->lpVtbl->get_status(This,pbstrStatus) +/*** IWMPCore2 methods ***/ +#define IWMPCore2_get_dvd(This,ppDVD) (This)->lpVtbl->get_dvd(This,ppDVD) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCore2_QueryInterface(IWMPCore2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCore2_AddRef(IWMPCore2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCore2_Release(IWMPCore2* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPCore2_GetTypeInfoCount(IWMPCore2* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPCore2_GetTypeInfo(IWMPCore2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPCore2_GetIDsOfNames(IWMPCore2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPCore2_Invoke(IWMPCore2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPCore methods ***/ +static FORCEINLINE HRESULT IWMPCore2_close(IWMPCore2* This) { + return This->lpVtbl->close(This); +} +static FORCEINLINE HRESULT IWMPCore2_get_URL(IWMPCore2* This,BSTR *pbstrURL) { + return This->lpVtbl->get_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPCore2_put_URL(IWMPCore2* This,BSTR pbstrURL) { + return This->lpVtbl->put_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPCore2_get_openState(IWMPCore2* This,WMPOpenState *pwmpos) { + return This->lpVtbl->get_openState(This,pwmpos); +} +static FORCEINLINE HRESULT IWMPCore2_get_playState(IWMPCore2* This,WMPPlayState *pwmpps) { + return This->lpVtbl->get_playState(This,pwmpps); +} +static FORCEINLINE HRESULT IWMPCore2_get_controls(IWMPCore2* This,IWMPControls **ppControl) { + return This->lpVtbl->get_controls(This,ppControl); +} +static FORCEINLINE HRESULT IWMPCore2_get_settings(IWMPCore2* This,IWMPSettings **ppSettings) { + return This->lpVtbl->get_settings(This,ppSettings); +} +static FORCEINLINE HRESULT IWMPCore2_get_currentMedia(IWMPCore2* This,IWMPMedia **ppMedia) { + return This->lpVtbl->get_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPCore2_put_currentMedia(IWMPCore2* This,IWMPMedia *ppMedia) { + return This->lpVtbl->put_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPCore2_get_mediaCollection(IWMPCore2* This,IWMPMediaCollection **ppMediaCollection) { + return This->lpVtbl->get_mediaCollection(This,ppMediaCollection); +} +static FORCEINLINE HRESULT IWMPCore2_get_playlistCollection(IWMPCore2* This,IWMPPlaylistCollection **ppPlaylistCollection) { + return This->lpVtbl->get_playlistCollection(This,ppPlaylistCollection); +} +static FORCEINLINE HRESULT IWMPCore2_get_versionInfo(IWMPCore2* This,BSTR *pbstrVersionInfo) { + return This->lpVtbl->get_versionInfo(This,pbstrVersionInfo); +} +static FORCEINLINE HRESULT IWMPCore2_launchURL(IWMPCore2* This,BSTR bstrURL) { + return This->lpVtbl->launchURL(This,bstrURL); +} +static FORCEINLINE HRESULT IWMPCore2_get_network(IWMPCore2* This,IWMPNetwork **ppQNI) { + return This->lpVtbl->get_network(This,ppQNI); +} +static FORCEINLINE HRESULT IWMPCore2_get_currentPlaylist(IWMPCore2* This,IWMPPlaylist **ppPL) { + return This->lpVtbl->get_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPCore2_put_currentPlaylist(IWMPCore2* This,IWMPPlaylist *ppPL) { + return This->lpVtbl->put_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPCore2_get_cdromCollection(IWMPCore2* This,IWMPCdromCollection **ppCdromCollection) { + return This->lpVtbl->get_cdromCollection(This,ppCdromCollection); +} +static FORCEINLINE HRESULT IWMPCore2_get_closedCaption(IWMPCore2* This,IWMPClosedCaption **ppClosedCaption) { + return This->lpVtbl->get_closedCaption(This,ppClosedCaption); +} +static FORCEINLINE HRESULT IWMPCore2_get_isOnline(IWMPCore2* This,VARIANT_BOOL *pfOnline) { + return This->lpVtbl->get_isOnline(This,pfOnline); +} +static FORCEINLINE HRESULT IWMPCore2_get_Error(IWMPCore2* This,IWMPError **ppError) { + return This->lpVtbl->get_Error(This,ppError); +} +static FORCEINLINE HRESULT IWMPCore2_get_status(IWMPCore2* This,BSTR *pbstrStatus) { + return This->lpVtbl->get_status(This,pbstrStatus); +} +/*** IWMPCore2 methods ***/ +static FORCEINLINE HRESULT IWMPCore2_get_dvd(IWMPCore2* This,IWMPDVD **ppDVD) { + return This->lpVtbl->get_dvd(This,ppDVD); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCore2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCore3 interface + */ +#ifndef __IWMPCore3_INTERFACE_DEFINED__ +#define __IWMPCore3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCore3, 0x7587c667, 0x628f, 0x499f, 0x88,0xe7, 0x6a,0x6f,0x4e,0x88,0x84,0x64); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7587c667-628f-499f-88e7-6a6f4e888464") +IWMPCore3 : public IWMPCore2 +{ + virtual HRESULT STDMETHODCALLTYPE newPlaylist( + BSTR bstrName, + BSTR bstrURL, + IWMPPlaylist **ppPlaylist) = 0; + + virtual HRESULT STDMETHODCALLTYPE newMedia( + BSTR bstrURL, + IWMPMedia **ppMedia) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCore3, 0x7587c667, 0x628f, 0x499f, 0x88,0xe7, 0x6a,0x6f,0x4e,0x88,0x84,0x64) +#endif +#else +typedef struct IWMPCore3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCore3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCore3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCore3 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPCore3 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPCore3 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPCore3 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPCore3 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPCore methods ***/ + HRESULT (STDMETHODCALLTYPE *close)( + IWMPCore3 *This); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IWMPCore3 *This, + BSTR *pbstrURL); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IWMPCore3 *This, + BSTR pbstrURL); + + HRESULT (STDMETHODCALLTYPE *get_openState)( + IWMPCore3 *This, + WMPOpenState *pwmpos); + + HRESULT (STDMETHODCALLTYPE *get_playState)( + IWMPCore3 *This, + WMPPlayState *pwmpps); + + HRESULT (STDMETHODCALLTYPE *get_controls)( + IWMPCore3 *This, + IWMPControls **ppControl); + + HRESULT (STDMETHODCALLTYPE *get_settings)( + IWMPCore3 *This, + IWMPSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *get_currentMedia)( + IWMPCore3 *This, + IWMPMedia **ppMedia); + + HRESULT (STDMETHODCALLTYPE *put_currentMedia)( + IWMPCore3 *This, + IWMPMedia *ppMedia); + + HRESULT (STDMETHODCALLTYPE *get_mediaCollection)( + IWMPCore3 *This, + IWMPMediaCollection **ppMediaCollection); + + HRESULT (STDMETHODCALLTYPE *get_playlistCollection)( + IWMPCore3 *This, + IWMPPlaylistCollection **ppPlaylistCollection); + + HRESULT (STDMETHODCALLTYPE *get_versionInfo)( + IWMPCore3 *This, + BSTR *pbstrVersionInfo); + + HRESULT (STDMETHODCALLTYPE *launchURL)( + IWMPCore3 *This, + BSTR bstrURL); + + HRESULT (STDMETHODCALLTYPE *get_network)( + IWMPCore3 *This, + IWMPNetwork **ppQNI); + + HRESULT (STDMETHODCALLTYPE *get_currentPlaylist)( + IWMPCore3 *This, + IWMPPlaylist **ppPL); + + HRESULT (STDMETHODCALLTYPE *put_currentPlaylist)( + IWMPCore3 *This, + IWMPPlaylist *ppPL); + + HRESULT (STDMETHODCALLTYPE *get_cdromCollection)( + IWMPCore3 *This, + IWMPCdromCollection **ppCdromCollection); + + HRESULT (STDMETHODCALLTYPE *get_closedCaption)( + IWMPCore3 *This, + IWMPClosedCaption **ppClosedCaption); + + HRESULT (STDMETHODCALLTYPE *get_isOnline)( + IWMPCore3 *This, + VARIANT_BOOL *pfOnline); + + HRESULT (STDMETHODCALLTYPE *get_Error)( + IWMPCore3 *This, + IWMPError **ppError); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IWMPCore3 *This, + BSTR *pbstrStatus); + + /*** IWMPCore2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_dvd)( + IWMPCore3 *This, + IWMPDVD **ppDVD); + + /*** IWMPCore3 methods ***/ + HRESULT (STDMETHODCALLTYPE *newPlaylist)( + IWMPCore3 *This, + BSTR bstrName, + BSTR bstrURL, + IWMPPlaylist **ppPlaylist); + + HRESULT (STDMETHODCALLTYPE *newMedia)( + IWMPCore3 *This, + BSTR bstrURL, + IWMPMedia **ppMedia); + + END_INTERFACE +} IWMPCore3Vtbl; + +interface IWMPCore3 { + CONST_VTBL IWMPCore3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCore3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCore3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCore3_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPCore3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPCore3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPCore3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPCore3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPCore methods ***/ +#define IWMPCore3_close(This) (This)->lpVtbl->close(This) +#define IWMPCore3_get_URL(This,pbstrURL) (This)->lpVtbl->get_URL(This,pbstrURL) +#define IWMPCore3_put_URL(This,pbstrURL) (This)->lpVtbl->put_URL(This,pbstrURL) +#define IWMPCore3_get_openState(This,pwmpos) (This)->lpVtbl->get_openState(This,pwmpos) +#define IWMPCore3_get_playState(This,pwmpps) (This)->lpVtbl->get_playState(This,pwmpps) +#define IWMPCore3_get_controls(This,ppControl) (This)->lpVtbl->get_controls(This,ppControl) +#define IWMPCore3_get_settings(This,ppSettings) (This)->lpVtbl->get_settings(This,ppSettings) +#define IWMPCore3_get_currentMedia(This,ppMedia) (This)->lpVtbl->get_currentMedia(This,ppMedia) +#define IWMPCore3_put_currentMedia(This,ppMedia) (This)->lpVtbl->put_currentMedia(This,ppMedia) +#define IWMPCore3_get_mediaCollection(This,ppMediaCollection) (This)->lpVtbl->get_mediaCollection(This,ppMediaCollection) +#define IWMPCore3_get_playlistCollection(This,ppPlaylistCollection) (This)->lpVtbl->get_playlistCollection(This,ppPlaylistCollection) +#define IWMPCore3_get_versionInfo(This,pbstrVersionInfo) (This)->lpVtbl->get_versionInfo(This,pbstrVersionInfo) +#define IWMPCore3_launchURL(This,bstrURL) (This)->lpVtbl->launchURL(This,bstrURL) +#define IWMPCore3_get_network(This,ppQNI) (This)->lpVtbl->get_network(This,ppQNI) +#define IWMPCore3_get_currentPlaylist(This,ppPL) (This)->lpVtbl->get_currentPlaylist(This,ppPL) +#define IWMPCore3_put_currentPlaylist(This,ppPL) (This)->lpVtbl->put_currentPlaylist(This,ppPL) +#define IWMPCore3_get_cdromCollection(This,ppCdromCollection) (This)->lpVtbl->get_cdromCollection(This,ppCdromCollection) +#define IWMPCore3_get_closedCaption(This,ppClosedCaption) (This)->lpVtbl->get_closedCaption(This,ppClosedCaption) +#define IWMPCore3_get_isOnline(This,pfOnline) (This)->lpVtbl->get_isOnline(This,pfOnline) +#define IWMPCore3_get_Error(This,ppError) (This)->lpVtbl->get_Error(This,ppError) +#define IWMPCore3_get_status(This,pbstrStatus) (This)->lpVtbl->get_status(This,pbstrStatus) +/*** IWMPCore2 methods ***/ +#define IWMPCore3_get_dvd(This,ppDVD) (This)->lpVtbl->get_dvd(This,ppDVD) +/*** IWMPCore3 methods ***/ +#define IWMPCore3_newPlaylist(This,bstrName,bstrURL,ppPlaylist) (This)->lpVtbl->newPlaylist(This,bstrName,bstrURL,ppPlaylist) +#define IWMPCore3_newMedia(This,bstrURL,ppMedia) (This)->lpVtbl->newMedia(This,bstrURL,ppMedia) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCore3_QueryInterface(IWMPCore3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCore3_AddRef(IWMPCore3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCore3_Release(IWMPCore3* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPCore3_GetTypeInfoCount(IWMPCore3* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPCore3_GetTypeInfo(IWMPCore3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPCore3_GetIDsOfNames(IWMPCore3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPCore3_Invoke(IWMPCore3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPCore methods ***/ +static FORCEINLINE HRESULT IWMPCore3_close(IWMPCore3* This) { + return This->lpVtbl->close(This); +} +static FORCEINLINE HRESULT IWMPCore3_get_URL(IWMPCore3* This,BSTR *pbstrURL) { + return This->lpVtbl->get_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPCore3_put_URL(IWMPCore3* This,BSTR pbstrURL) { + return This->lpVtbl->put_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPCore3_get_openState(IWMPCore3* This,WMPOpenState *pwmpos) { + return This->lpVtbl->get_openState(This,pwmpos); +} +static FORCEINLINE HRESULT IWMPCore3_get_playState(IWMPCore3* This,WMPPlayState *pwmpps) { + return This->lpVtbl->get_playState(This,pwmpps); +} +static FORCEINLINE HRESULT IWMPCore3_get_controls(IWMPCore3* This,IWMPControls **ppControl) { + return This->lpVtbl->get_controls(This,ppControl); +} +static FORCEINLINE HRESULT IWMPCore3_get_settings(IWMPCore3* This,IWMPSettings **ppSettings) { + return This->lpVtbl->get_settings(This,ppSettings); +} +static FORCEINLINE HRESULT IWMPCore3_get_currentMedia(IWMPCore3* This,IWMPMedia **ppMedia) { + return This->lpVtbl->get_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPCore3_put_currentMedia(IWMPCore3* This,IWMPMedia *ppMedia) { + return This->lpVtbl->put_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPCore3_get_mediaCollection(IWMPCore3* This,IWMPMediaCollection **ppMediaCollection) { + return This->lpVtbl->get_mediaCollection(This,ppMediaCollection); +} +static FORCEINLINE HRESULT IWMPCore3_get_playlistCollection(IWMPCore3* This,IWMPPlaylistCollection **ppPlaylistCollection) { + return This->lpVtbl->get_playlistCollection(This,ppPlaylistCollection); +} +static FORCEINLINE HRESULT IWMPCore3_get_versionInfo(IWMPCore3* This,BSTR *pbstrVersionInfo) { + return This->lpVtbl->get_versionInfo(This,pbstrVersionInfo); +} +static FORCEINLINE HRESULT IWMPCore3_launchURL(IWMPCore3* This,BSTR bstrURL) { + return This->lpVtbl->launchURL(This,bstrURL); +} +static FORCEINLINE HRESULT IWMPCore3_get_network(IWMPCore3* This,IWMPNetwork **ppQNI) { + return This->lpVtbl->get_network(This,ppQNI); +} +static FORCEINLINE HRESULT IWMPCore3_get_currentPlaylist(IWMPCore3* This,IWMPPlaylist **ppPL) { + return This->lpVtbl->get_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPCore3_put_currentPlaylist(IWMPCore3* This,IWMPPlaylist *ppPL) { + return This->lpVtbl->put_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPCore3_get_cdromCollection(IWMPCore3* This,IWMPCdromCollection **ppCdromCollection) { + return This->lpVtbl->get_cdromCollection(This,ppCdromCollection); +} +static FORCEINLINE HRESULT IWMPCore3_get_closedCaption(IWMPCore3* This,IWMPClosedCaption **ppClosedCaption) { + return This->lpVtbl->get_closedCaption(This,ppClosedCaption); +} +static FORCEINLINE HRESULT IWMPCore3_get_isOnline(IWMPCore3* This,VARIANT_BOOL *pfOnline) { + return This->lpVtbl->get_isOnline(This,pfOnline); +} +static FORCEINLINE HRESULT IWMPCore3_get_Error(IWMPCore3* This,IWMPError **ppError) { + return This->lpVtbl->get_Error(This,ppError); +} +static FORCEINLINE HRESULT IWMPCore3_get_status(IWMPCore3* This,BSTR *pbstrStatus) { + return This->lpVtbl->get_status(This,pbstrStatus); +} +/*** IWMPCore2 methods ***/ +static FORCEINLINE HRESULT IWMPCore3_get_dvd(IWMPCore3* This,IWMPDVD **ppDVD) { + return This->lpVtbl->get_dvd(This,ppDVD); +} +/*** IWMPCore3 methods ***/ +static FORCEINLINE HRESULT IWMPCore3_newPlaylist(IWMPCore3* This,BSTR bstrName,BSTR bstrURL,IWMPPlaylist **ppPlaylist) { + return This->lpVtbl->newPlaylist(This,bstrName,bstrURL,ppPlaylist); +} +static FORCEINLINE HRESULT IWMPCore3_newMedia(IWMPCore3* This,BSTR bstrURL,IWMPMedia **ppMedia) { + return This->lpVtbl->newMedia(This,bstrURL,ppMedia); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCore3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPPlayer4 interface + */ +#ifndef __IWMPPlayer4_INTERFACE_DEFINED__ +#define __IWMPPlayer4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPPlayer4, 0x6c497d62, 0x8919, 0x413c, 0x82,0xdb, 0xe9,0x35,0xfb,0x3e,0xc5,0x84); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6c497d62-8919-413c-82db-e935fb3ec584") +IWMPPlayer4 : public IWMPCore3 +{ + virtual HRESULT STDMETHODCALLTYPE get_enabled( + VARIANT_BOOL *pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_enabled( + VARIANT_BOOL pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_fullScreen( + VARIANT_BOOL *pbFullScreen) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_fullScreen( + VARIANT_BOOL pbFullScreen) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_enableContextMenu( + VARIANT_BOOL *pbEnableContextMenu) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_enableContextMenu( + VARIANT_BOOL pbEnableContextMenu) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_uiMode( + BSTR pbstrMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_uiMode( + BSTR *pbstrMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_stretchToFit( + VARIANT_BOOL *pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_stretchToFit( + VARIANT_BOOL pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_windowlessVideo( + VARIANT_BOOL *pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_windowlessVideo( + VARIANT_BOOL pbEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_isRemote( + VARIANT_BOOL *pvarfIsRemote) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_playerApplication( + IWMPPlayerApplication **ppIWMPPlayerApplication) = 0; + + virtual HRESULT STDMETHODCALLTYPE openPlayer( + BSTR bstrURL) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPPlayer4, 0x6c497d62, 0x8919, 0x413c, 0x82,0xdb, 0xe9,0x35,0xfb,0x3e,0xc5,0x84) +#endif +#else +typedef struct IWMPPlayer4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPPlayer4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPPlayer4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPPlayer4 *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWMPPlayer4 *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWMPPlayer4 *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWMPPlayer4 *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWMPPlayer4 *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWMPCore methods ***/ + HRESULT (STDMETHODCALLTYPE *close)( + IWMPPlayer4 *This); + + HRESULT (STDMETHODCALLTYPE *get_URL)( + IWMPPlayer4 *This, + BSTR *pbstrURL); + + HRESULT (STDMETHODCALLTYPE *put_URL)( + IWMPPlayer4 *This, + BSTR pbstrURL); + + HRESULT (STDMETHODCALLTYPE *get_openState)( + IWMPPlayer4 *This, + WMPOpenState *pwmpos); + + HRESULT (STDMETHODCALLTYPE *get_playState)( + IWMPPlayer4 *This, + WMPPlayState *pwmpps); + + HRESULT (STDMETHODCALLTYPE *get_controls)( + IWMPPlayer4 *This, + IWMPControls **ppControl); + + HRESULT (STDMETHODCALLTYPE *get_settings)( + IWMPPlayer4 *This, + IWMPSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *get_currentMedia)( + IWMPPlayer4 *This, + IWMPMedia **ppMedia); + + HRESULT (STDMETHODCALLTYPE *put_currentMedia)( + IWMPPlayer4 *This, + IWMPMedia *ppMedia); + + HRESULT (STDMETHODCALLTYPE *get_mediaCollection)( + IWMPPlayer4 *This, + IWMPMediaCollection **ppMediaCollection); + + HRESULT (STDMETHODCALLTYPE *get_playlistCollection)( + IWMPPlayer4 *This, + IWMPPlaylistCollection **ppPlaylistCollection); + + HRESULT (STDMETHODCALLTYPE *get_versionInfo)( + IWMPPlayer4 *This, + BSTR *pbstrVersionInfo); + + HRESULT (STDMETHODCALLTYPE *launchURL)( + IWMPPlayer4 *This, + BSTR bstrURL); + + HRESULT (STDMETHODCALLTYPE *get_network)( + IWMPPlayer4 *This, + IWMPNetwork **ppQNI); + + HRESULT (STDMETHODCALLTYPE *get_currentPlaylist)( + IWMPPlayer4 *This, + IWMPPlaylist **ppPL); + + HRESULT (STDMETHODCALLTYPE *put_currentPlaylist)( + IWMPPlayer4 *This, + IWMPPlaylist *ppPL); + + HRESULT (STDMETHODCALLTYPE *get_cdromCollection)( + IWMPPlayer4 *This, + IWMPCdromCollection **ppCdromCollection); + + HRESULT (STDMETHODCALLTYPE *get_closedCaption)( + IWMPPlayer4 *This, + IWMPClosedCaption **ppClosedCaption); + + HRESULT (STDMETHODCALLTYPE *get_isOnline)( + IWMPPlayer4 *This, + VARIANT_BOOL *pfOnline); + + HRESULT (STDMETHODCALLTYPE *get_Error)( + IWMPPlayer4 *This, + IWMPError **ppError); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IWMPPlayer4 *This, + BSTR *pbstrStatus); + + /*** IWMPCore2 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_dvd)( + IWMPPlayer4 *This, + IWMPDVD **ppDVD); + + /*** IWMPCore3 methods ***/ + HRESULT (STDMETHODCALLTYPE *newPlaylist)( + IWMPPlayer4 *This, + BSTR bstrName, + BSTR bstrURL, + IWMPPlaylist **ppPlaylist); + + HRESULT (STDMETHODCALLTYPE *newMedia)( + IWMPPlayer4 *This, + BSTR bstrURL, + IWMPMedia **ppMedia); + + /*** IWMPPlayer4 methods ***/ + HRESULT (STDMETHODCALLTYPE *get_enabled)( + IWMPPlayer4 *This, + VARIANT_BOOL *pbEnabled); + + HRESULT (STDMETHODCALLTYPE *put_enabled)( + IWMPPlayer4 *This, + VARIANT_BOOL pbEnabled); + + HRESULT (STDMETHODCALLTYPE *get_fullScreen)( + IWMPPlayer4 *This, + VARIANT_BOOL *pbFullScreen); + + HRESULT (STDMETHODCALLTYPE *put_fullScreen)( + IWMPPlayer4 *This, + VARIANT_BOOL pbFullScreen); + + HRESULT (STDMETHODCALLTYPE *get_enableContextMenu)( + IWMPPlayer4 *This, + VARIANT_BOOL *pbEnableContextMenu); + + HRESULT (STDMETHODCALLTYPE *put_enableContextMenu)( + IWMPPlayer4 *This, + VARIANT_BOOL pbEnableContextMenu); + + HRESULT (STDMETHODCALLTYPE *put_uiMode)( + IWMPPlayer4 *This, + BSTR pbstrMode); + + HRESULT (STDMETHODCALLTYPE *get_uiMode)( + IWMPPlayer4 *This, + BSTR *pbstrMode); + + HRESULT (STDMETHODCALLTYPE *get_stretchToFit)( + IWMPPlayer4 *This, + VARIANT_BOOL *pbEnabled); + + HRESULT (STDMETHODCALLTYPE *put_stretchToFit)( + IWMPPlayer4 *This, + VARIANT_BOOL pbEnabled); + + HRESULT (STDMETHODCALLTYPE *get_windowlessVideo)( + IWMPPlayer4 *This, + VARIANT_BOOL *pbEnabled); + + HRESULT (STDMETHODCALLTYPE *put_windowlessVideo)( + IWMPPlayer4 *This, + VARIANT_BOOL pbEnabled); + + HRESULT (STDMETHODCALLTYPE *get_isRemote)( + IWMPPlayer4 *This, + VARIANT_BOOL *pvarfIsRemote); + + HRESULT (STDMETHODCALLTYPE *get_playerApplication)( + IWMPPlayer4 *This, + IWMPPlayerApplication **ppIWMPPlayerApplication); + + HRESULT (STDMETHODCALLTYPE *openPlayer)( + IWMPPlayer4 *This, + BSTR bstrURL); + + END_INTERFACE +} IWMPPlayer4Vtbl; + +interface IWMPPlayer4 { + CONST_VTBL IWMPPlayer4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPPlayer4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPPlayer4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPPlayer4_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWMPPlayer4_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWMPPlayer4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWMPPlayer4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWMPPlayer4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWMPCore methods ***/ +#define IWMPPlayer4_close(This) (This)->lpVtbl->close(This) +#define IWMPPlayer4_get_URL(This,pbstrURL) (This)->lpVtbl->get_URL(This,pbstrURL) +#define IWMPPlayer4_put_URL(This,pbstrURL) (This)->lpVtbl->put_URL(This,pbstrURL) +#define IWMPPlayer4_get_openState(This,pwmpos) (This)->lpVtbl->get_openState(This,pwmpos) +#define IWMPPlayer4_get_playState(This,pwmpps) (This)->lpVtbl->get_playState(This,pwmpps) +#define IWMPPlayer4_get_controls(This,ppControl) (This)->lpVtbl->get_controls(This,ppControl) +#define IWMPPlayer4_get_settings(This,ppSettings) (This)->lpVtbl->get_settings(This,ppSettings) +#define IWMPPlayer4_get_currentMedia(This,ppMedia) (This)->lpVtbl->get_currentMedia(This,ppMedia) +#define IWMPPlayer4_put_currentMedia(This,ppMedia) (This)->lpVtbl->put_currentMedia(This,ppMedia) +#define IWMPPlayer4_get_mediaCollection(This,ppMediaCollection) (This)->lpVtbl->get_mediaCollection(This,ppMediaCollection) +#define IWMPPlayer4_get_playlistCollection(This,ppPlaylistCollection) (This)->lpVtbl->get_playlistCollection(This,ppPlaylistCollection) +#define IWMPPlayer4_get_versionInfo(This,pbstrVersionInfo) (This)->lpVtbl->get_versionInfo(This,pbstrVersionInfo) +#define IWMPPlayer4_launchURL(This,bstrURL) (This)->lpVtbl->launchURL(This,bstrURL) +#define IWMPPlayer4_get_network(This,ppQNI) (This)->lpVtbl->get_network(This,ppQNI) +#define IWMPPlayer4_get_currentPlaylist(This,ppPL) (This)->lpVtbl->get_currentPlaylist(This,ppPL) +#define IWMPPlayer4_put_currentPlaylist(This,ppPL) (This)->lpVtbl->put_currentPlaylist(This,ppPL) +#define IWMPPlayer4_get_cdromCollection(This,ppCdromCollection) (This)->lpVtbl->get_cdromCollection(This,ppCdromCollection) +#define IWMPPlayer4_get_closedCaption(This,ppClosedCaption) (This)->lpVtbl->get_closedCaption(This,ppClosedCaption) +#define IWMPPlayer4_get_isOnline(This,pfOnline) (This)->lpVtbl->get_isOnline(This,pfOnline) +#define IWMPPlayer4_get_Error(This,ppError) (This)->lpVtbl->get_Error(This,ppError) +#define IWMPPlayer4_get_status(This,pbstrStatus) (This)->lpVtbl->get_status(This,pbstrStatus) +/*** IWMPCore2 methods ***/ +#define IWMPPlayer4_get_dvd(This,ppDVD) (This)->lpVtbl->get_dvd(This,ppDVD) +/*** IWMPCore3 methods ***/ +#define IWMPPlayer4_newPlaylist(This,bstrName,bstrURL,ppPlaylist) (This)->lpVtbl->newPlaylist(This,bstrName,bstrURL,ppPlaylist) +#define IWMPPlayer4_newMedia(This,bstrURL,ppMedia) (This)->lpVtbl->newMedia(This,bstrURL,ppMedia) +/*** IWMPPlayer4 methods ***/ +#define IWMPPlayer4_get_enabled(This,pbEnabled) (This)->lpVtbl->get_enabled(This,pbEnabled) +#define IWMPPlayer4_put_enabled(This,pbEnabled) (This)->lpVtbl->put_enabled(This,pbEnabled) +#define IWMPPlayer4_get_fullScreen(This,pbFullScreen) (This)->lpVtbl->get_fullScreen(This,pbFullScreen) +#define IWMPPlayer4_put_fullScreen(This,pbFullScreen) (This)->lpVtbl->put_fullScreen(This,pbFullScreen) +#define IWMPPlayer4_get_enableContextMenu(This,pbEnableContextMenu) (This)->lpVtbl->get_enableContextMenu(This,pbEnableContextMenu) +#define IWMPPlayer4_put_enableContextMenu(This,pbEnableContextMenu) (This)->lpVtbl->put_enableContextMenu(This,pbEnableContextMenu) +#define IWMPPlayer4_put_uiMode(This,pbstrMode) (This)->lpVtbl->put_uiMode(This,pbstrMode) +#define IWMPPlayer4_get_uiMode(This,pbstrMode) (This)->lpVtbl->get_uiMode(This,pbstrMode) +#define IWMPPlayer4_get_stretchToFit(This,pbEnabled) (This)->lpVtbl->get_stretchToFit(This,pbEnabled) +#define IWMPPlayer4_put_stretchToFit(This,pbEnabled) (This)->lpVtbl->put_stretchToFit(This,pbEnabled) +#define IWMPPlayer4_get_windowlessVideo(This,pbEnabled) (This)->lpVtbl->get_windowlessVideo(This,pbEnabled) +#define IWMPPlayer4_put_windowlessVideo(This,pbEnabled) (This)->lpVtbl->put_windowlessVideo(This,pbEnabled) +#define IWMPPlayer4_get_isRemote(This,pvarfIsRemote) (This)->lpVtbl->get_isRemote(This,pvarfIsRemote) +#define IWMPPlayer4_get_playerApplication(This,ppIWMPPlayerApplication) (This)->lpVtbl->get_playerApplication(This,ppIWMPPlayerApplication) +#define IWMPPlayer4_openPlayer(This,bstrURL) (This)->lpVtbl->openPlayer(This,bstrURL) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPPlayer4_QueryInterface(IWMPPlayer4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPPlayer4_AddRef(IWMPPlayer4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPPlayer4_Release(IWMPPlayer4* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWMPPlayer4_GetTypeInfoCount(IWMPPlayer4* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWMPPlayer4_GetTypeInfo(IWMPPlayer4* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWMPPlayer4_GetIDsOfNames(IWMPPlayer4* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWMPPlayer4_Invoke(IWMPPlayer4* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWMPCore methods ***/ +static FORCEINLINE HRESULT IWMPPlayer4_close(IWMPPlayer4* This) { + return This->lpVtbl->close(This); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_URL(IWMPPlayer4* This,BSTR *pbstrURL) { + return This->lpVtbl->get_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_URL(IWMPPlayer4* This,BSTR pbstrURL) { + return This->lpVtbl->put_URL(This,pbstrURL); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_openState(IWMPPlayer4* This,WMPOpenState *pwmpos) { + return This->lpVtbl->get_openState(This,pwmpos); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_playState(IWMPPlayer4* This,WMPPlayState *pwmpps) { + return This->lpVtbl->get_playState(This,pwmpps); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_controls(IWMPPlayer4* This,IWMPControls **ppControl) { + return This->lpVtbl->get_controls(This,ppControl); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_settings(IWMPPlayer4* This,IWMPSettings **ppSettings) { + return This->lpVtbl->get_settings(This,ppSettings); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_currentMedia(IWMPPlayer4* This,IWMPMedia **ppMedia) { + return This->lpVtbl->get_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_currentMedia(IWMPPlayer4* This,IWMPMedia *ppMedia) { + return This->lpVtbl->put_currentMedia(This,ppMedia); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_mediaCollection(IWMPPlayer4* This,IWMPMediaCollection **ppMediaCollection) { + return This->lpVtbl->get_mediaCollection(This,ppMediaCollection); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_playlistCollection(IWMPPlayer4* This,IWMPPlaylistCollection **ppPlaylistCollection) { + return This->lpVtbl->get_playlistCollection(This,ppPlaylistCollection); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_versionInfo(IWMPPlayer4* This,BSTR *pbstrVersionInfo) { + return This->lpVtbl->get_versionInfo(This,pbstrVersionInfo); +} +static FORCEINLINE HRESULT IWMPPlayer4_launchURL(IWMPPlayer4* This,BSTR bstrURL) { + return This->lpVtbl->launchURL(This,bstrURL); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_network(IWMPPlayer4* This,IWMPNetwork **ppQNI) { + return This->lpVtbl->get_network(This,ppQNI); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_currentPlaylist(IWMPPlayer4* This,IWMPPlaylist **ppPL) { + return This->lpVtbl->get_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_currentPlaylist(IWMPPlayer4* This,IWMPPlaylist *ppPL) { + return This->lpVtbl->put_currentPlaylist(This,ppPL); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_cdromCollection(IWMPPlayer4* This,IWMPCdromCollection **ppCdromCollection) { + return This->lpVtbl->get_cdromCollection(This,ppCdromCollection); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_closedCaption(IWMPPlayer4* This,IWMPClosedCaption **ppClosedCaption) { + return This->lpVtbl->get_closedCaption(This,ppClosedCaption); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_isOnline(IWMPPlayer4* This,VARIANT_BOOL *pfOnline) { + return This->lpVtbl->get_isOnline(This,pfOnline); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_Error(IWMPPlayer4* This,IWMPError **ppError) { + return This->lpVtbl->get_Error(This,ppError); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_status(IWMPPlayer4* This,BSTR *pbstrStatus) { + return This->lpVtbl->get_status(This,pbstrStatus); +} +/*** IWMPCore2 methods ***/ +static FORCEINLINE HRESULT IWMPPlayer4_get_dvd(IWMPPlayer4* This,IWMPDVD **ppDVD) { + return This->lpVtbl->get_dvd(This,ppDVD); +} +/*** IWMPCore3 methods ***/ +static FORCEINLINE HRESULT IWMPPlayer4_newPlaylist(IWMPPlayer4* This,BSTR bstrName,BSTR bstrURL,IWMPPlaylist **ppPlaylist) { + return This->lpVtbl->newPlaylist(This,bstrName,bstrURL,ppPlaylist); +} +static FORCEINLINE HRESULT IWMPPlayer4_newMedia(IWMPPlayer4* This,BSTR bstrURL,IWMPMedia **ppMedia) { + return This->lpVtbl->newMedia(This,bstrURL,ppMedia); +} +/*** IWMPPlayer4 methods ***/ +static FORCEINLINE HRESULT IWMPPlayer4_get_enabled(IWMPPlayer4* This,VARIANT_BOOL *pbEnabled) { + return This->lpVtbl->get_enabled(This,pbEnabled); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_enabled(IWMPPlayer4* This,VARIANT_BOOL pbEnabled) { + return This->lpVtbl->put_enabled(This,pbEnabled); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_fullScreen(IWMPPlayer4* This,VARIANT_BOOL *pbFullScreen) { + return This->lpVtbl->get_fullScreen(This,pbFullScreen); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_fullScreen(IWMPPlayer4* This,VARIANT_BOOL pbFullScreen) { + return This->lpVtbl->put_fullScreen(This,pbFullScreen); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_enableContextMenu(IWMPPlayer4* This,VARIANT_BOOL *pbEnableContextMenu) { + return This->lpVtbl->get_enableContextMenu(This,pbEnableContextMenu); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_enableContextMenu(IWMPPlayer4* This,VARIANT_BOOL pbEnableContextMenu) { + return This->lpVtbl->put_enableContextMenu(This,pbEnableContextMenu); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_uiMode(IWMPPlayer4* This,BSTR pbstrMode) { + return This->lpVtbl->put_uiMode(This,pbstrMode); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_uiMode(IWMPPlayer4* This,BSTR *pbstrMode) { + return This->lpVtbl->get_uiMode(This,pbstrMode); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_stretchToFit(IWMPPlayer4* This,VARIANT_BOOL *pbEnabled) { + return This->lpVtbl->get_stretchToFit(This,pbEnabled); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_stretchToFit(IWMPPlayer4* This,VARIANT_BOOL pbEnabled) { + return This->lpVtbl->put_stretchToFit(This,pbEnabled); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_windowlessVideo(IWMPPlayer4* This,VARIANT_BOOL *pbEnabled) { + return This->lpVtbl->get_windowlessVideo(This,pbEnabled); +} +static FORCEINLINE HRESULT IWMPPlayer4_put_windowlessVideo(IWMPPlayer4* This,VARIANT_BOOL pbEnabled) { + return This->lpVtbl->put_windowlessVideo(This,pbEnabled); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_isRemote(IWMPPlayer4* This,VARIANT_BOOL *pvarfIsRemote) { + return This->lpVtbl->get_isRemote(This,pvarfIsRemote); +} +static FORCEINLINE HRESULT IWMPPlayer4_get_playerApplication(IWMPPlayer4* This,IWMPPlayerApplication **ppIWMPPlayerApplication) { + return This->lpVtbl->get_playerApplication(This,ppIWMPPlayerApplication); +} +static FORCEINLINE HRESULT IWMPPlayer4_openPlayer(IWMPPlayer4* This,BSTR bstrURL) { + return This->lpVtbl->openPlayer(This,bstrURL); +} +#endif +#endif + +#endif + + +#endif /* __IWMPPlayer4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPSyncDevice interface + */ +#ifndef __IWMPSyncDevice_INTERFACE_DEFINED__ +#define __IWMPSyncDevice_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPSyncDevice, 0x82a2986c, 0x0293, 0x4fd0, 0xb2,0x79, 0xb2,0x1b,0x86,0xc0,0x58,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("82a2986c-0293-4fd0-b279-b21b86c058be") +IWMPSyncDevice : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_friendlyName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_friendlyName( + BSTR name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_deviceName( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_deviceId( + BSTR *device) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_partnershipIndex( + LONG *index) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_connected( + VARIANT_BOOL *connected) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_status( + WMPDeviceStatus *status) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_syncState( + WMPSyncState *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_progress( + LONG *progress) = 0; + + virtual HRESULT STDMETHODCALLTYPE getItemInfo( + BSTR name, + BSTR *val) = 0; + + virtual HRESULT STDMETHODCALLTYPE createPartnership( + VARIANT_BOOL showui) = 0; + + virtual HRESULT STDMETHODCALLTYPE deletePartnership( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE start( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE showSettings( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE isIdentical( + IWMPSyncDevice *device, + VARIANT_BOOL *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPSyncDevice, 0x82a2986c, 0x0293, 0x4fd0, 0xb2,0x79, 0xb2,0x1b,0x86,0xc0,0x58,0xbe) +#endif +#else +typedef struct IWMPSyncDeviceVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPSyncDevice *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPSyncDevice *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPSyncDevice *This); + + /*** IWMPSyncDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *get_friendlyName)( + IWMPSyncDevice *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_friendlyName)( + IWMPSyncDevice *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_deviceName)( + IWMPSyncDevice *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_deviceId)( + IWMPSyncDevice *This, + BSTR *device); + + HRESULT (STDMETHODCALLTYPE *get_partnershipIndex)( + IWMPSyncDevice *This, + LONG *index); + + HRESULT (STDMETHODCALLTYPE *get_connected)( + IWMPSyncDevice *This, + VARIANT_BOOL *connected); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IWMPSyncDevice *This, + WMPDeviceStatus *status); + + HRESULT (STDMETHODCALLTYPE *get_syncState)( + IWMPSyncDevice *This, + WMPSyncState *state); + + HRESULT (STDMETHODCALLTYPE *get_progress)( + IWMPSyncDevice *This, + LONG *progress); + + HRESULT (STDMETHODCALLTYPE *getItemInfo)( + IWMPSyncDevice *This, + BSTR name, + BSTR *val); + + HRESULT (STDMETHODCALLTYPE *createPartnership)( + IWMPSyncDevice *This, + VARIANT_BOOL showui); + + HRESULT (STDMETHODCALLTYPE *deletePartnership)( + IWMPSyncDevice *This); + + HRESULT (STDMETHODCALLTYPE *start)( + IWMPSyncDevice *This); + + HRESULT (STDMETHODCALLTYPE *stop)( + IWMPSyncDevice *This); + + HRESULT (STDMETHODCALLTYPE *showSettings)( + IWMPSyncDevice *This); + + HRESULT (STDMETHODCALLTYPE *isIdentical)( + IWMPSyncDevice *This, + IWMPSyncDevice *device, + VARIANT_BOOL *ret); + + END_INTERFACE +} IWMPSyncDeviceVtbl; + +interface IWMPSyncDevice { + CONST_VTBL IWMPSyncDeviceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPSyncDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPSyncDevice_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPSyncDevice_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPSyncDevice methods ***/ +#define IWMPSyncDevice_get_friendlyName(This,name) (This)->lpVtbl->get_friendlyName(This,name) +#define IWMPSyncDevice_put_friendlyName(This,name) (This)->lpVtbl->put_friendlyName(This,name) +#define IWMPSyncDevice_get_deviceName(This,name) (This)->lpVtbl->get_deviceName(This,name) +#define IWMPSyncDevice_get_deviceId(This,device) (This)->lpVtbl->get_deviceId(This,device) +#define IWMPSyncDevice_get_partnershipIndex(This,index) (This)->lpVtbl->get_partnershipIndex(This,index) +#define IWMPSyncDevice_get_connected(This,connected) (This)->lpVtbl->get_connected(This,connected) +#define IWMPSyncDevice_get_status(This,status) (This)->lpVtbl->get_status(This,status) +#define IWMPSyncDevice_get_syncState(This,state) (This)->lpVtbl->get_syncState(This,state) +#define IWMPSyncDevice_get_progress(This,progress) (This)->lpVtbl->get_progress(This,progress) +#define IWMPSyncDevice_getItemInfo(This,name,val) (This)->lpVtbl->getItemInfo(This,name,val) +#define IWMPSyncDevice_createPartnership(This,showui) (This)->lpVtbl->createPartnership(This,showui) +#define IWMPSyncDevice_deletePartnership(This) (This)->lpVtbl->deletePartnership(This) +#define IWMPSyncDevice_start(This) (This)->lpVtbl->start(This) +#define IWMPSyncDevice_stop(This) (This)->lpVtbl->stop(This) +#define IWMPSyncDevice_showSettings(This) (This)->lpVtbl->showSettings(This) +#define IWMPSyncDevice_isIdentical(This,device,ret) (This)->lpVtbl->isIdentical(This,device,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPSyncDevice_QueryInterface(IWMPSyncDevice* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPSyncDevice_AddRef(IWMPSyncDevice* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPSyncDevice_Release(IWMPSyncDevice* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPSyncDevice methods ***/ +static FORCEINLINE HRESULT IWMPSyncDevice_get_friendlyName(IWMPSyncDevice* This,BSTR *name) { + return This->lpVtbl->get_friendlyName(This,name); +} +static FORCEINLINE HRESULT IWMPSyncDevice_put_friendlyName(IWMPSyncDevice* This,BSTR name) { + return This->lpVtbl->put_friendlyName(This,name); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_deviceName(IWMPSyncDevice* This,BSTR *name) { + return This->lpVtbl->get_deviceName(This,name); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_deviceId(IWMPSyncDevice* This,BSTR *device) { + return This->lpVtbl->get_deviceId(This,device); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_partnershipIndex(IWMPSyncDevice* This,LONG *index) { + return This->lpVtbl->get_partnershipIndex(This,index); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_connected(IWMPSyncDevice* This,VARIANT_BOOL *connected) { + return This->lpVtbl->get_connected(This,connected); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_status(IWMPSyncDevice* This,WMPDeviceStatus *status) { + return This->lpVtbl->get_status(This,status); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_syncState(IWMPSyncDevice* This,WMPSyncState *state) { + return This->lpVtbl->get_syncState(This,state); +} +static FORCEINLINE HRESULT IWMPSyncDevice_get_progress(IWMPSyncDevice* This,LONG *progress) { + return This->lpVtbl->get_progress(This,progress); +} +static FORCEINLINE HRESULT IWMPSyncDevice_getItemInfo(IWMPSyncDevice* This,BSTR name,BSTR *val) { + return This->lpVtbl->getItemInfo(This,name,val); +} +static FORCEINLINE HRESULT IWMPSyncDevice_createPartnership(IWMPSyncDevice* This,VARIANT_BOOL showui) { + return This->lpVtbl->createPartnership(This,showui); +} +static FORCEINLINE HRESULT IWMPSyncDevice_deletePartnership(IWMPSyncDevice* This) { + return This->lpVtbl->deletePartnership(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice_start(IWMPSyncDevice* This) { + return This->lpVtbl->start(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice_stop(IWMPSyncDevice* This) { + return This->lpVtbl->stop(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice_showSettings(IWMPSyncDevice* This) { + return This->lpVtbl->showSettings(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice_isIdentical(IWMPSyncDevice* This,IWMPSyncDevice *device,VARIANT_BOOL *ret) { + return This->lpVtbl->isIdentical(This,device,ret); +} +#endif +#endif + +#endif + + +#endif /* __IWMPSyncDevice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPSyncDevice2 interface + */ +#ifndef __IWMPSyncDevice2_INTERFACE_DEFINED__ +#define __IWMPSyncDevice2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPSyncDevice2, 0x88afb4b2, 0x140a, 0x44d2, 0x91,0xe6, 0x45,0x43,0xda,0x46,0x7c,0xd1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("88afb4b2-140a-44d2-91e6-4543da467cd1") +IWMPSyncDevice2 : public IWMPSyncDevice +{ + virtual HRESULT STDMETHODCALLTYPE setItemInfo( + BSTR name, + BSTR val) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPSyncDevice2, 0x88afb4b2, 0x140a, 0x44d2, 0x91,0xe6, 0x45,0x43,0xda,0x46,0x7c,0xd1) +#endif +#else +typedef struct IWMPSyncDevice2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPSyncDevice2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPSyncDevice2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPSyncDevice2 *This); + + /*** IWMPSyncDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *get_friendlyName)( + IWMPSyncDevice2 *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *put_friendlyName)( + IWMPSyncDevice2 *This, + BSTR name); + + HRESULT (STDMETHODCALLTYPE *get_deviceName)( + IWMPSyncDevice2 *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_deviceId)( + IWMPSyncDevice2 *This, + BSTR *device); + + HRESULT (STDMETHODCALLTYPE *get_partnershipIndex)( + IWMPSyncDevice2 *This, + LONG *index); + + HRESULT (STDMETHODCALLTYPE *get_connected)( + IWMPSyncDevice2 *This, + VARIANT_BOOL *connected); + + HRESULT (STDMETHODCALLTYPE *get_status)( + IWMPSyncDevice2 *This, + WMPDeviceStatus *status); + + HRESULT (STDMETHODCALLTYPE *get_syncState)( + IWMPSyncDevice2 *This, + WMPSyncState *state); + + HRESULT (STDMETHODCALLTYPE *get_progress)( + IWMPSyncDevice2 *This, + LONG *progress); + + HRESULT (STDMETHODCALLTYPE *getItemInfo)( + IWMPSyncDevice2 *This, + BSTR name, + BSTR *val); + + HRESULT (STDMETHODCALLTYPE *createPartnership)( + IWMPSyncDevice2 *This, + VARIANT_BOOL showui); + + HRESULT (STDMETHODCALLTYPE *deletePartnership)( + IWMPSyncDevice2 *This); + + HRESULT (STDMETHODCALLTYPE *start)( + IWMPSyncDevice2 *This); + + HRESULT (STDMETHODCALLTYPE *stop)( + IWMPSyncDevice2 *This); + + HRESULT (STDMETHODCALLTYPE *showSettings)( + IWMPSyncDevice2 *This); + + HRESULT (STDMETHODCALLTYPE *isIdentical)( + IWMPSyncDevice2 *This, + IWMPSyncDevice *device, + VARIANT_BOOL *ret); + + /*** IWMPSyncDevice2 methods ***/ + HRESULT (STDMETHODCALLTYPE *setItemInfo)( + IWMPSyncDevice2 *This, + BSTR name, + BSTR val); + + END_INTERFACE +} IWMPSyncDevice2Vtbl; + +interface IWMPSyncDevice2 { + CONST_VTBL IWMPSyncDevice2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPSyncDevice2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPSyncDevice2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPSyncDevice2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPSyncDevice methods ***/ +#define IWMPSyncDevice2_get_friendlyName(This,name) (This)->lpVtbl->get_friendlyName(This,name) +#define IWMPSyncDevice2_put_friendlyName(This,name) (This)->lpVtbl->put_friendlyName(This,name) +#define IWMPSyncDevice2_get_deviceName(This,name) (This)->lpVtbl->get_deviceName(This,name) +#define IWMPSyncDevice2_get_deviceId(This,device) (This)->lpVtbl->get_deviceId(This,device) +#define IWMPSyncDevice2_get_partnershipIndex(This,index) (This)->lpVtbl->get_partnershipIndex(This,index) +#define IWMPSyncDevice2_get_connected(This,connected) (This)->lpVtbl->get_connected(This,connected) +#define IWMPSyncDevice2_get_status(This,status) (This)->lpVtbl->get_status(This,status) +#define IWMPSyncDevice2_get_syncState(This,state) (This)->lpVtbl->get_syncState(This,state) +#define IWMPSyncDevice2_get_progress(This,progress) (This)->lpVtbl->get_progress(This,progress) +#define IWMPSyncDevice2_getItemInfo(This,name,val) (This)->lpVtbl->getItemInfo(This,name,val) +#define IWMPSyncDevice2_createPartnership(This,showui) (This)->lpVtbl->createPartnership(This,showui) +#define IWMPSyncDevice2_deletePartnership(This) (This)->lpVtbl->deletePartnership(This) +#define IWMPSyncDevice2_start(This) (This)->lpVtbl->start(This) +#define IWMPSyncDevice2_stop(This) (This)->lpVtbl->stop(This) +#define IWMPSyncDevice2_showSettings(This) (This)->lpVtbl->showSettings(This) +#define IWMPSyncDevice2_isIdentical(This,device,ret) (This)->lpVtbl->isIdentical(This,device,ret) +/*** IWMPSyncDevice2 methods ***/ +#define IWMPSyncDevice2_setItemInfo(This,name,val) (This)->lpVtbl->setItemInfo(This,name,val) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPSyncDevice2_QueryInterface(IWMPSyncDevice2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPSyncDevice2_AddRef(IWMPSyncDevice2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPSyncDevice2_Release(IWMPSyncDevice2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPSyncDevice methods ***/ +static FORCEINLINE HRESULT IWMPSyncDevice2_get_friendlyName(IWMPSyncDevice2* This,BSTR *name) { + return This->lpVtbl->get_friendlyName(This,name); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_put_friendlyName(IWMPSyncDevice2* This,BSTR name) { + return This->lpVtbl->put_friendlyName(This,name); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_deviceName(IWMPSyncDevice2* This,BSTR *name) { + return This->lpVtbl->get_deviceName(This,name); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_deviceId(IWMPSyncDevice2* This,BSTR *device) { + return This->lpVtbl->get_deviceId(This,device); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_partnershipIndex(IWMPSyncDevice2* This,LONG *index) { + return This->lpVtbl->get_partnershipIndex(This,index); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_connected(IWMPSyncDevice2* This,VARIANT_BOOL *connected) { + return This->lpVtbl->get_connected(This,connected); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_status(IWMPSyncDevice2* This,WMPDeviceStatus *status) { + return This->lpVtbl->get_status(This,status); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_syncState(IWMPSyncDevice2* This,WMPSyncState *state) { + return This->lpVtbl->get_syncState(This,state); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_get_progress(IWMPSyncDevice2* This,LONG *progress) { + return This->lpVtbl->get_progress(This,progress); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_getItemInfo(IWMPSyncDevice2* This,BSTR name,BSTR *val) { + return This->lpVtbl->getItemInfo(This,name,val); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_createPartnership(IWMPSyncDevice2* This,VARIANT_BOOL showui) { + return This->lpVtbl->createPartnership(This,showui); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_deletePartnership(IWMPSyncDevice2* This) { + return This->lpVtbl->deletePartnership(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_start(IWMPSyncDevice2* This) { + return This->lpVtbl->start(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_stop(IWMPSyncDevice2* This) { + return This->lpVtbl->stop(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_showSettings(IWMPSyncDevice2* This) { + return This->lpVtbl->showSettings(This); +} +static FORCEINLINE HRESULT IWMPSyncDevice2_isIdentical(IWMPSyncDevice2* This,IWMPSyncDevice *device,VARIANT_BOOL *ret) { + return This->lpVtbl->isIdentical(This,device,ret); +} +/*** IWMPSyncDevice2 methods ***/ +static FORCEINLINE HRESULT IWMPSyncDevice2_setItemInfo(IWMPSyncDevice2* This,BSTR name,BSTR val) { + return This->lpVtbl->setItemInfo(This,name,val); +} +#endif +#endif + +#endif + + +#endif /* __IWMPSyncDevice2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCdromRip interface + */ +#ifndef __IWMPCdromRip_INTERFACE_DEFINED__ +#define __IWMPCdromRip_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCdromRip, 0x56e2294f, 0x69ed, 0x4629, 0xa8,0x69, 0xae,0xa7,0x2c,0x0d,0xcc,0x2c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("56e2294f-69ed-4629-a869-aea72c0dcc2c") +IWMPCdromRip : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_ripState( + WMPRipState *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ripProgress( + LONG *progress) = 0; + + virtual HRESULT STDMETHODCALLTYPE startRip( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE stopRip( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCdromRip, 0x56e2294f, 0x69ed, 0x4629, 0xa8,0x69, 0xae,0xa7,0x2c,0x0d,0xcc,0x2c) +#endif +#else +typedef struct IWMPCdromRipVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCdromRip *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCdromRip *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCdromRip *This); + + /*** IWMPCdromRip methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ripState)( + IWMPCdromRip *This, + WMPRipState *state); + + HRESULT (STDMETHODCALLTYPE *get_ripProgress)( + IWMPCdromRip *This, + LONG *progress); + + HRESULT (STDMETHODCALLTYPE *startRip)( + IWMPCdromRip *This); + + HRESULT (STDMETHODCALLTYPE *stopRip)( + IWMPCdromRip *This); + + END_INTERFACE +} IWMPCdromRipVtbl; + +interface IWMPCdromRip { + CONST_VTBL IWMPCdromRipVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCdromRip_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCdromRip_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCdromRip_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPCdromRip methods ***/ +#define IWMPCdromRip_get_ripState(This,state) (This)->lpVtbl->get_ripState(This,state) +#define IWMPCdromRip_get_ripProgress(This,progress) (This)->lpVtbl->get_ripProgress(This,progress) +#define IWMPCdromRip_startRip(This) (This)->lpVtbl->startRip(This) +#define IWMPCdromRip_stopRip(This) (This)->lpVtbl->stopRip(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCdromRip_QueryInterface(IWMPCdromRip* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCdromRip_AddRef(IWMPCdromRip* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCdromRip_Release(IWMPCdromRip* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPCdromRip methods ***/ +static FORCEINLINE HRESULT IWMPCdromRip_get_ripState(IWMPCdromRip* This,WMPRipState *state) { + return This->lpVtbl->get_ripState(This,state); +} +static FORCEINLINE HRESULT IWMPCdromRip_get_ripProgress(IWMPCdromRip* This,LONG *progress) { + return This->lpVtbl->get_ripProgress(This,progress); +} +static FORCEINLINE HRESULT IWMPCdromRip_startRip(IWMPCdromRip* This) { + return This->lpVtbl->startRip(This); +} +static FORCEINLINE HRESULT IWMPCdromRip_stopRip(IWMPCdromRip* This) { + return This->lpVtbl->stopRip(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCdromRip_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPCdromBurn interface + */ +#ifndef __IWMPCdromBurn_INTERFACE_DEFINED__ +#define __IWMPCdromBurn_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPCdromBurn, 0xbd94dbeb, 0x417f, 0x4928, 0xaa,0x06, 0x08,0x7d,0x56,0xed,0x9b,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bd94dbeb-417f-4928-aa06-087d56ed9b59") +IWMPCdromBurn : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE isAvailable( + BSTR item, + VARIANT_BOOL *available) = 0; + + virtual HRESULT STDMETHODCALLTYPE getItemInfo( + BSTR item, + BSTR *val) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_label( + BSTR *label) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_label( + BSTR label) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_burnFormat( + WMPBurnFormat *format) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_burnFormat( + WMPBurnFormat format) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_burnPlaylist( + IWMPPlaylist **playlist) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_burnPlaylist( + IWMPPlaylist *playlist) = 0; + + virtual HRESULT STDMETHODCALLTYPE refreshStatus( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_burnState( + WMPBurnState *state) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_burnProgress( + LONG *progress) = 0; + + virtual HRESULT STDMETHODCALLTYPE startBurn( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE stopBurn( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE erase( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPCdromBurn, 0xbd94dbeb, 0x417f, 0x4928, 0xaa,0x06, 0x08,0x7d,0x56,0xed,0x9b,0x59) +#endif +#else +typedef struct IWMPCdromBurnVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPCdromBurn *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPCdromBurn *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPCdromBurn *This); + + /*** IWMPCdromBurn methods ***/ + HRESULT (STDMETHODCALLTYPE *isAvailable)( + IWMPCdromBurn *This, + BSTR item, + VARIANT_BOOL *available); + + HRESULT (STDMETHODCALLTYPE *getItemInfo)( + IWMPCdromBurn *This, + BSTR item, + BSTR *val); + + HRESULT (STDMETHODCALLTYPE *get_label)( + IWMPCdromBurn *This, + BSTR *label); + + HRESULT (STDMETHODCALLTYPE *put_label)( + IWMPCdromBurn *This, + BSTR label); + + HRESULT (STDMETHODCALLTYPE *get_burnFormat)( + IWMPCdromBurn *This, + WMPBurnFormat *format); + + HRESULT (STDMETHODCALLTYPE *put_burnFormat)( + IWMPCdromBurn *This, + WMPBurnFormat format); + + HRESULT (STDMETHODCALLTYPE *get_burnPlaylist)( + IWMPCdromBurn *This, + IWMPPlaylist **playlist); + + HRESULT (STDMETHODCALLTYPE *put_burnPlaylist)( + IWMPCdromBurn *This, + IWMPPlaylist *playlist); + + HRESULT (STDMETHODCALLTYPE *refreshStatus)( + IWMPCdromBurn *This); + + HRESULT (STDMETHODCALLTYPE *get_burnState)( + IWMPCdromBurn *This, + WMPBurnState *state); + + HRESULT (STDMETHODCALLTYPE *get_burnProgress)( + IWMPCdromBurn *This, + LONG *progress); + + HRESULT (STDMETHODCALLTYPE *startBurn)( + IWMPCdromBurn *This); + + HRESULT (STDMETHODCALLTYPE *stopBurn)( + IWMPCdromBurn *This); + + HRESULT (STDMETHODCALLTYPE *erase)( + IWMPCdromBurn *This); + + END_INTERFACE +} IWMPCdromBurnVtbl; + +interface IWMPCdromBurn { + CONST_VTBL IWMPCdromBurnVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPCdromBurn_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPCdromBurn_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPCdromBurn_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPCdromBurn methods ***/ +#define IWMPCdromBurn_isAvailable(This,item,available) (This)->lpVtbl->isAvailable(This,item,available) +#define IWMPCdromBurn_getItemInfo(This,item,val) (This)->lpVtbl->getItemInfo(This,item,val) +#define IWMPCdromBurn_get_label(This,label) (This)->lpVtbl->get_label(This,label) +#define IWMPCdromBurn_put_label(This,label) (This)->lpVtbl->put_label(This,label) +#define IWMPCdromBurn_get_burnFormat(This,format) (This)->lpVtbl->get_burnFormat(This,format) +#define IWMPCdromBurn_put_burnFormat(This,format) (This)->lpVtbl->put_burnFormat(This,format) +#define IWMPCdromBurn_get_burnPlaylist(This,playlist) (This)->lpVtbl->get_burnPlaylist(This,playlist) +#define IWMPCdromBurn_put_burnPlaylist(This,playlist) (This)->lpVtbl->put_burnPlaylist(This,playlist) +#define IWMPCdromBurn_refreshStatus(This) (This)->lpVtbl->refreshStatus(This) +#define IWMPCdromBurn_get_burnState(This,state) (This)->lpVtbl->get_burnState(This,state) +#define IWMPCdromBurn_get_burnProgress(This,progress) (This)->lpVtbl->get_burnProgress(This,progress) +#define IWMPCdromBurn_startBurn(This) (This)->lpVtbl->startBurn(This) +#define IWMPCdromBurn_stopBurn(This) (This)->lpVtbl->stopBurn(This) +#define IWMPCdromBurn_erase(This) (This)->lpVtbl->erase(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPCdromBurn_QueryInterface(IWMPCdromBurn* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPCdromBurn_AddRef(IWMPCdromBurn* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPCdromBurn_Release(IWMPCdromBurn* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPCdromBurn methods ***/ +static FORCEINLINE HRESULT IWMPCdromBurn_isAvailable(IWMPCdromBurn* This,BSTR item,VARIANT_BOOL *available) { + return This->lpVtbl->isAvailable(This,item,available); +} +static FORCEINLINE HRESULT IWMPCdromBurn_getItemInfo(IWMPCdromBurn* This,BSTR item,BSTR *val) { + return This->lpVtbl->getItemInfo(This,item,val); +} +static FORCEINLINE HRESULT IWMPCdromBurn_get_label(IWMPCdromBurn* This,BSTR *label) { + return This->lpVtbl->get_label(This,label); +} +static FORCEINLINE HRESULT IWMPCdromBurn_put_label(IWMPCdromBurn* This,BSTR label) { + return This->lpVtbl->put_label(This,label); +} +static FORCEINLINE HRESULT IWMPCdromBurn_get_burnFormat(IWMPCdromBurn* This,WMPBurnFormat *format) { + return This->lpVtbl->get_burnFormat(This,format); +} +static FORCEINLINE HRESULT IWMPCdromBurn_put_burnFormat(IWMPCdromBurn* This,WMPBurnFormat format) { + return This->lpVtbl->put_burnFormat(This,format); +} +static FORCEINLINE HRESULT IWMPCdromBurn_get_burnPlaylist(IWMPCdromBurn* This,IWMPPlaylist **playlist) { + return This->lpVtbl->get_burnPlaylist(This,playlist); +} +static FORCEINLINE HRESULT IWMPCdromBurn_put_burnPlaylist(IWMPCdromBurn* This,IWMPPlaylist *playlist) { + return This->lpVtbl->put_burnPlaylist(This,playlist); +} +static FORCEINLINE HRESULT IWMPCdromBurn_refreshStatus(IWMPCdromBurn* This) { + return This->lpVtbl->refreshStatus(This); +} +static FORCEINLINE HRESULT IWMPCdromBurn_get_burnState(IWMPCdromBurn* This,WMPBurnState *state) { + return This->lpVtbl->get_burnState(This,state); +} +static FORCEINLINE HRESULT IWMPCdromBurn_get_burnProgress(IWMPCdromBurn* This,LONG *progress) { + return This->lpVtbl->get_burnProgress(This,progress); +} +static FORCEINLINE HRESULT IWMPCdromBurn_startBurn(IWMPCdromBurn* This) { + return This->lpVtbl->startBurn(This); +} +static FORCEINLINE HRESULT IWMPCdromBurn_stopBurn(IWMPCdromBurn* This) { + return This->lpVtbl->stopBurn(This); +} +static FORCEINLINE HRESULT IWMPCdromBurn_erase(IWMPCdromBurn* This) { + return This->lpVtbl->erase(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMPCdromBurn_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPLibrary interface + */ +#ifndef __IWMPLibrary_INTERFACE_DEFINED__ +#define __IWMPLibrary_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPLibrary, 0x3df47861, 0x7df1, 0x4c1f, 0xa8,0x1b, 0x4c,0x26,0xf0,0xf7,0xa7,0xc6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3df47861-7df1-4c1f-a81b-4c26f0f7a7c6") +IWMPLibrary : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE get_name( + BSTR *name) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_type( + WMPLibraryType *type) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_mediaCollection( + IWMPMediaCollection **collection) = 0; + + virtual HRESULT STDMETHODCALLTYPE isIdentical( + IWMPLibrary *wmplibrary, + VARIANT_BOOL *ret) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPLibrary, 0x3df47861, 0x7df1, 0x4c1f, 0xa8,0x1b, 0x4c,0x26,0xf0,0xf7,0xa7,0xc6) +#endif +#else +typedef struct IWMPLibraryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPLibrary *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPLibrary *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPLibrary *This); + + /*** IWMPLibrary methods ***/ + HRESULT (STDMETHODCALLTYPE *get_name)( + IWMPLibrary *This, + BSTR *name); + + HRESULT (STDMETHODCALLTYPE *get_type)( + IWMPLibrary *This, + WMPLibraryType *type); + + HRESULT (STDMETHODCALLTYPE *get_mediaCollection)( + IWMPLibrary *This, + IWMPMediaCollection **collection); + + HRESULT (STDMETHODCALLTYPE *isIdentical)( + IWMPLibrary *This, + IWMPLibrary *wmplibrary, + VARIANT_BOOL *ret); + + END_INTERFACE +} IWMPLibraryVtbl; + +interface IWMPLibrary { + CONST_VTBL IWMPLibraryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPLibrary_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPLibrary_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPLibrary_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPLibrary methods ***/ +#define IWMPLibrary_get_name(This,name) (This)->lpVtbl->get_name(This,name) +#define IWMPLibrary_get_type(This,type) (This)->lpVtbl->get_type(This,type) +#define IWMPLibrary_get_mediaCollection(This,collection) (This)->lpVtbl->get_mediaCollection(This,collection) +#define IWMPLibrary_isIdentical(This,wmplibrary,ret) (This)->lpVtbl->isIdentical(This,wmplibrary,ret) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPLibrary_QueryInterface(IWMPLibrary* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPLibrary_AddRef(IWMPLibrary* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPLibrary_Release(IWMPLibrary* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPLibrary methods ***/ +static FORCEINLINE HRESULT IWMPLibrary_get_name(IWMPLibrary* This,BSTR *name) { + return This->lpVtbl->get_name(This,name); +} +static FORCEINLINE HRESULT IWMPLibrary_get_type(IWMPLibrary* This,WMPLibraryType *type) { + return This->lpVtbl->get_type(This,type); +} +static FORCEINLINE HRESULT IWMPLibrary_get_mediaCollection(IWMPLibrary* This,IWMPMediaCollection **collection) { + return This->lpVtbl->get_mediaCollection(This,collection); +} +static FORCEINLINE HRESULT IWMPLibrary_isIdentical(IWMPLibrary* This,IWMPLibrary *wmplibrary,VARIANT_BOOL *ret) { + return This->lpVtbl->isIdentical(This,wmplibrary,ret); +} +#endif +#endif + +#endif + + +#endif /* __IWMPLibrary_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPEvents interface + */ +#ifndef __IWMPEvents_INTERFACE_DEFINED__ +#define __IWMPEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPEvents, 0x19a6627b, 0xda9e, 0x47c1, 0xbb,0x23, 0x00,0xb5,0xe6,0x68,0x23,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("19a6627b-da9e-47c1-bb23-00b5e668236a") +IWMPEvents : public IUnknown +{ + virtual void STDMETHODCALLTYPE OpenStateChange( + LONG state) = 0; + + virtual void STDMETHODCALLTYPE PlayStateChange( + LONG state) = 0; + + virtual void STDMETHODCALLTYPE AudioLanguageChange( + LONG lang) = 0; + + virtual void STDMETHODCALLTYPE StatusChange( + ) = 0; + + virtual void STDMETHODCALLTYPE ScriptCommand( + BSTR type, + BSTR param) = 0; + + virtual void STDMETHODCALLTYPE NewStream( + ) = 0; + + virtual void STDMETHODCALLTYPE Disconnect( + LONG result) = 0; + + virtual void STDMETHODCALLTYPE Buffering( + VARIANT_BOOL start) = 0; + + virtual void STDMETHODCALLTYPE Error( + ) = 0; + + virtual void STDMETHODCALLTYPE Warning( + LONG warning, + LONG param, + BSTR description) = 0; + + virtual void STDMETHODCALLTYPE EndOfStream( + LONG result) = 0; + + virtual void STDMETHODCALLTYPE PositionChange( + double old_position, + double new_position) = 0; + + virtual void STDMETHODCALLTYPE MarkerHit( + LONG marker) = 0; + + virtual void STDMETHODCALLTYPE DurationUnitChange( + LONG duration) = 0; + + virtual void STDMETHODCALLTYPE CdromMediaChange( + LONG num) = 0; + + virtual void STDMETHODCALLTYPE PlaylistChange( + IDispatch *playlist, + WMPPlaylistChangeEventType change) = 0; + + virtual void STDMETHODCALLTYPE CurrentPlaylistChange( + WMPPlaylistChangeEventType change) = 0; + + virtual void STDMETHODCALLTYPE CurrentPlaylistItemAvailable( + BSTR item) = 0; + + virtual void STDMETHODCALLTYPE MediaChange( + IDispatch *item) = 0; + + virtual void STDMETHODCALLTYPE CurrentMediaItemAvailable( + BSTR name) = 0; + + virtual void STDMETHODCALLTYPE CurrentItemChange( + IDispatch *media) = 0; + + virtual void STDMETHODCALLTYPE MediaCollectionChange( + ) = 0; + + virtual void STDMETHODCALLTYPE MediaCollectionAttributeStringAdded( + BSTR name, + BSTR val) = 0; + + virtual void STDMETHODCALLTYPE MediaCollectionAttributeStringRemoved( + BSTR name, + BSTR val) = 0; + + virtual void STDMETHODCALLTYPE MediaCollectionAttributeStringChanged( + BSTR name, + BSTR old_val, + BSTR new_val) = 0; + + virtual void STDMETHODCALLTYPE PlaylistCollectionChange( + ) = 0; + + virtual void STDMETHODCALLTYPE PlaylistCollectionPlaylistAdded( + BSTR name) = 0; + + virtual void STDMETHODCALLTYPE PlaylistCollectionPlaylistRemoved( + BSTR name) = 0; + + virtual void STDMETHODCALLTYPE PlaylistCollectionPlaylistSetAsDeleted( + BSTR name, + VARIANT_BOOL deleted) = 0; + + virtual void STDMETHODCALLTYPE ModeChange( + BSTR ModeName, + VARIANT_BOOL value) = 0; + + virtual void STDMETHODCALLTYPE MediaError( + IDispatch *media) = 0; + + virtual void STDMETHODCALLTYPE OpenPlaylistSwitch( + IDispatch *item) = 0; + + virtual void STDMETHODCALLTYPE DomainChange( + BSTR domain) = 0; + + virtual void STDMETHODCALLTYPE SwitchedToPlayerApplication( + ) = 0; + + virtual void STDMETHODCALLTYPE SwitchedToControl( + ) = 0; + + virtual void STDMETHODCALLTYPE PlayerDockedStateChange( + ) = 0; + + virtual void STDMETHODCALLTYPE PlayerReconnect( + ) = 0; + + virtual void STDMETHODCALLTYPE Click( + short button, + short shift_state, + LONG x, + LONG y) = 0; + + virtual void STDMETHODCALLTYPE DoubleClick( + short button, + short shift_state, + LONG fX, + LONG fY) = 0; + + virtual void STDMETHODCALLTYPE KeyDown( + short keycode, + short shift_state) = 0; + + virtual void STDMETHODCALLTYPE KeyPress( + short ascii) = 0; + + virtual void STDMETHODCALLTYPE KeyUp( + short keycode, + short shift_state) = 0; + + virtual void STDMETHODCALLTYPE MouseDown( + short button, + short nShiftState, + LONG x, + LONG y) = 0; + + virtual void STDMETHODCALLTYPE MouseMove( + short button, + short shift_state, + LONG x, + LONG y) = 0; + + virtual void STDMETHODCALLTYPE MouseUp( + short button, + short shift_state, + LONG x, + LONG y) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPEvents, 0x19a6627b, 0xda9e, 0x47c1, 0xbb,0x23, 0x00,0xb5,0xe6,0x68,0x23,0x6a) +#endif +#else +typedef struct IWMPEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPEvents *This); + + /*** IWMPEvents methods ***/ + void (STDMETHODCALLTYPE *OpenStateChange)( + IWMPEvents *This, + LONG state); + + void (STDMETHODCALLTYPE *PlayStateChange)( + IWMPEvents *This, + LONG state); + + void (STDMETHODCALLTYPE *AudioLanguageChange)( + IWMPEvents *This, + LONG lang); + + void (STDMETHODCALLTYPE *StatusChange)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *ScriptCommand)( + IWMPEvents *This, + BSTR type, + BSTR param); + + void (STDMETHODCALLTYPE *NewStream)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *Disconnect)( + IWMPEvents *This, + LONG result); + + void (STDMETHODCALLTYPE *Buffering)( + IWMPEvents *This, + VARIANT_BOOL start); + + void (STDMETHODCALLTYPE *Error)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *Warning)( + IWMPEvents *This, + LONG warning, + LONG param, + BSTR description); + + void (STDMETHODCALLTYPE *EndOfStream)( + IWMPEvents *This, + LONG result); + + void (STDMETHODCALLTYPE *PositionChange)( + IWMPEvents *This, + double old_position, + double new_position); + + void (STDMETHODCALLTYPE *MarkerHit)( + IWMPEvents *This, + LONG marker); + + void (STDMETHODCALLTYPE *DurationUnitChange)( + IWMPEvents *This, + LONG duration); + + void (STDMETHODCALLTYPE *CdromMediaChange)( + IWMPEvents *This, + LONG num); + + void (STDMETHODCALLTYPE *PlaylistChange)( + IWMPEvents *This, + IDispatch *playlist, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistChange)( + IWMPEvents *This, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistItemAvailable)( + IWMPEvents *This, + BSTR item); + + void (STDMETHODCALLTYPE *MediaChange)( + IWMPEvents *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *CurrentMediaItemAvailable)( + IWMPEvents *This, + BSTR name); + + void (STDMETHODCALLTYPE *CurrentItemChange)( + IWMPEvents *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *MediaCollectionChange)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringAdded)( + IWMPEvents *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringRemoved)( + IWMPEvents *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringChanged)( + IWMPEvents *This, + BSTR name, + BSTR old_val, + BSTR new_val); + + void (STDMETHODCALLTYPE *PlaylistCollectionChange)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistAdded)( + IWMPEvents *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistRemoved)( + IWMPEvents *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistSetAsDeleted)( + IWMPEvents *This, + BSTR name, + VARIANT_BOOL deleted); + + void (STDMETHODCALLTYPE *ModeChange)( + IWMPEvents *This, + BSTR ModeName, + VARIANT_BOOL value); + + void (STDMETHODCALLTYPE *MediaError)( + IWMPEvents *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *OpenPlaylistSwitch)( + IWMPEvents *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *DomainChange)( + IWMPEvents *This, + BSTR domain); + + void (STDMETHODCALLTYPE *SwitchedToPlayerApplication)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *SwitchedToControl)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *PlayerDockedStateChange)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *PlayerReconnect)( + IWMPEvents *This); + + void (STDMETHODCALLTYPE *Click)( + IWMPEvents *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *DoubleClick)( + IWMPEvents *This, + short button, + short shift_state, + LONG fX, + LONG fY); + + void (STDMETHODCALLTYPE *KeyDown)( + IWMPEvents *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *KeyPress)( + IWMPEvents *This, + short ascii); + + void (STDMETHODCALLTYPE *KeyUp)( + IWMPEvents *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *MouseDown)( + IWMPEvents *This, + short button, + short nShiftState, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseMove)( + IWMPEvents *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseUp)( + IWMPEvents *This, + short button, + short shift_state, + LONG x, + LONG y); + + END_INTERFACE +} IWMPEventsVtbl; + +interface IWMPEvents { + CONST_VTBL IWMPEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPEvents methods ***/ +#define IWMPEvents_OpenStateChange(This,state) (This)->lpVtbl->OpenStateChange(This,state) +#define IWMPEvents_PlayStateChange(This,state) (This)->lpVtbl->PlayStateChange(This,state) +#define IWMPEvents_AudioLanguageChange(This,lang) (This)->lpVtbl->AudioLanguageChange(This,lang) +#define IWMPEvents_StatusChange(This) (This)->lpVtbl->StatusChange(This) +#define IWMPEvents_ScriptCommand(This,type,param) (This)->lpVtbl->ScriptCommand(This,type,param) +#define IWMPEvents_NewStream(This) (This)->lpVtbl->NewStream(This) +#define IWMPEvents_Disconnect(This,result) (This)->lpVtbl->Disconnect(This,result) +#define IWMPEvents_Buffering(This,start) (This)->lpVtbl->Buffering(This,start) +#define IWMPEvents_Error(This) (This)->lpVtbl->Error(This) +#define IWMPEvents_Warning(This,warning,param,description) (This)->lpVtbl->Warning(This,warning,param,description) +#define IWMPEvents_EndOfStream(This,result) (This)->lpVtbl->EndOfStream(This,result) +#define IWMPEvents_PositionChange(This,old_position,new_position) (This)->lpVtbl->PositionChange(This,old_position,new_position) +#define IWMPEvents_MarkerHit(This,marker) (This)->lpVtbl->MarkerHit(This,marker) +#define IWMPEvents_DurationUnitChange(This,duration) (This)->lpVtbl->DurationUnitChange(This,duration) +#define IWMPEvents_CdromMediaChange(This,num) (This)->lpVtbl->CdromMediaChange(This,num) +#define IWMPEvents_PlaylistChange(This,playlist,change) (This)->lpVtbl->PlaylistChange(This,playlist,change) +#define IWMPEvents_CurrentPlaylistChange(This,change) (This)->lpVtbl->CurrentPlaylistChange(This,change) +#define IWMPEvents_CurrentPlaylistItemAvailable(This,item) (This)->lpVtbl->CurrentPlaylistItemAvailable(This,item) +#define IWMPEvents_MediaChange(This,item) (This)->lpVtbl->MediaChange(This,item) +#define IWMPEvents_CurrentMediaItemAvailable(This,name) (This)->lpVtbl->CurrentMediaItemAvailable(This,name) +#define IWMPEvents_CurrentItemChange(This,media) (This)->lpVtbl->CurrentItemChange(This,media) +#define IWMPEvents_MediaCollectionChange(This) (This)->lpVtbl->MediaCollectionChange(This) +#define IWMPEvents_MediaCollectionAttributeStringAdded(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val) +#define IWMPEvents_MediaCollectionAttributeStringRemoved(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val) +#define IWMPEvents_MediaCollectionAttributeStringChanged(This,name,old_val,new_val) (This)->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val) +#define IWMPEvents_PlaylistCollectionChange(This) (This)->lpVtbl->PlaylistCollectionChange(This) +#define IWMPEvents_PlaylistCollectionPlaylistAdded(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistAdded(This,name) +#define IWMPEvents_PlaylistCollectionPlaylistRemoved(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name) +#define IWMPEvents_PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) (This)->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) +#define IWMPEvents_ModeChange(This,ModeName,value) (This)->lpVtbl->ModeChange(This,ModeName,value) +#define IWMPEvents_MediaError(This,media) (This)->lpVtbl->MediaError(This,media) +#define IWMPEvents_OpenPlaylistSwitch(This,item) (This)->lpVtbl->OpenPlaylistSwitch(This,item) +#define IWMPEvents_DomainChange(This,domain) (This)->lpVtbl->DomainChange(This,domain) +#define IWMPEvents_SwitchedToPlayerApplication(This) (This)->lpVtbl->SwitchedToPlayerApplication(This) +#define IWMPEvents_SwitchedToControl(This) (This)->lpVtbl->SwitchedToControl(This) +#define IWMPEvents_PlayerDockedStateChange(This) (This)->lpVtbl->PlayerDockedStateChange(This) +#define IWMPEvents_PlayerReconnect(This) (This)->lpVtbl->PlayerReconnect(This) +#define IWMPEvents_Click(This,button,shift_state,x,y) (This)->lpVtbl->Click(This,button,shift_state,x,y) +#define IWMPEvents_DoubleClick(This,button,shift_state,fX,fY) (This)->lpVtbl->DoubleClick(This,button,shift_state,fX,fY) +#define IWMPEvents_KeyDown(This,keycode,shift_state) (This)->lpVtbl->KeyDown(This,keycode,shift_state) +#define IWMPEvents_KeyPress(This,ascii) (This)->lpVtbl->KeyPress(This,ascii) +#define IWMPEvents_KeyUp(This,keycode,shift_state) (This)->lpVtbl->KeyUp(This,keycode,shift_state) +#define IWMPEvents_MouseDown(This,button,nShiftState,x,y) (This)->lpVtbl->MouseDown(This,button,nShiftState,x,y) +#define IWMPEvents_MouseMove(This,button,shift_state,x,y) (This)->lpVtbl->MouseMove(This,button,shift_state,x,y) +#define IWMPEvents_MouseUp(This,button,shift_state,x,y) (This)->lpVtbl->MouseUp(This,button,shift_state,x,y) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPEvents_QueryInterface(IWMPEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPEvents_AddRef(IWMPEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPEvents_Release(IWMPEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPEvents methods ***/ +static FORCEINLINE void IWMPEvents_OpenStateChange(IWMPEvents* This,LONG state) { + This->lpVtbl->OpenStateChange(This,state); +} +static FORCEINLINE void IWMPEvents_PlayStateChange(IWMPEvents* This,LONG state) { + This->lpVtbl->PlayStateChange(This,state); +} +static FORCEINLINE void IWMPEvents_AudioLanguageChange(IWMPEvents* This,LONG lang) { + This->lpVtbl->AudioLanguageChange(This,lang); +} +static FORCEINLINE void IWMPEvents_StatusChange(IWMPEvents* This) { + This->lpVtbl->StatusChange(This); +} +static FORCEINLINE void IWMPEvents_ScriptCommand(IWMPEvents* This,BSTR type,BSTR param) { + This->lpVtbl->ScriptCommand(This,type,param); +} +static FORCEINLINE void IWMPEvents_NewStream(IWMPEvents* This) { + This->lpVtbl->NewStream(This); +} +static FORCEINLINE void IWMPEvents_Disconnect(IWMPEvents* This,LONG result) { + This->lpVtbl->Disconnect(This,result); +} +static FORCEINLINE void IWMPEvents_Buffering(IWMPEvents* This,VARIANT_BOOL start) { + This->lpVtbl->Buffering(This,start); +} +static FORCEINLINE void IWMPEvents_Error(IWMPEvents* This) { + This->lpVtbl->Error(This); +} +static FORCEINLINE void IWMPEvents_Warning(IWMPEvents* This,LONG warning,LONG param,BSTR description) { + This->lpVtbl->Warning(This,warning,param,description); +} +static FORCEINLINE void IWMPEvents_EndOfStream(IWMPEvents* This,LONG result) { + This->lpVtbl->EndOfStream(This,result); +} +static FORCEINLINE void IWMPEvents_PositionChange(IWMPEvents* This,double old_position,double new_position) { + This->lpVtbl->PositionChange(This,old_position,new_position); +} +static FORCEINLINE void IWMPEvents_MarkerHit(IWMPEvents* This,LONG marker) { + This->lpVtbl->MarkerHit(This,marker); +} +static FORCEINLINE void IWMPEvents_DurationUnitChange(IWMPEvents* This,LONG duration) { + This->lpVtbl->DurationUnitChange(This,duration); +} +static FORCEINLINE void IWMPEvents_CdromMediaChange(IWMPEvents* This,LONG num) { + This->lpVtbl->CdromMediaChange(This,num); +} +static FORCEINLINE void IWMPEvents_PlaylistChange(IWMPEvents* This,IDispatch *playlist,WMPPlaylistChangeEventType change) { + This->lpVtbl->PlaylistChange(This,playlist,change); +} +static FORCEINLINE void IWMPEvents_CurrentPlaylistChange(IWMPEvents* This,WMPPlaylistChangeEventType change) { + This->lpVtbl->CurrentPlaylistChange(This,change); +} +static FORCEINLINE void IWMPEvents_CurrentPlaylistItemAvailable(IWMPEvents* This,BSTR item) { + This->lpVtbl->CurrentPlaylistItemAvailable(This,item); +} +static FORCEINLINE void IWMPEvents_MediaChange(IWMPEvents* This,IDispatch *item) { + This->lpVtbl->MediaChange(This,item); +} +static FORCEINLINE void IWMPEvents_CurrentMediaItemAvailable(IWMPEvents* This,BSTR name) { + This->lpVtbl->CurrentMediaItemAvailable(This,name); +} +static FORCEINLINE void IWMPEvents_CurrentItemChange(IWMPEvents* This,IDispatch *media) { + This->lpVtbl->CurrentItemChange(This,media); +} +static FORCEINLINE void IWMPEvents_MediaCollectionChange(IWMPEvents* This) { + This->lpVtbl->MediaCollectionChange(This); +} +static FORCEINLINE void IWMPEvents_MediaCollectionAttributeStringAdded(IWMPEvents* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val); +} +static FORCEINLINE void IWMPEvents_MediaCollectionAttributeStringRemoved(IWMPEvents* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val); +} +static FORCEINLINE void IWMPEvents_MediaCollectionAttributeStringChanged(IWMPEvents* This,BSTR name,BSTR old_val,BSTR new_val) { + This->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val); +} +static FORCEINLINE void IWMPEvents_PlaylistCollectionChange(IWMPEvents* This) { + This->lpVtbl->PlaylistCollectionChange(This); +} +static FORCEINLINE void IWMPEvents_PlaylistCollectionPlaylistAdded(IWMPEvents* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistAdded(This,name); +} +static FORCEINLINE void IWMPEvents_PlaylistCollectionPlaylistRemoved(IWMPEvents* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name); +} +static FORCEINLINE void IWMPEvents_PlaylistCollectionPlaylistSetAsDeleted(IWMPEvents* This,BSTR name,VARIANT_BOOL deleted) { + This->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted); +} +static FORCEINLINE void IWMPEvents_ModeChange(IWMPEvents* This,BSTR ModeName,VARIANT_BOOL value) { + This->lpVtbl->ModeChange(This,ModeName,value); +} +static FORCEINLINE void IWMPEvents_MediaError(IWMPEvents* This,IDispatch *media) { + This->lpVtbl->MediaError(This,media); +} +static FORCEINLINE void IWMPEvents_OpenPlaylistSwitch(IWMPEvents* This,IDispatch *item) { + This->lpVtbl->OpenPlaylistSwitch(This,item); +} +static FORCEINLINE void IWMPEvents_DomainChange(IWMPEvents* This,BSTR domain) { + This->lpVtbl->DomainChange(This,domain); +} +static FORCEINLINE void IWMPEvents_SwitchedToPlayerApplication(IWMPEvents* This) { + This->lpVtbl->SwitchedToPlayerApplication(This); +} +static FORCEINLINE void IWMPEvents_SwitchedToControl(IWMPEvents* This) { + This->lpVtbl->SwitchedToControl(This); +} +static FORCEINLINE void IWMPEvents_PlayerDockedStateChange(IWMPEvents* This) { + This->lpVtbl->PlayerDockedStateChange(This); +} +static FORCEINLINE void IWMPEvents_PlayerReconnect(IWMPEvents* This) { + This->lpVtbl->PlayerReconnect(This); +} +static FORCEINLINE void IWMPEvents_Click(IWMPEvents* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->Click(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents_DoubleClick(IWMPEvents* This,short button,short shift_state,LONG fX,LONG fY) { + This->lpVtbl->DoubleClick(This,button,shift_state,fX,fY); +} +static FORCEINLINE void IWMPEvents_KeyDown(IWMPEvents* This,short keycode,short shift_state) { + This->lpVtbl->KeyDown(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents_KeyPress(IWMPEvents* This,short ascii) { + This->lpVtbl->KeyPress(This,ascii); +} +static FORCEINLINE void IWMPEvents_KeyUp(IWMPEvents* This,short keycode,short shift_state) { + This->lpVtbl->KeyUp(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents_MouseDown(IWMPEvents* This,short button,short nShiftState,LONG x,LONG y) { + This->lpVtbl->MouseDown(This,button,nShiftState,x,y); +} +static FORCEINLINE void IWMPEvents_MouseMove(IWMPEvents* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseMove(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents_MouseUp(IWMPEvents* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseUp(This,button,shift_state,x,y); +} +#endif +#endif + +#endif + + +#endif /* __IWMPEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPEvents2 interface + */ +#ifndef __IWMPEvents2_INTERFACE_DEFINED__ +#define __IWMPEvents2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPEvents2, 0x1e7601fa, 0x47ea, 0x4107, 0x9e,0xa9, 0x90,0x04,0xed,0x96,0x84,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1e7601fa-47ea-4107-9ea9-9004ed9684ff") +IWMPEvents2 : public IWMPEvents +{ + virtual void STDMETHODCALLTYPE DeviceConnect( + IWMPSyncDevice *device) = 0; + + virtual void STDMETHODCALLTYPE DeviceDisconnect( + IWMPSyncDevice *device) = 0; + + virtual void STDMETHODCALLTYPE DeviceStatusChange( + IWMPSyncDevice *device, + WMPDeviceStatus status) = 0; + + virtual void STDMETHODCALLTYPE DeviceSyncStateChange( + IWMPSyncDevice *device, + WMPSyncState state) = 0; + + virtual void STDMETHODCALLTYPE DeviceSyncError( + IWMPSyncDevice *device, + IDispatch *media) = 0; + + virtual void STDMETHODCALLTYPE CreatePartnershipComplete( + IWMPSyncDevice *device, + HRESULT result) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPEvents2, 0x1e7601fa, 0x47ea, 0x4107, 0x9e,0xa9, 0x90,0x04,0xed,0x96,0x84,0xff) +#endif +#else +typedef struct IWMPEvents2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPEvents2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPEvents2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPEvents2 *This); + + /*** IWMPEvents methods ***/ + void (STDMETHODCALLTYPE *OpenStateChange)( + IWMPEvents2 *This, + LONG state); + + void (STDMETHODCALLTYPE *PlayStateChange)( + IWMPEvents2 *This, + LONG state); + + void (STDMETHODCALLTYPE *AudioLanguageChange)( + IWMPEvents2 *This, + LONG lang); + + void (STDMETHODCALLTYPE *StatusChange)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *ScriptCommand)( + IWMPEvents2 *This, + BSTR type, + BSTR param); + + void (STDMETHODCALLTYPE *NewStream)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *Disconnect)( + IWMPEvents2 *This, + LONG result); + + void (STDMETHODCALLTYPE *Buffering)( + IWMPEvents2 *This, + VARIANT_BOOL start); + + void (STDMETHODCALLTYPE *Error)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *Warning)( + IWMPEvents2 *This, + LONG warning, + LONG param, + BSTR description); + + void (STDMETHODCALLTYPE *EndOfStream)( + IWMPEvents2 *This, + LONG result); + + void (STDMETHODCALLTYPE *PositionChange)( + IWMPEvents2 *This, + double old_position, + double new_position); + + void (STDMETHODCALLTYPE *MarkerHit)( + IWMPEvents2 *This, + LONG marker); + + void (STDMETHODCALLTYPE *DurationUnitChange)( + IWMPEvents2 *This, + LONG duration); + + void (STDMETHODCALLTYPE *CdromMediaChange)( + IWMPEvents2 *This, + LONG num); + + void (STDMETHODCALLTYPE *PlaylistChange)( + IWMPEvents2 *This, + IDispatch *playlist, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistChange)( + IWMPEvents2 *This, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistItemAvailable)( + IWMPEvents2 *This, + BSTR item); + + void (STDMETHODCALLTYPE *MediaChange)( + IWMPEvents2 *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *CurrentMediaItemAvailable)( + IWMPEvents2 *This, + BSTR name); + + void (STDMETHODCALLTYPE *CurrentItemChange)( + IWMPEvents2 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *MediaCollectionChange)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringAdded)( + IWMPEvents2 *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringRemoved)( + IWMPEvents2 *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringChanged)( + IWMPEvents2 *This, + BSTR name, + BSTR old_val, + BSTR new_val); + + void (STDMETHODCALLTYPE *PlaylistCollectionChange)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistAdded)( + IWMPEvents2 *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistRemoved)( + IWMPEvents2 *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistSetAsDeleted)( + IWMPEvents2 *This, + BSTR name, + VARIANT_BOOL deleted); + + void (STDMETHODCALLTYPE *ModeChange)( + IWMPEvents2 *This, + BSTR ModeName, + VARIANT_BOOL value); + + void (STDMETHODCALLTYPE *MediaError)( + IWMPEvents2 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *OpenPlaylistSwitch)( + IWMPEvents2 *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *DomainChange)( + IWMPEvents2 *This, + BSTR domain); + + void (STDMETHODCALLTYPE *SwitchedToPlayerApplication)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *SwitchedToControl)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *PlayerDockedStateChange)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *PlayerReconnect)( + IWMPEvents2 *This); + + void (STDMETHODCALLTYPE *Click)( + IWMPEvents2 *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *DoubleClick)( + IWMPEvents2 *This, + short button, + short shift_state, + LONG fX, + LONG fY); + + void (STDMETHODCALLTYPE *KeyDown)( + IWMPEvents2 *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *KeyPress)( + IWMPEvents2 *This, + short ascii); + + void (STDMETHODCALLTYPE *KeyUp)( + IWMPEvents2 *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *MouseDown)( + IWMPEvents2 *This, + short button, + short nShiftState, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseMove)( + IWMPEvents2 *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseUp)( + IWMPEvents2 *This, + short button, + short shift_state, + LONG x, + LONG y); + + /*** IWMPEvents2 methods ***/ + void (STDMETHODCALLTYPE *DeviceConnect)( + IWMPEvents2 *This, + IWMPSyncDevice *device); + + void (STDMETHODCALLTYPE *DeviceDisconnect)( + IWMPEvents2 *This, + IWMPSyncDevice *device); + + void (STDMETHODCALLTYPE *DeviceStatusChange)( + IWMPEvents2 *This, + IWMPSyncDevice *device, + WMPDeviceStatus status); + + void (STDMETHODCALLTYPE *DeviceSyncStateChange)( + IWMPEvents2 *This, + IWMPSyncDevice *device, + WMPSyncState state); + + void (STDMETHODCALLTYPE *DeviceSyncError)( + IWMPEvents2 *This, + IWMPSyncDevice *device, + IDispatch *media); + + void (STDMETHODCALLTYPE *CreatePartnershipComplete)( + IWMPEvents2 *This, + IWMPSyncDevice *device, + HRESULT result); + + END_INTERFACE +} IWMPEvents2Vtbl; + +interface IWMPEvents2 { + CONST_VTBL IWMPEvents2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPEvents2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPEvents2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPEvents methods ***/ +#define IWMPEvents2_OpenStateChange(This,state) (This)->lpVtbl->OpenStateChange(This,state) +#define IWMPEvents2_PlayStateChange(This,state) (This)->lpVtbl->PlayStateChange(This,state) +#define IWMPEvents2_AudioLanguageChange(This,lang) (This)->lpVtbl->AudioLanguageChange(This,lang) +#define IWMPEvents2_StatusChange(This) (This)->lpVtbl->StatusChange(This) +#define IWMPEvents2_ScriptCommand(This,type,param) (This)->lpVtbl->ScriptCommand(This,type,param) +#define IWMPEvents2_NewStream(This) (This)->lpVtbl->NewStream(This) +#define IWMPEvents2_Disconnect(This,result) (This)->lpVtbl->Disconnect(This,result) +#define IWMPEvents2_Buffering(This,start) (This)->lpVtbl->Buffering(This,start) +#define IWMPEvents2_Error(This) (This)->lpVtbl->Error(This) +#define IWMPEvents2_Warning(This,warning,param,description) (This)->lpVtbl->Warning(This,warning,param,description) +#define IWMPEvents2_EndOfStream(This,result) (This)->lpVtbl->EndOfStream(This,result) +#define IWMPEvents2_PositionChange(This,old_position,new_position) (This)->lpVtbl->PositionChange(This,old_position,new_position) +#define IWMPEvents2_MarkerHit(This,marker) (This)->lpVtbl->MarkerHit(This,marker) +#define IWMPEvents2_DurationUnitChange(This,duration) (This)->lpVtbl->DurationUnitChange(This,duration) +#define IWMPEvents2_CdromMediaChange(This,num) (This)->lpVtbl->CdromMediaChange(This,num) +#define IWMPEvents2_PlaylistChange(This,playlist,change) (This)->lpVtbl->PlaylistChange(This,playlist,change) +#define IWMPEvents2_CurrentPlaylistChange(This,change) (This)->lpVtbl->CurrentPlaylistChange(This,change) +#define IWMPEvents2_CurrentPlaylistItemAvailable(This,item) (This)->lpVtbl->CurrentPlaylistItemAvailable(This,item) +#define IWMPEvents2_MediaChange(This,item) (This)->lpVtbl->MediaChange(This,item) +#define IWMPEvents2_CurrentMediaItemAvailable(This,name) (This)->lpVtbl->CurrentMediaItemAvailable(This,name) +#define IWMPEvents2_CurrentItemChange(This,media) (This)->lpVtbl->CurrentItemChange(This,media) +#define IWMPEvents2_MediaCollectionChange(This) (This)->lpVtbl->MediaCollectionChange(This) +#define IWMPEvents2_MediaCollectionAttributeStringAdded(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val) +#define IWMPEvents2_MediaCollectionAttributeStringRemoved(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val) +#define IWMPEvents2_MediaCollectionAttributeStringChanged(This,name,old_val,new_val) (This)->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val) +#define IWMPEvents2_PlaylistCollectionChange(This) (This)->lpVtbl->PlaylistCollectionChange(This) +#define IWMPEvents2_PlaylistCollectionPlaylistAdded(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistAdded(This,name) +#define IWMPEvents2_PlaylistCollectionPlaylistRemoved(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name) +#define IWMPEvents2_PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) (This)->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) +#define IWMPEvents2_ModeChange(This,ModeName,value) (This)->lpVtbl->ModeChange(This,ModeName,value) +#define IWMPEvents2_MediaError(This,media) (This)->lpVtbl->MediaError(This,media) +#define IWMPEvents2_OpenPlaylistSwitch(This,item) (This)->lpVtbl->OpenPlaylistSwitch(This,item) +#define IWMPEvents2_DomainChange(This,domain) (This)->lpVtbl->DomainChange(This,domain) +#define IWMPEvents2_SwitchedToPlayerApplication(This) (This)->lpVtbl->SwitchedToPlayerApplication(This) +#define IWMPEvents2_SwitchedToControl(This) (This)->lpVtbl->SwitchedToControl(This) +#define IWMPEvents2_PlayerDockedStateChange(This) (This)->lpVtbl->PlayerDockedStateChange(This) +#define IWMPEvents2_PlayerReconnect(This) (This)->lpVtbl->PlayerReconnect(This) +#define IWMPEvents2_Click(This,button,shift_state,x,y) (This)->lpVtbl->Click(This,button,shift_state,x,y) +#define IWMPEvents2_DoubleClick(This,button,shift_state,fX,fY) (This)->lpVtbl->DoubleClick(This,button,shift_state,fX,fY) +#define IWMPEvents2_KeyDown(This,keycode,shift_state) (This)->lpVtbl->KeyDown(This,keycode,shift_state) +#define IWMPEvents2_KeyPress(This,ascii) (This)->lpVtbl->KeyPress(This,ascii) +#define IWMPEvents2_KeyUp(This,keycode,shift_state) (This)->lpVtbl->KeyUp(This,keycode,shift_state) +#define IWMPEvents2_MouseDown(This,button,nShiftState,x,y) (This)->lpVtbl->MouseDown(This,button,nShiftState,x,y) +#define IWMPEvents2_MouseMove(This,button,shift_state,x,y) (This)->lpVtbl->MouseMove(This,button,shift_state,x,y) +#define IWMPEvents2_MouseUp(This,button,shift_state,x,y) (This)->lpVtbl->MouseUp(This,button,shift_state,x,y) +/*** IWMPEvents2 methods ***/ +#define IWMPEvents2_DeviceConnect(This,device) (This)->lpVtbl->DeviceConnect(This,device) +#define IWMPEvents2_DeviceDisconnect(This,device) (This)->lpVtbl->DeviceDisconnect(This,device) +#define IWMPEvents2_DeviceStatusChange(This,device,status) (This)->lpVtbl->DeviceStatusChange(This,device,status) +#define IWMPEvents2_DeviceSyncStateChange(This,device,state) (This)->lpVtbl->DeviceSyncStateChange(This,device,state) +#define IWMPEvents2_DeviceSyncError(This,device,media) (This)->lpVtbl->DeviceSyncError(This,device,media) +#define IWMPEvents2_CreatePartnershipComplete(This,device,result) (This)->lpVtbl->CreatePartnershipComplete(This,device,result) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPEvents2_QueryInterface(IWMPEvents2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPEvents2_AddRef(IWMPEvents2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPEvents2_Release(IWMPEvents2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPEvents methods ***/ +static FORCEINLINE void IWMPEvents2_OpenStateChange(IWMPEvents2* This,LONG state) { + This->lpVtbl->OpenStateChange(This,state); +} +static FORCEINLINE void IWMPEvents2_PlayStateChange(IWMPEvents2* This,LONG state) { + This->lpVtbl->PlayStateChange(This,state); +} +static FORCEINLINE void IWMPEvents2_AudioLanguageChange(IWMPEvents2* This,LONG lang) { + This->lpVtbl->AudioLanguageChange(This,lang); +} +static FORCEINLINE void IWMPEvents2_StatusChange(IWMPEvents2* This) { + This->lpVtbl->StatusChange(This); +} +static FORCEINLINE void IWMPEvents2_ScriptCommand(IWMPEvents2* This,BSTR type,BSTR param) { + This->lpVtbl->ScriptCommand(This,type,param); +} +static FORCEINLINE void IWMPEvents2_NewStream(IWMPEvents2* This) { + This->lpVtbl->NewStream(This); +} +static FORCEINLINE void IWMPEvents2_Disconnect(IWMPEvents2* This,LONG result) { + This->lpVtbl->Disconnect(This,result); +} +static FORCEINLINE void IWMPEvents2_Buffering(IWMPEvents2* This,VARIANT_BOOL start) { + This->lpVtbl->Buffering(This,start); +} +static FORCEINLINE void IWMPEvents2_Error(IWMPEvents2* This) { + This->lpVtbl->Error(This); +} +static FORCEINLINE void IWMPEvents2_Warning(IWMPEvents2* This,LONG warning,LONG param,BSTR description) { + This->lpVtbl->Warning(This,warning,param,description); +} +static FORCEINLINE void IWMPEvents2_EndOfStream(IWMPEvents2* This,LONG result) { + This->lpVtbl->EndOfStream(This,result); +} +static FORCEINLINE void IWMPEvents2_PositionChange(IWMPEvents2* This,double old_position,double new_position) { + This->lpVtbl->PositionChange(This,old_position,new_position); +} +static FORCEINLINE void IWMPEvents2_MarkerHit(IWMPEvents2* This,LONG marker) { + This->lpVtbl->MarkerHit(This,marker); +} +static FORCEINLINE void IWMPEvents2_DurationUnitChange(IWMPEvents2* This,LONG duration) { + This->lpVtbl->DurationUnitChange(This,duration); +} +static FORCEINLINE void IWMPEvents2_CdromMediaChange(IWMPEvents2* This,LONG num) { + This->lpVtbl->CdromMediaChange(This,num); +} +static FORCEINLINE void IWMPEvents2_PlaylistChange(IWMPEvents2* This,IDispatch *playlist,WMPPlaylistChangeEventType change) { + This->lpVtbl->PlaylistChange(This,playlist,change); +} +static FORCEINLINE void IWMPEvents2_CurrentPlaylistChange(IWMPEvents2* This,WMPPlaylistChangeEventType change) { + This->lpVtbl->CurrentPlaylistChange(This,change); +} +static FORCEINLINE void IWMPEvents2_CurrentPlaylistItemAvailable(IWMPEvents2* This,BSTR item) { + This->lpVtbl->CurrentPlaylistItemAvailable(This,item); +} +static FORCEINLINE void IWMPEvents2_MediaChange(IWMPEvents2* This,IDispatch *item) { + This->lpVtbl->MediaChange(This,item); +} +static FORCEINLINE void IWMPEvents2_CurrentMediaItemAvailable(IWMPEvents2* This,BSTR name) { + This->lpVtbl->CurrentMediaItemAvailable(This,name); +} +static FORCEINLINE void IWMPEvents2_CurrentItemChange(IWMPEvents2* This,IDispatch *media) { + This->lpVtbl->CurrentItemChange(This,media); +} +static FORCEINLINE void IWMPEvents2_MediaCollectionChange(IWMPEvents2* This) { + This->lpVtbl->MediaCollectionChange(This); +} +static FORCEINLINE void IWMPEvents2_MediaCollectionAttributeStringAdded(IWMPEvents2* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val); +} +static FORCEINLINE void IWMPEvents2_MediaCollectionAttributeStringRemoved(IWMPEvents2* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val); +} +static FORCEINLINE void IWMPEvents2_MediaCollectionAttributeStringChanged(IWMPEvents2* This,BSTR name,BSTR old_val,BSTR new_val) { + This->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val); +} +static FORCEINLINE void IWMPEvents2_PlaylistCollectionChange(IWMPEvents2* This) { + This->lpVtbl->PlaylistCollectionChange(This); +} +static FORCEINLINE void IWMPEvents2_PlaylistCollectionPlaylistAdded(IWMPEvents2* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistAdded(This,name); +} +static FORCEINLINE void IWMPEvents2_PlaylistCollectionPlaylistRemoved(IWMPEvents2* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name); +} +static FORCEINLINE void IWMPEvents2_PlaylistCollectionPlaylistSetAsDeleted(IWMPEvents2* This,BSTR name,VARIANT_BOOL deleted) { + This->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted); +} +static FORCEINLINE void IWMPEvents2_ModeChange(IWMPEvents2* This,BSTR ModeName,VARIANT_BOOL value) { + This->lpVtbl->ModeChange(This,ModeName,value); +} +static FORCEINLINE void IWMPEvents2_MediaError(IWMPEvents2* This,IDispatch *media) { + This->lpVtbl->MediaError(This,media); +} +static FORCEINLINE void IWMPEvents2_OpenPlaylistSwitch(IWMPEvents2* This,IDispatch *item) { + This->lpVtbl->OpenPlaylistSwitch(This,item); +} +static FORCEINLINE void IWMPEvents2_DomainChange(IWMPEvents2* This,BSTR domain) { + This->lpVtbl->DomainChange(This,domain); +} +static FORCEINLINE void IWMPEvents2_SwitchedToPlayerApplication(IWMPEvents2* This) { + This->lpVtbl->SwitchedToPlayerApplication(This); +} +static FORCEINLINE void IWMPEvents2_SwitchedToControl(IWMPEvents2* This) { + This->lpVtbl->SwitchedToControl(This); +} +static FORCEINLINE void IWMPEvents2_PlayerDockedStateChange(IWMPEvents2* This) { + This->lpVtbl->PlayerDockedStateChange(This); +} +static FORCEINLINE void IWMPEvents2_PlayerReconnect(IWMPEvents2* This) { + This->lpVtbl->PlayerReconnect(This); +} +static FORCEINLINE void IWMPEvents2_Click(IWMPEvents2* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->Click(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents2_DoubleClick(IWMPEvents2* This,short button,short shift_state,LONG fX,LONG fY) { + This->lpVtbl->DoubleClick(This,button,shift_state,fX,fY); +} +static FORCEINLINE void IWMPEvents2_KeyDown(IWMPEvents2* This,short keycode,short shift_state) { + This->lpVtbl->KeyDown(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents2_KeyPress(IWMPEvents2* This,short ascii) { + This->lpVtbl->KeyPress(This,ascii); +} +static FORCEINLINE void IWMPEvents2_KeyUp(IWMPEvents2* This,short keycode,short shift_state) { + This->lpVtbl->KeyUp(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents2_MouseDown(IWMPEvents2* This,short button,short nShiftState,LONG x,LONG y) { + This->lpVtbl->MouseDown(This,button,nShiftState,x,y); +} +static FORCEINLINE void IWMPEvents2_MouseMove(IWMPEvents2* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseMove(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents2_MouseUp(IWMPEvents2* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseUp(This,button,shift_state,x,y); +} +/*** IWMPEvents2 methods ***/ +static FORCEINLINE void IWMPEvents2_DeviceConnect(IWMPEvents2* This,IWMPSyncDevice *device) { + This->lpVtbl->DeviceConnect(This,device); +} +static FORCEINLINE void IWMPEvents2_DeviceDisconnect(IWMPEvents2* This,IWMPSyncDevice *device) { + This->lpVtbl->DeviceDisconnect(This,device); +} +static FORCEINLINE void IWMPEvents2_DeviceStatusChange(IWMPEvents2* This,IWMPSyncDevice *device,WMPDeviceStatus status) { + This->lpVtbl->DeviceStatusChange(This,device,status); +} +static FORCEINLINE void IWMPEvents2_DeviceSyncStateChange(IWMPEvents2* This,IWMPSyncDevice *device,WMPSyncState state) { + This->lpVtbl->DeviceSyncStateChange(This,device,state); +} +static FORCEINLINE void IWMPEvents2_DeviceSyncError(IWMPEvents2* This,IWMPSyncDevice *device,IDispatch *media) { + This->lpVtbl->DeviceSyncError(This,device,media); +} +static FORCEINLINE void IWMPEvents2_CreatePartnershipComplete(IWMPEvents2* This,IWMPSyncDevice *device,HRESULT result) { + This->lpVtbl->CreatePartnershipComplete(This,device,result); +} +#endif +#endif + +#endif + + +#endif /* __IWMPEvents2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPEvents3 interface + */ +#ifndef __IWMPEvents3_INTERFACE_DEFINED__ +#define __IWMPEvents3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPEvents3, 0x1f504270, 0xa66b, 0x4223, 0x8e,0x96, 0x26,0xa0,0x6c,0x63,0xd6,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1f504270-a66b-4223-8e96-26a06c63d69f") +IWMPEvents3 : public IWMPEvents2 +{ + virtual void STDMETHODCALLTYPE CdromRipStateChange( + IWMPCdromRip *rip, + WMPRipState state) = 0; + + virtual void STDMETHODCALLTYPE CdromRipMediaError( + IWMPCdromRip *rip, + IDispatch *media) = 0; + + virtual void STDMETHODCALLTYPE CdromBurnStateChange( + IWMPCdromBurn *burn, + WMPBurnState state) = 0; + + virtual void STDMETHODCALLTYPE CdromBurnMediaError( + IWMPCdromBurn *burn, + IDispatch *media) = 0; + + virtual void STDMETHODCALLTYPE CdromBurnError( + IWMPCdromBurn *burn, + HRESULT error) = 0; + + virtual void STDMETHODCALLTYPE LibraryConnect( + IWMPLibrary *wmplibrary) = 0; + + virtual void STDMETHODCALLTYPE LibraryDisconnect( + IWMPLibrary *wmplibrary) = 0; + + virtual void STDMETHODCALLTYPE FolderScanStateChange( + WMPFolderScanState state) = 0; + + virtual void STDMETHODCALLTYPE StringCollectionChange( + IDispatch *collection, + WMPStringCollectionChangeEventType change, + LONG index) = 0; + + virtual void STDMETHODCALLTYPE MediaCollectionMediaAdded( + IDispatch *media) = 0; + + virtual void STDMETHODCALLTYPE MediaCollectionMediaRemoved( + IDispatch *media) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPEvents3, 0x1f504270, 0xa66b, 0x4223, 0x8e,0x96, 0x26,0xa0,0x6c,0x63,0xd6,0x9f) +#endif +#else +typedef struct IWMPEvents3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPEvents3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPEvents3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPEvents3 *This); + + /*** IWMPEvents methods ***/ + void (STDMETHODCALLTYPE *OpenStateChange)( + IWMPEvents3 *This, + LONG state); + + void (STDMETHODCALLTYPE *PlayStateChange)( + IWMPEvents3 *This, + LONG state); + + void (STDMETHODCALLTYPE *AudioLanguageChange)( + IWMPEvents3 *This, + LONG lang); + + void (STDMETHODCALLTYPE *StatusChange)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *ScriptCommand)( + IWMPEvents3 *This, + BSTR type, + BSTR param); + + void (STDMETHODCALLTYPE *NewStream)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *Disconnect)( + IWMPEvents3 *This, + LONG result); + + void (STDMETHODCALLTYPE *Buffering)( + IWMPEvents3 *This, + VARIANT_BOOL start); + + void (STDMETHODCALLTYPE *Error)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *Warning)( + IWMPEvents3 *This, + LONG warning, + LONG param, + BSTR description); + + void (STDMETHODCALLTYPE *EndOfStream)( + IWMPEvents3 *This, + LONG result); + + void (STDMETHODCALLTYPE *PositionChange)( + IWMPEvents3 *This, + double old_position, + double new_position); + + void (STDMETHODCALLTYPE *MarkerHit)( + IWMPEvents3 *This, + LONG marker); + + void (STDMETHODCALLTYPE *DurationUnitChange)( + IWMPEvents3 *This, + LONG duration); + + void (STDMETHODCALLTYPE *CdromMediaChange)( + IWMPEvents3 *This, + LONG num); + + void (STDMETHODCALLTYPE *PlaylistChange)( + IWMPEvents3 *This, + IDispatch *playlist, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistChange)( + IWMPEvents3 *This, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistItemAvailable)( + IWMPEvents3 *This, + BSTR item); + + void (STDMETHODCALLTYPE *MediaChange)( + IWMPEvents3 *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *CurrentMediaItemAvailable)( + IWMPEvents3 *This, + BSTR name); + + void (STDMETHODCALLTYPE *CurrentItemChange)( + IWMPEvents3 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *MediaCollectionChange)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringAdded)( + IWMPEvents3 *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringRemoved)( + IWMPEvents3 *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringChanged)( + IWMPEvents3 *This, + BSTR name, + BSTR old_val, + BSTR new_val); + + void (STDMETHODCALLTYPE *PlaylistCollectionChange)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistAdded)( + IWMPEvents3 *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistRemoved)( + IWMPEvents3 *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistSetAsDeleted)( + IWMPEvents3 *This, + BSTR name, + VARIANT_BOOL deleted); + + void (STDMETHODCALLTYPE *ModeChange)( + IWMPEvents3 *This, + BSTR ModeName, + VARIANT_BOOL value); + + void (STDMETHODCALLTYPE *MediaError)( + IWMPEvents3 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *OpenPlaylistSwitch)( + IWMPEvents3 *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *DomainChange)( + IWMPEvents3 *This, + BSTR domain); + + void (STDMETHODCALLTYPE *SwitchedToPlayerApplication)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *SwitchedToControl)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *PlayerDockedStateChange)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *PlayerReconnect)( + IWMPEvents3 *This); + + void (STDMETHODCALLTYPE *Click)( + IWMPEvents3 *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *DoubleClick)( + IWMPEvents3 *This, + short button, + short shift_state, + LONG fX, + LONG fY); + + void (STDMETHODCALLTYPE *KeyDown)( + IWMPEvents3 *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *KeyPress)( + IWMPEvents3 *This, + short ascii); + + void (STDMETHODCALLTYPE *KeyUp)( + IWMPEvents3 *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *MouseDown)( + IWMPEvents3 *This, + short button, + short nShiftState, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseMove)( + IWMPEvents3 *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseUp)( + IWMPEvents3 *This, + short button, + short shift_state, + LONG x, + LONG y); + + /*** IWMPEvents2 methods ***/ + void (STDMETHODCALLTYPE *DeviceConnect)( + IWMPEvents3 *This, + IWMPSyncDevice *device); + + void (STDMETHODCALLTYPE *DeviceDisconnect)( + IWMPEvents3 *This, + IWMPSyncDevice *device); + + void (STDMETHODCALLTYPE *DeviceStatusChange)( + IWMPEvents3 *This, + IWMPSyncDevice *device, + WMPDeviceStatus status); + + void (STDMETHODCALLTYPE *DeviceSyncStateChange)( + IWMPEvents3 *This, + IWMPSyncDevice *device, + WMPSyncState state); + + void (STDMETHODCALLTYPE *DeviceSyncError)( + IWMPEvents3 *This, + IWMPSyncDevice *device, + IDispatch *media); + + void (STDMETHODCALLTYPE *CreatePartnershipComplete)( + IWMPEvents3 *This, + IWMPSyncDevice *device, + HRESULT result); + + /*** IWMPEvents3 methods ***/ + void (STDMETHODCALLTYPE *CdromRipStateChange)( + IWMPEvents3 *This, + IWMPCdromRip *rip, + WMPRipState state); + + void (STDMETHODCALLTYPE *CdromRipMediaError)( + IWMPEvents3 *This, + IWMPCdromRip *rip, + IDispatch *media); + + void (STDMETHODCALLTYPE *CdromBurnStateChange)( + IWMPEvents3 *This, + IWMPCdromBurn *burn, + WMPBurnState state); + + void (STDMETHODCALLTYPE *CdromBurnMediaError)( + IWMPEvents3 *This, + IWMPCdromBurn *burn, + IDispatch *media); + + void (STDMETHODCALLTYPE *CdromBurnError)( + IWMPEvents3 *This, + IWMPCdromBurn *burn, + HRESULT error); + + void (STDMETHODCALLTYPE *LibraryConnect)( + IWMPEvents3 *This, + IWMPLibrary *wmplibrary); + + void (STDMETHODCALLTYPE *LibraryDisconnect)( + IWMPEvents3 *This, + IWMPLibrary *wmplibrary); + + void (STDMETHODCALLTYPE *FolderScanStateChange)( + IWMPEvents3 *This, + WMPFolderScanState state); + + void (STDMETHODCALLTYPE *StringCollectionChange)( + IWMPEvents3 *This, + IDispatch *collection, + WMPStringCollectionChangeEventType change, + LONG index); + + void (STDMETHODCALLTYPE *MediaCollectionMediaAdded)( + IWMPEvents3 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *MediaCollectionMediaRemoved)( + IWMPEvents3 *This, + IDispatch *media); + + END_INTERFACE +} IWMPEvents3Vtbl; + +interface IWMPEvents3 { + CONST_VTBL IWMPEvents3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPEvents3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPEvents3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPEvents3_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPEvents methods ***/ +#define IWMPEvents3_OpenStateChange(This,state) (This)->lpVtbl->OpenStateChange(This,state) +#define IWMPEvents3_PlayStateChange(This,state) (This)->lpVtbl->PlayStateChange(This,state) +#define IWMPEvents3_AudioLanguageChange(This,lang) (This)->lpVtbl->AudioLanguageChange(This,lang) +#define IWMPEvents3_StatusChange(This) (This)->lpVtbl->StatusChange(This) +#define IWMPEvents3_ScriptCommand(This,type,param) (This)->lpVtbl->ScriptCommand(This,type,param) +#define IWMPEvents3_NewStream(This) (This)->lpVtbl->NewStream(This) +#define IWMPEvents3_Disconnect(This,result) (This)->lpVtbl->Disconnect(This,result) +#define IWMPEvents3_Buffering(This,start) (This)->lpVtbl->Buffering(This,start) +#define IWMPEvents3_Error(This) (This)->lpVtbl->Error(This) +#define IWMPEvents3_Warning(This,warning,param,description) (This)->lpVtbl->Warning(This,warning,param,description) +#define IWMPEvents3_EndOfStream(This,result) (This)->lpVtbl->EndOfStream(This,result) +#define IWMPEvents3_PositionChange(This,old_position,new_position) (This)->lpVtbl->PositionChange(This,old_position,new_position) +#define IWMPEvents3_MarkerHit(This,marker) (This)->lpVtbl->MarkerHit(This,marker) +#define IWMPEvents3_DurationUnitChange(This,duration) (This)->lpVtbl->DurationUnitChange(This,duration) +#define IWMPEvents3_CdromMediaChange(This,num) (This)->lpVtbl->CdromMediaChange(This,num) +#define IWMPEvents3_PlaylistChange(This,playlist,change) (This)->lpVtbl->PlaylistChange(This,playlist,change) +#define IWMPEvents3_CurrentPlaylistChange(This,change) (This)->lpVtbl->CurrentPlaylistChange(This,change) +#define IWMPEvents3_CurrentPlaylistItemAvailable(This,item) (This)->lpVtbl->CurrentPlaylistItemAvailable(This,item) +#define IWMPEvents3_MediaChange(This,item) (This)->lpVtbl->MediaChange(This,item) +#define IWMPEvents3_CurrentMediaItemAvailable(This,name) (This)->lpVtbl->CurrentMediaItemAvailable(This,name) +#define IWMPEvents3_CurrentItemChange(This,media) (This)->lpVtbl->CurrentItemChange(This,media) +#define IWMPEvents3_MediaCollectionChange(This) (This)->lpVtbl->MediaCollectionChange(This) +#define IWMPEvents3_MediaCollectionAttributeStringAdded(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val) +#define IWMPEvents3_MediaCollectionAttributeStringRemoved(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val) +#define IWMPEvents3_MediaCollectionAttributeStringChanged(This,name,old_val,new_val) (This)->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val) +#define IWMPEvents3_PlaylistCollectionChange(This) (This)->lpVtbl->PlaylistCollectionChange(This) +#define IWMPEvents3_PlaylistCollectionPlaylistAdded(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistAdded(This,name) +#define IWMPEvents3_PlaylistCollectionPlaylistRemoved(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name) +#define IWMPEvents3_PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) (This)->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) +#define IWMPEvents3_ModeChange(This,ModeName,value) (This)->lpVtbl->ModeChange(This,ModeName,value) +#define IWMPEvents3_MediaError(This,media) (This)->lpVtbl->MediaError(This,media) +#define IWMPEvents3_OpenPlaylistSwitch(This,item) (This)->lpVtbl->OpenPlaylistSwitch(This,item) +#define IWMPEvents3_DomainChange(This,domain) (This)->lpVtbl->DomainChange(This,domain) +#define IWMPEvents3_SwitchedToPlayerApplication(This) (This)->lpVtbl->SwitchedToPlayerApplication(This) +#define IWMPEvents3_SwitchedToControl(This) (This)->lpVtbl->SwitchedToControl(This) +#define IWMPEvents3_PlayerDockedStateChange(This) (This)->lpVtbl->PlayerDockedStateChange(This) +#define IWMPEvents3_PlayerReconnect(This) (This)->lpVtbl->PlayerReconnect(This) +#define IWMPEvents3_Click(This,button,shift_state,x,y) (This)->lpVtbl->Click(This,button,shift_state,x,y) +#define IWMPEvents3_DoubleClick(This,button,shift_state,fX,fY) (This)->lpVtbl->DoubleClick(This,button,shift_state,fX,fY) +#define IWMPEvents3_KeyDown(This,keycode,shift_state) (This)->lpVtbl->KeyDown(This,keycode,shift_state) +#define IWMPEvents3_KeyPress(This,ascii) (This)->lpVtbl->KeyPress(This,ascii) +#define IWMPEvents3_KeyUp(This,keycode,shift_state) (This)->lpVtbl->KeyUp(This,keycode,shift_state) +#define IWMPEvents3_MouseDown(This,button,nShiftState,x,y) (This)->lpVtbl->MouseDown(This,button,nShiftState,x,y) +#define IWMPEvents3_MouseMove(This,button,shift_state,x,y) (This)->lpVtbl->MouseMove(This,button,shift_state,x,y) +#define IWMPEvents3_MouseUp(This,button,shift_state,x,y) (This)->lpVtbl->MouseUp(This,button,shift_state,x,y) +/*** IWMPEvents2 methods ***/ +#define IWMPEvents3_DeviceConnect(This,device) (This)->lpVtbl->DeviceConnect(This,device) +#define IWMPEvents3_DeviceDisconnect(This,device) (This)->lpVtbl->DeviceDisconnect(This,device) +#define IWMPEvents3_DeviceStatusChange(This,device,status) (This)->lpVtbl->DeviceStatusChange(This,device,status) +#define IWMPEvents3_DeviceSyncStateChange(This,device,state) (This)->lpVtbl->DeviceSyncStateChange(This,device,state) +#define IWMPEvents3_DeviceSyncError(This,device,media) (This)->lpVtbl->DeviceSyncError(This,device,media) +#define IWMPEvents3_CreatePartnershipComplete(This,device,result) (This)->lpVtbl->CreatePartnershipComplete(This,device,result) +/*** IWMPEvents3 methods ***/ +#define IWMPEvents3_CdromRipStateChange(This,rip,state) (This)->lpVtbl->CdromRipStateChange(This,rip,state) +#define IWMPEvents3_CdromRipMediaError(This,rip,media) (This)->lpVtbl->CdromRipMediaError(This,rip,media) +#define IWMPEvents3_CdromBurnStateChange(This,burn,state) (This)->lpVtbl->CdromBurnStateChange(This,burn,state) +#define IWMPEvents3_CdromBurnMediaError(This,burn,media) (This)->lpVtbl->CdromBurnMediaError(This,burn,media) +#define IWMPEvents3_CdromBurnError(This,burn,error) (This)->lpVtbl->CdromBurnError(This,burn,error) +#define IWMPEvents3_LibraryConnect(This,wmplibrary) (This)->lpVtbl->LibraryConnect(This,wmplibrary) +#define IWMPEvents3_LibraryDisconnect(This,wmplibrary) (This)->lpVtbl->LibraryDisconnect(This,wmplibrary) +#define IWMPEvents3_FolderScanStateChange(This,state) (This)->lpVtbl->FolderScanStateChange(This,state) +#define IWMPEvents3_StringCollectionChange(This,collection,change,index) (This)->lpVtbl->StringCollectionChange(This,collection,change,index) +#define IWMPEvents3_MediaCollectionMediaAdded(This,media) (This)->lpVtbl->MediaCollectionMediaAdded(This,media) +#define IWMPEvents3_MediaCollectionMediaRemoved(This,media) (This)->lpVtbl->MediaCollectionMediaRemoved(This,media) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPEvents3_QueryInterface(IWMPEvents3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPEvents3_AddRef(IWMPEvents3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPEvents3_Release(IWMPEvents3* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPEvents methods ***/ +static FORCEINLINE void IWMPEvents3_OpenStateChange(IWMPEvents3* This,LONG state) { + This->lpVtbl->OpenStateChange(This,state); +} +static FORCEINLINE void IWMPEvents3_PlayStateChange(IWMPEvents3* This,LONG state) { + This->lpVtbl->PlayStateChange(This,state); +} +static FORCEINLINE void IWMPEvents3_AudioLanguageChange(IWMPEvents3* This,LONG lang) { + This->lpVtbl->AudioLanguageChange(This,lang); +} +static FORCEINLINE void IWMPEvents3_StatusChange(IWMPEvents3* This) { + This->lpVtbl->StatusChange(This); +} +static FORCEINLINE void IWMPEvents3_ScriptCommand(IWMPEvents3* This,BSTR type,BSTR param) { + This->lpVtbl->ScriptCommand(This,type,param); +} +static FORCEINLINE void IWMPEvents3_NewStream(IWMPEvents3* This) { + This->lpVtbl->NewStream(This); +} +static FORCEINLINE void IWMPEvents3_Disconnect(IWMPEvents3* This,LONG result) { + This->lpVtbl->Disconnect(This,result); +} +static FORCEINLINE void IWMPEvents3_Buffering(IWMPEvents3* This,VARIANT_BOOL start) { + This->lpVtbl->Buffering(This,start); +} +static FORCEINLINE void IWMPEvents3_Error(IWMPEvents3* This) { + This->lpVtbl->Error(This); +} +static FORCEINLINE void IWMPEvents3_Warning(IWMPEvents3* This,LONG warning,LONG param,BSTR description) { + This->lpVtbl->Warning(This,warning,param,description); +} +static FORCEINLINE void IWMPEvents3_EndOfStream(IWMPEvents3* This,LONG result) { + This->lpVtbl->EndOfStream(This,result); +} +static FORCEINLINE void IWMPEvents3_PositionChange(IWMPEvents3* This,double old_position,double new_position) { + This->lpVtbl->PositionChange(This,old_position,new_position); +} +static FORCEINLINE void IWMPEvents3_MarkerHit(IWMPEvents3* This,LONG marker) { + This->lpVtbl->MarkerHit(This,marker); +} +static FORCEINLINE void IWMPEvents3_DurationUnitChange(IWMPEvents3* This,LONG duration) { + This->lpVtbl->DurationUnitChange(This,duration); +} +static FORCEINLINE void IWMPEvents3_CdromMediaChange(IWMPEvents3* This,LONG num) { + This->lpVtbl->CdromMediaChange(This,num); +} +static FORCEINLINE void IWMPEvents3_PlaylistChange(IWMPEvents3* This,IDispatch *playlist,WMPPlaylistChangeEventType change) { + This->lpVtbl->PlaylistChange(This,playlist,change); +} +static FORCEINLINE void IWMPEvents3_CurrentPlaylistChange(IWMPEvents3* This,WMPPlaylistChangeEventType change) { + This->lpVtbl->CurrentPlaylistChange(This,change); +} +static FORCEINLINE void IWMPEvents3_CurrentPlaylistItemAvailable(IWMPEvents3* This,BSTR item) { + This->lpVtbl->CurrentPlaylistItemAvailable(This,item); +} +static FORCEINLINE void IWMPEvents3_MediaChange(IWMPEvents3* This,IDispatch *item) { + This->lpVtbl->MediaChange(This,item); +} +static FORCEINLINE void IWMPEvents3_CurrentMediaItemAvailable(IWMPEvents3* This,BSTR name) { + This->lpVtbl->CurrentMediaItemAvailable(This,name); +} +static FORCEINLINE void IWMPEvents3_CurrentItemChange(IWMPEvents3* This,IDispatch *media) { + This->lpVtbl->CurrentItemChange(This,media); +} +static FORCEINLINE void IWMPEvents3_MediaCollectionChange(IWMPEvents3* This) { + This->lpVtbl->MediaCollectionChange(This); +} +static FORCEINLINE void IWMPEvents3_MediaCollectionAttributeStringAdded(IWMPEvents3* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val); +} +static FORCEINLINE void IWMPEvents3_MediaCollectionAttributeStringRemoved(IWMPEvents3* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val); +} +static FORCEINLINE void IWMPEvents3_MediaCollectionAttributeStringChanged(IWMPEvents3* This,BSTR name,BSTR old_val,BSTR new_val) { + This->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val); +} +static FORCEINLINE void IWMPEvents3_PlaylistCollectionChange(IWMPEvents3* This) { + This->lpVtbl->PlaylistCollectionChange(This); +} +static FORCEINLINE void IWMPEvents3_PlaylistCollectionPlaylistAdded(IWMPEvents3* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistAdded(This,name); +} +static FORCEINLINE void IWMPEvents3_PlaylistCollectionPlaylistRemoved(IWMPEvents3* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name); +} +static FORCEINLINE void IWMPEvents3_PlaylistCollectionPlaylistSetAsDeleted(IWMPEvents3* This,BSTR name,VARIANT_BOOL deleted) { + This->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted); +} +static FORCEINLINE void IWMPEvents3_ModeChange(IWMPEvents3* This,BSTR ModeName,VARIANT_BOOL value) { + This->lpVtbl->ModeChange(This,ModeName,value); +} +static FORCEINLINE void IWMPEvents3_MediaError(IWMPEvents3* This,IDispatch *media) { + This->lpVtbl->MediaError(This,media); +} +static FORCEINLINE void IWMPEvents3_OpenPlaylistSwitch(IWMPEvents3* This,IDispatch *item) { + This->lpVtbl->OpenPlaylistSwitch(This,item); +} +static FORCEINLINE void IWMPEvents3_DomainChange(IWMPEvents3* This,BSTR domain) { + This->lpVtbl->DomainChange(This,domain); +} +static FORCEINLINE void IWMPEvents3_SwitchedToPlayerApplication(IWMPEvents3* This) { + This->lpVtbl->SwitchedToPlayerApplication(This); +} +static FORCEINLINE void IWMPEvents3_SwitchedToControl(IWMPEvents3* This) { + This->lpVtbl->SwitchedToControl(This); +} +static FORCEINLINE void IWMPEvents3_PlayerDockedStateChange(IWMPEvents3* This) { + This->lpVtbl->PlayerDockedStateChange(This); +} +static FORCEINLINE void IWMPEvents3_PlayerReconnect(IWMPEvents3* This) { + This->lpVtbl->PlayerReconnect(This); +} +static FORCEINLINE void IWMPEvents3_Click(IWMPEvents3* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->Click(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents3_DoubleClick(IWMPEvents3* This,short button,short shift_state,LONG fX,LONG fY) { + This->lpVtbl->DoubleClick(This,button,shift_state,fX,fY); +} +static FORCEINLINE void IWMPEvents3_KeyDown(IWMPEvents3* This,short keycode,short shift_state) { + This->lpVtbl->KeyDown(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents3_KeyPress(IWMPEvents3* This,short ascii) { + This->lpVtbl->KeyPress(This,ascii); +} +static FORCEINLINE void IWMPEvents3_KeyUp(IWMPEvents3* This,short keycode,short shift_state) { + This->lpVtbl->KeyUp(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents3_MouseDown(IWMPEvents3* This,short button,short nShiftState,LONG x,LONG y) { + This->lpVtbl->MouseDown(This,button,nShiftState,x,y); +} +static FORCEINLINE void IWMPEvents3_MouseMove(IWMPEvents3* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseMove(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents3_MouseUp(IWMPEvents3* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseUp(This,button,shift_state,x,y); +} +/*** IWMPEvents2 methods ***/ +static FORCEINLINE void IWMPEvents3_DeviceConnect(IWMPEvents3* This,IWMPSyncDevice *device) { + This->lpVtbl->DeviceConnect(This,device); +} +static FORCEINLINE void IWMPEvents3_DeviceDisconnect(IWMPEvents3* This,IWMPSyncDevice *device) { + This->lpVtbl->DeviceDisconnect(This,device); +} +static FORCEINLINE void IWMPEvents3_DeviceStatusChange(IWMPEvents3* This,IWMPSyncDevice *device,WMPDeviceStatus status) { + This->lpVtbl->DeviceStatusChange(This,device,status); +} +static FORCEINLINE void IWMPEvents3_DeviceSyncStateChange(IWMPEvents3* This,IWMPSyncDevice *device,WMPSyncState state) { + This->lpVtbl->DeviceSyncStateChange(This,device,state); +} +static FORCEINLINE void IWMPEvents3_DeviceSyncError(IWMPEvents3* This,IWMPSyncDevice *device,IDispatch *media) { + This->lpVtbl->DeviceSyncError(This,device,media); +} +static FORCEINLINE void IWMPEvents3_CreatePartnershipComplete(IWMPEvents3* This,IWMPSyncDevice *device,HRESULT result) { + This->lpVtbl->CreatePartnershipComplete(This,device,result); +} +/*** IWMPEvents3 methods ***/ +static FORCEINLINE void IWMPEvents3_CdromRipStateChange(IWMPEvents3* This,IWMPCdromRip *rip,WMPRipState state) { + This->lpVtbl->CdromRipStateChange(This,rip,state); +} +static FORCEINLINE void IWMPEvents3_CdromRipMediaError(IWMPEvents3* This,IWMPCdromRip *rip,IDispatch *media) { + This->lpVtbl->CdromRipMediaError(This,rip,media); +} +static FORCEINLINE void IWMPEvents3_CdromBurnStateChange(IWMPEvents3* This,IWMPCdromBurn *burn,WMPBurnState state) { + This->lpVtbl->CdromBurnStateChange(This,burn,state); +} +static FORCEINLINE void IWMPEvents3_CdromBurnMediaError(IWMPEvents3* This,IWMPCdromBurn *burn,IDispatch *media) { + This->lpVtbl->CdromBurnMediaError(This,burn,media); +} +static FORCEINLINE void IWMPEvents3_CdromBurnError(IWMPEvents3* This,IWMPCdromBurn *burn,HRESULT error) { + This->lpVtbl->CdromBurnError(This,burn,error); +} +static FORCEINLINE void IWMPEvents3_LibraryConnect(IWMPEvents3* This,IWMPLibrary *wmplibrary) { + This->lpVtbl->LibraryConnect(This,wmplibrary); +} +static FORCEINLINE void IWMPEvents3_LibraryDisconnect(IWMPEvents3* This,IWMPLibrary *wmplibrary) { + This->lpVtbl->LibraryDisconnect(This,wmplibrary); +} +static FORCEINLINE void IWMPEvents3_FolderScanStateChange(IWMPEvents3* This,WMPFolderScanState state) { + This->lpVtbl->FolderScanStateChange(This,state); +} +static FORCEINLINE void IWMPEvents3_StringCollectionChange(IWMPEvents3* This,IDispatch *collection,WMPStringCollectionChangeEventType change,LONG index) { + This->lpVtbl->StringCollectionChange(This,collection,change,index); +} +static FORCEINLINE void IWMPEvents3_MediaCollectionMediaAdded(IWMPEvents3* This,IDispatch *media) { + This->lpVtbl->MediaCollectionMediaAdded(This,media); +} +static FORCEINLINE void IWMPEvents3_MediaCollectionMediaRemoved(IWMPEvents3* This,IDispatch *media) { + This->lpVtbl->MediaCollectionMediaRemoved(This,media); +} +#endif +#endif + +#endif + + +#endif /* __IWMPEvents3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPEvents4 interface + */ +#ifndef __IWMPEvents4_INTERFACE_DEFINED__ +#define __IWMPEvents4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPEvents4, 0x26dabcfa, 0x306b, 0x404d, 0x9a,0x6f, 0x63,0x0a,0x84,0x05,0x04,0x8d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("26dabcfa-306b-404d-9a6f-630a8405048d") +IWMPEvents4 : public IWMPEvents3 +{ + virtual void STDMETHODCALLTYPE DeviceEstimation( + IWMPSyncDevice *device, + HRESULT result, + LONGLONG used_space, + LONGLONG estimated_space) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPEvents4, 0x26dabcfa, 0x306b, 0x404d, 0x9a,0x6f, 0x63,0x0a,0x84,0x05,0x04,0x8d) +#endif +#else +typedef struct IWMPEvents4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPEvents4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPEvents4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPEvents4 *This); + + /*** IWMPEvents methods ***/ + void (STDMETHODCALLTYPE *OpenStateChange)( + IWMPEvents4 *This, + LONG state); + + void (STDMETHODCALLTYPE *PlayStateChange)( + IWMPEvents4 *This, + LONG state); + + void (STDMETHODCALLTYPE *AudioLanguageChange)( + IWMPEvents4 *This, + LONG lang); + + void (STDMETHODCALLTYPE *StatusChange)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *ScriptCommand)( + IWMPEvents4 *This, + BSTR type, + BSTR param); + + void (STDMETHODCALLTYPE *NewStream)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *Disconnect)( + IWMPEvents4 *This, + LONG result); + + void (STDMETHODCALLTYPE *Buffering)( + IWMPEvents4 *This, + VARIANT_BOOL start); + + void (STDMETHODCALLTYPE *Error)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *Warning)( + IWMPEvents4 *This, + LONG warning, + LONG param, + BSTR description); + + void (STDMETHODCALLTYPE *EndOfStream)( + IWMPEvents4 *This, + LONG result); + + void (STDMETHODCALLTYPE *PositionChange)( + IWMPEvents4 *This, + double old_position, + double new_position); + + void (STDMETHODCALLTYPE *MarkerHit)( + IWMPEvents4 *This, + LONG marker); + + void (STDMETHODCALLTYPE *DurationUnitChange)( + IWMPEvents4 *This, + LONG duration); + + void (STDMETHODCALLTYPE *CdromMediaChange)( + IWMPEvents4 *This, + LONG num); + + void (STDMETHODCALLTYPE *PlaylistChange)( + IWMPEvents4 *This, + IDispatch *playlist, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistChange)( + IWMPEvents4 *This, + WMPPlaylistChangeEventType change); + + void (STDMETHODCALLTYPE *CurrentPlaylistItemAvailable)( + IWMPEvents4 *This, + BSTR item); + + void (STDMETHODCALLTYPE *MediaChange)( + IWMPEvents4 *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *CurrentMediaItemAvailable)( + IWMPEvents4 *This, + BSTR name); + + void (STDMETHODCALLTYPE *CurrentItemChange)( + IWMPEvents4 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *MediaCollectionChange)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringAdded)( + IWMPEvents4 *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringRemoved)( + IWMPEvents4 *This, + BSTR name, + BSTR val); + + void (STDMETHODCALLTYPE *MediaCollectionAttributeStringChanged)( + IWMPEvents4 *This, + BSTR name, + BSTR old_val, + BSTR new_val); + + void (STDMETHODCALLTYPE *PlaylistCollectionChange)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistAdded)( + IWMPEvents4 *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistRemoved)( + IWMPEvents4 *This, + BSTR name); + + void (STDMETHODCALLTYPE *PlaylistCollectionPlaylistSetAsDeleted)( + IWMPEvents4 *This, + BSTR name, + VARIANT_BOOL deleted); + + void (STDMETHODCALLTYPE *ModeChange)( + IWMPEvents4 *This, + BSTR ModeName, + VARIANT_BOOL value); + + void (STDMETHODCALLTYPE *MediaError)( + IWMPEvents4 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *OpenPlaylistSwitch)( + IWMPEvents4 *This, + IDispatch *item); + + void (STDMETHODCALLTYPE *DomainChange)( + IWMPEvents4 *This, + BSTR domain); + + void (STDMETHODCALLTYPE *SwitchedToPlayerApplication)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *SwitchedToControl)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *PlayerDockedStateChange)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *PlayerReconnect)( + IWMPEvents4 *This); + + void (STDMETHODCALLTYPE *Click)( + IWMPEvents4 *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *DoubleClick)( + IWMPEvents4 *This, + short button, + short shift_state, + LONG fX, + LONG fY); + + void (STDMETHODCALLTYPE *KeyDown)( + IWMPEvents4 *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *KeyPress)( + IWMPEvents4 *This, + short ascii); + + void (STDMETHODCALLTYPE *KeyUp)( + IWMPEvents4 *This, + short keycode, + short shift_state); + + void (STDMETHODCALLTYPE *MouseDown)( + IWMPEvents4 *This, + short button, + short nShiftState, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseMove)( + IWMPEvents4 *This, + short button, + short shift_state, + LONG x, + LONG y); + + void (STDMETHODCALLTYPE *MouseUp)( + IWMPEvents4 *This, + short button, + short shift_state, + LONG x, + LONG y); + + /*** IWMPEvents2 methods ***/ + void (STDMETHODCALLTYPE *DeviceConnect)( + IWMPEvents4 *This, + IWMPSyncDevice *device); + + void (STDMETHODCALLTYPE *DeviceDisconnect)( + IWMPEvents4 *This, + IWMPSyncDevice *device); + + void (STDMETHODCALLTYPE *DeviceStatusChange)( + IWMPEvents4 *This, + IWMPSyncDevice *device, + WMPDeviceStatus status); + + void (STDMETHODCALLTYPE *DeviceSyncStateChange)( + IWMPEvents4 *This, + IWMPSyncDevice *device, + WMPSyncState state); + + void (STDMETHODCALLTYPE *DeviceSyncError)( + IWMPEvents4 *This, + IWMPSyncDevice *device, + IDispatch *media); + + void (STDMETHODCALLTYPE *CreatePartnershipComplete)( + IWMPEvents4 *This, + IWMPSyncDevice *device, + HRESULT result); + + /*** IWMPEvents3 methods ***/ + void (STDMETHODCALLTYPE *CdromRipStateChange)( + IWMPEvents4 *This, + IWMPCdromRip *rip, + WMPRipState state); + + void (STDMETHODCALLTYPE *CdromRipMediaError)( + IWMPEvents4 *This, + IWMPCdromRip *rip, + IDispatch *media); + + void (STDMETHODCALLTYPE *CdromBurnStateChange)( + IWMPEvents4 *This, + IWMPCdromBurn *burn, + WMPBurnState state); + + void (STDMETHODCALLTYPE *CdromBurnMediaError)( + IWMPEvents4 *This, + IWMPCdromBurn *burn, + IDispatch *media); + + void (STDMETHODCALLTYPE *CdromBurnError)( + IWMPEvents4 *This, + IWMPCdromBurn *burn, + HRESULT error); + + void (STDMETHODCALLTYPE *LibraryConnect)( + IWMPEvents4 *This, + IWMPLibrary *wmplibrary); + + void (STDMETHODCALLTYPE *LibraryDisconnect)( + IWMPEvents4 *This, + IWMPLibrary *wmplibrary); + + void (STDMETHODCALLTYPE *FolderScanStateChange)( + IWMPEvents4 *This, + WMPFolderScanState state); + + void (STDMETHODCALLTYPE *StringCollectionChange)( + IWMPEvents4 *This, + IDispatch *collection, + WMPStringCollectionChangeEventType change, + LONG index); + + void (STDMETHODCALLTYPE *MediaCollectionMediaAdded)( + IWMPEvents4 *This, + IDispatch *media); + + void (STDMETHODCALLTYPE *MediaCollectionMediaRemoved)( + IWMPEvents4 *This, + IDispatch *media); + + /*** IWMPEvents4 methods ***/ + void (STDMETHODCALLTYPE *DeviceEstimation)( + IWMPEvents4 *This, + IWMPSyncDevice *device, + HRESULT result, + LONGLONG used_space, + LONGLONG estimated_space); + + END_INTERFACE +} IWMPEvents4Vtbl; + +interface IWMPEvents4 { + CONST_VTBL IWMPEvents4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPEvents4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPEvents4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPEvents4_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPEvents methods ***/ +#define IWMPEvents4_OpenStateChange(This,state) (This)->lpVtbl->OpenStateChange(This,state) +#define IWMPEvents4_PlayStateChange(This,state) (This)->lpVtbl->PlayStateChange(This,state) +#define IWMPEvents4_AudioLanguageChange(This,lang) (This)->lpVtbl->AudioLanguageChange(This,lang) +#define IWMPEvents4_StatusChange(This) (This)->lpVtbl->StatusChange(This) +#define IWMPEvents4_ScriptCommand(This,type,param) (This)->lpVtbl->ScriptCommand(This,type,param) +#define IWMPEvents4_NewStream(This) (This)->lpVtbl->NewStream(This) +#define IWMPEvents4_Disconnect(This,result) (This)->lpVtbl->Disconnect(This,result) +#define IWMPEvents4_Buffering(This,start) (This)->lpVtbl->Buffering(This,start) +#define IWMPEvents4_Error(This) (This)->lpVtbl->Error(This) +#define IWMPEvents4_Warning(This,warning,param,description) (This)->lpVtbl->Warning(This,warning,param,description) +#define IWMPEvents4_EndOfStream(This,result) (This)->lpVtbl->EndOfStream(This,result) +#define IWMPEvents4_PositionChange(This,old_position,new_position) (This)->lpVtbl->PositionChange(This,old_position,new_position) +#define IWMPEvents4_MarkerHit(This,marker) (This)->lpVtbl->MarkerHit(This,marker) +#define IWMPEvents4_DurationUnitChange(This,duration) (This)->lpVtbl->DurationUnitChange(This,duration) +#define IWMPEvents4_CdromMediaChange(This,num) (This)->lpVtbl->CdromMediaChange(This,num) +#define IWMPEvents4_PlaylistChange(This,playlist,change) (This)->lpVtbl->PlaylistChange(This,playlist,change) +#define IWMPEvents4_CurrentPlaylistChange(This,change) (This)->lpVtbl->CurrentPlaylistChange(This,change) +#define IWMPEvents4_CurrentPlaylistItemAvailable(This,item) (This)->lpVtbl->CurrentPlaylistItemAvailable(This,item) +#define IWMPEvents4_MediaChange(This,item) (This)->lpVtbl->MediaChange(This,item) +#define IWMPEvents4_CurrentMediaItemAvailable(This,name) (This)->lpVtbl->CurrentMediaItemAvailable(This,name) +#define IWMPEvents4_CurrentItemChange(This,media) (This)->lpVtbl->CurrentItemChange(This,media) +#define IWMPEvents4_MediaCollectionChange(This) (This)->lpVtbl->MediaCollectionChange(This) +#define IWMPEvents4_MediaCollectionAttributeStringAdded(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val) +#define IWMPEvents4_MediaCollectionAttributeStringRemoved(This,name,val) (This)->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val) +#define IWMPEvents4_MediaCollectionAttributeStringChanged(This,name,old_val,new_val) (This)->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val) +#define IWMPEvents4_PlaylistCollectionChange(This) (This)->lpVtbl->PlaylistCollectionChange(This) +#define IWMPEvents4_PlaylistCollectionPlaylistAdded(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistAdded(This,name) +#define IWMPEvents4_PlaylistCollectionPlaylistRemoved(This,name) (This)->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name) +#define IWMPEvents4_PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) (This)->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted) +#define IWMPEvents4_ModeChange(This,ModeName,value) (This)->lpVtbl->ModeChange(This,ModeName,value) +#define IWMPEvents4_MediaError(This,media) (This)->lpVtbl->MediaError(This,media) +#define IWMPEvents4_OpenPlaylistSwitch(This,item) (This)->lpVtbl->OpenPlaylistSwitch(This,item) +#define IWMPEvents4_DomainChange(This,domain) (This)->lpVtbl->DomainChange(This,domain) +#define IWMPEvents4_SwitchedToPlayerApplication(This) (This)->lpVtbl->SwitchedToPlayerApplication(This) +#define IWMPEvents4_SwitchedToControl(This) (This)->lpVtbl->SwitchedToControl(This) +#define IWMPEvents4_PlayerDockedStateChange(This) (This)->lpVtbl->PlayerDockedStateChange(This) +#define IWMPEvents4_PlayerReconnect(This) (This)->lpVtbl->PlayerReconnect(This) +#define IWMPEvents4_Click(This,button,shift_state,x,y) (This)->lpVtbl->Click(This,button,shift_state,x,y) +#define IWMPEvents4_DoubleClick(This,button,shift_state,fX,fY) (This)->lpVtbl->DoubleClick(This,button,shift_state,fX,fY) +#define IWMPEvents4_KeyDown(This,keycode,shift_state) (This)->lpVtbl->KeyDown(This,keycode,shift_state) +#define IWMPEvents4_KeyPress(This,ascii) (This)->lpVtbl->KeyPress(This,ascii) +#define IWMPEvents4_KeyUp(This,keycode,shift_state) (This)->lpVtbl->KeyUp(This,keycode,shift_state) +#define IWMPEvents4_MouseDown(This,button,nShiftState,x,y) (This)->lpVtbl->MouseDown(This,button,nShiftState,x,y) +#define IWMPEvents4_MouseMove(This,button,shift_state,x,y) (This)->lpVtbl->MouseMove(This,button,shift_state,x,y) +#define IWMPEvents4_MouseUp(This,button,shift_state,x,y) (This)->lpVtbl->MouseUp(This,button,shift_state,x,y) +/*** IWMPEvents2 methods ***/ +#define IWMPEvents4_DeviceConnect(This,device) (This)->lpVtbl->DeviceConnect(This,device) +#define IWMPEvents4_DeviceDisconnect(This,device) (This)->lpVtbl->DeviceDisconnect(This,device) +#define IWMPEvents4_DeviceStatusChange(This,device,status) (This)->lpVtbl->DeviceStatusChange(This,device,status) +#define IWMPEvents4_DeviceSyncStateChange(This,device,state) (This)->lpVtbl->DeviceSyncStateChange(This,device,state) +#define IWMPEvents4_DeviceSyncError(This,device,media) (This)->lpVtbl->DeviceSyncError(This,device,media) +#define IWMPEvents4_CreatePartnershipComplete(This,device,result) (This)->lpVtbl->CreatePartnershipComplete(This,device,result) +/*** IWMPEvents3 methods ***/ +#define IWMPEvents4_CdromRipStateChange(This,rip,state) (This)->lpVtbl->CdromRipStateChange(This,rip,state) +#define IWMPEvents4_CdromRipMediaError(This,rip,media) (This)->lpVtbl->CdromRipMediaError(This,rip,media) +#define IWMPEvents4_CdromBurnStateChange(This,burn,state) (This)->lpVtbl->CdromBurnStateChange(This,burn,state) +#define IWMPEvents4_CdromBurnMediaError(This,burn,media) (This)->lpVtbl->CdromBurnMediaError(This,burn,media) +#define IWMPEvents4_CdromBurnError(This,burn,error) (This)->lpVtbl->CdromBurnError(This,burn,error) +#define IWMPEvents4_LibraryConnect(This,wmplibrary) (This)->lpVtbl->LibraryConnect(This,wmplibrary) +#define IWMPEvents4_LibraryDisconnect(This,wmplibrary) (This)->lpVtbl->LibraryDisconnect(This,wmplibrary) +#define IWMPEvents4_FolderScanStateChange(This,state) (This)->lpVtbl->FolderScanStateChange(This,state) +#define IWMPEvents4_StringCollectionChange(This,collection,change,index) (This)->lpVtbl->StringCollectionChange(This,collection,change,index) +#define IWMPEvents4_MediaCollectionMediaAdded(This,media) (This)->lpVtbl->MediaCollectionMediaAdded(This,media) +#define IWMPEvents4_MediaCollectionMediaRemoved(This,media) (This)->lpVtbl->MediaCollectionMediaRemoved(This,media) +/*** IWMPEvents4 methods ***/ +#define IWMPEvents4_DeviceEstimation(This,device,result,used_space,estimated_space) (This)->lpVtbl->DeviceEstimation(This,device,result,used_space,estimated_space) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPEvents4_QueryInterface(IWMPEvents4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPEvents4_AddRef(IWMPEvents4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPEvents4_Release(IWMPEvents4* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPEvents methods ***/ +static FORCEINLINE void IWMPEvents4_OpenStateChange(IWMPEvents4* This,LONG state) { + This->lpVtbl->OpenStateChange(This,state); +} +static FORCEINLINE void IWMPEvents4_PlayStateChange(IWMPEvents4* This,LONG state) { + This->lpVtbl->PlayStateChange(This,state); +} +static FORCEINLINE void IWMPEvents4_AudioLanguageChange(IWMPEvents4* This,LONG lang) { + This->lpVtbl->AudioLanguageChange(This,lang); +} +static FORCEINLINE void IWMPEvents4_StatusChange(IWMPEvents4* This) { + This->lpVtbl->StatusChange(This); +} +static FORCEINLINE void IWMPEvents4_ScriptCommand(IWMPEvents4* This,BSTR type,BSTR param) { + This->lpVtbl->ScriptCommand(This,type,param); +} +static FORCEINLINE void IWMPEvents4_NewStream(IWMPEvents4* This) { + This->lpVtbl->NewStream(This); +} +static FORCEINLINE void IWMPEvents4_Disconnect(IWMPEvents4* This,LONG result) { + This->lpVtbl->Disconnect(This,result); +} +static FORCEINLINE void IWMPEvents4_Buffering(IWMPEvents4* This,VARIANT_BOOL start) { + This->lpVtbl->Buffering(This,start); +} +static FORCEINLINE void IWMPEvents4_Error(IWMPEvents4* This) { + This->lpVtbl->Error(This); +} +static FORCEINLINE void IWMPEvents4_Warning(IWMPEvents4* This,LONG warning,LONG param,BSTR description) { + This->lpVtbl->Warning(This,warning,param,description); +} +static FORCEINLINE void IWMPEvents4_EndOfStream(IWMPEvents4* This,LONG result) { + This->lpVtbl->EndOfStream(This,result); +} +static FORCEINLINE void IWMPEvents4_PositionChange(IWMPEvents4* This,double old_position,double new_position) { + This->lpVtbl->PositionChange(This,old_position,new_position); +} +static FORCEINLINE void IWMPEvents4_MarkerHit(IWMPEvents4* This,LONG marker) { + This->lpVtbl->MarkerHit(This,marker); +} +static FORCEINLINE void IWMPEvents4_DurationUnitChange(IWMPEvents4* This,LONG duration) { + This->lpVtbl->DurationUnitChange(This,duration); +} +static FORCEINLINE void IWMPEvents4_CdromMediaChange(IWMPEvents4* This,LONG num) { + This->lpVtbl->CdromMediaChange(This,num); +} +static FORCEINLINE void IWMPEvents4_PlaylistChange(IWMPEvents4* This,IDispatch *playlist,WMPPlaylistChangeEventType change) { + This->lpVtbl->PlaylistChange(This,playlist,change); +} +static FORCEINLINE void IWMPEvents4_CurrentPlaylistChange(IWMPEvents4* This,WMPPlaylistChangeEventType change) { + This->lpVtbl->CurrentPlaylistChange(This,change); +} +static FORCEINLINE void IWMPEvents4_CurrentPlaylistItemAvailable(IWMPEvents4* This,BSTR item) { + This->lpVtbl->CurrentPlaylistItemAvailable(This,item); +} +static FORCEINLINE void IWMPEvents4_MediaChange(IWMPEvents4* This,IDispatch *item) { + This->lpVtbl->MediaChange(This,item); +} +static FORCEINLINE void IWMPEvents4_CurrentMediaItemAvailable(IWMPEvents4* This,BSTR name) { + This->lpVtbl->CurrentMediaItemAvailable(This,name); +} +static FORCEINLINE void IWMPEvents4_CurrentItemChange(IWMPEvents4* This,IDispatch *media) { + This->lpVtbl->CurrentItemChange(This,media); +} +static FORCEINLINE void IWMPEvents4_MediaCollectionChange(IWMPEvents4* This) { + This->lpVtbl->MediaCollectionChange(This); +} +static FORCEINLINE void IWMPEvents4_MediaCollectionAttributeStringAdded(IWMPEvents4* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringAdded(This,name,val); +} +static FORCEINLINE void IWMPEvents4_MediaCollectionAttributeStringRemoved(IWMPEvents4* This,BSTR name,BSTR val) { + This->lpVtbl->MediaCollectionAttributeStringRemoved(This,name,val); +} +static FORCEINLINE void IWMPEvents4_MediaCollectionAttributeStringChanged(IWMPEvents4* This,BSTR name,BSTR old_val,BSTR new_val) { + This->lpVtbl->MediaCollectionAttributeStringChanged(This,name,old_val,new_val); +} +static FORCEINLINE void IWMPEvents4_PlaylistCollectionChange(IWMPEvents4* This) { + This->lpVtbl->PlaylistCollectionChange(This); +} +static FORCEINLINE void IWMPEvents4_PlaylistCollectionPlaylistAdded(IWMPEvents4* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistAdded(This,name); +} +static FORCEINLINE void IWMPEvents4_PlaylistCollectionPlaylistRemoved(IWMPEvents4* This,BSTR name) { + This->lpVtbl->PlaylistCollectionPlaylistRemoved(This,name); +} +static FORCEINLINE void IWMPEvents4_PlaylistCollectionPlaylistSetAsDeleted(IWMPEvents4* This,BSTR name,VARIANT_BOOL deleted) { + This->lpVtbl->PlaylistCollectionPlaylistSetAsDeleted(This,name,deleted); +} +static FORCEINLINE void IWMPEvents4_ModeChange(IWMPEvents4* This,BSTR ModeName,VARIANT_BOOL value) { + This->lpVtbl->ModeChange(This,ModeName,value); +} +static FORCEINLINE void IWMPEvents4_MediaError(IWMPEvents4* This,IDispatch *media) { + This->lpVtbl->MediaError(This,media); +} +static FORCEINLINE void IWMPEvents4_OpenPlaylistSwitch(IWMPEvents4* This,IDispatch *item) { + This->lpVtbl->OpenPlaylistSwitch(This,item); +} +static FORCEINLINE void IWMPEvents4_DomainChange(IWMPEvents4* This,BSTR domain) { + This->lpVtbl->DomainChange(This,domain); +} +static FORCEINLINE void IWMPEvents4_SwitchedToPlayerApplication(IWMPEvents4* This) { + This->lpVtbl->SwitchedToPlayerApplication(This); +} +static FORCEINLINE void IWMPEvents4_SwitchedToControl(IWMPEvents4* This) { + This->lpVtbl->SwitchedToControl(This); +} +static FORCEINLINE void IWMPEvents4_PlayerDockedStateChange(IWMPEvents4* This) { + This->lpVtbl->PlayerDockedStateChange(This); +} +static FORCEINLINE void IWMPEvents4_PlayerReconnect(IWMPEvents4* This) { + This->lpVtbl->PlayerReconnect(This); +} +static FORCEINLINE void IWMPEvents4_Click(IWMPEvents4* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->Click(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents4_DoubleClick(IWMPEvents4* This,short button,short shift_state,LONG fX,LONG fY) { + This->lpVtbl->DoubleClick(This,button,shift_state,fX,fY); +} +static FORCEINLINE void IWMPEvents4_KeyDown(IWMPEvents4* This,short keycode,short shift_state) { + This->lpVtbl->KeyDown(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents4_KeyPress(IWMPEvents4* This,short ascii) { + This->lpVtbl->KeyPress(This,ascii); +} +static FORCEINLINE void IWMPEvents4_KeyUp(IWMPEvents4* This,short keycode,short shift_state) { + This->lpVtbl->KeyUp(This,keycode,shift_state); +} +static FORCEINLINE void IWMPEvents4_MouseDown(IWMPEvents4* This,short button,short nShiftState,LONG x,LONG y) { + This->lpVtbl->MouseDown(This,button,nShiftState,x,y); +} +static FORCEINLINE void IWMPEvents4_MouseMove(IWMPEvents4* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseMove(This,button,shift_state,x,y); +} +static FORCEINLINE void IWMPEvents4_MouseUp(IWMPEvents4* This,short button,short shift_state,LONG x,LONG y) { + This->lpVtbl->MouseUp(This,button,shift_state,x,y); +} +/*** IWMPEvents2 methods ***/ +static FORCEINLINE void IWMPEvents4_DeviceConnect(IWMPEvents4* This,IWMPSyncDevice *device) { + This->lpVtbl->DeviceConnect(This,device); +} +static FORCEINLINE void IWMPEvents4_DeviceDisconnect(IWMPEvents4* This,IWMPSyncDevice *device) { + This->lpVtbl->DeviceDisconnect(This,device); +} +static FORCEINLINE void IWMPEvents4_DeviceStatusChange(IWMPEvents4* This,IWMPSyncDevice *device,WMPDeviceStatus status) { + This->lpVtbl->DeviceStatusChange(This,device,status); +} +static FORCEINLINE void IWMPEvents4_DeviceSyncStateChange(IWMPEvents4* This,IWMPSyncDevice *device,WMPSyncState state) { + This->lpVtbl->DeviceSyncStateChange(This,device,state); +} +static FORCEINLINE void IWMPEvents4_DeviceSyncError(IWMPEvents4* This,IWMPSyncDevice *device,IDispatch *media) { + This->lpVtbl->DeviceSyncError(This,device,media); +} +static FORCEINLINE void IWMPEvents4_CreatePartnershipComplete(IWMPEvents4* This,IWMPSyncDevice *device,HRESULT result) { + This->lpVtbl->CreatePartnershipComplete(This,device,result); +} +/*** IWMPEvents3 methods ***/ +static FORCEINLINE void IWMPEvents4_CdromRipStateChange(IWMPEvents4* This,IWMPCdromRip *rip,WMPRipState state) { + This->lpVtbl->CdromRipStateChange(This,rip,state); +} +static FORCEINLINE void IWMPEvents4_CdromRipMediaError(IWMPEvents4* This,IWMPCdromRip *rip,IDispatch *media) { + This->lpVtbl->CdromRipMediaError(This,rip,media); +} +static FORCEINLINE void IWMPEvents4_CdromBurnStateChange(IWMPEvents4* This,IWMPCdromBurn *burn,WMPBurnState state) { + This->lpVtbl->CdromBurnStateChange(This,burn,state); +} +static FORCEINLINE void IWMPEvents4_CdromBurnMediaError(IWMPEvents4* This,IWMPCdromBurn *burn,IDispatch *media) { + This->lpVtbl->CdromBurnMediaError(This,burn,media); +} +static FORCEINLINE void IWMPEvents4_CdromBurnError(IWMPEvents4* This,IWMPCdromBurn *burn,HRESULT error) { + This->lpVtbl->CdromBurnError(This,burn,error); +} +static FORCEINLINE void IWMPEvents4_LibraryConnect(IWMPEvents4* This,IWMPLibrary *wmplibrary) { + This->lpVtbl->LibraryConnect(This,wmplibrary); +} +static FORCEINLINE void IWMPEvents4_LibraryDisconnect(IWMPEvents4* This,IWMPLibrary *wmplibrary) { + This->lpVtbl->LibraryDisconnect(This,wmplibrary); +} +static FORCEINLINE void IWMPEvents4_FolderScanStateChange(IWMPEvents4* This,WMPFolderScanState state) { + This->lpVtbl->FolderScanStateChange(This,state); +} +static FORCEINLINE void IWMPEvents4_StringCollectionChange(IWMPEvents4* This,IDispatch *collection,WMPStringCollectionChangeEventType change,LONG index) { + This->lpVtbl->StringCollectionChange(This,collection,change,index); +} +static FORCEINLINE void IWMPEvents4_MediaCollectionMediaAdded(IWMPEvents4* This,IDispatch *media) { + This->lpVtbl->MediaCollectionMediaAdded(This,media); +} +static FORCEINLINE void IWMPEvents4_MediaCollectionMediaRemoved(IWMPEvents4* This,IDispatch *media) { + This->lpVtbl->MediaCollectionMediaRemoved(This,media); +} +/*** IWMPEvents4 methods ***/ +static FORCEINLINE void IWMPEvents4_DeviceEstimation(IWMPEvents4* This,IWMPSyncDevice *device,HRESULT result,LONGLONG used_space,LONGLONG estimated_space) { + This->lpVtbl->DeviceEstimation(This,device,result,used_space,estimated_space); +} +#endif +#endif + +#endif + + +#endif /* __IWMPEvents4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * _WMPOCXEvents interface + */ +#ifndef ___WMPOCXEvents_INTERFACE_DEFINED__ +#define ___WMPOCXEvents_INTERFACE_DEFINED__ + +DEFINE_GUID(IID__WMPOCXEvents, 0x6bf52a51, 0x394a, 0x11d3, 0xb1,0x53, 0x00,0xc0,0x4f,0x79,0xfa,0xa6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6bf52a51-394a-11d3-b153-00c04f79faa6") +_WMPOCXEvents : public IDispatch +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(_WMPOCXEvents, 0x6bf52a51, 0x394a, 0x11d3, 0xb1,0x53, 0x00,0xc0,0x4f,0x79,0xfa,0xa6) +#endif +#else +typedef struct _WMPOCXEventsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + _WMPOCXEvents *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + _WMPOCXEvents *This); + + ULONG (STDMETHODCALLTYPE *Release)( + _WMPOCXEvents *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + _WMPOCXEvents *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + _WMPOCXEvents *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + _WMPOCXEvents *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + _WMPOCXEvents *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + END_INTERFACE +} _WMPOCXEventsVtbl; + +interface _WMPOCXEvents { + CONST_VTBL _WMPOCXEventsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define _WMPOCXEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define _WMPOCXEvents_AddRef(This) (This)->lpVtbl->AddRef(This) +#define _WMPOCXEvents_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define _WMPOCXEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define _WMPOCXEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define _WMPOCXEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define _WMPOCXEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT _WMPOCXEvents_QueryInterface(_WMPOCXEvents* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG _WMPOCXEvents_AddRef(_WMPOCXEvents* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG _WMPOCXEvents_Release(_WMPOCXEvents* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT _WMPOCXEvents_GetTypeInfoCount(_WMPOCXEvents* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT _WMPOCXEvents_GetTypeInfo(_WMPOCXEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT _WMPOCXEvents_GetIDsOfNames(_WMPOCXEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT _WMPOCXEvents_Invoke(_WMPOCXEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +#endif +#endif + +#endif + + +#endif /* ___WMPOCXEvents_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * WindowsMediaPlayer coclass + */ + +DEFINE_GUID(CLSID_WindowsMediaPlayer, 0x6bf52a52, 0x394a, 0x11d3, 0xb1,0x53, 0x00,0xc0,0x4f,0x79,0xfa,0xa6); + +#ifdef __cplusplus +class DECLSPEC_UUID("6bf52a52-394a-11d3-b153-00c04f79faa6") WindowsMediaPlayer; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WindowsMediaPlayer, 0x6bf52a52, 0x394a, 0x11d3, 0xb1,0x53, 0x00,0xc0,0x4f,0x79,0xfa,0xa6) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wmp_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmp.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmp.idl new file mode 100644 index 0000000..a879ab7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmp.idl @@ -0,0 +1,1434 @@ +/* + * Copyright 2014 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + helpstring("Windows Media Player"), + version(1.0), + uuid(6bf52a50-394a-11d3-b153-00c04f79Faa6) +] +library WMPLib { + importlib("stdole2.tlb"); + + typedef enum { + wmposUndefined, + wmposPlaylistChanging, + wmposPlaylistLocating, + wmposPlaylistConnecting, + wmposPlaylistLoading, + wmposPlaylistOpening, + wmposPlaylistOpenNoMedia, + wmposPlaylistChanged, + wmposMediaChanging, + wmposMediaLocating, + wmposMediaConnecting, + wmposMediaLoading, + wmposMediaOpening, + wmposMediaOpen, + wmposBeginCodecAcquisition, + wmposEndCodecAcquisition, + wmposBeginLicenseAcquisition, + wmposEndLicenseAcquisition, + wmposBeginIndividualization, + wmposEndIndividualization, + wmposMediaWaiting, + wmposOpeningUnknownURL + } WMPOpenState; + + typedef enum { + wmppsUndefined, + wmppsStopped, + wmppsPaused, + wmppsPlaying, + wmppsScanForward, + wmppsScanReverse, + wmppsBuffering, + wmppsWaiting, + wmppsMediaEnded, + wmppsTransitioning, + wmppsReady, + wmppsReconnecting, + wmppsLast + } WMPPlayState; + + typedef enum { + wmplcUnknown, + wmplcClear, + wmplcInfoChange, + wmplcMove, + wmplcDelete, + wmplcInsert, + wmplcAppend, + wmplcPrivate, + wmplcNameChange, + wmplcMorph, + wmplcSort, + wmplcLast + } WMPPlaylistChangeEventType; + + typedef enum { + wmpdsUnknown, + wmpdsPartnershipExists, + wmpdsPartnershipDeclined, + wmpdsPartnershipAnother, + wmpdsManualDevice, + wmpdsNewDevice, + wmpdsLast + } WMPDeviceStatus; + + typedef enum { + wmpssUnknown, + wmpssSynchronizing, + wmpssStopped, + wmpssEstimating, + wmpssLast + } WMPSyncState; + + typedef enum { + wmprsUnknown, + wmprsRipping, + wmprsStopped + } WMPRipState; + + typedef enum { + wmpbfAudioCD, + wmpbfDataCD + } WMPBurnFormat; + + typedef enum { + wmpbsUnknown, + wmpbsBusy, + wmpbsReady, + wmpbsWaitingForDisc, + wmpbsRefreshStatusPending, + wmpbsPreparingToBurn, + wmpbsBurning, + wmpbsStopped, + wmpbsErasing, + wmpbsDownloading + } WMPBurnState; + + typedef enum { + wmpltUnknown, + wmpltAll, + wmpltLocal, + wmpltRemote, + wmpltDisc, + wmpltPortableDevice + } WMPLibraryType; + + typedef enum { + wmpfssUnknown, + wmpfssScanning, + wmpfssUpdating, + wmpfssStopped + } WMPFolderScanState; + + typedef enum { + wmpsccetUnknown, + wmpsccetInsert, + wmpsccetChange, + wmpsccetDelete, + wmpsccetClear, + wmpsccetBeginUpdates, + wmpsccetEndUpdates + } WMPStringCollectionChangeEventType; + + interface IWMPMedia; + + [ + odl, + uuid(d5f0f4f1-130c-11d3-b14e-00c04f79Faa6), + dual, + oleautomation + ] + interface IWMPPlaylist : IDispatch + { + [id(0x00c9), propget] + HRESULT count([out, retval] long *plCount); + + [id(0x00ca), propget] + HRESULT name([out, retval] BSTR *pbstrName); + [id(0x00ca), propput] + HRESULT name([in] BSTR pbstrName); + + [id(0x00d2), propget] + HRESULT attributeCount([out, retval] long *plCount); + + [id(0x00d3), propget] + HRESULT attributeName( + [in] long lIndex, + [out, retval] BSTR *pbstrAttributeName); + + [id(0x00d4), propget] + HRESULT Item( + [in] long lIndex, + [out, retval] IWMPMedia** ppIWMPMedia); + + [id(0x00cb)] + HRESULT getItemInfo( + [in] BSTR bstrName, + [out, retval] BSTR *pbstrVal); + + [id(0x00cc)] + HRESULT setItemInfo( + [in] BSTR bstrName, + [in] BSTR bstrValue); + + [id(0x00d5), propget] + HRESULT isIdentical( + [in] IWMPPlaylist *pIWMPPlaylist, + [out, retval] VARIANT_BOOL *pvbool); + + [id(0x00cd)] + HRESULT clear(); + + [id(0x00ce)] + HRESULT insertItem( + [in] long lIndex, + [in] IWMPMedia *pIWMPMedia); + + [id(0x00cf)] + HRESULT appendItem([in] IWMPMedia *pIWMPMedia); + + [id(0x00d0)] + HRESULT removeItem([in] IWMPMedia *pIWMPMedia); + + [id(0x00d1)] + HRESULT moveItem( + long lIndexOld, + long lIndexNew); + } + + [ + odl, + uuid(94d55e95-3Fac-11d3-b155-00c04f79faa6), + dual, + oleautomation + ] + interface IWMPMedia : IDispatch + { + [id(0x02fb), propget] + HRESULT isIdentical( + [in] IWMPMedia *pIWMPMedia, + [out, retval] VARIANT_BOOL *pvbool); + + [id(0x02ef), propget] + HRESULT sourceURL([out, retval] BSTR *pbstrSourceURL); + + [id(0x02fc), propget] + HRESULT name([out, retval] BSTR *pbstrName); + [id(0x02fc), propput] + HRESULT name([in] BSTR pbstrName); + + [id(0x02f0), propget] + HRESULT imageSourceWidth([out, retval] long *pWidth); + + [id(0x02f1), propget] + HRESULT imageSourceHeight([out, retval] long *pHeight); + + [id(0x02f2), propget] + HRESULT markerCount([out, retval] long *pMarkerCount); + + [id(0x02f3)] + HRESULT getMarkerTime( + [in] long MarkerNum, + [out, retval] double *pMarkerTime); + + [id(0x02f4)] + HRESULT getMarkerName( + [in] long MarkerNum, + [out, retval] BSTR *pbstrMarkerName); + + [id(0x02f5), propget] + HRESULT duration([out, retval] double *pDuration); + + [id(0x02f6), propget] + HRESULT durationString([out, retval] BSTR *pbstrDuration); + + [id(0x02f7), propget] + HRESULT attributeCount([out, retval] long *plCount); + + [id(0x02f8)] + HRESULT getAttributeName( + [in] long lIndex, + [out, retval] BSTR *pbstrItemName); + + [id(0x02f9)] + HRESULT getItemInfo( + [in] BSTR bstrItemName, + [out, retval] BSTR *pbstrVal); + + [id(0x02fa)] + HRESULT setItemInfo( + [in] BSTR bstrItemName, + [in] BSTR bstrVal); + + [id(0x02fd)] + HRESULT getItemInfoByAtom( + [in] long lAtom, + [out, retval] BSTR *pbstrVal); + + [id(0x02fe)] + HRESULT isMemberOf( + [in] IWMPPlaylist *pPlaylist, + [out, retval] VARIANT_BOOL *pvarfIsMemberOf); + + [id(0x02ff)] + HRESULT isReadOnlyItem( + [in] BSTR bstrItemName, + [out, retval] VARIANT_BOOL *pvarfIsReadOnly); + } + + [ + odl, + uuid(74c09E02-f828-11d2-a74b-00a0c905f36e), + dual, + oleautomation + ] + interface IWMPControls : IDispatch { + [id(0x003e), propget] + HRESULT isAvailable( + [in] BSTR bstrItem, + [out, retval] VARIANT_BOOL *pIsAvailable); + + [id(0x0033)] + HRESULT play(); + + [id(0x0034)] + HRESULT stop(); + + [id(0x0035)] + HRESULT pause(); + + [id(0x0036)] + HRESULT fastForward(); + + [id(0x0037)] + HRESULT fastReverse(); + + [id(0x0038), propget] + HRESULT currentPosition([out, retval] double *pdCurrentPosition); + [id(0x0038), propput] + HRESULT currentPosition([in] double pdCurrentPosition); + + [id(0x0039), propget] + HRESULT currentPositionString([out, retval] BSTR *pbstrCurrentPosition); + + [id(0x003a)] + HRESULT next(); + + [id(0x003b)] + HRESULT previous(); + + [id(0x003c)] + HRESULT currentItem([out, retval] IWMPMedia **ppIWMPMedia); + + [id(0x003c), propput] + HRESULT currentItem([in] IWMPMedia *ppIWMPMedia); + + [id(0x003d), propget] + HRESULT currentMarker([out, retval] long *plMarker); + + [id(0x003d), propput] + HRESULT currentMarker([in] long plMarker); + + [id(0x003f)] + HRESULT playItem([in] IWMPMedia *pIWMPMedia); + } + + [ + odl, + uuid(9104d1ab-80c9-4fed-abf0-2e6417a6df14), + dual, + oleautomation + ] + interface IWMPSettings : IDispatch + { + [id(0x0071), propget] + HRESULT isAvailable( + [in] BSTR bstrItem, + [out, retval] VARIANT_BOOL *pIsAvailable); + + [id(0x0065), propget] + HRESULT autoStart([out, retval] VARIANT_BOOL *pfAutoStart); + [id(0x0065), propput] + HRESULT autoStart([in] VARIANT_BOOL pfAutoStart); + + [id(0x006c), propget] + HRESULT baseURL([out, retval] BSTR *pbstrBaseURL); + [id(0x006c), propput] + HRESULT baseURL([in] BSTR pbstrBaseURL); + + [id(0x006d), propget] + HRESULT defaultFrame([out, retval] BSTR *pbstrDefaultFrame); + [id(0x006d), propput] + HRESULT defaultFrame([in] BSTR pbstrDefaultFrame); + + [id(0x0067), propget] + HRESULT invokeURLs([out, retval] VARIANT_BOOL *pfInvokeURLs); + [id(0x0067), propput] + HRESULT invokeURLs([in] VARIANT_BOOL pfInvokeURLs); + + [id(0x0068), propget] + HRESULT mute([out, retval] VARIANT_BOOL *pfMute); + [id(0x0068), propput] + HRESULT mute([in] VARIANT_BOOL pfMute); + + [id(0x0069), propget] + HRESULT playCount([out, retval] long *plCount); + [id(0x0069), propput] + HRESULT playCount([in] long plCount); + + [id(0x006a), propget] + HRESULT rate([out, retval] double *pdRate); + [id(0x006a), propput] + HRESULT rate([in] double pdRate); + + [id(0x0066), propget] + HRESULT balance([out, retval] long *plBalance); + [id(0x0066), propput] + HRESULT balance([in] long plBalance); + + [id(0x006b), propget] + HRESULT volume([out, retval] long *plVolume); + [id(0x006b), propput] + HRESULT volume([in] long plVolume); + + [id(0x006e)] + HRESULT getMode( + [in] BSTR bstrMode, + [out, retval] VARIANT_BOOL *pvarfMode); + + [id(0x006f)] + HRESULT setMode( + [in] BSTR bstrMode, + [in] VARIANT_BOOL varfMode); + + [id(0x0070), propget] + HRESULT enableErrorDialogs([out, retval] VARIANT_BOOL *pfEnableErrorDialogs); + + [id(0x0070), propput] + HRESULT enableErrorDialogs([in] VARIANT_BOOL pfEnableErrorDialogs); + } + + [ + odl, + uuid(4a976298-8c0d-11d3-b389-00c04f68574b), + dual, + oleautomation + ] + interface IWMPStringCollection : IDispatch + { + [id(0x0191), propget] + HRESULT count([out, retval] long *plCount); + + [id(0x0192)] + HRESULT Item( + [in] long lIndex, + [out, retval] BSTR *pbstrString); + } + + [ + odl, + uuid(8363bc22-b4b4-4b19-989d-1cd765749dd1), + dual, + oleautomation + ] + interface IWMPMediaCollection : IDispatch + { + [id(0x01c4)] + HRESULT add( + [in] BSTR bstrURL, + [out, retval] IWMPMedia **ppItem); + + [id(0x01c5)] + HRESULT getAll([out, retval] IWMPPlaylist **ppMediaItems); + + [id(0x01c6)] + HRESULT getByName( + [in] BSTR bstrName, + [out, retval] IWMPPlaylist **ppMediaItems); + + [id(0x01c7)] + HRESULT getByGenre( + [in] BSTR bstrGenre, + [out, retval] IWMPPlaylist **ppMediaItems); + + [id(0x01c8)] + HRESULT getByAuthor( + [in] BSTR bstrAuthor, + [out, retval] IWMPPlaylist **ppMediaItems); + + [id(0x01c9)] + HRESULT getByAlbum( + [in] BSTR bstrAlbum, + [out, retval] IWMPPlaylist **ppMediaItems); + + [id(0x01ca)] + HRESULT getByAttribute( + [in] BSTR bstrAttribute, + [in] BSTR bstrValue, + [out, retval] IWMPPlaylist **ppMediaItems); + + [id(0x01cb)] + HRESULT remove( + [in] IWMPMedia *pItem, + [in] VARIANT_BOOL varfDeleteFile); + + [id(0x01cd)] + HRESULT getAttributeStringCollection( + [in] BSTR bstrAttribute, + [in] BSTR bstrMediaType, + [out, retval] IWMPStringCollection **ppStringCollection); + + [id(0x01d6)] + HRESULT getMediaAtom( + [in] BSTR bstrItemName, + [out, retval] long *plAtom); + + [id(0x01d7)] + HRESULT setDeleted( + [in] IWMPMedia *pItem, + [in] VARIANT_BOOL varfIsDeleted); + + [id(0x01d8)] + HRESULT isDeleted( + [in] IWMPMedia *pItem, + [out, retval] VARIANT_BOOL *pvarfIsDeleted); + } + + [ + odl, + uuid(679409c0-99f7-11d3-9fb7-00105aa620bb), + dual, + oleautomation + ] + interface IWMPPlaylistArray : IDispatch + { + [id(0x01f5), propget] + HRESULT count([out, retval] long *plCount); + + [id(0x01f6)] + HRESULT Item( + [in] long lIndex, + [out, retval] IWMPPlaylist **ppItem); + } + + [ + odl, + uuid(10a13217-23a7-439b-b1c0-d847c79b7774), + dual, + oleautomation + ] + interface IWMPPlaylistCollection : IDispatch + { + [id(0x0228)] + HRESULT newPlaylist( + [in] BSTR bstrName, + [out, retval] IWMPPlaylist **ppItem); + + [id(0x0229)] + HRESULT getAll([out, retval] IWMPPlaylistArray **ppPlaylistArray); + + [id(0x022a)] + HRESULT getByName( + [in] BSTR bstrName, + [out, retval] IWMPPlaylistArray **ppPlaylistArray); + + [id(0x022c)] + HRESULT remove([in] IWMPPlaylist *pItem); + + [id(0x0230)] + HRESULT setDeleted( + [in] IWMPPlaylist *pItem, + [in] VARIANT_BOOL varfIsDeleted); + + [id(0x0231)] + HRESULT isDeleted( + [in] IWMPPlaylist *pItem, + [out, retval] VARIANT_BOOL *pvarfIsDeleted); + + [id(0x0232)] + HRESULT importPlaylist( + [in] IWMPPlaylist *pItem, + [out, retval] IWMPPlaylist **ppImportedItem); + } + + [ + odl, + uuid(ec21b779-edef-462d-bba4-ad9dde2b29a7), + dual, + oleautomation + ] + interface IWMPNetwork : IDispatch + { + [id(0x0321), propget] + HRESULT bandWidth([out, retval] long *plBandwidth); + + [id(0x0322), propget] + HRESULT recoveredPackets([out, retval] long *plRecoveredPackets); + + [id(0x0323), propget] + HRESULT sourceProtocol([out, retval] BSTR *pbstrSourceProtocol); + + [id(0x0324), propget] + HRESULT receivedPackets([out, retval] long *plReceivedPackets); + + [id(0x0325), propget] + HRESULT lostPackets([out, retval] long *plLostPackets); + + [id(0x0326), propget] + HRESULT receptionQuality([out, retval] long *plReceptionQuality); + + [id(0x0327), propget] + HRESULT bufferingCount([out, retval] long *plBufferingCount); + + [id(0x0328), propget] + HRESULT bufferingProgress([out, retval] long *plBufferingProgress); + + [id(0x0329), propget] + HRESULT bufferingTime([out, retval] long *plBufferingTime); + + [id(0x0329), propput] + HRESULT bufferingTime([in] long plBufferingTime); + + [id(0x032a), propget] + HRESULT frameRate([out, retval] long *plFrameRate); + + [id(0x032b), propget] + HRESULT maxBitRate([out, retval] long *plBitRate); + + [id(0x032c), propget] + HRESULT bitRate([out, retval] long *plBitRate); + + [id(0x032d)] + HRESULT getProxySettings( + [in] BSTR bstrProtocol, + [out, retval] long *plProxySetting); + + [id(0x032e)] + HRESULT setProxySettings( + [in] BSTR bstrProtocol, + [in] long lProxySetting); + + [id(0x032f)] + HRESULT getProxyName( + [in] BSTR bstrProtocol, + [out, retval] BSTR *pbstrProxyName); + + [id(0x0330)] + HRESULT setProxyName( + [in] BSTR bstrProtocol, + [in] BSTR bstrProxyName); + + [id(0x0331)] + HRESULT getProxyPort( + [in] BSTR bstrProtocol, + [out, retval] long *lProxyPort); + + [id(0x0332)] + HRESULT setProxyPort( + [in] BSTR bstrProtocol, + [in] long lProxyPort); + + [id(0x0333)] + HRESULT getProxyExceptionList( + [in] BSTR bstrProtocol, + [out, retval] BSTR *pbstrExceptionList); + + [id(0x0334)] + HRESULT setProxyExceptionList( + [in] BSTR bstrProtocol, + [in] BSTR pbstrExceptionList); + + [id(0x0335)] + HRESULT getProxyBypassForLocal( + [in] BSTR bstrProtocol, + [out, retval] VARIANT_BOOL *pfBypassForLocal); + + [id(0x0336)] + HRESULT setProxyBypassForLocal( + [in] BSTR bstrProtocol, + [in] VARIANT_BOOL fBypassForLocal); + + [id(0x0337), propget] + HRESULT maxBandwidth([out, retval] long *lMaxBandwidth); + [id(0x0337), propput] + HRESULT maxBandwidth([in] long lMaxBandwidth); + + [id(0x0338), propget] + HRESULT downloadProgress([out, retval] long *plDownloadProgress); + + [id(0x0339), propget] + HRESULT encodedFrameRate([out, retval] long *plFrameRate); + + [id(0x033a), propget] + HRESULT framesSkipped([out, retval] long *plFrames); + } + + [ + odl, + uuid(cfab6e98-8730-11d3-b388-00c04f68574b), + dual, + oleautomation + ] + interface IWMPCdrom : IDispatch + { + [id(0x00fb), propget] + HRESULT driveSpecifier([out, retval] BSTR *pbstrDrive); + + [id(0x00fc), propget] + HRESULT Playlist([out, retval] IWMPPlaylist **ppPlaylist); + + [id(0x00fd)] + HRESULT eject(); + } + + [ + odl, + uuid(ee4c8fe2-34b2-11d3-a3bf-006097c9b344), + dual, + oleautomation + ] + interface IWMPCdromCollection : IDispatch + { + [id(0x012d), propget] + HRESULT count([out, retval] long *plCount); + + [id(0x012e)] + HRESULT Item( + [in] long lIndex, + [out, retval] IWMPCdrom **ppItem); + + [id(0x012f)] + HRESULT getByDriveSpecifier( + [in] BSTR bstrDriveSpecifier, + [out, retval] IWMPCdrom **ppCdrom); + } + + [ + odl, + uuid(8da61686-4668-4a5c-ae5d-803193293dbe), + dual, + oleautomation + ] + interface IWMPDVD : IDispatch + { + [id(0x03e9), propget] + HRESULT isAvailable( + [in] BSTR bstrItem, + [out, retval] VARIANT_BOOL *pIsAvailable); + + [id(0x03ea), propget] + HRESULT domain([out, retval] BSTR *strDomain); + + [id(0x03eb)] + HRESULT topMenu(); + + [id(0x03ec)] + HRESULT titleMenu(); + + [id(0x03ed)] + HRESULT back(); + + [id(0x03ee)] + HRESULT resume(); + } + + [ + odl, + uuid(4f2df574-c588-11d3-9ed0-00c04fb6e937), + dual, + oleautomation + ] + interface IWMPClosedCaption : IDispatch + { + [id(0x03b7), propget] + HRESULT SAMIStyle([out, retval] BSTR *pbstrSAMIStyle); + [id(0x03b7), propput] + HRESULT SAMIStyle([in] BSTR pbstrSAMIStyle); + + [id(0x03b8), propget] + HRESULT SAMILang([out, retval] BSTR *pbstrSAMILang); + + [id(0x03b8), propput] + HRESULT SAMILang([in] BSTR pbstrSAMILang); + + [id(0x03b9), propget] + HRESULT SAMIFileName([out, retval] BSTR *pbstrSAMIFileName); + + [id(0x03b9), propput] + HRESULT SAMIFileName([in] BSTR pbstrSAMIFileName); + + [id(0x03ba), propget] + HRESULT captioningId([out, retval] BSTR *pbstrCaptioningID); + + [id(0x03ba), propput] + HRESULT captioningId([in] BSTR pbstrCaptioningID); + } + + [ + odl, + uuid(3614c646-3b3b-4de7-a81e-930e3f2127b3), + dual, + oleautomation + ] + interface IWMPErrorItem : IDispatch + { + [id(0x0385), propget] + HRESULT errorCode([out, retval] long *phr); + + [id(0x0386), propget] + HRESULT errorDescription([out, retval] BSTR *pbstrDescription); + + [id(0x0387), propget] + HRESULT errorContext([out, retval] VARIANT *pvarContext); + + [id(0x0388), propget] + HRESULT remedy([out, retval] long *plRemedy); + + [id(0x0389), propget] + HRESULT customUrl([out, retval] BSTR *pbstrCustomUrl); + } + + [ + odl, + uuid(a12dcf7d-14ab-4c1b-a8cd-63909f06025b), + dual, + oleautomation + ] + interface IWMPError : IDispatch + { + [id(0x0353)] + HRESULT clearErrorQueue(); + + [id(0x0354), propget] + HRESULT errorCount([out, retval] long *plNumErrors); + + [id(0x0355), propget] + HRESULT Item( + [in] long dwIndex, + [out, retval] IWMPErrorItem **ppErrorItem); + + [id(0x0356)] + HRESULT webHelp(); + } + + [ + odl, + uuid(40897764-ceab-47be-ad4a-8e28537f9bbf), + dual, + oleautomation + ] + interface IWMPPlayerApplication : IDispatch + { + [id(0x044d)] + HRESULT switchToPlayerApplication(); + + [id(0x044e)] + HRESULT switchToControl(); + + [id(0x044f), propget] + HRESULT playerDocked([out, retval] VARIANT_BOOL* pbPlayerDocked); + + [id(0x0450), propget] + HRESULT hasDisplay([out, retval] VARIANT_BOOL *pbHasDisplay); + } + + [ + odl, + uuid(d84cca99-cce2-11d2-9ecc-0000f8085981), + dual, + oleautomation + ] + interface IWMPCore : IDispatch + { + [id(0x0003)] + HRESULT close(); + + [id(0x0001), propget] + HRESULT URL([out, retval] BSTR *pbstrURL); + [id(0x0001), propput] + HRESULT URL([in] BSTR pbstrURL); + + [id(0x0002), propget] + HRESULT openState([out, retval] WMPOpenState *pwmpos); + + [id(0x000a), propget] + HRESULT playState([out, retval] WMPPlayState *pwmpps); + + [id(0x0004), propget] + HRESULT controls([out, retval] IWMPControls **ppControl); + + [id(0x0005), propget] + HRESULT settings([out, retval] IWMPSettings **ppSettings); + + [id(0x0006), propget] + HRESULT currentMedia([out, retval] IWMPMedia **ppMedia); + [id(0x0006), propput] + HRESULT currentMedia([in] IWMPMedia *ppMedia); + + [id(0x0008), propget] + HRESULT mediaCollection([out, retval] IWMPMediaCollection **ppMediaCollection); + + [id(0x0009), propget] + HRESULT playlistCollection([out, retval] IWMPPlaylistCollection **ppPlaylistCollection); + + [id(0x000b), propget] + HRESULT versionInfo([out, retval] BSTR *pbstrVersionInfo); + + [id(0x000c)] + HRESULT launchURL([in] BSTR bstrURL); + + [id(0x0007), propget] + HRESULT network([out, retval] IWMPNetwork **ppQNI); + + [id(0x000d), propget] + HRESULT currentPlaylist([out, retval] IWMPPlaylist **ppPL); + [id(0x000d), propput] + HRESULT currentPlaylist([in] IWMPPlaylist *ppPL); + + [id(0x000e), propget] + HRESULT cdromCollection([out, retval] IWMPCdromCollection **ppCdromCollection); + + [id(0x000f), propget] + HRESULT closedCaption([out, retval] IWMPClosedCaption **ppClosedCaption); + + [id(0x0010), propget] + HRESULT isOnline([out, retval] VARIANT_BOOL *pfOnline); + + [id(0x0011), propget] + HRESULT Error([out, retval] IWMPError **ppError); + + [id(0x0012), propget] + HRESULT status([out, retval] BSTR *pbstrStatus); + } + + [ + odl, + uuid(bc17e5B7-7561-4c18-bb90-17d485775659), + dual, + oleautomation + ] + interface IWMPCore2 : IWMPCore { + [id(0x0028), propget] + HRESULT dvd([out, retval] IWMPDVD **ppDVD); + } + + [ + odl, + uuid(7587c667-628f-499f-88e7-6A6f4e888464), + dual, + oleautomation + ] + interface IWMPCore3 : IWMPCore2 + { + [id(0x0029)] + HRESULT newPlaylist( + [in] BSTR bstrName, + [in] BSTR bstrURL, + [out, retval] IWMPPlaylist **ppPlaylist); + + [id(0x002a)] + HRESULT newMedia( + [in] BSTR bstrURL, + [out, retval] IWMPMedia **ppMedia); + } + + [ + odl, + uuid(6c497d62-8919-413c-82db-e935fb3ec584), + dual, + oleautomation + ] + interface IWMPPlayer4 : IWMPCore3 + { + [id(0x0013), propget] + HRESULT enabled([out, retval] VARIANT_BOOL *pbEnabled); + [id(0x0013), propput] + HRESULT enabled([in] VARIANT_BOOL pbEnabled); + + [id(0x0015), propget] + HRESULT fullScreen([out, retval] VARIANT_BOOL *pbFullScreen); + [id(0x0015), propput] + HRESULT fullScreen(VARIANT_BOOL pbFullScreen); + + [id(0x0016), propget] + HRESULT enableContextMenu([out, retval] VARIANT_BOOL *pbEnableContextMenu); + [id(0x0016), propput] + HRESULT enableContextMenu(VARIANT_BOOL pbEnableContextMenu); + + [id(0x0017), propput] + HRESULT uiMode([in] BSTR pbstrMode); + [id(0x0017), propget] + HRESULT uiMode([out, retval] BSTR *pbstrMode); + + [id(0x0018), propget] + HRESULT stretchToFit([out, retval] VARIANT_BOOL *pbEnabled); + [id(0x0018), propput] + HRESULT stretchToFit([in] VARIANT_BOOL pbEnabled); + + [id(0x0019), propget] + HRESULT windowlessVideo([out, retval] VARIANT_BOOL *pbEnabled); + [id(0x0019), propput] + HRESULT windowlessVideo([in] VARIANT_BOOL pbEnabled); + + [id(0x001a), propget] + HRESULT isRemote([out, retval] VARIANT_BOOL *pvarfIsRemote); + + [id(0x001b), propget] + HRESULT playerApplication([out, retval] IWMPPlayerApplication **ppIWMPPlayerApplication); + + [id(0x001c)] + HRESULT openPlayer([in] BSTR bstrURL); + } + + [ + odl, + uuid(82a2986c-0293-4fd0-b279-b21b86c058be), + oleautomation + ] + interface IWMPSyncDevice : IUnknown + { + [propget] + HRESULT friendlyName([out, retval] BSTR *name); + + [propput] + HRESULT friendlyName([in] BSTR name); + + [propget] + HRESULT deviceName([out, retval] BSTR *name); + + [propget] + HRESULT deviceId([out, retval] BSTR *device); + + [propget] + HRESULT partnershipIndex([out, retval] long *index); + + [propget] + HRESULT connected([out, retval] VARIANT_BOOL *connected); + + [propget] + HRESULT status([out, retval] WMPDeviceStatus *status); + + [propget] + HRESULT syncState([out, retval] WMPSyncState *state); + + [propget] + HRESULT progress([out, retval] long *progress); + + HRESULT getItemInfo( + [in] BSTR name, + [out, retval] BSTR *val); + + HRESULT createPartnership([in] VARIANT_BOOL showui); + + HRESULT deletePartnership(); + + HRESULT start(); + + HRESULT stop(); + + HRESULT showSettings(); + + HRESULT isIdentical( + [in] IWMPSyncDevice *device, + [out, retval] VARIANT_BOOL *ret); + } + + [ + odl, + uuid(88afb4b2-140a-44d2-91e6-4543da467cd1), + oleautomation + ] + interface IWMPSyncDevice2 : IWMPSyncDevice + { + HRESULT setItemInfo( + [in] BSTR name, + [in] BSTR val); + } + + [ + odl, + uuid(56e2294f-69ed-4629-a869-aea72c0dcc2c), + oleautomation + ] + interface IWMPCdromRip : IUnknown + { + [propget] + HRESULT ripState([out, retval] WMPRipState *state); + + [propget] + HRESULT ripProgress([out, retval] long *progress); + + HRESULT startRip(); + + HRESULT stopRip(); + } + + [ + odl, + uuid(bd94dbeb-417f-4928-aa06-087d56ed9b59), + oleautomation + ] + interface IWMPCdromBurn : IUnknown + { + HRESULT isAvailable( + [in] BSTR item, + [out, retval] VARIANT_BOOL *available); + + HRESULT getItemInfo( + [in] BSTR item, + [out, retval] BSTR *val); + + [propget] + HRESULT label([out, retval] BSTR *label); + + [propput] + HRESULT label([in] BSTR label); + + [propget] + HRESULT burnFormat([out, retval] WMPBurnFormat *format); + + [propput] + HRESULT burnFormat([in] WMPBurnFormat format); + + [propget] + HRESULT burnPlaylist([out, retval] IWMPPlaylist **playlist); + + [propput] + HRESULT burnPlaylist([in] IWMPPlaylist *playlist); + + HRESULT refreshStatus(); + + [propget] + HRESULT burnState([out, retval] WMPBurnState *state); + + [propget] + HRESULT burnProgress([out, retval] long *progress); + + HRESULT startBurn(); + + HRESULT stopBurn(); + + HRESULT erase(); + } + + [ + odl, + uuid(3df47861-7df1-4c1f-a81b-4c26f0f7a7c6), + oleautomation + ] + interface IWMPLibrary : IUnknown + { + [propget] + HRESULT name([out, retval] BSTR *name); + + [propget] + HRESULT type([out, retval] WMPLibraryType *type); + + [propget] + HRESULT mediaCollection([out, retval] IWMPMediaCollection **collection); + + HRESULT isIdentical( + [in] IWMPLibrary *wmplibrary, + [out, retval] VARIANT_BOOL *ret); + } + + [ + uuid(19a6627b-da9e-47c1-bb23-00b5e668236a), + odl + ] + interface IWMPEvents : IUnknown + { + void OpenStateChange([in] long state); + + void PlayStateChange([in] long state); + + void AudioLanguageChange([in] long lang); + + void StatusChange(); + + void ScriptCommand( + [in] BSTR type, + [in] BSTR param); + + void NewStream(); + + void Disconnect([in] long result); + + void Buffering([in] VARIANT_BOOL start); + + void Error(); + + void Warning( + [in] long warning, + [in] long param, + [in] BSTR description); + + void EndOfStream([in] long result); + + void PositionChange( + [in] double old_position, + [in] double new_position); + + void MarkerHit([in] long marker); + + void DurationUnitChange([in] long duration); + + void CdromMediaChange([in] long num); + + void PlaylistChange( + [in] IDispatch *playlist, + [in] WMPPlaylistChangeEventType change); + + void CurrentPlaylistChange([in] WMPPlaylistChangeEventType change); + + void CurrentPlaylistItemAvailable([in] BSTR item); + + void MediaChange([in] IDispatch *item); + + void CurrentMediaItemAvailable([in] BSTR name); + + void CurrentItemChange([in] IDispatch *media); + + void MediaCollectionChange(); + + void MediaCollectionAttributeStringAdded( + [in] BSTR name, + [in] BSTR val); + + void MediaCollectionAttributeStringRemoved( + [in] BSTR name, + [in] BSTR val); + + void MediaCollectionAttributeStringChanged( + [in] BSTR name, + [in] BSTR old_val, + [in] BSTR new_val); + + void PlaylistCollectionChange(); + + void PlaylistCollectionPlaylistAdded([in] BSTR name); + + void PlaylistCollectionPlaylistRemoved([in] BSTR name); + + void PlaylistCollectionPlaylistSetAsDeleted( + [in] BSTR name, + [in] VARIANT_BOOL deleted); + + void ModeChange( + [in] BSTR ModeName, + [in] VARIANT_BOOL value); + + void MediaError([in] IDispatch *media); + + void OpenPlaylistSwitch([in] IDispatch *item); + + void DomainChange([in] BSTR domain); + + void SwitchedToPlayerApplication(); + + void SwitchedToControl(); + + void PlayerDockedStateChange(); + + void PlayerReconnect(); + + void Click( + [in] short button, + [in] short shift_state, + [in] long x, + [in] long y); + + void DoubleClick( + [in] short button, + [in] short shift_state, + [in] long fX, + [in] long fY); + + void KeyDown( + [in] short keycode, + [in] short shift_state); + + void KeyPress([in] short ascii); + + void KeyUp( + [in] short keycode, + [in] short shift_state); + + void MouseDown( + [in] short button, + [in] short nShiftState, + [in] long x, + [in] long y); + + void MouseMove( + [in] short button, + [in] short shift_state, + [in] long x, + [in] long y); + + void MouseUp( + [in] short button, + [in] short shift_state, + [in] long x, + [in] long y); + } + + [ + uuid(1e7601fa-47ea-4107-9ea9-9004ed9684ff), + odl + ] + interface IWMPEvents2 : IWMPEvents + { + void DeviceConnect([in] IWMPSyncDevice *device); + + void DeviceDisconnect([in] IWMPSyncDevice *device); + + void DeviceStatusChange( + [in] IWMPSyncDevice *device, + [in] WMPDeviceStatus status); + + void DeviceSyncStateChange( + [in] IWMPSyncDevice *device, + [in] WMPSyncState state); + + void DeviceSyncError( + [in] IWMPSyncDevice *device, + [in] IDispatch *media); + + void CreatePartnershipComplete( + [in] IWMPSyncDevice *device, + [in] HRESULT result); + } + + [ + uuid(1f504270-a66b-4223-8e96-26a06c63d69f), + odl + ] + interface IWMPEvents3 : IWMPEvents2 + { + void CdromRipStateChange( + [in] IWMPCdromRip *rip, + [in] WMPRipState state); + + void CdromRipMediaError( + [in] IWMPCdromRip *rip, + [in] IDispatch *media); + + void CdromBurnStateChange( + [in] IWMPCdromBurn *burn, + [in] WMPBurnState state); + + void CdromBurnMediaError( + [in] IWMPCdromBurn *burn, + [in] IDispatch *media); + + void CdromBurnError( + [in] IWMPCdromBurn *burn, + [in] HRESULT error); + + void LibraryConnect( + [in] IWMPLibrary *wmplibrary); + + void LibraryDisconnect( + [in] IWMPLibrary *wmplibrary); + + void FolderScanStateChange( + [in] WMPFolderScanState state); + + void StringCollectionChange( + [in] IDispatch *collection, + [in] WMPStringCollectionChangeEventType change, + [in] long index); + + void MediaCollectionMediaAdded( + [in] IDispatch *media); + + void MediaCollectionMediaRemoved( + [in] IDispatch *media); + } + + [ + uuid(26dabcfa-306b-404d-9a6f-630a8405048d), + odl + ] + interface IWMPEvents4 : IWMPEvents3 + { + void DeviceEstimation( + [in] IWMPSyncDevice *device, + [in] HRESULT result, + [in] LONGLONG used_space, + [in] LONGLONG estimated_space); + } + + [ + hidden, + uuid(6bf52a51-394a-11d3-b153-00c04f79faa6) + ] + interface _WMPOCXEvents : IDispatch + {} + + [ + helpstring("Windows Media Player"), + threading(apartment), + progid("WMPlayer.OCX.7"), + vi_progid("WMPlayer.OCX"), + uuid(6bf52a52-394a-11d3-b153-00c04f79faa6) + ] + coclass WindowsMediaPlayer + { + [default] interface IWMPPlayer4; + /* interface IWMPPlayer3; */ + /* interface IWMPPlayer2; */ + /* interface IWMPPlayer; */ + interface IWMPControls; + interface IWMPSettings; + interface IWMPPlaylist; + interface IWMPMedia; + interface IWMPMediaCollection; + interface IWMPPlaylistCollection; + interface IWMPCdromCollection; + interface IWMPError; + interface IWMPErrorItem; + /* interface IWMPErrorItem2; */ + interface IWMPClosedCaption; + interface IWMPDVD; + /* interface IWMPControls2; */ + /* interface IWMPMedia2; */ + /* interface IWMPMedia3; */ + /* interface IWMPMetadataPicture; */ + /* interface IWMPMetadataText; */ + /* interface IWMPSettings2; */ + /* interface IWMPControls3; */ + /* interface IWMPClosedCaption2; */ + /* interface IWMPMediaCollection2; */ + /* interface IWMPStringCollection2; */ + [default, source] dispinterface _WMPOCXEvents; + } +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsbuffer.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsbuffer.h new file mode 100644 index 0000000..44efa42 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsbuffer.h @@ -0,0 +1,168 @@ +/*** Autogenerated by WIDL 2.18 from wmsbuffer.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wmsbuffer_h__ +#define __wmsbuffer_h__ + +/* Forward declarations */ + +#ifndef __INSSBuffer_FWD_DEFINED__ +#define __INSSBuffer_FWD_DEFINED__ +typedef interface INSSBuffer INSSBuffer; +#ifdef __cplusplus +interface INSSBuffer; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * INSSBuffer interface + */ +#ifndef __INSSBuffer_INTERFACE_DEFINED__ +#define __INSSBuffer_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INSSBuffer, 0xe1cd3524, 0x03d7, 0x11d2, 0x9e,0xed, 0x00,0x60,0x97,0xd2,0xd7,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e1cd3524-03d7-11d2-9eed-006097d2d7cf") +INSSBuffer : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetLength( + DWORD *pdwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLength( + DWORD dwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxLength( + DWORD *pdwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBuffer( + BYTE **ppdwBuffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferAndLength( + BYTE **ppdwBuffer, + DWORD *pdwLength) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INSSBuffer, 0xe1cd3524, 0x03d7, 0x11d2, 0x9e,0xed, 0x00,0x60,0x97,0xd2,0xd7,0xcf) +#endif +#else +typedef struct INSSBufferVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INSSBuffer *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INSSBuffer *This); + + ULONG (STDMETHODCALLTYPE *Release)( + INSSBuffer *This); + + /*** INSSBuffer methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLength)( + INSSBuffer *This, + DWORD *pdwLength); + + HRESULT (STDMETHODCALLTYPE *SetLength)( + INSSBuffer *This, + DWORD dwLength); + + HRESULT (STDMETHODCALLTYPE *GetMaxLength)( + INSSBuffer *This, + DWORD *pdwLength); + + HRESULT (STDMETHODCALLTYPE *GetBuffer)( + INSSBuffer *This, + BYTE **ppdwBuffer); + + HRESULT (STDMETHODCALLTYPE *GetBufferAndLength)( + INSSBuffer *This, + BYTE **ppdwBuffer, + DWORD *pdwLength); + + END_INTERFACE +} INSSBufferVtbl; + +interface INSSBuffer { + CONST_VTBL INSSBufferVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INSSBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INSSBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INSSBuffer_Release(This) (This)->lpVtbl->Release(This) +/*** INSSBuffer methods ***/ +#define INSSBuffer_GetLength(This,pdwLength) (This)->lpVtbl->GetLength(This,pdwLength) +#define INSSBuffer_SetLength(This,dwLength) (This)->lpVtbl->SetLength(This,dwLength) +#define INSSBuffer_GetMaxLength(This,pdwLength) (This)->lpVtbl->GetMaxLength(This,pdwLength) +#define INSSBuffer_GetBuffer(This,ppdwBuffer) (This)->lpVtbl->GetBuffer(This,ppdwBuffer) +#define INSSBuffer_GetBufferAndLength(This,ppdwBuffer,pdwLength) (This)->lpVtbl->GetBufferAndLength(This,ppdwBuffer,pdwLength) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INSSBuffer_QueryInterface(INSSBuffer* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INSSBuffer_AddRef(INSSBuffer* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INSSBuffer_Release(INSSBuffer* This) { + return This->lpVtbl->Release(This); +} +/*** INSSBuffer methods ***/ +static FORCEINLINE HRESULT INSSBuffer_GetLength(INSSBuffer* This,DWORD *pdwLength) { + return This->lpVtbl->GetLength(This,pdwLength); +} +static FORCEINLINE HRESULT INSSBuffer_SetLength(INSSBuffer* This,DWORD dwLength) { + return This->lpVtbl->SetLength(This,dwLength); +} +static FORCEINLINE HRESULT INSSBuffer_GetMaxLength(INSSBuffer* This,DWORD *pdwLength) { + return This->lpVtbl->GetMaxLength(This,pdwLength); +} +static FORCEINLINE HRESULT INSSBuffer_GetBuffer(INSSBuffer* This,BYTE **ppdwBuffer) { + return This->lpVtbl->GetBuffer(This,ppdwBuffer); +} +static FORCEINLINE HRESULT INSSBuffer_GetBufferAndLength(INSSBuffer* This,BYTE **ppdwBuffer,DWORD *pdwLength) { + return This->lpVtbl->GetBufferAndLength(This,ppdwBuffer,pdwLength); +} +#endif +#endif + +#endif + + +#endif /* __INSSBuffer_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wmsbuffer_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsbuffer.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsbuffer.idl new file mode 100644 index 0000000..fceff5c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsbuffer.idl @@ -0,0 +1,43 @@ +/* + * Copyright 2012 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + +[ + object, + uuid(e1cd3524-03d7-11d2-9eed-006097d2d7cf), + pointer_default(unique), + local +] +interface INSSBuffer : IUnknown +{ + HRESULT GetLength( + [out] DWORD *pdwLength); + HRESULT SetLength( + [in] DWORD dwLength); + + HRESULT GetMaxLength( + [out] DWORD *pdwLength); + + HRESULT GetBuffer( + [out] BYTE **ppdwBuffer); + + HRESULT GetBufferAndLength( + [out] BYTE **ppdwBuffer, + [out] DWORD *pdwLength); +}; diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdk.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdk.h new file mode 100644 index 0000000..b5528a8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdk.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2016 Austin English + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* Unlikely to ever be needed on Wine, currently unimplemented */ +/* #include */ + +#include "wmsdkidl.h" + +/* Currently unimplemented */ +/* #include "asferr.h" */ +#include "nserror.h" diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdkidl.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdkidl.h new file mode 100644 index 0000000..da167af --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdkidl.h @@ -0,0 +1,10282 @@ +/*** Autogenerated by WIDL 2.18 from wmsdkidl.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wmsdkidl_h__ +#define __wmsdkidl_h__ + +/* Forward declarations */ + +#ifndef __IWMStatusCallback_FWD_DEFINED__ +#define __IWMStatusCallback_FWD_DEFINED__ +typedef interface IWMStatusCallback IWMStatusCallback; +#ifdef __cplusplus +interface IWMStatusCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderCallback_FWD_DEFINED__ +#define __IWMReaderCallback_FWD_DEFINED__ +typedef interface IWMReaderCallback IWMReaderCallback; +#ifdef __cplusplus +interface IWMReaderCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMStreamList_FWD_DEFINED__ +#define __IWMStreamList_FWD_DEFINED__ +typedef interface IWMStreamList IWMStreamList; +#ifdef __cplusplus +interface IWMStreamList; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMMutualExclusion_FWD_DEFINED__ +#define __IWMMutualExclusion_FWD_DEFINED__ +typedef interface IWMMutualExclusion IWMMutualExclusion; +#ifdef __cplusplus +interface IWMMutualExclusion; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMBandwidthSharing_FWD_DEFINED__ +#define __IWMBandwidthSharing_FWD_DEFINED__ +typedef interface IWMBandwidthSharing IWMBandwidthSharing; +#ifdef __cplusplus +interface IWMBandwidthSharing; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMStreamPrioritization_FWD_DEFINED__ +#define __IWMStreamPrioritization_FWD_DEFINED__ +typedef interface IWMStreamPrioritization IWMStreamPrioritization; +#ifdef __cplusplus +interface IWMStreamPrioritization; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMStreamConfig_FWD_DEFINED__ +#define __IWMStreamConfig_FWD_DEFINED__ +typedef interface IWMStreamConfig IWMStreamConfig; +#ifdef __cplusplus +interface IWMStreamConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMProfile_FWD_DEFINED__ +#define __IWMProfile_FWD_DEFINED__ +typedef interface IWMProfile IWMProfile; +#ifdef __cplusplus +interface IWMProfile; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMProfile2_FWD_DEFINED__ +#define __IWMProfile2_FWD_DEFINED__ +typedef interface IWMProfile2 IWMProfile2; +#ifdef __cplusplus +interface IWMProfile2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMProfile3_FWD_DEFINED__ +#define __IWMProfile3_FWD_DEFINED__ +typedef interface IWMProfile3 IWMProfile3; +#ifdef __cplusplus +interface IWMProfile3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMProfileManager_FWD_DEFINED__ +#define __IWMProfileManager_FWD_DEFINED__ +typedef interface IWMProfileManager IWMProfileManager; +#ifdef __cplusplus +interface IWMProfileManager; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMMediaProps_FWD_DEFINED__ +#define __IWMMediaProps_FWD_DEFINED__ +typedef interface IWMMediaProps IWMMediaProps; +#ifdef __cplusplus +interface IWMMediaProps; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMOutputMediaProps_FWD_DEFINED__ +#define __IWMOutputMediaProps_FWD_DEFINED__ +typedef interface IWMOutputMediaProps IWMOutputMediaProps; +#ifdef __cplusplus +interface IWMOutputMediaProps; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMMetadataEditor_FWD_DEFINED__ +#define __IWMMetadataEditor_FWD_DEFINED__ +typedef interface IWMMetadataEditor IWMMetadataEditor; +#ifdef __cplusplus +interface IWMMetadataEditor; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReader_FWD_DEFINED__ +#define __IWMReader_FWD_DEFINED__ +typedef interface IWMReader IWMReader; +#ifdef __cplusplus +interface IWMReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPlayerHook_FWD_DEFINED__ +#define __IWMPlayerHook_FWD_DEFINED__ +typedef interface IWMPlayerHook IWMPlayerHook; +#ifdef __cplusplus +interface IWMPlayerHook; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAdvanced_FWD_DEFINED__ +#define __IWMReaderAdvanced_FWD_DEFINED__ +typedef interface IWMReaderAdvanced IWMReaderAdvanced; +#ifdef __cplusplus +interface IWMReaderAdvanced; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAdvanced2_FWD_DEFINED__ +#define __IWMReaderAdvanced2_FWD_DEFINED__ +typedef interface IWMReaderAdvanced2 IWMReaderAdvanced2; +#ifdef __cplusplus +interface IWMReaderAdvanced2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAdvanced3_FWD_DEFINED__ +#define __IWMReaderAdvanced3_FWD_DEFINED__ +typedef interface IWMReaderAdvanced3 IWMReaderAdvanced3; +#ifdef __cplusplus +interface IWMReaderAdvanced3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAdvanced4_FWD_DEFINED__ +#define __IWMReaderAdvanced4_FWD_DEFINED__ +typedef interface IWMReaderAdvanced4 IWMReaderAdvanced4; +#ifdef __cplusplus +interface IWMReaderAdvanced4; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAdvanced5_FWD_DEFINED__ +#define __IWMReaderAdvanced5_FWD_DEFINED__ +typedef interface IWMReaderAdvanced5 IWMReaderAdvanced5; +#ifdef __cplusplus +interface IWMReaderAdvanced5; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAdvanced6_FWD_DEFINED__ +#define __IWMReaderAdvanced6_FWD_DEFINED__ +typedef interface IWMReaderAdvanced6 IWMReaderAdvanced6; +#ifdef __cplusplus +interface IWMReaderAdvanced6; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMSyncReader_FWD_DEFINED__ +#define __IWMSyncReader_FWD_DEFINED__ +typedef interface IWMSyncReader IWMSyncReader; +#ifdef __cplusplus +interface IWMSyncReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMInputMediaProps_FWD_DEFINED__ +#define __IWMInputMediaProps_FWD_DEFINED__ +typedef interface IWMInputMediaProps IWMInputMediaProps; +#ifdef __cplusplus +interface IWMInputMediaProps; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMWriterSink_FWD_DEFINED__ +#define __IWMWriterSink_FWD_DEFINED__ +typedef interface IWMWriterSink IWMWriterSink; +#ifdef __cplusplus +interface IWMWriterSink; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMWriter_FWD_DEFINED__ +#define __IWMWriter_FWD_DEFINED__ +typedef interface IWMWriter IWMWriter; +#ifdef __cplusplus +interface IWMWriter; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMWriterAdvanced_FWD_DEFINED__ +#define __IWMWriterAdvanced_FWD_DEFINED__ +typedef interface IWMWriterAdvanced IWMWriterAdvanced; +#ifdef __cplusplus +interface IWMWriterAdvanced; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMWriterAdvanced2_FWD_DEFINED__ +#define __IWMWriterAdvanced2_FWD_DEFINED__ +typedef interface IWMWriterAdvanced2 IWMWriterAdvanced2; +#ifdef __cplusplus +interface IWMWriterAdvanced2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMWriterAdvanced3_FWD_DEFINED__ +#define __IWMWriterAdvanced3_FWD_DEFINED__ +typedef interface IWMWriterAdvanced3 IWMWriterAdvanced3; +#ifdef __cplusplus +interface IWMWriterAdvanced3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMHeaderInfo_FWD_DEFINED__ +#define __IWMHeaderInfo_FWD_DEFINED__ +typedef interface IWMHeaderInfo IWMHeaderInfo; +#ifdef __cplusplus +interface IWMHeaderInfo; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMHeaderInfo2_FWD_DEFINED__ +#define __IWMHeaderInfo2_FWD_DEFINED__ +typedef interface IWMHeaderInfo2 IWMHeaderInfo2; +#ifdef __cplusplus +interface IWMHeaderInfo2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMHeaderInfo3_FWD_DEFINED__ +#define __IWMHeaderInfo3_FWD_DEFINED__ +typedef interface IWMHeaderInfo3 IWMHeaderInfo3; +#ifdef __cplusplus +interface IWMHeaderInfo3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderNetworkConfig_FWD_DEFINED__ +#define __IWMReaderNetworkConfig_FWD_DEFINED__ +typedef interface IWMReaderNetworkConfig IWMReaderNetworkConfig; +#ifdef __cplusplus +interface IWMReaderNetworkConfig; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderNetworkConfig2_FWD_DEFINED__ +#define __IWMReaderNetworkConfig2_FWD_DEFINED__ +typedef interface IWMReaderNetworkConfig2 IWMReaderNetworkConfig2; +#ifdef __cplusplus +interface IWMReaderNetworkConfig2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderStreamClock_FWD_DEFINED__ +#define __IWMReaderStreamClock_FWD_DEFINED__ +typedef interface IWMReaderStreamClock IWMReaderStreamClock; +#ifdef __cplusplus +interface IWMReaderStreamClock; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPacketSize_FWD_DEFINED__ +#define __IWMPacketSize_FWD_DEFINED__ +typedef interface IWMPacketSize IWMPacketSize; +#ifdef __cplusplus +interface IWMPacketSize; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMPacketSize2_FWD_DEFINED__ +#define __IWMPacketSize2_FWD_DEFINED__ +typedef interface IWMPacketSize2 IWMPacketSize2; +#ifdef __cplusplus +interface IWMPacketSize2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMDRMReader_FWD_DEFINED__ +#define __IWMDRMReader_FWD_DEFINED__ +typedef interface IWMDRMReader IWMDRMReader; +#ifdef __cplusplus +interface IWMDRMReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMDRMReader2_FWD_DEFINED__ +#define __IWMDRMReader2_FWD_DEFINED__ +typedef interface IWMDRMReader2 IWMDRMReader2; +#ifdef __cplusplus +interface IWMDRMReader2; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMDRMReader3_FWD_DEFINED__ +#define __IWMDRMReader3_FWD_DEFINED__ +typedef interface IWMDRMReader3 IWMDRMReader3; +#ifdef __cplusplus +interface IWMDRMReader3; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderAccelerator_FWD_DEFINED__ +#define __IWMReaderAccelerator_FWD_DEFINED__ +typedef interface IWMReaderAccelerator IWMReaderAccelerator; +#ifdef __cplusplus +interface IWMReaderAccelerator; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderTimecode_FWD_DEFINED__ +#define __IWMReaderTimecode_FWD_DEFINED__ +typedef interface IWMReaderTimecode IWMReaderTimecode; +#ifdef __cplusplus +interface IWMReaderTimecode; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderTypeNegotiation_FWD_DEFINED__ +#define __IWMReaderTypeNegotiation_FWD_DEFINED__ +typedef interface IWMReaderTypeNegotiation IWMReaderTypeNegotiation; +#ifdef __cplusplus +interface IWMReaderTypeNegotiation; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMLanguageList_FWD_DEFINED__ +#define __IWMLanguageList_FWD_DEFINED__ +typedef interface IWMLanguageList IWMLanguageList; +#ifdef __cplusplus +interface IWMLanguageList; +#endif /* __cplusplus */ +#endif + +#ifndef __IWMReaderPlaylistBurn_FWD_DEFINED__ +#define __IWMReaderPlaylistBurn_FWD_DEFINED__ +typedef interface IWMReaderPlaylistBurn IWMReaderPlaylistBurn; +#ifdef __cplusplus +interface IWMReaderPlaylistBurn; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _WMMediaType { + GUID majortype; + GUID subtype; + BOOL bFixedSizeSamples; + BOOL bTemporalCompression; + ULONG lSampleSize; + GUID formattype; + IUnknown *pUnk; + ULONG cbFormat; + BYTE *pbFormat; +} WM_MEDIA_TYPE; +typedef struct _WMWriterStatistics { + QWORD qwSampleCount; + QWORD qwByteCount; + QWORD qwDroppedSampleCount; + QWORD qwDroppedByteCount; + DWORD dwCurrentBitrate; + DWORD dwAverageBitrate; + DWORD dwExpectedBitrate; + DWORD dwCurrentSampleRate; + DWORD dwAverageSampleRate; + DWORD dwExpectedSampleRate; +} WM_WRITER_STATISTICS; +typedef struct _WMWriterStatisticsEx { + DWORD dwBitratePlusOverhead; + DWORD dwCurrentSampleDropRateInQueue; + DWORD dwCurrentSampleDropRateInCodec; + DWORD dwCurrentSampleDropRateInMultiplexer; + DWORD dwTotalSampleDropsInQueue; + DWORD dwTotalSampleDropsInCodec; + DWORD dwTotalSampleDropsInMultiplexer; +} WM_WRITER_STATISTICS_EX; +typedef struct _WMReaderStatistics { + DWORD cbSize; + DWORD dwBandwidth; + DWORD cPacketsReceived; + DWORD cPacketsRecovered; + DWORD cPacketsLost; + WORD wQuality; +} WM_READER_STATISTICS; +typedef struct _WMReaderClientInfo { + DWORD cbSize; + WCHAR *wszLang; + WCHAR *wszBrowserUserAgent; + WCHAR *wszBrowserWebPage; + QWORD qwReserved; + LPARAM *pReserved; + WCHAR *wszHostExe; + QWORD qwHostVersion; + WCHAR *wszPlayerUserAgent; +} WM_READER_CLIENTINFO; +typedef enum WMT_ATTR_DATATYPE { + WMT_TYPE_DWORD = 0, + WMT_TYPE_STRING = 1, + WMT_TYPE_BINARY = 2, + WMT_TYPE_BOOL = 3, + WMT_TYPE_QWORD = 4, + WMT_TYPE_WORD = 5, + WMT_TYPE_GUID = 6 +} WMT_ATTR_DATATYPE; +typedef enum WMT_STATUS { + WMT_ERROR = 0, + WMT_OPENED = 1, + WMT_BUFFERING_START = 2, + WMT_BUFFERING_STOP = 3, + WMT_EOF = 4, + WMT_END_OF_FILE = 4, + WMT_END_OF_SEGMENT = 5, + WMT_END_OF_STREAMING = 6, + WMT_LOCATING = 7, + WMT_CONNECTING = 8, + WMT_NO_RIGHTS = 9, + WMT_MISSING_CODEC = 10, + WMT_STARTED = 11, + WMT_STOPPED = 12, + WMT_CLOSED = 13, + WMT_STRIDING = 14, + WMT_TIMER = 15, + WMT_INDEX_PROGRESS = 16, + WMT_SAVEAS_START = 17, + WMT_SAVEAS_STOP = 18, + WMT_NEW_SOURCEFLAGS = 19, + WMT_NEW_METADATA = 20, + WMT_BACKUPRESTORE_BEGIN = 21, + WMT_SOURCE_SWITCH = 22, + WMT_ACQUIRE_LICENSE = 23, + WMT_INDIVIDUALIZE = 24, + WMT_NEEDS_INDIVIDUALIZATION = 25, + WMT_NO_RIGHTS_EX = 26, + WMT_BACKUPRESTORE_END = 27, + WMT_BACKUPRESTORE_CONNECTING = 28, + WMT_BACKUPRESTORE_DISCONNECTING = 29, + WMT_ERROR_WITHURL = 30, + WMT_RESTRICTED_LICENSE = 31, + WMT_CLIENT_CONNECT = 32, + WMT_CLIENT_DISCONNECT = 33, + WMT_NATIVE_OUTPUT_PROPS_CHANGED = 34, + WMT_RECONNECT_START = 35, + WMT_RECONNECT_END = 36, + WMT_CLIENT_CONNECT_EX = 37, + WMT_CLIENT_DISCONNECT_EX = 38, + WMT_SET_FEC_SPAN = 39, + WMT_PREROLL_READY = 40, + WMT_PREROLL_COMPLETE = 41, + WMT_CLIENT_PROPERTIES = 42, + WMT_LICENSEURL_SIGNATURE_STATE = 43, + WMT_INIT_PLAYLIST_BURN = 44, + WMT_TRANSCRYPTOR_INIT = 45, + WMT_TRANSCRYPTOR_SEEKED = 46, + WMT_TRANSCRYPTOR_READ = 47, + WMT_TRANSCRYPTOR_CLOSED = 48, + WMT_PROXIMITY_RESULT = 49, + WMT_PROXIMITY_COMPLETED = 50, + WMT_CONTENT_ENABLER = 51 +} WMT_STATUS; +typedef enum WMT_STREAM_SELECTION { + WMT_OFF = 0, + WMT_CLEANPOINT_ONLY = 1, + WMT_ON = 2 +} WMT_STREAM_SELECTION; +typedef enum WMT_VERSION { + WMT_VER_4_0 = 0x40000, + WMT_VER_7_0 = 0x70000, + WMT_VER_8_0 = 0x80000, + WMT_VER_9_0 = 0x90000 +} WMT_VERSION; +typedef enum WMT_PLAY_MODE { + WMT_PLAY_MODE_AUTOSELECT = 0, + WMT_PLAY_MODE_LOCAL = 1, + WMT_PLAY_MODE_DOWNLOAD = 2, + WMT_PLAY_MODE_STREAMING = 3 +} WMT_PLAY_MODE; +typedef enum tagWMT_OFFSET_FORMAT { + WMT_OFFSET_FORMAT_100NS = 0, + WMT_OFFSET_FORMAT_FRAME_NUMBERS = 1, + WMT_OFFSET_FORMAT_PLAYLIST_OFFSET = 2, + WMT_OFFSET_FORMAT_TIMECODE = 3, + WMT_OFFSET_FORMAT_100NS_APPROXIMATE = 4 +} WMT_OFFSET_FORMAT; +typedef enum WMT_CODEC_INFO_TYPE { + WMT_CODECINFO_AUDIO = 0, + WMT_CODECINFO_VIDEO = 1, + WMT_CODECINFO_UNKNOWN = 0xffffffff +} WMT_CODEC_INFO_TYPE; +typedef enum WMT_PROXY_SETTINGS { + WMT_PROXY_SETTING_NONE = 0, + WMT_PROXY_SETTING_MANUAL = 1, + WMT_PROXY_SETTING_AUTO = 2, + WMT_PROXY_SETTING_BROWSER = 3, + WMT_PROXY_SETTING_MAX = 4 +} WMT_PROXY_SETTINGS; +typedef enum tagWMT_STORAGE_FORMAT { + WMT_Storage_Format_MP3 = 0, + WMT_Storage_Format_V1 = 1 +} WMT_STORAGE_FORMAT; +typedef struct _WMStreamPrioritizationRecord { + WORD wStreamNumber; + BOOL fMandatory; +} WM_STREAM_PRIORITY_RECORD; +typedef struct _WM_PORT_NUMBER_RANGE { + WORD wPortBegin; + WORD wPortEnd; +} WM_PORT_NUMBER_RANGE; +typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE; +/***************************************************************************** + * IWMStatusCallback interface + */ +#ifndef __IWMStatusCallback_INTERFACE_DEFINED__ +#define __IWMStatusCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMStatusCallback, 0x6d7cdc70, 0x9888, 0x11d3, 0x8e,0xdc, 0x00,0xc0,0x4f,0x61,0x09,0xcf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6d7cdc70-9888-11d3-8edc-00c04f6109cf") +IWMStatusCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnStatus( + WMT_STATUS Status, + HRESULT hr, + WMT_ATTR_DATATYPE dwType, + BYTE *pValue, + void *pvContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMStatusCallback, 0x6d7cdc70, 0x9888, 0x11d3, 0x8e,0xdc, 0x00,0xc0,0x4f,0x61,0x09,0xcf) +#endif +#else +typedef struct IWMStatusCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMStatusCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMStatusCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMStatusCallback *This); + + /*** IWMStatusCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStatus)( + IWMStatusCallback *This, + WMT_STATUS Status, + HRESULT hr, + WMT_ATTR_DATATYPE dwType, + BYTE *pValue, + void *pvContext); + + END_INTERFACE +} IWMStatusCallbackVtbl; + +interface IWMStatusCallback { + CONST_VTBL IWMStatusCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMStatusCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMStatusCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMStatusCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStatusCallback methods ***/ +#define IWMStatusCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext) (This)->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMStatusCallback_QueryInterface(IWMStatusCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMStatusCallback_AddRef(IWMStatusCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMStatusCallback_Release(IWMStatusCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStatusCallback methods ***/ +static FORCEINLINE HRESULT IWMStatusCallback_OnStatus(IWMStatusCallback* This,WMT_STATUS Status,HRESULT hr,WMT_ATTR_DATATYPE dwType,BYTE *pValue,void *pvContext) { + return This->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext); +} +#endif +#endif + +#endif + + +#endif /* __IWMStatusCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderCallback interface + */ +#ifndef __IWMReaderCallback_INTERFACE_DEFINED__ +#define __IWMReaderCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderCallback, 0x96406bd8, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bd8-2b2b-11d3-b36b-00c04f6108ff") +IWMReaderCallback : public IWMStatusCallback +{ + virtual HRESULT STDMETHODCALLTYPE OnSample( + DWORD dwOutputNum, + QWORD cnsSampleTime, + QWORD cnsSampleDuration, + DWORD dwFlags, + INSSBuffer *pSample, + void *pvContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderCallback, 0x96406bd8, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMReaderCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderCallback *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderCallback *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderCallback *This); + + /*** IWMStatusCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStatus)( + IWMReaderCallback *This, + WMT_STATUS Status, + HRESULT hr, + WMT_ATTR_DATATYPE dwType, + BYTE *pValue, + void *pvContext); + + /*** IWMReaderCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *OnSample)( + IWMReaderCallback *This, + DWORD dwOutputNum, + QWORD cnsSampleTime, + QWORD cnsSampleDuration, + DWORD dwFlags, + INSSBuffer *pSample, + void *pvContext); + + END_INTERFACE +} IWMReaderCallbackVtbl; + +interface IWMReaderCallback { + CONST_VTBL IWMReaderCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderCallback_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStatusCallback methods ***/ +#define IWMReaderCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext) (This)->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext) +/*** IWMReaderCallback methods ***/ +#define IWMReaderCallback_OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext) (This)->lpVtbl->OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderCallback_QueryInterface(IWMReaderCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderCallback_AddRef(IWMReaderCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderCallback_Release(IWMReaderCallback* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStatusCallback methods ***/ +static FORCEINLINE HRESULT IWMReaderCallback_OnStatus(IWMReaderCallback* This,WMT_STATUS Status,HRESULT hr,WMT_ATTR_DATATYPE dwType,BYTE *pValue,void *pvContext) { + return This->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext); +} +/*** IWMReaderCallback methods ***/ +static FORCEINLINE HRESULT IWMReaderCallback_OnSample(IWMReaderCallback* This,DWORD dwOutputNum,QWORD cnsSampleTime,QWORD cnsSampleDuration,DWORD dwFlags,INSSBuffer *pSample,void *pvContext) { + return This->lpVtbl->OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMStreamList interface + */ +#ifndef __IWMStreamList_INTERFACE_DEFINED__ +#define __IWMStreamList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bdd-2b2b-11d3-b36b-00c04f6108ff") +IWMStreamList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreams( + WORD *pwStreamNumArray, + WORD *pcStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStream( + WORD wStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStream( + WORD wStreamNum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMStreamListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMStreamList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMStreamList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMStreamList *This); + + /*** IWMStreamList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreams)( + IWMStreamList *This, + WORD *pwStreamNumArray, + WORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMStreamList *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMStreamList *This, + WORD wStreamNum); + + END_INTERFACE +} IWMStreamListVtbl; + +interface IWMStreamList { + CONST_VTBL IWMStreamListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMStreamList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMStreamList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMStreamList_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamList methods ***/ +#define IWMStreamList_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) +#define IWMStreamList_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) +#define IWMStreamList_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMStreamList_QueryInterface(IWMStreamList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMStreamList_AddRef(IWMStreamList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMStreamList_Release(IWMStreamList* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamList methods ***/ +static FORCEINLINE HRESULT IWMStreamList_GetStreams(IWMStreamList* This,WORD *pwStreamNumArray,WORD *pcStreams) { + return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); +} +static FORCEINLINE HRESULT IWMStreamList_AddStream(IWMStreamList* This,WORD wStreamNum) { + return This->lpVtbl->AddStream(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMStreamList_RemoveStream(IWMStreamList* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStream(This,wStreamNum); +} +#endif +#endif + +#endif + + +#endif /* __IWMStreamList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMMutualExclusion interface + */ +#ifndef __IWMMutualExclusion_INTERFACE_DEFINED__ +#define __IWMMutualExclusion_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bde-2b2b-11d3-b36b-00c04f6108ff") +IWMMutualExclusion : public IWMStreamList +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *pguidType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetType( + REFGUID guidType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMMutualExclusionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMMutualExclusion *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMMutualExclusion *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMMutualExclusion *This); + + /*** IWMStreamList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreams)( + IWMMutualExclusion *This, + WORD *pwStreamNumArray, + WORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMMutualExclusion *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMMutualExclusion *This, + WORD wStreamNum); + + /*** IWMMutualExclusion methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IWMMutualExclusion *This, + GUID *pguidType); + + HRESULT (STDMETHODCALLTYPE *SetType)( + IWMMutualExclusion *This, + REFGUID guidType); + + END_INTERFACE +} IWMMutualExclusionVtbl; + +interface IWMMutualExclusion { + CONST_VTBL IWMMutualExclusionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMMutualExclusion_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMMutualExclusion_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMMutualExclusion_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamList methods ***/ +#define IWMMutualExclusion_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) +#define IWMMutualExclusion_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) +#define IWMMutualExclusion_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) +/*** IWMMutualExclusion methods ***/ +#define IWMMutualExclusion_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType) +#define IWMMutualExclusion_SetType(This,guidType) (This)->lpVtbl->SetType(This,guidType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMMutualExclusion_QueryInterface(IWMMutualExclusion* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMMutualExclusion_AddRef(IWMMutualExclusion* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMMutualExclusion_Release(IWMMutualExclusion* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamList methods ***/ +static FORCEINLINE HRESULT IWMMutualExclusion_GetStreams(IWMMutualExclusion* This,WORD *pwStreamNumArray,WORD *pcStreams) { + return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); +} +static FORCEINLINE HRESULT IWMMutualExclusion_AddStream(IWMMutualExclusion* This,WORD wStreamNum) { + return This->lpVtbl->AddStream(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMMutualExclusion_RemoveStream(IWMMutualExclusion* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStream(This,wStreamNum); +} +/*** IWMMutualExclusion methods ***/ +static FORCEINLINE HRESULT IWMMutualExclusion_GetType(IWMMutualExclusion* This,GUID *pguidType) { + return This->lpVtbl->GetType(This,pguidType); +} +static FORCEINLINE HRESULT IWMMutualExclusion_SetType(IWMMutualExclusion* This,REFGUID guidType) { + return This->lpVtbl->SetType(This,guidType); +} +#endif +#endif + +#endif + + +#endif /* __IWMMutualExclusion_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMBandwidthSharing interface + */ +#ifndef __IWMBandwidthSharing_INTERFACE_DEFINED__ +#define __IWMBandwidthSharing_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMBandwidthSharing, 0xad694af1, 0xf8d9, 0x42f8, 0xbc,0x47, 0x70,0x31,0x1b,0x0c,0x4f,0x9e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ad694af1-f8d9-42f8-bc47-70311b0c4f9e") +IWMBandwidthSharing : public IWMStreamList +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetType( + REFGUID guid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBandwidth( + DWORD *bitrate, + DWORD *buffer) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBandwidth( + DWORD bitrate, + DWORD buffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMBandwidthSharing, 0xad694af1, 0xf8d9, 0x42f8, 0xbc,0x47, 0x70,0x31,0x1b,0x0c,0x4f,0x9e) +#endif +#else +typedef struct IWMBandwidthSharingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMBandwidthSharing *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMBandwidthSharing *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMBandwidthSharing *This); + + /*** IWMStreamList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreams)( + IWMBandwidthSharing *This, + WORD *pwStreamNumArray, + WORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMBandwidthSharing *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMBandwidthSharing *This, + WORD wStreamNum); + + /*** IWMBandwidthSharing methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IWMBandwidthSharing *This, + GUID *guid); + + HRESULT (STDMETHODCALLTYPE *SetType)( + IWMBandwidthSharing *This, + REFGUID guid); + + HRESULT (STDMETHODCALLTYPE *GetBandwidth)( + IWMBandwidthSharing *This, + DWORD *bitrate, + DWORD *buffer); + + HRESULT (STDMETHODCALLTYPE *SetBandwidth)( + IWMBandwidthSharing *This, + DWORD bitrate, + DWORD buffer); + + END_INTERFACE +} IWMBandwidthSharingVtbl; + +interface IWMBandwidthSharing { + CONST_VTBL IWMBandwidthSharingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMBandwidthSharing_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMBandwidthSharing_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMBandwidthSharing_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamList methods ***/ +#define IWMBandwidthSharing_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) +#define IWMBandwidthSharing_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) +#define IWMBandwidthSharing_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) +/*** IWMBandwidthSharing methods ***/ +#define IWMBandwidthSharing_GetType(This,guid) (This)->lpVtbl->GetType(This,guid) +#define IWMBandwidthSharing_SetType(This,guid) (This)->lpVtbl->SetType(This,guid) +#define IWMBandwidthSharing_GetBandwidth(This,bitrate,buffer) (This)->lpVtbl->GetBandwidth(This,bitrate,buffer) +#define IWMBandwidthSharing_SetBandwidth(This,bitrate,buffer) (This)->lpVtbl->SetBandwidth(This,bitrate,buffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMBandwidthSharing_QueryInterface(IWMBandwidthSharing* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMBandwidthSharing_AddRef(IWMBandwidthSharing* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMBandwidthSharing_Release(IWMBandwidthSharing* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamList methods ***/ +static FORCEINLINE HRESULT IWMBandwidthSharing_GetStreams(IWMBandwidthSharing* This,WORD *pwStreamNumArray,WORD *pcStreams) { + return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); +} +static FORCEINLINE HRESULT IWMBandwidthSharing_AddStream(IWMBandwidthSharing* This,WORD wStreamNum) { + return This->lpVtbl->AddStream(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMBandwidthSharing_RemoveStream(IWMBandwidthSharing* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStream(This,wStreamNum); +} +/*** IWMBandwidthSharing methods ***/ +static FORCEINLINE HRESULT IWMBandwidthSharing_GetType(IWMBandwidthSharing* This,GUID *guid) { + return This->lpVtbl->GetType(This,guid); +} +static FORCEINLINE HRESULT IWMBandwidthSharing_SetType(IWMBandwidthSharing* This,REFGUID guid) { + return This->lpVtbl->SetType(This,guid); +} +static FORCEINLINE HRESULT IWMBandwidthSharing_GetBandwidth(IWMBandwidthSharing* This,DWORD *bitrate,DWORD *buffer) { + return This->lpVtbl->GetBandwidth(This,bitrate,buffer); +} +static FORCEINLINE HRESULT IWMBandwidthSharing_SetBandwidth(IWMBandwidthSharing* This,DWORD bitrate,DWORD buffer) { + return This->lpVtbl->SetBandwidth(This,bitrate,buffer); +} +#endif +#endif + +#endif + + +#endif /* __IWMBandwidthSharing_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMStreamPrioritization interface + */ +#ifndef __IWMStreamPrioritization_INTERFACE_DEFINED__ +#define __IWMStreamPrioritization_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMStreamPrioritization, 0x8c1c6090, 0xf9a8, 0x4748, 0x8e,0xc3, 0xdd,0x11,0x08,0xba,0x1e,0x77); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8c1c6090-f9a8-4748-8ec3-dd1108ba1e77") +IWMStreamPrioritization : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetPriorityRecords( + WM_STREAM_PRIORITY_RECORD *array, + WORD *records) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPriorityRecords( + WM_STREAM_PRIORITY_RECORD *array, + WORD records) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMStreamPrioritization, 0x8c1c6090, 0xf9a8, 0x4748, 0x8e,0xc3, 0xdd,0x11,0x08,0xba,0x1e,0x77) +#endif +#else +typedef struct IWMStreamPrioritizationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMStreamPrioritization *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMStreamPrioritization *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMStreamPrioritization *This); + + /*** IWMStreamPrioritization methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPriorityRecords)( + IWMStreamPrioritization *This, + WM_STREAM_PRIORITY_RECORD *array, + WORD *records); + + HRESULT (STDMETHODCALLTYPE *SetPriorityRecords)( + IWMStreamPrioritization *This, + WM_STREAM_PRIORITY_RECORD *array, + WORD records); + + END_INTERFACE +} IWMStreamPrioritizationVtbl; + +interface IWMStreamPrioritization { + CONST_VTBL IWMStreamPrioritizationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMStreamPrioritization_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMStreamPrioritization_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMStreamPrioritization_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamPrioritization methods ***/ +#define IWMStreamPrioritization_GetPriorityRecords(This,array,records) (This)->lpVtbl->GetPriorityRecords(This,array,records) +#define IWMStreamPrioritization_SetPriorityRecords(This,array,records) (This)->lpVtbl->SetPriorityRecords(This,array,records) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMStreamPrioritization_QueryInterface(IWMStreamPrioritization* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMStreamPrioritization_AddRef(IWMStreamPrioritization* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMStreamPrioritization_Release(IWMStreamPrioritization* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamPrioritization methods ***/ +static FORCEINLINE HRESULT IWMStreamPrioritization_GetPriorityRecords(IWMStreamPrioritization* This,WM_STREAM_PRIORITY_RECORD *array,WORD *records) { + return This->lpVtbl->GetPriorityRecords(This,array,records); +} +static FORCEINLINE HRESULT IWMStreamPrioritization_SetPriorityRecords(IWMStreamPrioritization* This,WM_STREAM_PRIORITY_RECORD *array,WORD records) { + return This->lpVtbl->SetPriorityRecords(This,array,records); +} +#endif +#endif + +#endif + + +#endif /* __IWMStreamPrioritization_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMStreamConfig interface + */ +#ifndef __IWMStreamConfig_INTERFACE_DEFINED__ +#define __IWMStreamConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bdc-2b2b-11d3-b36b-00c04f6108ff") +IWMStreamConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamType( + GUID *pguidStreamType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamNumber( + WORD *pwStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamNumber( + WORD wStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamName( + WCHAR *pwszStreamName, + WORD *pcchStreamName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamName( + LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionName( + WCHAR *pwszInputName, + WORD *pcchInputName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConnectionName( + LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBitrate( + DWORD *pdwBitrate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBitrate( + DWORD pdwBitrate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferWindow( + DWORD *pmsBufferWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBufferWindow( + DWORD msBufferWindow) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMStreamConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMStreamConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMStreamConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMStreamConfig *This); + + /*** IWMStreamConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamType)( + IWMStreamConfig *This, + GUID *pguidStreamType); + + HRESULT (STDMETHODCALLTYPE *GetStreamNumber)( + IWMStreamConfig *This, + WORD *pwStreamNum); + + HRESULT (STDMETHODCALLTYPE *SetStreamNumber)( + IWMStreamConfig *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *GetStreamName)( + IWMStreamConfig *This, + WCHAR *pwszStreamName, + WORD *pcchStreamName); + + HRESULT (STDMETHODCALLTYPE *SetStreamName)( + IWMStreamConfig *This, + LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName); + + HRESULT (STDMETHODCALLTYPE *GetConnectionName)( + IWMStreamConfig *This, + WCHAR *pwszInputName, + WORD *pcchInputName); + + HRESULT (STDMETHODCALLTYPE *SetConnectionName)( + IWMStreamConfig *This, + LPCWSTR_WMSDK_TYPE_SAFE pwszInputName); + + HRESULT (STDMETHODCALLTYPE *GetBitrate)( + IWMStreamConfig *This, + DWORD *pdwBitrate); + + HRESULT (STDMETHODCALLTYPE *SetBitrate)( + IWMStreamConfig *This, + DWORD pdwBitrate); + + HRESULT (STDMETHODCALLTYPE *GetBufferWindow)( + IWMStreamConfig *This, + DWORD *pmsBufferWindow); + + HRESULT (STDMETHODCALLTYPE *SetBufferWindow)( + IWMStreamConfig *This, + DWORD msBufferWindow); + + END_INTERFACE +} IWMStreamConfigVtbl; + +interface IWMStreamConfig { + CONST_VTBL IWMStreamConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMStreamConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMStreamConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMStreamConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamConfig methods ***/ +#define IWMStreamConfig_GetStreamType(This,pguidStreamType) (This)->lpVtbl->GetStreamType(This,pguidStreamType) +#define IWMStreamConfig_GetStreamNumber(This,pwStreamNum) (This)->lpVtbl->GetStreamNumber(This,pwStreamNum) +#define IWMStreamConfig_SetStreamNumber(This,wStreamNum) (This)->lpVtbl->SetStreamNumber(This,wStreamNum) +#define IWMStreamConfig_GetStreamName(This,pwszStreamName,pcchStreamName) (This)->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName) +#define IWMStreamConfig_SetStreamName(This,pwszStreamName) (This)->lpVtbl->SetStreamName(This,pwszStreamName) +#define IWMStreamConfig_GetConnectionName(This,pwszInputName,pcchInputName) (This)->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName) +#define IWMStreamConfig_SetConnectionName(This,pwszInputName) (This)->lpVtbl->SetConnectionName(This,pwszInputName) +#define IWMStreamConfig_GetBitrate(This,pdwBitrate) (This)->lpVtbl->GetBitrate(This,pdwBitrate) +#define IWMStreamConfig_SetBitrate(This,pdwBitrate) (This)->lpVtbl->SetBitrate(This,pdwBitrate) +#define IWMStreamConfig_GetBufferWindow(This,pmsBufferWindow) (This)->lpVtbl->GetBufferWindow(This,pmsBufferWindow) +#define IWMStreamConfig_SetBufferWindow(This,msBufferWindow) (This)->lpVtbl->SetBufferWindow(This,msBufferWindow) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMStreamConfig_QueryInterface(IWMStreamConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMStreamConfig_AddRef(IWMStreamConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMStreamConfig_Release(IWMStreamConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamConfig methods ***/ +static FORCEINLINE HRESULT IWMStreamConfig_GetStreamType(IWMStreamConfig* This,GUID *pguidStreamType) { + return This->lpVtbl->GetStreamType(This,pguidStreamType); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetStreamNumber(IWMStreamConfig* This,WORD *pwStreamNum) { + return This->lpVtbl->GetStreamNumber(This,pwStreamNum); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetStreamNumber(IWMStreamConfig* This,WORD wStreamNum) { + return This->lpVtbl->SetStreamNumber(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetStreamName(IWMStreamConfig* This,WCHAR *pwszStreamName,WORD *pcchStreamName) { + return This->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetStreamName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) { + return This->lpVtbl->SetStreamName(This,pwszStreamName); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetConnectionName(IWMStreamConfig* This,WCHAR *pwszInputName,WORD *pcchInputName) { + return This->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetConnectionName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) { + return This->lpVtbl->SetConnectionName(This,pwszInputName); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetBitrate(IWMStreamConfig* This,DWORD *pdwBitrate) { + return This->lpVtbl->GetBitrate(This,pdwBitrate); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetBitrate(IWMStreamConfig* This,DWORD pdwBitrate) { + return This->lpVtbl->SetBitrate(This,pdwBitrate); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetBufferWindow(IWMStreamConfig* This,DWORD *pmsBufferWindow) { + return This->lpVtbl->GetBufferWindow(This,pmsBufferWindow); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetBufferWindow(IWMStreamConfig* This,DWORD msBufferWindow) { + return This->lpVtbl->SetBufferWindow(This,msBufferWindow); +} +#endif +#endif + +#endif + + +#endif /* __IWMStreamConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMProfile interface + */ +#ifndef __IWMProfile_INTERFACE_DEFINED__ +#define __IWMProfile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bdb-2b2b-11d3-b36b-00c04f6108ff") +IWMProfile : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetVersion( + WMT_VERSION *pdwVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + WCHAR *pwszName, + DWORD *pcchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetName( + const WCHAR *pwszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + WCHAR *pwszDescription, + DWORD *pcchDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + const WCHAR *pwszDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamCount( + DWORD *pcStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStream( + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamByNumber( + WORD wStreamNum, + IWMStreamConfig **ppConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStream( + IWMStreamConfig *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStreamByNumber( + WORD wStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStream( + IWMStreamConfig *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReconfigStream( + IWMStreamConfig *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewStream( + REFGUID guidStreamType, + IWMStreamConfig **ppConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMutualExclusionCount( + DWORD *pcME) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMutualExclusion( + DWORD dwMEIndex, + IWMMutualExclusion **ppME) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveMutualExclusion( + IWMMutualExclusion *pME) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMutualExclusion( + IWMMutualExclusion *pME) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewMutualExclusion( + IWMMutualExclusion **ppME) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMProfileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMProfile *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMProfile *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMProfile *This); + + /*** IWMProfile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWMProfile *This, + WMT_VERSION *pdwVersion); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IWMProfile *This, + WCHAR *pwszName, + DWORD *pcchName); + + HRESULT (STDMETHODCALLTYPE *SetName)( + IWMProfile *This, + const WCHAR *pwszName); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IWMProfile *This, + WCHAR *pwszDescription, + DWORD *pcchDescription); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IWMProfile *This, + const WCHAR *pwszDescription); + + HRESULT (STDMETHODCALLTYPE *GetStreamCount)( + IWMProfile *This, + DWORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *GetStream)( + IWMProfile *This, + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( + IWMProfile *This, + WORD wStreamNum, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMProfile *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( + IWMProfile *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMProfile *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *ReconfigStream)( + IWMProfile *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *CreateNewStream)( + IWMProfile *This, + REFGUID guidStreamType, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( + IWMProfile *This, + DWORD *pcME); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( + IWMProfile *This, + DWORD dwMEIndex, + IWMMutualExclusion **ppME); + + HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( + IWMProfile *This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( + IWMProfile *This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( + IWMProfile *This, + IWMMutualExclusion **ppME); + + END_INTERFACE +} IWMProfileVtbl; + +interface IWMProfile { + CONST_VTBL IWMProfileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMProfile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMProfile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMProfile_Release(This) (This)->lpVtbl->Release(This) +/*** IWMProfile methods ***/ +#define IWMProfile_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) +#define IWMProfile_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) +#define IWMProfile_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) +#define IWMProfile_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) +#define IWMProfile_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) +#define IWMProfile_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) +#define IWMProfile_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) +#define IWMProfile_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) +#define IWMProfile_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) +#define IWMProfile_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) +#define IWMProfile_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) +#define IWMProfile_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) +#define IWMProfile_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) +#define IWMProfile_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) +#define IWMProfile_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) +#define IWMProfile_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) +#define IWMProfile_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) +#define IWMProfile_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMProfile_QueryInterface(IWMProfile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMProfile_AddRef(IWMProfile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMProfile_Release(IWMProfile* This) { + return This->lpVtbl->Release(This); +} +/*** IWMProfile methods ***/ +static FORCEINLINE HRESULT IWMProfile_GetVersion(IWMProfile* This,WMT_VERSION *pdwVersion) { + return This->lpVtbl->GetVersion(This,pdwVersion); +} +static FORCEINLINE HRESULT IWMProfile_GetName(IWMProfile* This,WCHAR *pwszName,DWORD *pcchName) { + return This->lpVtbl->GetName(This,pwszName,pcchName); +} +static FORCEINLINE HRESULT IWMProfile_SetName(IWMProfile* This,const WCHAR *pwszName) { + return This->lpVtbl->SetName(This,pwszName); +} +static FORCEINLINE HRESULT IWMProfile_GetDescription(IWMProfile* This,WCHAR *pwszDescription,DWORD *pcchDescription) { + return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); +} +static FORCEINLINE HRESULT IWMProfile_SetDescription(IWMProfile* This,const WCHAR *pwszDescription) { + return This->lpVtbl->SetDescription(This,pwszDescription); +} +static FORCEINLINE HRESULT IWMProfile_GetStreamCount(IWMProfile* This,DWORD *pcStreams) { + return This->lpVtbl->GetStreamCount(This,pcStreams); +} +static FORCEINLINE HRESULT IWMProfile_GetStream(IWMProfile* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile_GetStreamByNumber(IWMProfile* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile_RemoveStream(IWMProfile* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->RemoveStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile_RemoveStreamByNumber(IWMProfile* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMProfile_AddStream(IWMProfile* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->AddStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile_ReconfigStream(IWMProfile* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->ReconfigStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile_CreateNewStream(IWMProfile* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { + return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile_GetMutualExclusionCount(IWMProfile* This,DWORD *pcME) { + return This->lpVtbl->GetMutualExclusionCount(This,pcME); +} +static FORCEINLINE HRESULT IWMProfile_GetMutualExclusion(IWMProfile* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { + return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); +} +static FORCEINLINE HRESULT IWMProfile_RemoveMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) { + return This->lpVtbl->RemoveMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile_AddMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) { + return This->lpVtbl->AddMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile_CreateNewMutualExclusion(IWMProfile* This,IWMMutualExclusion **ppME) { + return This->lpVtbl->CreateNewMutualExclusion(This,ppME); +} +#endif +#endif + +#endif + + +#endif /* __IWMProfile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMProfile2 interface + */ +#ifndef __IWMProfile2_INTERFACE_DEFINED__ +#define __IWMProfile2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMProfile2, 0x07e72d33, 0xd94e, 0x4be7, 0x88,0x43, 0x60,0xae,0x5f,0xf7,0xe5,0xf5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("07e72d33-d94e-4be7-8843-60ae5ff7e5f5") +IWMProfile2 : public IWMProfile +{ + virtual HRESULT STDMETHODCALLTYPE GetProfileID( + GUID *guid) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMProfile2, 0x07e72d33, 0xd94e, 0x4be7, 0x88,0x43, 0x60,0xae,0x5f,0xf7,0xe5,0xf5) +#endif +#else +typedef struct IWMProfile2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMProfile2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMProfile2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMProfile2 *This); + + /*** IWMProfile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWMProfile2 *This, + WMT_VERSION *pdwVersion); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IWMProfile2 *This, + WCHAR *pwszName, + DWORD *pcchName); + + HRESULT (STDMETHODCALLTYPE *SetName)( + IWMProfile2 *This, + const WCHAR *pwszName); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IWMProfile2 *This, + WCHAR *pwszDescription, + DWORD *pcchDescription); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IWMProfile2 *This, + const WCHAR *pwszDescription); + + HRESULT (STDMETHODCALLTYPE *GetStreamCount)( + IWMProfile2 *This, + DWORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *GetStream)( + IWMProfile2 *This, + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( + IWMProfile2 *This, + WORD wStreamNum, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMProfile2 *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( + IWMProfile2 *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMProfile2 *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *ReconfigStream)( + IWMProfile2 *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *CreateNewStream)( + IWMProfile2 *This, + REFGUID guidStreamType, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( + IWMProfile2 *This, + DWORD *pcME); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( + IWMProfile2 *This, + DWORD dwMEIndex, + IWMMutualExclusion **ppME); + + HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( + IWMProfile2 *This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( + IWMProfile2 *This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( + IWMProfile2 *This, + IWMMutualExclusion **ppME); + + /*** IWMProfile2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProfileID)( + IWMProfile2 *This, + GUID *guid); + + END_INTERFACE +} IWMProfile2Vtbl; + +interface IWMProfile2 { + CONST_VTBL IWMProfile2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMProfile2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMProfile2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMProfile2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMProfile methods ***/ +#define IWMProfile2_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) +#define IWMProfile2_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) +#define IWMProfile2_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) +#define IWMProfile2_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) +#define IWMProfile2_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) +#define IWMProfile2_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) +#define IWMProfile2_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) +#define IWMProfile2_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) +#define IWMProfile2_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) +#define IWMProfile2_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) +#define IWMProfile2_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) +#define IWMProfile2_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) +#define IWMProfile2_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) +#define IWMProfile2_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) +#define IWMProfile2_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) +#define IWMProfile2_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) +#define IWMProfile2_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) +#define IWMProfile2_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) +/*** IWMProfile2 methods ***/ +#define IWMProfile2_GetProfileID(This,guid) (This)->lpVtbl->GetProfileID(This,guid) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMProfile2_QueryInterface(IWMProfile2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMProfile2_AddRef(IWMProfile2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMProfile2_Release(IWMProfile2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMProfile methods ***/ +static FORCEINLINE HRESULT IWMProfile2_GetVersion(IWMProfile2* This,WMT_VERSION *pdwVersion) { + return This->lpVtbl->GetVersion(This,pdwVersion); +} +static FORCEINLINE HRESULT IWMProfile2_GetName(IWMProfile2* This,WCHAR *pwszName,DWORD *pcchName) { + return This->lpVtbl->GetName(This,pwszName,pcchName); +} +static FORCEINLINE HRESULT IWMProfile2_SetName(IWMProfile2* This,const WCHAR *pwszName) { + return This->lpVtbl->SetName(This,pwszName); +} +static FORCEINLINE HRESULT IWMProfile2_GetDescription(IWMProfile2* This,WCHAR *pwszDescription,DWORD *pcchDescription) { + return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); +} +static FORCEINLINE HRESULT IWMProfile2_SetDescription(IWMProfile2* This,const WCHAR *pwszDescription) { + return This->lpVtbl->SetDescription(This,pwszDescription); +} +static FORCEINLINE HRESULT IWMProfile2_GetStreamCount(IWMProfile2* This,DWORD *pcStreams) { + return This->lpVtbl->GetStreamCount(This,pcStreams); +} +static FORCEINLINE HRESULT IWMProfile2_GetStream(IWMProfile2* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile2_GetStreamByNumber(IWMProfile2* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile2_RemoveStream(IWMProfile2* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->RemoveStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile2_RemoveStreamByNumber(IWMProfile2* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMProfile2_AddStream(IWMProfile2* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->AddStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile2_ReconfigStream(IWMProfile2* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->ReconfigStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile2_CreateNewStream(IWMProfile2* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { + return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile2_GetMutualExclusionCount(IWMProfile2* This,DWORD *pcME) { + return This->lpVtbl->GetMutualExclusionCount(This,pcME); +} +static FORCEINLINE HRESULT IWMProfile2_GetMutualExclusion(IWMProfile2* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { + return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); +} +static FORCEINLINE HRESULT IWMProfile2_RemoveMutualExclusion(IWMProfile2* This,IWMMutualExclusion *pME) { + return This->lpVtbl->RemoveMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile2_AddMutualExclusion(IWMProfile2* This,IWMMutualExclusion *pME) { + return This->lpVtbl->AddMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile2_CreateNewMutualExclusion(IWMProfile2* This,IWMMutualExclusion **ppME) { + return This->lpVtbl->CreateNewMutualExclusion(This,ppME); +} +/*** IWMProfile2 methods ***/ +static FORCEINLINE HRESULT IWMProfile2_GetProfileID(IWMProfile2* This,GUID *guid) { + return This->lpVtbl->GetProfileID(This,guid); +} +#endif +#endif + +#endif + + +#endif /* __IWMProfile2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMProfile3 interface + */ +#ifndef __IWMProfile3_INTERFACE_DEFINED__ +#define __IWMProfile3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMProfile3, 0x00ef96cc, 0xa461, 0x4546, 0x8b,0xcd, 0xc9,0xa2,0x8f,0x0e,0x06,0xf5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00ef96cc-a461-4546-8bcd-c9a28f0e06f5") +IWMProfile3 : public IWMProfile2 +{ + virtual HRESULT STDMETHODCALLTYPE GetStorageFormat( + WMT_STORAGE_FORMAT *storage) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStorageFormat( + WMT_STORAGE_FORMAT storage) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBandwidthSharingCount( + DWORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBandwidthSharing( + DWORD index, + IWMBandwidthSharing **bandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveBandwidthSharing( + IWMBandwidthSharing *bandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddBandwidthSharing( + IWMBandwidthSharing *bandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewBandwidthSharing( + IWMBandwidthSharing **bandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamPrioritization( + IWMStreamPrioritization **stream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamPrioritization( + IWMStreamPrioritization *stream) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStreamPrioritization( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewStreamPrioritization( + IWMStreamPrioritization **stream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExpectedPacketCount( + QWORD duration, + QWORD *packets) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMProfile3, 0x00ef96cc, 0xa461, 0x4546, 0x8b,0xcd, 0xc9,0xa2,0x8f,0x0e,0x06,0xf5) +#endif +#else +typedef struct IWMProfile3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMProfile3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMProfile3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMProfile3 *This); + + /*** IWMProfile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWMProfile3 *This, + WMT_VERSION *pdwVersion); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IWMProfile3 *This, + WCHAR *pwszName, + DWORD *pcchName); + + HRESULT (STDMETHODCALLTYPE *SetName)( + IWMProfile3 *This, + const WCHAR *pwszName); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IWMProfile3 *This, + WCHAR *pwszDescription, + DWORD *pcchDescription); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IWMProfile3 *This, + const WCHAR *pwszDescription); + + HRESULT (STDMETHODCALLTYPE *GetStreamCount)( + IWMProfile3 *This, + DWORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *GetStream)( + IWMProfile3 *This, + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( + IWMProfile3 *This, + WORD wStreamNum, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMProfile3 *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( + IWMProfile3 *This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMProfile3 *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *ReconfigStream)( + IWMProfile3 *This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *CreateNewStream)( + IWMProfile3 *This, + REFGUID guidStreamType, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( + IWMProfile3 *This, + DWORD *pcME); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( + IWMProfile3 *This, + DWORD dwMEIndex, + IWMMutualExclusion **ppME); + + HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( + IWMProfile3 *This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( + IWMProfile3 *This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( + IWMProfile3 *This, + IWMMutualExclusion **ppME); + + /*** IWMProfile2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetProfileID)( + IWMProfile3 *This, + GUID *guid); + + /*** IWMProfile3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStorageFormat)( + IWMProfile3 *This, + WMT_STORAGE_FORMAT *storage); + + HRESULT (STDMETHODCALLTYPE *SetStorageFormat)( + IWMProfile3 *This, + WMT_STORAGE_FORMAT storage); + + HRESULT (STDMETHODCALLTYPE *GetBandwidthSharingCount)( + IWMProfile3 *This, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *GetBandwidthSharing)( + IWMProfile3 *This, + DWORD index, + IWMBandwidthSharing **bandwidth); + + HRESULT (STDMETHODCALLTYPE *RemoveBandwidthSharing)( + IWMProfile3 *This, + IWMBandwidthSharing *bandwidth); + + HRESULT (STDMETHODCALLTYPE *AddBandwidthSharing)( + IWMProfile3 *This, + IWMBandwidthSharing *bandwidth); + + HRESULT (STDMETHODCALLTYPE *CreateNewBandwidthSharing)( + IWMProfile3 *This, + IWMBandwidthSharing **bandwidth); + + HRESULT (STDMETHODCALLTYPE *GetStreamPrioritization)( + IWMProfile3 *This, + IWMStreamPrioritization **stream); + + HRESULT (STDMETHODCALLTYPE *SetStreamPrioritization)( + IWMProfile3 *This, + IWMStreamPrioritization *stream); + + HRESULT (STDMETHODCALLTYPE *RemoveStreamPrioritization)( + IWMProfile3 *This); + + HRESULT (STDMETHODCALLTYPE *CreateNewStreamPrioritization)( + IWMProfile3 *This, + IWMStreamPrioritization **stream); + + HRESULT (STDMETHODCALLTYPE *GetExpectedPacketCount)( + IWMProfile3 *This, + QWORD duration, + QWORD *packets); + + END_INTERFACE +} IWMProfile3Vtbl; + +interface IWMProfile3 { + CONST_VTBL IWMProfile3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMProfile3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMProfile3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMProfile3_Release(This) (This)->lpVtbl->Release(This) +/*** IWMProfile methods ***/ +#define IWMProfile3_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) +#define IWMProfile3_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) +#define IWMProfile3_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) +#define IWMProfile3_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) +#define IWMProfile3_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) +#define IWMProfile3_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) +#define IWMProfile3_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) +#define IWMProfile3_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) +#define IWMProfile3_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) +#define IWMProfile3_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) +#define IWMProfile3_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) +#define IWMProfile3_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) +#define IWMProfile3_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) +#define IWMProfile3_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) +#define IWMProfile3_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) +#define IWMProfile3_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) +#define IWMProfile3_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) +#define IWMProfile3_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) +/*** IWMProfile2 methods ***/ +#define IWMProfile3_GetProfileID(This,guid) (This)->lpVtbl->GetProfileID(This,guid) +/*** IWMProfile3 methods ***/ +#define IWMProfile3_GetStorageFormat(This,storage) (This)->lpVtbl->GetStorageFormat(This,storage) +#define IWMProfile3_SetStorageFormat(This,storage) (This)->lpVtbl->SetStorageFormat(This,storage) +#define IWMProfile3_GetBandwidthSharingCount(This,count) (This)->lpVtbl->GetBandwidthSharingCount(This,count) +#define IWMProfile3_GetBandwidthSharing(This,index,bandwidth) (This)->lpVtbl->GetBandwidthSharing(This,index,bandwidth) +#define IWMProfile3_RemoveBandwidthSharing(This,bandwidth) (This)->lpVtbl->RemoveBandwidthSharing(This,bandwidth) +#define IWMProfile3_AddBandwidthSharing(This,bandwidth) (This)->lpVtbl->AddBandwidthSharing(This,bandwidth) +#define IWMProfile3_CreateNewBandwidthSharing(This,bandwidth) (This)->lpVtbl->CreateNewBandwidthSharing(This,bandwidth) +#define IWMProfile3_GetStreamPrioritization(This,stream) (This)->lpVtbl->GetStreamPrioritization(This,stream) +#define IWMProfile3_SetStreamPrioritization(This,stream) (This)->lpVtbl->SetStreamPrioritization(This,stream) +#define IWMProfile3_RemoveStreamPrioritization(This) (This)->lpVtbl->RemoveStreamPrioritization(This) +#define IWMProfile3_CreateNewStreamPrioritization(This,stream) (This)->lpVtbl->CreateNewStreamPrioritization(This,stream) +#define IWMProfile3_GetExpectedPacketCount(This,duration,packets) (This)->lpVtbl->GetExpectedPacketCount(This,duration,packets) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMProfile3_QueryInterface(IWMProfile3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMProfile3_AddRef(IWMProfile3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMProfile3_Release(IWMProfile3* This) { + return This->lpVtbl->Release(This); +} +/*** IWMProfile methods ***/ +static FORCEINLINE HRESULT IWMProfile3_GetVersion(IWMProfile3* This,WMT_VERSION *pdwVersion) { + return This->lpVtbl->GetVersion(This,pdwVersion); +} +static FORCEINLINE HRESULT IWMProfile3_GetName(IWMProfile3* This,WCHAR *pwszName,DWORD *pcchName) { + return This->lpVtbl->GetName(This,pwszName,pcchName); +} +static FORCEINLINE HRESULT IWMProfile3_SetName(IWMProfile3* This,const WCHAR *pwszName) { + return This->lpVtbl->SetName(This,pwszName); +} +static FORCEINLINE HRESULT IWMProfile3_GetDescription(IWMProfile3* This,WCHAR *pwszDescription,DWORD *pcchDescription) { + return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); +} +static FORCEINLINE HRESULT IWMProfile3_SetDescription(IWMProfile3* This,const WCHAR *pwszDescription) { + return This->lpVtbl->SetDescription(This,pwszDescription); +} +static FORCEINLINE HRESULT IWMProfile3_GetStreamCount(IWMProfile3* This,DWORD *pcStreams) { + return This->lpVtbl->GetStreamCount(This,pcStreams); +} +static FORCEINLINE HRESULT IWMProfile3_GetStream(IWMProfile3* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile3_GetStreamByNumber(IWMProfile3* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile3_RemoveStream(IWMProfile3* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->RemoveStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile3_RemoveStreamByNumber(IWMProfile3* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMProfile3_AddStream(IWMProfile3* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->AddStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile3_ReconfigStream(IWMProfile3* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->ReconfigStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile3_CreateNewStream(IWMProfile3* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { + return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile3_GetMutualExclusionCount(IWMProfile3* This,DWORD *pcME) { + return This->lpVtbl->GetMutualExclusionCount(This,pcME); +} +static FORCEINLINE HRESULT IWMProfile3_GetMutualExclusion(IWMProfile3* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { + return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); +} +static FORCEINLINE HRESULT IWMProfile3_RemoveMutualExclusion(IWMProfile3* This,IWMMutualExclusion *pME) { + return This->lpVtbl->RemoveMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile3_AddMutualExclusion(IWMProfile3* This,IWMMutualExclusion *pME) { + return This->lpVtbl->AddMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile3_CreateNewMutualExclusion(IWMProfile3* This,IWMMutualExclusion **ppME) { + return This->lpVtbl->CreateNewMutualExclusion(This,ppME); +} +/*** IWMProfile2 methods ***/ +static FORCEINLINE HRESULT IWMProfile3_GetProfileID(IWMProfile3* This,GUID *guid) { + return This->lpVtbl->GetProfileID(This,guid); +} +/*** IWMProfile3 methods ***/ +static FORCEINLINE HRESULT IWMProfile3_GetStorageFormat(IWMProfile3* This,WMT_STORAGE_FORMAT *storage) { + return This->lpVtbl->GetStorageFormat(This,storage); +} +static FORCEINLINE HRESULT IWMProfile3_SetStorageFormat(IWMProfile3* This,WMT_STORAGE_FORMAT storage) { + return This->lpVtbl->SetStorageFormat(This,storage); +} +static FORCEINLINE HRESULT IWMProfile3_GetBandwidthSharingCount(IWMProfile3* This,DWORD *count) { + return This->lpVtbl->GetBandwidthSharingCount(This,count); +} +static FORCEINLINE HRESULT IWMProfile3_GetBandwidthSharing(IWMProfile3* This,DWORD index,IWMBandwidthSharing **bandwidth) { + return This->lpVtbl->GetBandwidthSharing(This,index,bandwidth); +} +static FORCEINLINE HRESULT IWMProfile3_RemoveBandwidthSharing(IWMProfile3* This,IWMBandwidthSharing *bandwidth) { + return This->lpVtbl->RemoveBandwidthSharing(This,bandwidth); +} +static FORCEINLINE HRESULT IWMProfile3_AddBandwidthSharing(IWMProfile3* This,IWMBandwidthSharing *bandwidth) { + return This->lpVtbl->AddBandwidthSharing(This,bandwidth); +} +static FORCEINLINE HRESULT IWMProfile3_CreateNewBandwidthSharing(IWMProfile3* This,IWMBandwidthSharing **bandwidth) { + return This->lpVtbl->CreateNewBandwidthSharing(This,bandwidth); +} +static FORCEINLINE HRESULT IWMProfile3_GetStreamPrioritization(IWMProfile3* This,IWMStreamPrioritization **stream) { + return This->lpVtbl->GetStreamPrioritization(This,stream); +} +static FORCEINLINE HRESULT IWMProfile3_SetStreamPrioritization(IWMProfile3* This,IWMStreamPrioritization *stream) { + return This->lpVtbl->SetStreamPrioritization(This,stream); +} +static FORCEINLINE HRESULT IWMProfile3_RemoveStreamPrioritization(IWMProfile3* This) { + return This->lpVtbl->RemoveStreamPrioritization(This); +} +static FORCEINLINE HRESULT IWMProfile3_CreateNewStreamPrioritization(IWMProfile3* This,IWMStreamPrioritization **stream) { + return This->lpVtbl->CreateNewStreamPrioritization(This,stream); +} +static FORCEINLINE HRESULT IWMProfile3_GetExpectedPacketCount(IWMProfile3* This,QWORD duration,QWORD *packets) { + return This->lpVtbl->GetExpectedPacketCount(This,duration,packets); +} +#endif +#endif + +#endif + + +#endif /* __IWMProfile3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMProfileManager interface + */ +#ifndef __IWMProfileManager_INTERFACE_DEFINED__ +#define __IWMProfileManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d16679f2-6ca0-472d-8d31-2f5d55aee155") +IWMProfileManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateEmptyProfile( + WMT_VERSION dwVersion, + IWMProfile **ppProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadProfileByID( + REFGUID guidProfile, + IWMProfile **ppProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadProfileByData( + const WCHAR *pwszProfile, + IWMProfile **ppProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveProfile( + IWMProfile *pIWMProfile, + WCHAR *pwszProfile, + DWORD *pdwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemProfileCount( + DWORD *pcProfiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadSystemProfile( + DWORD dwProfileIndex, + IWMProfile **ppProfile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55) +#endif +#else +typedef struct IWMProfileManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMProfileManager *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMProfileManager *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMProfileManager *This); + + /*** IWMProfileManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateEmptyProfile)( + IWMProfileManager *This, + WMT_VERSION dwVersion, + IWMProfile **ppProfile); + + HRESULT (STDMETHODCALLTYPE *LoadProfileByID)( + IWMProfileManager *This, + REFGUID guidProfile, + IWMProfile **ppProfile); + + HRESULT (STDMETHODCALLTYPE *LoadProfileByData)( + IWMProfileManager *This, + const WCHAR *pwszProfile, + IWMProfile **ppProfile); + + HRESULT (STDMETHODCALLTYPE *SaveProfile)( + IWMProfileManager *This, + IWMProfile *pIWMProfile, + WCHAR *pwszProfile, + DWORD *pdwLength); + + HRESULT (STDMETHODCALLTYPE *GetSystemProfileCount)( + IWMProfileManager *This, + DWORD *pcProfiles); + + HRESULT (STDMETHODCALLTYPE *LoadSystemProfile)( + IWMProfileManager *This, + DWORD dwProfileIndex, + IWMProfile **ppProfile); + + END_INTERFACE +} IWMProfileManagerVtbl; + +interface IWMProfileManager { + CONST_VTBL IWMProfileManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMProfileManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMProfileManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMProfileManager_Release(This) (This)->lpVtbl->Release(This) +/*** IWMProfileManager methods ***/ +#define IWMProfileManager_CreateEmptyProfile(This,dwVersion,ppProfile) (This)->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile) +#define IWMProfileManager_LoadProfileByID(This,guidProfile,ppProfile) (This)->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile) +#define IWMProfileManager_LoadProfileByData(This,pwszProfile,ppProfile) (This)->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile) +#define IWMProfileManager_SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) (This)->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) +#define IWMProfileManager_GetSystemProfileCount(This,pcProfiles) (This)->lpVtbl->GetSystemProfileCount(This,pcProfiles) +#define IWMProfileManager_LoadSystemProfile(This,dwProfileIndex,ppProfile) (This)->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMProfileManager_QueryInterface(IWMProfileManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMProfileManager_AddRef(IWMProfileManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMProfileManager_Release(IWMProfileManager* This) { + return This->lpVtbl->Release(This); +} +/*** IWMProfileManager methods ***/ +static FORCEINLINE HRESULT IWMProfileManager_CreateEmptyProfile(IWMProfileManager* This,WMT_VERSION dwVersion,IWMProfile **ppProfile) { + return This->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile); +} +static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByID(IWMProfileManager* This,REFGUID guidProfile,IWMProfile **ppProfile) { + return This->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile); +} +static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByData(IWMProfileManager* This,const WCHAR *pwszProfile,IWMProfile **ppProfile) { + return This->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile); +} +static FORCEINLINE HRESULT IWMProfileManager_SaveProfile(IWMProfileManager* This,IWMProfile *pIWMProfile,WCHAR *pwszProfile,DWORD *pdwLength) { + return This->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength); +} +static FORCEINLINE HRESULT IWMProfileManager_GetSystemProfileCount(IWMProfileManager* This,DWORD *pcProfiles) { + return This->lpVtbl->GetSystemProfileCount(This,pcProfiles); +} +static FORCEINLINE HRESULT IWMProfileManager_LoadSystemProfile(IWMProfileManager* This,DWORD dwProfileIndex,IWMProfile **ppProfile) { + return This->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile); +} +#endif +#endif + +#endif + + +#endif /* __IWMProfileManager_INTERFACE_DEFINED__ */ + +HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**); +/***************************************************************************** + * IWMMediaProps interface + */ +#ifndef __IWMMediaProps_INTERFACE_DEFINED__ +#define __IWMMediaProps_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMMediaProps, 0x96406bce, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bce-2b2b-11d3-b36b-00c04f6108ff") +IWMMediaProps : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *pguidType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMediaType( + WM_MEDIA_TYPE *pType, + DWORD *pcbType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMediaType( + WM_MEDIA_TYPE *pType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMMediaProps, 0x96406bce, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMMediaPropsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMMediaProps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMMediaProps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMMediaProps *This); + + /*** IWMMediaProps methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IWMMediaProps *This, + GUID *pguidType); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IWMMediaProps *This, + WM_MEDIA_TYPE *pType, + DWORD *pcbType); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IWMMediaProps *This, + WM_MEDIA_TYPE *pType); + + END_INTERFACE +} IWMMediaPropsVtbl; + +interface IWMMediaProps { + CONST_VTBL IWMMediaPropsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMMediaProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMMediaProps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMMediaProps_Release(This) (This)->lpVtbl->Release(This) +/*** IWMMediaProps methods ***/ +#define IWMMediaProps_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType) +#define IWMMediaProps_GetMediaType(This,pType,pcbType) (This)->lpVtbl->GetMediaType(This,pType,pcbType) +#define IWMMediaProps_SetMediaType(This,pType) (This)->lpVtbl->SetMediaType(This,pType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMMediaProps_QueryInterface(IWMMediaProps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMMediaProps_AddRef(IWMMediaProps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMMediaProps_Release(IWMMediaProps* This) { + return This->lpVtbl->Release(This); +} +/*** IWMMediaProps methods ***/ +static FORCEINLINE HRESULT IWMMediaProps_GetType(IWMMediaProps* This,GUID *pguidType) { + return This->lpVtbl->GetType(This,pguidType); +} +static FORCEINLINE HRESULT IWMMediaProps_GetMediaType(IWMMediaProps* This,WM_MEDIA_TYPE *pType,DWORD *pcbType) { + return This->lpVtbl->GetMediaType(This,pType,pcbType); +} +static FORCEINLINE HRESULT IWMMediaProps_SetMediaType(IWMMediaProps* This,WM_MEDIA_TYPE *pType) { + return This->lpVtbl->SetMediaType(This,pType); +} +#endif +#endif + +#endif + + +#endif /* __IWMMediaProps_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMOutputMediaProps interface + */ +#ifndef __IWMOutputMediaProps_INTERFACE_DEFINED__ +#define __IWMOutputMediaProps_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMOutputMediaProps, 0x96406bd7, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bd7-2b2b-11d3-b36b-00c04f6108ff") +IWMOutputMediaProps : public IWMMediaProps +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamGroupName( + WCHAR *pwszName, + WORD *pcchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionName( + WCHAR *pwszName, + WORD *pcchName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMOutputMediaProps, 0x96406bd7, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMOutputMediaPropsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMOutputMediaProps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMOutputMediaProps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMOutputMediaProps *This); + + /*** IWMMediaProps methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IWMOutputMediaProps *This, + GUID *pguidType); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IWMOutputMediaProps *This, + WM_MEDIA_TYPE *pType, + DWORD *pcbType); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IWMOutputMediaProps *This, + WM_MEDIA_TYPE *pType); + + /*** IWMOutputMediaProps methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamGroupName)( + IWMOutputMediaProps *This, + WCHAR *pwszName, + WORD *pcchName); + + HRESULT (STDMETHODCALLTYPE *GetConnectionName)( + IWMOutputMediaProps *This, + WCHAR *pwszName, + WORD *pcchName); + + END_INTERFACE +} IWMOutputMediaPropsVtbl; + +interface IWMOutputMediaProps { + CONST_VTBL IWMOutputMediaPropsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMOutputMediaProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMOutputMediaProps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMOutputMediaProps_Release(This) (This)->lpVtbl->Release(This) +/*** IWMMediaProps methods ***/ +#define IWMOutputMediaProps_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType) +#define IWMOutputMediaProps_GetMediaType(This,pType,pcbType) (This)->lpVtbl->GetMediaType(This,pType,pcbType) +#define IWMOutputMediaProps_SetMediaType(This,pType) (This)->lpVtbl->SetMediaType(This,pType) +/*** IWMOutputMediaProps methods ***/ +#define IWMOutputMediaProps_GetStreamGroupName(This,pwszName,pcchName) (This)->lpVtbl->GetStreamGroupName(This,pwszName,pcchName) +#define IWMOutputMediaProps_GetConnectionName(This,pwszName,pcchName) (This)->lpVtbl->GetConnectionName(This,pwszName,pcchName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMOutputMediaProps_QueryInterface(IWMOutputMediaProps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMOutputMediaProps_AddRef(IWMOutputMediaProps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMOutputMediaProps_Release(IWMOutputMediaProps* This) { + return This->lpVtbl->Release(This); +} +/*** IWMMediaProps methods ***/ +static FORCEINLINE HRESULT IWMOutputMediaProps_GetType(IWMOutputMediaProps* This,GUID *pguidType) { + return This->lpVtbl->GetType(This,pguidType); +} +static FORCEINLINE HRESULT IWMOutputMediaProps_GetMediaType(IWMOutputMediaProps* This,WM_MEDIA_TYPE *pType,DWORD *pcbType) { + return This->lpVtbl->GetMediaType(This,pType,pcbType); +} +static FORCEINLINE HRESULT IWMOutputMediaProps_SetMediaType(IWMOutputMediaProps* This,WM_MEDIA_TYPE *pType) { + return This->lpVtbl->SetMediaType(This,pType); +} +/*** IWMOutputMediaProps methods ***/ +static FORCEINLINE HRESULT IWMOutputMediaProps_GetStreamGroupName(IWMOutputMediaProps* This,WCHAR *pwszName,WORD *pcchName) { + return This->lpVtbl->GetStreamGroupName(This,pwszName,pcchName); +} +static FORCEINLINE HRESULT IWMOutputMediaProps_GetConnectionName(IWMOutputMediaProps* This,WCHAR *pwszName,WORD *pcchName) { + return This->lpVtbl->GetConnectionName(This,pwszName,pcchName); +} +#endif +#endif + +#endif + + +#endif /* __IWMOutputMediaProps_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMMetadataEditor interface + */ +#ifndef __IWMMetadataEditor_INTERFACE_DEFINED__ +#define __IWMMetadataEditor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMMetadataEditor, 0x96406bd9, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bd9-2b2b-11d3-b36b-00c04f6108ff") +IWMMetadataEditor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Open( + const WCHAR *pwszFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMMetadataEditor, 0x96406bd9, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMMetadataEditorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMMetadataEditor *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMMetadataEditor *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMMetadataEditor *This); + + /*** IWMMetadataEditor methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + IWMMetadataEditor *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *Close)( + IWMMetadataEditor *This); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IWMMetadataEditor *This); + + END_INTERFACE +} IWMMetadataEditorVtbl; + +interface IWMMetadataEditor { + CONST_VTBL IWMMetadataEditorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMMetadataEditor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMMetadataEditor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMMetadataEditor_Release(This) (This)->lpVtbl->Release(This) +/*** IWMMetadataEditor methods ***/ +#define IWMMetadataEditor_Open(This,pwszFilename) (This)->lpVtbl->Open(This,pwszFilename) +#define IWMMetadataEditor_Close(This) (This)->lpVtbl->Close(This) +#define IWMMetadataEditor_Flush(This) (This)->lpVtbl->Flush(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMMetadataEditor_QueryInterface(IWMMetadataEditor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMMetadataEditor_AddRef(IWMMetadataEditor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMMetadataEditor_Release(IWMMetadataEditor* This) { + return This->lpVtbl->Release(This); +} +/*** IWMMetadataEditor methods ***/ +static FORCEINLINE HRESULT IWMMetadataEditor_Open(IWMMetadataEditor* This,const WCHAR *pwszFilename) { + return This->lpVtbl->Open(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMMetadataEditor_Close(IWMMetadataEditor* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IWMMetadataEditor_Flush(IWMMetadataEditor* This) { + return This->lpVtbl->Flush(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMMetadataEditor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReader interface + */ +#ifndef __IWMReader_INTERFACE_DEFINED__ +#define __IWMReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReader, 0x96406bd6, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bd6-2b2b-11d3-b36b-00c04f6108ff") +IWMReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Open( + const WCHAR *pwszURL, + IWMReaderCallback *pCallback, + void *pvContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputCount( + DWORD *pcOutputs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputProps( + DWORD dwOutputNum, + IWMOutputMediaProps **ppOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputProps( + DWORD dwOutputNum, + IWMOutputMediaProps *pOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputFormatCount( + DWORD dwOutputNumber, + DWORD *pcFormats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputFormat( + DWORD dwOutputNumber, + DWORD dwFormatNumber, + IWMOutputMediaProps **ppProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( + QWORD cnsStart, + QWORD cnsDuration, + float fRate, + void *pvContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReader, 0x96406bd6, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReader *This); + + /*** IWMReader methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + IWMReader *This, + const WCHAR *pwszURL, + IWMReaderCallback *pCallback, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *Close)( + IWMReader *This); + + HRESULT (STDMETHODCALLTYPE *GetOutputCount)( + IWMReader *This, + DWORD *pcOutputs); + + HRESULT (STDMETHODCALLTYPE *GetOutputProps)( + IWMReader *This, + DWORD dwOutputNum, + IWMOutputMediaProps **ppOutput); + + HRESULT (STDMETHODCALLTYPE *SetOutputProps)( + IWMReader *This, + DWORD dwOutputNum, + IWMOutputMediaProps *pOutput); + + HRESULT (STDMETHODCALLTYPE *GetOutputFormatCount)( + IWMReader *This, + DWORD dwOutputNumber, + DWORD *pcFormats); + + HRESULT (STDMETHODCALLTYPE *GetOutputFormat)( + IWMReader *This, + DWORD dwOutputNumber, + DWORD dwFormatNumber, + IWMOutputMediaProps **ppProps); + + HRESULT (STDMETHODCALLTYPE *Start)( + IWMReader *This, + QWORD cnsStart, + QWORD cnsDuration, + float fRate, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IWMReader *This); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IWMReader *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IWMReader *This); + + END_INTERFACE +} IWMReaderVtbl; + +interface IWMReader { + CONST_VTBL IWMReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReader_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReader methods ***/ +#define IWMReader_Open(This,pwszURL,pCallback,pvContext) (This)->lpVtbl->Open(This,pwszURL,pCallback,pvContext) +#define IWMReader_Close(This) (This)->lpVtbl->Close(This) +#define IWMReader_GetOutputCount(This,pcOutputs) (This)->lpVtbl->GetOutputCount(This,pcOutputs) +#define IWMReader_GetOutputProps(This,dwOutputNum,ppOutput) (This)->lpVtbl->GetOutputProps(This,dwOutputNum,ppOutput) +#define IWMReader_SetOutputProps(This,dwOutputNum,pOutput) (This)->lpVtbl->SetOutputProps(This,dwOutputNum,pOutput) +#define IWMReader_GetOutputFormatCount(This,dwOutputNumber,pcFormats) (This)->lpVtbl->GetOutputFormatCount(This,dwOutputNumber,pcFormats) +#define IWMReader_GetOutputFormat(This,dwOutputNumber,dwFormatNumber,ppProps) (This)->lpVtbl->GetOutputFormat(This,dwOutputNumber,dwFormatNumber,ppProps) +#define IWMReader_Start(This,cnsStart,cnsDuration,fRate,pvContext) (This)->lpVtbl->Start(This,cnsStart,cnsDuration,fRate,pvContext) +#define IWMReader_Stop(This) (This)->lpVtbl->Stop(This) +#define IWMReader_Pause(This) (This)->lpVtbl->Pause(This) +#define IWMReader_Resume(This) (This)->lpVtbl->Resume(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReader_QueryInterface(IWMReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReader_AddRef(IWMReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReader_Release(IWMReader* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReader methods ***/ +static FORCEINLINE HRESULT IWMReader_Open(IWMReader* This,const WCHAR *pwszURL,IWMReaderCallback *pCallback,void *pvContext) { + return This->lpVtbl->Open(This,pwszURL,pCallback,pvContext); +} +static FORCEINLINE HRESULT IWMReader_Close(IWMReader* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IWMReader_GetOutputCount(IWMReader* This,DWORD *pcOutputs) { + return This->lpVtbl->GetOutputCount(This,pcOutputs); +} +static FORCEINLINE HRESULT IWMReader_GetOutputProps(IWMReader* This,DWORD dwOutputNum,IWMOutputMediaProps **ppOutput) { + return This->lpVtbl->GetOutputProps(This,dwOutputNum,ppOutput); +} +static FORCEINLINE HRESULT IWMReader_SetOutputProps(IWMReader* This,DWORD dwOutputNum,IWMOutputMediaProps *pOutput) { + return This->lpVtbl->SetOutputProps(This,dwOutputNum,pOutput); +} +static FORCEINLINE HRESULT IWMReader_GetOutputFormatCount(IWMReader* This,DWORD dwOutputNumber,DWORD *pcFormats) { + return This->lpVtbl->GetOutputFormatCount(This,dwOutputNumber,pcFormats); +} +static FORCEINLINE HRESULT IWMReader_GetOutputFormat(IWMReader* This,DWORD dwOutputNumber,DWORD dwFormatNumber,IWMOutputMediaProps **ppProps) { + return This->lpVtbl->GetOutputFormat(This,dwOutputNumber,dwFormatNumber,ppProps); +} +static FORCEINLINE HRESULT IWMReader_Start(IWMReader* This,QWORD cnsStart,QWORD cnsDuration,float fRate,void *pvContext) { + return This->lpVtbl->Start(This,cnsStart,cnsDuration,fRate,pvContext); +} +static FORCEINLINE HRESULT IWMReader_Stop(IWMReader* This) { + return This->lpVtbl->Stop(This); +} +static FORCEINLINE HRESULT IWMReader_Pause(IWMReader* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IWMReader_Resume(IWMReader* This) { + return This->lpVtbl->Resume(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPlayerHook interface + */ +#ifndef __IWMPlayerHook_INTERFACE_DEFINED__ +#define __IWMPlayerHook_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPlayerHook, 0xe5b7ca9a, 0x0f1c, 0x4f66, 0x90,0x02, 0x74,0xec,0x50,0xd8,0xb3,0x04); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e5b7ca9a-0f1c-4f66-9002-74ec50d8b304") +IWMPlayerHook : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE PreDecode( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPlayerHook, 0xe5b7ca9a, 0x0f1c, 0x4f66, 0x90,0x02, 0x74,0xec,0x50,0xd8,0xb3,0x04) +#endif +#else +typedef struct IWMPlayerHookVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPlayerHook *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPlayerHook *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPlayerHook *This); + + /*** IWMPlayerHook methods ***/ + HRESULT (STDMETHODCALLTYPE *PreDecode)( + IWMPlayerHook *This); + + END_INTERFACE +} IWMPlayerHookVtbl; + +interface IWMPlayerHook { + CONST_VTBL IWMPlayerHookVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPlayerHook_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPlayerHook_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPlayerHook_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPlayerHook methods ***/ +#define IWMPlayerHook_PreDecode(This) (This)->lpVtbl->PreDecode(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPlayerHook_QueryInterface(IWMPlayerHook* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPlayerHook_AddRef(IWMPlayerHook* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPlayerHook_Release(IWMPlayerHook* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPlayerHook methods ***/ +static FORCEINLINE HRESULT IWMPlayerHook_PreDecode(IWMPlayerHook* This) { + return This->lpVtbl->PreDecode(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMPlayerHook_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAdvanced interface + */ +#ifndef __IWMReaderAdvanced_INTERFACE_DEFINED__ +#define __IWMReaderAdvanced_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAdvanced, 0x96406bea, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bea-2b2b-11d3-b36b-00c04f6108ff") +IWMReaderAdvanced : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetUserProvidedClock( + BOOL fUserClock) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserProvidedClock( + BOOL *pfUserClock) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeliverTime( + QWORD cnsTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetManualStreamSelection( + BOOL fSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetManualStreamSelection( + BOOL *pfSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamsSelected( + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamSelected( + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetReceiveSelectionCallbacks( + BOOL fGetCallbacks) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReceiveSelectionCallbacks( + BOOL *pfGetCallbacks) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetReceiveStreamSamples( + WORD wStreamNum, + BOOL fReceiveStreamSamples) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReceiveStreamSamples( + WORD wStreamNum, + BOOL *pfReceiveStreamSamples) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllocateForOutput( + DWORD dwOutputNum, + BOOL fAllocate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllocateForOutput( + DWORD dwOutputNum, + BOOL *pfAllocate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAllocateForStream( + WORD wStreamNum, + BOOL fAllocate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAllocateForStream( + WORD dwStreamNum, + BOOL *pfAllocate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatistics( + WM_READER_STATISTICS *pStatistics) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetClientInfo( + WM_READER_CLIENTINFO *pClientInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxOutputSampleSize( + DWORD dwOutput, + DWORD *pcbMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxStreamSampleSize( + WORD wStream, + DWORD *pcbMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyLateDelivery( + QWORD cnsLateness) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAdvanced, 0x96406bea, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMReaderAdvancedVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAdvanced *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAdvanced *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAdvanced *This); + + /*** IWMReaderAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)( + IWMReaderAdvanced *This, + BOOL fUserClock); + + HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)( + IWMReaderAdvanced *This, + BOOL *pfUserClock); + + HRESULT (STDMETHODCALLTYPE *DeliverTime)( + IWMReaderAdvanced *This, + QWORD cnsTime); + + HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)( + IWMReaderAdvanced *This, + BOOL fSelection); + + HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)( + IWMReaderAdvanced *This, + BOOL *pfSelection); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMReaderAdvanced *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMReaderAdvanced *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)( + IWMReaderAdvanced *This, + BOOL fGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)( + IWMReaderAdvanced *This, + BOOL *pfGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)( + IWMReaderAdvanced *This, + WORD wStreamNum, + BOOL fReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)( + IWMReaderAdvanced *This, + WORD wStreamNum, + BOOL *pfReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)( + IWMReaderAdvanced *This, + DWORD dwOutputNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)( + IWMReaderAdvanced *This, + DWORD dwOutputNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)( + IWMReaderAdvanced *This, + WORD wStreamNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)( + IWMReaderAdvanced *This, + WORD dwStreamNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMReaderAdvanced *This, + WM_READER_STATISTICS *pStatistics); + + HRESULT (STDMETHODCALLTYPE *SetClientInfo)( + IWMReaderAdvanced *This, + WM_READER_CLIENTINFO *pClientInfo); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMReaderAdvanced *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMReaderAdvanced *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)( + IWMReaderAdvanced *This, + QWORD cnsLateness); + + END_INTERFACE +} IWMReaderAdvancedVtbl; + +interface IWMReaderAdvanced { + CONST_VTBL IWMReaderAdvancedVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAdvanced_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAdvanced_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAdvanced_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAdvanced methods ***/ +#define IWMReaderAdvanced_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock) +#define IWMReaderAdvanced_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock) +#define IWMReaderAdvanced_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime) +#define IWMReaderAdvanced_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection) +#define IWMReaderAdvanced_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection) +#define IWMReaderAdvanced_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMReaderAdvanced_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMReaderAdvanced_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks) +#define IWMReaderAdvanced_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks) +#define IWMReaderAdvanced_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) +#define IWMReaderAdvanced_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) +#define IWMReaderAdvanced_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate) +#define IWMReaderAdvanced_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate) +#define IWMReaderAdvanced_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate) +#define IWMReaderAdvanced_GetAllocateForStream(This,dwStreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate) +#define IWMReaderAdvanced_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics) +#define IWMReaderAdvanced_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo) +#define IWMReaderAdvanced_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMReaderAdvanced_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMReaderAdvanced_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced_QueryInterface(IWMReaderAdvanced* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAdvanced_AddRef(IWMReaderAdvanced* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAdvanced_Release(IWMReaderAdvanced* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAdvanced methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced_SetUserProvidedClock(IWMReaderAdvanced* This,BOOL fUserClock) { + return This->lpVtbl->SetUserProvidedClock(This,fUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetUserProvidedClock(IWMReaderAdvanced* This,BOOL *pfUserClock) { + return This->lpVtbl->GetUserProvidedClock(This,pfUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_DeliverTime(IWMReaderAdvanced* This,QWORD cnsTime) { + return This->lpVtbl->DeliverTime(This,cnsTime); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetManualStreamSelection(IWMReaderAdvanced* This,BOOL fSelection) { + return This->lpVtbl->SetManualStreamSelection(This,fSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetManualStreamSelection(IWMReaderAdvanced* This,BOOL *pfSelection) { + return This->lpVtbl->GetManualStreamSelection(This,pfSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetStreamsSelected(IWMReaderAdvanced* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced* This,BOOL fGetCallbacks) { + return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetReceiveSelectionCallbacks(IWMReaderAdvanced* This,BOOL *pfGetCallbacks) { + return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetReceiveStreamSamples(IWMReaderAdvanced* This,WORD wStreamNum,BOOL fReceiveStreamSamples) { + return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetReceiveStreamSamples(IWMReaderAdvanced* This,WORD wStreamNum,BOOL *pfReceiveStreamSamples) { + return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetAllocateForOutput(IWMReaderAdvanced* This,DWORD dwOutputNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetAllocateForOutput(IWMReaderAdvanced* This,DWORD dwOutputNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetAllocateForStream(IWMReaderAdvanced* This,WORD wStreamNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetAllocateForStream(IWMReaderAdvanced* This,WORD dwStreamNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetStatistics(IWMReaderAdvanced* This,WM_READER_STATISTICS *pStatistics) { + return This->lpVtbl->GetStatistics(This,pStatistics); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_SetClientInfo(IWMReaderAdvanced* This,WM_READER_CLIENTINFO *pClientInfo) { + return This->lpVtbl->SetClientInfo(This,pClientInfo); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetMaxOutputSampleSize(IWMReaderAdvanced* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_GetMaxStreamSampleSize(IWMReaderAdvanced* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced_NotifyLateDelivery(IWMReaderAdvanced* This,QWORD cnsLateness) { + return This->lpVtbl->NotifyLateDelivery(This,cnsLateness); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAdvanced_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAdvanced2 interface + */ +#ifndef __IWMReaderAdvanced2_INTERFACE_DEFINED__ +#define __IWMReaderAdvanced2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAdvanced2, 0xae14a945, 0xb90c, 0x4d0d, 0x91,0x27, 0x80,0xd6,0x65,0xf7,0xd7,0x3e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae14a945-b90c-4d0d-9127-80d665f7d73e") +IWMReaderAdvanced2 : public IWMReaderAdvanced +{ + virtual HRESULT STDMETHODCALLTYPE SetPlayMode( + WMT_PLAY_MODE Mode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPlayMode( + WMT_PLAY_MODE *pMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferProgress( + DWORD *pdwPercent, + QWORD *pcnsBuffering) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDownloadProgress( + DWORD *pdwPercent, + QWORD *pqwBytesDownloaded, + QWORD *pcnsDownload) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSaveAsProgress( + DWORD *pdwPercent) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveFileAs( + const WCHAR *pwszFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProtocolName( + WCHAR *pwszProtocol, + DWORD *pcchProtocol) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartAtMarker( + WORD wMarkerIndex, + QWORD cnsDuration, + float fRate, + void *pvContext) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputSetting( + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputSetting( + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE Preroll( + QWORD cnsStart, + QWORD cnsDuration, + float fRate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLogClientID( + BOOL fLogClientID) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLogClientID( + BOOL *pfLogClientID) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopBuffering( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenStream( + IStream *pStream, + IWMReaderCallback *pCallback, + void *pvContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAdvanced2, 0xae14a945, 0xb90c, 0x4d0d, 0x91,0x27, 0x80,0xd6,0x65,0xf7,0xd7,0x3e) +#endif +#else +typedef struct IWMReaderAdvanced2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAdvanced2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAdvanced2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAdvanced2 *This); + + /*** IWMReaderAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)( + IWMReaderAdvanced2 *This, + BOOL fUserClock); + + HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)( + IWMReaderAdvanced2 *This, + BOOL *pfUserClock); + + HRESULT (STDMETHODCALLTYPE *DeliverTime)( + IWMReaderAdvanced2 *This, + QWORD cnsTime); + + HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)( + IWMReaderAdvanced2 *This, + BOOL fSelection); + + HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)( + IWMReaderAdvanced2 *This, + BOOL *pfSelection); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMReaderAdvanced2 *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMReaderAdvanced2 *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)( + IWMReaderAdvanced2 *This, + BOOL fGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)( + IWMReaderAdvanced2 *This, + BOOL *pfGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)( + IWMReaderAdvanced2 *This, + WORD wStreamNum, + BOOL fReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)( + IWMReaderAdvanced2 *This, + WORD wStreamNum, + BOOL *pfReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)( + IWMReaderAdvanced2 *This, + DWORD dwOutputNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)( + IWMReaderAdvanced2 *This, + DWORD dwOutputNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)( + IWMReaderAdvanced2 *This, + WORD wStreamNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)( + IWMReaderAdvanced2 *This, + WORD dwStreamNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMReaderAdvanced2 *This, + WM_READER_STATISTICS *pStatistics); + + HRESULT (STDMETHODCALLTYPE *SetClientInfo)( + IWMReaderAdvanced2 *This, + WM_READER_CLIENTINFO *pClientInfo); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMReaderAdvanced2 *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMReaderAdvanced2 *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)( + IWMReaderAdvanced2 *This, + QWORD cnsLateness); + + /*** IWMReaderAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayMode)( + IWMReaderAdvanced2 *This, + WMT_PLAY_MODE Mode); + + HRESULT (STDMETHODCALLTYPE *GetPlayMode)( + IWMReaderAdvanced2 *This, + WMT_PLAY_MODE *pMode); + + HRESULT (STDMETHODCALLTYPE *GetBufferProgress)( + IWMReaderAdvanced2 *This, + DWORD *pdwPercent, + QWORD *pcnsBuffering); + + HRESULT (STDMETHODCALLTYPE *GetDownloadProgress)( + IWMReaderAdvanced2 *This, + DWORD *pdwPercent, + QWORD *pqwBytesDownloaded, + QWORD *pcnsDownload); + + HRESULT (STDMETHODCALLTYPE *GetSaveAsProgress)( + IWMReaderAdvanced2 *This, + DWORD *pdwPercent); + + HRESULT (STDMETHODCALLTYPE *SaveFileAs)( + IWMReaderAdvanced2 *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *GetProtocolName)( + IWMReaderAdvanced2 *This, + WCHAR *pwszProtocol, + DWORD *pcchProtocol); + + HRESULT (STDMETHODCALLTYPE *StartAtMarker)( + IWMReaderAdvanced2 *This, + WORD wMarkerIndex, + QWORD cnsDuration, + float fRate, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *GetOutputSetting)( + IWMReaderAdvanced2 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetOutputSetting)( + IWMReaderAdvanced2 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + HRESULT (STDMETHODCALLTYPE *Preroll)( + IWMReaderAdvanced2 *This, + QWORD cnsStart, + QWORD cnsDuration, + float fRate); + + HRESULT (STDMETHODCALLTYPE *SetLogClientID)( + IWMReaderAdvanced2 *This, + BOOL fLogClientID); + + HRESULT (STDMETHODCALLTYPE *GetLogClientID)( + IWMReaderAdvanced2 *This, + BOOL *pfLogClientID); + + HRESULT (STDMETHODCALLTYPE *StopBuffering)( + IWMReaderAdvanced2 *This); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IWMReaderAdvanced2 *This, + IStream *pStream, + IWMReaderCallback *pCallback, + void *pvContext); + + END_INTERFACE +} IWMReaderAdvanced2Vtbl; + +interface IWMReaderAdvanced2 { + CONST_VTBL IWMReaderAdvanced2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAdvanced2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAdvanced2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAdvanced2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAdvanced methods ***/ +#define IWMReaderAdvanced2_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock) +#define IWMReaderAdvanced2_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock) +#define IWMReaderAdvanced2_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime) +#define IWMReaderAdvanced2_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection) +#define IWMReaderAdvanced2_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection) +#define IWMReaderAdvanced2_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMReaderAdvanced2_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMReaderAdvanced2_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks) +#define IWMReaderAdvanced2_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks) +#define IWMReaderAdvanced2_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) +#define IWMReaderAdvanced2_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) +#define IWMReaderAdvanced2_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate) +#define IWMReaderAdvanced2_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate) +#define IWMReaderAdvanced2_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate) +#define IWMReaderAdvanced2_GetAllocateForStream(This,dwStreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate) +#define IWMReaderAdvanced2_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics) +#define IWMReaderAdvanced2_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo) +#define IWMReaderAdvanced2_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMReaderAdvanced2_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMReaderAdvanced2_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness) +/*** IWMReaderAdvanced2 methods ***/ +#define IWMReaderAdvanced2_SetPlayMode(This,Mode) (This)->lpVtbl->SetPlayMode(This,Mode) +#define IWMReaderAdvanced2_GetPlayMode(This,pMode) (This)->lpVtbl->GetPlayMode(This,pMode) +#define IWMReaderAdvanced2_GetBufferProgress(This,pdwPercent,pcnsBuffering) (This)->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering) +#define IWMReaderAdvanced2_GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) (This)->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) +#define IWMReaderAdvanced2_GetSaveAsProgress(This,pdwPercent) (This)->lpVtbl->GetSaveAsProgress(This,pdwPercent) +#define IWMReaderAdvanced2_SaveFileAs(This,pwszFilename) (This)->lpVtbl->SaveFileAs(This,pwszFilename) +#define IWMReaderAdvanced2_GetProtocolName(This,pwszProtocol,pcchProtocol) (This)->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol) +#define IWMReaderAdvanced2_StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) (This)->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) +#define IWMReaderAdvanced2_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) +#define IWMReaderAdvanced2_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) +#define IWMReaderAdvanced2_Preroll(This,cnsStart,cnsDuration,fRate) (This)->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate) +#define IWMReaderAdvanced2_SetLogClientID(This,fLogClientID) (This)->lpVtbl->SetLogClientID(This,fLogClientID) +#define IWMReaderAdvanced2_GetLogClientID(This,pfLogClientID) (This)->lpVtbl->GetLogClientID(This,pfLogClientID) +#define IWMReaderAdvanced2_StopBuffering(This) (This)->lpVtbl->StopBuffering(This) +#define IWMReaderAdvanced2_OpenStream(This,pStream,pCallback,pvContext) (This)->lpVtbl->OpenStream(This,pStream,pCallback,pvContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced2_QueryInterface(IWMReaderAdvanced2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAdvanced2_AddRef(IWMReaderAdvanced2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAdvanced2_Release(IWMReaderAdvanced2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAdvanced methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetUserProvidedClock(IWMReaderAdvanced2* This,BOOL fUserClock) { + return This->lpVtbl->SetUserProvidedClock(This,fUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetUserProvidedClock(IWMReaderAdvanced2* This,BOOL *pfUserClock) { + return This->lpVtbl->GetUserProvidedClock(This,pfUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_DeliverTime(IWMReaderAdvanced2* This,QWORD cnsTime) { + return This->lpVtbl->DeliverTime(This,cnsTime); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetManualStreamSelection(IWMReaderAdvanced2* This,BOOL fSelection) { + return This->lpVtbl->SetManualStreamSelection(This,fSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetManualStreamSelection(IWMReaderAdvanced2* This,BOOL *pfSelection) { + return This->lpVtbl->GetManualStreamSelection(This,pfSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetStreamsSelected(IWMReaderAdvanced2* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetStreamSelected(IWMReaderAdvanced2* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetReceiveSelectionCallbacks(IWMReaderAdvanced2* This,BOOL fGetCallbacks) { + return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetReceiveSelectionCallbacks(IWMReaderAdvanced2* This,BOOL *pfGetCallbacks) { + return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetReceiveStreamSamples(IWMReaderAdvanced2* This,WORD wStreamNum,BOOL fReceiveStreamSamples) { + return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetReceiveStreamSamples(IWMReaderAdvanced2* This,WORD wStreamNum,BOOL *pfReceiveStreamSamples) { + return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetAllocateForOutput(IWMReaderAdvanced2* This,DWORD dwOutputNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetAllocateForOutput(IWMReaderAdvanced2* This,DWORD dwOutputNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetAllocateForStream(IWMReaderAdvanced2* This,WORD wStreamNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetAllocateForStream(IWMReaderAdvanced2* This,WORD dwStreamNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetStatistics(IWMReaderAdvanced2* This,WM_READER_STATISTICS *pStatistics) { + return This->lpVtbl->GetStatistics(This,pStatistics); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetClientInfo(IWMReaderAdvanced2* This,WM_READER_CLIENTINFO *pClientInfo) { + return This->lpVtbl->SetClientInfo(This,pClientInfo); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetMaxOutputSampleSize(IWMReaderAdvanced2* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetMaxStreamSampleSize(IWMReaderAdvanced2* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_NotifyLateDelivery(IWMReaderAdvanced2* This,QWORD cnsLateness) { + return This->lpVtbl->NotifyLateDelivery(This,cnsLateness); +} +/*** IWMReaderAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetPlayMode(IWMReaderAdvanced2* This,WMT_PLAY_MODE Mode) { + return This->lpVtbl->SetPlayMode(This,Mode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetPlayMode(IWMReaderAdvanced2* This,WMT_PLAY_MODE *pMode) { + return This->lpVtbl->GetPlayMode(This,pMode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetBufferProgress(IWMReaderAdvanced2* This,DWORD *pdwPercent,QWORD *pcnsBuffering) { + return This->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetDownloadProgress(IWMReaderAdvanced2* This,DWORD *pdwPercent,QWORD *pqwBytesDownloaded,QWORD *pcnsDownload) { + return This->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetSaveAsProgress(IWMReaderAdvanced2* This,DWORD *pdwPercent) { + return This->lpVtbl->GetSaveAsProgress(This,pdwPercent); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SaveFileAs(IWMReaderAdvanced2* This,const WCHAR *pwszFilename) { + return This->lpVtbl->SaveFileAs(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetProtocolName(IWMReaderAdvanced2* This,WCHAR *pwszProtocol,DWORD *pcchProtocol) { + return This->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_StartAtMarker(IWMReaderAdvanced2* This,WORD wMarkerIndex,QWORD cnsDuration,float fRate,void *pvContext) { + return This->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetOutputSetting(IWMReaderAdvanced2* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetOutputSetting(IWMReaderAdvanced2* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_Preroll(IWMReaderAdvanced2* This,QWORD cnsStart,QWORD cnsDuration,float fRate) { + return This->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_SetLogClientID(IWMReaderAdvanced2* This,BOOL fLogClientID) { + return This->lpVtbl->SetLogClientID(This,fLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_GetLogClientID(IWMReaderAdvanced2* This,BOOL *pfLogClientID) { + return This->lpVtbl->GetLogClientID(This,pfLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_StopBuffering(IWMReaderAdvanced2* This) { + return This->lpVtbl->StopBuffering(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced2_OpenStream(IWMReaderAdvanced2* This,IStream *pStream,IWMReaderCallback *pCallback,void *pvContext) { + return This->lpVtbl->OpenStream(This,pStream,pCallback,pvContext); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAdvanced2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAdvanced3 interface + */ +#ifndef __IWMReaderAdvanced3_INTERFACE_DEFINED__ +#define __IWMReaderAdvanced3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAdvanced3, 0x5dc0674b, 0xf04b, 0x4a4e, 0x9f,0x2a, 0xb1,0xaf,0xde,0x2c,0x81,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5dc0674b-f04b-4a4e-9f2a-b1afde2c8100") +IWMReaderAdvanced3 : public IWMReaderAdvanced2 +{ + virtual HRESULT STDMETHODCALLTYPE StopNetStreaming( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartAtPosition( + WORD wStreamNum, + void *pvOffsetStart, + void *pvDuration, + WMT_OFFSET_FORMAT dwOffsetFormat, + float fRate, + void *pvContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAdvanced3, 0x5dc0674b, 0xf04b, 0x4a4e, 0x9f,0x2a, 0xb1,0xaf,0xde,0x2c,0x81,0x00) +#endif +#else +typedef struct IWMReaderAdvanced3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAdvanced3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAdvanced3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAdvanced3 *This); + + /*** IWMReaderAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)( + IWMReaderAdvanced3 *This, + BOOL fUserClock); + + HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)( + IWMReaderAdvanced3 *This, + BOOL *pfUserClock); + + HRESULT (STDMETHODCALLTYPE *DeliverTime)( + IWMReaderAdvanced3 *This, + QWORD cnsTime); + + HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)( + IWMReaderAdvanced3 *This, + BOOL fSelection); + + HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)( + IWMReaderAdvanced3 *This, + BOOL *pfSelection); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMReaderAdvanced3 *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMReaderAdvanced3 *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)( + IWMReaderAdvanced3 *This, + BOOL fGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)( + IWMReaderAdvanced3 *This, + BOOL *pfGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)( + IWMReaderAdvanced3 *This, + WORD wStreamNum, + BOOL fReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)( + IWMReaderAdvanced3 *This, + WORD wStreamNum, + BOOL *pfReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)( + IWMReaderAdvanced3 *This, + DWORD dwOutputNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)( + IWMReaderAdvanced3 *This, + DWORD dwOutputNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)( + IWMReaderAdvanced3 *This, + WORD wStreamNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)( + IWMReaderAdvanced3 *This, + WORD dwStreamNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMReaderAdvanced3 *This, + WM_READER_STATISTICS *pStatistics); + + HRESULT (STDMETHODCALLTYPE *SetClientInfo)( + IWMReaderAdvanced3 *This, + WM_READER_CLIENTINFO *pClientInfo); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMReaderAdvanced3 *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMReaderAdvanced3 *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)( + IWMReaderAdvanced3 *This, + QWORD cnsLateness); + + /*** IWMReaderAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayMode)( + IWMReaderAdvanced3 *This, + WMT_PLAY_MODE Mode); + + HRESULT (STDMETHODCALLTYPE *GetPlayMode)( + IWMReaderAdvanced3 *This, + WMT_PLAY_MODE *pMode); + + HRESULT (STDMETHODCALLTYPE *GetBufferProgress)( + IWMReaderAdvanced3 *This, + DWORD *pdwPercent, + QWORD *pcnsBuffering); + + HRESULT (STDMETHODCALLTYPE *GetDownloadProgress)( + IWMReaderAdvanced3 *This, + DWORD *pdwPercent, + QWORD *pqwBytesDownloaded, + QWORD *pcnsDownload); + + HRESULT (STDMETHODCALLTYPE *GetSaveAsProgress)( + IWMReaderAdvanced3 *This, + DWORD *pdwPercent); + + HRESULT (STDMETHODCALLTYPE *SaveFileAs)( + IWMReaderAdvanced3 *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *GetProtocolName)( + IWMReaderAdvanced3 *This, + WCHAR *pwszProtocol, + DWORD *pcchProtocol); + + HRESULT (STDMETHODCALLTYPE *StartAtMarker)( + IWMReaderAdvanced3 *This, + WORD wMarkerIndex, + QWORD cnsDuration, + float fRate, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *GetOutputSetting)( + IWMReaderAdvanced3 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetOutputSetting)( + IWMReaderAdvanced3 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + HRESULT (STDMETHODCALLTYPE *Preroll)( + IWMReaderAdvanced3 *This, + QWORD cnsStart, + QWORD cnsDuration, + float fRate); + + HRESULT (STDMETHODCALLTYPE *SetLogClientID)( + IWMReaderAdvanced3 *This, + BOOL fLogClientID); + + HRESULT (STDMETHODCALLTYPE *GetLogClientID)( + IWMReaderAdvanced3 *This, + BOOL *pfLogClientID); + + HRESULT (STDMETHODCALLTYPE *StopBuffering)( + IWMReaderAdvanced3 *This); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IWMReaderAdvanced3 *This, + IStream *pStream, + IWMReaderCallback *pCallback, + void *pvContext); + + /*** IWMReaderAdvanced3 methods ***/ + HRESULT (STDMETHODCALLTYPE *StopNetStreaming)( + IWMReaderAdvanced3 *This); + + HRESULT (STDMETHODCALLTYPE *StartAtPosition)( + IWMReaderAdvanced3 *This, + WORD wStreamNum, + void *pvOffsetStart, + void *pvDuration, + WMT_OFFSET_FORMAT dwOffsetFormat, + float fRate, + void *pvContext); + + END_INTERFACE +} IWMReaderAdvanced3Vtbl; + +interface IWMReaderAdvanced3 { + CONST_VTBL IWMReaderAdvanced3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAdvanced3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAdvanced3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAdvanced3_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAdvanced methods ***/ +#define IWMReaderAdvanced3_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock) +#define IWMReaderAdvanced3_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock) +#define IWMReaderAdvanced3_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime) +#define IWMReaderAdvanced3_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection) +#define IWMReaderAdvanced3_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection) +#define IWMReaderAdvanced3_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMReaderAdvanced3_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMReaderAdvanced3_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks) +#define IWMReaderAdvanced3_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks) +#define IWMReaderAdvanced3_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) +#define IWMReaderAdvanced3_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) +#define IWMReaderAdvanced3_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate) +#define IWMReaderAdvanced3_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate) +#define IWMReaderAdvanced3_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate) +#define IWMReaderAdvanced3_GetAllocateForStream(This,dwStreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate) +#define IWMReaderAdvanced3_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics) +#define IWMReaderAdvanced3_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo) +#define IWMReaderAdvanced3_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMReaderAdvanced3_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMReaderAdvanced3_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness) +/*** IWMReaderAdvanced2 methods ***/ +#define IWMReaderAdvanced3_SetPlayMode(This,Mode) (This)->lpVtbl->SetPlayMode(This,Mode) +#define IWMReaderAdvanced3_GetPlayMode(This,pMode) (This)->lpVtbl->GetPlayMode(This,pMode) +#define IWMReaderAdvanced3_GetBufferProgress(This,pdwPercent,pcnsBuffering) (This)->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering) +#define IWMReaderAdvanced3_GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) (This)->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) +#define IWMReaderAdvanced3_GetSaveAsProgress(This,pdwPercent) (This)->lpVtbl->GetSaveAsProgress(This,pdwPercent) +#define IWMReaderAdvanced3_SaveFileAs(This,pwszFilename) (This)->lpVtbl->SaveFileAs(This,pwszFilename) +#define IWMReaderAdvanced3_GetProtocolName(This,pwszProtocol,pcchProtocol) (This)->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol) +#define IWMReaderAdvanced3_StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) (This)->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) +#define IWMReaderAdvanced3_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) +#define IWMReaderAdvanced3_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) +#define IWMReaderAdvanced3_Preroll(This,cnsStart,cnsDuration,fRate) (This)->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate) +#define IWMReaderAdvanced3_SetLogClientID(This,fLogClientID) (This)->lpVtbl->SetLogClientID(This,fLogClientID) +#define IWMReaderAdvanced3_GetLogClientID(This,pfLogClientID) (This)->lpVtbl->GetLogClientID(This,pfLogClientID) +#define IWMReaderAdvanced3_StopBuffering(This) (This)->lpVtbl->StopBuffering(This) +#define IWMReaderAdvanced3_OpenStream(This,pStream,pCallback,pvContext) (This)->lpVtbl->OpenStream(This,pStream,pCallback,pvContext) +/*** IWMReaderAdvanced3 methods ***/ +#define IWMReaderAdvanced3_StopNetStreaming(This) (This)->lpVtbl->StopNetStreaming(This) +#define IWMReaderAdvanced3_StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) (This)->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced3_QueryInterface(IWMReaderAdvanced3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAdvanced3_AddRef(IWMReaderAdvanced3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAdvanced3_Release(IWMReaderAdvanced3* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAdvanced methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetUserProvidedClock(IWMReaderAdvanced3* This,BOOL fUserClock) { + return This->lpVtbl->SetUserProvidedClock(This,fUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetUserProvidedClock(IWMReaderAdvanced3* This,BOOL *pfUserClock) { + return This->lpVtbl->GetUserProvidedClock(This,pfUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_DeliverTime(IWMReaderAdvanced3* This,QWORD cnsTime) { + return This->lpVtbl->DeliverTime(This,cnsTime); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetManualStreamSelection(IWMReaderAdvanced3* This,BOOL fSelection) { + return This->lpVtbl->SetManualStreamSelection(This,fSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetManualStreamSelection(IWMReaderAdvanced3* This,BOOL *pfSelection) { + return This->lpVtbl->GetManualStreamSelection(This,pfSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetStreamsSelected(IWMReaderAdvanced3* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetStreamSelected(IWMReaderAdvanced3* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetReceiveSelectionCallbacks(IWMReaderAdvanced3* This,BOOL fGetCallbacks) { + return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetReceiveSelectionCallbacks(IWMReaderAdvanced3* This,BOOL *pfGetCallbacks) { + return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetReceiveStreamSamples(IWMReaderAdvanced3* This,WORD wStreamNum,BOOL fReceiveStreamSamples) { + return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetReceiveStreamSamples(IWMReaderAdvanced3* This,WORD wStreamNum,BOOL *pfReceiveStreamSamples) { + return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetAllocateForOutput(IWMReaderAdvanced3* This,DWORD dwOutputNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetAllocateForOutput(IWMReaderAdvanced3* This,DWORD dwOutputNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetAllocateForStream(IWMReaderAdvanced3* This,WORD wStreamNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetAllocateForStream(IWMReaderAdvanced3* This,WORD dwStreamNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetStatistics(IWMReaderAdvanced3* This,WM_READER_STATISTICS *pStatistics) { + return This->lpVtbl->GetStatistics(This,pStatistics); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetClientInfo(IWMReaderAdvanced3* This,WM_READER_CLIENTINFO *pClientInfo) { + return This->lpVtbl->SetClientInfo(This,pClientInfo); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetMaxOutputSampleSize(IWMReaderAdvanced3* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetMaxStreamSampleSize(IWMReaderAdvanced3* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_NotifyLateDelivery(IWMReaderAdvanced3* This,QWORD cnsLateness) { + return This->lpVtbl->NotifyLateDelivery(This,cnsLateness); +} +/*** IWMReaderAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetPlayMode(IWMReaderAdvanced3* This,WMT_PLAY_MODE Mode) { + return This->lpVtbl->SetPlayMode(This,Mode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetPlayMode(IWMReaderAdvanced3* This,WMT_PLAY_MODE *pMode) { + return This->lpVtbl->GetPlayMode(This,pMode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetBufferProgress(IWMReaderAdvanced3* This,DWORD *pdwPercent,QWORD *pcnsBuffering) { + return This->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetDownloadProgress(IWMReaderAdvanced3* This,DWORD *pdwPercent,QWORD *pqwBytesDownloaded,QWORD *pcnsDownload) { + return This->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetSaveAsProgress(IWMReaderAdvanced3* This,DWORD *pdwPercent) { + return This->lpVtbl->GetSaveAsProgress(This,pdwPercent); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SaveFileAs(IWMReaderAdvanced3* This,const WCHAR *pwszFilename) { + return This->lpVtbl->SaveFileAs(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetProtocolName(IWMReaderAdvanced3* This,WCHAR *pwszProtocol,DWORD *pcchProtocol) { + return This->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_StartAtMarker(IWMReaderAdvanced3* This,WORD wMarkerIndex,QWORD cnsDuration,float fRate,void *pvContext) { + return This->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetOutputSetting(IWMReaderAdvanced3* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetOutputSetting(IWMReaderAdvanced3* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_Preroll(IWMReaderAdvanced3* This,QWORD cnsStart,QWORD cnsDuration,float fRate) { + return This->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_SetLogClientID(IWMReaderAdvanced3* This,BOOL fLogClientID) { + return This->lpVtbl->SetLogClientID(This,fLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_GetLogClientID(IWMReaderAdvanced3* This,BOOL *pfLogClientID) { + return This->lpVtbl->GetLogClientID(This,pfLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_StopBuffering(IWMReaderAdvanced3* This) { + return This->lpVtbl->StopBuffering(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_OpenStream(IWMReaderAdvanced3* This,IStream *pStream,IWMReaderCallback *pCallback,void *pvContext) { + return This->lpVtbl->OpenStream(This,pStream,pCallback,pvContext); +} +/*** IWMReaderAdvanced3 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced3_StopNetStreaming(IWMReaderAdvanced3* This) { + return This->lpVtbl->StopNetStreaming(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced3_StartAtPosition(IWMReaderAdvanced3* This,WORD wStreamNum,void *pvOffsetStart,void *pvDuration,WMT_OFFSET_FORMAT dwOffsetFormat,float fRate,void *pvContext) { + return This->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAdvanced3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAdvanced4 interface + */ +#ifndef __IWMReaderAdvanced4_INTERFACE_DEFINED__ +#define __IWMReaderAdvanced4_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAdvanced4, 0x945a76a2, 0x12ae, 0x4d48, 0xbd,0x3c, 0xcd,0x1d,0x90,0x39,0x9b,0x85); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("945a76a2-12ae-4d48-bd3c-cd1d90399b85") +IWMReaderAdvanced4 : public IWMReaderAdvanced3 +{ + virtual HRESULT STDMETHODCALLTYPE GetLanguageCount( + DWORD dwOutputNum, + WORD *pwLanguageCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLanguage( + DWORD dwOutputNum, + WORD wLanguage, + WCHAR *pwszLanguageString, + WORD *pcchLanguageStringLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxSpeedFactor( + double *pdblFactor) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsUsingFastCache( + BOOL *pfUsingFastCache) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddLogParam( + LPCWSTR wszNameSpace, + LPCWSTR wszName, + LPCWSTR wszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendLogParams( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanSaveFileAs( + BOOL *pfCanSave) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelSaveFileAs( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetURL( + WCHAR *pwszURL, + DWORD *pcchURL) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAdvanced4, 0x945a76a2, 0x12ae, 0x4d48, 0xbd,0x3c, 0xcd,0x1d,0x90,0x39,0x9b,0x85) +#endif +#else +typedef struct IWMReaderAdvanced4Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAdvanced4 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAdvanced4 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAdvanced4 *This); + + /*** IWMReaderAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)( + IWMReaderAdvanced4 *This, + BOOL fUserClock); + + HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)( + IWMReaderAdvanced4 *This, + BOOL *pfUserClock); + + HRESULT (STDMETHODCALLTYPE *DeliverTime)( + IWMReaderAdvanced4 *This, + QWORD cnsTime); + + HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)( + IWMReaderAdvanced4 *This, + BOOL fSelection); + + HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)( + IWMReaderAdvanced4 *This, + BOOL *pfSelection); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMReaderAdvanced4 *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMReaderAdvanced4 *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)( + IWMReaderAdvanced4 *This, + BOOL fGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)( + IWMReaderAdvanced4 *This, + BOOL *pfGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)( + IWMReaderAdvanced4 *This, + WORD wStreamNum, + BOOL fReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)( + IWMReaderAdvanced4 *This, + WORD wStreamNum, + BOOL *pfReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)( + IWMReaderAdvanced4 *This, + DWORD dwOutputNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)( + IWMReaderAdvanced4 *This, + DWORD dwOutputNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)( + IWMReaderAdvanced4 *This, + WORD wStreamNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)( + IWMReaderAdvanced4 *This, + WORD dwStreamNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMReaderAdvanced4 *This, + WM_READER_STATISTICS *pStatistics); + + HRESULT (STDMETHODCALLTYPE *SetClientInfo)( + IWMReaderAdvanced4 *This, + WM_READER_CLIENTINFO *pClientInfo); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMReaderAdvanced4 *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMReaderAdvanced4 *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)( + IWMReaderAdvanced4 *This, + QWORD cnsLateness); + + /*** IWMReaderAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayMode)( + IWMReaderAdvanced4 *This, + WMT_PLAY_MODE Mode); + + HRESULT (STDMETHODCALLTYPE *GetPlayMode)( + IWMReaderAdvanced4 *This, + WMT_PLAY_MODE *pMode); + + HRESULT (STDMETHODCALLTYPE *GetBufferProgress)( + IWMReaderAdvanced4 *This, + DWORD *pdwPercent, + QWORD *pcnsBuffering); + + HRESULT (STDMETHODCALLTYPE *GetDownloadProgress)( + IWMReaderAdvanced4 *This, + DWORD *pdwPercent, + QWORD *pqwBytesDownloaded, + QWORD *pcnsDownload); + + HRESULT (STDMETHODCALLTYPE *GetSaveAsProgress)( + IWMReaderAdvanced4 *This, + DWORD *pdwPercent); + + HRESULT (STDMETHODCALLTYPE *SaveFileAs)( + IWMReaderAdvanced4 *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *GetProtocolName)( + IWMReaderAdvanced4 *This, + WCHAR *pwszProtocol, + DWORD *pcchProtocol); + + HRESULT (STDMETHODCALLTYPE *StartAtMarker)( + IWMReaderAdvanced4 *This, + WORD wMarkerIndex, + QWORD cnsDuration, + float fRate, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *GetOutputSetting)( + IWMReaderAdvanced4 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetOutputSetting)( + IWMReaderAdvanced4 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + HRESULT (STDMETHODCALLTYPE *Preroll)( + IWMReaderAdvanced4 *This, + QWORD cnsStart, + QWORD cnsDuration, + float fRate); + + HRESULT (STDMETHODCALLTYPE *SetLogClientID)( + IWMReaderAdvanced4 *This, + BOOL fLogClientID); + + HRESULT (STDMETHODCALLTYPE *GetLogClientID)( + IWMReaderAdvanced4 *This, + BOOL *pfLogClientID); + + HRESULT (STDMETHODCALLTYPE *StopBuffering)( + IWMReaderAdvanced4 *This); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IWMReaderAdvanced4 *This, + IStream *pStream, + IWMReaderCallback *pCallback, + void *pvContext); + + /*** IWMReaderAdvanced3 methods ***/ + HRESULT (STDMETHODCALLTYPE *StopNetStreaming)( + IWMReaderAdvanced4 *This); + + HRESULT (STDMETHODCALLTYPE *StartAtPosition)( + IWMReaderAdvanced4 *This, + WORD wStreamNum, + void *pvOffsetStart, + void *pvDuration, + WMT_OFFSET_FORMAT dwOffsetFormat, + float fRate, + void *pvContext); + + /*** IWMReaderAdvanced4 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLanguageCount)( + IWMReaderAdvanced4 *This, + DWORD dwOutputNum, + WORD *pwLanguageCount); + + HRESULT (STDMETHODCALLTYPE *GetLanguage)( + IWMReaderAdvanced4 *This, + DWORD dwOutputNum, + WORD wLanguage, + WCHAR *pwszLanguageString, + WORD *pcchLanguageStringLength); + + HRESULT (STDMETHODCALLTYPE *GetMaxSpeedFactor)( + IWMReaderAdvanced4 *This, + double *pdblFactor); + + HRESULT (STDMETHODCALLTYPE *IsUsingFastCache)( + IWMReaderAdvanced4 *This, + BOOL *pfUsingFastCache); + + HRESULT (STDMETHODCALLTYPE *AddLogParam)( + IWMReaderAdvanced4 *This, + LPCWSTR wszNameSpace, + LPCWSTR wszName, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SendLogParams)( + IWMReaderAdvanced4 *This); + + HRESULT (STDMETHODCALLTYPE *CanSaveFileAs)( + IWMReaderAdvanced4 *This, + BOOL *pfCanSave); + + HRESULT (STDMETHODCALLTYPE *CancelSaveFileAs)( + IWMReaderAdvanced4 *This); + + HRESULT (STDMETHODCALLTYPE *GetURL)( + IWMReaderAdvanced4 *This, + WCHAR *pwszURL, + DWORD *pcchURL); + + END_INTERFACE +} IWMReaderAdvanced4Vtbl; + +interface IWMReaderAdvanced4 { + CONST_VTBL IWMReaderAdvanced4Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAdvanced4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAdvanced4_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAdvanced4_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAdvanced methods ***/ +#define IWMReaderAdvanced4_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock) +#define IWMReaderAdvanced4_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock) +#define IWMReaderAdvanced4_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime) +#define IWMReaderAdvanced4_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection) +#define IWMReaderAdvanced4_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection) +#define IWMReaderAdvanced4_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMReaderAdvanced4_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMReaderAdvanced4_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks) +#define IWMReaderAdvanced4_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks) +#define IWMReaderAdvanced4_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) +#define IWMReaderAdvanced4_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) +#define IWMReaderAdvanced4_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate) +#define IWMReaderAdvanced4_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate) +#define IWMReaderAdvanced4_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate) +#define IWMReaderAdvanced4_GetAllocateForStream(This,dwStreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate) +#define IWMReaderAdvanced4_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics) +#define IWMReaderAdvanced4_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo) +#define IWMReaderAdvanced4_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMReaderAdvanced4_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMReaderAdvanced4_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness) +/*** IWMReaderAdvanced2 methods ***/ +#define IWMReaderAdvanced4_SetPlayMode(This,Mode) (This)->lpVtbl->SetPlayMode(This,Mode) +#define IWMReaderAdvanced4_GetPlayMode(This,pMode) (This)->lpVtbl->GetPlayMode(This,pMode) +#define IWMReaderAdvanced4_GetBufferProgress(This,pdwPercent,pcnsBuffering) (This)->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering) +#define IWMReaderAdvanced4_GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) (This)->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) +#define IWMReaderAdvanced4_GetSaveAsProgress(This,pdwPercent) (This)->lpVtbl->GetSaveAsProgress(This,pdwPercent) +#define IWMReaderAdvanced4_SaveFileAs(This,pwszFilename) (This)->lpVtbl->SaveFileAs(This,pwszFilename) +#define IWMReaderAdvanced4_GetProtocolName(This,pwszProtocol,pcchProtocol) (This)->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol) +#define IWMReaderAdvanced4_StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) (This)->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) +#define IWMReaderAdvanced4_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) +#define IWMReaderAdvanced4_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) +#define IWMReaderAdvanced4_Preroll(This,cnsStart,cnsDuration,fRate) (This)->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate) +#define IWMReaderAdvanced4_SetLogClientID(This,fLogClientID) (This)->lpVtbl->SetLogClientID(This,fLogClientID) +#define IWMReaderAdvanced4_GetLogClientID(This,pfLogClientID) (This)->lpVtbl->GetLogClientID(This,pfLogClientID) +#define IWMReaderAdvanced4_StopBuffering(This) (This)->lpVtbl->StopBuffering(This) +#define IWMReaderAdvanced4_OpenStream(This,pStream,pCallback,pvContext) (This)->lpVtbl->OpenStream(This,pStream,pCallback,pvContext) +/*** IWMReaderAdvanced3 methods ***/ +#define IWMReaderAdvanced4_StopNetStreaming(This) (This)->lpVtbl->StopNetStreaming(This) +#define IWMReaderAdvanced4_StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) (This)->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) +/*** IWMReaderAdvanced4 methods ***/ +#define IWMReaderAdvanced4_GetLanguageCount(This,dwOutputNum,pwLanguageCount) (This)->lpVtbl->GetLanguageCount(This,dwOutputNum,pwLanguageCount) +#define IWMReaderAdvanced4_GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength) (This)->lpVtbl->GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength) +#define IWMReaderAdvanced4_GetMaxSpeedFactor(This,pdblFactor) (This)->lpVtbl->GetMaxSpeedFactor(This,pdblFactor) +#define IWMReaderAdvanced4_IsUsingFastCache(This,pfUsingFastCache) (This)->lpVtbl->IsUsingFastCache(This,pfUsingFastCache) +#define IWMReaderAdvanced4_AddLogParam(This,wszNameSpace,wszName,wszValue) (This)->lpVtbl->AddLogParam(This,wszNameSpace,wszName,wszValue) +#define IWMReaderAdvanced4_SendLogParams(This) (This)->lpVtbl->SendLogParams(This) +#define IWMReaderAdvanced4_CanSaveFileAs(This,pfCanSave) (This)->lpVtbl->CanSaveFileAs(This,pfCanSave) +#define IWMReaderAdvanced4_CancelSaveFileAs(This) (This)->lpVtbl->CancelSaveFileAs(This) +#define IWMReaderAdvanced4_GetURL(This,pwszURL,pcchURL) (This)->lpVtbl->GetURL(This,pwszURL,pcchURL) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced4_QueryInterface(IWMReaderAdvanced4* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAdvanced4_AddRef(IWMReaderAdvanced4* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAdvanced4_Release(IWMReaderAdvanced4* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAdvanced methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetUserProvidedClock(IWMReaderAdvanced4* This,BOOL fUserClock) { + return This->lpVtbl->SetUserProvidedClock(This,fUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetUserProvidedClock(IWMReaderAdvanced4* This,BOOL *pfUserClock) { + return This->lpVtbl->GetUserProvidedClock(This,pfUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_DeliverTime(IWMReaderAdvanced4* This,QWORD cnsTime) { + return This->lpVtbl->DeliverTime(This,cnsTime); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetManualStreamSelection(IWMReaderAdvanced4* This,BOOL fSelection) { + return This->lpVtbl->SetManualStreamSelection(This,fSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetManualStreamSelection(IWMReaderAdvanced4* This,BOOL *pfSelection) { + return This->lpVtbl->GetManualStreamSelection(This,pfSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetStreamsSelected(IWMReaderAdvanced4* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetStreamSelected(IWMReaderAdvanced4* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetReceiveSelectionCallbacks(IWMReaderAdvanced4* This,BOOL fGetCallbacks) { + return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetReceiveSelectionCallbacks(IWMReaderAdvanced4* This,BOOL *pfGetCallbacks) { + return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetReceiveStreamSamples(IWMReaderAdvanced4* This,WORD wStreamNum,BOOL fReceiveStreamSamples) { + return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetReceiveStreamSamples(IWMReaderAdvanced4* This,WORD wStreamNum,BOOL *pfReceiveStreamSamples) { + return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetAllocateForOutput(IWMReaderAdvanced4* This,DWORD dwOutputNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetAllocateForOutput(IWMReaderAdvanced4* This,DWORD dwOutputNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetAllocateForStream(IWMReaderAdvanced4* This,WORD wStreamNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetAllocateForStream(IWMReaderAdvanced4* This,WORD dwStreamNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetStatistics(IWMReaderAdvanced4* This,WM_READER_STATISTICS *pStatistics) { + return This->lpVtbl->GetStatistics(This,pStatistics); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetClientInfo(IWMReaderAdvanced4* This,WM_READER_CLIENTINFO *pClientInfo) { + return This->lpVtbl->SetClientInfo(This,pClientInfo); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetMaxOutputSampleSize(IWMReaderAdvanced4* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetMaxStreamSampleSize(IWMReaderAdvanced4* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_NotifyLateDelivery(IWMReaderAdvanced4* This,QWORD cnsLateness) { + return This->lpVtbl->NotifyLateDelivery(This,cnsLateness); +} +/*** IWMReaderAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetPlayMode(IWMReaderAdvanced4* This,WMT_PLAY_MODE Mode) { + return This->lpVtbl->SetPlayMode(This,Mode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetPlayMode(IWMReaderAdvanced4* This,WMT_PLAY_MODE *pMode) { + return This->lpVtbl->GetPlayMode(This,pMode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetBufferProgress(IWMReaderAdvanced4* This,DWORD *pdwPercent,QWORD *pcnsBuffering) { + return This->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetDownloadProgress(IWMReaderAdvanced4* This,DWORD *pdwPercent,QWORD *pqwBytesDownloaded,QWORD *pcnsDownload) { + return This->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetSaveAsProgress(IWMReaderAdvanced4* This,DWORD *pdwPercent) { + return This->lpVtbl->GetSaveAsProgress(This,pdwPercent); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SaveFileAs(IWMReaderAdvanced4* This,const WCHAR *pwszFilename) { + return This->lpVtbl->SaveFileAs(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetProtocolName(IWMReaderAdvanced4* This,WCHAR *pwszProtocol,DWORD *pcchProtocol) { + return This->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_StartAtMarker(IWMReaderAdvanced4* This,WORD wMarkerIndex,QWORD cnsDuration,float fRate,void *pvContext) { + return This->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetOutputSetting(IWMReaderAdvanced4* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetOutputSetting(IWMReaderAdvanced4* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_Preroll(IWMReaderAdvanced4* This,QWORD cnsStart,QWORD cnsDuration,float fRate) { + return This->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SetLogClientID(IWMReaderAdvanced4* This,BOOL fLogClientID) { + return This->lpVtbl->SetLogClientID(This,fLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetLogClientID(IWMReaderAdvanced4* This,BOOL *pfLogClientID) { + return This->lpVtbl->GetLogClientID(This,pfLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_StopBuffering(IWMReaderAdvanced4* This) { + return This->lpVtbl->StopBuffering(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_OpenStream(IWMReaderAdvanced4* This,IStream *pStream,IWMReaderCallback *pCallback,void *pvContext) { + return This->lpVtbl->OpenStream(This,pStream,pCallback,pvContext); +} +/*** IWMReaderAdvanced3 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced4_StopNetStreaming(IWMReaderAdvanced4* This) { + return This->lpVtbl->StopNetStreaming(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_StartAtPosition(IWMReaderAdvanced4* This,WORD wStreamNum,void *pvOffsetStart,void *pvDuration,WMT_OFFSET_FORMAT dwOffsetFormat,float fRate,void *pvContext) { + return This->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext); +} +/*** IWMReaderAdvanced4 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetLanguageCount(IWMReaderAdvanced4* This,DWORD dwOutputNum,WORD *pwLanguageCount) { + return This->lpVtbl->GetLanguageCount(This,dwOutputNum,pwLanguageCount); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetLanguage(IWMReaderAdvanced4* This,DWORD dwOutputNum,WORD wLanguage,WCHAR *pwszLanguageString,WORD *pcchLanguageStringLength) { + return This->lpVtbl->GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetMaxSpeedFactor(IWMReaderAdvanced4* This,double *pdblFactor) { + return This->lpVtbl->GetMaxSpeedFactor(This,pdblFactor); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_IsUsingFastCache(IWMReaderAdvanced4* This,BOOL *pfUsingFastCache) { + return This->lpVtbl->IsUsingFastCache(This,pfUsingFastCache); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_AddLogParam(IWMReaderAdvanced4* This,LPCWSTR wszNameSpace,LPCWSTR wszName,LPCWSTR wszValue) { + return This->lpVtbl->AddLogParam(This,wszNameSpace,wszName,wszValue); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_SendLogParams(IWMReaderAdvanced4* This) { + return This->lpVtbl->SendLogParams(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_CanSaveFileAs(IWMReaderAdvanced4* This,BOOL *pfCanSave) { + return This->lpVtbl->CanSaveFileAs(This,pfCanSave); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_CancelSaveFileAs(IWMReaderAdvanced4* This) { + return This->lpVtbl->CancelSaveFileAs(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced4_GetURL(IWMReaderAdvanced4* This,WCHAR *pwszURL,DWORD *pcchURL) { + return This->lpVtbl->GetURL(This,pwszURL,pcchURL); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAdvanced4_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAdvanced5 interface + */ +#ifndef __IWMReaderAdvanced5_INTERFACE_DEFINED__ +#define __IWMReaderAdvanced5_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAdvanced5, 0x24c44db0, 0x55d1, 0x49ae, 0xa5,0xcc, 0xf1,0x38,0x15,0xe3,0x63,0x63); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("24c44db0-55d1-49ae-a5cc-f13815e36363") +IWMReaderAdvanced5 : public IWMReaderAdvanced4 +{ + virtual HRESULT STDMETHODCALLTYPE SetPlayerHook( + DWORD dwOutputNum, + IWMPlayerHook *pHook) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAdvanced5, 0x24c44db0, 0x55d1, 0x49ae, 0xa5,0xcc, 0xf1,0x38,0x15,0xe3,0x63,0x63) +#endif +#else +typedef struct IWMReaderAdvanced5Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAdvanced5 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAdvanced5 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAdvanced5 *This); + + /*** IWMReaderAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)( + IWMReaderAdvanced5 *This, + BOOL fUserClock); + + HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)( + IWMReaderAdvanced5 *This, + BOOL *pfUserClock); + + HRESULT (STDMETHODCALLTYPE *DeliverTime)( + IWMReaderAdvanced5 *This, + QWORD cnsTime); + + HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)( + IWMReaderAdvanced5 *This, + BOOL fSelection); + + HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)( + IWMReaderAdvanced5 *This, + BOOL *pfSelection); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMReaderAdvanced5 *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMReaderAdvanced5 *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)( + IWMReaderAdvanced5 *This, + BOOL fGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)( + IWMReaderAdvanced5 *This, + BOOL *pfGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)( + IWMReaderAdvanced5 *This, + WORD wStreamNum, + BOOL fReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)( + IWMReaderAdvanced5 *This, + WORD wStreamNum, + BOOL *pfReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)( + IWMReaderAdvanced5 *This, + WORD wStreamNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)( + IWMReaderAdvanced5 *This, + WORD dwStreamNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMReaderAdvanced5 *This, + WM_READER_STATISTICS *pStatistics); + + HRESULT (STDMETHODCALLTYPE *SetClientInfo)( + IWMReaderAdvanced5 *This, + WM_READER_CLIENTINFO *pClientInfo); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMReaderAdvanced5 *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMReaderAdvanced5 *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)( + IWMReaderAdvanced5 *This, + QWORD cnsLateness); + + /*** IWMReaderAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayMode)( + IWMReaderAdvanced5 *This, + WMT_PLAY_MODE Mode); + + HRESULT (STDMETHODCALLTYPE *GetPlayMode)( + IWMReaderAdvanced5 *This, + WMT_PLAY_MODE *pMode); + + HRESULT (STDMETHODCALLTYPE *GetBufferProgress)( + IWMReaderAdvanced5 *This, + DWORD *pdwPercent, + QWORD *pcnsBuffering); + + HRESULT (STDMETHODCALLTYPE *GetDownloadProgress)( + IWMReaderAdvanced5 *This, + DWORD *pdwPercent, + QWORD *pqwBytesDownloaded, + QWORD *pcnsDownload); + + HRESULT (STDMETHODCALLTYPE *GetSaveAsProgress)( + IWMReaderAdvanced5 *This, + DWORD *pdwPercent); + + HRESULT (STDMETHODCALLTYPE *SaveFileAs)( + IWMReaderAdvanced5 *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *GetProtocolName)( + IWMReaderAdvanced5 *This, + WCHAR *pwszProtocol, + DWORD *pcchProtocol); + + HRESULT (STDMETHODCALLTYPE *StartAtMarker)( + IWMReaderAdvanced5 *This, + WORD wMarkerIndex, + QWORD cnsDuration, + float fRate, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *GetOutputSetting)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetOutputSetting)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + HRESULT (STDMETHODCALLTYPE *Preroll)( + IWMReaderAdvanced5 *This, + QWORD cnsStart, + QWORD cnsDuration, + float fRate); + + HRESULT (STDMETHODCALLTYPE *SetLogClientID)( + IWMReaderAdvanced5 *This, + BOOL fLogClientID); + + HRESULT (STDMETHODCALLTYPE *GetLogClientID)( + IWMReaderAdvanced5 *This, + BOOL *pfLogClientID); + + HRESULT (STDMETHODCALLTYPE *StopBuffering)( + IWMReaderAdvanced5 *This); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IWMReaderAdvanced5 *This, + IStream *pStream, + IWMReaderCallback *pCallback, + void *pvContext); + + /*** IWMReaderAdvanced3 methods ***/ + HRESULT (STDMETHODCALLTYPE *StopNetStreaming)( + IWMReaderAdvanced5 *This); + + HRESULT (STDMETHODCALLTYPE *StartAtPosition)( + IWMReaderAdvanced5 *This, + WORD wStreamNum, + void *pvOffsetStart, + void *pvDuration, + WMT_OFFSET_FORMAT dwOffsetFormat, + float fRate, + void *pvContext); + + /*** IWMReaderAdvanced4 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLanguageCount)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + WORD *pwLanguageCount); + + HRESULT (STDMETHODCALLTYPE *GetLanguage)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + WORD wLanguage, + WCHAR *pwszLanguageString, + WORD *pcchLanguageStringLength); + + HRESULT (STDMETHODCALLTYPE *GetMaxSpeedFactor)( + IWMReaderAdvanced5 *This, + double *pdblFactor); + + HRESULT (STDMETHODCALLTYPE *IsUsingFastCache)( + IWMReaderAdvanced5 *This, + BOOL *pfUsingFastCache); + + HRESULT (STDMETHODCALLTYPE *AddLogParam)( + IWMReaderAdvanced5 *This, + LPCWSTR wszNameSpace, + LPCWSTR wszName, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SendLogParams)( + IWMReaderAdvanced5 *This); + + HRESULT (STDMETHODCALLTYPE *CanSaveFileAs)( + IWMReaderAdvanced5 *This, + BOOL *pfCanSave); + + HRESULT (STDMETHODCALLTYPE *CancelSaveFileAs)( + IWMReaderAdvanced5 *This); + + HRESULT (STDMETHODCALLTYPE *GetURL)( + IWMReaderAdvanced5 *This, + WCHAR *pwszURL, + DWORD *pcchURL); + + /*** IWMReaderAdvanced5 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayerHook)( + IWMReaderAdvanced5 *This, + DWORD dwOutputNum, + IWMPlayerHook *pHook); + + END_INTERFACE +} IWMReaderAdvanced5Vtbl; + +interface IWMReaderAdvanced5 { + CONST_VTBL IWMReaderAdvanced5Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAdvanced5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAdvanced5_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAdvanced5_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAdvanced methods ***/ +#define IWMReaderAdvanced5_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock) +#define IWMReaderAdvanced5_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock) +#define IWMReaderAdvanced5_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime) +#define IWMReaderAdvanced5_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection) +#define IWMReaderAdvanced5_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection) +#define IWMReaderAdvanced5_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMReaderAdvanced5_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMReaderAdvanced5_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks) +#define IWMReaderAdvanced5_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks) +#define IWMReaderAdvanced5_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) +#define IWMReaderAdvanced5_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) +#define IWMReaderAdvanced5_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate) +#define IWMReaderAdvanced5_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate) +#define IWMReaderAdvanced5_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate) +#define IWMReaderAdvanced5_GetAllocateForStream(This,dwStreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate) +#define IWMReaderAdvanced5_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics) +#define IWMReaderAdvanced5_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo) +#define IWMReaderAdvanced5_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMReaderAdvanced5_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMReaderAdvanced5_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness) +/*** IWMReaderAdvanced2 methods ***/ +#define IWMReaderAdvanced5_SetPlayMode(This,Mode) (This)->lpVtbl->SetPlayMode(This,Mode) +#define IWMReaderAdvanced5_GetPlayMode(This,pMode) (This)->lpVtbl->GetPlayMode(This,pMode) +#define IWMReaderAdvanced5_GetBufferProgress(This,pdwPercent,pcnsBuffering) (This)->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering) +#define IWMReaderAdvanced5_GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) (This)->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) +#define IWMReaderAdvanced5_GetSaveAsProgress(This,pdwPercent) (This)->lpVtbl->GetSaveAsProgress(This,pdwPercent) +#define IWMReaderAdvanced5_SaveFileAs(This,pwszFilename) (This)->lpVtbl->SaveFileAs(This,pwszFilename) +#define IWMReaderAdvanced5_GetProtocolName(This,pwszProtocol,pcchProtocol) (This)->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol) +#define IWMReaderAdvanced5_StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) (This)->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) +#define IWMReaderAdvanced5_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) +#define IWMReaderAdvanced5_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) +#define IWMReaderAdvanced5_Preroll(This,cnsStart,cnsDuration,fRate) (This)->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate) +#define IWMReaderAdvanced5_SetLogClientID(This,fLogClientID) (This)->lpVtbl->SetLogClientID(This,fLogClientID) +#define IWMReaderAdvanced5_GetLogClientID(This,pfLogClientID) (This)->lpVtbl->GetLogClientID(This,pfLogClientID) +#define IWMReaderAdvanced5_StopBuffering(This) (This)->lpVtbl->StopBuffering(This) +#define IWMReaderAdvanced5_OpenStream(This,pStream,pCallback,pvContext) (This)->lpVtbl->OpenStream(This,pStream,pCallback,pvContext) +/*** IWMReaderAdvanced3 methods ***/ +#define IWMReaderAdvanced5_StopNetStreaming(This) (This)->lpVtbl->StopNetStreaming(This) +#define IWMReaderAdvanced5_StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) (This)->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) +/*** IWMReaderAdvanced4 methods ***/ +#define IWMReaderAdvanced5_GetLanguageCount(This,dwOutputNum,pwLanguageCount) (This)->lpVtbl->GetLanguageCount(This,dwOutputNum,pwLanguageCount) +#define IWMReaderAdvanced5_GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength) (This)->lpVtbl->GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength) +#define IWMReaderAdvanced5_GetMaxSpeedFactor(This,pdblFactor) (This)->lpVtbl->GetMaxSpeedFactor(This,pdblFactor) +#define IWMReaderAdvanced5_IsUsingFastCache(This,pfUsingFastCache) (This)->lpVtbl->IsUsingFastCache(This,pfUsingFastCache) +#define IWMReaderAdvanced5_AddLogParam(This,wszNameSpace,wszName,wszValue) (This)->lpVtbl->AddLogParam(This,wszNameSpace,wszName,wszValue) +#define IWMReaderAdvanced5_SendLogParams(This) (This)->lpVtbl->SendLogParams(This) +#define IWMReaderAdvanced5_CanSaveFileAs(This,pfCanSave) (This)->lpVtbl->CanSaveFileAs(This,pfCanSave) +#define IWMReaderAdvanced5_CancelSaveFileAs(This) (This)->lpVtbl->CancelSaveFileAs(This) +#define IWMReaderAdvanced5_GetURL(This,pwszURL,pcchURL) (This)->lpVtbl->GetURL(This,pwszURL,pcchURL) +/*** IWMReaderAdvanced5 methods ***/ +#define IWMReaderAdvanced5_SetPlayerHook(This,dwOutputNum,pHook) (This)->lpVtbl->SetPlayerHook(This,dwOutputNum,pHook) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced5_QueryInterface(IWMReaderAdvanced5* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAdvanced5_AddRef(IWMReaderAdvanced5* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAdvanced5_Release(IWMReaderAdvanced5* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAdvanced methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetUserProvidedClock(IWMReaderAdvanced5* This,BOOL fUserClock) { + return This->lpVtbl->SetUserProvidedClock(This,fUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetUserProvidedClock(IWMReaderAdvanced5* This,BOOL *pfUserClock) { + return This->lpVtbl->GetUserProvidedClock(This,pfUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_DeliverTime(IWMReaderAdvanced5* This,QWORD cnsTime) { + return This->lpVtbl->DeliverTime(This,cnsTime); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetManualStreamSelection(IWMReaderAdvanced5* This,BOOL fSelection) { + return This->lpVtbl->SetManualStreamSelection(This,fSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetManualStreamSelection(IWMReaderAdvanced5* This,BOOL *pfSelection) { + return This->lpVtbl->GetManualStreamSelection(This,pfSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetStreamsSelected(IWMReaderAdvanced5* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetStreamSelected(IWMReaderAdvanced5* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetReceiveSelectionCallbacks(IWMReaderAdvanced5* This,BOOL fGetCallbacks) { + return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetReceiveSelectionCallbacks(IWMReaderAdvanced5* This,BOOL *pfGetCallbacks) { + return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetReceiveStreamSamples(IWMReaderAdvanced5* This,WORD wStreamNum,BOOL fReceiveStreamSamples) { + return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetReceiveStreamSamples(IWMReaderAdvanced5* This,WORD wStreamNum,BOOL *pfReceiveStreamSamples) { + return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetAllocateForOutput(IWMReaderAdvanced5* This,DWORD dwOutputNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetAllocateForOutput(IWMReaderAdvanced5* This,DWORD dwOutputNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetAllocateForStream(IWMReaderAdvanced5* This,WORD wStreamNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetAllocateForStream(IWMReaderAdvanced5* This,WORD dwStreamNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetStatistics(IWMReaderAdvanced5* This,WM_READER_STATISTICS *pStatistics) { + return This->lpVtbl->GetStatistics(This,pStatistics); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetClientInfo(IWMReaderAdvanced5* This,WM_READER_CLIENTINFO *pClientInfo) { + return This->lpVtbl->SetClientInfo(This,pClientInfo); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetMaxOutputSampleSize(IWMReaderAdvanced5* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetMaxStreamSampleSize(IWMReaderAdvanced5* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_NotifyLateDelivery(IWMReaderAdvanced5* This,QWORD cnsLateness) { + return This->lpVtbl->NotifyLateDelivery(This,cnsLateness); +} +/*** IWMReaderAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetPlayMode(IWMReaderAdvanced5* This,WMT_PLAY_MODE Mode) { + return This->lpVtbl->SetPlayMode(This,Mode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetPlayMode(IWMReaderAdvanced5* This,WMT_PLAY_MODE *pMode) { + return This->lpVtbl->GetPlayMode(This,pMode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetBufferProgress(IWMReaderAdvanced5* This,DWORD *pdwPercent,QWORD *pcnsBuffering) { + return This->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetDownloadProgress(IWMReaderAdvanced5* This,DWORD *pdwPercent,QWORD *pqwBytesDownloaded,QWORD *pcnsDownload) { + return This->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetSaveAsProgress(IWMReaderAdvanced5* This,DWORD *pdwPercent) { + return This->lpVtbl->GetSaveAsProgress(This,pdwPercent); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SaveFileAs(IWMReaderAdvanced5* This,const WCHAR *pwszFilename) { + return This->lpVtbl->SaveFileAs(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetProtocolName(IWMReaderAdvanced5* This,WCHAR *pwszProtocol,DWORD *pcchProtocol) { + return This->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_StartAtMarker(IWMReaderAdvanced5* This,WORD wMarkerIndex,QWORD cnsDuration,float fRate,void *pvContext) { + return This->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetOutputSetting(IWMReaderAdvanced5* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetOutputSetting(IWMReaderAdvanced5* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_Preroll(IWMReaderAdvanced5* This,QWORD cnsStart,QWORD cnsDuration,float fRate) { + return This->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetLogClientID(IWMReaderAdvanced5* This,BOOL fLogClientID) { + return This->lpVtbl->SetLogClientID(This,fLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetLogClientID(IWMReaderAdvanced5* This,BOOL *pfLogClientID) { + return This->lpVtbl->GetLogClientID(This,pfLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_StopBuffering(IWMReaderAdvanced5* This) { + return This->lpVtbl->StopBuffering(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_OpenStream(IWMReaderAdvanced5* This,IStream *pStream,IWMReaderCallback *pCallback,void *pvContext) { + return This->lpVtbl->OpenStream(This,pStream,pCallback,pvContext); +} +/*** IWMReaderAdvanced3 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced5_StopNetStreaming(IWMReaderAdvanced5* This) { + return This->lpVtbl->StopNetStreaming(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_StartAtPosition(IWMReaderAdvanced5* This,WORD wStreamNum,void *pvOffsetStart,void *pvDuration,WMT_OFFSET_FORMAT dwOffsetFormat,float fRate,void *pvContext) { + return This->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext); +} +/*** IWMReaderAdvanced4 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetLanguageCount(IWMReaderAdvanced5* This,DWORD dwOutputNum,WORD *pwLanguageCount) { + return This->lpVtbl->GetLanguageCount(This,dwOutputNum,pwLanguageCount); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetLanguage(IWMReaderAdvanced5* This,DWORD dwOutputNum,WORD wLanguage,WCHAR *pwszLanguageString,WORD *pcchLanguageStringLength) { + return This->lpVtbl->GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetMaxSpeedFactor(IWMReaderAdvanced5* This,double *pdblFactor) { + return This->lpVtbl->GetMaxSpeedFactor(This,pdblFactor); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_IsUsingFastCache(IWMReaderAdvanced5* This,BOOL *pfUsingFastCache) { + return This->lpVtbl->IsUsingFastCache(This,pfUsingFastCache); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_AddLogParam(IWMReaderAdvanced5* This,LPCWSTR wszNameSpace,LPCWSTR wszName,LPCWSTR wszValue) { + return This->lpVtbl->AddLogParam(This,wszNameSpace,wszName,wszValue); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_SendLogParams(IWMReaderAdvanced5* This) { + return This->lpVtbl->SendLogParams(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_CanSaveFileAs(IWMReaderAdvanced5* This,BOOL *pfCanSave) { + return This->lpVtbl->CanSaveFileAs(This,pfCanSave); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_CancelSaveFileAs(IWMReaderAdvanced5* This) { + return This->lpVtbl->CancelSaveFileAs(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced5_GetURL(IWMReaderAdvanced5* This,WCHAR *pwszURL,DWORD *pcchURL) { + return This->lpVtbl->GetURL(This,pwszURL,pcchURL); +} +/*** IWMReaderAdvanced5 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced5_SetPlayerHook(IWMReaderAdvanced5* This,DWORD dwOutputNum,IWMPlayerHook *pHook) { + return This->lpVtbl->SetPlayerHook(This,dwOutputNum,pHook); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAdvanced5_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAdvanced6 interface + */ +#ifndef __IWMReaderAdvanced6_INTERFACE_DEFINED__ +#define __IWMReaderAdvanced6_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAdvanced6, 0x18a2e7f8, 0x428f, 0x4acd, 0x8a,0x00, 0xe6,0x46,0x39,0xbc,0x93,0xde); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("18a2e7f8-428f-4acd-8a00-e64639bc93de") +IWMReaderAdvanced6 : public IWMReaderAdvanced5 +{ + virtual HRESULT STDMETHODCALLTYPE SetProtectStreamSamples( + BYTE *pbCertificate, + DWORD cbCertificate, + DWORD dwCertificateType, + DWORD dwFlags, + BYTE *pbInitializationVector, + DWORD *pcbInitializationVector) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAdvanced6, 0x18a2e7f8, 0x428f, 0x4acd, 0x8a,0x00, 0xe6,0x46,0x39,0xbc,0x93,0xde) +#endif +#else +typedef struct IWMReaderAdvanced6Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAdvanced6 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAdvanced6 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAdvanced6 *This); + + /*** IWMReaderAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)( + IWMReaderAdvanced6 *This, + BOOL fUserClock); + + HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)( + IWMReaderAdvanced6 *This, + BOOL *pfUserClock); + + HRESULT (STDMETHODCALLTYPE *DeliverTime)( + IWMReaderAdvanced6 *This, + QWORD cnsTime); + + HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)( + IWMReaderAdvanced6 *This, + BOOL fSelection); + + HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)( + IWMReaderAdvanced6 *This, + BOOL *pfSelection); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMReaderAdvanced6 *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMReaderAdvanced6 *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)( + IWMReaderAdvanced6 *This, + BOOL fGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)( + IWMReaderAdvanced6 *This, + BOOL *pfGetCallbacks); + + HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)( + IWMReaderAdvanced6 *This, + WORD wStreamNum, + BOOL fReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)( + IWMReaderAdvanced6 *This, + WORD wStreamNum, + BOOL *pfReceiveStreamSamples); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)( + IWMReaderAdvanced6 *This, + WORD wStreamNum, + BOOL fAllocate); + + HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)( + IWMReaderAdvanced6 *This, + WORD dwStreamNum, + BOOL *pfAllocate); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMReaderAdvanced6 *This, + WM_READER_STATISTICS *pStatistics); + + HRESULT (STDMETHODCALLTYPE *SetClientInfo)( + IWMReaderAdvanced6 *This, + WM_READER_CLIENTINFO *pClientInfo); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMReaderAdvanced6 *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMReaderAdvanced6 *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)( + IWMReaderAdvanced6 *This, + QWORD cnsLateness); + + /*** IWMReaderAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayMode)( + IWMReaderAdvanced6 *This, + WMT_PLAY_MODE Mode); + + HRESULT (STDMETHODCALLTYPE *GetPlayMode)( + IWMReaderAdvanced6 *This, + WMT_PLAY_MODE *pMode); + + HRESULT (STDMETHODCALLTYPE *GetBufferProgress)( + IWMReaderAdvanced6 *This, + DWORD *pdwPercent, + QWORD *pcnsBuffering); + + HRESULT (STDMETHODCALLTYPE *GetDownloadProgress)( + IWMReaderAdvanced6 *This, + DWORD *pdwPercent, + QWORD *pqwBytesDownloaded, + QWORD *pcnsDownload); + + HRESULT (STDMETHODCALLTYPE *GetSaveAsProgress)( + IWMReaderAdvanced6 *This, + DWORD *pdwPercent); + + HRESULT (STDMETHODCALLTYPE *SaveFileAs)( + IWMReaderAdvanced6 *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *GetProtocolName)( + IWMReaderAdvanced6 *This, + WCHAR *pwszProtocol, + DWORD *pcchProtocol); + + HRESULT (STDMETHODCALLTYPE *StartAtMarker)( + IWMReaderAdvanced6 *This, + WORD wMarkerIndex, + QWORD cnsDuration, + float fRate, + void *pvContext); + + HRESULT (STDMETHODCALLTYPE *GetOutputSetting)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetOutputSetting)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + HRESULT (STDMETHODCALLTYPE *Preroll)( + IWMReaderAdvanced6 *This, + QWORD cnsStart, + QWORD cnsDuration, + float fRate); + + HRESULT (STDMETHODCALLTYPE *SetLogClientID)( + IWMReaderAdvanced6 *This, + BOOL fLogClientID); + + HRESULT (STDMETHODCALLTYPE *GetLogClientID)( + IWMReaderAdvanced6 *This, + BOOL *pfLogClientID); + + HRESULT (STDMETHODCALLTYPE *StopBuffering)( + IWMReaderAdvanced6 *This); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IWMReaderAdvanced6 *This, + IStream *pStream, + IWMReaderCallback *pCallback, + void *pvContext); + + /*** IWMReaderAdvanced3 methods ***/ + HRESULT (STDMETHODCALLTYPE *StopNetStreaming)( + IWMReaderAdvanced6 *This); + + HRESULT (STDMETHODCALLTYPE *StartAtPosition)( + IWMReaderAdvanced6 *This, + WORD wStreamNum, + void *pvOffsetStart, + void *pvDuration, + WMT_OFFSET_FORMAT dwOffsetFormat, + float fRate, + void *pvContext); + + /*** IWMReaderAdvanced4 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLanguageCount)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + WORD *pwLanguageCount); + + HRESULT (STDMETHODCALLTYPE *GetLanguage)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + WORD wLanguage, + WCHAR *pwszLanguageString, + WORD *pcchLanguageStringLength); + + HRESULT (STDMETHODCALLTYPE *GetMaxSpeedFactor)( + IWMReaderAdvanced6 *This, + double *pdblFactor); + + HRESULT (STDMETHODCALLTYPE *IsUsingFastCache)( + IWMReaderAdvanced6 *This, + BOOL *pfUsingFastCache); + + HRESULT (STDMETHODCALLTYPE *AddLogParam)( + IWMReaderAdvanced6 *This, + LPCWSTR wszNameSpace, + LPCWSTR wszName, + LPCWSTR wszValue); + + HRESULT (STDMETHODCALLTYPE *SendLogParams)( + IWMReaderAdvanced6 *This); + + HRESULT (STDMETHODCALLTYPE *CanSaveFileAs)( + IWMReaderAdvanced6 *This, + BOOL *pfCanSave); + + HRESULT (STDMETHODCALLTYPE *CancelSaveFileAs)( + IWMReaderAdvanced6 *This); + + HRESULT (STDMETHODCALLTYPE *GetURL)( + IWMReaderAdvanced6 *This, + WCHAR *pwszURL, + DWORD *pcchURL); + + /*** IWMReaderAdvanced5 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPlayerHook)( + IWMReaderAdvanced6 *This, + DWORD dwOutputNum, + IWMPlayerHook *pHook); + + /*** IWMReaderAdvanced6 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProtectStreamSamples)( + IWMReaderAdvanced6 *This, + BYTE *pbCertificate, + DWORD cbCertificate, + DWORD dwCertificateType, + DWORD dwFlags, + BYTE *pbInitializationVector, + DWORD *pcbInitializationVector); + + END_INTERFACE +} IWMReaderAdvanced6Vtbl; + +interface IWMReaderAdvanced6 { + CONST_VTBL IWMReaderAdvanced6Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAdvanced6_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAdvanced6_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAdvanced6_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAdvanced methods ***/ +#define IWMReaderAdvanced6_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock) +#define IWMReaderAdvanced6_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock) +#define IWMReaderAdvanced6_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime) +#define IWMReaderAdvanced6_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection) +#define IWMReaderAdvanced6_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection) +#define IWMReaderAdvanced6_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMReaderAdvanced6_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMReaderAdvanced6_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks) +#define IWMReaderAdvanced6_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks) +#define IWMReaderAdvanced6_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) +#define IWMReaderAdvanced6_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) +#define IWMReaderAdvanced6_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate) +#define IWMReaderAdvanced6_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate) +#define IWMReaderAdvanced6_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate) +#define IWMReaderAdvanced6_GetAllocateForStream(This,dwStreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate) +#define IWMReaderAdvanced6_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics) +#define IWMReaderAdvanced6_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo) +#define IWMReaderAdvanced6_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMReaderAdvanced6_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMReaderAdvanced6_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness) +/*** IWMReaderAdvanced2 methods ***/ +#define IWMReaderAdvanced6_SetPlayMode(This,Mode) (This)->lpVtbl->SetPlayMode(This,Mode) +#define IWMReaderAdvanced6_GetPlayMode(This,pMode) (This)->lpVtbl->GetPlayMode(This,pMode) +#define IWMReaderAdvanced6_GetBufferProgress(This,pdwPercent,pcnsBuffering) (This)->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering) +#define IWMReaderAdvanced6_GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) (This)->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload) +#define IWMReaderAdvanced6_GetSaveAsProgress(This,pdwPercent) (This)->lpVtbl->GetSaveAsProgress(This,pdwPercent) +#define IWMReaderAdvanced6_SaveFileAs(This,pwszFilename) (This)->lpVtbl->SaveFileAs(This,pwszFilename) +#define IWMReaderAdvanced6_GetProtocolName(This,pwszProtocol,pcchProtocol) (This)->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol) +#define IWMReaderAdvanced6_StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) (This)->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext) +#define IWMReaderAdvanced6_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) +#define IWMReaderAdvanced6_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) +#define IWMReaderAdvanced6_Preroll(This,cnsStart,cnsDuration,fRate) (This)->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate) +#define IWMReaderAdvanced6_SetLogClientID(This,fLogClientID) (This)->lpVtbl->SetLogClientID(This,fLogClientID) +#define IWMReaderAdvanced6_GetLogClientID(This,pfLogClientID) (This)->lpVtbl->GetLogClientID(This,pfLogClientID) +#define IWMReaderAdvanced6_StopBuffering(This) (This)->lpVtbl->StopBuffering(This) +#define IWMReaderAdvanced6_OpenStream(This,pStream,pCallback,pvContext) (This)->lpVtbl->OpenStream(This,pStream,pCallback,pvContext) +/*** IWMReaderAdvanced3 methods ***/ +#define IWMReaderAdvanced6_StopNetStreaming(This) (This)->lpVtbl->StopNetStreaming(This) +#define IWMReaderAdvanced6_StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) (This)->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext) +/*** IWMReaderAdvanced4 methods ***/ +#define IWMReaderAdvanced6_GetLanguageCount(This,dwOutputNum,pwLanguageCount) (This)->lpVtbl->GetLanguageCount(This,dwOutputNum,pwLanguageCount) +#define IWMReaderAdvanced6_GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength) (This)->lpVtbl->GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength) +#define IWMReaderAdvanced6_GetMaxSpeedFactor(This,pdblFactor) (This)->lpVtbl->GetMaxSpeedFactor(This,pdblFactor) +#define IWMReaderAdvanced6_IsUsingFastCache(This,pfUsingFastCache) (This)->lpVtbl->IsUsingFastCache(This,pfUsingFastCache) +#define IWMReaderAdvanced6_AddLogParam(This,wszNameSpace,wszName,wszValue) (This)->lpVtbl->AddLogParam(This,wszNameSpace,wszName,wszValue) +#define IWMReaderAdvanced6_SendLogParams(This) (This)->lpVtbl->SendLogParams(This) +#define IWMReaderAdvanced6_CanSaveFileAs(This,pfCanSave) (This)->lpVtbl->CanSaveFileAs(This,pfCanSave) +#define IWMReaderAdvanced6_CancelSaveFileAs(This) (This)->lpVtbl->CancelSaveFileAs(This) +#define IWMReaderAdvanced6_GetURL(This,pwszURL,pcchURL) (This)->lpVtbl->GetURL(This,pwszURL,pcchURL) +/*** IWMReaderAdvanced5 methods ***/ +#define IWMReaderAdvanced6_SetPlayerHook(This,dwOutputNum,pHook) (This)->lpVtbl->SetPlayerHook(This,dwOutputNum,pHook) +/*** IWMReaderAdvanced6 methods ***/ +#define IWMReaderAdvanced6_SetProtectStreamSamples(This,pbCertificate,cbCertificate,dwCertificateType,dwFlags,pbInitializationVector,pcbInitializationVector) (This)->lpVtbl->SetProtectStreamSamples(This,pbCertificate,cbCertificate,dwCertificateType,dwFlags,pbInitializationVector,pcbInitializationVector) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_QueryInterface(IWMReaderAdvanced6* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAdvanced6_AddRef(IWMReaderAdvanced6* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAdvanced6_Release(IWMReaderAdvanced6* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAdvanced methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetUserProvidedClock(IWMReaderAdvanced6* This,BOOL fUserClock) { + return This->lpVtbl->SetUserProvidedClock(This,fUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetUserProvidedClock(IWMReaderAdvanced6* This,BOOL *pfUserClock) { + return This->lpVtbl->GetUserProvidedClock(This,pfUserClock); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_DeliverTime(IWMReaderAdvanced6* This,QWORD cnsTime) { + return This->lpVtbl->DeliverTime(This,cnsTime); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetManualStreamSelection(IWMReaderAdvanced6* This,BOOL fSelection) { + return This->lpVtbl->SetManualStreamSelection(This,fSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetManualStreamSelection(IWMReaderAdvanced6* This,BOOL *pfSelection) { + return This->lpVtbl->GetManualStreamSelection(This,pfSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetStreamsSelected(IWMReaderAdvanced6* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetStreamSelected(IWMReaderAdvanced6* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetReceiveSelectionCallbacks(IWMReaderAdvanced6* This,BOOL fGetCallbacks) { + return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetReceiveSelectionCallbacks(IWMReaderAdvanced6* This,BOOL *pfGetCallbacks) { + return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetReceiveStreamSamples(IWMReaderAdvanced6* This,WORD wStreamNum,BOOL fReceiveStreamSamples) { + return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetReceiveStreamSamples(IWMReaderAdvanced6* This,WORD wStreamNum,BOOL *pfReceiveStreamSamples) { + return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetAllocateForOutput(IWMReaderAdvanced6* This,DWORD dwOutputNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetAllocateForOutput(IWMReaderAdvanced6* This,DWORD dwOutputNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetAllocateForStream(IWMReaderAdvanced6* This,WORD wStreamNum,BOOL fAllocate) { + return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetAllocateForStream(IWMReaderAdvanced6* This,WORD dwStreamNum,BOOL *pfAllocate) { + return This->lpVtbl->GetAllocateForStream(This,dwStreamNum,pfAllocate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetStatistics(IWMReaderAdvanced6* This,WM_READER_STATISTICS *pStatistics) { + return This->lpVtbl->GetStatistics(This,pStatistics); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetClientInfo(IWMReaderAdvanced6* This,WM_READER_CLIENTINFO *pClientInfo) { + return This->lpVtbl->SetClientInfo(This,pClientInfo); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetMaxOutputSampleSize(IWMReaderAdvanced6* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetMaxStreamSampleSize(IWMReaderAdvanced6* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_NotifyLateDelivery(IWMReaderAdvanced6* This,QWORD cnsLateness) { + return This->lpVtbl->NotifyLateDelivery(This,cnsLateness); +} +/*** IWMReaderAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetPlayMode(IWMReaderAdvanced6* This,WMT_PLAY_MODE Mode) { + return This->lpVtbl->SetPlayMode(This,Mode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetPlayMode(IWMReaderAdvanced6* This,WMT_PLAY_MODE *pMode) { + return This->lpVtbl->GetPlayMode(This,pMode); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetBufferProgress(IWMReaderAdvanced6* This,DWORD *pdwPercent,QWORD *pcnsBuffering) { + return This->lpVtbl->GetBufferProgress(This,pdwPercent,pcnsBuffering); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetDownloadProgress(IWMReaderAdvanced6* This,DWORD *pdwPercent,QWORD *pqwBytesDownloaded,QWORD *pcnsDownload) { + return This->lpVtbl->GetDownloadProgress(This,pdwPercent,pqwBytesDownloaded,pcnsDownload); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetSaveAsProgress(IWMReaderAdvanced6* This,DWORD *pdwPercent) { + return This->lpVtbl->GetSaveAsProgress(This,pdwPercent); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SaveFileAs(IWMReaderAdvanced6* This,const WCHAR *pwszFilename) { + return This->lpVtbl->SaveFileAs(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetProtocolName(IWMReaderAdvanced6* This,WCHAR *pwszProtocol,DWORD *pcchProtocol) { + return This->lpVtbl->GetProtocolName(This,pwszProtocol,pcchProtocol); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_StartAtMarker(IWMReaderAdvanced6* This,WORD wMarkerIndex,QWORD cnsDuration,float fRate,void *pvContext) { + return This->lpVtbl->StartAtMarker(This,wMarkerIndex,cnsDuration,fRate,pvContext); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetOutputSetting(IWMReaderAdvanced6* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetOutputSetting(IWMReaderAdvanced6* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_Preroll(IWMReaderAdvanced6* This,QWORD cnsStart,QWORD cnsDuration,float fRate) { + return This->lpVtbl->Preroll(This,cnsStart,cnsDuration,fRate); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetLogClientID(IWMReaderAdvanced6* This,BOOL fLogClientID) { + return This->lpVtbl->SetLogClientID(This,fLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetLogClientID(IWMReaderAdvanced6* This,BOOL *pfLogClientID) { + return This->lpVtbl->GetLogClientID(This,pfLogClientID); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_StopBuffering(IWMReaderAdvanced6* This) { + return This->lpVtbl->StopBuffering(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_OpenStream(IWMReaderAdvanced6* This,IStream *pStream,IWMReaderCallback *pCallback,void *pvContext) { + return This->lpVtbl->OpenStream(This,pStream,pCallback,pvContext); +} +/*** IWMReaderAdvanced3 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_StopNetStreaming(IWMReaderAdvanced6* This) { + return This->lpVtbl->StopNetStreaming(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_StartAtPosition(IWMReaderAdvanced6* This,WORD wStreamNum,void *pvOffsetStart,void *pvDuration,WMT_OFFSET_FORMAT dwOffsetFormat,float fRate,void *pvContext) { + return This->lpVtbl->StartAtPosition(This,wStreamNum,pvOffsetStart,pvDuration,dwOffsetFormat,fRate,pvContext); +} +/*** IWMReaderAdvanced4 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetLanguageCount(IWMReaderAdvanced6* This,DWORD dwOutputNum,WORD *pwLanguageCount) { + return This->lpVtbl->GetLanguageCount(This,dwOutputNum,pwLanguageCount); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetLanguage(IWMReaderAdvanced6* This,DWORD dwOutputNum,WORD wLanguage,WCHAR *pwszLanguageString,WORD *pcchLanguageStringLength) { + return This->lpVtbl->GetLanguage(This,dwOutputNum,wLanguage,pwszLanguageString,pcchLanguageStringLength); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetMaxSpeedFactor(IWMReaderAdvanced6* This,double *pdblFactor) { + return This->lpVtbl->GetMaxSpeedFactor(This,pdblFactor); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_IsUsingFastCache(IWMReaderAdvanced6* This,BOOL *pfUsingFastCache) { + return This->lpVtbl->IsUsingFastCache(This,pfUsingFastCache); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_AddLogParam(IWMReaderAdvanced6* This,LPCWSTR wszNameSpace,LPCWSTR wszName,LPCWSTR wszValue) { + return This->lpVtbl->AddLogParam(This,wszNameSpace,wszName,wszValue); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_SendLogParams(IWMReaderAdvanced6* This) { + return This->lpVtbl->SendLogParams(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_CanSaveFileAs(IWMReaderAdvanced6* This,BOOL *pfCanSave) { + return This->lpVtbl->CanSaveFileAs(This,pfCanSave); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_CancelSaveFileAs(IWMReaderAdvanced6* This) { + return This->lpVtbl->CancelSaveFileAs(This); +} +static FORCEINLINE HRESULT IWMReaderAdvanced6_GetURL(IWMReaderAdvanced6* This,WCHAR *pwszURL,DWORD *pcchURL) { + return This->lpVtbl->GetURL(This,pwszURL,pcchURL); +} +/*** IWMReaderAdvanced5 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetPlayerHook(IWMReaderAdvanced6* This,DWORD dwOutputNum,IWMPlayerHook *pHook) { + return This->lpVtbl->SetPlayerHook(This,dwOutputNum,pHook); +} +/*** IWMReaderAdvanced6 methods ***/ +static FORCEINLINE HRESULT IWMReaderAdvanced6_SetProtectStreamSamples(IWMReaderAdvanced6* This,BYTE *pbCertificate,DWORD cbCertificate,DWORD dwCertificateType,DWORD dwFlags,BYTE *pbInitializationVector,DWORD *pcbInitializationVector) { + return This->lpVtbl->SetProtectStreamSamples(This,pbCertificate,cbCertificate,dwCertificateType,dwFlags,pbInitializationVector,pcbInitializationVector); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAdvanced6_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMSyncReader interface + */ +#ifndef __IWMSyncReader_INTERFACE_DEFINED__ +#define __IWMSyncReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMSyncReader, 0x9397f121, 0x7705, 0x4dc9, 0xb0,0x49, 0x98,0xb6,0x98,0x18,0x84,0x14); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9397f121-7705-4dc9-b049-98b698188414") +IWMSyncReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Open( + const WCHAR *pwszFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE Close( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRange( + QWORD cnsStartTime, + LONGLONG cnsDuration) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRangeByFrame( + WORD wStreamNum, + QWORD qwFrameNumber, + LONGLONG cFramesToRead) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNextSample( + WORD wStreamNum, + INSSBuffer **ppSample, + QWORD *pcnsSampleTime, + QWORD *pcnsDuration, + DWORD *pdwFlags, + DWORD *pdwOutputNum, + WORD *pwStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamsSelected( + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamSelected( + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetReadStreamSamples( + WORD wStreamNum, + BOOL fCompressed) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetReadStreamSamples( + WORD wStreamNum, + BOOL *pfCompressed) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputSetting( + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputSetting( + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputCount( + DWORD *pcOutputs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputProps( + DWORD dwOutputNum, + IWMOutputMediaProps **ppOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputProps( + DWORD dwOutputNum, + IWMOutputMediaProps *pOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputFormatCount( + DWORD dwOutputNum, + DWORD *pcFormats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputFormat( + DWORD dwOutputNum, + DWORD dwFormatNum, + IWMOutputMediaProps **ppProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputNumberForStream( + WORD wStreamNum, + DWORD *pdwOutputNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamNumberForOutput( + DWORD dwOutputNum, + WORD *pwStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxOutputSampleSize( + DWORD dwOutput, + DWORD *pcbMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxStreamSampleSize( + WORD wStream, + DWORD *pcbMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenStream( + IStream *pStream) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMSyncReader, 0x9397f121, 0x7705, 0x4dc9, 0xb0,0x49, 0x98,0xb6,0x98,0x18,0x84,0x14) +#endif +#else +typedef struct IWMSyncReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMSyncReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMSyncReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMSyncReader *This); + + /*** IWMSyncReader methods ***/ + HRESULT (STDMETHODCALLTYPE *Open)( + IWMSyncReader *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *Close)( + IWMSyncReader *This); + + HRESULT (STDMETHODCALLTYPE *SetRange)( + IWMSyncReader *This, + QWORD cnsStartTime, + LONGLONG cnsDuration); + + HRESULT (STDMETHODCALLTYPE *SetRangeByFrame)( + IWMSyncReader *This, + WORD wStreamNum, + QWORD qwFrameNumber, + LONGLONG cFramesToRead); + + HRESULT (STDMETHODCALLTYPE *GetNextSample)( + IWMSyncReader *This, + WORD wStreamNum, + INSSBuffer **ppSample, + QWORD *pcnsSampleTime, + QWORD *pcnsDuration, + DWORD *pdwFlags, + DWORD *pdwOutputNum, + WORD *pwStreamNum); + + HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)( + IWMSyncReader *This, + WORD cStreamCount, + WORD *pwStreamNumbers, + WMT_STREAM_SELECTION *pSelections); + + HRESULT (STDMETHODCALLTYPE *GetStreamSelected)( + IWMSyncReader *This, + WORD wStreamNum, + WMT_STREAM_SELECTION *pSelection); + + HRESULT (STDMETHODCALLTYPE *SetReadStreamSamples)( + IWMSyncReader *This, + WORD wStreamNum, + BOOL fCompressed); + + HRESULT (STDMETHODCALLTYPE *GetReadStreamSamples)( + IWMSyncReader *This, + WORD wStreamNum, + BOOL *pfCompressed); + + HRESULT (STDMETHODCALLTYPE *GetOutputSetting)( + IWMSyncReader *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetOutputSetting)( + IWMSyncReader *This, + DWORD dwOutputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + HRESULT (STDMETHODCALLTYPE *GetOutputCount)( + IWMSyncReader *This, + DWORD *pcOutputs); + + HRESULT (STDMETHODCALLTYPE *GetOutputProps)( + IWMSyncReader *This, + DWORD dwOutputNum, + IWMOutputMediaProps **ppOutput); + + HRESULT (STDMETHODCALLTYPE *SetOutputProps)( + IWMSyncReader *This, + DWORD dwOutputNum, + IWMOutputMediaProps *pOutput); + + HRESULT (STDMETHODCALLTYPE *GetOutputFormatCount)( + IWMSyncReader *This, + DWORD dwOutputNum, + DWORD *pcFormats); + + HRESULT (STDMETHODCALLTYPE *GetOutputFormat)( + IWMSyncReader *This, + DWORD dwOutputNum, + DWORD dwFormatNum, + IWMOutputMediaProps **ppProps); + + HRESULT (STDMETHODCALLTYPE *GetOutputNumberForStream)( + IWMSyncReader *This, + WORD wStreamNum, + DWORD *pdwOutputNum); + + HRESULT (STDMETHODCALLTYPE *GetStreamNumberForOutput)( + IWMSyncReader *This, + DWORD dwOutputNum, + WORD *pwStreamNum); + + HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)( + IWMSyncReader *This, + DWORD dwOutput, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)( + IWMSyncReader *This, + WORD wStream, + DWORD *pcbMax); + + HRESULT (STDMETHODCALLTYPE *OpenStream)( + IWMSyncReader *This, + IStream *pStream); + + END_INTERFACE +} IWMSyncReaderVtbl; + +interface IWMSyncReader { + CONST_VTBL IWMSyncReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMSyncReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMSyncReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMSyncReader_Release(This) (This)->lpVtbl->Release(This) +/*** IWMSyncReader methods ***/ +#define IWMSyncReader_Open(This,pwszFilename) (This)->lpVtbl->Open(This,pwszFilename) +#define IWMSyncReader_Close(This) (This)->lpVtbl->Close(This) +#define IWMSyncReader_SetRange(This,cnsStartTime,cnsDuration) (This)->lpVtbl->SetRange(This,cnsStartTime,cnsDuration) +#define IWMSyncReader_SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead) (This)->lpVtbl->SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead) +#define IWMSyncReader_GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum) (This)->lpVtbl->GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum) +#define IWMSyncReader_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) +#define IWMSyncReader_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection) +#define IWMSyncReader_SetReadStreamSamples(This,wStreamNum,fCompressed) (This)->lpVtbl->SetReadStreamSamples(This,wStreamNum,fCompressed) +#define IWMSyncReader_GetReadStreamSamples(This,wStreamNum,pfCompressed) (This)->lpVtbl->GetReadStreamSamples(This,wStreamNum,pfCompressed) +#define IWMSyncReader_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength) +#define IWMSyncReader_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength) +#define IWMSyncReader_GetOutputCount(This,pcOutputs) (This)->lpVtbl->GetOutputCount(This,pcOutputs) +#define IWMSyncReader_GetOutputProps(This,dwOutputNum,ppOutput) (This)->lpVtbl->GetOutputProps(This,dwOutputNum,ppOutput) +#define IWMSyncReader_SetOutputProps(This,dwOutputNum,pOutput) (This)->lpVtbl->SetOutputProps(This,dwOutputNum,pOutput) +#define IWMSyncReader_GetOutputFormatCount(This,dwOutputNum,pcFormats) (This)->lpVtbl->GetOutputFormatCount(This,dwOutputNum,pcFormats) +#define IWMSyncReader_GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps) (This)->lpVtbl->GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps) +#define IWMSyncReader_GetOutputNumberForStream(This,wStreamNum,pdwOutputNum) (This)->lpVtbl->GetOutputNumberForStream(This,wStreamNum,pdwOutputNum) +#define IWMSyncReader_GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum) (This)->lpVtbl->GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum) +#define IWMSyncReader_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax) +#define IWMSyncReader_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax) +#define IWMSyncReader_OpenStream(This,pStream) (This)->lpVtbl->OpenStream(This,pStream) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMSyncReader_QueryInterface(IWMSyncReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMSyncReader_AddRef(IWMSyncReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMSyncReader_Release(IWMSyncReader* This) { + return This->lpVtbl->Release(This); +} +/*** IWMSyncReader methods ***/ +static FORCEINLINE HRESULT IWMSyncReader_Open(IWMSyncReader* This,const WCHAR *pwszFilename) { + return This->lpVtbl->Open(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMSyncReader_Close(IWMSyncReader* This) { + return This->lpVtbl->Close(This); +} +static FORCEINLINE HRESULT IWMSyncReader_SetRange(IWMSyncReader* This,QWORD cnsStartTime,LONGLONG cnsDuration) { + return This->lpVtbl->SetRange(This,cnsStartTime,cnsDuration); +} +static FORCEINLINE HRESULT IWMSyncReader_SetRangeByFrame(IWMSyncReader* This,WORD wStreamNum,QWORD qwFrameNumber,LONGLONG cFramesToRead) { + return This->lpVtbl->SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead); +} +static FORCEINLINE HRESULT IWMSyncReader_GetNextSample(IWMSyncReader* This,WORD wStreamNum,INSSBuffer **ppSample,QWORD *pcnsSampleTime,QWORD *pcnsDuration,DWORD *pdwFlags,DWORD *pdwOutputNum,WORD *pwStreamNum) { + return This->lpVtbl->GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum); +} +static FORCEINLINE HRESULT IWMSyncReader_SetStreamsSelected(IWMSyncReader* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) { + return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections); +} +static FORCEINLINE HRESULT IWMSyncReader_GetStreamSelected(IWMSyncReader* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) { + return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection); +} +static FORCEINLINE HRESULT IWMSyncReader_SetReadStreamSamples(IWMSyncReader* This,WORD wStreamNum,BOOL fCompressed) { + return This->lpVtbl->SetReadStreamSamples(This,wStreamNum,fCompressed); +} +static FORCEINLINE HRESULT IWMSyncReader_GetReadStreamSamples(IWMSyncReader* This,WORD wStreamNum,BOOL *pfCompressed) { + return This->lpVtbl->GetReadStreamSamples(This,wStreamNum,pfCompressed); +} +static FORCEINLINE HRESULT IWMSyncReader_GetOutputSetting(IWMSyncReader* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMSyncReader_SetOutputSetting(IWMSyncReader* This,DWORD dwOutputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength); +} +static FORCEINLINE HRESULT IWMSyncReader_GetOutputCount(IWMSyncReader* This,DWORD *pcOutputs) { + return This->lpVtbl->GetOutputCount(This,pcOutputs); +} +static FORCEINLINE HRESULT IWMSyncReader_GetOutputProps(IWMSyncReader* This,DWORD dwOutputNum,IWMOutputMediaProps **ppOutput) { + return This->lpVtbl->GetOutputProps(This,dwOutputNum,ppOutput); +} +static FORCEINLINE HRESULT IWMSyncReader_SetOutputProps(IWMSyncReader* This,DWORD dwOutputNum,IWMOutputMediaProps *pOutput) { + return This->lpVtbl->SetOutputProps(This,dwOutputNum,pOutput); +} +static FORCEINLINE HRESULT IWMSyncReader_GetOutputFormatCount(IWMSyncReader* This,DWORD dwOutputNum,DWORD *pcFormats) { + return This->lpVtbl->GetOutputFormatCount(This,dwOutputNum,pcFormats); +} +static FORCEINLINE HRESULT IWMSyncReader_GetOutputFormat(IWMSyncReader* This,DWORD dwOutputNum,DWORD dwFormatNum,IWMOutputMediaProps **ppProps) { + return This->lpVtbl->GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps); +} +static FORCEINLINE HRESULT IWMSyncReader_GetOutputNumberForStream(IWMSyncReader* This,WORD wStreamNum,DWORD *pdwOutputNum) { + return This->lpVtbl->GetOutputNumberForStream(This,wStreamNum,pdwOutputNum); +} +static FORCEINLINE HRESULT IWMSyncReader_GetStreamNumberForOutput(IWMSyncReader* This,DWORD dwOutputNum,WORD *pwStreamNum) { + return This->lpVtbl->GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum); +} +static FORCEINLINE HRESULT IWMSyncReader_GetMaxOutputSampleSize(IWMSyncReader* This,DWORD dwOutput,DWORD *pcbMax) { + return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax); +} +static FORCEINLINE HRESULT IWMSyncReader_GetMaxStreamSampleSize(IWMSyncReader* This,WORD wStream,DWORD *pcbMax) { + return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax); +} +static FORCEINLINE HRESULT IWMSyncReader_OpenStream(IWMSyncReader* This,IStream *pStream) { + return This->lpVtbl->OpenStream(This,pStream); +} +#endif +#endif + +#endif + + +#endif /* __IWMSyncReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMInputMediaProps interface + */ +#ifndef __IWMInputMediaProps_INTERFACE_DEFINED__ +#define __IWMInputMediaProps_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMInputMediaProps, 0x96406bd5, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bd5-2b2b-11d3-b36b-00c04f6108ff") +IWMInputMediaProps : public IWMMediaProps +{ + virtual HRESULT STDMETHODCALLTYPE GetConnectionName( + WCHAR *pwszName, + WORD *pcchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetGroupName( + WCHAR *pwszName, + WORD *pcchName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMInputMediaProps, 0x96406bd5, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMInputMediaPropsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMInputMediaProps *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMInputMediaProps *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMInputMediaProps *This); + + /*** IWMMediaProps methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IWMInputMediaProps *This, + GUID *pguidType); + + HRESULT (STDMETHODCALLTYPE *GetMediaType)( + IWMInputMediaProps *This, + WM_MEDIA_TYPE *pType, + DWORD *pcbType); + + HRESULT (STDMETHODCALLTYPE *SetMediaType)( + IWMInputMediaProps *This, + WM_MEDIA_TYPE *pType); + + /*** IWMInputMediaProps methods ***/ + HRESULT (STDMETHODCALLTYPE *GetConnectionName)( + IWMInputMediaProps *This, + WCHAR *pwszName, + WORD *pcchName); + + HRESULT (STDMETHODCALLTYPE *GetGroupName)( + IWMInputMediaProps *This, + WCHAR *pwszName, + WORD *pcchName); + + END_INTERFACE +} IWMInputMediaPropsVtbl; + +interface IWMInputMediaProps { + CONST_VTBL IWMInputMediaPropsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMInputMediaProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMInputMediaProps_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMInputMediaProps_Release(This) (This)->lpVtbl->Release(This) +/*** IWMMediaProps methods ***/ +#define IWMInputMediaProps_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType) +#define IWMInputMediaProps_GetMediaType(This,pType,pcbType) (This)->lpVtbl->GetMediaType(This,pType,pcbType) +#define IWMInputMediaProps_SetMediaType(This,pType) (This)->lpVtbl->SetMediaType(This,pType) +/*** IWMInputMediaProps methods ***/ +#define IWMInputMediaProps_GetConnectionName(This,pwszName,pcchName) (This)->lpVtbl->GetConnectionName(This,pwszName,pcchName) +#define IWMInputMediaProps_GetGroupName(This,pwszName,pcchName) (This)->lpVtbl->GetGroupName(This,pwszName,pcchName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMInputMediaProps_QueryInterface(IWMInputMediaProps* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMInputMediaProps_AddRef(IWMInputMediaProps* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMInputMediaProps_Release(IWMInputMediaProps* This) { + return This->lpVtbl->Release(This); +} +/*** IWMMediaProps methods ***/ +static FORCEINLINE HRESULT IWMInputMediaProps_GetType(IWMInputMediaProps* This,GUID *pguidType) { + return This->lpVtbl->GetType(This,pguidType); +} +static FORCEINLINE HRESULT IWMInputMediaProps_GetMediaType(IWMInputMediaProps* This,WM_MEDIA_TYPE *pType,DWORD *pcbType) { + return This->lpVtbl->GetMediaType(This,pType,pcbType); +} +static FORCEINLINE HRESULT IWMInputMediaProps_SetMediaType(IWMInputMediaProps* This,WM_MEDIA_TYPE *pType) { + return This->lpVtbl->SetMediaType(This,pType); +} +/*** IWMInputMediaProps methods ***/ +static FORCEINLINE HRESULT IWMInputMediaProps_GetConnectionName(IWMInputMediaProps* This,WCHAR *pwszName,WORD *pcchName) { + return This->lpVtbl->GetConnectionName(This,pwszName,pcchName); +} +static FORCEINLINE HRESULT IWMInputMediaProps_GetGroupName(IWMInputMediaProps* This,WCHAR *pwszName,WORD *pcchName) { + return This->lpVtbl->GetGroupName(This,pwszName,pcchName); +} +#endif +#endif + +#endif + + +#endif /* __IWMInputMediaProps_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMWriterSink interface + */ +#ifndef __IWMWriterSink_INTERFACE_DEFINED__ +#define __IWMWriterSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMWriterSink, 0x96406be4, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406be4-2b2b-11d3-b36b-00c04f6108ff") +IWMWriterSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnHeader( + INSSBuffer *pHeader) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRealTime( + BOOL *pfRealTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocateDataUnit( + DWORD cbDataUnit, + INSSBuffer **ppDataUnit) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnDataUnit( + INSSBuffer *pDataUnit) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEndWriting( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMWriterSink, 0x96406be4, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMWriterSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMWriterSink *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMWriterSink *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMWriterSink *This); + + /*** IWMWriterSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnHeader)( + IWMWriterSink *This, + INSSBuffer *pHeader); + + HRESULT (STDMETHODCALLTYPE *IsRealTime)( + IWMWriterSink *This, + BOOL *pfRealTime); + + HRESULT (STDMETHODCALLTYPE *AllocateDataUnit)( + IWMWriterSink *This, + DWORD cbDataUnit, + INSSBuffer **ppDataUnit); + + HRESULT (STDMETHODCALLTYPE *OnDataUnit)( + IWMWriterSink *This, + INSSBuffer *pDataUnit); + + HRESULT (STDMETHODCALLTYPE *OnEndWriting)( + IWMWriterSink *This); + + END_INTERFACE +} IWMWriterSinkVtbl; + +interface IWMWriterSink { + CONST_VTBL IWMWriterSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMWriterSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMWriterSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMWriterSink_Release(This) (This)->lpVtbl->Release(This) +/*** IWMWriterSink methods ***/ +#define IWMWriterSink_OnHeader(This,pHeader) (This)->lpVtbl->OnHeader(This,pHeader) +#define IWMWriterSink_IsRealTime(This,pfRealTime) (This)->lpVtbl->IsRealTime(This,pfRealTime) +#define IWMWriterSink_AllocateDataUnit(This,cbDataUnit,ppDataUnit) (This)->lpVtbl->AllocateDataUnit(This,cbDataUnit,ppDataUnit) +#define IWMWriterSink_OnDataUnit(This,pDataUnit) (This)->lpVtbl->OnDataUnit(This,pDataUnit) +#define IWMWriterSink_OnEndWriting(This) (This)->lpVtbl->OnEndWriting(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMWriterSink_QueryInterface(IWMWriterSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMWriterSink_AddRef(IWMWriterSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMWriterSink_Release(IWMWriterSink* This) { + return This->lpVtbl->Release(This); +} +/*** IWMWriterSink methods ***/ +static FORCEINLINE HRESULT IWMWriterSink_OnHeader(IWMWriterSink* This,INSSBuffer *pHeader) { + return This->lpVtbl->OnHeader(This,pHeader); +} +static FORCEINLINE HRESULT IWMWriterSink_IsRealTime(IWMWriterSink* This,BOOL *pfRealTime) { + return This->lpVtbl->IsRealTime(This,pfRealTime); +} +static FORCEINLINE HRESULT IWMWriterSink_AllocateDataUnit(IWMWriterSink* This,DWORD cbDataUnit,INSSBuffer **ppDataUnit) { + return This->lpVtbl->AllocateDataUnit(This,cbDataUnit,ppDataUnit); +} +static FORCEINLINE HRESULT IWMWriterSink_OnDataUnit(IWMWriterSink* This,INSSBuffer *pDataUnit) { + return This->lpVtbl->OnDataUnit(This,pDataUnit); +} +static FORCEINLINE HRESULT IWMWriterSink_OnEndWriting(IWMWriterSink* This) { + return This->lpVtbl->OnEndWriting(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMWriterSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMWriter interface + */ +#ifndef __IWMWriter_INTERFACE_DEFINED__ +#define __IWMWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMWriter, 0x96406bd4, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bd4-2b2b-11d3-b36b-00c04f6108ff") +IWMWriter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetProfileByID( + REFGUID guidProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProfile( + IWMProfile *pProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputFilename( + const WCHAR *pwszFilename) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputCount( + DWORD *pcInputs) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputProps( + DWORD dwInputNum, + IWMInputMediaProps **ppInput) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputProps( + DWORD dwInputNum, + IWMInputMediaProps *pInput) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputFormatCount( + DWORD dwInputNumber, + DWORD *pcFormats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInputFormat( + DWORD dwInputNumber, + DWORD dwFormatNumber, + IWMInputMediaProps **pProps) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginWriting( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndWriting( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE AllocateSample( + DWORD dwSampleSize, + INSSBuffer **ppSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteSample( + DWORD dwInputNum, + QWORD cnsSampleTime, + DWORD dwFlags, + INSSBuffer *pSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMWriter, 0x96406bd4, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMWriter *This); + + /*** IWMWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *SetProfileByID)( + IWMWriter *This, + REFGUID guidProfile); + + HRESULT (STDMETHODCALLTYPE *SetProfile)( + IWMWriter *This, + IWMProfile *pProfile); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilename)( + IWMWriter *This, + const WCHAR *pwszFilename); + + HRESULT (STDMETHODCALLTYPE *GetInputCount)( + IWMWriter *This, + DWORD *pcInputs); + + HRESULT (STDMETHODCALLTYPE *GetInputProps)( + IWMWriter *This, + DWORD dwInputNum, + IWMInputMediaProps **ppInput); + + HRESULT (STDMETHODCALLTYPE *SetInputProps)( + IWMWriter *This, + DWORD dwInputNum, + IWMInputMediaProps *pInput); + + HRESULT (STDMETHODCALLTYPE *GetInputFormatCount)( + IWMWriter *This, + DWORD dwInputNumber, + DWORD *pcFormats); + + HRESULT (STDMETHODCALLTYPE *GetInputFormat)( + IWMWriter *This, + DWORD dwInputNumber, + DWORD dwFormatNumber, + IWMInputMediaProps **pProps); + + HRESULT (STDMETHODCALLTYPE *BeginWriting)( + IWMWriter *This); + + HRESULT (STDMETHODCALLTYPE *EndWriting)( + IWMWriter *This); + + HRESULT (STDMETHODCALLTYPE *AllocateSample)( + IWMWriter *This, + DWORD dwSampleSize, + INSSBuffer **ppSample); + + HRESULT (STDMETHODCALLTYPE *WriteSample)( + IWMWriter *This, + DWORD dwInputNum, + QWORD cnsSampleTime, + DWORD dwFlags, + INSSBuffer *pSample); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IWMWriter *This); + + END_INTERFACE +} IWMWriterVtbl; + +interface IWMWriter { + CONST_VTBL IWMWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IWMWriter methods ***/ +#define IWMWriter_SetProfileByID(This,guidProfile) (This)->lpVtbl->SetProfileByID(This,guidProfile) +#define IWMWriter_SetProfile(This,pProfile) (This)->lpVtbl->SetProfile(This,pProfile) +#define IWMWriter_SetOutputFilename(This,pwszFilename) (This)->lpVtbl->SetOutputFilename(This,pwszFilename) +#define IWMWriter_GetInputCount(This,pcInputs) (This)->lpVtbl->GetInputCount(This,pcInputs) +#define IWMWriter_GetInputProps(This,dwInputNum,ppInput) (This)->lpVtbl->GetInputProps(This,dwInputNum,ppInput) +#define IWMWriter_SetInputProps(This,dwInputNum,pInput) (This)->lpVtbl->SetInputProps(This,dwInputNum,pInput) +#define IWMWriter_GetInputFormatCount(This,dwInputNumber,pcFormats) (This)->lpVtbl->GetInputFormatCount(This,dwInputNumber,pcFormats) +#define IWMWriter_GetInputFormat(This,dwInputNumber,dwFormatNumber,pProps) (This)->lpVtbl->GetInputFormat(This,dwInputNumber,dwFormatNumber,pProps) +#define IWMWriter_BeginWriting(This) (This)->lpVtbl->BeginWriting(This) +#define IWMWriter_EndWriting(This) (This)->lpVtbl->EndWriting(This) +#define IWMWriter_AllocateSample(This,dwSampleSize,ppSample) (This)->lpVtbl->AllocateSample(This,dwSampleSize,ppSample) +#define IWMWriter_WriteSample(This,dwInputNum,cnsSampleTime,dwFlags,pSample) (This)->lpVtbl->WriteSample(This,dwInputNum,cnsSampleTime,dwFlags,pSample) +#define IWMWriter_Flush(This) (This)->lpVtbl->Flush(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMWriter_QueryInterface(IWMWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMWriter_AddRef(IWMWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMWriter_Release(IWMWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IWMWriter methods ***/ +static FORCEINLINE HRESULT IWMWriter_SetProfileByID(IWMWriter* This,REFGUID guidProfile) { + return This->lpVtbl->SetProfileByID(This,guidProfile); +} +static FORCEINLINE HRESULT IWMWriter_SetProfile(IWMWriter* This,IWMProfile *pProfile) { + return This->lpVtbl->SetProfile(This,pProfile); +} +static FORCEINLINE HRESULT IWMWriter_SetOutputFilename(IWMWriter* This,const WCHAR *pwszFilename) { + return This->lpVtbl->SetOutputFilename(This,pwszFilename); +} +static FORCEINLINE HRESULT IWMWriter_GetInputCount(IWMWriter* This,DWORD *pcInputs) { + return This->lpVtbl->GetInputCount(This,pcInputs); +} +static FORCEINLINE HRESULT IWMWriter_GetInputProps(IWMWriter* This,DWORD dwInputNum,IWMInputMediaProps **ppInput) { + return This->lpVtbl->GetInputProps(This,dwInputNum,ppInput); +} +static FORCEINLINE HRESULT IWMWriter_SetInputProps(IWMWriter* This,DWORD dwInputNum,IWMInputMediaProps *pInput) { + return This->lpVtbl->SetInputProps(This,dwInputNum,pInput); +} +static FORCEINLINE HRESULT IWMWriter_GetInputFormatCount(IWMWriter* This,DWORD dwInputNumber,DWORD *pcFormats) { + return This->lpVtbl->GetInputFormatCount(This,dwInputNumber,pcFormats); +} +static FORCEINLINE HRESULT IWMWriter_GetInputFormat(IWMWriter* This,DWORD dwInputNumber,DWORD dwFormatNumber,IWMInputMediaProps **pProps) { + return This->lpVtbl->GetInputFormat(This,dwInputNumber,dwFormatNumber,pProps); +} +static FORCEINLINE HRESULT IWMWriter_BeginWriting(IWMWriter* This) { + return This->lpVtbl->BeginWriting(This); +} +static FORCEINLINE HRESULT IWMWriter_EndWriting(IWMWriter* This) { + return This->lpVtbl->EndWriting(This); +} +static FORCEINLINE HRESULT IWMWriter_AllocateSample(IWMWriter* This,DWORD dwSampleSize,INSSBuffer **ppSample) { + return This->lpVtbl->AllocateSample(This,dwSampleSize,ppSample); +} +static FORCEINLINE HRESULT IWMWriter_WriteSample(IWMWriter* This,DWORD dwInputNum,QWORD cnsSampleTime,DWORD dwFlags,INSSBuffer *pSample) { + return This->lpVtbl->WriteSample(This,dwInputNum,cnsSampleTime,dwFlags,pSample); +} +static FORCEINLINE HRESULT IWMWriter_Flush(IWMWriter* This) { + return This->lpVtbl->Flush(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMWriter_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMWriterAdvanced interface + */ +#ifndef __IWMWriterAdvanced_INTERFACE_DEFINED__ +#define __IWMWriterAdvanced_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMWriterAdvanced, 0x96406be3, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406be3-2b2b-11d3-b36b-00c04f6108ff") +IWMWriterAdvanced : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSinkCount( + DWORD *pcSinks) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSink( + DWORD dwSinkNum, + IWMWriterSink **ppSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddSink( + IWMWriterSink *pSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveSink( + IWMWriterSink *pSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteStreamSample( + WORD wStreamNum, + QWORD cnsSampleTime, + DWORD msSampleSendTime, + QWORD cnsSampleDuration, + DWORD dwFlags, + INSSBuffer *pSample) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLiveSource( + BOOL fIsLiveSource) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRealTime( + BOOL *pfRealTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWriterTime( + QWORD *pCurrentTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatistics( + WORD wStreamNum, + WM_WRITER_STATISTICS *pStats) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSyncTolerance( + DWORD msWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSyncTolerance( + DWORD *pmsWindow) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMWriterAdvanced, 0x96406be3, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMWriterAdvancedVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMWriterAdvanced *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMWriterAdvanced *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMWriterAdvanced *This); + + /*** IWMWriterAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSinkCount)( + IWMWriterAdvanced *This, + DWORD *pcSinks); + + HRESULT (STDMETHODCALLTYPE *GetSink)( + IWMWriterAdvanced *This, + DWORD dwSinkNum, + IWMWriterSink **ppSink); + + HRESULT (STDMETHODCALLTYPE *AddSink)( + IWMWriterAdvanced *This, + IWMWriterSink *pSink); + + HRESULT (STDMETHODCALLTYPE *RemoveSink)( + IWMWriterAdvanced *This, + IWMWriterSink *pSink); + + HRESULT (STDMETHODCALLTYPE *WriteStreamSample)( + IWMWriterAdvanced *This, + WORD wStreamNum, + QWORD cnsSampleTime, + DWORD msSampleSendTime, + QWORD cnsSampleDuration, + DWORD dwFlags, + INSSBuffer *pSample); + + HRESULT (STDMETHODCALLTYPE *SetLiveSource)( + IWMWriterAdvanced *This, + BOOL fIsLiveSource); + + HRESULT (STDMETHODCALLTYPE *IsRealTime)( + IWMWriterAdvanced *This, + BOOL *pfRealTime); + + HRESULT (STDMETHODCALLTYPE *GetWriterTime)( + IWMWriterAdvanced *This, + QWORD *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMWriterAdvanced *This, + WORD wStreamNum, + WM_WRITER_STATISTICS *pStats); + + HRESULT (STDMETHODCALLTYPE *SetSyncTolerance)( + IWMWriterAdvanced *This, + DWORD msWindow); + + HRESULT (STDMETHODCALLTYPE *GetSyncTolerance)( + IWMWriterAdvanced *This, + DWORD *pmsWindow); + + END_INTERFACE +} IWMWriterAdvancedVtbl; + +interface IWMWriterAdvanced { + CONST_VTBL IWMWriterAdvancedVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMWriterAdvanced_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMWriterAdvanced_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMWriterAdvanced_Release(This) (This)->lpVtbl->Release(This) +/*** IWMWriterAdvanced methods ***/ +#define IWMWriterAdvanced_GetSinkCount(This,pcSinks) (This)->lpVtbl->GetSinkCount(This,pcSinks) +#define IWMWriterAdvanced_GetSink(This,dwSinkNum,ppSink) (This)->lpVtbl->GetSink(This,dwSinkNum,ppSink) +#define IWMWriterAdvanced_AddSink(This,pSink) (This)->lpVtbl->AddSink(This,pSink) +#define IWMWriterAdvanced_RemoveSink(This,pSink) (This)->lpVtbl->RemoveSink(This,pSink) +#define IWMWriterAdvanced_WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample) (This)->lpVtbl->WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample) +#define IWMWriterAdvanced_SetLiveSource(This,fIsLiveSource) (This)->lpVtbl->SetLiveSource(This,fIsLiveSource) +#define IWMWriterAdvanced_IsRealTime(This,pfRealTime) (This)->lpVtbl->IsRealTime(This,pfRealTime) +#define IWMWriterAdvanced_GetWriterTime(This,pCurrentTime) (This)->lpVtbl->GetWriterTime(This,pCurrentTime) +#define IWMWriterAdvanced_GetStatistics(This,wStreamNum,pStats) (This)->lpVtbl->GetStatistics(This,wStreamNum,pStats) +#define IWMWriterAdvanced_SetSyncTolerance(This,msWindow) (This)->lpVtbl->SetSyncTolerance(This,msWindow) +#define IWMWriterAdvanced_GetSyncTolerance(This,pmsWindow) (This)->lpVtbl->GetSyncTolerance(This,pmsWindow) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced_QueryInterface(IWMWriterAdvanced* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMWriterAdvanced_AddRef(IWMWriterAdvanced* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMWriterAdvanced_Release(IWMWriterAdvanced* This) { + return This->lpVtbl->Release(This); +} +/*** IWMWriterAdvanced methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced_GetSinkCount(IWMWriterAdvanced* This,DWORD *pcSinks) { + return This->lpVtbl->GetSinkCount(This,pcSinks); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_GetSink(IWMWriterAdvanced* This,DWORD dwSinkNum,IWMWriterSink **ppSink) { + return This->lpVtbl->GetSink(This,dwSinkNum,ppSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_AddSink(IWMWriterAdvanced* This,IWMWriterSink *pSink) { + return This->lpVtbl->AddSink(This,pSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_RemoveSink(IWMWriterAdvanced* This,IWMWriterSink *pSink) { + return This->lpVtbl->RemoveSink(This,pSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_WriteStreamSample(IWMWriterAdvanced* This,WORD wStreamNum,QWORD cnsSampleTime,DWORD msSampleSendTime,QWORD cnsSampleDuration,DWORD dwFlags,INSSBuffer *pSample) { + return This->lpVtbl->WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_SetLiveSource(IWMWriterAdvanced* This,BOOL fIsLiveSource) { + return This->lpVtbl->SetLiveSource(This,fIsLiveSource); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_IsRealTime(IWMWriterAdvanced* This,BOOL *pfRealTime) { + return This->lpVtbl->IsRealTime(This,pfRealTime); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_GetWriterTime(IWMWriterAdvanced* This,QWORD *pCurrentTime) { + return This->lpVtbl->GetWriterTime(This,pCurrentTime); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_GetStatistics(IWMWriterAdvanced* This,WORD wStreamNum,WM_WRITER_STATISTICS *pStats) { + return This->lpVtbl->GetStatistics(This,wStreamNum,pStats); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_SetSyncTolerance(IWMWriterAdvanced* This,DWORD msWindow) { + return This->lpVtbl->SetSyncTolerance(This,msWindow); +} +static FORCEINLINE HRESULT IWMWriterAdvanced_GetSyncTolerance(IWMWriterAdvanced* This,DWORD *pmsWindow) { + return This->lpVtbl->GetSyncTolerance(This,pmsWindow); +} +#endif +#endif + +#endif + + +#endif /* __IWMWriterAdvanced_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMWriterAdvanced2 interface + */ +#ifndef __IWMWriterAdvanced2_INTERFACE_DEFINED__ +#define __IWMWriterAdvanced2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMWriterAdvanced2, 0x962dc1ec, 0xc046, 0x4db8, 0x9c,0xc7, 0x26,0xce,0xae,0x50,0x08,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("962dc1ec-c046-4db8-9cc7-26ceae500817") +IWMWriterAdvanced2 : public IWMWriterAdvanced +{ + virtual HRESULT STDMETHODCALLTYPE GetInputSetting( + DWORD dwInputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInputSetting( + DWORD dwInputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMWriterAdvanced2, 0x962dc1ec, 0xc046, 0x4db8, 0x9c,0xc7, 0x26,0xce,0xae,0x50,0x08,0x17) +#endif +#else +typedef struct IWMWriterAdvanced2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMWriterAdvanced2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMWriterAdvanced2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMWriterAdvanced2 *This); + + /*** IWMWriterAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSinkCount)( + IWMWriterAdvanced2 *This, + DWORD *pcSinks); + + HRESULT (STDMETHODCALLTYPE *GetSink)( + IWMWriterAdvanced2 *This, + DWORD dwSinkNum, + IWMWriterSink **ppSink); + + HRESULT (STDMETHODCALLTYPE *AddSink)( + IWMWriterAdvanced2 *This, + IWMWriterSink *pSink); + + HRESULT (STDMETHODCALLTYPE *RemoveSink)( + IWMWriterAdvanced2 *This, + IWMWriterSink *pSink); + + HRESULT (STDMETHODCALLTYPE *WriteStreamSample)( + IWMWriterAdvanced2 *This, + WORD wStreamNum, + QWORD cnsSampleTime, + DWORD msSampleSendTime, + QWORD cnsSampleDuration, + DWORD dwFlags, + INSSBuffer *pSample); + + HRESULT (STDMETHODCALLTYPE *SetLiveSource)( + IWMWriterAdvanced2 *This, + BOOL fIsLiveSource); + + HRESULT (STDMETHODCALLTYPE *IsRealTime)( + IWMWriterAdvanced2 *This, + BOOL *pfRealTime); + + HRESULT (STDMETHODCALLTYPE *GetWriterTime)( + IWMWriterAdvanced2 *This, + QWORD *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMWriterAdvanced2 *This, + WORD wStreamNum, + WM_WRITER_STATISTICS *pStats); + + HRESULT (STDMETHODCALLTYPE *SetSyncTolerance)( + IWMWriterAdvanced2 *This, + DWORD msWindow); + + HRESULT (STDMETHODCALLTYPE *GetSyncTolerance)( + IWMWriterAdvanced2 *This, + DWORD *pmsWindow); + + /*** IWMWriterAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInputSetting)( + IWMWriterAdvanced2 *This, + DWORD dwInputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetInputSetting)( + IWMWriterAdvanced2 *This, + DWORD dwInputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + END_INTERFACE +} IWMWriterAdvanced2Vtbl; + +interface IWMWriterAdvanced2 { + CONST_VTBL IWMWriterAdvanced2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMWriterAdvanced2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMWriterAdvanced2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMWriterAdvanced2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMWriterAdvanced methods ***/ +#define IWMWriterAdvanced2_GetSinkCount(This,pcSinks) (This)->lpVtbl->GetSinkCount(This,pcSinks) +#define IWMWriterAdvanced2_GetSink(This,dwSinkNum,ppSink) (This)->lpVtbl->GetSink(This,dwSinkNum,ppSink) +#define IWMWriterAdvanced2_AddSink(This,pSink) (This)->lpVtbl->AddSink(This,pSink) +#define IWMWriterAdvanced2_RemoveSink(This,pSink) (This)->lpVtbl->RemoveSink(This,pSink) +#define IWMWriterAdvanced2_WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample) (This)->lpVtbl->WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample) +#define IWMWriterAdvanced2_SetLiveSource(This,fIsLiveSource) (This)->lpVtbl->SetLiveSource(This,fIsLiveSource) +#define IWMWriterAdvanced2_IsRealTime(This,pfRealTime) (This)->lpVtbl->IsRealTime(This,pfRealTime) +#define IWMWriterAdvanced2_GetWriterTime(This,pCurrentTime) (This)->lpVtbl->GetWriterTime(This,pCurrentTime) +#define IWMWriterAdvanced2_GetStatistics(This,wStreamNum,pStats) (This)->lpVtbl->GetStatistics(This,wStreamNum,pStats) +#define IWMWriterAdvanced2_SetSyncTolerance(This,msWindow) (This)->lpVtbl->SetSyncTolerance(This,msWindow) +#define IWMWriterAdvanced2_GetSyncTolerance(This,pmsWindow) (This)->lpVtbl->GetSyncTolerance(This,pmsWindow) +/*** IWMWriterAdvanced2 methods ***/ +#define IWMWriterAdvanced2_GetInputSetting(This,dwInputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetInputSetting(This,dwInputNum,pszName,pType,pValue,pcbLength) +#define IWMWriterAdvanced2_SetInputSetting(This,dwInputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetInputSetting(This,dwInputNum,pszName,Type,pValue,cbLength) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced2_QueryInterface(IWMWriterAdvanced2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMWriterAdvanced2_AddRef(IWMWriterAdvanced2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMWriterAdvanced2_Release(IWMWriterAdvanced2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMWriterAdvanced methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced2_GetSinkCount(IWMWriterAdvanced2* This,DWORD *pcSinks) { + return This->lpVtbl->GetSinkCount(This,pcSinks); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_GetSink(IWMWriterAdvanced2* This,DWORD dwSinkNum,IWMWriterSink **ppSink) { + return This->lpVtbl->GetSink(This,dwSinkNum,ppSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_AddSink(IWMWriterAdvanced2* This,IWMWriterSink *pSink) { + return This->lpVtbl->AddSink(This,pSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_RemoveSink(IWMWriterAdvanced2* This,IWMWriterSink *pSink) { + return This->lpVtbl->RemoveSink(This,pSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_WriteStreamSample(IWMWriterAdvanced2* This,WORD wStreamNum,QWORD cnsSampleTime,DWORD msSampleSendTime,QWORD cnsSampleDuration,DWORD dwFlags,INSSBuffer *pSample) { + return This->lpVtbl->WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_SetLiveSource(IWMWriterAdvanced2* This,BOOL fIsLiveSource) { + return This->lpVtbl->SetLiveSource(This,fIsLiveSource); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_IsRealTime(IWMWriterAdvanced2* This,BOOL *pfRealTime) { + return This->lpVtbl->IsRealTime(This,pfRealTime); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_GetWriterTime(IWMWriterAdvanced2* This,QWORD *pCurrentTime) { + return This->lpVtbl->GetWriterTime(This,pCurrentTime); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_GetStatistics(IWMWriterAdvanced2* This,WORD wStreamNum,WM_WRITER_STATISTICS *pStats) { + return This->lpVtbl->GetStatistics(This,wStreamNum,pStats); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_SetSyncTolerance(IWMWriterAdvanced2* This,DWORD msWindow) { + return This->lpVtbl->SetSyncTolerance(This,msWindow); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_GetSyncTolerance(IWMWriterAdvanced2* This,DWORD *pmsWindow) { + return This->lpVtbl->GetSyncTolerance(This,pmsWindow); +} +/*** IWMWriterAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced2_GetInputSetting(IWMWriterAdvanced2* This,DWORD dwInputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetInputSetting(This,dwInputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMWriterAdvanced2_SetInputSetting(IWMWriterAdvanced2* This,DWORD dwInputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetInputSetting(This,dwInputNum,pszName,Type,pValue,cbLength); +} +#endif +#endif + +#endif + + +#endif /* __IWMWriterAdvanced2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMWriterAdvanced3 interface + */ +#ifndef __IWMWriterAdvanced3_INTERFACE_DEFINED__ +#define __IWMWriterAdvanced3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMWriterAdvanced3, 0x2cd6492d, 0x7c37, 0x4e76, 0x9d,0x3b, 0x59,0x26,0x11,0x83,0xa2,0x2e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2cd6492d-7c37-4e76-9d3b-59261183a22e") +IWMWriterAdvanced3 : public IWMWriterAdvanced2 +{ + virtual HRESULT STDMETHODCALLTYPE GetStatisticsEx( + WORD wStreamNum, + WM_WRITER_STATISTICS_EX *pStats) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNonBlocking( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMWriterAdvanced3, 0x2cd6492d, 0x7c37, 0x4e76, 0x9d,0x3b, 0x59,0x26,0x11,0x83,0xa2,0x2e) +#endif +#else +typedef struct IWMWriterAdvanced3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMWriterAdvanced3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMWriterAdvanced3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMWriterAdvanced3 *This); + + /*** IWMWriterAdvanced methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSinkCount)( + IWMWriterAdvanced3 *This, + DWORD *pcSinks); + + HRESULT (STDMETHODCALLTYPE *GetSink)( + IWMWriterAdvanced3 *This, + DWORD dwSinkNum, + IWMWriterSink **ppSink); + + HRESULT (STDMETHODCALLTYPE *AddSink)( + IWMWriterAdvanced3 *This, + IWMWriterSink *pSink); + + HRESULT (STDMETHODCALLTYPE *RemoveSink)( + IWMWriterAdvanced3 *This, + IWMWriterSink *pSink); + + HRESULT (STDMETHODCALLTYPE *WriteStreamSample)( + IWMWriterAdvanced3 *This, + WORD wStreamNum, + QWORD cnsSampleTime, + DWORD msSampleSendTime, + QWORD cnsSampleDuration, + DWORD dwFlags, + INSSBuffer *pSample); + + HRESULT (STDMETHODCALLTYPE *SetLiveSource)( + IWMWriterAdvanced3 *This, + BOOL fIsLiveSource); + + HRESULT (STDMETHODCALLTYPE *IsRealTime)( + IWMWriterAdvanced3 *This, + BOOL *pfRealTime); + + HRESULT (STDMETHODCALLTYPE *GetWriterTime)( + IWMWriterAdvanced3 *This, + QWORD *pCurrentTime); + + HRESULT (STDMETHODCALLTYPE *GetStatistics)( + IWMWriterAdvanced3 *This, + WORD wStreamNum, + WM_WRITER_STATISTICS *pStats); + + HRESULT (STDMETHODCALLTYPE *SetSyncTolerance)( + IWMWriterAdvanced3 *This, + DWORD msWindow); + + HRESULT (STDMETHODCALLTYPE *GetSyncTolerance)( + IWMWriterAdvanced3 *This, + DWORD *pmsWindow); + + /*** IWMWriterAdvanced2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInputSetting)( + IWMWriterAdvanced3 *This, + DWORD dwInputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE *pType, + BYTE *pValue, + WORD *pcbLength); + + HRESULT (STDMETHODCALLTYPE *SetInputSetting)( + IWMWriterAdvanced3 *This, + DWORD dwInputNum, + LPCWSTR pszName, + WMT_ATTR_DATATYPE Type, + const BYTE *pValue, + WORD cbLength); + + /*** IWMWriterAdvanced3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStatisticsEx)( + IWMWriterAdvanced3 *This, + WORD wStreamNum, + WM_WRITER_STATISTICS_EX *pStats); + + HRESULT (STDMETHODCALLTYPE *SetNonBlocking)( + IWMWriterAdvanced3 *This); + + END_INTERFACE +} IWMWriterAdvanced3Vtbl; + +interface IWMWriterAdvanced3 { + CONST_VTBL IWMWriterAdvanced3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMWriterAdvanced3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMWriterAdvanced3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMWriterAdvanced3_Release(This) (This)->lpVtbl->Release(This) +/*** IWMWriterAdvanced methods ***/ +#define IWMWriterAdvanced3_GetSinkCount(This,pcSinks) (This)->lpVtbl->GetSinkCount(This,pcSinks) +#define IWMWriterAdvanced3_GetSink(This,dwSinkNum,ppSink) (This)->lpVtbl->GetSink(This,dwSinkNum,ppSink) +#define IWMWriterAdvanced3_AddSink(This,pSink) (This)->lpVtbl->AddSink(This,pSink) +#define IWMWriterAdvanced3_RemoveSink(This,pSink) (This)->lpVtbl->RemoveSink(This,pSink) +#define IWMWriterAdvanced3_WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample) (This)->lpVtbl->WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample) +#define IWMWriterAdvanced3_SetLiveSource(This,fIsLiveSource) (This)->lpVtbl->SetLiveSource(This,fIsLiveSource) +#define IWMWriterAdvanced3_IsRealTime(This,pfRealTime) (This)->lpVtbl->IsRealTime(This,pfRealTime) +#define IWMWriterAdvanced3_GetWriterTime(This,pCurrentTime) (This)->lpVtbl->GetWriterTime(This,pCurrentTime) +#define IWMWriterAdvanced3_GetStatistics(This,wStreamNum,pStats) (This)->lpVtbl->GetStatistics(This,wStreamNum,pStats) +#define IWMWriterAdvanced3_SetSyncTolerance(This,msWindow) (This)->lpVtbl->SetSyncTolerance(This,msWindow) +#define IWMWriterAdvanced3_GetSyncTolerance(This,pmsWindow) (This)->lpVtbl->GetSyncTolerance(This,pmsWindow) +/*** IWMWriterAdvanced2 methods ***/ +#define IWMWriterAdvanced3_GetInputSetting(This,dwInputNum,pszName,pType,pValue,pcbLength) (This)->lpVtbl->GetInputSetting(This,dwInputNum,pszName,pType,pValue,pcbLength) +#define IWMWriterAdvanced3_SetInputSetting(This,dwInputNum,pszName,Type,pValue,cbLength) (This)->lpVtbl->SetInputSetting(This,dwInputNum,pszName,Type,pValue,cbLength) +/*** IWMWriterAdvanced3 methods ***/ +#define IWMWriterAdvanced3_GetStatisticsEx(This,wStreamNum,pStats) (This)->lpVtbl->GetStatisticsEx(This,wStreamNum,pStats) +#define IWMWriterAdvanced3_SetNonBlocking(This) (This)->lpVtbl->SetNonBlocking(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced3_QueryInterface(IWMWriterAdvanced3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMWriterAdvanced3_AddRef(IWMWriterAdvanced3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMWriterAdvanced3_Release(IWMWriterAdvanced3* This) { + return This->lpVtbl->Release(This); +} +/*** IWMWriterAdvanced methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetSinkCount(IWMWriterAdvanced3* This,DWORD *pcSinks) { + return This->lpVtbl->GetSinkCount(This,pcSinks); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetSink(IWMWriterAdvanced3* This,DWORD dwSinkNum,IWMWriterSink **ppSink) { + return This->lpVtbl->GetSink(This,dwSinkNum,ppSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_AddSink(IWMWriterAdvanced3* This,IWMWriterSink *pSink) { + return This->lpVtbl->AddSink(This,pSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_RemoveSink(IWMWriterAdvanced3* This,IWMWriterSink *pSink) { + return This->lpVtbl->RemoveSink(This,pSink); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_WriteStreamSample(IWMWriterAdvanced3* This,WORD wStreamNum,QWORD cnsSampleTime,DWORD msSampleSendTime,QWORD cnsSampleDuration,DWORD dwFlags,INSSBuffer *pSample) { + return This->lpVtbl->WriteStreamSample(This,wStreamNum,cnsSampleTime,msSampleSendTime,cnsSampleDuration,dwFlags,pSample); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_SetLiveSource(IWMWriterAdvanced3* This,BOOL fIsLiveSource) { + return This->lpVtbl->SetLiveSource(This,fIsLiveSource); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_IsRealTime(IWMWriterAdvanced3* This,BOOL *pfRealTime) { + return This->lpVtbl->IsRealTime(This,pfRealTime); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetWriterTime(IWMWriterAdvanced3* This,QWORD *pCurrentTime) { + return This->lpVtbl->GetWriterTime(This,pCurrentTime); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetStatistics(IWMWriterAdvanced3* This,WORD wStreamNum,WM_WRITER_STATISTICS *pStats) { + return This->lpVtbl->GetStatistics(This,wStreamNum,pStats); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_SetSyncTolerance(IWMWriterAdvanced3* This,DWORD msWindow) { + return This->lpVtbl->SetSyncTolerance(This,msWindow); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetSyncTolerance(IWMWriterAdvanced3* This,DWORD *pmsWindow) { + return This->lpVtbl->GetSyncTolerance(This,pmsWindow); +} +/*** IWMWriterAdvanced2 methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetInputSetting(IWMWriterAdvanced3* This,DWORD dwInputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE *pType,BYTE *pValue,WORD *pcbLength) { + return This->lpVtbl->GetInputSetting(This,dwInputNum,pszName,pType,pValue,pcbLength); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_SetInputSetting(IWMWriterAdvanced3* This,DWORD dwInputNum,LPCWSTR pszName,WMT_ATTR_DATATYPE Type,const BYTE *pValue,WORD cbLength) { + return This->lpVtbl->SetInputSetting(This,dwInputNum,pszName,Type,pValue,cbLength); +} +/*** IWMWriterAdvanced3 methods ***/ +static FORCEINLINE HRESULT IWMWriterAdvanced3_GetStatisticsEx(IWMWriterAdvanced3* This,WORD wStreamNum,WM_WRITER_STATISTICS_EX *pStats) { + return This->lpVtbl->GetStatisticsEx(This,wStreamNum,pStats); +} +static FORCEINLINE HRESULT IWMWriterAdvanced3_SetNonBlocking(IWMWriterAdvanced3* This) { + return This->lpVtbl->SetNonBlocking(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMWriterAdvanced3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMHeaderInfo interface + */ +#ifndef __IWMHeaderInfo_INTERFACE_DEFINED__ +#define __IWMHeaderInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMHeaderInfo, 0x96406bda, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bda-2b2b-11d3-b36b-00c04f6108ff") +IWMHeaderInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAttributeCount( + WORD stream_num, + WORD *attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributeByIndex( + WORD index, + WORD *stream_num, + WCHAR *name, + WORD *name_len, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributeByName( + WORD *stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAttribute( + WORD stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMarkerCount( + WORD *markers) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMarker( + WORD index, + WCHAR *marker_name, + WORD *marker_len, + QWORD *marker_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMarker( + LPCWSTR_WMSDK_TYPE_SAFE marker_name, + QWORD marker_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveMarker( + WORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptCount( + WORD *scripts) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScript( + WORD index, + WCHAR *type, + WORD *type_len, + WCHAR *command, + WORD *command_len, + QWORD *script_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddScript( + LPCWSTR_WMSDK_TYPE_SAFE type, + LPCWSTR_WMSDK_TYPE_SAFE command, + QWORD script_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveScript( + WORD index) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMHeaderInfo, 0x96406bda, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMHeaderInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMHeaderInfo *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMHeaderInfo *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMHeaderInfo *This); + + /*** IWMHeaderInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAttributeCount)( + IWMHeaderInfo *This, + WORD stream_num, + WORD *attributes); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByIndex)( + IWMHeaderInfo *This, + WORD index, + WORD *stream_num, + WCHAR *name, + WORD *name_len, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByName)( + IWMHeaderInfo *This, + WORD *stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *SetAttribute)( + IWMHeaderInfo *This, + WORD stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length); + + HRESULT (STDMETHODCALLTYPE *GetMarkerCount)( + IWMHeaderInfo *This, + WORD *markers); + + HRESULT (STDMETHODCALLTYPE *GetMarker)( + IWMHeaderInfo *This, + WORD index, + WCHAR *marker_name, + WORD *marker_len, + QWORD *marker_time); + + HRESULT (STDMETHODCALLTYPE *AddMarker)( + IWMHeaderInfo *This, + LPCWSTR_WMSDK_TYPE_SAFE marker_name, + QWORD marker_time); + + HRESULT (STDMETHODCALLTYPE *RemoveMarker)( + IWMHeaderInfo *This, + WORD index); + + HRESULT (STDMETHODCALLTYPE *GetScriptCount)( + IWMHeaderInfo *This, + WORD *scripts); + + HRESULT (STDMETHODCALLTYPE *GetScript)( + IWMHeaderInfo *This, + WORD index, + WCHAR *type, + WORD *type_len, + WCHAR *command, + WORD *command_len, + QWORD *script_time); + + HRESULT (STDMETHODCALLTYPE *AddScript)( + IWMHeaderInfo *This, + LPCWSTR_WMSDK_TYPE_SAFE type, + LPCWSTR_WMSDK_TYPE_SAFE command, + QWORD script_time); + + HRESULT (STDMETHODCALLTYPE *RemoveScript)( + IWMHeaderInfo *This, + WORD index); + + END_INTERFACE +} IWMHeaderInfoVtbl; + +interface IWMHeaderInfo { + CONST_VTBL IWMHeaderInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMHeaderInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMHeaderInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMHeaderInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IWMHeaderInfo methods ***/ +#define IWMHeaderInfo_GetAttributeCount(This,stream_num,attributes) (This)->lpVtbl->GetAttributeCount(This,stream_num,attributes) +#define IWMHeaderInfo_GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length) (This)->lpVtbl->GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length) +#define IWMHeaderInfo_GetAttributeByName(This,stream_num,name,type,value,length) (This)->lpVtbl->GetAttributeByName(This,stream_num,name,type,value,length) +#define IWMHeaderInfo_SetAttribute(This,stream_num,name,type,value,length) (This)->lpVtbl->SetAttribute(This,stream_num,name,type,value,length) +#define IWMHeaderInfo_GetMarkerCount(This,markers) (This)->lpVtbl->GetMarkerCount(This,markers) +#define IWMHeaderInfo_GetMarker(This,index,marker_name,marker_len,marker_time) (This)->lpVtbl->GetMarker(This,index,marker_name,marker_len,marker_time) +#define IWMHeaderInfo_AddMarker(This,marker_name,marker_time) (This)->lpVtbl->AddMarker(This,marker_name,marker_time) +#define IWMHeaderInfo_RemoveMarker(This,index) (This)->lpVtbl->RemoveMarker(This,index) +#define IWMHeaderInfo_GetScriptCount(This,scripts) (This)->lpVtbl->GetScriptCount(This,scripts) +#define IWMHeaderInfo_GetScript(This,index,type,type_len,command,command_len,script_time) (This)->lpVtbl->GetScript(This,index,type,type_len,command,command_len,script_time) +#define IWMHeaderInfo_AddScript(This,type,command,script_time) (This)->lpVtbl->AddScript(This,type,command,script_time) +#define IWMHeaderInfo_RemoveScript(This,index) (This)->lpVtbl->RemoveScript(This,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo_QueryInterface(IWMHeaderInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMHeaderInfo_AddRef(IWMHeaderInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMHeaderInfo_Release(IWMHeaderInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IWMHeaderInfo methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo_GetAttributeCount(IWMHeaderInfo* This,WORD stream_num,WORD *attributes) { + return This->lpVtbl->GetAttributeCount(This,stream_num,attributes); +} +static FORCEINLINE HRESULT IWMHeaderInfo_GetAttributeByIndex(IWMHeaderInfo* This,WORD index,WORD *stream_num,WCHAR *name,WORD *name_len,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo_GetAttributeByName(IWMHeaderInfo* This,WORD *stream_num,LPCWSTR name,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetAttributeByName(This,stream_num,name,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo_SetAttribute(IWMHeaderInfo* This,WORD stream_num,LPCWSTR name,WMT_ATTR_DATATYPE type,const BYTE *value,WORD length) { + return This->lpVtbl->SetAttribute(This,stream_num,name,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo_GetMarkerCount(IWMHeaderInfo* This,WORD *markers) { + return This->lpVtbl->GetMarkerCount(This,markers); +} +static FORCEINLINE HRESULT IWMHeaderInfo_GetMarker(IWMHeaderInfo* This,WORD index,WCHAR *marker_name,WORD *marker_len,QWORD *marker_time) { + return This->lpVtbl->GetMarker(This,index,marker_name,marker_len,marker_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo_AddMarker(IWMHeaderInfo* This,LPCWSTR_WMSDK_TYPE_SAFE marker_name,QWORD marker_time) { + return This->lpVtbl->AddMarker(This,marker_name,marker_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo_RemoveMarker(IWMHeaderInfo* This,WORD index) { + return This->lpVtbl->RemoveMarker(This,index); +} +static FORCEINLINE HRESULT IWMHeaderInfo_GetScriptCount(IWMHeaderInfo* This,WORD *scripts) { + return This->lpVtbl->GetScriptCount(This,scripts); +} +static FORCEINLINE HRESULT IWMHeaderInfo_GetScript(IWMHeaderInfo* This,WORD index,WCHAR *type,WORD *type_len,WCHAR *command,WORD *command_len,QWORD *script_time) { + return This->lpVtbl->GetScript(This,index,type,type_len,command,command_len,script_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo_AddScript(IWMHeaderInfo* This,LPCWSTR_WMSDK_TYPE_SAFE type,LPCWSTR_WMSDK_TYPE_SAFE command,QWORD script_time) { + return This->lpVtbl->AddScript(This,type,command,script_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo_RemoveScript(IWMHeaderInfo* This,WORD index) { + return This->lpVtbl->RemoveScript(This,index); +} +#endif +#endif + +#endif + + +#endif /* __IWMHeaderInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMHeaderInfo2 interface + */ +#ifndef __IWMHeaderInfo2_INTERFACE_DEFINED__ +#define __IWMHeaderInfo2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMHeaderInfo2, 0x15cf9781, 0x454e, 0x482e, 0xb3,0x93, 0x85,0xfa,0xe4,0x87,0xa8,0x10); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("15cf9781-454e-482e-b393-85fae487a810") +IWMHeaderInfo2 : public IWMHeaderInfo +{ + virtual HRESULT STDMETHODCALLTYPE GetCodecInfoCount( + DWORD *codec_infos) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCodecInfo( + DWORD index, + WORD *name_len, + WCHAR *name, + WORD *description_len, + WCHAR *description, + WMT_CODEC_INFO_TYPE *codec_type, + WORD *codec_info_cnt, + BYTE *codec_info) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMHeaderInfo2, 0x15cf9781, 0x454e, 0x482e, 0xb3,0x93, 0x85,0xfa,0xe4,0x87,0xa8,0x10) +#endif +#else +typedef struct IWMHeaderInfo2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMHeaderInfo2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMHeaderInfo2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMHeaderInfo2 *This); + + /*** IWMHeaderInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAttributeCount)( + IWMHeaderInfo2 *This, + WORD stream_num, + WORD *attributes); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByIndex)( + IWMHeaderInfo2 *This, + WORD index, + WORD *stream_num, + WCHAR *name, + WORD *name_len, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByName)( + IWMHeaderInfo2 *This, + WORD *stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *SetAttribute)( + IWMHeaderInfo2 *This, + WORD stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length); + + HRESULT (STDMETHODCALLTYPE *GetMarkerCount)( + IWMHeaderInfo2 *This, + WORD *markers); + + HRESULT (STDMETHODCALLTYPE *GetMarker)( + IWMHeaderInfo2 *This, + WORD index, + WCHAR *marker_name, + WORD *marker_len, + QWORD *marker_time); + + HRESULT (STDMETHODCALLTYPE *AddMarker)( + IWMHeaderInfo2 *This, + LPCWSTR_WMSDK_TYPE_SAFE marker_name, + QWORD marker_time); + + HRESULT (STDMETHODCALLTYPE *RemoveMarker)( + IWMHeaderInfo2 *This, + WORD index); + + HRESULT (STDMETHODCALLTYPE *GetScriptCount)( + IWMHeaderInfo2 *This, + WORD *scripts); + + HRESULT (STDMETHODCALLTYPE *GetScript)( + IWMHeaderInfo2 *This, + WORD index, + WCHAR *type, + WORD *type_len, + WCHAR *command, + WORD *command_len, + QWORD *script_time); + + HRESULT (STDMETHODCALLTYPE *AddScript)( + IWMHeaderInfo2 *This, + LPCWSTR_WMSDK_TYPE_SAFE type, + LPCWSTR_WMSDK_TYPE_SAFE command, + QWORD script_time); + + HRESULT (STDMETHODCALLTYPE *RemoveScript)( + IWMHeaderInfo2 *This, + WORD index); + + /*** IWMHeaderInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCodecInfoCount)( + IWMHeaderInfo2 *This, + DWORD *codec_infos); + + HRESULT (STDMETHODCALLTYPE *GetCodecInfo)( + IWMHeaderInfo2 *This, + DWORD index, + WORD *name_len, + WCHAR *name, + WORD *description_len, + WCHAR *description, + WMT_CODEC_INFO_TYPE *codec_type, + WORD *codec_info_cnt, + BYTE *codec_info); + + END_INTERFACE +} IWMHeaderInfo2Vtbl; + +interface IWMHeaderInfo2 { + CONST_VTBL IWMHeaderInfo2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMHeaderInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMHeaderInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMHeaderInfo2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMHeaderInfo methods ***/ +#define IWMHeaderInfo2_GetAttributeCount(This,stream_num,attributes) (This)->lpVtbl->GetAttributeCount(This,stream_num,attributes) +#define IWMHeaderInfo2_GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length) (This)->lpVtbl->GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length) +#define IWMHeaderInfo2_GetAttributeByName(This,stream_num,name,type,value,length) (This)->lpVtbl->GetAttributeByName(This,stream_num,name,type,value,length) +#define IWMHeaderInfo2_SetAttribute(This,stream_num,name,type,value,length) (This)->lpVtbl->SetAttribute(This,stream_num,name,type,value,length) +#define IWMHeaderInfo2_GetMarkerCount(This,markers) (This)->lpVtbl->GetMarkerCount(This,markers) +#define IWMHeaderInfo2_GetMarker(This,index,marker_name,marker_len,marker_time) (This)->lpVtbl->GetMarker(This,index,marker_name,marker_len,marker_time) +#define IWMHeaderInfo2_AddMarker(This,marker_name,marker_time) (This)->lpVtbl->AddMarker(This,marker_name,marker_time) +#define IWMHeaderInfo2_RemoveMarker(This,index) (This)->lpVtbl->RemoveMarker(This,index) +#define IWMHeaderInfo2_GetScriptCount(This,scripts) (This)->lpVtbl->GetScriptCount(This,scripts) +#define IWMHeaderInfo2_GetScript(This,index,type,type_len,command,command_len,script_time) (This)->lpVtbl->GetScript(This,index,type,type_len,command,command_len,script_time) +#define IWMHeaderInfo2_AddScript(This,type,command,script_time) (This)->lpVtbl->AddScript(This,type,command,script_time) +#define IWMHeaderInfo2_RemoveScript(This,index) (This)->lpVtbl->RemoveScript(This,index) +/*** IWMHeaderInfo2 methods ***/ +#define IWMHeaderInfo2_GetCodecInfoCount(This,codec_infos) (This)->lpVtbl->GetCodecInfoCount(This,codec_infos) +#define IWMHeaderInfo2_GetCodecInfo(This,index,name_len,name,description_len,description,codec_type,codec_info_cnt,codec_info) (This)->lpVtbl->GetCodecInfo(This,index,name_len,name,description_len,description,codec_type,codec_info_cnt,codec_info) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo2_QueryInterface(IWMHeaderInfo2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMHeaderInfo2_AddRef(IWMHeaderInfo2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMHeaderInfo2_Release(IWMHeaderInfo2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMHeaderInfo methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo2_GetAttributeCount(IWMHeaderInfo2* This,WORD stream_num,WORD *attributes) { + return This->lpVtbl->GetAttributeCount(This,stream_num,attributes); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetAttributeByIndex(IWMHeaderInfo2* This,WORD index,WORD *stream_num,WCHAR *name,WORD *name_len,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetAttributeByName(IWMHeaderInfo2* This,WORD *stream_num,LPCWSTR name,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetAttributeByName(This,stream_num,name,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_SetAttribute(IWMHeaderInfo2* This,WORD stream_num,LPCWSTR name,WMT_ATTR_DATATYPE type,const BYTE *value,WORD length) { + return This->lpVtbl->SetAttribute(This,stream_num,name,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetMarkerCount(IWMHeaderInfo2* This,WORD *markers) { + return This->lpVtbl->GetMarkerCount(This,markers); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetMarker(IWMHeaderInfo2* This,WORD index,WCHAR *marker_name,WORD *marker_len,QWORD *marker_time) { + return This->lpVtbl->GetMarker(This,index,marker_name,marker_len,marker_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_AddMarker(IWMHeaderInfo2* This,LPCWSTR_WMSDK_TYPE_SAFE marker_name,QWORD marker_time) { + return This->lpVtbl->AddMarker(This,marker_name,marker_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_RemoveMarker(IWMHeaderInfo2* This,WORD index) { + return This->lpVtbl->RemoveMarker(This,index); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetScriptCount(IWMHeaderInfo2* This,WORD *scripts) { + return This->lpVtbl->GetScriptCount(This,scripts); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetScript(IWMHeaderInfo2* This,WORD index,WCHAR *type,WORD *type_len,WCHAR *command,WORD *command_len,QWORD *script_time) { + return This->lpVtbl->GetScript(This,index,type,type_len,command,command_len,script_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_AddScript(IWMHeaderInfo2* This,LPCWSTR_WMSDK_TYPE_SAFE type,LPCWSTR_WMSDK_TYPE_SAFE command,QWORD script_time) { + return This->lpVtbl->AddScript(This,type,command,script_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_RemoveScript(IWMHeaderInfo2* This,WORD index) { + return This->lpVtbl->RemoveScript(This,index); +} +/*** IWMHeaderInfo2 methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo2_GetCodecInfoCount(IWMHeaderInfo2* This,DWORD *codec_infos) { + return This->lpVtbl->GetCodecInfoCount(This,codec_infos); +} +static FORCEINLINE HRESULT IWMHeaderInfo2_GetCodecInfo(IWMHeaderInfo2* This,DWORD index,WORD *name_len,WCHAR *name,WORD *description_len,WCHAR *description,WMT_CODEC_INFO_TYPE *codec_type,WORD *codec_info_cnt,BYTE *codec_info) { + return This->lpVtbl->GetCodecInfo(This,index,name_len,name,description_len,description,codec_type,codec_info_cnt,codec_info); +} +#endif +#endif + +#endif + + +#endif /* __IWMHeaderInfo2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMHeaderInfo3 interface + */ +#ifndef __IWMHeaderInfo3_INTERFACE_DEFINED__ +#define __IWMHeaderInfo3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMHeaderInfo3, 0x15cc68e3, 0x27cc, 0x4ecd, 0xb2,0x22, 0x3f,0x5d,0x02,0xd8,0x0b,0xd5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("15cc68e3-27cc-4ecd-b222-3f5d02d80bd5") +IWMHeaderInfo3 : public IWMHeaderInfo2 +{ + virtual HRESULT STDMETHODCALLTYPE GetAttributeCountEx( + WORD stream_num, + WORD *attributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributeIndices( + WORD stream_num, + LPCWSTR name, + WORD *lang_index, + WORD *indices, + WORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributeByIndexEx( + WORD stream_num, + WORD index, + LPWSTR name, + WORD *name_len, + WMT_ATTR_DATATYPE *type, + WORD *lang_index, + BYTE *value, + DWORD *data_len) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyAttribute( + WORD stream_num, + WORD index, + WMT_ATTR_DATATYPE type, + WORD lang_index, + const BYTE *value, + DWORD length) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddAttribute( + WORD stream_num, + LPCWSTR name, + WORD *index, + WMT_ATTR_DATATYPE type, + WORD lang_index, + const BYTE *value, + DWORD length) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAttribute( + WORD stream_num, + WORD index) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddCodecInfo( + LPCWSTR_WMSDK_TYPE_SAFE name, + LPCWSTR_WMSDK_TYPE_SAFE description, + WMT_CODEC_INFO_TYPE codec_type, + WORD codec_info_cnt, + BYTE *codec_info) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMHeaderInfo3, 0x15cc68e3, 0x27cc, 0x4ecd, 0xb2,0x22, 0x3f,0x5d,0x02,0xd8,0x0b,0xd5) +#endif +#else +typedef struct IWMHeaderInfo3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMHeaderInfo3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMHeaderInfo3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMHeaderInfo3 *This); + + /*** IWMHeaderInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAttributeCount)( + IWMHeaderInfo3 *This, + WORD stream_num, + WORD *attributes); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByIndex)( + IWMHeaderInfo3 *This, + WORD index, + WORD *stream_num, + WCHAR *name, + WORD *name_len, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByName)( + IWMHeaderInfo3 *This, + WORD *stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *SetAttribute)( + IWMHeaderInfo3 *This, + WORD stream_num, + LPCWSTR name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length); + + HRESULT (STDMETHODCALLTYPE *GetMarkerCount)( + IWMHeaderInfo3 *This, + WORD *markers); + + HRESULT (STDMETHODCALLTYPE *GetMarker)( + IWMHeaderInfo3 *This, + WORD index, + WCHAR *marker_name, + WORD *marker_len, + QWORD *marker_time); + + HRESULT (STDMETHODCALLTYPE *AddMarker)( + IWMHeaderInfo3 *This, + LPCWSTR_WMSDK_TYPE_SAFE marker_name, + QWORD marker_time); + + HRESULT (STDMETHODCALLTYPE *RemoveMarker)( + IWMHeaderInfo3 *This, + WORD index); + + HRESULT (STDMETHODCALLTYPE *GetScriptCount)( + IWMHeaderInfo3 *This, + WORD *scripts); + + HRESULT (STDMETHODCALLTYPE *GetScript)( + IWMHeaderInfo3 *This, + WORD index, + WCHAR *type, + WORD *type_len, + WCHAR *command, + WORD *command_len, + QWORD *script_time); + + HRESULT (STDMETHODCALLTYPE *AddScript)( + IWMHeaderInfo3 *This, + LPCWSTR_WMSDK_TYPE_SAFE type, + LPCWSTR_WMSDK_TYPE_SAFE command, + QWORD script_time); + + HRESULT (STDMETHODCALLTYPE *RemoveScript)( + IWMHeaderInfo3 *This, + WORD index); + + /*** IWMHeaderInfo2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCodecInfoCount)( + IWMHeaderInfo3 *This, + DWORD *codec_infos); + + HRESULT (STDMETHODCALLTYPE *GetCodecInfo)( + IWMHeaderInfo3 *This, + DWORD index, + WORD *name_len, + WCHAR *name, + WORD *description_len, + WCHAR *description, + WMT_CODEC_INFO_TYPE *codec_type, + WORD *codec_info_cnt, + BYTE *codec_info); + + /*** IWMHeaderInfo3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAttributeCountEx)( + IWMHeaderInfo3 *This, + WORD stream_num, + WORD *attributes); + + HRESULT (STDMETHODCALLTYPE *GetAttributeIndices)( + IWMHeaderInfo3 *This, + WORD stream_num, + LPCWSTR name, + WORD *lang_index, + WORD *indices, + WORD *count); + + HRESULT (STDMETHODCALLTYPE *GetAttributeByIndexEx)( + IWMHeaderInfo3 *This, + WORD stream_num, + WORD index, + LPWSTR name, + WORD *name_len, + WMT_ATTR_DATATYPE *type, + WORD *lang_index, + BYTE *value, + DWORD *data_len); + + HRESULT (STDMETHODCALLTYPE *ModifyAttribute)( + IWMHeaderInfo3 *This, + WORD stream_num, + WORD index, + WMT_ATTR_DATATYPE type, + WORD lang_index, + const BYTE *value, + DWORD length); + + HRESULT (STDMETHODCALLTYPE *AddAttribute)( + IWMHeaderInfo3 *This, + WORD stream_num, + LPCWSTR name, + WORD *index, + WMT_ATTR_DATATYPE type, + WORD lang_index, + const BYTE *value, + DWORD length); + + HRESULT (STDMETHODCALLTYPE *DeleteAttribute)( + IWMHeaderInfo3 *This, + WORD stream_num, + WORD index); + + HRESULT (STDMETHODCALLTYPE *AddCodecInfo)( + IWMHeaderInfo3 *This, + LPCWSTR_WMSDK_TYPE_SAFE name, + LPCWSTR_WMSDK_TYPE_SAFE description, + WMT_CODEC_INFO_TYPE codec_type, + WORD codec_info_cnt, + BYTE *codec_info); + + END_INTERFACE +} IWMHeaderInfo3Vtbl; + +interface IWMHeaderInfo3 { + CONST_VTBL IWMHeaderInfo3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMHeaderInfo3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMHeaderInfo3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMHeaderInfo3_Release(This) (This)->lpVtbl->Release(This) +/*** IWMHeaderInfo methods ***/ +#define IWMHeaderInfo3_GetAttributeCount(This,stream_num,attributes) (This)->lpVtbl->GetAttributeCount(This,stream_num,attributes) +#define IWMHeaderInfo3_GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length) (This)->lpVtbl->GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length) +#define IWMHeaderInfo3_GetAttributeByName(This,stream_num,name,type,value,length) (This)->lpVtbl->GetAttributeByName(This,stream_num,name,type,value,length) +#define IWMHeaderInfo3_SetAttribute(This,stream_num,name,type,value,length) (This)->lpVtbl->SetAttribute(This,stream_num,name,type,value,length) +#define IWMHeaderInfo3_GetMarkerCount(This,markers) (This)->lpVtbl->GetMarkerCount(This,markers) +#define IWMHeaderInfo3_GetMarker(This,index,marker_name,marker_len,marker_time) (This)->lpVtbl->GetMarker(This,index,marker_name,marker_len,marker_time) +#define IWMHeaderInfo3_AddMarker(This,marker_name,marker_time) (This)->lpVtbl->AddMarker(This,marker_name,marker_time) +#define IWMHeaderInfo3_RemoveMarker(This,index) (This)->lpVtbl->RemoveMarker(This,index) +#define IWMHeaderInfo3_GetScriptCount(This,scripts) (This)->lpVtbl->GetScriptCount(This,scripts) +#define IWMHeaderInfo3_GetScript(This,index,type,type_len,command,command_len,script_time) (This)->lpVtbl->GetScript(This,index,type,type_len,command,command_len,script_time) +#define IWMHeaderInfo3_AddScript(This,type,command,script_time) (This)->lpVtbl->AddScript(This,type,command,script_time) +#define IWMHeaderInfo3_RemoveScript(This,index) (This)->lpVtbl->RemoveScript(This,index) +/*** IWMHeaderInfo2 methods ***/ +#define IWMHeaderInfo3_GetCodecInfoCount(This,codec_infos) (This)->lpVtbl->GetCodecInfoCount(This,codec_infos) +#define IWMHeaderInfo3_GetCodecInfo(This,index,name_len,name,description_len,description,codec_type,codec_info_cnt,codec_info) (This)->lpVtbl->GetCodecInfo(This,index,name_len,name,description_len,description,codec_type,codec_info_cnt,codec_info) +/*** IWMHeaderInfo3 methods ***/ +#define IWMHeaderInfo3_GetAttributeCountEx(This,stream_num,attributes) (This)->lpVtbl->GetAttributeCountEx(This,stream_num,attributes) +#define IWMHeaderInfo3_GetAttributeIndices(This,stream_num,name,lang_index,indices,count) (This)->lpVtbl->GetAttributeIndices(This,stream_num,name,lang_index,indices,count) +#define IWMHeaderInfo3_GetAttributeByIndexEx(This,stream_num,index,name,name_len,type,lang_index,value,data_len) (This)->lpVtbl->GetAttributeByIndexEx(This,stream_num,index,name,name_len,type,lang_index,value,data_len) +#define IWMHeaderInfo3_ModifyAttribute(This,stream_num,index,type,lang_index,value,length) (This)->lpVtbl->ModifyAttribute(This,stream_num,index,type,lang_index,value,length) +#define IWMHeaderInfo3_AddAttribute(This,stream_num,name,index,type,lang_index,value,length) (This)->lpVtbl->AddAttribute(This,stream_num,name,index,type,lang_index,value,length) +#define IWMHeaderInfo3_DeleteAttribute(This,stream_num,index) (This)->lpVtbl->DeleteAttribute(This,stream_num,index) +#define IWMHeaderInfo3_AddCodecInfo(This,name,description,codec_type,codec_info_cnt,codec_info) (This)->lpVtbl->AddCodecInfo(This,name,description,codec_type,codec_info_cnt,codec_info) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo3_QueryInterface(IWMHeaderInfo3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMHeaderInfo3_AddRef(IWMHeaderInfo3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMHeaderInfo3_Release(IWMHeaderInfo3* This) { + return This->lpVtbl->Release(This); +} +/*** IWMHeaderInfo methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo3_GetAttributeCount(IWMHeaderInfo3* This,WORD stream_num,WORD *attributes) { + return This->lpVtbl->GetAttributeCount(This,stream_num,attributes); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetAttributeByIndex(IWMHeaderInfo3* This,WORD index,WORD *stream_num,WCHAR *name,WORD *name_len,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetAttributeByIndex(This,index,stream_num,name,name_len,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetAttributeByName(IWMHeaderInfo3* This,WORD *stream_num,LPCWSTR name,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetAttributeByName(This,stream_num,name,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_SetAttribute(IWMHeaderInfo3* This,WORD stream_num,LPCWSTR name,WMT_ATTR_DATATYPE type,const BYTE *value,WORD length) { + return This->lpVtbl->SetAttribute(This,stream_num,name,type,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetMarkerCount(IWMHeaderInfo3* This,WORD *markers) { + return This->lpVtbl->GetMarkerCount(This,markers); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetMarker(IWMHeaderInfo3* This,WORD index,WCHAR *marker_name,WORD *marker_len,QWORD *marker_time) { + return This->lpVtbl->GetMarker(This,index,marker_name,marker_len,marker_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_AddMarker(IWMHeaderInfo3* This,LPCWSTR_WMSDK_TYPE_SAFE marker_name,QWORD marker_time) { + return This->lpVtbl->AddMarker(This,marker_name,marker_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_RemoveMarker(IWMHeaderInfo3* This,WORD index) { + return This->lpVtbl->RemoveMarker(This,index); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetScriptCount(IWMHeaderInfo3* This,WORD *scripts) { + return This->lpVtbl->GetScriptCount(This,scripts); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetScript(IWMHeaderInfo3* This,WORD index,WCHAR *type,WORD *type_len,WCHAR *command,WORD *command_len,QWORD *script_time) { + return This->lpVtbl->GetScript(This,index,type,type_len,command,command_len,script_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_AddScript(IWMHeaderInfo3* This,LPCWSTR_WMSDK_TYPE_SAFE type,LPCWSTR_WMSDK_TYPE_SAFE command,QWORD script_time) { + return This->lpVtbl->AddScript(This,type,command,script_time); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_RemoveScript(IWMHeaderInfo3* This,WORD index) { + return This->lpVtbl->RemoveScript(This,index); +} +/*** IWMHeaderInfo2 methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo3_GetCodecInfoCount(IWMHeaderInfo3* This,DWORD *codec_infos) { + return This->lpVtbl->GetCodecInfoCount(This,codec_infos); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetCodecInfo(IWMHeaderInfo3* This,DWORD index,WORD *name_len,WCHAR *name,WORD *description_len,WCHAR *description,WMT_CODEC_INFO_TYPE *codec_type,WORD *codec_info_cnt,BYTE *codec_info) { + return This->lpVtbl->GetCodecInfo(This,index,name_len,name,description_len,description,codec_type,codec_info_cnt,codec_info); +} +/*** IWMHeaderInfo3 methods ***/ +static FORCEINLINE HRESULT IWMHeaderInfo3_GetAttributeCountEx(IWMHeaderInfo3* This,WORD stream_num,WORD *attributes) { + return This->lpVtbl->GetAttributeCountEx(This,stream_num,attributes); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetAttributeIndices(IWMHeaderInfo3* This,WORD stream_num,LPCWSTR name,WORD *lang_index,WORD *indices,WORD *count) { + return This->lpVtbl->GetAttributeIndices(This,stream_num,name,lang_index,indices,count); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_GetAttributeByIndexEx(IWMHeaderInfo3* This,WORD stream_num,WORD index,LPWSTR name,WORD *name_len,WMT_ATTR_DATATYPE *type,WORD *lang_index,BYTE *value,DWORD *data_len) { + return This->lpVtbl->GetAttributeByIndexEx(This,stream_num,index,name,name_len,type,lang_index,value,data_len); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_ModifyAttribute(IWMHeaderInfo3* This,WORD stream_num,WORD index,WMT_ATTR_DATATYPE type,WORD lang_index,const BYTE *value,DWORD length) { + return This->lpVtbl->ModifyAttribute(This,stream_num,index,type,lang_index,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_AddAttribute(IWMHeaderInfo3* This,WORD stream_num,LPCWSTR name,WORD *index,WMT_ATTR_DATATYPE type,WORD lang_index,const BYTE *value,DWORD length) { + return This->lpVtbl->AddAttribute(This,stream_num,name,index,type,lang_index,value,length); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_DeleteAttribute(IWMHeaderInfo3* This,WORD stream_num,WORD index) { + return This->lpVtbl->DeleteAttribute(This,stream_num,index); +} +static FORCEINLINE HRESULT IWMHeaderInfo3_AddCodecInfo(IWMHeaderInfo3* This,LPCWSTR_WMSDK_TYPE_SAFE name,LPCWSTR_WMSDK_TYPE_SAFE description,WMT_CODEC_INFO_TYPE codec_type,WORD codec_info_cnt,BYTE *codec_info) { + return This->lpVtbl->AddCodecInfo(This,name,description,codec_type,codec_info_cnt,codec_info); +} +#endif +#endif + +#endif + + +#endif /* __IWMHeaderInfo3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderNetworkConfig interface + */ +#ifndef __IWMReaderNetworkConfig_INTERFACE_DEFINED__ +#define __IWMReaderNetworkConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderNetworkConfig, 0x96406bec, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bec-2b2b-11d3-b36b-00c04f6108ff") +IWMReaderNetworkConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetBufferingTime( + QWORD *buffering_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBufferingTime( + QWORD buffering_time) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUDPPortRanges( + WM_PORT_NUMBER_RANGE *array, + DWORD *ranges) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetUDPPortRanges( + WM_PORT_NUMBER_RANGE *array, + DWORD ranges) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProxySettings( + const WCHAR *protocol, + WMT_PROXY_SETTINGS *proxy) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProxySettings( + LPCWSTR protocol, + WMT_PROXY_SETTINGS proxy) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProxyHostName( + const WCHAR *protocol, + WCHAR *hostname, + DWORD *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProxyHostName( + const WCHAR *protocol, + const WCHAR *hostname) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProxyPort( + const WCHAR *protocol, + DWORD *port) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProxyPort( + const WCHAR *protocol, + DWORD port) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProxyExceptionList( + const WCHAR *protocol, + WCHAR *exceptions, + DWORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProxyExceptionList( + const WCHAR *protocol, + const WCHAR *exceptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProxyBypassForLocal( + const WCHAR *protocol, + BOOL *bypass) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProxyBypassForLocal( + const WCHAR *protocol, + BOOL bypass) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetForceRerunAutoProxyDetection( + BOOL *detection) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetForceRerunAutoProxyDetection( + BOOL detection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableMulticast( + BOOL *multicast) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableMulticast( + BOOL multicast) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableHTTP( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableHTTP( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableUDP( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableUDP( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableTCP( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableTCP( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetProtocolRollover( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionBandwidth( + DWORD *bandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConnectionBandwidth( + DWORD bandwidth) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumProtocolsSupported( + DWORD *protocols) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSupportedProtocolName( + DWORD protocol_num, + WCHAR *protocol, + DWORD *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddLoggingUrl( + const WCHAR *url) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLoggingUrl( + DWORD index, + WCHAR *url, + DWORD *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLoggingUrlCount( + DWORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResetLoggingUrlList( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderNetworkConfig, 0x96406bec, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMReaderNetworkConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderNetworkConfig *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderNetworkConfig *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderNetworkConfig *This); + + /*** IWMReaderNetworkConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBufferingTime)( + IWMReaderNetworkConfig *This, + QWORD *buffering_time); + + HRESULT (STDMETHODCALLTYPE *SetBufferingTime)( + IWMReaderNetworkConfig *This, + QWORD buffering_time); + + HRESULT (STDMETHODCALLTYPE *GetUDPPortRanges)( + IWMReaderNetworkConfig *This, + WM_PORT_NUMBER_RANGE *array, + DWORD *ranges); + + HRESULT (STDMETHODCALLTYPE *SetUDPPortRanges)( + IWMReaderNetworkConfig *This, + WM_PORT_NUMBER_RANGE *array, + DWORD ranges); + + HRESULT (STDMETHODCALLTYPE *GetProxySettings)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + WMT_PROXY_SETTINGS *proxy); + + HRESULT (STDMETHODCALLTYPE *SetProxySettings)( + IWMReaderNetworkConfig *This, + LPCWSTR protocol, + WMT_PROXY_SETTINGS proxy); + + HRESULT (STDMETHODCALLTYPE *GetProxyHostName)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + WCHAR *hostname, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *SetProxyHostName)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + const WCHAR *hostname); + + HRESULT (STDMETHODCALLTYPE *GetProxyPort)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + DWORD *port); + + HRESULT (STDMETHODCALLTYPE *SetProxyPort)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + DWORD port); + + HRESULT (STDMETHODCALLTYPE *GetProxyExceptionList)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + WCHAR *exceptions, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *SetProxyExceptionList)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + const WCHAR *exceptions); + + HRESULT (STDMETHODCALLTYPE *GetProxyBypassForLocal)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + BOOL *bypass); + + HRESULT (STDMETHODCALLTYPE *SetProxyBypassForLocal)( + IWMReaderNetworkConfig *This, + const WCHAR *protocol, + BOOL bypass); + + HRESULT (STDMETHODCALLTYPE *GetForceRerunAutoProxyDetection)( + IWMReaderNetworkConfig *This, + BOOL *detection); + + HRESULT (STDMETHODCALLTYPE *SetForceRerunAutoProxyDetection)( + IWMReaderNetworkConfig *This, + BOOL detection); + + HRESULT (STDMETHODCALLTYPE *GetEnableMulticast)( + IWMReaderNetworkConfig *This, + BOOL *multicast); + + HRESULT (STDMETHODCALLTYPE *SetEnableMulticast)( + IWMReaderNetworkConfig *This, + BOOL multicast); + + HRESULT (STDMETHODCALLTYPE *GetEnableHTTP)( + IWMReaderNetworkConfig *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableHTTP)( + IWMReaderNetworkConfig *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetEnableUDP)( + IWMReaderNetworkConfig *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableUDP)( + IWMReaderNetworkConfig *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetEnableTCP)( + IWMReaderNetworkConfig *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableTCP)( + IWMReaderNetworkConfig *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *ResetProtocolRollover)( + IWMReaderNetworkConfig *This); + + HRESULT (STDMETHODCALLTYPE *GetConnectionBandwidth)( + IWMReaderNetworkConfig *This, + DWORD *bandwidth); + + HRESULT (STDMETHODCALLTYPE *SetConnectionBandwidth)( + IWMReaderNetworkConfig *This, + DWORD bandwidth); + + HRESULT (STDMETHODCALLTYPE *GetNumProtocolsSupported)( + IWMReaderNetworkConfig *This, + DWORD *protocols); + + HRESULT (STDMETHODCALLTYPE *GetSupportedProtocolName)( + IWMReaderNetworkConfig *This, + DWORD protocol_num, + WCHAR *protocol, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *AddLoggingUrl)( + IWMReaderNetworkConfig *This, + const WCHAR *url); + + HRESULT (STDMETHODCALLTYPE *GetLoggingUrl)( + IWMReaderNetworkConfig *This, + DWORD index, + WCHAR *url, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *GetLoggingUrlCount)( + IWMReaderNetworkConfig *This, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *ResetLoggingUrlList)( + IWMReaderNetworkConfig *This); + + END_INTERFACE +} IWMReaderNetworkConfigVtbl; + +interface IWMReaderNetworkConfig { + CONST_VTBL IWMReaderNetworkConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderNetworkConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderNetworkConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderNetworkConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderNetworkConfig methods ***/ +#define IWMReaderNetworkConfig_GetBufferingTime(This,buffering_time) (This)->lpVtbl->GetBufferingTime(This,buffering_time) +#define IWMReaderNetworkConfig_SetBufferingTime(This,buffering_time) (This)->lpVtbl->SetBufferingTime(This,buffering_time) +#define IWMReaderNetworkConfig_GetUDPPortRanges(This,array,ranges) (This)->lpVtbl->GetUDPPortRanges(This,array,ranges) +#define IWMReaderNetworkConfig_SetUDPPortRanges(This,array,ranges) (This)->lpVtbl->SetUDPPortRanges(This,array,ranges) +#define IWMReaderNetworkConfig_GetProxySettings(This,protocol,proxy) (This)->lpVtbl->GetProxySettings(This,protocol,proxy) +#define IWMReaderNetworkConfig_SetProxySettings(This,protocol,proxy) (This)->lpVtbl->SetProxySettings(This,protocol,proxy) +#define IWMReaderNetworkConfig_GetProxyHostName(This,protocol,hostname,size) (This)->lpVtbl->GetProxyHostName(This,protocol,hostname,size) +#define IWMReaderNetworkConfig_SetProxyHostName(This,protocol,hostname) (This)->lpVtbl->SetProxyHostName(This,protocol,hostname) +#define IWMReaderNetworkConfig_GetProxyPort(This,protocol,port) (This)->lpVtbl->GetProxyPort(This,protocol,port) +#define IWMReaderNetworkConfig_SetProxyPort(This,protocol,port) (This)->lpVtbl->SetProxyPort(This,protocol,port) +#define IWMReaderNetworkConfig_GetProxyExceptionList(This,protocol,exceptions,count) (This)->lpVtbl->GetProxyExceptionList(This,protocol,exceptions,count) +#define IWMReaderNetworkConfig_SetProxyExceptionList(This,protocol,exceptions) (This)->lpVtbl->SetProxyExceptionList(This,protocol,exceptions) +#define IWMReaderNetworkConfig_GetProxyBypassForLocal(This,protocol,bypass) (This)->lpVtbl->GetProxyBypassForLocal(This,protocol,bypass) +#define IWMReaderNetworkConfig_SetProxyBypassForLocal(This,protocol,bypass) (This)->lpVtbl->SetProxyBypassForLocal(This,protocol,bypass) +#define IWMReaderNetworkConfig_GetForceRerunAutoProxyDetection(This,detection) (This)->lpVtbl->GetForceRerunAutoProxyDetection(This,detection) +#define IWMReaderNetworkConfig_SetForceRerunAutoProxyDetection(This,detection) (This)->lpVtbl->SetForceRerunAutoProxyDetection(This,detection) +#define IWMReaderNetworkConfig_GetEnableMulticast(This,multicast) (This)->lpVtbl->GetEnableMulticast(This,multicast) +#define IWMReaderNetworkConfig_SetEnableMulticast(This,multicast) (This)->lpVtbl->SetEnableMulticast(This,multicast) +#define IWMReaderNetworkConfig_GetEnableHTTP(This,enable) (This)->lpVtbl->GetEnableHTTP(This,enable) +#define IWMReaderNetworkConfig_SetEnableHTTP(This,enable) (This)->lpVtbl->SetEnableHTTP(This,enable) +#define IWMReaderNetworkConfig_GetEnableUDP(This,enable) (This)->lpVtbl->GetEnableUDP(This,enable) +#define IWMReaderNetworkConfig_SetEnableUDP(This,enable) (This)->lpVtbl->SetEnableUDP(This,enable) +#define IWMReaderNetworkConfig_GetEnableTCP(This,enable) (This)->lpVtbl->GetEnableTCP(This,enable) +#define IWMReaderNetworkConfig_SetEnableTCP(This,enable) (This)->lpVtbl->SetEnableTCP(This,enable) +#define IWMReaderNetworkConfig_ResetProtocolRollover(This) (This)->lpVtbl->ResetProtocolRollover(This) +#define IWMReaderNetworkConfig_GetConnectionBandwidth(This,bandwidth) (This)->lpVtbl->GetConnectionBandwidth(This,bandwidth) +#define IWMReaderNetworkConfig_SetConnectionBandwidth(This,bandwidth) (This)->lpVtbl->SetConnectionBandwidth(This,bandwidth) +#define IWMReaderNetworkConfig_GetNumProtocolsSupported(This,protocols) (This)->lpVtbl->GetNumProtocolsSupported(This,protocols) +#define IWMReaderNetworkConfig_GetSupportedProtocolName(This,protocol_num,protocol,size) (This)->lpVtbl->GetSupportedProtocolName(This,protocol_num,protocol,size) +#define IWMReaderNetworkConfig_AddLoggingUrl(This,url) (This)->lpVtbl->AddLoggingUrl(This,url) +#define IWMReaderNetworkConfig_GetLoggingUrl(This,index,url,size) (This)->lpVtbl->GetLoggingUrl(This,index,url,size) +#define IWMReaderNetworkConfig_GetLoggingUrlCount(This,count) (This)->lpVtbl->GetLoggingUrlCount(This,count) +#define IWMReaderNetworkConfig_ResetLoggingUrlList(This) (This)->lpVtbl->ResetLoggingUrlList(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderNetworkConfig_QueryInterface(IWMReaderNetworkConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderNetworkConfig_AddRef(IWMReaderNetworkConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderNetworkConfig_Release(IWMReaderNetworkConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderNetworkConfig methods ***/ +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetBufferingTime(IWMReaderNetworkConfig* This,QWORD *buffering_time) { + return This->lpVtbl->GetBufferingTime(This,buffering_time); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetBufferingTime(IWMReaderNetworkConfig* This,QWORD buffering_time) { + return This->lpVtbl->SetBufferingTime(This,buffering_time); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetUDPPortRanges(IWMReaderNetworkConfig* This,WM_PORT_NUMBER_RANGE *array,DWORD *ranges) { + return This->lpVtbl->GetUDPPortRanges(This,array,ranges); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetUDPPortRanges(IWMReaderNetworkConfig* This,WM_PORT_NUMBER_RANGE *array,DWORD ranges) { + return This->lpVtbl->SetUDPPortRanges(This,array,ranges); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetProxySettings(IWMReaderNetworkConfig* This,const WCHAR *protocol,WMT_PROXY_SETTINGS *proxy) { + return This->lpVtbl->GetProxySettings(This,protocol,proxy); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetProxySettings(IWMReaderNetworkConfig* This,LPCWSTR protocol,WMT_PROXY_SETTINGS proxy) { + return This->lpVtbl->SetProxySettings(This,protocol,proxy); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetProxyHostName(IWMReaderNetworkConfig* This,const WCHAR *protocol,WCHAR *hostname,DWORD *size) { + return This->lpVtbl->GetProxyHostName(This,protocol,hostname,size); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetProxyHostName(IWMReaderNetworkConfig* This,const WCHAR *protocol,const WCHAR *hostname) { + return This->lpVtbl->SetProxyHostName(This,protocol,hostname); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetProxyPort(IWMReaderNetworkConfig* This,const WCHAR *protocol,DWORD *port) { + return This->lpVtbl->GetProxyPort(This,protocol,port); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetProxyPort(IWMReaderNetworkConfig* This,const WCHAR *protocol,DWORD port) { + return This->lpVtbl->SetProxyPort(This,protocol,port); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetProxyExceptionList(IWMReaderNetworkConfig* This,const WCHAR *protocol,WCHAR *exceptions,DWORD *count) { + return This->lpVtbl->GetProxyExceptionList(This,protocol,exceptions,count); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetProxyExceptionList(IWMReaderNetworkConfig* This,const WCHAR *protocol,const WCHAR *exceptions) { + return This->lpVtbl->SetProxyExceptionList(This,protocol,exceptions); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetProxyBypassForLocal(IWMReaderNetworkConfig* This,const WCHAR *protocol,BOOL *bypass) { + return This->lpVtbl->GetProxyBypassForLocal(This,protocol,bypass); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetProxyBypassForLocal(IWMReaderNetworkConfig* This,const WCHAR *protocol,BOOL bypass) { + return This->lpVtbl->SetProxyBypassForLocal(This,protocol,bypass); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetForceRerunAutoProxyDetection(IWMReaderNetworkConfig* This,BOOL *detection) { + return This->lpVtbl->GetForceRerunAutoProxyDetection(This,detection); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetForceRerunAutoProxyDetection(IWMReaderNetworkConfig* This,BOOL detection) { + return This->lpVtbl->SetForceRerunAutoProxyDetection(This,detection); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetEnableMulticast(IWMReaderNetworkConfig* This,BOOL *multicast) { + return This->lpVtbl->GetEnableMulticast(This,multicast); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetEnableMulticast(IWMReaderNetworkConfig* This,BOOL multicast) { + return This->lpVtbl->SetEnableMulticast(This,multicast); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetEnableHTTP(IWMReaderNetworkConfig* This,BOOL *enable) { + return This->lpVtbl->GetEnableHTTP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetEnableHTTP(IWMReaderNetworkConfig* This,BOOL enable) { + return This->lpVtbl->SetEnableHTTP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetEnableUDP(IWMReaderNetworkConfig* This,BOOL *enable) { + return This->lpVtbl->GetEnableUDP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetEnableUDP(IWMReaderNetworkConfig* This,BOOL enable) { + return This->lpVtbl->SetEnableUDP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetEnableTCP(IWMReaderNetworkConfig* This,BOOL *enable) { + return This->lpVtbl->GetEnableTCP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetEnableTCP(IWMReaderNetworkConfig* This,BOOL enable) { + return This->lpVtbl->SetEnableTCP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_ResetProtocolRollover(IWMReaderNetworkConfig* This) { + return This->lpVtbl->ResetProtocolRollover(This); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetConnectionBandwidth(IWMReaderNetworkConfig* This,DWORD *bandwidth) { + return This->lpVtbl->GetConnectionBandwidth(This,bandwidth); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_SetConnectionBandwidth(IWMReaderNetworkConfig* This,DWORD bandwidth) { + return This->lpVtbl->SetConnectionBandwidth(This,bandwidth); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetNumProtocolsSupported(IWMReaderNetworkConfig* This,DWORD *protocols) { + return This->lpVtbl->GetNumProtocolsSupported(This,protocols); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetSupportedProtocolName(IWMReaderNetworkConfig* This,DWORD protocol_num,WCHAR *protocol,DWORD *size) { + return This->lpVtbl->GetSupportedProtocolName(This,protocol_num,protocol,size); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_AddLoggingUrl(IWMReaderNetworkConfig* This,const WCHAR *url) { + return This->lpVtbl->AddLoggingUrl(This,url); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetLoggingUrl(IWMReaderNetworkConfig* This,DWORD index,WCHAR *url,DWORD *size) { + return This->lpVtbl->GetLoggingUrl(This,index,url,size); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_GetLoggingUrlCount(IWMReaderNetworkConfig* This,DWORD *count) { + return This->lpVtbl->GetLoggingUrlCount(This,count); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig_ResetLoggingUrlList(IWMReaderNetworkConfig* This) { + return This->lpVtbl->ResetLoggingUrlList(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderNetworkConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderNetworkConfig2 interface + */ +#ifndef __IWMReaderNetworkConfig2_INTERFACE_DEFINED__ +#define __IWMReaderNetworkConfig2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderNetworkConfig2, 0xd979a853, 0x042b, 0x4050, 0x83,0x87, 0xc9,0x39,0xdb,0x22,0x01,0x3f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d979a853-042b-4050-8387-c939db22013f") +IWMReaderNetworkConfig2 : public IWMReaderNetworkConfig +{ + virtual HRESULT STDMETHODCALLTYPE GetEnableContentCaching( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableContentCaching( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableFastCache( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableFastCache( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAcceleratedStreamingDuration( + QWORD *duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAcceleratedStreamingDuration( + QWORD duration) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAutoReconnectLimit( + DWORD *limit) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAutoReconnectLimit( + DWORD limit) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableResends( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableResends( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnableThinning( + BOOL *enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnableThinning( + BOOL enable) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxNetPacketSize( + DWORD *packet_size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderNetworkConfig2, 0xd979a853, 0x042b, 0x4050, 0x83,0x87, 0xc9,0x39,0xdb,0x22,0x01,0x3f) +#endif +#else +typedef struct IWMReaderNetworkConfig2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderNetworkConfig2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderNetworkConfig2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderNetworkConfig2 *This); + + /*** IWMReaderNetworkConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *GetBufferingTime)( + IWMReaderNetworkConfig2 *This, + QWORD *buffering_time); + + HRESULT (STDMETHODCALLTYPE *SetBufferingTime)( + IWMReaderNetworkConfig2 *This, + QWORD buffering_time); + + HRESULT (STDMETHODCALLTYPE *GetUDPPortRanges)( + IWMReaderNetworkConfig2 *This, + WM_PORT_NUMBER_RANGE *array, + DWORD *ranges); + + HRESULT (STDMETHODCALLTYPE *SetUDPPortRanges)( + IWMReaderNetworkConfig2 *This, + WM_PORT_NUMBER_RANGE *array, + DWORD ranges); + + HRESULT (STDMETHODCALLTYPE *GetProxySettings)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + WMT_PROXY_SETTINGS *proxy); + + HRESULT (STDMETHODCALLTYPE *SetProxySettings)( + IWMReaderNetworkConfig2 *This, + LPCWSTR protocol, + WMT_PROXY_SETTINGS proxy); + + HRESULT (STDMETHODCALLTYPE *GetProxyHostName)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + WCHAR *hostname, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *SetProxyHostName)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + const WCHAR *hostname); + + HRESULT (STDMETHODCALLTYPE *GetProxyPort)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + DWORD *port); + + HRESULT (STDMETHODCALLTYPE *SetProxyPort)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + DWORD port); + + HRESULT (STDMETHODCALLTYPE *GetProxyExceptionList)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + WCHAR *exceptions, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *SetProxyExceptionList)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + const WCHAR *exceptions); + + HRESULT (STDMETHODCALLTYPE *GetProxyBypassForLocal)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + BOOL *bypass); + + HRESULT (STDMETHODCALLTYPE *SetProxyBypassForLocal)( + IWMReaderNetworkConfig2 *This, + const WCHAR *protocol, + BOOL bypass); + + HRESULT (STDMETHODCALLTYPE *GetForceRerunAutoProxyDetection)( + IWMReaderNetworkConfig2 *This, + BOOL *detection); + + HRESULT (STDMETHODCALLTYPE *SetForceRerunAutoProxyDetection)( + IWMReaderNetworkConfig2 *This, + BOOL detection); + + HRESULT (STDMETHODCALLTYPE *GetEnableMulticast)( + IWMReaderNetworkConfig2 *This, + BOOL *multicast); + + HRESULT (STDMETHODCALLTYPE *SetEnableMulticast)( + IWMReaderNetworkConfig2 *This, + BOOL multicast); + + HRESULT (STDMETHODCALLTYPE *GetEnableHTTP)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableHTTP)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetEnableUDP)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableUDP)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetEnableTCP)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableTCP)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *ResetProtocolRollover)( + IWMReaderNetworkConfig2 *This); + + HRESULT (STDMETHODCALLTYPE *GetConnectionBandwidth)( + IWMReaderNetworkConfig2 *This, + DWORD *bandwidth); + + HRESULT (STDMETHODCALLTYPE *SetConnectionBandwidth)( + IWMReaderNetworkConfig2 *This, + DWORD bandwidth); + + HRESULT (STDMETHODCALLTYPE *GetNumProtocolsSupported)( + IWMReaderNetworkConfig2 *This, + DWORD *protocols); + + HRESULT (STDMETHODCALLTYPE *GetSupportedProtocolName)( + IWMReaderNetworkConfig2 *This, + DWORD protocol_num, + WCHAR *protocol, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *AddLoggingUrl)( + IWMReaderNetworkConfig2 *This, + const WCHAR *url); + + HRESULT (STDMETHODCALLTYPE *GetLoggingUrl)( + IWMReaderNetworkConfig2 *This, + DWORD index, + WCHAR *url, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *GetLoggingUrlCount)( + IWMReaderNetworkConfig2 *This, + DWORD *count); + + HRESULT (STDMETHODCALLTYPE *ResetLoggingUrlList)( + IWMReaderNetworkConfig2 *This); + + /*** IWMReaderNetworkConfig2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetEnableContentCaching)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableContentCaching)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetEnableFastCache)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableFastCache)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetAcceleratedStreamingDuration)( + IWMReaderNetworkConfig2 *This, + QWORD *duration); + + HRESULT (STDMETHODCALLTYPE *SetAcceleratedStreamingDuration)( + IWMReaderNetworkConfig2 *This, + QWORD duration); + + HRESULT (STDMETHODCALLTYPE *GetAutoReconnectLimit)( + IWMReaderNetworkConfig2 *This, + DWORD *limit); + + HRESULT (STDMETHODCALLTYPE *SetAutoReconnectLimit)( + IWMReaderNetworkConfig2 *This, + DWORD limit); + + HRESULT (STDMETHODCALLTYPE *GetEnableResends)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableResends)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetEnableThinning)( + IWMReaderNetworkConfig2 *This, + BOOL *enable); + + HRESULT (STDMETHODCALLTYPE *SetEnableThinning)( + IWMReaderNetworkConfig2 *This, + BOOL enable); + + HRESULT (STDMETHODCALLTYPE *GetMaxNetPacketSize)( + IWMReaderNetworkConfig2 *This, + DWORD *packet_size); + + END_INTERFACE +} IWMReaderNetworkConfig2Vtbl; + +interface IWMReaderNetworkConfig2 { + CONST_VTBL IWMReaderNetworkConfig2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderNetworkConfig2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderNetworkConfig2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderNetworkConfig2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderNetworkConfig methods ***/ +#define IWMReaderNetworkConfig2_GetBufferingTime(This,buffering_time) (This)->lpVtbl->GetBufferingTime(This,buffering_time) +#define IWMReaderNetworkConfig2_SetBufferingTime(This,buffering_time) (This)->lpVtbl->SetBufferingTime(This,buffering_time) +#define IWMReaderNetworkConfig2_GetUDPPortRanges(This,array,ranges) (This)->lpVtbl->GetUDPPortRanges(This,array,ranges) +#define IWMReaderNetworkConfig2_SetUDPPortRanges(This,array,ranges) (This)->lpVtbl->SetUDPPortRanges(This,array,ranges) +#define IWMReaderNetworkConfig2_GetProxySettings(This,protocol,proxy) (This)->lpVtbl->GetProxySettings(This,protocol,proxy) +#define IWMReaderNetworkConfig2_SetProxySettings(This,protocol,proxy) (This)->lpVtbl->SetProxySettings(This,protocol,proxy) +#define IWMReaderNetworkConfig2_GetProxyHostName(This,protocol,hostname,size) (This)->lpVtbl->GetProxyHostName(This,protocol,hostname,size) +#define IWMReaderNetworkConfig2_SetProxyHostName(This,protocol,hostname) (This)->lpVtbl->SetProxyHostName(This,protocol,hostname) +#define IWMReaderNetworkConfig2_GetProxyPort(This,protocol,port) (This)->lpVtbl->GetProxyPort(This,protocol,port) +#define IWMReaderNetworkConfig2_SetProxyPort(This,protocol,port) (This)->lpVtbl->SetProxyPort(This,protocol,port) +#define IWMReaderNetworkConfig2_GetProxyExceptionList(This,protocol,exceptions,count) (This)->lpVtbl->GetProxyExceptionList(This,protocol,exceptions,count) +#define IWMReaderNetworkConfig2_SetProxyExceptionList(This,protocol,exceptions) (This)->lpVtbl->SetProxyExceptionList(This,protocol,exceptions) +#define IWMReaderNetworkConfig2_GetProxyBypassForLocal(This,protocol,bypass) (This)->lpVtbl->GetProxyBypassForLocal(This,protocol,bypass) +#define IWMReaderNetworkConfig2_SetProxyBypassForLocal(This,protocol,bypass) (This)->lpVtbl->SetProxyBypassForLocal(This,protocol,bypass) +#define IWMReaderNetworkConfig2_GetForceRerunAutoProxyDetection(This,detection) (This)->lpVtbl->GetForceRerunAutoProxyDetection(This,detection) +#define IWMReaderNetworkConfig2_SetForceRerunAutoProxyDetection(This,detection) (This)->lpVtbl->SetForceRerunAutoProxyDetection(This,detection) +#define IWMReaderNetworkConfig2_GetEnableMulticast(This,multicast) (This)->lpVtbl->GetEnableMulticast(This,multicast) +#define IWMReaderNetworkConfig2_SetEnableMulticast(This,multicast) (This)->lpVtbl->SetEnableMulticast(This,multicast) +#define IWMReaderNetworkConfig2_GetEnableHTTP(This,enable) (This)->lpVtbl->GetEnableHTTP(This,enable) +#define IWMReaderNetworkConfig2_SetEnableHTTP(This,enable) (This)->lpVtbl->SetEnableHTTP(This,enable) +#define IWMReaderNetworkConfig2_GetEnableUDP(This,enable) (This)->lpVtbl->GetEnableUDP(This,enable) +#define IWMReaderNetworkConfig2_SetEnableUDP(This,enable) (This)->lpVtbl->SetEnableUDP(This,enable) +#define IWMReaderNetworkConfig2_GetEnableTCP(This,enable) (This)->lpVtbl->GetEnableTCP(This,enable) +#define IWMReaderNetworkConfig2_SetEnableTCP(This,enable) (This)->lpVtbl->SetEnableTCP(This,enable) +#define IWMReaderNetworkConfig2_ResetProtocolRollover(This) (This)->lpVtbl->ResetProtocolRollover(This) +#define IWMReaderNetworkConfig2_GetConnectionBandwidth(This,bandwidth) (This)->lpVtbl->GetConnectionBandwidth(This,bandwidth) +#define IWMReaderNetworkConfig2_SetConnectionBandwidth(This,bandwidth) (This)->lpVtbl->SetConnectionBandwidth(This,bandwidth) +#define IWMReaderNetworkConfig2_GetNumProtocolsSupported(This,protocols) (This)->lpVtbl->GetNumProtocolsSupported(This,protocols) +#define IWMReaderNetworkConfig2_GetSupportedProtocolName(This,protocol_num,protocol,size) (This)->lpVtbl->GetSupportedProtocolName(This,protocol_num,protocol,size) +#define IWMReaderNetworkConfig2_AddLoggingUrl(This,url) (This)->lpVtbl->AddLoggingUrl(This,url) +#define IWMReaderNetworkConfig2_GetLoggingUrl(This,index,url,size) (This)->lpVtbl->GetLoggingUrl(This,index,url,size) +#define IWMReaderNetworkConfig2_GetLoggingUrlCount(This,count) (This)->lpVtbl->GetLoggingUrlCount(This,count) +#define IWMReaderNetworkConfig2_ResetLoggingUrlList(This) (This)->lpVtbl->ResetLoggingUrlList(This) +/*** IWMReaderNetworkConfig2 methods ***/ +#define IWMReaderNetworkConfig2_GetEnableContentCaching(This,enable) (This)->lpVtbl->GetEnableContentCaching(This,enable) +#define IWMReaderNetworkConfig2_SetEnableContentCaching(This,enable) (This)->lpVtbl->SetEnableContentCaching(This,enable) +#define IWMReaderNetworkConfig2_GetEnableFastCache(This,enable) (This)->lpVtbl->GetEnableFastCache(This,enable) +#define IWMReaderNetworkConfig2_SetEnableFastCache(This,enable) (This)->lpVtbl->SetEnableFastCache(This,enable) +#define IWMReaderNetworkConfig2_GetAcceleratedStreamingDuration(This,duration) (This)->lpVtbl->GetAcceleratedStreamingDuration(This,duration) +#define IWMReaderNetworkConfig2_SetAcceleratedStreamingDuration(This,duration) (This)->lpVtbl->SetAcceleratedStreamingDuration(This,duration) +#define IWMReaderNetworkConfig2_GetAutoReconnectLimit(This,limit) (This)->lpVtbl->GetAutoReconnectLimit(This,limit) +#define IWMReaderNetworkConfig2_SetAutoReconnectLimit(This,limit) (This)->lpVtbl->SetAutoReconnectLimit(This,limit) +#define IWMReaderNetworkConfig2_GetEnableResends(This,enable) (This)->lpVtbl->GetEnableResends(This,enable) +#define IWMReaderNetworkConfig2_SetEnableResends(This,enable) (This)->lpVtbl->SetEnableResends(This,enable) +#define IWMReaderNetworkConfig2_GetEnableThinning(This,enable) (This)->lpVtbl->GetEnableThinning(This,enable) +#define IWMReaderNetworkConfig2_SetEnableThinning(This,enable) (This)->lpVtbl->SetEnableThinning(This,enable) +#define IWMReaderNetworkConfig2_GetMaxNetPacketSize(This,packet_size) (This)->lpVtbl->GetMaxNetPacketSize(This,packet_size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_QueryInterface(IWMReaderNetworkConfig2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderNetworkConfig2_AddRef(IWMReaderNetworkConfig2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderNetworkConfig2_Release(IWMReaderNetworkConfig2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderNetworkConfig methods ***/ +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetBufferingTime(IWMReaderNetworkConfig2* This,QWORD *buffering_time) { + return This->lpVtbl->GetBufferingTime(This,buffering_time); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetBufferingTime(IWMReaderNetworkConfig2* This,QWORD buffering_time) { + return This->lpVtbl->SetBufferingTime(This,buffering_time); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetUDPPortRanges(IWMReaderNetworkConfig2* This,WM_PORT_NUMBER_RANGE *array,DWORD *ranges) { + return This->lpVtbl->GetUDPPortRanges(This,array,ranges); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetUDPPortRanges(IWMReaderNetworkConfig2* This,WM_PORT_NUMBER_RANGE *array,DWORD ranges) { + return This->lpVtbl->SetUDPPortRanges(This,array,ranges); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetProxySettings(IWMReaderNetworkConfig2* This,const WCHAR *protocol,WMT_PROXY_SETTINGS *proxy) { + return This->lpVtbl->GetProxySettings(This,protocol,proxy); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetProxySettings(IWMReaderNetworkConfig2* This,LPCWSTR protocol,WMT_PROXY_SETTINGS proxy) { + return This->lpVtbl->SetProxySettings(This,protocol,proxy); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetProxyHostName(IWMReaderNetworkConfig2* This,const WCHAR *protocol,WCHAR *hostname,DWORD *size) { + return This->lpVtbl->GetProxyHostName(This,protocol,hostname,size); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetProxyHostName(IWMReaderNetworkConfig2* This,const WCHAR *protocol,const WCHAR *hostname) { + return This->lpVtbl->SetProxyHostName(This,protocol,hostname); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetProxyPort(IWMReaderNetworkConfig2* This,const WCHAR *protocol,DWORD *port) { + return This->lpVtbl->GetProxyPort(This,protocol,port); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetProxyPort(IWMReaderNetworkConfig2* This,const WCHAR *protocol,DWORD port) { + return This->lpVtbl->SetProxyPort(This,protocol,port); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetProxyExceptionList(IWMReaderNetworkConfig2* This,const WCHAR *protocol,WCHAR *exceptions,DWORD *count) { + return This->lpVtbl->GetProxyExceptionList(This,protocol,exceptions,count); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetProxyExceptionList(IWMReaderNetworkConfig2* This,const WCHAR *protocol,const WCHAR *exceptions) { + return This->lpVtbl->SetProxyExceptionList(This,protocol,exceptions); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetProxyBypassForLocal(IWMReaderNetworkConfig2* This,const WCHAR *protocol,BOOL *bypass) { + return This->lpVtbl->GetProxyBypassForLocal(This,protocol,bypass); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetProxyBypassForLocal(IWMReaderNetworkConfig2* This,const WCHAR *protocol,BOOL bypass) { + return This->lpVtbl->SetProxyBypassForLocal(This,protocol,bypass); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetForceRerunAutoProxyDetection(IWMReaderNetworkConfig2* This,BOOL *detection) { + return This->lpVtbl->GetForceRerunAutoProxyDetection(This,detection); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetForceRerunAutoProxyDetection(IWMReaderNetworkConfig2* This,BOOL detection) { + return This->lpVtbl->SetForceRerunAutoProxyDetection(This,detection); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableMulticast(IWMReaderNetworkConfig2* This,BOOL *multicast) { + return This->lpVtbl->GetEnableMulticast(This,multicast); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableMulticast(IWMReaderNetworkConfig2* This,BOOL multicast) { + return This->lpVtbl->SetEnableMulticast(This,multicast); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableHTTP(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableHTTP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableHTTP(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableHTTP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableUDP(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableUDP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableUDP(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableUDP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableTCP(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableTCP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableTCP(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableTCP(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_ResetProtocolRollover(IWMReaderNetworkConfig2* This) { + return This->lpVtbl->ResetProtocolRollover(This); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetConnectionBandwidth(IWMReaderNetworkConfig2* This,DWORD *bandwidth) { + return This->lpVtbl->GetConnectionBandwidth(This,bandwidth); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetConnectionBandwidth(IWMReaderNetworkConfig2* This,DWORD bandwidth) { + return This->lpVtbl->SetConnectionBandwidth(This,bandwidth); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetNumProtocolsSupported(IWMReaderNetworkConfig2* This,DWORD *protocols) { + return This->lpVtbl->GetNumProtocolsSupported(This,protocols); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetSupportedProtocolName(IWMReaderNetworkConfig2* This,DWORD protocol_num,WCHAR *protocol,DWORD *size) { + return This->lpVtbl->GetSupportedProtocolName(This,protocol_num,protocol,size); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_AddLoggingUrl(IWMReaderNetworkConfig2* This,const WCHAR *url) { + return This->lpVtbl->AddLoggingUrl(This,url); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetLoggingUrl(IWMReaderNetworkConfig2* This,DWORD index,WCHAR *url,DWORD *size) { + return This->lpVtbl->GetLoggingUrl(This,index,url,size); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetLoggingUrlCount(IWMReaderNetworkConfig2* This,DWORD *count) { + return This->lpVtbl->GetLoggingUrlCount(This,count); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_ResetLoggingUrlList(IWMReaderNetworkConfig2* This) { + return This->lpVtbl->ResetLoggingUrlList(This); +} +/*** IWMReaderNetworkConfig2 methods ***/ +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableContentCaching(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableContentCaching(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableContentCaching(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableContentCaching(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableFastCache(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableFastCache(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableFastCache(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableFastCache(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetAcceleratedStreamingDuration(IWMReaderNetworkConfig2* This,QWORD *duration) { + return This->lpVtbl->GetAcceleratedStreamingDuration(This,duration); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetAcceleratedStreamingDuration(IWMReaderNetworkConfig2* This,QWORD duration) { + return This->lpVtbl->SetAcceleratedStreamingDuration(This,duration); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetAutoReconnectLimit(IWMReaderNetworkConfig2* This,DWORD *limit) { + return This->lpVtbl->GetAutoReconnectLimit(This,limit); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetAutoReconnectLimit(IWMReaderNetworkConfig2* This,DWORD limit) { + return This->lpVtbl->SetAutoReconnectLimit(This,limit); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableResends(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableResends(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableResends(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableResends(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetEnableThinning(IWMReaderNetworkConfig2* This,BOOL *enable) { + return This->lpVtbl->GetEnableThinning(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_SetEnableThinning(IWMReaderNetworkConfig2* This,BOOL enable) { + return This->lpVtbl->SetEnableThinning(This,enable); +} +static FORCEINLINE HRESULT IWMReaderNetworkConfig2_GetMaxNetPacketSize(IWMReaderNetworkConfig2* This,DWORD *packet_size) { + return This->lpVtbl->GetMaxNetPacketSize(This,packet_size); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderNetworkConfig2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderStreamClock interface + */ +#ifndef __IWMReaderStreamClock_INTERFACE_DEFINED__ +#define __IWMReaderStreamClock_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderStreamClock, 0x96406bed, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bed-2b2b-11d3-b36b-00c04f6108ff") +IWMReaderStreamClock : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetTime( + QWORD *now) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTimer( + QWORD when, + void *param, + DWORD *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE KillTimer( + DWORD id) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderStreamClock, 0x96406bed, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMReaderStreamClockVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderStreamClock *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderStreamClock *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderStreamClock *This); + + /*** IWMReaderStreamClock methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTime)( + IWMReaderStreamClock *This, + QWORD *now); + + HRESULT (STDMETHODCALLTYPE *SetTimer)( + IWMReaderStreamClock *This, + QWORD when, + void *param, + DWORD *id); + + HRESULT (STDMETHODCALLTYPE *KillTimer)( + IWMReaderStreamClock *This, + DWORD id); + + END_INTERFACE +} IWMReaderStreamClockVtbl; + +interface IWMReaderStreamClock { + CONST_VTBL IWMReaderStreamClockVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderStreamClock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderStreamClock_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderStreamClock_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderStreamClock methods ***/ +#define IWMReaderStreamClock_GetTime(This,now) (This)->lpVtbl->GetTime(This,now) +#define IWMReaderStreamClock_SetTimer(This,when,param,id) (This)->lpVtbl->SetTimer(This,when,param,id) +#define IWMReaderStreamClock_KillTimer(This,id) (This)->lpVtbl->KillTimer(This,id) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderStreamClock_QueryInterface(IWMReaderStreamClock* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderStreamClock_AddRef(IWMReaderStreamClock* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderStreamClock_Release(IWMReaderStreamClock* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderStreamClock methods ***/ +static FORCEINLINE HRESULT IWMReaderStreamClock_GetTime(IWMReaderStreamClock* This,QWORD *now) { + return This->lpVtbl->GetTime(This,now); +} +static FORCEINLINE HRESULT IWMReaderStreamClock_SetTimer(IWMReaderStreamClock* This,QWORD when,void *param,DWORD *id) { + return This->lpVtbl->SetTimer(This,when,param,id); +} +static FORCEINLINE HRESULT IWMReaderStreamClock_KillTimer(IWMReaderStreamClock* This,DWORD id) { + return This->lpVtbl->KillTimer(This,id); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderStreamClock_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPacketSize interface + */ +#ifndef __IWMPacketSize_INTERFACE_DEFINED__ +#define __IWMPacketSize_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPacketSize, 0xcdfb97ab, 0x188f, 0x40b3, 0xb6,0x43, 0x5b,0x79,0x03,0x97,0x5c,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("cdfb97ab-188f-40b3-b643-5b7903975c59") +IWMPacketSize : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetMaxPacketSize( + DWORD *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMaxPacketSize( + DWORD size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPacketSize, 0xcdfb97ab, 0x188f, 0x40b3, 0xb6,0x43, 0x5b,0x79,0x03,0x97,0x5c,0x59) +#endif +#else +typedef struct IWMPacketSizeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPacketSize *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPacketSize *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPacketSize *This); + + /*** IWMPacketSize methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMaxPacketSize)( + IWMPacketSize *This, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *SetMaxPacketSize)( + IWMPacketSize *This, + DWORD size); + + END_INTERFACE +} IWMPacketSizeVtbl; + +interface IWMPacketSize { + CONST_VTBL IWMPacketSizeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPacketSize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPacketSize_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPacketSize_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPacketSize methods ***/ +#define IWMPacketSize_GetMaxPacketSize(This,size) (This)->lpVtbl->GetMaxPacketSize(This,size) +#define IWMPacketSize_SetMaxPacketSize(This,size) (This)->lpVtbl->SetMaxPacketSize(This,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPacketSize_QueryInterface(IWMPacketSize* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPacketSize_AddRef(IWMPacketSize* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPacketSize_Release(IWMPacketSize* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPacketSize methods ***/ +static FORCEINLINE HRESULT IWMPacketSize_GetMaxPacketSize(IWMPacketSize* This,DWORD *size) { + return This->lpVtbl->GetMaxPacketSize(This,size); +} +static FORCEINLINE HRESULT IWMPacketSize_SetMaxPacketSize(IWMPacketSize* This,DWORD size) { + return This->lpVtbl->SetMaxPacketSize(This,size); +} +#endif +#endif + +#endif + + +#endif /* __IWMPacketSize_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMPacketSize2 interface + */ +#ifndef __IWMPacketSize2_INTERFACE_DEFINED__ +#define __IWMPacketSize2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMPacketSize2, 0x8bfc2b9e, 0xb646, 0x4233, 0xa8,0x77, 0x1c,0x6a,0x07,0x96,0x69,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8bfc2b9e-b646-4233-a877-1c6a079669dc") +IWMPacketSize2 : public IWMPacketSize +{ + virtual HRESULT STDMETHODCALLTYPE GetMinPacketSize( + DWORD *size) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMinPacketSize( + DWORD size) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMPacketSize2, 0x8bfc2b9e, 0xb646, 0x4233, 0xa8,0x77, 0x1c,0x6a,0x07,0x96,0x69,0xdc) +#endif +#else +typedef struct IWMPacketSize2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMPacketSize2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMPacketSize2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMPacketSize2 *This); + + /*** IWMPacketSize methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMaxPacketSize)( + IWMPacketSize2 *This, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *SetMaxPacketSize)( + IWMPacketSize2 *This, + DWORD size); + + /*** IWMPacketSize2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetMinPacketSize)( + IWMPacketSize2 *This, + DWORD *size); + + HRESULT (STDMETHODCALLTYPE *SetMinPacketSize)( + IWMPacketSize2 *This, + DWORD size); + + END_INTERFACE +} IWMPacketSize2Vtbl; + +interface IWMPacketSize2 { + CONST_VTBL IWMPacketSize2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMPacketSize2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMPacketSize2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMPacketSize2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMPacketSize methods ***/ +#define IWMPacketSize2_GetMaxPacketSize(This,size) (This)->lpVtbl->GetMaxPacketSize(This,size) +#define IWMPacketSize2_SetMaxPacketSize(This,size) (This)->lpVtbl->SetMaxPacketSize(This,size) +/*** IWMPacketSize2 methods ***/ +#define IWMPacketSize2_GetMinPacketSize(This,size) (This)->lpVtbl->GetMinPacketSize(This,size) +#define IWMPacketSize2_SetMinPacketSize(This,size) (This)->lpVtbl->SetMinPacketSize(This,size) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMPacketSize2_QueryInterface(IWMPacketSize2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMPacketSize2_AddRef(IWMPacketSize2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMPacketSize2_Release(IWMPacketSize2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMPacketSize methods ***/ +static FORCEINLINE HRESULT IWMPacketSize2_GetMaxPacketSize(IWMPacketSize2* This,DWORD *size) { + return This->lpVtbl->GetMaxPacketSize(This,size); +} +static FORCEINLINE HRESULT IWMPacketSize2_SetMaxPacketSize(IWMPacketSize2* This,DWORD size) { + return This->lpVtbl->SetMaxPacketSize(This,size); +} +/*** IWMPacketSize2 methods ***/ +static FORCEINLINE HRESULT IWMPacketSize2_GetMinPacketSize(IWMPacketSize2* This,DWORD *size) { + return This->lpVtbl->GetMinPacketSize(This,size); +} +static FORCEINLINE HRESULT IWMPacketSize2_SetMinPacketSize(IWMPacketSize2* This,DWORD size) { + return This->lpVtbl->SetMinPacketSize(This,size); +} +#endif +#endif + +#endif + + +#endif /* __IWMPacketSize2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMDRMReader interface + */ +#ifndef __IWMDRMReader_INTERFACE_DEFINED__ +#define __IWMDRMReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMDRMReader, 0xd2827540, 0x3ee7, 0x432c, 0xb1,0x4c, 0xdc,0x17,0xf0,0x85,0xd3,0xb3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d2827540-3ee7-432c-b14c-dc17f085d3b3") +IWMDRMReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AcquireLicense( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelLicenseAcquisition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Individualize( + DWORD flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelIndividualization( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MonitorLicenseAcquisition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CancelMonitorLicenseAcquisition( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDRMProperty( + const WCHAR *name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDRMProperty( + const WCHAR *name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMDRMReader, 0xd2827540, 0x3ee7, 0x432c, 0xb1,0x4c, 0xdc,0x17,0xf0,0x85,0xd3,0xb3) +#endif +#else +typedef struct IWMDRMReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMDRMReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMDRMReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMDRMReader *This); + + /*** IWMDRMReader methods ***/ + HRESULT (STDMETHODCALLTYPE *AcquireLicense)( + IWMDRMReader *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *CancelLicenseAcquisition)( + IWMDRMReader *This); + + HRESULT (STDMETHODCALLTYPE *Individualize)( + IWMDRMReader *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *CancelIndividualization)( + IWMDRMReader *This); + + HRESULT (STDMETHODCALLTYPE *MonitorLicenseAcquisition)( + IWMDRMReader *This); + + HRESULT (STDMETHODCALLTYPE *CancelMonitorLicenseAcquisition)( + IWMDRMReader *This); + + HRESULT (STDMETHODCALLTYPE *SetDRMProperty)( + IWMDRMReader *This, + const WCHAR *name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length); + + HRESULT (STDMETHODCALLTYPE *GetDRMProperty)( + IWMDRMReader *This, + const WCHAR *name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + END_INTERFACE +} IWMDRMReaderVtbl; + +interface IWMDRMReader { + CONST_VTBL IWMDRMReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMDRMReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMDRMReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMDRMReader_Release(This) (This)->lpVtbl->Release(This) +/*** IWMDRMReader methods ***/ +#define IWMDRMReader_AcquireLicense(This,flags) (This)->lpVtbl->AcquireLicense(This,flags) +#define IWMDRMReader_CancelLicenseAcquisition(This) (This)->lpVtbl->CancelLicenseAcquisition(This) +#define IWMDRMReader_Individualize(This,flags) (This)->lpVtbl->Individualize(This,flags) +#define IWMDRMReader_CancelIndividualization(This) (This)->lpVtbl->CancelIndividualization(This) +#define IWMDRMReader_MonitorLicenseAcquisition(This) (This)->lpVtbl->MonitorLicenseAcquisition(This) +#define IWMDRMReader_CancelMonitorLicenseAcquisition(This) (This)->lpVtbl->CancelMonitorLicenseAcquisition(This) +#define IWMDRMReader_SetDRMProperty(This,name,type,value,length) (This)->lpVtbl->SetDRMProperty(This,name,type,value,length) +#define IWMDRMReader_GetDRMProperty(This,name,type,value,length) (This)->lpVtbl->GetDRMProperty(This,name,type,value,length) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMDRMReader_QueryInterface(IWMDRMReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMDRMReader_AddRef(IWMDRMReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMDRMReader_Release(IWMDRMReader* This) { + return This->lpVtbl->Release(This); +} +/*** IWMDRMReader methods ***/ +static FORCEINLINE HRESULT IWMDRMReader_AcquireLicense(IWMDRMReader* This,DWORD flags) { + return This->lpVtbl->AcquireLicense(This,flags); +} +static FORCEINLINE HRESULT IWMDRMReader_CancelLicenseAcquisition(IWMDRMReader* This) { + return This->lpVtbl->CancelLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader_Individualize(IWMDRMReader* This,DWORD flags) { + return This->lpVtbl->Individualize(This,flags); +} +static FORCEINLINE HRESULT IWMDRMReader_CancelIndividualization(IWMDRMReader* This) { + return This->lpVtbl->CancelIndividualization(This); +} +static FORCEINLINE HRESULT IWMDRMReader_MonitorLicenseAcquisition(IWMDRMReader* This) { + return This->lpVtbl->MonitorLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader_CancelMonitorLicenseAcquisition(IWMDRMReader* This) { + return This->lpVtbl->CancelMonitorLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader_SetDRMProperty(IWMDRMReader* This,const WCHAR *name,WMT_ATTR_DATATYPE type,const BYTE *value,WORD length) { + return This->lpVtbl->SetDRMProperty(This,name,type,value,length); +} +static FORCEINLINE HRESULT IWMDRMReader_GetDRMProperty(IWMDRMReader* This,const WCHAR *name,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetDRMProperty(This,name,type,value,length); +} +#endif +#endif + +#endif + + +#endif /* __IWMDRMReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMDRMReader2 interface + */ +#ifndef __IWMDRMReader2_INTERFACE_DEFINED__ +#define __IWMDRMReader2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMDRMReader2, 0xbefe7a75, 0x9f1d, 0x4075, 0xb9,0xd9, 0xa3,0xc3,0x7b,0xda,0x49,0xa0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("befe7a75-9f1d-4075-b9d9-a3c37bda49a0") +IWMDRMReader2 : public IWMDRMReader +{ + virtual HRESULT STDMETHODCALLTYPE SetEvaluateOutputLevelLicenses( + BOOL evaluate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPlayOutputLevels( + DRM_PLAY_OPL *play, + DWORD *length, + DWORD *level) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCopyOutputLevels( + DRM_COPY_OPL *copy, + DWORD *length, + DWORD *level) = 0; + + virtual HRESULT STDMETHODCALLTYPE TryNextLicense( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMDRMReader2, 0xbefe7a75, 0x9f1d, 0x4075, 0xb9,0xd9, 0xa3,0xc3,0x7b,0xda,0x49,0xa0) +#endif +#else +typedef struct IWMDRMReader2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMDRMReader2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMDRMReader2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMDRMReader2 *This); + + /*** IWMDRMReader methods ***/ + HRESULT (STDMETHODCALLTYPE *AcquireLicense)( + IWMDRMReader2 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *CancelLicenseAcquisition)( + IWMDRMReader2 *This); + + HRESULT (STDMETHODCALLTYPE *Individualize)( + IWMDRMReader2 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *CancelIndividualization)( + IWMDRMReader2 *This); + + HRESULT (STDMETHODCALLTYPE *MonitorLicenseAcquisition)( + IWMDRMReader2 *This); + + HRESULT (STDMETHODCALLTYPE *CancelMonitorLicenseAcquisition)( + IWMDRMReader2 *This); + + HRESULT (STDMETHODCALLTYPE *SetDRMProperty)( + IWMDRMReader2 *This, + const WCHAR *name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length); + + HRESULT (STDMETHODCALLTYPE *GetDRMProperty)( + IWMDRMReader2 *This, + const WCHAR *name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + /*** IWMDRMReader2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetEvaluateOutputLevelLicenses)( + IWMDRMReader2 *This, + BOOL evaluate); + + HRESULT (STDMETHODCALLTYPE *GetPlayOutputLevels)( + IWMDRMReader2 *This, + DRM_PLAY_OPL *play, + DWORD *length, + DWORD *level); + + HRESULT (STDMETHODCALLTYPE *GetCopyOutputLevels)( + IWMDRMReader2 *This, + DRM_COPY_OPL *copy, + DWORD *length, + DWORD *level); + + HRESULT (STDMETHODCALLTYPE *TryNextLicense)( + IWMDRMReader2 *This); + + END_INTERFACE +} IWMDRMReader2Vtbl; + +interface IWMDRMReader2 { + CONST_VTBL IWMDRMReader2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMDRMReader2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMDRMReader2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMDRMReader2_Release(This) (This)->lpVtbl->Release(This) +/*** IWMDRMReader methods ***/ +#define IWMDRMReader2_AcquireLicense(This,flags) (This)->lpVtbl->AcquireLicense(This,flags) +#define IWMDRMReader2_CancelLicenseAcquisition(This) (This)->lpVtbl->CancelLicenseAcquisition(This) +#define IWMDRMReader2_Individualize(This,flags) (This)->lpVtbl->Individualize(This,flags) +#define IWMDRMReader2_CancelIndividualization(This) (This)->lpVtbl->CancelIndividualization(This) +#define IWMDRMReader2_MonitorLicenseAcquisition(This) (This)->lpVtbl->MonitorLicenseAcquisition(This) +#define IWMDRMReader2_CancelMonitorLicenseAcquisition(This) (This)->lpVtbl->CancelMonitorLicenseAcquisition(This) +#define IWMDRMReader2_SetDRMProperty(This,name,type,value,length) (This)->lpVtbl->SetDRMProperty(This,name,type,value,length) +#define IWMDRMReader2_GetDRMProperty(This,name,type,value,length) (This)->lpVtbl->GetDRMProperty(This,name,type,value,length) +/*** IWMDRMReader2 methods ***/ +#define IWMDRMReader2_SetEvaluateOutputLevelLicenses(This,evaluate) (This)->lpVtbl->SetEvaluateOutputLevelLicenses(This,evaluate) +#define IWMDRMReader2_GetPlayOutputLevels(This,play,length,level) (This)->lpVtbl->GetPlayOutputLevels(This,play,length,level) +#define IWMDRMReader2_GetCopyOutputLevels(This,copy,length,level) (This)->lpVtbl->GetCopyOutputLevels(This,copy,length,level) +#define IWMDRMReader2_TryNextLicense(This) (This)->lpVtbl->TryNextLicense(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMDRMReader2_QueryInterface(IWMDRMReader2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMDRMReader2_AddRef(IWMDRMReader2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMDRMReader2_Release(IWMDRMReader2* This) { + return This->lpVtbl->Release(This); +} +/*** IWMDRMReader methods ***/ +static FORCEINLINE HRESULT IWMDRMReader2_AcquireLicense(IWMDRMReader2* This,DWORD flags) { + return This->lpVtbl->AcquireLicense(This,flags); +} +static FORCEINLINE HRESULT IWMDRMReader2_CancelLicenseAcquisition(IWMDRMReader2* This) { + return This->lpVtbl->CancelLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader2_Individualize(IWMDRMReader2* This,DWORD flags) { + return This->lpVtbl->Individualize(This,flags); +} +static FORCEINLINE HRESULT IWMDRMReader2_CancelIndividualization(IWMDRMReader2* This) { + return This->lpVtbl->CancelIndividualization(This); +} +static FORCEINLINE HRESULT IWMDRMReader2_MonitorLicenseAcquisition(IWMDRMReader2* This) { + return This->lpVtbl->MonitorLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader2_CancelMonitorLicenseAcquisition(IWMDRMReader2* This) { + return This->lpVtbl->CancelMonitorLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader2_SetDRMProperty(IWMDRMReader2* This,const WCHAR *name,WMT_ATTR_DATATYPE type,const BYTE *value,WORD length) { + return This->lpVtbl->SetDRMProperty(This,name,type,value,length); +} +static FORCEINLINE HRESULT IWMDRMReader2_GetDRMProperty(IWMDRMReader2* This,const WCHAR *name,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetDRMProperty(This,name,type,value,length); +} +/*** IWMDRMReader2 methods ***/ +static FORCEINLINE HRESULT IWMDRMReader2_SetEvaluateOutputLevelLicenses(IWMDRMReader2* This,BOOL evaluate) { + return This->lpVtbl->SetEvaluateOutputLevelLicenses(This,evaluate); +} +static FORCEINLINE HRESULT IWMDRMReader2_GetPlayOutputLevels(IWMDRMReader2* This,DRM_PLAY_OPL *play,DWORD *length,DWORD *level) { + return This->lpVtbl->GetPlayOutputLevels(This,play,length,level); +} +static FORCEINLINE HRESULT IWMDRMReader2_GetCopyOutputLevels(IWMDRMReader2* This,DRM_COPY_OPL *copy,DWORD *length,DWORD *level) { + return This->lpVtbl->GetCopyOutputLevels(This,copy,length,level); +} +static FORCEINLINE HRESULT IWMDRMReader2_TryNextLicense(IWMDRMReader2* This) { + return This->lpVtbl->TryNextLicense(This); +} +#endif +#endif + +#endif + + +#endif /* __IWMDRMReader2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMDRMReader3 interface + */ +#ifndef __IWMDRMReader3_INTERFACE_DEFINED__ +#define __IWMDRMReader3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMDRMReader3, 0xe08672de, 0xf1e7, 0x4ff4, 0xa0,0xa3, 0xfc,0x4b,0x08,0xe4,0xca,0xf8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e08672de-f1e7-4ff4-a0a3-fc4b08e4caf8") +IWMDRMReader3 : public IWMDRMReader2 +{ + virtual HRESULT STDMETHODCALLTYPE GetInclusionList( + GUID **guids, + DWORD *count) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMDRMReader3, 0xe08672de, 0xf1e7, 0x4ff4, 0xa0,0xa3, 0xfc,0x4b,0x08,0xe4,0xca,0xf8) +#endif +#else +typedef struct IWMDRMReader3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMDRMReader3 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMDRMReader3 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMDRMReader3 *This); + + /*** IWMDRMReader methods ***/ + HRESULT (STDMETHODCALLTYPE *AcquireLicense)( + IWMDRMReader3 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *CancelLicenseAcquisition)( + IWMDRMReader3 *This); + + HRESULT (STDMETHODCALLTYPE *Individualize)( + IWMDRMReader3 *This, + DWORD flags); + + HRESULT (STDMETHODCALLTYPE *CancelIndividualization)( + IWMDRMReader3 *This); + + HRESULT (STDMETHODCALLTYPE *MonitorLicenseAcquisition)( + IWMDRMReader3 *This); + + HRESULT (STDMETHODCALLTYPE *CancelMonitorLicenseAcquisition)( + IWMDRMReader3 *This); + + HRESULT (STDMETHODCALLTYPE *SetDRMProperty)( + IWMDRMReader3 *This, + const WCHAR *name, + WMT_ATTR_DATATYPE type, + const BYTE *value, + WORD length); + + HRESULT (STDMETHODCALLTYPE *GetDRMProperty)( + IWMDRMReader3 *This, + const WCHAR *name, + WMT_ATTR_DATATYPE *type, + BYTE *value, + WORD *length); + + /*** IWMDRMReader2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetEvaluateOutputLevelLicenses)( + IWMDRMReader3 *This, + BOOL evaluate); + + HRESULT (STDMETHODCALLTYPE *GetPlayOutputLevels)( + IWMDRMReader3 *This, + DRM_PLAY_OPL *play, + DWORD *length, + DWORD *level); + + HRESULT (STDMETHODCALLTYPE *GetCopyOutputLevels)( + IWMDRMReader3 *This, + DRM_COPY_OPL *copy, + DWORD *length, + DWORD *level); + + HRESULT (STDMETHODCALLTYPE *TryNextLicense)( + IWMDRMReader3 *This); + + /*** IWMDRMReader3 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetInclusionList)( + IWMDRMReader3 *This, + GUID **guids, + DWORD *count); + + END_INTERFACE +} IWMDRMReader3Vtbl; + +interface IWMDRMReader3 { + CONST_VTBL IWMDRMReader3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMDRMReader3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMDRMReader3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMDRMReader3_Release(This) (This)->lpVtbl->Release(This) +/*** IWMDRMReader methods ***/ +#define IWMDRMReader3_AcquireLicense(This,flags) (This)->lpVtbl->AcquireLicense(This,flags) +#define IWMDRMReader3_CancelLicenseAcquisition(This) (This)->lpVtbl->CancelLicenseAcquisition(This) +#define IWMDRMReader3_Individualize(This,flags) (This)->lpVtbl->Individualize(This,flags) +#define IWMDRMReader3_CancelIndividualization(This) (This)->lpVtbl->CancelIndividualization(This) +#define IWMDRMReader3_MonitorLicenseAcquisition(This) (This)->lpVtbl->MonitorLicenseAcquisition(This) +#define IWMDRMReader3_CancelMonitorLicenseAcquisition(This) (This)->lpVtbl->CancelMonitorLicenseAcquisition(This) +#define IWMDRMReader3_SetDRMProperty(This,name,type,value,length) (This)->lpVtbl->SetDRMProperty(This,name,type,value,length) +#define IWMDRMReader3_GetDRMProperty(This,name,type,value,length) (This)->lpVtbl->GetDRMProperty(This,name,type,value,length) +/*** IWMDRMReader2 methods ***/ +#define IWMDRMReader3_SetEvaluateOutputLevelLicenses(This,evaluate) (This)->lpVtbl->SetEvaluateOutputLevelLicenses(This,evaluate) +#define IWMDRMReader3_GetPlayOutputLevels(This,play,length,level) (This)->lpVtbl->GetPlayOutputLevels(This,play,length,level) +#define IWMDRMReader3_GetCopyOutputLevels(This,copy,length,level) (This)->lpVtbl->GetCopyOutputLevels(This,copy,length,level) +#define IWMDRMReader3_TryNextLicense(This) (This)->lpVtbl->TryNextLicense(This) +/*** IWMDRMReader3 methods ***/ +#define IWMDRMReader3_GetInclusionList(This,guids,count) (This)->lpVtbl->GetInclusionList(This,guids,count) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMDRMReader3_QueryInterface(IWMDRMReader3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMDRMReader3_AddRef(IWMDRMReader3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMDRMReader3_Release(IWMDRMReader3* This) { + return This->lpVtbl->Release(This); +} +/*** IWMDRMReader methods ***/ +static FORCEINLINE HRESULT IWMDRMReader3_AcquireLicense(IWMDRMReader3* This,DWORD flags) { + return This->lpVtbl->AcquireLicense(This,flags); +} +static FORCEINLINE HRESULT IWMDRMReader3_CancelLicenseAcquisition(IWMDRMReader3* This) { + return This->lpVtbl->CancelLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader3_Individualize(IWMDRMReader3* This,DWORD flags) { + return This->lpVtbl->Individualize(This,flags); +} +static FORCEINLINE HRESULT IWMDRMReader3_CancelIndividualization(IWMDRMReader3* This) { + return This->lpVtbl->CancelIndividualization(This); +} +static FORCEINLINE HRESULT IWMDRMReader3_MonitorLicenseAcquisition(IWMDRMReader3* This) { + return This->lpVtbl->MonitorLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader3_CancelMonitorLicenseAcquisition(IWMDRMReader3* This) { + return This->lpVtbl->CancelMonitorLicenseAcquisition(This); +} +static FORCEINLINE HRESULT IWMDRMReader3_SetDRMProperty(IWMDRMReader3* This,const WCHAR *name,WMT_ATTR_DATATYPE type,const BYTE *value,WORD length) { + return This->lpVtbl->SetDRMProperty(This,name,type,value,length); +} +static FORCEINLINE HRESULT IWMDRMReader3_GetDRMProperty(IWMDRMReader3* This,const WCHAR *name,WMT_ATTR_DATATYPE *type,BYTE *value,WORD *length) { + return This->lpVtbl->GetDRMProperty(This,name,type,value,length); +} +/*** IWMDRMReader2 methods ***/ +static FORCEINLINE HRESULT IWMDRMReader3_SetEvaluateOutputLevelLicenses(IWMDRMReader3* This,BOOL evaluate) { + return This->lpVtbl->SetEvaluateOutputLevelLicenses(This,evaluate); +} +static FORCEINLINE HRESULT IWMDRMReader3_GetPlayOutputLevels(IWMDRMReader3* This,DRM_PLAY_OPL *play,DWORD *length,DWORD *level) { + return This->lpVtbl->GetPlayOutputLevels(This,play,length,level); +} +static FORCEINLINE HRESULT IWMDRMReader3_GetCopyOutputLevels(IWMDRMReader3* This,DRM_COPY_OPL *copy,DWORD *length,DWORD *level) { + return This->lpVtbl->GetCopyOutputLevels(This,copy,length,level); +} +static FORCEINLINE HRESULT IWMDRMReader3_TryNextLicense(IWMDRMReader3* This) { + return This->lpVtbl->TryNextLicense(This); +} +/*** IWMDRMReader3 methods ***/ +static FORCEINLINE HRESULT IWMDRMReader3_GetInclusionList(IWMDRMReader3* This,GUID **guids,DWORD *count) { + return This->lpVtbl->GetInclusionList(This,guids,count); +} +#endif +#endif + +#endif + + +#endif /* __IWMDRMReader3_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderAccelerator interface + */ +#ifndef __IWMReaderAccelerator_INTERFACE_DEFINED__ +#define __IWMReaderAccelerator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderAccelerator, 0xbddc4d08, 0x944d, 0x4d52, 0xa6,0x12, 0x46,0xc3,0xfd,0xa0,0x7d,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bddc4d08-944d-4d52-a612-46c3fda07dd4") +IWMReaderAccelerator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCodecInterface( + DWORD output, + REFIID riid, + void **codec) = 0; + + virtual HRESULT STDMETHODCALLTYPE Notify( + DWORD output, + WM_MEDIA_TYPE *subtype) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderAccelerator, 0xbddc4d08, 0x944d, 0x4d52, 0xa6,0x12, 0x46,0xc3,0xfd,0xa0,0x7d,0xd4) +#endif +#else +typedef struct IWMReaderAcceleratorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderAccelerator *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderAccelerator *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderAccelerator *This); + + /*** IWMReaderAccelerator methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCodecInterface)( + IWMReaderAccelerator *This, + DWORD output, + REFIID riid, + void **codec); + + HRESULT (STDMETHODCALLTYPE *Notify)( + IWMReaderAccelerator *This, + DWORD output, + WM_MEDIA_TYPE *subtype); + + END_INTERFACE +} IWMReaderAcceleratorVtbl; + +interface IWMReaderAccelerator { + CONST_VTBL IWMReaderAcceleratorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderAccelerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderAccelerator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderAccelerator_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderAccelerator methods ***/ +#define IWMReaderAccelerator_GetCodecInterface(This,output,riid,codec) (This)->lpVtbl->GetCodecInterface(This,output,riid,codec) +#define IWMReaderAccelerator_Notify(This,output,subtype) (This)->lpVtbl->Notify(This,output,subtype) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderAccelerator_QueryInterface(IWMReaderAccelerator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderAccelerator_AddRef(IWMReaderAccelerator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderAccelerator_Release(IWMReaderAccelerator* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderAccelerator methods ***/ +static FORCEINLINE HRESULT IWMReaderAccelerator_GetCodecInterface(IWMReaderAccelerator* This,DWORD output,REFIID riid,void **codec) { + return This->lpVtbl->GetCodecInterface(This,output,riid,codec); +} +static FORCEINLINE HRESULT IWMReaderAccelerator_Notify(IWMReaderAccelerator* This,DWORD output,WM_MEDIA_TYPE *subtype) { + return This->lpVtbl->Notify(This,output,subtype); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderAccelerator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderTimecode interface + */ +#ifndef __IWMReaderTimecode_INTERFACE_DEFINED__ +#define __IWMReaderTimecode_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderTimecode, 0xf369e2f0, 0xe081, 0x4fe6, 0x84,0x50, 0xb8,0x10,0xb2,0xf4,0x10,0xd1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f369e2f0-e081-4fe6-8450-b810b2f410d1") +IWMReaderTimecode : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetTimecodeRangeCount( + WORD num, + WORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTimecodeRangeBounds( + WORD stream, + WORD range, + DWORD *start_timecode, + DWORD *end_timecode) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderTimecode, 0xf369e2f0, 0xe081, 0x4fe6, 0x84,0x50, 0xb8,0x10,0xb2,0xf4,0x10,0xd1) +#endif +#else +typedef struct IWMReaderTimecodeVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderTimecode *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderTimecode *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderTimecode *This); + + /*** IWMReaderTimecode methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTimecodeRangeCount)( + IWMReaderTimecode *This, + WORD num, + WORD *count); + + HRESULT (STDMETHODCALLTYPE *GetTimecodeRangeBounds)( + IWMReaderTimecode *This, + WORD stream, + WORD range, + DWORD *start_timecode, + DWORD *end_timecode); + + END_INTERFACE +} IWMReaderTimecodeVtbl; + +interface IWMReaderTimecode { + CONST_VTBL IWMReaderTimecodeVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderTimecode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderTimecode_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderTimecode_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderTimecode methods ***/ +#define IWMReaderTimecode_GetTimecodeRangeCount(This,num,count) (This)->lpVtbl->GetTimecodeRangeCount(This,num,count) +#define IWMReaderTimecode_GetTimecodeRangeBounds(This,stream,range,start_timecode,end_timecode) (This)->lpVtbl->GetTimecodeRangeBounds(This,stream,range,start_timecode,end_timecode) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderTimecode_QueryInterface(IWMReaderTimecode* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderTimecode_AddRef(IWMReaderTimecode* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderTimecode_Release(IWMReaderTimecode* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderTimecode methods ***/ +static FORCEINLINE HRESULT IWMReaderTimecode_GetTimecodeRangeCount(IWMReaderTimecode* This,WORD num,WORD *count) { + return This->lpVtbl->GetTimecodeRangeCount(This,num,count); +} +static FORCEINLINE HRESULT IWMReaderTimecode_GetTimecodeRangeBounds(IWMReaderTimecode* This,WORD stream,WORD range,DWORD *start_timecode,DWORD *end_timecode) { + return This->lpVtbl->GetTimecodeRangeBounds(This,stream,range,start_timecode,end_timecode); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderTimecode_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderTypeNegotiation interface + */ +#ifndef __IWMReaderTypeNegotiation_INTERFACE_DEFINED__ +#define __IWMReaderTypeNegotiation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderTypeNegotiation, 0xfdbe5592, 0x81a1, 0x41ea, 0x93,0xbd, 0x73,0x5c,0xad,0x1a,0xdc,0x05); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fdbe5592-81a1-41ea-93bd-735cad1adc05") +IWMReaderTypeNegotiation : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE TryOutputProps( + DWORD output, + IWMOutputMediaProps *props) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderTypeNegotiation, 0xfdbe5592, 0x81a1, 0x41ea, 0x93,0xbd, 0x73,0x5c,0xad,0x1a,0xdc,0x05) +#endif +#else +typedef struct IWMReaderTypeNegotiationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderTypeNegotiation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderTypeNegotiation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderTypeNegotiation *This); + + /*** IWMReaderTypeNegotiation methods ***/ + HRESULT (STDMETHODCALLTYPE *TryOutputProps)( + IWMReaderTypeNegotiation *This, + DWORD output, + IWMOutputMediaProps *props); + + END_INTERFACE +} IWMReaderTypeNegotiationVtbl; + +interface IWMReaderTypeNegotiation { + CONST_VTBL IWMReaderTypeNegotiationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderTypeNegotiation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderTypeNegotiation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderTypeNegotiation_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderTypeNegotiation methods ***/ +#define IWMReaderTypeNegotiation_TryOutputProps(This,output,props) (This)->lpVtbl->TryOutputProps(This,output,props) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderTypeNegotiation_QueryInterface(IWMReaderTypeNegotiation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderTypeNegotiation_AddRef(IWMReaderTypeNegotiation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderTypeNegotiation_Release(IWMReaderTypeNegotiation* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderTypeNegotiation methods ***/ +static FORCEINLINE HRESULT IWMReaderTypeNegotiation_TryOutputProps(IWMReaderTypeNegotiation* This,DWORD output,IWMOutputMediaProps *props) { + return This->lpVtbl->TryOutputProps(This,output,props); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderTypeNegotiation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMLanguageList interface + */ +#ifndef __IWMLanguageList_INTERFACE_DEFINED__ +#define __IWMLanguageList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMLanguageList, 0xdf683f00, 0x2d49, 0x4d8e, 0x92,0xb7, 0xfb,0x19,0xf6,0xa0,0xdc,0x57); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("df683f00-2d49-4d8e-92b7-fb19f6a0dc57") +IWMLanguageList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetLanguageCount( + WORD *count) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLanguageDetails( + WORD index, + WCHAR *language, + WORD *length) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddLanguageByRFC1766String( + LPCWSTR_WMSDK_TYPE_SAFE language, + WORD *index) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMLanguageList, 0xdf683f00, 0x2d49, 0x4d8e, 0x92,0xb7, 0xfb,0x19,0xf6,0xa0,0xdc,0x57) +#endif +#else +typedef struct IWMLanguageListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMLanguageList *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMLanguageList *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMLanguageList *This); + + /*** IWMLanguageList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLanguageCount)( + IWMLanguageList *This, + WORD *count); + + HRESULT (STDMETHODCALLTYPE *GetLanguageDetails)( + IWMLanguageList *This, + WORD index, + WCHAR *language, + WORD *length); + + HRESULT (STDMETHODCALLTYPE *AddLanguageByRFC1766String)( + IWMLanguageList *This, + LPCWSTR_WMSDK_TYPE_SAFE language, + WORD *index); + + END_INTERFACE +} IWMLanguageListVtbl; + +interface IWMLanguageList { + CONST_VTBL IWMLanguageListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMLanguageList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMLanguageList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMLanguageList_Release(This) (This)->lpVtbl->Release(This) +/*** IWMLanguageList methods ***/ +#define IWMLanguageList_GetLanguageCount(This,count) (This)->lpVtbl->GetLanguageCount(This,count) +#define IWMLanguageList_GetLanguageDetails(This,index,language,length) (This)->lpVtbl->GetLanguageDetails(This,index,language,length) +#define IWMLanguageList_AddLanguageByRFC1766String(This,language,index) (This)->lpVtbl->AddLanguageByRFC1766String(This,language,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMLanguageList_QueryInterface(IWMLanguageList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMLanguageList_AddRef(IWMLanguageList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMLanguageList_Release(IWMLanguageList* This) { + return This->lpVtbl->Release(This); +} +/*** IWMLanguageList methods ***/ +static FORCEINLINE HRESULT IWMLanguageList_GetLanguageCount(IWMLanguageList* This,WORD *count) { + return This->lpVtbl->GetLanguageCount(This,count); +} +static FORCEINLINE HRESULT IWMLanguageList_GetLanguageDetails(IWMLanguageList* This,WORD index,WCHAR *language,WORD *length) { + return This->lpVtbl->GetLanguageDetails(This,index,language,length); +} +static FORCEINLINE HRESULT IWMLanguageList_AddLanguageByRFC1766String(IWMLanguageList* This,LPCWSTR_WMSDK_TYPE_SAFE language,WORD *index) { + return This->lpVtbl->AddLanguageByRFC1766String(This,language,index); +} +#endif +#endif + +#endif + + +#endif /* __IWMLanguageList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMReaderPlaylistBurn interface + */ +#ifndef __IWMReaderPlaylistBurn_INTERFACE_DEFINED__ +#define __IWMReaderPlaylistBurn_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMReaderPlaylistBurn, 0xf28c0300, 0x9baa, 0x4477, 0xa8,0x46, 0x17,0x44,0xd9,0xcb,0xf5,0x33); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f28c0300-9baa-4477-a846-1744d9cbf533") +IWMReaderPlaylistBurn : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE InitPlaylistBurn( + DWORD count, + LPCWSTR_WMSDK_TYPE_SAFE *filenames, + IWMStatusCallback *callback, + void *context) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInitResults( + DWORD count, + HRESULT *stat) = 0; + + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndPlaylistBurn( + HRESULT result) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMReaderPlaylistBurn, 0xf28c0300, 0x9baa, 0x4477, 0xa8,0x46, 0x17,0x44,0xd9,0xcb,0xf5,0x33) +#endif +#else +typedef struct IWMReaderPlaylistBurnVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMReaderPlaylistBurn *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMReaderPlaylistBurn *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMReaderPlaylistBurn *This); + + /*** IWMReaderPlaylistBurn methods ***/ + HRESULT (STDMETHODCALLTYPE *InitPlaylistBurn)( + IWMReaderPlaylistBurn *This, + DWORD count, + LPCWSTR_WMSDK_TYPE_SAFE *filenames, + IWMStatusCallback *callback, + void *context); + + HRESULT (STDMETHODCALLTYPE *GetInitResults)( + IWMReaderPlaylistBurn *This, + DWORD count, + HRESULT *stat); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IWMReaderPlaylistBurn *This); + + HRESULT (STDMETHODCALLTYPE *EndPlaylistBurn)( + IWMReaderPlaylistBurn *This, + HRESULT result); + + END_INTERFACE +} IWMReaderPlaylistBurnVtbl; + +interface IWMReaderPlaylistBurn { + CONST_VTBL IWMReaderPlaylistBurnVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMReaderPlaylistBurn_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMReaderPlaylistBurn_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMReaderPlaylistBurn_Release(This) (This)->lpVtbl->Release(This) +/*** IWMReaderPlaylistBurn methods ***/ +#define IWMReaderPlaylistBurn_InitPlaylistBurn(This,count,filenames,callback,context) (This)->lpVtbl->InitPlaylistBurn(This,count,filenames,callback,context) +#define IWMReaderPlaylistBurn_GetInitResults(This,count,stat) (This)->lpVtbl->GetInitResults(This,count,stat) +#define IWMReaderPlaylistBurn_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IWMReaderPlaylistBurn_EndPlaylistBurn(This,result) (This)->lpVtbl->EndPlaylistBurn(This,result) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMReaderPlaylistBurn_QueryInterface(IWMReaderPlaylistBurn* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMReaderPlaylistBurn_AddRef(IWMReaderPlaylistBurn* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMReaderPlaylistBurn_Release(IWMReaderPlaylistBurn* This) { + return This->lpVtbl->Release(This); +} +/*** IWMReaderPlaylistBurn methods ***/ +static FORCEINLINE HRESULT IWMReaderPlaylistBurn_InitPlaylistBurn(IWMReaderPlaylistBurn* This,DWORD count,LPCWSTR_WMSDK_TYPE_SAFE *filenames,IWMStatusCallback *callback,void *context) { + return This->lpVtbl->InitPlaylistBurn(This,count,filenames,callback,context); +} +static FORCEINLINE HRESULT IWMReaderPlaylistBurn_GetInitResults(IWMReaderPlaylistBurn* This,DWORD count,HRESULT *stat) { + return This->lpVtbl->GetInitResults(This,count,stat); +} +static FORCEINLINE HRESULT IWMReaderPlaylistBurn_Cancel(IWMReaderPlaylistBurn* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IWMReaderPlaylistBurn_EndPlaylistBurn(IWMReaderPlaylistBurn* This,HRESULT result) { + return This->lpVtbl->EndPlaylistBurn(This,result); +} +#endif +#endif + +#endif + + +#endif /* __IWMReaderPlaylistBurn_INTERFACE_DEFINED__ */ + +HRESULT WINAPI WMCreateWriter(IUnknown*,IWMWriter**); +HRESULT WINAPI WMCreateReader(IUnknown*,DWORD,IWMReader**); +EXTERN_GUID(WMMEDIASUBTYPE_Base, 0x00000000,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIATYPE_Video, 0x73646976,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_RGB1, 0xe436eb78,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_RGB4, 0xe436eb79,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_RGB8, 0xe436eb7a,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_RGB565, 0xe436eb7b,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_RGB555, 0xe436eb7c,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_RGB24, 0xe436eb7d,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_RGB32, 0xe436eb7e,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70); +EXTERN_GUID(WMMEDIASUBTYPE_I420, 0x30323449,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_IYUV, 0x56555949,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_YV12, 0x32315659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_YUY2, 0x32595559,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_P422, 0x32323450,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_UYVY, 0x59565955,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_YVYU, 0x55595659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_YVU9, 0x39555659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_VIDEOIMAGE, 0x1d4a45f2,0xe5f6,0x4b44,0x83,0x88,0xf0,0xae,0x5c,0x0e,0x0c,0x37); +EXTERN_GUID(WMMEDIASUBTYPE_MP43, 0x3334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_MP4S, 0x5334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_M4S2, 0x3253344d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMV1, 0x31564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMV2, 0x32564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_MSS1, 0x3153534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_MPEG2_VIDEO, 0xe06d8026,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea); +EXTERN_GUID(WMMEDIATYPE_Audio, 0x73647561,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_PCM, 0x00000001,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_DRM, 0x00000009,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMAudioV9, 0x00000162,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMAudio_Lossless, 0x00000163,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_MSS2, 0x3253534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMSP1, 0x0000000a,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMSP2, 0x0000000b,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMV3, 0x33564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMVP, 0x50564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WVP2, 0x32505657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WMVA, 0x41564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +EXTERN_GUID(WMMEDIASUBTYPE_WVC1, 0x31435657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wmsdkidl_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdkidl.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdkidl.idl new file mode 100644 index 0000000..b4bd600 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wmsdkidl.idl @@ -0,0 +1,1659 @@ +/* + * Copyright 2012 André Hentschel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "wmsbuffer.idl"; +import "drmexternals.idl"; + +typedef struct _WMMediaType +{ + GUID majortype; + GUID subtype; + BOOL bFixedSizeSamples; + BOOL bTemporalCompression; + ULONG lSampleSize; + GUID formattype; + IUnknown *pUnk; + ULONG cbFormat; + [size_is(cbFormat)] BYTE *pbFormat; +} WM_MEDIA_TYPE; + +typedef struct _WMWriterStatistics +{ + QWORD qwSampleCount; + QWORD qwByteCount; + QWORD qwDroppedSampleCount; + QWORD qwDroppedByteCount; + DWORD dwCurrentBitrate; + DWORD dwAverageBitrate; + DWORD dwExpectedBitrate; + DWORD dwCurrentSampleRate; + DWORD dwAverageSampleRate; + DWORD dwExpectedSampleRate; +} WM_WRITER_STATISTICS; + +typedef struct _WMWriterStatisticsEx +{ + DWORD dwBitratePlusOverhead; + DWORD dwCurrentSampleDropRateInQueue; + DWORD dwCurrentSampleDropRateInCodec; + DWORD dwCurrentSampleDropRateInMultiplexer; + DWORD dwTotalSampleDropsInQueue; + DWORD dwTotalSampleDropsInCodec; + DWORD dwTotalSampleDropsInMultiplexer; +} WM_WRITER_STATISTICS_EX; + +typedef struct _WMReaderStatistics +{ + DWORD cbSize; + DWORD dwBandwidth; + DWORD cPacketsReceived; + DWORD cPacketsRecovered; + DWORD cPacketsLost; + WORD wQuality; +} WM_READER_STATISTICS; + +typedef struct _WMReaderClientInfo +{ + DWORD cbSize; + WCHAR *wszLang; + WCHAR *wszBrowserUserAgent; + WCHAR *wszBrowserWebPage; + QWORD qwReserved; + LPARAM *pReserved; + WCHAR *wszHostExe; + QWORD qwHostVersion; + WCHAR *wszPlayerUserAgent; +} WM_READER_CLIENTINFO; + +typedef enum WMT_ATTR_DATATYPE +{ + WMT_TYPE_DWORD = 0, + WMT_TYPE_STRING = 1, + WMT_TYPE_BINARY = 2, + WMT_TYPE_BOOL = 3, + WMT_TYPE_QWORD = 4, + WMT_TYPE_WORD = 5, + WMT_TYPE_GUID = 6, +} WMT_ATTR_DATATYPE; + +typedef enum WMT_STATUS +{ + WMT_ERROR = 0, + WMT_OPENED = 1, + WMT_BUFFERING_START = 2, + WMT_BUFFERING_STOP = 3, + WMT_EOF = 4, + WMT_END_OF_FILE = 4, + WMT_END_OF_SEGMENT = 5, + WMT_END_OF_STREAMING = 6, + WMT_LOCATING = 7, + WMT_CONNECTING = 8, + WMT_NO_RIGHTS = 9, + WMT_MISSING_CODEC = 10, + WMT_STARTED = 11, + WMT_STOPPED = 12, + WMT_CLOSED = 13, + WMT_STRIDING = 14, + WMT_TIMER = 15, + WMT_INDEX_PROGRESS = 16, + WMT_SAVEAS_START = 17, + WMT_SAVEAS_STOP = 18, + WMT_NEW_SOURCEFLAGS = 19, + WMT_NEW_METADATA = 20, + WMT_BACKUPRESTORE_BEGIN = 21, + WMT_SOURCE_SWITCH = 22, + WMT_ACQUIRE_LICENSE = 23, + WMT_INDIVIDUALIZE = 24, + WMT_NEEDS_INDIVIDUALIZATION = 25, + WMT_NO_RIGHTS_EX = 26, + WMT_BACKUPRESTORE_END = 27, + WMT_BACKUPRESTORE_CONNECTING = 28, + WMT_BACKUPRESTORE_DISCONNECTING = 29, + WMT_ERROR_WITHURL = 30, + WMT_RESTRICTED_LICENSE = 31, + WMT_CLIENT_CONNECT = 32, + WMT_CLIENT_DISCONNECT = 33, + WMT_NATIVE_OUTPUT_PROPS_CHANGED = 34, + WMT_RECONNECT_START = 35, + WMT_RECONNECT_END = 36, + WMT_CLIENT_CONNECT_EX = 37, + WMT_CLIENT_DISCONNECT_EX = 38, + WMT_SET_FEC_SPAN = 39, + WMT_PREROLL_READY = 40, + WMT_PREROLL_COMPLETE = 41, + WMT_CLIENT_PROPERTIES = 42, + WMT_LICENSEURL_SIGNATURE_STATE = 43, + WMT_INIT_PLAYLIST_BURN = 44, + WMT_TRANSCRYPTOR_INIT = 45, + WMT_TRANSCRYPTOR_SEEKED = 46, + WMT_TRANSCRYPTOR_READ = 47, + WMT_TRANSCRYPTOR_CLOSED = 48, + WMT_PROXIMITY_RESULT = 49, + WMT_PROXIMITY_COMPLETED = 50, + WMT_CONTENT_ENABLER = 51 +} WMT_STATUS; + +typedef enum WMT_STREAM_SELECTION +{ + WMT_OFF = 0, + WMT_CLEANPOINT_ONLY = 1, + WMT_ON = 2, +} WMT_STREAM_SELECTION; + +typedef enum WMT_VERSION +{ + WMT_VER_4_0 = 0x00040000, + WMT_VER_7_0 = 0x00070000, + WMT_VER_8_0 = 0x00080000, + WMT_VER_9_0 = 0x00090000 +} WMT_VERSION; + +typedef enum WMT_PLAY_MODE +{ + WMT_PLAY_MODE_AUTOSELECT, + WMT_PLAY_MODE_LOCAL, + WMT_PLAY_MODE_DOWNLOAD, + WMT_PLAY_MODE_STREAMING +} WMT_PLAY_MODE; + +typedef enum tagWMT_OFFSET_FORMAT +{ + WMT_OFFSET_FORMAT_100NS, + WMT_OFFSET_FORMAT_FRAME_NUMBERS, + WMT_OFFSET_FORMAT_PLAYLIST_OFFSET, + WMT_OFFSET_FORMAT_TIMECODE, + WMT_OFFSET_FORMAT_100NS_APPROXIMATE +} WMT_OFFSET_FORMAT; + +typedef enum WMT_CODEC_INFO_TYPE +{ + WMT_CODECINFO_AUDIO = 0, + WMT_CODECINFO_VIDEO = 1, + WMT_CODECINFO_UNKNOWN = 0xFFFFFFFF, +} WMT_CODEC_INFO_TYPE; + +typedef enum WMT_PROXY_SETTINGS +{ + WMT_PROXY_SETTING_NONE = 0, + WMT_PROXY_SETTING_MANUAL = 1, + WMT_PROXY_SETTING_AUTO = 2, + WMT_PROXY_SETTING_BROWSER = 3, + WMT_PROXY_SETTING_MAX +} WMT_PROXY_SETTINGS; + +typedef enum tagWMT_STORAGE_FORMAT +{ + WMT_Storage_Format_MP3 = 0, + WMT_Storage_Format_V1 = 1 +} WMT_STORAGE_FORMAT; + +#include +typedef struct _WMStreamPrioritizationRecord +{ + WORD wStreamNumber; + BOOL fMandatory; +} WM_STREAM_PRIORITY_RECORD; +#include + +typedef struct _WM_PORT_NUMBER_RANGE +{ + WORD wPortBegin; + WORD wPortEnd; +} WM_PORT_NUMBER_RANGE; + +typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE; + +[ + object, + uuid(6d7cdc70-9888-11d3-8edc-00c04f6109cf), + pointer_default(unique), + local +] +interface IWMStatusCallback : IUnknown +{ + HRESULT OnStatus( + [in] WMT_STATUS Status, + [in] HRESULT hr, + [in] WMT_ATTR_DATATYPE dwType, + [in] BYTE *pValue, + [in] void *pvContext); +}; + +[ + object, + uuid(96406bd8-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMReaderCallback : IWMStatusCallback +{ + HRESULT OnSample( + [in] DWORD dwOutputNum, + [in] QWORD cnsSampleTime, + [in] QWORD cnsSampleDuration, + [in] DWORD dwFlags, + [in] INSSBuffer *pSample, + [in] void *pvContext); +}; + +[ + object, + uuid(96406Bdd-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMStreamList : IUnknown +{ + HRESULT GetStreams( + [out, size_is(*pcStreams)] WORD *pwStreamNumArray, + [in, out] WORD *pcStreams); + + HRESULT AddStream([in] WORD wStreamNum); + HRESULT RemoveStream([in] WORD wStreamNum); +} + +[ + object, + uuid(96406Bde-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMMutualExclusion : IWMStreamList +{ + HRESULT GetType([out] GUID *pguidType); + HRESULT SetType([in] REFGUID guidType); +} + +[ + object, + uuid(ad694af1-f8d9-42f8-bc47-70311b0c4f9e), + pointer_default(unique), + local +] +interface IWMBandwidthSharing : IWMStreamList +{ + HRESULT GetType([out] GUID *guid); + HRESULT SetType([in] REFGUID guid); + + HRESULT GetBandwidth( + [out] DWORD *bitrate, + [out] DWORD *buffer); + + HRESULT SetBandwidth( + [in] DWORD bitrate, + [in] DWORD buffer); +}; + +[ + object, + uuid(8c1c6090-f9a8-4748-8ec3-dd1108ba1e77), + pointer_default(unique), + local +] +interface IWMStreamPrioritization : IUnknown +{ + HRESULT GetPriorityRecords( + [out] WM_STREAM_PRIORITY_RECORD *array, + [in, out] WORD *records); + + HRESULT SetPriorityRecords( + [in] WM_STREAM_PRIORITY_RECORD *array, + [in] WORD records); +} + +[ + object, + uuid(96406Bdc-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMStreamConfig : IUnknown +{ + HRESULT GetStreamType([out] GUID *pguidStreamType); + HRESULT GetStreamNumber([out] WORD *pwStreamNum); + HRESULT SetStreamNumber([in] WORD wStreamNum); + + HRESULT GetStreamName( + [out, size_is(*pcchStreamName)] WCHAR *pwszStreamName, + [in, out] WORD *pcchStreamName); + + HRESULT SetStreamName([in] LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName); + + HRESULT GetConnectionName( + [out, size_is(*pcchInputName)] WCHAR *pwszInputName, + [in, out] WORD *pcchInputName); + + HRESULT SetConnectionName([in] LPCWSTR_WMSDK_TYPE_SAFE pwszInputName); + HRESULT GetBitrate([out] DWORD *pdwBitrate); + HRESULT SetBitrate([in] DWORD pdwBitrate); + HRESULT GetBufferWindow([out] DWORD *pmsBufferWindow); + HRESULT SetBufferWindow([in] DWORD msBufferWindow); +} + +[ + object, + uuid(96406bdb-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMProfile : IUnknown +{ + HRESULT GetVersion( + [out] WMT_VERSION *pdwVersion); + + HRESULT GetName( + [out, size_is(*pcchName)] WCHAR *pwszName, + [in, out] DWORD *pcchName); + + HRESULT SetName( + [in] const WCHAR *pwszName); + + HRESULT GetDescription( + [out, size_is(*pcchDescription)] WCHAR *pwszDescription, + [in, out] DWORD *pcchDescription); + + HRESULT SetDescription( + [in] const WCHAR *pwszDescription); + + HRESULT GetStreamCount( + [out] DWORD *pcStreams); + + HRESULT GetStream( + [in] DWORD dwStreamIndex, + [out] IWMStreamConfig **ppConfig); + + HRESULT GetStreamByNumber( + [in] WORD wStreamNum, + [out] IWMStreamConfig **ppConfig); + + HRESULT RemoveStream( + [in] IWMStreamConfig *pConfig); + + HRESULT RemoveStreamByNumber( + [in] WORD wStreamNum); + + HRESULT AddStream( + [in] IWMStreamConfig *pConfig); + + HRESULT ReconfigStream( + [in] IWMStreamConfig *pConfig); + + HRESULT CreateNewStream( + [in] REFGUID guidStreamType, + [out] IWMStreamConfig **ppConfig); + + HRESULT GetMutualExclusionCount( + [out] DWORD *pcME); + + HRESULT GetMutualExclusion( + [in] DWORD dwMEIndex, + [out] IWMMutualExclusion **ppME); + + HRESULT RemoveMutualExclusion( + [in] IWMMutualExclusion *pME); + + HRESULT AddMutualExclusion( + [in] IWMMutualExclusion *pME); + + HRESULT CreateNewMutualExclusion( + [out] IWMMutualExclusion **ppME); +} + +[ + object, + uuid(07e72d33-d94e-4be7-8843-60ae5ff7e5f5), + pointer_default(unique), + local +] +interface IWMProfile2 : IWMProfile +{ + HRESULT GetProfileID([out] GUID *guid); +} + +[ + object, + uuid(00ef96cc-a461-4546-8bcd-c9a28f0e06f5), + pointer_default(unique), + local +] +interface IWMProfile3 : IWMProfile2 +{ + HRESULT GetStorageFormat([out] WMT_STORAGE_FORMAT *storage); + HRESULT SetStorageFormat([in] WMT_STORAGE_FORMAT storage); + + HRESULT GetBandwidthSharingCount([out] DWORD *count); + + HRESULT GetBandwidthSharing( + [in] DWORD index, + [out] IWMBandwidthSharing **bandwidth); + + HRESULT RemoveBandwidthSharing([in] IWMBandwidthSharing *bandwidth); + + HRESULT AddBandwidthSharing([in] IWMBandwidthSharing *bandwidth); + + HRESULT CreateNewBandwidthSharing([out] IWMBandwidthSharing **bandwidth); + + HRESULT GetStreamPrioritization([out] IWMStreamPrioritization **stream); + + HRESULT SetStreamPrioritization([in] IWMStreamPrioritization *stream); + + HRESULT RemoveStreamPrioritization(); + + HRESULT CreateNewStreamPrioritization([out] IWMStreamPrioritization **stream); + + HRESULT GetExpectedPacketCount( + [in] QWORD duration, + [out] QWORD *packets); +}; + +[ + object, + uuid(d16679f2-6ca0-472d-8d31-2f5d55aee155), + pointer_default(unique), + local +] +interface IWMProfileManager : IUnknown +{ + HRESULT CreateEmptyProfile( + [in] WMT_VERSION dwVersion, + [out] IWMProfile **ppProfile); + + HRESULT LoadProfileByID( + [in] REFGUID guidProfile, + [out] IWMProfile **ppProfile); + + HRESULT LoadProfileByData( + [in] const WCHAR *pwszProfile, + [out] IWMProfile **ppProfile); + + HRESULT SaveProfile( + [in] IWMProfile *pIWMProfile, + [in] WCHAR *pwszProfile, + [in, out] DWORD *pdwLength); + + HRESULT GetSystemProfileCount( + [out] DWORD *pcProfiles); + + HRESULT LoadSystemProfile( + [in] DWORD dwProfileIndex, + [out] IWMProfile **ppProfile); +} + +cpp_quote("HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**);") + +[ + object, + uuid(96406bce-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMMediaProps : IUnknown +{ + HRESULT GetType( + [out] GUID *pguidType); + + HRESULT GetMediaType( + [out] WM_MEDIA_TYPE *pType, + [in, out] DWORD *pcbType); + + HRESULT SetMediaType( + [in] WM_MEDIA_TYPE *pType); +}; + +[ + object, + uuid(96406bd7-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMOutputMediaProps : IWMMediaProps +{ + HRESULT GetStreamGroupName( + [out, size_is(*pcchName)] WCHAR *pwszName, + [in, out] WORD *pcchName); + + HRESULT GetConnectionName( + [out, size_is(*pcchName)] WCHAR *pwszName, + [in, out] WORD *pcchName); +}; + +[ + object, + uuid(96406bd9-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMMetadataEditor : IUnknown +{ + HRESULT Open( + [in] const WCHAR *pwszFilename); + + HRESULT Close(); + + HRESULT Flush(); +}; + +[ + object, + uuid(96406bd6-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMReader : IUnknown +{ + HRESULT Open( + [in] const WCHAR *pwszURL, + [in] IWMReaderCallback *pCallback, + [in] void *pvContext); + + HRESULT Close(); + + HRESULT GetOutputCount( + [out] DWORD *pcOutputs); + + HRESULT GetOutputProps( + [in] DWORD dwOutputNum, + [out] IWMOutputMediaProps **ppOutput); + + HRESULT SetOutputProps( + [in] DWORD dwOutputNum, + [in] IWMOutputMediaProps *pOutput); + + HRESULT GetOutputFormatCount( + [in] DWORD dwOutputNumber, + [out] DWORD *pcFormats); + + HRESULT GetOutputFormat( + [in] DWORD dwOutputNumber, + [in] DWORD dwFormatNumber, + [out] IWMOutputMediaProps** ppProps); + + HRESULT Start( + [in] QWORD cnsStart, + [in] QWORD cnsDuration, + [in] float fRate, + [in] void *pvContext); + + HRESULT Stop(); + + HRESULT Pause(); + + HRESULT Resume(); +}; + +[ + object, + uuid(e5b7ca9a-0f1c-4f66-9002-74ec50d8b304), + pointer_default(unique), + local +] +interface IWMPlayerHook : IUnknown +{ + HRESULT PreDecode(); +} + +[ + object, + uuid(96406bea-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMReaderAdvanced : IUnknown +{ + HRESULT SetUserProvidedClock( + [in] BOOL fUserClock); + + HRESULT GetUserProvidedClock( + [out] BOOL *pfUserClock); + + HRESULT DeliverTime( + [in] QWORD cnsTime); + + HRESULT SetManualStreamSelection( + [in] BOOL fSelection); + + HRESULT GetManualStreamSelection( + [out] BOOL *pfSelection); + + HRESULT SetStreamsSelected( + [in] WORD cStreamCount, + [in] WORD *pwStreamNumbers, + [in] WMT_STREAM_SELECTION *pSelections); + + HRESULT GetStreamSelected( + [in] WORD wStreamNum, + [out] WMT_STREAM_SELECTION *pSelection); + + HRESULT SetReceiveSelectionCallbacks( + [in] BOOL fGetCallbacks); + + HRESULT GetReceiveSelectionCallbacks( + [out] BOOL *pfGetCallbacks); + + HRESULT SetReceiveStreamSamples( + [in] WORD wStreamNum, + [in] BOOL fReceiveStreamSamples); + + HRESULT GetReceiveStreamSamples( + [in] WORD wStreamNum, + [out] BOOL *pfReceiveStreamSamples); + + HRESULT SetAllocateForOutput( + [in] DWORD dwOutputNum, + [in] BOOL fAllocate); + + HRESULT GetAllocateForOutput( + [in] DWORD dwOutputNum, + [out] BOOL *pfAllocate); + + HRESULT SetAllocateForStream( + [in] WORD wStreamNum, + [in] BOOL fAllocate); + + HRESULT GetAllocateForStream( + [in] WORD dwStreamNum, + [out] BOOL *pfAllocate); + + HRESULT GetStatistics( + [in, out] WM_READER_STATISTICS *pStatistics); + + HRESULT SetClientInfo( + [in] WM_READER_CLIENTINFO *pClientInfo); + + HRESULT GetMaxOutputSampleSize( + [in] DWORD dwOutput, + [out] DWORD *pcbMax); + + HRESULT GetMaxStreamSampleSize( + [in] WORD wStream, + [out] DWORD *pcbMax); + + HRESULT NotifyLateDelivery( + QWORD cnsLateness); +} + +[ + object, + uuid(ae14a945-b90c-4d0d-9127-80d665f7d73e), + pointer_default(unique), + local +] +interface IWMReaderAdvanced2 : IWMReaderAdvanced +{ + HRESULT SetPlayMode( + [in] WMT_PLAY_MODE Mode); + + HRESULT GetPlayMode( + [out] WMT_PLAY_MODE *pMode); + + HRESULT GetBufferProgress( + [out] DWORD *pdwPercent, + [out] QWORD *pcnsBuffering); + + HRESULT GetDownloadProgress( + [out] DWORD *pdwPercent, + [out] QWORD *pqwBytesDownloaded, + [out] QWORD *pcnsDownload); + + HRESULT GetSaveAsProgress( + [out] DWORD *pdwPercent); + + HRESULT SaveFileAs( + [in] const WCHAR *pwszFilename); + + HRESULT GetProtocolName( + [out, size_is(*pcchProtocol)] WCHAR *pwszProtocol, + [in, out] DWORD *pcchProtocol); + + HRESULT StartAtMarker( + [in] WORD wMarkerIndex, + [in] QWORD cnsDuration, + [in] float fRate, + [in] void *pvContext); + + HRESULT GetOutputSetting( + [in] DWORD dwOutputNum, + [in] LPCWSTR pszName, + [out] WMT_ATTR_DATATYPE *pType, + [out, size_is(*pcbLength)] BYTE *pValue, + [in, out] WORD *pcbLength); + + HRESULT SetOutputSetting( + [in] DWORD dwOutputNum, + [in] LPCWSTR pszName, + [in] WMT_ATTR_DATATYPE Type, + [in, size_is(cbLength)] const BYTE *pValue, + [in] WORD cbLength); + + HRESULT Preroll( + [in] QWORD cnsStart, + [in] QWORD cnsDuration, + [in] float fRate); + + HRESULT SetLogClientID( + [in] BOOL fLogClientID); + + HRESULT GetLogClientID( + [out] BOOL *pfLogClientID); + + HRESULT StopBuffering(); + + HRESULT OpenStream( + [in] IStream *pStream, + [in] IWMReaderCallback *pCallback, + [in] void *pvContext); +} + +[ + object, + uuid(5dc0674b-f04B-4a4e-9f2a-b1afde2c8100), + pointer_default(unique), + local +] +interface IWMReaderAdvanced3 : IWMReaderAdvanced2 +{ + HRESULT StopNetStreaming(); + + HRESULT StartAtPosition( + [in] WORD wStreamNum, + [in] void *pvOffsetStart, + [in] void *pvDuration, + [in] WMT_OFFSET_FORMAT dwOffsetFormat, + [in] float fRate, + [in] void *pvContext); +} + +[ + object, + uuid(945a76a2-12ae-4d48-bd3c-cd1d90399b85), + pointer_default(unique), + local +] +interface IWMReaderAdvanced4 : IWMReaderAdvanced3 +{ + HRESULT GetLanguageCount( + [in] DWORD dwOutputNum, + [out] WORD *pwLanguageCount); + + HRESULT GetLanguage( + [in] DWORD dwOutputNum, + [in] WORD wLanguage, + [out, size_is(*pcchLanguageStringLength)] WCHAR *pwszLanguageString, + [in, out] WORD *pcchLanguageStringLength); + + HRESULT GetMaxSpeedFactor( + [out] double *pdblFactor); + + HRESULT IsUsingFastCache( + [out] BOOL *pfUsingFastCache); + + HRESULT AddLogParam( + [in] LPCWSTR wszNameSpace, + [in] LPCWSTR wszName, + [in] LPCWSTR wszValue); + + HRESULT SendLogParams(); + + HRESULT CanSaveFileAs( + [out] BOOL *pfCanSave); + + HRESULT CancelSaveFileAs(); + + HRESULT GetURL( + [out, size_is(*pcchURL)] WCHAR *pwszURL, + [in, out] DWORD *pcchURL); +} + +[ + object, + uuid(24c44db0-55d1-49ae-a5cc-f13815e36363), + pointer_default(unique), + local +] +interface IWMReaderAdvanced5 : IWMReaderAdvanced4 +{ + HRESULT SetPlayerHook( + [in] DWORD dwOutputNum, + [in] IWMPlayerHook *pHook); +} + +[ + object, + uuid(18a2e7f8-428f-4acd-8a00-e64639bc93de), + pointer_default(unique), + local +] +interface IWMReaderAdvanced6 : IWMReaderAdvanced5 +{ + HRESULT SetProtectStreamSamples( + [in, size_is(cbCertificate)] BYTE *pbCertificate, + [in] DWORD cbCertificate, + [in] DWORD dwCertificateType, + [in] DWORD dwFlags, + [out, size_is(*pcbInitializationVector)] BYTE *pbInitializationVector, + [in, out] DWORD *pcbInitializationVector); +} + +[ + object, + uuid(9397f121-7705-4dc9-b049-98b698188414), + pointer_default( unique ), + local +] +interface IWMSyncReader : IUnknown +{ + HRESULT Open( + [in] const WCHAR *pwszFilename); + + HRESULT Close(); + + HRESULT SetRange( + [in] QWORD cnsStartTime, + [in] LONGLONG cnsDuration); + + HRESULT SetRangeByFrame( + [in] WORD wStreamNum, + [in] QWORD qwFrameNumber, + [in] LONGLONG cFramesToRead); + + HRESULT GetNextSample( + [in] WORD wStreamNum, + [out] INSSBuffer **ppSample, + [out] QWORD *pcnsSampleTime, + [out] QWORD *pcnsDuration, + [out] DWORD *pdwFlags, + [out] DWORD *pdwOutputNum, + [out] WORD *pwStreamNum); + + HRESULT SetStreamsSelected( + [in] WORD cStreamCount, + [in] WORD *pwStreamNumbers, + [in] WMT_STREAM_SELECTION *pSelections); + + HRESULT GetStreamSelected( + [in] WORD wStreamNum, + [out] WMT_STREAM_SELECTION *pSelection); + + HRESULT SetReadStreamSamples( + [in] WORD wStreamNum, + [in] BOOL fCompressed); + + HRESULT GetReadStreamSamples( + [in] WORD wStreamNum, + [out] BOOL *pfCompressed); + + HRESULT GetOutputSetting( + [in] DWORD dwOutputNum, + [in] LPCWSTR pszName, + [out] WMT_ATTR_DATATYPE *pType, + [out, size_is(*pcbLength)] BYTE *pValue, + [in, out] WORD *pcbLength); + + HRESULT SetOutputSetting( + [in] DWORD dwOutputNum, + [in] LPCWSTR pszName, + [in] WMT_ATTR_DATATYPE Type, + [in, size_is(cbLength)] const BYTE *pValue, + [in] WORD cbLength); + + HRESULT GetOutputCount( + [out] DWORD *pcOutputs); + + HRESULT GetOutputProps( + [in] DWORD dwOutputNum, + [out] IWMOutputMediaProps **ppOutput); + + HRESULT SetOutputProps( + [in] DWORD dwOutputNum, + [in] IWMOutputMediaProps *pOutput); + + HRESULT GetOutputFormatCount( + [in] DWORD dwOutputNum, + [out] DWORD *pcFormats); + + HRESULT GetOutputFormat( + [in] DWORD dwOutputNum, + [in] DWORD dwFormatNum, + [out] IWMOutputMediaProps **ppProps); + + HRESULT GetOutputNumberForStream( + [in] WORD wStreamNum, + [out] DWORD *pdwOutputNum); + + HRESULT GetStreamNumberForOutput( + [in] DWORD dwOutputNum, + [out] WORD *pwStreamNum); + + HRESULT GetMaxOutputSampleSize( + [in] DWORD dwOutput, + [out] DWORD *pcbMax); + + HRESULT GetMaxStreamSampleSize( + [in] WORD wStream, + [out] DWORD *pcbMax); + + HRESULT OpenStream( + [in] IStream *pStream); +}; + +[ + object, + uuid(96406bd5-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMInputMediaProps : IWMMediaProps +{ + HRESULT GetConnectionName( + [out, size_is(*pcchName)] WCHAR *pwszName, + [in, out] WORD *pcchName); + + HRESULT GetGroupName( + [out, size_is(*pcchName)] WCHAR *pwszName, + [in, out] WORD *pcchName); +} + +[ + object, + uuid(96406be4-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMWriterSink : IUnknown +{ + HRESULT OnHeader( + [in] INSSBuffer *pHeader); + + HRESULT IsRealTime( + [out] BOOL *pfRealTime); + + HRESULT AllocateDataUnit( + [in] DWORD cbDataUnit, + [out] INSSBuffer **ppDataUnit); + + HRESULT OnDataUnit( + [in] INSSBuffer *pDataUnit); + + HRESULT OnEndWriting(); +} + +[ + object, + uuid(96406bd4-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMWriter : IUnknown +{ + HRESULT SetProfileByID( + [in] REFGUID guidProfile); + + HRESULT SetProfile( + [in] IWMProfile *pProfile); + + HRESULT SetOutputFilename( + [in] const WCHAR *pwszFilename); + + HRESULT GetInputCount( + [out] DWORD *pcInputs); + + HRESULT GetInputProps( + [in] DWORD dwInputNum, + [out] IWMInputMediaProps **ppInput); + + HRESULT SetInputProps( + [in] DWORD dwInputNum, + [in] IWMInputMediaProps *pInput); + + HRESULT GetInputFormatCount( + [in] DWORD dwInputNumber, + [out] DWORD *pcFormats); + + HRESULT GetInputFormat( + [in] DWORD dwInputNumber, + [in] DWORD dwFormatNumber, + [out] IWMInputMediaProps **pProps); + + HRESULT BeginWriting(); + + HRESULT EndWriting(); + + HRESULT AllocateSample( + [in] DWORD dwSampleSize, + [out] INSSBuffer **ppSample); + + HRESULT WriteSample( + [in] DWORD dwInputNum, + [in] QWORD cnsSampleTime, + [in] DWORD dwFlags, + [in] INSSBuffer *pSample); + + HRESULT Flush(); +} + +[ + object, + uuid(96406be3-2b2b-11d3-b36b-00C04f6108ff), + pointer_default(unique), + local +] +interface IWMWriterAdvanced : IUnknown +{ + HRESULT GetSinkCount( + [out] DWORD *pcSinks); + + HRESULT GetSink( + [in] DWORD dwSinkNum, + [out] IWMWriterSink **ppSink); + + HRESULT AddSink( + [in] IWMWriterSink *pSink); + + HRESULT RemoveSink( + [in] IWMWriterSink *pSink); + + HRESULT WriteStreamSample( + [in] WORD wStreamNum, + [in] QWORD cnsSampleTime, + [in] DWORD msSampleSendTime, + [in] QWORD cnsSampleDuration, + [in] DWORD dwFlags, + [in] INSSBuffer *pSample); + + HRESULT SetLiveSource( + BOOL fIsLiveSource); + + HRESULT IsRealTime( + [out] BOOL *pfRealTime); + + HRESULT GetWriterTime( + [out] QWORD *pCurrentTime); + + HRESULT GetStatistics( + [in] WORD wStreamNum, + [out] WM_WRITER_STATISTICS *pStats); + + HRESULT SetSyncTolerance( + [in] DWORD msWindow); + + HRESULT GetSyncTolerance( + [out] DWORD *pmsWindow); +} + +[ + object, + uuid(962dc1ec-c046-4db8-9cc7-26ceae500817), + pointer_default(unique), + local +] +interface IWMWriterAdvanced2 : IWMWriterAdvanced +{ + HRESULT GetInputSetting( + [in] DWORD dwInputNum, + [in] LPCWSTR pszName, + [out] WMT_ATTR_DATATYPE *pType, + [out, size_is(*pcbLength)] BYTE *pValue, + [in, out] WORD *pcbLength); + + HRESULT SetInputSetting( + [in] DWORD dwInputNum, + [in] LPCWSTR pszName, + [in] WMT_ATTR_DATATYPE Type, + [in, size_is(cbLength)] const BYTE *pValue, + [in] WORD cbLength); +} + +[ + object, + uuid(2cd6492d-7c37-4e76-9d3b-59261183a22e), + pointer_default(unique), + local +] +interface IWMWriterAdvanced3 : IWMWriterAdvanced2 +{ + HRESULT GetStatisticsEx( + [in] WORD wStreamNum, + [out] WM_WRITER_STATISTICS_EX *pStats); + + HRESULT SetNonBlocking(); +} + +[ + object, + uuid(96406bda-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMHeaderInfo : IUnknown +{ + HRESULT GetAttributeCount( + [in] WORD stream_num, + [out] WORD *attributes ); + + HRESULT GetAttributeByIndex( + [in] WORD index, + [in, out] WORD *stream_num, + [out, size_is( *name_len )] WCHAR *name, + [in, out] WORD *name_len, + [out] WMT_ATTR_DATATYPE *type, + [out, size_is( *length )] BYTE *value, + [in, out] WORD *length ); + + HRESULT GetAttributeByName( + [in, out] WORD *stream_num, + [in] LPCWSTR name, + [out] WMT_ATTR_DATATYPE *type, + [out, size_is( *length )] BYTE *value, + [in, out] WORD *length ); + + HRESULT SetAttribute( + [in] WORD stream_num, + [in] LPCWSTR name, + [in] WMT_ATTR_DATATYPE type, + [in, size_is( length )] const BYTE *value, + [in] WORD length ); + + HRESULT GetMarkerCount( + [out] WORD *markers ); + + HRESULT GetMarker( + [in] WORD index, + [out, size_is( *marker_len )] WCHAR *marker_name, + [in, out] WORD *marker_len, + [out] QWORD *marker_time ); + + HRESULT AddMarker( + [in] LPCWSTR_WMSDK_TYPE_SAFE marker_name, + [in] QWORD marker_time ); + + HRESULT RemoveMarker( + [in] WORD index ); + + HRESULT GetScriptCount( + [out] WORD *scripts ); + + HRESULT GetScript( + [in] WORD index, + [out, size_is( *type_len )] WCHAR *type, + [in, out] WORD *type_len, + [out, size_is( *command_len )] WCHAR *command, + [in, out] WORD *command_len, + [out] QWORD *script_time ); + + HRESULT AddScript( + [in] LPCWSTR_WMSDK_TYPE_SAFE type, + [in] LPCWSTR_WMSDK_TYPE_SAFE command, + [in] QWORD script_time ); + + HRESULT RemoveScript( + [in] WORD index ); +}; + +[ + object, + uuid(15cf9781-454e-482e-b393-85fae487a810), + pointer_default(unique), + local +] +interface IWMHeaderInfo2 : IWMHeaderInfo +{ + HRESULT GetCodecInfoCount( + [out] DWORD *codec_infos ); + + HRESULT GetCodecInfo( + [in] DWORD index, + [in, out] WORD *name_len, + [out, size_is( *name_len )] WCHAR *name, + [in, out] WORD *description_len, + [out, size_is( *description_len )] WCHAR *description, + [out] WMT_CODEC_INFO_TYPE *codec_type, + [in, out] WORD *codec_info_cnt, + [out, size_is( *codec_info_cnt )] BYTE *codec_info ); +}; + +[ + object, + uuid(15cc68e3-27cc-4ecd-b222-3f5d02d80bd5), + pointer_default(unique), + local +] +interface IWMHeaderInfo3 : IWMHeaderInfo2 +{ + HRESULT GetAttributeCountEx( + [in] WORD stream_num, + [out] WORD *attributes ); + + HRESULT GetAttributeIndices( + [in] WORD stream_num, + [in] LPCWSTR name, + [in] WORD *lang_index, + [out, size_is( *count )] WORD *indices, + [in, out] WORD *count ); + + HRESULT GetAttributeByIndexEx( + [in] WORD stream_num, + [in] WORD index, + [out, size_is( *name_len )] LPWSTR name, + [in, out] WORD *name_len, + [out] WMT_ATTR_DATATYPE *type, + [out] WORD *lang_index, + [out, size_is( *data_len )] BYTE *value, + [in, out] DWORD *data_len ); + + HRESULT ModifyAttribute( + [in] WORD stream_num, + [in] WORD index, + [in] WMT_ATTR_DATATYPE type, + [in] WORD lang_index, + [in, size_is( length )] const BYTE *value, + [in] DWORD length ); + + HRESULT AddAttribute( + [in] WORD stream_num, + [in] LPCWSTR name, + [out] WORD *index, + [in] WMT_ATTR_DATATYPE type, + [in] WORD lang_index, + [in, size_is( length )] const BYTE *value, + [in] DWORD length ); + + HRESULT DeleteAttribute( + [in] WORD stream_num, + [in] WORD index ); + + HRESULT AddCodecInfo( + [in] LPCWSTR_WMSDK_TYPE_SAFE name, + [in] LPCWSTR_WMSDK_TYPE_SAFE description, + [in] WMT_CODEC_INFO_TYPE codec_type, + [in] WORD codec_info_cnt, + [in, size_is( codec_info_cnt )] BYTE *codec_info ); +}; + +[ + object, + uuid(96406bec-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] +interface IWMReaderNetworkConfig : IUnknown +{ + HRESULT GetBufferingTime([out] QWORD *buffering_time); + HRESULT SetBufferingTime([in] QWORD buffering_time); + + HRESULT GetUDPPortRanges( + [out, size_is( *ranges )] WM_PORT_NUMBER_RANGE *array, + [in, out] DWORD *ranges); + + HRESULT SetUDPPortRanges( + [in, size_is( ranges )] WM_PORT_NUMBER_RANGE *array, + [in] DWORD ranges); + + HRESULT GetProxySettings( + [in] const WCHAR *protocol, + [out] WMT_PROXY_SETTINGS *proxy); + + HRESULT SetProxySettings( + [in] LPCWSTR protocol, + [in] WMT_PROXY_SETTINGS proxy); + + HRESULT GetProxyHostName( + [in] const WCHAR *protocol, + [out, size_is( *size )] WCHAR *hostname, + [in, out] DWORD *size); + + HRESULT SetProxyHostName( + [in] const WCHAR *protocol, + [in] const WCHAR *hostname); + + HRESULT GetProxyPort( + [in] const WCHAR *protocol, + [out] DWORD *port); + + HRESULT SetProxyPort( + [in] const WCHAR *protocol, + [in] DWORD port); + + HRESULT GetProxyExceptionList( + [in] const WCHAR *protocol, + [out, size_is( *count )] WCHAR *exceptions, + [in, out] DWORD *count); + + HRESULT SetProxyExceptionList( + [in] const WCHAR *protocol, + [in] const WCHAR *exceptions); + + HRESULT GetProxyBypassForLocal( + [in] const WCHAR *protocol, + [out] BOOL *bypass); + + HRESULT SetProxyBypassForLocal( + [in] const WCHAR *protocol, + [in] BOOL bypass); + + HRESULT GetForceRerunAutoProxyDetection([out] BOOL *detection); + HRESULT SetForceRerunAutoProxyDetection([in] BOOL detection); + + HRESULT GetEnableMulticast([out] BOOL *multicast); + HRESULT SetEnableMulticast([in] BOOL multicast); + + HRESULT GetEnableHTTP([out] BOOL *enable); + HRESULT SetEnableHTTP([in] BOOL enable); + + HRESULT GetEnableUDP([out] BOOL *enable); + HRESULT SetEnableUDP([in] BOOL enable); + + HRESULT GetEnableTCP([out] BOOL *enable); + HRESULT SetEnableTCP([in] BOOL enable); + + HRESULT ResetProtocolRollover(); + + HRESULT GetConnectionBandwidth([out] DWORD *bandwidth); + HRESULT SetConnectionBandwidth([in] DWORD bandwidth); + + HRESULT GetNumProtocolsSupported([out] DWORD *protocols); + + HRESULT GetSupportedProtocolName( + [in] DWORD protocol_num, + [out, size_is( *size )] WCHAR *protocol, + [in, out] DWORD *size); + + HRESULT AddLoggingUrl([in] const WCHAR *url); + + HRESULT GetLoggingUrl( + [in] DWORD index, + [out, size_is( *size )] WCHAR *url, + [in, out] DWORD *size); + + HRESULT GetLoggingUrlCount([out] DWORD *count); + + HRESULT ResetLoggingUrlList(); +} + +[ + object, + uuid(d979a853-042b-4050-8387-c939db22013f), + pointer_default(unique), + local +] +interface IWMReaderNetworkConfig2 : IWMReaderNetworkConfig +{ + HRESULT GetEnableContentCaching([out] BOOL *enable); + HRESULT SetEnableContentCaching([in] BOOL enable); + + HRESULT GetEnableFastCache([out] BOOL *enable); + HRESULT SetEnableFastCache([in] BOOL enable); + + HRESULT GetAcceleratedStreamingDuration([out] QWORD *duration); + HRESULT SetAcceleratedStreamingDuration([in] QWORD duration); + + HRESULT GetAutoReconnectLimit([out] DWORD *limit); + HRESULT SetAutoReconnectLimit([in] DWORD limit); + + HRESULT GetEnableResends([out] BOOL *enable); + HRESULT SetEnableResends([in] BOOL enable); + + HRESULT GetEnableThinning([out] BOOL *enable); + HRESULT SetEnableThinning([in] BOOL enable); + + HRESULT GetMaxNetPacketSize([out] DWORD *packet_size); +} + +[ + object, + uuid(96406bed-2b2b-11d3-b36b-00c04f6108ff), + pointer_default(unique), + local +] + +interface IWMReaderStreamClock : IUnknown +{ + HRESULT GetTime([in] QWORD *now); + + HRESULT SetTimer([in] QWORD when, + [in] void *param, + [out] DWORD *id); + + HRESULT KillTimer([in] DWORD id); +} + +[ + object, + uuid(cdfb97ab-188f-40b3-b643-5b7903975c59), + pointer_default(unique), + local +] +interface IWMPacketSize : IUnknown +{ + HRESULT GetMaxPacketSize([out] DWORD *size); + HRESULT SetMaxPacketSize([in] DWORD size); +}; + +[ + object, + uuid(8bfc2b9e-b646-4233-a877-1c6a079669dc), + pointer_default(unique), + local +] +interface IWMPacketSize2 : IWMPacketSize +{ + HRESULT GetMinPacketSize([out] DWORD *size); + HRESULT SetMinPacketSize([in] DWORD size); +}; + +[ + object, + uuid(d2827540-3ee7-432c-b14c-dc17f085d3b3), + pointer_default(unique), + local +] +interface IWMDRMReader : IUnknown +{ + HRESULT AcquireLicense([in] DWORD flags); + HRESULT CancelLicenseAcquisition(); + + HRESULT Individualize([in] DWORD flags); + HRESULT CancelIndividualization(); + + HRESULT MonitorLicenseAcquisition(); + HRESULT CancelMonitorLicenseAcquisition(); + + HRESULT SetDRMProperty( + [in] const WCHAR *name, + [in] WMT_ATTR_DATATYPE type, + [in, size_is( length )] const BYTE *value, + [in] WORD length); + + HRESULT GetDRMProperty( + [in] const WCHAR *name, + [out] WMT_ATTR_DATATYPE *type, + [out, size_is( *length )] BYTE *value, + [in, out] WORD *length); +}; + +[ + object, + uuid(befe7a75-9f1d-4075-b9d9-a3c37bda49a0), + pointer_default(unique), + local +] +interface IWMDRMReader2 : IWMDRMReader +{ + HRESULT SetEvaluateOutputLevelLicenses([in] BOOL evaluate); + HRESULT GetPlayOutputLevels( + [out, size_is( *length )] DRM_PLAY_OPL *play, + [in, out] DWORD *length, + [out] DWORD *level); + + HRESULT GetCopyOutputLevels( + [out, size_is( *length )] DRM_COPY_OPL *copy, + [in, out] DWORD *length, + [out] DWORD *level); + + HRESULT TryNextLicense(); +}; + +[ + object, + uuid(e08672de-f1e7-4ff4-a0a3-fc4b08e4caf8), + pointer_default(unique), + local +] +interface IWMDRMReader3 : IWMDRMReader2 +{ + HRESULT GetInclusionList( + [out] GUID **guids, + [out] DWORD *count); +}; + +[ + object, + uuid(bddc4d08-944d-4d52-a612-46c3fda07dd4), + pointer_default( unique ), + local +] +interface IWMReaderAccelerator : IUnknown +{ + HRESULT GetCodecInterface( + [in] DWORD output, + [in] REFIID riid, + [out] void **codec); + + HRESULT Notify( + [in] DWORD output, + [in] WM_MEDIA_TYPE *subtype); +}; + +[ + object, + uuid(f369e2f0-e081-4fe6-8450-b810b2f410d1), + pointer_default(unique), + local +] +interface IWMReaderTimecode : IUnknown +{ + HRESULT GetTimecodeRangeCount( + [in] WORD num, + [out] WORD *count); + + HRESULT GetTimecodeRangeBounds( + [in] WORD stream, + [in] WORD range, + [out] DWORD *start_timecode, + [out] DWORD *end_timecode); +}; + +[ + object, + uuid(fdbe5592-81a1-41ea-93bd-735cad1adc05), + pointer_default(unique), + local +] +interface IWMReaderTypeNegotiation : IUnknown +{ + HRESULT TryOutputProps( + [in] DWORD output, + [in] IWMOutputMediaProps *props); +}; + +[ + object, + uuid(df683f00-2d49-4d8e-92b7-fb19f6a0dc57), + pointer_default(unique), + local +] +interface IWMLanguageList : IUnknown +{ + HRESULT GetLanguageCount( + [out] WORD *count); + + HRESULT GetLanguageDetails( + [in] WORD index, + [out, size_is( *length )] WCHAR *language, + [in, out] WORD *length); + + HRESULT AddLanguageByRFC1766String( + [in] LPCWSTR_WMSDK_TYPE_SAFE language, + [out] WORD *index); +}; + +[ + object, + uuid(f28c0300-9baa-4477-a846-1744d9cbf533), + pointer_default(unique), + local +] +interface IWMReaderPlaylistBurn : IUnknown +{ + HRESULT InitPlaylistBurn( + [in] DWORD count, + [in] LPCWSTR_WMSDK_TYPE_SAFE *filenames, + [in] IWMStatusCallback *callback, + [in] void *context); + + HRESULT GetInitResults( + [in] DWORD count, + [out] HRESULT *stat); + + HRESULT Cancel(); + + HRESULT EndPlaylistBurn([in] HRESULT result); +}; + + +cpp_quote("HRESULT WINAPI WMCreateWriter(IUnknown*,IWMWriter**);") +cpp_quote("HRESULT WINAPI WMCreateReader(IUnknown*,DWORD,IWMReader**);") + +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_Base, 0x00000000,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIATYPE_Video, 0x73646976,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB1, 0xe436eb78,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB4, 0xe436eb79,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB8, 0xe436eb7a,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB565, 0xe436eb7b,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB555, 0xe436eb7c,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB24, 0xe436eb7d,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB32, 0xe436eb7e,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_I420, 0x30323449,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_IYUV, 0x56555949,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YV12, 0x32315659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YUY2, 0x32595559,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_P422, 0x32323450,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_UYVY, 0x59565955,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YVYU, 0x55595659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YVU9, 0x39555659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_VIDEOIMAGE, 0x1d4a45f2,0xe5f6,0x4b44,0x83,0x88,0xf0,0xae,0x5c,0x0e,0x0c,0x37);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MP43, 0x3334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MP4S, 0x5334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_M4S2, 0x3253344d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMV1, 0x31564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMV2, 0x32564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MSS1, 0x3153534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MPEG2_VIDEO, 0xe06d8026,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea);") +cpp_quote("EXTERN_GUID(WMMEDIATYPE_Audio, 0x73647561,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_PCM, 0x00000001,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_DRM, 0x00000009,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMAudioV9, 0x00000162,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMAudio_Lossless, 0x00000163,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MSS2, 0x3253534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMSP1, 0x0000000a,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMSP2, 0x0000000b,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMV3, 0x33564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMVP, 0x50564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WVP2, 0x32505657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMVA, 0x41564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") +cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WVC1, 0x31435657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wnaspi32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wnaspi32.h new file mode 100644 index 0000000..5b0f808 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wnaspi32.h @@ -0,0 +1,252 @@ +/* + * Copyright (C) the Wine project + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WNASPI32_H__ +#define __WNASPI32_H__ + +/* This file should be 100% source compatible according to MS docs and + * Adaptec docs */ + +#ifdef __cplusplus +extern "C" { +#endif /* #ifdef __cplusplus */ + +/* SCSI Miscellaneous Stuff */ +#define SENSE_LEN 14 +#define SRB_DIR_SCSI 0x00 +#define SRB_POSTING 0x01 +#define SRB_ENABLE_RESIDUAL_COUNT 0x04 +#define SRB_DIR_IN 0x08 +#define SRB_DIR_OUT 0x10 + +/* ASPI Command Definitions */ +#define SC_HA_INQUIRY 0x00 +#define SC_GET_DEV_TYPE 0x01 +#define SC_EXEC_SCSI_CMD 0x02 +#define SC_ABORT_SRB 0x03 +#define SC_RESET_DEV 0x04 +#define SC_SET_HA_PARMS 0x05 +#define SC_GET_DISK_INFO 0x06 + +/* SRB status codes */ +#define SS_PENDING 0x00 +#define SS_COMP 0x01 +#define SS_ABORTED 0x02 +#define SS_ABORT_FAIL 0x03 +#define SS_ERR 0x04 + +#define SS_INVALID_CMD 0x80 +#define SS_INVALID_HA 0x81 +#define SS_NO_DEVICE 0x82 + +#define SS_INVALID_SRB 0xE0 +#define SS_OLD_MANAGER 0xE1 +#define SS_BUFFER_ALIGN 0xE1 /* Win32 */ +#define SS_ILLEGAL_MODE 0xE2 +#define SS_NO_ASPI 0xE3 +#define SS_FAILED_INIT 0xE4 +#define SS_ASPI_IS_BUSY 0xE5 +#define SS_BUFFER_TO_BIG 0xE6 +#define SS_MISMATCHED_COMPONENTS 0xE7 /* DLLs/EXE version mismatch */ +#define SS_NO_ADAPTERS 0xE8 +#define SS_INSUFFICIENT_RESOURCES 0xE9 +#define SS_ASPI_IS_SHUTDOWN 0xEA +#define SS_BAD_INSTALL 0xEB + + +/* Host status codes */ +#define HASTAT_OK 0x00 +#define HASTAT_SEL_TO 0x11 +#define HASTAT_DO_DU 0x12 +#define HASTAT_BUS_FREE 0x13 +#define HASTAT_PHASE_ERR 0x14 + +#define HASTAT_TIMEOUT 0x09 +#define HASTAT_COMMAND_TIMEOUT 0x0B +#define HASTAT_MESSAGE_REJECT 0x0D +#define HASTAT_BUS_RESET 0x0E +#define HASTAT_PARITY_ERROR 0x0F +#define HASTAT_REQUEST_SENSE_FAILED 0x10 + + +/* Additional definitions */ +/* SCSI Miscellaneous Stuff */ +#define SRB_EVENT_NOTIFY 0x40 +#define RESIDUAL_COUNT_SUPPORTED 0x02 +#define MAX_SRB_TIMEOUT 1080001u +#define DEFAULT_SRB_TIMEOUT 1080001u + +/* These are defined by MS but not adaptec */ +#define SRB_DATA_SG_LIST 0x02 +#define WM_ASPIPOST 0x4D42 + + +/* ASPI Command Definitions */ +#define SC_RESCAN_SCSI_BUS 0x07 +#define SC_GETSET_TIMEOUTS 0x08 + +/* SRB Status.. MS defined */ +#define SS_SECURITY_VIOLATION 0xE2 /* Replaces SS_INVALID_MODE */ +/*** END DEFS */ + +#include + +/* SRB - HOST ADAPTER INQUIRY - SC_HA_INQUIRY */ +typedef struct tagSRB32_HaInquiry { + BYTE SRB_Cmd; /* 00 ASPI command code = SC_HA_INQUIRY */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 ASPI request flags */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved, MUST = 0 */ + BYTE HA_Count; /* 08 Number of host adapters present */ + BYTE HA_SCSI_ID; /* 09 SCSI ID of host adapter */ + BYTE HA_ManagerId[16]; /* 0A String describing the manager */ + BYTE HA_Identifier[16]; /* 1A String describing the host adapter */ + BYTE HA_Unique[16]; /* 2A Host Adapter Unique parameters */ + WORD HA_Rsvd1; +} SRB_HaInquiry, *PSRB_HaInquiry; + +/* SRB - GET DEVICE TYPE - SC_GET_DEV_TYPE */ +typedef struct tagSRB32_GDEVBlock { + BYTE SRB_Cmd; /* 00 ASPI command code = SC_GET_DEV_TYPE */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 Reserved */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved */ + BYTE SRB_Target; /* 08 Target's SCSI ID */ + BYTE SRB_Lun; /* 09 Target's LUN number */ + BYTE SRB_DeviceType; /* 0A Target's peripheral device type */ + BYTE SRB_Rsvd1; +} SRB_GDEVBlock, *PSRB_GDEVBlock; + +/* SRB - EXECUTE SCSI COMMAND - SC_EXEC_SCSI_CMD */ +typedef struct tagSRB32_ExecSCSICmd { + BYTE SRB_Cmd; /* 00 ASPI command code = SC_EXEC_SCSI_CMD */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 ASPI request flags */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved */ + BYTE SRB_Target; /* 08 Target's SCSI ID */ + BYTE SRB_Lun; /* 09 Target's LUN number */ + WORD SRB_Rsvd1; /* 0A Reserved for Alignment */ + DWORD SRB_BufLen; /* 0C Data Allocation Length */ + BYTE *SRB_BufPointer; /* 10 Data Buffer Point */ + BYTE SRB_SenseLen; /* 14 Sense Allocation Length */ + BYTE SRB_CDBLen; /* 15 CDB Length */ + BYTE SRB_HaStat; /* 16 Host Adapter Status */ + BYTE SRB_TargStat; /* 17 Target Status */ + void (*SRB_PostProc)( struct tagSRB32_ExecSCSICmd * ); /* 18 Post routine */ + void *SRB_Rsvd2; /* 1C Reserved */ + BYTE SRB_Rsvd3[16]; /* 20 Reserved for expansion */ + BYTE CDBByte[16]; /* 30 SCSI CDB */ + BYTE SenseArea[SENSE_LEN+2]; /* 40 Request sense buffer - var length */ +} SRB_ExecSCSICmd, *PSRB_ExecSCSICmd; + +/* SRB - ABORT AN ARB - SC_ABORT_SRB */ +typedef struct tagSRB32_Abort { + BYTE SRB_Cmd; /* 00 ASPI command code = SC_ABORT_SRB */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 Reserved */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved, MUST = 0 */ + VOID *SRB_ToAbort; /* 08 Pointer to SRB to abort */ +} SRB_Abort, *PSRB_Abort; + +/* SRB - BUS DEVICE RESET - SC_RESET_DEV */ +typedef struct tagSRB32_BusDeviceReset { + BYTE SRB_Cmd; /* 00 ASPI cmd code = SC_RESET_DEV */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 Reserved */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved */ + BYTE SRB_Target; /* 08 Target's SCSI ID */ + BYTE SRB_Lun; /* 09 Target's LUN number */ + BYTE SRB_Rsvd1[12]; /* 0A Reserved for Alignment */ + BYTE SRB_HaStat; /* 16 Host Adapter Status */ + BYTE SRB_TargStat; /* 17 Target Status */ + void (*SRB_PostProc)( struct tagSRB32_BusDeviceReset * ); /* 18 Post routine */ + void *SRB_Rsvd2; /* 1c Reserved */ + BYTE SRB_Rsvd3[32]; /* 20 Reserved */ +} SRB_BusDeviceReset, *PSRB_BusDeviceReset; + +/* SRB - GET DISK INFORMATION - SC_GET_DISK_INFO */ +typedef struct tagSRB32_GetDiskInfo { + BYTE SRB_Cmd; /* 00 ASPI cmd code = SC_RESET_DEV */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 Reserved */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved */ + BYTE SRB_Target; /* 08 Target's SCSI ID */ + BYTE SRB_Lun; /* 09 Target's LUN number */ + BYTE SRB_DriveFlags; /* 0A Driver flags */ + BYTE SRB_Int13HDriveInfo; /* 0B Host Adapter Status */ + BYTE SRB_Heads; /* 0C Preferred number of heads trans */ + BYTE SRB_Sectors; /* 0D Preferred number of sectors trans */ + BYTE SRB_Rsvd1[10]; /* 0E Reserved */ +} SRB_GetDiskInfo, *PSRB_GetDiskInfo; + +typedef struct tagSRB32_GetSetTimeouts { + BYTE SRB_Cmd; /* 00 ASPI cmd code = SC_GETSET_TIMEOUTS */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 Reserved */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved */ + BYTE SRB_Target; /* 08 Target's SCSI ID */ + BYTE SRB_Lun; /* 09 Target's LUN number */ + DWORD SRB_Timeout; /* 10 Target's Timeout value */ +} SRB_GetSetTimeouts, *PSRB_GetSetTimeouts; + +/* SRB header */ +typedef struct tagSRB32_Header { + BYTE SRB_Cmd; /* 00 ASPI cmd code = SC_RESET_DEV */ + BYTE SRB_Status; /* 01 ASPI command status byte */ + BYTE SRB_HaId; /* 02 ASPI host adapter number */ + BYTE SRB_Flags; /* 03 Reserved */ + DWORD SRB_Hdr_Rsvd; /* 04 Reserved */ +} SRB_Header, *PSRB_Header; + +typedef union tagSRB32 { + SRB_Header common; + SRB_HaInquiry inquiry; + SRB_ExecSCSICmd cmd; + SRB_Abort abort; + SRB_BusDeviceReset reset; + SRB_GDEVBlock devtype; + SRB_GetDiskInfo diskinfo; +} SRB, *PSRB, *LPSRB; + +typedef struct tagASPI32BUFF { + LPBYTE AB_BufPointer; /* pointer to buffer */ + DWORD AB_BufLen; /* length of buffer */ + DWORD AB_ZeroFill; /* set to 1 if zeroing */ + DWORD AB_Reserved; /* 0 */ +} ASPI32BUFF, *PASPI32BUFF; + +#include + +/* Prototypes */ +extern DWORD __cdecl SendASPI32Command (PSRB); +extern DWORD __cdecl GetASPI32SupportInfo (void); +extern DWORD __cdecl GetASPI32DLLVersion(void); +extern BOOL __cdecl GetASPI32Buffer(PASPI32BUFF pab); + +#ifdef __cplusplus +} +#endif /* #ifdef __cplusplus */ + +#endif /* __WNASPI32_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wownt32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wownt32.h new file mode 100644 index 0000000..51b1108 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wownt32.h @@ -0,0 +1,158 @@ +/* + * WOW Generic Thunk API + * + * Copyright (C) 1999 Ulrich Weigand + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WOWNT32_H_ +#define _WOWNT32_H_ + +#ifdef __WINESRC__ +/* under Wine use the kernel functions directly so we don't have to import wow32 */ +#define WOWCallback16 K32WOWCallback16 +#define WOWCallback16Ex K32WOWCallback16Ex +#define WOWDirectedYield16 K32WOWDirectedYield16 +#define WOWGetVDMPointer K32WOWGetVDMPointer +#define WOWGetVDMPointerFix K32WOWGetVDMPointerFix +#define WOWGetVDMPointerUnfix K32WOWGetVDMPointerUnfix +#define WOWGlobalAlloc16 K32WOWGlobalAlloc16 +#define WOWGlobalAllocLock16 K32WOWGlobalAllocLock16 +#define WOWGlobalFree16 K32WOWGlobalFree16 +#define WOWGlobalLock16 K32WOWGlobalLock16 +#define WOWGlobalLockSize16 K32WOWGlobalLockSize16 +#define WOWGlobalUnlock16 K32WOWGlobalUnlock16 +#define WOWGlobalUnlockFree16 K32WOWGlobalUnlockFree16 +#define WOWHandle16 K32WOWHandle16 +#define WOWHandle32 K32WOWHandle32 +#define WOWYield16 K32WOWYield16 +#endif + +LPVOID WINAPI WOWGetVDMPointer(DWORD,DWORD,BOOL); +LPVOID WINAPI WOWGetVDMPointerFix(DWORD,DWORD,BOOL); +VOID WINAPI WOWGetVDMPointerUnfix(DWORD); + +WORD WINAPI WOWGlobalAlloc16(WORD,DWORD); +WORD WINAPI WOWGlobalFree16(WORD); +DWORD WINAPI WOWGlobalLock16(WORD); +BOOL WINAPI WOWGlobalUnlock16(WORD); +DWORD WINAPI WOWGlobalAllocLock16(WORD,DWORD,WORD *); +WORD WINAPI WOWGlobalUnlockFree16(DWORD); +DWORD WINAPI WOWGlobalLockSize16(WORD,PDWORD); + +VOID WINAPI WOWYield16(VOID); +VOID WINAPI WOWDirectedYield16(WORD); + +typedef enum +{ + WOW_TYPE_HWND, + WOW_TYPE_HMENU, + WOW_TYPE_HDWP, + WOW_TYPE_HDROP, + WOW_TYPE_HDC, + WOW_TYPE_HFONT, + WOW_TYPE_HMETAFILE, + WOW_TYPE_HRGN, + WOW_TYPE_HBITMAP, + WOW_TYPE_HBRUSH, + WOW_TYPE_HPALETTE, + WOW_TYPE_HPEN, + WOW_TYPE_HACCEL, + WOW_TYPE_HTASK, + WOW_TYPE_FULLHWND + +} WOW_HANDLE_TYPE; + +HANDLE WINAPI WOWHandle32(WORD,WOW_HANDLE_TYPE); +WORD WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE); + +#ifdef __WINESRC__ +/* under Wine we use optimized versions where we can */ +#define HWND_32(h16) ((HWND) (ULONG_PTR)(h16)) +#define HMENU_32(h16) ((HMENU) (ULONG_PTR)(h16)) +#define HDWP_32(h16) ((HDWP) (ULONG_PTR)(h16)) +#define HDROP_32(h16) ((HDROP) (ULONG_PTR)(h16)) +#define HDC_32(h16) ((HDC) (ULONG_PTR)(h16)) +#define HFONT_32(h16) ((HFONT) (ULONG_PTR)(h16)) +#define HRGN_32(h16) ((HRGN) (ULONG_PTR)(h16)) +#define HBITMAP_32(h16) ((HBITMAP) (ULONG_PTR)(h16)) +#define HBRUSH_32(h16) ((HBRUSH) (ULONG_PTR)(h16)) +#define HPALETTE_32(h16) ((HPALETTE) (ULONG_PTR)(h16)) +#define HPEN_32(h16) ((HPEN) (ULONG_PTR)(h16)) +#define HACCEL_32(h16) ((HACCEL) (ULONG_PTR)(h16)) + +#define HWND_16(h32) (LOWORD(h32)) +#define HMENU_16(h32) (LOWORD(h32)) +#define HDWP_16(h32) (LOWORD(h32)) +#define HDROP_16(h32) (LOWORD(h32)) +#define HDC_16(h32) (LOWORD(h32)) +#define HFONT_16(h32) (LOWORD(h32)) +#define HRGN_16(h32) (LOWORD(h32)) +#define HBITMAP_16(h32) (LOWORD(h32)) +#define HBRUSH_16(h32) (LOWORD(h32)) +#define HPALETTE_16(h32) (LOWORD(h32)) +#define HPEN_16(h32) (LOWORD(h32)) +#define HACCEL_16(h32) (LOWORD(h32)) + +#else /* __WINESRC__ */ + +#define HWND_32(h16) ((HWND) (WOWHandle32(h16, WOW_TYPE_HWND))) +#define HMENU_32(h16) ((HMENU) (WOWHandle32(h16, WOW_TYPE_HMENU))) +#define HDWP_32(h16) ((HDWP) (WOWHandle32(h16, WOW_TYPE_HDWP))) +#define HDROP_32(h16) ((HDROP) (WOWHandle32(h16, WOW_TYPE_HDROP))) +#define HDC_32(h16) ((HDC) (WOWHandle32(h16, WOW_TYPE_HDC))) +#define HFONT_32(h16) ((HFONT) (WOWHandle32(h16, WOW_TYPE_HFONT))) +#define HRGN_32(h16) ((HRGN) (WOWHandle32(h16, WOW_TYPE_HRGN))) +#define HBITMAP_32(h16) ((HBITMAP) (WOWHandle32(h16, WOW_TYPE_HBITMAP))) +#define HBRUSH_32(h16) ((HBRUSH) (WOWHandle32(h16, WOW_TYPE_HBRUSH))) +#define HPALETTE_32(h16) ((HPALETTE) (WOWHandle32(h16, WOW_TYPE_HPALETTE))) +#define HPEN_32(h16) ((HPEN) (WOWHandle32(h16, WOW_TYPE_HPEN))) +#define HACCEL_32(h16) ((HACCEL) (WOWHandle32(h16, WOW_TYPE_HACCEL))) + +#define HWND_16(h32) (WOWHandle16(h32, WOW_TYPE_HWND)) +#define HMENU_16(h32) (WOWHandle16(h32, WOW_TYPE_HMENU)) +#define HDWP_16(h32) (WOWHandle16(h32, WOW_TYPE_HDWP)) +#define HDROP_16(h32) (WOWHandle16(h32, WOW_TYPE_HDROP)) +#define HDC_16(h32) (WOWHandle16(h32, WOW_TYPE_HDC)) +#define HFONT_16(h32) (WOWHandle16(h32, WOW_TYPE_HFONT)) +#define HRGN_16(h32) (WOWHandle16(h32, WOW_TYPE_HRGN)) +#define HBITMAP_16(h32) (WOWHandle16(h32, WOW_TYPE_HBITMAP)) +#define HBRUSH_16(h32) (WOWHandle16(h32, WOW_TYPE_HBRUSH)) +#define HPALETTE_16(h32) (WOWHandle16(h32, WOW_TYPE_HPALETTE)) +#define HPEN_16(h32) (WOWHandle16(h32, WOW_TYPE_HPEN)) +#define HACCEL_16(h32) (WOWHandle16(h32, WOW_TYPE_HACCEL)) + +#endif /* __WINESRC__ */ + +#define HMETAFILE_32(h16) ((HMETAFILE)(WOWHandle32(h16, WOW_TYPE_HMETAFILE))) +#define HTASK_32(h16) ((DWORD)(WOWHandle32(h16, WOW_TYPE_HTASK))) +#define FULLHWND_32(h16) ((HWND)(WOWHandle32(h16, WOW_TYPE_FULLHWND))) + +#define HMETAFILE_16(h32) (WOWHandle16(h32, WOW_TYPE_HMETAFILE)) +#define HTASK_16(h32) (WOWHandle16((HANDLE)(h32), WOW_TYPE_HTASK)) + +#define WCB16_PASCAL 0 +#define WCB16_CDECL 1 +#define WCB16_MAX_CBARGS 16 + +/* Wine extensions: call register function, context ptr is passed in the return value LPDWORD */ +#define WCB16_REGS 2 +#define WCB16_REGS_LONG 4 /* function uses 32-bit lret */ + +DWORD WINAPI WOWCallback16(DWORD,DWORD); +BOOL WINAPI WOWCallback16Ex(DWORD,DWORD,DWORD,LPVOID,LPDWORD); + +#endif /* _WOWNT32_H_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wpcapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wpcapi.h new file mode 100644 index 0000000..732d248 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wpcapi.h @@ -0,0 +1,681 @@ +/*** Autogenerated by WIDL 2.18 from wpcapi.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wpcapi_h__ +#define __wpcapi_h__ + +/* Forward declarations */ + +#ifndef __IWPCSettings_FWD_DEFINED__ +#define __IWPCSettings_FWD_DEFINED__ +typedef interface IWPCSettings IWPCSettings; +#ifdef __cplusplus +interface IWPCSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IWPCGamesSettings_FWD_DEFINED__ +#define __IWPCGamesSettings_FWD_DEFINED__ +typedef interface IWPCGamesSettings IWPCGamesSettings; +#ifdef __cplusplus +interface IWPCGamesSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IWPCWebSettings_FWD_DEFINED__ +#define __IWPCWebSettings_FWD_DEFINED__ +typedef interface IWPCWebSettings IWPCWebSettings; +#ifdef __cplusplus +interface IWPCWebSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IWindowsParentalControlsCore_FWD_DEFINED__ +#define __IWindowsParentalControlsCore_FWD_DEFINED__ +typedef interface IWindowsParentalControlsCore IWindowsParentalControlsCore; +#ifdef __cplusplus +interface IWindowsParentalControlsCore; +#endif /* __cplusplus */ +#endif + +#ifndef __IWindowsParentalControls_FWD_DEFINED__ +#define __IWindowsParentalControls_FWD_DEFINED__ +typedef interface IWindowsParentalControls IWindowsParentalControls; +#ifdef __cplusplus +interface IWindowsParentalControls; +#endif /* __cplusplus */ +#endif + +#ifndef __WindowsParentalControls_FWD_DEFINED__ +#define __WindowsParentalControls_FWD_DEFINED__ +#ifdef __cplusplus +typedef class WindowsParentalControls WindowsParentalControls; +#else +typedef struct WindowsParentalControls WindowsParentalControls; +#endif /* defined __cplusplus */ +#endif /* defined __WindowsParentalControls_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum tagWPCFLAG_RESTRICTION { + WPCFLAG_NO_RESTRICTION = 0x0, + WPCFLAG_LOGGING_REQUIRED = 0x1, + WPCFLAG_WEB_FILTERED = 0x2, + WPCFLAG_HOURS_RESTRICTED = 0x4, + WPCFLAG_GAMES_BLOCKED = 0x8, + WPCFLAG_APPS_RESTRICTED = 0x10 +} WPCFLAG_RESTRICTION; +/***************************************************************************** + * IWPCSettings interface + */ +#ifndef __IWPCSettings_INTERFACE_DEFINED__ +#define __IWPCSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWPCSettings, 0x8fdf6ca1, 0x0189, 0x47e4, 0xb6,0x70, 0x1a,0x8a,0x46,0x36,0xe3,0x40); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8fdf6ca1-0189-47e4-b670-1a8a4636e340") +IWPCSettings : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsLoggingRequired( + BOOL *pfRequired) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLastSettingsChangeTime( + SYSTEMTIME *pTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRestrictions( + DWORD *pdwRestrictions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWPCSettings, 0x8fdf6ca1, 0x0189, 0x47e4, 0xb6,0x70, 0x1a,0x8a,0x46,0x36,0xe3,0x40) +#endif +#else +typedef struct IWPCSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWPCSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWPCSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWPCSettings *This); + + /*** IWPCSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *IsLoggingRequired)( + IWPCSettings *This, + BOOL *pfRequired); + + HRESULT (STDMETHODCALLTYPE *GetLastSettingsChangeTime)( + IWPCSettings *This, + SYSTEMTIME *pTime); + + HRESULT (STDMETHODCALLTYPE *GetRestrictions)( + IWPCSettings *This, + DWORD *pdwRestrictions); + + END_INTERFACE +} IWPCSettingsVtbl; + +interface IWPCSettings { + CONST_VTBL IWPCSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWPCSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWPCSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWPCSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IWPCSettings methods ***/ +#define IWPCSettings_IsLoggingRequired(This,pfRequired) (This)->lpVtbl->IsLoggingRequired(This,pfRequired) +#define IWPCSettings_GetLastSettingsChangeTime(This,pTime) (This)->lpVtbl->GetLastSettingsChangeTime(This,pTime) +#define IWPCSettings_GetRestrictions(This,pdwRestrictions) (This)->lpVtbl->GetRestrictions(This,pdwRestrictions) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWPCSettings_QueryInterface(IWPCSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWPCSettings_AddRef(IWPCSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWPCSettings_Release(IWPCSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IWPCSettings methods ***/ +static FORCEINLINE HRESULT IWPCSettings_IsLoggingRequired(IWPCSettings* This,BOOL *pfRequired) { + return This->lpVtbl->IsLoggingRequired(This,pfRequired); +} +static FORCEINLINE HRESULT IWPCSettings_GetLastSettingsChangeTime(IWPCSettings* This,SYSTEMTIME *pTime) { + return This->lpVtbl->GetLastSettingsChangeTime(This,pTime); +} +static FORCEINLINE HRESULT IWPCSettings_GetRestrictions(IWPCSettings* This,DWORD *pdwRestrictions) { + return This->lpVtbl->GetRestrictions(This,pdwRestrictions); +} +#endif +#endif + +#endif + + +#endif /* __IWPCSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWPCGamesSettings interface + */ +#ifndef __IWPCGamesSettings_INTERFACE_DEFINED__ +#define __IWPCGamesSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWPCGamesSettings, 0x95e87780, 0xe158, 0x489e, 0xb4,0x52, 0xbb,0xb8,0x50,0x79,0x07,0x15); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("95e87780-e158-489e-b452-bbb850790715") +IWPCGamesSettings : public IWPCSettings +{ + virtual HRESULT STDMETHODCALLTYPE IsBlocked( + GUID guidAppID, + DWORD *pdwReasons) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWPCGamesSettings, 0x95e87780, 0xe158, 0x489e, 0xb4,0x52, 0xbb,0xb8,0x50,0x79,0x07,0x15) +#endif +#else +typedef struct IWPCGamesSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWPCGamesSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWPCGamesSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWPCGamesSettings *This); + + /*** IWPCSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *IsLoggingRequired)( + IWPCGamesSettings *This, + BOOL *pfRequired); + + HRESULT (STDMETHODCALLTYPE *GetLastSettingsChangeTime)( + IWPCGamesSettings *This, + SYSTEMTIME *pTime); + + HRESULT (STDMETHODCALLTYPE *GetRestrictions)( + IWPCGamesSettings *This, + DWORD *pdwRestrictions); + + /*** IWPCGamesSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *IsBlocked)( + IWPCGamesSettings *This, + GUID guidAppID, + DWORD *pdwReasons); + + END_INTERFACE +} IWPCGamesSettingsVtbl; + +interface IWPCGamesSettings { + CONST_VTBL IWPCGamesSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWPCGamesSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWPCGamesSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWPCGamesSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IWPCSettings methods ***/ +#define IWPCGamesSettings_IsLoggingRequired(This,pfRequired) (This)->lpVtbl->IsLoggingRequired(This,pfRequired) +#define IWPCGamesSettings_GetLastSettingsChangeTime(This,pTime) (This)->lpVtbl->GetLastSettingsChangeTime(This,pTime) +#define IWPCGamesSettings_GetRestrictions(This,pdwRestrictions) (This)->lpVtbl->GetRestrictions(This,pdwRestrictions) +/*** IWPCGamesSettings methods ***/ +#define IWPCGamesSettings_IsBlocked(This,guidAppID,pdwReasons) (This)->lpVtbl->IsBlocked(This,guidAppID,pdwReasons) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWPCGamesSettings_QueryInterface(IWPCGamesSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWPCGamesSettings_AddRef(IWPCGamesSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWPCGamesSettings_Release(IWPCGamesSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IWPCSettings methods ***/ +static FORCEINLINE HRESULT IWPCGamesSettings_IsLoggingRequired(IWPCGamesSettings* This,BOOL *pfRequired) { + return This->lpVtbl->IsLoggingRequired(This,pfRequired); +} +static FORCEINLINE HRESULT IWPCGamesSettings_GetLastSettingsChangeTime(IWPCGamesSettings* This,SYSTEMTIME *pTime) { + return This->lpVtbl->GetLastSettingsChangeTime(This,pTime); +} +static FORCEINLINE HRESULT IWPCGamesSettings_GetRestrictions(IWPCGamesSettings* This,DWORD *pdwRestrictions) { + return This->lpVtbl->GetRestrictions(This,pdwRestrictions); +} +/*** IWPCGamesSettings methods ***/ +static FORCEINLINE HRESULT IWPCGamesSettings_IsBlocked(IWPCGamesSettings* This,GUID guidAppID,DWORD *pdwReasons) { + return This->lpVtbl->IsBlocked(This,guidAppID,pdwReasons); +} +#endif +#endif + +#endif + + +#endif /* __IWPCGamesSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWPCWebSettings interface + */ +#ifndef __IWPCWebSettings_INTERFACE_DEFINED__ +#define __IWPCWebSettings_INTERFACE_DEFINED__ + +typedef enum tagWPCFLAG_WEB_SETTING { + WPCFLAG_WEB_SETTING_NOTBLOCKED = 0, + WPCFLAG_WEB_SETTING_DOWNLOADSBLOCKED = 1 +} WPCFLAG_WEB_SETTING; +DEFINE_GUID(IID_IWPCWebSettings, 0xffccbdb8, 0x0992, 0x4c30, 0xb0,0xf1, 0x1c,0xbb,0x09,0xc2,0x40,0xaa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ffccbdb8-0992-4c30-b0f1-1cbb09c240aa") +IWPCWebSettings : public IWPCSettings +{ + virtual HRESULT STDMETHODCALLTYPE GetSettings( + DWORD *pdwSettings) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestURLOverride( + HWND hWnd, + LPCWSTR pcszURL, + DWORD cURLs, + LPCWSTR *ppcszSubURLs, + BOOL *pfChanged) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWPCWebSettings, 0xffccbdb8, 0x0992, 0x4c30, 0xb0,0xf1, 0x1c,0xbb,0x09,0xc2,0x40,0xaa) +#endif +#else +typedef struct IWPCWebSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWPCWebSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWPCWebSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWPCWebSettings *This); + + /*** IWPCSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *IsLoggingRequired)( + IWPCWebSettings *This, + BOOL *pfRequired); + + HRESULT (STDMETHODCALLTYPE *GetLastSettingsChangeTime)( + IWPCWebSettings *This, + SYSTEMTIME *pTime); + + HRESULT (STDMETHODCALLTYPE *GetRestrictions)( + IWPCWebSettings *This, + DWORD *pdwRestrictions); + + /*** IWPCWebSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSettings)( + IWPCWebSettings *This, + DWORD *pdwSettings); + + HRESULT (STDMETHODCALLTYPE *RequestURLOverride)( + IWPCWebSettings *This, + HWND hWnd, + LPCWSTR pcszURL, + DWORD cURLs, + LPCWSTR *ppcszSubURLs, + BOOL *pfChanged); + + END_INTERFACE +} IWPCWebSettingsVtbl; + +interface IWPCWebSettings { + CONST_VTBL IWPCWebSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWPCWebSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWPCWebSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWPCWebSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IWPCSettings methods ***/ +#define IWPCWebSettings_IsLoggingRequired(This,pfRequired) (This)->lpVtbl->IsLoggingRequired(This,pfRequired) +#define IWPCWebSettings_GetLastSettingsChangeTime(This,pTime) (This)->lpVtbl->GetLastSettingsChangeTime(This,pTime) +#define IWPCWebSettings_GetRestrictions(This,pdwRestrictions) (This)->lpVtbl->GetRestrictions(This,pdwRestrictions) +/*** IWPCWebSettings methods ***/ +#define IWPCWebSettings_GetSettings(This,pdwSettings) (This)->lpVtbl->GetSettings(This,pdwSettings) +#define IWPCWebSettings_RequestURLOverride(This,hWnd,pcszURL,cURLs,ppcszSubURLs,pfChanged) (This)->lpVtbl->RequestURLOverride(This,hWnd,pcszURL,cURLs,ppcszSubURLs,pfChanged) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWPCWebSettings_QueryInterface(IWPCWebSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWPCWebSettings_AddRef(IWPCWebSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWPCWebSettings_Release(IWPCWebSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IWPCSettings methods ***/ +static FORCEINLINE HRESULT IWPCWebSettings_IsLoggingRequired(IWPCWebSettings* This,BOOL *pfRequired) { + return This->lpVtbl->IsLoggingRequired(This,pfRequired); +} +static FORCEINLINE HRESULT IWPCWebSettings_GetLastSettingsChangeTime(IWPCWebSettings* This,SYSTEMTIME *pTime) { + return This->lpVtbl->GetLastSettingsChangeTime(This,pTime); +} +static FORCEINLINE HRESULT IWPCWebSettings_GetRestrictions(IWPCWebSettings* This,DWORD *pdwRestrictions) { + return This->lpVtbl->GetRestrictions(This,pdwRestrictions); +} +/*** IWPCWebSettings methods ***/ +static FORCEINLINE HRESULT IWPCWebSettings_GetSettings(IWPCWebSettings* This,DWORD *pdwSettings) { + return This->lpVtbl->GetSettings(This,pdwSettings); +} +static FORCEINLINE HRESULT IWPCWebSettings_RequestURLOverride(IWPCWebSettings* This,HWND hWnd,LPCWSTR pcszURL,DWORD cURLs,LPCWSTR *ppcszSubURLs,BOOL *pfChanged) { + return This->lpVtbl->RequestURLOverride(This,hWnd,pcszURL,cURLs,ppcszSubURLs,pfChanged); +} +#endif +#endif + +#endif + + +#endif /* __IWPCWebSettings_INTERFACE_DEFINED__ */ + +typedef enum tagWPCFLAG_VISIBILITY { + WPCFLAG_WPC_VISIBLE = 0, + WPCFLAG_WPC_HIDDEN = 1 +} WPCFLAG_VISIBILITY; +/***************************************************************************** + * IWindowsParentalControlsCore interface + */ +#ifndef __IWindowsParentalControlsCore_INTERFACE_DEFINED__ +#define __IWindowsParentalControlsCore_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWindowsParentalControlsCore, 0x4ff40a0f, 0x3f3b, 0x4d7c, 0xa4,0x1b, 0x4f,0x39,0xd7,0xb4,0x4d,0x05); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4ff40a0f-3f3b-4d7c-a41b-4f39d7b44d05") +IWindowsParentalControlsCore : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetVisibility( + WPCFLAG_VISIBILITY *peVisibility) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUserSettings( + LPCWSTR pcszSID, + IWPCSettings **ppSettings) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWebSettings( + LPCWSTR pcszSID, + IWPCWebSettings **ppSettings) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWebFilterInfo( + GUID *pguidID, + LPWSTR *ppszName) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWindowsParentalControlsCore, 0x4ff40a0f, 0x3f3b, 0x4d7c, 0xa4,0x1b, 0x4f,0x39,0xd7,0xb4,0x4d,0x05) +#endif +#else +typedef struct IWindowsParentalControlsCoreVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWindowsParentalControlsCore *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWindowsParentalControlsCore *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWindowsParentalControlsCore *This); + + /*** IWindowsParentalControlsCore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVisibility)( + IWindowsParentalControlsCore *This, + WPCFLAG_VISIBILITY *peVisibility); + + HRESULT (STDMETHODCALLTYPE *GetUserSettings)( + IWindowsParentalControlsCore *This, + LPCWSTR pcszSID, + IWPCSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *GetWebSettings)( + IWindowsParentalControlsCore *This, + LPCWSTR pcszSID, + IWPCWebSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *GetWebFilterInfo)( + IWindowsParentalControlsCore *This, + GUID *pguidID, + LPWSTR *ppszName); + + END_INTERFACE +} IWindowsParentalControlsCoreVtbl; + +interface IWindowsParentalControlsCore { + CONST_VTBL IWindowsParentalControlsCoreVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWindowsParentalControlsCore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWindowsParentalControlsCore_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWindowsParentalControlsCore_Release(This) (This)->lpVtbl->Release(This) +/*** IWindowsParentalControlsCore methods ***/ +#define IWindowsParentalControlsCore_GetVisibility(This,peVisibility) (This)->lpVtbl->GetVisibility(This,peVisibility) +#define IWindowsParentalControlsCore_GetUserSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetUserSettings(This,pcszSID,ppSettings) +#define IWindowsParentalControlsCore_GetWebSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetWebSettings(This,pcszSID,ppSettings) +#define IWindowsParentalControlsCore_GetWebFilterInfo(This,pguidID,ppszName) (This)->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWindowsParentalControlsCore_QueryInterface(IWindowsParentalControlsCore* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWindowsParentalControlsCore_AddRef(IWindowsParentalControlsCore* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWindowsParentalControlsCore_Release(IWindowsParentalControlsCore* This) { + return This->lpVtbl->Release(This); +} +/*** IWindowsParentalControlsCore methods ***/ +static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetVisibility(IWindowsParentalControlsCore* This,WPCFLAG_VISIBILITY *peVisibility) { + return This->lpVtbl->GetVisibility(This,peVisibility); +} +static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetUserSettings(IWindowsParentalControlsCore* This,LPCWSTR pcszSID,IWPCSettings **ppSettings) { + return This->lpVtbl->GetUserSettings(This,pcszSID,ppSettings); +} +static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetWebSettings(IWindowsParentalControlsCore* This,LPCWSTR pcszSID,IWPCWebSettings **ppSettings) { + return This->lpVtbl->GetWebSettings(This,pcszSID,ppSettings); +} +static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetWebFilterInfo(IWindowsParentalControlsCore* This,GUID *pguidID,LPWSTR *ppszName) { + return This->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName); +} +#endif +#endif + +#endif + + +#endif /* __IWindowsParentalControlsCore_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWindowsParentalControls interface + */ +#ifndef __IWindowsParentalControls_INTERFACE_DEFINED__ +#define __IWindowsParentalControls_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWindowsParentalControls, 0x4ff40a0f, 0x3f3b, 0x4d7c, 0xa4,0x1b, 0x4f,0x39,0xd7,0xb4,0x4d,0x05); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4ff40a0f-3f3b-4d7c-a41b-4f39d7b44d05") +IWindowsParentalControls : public IWindowsParentalControlsCore +{ + virtual HRESULT STDMETHODCALLTYPE GetGamesSettings( + LPCWSTR pcszSID, + IWPCGamesSettings **ppSettings) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWindowsParentalControls, 0x4ff40a0f, 0x3f3b, 0x4d7c, 0xa4,0x1b, 0x4f,0x39,0xd7,0xb4,0x4d,0x05) +#endif +#else +typedef struct IWindowsParentalControlsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWindowsParentalControls *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWindowsParentalControls *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWindowsParentalControls *This); + + /*** IWindowsParentalControlsCore methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVisibility)( + IWindowsParentalControls *This, + WPCFLAG_VISIBILITY *peVisibility); + + HRESULT (STDMETHODCALLTYPE *GetUserSettings)( + IWindowsParentalControls *This, + LPCWSTR pcszSID, + IWPCSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *GetWebSettings)( + IWindowsParentalControls *This, + LPCWSTR pcszSID, + IWPCWebSettings **ppSettings); + + HRESULT (STDMETHODCALLTYPE *GetWebFilterInfo)( + IWindowsParentalControls *This, + GUID *pguidID, + LPWSTR *ppszName); + + /*** IWindowsParentalControls methods ***/ + HRESULT (STDMETHODCALLTYPE *GetGamesSettings)( + IWindowsParentalControls *This, + LPCWSTR pcszSID, + IWPCGamesSettings **ppSettings); + + END_INTERFACE +} IWindowsParentalControlsVtbl; + +interface IWindowsParentalControls { + CONST_VTBL IWindowsParentalControlsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWindowsParentalControls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWindowsParentalControls_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWindowsParentalControls_Release(This) (This)->lpVtbl->Release(This) +/*** IWindowsParentalControlsCore methods ***/ +#define IWindowsParentalControls_GetVisibility(This,peVisibility) (This)->lpVtbl->GetVisibility(This,peVisibility) +#define IWindowsParentalControls_GetUserSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetUserSettings(This,pcszSID,ppSettings) +#define IWindowsParentalControls_GetWebSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetWebSettings(This,pcszSID,ppSettings) +#define IWindowsParentalControls_GetWebFilterInfo(This,pguidID,ppszName) (This)->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName) +/*** IWindowsParentalControls methods ***/ +#define IWindowsParentalControls_GetGamesSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetGamesSettings(This,pcszSID,ppSettings) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWindowsParentalControls_QueryInterface(IWindowsParentalControls* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWindowsParentalControls_AddRef(IWindowsParentalControls* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWindowsParentalControls_Release(IWindowsParentalControls* This) { + return This->lpVtbl->Release(This); +} +/*** IWindowsParentalControlsCore methods ***/ +static FORCEINLINE HRESULT IWindowsParentalControls_GetVisibility(IWindowsParentalControls* This,WPCFLAG_VISIBILITY *peVisibility) { + return This->lpVtbl->GetVisibility(This,peVisibility); +} +static FORCEINLINE HRESULT IWindowsParentalControls_GetUserSettings(IWindowsParentalControls* This,LPCWSTR pcszSID,IWPCSettings **ppSettings) { + return This->lpVtbl->GetUserSettings(This,pcszSID,ppSettings); +} +static FORCEINLINE HRESULT IWindowsParentalControls_GetWebSettings(IWindowsParentalControls* This,LPCWSTR pcszSID,IWPCWebSettings **ppSettings) { + return This->lpVtbl->GetWebSettings(This,pcszSID,ppSettings); +} +static FORCEINLINE HRESULT IWindowsParentalControls_GetWebFilterInfo(IWindowsParentalControls* This,GUID *pguidID,LPWSTR *ppszName) { + return This->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName); +} +/*** IWindowsParentalControls methods ***/ +static FORCEINLINE HRESULT IWindowsParentalControls_GetGamesSettings(IWindowsParentalControls* This,LPCWSTR pcszSID,IWPCGamesSettings **ppSettings) { + return This->lpVtbl->GetGamesSettings(This,pcszSID,ppSettings); +} +#endif +#endif + +#endif + + +#endif /* __IWindowsParentalControls_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * WindowsParentalControls coclass + */ + +DEFINE_GUID(CLSID_WindowsParentalControls, 0xe77cc89b, 0x7401, 0x4c04, 0x8c,0xed, 0x14,0x9d,0xb3,0x5a,0xdd,0x04); + +#ifdef __cplusplus +class DECLSPEC_UUID("e77cc89b-7401-4c04-8ced-149db35add04") WindowsParentalControls; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(WindowsParentalControls, 0xe77cc89b, 0x7401, 0x4c04, 0x8c,0xed, 0x14,0x9d,0xb3,0x5a,0xdd,0x04) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wpcapi_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wpcapi.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wpcapi.idl new file mode 100644 index 0000000..a46a310 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wpcapi.idl @@ -0,0 +1,130 @@ +/* + * Copyright 2011 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#endif + +typedef [v1_enum] enum tagWPCFLAG_RESTRICTION { + WPCFLAG_NO_RESTRICTION = 0x0000, + WPCFLAG_LOGGING_REQUIRED = 0x0001, + WPCFLAG_WEB_FILTERED = 0x0002, + WPCFLAG_HOURS_RESTRICTED = 0x0004, + WPCFLAG_GAMES_BLOCKED = 0x0008, + WPCFLAG_APPS_RESTRICTED = 0x0010 +} WPCFLAG_RESTRICTION; + +[ + uuid(8fdf6ca1-0189-47e4-b670-1a8a4636e340), + object +] +interface IWPCSettings : IUnknown +{ + HRESULT IsLoggingRequired( + [out] BOOL *pfRequired); + + HRESULT GetLastSettingsChangeTime( + [out] SYSTEMTIME *pTime) ; + + HRESULT GetRestrictions( + [out] DWORD *pdwRestrictions); +} + +[ + uuid(95e87780-e158-489e-b452-bbb850790715), + object +] +interface IWPCGamesSettings : IWPCSettings +{ + HRESULT IsBlocked( + [in] GUID guidAppID, + [out] DWORD *pdwReasons); +} + +[ + uuid(ffccbdb8-0992-4c30-b0f1-1cbb09c240aa), + object +] +interface IWPCWebSettings : IWPCSettings +{ + typedef enum tagWPCFLAG_WEB_SETTING { + WPCFLAG_WEB_SETTING_NOTBLOCKED = 0, + WPCFLAG_WEB_SETTING_DOWNLOADSBLOCKED = 1 + } WPCFLAG_WEB_SETTING; + + HRESULT GetSettings( + [out] DWORD *pdwSettings); + + HRESULT RequestURLOverride( + [in] HWND hWnd, + [in] LPCWSTR pcszURL, + [in] DWORD cURLs, + [in] LPCWSTR *ppcszSubURLs, + [out] BOOL *pfChanged); +} + +typedef enum tagWPCFLAG_VISIBILITY { + WPCFLAG_WPC_VISIBLE = 0, + WPCFLAG_WPC_HIDDEN = 1 +} WPCFLAG_VISIBILITY; + +[ + uuid(4FF40A0F-3F3B-4d7c-A41B-4F39D7B44D05), + object +] +interface IWindowsParentalControlsCore : IUnknown +{ + HRESULT GetVisibility( + [out] WPCFLAG_VISIBILITY *peVisibility) ; + + HRESULT GetUserSettings( + [in] LPCWSTR pcszSID, + [out] IWPCSettings **ppSettings); + + HRESULT GetWebSettings( + [in] LPCWSTR pcszSID, + [out] IWPCWebSettings **ppSettings); + + HRESULT GetWebFilterInfo( + [out] GUID *pguidID, + [in] LPWSTR *ppszName); +} + +[ + uuid(4ff40a0f-3f3b-4d7c-a41b-4f39d7b44d05), + object +] +interface IWindowsParentalControls : IWindowsParentalControlsCore +{ + HRESULT GetGamesSettings( + [in] LPCWSTR pcszSID, + [out] IWPCGamesSettings **ppSettings) ; +} + +[ + helpstring("WindowsParentalControls class"), + threading(both), + uuid(e77cc89b-7401-4c04-8ced-149db35add04) +] +coclass WindowsParentalControls +{ + [default] interface IWindowsParentalControls; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2def.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2def.h new file mode 100644 index 0000000..b92bf68 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2def.h @@ -0,0 +1,155 @@ +/* + * Copyright (C) 2009 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WS2DEF_ +#define _WS2DEF_ + +#include + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +typedef USHORT ADDRESS_FAMILY; + +#ifndef __CSADDR_DEFINED__ +#define __CSADDR_DEFINED__ + +typedef struct _SOCKET_ADDRESS { + LPSOCKADDR lpSockaddr; + INT iSockaddrLength; +} SOCKET_ADDRESS, *PSOCKET_ADDRESS, *LPSOCKET_ADDRESS; + +typedef struct _CSADDR_INFO { + SOCKET_ADDRESS LocalAddr; + SOCKET_ADDRESS RemoteAddr; + INT iSocketType; + INT iProtocol; +} CSADDR_INFO, *PCSADDR_INFO, *LPCSADDR_INFO; +#endif + +#ifdef USE_WS_PREFIX +#define WS__SS_MAXSIZE 128 +#define WS__SS_ALIGNSIZE (sizeof(__int64)) +#define WS__SS_PAD1SIZE (WS__SS_ALIGNSIZE - sizeof(short)) +#define WS__SS_PAD2SIZE (WS__SS_MAXSIZE - 2 * WS__SS_ALIGNSIZE) +#else +#define _SS_MAXSIZE 128 +#define _SS_ALIGNSIZE (sizeof(__int64)) +#define _SS_PAD1SIZE (_SS_ALIGNSIZE - sizeof(short)) +#define _SS_PAD2SIZE (_SS_MAXSIZE - 2 * _SS_ALIGNSIZE) +#endif + +typedef struct WS(sockaddr_storage) { + short ss_family; + char __ss_pad1[WS(_SS_PAD1SIZE)]; + __int64 DECLSPEC_ALIGN(8) __ss_align; + char __ss_pad2[WS(_SS_PAD2SIZE)]; +} SOCKADDR_STORAGE, *PSOCKADDR_STORAGE, *LPSOCKADDR_STORAGE; + +/*socket address list */ +typedef struct _SOCKET_ADDRESS_LIST { + INT iAddressCount; + SOCKET_ADDRESS Address[1]; +} SOCKET_ADDRESS_LIST, *LPSOCKET_ADDRESS_LIST; + +typedef enum { + ScopeLevelInterface = 1, + ScopeLevelLink = 2, + ScopeLevelSubnet = 3, + ScopeLevelAdmin = 4, + ScopeLevelSite = 5, + ScopeLevelOrganization = 8, + ScopeLevelGlobal = 14, + ScopeLevelCount = 16, +} SCOPE_LEVEL; + +typedef struct +{ + union { + struct { + ULONG Zone : 28; + ULONG Level : 4; + } DUMMYSTRUCTNAME; + ULONG Value; + } DUMMYUNIONNAME; +} SCOPE_ID, *PSCOPE_ID; + +typedef struct _WSABUF +{ + ULONG len; + CHAR* buf; +} WSABUF, *LPWSABUF; + +typedef struct _WSAMSG { + LPSOCKADDR name; + INT namelen; + LPWSABUF lpBuffers; + DWORD dwBufferCount; + WSABUF Control; + DWORD dwFlags; +} WSAMSG, *PWSAMSG, *LPWSAMSG; + +/* + * Macros for retrieving control message data returned by WSARecvMsg() + */ +#define WSA_CMSG_DATA(cmsg) ((UCHAR*)((WSACMSGHDR*)(cmsg)+1)) +#define WSA_CMSG_FIRSTHDR(mhdr) ((mhdr)->Control.len >= sizeof(WSACMSGHDR) ? (WSACMSGHDR *) (mhdr)->Control.buf : (WSACMSGHDR *) 0) +#define WSA_CMSG_ALIGN(len) (((len) + sizeof(SIZE_T) - 1) & ~(sizeof(SIZE_T) - 1)) +/* + * Next Header: If the response is too short (or the next message in the response + * is too short) then return NULL, otherwise return the next control message. + */ +#define WSA_CMSG_NXTHDR(mhdr,cmsg) \ + (!(cmsg) ? WSA_CMSG_FIRSTHDR(mhdr) : \ + ((mhdr)->Control.len < sizeof(WSACMSGHDR) ? NULL : \ + (((unsigned char*)(((WSACMSGHDR*)((unsigned char*)cmsg + WSA_CMSG_ALIGN(cmsg->cmsg_len)))+1) > ((unsigned char*)(mhdr)->Control.buf + (mhdr)->Control.len)) ? NULL : \ + (((unsigned char*)cmsg + WSA_CMSG_ALIGN(cmsg->cmsg_len)+WSA_CMSG_ALIGN(((WSACMSGHDR*)((unsigned char*)cmsg + WSA_CMSG_ALIGN(cmsg->cmsg_len)))->cmsg_len) > ((unsigned char*)(mhdr)->Control.buf + (mhdr)->Control.len)) ? NULL : \ + (WSACMSGHDR*)((unsigned char*)cmsg + WSA_CMSG_ALIGN(cmsg->cmsg_len)))))) + +typedef struct addrinfoexA { + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + SIZE_T ai_addrlen; + char *ai_canonname; + struct WS(sockaddr) *ai_addr; + void *ai_blob; + SIZE_T ai_bloblen; + GUID *ai_provider; + struct addrinfoexA *ai_next; +} ADDRINFOEXA, *PADDRINFOEXA, *LPADDRINFOEXA; + +typedef struct addrinfoexW { + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + SIZE_T ai_addrlen; + WCHAR *ai_canonname; + struct WS(sockaddr) *ai_addr; + void *ai_blob; + SIZE_T ai_bloblen; + GUID *ai_provider; + struct addrinfoexW *ai_next; +} ADDRINFOEXW, *PADDRINFOEXW, *LPADDRINFOEXW; + +#endif /* _WS2DEF_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2ipdef.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2ipdef.h new file mode 100644 index 0000000..e13cf6e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2ipdef.h @@ -0,0 +1,297 @@ +/* + * Copyright (C) 2009 Robert Shearman + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WS2IPDEF__ +#define __WS2IPDEF__ + +#include + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +typedef struct WS(sockaddr_in6_old) +{ + SHORT sin6_family; + USHORT sin6_port; + ULONG sin6_flowinfo; + IN6_ADDR sin6_addr; +} SOCKADDR_IN6_OLD,*PSOCKADDR_IN6_OLD, *LPSOCKADDR_IN6_OLD; + +typedef union sockaddr_gen +{ + struct WS(sockaddr) Address; + struct WS(sockaddr_in) AddressIn; + struct WS(sockaddr_in6_old) AddressIn6; +} WS(sockaddr_gen); + +/* Structure to keep interface specific information */ +typedef struct _INTERFACE_INFO +{ + ULONG iiFlags; /* Interface flags */ + WS(sockaddr_gen) iiAddress; /* Interface address */ + WS(sockaddr_gen) iiBroadcastAddress; /* Broadcast address */ + WS(sockaddr_gen) iiNetmask; /* Network mask */ +} INTERFACE_INFO, * LPINTERFACE_INFO; + +/* Possible flags for the iiFlags - bitmask */ +#ifndef USE_WS_PREFIX +#define IFF_UP 0x00000001 /* Interface is up */ +#define IFF_BROADCAST 0x00000002 /* Broadcast is supported */ +#define IFF_LOOPBACK 0x00000004 /* this is loopback interface */ +#define IFF_POINTTOPOINT 0x00000008 /* this is point-to-point interface */ +#define IFF_MULTICAST 0x00000010 /* multicast is supported */ +#else +#define WS_IFF_UP 0x00000001 /* Interface is up */ +#define WS_IFF_BROADCAST 0x00000002 /* Broadcast is supported */ +#define WS_IFF_LOOPBACK 0x00000004 /* this is loopback interface */ +#define WS_IFF_POINTTOPOINT 0x00000008 /* this is point-to-point interface */ +#define WS_IFF_MULTICAST 0x00000010 /* multicast is supported */ +#endif /* USE_WS_PREFIX */ + +#ifndef USE_WS_PREFIX +#define IP_OPTIONS 1 +#define IP_HDRINCL 2 +#define IP_TOS 3 +#define IP_TTL 4 +#define IP_MULTICAST_IF 9 +#define IP_MULTICAST_TTL 10 +#define IP_MULTICAST_LOOP 11 +#define IP_ADD_MEMBERSHIP 12 +#define IP_DROP_MEMBERSHIP 13 +#define IP_DONTFRAGMENT 14 +#define IP_ADD_SOURCE_MEMBERSHIP 15 +#define IP_DROP_SOURCE_MEMBERSHIP 16 +#define IP_BLOCK_SOURCE 17 +#define IP_UNBLOCK_SOURCE 18 +#define IP_PKTINFO 19 +#define IP_HOPLIMIT 21 +#define IP_RECEIVE_BROADCAST 22 +#define IP_RECVIF 24 +#define IP_RECVDSTADDR 25 +#define IP_IFLIST 28 +#define IP_ADD_IFLIST 29 +#define IP_DEL_IFLIST 30 +#define IP_UNICAST_IF 31 +#define IP_RTHDR 32 +#define IP_RECVRTHDR 38 +#else +#define WS_IP_OPTIONS 1 +#define WS_IP_HDRINCL 2 +#define WS_IP_TOS 3 +#define WS_IP_TTL 4 +#define WS_IP_MULTICAST_IF 9 +#define WS_IP_MULTICAST_TTL 10 +#define WS_IP_MULTICAST_LOOP 11 +#define WS_IP_ADD_MEMBERSHIP 12 +#define WS_IP_DROP_MEMBERSHIP 13 +#define WS_IP_DONTFRAGMENT 14 +#define WS_IP_ADD_SOURCE_MEMBERSHIP 15 +#define WS_IP_DROP_SOURCE_MEMBERSHIP 16 +#define WS_IP_BLOCK_SOURCE 17 +#define WS_IP_UNBLOCK_SOURCE 18 +#define WS_IP_PKTINFO 19 +#define WS_IP_HOPLIMIT 21 +#define WS_IP_RECEIVE_BROADCAST 22 +#define WS_IP_RECVIF 24 +#define WS_IP_RECVDSTADDR 25 +#define WS_IP_IFLIST 28 +#define WS_IP_ADD_IFLIST 29 +#define WS_IP_DEL_IFLIST 30 +#define WS_IP_UNICAST_IF 31 +#define WS_IP_RTHDR 32 +#define WS_IP_RECVRTHDR 38 +#endif /* USE_WS_PREFIX */ + +typedef struct WS(sockaddr_in6) +{ + SHORT sin6_family; + USHORT sin6_port; + ULONG sin6_flowinfo; + IN6_ADDR sin6_addr; + ULONG sin6_scope_id; +} SOCKADDR_IN6,*PSOCKADDR_IN6, *LPSOCKADDR_IN6; + +typedef struct WS(sockaddr_in6_pair) +{ + PSOCKADDR_IN6 SourceAddress; + PSOCKADDR_IN6 DestinationAddress; +} SOCKADDR_IN6_PAIR, *PSOCKADDR_IN6_PAIR; + +typedef union _SOCKADDR_INET +{ + SOCKADDR_IN Ipv4; + SOCKADDR_IN6 Ipv6; + ADDRESS_FAMILY si_family; +} SOCKADDR_INET, *PSOCKADDR_INET; + +/* + * Multicast group information + */ + +typedef struct WS(ip_mreq) +{ + struct WS(in_addr) imr_multiaddr; + struct WS(in_addr) imr_interface; +} WS(IP_MREQ), *WS(PIP_MREQ); + +typedef struct WS(ip_mreq_source) { + struct WS(in_addr) imr_multiaddr; + struct WS(in_addr) imr_sourceaddr; + struct WS(in_addr) imr_interface; +} WS(IP_MREQ_SOURCE), *WS(PIP_MREQ_SOURCE); + +typedef struct WS(ip_msfilter) { + struct WS(in_addr) imsf_multiaddr; + struct WS(in_addr) imsf_interface; + ULONG imsf_fmode; + ULONG imsf_numsrc; + struct WS(in_addr) imsf_slist[1]; +} WS(IP_MSFILTER), *WS(PIP_MSFILTER); + +typedef struct WS(in_pktinfo) { + IN_ADDR ipi_addr; + UINT ipi_ifindex; +} IN_PKTINFO, *PIN_PKTINFO; + +#ifndef USE_WS_PREFIX +#define IPV6_OPTIONS 1 +#define IPV6_HDRINCL 2 +#define IPV6_UNICAST_HOPS 4 +#define IPV6_MULTICAST_IF 9 +#define IPV6_MULTICAST_HOPS 10 +#define IPV6_MULTICAST_LOOP 11 +#define IPV6_ADD_MEMBERSHIP 12 +#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP +#define IPV6_DROP_MEMBERSHIP 13 +#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP +#define IPV6_DONTFRAG 14 +#define IPV6_PKTINFO 19 +#define IPV6_HOPLIMIT 21 +#define IPV6_PROTECTION_LEVEL 23 +#define IPV6_RECVIF 24 +#define IPV6_RECVDSTADDR 25 +#define IPV6_CHECKSUM 26 +#define IPV6_V6ONLY 27 +#define IPV6_IFLIST 28 +#define IPV6_ADD_IFLIST 29 +#define IPV6_DEL_IFLIST 30 +#define IPV6_UNICAST_IF 31 +#define IPV6_RTHDR 32 +#define IPV6_RECVRTHDR 38 +#else +#define WS_IPV6_OPTIONS 1 +#define WS_IPV6_HDRINCL 2 +#define WS_IPV6_UNICAST_HOPS 4 +#define WS_IPV6_MULTICAST_IF 9 +#define WS_IPV6_MULTICAST_HOPS 10 +#define WS_IPV6_MULTICAST_LOOP 11 +#define WS_IPV6_ADD_MEMBERSHIP 12 +#define WS_IPV6_DROP_MEMBERSHIP 13 +#define WS_IPV6_LEAVE_GROUP WS_IPV6_DROP_MEMBERSHIP +#define WS_IPV6_DONTFRAG 14 +#define WS_IPV6_PKTINFO 19 +#define WS_IPV6_HOPLIMIT 21 +#define WS_IPV6_PROTECTION_LEVEL 23 +#define WS_IPV6_RECVIF 24 +#define WS_IPV6_RECVDSTADDR 25 +#define WS_IPV6_CHECKSUM 26 +#define WS_IPV6_V6ONLY 27 +#define WS_IPV6_IFLIST 28 +#define WS_IPV6_ADD_IFLIST 29 +#define WS_IPV6_DEL_IFLIST 30 +#define WS_IPV6_UNICAST_IF 31 +#define WS_IPV6_RTHDR 32 +#define WS_IPV6_RECVRTHDR 38 +#endif /* USE_WS_PREFIX */ + +#ifndef USE_WS_PREFIX +#define TCP_OFFLOAD_NO_PREFERENCE 0 +#define TCP_OFFLOAD_NOT_PREFERRED 1 +#define TCP_OFFLOAD_PREFERRED 2 +#else +#define WS_TCP_OFFLOAD_NO_PREFERENCE 0 +#define WS_TCP_OFFLOAD_NOT_PREFERRED 1 +#define WS_TCP_OFFLOAD_PREFERRED 2 +#endif /* USE_WS_PREFIX */ + +#ifndef USE_WS_PREFIX +/* TCP_NODELAY is defined elsewhere */ +#define TCP_EXPEDITED_1122 2 +#define TCP_KEEPALIVE 3 +#define TCP_MAXSEG 4 +#define TCP_MAXRT 5 +#define TCP_STDURG 6 +#define TCP_NOURG 7 +#define TCP_ATMARK 8 +#define TCP_NOSYNRETRIES 9 +#define TCP_TIMESTAMPS 10 +#define TCP_OFFLOAD_PREFERENCE 11 +#define TCP_CONGESTION_ALGORITHM 12 +#define TCP_DELAY_FIN_ACK 13 +#else +/* WS_TCP_NODELAY is defined elsewhere */ +#define WS_TCP_EXPEDITED_1122 2 +#define WS_TCP_KEEPALIVE 3 +#define WS_TCP_MAXSEG 4 +#define WS_TCP_MAXRT 5 +#define WS_TCP_STDURG 6 +#define WS_TCP_NOURG 7 +#define WS_TCP_ATMARK 8 +#define WS_TCP_NOSYNRETRIES 9 +#define WS_TCP_TIMESTAMPS 10 +#define WS_TCP_OFFLOAD_PREFERENCE 11 +#define WS_TCP_CONGESTION_ALGORITHM 12 +#define WS_TCP_DELAY_FIN_ACK 13 +#endif /* USE_WS_PREFIX */ + +#ifndef USE_WS_PREFIX +#define INET_ADDRSTRLEN 22 +#define INET6_ADDRSTRLEN 65 +#define IN6ADDR_ANY_INIT { 0 } +#define IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } +#else +#define WS_INET_ADDRSTRLEN 22 +#define WS_INET6_ADDRSTRLEN 65 +#define WS_IN6ADDR_ANY_INIT { 0 } +#define WS_IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } +#endif /* USE_WS_PREFIX */ + +#ifdef __cplusplus +extern "C" { +#endif + +static inline BOOL WS(IN6_IS_ADDR_LOOPBACK) ( const IN6_ADDR *a ) +{ + return (BOOL)((a->s6_words[0] == 0) && + (a->s6_words[1] == 0) && + (a->s6_words[2] == 0) && + (a->s6_words[3] == 0) && + (a->s6_words[4] == 0) && + (a->s6_words[5] == 0) && + (a->s6_words[6] == 0) && + (a->s6_words[7] == 0x0100)); +} + +#ifdef __cplusplus +} +#endif + +#endif /* __WS2IPDEF__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2spi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2spi.h new file mode 100644 index 0000000..5df7d24 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2spi.h @@ -0,0 +1,54 @@ +/* + * WS2SPI.H -- definitions to be used with the WinSock service provider. + * + * Copyright (C) 2001 Patrik Stridvall + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINSOCK2SPI_ +#define _WINSOCK2SPI_ + +#ifndef _WINSOCK2API_ +#include +#endif /* !defined(_WINSOCK2API_) */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +typedef BOOL (WINAPI *LPWPUPOSTMESSAGE)(HWND,UINT,WPARAM,LPARAM); + +WSAEVENT WINAPI WPUCompleteOverlappedRequest(SOCKET,LPWSAOVERLAPPED,DWORD,DWORD,LPINT); +INT WINAPI WSCInstallProvider(const LPGUID,LPCWSTR,const LPWSAPROTOCOL_INFOW, + DWORD,LPINT); +INT WINAPI WSCDeinstallProvider(LPGUID,LPINT); +INT WINAPI WSCEnableNSProvider(LPGUID,BOOL); +INT WINAPI WSCEnumProtocols(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD,LPINT); +INT WINAPI WSCGetProviderPath(LPGUID,LPWSTR,LPINT,LPINT); +INT WINAPI WSCInstallNameSpace(LPWSTR,LPWSTR,DWORD,DWORD,LPGUID); +INT WINAPI WSCUnInstallNameSpace(LPGUID); +INT WINAPI WSCUpdateProvider(LPGUID, const WCHAR *, const LPWSAPROTOCOL_INFOW, DWORD, LPINT); +INT WINAPI WSCWriteProviderOrder(LPDWORD,DWORD); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ + +#include + +#endif /* !defined(_WINSOCK2SPI_) */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2tcpip.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2tcpip.h new file mode 100644 index 0000000..f12deec --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/ws2tcpip.h @@ -0,0 +1,228 @@ +/* + * Copyright (C) 2001 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WS2TCPIP__ +#define __WS2TCPIP__ + +#include +#include +#include + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +/* for addrinfo calls */ +typedef struct WS(addrinfo) +{ + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + SIZE_T ai_addrlen; + char * ai_canonname; + struct WS(sockaddr)* ai_addr; + struct WS(addrinfo)* ai_next; +} ADDRINFOA, *PADDRINFOA; + +typedef struct WS(addrinfoW) +{ + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + SIZE_T ai_addrlen; + PWSTR ai_canonname; + struct WS(sockaddr)* ai_addr; + struct WS(addrinfoW)* ai_next; +} ADDRINFOW, *PADDRINFOW; + +#ifdef USE_WS_PREFIX +typedef int WS_socklen_t; +#else +#define socklen_t int /* avoid conflicts with the system's socklen_t typedef */ +#endif + +typedef ADDRINFOA ADDRINFO, *LPADDRINFO; + +/* Possible Windows flags for getaddrinfo() */ +#ifndef USE_WS_PREFIX +# define AI_PASSIVE 0x00000001 +# define AI_CANONNAME 0x00000002 +# define AI_NUMERICHOST 0x00000004 +# define AI_NUMERICSERV 0x00000008 +# define AI_ADDRCONFIG 0x00000400 +# define AI_V4MAPPED 0x00000800 +# define AI_NON_AUTHORITATIVE 0x00004000 +# define AI_SECURE 0x00008000 +# define AI_RETURN_PREFERRED_NAMES 0x00010000 +# define AI_DISABLE_IDN_ENCODING 0x00080000 +/* getaddrinfo error codes */ +# define EAI_AGAIN WSATRY_AGAIN +# define EAI_BADFLAGS WSAEINVAL +# define EAI_FAIL WSANO_RECOVERY +# define EAI_FAMILY WSAEAFNOSUPPORT +# define EAI_MEMORY WSA_NOT_ENOUGH_MEMORY +# define EAI_NODATA EAI_NONAME +# define EAI_NONAME WSAHOST_NOT_FOUND +# define EAI_SERVICE WSATYPE_NOT_FOUND +# define EAI_SOCKTYPE WSAESOCKTNOSUPPORT +#else +# define WS_AI_PASSIVE 0x00000001 +# define WS_AI_CANONNAME 0x00000002 +# define WS_AI_NUMERICHOST 0x00000004 +# define WS_AI_NUMERICSERV 0x00000008 +# define WS_AI_ADDRCONFIG 0x00000400 +# define WS_AI_V4MAPPED 0x00000800 +# define WS_AI_NON_AUTHORITATIVE 0x00004000 +# define WS_AI_SECURE 0x00008000 +# define WS_AI_RETURN_PREFERRED_NAMES 0x00010000 +# define WS_AI_DISABLE_IDN_ENCODING 0x00080000 +/* getaddrinfo error codes */ +# define WS_EAI_AGAIN WSATRY_AGAIN +# define WS_EAI_BADFLAGS WSAEINVAL +# define WS_EAI_FAIL WSANO_RECOVERY +# define WS_EAI_FAMILY WSAEAFNOSUPPORT +# define WS_EAI_MEMORY WSA_NOT_ENOUGH_MEMORY +# define WS_EAI_NODATA WS_EAI_NONAME +# define WS_EAI_NONAME WSAHOST_NOT_FOUND +# define WS_EAI_SERVICE WSATYPE_NOT_FOUND +# define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT +#endif + +#ifndef USE_WS_PREFIX +# define NI_MAXHOST 1025 +# define NI_MAXSERV 32 +#else +# define WS_NI_MAXHOST 1025 +# define WS_NI_MAXSERV 32 +#endif + +/* Possible Windows flags for getnameinfo() */ +#ifndef USE_WS_PREFIX +# define NI_NOFQDN 0x01 +# define NI_NUMERICHOST 0x02 +# define NI_NAMEREQD 0x04 +# define NI_NUMERICSERV 0x08 +# define NI_DGRAM 0x10 +#else +# define WS_NI_NOFQDN 0x01 +# define WS_NI_NUMERICHOST 0x02 +# define WS_NI_NAMEREQD 0x04 +# define WS_NI_NUMERICSERV 0x08 +# define WS_NI_DGRAM 0x10 +#endif + + +#ifdef __cplusplus +extern "C" { +#endif + +#define GAI_STRERROR_BUFFER_SIZE 1024 + +static inline char *gai_strerrorA(int errcode) +{ + static char buffer[GAI_STRERROR_BUFFER_SIZE + 1]; + + /* FIXME: should format message from system, ignoring inserts in neutral + * language */ + buffer[0] = '\0'; + + return buffer; +} + +static inline WCHAR *gai_strerrorW(int errcode) +{ + static WCHAR buffer[GAI_STRERROR_BUFFER_SIZE + 1]; + + /* FIXME: should format message from system, ignoring inserts in neutral + * language */ + buffer[0] = '\0'; + + return buffer; +} + +#ifdef USE_WS_PREFIX +# define WS_gai_strerror WINELIB_NAME_AW(gai_strerror) +#elif defined(WINE_NO_UNICODE_MACROS) +# define gai_strerror gai_strerrorA +#else +# define gai_strerror WINELIB_NAME_AW(gai_strerror) +#endif + +typedef void (CALLBACK *LPLOOKUPSERVICE_COMPLETION_ROUTINE)(DWORD,DWORD,WSAOVERLAPPED*); + +void WINAPI WS(freeaddrinfo)(LPADDRINFO); +#define FreeAddrInfoA WS(freeaddrinfo) +void WINAPI FreeAddrInfoW(PADDRINFOW); +#define FreeAddrInfo WINELIB_NAME_AW(FreeAddrInfo) +void WINAPI FreeAddrInfoExW(ADDRINFOEXW*); +int WINAPI WS(getaddrinfo)(const char*,const char*,const struct WS(addrinfo)*,struct WS(addrinfo)**); +#define GetAddrInfoA WS(getaddrinfo) +int WINAPI GetAddrInfoW(PCWSTR,PCWSTR,const ADDRINFOW*,PADDRINFOW*); +#define GetAddrInfo WINELIB_NAME_AW(GetAddrInfo) +int WINAPI GetAddrInfoExA(const char*,const char*,DWORD,GUID*,const ADDRINFOEXA*,ADDRINFOEXA**,struct timeval*, + OVERLAPPED*,LPLOOKUPSERVICE_COMPLETION_ROUTINE,HANDLE*); +int WINAPI GetAddrInfoExW(const WCHAR*,const WCHAR*,DWORD,GUID*, const ADDRINFOEXW*,ADDRINFOEXW**,struct timeval*, + OVERLAPPED*,LPLOOKUPSERVICE_COMPLETION_ROUTINE,HANDLE*); +#define GetAddrInfoEx WINELIB_NAME_AW(GetAddrInfoExW) +int WINAPI GetAddrInfoExOverlappedResult(OVERLAPPED*); +int WINAPI GetAddrInfoExCancel(HANDLE*); +int WINAPI WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWORD,INT); +#define GetNameInfoA WS(getnameinfo) +INT WINAPI GetNameInfoW(const SOCKADDR*,WS(socklen_t),PWCHAR,DWORD,PWCHAR,DWORD,INT); +#define GetNameInfo WINELIB_NAME_AW(GetNameInfo) +PCSTR WINAPI WS(inet_ntop)(INT,PVOID,PSTR,SIZE_T); +#define InetNtopA WS(inet_ntop) +PCWSTR WINAPI InetNtopW(INT,PVOID,PWSTR,SIZE_T); +#define InetNtop WINELIB_NAME_AW(InetNtop) +int WINAPI WS(inet_pton)(INT,PCSTR,PVOID); +#define InetPtonA WS(inet_pton) +int WINAPI InetPtonW(INT,PCWSTR,PVOID); +#define InetPton WINELIB_NAME_AW(InetPton) + +/* + * Ws2tcpip Function Typedefs + * + * Remember to keep this section in sync with the + * prototypes above. + */ +#if INCL_WINSOCK_API_TYPEDEFS + +typedef void (WINAPI *LPFN_FREEADDRINFO)(LPADDRINFO); +#define LPFN_FREEADDRINFOA LPFN_FREEADDRINFO +typedef void (WINAPI *LPFN_FREEADDRINFOW)(PADDRINFOW); +#define LPFN_FREEADDRINFOT WINELIB_NAME_AW(LPFN_FREEADDRINFO) +typedef int (WINAPI *LPFN_GETADDRINFO)(const char*,const char*,const struct WS(addrinfo)*,struct WS(addrinfo)**); +#define LPFN_GETADDRINFOA LPFN_GETADDRINFO +typedef int (WINAPI *LPFN_GETADDRINFOW)(PCWSTR,PCWSTR,const ADDRINFOW*,PADDRINFOW*); +#define LPFN_GETADDRINFOT WINELIB_NAME_AW(LPFN_GETADDRINFO) +typedef int (WINAPI *LPFN_GETNAMEINFO)(const struct sockaddr*,socklen_t,char*,DWORD,char*,DWORD,int); +#define LPFN_GETNAMEINFOA LPFN_GETNAMEINFO +typedef int (WINAPI *LPFN_GETNAMEINFOW)(const SOCKADDR*,socklen_t,PWCHAR,DWORD,PWCHAR,DWORD,INT); +#define LPFN_GETNAMEINFOT WINELIB_NAME_AW(LPFN_GETNAMEINFO) + +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __WS2TCPIP__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdapi.h new file mode 100644 index 0000000..d71721e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdapi.h @@ -0,0 +1,29 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef WSDAPI_H +#define WSDAPI_H + +#include +#include +#include +#include +#include +#include + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdbase.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdbase.h new file mode 100644 index 0000000..92fbab4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdbase.h @@ -0,0 +1,851 @@ +/*** Autogenerated by WIDL 2.18 from wsdbase.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wsdbase_h__ +#define __wsdbase_h__ + +/* Forward declarations */ + +#ifndef __IWSDAddress_FWD_DEFINED__ +#define __IWSDAddress_FWD_DEFINED__ +typedef interface IWSDAddress IWSDAddress; +#ifdef __cplusplus +interface IWSDAddress; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDTransportAddress_FWD_DEFINED__ +#define __IWSDTransportAddress_FWD_DEFINED__ +typedef interface IWSDTransportAddress IWSDTransportAddress; +#ifdef __cplusplus +interface IWSDTransportAddress; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDUdpAddress_FWD_DEFINED__ +#define __IWSDUdpAddress_FWD_DEFINED__ +typedef interface IWSDUdpAddress IWSDUdpAddress; +#ifdef __cplusplus +interface IWSDUdpAddress; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDMessageParameters_FWD_DEFINED__ +#define __IWSDMessageParameters_FWD_DEFINED__ +typedef interface IWSDMessageParameters IWSDMessageParameters; +#ifdef __cplusplus +interface IWSDMessageParameters; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDUdpMessageParameters_FWD_DEFINED__ +#define __IWSDUdpMessageParameters_FWD_DEFINED__ +typedef interface IWSDUdpMessageParameters IWSDUdpMessageParameters; +#ifdef __cplusplus +interface IWSDUdpMessageParameters; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define WSDAPI_ADDRESSFAMILY_IPV4 1 +#define WSDAPI_ADDRESSFAMILY_IPV6 2 +#ifndef __IWSDAddress_FWD_DEFINED__ +#define __IWSDAddress_FWD_DEFINED__ +typedef interface IWSDAddress IWSDAddress; +#ifdef __cplusplus +interface IWSDAddress; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDUdpAddress_FWD_DEFINED__ +#define __IWSDUdpAddress_FWD_DEFINED__ +typedef interface IWSDUdpAddress IWSDUdpAddress; +#ifdef __cplusplus +interface IWSDUdpAddress; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDMessageParameters_FWD_DEFINED__ +#define __IWSDMessageParameters_FWD_DEFINED__ +typedef interface IWSDMessageParameters IWSDMessageParameters; +#ifdef __cplusplus +interface IWSDMessageParameters; +#endif /* __cplusplus */ +#endif + +HRESULT WINAPI WSDCreateUdpAddress(IWSDUdpAddress **ppAddress); +#if 1 +#ifndef __CSADDR_DEFINED__ +typedef struct SOCKADDR_STORAGE SOCKADDR_STORAGE; +#endif +#else +typedef void SOCKADDR_STORAGE; +#endif +/***************************************************************************** + * IWSDAddress interface + */ +#ifndef __IWSDAddress_INTERFACE_DEFINED__ +#define __IWSDAddress_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDAddress, 0xb9574c6c, 0x12a6, 0x4f74, 0x93,0xa1, 0x33,0x18,0xff,0x60,0x57,0x59); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b9574c6c-12a6-4f74-93a1-3318ff605759") +IWSDAddress : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Serialize( + LPWSTR pszBuffer, + DWORD cchLength, + BOOL fSafe) = 0; + + virtual HRESULT STDMETHODCALLTYPE Deserialize( + LPCWSTR pszBuffer) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDAddress, 0xb9574c6c, 0x12a6, 0x4f74, 0x93,0xa1, 0x33,0x18,0xff,0x60,0x57,0x59) +#endif +#else +typedef struct IWSDAddressVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDAddress *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDAddress *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDAddress *This); + + /*** IWSDAddress methods ***/ + HRESULT (STDMETHODCALLTYPE *Serialize)( + IWSDAddress *This, + LPWSTR pszBuffer, + DWORD cchLength, + BOOL fSafe); + + HRESULT (STDMETHODCALLTYPE *Deserialize)( + IWSDAddress *This, + LPCWSTR pszBuffer); + + END_INTERFACE +} IWSDAddressVtbl; + +interface IWSDAddress { + CONST_VTBL IWSDAddressVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDAddress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDAddress_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDAddress_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDAddress methods ***/ +#define IWSDAddress_Serialize(This,pszBuffer,cchLength,fSafe) (This)->lpVtbl->Serialize(This,pszBuffer,cchLength,fSafe) +#define IWSDAddress_Deserialize(This,pszBuffer) (This)->lpVtbl->Deserialize(This,pszBuffer) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDAddress_QueryInterface(IWSDAddress* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDAddress_AddRef(IWSDAddress* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDAddress_Release(IWSDAddress* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDAddress methods ***/ +static FORCEINLINE HRESULT IWSDAddress_Serialize(IWSDAddress* This,LPWSTR pszBuffer,DWORD cchLength,BOOL fSafe) { + return This->lpVtbl->Serialize(This,pszBuffer,cchLength,fSafe); +} +static FORCEINLINE HRESULT IWSDAddress_Deserialize(IWSDAddress* This,LPCWSTR pszBuffer) { + return This->lpVtbl->Deserialize(This,pszBuffer); +} +#endif +#endif + +#endif + + +#endif /* __IWSDAddress_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWSDTransportAddress interface + */ +#ifndef __IWSDTransportAddress_INTERFACE_DEFINED__ +#define __IWSDTransportAddress_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDTransportAddress, 0x70d23498, 0x4ee6, 0x4340, 0xa3,0xdf, 0xd8,0x45,0xd2,0x23,0x54,0x67); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("70d23498-4ee6-4340-a3df-d845d2235467") +IWSDTransportAddress : public IWSDAddress +{ + virtual HRESULT STDMETHODCALLTYPE GetPort( + WORD *pwPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPort( + WORD wPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransportAddress( + LPCWSTR *ppszAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTransportAddressEx( + BOOL fSafe, + LPCWSTR *ppszAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTransportAddress( + LPCWSTR pszAddress) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDTransportAddress, 0x70d23498, 0x4ee6, 0x4340, 0xa3,0xdf, 0xd8,0x45,0xd2,0x23,0x54,0x67) +#endif +#else +typedef struct IWSDTransportAddressVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDTransportAddress *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDTransportAddress *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDTransportAddress *This); + + /*** IWSDAddress methods ***/ + HRESULT (STDMETHODCALLTYPE *Serialize)( + IWSDTransportAddress *This, + LPWSTR pszBuffer, + DWORD cchLength, + BOOL fSafe); + + HRESULT (STDMETHODCALLTYPE *Deserialize)( + IWSDTransportAddress *This, + LPCWSTR pszBuffer); + + /*** IWSDTransportAddress methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPort)( + IWSDTransportAddress *This, + WORD *pwPort); + + HRESULT (STDMETHODCALLTYPE *SetPort)( + IWSDTransportAddress *This, + WORD wPort); + + HRESULT (STDMETHODCALLTYPE *GetTransportAddress)( + IWSDTransportAddress *This, + LPCWSTR *ppszAddress); + + HRESULT (STDMETHODCALLTYPE *GetTransportAddressEx)( + IWSDTransportAddress *This, + BOOL fSafe, + LPCWSTR *ppszAddress); + + HRESULT (STDMETHODCALLTYPE *SetTransportAddress)( + IWSDTransportAddress *This, + LPCWSTR pszAddress); + + END_INTERFACE +} IWSDTransportAddressVtbl; + +interface IWSDTransportAddress { + CONST_VTBL IWSDTransportAddressVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDTransportAddress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDTransportAddress_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDTransportAddress_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDAddress methods ***/ +#define IWSDTransportAddress_Serialize(This,pszBuffer,cchLength,fSafe) (This)->lpVtbl->Serialize(This,pszBuffer,cchLength,fSafe) +#define IWSDTransportAddress_Deserialize(This,pszBuffer) (This)->lpVtbl->Deserialize(This,pszBuffer) +/*** IWSDTransportAddress methods ***/ +#define IWSDTransportAddress_GetPort(This,pwPort) (This)->lpVtbl->GetPort(This,pwPort) +#define IWSDTransportAddress_SetPort(This,wPort) (This)->lpVtbl->SetPort(This,wPort) +#define IWSDTransportAddress_GetTransportAddress(This,ppszAddress) (This)->lpVtbl->GetTransportAddress(This,ppszAddress) +#define IWSDTransportAddress_GetTransportAddressEx(This,fSafe,ppszAddress) (This)->lpVtbl->GetTransportAddressEx(This,fSafe,ppszAddress) +#define IWSDTransportAddress_SetTransportAddress(This,pszAddress) (This)->lpVtbl->SetTransportAddress(This,pszAddress) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDTransportAddress_QueryInterface(IWSDTransportAddress* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDTransportAddress_AddRef(IWSDTransportAddress* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDTransportAddress_Release(IWSDTransportAddress* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDAddress methods ***/ +static FORCEINLINE HRESULT IWSDTransportAddress_Serialize(IWSDTransportAddress* This,LPWSTR pszBuffer,DWORD cchLength,BOOL fSafe) { + return This->lpVtbl->Serialize(This,pszBuffer,cchLength,fSafe); +} +static FORCEINLINE HRESULT IWSDTransportAddress_Deserialize(IWSDTransportAddress* This,LPCWSTR pszBuffer) { + return This->lpVtbl->Deserialize(This,pszBuffer); +} +/*** IWSDTransportAddress methods ***/ +static FORCEINLINE HRESULT IWSDTransportAddress_GetPort(IWSDTransportAddress* This,WORD *pwPort) { + return This->lpVtbl->GetPort(This,pwPort); +} +static FORCEINLINE HRESULT IWSDTransportAddress_SetPort(IWSDTransportAddress* This,WORD wPort) { + return This->lpVtbl->SetPort(This,wPort); +} +static FORCEINLINE HRESULT IWSDTransportAddress_GetTransportAddress(IWSDTransportAddress* This,LPCWSTR *ppszAddress) { + return This->lpVtbl->GetTransportAddress(This,ppszAddress); +} +static FORCEINLINE HRESULT IWSDTransportAddress_GetTransportAddressEx(IWSDTransportAddress* This,BOOL fSafe,LPCWSTR *ppszAddress) { + return This->lpVtbl->GetTransportAddressEx(This,fSafe,ppszAddress); +} +static FORCEINLINE HRESULT IWSDTransportAddress_SetTransportAddress(IWSDTransportAddress* This,LPCWSTR pszAddress) { + return This->lpVtbl->SetTransportAddress(This,pszAddress); +} +#endif +#endif + +#endif + + +#endif /* __IWSDTransportAddress_INTERFACE_DEFINED__ */ + +typedef enum _WSDUdpMessageType { + ONE_WAY = 0, + TWO_WAY = 1 +} WSDUdpMessageType; +/***************************************************************************** + * IWSDUdpAddress interface + */ +#ifndef __IWSDUdpAddress_INTERFACE_DEFINED__ +#define __IWSDUdpAddress_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDUdpAddress, 0x74d6124a, 0xa441, 0x4f78, 0xa1,0xeb, 0x97,0xa8,0xd1,0x99,0x68,0x93); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("74d6124a-a441-4f78-a1eb-97a8d1996893") +IWSDUdpAddress : public IWSDTransportAddress +{ + virtual HRESULT STDMETHODCALLTYPE SetSockaddr( + const SOCKADDR_STORAGE *pSockAddr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSockaddr( + SOCKADDR_STORAGE *pSockAddr) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetExclusive( + BOOL fExclusive) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetExclusive( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMessageType( + WSDUdpMessageType messageType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMessageType( + WSDUdpMessageType *pMessageType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTTL( + DWORD dwTTL) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTTL( + DWORD *pdwTTL) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAlias( + const GUID *pAlias) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlias( + GUID *pAlias) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDUdpAddress, 0x74d6124a, 0xa441, 0x4f78, 0xa1,0xeb, 0x97,0xa8,0xd1,0x99,0x68,0x93) +#endif +#else +typedef struct IWSDUdpAddressVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDUdpAddress *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDUdpAddress *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDUdpAddress *This); + + /*** IWSDAddress methods ***/ + HRESULT (STDMETHODCALLTYPE *Serialize)( + IWSDUdpAddress *This, + LPWSTR pszBuffer, + DWORD cchLength, + BOOL fSafe); + + HRESULT (STDMETHODCALLTYPE *Deserialize)( + IWSDUdpAddress *This, + LPCWSTR pszBuffer); + + /*** IWSDTransportAddress methods ***/ + HRESULT (STDMETHODCALLTYPE *GetPort)( + IWSDUdpAddress *This, + WORD *pwPort); + + HRESULT (STDMETHODCALLTYPE *SetPort)( + IWSDUdpAddress *This, + WORD wPort); + + HRESULT (STDMETHODCALLTYPE *GetTransportAddress)( + IWSDUdpAddress *This, + LPCWSTR *ppszAddress); + + HRESULT (STDMETHODCALLTYPE *GetTransportAddressEx)( + IWSDUdpAddress *This, + BOOL fSafe, + LPCWSTR *ppszAddress); + + HRESULT (STDMETHODCALLTYPE *SetTransportAddress)( + IWSDUdpAddress *This, + LPCWSTR pszAddress); + + /*** IWSDUdpAddress methods ***/ + HRESULT (STDMETHODCALLTYPE *SetSockaddr)( + IWSDUdpAddress *This, + const SOCKADDR_STORAGE *pSockAddr); + + HRESULT (STDMETHODCALLTYPE *GetSockaddr)( + IWSDUdpAddress *This, + SOCKADDR_STORAGE *pSockAddr); + + HRESULT (STDMETHODCALLTYPE *SetExclusive)( + IWSDUdpAddress *This, + BOOL fExclusive); + + HRESULT (STDMETHODCALLTYPE *GetExclusive)( + IWSDUdpAddress *This); + + HRESULT (STDMETHODCALLTYPE *SetMessageType)( + IWSDUdpAddress *This, + WSDUdpMessageType messageType); + + HRESULT (STDMETHODCALLTYPE *GetMessageType)( + IWSDUdpAddress *This, + WSDUdpMessageType *pMessageType); + + HRESULT (STDMETHODCALLTYPE *SetTTL)( + IWSDUdpAddress *This, + DWORD dwTTL); + + HRESULT (STDMETHODCALLTYPE *GetTTL)( + IWSDUdpAddress *This, + DWORD *pdwTTL); + + HRESULT (STDMETHODCALLTYPE *SetAlias)( + IWSDUdpAddress *This, + const GUID *pAlias); + + HRESULT (STDMETHODCALLTYPE *GetAlias)( + IWSDUdpAddress *This, + GUID *pAlias); + + END_INTERFACE +} IWSDUdpAddressVtbl; + +interface IWSDUdpAddress { + CONST_VTBL IWSDUdpAddressVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDUdpAddress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDUdpAddress_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDUdpAddress_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDAddress methods ***/ +#define IWSDUdpAddress_Serialize(This,pszBuffer,cchLength,fSafe) (This)->lpVtbl->Serialize(This,pszBuffer,cchLength,fSafe) +#define IWSDUdpAddress_Deserialize(This,pszBuffer) (This)->lpVtbl->Deserialize(This,pszBuffer) +/*** IWSDTransportAddress methods ***/ +#define IWSDUdpAddress_GetPort(This,pwPort) (This)->lpVtbl->GetPort(This,pwPort) +#define IWSDUdpAddress_SetPort(This,wPort) (This)->lpVtbl->SetPort(This,wPort) +#define IWSDUdpAddress_GetTransportAddress(This,ppszAddress) (This)->lpVtbl->GetTransportAddress(This,ppszAddress) +#define IWSDUdpAddress_GetTransportAddressEx(This,fSafe,ppszAddress) (This)->lpVtbl->GetTransportAddressEx(This,fSafe,ppszAddress) +#define IWSDUdpAddress_SetTransportAddress(This,pszAddress) (This)->lpVtbl->SetTransportAddress(This,pszAddress) +/*** IWSDUdpAddress methods ***/ +#define IWSDUdpAddress_SetSockaddr(This,pSockAddr) (This)->lpVtbl->SetSockaddr(This,pSockAddr) +#define IWSDUdpAddress_GetSockaddr(This,pSockAddr) (This)->lpVtbl->GetSockaddr(This,pSockAddr) +#define IWSDUdpAddress_SetExclusive(This,fExclusive) (This)->lpVtbl->SetExclusive(This,fExclusive) +#define IWSDUdpAddress_GetExclusive(This) (This)->lpVtbl->GetExclusive(This) +#define IWSDUdpAddress_SetMessageType(This,messageType) (This)->lpVtbl->SetMessageType(This,messageType) +#define IWSDUdpAddress_GetMessageType(This,pMessageType) (This)->lpVtbl->GetMessageType(This,pMessageType) +#define IWSDUdpAddress_SetTTL(This,dwTTL) (This)->lpVtbl->SetTTL(This,dwTTL) +#define IWSDUdpAddress_GetTTL(This,pdwTTL) (This)->lpVtbl->GetTTL(This,pdwTTL) +#define IWSDUdpAddress_SetAlias(This,pAlias) (This)->lpVtbl->SetAlias(This,pAlias) +#define IWSDUdpAddress_GetAlias(This,pAlias) (This)->lpVtbl->GetAlias(This,pAlias) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDUdpAddress_QueryInterface(IWSDUdpAddress* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDUdpAddress_AddRef(IWSDUdpAddress* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDUdpAddress_Release(IWSDUdpAddress* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDAddress methods ***/ +static FORCEINLINE HRESULT IWSDUdpAddress_Serialize(IWSDUdpAddress* This,LPWSTR pszBuffer,DWORD cchLength,BOOL fSafe) { + return This->lpVtbl->Serialize(This,pszBuffer,cchLength,fSafe); +} +static FORCEINLINE HRESULT IWSDUdpAddress_Deserialize(IWSDUdpAddress* This,LPCWSTR pszBuffer) { + return This->lpVtbl->Deserialize(This,pszBuffer); +} +/*** IWSDTransportAddress methods ***/ +static FORCEINLINE HRESULT IWSDUdpAddress_GetPort(IWSDUdpAddress* This,WORD *pwPort) { + return This->lpVtbl->GetPort(This,pwPort); +} +static FORCEINLINE HRESULT IWSDUdpAddress_SetPort(IWSDUdpAddress* This,WORD wPort) { + return This->lpVtbl->SetPort(This,wPort); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetTransportAddress(IWSDUdpAddress* This,LPCWSTR *ppszAddress) { + return This->lpVtbl->GetTransportAddress(This,ppszAddress); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetTransportAddressEx(IWSDUdpAddress* This,BOOL fSafe,LPCWSTR *ppszAddress) { + return This->lpVtbl->GetTransportAddressEx(This,fSafe,ppszAddress); +} +static FORCEINLINE HRESULT IWSDUdpAddress_SetTransportAddress(IWSDUdpAddress* This,LPCWSTR pszAddress) { + return This->lpVtbl->SetTransportAddress(This,pszAddress); +} +/*** IWSDUdpAddress methods ***/ +static FORCEINLINE HRESULT IWSDUdpAddress_SetSockaddr(IWSDUdpAddress* This,const SOCKADDR_STORAGE *pSockAddr) { + return This->lpVtbl->SetSockaddr(This,pSockAddr); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetSockaddr(IWSDUdpAddress* This,SOCKADDR_STORAGE *pSockAddr) { + return This->lpVtbl->GetSockaddr(This,pSockAddr); +} +static FORCEINLINE HRESULT IWSDUdpAddress_SetExclusive(IWSDUdpAddress* This,BOOL fExclusive) { + return This->lpVtbl->SetExclusive(This,fExclusive); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetExclusive(IWSDUdpAddress* This) { + return This->lpVtbl->GetExclusive(This); +} +static FORCEINLINE HRESULT IWSDUdpAddress_SetMessageType(IWSDUdpAddress* This,WSDUdpMessageType messageType) { + return This->lpVtbl->SetMessageType(This,messageType); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetMessageType(IWSDUdpAddress* This,WSDUdpMessageType *pMessageType) { + return This->lpVtbl->GetMessageType(This,pMessageType); +} +static FORCEINLINE HRESULT IWSDUdpAddress_SetTTL(IWSDUdpAddress* This,DWORD dwTTL) { + return This->lpVtbl->SetTTL(This,dwTTL); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetTTL(IWSDUdpAddress* This,DWORD *pdwTTL) { + return This->lpVtbl->GetTTL(This,pdwTTL); +} +static FORCEINLINE HRESULT IWSDUdpAddress_SetAlias(IWSDUdpAddress* This,const GUID *pAlias) { + return This->lpVtbl->SetAlias(This,pAlias); +} +static FORCEINLINE HRESULT IWSDUdpAddress_GetAlias(IWSDUdpAddress* This,GUID *pAlias) { + return This->lpVtbl->GetAlias(This,pAlias); +} +#endif +#endif + +#endif + + +#endif /* __IWSDUdpAddress_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWSDMessageParameters interface + */ +#ifndef __IWSDMessageParameters_INTERFACE_DEFINED__ +#define __IWSDMessageParameters_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDMessageParameters, 0x1fafe8a2, 0xe6fc, 0x4b80, 0xb6,0xcf, 0xb7,0xd4,0x5c,0x41,0x6d,0x7c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1fafe8a2-e6fc-4b80-b6cf-b7d45c416d7c") +IWSDMessageParameters : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetLocalAddress( + IWSDAddress **ppAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLocalAddress( + IWSDAddress *pAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRemoteAddress( + IWSDAddress **ppAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRemoteAddress( + IWSDAddress *pAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLowerParameters( + IWSDMessageParameters **ppTxParams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDMessageParameters, 0x1fafe8a2, 0xe6fc, 0x4b80, 0xb6,0xcf, 0xb7,0xd4,0x5c,0x41,0x6d,0x7c) +#endif +#else +typedef struct IWSDMessageParametersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDMessageParameters *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDMessageParameters *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDMessageParameters *This); + + /*** IWSDMessageParameters methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLocalAddress)( + IWSDMessageParameters *This, + IWSDAddress **ppAddress); + + HRESULT (STDMETHODCALLTYPE *SetLocalAddress)( + IWSDMessageParameters *This, + IWSDAddress *pAddress); + + HRESULT (STDMETHODCALLTYPE *GetRemoteAddress)( + IWSDMessageParameters *This, + IWSDAddress **ppAddress); + + HRESULT (STDMETHODCALLTYPE *SetRemoteAddress)( + IWSDMessageParameters *This, + IWSDAddress *pAddress); + + HRESULT (STDMETHODCALLTYPE *GetLowerParameters)( + IWSDMessageParameters *This, + IWSDMessageParameters **ppTxParams); + + END_INTERFACE +} IWSDMessageParametersVtbl; + +interface IWSDMessageParameters { + CONST_VTBL IWSDMessageParametersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDMessageParameters_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDMessageParameters_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDMessageParameters_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDMessageParameters methods ***/ +#define IWSDMessageParameters_GetLocalAddress(This,ppAddress) (This)->lpVtbl->GetLocalAddress(This,ppAddress) +#define IWSDMessageParameters_SetLocalAddress(This,pAddress) (This)->lpVtbl->SetLocalAddress(This,pAddress) +#define IWSDMessageParameters_GetRemoteAddress(This,ppAddress) (This)->lpVtbl->GetRemoteAddress(This,ppAddress) +#define IWSDMessageParameters_SetRemoteAddress(This,pAddress) (This)->lpVtbl->SetRemoteAddress(This,pAddress) +#define IWSDMessageParameters_GetLowerParameters(This,ppTxParams) (This)->lpVtbl->GetLowerParameters(This,ppTxParams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDMessageParameters_QueryInterface(IWSDMessageParameters* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDMessageParameters_AddRef(IWSDMessageParameters* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDMessageParameters_Release(IWSDMessageParameters* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDMessageParameters methods ***/ +static FORCEINLINE HRESULT IWSDMessageParameters_GetLocalAddress(IWSDMessageParameters* This,IWSDAddress **ppAddress) { + return This->lpVtbl->GetLocalAddress(This,ppAddress); +} +static FORCEINLINE HRESULT IWSDMessageParameters_SetLocalAddress(IWSDMessageParameters* This,IWSDAddress *pAddress) { + return This->lpVtbl->SetLocalAddress(This,pAddress); +} +static FORCEINLINE HRESULT IWSDMessageParameters_GetRemoteAddress(IWSDMessageParameters* This,IWSDAddress **ppAddress) { + return This->lpVtbl->GetRemoteAddress(This,ppAddress); +} +static FORCEINLINE HRESULT IWSDMessageParameters_SetRemoteAddress(IWSDMessageParameters* This,IWSDAddress *pAddress) { + return This->lpVtbl->SetRemoteAddress(This,pAddress); +} +static FORCEINLINE HRESULT IWSDMessageParameters_GetLowerParameters(IWSDMessageParameters* This,IWSDMessageParameters **ppTxParams) { + return This->lpVtbl->GetLowerParameters(This,ppTxParams); +} +#endif +#endif + +#endif + + +#endif /* __IWSDMessageParameters_INTERFACE_DEFINED__ */ + +HRESULT WINAPI WSDCreateUdpMessageParameters(IWSDUdpMessageParameters **ppTxParams); +typedef struct _WSDUdpRetransmitParams { + ULONG ulSendDelay; + ULONG ulRepeat; + ULONG ulRepeatMinDelay; + ULONG ulRepeatMaxDelay; + ULONG ulRepeatUpperDelay; +} WSDUdpRetransmitParams; +/***************************************************************************** + * IWSDUdpMessageParameters interface + */ +#ifndef __IWSDUdpMessageParameters_INTERFACE_DEFINED__ +#define __IWSDUdpMessageParameters_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDUdpMessageParameters, 0x9934149f, 0x8f0c, 0x447b, 0xaa,0x0b, 0x73,0x12,0x4b,0x0c,0xa7,0xf0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9934149f-8f0c-447b-aa0b-73124b0ca7f0") +IWSDUdpMessageParameters : public IWSDMessageParameters +{ + virtual HRESULT STDMETHODCALLTYPE SetRetransmitParams( + const WSDUdpRetransmitParams *pParams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRetransmitParams( + WSDUdpRetransmitParams *pParams) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDUdpMessageParameters, 0x9934149f, 0x8f0c, 0x447b, 0xaa,0x0b, 0x73,0x12,0x4b,0x0c,0xa7,0xf0) +#endif +#else +typedef struct IWSDUdpMessageParametersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDUdpMessageParameters *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDUdpMessageParameters *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDUdpMessageParameters *This); + + /*** IWSDMessageParameters methods ***/ + HRESULT (STDMETHODCALLTYPE *GetLocalAddress)( + IWSDUdpMessageParameters *This, + IWSDAddress **ppAddress); + + HRESULT (STDMETHODCALLTYPE *SetLocalAddress)( + IWSDUdpMessageParameters *This, + IWSDAddress *pAddress); + + HRESULT (STDMETHODCALLTYPE *GetRemoteAddress)( + IWSDUdpMessageParameters *This, + IWSDAddress **ppAddress); + + HRESULT (STDMETHODCALLTYPE *SetRemoteAddress)( + IWSDUdpMessageParameters *This, + IWSDAddress *pAddress); + + HRESULT (STDMETHODCALLTYPE *GetLowerParameters)( + IWSDUdpMessageParameters *This, + IWSDMessageParameters **ppTxParams); + + /*** IWSDUdpMessageParameters methods ***/ + HRESULT (STDMETHODCALLTYPE *SetRetransmitParams)( + IWSDUdpMessageParameters *This, + const WSDUdpRetransmitParams *pParams); + + HRESULT (STDMETHODCALLTYPE *GetRetransmitParams)( + IWSDUdpMessageParameters *This, + WSDUdpRetransmitParams *pParams); + + END_INTERFACE +} IWSDUdpMessageParametersVtbl; + +interface IWSDUdpMessageParameters { + CONST_VTBL IWSDUdpMessageParametersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDUdpMessageParameters_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDUdpMessageParameters_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDUdpMessageParameters_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDMessageParameters methods ***/ +#define IWSDUdpMessageParameters_GetLocalAddress(This,ppAddress) (This)->lpVtbl->GetLocalAddress(This,ppAddress) +#define IWSDUdpMessageParameters_SetLocalAddress(This,pAddress) (This)->lpVtbl->SetLocalAddress(This,pAddress) +#define IWSDUdpMessageParameters_GetRemoteAddress(This,ppAddress) (This)->lpVtbl->GetRemoteAddress(This,ppAddress) +#define IWSDUdpMessageParameters_SetRemoteAddress(This,pAddress) (This)->lpVtbl->SetRemoteAddress(This,pAddress) +#define IWSDUdpMessageParameters_GetLowerParameters(This,ppTxParams) (This)->lpVtbl->GetLowerParameters(This,ppTxParams) +/*** IWSDUdpMessageParameters methods ***/ +#define IWSDUdpMessageParameters_SetRetransmitParams(This,pParams) (This)->lpVtbl->SetRetransmitParams(This,pParams) +#define IWSDUdpMessageParameters_GetRetransmitParams(This,pParams) (This)->lpVtbl->GetRetransmitParams(This,pParams) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDUdpMessageParameters_QueryInterface(IWSDUdpMessageParameters* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDUdpMessageParameters_AddRef(IWSDUdpMessageParameters* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDUdpMessageParameters_Release(IWSDUdpMessageParameters* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDMessageParameters methods ***/ +static FORCEINLINE HRESULT IWSDUdpMessageParameters_GetLocalAddress(IWSDUdpMessageParameters* This,IWSDAddress **ppAddress) { + return This->lpVtbl->GetLocalAddress(This,ppAddress); +} +static FORCEINLINE HRESULT IWSDUdpMessageParameters_SetLocalAddress(IWSDUdpMessageParameters* This,IWSDAddress *pAddress) { + return This->lpVtbl->SetLocalAddress(This,pAddress); +} +static FORCEINLINE HRESULT IWSDUdpMessageParameters_GetRemoteAddress(IWSDUdpMessageParameters* This,IWSDAddress **ppAddress) { + return This->lpVtbl->GetRemoteAddress(This,ppAddress); +} +static FORCEINLINE HRESULT IWSDUdpMessageParameters_SetRemoteAddress(IWSDUdpMessageParameters* This,IWSDAddress *pAddress) { + return This->lpVtbl->SetRemoteAddress(This,pAddress); +} +static FORCEINLINE HRESULT IWSDUdpMessageParameters_GetLowerParameters(IWSDUdpMessageParameters* This,IWSDMessageParameters **ppTxParams) { + return This->lpVtbl->GetLowerParameters(This,ppTxParams); +} +/*** IWSDUdpMessageParameters methods ***/ +static FORCEINLINE HRESULT IWSDUdpMessageParameters_SetRetransmitParams(IWSDUdpMessageParameters* This,const WSDUdpRetransmitParams *pParams) { + return This->lpVtbl->SetRetransmitParams(This,pParams); +} +static FORCEINLINE HRESULT IWSDUdpMessageParameters_GetRetransmitParams(IWSDUdpMessageParameters* This,WSDUdpRetransmitParams *pParams) { + return This->lpVtbl->GetRetransmitParams(This,pParams); +} +#endif +#endif + +#endif + + +#endif /* __IWSDUdpMessageParameters_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wsdbase_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdbase.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdbase.idl new file mode 100644 index 0000000..6391ae8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdbase.idl @@ -0,0 +1,122 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; + +cpp_quote("#define WSDAPI_ADDRESSFAMILY_IPV4 1") +cpp_quote("#define WSDAPI_ADDRESSFAMILY_IPV6 2") + +interface IWSDAddress; +interface IWSDUdpAddress; +interface IWSDMessageParameters; + +cpp_quote("HRESULT WINAPI WSDCreateUdpAddress(IWSDUdpAddress **ppAddress);") + +#ifndef SOCKADDR_STORAGE +cpp_quote("#if 1") +cpp_quote("#ifndef __CSADDR_DEFINED__") +cpp_quote("typedef struct SOCKADDR_STORAGE SOCKADDR_STORAGE;") +cpp_quote("#endif") +cpp_quote("#else") +typedef void SOCKADDR_STORAGE; +cpp_quote("#endif") +#endif + +[ +uuid(b9574c6c-12a6-4f74-93a1-3318ff605759), +object, +local +] +interface IWSDAddress : IUnknown +{ + HRESULT Serialize([out, size_is(cchLength)] LPWSTR pszBuffer, [in] DWORD cchLength, [in] BOOL fSafe); + HRESULT Deserialize([in] LPCWSTR pszBuffer); +} + +[ +uuid(70d23498-4ee6-4340-a3df-d845d2235467), +object, +local +] +interface IWSDTransportAddress : IWSDAddress +{ + HRESULT GetPort([out] WORD *pwPort); + HRESULT SetPort([in] WORD wPort); + HRESULT GetTransportAddress([out] LPCWSTR *ppszAddress); + HRESULT GetTransportAddressEx([in] BOOL fSafe, [out] LPCWSTR *ppszAddress); + HRESULT SetTransportAddress([in] LPCWSTR pszAddress); +} + +typedef enum _WSDUdpMessageType +{ + ONE_WAY, + TWO_WAY +} WSDUdpMessageType; + +[ +uuid(74d6124a-a441-4f78-a1eb-97a8d1996893), +object, +local +] +interface IWSDUdpAddress : IWSDTransportAddress +{ + HRESULT SetSockaddr([in] const SOCKADDR_STORAGE *pSockAddr); + HRESULT GetSockaddr([out] SOCKADDR_STORAGE *pSockAddr); + HRESULT SetExclusive(BOOL fExclusive); + HRESULT GetExclusive(); + HRESULT SetMessageType([in] WSDUdpMessageType messageType); + HRESULT GetMessageType([out] WSDUdpMessageType* pMessageType); + HRESULT SetTTL([in] DWORD dwTTL); + HRESULT GetTTL([out] DWORD *pdwTTL); + HRESULT SetAlias([in] const GUID* pAlias); + HRESULT GetAlias([out] GUID *pAlias); +} + +[ +uuid(1fafe8a2-e6fc-4b80-b6cf-b7d45c416d7c), +object +] +interface IWSDMessageParameters : IUnknown +{ + HRESULT GetLocalAddress([out] IWSDAddress** ppAddress); + HRESULT SetLocalAddress([in] IWSDAddress* pAddress); + HRESULT GetRemoteAddress([out] IWSDAddress** ppAddress); + HRESULT SetRemoteAddress([in] IWSDAddress* pAddress); + HRESULT GetLowerParameters([out] IWSDMessageParameters** ppTxParams); +} + +cpp_quote("HRESULT WINAPI WSDCreateUdpMessageParameters(IWSDUdpMessageParameters **ppTxParams);") + +typedef struct _WSDUdpRetransmitParams +{ + ULONG ulSendDelay; + ULONG ulRepeat; + ULONG ulRepeatMinDelay; + ULONG ulRepeatMaxDelay; + ULONG ulRepeatUpperDelay; +} WSDUdpRetransmitParams; + +[ +uuid(9934149f-8f0c-447b-aa0b-73124b0ca7f0), +object +] +interface IWSDUdpMessageParameters : IWSDMessageParameters +{ + HRESULT SetRetransmitParams([in] const WSDUdpRetransmitParams *pParams); + HRESULT GetRetransmitParams([out] WSDUdpRetransmitParams *pParams); +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsddisco.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsddisco.h new file mode 100644 index 0000000..4669b3f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsddisco.h @@ -0,0 +1,627 @@ +/*** Autogenerated by WIDL 2.18 from wsddisco.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wsddisco_h__ +#define __wsddisco_h__ + +/* Forward declarations */ + +#ifndef __IWSDScopeMatchingRule_FWD_DEFINED__ +#define __IWSDScopeMatchingRule_FWD_DEFINED__ +typedef interface IWSDScopeMatchingRule IWSDScopeMatchingRule; +#ifdef __cplusplus +interface IWSDScopeMatchingRule; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDiscoveryPublisherNotify_FWD_DEFINED__ +#define __IWSDiscoveryPublisherNotify_FWD_DEFINED__ +typedef interface IWSDiscoveryPublisherNotify IWSDiscoveryPublisherNotify; +#ifdef __cplusplus +interface IWSDiscoveryPublisherNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDiscoveryPublisher_FWD_DEFINED__ +#define __IWSDiscoveryPublisher_FWD_DEFINED__ +typedef interface IWSDiscoveryPublisher IWSDiscoveryPublisher; +#ifdef __cplusplus +interface IWSDiscoveryPublisher; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IWSDScopeMatchingRule_FWD_DEFINED__ +#define __IWSDScopeMatchingRule_FWD_DEFINED__ +typedef interface IWSDScopeMatchingRule IWSDScopeMatchingRule; +#ifdef __cplusplus +interface IWSDScopeMatchingRule; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDiscoveryPublisherNotify_FWD_DEFINED__ +#define __IWSDiscoveryPublisherNotify_FWD_DEFINED__ +typedef interface IWSDiscoveryPublisherNotify IWSDiscoveryPublisherNotify; +#ifdef __cplusplus +interface IWSDiscoveryPublisherNotify; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDiscoveryPublisher_FWD_DEFINED__ +#define __IWSDiscoveryPublisher_FWD_DEFINED__ +typedef interface IWSDiscoveryPublisher IWSDiscoveryPublisher; +#ifdef __cplusplus +interface IWSDiscoveryPublisher; +#endif /* __cplusplus */ +#endif + +#ifndef __IWSDXMLContext_FWD_DEFINED__ +#define __IWSDXMLContext_FWD_DEFINED__ +typedef interface IWSDXMLContext IWSDXMLContext; +#ifdef __cplusplus +interface IWSDXMLContext; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IWSDScopeMatchingRule interface + */ +#ifndef __IWSDScopeMatchingRule_INTERFACE_DEFINED__ +#define __IWSDScopeMatchingRule_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDScopeMatchingRule, 0xfcafe424, 0xfef5, 0x481a, 0xbd,0x9f, 0x33,0xce,0x05,0x74,0x25,0x6f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fcafe424-fef5-481a-bd9f-33ce0574256f") +IWSDScopeMatchingRule : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetScopeRule( + LPCWSTR *ppszScopeMatchingRule) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchScopes( + LPCWSTR pszScope1, + LPCWSTR pszScope2, + BOOL *pfMatch) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDScopeMatchingRule, 0xfcafe424, 0xfef5, 0x481a, 0xbd,0x9f, 0x33,0xce,0x05,0x74,0x25,0x6f) +#endif +#else +typedef struct IWSDScopeMatchingRuleVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDScopeMatchingRule *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDScopeMatchingRule *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDScopeMatchingRule *This); + + /*** IWSDScopeMatchingRule methods ***/ + HRESULT (STDMETHODCALLTYPE *GetScopeRule)( + IWSDScopeMatchingRule *This, + LPCWSTR *ppszScopeMatchingRule); + + HRESULT (STDMETHODCALLTYPE *MatchScopes)( + IWSDScopeMatchingRule *This, + LPCWSTR pszScope1, + LPCWSTR pszScope2, + BOOL *pfMatch); + + END_INTERFACE +} IWSDScopeMatchingRuleVtbl; + +interface IWSDScopeMatchingRule { + CONST_VTBL IWSDScopeMatchingRuleVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDScopeMatchingRule_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDScopeMatchingRule_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDScopeMatchingRule_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDScopeMatchingRule methods ***/ +#define IWSDScopeMatchingRule_GetScopeRule(This,ppszScopeMatchingRule) (This)->lpVtbl->GetScopeRule(This,ppszScopeMatchingRule) +#define IWSDScopeMatchingRule_MatchScopes(This,pszScope1,pszScope2,pfMatch) (This)->lpVtbl->MatchScopes(This,pszScope1,pszScope2,pfMatch) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDScopeMatchingRule_QueryInterface(IWSDScopeMatchingRule* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDScopeMatchingRule_AddRef(IWSDScopeMatchingRule* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDScopeMatchingRule_Release(IWSDScopeMatchingRule* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDScopeMatchingRule methods ***/ +static FORCEINLINE HRESULT IWSDScopeMatchingRule_GetScopeRule(IWSDScopeMatchingRule* This,LPCWSTR *ppszScopeMatchingRule) { + return This->lpVtbl->GetScopeRule(This,ppszScopeMatchingRule); +} +static FORCEINLINE HRESULT IWSDScopeMatchingRule_MatchScopes(IWSDScopeMatchingRule* This,LPCWSTR pszScope1,LPCWSTR pszScope2,BOOL *pfMatch) { + return This->lpVtbl->MatchScopes(This,pszScope1,pszScope2,pfMatch); +} +#endif +#endif + +#endif + + +#endif /* __IWSDScopeMatchingRule_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWSDiscoveryPublisherNotify interface + */ +#ifndef __IWSDiscoveryPublisherNotify_INTERFACE_DEFINED__ +#define __IWSDiscoveryPublisherNotify_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDiscoveryPublisherNotify, 0xe67651b0, 0x337a, 0x4b3c, 0x97,0x58, 0x73,0x33,0x88,0x56,0x82,0x51); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("e67651b0-337a-4b3c-9758-733388568251") +IWSDiscoveryPublisherNotify : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ProbeHandler( + const WSD_SOAP_MESSAGE *pSoap, + IWSDMessageParameters *pMessageParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE ResolveHandler( + const WSD_SOAP_MESSAGE *pSoap, + IWSDMessageParameters *pMessageParameters) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDiscoveryPublisherNotify, 0xe67651b0, 0x337a, 0x4b3c, 0x97,0x58, 0x73,0x33,0x88,0x56,0x82,0x51) +#endif +#else +typedef struct IWSDiscoveryPublisherNotifyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDiscoveryPublisherNotify *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDiscoveryPublisherNotify *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDiscoveryPublisherNotify *This); + + /*** IWSDiscoveryPublisherNotify methods ***/ + HRESULT (STDMETHODCALLTYPE *ProbeHandler)( + IWSDiscoveryPublisherNotify *This, + const WSD_SOAP_MESSAGE *pSoap, + IWSDMessageParameters *pMessageParameters); + + HRESULT (STDMETHODCALLTYPE *ResolveHandler)( + IWSDiscoveryPublisherNotify *This, + const WSD_SOAP_MESSAGE *pSoap, + IWSDMessageParameters *pMessageParameters); + + END_INTERFACE +} IWSDiscoveryPublisherNotifyVtbl; + +interface IWSDiscoveryPublisherNotify { + CONST_VTBL IWSDiscoveryPublisherNotifyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDiscoveryPublisherNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDiscoveryPublisherNotify_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDiscoveryPublisherNotify_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDiscoveryPublisherNotify methods ***/ +#define IWSDiscoveryPublisherNotify_ProbeHandler(This,pSoap,pMessageParameters) (This)->lpVtbl->ProbeHandler(This,pSoap,pMessageParameters) +#define IWSDiscoveryPublisherNotify_ResolveHandler(This,pSoap,pMessageParameters) (This)->lpVtbl->ResolveHandler(This,pSoap,pMessageParameters) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDiscoveryPublisherNotify_QueryInterface(IWSDiscoveryPublisherNotify* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDiscoveryPublisherNotify_AddRef(IWSDiscoveryPublisherNotify* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDiscoveryPublisherNotify_Release(IWSDiscoveryPublisherNotify* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDiscoveryPublisherNotify methods ***/ +static FORCEINLINE HRESULT IWSDiscoveryPublisherNotify_ProbeHandler(IWSDiscoveryPublisherNotify* This,const WSD_SOAP_MESSAGE *pSoap,IWSDMessageParameters *pMessageParameters) { + return This->lpVtbl->ProbeHandler(This,pSoap,pMessageParameters); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisherNotify_ResolveHandler(IWSDiscoveryPublisherNotify* This,const WSD_SOAP_MESSAGE *pSoap,IWSDMessageParameters *pMessageParameters) { + return This->lpVtbl->ResolveHandler(This,pSoap,pMessageParameters); +} +#endif +#endif + +#endif + + +#endif /* __IWSDiscoveryPublisherNotify_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWSDiscoveryPublisher interface + */ +#ifndef __IWSDiscoveryPublisher_INTERFACE_DEFINED__ +#define __IWSDiscoveryPublisher_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDiscoveryPublisher, 0xae01e1a8, 0x3ff9, 0x4148, 0x81,0x16, 0x05,0x7c,0xc6,0x16,0xfe,0x13); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ae01e1a8-3ff9-4148-8116-057cc616fe13") +IWSDiscoveryPublisher : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetAddressFamily( + DWORD dwAddressFamily) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterNotificationSink( + IWSDiscoveryPublisherNotify *pSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnRegisterNotificationSink( + IWSDiscoveryPublisherNotify *pSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE Publish( + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnPublish( + LPCWSTR pszId, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSDXML_ELEMENT *pAny) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchProbe( + const WSD_SOAP_MESSAGE *pProbeMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchResolve( + const WSD_SOAP_MESSAGE *pResolveMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList) = 0; + + virtual HRESULT STDMETHODCALLTYPE PublishEx( + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList, + const WSDXML_ELEMENT *pHeaderAny, + const WSDXML_ELEMENT *pReferenceParameterAny, + const WSDXML_ELEMENT *pPolicyAny, + const WSDXML_ELEMENT *pEndpointReferenceAny, + const WSDXML_ELEMENT *pAny) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchProbeEx( + const WSD_SOAP_MESSAGE *pProbeMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList, + const WSDXML_ELEMENT *pHeaderAny, + const WSDXML_ELEMENT *pReferenceParameterAny, + const WSDXML_ELEMENT *pPolicyAny, + const WSDXML_ELEMENT *pEndpointReferenceAny, + const WSDXML_ELEMENT *pAny) = 0; + + virtual HRESULT STDMETHODCALLTYPE MatchResolveEx( + const WSD_SOAP_MESSAGE *pResolveMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList, + const WSDXML_ELEMENT *pHeaderAny, + const WSDXML_ELEMENT *pReferenceParameterAny, + const WSDXML_ELEMENT *pPolicyAny, + const WSDXML_ELEMENT *pEndpointReferenceAny, + const WSDXML_ELEMENT *pAny) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterScopeMatchingRule( + IWSDScopeMatchingRule *pScopeMatchingRule) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnRegisterScopeMatchingRule( + IWSDScopeMatchingRule *pScopeMatchingRule) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetXMLContext( + IWSDXMLContext **ppContext) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDiscoveryPublisher, 0xae01e1a8, 0x3ff9, 0x4148, 0x81,0x16, 0x05,0x7c,0xc6,0x16,0xfe,0x13) +#endif +#else +typedef struct IWSDiscoveryPublisherVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDiscoveryPublisher *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDiscoveryPublisher *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDiscoveryPublisher *This); + + /*** IWSDiscoveryPublisher methods ***/ + HRESULT (STDMETHODCALLTYPE *SetAddressFamily)( + IWSDiscoveryPublisher *This, + DWORD dwAddressFamily); + + HRESULT (STDMETHODCALLTYPE *RegisterNotificationSink)( + IWSDiscoveryPublisher *This, + IWSDiscoveryPublisherNotify *pSink); + + HRESULT (STDMETHODCALLTYPE *UnRegisterNotificationSink)( + IWSDiscoveryPublisher *This, + IWSDiscoveryPublisherNotify *pSink); + + HRESULT (STDMETHODCALLTYPE *Publish)( + IWSDiscoveryPublisher *This, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList); + + HRESULT (STDMETHODCALLTYPE *UnPublish)( + IWSDiscoveryPublisher *This, + LPCWSTR pszId, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSDXML_ELEMENT *pAny); + + HRESULT (STDMETHODCALLTYPE *MatchProbe)( + IWSDiscoveryPublisher *This, + const WSD_SOAP_MESSAGE *pProbeMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList); + + HRESULT (STDMETHODCALLTYPE *MatchResolve)( + IWSDiscoveryPublisher *This, + const WSD_SOAP_MESSAGE *pResolveMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList); + + HRESULT (STDMETHODCALLTYPE *PublishEx)( + IWSDiscoveryPublisher *This, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList, + const WSDXML_ELEMENT *pHeaderAny, + const WSDXML_ELEMENT *pReferenceParameterAny, + const WSDXML_ELEMENT *pPolicyAny, + const WSDXML_ELEMENT *pEndpointReferenceAny, + const WSDXML_ELEMENT *pAny); + + HRESULT (STDMETHODCALLTYPE *MatchProbeEx)( + IWSDiscoveryPublisher *This, + const WSD_SOAP_MESSAGE *pProbeMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList, + const WSDXML_ELEMENT *pHeaderAny, + const WSDXML_ELEMENT *pReferenceParameterAny, + const WSDXML_ELEMENT *pPolicyAny, + const WSDXML_ELEMENT *pEndpointReferenceAny, + const WSDXML_ELEMENT *pAny); + + HRESULT (STDMETHODCALLTYPE *MatchResolveEx)( + IWSDiscoveryPublisher *This, + const WSD_SOAP_MESSAGE *pResolveMessage, + IWSDMessageParameters *pMessageParameters, + LPCWSTR pszId, + ULONGLONG ullMetadataVersion, + ULONGLONG ullInstanceId, + ULONGLONG ullMessageNumber, + LPCWSTR pszSessionId, + const WSD_NAME_LIST *pTypesList, + const WSD_URI_LIST *pScopesList, + const WSD_URI_LIST *pXAddrsList, + const WSDXML_ELEMENT *pHeaderAny, + const WSDXML_ELEMENT *pReferenceParameterAny, + const WSDXML_ELEMENT *pPolicyAny, + const WSDXML_ELEMENT *pEndpointReferenceAny, + const WSDXML_ELEMENT *pAny); + + HRESULT (STDMETHODCALLTYPE *RegisterScopeMatchingRule)( + IWSDiscoveryPublisher *This, + IWSDScopeMatchingRule *pScopeMatchingRule); + + HRESULT (STDMETHODCALLTYPE *UnRegisterScopeMatchingRule)( + IWSDiscoveryPublisher *This, + IWSDScopeMatchingRule *pScopeMatchingRule); + + HRESULT (STDMETHODCALLTYPE *GetXMLContext)( + IWSDiscoveryPublisher *This, + IWSDXMLContext **ppContext); + + END_INTERFACE +} IWSDiscoveryPublisherVtbl; + +interface IWSDiscoveryPublisher { + CONST_VTBL IWSDiscoveryPublisherVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDiscoveryPublisher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDiscoveryPublisher_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDiscoveryPublisher_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDiscoveryPublisher methods ***/ +#define IWSDiscoveryPublisher_SetAddressFamily(This,dwAddressFamily) (This)->lpVtbl->SetAddressFamily(This,dwAddressFamily) +#define IWSDiscoveryPublisher_RegisterNotificationSink(This,pSink) (This)->lpVtbl->RegisterNotificationSink(This,pSink) +#define IWSDiscoveryPublisher_UnRegisterNotificationSink(This,pSink) (This)->lpVtbl->UnRegisterNotificationSink(This,pSink) +#define IWSDiscoveryPublisher_Publish(This,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList) (This)->lpVtbl->Publish(This,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList) +#define IWSDiscoveryPublisher_UnPublish(This,pszId,ullInstanceId,ullMessageNumber,pszSessionId,pAny) (This)->lpVtbl->UnPublish(This,pszId,ullInstanceId,ullMessageNumber,pszSessionId,pAny) +#define IWSDiscoveryPublisher_MatchProbe(This,pProbeMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList) (This)->lpVtbl->MatchProbe(This,pProbeMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList) +#define IWSDiscoveryPublisher_MatchResolve(This,pResolveMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList) (This)->lpVtbl->MatchResolve(This,pResolveMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList) +#define IWSDiscoveryPublisher_PublishEx(This,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny) (This)->lpVtbl->PublishEx(This,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny) +#define IWSDiscoveryPublisher_MatchProbeEx(This,pProbeMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny) (This)->lpVtbl->MatchProbeEx(This,pProbeMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny) +#define IWSDiscoveryPublisher_MatchResolveEx(This,pResolveMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny) (This)->lpVtbl->MatchResolveEx(This,pResolveMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny) +#define IWSDiscoveryPublisher_RegisterScopeMatchingRule(This,pScopeMatchingRule) (This)->lpVtbl->RegisterScopeMatchingRule(This,pScopeMatchingRule) +#define IWSDiscoveryPublisher_UnRegisterScopeMatchingRule(This,pScopeMatchingRule) (This)->lpVtbl->UnRegisterScopeMatchingRule(This,pScopeMatchingRule) +#define IWSDiscoveryPublisher_GetXMLContext(This,ppContext) (This)->lpVtbl->GetXMLContext(This,ppContext) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDiscoveryPublisher_QueryInterface(IWSDiscoveryPublisher* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDiscoveryPublisher_AddRef(IWSDiscoveryPublisher* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDiscoveryPublisher_Release(IWSDiscoveryPublisher* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDiscoveryPublisher methods ***/ +static FORCEINLINE HRESULT IWSDiscoveryPublisher_SetAddressFamily(IWSDiscoveryPublisher* This,DWORD dwAddressFamily) { + return This->lpVtbl->SetAddressFamily(This,dwAddressFamily); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_RegisterNotificationSink(IWSDiscoveryPublisher* This,IWSDiscoveryPublisherNotify *pSink) { + return This->lpVtbl->RegisterNotificationSink(This,pSink); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_UnRegisterNotificationSink(IWSDiscoveryPublisher* This,IWSDiscoveryPublisherNotify *pSink) { + return This->lpVtbl->UnRegisterNotificationSink(This,pSink); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_Publish(IWSDiscoveryPublisher* This,LPCWSTR pszId,ULONGLONG ullMetadataVersion,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSD_NAME_LIST *pTypesList,const WSD_URI_LIST *pScopesList,const WSD_URI_LIST *pXAddrsList) { + return This->lpVtbl->Publish(This,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_UnPublish(IWSDiscoveryPublisher* This,LPCWSTR pszId,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSDXML_ELEMENT *pAny) { + return This->lpVtbl->UnPublish(This,pszId,ullInstanceId,ullMessageNumber,pszSessionId,pAny); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_MatchProbe(IWSDiscoveryPublisher* This,const WSD_SOAP_MESSAGE *pProbeMessage,IWSDMessageParameters *pMessageParameters,LPCWSTR pszId,ULONGLONG ullMetadataVersion,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSD_NAME_LIST *pTypesList,const WSD_URI_LIST *pScopesList,const WSD_URI_LIST *pXAddrsList) { + return This->lpVtbl->MatchProbe(This,pProbeMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_MatchResolve(IWSDiscoveryPublisher* This,const WSD_SOAP_MESSAGE *pResolveMessage,IWSDMessageParameters *pMessageParameters,LPCWSTR pszId,ULONGLONG ullMetadataVersion,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSD_NAME_LIST *pTypesList,const WSD_URI_LIST *pScopesList,const WSD_URI_LIST *pXAddrsList) { + return This->lpVtbl->MatchResolve(This,pResolveMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_PublishEx(IWSDiscoveryPublisher* This,LPCWSTR pszId,ULONGLONG ullMetadataVersion,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSD_NAME_LIST *pTypesList,const WSD_URI_LIST *pScopesList,const WSD_URI_LIST *pXAddrsList,const WSDXML_ELEMENT *pHeaderAny,const WSDXML_ELEMENT *pReferenceParameterAny,const WSDXML_ELEMENT *pPolicyAny,const WSDXML_ELEMENT *pEndpointReferenceAny,const WSDXML_ELEMENT *pAny) { + return This->lpVtbl->PublishEx(This,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_MatchProbeEx(IWSDiscoveryPublisher* This,const WSD_SOAP_MESSAGE *pProbeMessage,IWSDMessageParameters *pMessageParameters,LPCWSTR pszId,ULONGLONG ullMetadataVersion,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSD_NAME_LIST *pTypesList,const WSD_URI_LIST *pScopesList,const WSD_URI_LIST *pXAddrsList,const WSDXML_ELEMENT *pHeaderAny,const WSDXML_ELEMENT *pReferenceParameterAny,const WSDXML_ELEMENT *pPolicyAny,const WSDXML_ELEMENT *pEndpointReferenceAny,const WSDXML_ELEMENT *pAny) { + return This->lpVtbl->MatchProbeEx(This,pProbeMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_MatchResolveEx(IWSDiscoveryPublisher* This,const WSD_SOAP_MESSAGE *pResolveMessage,IWSDMessageParameters *pMessageParameters,LPCWSTR pszId,ULONGLONG ullMetadataVersion,ULONGLONG ullInstanceId,ULONGLONG ullMessageNumber,LPCWSTR pszSessionId,const WSD_NAME_LIST *pTypesList,const WSD_URI_LIST *pScopesList,const WSD_URI_LIST *pXAddrsList,const WSDXML_ELEMENT *pHeaderAny,const WSDXML_ELEMENT *pReferenceParameterAny,const WSDXML_ELEMENT *pPolicyAny,const WSDXML_ELEMENT *pEndpointReferenceAny,const WSDXML_ELEMENT *pAny) { + return This->lpVtbl->MatchResolveEx(This,pResolveMessage,pMessageParameters,pszId,ullMetadataVersion,ullInstanceId,ullMessageNumber,pszSessionId,pTypesList,pScopesList,pXAddrsList,pHeaderAny,pReferenceParameterAny,pPolicyAny,pEndpointReferenceAny,pAny); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_RegisterScopeMatchingRule(IWSDiscoveryPublisher* This,IWSDScopeMatchingRule *pScopeMatchingRule) { + return This->lpVtbl->RegisterScopeMatchingRule(This,pScopeMatchingRule); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_UnRegisterScopeMatchingRule(IWSDiscoveryPublisher* This,IWSDScopeMatchingRule *pScopeMatchingRule) { + return This->lpVtbl->UnRegisterScopeMatchingRule(This,pScopeMatchingRule); +} +static FORCEINLINE HRESULT IWSDiscoveryPublisher_GetXMLContext(IWSDiscoveryPublisher* This,IWSDXMLContext **ppContext) { + return This->lpVtbl->GetXMLContext(This,ppContext); +} +#endif +#endif + +#endif + + +#endif /* __IWSDiscoveryPublisher_INTERFACE_DEFINED__ */ + +HRESULT WINAPI WSDCreateDiscoveryPublisher(IWSDXMLContext* pContext, IWSDiscoveryPublisher **ppPublisher); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wsddisco_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsddisco.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsddisco.idl new file mode 100644 index 0000000..50d2198 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsddisco.idl @@ -0,0 +1,107 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "objidl.idl"; +import "wsdxmldom.h"; +import "wsdtypes.h"; + +interface IWSDScopeMatchingRule; +interface IWSDiscoveryPublisherNotify; +interface IWSDiscoveryPublisher; +interface IWSDXMLContext; + +[ +uuid(fcafe424-fef5-481a-bd9f-33ce0574256f), +object, +local, +restricted, +pointer_default(unique) +] +interface IWSDScopeMatchingRule : IUnknown +{ + HRESULT GetScopeRule([out] LPCWSTR *ppszScopeMatchingRule); + HRESULT MatchScopes([in] LPCWSTR pszScope1, [in] LPCWSTR pszScope2, [out] BOOL *pfMatch); +} + +[ +uuid(e67651b0-337a-4b3c-9758-733388568251), +object, +local, +restricted, +pointer_default(unique) +] +interface IWSDiscoveryPublisherNotify : IUnknown +{ + HRESULT ProbeHandler([in] const WSD_SOAP_MESSAGE *pSoap, [in] IWSDMessageParameters *pMessageParameters); + HRESULT ResolveHandler([in] const WSD_SOAP_MESSAGE *pSoap, [in] IWSDMessageParameters *pMessageParameters); +} + +[ +uuid(AE01E1A8-3ff9-4148-8116-057cc616fe13), +object, +local, +restricted, +pointer_default(unique) +] +interface IWSDiscoveryPublisher : IUnknown +{ + HRESULT SetAddressFamily([in] DWORD dwAddressFamily); + HRESULT RegisterNotificationSink([in] IWSDiscoveryPublisherNotify *pSink); + HRESULT UnRegisterNotificationSink([in] IWSDiscoveryPublisherNotify *pSink); + + HRESULT Publish([in] LPCWSTR pszId, [in] ULONGLONG ullMetadataVersion, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, + [in, optional] LPCWSTR pszSessionId, [in, optional] const WSD_NAME_LIST *pTypesList, [in, optional] const WSD_URI_LIST *pScopesList, + [in, optional] const WSD_URI_LIST *pXAddrsList); + + HRESULT UnPublish([in] LPCWSTR pszId, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, [in, optional] LPCWSTR pszSessionId, + [in, optional] const WSDXML_ELEMENT *pAny); + + HRESULT MatchProbe([in] const WSD_SOAP_MESSAGE *pProbeMessage, [in] IWSDMessageParameters *pMessageParameters, [in] LPCWSTR pszId, + [in] ULONGLONG ullMetadataVersion, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, [in, optional] LPCWSTR pszSessionId, + [in, optional] const WSD_NAME_LIST *pTypesList, [in, optional] const WSD_URI_LIST *pScopesList, [in, optional] const WSD_URI_LIST *pXAddrsList); + + HRESULT MatchResolve([in] const WSD_SOAP_MESSAGE *pResolveMessage, [in] IWSDMessageParameters *pMessageParameters, [in] LPCWSTR pszId, + [in] ULONGLONG ullMetadataVersion, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, [in, optional] LPCWSTR pszSessionId, + [in, optional] const WSD_NAME_LIST *pTypesList, [in, optional] const WSD_URI_LIST *pScopesList, [in, optional] const WSD_URI_LIST *pXAddrsList); + + HRESULT PublishEx([in] LPCWSTR pszId, [in] ULONGLONG ullMetadataVersion, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, + [in, optional] LPCWSTR pszSessionId, [in, optional] const WSD_NAME_LIST *pTypesList, [in, optional] const WSD_URI_LIST *pScopesList, + [in, optional] const WSD_URI_LIST *pXAddrsList, [in, optional] const WSDXML_ELEMENT *pHeaderAny, + [in, optional] const WSDXML_ELEMENT *pReferenceParameterAny, [in, optional] const WSDXML_ELEMENT *pPolicyAny, + [in, optional] const WSDXML_ELEMENT *pEndpointReferenceAny, [in, optional] const WSDXML_ELEMENT *pAny); + + HRESULT MatchProbeEx([in] const WSD_SOAP_MESSAGE *pProbeMessage, [in] IWSDMessageParameters *pMessageParameters, [in] LPCWSTR pszId, + [in] ULONGLONG ullMetadataVersion, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, [in, optional] LPCWSTR pszSessionId, + [in, optional] const WSD_NAME_LIST *pTypesList, [in, optional] const WSD_URI_LIST *pScopesList, [in, optional] const WSD_URI_LIST *pXAddrsList, + [in, optional] const WSDXML_ELEMENT *pHeaderAny, [in, optional] const WSDXML_ELEMENT *pReferenceParameterAny, + [in, optional] const WSDXML_ELEMENT *pPolicyAny, [in, optional] const WSDXML_ELEMENT *pEndpointReferenceAny, + [in, optional] const WSDXML_ELEMENT *pAny); + + HRESULT MatchResolveEx([in] const WSD_SOAP_MESSAGE *pResolveMessage, [in] IWSDMessageParameters *pMessageParameters, [in] LPCWSTR pszId, + [in] ULONGLONG ullMetadataVersion, [in] ULONGLONG ullInstanceId, [in] ULONGLONG ullMessageNumber, [in, optional] LPCWSTR pszSessionId, + [in, optional] const WSD_NAME_LIST *pTypesList, [in, optional] const WSD_URI_LIST *pScopesList, [in, optional] const WSD_URI_LIST *pXAddrsList, + [in, optional] const WSDXML_ELEMENT *pHeaderAny, [in, optional] const WSDXML_ELEMENT *pReferenceParameterAny, + [in, optional] const WSDXML_ELEMENT *pPolicyAny, [in, optional] const WSDXML_ELEMENT *pEndpointReferenceAny, + [in, optional] const WSDXML_ELEMENT *pAny); + + HRESULT RegisterScopeMatchingRule([in] IWSDScopeMatchingRule *pScopeMatchingRule); + HRESULT UnRegisterScopeMatchingRule([in] IWSDScopeMatchingRule *pScopeMatchingRule); + HRESULT GetXMLContext([out] IWSDXMLContext **ppContext); +} + +cpp_quote("HRESULT WINAPI WSDCreateDiscoveryPublisher(IWSDXMLContext* pContext, IWSDiscoveryPublisher **ppPublisher);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdtypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdtypes.h new file mode 100644 index 0000000..387b6c3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdtypes.h @@ -0,0 +1,99 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef WSDTYPES_H +#define WSDTYPES_H + +interface IWSDMessageParameters; + +typedef struct _WSD_APP_SEQUENCE WSD_APP_SEQUENCE; +typedef struct _WSD_HEADER_RELATESTO WSD_HEADER_RELATESTO; +typedef struct _WSD_SOAP_HEADER WSD_SOAP_HEADER; +typedef struct _WSD_SOAP_MESSAGE WSD_SOAP_MESSAGE; +typedef struct _WSD_NAME_LIST WSD_NAME_LIST; +typedef struct _WSD_REFERENCE_PARAMETERS WSD_REFERENCE_PARAMETERS; +typedef struct _WSD_REFERENCE_PROPERTIES WSD_REFERENCE_PROPERTIES; +typedef struct _WSD_ENDPOINT_REFERENCE WSD_ENDPOINT_REFERENCE; +typedef struct _WSD_URI_LIST WSD_URI_LIST; + +struct _WSD_APP_SEQUENCE +{ + ULONGLONG InstanceId; + const WCHAR *SequenceId; + ULONGLONG MessageNumber; +}; + +struct _WSD_NAME_LIST +{ + WSD_NAME_LIST *Next; + WSDXML_NAME *Element; +}; + +struct _WSD_REFERENCE_PARAMETERS +{ + WSDXML_ELEMENT *Any; +}; + +struct _WSD_REFERENCE_PROPERTIES +{ + WSDXML_ELEMENT *Any; +}; + +struct _WSD_ENDPOINT_REFERENCE +{ + const WCHAR *Address; + WSD_REFERENCE_PROPERTIES ReferenceProperties; + WSD_REFERENCE_PARAMETERS ReferenceParameters; + WSDXML_NAME *PortType; + WSDXML_NAME *ServiceName; + WSDXML_ELEMENT *Any; +}; + +struct _WSD_URI_LIST +{ + WSD_URI_LIST *Next; + const WCHAR *Element; +}; + +struct _WSD_HEADER_RELATESTO +{ + WSDXML_NAME *RelationshipType; + const WCHAR *MessageID; +}; + +struct _WSD_SOAP_HEADER +{ + const WCHAR *To; + const WCHAR *Action; + const WCHAR *MessageID; + WSD_HEADER_RELATESTO RelatesTo; + WSD_ENDPOINT_REFERENCE *ReplyTo; + WSD_ENDPOINT_REFERENCE *From; + WSD_ENDPOINT_REFERENCE *FaultTo; + WSD_APP_SEQUENCE *AppSequence; + WSDXML_ELEMENT *AnyHeaders; +}; + +struct _WSD_SOAP_MESSAGE +{ + WSD_SOAP_HEADER Header; + void *Body; + WSDXML_TYPE *BodyType; +}; + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdutil.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdutil.h new file mode 100644 index 0000000..402a413 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdutil.h @@ -0,0 +1,33 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef WSDUTIL_H +#define WSDUTIL_H + +void * WINAPI WSDAllocateLinkedMemory(void *pParent, SIZE_T cbSize); +void WINAPI WSDAttachLinkedMemory(void *pParent, void *pChild); +void WINAPI WSDDetachLinkedMemory(void *pVoid); +void WINAPI WSDFreeLinkedMemory(void *pVoid); + +HRESULT WINAPI WSDXMLAddChild(WSDXML_ELEMENT *pParent, WSDXML_ELEMENT *pChild); +HRESULT WINAPI WSDXMLAddSibling(WSDXML_ELEMENT *pFirst, WSDXML_ELEMENT *pSecond); +HRESULT WINAPI WSDXMLBuildAnyForSingleElement(WSDXML_NAME *pElementName, LPCWSTR pszText, WSDXML_ELEMENT **ppAny); +HRESULT WINAPI WSDXMLCleanupElement(WSDXML_ELEMENT *pAny); +HRESULT WINAPI WSDXMLGetValueFromAny(const WCHAR *pszNamespace, const WCHAR *pszName, WSDXML_ELEMENT *pAny, LPCWSTR *ppszValue); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxml.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxml.h new file mode 100644 index 0000000..b8e0262 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxml.h @@ -0,0 +1,182 @@ +/*** Autogenerated by WIDL 2.18 from wsdxml.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wsdxml_h__ +#define __wsdxml_h__ + +/* Forward declarations */ + +#ifndef __IWSDXMLContext_FWD_DEFINED__ +#define __IWSDXMLContext_FWD_DEFINED__ +typedef interface IWSDXMLContext IWSDXMLContext; +#ifdef __cplusplus +interface IWSDXMLContext; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef __IWSDXMLContext_FWD_DEFINED__ +#define __IWSDXMLContext_FWD_DEFINED__ +typedef interface IWSDXMLContext IWSDXMLContext; +#ifdef __cplusplus +interface IWSDXMLContext; +#endif /* __cplusplus */ +#endif + +/***************************************************************************** + * IWSDXMLContext interface + */ +#ifndef __IWSDXMLContext_INTERFACE_DEFINED__ +#define __IWSDXMLContext_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWSDXMLContext, 0x75d8f3ee, 0x3e5a, 0x43b4, 0xa1,0x5a, 0xbc,0xf6,0x88,0x74,0x60,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("75d8f3ee-3e5a-43b4-a15a-bcf6887460c0") +IWSDXMLContext : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AddNamespace( + LPCWSTR pszUri, + LPCWSTR pszSuggestedPrefix, + WSDXML_NAMESPACE **ppNamespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddNameToNamespace( + LPCWSTR pszUri, + LPCWSTR pszName, + WSDXML_NAME **ppName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetNamespaces( + const PCWSDXML_NAMESPACE *pNamespaces, + WORD wNamespacesCount, + BYTE bLayerNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetTypes( + const PCWSDXML_TYPE *pTypes, + DWORD dwTypesCount, + BYTE bLayerNumber) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWSDXMLContext, 0x75d8f3ee, 0x3e5a, 0x43b4, 0xa1,0x5a, 0xbc,0xf6,0x88,0x74,0x60,0xc0) +#endif +#else +typedef struct IWSDXMLContextVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWSDXMLContext *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWSDXMLContext *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWSDXMLContext *This); + + /*** IWSDXMLContext methods ***/ + HRESULT (STDMETHODCALLTYPE *AddNamespace)( + IWSDXMLContext *This, + LPCWSTR pszUri, + LPCWSTR pszSuggestedPrefix, + WSDXML_NAMESPACE **ppNamespace); + + HRESULT (STDMETHODCALLTYPE *AddNameToNamespace)( + IWSDXMLContext *This, + LPCWSTR pszUri, + LPCWSTR pszName, + WSDXML_NAME **ppName); + + HRESULT (STDMETHODCALLTYPE *SetNamespaces)( + IWSDXMLContext *This, + const PCWSDXML_NAMESPACE *pNamespaces, + WORD wNamespacesCount, + BYTE bLayerNumber); + + HRESULT (STDMETHODCALLTYPE *SetTypes)( + IWSDXMLContext *This, + const PCWSDXML_TYPE *pTypes, + DWORD dwTypesCount, + BYTE bLayerNumber); + + END_INTERFACE +} IWSDXMLContextVtbl; + +interface IWSDXMLContext { + CONST_VTBL IWSDXMLContextVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWSDXMLContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWSDXMLContext_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWSDXMLContext_Release(This) (This)->lpVtbl->Release(This) +/*** IWSDXMLContext methods ***/ +#define IWSDXMLContext_AddNamespace(This,pszUri,pszSuggestedPrefix,ppNamespace) (This)->lpVtbl->AddNamespace(This,pszUri,pszSuggestedPrefix,ppNamespace) +#define IWSDXMLContext_AddNameToNamespace(This,pszUri,pszName,ppName) (This)->lpVtbl->AddNameToNamespace(This,pszUri,pszName,ppName) +#define IWSDXMLContext_SetNamespaces(This,pNamespaces,wNamespacesCount,bLayerNumber) (This)->lpVtbl->SetNamespaces(This,pNamespaces,wNamespacesCount,bLayerNumber) +#define IWSDXMLContext_SetTypes(This,pTypes,dwTypesCount,bLayerNumber) (This)->lpVtbl->SetTypes(This,pTypes,dwTypesCount,bLayerNumber) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWSDXMLContext_QueryInterface(IWSDXMLContext* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWSDXMLContext_AddRef(IWSDXMLContext* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWSDXMLContext_Release(IWSDXMLContext* This) { + return This->lpVtbl->Release(This); +} +/*** IWSDXMLContext methods ***/ +static FORCEINLINE HRESULT IWSDXMLContext_AddNamespace(IWSDXMLContext* This,LPCWSTR pszUri,LPCWSTR pszSuggestedPrefix,WSDXML_NAMESPACE **ppNamespace) { + return This->lpVtbl->AddNamespace(This,pszUri,pszSuggestedPrefix,ppNamespace); +} +static FORCEINLINE HRESULT IWSDXMLContext_AddNameToNamespace(IWSDXMLContext* This,LPCWSTR pszUri,LPCWSTR pszName,WSDXML_NAME **ppName) { + return This->lpVtbl->AddNameToNamespace(This,pszUri,pszName,ppName); +} +static FORCEINLINE HRESULT IWSDXMLContext_SetNamespaces(IWSDXMLContext* This,const PCWSDXML_NAMESPACE *pNamespaces,WORD wNamespacesCount,BYTE bLayerNumber) { + return This->lpVtbl->SetNamespaces(This,pNamespaces,wNamespacesCount,bLayerNumber); +} +static FORCEINLINE HRESULT IWSDXMLContext_SetTypes(IWSDXMLContext* This,const PCWSDXML_TYPE *pTypes,DWORD dwTypesCount,BYTE bLayerNumber) { + return This->lpVtbl->SetTypes(This,pTypes,dwTypesCount,bLayerNumber); +} +#endif +#endif + +#endif + + +#endif /* __IWSDXMLContext_INTERFACE_DEFINED__ */ + +HRESULT WINAPI WSDXMLCreateContext(IWSDXMLContext **ppContext); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wsdxml_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxml.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxml.idl new file mode 100644 index 0000000..33bd1d9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxml.idl @@ -0,0 +1,43 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "wsdxmldom.h"; + +interface IWSDXMLContext; + +[ +uuid(75d8f3ee-3e5a-43b4-a15a-bcf6887460c0), +object, +local, +restricted, +pointer_default(unique) +] +interface IWSDXMLContext : IUnknown +{ + HRESULT AddNamespace([in] LPCWSTR pszUri, [in] LPCWSTR pszSuggestedPrefix, [out] WSDXML_NAMESPACE** ppNamespace); + + HRESULT AddNameToNamespace([in] LPCWSTR pszUri, [in] LPCWSTR pszName, [out] WSDXML_NAME** ppName); + + HRESULT SetNamespaces([in, size_is(wNamespacesCount)] const PCWSDXML_NAMESPACE* pNamespaces, [in] WORD wNamespacesCount, [in] BYTE bLayerNumber); + + HRESULT SetTypes([in, size_is(dwTypesCount)] const PCWSDXML_TYPE* pTypes, [in] DWORD dwTypesCount, [in] BYTE bLayerNumber); +}; + +cpp_quote("HRESULT WINAPI WSDXMLCreateContext(IWSDXMLContext **ppContext);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxmldom.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxmldom.h new file mode 100644 index 0000000..8901236 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsdxmldom.h @@ -0,0 +1,97 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WSDXMLDOM_H__ +#define __WSDXMLDOM_H__ + +typedef struct _WSDXML_TYPE WSDXML_TYPE; +typedef struct _WSDXML_NAMESPACE WSDXML_NAMESPACE; +typedef struct _WSDXML_NAME WSDXML_NAME; +typedef struct _WSDXML_PREFIX_MAPPING WSDXML_PREFIX_MAPPING; +typedef struct _WSDXML_ATTRIBUTE WSDXML_ATTRIBUTE; +typedef struct _WSDXML_NODE WSDXML_NODE; +typedef struct _WSDXML_ELEMENT WSDXML_ELEMENT; +typedef struct _WSDXML_TEXT WSDXML_TEXT; + +typedef const WSDXML_NAMESPACE *PCWSDXML_NAMESPACE; +typedef const WSDXML_TYPE *PCWSDXML_TYPE; + +struct _WSDXML_TYPE +{ + const WCHAR *Uri; + const BYTE *Table; +}; + +struct _WSDXML_NAMESPACE +{ + const WCHAR *Uri; + const WCHAR *PreferredPrefix; + WSDXML_NAME *Names; + WORD NamesCount; + WORD Encoding; +}; + +struct _WSDXML_NAME +{ + WSDXML_NAMESPACE *Space; + WCHAR *LocalName; +}; + +struct _WSDXML_PREFIX_MAPPING +{ + DWORD Refs; + WSDXML_PREFIX_MAPPING *Next; + WSDXML_NAMESPACE *Space; + WCHAR *Prefix; +}; + +struct _WSDXML_ATTRIBUTE +{ + WSDXML_ELEMENT *Element; + WSDXML_ATTRIBUTE *Next; + WSDXML_NAME *Name; + WCHAR *Value; +}; + +struct _WSDXML_NODE +{ + enum + { + ElementType, + TextType + } Type; + WSDXML_ELEMENT *Parent; + WSDXML_NODE *Next; +}; + +struct _WSDXML_ELEMENT +{ + WSDXML_NODE Node; + WSDXML_NAME *Name; + WSDXML_ATTRIBUTE *FirstAttribute; + WSDXML_NODE *FirstChild; + WSDXML_PREFIX_MAPPING *PrefixMappings; +}; + +struct _WSDXML_TEXT +{ + WSDXML_NODE Node; + WCHAR *Text; +}; + +#endif /* __WSDXMLDOM_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wshisotp.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wshisotp.h new file mode 100644 index 0000000..2e91086 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wshisotp.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2001 Stefan Leichter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINE_WSHISOTP_ +#define _WINE_WSHISOTP_ + + +/* + * constants + */ +#define ISOPROTO_TP4 29 +#define ISOPROTO_TP ISOPROTO_TP4 + + +#endif /* _WINE_WSHISOTP_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsipx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsipx.h new file mode 100644 index 0000000..6aa2946 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsipx.h @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2001 Stefan Leichter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WINE_WSIPX_ +#define _WINE_WSIPX_ + +#ifdef USE_WS_PREFIX +# define WS(x) WS_##x +#else +# define WS(x) x +#endif + +typedef struct WS_sockaddr_ipx +{ + short sa_family; + char sa_netnum[4]; + char sa_nodenum[6]; + unsigned short sa_socket; +} SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX; + +/* + * constants + */ +#ifndef USE_WS_PREFIX +#define NSPROTO_IPX 1000 +#define NSPROTO_SPX 1256 +#define NSPROTO_SPXII 1257 +#else +#define WS_NSPROTO_IPX 1000 +#define WS_NSPROTO_SPX 1256 +#define WS_NSPROTO_SPXII 1257 +#endif + +#undef WS +#endif /* _WINE_WSIPX_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsnwlink.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsnwlink.h new file mode 100644 index 0000000..f237f0d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wsnwlink.h @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2003,2004 Roderick Colenbrander + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _WSNWLINK_ +#define _WSNWLINK_ + +#ifdef USE_WS_PREFIX +#define WS(x) WS_##x +#else +#define WS(x) x +#endif + +#ifndef USE_WS_PREFIX +#define IPX_PTYPE 0x4000 +#define IPX_FILTERPTYPE 0x4001 +#define IPX_DSTYPE 0x4002 +#define IPX_STOPFILTERPTYPE 0x4003 +#define IPX_EXTENDED_ADDRESS 0x4004 +#define IPX_RECVHDR 0x4005 +#define IPX_MAXSIZE 0x4006 +#define IPX_ADDRESS 0x4007 +#define IPX_GETNETINFO 0x4008 +#define IPX_GETNETINFO_NORIP 0x4009 +#define IPX_SPXGETCONNECTIONSTATUS 0x400b +#define IPX_ADDRESS_NOTIFY 0x400c +#define IPX_MAX_ADAPTER_NUM 0x400d +#define IPX_RERIPNETNUMBER 0x400e +#define IPX_RECEIVE_BROADCAST 0x400f +#define IPX_IMMEDIATESPXACK 0x4010 +#else +#define WS_IPX_PTYPE 0x4000 +#define WS_IPX_FILTERPTYPE 0x4001 +#define WS_IPX_DSTYPE 0x4002 +#define WS_IPX_STOPFILTERPTYPE 0x4003 +#define WS_IPX_EXTENDED_ADDRESS 0x4004 +#define WS_IPX_RECVHDR 0x4005 +#define WS_IPX_MAXSIZE 0x4006 +#define WS_IPX_ADDRESS 0x4007 +#define WS_IPX_GETNETINFO 0x4008 +#define WS_IPX_GETNETINFO_NORIP 0x4009 +#define WS_IPX_SPXGETCONNECTIONSTATUS 0x400b +#define WS_IPX_ADDRESS_NOTIFY 0x400c +#define WS_IPX_MAX_ADAPTER_NUM 0x400d +#define WS_IPX_RERIPNETNUMBER 0x400e +#define WS_IPX_RECEIVE_BROADCAST 0x400f +#define WS_IPX_IMMEDIATESPXACK 0x4010 +#endif /* USE_WS_PREFIX */ + +typedef struct _IPX_ADDRESS_DATA { + INT adapternum; + UCHAR netnum[4]; + UCHAR nodenum[6]; + BOOLEAN wan; + BOOLEAN status; + INT maxpkt; + ULONG linkspeed; +} IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA; + +#endif /* _WSNWLINK_ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtsapi32.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtsapi32.h new file mode 100644 index 0000000..304a418 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtsapi32.h @@ -0,0 +1,181 @@ +/* + * Copyright 2005 Ulrich Czekalla (For CodeWeavers) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_WTSAPI32_H +#define __WINE_WTSAPI32_H + +#ifdef __cplusplus +extern "C" { +#endif + + +typedef enum _WTS_VIRTUAL_CLASS +{ + WTSVirtualClientData, + WTSVirtualFileHandle +} WTS_VIRTUAL_CLASS; + +typedef enum tagWTS_INFO_CLASS +{ + WTSInitialProgram, + WTSApplicationName, + WTSWorkingDirectory, + WTSOEMId, + WTSSessionId, + WTSUserName, + WTSWinStationName, + WTSDomainName, + WTSConnectState, + WTSClientBuildNumber, + WTSClientName, + WTSClientDirectory, + WTSClientProductId, + WTSClientHardwareId, + WTSClientAddress, + WTSClientDisplay, + WTSClientProtocolType, +} WTS_INFO_CLASS; + +typedef enum _WTS_CONNECTSTATE_CLASS +{ + WTSActive, + WTSConnected, + WTSConnectQuery, + WTSShadow, + WTSDisconnected, + WTSIdle, + WTSListen, + WTSReset, + WTSDown, + WTSInit +} WTS_CONNECTSTATE_CLASS; + +typedef enum _WTS_CONFIG_CLASS +{ + WTSUserConfigInitialProgram, + WTSUserConfigWorkingDirectory, + WTSUserConfigInheritInitialProgram, + WTSUserConfigAllowLogonTerminalServer, + WTSUserConfigTimeoutSettingsConnections, + WTSUserConfigTimeoutSettingsDisconnections, + WTSUserConfigTimeoutSettingsIdle, + WTSUserConfigDeviceClientDrives, + WTSUserConfigDeviceClientPrinters, + WTSUserConfigDeviceClientDefaultPrinter, + WTSUserConfigBrokenTimeoutSettings, + WTSUserConfigModemCallbackSettings, + WTSUserConfigModemCallbackPhoneNumber, + WTSUserConfigShadowSettings, + WTSUserConfigTerminalServerProfilePath, + WTSUserConfigTerminalServerHomeDirectory, + WTSUserConfigfTerminalServerRemoteHomeDir +} WTS_CONFIG_CLASS; + +typedef struct _WTS_PROCESS_INFOA +{ + DWORD SessionId; + DWORD ProcessId; + LPSTR pProcessName; + PSID pUserSid; +} WTS_PROCESS_INFOA, *PWTS_PROCESS_INFOA; + +typedef struct _WTS_PROCESS_INFOW +{ + DWORD SessionId; + DWORD ProcessId; + LPWSTR pProcessName; + PSID pUserSid; +} WTS_PROCESS_INFOW, *PWTS_PROCESS_INFOW; + +DECL_WINELIB_TYPE_AW(WTS_PROCESS_INFO) +DECL_WINELIB_TYPE_AW(PWTS_PROCESS_INFO) + +typedef struct _WTS_SESSION_INFOA +{ + DWORD SessionId; + LPSTR pWinStationName; + WTS_CONNECTSTATE_CLASS State; +} WTS_SESSION_INFOA, *PWTS_SESSION_INFOA; + +typedef struct _WTS_SESSION_INFOW +{ + DWORD SessionId; + LPWSTR pWinStationName; + WTS_CONNECTSTATE_CLASS State; +} WTS_SESSION_INFOW, *PWTS_SESSION_INFOW; + +DECL_WINELIB_TYPE_AW(WTS_SESSION_INFO) +DECL_WINELIB_TYPE_AW(PWTS_SESSION_INFO) + +typedef struct _WTS_SERVER_INFOA +{ + LPSTR pServerName; +} WTS_SERVER_INFOA, *PWTS_SERVER_INFOA; + +typedef struct _WTS_SERVER_INFOW +{ + LPWSTR pServerName; +} WTS_SERVER_INFOW, *PWTS_SERVER_INFOW; + +DECL_WINELIB_TYPE_AW(WTS_SERVER_INFO) +DECL_WINELIB_TYPE_AW(PWTS_SERVER_INFO) + +#define WTS_CURRENT_SERVER_HANDLE ((HANDLE)NULL) + +void WINAPI WTSCloseServer(HANDLE); +BOOL WINAPI WTSConnectSessionA(ULONG, ULONG, PSTR, BOOL); +BOOL WINAPI WTSConnectSessionW(ULONG, ULONG, PWSTR, BOOL); +#define WTSConnectSession WINELIB_NAME_AW(WTSConnectSession) +BOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL); +BOOL WINAPI WTSEnableChildSessions(BOOL); +BOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *); +BOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *); +#define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses) +BOOL WINAPI WTSEnumerateServersA( LPSTR, DWORD, DWORD, PWTS_SERVER_INFOA*, DWORD*); +BOOL WINAPI WTSEnumerateServersW( LPWSTR, DWORD, DWORD, PWTS_SERVER_INFOW*, DWORD*); +#define WTSEnumerateServers WINELIB_NAME_AW(WTSEnumerateServers) +BOOL WINAPI WTSEnumerateSessionsA(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOA *, DWORD *); +BOOL WINAPI WTSEnumerateSessionsW(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOW *, DWORD *); +#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions) +void WINAPI WTSFreeMemory(PVOID); +HANDLE WINAPI WTSOpenServerA(LPSTR); +HANDLE WINAPI WTSOpenServerW(LPWSTR); +#define WTSOpenServer WINELIB_NAME_AW(WTSOpenServer) +BOOL WINAPI WTSQuerySessionInformationA(HANDLE, DWORD, WTS_INFO_CLASS, LPSTR *, DWORD *); +BOOL WINAPI WTSQuerySessionInformationW(HANDLE, DWORD, WTS_INFO_CLASS, LPWSTR *, DWORD *); +#define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation) +BOOL WINAPI WTSQueryUserConfigA(LPSTR,LPSTR,WTS_CONFIG_CLASS,LPSTR*,DWORD*); +BOOL WINAPI WTSQueryUserConfigW(LPWSTR,LPWSTR,WTS_CONFIG_CLASS,LPWSTR*,DWORD*); +#define WTSQueryUserConfig WINELIB_NAME_AW(WTSQueryUserConfig) +BOOL WINAPI WTSQueryUserToken(ULONG, PHANDLE); +BOOL WINAPI WTSRegisterSessionNotification(HWND, DWORD); +BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE, HWND, DWORD); +BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR, ULONG, BYTE, USHORT); +BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR, ULONG, BYTE, USHORT); +#define WTSStartRemoteControlSession WINELIB_NAME_AW(WTSStartRemoteControlSession) +BOOL WINAPI WTSStopRemoteControlSession(ULONG); +BOOL WINAPI WTSTerminateProcess(HANDLE, DWORD, DWORD); +BOOL WINAPI WTSUnRegisterSessionNotification(HWND); +BOOL WINAPI WTSUnRegisterSessionNotificationEx(HANDLE, HWND); +BOOL WINAPI WTSWaitSystemEvent(HANDLE, DWORD, DWORD*); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtypes.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtypes.h new file mode 100644 index 0000000..a0773cc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtypes.h @@ -0,0 +1,771 @@ +/*** Autogenerated by WIDL 2.18 from wtypes.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wtypes_h__ +#define __wtypes_h__ + +/* Forward declarations */ + +/* Headers for imported files */ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IWinTypes interface (v0.1) + */ +#ifndef __IWinTypes_INTERFACE_DEFINED__ +#define __IWinTypes_INTERFACE_DEFINED__ + +extern RPC_IF_HANDLE IWinTypes_v0_1_c_ifspec; +extern RPC_IF_HANDLE IWinTypes_v0_1_s_ifspec; +#if 0 /* winnt.h */ +typedef unsigned char BYTE; +typedef unsigned short WORD; +typedef ULONG DWORD; +typedef LONG BOOL; +typedef unsigned char UCHAR; +typedef int INT; +typedef unsigned int UINT; +typedef short SHORT; +typedef unsigned short USHORT; +typedef LONG LONG; +typedef ULONG ULONG; +typedef float FLOAT; +typedef void *PVOID; +typedef void *LPVOID; +typedef DWORD *LPDWORD; +typedef char CHAR; +typedef CHAR *LPSTR; +typedef const CHAR *LPCSTR; +typedef wchar_t WCHAR; +typedef WCHAR *LPWSTR; +typedef const WCHAR *LPCWSTR; +typedef boolean BOOLEAN; +typedef DWORD COLORREF; +typedef void *HANDLE; +typedef void *HMODULE; +typedef void *HINSTANCE; +typedef void *HRGN; +typedef void *HTASK; +typedef void *HKEY; +typedef void *HDESK; +typedef void *HMF; +typedef void *HEMF; +typedef void *HPEN; +typedef void *HRSRC; +typedef void *HSTR; +typedef void *HWINSTA; +typedef void *HKL; +typedef void *HGDIOBJ; +typedef HANDLE HDWP; +typedef LONG_PTR LRESULT; +typedef LONG HRESULT; +typedef DWORD LCID; +typedef USHORT LANGID; +typedef UINT64 DWORDLONG; +typedef INT64 LONGLONG; +typedef UINT64 ULONGLONG; +typedef struct _LARGE_INTEGER { + LONGLONG QuadPart; +} LARGE_INTEGER; +typedef struct _ULARGE_INTEGER { + ULONGLONG QuadPart; +} ULARGE_INTEGER; +typedef struct _SID_IDENTIFIER_AUTHORITY { + UCHAR Value[6]; +} SID_IDENTIFIER_AUTHORITY; +typedef struct _SID_IDENTIFIER_AUTHORITY *PSID_IDENTIFIER_AUTHORITY; +typedef struct _SID { + UCHAR Revision; + UCHAR SubAuthorityCount; + SID_IDENTIFIER_AUTHORITY IdentifierAuthority; + ULONG SubAuthority[1]; +} SID; +typedef struct _SID *PSID; +typedef USHORT SECURITY_DESCRIPTOR_CONTROL; +typedef USHORT *PSECURITY_DESCRIPTOR_CONTROL; +typedef struct _ACL { + UCHAR AclRevision; + UCHAR Sbz1; + USHORT AclSize; + USHORT AceCount; + USHORT Sbz2; +} ACL; +typedef ACL *PACL; +typedef struct _SECURITY_DESCRIPTOR { + UCHAR Revision; + UCHAR Sbz1; + SECURITY_DESCRIPTOR_CONTROL Control; + PSID Owner; + PSID Group; + PACL Sacl; + PACL Dacl; +} SECURITY_DESCRIPTOR; +typedef struct _SECURITY_DESCRIPTOR *PSECURITY_DESCRIPTOR; +typedef struct _SECURITY_ATTRIBUTES { + DWORD nLength; + LPVOID lpSecurityDescriptor; + BOOL bInheritHandle; +} SECURITY_ATTRIBUTES; +typedef struct _SECURITY_ATTRIBUTES *PSECURITY_ATTRIBUTES; +typedef struct _SECURITY_ATTRIBUTES *LPSECURITY_ATTRIBUTES; +typedef struct tagSIZE { + LONG cx; + LONG cy; +} SIZE; +typedef struct tagSIZE *PSIZE; +typedef struct tagSIZE *LPSIZE; +typedef SIZE SIZEL; +typedef SIZE *PSIZEL; +typedef SIZE *LPSIZEL; +typedef struct tagPOINT { + LONG x; + LONG y; +} POINT; +typedef struct tagPOINT *PPOINT; +typedef struct tagPOINT *LPPOINT; +typedef struct _POINTL { + LONG x; + LONG y; +} POINTL; +typedef struct _POINTL *PPOINTL; +typedef struct tagRECT { + LONG left; + LONG top; + LONG right; + LONG bottom; +} RECT; +typedef struct tagRECT *PRECT; +typedef struct tagRECT *LPRECT; +typedef const RECT *LPCRECT; +typedef struct _RECTL { + LONG left; + LONG top; + LONG right; + LONG bottom; +} RECTL; +typedef struct _RECTL *PRECTL; +typedef struct _RECTL *LPRECTL; +typedef const RECTL *LPCRECTL; +typedef UINT_PTR WPARAM; +typedef LONG_PTR LPARAM; +#endif /* winnt.h */ +#ifdef _MSC_VER +typedef double DOUBLE; +#else +typedef double DECLSPEC_ALIGN(8) DOUBLE; +#endif +#ifndef _PALETTEENTRY_DEFINED +#define _PALETTEENTRY_DEFINED +typedef struct tagPALETTEENTRY { + BYTE peRed; + BYTE peGreen; + BYTE peBlue; + BYTE peFlags; +} PALETTEENTRY; +typedef struct tagPALETTEENTRY *PPALETTEENTRY; +typedef struct tagPALETTEENTRY *LPPALETTEENTRY; +#endif +#ifndef _LOGPALETTE_DEFINED +#define _LOGPALETTE_DEFINED +typedef struct tagLOGPALETTE { + WORD palVersion; + WORD palNumEntries; + PALETTEENTRY palPalEntry[1]; +} LOGPALETTE; +typedef struct tagLOGPALETTE *PLOGPALETTE; +typedef struct tagLOGPALETTE *LPLOGPALETTE; +#endif +#ifndef _SYSTEMTIME_ +#define _SYSTEMTIME_ +typedef struct _SYSTEMTIME { + WORD wYear; + WORD wMonth; + WORD wDayOfWeek; + WORD wDay; + WORD wHour; + WORD wMinute; + WORD wSecond; + WORD wMilliseconds; +} SYSTEMTIME; +typedef struct _SYSTEMTIME *PSYSTEMTIME; +typedef struct _SYSTEMTIME *LPSYSTEMTIME; +#endif +#ifndef _FILETIME_ +#define _FILETIME_ +typedef struct _FILETIME { + DWORD dwLowDateTime; + DWORD dwHighDateTime; +} FILETIME; +typedef struct _FILETIME *PFILETIME; +typedef struct _FILETIME *LPFILETIME; +#endif +#ifndef _TEXTMETRIC_DEFINED +#define _TEXTMETRIC_DEFINED +typedef struct tagTEXTMETRICA { + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + BYTE tmFirstChar; + BYTE tmLastChar; + BYTE tmDefaultChar; + BYTE tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; +} TEXTMETRICA; +typedef struct tagTEXTMETRICA *LPTEXTMETRICA; +typedef struct tagTEXTMETRICA *PTEXTMETRICA; +typedef struct tagTEXTMETRICW { + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + WCHAR tmFirstChar; + WCHAR tmLastChar; + WCHAR tmDefaultChar; + WCHAR tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; +} TEXTMETRICW; +typedef struct tagTEXTMETRICW *LPTEXTMETRICW; +typedef struct tagTEXTMETRICW *PTEXTMETRICW; +#endif +typedef WCHAR OLECHAR; +typedef OLECHAR *LPOLESTR; +typedef const OLECHAR *LPCOLESTR; +#ifndef __WINESRC__ +#define OLESTR(str) L##str +#endif +typedef LONG SCODE; +typedef struct _COAUTHIDENTITY { + USHORT *User; + ULONG UserLength; + USHORT *Domain; + ULONG DomainLength; + USHORT *Password; + ULONG PasswordLength; + ULONG Flags; +} COAUTHIDENTITY; +typedef struct _COAUTHINFO { + DWORD dwAuthnSvc; + DWORD dwAuthzSvc; + LPWSTR pwszServerPrincName; + DWORD dwAuthnLevel; + DWORD dwImpersonationLevel; + COAUTHIDENTITY *pAuthIdentityData; + DWORD dwCapabilities; +} COAUTHINFO; +typedef enum tagMEMCTX { + MEMCTX_TASK = 1, + MEMCTX_SHARED = 2, + MEMCTX_MACSYSTEM = 3, + MEMCTX_UNKNOWN = -1, + MEMCTX_SAME = -2 +} MEMCTX; +#ifndef _ROT_COMPARE_MAX_DEFINED +#define _ROT_COMPARE_MAX_DEFINED +#define ROT_COMPARE_MAX 2048 +#endif +#ifndef _ROTFLAGS_DEFINED +#define _ROTFLAGS_DEFINED +#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1 +#define ROTFLAGS_ALLOWANYCLIENT 0x2 +#endif +typedef enum tagCLSCTX { + CLSCTX_INPROC_SERVER = 0x1, + CLSCTX_INPROC_HANDLER = 0x2, + CLSCTX_LOCAL_SERVER = 0x4, + CLSCTX_INPROC_SERVER16 = 0x8, + CLSCTX_REMOTE_SERVER = 0x10, + CLSCTX_INPROC_HANDLER16 = 0x20, + CLSCTX_INPROC_SERVERX86 = 0x40, + CLSCTX_INPROC_HANDLERX86 = 0x80, + CLSCTX_ESERVER_HANDLER = 0x100, + CLSCTX_NO_CODE_DOWNLOAD = 0x400, + CLSCTX_NO_CUSTOM_MARSHAL = 0x1000, + CLSCTX_ENABLE_CODE_DOWNLOAD = 0x2000, + CLSCTX_NO_FAILURE_LOG = 0x4000, + CLSCTX_DISABLE_AAA = 0x8000, + CLSCTX_ENABLE_AAA = 0x10000, + CLSCTX_FROM_DEFAULT_CONTEXT = 0x20000 +} CLSCTX; +#define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER) +#define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER) +#define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER) +typedef enum tagMSHLFLAGS { + MSHLFLAGS_NORMAL = 0, + MSHLFLAGS_TABLESTRONG = 1, + MSHLFLAGS_TABLEWEAK = 2, + MSHLFLAGS_NOPING = 4 +} MSHLFLAGS; +typedef enum tagMSHCTX { + MSHCTX_LOCAL = 0, + MSHCTX_NOSHAREDMEM = 1, + MSHCTX_DIFFERENTMACHINE = 2, + MSHCTX_INPROC = 3, + MSHCTX_CROSSCTX = 4 +} MSHCTX; +typedef struct _BYTE_BLOB { + ULONG clSize; + byte abData[1]; +} BYTE_BLOB; +typedef BYTE_BLOB *UP_BYTE_BLOB; +typedef struct _FLAGGED_BYTE_BLOB { + ULONG fFlags; + ULONG clSize; + byte abData[1]; +} FLAGGED_BYTE_BLOB; +typedef FLAGGED_BYTE_BLOB *UP_FLAGGED_BYTE_BLOB; +typedef struct _FLAGGED_WORD_BLOB { + ULONG fFlags; + ULONG clSize; + unsigned short asData[1]; +} FLAGGED_WORD_BLOB; +typedef FLAGGED_WORD_BLOB *UP_FLAGGED_WORD_BLOB; +typedef struct _BYTE_SIZEDARR { + ULONG clSize; + byte *pData; +} BYTE_SIZEDARR; +typedef struct _SHORT_SIZEDARR { + ULONG clSize; + unsigned short *pData; +} WORD_SIZEDARR; +typedef struct _LONG_SIZEDARR { + ULONG clSize; + ULONG *pData; +} DWORD_SIZEDARR; +typedef struct _HYPER_SIZEDARR { + ULONG clSize; + hyper *pData; +} HYPER_SIZEDARR; +#define WDT_INPROC_CALL (0x48746457) + +#define WDT_REMOTE_CALL (0x52746457) + +#define WDT_INPROC64_CALL (0x50746457) + +typedef struct _userCLIPFORMAT { + LONG fContext; + union { + DWORD dwValue; + LPWSTR pwszName; + } u; +} userCLIPFORMAT; +typedef userCLIPFORMAT *wireCLIPFORMAT; +typedef WORD CLIPFORMAT; +typedef struct tagRemHGLOBAL { + LONG fNullHGlobal; + ULONG cbData; + byte data[1]; +} RemHGLOBAL; +typedef struct _userHGLOBAL { + LONG fContext; + union { + LONG hInproc; + FLAGGED_BYTE_BLOB *hRemote; + INT64 hInproc64; + } u; +} userHGLOBAL; +typedef userHGLOBAL *wireHGLOBAL; +typedef struct tagRemHMETAFILEPICT { + LONG mm; + LONG xExt; + LONG yExt; + ULONG cbData; + byte data[1]; +} RemHMETAFILEPICT; +typedef struct _userHMETAFILE { + LONG fContext; + union { + LONG hInproc; + BYTE_BLOB *hRemote; + INT64 hInproc64; + } u; +} userHMETAFILE; +typedef userHMETAFILE *wireHMETAFILE; +typedef struct _remoteMETAFILEPICT { + LONG mm; + LONG xExt; + LONG yExt; + userHMETAFILE *hMF; +} remoteMETAFILEPICT; +typedef struct _userHMETAFILEPICT { + LONG fContext; + union { + LONG hInproc; + remoteMETAFILEPICT *hRemote; + INT64 hInproc64; + } u; +} userHMETAFILEPICT; +typedef userHMETAFILEPICT *wireHMETAFILEPICT; +typedef struct tagRemHENHMETAFILE { + ULONG cbData; + byte data[1]; +} RemHENHMETAFILE; +typedef struct _userHENHMETAFILE { + LONG fContext; + union { + LONG hInproc; + BYTE_BLOB *hRemote; + INT64 hInproc64; + } u; +} userHENHMETAFILE; +typedef userHENHMETAFILE *wireHENHMETAFILE; +typedef struct tagRemHBITMAP { + ULONG cbData; + byte data[1]; +} RemHBITMAP; +typedef struct _userBITMAP { + LONG bmType; + LONG bmWidth; + LONG bmHeight; + LONG bmWidthBytes; + WORD bmPlanes; + WORD bmBitsPixel; + ULONG cbSize; + byte pBuffer[1]; +} userBITMAP; +typedef struct _userHBITMAP { + LONG fContext; + union { + LONG hInproc; + userBITMAP *hRemote; + INT64 hInproc64; + } u; +} userHBITMAP; +typedef userHBITMAP *wireHBITMAP; +typedef struct tagRemHPALETTE { + ULONG cbData; + byte data[1]; +} RemHPALETTE; +typedef struct tagrpcLOGPALETTE { + WORD palVersion; + WORD palNumEntries; + PALETTEENTRY palPalEntry[1]; +} rpcLOGPALETTE; +typedef struct _userHPALETTE { + LONG fContext; + union { + LONG hInproc; + rpcLOGPALETTE *hRemote; + INT64 hInproc64; + } u; +} userHPALETTE; +typedef userHPALETTE *wireHPALETTE; +#if 0 +typedef void *HGLOBAL; +typedef HGLOBAL HLOCAL; +typedef void *HBITMAP; +typedef void *HPALETTE; +typedef void *HENHMETAFILE; +typedef void *HMETAFILE; +#endif +typedef void *HMETAFILEPICT; +typedef struct _RemotableHandle { + LONG fContext; + union { + LONG hInproc; + LONG hRemote; + } u; +} RemotableHandle; +typedef RemotableHandle *wireHACCEL; +typedef RemotableHandle *wireHBRUSH; +typedef RemotableHandle *wireHDC; +typedef RemotableHandle *wireHFONT; +typedef RemotableHandle *wireHICON; +typedef RemotableHandle *wireHMENU; +typedef RemotableHandle *wireHWND; +#if 0 +typedef void *HACCEL; +typedef void *HBRUSH; +typedef void *HDC; +typedef void *HFONT; +typedef void *HICON; +typedef void *HMENU; +typedef void *HWND; +typedef HICON HCURSOR; +typedef struct tagMSG { + HWND hwnd; + UINT message; + WPARAM wParam; + LPARAM lParam; + DWORD time; + POINT pt; +} MSG; +typedef struct tagMSG *PMSG; +typedef struct tagMSG *NPMSG; +typedef struct tagMSG *LPMSG; +#endif +#if 0 +typedef GUID *REFGUID; +typedef IID *REFIID; +typedef CLSID *REFCLSID; +typedef FMTID *REFFMTID; +#endif +typedef enum tagDVASPECT { + DVASPECT_CONTENT = 1, + DVASPECT_THUMBNAIL = 2, + DVASPECT_ICON = 4, + DVASPECT_DOCPRINT = 8 +} DVASPECT; +typedef enum tagSTGC { + STGC_DEFAULT = 0, + STGC_OVERWRITE = 1, + STGC_ONLYIFCURRENT = 2, + STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4, + STGC_CONSOLIDATE = 8 +} STGC; +typedef enum tagSTGMOVE { + STGMOVE_MOVE = 0, + STGMOVE_COPY = 1, + STGMOVE_SHALLOWCOPY = 2 +} STGMOVE; +typedef enum tagSTATFLAG { + STATFLAG_DEFAULT = 0, + STATFLAG_NONAME = 1, + STATFLAG_NOOPEN = 2 +} STATFLAG; +#ifdef _MSC_VER +typedef double DATE; +#else +typedef double DECLSPEC_ALIGN(8) DATE; +#endif +#if 0 +typedef struct tagCY { + LONGLONG int64; +} CY; +#else +#ifndef _tagCY_DEFINED +#define _tagCY_DEFINED +typedef union tagCY { + struct { +#ifdef WORDS_BIGENDIAN + LONG Hi; + ULONG Lo; +#else + ULONG Lo; + LONG Hi; +#endif + } DUMMYSTRUCTNAME; + LONGLONG int64; +} CY; +#endif +#endif +typedef CY *LPCY; +#if 0 +typedef struct tagDEC { + USHORT wReserved; + BYTE scale; + BYTE sign; + ULONG Hi32; + ULONGLONG Lo64; +} DECIMAL; +#else +typedef struct tagDEC { + USHORT wReserved; + union { + struct { + BYTE scale; + BYTE sign; + } DUMMYSTRUCTNAME; + USHORT signscale; + } DUMMYUNIONNAME; + ULONG Hi32; + union { + struct { +#ifdef WORDS_BIGENDIAN + ULONG Mid32; + ULONG Lo32; +#else + ULONG Lo32; + ULONG Mid32; +#endif + } DUMMYSTRUCTNAME1; + ULONGLONG Lo64; + } DUMMYUNIONNAME1; +} DECIMAL; +#endif +#define DECIMAL_NEG ((BYTE)0x80) +#define DECIMAL_SETZERO(d) do{ memset(((char*)&(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0) +typedef DECIMAL *LPDECIMAL; +typedef FLAGGED_WORD_BLOB *wireBSTR; +typedef OLECHAR *BSTR; +typedef BSTR *LPBSTR; +typedef short VARIANT_BOOL; +typedef VARIANT_BOOL _VARIANT_BOOL; +#define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF) +#define VARIANT_FALSE ((VARIANT_BOOL)0x0000) +typedef struct tagBSTRBLOB { + ULONG cbSize; + BYTE *pData; +} BSTRBLOB; +typedef struct tagBSTRBLOB *LPBSTRBLOB; +#ifndef _tagBLOB_DEFINED +#define _tagBLOB_DEFINED +#define _BLOB_DEFINED +#define _LPBLOB_DEFINED +typedef struct tagBLOB { + ULONG cbSize; + BYTE *pBlobData; +} BLOB; +typedef struct tagBLOB *LPBLOB; +#endif +typedef struct tagCLIPDATA { + ULONG cbSize; + LONG ulClipFmt; + BYTE *pClipData; +} CLIPDATA; +#define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt)) +typedef ULONG PROPID; +typedef unsigned short VARTYPE; +enum VARENUM { + VT_EMPTY = 0, + VT_NULL = 1, + VT_I2 = 2, + VT_I4 = 3, + VT_R4 = 4, + VT_R8 = 5, + VT_CY = 6, + VT_DATE = 7, + VT_BSTR = 8, + VT_DISPATCH = 9, + VT_ERROR = 10, + VT_BOOL = 11, + VT_VARIANT = 12, + VT_UNKNOWN = 13, + VT_DECIMAL = 14, + VT_I1 = 16, + VT_UI1 = 17, + VT_UI2 = 18, + VT_UI4 = 19, + VT_I8 = 20, + VT_UI8 = 21, + VT_INT = 22, + VT_UINT = 23, + VT_VOID = 24, + VT_HRESULT = 25, + VT_PTR = 26, + VT_SAFEARRAY = 27, + VT_CARRAY = 28, + VT_USERDEFINED = 29, + VT_LPSTR = 30, + VT_LPWSTR = 31, + VT_RECORD = 36, + VT_INT_PTR = 37, + VT_UINT_PTR = 38, + VT_FILETIME = 64, + VT_BLOB = 65, + VT_STREAM = 66, + VT_STORAGE = 67, + VT_STREAMED_OBJECT = 68, + VT_STORED_OBJECT = 69, + VT_BLOB_OBJECT = 70, + VT_CF = 71, + VT_CLSID = 72, + VT_VERSIONED_STREAM = 73, + VT_BSTR_BLOB = 0xfff, + VT_VECTOR = 0x1000, + VT_ARRAY = 0x2000, + VT_BYREF = 0x4000, + VT_RESERVED = 0x8000, + VT_ILLEGAL = 0xffff, + VT_ILLEGALMASKED = 0xfff, + VT_TYPEMASK = 0xfff +}; +typedef struct tagCSPLATFORM { + DWORD dwPlatformId; + DWORD dwVersionHi; + DWORD dwVersionLo; + DWORD dwProcessorArch; +} CSPLATFORM; +typedef struct tagQUERYCONTEXT { + DWORD dwContext; + CSPLATFORM Platform; + LCID Locale; + DWORD dwVersionHi; + DWORD dwVersionLo; +} QUERYCONTEXT; +typedef enum tagTYSPEC { + TYSPEC_CLSID = 0, + TYSPEC_FILEEXT = 1, + TYSPEC_MIMETYPE = 2, + TYSPEC_PROGID = 3, + TYSPEC_FILENAME = 4, + TYSPEC_PACKAGENAME = 5, + TYSPEC_OBJECTID = 6 +} TYSPEC; +typedef struct __WIDL_wtypes_generated_name_00000001 { + DWORD tyspec; + union { + CLSID clsid; + LPOLESTR pFileExt; + LPOLESTR pMimeType; + LPOLESTR pProgId; + LPOLESTR pFileName; + struct { + LPOLESTR pPackageName; + GUID PolicyId; + } ByName; + struct { + GUID ObjectId; + GUID PolicyId; + } ByObjectId; + } tagged_union; +} uCLSSPEC; +#ifndef PROPERTYKEY_DEFINED +#define PROPERTYKEY_DEFINED +typedef struct _tagpropertykey { + GUID fmtid; + DWORD pid; +} PROPERTYKEY; +#endif /*PROPERTYKEY_DEFINED*/ + +#endif /* __IWinTypes_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wtypes_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtypes.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtypes.idl new file mode 100644 index 0000000..032d64b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wtypes.idl @@ -0,0 +1,839 @@ +/* + * Basic types used by COM interfaces + * + * Copyright 2002 Ove Kaaven + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "basetsd.h"; +import "guiddef.h"; + +[ + uuid(D3980A60-910C-1068-9341-00DD010F2F1C), + version(0.1), + pointer_default(unique) +] + +interface IWinTypes +{ + +/******************** BASIC WIN32 TYPES ********************/ +cpp_quote("#if 0 /* winnt.h */") /* don't redefine these */ + +typedef unsigned char BYTE; +typedef unsigned short WORD; +typedef unsigned long DWORD; +typedef long BOOL; +typedef unsigned char UCHAR; +typedef int INT; +typedef unsigned int UINT; +typedef short SHORT; +typedef unsigned short USHORT; +typedef long LONG; +typedef unsigned long ULONG; +typedef float FLOAT; + +typedef void *PVOID, *LPVOID; + +typedef DWORD *LPDWORD; + +typedef char CHAR; +typedef [string] CHAR *LPSTR; +typedef [string] const CHAR *LPCSTR; + +typedef wchar_t WCHAR; +typedef [string] WCHAR *LPWSTR; +typedef [string] const WCHAR *LPCWSTR; + +typedef boolean BOOLEAN; + +typedef DWORD COLORREF; + +typedef void *HANDLE; +#define DECLARE_HANDLE(name) typedef void *name +#define DECLARE_WIREM_HANDLE(name) typedef [wire_marshal(wire##name)] void*name + +DECLARE_HANDLE(HMODULE); +DECLARE_HANDLE(HINSTANCE); +DECLARE_HANDLE(HRGN); +DECLARE_HANDLE(HTASK); +DECLARE_HANDLE(HKEY); +DECLARE_HANDLE(HDESK); +DECLARE_HANDLE(HMF); +DECLARE_HANDLE(HEMF); +DECLARE_HANDLE(HPEN); +DECLARE_HANDLE(HRSRC); +DECLARE_HANDLE(HSTR); +DECLARE_HANDLE(HWINSTA); +DECLARE_HANDLE(HKL); +DECLARE_HANDLE(HGDIOBJ); + +typedef HANDLE HDWP; + +typedef LONG_PTR LRESULT; + +typedef LONG HRESULT; +typedef DWORD LCID; +typedef USHORT LANGID; + +typedef unsigned __int64 DWORDLONG; +typedef __int64 LONGLONG; +typedef unsigned __int64 ULONGLONG; + +typedef struct _LARGE_INTEGER { + LONGLONG QuadPart; +} LARGE_INTEGER; + +typedef struct _ULARGE_INTEGER { + ULONGLONG QuadPart; +} ULARGE_INTEGER; + +typedef struct _SID_IDENTIFIER_AUTHORITY { + UCHAR Value[6]; +} SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY; + +typedef struct _SID { + UCHAR Revision; + UCHAR SubAuthorityCount; + SID_IDENTIFIER_AUTHORITY IdentifierAuthority; + [size_is(SubAuthorityCount)] ULONG SubAuthority[*]; +} SID, *PSID; + +typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL; + +typedef struct _ACL { + UCHAR AclRevision; + UCHAR Sbz1; + USHORT AclSize; + USHORT AceCount; + USHORT Sbz2; +} ACL; +typedef ACL *PACL; + +typedef struct _SECURITY_DESCRIPTOR { + UCHAR Revision; + UCHAR Sbz1; + SECURITY_DESCRIPTOR_CONTROL Control; + PSID Owner; + PSID Group; + PACL Sacl; + PACL Dacl; +} SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR; + +typedef struct _SECURITY_ATTRIBUTES +{ + DWORD nLength; + [size_is(nLength)] LPVOID lpSecurityDescriptor; + BOOL bInheritHandle; +} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; + +typedef struct tagSIZE +{ + LONG cx; + LONG cy; +} SIZE, *PSIZE, *LPSIZE; +typedef SIZE SIZEL, *PSIZEL, *LPSIZEL; + +typedef struct tagPOINT +{ + LONG x; + LONG y; +} POINT, *PPOINT, *LPPOINT; + +typedef struct _POINTL +{ + LONG x; + LONG y; +} POINTL, *PPOINTL; + +typedef struct tagRECT +{ + LONG left; + LONG top; + LONG right; + LONG bottom; +} RECT, *PRECT, *LPRECT; +typedef const RECT *LPCRECT; + +typedef struct _RECTL +{ + LONG left; + LONG top; + LONG right; + LONG bottom; +} RECTL, *PRECTL, *LPRECTL; +typedef const RECTL *LPCRECTL; + +typedef UINT_PTR WPARAM; +typedef LONG_PTR LPARAM; + +cpp_quote("#endif /* winnt.h */") + +cpp_quote("#ifdef _MSC_VER") /* for IDL and MSVC only */ +typedef double DOUBLE; +cpp_quote("#else") +cpp_quote("typedef double DECLSPEC_ALIGN(8) DOUBLE;") +cpp_quote("#endif") + +cpp_quote("#ifndef _PALETTEENTRY_DEFINED") +cpp_quote("#define _PALETTEENTRY_DEFINED") +typedef struct tagPALETTEENTRY { + BYTE peRed; + BYTE peGreen; + BYTE peBlue; + BYTE peFlags; +} PALETTEENTRY, *PPALETTEENTRY, *LPPALETTEENTRY; +cpp_quote("#endif") + +cpp_quote("#ifndef _LOGPALETTE_DEFINED") +cpp_quote("#define _LOGPALETTE_DEFINED") +typedef struct tagLOGPALETTE +{ + WORD palVersion; + WORD palNumEntries; + [size_is(palNumEntries)] PALETTEENTRY palPalEntry[*]; +} LOGPALETTE, *PLOGPALETTE, *LPLOGPALETTE; +cpp_quote("#endif") + +cpp_quote("#ifndef _SYSTEMTIME_") +cpp_quote("#define _SYSTEMTIME_") +typedef struct _SYSTEMTIME{ + WORD wYear; + WORD wMonth; + WORD wDayOfWeek; + WORD wDay; + WORD wHour; + WORD wMinute; + WORD wSecond; + WORD wMilliseconds; +} SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME; +cpp_quote("#endif") + +cpp_quote("#ifndef _FILETIME_") +cpp_quote("#define _FILETIME_") +typedef struct _FILETIME { + DWORD dwLowDateTime; + DWORD dwHighDateTime; +} FILETIME, *PFILETIME, *LPFILETIME; +cpp_quote("#endif") + +cpp_quote("#ifndef _TEXTMETRIC_DEFINED") +cpp_quote("#define _TEXTMETRIC_DEFINED") +typedef struct tagTEXTMETRICA +{ + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + BYTE tmFirstChar; + BYTE tmLastChar; + BYTE tmDefaultChar; + BYTE tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; +} TEXTMETRICA, *LPTEXTMETRICA, *PTEXTMETRICA; + +typedef struct tagTEXTMETRICW +{ + LONG tmHeight; + LONG tmAscent; + LONG tmDescent; + LONG tmInternalLeading; + LONG tmExternalLeading; + LONG tmAveCharWidth; + LONG tmMaxCharWidth; + LONG tmWeight; + LONG tmOverhang; + LONG tmDigitizedAspectX; + LONG tmDigitizedAspectY; + WCHAR tmFirstChar; + WCHAR tmLastChar; + WCHAR tmDefaultChar; + WCHAR tmBreakChar; + BYTE tmItalic; + BYTE tmUnderlined; + BYTE tmStruckOut; + BYTE tmPitchAndFamily; + BYTE tmCharSet; +} TEXTMETRICW, *LPTEXTMETRICW, *PTEXTMETRICW; +cpp_quote("#endif") + +/******************** BASIC COM/OLE TYPES ********************/ + +typedef WCHAR OLECHAR; +typedef [string] OLECHAR *LPOLESTR; +typedef [string] const OLECHAR *LPCOLESTR; +cpp_quote("#ifndef __WINESRC__") +cpp_quote("#define OLESTR(str) L##str") +cpp_quote("#endif") + +typedef LONG SCODE; + +typedef struct _COAUTHIDENTITY { + [size_is(UserLength+1)] USHORT *User; + ULONG UserLength; + [size_is(DomainLength+1)] USHORT *Domain; + ULONG DomainLength; + [size_is(PasswordLength+1)] USHORT *Password; + ULONG PasswordLength; + ULONG Flags; +} COAUTHIDENTITY; + +typedef struct _COAUTHINFO { + DWORD dwAuthnSvc; + DWORD dwAuthzSvc; + LPWSTR pwszServerPrincName; + DWORD dwAuthnLevel; + DWORD dwImpersonationLevel; + COAUTHIDENTITY *pAuthIdentityData; + DWORD dwCapabilities; +} COAUTHINFO; + +typedef enum tagMEMCTX { + MEMCTX_TASK = 1, + MEMCTX_SHARED = 2, + MEMCTX_MACSYSTEM = 3, + MEMCTX_UNKNOWN = -1, + MEMCTX_SAME = -2 +} MEMCTX; + +cpp_quote("#ifndef _ROT_COMPARE_MAX_DEFINED") +cpp_quote("#define _ROT_COMPARE_MAX_DEFINED") +cpp_quote("#define ROT_COMPARE_MAX 2048") +cpp_quote("#endif") + +cpp_quote("#ifndef _ROTFLAGS_DEFINED") +cpp_quote("#define _ROTFLAGS_DEFINED") +cpp_quote("#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1") +cpp_quote("#define ROTFLAGS_ALLOWANYCLIENT 0x2") +cpp_quote("#endif") + +typedef enum tagCLSCTX { + CLSCTX_INPROC_SERVER = 0x1, + CLSCTX_INPROC_HANDLER = 0x2, + CLSCTX_LOCAL_SERVER = 0x4, + CLSCTX_INPROC_SERVER16 = 0x8, + CLSCTX_REMOTE_SERVER = 0x10, + CLSCTX_INPROC_HANDLER16 = 0x20, + CLSCTX_INPROC_SERVERX86 = 0x40, + CLSCTX_INPROC_HANDLERX86 = 0x80, + CLSCTX_ESERVER_HANDLER = 0x100, + CLSCTX_NO_CODE_DOWNLOAD = 0x400, + CLSCTX_NO_CUSTOM_MARSHAL = 0x1000, + CLSCTX_ENABLE_CODE_DOWNLOAD = 0x2000, + CLSCTX_NO_FAILURE_LOG = 0x4000, + CLSCTX_DISABLE_AAA = 0x8000, + CLSCTX_ENABLE_AAA = 0x10000, + CLSCTX_FROM_DEFAULT_CONTEXT = 0x20000 +} CLSCTX; + +cpp_quote("#define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)") +cpp_quote("#define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)") +cpp_quote("#define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)") + +typedef enum tagMSHLFLAGS { + MSHLFLAGS_NORMAL = 0, + MSHLFLAGS_TABLESTRONG = 1, + MSHLFLAGS_TABLEWEAK = 2, + MSHLFLAGS_NOPING = 4 +} MSHLFLAGS; + +typedef enum tagMSHCTX { + MSHCTX_LOCAL = 0, + MSHCTX_NOSHAREDMEM = 1, + MSHCTX_DIFFERENTMACHINE = 2, + MSHCTX_INPROC = 3, + MSHCTX_CROSSCTX = 4 +} MSHCTX; + +/******************** BLOB TYPES ********************/ + +typedef struct _BYTE_BLOB { + unsigned long clSize; + [size_is(clSize)] byte abData[]; +} BYTE_BLOB; +typedef [unique] BYTE_BLOB *UP_BYTE_BLOB; + +typedef struct _FLAGGED_BYTE_BLOB { + unsigned long fFlags; + unsigned long clSize; + [size_is(clSize)] byte abData[]; +} FLAGGED_BYTE_BLOB; +typedef [unique] FLAGGED_BYTE_BLOB *UP_FLAGGED_BYTE_BLOB; + +typedef struct _FLAGGED_WORD_BLOB { + unsigned long fFlags; + unsigned long clSize; + [size_is(clSize)] unsigned short asData[]; +} FLAGGED_WORD_BLOB; +typedef [unique] FLAGGED_WORD_BLOB *UP_FLAGGED_WORD_BLOB; + +typedef struct _BYTE_SIZEDARR { + unsigned long clSize; + [size_is(clSize)] byte *pData; +} BYTE_SIZEDARR; + +typedef struct _SHORT_SIZEDARR { + unsigned long clSize; + [size_is(clSize)] unsigned short *pData; +} WORD_SIZEDARR; + +typedef struct _LONG_SIZEDARR { + unsigned long clSize; + [size_is(clSize)] unsigned long *pData; +} DWORD_SIZEDARR; + +typedef struct _HYPER_SIZEDARR { + unsigned long clSize; + [size_is(clSize)] hyper *pData; +} HYPER_SIZEDARR; + +/******************** GDI TYPES ********************/ + +const unsigned long WDT_INPROC_CALL = 0x48746457; +const unsigned long WDT_REMOTE_CALL = 0x52746457; +const unsigned long WDT_INPROC64_CALL = 0x50746457; + +typedef union _userCLIPFORMAT switch(long fContext) u { + case WDT_INPROC_CALL: DWORD dwValue; + case WDT_REMOTE_CALL: LPWSTR pwszName; +} userCLIPFORMAT; + +typedef [unique] userCLIPFORMAT *wireCLIPFORMAT; +typedef [wire_marshal(wireCLIPFORMAT)] WORD CLIPFORMAT; + +typedef struct tagRemHGLOBAL { + long fNullHGlobal; + unsigned long cbData; + [size_is(cbData)] byte data[]; +} RemHGLOBAL; + +typedef union _userHGLOBAL switch(long fContext) u { + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: FLAGGED_BYTE_BLOB *hRemote; + case WDT_INPROC64_CALL: __int64 hInproc64; +} userHGLOBAL; + +typedef [unique] userHGLOBAL *wireHGLOBAL; + +typedef struct tagRemHMETAFILEPICT { + long mm; + long xExt; + long yExt; + unsigned long cbData; + [size_is(cbData)] byte data[]; +} RemHMETAFILEPICT; + +typedef union _userHMETAFILE switch(long fContext) u { + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: BYTE_BLOB *hRemote; + case WDT_INPROC64_CALL: __int64 hInproc64; +} userHMETAFILE; + +typedef [unique] userHMETAFILE *wireHMETAFILE; + +typedef struct _remoteMETAFILEPICT { + long mm; + long xExt; + long yExt; + userHMETAFILE *hMF; +} remoteMETAFILEPICT; + +typedef union _userHMETAFILEPICT switch(long fContext) u { + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: remoteMETAFILEPICT *hRemote; + case WDT_INPROC64_CALL: __int64 hInproc64; +} userHMETAFILEPICT; + +typedef [unique] userHMETAFILEPICT *wireHMETAFILEPICT; + +typedef struct tagRemHENHMETAFILE { + unsigned long cbData; + [size_is(cbData)] byte data[]; +} RemHENHMETAFILE; + +typedef union _userHENHMETAFILE switch(long fContext) u { + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: BYTE_BLOB *hRemote; + case WDT_INPROC64_CALL: __int64 hInproc64; +} userHENHMETAFILE; + +typedef [unique] userHENHMETAFILE *wireHENHMETAFILE; + +typedef struct tagRemHBITMAP +{ + unsigned long cbData; + [size_is(cbData)] byte data[]; +} RemHBITMAP; + +typedef struct _userBITMAP { + LONG bmType; + LONG bmWidth; + LONG bmHeight; + LONG bmWidthBytes; + WORD bmPlanes; + WORD bmBitsPixel; + ULONG cbSize; + [size_is(cbSize)] byte pBuffer[]; +} userBITMAP; + +typedef union _userHBITMAP switch(long fContext) u { + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: userBITMAP *hRemote; + case WDT_INPROC64_CALL: __int64 hInproc64; +} userHBITMAP; + +typedef [unique] userHBITMAP *wireHBITMAP; + +typedef struct tagRemHPALETTE { + unsigned long cbData; + [size_is(cbData)] byte data[]; +} RemHPALETTE; + +typedef struct tagrpcLOGPALETTE { + WORD palVersion; + WORD palNumEntries; + [size_is(palNumEntries)] PALETTEENTRY palPalEntry[]; +} rpcLOGPALETTE; + +typedef union _userHPALETTE switch(long fContext) u { + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: rpcLOGPALETTE *hRemote; + case WDT_INPROC64_CALL: __int64 hInproc64; +} userHPALETTE; + +typedef [unique] userHPALETTE *wireHPALETTE; + +cpp_quote("#if 0") +DECLARE_WIREM_HANDLE(HGLOBAL); +typedef HGLOBAL HLOCAL; +DECLARE_WIREM_HANDLE(HBITMAP); +DECLARE_WIREM_HANDLE(HPALETTE); +DECLARE_WIREM_HANDLE(HENHMETAFILE); +DECLARE_WIREM_HANDLE(HMETAFILE); +cpp_quote("#endif") +DECLARE_WIREM_HANDLE(HMETAFILEPICT); + +typedef union _RemotableHandle switch (long fContext) u +{ + case WDT_INPROC_CALL: long hInproc; + case WDT_REMOTE_CALL: long hRemote; +} RemotableHandle; + +typedef [unique] RemotableHandle *wireHACCEL; +typedef [unique] RemotableHandle *wireHBRUSH; +typedef [unique] RemotableHandle *wireHDC; +typedef [unique] RemotableHandle *wireHFONT; +typedef [unique] RemotableHandle *wireHICON; +typedef [unique] RemotableHandle *wireHMENU; +typedef [unique] RemotableHandle *wireHWND; + +cpp_quote("#if 0") /* for IDL only (C/C++ defs are in windef.h) */ +DECLARE_WIREM_HANDLE(HACCEL); +DECLARE_WIREM_HANDLE(HBRUSH); +DECLARE_WIREM_HANDLE(HDC); +DECLARE_WIREM_HANDLE(HFONT); +DECLARE_WIREM_HANDLE(HICON); +DECLARE_WIREM_HANDLE(HMENU); +DECLARE_WIREM_HANDLE(HWND); + +typedef HICON HCURSOR; + +typedef struct tagMSG +{ + HWND hwnd; + UINT message; + WPARAM wParam; + LPARAM lParam; + DWORD time; + POINT pt; +} MSG, *PMSG, *NPMSG, *LPMSG; + +cpp_quote("#endif") + +/******************** GUID TYPES ********************/ + +cpp_quote("#if 0") /* for IDL only (C/C++ defs are in guiddef.h) */ +typedef GUID *REFGUID; +typedef IID *REFIID; +typedef CLSID *REFCLSID; +typedef FMTID *REFFMTID; +cpp_quote("#endif") + +/******************** MISC TYPES ********************/ + +typedef enum tagDVASPECT { + DVASPECT_CONTENT = 1, + DVASPECT_THUMBNAIL = 2, + DVASPECT_ICON = 4, + DVASPECT_DOCPRINT = 8 +} DVASPECT; + +typedef enum tagSTGC { + STGC_DEFAULT = 0, + STGC_OVERWRITE = 1, + STGC_ONLYIFCURRENT = 2, + STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4, + STGC_CONSOLIDATE = 8 +} STGC; + +typedef enum tagSTGMOVE { + STGMOVE_MOVE = 0, + STGMOVE_COPY = 1, + STGMOVE_SHALLOWCOPY = 2 +} STGMOVE; + +typedef enum tagSTATFLAG { + STATFLAG_DEFAULT = 0, + STATFLAG_NONAME = 1, + STATFLAG_NOOPEN = 2 +} STATFLAG; + +/******************** OLE Automation ********************/ + +cpp_quote("#ifdef _MSC_VER") /* for IDL and MSVC only */ +typedef double DATE; +cpp_quote("#else") +cpp_quote("typedef double DECLSPEC_ALIGN(8) DATE;") +cpp_quote("#endif") + +cpp_quote("#if 0") /* for IDL only */ +typedef struct tagCY { + LONGLONG int64; +} CY; +cpp_quote("#else") /* C/C++ defs */ +cpp_quote("#ifndef _tagCY_DEFINED") +cpp_quote("#define _tagCY_DEFINED") +cpp_quote("typedef union tagCY {") +cpp_quote(" struct {") +cpp_quote("#ifdef WORDS_BIGENDIAN") +cpp_quote(" LONG Hi;") +cpp_quote(" ULONG Lo;") +cpp_quote("#else") +cpp_quote(" ULONG Lo;") +cpp_quote(" LONG Hi;") +cpp_quote("#endif") +cpp_quote(" } DUMMYSTRUCTNAME;") +cpp_quote(" LONGLONG int64;") +cpp_quote("} CY;") +cpp_quote("#endif") +cpp_quote("#endif") + +typedef CY *LPCY; + +cpp_quote("#if 0") /* for IDL only */ +typedef struct tagDEC { + USHORT wReserved; + BYTE scale; + BYTE sign; + ULONG Hi32; + ULONGLONG Lo64; +} DECIMAL; +cpp_quote("#else") /* C/C++ defs */ +cpp_quote("typedef struct tagDEC {") +cpp_quote(" USHORT wReserved;") +cpp_quote(" union {") +cpp_quote(" struct {") +cpp_quote(" BYTE scale;") +cpp_quote(" BYTE sign;") +cpp_quote(" } DUMMYSTRUCTNAME;") +cpp_quote(" USHORT signscale;") +cpp_quote(" } DUMMYUNIONNAME;") +cpp_quote(" ULONG Hi32;") +cpp_quote(" union {") +cpp_quote(" struct {") +cpp_quote("#ifdef WORDS_BIGENDIAN") +cpp_quote(" ULONG Mid32;") +cpp_quote(" ULONG Lo32;") +cpp_quote("#else") +cpp_quote(" ULONG Lo32;") +cpp_quote(" ULONG Mid32;") +cpp_quote("#endif") +cpp_quote(" } DUMMYSTRUCTNAME1;") +cpp_quote(" ULONGLONG Lo64;") +cpp_quote(" } DUMMYUNIONNAME1;") +cpp_quote("} DECIMAL;") +cpp_quote("#endif") +cpp_quote("#define DECIMAL_NEG ((BYTE)0x80)") +cpp_quote("#define DECIMAL_SETZERO(d) do{ memset(((char*)&(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)") + +typedef DECIMAL *LPDECIMAL; + +typedef [unique] FLAGGED_WORD_BLOB *wireBSTR; +typedef [wire_marshal(wireBSTR)] OLECHAR *BSTR; +typedef BSTR *LPBSTR; + +typedef short VARIANT_BOOL; +typedef VARIANT_BOOL _VARIANT_BOOL; +cpp_quote("#define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)") +cpp_quote("#define VARIANT_FALSE ((VARIANT_BOOL)0x0000)") + +typedef struct tagBSTRBLOB { + ULONG cbSize; + [size_is(cbSize)] BYTE *pData; +} BSTRBLOB, *LPBSTRBLOB; + +cpp_quote("#ifndef _tagBLOB_DEFINED") +cpp_quote("#define _tagBLOB_DEFINED") +cpp_quote("#define _BLOB_DEFINED") +cpp_quote("#define _LPBLOB_DEFINED") +typedef struct tagBLOB { + ULONG cbSize; + [size_is(cbSize)] BYTE *pBlobData; +} BLOB, *LPBLOB; +cpp_quote("#endif") + +typedef struct tagCLIPDATA { + ULONG cbSize; + long ulClipFmt; + [size_is(cbSize-sizeof(long))] BYTE *pClipData; +} CLIPDATA; +cpp_quote("#define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))") + +typedef ULONG PROPID; + +/******************** VARTYPE ********************/ + +typedef unsigned short VARTYPE; +enum VARENUM { + VT_EMPTY = 0, + VT_NULL = 1, + VT_I2 = 2, + VT_I4 = 3, + VT_R4 = 4, + VT_R8 = 5, + VT_CY = 6, + VT_DATE = 7, + VT_BSTR = 8, + VT_DISPATCH = 9, + VT_ERROR = 10, + VT_BOOL = 11, + VT_VARIANT = 12, + VT_UNKNOWN = 13, + VT_DECIMAL = 14, + VT_I1 = 16, + VT_UI1 = 17, + VT_UI2 = 18, + VT_UI4 = 19, + VT_I8 = 20, + VT_UI8 = 21, + VT_INT = 22, + VT_UINT = 23, + VT_VOID = 24, + VT_HRESULT = 25, + VT_PTR = 26, + VT_SAFEARRAY = 27, + VT_CARRAY = 28, + VT_USERDEFINED = 29, + VT_LPSTR = 30, + VT_LPWSTR = 31, + VT_RECORD = 36, + VT_INT_PTR = 37, + VT_UINT_PTR = 38, + VT_FILETIME = 64, + VT_BLOB = 65, + VT_STREAM = 66, + VT_STORAGE = 67, + VT_STREAMED_OBJECT = 68, + VT_STORED_OBJECT = 69, + VT_BLOB_OBJECT = 70, + VT_CF = 71, + VT_CLSID = 72, + VT_VERSIONED_STREAM= 73, + VT_BSTR_BLOB = 0x0fff, + VT_VECTOR = 0x1000, + VT_ARRAY = 0x2000, + VT_BYREF = 0x4000, + VT_RESERVED = 0x8000, + VT_ILLEGAL = 0xffff, + VT_ILLEGALMASKED = 0x0fff, + VT_TYPEMASK = 0x0fff +}; + +typedef struct tagCSPLATFORM +{ + DWORD dwPlatformId; + DWORD dwVersionHi; + DWORD dwVersionLo; + DWORD dwProcessorArch; +} CSPLATFORM; + +typedef struct tagQUERYCONTEXT +{ + DWORD dwContext; + CSPLATFORM Platform; + LCID Locale; + DWORD dwVersionHi; + DWORD dwVersionLo; +} QUERYCONTEXT; + +typedef [v1_enum] enum tagTYSPEC +{ + TYSPEC_CLSID, + TYSPEC_FILEEXT, + TYSPEC_MIMETYPE, + TYSPEC_PROGID, + TYSPEC_FILENAME, + TYSPEC_PACKAGENAME, + TYSPEC_OBJECTID +} TYSPEC; + +typedef union switch(DWORD tyspec) +{ + case TYSPEC_CLSID: + CLSID clsid; + case TYSPEC_FILEEXT: + LPOLESTR pFileExt; + case TYSPEC_MIMETYPE: + LPOLESTR pMimeType; + case TYSPEC_PROGID: + LPOLESTR pProgId; + case TYSPEC_FILENAME: + LPOLESTR pFileName; + case TYSPEC_PACKAGENAME: + struct + { + LPOLESTR pPackageName; + GUID PolicyId; + } ByName; + case TYSPEC_OBJECTID: + struct + { + GUID ObjectId; + GUID PolicyId; + } ByObjectId; +} uCLSSPEC; + +cpp_quote("#ifndef PROPERTYKEY_DEFINED") +cpp_quote("#define PROPERTYKEY_DEFINED") +typedef struct _tagpropertykey +{ + GUID fmtid; + DWORD pid; +} PROPERTYKEY; +cpp_quote("#endif /*PROPERTYKEY_DEFINED*/") + +} /* interface IWinTypes */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wuapi.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wuapi.h new file mode 100644 index 0000000..b136bff --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wuapi.h @@ -0,0 +1,6954 @@ +/*** Autogenerated by WIDL 2.18 from wuapi.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __wuapi_h__ +#define __wuapi_h__ + +/* Forward declarations */ + +#ifndef __IAutomaticUpdatesSettings_FWD_DEFINED__ +#define __IAutomaticUpdatesSettings_FWD_DEFINED__ +typedef interface IAutomaticUpdatesSettings IAutomaticUpdatesSettings; +#ifdef __cplusplus +interface IAutomaticUpdatesSettings; +#endif /* __cplusplus */ +#endif + +#ifndef __IAutomaticUpdates_FWD_DEFINED__ +#define __IAutomaticUpdates_FWD_DEFINED__ +typedef interface IAutomaticUpdates IAutomaticUpdates; +#ifdef __cplusplus +interface IAutomaticUpdates; +#endif /* __cplusplus */ +#endif + +#ifndef __IWebProxy_FWD_DEFINED__ +#define __IWebProxy_FWD_DEFINED__ +typedef interface IWebProxy IWebProxy; +#ifdef __cplusplus +interface IWebProxy; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateSession_FWD_DEFINED__ +#define __IUpdateSession_FWD_DEFINED__ +typedef interface IUpdateSession IUpdateSession; +#ifdef __cplusplus +interface IUpdateSession; +#endif /* __cplusplus */ +#endif + +#ifndef __IImageInformation_FWD_DEFINED__ +#define __IImageInformation_FWD_DEFINED__ +typedef interface IImageInformation IImageInformation; +#ifdef __cplusplus +interface IImageInformation; +#endif /* __cplusplus */ +#endif + +#ifndef __ICategory_FWD_DEFINED__ +#define __ICategory_FWD_DEFINED__ +typedef interface ICategory ICategory; +#ifdef __cplusplus +interface ICategory; +#endif /* __cplusplus */ +#endif + +#ifndef __ICategoryCollection_FWD_DEFINED__ +#define __ICategoryCollection_FWD_DEFINED__ +typedef interface ICategoryCollection ICategoryCollection; +#ifdef __cplusplus +interface ICategoryCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IStringCollection_FWD_DEFINED__ +#define __IStringCollection_FWD_DEFINED__ +typedef interface IStringCollection IStringCollection; +#ifdef __cplusplus +interface IStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateException_FWD_DEFINED__ +#define __IUpdateException_FWD_DEFINED__ +typedef interface IUpdateException IUpdateException; +#ifdef __cplusplus +interface IUpdateException; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateExceptionCollection_FWD_DEFINED__ +#define __IUpdateExceptionCollection_FWD_DEFINED__ +typedef interface IUpdateExceptionCollection IUpdateExceptionCollection; +#ifdef __cplusplus +interface IUpdateExceptionCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateIdentity_FWD_DEFINED__ +#define __IUpdateIdentity_FWD_DEFINED__ +typedef interface IUpdateIdentity IUpdateIdentity; +#ifdef __cplusplus +interface IUpdateIdentity; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallationBehavior_FWD_DEFINED__ +#define __IInstallationBehavior_FWD_DEFINED__ +typedef interface IInstallationBehavior IInstallationBehavior; +#ifdef __cplusplus +interface IInstallationBehavior; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateDownloadContent_FWD_DEFINED__ +#define __IUpdateDownloadContent_FWD_DEFINED__ +typedef interface IUpdateDownloadContent IUpdateDownloadContent; +#ifdef __cplusplus +interface IUpdateDownloadContent; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateDownloadContentCollection_FWD_DEFINED__ +#define __IUpdateDownloadContentCollection_FWD_DEFINED__ +typedef interface IUpdateDownloadContentCollection IUpdateDownloadContentCollection; +#ifdef __cplusplus +interface IUpdateDownloadContentCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdate_FWD_DEFINED__ +#define __IUpdate_FWD_DEFINED__ +typedef interface IUpdate IUpdate; +#ifdef __cplusplus +interface IUpdate; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateCollection_FWD_DEFINED__ +#define __IUpdateCollection_FWD_DEFINED__ +typedef interface IUpdateCollection IUpdateCollection; +#ifdef __cplusplus +interface IUpdateCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearchJob_FWD_DEFINED__ +#define __ISearchJob_FWD_DEFINED__ +typedef interface ISearchJob ISearchJob; +#ifdef __cplusplus +interface ISearchJob; +#endif /* __cplusplus */ +#endif + +#ifndef __ISearchResult_FWD_DEFINED__ +#define __ISearchResult_FWD_DEFINED__ +typedef interface ISearchResult ISearchResult; +#ifdef __cplusplus +interface ISearchResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateHistoryEntry_FWD_DEFINED__ +#define __IUpdateHistoryEntry_FWD_DEFINED__ +typedef interface IUpdateHistoryEntry IUpdateHistoryEntry; +#ifdef __cplusplus +interface IUpdateHistoryEntry; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateHistoryEntryCollection_FWD_DEFINED__ +#define __IUpdateHistoryEntryCollection_FWD_DEFINED__ +typedef interface IUpdateHistoryEntryCollection IUpdateHistoryEntryCollection; +#ifdef __cplusplus +interface IUpdateHistoryEntryCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateSearcher_FWD_DEFINED__ +#define __IUpdateSearcher_FWD_DEFINED__ +typedef interface IUpdateSearcher IUpdateSearcher; +#ifdef __cplusplus +interface IUpdateSearcher; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateDownloadResult_FWD_DEFINED__ +#define __IUpdateDownloadResult_FWD_DEFINED__ +typedef interface IUpdateDownloadResult IUpdateDownloadResult; +#ifdef __cplusplus +interface IUpdateDownloadResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IDownloadProgress_FWD_DEFINED__ +#define __IDownloadProgress_FWD_DEFINED__ +typedef interface IDownloadProgress IDownloadProgress; +#ifdef __cplusplus +interface IDownloadProgress; +#endif /* __cplusplus */ +#endif + +#ifndef __IDownloadJob_FWD_DEFINED__ +#define __IDownloadJob_FWD_DEFINED__ +typedef interface IDownloadJob IDownloadJob; +#ifdef __cplusplus +interface IDownloadJob; +#endif /* __cplusplus */ +#endif + +#ifndef __IDownloadResult_FWD_DEFINED__ +#define __IDownloadResult_FWD_DEFINED__ +typedef interface IDownloadResult IDownloadResult; +#ifdef __cplusplus +interface IDownloadResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateDownloader_FWD_DEFINED__ +#define __IUpdateDownloader_FWD_DEFINED__ +typedef interface IUpdateDownloader IUpdateDownloader; +#ifdef __cplusplus +interface IUpdateDownloader; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateInstallationResult_FWD_DEFINED__ +#define __IUpdateInstallationResult_FWD_DEFINED__ +typedef interface IUpdateInstallationResult IUpdateInstallationResult; +#ifdef __cplusplus +interface IUpdateInstallationResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallationProgress_FWD_DEFINED__ +#define __IInstallationProgress_FWD_DEFINED__ +typedef interface IInstallationProgress IInstallationProgress; +#ifdef __cplusplus +interface IInstallationProgress; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallationJob_FWD_DEFINED__ +#define __IInstallationJob_FWD_DEFINED__ +typedef interface IInstallationJob IInstallationJob; +#ifdef __cplusplus +interface IInstallationJob; +#endif /* __cplusplus */ +#endif + +#ifndef __IInstallationResult_FWD_DEFINED__ +#define __IInstallationResult_FWD_DEFINED__ +typedef interface IInstallationResult IInstallationResult; +#ifdef __cplusplus +interface IInstallationResult; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateInstaller_FWD_DEFINED__ +#define __IUpdateInstaller_FWD_DEFINED__ +typedef interface IUpdateInstaller IUpdateInstaller; +#ifdef __cplusplus +interface IUpdateInstaller; +#endif /* __cplusplus */ +#endif + +#ifndef __ISystemInformation_FWD_DEFINED__ +#define __ISystemInformation_FWD_DEFINED__ +typedef interface ISystemInformation ISystemInformation; +#ifdef __cplusplus +interface ISystemInformation; +#endif /* __cplusplus */ +#endif + +#ifndef __AutomaticUpdates_FWD_DEFINED__ +#define __AutomaticUpdates_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AutomaticUpdates AutomaticUpdates; +#else +typedef struct AutomaticUpdates AutomaticUpdates; +#endif /* defined __cplusplus */ +#endif /* defined __AutomaticUpdates_FWD_DEFINED__ */ + +#ifndef __UpdateSession_FWD_DEFINED__ +#define __UpdateSession_FWD_DEFINED__ +#ifdef __cplusplus +typedef class UpdateSession UpdateSession; +#else +typedef struct UpdateSession UpdateSession; +#endif /* defined __cplusplus */ +#endif /* defined __UpdateSession_FWD_DEFINED__ */ + +#ifndef __SystemInformation_FWD_DEFINED__ +#define __SystemInformation_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SystemInformation SystemInformation; +#else +typedef struct SystemInformation SystemInformation; +#endif /* defined __cplusplus */ +#endif /* defined __SystemInformation_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +DEFINE_GUID(LIBID_WUApiLib, 0xb596cc9f, 0x56e5, 0x419e, 0xa6,0x22, 0xe0,0x1b,0xb4,0x57,0x43,0x1e); + +#ifndef __ICategoryCollection_FWD_DEFINED__ +#define __ICategoryCollection_FWD_DEFINED__ +typedef interface ICategoryCollection ICategoryCollection; +#ifdef __cplusplus +interface ICategoryCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IStringCollection_FWD_DEFINED__ +#define __IStringCollection_FWD_DEFINED__ +typedef interface IStringCollection IStringCollection; +#ifdef __cplusplus +interface IStringCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateCollection_FWD_DEFINED__ +#define __IUpdateCollection_FWD_DEFINED__ +typedef interface IUpdateCollection IUpdateCollection; +#ifdef __cplusplus +interface IUpdateCollection; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateDownloader_FWD_DEFINED__ +#define __IUpdateDownloader_FWD_DEFINED__ +typedef interface IUpdateDownloader IUpdateDownloader; +#ifdef __cplusplus +interface IUpdateDownloader; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateInstaller_FWD_DEFINED__ +#define __IUpdateInstaller_FWD_DEFINED__ +typedef interface IUpdateInstaller IUpdateInstaller; +#ifdef __cplusplus +interface IUpdateInstaller; +#endif /* __cplusplus */ +#endif + +#ifndef __IUpdateSearcher_FWD_DEFINED__ +#define __IUpdateSearcher_FWD_DEFINED__ +typedef interface IUpdateSearcher IUpdateSearcher; +#ifdef __cplusplus +interface IUpdateSearcher; +#endif /* __cplusplus */ +#endif + +typedef enum tagDownloadPriority { + dpLow = 1, + dpNormal = 2, + dpHigh = 3 +} DownloadPriority; +typedef enum tagServerSelection { + ssDefault = 0, + ssManagedServer = 1, + ssWindowsUpdate = 2, + ssOthers = 3 +} ServerSelection; +typedef enum tagAutomaticUpdatesNotificationLevel { + aunlNotConfigured = 0, + aunlDisabled = 1, + aunlNotifyBeforeDownload = 2, + aunlNotifyBeforeInstallation = 3, + aunlScheduledInstallation = 4 +} AutomaticUpdatesNotificationLevel; +typedef enum tagAutomaticUpdatesScheduledInstallationDay { + ausidEveryDay = 0, + ausidEverySunday = 1, + ausidEveryMonday = 2, + ausidEveryTuesday = 3, + ausidEveryWednesday = 4, + ausidEveryThursday = 5, + ausidEveryFriday = 6, + ausidEverySaturday = 7 +} AutomaticUpdatesScheduledInstallationDay; +typedef enum tagDownloadPhase { + dphInitializing = 0, + dphDownloading = 1, + dphVerifying = 2 +} DownloadPhase; +typedef enum tagOperationResultCode { + orcNotStarted = 0, + orcInProgress = 1, + orcSucceeded = 2, + orcSucceededWithErrors = 3, + orcFailed = 4, + orcAborted = 5 +} OperationResultCode; +typedef enum tagUpdateExceptionContext { + uecGeneral = 1, + uecWindowsDriver = 2, + uecWindowsInstaller = 3 +} UpdateExceptionContext; +typedef enum tagInstallationImpact { + iiNormal = 0, + iiMinor = 1, + iiRequiresExclusiveHandling = 2 +} InstallationImpact; +typedef enum tagInstallationRebootBehavior { + irbNeverReboots = 0, + irbAlwaysRequiresReboot = 1, + irbCanRequestReboot = 2 +} InstallationRebootBehavior; +typedef enum tagUpdateType { + utSoftware = 1, + utDriver = 2 +} UpdateType; +typedef enum tagUpdateOperation { + uoInstallation = 1, + uoUninstallation = 2 +} UpdateOperation; +typedef enum tagDeploymentAction { + daNone = 0, + daInstallation = 1, + daUninstallation = 2, + daDetection = 3 +} DeploymentAction; +/***************************************************************************** + * IAutomaticUpdatesSettings interface + */ +#ifndef __IAutomaticUpdatesSettings_INTERFACE_DEFINED__ +#define __IAutomaticUpdatesSettings_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAutomaticUpdatesSettings, 0x2ee48f22, 0xaf3c, 0x405f, 0x89,0x70, 0xf7,0x1b,0xe1,0x2e,0xe9,0xa2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2ee48f22-af3c-405f-8970-f71be12ee9a2") +IAutomaticUpdatesSettings : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_NotificationLevel( + AutomaticUpdatesNotificationLevel *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_NotificationLevel( + AutomaticUpdatesNotificationLevel value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReadOnly( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Required( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ScheduledInstallationDay( + AutomaticUpdatesScheduledInstallationDay *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ScheduledInstallationDay( + AutomaticUpdatesScheduledInstallationDay value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ScheduledInstallationTime( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ScheduledInstallationTime( + LONG value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Refresh( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Save( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAutomaticUpdatesSettings, 0x2ee48f22, 0xaf3c, 0x405f, 0x89,0x70, 0xf7,0x1b,0xe1,0x2e,0xe9,0xa2) +#endif +#else +typedef struct IAutomaticUpdatesSettingsVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAutomaticUpdatesSettings *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAutomaticUpdatesSettings *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAutomaticUpdatesSettings *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IAutomaticUpdatesSettings *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IAutomaticUpdatesSettings *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IAutomaticUpdatesSettings *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAutomaticUpdatesSettings *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAutomaticUpdatesSettings methods ***/ + HRESULT (STDMETHODCALLTYPE *get_NotificationLevel)( + IAutomaticUpdatesSettings *This, + AutomaticUpdatesNotificationLevel *retval); + + HRESULT (STDMETHODCALLTYPE *put_NotificationLevel)( + IAutomaticUpdatesSettings *This, + AutomaticUpdatesNotificationLevel value); + + HRESULT (STDMETHODCALLTYPE *get_ReadOnly)( + IAutomaticUpdatesSettings *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Required)( + IAutomaticUpdatesSettings *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_ScheduledInstallationDay)( + IAutomaticUpdatesSettings *This, + AutomaticUpdatesScheduledInstallationDay *retval); + + HRESULT (STDMETHODCALLTYPE *put_ScheduledInstallationDay)( + IAutomaticUpdatesSettings *This, + AutomaticUpdatesScheduledInstallationDay value); + + HRESULT (STDMETHODCALLTYPE *get_ScheduledInstallationTime)( + IAutomaticUpdatesSettings *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *put_ScheduledInstallationTime)( + IAutomaticUpdatesSettings *This, + LONG value); + + HRESULT (STDMETHODCALLTYPE *Refresh)( + IAutomaticUpdatesSettings *This); + + HRESULT (STDMETHODCALLTYPE *Save)( + IAutomaticUpdatesSettings *This); + + END_INTERFACE +} IAutomaticUpdatesSettingsVtbl; + +interface IAutomaticUpdatesSettings { + CONST_VTBL IAutomaticUpdatesSettingsVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAutomaticUpdatesSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAutomaticUpdatesSettings_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAutomaticUpdatesSettings_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IAutomaticUpdatesSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IAutomaticUpdatesSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IAutomaticUpdatesSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IAutomaticUpdatesSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAutomaticUpdatesSettings methods ***/ +#define IAutomaticUpdatesSettings_get_NotificationLevel(This,retval) (This)->lpVtbl->get_NotificationLevel(This,retval) +#define IAutomaticUpdatesSettings_put_NotificationLevel(This,value) (This)->lpVtbl->put_NotificationLevel(This,value) +#define IAutomaticUpdatesSettings_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval) +#define IAutomaticUpdatesSettings_get_Required(This,retval) (This)->lpVtbl->get_Required(This,retval) +#define IAutomaticUpdatesSettings_get_ScheduledInstallationDay(This,retval) (This)->lpVtbl->get_ScheduledInstallationDay(This,retval) +#define IAutomaticUpdatesSettings_put_ScheduledInstallationDay(This,value) (This)->lpVtbl->put_ScheduledInstallationDay(This,value) +#define IAutomaticUpdatesSettings_get_ScheduledInstallationTime(This,retval) (This)->lpVtbl->get_ScheduledInstallationTime(This,retval) +#define IAutomaticUpdatesSettings_put_ScheduledInstallationTime(This,value) (This)->lpVtbl->put_ScheduledInstallationTime(This,value) +#define IAutomaticUpdatesSettings_Refresh(This) (This)->lpVtbl->Refresh(This) +#define IAutomaticUpdatesSettings_Save(This) (This)->lpVtbl->Save(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_QueryInterface(IAutomaticUpdatesSettings* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAutomaticUpdatesSettings_AddRef(IAutomaticUpdatesSettings* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAutomaticUpdatesSettings_Release(IAutomaticUpdatesSettings* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_GetTypeInfoCount(IAutomaticUpdatesSettings* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_GetTypeInfo(IAutomaticUpdatesSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_GetIDsOfNames(IAutomaticUpdatesSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_Invoke(IAutomaticUpdatesSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAutomaticUpdatesSettings methods ***/ +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_NotificationLevel(IAutomaticUpdatesSettings* This,AutomaticUpdatesNotificationLevel *retval) { + return This->lpVtbl->get_NotificationLevel(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_put_NotificationLevel(IAutomaticUpdatesSettings* This,AutomaticUpdatesNotificationLevel value) { + return This->lpVtbl->put_NotificationLevel(This,value); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_ReadOnly(IAutomaticUpdatesSettings* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_ReadOnly(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_Required(IAutomaticUpdatesSettings* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_Required(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_ScheduledInstallationDay(IAutomaticUpdatesSettings* This,AutomaticUpdatesScheduledInstallationDay *retval) { + return This->lpVtbl->get_ScheduledInstallationDay(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_put_ScheduledInstallationDay(IAutomaticUpdatesSettings* This,AutomaticUpdatesScheduledInstallationDay value) { + return This->lpVtbl->put_ScheduledInstallationDay(This,value); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_ScheduledInstallationTime(IAutomaticUpdatesSettings* This,LONG *retval) { + return This->lpVtbl->get_ScheduledInstallationTime(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_put_ScheduledInstallationTime(IAutomaticUpdatesSettings* This,LONG value) { + return This->lpVtbl->put_ScheduledInstallationTime(This,value); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_Refresh(IAutomaticUpdatesSettings* This) { + return This->lpVtbl->Refresh(This); +} +static FORCEINLINE HRESULT IAutomaticUpdatesSettings_Save(IAutomaticUpdatesSettings* This) { + return This->lpVtbl->Save(This); +} +#endif +#endif + +#endif + + +#endif /* __IAutomaticUpdatesSettings_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAutomaticUpdates interface + */ +#ifndef __IAutomaticUpdates_INTERFACE_DEFINED__ +#define __IAutomaticUpdates_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAutomaticUpdates, 0x673425bf, 0xc082, 0x4c7c, 0xbd,0xfd, 0x56,0x94,0x64,0xb8,0xe0,0xce); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("673425bf-c082-4c7c-bdfd-569464b8e0ce") +IAutomaticUpdates : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE DetectNow( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShowSettingsDialog( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Settings( + IAutomaticUpdatesSettings **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServiceEnabled( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableService( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAutomaticUpdates, 0x673425bf, 0xc082, 0x4c7c, 0xbd,0xfd, 0x56,0x94,0x64,0xb8,0xe0,0xce) +#endif +#else +typedef struct IAutomaticUpdatesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAutomaticUpdates *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAutomaticUpdates *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAutomaticUpdates *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IAutomaticUpdates *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IAutomaticUpdates *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IAutomaticUpdates *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IAutomaticUpdates *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IAutomaticUpdates methods ***/ + HRESULT (STDMETHODCALLTYPE *DetectNow)( + IAutomaticUpdates *This); + + HRESULT (STDMETHODCALLTYPE *Pause)( + IAutomaticUpdates *This); + + HRESULT (STDMETHODCALLTYPE *Resume)( + IAutomaticUpdates *This); + + HRESULT (STDMETHODCALLTYPE *ShowSettingsDialog)( + IAutomaticUpdates *This); + + HRESULT (STDMETHODCALLTYPE *get_Settings)( + IAutomaticUpdates *This, + IAutomaticUpdatesSettings **retval); + + HRESULT (STDMETHODCALLTYPE *get_ServiceEnabled)( + IAutomaticUpdates *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *EnableService)( + IAutomaticUpdates *This); + + END_INTERFACE +} IAutomaticUpdatesVtbl; + +interface IAutomaticUpdates { + CONST_VTBL IAutomaticUpdatesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAutomaticUpdates_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAutomaticUpdates_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAutomaticUpdates_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IAutomaticUpdates_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IAutomaticUpdates_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IAutomaticUpdates_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IAutomaticUpdates_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IAutomaticUpdates methods ***/ +#define IAutomaticUpdates_DetectNow(This) (This)->lpVtbl->DetectNow(This) +#define IAutomaticUpdates_Pause(This) (This)->lpVtbl->Pause(This) +#define IAutomaticUpdates_Resume(This) (This)->lpVtbl->Resume(This) +#define IAutomaticUpdates_ShowSettingsDialog(This) (This)->lpVtbl->ShowSettingsDialog(This) +#define IAutomaticUpdates_get_Settings(This,retval) (This)->lpVtbl->get_Settings(This,retval) +#define IAutomaticUpdates_get_ServiceEnabled(This,retval) (This)->lpVtbl->get_ServiceEnabled(This,retval) +#define IAutomaticUpdates_EnableService(This) (This)->lpVtbl->EnableService(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAutomaticUpdates_QueryInterface(IAutomaticUpdates* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAutomaticUpdates_AddRef(IAutomaticUpdates* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAutomaticUpdates_Release(IAutomaticUpdates* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IAutomaticUpdates_GetTypeInfoCount(IAutomaticUpdates* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IAutomaticUpdates_GetTypeInfo(IAutomaticUpdates* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IAutomaticUpdates_GetIDsOfNames(IAutomaticUpdates* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IAutomaticUpdates_Invoke(IAutomaticUpdates* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IAutomaticUpdates methods ***/ +static FORCEINLINE HRESULT IAutomaticUpdates_DetectNow(IAutomaticUpdates* This) { + return This->lpVtbl->DetectNow(This); +} +static FORCEINLINE HRESULT IAutomaticUpdates_Pause(IAutomaticUpdates* This) { + return This->lpVtbl->Pause(This); +} +static FORCEINLINE HRESULT IAutomaticUpdates_Resume(IAutomaticUpdates* This) { + return This->lpVtbl->Resume(This); +} +static FORCEINLINE HRESULT IAutomaticUpdates_ShowSettingsDialog(IAutomaticUpdates* This) { + return This->lpVtbl->ShowSettingsDialog(This); +} +static FORCEINLINE HRESULT IAutomaticUpdates_get_Settings(IAutomaticUpdates* This,IAutomaticUpdatesSettings **retval) { + return This->lpVtbl->get_Settings(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdates_get_ServiceEnabled(IAutomaticUpdates* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_ServiceEnabled(This,retval); +} +static FORCEINLINE HRESULT IAutomaticUpdates_EnableService(IAutomaticUpdates* This) { + return This->lpVtbl->EnableService(This); +} +#endif +#endif + +#endif + + +#endif /* __IAutomaticUpdates_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWebProxy interface + */ +#ifndef __IWebProxy_INTERFACE_DEFINED__ +#define __IWebProxy_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWebProxy, 0x174c81fe, 0xaecd, 0x4dae, 0xb8,0xa0, 0x2c,0x63,0x18,0xdd,0x86,0xa8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("174c81fe-aecd-4dae-b8a0-2c6318dd86a8") +IWebProxy : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Address( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Address( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BypassList( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_BypassList( + IStringCollection *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BypassProxyOnLocal( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_BypassProxyOnLocal( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReadOnly( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UserName( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_UserName( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPassword( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE PromptForCredentials( + IUnknown *parentWindow, + BSTR title) = 0; + + virtual HRESULT STDMETHODCALLTYPE PromptForCredentialsFromHwnd( + HWND parentWindow, + BSTR title) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AutoDetect( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AutoDetect( + VARIANT_BOOL value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWebProxy, 0x174c81fe, 0xaecd, 0x4dae, 0xb8,0xa0, 0x2c,0x63,0x18,0xdd,0x86,0xa8) +#endif +#else +typedef struct IWebProxyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWebProxy *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWebProxy *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWebProxy *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IWebProxy *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IWebProxy *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IWebProxy *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IWebProxy *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IWebProxy methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Address)( + IWebProxy *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Address)( + IWebProxy *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get_BypassList)( + IWebProxy *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *put_BypassList)( + IWebProxy *This, + IStringCollection *value); + + HRESULT (STDMETHODCALLTYPE *get_BypassProxyOnLocal)( + IWebProxy *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_BypassProxyOnLocal)( + IWebProxy *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_ReadOnly)( + IWebProxy *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_UserName)( + IWebProxy *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_UserName)( + IWebProxy *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *SetPassword)( + IWebProxy *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *PromptForCredentials)( + IWebProxy *This, + IUnknown *parentWindow, + BSTR title); + + HRESULT (STDMETHODCALLTYPE *PromptForCredentialsFromHwnd)( + IWebProxy *This, + HWND parentWindow, + BSTR title); + + HRESULT (STDMETHODCALLTYPE *get_AutoDetect)( + IWebProxy *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_AutoDetect)( + IWebProxy *This, + VARIANT_BOOL value); + + END_INTERFACE +} IWebProxyVtbl; + +interface IWebProxy { + CONST_VTBL IWebProxyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWebProxy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWebProxy_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWebProxy_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IWebProxy_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IWebProxy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IWebProxy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IWebProxy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IWebProxy methods ***/ +#define IWebProxy_get_Address(This,retval) (This)->lpVtbl->get_Address(This,retval) +#define IWebProxy_put_Address(This,value) (This)->lpVtbl->put_Address(This,value) +#define IWebProxy_get_BypassList(This,retval) (This)->lpVtbl->get_BypassList(This,retval) +#define IWebProxy_put_BypassList(This,value) (This)->lpVtbl->put_BypassList(This,value) +#define IWebProxy_get_BypassProxyOnLocal(This,retval) (This)->lpVtbl->get_BypassProxyOnLocal(This,retval) +#define IWebProxy_put_BypassProxyOnLocal(This,value) (This)->lpVtbl->put_BypassProxyOnLocal(This,value) +#define IWebProxy_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval) +#define IWebProxy_get_UserName(This,retval) (This)->lpVtbl->get_UserName(This,retval) +#define IWebProxy_put_UserName(This,value) (This)->lpVtbl->put_UserName(This,value) +#define IWebProxy_SetPassword(This,value) (This)->lpVtbl->SetPassword(This,value) +#define IWebProxy_PromptForCredentials(This,parentWindow,title) (This)->lpVtbl->PromptForCredentials(This,parentWindow,title) +#define IWebProxy_PromptForCredentialsFromHwnd(This,parentWindow,title) (This)->lpVtbl->PromptForCredentialsFromHwnd(This,parentWindow,title) +#define IWebProxy_get_AutoDetect(This,retval) (This)->lpVtbl->get_AutoDetect(This,retval) +#define IWebProxy_put_AutoDetect(This,value) (This)->lpVtbl->put_AutoDetect(This,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWebProxy_QueryInterface(IWebProxy* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWebProxy_AddRef(IWebProxy* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWebProxy_Release(IWebProxy* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IWebProxy_GetTypeInfoCount(IWebProxy* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IWebProxy_GetTypeInfo(IWebProxy* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IWebProxy_GetIDsOfNames(IWebProxy* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IWebProxy_Invoke(IWebProxy* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IWebProxy methods ***/ +static FORCEINLINE HRESULT IWebProxy_get_Address(IWebProxy* This,BSTR *retval) { + return This->lpVtbl->get_Address(This,retval); +} +static FORCEINLINE HRESULT IWebProxy_put_Address(IWebProxy* This,BSTR value) { + return This->lpVtbl->put_Address(This,value); +} +static FORCEINLINE HRESULT IWebProxy_get_BypassList(IWebProxy* This,IStringCollection **retval) { + return This->lpVtbl->get_BypassList(This,retval); +} +static FORCEINLINE HRESULT IWebProxy_put_BypassList(IWebProxy* This,IStringCollection *value) { + return This->lpVtbl->put_BypassList(This,value); +} +static FORCEINLINE HRESULT IWebProxy_get_BypassProxyOnLocal(IWebProxy* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_BypassProxyOnLocal(This,retval); +} +static FORCEINLINE HRESULT IWebProxy_put_BypassProxyOnLocal(IWebProxy* This,VARIANT_BOOL value) { + return This->lpVtbl->put_BypassProxyOnLocal(This,value); +} +static FORCEINLINE HRESULT IWebProxy_get_ReadOnly(IWebProxy* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_ReadOnly(This,retval); +} +static FORCEINLINE HRESULT IWebProxy_get_UserName(IWebProxy* This,BSTR *retval) { + return This->lpVtbl->get_UserName(This,retval); +} +static FORCEINLINE HRESULT IWebProxy_put_UserName(IWebProxy* This,BSTR value) { + return This->lpVtbl->put_UserName(This,value); +} +static FORCEINLINE HRESULT IWebProxy_SetPassword(IWebProxy* This,BSTR value) { + return This->lpVtbl->SetPassword(This,value); +} +static FORCEINLINE HRESULT IWebProxy_PromptForCredentials(IWebProxy* This,IUnknown *parentWindow,BSTR title) { + return This->lpVtbl->PromptForCredentials(This,parentWindow,title); +} +static FORCEINLINE HRESULT IWebProxy_PromptForCredentialsFromHwnd(IWebProxy* This,HWND parentWindow,BSTR title) { + return This->lpVtbl->PromptForCredentialsFromHwnd(This,parentWindow,title); +} +static FORCEINLINE HRESULT IWebProxy_get_AutoDetect(IWebProxy* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_AutoDetect(This,retval); +} +static FORCEINLINE HRESULT IWebProxy_put_AutoDetect(IWebProxy* This,VARIANT_BOOL value) { + return This->lpVtbl->put_AutoDetect(This,value); +} +#endif +#endif + +#endif + + +#endif /* __IWebProxy_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateSession interface + */ +#ifndef __IUpdateSession_INTERFACE_DEFINED__ +#define __IUpdateSession_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateSession, 0x816858a4, 0x260d, 0x4260, 0x93,0x3a, 0x25,0x85,0xf1,0xab,0xc7,0x6b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("816858a4-260d-4260-933a-2585f1abc76b") +IUpdateSession : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReadOnly( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WebProxy( + IWebProxy **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WebProxy( + IWebProxy *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUpdateSearcher( + IUpdateSearcher **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUpdateDownloader( + IUpdateDownloader **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateUpdateInstaller( + IUpdateInstaller **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateSession, 0x816858a4, 0x260d, 0x4260, 0x93,0x3a, 0x25,0x85,0xf1,0xab,0xc7,0x6b) +#endif +#else +typedef struct IUpdateSessionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateSession *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateSession *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateSession *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateSession *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateSession *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateSession *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateSession *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateSession methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)( + IUpdateSession *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)( + IUpdateSession *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get_ReadOnly)( + IUpdateSession *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_WebProxy)( + IUpdateSession *This, + IWebProxy **retval); + + HRESULT (STDMETHODCALLTYPE *put_WebProxy)( + IUpdateSession *This, + IWebProxy *value); + + HRESULT (STDMETHODCALLTYPE *CreateUpdateSearcher)( + IUpdateSession *This, + IUpdateSearcher **retval); + + HRESULT (STDMETHODCALLTYPE *CreateUpdateDownloader)( + IUpdateSession *This, + IUpdateDownloader **retval); + + HRESULT (STDMETHODCALLTYPE *CreateUpdateInstaller)( + IUpdateSession *This, + IUpdateInstaller **retval); + + END_INTERFACE +} IUpdateSessionVtbl; + +interface IUpdateSession { + CONST_VTBL IUpdateSessionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateSession_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateSession_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateSession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateSession methods ***/ +#define IUpdateSession_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval) +#define IUpdateSession_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value) +#define IUpdateSession_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval) +#define IUpdateSession_get_WebProxy(This,retval) (This)->lpVtbl->get_WebProxy(This,retval) +#define IUpdateSession_put_WebProxy(This,value) (This)->lpVtbl->put_WebProxy(This,value) +#define IUpdateSession_CreateUpdateSearcher(This,retval) (This)->lpVtbl->CreateUpdateSearcher(This,retval) +#define IUpdateSession_CreateUpdateDownloader(This,retval) (This)->lpVtbl->CreateUpdateDownloader(This,retval) +#define IUpdateSession_CreateUpdateInstaller(This,retval) (This)->lpVtbl->CreateUpdateInstaller(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateSession_QueryInterface(IUpdateSession* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateSession_AddRef(IUpdateSession* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateSession_Release(IUpdateSession* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateSession_GetTypeInfoCount(IUpdateSession* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateSession_GetTypeInfo(IUpdateSession* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateSession_GetIDsOfNames(IUpdateSession* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateSession_Invoke(IUpdateSession* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateSession methods ***/ +static FORCEINLINE HRESULT IUpdateSession_get_ClientApplicationID(IUpdateSession* This,BSTR *retval) { + return This->lpVtbl->get_ClientApplicationID(This,retval); +} +static FORCEINLINE HRESULT IUpdateSession_put_ClientApplicationID(IUpdateSession* This,BSTR value) { + return This->lpVtbl->put_ClientApplicationID(This,value); +} +static FORCEINLINE HRESULT IUpdateSession_get_ReadOnly(IUpdateSession* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_ReadOnly(This,retval); +} +static FORCEINLINE HRESULT IUpdateSession_get_WebProxy(IUpdateSession* This,IWebProxy **retval) { + return This->lpVtbl->get_WebProxy(This,retval); +} +static FORCEINLINE HRESULT IUpdateSession_put_WebProxy(IUpdateSession* This,IWebProxy *value) { + return This->lpVtbl->put_WebProxy(This,value); +} +static FORCEINLINE HRESULT IUpdateSession_CreateUpdateSearcher(IUpdateSession* This,IUpdateSearcher **retval) { + return This->lpVtbl->CreateUpdateSearcher(This,retval); +} +static FORCEINLINE HRESULT IUpdateSession_CreateUpdateDownloader(IUpdateSession* This,IUpdateDownloader **retval) { + return This->lpVtbl->CreateUpdateDownloader(This,retval); +} +static FORCEINLINE HRESULT IUpdateSession_CreateUpdateInstaller(IUpdateSession* This,IUpdateInstaller **retval) { + return This->lpVtbl->CreateUpdateInstaller(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateSession_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IImageInformation interface + */ +#ifndef __IImageInformation_INTERFACE_DEFINED__ +#define __IImageInformation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IImageInformation, 0x7c907864, 0x346c, 0x4aeb, 0x8f,0x3f, 0x57,0xda,0x28,0x9f,0x96,0x9f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7c907864-346c-4aeb-8f3f-57da289f969f") +IImageInformation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AltText( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Height( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Source( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Width( + LONG *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IImageInformation, 0x7c907864, 0x346c, 0x4aeb, 0x8f,0x3f, 0x57,0xda,0x28,0x9f,0x96,0x9f) +#endif +#else +typedef struct IImageInformationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IImageInformation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IImageInformation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IImageInformation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IImageInformation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IImageInformation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IImageInformation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IImageInformation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IImageInformation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AltText)( + IImageInformation *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Height)( + IImageInformation *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_Source)( + IImageInformation *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Width)( + IImageInformation *This, + LONG *retval); + + END_INTERFACE +} IImageInformationVtbl; + +interface IImageInformation { + CONST_VTBL IImageInformationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IImageInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IImageInformation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IImageInformation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IImageInformation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IImageInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IImageInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IImageInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IImageInformation methods ***/ +#define IImageInformation_get_AltText(This,retval) (This)->lpVtbl->get_AltText(This,retval) +#define IImageInformation_get_Height(This,retval) (This)->lpVtbl->get_Height(This,retval) +#define IImageInformation_get_Source(This,retval) (This)->lpVtbl->get_Source(This,retval) +#define IImageInformation_get_Width(This,retval) (This)->lpVtbl->get_Width(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IImageInformation_QueryInterface(IImageInformation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IImageInformation_AddRef(IImageInformation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IImageInformation_Release(IImageInformation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IImageInformation_GetTypeInfoCount(IImageInformation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IImageInformation_GetTypeInfo(IImageInformation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IImageInformation_GetIDsOfNames(IImageInformation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IImageInformation_Invoke(IImageInformation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IImageInformation methods ***/ +static FORCEINLINE HRESULT IImageInformation_get_AltText(IImageInformation* This,BSTR *retval) { + return This->lpVtbl->get_AltText(This,retval); +} +static FORCEINLINE HRESULT IImageInformation_get_Height(IImageInformation* This,LONG *retval) { + return This->lpVtbl->get_Height(This,retval); +} +static FORCEINLINE HRESULT IImageInformation_get_Source(IImageInformation* This,BSTR *retval) { + return This->lpVtbl->get_Source(This,retval); +} +static FORCEINLINE HRESULT IImageInformation_get_Width(IImageInformation* This,LONG *retval) { + return This->lpVtbl->get_Width(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IImageInformation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICategory interface + */ +#ifndef __ICategory_INTERFACE_DEFINED__ +#define __ICategory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICategory, 0x81ddc1b8, 0x9d35, 0x47a6, 0xb4,0x71, 0x5b,0x80,0xf5,0x19,0x22,0x3b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("81ddc1b8-9d35-47a6-b471-5b80f519223b") +ICategory : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Name( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CategoryID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Children( + ICategoryCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Image( + IImageInformation **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Order( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Parent( + ICategory **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Updates( + IUpdateCollection **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICategory, 0x81ddc1b8, 0x9d35, 0x47a6, 0xb4,0x71, 0x5b,0x80,0xf5,0x19,0x22,0x3b) +#endif +#else +typedef struct ICategoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICategory *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICategory *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICategory *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ICategory *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ICategory *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ICategory *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ICategory *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ICategory methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Name)( + ICategory *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_CategoryID)( + ICategory *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Children)( + ICategory *This, + ICategoryCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_Description)( + ICategory *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Image)( + ICategory *This, + IImageInformation **retval); + + HRESULT (STDMETHODCALLTYPE *get_Order)( + ICategory *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_Parent)( + ICategory *This, + ICategory **retval); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + ICategory *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Updates)( + ICategory *This, + IUpdateCollection **retval); + + END_INTERFACE +} ICategoryVtbl; + +interface ICategory { + CONST_VTBL ICategoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICategory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICategory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICategory_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ICategory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ICategory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ICategory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ICategory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ICategory methods ***/ +#define ICategory_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval) +#define ICategory_get_CategoryID(This,retval) (This)->lpVtbl->get_CategoryID(This,retval) +#define ICategory_get_Children(This,retval) (This)->lpVtbl->get_Children(This,retval) +#define ICategory_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval) +#define ICategory_get_Image(This,retval) (This)->lpVtbl->get_Image(This,retval) +#define ICategory_get_Order(This,retval) (This)->lpVtbl->get_Order(This,retval) +#define ICategory_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval) +#define ICategory_get_Type(This,retval) (This)->lpVtbl->get_Type(This,retval) +#define ICategory_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICategory_QueryInterface(ICategory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICategory_AddRef(ICategory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICategory_Release(ICategory* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ICategory_GetTypeInfoCount(ICategory* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ICategory_GetTypeInfo(ICategory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ICategory_GetIDsOfNames(ICategory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ICategory_Invoke(ICategory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ICategory methods ***/ +static FORCEINLINE HRESULT ICategory_get_Name(ICategory* This,BSTR *retval) { + return This->lpVtbl->get_Name(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_CategoryID(ICategory* This,BSTR *retval) { + return This->lpVtbl->get_CategoryID(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Children(ICategory* This,ICategoryCollection **retval) { + return This->lpVtbl->get_Children(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Description(ICategory* This,BSTR *retval) { + return This->lpVtbl->get_Description(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Image(ICategory* This,IImageInformation **retval) { + return This->lpVtbl->get_Image(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Order(ICategory* This,LONG *retval) { + return This->lpVtbl->get_Order(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Parent(ICategory* This,ICategory **retval) { + return This->lpVtbl->get_Parent(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Type(ICategory* This,BSTR *retval) { + return This->lpVtbl->get_Type(This,retval); +} +static FORCEINLINE HRESULT ICategory_get_Updates(ICategory* This,IUpdateCollection **retval) { + return This->lpVtbl->get_Updates(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __ICategory_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ICategoryCollection interface + */ +#ifndef __ICategoryCollection_INTERFACE_DEFINED__ +#define __ICategoryCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ICategoryCollection, 0x3a56bfb8, 0x576c, 0x43f7, 0x93,0x35, 0xfe,0x48,0x38,0xfd,0x7e,0x37); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("3a56bfb8-576c-43f7-9335-fe4838fd7e37") +ICategoryCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + ICategory **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ICategoryCollection, 0x3a56bfb8, 0x576c, 0x43f7, 0x93,0x35, 0xfe,0x48,0x38,0xfd,0x7e,0x37) +#endif +#else +typedef struct ICategoryCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ICategoryCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ICategoryCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ICategoryCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ICategoryCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ICategoryCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ICategoryCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ICategoryCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ICategoryCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + ICategoryCollection *This, + LONG index, + ICategory **retval); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + ICategoryCollection *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + ICategoryCollection *This, + LONG *retval); + + END_INTERFACE +} ICategoryCollectionVtbl; + +interface ICategoryCollection { + CONST_VTBL ICategoryCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ICategoryCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ICategoryCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ICategoryCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ICategoryCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ICategoryCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ICategoryCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ICategoryCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ICategoryCollection methods ***/ +#define ICategoryCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval) +#define ICategoryCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define ICategoryCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ICategoryCollection_QueryInterface(ICategoryCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ICategoryCollection_AddRef(ICategoryCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ICategoryCollection_Release(ICategoryCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ICategoryCollection_GetTypeInfoCount(ICategoryCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ICategoryCollection_GetTypeInfo(ICategoryCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ICategoryCollection_GetIDsOfNames(ICategoryCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ICategoryCollection_Invoke(ICategoryCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ICategoryCollection methods ***/ +static FORCEINLINE HRESULT ICategoryCollection_get_Item(ICategoryCollection* This,LONG index,ICategory **retval) { + return This->lpVtbl->get_Item(This,index,retval); +} +static FORCEINLINE HRESULT ICategoryCollection_get__NewEnum(ICategoryCollection* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT ICategoryCollection_get_Count(ICategoryCollection* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __ICategoryCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IStringCollection interface + */ +#ifndef __IStringCollection_INTERFACE_DEFINED__ +#define __IStringCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IStringCollection, 0xeff90582, 0x2ddc, 0x480f, 0xa0,0x6d, 0x60,0xf3,0xfb,0xc3,0x62,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("eff90582-2ddc-480f-a06d-60f3fbc362c3") +IStringCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Item( + LONG index, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReadOnly( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + BSTR value, + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Copy( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Insert( + LONG index, + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAt( + LONG index) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IStringCollection, 0xeff90582, 0x2ddc, 0x480f, 0xa0,0x6d, 0x60,0xf3,0xfb,0xc3,0x62,0xc3) +#endif +#else +typedef struct IStringCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IStringCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IStringCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IStringCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IStringCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IStringCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IStringCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IStringCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IStringCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + IStringCollection *This, + LONG index, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_Item)( + IStringCollection *This, + LONG index, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IStringCollection *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IStringCollection *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ReadOnly)( + IStringCollection *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *Add)( + IStringCollection *This, + BSTR value, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IStringCollection *This); + + HRESULT (STDMETHODCALLTYPE *Copy)( + IStringCollection *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *Insert)( + IStringCollection *This, + LONG index, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *RemoveAt)( + IStringCollection *This, + LONG index); + + END_INTERFACE +} IStringCollectionVtbl; + +interface IStringCollection { + CONST_VTBL IStringCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IStringCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IStringCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IStringCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IStringCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IStringCollection methods ***/ +#define IStringCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval) +#define IStringCollection_put_Item(This,index,value) (This)->lpVtbl->put_Item(This,index,value) +#define IStringCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define IStringCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#define IStringCollection_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval) +#define IStringCollection_Add(This,value,retval) (This)->lpVtbl->Add(This,value,retval) +#define IStringCollection_Clear(This) (This)->lpVtbl->Clear(This) +#define IStringCollection_Copy(This,retval) (This)->lpVtbl->Copy(This,retval) +#define IStringCollection_Insert(This,index,value) (This)->lpVtbl->Insert(This,index,value) +#define IStringCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IStringCollection_QueryInterface(IStringCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IStringCollection_AddRef(IStringCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IStringCollection_Release(IStringCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IStringCollection_GetTypeInfoCount(IStringCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IStringCollection_GetTypeInfo(IStringCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IStringCollection_GetIDsOfNames(IStringCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IStringCollection_Invoke(IStringCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IStringCollection methods ***/ +static FORCEINLINE HRESULT IStringCollection_get_Item(IStringCollection* This,LONG index,BSTR *retval) { + return This->lpVtbl->get_Item(This,index,retval); +} +static FORCEINLINE HRESULT IStringCollection_put_Item(IStringCollection* This,LONG index,BSTR value) { + return This->lpVtbl->put_Item(This,index,value); +} +static FORCEINLINE HRESULT IStringCollection_get__NewEnum(IStringCollection* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT IStringCollection_get_Count(IStringCollection* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +static FORCEINLINE HRESULT IStringCollection_get_ReadOnly(IStringCollection* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_ReadOnly(This,retval); +} +static FORCEINLINE HRESULT IStringCollection_Add(IStringCollection* This,BSTR value,LONG *retval) { + return This->lpVtbl->Add(This,value,retval); +} +static FORCEINLINE HRESULT IStringCollection_Clear(IStringCollection* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IStringCollection_Copy(IStringCollection* This,IStringCollection **retval) { + return This->lpVtbl->Copy(This,retval); +} +static FORCEINLINE HRESULT IStringCollection_Insert(IStringCollection* This,LONG index,BSTR value) { + return This->lpVtbl->Insert(This,index,value); +} +static FORCEINLINE HRESULT IStringCollection_RemoveAt(IStringCollection* This,LONG index) { + return This->lpVtbl->RemoveAt(This,index); +} +#endif +#endif + +#endif + + +#endif /* __IStringCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateException interface + */ +#ifndef __IUpdateException_INTERFACE_DEFINED__ +#define __IUpdateException_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateException, 0xa376dd5e, 0x09d4, 0x427f, 0xaf,0x7c, 0xfe,0xd5,0xb6,0xe1,0xc1,0xd6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a376dd5e-09d4-427f-af7c-fed5b6e1c1d6") +IUpdateException : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Message( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HResult( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Context( + UpdateExceptionContext *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateException, 0xa376dd5e, 0x09d4, 0x427f, 0xaf,0x7c, 0xfe,0xd5,0xb6,0xe1,0xc1,0xd6) +#endif +#else +typedef struct IUpdateExceptionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateException *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateException *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateException *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateException *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateException *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateException *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateException *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateException methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Message)( + IUpdateException *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_HResult)( + IUpdateException *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_Context)( + IUpdateException *This, + UpdateExceptionContext *retval); + + END_INTERFACE +} IUpdateExceptionVtbl; + +interface IUpdateException { + CONST_VTBL IUpdateExceptionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateException_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateException_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateException_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateException_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateException_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateException_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateException_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateException methods ***/ +#define IUpdateException_get_Message(This,retval) (This)->lpVtbl->get_Message(This,retval) +#define IUpdateException_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval) +#define IUpdateException_get_Context(This,retval) (This)->lpVtbl->get_Context(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateException_QueryInterface(IUpdateException* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateException_AddRef(IUpdateException* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateException_Release(IUpdateException* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateException_GetTypeInfoCount(IUpdateException* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateException_GetTypeInfo(IUpdateException* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateException_GetIDsOfNames(IUpdateException* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateException_Invoke(IUpdateException* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateException methods ***/ +static FORCEINLINE HRESULT IUpdateException_get_Message(IUpdateException* This,BSTR *retval) { + return This->lpVtbl->get_Message(This,retval); +} +static FORCEINLINE HRESULT IUpdateException_get_HResult(IUpdateException* This,LONG *retval) { + return This->lpVtbl->get_HResult(This,retval); +} +static FORCEINLINE HRESULT IUpdateException_get_Context(IUpdateException* This,UpdateExceptionContext *retval) { + return This->lpVtbl->get_Context(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateException_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateExceptionCollection interface + */ +#ifndef __IUpdateExceptionCollection_INTERFACE_DEFINED__ +#define __IUpdateExceptionCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateExceptionCollection, 0x503626a3, 0x8e14, 0x4729, 0x93,0x55, 0x0f,0xe6,0x64,0xbd,0x23,0x21); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("503626a3-8e14-4729-9355-0fe664bd2321") +IUpdateExceptionCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + IUpdateException **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateExceptionCollection, 0x503626a3, 0x8e14, 0x4729, 0x93,0x55, 0x0f,0xe6,0x64,0xbd,0x23,0x21) +#endif +#else +typedef struct IUpdateExceptionCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateExceptionCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateExceptionCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateExceptionCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateExceptionCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateExceptionCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateExceptionCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateExceptionCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateExceptionCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + IUpdateExceptionCollection *This, + LONG index, + IUpdateException **retval); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IUpdateExceptionCollection *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IUpdateExceptionCollection *This, + LONG *retval); + + END_INTERFACE +} IUpdateExceptionCollectionVtbl; + +interface IUpdateExceptionCollection { + CONST_VTBL IUpdateExceptionCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateExceptionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateExceptionCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateExceptionCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateExceptionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateExceptionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateExceptionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateExceptionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateExceptionCollection methods ***/ +#define IUpdateExceptionCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval) +#define IUpdateExceptionCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define IUpdateExceptionCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateExceptionCollection_QueryInterface(IUpdateExceptionCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateExceptionCollection_AddRef(IUpdateExceptionCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateExceptionCollection_Release(IUpdateExceptionCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateExceptionCollection_GetTypeInfoCount(IUpdateExceptionCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateExceptionCollection_GetTypeInfo(IUpdateExceptionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateExceptionCollection_GetIDsOfNames(IUpdateExceptionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateExceptionCollection_Invoke(IUpdateExceptionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateExceptionCollection methods ***/ +static FORCEINLINE HRESULT IUpdateExceptionCollection_get_Item(IUpdateExceptionCollection* This,LONG index,IUpdateException **retval) { + return This->lpVtbl->get_Item(This,index,retval); +} +static FORCEINLINE HRESULT IUpdateExceptionCollection_get__NewEnum(IUpdateExceptionCollection* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT IUpdateExceptionCollection_get_Count(IUpdateExceptionCollection* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateExceptionCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateIdentity interface + */ +#ifndef __IUpdateIdentity_INTERFACE_DEFINED__ +#define __IUpdateIdentity_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateIdentity, 0x46297823, 0x9940, 0x4c09, 0xae,0xd9, 0xcd,0x3e,0xa6,0xd0,0x59,0x68); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("46297823-9940-4c09-aed9-cd3ea6d05968") +IUpdateIdentity : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_RevisionNumber( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UpdateID( + BSTR *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateIdentity, 0x46297823, 0x9940, 0x4c09, 0xae,0xd9, 0xcd,0x3e,0xa6,0xd0,0x59,0x68) +#endif +#else +typedef struct IUpdateIdentityVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateIdentity *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateIdentity *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateIdentity *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateIdentity *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateIdentity *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateIdentity *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateIdentity *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateIdentity methods ***/ + HRESULT (STDMETHODCALLTYPE *get_RevisionNumber)( + IUpdateIdentity *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_UpdateID)( + IUpdateIdentity *This, + BSTR *retval); + + END_INTERFACE +} IUpdateIdentityVtbl; + +interface IUpdateIdentity { + CONST_VTBL IUpdateIdentityVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateIdentity_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateIdentity_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateIdentity_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateIdentity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateIdentity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateIdentity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateIdentity methods ***/ +#define IUpdateIdentity_get_RevisionNumber(This,retval) (This)->lpVtbl->get_RevisionNumber(This,retval) +#define IUpdateIdentity_get_UpdateID(This,retval) (This)->lpVtbl->get_UpdateID(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateIdentity_QueryInterface(IUpdateIdentity* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateIdentity_AddRef(IUpdateIdentity* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateIdentity_Release(IUpdateIdentity* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateIdentity_GetTypeInfoCount(IUpdateIdentity* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateIdentity_GetTypeInfo(IUpdateIdentity* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateIdentity_GetIDsOfNames(IUpdateIdentity* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateIdentity_Invoke(IUpdateIdentity* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateIdentity methods ***/ +static FORCEINLINE HRESULT IUpdateIdentity_get_RevisionNumber(IUpdateIdentity* This,LONG *retval) { + return This->lpVtbl->get_RevisionNumber(This,retval); +} +static FORCEINLINE HRESULT IUpdateIdentity_get_UpdateID(IUpdateIdentity* This,BSTR *retval) { + return This->lpVtbl->get_UpdateID(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateIdentity_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallationBehavior interface + */ +#ifndef __IInstallationBehavior_INTERFACE_DEFINED__ +#define __IInstallationBehavior_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallationBehavior, 0xd9a59339, 0xe245, 0x4dbd, 0x96,0x86, 0x4d,0x57,0x63,0xe3,0x96,0x24); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d9a59339-e245-4dbd-9686-4d5763e39624") +IInstallationBehavior : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_CanRequestUserInput( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Impact( + InstallationImpact *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RebootBehavior( + InstallationRebootBehavior *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RequiresNetworkConnectivity( + VARIANT_BOOL *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallationBehavior, 0xd9a59339, 0xe245, 0x4dbd, 0x96,0x86, 0x4d,0x57,0x63,0xe3,0x96,0x24) +#endif +#else +typedef struct IInstallationBehaviorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallationBehavior *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallationBehavior *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallationBehavior *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInstallationBehavior *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInstallationBehavior *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInstallationBehavior *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInstallationBehavior *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInstallationBehavior methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CanRequestUserInput)( + IInstallationBehavior *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Impact)( + IInstallationBehavior *This, + InstallationImpact *retval); + + HRESULT (STDMETHODCALLTYPE *get_RebootBehavior)( + IInstallationBehavior *This, + InstallationRebootBehavior *retval); + + HRESULT (STDMETHODCALLTYPE *get_RequiresNetworkConnectivity)( + IInstallationBehavior *This, + VARIANT_BOOL *retval); + + END_INTERFACE +} IInstallationBehaviorVtbl; + +interface IInstallationBehavior { + CONST_VTBL IInstallationBehaviorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallationBehavior_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallationBehavior_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallationBehavior_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInstallationBehavior_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInstallationBehavior_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInstallationBehavior_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInstallationBehavior_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInstallationBehavior methods ***/ +#define IInstallationBehavior_get_CanRequestUserInput(This,retval) (This)->lpVtbl->get_CanRequestUserInput(This,retval) +#define IInstallationBehavior_get_Impact(This,retval) (This)->lpVtbl->get_Impact(This,retval) +#define IInstallationBehavior_get_RebootBehavior(This,retval) (This)->lpVtbl->get_RebootBehavior(This,retval) +#define IInstallationBehavior_get_RequiresNetworkConnectivity(This,retval) (This)->lpVtbl->get_RequiresNetworkConnectivity(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallationBehavior_QueryInterface(IInstallationBehavior* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallationBehavior_AddRef(IInstallationBehavior* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallationBehavior_Release(IInstallationBehavior* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInstallationBehavior_GetTypeInfoCount(IInstallationBehavior* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInstallationBehavior_GetTypeInfo(IInstallationBehavior* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInstallationBehavior_GetIDsOfNames(IInstallationBehavior* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInstallationBehavior_Invoke(IInstallationBehavior* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInstallationBehavior methods ***/ +static FORCEINLINE HRESULT IInstallationBehavior_get_CanRequestUserInput(IInstallationBehavior* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_CanRequestUserInput(This,retval); +} +static FORCEINLINE HRESULT IInstallationBehavior_get_Impact(IInstallationBehavior* This,InstallationImpact *retval) { + return This->lpVtbl->get_Impact(This,retval); +} +static FORCEINLINE HRESULT IInstallationBehavior_get_RebootBehavior(IInstallationBehavior* This,InstallationRebootBehavior *retval) { + return This->lpVtbl->get_RebootBehavior(This,retval); +} +static FORCEINLINE HRESULT IInstallationBehavior_get_RequiresNetworkConnectivity(IInstallationBehavior* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_RequiresNetworkConnectivity(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IInstallationBehavior_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateDownloadContent interface + */ +#ifndef __IUpdateDownloadContent_INTERFACE_DEFINED__ +#define __IUpdateDownloadContent_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateDownloadContent, 0x54a2cb2d, 0x9a0c, 0x48b6, 0x8a,0x50, 0x9a,0xbb,0x69,0xee,0x2d,0x02); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02") +IUpdateDownloadContent : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_DownloadUrl( + BSTR *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateDownloadContent, 0x54a2cb2d, 0x9a0c, 0x48b6, 0x8a,0x50, 0x9a,0xbb,0x69,0xee,0x2d,0x02) +#endif +#else +typedef struct IUpdateDownloadContentVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateDownloadContent *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateDownloadContent *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateDownloadContent *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateDownloadContent *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateDownloadContent *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateDownloadContent *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateDownloadContent *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateDownloadContent methods ***/ + HRESULT (STDMETHODCALLTYPE *get_DownloadUrl)( + IUpdateDownloadContent *This, + BSTR *retval); + + END_INTERFACE +} IUpdateDownloadContentVtbl; + +interface IUpdateDownloadContent { + CONST_VTBL IUpdateDownloadContentVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateDownloadContent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateDownloadContent_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateDownloadContent_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateDownloadContent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateDownloadContent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateDownloadContent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateDownloadContent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateDownloadContent methods ***/ +#define IUpdateDownloadContent_get_DownloadUrl(This,retval) (This)->lpVtbl->get_DownloadUrl(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadContent_QueryInterface(IUpdateDownloadContent* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateDownloadContent_AddRef(IUpdateDownloadContent* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateDownloadContent_Release(IUpdateDownloadContent* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadContent_GetTypeInfoCount(IUpdateDownloadContent* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateDownloadContent_GetTypeInfo(IUpdateDownloadContent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateDownloadContent_GetIDsOfNames(IUpdateDownloadContent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateDownloadContent_Invoke(IUpdateDownloadContent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateDownloadContent methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadContent_get_DownloadUrl(IUpdateDownloadContent* This,BSTR *retval) { + return This->lpVtbl->get_DownloadUrl(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateDownloadContent_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateDownloadContentCollection interface + */ +#ifndef __IUpdateDownloadContentCollection_INTERFACE_DEFINED__ +#define __IUpdateDownloadContentCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateDownloadContentCollection, 0xbc5513c8, 0xb3b8, 0x4bf7, 0xa4,0xd4, 0x36,0x1c,0x0d,0x8c,0x88,0xba); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc5513c8-b3b8-4bf7-a4d4-361c0d8c88ba") +IUpdateDownloadContentCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + IUpdateDownloadContent **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateDownloadContentCollection, 0xbc5513c8, 0xb3b8, 0x4bf7, 0xa4,0xd4, 0x36,0x1c,0x0d,0x8c,0x88,0xba) +#endif +#else +typedef struct IUpdateDownloadContentCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateDownloadContentCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateDownloadContentCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateDownloadContentCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateDownloadContentCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateDownloadContentCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateDownloadContentCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateDownloadContentCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateDownloadContentCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + IUpdateDownloadContentCollection *This, + LONG index, + IUpdateDownloadContent **retval); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IUpdateDownloadContentCollection *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IUpdateDownloadContentCollection *This, + LONG *retval); + + END_INTERFACE +} IUpdateDownloadContentCollectionVtbl; + +interface IUpdateDownloadContentCollection { + CONST_VTBL IUpdateDownloadContentCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateDownloadContentCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateDownloadContentCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateDownloadContentCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateDownloadContentCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateDownloadContentCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateDownloadContentCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateDownloadContentCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateDownloadContentCollection methods ***/ +#define IUpdateDownloadContentCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval) +#define IUpdateDownloadContentCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define IUpdateDownloadContentCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_QueryInterface(IUpdateDownloadContentCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateDownloadContentCollection_AddRef(IUpdateDownloadContentCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateDownloadContentCollection_Release(IUpdateDownloadContentCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_GetTypeInfoCount(IUpdateDownloadContentCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_GetTypeInfo(IUpdateDownloadContentCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_GetIDsOfNames(IUpdateDownloadContentCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_Invoke(IUpdateDownloadContentCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateDownloadContentCollection methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_get_Item(IUpdateDownloadContentCollection* This,LONG index,IUpdateDownloadContent **retval) { + return This->lpVtbl->get_Item(This,index,retval); +} +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_get__NewEnum(IUpdateDownloadContentCollection* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloadContentCollection_get_Count(IUpdateDownloadContentCollection* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateDownloadContentCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdate interface + */ +#ifndef __IUpdate_INTERFACE_DEFINED__ +#define __IUpdate_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdate, 0x6a92b07a, 0xd821, 0x4682, 0xb4,0x23, 0x5c,0x80,0x50,0x22,0xcc,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6a92b07a-d821-4682-b423-5c805022cc4d") +IUpdate : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Title( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AutoSelectOnWebSites( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_BundledUpdates( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CanRequireSource( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Categories( + ICategoryCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Deadline( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DeltaCompressedContentAvailable( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DeltaCompressedContentPreferred( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EulaAccepted( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_EulaText( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HandlerID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Identity( + IUpdateIdentity **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Image( + IImageInformation **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_InstallationBehavior( + IInstallationBehavior **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsBeta( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsDownloaded( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsHidden( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IsHidden( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsInstalled( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsMandatory( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsUninstallable( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Languages( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LastDeploymentChangeTime( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MaxDownloadSize( + DECIMAL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MinDownloadSize( + DECIMAL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MoreInfoUrls( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MsrcSeverity( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RecommendedCpuSpeed( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RecommendedHardDiskSpace( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RecommendedMemory( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReleaseNotes( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SecurityBulletinIDs( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SupersededUpdateIDs( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SupportUrl( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Type( + UpdateType *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UninstallationNotes( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UninstallationBehavior( + IInstallationBehavior **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UninstallationSteps( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_KBArticleIDs( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE AcceptEula( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DeploymentAction( + DeploymentAction *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CopyFromCache( + BSTR path, + VARIANT_BOOL toExtractCabFiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DownloadPriority( + DownloadPriority *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_DownloadContents( + IUpdateDownloadContentCollection **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdate, 0x6a92b07a, 0xd821, 0x4682, 0xb4,0x23, 0x5c,0x80,0x50,0x22,0xcc,0x4d) +#endif +#else +typedef struct IUpdateVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdate *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdate *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdate *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdate *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdate *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdate *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdate *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdate methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Title)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_AutoSelectOnWebSites)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_BundledUpdates)( + IUpdate *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_CanRequireSource)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Categories)( + IUpdate *This, + ICategoryCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_Deadline)( + IUpdate *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *get_DeltaCompressedContentAvailable)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_DeltaCompressedContentPreferred)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Description)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_EulaAccepted)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_EulaText)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_HandlerID)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Identity)( + IUpdate *This, + IUpdateIdentity **retval); + + HRESULT (STDMETHODCALLTYPE *get_Image)( + IUpdate *This, + IImageInformation **retval); + + HRESULT (STDMETHODCALLTYPE *get_InstallationBehavior)( + IUpdate *This, + IInstallationBehavior **retval); + + HRESULT (STDMETHODCALLTYPE *get_IsBeta)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsDownloaded)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsHidden)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_IsHidden)( + IUpdate *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_IsInstalled)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsMandatory)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsUninstallable)( + IUpdate *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Languages)( + IUpdate *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_LastDeploymentChangeTime)( + IUpdate *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *get_MaxDownloadSize)( + IUpdate *This, + DECIMAL *retval); + + HRESULT (STDMETHODCALLTYPE *get_MinDownloadSize)( + IUpdate *This, + DECIMAL *retval); + + HRESULT (STDMETHODCALLTYPE *get_MoreInfoUrls)( + IUpdate *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_MsrcSeverity)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_RecommendedCpuSpeed)( + IUpdate *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_RecommendedHardDiskSpace)( + IUpdate *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_RecommendedMemory)( + IUpdate *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ReleaseNotes)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_SecurityBulletinIDs)( + IUpdate *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_SupersededUpdateIDs)( + IUpdate *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_SupportUrl)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Type)( + IUpdate *This, + UpdateType *retval); + + HRESULT (STDMETHODCALLTYPE *get_UninstallationNotes)( + IUpdate *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_UninstallationBehavior)( + IUpdate *This, + IInstallationBehavior **retval); + + HRESULT (STDMETHODCALLTYPE *get_UninstallationSteps)( + IUpdate *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_KBArticleIDs)( + IUpdate *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *AcceptEula)( + IUpdate *This); + + HRESULT (STDMETHODCALLTYPE *get_DeploymentAction)( + IUpdate *This, + DeploymentAction *retval); + + HRESULT (STDMETHODCALLTYPE *CopyFromCache)( + IUpdate *This, + BSTR path, + VARIANT_BOOL toExtractCabFiles); + + HRESULT (STDMETHODCALLTYPE *get_DownloadPriority)( + IUpdate *This, + DownloadPriority *retval); + + HRESULT (STDMETHODCALLTYPE *get_DownloadContents)( + IUpdate *This, + IUpdateDownloadContentCollection **retval); + + END_INTERFACE +} IUpdateVtbl; + +interface IUpdate { + CONST_VTBL IUpdateVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdate_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdate_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdate methods ***/ +#define IUpdate_get_Title(This,retval) (This)->lpVtbl->get_Title(This,retval) +#define IUpdate_get_AutoSelectOnWebSites(This,retval) (This)->lpVtbl->get_AutoSelectOnWebSites(This,retval) +#define IUpdate_get_BundledUpdates(This,retval) (This)->lpVtbl->get_BundledUpdates(This,retval) +#define IUpdate_get_CanRequireSource(This,retval) (This)->lpVtbl->get_CanRequireSource(This,retval) +#define IUpdate_get_Categories(This,retval) (This)->lpVtbl->get_Categories(This,retval) +#define IUpdate_get_Deadline(This,retval) (This)->lpVtbl->get_Deadline(This,retval) +#define IUpdate_get_DeltaCompressedContentAvailable(This,retval) (This)->lpVtbl->get_DeltaCompressedContentAvailable(This,retval) +#define IUpdate_get_DeltaCompressedContentPreferred(This,retval) (This)->lpVtbl->get_DeltaCompressedContentPreferred(This,retval) +#define IUpdate_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval) +#define IUpdate_get_EulaAccepted(This,retval) (This)->lpVtbl->get_EulaAccepted(This,retval) +#define IUpdate_get_EulaText(This,retval) (This)->lpVtbl->get_EulaText(This,retval) +#define IUpdate_get_HandlerID(This,retval) (This)->lpVtbl->get_HandlerID(This,retval) +#define IUpdate_get_Identity(This,retval) (This)->lpVtbl->get_Identity(This,retval) +#define IUpdate_get_Image(This,retval) (This)->lpVtbl->get_Image(This,retval) +#define IUpdate_get_InstallationBehavior(This,retval) (This)->lpVtbl->get_InstallationBehavior(This,retval) +#define IUpdate_get_IsBeta(This,retval) (This)->lpVtbl->get_IsBeta(This,retval) +#define IUpdate_get_IsDownloaded(This,retval) (This)->lpVtbl->get_IsDownloaded(This,retval) +#define IUpdate_get_IsHidden(This,retval) (This)->lpVtbl->get_IsHidden(This,retval) +#define IUpdate_put_IsHidden(This,value) (This)->lpVtbl->put_IsHidden(This,value) +#define IUpdate_get_IsInstalled(This,retval) (This)->lpVtbl->get_IsInstalled(This,retval) +#define IUpdate_get_IsMandatory(This,retval) (This)->lpVtbl->get_IsMandatory(This,retval) +#define IUpdate_get_IsUninstallable(This,retval) (This)->lpVtbl->get_IsUninstallable(This,retval) +#define IUpdate_get_Languages(This,retval) (This)->lpVtbl->get_Languages(This,retval) +#define IUpdate_get_LastDeploymentChangeTime(This,retval) (This)->lpVtbl->get_LastDeploymentChangeTime(This,retval) +#define IUpdate_get_MaxDownloadSize(This,retval) (This)->lpVtbl->get_MaxDownloadSize(This,retval) +#define IUpdate_get_MinDownloadSize(This,retval) (This)->lpVtbl->get_MinDownloadSize(This,retval) +#define IUpdate_get_MoreInfoUrls(This,retval) (This)->lpVtbl->get_MoreInfoUrls(This,retval) +#define IUpdate_get_MsrcSeverity(This,retval) (This)->lpVtbl->get_MsrcSeverity(This,retval) +#define IUpdate_get_RecommendedCpuSpeed(This,retval) (This)->lpVtbl->get_RecommendedCpuSpeed(This,retval) +#define IUpdate_get_RecommendedHardDiskSpace(This,retval) (This)->lpVtbl->get_RecommendedHardDiskSpace(This,retval) +#define IUpdate_get_RecommendedMemory(This,retval) (This)->lpVtbl->get_RecommendedMemory(This,retval) +#define IUpdate_get_ReleaseNotes(This,retval) (This)->lpVtbl->get_ReleaseNotes(This,retval) +#define IUpdate_get_SecurityBulletinIDs(This,retval) (This)->lpVtbl->get_SecurityBulletinIDs(This,retval) +#define IUpdate_get_SupersededUpdateIDs(This,retval) (This)->lpVtbl->get_SupersededUpdateIDs(This,retval) +#define IUpdate_get_SupportUrl(This,retval) (This)->lpVtbl->get_SupportUrl(This,retval) +#define IUpdate_get_Type(This,retval) (This)->lpVtbl->get_Type(This,retval) +#define IUpdate_get_UninstallationNotes(This,retval) (This)->lpVtbl->get_UninstallationNotes(This,retval) +#define IUpdate_get_UninstallationBehavior(This,retval) (This)->lpVtbl->get_UninstallationBehavior(This,retval) +#define IUpdate_get_UninstallationSteps(This,retval) (This)->lpVtbl->get_UninstallationSteps(This,retval) +#define IUpdate_get_KBArticleIDs(This,retval) (This)->lpVtbl->get_KBArticleIDs(This,retval) +#define IUpdate_AcceptEula(This) (This)->lpVtbl->AcceptEula(This) +#define IUpdate_get_DeploymentAction(This,retval) (This)->lpVtbl->get_DeploymentAction(This,retval) +#define IUpdate_CopyFromCache(This,path,toExtractCabFiles) (This)->lpVtbl->CopyFromCache(This,path,toExtractCabFiles) +#define IUpdate_get_DownloadPriority(This,retval) (This)->lpVtbl->get_DownloadPriority(This,retval) +#define IUpdate_get_DownloadContents(This,retval) (This)->lpVtbl->get_DownloadContents(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdate_QueryInterface(IUpdate* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdate_AddRef(IUpdate* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdate_Release(IUpdate* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdate_GetTypeInfoCount(IUpdate* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdate_GetTypeInfo(IUpdate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdate_GetIDsOfNames(IUpdate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdate_Invoke(IUpdate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdate methods ***/ +static FORCEINLINE HRESULT IUpdate_get_Title(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_Title(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_AutoSelectOnWebSites(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_AutoSelectOnWebSites(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_BundledUpdates(IUpdate* This,IUpdateCollection **retval) { + return This->lpVtbl->get_BundledUpdates(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_CanRequireSource(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_CanRequireSource(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Categories(IUpdate* This,ICategoryCollection **retval) { + return This->lpVtbl->get_Categories(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Deadline(IUpdate* This,VARIANT *retval) { + return This->lpVtbl->get_Deadline(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_DeltaCompressedContentAvailable(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_DeltaCompressedContentAvailable(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_DeltaCompressedContentPreferred(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_DeltaCompressedContentPreferred(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Description(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_Description(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_EulaAccepted(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_EulaAccepted(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_EulaText(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_EulaText(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_HandlerID(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_HandlerID(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Identity(IUpdate* This,IUpdateIdentity **retval) { + return This->lpVtbl->get_Identity(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Image(IUpdate* This,IImageInformation **retval) { + return This->lpVtbl->get_Image(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_InstallationBehavior(IUpdate* This,IInstallationBehavior **retval) { + return This->lpVtbl->get_InstallationBehavior(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_IsBeta(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsBeta(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_IsDownloaded(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsDownloaded(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_IsHidden(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsHidden(This,retval); +} +static FORCEINLINE HRESULT IUpdate_put_IsHidden(IUpdate* This,VARIANT_BOOL value) { + return This->lpVtbl->put_IsHidden(This,value); +} +static FORCEINLINE HRESULT IUpdate_get_IsInstalled(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsInstalled(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_IsMandatory(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsMandatory(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_IsUninstallable(IUpdate* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsUninstallable(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Languages(IUpdate* This,IStringCollection **retval) { + return This->lpVtbl->get_Languages(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_LastDeploymentChangeTime(IUpdate* This,DATE *retval) { + return This->lpVtbl->get_LastDeploymentChangeTime(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_MaxDownloadSize(IUpdate* This,DECIMAL *retval) { + return This->lpVtbl->get_MaxDownloadSize(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_MinDownloadSize(IUpdate* This,DECIMAL *retval) { + return This->lpVtbl->get_MinDownloadSize(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_MoreInfoUrls(IUpdate* This,IStringCollection **retval) { + return This->lpVtbl->get_MoreInfoUrls(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_MsrcSeverity(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_MsrcSeverity(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_RecommendedCpuSpeed(IUpdate* This,LONG *retval) { + return This->lpVtbl->get_RecommendedCpuSpeed(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_RecommendedHardDiskSpace(IUpdate* This,LONG *retval) { + return This->lpVtbl->get_RecommendedHardDiskSpace(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_RecommendedMemory(IUpdate* This,LONG *retval) { + return This->lpVtbl->get_RecommendedMemory(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_ReleaseNotes(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_ReleaseNotes(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_SecurityBulletinIDs(IUpdate* This,IStringCollection **retval) { + return This->lpVtbl->get_SecurityBulletinIDs(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_SupersededUpdateIDs(IUpdate* This,IStringCollection **retval) { + return This->lpVtbl->get_SupersededUpdateIDs(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_SupportUrl(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_SupportUrl(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_Type(IUpdate* This,UpdateType *retval) { + return This->lpVtbl->get_Type(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_UninstallationNotes(IUpdate* This,BSTR *retval) { + return This->lpVtbl->get_UninstallationNotes(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_UninstallationBehavior(IUpdate* This,IInstallationBehavior **retval) { + return This->lpVtbl->get_UninstallationBehavior(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_UninstallationSteps(IUpdate* This,IStringCollection **retval) { + return This->lpVtbl->get_UninstallationSteps(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_KBArticleIDs(IUpdate* This,IStringCollection **retval) { + return This->lpVtbl->get_KBArticleIDs(This,retval); +} +static FORCEINLINE HRESULT IUpdate_AcceptEula(IUpdate* This) { + return This->lpVtbl->AcceptEula(This); +} +static FORCEINLINE HRESULT IUpdate_get_DeploymentAction(IUpdate* This,DeploymentAction *retval) { + return This->lpVtbl->get_DeploymentAction(This,retval); +} +static FORCEINLINE HRESULT IUpdate_CopyFromCache(IUpdate* This,BSTR path,VARIANT_BOOL toExtractCabFiles) { + return This->lpVtbl->CopyFromCache(This,path,toExtractCabFiles); +} +static FORCEINLINE HRESULT IUpdate_get_DownloadPriority(IUpdate* This,DownloadPriority *retval) { + return This->lpVtbl->get_DownloadPriority(This,retval); +} +static FORCEINLINE HRESULT IUpdate_get_DownloadContents(IUpdate* This,IUpdateDownloadContentCollection **retval) { + return This->lpVtbl->get_DownloadContents(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdate_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateCollection interface + */ +#ifndef __IUpdateCollection_INTERFACE_DEFINED__ +#define __IUpdateCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateCollection, 0x07f7438c, 0x7709, 0x4ca5, 0xb5,0x18, 0x91,0x27,0x92,0x88,0x13,0x4e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("07f7438c-7709-4ca5-b518-91279288134e") +IUpdateCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + IUpdate **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Item( + LONG index, + IUpdate *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ReadOnly( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + IUpdate *value, + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clear( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Copy( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Insert( + LONG index, + IUpdate *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveAt( + LONG index) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateCollection, 0x07f7438c, 0x7709, 0x4ca5, 0xb5,0x18, 0x91,0x27,0x92,0x88,0x13,0x4e) +#endif +#else +typedef struct IUpdateCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + IUpdateCollection *This, + LONG index, + IUpdate **retval); + + HRESULT (STDMETHODCALLTYPE *put_Item)( + IUpdateCollection *This, + LONG index, + IUpdate *value); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IUpdateCollection *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IUpdateCollection *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ReadOnly)( + IUpdateCollection *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *Add)( + IUpdateCollection *This, + IUpdate *value, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *Clear)( + IUpdateCollection *This); + + HRESULT (STDMETHODCALLTYPE *Copy)( + IUpdateCollection *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *Insert)( + IUpdateCollection *This, + LONG index, + IUpdate *value); + + HRESULT (STDMETHODCALLTYPE *RemoveAt)( + IUpdateCollection *This, + LONG index); + + END_INTERFACE +} IUpdateCollectionVtbl; + +interface IUpdateCollection { + CONST_VTBL IUpdateCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateCollection methods ***/ +#define IUpdateCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval) +#define IUpdateCollection_put_Item(This,index,value) (This)->lpVtbl->put_Item(This,index,value) +#define IUpdateCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define IUpdateCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#define IUpdateCollection_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval) +#define IUpdateCollection_Add(This,value,retval) (This)->lpVtbl->Add(This,value,retval) +#define IUpdateCollection_Clear(This) (This)->lpVtbl->Clear(This) +#define IUpdateCollection_Copy(This,retval) (This)->lpVtbl->Copy(This,retval) +#define IUpdateCollection_Insert(This,index,value) (This)->lpVtbl->Insert(This,index,value) +#define IUpdateCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateCollection_QueryInterface(IUpdateCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateCollection_AddRef(IUpdateCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateCollection_Release(IUpdateCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateCollection_GetTypeInfoCount(IUpdateCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateCollection_GetTypeInfo(IUpdateCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateCollection_GetIDsOfNames(IUpdateCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateCollection_Invoke(IUpdateCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateCollection methods ***/ +static FORCEINLINE HRESULT IUpdateCollection_get_Item(IUpdateCollection* This,LONG index,IUpdate **retval) { + return This->lpVtbl->get_Item(This,index,retval); +} +static FORCEINLINE HRESULT IUpdateCollection_put_Item(IUpdateCollection* This,LONG index,IUpdate *value) { + return This->lpVtbl->put_Item(This,index,value); +} +static FORCEINLINE HRESULT IUpdateCollection_get__NewEnum(IUpdateCollection* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT IUpdateCollection_get_Count(IUpdateCollection* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +static FORCEINLINE HRESULT IUpdateCollection_get_ReadOnly(IUpdateCollection* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_ReadOnly(This,retval); +} +static FORCEINLINE HRESULT IUpdateCollection_Add(IUpdateCollection* This,IUpdate *value,LONG *retval) { + return This->lpVtbl->Add(This,value,retval); +} +static FORCEINLINE HRESULT IUpdateCollection_Clear(IUpdateCollection* This) { + return This->lpVtbl->Clear(This); +} +static FORCEINLINE HRESULT IUpdateCollection_Copy(IUpdateCollection* This,IUpdateCollection **retval) { + return This->lpVtbl->Copy(This,retval); +} +static FORCEINLINE HRESULT IUpdateCollection_Insert(IUpdateCollection* This,LONG index,IUpdate *value) { + return This->lpVtbl->Insert(This,index,value); +} +static FORCEINLINE HRESULT IUpdateCollection_RemoveAt(IUpdateCollection* This,LONG index) { + return This->lpVtbl->RemoveAt(This,index); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearchJob interface + */ +#ifndef __ISearchJob_INTERFACE_DEFINED__ +#define __ISearchJob_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearchJob, 0x7366ea16, 0x7a1a, 0x4ea2, 0xb0,0x42, 0x97,0x3d,0x3e,0x9c,0xd9,0x9b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7366ea16-7a1a-4ea2-b042-973d3e9cd99b") +ISearchJob : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AsyncState( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsCompleted( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CleanUp( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestAbort( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearchJob, 0x7366ea16, 0x7a1a, 0x4ea2, 0xb0,0x42, 0x97,0x3d,0x3e,0x9c,0xd9,0x9b) +#endif +#else +typedef struct ISearchJobVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearchJob *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearchJob *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearchJob *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearchJob *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearchJob *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearchJob *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearchJob *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearchJob methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AsyncState)( + ISearchJob *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsCompleted)( + ISearchJob *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *CleanUp)( + ISearchJob *This); + + HRESULT (STDMETHODCALLTYPE *RequestAbort)( + ISearchJob *This); + + END_INTERFACE +} ISearchJobVtbl; + +interface ISearchJob { + CONST_VTBL ISearchJobVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearchJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearchJob_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearchJob_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearchJob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearchJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearchJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearchJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearchJob methods ***/ +#define ISearchJob_get_AsyncState(This,retval) (This)->lpVtbl->get_AsyncState(This,retval) +#define ISearchJob_get_IsCompleted(This,retval) (This)->lpVtbl->get_IsCompleted(This,retval) +#define ISearchJob_CleanUp(This) (This)->lpVtbl->CleanUp(This) +#define ISearchJob_RequestAbort(This) (This)->lpVtbl->RequestAbort(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearchJob_QueryInterface(ISearchJob* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearchJob_AddRef(ISearchJob* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearchJob_Release(ISearchJob* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearchJob_GetTypeInfoCount(ISearchJob* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearchJob_GetTypeInfo(ISearchJob* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearchJob_GetIDsOfNames(ISearchJob* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearchJob_Invoke(ISearchJob* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearchJob methods ***/ +static FORCEINLINE HRESULT ISearchJob_get_AsyncState(ISearchJob* This,VARIANT *retval) { + return This->lpVtbl->get_AsyncState(This,retval); +} +static FORCEINLINE HRESULT ISearchJob_get_IsCompleted(ISearchJob* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsCompleted(This,retval); +} +static FORCEINLINE HRESULT ISearchJob_CleanUp(ISearchJob* This) { + return This->lpVtbl->CleanUp(This); +} +static FORCEINLINE HRESULT ISearchJob_RequestAbort(ISearchJob* This) { + return This->lpVtbl->RequestAbort(This); +} +#endif +#endif + +#endif + + +#endif /* __ISearchJob_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISearchResult interface + */ +#ifndef __ISearchResult_INTERFACE_DEFINED__ +#define __ISearchResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISearchResult, 0xd40cff62, 0xe08c, 0x4498, 0x94,0x1a, 0x01,0xe2,0x5f,0x0f,0xd3,0x3c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d40cff62-e08c-4498-941a-01e25f0fd33c") +ISearchResult : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ResultCode( + OperationResultCode *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RootCategories( + ICategoryCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Updates( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Warnings( + IUpdateExceptionCollection **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISearchResult, 0xd40cff62, 0xe08c, 0x4498, 0x94,0x1a, 0x01,0xe2,0x5f,0x0f,0xd3,0x3c) +#endif +#else +typedef struct ISearchResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISearchResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISearchResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISearchResult *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISearchResult *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISearchResult *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISearchResult *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISearchResult *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISearchResult methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ResultCode)( + ISearchResult *This, + OperationResultCode *retval); + + HRESULT (STDMETHODCALLTYPE *get_RootCategories)( + ISearchResult *This, + ICategoryCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_Updates)( + ISearchResult *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_Warnings)( + ISearchResult *This, + IUpdateExceptionCollection **retval); + + END_INTERFACE +} ISearchResultVtbl; + +interface ISearchResult { + CONST_VTBL ISearchResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISearchResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISearchResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISearchResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISearchResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISearchResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISearchResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISearchResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISearchResult methods ***/ +#define ISearchResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval) +#define ISearchResult_get_RootCategories(This,retval) (This)->lpVtbl->get_RootCategories(This,retval) +#define ISearchResult_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval) +#define ISearchResult_get_Warnings(This,retval) (This)->lpVtbl->get_Warnings(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISearchResult_QueryInterface(ISearchResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISearchResult_AddRef(ISearchResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISearchResult_Release(ISearchResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISearchResult_GetTypeInfoCount(ISearchResult* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISearchResult_GetTypeInfo(ISearchResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISearchResult_GetIDsOfNames(ISearchResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISearchResult_Invoke(ISearchResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISearchResult methods ***/ +static FORCEINLINE HRESULT ISearchResult_get_ResultCode(ISearchResult* This,OperationResultCode *retval) { + return This->lpVtbl->get_ResultCode(This,retval); +} +static FORCEINLINE HRESULT ISearchResult_get_RootCategories(ISearchResult* This,ICategoryCollection **retval) { + return This->lpVtbl->get_RootCategories(This,retval); +} +static FORCEINLINE HRESULT ISearchResult_get_Updates(ISearchResult* This,IUpdateCollection **retval) { + return This->lpVtbl->get_Updates(This,retval); +} +static FORCEINLINE HRESULT ISearchResult_get_Warnings(ISearchResult* This,IUpdateExceptionCollection **retval) { + return This->lpVtbl->get_Warnings(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __ISearchResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateHistoryEntry interface + */ +#ifndef __IUpdateHistoryEntry_INTERFACE_DEFINED__ +#define __IUpdateHistoryEntry_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateHistoryEntry, 0xbe56a644, 0xaf0e, 0x4e0e, 0xa3,0x11, 0xc1,0xd8,0xe6,0x95,0xcb,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("be56a644-af0e-4e0e-a311-c1d8e695cbff") +IUpdateHistoryEntry : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Operation( + UpdateOperation *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResultCode( + OperationResultCode *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_HResult( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Date( + DATE *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UpdateIdentity( + IUpdateIdentity **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Title( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Description( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UnmappedResultCode( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServerSelection( + ServerSelection *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServiceID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UninstallationSteps( + IStringCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_UninstallationNotes( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_SupportUrl( + BSTR *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateHistoryEntry, 0xbe56a644, 0xaf0e, 0x4e0e, 0xa3,0x11, 0xc1,0xd8,0xe6,0x95,0xcb,0xff) +#endif +#else +typedef struct IUpdateHistoryEntryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateHistoryEntry *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateHistoryEntry *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateHistoryEntry *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateHistoryEntry *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateHistoryEntry *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateHistoryEntry *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateHistoryEntry *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateHistoryEntry methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Operation)( + IUpdateHistoryEntry *This, + UpdateOperation *retval); + + HRESULT (STDMETHODCALLTYPE *get_ResultCode)( + IUpdateHistoryEntry *This, + OperationResultCode *retval); + + HRESULT (STDMETHODCALLTYPE *get_HResult)( + IUpdateHistoryEntry *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_Date)( + IUpdateHistoryEntry *This, + DATE *retval); + + HRESULT (STDMETHODCALLTYPE *get_UpdateIdentity)( + IUpdateHistoryEntry *This, + IUpdateIdentity **retval); + + HRESULT (STDMETHODCALLTYPE *get_Title)( + IUpdateHistoryEntry *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_Description)( + IUpdateHistoryEntry *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_UnmappedResultCode)( + IUpdateHistoryEntry *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)( + IUpdateHistoryEntry *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_ServerSelection)( + IUpdateHistoryEntry *This, + ServerSelection *retval); + + HRESULT (STDMETHODCALLTYPE *get_ServiceID)( + IUpdateHistoryEntry *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_UninstallationSteps)( + IUpdateHistoryEntry *This, + IStringCollection **retval); + + HRESULT (STDMETHODCALLTYPE *get_UninstallationNotes)( + IUpdateHistoryEntry *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_SupportUrl)( + IUpdateHistoryEntry *This, + BSTR *retval); + + END_INTERFACE +} IUpdateHistoryEntryVtbl; + +interface IUpdateHistoryEntry { + CONST_VTBL IUpdateHistoryEntryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateHistoryEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateHistoryEntry_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateHistoryEntry_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateHistoryEntry_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateHistoryEntry_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateHistoryEntry_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateHistoryEntry_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateHistoryEntry methods ***/ +#define IUpdateHistoryEntry_get_Operation(This,retval) (This)->lpVtbl->get_Operation(This,retval) +#define IUpdateHistoryEntry_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval) +#define IUpdateHistoryEntry_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval) +#define IUpdateHistoryEntry_get_Date(This,retval) (This)->lpVtbl->get_Date(This,retval) +#define IUpdateHistoryEntry_get_UpdateIdentity(This,retval) (This)->lpVtbl->get_UpdateIdentity(This,retval) +#define IUpdateHistoryEntry_get_Title(This,retval) (This)->lpVtbl->get_Title(This,retval) +#define IUpdateHistoryEntry_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval) +#define IUpdateHistoryEntry_get_UnmappedResultCode(This,retval) (This)->lpVtbl->get_UnmappedResultCode(This,retval) +#define IUpdateHistoryEntry_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval) +#define IUpdateHistoryEntry_get_ServerSelection(This,retval) (This)->lpVtbl->get_ServerSelection(This,retval) +#define IUpdateHistoryEntry_get_ServiceID(This,retval) (This)->lpVtbl->get_ServiceID(This,retval) +#define IUpdateHistoryEntry_get_UninstallationSteps(This,retval) (This)->lpVtbl->get_UninstallationSteps(This,retval) +#define IUpdateHistoryEntry_get_UninstallationNotes(This,retval) (This)->lpVtbl->get_UninstallationNotes(This,retval) +#define IUpdateHistoryEntry_get_SupportUrl(This,retval) (This)->lpVtbl->get_SupportUrl(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateHistoryEntry_QueryInterface(IUpdateHistoryEntry* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateHistoryEntry_AddRef(IUpdateHistoryEntry* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateHistoryEntry_Release(IUpdateHistoryEntry* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateHistoryEntry_GetTypeInfoCount(IUpdateHistoryEntry* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_GetTypeInfo(IUpdateHistoryEntry* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_GetIDsOfNames(IUpdateHistoryEntry* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_Invoke(IUpdateHistoryEntry* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateHistoryEntry methods ***/ +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Operation(IUpdateHistoryEntry* This,UpdateOperation *retval) { + return This->lpVtbl->get_Operation(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ResultCode(IUpdateHistoryEntry* This,OperationResultCode *retval) { + return This->lpVtbl->get_ResultCode(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_HResult(IUpdateHistoryEntry* This,LONG *retval) { + return This->lpVtbl->get_HResult(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Date(IUpdateHistoryEntry* This,DATE *retval) { + return This->lpVtbl->get_Date(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UpdateIdentity(IUpdateHistoryEntry* This,IUpdateIdentity **retval) { + return This->lpVtbl->get_UpdateIdentity(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Title(IUpdateHistoryEntry* This,BSTR *retval) { + return This->lpVtbl->get_Title(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Description(IUpdateHistoryEntry* This,BSTR *retval) { + return This->lpVtbl->get_Description(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UnmappedResultCode(IUpdateHistoryEntry* This,LONG *retval) { + return This->lpVtbl->get_UnmappedResultCode(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ClientApplicationID(IUpdateHistoryEntry* This,BSTR *retval) { + return This->lpVtbl->get_ClientApplicationID(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ServerSelection(IUpdateHistoryEntry* This,ServerSelection *retval) { + return This->lpVtbl->get_ServerSelection(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ServiceID(IUpdateHistoryEntry* This,BSTR *retval) { + return This->lpVtbl->get_ServiceID(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UninstallationSteps(IUpdateHistoryEntry* This,IStringCollection **retval) { + return This->lpVtbl->get_UninstallationSteps(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UninstallationNotes(IUpdateHistoryEntry* This,BSTR *retval) { + return This->lpVtbl->get_UninstallationNotes(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntry_get_SupportUrl(IUpdateHistoryEntry* This,BSTR *retval) { + return This->lpVtbl->get_SupportUrl(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateHistoryEntry_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateHistoryEntryCollection interface + */ +#ifndef __IUpdateHistoryEntryCollection_INTERFACE_DEFINED__ +#define __IUpdateHistoryEntryCollection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateHistoryEntryCollection, 0xa7f04f3c, 0xa290, 0x435b, 0xaa,0xdf, 0xa1,0x16,0xc3,0x35,0x7a,0x5c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a7f04f3c-a290-435b-aadf-a116c3357a5c") +IUpdateHistoryEntryCollection : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_Item( + LONG index, + IUpdateHistoryEntry **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get__NewEnum( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Count( + LONG *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateHistoryEntryCollection, 0xa7f04f3c, 0xa290, 0x435b, 0xaa,0xdf, 0xa1,0x16,0xc3,0x35,0x7a,0x5c) +#endif +#else +typedef struct IUpdateHistoryEntryCollectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateHistoryEntryCollection *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateHistoryEntryCollection *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateHistoryEntryCollection *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateHistoryEntryCollection *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateHistoryEntryCollection *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateHistoryEntryCollection *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateHistoryEntryCollection *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateHistoryEntryCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Item)( + IUpdateHistoryEntryCollection *This, + LONG index, + IUpdateHistoryEntry **retval); + + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IUpdateHistoryEntryCollection *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IUpdateHistoryEntryCollection *This, + LONG *retval); + + END_INTERFACE +} IUpdateHistoryEntryCollectionVtbl; + +interface IUpdateHistoryEntryCollection { + CONST_VTBL IUpdateHistoryEntryCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateHistoryEntryCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateHistoryEntryCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateHistoryEntryCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateHistoryEntryCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateHistoryEntryCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateHistoryEntryCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateHistoryEntryCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateHistoryEntryCollection methods ***/ +#define IUpdateHistoryEntryCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval) +#define IUpdateHistoryEntryCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval) +#define IUpdateHistoryEntryCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_QueryInterface(IUpdateHistoryEntryCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateHistoryEntryCollection_AddRef(IUpdateHistoryEntryCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateHistoryEntryCollection_Release(IUpdateHistoryEntryCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_GetTypeInfoCount(IUpdateHistoryEntryCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_GetTypeInfo(IUpdateHistoryEntryCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_GetIDsOfNames(IUpdateHistoryEntryCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_Invoke(IUpdateHistoryEntryCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateHistoryEntryCollection methods ***/ +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_get_Item(IUpdateHistoryEntryCollection* This,LONG index,IUpdateHistoryEntry **retval) { + return This->lpVtbl->get_Item(This,index,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_get__NewEnum(IUpdateHistoryEntryCollection* This,IUnknown **retval) { + return This->lpVtbl->get__NewEnum(This,retval); +} +static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_get_Count(IUpdateHistoryEntryCollection* This,LONG *retval) { + return This->lpVtbl->get_Count(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateHistoryEntryCollection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateSearcher interface + */ +#ifndef __IUpdateSearcher_INTERFACE_DEFINED__ +#define __IUpdateSearcher_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateSearcher, 0x8f45abf1, 0xf9ae, 0x4b95, 0xa9,0x33, 0xf0,0xf6,0x6e,0x50,0x56,0xea); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f45abf1-f9ae-4b95-a933-f0f66e5056ea") +IUpdateSearcher : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_CanAutomaticallyUpgradeService( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_CanAutomaticallyUpgradeService( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IncludePotentiallySupersededUpdates( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IncludePotentiallySupersededUpdates( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServerSelection( + ServerSelection *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ServerSelection( + ServerSelection value) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginSearch( + BSTR criteria, + IUnknown *onCompleted, + VARIANT state, + ISearchJob **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndSearch( + ISearchJob *searchJob, + ISearchResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EscapeString( + BSTR unescaped, + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryHistory( + LONG startIndex, + LONG count, + IUpdateHistoryEntryCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Search( + BSTR criteria, + ISearchResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Online( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Online( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTotalHistoryCount( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ServiceID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ServiceID( + BSTR value) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateSearcher, 0x8f45abf1, 0xf9ae, 0x4b95, 0xa9,0x33, 0xf0,0xf6,0x6e,0x50,0x56,0xea) +#endif +#else +typedef struct IUpdateSearcherVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateSearcher *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateSearcher *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateSearcher *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateSearcher *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateSearcher *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateSearcher *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateSearcher *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateSearcher methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CanAutomaticallyUpgradeService)( + IUpdateSearcher *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_CanAutomaticallyUpgradeService)( + IUpdateSearcher *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)( + IUpdateSearcher *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)( + IUpdateSearcher *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get_IncludePotentiallySupersededUpdates)( + IUpdateSearcher *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_IncludePotentiallySupersededUpdates)( + IUpdateSearcher *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_ServerSelection)( + IUpdateSearcher *This, + ServerSelection *retval); + + HRESULT (STDMETHODCALLTYPE *put_ServerSelection)( + IUpdateSearcher *This, + ServerSelection value); + + HRESULT (STDMETHODCALLTYPE *BeginSearch)( + IUpdateSearcher *This, + BSTR criteria, + IUnknown *onCompleted, + VARIANT state, + ISearchJob **retval); + + HRESULT (STDMETHODCALLTYPE *EndSearch)( + IUpdateSearcher *This, + ISearchJob *searchJob, + ISearchResult **retval); + + HRESULT (STDMETHODCALLTYPE *EscapeString)( + IUpdateSearcher *This, + BSTR unescaped, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *QueryHistory)( + IUpdateSearcher *This, + LONG startIndex, + LONG count, + IUpdateHistoryEntryCollection **retval); + + HRESULT (STDMETHODCALLTYPE *Search)( + IUpdateSearcher *This, + BSTR criteria, + ISearchResult **retval); + + HRESULT (STDMETHODCALLTYPE *get_Online)( + IUpdateSearcher *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_Online)( + IUpdateSearcher *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *GetTotalHistoryCount)( + IUpdateSearcher *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ServiceID)( + IUpdateSearcher *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_ServiceID)( + IUpdateSearcher *This, + BSTR value); + + END_INTERFACE +} IUpdateSearcherVtbl; + +interface IUpdateSearcher { + CONST_VTBL IUpdateSearcherVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateSearcher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateSearcher_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateSearcher_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateSearcher_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateSearcher_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateSearcher_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateSearcher_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateSearcher methods ***/ +#define IUpdateSearcher_get_CanAutomaticallyUpgradeService(This,retval) (This)->lpVtbl->get_CanAutomaticallyUpgradeService(This,retval) +#define IUpdateSearcher_put_CanAutomaticallyUpgradeService(This,value) (This)->lpVtbl->put_CanAutomaticallyUpgradeService(This,value) +#define IUpdateSearcher_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval) +#define IUpdateSearcher_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value) +#define IUpdateSearcher_get_IncludePotentiallySupersededUpdates(This,retval) (This)->lpVtbl->get_IncludePotentiallySupersededUpdates(This,retval) +#define IUpdateSearcher_put_IncludePotentiallySupersededUpdates(This,value) (This)->lpVtbl->put_IncludePotentiallySupersededUpdates(This,value) +#define IUpdateSearcher_get_ServerSelection(This,retval) (This)->lpVtbl->get_ServerSelection(This,retval) +#define IUpdateSearcher_put_ServerSelection(This,value) (This)->lpVtbl->put_ServerSelection(This,value) +#define IUpdateSearcher_BeginSearch(This,criteria,onCompleted,state,retval) (This)->lpVtbl->BeginSearch(This,criteria,onCompleted,state,retval) +#define IUpdateSearcher_EndSearch(This,searchJob,retval) (This)->lpVtbl->EndSearch(This,searchJob,retval) +#define IUpdateSearcher_EscapeString(This,unescaped,retval) (This)->lpVtbl->EscapeString(This,unescaped,retval) +#define IUpdateSearcher_QueryHistory(This,startIndex,count,retval) (This)->lpVtbl->QueryHistory(This,startIndex,count,retval) +#define IUpdateSearcher_Search(This,criteria,retval) (This)->lpVtbl->Search(This,criteria,retval) +#define IUpdateSearcher_get_Online(This,retval) (This)->lpVtbl->get_Online(This,retval) +#define IUpdateSearcher_put_Online(This,value) (This)->lpVtbl->put_Online(This,value) +#define IUpdateSearcher_GetTotalHistoryCount(This,retval) (This)->lpVtbl->GetTotalHistoryCount(This,retval) +#define IUpdateSearcher_get_ServiceID(This,retval) (This)->lpVtbl->get_ServiceID(This,retval) +#define IUpdateSearcher_put_ServiceID(This,value) (This)->lpVtbl->put_ServiceID(This,value) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateSearcher_QueryInterface(IUpdateSearcher* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateSearcher_AddRef(IUpdateSearcher* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateSearcher_Release(IUpdateSearcher* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateSearcher_GetTypeInfoCount(IUpdateSearcher* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateSearcher_GetTypeInfo(IUpdateSearcher* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateSearcher_GetIDsOfNames(IUpdateSearcher* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateSearcher_Invoke(IUpdateSearcher* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateSearcher methods ***/ +static FORCEINLINE HRESULT IUpdateSearcher_get_CanAutomaticallyUpgradeService(IUpdateSearcher* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_CanAutomaticallyUpgradeService(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_put_CanAutomaticallyUpgradeService(IUpdateSearcher* This,VARIANT_BOOL value) { + return This->lpVtbl->put_CanAutomaticallyUpgradeService(This,value); +} +static FORCEINLINE HRESULT IUpdateSearcher_get_ClientApplicationID(IUpdateSearcher* This,BSTR *retval) { + return This->lpVtbl->get_ClientApplicationID(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_put_ClientApplicationID(IUpdateSearcher* This,BSTR value) { + return This->lpVtbl->put_ClientApplicationID(This,value); +} +static FORCEINLINE HRESULT IUpdateSearcher_get_IncludePotentiallySupersededUpdates(IUpdateSearcher* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IncludePotentiallySupersededUpdates(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_put_IncludePotentiallySupersededUpdates(IUpdateSearcher* This,VARIANT_BOOL value) { + return This->lpVtbl->put_IncludePotentiallySupersededUpdates(This,value); +} +static FORCEINLINE HRESULT IUpdateSearcher_get_ServerSelection(IUpdateSearcher* This,ServerSelection *retval) { + return This->lpVtbl->get_ServerSelection(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_put_ServerSelection(IUpdateSearcher* This,ServerSelection value) { + return This->lpVtbl->put_ServerSelection(This,value); +} +static FORCEINLINE HRESULT IUpdateSearcher_BeginSearch(IUpdateSearcher* This,BSTR criteria,IUnknown *onCompleted,VARIANT state,ISearchJob **retval) { + return This->lpVtbl->BeginSearch(This,criteria,onCompleted,state,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_EndSearch(IUpdateSearcher* This,ISearchJob *searchJob,ISearchResult **retval) { + return This->lpVtbl->EndSearch(This,searchJob,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_EscapeString(IUpdateSearcher* This,BSTR unescaped,BSTR *retval) { + return This->lpVtbl->EscapeString(This,unescaped,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_QueryHistory(IUpdateSearcher* This,LONG startIndex,LONG count,IUpdateHistoryEntryCollection **retval) { + return This->lpVtbl->QueryHistory(This,startIndex,count,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_Search(IUpdateSearcher* This,BSTR criteria,ISearchResult **retval) { + return This->lpVtbl->Search(This,criteria,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_get_Online(IUpdateSearcher* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_Online(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_put_Online(IUpdateSearcher* This,VARIANT_BOOL value) { + return This->lpVtbl->put_Online(This,value); +} +static FORCEINLINE HRESULT IUpdateSearcher_GetTotalHistoryCount(IUpdateSearcher* This,LONG *retval) { + return This->lpVtbl->GetTotalHistoryCount(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_get_ServiceID(IUpdateSearcher* This,BSTR *retval) { + return This->lpVtbl->get_ServiceID(This,retval); +} +static FORCEINLINE HRESULT IUpdateSearcher_put_ServiceID(IUpdateSearcher* This,BSTR value) { + return This->lpVtbl->put_ServiceID(This,value); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateSearcher_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateDownloadResult interface + */ +#ifndef __IUpdateDownloadResult_INTERFACE_DEFINED__ +#define __IUpdateDownloadResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateDownloadResult, 0xbf99af76, 0xb575, 0x42ad, 0x8a,0xa4, 0x33,0xcb,0xb5,0x47,0x7a,0xf1); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bf99af76-b575-42ad-8aa4-33cbb5477af1") +IUpdateDownloadResult : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_HResult( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResultCode( + OperationResultCode *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateDownloadResult, 0xbf99af76, 0xb575, 0x42ad, 0x8a,0xa4, 0x33,0xcb,0xb5,0x47,0x7a,0xf1) +#endif +#else +typedef struct IUpdateDownloadResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateDownloadResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateDownloadResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateDownloadResult *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateDownloadResult *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateDownloadResult *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateDownloadResult *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateDownloadResult *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateDownloadResult methods ***/ + HRESULT (STDMETHODCALLTYPE *get_HResult)( + IUpdateDownloadResult *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ResultCode)( + IUpdateDownloadResult *This, + OperationResultCode *retval); + + END_INTERFACE +} IUpdateDownloadResultVtbl; + +interface IUpdateDownloadResult { + CONST_VTBL IUpdateDownloadResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateDownloadResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateDownloadResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateDownloadResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateDownloadResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateDownloadResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateDownloadResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateDownloadResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateDownloadResult methods ***/ +#define IUpdateDownloadResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval) +#define IUpdateDownloadResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadResult_QueryInterface(IUpdateDownloadResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateDownloadResult_AddRef(IUpdateDownloadResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateDownloadResult_Release(IUpdateDownloadResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadResult_GetTypeInfoCount(IUpdateDownloadResult* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateDownloadResult_GetTypeInfo(IUpdateDownloadResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateDownloadResult_GetIDsOfNames(IUpdateDownloadResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateDownloadResult_Invoke(IUpdateDownloadResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateDownloadResult methods ***/ +static FORCEINLINE HRESULT IUpdateDownloadResult_get_HResult(IUpdateDownloadResult* This,LONG *retval) { + return This->lpVtbl->get_HResult(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloadResult_get_ResultCode(IUpdateDownloadResult* This,OperationResultCode *retval) { + return This->lpVtbl->get_ResultCode(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateDownloadResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDownloadProgress interface + */ +#ifndef __IDownloadProgress_INTERFACE_DEFINED__ +#define __IDownloadProgress_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDownloadProgress, 0xd31a5bac, 0xf719, 0x4178, 0x9d,0xbb, 0x5e,0x2c,0xb4,0x7f,0xd1,0x8a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d31a5bac-f719-4178-9dbb-5e2cb47fd18a") +IDownloadProgress : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateBytesDownloaded( + DECIMAL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateBytesToDownload( + DECIMAL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateIndex( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PercentComplete( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TotalBytesDownloaded( + DECIMAL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_TotalBytesToDownload( + DECIMAL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUpdateResult( + LONG updateIndex, + IUpdateDownloadResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateDownloadPhase( + DownloadPhase *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdatePercentComplete( + LONG *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDownloadProgress, 0xd31a5bac, 0xf719, 0x4178, 0x9d,0xbb, 0x5e,0x2c,0xb4,0x7f,0xd1,0x8a) +#endif +#else +typedef struct IDownloadProgressVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDownloadProgress *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDownloadProgress *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDownloadProgress *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDownloadProgress *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDownloadProgress *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDownloadProgress *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDownloadProgress *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDownloadProgress methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateBytesDownloaded)( + IDownloadProgress *This, + DECIMAL *retval); + + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateBytesToDownload)( + IDownloadProgress *This, + DECIMAL *retval); + + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateIndex)( + IDownloadProgress *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_PercentComplete)( + IDownloadProgress *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_TotalBytesDownloaded)( + IDownloadProgress *This, + DECIMAL *retval); + + HRESULT (STDMETHODCALLTYPE *get_TotalBytesToDownload)( + IDownloadProgress *This, + DECIMAL *retval); + + HRESULT (STDMETHODCALLTYPE *GetUpdateResult)( + IDownloadProgress *This, + LONG updateIndex, + IUpdateDownloadResult **retval); + + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateDownloadPhase)( + IDownloadProgress *This, + DownloadPhase *retval); + + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdatePercentComplete)( + IDownloadProgress *This, + LONG *retval); + + END_INTERFACE +} IDownloadProgressVtbl; + +interface IDownloadProgress { + CONST_VTBL IDownloadProgressVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDownloadProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDownloadProgress_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDownloadProgress_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDownloadProgress_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDownloadProgress_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDownloadProgress_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDownloadProgress_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDownloadProgress methods ***/ +#define IDownloadProgress_get_CurrentUpdateBytesDownloaded(This,retval) (This)->lpVtbl->get_CurrentUpdateBytesDownloaded(This,retval) +#define IDownloadProgress_get_CurrentUpdateBytesToDownload(This,retval) (This)->lpVtbl->get_CurrentUpdateBytesToDownload(This,retval) +#define IDownloadProgress_get_CurrentUpdateIndex(This,retval) (This)->lpVtbl->get_CurrentUpdateIndex(This,retval) +#define IDownloadProgress_get_PercentComplete(This,retval) (This)->lpVtbl->get_PercentComplete(This,retval) +#define IDownloadProgress_get_TotalBytesDownloaded(This,retval) (This)->lpVtbl->get_TotalBytesDownloaded(This,retval) +#define IDownloadProgress_get_TotalBytesToDownload(This,retval) (This)->lpVtbl->get_TotalBytesToDownload(This,retval) +#define IDownloadProgress_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval) +#define IDownloadProgress_get_CurrentUpdateDownloadPhase(This,retval) (This)->lpVtbl->get_CurrentUpdateDownloadPhase(This,retval) +#define IDownloadProgress_get_CurrentUpdatePercentComplete(This,retval) (This)->lpVtbl->get_CurrentUpdatePercentComplete(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDownloadProgress_QueryInterface(IDownloadProgress* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDownloadProgress_AddRef(IDownloadProgress* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDownloadProgress_Release(IDownloadProgress* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDownloadProgress_GetTypeInfoCount(IDownloadProgress* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDownloadProgress_GetTypeInfo(IDownloadProgress* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDownloadProgress_GetIDsOfNames(IDownloadProgress* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDownloadProgress_Invoke(IDownloadProgress* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDownloadProgress methods ***/ +static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateBytesDownloaded(IDownloadProgress* This,DECIMAL *retval) { + return This->lpVtbl->get_CurrentUpdateBytesDownloaded(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateBytesToDownload(IDownloadProgress* This,DECIMAL *retval) { + return This->lpVtbl->get_CurrentUpdateBytesToDownload(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateIndex(IDownloadProgress* This,LONG *retval) { + return This->lpVtbl->get_CurrentUpdateIndex(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_PercentComplete(IDownloadProgress* This,LONG *retval) { + return This->lpVtbl->get_PercentComplete(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_TotalBytesDownloaded(IDownloadProgress* This,DECIMAL *retval) { + return This->lpVtbl->get_TotalBytesDownloaded(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_TotalBytesToDownload(IDownloadProgress* This,DECIMAL *retval) { + return This->lpVtbl->get_TotalBytesToDownload(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_GetUpdateResult(IDownloadProgress* This,LONG updateIndex,IUpdateDownloadResult **retval) { + return This->lpVtbl->GetUpdateResult(This,updateIndex,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateDownloadPhase(IDownloadProgress* This,DownloadPhase *retval) { + return This->lpVtbl->get_CurrentUpdateDownloadPhase(This,retval); +} +static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdatePercentComplete(IDownloadProgress* This,LONG *retval) { + return This->lpVtbl->get_CurrentUpdatePercentComplete(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IDownloadProgress_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDownloadJob interface + */ +#ifndef __IDownloadJob_INTERFACE_DEFINED__ +#define __IDownloadJob_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDownloadJob, 0xc574de85, 0x7358, 0x43f6, 0xaa,0xe8, 0x86,0x97,0xe6,0x2d,0x8b,0xa7); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("c574de85-7358-43f6-aae8-8697e62d8ba7") +IDownloadJob : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AsyncState( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsCompleted( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Updates( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CleanUp( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProgress( + IDownloadProgress **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestAbort( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDownloadJob, 0xc574de85, 0x7358, 0x43f6, 0xaa,0xe8, 0x86,0x97,0xe6,0x2d,0x8b,0xa7) +#endif +#else +typedef struct IDownloadJobVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDownloadJob *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDownloadJob *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDownloadJob *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDownloadJob *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDownloadJob *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDownloadJob *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDownloadJob *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDownloadJob methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AsyncState)( + IDownloadJob *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsCompleted)( + IDownloadJob *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Updates)( + IDownloadJob *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *CleanUp)( + IDownloadJob *This); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IDownloadJob *This, + IDownloadProgress **retval); + + HRESULT (STDMETHODCALLTYPE *RequestAbort)( + IDownloadJob *This); + + END_INTERFACE +} IDownloadJobVtbl; + +interface IDownloadJob { + CONST_VTBL IDownloadJobVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDownloadJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDownloadJob_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDownloadJob_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDownloadJob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDownloadJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDownloadJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDownloadJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDownloadJob methods ***/ +#define IDownloadJob_get_AsyncState(This,retval) (This)->lpVtbl->get_AsyncState(This,retval) +#define IDownloadJob_get_IsCompleted(This,retval) (This)->lpVtbl->get_IsCompleted(This,retval) +#define IDownloadJob_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval) +#define IDownloadJob_CleanUp(This) (This)->lpVtbl->CleanUp(This) +#define IDownloadJob_GetProgress(This,retval) (This)->lpVtbl->GetProgress(This,retval) +#define IDownloadJob_RequestAbort(This) (This)->lpVtbl->RequestAbort(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDownloadJob_QueryInterface(IDownloadJob* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDownloadJob_AddRef(IDownloadJob* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDownloadJob_Release(IDownloadJob* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDownloadJob_GetTypeInfoCount(IDownloadJob* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDownloadJob_GetTypeInfo(IDownloadJob* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDownloadJob_GetIDsOfNames(IDownloadJob* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDownloadJob_Invoke(IDownloadJob* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDownloadJob methods ***/ +static FORCEINLINE HRESULT IDownloadJob_get_AsyncState(IDownloadJob* This,VARIANT *retval) { + return This->lpVtbl->get_AsyncState(This,retval); +} +static FORCEINLINE HRESULT IDownloadJob_get_IsCompleted(IDownloadJob* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsCompleted(This,retval); +} +static FORCEINLINE HRESULT IDownloadJob_get_Updates(IDownloadJob* This,IUpdateCollection **retval) { + return This->lpVtbl->get_Updates(This,retval); +} +static FORCEINLINE HRESULT IDownloadJob_CleanUp(IDownloadJob* This) { + return This->lpVtbl->CleanUp(This); +} +static FORCEINLINE HRESULT IDownloadJob_GetProgress(IDownloadJob* This,IDownloadProgress **retval) { + return This->lpVtbl->GetProgress(This,retval); +} +static FORCEINLINE HRESULT IDownloadJob_RequestAbort(IDownloadJob* This) { + return This->lpVtbl->RequestAbort(This); +} +#endif +#endif + +#endif + + +#endif /* __IDownloadJob_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDownloadResult interface + */ +#ifndef __IDownloadResult_INTERFACE_DEFINED__ +#define __IDownloadResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDownloadResult, 0xdaa4fdd0, 0x4727, 0x4dbe, 0xa1,0xe7, 0x74,0x5d,0xca,0x31,0x71,0x44); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("daa4fdd0-4727-4dbe-a1e7-745dca317144") +IDownloadResult : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_HResult( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResultCode( + OperationResultCode *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUpdateResult( + LONG updateIndex, + IUpdateDownloadResult **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDownloadResult, 0xdaa4fdd0, 0x4727, 0x4dbe, 0xa1,0xe7, 0x74,0x5d,0xca,0x31,0x71,0x44) +#endif +#else +typedef struct IDownloadResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDownloadResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDownloadResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDownloadResult *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IDownloadResult *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IDownloadResult *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IDownloadResult *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IDownloadResult *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IDownloadResult methods ***/ + HRESULT (STDMETHODCALLTYPE *get_HResult)( + IDownloadResult *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_ResultCode)( + IDownloadResult *This, + OperationResultCode *retval); + + HRESULT (STDMETHODCALLTYPE *GetUpdateResult)( + IDownloadResult *This, + LONG updateIndex, + IUpdateDownloadResult **retval); + + END_INTERFACE +} IDownloadResultVtbl; + +interface IDownloadResult { + CONST_VTBL IDownloadResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDownloadResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDownloadResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDownloadResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IDownloadResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IDownloadResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IDownloadResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IDownloadResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IDownloadResult methods ***/ +#define IDownloadResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval) +#define IDownloadResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval) +#define IDownloadResult_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDownloadResult_QueryInterface(IDownloadResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDownloadResult_AddRef(IDownloadResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDownloadResult_Release(IDownloadResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IDownloadResult_GetTypeInfoCount(IDownloadResult* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IDownloadResult_GetTypeInfo(IDownloadResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IDownloadResult_GetIDsOfNames(IDownloadResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IDownloadResult_Invoke(IDownloadResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IDownloadResult methods ***/ +static FORCEINLINE HRESULT IDownloadResult_get_HResult(IDownloadResult* This,LONG *retval) { + return This->lpVtbl->get_HResult(This,retval); +} +static FORCEINLINE HRESULT IDownloadResult_get_ResultCode(IDownloadResult* This,OperationResultCode *retval) { + return This->lpVtbl->get_ResultCode(This,retval); +} +static FORCEINLINE HRESULT IDownloadResult_GetUpdateResult(IDownloadResult* This,LONG updateIndex,IUpdateDownloadResult **retval) { + return This->lpVtbl->GetUpdateResult(This,updateIndex,retval); +} +#endif +#endif + +#endif + + +#endif /* __IDownloadResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateDownloader interface + */ +#ifndef __IUpdateDownloader_INTERFACE_DEFINED__ +#define __IUpdateDownloader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateDownloader, 0x68f1c6f9, 0x7ecc, 0x4666, 0xa4,0x64, 0x24,0x7f,0xe1,0x24,0x96,0xc3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("68f1c6f9-7ecc-4666-a464-247fe12496c3") +IUpdateDownloader : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsForced( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IsForced( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Priority( + DownloadPriority *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Priority( + DownloadPriority value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Updates( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Updates( + IUpdateCollection *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginDownload( + IUnknown *onProgressChanged, + IUnknown *onCompleted, + VARIANT state, + IDownloadJob **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Download( + IDownloadResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndDownload( + IDownloadJob *value, + IDownloadResult **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateDownloader, 0x68f1c6f9, 0x7ecc, 0x4666, 0xa4,0x64, 0x24,0x7f,0xe1,0x24,0x96,0xc3) +#endif +#else +typedef struct IUpdateDownloaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateDownloader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateDownloader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateDownloader *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateDownloader *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateDownloader *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateDownloader *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateDownloader *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateDownloader methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)( + IUpdateDownloader *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)( + IUpdateDownloader *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get_IsForced)( + IUpdateDownloader *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_IsForced)( + IUpdateDownloader *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_Priority)( + IUpdateDownloader *This, + DownloadPriority *retval); + + HRESULT (STDMETHODCALLTYPE *put_Priority)( + IUpdateDownloader *This, + DownloadPriority value); + + HRESULT (STDMETHODCALLTYPE *get_Updates)( + IUpdateDownloader *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *put_Updates)( + IUpdateDownloader *This, + IUpdateCollection *value); + + HRESULT (STDMETHODCALLTYPE *BeginDownload)( + IUpdateDownloader *This, + IUnknown *onProgressChanged, + IUnknown *onCompleted, + VARIANT state, + IDownloadJob **retval); + + HRESULT (STDMETHODCALLTYPE *Download)( + IUpdateDownloader *This, + IDownloadResult **retval); + + HRESULT (STDMETHODCALLTYPE *EndDownload)( + IUpdateDownloader *This, + IDownloadJob *value, + IDownloadResult **retval); + + END_INTERFACE +} IUpdateDownloaderVtbl; + +interface IUpdateDownloader { + CONST_VTBL IUpdateDownloaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateDownloader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateDownloader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateDownloader_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateDownloader_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateDownloader_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateDownloader_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateDownloader_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateDownloader methods ***/ +#define IUpdateDownloader_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval) +#define IUpdateDownloader_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value) +#define IUpdateDownloader_get_IsForced(This,retval) (This)->lpVtbl->get_IsForced(This,retval) +#define IUpdateDownloader_put_IsForced(This,value) (This)->lpVtbl->put_IsForced(This,value) +#define IUpdateDownloader_get_Priority(This,retval) (This)->lpVtbl->get_Priority(This,retval) +#define IUpdateDownloader_put_Priority(This,value) (This)->lpVtbl->put_Priority(This,value) +#define IUpdateDownloader_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval) +#define IUpdateDownloader_put_Updates(This,value) (This)->lpVtbl->put_Updates(This,value) +#define IUpdateDownloader_BeginDownload(This,onProgressChanged,onCompleted,state,retval) (This)->lpVtbl->BeginDownload(This,onProgressChanged,onCompleted,state,retval) +#define IUpdateDownloader_Download(This,retval) (This)->lpVtbl->Download(This,retval) +#define IUpdateDownloader_EndDownload(This,value,retval) (This)->lpVtbl->EndDownload(This,value,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateDownloader_QueryInterface(IUpdateDownloader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateDownloader_AddRef(IUpdateDownloader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateDownloader_Release(IUpdateDownloader* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateDownloader_GetTypeInfoCount(IUpdateDownloader* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateDownloader_GetTypeInfo(IUpdateDownloader* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateDownloader_GetIDsOfNames(IUpdateDownloader* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateDownloader_Invoke(IUpdateDownloader* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateDownloader methods ***/ +static FORCEINLINE HRESULT IUpdateDownloader_get_ClientApplicationID(IUpdateDownloader* This,BSTR *retval) { + return This->lpVtbl->get_ClientApplicationID(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloader_put_ClientApplicationID(IUpdateDownloader* This,BSTR value) { + return This->lpVtbl->put_ClientApplicationID(This,value); +} +static FORCEINLINE HRESULT IUpdateDownloader_get_IsForced(IUpdateDownloader* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsForced(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloader_put_IsForced(IUpdateDownloader* This,VARIANT_BOOL value) { + return This->lpVtbl->put_IsForced(This,value); +} +static FORCEINLINE HRESULT IUpdateDownloader_get_Priority(IUpdateDownloader* This,DownloadPriority *retval) { + return This->lpVtbl->get_Priority(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloader_put_Priority(IUpdateDownloader* This,DownloadPriority value) { + return This->lpVtbl->put_Priority(This,value); +} +static FORCEINLINE HRESULT IUpdateDownloader_get_Updates(IUpdateDownloader* This,IUpdateCollection **retval) { + return This->lpVtbl->get_Updates(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloader_put_Updates(IUpdateDownloader* This,IUpdateCollection *value) { + return This->lpVtbl->put_Updates(This,value); +} +static FORCEINLINE HRESULT IUpdateDownloader_BeginDownload(IUpdateDownloader* This,IUnknown *onProgressChanged,IUnknown *onCompleted,VARIANT state,IDownloadJob **retval) { + return This->lpVtbl->BeginDownload(This,onProgressChanged,onCompleted,state,retval); +} +static FORCEINLINE HRESULT IUpdateDownloader_Download(IUpdateDownloader* This,IDownloadResult **retval) { + return This->lpVtbl->Download(This,retval); +} +static FORCEINLINE HRESULT IUpdateDownloader_EndDownload(IUpdateDownloader* This,IDownloadJob *value,IDownloadResult **retval) { + return This->lpVtbl->EndDownload(This,value,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateDownloader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateInstallationResult interface + */ +#ifndef __IUpdateInstallationResult_INTERFACE_DEFINED__ +#define __IUpdateInstallationResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateInstallationResult, 0xd940f0f8, 0x3cbb, 0x4fd0, 0x99,0x3f, 0x47,0x1e,0x7f,0x23,0x28,0xad); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d940f0f8-3cbb-4fd0-993f-471e7f2328ad") +IUpdateInstallationResult : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_HResult( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RebootRequired( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResultCode( + OperationResultCode *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateInstallationResult, 0xd940f0f8, 0x3cbb, 0x4fd0, 0x99,0x3f, 0x47,0x1e,0x7f,0x23,0x28,0xad) +#endif +#else +typedef struct IUpdateInstallationResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateInstallationResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateInstallationResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateInstallationResult *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateInstallationResult *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateInstallationResult *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateInstallationResult *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateInstallationResult *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateInstallationResult methods ***/ + HRESULT (STDMETHODCALLTYPE *get_HResult)( + IUpdateInstallationResult *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_RebootRequired)( + IUpdateInstallationResult *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_ResultCode)( + IUpdateInstallationResult *This, + OperationResultCode *retval); + + END_INTERFACE +} IUpdateInstallationResultVtbl; + +interface IUpdateInstallationResult { + CONST_VTBL IUpdateInstallationResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateInstallationResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateInstallationResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateInstallationResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateInstallationResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateInstallationResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateInstallationResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateInstallationResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateInstallationResult methods ***/ +#define IUpdateInstallationResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval) +#define IUpdateInstallationResult_get_RebootRequired(This,retval) (This)->lpVtbl->get_RebootRequired(This,retval) +#define IUpdateInstallationResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateInstallationResult_QueryInterface(IUpdateInstallationResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateInstallationResult_AddRef(IUpdateInstallationResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateInstallationResult_Release(IUpdateInstallationResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateInstallationResult_GetTypeInfoCount(IUpdateInstallationResult* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateInstallationResult_GetTypeInfo(IUpdateInstallationResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateInstallationResult_GetIDsOfNames(IUpdateInstallationResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateInstallationResult_Invoke(IUpdateInstallationResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateInstallationResult methods ***/ +static FORCEINLINE HRESULT IUpdateInstallationResult_get_HResult(IUpdateInstallationResult* This,LONG *retval) { + return This->lpVtbl->get_HResult(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstallationResult_get_RebootRequired(IUpdateInstallationResult* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_RebootRequired(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstallationResult_get_ResultCode(IUpdateInstallationResult* This,OperationResultCode *retval) { + return This->lpVtbl->get_ResultCode(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateInstallationResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallationProgress interface + */ +#ifndef __IInstallationProgress_INTERFACE_DEFINED__ +#define __IInstallationProgress_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallationProgress, 0x345c8244, 0x43a3, 0x4e32, 0xa3,0x68, 0x65,0xf0,0x73,0xb7,0x6f,0x36); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("345c8244-43a3-4e32-a368-65f073b76f36") +IInstallationProgress : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateIndex( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdatePercentComplete( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_PercentComplete( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUpdateResult( + LONG updateIndex, + IUpdateInstallationResult **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallationProgress, 0x345c8244, 0x43a3, 0x4e32, 0xa3,0x68, 0x65,0xf0,0x73,0xb7,0x6f,0x36) +#endif +#else +typedef struct IInstallationProgressVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallationProgress *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallationProgress *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallationProgress *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInstallationProgress *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInstallationProgress *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInstallationProgress *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInstallationProgress *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInstallationProgress methods ***/ + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateIndex)( + IInstallationProgress *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_CurrentUpdatePercentComplete)( + IInstallationProgress *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_PercentComplete)( + IInstallationProgress *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *GetUpdateResult)( + IInstallationProgress *This, + LONG updateIndex, + IUpdateInstallationResult **retval); + + END_INTERFACE +} IInstallationProgressVtbl; + +interface IInstallationProgress { + CONST_VTBL IInstallationProgressVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallationProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallationProgress_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallationProgress_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInstallationProgress_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInstallationProgress_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInstallationProgress_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInstallationProgress_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInstallationProgress methods ***/ +#define IInstallationProgress_get_CurrentUpdateIndex(This,retval) (This)->lpVtbl->get_CurrentUpdateIndex(This,retval) +#define IInstallationProgress_get_CurrentUpdatePercentComplete(This,retval) (This)->lpVtbl->get_CurrentUpdatePercentComplete(This,retval) +#define IInstallationProgress_get_PercentComplete(This,retval) (This)->lpVtbl->get_PercentComplete(This,retval) +#define IInstallationProgress_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallationProgress_QueryInterface(IInstallationProgress* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallationProgress_AddRef(IInstallationProgress* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallationProgress_Release(IInstallationProgress* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInstallationProgress_GetTypeInfoCount(IInstallationProgress* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInstallationProgress_GetTypeInfo(IInstallationProgress* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInstallationProgress_GetIDsOfNames(IInstallationProgress* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInstallationProgress_Invoke(IInstallationProgress* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInstallationProgress methods ***/ +static FORCEINLINE HRESULT IInstallationProgress_get_CurrentUpdateIndex(IInstallationProgress* This,LONG *retval) { + return This->lpVtbl->get_CurrentUpdateIndex(This,retval); +} +static FORCEINLINE HRESULT IInstallationProgress_get_CurrentUpdatePercentComplete(IInstallationProgress* This,LONG *retval) { + return This->lpVtbl->get_CurrentUpdatePercentComplete(This,retval); +} +static FORCEINLINE HRESULT IInstallationProgress_get_PercentComplete(IInstallationProgress* This,LONG *retval) { + return This->lpVtbl->get_PercentComplete(This,retval); +} +static FORCEINLINE HRESULT IInstallationProgress_GetUpdateResult(IInstallationProgress* This,LONG updateIndex,IUpdateInstallationResult **retval) { + return This->lpVtbl->GetUpdateResult(This,updateIndex,retval); +} +#endif +#endif + +#endif + + +#endif /* __IInstallationProgress_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallationJob interface + */ +#ifndef __IInstallationJob_INTERFACE_DEFINED__ +#define __IInstallationJob_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallationJob, 0x5c209f0b, 0xbad5, 0x432a, 0x95,0x56, 0x46,0x99,0xbe,0xd2,0x63,0x8a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5c209f0b-bad5-432a-9556-4699bed2638a") +IInstallationJob : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_AsyncState( + VARIANT *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsCompleted( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Updates( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE CleanUp( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProgress( + IInstallationProgress **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestAbort( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallationJob, 0x5c209f0b, 0xbad5, 0x432a, 0x95,0x56, 0x46,0x99,0xbe,0xd2,0x63,0x8a) +#endif +#else +typedef struct IInstallationJobVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallationJob *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallationJob *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallationJob *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInstallationJob *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInstallationJob *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInstallationJob *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInstallationJob *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInstallationJob methods ***/ + HRESULT (STDMETHODCALLTYPE *get_AsyncState)( + IInstallationJob *This, + VARIANT *retval); + + HRESULT (STDMETHODCALLTYPE *get_IsCompleted)( + IInstallationJob *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_Updates)( + IInstallationJob *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *CleanUp)( + IInstallationJob *This); + + HRESULT (STDMETHODCALLTYPE *GetProgress)( + IInstallationJob *This, + IInstallationProgress **retval); + + HRESULT (STDMETHODCALLTYPE *RequestAbort)( + IInstallationJob *This); + + END_INTERFACE +} IInstallationJobVtbl; + +interface IInstallationJob { + CONST_VTBL IInstallationJobVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallationJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallationJob_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallationJob_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInstallationJob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInstallationJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInstallationJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInstallationJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInstallationJob methods ***/ +#define IInstallationJob_get_AsyncState(This,retval) (This)->lpVtbl->get_AsyncState(This,retval) +#define IInstallationJob_get_IsCompleted(This,retval) (This)->lpVtbl->get_IsCompleted(This,retval) +#define IInstallationJob_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval) +#define IInstallationJob_CleanUp(This) (This)->lpVtbl->CleanUp(This) +#define IInstallationJob_GetProgress(This,retval) (This)->lpVtbl->GetProgress(This,retval) +#define IInstallationJob_RequestAbort(This) (This)->lpVtbl->RequestAbort(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallationJob_QueryInterface(IInstallationJob* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallationJob_AddRef(IInstallationJob* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallationJob_Release(IInstallationJob* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInstallationJob_GetTypeInfoCount(IInstallationJob* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInstallationJob_GetTypeInfo(IInstallationJob* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInstallationJob_GetIDsOfNames(IInstallationJob* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInstallationJob_Invoke(IInstallationJob* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInstallationJob methods ***/ +static FORCEINLINE HRESULT IInstallationJob_get_AsyncState(IInstallationJob* This,VARIANT *retval) { + return This->lpVtbl->get_AsyncState(This,retval); +} +static FORCEINLINE HRESULT IInstallationJob_get_IsCompleted(IInstallationJob* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsCompleted(This,retval); +} +static FORCEINLINE HRESULT IInstallationJob_get_Updates(IInstallationJob* This,IUpdateCollection **retval) { + return This->lpVtbl->get_Updates(This,retval); +} +static FORCEINLINE HRESULT IInstallationJob_CleanUp(IInstallationJob* This) { + return This->lpVtbl->CleanUp(This); +} +static FORCEINLINE HRESULT IInstallationJob_GetProgress(IInstallationJob* This,IInstallationProgress **retval) { + return This->lpVtbl->GetProgress(This,retval); +} +static FORCEINLINE HRESULT IInstallationJob_RequestAbort(IInstallationJob* This) { + return This->lpVtbl->RequestAbort(This); +} +#endif +#endif + +#endif + + +#endif /* __IInstallationJob_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IInstallationResult interface + */ +#ifndef __IInstallationResult_INTERFACE_DEFINED__ +#define __IInstallationResult_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInstallationResult, 0xa43c56d6, 0x7451, 0x48d4, 0xaf,0x96, 0xb6,0xcd,0x2d,0x0d,0x9b,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a43c56d6-7451-48d4-af96-b6cd2d0d9b7a") +IInstallationResult : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_HResult( + LONG *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RebootRequired( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ResultCode( + OperationResultCode *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetUpdateResult( + LONG updateIndex, + IUpdateInstallationResult **retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInstallationResult, 0xa43c56d6, 0x7451, 0x48d4, 0xaf,0x96, 0xb6,0xcd,0x2d,0x0d,0x9b,0x7a) +#endif +#else +typedef struct IInstallationResultVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInstallationResult *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInstallationResult *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInstallationResult *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IInstallationResult *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IInstallationResult *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IInstallationResult *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IInstallationResult *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IInstallationResult methods ***/ + HRESULT (STDMETHODCALLTYPE *get_HResult)( + IInstallationResult *This, + LONG *retval); + + HRESULT (STDMETHODCALLTYPE *get_RebootRequired)( + IInstallationResult *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *get_ResultCode)( + IInstallationResult *This, + OperationResultCode *retval); + + HRESULT (STDMETHODCALLTYPE *GetUpdateResult)( + IInstallationResult *This, + LONG updateIndex, + IUpdateInstallationResult **retval); + + END_INTERFACE +} IInstallationResultVtbl; + +interface IInstallationResult { + CONST_VTBL IInstallationResultVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInstallationResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInstallationResult_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInstallationResult_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IInstallationResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IInstallationResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IInstallationResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IInstallationResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IInstallationResult methods ***/ +#define IInstallationResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval) +#define IInstallationResult_get_RebootRequired(This,retval) (This)->lpVtbl->get_RebootRequired(This,retval) +#define IInstallationResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval) +#define IInstallationResult_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInstallationResult_QueryInterface(IInstallationResult* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInstallationResult_AddRef(IInstallationResult* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInstallationResult_Release(IInstallationResult* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IInstallationResult_GetTypeInfoCount(IInstallationResult* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IInstallationResult_GetTypeInfo(IInstallationResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IInstallationResult_GetIDsOfNames(IInstallationResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IInstallationResult_Invoke(IInstallationResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IInstallationResult methods ***/ +static FORCEINLINE HRESULT IInstallationResult_get_HResult(IInstallationResult* This,LONG *retval) { + return This->lpVtbl->get_HResult(This,retval); +} +static FORCEINLINE HRESULT IInstallationResult_get_RebootRequired(IInstallationResult* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_RebootRequired(This,retval); +} +static FORCEINLINE HRESULT IInstallationResult_get_ResultCode(IInstallationResult* This,OperationResultCode *retval) { + return This->lpVtbl->get_ResultCode(This,retval); +} +static FORCEINLINE HRESULT IInstallationResult_GetUpdateResult(IInstallationResult* This,LONG updateIndex,IUpdateInstallationResult **retval) { + return This->lpVtbl->GetUpdateResult(This,updateIndex,retval); +} +#endif +#endif + +#endif + + +#endif /* __IInstallationResult_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IUpdateInstaller interface + */ +#ifndef __IUpdateInstaller_INTERFACE_DEFINED__ +#define __IUpdateInstaller_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IUpdateInstaller, 0x7b929c68, 0xccdc, 0x4226, 0x96,0xb1, 0x87,0x24,0x60,0x0b,0x54,0xc2); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7b929c68-ccdc-4226-96b1-8724600b54c2") +IUpdateInstaller : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID( + BSTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsForced( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_IsForced( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ParentHwnd( + HWND *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ParentHwnd( + HWND value) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ParentWindow( + IUnknown *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ParentWindow( + IUnknown **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Updates( + IUpdateCollection **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Updates( + IUpdateCollection *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginInstall( + IUnknown *onProgressChanged, + IUnknown *onCompleted, + VARIANT state, + IInstallationJob **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE BeginUninstall( + IUnknown *onProgressChanged, + IUnknown *onCompleted, + VARIANT state, + IInstallationJob **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndInstall( + IInstallationJob *value, + IInstallationResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE EndUninstall( + IInstallationJob *value, + IInstallationResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Install( + IInstallationResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE RunWizard( + BSTR dialogTitle, + IInstallationResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_IsBusy( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE Uninstall( + IInstallationResult **retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_AllowSourcePrompts( + VARIANT_BOOL *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_AllowSourcePrompts( + VARIANT_BOOL value) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RebootRequiredBeforeInstallation( + VARIANT_BOOL *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IUpdateInstaller, 0x7b929c68, 0xccdc, 0x4226, 0x96,0xb1, 0x87,0x24,0x60,0x0b,0x54,0xc2) +#endif +#else +typedef struct IUpdateInstallerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IUpdateInstaller *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IUpdateInstaller *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IUpdateInstaller *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IUpdateInstaller *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IUpdateInstaller *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IUpdateInstaller *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IUpdateInstaller *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IUpdateInstaller methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)( + IUpdateInstaller *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)( + IUpdateInstaller *This, + BSTR value); + + HRESULT (STDMETHODCALLTYPE *get_IsForced)( + IUpdateInstaller *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_IsForced)( + IUpdateInstaller *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_ParentHwnd)( + IUpdateInstaller *This, + HWND *retval); + + HRESULT (STDMETHODCALLTYPE *put_ParentHwnd)( + IUpdateInstaller *This, + HWND value); + + HRESULT (STDMETHODCALLTYPE *put_ParentWindow)( + IUpdateInstaller *This, + IUnknown *value); + + HRESULT (STDMETHODCALLTYPE *get_ParentWindow)( + IUpdateInstaller *This, + IUnknown **retval); + + HRESULT (STDMETHODCALLTYPE *get_Updates)( + IUpdateInstaller *This, + IUpdateCollection **retval); + + HRESULT (STDMETHODCALLTYPE *put_Updates)( + IUpdateInstaller *This, + IUpdateCollection *value); + + HRESULT (STDMETHODCALLTYPE *BeginInstall)( + IUpdateInstaller *This, + IUnknown *onProgressChanged, + IUnknown *onCompleted, + VARIANT state, + IInstallationJob **retval); + + HRESULT (STDMETHODCALLTYPE *BeginUninstall)( + IUpdateInstaller *This, + IUnknown *onProgressChanged, + IUnknown *onCompleted, + VARIANT state, + IInstallationJob **retval); + + HRESULT (STDMETHODCALLTYPE *EndInstall)( + IUpdateInstaller *This, + IInstallationJob *value, + IInstallationResult **retval); + + HRESULT (STDMETHODCALLTYPE *EndUninstall)( + IUpdateInstaller *This, + IInstallationJob *value, + IInstallationResult **retval); + + HRESULT (STDMETHODCALLTYPE *Install)( + IUpdateInstaller *This, + IInstallationResult **retval); + + HRESULT (STDMETHODCALLTYPE *RunWizard)( + IUpdateInstaller *This, + BSTR dialogTitle, + IInstallationResult **retval); + + HRESULT (STDMETHODCALLTYPE *get_IsBusy)( + IUpdateInstaller *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *Uninstall)( + IUpdateInstaller *This, + IInstallationResult **retval); + + HRESULT (STDMETHODCALLTYPE *get_AllowSourcePrompts)( + IUpdateInstaller *This, + VARIANT_BOOL *retval); + + HRESULT (STDMETHODCALLTYPE *put_AllowSourcePrompts)( + IUpdateInstaller *This, + VARIANT_BOOL value); + + HRESULT (STDMETHODCALLTYPE *get_RebootRequiredBeforeInstallation)( + IUpdateInstaller *This, + VARIANT_BOOL *retval); + + END_INTERFACE +} IUpdateInstallerVtbl; + +interface IUpdateInstaller { + CONST_VTBL IUpdateInstallerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IUpdateInstaller_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IUpdateInstaller_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IUpdateInstaller_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IUpdateInstaller_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IUpdateInstaller_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IUpdateInstaller_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IUpdateInstaller_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IUpdateInstaller methods ***/ +#define IUpdateInstaller_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval) +#define IUpdateInstaller_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value) +#define IUpdateInstaller_get_IsForced(This,retval) (This)->lpVtbl->get_IsForced(This,retval) +#define IUpdateInstaller_put_IsForced(This,value) (This)->lpVtbl->put_IsForced(This,value) +#define IUpdateInstaller_get_ParentHwnd(This,retval) (This)->lpVtbl->get_ParentHwnd(This,retval) +#define IUpdateInstaller_put_ParentHwnd(This,value) (This)->lpVtbl->put_ParentHwnd(This,value) +#define IUpdateInstaller_put_ParentWindow(This,value) (This)->lpVtbl->put_ParentWindow(This,value) +#define IUpdateInstaller_get_ParentWindow(This,retval) (This)->lpVtbl->get_ParentWindow(This,retval) +#define IUpdateInstaller_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval) +#define IUpdateInstaller_put_Updates(This,value) (This)->lpVtbl->put_Updates(This,value) +#define IUpdateInstaller_BeginInstall(This,onProgressChanged,onCompleted,state,retval) (This)->lpVtbl->BeginInstall(This,onProgressChanged,onCompleted,state,retval) +#define IUpdateInstaller_BeginUninstall(This,onProgressChanged,onCompleted,state,retval) (This)->lpVtbl->BeginUninstall(This,onProgressChanged,onCompleted,state,retval) +#define IUpdateInstaller_EndInstall(This,value,retval) (This)->lpVtbl->EndInstall(This,value,retval) +#define IUpdateInstaller_EndUninstall(This,value,retval) (This)->lpVtbl->EndUninstall(This,value,retval) +#define IUpdateInstaller_Install(This,retval) (This)->lpVtbl->Install(This,retval) +#define IUpdateInstaller_RunWizard(This,dialogTitle,retval) (This)->lpVtbl->RunWizard(This,dialogTitle,retval) +#define IUpdateInstaller_get_IsBusy(This,retval) (This)->lpVtbl->get_IsBusy(This,retval) +#define IUpdateInstaller_Uninstall(This,retval) (This)->lpVtbl->Uninstall(This,retval) +#define IUpdateInstaller_get_AllowSourcePrompts(This,retval) (This)->lpVtbl->get_AllowSourcePrompts(This,retval) +#define IUpdateInstaller_put_AllowSourcePrompts(This,value) (This)->lpVtbl->put_AllowSourcePrompts(This,value) +#define IUpdateInstaller_get_RebootRequiredBeforeInstallation(This,retval) (This)->lpVtbl->get_RebootRequiredBeforeInstallation(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IUpdateInstaller_QueryInterface(IUpdateInstaller* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IUpdateInstaller_AddRef(IUpdateInstaller* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IUpdateInstaller_Release(IUpdateInstaller* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IUpdateInstaller_GetTypeInfoCount(IUpdateInstaller* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IUpdateInstaller_GetTypeInfo(IUpdateInstaller* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IUpdateInstaller_GetIDsOfNames(IUpdateInstaller* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IUpdateInstaller_Invoke(IUpdateInstaller* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IUpdateInstaller methods ***/ +static FORCEINLINE HRESULT IUpdateInstaller_get_ClientApplicationID(IUpdateInstaller* This,BSTR *retval) { + return This->lpVtbl->get_ClientApplicationID(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_put_ClientApplicationID(IUpdateInstaller* This,BSTR value) { + return This->lpVtbl->put_ClientApplicationID(This,value); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_IsForced(IUpdateInstaller* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsForced(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_put_IsForced(IUpdateInstaller* This,VARIANT_BOOL value) { + return This->lpVtbl->put_IsForced(This,value); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_ParentHwnd(IUpdateInstaller* This,HWND *retval) { + return This->lpVtbl->get_ParentHwnd(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_put_ParentHwnd(IUpdateInstaller* This,HWND value) { + return This->lpVtbl->put_ParentHwnd(This,value); +} +static FORCEINLINE HRESULT IUpdateInstaller_put_ParentWindow(IUpdateInstaller* This,IUnknown *value) { + return This->lpVtbl->put_ParentWindow(This,value); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_ParentWindow(IUpdateInstaller* This,IUnknown **retval) { + return This->lpVtbl->get_ParentWindow(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_Updates(IUpdateInstaller* This,IUpdateCollection **retval) { + return This->lpVtbl->get_Updates(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_put_Updates(IUpdateInstaller* This,IUpdateCollection *value) { + return This->lpVtbl->put_Updates(This,value); +} +static FORCEINLINE HRESULT IUpdateInstaller_BeginInstall(IUpdateInstaller* This,IUnknown *onProgressChanged,IUnknown *onCompleted,VARIANT state,IInstallationJob **retval) { + return This->lpVtbl->BeginInstall(This,onProgressChanged,onCompleted,state,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_BeginUninstall(IUpdateInstaller* This,IUnknown *onProgressChanged,IUnknown *onCompleted,VARIANT state,IInstallationJob **retval) { + return This->lpVtbl->BeginUninstall(This,onProgressChanged,onCompleted,state,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_EndInstall(IUpdateInstaller* This,IInstallationJob *value,IInstallationResult **retval) { + return This->lpVtbl->EndInstall(This,value,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_EndUninstall(IUpdateInstaller* This,IInstallationJob *value,IInstallationResult **retval) { + return This->lpVtbl->EndUninstall(This,value,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_Install(IUpdateInstaller* This,IInstallationResult **retval) { + return This->lpVtbl->Install(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_RunWizard(IUpdateInstaller* This,BSTR dialogTitle,IInstallationResult **retval) { + return This->lpVtbl->RunWizard(This,dialogTitle,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_IsBusy(IUpdateInstaller* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_IsBusy(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_Uninstall(IUpdateInstaller* This,IInstallationResult **retval) { + return This->lpVtbl->Uninstall(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_AllowSourcePrompts(IUpdateInstaller* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_AllowSourcePrompts(This,retval); +} +static FORCEINLINE HRESULT IUpdateInstaller_put_AllowSourcePrompts(IUpdateInstaller* This,VARIANT_BOOL value) { + return This->lpVtbl->put_AllowSourcePrompts(This,value); +} +static FORCEINLINE HRESULT IUpdateInstaller_get_RebootRequiredBeforeInstallation(IUpdateInstaller* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_RebootRequiredBeforeInstallation(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __IUpdateInstaller_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISystemInformation interface + */ +#ifndef __ISystemInformation_INTERFACE_DEFINED__ +#define __ISystemInformation_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISystemInformation, 0xade87bf7, 0x7b56, 0x4275, 0x8f,0xab, 0xb9,0xb0,0xe5,0x91,0x84,0x4b); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ade87bf7-7b56-4275-8fab-b9b0e591844b") +ISystemInformation : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_OemHardwareSupportLink( + BSTR *retval) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RebootRequired( + VARIANT_BOOL *retval) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISystemInformation, 0xade87bf7, 0x7b56, 0x4275, 0x8f,0xab, 0xb9,0xb0,0xe5,0x91,0x84,0x4b) +#endif +#else +typedef struct ISystemInformationVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISystemInformation *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISystemInformation *This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISystemInformation *This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + ISystemInformation *This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + ISystemInformation *This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + ISystemInformation *This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + ISystemInformation *This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** ISystemInformation methods ***/ + HRESULT (STDMETHODCALLTYPE *get_OemHardwareSupportLink)( + ISystemInformation *This, + BSTR *retval); + + HRESULT (STDMETHODCALLTYPE *get_RebootRequired)( + ISystemInformation *This, + VARIANT_BOOL *retval); + + END_INTERFACE +} ISystemInformationVtbl; + +interface ISystemInformation { + CONST_VTBL ISystemInformationVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISystemInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISystemInformation_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISystemInformation_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define ISystemInformation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define ISystemInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define ISystemInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define ISystemInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** ISystemInformation methods ***/ +#define ISystemInformation_get_OemHardwareSupportLink(This,retval) (This)->lpVtbl->get_OemHardwareSupportLink(This,retval) +#define ISystemInformation_get_RebootRequired(This,retval) (This)->lpVtbl->get_RebootRequired(This,retval) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISystemInformation_QueryInterface(ISystemInformation* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISystemInformation_AddRef(ISystemInformation* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISystemInformation_Release(ISystemInformation* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT ISystemInformation_GetTypeInfoCount(ISystemInformation* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT ISystemInformation_GetTypeInfo(ISystemInformation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT ISystemInformation_GetIDsOfNames(ISystemInformation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT ISystemInformation_Invoke(ISystemInformation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** ISystemInformation methods ***/ +static FORCEINLINE HRESULT ISystemInformation_get_OemHardwareSupportLink(ISystemInformation* This,BSTR *retval) { + return This->lpVtbl->get_OemHardwareSupportLink(This,retval); +} +static FORCEINLINE HRESULT ISystemInformation_get_RebootRequired(ISystemInformation* This,VARIANT_BOOL *retval) { + return This->lpVtbl->get_RebootRequired(This,retval); +} +#endif +#endif + +#endif + + +#endif /* __ISystemInformation_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * AutomaticUpdates coclass + */ + +DEFINE_GUID(CLSID_AutomaticUpdates, 0xbfe18e9c, 0x6d87, 0x4450, 0xb3,0x7c, 0xe0,0x2f,0x0b,0x37,0x38,0x03); + +#ifdef __cplusplus +class DECLSPEC_UUID("bfe18e9c-6d87-4450-b37c-e02f0b373803") AutomaticUpdates; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AutomaticUpdates, 0xbfe18e9c, 0x6d87, 0x4450, 0xb3,0x7c, 0xe0,0x2f,0x0b,0x37,0x38,0x03) +#endif +#endif + +/***************************************************************************** + * UpdateSession coclass + */ + +DEFINE_GUID(CLSID_UpdateSession, 0x4cb43d7f, 0x7eee, 0x4906, 0x86,0x98, 0x60,0xda,0x1c,0x38,0xf2,0xfe); + +#ifdef __cplusplus +class DECLSPEC_UUID("4cb43d7f-7eee-4906-8698-60da1c38f2fe") UpdateSession; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(UpdateSession, 0x4cb43d7f, 0x7eee, 0x4906, 0x86,0x98, 0x60,0xda,0x1c,0x38,0xf2,0xfe) +#endif +#endif + +/***************************************************************************** + * SystemInformation coclass + */ + +DEFINE_GUID(CLSID_SystemInformation, 0xc01b9ba0, 0xbea7, 0x41ba, 0xb6,0x04, 0xd0,0xa3,0x6f,0x46,0x91,0x33); + +#ifdef __cplusplus +class DECLSPEC_UUID("c01b9ba0-bea7-41ba-b604-d0a36f469133") SystemInformation; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(SystemInformation, 0xc01b9ba0, 0xbea7, 0x41ba, 0xb6,0x04, 0xd0,0xa3,0x6f,0x46,0x91,0x33) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __wuapi_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wuapi.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wuapi.idl new file mode 100644 index 0000000..d1a3593 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/wuapi.idl @@ -0,0 +1,1350 @@ +/* + * Copyright 2008 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + helpstring("WUAPI 2.0 Type Library"), + uuid(b596cc9f-56e5-419e-a622-e01bb457431e), + version(2.0) +] +library WUApiLib { + +importlib("stdole2.tlb"); + +interface ICategoryCollection; +interface IStringCollection; +interface IUpdateCollection; +interface IUpdateDownloader; +interface IUpdateInstaller; +interface IUpdateSearcher; + +typedef [public] enum tagDownloadPriority +{ + dpLow = 1, + dpNormal = 2, + dpHigh = 3, +} DownloadPriority; + +typedef [public] enum tagServerSelection +{ + ssDefault = 0, + ssManagedServer = 1, + ssWindowsUpdate = 2, + ssOthers = 3, +} ServerSelection; + +typedef [public] enum tagAutomaticUpdatesNotificationLevel +{ + aunlNotConfigured, + aunlDisabled, + aunlNotifyBeforeDownload, + aunlNotifyBeforeInstallation, + aunlScheduledInstallation, +} AutomaticUpdatesNotificationLevel; + +typedef [public] enum tagAutomaticUpdatesScheduledInstallationDay +{ + ausidEveryDay, + ausidEverySunday, + ausidEveryMonday, + ausidEveryTuesday, + ausidEveryWednesday, + ausidEveryThursday, + ausidEveryFriday, + ausidEverySaturday, +} AutomaticUpdatesScheduledInstallationDay; + +typedef [public] enum tagDownloadPhase +{ + dphInitializing, + dphDownloading, + dphVerifying, +} DownloadPhase; + +typedef [public] enum tagOperationResultCode +{ + orcNotStarted, + orcInProgress, + orcSucceeded, + orcSucceededWithErrors, + orcFailed, + orcAborted, +} OperationResultCode; + +typedef [public] enum tagUpdateExceptionContext +{ + uecGeneral = 1, + uecWindowsDriver, + uecWindowsInstaller +} UpdateExceptionContext; + +typedef [public] enum tagInstallationImpact +{ + iiNormal, + iiMinor, + iiRequiresExclusiveHandling +} InstallationImpact; + +typedef [public] enum tagInstallationRebootBehavior +{ + irbNeverReboots, + irbAlwaysRequiresReboot, + irbCanRequestReboot +} InstallationRebootBehavior; + +typedef [public] enum tagUpdateType +{ + utSoftware = 1, + utDriver +} UpdateType; + +typedef [public] enum tagUpdateOperation +{ + uoInstallation = 1, + uoUninstallation +} UpdateOperation; + +typedef [public] enum tagDeploymentAction +{ + daNone, + daInstallation, + daUninstallation, + daDetection +} DeploymentAction; + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(2ee48f22-af3c-405f-8970-f71be12ee9a2), + pointer_default(unique) +] +interface IAutomaticUpdatesSettings : IDispatch +{ + [propget, id(0x60020001)] + HRESULT NotificationLevel( [out, retval] AutomaticUpdatesNotificationLevel *retval ); + + [propput, id(0x60020001)] + HRESULT NotificationLevel( [in] AutomaticUpdatesNotificationLevel value ); + + [propget, id(0x60020002)] + HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020003)] + HRESULT Required( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020004)] + HRESULT ScheduledInstallationDay( [out, retval] AutomaticUpdatesScheduledInstallationDay *retval ); + + [propput, id(0x60020004)] + HRESULT ScheduledInstallationDay( [in] AutomaticUpdatesScheduledInstallationDay value ); + + [propget, id(0x60020005)] + HRESULT ScheduledInstallationTime( [out, retval] LONG *retval ); + + [propput, id(0x60020005)] + HRESULT ScheduledInstallationTime( [in] LONG value ); + + [id(0x60020006)] + HRESULT Refresh(); + + [id(0x60020007)] + HRESULT Save(); +} + +[ + object, + uuid(673425bf-c082-4c7c-bdfd-569464b8e0ce), + oleautomation, + dual, + nonextensible, + pointer_default(unique), + hidden +] +interface IAutomaticUpdates : IDispatch +{ + HRESULT DetectNow(); + HRESULT Pause(); + HRESULT Resume(); + HRESULT ShowSettingsDialog(); + + [propget] + HRESULT Settings( + [out, retval] IAutomaticUpdatesSettings **retval); + + [propget] + HRESULT ServiceEnabled( + [out, retval] VARIANT_BOOL *retval); + + HRESULT EnableService(); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(174c81fe-aecd-4dae-b8a0-2c6318dd86a8), + pointer_default(unique), +] +interface IWebProxy : IDispatch +{ + [propget, id(0x60020001)] + HRESULT Address( [out, retval] BSTR *retval ); + + [propput, id(0x60020001)] + HRESULT Address( [in] BSTR value ); + + [propget, id(0x60020002)] + HRESULT BypassList( [out, retval] IStringCollection **retval ); + + [propput, id(0x60020002)] + HRESULT BypassList( [in] IStringCollection *value ); + + [propget, id(0x60020003)] + HRESULT BypassProxyOnLocal( [out, retval] VARIANT_BOOL *retval ); + + [propput, id(0x60020003)] + HRESULT BypassProxyOnLocal( [in] VARIANT_BOOL value ); + + [propget, id(0x60020004)] + HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020005)] + HRESULT UserName( [out, retval] BSTR *retval ); + + [propput, id(0x60020005)] + HRESULT UserName( [in] BSTR value ); + + [id(0x60020006)] + HRESULT SetPassword( [in] BSTR value ); + + [id(0x60020007)] + HRESULT PromptForCredentials( [in, unique] IUnknown *parentWindow, + [in] BSTR title ); + + [restricted, id(0x60020008)] + HRESULT PromptForCredentialsFromHwnd( [in, unique] HWND parentWindow, + [in] BSTR title ); + + [propget, id(0x60020009)] + HRESULT AutoDetect( [out, retval] VARIANT_BOOL *retval ); + + [propput, id(0x60020009)] + HRESULT AutoDetect( [in] VARIANT_BOOL value ); +} + +[ + object, + uuid(816858a4-260d-4260-933a-2585f1abc76b), + oleautomation, + dual, + nonextensible, + pointer_default(unique), +] +interface IUpdateSession : IDispatch +{ + [propget] + HRESULT ClientApplicationID( + [out, retval] BSTR *retval); + + [propput] + HRESULT ClientApplicationID( + [in] BSTR value); + + [propget] + HRESULT ReadOnly( + [out, retval] VARIANT_BOOL *retval); + + [propget] + HRESULT WebProxy( + [out, retval] IWebProxy **retval); + + [propput] + HRESULT WebProxy( + [in, unique] IWebProxy *value); + + HRESULT CreateUpdateSearcher( + [out, retval] IUpdateSearcher **retval); + + HRESULT CreateUpdateDownloader( + [out, retval] IUpdateDownloader **retval); + + HRESULT CreateUpdateInstaller( + [out, retval] IUpdateInstaller **retval); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(7c907864-346c-4aeb-8f3f-57da289f969f), + pointer_default(unique), +] +interface IImageInformation : IDispatch +{ + [propget, id(0x60020001)] + HRESULT AltText( [out, retval] BSTR *retval ); + + [propget, id(0x60020002)] + HRESULT Height( [out, retval] LONG *retval ); + + [propget, id(0x60020003)] + HRESULT Source( [out, retval] BSTR *retval ); + + [propget, id(0x60020004)] + HRESULT Width( [out, retval] LONG *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(81ddc1b8-9d35-47a6-b471-5b80f519223b), + pointer_default(unique), +] +interface ICategory : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Name( [out, retval] BSTR *retval ); + + [propget, id(0x60020001)] + HRESULT CategoryID( [out, retval] BSTR *retval ); + + [propget, id(0x60020002)] + HRESULT Children( [out, retval] ICategoryCollection **retval ); + + [propget, id(0x60020003)] + HRESULT Description( [out, retval] BSTR *retval ); + + [propget, id(0x60020004)] + HRESULT Image( [out, retval] IImageInformation **retval ); + + [propget, id(0x60020005)] + HRESULT Order( [out, retval] LONG *retval ); + + [propget, id(0x60020006)] + HRESULT Parent( [out, retval] ICategory **retval ); + + [propget, id(0x60020007)] + HRESULT Type( [out, retval] BSTR *retval ); + + [propget, id(0x60020008)] + HRESULT Updates( [out, retval] IUpdateCollection **retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(3a56bfb8-576c-43f7-9335-fe4838fd7e37), + pointer_default(unique), +] +interface ICategoryCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [out, retval] ICategory **retval ); + + [propget, id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **retval ); + + [propget, id(0x60020001)] + HRESULT Count( [out, retval] LONG *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(eff90582-2ddc-480f-a06d-60f3fbc362c3), + pointer_default(unique), + hidden +] +interface IStringCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [out, retval] BSTR *retval ); + + [propput, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [in] BSTR value ); + + [propget, id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **retval ); + + [propget, id(0x60020001)] + HRESULT Count( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval ); + + [id(0x60020003)] + HRESULT Add( [in] BSTR value, + [out, retval] LONG *retval ); + + [id(0x60020004)] + HRESULT Clear(); + + [id(0x60020005)] + HRESULT Copy( [out, retval] IStringCollection **retval ); + + [id(0x60020006)] + HRESULT Insert( [in] LONG index, + [in] BSTR value ); + + [id(0x60020007)] + HRESULT RemoveAt( [in] LONG index ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(a376dd5e-09d4-427f-af7c-fed5b6e1c1d6), + pointer_default(unique), +] +interface IUpdateException : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Message( [out, retval] BSTR *retval ); + + [propget, id(0x60020001)] + HRESULT HResult( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT Context( [out, retval] UpdateExceptionContext *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(503626a3-8e14-4729-9355-0fe664bd2321), + pointer_default(unique), +] +interface IUpdateExceptionCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [out, retval] IUpdateException **retval ); + + [propget, id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **retval ); + + [propget, id(0x60020001)] + HRESULT Count( [out, retval] LONG *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(46297823-9940-4c09-aed9-cd3ea6d05968), + pointer_default(unique) +] +interface IUpdateIdentity : IDispatch +{ + [propget, id(0x60020002)] + HRESULT RevisionNumber( [out, retval] LONG *retval ); + + [propget, id(0x60020003)] + HRESULT UpdateID( [out, retval] BSTR *retval ); +} + +[ + , + object, + oleautomation, + dual, + nonextensible, + uuid(d9a59339-e245-4dbd-9686-4d5763e39624), + pointer_default(unique), +] +interface IInstallationBehavior : IDispatch +{ + [propget, id(0x60020001)] + HRESULT CanRequestUserInput( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020002)] + HRESULT Impact( [out, retval] InstallationImpact *retval ); + + [propget, id(0x60020003)] + HRESULT RebootBehavior( [out, retval] InstallationRebootBehavior *retval ); + + [propget, id(0x60020004)] + HRESULT RequiresNetworkConnectivity( [out, retval] VARIANT_BOOL *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02), + pointer_default(unique), +] +interface IUpdateDownloadContent : IDispatch +{ + [propget, id(0x60020001)] + HRESULT DownloadUrl( [out, retval] BSTR *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(bc5513c8-b3b8-4bf7-a4d4-361c0d8c88ba), + pointer_default(unique), +] +interface IUpdateDownloadContentCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [out, retval] IUpdateDownloadContent **retval ); + + [propget, id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **retval ); + + [propget, id(0x60020001)] + HRESULT Count( [out, retval] LONG *retval ); +} + +[ + + object, + oleautomation, + dual, + nonextensible, + uuid(6a92b07a-d821-4682-b423-5c805022cc4d), + pointer_default(unique), +] +interface IUpdate : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Title( [out, retval] BSTR *retval ); + + [propget, id(0x60020001)] + HRESULT AutoSelectOnWebSites( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020002)] + HRESULT BundledUpdates( [out, retval] IUpdateCollection **retval ); + + [propget, id(0x60020003)] + HRESULT CanRequireSource( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020004)] + HRESULT Categories( [out, retval] ICategoryCollection **retval ); + + [propget, id(0x60020005)] + HRESULT Deadline( [out, retval] VARIANT *retval ); + + [propget, id(0x60020006)] + HRESULT DeltaCompressedContentAvailable( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020007)] + HRESULT DeltaCompressedContentPreferred( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020008)] + HRESULT Description( [out, retval] BSTR *retval ); + + [propget, id(0x60020009)] + HRESULT EulaAccepted( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x6002000a)] + HRESULT EulaText( [out, retval] BSTR *retval ); + + [propget, id(0x6002000b)] + HRESULT HandlerID( [out, retval] BSTR *retval ); + + [propget, id(0x6002000c)] + HRESULT Identity( [out, retval] IUpdateIdentity **retval ); + + [propget, id(0x6002000d)] + HRESULT Image( [out, retval] IImageInformation **retval ); + + [propget, id(0x6002000e)] + HRESULT InstallationBehavior( [out, retval] IInstallationBehavior **retval ); + + [propget, id(0x6002000f)] + HRESULT IsBeta( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020010)] + HRESULT IsDownloaded( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020011)] + HRESULT IsHidden( [out, retval] VARIANT_BOOL *retval ); + + [propput, id(0x60020011)] + HRESULT IsHidden( [in] VARIANT_BOOL value ); + + [propget, id(0x60020012)] + HRESULT IsInstalled( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020013)] + HRESULT IsMandatory( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020014)] + HRESULT IsUninstallable( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020015)] + HRESULT Languages( [out, retval] IStringCollection **retval ); + + [propget, id(0x60020016)] + HRESULT LastDeploymentChangeTime( [out, retval] DATE *retval ); + + [propget, id(0x60020017)] + HRESULT MaxDownloadSize( [out, retval] DECIMAL *retval ); + + [propget, id(0x60020018)] + HRESULT MinDownloadSize( [out, retval] DECIMAL *retval ); + + [propget, id(0x60020019)] + HRESULT MoreInfoUrls( [out, retval] IStringCollection **retval ); + + [propget, id(0x6002001a)] + HRESULT MsrcSeverity( [out, retval] BSTR *retval ); + + [propget, id(0x6002001b)] + HRESULT RecommendedCpuSpeed( [out, retval] LONG *retval ); + + [propget, id(0x6002001c)] + HRESULT RecommendedHardDiskSpace( [out, retval] LONG *retval ); + + [propget, id(0x6002001d)] + HRESULT RecommendedMemory( [out, retval] LONG *retval ); + + [propget, id(0x6002001e)] + HRESULT ReleaseNotes( [out, retval] BSTR *retval ); + + [propget, id(0x6002001f)] + HRESULT SecurityBulletinIDs( [out, retval] IStringCollection **retval ); + + [propget, id(0x60020021)] + HRESULT SupersededUpdateIDs( [out, retval] IStringCollection **retval ); + + [propget, id(0x60020022)] + HRESULT SupportUrl( [out, retval] BSTR *retval ); + + [propget, id(0x60020023)] + HRESULT Type( [out, retval] UpdateType *retval ); + + [propget, id(0x60020024)] + HRESULT UninstallationNotes( [out, retval] BSTR *retval ); + + [propget, id(0x60020025)] + HRESULT UninstallationBehavior( [out, retval] IInstallationBehavior **retval ); + + [propget, id(0x60020026)] + HRESULT UninstallationSteps( [out, retval] IStringCollection **retval ); + + [propget, id(0x60020028)] + HRESULT KBArticleIDs( [out, retval] IStringCollection **retval ); + + [id(0x60020027)] + HRESULT AcceptEula(); + + [propget, id(0x60020029)] + HRESULT DeploymentAction( [out, retval] DeploymentAction *retval ); + + [id(0x6002002a)] + HRESULT CopyFromCache( [in, ref] BSTR path, + [in] VARIANT_BOOL toExtractCabFiles ); + + [propget, id(0x6002002b)] + HRESULT DownloadPriority( [out, retval] DownloadPriority *retval ); + + [propget, id(0x6002002c)] + HRESULT DownloadContents( [out, retval] IUpdateDownloadContentCollection **retval ); +} + +[ + + object, + oleautomation, + dual, + nonextensible, + uuid(07f7438c-7709-4ca5-b518-91279288134e), + pointer_default(unique), + hidden +] +interface IUpdateCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [out, retval] IUpdate **retval ); + + [propput, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [in] IUpdate *value ); + + [propget, id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **retval ); + + [propget, id(0x60020001)] + HRESULT Count( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval ); + + [id(0x60020003)] + HRESULT Add( [in] IUpdate *value, + [out, retval] LONG *retval ); + + [id(0x60020004)] + HRESULT Clear(); + + [id(0x60020005)] + HRESULT Copy( [out, retval] IUpdateCollection **retval ); + + [id(0x60020006)] + HRESULT Insert( [in] LONG index, + [in] IUpdate *value ); + + [id(0x60020007)] + HRESULT RemoveAt( [in] LONG index ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(7366ea16-7a1a-4ea2-b042-973d3e9cd99b), + pointer_default(unique), +] +interface ISearchJob : IDispatch +{ + [propget, id(0x60020001)] + HRESULT AsyncState( [out, retval] VARIANT *retval ); + + [propget, id(0x60020002)] + HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval ); + + [id(0x60020003)] + HRESULT CleanUp(); + + [id(0x60020004)] + HRESULT RequestAbort(); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(d40cff62-e08c-4498-941a-01e25f0fd33c), + pointer_default(unique), +] +interface ISearchResult : IDispatch +{ + [propget, id(0x60020001)] + HRESULT ResultCode( [out, retval] OperationResultCode *retval ); + + [propget, id(0x60020002)] + HRESULT RootCategories( [out, retval] ICategoryCollection **retval ); + + [propget, id(0x60020003)] + HRESULT Updates( [out, retval] IUpdateCollection **retval ); + + [propget, id(0x60020004)] + HRESULT Warnings( [out, retval] IUpdateExceptionCollection **retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(be56a644-af0e-4e0e-a311-c1d8e695cbff), + pointer_default(unique), +] +interface IUpdateHistoryEntry : IDispatch +{ + [propget, id(0x60020001)] + HRESULT Operation( [out, retval] UpdateOperation *retval ); + + [propget, id(0x60020002)] + HRESULT ResultCode( [out, retval] OperationResultCode *retval ); + + [propget, id(0x60020003)] + HRESULT HResult( [out, retval] LONG *retval ); + + [propget, id(0x60020004)] + HRESULT Date( [out, retval] DATE *retval ); + + [propget, id(0x60020005)] + HRESULT UpdateIdentity( [out, retval] IUpdateIdentity **retval ); + + [propget, id(0x60020006)] + HRESULT Title( [out, retval] BSTR *retval ); + + [propget, id(0x60020007)] + HRESULT Description( [out, retval] BSTR *retval ); + + [propget, id(0x60020008)] + HRESULT UnmappedResultCode( [out, retval] LONG *retval ); + + [propget, id(0x60020009)] + HRESULT ClientApplicationID( [out, retval] BSTR *retval ); + + [propget, id(0x6002000a)] + HRESULT ServerSelection( [out, retval] ServerSelection *retval ); + + [propget, id(0x6002000b)] + HRESULT ServiceID( [out, retval] BSTR *retval ); + + [propget, id(0x6002000c)] + HRESULT UninstallationSteps( [out, retval] IStringCollection **retval ); + + [propget, id(0x6002000d)] + HRESULT UninstallationNotes( [out, retval] BSTR *retval ); + + [propget, id(0x6002000e)] + HRESULT SupportUrl( [out, retval] BSTR *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(a7f04f3c-a290-435b-aadf-a116c3357a5c), + pointer_default(unique), +] +interface IUpdateHistoryEntryCollection : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT Item( [in] LONG index, + [out, retval] IUpdateHistoryEntry **retval ); + + [propget, id(DISPID_NEWENUM)] + HRESULT _NewEnum( [out, retval] IUnknown **retval ); + + [propget, id(0x60020001)] + HRESULT Count( [out, retval] LONG *retval ); +} + +[ + object, + uuid(8f45abf1-f9ae-4b95-a933-f0f66e5056ea), + oleautomation, + dual, + nonextensible, + pointer_default(unique), +] +interface IUpdateSearcher : IDispatch +{ + [propget] + HRESULT CanAutomaticallyUpgradeService( + [out, retval] VARIANT_BOOL *retval); + + [propput] + HRESULT CanAutomaticallyUpgradeService( + [in] VARIANT_BOOL value); + + [propget] + HRESULT ClientApplicationID( + [out, retval] BSTR *retval); + + [propput] + HRESULT ClientApplicationID( + [in] BSTR value); + + [propget] + HRESULT IncludePotentiallySupersededUpdates( + [out, retval] VARIANT_BOOL *retval); + + [propput] + HRESULT IncludePotentiallySupersededUpdates( + [in] VARIANT_BOOL value); + + [propget] + HRESULT ServerSelection( + [out, retval] ServerSelection *retval); + + [propput] + HRESULT ServerSelection( + [in] ServerSelection value); + + HRESULT BeginSearch( + [in] BSTR criteria, + [in] IUnknown *onCompleted, + [in] VARIANT state, + [out, retval] ISearchJob **retval); + + HRESULT EndSearch( + [in] ISearchJob *searchJob, + [out, retval] ISearchResult **retval); + + HRESULT EscapeString( + [in] BSTR unescaped, + [out, retval] BSTR *retval); + + HRESULT QueryHistory( + [in] LONG startIndex, + [in] LONG count, + [out, retval] IUpdateHistoryEntryCollection **retval); + + HRESULT Search( + [in] BSTR criteria, + [out, retval] ISearchResult **retval); + + [propget] + HRESULT Online( + [out, retval] VARIANT_BOOL *retval); + + [propput] + HRESULT Online( + [in] VARIANT_BOOL value); + + HRESULT GetTotalHistoryCount( + [out, retval] LONG *retval); + + [propget] + HRESULT ServiceID( + [out, retval] BSTR *retval); + + [propput] + HRESULT ServiceID( + [in] BSTR value); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(bf99af76-b575-42ad-8aa4-33cbb5477af1), + pointer_default(unique), +] +interface IUpdateDownloadResult : IDispatch +{ + [propget, id(0x60020001)] + HRESULT HResult( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT ResultCode( [out, retval] OperationResultCode *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(d31a5bac-f719-4178-9dbb-5e2cb47fd18a), + pointer_default(unique), +] +interface IDownloadProgress : IDispatch +{ + [propget, id(0x60020001)] + HRESULT CurrentUpdateBytesDownloaded( [out, retval] DECIMAL *retval ); + + [propget, id(0x60020002)] + HRESULT CurrentUpdateBytesToDownload( [out, retval] DECIMAL *retval ); + + [propget, id(0x60020003)] + HRESULT CurrentUpdateIndex( [out, retval] LONG *retval ); + + [propget, id(0x60020004)] + HRESULT PercentComplete( [out, retval] LONG *retval ); + + [propget, id(0x60020005)] + HRESULT TotalBytesDownloaded( [out, retval] DECIMAL *retval ); + + [propget, id(0x60020006)] + HRESULT TotalBytesToDownload( [out, retval] DECIMAL *retval ); + + [id(0x60020007)] + HRESULT GetUpdateResult( [in] LONG updateIndex, + [out, retval] IUpdateDownloadResult **retval ); + + + [propget, id(0x60020008)] + HRESULT CurrentUpdateDownloadPhase( [out, retval] DownloadPhase *retval ); + + [propget, id(0x60020009)] + HRESULT CurrentUpdatePercentComplete( [out, retval] LONG *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(c574de85-7358-43f6-aae8-8697e62d8ba7), + pointer_default(unique), +] +interface IDownloadJob : IDispatch +{ + [propget, id(0x60020001)] + HRESULT AsyncState( [out, retval] VARIANT *retval ); + + [propget, id(0x60020002)] + HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020003)] + HRESULT Updates( [out, retval] IUpdateCollection **retval ); + + [id(0x60020004)] + HRESULT CleanUp(); + + [id(0x60020005)] + HRESULT GetProgress( [out, retval] IDownloadProgress **retval ); + + [id(0x60020006)] + HRESULT RequestAbort(); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(daa4fdd0-4727-4dbe-a1e7-745dca317144), + pointer_default(unique), +] +interface IDownloadResult : IDispatch +{ + [propget, id(0x60020001)] + HRESULT HResult( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT ResultCode( [out, retval] OperationResultCode *retval ); + + [id(0x60020003)] + HRESULT GetUpdateResult( [in] LONG updateIndex, + [out, retval] IUpdateDownloadResult **retval ); +} + +[ + object, + uuid(68f1c6f9-7ecc-4666-a464-247fe12496c3), + oleautomation, + dual, + nonextensible, + pointer_default(unique), + hidden +] +interface IUpdateDownloader : IDispatch +{ + [propget] + HRESULT ClientApplicationID( + [out, retval] BSTR *retval); + + [propput] + HRESULT ClientApplicationID( + [in] BSTR value); + + [propget] + HRESULT IsForced( + [out, retval] VARIANT_BOOL *retval); + + [propput] + HRESULT IsForced( + [in] VARIANT_BOOL value); + + [propget] + HRESULT Priority( + [out, retval] DownloadPriority *retval); + + [propput] + HRESULT Priority( + [in] DownloadPriority value); + + [propget] + HRESULT Updates( + [out, retval] IUpdateCollection **retval); + + [propput] + HRESULT Updates( + [in] IUpdateCollection *value); + + HRESULT BeginDownload( + [in] IUnknown *onProgressChanged, + [in] IUnknown *onCompleted, + [in] VARIANT state, + [out, retval] IDownloadJob **retval); + + HRESULT Download( + [out, retval] IDownloadResult **retval); + + HRESULT EndDownload( + [in] IDownloadJob *value, + [out, retval] IDownloadResult **retval); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(d940f0f8-3cbb-4fd0-993f-471e7f2328ad), + pointer_default(unique), +] +interface IUpdateInstallationResult : IDispatch +{ + [propget, id(0x60020001)] + HRESULT HResult( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT RebootRequired( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020003)] + HRESULT ResultCode( [out, retval] OperationResultCode *retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(345c8244-43a3-4e32-a368-65f073b76f36), + pointer_default(unique), +] +interface IInstallationProgress : IDispatch +{ + [propget, id(0x60020001)] + HRESULT CurrentUpdateIndex( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT CurrentUpdatePercentComplete( [out, retval] LONG *retval ); + + [propget, id(0x60020003)] + HRESULT PercentComplete( [out, retval] LONG *retval ); + + [id(0x60020004)] + HRESULT GetUpdateResult( [in] LONG updateIndex, + [out, retval] IUpdateInstallationResult **retval ); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(5c209f0b-bad5-432a-9556-4699bed2638a), + pointer_default(unique), +] +interface IInstallationJob : IDispatch +{ + [propget, id(0x60020001)] + HRESULT AsyncState( [out, retval] VARIANT *retval ); + + [propget, id(0x60020002)] + HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020003)] + HRESULT Updates( [out, retval] IUpdateCollection **retval ); + + [id(0x60020004)] + HRESULT CleanUp(); + + [id(0x60020005)] + HRESULT GetProgress( [out, retval] IInstallationProgress **retval ); + + [id(0x60020006)] + HRESULT RequestAbort(); +} + +[ + object, + oleautomation, + dual, + nonextensible, + uuid(a43c56d6-7451-48d4-af96-b6cd2d0d9b7a), + pointer_default(unique), +] +interface IInstallationResult : IDispatch +{ + [propget, id(0x60020001)] + HRESULT HResult( [out, retval] LONG *retval ); + + [propget, id(0x60020002)] + HRESULT RebootRequired( [out, retval] VARIANT_BOOL *retval ); + + [propget, id(0x60020003)] + HRESULT ResultCode( [out, retval] OperationResultCode *retval ); + + [id(0x60020004)] + HRESULT GetUpdateResult( [in] LONG updateIndex, + [out, retval] IUpdateInstallationResult **retval ); +} + +[ + object, + uuid(7b929c68-ccdc-4226-96b1-8724600b54c2), + oleautomation, + dual, + nonextensible, + pointer_default(unique), +] +interface IUpdateInstaller : IDispatch +{ + [propget] + HRESULT ClientApplicationID( + [out, retval] BSTR *retval); + + [propput] + HRESULT ClientApplicationID( + [in] BSTR value); + + [propget] + HRESULT IsForced( + [out, retval] VARIANT_BOOL *retval); + + [propput] + HRESULT IsForced( + [in] VARIANT_BOOL value); + + [propget, restricted] + HRESULT ParentHwnd( + [out, retval] HWND *retval); + + [propput, restricted] + HRESULT ParentHwnd( + [in, unique] HWND value); + + [propput] + HRESULT ParentWindow( + [in, unique] IUnknown *value); + + [propget] + HRESULT ParentWindow( + [out, retval] IUnknown **retval); + + [propget] + HRESULT Updates( + [out, retval] IUpdateCollection **retval); + + [propput] + HRESULT Updates( + [in] IUpdateCollection *value); + + HRESULT BeginInstall( + [in] IUnknown *onProgressChanged, + [in] IUnknown *onCompleted, + [in] VARIANT state, + [out, retval] IInstallationJob **retval); + + HRESULT BeginUninstall( + [in] IUnknown *onProgressChanged, + [in] IUnknown *onCompleted, + [in] VARIANT state, + [out, retval] IInstallationJob **retval); + + HRESULT EndInstall( + [in] IInstallationJob *value, + [out, retval] IInstallationResult **retval); + + HRESULT EndUninstall( + [in] IInstallationJob *value, + [out, retval] IInstallationResult **retval); + + HRESULT Install( + [out, retval] IInstallationResult **retval); + + HRESULT RunWizard( + [in, defaultvalue("")] BSTR dialogTitle, + [out, retval] IInstallationResult **retval); + + [propget] + HRESULT IsBusy( + [out, retval] VARIANT_BOOL *retval); + + HRESULT Uninstall( + [out, retval] IInstallationResult **retval); + + [propget] + HRESULT AllowSourcePrompts( + [out, retval] VARIANT_BOOL *retval); + + [propput] + HRESULT AllowSourcePrompts( + [in] VARIANT_BOOL value); + + [propget] + HRESULT RebootRequiredBeforeInstallation( + [out, retval] VARIANT_BOOL *retval); +} + +[ + object, + uuid(ADE87BF7-7B56-4275-8FAB-B9B0E591844B), + oleautomation, + hidden, + dual, + nonextensible, + pointer_default(unique), +] +interface ISystemInformation : IDispatch +{ + [propget] + HRESULT OemHardwareSupportLink( + [out, retval] BSTR *retval); + + [propget] + HRESULT RebootRequired( + [out, retval] VARIANT_BOOL *retval); +} + +[ + helpstring("AutomaticUpdates Class"), + threading(both), + progid("Microsoft.Update.AutoUpdate.1"), + vi_progid("Microsoft.Update.AutoUpdate"), + uuid(bfe18e9c-6d87-4450-b37c-e02f0b373803) +] +coclass AutomaticUpdates { interface IAutomaticUpdates; } + +[ + helpstring("UpdateSession Class"), + threading(both), + progid("Microsoft.Update.Session.1"), + vi_progid("Microsoft.Update.Session"), + uuid(4cb43d7f-7eee-4906-8698-60da1c38f2fe) +] +coclass UpdateSession { interface IUpdateSession; } + +[ + helpstring("SystemInformation Class"), + threading(both), + progid("Microsoft.Update.SystemInfo.1"), + vi_progid("Microsoft.Update.SystemInfo"), + uuid(C01B9BA0-BEA7-41BA-B604-D0A36F469133) +] +coclass SystemInformation { interface ISystemInformation; } + +} /* WUApiLib */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/x3daudio.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/x3daudio.h new file mode 100644 index 0000000..a503507 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/x3daudio.h @@ -0,0 +1,97 @@ +/* + * Copyright (c) 2015 Andrew Eikum for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _X3DAUDIO_H +#define _X3DAUDIO_H + +typedef struct X3DAUDIO_VECTOR { + float x, y, z; +} X3DAUDIO_VECTOR; + +typedef struct X3DAUDIO_CONE { + float InnerAngle; + float OuterAngle; + float InnerVolume; + float OuterVolume; + float InnerLPF; + float OuterLPF; + float InnerReverb; + float OuterReverb; +} X3DAUDIO_CONE; + +typedef struct X3DAUDIO_DISTANCE_CURVE_POINT { + float Distance; + float DSPSetting; +} X3DAUDIO_DISTANCE_CURVE_POINT; + +typedef struct X3DAUDIO_DISTANCE_CURVE { + X3DAUDIO_DISTANCE_CURVE_POINT *pPoints; + UINT32 PointCount; +} X3DAUDIO_DISTANCE_CURVE; + +typedef struct X3DAUDIO_LISTENER { + X3DAUDIO_VECTOR OrientFront; + X3DAUDIO_VECTOR OrientTop; + X3DAUDIO_VECTOR Position; + X3DAUDIO_VECTOR Velocity; + X3DAUDIO_CONE *pCone; +} X3DAUDIO_LISTENER; + +typedef struct X3DAUDIO_EMITTER { + X3DAUDIO_CONE *pCone; + X3DAUDIO_VECTOR OrientFront; + X3DAUDIO_VECTOR OrientTop; + X3DAUDIO_VECTOR Position; + X3DAUDIO_VECTOR Velocity; + float InnerRadius; + float InnerRadiusAngle; + UINT32 ChannelCount; + float ChannelRadius; + float *pChannelAzimuths; + X3DAUDIO_DISTANCE_CURVE *pVolumeCurve; + X3DAUDIO_DISTANCE_CURVE *pLFECurve; + X3DAUDIO_DISTANCE_CURVE *pLPFDirectCurve; + X3DAUDIO_DISTANCE_CURVE *pLPFReverbCurve; + X3DAUDIO_DISTANCE_CURVE *pReverbCurve; + float CurveDistanceScalar; + float DopplerScalar; +} X3DAUDIO_EMITTER; + +typedef struct X3DAUDIO_DSP_SETTINGS { + float *pMatrixCoefficients; + float *pDelayTimes; + UINT32 SrcChannelCount; + UINT32 DstChannelCount; + float LPFDirectCoefficient; + float LPFReverbCoefficient; + float ReverbLevel; + float DopplerFactor; + float EmitterToListenerAngle; + float EmitterToListenerDistance; + float EmitterVelocityComponent; + float ListenerVelocityComponent; +} X3DAUDIO_DSP_SETTINGS; + +#define X3DAUDIO_HANDLE_BYTESIZE 20 +typedef BYTE X3DAUDIO_HANDLE[X3DAUDIO_HANDLE_BYTESIZE]; + +HRESULT CDECL X3DAudioInitialize(UINT32, float, X3DAUDIO_HANDLE); +void CDECL X3DAudioCalculate(const X3DAUDIO_HANDLE, const X3DAUDIO_LISTENER *, + const X3DAUDIO_EMITTER *, UINT32, X3DAUDIO_DSP_SETTINGS *); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapo.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapo.h new file mode 100644 index 0000000..22e0801 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapo.h @@ -0,0 +1,408 @@ +/*** Autogenerated by WIDL 2.18 from xapo.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __xapo_h__ +#define __xapo_h__ + +/* Forward declarations */ + +#ifndef __IXAPO_FWD_DEFINED__ +#define __IXAPO_FWD_DEFINED__ +typedef interface IXAPO IXAPO; +#ifdef __cplusplus +interface IXAPO; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAPOParameters_FWD_DEFINED__ +#define __IXAPOParameters_FWD_DEFINED__ +typedef interface IXAPOParameters IXAPOParameters; +#ifdef __cplusplus +interface IXAPOParameters; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +typedef struct WAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX; +typedef struct __WIDL_xapo_generated_name_00000002 { + WAVEFORMATEX Format; + union { + WORD wValidBitsPerSample; + WORD wSamplesPerBlock; + WORD wReserved; + } Samples; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE; +typedef struct __WIDL_xapo_generated_name_00000002 *PWAVEFORMATEXTENSIBLE; +#else +#include +#endif +typedef struct XAPO_REGISTRATION_PROPERTIES { + CLSID clsid; + WCHAR FriendlyName[256]; + WCHAR CopyrightInfo[256]; + UINT32 MajorVersion; + UINT32 MinorVersion; + UINT32 Flags; + UINT32 MinInputBufferCount; + UINT32 MaxInputBufferCount; + UINT32 MinOutputBufferCount; + UINT32 MaxOutputBufferCount; +} XAPO_REGISTRATION_PROPERTIES; +typedef struct XAPO20_REGISTRATION_PROPERTIES { + CLSID clsid; + WCHAR FriendlyName[256]; + WCHAR CopyrightInfo[256]; + UINT32 MajorVersion; + UINT32 MinorVersion; + UINT32 Flags; + UINT32 MinInputBufferCount; + UINT32 MaxInputBufferCount; + UINT32 MinOutputBufferCount; + UINT32 MaxOutputBufferCount; + UINT32 InterfaceCount; + IID InterfaceArray[1]; +} XAPO20_REGISTRATION_PROPERTIES; +typedef struct XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS { + const WAVEFORMATEX *pFormat; + UINT32 MaxFrameCount; +} XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS; +typedef enum XAPO_BUFFER_FLAGS { + XAPO_BUFFER_SILENT = 0, + XAPO_BUFFER_VALID = 1 +} XAPO_BUFFER_FLAGS; +typedef struct XAPO_PROCESS_BUFFER_PARAMETERS { + void *pBuffer; + XAPO_BUFFER_FLAGS BufferFlags; + UINT32 ValidFrameCount; +} XAPO_PROCESS_BUFFER_PARAMETERS; +/***************************************************************************** + * IXAPO interface + */ +#ifndef __IXAPO_INTERFACE_DEFINED__ +#define __IXAPO_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAPO, 0xa410b984, 0x9839, 0x4819, 0xa0,0xbe, 0x28,0x56,0xae,0x6b,0x3a,0xdb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a410b984-9839-4819-a0be-2856ae6b3adb") +IXAPO : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetRegistrationProperties( + XAPO_REGISTRATION_PROPERTIES **props) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsInputFormatSupported( + const WAVEFORMATEX *output_fmt, + const WAVEFORMATEX *input_fmt, + WAVEFORMATEX **supported_fmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsOutputFormatSupported( + const WAVEFORMATEX *input_fmt, + const WAVEFORMATEX *output_fmt, + WAVEFORMATEX **supported_fmt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + const void *data, + UINT32 data_len) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE LockForProcess( + UINT32 in_params_count, + const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *in_params, + UINT32 out_params_count, + const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *out_params) = 0; + + virtual void STDMETHODCALLTYPE UnlockForProcess( + ) = 0; + + virtual void STDMETHODCALLTYPE Process( + UINT32 in_params_count, + const XAPO_PROCESS_BUFFER_PARAMETERS *in_params, + UINT32 out_params_count, + const XAPO_PROCESS_BUFFER_PARAMETERS *out_params, + BOOL enabled) = 0; + + virtual UINT32 STDMETHODCALLTYPE CalcInputFrames( + UINT32 output_frames) = 0; + + virtual UINT32 STDMETHODCALLTYPE CalcOutputFrames( + UINT32 input_frames) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAPO, 0xa410b984, 0x9839, 0x4819, 0xa0,0xbe, 0x28,0x56,0xae,0x6b,0x3a,0xdb) +#endif +#else +typedef struct IXAPOVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAPO *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAPO *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAPO *This); + + /*** IXAPO methods ***/ + HRESULT (STDMETHODCALLTYPE *GetRegistrationProperties)( + IXAPO *This, + XAPO_REGISTRATION_PROPERTIES **props); + + HRESULT (STDMETHODCALLTYPE *IsInputFormatSupported)( + IXAPO *This, + const WAVEFORMATEX *output_fmt, + const WAVEFORMATEX *input_fmt, + WAVEFORMATEX **supported_fmt); + + HRESULT (STDMETHODCALLTYPE *IsOutputFormatSupported)( + IXAPO *This, + const WAVEFORMATEX *input_fmt, + const WAVEFORMATEX *output_fmt, + WAVEFORMATEX **supported_fmt); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IXAPO *This, + const void *data, + UINT32 data_len); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IXAPO *This); + + HRESULT (STDMETHODCALLTYPE *LockForProcess)( + IXAPO *This, + UINT32 in_params_count, + const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *in_params, + UINT32 out_params_count, + const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *out_params); + + void (STDMETHODCALLTYPE *UnlockForProcess)( + IXAPO *This); + + void (STDMETHODCALLTYPE *Process)( + IXAPO *This, + UINT32 in_params_count, + const XAPO_PROCESS_BUFFER_PARAMETERS *in_params, + UINT32 out_params_count, + const XAPO_PROCESS_BUFFER_PARAMETERS *out_params, + BOOL enabled); + + UINT32 (STDMETHODCALLTYPE *CalcInputFrames)( + IXAPO *This, + UINT32 output_frames); + + UINT32 (STDMETHODCALLTYPE *CalcOutputFrames)( + IXAPO *This, + UINT32 input_frames); + + END_INTERFACE +} IXAPOVtbl; + +interface IXAPO { + CONST_VTBL IXAPOVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAPO_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAPO_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAPO_Release(This) (This)->lpVtbl->Release(This) +/*** IXAPO methods ***/ +#define IXAPO_GetRegistrationProperties(This,props) (This)->lpVtbl->GetRegistrationProperties(This,props) +#define IXAPO_IsInputFormatSupported(This,output_fmt,input_fmt,supported_fmt) (This)->lpVtbl->IsInputFormatSupported(This,output_fmt,input_fmt,supported_fmt) +#define IXAPO_IsOutputFormatSupported(This,input_fmt,output_fmt,supported_fmt) (This)->lpVtbl->IsOutputFormatSupported(This,input_fmt,output_fmt,supported_fmt) +#define IXAPO_Initialize(This,data,data_len) (This)->lpVtbl->Initialize(This,data,data_len) +#define IXAPO_Reset(This) (This)->lpVtbl->Reset(This) +#define IXAPO_LockForProcess(This,in_params_count,in_params,out_params_count,out_params) (This)->lpVtbl->LockForProcess(This,in_params_count,in_params,out_params_count,out_params) +#define IXAPO_UnlockForProcess(This) (This)->lpVtbl->UnlockForProcess(This) +#define IXAPO_Process(This,in_params_count,in_params,out_params_count,out_params,enabled) (This)->lpVtbl->Process(This,in_params_count,in_params,out_params_count,out_params,enabled) +#define IXAPO_CalcInputFrames(This,output_frames) (This)->lpVtbl->CalcInputFrames(This,output_frames) +#define IXAPO_CalcOutputFrames(This,input_frames) (This)->lpVtbl->CalcOutputFrames(This,input_frames) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAPO_QueryInterface(IXAPO* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAPO_AddRef(IXAPO* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAPO_Release(IXAPO* This) { + return This->lpVtbl->Release(This); +} +/*** IXAPO methods ***/ +static FORCEINLINE HRESULT IXAPO_GetRegistrationProperties(IXAPO* This,XAPO_REGISTRATION_PROPERTIES **props) { + return This->lpVtbl->GetRegistrationProperties(This,props); +} +static FORCEINLINE HRESULT IXAPO_IsInputFormatSupported(IXAPO* This,const WAVEFORMATEX *output_fmt,const WAVEFORMATEX *input_fmt,WAVEFORMATEX **supported_fmt) { + return This->lpVtbl->IsInputFormatSupported(This,output_fmt,input_fmt,supported_fmt); +} +static FORCEINLINE HRESULT IXAPO_IsOutputFormatSupported(IXAPO* This,const WAVEFORMATEX *input_fmt,const WAVEFORMATEX *output_fmt,WAVEFORMATEX **supported_fmt) { + return This->lpVtbl->IsOutputFormatSupported(This,input_fmt,output_fmt,supported_fmt); +} +static FORCEINLINE HRESULT IXAPO_Initialize(IXAPO* This,const void *data,UINT32 data_len) { + return This->lpVtbl->Initialize(This,data,data_len); +} +static FORCEINLINE HRESULT IXAPO_Reset(IXAPO* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IXAPO_LockForProcess(IXAPO* This,UINT32 in_params_count,const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *in_params,UINT32 out_params_count,const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *out_params) { + return This->lpVtbl->LockForProcess(This,in_params_count,in_params,out_params_count,out_params); +} +static FORCEINLINE void IXAPO_UnlockForProcess(IXAPO* This) { + This->lpVtbl->UnlockForProcess(This); +} +static FORCEINLINE void IXAPO_Process(IXAPO* This,UINT32 in_params_count,const XAPO_PROCESS_BUFFER_PARAMETERS *in_params,UINT32 out_params_count,const XAPO_PROCESS_BUFFER_PARAMETERS *out_params,BOOL enabled) { + This->lpVtbl->Process(This,in_params_count,in_params,out_params_count,out_params,enabled); +} +static FORCEINLINE UINT32 IXAPO_CalcInputFrames(IXAPO* This,UINT32 output_frames) { + return This->lpVtbl->CalcInputFrames(This,output_frames); +} +static FORCEINLINE UINT32 IXAPO_CalcOutputFrames(IXAPO* This,UINT32 input_frames) { + return This->lpVtbl->CalcOutputFrames(This,input_frames); +} +#endif +#endif + +#endif + + +#endif /* __IXAPO_INTERFACE_DEFINED__ */ + +DEFINE_GUID(IID_IXAPO27, 0xa90bc001, 0xe897, 0xe897, 0x55, 0xe4, 0x9e, 0x47, 0x00, 0x00, 0x00, 0x00); +/***************************************************************************** + * IXAPOParameters interface + */ +#ifndef __IXAPOParameters_INTERFACE_DEFINED__ +#define __IXAPOParameters_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAPOParameters, 0x26d95c66, 0x80f2, 0x499a, 0xad,0x54, 0x5a,0xe7,0xf0,0x1c,0x6d,0x98); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("26d95c66-80f2-499a-ad54-5ae7f01c6d98") +IXAPOParameters : public IUnknown +{ + virtual void STDMETHODCALLTYPE SetParameters( + const void *params, + UINT32 params_len) = 0; + + virtual void STDMETHODCALLTYPE GetParameters( + void *params, + UINT32 params_len) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAPOParameters, 0x26d95c66, 0x80f2, 0x499a, 0xad,0x54, 0x5a,0xe7,0xf0,0x1c,0x6d,0x98) +#endif +#else +typedef struct IXAPOParametersVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAPOParameters *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAPOParameters *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAPOParameters *This); + + /*** IXAPOParameters methods ***/ + void (STDMETHODCALLTYPE *SetParameters)( + IXAPOParameters *This, + const void *params, + UINT32 params_len); + + void (STDMETHODCALLTYPE *GetParameters)( + IXAPOParameters *This, + void *params, + UINT32 params_len); + + END_INTERFACE +} IXAPOParametersVtbl; + +interface IXAPOParameters { + CONST_VTBL IXAPOParametersVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAPOParameters_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAPOParameters_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAPOParameters_Release(This) (This)->lpVtbl->Release(This) +/*** IXAPOParameters methods ***/ +#define IXAPOParameters_SetParameters(This,params,params_len) (This)->lpVtbl->SetParameters(This,params,params_len) +#define IXAPOParameters_GetParameters(This,params,params_len) (This)->lpVtbl->GetParameters(This,params,params_len) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAPOParameters_QueryInterface(IXAPOParameters* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAPOParameters_AddRef(IXAPOParameters* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAPOParameters_Release(IXAPOParameters* This) { + return This->lpVtbl->Release(This); +} +/*** IXAPOParameters methods ***/ +static FORCEINLINE void IXAPOParameters_SetParameters(IXAPOParameters* This,const void *params,UINT32 params_len) { + This->lpVtbl->SetParameters(This,params,params_len); +} +static FORCEINLINE void IXAPOParameters_GetParameters(IXAPOParameters* This,void *params,UINT32 params_len) { + This->lpVtbl->GetParameters(This,params,params_len); +} +#endif +#endif + +#endif + + +#endif /* __IXAPOParameters_INTERFACE_DEFINED__ */ + +DEFINE_GUID(IID_IXAPO27Parameters, 0xa90bc001, 0xe897, 0xe897, 0x55, 0xe4, 0x9e, 0x47, 0x00, 0x00, 0x00, 0x01); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __xapo_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapo.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapo.idl new file mode 100644 index 0000000..de09ba0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapo.idl @@ -0,0 +1,147 @@ +/* + * Copyright (c) 2015 Andrew Eikum for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +#define XAPO_REGISTRATION_STRING_LENGTH 256 + +cpp_quote("#if 0") +typedef struct WAVEFORMATEX +{ + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX; + +typedef struct { + WAVEFORMATEX Format; + union { + WORD wValidBitsPerSample; + WORD wSamplesPerBlock; + WORD wReserved; + } Samples; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; +cpp_quote("#else") +cpp_quote("#include ") +cpp_quote("#endif") + +typedef struct XAPO_REGISTRATION_PROPERTIES +{ + CLSID clsid; + WCHAR FriendlyName[XAPO_REGISTRATION_STRING_LENGTH]; + WCHAR CopyrightInfo[XAPO_REGISTRATION_STRING_LENGTH]; + UINT32 MajorVersion; + UINT32 MinorVersion; + UINT32 Flags; + UINT32 MinInputBufferCount; + UINT32 MaxInputBufferCount; + UINT32 MinOutputBufferCount; + UINT32 MaxOutputBufferCount; +} XAPO_REGISTRATION_PROPERTIES; + +typedef struct XAPO20_REGISTRATION_PROPERTIES +{ + CLSID clsid; + WCHAR FriendlyName[XAPO_REGISTRATION_STRING_LENGTH]; + WCHAR CopyrightInfo[XAPO_REGISTRATION_STRING_LENGTH]; + UINT32 MajorVersion; + UINT32 MinorVersion; + UINT32 Flags; + UINT32 MinInputBufferCount; + UINT32 MaxInputBufferCount; + UINT32 MinOutputBufferCount; + UINT32 MaxOutputBufferCount; + UINT32 InterfaceCount; + IID InterfaceArray[1]; +} XAPO20_REGISTRATION_PROPERTIES; + +typedef struct XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS { + const WAVEFORMATEX *pFormat; + UINT32 MaxFrameCount; +} XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS; + +typedef enum XAPO_BUFFER_FLAGS { + XAPO_BUFFER_SILENT, + XAPO_BUFFER_VALID +} XAPO_BUFFER_FLAGS; + +typedef struct XAPO_PROCESS_BUFFER_PARAMETERS { + void *pBuffer; + XAPO_BUFFER_FLAGS BufferFlags; + UINT32 ValidFrameCount; +} XAPO_PROCESS_BUFFER_PARAMETERS; + +/* XAudio2 2.8 version of IXAPO */ +[ + object, + local, + uuid(a410b984-9839-4819-a0be-2856ae6b3adb) +] +interface IXAPO : IUnknown +{ + HRESULT GetRegistrationProperties([out] XAPO_REGISTRATION_PROPERTIES **props); + + HRESULT IsInputFormatSupported(const WAVEFORMATEX *output_fmt, + const WAVEFORMATEX *input_fmt, WAVEFORMATEX **supported_fmt); + + HRESULT IsOutputFormatSupported(const WAVEFORMATEX *input_fmt, + const WAVEFORMATEX *output_fmt, WAVEFORMATEX **supported_fmt); + + HRESULT Initialize(const void *data, UINT32 data_len); + + HRESULT Reset(void); + + HRESULT LockForProcess(UINT32 in_params_count, const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *in_params, + UINT32 out_params_count, const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *out_params); + + void UnlockForProcess(void); + + void Process(UINT32 in_params_count, const XAPO_PROCESS_BUFFER_PARAMETERS *in_params, + UINT32 out_params_count, const XAPO_PROCESS_BUFFER_PARAMETERS *out_params, + BOOL enabled); + + UINT32 CalcInputFrames(UINT32 output_frames); + + UINT32 CalcOutputFrames(UINT32 input_frames); +} + +/* XAudio2 2.7 version of IXAPO is identical to 2.8 */ +cpp_quote("DEFINE_GUID(IID_IXAPO27, 0xa90bc001, 0xe897, 0xe897, 0x55, 0xe4, 0x9e, 0x47, 0x00, 0x00, 0x00, 0x00);") + + +/* XAudio2 2.8 version of IXAPOParameters */ +[ + object, + local, + uuid(26d95c66-80f2-499a-ad54-5ae7f01c6d98) +] +interface IXAPOParameters : IUnknown +{ + void SetParameters(const void *params, UINT32 params_len); + + void GetParameters(void *params, UINT32 params_len); +} + +/* XAudio2 2.7 version of IXAPOParameters is identical to 2.8 */ +cpp_quote("DEFINE_GUID(IID_IXAPO27Parameters, 0xa90bc001, 0xe897, 0xe897, 0x55, 0xe4, 0x9e, 0x47, 0x00, 0x00, 0x00, 0x01);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapofx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapofx.h new file mode 100644 index 0000000..65292db --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xapofx.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2015 Andrew Eikum for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* CLSIDs used by CreateFX, but never registered */ + +#ifndef _XAPOFX_H +#define _XAPOFX_H + +/* xapofx 1.0 through 1.5 */ +DEFINE_GUID(CLSID_FXEQ27, 0xa90bc001, 0xe897, 0xe897, 0x74, 0x39, 0x43, 0x55, 0x00, 0x00, 0x00, 0x00); +/* xaudio >= 2.8 */ +DEFINE_GUID(CLSID_FXEQ, 0xf5e01117, 0xd6c4, 0x485a, 0xa3, 0xf5, 0x69, 0x51, 0x96, 0xf3, 0xdb, 0xfa); + +/* xapofx 1.0 through 1.5 */ +DEFINE_GUID(CLSID_FXMasteringLimiter27, 0xa90bc001, 0xe897, 0xe897, 0x74, 0x39, 0x43, 0x55, 0x00, 0x00, 0x00, 0x01); +/* xaudio >= 2.8 */ +DEFINE_GUID(CLSID_FXMasteringLimiter, 0xc4137916, 0x2be1, 0x46fd, 0x85, 0x99, 0x44, 0x15, 0x36, 0xf4, 0x98, 0x56); + +/* xapofx 1.0 through 1.5 */ +DEFINE_GUID(CLSID_FXReverb27, 0xa90bc001, 0xe897, 0xe897, 0x74, 0x39, 0x43, 0x55, 0x00, 0x00, 0x00, 0x02); +/* xaudio >= 2.8 */ +DEFINE_GUID(CLSID_FXReverb, 0x7d9aca56, 0xcb68, 0x4807, 0xb6, 0x32, 0xb1, 0x37, 0x35, 0x2e, 0x85, 0x96); + +/* xapofx 1.0 through 1.5 */ +DEFINE_GUID(CLSID_FXEcho27, 0xa90bc001, 0xe897, 0xe897, 0x74, 0x39, 0x43, 0x55, 0x00, 0x00, 0x00, 0x03); +/* xaudio >= 2.8 */ +DEFINE_GUID(CLSID_FXEcho, 0x5039d740, 0xf736, 0x449a, 0x84, 0xd3, 0xa5, 0x62, 0x02, 0x55, 0x7b, 0x87); + +#endif diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2.h new file mode 100644 index 0000000..76cc6ad --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2.h @@ -0,0 +1,5965 @@ +/*** Autogenerated by WIDL 2.18 from xaudio2.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __xaudio2_h__ +#define __xaudio2_h__ + +/* Forward declarations */ + +#ifndef __XAudio20_FWD_DEFINED__ +#define __XAudio20_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio20 XAudio20; +#else +typedef struct XAudio20 XAudio20; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio20_FWD_DEFINED__ */ + +#ifndef __XAudio21_FWD_DEFINED__ +#define __XAudio21_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio21 XAudio21; +#else +typedef struct XAudio21 XAudio21; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio21_FWD_DEFINED__ */ + +#ifndef __XAudio22_FWD_DEFINED__ +#define __XAudio22_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio22 XAudio22; +#else +typedef struct XAudio22 XAudio22; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio22_FWD_DEFINED__ */ + +#ifndef __XAudio23_FWD_DEFINED__ +#define __XAudio23_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio23 XAudio23; +#else +typedef struct XAudio23 XAudio23; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio23_FWD_DEFINED__ */ + +#ifndef __XAudio24_FWD_DEFINED__ +#define __XAudio24_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio24 XAudio24; +#else +typedef struct XAudio24 XAudio24; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio24_FWD_DEFINED__ */ + +#ifndef __XAudio25_FWD_DEFINED__ +#define __XAudio25_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio25 XAudio25; +#else +typedef struct XAudio25 XAudio25; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio25_FWD_DEFINED__ */ + +#ifndef __XAudio26_FWD_DEFINED__ +#define __XAudio26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio26 XAudio26; +#else +typedef struct XAudio26 XAudio26; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio26_FWD_DEFINED__ */ + +#ifndef __XAudio27_FWD_DEFINED__ +#define __XAudio27_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio27 XAudio27; +#else +typedef struct XAudio27 XAudio27; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio27_FWD_DEFINED__ */ + +#ifndef __XAudio2Debug_FWD_DEFINED__ +#define __XAudio2Debug_FWD_DEFINED__ +#ifdef __cplusplus +typedef class XAudio2Debug XAudio2Debug; +#else +typedef struct XAudio2Debug XAudio2Debug; +#endif /* defined __cplusplus */ +#endif /* defined __XAudio2Debug_FWD_DEFINED__ */ + +#ifndef __IXAudio2EngineCallback_FWD_DEFINED__ +#define __IXAudio2EngineCallback_FWD_DEFINED__ +typedef interface IXAudio2EngineCallback IXAudio2EngineCallback; +#ifdef __cplusplus +interface IXAudio2EngineCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio20Voice_FWD_DEFINED__ +#define __IXAudio20Voice_FWD_DEFINED__ +typedef interface IXAudio20Voice IXAudio20Voice; +#ifdef __cplusplus +interface IXAudio20Voice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio23Voice_FWD_DEFINED__ +#define __IXAudio23Voice_FWD_DEFINED__ +typedef interface IXAudio23Voice IXAudio23Voice; +#ifdef __cplusplus +interface IXAudio23Voice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio27Voice_FWD_DEFINED__ +#define __IXAudio27Voice_FWD_DEFINED__ +typedef interface IXAudio27Voice IXAudio27Voice; +#ifdef __cplusplus +interface IXAudio27Voice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio2Voice_FWD_DEFINED__ +#define __IXAudio2Voice_FWD_DEFINED__ +typedef interface IXAudio2Voice IXAudio2Voice; +#ifdef __cplusplus +interface IXAudio2Voice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio20SourceVoice_FWD_DEFINED__ +#define __IXAudio20SourceVoice_FWD_DEFINED__ +typedef interface IXAudio20SourceVoice IXAudio20SourceVoice; +#ifdef __cplusplus +interface IXAudio20SourceVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio23SourceVoice_FWD_DEFINED__ +#define __IXAudio23SourceVoice_FWD_DEFINED__ +typedef interface IXAudio23SourceVoice IXAudio23SourceVoice; +#ifdef __cplusplus +interface IXAudio23SourceVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio27SourceVoice_FWD_DEFINED__ +#define __IXAudio27SourceVoice_FWD_DEFINED__ +typedef interface IXAudio27SourceVoice IXAudio27SourceVoice; +#ifdef __cplusplus +interface IXAudio27SourceVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio2SourceVoice_FWD_DEFINED__ +#define __IXAudio2SourceVoice_FWD_DEFINED__ +typedef interface IXAudio2SourceVoice IXAudio2SourceVoice; +#ifdef __cplusplus +interface IXAudio2SourceVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio20SubmixVoice_FWD_DEFINED__ +#define __IXAudio20SubmixVoice_FWD_DEFINED__ +typedef interface IXAudio20SubmixVoice IXAudio20SubmixVoice; +#ifdef __cplusplus +interface IXAudio20SubmixVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio23SubmixVoice_FWD_DEFINED__ +#define __IXAudio23SubmixVoice_FWD_DEFINED__ +typedef interface IXAudio23SubmixVoice IXAudio23SubmixVoice; +#ifdef __cplusplus +interface IXAudio23SubmixVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio27SubmixVoice_FWD_DEFINED__ +#define __IXAudio27SubmixVoice_FWD_DEFINED__ +typedef interface IXAudio27SubmixVoice IXAudio27SubmixVoice; +#ifdef __cplusplus +interface IXAudio27SubmixVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio2SubmixVoice_FWD_DEFINED__ +#define __IXAudio2SubmixVoice_FWD_DEFINED__ +typedef interface IXAudio2SubmixVoice IXAudio2SubmixVoice; +#ifdef __cplusplus +interface IXAudio2SubmixVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio20MasteringVoice_FWD_DEFINED__ +#define __IXAudio20MasteringVoice_FWD_DEFINED__ +typedef interface IXAudio20MasteringVoice IXAudio20MasteringVoice; +#ifdef __cplusplus +interface IXAudio20MasteringVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio23MasteringVoice_FWD_DEFINED__ +#define __IXAudio23MasteringVoice_FWD_DEFINED__ +typedef interface IXAudio23MasteringVoice IXAudio23MasteringVoice; +#ifdef __cplusplus +interface IXAudio23MasteringVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio27MasteringVoice_FWD_DEFINED__ +#define __IXAudio27MasteringVoice_FWD_DEFINED__ +typedef interface IXAudio27MasteringVoice IXAudio27MasteringVoice; +#ifdef __cplusplus +interface IXAudio27MasteringVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio2MasteringVoice_FWD_DEFINED__ +#define __IXAudio2MasteringVoice_FWD_DEFINED__ +typedef interface IXAudio2MasteringVoice IXAudio2MasteringVoice; +#ifdef __cplusplus +interface IXAudio2MasteringVoice; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio20VoiceCallback_FWD_DEFINED__ +#define __IXAudio20VoiceCallback_FWD_DEFINED__ +typedef interface IXAudio20VoiceCallback IXAudio20VoiceCallback; +#ifdef __cplusplus +interface IXAudio20VoiceCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio2VoiceCallback_FWD_DEFINED__ +#define __IXAudio2VoiceCallback_FWD_DEFINED__ +typedef interface IXAudio2VoiceCallback IXAudio2VoiceCallback; +#ifdef __cplusplus +interface IXAudio2VoiceCallback; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio20_FWD_DEFINED__ +#define __IXAudio20_FWD_DEFINED__ +typedef interface IXAudio20 IXAudio20; +#ifdef __cplusplus +interface IXAudio20; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio22_FWD_DEFINED__ +#define __IXAudio22_FWD_DEFINED__ +typedef interface IXAudio22 IXAudio22; +#ifdef __cplusplus +interface IXAudio22; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio27_FWD_DEFINED__ +#define __IXAudio27_FWD_DEFINED__ +typedef interface IXAudio27 IXAudio27; +#ifdef __cplusplus +interface IXAudio27; +#endif /* __cplusplus */ +#endif + +#ifndef __IXAudio2_FWD_DEFINED__ +#define __IXAudio2_FWD_DEFINED__ +typedef interface IXAudio2 IXAudio2; +#ifdef __cplusplus +interface IXAudio2; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include +/***************************************************************************** + * XAudio20 coclass + */ + +DEFINE_GUID(CLSID_XAudio20, 0xfac23f48, 0x31f5, 0x45a8, 0xb4,0x9b, 0x52,0x25,0xd6,0x14,0x01,0xaa); + +#ifdef __cplusplus +class DECLSPEC_UUID("fac23f48-31f5-45a8-b49b-5225d61401aa") XAudio20; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio20, 0xfac23f48, 0x31f5, 0x45a8, 0xb4,0x9b, 0x52,0x25,0xd6,0x14,0x01,0xaa) +#endif +#endif + +/***************************************************************************** + * XAudio21 coclass + */ + +DEFINE_GUID(CLSID_XAudio21, 0xe21a7345, 0xeb21, 0x468e, 0xbe,0x50, 0x80,0x4d,0xb9,0x7c,0xf7,0x08); + +#ifdef __cplusplus +class DECLSPEC_UUID("e21a7345-eb21-468e-be50-804db97cf708") XAudio21; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio21, 0xe21a7345, 0xeb21, 0x468e, 0xbe,0x50, 0x80,0x4d,0xb9,0x7c,0xf7,0x08) +#endif +#endif + +/***************************************************************************** + * XAudio22 coclass + */ + +DEFINE_GUID(CLSID_XAudio22, 0xb802058a, 0x464a, 0x42db, 0xbc,0x10, 0xb6,0x50,0xd6,0xf2,0x58,0x6a); + +#ifdef __cplusplus +class DECLSPEC_UUID("b802058a-464a-42db-bc10-b650d6f2586a") XAudio22; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio22, 0xb802058a, 0x464a, 0x42db, 0xbc,0x10, 0xb6,0x50,0xd6,0xf2,0x58,0x6a) +#endif +#endif + +/***************************************************************************** + * XAudio23 coclass + */ + +DEFINE_GUID(CLSID_XAudio23, 0x4c5e637a, 0x16c7, 0x4de3, 0x9c,0x46, 0x5e,0xd2,0x21,0x81,0x96,0x2d); + +#ifdef __cplusplus +class DECLSPEC_UUID("4c5e637a-16c7-4de3-9c46-5ed22181962d") XAudio23; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio23, 0x4c5e637a, 0x16c7, 0x4de3, 0x9c,0x46, 0x5e,0xd2,0x21,0x81,0x96,0x2d) +#endif +#endif + +/***************************************************************************** + * XAudio24 coclass + */ + +DEFINE_GUID(CLSID_XAudio24, 0x03219e78, 0x5bc3, 0x44d1, 0xb9,0x2e, 0xf6,0x3d,0x89,0xcc,0x65,0x26); + +#ifdef __cplusplus +class DECLSPEC_UUID("03219e78-5bc3-44d1-b92e-f63d89cc6526") XAudio24; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio24, 0x03219e78, 0x5bc3, 0x44d1, 0xb9,0x2e, 0xf6,0x3d,0x89,0xcc,0x65,0x26) +#endif +#endif + +/***************************************************************************** + * XAudio25 coclass + */ + +DEFINE_GUID(CLSID_XAudio25, 0x4c9b6dde, 0x6809, 0x46e6, 0xa2,0x78, 0x9b,0x6a,0x97,0x58,0x86,0x70); + +#ifdef __cplusplus +class DECLSPEC_UUID("4c9b6dde-6809-46e6-a278-9b6a97588670") XAudio25; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio25, 0x4c9b6dde, 0x6809, 0x46e6, 0xa2,0x78, 0x9b,0x6a,0x97,0x58,0x86,0x70) +#endif +#endif + +/***************************************************************************** + * XAudio26 coclass + */ + +DEFINE_GUID(CLSID_XAudio26, 0x3eda9b49, 0x2085, 0x498b, 0x9b,0xb2, 0x39,0xa6,0x77,0x84,0x93,0xde); + +#ifdef __cplusplus +class DECLSPEC_UUID("3eda9b49-2085-498b-9bb2-39a6778493de") XAudio26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio26, 0x3eda9b49, 0x2085, 0x498b, 0x9b,0xb2, 0x39,0xa6,0x77,0x84,0x93,0xde) +#endif +#endif + +/***************************************************************************** + * XAudio27 coclass + */ + +DEFINE_GUID(CLSID_XAudio27, 0x5a508685, 0xa254, 0x4fba, 0x9b,0x82, 0x9a,0x24,0xb0,0x03,0x06,0xaf); + +#ifdef __cplusplus +class DECLSPEC_UUID("5a508685-a254-4fba-9b82-9a24b00306af") XAudio27; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio27, 0x5a508685, 0xa254, 0x4fba, 0x9b,0x82, 0x9a,0x24,0xb0,0x03,0x06,0xaf) +#endif +#endif + +/***************************************************************************** + * XAudio2Debug coclass + */ + +DEFINE_GUID(CLSID_XAudio2Debug, 0xdb05ea35, 0x0329, 0x4d4b, 0xa5,0x3a, 0x6d,0xea,0xd0,0x3d,0x38,0x52); + +#ifdef __cplusplus +class DECLSPEC_UUID("db05ea35-0329-4d4b-a53a-6dead03d3852") XAudio2Debug; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(XAudio2Debug, 0xdb05ea35, 0x0329, 0x4d4b, 0xa5,0x3a, 0x6d,0xea,0xd0,0x3d,0x38,0x52) +#endif +#endif + +#if 0 +typedef struct WAVEFORMATEX { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX; +typedef struct __WIDL_xaudio2_generated_name_00000014 { + WAVEFORMATEX Format; + union { + WORD wValidBitsPerSample; + WORD wSamplesPerBlock; + WORD wReserved; + } Samples; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE; +typedef struct __WIDL_xaudio2_generated_name_00000014 *PWAVEFORMATEXTENSIBLE; +#else +#include +#endif +#ifndef __IXAudio2Voice_FWD_DEFINED__ +#define __IXAudio2Voice_FWD_DEFINED__ +typedef interface IXAudio2Voice IXAudio2Voice; +#ifdef __cplusplus +interface IXAudio2Voice; +#endif /* __cplusplus */ +#endif + +typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER { + Processor1 = 0x1, + Processor2 = 0x2, + Processor3 = 0x4, + Processor4 = 0x8, + Processor5 = 0x10, + Processor6 = 0x20, + Processor7 = 0x40, + Processor8 = 0x80, + Processor9 = 0x100, + Processor10 = 0x200, + Processor11 = 0x400, + Processor12 = 0x800, + Processor13 = 0x1000, + Processor14 = 0x2000, + Processor15 = 0x4000, + Processor16 = 0x8000, + Processor17 = 0x10000, + Processor18 = 0x20000, + Processor19 = 0x40000, + Processor20 = 0x80000, + Processor21 = 0x100000, + Processor22 = 0x200000, + Processor23 = 0x400000, + Processor24 = 0x800000, + Processor25 = 0x1000000, + Processor26 = 0x2000000, + Processor27 = 0x4000000, + Processor28 = 0x8000000, + Processor29 = 0x10000000, + Processor30 = 0x20000000, + Processor31 = 0x40000000, + Processor32 = 0x80000000, + XAUDIO2_ANY_PROCESSOR = 0xffffffff, + XAUDIO2_DEFAULT_PROCESSOR = XAUDIO2_ANY_PROCESSOR +} XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER; +typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER XAUDIO2_PROCESSOR; +typedef struct XAUDIO2_PERFORMANCE_DATA { + UINT64 AudioCyclesSinceLastQuery; + UINT64 TotalCyclesSinceLastQuery; + UINT32 MinimumCyclesPerQuantum; + UINT32 MaximumCyclesPerQuantum; + UINT32 MemoryUsageInBytes; + UINT32 CurrentLatencyInSamples; + UINT32 GlitchesSinceEngineStarted; + UINT32 ActiveSourceVoiceCount; + UINT32 TotalSourceVoiceCount; + UINT32 ActiveSubmixVoiceCount; + UINT32 ActiveResamplerCount; + UINT32 ActiveMatrixMixCount; + UINT32 ActiveXmaSourceVoices; + UINT32 ActiveXmaStreams; +} XAUDIO2_PERFORMANCE_DATA; +typedef struct XAUDIO22_PERFORMANCE_DATA { + UINT64 AudioCyclesSinceLastQuery; + UINT64 TotalCyclesSinceLastQuery; + UINT32 MinimumCyclesPerQuantum; + UINT32 MaximumCyclesPerQuantum; + UINT32 MemoryUsageInBytes; + UINT32 CurrentLatencyInSamples; + UINT32 GlitchesSinceEngineStarted; + UINT32 ActiveSourceVoiceCount; + UINT32 TotalSourceVoiceCount; + UINT32 ActiveSubmixVoiceCount; + UINT32 TotalSubmixVoiceCount; + UINT32 ActiveXmaSourceVoices; + UINT32 ActiveXmaStreams; +} XAUDIO22_PERFORMANCE_DATA; +typedef struct XAUDIO20_PERFORMANCE_DATA { + UINT64 AudioCyclesSinceLastQuery; + UINT64 TotalCyclesSinceLastQuery; + UINT32 MinimumCyclesPerQuantum; + UINT32 MaximumCyclesPerQuantum; + UINT32 MemoryUsageInBytes; + UINT32 CurrentLatencyInSamples; + UINT32 GlitchesSinceLastQuery; + UINT32 ActiveSourceVoiceCount; + UINT32 TotalSourceVoiceCount; + UINT32 ActiveSubmixVoiceCount; + UINT32 TotalSubmixVoiceCount; + UINT32 ActiveXmaSourceVoices; + UINT32 ActiveXmaStreams; +} XAUDIO20_PERFORMANCE_DATA; +typedef enum XAUDIO2_DEVICE_ROLE { + NotDefaultDevice = 0x0, + DefaultConsoleDevice = 0x1, + DefaultMultimediaDevice = 0x2, + DefaultCommunicationsDevice = 0x4, + DefaultGameDevice = 0x8, + GlobalDefaultDevice = 0xf, + InvalidDeviceRole = ~GlobalDefaultDevice +} XAUDIO2_DEVICE_ROLE; +typedef struct XAUDIO2_DEVICE_DETAILS { + WCHAR DeviceID[256]; + WCHAR DisplayName[256]; + XAUDIO2_DEVICE_ROLE Role; + WAVEFORMATEXTENSIBLE OutputFormat; +} XAUDIO2_DEVICE_DETAILS; +typedef struct XAUDIO27_VOICE_DETAILS { + UINT32 CreationFlags; + UINT32 InputChannels; + UINT32 InputSampleRate; +} XAUDIO27_VOICE_DETAILS; +typedef struct XAUDIO2_VOICE_DETAILS { + UINT32 CreationFlags; + UINT32 ActiveFlags; + UINT32 InputChannels; + UINT32 InputSampleRate; +} XAUDIO2_VOICE_DETAILS; +typedef struct XAUDIO2_SEND_DESCRIPTOR { + UINT32 Flags; + IXAudio2Voice *pOutputVoice; +} XAUDIO2_SEND_DESCRIPTOR; +typedef struct XAUDIO23_VOICE_SENDS { + UINT32 OutputCount; + IXAudio2Voice **pOutputVoices; +} XAUDIO23_VOICE_SENDS; +typedef struct XAUDIO2_VOICE_SENDS { + UINT32 SendCount; + XAUDIO2_SEND_DESCRIPTOR *pSends; +} XAUDIO2_VOICE_SENDS; +typedef struct XAUDIO2_EFFECT_DESCRIPTOR { + IUnknown *pEffect; + BOOL InitialState; + UINT32 OutputChannels; +} XAUDIO2_EFFECT_DESCRIPTOR; +typedef struct XAUDIO2_EFFECT_CHAIN { + UINT32 EffectCount; + XAUDIO2_EFFECT_DESCRIPTOR *pEffectDescriptors; +} XAUDIO2_EFFECT_CHAIN; +#define XAUDIO2_MAX_BUFFER_BYTES (0x80000000) + +#define XAUDIO2_MAX_QUEUED_BUFFERS (64) + +#define XAUDIO2_MAX_BUFFERS_SYSTEM (2) + +#define XAUDIO2_MAX_AUDIO_CHANNELS (64) + +#define XAUDIO2_MIN_SAMPLE_RATE (1000) + +#define XAUDIO2_MAX_SAMPLE_RATE (200000) + +#define XAUDIO2_MAX_VOLUME_LEVEL (16777216.0000000) + +#define XAUDIO2_MIN_FREQ_RATIO (1 / 1024.00000000000) + +#define XAUDIO2_MAX_FREQ_RATIO (1024.00000000000) + +#define XAUDIO2_DEFAULT_FREQ_RATIO (2.00000000000000) + +#define XAUDIO2_MAX_FILTER_ONEOVERQ (1.50000000000000) + +#define XAUDIO2_MAX_FILTER_FREQUENCY (1.00000000000000) + +#define XAUDIO2_MAX_LOOP_COUNT (254) + +#define XAUDIO20_MAX_LOOP_COUNT (0x100000) + +#define XAUDIO2_COMMIT_NOW (0) + +#define XAUDIO2_COMMIT_ALL (0) + +#define XAUDIO2_INVALID_OPSET (0xffffffff) + +#define XAUDIO2_NO_LOOP_REGION (0) + +#define XAUDIO2_LOOP_INFINITE (255) + +#define XAUDIO20_LOOP_INFINITE ((UINT)-1) + +#define XAUDIO2_DEFAULT_CHANNELS (0) + +#define XAUDIO2_DEFAULT_SAMPLERATE (0) + +/***************************************************************************** + * IXAudio2EngineCallback interface + */ +#ifndef __IXAudio2EngineCallback_INTERFACE_DEFINED__ +#define __IXAudio2EngineCallback_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio2EngineCallback +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE OnProcessingPassStart( + ) = 0; + + virtual void STDMETHODCALLTYPE OnProcessingPassEnd( + ) = 0; + + virtual void STDMETHODCALLTYPE OnCriticalError( + HRESULT Error) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio2EngineCallbackVtbl { + BEGIN_INTERFACE + + /*** IXAudio2EngineCallback methods ***/ + void (STDMETHODCALLTYPE *OnProcessingPassStart)( + IXAudio2EngineCallback *This); + + void (STDMETHODCALLTYPE *OnProcessingPassEnd)( + IXAudio2EngineCallback *This); + + void (STDMETHODCALLTYPE *OnCriticalError)( + IXAudio2EngineCallback *This, + HRESULT Error); + + END_INTERFACE +} IXAudio2EngineCallbackVtbl; + +interface IXAudio2EngineCallback { + CONST_VTBL IXAudio2EngineCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio2EngineCallback methods ***/ +#define IXAudio2EngineCallback_OnProcessingPassStart(This) (This)->lpVtbl->OnProcessingPassStart(This) +#define IXAudio2EngineCallback_OnProcessingPassEnd(This) (This)->lpVtbl->OnProcessingPassEnd(This) +#define IXAudio2EngineCallback_OnCriticalError(This,Error) (This)->lpVtbl->OnCriticalError(This,Error) +#else +/*** IXAudio2EngineCallback methods ***/ +static FORCEINLINE void IXAudio2EngineCallback_OnProcessingPassStart(IXAudio2EngineCallback* This) { + This->lpVtbl->OnProcessingPassStart(This); +} +static FORCEINLINE void IXAudio2EngineCallback_OnProcessingPassEnd(IXAudio2EngineCallback* This) { + This->lpVtbl->OnProcessingPassEnd(This); +} +static FORCEINLINE void IXAudio2EngineCallback_OnCriticalError(IXAudio2EngineCallback* This,HRESULT Error) { + This->lpVtbl->OnCriticalError(This,Error); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2EngineCallback_INTERFACE_DEFINED__ */ + +typedef enum XAUDIO2_FILTER_TYPE { + LowPassFilter = 0, + BandPassFilter = 1, + HighPassFilter = 2, + NotchFilter = 3 +} XAUDIO2_FILTER_TYPE; +typedef struct XAUDIO2_FILTER_PARAMETERS { + XAUDIO2_FILTER_TYPE Type; + float Frequency; + float OneOverQ; +} XAUDIO2_FILTER_PARAMETERS; +/***************************************************************************** + * IXAudio20Voice interface + */ +#ifndef __IXAudio20Voice_INTERFACE_DEFINED__ +#define __IXAudio20Voice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio20Voice +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE GetVoiceDetails( + XAUDIO27_VOICE_DETAILS *pVoiceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputVoices( + const XAUDIO23_VOICE_SENDS *pSendList) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectChain( + const XAUDIO2_EFFECT_CHAIN *pEffectChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetEffectState( + UINT32 EffectIndex, + BOOL *pEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectParameters( + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEffectParameters( + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilterParameters( + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFilterParameters( + XAUDIO2_FILTER_PARAMETERS *pParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVolume( + float Volume, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetVolume( + float *pVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolumes( + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetChannelVolumes( + UINT32 Channels, + float *pVolumes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix) = 0; + + virtual void STDMETHODCALLTYPE DestroyVoice( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio20VoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio20Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio20Voice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio20Voice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio20Voice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio20Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio20Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio20Voice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio20Voice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio20Voice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio20Voice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio20Voice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio20Voice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio20Voice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio20Voice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio20Voice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio20Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio20Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio20Voice *This); + + END_INTERFACE +} IXAudio20VoiceVtbl; + +interface IXAudio20Voice { + CONST_VTBL IXAudio20VoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio20Voice methods ***/ +#define IXAudio20Voice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio20Voice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio20Voice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio20Voice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio20Voice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio20Voice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio20Voice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio20Voice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio20Voice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio20Voice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio20Voice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio20Voice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio20Voice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio20Voice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio20Voice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio20Voice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio20Voice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio20Voice methods ***/ +static FORCEINLINE void IXAudio20Voice_GetVoiceDetails(IXAudio20Voice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetOutputVoices(IXAudio20Voice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetEffectChain(IXAudio20Voice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20Voice_EnableEffect(IXAudio20Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20Voice_DisableEffect(IXAudio20Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio20Voice_GetEffectState(IXAudio20Voice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetEffectParameters(IXAudio20Voice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20Voice_GetEffectParameters(IXAudio20Voice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetFilterParameters(IXAudio20Voice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio20Voice_GetFilterParameters(IXAudio20Voice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetVolume(IXAudio20Voice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio20Voice_GetVolume(IXAudio20Voice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetChannelVolumes(IXAudio20Voice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio20Voice_GetChannelVolumes(IXAudio20Voice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio20Voice_SetOutputMatrix(IXAudio20Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20Voice_GetOutputMatrix(IXAudio20Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + return This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio20Voice_DestroyVoice(IXAudio20Voice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio20Voice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio23Voice interface + */ +#ifndef __IXAudio23Voice_INTERFACE_DEFINED__ +#define __IXAudio23Voice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio23Voice +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE GetVoiceDetails( + XAUDIO27_VOICE_DETAILS *pVoiceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputVoices( + const XAUDIO23_VOICE_SENDS *pSendList) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectChain( + const XAUDIO2_EFFECT_CHAIN *pEffectChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetEffectState( + UINT32 EffectIndex, + BOOL *pEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectParameters( + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEffectParameters( + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilterParameters( + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFilterParameters( + XAUDIO2_FILTER_PARAMETERS *pParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVolume( + float Volume, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetVolume( + float *pVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolumes( + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetChannelVolumes( + UINT32 Channels, + float *pVolumes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix) = 0; + + virtual void STDMETHODCALLTYPE DestroyVoice( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio23VoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio23Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio23Voice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio23Voice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio23Voice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio23Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio23Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio23Voice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio23Voice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio23Voice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio23Voice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio23Voice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio23Voice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio23Voice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio23Voice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio23Voice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio23Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio23Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio23Voice *This); + + END_INTERFACE +} IXAudio23VoiceVtbl; + +interface IXAudio23Voice { + CONST_VTBL IXAudio23VoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio23Voice methods ***/ +#define IXAudio23Voice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio23Voice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio23Voice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio23Voice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio23Voice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio23Voice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio23Voice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio23Voice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio23Voice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio23Voice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio23Voice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio23Voice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio23Voice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio23Voice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio23Voice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio23Voice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio23Voice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio23Voice methods ***/ +static FORCEINLINE void IXAudio23Voice_GetVoiceDetails(IXAudio23Voice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetOutputVoices(IXAudio23Voice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetEffectChain(IXAudio23Voice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio23Voice_EnableEffect(IXAudio23Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23Voice_DisableEffect(IXAudio23Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio23Voice_GetEffectState(IXAudio23Voice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetEffectParameters(IXAudio23Voice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23Voice_GetEffectParameters(IXAudio23Voice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetFilterParameters(IXAudio23Voice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio23Voice_GetFilterParameters(IXAudio23Voice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetVolume(IXAudio23Voice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio23Voice_GetVolume(IXAudio23Voice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetChannelVolumes(IXAudio23Voice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio23Voice_GetChannelVolumes(IXAudio23Voice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio23Voice_SetOutputMatrix(IXAudio23Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio23Voice_GetOutputMatrix(IXAudio23Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio23Voice_DestroyVoice(IXAudio23Voice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio23Voice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio27Voice interface + */ +#ifndef __IXAudio27Voice_INTERFACE_DEFINED__ +#define __IXAudio27Voice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio27Voice +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE GetVoiceDetails( + XAUDIO27_VOICE_DETAILS *pVoiceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputVoices( + const XAUDIO2_VOICE_SENDS *pSendList) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectChain( + const XAUDIO2_EFFECT_CHAIN *pEffectChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetEffectState( + UINT32 EffectIndex, + BOOL *pEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectParameters( + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEffectParameters( + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilterParameters( + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFilterParameters( + XAUDIO2_FILTER_PARAMETERS *pParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputFilterParameters( + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetOutputFilterParameters( + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVolume( + float Volume, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetVolume( + float *pVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolumes( + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetChannelVolumes( + UINT32 Channels, + float *pVolumes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix) = 0; + + virtual void STDMETHODCALLTYPE DestroyVoice( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio27VoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio27Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio27Voice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio27Voice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio27Voice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio27Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio27Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio27Voice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio27Voice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio27Voice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio27Voice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio27Voice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio27Voice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio27Voice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio27Voice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio27Voice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio27Voice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio27Voice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio27Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio27Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio27Voice *This); + + END_INTERFACE +} IXAudio27VoiceVtbl; + +interface IXAudio27Voice { + CONST_VTBL IXAudio27VoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio27Voice methods ***/ +#define IXAudio27Voice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio27Voice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio27Voice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio27Voice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio27Voice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio27Voice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio27Voice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio27Voice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio27Voice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio27Voice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio27Voice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio27Voice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio27Voice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio27Voice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio27Voice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio27Voice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio27Voice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio27Voice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio27Voice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio27Voice methods ***/ +static FORCEINLINE void IXAudio27Voice_GetVoiceDetails(IXAudio27Voice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetOutputVoices(IXAudio27Voice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetEffectChain(IXAudio27Voice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27Voice_EnableEffect(IXAudio27Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27Voice_DisableEffect(IXAudio27Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio27Voice_GetEffectState(IXAudio27Voice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetEffectParameters(IXAudio27Voice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27Voice_GetEffectParameters(IXAudio27Voice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetFilterParameters(IXAudio27Voice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27Voice_GetFilterParameters(IXAudio27Voice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetOutputFilterParameters(IXAudio27Voice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27Voice_GetOutputFilterParameters(IXAudio27Voice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetVolume(IXAudio27Voice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio27Voice_GetVolume(IXAudio27Voice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetChannelVolumes(IXAudio27Voice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio27Voice_GetChannelVolumes(IXAudio27Voice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio27Voice_SetOutputMatrix(IXAudio27Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio27Voice_GetOutputMatrix(IXAudio27Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio27Voice_DestroyVoice(IXAudio27Voice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio27Voice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio2Voice interface + */ +#ifndef __IXAudio2Voice_INTERFACE_DEFINED__ +#define __IXAudio2Voice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio2Voice +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE GetVoiceDetails( + XAUDIO2_VOICE_DETAILS *pVoiceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputVoices( + const XAUDIO2_VOICE_SENDS *pSendList) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectChain( + const XAUDIO2_EFFECT_CHAIN *pEffectChain) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableEffect( + UINT32 EffectIndex, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetEffectState( + UINT32 EffectIndex, + BOOL *pEnabled) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEffectParameters( + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEffectParameters( + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilterParameters( + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFilterParameters( + XAUDIO2_FILTER_PARAMETERS *pParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputFilterParameters( + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetOutputFilterParameters( + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVolume( + float Volume, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetVolume( + float *pVolume) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetChannelVolumes( + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetChannelVolumes( + UINT32 Channels, + float *pVolumes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetOutputMatrix( + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix) = 0; + + virtual void STDMETHODCALLTYPE DestroyVoice( + ) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio2VoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio2Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio2Voice *This, + XAUDIO2_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio2Voice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio2Voice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio2Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio2Voice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio2Voice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio2Voice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio2Voice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio2Voice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio2Voice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio2Voice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio2Voice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio2Voice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio2Voice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio2Voice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio2Voice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio2Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio2Voice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio2Voice *This); + + END_INTERFACE +} IXAudio2VoiceVtbl; + +interface IXAudio2Voice { + CONST_VTBL IXAudio2VoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio2Voice methods ***/ +#define IXAudio2Voice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio2Voice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio2Voice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio2Voice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio2Voice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio2Voice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio2Voice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio2Voice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio2Voice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio2Voice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio2Voice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio2Voice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio2Voice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio2Voice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio2Voice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio2Voice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio2Voice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio2Voice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio2Voice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio2Voice methods ***/ +static FORCEINLINE void IXAudio2Voice_GetVoiceDetails(IXAudio2Voice* This,XAUDIO2_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetOutputVoices(IXAudio2Voice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetEffectChain(IXAudio2Voice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio2Voice_EnableEffect(IXAudio2Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2Voice_DisableEffect(IXAudio2Voice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio2Voice_GetEffectState(IXAudio2Voice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetEffectParameters(IXAudio2Voice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2Voice_GetEffectParameters(IXAudio2Voice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetFilterParameters(IXAudio2Voice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2Voice_GetFilterParameters(IXAudio2Voice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetOutputFilterParameters(IXAudio2Voice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2Voice_GetOutputFilterParameters(IXAudio2Voice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetVolume(IXAudio2Voice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio2Voice_GetVolume(IXAudio2Voice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetChannelVolumes(IXAudio2Voice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio2Voice_GetChannelVolumes(IXAudio2Voice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio2Voice_SetOutputMatrix(IXAudio2Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio2Voice_GetOutputMatrix(IXAudio2Voice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio2Voice_DestroyVoice(IXAudio2Voice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2Voice_INTERFACE_DEFINED__ */ + +typedef struct XAUDIO2_BUFFER { + UINT32 Flags; + UINT32 AudioBytes; + const BYTE *pAudioData; + UINT32 PlayBegin; + UINT32 PlayLength; + UINT32 LoopBegin; + UINT32 LoopLength; + UINT32 LoopCount; + void *pContext; +} XAUDIO2_BUFFER; +typedef struct XAUDIO2_BUFFER_WMA { + const UINT32 *pDecodedPacketCumulativeBytes; + UINT32 PacketCount; +} XAUDIO2_BUFFER_WMA; +typedef struct XAUDIO2_VOICE_STATE { + void *pCurrentBufferContext; + UINT32 BuffersQueued; + UINT64 SamplesPlayed; +} XAUDIO2_VOICE_STATE; +/***************************************************************************** + * IXAudio20SourceVoice interface + */ +#ifndef __IXAudio20SourceVoice_INTERFACE_DEFINED__ +#define __IXAudio20SourceVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio20SourceVoice : public IXAudio20Voice +{ + virtual HRESULT STDMETHODCALLTYPE Start( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubmitSourceBuffer( + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE FlushSourceBuffers( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Discontinuity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitLoop( + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetState( + XAUDIO2_VOICE_STATE *pVoiceState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrequencyRatio( + float Ratio, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFrequencyRatio( + float *pRatio) = 0; + +}; +#else +typedef struct IXAudio20SourceVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio20Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio20SourceVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio20SourceVoice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio20SourceVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio20SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio20SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio20SourceVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio20SourceVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio20SourceVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio20SourceVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio20SourceVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio20SourceVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio20SourceVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio20SourceVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio20SourceVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio20SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio20SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio20SourceVoice *This); + + /*** IXAudio20SourceVoice methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IXAudio20SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IXAudio20SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *SubmitSourceBuffer)( + IXAudio20SourceVoice *This, + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA); + + HRESULT (STDMETHODCALLTYPE *FlushSourceBuffers)( + IXAudio20SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *Discontinuity)( + IXAudio20SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *ExitLoop)( + IXAudio20SourceVoice *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetState)( + IXAudio20SourceVoice *This, + XAUDIO2_VOICE_STATE *pVoiceState); + + HRESULT (STDMETHODCALLTYPE *SetFrequencyRatio)( + IXAudio20SourceVoice *This, + float Ratio, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFrequencyRatio)( + IXAudio20SourceVoice *This, + float *pRatio); + + END_INTERFACE +} IXAudio20SourceVoiceVtbl; + +interface IXAudio20SourceVoice { + CONST_VTBL IXAudio20SourceVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio20Voice methods ***/ +#define IXAudio20SourceVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio20SourceVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio20SourceVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio20SourceVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio20SourceVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio20SourceVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio20SourceVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio20SourceVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio20SourceVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio20SourceVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio20SourceVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio20SourceVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio20SourceVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio20SourceVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio20SourceVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio20SourceVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio20SourceVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +/*** IXAudio20SourceVoice methods ***/ +#define IXAudio20SourceVoice_Start(This,Flags,OperationSet) (This)->lpVtbl->Start(This,Flags,OperationSet) +#define IXAudio20SourceVoice_Stop(This,Flags,OperationSet) (This)->lpVtbl->Stop(This,Flags,OperationSet) +#define IXAudio20SourceVoice_SubmitSourceBuffer(This,pBuffer,pBufferWMA) (This)->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA) +#define IXAudio20SourceVoice_FlushSourceBuffers(This) (This)->lpVtbl->FlushSourceBuffers(This) +#define IXAudio20SourceVoice_Discontinuity(This) (This)->lpVtbl->Discontinuity(This) +#define IXAudio20SourceVoice_ExitLoop(This,OperationSet) (This)->lpVtbl->ExitLoop(This,OperationSet) +#define IXAudio20SourceVoice_GetState(This,pVoiceState) (This)->lpVtbl->GetState(This,pVoiceState) +#define IXAudio20SourceVoice_SetFrequencyRatio(This,Ratio,OperationSet) (This)->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet) +#define IXAudio20SourceVoice_GetFrequencyRatio(This,pRatio) (This)->lpVtbl->GetFrequencyRatio(This,pRatio) +#else +/*** IXAudio20Voice methods ***/ +static FORCEINLINE void IXAudio20SourceVoice_GetVoiceDetails(IXAudio20SourceVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetOutputVoices(IXAudio20SourceVoice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetEffectChain(IXAudio20SourceVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_EnableEffect(IXAudio20SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_DisableEffect(IXAudio20SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio20SourceVoice_GetEffectState(IXAudio20SourceVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetEffectParameters(IXAudio20SourceVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_GetEffectParameters(IXAudio20SourceVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetFilterParameters(IXAudio20SourceVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio20SourceVoice_GetFilterParameters(IXAudio20SourceVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetVolume(IXAudio20SourceVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio20SourceVoice_GetVolume(IXAudio20SourceVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetChannelVolumes(IXAudio20SourceVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio20SourceVoice_GetChannelVolumes(IXAudio20SourceVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetOutputMatrix(IXAudio20SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_GetOutputMatrix(IXAudio20SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + return This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio20SourceVoice_DestroyVoice(IXAudio20SourceVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +/*** IXAudio20SourceVoice methods ***/ +static FORCEINLINE HRESULT IXAudio20SourceVoice_Start(IXAudio20SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Start(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_Stop(IXAudio20SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Stop(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SubmitSourceBuffer(IXAudio20SourceVoice* This,const XAUDIO2_BUFFER *pBuffer,const XAUDIO2_BUFFER_WMA *pBufferWMA) { + return This->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_FlushSourceBuffers(IXAudio20SourceVoice* This) { + return This->lpVtbl->FlushSourceBuffers(This); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_Discontinuity(IXAudio20SourceVoice* This) { + return This->lpVtbl->Discontinuity(This); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_ExitLoop(IXAudio20SourceVoice* This,UINT32 OperationSet) { + return This->lpVtbl->ExitLoop(This,OperationSet); +} +static FORCEINLINE void IXAudio20SourceVoice_GetState(IXAudio20SourceVoice* This,XAUDIO2_VOICE_STATE *pVoiceState) { + This->lpVtbl->GetState(This,pVoiceState); +} +static FORCEINLINE HRESULT IXAudio20SourceVoice_SetFrequencyRatio(IXAudio20SourceVoice* This,float Ratio,UINT32 OperationSet) { + return This->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet); +} +static FORCEINLINE void IXAudio20SourceVoice_GetFrequencyRatio(IXAudio20SourceVoice* This,float *pRatio) { + This->lpVtbl->GetFrequencyRatio(This,pRatio); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio20SourceVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio23SourceVoice interface + */ +#ifndef __IXAudio23SourceVoice_INTERFACE_DEFINED__ +#define __IXAudio23SourceVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio23SourceVoice : public IXAudio23Voice +{ + virtual HRESULT STDMETHODCALLTYPE Start( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubmitSourceBuffer( + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE FlushSourceBuffers( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Discontinuity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitLoop( + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetState( + XAUDIO2_VOICE_STATE *pVoiceState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrequencyRatio( + float Ratio, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFrequencyRatio( + float *pRatio) = 0; + +}; +#else +typedef struct IXAudio23SourceVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio23Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio23SourceVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio23SourceVoice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio23SourceVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio23SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio23SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio23SourceVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio23SourceVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio23SourceVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio23SourceVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio23SourceVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio23SourceVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio23SourceVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio23SourceVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio23SourceVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio23SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio23SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio23SourceVoice *This); + + /*** IXAudio23SourceVoice methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IXAudio23SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IXAudio23SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *SubmitSourceBuffer)( + IXAudio23SourceVoice *This, + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA); + + HRESULT (STDMETHODCALLTYPE *FlushSourceBuffers)( + IXAudio23SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *Discontinuity)( + IXAudio23SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *ExitLoop)( + IXAudio23SourceVoice *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetState)( + IXAudio23SourceVoice *This, + XAUDIO2_VOICE_STATE *pVoiceState); + + HRESULT (STDMETHODCALLTYPE *SetFrequencyRatio)( + IXAudio23SourceVoice *This, + float Ratio, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFrequencyRatio)( + IXAudio23SourceVoice *This, + float *pRatio); + + END_INTERFACE +} IXAudio23SourceVoiceVtbl; + +interface IXAudio23SourceVoice { + CONST_VTBL IXAudio23SourceVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio23Voice methods ***/ +#define IXAudio23SourceVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio23SourceVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio23SourceVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio23SourceVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio23SourceVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio23SourceVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio23SourceVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio23SourceVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio23SourceVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio23SourceVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio23SourceVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio23SourceVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio23SourceVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio23SourceVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio23SourceVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio23SourceVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio23SourceVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +/*** IXAudio23SourceVoice methods ***/ +#define IXAudio23SourceVoice_Start(This,Flags,OperationSet) (This)->lpVtbl->Start(This,Flags,OperationSet) +#define IXAudio23SourceVoice_Stop(This,Flags,OperationSet) (This)->lpVtbl->Stop(This,Flags,OperationSet) +#define IXAudio23SourceVoice_SubmitSourceBuffer(This,pBuffer,pBufferWMA) (This)->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA) +#define IXAudio23SourceVoice_FlushSourceBuffers(This) (This)->lpVtbl->FlushSourceBuffers(This) +#define IXAudio23SourceVoice_Discontinuity(This) (This)->lpVtbl->Discontinuity(This) +#define IXAudio23SourceVoice_ExitLoop(This,OperationSet) (This)->lpVtbl->ExitLoop(This,OperationSet) +#define IXAudio23SourceVoice_GetState(This,pVoiceState) (This)->lpVtbl->GetState(This,pVoiceState) +#define IXAudio23SourceVoice_SetFrequencyRatio(This,Ratio,OperationSet) (This)->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet) +#define IXAudio23SourceVoice_GetFrequencyRatio(This,pRatio) (This)->lpVtbl->GetFrequencyRatio(This,pRatio) +#else +/*** IXAudio23Voice methods ***/ +static FORCEINLINE void IXAudio23SourceVoice_GetVoiceDetails(IXAudio23SourceVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetOutputVoices(IXAudio23SourceVoice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetEffectChain(IXAudio23SourceVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_EnableEffect(IXAudio23SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_DisableEffect(IXAudio23SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetEffectState(IXAudio23SourceVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetEffectParameters(IXAudio23SourceVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_GetEffectParameters(IXAudio23SourceVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetFilterParameters(IXAudio23SourceVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetFilterParameters(IXAudio23SourceVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetVolume(IXAudio23SourceVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetVolume(IXAudio23SourceVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetChannelVolumes(IXAudio23SourceVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetChannelVolumes(IXAudio23SourceVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetOutputMatrix(IXAudio23SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetOutputMatrix(IXAudio23SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio23SourceVoice_DestroyVoice(IXAudio23SourceVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +/*** IXAudio23SourceVoice methods ***/ +static FORCEINLINE HRESULT IXAudio23SourceVoice_Start(IXAudio23SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Start(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_Stop(IXAudio23SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Stop(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SubmitSourceBuffer(IXAudio23SourceVoice* This,const XAUDIO2_BUFFER *pBuffer,const XAUDIO2_BUFFER_WMA *pBufferWMA) { + return This->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_FlushSourceBuffers(IXAudio23SourceVoice* This) { + return This->lpVtbl->FlushSourceBuffers(This); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_Discontinuity(IXAudio23SourceVoice* This) { + return This->lpVtbl->Discontinuity(This); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_ExitLoop(IXAudio23SourceVoice* This,UINT32 OperationSet) { + return This->lpVtbl->ExitLoop(This,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetState(IXAudio23SourceVoice* This,XAUDIO2_VOICE_STATE *pVoiceState) { + This->lpVtbl->GetState(This,pVoiceState); +} +static FORCEINLINE HRESULT IXAudio23SourceVoice_SetFrequencyRatio(IXAudio23SourceVoice* This,float Ratio,UINT32 OperationSet) { + return This->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet); +} +static FORCEINLINE void IXAudio23SourceVoice_GetFrequencyRatio(IXAudio23SourceVoice* This,float *pRatio) { + This->lpVtbl->GetFrequencyRatio(This,pRatio); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio23SourceVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio27SourceVoice interface + */ +#ifndef __IXAudio27SourceVoice_INTERFACE_DEFINED__ +#define __IXAudio27SourceVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio27SourceVoice : public IXAudio27Voice +{ + virtual HRESULT STDMETHODCALLTYPE Start( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubmitSourceBuffer( + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE FlushSourceBuffers( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Discontinuity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitLoop( + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetState( + XAUDIO2_VOICE_STATE *pVoiceState) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrequencyRatio( + float Ratio, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFrequencyRatio( + float *pRatio) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSourceSampleRate( + UINT32 NewSourceSampleRate) = 0; + +}; +#else +typedef struct IXAudio27SourceVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio27Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio27SourceVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio27SourceVoice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio27SourceVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio27SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio27SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio27SourceVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio27SourceVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio27SourceVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio27SourceVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio27SourceVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio27SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio27SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio27SourceVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio27SourceVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio27SourceVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio27SourceVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio27SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio27SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio27SourceVoice *This); + + /*** IXAudio27SourceVoice methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IXAudio27SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IXAudio27SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *SubmitSourceBuffer)( + IXAudio27SourceVoice *This, + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA); + + HRESULT (STDMETHODCALLTYPE *FlushSourceBuffers)( + IXAudio27SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *Discontinuity)( + IXAudio27SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *ExitLoop)( + IXAudio27SourceVoice *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetState)( + IXAudio27SourceVoice *This, + XAUDIO2_VOICE_STATE *pVoiceState); + + HRESULT (STDMETHODCALLTYPE *SetFrequencyRatio)( + IXAudio27SourceVoice *This, + float Ratio, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFrequencyRatio)( + IXAudio27SourceVoice *This, + float *pRatio); + + HRESULT (STDMETHODCALLTYPE *SetSourceSampleRate)( + IXAudio27SourceVoice *This, + UINT32 NewSourceSampleRate); + + END_INTERFACE +} IXAudio27SourceVoiceVtbl; + +interface IXAudio27SourceVoice { + CONST_VTBL IXAudio27SourceVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio27Voice methods ***/ +#define IXAudio27SourceVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio27SourceVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio27SourceVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio27SourceVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio27SourceVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio27SourceVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio27SourceVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio27SourceVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio27SourceVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio27SourceVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio27SourceVoice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio27SourceVoice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio27SourceVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio27SourceVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio27SourceVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio27SourceVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio27SourceVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio27SourceVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio27SourceVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +/*** IXAudio27SourceVoice methods ***/ +#define IXAudio27SourceVoice_Start(This,Flags,OperationSet) (This)->lpVtbl->Start(This,Flags,OperationSet) +#define IXAudio27SourceVoice_Stop(This,Flags,OperationSet) (This)->lpVtbl->Stop(This,Flags,OperationSet) +#define IXAudio27SourceVoice_SubmitSourceBuffer(This,pBuffer,pBufferWMA) (This)->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA) +#define IXAudio27SourceVoice_FlushSourceBuffers(This) (This)->lpVtbl->FlushSourceBuffers(This) +#define IXAudio27SourceVoice_Discontinuity(This) (This)->lpVtbl->Discontinuity(This) +#define IXAudio27SourceVoice_ExitLoop(This,OperationSet) (This)->lpVtbl->ExitLoop(This,OperationSet) +#define IXAudio27SourceVoice_GetState(This,pVoiceState) (This)->lpVtbl->GetState(This,pVoiceState) +#define IXAudio27SourceVoice_SetFrequencyRatio(This,Ratio,OperationSet) (This)->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet) +#define IXAudio27SourceVoice_GetFrequencyRatio(This,pRatio) (This)->lpVtbl->GetFrequencyRatio(This,pRatio) +#define IXAudio27SourceVoice_SetSourceSampleRate(This,NewSourceSampleRate) (This)->lpVtbl->SetSourceSampleRate(This,NewSourceSampleRate) +#else +/*** IXAudio27Voice methods ***/ +static FORCEINLINE void IXAudio27SourceVoice_GetVoiceDetails(IXAudio27SourceVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetOutputVoices(IXAudio27SourceVoice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetEffectChain(IXAudio27SourceVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_EnableEffect(IXAudio27SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_DisableEffect(IXAudio27SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetEffectState(IXAudio27SourceVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetEffectParameters(IXAudio27SourceVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_GetEffectParameters(IXAudio27SourceVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetFilterParameters(IXAudio27SourceVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetFilterParameters(IXAudio27SourceVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetOutputFilterParameters(IXAudio27SourceVoice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetOutputFilterParameters(IXAudio27SourceVoice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetVolume(IXAudio27SourceVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetVolume(IXAudio27SourceVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetChannelVolumes(IXAudio27SourceVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetChannelVolumes(IXAudio27SourceVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetOutputMatrix(IXAudio27SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetOutputMatrix(IXAudio27SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio27SourceVoice_DestroyVoice(IXAudio27SourceVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +/*** IXAudio27SourceVoice methods ***/ +static FORCEINLINE HRESULT IXAudio27SourceVoice_Start(IXAudio27SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Start(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_Stop(IXAudio27SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Stop(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SubmitSourceBuffer(IXAudio27SourceVoice* This,const XAUDIO2_BUFFER *pBuffer,const XAUDIO2_BUFFER_WMA *pBufferWMA) { + return This->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_FlushSourceBuffers(IXAudio27SourceVoice* This) { + return This->lpVtbl->FlushSourceBuffers(This); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_Discontinuity(IXAudio27SourceVoice* This) { + return This->lpVtbl->Discontinuity(This); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_ExitLoop(IXAudio27SourceVoice* This,UINT32 OperationSet) { + return This->lpVtbl->ExitLoop(This,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetState(IXAudio27SourceVoice* This,XAUDIO2_VOICE_STATE *pVoiceState) { + This->lpVtbl->GetState(This,pVoiceState); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetFrequencyRatio(IXAudio27SourceVoice* This,float Ratio,UINT32 OperationSet) { + return This->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet); +} +static FORCEINLINE void IXAudio27SourceVoice_GetFrequencyRatio(IXAudio27SourceVoice* This,float *pRatio) { + This->lpVtbl->GetFrequencyRatio(This,pRatio); +} +static FORCEINLINE HRESULT IXAudio27SourceVoice_SetSourceSampleRate(IXAudio27SourceVoice* This,UINT32 NewSourceSampleRate) { + return This->lpVtbl->SetSourceSampleRate(This,NewSourceSampleRate); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio27SourceVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio2SourceVoice interface + */ +#ifndef __IXAudio2SourceVoice_INTERFACE_DEFINED__ +#define __IXAudio2SourceVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio2SourceVoice : public IXAudio2Voice +{ + virtual HRESULT STDMETHODCALLTYPE Start( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + UINT32 Flags = 0, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual HRESULT STDMETHODCALLTYPE SubmitSourceBuffer( + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE FlushSourceBuffers( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Discontinuity( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExitLoop( + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetState( + XAUDIO2_VOICE_STATE *pVoiceState, + UINT32 Flags = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFrequencyRatio( + float Ratio, + UINT32 OperationSet = XAUDIO2_COMMIT_NOW) = 0; + + virtual void STDMETHODCALLTYPE GetFrequencyRatio( + float *pRatio) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSourceSampleRate( + UINT32 NewSourceSampleRate) = 0; + +}; +#else +typedef struct IXAudio2SourceVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio2Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio2SourceVoice *This, + XAUDIO2_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio2SourceVoice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio2SourceVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio2SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio2SourceVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio2SourceVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio2SourceVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio2SourceVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio2SourceVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio2SourceVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio2SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio2SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio2SourceVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio2SourceVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio2SourceVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio2SourceVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio2SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio2SourceVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio2SourceVoice *This); + + /*** IXAudio2SourceVoice methods ***/ + HRESULT (STDMETHODCALLTYPE *Start)( + IXAudio2SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *Stop)( + IXAudio2SourceVoice *This, + UINT32 Flags, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *SubmitSourceBuffer)( + IXAudio2SourceVoice *This, + const XAUDIO2_BUFFER *pBuffer, + const XAUDIO2_BUFFER_WMA *pBufferWMA); + + HRESULT (STDMETHODCALLTYPE *FlushSourceBuffers)( + IXAudio2SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *Discontinuity)( + IXAudio2SourceVoice *This); + + HRESULT (STDMETHODCALLTYPE *ExitLoop)( + IXAudio2SourceVoice *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetState)( + IXAudio2SourceVoice *This, + XAUDIO2_VOICE_STATE *pVoiceState, + UINT32 Flags); + + HRESULT (STDMETHODCALLTYPE *SetFrequencyRatio)( + IXAudio2SourceVoice *This, + float Ratio, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFrequencyRatio)( + IXAudio2SourceVoice *This, + float *pRatio); + + HRESULT (STDMETHODCALLTYPE *SetSourceSampleRate)( + IXAudio2SourceVoice *This, + UINT32 NewSourceSampleRate); + + END_INTERFACE +} IXAudio2SourceVoiceVtbl; + +interface IXAudio2SourceVoice { + CONST_VTBL IXAudio2SourceVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio2Voice methods ***/ +#define IXAudio2SourceVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio2SourceVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio2SourceVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio2SourceVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio2SourceVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio2SourceVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio2SourceVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio2SourceVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio2SourceVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio2SourceVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio2SourceVoice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio2SourceVoice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio2SourceVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio2SourceVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio2SourceVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio2SourceVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio2SourceVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio2SourceVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio2SourceVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +/*** IXAudio2SourceVoice methods ***/ +#define IXAudio2SourceVoice_Start(This,Flags,OperationSet) (This)->lpVtbl->Start(This,Flags,OperationSet) +#define IXAudio2SourceVoice_Stop(This,Flags,OperationSet) (This)->lpVtbl->Stop(This,Flags,OperationSet) +#define IXAudio2SourceVoice_SubmitSourceBuffer(This,pBuffer,pBufferWMA) (This)->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA) +#define IXAudio2SourceVoice_FlushSourceBuffers(This) (This)->lpVtbl->FlushSourceBuffers(This) +#define IXAudio2SourceVoice_Discontinuity(This) (This)->lpVtbl->Discontinuity(This) +#define IXAudio2SourceVoice_ExitLoop(This,OperationSet) (This)->lpVtbl->ExitLoop(This,OperationSet) +#define IXAudio2SourceVoice_GetState(This,pVoiceState,Flags) (This)->lpVtbl->GetState(This,pVoiceState,Flags) +#define IXAudio2SourceVoice_SetFrequencyRatio(This,Ratio,OperationSet) (This)->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet) +#define IXAudio2SourceVoice_GetFrequencyRatio(This,pRatio) (This)->lpVtbl->GetFrequencyRatio(This,pRatio) +#define IXAudio2SourceVoice_SetSourceSampleRate(This,NewSourceSampleRate) (This)->lpVtbl->SetSourceSampleRate(This,NewSourceSampleRate) +#else +/*** IXAudio2Voice methods ***/ +static FORCEINLINE void IXAudio2SourceVoice_GetVoiceDetails(IXAudio2SourceVoice* This,XAUDIO2_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetOutputVoices(IXAudio2SourceVoice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetEffectChain(IXAudio2SourceVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_EnableEffect(IXAudio2SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_DisableEffect(IXAudio2SourceVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetEffectState(IXAudio2SourceVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetEffectParameters(IXAudio2SourceVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_GetEffectParameters(IXAudio2SourceVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetFilterParameters(IXAudio2SourceVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetFilterParameters(IXAudio2SourceVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetOutputFilterParameters(IXAudio2SourceVoice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetOutputFilterParameters(IXAudio2SourceVoice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetVolume(IXAudio2SourceVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetVolume(IXAudio2SourceVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetChannelVolumes(IXAudio2SourceVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetChannelVolumes(IXAudio2SourceVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetOutputMatrix(IXAudio2SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetOutputMatrix(IXAudio2SourceVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio2SourceVoice_DestroyVoice(IXAudio2SourceVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +/*** IXAudio2SourceVoice methods ***/ +static FORCEINLINE HRESULT IXAudio2SourceVoice_Start(IXAudio2SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Start(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_Stop(IXAudio2SourceVoice* This,UINT32 Flags,UINT32 OperationSet) { + return This->lpVtbl->Stop(This,Flags,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SubmitSourceBuffer(IXAudio2SourceVoice* This,const XAUDIO2_BUFFER *pBuffer,const XAUDIO2_BUFFER_WMA *pBufferWMA) { + return This->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_FlushSourceBuffers(IXAudio2SourceVoice* This) { + return This->lpVtbl->FlushSourceBuffers(This); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_Discontinuity(IXAudio2SourceVoice* This) { + return This->lpVtbl->Discontinuity(This); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_ExitLoop(IXAudio2SourceVoice* This,UINT32 OperationSet) { + return This->lpVtbl->ExitLoop(This,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetState(IXAudio2SourceVoice* This,XAUDIO2_VOICE_STATE *pVoiceState,UINT32 Flags) { + This->lpVtbl->GetState(This,pVoiceState,Flags); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetFrequencyRatio(IXAudio2SourceVoice* This,float Ratio,UINT32 OperationSet) { + return This->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet); +} +static FORCEINLINE void IXAudio2SourceVoice_GetFrequencyRatio(IXAudio2SourceVoice* This,float *pRatio) { + This->lpVtbl->GetFrequencyRatio(This,pRatio); +} +static FORCEINLINE HRESULT IXAudio2SourceVoice_SetSourceSampleRate(IXAudio2SourceVoice* This,UINT32 NewSourceSampleRate) { + return This->lpVtbl->SetSourceSampleRate(This,NewSourceSampleRate); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2SourceVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio20SubmixVoice interface + */ +#ifndef __IXAudio20SubmixVoice_INTERFACE_DEFINED__ +#define __IXAudio20SubmixVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio20SubmixVoice : public IXAudio20Voice +{ +}; +#else +typedef struct IXAudio20SubmixVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio20Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio20SubmixVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio20SubmixVoice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio20SubmixVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio20SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio20SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio20SubmixVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio20SubmixVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio20SubmixVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio20SubmixVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio20SubmixVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio20SubmixVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio20SubmixVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio20SubmixVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio20SubmixVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio20SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio20SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio20SubmixVoice *This); + + END_INTERFACE +} IXAudio20SubmixVoiceVtbl; + +interface IXAudio20SubmixVoice { + CONST_VTBL IXAudio20SubmixVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio20Voice methods ***/ +#define IXAudio20SubmixVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio20SubmixVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio20SubmixVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio20SubmixVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio20SubmixVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio20SubmixVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio20SubmixVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio20SubmixVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio20SubmixVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio20SubmixVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio20SubmixVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio20SubmixVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio20SubmixVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio20SubmixVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio20SubmixVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio20SubmixVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio20SubmixVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio20Voice methods ***/ +static FORCEINLINE void IXAudio20SubmixVoice_GetVoiceDetails(IXAudio20SubmixVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetOutputVoices(IXAudio20SubmixVoice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetEffectChain(IXAudio20SubmixVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_EnableEffect(IXAudio20SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_DisableEffect(IXAudio20SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio20SubmixVoice_GetEffectState(IXAudio20SubmixVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetEffectParameters(IXAudio20SubmixVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_GetEffectParameters(IXAudio20SubmixVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetFilterParameters(IXAudio20SubmixVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio20SubmixVoice_GetFilterParameters(IXAudio20SubmixVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetVolume(IXAudio20SubmixVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio20SubmixVoice_GetVolume(IXAudio20SubmixVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetChannelVolumes(IXAudio20SubmixVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio20SubmixVoice_GetChannelVolumes(IXAudio20SubmixVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_SetOutputMatrix(IXAudio20SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20SubmixVoice_GetOutputMatrix(IXAudio20SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + return This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio20SubmixVoice_DestroyVoice(IXAudio20SubmixVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio20SubmixVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio23SubmixVoice interface + */ +#ifndef __IXAudio23SubmixVoice_INTERFACE_DEFINED__ +#define __IXAudio23SubmixVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio23SubmixVoice : public IXAudio23Voice +{ +}; +#else +typedef struct IXAudio23SubmixVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio23Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio23SubmixVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio23SubmixVoice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio23SubmixVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio23SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio23SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio23SubmixVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio23SubmixVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio23SubmixVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio23SubmixVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio23SubmixVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio23SubmixVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio23SubmixVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio23SubmixVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio23SubmixVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio23SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio23SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio23SubmixVoice *This); + + END_INTERFACE +} IXAudio23SubmixVoiceVtbl; + +interface IXAudio23SubmixVoice { + CONST_VTBL IXAudio23SubmixVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio23Voice methods ***/ +#define IXAudio23SubmixVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio23SubmixVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio23SubmixVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio23SubmixVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio23SubmixVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio23SubmixVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio23SubmixVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio23SubmixVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio23SubmixVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio23SubmixVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio23SubmixVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio23SubmixVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio23SubmixVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio23SubmixVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio23SubmixVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio23SubmixVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio23SubmixVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio23Voice methods ***/ +static FORCEINLINE void IXAudio23SubmixVoice_GetVoiceDetails(IXAudio23SubmixVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetOutputVoices(IXAudio23SubmixVoice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetEffectChain(IXAudio23SubmixVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_EnableEffect(IXAudio23SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_DisableEffect(IXAudio23SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio23SubmixVoice_GetEffectState(IXAudio23SubmixVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetEffectParameters(IXAudio23SubmixVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_GetEffectParameters(IXAudio23SubmixVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetFilterParameters(IXAudio23SubmixVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio23SubmixVoice_GetFilterParameters(IXAudio23SubmixVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetVolume(IXAudio23SubmixVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio23SubmixVoice_GetVolume(IXAudio23SubmixVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetChannelVolumes(IXAudio23SubmixVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio23SubmixVoice_GetChannelVolumes(IXAudio23SubmixVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio23SubmixVoice_SetOutputMatrix(IXAudio23SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio23SubmixVoice_GetOutputMatrix(IXAudio23SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio23SubmixVoice_DestroyVoice(IXAudio23SubmixVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio23SubmixVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio27SubmixVoice interface + */ +#ifndef __IXAudio27SubmixVoice_INTERFACE_DEFINED__ +#define __IXAudio27SubmixVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio27SubmixVoice : public IXAudio27Voice +{ +}; +#else +typedef struct IXAudio27SubmixVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio27Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio27SubmixVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio27SubmixVoice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio27SubmixVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio27SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio27SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio27SubmixVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio27SubmixVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio27SubmixVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio27SubmixVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio27SubmixVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio27SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio27SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio27SubmixVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio27SubmixVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio27SubmixVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio27SubmixVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio27SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio27SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio27SubmixVoice *This); + + END_INTERFACE +} IXAudio27SubmixVoiceVtbl; + +interface IXAudio27SubmixVoice { + CONST_VTBL IXAudio27SubmixVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio27Voice methods ***/ +#define IXAudio27SubmixVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio27SubmixVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio27SubmixVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio27SubmixVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio27SubmixVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio27SubmixVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio27SubmixVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio27SubmixVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio27SubmixVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio27SubmixVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio27SubmixVoice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio27SubmixVoice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio27SubmixVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio27SubmixVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio27SubmixVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio27SubmixVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio27SubmixVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio27SubmixVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio27SubmixVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio27Voice methods ***/ +static FORCEINLINE void IXAudio27SubmixVoice_GetVoiceDetails(IXAudio27SubmixVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetOutputVoices(IXAudio27SubmixVoice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetEffectChain(IXAudio27SubmixVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_EnableEffect(IXAudio27SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_DisableEffect(IXAudio27SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio27SubmixVoice_GetEffectState(IXAudio27SubmixVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetEffectParameters(IXAudio27SubmixVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_GetEffectParameters(IXAudio27SubmixVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetFilterParameters(IXAudio27SubmixVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27SubmixVoice_GetFilterParameters(IXAudio27SubmixVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetOutputFilterParameters(IXAudio27SubmixVoice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27SubmixVoice_GetOutputFilterParameters(IXAudio27SubmixVoice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetVolume(IXAudio27SubmixVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio27SubmixVoice_GetVolume(IXAudio27SubmixVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetChannelVolumes(IXAudio27SubmixVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio27SubmixVoice_GetChannelVolumes(IXAudio27SubmixVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio27SubmixVoice_SetOutputMatrix(IXAudio27SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio27SubmixVoice_GetOutputMatrix(IXAudio27SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio27SubmixVoice_DestroyVoice(IXAudio27SubmixVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio27SubmixVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio2SubmixVoice interface + */ +#ifndef __IXAudio2SubmixVoice_INTERFACE_DEFINED__ +#define __IXAudio2SubmixVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio2SubmixVoice : public IXAudio2Voice +{ +}; +#else +typedef struct IXAudio2SubmixVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio2Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio2SubmixVoice *This, + XAUDIO2_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio2SubmixVoice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio2SubmixVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio2SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio2SubmixVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio2SubmixVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio2SubmixVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio2SubmixVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio2SubmixVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio2SubmixVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio2SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio2SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio2SubmixVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio2SubmixVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio2SubmixVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio2SubmixVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio2SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio2SubmixVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio2SubmixVoice *This); + + END_INTERFACE +} IXAudio2SubmixVoiceVtbl; + +interface IXAudio2SubmixVoice { + CONST_VTBL IXAudio2SubmixVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio2Voice methods ***/ +#define IXAudio2SubmixVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio2SubmixVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio2SubmixVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio2SubmixVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio2SubmixVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio2SubmixVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio2SubmixVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio2SubmixVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio2SubmixVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio2SubmixVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio2SubmixVoice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio2SubmixVoice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio2SubmixVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio2SubmixVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio2SubmixVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio2SubmixVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio2SubmixVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio2SubmixVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio2SubmixVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio2Voice methods ***/ +static FORCEINLINE void IXAudio2SubmixVoice_GetVoiceDetails(IXAudio2SubmixVoice* This,XAUDIO2_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetOutputVoices(IXAudio2SubmixVoice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetEffectChain(IXAudio2SubmixVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_EnableEffect(IXAudio2SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_DisableEffect(IXAudio2SubmixVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio2SubmixVoice_GetEffectState(IXAudio2SubmixVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetEffectParameters(IXAudio2SubmixVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_GetEffectParameters(IXAudio2SubmixVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetFilterParameters(IXAudio2SubmixVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2SubmixVoice_GetFilterParameters(IXAudio2SubmixVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetOutputFilterParameters(IXAudio2SubmixVoice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2SubmixVoice_GetOutputFilterParameters(IXAudio2SubmixVoice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetVolume(IXAudio2SubmixVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio2SubmixVoice_GetVolume(IXAudio2SubmixVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetChannelVolumes(IXAudio2SubmixVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio2SubmixVoice_GetChannelVolumes(IXAudio2SubmixVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio2SubmixVoice_SetOutputMatrix(IXAudio2SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio2SubmixVoice_GetOutputMatrix(IXAudio2SubmixVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio2SubmixVoice_DestroyVoice(IXAudio2SubmixVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2SubmixVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio20MasteringVoice interface + */ +#ifndef __IXAudio20MasteringVoice_INTERFACE_DEFINED__ +#define __IXAudio20MasteringVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio20MasteringVoice : public IXAudio20Voice +{ +}; +#else +typedef struct IXAudio20MasteringVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio20Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio20MasteringVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio20MasteringVoice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio20MasteringVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio20MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio20MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio20MasteringVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio20MasteringVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio20MasteringVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio20MasteringVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio20MasteringVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio20MasteringVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio20MasteringVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio20MasteringVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio20MasteringVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio20MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio20MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio20MasteringVoice *This); + + END_INTERFACE +} IXAudio20MasteringVoiceVtbl; + +interface IXAudio20MasteringVoice { + CONST_VTBL IXAudio20MasteringVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio20Voice methods ***/ +#define IXAudio20MasteringVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio20MasteringVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio20MasteringVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio20MasteringVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio20MasteringVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio20MasteringVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio20MasteringVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio20MasteringVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio20MasteringVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio20MasteringVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio20MasteringVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio20MasteringVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio20MasteringVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio20MasteringVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio20MasteringVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio20MasteringVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio20MasteringVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio20Voice methods ***/ +static FORCEINLINE void IXAudio20MasteringVoice_GetVoiceDetails(IXAudio20MasteringVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetOutputVoices(IXAudio20MasteringVoice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetEffectChain(IXAudio20MasteringVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_EnableEffect(IXAudio20MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_DisableEffect(IXAudio20MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio20MasteringVoice_GetEffectState(IXAudio20MasteringVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetEffectParameters(IXAudio20MasteringVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_GetEffectParameters(IXAudio20MasteringVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetFilterParameters(IXAudio20MasteringVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio20MasteringVoice_GetFilterParameters(IXAudio20MasteringVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetVolume(IXAudio20MasteringVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio20MasteringVoice_GetVolume(IXAudio20MasteringVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetChannelVolumes(IXAudio20MasteringVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio20MasteringVoice_GetChannelVolumes(IXAudio20MasteringVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_SetOutputMatrix(IXAudio20MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE HRESULT IXAudio20MasteringVoice_GetOutputMatrix(IXAudio20MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + return This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio20MasteringVoice_DestroyVoice(IXAudio20MasteringVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio20MasteringVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio23MasteringVoice interface + */ +#ifndef __IXAudio23MasteringVoice_INTERFACE_DEFINED__ +#define __IXAudio23MasteringVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio23MasteringVoice : public IXAudio23Voice +{ +}; +#else +typedef struct IXAudio23MasteringVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio23Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio23MasteringVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio23MasteringVoice *This, + const XAUDIO23_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio23MasteringVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio23MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio23MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio23MasteringVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio23MasteringVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio23MasteringVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio23MasteringVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio23MasteringVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio23MasteringVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio23MasteringVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio23MasteringVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio23MasteringVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio23MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio23MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio23MasteringVoice *This); + + END_INTERFACE +} IXAudio23MasteringVoiceVtbl; + +interface IXAudio23MasteringVoice { + CONST_VTBL IXAudio23MasteringVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio23Voice methods ***/ +#define IXAudio23MasteringVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio23MasteringVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio23MasteringVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio23MasteringVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio23MasteringVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio23MasteringVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio23MasteringVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio23MasteringVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio23MasteringVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio23MasteringVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio23MasteringVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio23MasteringVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio23MasteringVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio23MasteringVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio23MasteringVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio23MasteringVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio23MasteringVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio23Voice methods ***/ +static FORCEINLINE void IXAudio23MasteringVoice_GetVoiceDetails(IXAudio23MasteringVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetOutputVoices(IXAudio23MasteringVoice* This,const XAUDIO23_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetEffectChain(IXAudio23MasteringVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_EnableEffect(IXAudio23MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_DisableEffect(IXAudio23MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio23MasteringVoice_GetEffectState(IXAudio23MasteringVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetEffectParameters(IXAudio23MasteringVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_GetEffectParameters(IXAudio23MasteringVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetFilterParameters(IXAudio23MasteringVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio23MasteringVoice_GetFilterParameters(IXAudio23MasteringVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetVolume(IXAudio23MasteringVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio23MasteringVoice_GetVolume(IXAudio23MasteringVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetChannelVolumes(IXAudio23MasteringVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio23MasteringVoice_GetChannelVolumes(IXAudio23MasteringVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio23MasteringVoice_SetOutputMatrix(IXAudio23MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio23MasteringVoice_GetOutputMatrix(IXAudio23MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio23MasteringVoice_DestroyVoice(IXAudio23MasteringVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio23MasteringVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio27MasteringVoice interface + */ +#ifndef __IXAudio27MasteringVoice_INTERFACE_DEFINED__ +#define __IXAudio27MasteringVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio27MasteringVoice : public IXAudio27Voice +{ +}; +#else +typedef struct IXAudio27MasteringVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio27Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio27MasteringVoice *This, + XAUDIO27_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio27MasteringVoice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio27MasteringVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio27MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio27MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio27MasteringVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio27MasteringVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio27MasteringVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio27MasteringVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio27MasteringVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio27MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio27MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio27MasteringVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio27MasteringVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio27MasteringVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio27MasteringVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio27MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio27MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio27MasteringVoice *This); + + END_INTERFACE +} IXAudio27MasteringVoiceVtbl; + +interface IXAudio27MasteringVoice { + CONST_VTBL IXAudio27MasteringVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio27Voice methods ***/ +#define IXAudio27MasteringVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio27MasteringVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio27MasteringVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio27MasteringVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio27MasteringVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio27MasteringVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio27MasteringVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio27MasteringVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio27MasteringVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio27MasteringVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio27MasteringVoice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio27MasteringVoice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio27MasteringVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio27MasteringVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio27MasteringVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio27MasteringVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio27MasteringVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio27MasteringVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio27MasteringVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +#else +/*** IXAudio27Voice methods ***/ +static FORCEINLINE void IXAudio27MasteringVoice_GetVoiceDetails(IXAudio27MasteringVoice* This,XAUDIO27_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetOutputVoices(IXAudio27MasteringVoice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetEffectChain(IXAudio27MasteringVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_EnableEffect(IXAudio27MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_DisableEffect(IXAudio27MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio27MasteringVoice_GetEffectState(IXAudio27MasteringVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetEffectParameters(IXAudio27MasteringVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_GetEffectParameters(IXAudio27MasteringVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetFilterParameters(IXAudio27MasteringVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27MasteringVoice_GetFilterParameters(IXAudio27MasteringVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetOutputFilterParameters(IXAudio27MasteringVoice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio27MasteringVoice_GetOutputFilterParameters(IXAudio27MasteringVoice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetVolume(IXAudio27MasteringVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio27MasteringVoice_GetVolume(IXAudio27MasteringVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetChannelVolumes(IXAudio27MasteringVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio27MasteringVoice_GetChannelVolumes(IXAudio27MasteringVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio27MasteringVoice_SetOutputMatrix(IXAudio27MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio27MasteringVoice_GetOutputMatrix(IXAudio27MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio27MasteringVoice_DestroyVoice(IXAudio27MasteringVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio27MasteringVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio2MasteringVoice interface + */ +#ifndef __IXAudio2MasteringVoice_INTERFACE_DEFINED__ +#define __IXAudio2MasteringVoice_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio2MasteringVoice : public IXAudio2Voice +{ + virtual void STDMETHODCALLTYPE GetChannelMask( + DWORD *pChannelMask) = 0; + +}; +#else +typedef struct IXAudio2MasteringVoiceVtbl { + BEGIN_INTERFACE + + /*** IXAudio2Voice methods ***/ + void (STDMETHODCALLTYPE *GetVoiceDetails)( + IXAudio2MasteringVoice *This, + XAUDIO2_VOICE_DETAILS *pVoiceDetails); + + HRESULT (STDMETHODCALLTYPE *SetOutputVoices)( + IXAudio2MasteringVoice *This, + const XAUDIO2_VOICE_SENDS *pSendList); + + HRESULT (STDMETHODCALLTYPE *SetEffectChain)( + IXAudio2MasteringVoice *This, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *EnableEffect)( + IXAudio2MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *DisableEffect)( + IXAudio2MasteringVoice *This, + UINT32 EffectIndex, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetEffectState)( + IXAudio2MasteringVoice *This, + UINT32 EffectIndex, + BOOL *pEnabled); + + HRESULT (STDMETHODCALLTYPE *SetEffectParameters)( + IXAudio2MasteringVoice *This, + UINT32 EffectIndex, + const void *pParameters, + UINT32 ParametersByteSize, + UINT32 OperationSet); + + HRESULT (STDMETHODCALLTYPE *GetEffectParameters)( + IXAudio2MasteringVoice *This, + UINT32 EffectIndex, + void *pParameters, + UINT32 ParametersByteSize); + + HRESULT (STDMETHODCALLTYPE *SetFilterParameters)( + IXAudio2MasteringVoice *This, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetFilterParameters)( + IXAudio2MasteringVoice *This, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetOutputFilterParameters)( + IXAudio2MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + const XAUDIO2_FILTER_PARAMETERS *pParameters, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputFilterParameters)( + IXAudio2MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + XAUDIO2_FILTER_PARAMETERS *pParameters); + + HRESULT (STDMETHODCALLTYPE *SetVolume)( + IXAudio2MasteringVoice *This, + float Volume, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetVolume)( + IXAudio2MasteringVoice *This, + float *pVolume); + + HRESULT (STDMETHODCALLTYPE *SetChannelVolumes)( + IXAudio2MasteringVoice *This, + UINT32 Channels, + const float *pVolumes, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetChannelVolumes)( + IXAudio2MasteringVoice *This, + UINT32 Channels, + float *pVolumes); + + HRESULT (STDMETHODCALLTYPE *SetOutputMatrix)( + IXAudio2MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + const float *pLevelMatrix, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetOutputMatrix)( + IXAudio2MasteringVoice *This, + IXAudio2Voice *pDestinationVoice, + UINT32 SourceChannels, + UINT32 DestinationChannels, + float *pLevelMatrix); + + void (STDMETHODCALLTYPE *DestroyVoice)( + IXAudio2MasteringVoice *This); + + /*** IXAudio2MasteringVoice methods ***/ + void (STDMETHODCALLTYPE *GetChannelMask)( + IXAudio2MasteringVoice *This, + DWORD *pChannelMask); + + END_INTERFACE +} IXAudio2MasteringVoiceVtbl; + +interface IXAudio2MasteringVoice { + CONST_VTBL IXAudio2MasteringVoiceVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio2Voice methods ***/ +#define IXAudio2MasteringVoice_GetVoiceDetails(This,pVoiceDetails) (This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails) +#define IXAudio2MasteringVoice_SetOutputVoices(This,pSendList) (This)->lpVtbl->SetOutputVoices(This,pSendList) +#define IXAudio2MasteringVoice_SetEffectChain(This,pEffectChain) (This)->lpVtbl->SetEffectChain(This,pEffectChain) +#define IXAudio2MasteringVoice_EnableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet) +#define IXAudio2MasteringVoice_DisableEffect(This,EffectIndex,OperationSet) (This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet) +#define IXAudio2MasteringVoice_GetEffectState(This,EffectIndex,pEnabled) (This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled) +#define IXAudio2MasteringVoice_SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) (This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet) +#define IXAudio2MasteringVoice_GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) (This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize) +#define IXAudio2MasteringVoice_SetFilterParameters(This,pParameters,OperationSet) (This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet) +#define IXAudio2MasteringVoice_GetFilterParameters(This,pParameters) (This)->lpVtbl->GetFilterParameters(This,pParameters) +#define IXAudio2MasteringVoice_SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) (This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet) +#define IXAudio2MasteringVoice_GetOutputFilterParameters(This,pDestinationVoice,pParameters) (This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters) +#define IXAudio2MasteringVoice_SetVolume(This,Volume,OperationSet) (This)->lpVtbl->SetVolume(This,Volume,OperationSet) +#define IXAudio2MasteringVoice_GetVolume(This,pVolume) (This)->lpVtbl->GetVolume(This,pVolume) +#define IXAudio2MasteringVoice_SetChannelVolumes(This,Channels,pVolumes,OperationSet) (This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet) +#define IXAudio2MasteringVoice_GetChannelVolumes(This,Channels,pVolumes) (This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes) +#define IXAudio2MasteringVoice_SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) (This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet) +#define IXAudio2MasteringVoice_GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) (This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix) +#define IXAudio2MasteringVoice_DestroyVoice(This) (This)->lpVtbl->DestroyVoice(This) +/*** IXAudio2MasteringVoice methods ***/ +#define IXAudio2MasteringVoice_GetChannelMask(This,pChannelMask) (This)->lpVtbl->GetChannelMask(This,pChannelMask) +#else +/*** IXAudio2Voice methods ***/ +static FORCEINLINE void IXAudio2MasteringVoice_GetVoiceDetails(IXAudio2MasteringVoice* This,XAUDIO2_VOICE_DETAILS *pVoiceDetails) { + This->lpVtbl->GetVoiceDetails(This,pVoiceDetails); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetOutputVoices(IXAudio2MasteringVoice* This,const XAUDIO2_VOICE_SENDS *pSendList) { + return This->lpVtbl->SetOutputVoices(This,pSendList); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetEffectChain(IXAudio2MasteringVoice* This,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->SetEffectChain(This,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_EnableEffect(IXAudio2MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->EnableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_DisableEffect(IXAudio2MasteringVoice* This,UINT32 EffectIndex,UINT32 OperationSet) { + return This->lpVtbl->DisableEffect(This,EffectIndex,OperationSet); +} +static FORCEINLINE void IXAudio2MasteringVoice_GetEffectState(IXAudio2MasteringVoice* This,UINT32 EffectIndex,BOOL *pEnabled) { + This->lpVtbl->GetEffectState(This,EffectIndex,pEnabled); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetEffectParameters(IXAudio2MasteringVoice* This,UINT32 EffectIndex,const void *pParameters,UINT32 ParametersByteSize,UINT32 OperationSet) { + return This->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_GetEffectParameters(IXAudio2MasteringVoice* This,UINT32 EffectIndex,void *pParameters,UINT32 ParametersByteSize) { + return This->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetFilterParameters(IXAudio2MasteringVoice* This,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetFilterParameters(This,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2MasteringVoice_GetFilterParameters(IXAudio2MasteringVoice* This,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetFilterParameters(This,pParameters); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetOutputFilterParameters(IXAudio2MasteringVoice* This,IXAudio2Voice *pDestinationVoice,const XAUDIO2_FILTER_PARAMETERS *pParameters,UINT32 OperationSet) { + return This->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet); +} +static FORCEINLINE void IXAudio2MasteringVoice_GetOutputFilterParameters(IXAudio2MasteringVoice* This,IXAudio2Voice *pDestinationVoice,XAUDIO2_FILTER_PARAMETERS *pParameters) { + This->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetVolume(IXAudio2MasteringVoice* This,float Volume,UINT32 OperationSet) { + return This->lpVtbl->SetVolume(This,Volume,OperationSet); +} +static FORCEINLINE void IXAudio2MasteringVoice_GetVolume(IXAudio2MasteringVoice* This,float *pVolume) { + This->lpVtbl->GetVolume(This,pVolume); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetChannelVolumes(IXAudio2MasteringVoice* This,UINT32 Channels,const float *pVolumes,UINT32 OperationSet) { + return This->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet); +} +static FORCEINLINE void IXAudio2MasteringVoice_GetChannelVolumes(IXAudio2MasteringVoice* This,UINT32 Channels,float *pVolumes) { + This->lpVtbl->GetChannelVolumes(This,Channels,pVolumes); +} +static FORCEINLINE HRESULT IXAudio2MasteringVoice_SetOutputMatrix(IXAudio2MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,const float *pLevelMatrix,UINT32 OperationSet) { + return This->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet); +} +static FORCEINLINE void IXAudio2MasteringVoice_GetOutputMatrix(IXAudio2MasteringVoice* This,IXAudio2Voice *pDestinationVoice,UINT32 SourceChannels,UINT32 DestinationChannels,float *pLevelMatrix) { + This->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix); +} +static FORCEINLINE void IXAudio2MasteringVoice_DestroyVoice(IXAudio2MasteringVoice* This) { + This->lpVtbl->DestroyVoice(This); +} +/*** IXAudio2MasteringVoice methods ***/ +static FORCEINLINE void IXAudio2MasteringVoice_GetChannelMask(IXAudio2MasteringVoice* This,DWORD *pChannelMask) { + This->lpVtbl->GetChannelMask(This,pChannelMask); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2MasteringVoice_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio20VoiceCallback interface + */ +#ifndef __IXAudio20VoiceCallback_INTERFACE_DEFINED__ +#define __IXAudio20VoiceCallback_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio20VoiceCallback +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE OnVoiceProcessingPassStart( + ) = 0; + + virtual void STDMETHODCALLTYPE OnVoiceProcessingPassEnd( + ) = 0; + + virtual void STDMETHODCALLTYPE OnStreamEnd( + ) = 0; + + virtual void STDMETHODCALLTYPE OnBufferStart( + void *pBufferContext) = 0; + + virtual void STDMETHODCALLTYPE OnBufferEnd( + void *pBufferContext) = 0; + + virtual void STDMETHODCALLTYPE OnLoopEnd( + void *pBufferContext) = 0; + + virtual void STDMETHODCALLTYPE OnVoiceError( + void *pBuffercontext, + HRESULT Error) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio20VoiceCallbackVtbl { + BEGIN_INTERFACE + + /*** IXAudio20VoiceCallback methods ***/ + void (STDMETHODCALLTYPE *OnVoiceProcessingPassStart)( + IXAudio20VoiceCallback *This); + + void (STDMETHODCALLTYPE *OnVoiceProcessingPassEnd)( + IXAudio20VoiceCallback *This); + + void (STDMETHODCALLTYPE *OnStreamEnd)( + IXAudio20VoiceCallback *This); + + void (STDMETHODCALLTYPE *OnBufferStart)( + IXAudio20VoiceCallback *This, + void *pBufferContext); + + void (STDMETHODCALLTYPE *OnBufferEnd)( + IXAudio20VoiceCallback *This, + void *pBufferContext); + + void (STDMETHODCALLTYPE *OnLoopEnd)( + IXAudio20VoiceCallback *This, + void *pBufferContext); + + void (STDMETHODCALLTYPE *OnVoiceError)( + IXAudio20VoiceCallback *This, + void *pBuffercontext, + HRESULT Error); + + END_INTERFACE +} IXAudio20VoiceCallbackVtbl; + +interface IXAudio20VoiceCallback { + CONST_VTBL IXAudio20VoiceCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio20VoiceCallback methods ***/ +#define IXAudio20VoiceCallback_OnVoiceProcessingPassStart(This) (This)->lpVtbl->OnVoiceProcessingPassStart(This) +#define IXAudio20VoiceCallback_OnVoiceProcessingPassEnd(This) (This)->lpVtbl->OnVoiceProcessingPassEnd(This) +#define IXAudio20VoiceCallback_OnStreamEnd(This) (This)->lpVtbl->OnStreamEnd(This) +#define IXAudio20VoiceCallback_OnBufferStart(This,pBufferContext) (This)->lpVtbl->OnBufferStart(This,pBufferContext) +#define IXAudio20VoiceCallback_OnBufferEnd(This,pBufferContext) (This)->lpVtbl->OnBufferEnd(This,pBufferContext) +#define IXAudio20VoiceCallback_OnLoopEnd(This,pBufferContext) (This)->lpVtbl->OnLoopEnd(This,pBufferContext) +#define IXAudio20VoiceCallback_OnVoiceError(This,pBuffercontext,Error) (This)->lpVtbl->OnVoiceError(This,pBuffercontext,Error) +#else +/*** IXAudio20VoiceCallback methods ***/ +static FORCEINLINE void IXAudio20VoiceCallback_OnVoiceProcessingPassStart(IXAudio20VoiceCallback* This) { + This->lpVtbl->OnVoiceProcessingPassStart(This); +} +static FORCEINLINE void IXAudio20VoiceCallback_OnVoiceProcessingPassEnd(IXAudio20VoiceCallback* This) { + This->lpVtbl->OnVoiceProcessingPassEnd(This); +} +static FORCEINLINE void IXAudio20VoiceCallback_OnStreamEnd(IXAudio20VoiceCallback* This) { + This->lpVtbl->OnStreamEnd(This); +} +static FORCEINLINE void IXAudio20VoiceCallback_OnBufferStart(IXAudio20VoiceCallback* This,void *pBufferContext) { + This->lpVtbl->OnBufferStart(This,pBufferContext); +} +static FORCEINLINE void IXAudio20VoiceCallback_OnBufferEnd(IXAudio20VoiceCallback* This,void *pBufferContext) { + This->lpVtbl->OnBufferEnd(This,pBufferContext); +} +static FORCEINLINE void IXAudio20VoiceCallback_OnLoopEnd(IXAudio20VoiceCallback* This,void *pBufferContext) { + This->lpVtbl->OnLoopEnd(This,pBufferContext); +} +static FORCEINLINE void IXAudio20VoiceCallback_OnVoiceError(IXAudio20VoiceCallback* This,void *pBuffercontext,HRESULT Error) { + This->lpVtbl->OnVoiceError(This,pBuffercontext,Error); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio20VoiceCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio2VoiceCallback interface + */ +#ifndef __IXAudio2VoiceCallback_INTERFACE_DEFINED__ +#define __IXAudio2VoiceCallback_INTERFACE_DEFINED__ + +#if defined(__cplusplus) && !defined(CINTERFACE) +interface IXAudio2VoiceCallback +{ + + BEGIN_INTERFACE + + virtual void STDMETHODCALLTYPE OnVoiceProcessingPassStart( + UINT32 BytesRequired) = 0; + + virtual void STDMETHODCALLTYPE OnVoiceProcessingPassEnd( + ) = 0; + + virtual void STDMETHODCALLTYPE OnStreamEnd( + ) = 0; + + virtual void STDMETHODCALLTYPE OnBufferStart( + void *pBufferContext) = 0; + + virtual void STDMETHODCALLTYPE OnBufferEnd( + void *pBufferContext) = 0; + + virtual void STDMETHODCALLTYPE OnLoopEnd( + void *pBufferContext) = 0; + + virtual void STDMETHODCALLTYPE OnVoiceError( + void *pBuffercontext, + HRESULT Error) = 0; + + END_INTERFACE + +}; +#else +typedef struct IXAudio2VoiceCallbackVtbl { + BEGIN_INTERFACE + + /*** IXAudio2VoiceCallback methods ***/ + void (STDMETHODCALLTYPE *OnVoiceProcessingPassStart)( + IXAudio2VoiceCallback *This, + UINT32 BytesRequired); + + void (STDMETHODCALLTYPE *OnVoiceProcessingPassEnd)( + IXAudio2VoiceCallback *This); + + void (STDMETHODCALLTYPE *OnStreamEnd)( + IXAudio2VoiceCallback *This); + + void (STDMETHODCALLTYPE *OnBufferStart)( + IXAudio2VoiceCallback *This, + void *pBufferContext); + + void (STDMETHODCALLTYPE *OnBufferEnd)( + IXAudio2VoiceCallback *This, + void *pBufferContext); + + void (STDMETHODCALLTYPE *OnLoopEnd)( + IXAudio2VoiceCallback *This, + void *pBufferContext); + + void (STDMETHODCALLTYPE *OnVoiceError)( + IXAudio2VoiceCallback *This, + void *pBuffercontext, + HRESULT Error); + + END_INTERFACE +} IXAudio2VoiceCallbackVtbl; + +interface IXAudio2VoiceCallback { + CONST_VTBL IXAudio2VoiceCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IXAudio2VoiceCallback methods ***/ +#define IXAudio2VoiceCallback_OnVoiceProcessingPassStart(This,BytesRequired) (This)->lpVtbl->OnVoiceProcessingPassStart(This,BytesRequired) +#define IXAudio2VoiceCallback_OnVoiceProcessingPassEnd(This) (This)->lpVtbl->OnVoiceProcessingPassEnd(This) +#define IXAudio2VoiceCallback_OnStreamEnd(This) (This)->lpVtbl->OnStreamEnd(This) +#define IXAudio2VoiceCallback_OnBufferStart(This,pBufferContext) (This)->lpVtbl->OnBufferStart(This,pBufferContext) +#define IXAudio2VoiceCallback_OnBufferEnd(This,pBufferContext) (This)->lpVtbl->OnBufferEnd(This,pBufferContext) +#define IXAudio2VoiceCallback_OnLoopEnd(This,pBufferContext) (This)->lpVtbl->OnLoopEnd(This,pBufferContext) +#define IXAudio2VoiceCallback_OnVoiceError(This,pBuffercontext,Error) (This)->lpVtbl->OnVoiceError(This,pBuffercontext,Error) +#else +/*** IXAudio2VoiceCallback methods ***/ +static FORCEINLINE void IXAudio2VoiceCallback_OnVoiceProcessingPassStart(IXAudio2VoiceCallback* This,UINT32 BytesRequired) { + This->lpVtbl->OnVoiceProcessingPassStart(This,BytesRequired); +} +static FORCEINLINE void IXAudio2VoiceCallback_OnVoiceProcessingPassEnd(IXAudio2VoiceCallback* This) { + This->lpVtbl->OnVoiceProcessingPassEnd(This); +} +static FORCEINLINE void IXAudio2VoiceCallback_OnStreamEnd(IXAudio2VoiceCallback* This) { + This->lpVtbl->OnStreamEnd(This); +} +static FORCEINLINE void IXAudio2VoiceCallback_OnBufferStart(IXAudio2VoiceCallback* This,void *pBufferContext) { + This->lpVtbl->OnBufferStart(This,pBufferContext); +} +static FORCEINLINE void IXAudio2VoiceCallback_OnBufferEnd(IXAudio2VoiceCallback* This,void *pBufferContext) { + This->lpVtbl->OnBufferEnd(This,pBufferContext); +} +static FORCEINLINE void IXAudio2VoiceCallback_OnLoopEnd(IXAudio2VoiceCallback* This,void *pBufferContext) { + This->lpVtbl->OnLoopEnd(This,pBufferContext); +} +static FORCEINLINE void IXAudio2VoiceCallback_OnVoiceError(IXAudio2VoiceCallback* This,void *pBuffercontext,HRESULT Error) { + This->lpVtbl->OnVoiceError(This,pBuffercontext,Error); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2VoiceCallback_INTERFACE_DEFINED__ */ + +typedef struct XAUDIO2_DEBUG_CONFIGURATION { + UINT32 TraceMask; + UINT32 BreakMask; + BOOL LogThreadID; + BOOL LogFileline; + BOOL LogFunctionName; + BOOL LogTiming; +} XAUDIO2_DEBUG_CONFIGURATION; +/***************************************************************************** + * IXAudio20 interface + */ +#ifndef __IXAudio20_INTERFACE_DEFINED__ +#define __IXAudio20_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAudio20, 0x8bcf1f58, 0x9fe7, 0x4583, 0x8a,0xc6, 0xe2,0xad,0xc4,0x65,0xc8,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb") +IXAudio20 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDeviceCount( + UINT32 *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceDetails( + UINT32 Index, + XAUDIO2_DEVICE_DETAILS *pDeviceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + UINT32 Flags = 0, + XAUDIO2_PROCESSOR XAudio2Processor = XAUDIO2_DEFAULT_PROCESSOR) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual void STDMETHODCALLTYPE UnregisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSourceVoice( + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags = 0, + float MaxFrequencyRatio = XAUDIO2_DEFAULT_FREQ_RATIO, + IXAudio2VoiceCallback *pCallback = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSubmixVoice( + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags = 0, + UINT32 ProcessingStage = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMasteringVoice( + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels = XAUDIO2_DEFAULT_CHANNELS, + UINT32 InputSampleRate = XAUDIO2_DEFAULT_SAMPLERATE, + UINT32 Flags = 0, + UINT32 DeviceIndex = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartEngine( + ) = 0; + + virtual void STDMETHODCALLTYPE StopEngine( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitChanges( + UINT32 OperationSet) = 0; + + virtual void STDMETHODCALLTYPE GetPerformanceData( + XAUDIO20_PERFORMANCE_DATA *pPerfData) = 0; + + virtual void STDMETHODCALLTYPE SetDebugConfiguration( + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAudio20, 0x8bcf1f58, 0x9fe7, 0x4583, 0x8a,0xc6, 0xe2,0xad,0xc4,0x65,0xc8,0xbb) +#endif +#else +typedef struct IXAudio20Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAudio20 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAudio20 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAudio20 *This); + + /*** IXAudio20 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDeviceCount)( + IXAudio20 *This, + UINT32 *pCount); + + HRESULT (STDMETHODCALLTYPE *GetDeviceDetails)( + IXAudio20 *This, + UINT32 Index, + XAUDIO2_DEVICE_DETAILS *pDeviceDetails); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IXAudio20 *This, + UINT32 Flags, + XAUDIO2_PROCESSOR XAudio2Processor); + + HRESULT (STDMETHODCALLTYPE *RegisterForCallbacks)( + IXAudio20 *This, + IXAudio2EngineCallback *pCallback); + + void (STDMETHODCALLTYPE *UnregisterForCallbacks)( + IXAudio20 *This, + IXAudio2EngineCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *CreateSourceVoice)( + IXAudio20 *This, + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags, + float MaxFrequencyRatio, + IXAudio2VoiceCallback *pCallback, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateSubmixVoice)( + IXAudio20 *This, + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 ProcessingStage, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateMasteringVoice)( + IXAudio20 *This, + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 DeviceIndex, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *StartEngine)( + IXAudio20 *This); + + void (STDMETHODCALLTYPE *StopEngine)( + IXAudio20 *This); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + IXAudio20 *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetPerformanceData)( + IXAudio20 *This, + XAUDIO20_PERFORMANCE_DATA *pPerfData); + + void (STDMETHODCALLTYPE *SetDebugConfiguration)( + IXAudio20 *This, + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved); + + END_INTERFACE +} IXAudio20Vtbl; + +interface IXAudio20 { + CONST_VTBL IXAudio20Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAudio20_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAudio20_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAudio20_Release(This) (This)->lpVtbl->Release(This) +/*** IXAudio20 methods ***/ +#define IXAudio20_GetDeviceCount(This,pCount) (This)->lpVtbl->GetDeviceCount(This,pCount) +#define IXAudio20_GetDeviceDetails(This,Index,pDeviceDetails) (This)->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails) +#define IXAudio20_Initialize(This,Flags,XAudio2Processor) (This)->lpVtbl->Initialize(This,Flags,XAudio2Processor) +#define IXAudio20_RegisterForCallbacks(This,pCallback) (This)->lpVtbl->RegisterForCallbacks(This,pCallback) +#define IXAudio20_UnregisterForCallbacks(This,pCallback) (This)->lpVtbl->UnregisterForCallbacks(This,pCallback) +#define IXAudio20_CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) (This)->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) +#define IXAudio20_CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) (This)->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) +#define IXAudio20_CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain) (This)->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain) +#define IXAudio20_StartEngine(This) (This)->lpVtbl->StartEngine(This) +#define IXAudio20_StopEngine(This) (This)->lpVtbl->StopEngine(This) +#define IXAudio20_CommitChanges(This,OperationSet) (This)->lpVtbl->CommitChanges(This,OperationSet) +#define IXAudio20_GetPerformanceData(This,pPerfData) (This)->lpVtbl->GetPerformanceData(This,pPerfData) +#define IXAudio20_SetDebugConfiguration(This,pDebugConfiguration,pReserved) (This)->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAudio20_QueryInterface(IXAudio20* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAudio20_AddRef(IXAudio20* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAudio20_Release(IXAudio20* This) { + return This->lpVtbl->Release(This); +} +/*** IXAudio20 methods ***/ +static FORCEINLINE HRESULT IXAudio20_GetDeviceCount(IXAudio20* This,UINT32 *pCount) { + return This->lpVtbl->GetDeviceCount(This,pCount); +} +static FORCEINLINE HRESULT IXAudio20_GetDeviceDetails(IXAudio20* This,UINT32 Index,XAUDIO2_DEVICE_DETAILS *pDeviceDetails) { + return This->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails); +} +static FORCEINLINE HRESULT IXAudio20_Initialize(IXAudio20* This,UINT32 Flags,XAUDIO2_PROCESSOR XAudio2Processor) { + return This->lpVtbl->Initialize(This,Flags,XAudio2Processor); +} +static FORCEINLINE HRESULT IXAudio20_RegisterForCallbacks(IXAudio20* This,IXAudio2EngineCallback *pCallback) { + return This->lpVtbl->RegisterForCallbacks(This,pCallback); +} +static FORCEINLINE void IXAudio20_UnregisterForCallbacks(IXAudio20* This,IXAudio2EngineCallback *pCallback) { + This->lpVtbl->UnregisterForCallbacks(This,pCallback); +} +static FORCEINLINE HRESULT IXAudio20_CreateSourceVoice(IXAudio20* This,IXAudio2SourceVoice **ppSourceVoice,const WAVEFORMATEX *pSourceFormat,UINT32 Flags,float MaxFrequencyRatio,IXAudio2VoiceCallback *pCallback,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20_CreateSubmixVoice(IXAudio20* This,IXAudio2SubmixVoice **ppSubmixVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 ProcessingStage,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20_CreateMasteringVoice(IXAudio20* This,IXAudio2MasteringVoice **ppMasteringVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 DeviceIndex,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio20_StartEngine(IXAudio20* This) { + return This->lpVtbl->StartEngine(This); +} +static FORCEINLINE void IXAudio20_StopEngine(IXAudio20* This) { + This->lpVtbl->StopEngine(This); +} +static FORCEINLINE HRESULT IXAudio20_CommitChanges(IXAudio20* This,UINT32 OperationSet) { + return This->lpVtbl->CommitChanges(This,OperationSet); +} +static FORCEINLINE void IXAudio20_GetPerformanceData(IXAudio20* This,XAUDIO20_PERFORMANCE_DATA *pPerfData) { + This->lpVtbl->GetPerformanceData(This,pPerfData); +} +static FORCEINLINE void IXAudio20_SetDebugConfiguration(IXAudio20* This,const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration,void *pReserved) { + This->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio20_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio22 interface + */ +#ifndef __IXAudio22_INTERFACE_DEFINED__ +#define __IXAudio22_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAudio22, 0x8bcf1f58, 0x9fe7, 0x4583, 0x8a,0xc6, 0xe2,0xad,0xc4,0x65,0xc8,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb") +IXAudio22 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDeviceCount( + UINT32 *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceDetails( + UINT32 Index, + XAUDIO2_DEVICE_DETAILS *pDeviceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + UINT32 Flags = 0, + XAUDIO2_PROCESSOR XAudio2Processor = XAUDIO2_DEFAULT_PROCESSOR) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual void STDMETHODCALLTYPE UnregisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSourceVoice( + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags = 0, + float MaxFrequencyRatio = XAUDIO2_DEFAULT_FREQ_RATIO, + IXAudio2VoiceCallback *pCallback = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSubmixVoice( + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags = 0, + UINT32 ProcessingStage = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMasteringVoice( + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels = XAUDIO2_DEFAULT_CHANNELS, + UINT32 InputSampleRate = XAUDIO2_DEFAULT_SAMPLERATE, + UINT32 Flags = 0, + UINT32 DeviceIndex = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartEngine( + ) = 0; + + virtual void STDMETHODCALLTYPE StopEngine( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitChanges( + UINT32 OperationSet) = 0; + + virtual void STDMETHODCALLTYPE GetPerformanceData( + XAUDIO22_PERFORMANCE_DATA *pPerfData) = 0; + + virtual void STDMETHODCALLTYPE SetDebugConfiguration( + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAudio22, 0x8bcf1f58, 0x9fe7, 0x4583, 0x8a,0xc6, 0xe2,0xad,0xc4,0x65,0xc8,0xbb) +#endif +#else +typedef struct IXAudio22Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAudio22 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAudio22 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAudio22 *This); + + /*** IXAudio22 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDeviceCount)( + IXAudio22 *This, + UINT32 *pCount); + + HRESULT (STDMETHODCALLTYPE *GetDeviceDetails)( + IXAudio22 *This, + UINT32 Index, + XAUDIO2_DEVICE_DETAILS *pDeviceDetails); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IXAudio22 *This, + UINT32 Flags, + XAUDIO2_PROCESSOR XAudio2Processor); + + HRESULT (STDMETHODCALLTYPE *RegisterForCallbacks)( + IXAudio22 *This, + IXAudio2EngineCallback *pCallback); + + void (STDMETHODCALLTYPE *UnregisterForCallbacks)( + IXAudio22 *This, + IXAudio2EngineCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *CreateSourceVoice)( + IXAudio22 *This, + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags, + float MaxFrequencyRatio, + IXAudio2VoiceCallback *pCallback, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateSubmixVoice)( + IXAudio22 *This, + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 ProcessingStage, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateMasteringVoice)( + IXAudio22 *This, + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 DeviceIndex, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *StartEngine)( + IXAudio22 *This); + + void (STDMETHODCALLTYPE *StopEngine)( + IXAudio22 *This); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + IXAudio22 *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetPerformanceData)( + IXAudio22 *This, + XAUDIO22_PERFORMANCE_DATA *pPerfData); + + void (STDMETHODCALLTYPE *SetDebugConfiguration)( + IXAudio22 *This, + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved); + + END_INTERFACE +} IXAudio22Vtbl; + +interface IXAudio22 { + CONST_VTBL IXAudio22Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAudio22_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAudio22_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAudio22_Release(This) (This)->lpVtbl->Release(This) +/*** IXAudio22 methods ***/ +#define IXAudio22_GetDeviceCount(This,pCount) (This)->lpVtbl->GetDeviceCount(This,pCount) +#define IXAudio22_GetDeviceDetails(This,Index,pDeviceDetails) (This)->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails) +#define IXAudio22_Initialize(This,Flags,XAudio2Processor) (This)->lpVtbl->Initialize(This,Flags,XAudio2Processor) +#define IXAudio22_RegisterForCallbacks(This,pCallback) (This)->lpVtbl->RegisterForCallbacks(This,pCallback) +#define IXAudio22_UnregisterForCallbacks(This,pCallback) (This)->lpVtbl->UnregisterForCallbacks(This,pCallback) +#define IXAudio22_CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) (This)->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) +#define IXAudio22_CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) (This)->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) +#define IXAudio22_CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain) (This)->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain) +#define IXAudio22_StartEngine(This) (This)->lpVtbl->StartEngine(This) +#define IXAudio22_StopEngine(This) (This)->lpVtbl->StopEngine(This) +#define IXAudio22_CommitChanges(This,OperationSet) (This)->lpVtbl->CommitChanges(This,OperationSet) +#define IXAudio22_GetPerformanceData(This,pPerfData) (This)->lpVtbl->GetPerformanceData(This,pPerfData) +#define IXAudio22_SetDebugConfiguration(This,pDebugConfiguration,pReserved) (This)->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAudio22_QueryInterface(IXAudio22* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAudio22_AddRef(IXAudio22* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAudio22_Release(IXAudio22* This) { + return This->lpVtbl->Release(This); +} +/*** IXAudio22 methods ***/ +static FORCEINLINE HRESULT IXAudio22_GetDeviceCount(IXAudio22* This,UINT32 *pCount) { + return This->lpVtbl->GetDeviceCount(This,pCount); +} +static FORCEINLINE HRESULT IXAudio22_GetDeviceDetails(IXAudio22* This,UINT32 Index,XAUDIO2_DEVICE_DETAILS *pDeviceDetails) { + return This->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails); +} +static FORCEINLINE HRESULT IXAudio22_Initialize(IXAudio22* This,UINT32 Flags,XAUDIO2_PROCESSOR XAudio2Processor) { + return This->lpVtbl->Initialize(This,Flags,XAudio2Processor); +} +static FORCEINLINE HRESULT IXAudio22_RegisterForCallbacks(IXAudio22* This,IXAudio2EngineCallback *pCallback) { + return This->lpVtbl->RegisterForCallbacks(This,pCallback); +} +static FORCEINLINE void IXAudio22_UnregisterForCallbacks(IXAudio22* This,IXAudio2EngineCallback *pCallback) { + This->lpVtbl->UnregisterForCallbacks(This,pCallback); +} +static FORCEINLINE HRESULT IXAudio22_CreateSourceVoice(IXAudio22* This,IXAudio2SourceVoice **ppSourceVoice,const WAVEFORMATEX *pSourceFormat,UINT32 Flags,float MaxFrequencyRatio,IXAudio2VoiceCallback *pCallback,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio22_CreateSubmixVoice(IXAudio22* This,IXAudio2SubmixVoice **ppSubmixVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 ProcessingStage,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio22_CreateMasteringVoice(IXAudio22* This,IXAudio2MasteringVoice **ppMasteringVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 DeviceIndex,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio22_StartEngine(IXAudio22* This) { + return This->lpVtbl->StartEngine(This); +} +static FORCEINLINE void IXAudio22_StopEngine(IXAudio22* This) { + This->lpVtbl->StopEngine(This); +} +static FORCEINLINE HRESULT IXAudio22_CommitChanges(IXAudio22* This,UINT32 OperationSet) { + return This->lpVtbl->CommitChanges(This,OperationSet); +} +static FORCEINLINE void IXAudio22_GetPerformanceData(IXAudio22* This,XAUDIO22_PERFORMANCE_DATA *pPerfData) { + This->lpVtbl->GetPerformanceData(This,pPerfData); +} +static FORCEINLINE void IXAudio22_SetDebugConfiguration(IXAudio22* This,const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration,void *pReserved) { + This->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio22_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXAudio27 interface + */ +#ifndef __IXAudio27_INTERFACE_DEFINED__ +#define __IXAudio27_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAudio27, 0x8bcf1f58, 0x9fe7, 0x4583, 0x8a,0xc6, 0xe2,0xad,0xc4,0x65,0xc8,0xbb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb") +IXAudio27 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDeviceCount( + UINT32 *pCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDeviceDetails( + UINT32 Index, + XAUDIO2_DEVICE_DETAILS *pDeviceDetails) = 0; + + virtual HRESULT STDMETHODCALLTYPE Initialize( + UINT32 Flags = 0, + XAUDIO2_PROCESSOR XAudio2Processor = XAUDIO2_DEFAULT_PROCESSOR) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual void STDMETHODCALLTYPE UnregisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSourceVoice( + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags = 0, + float MaxFrequencyRatio = XAUDIO2_DEFAULT_FREQ_RATIO, + IXAudio2VoiceCallback *pCallback = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSubmixVoice( + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags = 0, + UINT32 ProcessingStage = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMasteringVoice( + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels = XAUDIO2_DEFAULT_CHANNELS, + UINT32 InputSampleRate = XAUDIO2_DEFAULT_SAMPLERATE, + UINT32 Flags = 0, + UINT32 DeviceIndex = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartEngine( + ) = 0; + + virtual void STDMETHODCALLTYPE StopEngine( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitChanges( + UINT32 OperationSet) = 0; + + virtual void STDMETHODCALLTYPE GetPerformanceData( + XAUDIO2_PERFORMANCE_DATA *pPerfData) = 0; + + virtual void STDMETHODCALLTYPE SetDebugConfiguration( + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAudio27, 0x8bcf1f58, 0x9fe7, 0x4583, 0x8a,0xc6, 0xe2,0xad,0xc4,0x65,0xc8,0xbb) +#endif +#else +typedef struct IXAudio27Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAudio27 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAudio27 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAudio27 *This); + + /*** IXAudio27 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDeviceCount)( + IXAudio27 *This, + UINT32 *pCount); + + HRESULT (STDMETHODCALLTYPE *GetDeviceDetails)( + IXAudio27 *This, + UINT32 Index, + XAUDIO2_DEVICE_DETAILS *pDeviceDetails); + + HRESULT (STDMETHODCALLTYPE *Initialize)( + IXAudio27 *This, + UINT32 Flags, + XAUDIO2_PROCESSOR XAudio2Processor); + + HRESULT (STDMETHODCALLTYPE *RegisterForCallbacks)( + IXAudio27 *This, + IXAudio2EngineCallback *pCallback); + + void (STDMETHODCALLTYPE *UnregisterForCallbacks)( + IXAudio27 *This, + IXAudio2EngineCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *CreateSourceVoice)( + IXAudio27 *This, + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags, + float MaxFrequencyRatio, + IXAudio2VoiceCallback *pCallback, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateSubmixVoice)( + IXAudio27 *This, + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 ProcessingStage, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateMasteringVoice)( + IXAudio27 *This, + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 DeviceIndex, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *StartEngine)( + IXAudio27 *This); + + void (STDMETHODCALLTYPE *StopEngine)( + IXAudio27 *This); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + IXAudio27 *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetPerformanceData)( + IXAudio27 *This, + XAUDIO2_PERFORMANCE_DATA *pPerfData); + + void (STDMETHODCALLTYPE *SetDebugConfiguration)( + IXAudio27 *This, + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved); + + END_INTERFACE +} IXAudio27Vtbl; + +interface IXAudio27 { + CONST_VTBL IXAudio27Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAudio27_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAudio27_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAudio27_Release(This) (This)->lpVtbl->Release(This) +/*** IXAudio27 methods ***/ +#define IXAudio27_GetDeviceCount(This,pCount) (This)->lpVtbl->GetDeviceCount(This,pCount) +#define IXAudio27_GetDeviceDetails(This,Index,pDeviceDetails) (This)->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails) +#define IXAudio27_Initialize(This,Flags,XAudio2Processor) (This)->lpVtbl->Initialize(This,Flags,XAudio2Processor) +#define IXAudio27_RegisterForCallbacks(This,pCallback) (This)->lpVtbl->RegisterForCallbacks(This,pCallback) +#define IXAudio27_UnregisterForCallbacks(This,pCallback) (This)->lpVtbl->UnregisterForCallbacks(This,pCallback) +#define IXAudio27_CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) (This)->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) +#define IXAudio27_CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) (This)->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) +#define IXAudio27_CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain) (This)->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain) +#define IXAudio27_StartEngine(This) (This)->lpVtbl->StartEngine(This) +#define IXAudio27_StopEngine(This) (This)->lpVtbl->StopEngine(This) +#define IXAudio27_CommitChanges(This,OperationSet) (This)->lpVtbl->CommitChanges(This,OperationSet) +#define IXAudio27_GetPerformanceData(This,pPerfData) (This)->lpVtbl->GetPerformanceData(This,pPerfData) +#define IXAudio27_SetDebugConfiguration(This,pDebugConfiguration,pReserved) (This)->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAudio27_QueryInterface(IXAudio27* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAudio27_AddRef(IXAudio27* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAudio27_Release(IXAudio27* This) { + return This->lpVtbl->Release(This); +} +/*** IXAudio27 methods ***/ +static FORCEINLINE HRESULT IXAudio27_GetDeviceCount(IXAudio27* This,UINT32 *pCount) { + return This->lpVtbl->GetDeviceCount(This,pCount); +} +static FORCEINLINE HRESULT IXAudio27_GetDeviceDetails(IXAudio27* This,UINT32 Index,XAUDIO2_DEVICE_DETAILS *pDeviceDetails) { + return This->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails); +} +static FORCEINLINE HRESULT IXAudio27_Initialize(IXAudio27* This,UINT32 Flags,XAUDIO2_PROCESSOR XAudio2Processor) { + return This->lpVtbl->Initialize(This,Flags,XAudio2Processor); +} +static FORCEINLINE HRESULT IXAudio27_RegisterForCallbacks(IXAudio27* This,IXAudio2EngineCallback *pCallback) { + return This->lpVtbl->RegisterForCallbacks(This,pCallback); +} +static FORCEINLINE void IXAudio27_UnregisterForCallbacks(IXAudio27* This,IXAudio2EngineCallback *pCallback) { + This->lpVtbl->UnregisterForCallbacks(This,pCallback); +} +static FORCEINLINE HRESULT IXAudio27_CreateSourceVoice(IXAudio27* This,IXAudio2SourceVoice **ppSourceVoice,const WAVEFORMATEX *pSourceFormat,UINT32 Flags,float MaxFrequencyRatio,IXAudio2VoiceCallback *pCallback,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27_CreateSubmixVoice(IXAudio27* This,IXAudio2SubmixVoice **ppSubmixVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 ProcessingStage,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27_CreateMasteringVoice(IXAudio27* This,IXAudio2MasteringVoice **ppMasteringVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 DeviceIndex,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio27_StartEngine(IXAudio27* This) { + return This->lpVtbl->StartEngine(This); +} +static FORCEINLINE void IXAudio27_StopEngine(IXAudio27* This) { + This->lpVtbl->StopEngine(This); +} +static FORCEINLINE HRESULT IXAudio27_CommitChanges(IXAudio27* This,UINT32 OperationSet) { + return This->lpVtbl->CommitChanges(This,OperationSet); +} +static FORCEINLINE void IXAudio27_GetPerformanceData(IXAudio27* This,XAUDIO2_PERFORMANCE_DATA *pPerfData) { + This->lpVtbl->GetPerformanceData(This,pPerfData); +} +static FORCEINLINE void IXAudio27_SetDebugConfiguration(IXAudio27* This,const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration,void *pReserved) { + This->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio27_INTERFACE_DEFINED__ */ + +DEFINE_GUID(IID_IXAudio28, 0x60d8dac8, 0x5aa1, 0x4e8e, 0xb5, 0x97, 0x2f, 0x5e, 0x28, 0x83, 0xd4, 0x84); +/***************************************************************************** + * IXAudio2 interface + */ +#ifndef __IXAudio2_INTERFACE_DEFINED__ +#define __IXAudio2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXAudio2, 0x2b02e3cf, 0x2e0b, 0x4ec3, 0xbe,0x45, 0x1b,0x2a,0x3f,0xe7,0x21,0x0d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2b02e3cf-2e0b-4ec3-be45-1b2a3fe7210d") +IXAudio2 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual void STDMETHODCALLTYPE UnregisterForCallbacks( + IXAudio2EngineCallback *pCallback) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSourceVoice( + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags = 0, + float MaxFrequencyRatio = XAUDIO2_DEFAULT_FREQ_RATIO, + IXAudio2VoiceCallback *pCallback = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSubmixVoice( + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags = 0, + UINT32 ProcessingStage = 0, + const XAUDIO2_VOICE_SENDS *pSendList = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateMasteringVoice( + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels = XAUDIO2_DEFAULT_CHANNELS, + UINT32 InputSampleRate = XAUDIO2_DEFAULT_SAMPLERATE, + UINT32 Flags = 0, + LPCWSTR DeviceId = 0, + const XAUDIO2_EFFECT_CHAIN *pEffectChain = 0, + AUDIO_STREAM_CATEGORY StreamCategory = AudioCategory_GameEffects) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartEngine( + ) = 0; + + virtual void STDMETHODCALLTYPE StopEngine( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE CommitChanges( + UINT32 OperationSet) = 0; + + virtual void STDMETHODCALLTYPE GetPerformanceData( + XAUDIO2_PERFORMANCE_DATA *pPerfData) = 0; + + virtual void STDMETHODCALLTYPE SetDebugConfiguration( + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved = 0) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXAudio2, 0x2b02e3cf, 0x2e0b, 0x4ec3, 0xbe,0x45, 0x1b,0x2a,0x3f,0xe7,0x21,0x0d) +#endif +#else +typedef struct IXAudio2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXAudio2 *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXAudio2 *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXAudio2 *This); + + /*** IXAudio2 methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterForCallbacks)( + IXAudio2 *This, + IXAudio2EngineCallback *pCallback); + + void (STDMETHODCALLTYPE *UnregisterForCallbacks)( + IXAudio2 *This, + IXAudio2EngineCallback *pCallback); + + HRESULT (STDMETHODCALLTYPE *CreateSourceVoice)( + IXAudio2 *This, + IXAudio2SourceVoice **ppSourceVoice, + const WAVEFORMATEX *pSourceFormat, + UINT32 Flags, + float MaxFrequencyRatio, + IXAudio2VoiceCallback *pCallback, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateSubmixVoice)( + IXAudio2 *This, + IXAudio2SubmixVoice **ppSubmixVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + UINT32 ProcessingStage, + const XAUDIO2_VOICE_SENDS *pSendList, + const XAUDIO2_EFFECT_CHAIN *pEffectChain); + + HRESULT (STDMETHODCALLTYPE *CreateMasteringVoice)( + IXAudio2 *This, + IXAudio2MasteringVoice **ppMasteringVoice, + UINT32 InputChannels, + UINT32 InputSampleRate, + UINT32 Flags, + LPCWSTR DeviceId, + const XAUDIO2_EFFECT_CHAIN *pEffectChain, + AUDIO_STREAM_CATEGORY StreamCategory); + + HRESULT (STDMETHODCALLTYPE *StartEngine)( + IXAudio2 *This); + + void (STDMETHODCALLTYPE *StopEngine)( + IXAudio2 *This); + + HRESULT (STDMETHODCALLTYPE *CommitChanges)( + IXAudio2 *This, + UINT32 OperationSet); + + void (STDMETHODCALLTYPE *GetPerformanceData)( + IXAudio2 *This, + XAUDIO2_PERFORMANCE_DATA *pPerfData); + + void (STDMETHODCALLTYPE *SetDebugConfiguration)( + IXAudio2 *This, + const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration, + void *pReserved); + + END_INTERFACE +} IXAudio2Vtbl; + +interface IXAudio2 { + CONST_VTBL IXAudio2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXAudio2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXAudio2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXAudio2_Release(This) (This)->lpVtbl->Release(This) +/*** IXAudio2 methods ***/ +#define IXAudio2_RegisterForCallbacks(This,pCallback) (This)->lpVtbl->RegisterForCallbacks(This,pCallback) +#define IXAudio2_UnregisterForCallbacks(This,pCallback) (This)->lpVtbl->UnregisterForCallbacks(This,pCallback) +#define IXAudio2_CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) (This)->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain) +#define IXAudio2_CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) (This)->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain) +#define IXAudio2_CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceId,pEffectChain,StreamCategory) (This)->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceId,pEffectChain,StreamCategory) +#define IXAudio2_StartEngine(This) (This)->lpVtbl->StartEngine(This) +#define IXAudio2_StopEngine(This) (This)->lpVtbl->StopEngine(This) +#define IXAudio2_CommitChanges(This,OperationSet) (This)->lpVtbl->CommitChanges(This,OperationSet) +#define IXAudio2_GetPerformanceData(This,pPerfData) (This)->lpVtbl->GetPerformanceData(This,pPerfData) +#define IXAudio2_SetDebugConfiguration(This,pDebugConfiguration,pReserved) (This)->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXAudio2_QueryInterface(IXAudio2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXAudio2_AddRef(IXAudio2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXAudio2_Release(IXAudio2* This) { + return This->lpVtbl->Release(This); +} +/*** IXAudio2 methods ***/ +static FORCEINLINE HRESULT IXAudio2_RegisterForCallbacks(IXAudio2* This,IXAudio2EngineCallback *pCallback) { + return This->lpVtbl->RegisterForCallbacks(This,pCallback); +} +static FORCEINLINE void IXAudio2_UnregisterForCallbacks(IXAudio2* This,IXAudio2EngineCallback *pCallback) { + This->lpVtbl->UnregisterForCallbacks(This,pCallback); +} +static FORCEINLINE HRESULT IXAudio2_CreateSourceVoice(IXAudio2* This,IXAudio2SourceVoice **ppSourceVoice,const WAVEFORMATEX *pSourceFormat,UINT32 Flags,float MaxFrequencyRatio,IXAudio2VoiceCallback *pCallback,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio2_CreateSubmixVoice(IXAudio2* This,IXAudio2SubmixVoice **ppSubmixVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,UINT32 ProcessingStage,const XAUDIO2_VOICE_SENDS *pSendList,const XAUDIO2_EFFECT_CHAIN *pEffectChain) { + return This->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain); +} +static FORCEINLINE HRESULT IXAudio2_CreateMasteringVoice(IXAudio2* This,IXAudio2MasteringVoice **ppMasteringVoice,UINT32 InputChannels,UINT32 InputSampleRate,UINT32 Flags,LPCWSTR DeviceId,const XAUDIO2_EFFECT_CHAIN *pEffectChain,AUDIO_STREAM_CATEGORY StreamCategory) { + return This->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceId,pEffectChain,StreamCategory); +} +static FORCEINLINE HRESULT IXAudio2_StartEngine(IXAudio2* This) { + return This->lpVtbl->StartEngine(This); +} +static FORCEINLINE void IXAudio2_StopEngine(IXAudio2* This) { + This->lpVtbl->StopEngine(This); +} +static FORCEINLINE HRESULT IXAudio2_CommitChanges(IXAudio2* This,UINT32 OperationSet) { + return This->lpVtbl->CommitChanges(This,OperationSet); +} +static FORCEINLINE void IXAudio2_GetPerformanceData(IXAudio2* This,XAUDIO2_PERFORMANCE_DATA *pPerfData) { + This->lpVtbl->GetPerformanceData(This,pPerfData); +} +static FORCEINLINE void IXAudio2_SetDebugConfiguration(IXAudio2* This,const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration,void *pReserved) { + This->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved); +} +#endif +#endif + +#endif + + +#endif /* __IXAudio2_INTERFACE_DEFINED__ */ + +#define XAUDIO2_DEBUG_ENGINE (1) + +#define XAUDIO2_VOICE_NOPITCH (2) + +#define XAUDIO2_VOICE_NOSRC (4) + +#define XAUDIO2_VOICE_USEFILTER (8) + +#define XAUDIO2_VOICE_MUSIC (16) + +#define XAUDIO2_PLAY_TAILS (32) + +#define XAUDIO2_END_OF_STREAM (64) + +#define XAUDIO2_SEND_USEFILTER (128) + +#define XAUDIO2_VOICE_NOSAMPLESPLAYED (256) + +#define XAUDIO2_DEFAULT_FILTER_TYPE (LowPassFilter) + +#define XAUDIO2_DEFAULT_FILTER_FREQUENCY (XAUDIO2_MAX_FILTER_FREQUENCY) + +#define XAUDIO2_DEFAULT_FILTER_ONEOVERQ (1.00000000000000) + +#define XAUDIO2_QUANTUM_NUMERATOR (1) + +#define XAUDIO2_QUANTUM_DENOMINATOR (100) + +#define XAUDIO2_QUANTUM_MS ((1000.00000000000 * XAUDIO2_QUANTUM_NUMERATOR) / XAUDIO2_QUANTUM_DENOMINATOR) + +#define XAUDIO2_E_INVALID_CALL (0x88960001) + +#define XAUDIO2_E_XMA_DECODER_ERROR (0x88960002) + +#define XAUDIO2_E_XAPO_CREATION_FAILED (0x88960003) + +#define XAUDIO2_E_DEVICE_INVALIDATED (0x88960004) + +#define XAUDIO20_E_XMA_DECODER_ERROR (0x88960001) + +#define XAUDIO20_E_XAPO_CREATION_FAILED (0x88960002) + +#define XAUDIO20_E_DEVICE_INVALIDATED (0x88960003) + +#ifdef XAUDIO2_HELPER_FUNCTIONS +#define _USE_MATH_DEFINES +#include +inline static float XAudio2DecibelsToAmplitudeRatio(float decibels) { return powf(10.0f, decibels/20.0f); } +inline static float XAudio2AmplitudeRatioToDecibels(float volume) { if (volume == 0) { return -3.402823466e+38f; } return 20.0f * log10f(volume); } +inline static float XAudio2SemitonesToFrequencyRatio(float semitones) { return powf(2.0f, semitones/12.0f); } +inline static float XAudio2FrequencyRatioToSemitones(float freqratio) { return 39.86313713864835f * log10f(freqratio); } +inline static float XAudio2CutoffFrequencyToRadians(float cutofffreq, UINT32 samplerate) { if ((UINT32)(cutofffreq * 6.0f) >= samplerate) { return XAUDIO2_MAX_FILTER_FREQUENCY; } return 2.0f * sinf((float)M_PI * cutofffreq / samplerate); } +inline static float XAudio2RadiansToCutoffFrequency(float radians, float samplerate) { return samplerate * asinf(radians/2.0f) / (float)M_PI; } +#endif +HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); +#include +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __xaudio2_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2.idl new file mode 100644 index 0000000..9bf33ee --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2.idl @@ -0,0 +1,1208 @@ +/* + * Copyright (c) 2015 Mark Harmstone + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "mmdeviceapi.idl"; + +import "audiosessiontypes.h"; + +cpp_quote("#include ") + +[ + uuid(fac23f48-31f5-45a8-b49b-5225d61401aa) +] +coclass XAudio20 { + interface IUnknown; +} + +[ + uuid(e21a7345-eb21-468e-be50-804db97cf708) +] +coclass XAudio21 { + interface IUnknown; +} + +[ + uuid(b802058a-464a-42db-bc10-b650d6f2586a) +] +coclass XAudio22 { + interface IUnknown; +} + +[ + uuid(4c5e637a-16c7-4de3-9c46-5ed22181962d) +] +coclass XAudio23 { + interface IUnknown; +} + +[ + uuid(03219e78-5bc3-44d1-b92e-f63d89cc6526) +] +coclass XAudio24 { + interface IUnknown; +} + +[ + uuid(4c9b6dde-6809-46e6-a278-9b6a97588670) +] +coclass XAudio25 { + interface IUnknown; +} + +[ + uuid(3eda9b49-2085-498b-9bb2-39a6778493de) +] +coclass XAudio26 { + interface IUnknown; +} + +[ + uuid(5a508685-a254-4fba-9b82-9a24b00306af) +] +coclass XAudio27 { + interface IUnknown; +} + +[ + uuid(db05ea35-0329-4d4b-a53a-6dead03d3852) +] +coclass XAudio2Debug { + interface IUnknown; +} + +cpp_quote("#if 0") +typedef struct WAVEFORMATEX +{ + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; +} WAVEFORMATEX; + +typedef struct { + WAVEFORMATEX Format; + union { + WORD wValidBitsPerSample; + WORD wSamplesPerBlock; + WORD wReserved; + } Samples; + DWORD dwChannelMask; + GUID SubFormat; +} WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; +cpp_quote("#else") +cpp_quote("#include ") +cpp_quote("#endif") + +interface IXAudio2Voice; + +typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER +{ + Processor1 = 0x00000001, + Processor2 = 0x00000002, + Processor3 = 0x00000004, + Processor4 = 0x00000008, + Processor5 = 0x00000010, + Processor6 = 0x00000020, + Processor7 = 0x00000040, + Processor8 = 0x00000080, + Processor9 = 0x00000100, + Processor10 = 0x00000200, + Processor11 = 0x00000400, + Processor12 = 0x00000800, + Processor13 = 0x00001000, + Processor14 = 0x00002000, + Processor15 = 0x00004000, + Processor16 = 0x00008000, + Processor17 = 0x00010000, + Processor18 = 0x00020000, + Processor19 = 0x00040000, + Processor20 = 0x00080000, + Processor21 = 0x00100000, + Processor22 = 0x00200000, + Processor23 = 0x00400000, + Processor24 = 0x00800000, + Processor25 = 0x01000000, + Processor26 = 0x02000000, + Processor27 = 0x04000000, + Processor28 = 0x08000000, + Processor29 = 0x10000000, + Processor30 = 0x20000000, + Processor31 = 0x40000000, + Processor32 = 0x80000000, + XAUDIO2_ANY_PROCESSOR = 0xffffffff, + XAUDIO2_DEFAULT_PROCESSOR = XAUDIO2_ANY_PROCESSOR +} XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER, XAUDIO2_PROCESSOR; + +typedef struct XAUDIO2_PERFORMANCE_DATA +{ + UINT64 AudioCyclesSinceLastQuery; + UINT64 TotalCyclesSinceLastQuery; + UINT32 MinimumCyclesPerQuantum; + UINT32 MaximumCyclesPerQuantum; + UINT32 MemoryUsageInBytes; + UINT32 CurrentLatencyInSamples; + UINT32 GlitchesSinceEngineStarted; + UINT32 ActiveSourceVoiceCount; + UINT32 TotalSourceVoiceCount; + UINT32 ActiveSubmixVoiceCount; + UINT32 ActiveResamplerCount; + UINT32 ActiveMatrixMixCount; + UINT32 ActiveXmaSourceVoices; + UINT32 ActiveXmaStreams; +} XAUDIO2_PERFORMANCE_DATA; + +typedef struct XAUDIO22_PERFORMANCE_DATA +{ + UINT64 AudioCyclesSinceLastQuery; + UINT64 TotalCyclesSinceLastQuery; + UINT32 MinimumCyclesPerQuantum; + UINT32 MaximumCyclesPerQuantum; + UINT32 MemoryUsageInBytes; + UINT32 CurrentLatencyInSamples; + UINT32 GlitchesSinceEngineStarted; + UINT32 ActiveSourceVoiceCount; + UINT32 TotalSourceVoiceCount; + UINT32 ActiveSubmixVoiceCount; + UINT32 TotalSubmixVoiceCount; + UINT32 ActiveXmaSourceVoices; + UINT32 ActiveXmaStreams; +} XAUDIO22_PERFORMANCE_DATA; + +typedef struct XAUDIO20_PERFORMANCE_DATA +{ + UINT64 AudioCyclesSinceLastQuery; + UINT64 TotalCyclesSinceLastQuery; + UINT32 MinimumCyclesPerQuantum; + UINT32 MaximumCyclesPerQuantum; + UINT32 MemoryUsageInBytes; + UINT32 CurrentLatencyInSamples; + UINT32 GlitchesSinceLastQuery; + UINT32 ActiveSourceVoiceCount; + UINT32 TotalSourceVoiceCount; + UINT32 ActiveSubmixVoiceCount; + UINT32 TotalSubmixVoiceCount; + UINT32 ActiveXmaSourceVoices; + UINT32 ActiveXmaStreams; +} XAUDIO20_PERFORMANCE_DATA; + +typedef enum XAUDIO2_DEVICE_ROLE +{ + NotDefaultDevice = 0x0, + DefaultConsoleDevice = 0x1, + DefaultMultimediaDevice = 0x2, + DefaultCommunicationsDevice = 0x4, + DefaultGameDevice = 0x8, + GlobalDefaultDevice = 0xf, + InvalidDeviceRole = ~GlobalDefaultDevice +} XAUDIO2_DEVICE_ROLE; + +typedef struct XAUDIO2_DEVICE_DETAILS +{ + WCHAR DeviceID[256]; + WCHAR DisplayName[256]; + XAUDIO2_DEVICE_ROLE Role; + WAVEFORMATEXTENSIBLE OutputFormat; +} XAUDIO2_DEVICE_DETAILS; + +typedef struct XAUDIO27_VOICE_DETAILS +{ + UINT32 CreationFlags; + UINT32 InputChannels; + UINT32 InputSampleRate; +} XAUDIO27_VOICE_DETAILS; + +typedef struct XAUDIO2_VOICE_DETAILS +{ + UINT32 CreationFlags; + UINT32 ActiveFlags; + UINT32 InputChannels; + UINT32 InputSampleRate; +} XAUDIO2_VOICE_DETAILS; + +typedef struct XAUDIO2_SEND_DESCRIPTOR +{ + UINT32 Flags; + IXAudio2Voice* pOutputVoice; +} XAUDIO2_SEND_DESCRIPTOR; + +/* XAudio2 2.3's XAUDIO2_VOICE_SENDS struct */ +typedef struct XAUDIO23_VOICE_SENDS +{ + UINT32 OutputCount; + IXAudio2Voice **pOutputVoices; +} XAUDIO23_VOICE_SENDS; + +typedef struct XAUDIO2_VOICE_SENDS +{ + UINT32 SendCount; + XAUDIO2_SEND_DESCRIPTOR* pSends; +} XAUDIO2_VOICE_SENDS; + +typedef struct XAUDIO2_EFFECT_DESCRIPTOR +{ + IUnknown* pEffect; + BOOL InitialState; + UINT32 OutputChannels; +} XAUDIO2_EFFECT_DESCRIPTOR; + +typedef struct XAUDIO2_EFFECT_CHAIN +{ + UINT32 EffectCount; + XAUDIO2_EFFECT_DESCRIPTOR* pEffectDescriptors; +} XAUDIO2_EFFECT_CHAIN; + +const UINT32 XAUDIO2_MAX_BUFFER_BYTES = 0x80000000; +const UINT32 XAUDIO2_MAX_QUEUED_BUFFERS = 64; +const UINT32 XAUDIO2_MAX_BUFFERS_SYSTEM = 2; +const UINT32 XAUDIO2_MAX_AUDIO_CHANNELS = 64; +const UINT32 XAUDIO2_MIN_SAMPLE_RATE = 1000; +const UINT32 XAUDIO2_MAX_SAMPLE_RATE = 200000; +const float XAUDIO2_MAX_VOLUME_LEVEL = 16777216.0; +const float XAUDIO2_MIN_FREQ_RATIO = (1/1024.0); +const float XAUDIO2_MAX_FREQ_RATIO = 1024.0; +const float XAUDIO2_DEFAULT_FREQ_RATIO = 2.0; +const float XAUDIO2_MAX_FILTER_ONEOVERQ = 1.5; +const float XAUDIO2_MAX_FILTER_FREQUENCY = 1.0; +const UINT32 XAUDIO2_MAX_LOOP_COUNT = 254; +const UINT32 XAUDIO20_MAX_LOOP_COUNT = 0x100000; /* xaudio 2.0 */ + +const UINT32 XAUDIO2_COMMIT_NOW = 0; +const UINT32 XAUDIO2_COMMIT_ALL = 0; +const UINT32 XAUDIO2_INVALID_OPSET = 0xffffffff; +const UINT32 XAUDIO2_NO_LOOP_REGION = 0; +const UINT32 XAUDIO2_LOOP_INFINITE = 255; +const UINT32 XAUDIO20_LOOP_INFINITE = ((UINT)-1); /* xaudio 2.0 */ +const UINT32 XAUDIO2_DEFAULT_CHANNELS = 0; +const UINT32 XAUDIO2_DEFAULT_SAMPLERATE = 0; + +[ + object, + local +] +interface IXAudio2EngineCallback +{ + void OnProcessingPassStart(); + + void OnProcessingPassEnd(); + + void OnCriticalError([in] HRESULT Error); +} + +typedef enum XAUDIO2_FILTER_TYPE +{ + LowPassFilter, + BandPassFilter, + HighPassFilter, + NotchFilter +} XAUDIO2_FILTER_TYPE; + +typedef struct XAUDIO2_FILTER_PARAMETERS +{ + XAUDIO2_FILTER_TYPE Type; + float Frequency; + float OneOverQ; +} XAUDIO2_FILTER_PARAMETERS; + +/* XAudio 2.0's IXAudio2Voice */ +/* XAudio2 2.0's IXAudio2Voice interface. Actually called + * IXAudio2Voice in the Mar 2008 DX SDK */ +[ + object, + local +] +interface IXAudio20Voice +{ + void GetVoiceDetails([out] XAUDIO27_VOICE_DETAILS* pVoiceDetails); + + HRESULT SetOutputVoices([in] const XAUDIO23_VOICE_SENDS* pSendList); + + HRESULT SetEffectChain([in] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT EnableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT DisableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetEffectState( + [in] UINT32 EffectIndex, + [out] BOOL* pEnabled); + + HRESULT SetEffectParameters( + [in] UINT32 EffectIndex, + [in] const void* pParameters, + [in] UINT32 ParametersByteSize, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT GetEffectParameters( + [in] UINT32 EffectIndex, + [out] void* pParameters, + [in] UINT32 ParametersByteSize); + + HRESULT SetFilterParameters( + [in] const XAUDIO2_FILTER_PARAMETERS* pParameters, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFilterParameters([out] XAUDIO2_FILTER_PARAMETERS* pParameters); + + HRESULT SetVolume( + [in] float Volume, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetVolume([out] float* pVolume); + + HRESULT SetChannelVolumes( + [in] UINT32 Channels, + [in, size_is(Channels)] const float* pVolumes, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetChannelVolumes( + [in] UINT32 Channels, + [out, size_is(Channels)] float* pVolumes); + + HRESULT SetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [in, size_is(SourceChannels * DestinationChannels)] const float* pLevelMatrix, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT GetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [out, size_is(SourceChannels * DestinationChannels)] float* pLevelMatrix); + + void DestroyVoice(); +} + +/* XAudio 2.3's IXAudio2Voice */ +/* XAudio2 2.3's IXAudio2Voice interface. Actually called + * IXAudio2Voice in the Nov 2008 DX SDK */ +[ + object, + local +] +interface IXAudio23Voice +{ + void GetVoiceDetails([out] XAUDIO27_VOICE_DETAILS* pVoiceDetails); + + HRESULT SetOutputVoices([in] const XAUDIO23_VOICE_SENDS* pSendList); + + HRESULT SetEffectChain([in] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT EnableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT DisableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetEffectState( + [in] UINT32 EffectIndex, + [out] BOOL* pEnabled); + + HRESULT SetEffectParameters( + [in] UINT32 EffectIndex, + [in] const void* pParameters, + [in] UINT32 ParametersByteSize, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT GetEffectParameters( + [in] UINT32 EffectIndex, + [out] void* pParameters, + [in] UINT32 ParametersByteSize); + + HRESULT SetFilterParameters( + [in] const XAUDIO2_FILTER_PARAMETERS* pParameters, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFilterParameters([out] XAUDIO2_FILTER_PARAMETERS* pParameters); + + HRESULT SetVolume( + [in] float Volume, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetVolume([out] float* pVolume); + + HRESULT SetChannelVolumes( + [in] UINT32 Channels, + [in, size_is(Channels)] const float* pVolumes, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetChannelVolumes( + [in] UINT32 Channels, + [out, size_is(Channels)] float* pVolumes); + + HRESULT SetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [in, size_is(SourceChannels * DestinationChannels)] const float* pLevelMatrix, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [out, size_is(SourceChannels * DestinationChannels)] float* pLevelMatrix); + + void DestroyVoice(); +} + +/* XAudio 2.7's IXAudio2Voice */ +/* XAudio2 2.7's IXAudio2Voice interface. Actually called + * IXAudio2Voice in the Jun 2010 DX SDK */ +[ + object, + local +] +interface IXAudio27Voice +{ + void GetVoiceDetails([out] XAUDIO27_VOICE_DETAILS* pVoiceDetails); + + HRESULT SetOutputVoices([in] const XAUDIO2_VOICE_SENDS* pSendList); + + HRESULT SetEffectChain([in] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT EnableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT DisableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetEffectState( + [in] UINT32 EffectIndex, + [out] BOOL* pEnabled); + + HRESULT SetEffectParameters( + [in] UINT32 EffectIndex, + [in] const void* pParameters, + [in] UINT32 ParametersByteSize, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT GetEffectParameters( + [in] UINT32 EffectIndex, + [out] void* pParameters, + [in] UINT32 ParametersByteSize); + + HRESULT SetFilterParameters( + [in] const XAUDIO2_FILTER_PARAMETERS* pParameters, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFilterParameters([out] XAUDIO2_FILTER_PARAMETERS* pParameters); + + HRESULT SetOutputFilterParameters( + [in] IXAudio2Voice* pDestinationVoice, + [in] const XAUDIO2_FILTER_PARAMETERS* pParameters, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetOutputFilterParameters( + [in] IXAudio2Voice* pDestinationVoice, + [out] XAUDIO2_FILTER_PARAMETERS* pParameters); + + HRESULT SetVolume( + [in] float Volume, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetVolume([out] float* pVolume); + + HRESULT SetChannelVolumes( + [in] UINT32 Channels, + [in, size_is(Channels)] const float* pVolumes, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetChannelVolumes( + [in] UINT32 Channels, + [out, size_is(Channels)] float* pVolumes); + + HRESULT SetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [in, size_is(SourceChannels * DestinationChannels)] const float* pLevelMatrix, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [out, size_is(SourceChannels * DestinationChannels)] float* pLevelMatrix); + + void DestroyVoice(); +} + +[ + object, + local +] +interface IXAudio2Voice +{ + void GetVoiceDetails([out] XAUDIO2_VOICE_DETAILS* pVoiceDetails); + + HRESULT SetOutputVoices([in] const XAUDIO2_VOICE_SENDS* pSendList); + + HRESULT SetEffectChain([in] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT EnableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT DisableEffect( + [in] UINT32 EffectIndex, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetEffectState( + [in] UINT32 EffectIndex, + [out] BOOL* pEnabled); + + HRESULT SetEffectParameters( + [in] UINT32 EffectIndex, + [in] const void* pParameters, + [in] UINT32 ParametersByteSize, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT GetEffectParameters( + [in] UINT32 EffectIndex, + [out] void* pParameters, + [in] UINT32 ParametersByteSize); + + HRESULT SetFilterParameters( + [in] const XAUDIO2_FILTER_PARAMETERS* pParameters, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFilterParameters([out] XAUDIO2_FILTER_PARAMETERS* pParameters); + + HRESULT SetOutputFilterParameters( + [in] IXAudio2Voice* pDestinationVoice, + [in] const XAUDIO2_FILTER_PARAMETERS* pParameters, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetOutputFilterParameters( + [in] IXAudio2Voice* pDestinationVoice, + [out] XAUDIO2_FILTER_PARAMETERS* pParameters); + + HRESULT SetVolume( + [in] float Volume, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetVolume([out] float* pVolume); + + HRESULT SetChannelVolumes( + [in] UINT32 Channels, + [in, size_is(Channels)] const float* pVolumes, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetChannelVolumes( + [in] UINT32 Channels, + [out, size_is(Channels)] float* pVolumes); + + HRESULT SetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [in, size_is(SourceChannels * DestinationChannels)] const float* pLevelMatrix, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetOutputMatrix( + [in] IXAudio2Voice* pDestinationVoice, + [in] UINT32 SourceChannels, + [in] UINT32 DestinationChannels, + [out, size_is(SourceChannels * DestinationChannels)] float* pLevelMatrix); + + void DestroyVoice(); +} + +typedef struct XAUDIO2_BUFFER +{ + UINT32 Flags; + UINT32 AudioBytes; + const BYTE* pAudioData; + UINT32 PlayBegin; + UINT32 PlayLength; + UINT32 LoopBegin; + UINT32 LoopLength; + UINT32 LoopCount; + void* pContext; +} XAUDIO2_BUFFER; + +typedef struct XAUDIO2_BUFFER_WMA +{ + const UINT32* pDecodedPacketCumulativeBytes; + UINT32 PacketCount; +} XAUDIO2_BUFFER_WMA; + +typedef struct XAUDIO2_VOICE_STATE +{ + void* pCurrentBufferContext; + UINT32 BuffersQueued; + UINT64 SamplesPlayed; +} XAUDIO2_VOICE_STATE; + +[ + local +] +/* XAudio2 2.0's IXAudio2SourceVoice interface. Actually called + * IXAudio2SourceVoice in the Mar 2008 DX SDK */ +interface IXAudio20SourceVoice : IXAudio20Voice +{ + HRESULT Start( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT Stop( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT SubmitSourceBuffer( + [in] const XAUDIO2_BUFFER* pBuffer, + [in, defaultvalue(NULL)] const XAUDIO2_BUFFER_WMA* pBufferWMA); + + HRESULT FlushSourceBuffers(); + + HRESULT Discontinuity(); + + HRESULT ExitLoop([in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetState([out] XAUDIO2_VOICE_STATE* pVoiceState); + + HRESULT SetFrequencyRatio( + [in] float Ratio, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFrequencyRatio([out] float* pRatio); +} + +[ + local +] +/* XAudio2 2.3's IXAudio2SourceVoice interface. Actually called + * IXAudio2SourceVoice in the Nov 2008 DX SDK */ +interface IXAudio23SourceVoice : IXAudio23Voice +{ + HRESULT Start( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT Stop( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT SubmitSourceBuffer( + [in] const XAUDIO2_BUFFER* pBuffer, + [in, defaultvalue(NULL)] const XAUDIO2_BUFFER_WMA* pBufferWMA); + + HRESULT FlushSourceBuffers(); + + HRESULT Discontinuity(); + + HRESULT ExitLoop([in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetState([out] XAUDIO2_VOICE_STATE* pVoiceState); + + HRESULT SetFrequencyRatio( + [in] float Ratio, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFrequencyRatio([out] float* pRatio); +} + +[ + local +] +/* XAudio2 2.7's IXAudio2SourceVoice interface. Actually called + * IXAudio2SourceVoice in the Jun 2010 DX SDK */ +interface IXAudio27SourceVoice : IXAudio27Voice +{ + HRESULT Start( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT Stop( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT SubmitSourceBuffer( + [in] const XAUDIO2_BUFFER* pBuffer, + [in, defaultvalue(NULL)] const XAUDIO2_BUFFER_WMA* pBufferWMA); + + HRESULT FlushSourceBuffers(); + + HRESULT Discontinuity(); + + HRESULT ExitLoop([in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetState([out] XAUDIO2_VOICE_STATE* pVoiceState); + + HRESULT SetFrequencyRatio( + [in] float Ratio, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFrequencyRatio([out] float* pRatio); + + HRESULT SetSourceSampleRate([in] UINT32 NewSourceSampleRate); +} + +[ + local +] +/* XAudio2 2.8's IXAudio2SourceVoice interface. */ +interface IXAudio2SourceVoice : IXAudio2Voice +{ + HRESULT Start( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT Stop( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + HRESULT SubmitSourceBuffer( + [in] const XAUDIO2_BUFFER* pBuffer, + [in, defaultvalue(NULL)] const XAUDIO2_BUFFER_WMA* pBufferWMA); + + HRESULT FlushSourceBuffers(); + + HRESULT Discontinuity(); + + HRESULT ExitLoop([in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetState([out] XAUDIO2_VOICE_STATE* pVoiceState, [in, defaultvalue(0)] UINT32 Flags); + + HRESULT SetFrequencyRatio( + [in] float Ratio, + [in, defaultvalue(XAUDIO2_COMMIT_NOW)] UINT32 OperationSet); + + void GetFrequencyRatio([out] float* pRatio); + + HRESULT SetSourceSampleRate([in] UINT32 NewSourceSampleRate); +} + +[ + local +] +/* XAudio2 2.0's IXAudio2SubmixVoice interface. Actually called + * IXAudio2SubmixVoice in the Mar 2008 DX SDK */ +interface IXAudio20SubmixVoice : IXAudio20Voice +{ +} + +[ + local +] +/* XAudio2 2.3's IXAudio2SubmixVoice interface. Actually called + * IXAudio2SubmixVoice in the Nov 2008 DX SDK */ +interface IXAudio23SubmixVoice : IXAudio23Voice +{ +} + +[ + local +] +/* XAudio2 2.7's IXAudio2SubmixVoice interface. Actually called + * IXAudio2SubmixVoice in the Jun 2010 DX SDK */ +interface IXAudio27SubmixVoice : IXAudio27Voice +{ +} + +[ + local +] +interface IXAudio2SubmixVoice : IXAudio2Voice +{ +} + +[ + local +] +/* XAudio2 2.0's IXAudio2MasteringVoice interface. Actually called + * IXAudio2MasteringVoice in the Mar 2008 DX SDK */ +interface IXAudio20MasteringVoice : IXAudio20Voice +{ +} + +[ + local +] +/* XAudio2 2.3's IXAudio2MasteringVoice interface. Actually called + * IXAudio2MasteringVoice in the Nov 2008 DX SDK */ +interface IXAudio23MasteringVoice : IXAudio23Voice +{ +} + +[ + local +] +/* XAudio2 2.7's IXAudio2MasteringVoice interface. Actually called + * IXAudio2MasteringVoice in the Jun 2010 DX SDK */ +interface IXAudio27MasteringVoice : IXAudio27Voice +{ +} + +[ + local +] +interface IXAudio2MasteringVoice : IXAudio2Voice +{ + /* not present in XAudio2 2.7 */ + void GetChannelMask([out] DWORD *pChannelMask); +} + +[ + object, + local +] +interface IXAudio20VoiceCallback +{ + void OnVoiceProcessingPassStart(); + + void OnVoiceProcessingPassEnd(); + + void OnStreamEnd(); + + void OnBufferStart([in] void* pBufferContext); + + void OnBufferEnd([in] void* pBufferContext); + + void OnLoopEnd([in] void* pBufferContext); + + void OnVoiceError( + [in] void* pBuffercontext, + [in] HRESULT Error); +} + +[ + object, + local +] +interface IXAudio2VoiceCallback +{ + void OnVoiceProcessingPassStart([in] UINT32 BytesRequired); + + void OnVoiceProcessingPassEnd(); + + void OnStreamEnd(); + + void OnBufferStart([in] void* pBufferContext); + + void OnBufferEnd([in] void* pBufferContext); + + void OnLoopEnd([in] void* pBufferContext); + + void OnVoiceError( + [in] void* pBuffercontext, + [in] HRESULT Error); +} + +typedef struct XAUDIO2_DEBUG_CONFIGURATION +{ + UINT32 TraceMask; + UINT32 BreakMask; + BOOL LogThreadID; + BOOL LogFileline; + BOOL LogFunctionName; + BOOL LogTiming; +} XAUDIO2_DEBUG_CONFIGURATION; + +[ + object, + uuid(8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb), /* all versions before 28 share IID_IXAudio */ +] +/* XAudio2 2.0's IXAudio2 interface. Actually called IXAudio2 in the Mar 2008 + * DX SDK */ +interface IXAudio20 : IUnknown +{ + HRESULT GetDeviceCount([out] UINT32* pCount); + + HRESULT GetDeviceDetails( + [in] UINT32 Index, + [out] XAUDIO2_DEVICE_DETAILS* pDeviceDetails); + + HRESULT Initialize( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_PROCESSOR)] XAUDIO2_PROCESSOR XAudio2Processor); + + HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + void UnregisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + HRESULT CreateSourceVoice( + [out] IXAudio2SourceVoice** ppSourceVoice, + [in] const WAVEFORMATEX* pSourceFormat, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_FREQ_RATIO)] float MaxFrequencyRatio, + [in, defaultvalue(NULL)] IXAudio2VoiceCallback* pCallback, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateSubmixVoice( + [out] IXAudio2SubmixVoice** ppSubmixVoice, + [in] UINT32 InputChannels, + [in] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 ProcessingStage, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateMasteringVoice( + [out] IXAudio2MasteringVoice** ppMasteringVoice, + [in, defaultvalue(XAUDIO2_DEFAULT_CHANNELS)] UINT32 InputChannels, + [in, defaultvalue(XAUDIO2_DEFAULT_SAMPLERATE)] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 DeviceIndex, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT StartEngine(); + + void StopEngine(); + + HRESULT CommitChanges([in] UINT32 OperationSet); + + void GetPerformanceData([out] XAUDIO20_PERFORMANCE_DATA* pPerfData); + + [local] void SetDebugConfiguration( + [in] const XAUDIO2_DEBUG_CONFIGURATION* pDebugConfiguration, + [in, defaultvalue(NULL)] void* pReserved); +} + +[ + object, + uuid(8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb), /* all versions before 28 share IID_IXAudio */ +] +/* XAudio2 2.2's IXAudio2 interface. Actually called IXAudio2 in the Jun 2010 + * DX SDK */ +interface IXAudio22 : IUnknown +{ + HRESULT GetDeviceCount([out] UINT32* pCount); + + HRESULT GetDeviceDetails( + [in] UINT32 Index, + [out] XAUDIO2_DEVICE_DETAILS* pDeviceDetails); + + HRESULT Initialize( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_PROCESSOR)] XAUDIO2_PROCESSOR XAudio2Processor); + + HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + void UnregisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + HRESULT CreateSourceVoice( + [out] IXAudio2SourceVoice** ppSourceVoice, + [in] const WAVEFORMATEX* pSourceFormat, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_FREQ_RATIO)] float MaxFrequencyRatio, + [in, defaultvalue(NULL)] IXAudio2VoiceCallback* pCallback, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateSubmixVoice( + [out] IXAudio2SubmixVoice** ppSubmixVoice, + [in] UINT32 InputChannels, + [in] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 ProcessingStage, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateMasteringVoice( + [out] IXAudio2MasteringVoice** ppMasteringVoice, + [in, defaultvalue(XAUDIO2_DEFAULT_CHANNELS)] UINT32 InputChannels, + [in, defaultvalue(XAUDIO2_DEFAULT_SAMPLERATE)] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 DeviceIndex, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT StartEngine(); + + void StopEngine(); + + HRESULT CommitChanges([in] UINT32 OperationSet); + + void GetPerformanceData([out] XAUDIO22_PERFORMANCE_DATA* pPerfData); + + [local] void SetDebugConfiguration( + [in] const XAUDIO2_DEBUG_CONFIGURATION* pDebugConfiguration, + [in, defaultvalue(NULL)] void* pReserved); +} + +[ + object, + uuid(8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb), +] +/* XAudio2 2.7's IXAudio2 interface. Actually called IXAudio2 in the Jun 2010 + * DX SDK */ +interface IXAudio27 : IUnknown +{ + HRESULT GetDeviceCount([out] UINT32* pCount); + + HRESULT GetDeviceDetails( + [in] UINT32 Index, + [out] XAUDIO2_DEVICE_DETAILS* pDeviceDetails); + + HRESULT Initialize( + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_PROCESSOR)] XAUDIO2_PROCESSOR XAudio2Processor); + + HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + void UnregisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + HRESULT CreateSourceVoice( + [out] IXAudio2SourceVoice** ppSourceVoice, + [in] const WAVEFORMATEX* pSourceFormat, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_FREQ_RATIO)] float MaxFrequencyRatio, + [in, defaultvalue(NULL)] IXAudio2VoiceCallback* pCallback, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateSubmixVoice( + [out] IXAudio2SubmixVoice** ppSubmixVoice, + [in] UINT32 InputChannels, + [in] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 ProcessingStage, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateMasteringVoice( + [out] IXAudio2MasteringVoice** ppMasteringVoice, + [in, defaultvalue(XAUDIO2_DEFAULT_CHANNELS)] UINT32 InputChannels, + [in, defaultvalue(XAUDIO2_DEFAULT_SAMPLERATE)] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 DeviceIndex, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT StartEngine(); + + void StopEngine(); + + HRESULT CommitChanges([in] UINT32 OperationSet); + + void GetPerformanceData([out] XAUDIO2_PERFORMANCE_DATA* pPerfData); + + [local] void SetDebugConfiguration( + [in] const XAUDIO2_DEBUG_CONFIGURATION* pDebugConfiguration, + [in, defaultvalue(NULL)] void* pReserved); +} + +/* XAudio2 2.8's IXAudio2 is identical to 2.9's */ +cpp_quote("DEFINE_GUID(IID_IXAudio28, 0x60d8dac8, 0x5aa1, 0x4e8e, 0xb5, 0x97, 0x2f, 0x5e, 0x28, 0x83, 0xd4, 0x84);") + +[ + object, + uuid(2b02e3cf-2e0b-4ec3-be45-1b2a3fe7210d) +] +/* XAudio2 2.9's IXAudio2 interface. */ +interface IXAudio2 : IUnknown +{ + HRESULT RegisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + void UnregisterForCallbacks([in] IXAudio2EngineCallback* pCallback); + + HRESULT CreateSourceVoice( + [out] IXAudio2SourceVoice** ppSourceVoice, + [in] const WAVEFORMATEX* pSourceFormat, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(XAUDIO2_DEFAULT_FREQ_RATIO)] float MaxFrequencyRatio, + [in, defaultvalue(NULL)] IXAudio2VoiceCallback* pCallback, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateSubmixVoice( + [out] IXAudio2SubmixVoice** ppSubmixVoice, + [in] UINT32 InputChannels, + [in] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(0)] UINT32 ProcessingStage, + [in, defaultvalue(NULL)] const XAUDIO2_VOICE_SENDS* pSendList, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain); + + HRESULT CreateMasteringVoice( + [out] IXAudio2MasteringVoice** ppMasteringVoice, + [in, defaultvalue(XAUDIO2_DEFAULT_CHANNELS)] UINT32 InputChannels, + [in, defaultvalue(XAUDIO2_DEFAULT_SAMPLERATE)] UINT32 InputSampleRate, + [in, defaultvalue(0)] UINT32 Flags, + [in, defaultvalue(NULL)] LPCWSTR DeviceId, + [in, defaultvalue(NULL)] const XAUDIO2_EFFECT_CHAIN* pEffectChain, + [in, defaultvalue(AudioCategory_GameEffects)] AUDIO_STREAM_CATEGORY StreamCategory); + + HRESULT StartEngine(); + + void StopEngine(); + + HRESULT CommitChanges([in] UINT32 OperationSet); + + void GetPerformanceData([out] XAUDIO2_PERFORMANCE_DATA* pPerfData); + + [local] void SetDebugConfiguration( + [in] const XAUDIO2_DEBUG_CONFIGURATION* pDebugConfiguration, + [in, defaultvalue(NULL)] void* pReserved); +} + +const UINT32 XAUDIO2_DEBUG_ENGINE = 1; +const UINT32 XAUDIO2_VOICE_NOPITCH = 2; +const UINT32 XAUDIO2_VOICE_NOSRC = 4; +const UINT32 XAUDIO2_VOICE_USEFILTER = 8; +const UINT32 XAUDIO2_VOICE_MUSIC = 16; +const UINT32 XAUDIO2_PLAY_TAILS = 32; +const UINT32 XAUDIO2_END_OF_STREAM = 64; +const UINT32 XAUDIO2_SEND_USEFILTER = 128; +const UINT32 XAUDIO2_VOICE_NOSAMPLESPLAYED = 256; + +const XAUDIO2_FILTER_TYPE XAUDIO2_DEFAULT_FILTER_TYPE = LowPassFilter; +const float XAUDIO2_DEFAULT_FILTER_FREQUENCY = XAUDIO2_MAX_FILTER_FREQUENCY; +const float XAUDIO2_DEFAULT_FILTER_ONEOVERQ = 1.0; +const UINT32 XAUDIO2_QUANTUM_NUMERATOR = 1; +const UINT32 XAUDIO2_QUANTUM_DENOMINATOR = 100; +const float XAUDIO2_QUANTUM_MS = (1000.0 * XAUDIO2_QUANTUM_NUMERATOR / XAUDIO2_QUANTUM_DENOMINATOR); + +const HRESULT XAUDIO2_E_INVALID_CALL = 0x88960001; +const HRESULT XAUDIO2_E_XMA_DECODER_ERROR = 0x88960002; +const HRESULT XAUDIO2_E_XAPO_CREATION_FAILED = 0x88960003; +const HRESULT XAUDIO2_E_DEVICE_INVALIDATED = 0x88960004; + +/* xaudio 2.0 error codes */ +const HRESULT XAUDIO20_E_XMA_DECODER_ERROR = 0x88960001; +const HRESULT XAUDIO20_E_XAPO_CREATION_FAILED = 0x88960002; +const HRESULT XAUDIO20_E_DEVICE_INVALIDATED = 0x88960003; + +cpp_quote("#ifdef XAUDIO2_HELPER_FUNCTIONS") +cpp_quote("#define _USE_MATH_DEFINES") +cpp_quote("#include ") +cpp_quote("inline static float XAudio2DecibelsToAmplitudeRatio(float decibels) { return powf(10.0f, decibels/20.0f); }") +cpp_quote("inline static float XAudio2AmplitudeRatioToDecibels(float volume) { if (volume == 0) { return -3.402823466e+38f; } return 20.0f * log10f(volume); }") +cpp_quote("inline static float XAudio2SemitonesToFrequencyRatio(float semitones) { return powf(2.0f, semitones/12.0f); }") +cpp_quote("inline static float XAudio2FrequencyRatioToSemitones(float freqratio) { return 39.86313713864835f * log10f(freqratio); }") +cpp_quote("inline static float XAudio2CutoffFrequencyToRadians(float cutofffreq, UINT32 samplerate) { if ((UINT32)(cutofffreq * 6.0f) >= samplerate) { return XAUDIO2_MAX_FILTER_FREQUENCY; } return 2.0f * sinf((float)M_PI * cutofffreq / samplerate); }") +cpp_quote("inline static float XAudio2RadiansToCutoffFrequency(float radians, float samplerate) { return samplerate * asinf(radians/2.0f) / (float)M_PI; }") +cpp_quote("#endif") + +cpp_quote("HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor);") + +cpp_quote("#include ") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2fx.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2fx.h new file mode 100644 index 0000000..f271900 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2fx.h @@ -0,0 +1,389 @@ +/*** Autogenerated by WIDL 2.18 from xaudio2fx.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __xaudio2fx_h__ +#define __xaudio2fx_h__ + +/* Forward declarations */ + +#ifndef __AudioVolumeMeter20_FWD_DEFINED__ +#define __AudioVolumeMeter20_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter20 AudioVolumeMeter20; +#else +typedef struct AudioVolumeMeter20 AudioVolumeMeter20; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter20_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter21_FWD_DEFINED__ +#define __AudioVolumeMeter21_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter21 AudioVolumeMeter21; +#else +typedef struct AudioVolumeMeter21 AudioVolumeMeter21; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter21_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter22_FWD_DEFINED__ +#define __AudioVolumeMeter22_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter22 AudioVolumeMeter22; +#else +typedef struct AudioVolumeMeter22 AudioVolumeMeter22; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter22_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter23_FWD_DEFINED__ +#define __AudioVolumeMeter23_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter23 AudioVolumeMeter23; +#else +typedef struct AudioVolumeMeter23 AudioVolumeMeter23; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter23_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter24_FWD_DEFINED__ +#define __AudioVolumeMeter24_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter24 AudioVolumeMeter24; +#else +typedef struct AudioVolumeMeter24 AudioVolumeMeter24; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter24_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter25_FWD_DEFINED__ +#define __AudioVolumeMeter25_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter25 AudioVolumeMeter25; +#else +typedef struct AudioVolumeMeter25 AudioVolumeMeter25; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter25_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter26_FWD_DEFINED__ +#define __AudioVolumeMeter26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter26 AudioVolumeMeter26; +#else +typedef struct AudioVolumeMeter26 AudioVolumeMeter26; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter26_FWD_DEFINED__ */ + +#ifndef __AudioVolumeMeter27_FWD_DEFINED__ +#define __AudioVolumeMeter27_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioVolumeMeter27 AudioVolumeMeter27; +#else +typedef struct AudioVolumeMeter27 AudioVolumeMeter27; +#endif /* defined __cplusplus */ +#endif /* defined __AudioVolumeMeter27_FWD_DEFINED__ */ + +#ifndef __AudioReverb20_FWD_DEFINED__ +#define __AudioReverb20_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb20 AudioReverb20; +#else +typedef struct AudioReverb20 AudioReverb20; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb20_FWD_DEFINED__ */ + +#ifndef __AudioReverb21_FWD_DEFINED__ +#define __AudioReverb21_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb21 AudioReverb21; +#else +typedef struct AudioReverb21 AudioReverb21; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb21_FWD_DEFINED__ */ + +#ifndef __AudioReverb22_FWD_DEFINED__ +#define __AudioReverb22_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb22 AudioReverb22; +#else +typedef struct AudioReverb22 AudioReverb22; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb22_FWD_DEFINED__ */ + +#ifndef __AudioReverb23_FWD_DEFINED__ +#define __AudioReverb23_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb23 AudioReverb23; +#else +typedef struct AudioReverb23 AudioReverb23; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb23_FWD_DEFINED__ */ + +#ifndef __AudioReverb24_FWD_DEFINED__ +#define __AudioReverb24_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb24 AudioReverb24; +#else +typedef struct AudioReverb24 AudioReverb24; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb24_FWD_DEFINED__ */ + +#ifndef __AudioReverb25_FWD_DEFINED__ +#define __AudioReverb25_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb25 AudioReverb25; +#else +typedef struct AudioReverb25 AudioReverb25; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb25_FWD_DEFINED__ */ + +#ifndef __AudioReverb26_FWD_DEFINED__ +#define __AudioReverb26_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb26 AudioReverb26; +#else +typedef struct AudioReverb26 AudioReverb26; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb26_FWD_DEFINED__ */ + +#ifndef __AudioReverb27_FWD_DEFINED__ +#define __AudioReverb27_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AudioReverb27 AudioReverb27; +#else +typedef struct AudioReverb27 AudioReverb27; +#endif /* defined __cplusplus */ +#endif /* defined __AudioReverb27_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * AudioVolumeMeter20 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter20, 0xc0c56f46, 0x29b1, 0x44e9, 0x99,0x39, 0xa3,0x2c,0xe8,0x68,0x67,0xe2); + +#ifdef __cplusplus +class DECLSPEC_UUID("c0c56f46-29b1-44e9-9939-a32ce86867e2") AudioVolumeMeter20; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter20, 0xc0c56f46, 0x29b1, 0x44e9, 0x99,0x39, 0xa3,0x2c,0xe8,0x68,0x67,0xe2) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter21 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter21, 0xc1e3f122, 0xa2ea, 0x442c, 0x85,0x4f, 0x20,0xd9,0x8f,0x83,0x57,0xa1); + +#ifdef __cplusplus +class DECLSPEC_UUID("c1e3f122-a2ea-442c-854f-20d98f8357a1") AudioVolumeMeter21; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter21, 0xc1e3f122, 0xa2ea, 0x442c, 0x85,0x4f, 0x20,0xd9,0x8f,0x83,0x57,0xa1) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter22 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter22, 0xf5ca7b34, 0x8055, 0x42c0, 0xb8,0x36, 0x21,0x61,0x29,0xeb,0x7e,0x30); + +#ifdef __cplusplus +class DECLSPEC_UUID("f5ca7b34-8055-42c0-b836-216129eb7e30") AudioVolumeMeter22; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter22, 0xf5ca7b34, 0x8055, 0x42c0, 0xb8,0x36, 0x21,0x61,0x29,0xeb,0x7e,0x30) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter23 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter23, 0xe180344b, 0xac83, 0x4483, 0x95,0x9e, 0x18,0xa5,0xc5,0x6a,0x5e,0x19); + +#ifdef __cplusplus +class DECLSPEC_UUID("e180344b-ac83-4483-959e-18a5c56a5e19") AudioVolumeMeter23; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter23, 0xe180344b, 0xac83, 0x4483, 0x95,0x9e, 0x18,0xa5,0xc5,0x6a,0x5e,0x19) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter24 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter24, 0xc7338b95, 0x52b8, 0x4542, 0xaa,0x79, 0x42,0xeb,0x01,0x6c,0x8c,0x1c); + +#ifdef __cplusplus +class DECLSPEC_UUID("c7338b95-52b8-4542-aa79-42eb016c8c1c") AudioVolumeMeter24; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter24, 0xc7338b95, 0x52b8, 0x4542, 0xaa,0x79, 0x42,0xeb,0x01,0x6c,0x8c,0x1c) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter25 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter25, 0x2139e6da, 0xc341, 0x4774, 0x9a,0xc3, 0xb4,0xe0,0x26,0x34,0x7f,0x64); + +#ifdef __cplusplus +class DECLSPEC_UUID("2139e6da-c341-4774-9ac3-b4e026347f64") AudioVolumeMeter25; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter25, 0x2139e6da, 0xc341, 0x4774, 0x9a,0xc3, 0xb4,0xe0,0x26,0x34,0x7f,0x64) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter26 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter26, 0xe48c5a3f, 0x93ef, 0x43bb, 0xa0,0x92, 0x2c,0x7c,0xeb,0x94,0x6f,0x27); + +#ifdef __cplusplus +class DECLSPEC_UUID("e48c5a3f-93ef-43bb-a092-2c7ceb946f27") AudioVolumeMeter26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter26, 0xe48c5a3f, 0x93ef, 0x43bb, 0xa0,0x92, 0x2c,0x7c,0xeb,0x94,0x6f,0x27) +#endif +#endif + +/***************************************************************************** + * AudioVolumeMeter27 coclass + */ + +DEFINE_GUID(CLSID_AudioVolumeMeter27, 0xcac1105f, 0x619b, 0x4d04, 0x83,0x1a, 0x44,0xe1,0xcb,0xf1,0x2d,0x57); + +#ifdef __cplusplus +class DECLSPEC_UUID("cac1105f-619b-4d04-831a-44e1cbf12d57") AudioVolumeMeter27; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioVolumeMeter27, 0xcac1105f, 0x619b, 0x4d04, 0x83,0x1a, 0x44,0xe1,0xcb,0xf1,0x2d,0x57) +#endif +#endif + +/***************************************************************************** + * AudioReverb20 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb20, 0x6f6ea3a9, 0x2cf5, 0x41cf, 0x91,0xc1, 0x21,0x70,0xb1,0x54,0x00,0x63); + +#ifdef __cplusplus +class DECLSPEC_UUID("6f6ea3a9-2cf5-41cf-91c1-2170b1540063") AudioReverb20; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb20, 0x6f6ea3a9, 0x2cf5, 0x41cf, 0x91,0xc1, 0x21,0x70,0xb1,0x54,0x00,0x63) +#endif +#endif + +/***************************************************************************** + * AudioReverb21 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb21, 0xf4769300, 0xb949, 0x4df9, 0xb3,0x33, 0x00,0xd3,0x39,0x32,0xe9,0xa6); + +#ifdef __cplusplus +class DECLSPEC_UUID("f4769300-b949-4df9-b333-00d33932e9a6") AudioReverb21; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb21, 0xf4769300, 0xb949, 0x4df9, 0xb3,0x33, 0x00,0xd3,0x39,0x32,0xe9,0xa6) +#endif +#endif + +/***************************************************************************** + * AudioReverb22 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb22, 0x629cf0de, 0x3ecc, 0x41e7, 0x99,0x26, 0xf7,0xe4,0x3e,0xeb,0xec,0x51); + +#ifdef __cplusplus +class DECLSPEC_UUID("629cf0de-3ecc-41e7-9926-f7e43eebec51") AudioReverb22; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb22, 0x629cf0de, 0x3ecc, 0x41e7, 0x99,0x26, 0xf7,0xe4,0x3e,0xeb,0xec,0x51) +#endif +#endif + +/***************************************************************************** + * AudioReverb23 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb23, 0x9cab402c, 0x1d37, 0x44b4, 0x88,0x6d, 0xfa,0x4f,0x36,0x17,0x0a,0x4c); + +#ifdef __cplusplus +class DECLSPEC_UUID("9cab402c-1d37-44b4-886d-fa4f36170a4c") AudioReverb23; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb23, 0x9cab402c, 0x1d37, 0x44b4, 0x88,0x6d, 0xfa,0x4f,0x36,0x17,0x0a,0x4c) +#endif +#endif + +/***************************************************************************** + * AudioReverb24 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb24, 0x8bb7778b, 0x645b, 0x4475, 0x9a,0x73, 0x1d,0xe3,0x17,0x0b,0xd3,0xaf); + +#ifdef __cplusplus +class DECLSPEC_UUID("8bb7778b-645b-4475-9a73-1de3170bd3af") AudioReverb24; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb24, 0x8bb7778b, 0x645b, 0x4475, 0x9a,0x73, 0x1d,0xe3,0x17,0x0b,0xd3,0xaf) +#endif +#endif + +/***************************************************************************** + * AudioReverb25 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb25, 0xd06df0d0, 0x8518, 0x441e, 0x82,0x2f, 0x54,0x51,0xd5,0xc5,0x95,0xb8); + +#ifdef __cplusplus +class DECLSPEC_UUID("d06df0d0-8518-441e-822f-5451d5c595b8") AudioReverb25; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb25, 0xd06df0d0, 0x8518, 0x441e, 0x82,0x2f, 0x54,0x51,0xd5,0xc5,0x95,0xb8) +#endif +#endif + +/***************************************************************************** + * AudioReverb26 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb26, 0xcecec95a, 0xd894, 0x491a, 0xbe,0xe3, 0x5e,0x10,0x6f,0xb5,0x9f,0x2d); + +#ifdef __cplusplus +class DECLSPEC_UUID("cecec95a-d894-491a-bee3-5e106fb59f2d") AudioReverb26; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb26, 0xcecec95a, 0xd894, 0x491a, 0xbe,0xe3, 0x5e,0x10,0x6f,0xb5,0x9f,0x2d) +#endif +#endif + +/***************************************************************************** + * AudioReverb27 coclass + */ + +DEFINE_GUID(CLSID_AudioReverb27, 0x6a93130e, 0x1d53, 0x41d1, 0xa9,0xcf, 0xe7,0x58,0x80,0x0b,0xb1,0x79); + +#ifdef __cplusplus +class DECLSPEC_UUID("6a93130e-1d53-41d1-a9cf-e758800bb179") AudioReverb27; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AudioReverb27, 0x6a93130e, 0x1d53, 0x41d1, 0xa9,0xcf, 0xe7,0x58,0x80,0x0b,0xb1,0x79) +#endif +#endif + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __xaudio2fx_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2fx.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2fx.idl new file mode 100644 index 0000000..224c660 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xaudio2fx.idl @@ -0,0 +1,131 @@ +/* + * Copyright (c) 2015 Andrew Eikum + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; + +[ + uuid(c0c56f46-29b1-44e9-9939-a32ce86867e2) +] +coclass AudioVolumeMeter20 { + interface IUnknown; +} + +[ + uuid(c1e3f122-a2ea-442c-854f-20d98f8357a1) +] +coclass AudioVolumeMeter21 { + interface IUnknown; +} + +[ + uuid(f5ca7b34-8055-42c0-b836-216129eb7e30) +] +coclass AudioVolumeMeter22 { + interface IUnknown; +} + +[ + uuid(e180344b-ac83-4483-959e-18a5c56a5e19) +] +coclass AudioVolumeMeter23 { + interface IUnknown; +} + +[ + uuid(c7338b95-52b8-4542-aa79-42eb016c8c1c) +] +coclass AudioVolumeMeter24 { + interface IUnknown; +} + +[ + uuid(2139e6da-c341-4774-9ac3-b4e026347f64) +] +coclass AudioVolumeMeter25 { + interface IUnknown; +} + +[ + uuid(e48c5a3f-93ef-43bb-a092-2c7ceb946f27) +] +coclass AudioVolumeMeter26 { + interface IUnknown; +} + +[ + uuid(cac1105f-619b-4d04-831a-44e1cbf12d57) +] +coclass AudioVolumeMeter27 { + interface IUnknown; +} + +[ + uuid(6f6ea3a9-2cf5-41cf-91c1-2170b1540063) +] +coclass AudioReverb20 { + interface IUnknown; +} + +[ + uuid(f4769300-b949-4df9-b333-00d33932e9a6) +] +coclass AudioReverb21 { + interface IUnknown; +} + +[ + uuid(629cf0de-3ecc-41e7-9926-f7e43eebec51) +] +coclass AudioReverb22 { + interface IUnknown; +} + +[ + uuid(9cab402c-1d37-44b4-886d-fa4f36170a4c) +] +coclass AudioReverb23 { + interface IUnknown; +} + +[ + uuid(8bb7778b-645b-4475-9a73-1de3170bd3af) +] +coclass AudioReverb24 { + interface IUnknown; +} + +[ + uuid(d06df0d0-8518-441e-822f-5451d5c595b8) +] +coclass AudioReverb25 { + interface IUnknown; +} + +[ + uuid(cecec95a-d894-491a-bee3-5e106fb59f2d) +] +coclass AudioReverb26 { + interface IUnknown; +} + +[ + uuid(6a93130e-1d53-41d1-a9cf-e758800bb179) +] +coclass AudioReverb27 { + interface IUnknown; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xcmc.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xcmc.h new file mode 100644 index 0000000..ceca1e4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xcmc.h @@ -0,0 +1,350 @@ +/* + * Copyright (C) 2004 Chris Morgan + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _XCMC_H +#define _XCMC_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef char CMC_sint8; +typedef short CMC_sint16; +typedef LONG CMC_sint32; +typedef unsigned short int CMC_uint16; +typedef ULONG CMC_uint32; +typedef void* CMC_buffer; +typedef char* CMC_string; + +typedef CMC_uint16 CMC_boolean; +typedef CMC_sint32 CMC_enum; +typedef CMC_uint32 CMC_return_code; +typedef CMC_uint32 CMC_flags; +typedef CMC_string CMC_object_identifier; +typedef CMC_uint32 CMC_session_id; +typedef CMC_uint32 CMC_ui_id; + +#define CMC_FALSE ((CMC_boolean)0) +#define CMC_TRUE ((CMC_boolean)1) + +#define CMC_SUCCESS ((CMC_return_code) 0) + +#define CMC_E_AMBIGUOUS_RECIPIENT ((CMC_return_code) 1) +#define CMC_E_ATTACHMENT_NOT_FOUND ((CMC_return_code) 2) +#define CMC_E_ATTACHMENT_OPEN_FAILURE ((CMC_return_code) 3) +#define CMC_E_ATTACHMENT_READ_FAILURE ((CMC_return_code) 4) +#define CMC_E_ATTACHMENT_WRITE_FAILURE ((CMC_return_code) 5) +#define CMC_E_COUNTED_STRING_UNSUPPORTED ((CMC_return_code) 6) +#define CMC_E_DISK_FULL ((CMC_return_code) 7) +#define CMC_E_FAILURE ((CMC_return_code) 8) +#define CMC_E_INSUFFICIENT_MEMORY ((CMC_return_code) 9) +#define CMC_E_INVALID_CONFIGURATION ((CMC_return_code) 10) +#define CMC_E_INVALID_ENUM ((CMC_return_code) 11) +#define CMC_E_INVALID_FLAG ((CMC_return_code) 12) +#define CMC_E_INVALID_MEMORY ((CMC_return_code) 13) +#define CMC_E_INVALID_MESSAGE_PARAMETER ((CMC_return_code) 14) +#define CMC_E_INVALID_MESSAGE_REFERENCE ((CMC_return_code) 15) +#define CMC_E_INVALID_PARAMETER ((CMC_return_code) 16) +#define CMC_E_INVALID_SESSION_ID ((CMC_return_code) 17) +#define CMC_E_INVALID_UI_ID ((CMC_return_code) 18) +#define CMC_E_LOGON_FAILURE ((CMC_return_code) 19) +#define CMC_E_MESSAGE_IN_USE ((CMC_return_code) 20) +#define CMC_E_NOT_SUPPORTED ((CMC_return_code) 21) +#define CMC_E_PASSWORD_REQUIRED ((CMC_return_code) 22) +#define CMC_E_RECIPIENT_NOT_FOUND ((CMC_return_code) 23) +#define CMC_E_SERVICE_UNAVAILABLE ((CMC_return_code) 24) +#define CMC_E_TEXT_TOO_LARGE ((CMC_return_code) 25) +#define CMC_E_TOO_MANY_FILES ((CMC_return_code) 26) +#define CMC_E_TOO_MANY_RECIPIENTS ((CMC_return_code) 27) +#define CMC_E_UNABLE_TO_NOT_MARK_AS_READ ((CMC_return_code) 28) +#define CMC_E_UNRECOGNIZED_MESSAGE_TYPE ((CMC_return_code) 29) +#define CMC_E_UNSUPPORTED_ACTION ((CMC_return_code) 30) +#define CMC_E_UNSUPPORTED_CHARACTER_SET ((CMC_return_code) 31) +#define CMC_E_UNSUPPORTED_DATA_EXT ((CMC_return_code) 32) +#define CMC_E_UNSUPPORTED_FLAG ((CMC_return_code) 33) +#define CMC_E_UNSUPPORTED_FUNCTION_EXT ((CMC_return_code) 34) +#define CMC_E_UNSUPPORTED_VERSION ((CMC_return_code) 35) +#define CMC_E_USER_CANCEL ((CMC_return_code) 36) +#define CMC_E_USER_NOT_LOGGED_ON ((CMC_return_code) 37) + +#define CMC_ERROR_DISPLAYED ((CMC_return_code) 0x00008000) +#define CMC_ERROR_RSV_MASK ((CMC_return_code) 0x0000FFFF) +#define CMC_ERROR_IMPL_MASK ((CMC_return_code) 0xFFFF0000) + +typedef struct { + CMC_uint32 length; + char string[1]; +} CMC_counted_string; + +typedef CMC_counted_string CMC_message_reference; + +typedef struct { + CMC_sint8 second; + CMC_sint8 minute; + CMC_sint8 hour; + CMC_sint8 day; + CMC_sint8 month; + CMC_sint8 year; + CMC_sint8 isdst; + CMC_sint8 unused1; + CMC_sint16 tmzone; + CMC_sint16 unused2; +} CMC_time; + +#define CMC_NO_TIMEZONE ((CMC_sint16) 0x8000) + + +typedef struct { + CMC_uint32 item_code; + CMC_uint32 item_data; + CMC_buffer item_reference; + CMC_flags extension_flags; +} CMC_extension; + +#define CMC_EXT_REQUIRED ((CMC_flags) 0x00010000) +#define CMC_EXT_OUTPUT ((CMC_flags) 0x00020000) +#define CMC_EXT_LAST_ELEMENT ((CMC_flags) 0x80000000) +#define CMC_EXT_RSV_FLAG_MASK ((CMC_flags) 0xFFFF0000) +#define CMC_EXT_ITEM_FLAG_MASK ((CMC_flags) 0x0000FFFF) + + +typedef struct CMC_attachment_s { + CMC_string attach_title; + CMC_object_identifier attach_type; + CMC_string attach_filename; + CMC_flags attach_flags; + CMC_extension *attach_extensions; +} CMC_attachment; + +#define CMC_ATT_APP_OWNS_FILE ((CMC_flags) 1) +#define CMC_ATT_LAST_ELEMENT ((CMC_flags) 0x80000000) + +#define CMC_ATT_OID_BINARY "? ? ? ? ? ?" +#define CMC_ATT_OID_TEXT "? ? ? ? ? ?" + + +typedef struct { + CMC_string name; + CMC_enum name_type; + CMC_string address; + CMC_enum role; + CMC_flags recip_flags; + CMC_extension *recip_extensions; +} CMC_recipient; + +#define CMC_TYPE_UNKNOWN ((CMC_enum) 0) +#define CMC_TYPE_INDIVIDUAL ((CMC_enum) 1) +#define CMC_TYPE_GROUP ((CMC_enum) 2) + +#define CMC_ROLE_TO ((CMC_enum) 0) +#define CMC_ROLE_CC ((CMC_enum) 1) +#define CMC_ROLE_BCC ((CMC_enum) 2) +#define CMC_ROLE_ORIGINATOR ((CMC_enum) 3) +#define CMC_ROLE_AUTHORIZING_USER ((CMC_enum) 4) + +#define CMC_RECIP_IGNORE ((CMC_flags) 1) +#define CMC_RECIP_LIST_TRUNCATED ((CMC_flags) 2) +#define CMC_RECIP_LAST_ELEMENT ((CMC_flags) 0x80000000) + + +typedef struct { + CMC_message_reference *message_reference; + CMC_string message_type; + CMC_string subject; + CMC_time time_sent; + CMC_string text_note; + CMC_recipient *recipients; + CMC_attachment *attachments; + CMC_flags message_flags; + CMC_extension *message_extensions; +} CMC_message; + +#define CMC_MSG_READ ((CMC_flags) 1) +#define CMC_MSG_TEXT_NOTE_AS_FILE ((CMC_flags) 2) +#define CMC_MSG_UNSENT ((CMC_flags) 4) +#define CMC_MSG_LAST_ELEMENT ((CMC_flags) 0x80000000) + + +typedef struct { + CMC_message_reference *message_reference; + CMC_string message_type; + CMC_string subject; + CMC_time time_sent; + CMC_uint32 byte_length; + CMC_recipient *originator; + CMC_flags summary_flags; + CMC_extension *message_summary_extensions; +} CMC_message_summary; + +#define CMC_SUM_READ ((CMC_flags) 1) +#define CMC_SUM_UNSENT ((CMC_flags) 2) +#define CMC_SUM_LAST_ELEMENT ((CMC_flags) 0x80000000) + +#define CMC_ERROR_UI_ALLOWED ((CMC_flags) 0x01000000) +#define CMC_LOGON_UI_ALLOWED ((CMC_flags) 0x02000000) +#define CMC_COUNTED_STRING_TYPE ((CMC_flags) 0x04000000) + +CMC_return_code WINAPI cmc_send( + CMC_session_id session, + CMC_message *message, + CMC_flags send_flags, + CMC_ui_id ui_id, + CMC_extension *send_extensions +); + +#define CMC_SEND_UI_REQUESTED ((CMC_flags) 1) + + +CMC_return_code WINAPI cmc_send_documents( + CMC_string recipient_addresses, + CMC_string subject, + CMC_string text_note, + CMC_flags send_doc_flags, + CMC_string file_paths, + CMC_string file_names, + CMC_string delimiter, + CMC_ui_id ui_id +); + +#define CMC_FIRST_ATTACH_AS_TEXT_NOTE ((CMC_flags) 2) + + +CMC_return_code WINAPI cmc_act_on( + CMC_session_id session, + CMC_message_reference *message_reference, + CMC_enum operation, + CMC_flags act_on_flags, + CMC_ui_id ui_id, + CMC_extension *act_on_extensions +); + +#define CMC_ACT_ON_EXTENDED ((CMC_enum) 0) +#define CMC_ACT_ON_DELETE ((CMC_enum) 1) + + +CMC_return_code WINAPI cmc_list( + CMC_session_id session, + CMC_string message_type, + CMC_flags list_flags, + CMC_message_reference *seed, + CMC_uint32 *count, + CMC_ui_id ui_id, + CMC_message_summary **result, + CMC_extension *list_extensions +); + +#define CMC_LIST_UNREAD_ONLY ((CMC_flags) 1) +#define CMC_LIST_MSG_REFS_ONLY ((CMC_flags) 2) +#define CMC_LIST_COUNT_ONLY ((CMC_flags) 4) + +#define CMC_LENGTH_UNKNOWN 0xFFFFFFFF + + +CMC_return_code WINAPI cmc_read( + CMC_session_id session, + CMC_message_reference *message_reference, + CMC_flags read_flags, + CMC_message **message, + CMC_ui_id ui_id, + CMC_extension *read_extensions +); + +#define CMC_DO_NOT_MARK_AS_READ ((CMC_flags) 1) +#define CMC_MSG_AND_ATT_HDRS_ONLY ((CMC_flags) 2) +#define CMC_READ_FIRST_UNREAD_MESSAGE ((CMC_flags) 4) + + +CMC_return_code WINAPI cmc_look_up( + CMC_session_id session, + CMC_recipient *recipient_in, + CMC_flags look_up_flags, + CMC_ui_id ui_id, + CMC_uint32 *count, + CMC_recipient **recipient_out, + CMC_extension *look_up_extensions +); + +#define CMC_LOOKUP_RESOLVE_PREFIX_SEARCH ((CMC_flags) 1) +#define CMC_LOOKUP_RESOLVE_IDENTITY ((CMC_flags) 2) +#define CMC_LOOKUP_RESOLVE_UI ((CMC_flags) 4) +#define CMC_LOOKUP_DETAILS_UI ((CMC_flags) 8) +#define CMC_LOOKUP_ADDRESSING_UI ((CMC_flags) 16) + + +CMC_return_code WINAPI cmc_free( CMC_buffer memory ); + +CMC_return_code WINAPI cmc_logoff( + CMC_session_id session, + CMC_ui_id ui_id, + CMC_flags logoff_flags, + CMC_extension *logoff_extensions +); + +CMC_return_code WINAPI cmc_logon( + CMC_string service, + CMC_string user, + CMC_string password, + CMC_object_identifier character_set, + CMC_ui_id ui_id, + CMC_uint16 caller_cmc_version, + CMC_flags logon_flags, + CMC_session_id *session, + CMC_extension *logon_extensions +); + +#define CMC_VERSION ((CMC_uint16) 100) + +CMC_return_code WINAPI cmc_query_configuration( + CMC_session_id session, + CMC_enum item, + CMC_buffer reference, + CMC_extension *config_extensions +); + +#define CMC_CONFIG_CHARACTER_SET ((CMC_enum) 1) +#define CMC_CONFIG_LINE_TERM ((CMC_enum) 2) +#define CMC_CONFIG_DEFAULT_SERVICE ((CMC_enum) 3) +#define CMC_CONFIG_DEFAULT_USER ((CMC_enum) 4) +#define CMC_CONFIG_REQ_PASSWORD ((CMC_enum) 5) +#define CMC_CONFIG_REQ_SERVICE ((CMC_enum) 6) +#define CMC_CONFIG_REQ_USER ((CMC_enum) 7) +#define CMC_CONFIG_UI_AVAIL ((CMC_enum) 8) +#define CMC_CONFIG_SUP_NOMKMSGREAD ((CMC_enum) 9) +#define CMC_CONFIG_SUP_COUNTED_STR ((CMC_enum) 10) +#define CMC_CONFIG_VER_IMPLEM ((CMC_enum) 11) +#define CMC_CONFIG_VER_SPEC ((CMC_enum) 12) + +#define CMC_LINE_TERM_CRLF ((CMC_enum) 0) +#define CMC_LINE_TERM_CR ((CMC_enum) 1) +#define CMC_LINE_TERM_LF ((CMC_enum) 2) + +#define CMC_REQUIRED_NO ((CMC_enum) 0) +#define CMC_REQUIRED_YES ((CMC_enum) 1) +#define CMC_REQUIRED_OPT ((CMC_enum) 2) + +#define CMC_CHAR_CP437 "1 2 840 113556 3 2 437" +#define CMC_CHAR_CP850 "1 2 840 113556 3 2 85" +#define CMC_CHAR_CP1252 "1 2 840 113556 3 2 1252" +#define CMC_CHAR_ISTRING "1 2 840 113556 3 2 0" +#define CMC_CHAR_UNICODE "1 2 840 113556 3 2 1" + +#ifdef __cplusplus +} +#endif + +#endif /* #ifndef _XCMC_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xinput.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xinput.h new file mode 100644 index 0000000..ccdc023 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xinput.h @@ -0,0 +1,257 @@ +/* + * The Wine project - Xinput Joystick Library + * Copyright 2008 Andrew Fenn + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_XINPUT_H +#define __WINE_XINPUT_H + +#include + +/* + * Bitmasks for the joysticks buttons, determines what has + * been pressed on the joystick, these need to be mapped + * to whatever device you're using instead of an xbox 360 + * joystick + */ + +#define XINPUT_GAMEPAD_DPAD_UP 0x0001 +#define XINPUT_GAMEPAD_DPAD_DOWN 0x0002 +#define XINPUT_GAMEPAD_DPAD_LEFT 0x0004 +#define XINPUT_GAMEPAD_DPAD_RIGHT 0x0008 +#define XINPUT_GAMEPAD_START 0x0010 +#define XINPUT_GAMEPAD_BACK 0x0020 +#define XINPUT_GAMEPAD_LEFT_THUMB 0x0040 +#define XINPUT_GAMEPAD_RIGHT_THUMB 0x0080 +#define XINPUT_GAMEPAD_LEFT_SHOULDER 0x0100 +#define XINPUT_GAMEPAD_RIGHT_SHOULDER 0x0200 +#define XINPUT_GAMEPAD_A 0x1000 +#define XINPUT_GAMEPAD_B 0x2000 +#define XINPUT_GAMEPAD_X 0x4000 +#define XINPUT_GAMEPAD_Y 0x8000 + +/* + * Defines the flags used to determine if the user is pushing + * down on a button, not holding a button, etc + */ + +#define XINPUT_KEYSTROKE_KEYDOWN 0x0001 +#define XINPUT_KEYSTROKE_KEYUP 0x0002 +#define XINPUT_KEYSTROKE_REPEAT 0x0004 + +/* + * Defines the codes which are returned by XInputGetKeystroke + */ + +#define VK_PAD_A 0x5800 +#define VK_PAD_B 0x5801 +#define VK_PAD_X 0x5802 +#define VK_PAD_Y 0x5803 +#define VK_PAD_RSHOULDER 0x5804 +#define VK_PAD_LSHOULDER 0x5805 +#define VK_PAD_LTRIGGER 0x5806 +#define VK_PAD_RTRIGGER 0x5807 +#define VK_PAD_DPAD_UP 0x5810 +#define VK_PAD_DPAD_DOWN 0x5811 +#define VK_PAD_DPAD_LEFT 0x5812 +#define VK_PAD_DPAD_RIGHT 0x5813 +#define VK_PAD_START 0x5814 +#define VK_PAD_BACK 0x5815 +#define VK_PAD_LTHUMB_PRESS 0x5816 +#define VK_PAD_RTHUMB_PRESS 0x5817 +#define VK_PAD_LTHUMB_UP 0x5820 +#define VK_PAD_LTHUMB_DOWN 0x5821 +#define VK_PAD_LTHUMB_RIGHT 0x5822 +#define VK_PAD_LTHUMB_LEFT 0x5823 +#define VK_PAD_LTHUMB_UPLEFT 0x5824 +#define VK_PAD_LTHUMB_UPRIGHT 0x5825 +#define VK_PAD_LTHUMB_DOWNRIGHT 0x5826 +#define VK_PAD_LTHUMB_DOWNLEFT 0x5827 +#define VK_PAD_RTHUMB_UP 0x5830 +#define VK_PAD_RTHUMB_DOWN 0x5831 +#define VK_PAD_RTHUMB_RIGHT 0x5832 +#define VK_PAD_RTHUMB_LEFT 0x5833 +#define VK_PAD_RTHUMB_UPLEFT 0x5834 +#define VK_PAD_RTHUMB_UPRIGHT 0x5835 +#define VK_PAD_RTHUMB_DOWNRIGHT 0x5836 +#define VK_PAD_RTHUMB_DOWNLEFT 0x5837 + +/* + * Deadzones are for analogue joystick controls on the joypad + * which determine when input should be assumed to be in the + * middle of the pad. This is a threshold to stop a joypad + * controlling the game when the player isn't touching the + * controls. + */ + +#define XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE 7849 +#define XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE 8689 +#define XINPUT_GAMEPAD_TRIGGER_THRESHOLD 30 + + +/* + * Defines what type of abilities the type of joystick has + * DEVTYPE_GAMEPAD is available for all joysticks, however + * there may be more specific identifiers for other joysticks + * which are being used. + */ + +#define XINPUT_DEVTYPE_GAMEPAD 0x01 +#define XINPUT_DEVSUBTYPE_GAMEPAD 0x01 +#define XINPUT_DEVSUBTYPE_WHEEL 0x02 +#define XINPUT_DEVSUBTYPE_ARCADE_STICK 0x03 +#define XINPUT_DEVSUBTYPE_FLIGHT_SICK 0x04 +#define XINPUT_DEVSUBTYPE_DANCE_PAD 0x05 +#define XINPUT_DEVSUBTYPE_GUITAR 0x06 +#define XINPUT_DEVSUBTYPE_DRUM_KIT 0x08 + +/* + * These are used with the XInputGetCapabilities function to + * determine the abilities to the joystick which has been + * plugged in. + */ + +#define XINPUT_CAPS_VOICE_SUPPORTED 0x0004 +#define XINPUT_FLAG_GAMEPAD 0x00000001 + +/* + * Defines the status of the battery if one is used in the + * attached joystick. The first two define if the joystick + * supports a battery. Disconnected means that the joystick + * isn't connected. Wired shows that the joystick is a wired + * joystick. + */ + +#define BATTERY_DEVTYPE_GAMEPAD 0x00 +#define BATTERY_DEVTYPE_HEADSET 0x01 +#define BATTERY_TYPE_DISCONNECTED 0x00 +#define BATTERY_TYPE_WIRED 0x01 +#define BATTERY_TYPE_ALKALINE 0x02 +#define BATTERY_TYPE_NIMH 0x03 +#define BATTERY_TYPE_UNKNOWN 0xFF +#define BATTERY_LEVEL_EMPTY 0x00 +#define BATTERY_LEVEL_LOW 0x01 +#define BATTERY_LEVEL_MEDIUM 0x02 +#define BATTERY_LEVEL_FULL 0x03 + +/* + * How many joysticks can be used with this library. Games that + * use the xinput library will not go over this number. + */ + +#define XUSER_MAX_COUNT 4 +#define XUSER_INDEX_ANY 0x000000FF + +/* + * Defines the structure of an xbox 360 joystick. + */ + +typedef struct _XINPUT_GAMEPAD { + WORD wButtons; + BYTE bLeftTrigger; + BYTE bRightTrigger; + SHORT sThumbLX; + SHORT sThumbLY; + SHORT sThumbRX; + SHORT sThumbRY; +} XINPUT_GAMEPAD, *PXINPUT_GAMEPAD; + +typedef struct _XINPUT_GAMEPAD_EX { + WORD wButtons; + BYTE bLeftTrigger; + BYTE bRightTrigger; + SHORT sThumbLX; + SHORT sThumbLY; + SHORT sThumbRX; + SHORT sThumbRY; + DWORD dwPaddingReserved; +} XINPUT_GAMEPAD_EX, *PXINPUT_GAMEPAD_EX; + +typedef struct _XINPUT_STATE { + DWORD dwPacketNumber; + XINPUT_GAMEPAD Gamepad; +} XINPUT_STATE, *PXINPUT_STATE; + +typedef struct _XINPUT_STATE_EX { + DWORD dwPacketNumber; + XINPUT_GAMEPAD_EX Gamepad; +} XINPUT_STATE_EX, *PXINPUT_STATE_EX; + +/* + * Defines the structure of how much vibration is set on both the + * right and left motors in a joystick. If you're not using a 360 + * joystick you will have to map these to your device. + */ + +typedef struct _XINPUT_VIBRATION { + WORD wLeftMotorSpeed; + WORD wRightMotorSpeed; +} XINPUT_VIBRATION, *PXINPUT_VIBRATION; + +/* + * Defines the structure for what kind of abilities the joystick has + * such abilities are things such as if the joystick has the ability + * to send and receive audio, if the joystick is in fact a driving + * wheel or perhaps if the joystick is some kind of dance pad or + * guitar. + */ + +typedef struct _XINPUT_CAPABILITIES { + BYTE Type; + BYTE SubType; + WORD Flags; + XINPUT_GAMEPAD Gamepad; + XINPUT_VIBRATION Vibration; +} XINPUT_CAPABILITIES, *PXINPUT_CAPABILITIES; + +/* + * Defines the structure for a joystick input event which is + * retrieved using the function XInputGetKeystroke + */ +typedef struct _XINPUT_KEYSTROKE { + WORD VirtualKey; + WCHAR Unicode; + WORD Flags; + BYTE UserIndex; + BYTE HidCode; +} XINPUT_KEYSTROKE, *PXINPUT_KEYSTROKE; + +typedef struct _XINPUT_BATTERY_INFORMATION +{ + BYTE BatteryType; + BYTE BatteryLevel; +} XINPUT_BATTERY_INFORMATION, *PXINPUT_BATTERY_INFORMATION; + +#ifdef __cplusplus +extern "C" { +#endif + +void WINAPI XInputEnable(BOOL); +DWORD WINAPI XInputSetState(DWORD, XINPUT_VIBRATION*); +DWORD WINAPI XInputGetState(DWORD, XINPUT_STATE*); +DWORD WINAPI XInputGetKeystroke(DWORD, DWORD, PXINPUT_KEYSTROKE); +DWORD WINAPI XInputGetCapabilities(DWORD, DWORD, XINPUT_CAPABILITIES*); +DWORD WINAPI XInputGetDSoundAudioDeviceGuids(DWORD, GUID*, GUID*); +DWORD WINAPI XInputGetBatteryInformation(DWORD, BYTE, XINPUT_BATTERY_INFORMATION*); + +DWORD WINAPI XInputGetStateEx(DWORD, XINPUT_STATE_EX*); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_XINPUT_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldom.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldom.h new file mode 100644 index 0000000..b774b30 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldom.h @@ -0,0 +1,20 @@ +/* + * Copyright 2010 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* xmldom.idl is included by msxml.idl so it doesn't need a stand-alone header */ +#include diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldom.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldom.idl new file mode 100644 index 0000000..8bca78a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldom.idl @@ -0,0 +1,842 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +#include +#include + +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +interface IXMLDOMImplementation; +interface IXMLDOMNode; +interface IXMLDOMDocumentFragment; +interface IXMLDOMDocument; +interface IXMLDOMNodeList; +interface IXMLDOMNamedNodeMap; +interface IXMLDOMCharacterData; +interface IXMLDOMAttribute; +interface IXMLDOMElement; +interface IXMLDOMText; +interface IXMLDOMComment; +interface IXMLDOMProcessingInstruction; +interface IXMLDOMCDATASection; +interface IXMLDOMDocumentType; +interface IXMLDOMNotation; +interface IXMLDOMEntity; +interface IXMLDOMEntityReference; +interface IXMLDOMParseError; + +cpp_quote("#ifndef __MSXML_DOMNODETYPE_DEFINED") +cpp_quote("#define __MSXML_DOMNODETYPE_DEFINED") +typedef enum tagDOMNodeType { + NODE_INVALID, + NODE_ELEMENT, + NODE_ATTRIBUTE, + NODE_TEXT, + NODE_CDATA_SECTION, + NODE_ENTITY_REFERENCE, + NODE_ENTITY, + NODE_PROCESSING_INSTRUCTION, + NODE_COMMENT, + NODE_DOCUMENT, + NODE_DOCUMENT_TYPE, + NODE_DOCUMENT_FRAGMENT, + NODE_NOTATION +} DOMNodeType; +cpp_quote("#endif") + +[ +local, +object, +odl, +dual, +oleautomation, +/*nonextensible,*/ +uuid(2933bf80-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMNode : IDispatch +{ + [propget, id(DISPID_DOM_NODE_NODENAME)] + HRESULT nodeName( [out,retval] BSTR *name ); + + [propget, id(DISPID_DOM_NODE_NODEVALUE)] + HRESULT nodeValue( [out,retval] VARIANT *value ); + + [propput, id(DISPID_DOM_NODE_NODEVALUE)] + HRESULT nodeValue( [in] VARIANT value ); + + [propget, id(DISPID_DOM_NODE_NODETYPE)] + HRESULT nodeType( [out,retval] DOMNodeType *type ); + + [propget, id(DISPID_DOM_NODE_PARENTNODE)] + HRESULT parentNode( [out,retval] IXMLDOMNode **parent ); + + [propget, id(DISPID_DOM_NODE_CHILDNODES)] + HRESULT childNodes( [out,retval] IXMLDOMNodeList **childList ); + + [propget, id(DISPID_DOM_NODE_FIRSTCHILD)] + HRESULT firstChild( [out,retval] IXMLDOMNode **firstChild ); + + [propget, id(DISPID_DOM_NODE_LASTCHILD)] + HRESULT lastChild( [out,retval] IXMLDOMNode **lastChild ); + + [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)] + HRESULT previousSibling( [out,retval] IXMLDOMNode **previousSibling ); + + [propget, id(DISPID_DOM_NODE_NEXTSIBLING)] + HRESULT nextSibling( [out,retval] IXMLDOMNode **nextSibling ); + + [propget, id(DISPID_DOM_NODE_ATTRIBUTES)] + HRESULT attributes( [out,retval] IXMLDOMNamedNodeMap **attributeMap ); + + [id(DISPID_DOM_NODE_INSERTBEFORE)] + HRESULT insertBefore( [in] IXMLDOMNode * newChild, + [in] VARIANT refChild, + [out,retval] IXMLDOMNode **outNewChild ); + + [id(DISPID_DOM_NODE_REPLACECHILD)] + HRESULT replaceChild( [in] IXMLDOMNode *newChild, + [in] IXMLDOMNode *oldChild, + [out,retval] IXMLDOMNode **outOldChild ); + + [id(DISPID_DOM_NODE_REMOVECHILD)] + HRESULT removeChild( [in] IXMLDOMNode *childNode, + [out,retval] IXMLDOMNode **oldChild ); + + [id(DISPID_DOM_NODE_APPENDCHILD)] + HRESULT appendChild( [in] IXMLDOMNode *newChild, + [out,retval] IXMLDOMNode **outNewChild ); + + [id(DISPID_DOM_NODE_HASCHILDNODES)] + HRESULT hasChildNodes( [out,retval] VARIANT_BOOL *hasChild ); + + [propget, id(DISPID_DOM_NODE_OWNERDOC)] + HRESULT ownerDocument( [out,retval] IXMLDOMDocument **DOMDocument ); + + [id(DISPID_DOM_NODE_CLONENODE)] + HRESULT cloneNode( [in] VARIANT_BOOL deep, + [out,retval] IXMLDOMNode **cloneRoot ); + + [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)] + HRESULT nodeTypeString( [out,retval] BSTR *nodeType ); + + [propget, id(DISPID_XMLDOM_NODE_TEXT)] + HRESULT text( [out,retval] BSTR *text ); + + [propput, id(DISPID_XMLDOM_NODE_TEXT)] + HRESULT text( [in] BSTR text ); + + [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)] + HRESULT specified( [out,retval] VARIANT_BOOL *isSpecified ); + + [propget, id(DISPID_XMLDOM_NODE_DEFINITION)] + HRESULT definition( [out,retval] IXMLDOMNode **definitionNode ); + + [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)] + HRESULT nodeTypedValue( [out,retval] VARIANT *typedValue ); + + [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)] + HRESULT nodeTypedValue( [in] VARIANT typedValue ); + + [propget, id(DISPID_XMLDOM_NODE_DATATYPE)] + HRESULT dataType( [out,retval] VARIANT *dataTypeName ); + + [propput, id(DISPID_XMLDOM_NODE_DATATYPE)] + HRESULT dataType( [in] BSTR dataTypeName ); + + [propget, id(DISPID_XMLDOM_NODE_XML)] + HRESULT xml( [out,retval] BSTR *xmlString ); + + [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)] + HRESULT transformNode( [in] IXMLDOMNode *styleSheet, + [out,retval] BSTR *xmlString ); + + [id(DISPID_XMLDOM_NODE_SELECTNODES)] + HRESULT selectNodes( [in] BSTR queryString, + [out,retval] IXMLDOMNodeList **resultList ); + + [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)] + HRESULT selectSingleNode( [in] BSTR queryString, + [out,retval] IXMLDOMNode **resultNode ); + + [propget, id(DISPID_XMLDOM_NODE_PARSED)] + HRESULT parsed( [out,retval] VARIANT_BOOL *isParsed ); + + [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)] + HRESULT namespaceURI( [out,retval] BSTR *namespaceURI ); + + [propget, id(DISPID_XMLDOM_NODE_PREFIX)] + HRESULT prefix( [out,retval] BSTR *prefixString ); + + [propget, id(DISPID_XMLDOM_NODE_BASENAME)] + HRESULT baseName( [out,retval] BSTR *nameString ); + + [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)] + HRESULT transformNodeToObject( [in] IXMLDOMNode *stylesheet, + [in] VARIANT outputObject ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf81-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMDocument : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)] + HRESULT doctype( [out,retval] IXMLDOMDocumentType **documentType ); + + [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)] + HRESULT implementation( [out,retval] IXMLDOMImplementation **impl ); + + [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)] + HRESULT documentElement( [out,retval] IXMLDOMElement **DOMElement ); + + [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)] + HRESULT documentElement( [in] IXMLDOMElement *DOMElement ); + + [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)] + HRESULT createElement( [in] BSTR tagname, + [out,retval] IXMLDOMElement **element ); + + [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)] + HRESULT createDocumentFragment( [out,retval] IXMLDOMDocumentFragment **docFrag ); + + [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)] + HRESULT createTextNode( [in] BSTR data, + [out,retval] IXMLDOMText **text ); + + [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)] + HRESULT createComment( [in] BSTR data, + [out,retval] IXMLDOMComment **comment ); + + [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)] + HRESULT createCDATASection( [in] BSTR data, + [out,retval] IXMLDOMCDATASection **cdata ); + + [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)] + HRESULT createProcessingInstruction( [in] BSTR target, + [in] BSTR data, + [out,retval] IXMLDOMProcessingInstruction **pi ); + + [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)] + HRESULT createAttribute( [in] BSTR name, + [out,retval] IXMLDOMAttribute **attribute ); + + [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)] + HRESULT createEntityReference( [in] BSTR name, + [out,retval] IXMLDOMEntityReference **entityRef ); + + [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( [in] BSTR tagName, + [out,retval] IXMLDOMNodeList **resultList ); + + [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)] + HRESULT createNode( [in] VARIANT Type, + [in] BSTR name, + [in] BSTR namespaceURI, + [out,retval] IXMLDOMNode **node ); + + [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)] + HRESULT nodeFromID( [in] BSTR idString, + [out,retval] IXMLDOMNode **node ); + + [id(DISPID_XMLDOM_DOCUMENT_LOAD)] + HRESULT load( [in] VARIANT xmlSource, + [out,retval] VARIANT_BOOL *isSuccessful ); + + [propget, id(DISPID_READYSTATE)] + HRESULT readyState( [out,retval] LONG *value ); + + [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)] + HRESULT parseError( [out,retval] IXMLDOMParseError **errorObj ); + + [propget, id(DISPID_XMLDOM_DOCUMENT_URL)] + HRESULT url( [out,retval] BSTR *urlString ); + + /* FIXME: these is meant to be async, but widl parses that as a keyword */ + [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)] + HRESULT async( [out,retval] VARIANT_BOOL *isAsync ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)] + HRESULT async( [in] VARIANT_BOOL isAsync ); + + [id(DISPID_XMLDOM_DOCUMENT_ABORT)] + HRESULT abort(); + + [id(DISPID_XMLDOM_DOCUMENT_LOADXML)] + HRESULT loadXML( [in] BSTR bstrXML, + [out,retval] VARIANT_BOOL *isSuccessful ); + + [id(DISPID_XMLDOM_DOCUMENT_SAVE)] + HRESULT save( [in] VARIANT destination ); + + [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)] + HRESULT validateOnParse( [out,retval] VARIANT_BOOL *isValidating ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)] + HRESULT validateOnParse( [in] VARIANT_BOOL isValidating ); + + [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)] + HRESULT resolveExternals( [out,retval] VARIANT_BOOL *isResolving ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)] + HRESULT resolveExternals( [in] VARIANT_BOOL isValidating ); + + [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)] + HRESULT preserveWhiteSpace( [out,retval] VARIANT_BOOL *isPreserving ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)] + HRESULT preserveWhiteSpace( [in] VARIANT_BOOL isPreserving ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)] + HRESULT onreadystatechange( [in] VARIANT readystatechangeSink ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)] + HRESULT ondataavailable( [in] VARIANT ondataavailableSink ); + + [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)] + HRESULT ontransformnode( [in] VARIANT ontransformnodeSink ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf82-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMNodeList : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT item( [in] LONG index, + [out,retval] IXMLDOMNode **listItem ); + + [propget, id(DISPID_DOM_NODELIST_LENGTH)] + HRESULT length( [out,retval] LONG *listLength ); + + [id(DISPID_XMLDOM_NODELIST_NEXTNODE)] + HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem ); + + [id(DISPID_XMLDOM_NODELIST_RESET)] + HRESULT reset(); + + [id(DISPID_NEWENUM)] + HRESULT _newEnum( [out,retval] IUnknown **ppUnk ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf83-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMNamedNodeMap : IDispatch +{ + [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)] + HRESULT getNamedItem( [in] BSTR name, + [out,retval] IXMLDOMNode **namedItem ); + + [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)] + HRESULT setNamedItem( [in] IXMLDOMNode *newItem, + [out,retval] IXMLDOMNode **namedItem ); + + [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)] + HRESULT removeNamedItem( [in] BSTR name, + [out,retval] IXMLDOMNode **namedItem ); + + [propget, id(DISPID_VALUE)] + HRESULT item( [in] LONG index, + [out,retval] IXMLDOMNode **listItem ); + + [propget, id(DISPID_DOM_NODELIST_LENGTH)] + HRESULT length( [out,retval] LONG *listLength ); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)] + HRESULT getQualifiedItem( [in] BSTR baseName, + [in] BSTR namespaceURI, + [out,retval] IXMLDOMNode **qualifiedItem ); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)] + HRESULT removeQualifiedItem( [in] BSTR baseName, + [in] BSTR namespaceURI, + [out,retval] IXMLDOMNode **qualifiedItem ); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)] + HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem ); + + [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)] + HRESULT reset(); + + [id(DISPID_NEWENUM)] + HRESULT _newEnum( [out,retval] IUnknown **ppUnk ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(3efaa413-272f-11d2-836f-0000f87a7782), +pointer_default(unique) +] +interface IXMLDOMDocumentFragment : IXMLDOMNode +{ + /* empty */ +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf84-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMCharacterData : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DATA_DATA)] + HRESULT data( [out,retval] BSTR *data ); + + [propput, id(DISPID_DOM_DATA_DATA)] + HRESULT data( [in] BSTR data ); + + [propget, id(DISPID_DOM_DATA_LENGTH)] + HRESULT length( [out,retval] LONG *dataLength ); + + [id(DISPID_DOM_DATA_SUBSTRING)] + HRESULT substringData( [in] LONG offset, + [in] LONG count, + [out,retval] BSTR *data ); + + [id(DISPID_DOM_DATA_APPEND)] + HRESULT appendData( [in] BSTR data ); + + [id(DISPID_DOM_DATA_INSERT)] + HRESULT insertData( [in] LONG offset, + [in] BSTR data ); + + [id(DISPID_DOM_DATA_DELETE)] + HRESULT deleteData( [in] LONG offset, + [in] LONG count ); + + [id(DISPID_DOM_DATA_REPLACE)] + HRESULT replaceData( [in] LONG offset, + [in] LONG count, + [in] BSTR data ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf85-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMAttribute : IXMLDOMNode +{ + [propget,id(DISPID_DOM_ATTRIBUTE_GETNAME)] + HRESULT name( [out,retval] BSTR *attributeName ); + + [propget,id(DISPID_DOM_ATTRIBUTE_VALUE)] + HRESULT value( [out,retval] VARIANT *attributeValue ); + + [propput,id(DISPID_DOM_ATTRIBUTE_VALUE)] + HRESULT value( [in] VARIANT attributeValue ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf86-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMElement : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)] + HRESULT tagName( [out,retval] BSTR *tagName ); + + [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)] + HRESULT getAttribute( [in] BSTR name, + [out,retval] VARIANT * value ); + + [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)] + HRESULT setAttribute( [in] BSTR name, + [in] VARIANT value ); + + [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)] + HRESULT removeAttribute( [in] BSTR name ); + + [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)] + HRESULT getAttributeNode( [in] BSTR name, + [out, retval] IXMLDOMAttribute ** attributeNode ); + + [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)] + HRESULT setAttributeNode( [in] IXMLDOMAttribute *DOMAttribute, + [out, retval] IXMLDOMAttribute ** attributeNode ); + + [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)] + HRESULT removeAttributeNode( [in] IXMLDOMAttribute *DOMAttribute, + [out, retval] IXMLDOMAttribute ** attributeNode ); + + [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)] + HRESULT getElementsByTagName( [in] BSTR tagName, + [out, retval] IXMLDOMNodeList ** resultList ); + + [id(DISPID_DOM_ELEMENT_NORMALIZE)] + HRESULT normalize(); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf87-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMText : IXMLDOMCharacterData +{ + [id(DISPID_DOM_TEXT_SPLITTEXT)] + HRESULT splitText( [in] LONG offset, + [out,retval] IXMLDOMText **rightHandTextNode ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf88-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMComment : IXMLDOMCharacterData +{ + /* empty */ +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf89-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMProcessingInstruction : IXMLDOMNode +{ + [propget, id(DISPID_DOM_PI_TARGET)] + HRESULT target( [out, retval] BSTR *name ); + + [propget, id(DISPID_DOM_PI_DATA)] + HRESULT data( [out, retval] BSTR *value ); + + [propput, id(DISPID_DOM_PI_DATA)] + HRESULT data( [in] BSTR value ); +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf8a-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMCDATASection : IXMLDOMText +{ + /* empty */ +} + +[ +local, +object, +odl, +dual, +/*nonextensible,*/ +oleautomation, +uuid(2933bf8b-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMDocumentType : IXMLDOMNode +{ + [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)] + HRESULT name( [out,retval] BSTR *rootName ); + + [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)] + HRESULT entities( [out,retval] IXMLDOMNamedNodeMap **entityMap ); + + [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)] + HRESULT notations( [out,retval] IXMLDOMNamedNodeMap **notationMap ); +} + +[ +local, +object, +odl, +dual, +nonextensible, +oleautomation, +uuid(2933bf8c-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMNotation : IXMLDOMNode +{ + [propget, id(DISPID_DOM_NOTATION_PUBLICID)] + HRESULT publicId([out, retval] VARIANT *publicId); + + [propget, id(DISPID_DOM_NOTATION_SYSTEMID)] + HRESULT systemId([out, retval] VARIANT *systemId); +} + +[ +local, +object, +odl, +dual, +nonextensible, +oleautomation, +uuid(2933bf8d-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMEntity : IXMLDOMNode +{ + [propget, id(DISPID_DOM_ENTITY_PUBLICID)] + HRESULT publicId([out, retval] VARIANT *publicId); + + [propget, id(DISPID_DOM_ENTITY_SYSTEMID)] + HRESULT systemId([out, retval] VARIANT *systemId); + + [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)] + HRESULT notationName([out, retval] BSTR *name); +} + +[ +local, +object, +odl, +dual, +nonextensible, +oleautomation, +uuid(2933bf8e-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMEntityReference : IXMLDOMNode +{ +} + +[ +local, +object, +odl, +dual, +nonextensible, +oleautomation, +uuid(2933bf8f-7b36-11d2-b20e-00c04f983e60), +pointer_default(unique) +] +interface IXMLDOMImplementation : IDispatch +{ + [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)] + HRESULT hasFeature([in] BSTR feature, [in] BSTR version, [out, retval] VARIANT_BOOL *pbool); +} + +[ +local, +object, +odl, +dual, +oleautomation, +/*nonextensible,*/ +helpstring("structure for reporting parse errors"), +pointer_default(unique), +uuid (3efaa426-272f-11d2-836f-0000f87a7782) +] +interface IXMLDOMParseError : IDispatch +{ + [propget, id(DISPID_VALUE)] + HRESULT errorCode([retval, out] LONG *errCode); + + [propget, id(DISPID_DOM_ERROR_URL)] + HRESULT url([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_REASON)] + HRESULT reason([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_SRCTEXT)] + HRESULT srcText([retval, out] BSTR *p); + + [propget, id(DISPID_DOM_ERROR_LINE)] + HRESULT line([retval, out] LONG *lineNo); + + [propget, id(DISPID_DOM_ERROR_LINEPOS)] + HRESULT linepos([retval, out] LONG * linePos); + + [propget, id(DISPID_DOM_ERROR_FILEPOS)] + HRESULT filepos([retval, out] LONG * filePos); +} + +[ + hidden, + uuid(3efaa427-272f-11d2-836f-0000f87a7782) +] +dispinterface XMLDOMDocumentEvents +{ + properties: + methods: + [id(DISPID_XMLDOMEVENT_ONDATAAVAILABLE)] + HRESULT ondataavailable(); + + [id(DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)] + HRESULT onreadystatechange(); +} + +[ + helpstring("XML DOM Document"), + progid("Microsoft.XMLDOM.1.0"), + vi_progid("Microsoft.XMLDOM"), + threading(both), + version(1.0), + uuid(2933bf90-7b36-11d2-b20e-00c04f983e60) +] +coclass DOMDocument +{ + [default] interface IXMLDOMDocument; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ + helpstring("Free Threaded XML DOM Document"), + progid("Microsoft.FreeThreadedXMLDOM.1.0"), + vi_progid("Microsoft.FreeThreadedXMLDOM"), + threading(both), + version(1.0), + uuid(2933bf91-7b36-11d2-b20e-00c04f983e60) +] +coclass DOMFreeThreadedDocument +{ + [default] interface IXMLDOMDocument; + [default, source] dispinterface XMLDOMDocumentEvents; +} + +[ +object, +uuid(ed8c108d-4349-11d2-91a4-00c04f7969e8), +odl, +dual, +oleautomation, +pointer_default(unique) +] +interface IXMLHttpRequest : IDispatch +{ + [id(1)] + HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, + [in, optional] VARIANT varAsync, + [in, optional] VARIANT varUser, + [in, optional] VARIANT varPassword); + [id(2)] + HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue); + + [id(3)] + HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR *pbstrValue); + + [id(4)] + HRESULT getAllResponseHeaders([out, retval] BSTR *pbstrHeaders); + + [id(5)] + HRESULT send([in, optional] VARIANT varBody); + + [id(6)] + HRESULT abort(); + + [propget, id(7)] + HRESULT status([out, retval] LONG *plStatus); + + [propget, id(8)] + HRESULT statusText([out, retval] BSTR *bstrStatus); + + [propget, id(9)] + HRESULT responseXML([out, retval] IDispatch **ppBody); + + [propget, id(10)] + HRESULT responseText([out, retval] BSTR *pbstrBody); + + [propget, id(11)] + HRESULT responseBody([out, retval] VARIANT *pvarBody); + + [propget, id(12)] + HRESULT responseStream([out, retval] VARIANT *pvarBody); + + [propget, id(13)] + HRESULT readyState([out, retval] LONG *plState); + + [propput, id(14)] + HRESULT onreadystatechange([in] IDispatch *pReadyStateSink); +} + +[ + helpstring("XML HTTP Request"), + progid("Microsoft.XMLHTTP.1.0"), + vi_progid("Microsoft.XMLHTTP"), + threading(apartment), + version(1.0), + uuid(ed8c108e-4349-11d2-91a4-00c04f7969e8) +] +coclass XMLHTTPRequest +{ + [default] interface IXMLHttpRequest; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldomdid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldomdid.h new file mode 100644 index 0000000..0bdc40f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldomdid.h @@ -0,0 +1,218 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __XMLDOMDID_H__ +#define __XMLDOMDID_H__ + +#define DISPID_DOM_BASE 0x00000001 +#define DISPID_DOM_COLLECTION_BASE 0x000f4240 +#define DISPID_DOM_COLLECTION_MAX 0x002dc6bf + +#define DISPID_DOM_NODE 0x00000001 +#define DISPID_DOM_NODE_NODENAME 0x00000002 +#define DISPID_DOM_NODE_NODEVALUE 0x00000003 +#define DISPID_DOM_NODE_NODETYPE 0x00000004 +#define DISPID_DOM_NODE_NODETYPEENUM 0x00000005 +#define DISPID_DOM_NODE_PARENTNODE 0x00000006 +#define DISPID_DOM_NODE_CHILDNODES 0x00000007 +#define DISPID_DOM_NODE_FIRSTCHILD 0x00000008 +#define DISPID_DOM_NODE_LASTCHILD 0x00000009 +#define DISPID_DOM_NODE_PREVIOUSSIBLING 0x0000000a +#define DISPID_DOM_NODE_NEXTSIBLING 0x0000000b +#define DISPID_DOM_NODE_ATTRIBUTES 0x0000000c +#define DISPID_DOM_NODE_INSERTBEFORE 0x0000000d +#define DISPID_DOM_NODE_REPLACECHILD 0x0000000e +#define DISPID_DOM_NODE_REMOVECHILD 0x0000000f +#define DISPID_DOM_NODE_APPENDCHILD 0x00000010 +#define DISPID_DOM_NODE_HASCHILDNODES 0x00000011 +#define DISPID_DOM_NODE_OWNERDOC 0x00000012 +#define DISPID_DOM_NODE_CLONENODE 0x00000013 + +#define DISPID_XMLDOM_NODE 0x00000014 +#define DISPID_XMLDOM_NODE_STRINGTYPE 0x00000015 +#define DISPID_XMLDOM_NODE_SPECIFIED 0x00000016 +#define DISPID_XMLDOM_NODE_DEFINITION 0x00000017 +#define DISPID_XMLDOM_NODE_TEXT 0x00000018 +#define DISPID_XMLDOM_NODE_NODETYPEDVALUE 0x00000019 +#define DISPID_XMLDOM_NODE_DATATYPE 0x0000001a +#define DISPID_XMLDOM_NODE_XML 0x0000001b +#define DISPID_XMLDOM_NODE_TRANSFORMNODE 0x0000001c +#define DISPID_XMLDOM_NODE_SELECTNODES 0x0000001d +#define DISPID_XMLDOM_NODE_SELECTSINGLENODE 0x0000001e +#define DISPID_XMLDOM_NODE_PARSED 0x0000001f +#define DISPID_XMLDOM_NODE_NAMESPACE 0x00000020 +#define DISPID_XMLDOM_NODE_PREFIX 0x00000021 +#define DISPID_XMLDOM_NODE_BASENAME 0x00000022 +#define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT 0x00000023 +#define DISPID_XMLDOM_NODE__TOP 0x00000024 + +#define DISPID_DOM_DOCUMENT 0x00000025 +#define DISPID_DOM_DOCUMENT_DOCTYPE 0x00000026 +#define DISPID_DOM_DOCUMENT_IMPLEMENTATION 0x00000027 +#define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT 0x00000028 +#define DISPID_DOM_DOCUMENT_CREATEELEMENT 0x00000029 +#define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT 0x0000002a +#define DISPID_DOM_DOCUMENT_CREATETEXTNODE 0x0000002b +#define DISPID_DOM_DOCUMENT_CREATECOMMENT 0x0000002c +#define DISPID_DOM_DOCUMENT_CREATECDATASECTION 0x0000002d +#define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION 0x0000002e +#define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE 0x0000002f +#define DISPID_DOM_DOCUMENT_CREATEENTITY 0x00000030 +#define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE 0x00000031 +#define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME 0x00000032 +#define DISPID_DOM_DOCUMENT_TOP 0x00000033 + +#define DISPID_XMLDOM_DOCUMENT 0x00000034 +#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE 0x00000035 +#define DISPID_XMLDOM_DOCUMENT_CREATENODE 0x00000036 +#define DISPID_XMLDOM_DOCUMENT_CREATENODEEX 0x00000037 +#define DISPID_XMLDOM_DOCUMENT_NODEFROMID 0x00000038 +#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES 0x00000039 +#define DISPID_XMLDOM_DOCUMENT_LOAD 0x0000003a +#define DISPID_XMLDOM_DOCUMENT_PARSEERROR 0x0000003b +#define DISPID_XMLDOM_DOCUMENT_URL 0x0000003c +#define DISPID_XMLDOM_DOCUMENT_ASYNC 0x0000003d +#define DISPID_XMLDOM_DOCUMENT_ABORT 0x0000003e +#define DISPID_XMLDOM_DOCUMENT_LOADXML 0x0000003f +#define DISPID_XMLDOM_DOCUMENT_SAVE 0x00000040 +#define DISPID_XMLDOM_DOCUMENT_VALIDATE 0x00000041 +#define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE 0x00000042 +#define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE 0x00000043 +#define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE 0x00000044 +#define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE 0x00000045 +#define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE 0x00000046 +#define DISPID_XMLDOM_DOCUMENT__TOP 0x00000047 + +#define DISPID_DOM_NODELIST 0x00000048 +#define DISPID_DOM_NODELIST_ITEM 0x00000049 +#define DISPID_DOM_NODELIST_LENGTH 0x0000004a +#define DISPID_XMLDOM_NODELIST 0x0000004b +#define DISPID_XMLDOM_NODELIST_NEXTNODE 0x0000004c +#define DISPID_XMLDOM_NODELIST_RESET 0x0000004d +#define DISPID_XMLDOM_NODELIST_NEWENUM 0x0000004e +#define DISPID_XMLDOM_NODELIST__TOP 0x0000004f + +#define DISPID_DOM_NAMEDNODEMAP 0x00000050 +#define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM 0x00000053 +#define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM 0x00000054 +#define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM 0x00000055 +#define DISPID_XMLDOM_NAMEDNODEMAP 0x00000056 +#define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM 0x00000057 +#define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM 0x00000058 +#define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE 0x00000059 +#define DISPID_XMLDOM_NAMEDNODEMAP_RESET 0x0000005a +#define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM 0x0000005b +#define DISPID_XMLDOM_NAMEDNODEMAP__TOP 0x0000005c + +#define DISPID_DOM_W3CWRAPPERS 0x0000005d + +#define DISPID_DOM_DOCUMENTFRAGMENT 0x0000005e +#define DISPID_DOM_DOCUMENTFRAGMENT__TOP 0x0000005f + +#define DISPID_DOM_ELEMENT 0x00000060 +#define DISPID_DOM_ELEMENT_GETTAGNAME 0x00000061 +#define DISPID_DOM_ELEMENT_GETATTRIBUTES 0x00000062 +#define DISPID_DOM_ELEMENT_GETATTRIBUTE 0x00000063 +#define DISPID_DOM_ELEMENT_SETATTRIBUTE 0x00000064 +#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE 0x00000065 +#define DISPID_DOM_ELEMENT_GETATTRIBUTENODE 0x00000066 +#define DISPID_DOM_ELEMENT_SETATTRIBUTENODE 0x00000067 +#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE 0x00000068 +#define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME 0x00000069 +#define DISPID_DOM_ELEMENT_NORMALIZE 0x0000006a +#define DISPID_DOM_ELEMENT__TOP 0x0000006b + +#define DISPID_DOM_DATA 0x0000006c +#define DISPID_DOM_DATA_DATA 0x0000006d +#define DISPID_DOM_DATA_LENGTH 0x0000006e +#define DISPID_DOM_DATA_SUBSTRING 0x0000006f +#define DISPID_DOM_DATA_APPEND 0x00000070 +#define DISPID_DOM_DATA_INSERT 0x00000071 +#define DISPID_DOM_DATA_DELETE 0x00000072 +#define DISPID_DOM_DATA_REPLACE 0x00000073 +#define DISPID_DOM_DATA__TOP 0x00000074 + +#define DISPID_DOM_ATTRIBUTE 0x00000075 +#define DISPID_DOM_ATTRIBUTE_GETNAME 0x00000076 +#define DISPID_DOM_ATTRIBUTE_SPECIFIED 0x00000077 +#define DISPID_DOM_ATTRIBUTE_VALUE 0x00000078 +#define DISPID_DOM_ATTRIBUTE__TOP 0x00000079 + +#define DISPID_DOM_TEXT 0x0000007a +#define DISPID_DOM_TEXT_SPLITTEXT 0x0000007b +#define DISPID_DOM_TEXT_JOINTEXT 0x0000007c +#define DISPID_DOM_TEXT__TOP 0x0000007d + +#define DISPID_DOM_PI 0x0000007e +#define DISPID_DOM_PI_TARGET 0x0000007f +#define DISPID_DOM_PI_DATA 0x00000080 +#define DISPID_DOM_PI__TOP 0x00000081 + +#define DISPID_DOM_DOCUMENTTYPE 0x00000082 +#define DISPID_DOM_DOCUMENTTYPE_NAME 0x00000083 +#define DISPID_DOM_DOCUMENTTYPE_ENTITIES 0x00000084 +#define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 0x00000085 +#define DISPID_DOM_DOCUMENTTYPE__TOP 0x00000086 + +#define DISPID_DOM_NOTATION 0x00000087 +#define DISPID_DOM_NOTATION_PUBLICID 0x00000088 +#define DISPID_DOM_NOTATION_SYSTEMID 0x00000089 +#define DISPID_DOM_NOTATION__TOP 0x0000008a + +#define DISPID_DOM_ENTITY 0x0000008b +#define DISPID_DOM_ENTITY_PUBLICID 0x0000008c +#define DISPID_DOM_ENTITY_SYSTEMID 0x0000008d +#define DISPID_DOM_ENTITY_NOTATIONNAME 0x0000008e +#define DISPID_DOM_ENTITY__TOP 0x0000008f + +#define DISPID_DOM_W3CWRAPPERS_TOP 0x0000008f + +#define DISPID_DOM_IMPLEMENTATION 0x00000090 +#define DISPID_DOM_IMPLEMENTATION_HASFEATURE 0x00000091 +#define DISPID_DOM_IMPLEMENTATION__TOP 0x00000092 + +#define DISPID_DOM__TOP 0x000000af + +#define DISPID_DOM_ERROR 0x000000b0 +#define DISPID_DOM_ERROR_ERRORCODE 0x000000b1 +#define DISPID_DOM_ERROR_URL 0x000000b2 +#define DISPID_DOM_ERROR_REASON 0x000000b3 +#define DISPID_DOM_ERROR_SRCTEXT 0x000000b4 +#define DISPID_DOM_ERROR_LINE 0x000000b5 +#define DISPID_DOM_ERROR_LINEPOS 0x000000b6 +#define DISPID_DOM_ERROR_FILEPOS 0x000000b7 +#define DISPID_DOM_ERROR__TOP 0x000000b8 + +#define DISPID_XTLRUNTIME 0x000000b9 +#define DISPID_XTLRUNTIME_UNIQUEID 0x000000ba +#define DISPID_XTLRUNTIME_DEPTH 0x000000bb +#define DISPID_XTLRUNTIME_CHILDNUMBER 0x000000bc +#define DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER 0x000000bd +#define DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER 0x000000be +#define DISPID_XTLRUNTIME_FORMATINDEX 0x000000bf +#define DISPID_XTLRUNTIME_FORMATNUMBER 0x000000c0 +#define DISPID_XTLRUNTIME_FORMATDATE 0x000000c1 +#define DISPID_XTLRUNTIME_FORMATTIME 0x000000c2 +#define DISPID_XTLRUNTIME__TOP 0x000000c3 + +#define DISPID_XMLDOMEVENT 0x000000c4 +#define DISPID_XMLDOMEVENT_ONREADYSTATECHANGE DISPID_READYSTATECHANGE +#define DISPID_XMLDOMEVENT_ONDATAAVAILABLE 0x000000c5 +#define DISPID_XMLDOMEVENT__TOP 0x000000c6 + +#endif /* __XMLDOMDID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldso.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldso.idl new file mode 100644 index 0000000..95c6510 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldso.idl @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#if 0 +#pragma makedep install +#endif + +#include +#include + +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +interface IXMLDOMDocument; + +[ +local, +object, +odl, +dual, +oleautomation, +uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39), +pointer_default(unique) +] +interface IXMLDSOControl : IDispatch +{ + [propget,id(DISPID_XMLDSO_DOCUMENT)] + HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc); + + [propput,id(DISPID_XMLDSO_DOCUMENT)] + HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc); + + [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] + HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible); + + [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] + HRESULT JavaDSOCompatible([in] BOOL fJavaDSOCompatible); + + [propget, id(DISPID_READYSTATE)] + HRESULT readyState([out, retval] long *state); +} + +[ + helpstring("XML Data Source Object"), + progid("Microsoft.XMLDSO.1.0"), + vi_progid("Microsoft.XMLDSO"), + threading(apartment), + version(1.0), + uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39) +] +coclass XMLDSOControl +{ + [default] interface IXMLDSOControl; +} diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldsodid.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldsodid.h new file mode 100644 index 0000000..5b5409b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmldsodid.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __XMLDSODID_H__ +#define __XMLDSODID_H__ + +#define DISPID_XOBJ_MIN 0x00010000 +#define DISPID_XOBJ_MAX 0x0001FFFF +#define DISPID_XOBJ_BASE 0x00010000 + +#define DISPID_XMLDSO 0x00010000 +#define DISPID_XMLDSO_DOCUMENT 0x00010001 +#define DISPID_XMLDSO_JAVADSOCOMPATIBLE 0x00010002 + +#endif /* __XMLDSODID_H__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmllite.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmllite.h new file mode 100644 index 0000000..e2d1572 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmllite.h @@ -0,0 +1,1059 @@ +/*** Autogenerated by WIDL 2.18 from xmllite.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include +#include + +#ifndef COM_NO_WINDOWS_H +#include +#include +#endif + +#ifndef __xmllite_h__ +#define __xmllite_h__ + +/* Forward declarations */ + +#ifndef __IXmlReader_FWD_DEFINED__ +#define __IXmlReader_FWD_DEFINED__ +typedef interface IXmlReader IXmlReader; +#ifdef __cplusplus +interface IXmlReader; +#endif /* __cplusplus */ +#endif + +#ifndef __IXmlResolver_FWD_DEFINED__ +#define __IXmlResolver_FWD_DEFINED__ +typedef interface IXmlResolver IXmlResolver; +#ifdef __cplusplus +interface IXmlResolver; +#endif /* __cplusplus */ +#endif + +#ifndef __IXmlWriter_FWD_DEFINED__ +#define __IXmlWriter_FWD_DEFINED__ +typedef interface IXmlWriter IXmlWriter; +#ifdef __cplusplus +interface IXmlWriter; +#endif /* __cplusplus */ +#endif + +/* Headers for imported files */ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum XmlNodeType { + XmlNodeType_None = 0, + XmlNodeType_Element = 1, + XmlNodeType_Attribute = 2, + XmlNodeType_Text = 3, + XmlNodeType_CDATA = 4, + XmlNodeType_ProcessingInstruction = 7, + XmlNodeType_Comment = 8, + XmlNodeType_DocumentType = 10, + XmlNodeType_Whitespace = 13, + XmlNodeType_EndElement = 15, + XmlNodeType_XmlDeclaration = 17, + _XmlNodeType_Last = 17 +} XmlNodeType; +/***************************************************************************** + * IXmlReader interface + */ +#ifndef __IXmlReader_INTERFACE_DEFINED__ +#define __IXmlReader_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXmlReader, 0x7279fc81, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7279fc81-709d-4095-b63d-69fe4b0d9030") +IXmlReader : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetInput( + IUnknown *input) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + UINT property, + LONG_PTR *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperty( + UINT property, + LONG_PTR value) = 0; + + virtual HRESULT STDMETHODCALLTYPE Read( + XmlNodeType *node_type) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNodeType( + XmlNodeType *node_type) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToFirstAttribute( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToNextAttribute( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToAttributeByName( + LPCWSTR local_name, + LPCWSTR namespaceUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE MoveToElement( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetQualifiedName( + LPCWSTR *qualifiedName, + UINT *qualifiedName_length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNamespaceUri( + LPCWSTR *namespaceUri, + UINT *nnamespaceUri_length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalName( + LPCWSTR *local_name, + UINT *locale_name_length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrefix( + LPCWSTR *prefix, + UINT *prefix_length) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetValue( + LPCWSTR *value, + UINT *value_length) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadValueChunk( + WCHAR *buffer, + UINT chunk_size, + UINT *read) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBaseUri( + LPCWSTR *baseUri, + UINT *baseUri_length) = 0; + + virtual BOOL STDMETHODCALLTYPE IsDefault( + ) = 0; + + virtual BOOL STDMETHODCALLTYPE IsEmptyElement( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLineNumber( + UINT *lineNumber) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLinePosition( + UINT *linePosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttributeCount( + UINT *attributeCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDepth( + UINT *depth) = 0; + + virtual BOOL STDMETHODCALLTYPE IsEOF( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXmlReader, 0x7279fc81, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30) +#endif +#else +typedef struct IXmlReaderVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXmlReader *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXmlReader *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXmlReader *This); + + /*** IXmlReader methods ***/ + HRESULT (STDMETHODCALLTYPE *SetInput)( + IXmlReader *This, + IUnknown *input); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IXmlReader *This, + UINT property, + LONG_PTR *value); + + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IXmlReader *This, + UINT property, + LONG_PTR value); + + HRESULT (STDMETHODCALLTYPE *Read)( + IXmlReader *This, + XmlNodeType *node_type); + + HRESULT (STDMETHODCALLTYPE *GetNodeType)( + IXmlReader *This, + XmlNodeType *node_type); + + HRESULT (STDMETHODCALLTYPE *MoveToFirstAttribute)( + IXmlReader *This); + + HRESULT (STDMETHODCALLTYPE *MoveToNextAttribute)( + IXmlReader *This); + + HRESULT (STDMETHODCALLTYPE *MoveToAttributeByName)( + IXmlReader *This, + LPCWSTR local_name, + LPCWSTR namespaceUri); + + HRESULT (STDMETHODCALLTYPE *MoveToElement)( + IXmlReader *This); + + HRESULT (STDMETHODCALLTYPE *GetQualifiedName)( + IXmlReader *This, + LPCWSTR *qualifiedName, + UINT *qualifiedName_length); + + HRESULT (STDMETHODCALLTYPE *GetNamespaceUri)( + IXmlReader *This, + LPCWSTR *namespaceUri, + UINT *nnamespaceUri_length); + + HRESULT (STDMETHODCALLTYPE *GetLocalName)( + IXmlReader *This, + LPCWSTR *local_name, + UINT *locale_name_length); + + HRESULT (STDMETHODCALLTYPE *GetPrefix)( + IXmlReader *This, + LPCWSTR *prefix, + UINT *prefix_length); + + HRESULT (STDMETHODCALLTYPE *GetValue)( + IXmlReader *This, + LPCWSTR *value, + UINT *value_length); + + HRESULT (STDMETHODCALLTYPE *ReadValueChunk)( + IXmlReader *This, + WCHAR *buffer, + UINT chunk_size, + UINT *read); + + HRESULT (STDMETHODCALLTYPE *GetBaseUri)( + IXmlReader *This, + LPCWSTR *baseUri, + UINT *baseUri_length); + + BOOL (STDMETHODCALLTYPE *IsDefault)( + IXmlReader *This); + + BOOL (STDMETHODCALLTYPE *IsEmptyElement)( + IXmlReader *This); + + HRESULT (STDMETHODCALLTYPE *GetLineNumber)( + IXmlReader *This, + UINT *lineNumber); + + HRESULT (STDMETHODCALLTYPE *GetLinePosition)( + IXmlReader *This, + UINT *linePosition); + + HRESULT (STDMETHODCALLTYPE *GetAttributeCount)( + IXmlReader *This, + UINT *attributeCount); + + HRESULT (STDMETHODCALLTYPE *GetDepth)( + IXmlReader *This, + UINT *depth); + + BOOL (STDMETHODCALLTYPE *IsEOF)( + IXmlReader *This); + + END_INTERFACE +} IXmlReaderVtbl; + +interface IXmlReader { + CONST_VTBL IXmlReaderVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXmlReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXmlReader_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXmlReader_Release(This) (This)->lpVtbl->Release(This) +/*** IXmlReader methods ***/ +#define IXmlReader_SetInput(This,input) (This)->lpVtbl->SetInput(This,input) +#define IXmlReader_GetProperty(This,property,value) (This)->lpVtbl->GetProperty(This,property,value) +#define IXmlReader_SetProperty(This,property,value) (This)->lpVtbl->SetProperty(This,property,value) +#define IXmlReader_Read(This,node_type) (This)->lpVtbl->Read(This,node_type) +#define IXmlReader_GetNodeType(This,node_type) (This)->lpVtbl->GetNodeType(This,node_type) +#define IXmlReader_MoveToFirstAttribute(This) (This)->lpVtbl->MoveToFirstAttribute(This) +#define IXmlReader_MoveToNextAttribute(This) (This)->lpVtbl->MoveToNextAttribute(This) +#define IXmlReader_MoveToAttributeByName(This,local_name,namespaceUri) (This)->lpVtbl->MoveToAttributeByName(This,local_name,namespaceUri) +#define IXmlReader_MoveToElement(This) (This)->lpVtbl->MoveToElement(This) +#define IXmlReader_GetQualifiedName(This,qualifiedName,qualifiedName_length) (This)->lpVtbl->GetQualifiedName(This,qualifiedName,qualifiedName_length) +#define IXmlReader_GetNamespaceUri(This,namespaceUri,nnamespaceUri_length) (This)->lpVtbl->GetNamespaceUri(This,namespaceUri,nnamespaceUri_length) +#define IXmlReader_GetLocalName(This,local_name,locale_name_length) (This)->lpVtbl->GetLocalName(This,local_name,locale_name_length) +#define IXmlReader_GetPrefix(This,prefix,prefix_length) (This)->lpVtbl->GetPrefix(This,prefix,prefix_length) +#define IXmlReader_GetValue(This,value,value_length) (This)->lpVtbl->GetValue(This,value,value_length) +#define IXmlReader_ReadValueChunk(This,buffer,chunk_size,read) (This)->lpVtbl->ReadValueChunk(This,buffer,chunk_size,read) +#define IXmlReader_GetBaseUri(This,baseUri,baseUri_length) (This)->lpVtbl->GetBaseUri(This,baseUri,baseUri_length) +#define IXmlReader_IsDefault(This) (This)->lpVtbl->IsDefault(This) +#define IXmlReader_IsEmptyElement(This) (This)->lpVtbl->IsEmptyElement(This) +#define IXmlReader_GetLineNumber(This,lineNumber) (This)->lpVtbl->GetLineNumber(This,lineNumber) +#define IXmlReader_GetLinePosition(This,linePosition) (This)->lpVtbl->GetLinePosition(This,linePosition) +#define IXmlReader_GetAttributeCount(This,attributeCount) (This)->lpVtbl->GetAttributeCount(This,attributeCount) +#define IXmlReader_GetDepth(This,depth) (This)->lpVtbl->GetDepth(This,depth) +#define IXmlReader_IsEOF(This) (This)->lpVtbl->IsEOF(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXmlReader_QueryInterface(IXmlReader* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXmlReader_AddRef(IXmlReader* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXmlReader_Release(IXmlReader* This) { + return This->lpVtbl->Release(This); +} +/*** IXmlReader methods ***/ +static FORCEINLINE HRESULT IXmlReader_SetInput(IXmlReader* This,IUnknown *input) { + return This->lpVtbl->SetInput(This,input); +} +static FORCEINLINE HRESULT IXmlReader_GetProperty(IXmlReader* This,UINT property,LONG_PTR *value) { + return This->lpVtbl->GetProperty(This,property,value); +} +static FORCEINLINE HRESULT IXmlReader_SetProperty(IXmlReader* This,UINT property,LONG_PTR value) { + return This->lpVtbl->SetProperty(This,property,value); +} +static FORCEINLINE HRESULT IXmlReader_Read(IXmlReader* This,XmlNodeType *node_type) { + return This->lpVtbl->Read(This,node_type); +} +static FORCEINLINE HRESULT IXmlReader_GetNodeType(IXmlReader* This,XmlNodeType *node_type) { + return This->lpVtbl->GetNodeType(This,node_type); +} +static FORCEINLINE HRESULT IXmlReader_MoveToFirstAttribute(IXmlReader* This) { + return This->lpVtbl->MoveToFirstAttribute(This); +} +static FORCEINLINE HRESULT IXmlReader_MoveToNextAttribute(IXmlReader* This) { + return This->lpVtbl->MoveToNextAttribute(This); +} +static FORCEINLINE HRESULT IXmlReader_MoveToAttributeByName(IXmlReader* This,LPCWSTR local_name,LPCWSTR namespaceUri) { + return This->lpVtbl->MoveToAttributeByName(This,local_name,namespaceUri); +} +static FORCEINLINE HRESULT IXmlReader_MoveToElement(IXmlReader* This) { + return This->lpVtbl->MoveToElement(This); +} +static FORCEINLINE HRESULT IXmlReader_GetQualifiedName(IXmlReader* This,LPCWSTR *qualifiedName,UINT *qualifiedName_length) { + return This->lpVtbl->GetQualifiedName(This,qualifiedName,qualifiedName_length); +} +static FORCEINLINE HRESULT IXmlReader_GetNamespaceUri(IXmlReader* This,LPCWSTR *namespaceUri,UINT *nnamespaceUri_length) { + return This->lpVtbl->GetNamespaceUri(This,namespaceUri,nnamespaceUri_length); +} +static FORCEINLINE HRESULT IXmlReader_GetLocalName(IXmlReader* This,LPCWSTR *local_name,UINT *locale_name_length) { + return This->lpVtbl->GetLocalName(This,local_name,locale_name_length); +} +static FORCEINLINE HRESULT IXmlReader_GetPrefix(IXmlReader* This,LPCWSTR *prefix,UINT *prefix_length) { + return This->lpVtbl->GetPrefix(This,prefix,prefix_length); +} +static FORCEINLINE HRESULT IXmlReader_GetValue(IXmlReader* This,LPCWSTR *value,UINT *value_length) { + return This->lpVtbl->GetValue(This,value,value_length); +} +static FORCEINLINE HRESULT IXmlReader_ReadValueChunk(IXmlReader* This,WCHAR *buffer,UINT chunk_size,UINT *read) { + return This->lpVtbl->ReadValueChunk(This,buffer,chunk_size,read); +} +static FORCEINLINE HRESULT IXmlReader_GetBaseUri(IXmlReader* This,LPCWSTR *baseUri,UINT *baseUri_length) { + return This->lpVtbl->GetBaseUri(This,baseUri,baseUri_length); +} +static FORCEINLINE BOOL IXmlReader_IsDefault(IXmlReader* This) { + return This->lpVtbl->IsDefault(This); +} +static FORCEINLINE BOOL IXmlReader_IsEmptyElement(IXmlReader* This) { + return This->lpVtbl->IsEmptyElement(This); +} +static FORCEINLINE HRESULT IXmlReader_GetLineNumber(IXmlReader* This,UINT *lineNumber) { + return This->lpVtbl->GetLineNumber(This,lineNumber); +} +static FORCEINLINE HRESULT IXmlReader_GetLinePosition(IXmlReader* This,UINT *linePosition) { + return This->lpVtbl->GetLinePosition(This,linePosition); +} +static FORCEINLINE HRESULT IXmlReader_GetAttributeCount(IXmlReader* This,UINT *attributeCount) { + return This->lpVtbl->GetAttributeCount(This,attributeCount); +} +static FORCEINLINE HRESULT IXmlReader_GetDepth(IXmlReader* This,UINT *depth) { + return This->lpVtbl->GetDepth(This,depth); +} +static FORCEINLINE BOOL IXmlReader_IsEOF(IXmlReader* This) { + return This->lpVtbl->IsEOF(This); +} +#endif +#endif + +#endif + + +#endif /* __IXmlReader_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IXmlResolver interface + */ +#ifndef __IXmlResolver_INTERFACE_DEFINED__ +#define __IXmlResolver_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXmlResolver, 0x7279fc82, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7279fc82-709d-4095-b63d-69fe4b0d9030") +IXmlResolver : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE ResolveUri( + LPCWSTR base_uri, + LPCWSTR public_id, + LPCWSTR system_id, + IUnknown **input) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXmlResolver, 0x7279fc82, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30) +#endif +#else +typedef struct IXmlResolverVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXmlResolver *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXmlResolver *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXmlResolver *This); + + /*** IXmlResolver methods ***/ + HRESULT (STDMETHODCALLTYPE *ResolveUri)( + IXmlResolver *This, + LPCWSTR base_uri, + LPCWSTR public_id, + LPCWSTR system_id, + IUnknown **input); + + END_INTERFACE +} IXmlResolverVtbl; + +interface IXmlResolver { + CONST_VTBL IXmlResolverVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXmlResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXmlResolver_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXmlResolver_Release(This) (This)->lpVtbl->Release(This) +/*** IXmlResolver methods ***/ +#define IXmlResolver_ResolveUri(This,base_uri,public_id,system_id,input) (This)->lpVtbl->ResolveUri(This,base_uri,public_id,system_id,input) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXmlResolver_QueryInterface(IXmlResolver* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXmlResolver_AddRef(IXmlResolver* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXmlResolver_Release(IXmlResolver* This) { + return This->lpVtbl->Release(This); +} +/*** IXmlResolver methods ***/ +static FORCEINLINE HRESULT IXmlResolver_ResolveUri(IXmlResolver* This,LPCWSTR base_uri,LPCWSTR public_id,LPCWSTR system_id,IUnknown **input) { + return This->lpVtbl->ResolveUri(This,base_uri,public_id,system_id,input); +} +#endif +#endif + +#endif + + +#endif /* __IXmlResolver_INTERFACE_DEFINED__ */ + +typedef enum XmlReadState { + XmlReadState_Initial = 0, + XmlReadState_Interactive = 1, + XmlReadState_Error = 2, + XmlReadState_EndOfFile = 3, + XmlReadState_Closed = 4 +} XmlReadState; +typedef enum XmlConformanceLevel { + XmlConformanceLevel_Auto = 0, + XmlConformanceLevel_Fragment = 1, + XmlConformanceLevel_Document = 2, + _XmlConformanceLevel_Last = XmlConformanceLevel_Document +} XmlConformanceLevel; +typedef enum DtdProcessing { + DtdProcessing_Prohibit = 0, + DtdProcessing_Parse = 1, + _DtdProcessing_Last = DtdProcessing_Parse +} DtdProcessing; +typedef enum XmlReaderProperty { + XmlReaderProperty_MultiLanguage = 0, + XmlReaderProperty_ConformanceLevel = 1, + XmlReaderProperty_RandomAccess = 2, + XmlReaderProperty_XmlResolver = 3, + XmlReaderProperty_DtdProcessing = 4, + XmlReaderProperty_ReadState = 5, + XmlReaderProperty_MaxElementDepth = 6, + XmlReaderProperty_MaxEntityExpansion = 7, + _XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion +} XmlReaderProperty; +typedef enum XmlError { + MX_E_MX = 0xc00cee00, + MX_E_INPUTEND = 0xc00cee01, + MX_E_ENCODING = 0xc00cee02, + MX_E_ENCODINGSWITCH = 0xc00cee03, + MX_E_ENCODINGSIGNATURE = 0xc00cee04, + WC_E_WC = 0xc00cee20, + WC_E_WHITESPACE = 0xc00cee21, + WC_E_SEMICOLON = 0xc00cee22, + WC_E_GREATERTHAN = 0xc00cee23, + WC_E_QUOTE = 0xc00cee24, + WC_E_EQUAL = 0xc00cee25, + WC_E_LESSTHAN = 0xc00cee26, + WC_E_HEXDIGIT = 0xc00cee27, + WC_E_DIGIT = 0xc00cee28, + WC_E_LEFTBRACKET = 0xc00cee29, + WC_E_LEFTPAREN = 0xc00cee2a, + WC_E_XMLCHARACTER = 0xc00cee2b, + WC_E_NAMECHARACTER = 0xc00cee2c, + WC_E_SYNTAX = 0xc00cee2d, + WC_E_CDSECT = 0xc00cee2e, + WC_E_COMMENT = 0xc00cee2f, + WC_E_CONDSECT = 0xc00cee30, + WC_E_DECLATTLIST = 0xc00cee31, + WC_E_DECLDOCTYPE = 0xc00cee32, + WC_E_DECLELEMENT = 0xc00cee33, + WC_E_DECLENTITY = 0xc00cee34, + WC_E_DECLNOTATION = 0xc00cee35, + WC_E_NDATA = 0xc00cee36, + WC_E_PUBLIC = 0xc00cee37, + WC_E_SYSTEM = 0xc00cee38, + WC_E_NAME = 0xc00cee39, + WC_E_ROOTELEMENT = 0xc00cee3a, + WC_E_ELEMENTMATCH = 0xc00cee3b, + WC_E_UNIQUEATTRIBUTE = 0xc00cee3c, + WC_E_TEXTXMLDECL = 0xc00cee3d, + WC_E_LEADINGXML = 0xc00cee3e, + WC_E_TEXTDECL = 0xc00cee3f, + WC_E_XMLDECL = 0xc00cee40, + WC_E_ENCNAME = 0xc00cee41, + WC_E_PUBLICID = 0xc00cee42, + WC_E_PESINTERNALSUBSET = 0xc00cee43, + WC_E_PESBETWEENDECLS = 0xc00cee44, + WC_E_NORECURSION = 0xc00cee45, + WC_E_ENTITYCONTENT = 0xc00cee46, + WC_E_UNDECLAREDENTITY = 0xc00cee47, + WC_E_PARSEDENTITY = 0xc00cee48, + WC_E_NOEXTERNALENTITYREF = 0xc00cee49, + WC_E_PI = 0xc00cee4a, + WC_E_SYSTEMID = 0xc00cee4b, + WC_E_QUESTIONMARK = 0xc00cee4c, + WC_E_CDSECTEND = 0xc00cee4d, + WC_E_MOREDATA = 0xc00cee4e, + WC_E_DTDPROHIBITED = 0xc00cee4f, + WC_E_INVALIDXMLSPACE = 0xc00cee50, + NC_E_NC = 0xc00cee60, + NC_E_QNAMECHARACTER = 0xc00cee61, + NC_E_QNAMECOLON = 0xc00cee62, + NC_E_NAMECOLON = 0xc00cee63, + NC_E_DECLAREDPREFIX = 0xc00cee64, + NC_E_UNDECLAREDPREFIX = 0xc00cee65, + NC_E_EMPTYURI = 0xc00cee66, + NC_E_XMLPREFIXRESERVED = 0xc00cee67, + NC_E_XMLNSPREFIXRESERVED = 0xc00cee68, + NC_E_XMLURIRESERVED = 0xc00cee69, + NC_E_XMLNSURIRESERVED = 0xc00cee6a, + SC_E_SC = 0xc00cee80, + SC_E_MAXELEMENTDEPTH = 0xc00cee81, + SC_E_MAXENTITYEXPANSION = 0xc00cee82, + WR_E_WR = 0xc00cef00, + WR_E_NONWHITESPACE = 0xc00cef01, + WR_E_NSPREFIXDECLARED = 0xc00cef02, + WR_E_NSPREFIXWITHEMPTYNSURI = 0xc00cef03, + WR_E_DUPLICATEATTRIBUTE = 0xc00cef04, + WR_E_XMLNSPREFIXDECLARATION = 0xc00cef05, + WR_E_XMLPREFIXDECLARATION = 0xc00cef06, + WR_E_XMLURIDECLARATION = 0xc00cef07, + WR_E_XMLNSURIDECLARATION = 0xc00cef08, + WR_E_NAMESPACEUNDECLARED = 0xc00cef09, + WR_E_INVALIDXMLSPACE = 0xc00cef0a, + WR_E_INVALIDACTION = 0xc00cef0b, + WR_E_INVALIDSURROGATEPAIR = 0xc00cef0c, + XML_E_INVALID_DECIMAL = 0xc00ce01d, + XML_E_INVALID_HEXIDECIMAL = 0xc00ce01e, + XML_E_INVALID_UNICODE = 0xc00ce01f, + XML_E_INVALIDENCODING = 0xc00ce06e +} XmlError; +STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc); +typedef IUnknown IXmlReaderInput; +STDAPI CreateXmlReaderInputWithEncodingName(IUnknown *stream, IMalloc *pMalloc, + LPCWSTR encoding, BOOL hint, + LPCWSTR base_uri, IXmlReaderInput **ppInput); +typedef enum XmlStandalone { + XmlStandalone_Omit = 0, + XmlStandalone_Yes = 1, + XmlStandalone_No = 2, + _XmlStandalone_Last = XmlStandalone_No +} XmlStandalone; +typedef enum XmlWriterProperty { + XmlWriterProperty_MultiLanguage = 0, + XmlWriterProperty_Indent = 1, + XmlWriterProperty_ByteOrderMark = 2, + XmlWriterProperty_OmitXmlDeclaration = 3, + XmlWriterProperty_ConformanceLevel = 4, + _XmlWriterProperty_Last = XmlWriterProperty_OmitXmlDeclaration +} XmlWriterProperty; +/***************************************************************************** + * IXmlWriter interface + */ +#ifndef __IXmlWriter_INTERFACE_DEFINED__ +#define __IXmlWriter_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IXmlWriter, 0x7279fc88, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("7279fc88-709d-4095-b63d-69fe4b0d9030") +IXmlWriter : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SetOutput( + IUnknown *pOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + UINT nProperty, + LONG_PTR *ppValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProperty( + UINT nProperty, + LONG_PTR pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteAttributes( + IXmlReader *pReader, + BOOL fWriteDefaultAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteAttributeString( + LPCWSTR pwszPrefix, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri, + LPCWSTR pwszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteCData( + LPCWSTR pwszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteCharEntity( + WCHAR wch) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteChars( + const WCHAR *pwch, + UINT cwch) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteComment( + LPCWSTR pwszComment) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteDocType( + LPCWSTR pwszName, + LPCWSTR pwszPublicId, + LPCWSTR pwszSystemId, + LPCWSTR pwszSubset) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteElementString( + LPCWSTR pwszPrefix, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri, + LPCWSTR pwszValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteEndDocument( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteEndElement( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteEntityRef( + LPCWSTR pwszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteFullEndElement( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteName( + LPCWSTR pwszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteNmToken( + LPCWSTR pwszNmToken) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteNode( + IXmlReader *pReader, + BOOL fWriteDefaultAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteNodeShallow( + IXmlReader *pReader, + BOOL fWriteDefaultAttributes) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteProcessingInstruction( + LPCWSTR pwszName, + LPCWSTR pwszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteQualifiedName( + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteRaw( + LPCWSTR pwszData) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteRawChars( + const WCHAR *pwch, + UINT cwch) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteStartDocument( + XmlStandalone standalone) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteStartElement( + LPCWSTR pwszPrefix, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteString( + LPCWSTR pwszText) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteSurrogateCharEntity( + WCHAR wchLow, + WCHAR wchHigh) = 0; + + virtual HRESULT STDMETHODCALLTYPE WriteWhitespace( + LPCWSTR pwszWhitespace) = 0; + + virtual HRESULT STDMETHODCALLTYPE Flush( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IXmlWriter, 0x7279fc88, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30) +#endif +#else +typedef struct IXmlWriterVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IXmlWriter *This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IXmlWriter *This); + + ULONG (STDMETHODCALLTYPE *Release)( + IXmlWriter *This); + + /*** IXmlWriter methods ***/ + HRESULT (STDMETHODCALLTYPE *SetOutput)( + IXmlWriter *This, + IUnknown *pOutput); + + HRESULT (STDMETHODCALLTYPE *GetProperty)( + IXmlWriter *This, + UINT nProperty, + LONG_PTR *ppValue); + + HRESULT (STDMETHODCALLTYPE *SetProperty)( + IXmlWriter *This, + UINT nProperty, + LONG_PTR pValue); + + HRESULT (STDMETHODCALLTYPE *WriteAttributes)( + IXmlWriter *This, + IXmlReader *pReader, + BOOL fWriteDefaultAttributes); + + HRESULT (STDMETHODCALLTYPE *WriteAttributeString)( + IXmlWriter *This, + LPCWSTR pwszPrefix, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri, + LPCWSTR pwszValue); + + HRESULT (STDMETHODCALLTYPE *WriteCData)( + IXmlWriter *This, + LPCWSTR pwszText); + + HRESULT (STDMETHODCALLTYPE *WriteCharEntity)( + IXmlWriter *This, + WCHAR wch); + + HRESULT (STDMETHODCALLTYPE *WriteChars)( + IXmlWriter *This, + const WCHAR *pwch, + UINT cwch); + + HRESULT (STDMETHODCALLTYPE *WriteComment)( + IXmlWriter *This, + LPCWSTR pwszComment); + + HRESULT (STDMETHODCALLTYPE *WriteDocType)( + IXmlWriter *This, + LPCWSTR pwszName, + LPCWSTR pwszPublicId, + LPCWSTR pwszSystemId, + LPCWSTR pwszSubset); + + HRESULT (STDMETHODCALLTYPE *WriteElementString)( + IXmlWriter *This, + LPCWSTR pwszPrefix, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri, + LPCWSTR pwszValue); + + HRESULT (STDMETHODCALLTYPE *WriteEndDocument)( + IXmlWriter *This); + + HRESULT (STDMETHODCALLTYPE *WriteEndElement)( + IXmlWriter *This); + + HRESULT (STDMETHODCALLTYPE *WriteEntityRef)( + IXmlWriter *This, + LPCWSTR pwszName); + + HRESULT (STDMETHODCALLTYPE *WriteFullEndElement)( + IXmlWriter *This); + + HRESULT (STDMETHODCALLTYPE *WriteName)( + IXmlWriter *This, + LPCWSTR pwszName); + + HRESULT (STDMETHODCALLTYPE *WriteNmToken)( + IXmlWriter *This, + LPCWSTR pwszNmToken); + + HRESULT (STDMETHODCALLTYPE *WriteNode)( + IXmlWriter *This, + IXmlReader *pReader, + BOOL fWriteDefaultAttributes); + + HRESULT (STDMETHODCALLTYPE *WriteNodeShallow)( + IXmlWriter *This, + IXmlReader *pReader, + BOOL fWriteDefaultAttributes); + + HRESULT (STDMETHODCALLTYPE *WriteProcessingInstruction)( + IXmlWriter *This, + LPCWSTR pwszName, + LPCWSTR pwszText); + + HRESULT (STDMETHODCALLTYPE *WriteQualifiedName)( + IXmlWriter *This, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri); + + HRESULT (STDMETHODCALLTYPE *WriteRaw)( + IXmlWriter *This, + LPCWSTR pwszData); + + HRESULT (STDMETHODCALLTYPE *WriteRawChars)( + IXmlWriter *This, + const WCHAR *pwch, + UINT cwch); + + HRESULT (STDMETHODCALLTYPE *WriteStartDocument)( + IXmlWriter *This, + XmlStandalone standalone); + + HRESULT (STDMETHODCALLTYPE *WriteStartElement)( + IXmlWriter *This, + LPCWSTR pwszPrefix, + LPCWSTR pwszLocalName, + LPCWSTR pwszNamespaceUri); + + HRESULT (STDMETHODCALLTYPE *WriteString)( + IXmlWriter *This, + LPCWSTR pwszText); + + HRESULT (STDMETHODCALLTYPE *WriteSurrogateCharEntity)( + IXmlWriter *This, + WCHAR wchLow, + WCHAR wchHigh); + + HRESULT (STDMETHODCALLTYPE *WriteWhitespace)( + IXmlWriter *This, + LPCWSTR pwszWhitespace); + + HRESULT (STDMETHODCALLTYPE *Flush)( + IXmlWriter *This); + + END_INTERFACE +} IXmlWriterVtbl; + +interface IXmlWriter { + CONST_VTBL IXmlWriterVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IXmlWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IXmlWriter_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IXmlWriter_Release(This) (This)->lpVtbl->Release(This) +/*** IXmlWriter methods ***/ +#define IXmlWriter_SetOutput(This,pOutput) (This)->lpVtbl->SetOutput(This,pOutput) +#define IXmlWriter_GetProperty(This,nProperty,ppValue) (This)->lpVtbl->GetProperty(This,nProperty,ppValue) +#define IXmlWriter_SetProperty(This,nProperty,pValue) (This)->lpVtbl->SetProperty(This,nProperty,pValue) +#define IXmlWriter_WriteAttributes(This,pReader,fWriteDefaultAttributes) (This)->lpVtbl->WriteAttributes(This,pReader,fWriteDefaultAttributes) +#define IXmlWriter_WriteAttributeString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue) (This)->lpVtbl->WriteAttributeString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue) +#define IXmlWriter_WriteCData(This,pwszText) (This)->lpVtbl->WriteCData(This,pwszText) +#define IXmlWriter_WriteCharEntity(This,wch) (This)->lpVtbl->WriteCharEntity(This,wch) +#define IXmlWriter_WriteChars(This,pwch,cwch) (This)->lpVtbl->WriteChars(This,pwch,cwch) +#define IXmlWriter_WriteComment(This,pwszComment) (This)->lpVtbl->WriteComment(This,pwszComment) +#define IXmlWriter_WriteDocType(This,pwszName,pwszPublicId,pwszSystemId,pwszSubset) (This)->lpVtbl->WriteDocType(This,pwszName,pwszPublicId,pwszSystemId,pwszSubset) +#define IXmlWriter_WriteElementString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue) (This)->lpVtbl->WriteElementString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue) +#define IXmlWriter_WriteEndDocument(This) (This)->lpVtbl->WriteEndDocument(This) +#define IXmlWriter_WriteEndElement(This) (This)->lpVtbl->WriteEndElement(This) +#define IXmlWriter_WriteEntityRef(This,pwszName) (This)->lpVtbl->WriteEntityRef(This,pwszName) +#define IXmlWriter_WriteFullEndElement(This) (This)->lpVtbl->WriteFullEndElement(This) +#define IXmlWriter_WriteName(This,pwszName) (This)->lpVtbl->WriteName(This,pwszName) +#define IXmlWriter_WriteNmToken(This,pwszNmToken) (This)->lpVtbl->WriteNmToken(This,pwszNmToken) +#define IXmlWriter_WriteNode(This,pReader,fWriteDefaultAttributes) (This)->lpVtbl->WriteNode(This,pReader,fWriteDefaultAttributes) +#define IXmlWriter_WriteNodeShallow(This,pReader,fWriteDefaultAttributes) (This)->lpVtbl->WriteNodeShallow(This,pReader,fWriteDefaultAttributes) +#define IXmlWriter_WriteProcessingInstruction(This,pwszName,pwszText) (This)->lpVtbl->WriteProcessingInstruction(This,pwszName,pwszText) +#define IXmlWriter_WriteQualifiedName(This,pwszLocalName,pwszNamespaceUri) (This)->lpVtbl->WriteQualifiedName(This,pwszLocalName,pwszNamespaceUri) +#define IXmlWriter_WriteRaw(This,pwszData) (This)->lpVtbl->WriteRaw(This,pwszData) +#define IXmlWriter_WriteRawChars(This,pwch,cwch) (This)->lpVtbl->WriteRawChars(This,pwch,cwch) +#define IXmlWriter_WriteStartDocument(This,standalone) (This)->lpVtbl->WriteStartDocument(This,standalone) +#define IXmlWriter_WriteStartElement(This,pwszPrefix,pwszLocalName,pwszNamespaceUri) (This)->lpVtbl->WriteStartElement(This,pwszPrefix,pwszLocalName,pwszNamespaceUri) +#define IXmlWriter_WriteString(This,pwszText) (This)->lpVtbl->WriteString(This,pwszText) +#define IXmlWriter_WriteSurrogateCharEntity(This,wchLow,wchHigh) (This)->lpVtbl->WriteSurrogateCharEntity(This,wchLow,wchHigh) +#define IXmlWriter_WriteWhitespace(This,pwszWhitespace) (This)->lpVtbl->WriteWhitespace(This,pwszWhitespace) +#define IXmlWriter_Flush(This) (This)->lpVtbl->Flush(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IXmlWriter_QueryInterface(IXmlWriter* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IXmlWriter_AddRef(IXmlWriter* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IXmlWriter_Release(IXmlWriter* This) { + return This->lpVtbl->Release(This); +} +/*** IXmlWriter methods ***/ +static FORCEINLINE HRESULT IXmlWriter_SetOutput(IXmlWriter* This,IUnknown *pOutput) { + return This->lpVtbl->SetOutput(This,pOutput); +} +static FORCEINLINE HRESULT IXmlWriter_GetProperty(IXmlWriter* This,UINT nProperty,LONG_PTR *ppValue) { + return This->lpVtbl->GetProperty(This,nProperty,ppValue); +} +static FORCEINLINE HRESULT IXmlWriter_SetProperty(IXmlWriter* This,UINT nProperty,LONG_PTR pValue) { + return This->lpVtbl->SetProperty(This,nProperty,pValue); +} +static FORCEINLINE HRESULT IXmlWriter_WriteAttributes(IXmlWriter* This,IXmlReader *pReader,BOOL fWriteDefaultAttributes) { + return This->lpVtbl->WriteAttributes(This,pReader,fWriteDefaultAttributes); +} +static FORCEINLINE HRESULT IXmlWriter_WriteAttributeString(IXmlWriter* This,LPCWSTR pwszPrefix,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri,LPCWSTR pwszValue) { + return This->lpVtbl->WriteAttributeString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue); +} +static FORCEINLINE HRESULT IXmlWriter_WriteCData(IXmlWriter* This,LPCWSTR pwszText) { + return This->lpVtbl->WriteCData(This,pwszText); +} +static FORCEINLINE HRESULT IXmlWriter_WriteCharEntity(IXmlWriter* This,WCHAR wch) { + return This->lpVtbl->WriteCharEntity(This,wch); +} +static FORCEINLINE HRESULT IXmlWriter_WriteChars(IXmlWriter* This,const WCHAR *pwch,UINT cwch) { + return This->lpVtbl->WriteChars(This,pwch,cwch); +} +static FORCEINLINE HRESULT IXmlWriter_WriteComment(IXmlWriter* This,LPCWSTR pwszComment) { + return This->lpVtbl->WriteComment(This,pwszComment); +} +static FORCEINLINE HRESULT IXmlWriter_WriteDocType(IXmlWriter* This,LPCWSTR pwszName,LPCWSTR pwszPublicId,LPCWSTR pwszSystemId,LPCWSTR pwszSubset) { + return This->lpVtbl->WriteDocType(This,pwszName,pwszPublicId,pwszSystemId,pwszSubset); +} +static FORCEINLINE HRESULT IXmlWriter_WriteElementString(IXmlWriter* This,LPCWSTR pwszPrefix,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri,LPCWSTR pwszValue) { + return This->lpVtbl->WriteElementString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue); +} +static FORCEINLINE HRESULT IXmlWriter_WriteEndDocument(IXmlWriter* This) { + return This->lpVtbl->WriteEndDocument(This); +} +static FORCEINLINE HRESULT IXmlWriter_WriteEndElement(IXmlWriter* This) { + return This->lpVtbl->WriteEndElement(This); +} +static FORCEINLINE HRESULT IXmlWriter_WriteEntityRef(IXmlWriter* This,LPCWSTR pwszName) { + return This->lpVtbl->WriteEntityRef(This,pwszName); +} +static FORCEINLINE HRESULT IXmlWriter_WriteFullEndElement(IXmlWriter* This) { + return This->lpVtbl->WriteFullEndElement(This); +} +static FORCEINLINE HRESULT IXmlWriter_WriteName(IXmlWriter* This,LPCWSTR pwszName) { + return This->lpVtbl->WriteName(This,pwszName); +} +static FORCEINLINE HRESULT IXmlWriter_WriteNmToken(IXmlWriter* This,LPCWSTR pwszNmToken) { + return This->lpVtbl->WriteNmToken(This,pwszNmToken); +} +static FORCEINLINE HRESULT IXmlWriter_WriteNode(IXmlWriter* This,IXmlReader *pReader,BOOL fWriteDefaultAttributes) { + return This->lpVtbl->WriteNode(This,pReader,fWriteDefaultAttributes); +} +static FORCEINLINE HRESULT IXmlWriter_WriteNodeShallow(IXmlWriter* This,IXmlReader *pReader,BOOL fWriteDefaultAttributes) { + return This->lpVtbl->WriteNodeShallow(This,pReader,fWriteDefaultAttributes); +} +static FORCEINLINE HRESULT IXmlWriter_WriteProcessingInstruction(IXmlWriter* This,LPCWSTR pwszName,LPCWSTR pwszText) { + return This->lpVtbl->WriteProcessingInstruction(This,pwszName,pwszText); +} +static FORCEINLINE HRESULT IXmlWriter_WriteQualifiedName(IXmlWriter* This,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri) { + return This->lpVtbl->WriteQualifiedName(This,pwszLocalName,pwszNamespaceUri); +} +static FORCEINLINE HRESULT IXmlWriter_WriteRaw(IXmlWriter* This,LPCWSTR pwszData) { + return This->lpVtbl->WriteRaw(This,pwszData); +} +static FORCEINLINE HRESULT IXmlWriter_WriteRawChars(IXmlWriter* This,const WCHAR *pwch,UINT cwch) { + return This->lpVtbl->WriteRawChars(This,pwch,cwch); +} +static FORCEINLINE HRESULT IXmlWriter_WriteStartDocument(IXmlWriter* This,XmlStandalone standalone) { + return This->lpVtbl->WriteStartDocument(This,standalone); +} +static FORCEINLINE HRESULT IXmlWriter_WriteStartElement(IXmlWriter* This,LPCWSTR pwszPrefix,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri) { + return This->lpVtbl->WriteStartElement(This,pwszPrefix,pwszLocalName,pwszNamespaceUri); +} +static FORCEINLINE HRESULT IXmlWriter_WriteString(IXmlWriter* This,LPCWSTR pwszText) { + return This->lpVtbl->WriteString(This,pwszText); +} +static FORCEINLINE HRESULT IXmlWriter_WriteSurrogateCharEntity(IXmlWriter* This,WCHAR wchLow,WCHAR wchHigh) { + return This->lpVtbl->WriteSurrogateCharEntity(This,wchLow,wchHigh); +} +static FORCEINLINE HRESULT IXmlWriter_WriteWhitespace(IXmlWriter* This,LPCWSTR pwszWhitespace) { + return This->lpVtbl->WriteWhitespace(This,pwszWhitespace); +} +static FORCEINLINE HRESULT IXmlWriter_Flush(IXmlWriter* This) { + return This->lpVtbl->Flush(This); +} +#endif +#endif + +#endif + + +#endif /* __IXmlWriter_INTERFACE_DEFINED__ */ + +STDAPI CreateXmlWriter(REFIID riid, void **ppvObject, IMalloc *pMalloc); +typedef IUnknown IXmlWriterOutput; +STDAPI CreateXmlWriterOutputWithEncodingName(IUnknown *stream, IMalloc *pMalloc, + LPCWSTR encoding, IXmlWriterOutput **output); +STDAPI CreateXmlWriterOutputWithEncodingCodePage(IUnknown *stream, IMalloc *pMalloc, + UINT codepage, IXmlWriterOutput **output); +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __xmllite_h__ */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmllite.idl b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmllite.idl new file mode 100644 index 0000000..0fd68f7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/xmllite.idl @@ -0,0 +1,304 @@ +/* + * Copyright (C) 2010 Nikolay Sivov + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "objidl.idl"; +import "oaidl.idl"; + +typedef enum XmlNodeType { + XmlNodeType_None = 0, + XmlNodeType_Element = 1, + XmlNodeType_Attribute = 2, + XmlNodeType_Text = 3, + XmlNodeType_CDATA = 4, + XmlNodeType_ProcessingInstruction = 7, + XmlNodeType_Comment = 8, + XmlNodeType_DocumentType = 10, + XmlNodeType_Whitespace = 13, + XmlNodeType_EndElement = 15, + XmlNodeType_XmlDeclaration = 17, + _XmlNodeType_Last = 17 +} XmlNodeType; + +/* IXmlReader */ +[ + local, + object, + uuid(7279fc81-709d-4095-b63d-69fe4b0d9030), + pointer_default(unique) +] +interface IXmlReader : IUnknown +{ + HRESULT SetInput( [in] IUnknown *input); + HRESULT GetProperty( [in] UINT property, [out] LONG_PTR *value); + HRESULT SetProperty( [in] UINT property, [in] LONG_PTR value); + HRESULT Read( [out] XmlNodeType *node_type); + HRESULT GetNodeType( [out] XmlNodeType *node_type); + HRESULT MoveToFirstAttribute(void); + HRESULT MoveToNextAttribute(void); + HRESULT MoveToAttributeByName( [in] LPCWSTR local_name, + [in] LPCWSTR namespaceUri); + HRESULT MoveToElement(void); + HRESULT GetQualifiedName( [out] LPCWSTR *qualifiedName, + [out] UINT *qualifiedName_length); + HRESULT GetNamespaceUri( [out] LPCWSTR *namespaceUri, + [out] UINT *nnamespaceUri_length); + HRESULT GetLocalName( [out] LPCWSTR *local_name, + [out] UINT *locale_name_length); + HRESULT GetPrefix( [out] LPCWSTR *prefix, + [out] UINT *prefix_length); + HRESULT GetValue( [out] LPCWSTR *value, + [out] UINT *value_length); + HRESULT ReadValueChunk( [out] WCHAR *buffer, + [in] UINT chunk_size, + [in,out] UINT *read); + HRESULT GetBaseUri( [out] LPCWSTR *baseUri, + [out] UINT *baseUri_length); + BOOL IsDefault(void); + BOOL IsEmptyElement(void); + HRESULT GetLineNumber( [out] UINT *lineNumber); + HRESULT GetLinePosition( [out] UINT *linePosition); + HRESULT GetAttributeCount( [out] UINT *attributeCount); + HRESULT GetDepth( [out] UINT *depth); + BOOL IsEOF(void); +} + +/* IXmlResolver */ +[ + local, + object, + uuid(7279fc82-709d-4095-b63d-69fe4b0d9030), + pointer_default(unique) +] +interface IXmlResolver : IUnknown +{ + HRESULT ResolveUri([in] LPCWSTR base_uri, + [in] LPCWSTR public_id, + [in] LPCWSTR system_id, + [out] IUnknown **input); +} + +/* IXmlReader state */ +typedef enum XmlReadState +{ + XmlReadState_Initial, + XmlReadState_Interactive, + XmlReadState_Error, + XmlReadState_EndOfFile, + XmlReadState_Closed +} XmlReadState; + +/* conformance levels */ +typedef enum XmlConformanceLevel +{ + XmlConformanceLevel_Auto, + XmlConformanceLevel_Fragment, + XmlConformanceLevel_Document, + _XmlConformanceLevel_Last = XmlConformanceLevel_Document +} XmlConformanceLevel; + +/* DTD processing mode */ +typedef enum DtdProcessing +{ + DtdProcessing_Prohibit, + DtdProcessing_Parse, + _DtdProcessing_Last = DtdProcessing_Parse +} DtdProcessing; + +/* IXmlReader properties */ +typedef enum XmlReaderProperty +{ + XmlReaderProperty_MultiLanguage, + XmlReaderProperty_ConformanceLevel, + XmlReaderProperty_RandomAccess, + XmlReaderProperty_XmlResolver, + XmlReaderProperty_DtdProcessing, + XmlReaderProperty_ReadState, + XmlReaderProperty_MaxElementDepth, + XmlReaderProperty_MaxEntityExpansion, + _XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion +} XmlReaderProperty; + +/* reader error codes */ +typedef enum XmlError +{ + MX_E_MX = 0xc00cee00, + MX_E_INPUTEND, + MX_E_ENCODING, + MX_E_ENCODINGSWITCH, + MX_E_ENCODINGSIGNATURE, + WC_E_WC = 0xc00cee20, + WC_E_WHITESPACE, + WC_E_SEMICOLON, + WC_E_GREATERTHAN, + WC_E_QUOTE, + WC_E_EQUAL, + WC_E_LESSTHAN, + WC_E_HEXDIGIT, + WC_E_DIGIT, + WC_E_LEFTBRACKET, + WC_E_LEFTPAREN, + WC_E_XMLCHARACTER, + WC_E_NAMECHARACTER, + WC_E_SYNTAX, + WC_E_CDSECT, + WC_E_COMMENT, + WC_E_CONDSECT, + WC_E_DECLATTLIST, + WC_E_DECLDOCTYPE, + WC_E_DECLELEMENT, + WC_E_DECLENTITY, + WC_E_DECLNOTATION, + WC_E_NDATA, + WC_E_PUBLIC, + WC_E_SYSTEM, + WC_E_NAME, + WC_E_ROOTELEMENT, + WC_E_ELEMENTMATCH, + WC_E_UNIQUEATTRIBUTE, + WC_E_TEXTXMLDECL, + WC_E_LEADINGXML, + WC_E_TEXTDECL, + WC_E_XMLDECL, + WC_E_ENCNAME, + WC_E_PUBLICID, + WC_E_PESINTERNALSUBSET, + WC_E_PESBETWEENDECLS, + WC_E_NORECURSION, + WC_E_ENTITYCONTENT, + WC_E_UNDECLAREDENTITY, + WC_E_PARSEDENTITY, + WC_E_NOEXTERNALENTITYREF, + WC_E_PI, + WC_E_SYSTEMID, + WC_E_QUESTIONMARK, + WC_E_CDSECTEND, + WC_E_MOREDATA, + WC_E_DTDPROHIBITED, + WC_E_INVALIDXMLSPACE, + NC_E_NC = 0xc00cee60, + NC_E_QNAMECHARACTER, + NC_E_QNAMECOLON, + NC_E_NAMECOLON, + NC_E_DECLAREDPREFIX, + NC_E_UNDECLAREDPREFIX, + NC_E_EMPTYURI, + NC_E_XMLPREFIXRESERVED, + NC_E_XMLNSPREFIXRESERVED, + NC_E_XMLURIRESERVED, + NC_E_XMLNSURIRESERVED, + SC_E_SC = 0xc00cee80, + SC_E_MAXELEMENTDEPTH, + SC_E_MAXENTITYEXPANSION, + WR_E_WR = 0xc00cef00, + WR_E_NONWHITESPACE, + WR_E_NSPREFIXDECLARED, + WR_E_NSPREFIXWITHEMPTYNSURI, + WR_E_DUPLICATEATTRIBUTE, + WR_E_XMLNSPREFIXDECLARATION, + WR_E_XMLPREFIXDECLARATION, + WR_E_XMLURIDECLARATION, + WR_E_XMLNSURIDECLARATION, + WR_E_NAMESPACEUNDECLARED, + WR_E_INVALIDXMLSPACE, + WR_E_INVALIDACTION, + WR_E_INVALIDSURROGATEPAIR, + XML_E_INVALID_DECIMAL = 0xc00ce01d, + XML_E_INVALID_HEXIDECIMAL, + XML_E_INVALID_UNICODE, + XML_E_INVALIDENCODING = 0xc00ce06e +} XmlError; + +/* IXmlReader construction */ +cpp_quote("STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc);") + +cpp_quote("typedef IUnknown IXmlReaderInput;") +cpp_quote("STDAPI CreateXmlReaderInputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,") +cpp_quote(" LPCWSTR encoding, BOOL hint,") +cpp_quote(" LPCWSTR base_uri, IXmlReaderInput **ppInput);") + +typedef enum XmlStandalone +{ + XmlStandalone_Omit, + XmlStandalone_Yes, + XmlStandalone_No, + _XmlStandalone_Last = XmlStandalone_No +} XmlStandalone; + +typedef enum XmlWriterProperty +{ + XmlWriterProperty_MultiLanguage, + XmlWriterProperty_Indent, + XmlWriterProperty_ByteOrderMark, + XmlWriterProperty_OmitXmlDeclaration, + XmlWriterProperty_ConformanceLevel, + _XmlWriterProperty_Last = XmlWriterProperty_OmitXmlDeclaration +} XmlWriterProperty; + +/* IXmlWriter */ +[ + local, + object, + uuid(7279FC88-709D-4095-B63D-69FE4B0D9030), + pointer_default(unique) +] +interface IXmlWriter : IUnknown +{ + HRESULT SetOutput([in] IUnknown *pOutput); + HRESULT GetProperty([in] UINT nProperty, [out] LONG_PTR *ppValue); + HRESULT SetProperty([in] UINT nProperty, [in] LONG_PTR pValue); + HRESULT WriteAttributes([in] IXmlReader *pReader, [in] BOOL fWriteDefaultAttributes); + HRESULT WriteAttributeString([in] LPCWSTR pwszPrefix, [in] LPCWSTR pwszLocalName, + [in] LPCWSTR pwszNamespaceUri, [in] LPCWSTR pwszValue); + HRESULT WriteCData([in] LPCWSTR pwszText); + HRESULT WriteCharEntity([in] WCHAR wch); + HRESULT WriteChars([in] const WCHAR *pwch, [in] UINT cwch); + HRESULT WriteComment([in] LPCWSTR pwszComment); + HRESULT WriteDocType([in] LPCWSTR pwszName, [in] LPCWSTR pwszPublicId, + [in] LPCWSTR pwszSystemId, [in] LPCWSTR pwszSubset); + HRESULT WriteElementString([in] LPCWSTR pwszPrefix, [in] LPCWSTR pwszLocalName, + [in] LPCWSTR pwszNamespaceUri, [in] LPCWSTR pwszValue); + HRESULT WriteEndDocument(); + HRESULT WriteEndElement(); + HRESULT WriteEntityRef([in] LPCWSTR pwszName); + HRESULT WriteFullEndElement(); + HRESULT WriteName([in] LPCWSTR pwszName); + HRESULT WriteNmToken([in] LPCWSTR pwszNmToken); + HRESULT WriteNode([in] IXmlReader *pReader, [in] BOOL fWriteDefaultAttributes); + HRESULT WriteNodeShallow([in] IXmlReader *pReader, [in] BOOL fWriteDefaultAttributes); + HRESULT WriteProcessingInstruction([in] LPCWSTR pwszName, [in] LPCWSTR pwszText); + HRESULT WriteQualifiedName([in] LPCWSTR pwszLocalName, [in] LPCWSTR pwszNamespaceUri); + HRESULT WriteRaw([in] LPCWSTR pwszData); + HRESULT WriteRawChars([in] const WCHAR *pwch, [in] UINT cwch); + HRESULT WriteStartDocument([in] XmlStandalone standalone); + HRESULT WriteStartElement([in] LPCWSTR pwszPrefix, [in] LPCWSTR pwszLocalName, + [in] LPCWSTR pwszNamespaceUri); + HRESULT WriteString([in] LPCWSTR pwszText); + HRESULT WriteSurrogateCharEntity([in] WCHAR wchLow, [in] WCHAR wchHigh); + HRESULT WriteWhitespace([in] LPCWSTR pwszWhitespace); + HRESULT Flush(); +} + +/* IXmlWriter construction */ +cpp_quote("STDAPI CreateXmlWriter(REFIID riid, void **ppvObject, IMalloc *pMalloc);") + +cpp_quote("typedef IUnknown IXmlWriterOutput;") +cpp_quote("STDAPI CreateXmlWriterOutputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,") +cpp_quote(" LPCWSTR encoding, IXmlWriterOutput **output);") +cpp_quote("STDAPI CreateXmlWriterOutputWithEncodingCodePage(IUnknown *stream, IMalloc *pMalloc,") +cpp_quote(" UINT codepage, IXmlWriterOutput **output);") diff --git a/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/zmouse.h b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/zmouse.h new file mode 100644 index 0000000..9b15c13 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/include/deepin-wine/windows/zmouse.h @@ -0,0 +1,46 @@ +/* + * Scroll wheel mouse definitions + * + * Copyright (C) 2000 CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_ZMOUSE_H +#define __WINE_ZMOUSE_H + +#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG" + +#define MOUSEZ_CLASSNAME "MouseZ" +#define MOUSEZ_TITLE "Magellan MSWHEEL" + +#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME) +#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE) + +#define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG" + +#define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG" + +#define WHEEL_DELTA 120 + +#ifndef WHEEL_PAGESCROLL +#define WHEEL_PAGESCROLL (UINT_MAX) +#endif + +#ifndef SPI_SETWHEELSCROLLLINES +#define SPI_SETWHEELSCROLLLINES 105 +#endif + +#endif /* __WINE_ZMOUSE_H */ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libaclui.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libaclui.def new file mode 100644 index 0000000..6f7ac8f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libaclui.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/aclui/aclui.spec; do not edit! + +LIBRARY aclui.dll + +EXPORTS + CreateSecurityPage@4 @1 + EditSecurity@8 @2 + IID_ISecurityInformation @3 DATA diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libactiveds.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libactiveds.def new file mode 100644 index 0000000..31dfaa9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libactiveds.def @@ -0,0 +1,21 @@ +; File generated automatically from ./dlls/activeds/activeds.spec; do not edit! + +LIBRARY activeds.dll + +EXPORTS + ADsGetObject@12 @3 + ADsBuildEnumerator@8 @4 + ADsFreeEnumerator@4 @5 + ADsEnumerateNext@16 @6 + ADsBuildVarArrayStr@12 @7 + ADsBuildVarArrayInt@12 @8 + ADsOpenObject@24 @9 + ADsSetLastError@12 @12 + ADsGetLastError@20 @13 + AllocADsMem@4 @14 + FreeADsMem@4 @15 + ReallocADsMem@12 @16 + AllocADsStr@4 @17 + FreeADsStr@4 @18 + ReallocADsStr@8 @19 + ADsEncodeBinaryData@12 @20 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadsiid.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadsiid.a new file mode 100644 index 0000000..f6eb64c Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadsiid.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadvapi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadvapi32.def new file mode 100644 index 0000000..4d7eec9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadvapi32.def @@ -0,0 +1,511 @@ +; File generated automatically from ./dlls/advapi32/advapi32.spec; do not edit! + +LIBRARY advapi32.dll + +EXPORTS + A_SHAFinal@8 @1 + A_SHAInit@4 @2 + A_SHAUpdate@12 @3 + AbortSystemShutdownA@4 @4 + AbortSystemShutdownW@4 @5 + AccessCheck@32 @6 + AccessCheckAndAuditAlarmA@44 @7 + AccessCheckAndAuditAlarmW@44 @8 + AccessCheckByType@44 @9 + AddAccessAllowedAce@16 @10 + AddAccessAllowedAceEx@20 @11 + AddAccessAllowedObjectAce@28 @12 + AddAccessDeniedAce@16 @13 + AddAccessDeniedAceEx@20 @14 + AddAccessDeniedObjectAce@28 @15 + AddAce@20 @16 + AddAuditAccessAce@24 @17 + AddAuditAccessAceEx@28 @18 + AddAuditAccessObjectAce@36 @19 + AddMandatoryAce@20 @20 + AdjustTokenGroups@24 @21 + AdjustTokenPrivileges@24 @22 + AllocateAndInitializeSid@44 @23 + AllocateLocallyUniqueId@4 @24 + AreAllAccessesGranted@8 @25 + AreAnyAccessesGranted@8 @26 + BackupEventLogA@8 @27 + BackupEventLogW@8 @28 + BuildExplicitAccessWithNameA@20 @29 + BuildExplicitAccessWithNameW@20 @30 + BuildSecurityDescriptorA@36 @31 + BuildSecurityDescriptorW@36 @32 + BuildTrusteeWithNameA@8 @33 + BuildTrusteeWithNameW@8 @34 + BuildTrusteeWithObjectsAndNameA@24 @35 + BuildTrusteeWithObjectsAndNameW@24 @36 + BuildTrusteeWithObjectsAndSidA@20 @37 + BuildTrusteeWithObjectsAndSidW@20 @38 + BuildTrusteeWithSidA@8 @39 + BuildTrusteeWithSidW@8 @40 + ChangeServiceConfig2A@12 @41 + ChangeServiceConfig2W@12 @42 + ChangeServiceConfigA@44 @43 + ChangeServiceConfigW@44 @44 + CheckTokenMembership@12 @45 + ClearEventLogA@8 @46 + ClearEventLogW@8 @47 + CloseEncryptedFileRaw@4 @48 + CloseEventLog@4 @49 + CloseServiceHandle@4 @50 + CloseTrace@8 @51 + CommandLineFromMsiDescriptor@12 @52 + ControlService@12 @53 + ControlTraceA@20 @54 + ControlTraceW@20 @55 + ConvertSecurityDescriptorToStringSecurityDescriptorA@20 @56 + ConvertSecurityDescriptorToStringSecurityDescriptorW@20 @57 + ConvertSidToStringSidA@8 @58 + ConvertSidToStringSidW@8 @59 + ConvertStringSecurityDescriptorToSecurityDescriptorA@16 @60 + ConvertStringSecurityDescriptorToSecurityDescriptorW@16 @61 + ConvertStringSidToSidA@8 @62 + ConvertStringSidToSidW@8 @63 + ConvertToAutoInheritPrivateObjectSecurity@24 @64 + CopySid@12 @65 + CreatePrivateObjectSecurity@24 @66 + CreatePrivateObjectSecurityEx@32 @67 + CreatePrivateObjectSecurityWithMultipleInheritance@36 @68 + CreateProcessAsUserA@44 @69 + CreateProcessAsUserW@44 @70 + CreateProcessWithLogonW@44 @71 + CreateProcessWithTokenW@36 @72 + CreateRestrictedToken@36 @73 + CreateServiceA@52 @74 + CreateServiceW@52 @75 + CreateWellKnownSid@16 @76 + CredDeleteA@12 @77 + CredDeleteW@12 @78 + CredEnumerateA@16 @79 + CredEnumerateW@16 @80 + CredFree@4 @81 + CredGetSessionTypes@8 @82 + CredIsMarshaledCredentialA@4 @83 + CredIsMarshaledCredentialW@4 @84 + CredMarshalCredentialA@12 @85 + CredMarshalCredentialW@12 @86 + CredReadA@16 @88 + CredReadDomainCredentialsA@16 @89 + CredReadDomainCredentialsW@16 @90 + CredReadW@16 @91 + CredUnmarshalCredentialA@12 @92 + CredUnmarshalCredentialW@12 @93 + CredWriteA@8 @94 + CredWriteW@8 @95 + CryptAcquireContextA@20 @96 + CryptAcquireContextW@20 @97 + CryptContextAddRef@12 @98 + CryptCreateHash@20 @99 + CryptDecrypt@24 @100 + CryptDeriveKey@20 @101 + CryptDestroyHash@4 @102 + CryptDestroyKey@4 @103 + CryptDuplicateHash@16 @104 + CryptDuplicateKey@16 @105 + CryptEncrypt@28 @106 + CryptEnumProviderTypesA@24 @107 + CryptEnumProviderTypesW@24 @108 + CryptEnumProvidersA@24 @109 + CryptEnumProvidersW@24 @110 + CryptExportKey@24 @111 + CryptGenKey@16 @112 + CryptGenRandom@12 @113 + CryptGetDefaultProviderA@20 @114 + CryptGetDefaultProviderW@20 @115 + CryptGetHashParam@20 @116 + CryptGetKeyParam@20 @117 + CryptGetProvParam@20 @118 + CryptGetUserKey@12 @119 + CryptHashData@16 @120 + CryptHashSessionKey@12 @121 + CryptImportKey@24 @122 + CryptReleaseContext@8 @123 + CryptSetHashParam@16 @124 + CryptSetKeyParam@16 @125 + CryptSetProvParam@16 @126 + CryptSetProviderA@8 @127 + CryptSetProviderExA@16 @128 + CryptSetProviderExW@16 @129 + CryptSetProviderW@8 @130 + CryptSignHashA@24 @131 + CryptSignHashW@24 @132 + CryptVerifySignatureA@24 @133 + CryptVerifySignatureW@24 @134 + DecryptFileA@8 @135 + DecryptFileW@8 @136 + DeleteAce@8 @137 + DeleteService@4 @138 + DeregisterEventSource@4 @139 + DestroyPrivateObjectSecurity@4 @140 + DuplicateToken@12 @141 + DuplicateTokenEx@24 @142 + EnableTrace@24 @147 + EnableTraceEx@48 @148 + EnableTraceEx2@44 @149 + EncryptFileA@4 @150 + EncryptFileW@4 @151 + EnumDependentServicesA@24 @152 + EnumDependentServicesW@24 @153 + EnumServicesStatusA@32 @156 + EnumServicesStatusExA@40 @157 + EnumServicesStatusExW@40 @158 + EnumServicesStatusW@32 @159 + EnumerateTraceGuids@12 @160 + EqualPrefixSid@8 @161 + EqualSid@8 @162 + EventActivityIdControl@8 @163 + EventEnabled@12=ntdll.EtwEventEnabled @164 + EventProviderEnabled@20 @165 + EventRegister@16=ntdll.EtwEventRegister @166 + EventSetInformation@20=ntdll.EtwEventSetInformation @167 + EventUnregister@8=ntdll.EtwEventUnregister @168 + EventWrite@20=ntdll.EtwEventWrite @169 + EventWriteTransfer@28 @170 + FileEncryptionStatusA@8 @171 + FileEncryptionStatusW@8 @172 + FindFirstFreeAce@8 @173 + FlushTraceA@16 @174 + FlushTraceW@16 @175 + FreeSid@4 @176 + GetAce@12 @177 + GetAclInformation@16 @178 + GetAuditedPermissionsFromAclA@16 @179 + GetAuditedPermissionsFromAclW@16 @180 + GetCurrentHwProfileA@4 @181 + GetCurrentHwProfileW@4 @182 + GetEffectiveRightsFromAclA@12 @183 + GetEffectiveRightsFromAclW@12 @184 + GetEventLogInformation@20 @185 + GetExplicitEntriesFromAclA@12 @186 + GetExplicitEntriesFromAclW@12 @187 + GetFileSecurityA@20 @188 + GetFileSecurityW@20 @189 + GetKernelObjectSecurity@20 @190 + GetLengthSid@4 @191 + GetNamedSecurityInfoA@32 @193 + GetNamedSecurityInfoExA@36 @194 + GetNamedSecurityInfoExW@36 @195 + GetNamedSecurityInfoW@32 @196 + GetNumberOfEventLogRecords@8 @197 + GetOldestEventLogRecord@8 @198 + GetPrivateObjectSecurity@20 @199 + GetSecurityDescriptorControl@12 @200 + GetSecurityDescriptorDacl@16 @201 + GetSecurityDescriptorGroup@12 @202 + GetSecurityDescriptorLength@4 @203 + GetSecurityDescriptorOwner@12 @204 + GetSecurityDescriptorSacl@16 @205 + GetSecurityInfo@32 @206 + GetSecurityInfoExA@36 @207 + GetSecurityInfoExW@36 @208 + GetServiceDisplayNameA@16 @209 + GetServiceDisplayNameW@16 @210 + GetServiceKeyNameA@16 @211 + GetServiceKeyNameW@16 @212 + GetSidIdentifierAuthority@4 @213 + GetSidLengthRequired@4 @214 + GetSidSubAuthority@8 @215 + GetSidSubAuthorityCount@4 @216 + GetTokenInformation@20 @218 + GetTraceEnableFlags@8 @219 + GetTraceEnableLevel@8 @220 + GetTraceLoggerHandle@4 @221 + GetTrusteeFormA@4 @222 + GetTrusteeFormW@4 @223 + GetTrusteeNameA@4 @224 + GetTrusteeNameW@4 @225 + GetTrusteeTypeA@4 @226 + GetTrusteeTypeW@4 @227 + GetUserNameA@8 @228 + GetUserNameW@8 @229 + GetWindowsAccountDomainSid@12 @230 + ImpersonateAnonymousToken@4 @233 + ImpersonateLoggedOnUser@4 @234 + ImpersonateNamedPipeClient@4 @235 + ImpersonateSelf@4 @236 + InitializeAcl@12 @237 + InitializeSecurityDescriptor@8 @238 + InitializeSid@12 @239 + InitiateSystemShutdownA@20 @240 + InitiateSystemShutdownExA@24 @241 + InitiateSystemShutdownExW@24 @242 + InitiateSystemShutdownW@20 @243 + IsTextUnicode@12 @246 + IsTokenRestricted@4 @247 + IsValidAcl@4 @248 + IsValidSecurityDescriptor@4 @249 + IsValidSid@4 @250 + IsWellKnownSid@8 @251 + LockServiceDatabase@4 @252 + LogonUserA@24 @253 + LogonUserW@24 @254 + LookupAccountNameA@28 @255 + LookupAccountNameW@28 @256 + LookupAccountSidA@28 @257 + LookupAccountSidW@28 @258 + LookupPrivilegeDisplayNameA@20 @259 + LookupPrivilegeDisplayNameW@20 @260 + LookupPrivilegeNameA@16 @261 + LookupPrivilegeNameW@16 @262 + LookupPrivilegeValueA@12 @263 + LookupPrivilegeValueW@12 @264 + LookupSecurityDescriptorPartsA@28 @265 + LookupSecurityDescriptorPartsW@28 @266 + LsaAddAccountRights@16 @267 + LsaClose@4 @269 + LsaCreateTrustedDomainEx@20 @273 + LsaDeleteTrustedDomain@8 @275 + LsaEnumerateAccountRights@16 @276 + LsaEnumerateAccountsWithUserRight@16 @278 + LsaEnumerateTrustedDomains@20 @281 + LsaEnumerateTrustedDomainsEx@20 @282 + LsaFreeMemory@4 @283 + LsaLookupNames@20 @287 + LsaLookupNames2@24 @288 + LsaLookupPrivilegeName@12 @290 + LsaLookupSids@20 @291 + LsaNtStatusToWinError@4 @292 + LsaOpenPolicy@16 @294 + LsaOpenTrustedDomainByName@16 @297 + LsaQueryInformationPolicy@12 @299 + LsaQueryTrustedDomainInfo@16 @301 + LsaQueryTrustedDomainInfoByName@16 @302 + LsaRegisterPolicyChangeNotification@8 @303 + LsaRemoveAccountRights@20 @304 + LsaRetrievePrivateData@12 @306 + LsaSetInformationPolicy@12 @307 + LsaSetSecret@12 @309 + LsaSetTrustedDomainInfoByName@16 @311 + LsaSetTrustedDomainInformation@16 @312 + LsaStorePrivateData@12 @313 + LsaUnregisterPolicyChangeNotification@8 @314 + MD4Final@4 @315 + MD4Init@4 @316 + MD4Update@12 @317 + MD5Final@4 @318 + MD5Init@4 @319 + MD5Update@12 @320 + MakeAbsoluteSD@44 @321 + MakeSelfRelativeSD@12 @322 + MapGenericMask@8 @323 + NotifyBootConfigStatus@4 @324 + NotifyChangeEventLog@8 @325 + NotifyServiceStatusChangeW@12 @326 + ObjectCloseAuditAlarmA@12 @327 + ObjectCloseAuditAlarmW@12 @328 + ObjectDeleteAuditAlarmW@12 @329 + ObjectOpenAuditAlarmA@48 @330 + ObjectOpenAuditAlarmW@48 @331 + ObjectPrivilegeAuditAlarmA@24 @332 + ObjectPrivilegeAuditAlarmW@24 @333 + OpenBackupEventLogA@8 @334 + OpenBackupEventLogW@8 @335 + OpenEncryptedFileRawA@12 @336 + OpenEncryptedFileRawW@12 @337 + OpenEventLogA@8 @338 + OpenEventLogW@8 @339 + OpenProcessToken@12 @340 + OpenSCManagerA@12 @341 + OpenSCManagerW@12 @342 + OpenServiceA@12 @343 + OpenServiceW@12 @344 + OpenThreadToken@16 @345 + OpenTraceA@4 @346 + OpenTraceW@4 @347 + PrivilegeCheck@12 @348 + PrivilegedServiceAuditAlarmA@20 @349 + PrivilegedServiceAuditAlarmW@20 @350 + ProcessTrace@16 @351 + QueryAllTracesA@12 @352 + QueryAllTracesW@12 @353 + QueryServiceConfig2A@20 @354 + QueryServiceConfig2W@20 @355 + QueryServiceConfigA@16 @356 + QueryServiceConfigW@16 @357 + QueryServiceLockStatusA@16 @358 + QueryServiceLockStatusW@16 @359 + QueryServiceObjectSecurity@20 @360 + QueryServiceStatus@8 @361 + QueryServiceStatusEx@20 @362 + QueryTraceW@16 @363 + QueryWindows31FilesMigration@4 @364 + ReadEncryptedFileRaw@12 @365 + ReadEventLogA@28 @366 + ReadEventLogW@28 @367 + RegCloseKey@4 @368 + RegConnectRegistryA@12 @369 + RegConnectRegistryW@12 @370 + RegCopyTreeA@12 @371 + RegCopyTreeW@12 @372 + RegCreateKeyA@12 @373 + RegCreateKeyExA@36 @374 + RegCreateKeyExW@36 @375 + RegCreateKeyTransactedA@44 @376 + RegCreateKeyTransactedW@44 @377 + RegCreateKeyW@12 @378 + RegDeleteKeyA@8 @379 + RegDeleteKeyExA@16 @380 + RegDeleteKeyExW@16 @381 + RegDeleteKeyValueA@12 @382 + RegDeleteKeyValueW@12 @383 + RegDeleteKeyW@8 @384 + RegDeleteTreeA@8 @385 + RegDeleteTreeW@8 @386 + RegDeleteValueA@8 @387 + RegDeleteValueW@8 @388 + RegDisablePredefinedCache@0 @389 + RegDisableReflectionKey@4 @390 + RegEnumKeyA@16 @391 + RegEnumKeyExA@32 @392 + RegEnumKeyExW@32 @393 + RegEnumKeyW@16 @394 + RegEnumValueA@32 @395 + RegEnumValueW@32 @396 + RegFlushKey@4 @397 + RegGetKeySecurity@16 @398 + RegGetValueA@28 @399 + RegGetValueW@28 @400 + RegLoadKeyA@12 @401 + RegLoadKeyW@12 @402 + RegLoadMUIStringA@28 @403 + RegLoadMUIStringW@28 @404 + RegNotifyChangeKeyValue@20 @405 + RegOpenCurrentUser@8 @406 + RegOpenKeyA@12 @407 + RegOpenKeyExA@20 @408 + RegOpenKeyExW@20 @409 + RegOpenKeyW@12 @410 + RegOpenUserClassesRoot@16 @411 + RegOverridePredefKey@8 @412 + RegQueryInfoKeyA@48 @413 + RegQueryInfoKeyW@48 @414 + RegQueryMultipleValuesA@20 @415 + RegQueryMultipleValuesW@20 @416 + RegQueryValueA@16 @417 + RegQueryValueExA@24 @418 + RegQueryValueExW@24 @419 + RegQueryValueW@16 @420 + RegReplaceKeyA@16 @422 + RegReplaceKeyW@16 @423 + RegRestoreKeyA@12 @424 + RegRestoreKeyW@12 @425 + RegSaveKeyA@12 @426 + RegSaveKeyExA@16 @427 + RegSaveKeyExW@16 @428 + RegSaveKeyW@12 @429 + RegSetKeySecurity@12 @430 + RegSetKeyValueA@24 @431 + RegSetKeyValueW@24 @432 + RegSetValueA@20 @433 + RegSetValueExA@24 @434 + RegSetValueExW@24 @435 + RegSetValueW@20 @436 + RegUnLoadKeyA@8 @437 + RegUnLoadKeyW@8 @438 + RegisterEventSourceA@8 @439 + RegisterEventSourceW@8 @440 + RegisterServiceCtrlHandlerA@8 @441 + RegisterServiceCtrlHandlerExA@12 @442 + RegisterServiceCtrlHandlerExW@12 @443 + RegisterServiceCtrlHandlerW@8 @444 + RegisterTraceGuidsA@32=ntdll.EtwRegisterTraceGuidsA @445 + RegisterTraceGuidsW@32=ntdll.EtwRegisterTraceGuidsW @446 + RegisterWaitChainCOMCallback@8 @447 + ReportEventA@36 @448 + ReportEventW@36 @449 + RevertToSelf@0 @450 + SaferCloseLevel@4 @451 + SaferComputeTokenFromLevel@20 @452 + SaferCreateLevel@20 @453 + SaferGetPolicyInformation@24 @454 + SaferSetLevelInformation@16 @455 + SetAclInformation@16 @456 + SetEntriesInAclA@16 @457 + SetEntriesInAclW@16 @458 + SetFileSecurityA@12 @459 + SetFileSecurityW@12 @460 + SetKernelObjectSecurity@12 @461 + SetNamedSecurityInfoA@28 @462 + SetNamedSecurityInfoW@28 @463 + SetPrivateObjectSecurity@20 @464 + SetSecurityDescriptorControl@12 @465 + SetSecurityDescriptorDacl@16 @466 + SetSecurityDescriptorGroup@12 @467 + SetSecurityDescriptorOwner@12 @468 + SetSecurityDescriptorSacl@16 @469 + SetSecurityInfo@28 @470 + SetServiceBits@16 @471 + SetServiceObjectSecurity@12 @472 + SetServiceStatus@8 @473 + SetThreadToken@8 @474 + SetTokenInformation@16 @475 + StartServiceA@12 @476 + StartServiceCtrlDispatcherA@4 @477 + StartServiceCtrlDispatcherW@4 @478 + StartServiceW@12 @479 + StartTraceA@12 @480 + StartTraceW@12 @481 + StopTraceA@16 @482 + StopTraceW@16 @483 + SynchronizeWindows31FilesAndWindowsNTRegistry@16 @484 + SystemFunction001@12 @485 + SystemFunction002@12 @486 + SystemFunction003@8 @487 + SystemFunction004@12 @488 + SystemFunction005@12 @489 + SystemFunction006@8 @490 + SystemFunction007@8 @491 + SystemFunction008@12 @492 + SystemFunction009@12 @493 + SystemFunction010@12 @494 + SystemFunction011@12=SystemFunction010@12 @495 + SystemFunction012@12 @496 + SystemFunction013@12 @497 + SystemFunction014@12=SystemFunction012@12 @498 + SystemFunction015@12=SystemFunction013@12 @499 + SystemFunction016@12=SystemFunction012@12 @500 + SystemFunction017@12=SystemFunction013@12 @501 + SystemFunction018@12=SystemFunction012@12 @502 + SystemFunction019@12=SystemFunction013@12 @503 + SystemFunction020@12=SystemFunction012@12 @504 + SystemFunction021@12=SystemFunction013@12 @505 + SystemFunction022@12=SystemFunction012@12 @506 + SystemFunction023@12=SystemFunction013@12 @507 + SystemFunction024@12 @508 + SystemFunction025@12 @509 + SystemFunction026@12=SystemFunction024@12 @510 + SystemFunction027@12=SystemFunction025@12 @511 + SystemFunction030@8 @514 + SystemFunction031@8=SystemFunction030@8 @515 + SystemFunction032@8 @516 + SystemFunction035@4 @519 + SystemFunction036@8 @520 + SystemFunction040@12 @521 + SystemFunction041@12 @522 + TraceEvent@12 @523 + TraceMessage @525 + TraceMessageVa@24 @526 + TreeResetNamedSecurityInfoW@44 @527 + UnlockServiceDatabase@4 @528 + UnregisterTraceGuids@8=ntdll.EtwUnregisterTraceGuids @529 + WmiExecuteMethodA@28 @534 + WmiExecuteMethodW@28 @535 + WmiFreeBuffer@4 @536 + WmiMofEnumerateResourcesA@12 @537 + WmiMofEnumerateResourcesW@12 @538 + WmiNotificationRegistrationA@20 @539 + WmiNotificationRegistrationW@20 @540 + WmiOpenBlock@12 @541 + WmiQueryAllDataA@12 @542 + WmiQueryAllDataW@12 @543 + WmiQueryGuidInformation@8 @544 + WmiSetSingleInstanceA@20 @546 + WmiSetSingleInstanceW@20 @547 + WmiSetSingleItemA@24 @548 + WmiSetSingleItemW@24 @549 + WriteEncryptedFileRaw@12 @550 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadvpack.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadvpack.def new file mode 100644 index 0000000..eb5d740 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libadvpack.def @@ -0,0 +1,87 @@ +; File generated automatically from ./dlls/advpack/advpack.spec; do not edit! + +LIBRARY advpack.dll + +EXPORTS + AddDelBackupEntry@16=AddDelBackupEntryA@16 @1 + AddDelBackupEntryA@16 @2 + AddDelBackupEntryW@16 @3 + AdvInstallFile@28=AdvInstallFileA@28 @4 + AdvInstallFileA@28 @5 + AdvInstallFileW@28 @6 + CloseINFEngine@4 @7 + DelNode@8=DelNodeA@8 @8 + DelNodeA@8 @9 + DelNodeRunDLL32@16=DelNodeRunDLL32A@16 @10 + DelNodeRunDLL32A@16 @11 + DelNodeRunDLL32W@16 @12 + DelNodeW@8 @13 + DllMain@12 @14 PRIVATE + DoInfInstall@4 @15 + ExecuteCab@12=ExecuteCabA@12 @16 + ExecuteCabA@12 @17 + ExecuteCabW@12 @18 + ExtractFiles@24=ExtractFilesA@24 @19 + ExtractFilesA@24 @20 + ExtractFilesW@24 @21 + FileSaveMarkNotExist@12=FileSaveMarkNotExistA@12 @22 + FileSaveMarkNotExistA@12 @23 + FileSaveMarkNotExistW@12 @24 + FileSaveRestore@20=FileSaveRestoreA@20 @25 + FileSaveRestoreA@20 @26 + FileSaveRestoreOnINF@28=FileSaveRestoreOnINFA@28 @27 + FileSaveRestoreOnINFA@28 @28 + FileSaveRestoreOnINFW@28 @29 + FileSaveRestoreW@20 @30 + GetVersionFromFile@16=GetVersionFromFileA@16 @31 + GetVersionFromFileA@16 @32 + GetVersionFromFileEx@16=GetVersionFromFileExA@16 @33 + GetVersionFromFileExA@16 @34 + GetVersionFromFileExW@16 @35 + GetVersionFromFileW@16 @36 + IsNTAdmin@8 @37 + LaunchINFSection@16=LaunchINFSectionA@16 @38 + LaunchINFSectionA@16 @39 + LaunchINFSectionEx@16=LaunchINFSectionExA@16 @40 + LaunchINFSectionExA@16 @41 + LaunchINFSectionExW@16 @42 + LaunchINFSectionW@16 @43 + NeedReboot@4 @44 + NeedRebootInit@0 @45 + OpenINFEngine@20=OpenINFEngineA@20 @46 + OpenINFEngineA@20 @47 + OpenINFEngineW@20 @48 + RebootCheckOnInstall@16=RebootCheckOnInstallA@16 @49 + RebootCheckOnInstallA@16 @50 + RebootCheckOnInstallW@16 @51 + RegInstall@12=RegInstallA@12 @52 + RegInstallA@12 @53 + RegInstallW@12 @54 + RegRestoreAll@12=RegRestoreAllA@12 @55 + RegRestoreAllA@12 @56 + RegRestoreAllW@12 @57 + RegSaveRestore@28=RegSaveRestoreA@28 @58 + RegSaveRestoreA@28 @59 + RegSaveRestoreOnINF@28=RegSaveRestoreOnINFA@28 @60 + RegSaveRestoreOnINFA@28 @61 + RegSaveRestoreOnINFW@28 @62 + RegSaveRestoreW@28 @63 + RegisterOCX@16 @64 + RunSetupCommand@32=RunSetupCommandA@32 @65 + RunSetupCommandA@32 @66 + RunSetupCommandW@32 @67 + SetPerUserSecValues@4=SetPerUserSecValuesA@4 @68 + SetPerUserSecValuesA@4 @69 + SetPerUserSecValuesW@4 @70 + TranslateInfString@32=TranslateInfStringA@32 @71 + TranslateInfStringA@32 @72 + TranslateInfStringEx@32=TranslateInfStringExA@32 @73 + TranslateInfStringExA@32 @74 + TranslateInfStringExW@32 @75 + TranslateInfStringW@32 @76 + UserInstStubWrapper@16=UserInstStubWrapperA@16 @77 + UserInstStubWrapperA@16 @78 + UserInstStubWrapperW@16 @79 + UserUnInstStubWrapper@16=UserUnInstStubWrapperA@16 @80 + UserUnInstStubWrapperA@16 @81 + UserUnInstStubWrapperW@16 @82 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl.def new file mode 100644 index 0000000..a7513c4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl.def @@ -0,0 +1,54 @@ +; File generated automatically from ./dlls/atl/atl.spec; do not edit! + +LIBRARY atl.dll + +EXPORTS + DllCanUnloadNow@0 @1 PRIVATE + DllGetClassObject@12 @2 PRIVATE + DllRegisterServer@0 @3 PRIVATE + DllUnregisterServer@0 @4 PRIVATE + AtlAdvise@16 @10 + AtlUnadvise@12 @11 + AtlFreeMarshalStream@4 @12 + AtlMarshalPtrInProc@12 @13 + AtlUnmarshalPtr@12 @14 + AtlModuleGetClassObject@16 @15 + AtlModuleInit@12 @16 + AtlModuleRegisterClassObjects@12 @17 + AtlModuleRegisterServer@12 @18 + AtlModuleRegisterTypeLib@8 @19 + AtlModuleRevokeClassObjects@4 @20 + AtlModuleTerm@4 @21 + AtlModuleUnregisterServer@8 @22 + AtlModuleUpdateRegistryFromResourceD@20 @23 + AtlWaitWithMessageLoop@4 @24 + AtlCreateTargetDC@8 @26 + AtlHiMetricToPixel@8 @27 + AtlPixelToHiMetric@8 @28 + AtlComPtrAssign@8 @30 + AtlComQIPtrAssign@12 @31 + AtlInternalQueryInterface@16 @32 + AtlGetVersion@4 @34 + AtlAxDialogBoxW@20 @35 + AtlAxDialogBoxA@20 @36 + AtlAxCreateDialogW@20 @37 + AtlAxCreateDialogA@20 @38 + AtlAxCreateControl@16 @39 + AtlAxCreateControlEx@28 @40 + AtlAxAttachControl@12 @41 + AtlAxWinInit@0 @42 + AtlModuleAddCreateWndData@12 @43 + AtlModuleExtractCreateWndData@4 @44 + AtlModuleRegisterWndClassInfoW@12 @45 + AtlModuleRegisterWndClassInfoA@12 @46 + AtlAxGetControl@8 @47 + AtlAxGetHost@8 @48 + AtlRegisterClassCategoriesHelper@12 @49 + AtlIPersistStreamInit_Load@16 @50 + AtlIPersistStreamInit_Save@20 @51 + AtlIPersistPropertyBag_Load@20 @52 + AtlIPersistPropertyBag_Save@24 @53 + AtlGetObjectSourceInterface@20 @54 + AtlModuleLoadTypeLib@16 @56 + AtlModuleUnregisterServerEx@12 @57 + AtlModuleAddTermFunc@12 @58 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl100.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl100.def new file mode 100644 index 0000000..50fb14d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl100.def @@ -0,0 +1,50 @@ +; File generated automatically from ./dlls/atl100/atl100.spec; do not edit! + +LIBRARY atl100.dll + +EXPORTS + AtlAdvise@16 @10 + AtlUnadvise@12 @11 + AtlFreeMarshalStream@4 @12 + AtlMarshalPtrInProc@12 @13 + AtlUnmarshalPtr@12 @14 + AtlComModuleGetClassObject@16 @15 + AtlComModuleRegisterClassObjects@12 @17 + AtlComModuleRevokeClassObjects@4 @20 + AtlComModuleUnregisterServer@12 @22 + AtlUpdateRegistryFromResourceD@20 @23 + AtlWaitWithMessageLoop@4 @24 + AtlCreateTargetDC@8 @26 + AtlHiMetricToPixel@8 @27 + AtlPixelToHiMetric@8 @28 + AtlComPtrAssign@8 @30 + AtlComQIPtrAssign@12 @31 + AtlInternalQueryInterface@16 @32 + AtlGetVersion@4 @34 + AtlAxDialogBoxW@20 @35 + AtlAxDialogBoxA@20 @36 + AtlAxCreateDialogW@20 @37 + AtlAxCreateDialogA@20 @38 + AtlAxCreateControl@16 @39 + AtlAxCreateControlEx@28 @40 + AtlAxAttachControl@12 @41 + AtlAxWinInit@0 @42 + AtlWinModuleAddCreateWndData@12 @43 + AtlWinModuleExtractCreateWndData@4 @44 + AtlAxGetControl@8 @47 + AtlAxGetHost@8 @48 + AtlRegisterClassCategoriesHelper@12 @49 + AtlIPersistStreamInit_Load@16 @50 + AtlIPersistStreamInit_Save@20 @51 + AtlIPersistPropertyBag_Load@20 @52 + AtlIPersistPropertyBag_Save@24 @53 + AtlGetObjectSourceInterface@20 @54 + AtlLoadTypeLib@16 @56 + AtlModuleAddTermFunc@12 @58 + AtlAxCreateControlLic@20 @59 + AtlAxCreateControlLicEx@32 @60 + AtlCreateRegistrar@4 @61 + AtlCallTermFunc@4 @64 + AtlWinModuleInit@4 @65 + AtlSetPerUserRegistration@4 @67 + AtlGetPerUserRegistration@4 @68 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl80.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl80.def new file mode 100644 index 0000000..549fd39 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libatl80.def @@ -0,0 +1,50 @@ +; File generated automatically from ./dlls/atl80/atl80.spec; do not edit! + +LIBRARY atl80.dll + +EXPORTS + AtlAdvise@16 @10 + AtlUnadvise@12 @11 + AtlFreeMarshalStream@4 @12 + AtlMarshalPtrInProc@12 @13 + AtlUnmarshalPtr@12 @14 + AtlComModuleGetClassObject@16 @15 + AtlComModuleRegisterClassObjects@12 @17 + AtlComModuleRegisterServer@12 @18 + AtlRegisterTypeLib@8 @19 + AtlComModuleRevokeClassObjects@4 @20 + AtlComModuleUnregisterServer@12 @22 + AtlUpdateRegistryFromResourceD@20 @23 + AtlWaitWithMessageLoop@4 @24 + AtlCreateTargetDC@8 @26 + AtlHiMetricToPixel@8 @27 + AtlPixelToHiMetric@8 @28 + AtlComPtrAssign@8 @30 + AtlComQIPtrAssign@12 @31 + AtlInternalQueryInterface@16 @32 + AtlGetVersion@4 @34 + AtlAxDialogBoxW@20 @35 + AtlAxDialogBoxA@20 @36 + AtlAxCreateDialogW@20 @37 + AtlAxCreateDialogA@20 @38 + AtlAxCreateControl@16 @39 + AtlAxCreateControlEx@28 @40 + AtlAxAttachControl@12 @41 + AtlAxWinInit@0 @42 + AtlWinModuleAddCreateWndData@12 @43 + AtlWinModuleExtractCreateWndData@4 @44 + AtlAxGetControl@8 @47 + AtlAxGetHost@8 @48 + AtlRegisterClassCategoriesHelper@12 @49 + AtlIPersistStreamInit_Load@16 @50 + AtlIPersistStreamInit_Save@20 @51 + AtlIPersistPropertyBag_Load@20 @52 + AtlIPersistPropertyBag_Save@24 @53 + AtlGetObjectSourceInterface@20 @54 + AtlLoadTypeLib@16 @56 + AtlModuleAddTermFunc@12 @58 + AtlAxCreateControlLic@20 @59 + AtlAxCreateControlLicEx@32 @60 + AtlCreateRegistrar@4 @61 + AtlCallTermFunc@4 @64 + AtlWinModuleInit@4 @65 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavicap32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavicap32.def new file mode 100644 index 0000000..af1badb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavicap32.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/avicap32/avicap32.spec; do not edit! + +LIBRARY avicap32.dll + +EXPORTS + capCreateCaptureWindowA@32 @1 + capCreateCaptureWindowW@32 @2 + capGetDriverDescriptionA@20 @3 + capGetDriverDescriptionW@20 @4 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavifil32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavifil32.def new file mode 100644 index 0000000..25d41ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavifil32.def @@ -0,0 +1,84 @@ +; File generated automatically from ./dlls/avifil32/avifil32.spec; do not edit! + +LIBRARY avifil32.dll + +EXPORTS + AVIBuildFilter@12=AVIBuildFilterA@12 @1 + AVIBuildFilterA@12 @2 + AVIBuildFilterW@12 @3 + AVIClearClipboard@0 @4 + AVIFileAddRef@4 @5 + AVIFileCreateStream@12=AVIFileCreateStreamA@12 @6 + AVIFileCreateStreamA@12 @7 + AVIFileCreateStreamW@12 @8 + AVIFileEndRecord@4 @9 + AVIFileExit@0 @10 + AVIFileGetStream@16 @11 + AVIFileInfo@12=AVIFileInfoA@12 @12 + AVIFileInfoA@12 @13 + AVIFileInfoW@12 @14 + AVIFileInit@0 @15 + AVIFileOpen@16=AVIFileOpenA@16 @16 + AVIFileOpenA@16 @17 + AVIFileOpenW@16 @18 + AVIFileReadData@16 @19 + AVIFileRelease@4 @20 + AVIFileWriteData@16 @21 + AVIGetFromClipboard@4 @22 + AVIMakeCompressedStream@16 @23 + AVIMakeFileFromStreams@12 @24 + AVIMakeStreamFromClipboard@12 @25 + AVIPutFileOnClipboard@4 @26 + AVISave=AVISaveA @27 + AVISaveA @28 + AVISaveOptions@20 @29 + AVISaveOptionsFree@8 @30 + AVISaveV@24=AVISaveVA@24 @31 + AVISaveVA@24 @32 + AVISaveVW@24 @33 + AVISaveW @34 + AVIStreamAddRef@4 @35 + AVIStreamBeginStreaming@16 @36 + AVIStreamCreate@16 @37 + AVIStreamEndStreaming@4 @38 + AVIStreamFindSample@12 @39 + AVIStreamGetFrame@8 @40 + AVIStreamGetFrameClose@4 @41 + AVIStreamGetFrameOpen@8 @42 + AVIStreamInfo@12=AVIStreamInfoA@12 @43 + AVIStreamInfoA@12 @44 + AVIStreamInfoW@12 @45 + AVIStreamLength@4 @46 + AVIStreamOpenFromFile@24=AVIStreamOpenFromFileA@24 @47 + AVIStreamOpenFromFileA@24 @48 + AVIStreamOpenFromFileW@24 @49 + AVIStreamRead@28 @50 + AVIStreamReadData@16 @51 + AVIStreamReadFormat@16 @52 + AVIStreamRelease@4 @53 + AVIStreamSampleToTime@8 @54 + AVIStreamSetFormat@16 @55 + AVIStreamStart@4 @56 + AVIStreamTimeToSample@8 @57 + AVIStreamWrite@32 @58 + AVIStreamWriteData@16 @59 + CLSID_AVISimpleUnMarshal @60 DATA + CreateEditableStream@8 @61 + DllCanUnloadNow@0 @62 PRIVATE + DllGetClassObject@12 @63 PRIVATE + DllRegisterServer@0 @64 PRIVATE + DllUnregisterServer@0 @65 PRIVATE + EditStreamClone@8 @66 + EditStreamCopy@16 @67 + EditStreamCut@16 @68 + EditStreamPaste@24 @69 + EditStreamSetInfo@12=EditStreamSetInfoA@12 @70 + EditStreamSetInfoA@12 @71 + EditStreamSetInfoW@12 @72 + EditStreamSetName@8=EditStreamSetNameA@8 @73 + EditStreamSetNameA@8 @74 + EditStreamSetNameW@8 @75 + IID_IAVIEditStream @76 DATA + IID_IAVIFile @77 DATA + IID_IAVIStream @78 DATA + IID_IGetFrame @79 DATA diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavrt.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavrt.def new file mode 100644 index 0000000..ff47c90 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libavrt.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/avrt/avrt.spec; do not edit! + +LIBRARY avrt.dll + +EXPORTS + AvQuerySystemResponsiveness@8 @1 + AvRevertMmThreadCharacteristics@4 @2 + AvSetMmThreadCharacteristicsA@8 @12 + AvSetMmThreadCharacteristicsW@8 @13 + AvSetMmThreadPriority@8 @14 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libbcrypt.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libbcrypt.def new file mode 100644 index 0000000..6b69fb1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libbcrypt.def @@ -0,0 +1,22 @@ +; File generated automatically from ./dlls/bcrypt/bcrypt.spec; do not edit! + +LIBRARY bcrypt.dll + +EXPORTS + BCryptCloseAlgorithmProvider@8 @3 + BCryptCreateHash@28 @7 + BCryptDecrypt@40 @8 + BCryptDestroyHash@4 @11 + BCryptDestroyKey@4 @12 + BCryptDuplicateHash@20 @14 + BCryptEncrypt@40 @16 + BCryptEnumAlgorithms@16 @17 + BCryptFinishHash@16 @25 + BCryptGenRandom@16 @27 + BCryptGenerateSymmetricKey@28 @29 + BCryptGetFipsAlgorithmMode@4 @30 + BCryptGetProperty@24 @31 + BCryptHash@28 @32 + BCryptHashData@16 @33 + BCryptOpenAlgorithmProvider@16 @36 + BCryptSetProperty@20 @49 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcabinet.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcabinet.def new file mode 100644 index 0000000..b387d36 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcabinet.def @@ -0,0 +1,17 @@ +; File generated automatically from ./dlls/cabinet/cabinet.spec; do not edit! + +LIBRARY cabinet.dll + +EXPORTS + DllGetVersion@4 @2 PRIVATE + Extract@8 @3 + FCICreate @10 + FCIAddFile @11 + FCIFlushFolder @12 + FCIFlushCabinet @13 + FCIDestroy @14 + FDICreate @20 + FDIIsCabinet @21 + FDICopy @22 + FDIDestroy @23 + FDITruncateCabinet @24 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcapi2032.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcapi2032.def new file mode 100644 index 0000000..36f20a4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcapi2032.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/capi2032/capi2032.spec; do not edit! + +LIBRARY capi2032.dll + +EXPORTS + CAPI_REGISTER@20=wrapCAPI_REGISTER@20 @1 + CAPI_RELEASE@4=wrapCAPI_RELEASE@4 @2 + CAPI_PUT_MESSAGE@8=wrapCAPI_PUT_MESSAGE@8 @3 + CAPI_GET_MESSAGE@8=wrapCAPI_GET_MESSAGE@8 @4 + CAPI_WAIT_FOR_SIGNAL@4=wrapCAPI_WAIT_FOR_SIGNAL@4 @5 + CAPI_GET_MANUFACTURER@4=wrapCAPI_GET_MANUFACTURER@4 @6 + CAPI_GET_VERSION@16=wrapCAPI_GET_VERSION@16 @7 + CAPI_GET_SERIAL_NUMBER@4=wrapCAPI_GET_SERIAL_NUMBER@4 @8 + CAPI_GET_PROFILE@8=wrapCAPI_GET_PROFILE@8 @9 + CAPI_INSTALLED@0=wrapCAPI_INSTALLED@0 @10 + CAPI_MANUFACTURER@20=wrapCAPI_MANUFACTURER@20 @99 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcards.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcards.def new file mode 100644 index 0000000..6554edb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcards.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/cards/cards.spec; do not edit! + +LIBRARY cards.dll + +EXPORTS + cdtAnimate@20 @1 + cdtDraw@24 @2 + cdtDrawExt@32 @3 + cdtInit@8 @4 + cdtTerm@0 @5 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcfgmgr32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcfgmgr32.def new file mode 100644 index 0000000..04a7182 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcfgmgr32.def @@ -0,0 +1,47 @@ +; File generated automatically from ./dlls/cfgmgr32/cfgmgr32.spec; do not edit! + +LIBRARY cfgmgr32.dll + +EXPORTS + CMP_WaitNoPendingInstallEvents@4=setupapi.CMP_WaitNoPendingInstallEvents @1 + CM_Connect_MachineA@8=setupapi.CM_Connect_MachineA @11 + CM_Connect_MachineW@8=setupapi.CM_Connect_MachineW @12 + CM_Create_DevNodeA@16=setupapi.CM_Create_DevNodeA @13 + CM_Create_DevNodeW@16=setupapi.CM_Create_DevNodeW @14 + CM_Disconnect_Machine@4=setupapi.CM_Disconnect_Machine @27 + CM_Enumerate_Classes@12=setupapi.CM_Enumerate_Classes @31 + CM_Get_Child@12=setupapi.CM_Get_Child @46 + CM_Get_Child_Ex@16=setupapi.CM_Get_Child_Ex @47 + CM_Get_Class_Registry_PropertyA@28=setupapi.CM_Get_Class_Registry_PropertyA @56 + CM_Get_Class_Registry_PropertyW@28=setupapi.CM_Get_Class_Registry_PropertyW @57 + CM_Get_DevNode_Registry_PropertyA@24=setupapi.CM_Get_DevNode_Registry_PropertyA @60 + CM_Get_DevNode_Registry_PropertyW@24=setupapi.CM_Get_DevNode_Registry_PropertyW @61 + CM_Get_DevNode_Registry_Property_ExA@28=setupapi.CM_Get_DevNode_Registry_Property_ExA @62 + CM_Get_DevNode_Registry_Property_ExW@28=setupapi.CM_Get_DevNode_Registry_Property_ExW @63 + CM_Get_DevNode_Status@16=setupapi.CM_Get_DevNode_Status @64 + CM_Get_DevNode_Status_Ex@20=setupapi.CM_Get_DevNode_Status_Ex @65 + CM_Get_Device_IDA@16=setupapi.CM_Get_Device_IDA @66 + CM_Get_Device_IDW@16=setupapi.CM_Get_Device_IDW @67 + CM_Get_Device_ID_ExA@20=setupapi.CM_Get_Device_ID_ExA @68 + CM_Get_Device_ID_ExW@20=setupapi.CM_Get_Device_ID_ExW @69 + CM_Get_Device_ID_ListA@16=setupapi.CM_Get_Device_ID_ListA @70 + CM_Get_Device_ID_ListW@16=setupapi.CM_Get_Device_ID_ListW @71 + CM_Get_Device_ID_List_SizeA@12=setupapi.CM_Get_Device_ID_List_SizeA @74 + CM_Get_Device_ID_List_SizeW@12=setupapi.CM_Get_Device_ID_List_SizeW @75 + CM_Get_Device_ID_Size@12=setupapi.CM_Get_Device_ID_Size @78 + CM_Get_Device_Interface_List_SizeA@16=setupapi.CM_Get_Device_Interface_List_SizeA @88 + CM_Get_Device_Interface_List_SizeW@16=setupapi.CM_Get_Device_Interface_List_SizeW @89 + CM_Get_Device_Interface_List_Size_ExA@20=setupapi.CM_Get_Device_Interface_List_Size_ExA @90 + CM_Get_Device_Interface_List_Size_ExW@20=setupapi.CM_Get_Device_Interface_List_Size_ExW @91 + CM_Get_Parent@12=setupapi.CM_Get_Parent @110 + CM_Get_Sibling_Ex@16=setupapi.CM_Get_Sibling_Ex @117 + CM_Get_Version@0=setupapi.CM_Get_Version @118 + CM_Locate_DevNodeA@12=setupapi.CM_Locate_DevNodeA @123 + CM_Locate_DevNodeW@12=setupapi.CM_Locate_DevNodeW @124 + CM_Locate_DevNode_ExA@16=setupapi.CM_Locate_DevNode_ExA @125 + CM_Locate_DevNode_ExW@16=setupapi.CM_Locate_DevNode_ExW @126 + CM_Open_DevNode_Key@24=setupapi.CM_Open_DevNode_Key @137 + CM_Reenumerate_DevNode@8=setupapi.CM_Reenumerate_DevNode @145 + CM_Reenumerate_DevNode_Ex@12=setupapi.CM_Reenumerate_DevNode_Ex @146 + CM_Set_Class_Registry_PropertyA@24=setupapi.CM_Set_Class_Registry_PropertyA @162 + CM_Set_Class_Registry_PropertyW@24=setupapi.CM_Set_Class_Registry_PropertyW @163 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libclusapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libclusapi.def new file mode 100644 index 0000000..38a7886 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libclusapi.def @@ -0,0 +1,12 @@ +; File generated automatically from ./dlls/clusapi/clusapi.spec; do not edit! + +LIBRARY clusapi.dll + +EXPORTS + CloseCluster@4 @6 + ClusterCloseEnum@4 @13 + ClusterEnum@20 @15 + ClusterOpenEnum@8 @33 + GetClusterInformation@16 @73 + GetNodeClusterState@8 @90 + OpenCluster@4 @96 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomctl32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomctl32.def new file mode 100644 index 0000000..b8e3826 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomctl32.def @@ -0,0 +1,190 @@ +; File generated automatically from ./dlls/comctl32/comctl32.spec; do not edit! + +LIBRARY comctl32.dll + +EXPORTS + MenuHelp@28 @2 + ShowHideMenuCtl@12 @3 + GetEffectiveClientRect@12 @4 + DrawStatusTextA@16 @5 + CreateStatusWindowA@16 @6 + CreateToolbar@32 @7 + CreateMappedBitmap@20 @8 + DPA_LoadStream@16 @9 NONAME + DPA_SaveStream@16 @10 NONAME + DPA_Merge@24 @11 NONAME + MakeDragList@4 @13 + LBItemFromPt@16 @14 + DrawInsert@12 @15 + CreateUpDownControl@48 @16 + InitCommonControls@0 @17 + Alloc@4 @71 NONAME + ReAlloc@8 @72 NONAME + Free@4 @73 NONAME + GetSize@4 @74 NONAME + CreateMRUListA@4 @151 NONAME + FreeMRUList@4 @152 NONAME + AddMRUStringA@8 @153 NONAME + EnumMRUListA@16 @154 NONAME + FindMRUStringA@12 @155 NONAME + DelMRUString@8 @156 NONAME + CreateMRUListLazyA@16 @157 NONAME + AddMRUData@12 @167 NONAME + FindMRUData@16 @169 NONAME + Str_GetPtrA@12 @233 NONAME + Str_SetPtrA@8 @234 NONAME + Str_GetPtrW@12 @235 NONAME + Str_SetPtrW@8 @236 NONAME + DSA_Create@8 @320 NONAME + DSA_Destroy@4 @321 NONAME + DSA_GetItem@12 @322 NONAME + DSA_GetItemPtr@8 @323 NONAME + DSA_InsertItem@12 @324 NONAME + DSA_SetItem@12 @325 NONAME + DSA_DeleteItem@8 @326 NONAME + DSA_DeleteAllItems@4 @327 NONAME + DPA_Create@4 @328 NONAME + DPA_Destroy@4 @329 NONAME + DPA_Grow@8 @330 NONAME + DPA_Clone@8 @331 NONAME + DPA_GetPtr@8 @332 NONAME + DPA_GetPtrIndex@8 @333 NONAME + DPA_InsertPtr@12 @334 NONAME + DPA_SetPtr@12 @335 NONAME + DPA_DeletePtr@8 @336 NONAME + DPA_DeleteAllPtrs@4 @337 NONAME + DPA_Sort@12 @338 NONAME + DPA_Search@24 @339 NONAME + DPA_CreateEx@8 @340 NONAME + SendNotify@16 @341 NONAME + SendNotifyEx@20 @342 NONAME + TaskDialog@32 @344 NONAME + TaskDialogIndirect@16 @345 NONAME + StrChrA@8 @350 NONAME PRIVATE + StrRChrA@12 @351 NONAME PRIVATE + StrCmpNA@12 @352 NONAME PRIVATE + StrCmpNIA@12 @353 NONAME PRIVATE + StrStrA@8 @354 NONAME PRIVATE + StrStrIA@8 @355 NONAME PRIVATE + StrCSpnA@8 @356 NONAME PRIVATE + StrToIntA@4 @357 NONAME PRIVATE + StrChrW@8 @358 NONAME PRIVATE + StrRChrW@12 @359 NONAME PRIVATE + StrCmpNW@12 @360 NONAME PRIVATE + StrCmpNIW@12 @361 NONAME PRIVATE + StrStrW@8 @362 NONAME PRIVATE + StrStrIW@8 @363 NONAME PRIVATE + StrCSpnW@8 @364 NONAME PRIVATE + StrToIntW@4 @365 NONAME PRIVATE + StrChrIA@8 @366 NONAME PRIVATE + StrChrIW@8 @367 NONAME PRIVATE + StrRChrIA@12 @368 NONAME PRIVATE + StrRChrIW@12 @369 NONAME PRIVATE + StrRStrIA@12 @372 NONAME PRIVATE + StrRStrIW@12 @373 NONAME PRIVATE + StrCSpnIA@8 @374 NONAME PRIVATE + StrCSpnIW@8 @375 NONAME PRIVATE + IntlStrEqWorkerA@16 @376 NONAME PRIVATE + IntlStrEqWorkerW@16 @377 NONAME PRIVATE + LoadIconMetric@16 @380 NONAME + LoadIconWithScaleDown@20 @381 NONAME + SmoothScrollWindow@4 @382 NONAME + SetPathWordBreakProc@8 @384 NONAME + DPA_EnumCallback@12 @385 NONAME + DPA_DestroyCallback@12 @386 NONAME + DSA_EnumCallback@12 @387 NONAME + DSA_DestroyCallback@12 @388 NONAME + ImageList_SetColorTable@16 @390 NONAME + CreateMRUListW@4 @400 NONAME + AddMRUStringW@8 @401 NONAME + FindMRUStringW@12 @402 NONAME + EnumMRUListW@16 @403 NONAME + CreateMRUListLazyW@16 @404 NONAME + SetWindowSubclass@16 @410 NONAME + GetWindowSubclass@16 @411 NONAME + RemoveWindowSubclass@12 @412 NONAME + DefSubclassProc@16 @413 NONAME + MirrorIcon@8 @414 NONAME + DrawTextWrap@20=user32.DrawTextW @415 NONAME + DrawTextExPrivWrap@24=user32.DrawTextExW @416 NONAME + ExtTextOutWrap@32=gdi32.ExtTextOutW @417 NONAME + GetCharWidthWrap@16=gdi32.GetCharWidthW @418 NONAME + GetTextExtentPointWrap@16=gdi32.GetTextExtentPointW @419 NONAME + GetTextExtentPoint32Wrap@16=gdi32.GetTextExtentPoint32W @420 NONAME + TextOutWrap@20=gdi32.TextOutW @421 NONAME + CreatePropertySheetPage@4=CreatePropertySheetPageA@4 @12 + CreatePropertySheetPageA@4 @18 + CreatePropertySheetPageW@4 @19 + CreateStatusWindow@16=CreateStatusWindowA@16 @20 + CreateStatusWindowW@16 @21 + CreateToolbarEx@52 @22 + DestroyPropertySheetPage@4 @23 + DllGetVersion@4 @24 PRIVATE + DllInstall@8 @25 PRIVATE + DPA_GetSize@4 @26 + DrawShadowText@36 @27 + DrawStatusText@16=DrawStatusTextA@16 @28 + DrawStatusTextW@16 @29 + DSA_Clone@4 @30 + DSA_GetSize@4 @31 + FlatSB_EnableScrollBar@12 @32 + FlatSB_GetScrollInfo@12 @33 + FlatSB_GetScrollPos@8 @34 + FlatSB_GetScrollProp@12 @35 + FlatSB_GetScrollRange@16 @36 + FlatSB_SetScrollInfo@16 @37 + FlatSB_SetScrollPos@16 @38 + FlatSB_SetScrollProp@16 @39 + FlatSB_SetScrollRange@20 @40 + FlatSB_ShowScrollBar@12 @41 + GetMUILanguage@0 @42 + HIMAGELIST_QueryInterface@12 @43 + ImageList_Add@12 @44 + ImageList_AddIcon@8 @45 + ImageList_AddMasked@12 @46 + ImageList_BeginDrag@16 @47 + ImageList_CoCreateInstance@16 @48 + ImageList_Copy@20 @49 + ImageList_Create@20 @50 + ImageList_Destroy@4 @51 + ImageList_DragEnter@12 @52 + ImageList_DragLeave@4 @53 + ImageList_DragMove@8 @54 + ImageList_DragShowNolock@4 @55 + ImageList_Draw@24 @56 + ImageList_DrawEx@40 @57 + ImageList_DrawIndirect@4 @58 + ImageList_Duplicate@4 @59 + ImageList_EndDrag@0 @60 + ImageList_GetBkColor@4 @61 + ImageList_GetDragImage@8 @62 + ImageList_GetFlags@4 @63 + ImageList_GetIcon@12 @64 + ImageList_GetIconSize@12 @65 + ImageList_GetImageCount@4 @66 + ImageList_GetImageInfo@12 @67 + ImageList_GetImageRect@12 @68 + ImageList_LoadImage@28=ImageList_LoadImageA@28 @69 + ImageList_LoadImageA@28 @70 + ImageList_LoadImageW@28 @75 + ImageList_Merge@24 @76 + ImageList_Read@4 @77 + ImageList_Remove@8 @78 + ImageList_Replace@16 @79 + ImageList_ReplaceIcon@12 @80 + ImageList_SetBkColor@8 @81 + ImageList_SetDragCursorImage@16 @82 + ImageList_SetFilter@12 @83 + ImageList_SetFlags@8 @84 + ImageList_SetIconSize@12 @85 + ImageList_SetImageCount@8 @86 + ImageList_SetOverlayImage@12 @87 + ImageList_Write@8 @88 + InitCommonControlsEx@4 @89 + InitMUILanguage@4 @90 + InitializeFlatSB@4 @91 + PropertySheet@4=PropertySheetA@4 @92 + PropertySheetA@4 @93 + PropertySheetW@4 @94 + UninitializeFlatSB@4 @95 + _TrackMouseEvent@4 @96 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomdlg32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomdlg32.def new file mode 100644 index 0000000..0bc8362 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomdlg32.def @@ -0,0 +1,29 @@ +; File generated automatically from ./dlls/comdlg32/comdlg32.spec; do not edit! + +LIBRARY comdlg32.dll + +EXPORTS + ChooseColorA@4 @1 + ChooseColorW@4 @2 + ChooseFontA@4 @3 + ChooseFontW@4 @4 + CommDlgExtendedError@0 @5 + DllGetClassObject@12 @6 PRIVATE + DllRegisterServer@0 @7 PRIVATE + DllUnregisterServer@0 @8 PRIVATE + FindTextA@4 @9 + FindTextW@4 @10 + GetFileTitleA@12 @11 + GetFileTitleW@12 @12 + GetOpenFileNameA@4 @13 + GetOpenFileNameW@4 @14 + GetSaveFileNameA@4 @15 + GetSaveFileNameW@4 @16 + PageSetupDlgA@4 @18 + PageSetupDlgW@4 @19 + PrintDlgA@4 @20 + PrintDlgExA@4 @21 + PrintDlgExW@4 @22 + PrintDlgW@4 @23 + ReplaceTextA@4 @24 + ReplaceTextW@4 @25 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcompstui.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcompstui.def new file mode 100644 index 0000000..cd03570 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcompstui.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/compstui/compstui.spec; do not edit! + +LIBRARY compstui.dll + +EXPORTS + CommonPropertySheetUIA@16 @1 + CommonPropertySheetUIW@16 @2 + GetCPSUIUserData@4 @3 + SetCPSUIUserData@8 @4 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomsvcs.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomsvcs.def new file mode 100644 index 0000000..759bc8a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcomsvcs.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/comsvcs/comsvcs.spec; do not edit! + +LIBRARY comsvcs.dll + +EXPORTS + DllCanUnloadNow@0 @13 PRIVATE + DllGetClassObject@12 @14 PRIVATE + DllRegisterServer@0 @15 PRIVATE + DllUnregisterServer@0 @16 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcredui.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcredui.def new file mode 100644 index 0000000..73a262f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcredui.def @@ -0,0 +1,17 @@ +; File generated automatically from ./dlls/credui/credui.spec; do not edit! + +LIBRARY credui.dll + +EXPORTS + CredPackAuthenticationBufferW@20 @1 + CredUIConfirmCredentialsW@8 @5 + CredUIInitControls@0 @6 + CredUIParseUserNameW@20 @8 + CredUIPromptForCredentialsW@40 @10 + CredUIPromptForWindowsCredentialsW@36 @11 + CredUIReadSSOCredA@8 @12 + CredUIReadSSOCredW@8 @13 + CredUIStoreSSOCredA@16 @14 + CredUIStoreSSOCredW@16 @15 + CredUnPackAuthenticationBufferW@36 @16 + SspiPromptForCredentialsW@32 @21 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcrypt32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcrypt32.def new file mode 100644 index 0000000..412c9cd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcrypt32.def @@ -0,0 +1,210 @@ +; File generated automatically from ./dlls/crypt32/crypt32.spec; do not edit! + +LIBRARY crypt32.dll + +EXPORTS + CertAddCRLContextToStore@16 @1 + CertAddCTLContextToStore@16 @2 + CertAddCertificateContextToStore@16 @3 + CertAddCertificateLinkToStore@16 @4 + CertAddEncodedCRLToStore@24 @5 + CertAddEncodedCTLToStore@24 @6 + CertAddEncodedCertificateToStore@24 @7 + CertAddEncodedCertificateToSystemStoreA@12 @8 + CertAddEncodedCertificateToSystemStoreW@12 @9 + CertAddEnhancedKeyUsageIdentifier@8 @10 + CertAddSerializedElementToStore@32 @11 + CertAddStoreToCollection@16 @12 + CertAlgIdToOID@4 @13 + CertCloseStore@8 @14 + CertCompareCertificate@12 @15 + CertCompareCertificateName@12 @16 + CertCompareIntegerBlob@8 @17 + CertComparePublicKeyInfo@12 @18 + CertControlStore@16 @19 + CertCreateCRLContext@12 @20 + CertCreateCTLContext@12 @21 + CertCreateCertificateChainEngine@8 @22 + CertCreateCertificateContext@12 @23 + CertCreateContext@24 @24 + CertCreateSelfSignCertificate@32 @25 + CertDeleteCRLFromStore@4 @26 + CertDeleteCTLFromStore@4 @27 + CertDeleteCertificateFromStore@4 @28 + CertDuplicateCRLContext@4 @29 + CertDuplicateCTLContext@4 @30 + CertDuplicateCertificateChain@4 @31 + CertDuplicateCertificateContext@4 @32 + CertDuplicateStore@4 @33 + CertEnumCRLContextProperties@8 @34 + CertEnumCRLsInStore@8 @35 + CertEnumCTLContextProperties@8 @36 + CertEnumCTLsInStore@8 @37 + CertEnumCertificateContextProperties@8 @38 + CertEnumCertificatesInStore@8 @39 + CertEnumPhysicalStore@16 @40 + CertEnumSystemStore@16 @41 + CertFindAttribute@12 @42 + CertFindCRLInStore@24 @43 + CertFindCTLInStore@24 @44 + CertFindCertificateInCRL@20 @45 + CertFindCertificateInStore@24 @46 + CertFindChainInStore@24 @47 + CertFindExtension@12 @48 + CertFindRDNAttr@8 @49 + CertFreeCRLContext@4 @51 + CertFreeCTLContext@4 @52 + CertFreeCertificateChain@4 @53 + CertFreeCertificateChainEngine@4 @54 + CertFreeCertificateContext@4 @55 + CertGetCRLContextProperty@16 @56 + CertGetCRLFromStore@16 @57 + CertGetCTLContextProperty@16 @58 + CertGetCertificateChain@32 @59 + CertGetCertificateContextProperty@16 @60 + CertGetEnhancedKeyUsage@16 @61 + CertGetIntendedKeyUsage@16 @62 + CertGetIssuerCertificateFromStore@16 @63 + CertGetNameStringA@24 @64 + CertGetNameStringW@24 @65 + CertGetPublicKeyLength@8 @66 + CertGetStoreProperty@16 @67 + CertGetSubjectCertificateFromStore@12 @68 + CertGetValidUsages@20 @69 + CertIsRDNAttrsInCertificateName@16 @70 + CertIsValidCRLForCertificate@16 @71 + CertNameToStrA@20 @72 + CertNameToStrW@20 @73 + CertOIDToAlgId@4 @74 + CertOpenStore@20 @75 + CertOpenSystemStoreA@8 @76 + CertOpenSystemStoreW@8 @77 + CertRDNValueToStrA@16 @78 + CertRDNValueToStrW@16 @79 + CertRegisterPhysicalStore@20 @80 + CertRegisterSystemStore@16 @81 + CertRemoveEnhancedKeyUsageIdentifier@8 @82 + CertRemoveStoreFromCollection@8 @83 + CertSaveStore@24 @84 + CertSerializeCRLStoreElement@16 @85 + CertSerializeCTLStoreElement@16 @86 + CertSerializeCertificateStoreElement@16 @87 + CertSetCRLContextProperty@16 @88 + CertSetCTLContextProperty@16 @89 + CertSetCertificateContextProperty@16 @90 + CertSetEnhancedKeyUsage@8 @91 + CertSetStoreProperty@16 @92 + CertStrToNameA@28 @93 + CertStrToNameW@28 @94 + CertUnregisterSystemStore@8 @95 + CertVerifyCRLRevocation@16 @96 + CertVerifyCRLTimeValidity@8 @97 + CertVerifyCTLUsage@28 @98 + CertVerifyCertificateChainPolicy@16 @99 + CertVerifyRevocation@28 @100 + CertVerifySubjectCertificateContext@12 @101 + CertVerifyTimeValidity@8 @102 + CertVerifyValidityNesting@8 @103 + CreateFileU@28=kernel32.CreateFileW @104 + CryptAcquireCertificatePrivateKey@24 @105 + CryptAcquireContextU@20=advapi32.CryptAcquireContextW @106 + CryptBinaryToStringA@20 @107 + CryptBinaryToStringW@20 @108 + CryptDecodeObject@28 @112 + CryptDecodeObjectEx@32 @113 + CryptEncodeObject@20 @116 + CryptEncodeObjectEx@28 @117 + CryptEncryptMessage@28 @118 + CryptEnumOIDInfo@16 @120 + CryptExportPublicKeyInfo@20 @123 + CryptExportPublicKeyInfoEx@32 @124 + CryptFindCertificateKeyProvInfo@12 @125 + CryptFindLocalizedName@4 @126 + CryptFindOIDInfo@12 @127 + CryptFormatObject@36 @128 + CryptFreeOIDFunctionAddress@8 @129 + CryptGetDefaultOIDDllList@16 @131 + CryptGetDefaultOIDFunctionAddress@24 @132 + CryptGetMessageCertificates@20 @133 + CryptGetMessageSignerCount@12 @134 + CryptGetOIDFunctionAddress@24 @135 + CryptGetOIDFunctionValue@28 @136 + CryptHashCertificate@28 @137 + CryptHashMessage@36 @138 + CryptHashPublicKeyInfo@28 @139 + CryptHashToBeSigned@24 @140 + CryptImportPublicKeyInfo@16 @142 + CryptImportPublicKeyInfoEx@28 @143 + CryptInitOIDFunctionSet@8 @144 + CryptInstallOIDFunctionAddress@24 @145 + CryptMemAlloc@4 @147 + CryptMemFree@4 @148 + CryptMemRealloc@8 @149 + CryptMsgClose@4 @151 + CryptMsgControl@16 @152 + CryptMsgDuplicate@4 @155 + CryptMsgEncodeAndSignCTL@24 @156 + CryptMsgGetAndVerifySigner@24 @157 + CryptMsgGetParam@20 @158 + CryptMsgOpenToDecode@24 @159 + CryptMsgOpenToEncode@24 @160 + CryptMsgSignCTL@28 @161 + CryptMsgUpdate@16 @162 + CryptMsgVerifyCountersignatureEncoded@28 @163 + CryptMsgVerifyCountersignatureEncodedEx@40 @164 + CryptProtectData@28 @165 + CryptProtectMemory@12 @166 + CryptQueryObject@44 @167 + CryptRegisterDefaultOIDFunction@16 @168 + CryptRegisterOIDFunction@20 @169 + CryptRegisterOIDInfo@8 @170 + CryptSIPAddProvider@4 @171 + CryptSIPCreateIndirectData@12 @172 + CryptSIPGetSignedDataMsg@20 @173 + CryptSIPLoad@12 @174 + CryptSIPPutSignedDataMsg@20 @175 + CryptSIPRemoveProvider@4 @176 + CryptSIPRemoveSignedDataMsg@8 @177 + CryptSIPRetrieveSubjectGuid@12 @178 + CryptSIPVerifyIndirectData@8 @179 + CryptSetOIDFunctionValue@28 @181 + CryptSignAndEncodeCertificate@36 @183 + CryptSignCertificate@36 @185 + CryptSignMessage@28 @187 + CryptStringToBinaryA@28 @189 + CryptStringToBinaryW@28 @190 + CryptUnprotectData@28 @191 + CryptUnprotectMemory@12 @192 + CryptUnregisterDefaultOIDFunction@12 @193 + CryptUnregisterOIDFunction@12 @194 + CryptVerifyCertificateSignature@20 @196 + CryptVerifyCertificateSignatureEx@32 @197 + CryptVerifyDetachedMessageHash@32 @198 + CryptVerifyDetachedMessageSignature@32 @199 + CryptVerifyMessageHash@28 @200 + CryptVerifyMessageSignature@28 @201 + I_CertUpdateStore@16 @204 + I_CryptAllocTls@0 @205 + I_CryptCreateLruCache@8 @206 + I_CryptCreateLruEntry@12 @207 + I_CryptDetachTls@4 @208 + I_CryptFindLruEntry@8 @209 + I_CryptFindLruEntryData@12 @210 + I_CryptFlushLruCache@12 @211 + I_CryptFreeLruCache@12 @212 + I_CryptFreeTls@8 @213 + I_CryptGetAsn1Decoder@4 @214 + I_CryptGetAsn1Encoder@4 @215 + I_CryptGetDefaultCryptProv@4 @216 + I_CryptGetOssGlobal@4 @218 + I_CryptGetTls@4 @219 + I_CryptInstallAsn1Module@12 @221 + I_CryptInstallOssGlobal@12 @222 + I_CryptReadTrustedPublisherDWORDValueFromRegistry@8 @223 + I_CryptSetTls@8 @225 + I_CryptUninstallAsn1Module@4 @226 + PFXExportCertStore@16 @228 + PFXExportCertStoreEx@20 @229 + PFXImportCertStore@12 @230 + PFXIsPFXBlob@4 @231 + PFXVerifyPassword@12 @232 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptdll.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptdll.def new file mode 100644 index 0000000..9e9e72a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptdll.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/cryptdll/cryptdll.spec; do not edit! + +LIBRARY cryptdll.dll + +EXPORTS + MD5Final@4=advapi32.MD5Final @12 + MD5Init@4=advapi32.MD5Init @13 + MD5Update@12=advapi32.MD5Update @14 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptnet.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptnet.def new file mode 100644 index 0000000..4da4316 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptnet.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/cryptnet/cryptnet.spec; do not edit! + +LIBRARY cryptnet.dll + +EXPORTS + CertDllVerifyRevocation@28 @2 + CryptGetObjectUrl@32 @7 + CryptRetrieveObjectByUrlA@36 @10 + CryptRetrieveObjectByUrlW@36 @11 + DllRegisterServer@0 @13 PRIVATE + DllUnregisterServer@0 @14 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptui.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptui.def new file mode 100644 index 0000000..28d720f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libcryptui.def @@ -0,0 +1,18 @@ +; File generated automatically from ./dlls/cryptui/cryptui.spec; do not edit! + +LIBRARY cryptui.dll + +EXPORTS + CryptUIDlgCertMgr@4 @2 + CryptUIDlgSelectCertificateA@4 @5 + CryptUIDlgSelectCertificateFromStore@28 @6 + CryptUIDlgSelectCertificateW@4 @7 + CryptUIDlgSelectStoreA@4 @8 + CryptUIDlgSelectStoreW@4 @9 + CryptUIDlgViewCertificateA@8 @14 + CryptUIDlgViewCertificateW@8 @17 + CryptUIDlgViewContext@24 @18 + CryptUIDlgViewSignerInfoA@4 @19 + CryptUIWizDigitalSign@20 @33 + CryptUIWizExport@20 @34 + CryptUIWizImport@20 @37 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd2d1.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd2d1.def new file mode 100644 index 0000000..1060b18 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd2d1.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/d2d1/d2d1.spec; do not edit! + +LIBRARY d2d1.dll + +EXPORTS + D2D1CreateFactory@16 @1 + D2D1MakeRotateMatrix@16 @2 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10.def new file mode 100644 index 0000000..c4d198d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10.def @@ -0,0 +1,30 @@ +; File generated automatically from ./dlls/d3d10/d3d10.spec; do not edit! + +LIBRARY d3d10.dll + +EXPORTS + D3D10CompileEffectFromMemory@36 @1 + D3D10CompileShader@40 @2 + D3D10CreateBlob@8=d3dcompiler_43.D3DCreateBlob @3 + D3D10CreateDevice@24 @4 + D3D10CreateDeviceAndSwapChain@32 @5 + D3D10CreateEffectFromMemory@24 @6 + D3D10CreateEffectPoolFromMemory@20 @7 + D3D10CreateStateBlock@12 @8 + D3D10DisassembleShader@20 @10 + D3D10GetGeometryShaderProfile@4 @11 + D3D10GetInputAndOutputSignatureBlob@12=d3dcompiler_43.D3DGetInputAndOutputSignatureBlob @12 + D3D10GetInputSignatureBlob@12=d3dcompiler_43.D3DGetInputSignatureBlob @13 + D3D10GetOutputSignatureBlob@12=d3dcompiler_43.D3DGetOutputSignatureBlob @14 + D3D10GetPixelShaderProfile@4 @15 + D3D10GetShaderDebugInfo@12=d3dcompiler_43.D3DGetDebugInfo @16 + D3D10GetVertexShaderProfile@4 @18 + D3D10ReflectShader@12 @20 + D3D10StateBlockMaskDifference@12 @22 + D3D10StateBlockMaskDisableAll@4 @23 + D3D10StateBlockMaskDisableCapture@16 @24 + D3D10StateBlockMaskEnableAll@4 @25 + D3D10StateBlockMaskEnableCapture@16 @26 + D3D10StateBlockMaskGetSetting@12 @27 + D3D10StateBlockMaskIntersect@12 @28 + D3D10StateBlockMaskUnion@12 @29 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10_1.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10_1.def new file mode 100644 index 0000000..789e1e7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10_1.def @@ -0,0 +1,18 @@ +; File generated automatically from ./dlls/d3d10_1/d3d10_1.spec; do not edit! + +LIBRARY d3d10_1.dll + +EXPORTS + D3D10CreateDevice1@28 @5 + D3D10CreateDeviceAndSwapChain1@36 @6 + D3D10CreateEffectFromMemory@24=d3d10.D3D10CreateEffectFromMemory @7 + D3D10CreateEffectPoolFromMemory@20=d3d10.D3D10CreateEffectPoolFromMemory @8 + D3D10CreateStateBlock@12=d3d10.D3D10CreateStateBlock @9 + D3D10StateBlockMaskDifference@12=d3d10.D3D10StateBlockMaskDifference @23 + D3D10StateBlockMaskDisableAll@4=d3d10.D3D10StateBlockMaskDisableAll @24 + D3D10StateBlockMaskDisableCapture@16=d3d10.D3D10StateBlockMaskDisableCapture @25 + D3D10StateBlockMaskEnableAll@4=d3d10.D3D10StateBlockMaskEnableAll @26 + D3D10StateBlockMaskEnableCapture@16=d3d10.D3D10StateBlockMaskEnableCapture @27 + D3D10StateBlockMaskGetSetting@12=d3d10.D3D10StateBlockMaskGetSetting @28 + D3D10StateBlockMaskIntersect@12=d3d10.D3D10StateBlockMaskIntersect @29 + D3D10StateBlockMaskUnion@12=d3d10.D3D10StateBlockMaskUnion @30 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10core.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10core.def new file mode 100644 index 0000000..35f508b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d10core.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/d3d10core/d3d10core.spec; do not edit! + +LIBRARY d3d10core.dll + +EXPORTS + D3D10CoreCreateDevice@20 @1 + D3D10CoreRegisterLayers@0 @2 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d11.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d11.def new file mode 100644 index 0000000..bb4c7e5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d11.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/d3d11/d3d11.spec; do not edit! + +LIBRARY d3d11.dll + +EXPORTS + D3D11CoreCreateDevice@24 @1 + D3D11CoreRegisterLayers@0 @4 + D3D11CreateDevice@40 @5 + D3D11CreateDeviceAndSwapChain@48 @6 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d8.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d8.def new file mode 100644 index 0000000..a9a2bb3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d8.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/d3d8/d3d8.spec; do not edit! + +LIBRARY d3d8.dll + +EXPORTS + D3D8GetSWInfo@0 @1 + DebugSetMute@0 @2 + Direct3DCreate8@4 @3 + ValidatePixelShader@16 @4 + ValidateVertexShader@20 @5 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d9.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d9.def new file mode 100644 index 0000000..40d8522 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3d9.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/d3d9/d3d9.spec; do not edit! + +LIBRARY d3d9.dll + +EXPORTS + Direct3DShaderValidatorCreate9@0 @1 + D3DPERF_BeginEvent@8 @4 + D3DPERF_EndEvent@0 @5 + D3DPERF_GetStatus@0 @6 + D3DPERF_QueryRepeatFrame@0 @7 + D3DPERF_SetMarker@8 @8 + D3DPERF_SetOptions@4 @9 + D3DPERF_SetRegion@8 @10 + DebugSetMute@0 @12 + Direct3DCreate9@4 @13 + Direct3DCreate9Ex@8 @14 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dcompiler.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dcompiler.def new file mode 100644 index 0000000..a2af0d4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dcompiler.def @@ -0,0 +1,17 @@ +; File generated automatically from ./dlls/d3dcompiler_43/d3dcompiler_43.spec; do not edit! + +LIBRARY d3dcompiler_43.dll + +EXPORTS + D3DAssemble@32 @1 + D3DCompile@44 @3 + D3DCreateBlob@8 @5 + D3DDisassemble@20 @8 + D3DGetBlobPart@20 @9 + D3DGetDebugInfo@12 @10 + D3DGetInputAndOutputSignatureBlob@12 @11 + D3DGetInputSignatureBlob@12 @12 + D3DGetOutputSignatureBlob@12 @13 + D3DPreprocess@28 @14 + D3DReflect@16 @15 + D3DStripShader@16 @17 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3drm.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3drm.def new file mode 100644 index 0000000..efeb1bf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3drm.def @@ -0,0 +1,28 @@ +; File generated automatically from ./dlls/d3drm/d3drm.spec; do not edit! + +LIBRARY d3drm.dll + +EXPORTS + D3DRMColorGetAlpha@4 @1 + D3DRMColorGetBlue@4 @2 + D3DRMColorGetGreen@4 @3 + D3DRMColorGetRed@4 @4 + D3DRMCreateColorRGB@12 @5 + D3DRMCreateColorRGBA@16 @6 + D3DRMMatrixFromQuaternion@8 @7 + D3DRMQuaternionFromRotation@12 @8 + D3DRMQuaternionMultiply@12 @9 + D3DRMQuaternionSlerp@16 @10 + D3DRMVectorAdd@12 @11 + D3DRMVectorCrossProduct@12 @12 + D3DRMVectorDotProduct@8 @13 + D3DRMVectorModulus@4 @14 + D3DRMVectorNormalize@4 @15 + D3DRMVectorRandom@4 @16 + D3DRMVectorReflect@12 @17 + D3DRMVectorRotate@16 @18 + D3DRMVectorScale@12 @19 + D3DRMVectorSubtract@12 @20 + Direct3DRMCreate@4 @21 + DllCanUnloadNow@0 @22 PRIVATE + DllGetClassObject@12 @23 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx10.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx10.def new file mode 100644 index 0000000..aed91cb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx10.def @@ -0,0 +1,134 @@ +; File generated automatically from ./dlls/d3dx10_43/d3dx10_43.spec; do not edit! + +LIBRARY d3dx10_43.dll + +EXPORTS + D3DX10CheckVersion@8 @2 + D3DX10CompileFromMemory@52 @5 + D3DX10CreateAsyncFileLoaderA@8 @12 + D3DX10CreateAsyncFileLoaderW@8 @13 + D3DX10CreateAsyncMemoryLoader@12 @14 + D3DX10CreateAsyncResourceLoaderA@12 @15 + D3DX10CreateAsyncResourceLoaderW@12 @16 + D3DX10CreateDevice@20 @21 + D3DX10CreateDeviceAndSwapChain@28 @22 + D3DX10CreateEffectFromFileA@48 @23 + D3DX10CreateEffectFromFileW@48 @24 + D3DX10CreateEffectFromMemory@56 @25 + D3DX10CreateEffectPoolFromFileA@44 @28 + D3DX10CreateEffectPoolFromFileW@44 @29 + D3DX10CreateEffectPoolFromMemory@52 @30 + D3DX10CreateTextureFromMemory@28 @47 + D3DX10FilterTexture@12 @50 + D3DX10GetFeatureLevel1@8 @51 + D3DX10GetImageInfoFromMemory@20 @54 + D3DX10UnsetAllDeviceObjects@4 @67 + D3DXBoxBoundProbe@16=d3dx9_36.D3DXBoxBoundProbe @68 + D3DXColorAdjustContrast@12=d3dx9_36.D3DXColorAdjustContrast @69 + D3DXColorAdjustSaturation@12=d3dx9_36.D3DXColorAdjustSaturation @70 + D3DXComputeBoundingBox@20=d3dx9_36.D3DXComputeBoundingBox @71 + D3DXComputeBoundingSphere@20=d3dx9_36.D3DXComputeBoundingSphere @72 + D3DXCpuOptimizations@4 @73 + D3DXCreateMatrixStack@8=d3dx9_36.D3DXCreateMatrixStack @74 + D3DXFloat16To32Array@12=d3dx9_36.D3DXFloat16To32Array @75 + D3DXFloat32To16Array@12=d3dx9_36.D3DXFloat32To16Array @76 + D3DXFresnelTerm@8=d3dx9_36.D3DXFresnelTerm @77 + D3DXIntersectTri@32=d3dx9_36.D3DXIntersectTri @78 + D3DXMatrixAffineTransformation2D@20=d3dx9_36.D3DXMatrixAffineTransformation2D @79 + D3DXMatrixAffineTransformation@20=d3dx9_36.D3DXMatrixAffineTransformation @80 + D3DXMatrixDecompose@16=d3dx9_36.D3DXMatrixDecompose @81 + D3DXMatrixDeterminant@4=d3dx9_36.D3DXMatrixDeterminant @82 + D3DXMatrixInverse@12=d3dx9_36.D3DXMatrixInverse @83 + D3DXMatrixLookAtLH@16=d3dx9_36.D3DXMatrixLookAtLH @84 + D3DXMatrixLookAtRH@16=d3dx9_36.D3DXMatrixLookAtRH @85 + D3DXMatrixMultiply@12=d3dx9_36.D3DXMatrixMultiply @86 + D3DXMatrixMultiplyTranspose@12=d3dx9_36.D3DXMatrixMultiplyTranspose @87 + D3DXMatrixOrthoLH@20=d3dx9_36.D3DXMatrixOrthoLH @88 + D3DXMatrixOrthoOffCenterLH@28=d3dx9_36.D3DXMatrixOrthoOffCenterLH @89 + D3DXMatrixOrthoOffCenterRH@28=d3dx9_36.D3DXMatrixOrthoOffCenterRH @90 + D3DXMatrixOrthoRH@20=d3dx9_36.D3DXMatrixOrthoRH @91 + D3DXMatrixPerspectiveFovLH@20=d3dx9_36.D3DXMatrixPerspectiveFovLH @92 + D3DXMatrixPerspectiveFovRH@20=d3dx9_36.D3DXMatrixPerspectiveFovRH @93 + D3DXMatrixPerspectiveLH@20=d3dx9_36.D3DXMatrixPerspectiveLH @94 + D3DXMatrixPerspectiveOffCenterLH@28=d3dx9_36.D3DXMatrixPerspectiveOffCenterLH @95 + D3DXMatrixPerspectiveOffCenterRH@28=d3dx9_36.D3DXMatrixPerspectiveOffCenterRH @96 + D3DXMatrixPerspectiveRH@20=d3dx9_36.D3DXMatrixPerspectiveRH @97 + D3DXMatrixReflect@8=d3dx9_36.D3DXMatrixReflect @98 + D3DXMatrixRotationAxis@12=d3dx9_36.D3DXMatrixRotationAxis @99 + D3DXMatrixRotationQuaternion@8=d3dx9_36.D3DXMatrixRotationQuaternion @100 + D3DXMatrixRotationX@8=d3dx9_36.D3DXMatrixRotationX @101 + D3DXMatrixRotationY@8=d3dx9_36.D3DXMatrixRotationY @102 + D3DXMatrixRotationYawPitchRoll@16=d3dx9_36.D3DXMatrixRotationYawPitchRoll @103 + D3DXMatrixRotationZ@8=d3dx9_36.D3DXMatrixRotationZ @104 + D3DXMatrixScaling@16=d3dx9_36.D3DXMatrixScaling @105 + D3DXMatrixShadow@12=d3dx9_36.D3DXMatrixShadow @106 + D3DXMatrixTransformation2D@28=d3dx9_36.D3DXMatrixTransformation2D @107 + D3DXMatrixTransformation@28=d3dx9_36.D3DXMatrixTransformation @108 + D3DXMatrixTranslation@16=d3dx9_36.D3DXMatrixTranslation @109 + D3DXMatrixTranspose@8=d3dx9_36.D3DXMatrixTranspose @110 + D3DXPlaneFromPointNormal@12=d3dx9_36.D3DXPlaneFromPointNormal @111 + D3DXPlaneFromPoints@16=d3dx9_36.D3DXPlaneFromPoints @112 + D3DXPlaneIntersectLine@16=d3dx9_36.D3DXPlaneIntersectLine @113 + D3DXPlaneNormalize@8=d3dx9_36.D3DXPlaneNormalize @114 + D3DXPlaneTransform@12=d3dx9_36.D3DXPlaneTransform @115 + D3DXPlaneTransformArray@24=d3dx9_36.D3DXPlaneTransformArray @116 + D3DXQuaternionBaryCentric@24=d3dx9_36.D3DXQuaternionBaryCentric @117 + D3DXQuaternionExp@8=d3dx9_36.D3DXQuaternionExp @118 + D3DXQuaternionInverse@8=d3dx9_36.D3DXQuaternionInverse @119 + D3DXQuaternionLn@8=d3dx9_36.D3DXQuaternionLn @120 + D3DXQuaternionMultiply@12=d3dx9_36.D3DXQuaternionMultiply @121 + D3DXQuaternionNormalize@8=d3dx9_36.D3DXQuaternionNormalize @122 + D3DXQuaternionRotationAxis@12=d3dx9_36.D3DXQuaternionRotationAxis @123 + D3DXQuaternionRotationMatrix@8=d3dx9_36.D3DXQuaternionRotationMatrix @124 + D3DXQuaternionRotationYawPitchRoll@16=d3dx9_36.D3DXQuaternionRotationYawPitchRoll @125 + D3DXQuaternionSlerp@16=d3dx9_36.D3DXQuaternionSlerp @126 + D3DXQuaternionSquad@24=d3dx9_36.D3DXQuaternionSquad @127 + D3DXQuaternionSquadSetup@28=d3dx9_36.D3DXQuaternionSquadSetup @128 + D3DXQuaternionToAxisAngle@12=d3dx9_36.D3DXQuaternionToAxisAngle @129 + D3DXSHAdd@16=d3dx9_36.D3DXSHAdd @130 + D3DXSHDot@12=d3dx9_36.D3DXSHDot @131 + D3DXSHEvalConeLight@36=d3dx9_36.D3DXSHEvalConeLight @132 + D3DXSHEvalDirection@12=d3dx9_36.D3DXSHEvalDirection @133 + D3DXSHEvalDirectionalLight@32=d3dx9_36.D3DXSHEvalDirectionalLight @134 + D3DXSHEvalHemisphereLight@28=d3dx9_36.D3DXSHEvalHemisphereLight @135 + D3DXSHEvalSphericalLight@36=d3dx9_36.D3DXSHEvalSphericalLight @136 + D3DXSHMultiply2@12=d3dx9_36.D3DXSHMultiply2 @137 + D3DXSHMultiply3@12=d3dx9_36.D3DXSHMultiply3 @138 + D3DXSHMultiply4@12=d3dx9_36.D3DXSHMultiply4 @139 + D3DXSHMultiply5@12=d3dx9_36.D3DXSHMultiply5 @140 + D3DXSHMultiply6@12=d3dx9_36.D3DXSHMultiply6 @141 + D3DXSHRotate@16=d3dx9_36.D3DXSHRotate @142 + D3DXSHRotateZ@16=d3dx9_36.D3DXSHRotateZ @143 + D3DXSHScale@16=d3dx9_36.D3DXSHScale @144 + D3DXSphereBoundProbe@16=d3dx9_36.D3DXSphereBoundProbe @145 + D3DXVec2BaryCentric@24=d3dx9_36.D3DXVec2BaryCentric @146 + D3DXVec2CatmullRom@24=d3dx9_36.D3DXVec2CatmullRom @147 + D3DXVec2Hermite@24=d3dx9_36.D3DXVec2Hermite @148 + D3DXVec2Normalize@8=d3dx9_36.D3DXVec2Normalize @149 + D3DXVec2Transform@12=d3dx9_36.D3DXVec2Transform @150 + D3DXVec2TransformArray@24=d3dx9_36.D3DXVec2TransformArray @151 + D3DXVec2TransformCoord@12=d3dx9_36.D3DXVec2TransformCoord @152 + D3DXVec2TransformCoordArray@24=d3dx9_36.D3DXVec2TransformCoordArray @153 + D3DXVec2TransformNormal@12=d3dx9_36.D3DXVec2TransformNormal @154 + D3DXVec2TransformNormalArray@24=d3dx9_36.D3DXVec2TransformNormalArray @155 + D3DXVec3BaryCentric@24=d3dx9_36.D3DXVec3BaryCentric @156 + D3DXVec3CatmullRom@24=d3dx9_36.D3DXVec3CatmullRom @157 + D3DXVec3Hermite@24=d3dx9_36.D3DXVec3Hermite @158 + D3DXVec3Normalize@8=d3dx9_36.D3DXVec3Normalize @159 + D3DXVec3Project@24=d3dx9_36.D3DXVec3Project @160 + D3DXVec3ProjectArray@36=d3dx9_36.D3DXVec3ProjectArray @161 + D3DXVec3Transform@12=d3dx9_36.D3DXVec3Transform @162 + D3DXVec3TransformArray@24=d3dx9_36.D3DXVec3TransformArray @163 + D3DXVec3TransformCoord@12=d3dx9_36.D3DXVec3TransformCoord @164 + D3DXVec3TransformCoordArray@24=d3dx9_36.D3DXVec3TransformCoordArray @165 + D3DXVec3TransformNormal@12=d3dx9_36.D3DXVec3TransformNormal @166 + D3DXVec3TransformNormalArray@24=d3dx9_36.D3DXVec3TransformNormalArray @167 + D3DXVec3Unproject@24=d3dx9_36.D3DXVec3Unproject @168 + D3DXVec3UnprojectArray@36=d3dx9_36.D3DXVec3UnprojectArray @169 + D3DXVec4BaryCentric@24=d3dx9_36.D3DXVec4BaryCentric @170 + D3DXVec4CatmullRom@24=d3dx9_36.D3DXVec4CatmullRom @171 + D3DXVec4Cross@16=d3dx9_36.D3DXVec4Cross @172 + D3DXVec4Hermite@24=d3dx9_36.D3DXVec4Hermite @173 + D3DXVec4Normalize@8=d3dx9_36.D3DXVec4Normalize @174 + D3DXVec4Transform@12=d3dx9_36.D3DXVec4Transform @175 + D3DXVec4TransformArray@24=d3dx9_36.D3DXVec4TransformArray @176 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx11.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx11.def new file mode 100644 index 0000000..504a126 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx11.def @@ -0,0 +1,18 @@ +; File generated automatically from ./dlls/d3dx11_43/d3dx11_43.spec; do not edit! + +LIBRARY d3dx11_43.dll + +EXPORTS + D3DX11CheckVersion@8 @1 + D3DX11CompileFromFileA@44 @2 + D3DX11CompileFromFileW@44 @3 + D3DX11CompileFromMemory@52 @4 + D3DX11CreateAsyncFileLoaderA@8 @9 + D3DX11CreateAsyncFileLoaderW@8 @10 + D3DX11CreateAsyncMemoryLoader@12 @11 + D3DX11CreateAsyncResourceLoaderA@12 @12 + D3DX11CreateAsyncResourceLoaderW@12 @13 + D3DX11CreateTextureFromMemory@28 @25 + D3DX11FilterTexture@16 @29 + D3DX11GetImageInfoFromMemory@20 @32 + D3DX11SaveTextureToMemory@20 @44 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx9.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx9.def new file mode 100644 index 0000000..e5f6fc8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dx9.def @@ -0,0 +1,262 @@ +; File generated automatically from ./dlls/d3dx9_36/d3dx9_36.spec; do not edit! + +LIBRARY d3dx9_36.dll + +EXPORTS + D3DXAssembleShader@28 @1 + D3DXAssembleShaderFromFileA@24 @2 + D3DXAssembleShaderFromFileW@24 @3 + D3DXAssembleShaderFromResourceA@28 @4 + D3DXAssembleShaderFromResourceW@28 @5 + D3DXBoxBoundProbe@16 @6 + D3DXCheckCubeTextureRequirements@24 @7 + D3DXCheckTextureRequirements@28 @8 + D3DXCheckVersion@8 @9 + D3DXCheckVolumeTextureRequirements@32 @10 + D3DXCleanMesh@24 @11 + D3DXColorAdjustContrast@12 @12 + D3DXColorAdjustSaturation@12 @13 + D3DXCompileShader@40 @14 + D3DXCompileShaderFromFileA@36 @15 + D3DXCompileShaderFromFileW@36 @16 + D3DXCompileShaderFromResourceA@40 @17 + D3DXCompileShaderFromResourceW@40 @18 + D3DXComputeBoundingBox@20 @19 + D3DXComputeBoundingSphere@20 @20 + D3DXComputeNormals@8 @26 + D3DXComputeTangentFrameEx@64 @29 + D3DXConvertMeshSubsetToSingleStrip@20 @31 + D3DXCreateAnimationController@20 @33 + D3DXCreateBox@24 @34 + D3DXCreateBuffer@8 @35 + D3DXCreateCubeTexture@28 @37 + D3DXCreateCubeTextureFromFileA@12 @38 + D3DXCreateCubeTextureFromFileExA@52 @39 + D3DXCreateCubeTextureFromFileExW@52 @40 + D3DXCreateCubeTextureFromFileInMemory@16 @41 + D3DXCreateCubeTextureFromFileInMemoryEx@56 @42 + D3DXCreateCubeTextureFromFileW@12 @43 + D3DXCreateCylinder@32 @48 + D3DXCreateEffect@36 @49 + D3DXCreateEffectCompiler@28 @50 + D3DXCreateEffectCompilerFromFileA@24 @51 + D3DXCreateEffectCompilerFromFileW@24 @52 + D3DXCreateEffectCompilerFromResourceA@28 @53 + D3DXCreateEffectCompilerFromResourceW@28 @54 + D3DXCreateEffectEx@40 @55 + D3DXCreateEffectFromFileA@32 @56 + D3DXCreateEffectFromFileExA@36 @57 + D3DXCreateEffectFromFileExW@36 @58 + D3DXCreateEffectFromFileW@32 @59 + D3DXCreateEffectFromResourceA@36 @60 + D3DXCreateEffectFromResourceExA@40 @61 + D3DXCreateEffectFromResourceExW@40 @62 + D3DXCreateEffectFromResourceW@36 @63 + D3DXCreateEffectPool@4 @64 + D3DXCreateFontA@48 @65 + D3DXCreateFontIndirectA@12 @66 + D3DXCreateFontIndirectW@12 @67 + D3DXCreateFontW@48 @68 + D3DXCreateFragmentLinker@12 @69 + D3DXCreateFragmentLinkerEx@16 @70 + D3DXCreateLine@8 @72 + D3DXCreateMatrixStack@8 @73 + D3DXCreateMesh@24 @74 + D3DXCreateMeshFVF@24 @75 + D3DXCreatePolygon@20 @83 + D3DXCreateRenderToEnvMap@28 @84 + D3DXCreateRenderToSurface@28 @85 + D3DXCreateSkinInfo@16 @87 + D3DXCreateSkinInfoFVF@16 @88 + D3DXCreateSphere@24 @90 + D3DXCreateSprite@8 @91 + D3DXCreateTeapot@12 @92 + D3DXCreateTextA@32 @93 + D3DXCreateTextW@32 @94 + D3DXCreateTexture@32 @95 + D3DXCreateTextureFromFileA@12 @96 + D3DXCreateTextureFromFileExA@56 @97 + D3DXCreateTextureFromFileExW@56 @98 + D3DXCreateTextureFromFileInMemory@16 @99 + D3DXCreateTextureFromFileInMemoryEx@60 @100 + D3DXCreateTextureFromFileW@12 @101 + D3DXCreateTextureFromResourceA@16 @102 + D3DXCreateTextureFromResourceExA@60 @103 + D3DXCreateTextureFromResourceExW@60 @104 + D3DXCreateTextureFromResourceW@16 @105 + D3DXCreateTextureShader@8 @107 + D3DXCreateTorus@28 @108 + D3DXCreateVolumeTexture@36 @109 + D3DXCreateVolumeTextureFromFileA@12 @110 + D3DXCreateVolumeTextureFromFileExA@60 @111 + D3DXCreateVolumeTextureFromFileExW@60 @112 + D3DXCreateVolumeTextureFromFileInMemory@16 @113 + D3DXCreateVolumeTextureFromFileInMemoryEx@64 @114 + D3DXCreateVolumeTextureFromFileW@12 @115 + D3DXDebugMute@4 @120 + D3DXDeclaratorFromFVF@8 @121 + D3DXDisassembleEffect@12 @122 + D3DXDisassembleShader@16 @123 + D3DXFVFFromDeclarator@8 @124 + D3DXFileCreate@4 @125 + D3DXFillCubeTexture@12 @126 + D3DXFillCubeTextureTX@8 @127 + D3DXFillTexture@12 @128 + D3DXFillTextureTX@8 @129 + D3DXFillVolumeTexture@12 @130 + D3DXFillVolumeTextureTX@8 @131 + D3DXFilterTexture@16 @132 + D3DXFindShaderComment@16 @133 + D3DXFloat16To32Array@12 @134 + D3DXFloat32To16Array@12 @135 + D3DXFrameDestroy@8 @138 + D3DXFresnelTerm@8 @142 + D3DXGetDeclLength@4 @150 + D3DXGetDeclVertexSize@8 @151 + D3DXGetDriverLevel@4 @152 + D3DXGetFVFVertexSize@4 @153 + D3DXGetImageInfoFromFileA@8 @154 + D3DXGetImageInfoFromFileInMemory@12 @155 + D3DXGetImageInfoFromFileW@8 @156 + D3DXGetImageInfoFromResourceA@12 @157 + D3DXGetImageInfoFromResourceW@12 @158 + D3DXGetPixelShaderProfile@4 @159 + D3DXGetShaderConstantTable@8 @160 + D3DXGetShaderConstantTableEx@12 @161 + D3DXGetShaderSamplers@12 @164 + D3DXGetShaderSize@4 @165 + D3DXGetShaderVersion@4 @166 + D3DXGetVertexShaderProfile@4 @167 + D3DXIntersect@40 @168 + D3DXIntersectTri@32 @170 + D3DXLoadMeshFromXA@32 @171 + D3DXLoadMeshFromXInMemory@36 @172 + D3DXLoadMeshFromXResource@40 @173 + D3DXLoadMeshFromXW@32 @174 + D3DXLoadMeshHierarchyFromXA@28 @176 + D3DXLoadMeshHierarchyFromXInMemory@32 @177 + D3DXLoadMeshHierarchyFromXW@28 @178 + D3DXLoadSkinMeshFromXof@36 @184 + D3DXLoadSurfaceFromFileA@32 @185 + D3DXLoadSurfaceFromFileInMemory@36 @186 + D3DXLoadSurfaceFromFileW@32 @187 + D3DXLoadSurfaceFromMemory@40 @188 + D3DXLoadSurfaceFromResourceA@36 @189 + D3DXLoadSurfaceFromResourceW@36 @190 + D3DXLoadSurfaceFromSurface@32 @191 + D3DXLoadVolumeFromFileA@32 @192 + D3DXLoadVolumeFromFileInMemory@36 @193 + D3DXLoadVolumeFromFileW@32 @194 + D3DXLoadVolumeFromMemory@44 @195 + D3DXLoadVolumeFromVolume@32 @198 + D3DXMatrixAffineTransformation@20 @199 + D3DXMatrixAffineTransformation2D@20 @200 + D3DXMatrixDecompose@16 @201 + D3DXMatrixDeterminant@4 @202 + D3DXMatrixInverse@12 @203 + D3DXMatrixLookAtLH@16 @204 + D3DXMatrixLookAtRH@16 @205 + D3DXMatrixMultiply@12 @206 + D3DXMatrixMultiplyTranspose@12 @207 + D3DXMatrixOrthoLH@20 @208 + D3DXMatrixOrthoOffCenterLH@28 @209 + D3DXMatrixOrthoOffCenterRH@28 @210 + D3DXMatrixOrthoRH@20 @211 + D3DXMatrixPerspectiveFovLH@20 @212 + D3DXMatrixPerspectiveFovRH@20 @213 + D3DXMatrixPerspectiveLH@20 @214 + D3DXMatrixPerspectiveOffCenterLH@28 @215 + D3DXMatrixPerspectiveOffCenterRH@28 @216 + D3DXMatrixPerspectiveRH@20 @217 + D3DXMatrixReflect@8 @218 + D3DXMatrixRotationAxis@12 @219 + D3DXMatrixRotationQuaternion@8 @220 + D3DXMatrixRotationX@8 @221 + D3DXMatrixRotationY@8 @222 + D3DXMatrixRotationYawPitchRoll@16 @223 + D3DXMatrixRotationZ@8 @224 + D3DXMatrixScaling@16 @225 + D3DXMatrixShadow@12 @226 + D3DXMatrixTransformation@28 @227 + D3DXMatrixTransformation2D@28 @228 + D3DXMatrixTranslation@16 @229 + D3DXMatrixTranspose@8 @230 + D3DXOptimizeFaces@20 @231 + D3DXPlaneFromPointNormal@12 @233 + D3DXPlaneFromPoints@16 @234 + D3DXPlaneIntersectLine@16 @235 + D3DXPlaneNormalize@8 @236 + D3DXPlaneTransform@12 @237 + D3DXPlaneTransformArray@24 @238 + D3DXPreprocessShader@24 @239 + D3DXPreprocessShaderFromFileA@20 @240 + D3DXPreprocessShaderFromFileW@20 @241 + D3DXPreprocessShaderFromResourceA@24 @242 + D3DXPreprocessShaderFromResourceW@24 @243 + D3DXQuaternionBaryCentric@24 @244 + D3DXQuaternionExp@8 @245 + D3DXQuaternionInverse@8 @246 + D3DXQuaternionLn@8 @247 + D3DXQuaternionMultiply@12 @248 + D3DXQuaternionNormalize@8 @249 + D3DXQuaternionRotationAxis@12 @250 + D3DXQuaternionRotationMatrix@8 @251 + D3DXQuaternionRotationYawPitchRoll@16 @252 + D3DXQuaternionSlerp@16 @253 + D3DXQuaternionSquad@24 @254 + D3DXQuaternionSquadSetup@28 @255 + D3DXQuaternionToAxisAngle@12 @256 + D3DXSHAdd@16 @258 + D3DXSHDot@12 @259 + D3DXSHEvalConeLight@36 @260 + D3DXSHEvalDirection@12 @261 + D3DXSHEvalDirectionalLight@32 @262 + D3DXSHEvalHemisphereLight@52 @263 + D3DXSHEvalSphericalLight@36 @264 + D3DXSHMultiply2@12 @265 + D3DXSHMultiply3@12 @266 + D3DXSHMultiply4@12 @267 + D3DXSHRotate@16 @273 + D3DXSHRotateZ@16 @274 + D3DXSHScale@16 @275 + D3DXSaveSurfaceToFileA@20 @284 + D3DXSaveSurfaceToFileInMemory@20 @285 + D3DXSaveSurfaceToFileW@20 @286 + D3DXSaveTextureToFileA@16 @287 + D3DXSaveTextureToFileInMemory@16 @288 + D3DXSaveTextureToFileW@16 @289 + D3DXSphereBoundProbe@16 @294 + D3DXTessellateNPatches@24 @296 + D3DXValidMesh@12 @303 + D3DXVec2BaryCentric@24 @305 + D3DXVec2CatmullRom@24 @306 + D3DXVec2Hermite@24 @307 + D3DXVec2Normalize@8 @308 + D3DXVec2Transform@12 @309 + D3DXVec2TransformArray@24 @310 + D3DXVec2TransformCoord@12 @311 + D3DXVec2TransformCoordArray@24 @312 + D3DXVec2TransformNormal@12 @313 + D3DXVec2TransformNormalArray@24 @314 + D3DXVec3BaryCentric@24 @315 + D3DXVec3CatmullRom@24 @316 + D3DXVec3Hermite@24 @317 + D3DXVec3Normalize@8 @318 + D3DXVec3Project@24 @319 + D3DXVec3ProjectArray@36 @320 + D3DXVec3Transform@12 @321 + D3DXVec3TransformArray@24 @322 + D3DXVec3TransformCoord@12 @323 + D3DXVec3TransformCoordArray@24 @324 + D3DXVec3TransformNormal@12 @325 + D3DXVec3TransformNormalArray@24 @326 + D3DXVec3Unproject@24 @327 + D3DXVec3UnprojectArray@36 @328 + D3DXVec4BaryCentric@24 @329 + D3DXVec4CatmullRom@24 @330 + D3DXVec4Cross@16 @331 + D3DXVec4Hermite@24 @332 + D3DXVec4Normalize@8 @333 + D3DXVec4Transform@12 @334 + D3DXVec4TransformArray@24 @335 + D3DXWeldVertices@28 @336 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dxof.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dxof.def new file mode 100644 index 0000000..d8f54eb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libd3dxof.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/d3dxof/d3dxof.spec; do not edit! + +LIBRARY d3dxof.dll + +EXPORTS + DirectXFileCreate@4 @1 + DllCanUnloadNow@0 @2 PRIVATE + DllGetClassObject@12 @3 PRIVATE + DllRegisterServer@0 @4 PRIVATE + DllUnregisterServer@0 @5 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdbgeng.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdbgeng.def new file mode 100644 index 0000000..95e47a0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdbgeng.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/dbgeng/dbgeng.spec; do not edit! + +LIBRARY dbgeng.dll + +EXPORTS + DebugConnect@12 @328 + DebugCreate@8 @330 + DebugCreateEx@12 @331 + DebugExtensionInitialize@8 @332 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdbghelp.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdbghelp.def new file mode 100644 index 0000000..fc54d14 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdbghelp.def @@ -0,0 +1,126 @@ +; File generated automatically from ./dlls/dbghelp/dbghelp.spec; do not edit! + +LIBRARY dbghelp.dll + +EXPORTS + EnumDirTree@24 @3 + EnumDirTreeW@24 @4 + EnumerateLoadedModules@12 @5 + EnumerateLoadedModules64@12 @6 + EnumerateLoadedModulesEx@12=EnumerateLoadedModules64@12 @7 + EnumerateLoadedModulesExW@12=EnumerateLoadedModulesW64@12 @8 + EnumerateLoadedModulesW64@12 @9 + ExtensionApiVersion@0 @10 + FindDebugInfoFile@12 @11 + FindDebugInfoFileEx@20 @12 + FindExecutableImage@12 @14 + FindExecutableImageEx@20 @15 + FindExecutableImageExW@20 @16 + GetTimestampForLoadedLibrary@4 @19 + ImageDirectoryEntryToData@16 @20 + ImageDirectoryEntryToDataEx@20 @21 + ImageNtHeader@4=ntdll.RtlImageNtHeader @22 + ImageRvaToSection@12=ntdll.RtlImageRvaToSection @23 + ImageRvaToVa@16=ntdll.RtlImageRvaToVa @24 + ImagehlpApiVersion@0 @25 + ImagehlpApiVersionEx@4 @26 + MakeSureDirectoryPathExists@4 @27 + MapDebugInformation@16 @28 + MiniDumpReadDumpStream@20 @29 + MiniDumpWriteDump@28 @30 + SearchTreeForFile@12 @31 + SearchTreeForFileW@12 @32 + StackWalk@36 @33 + StackWalk64@36 @34 + SymAddSymbol@32 @38 + SymAddSymbolW@32 @39 + SymCleanup@4 @40 + SymEnumLines@28 @43 + SymEnumSourceFiles@24 @47 + SymEnumSourceFilesW@24 @48 + SymEnumSourceLines@36 @49 + SymEnumSourceLinesW@36 @50 + SymEnumSymbols@24 @52 + SymEnumSymbolsW@24 @55 + SymEnumTypes@20 @56 + SymEnumTypesW@20 @59 + SymEnumerateModules@12 @60 + SymEnumerateModules64@12 @61 + SymEnumerateModulesW64@12 @62 + SymEnumerateSymbols@16 @63 + SymEnumerateSymbols64@20 @64 + SymFindFileInPath@40 @71 + SymFindFileInPathW@40 @72 + SymFromAddr@20 @73 + SymFromAddrW@20 @74 + SymFromIndex@20 @75 + SymFromIndexW@20 @76 + SymFromName@12 @77 + SymFunctionTableAccess@8 @81 + SymFunctionTableAccess64@12 @82 + SymGetLineFromAddr@16 @86 + SymGetLineFromAddr64@20 @87 + SymGetLineFromAddrW64@20 @88 + SymGetLineFromName@24 @89 + SymGetLineFromName64@24 @90 + SymGetLineFromNameW64@24 @91 + SymGetLineNext@8 @92 + SymGetLineNext64@8 @93 + SymGetLinePrev@8 @95 + SymGetLinePrev64@8 @96 + SymGetModuleBase@8 @98 + SymGetModuleBase64@12 @99 + SymGetModuleInfo@12 @100 + SymGetModuleInfo64@16 @101 + SymGetModuleInfoW@12 @102 + SymGetModuleInfoW64@16 @103 + SymGetOptions@0 @105 + SymGetSearchPath@12 @108 + SymGetSearchPathW@12 @109 + SymGetSourceFileToken@24 @113 + SymGetSourceFileTokenW@24 @114 + SymGetSymFromAddr@16 @118 + SymGetSymFromAddr64@20 @119 + SymGetSymFromName@12 @120 + SymGetSymFromName64@12 @121 + SymGetSymNext@8 @122 + SymGetSymNext64@8 @123 + SymGetSymPrev@8 @124 + SymGetSymPrev64@8 @125 + SymGetTypeFromName@20 @128 + SymGetTypeInfo@24 @130 + SymInitialize@12 @132 + SymInitializeW@12 @133 + SymLoadModule@24 @134 + SymLoadModule64@28 @135 + SymLoadModuleEx@36 @136 + SymLoadModuleExW@36 @137 + SymMatchFileName@16 @138 + SymMatchFileNameW@16 @139 + SymMatchString@12=SymMatchStringA@12 @140 + SymMatchStringA@12 @141 + SymMatchStringW@12 @142 + SymRefreshModuleList@4 @147 + SymRegisterCallback@12 @148 + SymRegisterCallback64@16 @149 + SymRegisterCallbackW64@16 @150 + SymRegisterFunctionEntryCallback@12 @151 + SymRegisterFunctionEntryCallback64@16 @152 + SymSearch@44 @153 + SymSearchW@44 @154 + SymSetContext@12 @155 + SymSetHomeDirectory@8 @156 + SymSetHomeDirectoryW@8 @157 + SymSetOptions@4 @158 + SymSetParentWindow@4 @159 + SymSetScopeFromAddr@12 @160 + SymSetSearchPath@8 @162 + SymSetSearchPathW@8 @163 + SymUnDName@12 @181 + SymUnDName64@12 @182 + SymUnloadModule@8 @183 + SymUnloadModule64@12 @184 + UnDecorateSymbolName@16 @185 + UnDecorateSymbolNameW@16 @186 + UnmapDebugInformation@4 @187 + WinDbgExtensionDllInit@12 @188 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdciman32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdciman32.def new file mode 100644 index 0000000..3e525a7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdciman32.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/dciman32/dciman32.spec; do not edit! + +LIBRARY dciman32.dll + +EXPORTS + DCICloseProvider@4 @2 + DCICreatePrimary@8 @5 + DCIOpenProvider@0 @10 + DllEntryPoint@12=DllMain@12 @14 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libddraw.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libddraw.def new file mode 100644 index 0000000..f722db6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libddraw.def @@ -0,0 +1,17 @@ +; File generated automatically from ./dlls/ddraw/ddraw.spec; do not edit! + +LIBRARY ddraw.dll + +EXPORTS + DirectDrawCreate@12 @6 + DirectDrawCreateClipper@12 @7 + DirectDrawCreateEx@16 @8 + DirectDrawEnumerateA@8 @9 + DirectDrawEnumerateExA@12 @10 + DirectDrawEnumerateExW@12 @11 + DirectDrawEnumerateW@8 @12 + DllCanUnloadNow@0 @13 PRIVATE + DllGetClassObject@12 @14 PRIVATE + DllRegisterServer@0 @15 PRIVATE + DllUnregisterServer@0 @16 PRIVATE + GetSurfaceFromDC@12 @18 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdinput.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdinput.a new file mode 100644 index 0000000..1a5c67e Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdinput.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdinput8.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdinput8.def new file mode 100644 index 0000000..3dde979 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdinput8.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/dinput8/dinput8.spec; do not edit! + +LIBRARY dinput8.dll + +EXPORTS + DirectInput8Create@20 @1 + DllCanUnloadNow@0 @2 PRIVATE + DllGetClassObject@12 @3 PRIVATE + DllRegisterServer@0 @4 PRIVATE + DllUnregisterServer@0 @5 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdnsapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdnsapi.def new file mode 100644 index 0000000..0e1bf9c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdnsapi.def @@ -0,0 +1,40 @@ +; File generated automatically from ./dlls/dnsapi/dnsapi.spec; do not edit! + +LIBRARY dnsapi.dll + +EXPORTS + DnsAcquireContextHandle_A@12 @1 + DnsAcquireContextHandle_UTF8@12 @2 + DnsAcquireContextHandle_W@12 @3 + DnsExtractRecordsFromMessage_UTF8@12 @31 + DnsExtractRecordsFromMessage_W@12 @32 + DnsFlushResolverCache@0 @34 + DnsFlushResolverCacheEntry_A@4 @35 + DnsFlushResolverCacheEntry_UTF8@4 @36 + DnsFlushResolverCacheEntry_W@4 @37 + DnsFree@8 @38 + DnsModifyRecordsInSet_A@24 @69 + DnsModifyRecordsInSet_UTF8@24 @70 + DnsModifyRecordsInSet_W@24 @71 + DnsNameCompare_A@8 @72 + DnsNameCompare_W@8 @76 + DnsQuery_A@24 @80 + DnsQueryConfig@24 @81 + DnsQueryEx@12 @82 + DnsQuery_UTF8@24 @83 + DnsQuery_W@24 @84 + DnsRecordCompare@8 @87 + DnsRecordCopyEx@12 @88 + DnsRecordListFree@8 @89 + DnsRecordSetCompare@16 @90 + DnsRecordSetCopyEx@12 @91 + DnsRecordSetDetach@4 @92 + DnsReleaseContextHandle@4 @98 + DnsReplaceRecordSetA@20 @100 + DnsReplaceRecordSetUTF8@20 @102 + DnsReplaceRecordSetW@20 @104 + DnsValidateName_A@8 @121 + DnsValidateName_UTF8@8 @122 + DnsValidateName_W@8 @123 + DnsWriteQuestionToBuffer_UTF8@24 @127 + DnsWriteQuestionToBuffer_W@24 @128 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdplayx.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdplayx.def new file mode 100644 index 0000000..1f865ee --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdplayx.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/dplayx/dplayx.spec; do not edit! + +LIBRARY dplayx.dll + +EXPORTS + DirectPlayCreate@12 @1 + DirectPlayEnumerateA@8 @2 + DirectPlayEnumerateW@8 @3 + DirectPlayLobbyCreateA@20 @4 + DirectPlayLobbyCreateW@20 @5 + gdwDPlaySPRefCount @6 DATA + DirectPlayEnumerate@8=DirectPlayEnumerateA@8 @9 + DllCanUnloadNow@0 @7 PRIVATE + DllGetClassObject@12 @8 PRIVATE + DllRegisterServer@0 @10 PRIVATE + DllUnregisterServer@0 @11 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdpnet.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdpnet.def new file mode 100644 index 0000000..481dfab --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdpnet.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/dpnet/dpnet.spec; do not edit! + +LIBRARY dpnet.dll + +EXPORTS + DirectPlay8Create@12 @1 + DllCanUnloadNow@0 @2 PRIVATE + DllGetClassObject@12 @3 PRIVATE + DllRegisterServer@0 @4 PRIVATE + DllUnregisterServer@0 @5 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdsound.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdsound.def new file mode 100644 index 0000000..29e665b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdsound.def @@ -0,0 +1,19 @@ +; File generated automatically from ./dlls/dsound/dsound.spec; do not edit! + +LIBRARY dsound.dll + +EXPORTS + DirectSoundCreate@12 @1 + DirectSoundEnumerateA@8 @2 + DirectSoundEnumerateW@8 @3 + DirectSoundCaptureCreate@12 @6 + DirectSoundCaptureEnumerateA@8 @7 + DirectSoundCaptureEnumerateW@8 @8 + GetDeviceID@8 @9 + DirectSoundFullDuplexCreate@40 @10 + DirectSoundCreate8@12 @11 + DirectSoundCaptureCreate8@12 @12 + DllCanUnloadNow@0 @4 PRIVATE + DllGetClassObject@12 @5 PRIVATE + DllRegisterServer@0 @13 PRIVATE + DllUnregisterServer@0 @14 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdwmapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdwmapi.def new file mode 100644 index 0000000..d40f3bf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdwmapi.def @@ -0,0 +1,26 @@ +; File generated automatically from ./dlls/dwmapi/dwmapi.spec; do not edit! + +LIBRARY dwmapi.dll + +EXPORTS + DwmEnableComposition@4 @102 + DwmAttachMilContent@4 @111 + DwmDefWindowProc@20 @116 + DwmDetachMilContent@4 @117 + DwmEnableBlurBehindWindow@8 @122 + DwmEnableMMCSS@4 @123 + DwmExtendFrameIntoClientArea@8 @149 + DwmFlush@0 @165 + DwmGetColorizationColor@8 @166 + DwmGetCompositionTimingInfo@8 @167 + DwmGetGraphicsStreamClient@8 @168 + DwmGetGraphicsStreamTransformHint@8 @169 + DwmGetTransportAttributes@12 @170 + DwmGetWindowAttribute@16 @171 + DwmInvalidateIconicBitmaps@4 @172 + DwmIsCompositionEnabled@4 @173 + DwmRegisterThumbnail@12 @176 + DwmSetPresentParameters@8 @180 + DwmSetWindowAttribute@16 @181 + DwmUnregisterThumbnail@4 @182 + DwmUpdateThumbnailProperties@8 @183 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdwrite.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdwrite.def new file mode 100644 index 0000000..e50ca17 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdwrite.def @@ -0,0 +1,6 @@ +; File generated automatically from ./dlls/dwrite/dwrite.spec; do not edit! + +LIBRARY dwrite.dll + +EXPORTS + DWriteCreateFactory@12 @1 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxerr8.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxerr8.a new file mode 100644 index 0000000..3eab6a3 Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxerr8.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxerr9.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxerr9.a new file mode 100644 index 0000000..a89a94c Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxerr9.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxgi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxgi.def new file mode 100644 index 0000000..b6ca018 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxgi.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/dxgi/dxgi.spec; do not edit! + +LIBRARY dxgi.dll + +EXPORTS + CreateDXGIFactory@8 @1 + CreateDXGIFactory1@8 @2 + DXGID3D10CreateDevice@28 @3 + DXGID3D10RegisterLayers@8 @4 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxguid.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxguid.a new file mode 100644 index 0000000..f3fae2d Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libdxguid.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libfaultrep.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libfaultrep.def new file mode 100644 index 0000000..249f1cf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libfaultrep.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/faultrep/faultrep.spec; do not edit! + +LIBRARY faultrep.dll + +EXPORTS + AddERExcludedApplicationA@4 @1 + AddERExcludedApplicationW@4 @2 + ReportFault@8 @7 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libgdi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libgdi32.def new file mode 100644 index 0000000..9af1b55 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libgdi32.def @@ -0,0 +1,461 @@ +; File generated automatically from ./dlls/gdi32/gdi32.spec; do not edit! + +LIBRARY gdi32.dll + +EXPORTS + AbortDoc@4 @105 + AbortPath@4 @106 + AddFontMemResourceEx@16 @107 + AddFontResourceA@4 @108 + AddFontResourceExA@12 @109 + AddFontResourceExW@12 @110 + AddFontResourceW@4 @112 + AngleArc@24 @113 + AnimatePalette@16 @114 + Arc@36 @115 + ArcTo@36 @116 + BeginPath@4 @117 + BitBlt@36 @118 + CancelDC@4 @120 + ChoosePixelFormat@8 @122 + Chord@36 @123 + CloseEnhMetaFile@4 @124 + CloseFigure@4 @125 + CloseMetaFile@4 @126 + CombineRgn@16 @129 + CombineTransform@12 @130 + CopyEnhMetaFileA@8 @131 + CopyEnhMetaFileW@8 @132 + CopyMetaFileA@8 @133 + CopyMetaFileW@8 @134 + CreateBitmap@20 @135 + CreateBitmapIndirect@4 @136 + CreateBrushIndirect@4 @137 + CreateColorSpaceA@4 @138 + CreateColorSpaceW@4 @139 + CreateCompatibleBitmap@12 @140 + CreateCompatibleDC@4 @141 + CreateDCA@16 @142 + CreateDCW@16 @143 + CreateDIBPatternBrush@8 @144 + CreateDIBPatternBrushPt@8 @145 + CreateDIBSection@24 @146 + CreateDIBitmap@24 @147 + CreateDiscardableBitmap@12 @148 + CreateEllipticRgn@16 @149 + CreateEllipticRgnIndirect@4 @150 + CreateEnhMetaFileA@16 @151 + CreateEnhMetaFileW@16 @152 + CreateFontA@56 @153 + CreateFontIndirectA@4 @154 + CreateFontIndirectExA@4 @155 + CreateFontIndirectExW@4 @156 + CreateFontIndirectW@4 @157 + CreateFontW@56 @158 + CreateHalftonePalette@4 @159 + CreateHatchBrush@8 @160 + CreateICA@16 @161 + CreateICW@16 @162 + CreateMetaFileA@4 @163 + CreateMetaFileW@4 @164 + CreatePalette@4 @165 + CreatePatternBrush@4 @166 + CreatePen@12 @167 + CreatePenIndirect@4 @168 + CreatePolyPolygonRgn@16 @169 + CreatePolygonRgn@12 @170 + CreateRectRgn@16 @171 + CreateRectRgnIndirect@4 @172 + CreateRoundRectRgn@24 @173 + CreateScalableFontResourceA@16 @174 + CreateScalableFontResourceW@16 @175 + CreateSolidBrush@4 @176 + D3DKMTCreateDCFromMemory@4 @177 + D3DKMTDestroyDCFromMemory@4 @178 + D3DKMTEscape@4 @179 + D3DKMTOpenAdapterFromHdc@4 @180 + DPtoLP@12 @181 + DeleteColorSpace@4 @182 + DeleteDC@4 @183 + DeleteEnhMetaFile@4 @184 + DeleteMetaFile@4 @185 + DeleteObject@4 @186 + DescribePixelFormat@16 @187 + DrawEscape@16 @191 + Ellipse@20 @192 + EnableEUDC@4 @193 + EndDoc@4 @194 + EndPage@4 @195 + EndPath@4 @196 + EnumEnhMetaFile@20 @197 + EnumFontFamiliesA@16 @198 + EnumFontFamiliesExA@20 @199 + EnumFontFamiliesExW@20 @200 + EnumFontFamiliesW@16 @201 + EnumFontsA@16 @202 + EnumFontsW@16 @203 + EnumICMProfilesA@12 @204 + EnumICMProfilesW@12 @205 + EnumMetaFile@16 @206 + EnumObjects@16 @207 + EqualRgn@8 @208 + Escape@20 @209 + ExcludeClipRect@20 @210 + ExtCreatePen@20 @211 + ExtCreateRegion@12 @212 + ExtEscape@24 @213 + ExtFloodFill@20 @214 + ExtSelectClipRgn@12 @215 + ExtTextOutA@32 @216 + ExtTextOutW@32 @217 + FillPath@4 @218 + FillRgn@12 @219 + FixBrushOrgEx@16 @220 + FlattenPath@4 @221 + FloodFill@16 @222 + FontIsLinked@4 @223 + FrameRgn@20 @224 + EngAlphaBlend@28 @226 + EngBitBlt@44 @227 + EngComputeGlyphSet@12 @228 + EngFillPath@28 @229 + EngGradientFill@40 @230 + EngLineTo@36 @231 + EngPaint@20 @232 + EngPlgBlt@44 @233 + EngStretchBltROP@52 @234 + EngStrokeAndFillPath@40 @235 + EngStrokePath@32 @236 + EngTextOut@40 @237 + EngTransparentBlt@32 @238 + EngStretchBlt@44 @239 + EngCopyBits@24 @240 + EngUnlockSurface@4 @241 + EngLockSurface@4 @242 + EngMultiByteToWideChar@20 @243 + EngGetCurrentCodePage@8 @244 + EngCreatePalette@24 @245 + EngDeletePalette@4 @246 + EngDeleteSurface@4 @247 + EngAssociateSurface@12 @248 + EngCheckAbort@4 @249 + EngCreateDeviceSurface@16 @250 + EngCreateBitmap@24 @251 + EngCreateDeviceBitmap@16 @252 + EngEraseSurface@12 @253 + EngFreeModule@4 @254 + EngLoadModule@4 @255 + EngGetPrinterDataFileName@4 @256 + EngMarkBandingSurface@4 @257 + EngQueryLocalTime@4 @258 + BRUSHOBJ_pvAllocRbrush@8 @259 + BRUSHOBJ_pvGetRbrush@4 @260 + BRUSHOBJ_hGetColorTransform@4 @261 + BRUSHOBJ_ulGetBrushColor@4 @262 + EngCreateClip@0 @263 + EngDeleteClip@4 @264 + CLIPOBJ_bEnum@12 @265 + CLIPOBJ_cEnumStart@20 @266 + CLIPOBJ_ppoGetPath@4 @267 + FONTOBJ_cGetAllGlyphHandles@8 @268 + FONTOBJ_cGetGlyphs@20 @269 + FONTOBJ_pifi@4 @270 + FONTOBJ_pvTrueTypeFontFile@8 @271 + FONTOBJ_pxoGetXform@4 @272 + FONTOBJ_vGetInfo@12 @273 + FONTOBJ_pfdg@4 @274 + FONTOBJ_pQueryGlyphAttrs@8 @275 + EngCreatePath@0 @276 + EngDeletePath@4 @277 + PATHOBJ_bMoveTo@8 @278 + PATHOBJ_bEnum@8 @279 + PATHOBJ_vEnumStart@4 @280 + PATHOBJ_bEnumClipLines@12 @281 + PATHOBJ_vEnumStartClipLines@16 @282 + PATHOBJ_vGetBounds@8 @283 + STROBJ_bEnum@12 @284 + STROBJ_vEnumStart@4 @285 + STROBJ_bEnumPositionsOnly@12 @286 + STROBJ_bGetAdvanceWidths@16 @287 + STROBJ_dwGetCodePage@4 @288 + EXFORMOBJ_iGetXform@8 @289 + EXFORMOBJ_iSetXform@8 @290 + EXFORMOBJ_iGetFloatObjXform@8 @291 + EXFORMOBJ_iCombine@12 @292 + EXFORMOBJ_iCombineXform@16 @293 + EXFORMOBJ_iInverse@8 @294 + XFORMOBJ_bApplyXform@20=EXFORMOBJ_bApplyXform@20 @295 + XFORMOBJ_iGetXform@8=EXFORMOBJ_iGetXform@8 @296 + XLATEOBJ_iXlate@8 @297 + XLATEOBJ_cGetPalette@16 @298 + XLATEOBJ_hGetColorTransform@4 @299 + XLATEOBJ_piVector@4 @300 + GdiAlphaBlend@44 @301 + GdiComment@12 @304 + GdiConvertToDevmodeW@4 @314 + GdiDescribePixelFormat@16 @335 + GdiDrawStream@12 @337 + GdiEntry13@0 @338 + GdiFlush@0 @339 + GdiGetBatchLimit@0 @340 + GdiGetCharDimensions@12 @341 + GdiGetCodePage@4 @342 + GdiGetSpoolMessage@16 @347 + GdiGradientFill@24 @348 + GdiInitSpool@0 @349 + GdiInitializeLanguagePack@4 @350 + GdiIsMetaFileDC@4 @351 + GdiIsMetaPrintDC@4 @352 + GdiIsPlayMetafileDC@4 @353 + GdiRealizationInfo@8 @357 + GdiSetBatchLimit@4 @360 + GdiSetPixelFormat@12 @361 + GdiSwapBuffers@4 @363 + GdiTransparentBlt@44 @364 + GetArcDirection@4 @369 + GetAspectRatioFilterEx@8 @370 + GetBitmapBits@12 @371 + GetBitmapDimensionEx@8 @372 + GetBkColor@4 @373 + GetBkMode@4 @374 + GetBoundsRect@12 @375 + GetBrushOrgEx@8 @376 + GetCharABCWidthsA@16 @377 + GetCharABCWidthsFloatA@16 @378 + GetCharABCWidthsFloatW@16 @379 + GetCharABCWidthsI@20 @380 + GetCharABCWidthsW@16 @381 + GetCharWidth32A@16 @382 + GetCharWidth32W@16 @383 + GetCharWidthA@16=GetCharWidth32A@16 @384 + GetCharWidthFloatA@16 @385 + GetCharWidthFloatW@16 @386 + GetCharWidthI@20 @387 + GetCharWidthW@16=GetCharWidth32W@16 @388 + GetCharacterPlacementA@24 @390 + GetCharacterPlacementW@24 @391 + GetClipBox@8 @392 + GetClipRgn@8 @393 + GetColorAdjustment@8 @394 + GetColorSpace@4 @395 + GetCurrentObject@8 @396 + GetCurrentPositionEx@8 @397 + GetDCBrushColor@4 @398 + GetDCOrgEx@8 @399 + GetDCPenColor@4 @400 + GetDIBColorTable@16 @401 + GetDIBits@28 @402 + GetDeviceCaps@8 @403 + GetDeviceGammaRamp@8 @404 + GetEnhMetaFileA@4 @406 + GetEnhMetaFileBits@12 @407 + GetEnhMetaFileDescriptionA@12 @408 + GetEnhMetaFileDescriptionW@12 @409 + GetEnhMetaFileHeader@12 @410 + GetEnhMetaFilePaletteEntries@12 @411 + GetEnhMetaFileW@4 @412 + GetFontData@20 @413 + GetFontFileInfo@20 @414 + GetFontLanguageInfo@4 @415 + GetFontRealizationInfo@8 @416 + GetFontResourceInfoW@16 @418 + GetFontUnicodeRanges@8 @419 + GetGlyphIndicesA@20 @420 + GetGlyphIndicesW@20 @421 + GetGlyphOutline@28=GetGlyphOutlineA@28 @422 + GetGlyphOutlineA@28 @423 + GetGlyphOutlineW@28 @424 + GetGraphicsMode@4 @426 + GetICMProfileA@12 @427 + GetICMProfileW@12 @428 + GetKerningPairs@12=GetKerningPairsA@12 @429 + GetKerningPairsA@12 @430 + GetKerningPairsW@12 @431 + GetLayout@4 @432 + GetLogColorSpaceA@12 @433 + GetLogColorSpaceW@12 @434 + GetMapMode@4 @435 + GetMetaFileA@4 @436 + GetMetaFileBitsEx@12 @437 + GetMetaFileW@4 @438 + GetMetaRgn@8 @439 + GetMiterLimit@8 @440 + GetNearestColor@8 @441 + GetNearestPaletteIndex@8 @442 + GetObjectA@12 @443 + GetObjectType@4 @444 + GetObjectW@12 @445 + GetOutlineTextMetricsA@12 @446 + GetOutlineTextMetricsW@12 @447 + GetPaletteEntries@16 @448 + GetPath@16 @449 + GetPixel@12 @450 + GetPixelFormat@4 @451 + GetPolyFillMode@4 @452 + GetROP2@4 @453 + GetRandomRgn@12 @454 + GetRasterizerCaps@8 @455 + GetRegionData@12 @456 + GetRelAbs@8 @457 + GetRgnBox@8 @458 + GetStockObject@4 @459 + GetStretchBltMode@4 @460 + GetSystemPaletteEntries@16 @461 + GetSystemPaletteUse@4 @462 + GetTextAlign@4 @463 + GetTextCharacterExtra@4 @464 + GetTextCharset@4 @465 + GetTextCharsetInfo@12 @466 + GetTextColor@4 @467 + GetTextExtentExPointA@28 @468 + GetTextExtentExPointI@28 @469 + GetTextExtentExPointW@28 @470 + GetTextExtentPoint32A@16 @471 + GetTextExtentPoint32W@16 @472 + GetTextExtentPointA@16 @473 + GetTextExtentPointI@16 @474 + GetTextExtentPointW@16 @475 + GetTextFaceA@12 @476 + GetTextFaceW@12 @477 + GetTextMetricsA@8 @478 + GetTextMetricsW@8 @479 + GetTransform@12 @480 + GetViewportExtEx@8 @481 + GetViewportOrgEx@8 @482 + GetWinMetaFileBits@20 @483 + GetWindowExtEx@8 @484 + GetWindowOrgEx@8 @485 + GetWorldTransform@8 @486 + IntersectClipRect@20 @487 + InvertRgn@8 @488 + LPtoDP@12 @489 + LineDDA@24 @490 + LineTo@12 @491 + MaskBlt@48 @494 + MirrorRgn@8 @495 + ModifyWorldTransform@12 @496 + MoveToEx@16 @497 + NamedEscape@28 @498 + OffsetClipRgn@12 @499 + OffsetRgn@12 @500 + OffsetViewportOrgEx@16 @501 + OffsetWindowOrgEx@16 @502 + PaintRgn@8 @503 + PatBlt@24 @504 + PathToRegion@4 @505 + Pie@36 @506 + PlayEnhMetaFile@12 @507 + PlayEnhMetaFileRecord@16 @508 + PlayMetaFile@8 @509 + PlayMetaFileRecord@16 @510 + PlgBlt@40 @511 + PolyBezier@12 @512 + PolyBezierTo@12 @513 + PolyDraw@16 @514 + PolyPolygon@16 @515 + PolyPolyline@16 @516 + PolyTextOutA@12 @517 + PolyTextOutW@12 @518 + Polygon@12 @519 + Polyline@12 @520 + PolylineTo@12 @521 + PtInRegion@12 @522 + PtVisible@12 @523 + RealizePalette@4 @524 + RectInRegion@8 @525 + RectVisible@8 @526 + Rectangle@20 @527 + RemoveFontMemResourceEx@4 @528 + RemoveFontResourceA@4 @529 + RemoveFontResourceExA@12 @530 + RemoveFontResourceExW@12 @531 + RemoveFontResourceW@4 @533 + ResetDCA@8 @534 + ResetDCW@8 @535 + ResizePalette@8 @536 + RestoreDC@8 @537 + RoundRect@28 @538 + SaveDC@4 @539 + ScaleViewportExtEx@24 @540 + ScaleWindowExtEx@24 @541 + SelectClipPath@8 @543 + SelectClipRgn@8 @544 + SelectObject@8 @546 + SelectPalette@12 @547 + SetAbortProc@8 @548 + SetArcDirection@8 @549 + SetBitmapBits@12 @550 + SetBitmapDimensionEx@16 @551 + SetBkColor@8 @552 + SetBkMode@8 @553 + SetBoundsRect@12 @554 + SetBrushOrgEx@16 @555 + SetColorAdjustment@8 @556 + SetColorSpace@8 @557 + SetDCBrushColor@8 @558 + SetDCPenColor@8 @559 + SetDIBColorTable@16 @560 + SetDIBits@28 @561 + SetDIBitsToDevice@48 @562 + SetDeviceGammaRamp@8 @563 + SetEnhMetaFileBits@8 @564 + SetGraphicsMode@8 @566 + SetICMMode@8 @567 + SetICMProfileA@8 @568 + SetICMProfileW@8 @569 + SetLayout@8 @570 + SetMagicColors@12 @571 + SetMapMode@8 @572 + SetMapperFlags@8 @573 + SetMetaFileBitsEx@8 @574 + SetMetaRgn@4 @575 + SetMiterLimit@12 @576 + SetObjectOwner@8 @577 + SetPaletteEntries@16 @578 + SetPixel@16 @579 + SetPixelFormat@12 @580 + SetPixelV@16 @581 + SetPolyFillMode@8 @582 + SetROP2@8 @583 + SetRectRgn@20 @584 + SetRelAbs@8 @585 + SetStretchBltMode@8 @586 + SetSystemPaletteUse@8 @587 + SetTextAlign@8 @588 + SetTextCharacterExtra@8 @589 + SetTextColor@8 @590 + SetTextJustification@12 @591 + SetViewportExtEx@16 @592 + SetViewportOrgEx@16 @593 + SetVirtualResolution@20 @594 + SetWinMetaFileBits@16 @595 + SetWindowExtEx@16 @596 + SetWindowOrgEx@16 @597 + SetWorldTransform@8 @598 + StartDocA@8 @599 + StartDocW@8 @600 + StartPage@4 @601 + StretchBlt@44 @602 + StretchDIBits@52 @603 + StretchBits@28 @604 + StrokeAndFillPath@4 @605 + StrokePath@4 @606 + SwapBuffers@4 @607 + TextOutA@20 @608 + TextOutW@20 @609 + TranslateCharsetInfo@12 @610 + UnrealizeObject@4 @612 + UpdateColors@4 @613 + UpdateICMRegKey@16=UpdateICMRegKeyA@16 @614 + UpdateICMRegKeyA@16 @615 + UpdateICMRegKeyW@16 @616 + WidenPath@4 @617 + pfnRealizePalette @619 DATA + pfnSelectPalette @620 DATA + GetDCHook@8 @622 + SetDCHook@12 @623 + SetHookFlags@8 @624 + __wine_make_gdi_object_system @625 + __wine_set_visible_region @626 + __wine_set_display_driver @627 + __wine_get_wgl_driver @628 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libgdiplus.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libgdiplus.def new file mode 100644 index 0000000..a4e31b7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libgdiplus.def @@ -0,0 +1,612 @@ +; File generated automatically from ./dlls/gdiplus/gdiplus.spec; do not edit! + +LIBRARY gdiplus.dll + +EXPORTS + GdipAddPathArc@28 @1 + GdipAddPathArcI@28 @2 + GdipAddPathBezier@36 @3 + GdipAddPathBezierI@36 @4 + GdipAddPathBeziers@12 @5 + GdipAddPathBeziersI@12 @6 + GdipAddPathClosedCurve2@16 @7 + GdipAddPathClosedCurve2I@16 @8 + GdipAddPathClosedCurve@12 @9 + GdipAddPathClosedCurveI@12 @10 + GdipAddPathCurve2@16 @11 + GdipAddPathCurve2I@16 @12 + GdipAddPathCurve3@24 @13 + GdipAddPathCurve3I@24 @14 + GdipAddPathCurve@12 @15 + GdipAddPathCurveI@12 @16 + GdipAddPathEllipse@20 @17 + GdipAddPathEllipseI@20 @18 + GdipAddPathLine2@12 @19 + GdipAddPathLine2I@12 @20 + GdipAddPathLine@20 @21 + GdipAddPathLineI@20 @22 + GdipAddPathPath@12 @23 + GdipAddPathPie@28 @24 + GdipAddPathPieI@28 @25 + GdipAddPathPolygon@12 @26 + GdipAddPathPolygonI@12 @27 + GdipAddPathRectangle@20 @28 + GdipAddPathRectangleI@20 @29 + GdipAddPathRectangles@12 @30 + GdipAddPathRectanglesI@12 @31 + GdipAddPathString@32 @32 + GdipAddPathStringI@32 @33 + GdipAlloc@4 @34 + GdipBeginContainer2@8 @35 + GdipBeginContainer@20 @36 + GdipBeginContainerI@20 @37 + GdipBitmapGetPixel@16 @38 + GdipBitmapLockBits@20 @39 + GdipBitmapSetPixel@16 @40 + GdipBitmapSetResolution@12 @41 + GdipBitmapUnlockBits@8 @42 + GdipClearPathMarkers@4 @43 + GdipCloneBitmapArea@28 @44 + GdipCloneBitmapAreaI@28 @45 + GdipCloneBrush@8 @46 + GdipCloneCustomLineCap@8 @47 + GdipCloneFont@8 @48 + GdipCloneFontFamily@8 @49 + GdipCloneImage@8 @50 + GdipCloneImageAttributes@8 @51 + GdipCloneMatrix@8 @52 + GdipClonePath@8 @53 + GdipClonePen@8 @54 + GdipCloneRegion@8 @55 + GdipCloneStringFormat@8 @56 + GdipClosePathFigure@4 @57 + GdipClosePathFigures@4 @58 + GdipCombineRegionPath@12 @59 + GdipCombineRegionRect@12 @60 + GdipCombineRegionRectI@12 @61 + GdipCombineRegionRegion@12 @62 + GdipComment@12 @63 + GdipCreateAdjustableArrowCap@16 @64 + GdipCreateBitmapFromFile@8 @66 + GdipCreateBitmapFromFileICM@8 @67 + GdipCreateBitmapFromGdiDib@12 @68 + GdipCreateBitmapFromGraphics@16 @69 + GdipCreateBitmapFromHBITMAP@12 @70 + GdipCreateBitmapFromHICON@8 @71 + GdipCreateBitmapFromResource@12 @72 + GdipCreateBitmapFromScan0@24 @73 + GdipCreateBitmapFromStream@8 @74 + GdipCreateBitmapFromStreamICM@8 @75 + GdipCreateCachedBitmap@12 @76 + GdipCreateCustomLineCap@20 @77 + GdipCreateFont@20 @78 + GdipCreateFontFamilyFromName@12 @79 + GdipCreateFontFromDC@8 @80 + GdipCreateFontFromLogfontA@12 @81 + GdipCreateFontFromLogfontW@12 @82 + GdipCreateFromHDC2@12 @83 + GdipCreateFromHDC@8 @84 + GdipCreateFromHWND@8 @85 + GdipCreateFromHWNDICM@8 @86 + GdipCreateHBITMAPFromBitmap@12 @87 + GdipCreateHICONFromBitmap@8 @88 + GdipCreateHalftonePalette@0 @89 + GdipCreateHatchBrush@16 @90 + GdipCreateImageAttributes@4 @91 + GdipCreateLineBrush@24 @92 + GdipCreateLineBrushFromRect@24 @93 + GdipCreateLineBrushFromRectI@24 @94 + GdipCreateLineBrushFromRectWithAngle@28 @95 + GdipCreateLineBrushFromRectWithAngleI@28 @96 + GdipCreateLineBrushI@24 @97 + GdipCreateMatrix2@28 @98 + GdipCreateMatrix3@12 @99 + GdipCreateMatrix3I@12 @100 + GdipCreateMatrix@4 @101 + GdipCreateMetafileFromEmf@12 @102 + GdipCreateMetafileFromFile@8 @103 + GdipCreateMetafileFromStream@8 @104 + GdipCreateMetafileFromWmf@16 @105 + GdipCreateMetafileFromWmfFile@12 @106 + GdipCreatePath2@20 @107 + GdipCreatePath2I@20 @108 + GdipCreatePath@8 @109 + GdipCreatePathGradient@16 @110 + GdipCreatePathGradientFromPath@8 @111 + GdipCreatePathGradientI@16 @112 + GdipCreatePathIter@8 @113 + GdipCreatePen1@16 @114 + GdipCreatePen2@16 @115 + GdipCreateRegion@4 @116 + GdipCreateRegionHrgn@8 @117 + GdipCreateRegionPath@8 @118 + GdipCreateRegionRect@8 @119 + GdipCreateRegionRectI@8 @120 + GdipCreateRegionRgnData@12 @121 + GdipCreateSolidFill@8 @122 + GdipCreateStreamOnFile@12 @123 + GdipCreateStringFormat@12 @124 + GdipCreateTexture2@28 @125 + GdipCreateTexture2I@28 @126 + GdipCreateTexture@12 @127 + GdipCreateTextureIA@28 @128 + GdipCreateTextureIAI@28 @129 + GdipDeleteBrush@4 @130 + GdipDeleteCachedBitmap@4 @131 + GdipDeleteCustomLineCap@4 @132 + GdipDeleteFont@4 @133 + GdipDeleteFontFamily@4 @134 + GdipDeleteGraphics@4 @135 + GdipDeleteMatrix@4 @136 + GdipDeletePath@4 @137 + GdipDeletePathIter@4 @138 + GdipDeletePen@4 @139 + GdipDeletePrivateFontCollection@4 @140 + GdipDeleteRegion@4 @141 + GdipDeleteStringFormat@4 @142 + GdipDisposeImage@4 @143 + GdipDisposeImageAttributes@4 @144 + GdipDrawArc@32 @145 + GdipDrawArcI@32 @146 + GdipDrawBezier@40 @147 + GdipDrawBezierI@40 @148 + GdipDrawBeziers@16 @149 + GdipDrawBeziersI@16 @150 + GdipDrawCachedBitmap@16 @151 + GdipDrawClosedCurve2@20 @152 + GdipDrawClosedCurve2I@20 @153 + GdipDrawClosedCurve@16 @154 + GdipDrawClosedCurveI@16 @155 + GdipDrawCurve2@20 @156 + GdipDrawCurve2I@20 @157 + GdipDrawCurve3@28 @158 + GdipDrawCurve3I@28 @159 + GdipDrawCurve@16 @160 + GdipDrawCurveI@16 @161 + GdipDrawDriverString@32 @162 + GdipDrawEllipse@24 @163 + GdipDrawEllipseI@24 @164 + GdipDrawImage@16 @165 + GdipDrawImageI@16 @166 + GdipDrawImagePointRect@36 @167 + GdipDrawImagePointRectI@36 @168 + GdipDrawImagePoints@16 @169 + GdipDrawImagePointsI@16 @170 + GdipDrawImagePointsRect@48 @171 + GdipDrawImagePointsRectI@48 @172 + GdipDrawImageRect@24 @173 + GdipDrawImageRectI@24 @174 + GdipDrawImageRectRect@56 @175 + GdipDrawImageRectRectI@56 @176 + GdipDrawLine@24 @177 + GdipDrawLineI@24 @178 + GdipDrawLines@16 @179 + GdipDrawLinesI@16 @180 + GdipDrawPath@12 @181 + GdipDrawPie@32 @182 + GdipDrawPieI@32 @183 + GdipDrawPolygon@16 @184 + GdipDrawPolygonI@16 @185 + GdipDrawRectangle@24 @186 + GdipDrawRectangleI@24 @187 + GdipDrawRectangles@16 @188 + GdipDrawRectanglesI@16 @189 + GdipDrawString@28 @190 + GdipEmfToWmfBits@20 @191 + GdipEndContainer@8 @192 + GdipEnumerateMetafileDestPoint@24 @193 + GdipEnumerateMetafileDestPointI@24 @194 + GdipEnumerateMetafileDestRect@24 @197 + GdipEnumerateMetafileDestRectI@24 @198 + GdipEnumerateMetafileSrcRectDestPoints@36 @201 + GdipFillClosedCurve2@24 @205 + GdipFillClosedCurve2I@24 @206 + GdipFillClosedCurve@16 @207 + GdipFillClosedCurveI@16 @208 + GdipFillEllipse@24 @209 + GdipFillEllipseI@24 @210 + GdipFillPath@12 @211 + GdipFillPie@32 @212 + GdipFillPieI@32 @213 + GdipFillPolygon2@16 @214 + GdipFillPolygon2I@16 @215 + GdipFillPolygon@20 @216 + GdipFillPolygonI@20 @217 + GdipFillRectangle@24 @218 + GdipFillRectangleI@24 @219 + GdipFillRectangles@16 @220 + GdipFillRectanglesI@16 @221 + GdipFillRegion@12 @222 + GdipFlattenPath@12 @223 + GdipFlush@8 @224 + GdipFree@4 @225 + GdipGetAdjustableArrowCapFillState@8 @226 + GdipGetAdjustableArrowCapHeight@8 @227 + GdipGetAdjustableArrowCapMiddleInset@8 @228 + GdipGetAdjustableArrowCapWidth@8 @229 + GdipGetAllPropertyItems@16 @230 + GdipGetBrushType@8 @231 + GdipGetCellAscent@12 @232 + GdipGetCellDescent@12 @233 + GdipGetClip@8 @234 + GdipGetClipBounds@8 @235 + GdipGetClipBoundsI@8 @236 + GdipGetCompositingMode@8 @237 + GdipGetCompositingQuality@8 @238 + GdipGetCustomLineCapBaseCap@8 @239 + GdipGetCustomLineCapBaseInset@8 @240 + GdipGetCustomLineCapStrokeJoin@8 @242 + GdipGetCustomLineCapType@8 @243 + GdipGetCustomLineCapWidthScale@8 @244 + GdipGetDC@8 @245 + GdipGetDpiX@8 @246 + GdipGetDpiY@8 @247 + GdipGetEmHeight@12 @248 + GdipGetEncoderParameterListSize@12 @250 + GdipGetFamily@8 @251 + GdipGetFamilyName@12 @252 + GdipGetFontCollectionFamilyCount@8 @253 + GdipGetFontCollectionFamilyList@16 @254 + GdipGetFontHeight@12 @255 + GdipGetFontHeightGivenDPI@12 @256 + GdipGetFontSize@8 @257 + GdipGetFontStyle@8 @258 + GdipGetFontUnit@8 @259 + GdipGetGenericFontFamilyMonospace@4 @260 + GdipGetGenericFontFamilySansSerif@4 @261 + GdipGetGenericFontFamilySerif@4 @262 + GdipGetHatchBackgroundColor@8 @263 + GdipGetHatchForegroundColor@8 @264 + GdipGetHatchStyle@8 @265 + GdipGetHemfFromMetafile@8 @266 + GdipGetImageAttributesAdjustedPalette@12 @267 + GdipGetImageBounds@12 @268 + GdipGetImageDecoders@12 @269 + GdipGetImageDecodersSize@8 @270 + GdipGetImageDimension@12 @271 + GdipGetImageEncoders@12 @272 + GdipGetImageEncodersSize@8 @273 + GdipGetImageFlags@8 @274 + GdipGetImageGraphicsContext@8 @275 + GdipGetImageHeight@8 @276 + GdipGetImageHorizontalResolution@8 @277 + GdipGetImagePalette@12 @278 + GdipGetImagePaletteSize@8 @279 + GdipGetImagePixelFormat@8 @280 + GdipGetImageRawFormat@8 @281 + GdipGetImageThumbnail@24 @282 + GdipGetImageType@8 @283 + GdipGetImageVerticalResolution@8 @284 + GdipGetImageWidth@8 @285 + GdipGetInterpolationMode@8 @286 + GdipGetLineBlend@16 @287 + GdipGetLineBlendCount@8 @288 + GdipGetLineColors@8 @289 + GdipGetLineGammaCorrection@8 @290 + GdipGetLinePresetBlend@16 @291 + GdipGetLinePresetBlendCount@8 @292 + GdipGetLineRect@8 @293 + GdipGetLineRectI@8 @294 + GdipGetLineSpacing@12 @295 + GdipGetLineTransform@8 @296 + GdipGetLineWrapMode@8 @297 + GdipGetLogFontA@12 @298 + GdipGetLogFontW@12 @299 + GdipGetMatrixElements@8 @300 + GdipGetMetafileHeaderFromEmf@8 @302 + GdipGetMetafileHeaderFromFile@8 @303 + GdipGetMetafileHeaderFromMetafile@8 @304 + GdipGetMetafileHeaderFromStream@8 @305 + GdipGetMetafileHeaderFromWmf@12 @306 + GdipGetNearestColor@8 @307 + GdipGetPageScale@8 @308 + GdipGetPageUnit@8 @309 + GdipGetPathData@8 @310 + GdipGetPathFillMode@8 @311 + GdipGetPathGradientBlend@16 @312 + GdipGetPathGradientBlendCount@8 @313 + GdipGetPathGradientCenterColor@8 @314 + GdipGetPathGradientCenterPoint@8 @315 + GdipGetPathGradientCenterPointI@8 @316 + GdipGetPathGradientFocusScales@12 @317 + GdipGetPathGradientGammaCorrection@8 @318 + GdipGetPathGradientPath@8 @319 + GdipGetPathGradientPointCount@8 @320 + GdipGetPathGradientPresetBlend@16 @321 + GdipGetPathGradientPresetBlendCount@8 @322 + GdipGetPathGradientRect@8 @323 + GdipGetPathGradientRectI@8 @324 + GdipGetPathGradientSurroundColorCount@8 @325 + GdipGetPathGradientSurroundColorsWithCount@12 @326 + GdipGetPathGradientTransform@8 @327 + GdipGetPathGradientWrapMode@8 @328 + GdipGetPathLastPoint@8 @329 + GdipGetPathPoints@12 @330 + GdipGetPathPointsI@12 @331 + GdipGetPathTypes@12 @332 + GdipGetPathWorldBounds@16 @333 + GdipGetPathWorldBoundsI@16 @334 + GdipGetPenBrushFill@8 @335 + GdipGetPenColor@8 @336 + GdipGetPenCompoundCount@8 @338 + GdipGetPenCustomEndCap@8 @339 + GdipGetPenCustomStartCap@8 @340 + GdipGetPenDashArray@12 @341 + GdipGetPenDashCap197819@8 @342 + GdipGetPenDashCount@8 @343 + GdipGetPenDashOffset@8 @344 + GdipGetPenDashStyle@8 @345 + GdipGetPenEndCap@8 @346 + GdipGetPenFillType@8 @347 + GdipGetPenLineJoin@8 @348 + GdipGetPenMiterLimit@8 @349 + GdipGetPenMode@8 @350 + GdipGetPenStartCap@8 @351 + GdipGetPenTransform@8 @352 + GdipGetPenUnit@8 @353 + GdipGetPenWidth@8 @354 + GdipGetPixelOffsetMode@8 @355 + GdipGetPointCount@8 @356 + GdipGetPropertyCount@8 @357 + GdipGetPropertyIdList@12 @358 + GdipGetPropertyItem@16 @359 + GdipGetPropertyItemSize@12 @360 + GdipGetPropertySize@12 @361 + GdipGetRegionBounds@12 @362 + GdipGetRegionBoundsI@12 @363 + GdipGetRegionData@16 @364 + GdipGetRegionDataSize@8 @365 + GdipGetRegionHRgn@12 @366 + GdipGetRegionScans@16 @367 + GdipGetRegionScansCount@12 @368 + GdipGetRegionScansI@16 @369 + GdipGetRenderingOrigin@12 @370 + GdipGetSmoothingMode@8 @371 + GdipGetSolidFillColor@8 @372 + GdipGetStringFormatAlign@8 @373 + GdipGetStringFormatDigitSubstitution@12 @374 + GdipGetStringFormatFlags@8 @375 + GdipGetStringFormatHotkeyPrefix@8 @376 + GdipGetStringFormatLineAlign@8 @377 + GdipGetStringFormatMeasurableCharacterRangeCount@8 @378 + GdipGetStringFormatTabStopCount@8 @379 + GdipGetStringFormatTabStops@16 @380 + GdipGetStringFormatTrimming@8 @381 + GdipGetTextContrast@8 @382 + GdipGetTextRenderingHint@8 @383 + GdipGetTextureImage@8 @384 + GdipGetTextureTransform@8 @385 + GdipGetTextureWrapMode@8 @386 + GdipGetVisibleClipBounds@8 @387 + GdipGetVisibleClipBoundsI@8 @388 + GdipGetWorldTransform@8 @389 + GdipGraphicsClear@8 @390 + GdipImageForceValidation@4 @391 + GdipImageGetFrameCount@12 @392 + GdipImageGetFrameDimensionsCount@8 @393 + GdipImageGetFrameDimensionsList@12 @394 + GdipImageRotateFlip@8 @395 + GdipImageSelectActiveFrame@12 @396 + GdipInvertMatrix@4 @397 + GdipIsClipEmpty@8 @398 + GdipIsEmptyRegion@12 @399 + GdipIsEqualRegion@16 @400 + GdipIsInfiniteRegion@12 @401 + GdipIsMatrixEqual@12 @402 + GdipIsMatrixIdentity@8 @403 + GdipIsMatrixInvertible@8 @404 + GdipIsOutlineVisiblePathPoint@24 @405 + GdipIsOutlineVisiblePathPointI@24 @406 + GdipIsStyleAvailable@12 @407 + GdipIsVisibleClipEmpty@8 @408 + GdipIsVisiblePathPoint@20 @409 + GdipIsVisiblePathPointI@20 @410 + GdipIsVisiblePoint@16 @411 + GdipIsVisiblePointI@16 @412 + GdipIsVisibleRect@24 @413 + GdipIsVisibleRectI@24 @414 + GdipIsVisibleRegionPoint@20 @415 + GdipIsVisibleRegionPointI@20 @416 + GdipIsVisibleRegionRect@28 @417 + GdipIsVisibleRegionRectI@28 @418 + GdipLoadImageFromFile@8 @419 + GdipLoadImageFromFileICM@8 @420 + GdipLoadImageFromStream@8 @421 + GdipLoadImageFromStreamICM@8 @422 + GdipMeasureCharacterRanges@32 @423 + GdipMeasureDriverString@32 @424 + GdipMeasureString@36 @425 + GdipMultiplyLineTransform@12 @426 + GdipMultiplyMatrix@12 @427 + GdipMultiplyPathGradientTransform@12 @428 + GdipMultiplyPenTransform@12 @429 + GdipMultiplyTextureTransform@12 @430 + GdipMultiplyWorldTransform@12 @431 + GdipNewInstalledFontCollection@4 @432 + GdipNewPrivateFontCollection@4 @433 + GdipPathIterCopyData@24 @434 + GdipPathIterEnumerate@20 @435 + GdipPathIterGetCount@8 @436 + GdipPathIterGetSubpathCount@8 @437 + GdipPathIterHasCurve@8 @438 + GdipPathIterIsValid@8 @439 + GdipPathIterNextMarker@16 @440 + GdipPathIterNextMarkerPath@12 @441 + GdipPathIterNextPathType@20 @442 + GdipPathIterNextSubpath@20 @443 + GdipPathIterNextSubpathPath@16 @444 + GdipPathIterRewind@4 @445 + GdipPlayMetafileRecord@20 @446 + GdipPrivateAddFontFile@8 @447 + GdipPrivateAddMemoryFont@12 @448 + GdipRecordMetafile@24 @449 + GdipRecordMetafileFileName@28 @450 + GdipRecordMetafileFileNameI@28 @451 + GdipRecordMetafileI@24 @452 + GdipRecordMetafileStream@28 @453 + GdipReleaseDC@8 @455 + GdipRemovePropertyItem@8 @456 + GdipResetClip@4 @457 + GdipResetImageAttributes@8 @458 + GdipResetLineTransform@4 @459 + GdipResetPageTransform@4 @460 + GdipResetPath@4 @461 + GdipResetPathGradientTransform@4 @462 + GdipResetPenTransform@4 @463 + GdipResetTextureTransform@4 @464 + GdipResetWorldTransform@4 @465 + GdipRestoreGraphics@8 @466 + GdipReversePath@4 @467 + GdipRotateLineTransform@12 @468 + GdipRotateMatrix@12 @469 + GdipRotatePathGradientTransform@12 @470 + GdipRotatePenTransform@12 @471 + GdipRotateTextureTransform@12 @472 + GdipRotateWorldTransform@12 @473 + GdipSaveAdd@8 @474 + GdipSaveGraphics@8 @476 + GdipSaveImageToFile@16 @477 + GdipSaveImageToStream@16 @478 + GdipScaleLineTransform@16 @479 + GdipScaleMatrix@16 @480 + GdipScalePathGradientTransform@16 @481 + GdipScalePenTransform@16 @482 + GdipScaleTextureTransform@16 @483 + GdipScaleWorldTransform@16 @484 + GdipSetAdjustableArrowCapFillState@8 @485 + GdipSetAdjustableArrowCapHeight@8 @486 + GdipSetAdjustableArrowCapMiddleInset@8 @487 + GdipSetAdjustableArrowCapWidth@8 @488 + GdipSetClipGraphics@12 @489 + GdipSetClipHrgn@12 @490 + GdipSetClipPath@12 @491 + GdipSetClipRect@24 @492 + GdipSetClipRectI@24 @493 + GdipSetClipRegion@12 @494 + GdipSetCompositingMode@8 @495 + GdipSetCompositingQuality@8 @496 + GdipSetCustomLineCapBaseCap@8 @497 + GdipSetCustomLineCapBaseInset@8 @498 + GdipSetCustomLineCapStrokeCaps@12 @499 + GdipSetCustomLineCapStrokeJoin@8 @500 + GdipSetCustomLineCapWidthScale@8 @501 + GdipSetEmpty@4 @502 + GdipSetImageAttributesCachedBackground@8 @503 + GdipSetImageAttributesColorKeys@20 @504 + GdipSetImageAttributesColorMatrix@24 @505 + GdipSetImageAttributesGamma@16 @506 + GdipSetImageAttributesNoOp@12 @507 + GdipSetImageAttributesOutputChannel@16 @508 + GdipSetImageAttributesOutputChannelColorProfile@16 @509 + GdipSetImageAttributesRemapTable@20 @510 + GdipSetImageAttributesThreshold@16 @511 + GdipSetImageAttributesToIdentity@8 @512 + GdipSetImageAttributesWrapMode@16 @513 + GdipSetImagePalette@8 @514 + GdipSetInfinite@4 @515 + GdipSetInterpolationMode@8 @516 + GdipSetLineBlend@16 @517 + GdipSetLineColors@12 @518 + GdipSetLineGammaCorrection@8 @519 + GdipSetLineLinearBlend@12 @520 + GdipSetLinePresetBlend@16 @521 + GdipSetLineSigmaBlend@12 @522 + GdipSetLineTransform@8 @523 + GdipSetLineWrapMode@8 @524 + GdipSetMatrixElements@28 @525 + GdipSetMetafileDownLevelRasterizationLimit@8 @526 + GdipSetPageScale@8 @527 + GdipSetPageUnit@8 @528 + GdipSetPathFillMode@8 @529 + GdipSetPathGradientBlend@16 @530 + GdipSetPathGradientCenterColor@8 @531 + GdipSetPathGradientCenterPoint@8 @532 + GdipSetPathGradientCenterPointI@8 @533 + GdipSetPathGradientFocusScales@12 @534 + GdipSetPathGradientGammaCorrection@8 @535 + GdipSetPathGradientLinearBlend@12 @536 + GdipSetPathGradientPresetBlend@16 @538 + GdipSetPathGradientSigmaBlend@12 @539 + GdipSetPathGradientSurroundColorsWithCount@12 @540 + GdipSetPathGradientTransform@8 @541 + GdipSetPathGradientWrapMode@8 @542 + GdipSetPathMarker@4 @543 + GdipSetPenBrushFill@8 @544 + GdipSetPenColor@8 @545 + GdipSetPenCompoundArray@12 @546 + GdipSetPenCustomEndCap@8 @547 + GdipSetPenCustomStartCap@8 @548 + GdipSetPenDashArray@12 @549 + GdipSetPenDashCap197819@8 @550 + GdipSetPenDashOffset@8 @551 + GdipSetPenDashStyle@8 @552 + GdipSetPenEndCap@8 @553 + GdipSetPenLineCap197819@16 @554 + GdipSetPenLineJoin@8 @555 + GdipSetPenMiterLimit@8 @556 + GdipSetPenMode@8 @557 + GdipSetPenStartCap@8 @558 + GdipSetPenTransform@8 @559 + GdipSetPenWidth@8 @561 + GdipSetPixelOffsetMode@8 @562 + GdipSetPropertyItem@8 @563 + GdipSetRenderingOrigin@12 @564 + GdipSetSmoothingMode@8 @565 + GdipSetSolidFillColor@8 @566 + GdipSetStringFormatAlign@8 @567 + GdipSetStringFormatDigitSubstitution@12 @568 + GdipSetStringFormatFlags@8 @569 + GdipSetStringFormatHotkeyPrefix@8 @570 + GdipSetStringFormatLineAlign@8 @571 + GdipSetStringFormatMeasurableCharacterRanges@12 @572 + GdipSetStringFormatTabStops@16 @573 + GdipSetStringFormatTrimming@8 @574 + GdipSetTextContrast@8 @575 + GdipSetTextRenderingHint@8 @576 + GdipSetTextureTransform@8 @577 + GdipSetTextureWrapMode@8 @578 + GdipSetWorldTransform@8 @579 + GdipShearMatrix@16 @580 + GdipStartPathFigure@4 @581 + GdipStringFormatGetGenericDefault@4 @582 + GdipStringFormatGetGenericTypographic@4 @583 + GdipTestControl@8 @584 + GdipTransformMatrixPoints@12 @585 + GdipTransformMatrixPointsI@12 @586 + GdipTransformPath@8 @587 + GdipTransformPoints@20 @588 + GdipTransformPointsI@20 @589 + GdipTransformRegion@8 @590 + GdipTranslateClip@12 @591 + GdipTranslateClipI@12 @592 + GdipTranslateLineTransform@16 @593 + GdipTranslateMatrix@16 @594 + GdipTranslatePathGradientTransform@16 @595 + GdipTranslatePenTransform@16 @596 + GdipTranslateRegion@12 @597 + GdipTranslateRegionI@12 @598 + GdipTranslateTextureTransform@16 @599 + GdipTranslateWorldTransform@16 @600 + GdipVectorTransformMatrixPoints@12 @601 + GdipVectorTransformMatrixPointsI@12 @602 + GdipWarpPath@40 @603 + GdipWidenPath@16 @604 + GdipWindingModeOutline@12 @605 + GdiplusNotificationHook@4 @606 + GdiplusNotificationUnhook@4 @607 + GdiplusShutdown@4=GdiplusShutdown_wrapper@4 @608 + GdiplusStartup@12 @609 + GdipFindFirstImageItem@8 @610 + GdipGetImageItemData@8 @612 + GdipCreateEffect@20 @613 + GdipDeleteEffect@4 @614 + GdipSetEffectParameters@12 @617 + GdipBitmapCreateApplyEffect@36 @619 + GdipBitmapApplyEffect@24 @620 + GdipBitmapGetHistogram@28 @621 + GdipBitmapGetHistogramSize@8 @622 + GdipBitmapConvertFormat@24 @623 + GdipImageSetAbort@8 @624 + GdipGraphicsSetAbort@8 @625 + GdipConvertToEmfPlus@24 @627 + GdipConvertToEmfPlusToFile@28 @628 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libglu32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libglu32.def new file mode 100644 index 0000000..22efd42 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libglu32.def @@ -0,0 +1,58 @@ +; File generated automatically from ./dlls/glu32/glu32.spec; do not edit! + +LIBRARY glu32.dll + +EXPORTS + gluBeginCurve@4=wine_gluBeginCurve@4 @1 + gluBeginPolygon@4 @2 + gluBeginSurface@4=wine_gluBeginSurface@4 @3 + gluBeginTrim@4=wine_gluBeginTrim@4 @4 + gluBuild1DMipmaps@24 @5 + gluBuild2DMipmaps@28 @6 + gluCheckExtension@8=wine_gluCheckExtension@8 @7 + gluCylinder@36 @8 + gluDeleteNurbsRenderer@4=wine_gluDeleteNurbsRenderer@4 @9 + gluDeleteQuadric@4 @10 + gluDeleteTess@4 @11 + gluDisk@28 @12 + gluEndCurve@4=wine_gluEndCurve@4 @13 + gluEndPolygon@4 @14 + gluEndSurface@4=wine_gluEndSurface@4 @15 + gluEndTrim@4=wine_gluEndTrim@4 @16 + gluErrorString@4=wine_gluErrorString@4 @17 + gluErrorUnicodeStringEXT@4=wine_gluErrorUnicodeStringEXT@4 @18 + gluGetNurbsProperty@12=wine_gluGetNurbsProperty@12 @19 + gluGetString@4=wine_gluGetString@4 @20 + gluGetTessProperty@12 @21 + gluLoadSamplingMatrices@16=wine_gluLoadSamplingMatrices@16 @22 + gluLookAt@72 @23 + gluNewNurbsRenderer@0=wine_gluNewNurbsRenderer@0 @24 + gluNewQuadric@0 @25 + gluNewTess@0 @26 + gluNextContour@8 @27 + gluNurbsCallback@12=wine_gluNurbsCallback@12 @28 + gluNurbsCurve@28=wine_gluNurbsCurve@28 @29 + gluNurbsProperty@12=wine_gluNurbsProperty@12 @30 + gluNurbsSurface@44=wine_gluNurbsSurface@44 @31 + gluOrtho2D@32 @32 + gluPartialDisk@44 @33 + gluPerspective@32 @34 + gluPickMatrix@36 @35 + gluProject@48 @36 + gluPwlCurve@20=wine_gluPwlCurve@20 @37 + gluQuadricCallback@12 @38 + gluQuadricDrawStyle@8 @39 + gluQuadricNormals@8 @40 + gluQuadricOrientation@8 @41 + gluQuadricTexture@8 @42 + gluScaleImage@36 @43 + gluSphere@20 @44 + gluTessBeginContour@4 @45 + gluTessBeginPolygon@8 @46 + gluTessCallback@12 @47 + gluTessEndContour@4 @48 + gluTessEndPolygon@4 @49 + gluTessNormal@28 @50 + gluTessProperty@16 @51 + gluTessVertex@12 @52 + gluUnProject@48 @53 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhid.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhid.def new file mode 100644 index 0000000..ecd5635 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhid.def @@ -0,0 +1,38 @@ +; File generated automatically from ./dlls/hid/hid.spec; do not edit! + +LIBRARY hid.dll + +EXPORTS + HidD_FlushQueue@4 @1 + HidD_FreePreparsedData@4 @2 + HidD_GetAttributes@8 @3 + HidD_GetConfiguration@12 @4 + HidD_GetFeature@12 @5 + HidD_GetHidGuid@4 @6 + HidD_GetIndexedString@16 @7 + HidD_GetInputReport@12 @8 + HidD_GetManufacturerString@12 @9 + HidD_GetMsGenreDescriptor@12 @10 + HidD_GetNumInputBuffers@8 @11 + HidD_GetPhysicalDescriptor@12 @12 + HidD_GetPreparsedData@8 @13 + HidD_GetProductString@12 @14 + HidD_GetSerialNumberString@12 @15 + HidD_SetConfiguration@12 @17 + HidD_SetFeature@12 @18 + HidD_SetNumInputBuffers@8 @19 + HidD_SetOutputReport@12 @20 + HidP_GetButtonCaps@16 @21 + HidP_GetCaps@8 @22 + HidP_GetData@24 @23 + HidP_GetScaledUsageValue@32 @26 + HidP_GetSpecificButtonCaps@28 @27 + HidP_GetSpecificValueCaps@28 @28 + HidP_GetUsageValue@32 @29 + HidP_GetUsages@32 @31 + HidP_GetUsagesEx@28 @32 + HidP_GetValueCaps@16 @33 + HidP_InitializeReportForID@20 @34 + HidP_MaxDataListLength@8 @35 + HidP_MaxUsageListLength@12 @36 + HidP_TranslateUsagesToI8042ScanCodes@24 @42 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhidclass.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhidclass.def new file mode 100644 index 0000000..0ea07ed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhidclass.def @@ -0,0 +1,6 @@ +; File generated automatically from ./dlls/hidclass.sys/hidclass.sys.spec; do not edit! + +LIBRARY hidclass.sys + +EXPORTS + HidRegisterMinidriver@4 @1 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhlink.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhlink.def new file mode 100644 index 0000000..d4268ee --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhlink.def @@ -0,0 +1,25 @@ +; File generated automatically from ./dlls/hlink/hlink.spec; do not edit! + +LIBRARY hlink.dll + +EXPORTS + HlinkCreateFromMoniker@32 @3 + HlinkCreateFromString@32 @4 + HlinkCreateFromData@24 @5 + HlinkCreateBrowseContext@12 @6 + HlinkClone@20 @7 + HlinkNavigateToStringReference@36 @8 + HlinkOnNavigate@28 @9 + HlinkNavigate@24 @10 + HlinkUpdateStackItem@24 @11 + HlinkResolveMonikerForData@28 @14 + HlinkParseDisplayName@20 @18 + HlinkQueryCreateFromData@4 @20 + HlinkGetSpecialReference@8 @22 + HlinkIsShortcut@4 @25 + HlinkTranslateURL@12 @31 + HlinkCreateExtensionServices@28 @32 + DllCanUnloadNow@0 @13 PRIVATE + DllGetClassObject@12 @17 PRIVATE + DllRegisterServer@0 @19 PRIVATE + DllUnregisterServer@0 @34 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhtmlhelp.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhtmlhelp.def new file mode 100644 index 0000000..a5945b1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libhtmlhelp.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/hhctrl.ocx/hhctrl.ocx.spec; do not edit! + +LIBRARY hhctrl.ocx + +EXPORTS + doWinMain@8 @13 + HtmlHelpA@16 @14 + HtmlHelpW@16 @15 + DllGetClassObject@12 @16 PRIVATE + DllRegisterServer@0 @17 PRIVATE + DllUnregisterServer@0 @18 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libieframe.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libieframe.def new file mode 100644 index 0000000..6ba94ba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libieframe.def @@ -0,0 +1,12 @@ +; File generated automatically from ./dlls/ieframe/ieframe.spec; do not edit! + +LIBRARY ieframe.dll + +EXPORTS + IEWinMain@8 @101 NONAME + DllCanUnloadNow@0 @102 PRIVATE + DllGetClassObject@12 @103 PRIVATE + DllRegisterServer@0 @104 PRIVATE + DllUnregisterServer@0 @105 PRIVATE + IEGetWriteableHKCU@4 @106 + OpenURL@16 @107 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libimagehlp.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libimagehlp.def new file mode 100644 index 0000000..50da7bb --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libimagehlp.def @@ -0,0 +1,104 @@ +; File generated automatically from ./dlls/imagehlp/imagehlp.spec; do not edit! + +LIBRARY imagehlp.dll + +EXPORTS + BindImage@12 @1 + BindImageEx@20 @2 + CheckSumMappedFile@16 @3 + EnumerateLoadedModules64@12=dbghelp.EnumerateLoadedModules64 @4 + EnumerateLoadedModules@12=dbghelp.EnumerateLoadedModules @5 + FindDebugInfoFile@12=dbghelp.FindDebugInfoFile @6 + FindDebugInfoFileEx@20=dbghelp.FindDebugInfoFileEx @7 + FindExecutableImage@12=dbghelp.FindExecutableImage @8 + FindExecutableImageEx@20=dbghelp.FindExecutableImageEx @9 + GetImageConfigInformation@8 @12 + GetImageUnusedHeaderBytes@8 @13 + GetTimestampForLoadedLibrary@4=dbghelp.GetTimestampForLoadedLibrary @14 + ImageAddCertificate@12 @15 + ImageDirectoryEntryToData@16=dbghelp.ImageDirectoryEntryToData @16 + ImageDirectoryEntryToDataEx@20=dbghelp.ImageDirectoryEntryToDataEx @17 + ImageEnumerateCertificates@20 @18 + ImageGetCertificateData@16 @19 + ImageGetCertificateHeader@12 @20 + ImageGetDigestStream@16 @21 + ImageLoad@8 @22 + ImageNtHeader@4=ntdll.RtlImageNtHeader @23 + ImageRemoveCertificate@8 @24 + ImageRvaToSection@12=ntdll.RtlImageRvaToSection @25 + ImageRvaToVa@16=ntdll.RtlImageRvaToVa @26 + ImageUnload@4 @27 + ImagehlpApiVersion@0=dbghelp.ImagehlpApiVersion @28 + ImagehlpApiVersionEx@4=dbghelp.ImagehlpApiVersionEx @29 + MakeSureDirectoryPathExists@4=dbghelp.MakeSureDirectoryPathExists @30 + MapAndLoad@20 @31 + MapDebugInformation@16=dbghelp.MapDebugInformation @32 + MapFileAndCheckSumA@12 @33 + MapFileAndCheckSumW@12 @34 + ReBaseImage@44 @37 + RemovePrivateCvSymbolic@12 @38 + RemoveRelocations@4 @40 + SearchTreeForFile@12=dbghelp.SearchTreeForFile @41 + SetImageConfigInformation@8 @42 + SplitSymbols@16 @43 + StackWalk64@36=dbghelp.StackWalk64 @44 + StackWalk@36=dbghelp.StackWalk @45 + SymCleanup@4=dbghelp.SymCleanup @46 + SymEnumSourceFiles@24=dbghelp.SymEnumSourceFiles @47 + SymEnumSymbols@24=dbghelp.SymEnumSymbols @49 + SymEnumTypes@20=dbghelp.SymEnumTypes @50 + SymEnumerateModules64@12=dbghelp.SymEnumerateModules64 @51 + SymEnumerateModules@12=dbghelp.SymEnumerateModules @52 + SymEnumerateSymbols64@20=dbghelp.SymEnumerateSymbols64 @53 + SymEnumerateSymbols@16=dbghelp.SymEnumerateSymbols @54 + SymFindFileInPath@40=dbghelp.SymFindFileInPath @57 + SymFromAddr@20=dbghelp.SymFromAddr @58 + SymFromName@12=dbghelp.SymFromName @59 + SymFunctionTableAccess64@12=dbghelp.SymFunctionTableAccess64 @60 + SymFunctionTableAccess@8=dbghelp.SymFunctionTableAccess @61 + SymGetLineFromAddr64@20=dbghelp.SymGetLineFromAddr64 @62 + SymGetLineFromAddr@16=dbghelp.SymGetLineFromAddr @63 + SymGetLineNext64@8=dbghelp.SymGetLineNext64 @66 + SymGetLineNext@8=dbghelp.SymGetLineNext @67 + SymGetLinePrev64@8=dbghelp.SymGetLinePrev64 @68 + SymGetLinePrev@8=dbghelp.SymGetLinePrev @69 + SymGetModuleBase64@12=dbghelp.SymGetModuleBase64 @70 + SymGetModuleBase@8=dbghelp.SymGetModuleBase @71 + SymGetModuleInfo64@16=dbghelp.SymGetModuleInfo64 @72 + SymGetModuleInfo@12=dbghelp.SymGetModuleInfo @73 + SymGetModuleInfoW64@16=dbghelp.SymGetModuleInfoW64 @74 + SymGetModuleInfoW@12=dbghelp.SymGetModuleInfoW @75 + SymGetOptions@0=dbghelp.SymGetOptions @76 + SymGetSearchPath@12=dbghelp.SymGetSearchPath @77 + SymGetSymFromAddr64@20=dbghelp.SymGetSymFromAddr64 @78 + SymGetSymFromAddr@16=dbghelp.SymGetSymFromAddr @79 + SymGetSymFromName64@12=dbghelp.SymGetSymFromName64 @80 + SymGetSymFromName@12=dbghelp.SymGetSymFromName @81 + SymGetSymNext64@8=dbghelp.SymGetSymNext64 @82 + SymGetSymNext@8=dbghelp.SymGetSymNext @83 + SymGetSymPrev64@8=dbghelp.SymGetSymPrev64 @84 + SymGetSymPrev@8=dbghelp.SymGetSymPrev @85 + SymGetTypeFromName@20=dbghelp.SymGetTypeFromName @86 + SymGetTypeInfo@24=dbghelp.SymGetTypeInfo @87 + SymInitialize@12=dbghelp.SymInitialize @88 + SymLoadModule64@28=dbghelp.SymLoadModule64 @89 + SymLoadModule@24=dbghelp.SymLoadModule @90 + SymMatchFileName@16=dbghelp.SymMatchFileName @91 + SymMatchString@12=dbghelp.SymMatchString @92 + SymRegisterCallback64@16=dbghelp.SymRegisterCallback64 @93 + SymRegisterCallback@12=dbghelp.SymRegisterCallback @94 + SymRegisterFunctionEntryCallback64@16=dbghelp.SymRegisterFunctionEntryCallback64 @95 + SymRegisterFunctionEntryCallback@12=dbghelp.SymRegisterFunctionEntryCallback @96 + SymSetContext@12=dbghelp.SymSetContext @97 + SymSetOptions@4=dbghelp.SymSetOptions @98 + SymSetSearchPath@8=dbghelp.SymSetSearchPath @99 + SymUnDName64@12=dbghelp.SymUnDName64 @100 + SymUnDName@12=dbghelp.SymUnDName @101 + SymUnloadModule64@12=dbghelp.SymUnloadModule64 @102 + SymUnloadModule@8=dbghelp.SymUnloadModule @103 + TouchFileTimes@8 @104 + UnDecorateSymbolName@16=dbghelp.UnDecorateSymbolName @105 + UnMapAndLoad@4 @106 + UnmapDebugInformation@4=dbghelp.UnmapDebugInformation @107 + UpdateDebugInfoFile@16 @108 + UpdateDebugInfoFileEx@20 @109 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libimm32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libimm32.def new file mode 100644 index 0000000..42dbfe1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libimm32.def @@ -0,0 +1,92 @@ +; File generated automatically from ./dlls/imm32/imm32.spec; do not edit! + +LIBRARY imm32.dll + +EXPORTS + ImmAssociateContext@8 @2 + ImmAssociateContextEx@12 @3 + ImmConfigureIMEA@16 @4 + ImmConfigureIMEW@16 @5 + ImmCreateContext@0 @6 + ImmCreateIMCC@4 @7 + ImmCreateSoftKeyboard@16 @8 + ImmDestroyContext@4 @9 + ImmDestroyIMCC@4 @10 + ImmDestroySoftKeyboard@4 @11 + ImmDisableIME@4 @12 + ImmDisableIme@4=ImmDisableIME@4 @13 + ImmDisableTextFrameService@4 @14 + ImmEnumInputContext@12 @15 + ImmEnumRegisterWordA@24 @16 + ImmEnumRegisterWordW@24 @17 + ImmEscapeA@16 @18 + ImmEscapeW@16 @19 + ImmGenerateMessage@4 @21 + ImmGetCandidateListA@16 @22 + ImmGetCandidateListCountA@8 @23 + ImmGetCandidateListCountW@8 @24 + ImmGetCandidateListW@16 @25 + ImmGetCandidateWindow@12 @26 + ImmGetCompositionFontA@8 @27 + ImmGetCompositionFontW@8 @28 + ImmGetCompositionString@16=ImmGetCompositionStringA@16 @29 + ImmGetCompositionStringA@16 @30 + ImmGetCompositionStringW@16 @31 + ImmGetCompositionWindow@8 @32 + ImmGetContext@4 @33 + ImmGetConversionListA@24 @34 + ImmGetConversionListW@24 @35 + ImmGetConversionStatus@12 @36 + ImmGetDefaultIMEWnd@4 @37 + ImmGetDescriptionA@12 @38 + ImmGetDescriptionW@12 @39 + ImmGetGuideLineA@16 @40 + ImmGetGuideLineW@16 @41 + ImmGetHotKey@16 @42 + ImmGetIMCCLockCount@4 @43 + ImmGetIMCCSize@4 @44 + ImmGetIMCLockCount@4 @45 + ImmGetIMEFileNameA@12 @46 + ImmGetIMEFileNameW@12 @47 + ImmGetImeMenuItemsA@24 @49 + ImmGetImeMenuItemsW@24 @50 + ImmGetOpenStatus@4 @51 + ImmGetProperty@8 @52 + ImmGetRegisterWordStyleA@12 @53 + ImmGetRegisterWordStyleW@12 @54 + ImmGetStatusWindowPos@8 @55 + ImmGetVirtualKey@4 @56 + ImmInstallIMEA@8 @63 + ImmInstallIMEW@8 @64 + ImmIsIME@4 @65 + ImmIsUIMessageA@16 @66 + ImmIsUIMessageW@16 @67 + ImmLockIMC@4 @71 + ImmLockIMCC@4 @72 + ImmNotifyIME@16 @74 + ImmProcessKey@20 @76 + ImmReSizeIMCC@8 @78 + ImmRegisterWordA@16 @80 + ImmRegisterWordW@16 @81 + ImmReleaseContext@8 @82 + ImmRequestMessageA@12 @83 + ImmRequestMessageW@12 @84 + ImmSetCandidateWindow@8 @90 + ImmSetCompositionFontA@8 @91 + ImmSetCompositionFontW@8 @92 + ImmSetCompositionStringA@24 @93 + ImmSetCompositionStringW@24 @94 + ImmSetCompositionWindow@8 @95 + ImmSetConversionStatus@12 @96 + ImmSetOpenStatus@8 @97 + ImmSetStatusWindowPos@8 @98 + ImmShowSoftKeyboard@8 @99 + ImmSimulateHotKey@8 @100 + ImmTranslateMessage@16 @102 + ImmUnlockIMC@4 @104 + ImmUnlockIMCC@4 @105 + ImmUnregisterWordA@16 @107 + ImmUnregisterWordW@16 @108 + __wine_get_ui_window@4 @112 + __wine_register_window@4 @113 + __wine_unregister_window@4 @114 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libinetcomm.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libinetcomm.def new file mode 100644 index 0000000..c1e9037 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libinetcomm.def @@ -0,0 +1,24 @@ +; File generated automatically from ./dlls/inetcomm/inetcomm.spec; do not edit! + +LIBRARY inetcomm.dll + +EXPORTS + CreateIMAPTransport@4 @2 + CreatePOP3Transport@4 @4 + CreateSMTPTransport@4 @7 + DllCanUnloadNow@0 @8 PRIVATE + DllGetClassObject@12 @9 PRIVATE + DllRegisterServer@0 @10 PRIVATE + DllUnregisterServer@0 @11 PRIVATE + MimeGetAddressFormatW@20 @45 + MimeOleCreateMessage@8 @54 + MimeOleCreateSecurity@4 @57 + MimeOleCreateVirtualStream@4 @58 + MimeOleFindCharset@8 @62 + MimeOleGetAllocator@4 @66 + MimeOleGetCharsetInfo@8 @70 + MimeOleGetDefaultCharset@4 @74 + MimeOleGetInternat@4 @79 + MimeOleGetPropertySchema@4 @82 + MimeOleObjectFromMoniker@24 @85 + MimeOleSetCompatMode@4 @101 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libiphlpapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libiphlpapi.def new file mode 100644 index 0000000..1ef66be --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libiphlpapi.def @@ -0,0 +1,98 @@ +; File generated automatically from ./dlls/iphlpapi/iphlpapi.spec; do not edit! + +LIBRARY iphlpapi.dll + +EXPORTS + AddIPAddress@20 @1 + AllocateAndGetIfTableFromStack@16 @3 + AllocateAndGetIpAddrTableFromStack@16 @4 + AllocateAndGetIpForwardTableFromStack@16 @5 + AllocateAndGetIpNetTableFromStack@16 @6 + AllocateAndGetTcpTableFromStack@16 @7 + AllocateAndGetUdpTableFromStack@16 @8 + CancelIPChangeNotify@4 @9 + CancelMibChangeNotify2@4 @10 + ConvertInterfaceGuidToLuid@8 @11 + ConvertInterfaceIndexToLuid@8 @12 + ConvertInterfaceLuidToGuid@8 @13 + ConvertInterfaceLuidToIndex@8 @14 + ConvertInterfaceLuidToNameA@12 @15 + ConvertInterfaceLuidToNameW@12 @16 + ConvertInterfaceNameToLuidA@8 @17 + ConvertInterfaceNameToLuidW@8 @18 + CreateIpForwardEntry@4 @19 + CreateIpNetEntry@4 @20 + CreateProxyArpEntry@12 @21 + CreateSortedAddressPairs@28 @22 + DeleteIPAddress@4 @23 + DeleteIpForwardEntry@4 @24 + DeleteIpNetEntry@4 @25 + DeleteProxyArpEntry@12 @26 + EnableRouter@8 @27 + FlushIpNetTable@4 @28 + FreeMibTable@4 @30 + GetAdapterIndex@8 @31 + GetAdaptersAddresses@20 @33 + GetAdaptersInfo@8 @34 + GetBestInterface@8 @35 + GetBestInterfaceEx@8 @36 + GetBestRoute@12 @38 + GetExtendedTcpTable@24 @40 + GetExtendedUdpTable@24 @41 + GetFriendlyIfIndex@4 @42 + GetIcmpStatisticsEx@8 @43 + GetIcmpStatistics@4 @44 + GetIfEntry@4 @46 + GetIfEntry2@4 @47 + GetIfTable@12 @49 + GetIfTable2@4 @50 + GetIfTable2Ex@8 @51 + GetInterfaceInfo@8 @54 + GetIpAddrTable@12 @55 + GetIpForwardTable@12 @57 + GetIpNetTable@12 @59 + GetIpStatisticsEx@8 @61 + GetIpStatistics@4 @62 + GetNetworkParams@8 @64 + GetNumberOfInterfaces@4 @65 + GetPerAdapterInfo@12 @66 + GetRTTAndHopCount@16 @67 + GetTcp6Table@12 @68 + GetTcp6Table2@12 @69 + GetTcpStatisticsEx@8 @70 + GetTcpStatistics@4 @71 + GetTcpTable@12 @73 + GetTcpTable2@12 @74 + GetUdpStatisticsEx@8 @76 + GetUdpStatistics@4 @77 + GetUdpTable@12 @79 + GetUnicastIpAddressEntry@4 @81 + GetUnicastIpAddressTable@8 @82 + GetUniDirectionalAdapterInfo@8 @83 + Icmp6CreateFile@0 @84 + Icmp6SendEcho2@48 @85 + IcmpCloseHandle@4 @86 + IcmpCreateFile@0 @87 + IcmpSendEcho2Ex@48 @89 + IcmpSendEcho2@44 @90 + IcmpSendEcho@32 @91 + if_nametoindex@4=IPHLP_if_nametoindex@4 @92 + IpReleaseAddress@4 @108 + IpRenewAddress@4 @109 + NotifyAddrChange@8 @115 + NotifyIpInterfaceChange@20 @116 + NotifyRouteChange@8 @117 + NotifyUnicastIpAddressChange@20 @119 + _PfBindInterfaceToIPAddress@12@12=PfBindInterfaceToIPAddress@12 @122 + _PfCreateInterface@24@24=PfCreateInterface@24 @124 + _PfDeleteInterface@4@4=PfDeleteInterface@4 @125 + _PfUnBindInterface@4@4=PfUnBindInterface@4 @135 + SendARP@16 @136 + SetIfEntry@4 @139 + SetIpForwardEntry@4 @141 + SetIpNetEntry@4 @144 + SetIpStatistics@4 @147 + SetIpTTL@4 @149 + SetPerTcpConnectionEStats@24 @150 + SetTcpEntry@4 @153 + UnenableRouter@8 @155 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libjsproxy.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libjsproxy.def new file mode 100644 index 0000000..50e2edd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libjsproxy.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/jsproxy/jsproxy.spec; do not edit! + +LIBRARY jsproxy.dll + +EXPORTS + InternetInitializeAutoProxyDll@20=JSPROXY_InternetInitializeAutoProxyDll@20 @101 + InternetDeInitializeAutoProxyDll@8 @102 + InternetGetProxyInfo@24 @103 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libkernel.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libkernel.def new file mode 100644 index 0000000..3ab4155 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libkernel.def @@ -0,0 +1,186 @@ +; File generated automatically from ./dlls/krnl386.exe16/krnl386.exe16.spec; do not edit! + +LIBRARY krnl386.exe16 + +EXPORTS + __wine_spec_dos_header=.L__wine_spec_dos_header @1 DATA PRIVATE + VxDCall0@0=VxDCall@0 @2 + VxDCall1@0=VxDCall@0 @3 + VxDCall2@0=VxDCall@0 @4 + VxDCall3@0=VxDCall@0 @5 + VxDCall4@0=VxDCall@0 @6 + VxDCall5@0=VxDCall@0 @7 + VxDCall6@0=VxDCall@0 @8 + VxDCall7@0=VxDCall@0 @9 + VxDCall8@0=VxDCall@0 @10 + k32CharToOemA@8 @11 + k32CharToOemBuffA@12 @12 + k32OemToCharA@8 @13 + k32OemToCharBuffA@12 @14 + k32LoadStringA@16 @15 + k32wsprintfA @16 + k32wvsprintfA@12 @17 + CommonUnimpStub@0 @18 + GetProcessDword@8 @19 + DosFileHandleToWin32Handle@4 @20 + Win32HandleToDosFileHandle@4 @21 + DisposeLZ32Handle@4 @22 + GlobalAlloc16@8 @23 + GlobalLock16@4 @24 + GlobalUnlock16@4 @25 + GlobalFix16@4 @26 + GlobalUnfix16@4 @27 + GlobalWire16@4 @28 + GlobalUnWire16@4 @29 + GlobalFree16@4 @30 + GlobalSize16@4 @31 + HouseCleanLogicallyDeadHandles@0 @32 + GetWin16DOSEnv@0 @33 + LoadLibrary16@4 @34 + FreeLibrary16@4 @35 + GetProcAddress16@8=WIN32_GetProcAddress16@8 @36 + AllocMappedBuffer@0 @37 + FreeMappedBuffer@0 @38 + OT_32ThkLSF@0 @39 + ThunkInitLSF@20 @40 + LogApiThkLSF@4 @41 + ThunkInitLS@20 @42 + LogApiThkSL@4 @43 + Common32ThkLS@0 @44 + ThunkInitSL@20 @45 + LogCBThkSL@4 @46 + ReleaseThunkLock@4 @47 + RestoreThunkLock@4 @48 + W32S_BackTo32@0 @49 + GetThunkBuff@0 @50 + GetThunkStuff@8 @51 + K32WOWCallback16@8 @52 + K32WOWCallback16Ex@20 @53 + K32WOWGetVDMPointer@12 @54 + K32WOWHandle32@8 @55 + K32WOWHandle16@8 @56 + K32WOWGlobalAlloc16@8 @57 + K32WOWGlobalLock16@4 @58 + K32WOWGlobalUnlock16@4 @59 + K32WOWGlobalFree16@4 @60 + K32WOWGlobalAllocLock16@12 @61 + K32WOWGlobalUnlockFree16@4 @62 + K32WOWGlobalLockSize16@8 @63 + K32WOWYield16@0 @64 + K32WOWDirectedYield16@4 @65 + K32WOWGetVDMPointerFix@12 @66 + K32WOWGetVDMPointerUnfix@4 @67 + K32WOWGetDescriptor@8 @68 + _KERNEL32_86@4 @69 + SSOnBigStack@0 @70 + SSCall @71 + FT_PrologPrime@0 @72 + QT_ThunkPrime@0 @73 + PK16FNF@4 @74 + GetPK16SysVar@0 @75 + GetpWin16Lock@4 @76 + _CheckNotSysLevel@4 @77 + _ConfirmSysLevel@4 @78 + _ConfirmWin16Lock@0 @79 + _EnterSysLevel@4 @80 + _LeaveSysLevel@4 @81 + _KERNEL32_99@4 @82 + _KERNEL32_100@12 @83 + AllocSLCallback@8 @84 + FT_Exit0@0 @85 + FT_Exit12@0 @86 + FT_Exit16@0 @87 + FT_Exit20@0 @88 + FT_Exit24@0 @89 + FT_Exit28@0 @90 + FT_Exit32@0 @91 + FT_Exit36@0 @92 + FT_Exit40@0 @93 + FT_Exit44@0 @94 + FT_Exit48@0 @95 + FT_Exit4@0 @96 + FT_Exit52@0 @97 + FT_Exit56@0 @98 + FT_Exit8@0 @99 + FT_Prolog@0 @100 + FT_Thunk@0 @101 + FreeSLCallback@4 @102 + Get16DLLAddress@8 @103 + K32Thk1632Epilog@0 @104 + K32Thk1632Prolog@0 @105 + MapHInstLS@0 @106 + MapHInstLS_PN@0 @107 + MapHInstSL@0 @108 + MapHInstSL_PN@0 @109 + MapHModuleLS@4 @110 + MapHModuleSL@4 @111 + MapLS@4 @112 + MapSL@4 @113 + MapSLFix@4 @114 + PrivateFreeLibrary@4 @115 + PrivateLoadLibrary@4 @116 + QT_Thunk@0 @117 + SMapLS@0 @118 + SMapLS_IP_EBP_12@0 @119 + SMapLS_IP_EBP_16@0 @120 + SMapLS_IP_EBP_20@0 @121 + SMapLS_IP_EBP_24@0 @122 + SMapLS_IP_EBP_28@0 @123 + SMapLS_IP_EBP_32@0 @124 + SMapLS_IP_EBP_36@0 @125 + SMapLS_IP_EBP_40@0 @126 + SMapLS_IP_EBP_8@0 @127 + SUnMapLS@0 @128 + SUnMapLS_IP_EBP_12@0 @129 + SUnMapLS_IP_EBP_16@0 @130 + SUnMapLS_IP_EBP_20@0 @131 + SUnMapLS_IP_EBP_24@0 @132 + SUnMapLS_IP_EBP_28@0 @133 + SUnMapLS_IP_EBP_32@0 @134 + SUnMapLS_IP_EBP_36@0 @135 + SUnMapLS_IP_EBP_40@0 @136 + SUnMapLS_IP_EBP_8@0 @137 + ThunkConnect32@24 @138 + UTRegister@28 @139 + UTUnRegister@4 @140 + UnMapLS@4 @141 + UnMapSLFixArray@8 @142 + _lclose16@4 @143 + AllocSelectorArray16@4 @144 + FarGetOwner16@4 @145 + FarSetOwner16@8 @146 + FindResource16@12 @147 + FreeResource16@4 @148 + FreeSelector16@4 @149 + GetCurrentPDB16@0 @150 + GetCurrentTask@0 @151 + GetDOSEnvironment16@0 @152 + GetExePtr@4 @153 + GetExeVersion16@0 @154 + GetExpWinVer16@4 @155 + GetModuleHandle16@4 @156 + GlobalReAlloc16@12 @157 + InitTask16@4 @158 + IsBadReadPtr16@8 @159 + IsTask16@4 @160 + LoadModule16@8 @161 + LoadResource16@8 @162 + LocalAlloc16@8 @163 + LocalInit16@12 @164 + LocalLock16@4 @165 + LocalUnlock16@4 @166 + LocalReAlloc16@12 @167 + LocalFree16@4 @168 + LocalSize16@4 @169 + LocalCompact16@4 @170 + LocalCountFree16@0 @171 + LocalHeapSize16@0 @172 + LockResource16@4 @173 + SetSelectorBase@8 @174 + SetSelectorLimit16@8 @175 + SizeofResource16@8 @176 + WinExec16@8 @177 + __wine_call_int_handler @178 + __wine_load_dos_exe @179 + __wine_vxd_open @180 PRIVATE + __wine_vxd_get_proc @181 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libkernel32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libkernel32.def new file mode 100644 index 0000000..32c8784 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libkernel32.def @@ -0,0 +1,1247 @@ +; File generated automatically from ./dlls/kernel32/kernel32.spec; do not edit! + +LIBRARY kernel32.dll + +EXPORTS + VxDCall0@0=krnl386.exe16.VxDCall0 @1 NONAME PRIVATE + VxDCall1@0=krnl386.exe16.VxDCall1 @2 NONAME PRIVATE + VxDCall2@0=krnl386.exe16.VxDCall2 @3 NONAME PRIVATE + VxDCall3@0=krnl386.exe16.VxDCall3 @4 NONAME PRIVATE + VxDCall4@0=krnl386.exe16.VxDCall4 @5 NONAME PRIVATE + VxDCall5@0=krnl386.exe16.VxDCall5 @6 NONAME PRIVATE + VxDCall6@0=krnl386.exe16.VxDCall6 @7 NONAME PRIVATE + VxDCall7@0=krnl386.exe16.VxDCall7 @8 NONAME PRIVATE + VxDCall8@0=krnl386.exe16.VxDCall8 @9 NONAME PRIVATE + k32CharToOemA@8=krnl386.exe16.k32CharToOemA @10 NONAME PRIVATE + k32CharToOemBuffA@12=krnl386.exe16.k32CharToOemBuffA @11 NONAME PRIVATE + k32OemToCharA@8=krnl386.exe16.k32OemToCharA @12 NONAME PRIVATE + k32OemToCharBuffA@12=krnl386.exe16.k32OemToCharBuffA @13 NONAME PRIVATE + k32LoadStringA@16=krnl386.exe16.k32LoadStringA @14 NONAME PRIVATE + k32wsprintfA=krnl386.exe16.k32wsprintfA @15 NONAME PRIVATE + k32wvsprintfA@12=krnl386.exe16.k32wvsprintfA @16 NONAME PRIVATE + CommonUnimpStub@0=krnl386.exe16.CommonUnimpStub @17 NONAME PRIVATE + GetProcessDword@8=krnl386.exe16.GetProcessDword @18 NONAME PRIVATE + DosFileHandleToWin32Handle@4=krnl386.exe16.DosFileHandleToWin32Handle @20 NONAME PRIVATE + Win32HandleToDosFileHandle@4=krnl386.exe16.Win32HandleToDosFileHandle @21 NONAME PRIVATE + DisposeLZ32Handle@4=krnl386.exe16.DisposeLZ32Handle @22 NONAME PRIVATE + GlobalAlloc16@8=krnl386.exe16.GlobalAlloc16 @24 NONAME PRIVATE + GlobalLock16@4=krnl386.exe16.GlobalLock16 @25 NONAME PRIVATE + GlobalUnlock16@4=krnl386.exe16.GlobalUnlock16 @26 NONAME PRIVATE + GlobalFix16@4=krnl386.exe16.GlobalFix16 @27 NONAME PRIVATE + GlobalUnfix16@4=krnl386.exe16.GlobalUnfix16 @28 NONAME PRIVATE + GlobalWire16@4=krnl386.exe16.GlobalWire16 @29 NONAME PRIVATE + GlobalUnWire16@4=krnl386.exe16.GlobalUnWire16 @30 NONAME PRIVATE + GlobalFree16@4=krnl386.exe16.GlobalFree16 @31 NONAME PRIVATE + GlobalSize16@4=krnl386.exe16.GlobalSize16 @32 NONAME PRIVATE + HouseCleanLogicallyDeadHandles@0=krnl386.exe16.HouseCleanLogicallyDeadHandles @33 NONAME PRIVATE + GetWin16DOSEnv@0=krnl386.exe16.GetWin16DOSEnv @34 NONAME PRIVATE + LoadLibrary16@4=krnl386.exe16.LoadLibrary16 @35 NONAME PRIVATE + FreeLibrary16@4=krnl386.exe16.FreeLibrary16 @36 NONAME PRIVATE + GetProcAddress16@8=krnl386.exe16.GetProcAddress16 @37 NONAME PRIVATE + AllocMappedBuffer@0=krnl386.exe16.AllocMappedBuffer @38 NONAME PRIVATE + FreeMappedBuffer@0=krnl386.exe16.FreeMappedBuffer @39 NONAME PRIVATE + OT_32ThkLSF@0=krnl386.exe16.OT_32ThkLSF @40 NONAME PRIVATE + ThunkInitLSF@20=krnl386.exe16.ThunkInitLSF @41 NONAME PRIVATE + LogApiThkLSF@4=krnl386.exe16.LogApiThkLSF @42 NONAME PRIVATE + ThunkInitLS@20=krnl386.exe16.ThunkInitLS @43 NONAME PRIVATE + LogApiThkSL@4=krnl386.exe16.LogApiThkSL @44 NONAME PRIVATE + Common32ThkLS@0=krnl386.exe16.Common32ThkLS @45 NONAME PRIVATE + ThunkInitSL@20=krnl386.exe16.ThunkInitSL @46 NONAME PRIVATE + LogCBThkSL@4=krnl386.exe16.LogCBThkSL @47 NONAME PRIVATE + ReleaseThunkLock@4=krnl386.exe16.ReleaseThunkLock @48 NONAME PRIVATE + RestoreThunkLock@4=krnl386.exe16.RestoreThunkLock @49 NONAME PRIVATE + W32S_BackTo32@0=krnl386.exe16.W32S_BackTo32 @51 NONAME PRIVATE + GetThunkBuff@0=krnl386.exe16.GetThunkBuff @52 NONAME PRIVATE + GetThunkStuff@8=krnl386.exe16.GetThunkStuff @53 NONAME PRIVATE + K32WOWCallback16@8=krnl386.exe16.K32WOWCallback16 @54 NONAME PRIVATE + K32WOWCallback16Ex@20=krnl386.exe16.K32WOWCallback16Ex @55 NONAME PRIVATE + K32WOWGetVDMPointer@12=krnl386.exe16.K32WOWGetVDMPointer @56 NONAME PRIVATE + K32WOWHandle32@8=krnl386.exe16.K32WOWHandle32 @57 NONAME PRIVATE + K32WOWHandle16@8=krnl386.exe16.K32WOWHandle16 @58 NONAME PRIVATE + K32WOWGlobalAlloc16@8=krnl386.exe16.K32WOWGlobalAlloc16 @59 NONAME PRIVATE + K32WOWGlobalLock16@4=krnl386.exe16.K32WOWGlobalLock16 @60 NONAME PRIVATE + K32WOWGlobalUnlock16@4=krnl386.exe16.K32WOWGlobalUnlock16 @61 NONAME PRIVATE + K32WOWGlobalFree16@4=krnl386.exe16.K32WOWGlobalFree16 @62 NONAME PRIVATE + K32WOWGlobalAllocLock16@12=krnl386.exe16.K32WOWGlobalAllocLock16 @63 NONAME PRIVATE + K32WOWGlobalUnlockFree16@4=krnl386.exe16.K32WOWGlobalUnlockFree16 @64 NONAME PRIVATE + K32WOWGlobalLockSize16@8=krnl386.exe16.K32WOWGlobalLockSize16 @65 NONAME PRIVATE + K32WOWYield16@0=krnl386.exe16.K32WOWYield16 @66 NONAME PRIVATE + K32WOWDirectedYield16@4=krnl386.exe16.K32WOWDirectedYield16 @67 NONAME PRIVATE + K32WOWGetVDMPointerFix@12=krnl386.exe16.K32WOWGetVDMPointerFix @68 NONAME PRIVATE + K32WOWGetVDMPointerUnfix@4=krnl386.exe16.K32WOWGetVDMPointerUnfix @69 NONAME PRIVATE + K32WOWGetDescriptor@8=krnl386.exe16.K32WOWGetDescriptor @70 NONAME PRIVATE + K32RtlLargeIntegerAdd@16=ntdll.RtlLargeIntegerAdd @72 NONAME PRIVATE + K32RtlEnlargedIntegerMultiply@8=ntdll.RtlEnlargedIntegerMultiply @73 NONAME PRIVATE + K32RtlEnlargedUnsignedMultiply@8=ntdll.RtlEnlargedUnsignedMultiply @74 NONAME PRIVATE + K32RtlEnlargedUnsignedDivide@16=ntdll.RtlEnlargedUnsignedDivide @75 NONAME PRIVATE + K32RtlExtendedLargeIntegerDivide@16=ntdll.RtlExtendedLargeIntegerDivide @76 NONAME PRIVATE + K32RtlExtendedMagicDivide@20=ntdll.RtlExtendedMagicDivide @77 NONAME PRIVATE + K32RtlExtendedIntegerMultiply@12=ntdll.RtlExtendedIntegerMultiply @78 NONAME PRIVATE + K32RtlLargeIntegerShiftLeft@12=ntdll.RtlLargeIntegerShiftLeft @79 NONAME PRIVATE + K32RtlLargeIntegerShiftRight@12=ntdll.RtlLargeIntegerShiftRight @80 NONAME PRIVATE + K32RtlLargeIntegerArithmeticShift@12=ntdll.RtlLargeIntegerArithmeticShift @81 NONAME PRIVATE + K32RtlLargeIntegerNegate@8=ntdll.RtlLargeIntegerNegate @82 NONAME PRIVATE + K32RtlLargeIntegerSubtract@16=ntdll.RtlLargeIntegerSubtract @83 NONAME PRIVATE + K32RtlConvertLongToLargeInteger@4=ntdll.RtlConvertLongToLargeInteger @84 NONAME PRIVATE + K32RtlConvertUlongToLargeInteger@4=ntdll.RtlConvertUlongToLargeInteger @85 NONAME PRIVATE + SSOnBigStack@0=krnl386.exe16.SSOnBigStack @87 NONAME PRIVATE + SSCall=krnl386.exe16.SSCall @88 NONAME PRIVATE + FT_PrologPrime@0=krnl386.exe16.FT_PrologPrime @89 NONAME PRIVATE + QT_ThunkPrime@0=krnl386.exe16.QT_ThunkPrime @90 NONAME PRIVATE + PK16FNF@4=krnl386.exe16.PK16FNF @91 NONAME PRIVATE + GetPK16SysVar@0=krnl386.exe16.GetPK16SysVar @92 NONAME PRIVATE + GetpWin16Lock@4=krnl386.exe16.GetpWin16Lock @93 NONAME PRIVATE + _CheckNotSysLevel@4=krnl386.exe16._CheckNotSysLevel @94 NONAME PRIVATE + _ConfirmSysLevel@4=krnl386.exe16._ConfirmSysLevel @95 NONAME PRIVATE + _ConfirmWin16Lock@0=krnl386.exe16._ConfirmWin16Lock @96 NONAME PRIVATE + _EnterSysLevel@4=krnl386.exe16._EnterSysLevel @97 NONAME PRIVATE + _LeaveSysLevel@4=krnl386.exe16._LeaveSysLevel @98 NONAME PRIVATE + AcquireSRWLockExclusive@4=ntdll.RtlAcquireSRWLockExclusive @50 + AcquireSRWLockShared@4=ntdll.RtlAcquireSRWLockShared @118 + ActivateActCtx@8 @123 + AddAtomA@4 @124 + AddAtomW@4 @125 + AddConsoleAliasA@12 @126 + AddConsoleAliasW@12 @127 + AddDllDirectory@4 @128 + AddRefActCtx@4 @129 + AddVectoredContinueHandler@8=ntdll.RtlAddVectoredContinueHandler @130 + AddVectoredExceptionHandler@8=ntdll.RtlAddVectoredExceptionHandler @131 + AllocConsole@0 @132 + AllocSLCallback@8=krnl386.exe16.AllocSLCallback @134 PRIVATE + AllocateUserPhysicalPages@12 @135 + ApplicationRecoveryFinished@4 @136 + ApplicationRecoveryInProgress@4 @137 + AreFileApisANSI@0 @138 + AssignProcessToJobObject@8 @139 + AttachConsole@4 @140 + BackupRead@28 @141 + BackupSeek@24 @142 + BackupWrite@28 @143 + BaseFlushAppcompatCache@0 @149 + Beep@8 @155 + BeginUpdateResourceA@8 @156 + BeginUpdateResourceW@8 @157 + BindIoCompletionCallback@12 @158 + BuildCommDCBA@8 @159 + BuildCommDCBAndTimeoutsA@12 @160 + BuildCommDCBAndTimeoutsW@12 @161 + BuildCommDCBW@8 @162 + CallbackMayRunLong@4 @163 + CallNamedPipeA@28 @164 + CallNamedPipeW@28 @165 + CancelIo@4 @167 + CancelIoEx@8 @168 + CancelSynchronousIo@4 @169 + CancelTimerQueueTimer@8 @170 + CancelWaitableTimer@4 @171 + ChangeTimerQueueTimer@16 @172 + CheckNameLegalDOS8Dot3A@20 @173 + CheckNameLegalDOS8Dot3W@20 @174 + CheckRemoteDebuggerPresent@8 @175 + ClearCommBreak@4 @176 + ClearCommError@12 @177 + CloseConsoleHandle@4 @178 + CloseHandle@4 @179 + CloseProfileUserMapping@0 @180 + CloseThreadpool@4=ntdll.TpReleasePool @182 + CloseThreadpoolCleanupGroup@4=ntdll.TpReleaseCleanupGroup @183 + CloseThreadpoolCleanupGroupMembers@12=ntdll.TpReleaseCleanupGroupMembers @184 + CloseThreadpoolTimer@4=ntdll.TpReleaseTimer @185 + CloseThreadpoolWait@4=ntdll.TpReleaseWait @186 + CloseThreadpoolWork@4=ntdll.TpReleaseWork @187 + CmdBatNotification@4 @188 + CommConfigDialogA@12 @189 + CommConfigDialogW@12 @190 + CompareFileTime@8 @191 + CompareStringA@24 @192 + CompareStringW@24 @193 + CompareStringEx@36 @194 + CompareStringOrdinal@20 @195 + ConnectNamedPipe@8 @196 + ContinueDebugEvent@12 @199 + ConvertDefaultLocale@4 @200 + ConvertFiberToThread@0 @201 + ConvertThreadToFiber@4 @202 + ConvertThreadToFiberEx@8 @203 + ConvertToGlobalHandle@4 @204 + CopyFileA@12 @205 + CopyFileExA@24 @206 + CopyFileExW@24 @207 + CopyFileW@12 @208 + CopyLZFile@8=LZCopy@8 @209 + CreateActCtxA@4 @210 + CreateActCtxW@4 @211 + CreateConsoleScreenBuffer@20 @212 + CreateDirectoryA@8 @213 + CreateDirectoryExA@12 @214 + CreateDirectoryExW@12 @215 + CreateDirectoryW@8 @216 + CreateEventA@16 @217 + CreateEventExA@16 @218 + CreateEventExW@16 @219 + CreateEventW@16 @220 + CreateFiber@12 @221 + CreateFiberEx@20 @222 + CreateFile2@20 @223 + CreateFileA@28 @224 + CreateFileMappingA@24 @225 + CreateHardLinkTransactedA@16 @226 + CreateHardLinkTransactedW@16 @227 + CreateFileMappingW@24 @228 + CreateFileW@28 @229 + CreateHardLinkA@12 @230 + CreateHardLinkW@12 @231 + CreateIoCompletionPort@16 @232 + CreateJobObjectA@8 @233 + CreateJobObjectW@8 @234 + CreateMailslotA@16 @236 + CreateMailslotW@16 @237 + CreateMemoryResourceNotification@4 @238 + CreateMutexA@12 @239 + CreateMutexExA@16 @240 + CreateMutexExW@16 @241 + CreateMutexW@12 @242 + CreateNamedPipeA@32 @243 + CreateNamedPipeW@32 @244 + CreatePipe@16 @245 + CreateProcessA@40 @246 + CreateProcessW@40 @247 + CreateRemoteThread@28 @248 + CreateSemaphoreA@16 @249 + CreateSemaphoreExA@24 @250 + CreateSemaphoreExW@24 @251 + CreateSemaphoreW@16 @252 + CreateSocketHandle@0 @253 + CreateSymbolicLinkA@12 @254 + CreateSymbolicLinkW@12 @255 + CreateTapePartition@16 @256 + CreateThread@24 @257 + CreateThreadpool@4 @258 + CreateThreadpoolCleanupGroup@0 @259 + CreateThreadpoolTimer@12 @260 + CreateThreadpoolWait@12 @261 + CreateThreadpoolWork@12 @262 + CreateTimerQueue@0 @263 + CreateTimerQueueTimer@28 @264 + CreateToolhelp32Snapshot@8 @265 + CreateWaitableTimerA@12 @267 + CreateWaitableTimerExA@16 @268 + CreateWaitableTimerExW@16 @269 + CreateWaitableTimerW@12 @270 + DeactivateActCtx@8 @271 + DebugActiveProcess@4 @272 + DebugActiveProcessStop@4 @273 + DebugBreak@0 @274 + DebugBreakProcess@4 @275 + DebugSetProcessKillOnExit@4 @276 + DecodePointer@4=ntdll.RtlDecodePointer @277 + DecodeSystemPointer@4=ntdll.RtlDecodeSystemPointer @278 + DefineDosDeviceA@12 @279 + DefineDosDeviceW@12 @280 + DelayLoadFailureHook@8 @281 + DeleteAtom@4 @282 + DeleteCriticalSection@4=ntdll.RtlDeleteCriticalSection @283 + DeleteFiber@4 @284 + DeleteFileA@4 @285 + DeleteFileW@4 @286 + DeleteProcThreadAttributeList@4 @287 + DisassociateCurrentThreadFromCallback@4=ntdll.TpDisassociateCallback @288 + DeleteTimerQueue@4 @289 + DeleteTimerQueueEx@8 @290 + DeleteTimerQueueTimer@12 @291 + DeleteVolumeMountPointA@4 @292 + DeleteVolumeMountPointW@4 @293 + DeviceIoControl@32 @294 + DisableThreadLibraryCalls@4 @295 + DisconnectNamedPipe@4 @296 + DnsHostnameToComputerNameA@12 @297 + DnsHostnameToComputerNameW@12 @298 + DosDateTimeToFileTime@12 @299 + DuplicateConsoleHandle@16 @300 + DuplicateHandle@28 @301 + EncodePointer@4=ntdll.RtlEncodePointer @302 + EncodeSystemPointer@4=ntdll.RtlEncodeSystemPointer @303 + EndUpdateResourceA@8 @304 + EndUpdateResourceW@8 @305 + EnterCriticalSection@4=ntdll.RtlEnterCriticalSection @306 + EnumCalendarInfoA@16 @307 + EnumCalendarInfoExA@16 @308 + EnumCalendarInfoExEx@24 @309 + EnumCalendarInfoExW@16 @310 + EnumCalendarInfoW@16 @311 + EnumDateFormatsA@12 @312 + EnumDateFormatsExA@12 @313 + EnumDateFormatsExEx@16 @314 + EnumDateFormatsExW@12 @315 + EnumDateFormatsW@12 @316 + EnumLanguageGroupLocalesA@16 @317 + EnumLanguageGroupLocalesW@16 @318 + EnumResourceLanguagesA@20 @319 + EnumResourceLanguagesExA@28 @320 + EnumResourceLanguagesExW@28 @321 + EnumResourceLanguagesW@20 @322 + EnumResourceNamesA@16 @323 + EnumResourceNamesW@16 @324 + EnumResourceTypesA@12 @325 + EnumResourceTypesW@12 @326 + EnumSystemCodePagesA@8 @327 + EnumSystemCodePagesW@8 @328 + EnumSystemGeoID@12 @329 + EnumSystemLanguageGroupsA@12 @330 + EnumSystemLanguageGroupsW@12 @331 + EnumSystemLocalesA@8 @332 + EnumSystemLocalesEx@16 @333 + EnumSystemLocalesW@8 @334 + EnumTimeFormatsA@12 @335 + EnumTimeFormatsEx@16 @336 + EnumTimeFormatsW@12 @337 + EnumUILanguagesA@12 @338 + EnumUILanguagesW@12 @339 + EraseTape@12 @340 + EscapeCommFunction@8 @341 + ExitProcess@4 @342 + ExitThread@4 @343 + ExpandEnvironmentStringsA@12 @345 + ExpandEnvironmentStringsW@12 @346 + ExpungeConsoleCommandHistoryA@4 @347 + ExpungeConsoleCommandHistoryW@4 @348 + FT_Exit0@0=krnl386.exe16.FT_Exit0 @350 PRIVATE + FT_Exit12@0=krnl386.exe16.FT_Exit12 @351 PRIVATE + FT_Exit16@0=krnl386.exe16.FT_Exit16 @352 PRIVATE + FT_Exit20@0=krnl386.exe16.FT_Exit20 @353 PRIVATE + FT_Exit24@0=krnl386.exe16.FT_Exit24 @354 PRIVATE + FT_Exit28@0=krnl386.exe16.FT_Exit28 @355 PRIVATE + FT_Exit32@0=krnl386.exe16.FT_Exit32 @356 PRIVATE + FT_Exit36@0=krnl386.exe16.FT_Exit36 @357 PRIVATE + FT_Exit40@0=krnl386.exe16.FT_Exit40 @358 PRIVATE + FT_Exit44@0=krnl386.exe16.FT_Exit44 @359 PRIVATE + FT_Exit48@0=krnl386.exe16.FT_Exit48 @360 PRIVATE + FT_Exit4@0=krnl386.exe16.FT_Exit4 @361 PRIVATE + FT_Exit52@0=krnl386.exe16.FT_Exit52 @362 PRIVATE + FT_Exit56@0=krnl386.exe16.FT_Exit56 @363 PRIVATE + FT_Exit8@0=krnl386.exe16.FT_Exit8 @364 PRIVATE + FT_Prolog@0=krnl386.exe16.FT_Prolog @365 PRIVATE + FT_Thunk@0=krnl386.exe16.FT_Thunk @366 PRIVATE + FatalAppExitA@8 @367 + FatalAppExitW@8 @368 + FatalExit@4 @369 + FileTimeToDosDateTime@12 @370 + FileTimeToLocalFileTime@8 @371 + FileTimeToSystemTime@8 @372 + FillConsoleOutputAttribute@20 @373 + FillConsoleOutputCharacterA@20 @374 + FillConsoleOutputCharacterW@20 @375 + FindActCtxSectionGuid@20 @376 + FindActCtxSectionStringA@20 @377 + FindActCtxSectionStringW@20 @378 + FindAtomA@4 @379 + FindAtomW@4 @380 + FindClose@4 @381 + FindCloseChangeNotification@4 @382 + FindFirstChangeNotificationA@12 @383 + FindFirstChangeNotificationW@12 @384 + FindFirstFileA@8 @385 + FindFirstFileExA@24 @386 + FindFirstFileExW@24 @387 + FindFirstFileW@8 @388 + FindFirstVolumeA@8 @389 + FindFirstVolumeMountPointA@12 @390 + FindFirstVolumeMountPointW@12 @391 + FindFirstVolumeW@8 @392 + FindNextChangeNotification@4 @393 + FindNextFileA@8 @394 + FindNextFileW@8 @395 + FindNextVolumeA@12 @396 + FindNextVolumeW@12 @399 + FindResourceA@12 @400 + FindResourceExA@16 @401 + FindResourceExW@16 @402 + FindResourceW@12 @403 + FindVolumeClose@4 @404 + FindVolumeMountPointClose@4 @405 + FlsAlloc@4 @406 + FlsFree@4 @407 + FlsGetValue@4 @408 + FlsSetValue@8 @409 + FlushConsoleInputBuffer@4 @410 + FlushFileBuffers@4 @411 + FlushInstructionCache@12 @412 + FlushProcessWriteBuffers@0 @413 + FlushViewOfFile@8 @414 + FoldStringA@20 @415 + FoldStringW@20 @416 + FormatMessageA@28 @417 + FormatMessageW@28 @418 + FreeConsole@0 @419 + FreeEnvironmentStringsA@4 @420 + FreeEnvironmentStringsW@4 @421 + FreeLibrary@4 @423 + FreeLibraryAndExitThread@8 @424 + FreeLibraryWhenCallbackReturns@8=ntdll.TpCallbackUnloadDllOnCompletion @425 + FreeResource@4 @426 + FreeSLCallback@4=krnl386.exe16.FreeSLCallback @427 PRIVATE + FreeUserPhysicalPages@12 @428 + GenerateConsoleCtrlEvent@8 @430 + Get16DLLAddress@8=krnl386.exe16.Get16DLLAddress @431 PRIVATE + GetACP@0 @432 + GetActiveProcessorCount@4 @433 + GetActiveProcessorGroupCount@0 @434 + GetAtomNameA@12 @435 + GetAtomNameW@12 @436 + GetBinaryType@8=GetBinaryTypeA@8 @437 + GetBinaryTypeA@8 @438 + GetBinaryTypeW@8 @439 + GetCPInfo@8 @440 + GetCPInfoExA@12 @441 + GetCPInfoExW@12 @442 + GetCalendarInfoA@24 @443 + GetCalendarInfoW@24 @444 + GetCalendarInfoEx@28 @445 + GetCommConfig@12 @446 + GetCommMask@8 @447 + GetCommModemStatus@8 @448 + GetCommProperties@8 @449 + GetCommState@8 @450 + GetCommTimeouts@8 @451 + GetCommandLineA@0 @452 + GetCommandLineW@0 @453 + GetCompressedFileSizeA@8 @454 + GetCompressedFileSizeW@8 @455 + GetComputerNameA@8 @456 + GetComputerNameExA@12 @457 + GetComputerNameExW@12 @458 + GetComputerNameW@8 @459 + GetConsoleAliasExesLengthA@0 @462 + GetConsoleAliasExesLengthW@0 @463 + GetConsoleAliasW@16 @465 + GetConsoleAliasesLengthA@4 @467 + GetConsoleAliasesLengthW@4 @468 + GetConsoleCP@0 @470 + GetConsoleCommandHistoryA@12 @472 + GetConsoleCommandHistoryLengthA@4 @473 + GetConsoleCommandHistoryLengthW@4 @474 + GetConsoleCommandHistoryW@12 @475 + GetConsoleCursorInfo@8 @476 + GetConsoleDisplayMode@4 @478 + GetConsoleFontInfo@16 @479 + GetConsoleFontSize@8 @480 + GetConsoleInputExeNameA@8 @482 + GetConsoleInputExeNameW@8 @483 + GetConsoleInputWaitHandle@0 @484 + GetConsoleKeyboardLayoutNameA@4 @485 + GetConsoleKeyboardLayoutNameW@4 @486 + GetConsoleMode@8 @487 + GetConsoleOutputCP@0 @489 + GetConsoleProcessList@8 @490 + GetConsoleScreenBufferInfo@8 @491 + GetConsoleScreenBufferInfoEx@8 @492 + GetConsoleTitleA@8 @493 + GetConsoleTitleW@8 @494 + GetConsoleWindow@0 @495 + GetCurrencyFormatA@24 @496 + GetCurrencyFormatW@24 @497 + GetCurrentActCtx@4 @498 + GetCurrentConsoleFont@12 @499 + GetCurrentDirectoryA@8 @500 + GetCurrentDirectoryW@8 @501 + GetCurrentPackageFamilyName@8 @502 + GetCurrentPackageFullName@8 @503 + GetCurrentPackageId@8 @504 + GetCurrentProcess@0 @505 + GetCurrentProcessId@0 @506 + GetCurrentProcessorNumber@0=ntdll.NtGetCurrentProcessorNumber @507 + GetCurrentProcessorNumberEx@4=ntdll.RtlGetCurrentProcessorNumberEx @508 + GetCurrentThread@0 @509 + GetCurrentThreadId@0 @510 + GetDateFormatA@24 @511 + GetDateFormatEx@28 @512 + GetDateFormatW@24 @513 + GetDaylightFlag@0 @514 + GetDefaultCommConfigA@12 @515 + GetDefaultCommConfigW@12 @516 + GetDevicePowerState@8 @518 + GetDiskFreeSpaceA@20 @519 + GetDiskFreeSpaceExA@16 @520 + GetDiskFreeSpaceExW@16 @521 + GetDiskFreeSpaceW@20 @522 + GetDllDirectoryA@8 @523 + GetDllDirectoryW@8 @524 + GetDriveTypeA@4 @525 + GetDriveTypeW@4 @526 + GetDynamicTimeZoneInformation@4 @527 + GetEnvironmentStrings@0=GetEnvironmentStringsA@0 @528 + GetEnvironmentStringsA@0 @529 + GetEnvironmentStringsW@0 @530 + GetEnvironmentVariableA@12 @531 + GetEnvironmentVariableW@12 @532 + GetErrorMode@0 @533 + GetExitCodeProcess@8 @534 + GetExitCodeThread@8 @535 + GetExpandedNameA@8 @536 + GetExpandedNameW@8 @537 + GetFileAttributesA@4 @538 + GetFileAttributesExA@12 @539 + GetFileAttributesExW@12 @540 + GetFileAttributesW@4 @541 + GetFileInformationByHandle@8 @542 + GetFileInformationByHandleEx@16 @543 + GetFileMUIInfo@16 @544 + GetFileMUIPath@28 @545 + GetFileSize@8 @546 + GetFileSizeEx@8 @547 + GetFileTime@16 @548 + GetFileType@4 @549 + GetFinalPathNameByHandleA@16 @550 + GetFinalPathNameByHandleW@16 @551 + GetFirmwareEnvironmentVariableA@16 @552 + GetFirmwareEnvironmentVariableW@16 @553 + GetFullPathNameA@16 @554 + GetFullPathNameW@16 @555 + GetGeoInfoA@20 @556 + GetGeoInfoW@20 @557 + GetHandleContext@4 @558 + GetHandleInformation@8 @559 + GetLargePageMinimum@0 @562 + GetLargestConsoleWindowSize@4 @563 + GetLastError@0 @564 + GetLocalTime@4 @566 + GetLocaleInfoA@16 @567 + GetLocaleInfoW@16 @568 + GetLocaleInfoEx@16 @569 + GetLogicalDriveStringsA@8 @570 + GetLogicalDriveStringsW@8 @571 + GetLogicalDrives@0 @572 + GetLogicalProcessorInformation@8 @573 + GetLogicalProcessorInformationEx@12 @574 + GetLongPathNameA@12 @575 + GetLongPathNameW@12 @576 + GetMailslotInfo@20 @577 + GetModuleFileNameA@12 @578 + GetModuleFileNameW@12 @579 + GetModuleHandleA@4 @580 + GetModuleHandleExA@12 @581 + GetModuleHandleExW@12 @582 + GetModuleHandleW@4 @583 + GetNamedPipeHandleStateA@28 @584 + GetNamedPipeHandleStateW@28 @585 + GetNamedPipeInfo@20 @586 + GetNativeSystemInfo@4 @587 + GetNumaAvailableMemoryNode@8 @590 + GetNumaHighestNodeNumber@4 @591 + GetNumaNodeProcessorMask@8 @592 + GetNumaProcessorNode@8 @593 + GetNumberFormatA@24 @594 + GetNumberFormatEx@24 @595 + GetNumberFormatW@24 @596 + GetNumberOfConsoleFonts@0 @597 + GetNumberOfConsoleInputEvents@8 @598 + GetNumberOfConsoleMouseButtons@4 @599 + GetOEMCP@0 @600 + GetOverlappedResult@16 @601 + GetUserPreferredUILanguages@16 @602 + GetPackageFullName@12 @603 + GetPhysicallyInstalledSystemMemory@4 @604 + GetPriorityClass@4 @605 + GetPrivateProfileIntA@16 @606 + GetPrivateProfileIntW@16 @607 + GetPrivateProfileSectionA@16 @608 + GetPrivateProfileSectionNamesA@12 @609 + GetPrivateProfileSectionNamesW@12 @610 + GetPrivateProfileSectionW@16 @611 + GetPrivateProfileStringA@24 @612 + GetPrivateProfileStringW@24 @613 + GetPrivateProfileStructA@20 @614 + GetPrivateProfileStructW@20 @615 + IsInProcess@4 @616 + GetProcAddress@8 @617 + GetProcessAffinityMask@12 @618 + GetProcessDEPPolicy@12 @619 + GetProcessFlags@4 @620 + GetProcessHandleCount@8 @621 + GetProcessHeap@0 @622 + GetProcessHeaps@8 @623 + GetProcessId@4 @624 + GetProcessIdOfThread@4 @625 + GetProcessIoCounters@8 @626 + GetProcessPriorityBoost@8 @627 + GetProcessShutdownParameters@8 @628 + GetProcessTimes@20 @629 + GetProcessVersion@4 @630 + GetProcessWorkingSetSize@12 @631 + GetProcessWorkingSetSizeEx@16 @632 + GetProductInfo@20 @633 + GetProfileIntA@12 @635 + GetProfileIntW@12 @636 + GetProfileSectionA@12 @637 + GetProfileSectionW@12 @638 + GetProfileStringA@20 @639 + GetProfileStringW@20 @640 + GetQueuedCompletionStatus@20 @641 + GetShortPathNameA@12 @644 + GetShortPathNameW@12 @645 + GetStartupInfoA@4 @646 + GetStartupInfoW@4 @647 + GetStdHandle@4 @648 + GetStringTypeA@20 @649 + GetStringTypeExA@20 @650 + GetStringTypeExW@20 @651 + GetStringTypeW@16 @652 + GetSystemFileCacheSize@12 @653 + GetSystemDefaultLCID@0 @654 + GetSystemDefaultLangID@0 @655 + GetSystemDefaultLocaleName@8 @656 + GetSystemDefaultUILanguage@0 @657 + GetSystemDEPPolicy@0 @658 + GetSystemDirectoryA@8 @659 + GetSystemDirectoryW@8 @660 + GetSystemFirmwareTable@16 @661 + GetSystemInfo@4 @662 + GetSystemPowerStatus@4 @663 + GetSystemPreferredUILanguages@16 @664 + GetSystemRegistryQuota@8 @665 + GetSystemTime@4 @666 + GetSystemTimeAdjustment@12 @667 + GetSystemTimeAsFileTime@4 @668 + GetSystemTimePreciseAsFileTime@4 @669 + GetSystemTimes@12 @670 + GetSystemWindowsDirectoryA@8 @671 + GetSystemWindowsDirectoryW@8 @672 + GetSystemWow64DirectoryA@8 @673 + GetSystemWow64DirectoryW@8 @674 + GetTapeParameters@16 @675 + GetTapePosition@20 @676 + GetTapeStatus@4 @677 + GetTempFileNameA@16 @678 + GetTempFileNameW@16 @679 + GetTempPathA@8 @680 + GetTempPathW@8 @681 + GetThreadContext@8 @682 + GetThreadErrorMode@0 @683 + GetThreadGroupAffinity@8 @684 + GetThreadId@4 @685 + GetThreadIOPendingFlag@8 @686 + GetThreadLocale@0 @687 + GetThreadPreferredUILanguages@16 @688 + GetThreadPriority@4 @689 + GetThreadPriorityBoost@8 @690 + GetThreadSelectorEntry@12 @691 + GetThreadTimes@20 @692 + GetTickCount@0 @693 + GetTickCount64@0 @694 + GetTimeFormatA@24 @695 + GetTimeFormatEx@24 @696 + GetTimeFormatW@24 @697 + GetTimeZoneInformation@4 @698 + GetTimeZoneInformationForYear@12 @699 + GetThreadUILanguage@0 @700 + GetUserDefaultLCID@0 @701 + GetUserDefaultLangID@0 @702 + GetUserDefaultLocaleName@8 @703 + GetUserDefaultUILanguage@0 @704 + GetUserGeoID@4 @705 + GetVersion@0 @707 + GetVersionExA@4 @708 + GetVersionExW@4 @709 + GetVolumeInformationA@32 @710 + GetVolumeInformationByHandleW@32 @711 + GetVolumeInformationW@32 @712 + GetVolumeNameForVolumeMountPointA@12 @713 + GetVolumeNameForVolumeMountPointW@12 @714 + GetVolumePathNameA@12 @715 + GetVolumePathNameW@12 @716 + GetVolumePathNamesForVolumeNameA@16 @717 + GetVolumePathNamesForVolumeNameW@16 @718 + GetWindowsDirectoryA@8 @719 + GetWindowsDirectoryW@8 @720 + GetWriteWatch@24 @721 + GlobalAddAtomA@4 @722 + GlobalAddAtomW@4 @723 + GlobalAlloc@8 @724 + GlobalCompact@4 @725 + GlobalDeleteAtom@4 @726 + GlobalFindAtomA@4 @727 + GlobalFindAtomW@4 @728 + GlobalFix@4 @729 + GlobalFlags@4 @730 + GlobalFree@4 @731 + GlobalGetAtomNameA@12 @732 + GlobalGetAtomNameW@12 @733 + GlobalHandle@4 @734 + GlobalLock@4 @735 + GlobalMemoryStatus@4 @736 + GlobalMemoryStatusEx@4 @737 + GlobalReAlloc@12 @738 + GlobalSize@4 @739 + GlobalUnWire@4 @740 + GlobalUnfix@4 @741 + GlobalUnlock@4 @742 + GlobalWire@4 @743 + Heap32ListFirst@8 @745 + HeapAlloc@12=ntdll.RtlAllocateHeap @748 + HeapCompact@8 @749 + HeapCreate@12 @750 + HeapDestroy@4 @752 + HeapFree@12=ntdll.RtlFreeHeap @754 + HeapLock@4 @755 + HeapQueryInformation@20 @756 + HeapReAlloc@16=ntdll.RtlReAllocateHeap @758 + HeapSetInformation@16 @760 + HeapSize@12=ntdll.RtlSizeHeap @761 + HeapUnlock@4 @763 + HeapValidate@12 @765 + HeapWalk@8 @766 + IdnToAscii@20 @767 + IdnToNameprepUnicode@20 @768 + IdnToUnicode@20 @769 + InitAtomTable@4 @770 + InitOnceBeginInitialize@16 @771 + InitOnceComplete@12 @772 + InitOnceExecuteOnce@16 @773 + InitOnceInitialize@4=ntdll.RtlRunOnceInitialize @774 + InitializeConditionVariable@4=ntdll.RtlInitializeConditionVariable @775 + InitializeCriticalSection@4 @776 + InitializeCriticalSectionAndSpinCount@8 @777 + InitializeCriticalSectionEx@12 @778 + InitializeProcThreadAttributeList@16 @779 + InitializeSListHead@4=ntdll.RtlInitializeSListHead @780 + InitializeSRWLock@4=ntdll.RtlInitializeSRWLock @781 + InterlockedCompareExchange@12 @782 + InterlockedCompareExchange64@20=ntdll.RtlInterlockedCompareExchange64 @783 + InterlockedDecrement@4 @784 + InterlockedExchange@8 @785 + InterlockedExchangeAdd@8 @786 + InterlockedFlushSList@4=ntdll.RtlInterlockedFlushSList @787 + InterlockedIncrement@4 @788 + InterlockedPopEntrySList@4=ntdll.RtlInterlockedPopEntrySList @789 + InterlockedPushEntrySList@8=ntdll.RtlInterlockedPushEntrySList @790 + InterlockedPushListSList@16=ntdll.RtlInterlockedPushListSList @791 + InterlockedPushListSListEx@16=ntdll.RtlInterlockedPushListSListEx @792 + InvalidateNLSCache@0 @794 + IsBadCodePtr@4 @795 + IsBadHugeReadPtr@8 @796 + IsBadHugeWritePtr@8 @797 + IsBadReadPtr@8 @798 + IsBadStringPtrA@8 @799 + IsBadStringPtrW@8 @800 + IsBadWritePtr@8 @801 + IsDBCSLeadByte@4 @802 + IsDBCSLeadByteEx@8 @803 + IsDebuggerPresent@0 @804 + IsNormalizedString@12 @806 + IsProcessInJob@12 @807 + IsProcessorFeaturePresent@4 @808 + IsSystemResumeAutomatic@0 @810 + IsThreadAFiber@0 @811 + IsThreadpoolTimerSet@4=ntdll.TpIsTimerSet @812 + IsValidCodePage@4 @813 + IsValidLanguageGroup@8 @814 + IsValidLocale@8 @815 + IsValidLocaleName@4 @816 + IsWow64Process@8 @817 + K32EmptyWorkingSet@4 @818 + K32EnumDeviceDrivers@12 @819 + K32EnumPageFilesA@8 @820 + K32EnumPageFilesW@8 @821 + K32EnumProcessModules@16 @822 + K32EnumProcessModulesEx@20 @823 + K32EnumProcesses@12 @824 + K32GetDeviceDriverBaseNameA@12 @825 + K32GetDeviceDriverBaseNameW@12 @826 + K32GetDeviceDriverFileNameA@12 @827 + K32GetDeviceDriverFileNameW@12 @828 + K32GetMappedFileNameA@16 @829 + K32GetMappedFileNameW@16 @830 + K32GetModuleBaseNameA@16 @831 + K32GetModuleBaseNameW@16 @832 + K32GetModuleFileNameExA@16 @833 + K32GetModuleFileNameExW@16 @834 + K32GetModuleInformation@16 @835 + K32GetPerformanceInfo@8 @836 + K32GetProcessImageFileNameA@12 @837 + K32GetProcessImageFileNameW@12 @838 + K32GetProcessMemoryInfo@12 @839 + K32GetWsChanges@12 @840 + K32InitializeProcessForWsWatch@4 @841 + K32QueryWorkingSet@12 @842 + K32QueryWorkingSetEx@12 @843 + K32Thk1632Epilog@0=krnl386.exe16.K32Thk1632Epilog @844 PRIVATE + K32Thk1632Prolog@0=krnl386.exe16.K32Thk1632Prolog @845 PRIVATE + LCIDToLocaleName@16 @846 + LCMapStringA@24 @847 + LCMapStringEx@36 @848 + LCMapStringW@24 @849 + LZClose@4 @850 + LZCopy@8 @851 + LZDone@0 @852 + LZInit@4 @853 + LZOpenFileA@12 @854 + LZOpenFileW@12 @855 + LZRead@12 @856 + LZSeek@12 @857 + LZStart@0 @858 + LeaveCriticalSection@4=ntdll.RtlLeaveCriticalSection @859 + LeaveCriticalSectionWhenCallbackReturns@8=ntdll.TpCallbackLeaveCriticalSectionOnCompletion @860 + LoadLibraryA@4 @861 + LoadLibraryExA@12 @862 + LoadLibraryExW@12 @863 + LoadLibraryW@4 @864 + LoadModule@8 @865 + LoadResource@8 @866 + LocalAlloc@8 @867 + LocalCompact@4 @868 + LocalFileTimeToFileTime@8 @869 + LocalFlags@4 @870 + LocalFree@4 @871 + LocalHandle@4 @872 + LocalLock@4 @873 + LocalReAlloc@12 @874 + LocalShrink@8 @875 + LocalSize@4 @876 + LocalUnlock@4 @877 + LocaleNameToLCID@8 @878 + LockFile@20 @879 + LockFileEx@24 @880 + LockResource@4 @881 + MakeCriticalSectionGlobal@4 @882 + MapHInstLS@0=krnl386.exe16.MapHInstLS @883 PRIVATE + MapHInstLS_PN@0=krnl386.exe16.MapHInstLS_PN @884 PRIVATE + MapHInstSL@0=krnl386.exe16.MapHInstSL @885 PRIVATE + MapHInstSL_PN@0=krnl386.exe16.MapHInstSL_PN @886 PRIVATE + MapHModuleLS@4=krnl386.exe16.MapHModuleLS @887 PRIVATE + MapHModuleSL@4=krnl386.exe16.MapHModuleSL @888 PRIVATE + MapLS@4=krnl386.exe16.MapLS @889 PRIVATE + MapSL@4=krnl386.exe16.MapSL @890 PRIVATE + MapSLFix@4=krnl386.exe16.MapSLFix @891 PRIVATE + MapViewOfFile@20 @892 + MapViewOfFileEx@24 @893 + Module32First@8 @894 + Module32FirstW@8 @895 + Module32Next@8 @896 + Module32NextW@8 @897 + MoveFileA@8 @898 + MoveFileExA@12 @899 + MoveFileExW@12 @900 + MoveFileW@8 @901 + MoveFileWithProgressA@20 @902 + MoveFileWithProgressW@20 @903 + MulDiv@12 @904 + MultiByteToWideChar@24 @905 + NeedCurrentDirectoryForExePathA@4 @906 + NeedCurrentDirectoryForExePathW@4 @907 + NormalizeString@20 @908 + OpenConsoleW@16 @910 + OpenEventA@12 @912 + OpenEventW@12 @913 + OpenFile@12 @914 + OpenFileById@24 @915 + OpenFileMappingA@12 @916 + OpenFileMappingW@12 @917 + OpenJobObjectA@12 @918 + OpenJobObjectW@12 @919 + OpenMutexA@12 @920 + OpenMutexW@12 @921 + OpenProcess@12 @922 + OpenProfileUserMapping@0 @923 + OpenSemaphoreA@12 @924 + OpenSemaphoreW@12 @925 + OpenThread@12 @926 + OpenVxDHandle@4 @927 + OpenWaitableTimerA@12 @928 + OpenWaitableTimerW@12 @929 + OutputDebugStringA@4 @930 + OutputDebugStringW@4 @931 + PeekConsoleInputA@16 @932 + PeekConsoleInputW@16 @933 + PeekNamedPipe@24 @934 + PostQueuedCompletionStatus@16 @935 + PowerClearRequest@8 @936 + PowerCreateRequest@4 @937 + PowerSetRequest@8 @938 + PrepareTape@12 @939 + PrivateFreeLibrary@4=krnl386.exe16.PrivateFreeLibrary @942 PRIVATE + PrivateLoadLibrary@4=krnl386.exe16.PrivateLoadLibrary @943 PRIVATE + Process32First@8 @944 + Process32FirstW@8 @945 + Process32Next@8 @946 + Process32NextW@8 @947 + ProcessIdToSessionId@8 @948 + PulseEvent@4 @949 + PurgeComm@8 @950 + QT_Thunk@0=krnl386.exe16.QT_Thunk @951 PRIVATE + QueryActCtxW@28 @952 + QueryDepthSList@4=ntdll.RtlQueryDepthSList @953 + QueryDosDeviceA@12 @954 + QueryDosDeviceW@12 @955 + QueryFullProcessImageNameA@16 @956 + QueryFullProcessImageNameW@16 @957 + QueryInformationJobObject@20 @958 + QueryMemoryResourceNotification@8 @959 + QueryPerformanceCounter@4 @962 + QueryPerformanceFrequency@4 @963 + QueryThreadCycleTime@8 @964 + QueryUnbiasedInterruptTime@4 @965 + QueueUserAPC@12 @967 + QueueUserWorkItem@12 @968 + RaiseException@16 @969 + ReadConsoleA@20 @970 + ReadConsoleInputA@16 @971 + ReadConsoleInputW@16 @974 + ReadConsoleOutputA@20 @975 + ReadConsoleOutputAttribute@20 @976 + ReadConsoleOutputCharacterA@20 @977 + ReadConsoleOutputCharacterW@20 @978 + ReadConsoleOutputW@20 @979 + ReadConsoleW@20 @980 + ReadDirectoryChangesW@32 @981 + ReadFile@20 @982 + ReadFileEx@20 @983 + ReadFileScatter@20 @984 + ReadProcessMemory@20 @985 + RegCloseKey@4=advapi32.RegCloseKey @986 PRIVATE + RegCreateKeyExA@36=advapi32.RegCreateKeyExA @987 PRIVATE + RegCreateKeyExW@36=advapi32.RegCreateKeyExW @988 PRIVATE + RegDeleteKeyExA@16=advapi32.RegDeleteKeyExA @989 PRIVATE + RegDeleteKeyExW@16=advapi32.RegDeleteKeyExW @990 PRIVATE + RegDeleteTreeA@8=advapi32.RegDeleteTreeA @991 PRIVATE + RegDeleteTreeW@8=advapi32.RegDeleteTreeW @992 PRIVATE + RegDeleteValueA@8=advapi32.RegDeleteValueA @993 PRIVATE + RegDeleteValueW@8=advapi32.RegDeleteValueW @994 PRIVATE + RegEnumKeyExA@32=advapi32.RegEnumKeyExA @995 PRIVATE + RegEnumKeyExW@32=advapi32.RegEnumKeyExW @996 PRIVATE + RegEnumValueA@32=advapi32.RegEnumValueA @997 PRIVATE + RegEnumValueW@32=advapi32.RegEnumValueW @998 PRIVATE + RegFlushKey@4=advapi32.RegFlushKey @999 PRIVATE + RegGetKeySecurity@16=advapi32.RegGetKeySecurity @1000 PRIVATE + RegGetValueA@28=advapi32.RegGetValueA @1001 PRIVATE + RegGetValueW@28=advapi32.RegGetValueW @1002 PRIVATE + RegLoadKeyA@12=advapi32.RegLoadKeyA @1003 PRIVATE + RegLoadKeyW@12=advapi32.RegLoadKeyW @1004 PRIVATE + RegLoadMUIStringA@28=advapi32.RegLoadMUIStringA @1005 PRIVATE + RegLoadMUIStringW@28=advapi32.RegLoadMUIStringW @1006 PRIVATE + RegNotifyChangeKeyValue@20=advapi32.RegNotifyChangeKeyValue @1007 PRIVATE + RegOpenCurrentUser@8=advapi32.RegOpenCurrentUser @1008 PRIVATE + RegOpenKeyExA@20=advapi32.RegOpenKeyExA @1009 PRIVATE + RegOpenKeyExW@20=advapi32.RegOpenKeyExW @1010 PRIVATE + RegOpenUserClassesRoot@16=advapi32.RegOpenUserClassesRoot @1011 PRIVATE + RegQueryInfoKeyA@48=advapi32.RegQueryInfoKeyA @1012 PRIVATE + RegQueryInfoKeyW@48=advapi32.RegQueryInfoKeyW @1013 PRIVATE + RegQueryValueExA@24=advapi32.RegQueryValueExA @1014 PRIVATE + RegQueryValueExW@24=advapi32.RegQueryValueExW @1015 PRIVATE + RegRestoreKeyA@12=advapi32.RegRestoreKeyA @1016 PRIVATE + RegRestoreKeyW@12=advapi32.RegRestoreKeyW @1017 PRIVATE + RegSetKeySecurity@12=advapi32.RegSetKeySecurity @1018 PRIVATE + RegSetValueExA@24=advapi32.RegSetValueExA @1019 PRIVATE + RegSetValueExW@24=advapi32.RegSetValueExW @1020 PRIVATE + RegUnLoadKeyA@8=advapi32.RegUnLoadKeyA @1021 PRIVATE + RegUnLoadKeyW@8=advapi32.RegUnLoadKeyW @1022 PRIVATE + RegisterApplicationRecoveryCallback@16 @1023 + RegisterApplicationRestart@8 @1024 + RegisterServiceProcess@8 @1028 + RegisterWaitForSingleObject@24 @1031 + RegisterWaitForSingleObjectEx@20 @1032 + ReinitializeCriticalSection@4 @1035 + ReleaseActCtx@4 @1036 + ReleaseMutex@4 @1037 + ReleaseMutexWhenCallbackReturns@8=ntdll.TpCallbackReleaseMutexOnCompletion @1038 + ReleaseSemaphore@12 @1039 + ReleaseSemaphoreWhenCallbackReturns@12=ntdll.TpCallbackReleaseSemaphoreOnCompletion @1040 + ReleaseSRWLockExclusive@4=ntdll.RtlReleaseSRWLockExclusive @1041 + ReleaseSRWLockShared@4=ntdll.RtlReleaseSRWLockShared @1042 + RemoveDirectoryA@4 @1043 + RemoveDirectoryW@4 @1044 + RemoveVectoredContinueHandler@4=ntdll.RtlRemoveVectoredContinueHandler @1045 + RemoveVectoredExceptionHandler@4=ntdll.RtlRemoveVectoredExceptionHandler @1046 + ReplaceFile@24=ReplaceFileW@24 @1047 + ReplaceFileA@24 @1048 + ReplaceFileW@24 @1049 + RemoveDllDirectory@4 @1051 + RequestWakeupLatency@4 @1052 + ResetEvent@4 @1053 + ResetWriteWatch@8 @1054 + ResolveDelayLoadedAPI@24=ntdll.LdrResolveDelayLoadedAPI @1055 + ResolveLocaleName@12 @1056 + RestoreLastError@4=ntdll.RtlRestoreLastWin32Error @1057 + ResumeThread@4 @1058 + RtlCaptureContext@4=ntdll.RtlCaptureContext @1059 + RtlCaptureStackBackTrace@16=ntdll.RtlCaptureStackBackTrace @1060 + RtlFillMemory@12=ntdll.RtlFillMemory @1061 + RtlMoveMemory@12=ntdll.RtlMoveMemory @1062 + RtlUnwind@16=ntdll.RtlUnwind @1063 + RtlZeroMemory@8=ntdll.RtlZeroMemory @1064 + SMapLS@0=krnl386.exe16.SMapLS @1065 PRIVATE + SMapLS_IP_EBP_12@0=krnl386.exe16.SMapLS_IP_EBP_12 @1066 PRIVATE + SMapLS_IP_EBP_16@0=krnl386.exe16.SMapLS_IP_EBP_16 @1067 PRIVATE + SMapLS_IP_EBP_20@0=krnl386.exe16.SMapLS_IP_EBP_20 @1068 PRIVATE + SMapLS_IP_EBP_24@0=krnl386.exe16.SMapLS_IP_EBP_24 @1069 PRIVATE + SMapLS_IP_EBP_28@0=krnl386.exe16.SMapLS_IP_EBP_28 @1070 PRIVATE + SMapLS_IP_EBP_32@0=krnl386.exe16.SMapLS_IP_EBP_32 @1071 PRIVATE + SMapLS_IP_EBP_36@0=krnl386.exe16.SMapLS_IP_EBP_36 @1072 PRIVATE + SMapLS_IP_EBP_40@0=krnl386.exe16.SMapLS_IP_EBP_40 @1073 PRIVATE + SMapLS_IP_EBP_8@0=krnl386.exe16.SMapLS_IP_EBP_8 @1074 PRIVATE + SUnMapLS@0=krnl386.exe16.SUnMapLS @1075 PRIVATE + SUnMapLS_IP_EBP_12@0=krnl386.exe16.SUnMapLS_IP_EBP_12 @1076 PRIVATE + SUnMapLS_IP_EBP_16@0=krnl386.exe16.SUnMapLS_IP_EBP_16 @1077 PRIVATE + SUnMapLS_IP_EBP_20@0=krnl386.exe16.SUnMapLS_IP_EBP_20 @1078 PRIVATE + SUnMapLS_IP_EBP_24@0=krnl386.exe16.SUnMapLS_IP_EBP_24 @1079 PRIVATE + SUnMapLS_IP_EBP_28@0=krnl386.exe16.SUnMapLS_IP_EBP_28 @1080 PRIVATE + SUnMapLS_IP_EBP_32@0=krnl386.exe16.SUnMapLS_IP_EBP_32 @1081 PRIVATE + SUnMapLS_IP_EBP_36@0=krnl386.exe16.SUnMapLS_IP_EBP_36 @1082 PRIVATE + SUnMapLS_IP_EBP_40@0=krnl386.exe16.SUnMapLS_IP_EBP_40 @1083 PRIVATE + SUnMapLS_IP_EBP_8@0=krnl386.exe16.SUnMapLS_IP_EBP_8 @1084 PRIVATE + ScrollConsoleScreenBufferA@20 @1085 + ScrollConsoleScreenBufferW@20 @1086 + SearchPathA@24 @1087 + SearchPathW@24 @1088 + SetCPGlobal@4 @1089 + SetCalendarInfoA@16 @1090 + SetCalendarInfoW@16 @1091 + SetCommBreak@4 @1092 + SetCommConfig@12 @1093 + SetCommMask@8 @1094 + SetCommState@8 @1095 + SetCommTimeouts@8 @1096 + SetComputerNameA@4 @1097 + SetComputerNameExA@8 @1098 + SetComputerNameExW@8 @1099 + SetComputerNameW@4 @1100 + SetConsoleActiveScreenBuffer@4 @1101 + SetConsoleCP@4 @1102 + SetConsoleCtrlHandler@8 @1104 + SetConsoleCursorInfo@8 @1106 + SetConsoleCursorPosition@8 @1108 + SetConsoleDisplayMode@12 @1109 + SetConsoleFont@8 @1110 + SetConsoleIcon@4 @1112 + SetConsoleInputExeNameA@4 @1113 + SetConsoleInputExeNameW@4 @1114 + SetConsoleKeyShortcuts@16 @1115 + SetConsoleMode@8 @1119 + SetConsoleOutputCP@4 @1124 + SetConsoleScreenBufferInfoEx@8 @1126 + SetConsoleScreenBufferSize@8 @1127 + SetConsoleTextAttribute@8 @1128 + SetConsoleTitleA@4 @1129 + SetConsoleTitleW@4 @1130 + SetConsoleWindowInfo@12 @1131 + SetCriticalSectionSpinCount@8=ntdll.RtlSetCriticalSectionSpinCount @1132 + SetCurrentConsoleFontEx@12 @1133 + SetCurrentDirectoryA@4 @1134 + SetCurrentDirectoryW@4 @1135 + SetDefaultCommConfigA@12 @1137 + SetDefaultCommConfigW@12 @1138 + SetDefaultDllDirectories@4 @1139 + SetDllDirectoryA@4 @1140 + SetDllDirectoryW@4 @1141 + SetEndOfFile@4 @1142 + SetEnvironmentVariableA@8 @1143 + SetEnvironmentVariableW@8 @1144 + SetErrorMode@4 @1145 + SetEvent@4 @1146 + SetEventWhenCallbackReturns@8=ntdll.TpCallbackSetEventOnCompletion @1147 + SetFileApisToANSI@0 @1148 + SetFileApisToOEM@0 @1149 + SetFileAttributesA@8 @1150 + SetFileAttributesW@8 @1151 + SetFileCompletionNotificationModes@8 @1152 + SetFileInformationByHandle@16 @1153 + SetFilePointer@16 @1154 + SetFilePointerEx@20 @1155 + SetFileTime@16 @1156 + SetFileValidData@12 @1157 + SetHandleContext@8 @1158 + SetHandleCount@4 @1159 + SetHandleInformation@12 @1160 + SetInformationJobObject@16 @1161 + SetLastError@4 @1163 + SetLocalTime@4 @1164 + SetLocaleInfoA@12 @1165 + SetLocaleInfoW@12 @1166 + SetMailslotInfo@8 @1167 + SetNamedPipeHandleState@16 @1169 + SetPriorityClass@8 @1170 + SetProcessAffinityMask@8 @1171 + SetProcessDEPPolicy@4 @1172 + SetProcessPriorityBoost@8 @1173 + SetProcessShutdownParameters@8 @1174 + SetProcessWorkingSetSize@12 @1175 + SetSearchPathMode@4 @1176 + SetStdHandle@8 @1177 + SetSystemFileCacheSize@12 @1178 + SetSystemPowerState@8 @1179 + SetSystemTime@4 @1180 + SetSystemTimeAdjustment@8 @1181 + SetTapeParameters@12 @1182 + SetTapePosition@24 @1183 + SetTermsrvAppInstallMode@4 @1184 + SetThreadAffinityMask@8 @1185 + SetThreadContext@8 @1186 + SetThreadErrorMode@8 @1187 + SetThreadExecutionState@4 @1188 + SetThreadGroupAffinity@12 @1189 + SetThreadIdealProcessor@8 @1190 + SetThreadIdealProcessorEx@12 @1191 + SetThreadLocale@4 @1192 + SetThreadPreferredUILanguages@12 @1193 + SetThreadPriority@8 @1194 + SetThreadPriorityBoost@8 @1195 + SetThreadStackGuarantee@4 @1196 + SetThreadUILanguage@4 @1197 + SetThreadpoolThreadMaximum@8=ntdll.TpSetPoolMaxThreads @1198 + SetThreadpoolThreadMinimum@8=ntdll.TpSetPoolMinThreads @1199 + SetThreadpoolTimer@16 @1200 + SetThreadpoolWait@12 @1201 + SetTimeZoneInformation@4 @1202 + SetUnhandledExceptionFilter@4 @1204 + SetUserGeoID@4 @1205 + SetVolumeLabelA@8 @1207 + SetVolumeLabelW@8 @1208 + SetVolumeMountPointA@8 @1209 + SetVolumeMountPointW@8 @1210 + SetWaitableTimer@24 @1211 + SetWaitableTimerEx@28 @1212 + SetupComm@12 @1213 + SignalObjectAndWait@16 @1215 + SizeofResource@8 @1216 + Sleep@4 @1217 + SleepConditionVariableCS@12 @1218 + SleepConditionVariableSRW@16 @1219 + SleepEx@8 @1220 + SubmitThreadpoolWork@4=ntdll.TpPostWork @1221 + SuspendThread@4 @1222 + SwitchToFiber@4 @1223 + SwitchToThread@0 @1224 + SystemTimeToFileTime@8 @1225 + SystemTimeToTzSpecificLocalTime@12 @1226 + TerminateJobObject@8 @1227 + TerminateProcess@8 @1228 + TerminateThread@8 @1229 + TermsrvAppInstallMode@0 @1230 + Thread32First@8 @1231 + Thread32Next@8 @1232 + ThunkConnect32@24=krnl386.exe16.ThunkConnect32 @1233 PRIVATE + TlsAlloc@0 @1234 + TlsAllocInternal@0=TlsAlloc@0 @1235 + TlsFree@4 @1236 + TlsFreeInternal@4=TlsFree@4 @1237 + TlsGetValue@4 @1238 + TlsSetValue@8 @1239 + Toolhelp32ReadProcessMemory@20 @1240 + TransactNamedPipe@28 @1241 + TransmitCommChar@8 @1242 + TryAcquireSRWLockExclusive@4=ntdll.RtlTryAcquireSRWLockExclusive @1244 + TryAcquireSRWLockShared@4=ntdll.RtlTryAcquireSRWLockShared @1245 + TryEnterCriticalSection@4=ntdll.RtlTryEnterCriticalSection @1246 + TrySubmitThreadpoolCallback@12 @1247 + TzSpecificLocalTimeToSystemTime@12 @1248 + UTRegister@28=krnl386.exe16.UTRegister @1249 PRIVATE + UTUnRegister@4=krnl386.exe16.UTUnRegister @1250 PRIVATE + UnMapLS@4=krnl386.exe16.UnMapLS @1251 PRIVATE + UnMapSLFixArray@8=krnl386.exe16.UnMapSLFixArray @1252 PRIVATE + UnhandledExceptionFilter@4 @1253 + UninitializeCriticalSection@4 @1254 + UnlockFile@20 @1255 + UnlockFileEx@20 @1256 + UnmapViewOfFile@4 @1257 + UnregisterApplicationRestart@0 @1258 + UnregisterWait@4 @1259 + UnregisterWaitEx@8 @1260 + UpdateProcThreadAttribute@28 @1261 + UpdateResourceA@24 @1262 + UpdateResourceW@24 @1263 + VerLanguageNameA@12 @1268 + VerLanguageNameW@12 @1269 + VerSetConditionMask@16=ntdll.VerSetConditionMask @1270 + VerifyConsoleIoHandle@4 @1271 + VerifyVersionInfoA@16 @1272 + VerifyVersionInfoW@16 @1273 + VirtualAlloc@16 @1274 + VirtualAllocEx@20 @1275 + VirtualFree@12 @1277 + VirtualFreeEx@16 @1278 + VirtualLock@8 @1279 + VirtualProtect@16 @1280 + VirtualProtectEx@20 @1281 + VirtualQuery@12 @1282 + VirtualQueryEx@16 @1283 + VirtualUnlock@8 @1284 + WTSGetActiveConsoleSessionId@0 @1285 + WaitCommEvent@12 @1286 + WaitForDebugEvent@8 @1287 + WaitForMultipleObjects@16 @1288 + WaitForMultipleObjectsEx@20 @1289 + WaitForSingleObject@8 @1290 + WaitForSingleObjectEx@12 @1291 + WaitForThreadpoolTimerCallbacks@8=ntdll.TpWaitForTimer @1292 + WaitForThreadpoolWaitCallbacks@8=ntdll.TpWaitForWait @1293 + WaitForThreadpoolWorkCallbacks@8=ntdll.TpWaitForWork @1294 + WaitNamedPipeA@8 @1295 + WaitNamedPipeW@8 @1296 + WakeAllConditionVariable@4=ntdll.RtlWakeAllConditionVariable @1297 + WakeConditionVariable@4=ntdll.RtlWakeConditionVariable @1298 + WerRegisterFile@12 @1299 + WerRegisterMemoryBlock@8 @1300 + WerRegisterRuntimeExceptionModule@8 @1301 + WerSetFlags@4 @1302 + WerUnregisterMemoryBlock@4 @1303 + WideCharToMultiByte@32 @1304 + WinExec@8 @1305 + Wow64EnableWow64FsRedirection@4 @1306 + Wow64DisableWow64FsRedirection@4 @1307 + Wow64RevertWow64FsRedirection@4 @1308 + WriteConsoleA@20 @1309 + WriteConsoleInputA@16 @1310 + WriteConsoleInputW@16 @1313 + WriteConsoleOutputA@20 @1314 + WriteConsoleOutputAttribute@20 @1315 + WriteConsoleOutputCharacterA@20 @1316 + WriteConsoleOutputCharacterW@20 @1317 + WriteConsoleOutputW@20 @1318 + WriteConsoleW@20 @1319 + WriteFile@20 @1320 + WriteFileEx@20 @1321 + WriteFileGather@20 @1322 + WritePrivateProfileSectionA@12 @1323 + WritePrivateProfileSectionW@12 @1324 + WritePrivateProfileStringA@16 @1325 + WritePrivateProfileStringW@16 @1326 + WritePrivateProfileStructA@20 @1327 + WritePrivateProfileStructW@20 @1328 + WriteProcessMemory@20 @1329 + WriteProfileSectionA@8 @1330 + WriteProfileSectionW@8 @1331 + WriteProfileStringA@12 @1332 + WriteProfileStringW@12 @1333 + WriteTapemark@16 @1334 + ZombifyActCtx@4 @1335 + _hread@12 @1338 + _hwrite@12 @1339 + _lclose@4 @1340 + _lcreat@8 @1341 + _llseek@12 @1342 + _lopen@8 @1343 + _lread@12 @1344 + _lwrite@12 @1345 + lstrcat@8=lstrcatA@8 @1347 + lstrcatA@8 @1348 + lstrcatW@8 @1349 + lstrcmp@8=lstrcmpA@8 @1350 + lstrcmpA@8 @1351 + lstrcmpW@8 @1352 + lstrcmpi@8=lstrcmpiA@8 @1353 + lstrcmpiA@8 @1354 + lstrcmpiW@8 @1355 + lstrcpy@8=lstrcpyA@8 @1356 + lstrcpyA@8 @1357 + lstrcpyW@8 @1358 + lstrcpyn@12=lstrcpynA@12 @1359 + lstrcpynA@12 @1360 + lstrcpynW@12 @1361 + lstrlen@4=lstrlenA@4 @1362 + lstrlenA@4 @1363 + lstrlenW@4 @1364 + __wine_dll_register_16 @1365 PRIVATE + __wine_dll_unregister_16 @1366 PRIVATE + wine_get_unix_file_name @1368 + wine_get_dos_file_name @1369 + __wine_kernel_init @1370 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libloadperf.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libloadperf.def new file mode 100644 index 0000000..c33fe24 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libloadperf.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/loadperf/loadperf.spec; do not edit! + +LIBRARY loadperf.dll + +EXPORTS + InstallPerfDllA@12 @2 + InstallPerfDllW@12 @3 + LoadPerfCounterTextStringsA@8 @6 + LoadPerfCounterTextStringsW@8 @7 + UnloadPerfCounterTextStringsA@8 @11 + UnloadPerfCounterTextStringsW@8 @12 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liblz32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liblz32.def new file mode 100644 index 0000000..26d9d37 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liblz32.def @@ -0,0 +1,17 @@ +; File generated automatically from ./dlls/lz32/lz32.spec; do not edit! + +LIBRARY lz32.dll + +EXPORTS + CopyLZFile@8=kernel32.CopyLZFile @1 + GetExpandedNameA@8=kernel32.GetExpandedNameA @2 + GetExpandedNameW@8=kernel32.GetExpandedNameW @3 + LZClose@4=kernel32.LZClose @4 + LZCopy@8=kernel32.LZCopy @5 + LZDone@0=kernel32.LZDone @6 + LZInit@4=kernel32.LZInit @7 + LZOpenFileA@12=kernel32.LZOpenFileA @8 + LZOpenFileW@12=kernel32.LZOpenFileW @9 + LZRead@12=kernel32.LZRead @10 + LZSeek@12=kernel32.LZSeek @11 + LZStart@0=kernel32.LZStart @12 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmapi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmapi32.def new file mode 100644 index 0000000..5867766 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmapi32.def @@ -0,0 +1,100 @@ +; File generated automatically from ./dlls/mapi32/mapi32.spec; do not edit! + +LIBRARY mapi32.dll + +EXPORTS + MAPILogonEx@20 @10 + MAPILogonEx@20@20=MAPILogonEx@20 @11 + MAPIAllocateBuffer@8 @12 + MAPIAllocateBuffer@8@8=MAPIAllocateBuffer@8 @13 + MAPIAllocateMore@12 @14 + MAPIAllocateMore@12@12=MAPIAllocateMore@12 @15 + MAPIFreeBuffer@4 @16 + MAPIFreeBuffer@4@4=MAPIFreeBuffer@4 @17 + MAPIAdminProfiles@8 @18 + MAPIAdminProfiles@8@8=MAPIAdminProfiles@8 @19 + MAPIInitialize@4 @20 + MAPIInitialize@4@4=MAPIInitialize@4 @21 + MAPIUninitialize@0 @22 + MAPIUninitialize@0@0=MAPIUninitialize@0 @23 + DllGetClassObject@12 @27 PRIVATE + DllCanUnloadNow@0 @28 PRIVATE + MAPIOpenLocalFormContainer@4 @31 + MAPIOpenLocalFormContainer@4@4=MAPIOpenLocalFormContainer@4 @32 + ScInitMapiUtil@4@4=ScInitMapiUtil@4 @33 + DeinitMapiUtil@0@0=DeinitMapiUtil@0 @34 + WrapProgress@20@20=WrapProgress@20 @41 + HrThisThreadAdviseSink@8@8=HrThisThreadAdviseSink@8 @42 + FBinFromHex@8@8=FBinFromHex@8 @44 + HexFromBin@12@12=HexFromBin@12 @45 + SwapPlong@8@8=SwapPlong@8 @47 + SwapPword@8@8=SwapPword@8 @48 + MAPIGetDefaultMalloc@0@0=MAPIGetDefaultMalloc@0 @59 + CreateIProp@24@24=CreateIProp@24 @60 + MNLS_lstrlenW@4@4=MNLS_lstrlenW@4 @62 + MNLS_lstrcmpW@8@8=MNLS_lstrcmpW@8 @63 + MNLS_lstrcpyW@8@8=MNLS_lstrcpyW@8 @64 + MNLS_CompareStringW@24@12=MNLS_CompareStringW@12 @65 + MNLS_MultiByteToWideChar@24@24=kernel32.MultiByteToWideChar @66 + MNLS_WideCharToMultiByte@32@32=kernel32.WideCharToMultiByte @67 + MNLS_IsBadStringPtrW@8@8=kernel32.IsBadStringPtrW @68 + FEqualNames@8@8=FEqualNames@8 @72 + IsBadBoundedStringPtr@8@8=IsBadBoundedStringPtr@8 @74 + HrQueryAllRows@24@24=HrQueryAllRows@24 @75 + PropCopyMore@16@16=PropCopyMore@16 @76 + UlPropSize@4@4=UlPropSize@4 @77 + FPropContainsProp@12@12=FPropContainsProp@12 @78 + FPropCompareProp@12@12=FPropCompareProp@12 @79 + LPropCompareProp@8@8=LPropCompareProp@8 @80 + FtAddFt@16@16=MAPI32_FtAddFt@16 @121 + FtSubFt@16@16=MAPI32_FtSubFt@16 @123 + FtMulDw@12@12=MAPI32_FtMulDw@12 @124 + FtMulDwDw@8@8=MAPI32_FtMulDwDw@8 @125 + FtNegFt@8@8=MAPI32_FtNegFt@8 @126 + UlAddRef@4@4=UlAddRef@4 @128 + UlRelease@4@4=UlRelease@4 @129 + SzFindCh@8@8=shlwapi.StrChrA @130 + SzFindLastCh@8@12=shlwapi.StrRChrA @131 + SzFindSz@8@8=shlwapi.StrStrA @132 + UFromSz@4@4=UFromSz@4 @133 + HrGetOneProp@12@12=HrGetOneProp@12 @135 + HrSetOneProp@8@8=HrSetOneProp@8 @136 + FPropExists@8@8=FPropExists@8 @137 + PpropFindProp@12@12=PpropFindProp@12 @138 + FreePadrlist@4@4=FreePadrlist@4 @139 + FreeProws@4@4=FreeProws@4 @140 + OpenStreamOnFile@24@24=OpenStreamOnFile@24 @147 + OpenStreamOnFile@24 @148 + UlFromSzHex@4@4=UlFromSzHex@4 @155 + ScCountProps@12@12=ScCountProps@12 @170 + ScCopyProps@16@16=ScCopyProps@16 @171 + ScRelocProps@20@20=ScRelocProps@20 @172 + LpValFindProp@12@12=LpValFindProp@12 @173 + ScDupPropset@16@16=ScDupPropset@16 @174 + FBadRglpszA@8@8=FBadRglpszA@8 @175 + FBadRglpszW@8@8=FBadRglpszW@8 @176 + FBadRowSet@4@4=FBadRowSet@4 @177 + FBadPropTag@4@4=FBadPropTag@4 @179 + FBadRow@4@4=FBadRow@4 @180 + FBadProp@4@4=FBadProp@4 @181 + FBadColumnSet@4@4=FBadColumnSet@4 @182 + WrapCompressedRTFStream@12@12=WrapCompressedRTFStream@12 @185 + WrapCompressedRTFStream@12 @186 + FBadEntryList@4@4=FBadEntryList@4 @190 + CbOfEncoded@4@4=CbOfEncoded@4 @207 + MAPISendDocuments@20 @208 + MAPILogon@24 @209 + MAPILogoff@16 @210 + MAPISendMail@20 @211 + MAPISaveMail@24 @212 + MAPIReadMail@24 @213 + MAPIFindNext@28 @214 + MAPIDeleteMail@20 @215 + MAPIAddress@44 @217 + MAPIDetails@20 @218 + MAPIResolveName@24 @219 + cmc_query_configuration@16 @235 + HrDispatchNotifications@4@4=HrDispatchNotifications@4 @239 + FGetComponentPath@20 @254 + FGetComponentPath@20@20=FGetComponentPath@20 @255 + MAPISendMailW@20 @256 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmf.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmf.def new file mode 100644 index 0000000..6ad707d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmf.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/mf/mf.spec; do not edit! + +LIBRARY mf.dll + +EXPORTS + MFCreateMediaSession@8 @42 + MFCreateSourceResolver@4=mfplat.MFCreateSourceResolver @60 + MFCreateTopology@4 @63 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmfplat.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmfplat.def new file mode 100644 index 0000000..f2c213b --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmfplat.def @@ -0,0 +1,17 @@ +; File generated automatically from ./dlls/mfplat/mfplat.spec; do not edit! + +LIBRARY mfplat.dll + +EXPORTS + MFCreateAttributes@8 @42 + MFCreateEventQueue@4 @45 + MFCreateMediaType@4 @52 + MFCreateSourceResolver@4 @61 + MFCreateStreamDescriptor@16 @62 + MFGetPluginControl@4 @97 + MFShutdown@0 @134 + MFStartup@8 @135 + MFTEnum@40 @137 + MFTEnumEx@36 @138 + MFTRegister@60 @140 + MFTUnregister@16 @143 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmfuuid.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmfuuid.a new file mode 100644 index 0000000..ea61c59 Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmfuuid.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmlang.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmlang.def new file mode 100644 index 0000000..0d7d597 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmlang.def @@ -0,0 +1,18 @@ +; File generated automatically from ./dlls/mlang/mlang.spec; do not edit! + +LIBRARY mlang.dll + +EXPORTS + IsConvertINetStringAvailable@8 @110 + ConvertINetString@28 @111 + ConvertINetUnicodeToMultiByte@24 @112 + ConvertINetMultiByteToUnicode@24 @113 + LcidToRfc1766A@12 @120 + LcidToRfc1766W@12 @121 + Rfc1766ToLcidA@8 @122 + Rfc1766ToLcidW@8 @123 + DllCanUnloadNow@0 @115 PRIVATE + DllGetClassObject@12 @116 PRIVATE + DllRegisterServer@0 @117 PRIVATE + DllUnregisterServer@0 @118 PRIVATE + GetGlobalFontLinkObject@4 @119 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmpr.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmpr.def new file mode 100644 index 0000000..e2bfcac --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmpr.def @@ -0,0 +1,79 @@ +; File generated automatically from ./dlls/mpr/mpr.spec; do not edit! + +LIBRARY mpr.dll + +EXPORTS + MultinetGetConnectionPerformanceA@8 @10 + MultinetGetConnectionPerformanceW@8 @11 + MultinetGetErrorTextA@12 @26 + MultinetGetErrorTextW@12 @27 + NPSAuthenticationDialogA@4 @28 + NPSCopyStringA@12 @29 + NPSDeviceGetNumberA@12 @30 + NPSDeviceGetStringA@16 @31 + NPSGetProviderHandleA@4 @32 + NPSGetProviderNameA@8 @33 + NPSGetSectionNameA@8 @34 + NPSNotifyGetContextA@4 @35 + NPSNotifyRegisterA@8 @36 + NPSSetCustomTextA@4 @37 + NPSSetExtendedErrorA@8 @38 + PwdChangePasswordA@16 @39 + PwdChangePasswordW@16 @40 + PwdGetPasswordStatusA@12 @41 + PwdGetPasswordStatusW@12 @42 + PwdSetPasswordStatusA@12 @43 + PwdSetPasswordStatusW@12 @44 + WNetAddConnection2A@16 @45 + WNetAddConnection2W@16 @46 + WNetAddConnection3A@20 @47 + WNetAddConnection3W@20 @48 + WNetAddConnectionA@12 @49 + WNetAddConnectionW@12 @50 + WNetCachePassword@24 @51 + WNetCancelConnection2A@12 @52 + WNetCancelConnection2W@12 @53 + WNetCancelConnectionA@8 @54 + WNetCancelConnectionW@8 @55 + WNetCloseEnum@4 @56 + WNetConnectionDialog1A@4 @57 + WNetConnectionDialog1W@4 @58 + WNetConnectionDialog@8 @59 + WNetDisconnectDialog1A@4 @60 + WNetDisconnectDialog1W@4 @61 + WNetDisconnectDialog@8 @62 + WNetEnumCachedPasswords@20 @63 + WNetEnumResourceA@16 @64 + WNetEnumResourceW@16 @65 + WNetGetCachedPassword@20 @71 + WNetGetConnectionA@12 @72 + WNetGetConnectionW@12 @73 + WNetGetLastErrorA@20 @77 + WNetGetLastErrorW@20 @78 + WNetGetNetworkInformationA@8 @79 + WNetGetNetworkInformationW@8 @80 + WNetGetProviderNameA@12 @82 + WNetGetProviderNameW@12 @83 + WNetGetResourceInformationA@16 @84 + WNetGetResourceInformationW@16 @85 + WNetGetResourceParentA@12 @86 + WNetGetResourceParentW@12 @87 + WNetGetUniversalNameA@16 @88 + WNetGetUniversalNameW@16 @89 + WNetGetUserA@12 @90 + WNetGetUserW@12 @91 + WNetLogoffA@8 @92 + WNetLogoffW@8 @93 + WNetLogonA@8 @94 + WNetLogonW@8 @96 + WNetOpenEnumA@20 @97 + WNetOpenEnumW@20 @98 + WNetRemoveCachedPassword@12 @101 + WNetRestoreConnectionA@8 @103 + WNetRestoreConnectionW@8 @104 + WNetSetConnectionA@12 @105 + WNetSetConnectionW@12 @106 + WNetUseConnectionA@32 @107 + WNetUseConnectionW@32 @108 + WNetVerifyPasswordA@8 @109 + WNetVerifyPasswordW@8 @110 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmprapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmprapi.def new file mode 100644 index 0000000..79e476f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmprapi.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/mprapi/mprapi.spec; do not edit! + +LIBRARY mprapi.dll + +EXPORTS + MprAdminGetErrorString@8 @9 + MprAdminIsServiceRunning@4 @33 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsacm32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsacm32.def new file mode 100644 index 0000000..403f12a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsacm32.def @@ -0,0 +1,48 @@ +; File generated automatically from ./dlls/msacm32/msacm32.spec; do not edit! + +LIBRARY msacm32.dll + +EXPORTS + acmDriverAddA@20 @1 + acmDriverAddW@20 @2 + acmDriverClose@8 @3 + acmDriverDetailsA@12 @4 + acmDriverDetailsW@12 @5 + acmDriverEnum@12 @6 + acmDriverID@12 @7 + acmDriverMessage@16 @8 + acmDriverOpen@12 @9 + acmDriverPriority@12 @10 + acmDriverRemove@8 @11 + acmFilterChooseA@4 @12 + acmFilterChooseW@4 @13 + acmFilterDetailsA@12 @14 + acmFilterDetailsW@12 @15 + acmFilterEnumA@20 @16 + acmFilterEnumW@20 @17 + acmFilterTagDetailsA@12 @18 + acmFilterTagDetailsW@12 @19 + acmFilterTagEnumA@20 @20 + acmFilterTagEnumW@20 @21 + acmFormatChooseA@4 @22 + acmFormatChooseW@4 @23 + acmFormatDetailsA@12 @24 + acmFormatDetailsW@12 @25 + acmFormatEnumA@20 @26 + acmFormatEnumW@20 @27 + acmFormatSuggest@20 @28 + acmFormatTagDetailsA@12 @29 + acmFormatTagDetailsW@12 @30 + acmFormatTagEnumA@20 @31 + acmFormatTagEnumW@20 @32 + acmGetVersion@0 @33 + acmMetrics@12 @35 + acmStreamClose@8 @36 + acmStreamConvert@12 @37 + acmStreamMessage@16 @38 + acmStreamOpen@32 @39 + acmStreamPrepareHeader@12 @40 + acmStreamReset@8 @41 + acmStreamSize@16 @42 + acmStreamUnprepareHeader@12 @43 + DriverProc@20=PCM_DriverProc@20 @44 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsasn1.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsasn1.def new file mode 100644 index 0000000..56e9cb2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsasn1.def @@ -0,0 +1,5 @@ +; File generated automatically from ./dlls/msasn1/msasn1.spec; do not edit! + +LIBRARY msasn1.dll + +EXPORTS diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmscms.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmscms.def new file mode 100644 index 0000000..385e2f1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmscms.def @@ -0,0 +1,60 @@ +; File generated automatically from ./dlls/mscms/mscms.spec; do not edit! + +LIBRARY mscms.dll + +EXPORTS + AssociateColorProfileWithDeviceA@12 @1 + AssociateColorProfileWithDeviceW@12 @2 + CheckBitmapBits@36 @3 + CheckColors@20 @4 + CloseColorProfile@4 @5 + ConvertColorNameToIndex@16 @6 + ConvertIndexToColorName@16 @7 + CreateColorTransformA@16 @8 + CreateColorTransformW@16 @9 + CreateDeviceLinkProfile@28 @10 + CreateMultiProfileTransform@24 @11 + CreateProfileFromLogColorSpaceA@8 @12 + CreateProfileFromLogColorSpaceW@8 @13 + DeleteColorTransform@4 @14 + DisassociateColorProfileFromDeviceA@12 @15 + DisassociateColorProfileFromDeviceW@12 @16 + EnumColorProfilesA@20 @17 + EnumColorProfilesW@20 @18 + GenerateCopyFilePaths@36 @19 + GetCMMInfo@8 @20 + GetColorDirectoryA@12 @21 + GetColorDirectoryW@12 @22 + GetColorProfileElement@24 @23 + GetColorProfileElementTag@12 @24 + GetColorProfileFromHandle@12 @25 + GetColorProfileHeader@8 @26 + GetCountColorProfileElements@8 @27 + GetNamedProfileInfo@8 @28 + GetPS2ColorRenderingDictionary@20 @29 + GetPS2ColorRenderingIntent@16 @30 + GetPS2ColorSpaceArray@24 @31 + GetStandardColorSpaceProfileA@16 @32 + GetStandardColorSpaceProfileW@16 @33 + InstallColorProfileA@8 @34 + InstallColorProfileW@8 @35 + IsColorProfileTagPresent@12 @42 + IsColorProfileValid@8 @43 + OpenColorProfileA@16 @44 + OpenColorProfileW@16 @45 + RegisterCMMA@12 @46 + RegisterCMMW@12 @47 + SelectCMM@4 @48 + SetColorProfileElement@20 @49 + SetColorProfileElementReference@12 @50 + SetColorProfileElementSize@12 @51 + SetColorProfileHeader@8 @52 + SetStandardColorSpaceProfileA@12 @53 + SetStandardColorSpaceProfileW@12 @54 + SpoolerCopyFileEvent@12 @55 + TranslateBitmapBits@44 @56 + TranslateColors@24 @57 + UninstallColorProfileA@12 @58 + UninstallColorProfileW@12 @59 + UnregisterCMMA@8 @60 + UnregisterCMMW@8 @61 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsdmo.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsdmo.def new file mode 100644 index 0000000..a4333bc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsdmo.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/msdmo/msdmo.spec; do not edit! + +LIBRARY msdmo.dll + +EXPORTS + DMOEnum@28 @1 + DMOGetName@8 @2 + DMOGetTypes@28 @3 + DMORegister@32 @6 + DMOUnregister@8 @9 + MoCopyMediaType@8 @10 + MoCreateMediaType@8 @11 + MoDeleteMediaType@4 @12 + MoDuplicateMediaType@8 @13 + MoFreeMediaType@4 @14 + MoInitMediaType@8 @15 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmshtml.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmshtml.def new file mode 100644 index 0000000..d7be8f9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmshtml.def @@ -0,0 +1,15 @@ +; File generated automatically from ./dlls/mshtml/mshtml.spec; do not edit! + +LIBRARY mshtml.dll + +EXPORTS + DllCanUnloadNow@0 @2 PRIVATE + DllGetClassObject@12 @4 PRIVATE + DllInstall@8 @5 PRIVATE + DllRegisterServer@0 @6 PRIVATE + DllUnregisterServer@0 @7 PRIVATE + PrintHTML@16 @9 + RNIGetCompatibleVersion@0 @10 + RunHTMLApplication@16 @11 + ShowHTMLDialog@20 @12 + NP_GetEntryPoints@4 @15 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsi.def new file mode 100644 index 0000000..c90ab7d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsi.def @@ -0,0 +1,269 @@ +; File generated automatically from ./dlls/msi/msi.spec; do not edit! + +LIBRARY msi.dll + +EXPORTS + MsiAdvertiseProductA@16 @5 + MsiAdvertiseProductW@16 @6 + MsiCloseAllHandles@0 @7 + MsiCloseHandle@4 @8 + MsiCollectUserInfoA@4 @9 + MsiCollectUserInfoW@4 @10 + MsiConfigureFeatureA@12 @11 + MsiConfigureFeatureW@12 @14 + MsiConfigureProductA@12 @15 + MsiConfigureProductW@12 @16 + MsiCreateRecord@4 @17 + MsiDatabaseApplyTransformA@12 @18 + MsiDatabaseApplyTransformW@12 @19 + MsiDatabaseCommit@4 @20 + MsiDatabaseExportA@16 @21 + MsiDatabaseExportW@16 @22 + MsiDatabaseGenerateTransformA@20 @23 + MsiDatabaseGenerateTransformW@20 @24 + MsiDatabaseGetPrimaryKeysA@12 @25 + MsiDatabaseGetPrimaryKeysW@12 @26 + MsiDatabaseImportA@12 @27 + MsiDatabaseImportW@12 @28 + MsiDatabaseMergeA@12 @29 + MsiDatabaseMergeW@12 @30 + MsiDatabaseOpenViewA@12 @31 + MsiDatabaseOpenViewW@12 @32 + MsiDoActionA@8 @33 + MsiDoActionW@8 @34 + MsiEnableUIPreview@8 @35 + MsiEnumClientsA@12 @36 + MsiEnumClientsW@12 @37 + MsiEnumComponentQualifiersA@24 @38 + MsiEnumComponentQualifiersW@24 @39 + MsiEnumComponentsA@8 @40 + MsiEnumComponentsW@8 @41 + MsiEnumFeaturesA@16 @42 + MsiEnumFeaturesW@16 @43 + MsiEnumProductsA@8 @44 + MsiEnumProductsW@8 @45 + MsiEvaluateConditionA@8 @46 + MsiEvaluateConditionW@8 @47 + MsiGetLastErrorRecord@0 @48 + MsiGetActiveDatabase@4 @49 + MsiGetComponentStateA@16 @50 + MsiGetComponentStateW@16 @51 + MsiGetDatabaseState@4 @52 + MsiGetFeatureCostA@20 @53 + MsiGetFeatureCostW@20 @54 + MsiGetFeatureInfoA@28 @55 + MsiGetFeatureInfoW@28 @56 + MsiGetFeatureStateA@16 @57 + MsiGetFeatureStateW@16 @58 + MsiGetFeatureUsageA@16 @59 + MsiGetFeatureUsageW@16 @60 + MsiGetFeatureValidStatesA@12 @61 + MsiGetFeatureValidStatesW@12 @62 + MsiGetLanguage@4 @63 + MsiGetMode@8 @64 + MsiGetProductCodeA@8 @65 + MsiGetProductCodeW@8 @66 + MsiGetProductInfoA@16 @67 + MsiGetProductInfoW@16 @70 + MsiGetProductPropertyA@16 @71 + MsiGetProductPropertyW@16 @72 + MsiGetPropertyA@16 @73 + MsiGetPropertyW@16 @74 + MsiGetSourcePathA@16 @75 + MsiGetSourcePathW@16 @76 + MsiGetSummaryInformationA@16 @77 + MsiGetSummaryInformationW@16 @78 + MsiGetTargetPathA@16 @79 + MsiGetTargetPathW@16 @80 + MsiGetUserInfoA@28 @81 + MsiGetUserInfoW@28 @82 + MsiInstallMissingComponentA@12 @83 + MsiInstallMissingComponentW@12 @84 + MsiInstallProductA@8 @87 + MsiInstallProductW@8 @88 + MsiLocateComponentA@12 @89 + MsiLocateComponentW@12 @90 + MsiOpenDatabaseA@12 @91 + MsiOpenDatabaseW@12 @92 + MsiOpenPackageA@8 @93 + MsiOpenPackageW@8 @94 + MsiOpenProductA@8 @95 + MsiOpenProductW@8 @96 + MsiPreviewBillboardA@12 @97 + MsiPreviewBillboardW@12 @98 + MsiPreviewDialogA@8 @99 + MsiPreviewDialogW@8 @100 + MsiProcessMessage@12 @103 + MsiProvideComponentA@24 @104 + MsiProvideComponentFromDescriptorA@16 @105 + MsiProvideComponentFromDescriptorW@16 @106 + MsiProvideComponentW@24 @107 + MsiProvideQualifiedComponentA@20 @108 + MsiProvideQualifiedComponentW@20 @109 + MsiQueryFeatureStateA@8 @110 + MsiQueryFeatureStateW@8 @111 + MsiQueryProductStateA@4 @112 + MsiQueryProductStateW@4 @113 + MsiRecordDataSize@8 @114 + MsiRecordGetFieldCount@4 @115 + MsiRecordGetInteger@8 @116 + MsiRecordGetStringA@16 @117 + MsiRecordGetStringW@16 @118 + MsiRecordIsNull@8 @119 + MsiRecordReadStream@16 @120 + MsiRecordSetInteger@12 @121 + MsiRecordSetStreamA@12 @122 + MsiRecordSetStreamW@12 @123 + MsiRecordSetStringA@12 @124 + MsiRecordSetStringW@12 @125 + MsiReinstallFeatureA@12 @126 + MsiReinstallFeatureW@12 @129 + MsiReinstallProductA@8 @130 + MsiReinstallProductW@8 @131 + MsiSequenceA@12 @132 + MsiSequenceW@12 @133 + MsiSetComponentStateA@12 @134 + MsiSetComponentStateW@12 @135 + MsiSetExternalUIA@12 @136 + MsiSetExternalUIW@12 @137 + MsiSetFeatureStateA@12 @138 + MsiSetFeatureStateW@12 @139 + MsiSetInstallLevel@8 @140 + MsiSetInternalUI@8 @141 + MsiSetMode@12 @143 + MsiSetPropertyA@12 @144 + MsiSetPropertyW@12 @145 + MsiSetTargetPathA@12 @146 + MsiSetTargetPathW@12 @147 + MsiSummaryInfoGetPropertyA@28 @148 + MsiSummaryInfoGetPropertyCount@8 @149 + MsiSummaryInfoGetPropertyW@28 @150 + MsiSummaryInfoPersist@4 @151 + MsiSummaryInfoSetPropertyA@24 @152 + MsiSummaryInfoSetPropertyW@24 @153 + MsiUseFeatureA@8 @154 + MsiUseFeatureW@8 @155 + MsiVerifyPackageA@4 @156 + MsiVerifyPackageW@4 @157 + MsiViewClose@4 @158 + MsiViewExecute@8 @159 + MsiViewFetch@8 @160 + MsiViewGetErrorA@12 @161 + MsiViewGetErrorW@12 @162 + MsiViewModify@12 @163 + MsiDatabaseIsTablePersistentA@8 @164 + MsiDatabaseIsTablePersistentW@8 @165 + MsiViewGetColumnInfo@12 @166 + MsiRecordClearData@4 @167 + MsiEnableLogA@12 @168 + MsiEnableLogW@12 @169 + MsiFormatRecordA@16 @170 + MsiFormatRecordW@16 @171 + MsiGetComponentPathA@16 @172 + MsiGetComponentPathW@16 @173 + MsiApplyPatchA@16 @174 + MsiApplyPatchW@16 @175 + MsiAdvertiseScriptA@16 @176 + MsiAdvertiseScriptW@16 @177 + MsiGetPatchInfoA@16 @178 + MsiGetPatchInfoW@16 @179 + MsiEnumPatchesA@20 @180 + MsiEnumPatchesW@20 @181 + DllGetVersion@4 @182 PRIVATE + MsiCreateTransformSummaryInfoA@20 @185 + MsiCreateTransformSummaryInfoW@20 @186 + MsiConfigureProductExA@16 @189 + MsiConfigureProductExW@16 @190 + MsiUseFeatureExA@16 @192 + MsiUseFeatureExW@16 @193 + MsiGetFileVersionA@20 @194 + MsiGetFileVersionW@20 @195 + MsiLoadStringA@20 @196 + MsiLoadStringW@20 @197 + MsiMessageBoxA@24 @198 + MsiMessageBoxW@24 @199 + MsiDecomposeDescriptorA@20 @200 + MsiDecomposeDescriptorW@20 @201 + MsiProvideQualifiedComponentExA@32 @202 + MsiProvideQualifiedComponentExW@32 @203 + MsiEnumRelatedProductsA@16 @204 + MsiEnumRelatedProductsW@16 @205 + MsiSetFeatureAttributesA@12 @206 + MsiSetFeatureAttributesW@12 @207 + MsiSourceListClearAllA@12 @208 + MsiSourceListClearAllW@12 @209 + MsiSourceListAddSourceA@16 @210 + MsiSourceListAddSourceW@16 @211 + MsiIsProductElevatedA@8 @214 + MsiIsProductElevatedW@8 @215 + MsiGetShortcutTargetA@16 @216 + MsiGetShortcutTargetW@16 @217 + MsiGetFileHashA@12 @218 + MsiGetFileHashW@12 @219 + MsiEnumComponentCostsA@32 @220 + MsiEnumComponentCostsW@32 @221 + MsiCreateAndVerifyInstallerDirectory@4 @222 + MsiGetFileSignatureInformationA@20 @223 + MsiGetFileSignatureInformationW@20 @224 + MsiProvideAssemblyA@24 @225 + MsiProvideAssemblyW@24 @226 + MsiAdvertiseProductExA@24 @227 + MsiAdvertiseProductExW@24 @228 + MsiOpenPackageExA@12 @231 + MsiOpenPackageExW@12 @232 + Migrate10CachedPackagesW@16 @236 + MsiRemovePatchesA@16 @237 + MsiRemovePatchesW@16 @238 + MsiApplyMultiplePatchesA@12 @239 + MsiApplyMultiplePatchesW@12 @240 + MsiGetPatchInfoExA@28 @243 + MsiGetPatchInfoExW@28 @244 + MsiEnumProductsExA@32 @245 + MsiEnumProductsExW@32 @246 + MsiGetProductInfoExA@24 @247 + MsiGetProductInfoExW@24 @248 + MsiQueryComponentStateA@20 @249 + MsiQueryComponentStateW@20 @250 + MsiQueryFeatureStateExA@20 @251 + MsiQueryFeatureStateExW@20 @252 + MsiDeterminePatchSequenceA@20 @253 + MsiDeterminePatchSequenceW@20 @254 + MsiSourceListAddSourceExA@24 @255 + MsiSourceListAddSourceExW@24 @256 + MsiSourceListClearSourceA@20 @257 + MsiSourceListClearSourceW@20 @258 + MsiSourceListClearAllExA@16 @259 + MsiSourceListClearAllExW@16 @260 + MsiSourceListEnumSourcesA@28 @263 + MsiSourceListEnumSourcesW@28 @264 + MsiSourceListGetInfoA@28 @265 + MsiSourceListGetInfoW@28 @266 + MsiSourceListSetInfoA@24 @267 + MsiSourceListSetInfoW@24 @268 + MsiEnumPatchesExA@40 @269 + MsiEnumPatchesExW@40 @270 + MsiSourceListEnumMediaDisksA@40 @271 + MsiSourceListEnumMediaDisksW@40 @272 + MsiSourceListAddMediaDiskA@28 @273 + MsiSourceListAddMediaDiskW@28 @274 + MsiDetermineApplicablePatchesA@12 @277 + MsiDetermineApplicablePatchesW@12 @278 + MsiMessageBoxExA@28 @279 + MsiMessageBoxExW@28 @280 + MsiSetExternalUIRecord@16 @281 + MsiGetPatchFileListA@16 @282 + MsiGetPatchFileListW@16 @283 + MsiBeginTransactionA@16 @284 + MsiBeginTransactionW@16 @285 + MsiEndTransaction@4 @286 + MsiJoinTransaction@12 @287 + MsiEnumComponentsExA@28 @289 + MsiEnumComponentsExW@28 @290 + MsiEnumClientsExA@32 @291 + MsiEnumClientsExW@32 @292 + MsiGetComponentPathExA@24 @293 + MsiGetComponentPathExW@24 @294 + DllCanUnloadNow@0 @296 PRIVATE + DllGetClassObject@12 @297 PRIVATE + DllRegisterServer@0 @298 PRIVATE + DllUnregisterServer@0 @299 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsimg32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsimg32.def new file mode 100644 index 0000000..67bb0d4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsimg32.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/msimg32/msimg32.spec; do not edit! + +LIBRARY msimg32.dll + +EXPORTS + vSetDdrawflag@0 @1 + AlphaBlend@44=gdi32.GdiAlphaBlend @2 + DllInitialize@12=DllMain@12 @3 PRIVATE + GradientFill@24=gdi32.GdiGradientFill @4 + TransparentBlt@44=gdi32.GdiTransparentBlt @5 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmspatcha.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmspatcha.def new file mode 100644 index 0000000..49a5e9d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmspatcha.def @@ -0,0 +1,9 @@ +; File generated automatically from ./dlls/mspatcha/mspatcha.spec; do not edit! + +LIBRARY mspatcha.dll + +EXPORTS + ApplyPatchToFileA@16 @1 + ApplyPatchToFileW@16 @6 + GetFilePatchSignatureA@36 @7 + GetFilePatchSignatureW@36 @9 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr100.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr100.def new file mode 100644 index 0000000..43c1a95 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr100.def @@ -0,0 +1,1278 @@ +; File generated automatically from ./dlls/msvcr100/msvcr100.spec; do not edit! + +LIBRARY msvcr100.dll + +EXPORTS + ??0?$_SpinWait@$00@details@Concurrency@@QAE@P6AXXZ@Z=__thiscall_SpinWait_ctor_yield @1 + ??0?$_SpinWait@$0A@@details@Concurrency@@QAE@P6AXXZ@Z=__thiscall_SpinWait_ctor @2 + ??0SchedulerPolicy@Concurrency@@QAA@IZZ=SchedulerPolicy_ctor_policies @3 + ??0SchedulerPolicy@Concurrency@@QAE@ABV01@@Z=__thiscall_SchedulerPolicy_copy_ctor @4 + ??0SchedulerPolicy@Concurrency@@QAE@XZ=__thiscall_SchedulerPolicy_ctor @5 + ??0_NonReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_ctor @6 + ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_ctor @9 + ??0__non_rtti_object@std@@QAE@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @17 + ??0__non_rtti_object@std@@QAE@PBD@Z=__thiscall_MSVCRT___non_rtti_object_ctor @18 + ??0bad_cast@std@@AAE@PBQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @19 + ??0bad_cast@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @20 + ??0bad_cast@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @21 + ??0bad_typeid@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @24 + ??0bad_typeid@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @25 + ??0critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_ctor @30 + ??0event@Concurrency@@QAE@XZ=__thiscall_event_ctor @33 + ??0exception@std@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @34 + ??0exception@std@@QAE@ABQBDH@Z=__thiscall_MSVCRT_exception_ctor_noalloc @35 + ??0exception@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_exception_copy_ctor @36 + ??0exception@std@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @37 + ??0improper_lock@Concurrency@@QAE@PBD@Z=__thiscall_improper_lock_ctor_str @38 + ??0improper_lock@Concurrency@@QAE@XZ=__thiscall_improper_lock_ctor @39 + ??0improper_scheduler_attach@Concurrency@@QAE@PBD@Z=__thiscall_improper_scheduler_attach_ctor_str @40 + ??0improper_scheduler_attach@Concurrency@@QAE@XZ=__thiscall_improper_scheduler_attach_ctor @41 + ??0improper_scheduler_detach@Concurrency@@QAE@PBD@Z=__thiscall_improper_scheduler_detach_ctor_str @42 + ??0improper_scheduler_detach@Concurrency@@QAE@XZ=__thiscall_improper_scheduler_detach_ctor @43 + ??0invalid_scheduler_policy_key@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_key_ctor_str @54 + ??0invalid_scheduler_policy_key@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_key_ctor @55 + ??0invalid_scheduler_policy_thread_specification@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_thread_specification_ctor_str @56 + ??0invalid_scheduler_policy_thread_specification@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_thread_specification_ctor @57 + ??0invalid_scheduler_policy_value@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_value_ctor_str @58 + ??0invalid_scheduler_policy_value@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_value_ctor @59 + ??0reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_ctor @68 + ??0scheduler_resource_allocation_error@Concurrency@@QAE@J@Z=__thiscall_scheduler_resource_allocation_error_ctor @71 + ??0scheduler_resource_allocation_error@Concurrency@@QAE@PBDJ@Z=__thiscall_scheduler_resource_allocation_error_ctor_name @72 + ??0scoped_lock@critical_section@Concurrency@@QAE@AAV12@@Z=__thiscall_critical_section_scoped_lock_ctor @73 + ??0scoped_lock@reader_writer_lock@Concurrency@@QAE@AAV12@@Z=__thiscall_reader_writer_lock_scoped_lock_ctor @74 + ??0scoped_lock_read@reader_writer_lock@Concurrency@@QAE@AAV12@@Z=__thiscall_reader_writer_lock_scoped_lock_read_ctor @75 + ??1SchedulerPolicy@Concurrency@@QAE@XZ=__thiscall_SchedulerPolicy_dtor @80 + ??1_NonReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_dtor @81 + ??1_ReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_dtor @82 + ??1__non_rtti_object@std@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @88 + ??1bad_cast@std@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @89 + ??1bad_typeid@std@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @90 + ??1critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_dtor @91 + ??1event@Concurrency@@QAE@XZ=__thiscall_event_dtor @92 + ??1exception@std@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @93 + ??1reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_dtor @94 + ??1scoped_lock@critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_scoped_lock_dtor @95 + ??1scoped_lock@reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_scoped_lock_dtor @96 + ??1scoped_lock_read@reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_scoped_lock_read_dtor @97 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @98 + ??2@YAPAXI@Z=MSVCRT_operator_new @99 + ??2@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @100 + ??3@YAXPAX@Z=MSVCRT_operator_delete @101 + ??4SchedulerPolicy@Concurrency@@QAEAAV01@ABV01@@Z=__thiscall_SchedulerPolicy_op_assign @104 + ??4__non_rtti_object@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @105 + ??4bad_cast@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_cast_opequals @106 + ??4bad_typeid@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_opequals @107 + ??4exception@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_exception_opequals @108 + ??8type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @109 + ??9type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @110 + ??_7__non_rtti_object@std@@6B@=MSVCRT___non_rtti_object_vtable @111 DATA + ??_7bad_cast@std@@6B@=MSVCRT_bad_cast_vtable @112 DATA + ??_7bad_typeid@std@@6B@=MSVCRT_bad_typeid_vtable @113 DATA + ??_7exception@@6B@=MSVCRT_exception_old_vtable @114 DATA + ??_7exception@std@@6B@=MSVCRT_exception_vtable @115 DATA + ??_F?$_SpinWait@$00@details@Concurrency@@QAEXXZ=__thiscall_SpinWait_dtor @116 + ??_F?$_SpinWait@$0A@@details@Concurrency@@QAEXXZ=__thiscall_SpinWait_dtor @117 + ??_Fbad_cast@std@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @118 + ??_Fbad_typeid@std@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @119 + ??_U@YAPAXI@Z=MSVCRT_operator_new @120 + ??_U@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @121 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @122 + ?Alloc@Concurrency@@YAPAXI@Z=Concurrency_Alloc @123 + ?Block@Context@Concurrency@@SAXXZ=Context_Block @124 + ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z=CurrentScheduler_Create @125 + ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z=Scheduler_Create @126 + ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ=CurrentScheduler_CreateScheduleGroup @128 + ?CurrentContext@Context@Concurrency@@SAPAV12@XZ=Context_CurrentContext @129 + ?Detach@CurrentScheduler@Concurrency@@SAXXZ=CurrentScheduler_Detach @130 + ?Free@Concurrency@@YAXPAX@Z=Concurrency_Free @133 + ?Get@CurrentScheduler@Concurrency@@SAPAVScheduler@2@XZ=CurrentScheduler_Get @134 + ?GetNumberOfVirtualProcessors@CurrentScheduler@Concurrency@@SAIXZ=CurrentScheduler_GetNumberOfVirtualProcessors @136 + ?GetPolicy@CurrentScheduler@Concurrency@@SA?AVSchedulerPolicy@2@XZ=CurrentScheduler_GetPolicy @138 + ?GetPolicyValue@SchedulerPolicy@Concurrency@@QBEIW4PolicyElementKey@2@@Z=__thiscall_SchedulerPolicy_GetPolicyValue @139 + ?Id@Context@Concurrency@@SAIXZ=Context_Id @144 + ?Id@CurrentScheduler@Concurrency@@SAIXZ=CurrentScheduler_Id @145 + ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ=Context_IsCurrentTaskCollectionCanceling @146 + ?Oversubscribe@Context@Concurrency@@SAX_N@Z=Context_Oversubscribe @148 + ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z=CurrentScheduler_RegisterShutdownEvent @149 + ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ=Scheduler_ResetDefaultSchedulerPolicy @150 + ?ScheduleGroupId@Context@Concurrency@@SAIXZ=Context_ScheduleGroupId @151 + ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z=CurrentScheduler_ScheduleTask @152 + ?SetConcurrencyLimits@SchedulerPolicy@Concurrency@@QAEXII@Z=__thiscall_SchedulerPolicy_SetConcurrencyLimits @153 + ?SetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z=Scheduler_SetDefaultSchedulerPolicy @154 + ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z=__thiscall_SchedulerPolicy_SetPolicyValue @155 + ?VirtualProcessorId@Context@Concurrency@@SAIXZ=Context_VirtualProcessorId @156 + ?Yield@Context@Concurrency@@SAXXZ=Context_Yield @157 + ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Acquire @159 + ?_Acquire@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Acquire @161 + ?_DoYield@?$_SpinWait@$00@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__DoYield @174 + ?_DoYield@?$_SpinWait@$0A@@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__DoYield @175 + ?_NumberOfSpins@?$_SpinWait@$00@details@Concurrency@@IAEKXZ=__thiscall_SpinWait__NumberOfSpins @180 + ?_NumberOfSpins@?$_SpinWait@$0A@@details@Concurrency@@IAEKXZ=__thiscall_SpinWait__NumberOfSpins @181 + ?_Release@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Release @182 + ?_Release@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Release @184 + ?_Reset@?$_SpinWait@$00@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__Reset @189 + ?_Reset@?$_SpinWait@$0A@@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__Reset @190 + ?_SetSpinCount@?$_SpinWait@$00@details@Concurrency@@QAEXI@Z=__thiscall_SpinWait__SetSpinCount @195 + ?_SetSpinCount@?$_SpinWait@$0A@@details@Concurrency@@QAEXI@Z=__thiscall_SpinWait__SetSpinCount @196 + ?_ShouldSpinAgain@?$_SpinWait@$00@details@Concurrency@@IAE_NXZ=__thiscall_SpinWait__ShouldSpinAgain @197 + ?_ShouldSpinAgain@?$_SpinWait@$0A@@details@Concurrency@@IAE_NXZ=__thiscall_SpinWait__ShouldSpinAgain @198 + ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QAE_NXZ=__thiscall_SpinWait__SpinOnce @199 + ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ=__thiscall_SpinWait__SpinOnce @200 + ?_SpinYield@Context@Concurrency@@SAXXZ=Context__SpinYield @201 + ?_Trace_ppl_function@Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType@1@@Z=Concurrency__Trace_ppl_function @205 + ?_TryAcquire@_NonReentrantBlockingLock@details@Concurrency@@QAE_NXZ=__thiscall__ReentrantBlockingLock__TryAcquire @206 + ?_TryAcquire@_ReentrantBlockingLock@details@Concurrency@@QAE_NXZ=__thiscall__ReentrantBlockingLock__TryAcquire @207 + ?_Value@_SpinCount@details@Concurrency@@SAIXZ=SpinCount__Value @216 + ?__ExceptionPtrAssign@@YAXPAXPBX@Z=__ExceptionPtrAssign @217 + ?__ExceptionPtrCompare@@YA_NPBX0@Z=__ExceptionPtrCompare @218 + ?__ExceptionPtrCopy@@YAXPAXPBX@Z=__ExceptionPtrCopy @219 + ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z=__ExceptionPtrCopyException @220 + ?__ExceptionPtrCreate@@YAXPAX@Z=__ExceptionPtrCreate @221 + ?__ExceptionPtrCurrentException@@YAXPAX@Z=__ExceptionPtrCurrentException @222 + ?__ExceptionPtrDestroy@@YAXPAX@Z=__ExceptionPtrDestroy @223 + ?__ExceptionPtrRethrow@@YAXPBX@Z=__ExceptionPtrRethrow @224 + __uncaught_exception=MSVCRT___uncaught_exception @225 + ?_invalid_parameter@@YAXPBG00II@Z=MSVCRT__invalid_parameter @227 + ?_is_exception_typeof@@YAHABVtype_info@@PAU_EXCEPTION_POINTERS@@@Z=_is_exception_typeof @228 + ?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @229 + ?_open@@YAHPBDHH@Z=MSVCRT__open @230 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @231 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @232 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @234 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @235 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @237 + ?_sopen@@YAHPBDHHH@Z=MSVCRT__sopen @238 + ?_wopen@@YAHPB_WHH@Z=MSVCRT__wopen @240 + ?_wsopen@@YAHPB_WHHH@Z=MSVCRT__wsopen @241 + ?before@type_info@@QBEHABV1@@Z=__thiscall_MSVCRT_type_info_before @242 + ?get_error_code@scheduler_resource_allocation_error@Concurrency@@QBEJXZ=__thiscall_scheduler_resource_allocation_error_get_error_code @243 + ?lock@critical_section@Concurrency@@QAEXXZ=__thiscall_critical_section_lock @244 + ?lock@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_lock @245 + ?lock_read@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_lock_read @246 + ?name@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @247 + ?native_handle@critical_section@Concurrency@@QAEAAV12@XZ=__thiscall_critical_section_native_handle @248 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @249 + ?reset@event@Concurrency@@QAEXXZ=__thiscall_event_reset @250 + ?set@event@Concurrency@@QAEXXZ=__thiscall_event_set @251 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @252 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @254 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @256 + ?swprintf@@YAHPAGIPBGZZ=MSVCRT__snwprintf @257 + ?swprintf@@YAHPA_WIPB_WZZ=MSVCRT__snwprintf @258 + ?terminate@@YAXXZ=MSVCRT_terminate @259 + ?try_lock@critical_section@Concurrency@@QAE_NXZ=__thiscall_critical_section_try_lock @260 + ?try_lock@reader_writer_lock@Concurrency@@QAE_NXZ=__thiscall_reader_writer_lock_try_lock @261 + ?try_lock_read@reader_writer_lock@Concurrency@@QAE_NXZ=__thiscall_reader_writer_lock_try_lock_read @262 + ?unexpected@@YAXXZ=MSVCRT_unexpected @263 + ?unlock@critical_section@Concurrency@@QAEXXZ=__thiscall_critical_section_unlock @264 + ?unlock@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_unlock @265 + ?vswprintf@@YAHPA_WIPB_WPAD@Z=MSVCRT_vsnwprintf @266 + ?wait@event@Concurrency@@QAEII@Z=__thiscall_event_wait @268 + ?wait_for_multiple@event@Concurrency@@SAIPAPAV12@I_NI@Z=event_wait_for_multiple @269 + ?what@exception@std@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @270 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @271 + _CIacos @272 + _CIasin @273 + _CIatan @274 + _CIatan2 @275 + _CIcos @276 + _CIcosh @277 + _CIexp @278 + _CIfmod @279 + _CIlog @280 + _CIlog10 @281 + _CIpow @282 + _CIsin @283 + _CIsinh @284 + _CIsqrt @285 + _CItan @286 + _CItanh @287 + _CRT_RTC_INIT @288 + _CRT_RTC_INITW @289 + _CreateFrameInfo @290 + _CxxThrowException@8 @291 + _EH_prolog @292 + _FindAndUnlinkFrame @293 + _Getdays @294 + _Getmonths @295 + _Gettnames @296 + _HUGE=MSVCRT__HUGE @297 DATA + _IsExceptionObjectToBeDestroyed @298 + _Strftime @302 + _XcptFilter @303 + __AdjustPointer @304 + __CppXcptFilter @307 + __CxxDetectRethrow @312 + __CxxExceptionFilter @313 + __CxxFrameHandler @314 + __CxxFrameHandler2=__CxxFrameHandler @315 + __CxxFrameHandler3=__CxxFrameHandler @316 + __CxxLongjmpUnwind@4 @317 + __CxxQueryExceptionSize @318 + __CxxRegisterExceptionObject @319 + __CxxUnregisterExceptionObject @320 + __DestructExceptionObject @321 + __RTCastToVoid=MSVCRT___RTCastToVoid @323 + __RTDynamicCast=MSVCRT___RTDynamicCast @324 + __RTtypeid=MSVCRT___RTtypeid @325 + __STRINGTOLD @326 + ___lc_codepage_func @329 + ___lc_collate_cp_func @330 + ___lc_handle_func @331 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @332 + ___mb_cur_max_l_func @333 + ___setlc_active_func=MSVCRT____setlc_active_func @334 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @335 + __argc=MSVCRT___argc @336 DATA + __argv=MSVCRT___argv @337 DATA + __badioinfo=MSVCRT___badioinfo @338 DATA + __clean_type_info_names_internal @339 + __control87_2 @340 + __crtCompareStringA @342 + __crtCompareStringW @343 + __crtLCMapStringA @344 + __crtLCMapStringW @345 + __daylight=MSVCRT___p__daylight @346 + __dllonexit @347 + __doserrno=MSVCRT___doserrno @348 + __dstbias=MSVCRT___p__dstbias @349 + __fpecode @352 + __getmainargs @357 + __initenv=MSVCRT___initenv @358 DATA + __iob_func=MSVCRT___iob_func @359 + __isascii=MSVCRT___isascii @360 + __iscsym=MSVCRT___iscsym @361 + __iscsymf=MSVCRT___iscsymf @362 + __lconv_init @365 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @366 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @367 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @368 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @369 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @370 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @371 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @372 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @373 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @374 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @375 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @376 + __libm_sse2_log=MSVCRT___libm_sse2_log @377 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @378 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @379 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @380 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @381 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @382 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @383 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @384 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @385 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @386 + __mb_cur_max=MSVCRT___mb_cur_max @387 DATA + __p___argc=MSVCRT___p___argc @388 + __p___argv=MSVCRT___p___argv @389 + __p___initenv @390 + __p___mb_cur_max @391 + __p___wargv=MSVCRT___p___wargv @392 + __p___winitenv @393 + __p__acmdln @394 + __p__commode @395 + __p__daylight=MSVCRT___p__daylight @396 + __p__dstbias=MSVCRT___p__dstbias @397 + __p__environ=MSVCRT___p__environ @398 + __p__fmode @399 + __p__iob=MSVCRT___iob_func @400 + __p__mbctype @402 + __p__pctype=MSVCRT___p__pctype @403 + __p__pgmptr=MSVCRT___p__pgmptr @404 + __p__timezone=MSVCRT___p__timezone @406 + __p__tzname @407 + __p__wcmdln @408 + __p__wenviron=MSVCRT___p__wenviron @409 + __p__wpgmptr=MSVCRT___p__wpgmptr @410 + __pctype_func=MSVCRT___pctype_func @411 + __pioinfo=MSVCRT___pioinfo @412 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @414 + __set_app_type=MSVCRT___set_app_type @416 + __setlc_active=MSVCRT___setlc_active @418 DATA + __setusermatherr=MSVCRT___setusermatherr @419 + __swprintf_l=MSVCRT___swprintf_l @421 + __sys_errlist @422 + __sys_nerr @423 + __threadhandle=kernel32.GetCurrentThread @424 + __threadid=kernel32.GetCurrentThreadId @425 + __timezone=MSVCRT___p__timezone @426 + __toascii=MSVCRT___toascii @427 + __tzname=__p__tzname @428 + __unDName @429 + __unDNameEx @430 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @432 DATA + __vswprintf_l=MSVCRT_vswprintf_l @433 + __wargv=MSVCRT___wargv @434 DATA + __wcserror=MSVCRT___wcserror @435 + __wcserror_s=MSVCRT___wcserror_s @436 + __wgetmainargs @438 + __winitenv=MSVCRT___winitenv @439 DATA + _abnormal_termination @440 + _abs64 @441 + _access=MSVCRT__access @442 + _access_s=MSVCRT__access_s @443 + _acmdln=MSVCRT__acmdln @444 DATA + _aligned_free @445 + _aligned_malloc @446 + _aligned_msize @447 + _aligned_offset_malloc @448 + _aligned_offset_realloc @449 + _aligned_realloc @451 + _amsg_exit @453 + _assert=MSVCRT__assert @454 + _atodbl=MSVCRT__atodbl @455 + _atodbl_l=MSVCRT__atodbl_l @456 + _atof_l=MSVCRT__atof_l @457 + _atoflt=MSVCRT__atoflt @458 + _atoflt_l=MSVCRT__atoflt_l @459 + _atoi64=ntdll._atoi64 @460 + _atoi_l=MSVCRT__atoi_l @462 + _atoldbl=MSVCRT__atoldbl @464 + _beep=MSVCRT__beep @466 + _beginthread @467 + _beginthreadex @468 + _byteswap_uint64 @469 + _byteswap_ulong=MSVCRT__byteswap_ulong @470 + _byteswap_ushort @471 + _c_exit=MSVCRT__c_exit @472 + _cabs=MSVCRT__cabs @473 + _callnewh @474 + _calloc_crt=MSVCRT_calloc @475 + _cexit=MSVCRT__cexit @476 + _cgets @477 + _chdir=MSVCRT__chdir @481 + _chdrive=MSVCRT__chdrive @482 + _chgsign=MSVCRT__chgsign @483 + _chkesp @484 + _chmod=MSVCRT__chmod @485 + _chsize=MSVCRT__chsize @486 + _chsize_s=MSVCRT__chsize_s @487 + _clearfp @488 + _close=MSVCRT__close @489 + _commit=MSVCRT__commit @490 + _commode=MSVCRT__commode @491 DATA + _configthreadlocale @492 + _control87 @493 + _controlfp @494 + _controlfp_s @495 + _copysign=MSVCRT__copysign @496 + _cprintf @497 + _cputs @503 + _cputws @504 + _creat=MSVCRT__creat @505 + _create_locale=MSVCRT__create_locale @506 + _crt_debugger_hook=MSVCRT__crt_debugger_hook @507 + _cscanf @508 + _cscanf_l @509 + _cscanf_s @510 + _cscanf_s_l @511 + _ctime32=MSVCRT__ctime32 @512 + _ctime32_s=MSVCRT__ctime32_s @513 + _ctime64=MSVCRT__ctime64 @514 + _ctime64_s=MSVCRT__ctime64_s @515 + _cwait @516 + _cwprintf @517 + _cwscanf @523 + _cwscanf_l @524 + _cwscanf_s @525 + _cwscanf_s_l @526 + _daylight=MSVCRT___daylight @527 DATA + _difftime32=MSVCRT__difftime32 @528 + _difftime64=MSVCRT__difftime64 @529 + _dstbias=MSVCRT__dstbias @531 DATA + _dup=MSVCRT__dup @532 + _dup2=MSVCRT__dup2 @533 + _dupenv_s @534 + _ecvt=MSVCRT__ecvt @535 + _ecvt_s=MSVCRT__ecvt_s @536 + _encoded_null @537 + _endthread @538 + _endthreadex @539 + _environ=MSVCRT__environ @540 DATA + _eof=MSVCRT__eof @541 + _errno=MSVCRT__errno @542 + _except_handler2 @543 + _except_handler3 @544 + _except_handler4_common @545 + _execl @546 + _execle @547 + _execlp @548 + _execlpe @549 + _execv @550 + _execve=MSVCRT__execve @551 + _execvp @552 + _execvpe @553 + _exit=MSVCRT__exit @554 + _expand @555 + _fclose_nolock=MSVCRT__fclose_nolock @556 + _fcloseall=MSVCRT__fcloseall @557 + _fcvt=MSVCRT__fcvt @558 + _fcvt_s=MSVCRT__fcvt_s @559 + _fdopen=MSVCRT__fdopen @560 + _fflush_nolock=MSVCRT__fflush_nolock @561 + _fgetc_nolock=MSVCRT__fgetc_nolock @562 + _fgetchar=MSVCRT__fgetchar @563 + _fgetwc_nolock=MSVCRT__fgetwc_nolock @564 + _fgetwchar=MSVCRT__fgetwchar @565 + _filbuf=MSVCRT__filbuf @566 + _filelength=MSVCRT__filelength @567 + _filelengthi64=MSVCRT__filelengthi64 @568 + _fileno=MSVCRT__fileno @569 + _findclose=MSVCRT__findclose @570 + _findfirst32=MSVCRT__findfirst32 @571 + _findfirst64=MSVCRT__findfirst64 @573 + _findfirst64i32=MSVCRT__findfirst64i32 @574 + _findnext32=MSVCRT__findnext32 @575 + _findnext64=MSVCRT__findnext64 @577 + _findnext64i32=MSVCRT__findnext64i32 @578 + _finite=MSVCRT__finite @579 + _flsbuf=MSVCRT__flsbuf @580 + _flushall=MSVCRT__flushall @581 + _fmode=MSVCRT__fmode @582 DATA + _fpclass=MSVCRT__fpclass @583 + _fpieee_flt @584 + _fpreset @585 + _fputc_nolock=MSVCRT__fputc_nolock @590 + _fputchar=MSVCRT__fputchar @591 + _fputwc_nolock=MSVCRT__fputwc_nolock @592 + _fputwchar=MSVCRT__fputwchar @593 + _fread_nolock=MSVCRT__fread_nolock @594 + _fread_nolock_s=MSVCRT__fread_nolock_s @595 + _free_locale=MSVCRT__free_locale @596 + _fscanf_l=MSVCRT__fscanf_l @600 + _fscanf_s_l=MSVCRT__fscanf_s_l @601 + _fseek_nolock=MSVCRT__fseek_nolock @602 + _fseeki64=MSVCRT__fseeki64 @603 + _fseeki64_nolock=MSVCRT__fseeki64_nolock @604 + _fsopen=MSVCRT__fsopen @605 + _fstat32=MSVCRT__fstat32 @606 + _fstat32i64=MSVCRT__fstat32i64 @607 + _fstat64=MSVCRT__fstat64 @608 + _fstat64i32=MSVCRT__fstat64i32 @609 + _ftell_nolock=MSVCRT__ftell_nolock @610 + _ftelli64=MSVCRT__ftelli64 @611 + _ftelli64_nolock=MSVCRT__ftelli64_nolock @612 + _ftime32=MSVCRT__ftime32 @613 + _ftime32_s=MSVCRT__ftime32_s @614 + _ftime64=MSVCRT__ftime64 @615 + _ftime64_s=MSVCRT__ftime64_s @616 + _ftol=MSVCRT__ftol @617 + _fullpath=MSVCRT__fullpath @618 + _futime32 @619 + _futime64 @620 + _fwprintf_l=MSVCRT__fwprintf_l @621 + _fwrite_nolock=MSVCRT__fwrite_nolock @625 + _fwscanf_l=MSVCRT__fwscanf_l @626 + _fwscanf_s_l=MSVCRT__fwscanf_s_l @627 + _gcvt=MSVCRT__gcvt @628 + _gcvt_s=MSVCRT__gcvt_s @629 + _get_current_locale=MSVCRT__get_current_locale @630 + _get_daylight @631 + _get_doserrno @632 + _get_dstbias=MSVCRT__get_dstbias @633 + _get_errno @634 + _get_fmode=MSVCRT__get_fmode @635 + _get_heap_handle @636 + _get_invalid_parameter_handler @637 + _get_osfhandle=MSVCRT__get_osfhandle @638 + _get_output_format=MSVCRT__get_output_format @639 + _get_pgmptr @640 + _get_printf_count_output=MSVCRT__get_printf_count_output @641 + _get_terminate=MSVCRT__get_terminate @643 + _get_timezone @644 + _get_tzname=MSVCRT__get_tzname @645 + _get_unexpected=MSVCRT__get_unexpected @646 + _get_wpgmptr @647 + _getc_nolock=MSVCRT__fgetc_nolock @648 + _getch @649 + _getch_nolock @650 + _getche @651 + _getche_nolock @652 + _getcwd=MSVCRT__getcwd @653 + _getdcwd=MSVCRT__getdcwd @654 + _getdiskfree=MSVCRT__getdiskfree @656 + _getdllprocaddr @657 + _getdrive=MSVCRT__getdrive @658 + _getdrives=kernel32.GetLogicalDrives @659 + _getmaxstdio=MSVCRT__getmaxstdio @660 + _getmbcp @661 + _getpid @662 + _getptd @663 + _getw=MSVCRT__getw @665 + _getwc_nolock=MSVCRT__fgetwc_nolock @666 + _getwch @667 + _getwch_nolock @668 + _getwche @669 + _getwche_nolock @670 + _getws=MSVCRT__getws @671 + _global_unwind2 @673 + _gmtime32=MSVCRT__gmtime32 @674 + _gmtime32_s=MSVCRT__gmtime32_s @675 + _gmtime64=MSVCRT__gmtime64 @676 + _gmtime64_s=MSVCRT__gmtime64_s @677 + _heapadd @678 + _heapchk @679 + _heapmin @680 + _heapset @681 + _heapwalk @683 + _hypot @684 + _hypotf=MSVCRT__hypotf @685 + _i64toa=ntdll._i64toa @686 + _i64toa_s=MSVCRT__i64toa_s @687 + _i64tow=ntdll._i64tow @688 + _i64tow_s=MSVCRT__i64tow_s @689 + _initterm @691 + _initterm_e @692 + _invalid_parameter=MSVCRT__invalid_parameter @696 + _invalid_parameter_noinfo @697 + _invalid_parameter_noinfo_noreturn @698 + _iob=MSVCRT__iob @700 DATA + _isalnum_l=MSVCRT__isalnum_l @701 + _isalpha_l=MSVCRT__isalpha_l @702 + _isatty=MSVCRT__isatty @703 + _iscntrl_l=MSVCRT__iscntrl_l @704 + _isctype=MSVCRT__isctype @705 + _isctype_l=MSVCRT__isctype_l @706 + _isdigit_l=MSVCRT__isdigit_l @707 + _isgraph_l=MSVCRT__isgraph_l @708 + _isleadbyte_l=MSVCRT__isleadbyte_l @709 + _islower_l=MSVCRT__islower_l @710 + _ismbbkana @719 + _ismbblead @725 + _ismbblead_l @726 + _ismbbtrail @731 + _ismbcalnum @733 + _ismbcalpha @735 + _ismbcdigit @737 + _ismbcgraph @739 + _ismbchira @741 + _ismbckata @743 + _ismbcl0 @745 + _ismbclegal @751 + _ismbclower @753 + _ismbcprint @755 + _ismbcpunct @757 + _ismbcspace @759 + _ismbcsymbol @761 + _ismbcupper @763 + _ismbslead @765 + _ismbstrail @767 + _isnan=MSVCRT__isnan @769 + _isprint_l=MSVCRT__isprint_l @770 + _isspace_l=MSVCRT__isspace_l @772 + _isupper_l=MSVCRT__isupper_l @773 + _iswalpha_l=MSVCRT__iswalpha_l @775 + _iswctype_l=MSVCRT__iswctype_l @779 + _iswdigit_l=MSVCRT__iswdigit_l @780 + _iswpunct_l=MSVCRT__iswpunct_l @784 + _iswspace_l=MSVCRT__iswspace_l @785 + _isxdigit_l=MSVCRT__isxdigit_l @788 + _itoa=MSVCRT__itoa @789 + _itoa_s=MSVCRT__itoa_s @790 + _itow=ntdll._itow @791 + _itow_s=MSVCRT__itow_s @792 + _j0=MSVCRT__j0 @793 + _j1=MSVCRT__j1 @794 + _jn=MSVCRT__jn @795 + _kbhit @796 + _lfind @797 + _lfind_s @798 + _loaddll @799 + _local_unwind2 @800 + _local_unwind4 @801 + _localtime32=MSVCRT__localtime32 @802 + _localtime32_s @803 + _localtime64=MSVCRT__localtime64 @804 + _localtime64_s @805 + _lock @806 + _lock_file=MSVCRT__lock_file @807 + _locking=MSVCRT__locking @808 + _logb=MSVCRT__logb @809 + _longjmpex=MSVCRT_longjmp @810 + _lrotl=MSVCRT__lrotl @811 + _lrotr=MSVCRT__lrotr @812 + _lsearch @813 + _lseek=MSVCRT__lseek @815 + _lseeki64=MSVCRT__lseeki64 @816 + _ltoa=ntdll._ltoa @817 + _ltoa_s=MSVCRT__ltoa_s @818 + _ltow=ntdll._ltow @819 + _ltow_s=MSVCRT__ltow_s @820 + _makepath=MSVCRT__makepath @821 + _makepath_s=MSVCRT__makepath_s @822 + _malloc_crt=MSVCRT_malloc @823 + _mbbtombc @824 + _mbbtype @826 + _mbccpy @828 + _mbcjistojms @832 + _mbcjmstojis @834 + _mbclen @836 + _mbctohira @838 + _mbctokata @840 + _mbctolower @842 + _mbctombb @844 + _mbctoupper @846 + _mbctype=MSVCRT_mbctype @848 DATA + _mbsbtype @850 + _mbscat_s @852 + _mbscat_s_l @853 + _mbschr @854 + _mbscmp @856 + _mbscoll @858 + _mbscoll_l @859 + _mbscpy_s @860 + _mbscpy_s_l @861 + _mbscspn @862 + _mbsdec @864 + _mbsicmp @866 + _mbsicoll @868 + _mbsicoll_l @869 + _mbsinc @870 + _mbslen @872 + _mbslwr @874 + _mbslwr_s @876 + _mbsnbcat @878 + _mbsnbcat_s @880 + _mbsnbcmp @882 + _mbsnbcnt @884 + _mbsnbcoll @886 + _mbsnbcoll_l @887 + _mbsnbcpy @888 + _mbsnbcpy_s @890 + _mbsnbcpy_s_l @891 + _mbsnbicmp @892 + _mbsnbicoll @894 + _mbsnbicoll_l @895 + _mbsnbset @896 + _mbsncat @900 + _mbsnccnt @904 + _mbsncmp @906 + _mbsncpy @910 + _mbsnextc @914 + _mbsnicmp @916 + _mbsninc @920 + _mbsnset @924 + _mbspbrk @928 + _mbsrchr @930 + _mbsrev @932 + _mbsset @934 + _mbsspn @938 + _mbsspnp @940 + _mbsstr @942 + _mbstok @944 + _mbstok_l @945 + _mbstok_s @946 + _mbstok_s_l @947 + _mbstowcs_l=MSVCRT__mbstowcs_l @948 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @949 + _mbstrlen @950 + _mbstrlen_l @951 + _mbsupr @954 + _mbsupr_s @956 + _mbtowc_l=MSVCRT_mbtowc_l @958 + _memccpy=ntdll._memccpy @959 + _memicmp=ntdll._memicmp @960 + _mkdir=MSVCRT__mkdir @962 + _mkgmtime32=MSVCRT__mkgmtime32 @963 + _mkgmtime64=MSVCRT__mkgmtime64 @964 + _mktemp=MSVCRT__mktemp @965 + _mktemp_s=MSVCRT__mktemp_s @966 + _mktime32=MSVCRT__mktime32 @967 + _mktime64=MSVCRT__mktime64 @968 + _msize @969 + _nextafter=MSVCRT__nextafter @970 + _onexit=MSVCRT__onexit @971 + _open=MSVCRT__open @972 + _open_osfhandle=MSVCRT__open_osfhandle @973 + _pclose=MSVCRT__pclose @977 + _pctype=MSVCRT__pctype @978 DATA + _pgmptr=MSVCRT__pgmptr @979 DATA + _pipe=MSVCRT__pipe @980 + _popen=MSVCRT__popen @981 + _purecall @986 + _putc_nolock=MSVCRT__fputc_nolock @987 + _putch @988 + _putch_nolock @989 + _putenv @990 + _putenv_s @991 + _putw=MSVCRT__putw @992 + _putwc_nolock=MSVCRT__fputwc_nolock @993 + _putwch @994 + _putwch_nolock @995 + _putws=MSVCRT__putws @996 + _read=MSVCRT__read @997 + _realloc_crt=MSVCRT_realloc @998 + _recalloc @999 + _resetstkoflw=MSVCRT__resetstkoflw @1001 + _rmdir=MSVCRT__rmdir @1002 + _rmtmp=MSVCRT__rmtmp @1003 + _rotl @1004 + _rotl64 @1005 + _rotr @1006 + _rotr64 @1007 + _scalb=MSVCRT__scalb @1008 + _scanf_l=MSVCRT__scanf_l @1009 + _scanf_s_l=MSVCRT__scanf_s_l @1010 + _scprintf=MSVCRT__scprintf @1011 + _scwprintf=MSVCRT__scwprintf @1015 + _searchenv=MSVCRT__searchenv @1019 + _searchenv_s=MSVCRT__searchenv_s @1020 + _seh_longjmp_unwind4@4 @1021 + _seh_longjmp_unwind@4 @1022 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @1023 + _set_abort_behavior=MSVCRT__set_abort_behavior @1024 + _set_controlfp @1025 + _set_doserrno @1026 + _set_errno @1027 + _set_error_mode @1028 + _set_fmode=MSVCRT__set_fmode @1029 + _set_invalid_parameter_handler @1030 + _set_output_format=MSVCRT__set_output_format @1032 + _set_printf_count_output=MSVCRT__set_printf_count_output @1033 + _set_purecall_handler @1034 + _seterrormode @1035 + _setjmp=MSVCRT__setjmp @1036 + _setjmp3=MSVCRT__setjmp3 @1037 + _setmaxstdio=MSVCRT__setmaxstdio @1038 + _setmbcp @1039 + _setmode=MSVCRT__setmode @1040 + _sleep=MSVCRT__sleep @1042 + _snprintf=MSVCRT__snprintf @1043 + _snprintf_l=MSVCRT__snprintf_l @1046 + _snprintf_s=MSVCRT__snprintf_s @1047 + _snscanf=MSVCRT__snscanf @1049 + _snscanf_l=MSVCRT__snscanf_l @1050 + _snscanf_s=MSVCRT__snscanf_s @1051 + _snscanf_s_l=MSVCRT__snscanf_s_l @1052 + _snwprintf=MSVCRT__snwprintf @1053 + _snwprintf_l=MSVCRT__snwprintf_l @1054 + _snwprintf_s=MSVCRT__snwprintf_s @1055 + _snwprintf_s_l=MSVCRT__snwprintf_s_l @1056 + _snwscanf=MSVCRT__snwscanf @1057 + _snwscanf_l=MSVCRT__snwscanf_l @1058 + _snwscanf_s=MSVCRT__snwscanf_s @1059 + _snwscanf_s_l=MSVCRT__snwscanf_s_l @1060 + _sopen=MSVCRT__sopen @1061 + _sopen_s=MSVCRT__sopen_s @1062 + _spawnl @1063 + _spawnle @1064 + _spawnlp @1065 + _spawnlpe @1066 + _spawnv @1067 + _spawnve=MSVCRT__spawnve @1068 + _spawnvp @1069 + _spawnvpe=MSVCRT__spawnvpe @1070 + _splitpath=MSVCRT__splitpath @1071 + _splitpath_s=MSVCRT__splitpath_s @1072 + _sprintf_l=MSVCRT_sprintf_l @1073 + _sprintf_p=MSVCRT__sprintf_p @1074 + _sprintf_p_l=MSVCRT_sprintf_p_l @1075 + _sprintf_s_l=MSVCRT_sprintf_s_l @1076 + _sscanf_l=MSVCRT__sscanf_l @1077 + _sscanf_s_l=MSVCRT__sscanf_s_l @1078 + _stat32=MSVCRT__stat32 @1079 + _stat32i64=MSVCRT__stat32i64 @1080 + _stat64=MSVCRT_stat64 @1081 + _stat64i32=MSVCRT__stat64i32 @1082 + _statusfp @1083 + _statusfp2 @1084 + _strcoll_l=MSVCRT_strcoll_l @1085 + _strdate=MSVCRT__strdate @1086 + _strdate_s @1087 + _strdup=MSVCRT__strdup @1088 + _strerror=MSVCRT__strerror @1089 + _strftime_l=MSVCRT__strftime_l @1091 + _stricmp=MSVCRT__stricmp @1092 + _stricmp_l=MSVCRT__stricmp_l @1093 + _stricoll=MSVCRT__stricoll @1094 + _stricoll_l=MSVCRT__stricoll_l @1095 + _strlwr=MSVCRT__strlwr @1096 + _strlwr_l @1097 + _strlwr_s=MSVCRT__strlwr_s @1098 + _strlwr_s_l=MSVCRT__strlwr_s_l @1099 + _strncoll=MSVCRT__strncoll @1100 + _strncoll_l=MSVCRT__strncoll_l @1101 + _strnicmp=MSVCRT__strnicmp @1102 + _strnicmp_l=MSVCRT__strnicmp_l @1103 + _strnicoll=MSVCRT__strnicoll @1104 + _strnicoll_l=MSVCRT__strnicoll_l @1105 + _strnset=MSVCRT__strnset @1106 + _strnset_s=MSVCRT__strnset_s @1107 + _strrev=MSVCRT__strrev @1108 + _strset @1109 + _strtime=MSVCRT__strtime @1111 + _strtime_s @1112 + _strtod_l=MSVCRT_strtod_l @1113 + _strtoi64=MSVCRT_strtoi64 @1114 + _strtoi64_l=MSVCRT_strtoi64_l @1115 + _strtol_l=MSVCRT__strtol_l @1116 + _strtoui64=MSVCRT_strtoui64 @1117 + _strtoui64_l=MSVCRT_strtoui64_l @1118 + _strtoul_l=MSVCRT_strtoul_l @1119 + _strupr=MSVCRT__strupr @1120 + _strupr_l=MSVCRT__strupr_l @1121 + _strupr_s=MSVCRT__strupr_s @1122 + _strupr_s_l=MSVCRT__strupr_s_l @1123 + _strxfrm_l=MSVCRT__strxfrm_l @1124 + _swab=MSVCRT__swab @1125 + _swprintf=MSVCRT_swprintf @1126 + _swprintf_p_l=MSVCRT_swprintf_p_l @1130 + _swprintf_s_l=MSVCRT__swprintf_s_l @1131 + _swscanf_l=MSVCRT__swscanf_l @1132 + _swscanf_s_l=MSVCRT__swscanf_s_l @1133 + _sys_errlist=MSVCRT__sys_errlist @1134 DATA + _sys_nerr=MSVCRT__sys_nerr @1135 DATA + _tell=MSVCRT__tell @1136 + _telli64 @1137 + _tempnam=MSVCRT__tempnam @1138 + _time32=MSVCRT__time32 @1139 + _time64=MSVCRT__time64 @1140 + _timezone=MSVCRT___timezone @1141 DATA + _tolower=MSVCRT__tolower @1142 + _tolower_l=MSVCRT__tolower_l @1143 + _toupper=MSVCRT__toupper @1144 + _toupper_l=MSVCRT__toupper_l @1145 + _towlower_l=MSVCRT__towlower_l @1146 + _towupper_l=MSVCRT__towupper_l @1147 + _tzname=MSVCRT__tzname @1148 DATA + _tzset=MSVCRT__tzset @1149 + _ui64toa=ntdll._ui64toa @1150 + _ui64toa_s=MSVCRT__ui64toa_s @1151 + _ui64tow=ntdll._ui64tow @1152 + _ui64tow_s=MSVCRT__ui64tow_s @1153 + _ultoa=ntdll._ultoa @1154 + _ultoa_s=MSVCRT__ultoa_s @1155 + _ultow=ntdll._ultow @1156 + _ultow_s=MSVCRT__ultow_s @1157 + _umask=MSVCRT__umask @1158 + _ungetc_nolock=MSVCRT__ungetc_nolock @1160 + _ungetch @1161 + _ungetch_nolock @1162 + _ungetwc_nolock=MSVCRT__ungetwc_nolock @1163 + _ungetwch @1164 + _ungetwch_nolock @1165 + _unlink=MSVCRT__unlink @1166 + _unloaddll @1167 + _unlock @1168 + _unlock_file=MSVCRT__unlock_file @1169 + _utime32 @1170 + _utime64 @1171 + _vcprintf @1172 + _vcwprintf @1178 + _vfprintf_l=MSVCRT__vfprintf_l @1184 + _vfwprintf_l=MSVCRT__vfwprintf_l @1188 + _vscprintf=MSVCRT__vscprintf @1196 + _vscprintf_p=MSVCRT__vscprintf_p @1198 + _vscprintf_p_l=MSVCRT__vscprintf_p_l @1199 + _vscwprintf=MSVCRT__vscwprintf @1200 + _vscwprintf_l=MSVCRT__vscwprintf_l @1201 + _vscwprintf_p=MSVCRT__vscwprintf_p @1202 + _vscwprintf_p_l=MSVCRT__vscwprintf_p_l @1203 + _vsnprintf=MSVCRT_vsnprintf @1204 + _vsnprintf_c=MSVCRT_vsnprintf @1205 + _vsnprintf_c_l=MSVCRT_vsnprintf_l @1206 + _vsnprintf_l=MSVCRT_vsnprintf_l @1207 + _vsnprintf_s=MSVCRT_vsnprintf_s @1208 + _vsnprintf_s_l=MSVCRT_vsnprintf_s_l @1209 + _vsnwprintf=MSVCRT_vsnwprintf @1210 + _vsnwprintf_l=MSVCRT_vsnwprintf_l @1211 + _vsnwprintf_s=MSVCRT_vsnwprintf_s @1212 + _vsnwprintf_s_l=MSVCRT_vsnwprintf_s_l @1213 + _vsprintf_l=MSVCRT_vsprintf_l @1214 + _vsprintf_p=MSVCRT_vsprintf_p @1215 + _vsprintf_p_l=MSVCRT_vsprintf_p_l @1216 + _vsprintf_s_l=MSVCRT_vsprintf_s_l @1217 + _vswprintf=MSVCRT_vswprintf @1218 + _vswprintf_c=MSVCRT_vsnwprintf @1219 + _vswprintf_c_l=MSVCRT_vsnwprintf_l @1220 + _vswprintf_l=MSVCRT_vswprintf_l @1221 + _vswprintf_p=MSVCRT__vswprintf_p @1222 + _vswprintf_p_l=MSVCRT_vswprintf_p_l @1223 + _vswprintf_s_l=MSVCRT_vswprintf_s_l @1224 + _waccess=MSVCRT__waccess @1229 + _waccess_s=MSVCRT__waccess_s @1230 + _wasctime=MSVCRT__wasctime @1231 + _wasctime_s=MSVCRT__wasctime_s @1232 + _wassert=MSVCRT__wassert @1233 + _wchdir=MSVCRT__wchdir @1234 + _wchmod=MSVCRT__wchmod @1235 + _wcmdln=MSVCRT__wcmdln @1236 DATA + _wcreat=MSVCRT__wcreat @1237 + _wcscoll_l=MSVCRT__wcscoll_l @1238 + _wcsdup=MSVCRT__wcsdup @1239 + _wcserror=MSVCRT__wcserror @1240 + _wcserror_s=MSVCRT__wcserror_s @1241 + _wcsftime_l=MSVCRT__wcsftime_l @1242 + _wcsicmp=MSVCRT__wcsicmp @1243 + _wcsicmp_l=MSVCRT__wcsicmp_l @1244 + _wcsicoll=MSVCRT__wcsicoll @1245 + _wcsicoll_l=MSVCRT__wcsicoll_l @1246 + _wcslwr=MSVCRT__wcslwr @1247 + _wcslwr_l=MSVCRT__wcslwr_l @1248 + _wcslwr_s=MSVCRT__wcslwr_s @1249 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @1250 + _wcsncoll=MSVCRT__wcsncoll @1251 + _wcsncoll_l=MSVCRT__wcsncoll_l @1252 + _wcsnicmp=MSVCRT__wcsnicmp @1253 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @1254 + _wcsnicoll=MSVCRT__wcsnicoll @1255 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @1256 + _wcsnset=MSVCRT__wcsnset @1257 + _wcsrev=MSVCRT__wcsrev @1259 + _wcsset=MSVCRT__wcsset @1260 + _wcsset_s=MSVCRT__wcsset_s @1261 + _wcstod_l=MSVCRT__wcstod_l @1262 + _wcstoi64=MSVCRT__wcstoi64 @1263 + _wcstoi64_l=MSVCRT__wcstoi64_l @1264 + _wcstol_l=MSVCRT__wcstol_l @1265 + _wcstombs_l=MSVCRT__wcstombs_l @1266 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @1267 + _wcstoui64=MSVCRT__wcstoui64 @1268 + _wcstoui64_l=MSVCRT__wcstoui64_l @1269 + _wcstoul_l=MSVCRT__wcstoul_l @1270 + _wcsupr=ntdll._wcsupr @1271 + _wcsupr_l=MSVCRT__wcsupr_l @1272 + _wcsupr_s=MSVCRT__wcsupr_s @1273 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @1274 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @1275 + _wctime32=MSVCRT__wctime32 @1276 + _wctime32_s=MSVCRT__wctime32_s @1277 + _wctime64=MSVCRT__wctime64 @1278 + _wctime64_s=MSVCRT__wctime64_s @1279 + _wctomb_l=MSVCRT__wctomb_l @1280 + _wctomb_s_l=MSVCRT__wctomb_s_l @1281 + _wdupenv_s @1282 + _wenviron=MSVCRT__wenviron @1283 DATA + _wexecl @1284 + _wexecle @1285 + _wexeclp @1286 + _wexeclpe @1287 + _wexecv @1288 + _wexecve @1289 + _wexecvp @1290 + _wexecvpe @1291 + _wfdopen=MSVCRT__wfdopen @1292 + _wfindfirst32=MSVCRT__wfindfirst32 @1293 + _wfindfirst64=MSVCRT__wfindfirst64 @1295 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @1296 + _wfindnext32=MSVCRT__wfindnext32 @1297 + _wfindnext64=MSVCRT__wfindnext64 @1299 + _wfindnext64i32=MSVCRT__wfindnext64i32 @1300 + _wfopen=MSVCRT__wfopen @1301 + _wfopen_s=MSVCRT__wfopen_s @1302 + _wfreopen=MSVCRT__wfreopen @1303 + _wfreopen_s=MSVCRT__wfreopen_s @1304 + _wfsopen=MSVCRT__wfsopen @1305 + _wfullpath=MSVCRT__wfullpath @1306 + _wgetcwd=MSVCRT__wgetcwd @1307 + _wgetdcwd=MSVCRT__wgetdcwd @1308 + _wgetenv=MSVCRT__wgetenv @1310 + _wgetenv_s @1311 + _wmakepath=MSVCRT__wmakepath @1312 + _wmakepath_s=MSVCRT__wmakepath_s @1313 + _wmkdir=MSVCRT__wmkdir @1314 + _wmktemp=MSVCRT__wmktemp @1315 + _wmktemp_s=MSVCRT__wmktemp_s @1316 + _wopen=MSVCRT__wopen @1317 + _wperror=MSVCRT__wperror @1318 + _wpgmptr=MSVCRT__wpgmptr @1319 DATA + _wpopen=MSVCRT__wpopen @1320 + _wputenv @1325 + _wputenv_s @1326 + _wremove=MSVCRT__wremove @1327 + _wrename=MSVCRT__wrename @1328 + _write=MSVCRT__write @1329 + _wrmdir=MSVCRT__wrmdir @1330 + _wscanf_l=MSVCRT__wscanf_l @1331 + _wscanf_s_l=MSVCRT__wscanf_s_l @1332 + _wsearchenv=MSVCRT__wsearchenv @1333 + _wsearchenv_s=MSVCRT__wsearchenv_s @1334 + _wsetlocale=MSVCRT__wsetlocale @1335 + _wsopen=MSVCRT__wsopen @1336 + _wsopen_s=MSVCRT__wsopen_s @1337 + _wspawnl @1338 + _wspawnle @1339 + _wspawnlp @1340 + _wspawnlpe @1341 + _wspawnv @1342 + _wspawnve=MSVCRT__wspawnve @1343 + _wspawnvp @1344 + _wspawnvpe=MSVCRT__wspawnvpe @1345 + _wsplitpath=MSVCRT__wsplitpath @1346 + _wsplitpath_s=MSVCRT__wsplitpath_s @1347 + _wstat32=MSVCRT__wstat32 @1348 + _wstat32i64=MSVCRT__wstat32i64 @1349 + _wstat64=MSVCRT__wstat64 @1350 + _wstat64i32=MSVCRT__wstat64i32 @1351 + _wstrdate=MSVCRT__wstrdate @1352 + _wstrdate_s @1353 + _wstrtime=MSVCRT__wstrtime @1354 + _wstrtime_s @1355 + _wsystem @1356 + _wtempnam=MSVCRT__wtempnam @1357 + _wtmpnam=MSVCRT__wtmpnam @1358 + _wtmpnam_s=MSVCRT__wtmpnam_s @1359 + _wtof=MSVCRT__wtof @1360 + _wtof_l=MSVCRT__wtof_l @1361 + _wtoi=MSVCRT__wtoi @1362 + _wtoi64=MSVCRT__wtoi64 @1363 + _wtoi64_l=MSVCRT__wtoi64_l @1364 + _wtoi_l=MSVCRT__wtoi_l @1365 + _wtol=MSVCRT__wtol @1366 + _wtol_l=MSVCRT__wtol_l @1367 + _wunlink=MSVCRT__wunlink @1368 + _wutime32 @1369 + _wutime64 @1370 + _y0=MSVCRT__y0 @1371 + _y1=MSVCRT__y1 @1372 + _yn=MSVCRT__yn @1373 + abort=MSVCRT_abort @1374 + abs=MSVCRT_abs @1375 + acos=MSVCRT_acos @1376 + asctime=MSVCRT_asctime @1377 + asctime_s=MSVCRT_asctime_s @1378 + asin=MSVCRT_asin @1379 + atan=MSVCRT_atan @1380 + atan2=MSVCRT_atan2 @1381 + atexit=MSVCRT_atexit @1382 PRIVATE + atof=MSVCRT_atof @1383 + atoi=MSVCRT_atoi @1384 + atol=ntdll.atol @1385 + bsearch=MSVCRT_bsearch @1386 + bsearch_s=MSVCRT_bsearch_s @1387 + btowc=MSVCRT_btowc @1388 + calloc=MSVCRT_calloc @1389 + ceil=MSVCRT_ceil @1390 + clearerr=MSVCRT_clearerr @1391 + clearerr_s=MSVCRT_clearerr_s @1392 + clock=MSVCRT_clock @1393 + cos=MSVCRT_cos @1394 + cosh=MSVCRT_cosh @1395 + div=MSVCRT_div @1396 + exit=MSVCRT_exit @1397 + exp=MSVCRT_exp @1398 + fabs=MSVCRT_fabs @1399 + fclose=MSVCRT_fclose @1400 + feof=MSVCRT_feof @1401 + ferror=MSVCRT_ferror @1402 + fflush=MSVCRT_fflush @1403 + fgetc=MSVCRT_fgetc @1404 + fgetpos=MSVCRT_fgetpos @1405 + fgets=MSVCRT_fgets @1406 + fgetwc=MSVCRT_fgetwc @1407 + fgetws=MSVCRT_fgetws @1408 + floor=MSVCRT_floor @1409 + fmod=MSVCRT_fmod @1410 + fopen=MSVCRT_fopen @1411 + fopen_s=MSVCRT_fopen_s @1412 + fprintf=MSVCRT_fprintf @1413 + fprintf_s=MSVCRT_fprintf_s @1414 + fputc=MSVCRT_fputc @1415 + fputs=MSVCRT_fputs @1416 + fputwc=MSVCRT_fputwc @1417 + fputws=MSVCRT_fputws @1418 + fread=MSVCRT_fread @1419 + fread_s=MSVCRT_fread_s @1420 + free=MSVCRT_free @1421 + freopen=MSVCRT_freopen @1422 + freopen_s=MSVCRT_freopen_s @1423 + frexp=MSVCRT_frexp @1424 + fscanf=MSVCRT_fscanf @1425 + fscanf_s=MSVCRT_fscanf_s @1426 + fseek=MSVCRT_fseek @1427 + fsetpos=MSVCRT_fsetpos @1428 + ftell=MSVCRT_ftell @1429 + fwprintf=MSVCRT_fwprintf @1430 + fwprintf_s=MSVCRT_fwprintf_s @1431 + fwrite=MSVCRT_fwrite @1432 + fwscanf=MSVCRT_fwscanf @1433 + fwscanf_s=MSVCRT_fwscanf_s @1434 + getc=MSVCRT_getc @1435 + getchar=MSVCRT_getchar @1436 + getenv=MSVCRT_getenv @1437 + getenv_s @1438 + gets=MSVCRT_gets @1439 + getwc=MSVCRT_getwc @1441 + getwchar=MSVCRT_getwchar @1442 + is_wctype=ntdll.iswctype @1443 + isalnum=MSVCRT_isalnum @1444 + isalpha=MSVCRT_isalpha @1445 + iscntrl=MSVCRT_iscntrl @1446 + isdigit=MSVCRT_isdigit @1447 + isgraph=MSVCRT_isgraph @1448 + isleadbyte=MSVCRT_isleadbyte @1449 + islower=MSVCRT_islower @1450 + isprint=MSVCRT_isprint @1451 + ispunct=MSVCRT_ispunct @1452 + isspace=MSVCRT_isspace @1453 + isupper=MSVCRT_isupper @1454 + iswalnum=MSVCRT_iswalnum @1455 + iswalpha=ntdll.iswalpha @1456 + iswascii=MSVCRT_iswascii @1457 + iswcntrl=MSVCRT_iswcntrl @1458 + iswctype=ntdll.iswctype @1459 + iswdigit=MSVCRT_iswdigit @1460 + iswgraph=MSVCRT_iswgraph @1461 + iswlower=MSVCRT_iswlower @1462 + iswprint=MSVCRT_iswprint @1463 + iswpunct=MSVCRT_iswpunct @1464 + iswspace=MSVCRT_iswspace @1465 + iswupper=MSVCRT_iswupper @1466 + iswxdigit=MSVCRT_iswxdigit @1467 + isxdigit=MSVCRT_isxdigit @1468 + labs=MSVCRT_labs @1469 + ldexp=MSVCRT_ldexp @1470 + ldiv=MSVCRT_ldiv @1471 + llabs=MSVCRT_llabs @1472 + lldiv=MSVCRT_lldiv @1473 + localeconv=MSVCRT_localeconv @1474 + log=MSVCRT_log @1475 + log10=MSVCRT_log10 @1476 + longjmp=MSVCRT_longjmp @1477 + malloc=MSVCRT_malloc @1478 + mblen=MSVCRT_mblen @1479 + mbrlen=MSVCRT_mbrlen @1480 + mbrtowc=MSVCRT_mbrtowc @1481 + mbsrtowcs=MSVCRT_mbsrtowcs @1482 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @1483 + mbstowcs=MSVCRT_mbstowcs @1484 + mbstowcs_s=MSVCRT__mbstowcs_s @1485 + mbtowc=MSVCRT_mbtowc @1486 + memchr=MSVCRT_memchr @1487 + memcmp=MSVCRT_memcmp @1488 + memcpy=MSVCRT_memcpy @1489 + memcpy_s=MSVCRT_memcpy_s @1490 + memmove=MSVCRT_memmove @1491 + memmove_s=MSVCRT_memmove_s @1492 + memset=MSVCRT_memset @1493 + modf=MSVCRT_modf @1494 + perror=MSVCRT_perror @1495 + pow=MSVCRT_pow @1496 + printf=MSVCRT_printf @1497 + printf_s=MSVCRT_printf_s @1498 + putc=MSVCRT_putc @1499 + putchar=MSVCRT_putchar @1500 + puts=MSVCRT_puts @1501 + putwc=MSVCRT_fputwc @1502 + putwchar=MSVCRT__fputwchar @1503 + qsort=MSVCRT_qsort @1504 + qsort_s=MSVCRT_qsort_s @1505 + raise=MSVCRT_raise @1506 + rand=MSVCRT_rand @1507 + rand_s=MSVCRT_rand_s @1508 + realloc=MSVCRT_realloc @1509 + remove=MSVCRT_remove @1510 + rename=MSVCRT_rename @1511 + rewind=MSVCRT_rewind @1512 + scanf=MSVCRT_scanf @1513 + scanf_s=MSVCRT_scanf_s @1514 + setbuf=MSVCRT_setbuf @1515 + setlocale=MSVCRT_setlocale @1516 + setvbuf=MSVCRT_setvbuf @1517 + signal=MSVCRT_signal @1518 + sin=MSVCRT_sin @1519 + sinh=MSVCRT_sinh @1520 + sprintf=MSVCRT_sprintf @1521 + sprintf_s=MSVCRT_sprintf_s @1522 + sqrt=MSVCRT_sqrt @1523 + srand=MSVCRT_srand @1524 + sscanf=MSVCRT_sscanf @1525 + sscanf_s=MSVCRT_sscanf_s @1526 + strcat=ntdll.strcat @1527 + strcat_s=MSVCRT_strcat_s @1528 + strchr=MSVCRT_strchr @1529 + strcmp=MSVCRT_strcmp @1530 + strcoll=MSVCRT_strcoll @1531 + strcpy=MSVCRT_strcpy @1532 + strcpy_s=MSVCRT_strcpy_s @1533 + strcspn=ntdll.strcspn @1534 + strerror=MSVCRT_strerror @1535 + strerror_s=MSVCRT_strerror_s @1536 + strftime=MSVCRT_strftime @1537 + strlen=MSVCRT_strlen @1538 + strncat=MSVCRT_strncat @1539 + strncat_s=MSVCRT_strncat_s @1540 + strncmp=MSVCRT_strncmp @1541 + strncpy=MSVCRT_strncpy @1542 + strncpy_s=MSVCRT_strncpy_s @1543 + strnlen=MSVCRT_strnlen @1544 + strpbrk=ntdll.strpbrk @1545 + strrchr=MSVCRT_strrchr @1546 + strspn=ntdll.strspn @1547 + strstr=MSVCRT_strstr @1548 + strtod=MSVCRT_strtod @1549 + strtok=MSVCRT_strtok @1550 + strtok_s=MSVCRT_strtok_s @1551 + strtol=MSVCRT_strtol @1552 + strtoul=MSVCRT_strtoul @1553 + strxfrm=MSVCRT_strxfrm @1554 + swprintf_s=MSVCRT_swprintf_s @1555 + swscanf=MSVCRT_swscanf @1556 + swscanf_s=MSVCRT_swscanf_s @1557 + system=MSVCRT_system @1558 + tan=MSVCRT_tan @1559 + tanh=MSVCRT_tanh @1560 + tmpfile=MSVCRT_tmpfile @1561 + tmpfile_s=MSVCRT_tmpfile_s @1562 + tmpnam=MSVCRT_tmpnam @1563 + tmpnam_s=MSVCRT_tmpnam_s @1564 + tolower=MSVCRT_tolower @1565 + toupper=MSVCRT_toupper @1566 + towlower=MSVCRT_towlower @1567 + towupper=MSVCRT_towupper @1568 + ungetc=MSVCRT_ungetc @1569 + ungetwc=MSVCRT_ungetwc @1570 + vfprintf=MSVCRT_vfprintf @1571 + vfprintf_s=MSVCRT_vfprintf_s @1572 + vfwprintf=MSVCRT_vfwprintf @1573 + vfwprintf_s=MSVCRT_vfwprintf_s @1574 + vprintf=MSVCRT_vprintf @1575 + vprintf_s=MSVCRT_vprintf_s @1576 + vsprintf=MSVCRT_vsprintf @1577 + vsprintf_s=MSVCRT_vsprintf_s @1578 + vswprintf_s=MSVCRT_vswprintf_s @1579 + vwprintf=MSVCRT_vwprintf @1580 + vwprintf_s=MSVCRT_vwprintf_s @1581 + wcrtomb=MSVCRT_wcrtomb @1582 + wcscat=ntdll.wcscat @1584 + wcscat_s=MSVCRT_wcscat_s @1585 + wcschr=MSVCRT_wcschr @1586 + wcscmp=ntdll.wcscmp @1587 + wcscoll=MSVCRT_wcscoll @1588 + wcscpy=ntdll.wcscpy @1589 + wcscpy_s=MSVCRT_wcscpy_s @1590 + wcscspn=ntdll.wcscspn @1591 + wcsftime=MSVCRT_wcsftime @1592 + wcslen=MSVCRT_wcslen @1593 + wcsncat=ntdll.wcsncat @1594 + wcsncat_s=MSVCRT_wcsncat_s @1595 + wcsncmp=MSVCRT_wcsncmp @1596 + wcsncpy=MSVCRT_wcsncpy @1597 + wcsncpy_s=MSVCRT_wcsncpy_s @1598 + wcsnlen=MSVCRT_wcsnlen @1599 + wcspbrk=MSVCRT_wcspbrk @1600 + wcsrchr=ntdll.wcsrchr @1601 + wcsrtombs=MSVCRT_wcsrtombs @1602 + wcsrtombs_s=MSVCRT_wcsrtombs_s @1603 + wcsspn=ntdll.wcsspn @1604 + wcsstr=MSVCRT_wcsstr @1605 + wcstod=MSVCRT_wcstod @1606 + wcstok=MSVCRT_wcstok @1607 + wcstok_s=MSVCRT_wcstok_s @1608 + wcstol=ntdll.wcstol @1609 + wcstombs=MSVCRT_wcstombs @1610 + wcstombs_s=MSVCRT_wcstombs_s @1611 + wcstoul=MSVCRT_wcstoul @1612 + wcsxfrm=MSVCRT_wcsxfrm @1613 + wctob=MSVCRT_wctob @1614 + wctomb=MSVCRT_wctomb @1615 + wctomb_s=MSVCRT_wctomb_s @1616 + wmemcpy_s @1617 + wmemmove_s @1618 + wprintf=MSVCRT_wprintf @1619 + wprintf_s=MSVCRT_wprintf_s @1620 + wscanf=MSVCRT_wscanf @1621 + wscanf_s=MSVCRT_wscanf_s @1622 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr110.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr110.def new file mode 100644 index 0000000..5dd2259 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr110.def @@ -0,0 +1,1319 @@ +; File generated automatically from ./dlls/msvcr110/msvcr110.spec; do not edit! + +LIBRARY msvcr110.dll + +EXPORTS + ??0?$_SpinWait@$00@details@Concurrency@@QAE@P6AXXZ@Z=__thiscall_SpinWait_ctor_yield @1 + ??0?$_SpinWait@$0A@@details@Concurrency@@QAE@P6AXXZ@Z=__thiscall_SpinWait_ctor @2 + ??0SchedulerPolicy@Concurrency@@QAA@IZZ=SchedulerPolicy_ctor_policies @3 + ??0SchedulerPolicy@Concurrency@@QAE@ABV01@@Z=__thiscall_SchedulerPolicy_copy_ctor @4 + ??0SchedulerPolicy@Concurrency@@QAE@XZ=__thiscall_SchedulerPolicy_ctor @5 + ??0_Condition_variable@details@Concurrency@@QAE@XZ=__thiscall__Condition_variable_ctor @8 + ??0_NonReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_ctor @12 + ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_ctor @15 + ??0_Scheduler@details@Concurrency@@QAE@PAVScheduler@2@@Z=__thiscall__Scheduler_ctor_sched @18 + ??0__non_rtti_object@std@@QAE@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @26 + ??0__non_rtti_object@std@@QAE@PBD@Z=__thiscall_MSVCRT___non_rtti_object_ctor @27 + ??0bad_cast@std@@AAE@PBQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @28 + ??0bad_cast@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @29 + ??0bad_cast@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @30 + ??0bad_typeid@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @33 + ??0bad_typeid@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @34 + ??0critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_ctor @39 + ??0event@Concurrency@@QAE@XZ=__thiscall_event_ctor @42 + ??0exception@std@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @43 + ??0exception@std@@QAE@ABQBDH@Z=__thiscall_MSVCRT_exception_ctor_noalloc @44 + ??0exception@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_exception_copy_ctor @45 + ??0exception@std@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @46 + ??0improper_lock@Concurrency@@QAE@PBD@Z=__thiscall_improper_lock_ctor_str @47 + ??0improper_lock@Concurrency@@QAE@XZ=__thiscall_improper_lock_ctor @48 + ??0improper_scheduler_attach@Concurrency@@QAE@PBD@Z=__thiscall_improper_scheduler_attach_ctor_str @49 + ??0improper_scheduler_attach@Concurrency@@QAE@XZ=__thiscall_improper_scheduler_attach_ctor @50 + ??0improper_scheduler_detach@Concurrency@@QAE@PBD@Z=__thiscall_improper_scheduler_detach_ctor_str @51 + ??0improper_scheduler_detach@Concurrency@@QAE@XZ=__thiscall_improper_scheduler_detach_ctor @52 + ??0invalid_scheduler_policy_key@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_key_ctor_str @63 + ??0invalid_scheduler_policy_key@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_key_ctor @64 + ??0invalid_scheduler_policy_thread_specification@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_thread_specification_ctor_str @65 + ??0invalid_scheduler_policy_thread_specification@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_thread_specification_ctor @66 + ??0invalid_scheduler_policy_value@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_value_ctor_str @67 + ??0invalid_scheduler_policy_value@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_value_ctor @68 + ??0reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_ctor @77 + ??0scheduler_resource_allocation_error@Concurrency@@QAE@J@Z=__thiscall_scheduler_resource_allocation_error_ctor @80 + ??0scheduler_resource_allocation_error@Concurrency@@QAE@PBDJ@Z=__thiscall_scheduler_resource_allocation_error_ctor_name @81 + ??0scoped_lock@critical_section@Concurrency@@QAE@AAV12@@Z=__thiscall_critical_section_scoped_lock_ctor @84 + ??0scoped_lock@reader_writer_lock@Concurrency@@QAE@AAV12@@Z=__thiscall_reader_writer_lock_scoped_lock_ctor @85 + ??0scoped_lock_read@reader_writer_lock@Concurrency@@QAE@AAV12@@Z=__thiscall_reader_writer_lock_scoped_lock_read_ctor @86 + ??1SchedulerPolicy@Concurrency@@QAE@XZ=__thiscall_SchedulerPolicy_dtor @91 + ??1_Condition_variable@details@Concurrency@@QAE@XZ=__thiscall__Condition_variable_dtor @94 + ??1_NonReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_dtor @95 + ??1_ReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_dtor @96 + ??1__non_rtti_object@std@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @102 + ??1bad_cast@std@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @103 + ??1bad_typeid@std@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @104 + ??1critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_dtor @105 + ??1event@Concurrency@@QAE@XZ=__thiscall_event_dtor @106 + ??1exception@std@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @107 + ??1reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_dtor @108 + ??1scoped_lock@critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_scoped_lock_dtor @109 + ??1scoped_lock@reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_scoped_lock_dtor @110 + ??1scoped_lock_read@reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_scoped_lock_read_dtor @111 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @112 + ??2@YAPAXI@Z=MSVCRT_operator_new @113 + ??2@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @114 + ??3@YAXPAX@Z=MSVCRT_operator_delete @115 + ??4SchedulerPolicy@Concurrency@@QAEAAV01@ABV01@@Z=__thiscall_SchedulerPolicy_op_assign @119 + ??4__non_rtti_object@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @120 + ??4bad_cast@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_cast_opequals @121 + ??4bad_typeid@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_opequals @122 + ??4exception@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_exception_opequals @123 + ??8type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @124 + ??9type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @125 + ??_7__non_rtti_object@std@@6B@=MSVCRT___non_rtti_object_vtable @126 DATA + ??_7bad_cast@std@@6B@=MSVCRT_bad_cast_vtable @127 DATA + ??_7bad_typeid@std@@6B@=MSVCRT_bad_typeid_vtable @128 DATA + ??_7exception@std@@6B@=MSVCRT_exception_vtable @129 DATA + ??_F?$_SpinWait@$00@details@Concurrency@@QAEXXZ=__thiscall_SpinWait_dtor @130 + ??_F?$_SpinWait@$0A@@details@Concurrency@@QAEXXZ=__thiscall_SpinWait_dtor @131 + ??_F_Scheduler@details@Concurrency@@QAEXXZ=__thiscall__Scheduler_ctor @133 + ??_Fbad_cast@std@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @134 + ??_Fbad_typeid@std@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @135 + ??_U@YAPAXI@Z=MSVCRT_operator_new @136 + ??_U@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @137 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @138 + ?Alloc@Concurrency@@YAPAXI@Z=Concurrency_Alloc @140 + ?Block@Context@Concurrency@@SAXXZ=Context_Block @141 + ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z=CurrentScheduler_Create @142 + ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z=Scheduler_Create @143 + ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@AAVlocation@2@@Z=CurrentScheduler_CreateScheduleGroup_loc @145 + ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ=CurrentScheduler_CreateScheduleGroup @146 + ?CurrentContext@Context@Concurrency@@SAPAV12@XZ=Context_CurrentContext @147 + ?Detach@CurrentScheduler@Concurrency@@SAXXZ=CurrentScheduler_Detach @148 + ?Free@Concurrency@@YAXPAX@Z=Concurrency_Free @151 + ?Get@CurrentScheduler@Concurrency@@SAPAVScheduler@2@XZ=CurrentScheduler_Get @152 + ?GetNumberOfVirtualProcessors@CurrentScheduler@Concurrency@@SAIXZ=CurrentScheduler_GetNumberOfVirtualProcessors @154 + ?GetPolicy@CurrentScheduler@Concurrency@@SA?AVSchedulerPolicy@2@XZ=CurrentScheduler_GetPolicy @156 + ?GetPolicyValue@SchedulerPolicy@Concurrency@@QBEIW4PolicyElementKey@2@@Z=__thiscall_SchedulerPolicy_GetPolicyValue @157 + ?Id@Context@Concurrency@@SAIXZ=Context_Id @162 + ?Id@CurrentScheduler@Concurrency@@SAIXZ=CurrentScheduler_Id @163 + ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z=CurrentScheduler_IsAvailableLocation @164 + ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ=Context_IsCurrentTaskCollectionCanceling @165 + ?Oversubscribe@Context@Concurrency@@SAX_N@Z=Context_Oversubscribe @167 + ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z=CurrentScheduler_RegisterShutdownEvent @168 + ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ=Scheduler_ResetDefaultSchedulerPolicy @169 + ?ScheduleGroupId@Context@Concurrency@@SAIXZ=Context_ScheduleGroupId @170 + ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z=CurrentScheduler_ScheduleTask @171 + ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z=CurrentScheduler_ScheduleTask_loc @172 + ?SetConcurrencyLimits@SchedulerPolicy@Concurrency@@QAEXII@Z=__thiscall_SchedulerPolicy_SetConcurrencyLimits @173 + ?SetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z=Scheduler_SetDefaultSchedulerPolicy @174 + ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z=__thiscall_SchedulerPolicy_SetPolicyValue @175 + ?VirtualProcessorId@Context@Concurrency@@SAIXZ=Context_VirtualProcessorId @176 + ?Yield@Context@Concurrency@@SAXXZ=Context_Yield @177 + ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Acquire @179 + ?_Acquire@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Acquire @181 + ?_DoYield@?$_SpinWait@$00@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__DoYield @202 + ?_DoYield@?$_SpinWait@$0A@@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__DoYield @203 + ?_Get@_CurrentScheduler@details@Concurrency@@SA?AV_Scheduler@23@XZ=_CurrentScheduler__Get @204 + ?_GetConcurrency@details@Concurrency@@YAIXZ=_GetConcurrency @206 + ?_GetNumberOfVirtualProcessors@_CurrentScheduler@details@Concurrency@@SAIXZ=_CurrentScheduler__GetNumberOfVirtualProcessors @208 + ?_GetScheduler@_Scheduler@details@Concurrency@@QAEPAVScheduler@3@XZ=__thiscall__Scheduler__GetScheduler @209 + ?_Id@_CurrentScheduler@details@Concurrency@@SAIXZ=_CurrentScheduler__Id @210 + ?_NumberOfSpins@?$_SpinWait@$00@details@Concurrency@@IAEKXZ=__thiscall_SpinWait__NumberOfSpins @219 + ?_NumberOfSpins@?$_SpinWait@$0A@@details@Concurrency@@IAEKXZ=__thiscall_SpinWait__NumberOfSpins @220 + ?_Reference@_Scheduler@details@Concurrency@@QAEIXZ=__thiscall__Scheduler__Reference @222 + ?_Release@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Release @225 + ?_Release@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Release @227 + ?_Release@_Scheduler@details@Concurrency@@QAEIXZ=__thiscall__Scheduler__Release @230 + ?_Reset@?$_SpinWait@$00@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__Reset @234 + ?_Reset@?$_SpinWait@$0A@@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__Reset @235 + ?_ScheduleTask@_CurrentScheduler@details@Concurrency@@SAXP6AXPAX@Z0@Z=_CurrentScheduler__ScheduleTask @242 + ?_SetSpinCount@?$_SpinWait@$00@details@Concurrency@@QAEXI@Z=__thiscall_SpinWait__SetSpinCount @243 + ?_SetSpinCount@?$_SpinWait@$0A@@details@Concurrency@@QAEXI@Z=__thiscall_SpinWait__SetSpinCount @244 + ?_ShouldSpinAgain@?$_SpinWait@$00@details@Concurrency@@IAE_NXZ=__thiscall_SpinWait__ShouldSpinAgain @246 + ?_ShouldSpinAgain@?$_SpinWait@$0A@@details@Concurrency@@IAE_NXZ=__thiscall_SpinWait__ShouldSpinAgain @247 + ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QAE_NXZ=__thiscall_SpinWait__SpinOnce @248 + ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ=__thiscall_SpinWait__SpinOnce @249 + ?_SpinYield@Context@Concurrency@@SAXXZ=Context__SpinYield @250 + ?_Trace_ppl_function@Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType@1@@Z=Concurrency__Trace_ppl_function @255 + ?_TryAcquire@_NonReentrantBlockingLock@details@Concurrency@@QAE_NXZ=__thiscall__ReentrantBlockingLock__TryAcquire @256 + ?_TryAcquire@_ReentrantBlockingLock@details@Concurrency@@QAE_NXZ=__thiscall__ReentrantBlockingLock__TryAcquire @257 + ?_Value@_SpinCount@details@Concurrency@@SAIXZ=SpinCount__Value @266 + ?__ExceptionPtrAssign@@YAXPAXPBX@Z=__ExceptionPtrAssign @268 + ?__ExceptionPtrCompare@@YA_NPBX0@Z=__ExceptionPtrCompare @269 + ?__ExceptionPtrCopy@@YAXPAXPBX@Z=__ExceptionPtrCopy @270 + ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z=__ExceptionPtrCopyException @271 + ?__ExceptionPtrCreate@@YAXPAX@Z=__ExceptionPtrCreate @272 + ?__ExceptionPtrCurrentException@@YAXPAX@Z=__ExceptionPtrCurrentException @273 + ?__ExceptionPtrDestroy@@YAXPAX@Z=__ExceptionPtrDestroy @274 + ?__ExceptionPtrRethrow@@YAXPBX@Z=__ExceptionPtrRethrow @275 + ?__ExceptionPtrToBool@@YA_NPBX@Z=__ExceptionPtrToBool @277 + __uncaught_exception=MSVCRT___uncaught_exception @278 + ?_invalid_parameter@@YAXPBG00II@Z=MSVCRT__invalid_parameter @280 + ?_is_exception_typeof@@YAHABVtype_info@@PAU_EXCEPTION_POINTERS@@@Z=_is_exception_typeof @281 + ?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @282 + ?_open@@YAHPBDHH@Z=MSVCRT__open @283 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @284 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @285 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @287 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @288 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @290 + ?_sopen@@YAHPBDHHH@Z=MSVCRT__sopen @291 + ?_wopen@@YAHPB_WHH@Z=MSVCRT__wopen @293 + ?_wsopen@@YAHPB_WHHH@Z=MSVCRT__wsopen @294 + ?before@type_info@@QBE_NABV1@@Z=__thiscall_MSVCRT_type_info_before @295 + ?get_error_code@scheduler_resource_allocation_error@Concurrency@@QBEJXZ=__thiscall_scheduler_resource_allocation_error_get_error_code @298 + ?lock@critical_section@Concurrency@@QAEXXZ=__thiscall_critical_section_lock @299 + ?lock@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_lock @300 + ?lock_read@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_lock_read @301 + ?name@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @302 + ?native_handle@critical_section@Concurrency@@QAEAAV12@XZ=__thiscall_critical_section_native_handle @303 + ?notify_all@_Condition_variable@details@Concurrency@@QAEXXZ=__thiscall__Condition_variable_notify_all @304 + ?notify_one@_Condition_variable@details@Concurrency@@QAEXXZ=__thiscall__Condition_variable_notify_one @305 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @306 + ?reset@event@Concurrency@@QAEXXZ=__thiscall_event_reset @307 + ?set@event@Concurrency@@QAEXXZ=__thiscall_event_set @308 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @309 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @313 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @315 + ?swprintf@@YAHPAGIPBGZZ=MSVCRT__snwprintf @316 + ?swprintf@@YAHPA_WIPB_WZZ=MSVCRT__snwprintf @317 + ?terminate@@YAXXZ=MSVCRT_terminate @318 + ?try_lock@critical_section@Concurrency@@QAE_NXZ=__thiscall_critical_section_try_lock @319 + ?try_lock@reader_writer_lock@Concurrency@@QAE_NXZ=__thiscall_reader_writer_lock_try_lock @320 + ?try_lock_for@critical_section@Concurrency@@QAE_NI@Z=__thiscall_critical_section_try_lock_for @321 + ?try_lock_read@reader_writer_lock@Concurrency@@QAE_NXZ=__thiscall_reader_writer_lock_try_lock_read @322 + ?unexpected@@YAXXZ=MSVCRT_unexpected @323 + ?unlock@critical_section@Concurrency@@QAEXXZ=__thiscall_critical_section_unlock @324 + ?unlock@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_unlock @325 + ?vswprintf@@YAHPA_WIPB_WPAD@Z=MSVCRT_vsnwprintf @326 + ?wait@_Condition_variable@details@Concurrency@@QAEXAAVcritical_section@3@@Z=__thiscall__Condition_variable_wait @328 + ?wait@event@Concurrency@@QAEII@Z=__thiscall_event_wait @329 + ?wait_for@_Condition_variable@details@Concurrency@@QAE_NAAVcritical_section@3@I@Z=__thiscall__Condition_variable_wait_for @330 + ?wait_for_multiple@event@Concurrency@@SAIPAPAV12@I_NI@Z=event_wait_for_multiple @331 + ?what@exception@std@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @332 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @333 + _CIacos @334 + _CIasin @335 + _CIatan @336 + _CIatan2 @337 + _CIcos @338 + _CIcosh @339 + _CIexp @340 + _CIfmod @341 + _CIlog @342 + _CIlog10 @343 + _CIpow @344 + _CIsin @345 + _CIsinh @346 + _CIsqrt @347 + _CItan @348 + _CItanh @349 + _CRT_RTC_INIT @350 + _CRT_RTC_INITW @351 + _CreateFrameInfo @352 + _CxxThrowException@8 @353 + _EH_prolog @354 + _FindAndUnlinkFrame @355 + _Getdays @356 + _Getmonths @357 + _Gettnames @358 + _HUGE=MSVCRT__HUGE @359 DATA + _IsExceptionObjectToBeDestroyed @360 + _Lock_shared_ptr_spin_lock @361 + _Strftime @365 + _Unlock_shared_ptr_spin_lock @366 + _W_Getdays @367 + _W_Getmonths @368 + _W_Gettnames @369 + _Wcsftime @370 + _XcptFilter @371 + __AdjustPointer @372 + __CppXcptFilter @375 + __CxxDetectRethrow @376 + __CxxExceptionFilter @377 + __CxxFrameHandler @378 + __CxxFrameHandler2=__CxxFrameHandler @379 + __CxxFrameHandler3=__CxxFrameHandler @380 + __CxxLongjmpUnwind@4 @381 + __CxxQueryExceptionSize @382 + __CxxRegisterExceptionObject @383 + __CxxUnregisterExceptionObject @384 + __DestructExceptionObject @385 + __RTCastToVoid=MSVCRT___RTCastToVoid @387 + __RTDynamicCast=MSVCRT___RTDynamicCast @388 + __RTtypeid=MSVCRT___RTtypeid @389 + __STRINGTOLD @390 + ___lc_codepage_func @393 + ___lc_collate_cp_func @394 + ___lc_locale_name_func @395 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @396 + ___mb_cur_max_l_func @397 + ___setlc_active_func=MSVCRT____setlc_active_func @398 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @399 + __argc=MSVCRT___argc @400 DATA + __argv=MSVCRT___argv @401 DATA + __badioinfo=MSVCRT___badioinfo @402 DATA + __clean_type_info_names_internal @403 + __control87_2 @404 + __crtCompareStringA @406 + __crtCompareStringW @408 + __crtGetLocaleInfoEx @416 + __crtGetShowWindowMode=MSVCR110__crtGetShowWindowMode @417 + __crtInitializeCriticalSectionEx=MSVCR110__crtInitializeCriticalSectionEx @420 + __crtLCMapStringA @423 + __crtLCMapStringW @425 + __crtSetUnhandledExceptionFilter=MSVCR110__crtSetUnhandledExceptionFilter @427 + __crtTerminateProcess=MSVCR110__crtTerminateProcess @428 + __crtUnhandledException=MSVCRT__crtUnhandledException @429 + __daylight=MSVCRT___p__daylight @430 + __dllonexit @431 + __doserrno=MSVCRT___doserrno @432 + __dstbias=MSVCRT___p__dstbias @433 + __fpecode @434 + __getmainargs @439 + __initenv=MSVCRT___initenv @440 DATA + __iob_func=MSVCRT___iob_func @441 + __isascii=MSVCRT___isascii @442 + __iscsym=MSVCRT___iscsym @443 + __iscsymf=MSVCRT___iscsymf @444 + __lconv_init @447 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @448 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @449 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @450 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @451 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @452 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @453 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @454 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @455 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @456 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @457 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @458 + __libm_sse2_log=MSVCRT___libm_sse2_log @459 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @460 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @461 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @462 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @463 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @464 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @465 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @466 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @467 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @468 + __mb_cur_max=MSVCRT___mb_cur_max @469 DATA + __p___argc=MSVCRT___p___argc @470 + __p___argv=MSVCRT___p___argv @471 + __p___initenv @472 + __p___mb_cur_max @473 + __p___wargv=MSVCRT___p___wargv @474 + __p___winitenv @475 + __p__acmdln @476 + __p__commode @477 + __p__daylight=MSVCRT___p__daylight @478 + __p__dstbias=MSVCRT___p__dstbias @479 + __p__environ=MSVCRT___p__environ @480 + __p__fmode @481 + __p__iob=MSVCRT___iob_func @482 + __p__mbctype @484 + __p__pctype=MSVCRT___p__pctype @485 + __p__pgmptr=MSVCRT___p__pgmptr @486 + __p__timezone=MSVCRT___p__timezone @488 + __p__tzname @489 + __p__wcmdln @490 + __p__wenviron=MSVCRT___p__wenviron @491 + __p__wpgmptr=MSVCRT___p__wpgmptr @492 + __pctype_func=MSVCRT___pctype_func @493 + __pioinfo=MSVCRT___pioinfo @494 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @496 + __set_app_type=MSVCRT___set_app_type @498 + __setlc_active=MSVCRT___setlc_active @499 DATA + __setusermatherr=MSVCRT___setusermatherr @500 + __swprintf_l=MSVCRT___swprintf_l @502 + __sys_errlist @503 + __sys_nerr @504 + __threadhandle=kernel32.GetCurrentThread @505 + __threadid=kernel32.GetCurrentThreadId @506 + __timezone=MSVCRT___p__timezone @507 + __toascii=MSVCRT___toascii @508 + __tzname=__p__tzname @509 + __unDName @510 + __unDNameEx @511 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @513 DATA + __vswprintf_l=MSVCRT_vswprintf_l @514 + __wargv=MSVCRT___wargv @515 DATA + __wcserror=MSVCRT___wcserror @516 + __wcserror_s=MSVCRT___wcserror_s @517 + __wgetmainargs @519 + __winitenv=MSVCRT___winitenv @520 DATA + _abnormal_termination @521 + _abs64 @522 + _access=MSVCRT__access @523 + _access_s=MSVCRT__access_s @524 + _acmdln=MSVCRT__acmdln @525 DATA + _aligned_free @526 + _aligned_malloc @527 + _aligned_msize @528 + _aligned_offset_malloc @529 + _aligned_offset_realloc @530 + _aligned_realloc @532 + _amsg_exit @534 + _assert=MSVCRT__assert @535 + _atodbl=MSVCRT__atodbl @536 + _atodbl_l=MSVCRT__atodbl_l @537 + _atof_l=MSVCRT__atof_l @538 + _atoflt=MSVCRT__atoflt @539 + _atoflt_l=MSVCRT__atoflt_l @540 + _atoi64=ntdll._atoi64 @541 + _atoi_l=MSVCRT__atoi_l @543 + _atoldbl=MSVCRT__atoldbl @545 + _beep=MSVCRT__beep @547 + _beginthread @548 + _beginthreadex @549 + _byteswap_uint64 @550 + _byteswap_ulong=MSVCRT__byteswap_ulong @551 + _byteswap_ushort @552 + _c_exit=MSVCRT__c_exit @553 + _cabs=MSVCRT__cabs @554 + _callnewh @555 + _calloc_crt=MSVCRT_calloc @556 + _cexit=MSVCRT__cexit @557 + _cgets @558 + _chdir=MSVCRT__chdir @562 + _chdrive=MSVCRT__chdrive @563 + _chgsign=MSVCRT__chgsign @564 + _chkesp @565 + _chmod=MSVCRT__chmod @566 + _chsize=MSVCRT__chsize @567 + _chsize_s=MSVCRT__chsize_s @568 + _clearfp @569 + _close=MSVCRT__close @570 + _commit=MSVCRT__commit @571 + _commode=MSVCRT__commode @572 DATA + _configthreadlocale @573 + _control87 @574 + _controlfp @575 + _controlfp_s @576 + _copysign=MSVCRT__copysign @577 + _cprintf @578 + _cputs @584 + _cputws @585 + _creat=MSVCRT__creat @586 + _create_locale=MSVCRT__create_locale @587 + _crt_debugger_hook=MSVCRT__crt_debugger_hook @588 + _cscanf @589 + _cscanf_l @590 + _cscanf_s @591 + _cscanf_s_l @592 + _ctime32=MSVCRT__ctime32 @593 + _ctime32_s=MSVCRT__ctime32_s @594 + _ctime64=MSVCRT__ctime64 @595 + _ctime64_s=MSVCRT__ctime64_s @596 + _cwait @597 + _cwprintf @598 + _cwscanf @604 + _cwscanf_l @605 + _cwscanf_s @606 + _cwscanf_s_l @607 + _daylight=MSVCRT___daylight @608 DATA + _difftime32=MSVCRT__difftime32 @609 + _difftime64=MSVCRT__difftime64 @610 + _dstbias=MSVCRT__dstbias @612 DATA + _dup=MSVCRT__dup @613 + _dup2=MSVCRT__dup2 @614 + _dupenv_s @615 + _ecvt=MSVCRT__ecvt @616 + _ecvt_s=MSVCRT__ecvt_s @617 + _endthread @618 + _endthreadex @619 + _environ=MSVCRT__environ @620 DATA + _eof=MSVCRT__eof @621 + _errno=MSVCRT__errno @622 + _except_handler2 @623 + _except_handler3 @624 + _except_handler4_common @625 + _execl @626 + _execle @627 + _execlp @628 + _execlpe @629 + _execv @630 + _execve=MSVCRT__execve @631 + _execvp @632 + _execvpe @633 + _exit=MSVCRT__exit @634 + _expand @635 + _fclose_nolock=MSVCRT__fclose_nolock @636 + _fcloseall=MSVCRT__fcloseall @637 + _fcvt=MSVCRT__fcvt @638 + _fcvt_s=MSVCRT__fcvt_s @639 + _fdopen=MSVCRT__fdopen @640 + _fflush_nolock=MSVCRT__fflush_nolock @641 + _fgetc_nolock=MSVCRT__fgetc_nolock @642 + _fgetchar=MSVCRT__fgetchar @643 + _fgetwc_nolock=MSVCRT__fgetwc_nolock @644 + _fgetwchar=MSVCRT__fgetwchar @645 + _filbuf=MSVCRT__filbuf @646 + _filelength=MSVCRT__filelength @647 + _filelengthi64=MSVCRT__filelengthi64 @648 + _fileno=MSVCRT__fileno @649 + _findclose=MSVCRT__findclose @650 + _findfirst32=MSVCRT__findfirst32 @651 + _findfirst64=MSVCRT__findfirst64 @653 + _findfirst64i32=MSVCRT__findfirst64i32 @654 + _findnext32=MSVCRT__findnext32 @655 + _findnext64=MSVCRT__findnext64 @657 + _findnext64i32=MSVCRT__findnext64i32 @658 + _finite=MSVCRT__finite @659 + _flsbuf=MSVCRT__flsbuf @660 + _flushall=MSVCRT__flushall @661 + _fmode=MSVCRT__fmode @662 DATA + _fpclass=MSVCRT__fpclass @663 + _fpieee_flt @664 + _fpreset @665 + _fputc_nolock=MSVCRT__fputc_nolock @670 + _fputchar=MSVCRT__fputchar @671 + _fputwc_nolock=MSVCRT__fputwc_nolock @672 + _fputwchar=MSVCRT__fputwchar @673 + _fread_nolock=MSVCRT__fread_nolock @674 + _fread_nolock_s=MSVCRT__fread_nolock_s @675 + _free_locale=MSVCRT__free_locale @676 + _fscanf_l=MSVCRT__fscanf_l @680 + _fscanf_s_l=MSVCRT__fscanf_s_l @681 + _fseek_nolock=MSVCRT__fseek_nolock @682 + _fseeki64=MSVCRT__fseeki64 @683 + _fseeki64_nolock=MSVCRT__fseeki64_nolock @684 + _fsopen=MSVCRT__fsopen @685 + _fstat32=MSVCRT__fstat32 @686 + _fstat32i64=MSVCRT__fstat32i64 @687 + _fstat64=MSVCRT__fstat64 @688 + _fstat64i32=MSVCRT__fstat64i32 @689 + _ftell_nolock=MSVCRT__ftell_nolock @690 + _ftelli64=MSVCRT__ftelli64 @691 + _ftelli64_nolock=MSVCRT__ftelli64_nolock @692 + _ftime32=MSVCRT__ftime32 @693 + _ftime32_s=MSVCRT__ftime32_s @694 + _ftime64=MSVCRT__ftime64 @695 + _ftime64_s=MSVCRT__ftime64_s @696 + _ftol=MSVCRT__ftol @697 + _fullpath=MSVCRT__fullpath @698 + _futime32 @699 + _futime64 @700 + _fwprintf_l=MSVCRT__fwprintf_l @701 + _fwrite_nolock=MSVCRT__fwrite_nolock @705 + _fwscanf_l=MSVCRT__fwscanf_l @706 + _fwscanf_s_l=MSVCRT__fwscanf_s_l @707 + _gcvt=MSVCRT__gcvt @708 + _gcvt_s=MSVCRT__gcvt_s @709 + _get_current_locale=MSVCRT__get_current_locale @710 + _get_daylight @711 + _get_doserrno @712 + _get_dstbias=MSVCRT__get_dstbias @713 + _get_errno @714 + _get_fmode=MSVCRT__get_fmode @715 + _get_heap_handle @716 + _get_invalid_parameter_handler @717 + _get_osfhandle=MSVCRT__get_osfhandle @718 + _get_output_format=MSVCRT__get_output_format @719 + _get_pgmptr @720 + _get_printf_count_output=MSVCRT__get_printf_count_output @721 + _get_terminate=MSVCRT__get_terminate @723 + _get_timezone @724 + _get_tzname=MSVCRT__get_tzname @725 + _get_unexpected=MSVCRT__get_unexpected @726 + _get_wpgmptr @727 + _getc_nolock=MSVCRT__fgetc_nolock @728 + _getch @729 + _getch_nolock @730 + _getche @731 + _getche_nolock @732 + _getcwd=MSVCRT__getcwd @733 + _getdcwd=MSVCRT__getdcwd @734 + _getdiskfree=MSVCRT__getdiskfree @735 + _getdllprocaddr @736 + _getdrive=MSVCRT__getdrive @737 + _getdrives=kernel32.GetLogicalDrives @738 + _getmaxstdio=MSVCRT__getmaxstdio @739 + _getmbcp @740 + _getpid @741 + _getptd @742 + _getw=MSVCRT__getw @744 + _getwc_nolock=MSVCRT__fgetwc_nolock @745 + _getwch @746 + _getwch_nolock @747 + _getwche @748 + _getwche_nolock @749 + _getws=MSVCRT__getws @750 + _global_unwind2 @752 + _gmtime32=MSVCRT__gmtime32 @753 + _gmtime32_s=MSVCRT__gmtime32_s @754 + _gmtime64=MSVCRT__gmtime64 @755 + _gmtime64_s=MSVCRT__gmtime64_s @756 + _heapadd @757 + _heapchk @758 + _heapmin @759 + _heapset @760 + _heapwalk @762 + _hypot @763 + _hypotf=MSVCRT__hypotf @764 + _i64toa=ntdll._i64toa @765 + _i64toa_s=MSVCRT__i64toa_s @766 + _i64tow=ntdll._i64tow @767 + _i64tow_s=MSVCRT__i64tow_s @768 + _initterm @770 + _initterm_e @771 + _invalid_parameter=MSVCRT__invalid_parameter @775 + _invalid_parameter_noinfo @776 + _invalid_parameter_noinfo_noreturn @777 + _iob=MSVCRT__iob @779 DATA + _isalnum_l=MSVCRT__isalnum_l @780 + _isalpha_l=MSVCRT__isalpha_l @781 + _isatty=MSVCRT__isatty @782 + _iscntrl_l=MSVCRT__iscntrl_l @783 + _isctype=MSVCRT__isctype @784 + _isctype_l=MSVCRT__isctype_l @785 + _isdigit_l=MSVCRT__isdigit_l @786 + _isgraph_l=MSVCRT__isgraph_l @787 + _isleadbyte_l=MSVCRT__isleadbyte_l @788 + _islower_l=MSVCRT__islower_l @789 + _ismbbkana @798 + _ismbblead @804 + _ismbblead_l @805 + _ismbbtrail @810 + _ismbcalnum @812 + _ismbcalpha @814 + _ismbcdigit @816 + _ismbcgraph @818 + _ismbchira @820 + _ismbckata @822 + _ismbcl0 @824 + _ismbclegal @830 + _ismbcpunct @836 + _ismbcspace @838 + _ismbcsymbol @840 + _ismbcupper @842 + _ismbslead @844 + _ismbstrail @846 + _isnan=MSVCRT__isnan @848 + _isprint_l=MSVCRT__isprint_l @849 + _isspace_l=MSVCRT__isspace_l @851 + _isupper_l=MSVCRT__isupper_l @852 + _iswalpha_l=MSVCRT__iswalpha_l @854 + _iswctype_l=MSVCRT__iswctype_l @858 + _iswdigit_l=MSVCRT__iswdigit_l @859 + _iswpunct_l=MSVCRT__iswpunct_l @863 + _iswspace_l=MSVCRT__iswspace_l @864 + _isxdigit_l=MSVCRT__isxdigit_l @867 + _itoa=MSVCRT__itoa @868 + _itoa_s=MSVCRT__itoa_s @869 + _itow=ntdll._itow @870 + _itow_s=MSVCRT__itow_s @871 + _j0=MSVCRT__j0 @872 + _j1=MSVCRT__j1 @873 + _jn=MSVCRT__jn @874 + _kbhit @875 + _lfind @876 + _lfind_s @877 + _libm_sse2_acos_precise=MSVCRT___libm_sse2_acos @878 + _libm_sse2_asin_precise=MSVCRT___libm_sse2_asin @879 + _libm_sse2_atan_precise=MSVCRT___libm_sse2_atan @880 + _libm_sse2_cos_precise=MSVCRT___libm_sse2_cos @881 + _libm_sse2_exp_precise=MSVCRT___libm_sse2_exp @882 + _libm_sse2_log10_precise=MSVCRT___libm_sse2_log10 @883 + _libm_sse2_log_precise=MSVCRT___libm_sse2_log @884 + _libm_sse2_pow_precise=MSVCRT___libm_sse2_pow @885 + _libm_sse2_sin_precise=MSVCRT___libm_sse2_sin @886 + _libm_sse2_sqrt_precise=MSVCRT___libm_sse2_sqrt_precise @887 + _libm_sse2_tan_precise=MSVCRT___libm_sse2_tan @888 + _loaddll @889 + _local_unwind2 @890 + _local_unwind4 @891 + _localtime32=MSVCRT__localtime32 @892 + _localtime32_s @893 + _localtime64=MSVCRT__localtime64 @894 + _localtime64_s @895 + _lock @896 + _lock_file=MSVCRT__lock_file @897 + _locking=MSVCRT__locking @898 + _logb=MSVCRT__logb @899 + _longjmpex=MSVCRT_longjmp @900 + _lrotl=MSVCRT__lrotl @901 + _lrotr=MSVCRT__lrotr @902 + _lsearch @903 + _lseek=MSVCRT__lseek @905 + _lseeki64=MSVCRT__lseeki64 @906 + _ltoa=ntdll._ltoa @907 + _ltoa_s=MSVCRT__ltoa_s @908 + _ltow=ntdll._ltow @909 + _ltow_s=MSVCRT__ltow_s @910 + _makepath=MSVCRT__makepath @911 + _makepath_s=MSVCRT__makepath_s @912 + _malloc_crt=MSVCRT_malloc @913 + _mbbtombc @914 + _mbbtype @916 + _mbccpy @918 + _mbcjistojms @922 + _mbcjmstojis @924 + _mbclen @926 + _mbctohira @928 + _mbctokata @930 + _mbctolower @932 + _mbctombb @934 + _mbctoupper @936 + _mbctype=MSVCRT_mbctype @938 DATA + _mbsbtype @940 + _mbscat_s @942 + _mbscat_s_l @943 + _mbschr @944 + _mbscmp @946 + _mbscoll @948 + _mbscoll_l @949 + _mbscpy_s @950 + _mbscpy_s_l @951 + _mbscspn @952 + _mbsdec @954 + _mbsicmp @956 + _mbsicoll @958 + _mbsicoll_l @959 + _mbsinc @960 + _mbslen @962 + _mbslwr @964 + _mbslwr_s @966 + _mbsnbcat @968 + _mbsnbcat_s @970 + _mbsnbcmp @972 + _mbsnbcnt @974 + _mbsnbcoll @976 + _mbsnbcoll_l @977 + _mbsnbcpy @978 + _mbsnbcpy_s @980 + _mbsnbcpy_s_l @981 + _mbsnbicmp @982 + _mbsnbicoll @984 + _mbsnbicoll_l @985 + _mbsnbset @986 + _mbsncat @990 + _mbsnccnt @994 + _mbsncmp @996 + _mbsncpy @1000 + _mbsnextc @1004 + _mbsnicmp @1006 + _mbsninc @1010 + _mbsnset @1014 + _mbspbrk @1018 + _mbsrchr @1020 + _mbsrev @1022 + _mbsset @1024 + _mbsspn @1028 + _mbsspnp @1030 + _mbsstr @1032 + _mbstok @1034 + _mbstok_l @1035 + _mbstok_s @1036 + _mbstok_s_l @1037 + _mbstowcs_l=MSVCRT__mbstowcs_l @1038 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @1039 + _mbstrlen @1040 + _mbstrlen_l @1041 + _mbsupr @1044 + _mbsupr_s @1046 + _mbtowc_l=MSVCRT_mbtowc_l @1048 + _memccpy=ntdll._memccpy @1049 + _memicmp=ntdll._memicmp @1050 + _mkdir=MSVCRT__mkdir @1052 + _mkgmtime32=MSVCRT__mkgmtime32 @1053 + _mkgmtime64=MSVCRT__mkgmtime64 @1054 + _mktemp=MSVCRT__mktemp @1055 + _mktemp_s=MSVCRT__mktemp_s @1056 + _mktime32=MSVCRT__mktime32 @1057 + _mktime64=MSVCRT__mktime64 @1058 + _msize @1059 + _nextafter=MSVCRT__nextafter @1060 + _onexit=MSVCRT__onexit @1061 + _open=MSVCRT__open @1062 + _open_osfhandle=MSVCRT__open_osfhandle @1063 + _pclose=MSVCRT__pclose @1067 + _pctype=MSVCRT__pctype @1068 DATA + _pgmptr=MSVCRT__pgmptr @1069 DATA + _pipe=MSVCRT__pipe @1070 + _popen=MSVCRT__popen @1071 + _purecall @1076 + _putc_nolock=MSVCRT__fputc_nolock @1077 + _putch @1078 + _putch_nolock @1079 + _putenv @1080 + _putenv_s @1081 + _putw=MSVCRT__putw @1082 + _putwc_nolock=MSVCRT__fputwc_nolock @1083 + _putwch @1084 + _putwch_nolock @1085 + _putws=MSVCRT__putws @1086 + _read=MSVCRT__read @1087 + _realloc_crt=MSVCRT_realloc @1088 + _recalloc @1089 + _resetstkoflw=MSVCRT__resetstkoflw @1091 + _rmdir=MSVCRT__rmdir @1092 + _rmtmp=MSVCRT__rmtmp @1093 + _rotl @1094 + _rotl64 @1095 + _rotr @1096 + _rotr64 @1097 + _scalb=MSVCRT__scalb @1098 + _scanf_l=MSVCRT__scanf_l @1099 + _scanf_s_l=MSVCRT__scanf_s_l @1100 + _scprintf=MSVCRT__scprintf @1101 + _scwprintf=MSVCRT__scwprintf @1105 + _searchenv=MSVCRT__searchenv @1109 + _searchenv_s=MSVCRT__searchenv_s @1110 + _seh_longjmp_unwind4@4 @1111 + _seh_longjmp_unwind@4 @1112 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @1113 + _set_abort_behavior=MSVCRT__set_abort_behavior @1114 + _set_controlfp @1115 + _set_doserrno @1116 + _set_errno @1117 + _set_error_mode @1118 + _set_fmode=MSVCRT__set_fmode @1119 + _set_invalid_parameter_handler @1120 + _set_output_format=MSVCRT__set_output_format @1122 + _set_printf_count_output=MSVCRT__set_printf_count_output @1123 + _set_purecall_handler @1124 + _seterrormode @1125 + _setjmp=MSVCRT__setjmp @1126 + _setjmp3=MSVCRT__setjmp3 @1127 + _setmaxstdio=MSVCRT__setmaxstdio @1128 + _setmbcp @1129 + _setmode=MSVCRT__setmode @1130 + _sleep=MSVCRT__sleep @1132 + _snprintf=MSVCRT__snprintf @1133 + _snprintf_l=MSVCRT__snprintf_l @1136 + _snprintf_s=MSVCRT__snprintf_s @1137 + _snscanf=MSVCRT__snscanf @1139 + _snscanf_l=MSVCRT__snscanf_l @1140 + _snscanf_s=MSVCRT__snscanf_s @1141 + _snscanf_s_l=MSVCRT__snscanf_s_l @1142 + _snwprintf=MSVCRT__snwprintf @1143 + _snwprintf_l=MSVCRT__snwprintf_l @1144 + _snwprintf_s=MSVCRT__snwprintf_s @1145 + _snwprintf_s_l=MSVCRT__snwprintf_s_l @1146 + _snwscanf=MSVCRT__snwscanf @1147 + _snwscanf_l=MSVCRT__snwscanf_l @1148 + _snwscanf_s=MSVCRT__snwscanf_s @1149 + _snwscanf_s_l=MSVCRT__snwscanf_s_l @1150 + _sopen=MSVCRT__sopen @1151 + _sopen_s=MSVCRT__sopen_s @1152 + _spawnl @1153 + _spawnle @1154 + _spawnlp @1155 + _spawnlpe @1156 + _spawnv @1157 + _spawnve=MSVCRT__spawnve @1158 + _spawnvp @1159 + _spawnvpe=MSVCRT__spawnvpe @1160 + _splitpath=MSVCRT__splitpath @1161 + _splitpath_s=MSVCRT__splitpath_s @1162 + _sprintf_l=MSVCRT_sprintf_l @1163 + _sprintf_p=MSVCRT__sprintf_p @1164 + _sprintf_p_l=MSVCRT_sprintf_p_l @1165 + _sprintf_s_l=MSVCRT_sprintf_s_l @1166 + _sscanf_l=MSVCRT__sscanf_l @1167 + _sscanf_s_l=MSVCRT__sscanf_s_l @1168 + _stat32=MSVCRT__stat32 @1169 + _stat32i64=MSVCRT__stat32i64 @1170 + _stat64=MSVCRT_stat64 @1171 + _stat64i32=MSVCRT__stat64i32 @1172 + _statusfp @1173 + _statusfp2 @1174 + _strcoll_l=MSVCRT_strcoll_l @1175 + _strdate=MSVCRT__strdate @1176 + _strdate_s @1177 + _strdup=MSVCRT__strdup @1178 + _strerror=MSVCRT__strerror @1179 + _strftime_l=MSVCRT__strftime_l @1181 + _stricmp=MSVCRT__stricmp @1182 + _stricmp_l=MSVCRT__stricmp_l @1183 + _stricoll=MSVCRT__stricoll @1184 + _stricoll_l=MSVCRT__stricoll_l @1185 + _strlwr=MSVCRT__strlwr @1186 + _strlwr_l @1187 + _strlwr_s=MSVCRT__strlwr_s @1188 + _strlwr_s_l=MSVCRT__strlwr_s_l @1189 + _strncoll=MSVCRT__strncoll @1190 + _strncoll_l=MSVCRT__strncoll_l @1191 + _strnicmp=MSVCRT__strnicmp @1192 + _strnicmp_l=MSVCRT__strnicmp_l @1193 + _strnicoll=MSVCRT__strnicoll @1194 + _strnicoll_l=MSVCRT__strnicoll_l @1195 + _strnset=MSVCRT__strnset @1196 + _strnset_s=MSVCRT__strnset_s @1197 + _strrev=MSVCRT__strrev @1198 + _strset @1199 + _strtime=MSVCRT__strtime @1201 + _strtime_s @1202 + _strtod_l=MSVCRT_strtod_l @1203 + _strtoi64=MSVCRT_strtoi64 @1204 + _strtoi64_l=MSVCRT_strtoi64_l @1205 + _strtol_l=MSVCRT__strtol_l @1206 + _strtoui64=MSVCRT_strtoui64 @1207 + _strtoui64_l=MSVCRT_strtoui64_l @1208 + _strtoul_l=MSVCRT_strtoul_l @1209 + _strupr=MSVCRT__strupr @1210 + _strupr_l=MSVCRT__strupr_l @1211 + _strupr_s=MSVCRT__strupr_s @1212 + _strupr_s_l=MSVCRT__strupr_s_l @1213 + _strxfrm_l=MSVCRT__strxfrm_l @1214 + _swab=MSVCRT__swab @1215 + _swprintf=MSVCRT_swprintf @1216 + _swprintf_p_l=MSVCRT_swprintf_p_l @1220 + _swprintf_s_l=MSVCRT__swprintf_s_l @1221 + _swscanf_l=MSVCRT__swscanf_l @1222 + _swscanf_s_l=MSVCRT__swscanf_s_l @1223 + _sys_errlist=MSVCRT__sys_errlist @1224 DATA + _sys_nerr=MSVCRT__sys_nerr @1225 DATA + _tell=MSVCRT__tell @1226 + _telli64 @1227 + _tempnam=MSVCRT__tempnam @1228 + _time32=MSVCRT__time32 @1229 + _time64=MSVCRT__time64 @1230 + _timezone=MSVCRT___timezone @1231 DATA + _tolower=MSVCRT__tolower @1232 + _tolower_l=MSVCRT__tolower_l @1233 + _toupper=MSVCRT__toupper @1234 + _toupper_l=MSVCRT__toupper_l @1235 + _towlower_l=MSVCRT__towlower_l @1236 + _towupper_l=MSVCRT__towupper_l @1237 + _tzname=MSVCRT__tzname @1238 DATA + _tzset=MSVCRT__tzset @1239 + _ui64toa=ntdll._ui64toa @1240 + _ui64toa_s=MSVCRT__ui64toa_s @1241 + _ui64tow=ntdll._ui64tow @1242 + _ui64tow_s=MSVCRT__ui64tow_s @1243 + _ultoa=ntdll._ultoa @1244 + _ultoa_s=MSVCRT__ultoa_s @1245 + _ultow=ntdll._ultow @1246 + _ultow_s=MSVCRT__ultow_s @1247 + _umask=MSVCRT__umask @1248 + _ungetc_nolock=MSVCRT__ungetc_nolock @1250 + _ungetch @1251 + _ungetch_nolock @1252 + _ungetwc_nolock=MSVCRT__ungetwc_nolock @1253 + _ungetwch @1254 + _ungetwch_nolock @1255 + _unlink=MSVCRT__unlink @1256 + _unloaddll @1257 + _unlock @1258 + _unlock_file=MSVCRT__unlock_file @1259 + _utime32 @1260 + _utime64 @1261 + _vcprintf @1262 + _vcwprintf @1268 + _vfprintf_l=MSVCRT__vfprintf_l @1274 + _vfwprintf_l=MSVCRT__vfwprintf_l @1278 + _vscprintf=MSVCRT__vscprintf @1286 + _vscprintf_p=MSVCRT__vscprintf_p @1288 + _vscprintf_p_l=MSVCRT__vscprintf_p_l @1289 + _vscwprintf=MSVCRT__vscwprintf @1290 + _vscwprintf_l=MSVCRT__vscwprintf_l @1291 + _vscwprintf_p=MSVCRT__vscwprintf_p @1292 + _vscwprintf_p_l=MSVCRT__vscwprintf_p_l @1293 + _vsnprintf=MSVCRT_vsnprintf @1294 + _vsnprintf_c=MSVCRT_vsnprintf @1295 + _vsnprintf_c_l=MSVCRT_vsnprintf_l @1296 + _vsnprintf_l=MSVCRT_vsnprintf_l @1297 + _vsnprintf_s=MSVCRT_vsnprintf_s @1298 + _vsnprintf_s_l=MSVCRT_vsnprintf_s_l @1299 + _vsnwprintf=MSVCRT_vsnwprintf @1300 + _vsnwprintf_l=MSVCRT_vsnwprintf_l @1301 + _vsnwprintf_s=MSVCRT_vsnwprintf_s @1302 + _vsnwprintf_s_l=MSVCRT_vsnwprintf_s_l @1303 + _vsprintf_l=MSVCRT_vsprintf_l @1304 + _vsprintf_p=MSVCRT_vsprintf_p @1305 + _vsprintf_p_l=MSVCRT_vsprintf_p_l @1306 + _vsprintf_s_l=MSVCRT_vsprintf_s_l @1307 + _vswprintf=MSVCRT_vswprintf @1308 + _vswprintf_c=MSVCRT_vsnwprintf @1309 + _vswprintf_c_l=MSVCRT_vsnwprintf_l @1310 + _vswprintf_l=MSVCRT_vswprintf_l @1311 + _vswprintf_p=MSVCRT__vswprintf_p @1312 + _vswprintf_p_l=MSVCRT_vswprintf_p_l @1313 + _vswprintf_s_l=MSVCRT_vswprintf_s_l @1314 + _waccess=MSVCRT__waccess @1319 + _waccess_s=MSVCRT__waccess_s @1320 + _wasctime=MSVCRT__wasctime @1321 + _wasctime_s=MSVCRT__wasctime_s @1322 + _wassert=MSVCRT__wassert @1323 + _wchdir=MSVCRT__wchdir @1324 + _wchmod=MSVCRT__wchmod @1325 + _wcmdln=MSVCRT__wcmdln @1326 DATA + _wcreat=MSVCRT__wcreat @1327 + _wcreate_locale=MSVCRT__wcreate_locale @1328 + _wcscoll_l=MSVCRT__wcscoll_l @1329 + _wcsdup=MSVCRT__wcsdup @1330 + _wcserror=MSVCRT__wcserror @1331 + _wcserror_s=MSVCRT__wcserror_s @1332 + _wcsftime_l=MSVCRT__wcsftime_l @1333 + _wcsicmp=MSVCRT__wcsicmp @1334 + _wcsicmp_l=MSVCRT__wcsicmp_l @1335 + _wcsicoll=MSVCRT__wcsicoll @1336 + _wcsicoll_l=MSVCRT__wcsicoll_l @1337 + _wcslwr=MSVCRT__wcslwr @1338 + _wcslwr_l=MSVCRT__wcslwr_l @1339 + _wcslwr_s=MSVCRT__wcslwr_s @1340 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @1341 + _wcsncoll=MSVCRT__wcsncoll @1342 + _wcsncoll_l=MSVCRT__wcsncoll_l @1343 + _wcsnicmp=MSVCRT__wcsnicmp @1344 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @1345 + _wcsnicoll=MSVCRT__wcsnicoll @1346 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @1347 + _wcsnset=MSVCRT__wcsnset @1348 + _wcsrev=MSVCRT__wcsrev @1350 + _wcsset=MSVCRT__wcsset @1351 + _wcsset_s=MSVCRT__wcsset_s @1352 + _wcstod_l=MSVCRT__wcstod_l @1353 + _wcstoi64=MSVCRT__wcstoi64 @1354 + _wcstoi64_l=MSVCRT__wcstoi64_l @1355 + _wcstol_l=MSVCRT__wcstol_l @1356 + _wcstombs_l=MSVCRT__wcstombs_l @1357 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @1358 + _wcstoui64=MSVCRT__wcstoui64 @1359 + _wcstoui64_l=MSVCRT__wcstoui64_l @1360 + _wcstoul_l=MSVCRT__wcstoul_l @1361 + _wcsupr=ntdll._wcsupr @1362 + _wcsupr_l=MSVCRT__wcsupr_l @1363 + _wcsupr_s=MSVCRT__wcsupr_s @1364 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @1365 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @1366 + _wctime32=MSVCRT__wctime32 @1367 + _wctime32_s=MSVCRT__wctime32_s @1368 + _wctime64=MSVCRT__wctime64 @1369 + _wctime64_s=MSVCRT__wctime64_s @1370 + _wctomb_l=MSVCRT__wctomb_l @1371 + _wctomb_s_l=MSVCRT__wctomb_s_l @1372 + _wdupenv_s @1373 + _wenviron=MSVCRT__wenviron @1374 DATA + _wexecl @1375 + _wexecle @1376 + _wexeclp @1377 + _wexeclpe @1378 + _wexecv @1379 + _wexecve @1380 + _wexecvp @1381 + _wexecvpe @1382 + _wfdopen=MSVCRT__wfdopen @1383 + _wfindfirst32=MSVCRT__wfindfirst32 @1384 + _wfindfirst64=MSVCRT__wfindfirst64 @1386 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @1387 + _wfindnext32=MSVCRT__wfindnext32 @1388 + _wfindnext64=MSVCRT__wfindnext64 @1390 + _wfindnext64i32=MSVCRT__wfindnext64i32 @1391 + _wfopen=MSVCRT__wfopen @1392 + _wfopen_s=MSVCRT__wfopen_s @1393 + _wfreopen=MSVCRT__wfreopen @1394 + _wfreopen_s=MSVCRT__wfreopen_s @1395 + _wfsopen=MSVCRT__wfsopen @1396 + _wfullpath=MSVCRT__wfullpath @1397 + _wgetcwd=MSVCRT__wgetcwd @1398 + _wgetdcwd=MSVCRT__wgetdcwd @1399 + _wgetenv=MSVCRT__wgetenv @1400 + _wgetenv_s @1401 + _wmakepath=MSVCRT__wmakepath @1402 + _wmakepath_s=MSVCRT__wmakepath_s @1403 + _wmkdir=MSVCRT__wmkdir @1404 + _wmktemp=MSVCRT__wmktemp @1405 + _wmktemp_s=MSVCRT__wmktemp_s @1406 + _wopen=MSVCRT__wopen @1407 + _wperror=MSVCRT__wperror @1408 + _wpgmptr=MSVCRT__wpgmptr @1409 DATA + _wpopen=MSVCRT__wpopen @1410 + _wputenv @1415 + _wputenv_s @1416 + _wremove=MSVCRT__wremove @1417 + _wrename=MSVCRT__wrename @1418 + _write=MSVCRT__write @1419 + _wrmdir=MSVCRT__wrmdir @1420 + _wscanf_l=MSVCRT__wscanf_l @1421 + _wscanf_s_l=MSVCRT__wscanf_s_l @1422 + _wsearchenv=MSVCRT__wsearchenv @1423 + _wsearchenv_s=MSVCRT__wsearchenv_s @1424 + _wsetlocale=MSVCRT__wsetlocale @1425 + _wsopen=MSVCRT__wsopen @1426 + _wsopen_s=MSVCRT__wsopen_s @1427 + _wspawnl @1428 + _wspawnle @1429 + _wspawnlp @1430 + _wspawnlpe @1431 + _wspawnv @1432 + _wspawnve=MSVCRT__wspawnve @1433 + _wspawnvp @1434 + _wspawnvpe=MSVCRT__wspawnvpe @1435 + _wsplitpath=MSVCRT__wsplitpath @1436 + _wsplitpath_s=MSVCRT__wsplitpath_s @1437 + _wstat32=MSVCRT__wstat32 @1438 + _wstat32i64=MSVCRT__wstat32i64 @1439 + _wstat64=MSVCRT__wstat64 @1440 + _wstat64i32=MSVCRT__wstat64i32 @1441 + _wstrdate=MSVCRT__wstrdate @1442 + _wstrdate_s @1443 + _wstrtime=MSVCRT__wstrtime @1444 + _wstrtime_s @1445 + _wsystem @1446 + _wtempnam=MSVCRT__wtempnam @1447 + _wtmpnam=MSVCRT__wtmpnam @1448 + _wtmpnam_s=MSVCRT__wtmpnam_s @1449 + _wtof=MSVCRT__wtof @1450 + _wtof_l=MSVCRT__wtof_l @1451 + _wtoi=MSVCRT__wtoi @1452 + _wtoi64=MSVCRT__wtoi64 @1453 + _wtoi64_l=MSVCRT__wtoi64_l @1454 + _wtoi_l=MSVCRT__wtoi_l @1455 + _wtol=MSVCRT__wtol @1456 + _wtol_l=MSVCRT__wtol_l @1457 + _wunlink=MSVCRT__wunlink @1458 + _wutime32 @1459 + _wutime64 @1460 + _y0=MSVCRT__y0 @1461 + _y1=MSVCRT__y1 @1462 + _yn=MSVCRT__yn @1463 + abort=MSVCRT_abort @1464 + abs=MSVCRT_abs @1465 + acos=MSVCRT_acos @1466 + asctime=MSVCRT_asctime @1467 + asctime_s=MSVCRT_asctime_s @1468 + asin=MSVCRT_asin @1469 + atan=MSVCRT_atan @1470 + atan2=MSVCRT_atan2 @1471 + atexit=MSVCRT_atexit @1472 PRIVATE + atof=MSVCRT_atof @1473 + atoi=MSVCRT_atoi @1474 + atol=ntdll.atol @1475 + bsearch=MSVCRT_bsearch @1476 + bsearch_s=MSVCRT_bsearch_s @1477 + btowc=MSVCRT_btowc @1478 + calloc=MSVCRT_calloc @1479 + ceil=MSVCRT_ceil @1480 + clearerr=MSVCRT_clearerr @1481 + clearerr_s=MSVCRT_clearerr_s @1482 + clock=MSVCRT_clock @1483 + cos=MSVCRT_cos @1484 + cosh=MSVCRT_cosh @1485 + div=MSVCRT_div @1486 + exit=MSVCRT_exit @1487 + exp=MSVCRT_exp @1488 + fabs=MSVCRT_fabs @1489 + fclose=MSVCRT_fclose @1490 + feof=MSVCRT_feof @1491 + ferror=MSVCRT_ferror @1492 + fflush=MSVCRT_fflush @1493 + fgetc=MSVCRT_fgetc @1494 + fgetpos=MSVCRT_fgetpos @1495 + fgets=MSVCRT_fgets @1496 + fgetwc=MSVCRT_fgetwc @1497 + fgetws=MSVCRT_fgetws @1498 + floor=MSVCRT_floor @1499 + fmod=MSVCRT_fmod @1500 + fopen=MSVCRT_fopen @1501 + fopen_s=MSVCRT_fopen_s @1502 + fprintf=MSVCRT_fprintf @1503 + fprintf_s=MSVCRT_fprintf_s @1504 + fputc=MSVCRT_fputc @1505 + fputs=MSVCRT_fputs @1506 + fputwc=MSVCRT_fputwc @1507 + fputws=MSVCRT_fputws @1508 + fread=MSVCRT_fread @1509 + fread_s=MSVCRT_fread_s @1510 + free=MSVCRT_free @1511 + freopen=MSVCRT_freopen @1512 + freopen_s=MSVCRT_freopen_s @1513 + frexp=MSVCRT_frexp @1514 + fscanf=MSVCRT_fscanf @1515 + fscanf_s=MSVCRT_fscanf_s @1516 + fseek=MSVCRT_fseek @1517 + fsetpos=MSVCRT_fsetpos @1518 + ftell=MSVCRT_ftell @1519 + fwprintf=MSVCRT_fwprintf @1520 + fwprintf_s=MSVCRT_fwprintf_s @1521 + fwrite=MSVCRT_fwrite @1522 + fwscanf=MSVCRT_fwscanf @1523 + fwscanf_s=MSVCRT_fwscanf_s @1524 + getc=MSVCRT_getc @1525 + getchar=MSVCRT_getchar @1526 + getenv=MSVCRT_getenv @1527 + getenv_s @1528 + gets=MSVCRT_gets @1529 + getwc=MSVCRT_getwc @1531 + getwchar=MSVCRT_getwchar @1532 + is_wctype=ntdll.iswctype @1533 + isalnum=MSVCRT_isalnum @1534 + isalpha=MSVCRT_isalpha @1535 + iscntrl=MSVCRT_iscntrl @1536 + isdigit=MSVCRT_isdigit @1537 + isgraph=MSVCRT_isgraph @1538 + isleadbyte=MSVCRT_isleadbyte @1539 + islower=MSVCRT_islower @1540 + isprint=MSVCRT_isprint @1541 + ispunct=MSVCRT_ispunct @1542 + isspace=MSVCRT_isspace @1543 + isupper=MSVCRT_isupper @1544 + iswalnum=MSVCRT_iswalnum @1545 + iswalpha=ntdll.iswalpha @1546 + iswascii=MSVCRT_iswascii @1547 + iswcntrl=MSVCRT_iswcntrl @1548 + iswctype=ntdll.iswctype @1549 + iswdigit=MSVCRT_iswdigit @1550 + iswgraph=MSVCRT_iswgraph @1551 + iswlower=MSVCRT_iswlower @1552 + iswprint=MSVCRT_iswprint @1553 + iswpunct=MSVCRT_iswpunct @1554 + iswspace=MSVCRT_iswspace @1555 + iswupper=MSVCRT_iswupper @1556 + iswxdigit=MSVCRT_iswxdigit @1557 + isxdigit=MSVCRT_isxdigit @1558 + labs=MSVCRT_labs @1559 + ldexp=MSVCRT_ldexp @1560 + ldiv=MSVCRT_ldiv @1561 + llabs=MSVCRT_llabs @1562 + lldiv=MSVCRT_lldiv @1563 + localeconv=MSVCRT_localeconv @1564 + log=MSVCRT_log @1565 + log10=MSVCRT_log10 @1566 + longjmp=MSVCRT_longjmp @1567 + malloc=MSVCRT_malloc @1568 + mblen=MSVCRT_mblen @1569 + mbrlen=MSVCRT_mbrlen @1570 + mbrtowc=MSVCRT_mbrtowc @1571 + mbsrtowcs=MSVCRT_mbsrtowcs @1572 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @1573 + mbstowcs=MSVCRT_mbstowcs @1574 + mbstowcs_s=MSVCRT__mbstowcs_s @1575 + mbtowc=MSVCRT_mbtowc @1576 + memchr=MSVCRT_memchr @1577 + memcmp=MSVCRT_memcmp @1578 + memcpy=MSVCRT_memcpy @1579 + memcpy_s=MSVCRT_memcpy_s @1580 + memmove=MSVCRT_memmove @1581 + memmove_s=MSVCRT_memmove_s @1582 + memset=MSVCRT_memset @1583 + modf=MSVCRT_modf @1584 + perror=MSVCRT_perror @1585 + pow=MSVCRT_pow @1586 + printf=MSVCRT_printf @1587 + printf_s=MSVCRT_printf_s @1588 + putc=MSVCRT_putc @1589 + putchar=MSVCRT_putchar @1590 + puts=MSVCRT_puts @1591 + putwc=MSVCRT_fputwc @1592 + putwchar=MSVCRT__fputwchar @1593 + qsort=MSVCRT_qsort @1594 + qsort_s=MSVCRT_qsort_s @1595 + raise=MSVCRT_raise @1596 + rand=MSVCRT_rand @1597 + rand_s=MSVCRT_rand_s @1598 + realloc=MSVCRT_realloc @1599 + remove=MSVCRT_remove @1600 + rename=MSVCRT_rename @1601 + rewind=MSVCRT_rewind @1602 + scanf=MSVCRT_scanf @1603 + scanf_s=MSVCRT_scanf_s @1604 + setbuf=MSVCRT_setbuf @1605 + setlocale=MSVCRT_setlocale @1606 + setvbuf=MSVCRT_setvbuf @1607 + signal=MSVCRT_signal @1608 + sin=MSVCRT_sin @1609 + sinh=MSVCRT_sinh @1610 + sprintf=MSVCRT_sprintf @1611 + sprintf_s=MSVCRT_sprintf_s @1612 + sqrt=MSVCRT_sqrt @1613 + srand=MSVCRT_srand @1614 + sscanf=MSVCRT_sscanf @1615 + sscanf_s=MSVCRT_sscanf_s @1616 + strcat=ntdll.strcat @1617 + strcat_s=MSVCRT_strcat_s @1618 + strchr=MSVCRT_strchr @1619 + strcmp=MSVCRT_strcmp @1620 + strcoll=MSVCRT_strcoll @1621 + strcpy=MSVCRT_strcpy @1622 + strcpy_s=MSVCRT_strcpy_s @1623 + strcspn=ntdll.strcspn @1624 + strerror=MSVCRT_strerror @1625 + strerror_s=MSVCRT_strerror_s @1626 + strftime=MSVCRT_strftime @1627 + strlen=MSVCRT_strlen @1628 + strncat=MSVCRT_strncat @1629 + strncat_s=MSVCRT_strncat_s @1630 + strncmp=MSVCRT_strncmp @1631 + strncpy=MSVCRT_strncpy @1632 + strncpy_s=MSVCRT_strncpy_s @1633 + strnlen=MSVCRT_strnlen @1634 + strpbrk=ntdll.strpbrk @1635 + strrchr=MSVCRT_strrchr @1636 + strspn=ntdll.strspn @1637 + strstr=MSVCRT_strstr @1638 + strtod=MSVCRT_strtod @1639 + strtok=MSVCRT_strtok @1640 + strtok_s=MSVCRT_strtok_s @1641 + strtol=MSVCRT_strtol @1642 + strtoul=MSVCRT_strtoul @1643 + strxfrm=MSVCRT_strxfrm @1644 + swprintf_s=MSVCRT_swprintf_s @1645 + swscanf=MSVCRT_swscanf @1646 + swscanf_s=MSVCRT_swscanf_s @1647 + system=MSVCRT_system @1648 + tan=MSVCRT_tan @1649 + tanh=MSVCRT_tanh @1650 + tmpfile=MSVCRT_tmpfile @1651 + tmpfile_s=MSVCRT_tmpfile_s @1652 + tmpnam=MSVCRT_tmpnam @1653 + tmpnam_s=MSVCRT_tmpnam_s @1654 + tolower=MSVCRT_tolower @1655 + toupper=MSVCRT_toupper @1656 + towlower=MSVCRT_towlower @1657 + towupper=MSVCRT_towupper @1658 + ungetc=MSVCRT_ungetc @1659 + ungetwc=MSVCRT_ungetwc @1660 + vfprintf=MSVCRT_vfprintf @1661 + vfprintf_s=MSVCRT_vfprintf_s @1662 + vfwprintf=MSVCRT_vfwprintf @1663 + vfwprintf_s=MSVCRT_vfwprintf_s @1664 + vprintf=MSVCRT_vprintf @1665 + vprintf_s=MSVCRT_vprintf_s @1666 + vsprintf=MSVCRT_vsprintf @1667 + vsprintf_s=MSVCRT_vsprintf_s @1668 + vswprintf_s=MSVCRT_vswprintf_s @1669 + vwprintf=MSVCRT_vwprintf @1670 + vwprintf_s=MSVCRT_vwprintf_s @1671 + wcrtomb=MSVCRT_wcrtomb @1672 + wcscat=ntdll.wcscat @1674 + wcscat_s=MSVCRT_wcscat_s @1675 + wcschr=MSVCRT_wcschr @1676 + wcscmp=ntdll.wcscmp @1677 + wcscoll=MSVCRT_wcscoll @1678 + wcscpy=ntdll.wcscpy @1679 + wcscpy_s=MSVCRT_wcscpy_s @1680 + wcscspn=ntdll.wcscspn @1681 + wcsftime=MSVCRT_wcsftime @1682 + wcslen=MSVCRT_wcslen @1683 + wcsncat=ntdll.wcsncat @1684 + wcsncat_s=MSVCRT_wcsncat_s @1685 + wcsncmp=MSVCRT_wcsncmp @1686 + wcsncpy=MSVCRT_wcsncpy @1687 + wcsncpy_s=MSVCRT_wcsncpy_s @1688 + wcsnlen=MSVCRT_wcsnlen @1689 + wcspbrk=MSVCRT_wcspbrk @1690 + wcsrchr=ntdll.wcsrchr @1691 + wcsrtombs=MSVCRT_wcsrtombs @1692 + wcsrtombs_s=MSVCRT_wcsrtombs_s @1693 + wcsspn=ntdll.wcsspn @1694 + wcsstr=MSVCRT_wcsstr @1695 + wcstod=MSVCRT_wcstod @1696 + wcstok=MSVCRT_wcstok @1697 + wcstok_s=MSVCRT_wcstok_s @1698 + wcstol=ntdll.wcstol @1699 + wcstombs=MSVCRT_wcstombs @1700 + wcstombs_s=MSVCRT_wcstombs_s @1701 + wcstoul=MSVCRT_wcstoul @1702 + wcsxfrm=MSVCRT_wcsxfrm @1703 + wctob=MSVCRT_wctob @1704 + wctomb=MSVCRT_wctomb @1705 + wctomb_s=MSVCRT_wctomb_s @1706 + wmemcpy_s @1707 + wmemmove_s @1708 + wprintf=MSVCRT_wprintf @1709 + wprintf_s=MSVCRT_wprintf_s @1710 + wscanf=MSVCRT_wscanf @1711 + wscanf_s=MSVCRT_wscanf_s @1712 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr120.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr120.def new file mode 100644 index 0000000..686fa7c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr120.def @@ -0,0 +1,1443 @@ +; File generated automatically from ./dlls/msvcr120/msvcr120.spec; do not edit! + +LIBRARY msvcr120.dll + +EXPORTS + ??0?$_SpinWait@$00@details@Concurrency@@QAE@P6AXXZ@Z=__thiscall_SpinWait_ctor_yield @1 + ??0?$_SpinWait@$0A@@details@Concurrency@@QAE@P6AXXZ@Z=__thiscall_SpinWait_ctor @2 + ??0SchedulerPolicy@Concurrency@@QAA@IZZ=SchedulerPolicy_ctor_policies @3 + ??0SchedulerPolicy@Concurrency@@QAE@ABV01@@Z=__thiscall_SchedulerPolicy_copy_ctor @4 + ??0SchedulerPolicy@Concurrency@@QAE@XZ=__thiscall_SchedulerPolicy_ctor @5 + ??0_Condition_variable@details@Concurrency@@QAE@XZ=__thiscall__Condition_variable_ctor @7 + ??0_NonReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_ctor @11 + ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_ctor @14 + ??0_Scheduler@details@Concurrency@@QAE@PAVScheduler@2@@Z=__thiscall__Scheduler_ctor_sched @17 + ??0__non_rtti_object@std@@QAE@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @25 + ??0__non_rtti_object@std@@QAE@PBD@Z=__thiscall_MSVCRT___non_rtti_object_ctor @26 + ??0bad_cast@std@@AAE@PBQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @27 + ??0bad_cast@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @28 + ??0bad_cast@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @29 + ??0bad_typeid@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @32 + ??0bad_typeid@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @33 + ??0critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_ctor @38 + ??0event@Concurrency@@QAE@XZ=__thiscall_event_ctor @41 + ??0exception@std@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @42 + ??0exception@std@@QAE@ABQBDH@Z=__thiscall_MSVCRT_exception_ctor_noalloc @43 + ??0exception@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_exception_copy_ctor @44 + ??0exception@std@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @45 + ??0improper_lock@Concurrency@@QAE@PBD@Z=__thiscall_improper_lock_ctor_str @46 + ??0improper_lock@Concurrency@@QAE@XZ=__thiscall_improper_lock_ctor @47 + ??0improper_scheduler_attach@Concurrency@@QAE@PBD@Z=__thiscall_improper_scheduler_attach_ctor_str @48 + ??0improper_scheduler_attach@Concurrency@@QAE@XZ=__thiscall_improper_scheduler_attach_ctor @49 + ??0improper_scheduler_detach@Concurrency@@QAE@PBD@Z=__thiscall_improper_scheduler_detach_ctor_str @50 + ??0improper_scheduler_detach@Concurrency@@QAE@XZ=__thiscall_improper_scheduler_detach_ctor @51 + ??0invalid_scheduler_policy_key@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_key_ctor_str @62 + ??0invalid_scheduler_policy_key@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_key_ctor @63 + ??0invalid_scheduler_policy_thread_specification@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_thread_specification_ctor_str @64 + ??0invalid_scheduler_policy_thread_specification@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_thread_specification_ctor @65 + ??0invalid_scheduler_policy_value@Concurrency@@QAE@PBD@Z=__thiscall_invalid_scheduler_policy_value_ctor_str @66 + ??0invalid_scheduler_policy_value@Concurrency@@QAE@XZ=__thiscall_invalid_scheduler_policy_value_ctor @67 + ??0reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_ctor @76 + ??0scheduler_resource_allocation_error@Concurrency@@QAE@J@Z=__thiscall_scheduler_resource_allocation_error_ctor @79 + ??0scheduler_resource_allocation_error@Concurrency@@QAE@PBDJ@Z=__thiscall_scheduler_resource_allocation_error_ctor_name @80 + ??0scoped_lock@critical_section@Concurrency@@QAE@AAV12@@Z=__thiscall_critical_section_scoped_lock_ctor @83 + ??0scoped_lock@reader_writer_lock@Concurrency@@QAE@AAV12@@Z=__thiscall_reader_writer_lock_scoped_lock_ctor @84 + ??0scoped_lock_read@reader_writer_lock@Concurrency@@QAE@AAV12@@Z=__thiscall_reader_writer_lock_scoped_lock_read_ctor @85 + ??1SchedulerPolicy@Concurrency@@QAE@XZ=__thiscall_SchedulerPolicy_dtor @90 + ??1_Condition_variable@details@Concurrency@@QAE@XZ=__thiscall__Condition_variable_dtor @92 + ??1_NonReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_dtor @93 + ??1_ReentrantBlockingLock@details@Concurrency@@QAE@XZ=__thiscall__ReentrantBlockingLock_dtor @94 + ??1__non_rtti_object@std@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @101 + ??1bad_cast@std@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @102 + ??1bad_typeid@std@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @103 + ??1critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_dtor @104 + ??1event@Concurrency@@QAE@XZ=__thiscall_event_dtor @105 + ??1exception@std@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @106 + ??1reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_dtor @107 + ??1scoped_lock@critical_section@Concurrency@@QAE@XZ=__thiscall_critical_section_scoped_lock_dtor @108 + ??1scoped_lock@reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_scoped_lock_dtor @109 + ??1scoped_lock_read@reader_writer_lock@Concurrency@@QAE@XZ=__thiscall_reader_writer_lock_scoped_lock_read_dtor @110 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @111 + ??2@YAPAXI@Z=MSVCRT_operator_new @112 + ??2@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @113 + ??3@YAXPAX@Z=MSVCRT_operator_delete @114 + ??4SchedulerPolicy@Concurrency@@QAEAAV01@ABV01@@Z=__thiscall_SchedulerPolicy_op_assign @118 + ??4__non_rtti_object@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @119 + ??4bad_cast@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_cast_opequals @120 + ??4bad_typeid@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_opequals @121 + ??4exception@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_exception_opequals @122 + ??8type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @123 + ??9type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @124 + ??_7__non_rtti_object@std@@6B@=MSVCRT___non_rtti_object_vtable @125 DATA + ??_7bad_cast@std@@6B@=MSVCRT_bad_cast_vtable @126 DATA + ??_7bad_typeid@std@@6B@=MSVCRT_bad_typeid_vtable @127 DATA + ??_7exception@std@@6B@=MSVCRT_exception_vtable @128 DATA + ??_F?$_SpinWait@$00@details@Concurrency@@QAEXXZ=__thiscall_SpinWait_dtor @129 + ??_F?$_SpinWait@$0A@@details@Concurrency@@QAEXXZ=__thiscall_SpinWait_dtor @130 + ??_F_Scheduler@details@Concurrency@@QAEXXZ=__thiscall__Scheduler_ctor @132 + ??_Fbad_cast@std@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @133 + ??_Fbad_typeid@std@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @134 + ??_U@YAPAXI@Z=MSVCRT_operator_new @135 + ??_U@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @136 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @137 + ?Alloc@Concurrency@@YAPAXI@Z=Concurrency_Alloc @139 + ?Block@Context@Concurrency@@SAXXZ=Context_Block @140 + ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z=CurrentScheduler_Create @142 + ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z=Scheduler_Create @143 + ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@AAVlocation@2@@Z=CurrentScheduler_CreateScheduleGroup_loc @145 + ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ=CurrentScheduler_CreateScheduleGroup @146 + ?CurrentContext@Context@Concurrency@@SAPAV12@XZ=Context_CurrentContext @147 + ?Detach@CurrentScheduler@Concurrency@@SAXXZ=CurrentScheduler_Detach @148 + ?Free@Concurrency@@YAXPAX@Z=Concurrency_Free @151 + ?Get@CurrentScheduler@Concurrency@@SAPAVScheduler@2@XZ=CurrentScheduler_Get @152 + ?GetNumberOfVirtualProcessors@CurrentScheduler@Concurrency@@SAIXZ=CurrentScheduler_GetNumberOfVirtualProcessors @155 + ?GetPolicy@CurrentScheduler@Concurrency@@SA?AVSchedulerPolicy@2@XZ=CurrentScheduler_GetPolicy @157 + ?GetPolicyValue@SchedulerPolicy@Concurrency@@QBEIW4PolicyElementKey@2@@Z=__thiscall_SchedulerPolicy_GetPolicyValue @158 + ?Id@Context@Concurrency@@SAIXZ=Context_Id @163 + ?Id@CurrentScheduler@Concurrency@@SAIXZ=CurrentScheduler_Id @164 + ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z=CurrentScheduler_IsAvailableLocation @165 + ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ=Context_IsCurrentTaskCollectionCanceling @166 + ?Oversubscribe@Context@Concurrency@@SAX_N@Z=Context_Oversubscribe @168 + ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z=CurrentScheduler_RegisterShutdownEvent @169 + ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ=Scheduler_ResetDefaultSchedulerPolicy @170 + ?ScheduleGroupId@Context@Concurrency@@SAIXZ=Context_ScheduleGroupId @171 + ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z=CurrentScheduler_ScheduleTask @172 + ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z=CurrentScheduler_ScheduleTask_loc @173 + ?SetConcurrencyLimits@SchedulerPolicy@Concurrency@@QAEXII@Z=__thiscall_SchedulerPolicy_SetConcurrencyLimits @174 + ?SetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z=Scheduler_SetDefaultSchedulerPolicy @175 + ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z=__thiscall_SchedulerPolicy_SetPolicyValue @176 + ?VirtualProcessorId@Context@Concurrency@@SAIXZ=Context_VirtualProcessorId @177 + ?Yield@Context@Concurrency@@SAXXZ=Context_Yield @178 + ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Acquire @180 + ?_Acquire@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Acquire @182 + ?_DoYield@?$_SpinWait@$00@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__DoYield @201 + ?_DoYield@?$_SpinWait@$0A@@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__DoYield @202 + ?_Get@_CurrentScheduler@details@Concurrency@@SA?AV_Scheduler@23@XZ=_CurrentScheduler__Get @203 + ?_GetConcurrency@details@Concurrency@@YAIXZ=_GetConcurrency @205 + ?_GetNumberOfVirtualProcessors@_CurrentScheduler@details@Concurrency@@SAIXZ=_CurrentScheduler__GetNumberOfVirtualProcessors @207 + ?_GetScheduler@_Scheduler@details@Concurrency@@QAEPAVScheduler@3@XZ=__thiscall__Scheduler__GetScheduler @208 + ?_Id@_CurrentScheduler@details@Concurrency@@SAIXZ=_CurrentScheduler__Id @209 + ?_NumberOfSpins@?$_SpinWait@$00@details@Concurrency@@IAEKXZ=__thiscall_SpinWait__NumberOfSpins @216 + ?_NumberOfSpins@?$_SpinWait@$0A@@details@Concurrency@@IAEKXZ=__thiscall_SpinWait__NumberOfSpins @217 + ?_Reference@_Scheduler@details@Concurrency@@QAEIXZ=__thiscall__Scheduler__Reference @219 + ?_Release@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Release @220 + ?_Release@_ReentrantBlockingLock@details@Concurrency@@QAEXXZ=__thiscall__ReentrantBlockingLock__Release @222 + ?_Release@_Scheduler@details@Concurrency@@QAEIXZ=__thiscall__Scheduler__Release @225 + ?_Reset@?$_SpinWait@$00@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__Reset @229 + ?_Reset@?$_SpinWait@$0A@@details@Concurrency@@IAEXXZ=__thiscall_SpinWait__Reset @230 + ?_ScheduleTask@_CurrentScheduler@details@Concurrency@@SAXP6AXPAX@Z0@Z=_CurrentScheduler__ScheduleTask @237 + ?_SetSpinCount@?$_SpinWait@$00@details@Concurrency@@QAEXI@Z=__thiscall_SpinWait__SetSpinCount @238 + ?_SetSpinCount@?$_SpinWait@$0A@@details@Concurrency@@QAEXI@Z=__thiscall_SpinWait__SetSpinCount @239 + ?_ShouldSpinAgain@?$_SpinWait@$00@details@Concurrency@@IAE_NXZ=__thiscall_SpinWait__ShouldSpinAgain @241 + ?_ShouldSpinAgain@?$_SpinWait@$0A@@details@Concurrency@@IAE_NXZ=__thiscall_SpinWait__ShouldSpinAgain @242 + ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QAE_NXZ=__thiscall_SpinWait__SpinOnce @243 + ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ=__thiscall_SpinWait__SpinOnce @244 + ?_SpinYield@Context@Concurrency@@SAXXZ=Context__SpinYield @245 + ?_Trace_ppl_function@Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType@1@@Z=Concurrency__Trace_ppl_function @250 + ?_TryAcquire@_NonReentrantBlockingLock@details@Concurrency@@QAE_NXZ=__thiscall__ReentrantBlockingLock__TryAcquire @251 + ?_TryAcquire@_ReentrantBlockingLock@details@Concurrency@@QAE_NXZ=__thiscall__ReentrantBlockingLock__TryAcquire @252 + ?_Value@_SpinCount@details@Concurrency@@SAIXZ=SpinCount__Value @261 + ?__ExceptionPtrAssign@@YAXPAXPBX@Z=__ExceptionPtrAssign @263 + ?__ExceptionPtrCompare@@YA_NPBX0@Z=__ExceptionPtrCompare @264 + ?__ExceptionPtrCopy@@YAXPAXPBX@Z=__ExceptionPtrCopy @265 + ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z=__ExceptionPtrCopyException @266 + ?__ExceptionPtrCreate@@YAXPAX@Z=__ExceptionPtrCreate @267 + ?__ExceptionPtrCurrentException@@YAXPAX@Z=__ExceptionPtrCurrentException @268 + ?__ExceptionPtrDestroy@@YAXPAX@Z=__ExceptionPtrDestroy @269 + ?__ExceptionPtrRethrow@@YAXPBX@Z=__ExceptionPtrRethrow @270 + ?__ExceptionPtrToBool@@YA_NPBX@Z=__ExceptionPtrToBool @272 + __uncaught_exception=MSVCRT___uncaught_exception @273 + ?_invalid_parameter@@YAXPBG00II@Z=MSVCRT__invalid_parameter @275 + ?_is_exception_typeof@@YAHABVtype_info@@PAU_EXCEPTION_POINTERS@@@Z=_is_exception_typeof @276 + ?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @277 + ?_open@@YAHPBDHH@Z=MSVCRT__open @278 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @279 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @280 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @282 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @283 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @285 + ?_sopen@@YAHPBDHHH@Z=MSVCRT__sopen @286 + ?_wopen@@YAHPB_WHH@Z=MSVCRT__wopen @288 + ?_wsopen@@YAHPB_WHHH@Z=MSVCRT__wsopen @289 + ?before@type_info@@QBE_NABV1@@Z=__thiscall_MSVCRT_type_info_before @290 + ?get_error_code@scheduler_resource_allocation_error@Concurrency@@QBEJXZ=__thiscall_scheduler_resource_allocation_error_get_error_code @293 + ?lock@critical_section@Concurrency@@QAEXXZ=__thiscall_critical_section_lock @294 + ?lock@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_lock @295 + ?lock_read@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_lock_read @296 + ?name@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @297 + ?native_handle@critical_section@Concurrency@@QAEAAV12@XZ=__thiscall_critical_section_native_handle @298 + ?notify_all@_Condition_variable@details@Concurrency@@QAEXXZ=__thiscall__Condition_variable_notify_all @299 + ?notify_one@_Condition_variable@details@Concurrency@@QAEXXZ=__thiscall__Condition_variable_notify_one @300 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @301 + ?reset@event@Concurrency@@QAEXXZ=__thiscall_event_reset @302 + ?set@event@Concurrency@@QAEXXZ=__thiscall_event_set @303 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @304 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @308 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @310 + ?swprintf@@YAHPAGIPBGZZ=MSVCRT__snwprintf @311 + ?swprintf@@YAHPA_WIPB_WZZ=MSVCRT__snwprintf @312 + ?terminate@@YAXXZ=MSVCRT_terminate @313 + ?try_lock@critical_section@Concurrency@@QAE_NXZ=__thiscall_critical_section_try_lock @314 + ?try_lock@reader_writer_lock@Concurrency@@QAE_NXZ=__thiscall_reader_writer_lock_try_lock @315 + ?try_lock_for@critical_section@Concurrency@@QAE_NI@Z=__thiscall_critical_section_try_lock_for @316 + ?try_lock_read@reader_writer_lock@Concurrency@@QAE_NXZ=__thiscall_reader_writer_lock_try_lock_read @317 + ?unexpected@@YAXXZ=MSVCRT_unexpected @318 + ?unlock@critical_section@Concurrency@@QAEXXZ=__thiscall_critical_section_unlock @319 + ?unlock@reader_writer_lock@Concurrency@@QAEXXZ=__thiscall_reader_writer_lock_unlock @320 + ?vswprintf@@YAHPA_WIPB_WPAD@Z=MSVCRT_vsnwprintf @321 + ?wait@_Condition_variable@details@Concurrency@@QAEXAAVcritical_section@3@@Z=__thiscall__Condition_variable_wait @323 + ?wait@event@Concurrency@@QAEII@Z=__thiscall_event_wait @324 + ?wait_for@_Condition_variable@details@Concurrency@@QAE_NAAVcritical_section@3@I@Z=__thiscall__Condition_variable_wait_for @325 + ?wait_for_multiple@event@Concurrency@@SAIPAPAV12@I_NI@Z=event_wait_for_multiple @326 + ?what@exception@std@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @327 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @328 + _CIacos @329 + _CIasin @330 + _CIatan @331 + _CIatan2 @332 + _CIcos @333 + _CIcosh @334 + _CIexp @335 + _CIfmod @336 + _CIlog @337 + _CIlog10 @338 + _CIpow @339 + _CIsin @340 + _CIsinh @341 + _CIsqrt @342 + _CItan @343 + _CItanh @344 + _CRT_RTC_INIT @345 + _CRT_RTC_INITW @346 + _CreateFrameInfo @348 + _CxxThrowException@8 @349 + _EH_prolog @350 + _FindAndUnlinkFrame @352 + _Getdays @353 + _Getmonths @354 + _Gettnames @355 + _HUGE=MSVCRT__HUGE @356 DATA + _IsExceptionObjectToBeDestroyed @357 + _Strftime @363 + _W_Getdays @364 + _W_Getmonths @365 + _W_Gettnames @366 + _Wcsftime @367 + _XcptFilter @368 + __AdjustPointer @369 + __CppXcptFilter @372 + __CxxDetectRethrow @373 + __CxxExceptionFilter @374 + __CxxFrameHandler @375 + __CxxFrameHandler2=__CxxFrameHandler @376 + __CxxFrameHandler3=__CxxFrameHandler @377 + __CxxLongjmpUnwind@4 @378 + __CxxQueryExceptionSize @379 + __CxxRegisterExceptionObject @380 + __CxxUnregisterExceptionObject @381 + __DestructExceptionObject @382 + __RTCastToVoid=MSVCRT___RTCastToVoid @385 + __RTDynamicCast=MSVCRT___RTDynamicCast @386 + __RTtypeid=MSVCRT___RTtypeid @387 + __STRINGTOLD @388 + ___lc_codepage_func @391 + ___lc_collate_cp_func @392 + ___lc_locale_name_func @393 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @394 + ___mb_cur_max_l_func @395 + ___setlc_active_func=MSVCRT____setlc_active_func @396 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @397 + __argc=MSVCRT___argc @398 DATA + __argv=MSVCRT___argv @399 DATA + __badioinfo=MSVCRT___badioinfo @400 DATA + __clean_type_info_names_internal @401 + __control87_2 @402 + __crtCompareStringA @404 + __crtCompareStringW @406 + __crtGetLocaleInfoEx @417 + __crtGetShowWindowMode=MSVCR110__crtGetShowWindowMode @418 + __crtInitializeCriticalSectionEx=MSVCR110__crtInitializeCriticalSectionEx @422 + __crtLCMapStringA @425 + __crtLCMapStringW @427 + __crtSetUnhandledExceptionFilter=MSVCR110__crtSetUnhandledExceptionFilter @430 + __crtTerminateProcess=MSVCR110__crtTerminateProcess @431 + __crtSleep=MSVCRT__crtSleep @432 + __crtUnhandledException=MSVCRT__crtUnhandledException @433 + __daylight=MSVCRT___p__daylight @434 + __dllonexit @435 + __doserrno=MSVCRT___doserrno @436 + __dstbias=MSVCRT___p__dstbias @437 + __fpecode @438 + __getmainargs @443 + __initenv=MSVCRT___initenv @444 DATA + __iob_func=MSVCRT___iob_func @445 + __isascii=MSVCRT___isascii @446 + __iscsym=MSVCRT___iscsym @447 + __iscsymf=MSVCRT___iscsymf @448 + __lconv_init @451 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @452 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @453 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @454 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @455 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @456 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @457 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @458 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @459 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @460 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @461 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @462 + __libm_sse2_log=MSVCRT___libm_sse2_log @463 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @464 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @465 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @466 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @467 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @468 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @469 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @470 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @471 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @472 + __mb_cur_max=MSVCRT___mb_cur_max @473 DATA + __p___argc=MSVCRT___p___argc @474 + __p___argv=MSVCRT___p___argv @475 + __p___initenv @476 + __p___mb_cur_max @477 + __p___wargv=MSVCRT___p___wargv @478 + __p___winitenv @479 + __p__acmdln @480 + __p__commode @481 + __p__daylight=MSVCRT___p__daylight @482 + __p__dstbias=MSVCRT___p__dstbias @483 + __p__environ=MSVCRT___p__environ @484 + __p__fmode @485 + __p__iob=MSVCRT___iob_func @486 + __p__mbctype @488 + __p__pctype=MSVCRT___p__pctype @489 + __p__pgmptr=MSVCRT___p__pgmptr @490 + __p__timezone=MSVCRT___p__timezone @492 + __p__tzname @493 + __p__wcmdln @494 + __p__wenviron=MSVCRT___p__wenviron @495 + __p__wpgmptr=MSVCRT___p__wpgmptr @496 + __pctype_func=MSVCRT___pctype_func @497 + __pioinfo=MSVCRT___pioinfo @498 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @500 + __set_app_type=MSVCRT___set_app_type @502 + __setlc_active=MSVCRT___setlc_active @503 DATA + __setusermatherr=MSVCRT___setusermatherr @504 + __swprintf_l=MSVCRT___swprintf_l @506 + __sys_errlist @507 + __sys_nerr @508 + __threadhandle=kernel32.GetCurrentThread @509 + __threadid=kernel32.GetCurrentThreadId @510 + __timezone=MSVCRT___p__timezone @511 + __toascii=MSVCRT___toascii @512 + __tzname=__p__tzname @513 + __unDName @514 + __unDNameEx @515 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @517 DATA + __vswprintf_l=MSVCRT_vswprintf_l @518 + __wargv=MSVCRT___wargv @519 DATA + __wcserror=MSVCRT___wcserror @520 + __wcserror_s=MSVCRT___wcserror_s @521 + __wgetmainargs @523 + __winitenv=MSVCRT___winitenv @524 DATA + _abnormal_termination @525 + _abs64 @526 + _access=MSVCRT__access @527 + _access_s=MSVCRT__access_s @528 + _acmdln=MSVCRT__acmdln @529 DATA + _aligned_free @530 + _aligned_malloc @531 + _aligned_msize @532 + _aligned_offset_malloc @533 + _aligned_offset_realloc @534 + _aligned_realloc @536 + _amsg_exit @538 + _assert=MSVCRT__assert @539 + _atodbl=MSVCRT__atodbl @540 + _atodbl_l=MSVCRT__atodbl_l @541 + _atof_l=MSVCRT__atof_l @542 + _atoflt=MSVCRT__atoflt @543 + _atoflt_l=MSVCRT__atoflt_l @544 + _atoi64=ntdll._atoi64 @545 + _atoi_l=MSVCRT__atoi_l @547 + _atoldbl=MSVCRT__atoldbl @549 + _atoll_l=MSVCRT__atoll_l @551 + _beep=MSVCRT__beep @552 + _beginthread @553 + _beginthreadex @554 + _byteswap_uint64 @555 + _byteswap_ulong=MSVCRT__byteswap_ulong @556 + _byteswap_ushort @557 + _c_exit=MSVCRT__c_exit @558 + _cabs=MSVCRT__cabs @559 + _callnewh @560 + _calloc_crt=MSVCRT_calloc @561 + _cexit=MSVCRT__cexit @562 + _cgets @563 + _chdir=MSVCRT__chdir @567 + _chdrive=MSVCRT__chdrive @568 + _chgsign=MSVCRT__chgsign @569 + _chgsignf=MSVCRT__chgsignf @570 + _chkesp @571 + _chmod=MSVCRT__chmod @572 + _chsize=MSVCRT__chsize @573 + _chsize_s=MSVCRT__chsize_s @574 + _clearfp @575 + _close=MSVCRT__close @576 + _commit=MSVCRT__commit @577 + _commode=MSVCRT__commode @578 DATA + _configthreadlocale @579 + _control87 @580 + _controlfp @581 + _controlfp_s @582 + _copysign=MSVCRT__copysign @583 + _copysignf=MSVCRT__copysignf @584 + _cprintf @585 + _cputs @591 + _cputws @592 + _creat=MSVCRT__creat @593 + _create_locale=MSVCRT__create_locale @594 + _crt_debugger_hook=MSVCRT__crt_debugger_hook @595 + _cscanf @596 + _cscanf_l @597 + _cscanf_s @598 + _cscanf_s_l @599 + _ctime32=MSVCRT__ctime32 @600 + _ctime32_s=MSVCRT__ctime32_s @601 + _ctime64=MSVCRT__ctime64 @602 + _ctime64_s=MSVCRT__ctime64_s @603 + _cwait @604 + _cwprintf @605 + _cwscanf @611 + _cwscanf_l @612 + _cwscanf_s @613 + _cwscanf_s_l @614 + _daylight=MSVCRT___daylight @615 DATA + _dclass=MSVCR120__dclass @616 + _difftime32=MSVCRT__difftime32 @617 + _difftime64=MSVCRT__difftime64 @618 + _dpcomp=MSVCR120__dpcomp @620 + _dsign=MSVCR120__dsign @621 + _dstbias=MSVCRT__dstbias @622 DATA + _dtest=MSVCR120__dtest @623 + _dup=MSVCRT__dup @624 + _dup2=MSVCRT__dup2 @625 + _dupenv_s @626 + _ecvt=MSVCRT__ecvt @627 + _ecvt_s=MSVCRT__ecvt_s @628 + _endthread @629 + _endthreadex @630 + _environ=MSVCRT__environ @631 DATA + _eof=MSVCRT__eof @632 + _errno=MSVCRT__errno @633 + _except1 @634 + _except_handler2 @635 + _except_handler3 @636 + _except_handler4_common @637 + _execl @638 + _execle @639 + _execlp @640 + _execlpe @641 + _execv @642 + _execve=MSVCRT__execve @643 + _execvp @644 + _execvpe @645 + _exit=MSVCRT__exit @646 + _expand @647 + _fclose_nolock=MSVCRT__fclose_nolock @648 + _fcloseall=MSVCRT__fcloseall @649 + _fcvt=MSVCRT__fcvt @650 + _fcvt_s=MSVCRT__fcvt_s @651 + _fdclass=MSVCR120__fdclass @652 + _fdopen=MSVCRT__fdopen @653 + _fdpcomp=MSVCR120__fdpcomp @654 + _fdsign=MSVCR120__fdsign @655 + _fdtest=MSVCR120__fdtest @656 + _fflush_nolock=MSVCRT__fflush_nolock @657 + _fgetc_nolock=MSVCRT__fgetc_nolock @658 + _fgetchar=MSVCRT__fgetchar @659 + _fgetwc_nolock=MSVCRT__fgetwc_nolock @660 + _fgetwchar=MSVCRT__fgetwchar @661 + _filbuf=MSVCRT__filbuf @662 + _filelength=MSVCRT__filelength @663 + _filelengthi64=MSVCRT__filelengthi64 @664 + _fileno=MSVCRT__fileno @665 + _findclose=MSVCRT__findclose @666 + _findfirst32=MSVCRT__findfirst32 @667 + _findfirst64=MSVCRT__findfirst64 @669 + _findfirst64i32=MSVCRT__findfirst64i32 @670 + _findnext32=MSVCRT__findnext32 @671 + _findnext64=MSVCRT__findnext64 @673 + _findnext64i32=MSVCRT__findnext64i32 @674 + _finite=MSVCRT__finite @675 + _flsbuf=MSVCRT__flsbuf @676 + _flushall=MSVCRT__flushall @677 + _fmode=MSVCRT__fmode @678 DATA + _fpclass=MSVCRT__fpclass @679 + _fpieee_flt @680 + _fpreset @681 + _fputc_nolock=MSVCRT__fputc_nolock @686 + _fputchar=MSVCRT__fputchar @687 + _fputwc_nolock=MSVCRT__fputwc_nolock @688 + _fputwchar=MSVCRT__fputwchar @689 + _fread_nolock=MSVCRT__fread_nolock @690 + _fread_nolock_s=MSVCRT__fread_nolock_s @691 + _free_locale=MSVCRT__free_locale @692 + _fscanf_l=MSVCRT__fscanf_l @696 + _fscanf_s_l=MSVCRT__fscanf_s_l @697 + _fseek_nolock=MSVCRT__fseek_nolock @698 + _fseeki64=MSVCRT__fseeki64 @699 + _fseeki64_nolock=MSVCRT__fseeki64_nolock @700 + _fsopen=MSVCRT__fsopen @701 + _fstat32=MSVCRT__fstat32 @702 + _fstat32i64=MSVCRT__fstat32i64 @703 + _fstat64=MSVCRT__fstat64 @704 + _fstat64i32=MSVCRT__fstat64i32 @705 + _ftell_nolock=MSVCRT__ftell_nolock @706 + _ftelli64=MSVCRT__ftelli64 @707 + _ftelli64_nolock=MSVCRT__ftelli64_nolock @708 + _ftime32=MSVCRT__ftime32 @709 + _ftime32_s=MSVCRT__ftime32_s @710 + _ftime64=MSVCRT__ftime64 @711 + _ftime64_s=MSVCRT__ftime64_s @712 + _ftol=MSVCRT__ftol @713 + _fullpath=MSVCRT__fullpath @714 + _futime32 @715 + _futime64 @716 + _fwprintf_l=MSVCRT__fwprintf_l @717 + _fwrite_nolock=MSVCRT__fwrite_nolock @721 + _fwscanf_l=MSVCRT__fwscanf_l @722 + _fwscanf_s_l=MSVCRT__fwscanf_s_l @723 + _gcvt=MSVCRT__gcvt @724 + _gcvt_s=MSVCRT__gcvt_s @725 + _get_current_locale=MSVCRT__get_current_locale @726 + _get_daylight @727 + _get_doserrno @728 + _get_dstbias=MSVCRT__get_dstbias @729 + _get_errno @730 + _get_fmode=MSVCRT__get_fmode @731 + _get_heap_handle @732 + _get_invalid_parameter_handler @733 + _get_osfhandle=MSVCRT__get_osfhandle @734 + _get_output_format=MSVCRT__get_output_format @735 + _get_pgmptr @736 + _get_printf_count_output=MSVCRT__get_printf_count_output @737 + _get_terminate=MSVCRT__get_terminate @739 + _get_timezone @740 + _get_tzname=MSVCRT__get_tzname @741 + _get_unexpected=MSVCRT__get_unexpected @742 + _get_wpgmptr @743 + _getc_nolock=MSVCRT__fgetc_nolock @744 + _getch @745 + _getch_nolock @746 + _getche @747 + _getche_nolock @748 + _getcwd=MSVCRT__getcwd @749 + _getdcwd=MSVCRT__getdcwd @750 + _getdiskfree=MSVCRT__getdiskfree @751 + _getdllprocaddr @752 + _getdrive=MSVCRT__getdrive @753 + _getdrives=kernel32.GetLogicalDrives @754 + _getmaxstdio=MSVCRT__getmaxstdio @755 + _getmbcp @756 + _getpid @757 + _getptd @758 + _getw=MSVCRT__getw @760 + _getwc_nolock=MSVCRT__fgetwc_nolock @761 + _getwch @762 + _getwch_nolock @763 + _getwche @764 + _getwche_nolock @765 + _getws=MSVCRT__getws @766 + _global_unwind2 @768 + _gmtime32=MSVCRT__gmtime32 @769 + _gmtime32_s=MSVCRT__gmtime32_s @770 + _gmtime64=MSVCRT__gmtime64 @771 + _gmtime64_s=MSVCRT__gmtime64_s @772 + _heapadd @773 + _heapchk @774 + _heapmin @775 + _heapset @776 + _heapwalk @778 + _hypot @779 + _hypotf=MSVCRT__hypotf @780 + _i64toa=ntdll._i64toa @781 + _i64toa_s=MSVCRT__i64toa_s @782 + _i64tow=ntdll._i64tow @783 + _i64tow_s=MSVCRT__i64tow_s @784 + _initterm @786 + _initterm_e @787 + _invalid_parameter=MSVCRT__invalid_parameter @791 + _invalid_parameter_noinfo @792 + _invalid_parameter_noinfo_noreturn @793 + _iob=MSVCRT__iob @795 DATA + _isalnum_l=MSVCRT__isalnum_l @796 + _isalpha_l=MSVCRT__isalpha_l @797 + _isatty=MSVCRT__isatty @798 + _isblank_l=MSVCRT__isblank_l @799 + _iscntrl_l=MSVCRT__iscntrl_l @800 + _isctype=MSVCRT__isctype @801 + _isctype_l=MSVCRT__isctype_l @802 + _isdigit_l=MSVCRT__isdigit_l @803 + _isgraph_l=MSVCRT__isgraph_l @804 + _isleadbyte_l=MSVCRT__isleadbyte_l @805 + _islower_l=MSVCRT__islower_l @806 + _ismbbkana @817 + _ismbblead @823 + _ismbblead_l @824 + _ismbbtrail @829 + _ismbcalnum @831 + _ismbcalpha @833 + _ismbcdigit @837 + _ismbcgraph @839 + _ismbchira @841 + _ismbckata @843 + _ismbcl0 @845 + _ismbclegal @851 + _ismbcprint @855 + _ismbcpunct @857 + _ismbcspace @859 + _ismbcsymbol @861 + _ismbcupper @863 + _ismbslead @865 + _ismbstrail @867 + _isnan=MSVCRT__isnan @869 + _isprint_l=MSVCRT__isprint_l @870 + _isspace_l=MSVCRT__isspace_l @872 + _isupper_l=MSVCRT__isupper_l @873 + _iswalpha_l=MSVCRT__iswalpha_l @875 + _iswblank_l=MSVCRT__iswblank_l @876 + _iswctype_l=MSVCRT__iswctype_l @880 + _iswdigit_l=MSVCRT__iswdigit_l @881 + _iswpunct_l=MSVCRT__iswpunct_l @885 + _iswspace_l=MSVCRT__iswspace_l @886 + _isxdigit_l=MSVCRT__isxdigit_l @889 + _itoa=MSVCRT__itoa @890 + _itoa_s=MSVCRT__itoa_s @891 + _itow=ntdll._itow @892 + _itow_s=MSVCRT__itow_s @893 + _j0=MSVCRT__j0 @894 + _j1=MSVCRT__j1 @895 + _jn=MSVCRT__jn @896 + _kbhit @897 + _ldclass=MSVCR120__ldclass @898 + _ldpcomp=MSVCR120__dpcomp @899 + _ldsign=MSVCR120__dsign @900 + _ldtest=MSVCR120__ldtest @901 + _lfind @902 + _lfind_s @903 + _libm_sse2_acos_precise=MSVCRT___libm_sse2_acos @904 + _libm_sse2_asin_precise=MSVCRT___libm_sse2_asin @905 + _libm_sse2_atan_precise=MSVCRT___libm_sse2_atan @906 + _libm_sse2_cos_precise=MSVCRT___libm_sse2_cos @907 + _libm_sse2_exp_precise=MSVCRT___libm_sse2_exp @908 + _libm_sse2_log10_precise=MSVCRT___libm_sse2_log10 @909 + _libm_sse2_log_precise=MSVCRT___libm_sse2_log @910 + _libm_sse2_pow_precise=MSVCRT___libm_sse2_pow @911 + _libm_sse2_sin_precise=MSVCRT___libm_sse2_sin @912 + _libm_sse2_sqrt_precise=MSVCRT___libm_sse2_sqrt_precise @913 + _libm_sse2_tan_precise=MSVCRT___libm_sse2_tan @914 + _loaddll @915 + _local_unwind2 @916 + _local_unwind4 @917 + _localtime32=MSVCRT__localtime32 @918 + _localtime32_s @919 + _localtime64=MSVCRT__localtime64 @920 + _localtime64_s @921 + _lock @922 + _lock_file=MSVCRT__lock_file @923 + _locking=MSVCRT__locking @924 + _logb=MSVCRT__logb @925 + _longjmpex=MSVCRT_longjmp @926 + _lrotl=MSVCRT__lrotl @927 + _lrotr=MSVCRT__lrotr @928 + _lsearch @929 + _lseek=MSVCRT__lseek @931 + _lseeki64=MSVCRT__lseeki64 @932 + _ltoa=ntdll._ltoa @933 + _ltoa_s=MSVCRT__ltoa_s @934 + _ltow=ntdll._ltow @935 + _ltow_s=MSVCRT__ltow_s @936 + _makepath=MSVCRT__makepath @937 + _makepath_s=MSVCRT__makepath_s @938 + _malloc_crt=MSVCRT_malloc @939 + _mbbtombc @940 + _mbbtype @942 + _mbccpy @944 + _mbcjistojms @948 + _mbcjmstojis @950 + _mbclen @952 + _mbctohira @954 + _mbctokata @956 + _mbctolower @958 + _mbctombb @960 + _mbctoupper @962 + _mbctype=MSVCRT_mbctype @964 DATA + _mbsbtype @966 + _mbscat_s @968 + _mbscat_s_l @969 + _mbschr @970 + _mbscmp @972 + _mbscoll @974 + _mbscoll_l @975 + _mbscpy_s @976 + _mbscpy_s_l @977 + _mbscspn @978 + _mbsdec @980 + _mbsicmp @982 + _mbsicoll @984 + _mbsicoll_l @985 + _mbsinc @986 + _mbslen @988 + _mbslwr @990 + _mbslwr_s @992 + _mbsnbcat @994 + _mbsnbcat_s @996 + _mbsnbcmp @998 + _mbsnbcnt @1000 + _mbsnbcoll @1002 + _mbsnbcoll_l @1003 + _mbsnbcpy @1004 + _mbsnbcpy_s @1006 + _mbsnbcpy_s_l @1007 + _mbsnbicmp @1008 + _mbsnbicoll @1010 + _mbsnbicoll_l @1011 + _mbsnbset @1012 + _mbsncat @1016 + _mbsnccnt @1020 + _mbsncmp @1022 + _mbsncpy @1026 + _mbsnextc @1030 + _mbsnicmp @1032 + _mbsninc @1036 + _mbsnset @1040 + _mbspbrk @1044 + _mbsrchr @1046 + _mbsrev @1048 + _mbsset @1050 + _mbsspn @1054 + _mbsspnp @1056 + _mbsstr @1058 + _mbstok @1060 + _mbstok_l @1061 + _mbstok_s @1062 + _mbstok_s_l @1063 + _mbstowcs_l=MSVCRT__mbstowcs_l @1064 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @1065 + _mbstrlen @1066 + _mbstrlen_l @1067 + _mbsupr @1070 + _mbsupr_s @1072 + _mbtowc_l=MSVCRT_mbtowc_l @1074 + _memccpy=ntdll._memccpy @1075 + _memicmp=ntdll._memicmp @1076 + _mkdir=MSVCRT__mkdir @1078 + _mkgmtime32=MSVCRT__mkgmtime32 @1079 + _mkgmtime64=MSVCRT__mkgmtime64 @1080 + _mktemp=MSVCRT__mktemp @1081 + _mktemp_s=MSVCRT__mktemp_s @1082 + _mktime32=MSVCRT__mktime32 @1083 + _mktime64=MSVCRT__mktime64 @1084 + _msize @1085 + _nextafter=MSVCRT__nextafter @1086 + _onexit=MSVCRT__onexit @1087 + _open=MSVCRT__open @1088 + _open_osfhandle=MSVCRT__open_osfhandle @1089 + _pclose=MSVCRT__pclose @1093 + _pctype=MSVCRT__pctype @1094 DATA + _pgmptr=MSVCRT__pgmptr @1095 DATA + _pipe=MSVCRT__pipe @1096 + _popen=MSVCRT__popen @1097 + _purecall @1102 + _putc_nolock=MSVCRT__fputc_nolock @1103 + _putch @1104 + _putch_nolock @1105 + _putenv @1106 + _putenv_s @1107 + _putw=MSVCRT__putw @1108 + _putwc_nolock=MSVCRT__fputwc_nolock @1109 + _putwch @1110 + _putwch_nolock @1111 + _putws=MSVCRT__putws @1112 + _read=MSVCRT__read @1113 + _realloc_crt=MSVCRT_realloc @1114 + _recalloc @1115 + _resetstkoflw=MSVCRT__resetstkoflw @1117 + _rmdir=MSVCRT__rmdir @1118 + _rmtmp=MSVCRT__rmtmp @1119 + _rotl @1120 + _rotl64 @1121 + _rotr @1122 + _rotr64 @1123 + _scalb=MSVCRT__scalb @1124 + _scanf_l=MSVCRT__scanf_l @1125 + _scanf_s_l=MSVCRT__scanf_s_l @1126 + _scprintf=MSVCRT__scprintf @1127 + _scwprintf=MSVCRT__scwprintf @1131 + _searchenv=MSVCRT__searchenv @1135 + _searchenv_s=MSVCRT__searchenv_s @1136 + _seh_longjmp_unwind4@4 @1137 + _seh_longjmp_unwind@4 @1138 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @1139 + _set_abort_behavior=MSVCRT__set_abort_behavior @1140 + _set_controlfp @1141 + _set_doserrno @1142 + _set_errno @1143 + _set_error_mode @1144 + _set_fmode=MSVCRT__set_fmode @1145 + _set_invalid_parameter_handler @1146 + _set_output_format=MSVCRT__set_output_format @1148 + _set_printf_count_output=MSVCRT__set_printf_count_output @1149 + _set_purecall_handler @1150 + _seterrormode @1151 + _setjmp=MSVCRT__setjmp @1152 + _setjmp3=MSVCRT__setjmp3 @1153 + _setmaxstdio=MSVCRT__setmaxstdio @1154 + _setmbcp @1155 + _setmode=MSVCRT__setmode @1156 + _sleep=MSVCRT__sleep @1158 + _snprintf=MSVCRT__snprintf @1159 + _snprintf_l=MSVCRT__snprintf_l @1162 + _snprintf_s=MSVCRT__snprintf_s @1163 + _snscanf=MSVCRT__snscanf @1165 + _snscanf_l=MSVCRT__snscanf_l @1166 + _snscanf_s=MSVCRT__snscanf_s @1167 + _snscanf_s_l=MSVCRT__snscanf_s_l @1168 + _snwprintf=MSVCRT__snwprintf @1169 + _snwprintf_l=MSVCRT__snwprintf_l @1170 + _snwprintf_s=MSVCRT__snwprintf_s @1171 + _snwprintf_s_l=MSVCRT__snwprintf_s_l @1172 + _snwscanf=MSVCRT__snwscanf @1173 + _snwscanf_l=MSVCRT__snwscanf_l @1174 + _snwscanf_s=MSVCRT__snwscanf_s @1175 + _snwscanf_s_l=MSVCRT__snwscanf_s_l @1176 + _sopen=MSVCRT__sopen @1177 + _sopen_s=MSVCRT__sopen_s @1178 + _spawnl @1179 + _spawnle @1180 + _spawnlp @1181 + _spawnlpe @1182 + _spawnv @1183 + _spawnve=MSVCRT__spawnve @1184 + _spawnvp @1185 + _spawnvpe=MSVCRT__spawnvpe @1186 + _splitpath=MSVCRT__splitpath @1187 + _splitpath_s=MSVCRT__splitpath_s @1188 + _sprintf_l=MSVCRT_sprintf_l @1189 + _sprintf_p=MSVCRT__sprintf_p @1190 + _sprintf_p_l=MSVCRT_sprintf_p_l @1191 + _sprintf_s_l=MSVCRT_sprintf_s_l @1192 + _sscanf_l=MSVCRT__sscanf_l @1193 + _sscanf_s_l=MSVCRT__sscanf_s_l @1194 + _stat32=MSVCRT__stat32 @1195 + _stat32i64=MSVCRT__stat32i64 @1196 + _stat64=MSVCRT_stat64 @1197 + _stat64i32=MSVCRT__stat64i32 @1198 + _statusfp @1199 + _statusfp2 @1200 + _strcoll_l=MSVCRT_strcoll_l @1201 + _strdate=MSVCRT__strdate @1202 + _strdate_s @1203 + _strdup=MSVCRT__strdup @1204 + _strerror=MSVCRT__strerror @1205 + _strftime_l=MSVCRT__strftime_l @1207 + _stricmp=MSVCRT__stricmp @1208 + _stricmp_l=MSVCRT__stricmp_l @1209 + _stricoll=MSVCRT__stricoll @1210 + _stricoll_l=MSVCRT__stricoll_l @1211 + _strlwr=MSVCRT__strlwr @1212 + _strlwr_l @1213 + _strlwr_s=MSVCRT__strlwr_s @1214 + _strlwr_s_l=MSVCRT__strlwr_s_l @1215 + _strncoll=MSVCRT__strncoll @1216 + _strncoll_l=MSVCRT__strncoll_l @1217 + _strnicmp=MSVCRT__strnicmp @1218 + _strnicmp_l=MSVCRT__strnicmp_l @1219 + _strnicoll=MSVCRT__strnicoll @1220 + _strnicoll_l=MSVCRT__strnicoll_l @1221 + _strnset=MSVCRT__strnset @1222 + _strnset_s=MSVCRT__strnset_s @1223 + _strrev=MSVCRT__strrev @1224 + _strset @1225 + _strtime=MSVCRT__strtime @1227 + _strtime_s @1228 + _strtod_l=MSVCRT_strtod_l @1229 + _strtof_l=MSVCRT__strtof_l @1230 + _strtoi64=MSVCRT_strtoi64 @1231 + _strtoi64_l=MSVCRT_strtoi64_l @1232 + _strtol_l=MSVCRT__strtol_l @1234 + _strtoll_l=MSVCRT_strtoi64_l @1236 + _strtoui64=MSVCRT_strtoui64 @1237 + _strtoui64_l=MSVCRT_strtoui64_l @1238 + _strtoul_l=MSVCRT_strtoul_l @1239 + _strtoull_l=MSVCRT_strtoui64_l @1240 + _strupr=MSVCRT__strupr @1242 + _strupr_l=MSVCRT__strupr_l @1243 + _strupr_s=MSVCRT__strupr_s @1244 + _strupr_s_l=MSVCRT__strupr_s_l @1245 + _strxfrm_l=MSVCRT__strxfrm_l @1246 + _swab=MSVCRT__swab @1247 + _swprintf=MSVCRT_swprintf @1248 + _swprintf_p_l=MSVCRT_swprintf_p_l @1252 + _swprintf_s_l=MSVCRT__swprintf_s_l @1253 + _swscanf_l=MSVCRT__swscanf_l @1254 + _swscanf_s_l=MSVCRT__swscanf_s_l @1255 + _sys_errlist=MSVCRT__sys_errlist @1256 DATA + _sys_nerr=MSVCRT__sys_nerr @1257 DATA + _tell=MSVCRT__tell @1258 + _telli64 @1259 + _tempnam=MSVCRT__tempnam @1260 + _time32=MSVCRT__time32 @1261 + _time64=MSVCRT__time64 @1262 + _timezone=MSVCRT___timezone @1263 DATA + _tolower=MSVCRT__tolower @1264 + _tolower_l=MSVCRT__tolower_l @1265 + _toupper=MSVCRT__toupper @1266 + _toupper_l=MSVCRT__toupper_l @1267 + _towlower_l=MSVCRT__towlower_l @1268 + _towupper_l=MSVCRT__towupper_l @1269 + _tzname=MSVCRT__tzname @1270 DATA + _tzset=MSVCRT__tzset @1271 + _ui64toa=ntdll._ui64toa @1272 + _ui64toa_s=MSVCRT__ui64toa_s @1273 + _ui64tow=ntdll._ui64tow @1274 + _ui64tow_s=MSVCRT__ui64tow_s @1275 + _ultoa=ntdll._ultoa @1276 + _ultoa_s=MSVCRT__ultoa_s @1277 + _ultow=ntdll._ultow @1278 + _ultow_s=MSVCRT__ultow_s @1279 + _umask=MSVCRT__umask @1280 + _ungetc_nolock=MSVCRT__ungetc_nolock @1282 + _ungetch @1283 + _ungetch_nolock @1284 + _ungetwc_nolock=MSVCRT__ungetwc_nolock @1285 + _ungetwch @1286 + _ungetwch_nolock @1287 + _unlink=MSVCRT__unlink @1288 + _unloaddll @1289 + _unlock @1290 + _unlock_file=MSVCRT__unlock_file @1291 + _utime32 @1292 + _utime64 @1293 + _vacopy=MSVCR120__vacopy @1294 + _vcprintf @1295 + _vcwprintf @1301 + _vfprintf_l=MSVCRT__vfprintf_l @1307 + _vfwprintf_l=MSVCRT__vfwprintf_l @1311 + _vscprintf=MSVCRT__vscprintf @1319 + _vscprintf_p=MSVCRT__vscprintf_p @1321 + _vscprintf_p_l=MSVCRT__vscprintf_p_l @1322 + _vscwprintf=MSVCRT__vscwprintf @1323 + _vscwprintf_l=MSVCRT__vscwprintf_l @1324 + _vscwprintf_p=MSVCRT__vscwprintf_p @1325 + _vscwprintf_p_l=MSVCRT__vscwprintf_p_l @1326 + _vsnprintf=MSVCRT_vsnprintf @1327 + _vsnprintf_c=MSVCRT_vsnprintf @1328 + _vsnprintf_c_l=MSVCRT_vsnprintf_l @1329 + _vsnprintf_l=MSVCRT_vsnprintf_l @1330 + _vsnprintf_s=MSVCRT_vsnprintf_s @1331 + _vsnprintf_s_l=MSVCRT_vsnprintf_s_l @1332 + _vsnwprintf=MSVCRT_vsnwprintf @1333 + _vsnwprintf_l=MSVCRT_vsnwprintf_l @1334 + _vsnwprintf_s=MSVCRT_vsnwprintf_s @1335 + _vsnwprintf_s_l=MSVCRT_vsnwprintf_s_l @1336 + _vsprintf_l=MSVCRT_vsprintf_l @1337 + _vsprintf_p=MSVCRT_vsprintf_p @1338 + _vsprintf_p_l=MSVCRT_vsprintf_p_l @1339 + _vsprintf_s_l=MSVCRT_vsprintf_s_l @1340 + _vswprintf=MSVCRT_vswprintf @1341 + _vswprintf_c=MSVCRT_vsnwprintf @1342 + _vswprintf_c_l=MSVCRT_vsnwprintf_l @1343 + _vswprintf_l=MSVCRT_vswprintf_l @1344 + _vswprintf_p=MSVCRT__vswprintf_p @1345 + _vswprintf_p_l=MSVCRT_vswprintf_p_l @1346 + _vswprintf_s_l=MSVCRT_vswprintf_s_l @1347 + _waccess=MSVCRT__waccess @1352 + _waccess_s=MSVCRT__waccess_s @1353 + _wasctime=MSVCRT__wasctime @1354 + _wasctime_s=MSVCRT__wasctime_s @1355 + _wassert=MSVCRT__wassert @1356 + _wchdir=MSVCRT__wchdir @1357 + _wchmod=MSVCRT__wchmod @1358 + _wcmdln=MSVCRT__wcmdln @1359 DATA + _wcreat=MSVCRT__wcreat @1360 + _wcreate_locale=MSVCRT__wcreate_locale @1361 + _wcscoll_l=MSVCRT__wcscoll_l @1362 + _wcsdup=MSVCRT__wcsdup @1363 + _wcserror=MSVCRT__wcserror @1364 + _wcserror_s=MSVCRT__wcserror_s @1365 + _wcsftime_l=MSVCRT__wcsftime_l @1366 + _wcsicmp=MSVCRT__wcsicmp @1367 + _wcsicmp_l=MSVCRT__wcsicmp_l @1368 + _wcsicoll=MSVCRT__wcsicoll @1369 + _wcsicoll_l=MSVCRT__wcsicoll_l @1370 + _wcslwr=MSVCRT__wcslwr @1371 + _wcslwr_l=MSVCRT__wcslwr_l @1372 + _wcslwr_s=MSVCRT__wcslwr_s @1373 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @1374 + _wcsncoll=MSVCRT__wcsncoll @1375 + _wcsncoll_l=MSVCRT__wcsncoll_l @1376 + _wcsnicmp=MSVCRT__wcsnicmp @1377 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @1378 + _wcsnicoll=MSVCRT__wcsnicoll @1379 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @1380 + _wcsnset=MSVCRT__wcsnset @1381 + _wcsrev=MSVCRT__wcsrev @1383 + _wcsset=MSVCRT__wcsset @1384 + _wcsset_s=MSVCRT__wcsset_s @1385 + _wcstod_l=MSVCRT__wcstod_l @1386 + _wcstof_l=MSVCRT__wcstof_l @1387 + _wcstoi64=MSVCRT__wcstoi64 @1388 + _wcstoi64_l=MSVCRT__wcstoi64_l @1389 + _wcstol_l=MSVCRT__wcstol_l @1391 + _wcstoll_l=MSVCRT__wcstoi64_l @1393 + _wcstombs_l=MSVCRT__wcstombs_l @1394 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @1395 + _wcstoui64=MSVCRT__wcstoui64 @1396 + _wcstoui64_l=MSVCRT__wcstoui64_l @1397 + _wcstoul_l=MSVCRT__wcstoul_l @1398 + _wcstoull_l=MSVCRT__wcstoui64_l @1399 + _wcsupr=ntdll._wcsupr @1401 + _wcsupr_l=MSVCRT__wcsupr_l @1402 + _wcsupr_s=MSVCRT__wcsupr_s @1403 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @1404 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @1405 + _wctime32=MSVCRT__wctime32 @1406 + _wctime32_s=MSVCRT__wctime32_s @1407 + _wctime64=MSVCRT__wctime64 @1408 + _wctime64_s=MSVCRT__wctime64_s @1409 + _wctomb_l=MSVCRT__wctomb_l @1410 + _wctomb_s_l=MSVCRT__wctomb_s_l @1411 + _wdupenv_s @1412 + _wenviron=MSVCRT__wenviron @1413 DATA + _wexecl @1414 + _wexecle @1415 + _wexeclp @1416 + _wexeclpe @1417 + _wexecv @1418 + _wexecve @1419 + _wexecvp @1420 + _wexecvpe @1421 + _wfdopen=MSVCRT__wfdopen @1422 + _wfindfirst32=MSVCRT__wfindfirst32 @1423 + _wfindfirst64=MSVCRT__wfindfirst64 @1425 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @1426 + _wfindnext32=MSVCRT__wfindnext32 @1427 + _wfindnext64=MSVCRT__wfindnext64 @1429 + _wfindnext64i32=MSVCRT__wfindnext64i32 @1430 + _wfopen=MSVCRT__wfopen @1431 + _wfopen_s=MSVCRT__wfopen_s @1432 + _wfreopen=MSVCRT__wfreopen @1433 + _wfreopen_s=MSVCRT__wfreopen_s @1434 + _wfsopen=MSVCRT__wfsopen @1435 + _wfullpath=MSVCRT__wfullpath @1436 + _wgetcwd=MSVCRT__wgetcwd @1437 + _wgetdcwd=MSVCRT__wgetdcwd @1438 + _wgetenv=MSVCRT__wgetenv @1439 + _wgetenv_s @1440 + _wmakepath=MSVCRT__wmakepath @1441 + _wmakepath_s=MSVCRT__wmakepath_s @1442 + _wmkdir=MSVCRT__wmkdir @1443 + _wmktemp=MSVCRT__wmktemp @1444 + _wmktemp_s=MSVCRT__wmktemp_s @1445 + _wopen=MSVCRT__wopen @1446 + _wperror=MSVCRT__wperror @1447 + _wpgmptr=MSVCRT__wpgmptr @1448 DATA + _wpopen=MSVCRT__wpopen @1449 + _wputenv @1454 + _wputenv_s @1455 + _wremove=MSVCRT__wremove @1456 + _wrename=MSVCRT__wrename @1457 + _write=MSVCRT__write @1458 + _wrmdir=MSVCRT__wrmdir @1459 + _wscanf_l=MSVCRT__wscanf_l @1460 + _wscanf_s_l=MSVCRT__wscanf_s_l @1461 + _wsearchenv=MSVCRT__wsearchenv @1462 + _wsearchenv_s=MSVCRT__wsearchenv_s @1463 + _wsetlocale=MSVCRT__wsetlocale @1464 + _wsopen=MSVCRT__wsopen @1465 + _wsopen_s=MSVCRT__wsopen_s @1466 + _wspawnl @1467 + _wspawnle @1468 + _wspawnlp @1469 + _wspawnlpe @1470 + _wspawnv @1471 + _wspawnve=MSVCRT__wspawnve @1472 + _wspawnvp @1473 + _wspawnvpe=MSVCRT__wspawnvpe @1474 + _wsplitpath=MSVCRT__wsplitpath @1475 + _wsplitpath_s=MSVCRT__wsplitpath_s @1476 + _wstat32=MSVCRT__wstat32 @1477 + _wstat32i64=MSVCRT__wstat32i64 @1478 + _wstat64=MSVCRT__wstat64 @1479 + _wstat64i32=MSVCRT__wstat64i32 @1480 + _wstrdate=MSVCRT__wstrdate @1481 + _wstrdate_s @1482 + _wstrtime=MSVCRT__wstrtime @1483 + _wstrtime_s @1484 + _wsystem @1485 + _wtempnam=MSVCRT__wtempnam @1486 + _wtmpnam=MSVCRT__wtmpnam @1487 + _wtmpnam_s=MSVCRT__wtmpnam_s @1488 + _wtof=MSVCRT__wtof @1489 + _wtof_l=MSVCRT__wtof_l @1490 + _wtoi=MSVCRT__wtoi @1491 + _wtoi64=MSVCRT__wtoi64 @1492 + _wtoi64_l=MSVCRT__wtoi64_l @1493 + _wtoi_l=MSVCRT__wtoi_l @1494 + _wtol=MSVCRT__wtol @1495 + _wtol_l=MSVCRT__wtol_l @1496 + _wtoll=MSVCRT__wtoll @1497 + _wtoll_l=MSVCRT__wtoll_l @1498 + _wunlink=MSVCRT__wunlink @1499 + _wutime32 @1500 + _wutime64 @1501 + _y0=MSVCRT__y0 @1502 + _y1=MSVCRT__y1 @1503 + _yn=MSVCRT__yn @1504 + abort=MSVCRT_abort @1505 + abs=MSVCRT_abs @1506 + acos=MSVCRT_acos @1507 + acosh=MSVCR120_acosh @1508 + acoshf=MSVCR120_acoshf @1509 + acoshl=MSVCR120_acoshl @1510 + asctime=MSVCRT_asctime @1511 + asctime_s=MSVCRT_asctime_s @1512 + asin=MSVCRT_asin @1513 + asinh=MSVCR120_asinh @1514 + asinhf=MSVCR120_asinhf @1515 + asinhl=MSVCR120_asinhl @1516 + atan=MSVCRT_atan @1517 + atan2=MSVCRT_atan2 @1518 + atanh=MSVCR120_atanh @1519 + atanhf=MSVCR120_atanhf @1520 + atanhl=MSVCR120_atanhl @1521 + atexit=MSVCRT_atexit @1522 PRIVATE + atof=MSVCRT_atof @1523 + atoi=MSVCRT_atoi @1524 + atol=ntdll.atol @1525 + atoll=MSVCRT_atoll @1526 + bsearch=MSVCRT_bsearch @1527 + bsearch_s=MSVCRT_bsearch_s @1528 + btowc=MSVCRT_btowc @1529 + calloc=MSVCRT_calloc @1539 + cbrt=MSVCR120_cbrt @1555 + cbrtf=MSVCR120_cbrtf @1556 + cbrtl=MSVCR120_cbrtl @1557 + ceil=MSVCRT_ceil @1564 + clearerr=MSVCRT_clearerr @1571 + clearerr_s=MSVCRT_clearerr_s @1572 + clock=MSVCRT_clock @1573 + copysign=MSVCRT__copysign @1583 + copysignf=MSVCRT__copysignf @1584 + copysignl=MSVCRT__copysign @1585 + cos=MSVCRT_cos @1586 + cosh=MSVCRT_cosh @1587 + div=MSVCRT_div @1612 + erf=MSVCR120_erf @1613 + erfc=MSVCR120_erfc @1614 + erfcf=MSVCR120_erfcf @1615 + erfcl=MSVCR120_erfcl @1616 + erff=MSVCR120_erff @1617 + erfl=MSVCR120_erfl @1618 + exit=MSVCRT_exit @1619 + exp=MSVCRT_exp @1620 + exp2=MSVCR120_exp2 @1621 + exp2f=MSVCR120_exp2f @1622 + exp2l=MSVCR120_exp2l @1623 + expm1=MSVCR120_expm1 @1624 + expm1f=MSVCR120_expm1f @1625 + expm1l=MSVCR120_expm1l @1626 + fabs=MSVCRT_fabs @1627 + fclose=MSVCRT_fclose @1628 + fegetenv=MSVCRT_fegetenv @1633 + fegetround=MSVCRT_fegetround @1635 + feof=MSVCRT_feof @1637 + ferror=MSVCRT_ferror @1639 + fesetenv=MSVCRT_fesetenv @1640 + fesetround=MSVCRT_fesetround @1642 + fflush=MSVCRT_fflush @1645 + fgetc=MSVCRT_fgetc @1646 + fgetpos=MSVCRT_fgetpos @1647 + fgets=MSVCRT_fgets @1648 + fgetwc=MSVCRT_fgetwc @1649 + fgetws=MSVCRT_fgetws @1650 + floor=MSVCRT_floor @1651 + fmax=MSVCR120_fmax @1655 + fmaxf=MSVCR120_fmaxf @1656 + fmaxl=MSVCR120_fmax @1657 + fmin=MSVCR120_fmin @1658 + fminf=MSVCR120_fminf @1659 + fminl=MSVCR120_fmin @1660 + fmod=MSVCRT_fmod @1661 + fopen=MSVCRT_fopen @1662 + fopen_s=MSVCRT_fopen_s @1663 + fprintf=MSVCRT_fprintf @1664 + fprintf_s=MSVCRT_fprintf_s @1665 + fputc=MSVCRT_fputc @1666 + fputs=MSVCRT_fputs @1667 + fputwc=MSVCRT_fputwc @1668 + fputws=MSVCRT_fputws @1669 + fread=MSVCRT_fread @1670 + fread_s=MSVCRT_fread_s @1671 + free=MSVCRT_free @1672 + freopen=MSVCRT_freopen @1673 + freopen_s=MSVCRT_freopen_s @1674 + frexp=MSVCRT_frexp @1675 + fscanf=MSVCRT_fscanf @1676 + fscanf_s=MSVCRT_fscanf_s @1677 + fseek=MSVCRT_fseek @1678 + fsetpos=MSVCRT_fsetpos @1679 + ftell=MSVCRT_ftell @1680 + fwprintf=MSVCRT_fwprintf @1681 + fwprintf_s=MSVCRT_fwprintf_s @1682 + fwrite=MSVCRT_fwrite @1683 + fwscanf=MSVCRT_fwscanf @1684 + fwscanf_s=MSVCRT_fwscanf_s @1685 + getc=MSVCRT_getc @1686 + getchar=MSVCRT_getchar @1687 + getenv=MSVCRT_getenv @1688 + getenv_s @1689 + gets=MSVCRT_gets @1690 + getwc=MSVCRT_getwc @1692 + getwchar=MSVCRT_getwchar @1693 + is_wctype=ntdll.iswctype @1699 + isalnum=MSVCRT_isalnum @1700 + isalpha=MSVCRT_isalpha @1701 + isblank=MSVCRT_isblank @1702 + iscntrl=MSVCRT_iscntrl @1703 + isdigit=MSVCRT_isdigit @1704 + isgraph=MSVCRT_isgraph @1705 + isleadbyte=MSVCRT_isleadbyte @1706 + islower=MSVCRT_islower @1707 + isprint=MSVCRT_isprint @1708 + ispunct=MSVCRT_ispunct @1709 + isspace=MSVCRT_isspace @1710 + isupper=MSVCRT_isupper @1711 + iswalnum=MSVCRT_iswalnum @1712 + iswalpha=ntdll.iswalpha @1713 + iswascii=MSVCRT_iswascii @1714 + iswblank=MSVCRT_iswblank @1715 + iswcntrl=MSVCRT_iswcntrl @1716 + iswctype=ntdll.iswctype @1717 + iswdigit=MSVCRT_iswdigit @1718 + iswgraph=MSVCRT_iswgraph @1719 + iswlower=MSVCRT_iswlower @1720 + iswprint=MSVCRT_iswprint @1721 + iswpunct=MSVCRT_iswpunct @1722 + iswspace=MSVCRT_iswspace @1723 + iswupper=MSVCRT_iswupper @1724 + iswxdigit=MSVCRT_iswxdigit @1725 + isxdigit=MSVCRT_isxdigit @1726 + labs=MSVCRT_labs @1727 + ldexp=MSVCRT_ldexp @1728 + ldiv=MSVCRT_ldiv @1729 + lgamma=MSVCR120_lgamma @1730 + lgammaf=MSVCR120_lgammaf @1731 + lgammal=MSVCR120_lgammal @1732 + llabs=MSVCRT_llabs @1733 + lldiv=MSVCRT_lldiv @1734 + llrint=MSVCR120_llrint @1735 + llrintf=MSVCR120_llrintf @1736 + llrintl=MSVCR120_llrintl @1737 + llround=MSVCR120_llround @1738 + llroundf=MSVCR120_llroundf @1739 + llroundl=MSVCR120_llroundl @1740 + localeconv=MSVCRT_localeconv @1741 + log=MSVCRT_log @1742 + log10=MSVCRT_log10 @1743 + log1p=MSVCR120_log1p @1744 + log1pf=MSVCR120_log1pf @1745 + log1pl=MSVCR120_log1pl @1746 + log2=MSVCR120_log2 @1747 + log2f=MSVCR120_log2f @1748 + log2l=MSVCR120_log2l @1749 + longjmp=MSVCRT_longjmp @1753 + lrint=MSVCR120_lrint @1754 + lrintf=MSVCR120_lrintf @1755 + lrintl=MSVCR120_lrintl @1756 + lround=MSVCR120_lround @1757 + lroundf=MSVCR120_lroundf @1758 + lroundl=MSVCR120_lroundl @1759 + malloc=MSVCRT_malloc @1760 + mblen=MSVCRT_mblen @1761 + mbrlen=MSVCRT_mbrlen @1762 + mbrtowc=MSVCRT_mbrtowc @1763 + mbsrtowcs=MSVCRT_mbsrtowcs @1764 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @1765 + mbstowcs=MSVCRT_mbstowcs @1766 + mbstowcs_s=MSVCRT__mbstowcs_s @1767 + mbtowc=MSVCRT_mbtowc @1768 + memchr=MSVCRT_memchr @1769 + memcmp=MSVCRT_memcmp @1770 + memcpy=MSVCRT_memcpy @1771 + memcpy_s=MSVCRT_memcpy_s @1772 + memmove=MSVCRT_memmove @1773 + memmove_s=MSVCRT_memmove_s @1774 + memset=MSVCRT_memset @1775 + modf=MSVCRT_modf @1776 + nan=MSVCR120_nan @1777 + nanf=MSVCR120_nanf @1778 + nanl=MSVCR120_nan @1779 + nearbyint=MSVCRT_nearbyint @1780 + nearbyintf=MSVCRT_nearbyintf @1781 + nearbyintl=MSVCRT_nearbyint @1782 + nextafter=MSVCRT__nextafter @1783 + nextafterf=MSVCRT__nextafterf @1784 + nextafterl=MSVCRT__nextafter @1785 + perror=MSVCRT_perror @1792 + pow=MSVCRT_pow @1793 + printf=MSVCRT_printf @1794 + printf_s=MSVCRT_printf_s @1795 + putc=MSVCRT_putc @1796 + putchar=MSVCRT_putchar @1797 + puts=MSVCRT_puts @1798 + putwc=MSVCRT_fputwc @1799 + putwchar=MSVCRT__fputwchar @1800 + qsort=MSVCRT_qsort @1801 + qsort_s=MSVCRT_qsort_s @1802 + raise=MSVCRT_raise @1803 + rand=MSVCRT_rand @1804 + rand_s=MSVCRT_rand_s @1805 + realloc=MSVCRT_realloc @1806 + remainder=MSVCR120_remainder @1807 + remainderf=MSVCR120_remainderf @1808 + remainderl=MSVCR120_remainderl @1809 + remove=MSVCRT_remove @1810 + rename=MSVCRT_rename @1814 + rewind=MSVCRT_rewind @1815 + rint=MSVCR120_rint @1816 + rintf=MSVCR120_rintf @1817 + rintl=MSVCR120_rintl @1818 + round=MSVCR120_round @1819 + roundf=MSVCR120_roundf @1820 + roundl=MSVCR120_roundl @1821 + scalbln=MSVCRT__scalb @1822 + scalblnf=MSVCRT__scalbf @1823 + scalblnl=MSVCR120_scalbnl @1824 + scalbn=MSVCRT__scalb @1825 + scalbnf=MSVCRT__scalbf @1826 + scalbnl=MSVCR120_scalbnl @1827 + scanf=MSVCRT_scanf @1828 + scanf_s=MSVCRT_scanf_s @1829 + setbuf=MSVCRT_setbuf @1830 + setlocale=MSVCRT_setlocale @1831 + setvbuf=MSVCRT_setvbuf @1832 + signal=MSVCRT_signal @1833 + sin=MSVCRT_sin @1834 + sinh=MSVCRT_sinh @1835 + sprintf=MSVCRT_sprintf @1836 + sprintf_s=MSVCRT_sprintf_s @1837 + sqrt=MSVCRT_sqrt @1838 + srand=MSVCRT_srand @1839 + sscanf=MSVCRT_sscanf @1840 + sscanf_s=MSVCRT_sscanf_s @1841 + strcat=ntdll.strcat @1842 + strcat_s=MSVCRT_strcat_s @1843 + strchr=MSVCRT_strchr @1844 + strcmp=MSVCRT_strcmp @1845 + strcoll=MSVCRT_strcoll @1846 + strcpy=MSVCRT_strcpy @1847 + strcpy_s=MSVCRT_strcpy_s @1848 + strcspn=ntdll.strcspn @1849 + strerror=MSVCRT_strerror @1850 + strerror_s=MSVCRT_strerror_s @1851 + strftime=MSVCRT_strftime @1852 + strlen=MSVCRT_strlen @1853 + strncat=MSVCRT_strncat @1854 + strncat_s=MSVCRT_strncat_s @1855 + strncmp=MSVCRT_strncmp @1856 + strncpy=MSVCRT_strncpy @1857 + strncpy_s=MSVCRT_strncpy_s @1858 + strnlen=MSVCRT_strnlen @1859 + strpbrk=ntdll.strpbrk @1860 + strrchr=MSVCRT_strrchr @1861 + strspn=ntdll.strspn @1862 + strstr=MSVCRT_strstr @1863 + strtod=MSVCRT_strtod @1864 + strtof=MSVCRT_strtof @1865 + strtok=MSVCRT_strtok @1867 + strtok_s=MSVCRT_strtok_s @1868 + strtol=MSVCRT_strtol @1869 + strtoll=MSVCRT_strtoi64 @1871 + strtoul=MSVCRT_strtoul @1872 + strtoull=MSVCRT_strtoui64 @1873 + strxfrm=MSVCRT_strxfrm @1875 + swprintf_s=MSVCRT_swprintf_s @1876 + swscanf=MSVCRT_swscanf @1877 + swscanf_s=MSVCRT_swscanf_s @1878 + system=MSVCRT_system @1879 + tan=MSVCRT_tan @1880 + tanh=MSVCRT_tanh @1881 + tmpfile=MSVCRT_tmpfile @1885 + tmpfile_s=MSVCRT_tmpfile_s @1886 + tmpnam=MSVCRT_tmpnam @1887 + tmpnam_s=MSVCRT_tmpnam_s @1888 + tolower=MSVCRT_tolower @1889 + toupper=MSVCRT_toupper @1890 + towlower=MSVCRT_towlower @1892 + towupper=MSVCRT_towupper @1893 + trunc=MSVCR120_trunc @1894 + truncf=MSVCR120_truncf @1895 + truncl=MSVCR120_truncl @1896 + ungetc=MSVCRT_ungetc @1897 + ungetwc=MSVCRT_ungetwc @1898 + vfprintf=MSVCRT_vfprintf @1899 + vfprintf_s=MSVCRT_vfprintf_s @1900 + vfwprintf=MSVCRT_vfwprintf @1903 + vfwprintf_s=MSVCRT_vfwprintf_s @1904 + vprintf=MSVCRT_vprintf @1907 + vprintf_s=MSVCRT_vprintf_s @1908 + vsprintf=MSVCRT_vsprintf @1911 + vsprintf_s=MSVCRT_vsprintf_s @1912 + vsscanf=MSVCRT_vsscanf @1913 + vswprintf_s=MSVCRT_vswprintf_s @1915 + vswscanf=MSVCRT_vswscanf @1916 + vwprintf=MSVCRT_vwprintf @1918 + vwprintf_s=MSVCRT_vwprintf_s @1919 + wcrtomb=MSVCRT_wcrtomb @1922 + wcscat=ntdll.wcscat @1924 + wcscat_s=MSVCRT_wcscat_s @1925 + wcschr=MSVCRT_wcschr @1926 + wcscmp=ntdll.wcscmp @1927 + wcscoll=MSVCRT_wcscoll @1928 + wcscpy=ntdll.wcscpy @1929 + wcscpy_s=MSVCRT_wcscpy_s @1930 + wcscspn=ntdll.wcscspn @1931 + wcsftime=MSVCRT_wcsftime @1932 + wcslen=MSVCRT_wcslen @1933 + wcsncat=ntdll.wcsncat @1934 + wcsncat_s=MSVCRT_wcsncat_s @1935 + wcsncmp=MSVCRT_wcsncmp @1936 + wcsncpy=MSVCRT_wcsncpy @1937 + wcsncpy_s=MSVCRT_wcsncpy_s @1938 + wcsnlen=MSVCRT_wcsnlen @1939 + wcspbrk=MSVCRT_wcspbrk @1940 + wcsrchr=ntdll.wcsrchr @1941 + wcsrtombs=MSVCRT_wcsrtombs @1942 + wcsrtombs_s=MSVCRT_wcsrtombs_s @1943 + wcsspn=ntdll.wcsspn @1944 + wcsstr=MSVCRT_wcsstr @1945 + wcstod=MSVCRT_wcstod @1946 + wcstof=MSVCRT_wcstof @1947 + wcstok=MSVCRT_wcstok @1949 + wcstok_s=MSVCRT_wcstok_s @1950 + wcstol=ntdll.wcstol @1951 + wcstoll=MSVCRT__wcstoi64 @1953 + wcstombs=MSVCRT_wcstombs @1954 + wcstombs_s=MSVCRT_wcstombs_s @1955 + wcstoul=MSVCRT_wcstoul @1956 + wcstoull=MSVCRT__wcstoui64 @1957 + wcsxfrm=MSVCRT_wcsxfrm @1959 + wctob=MSVCRT_wctob @1960 + wctomb=MSVCRT_wctomb @1961 + wctomb_s=MSVCRT_wctomb_s @1962 + wctype @1964 + wmemcpy_s @1965 + wmemmove_s @1966 + wprintf=MSVCRT_wprintf @1967 + wprintf_s=MSVCRT_wprintf_s @1968 + wscanf=MSVCRT_wscanf @1969 + wscanf_s=MSVCRT_wscanf_s @1970 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr70.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr70.def new file mode 100644 index 0000000..ca30c0c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr70.def @@ -0,0 +1,809 @@ +; File generated automatically from ./dlls/msvcr70/msvcr70.spec; do not edit! + +LIBRARY msvcr70.dll + +EXPORTS + ??0__non_rtti_object@@QAE@ABV0@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @1 + ??0__non_rtti_object@@QAE@PBD@Z=__thiscall_MSVCRT___non_rtti_object_ctor @2 + ??0bad_cast@@AAE@PBQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @3 + ??0bad_cast@@QAE@ABQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @4 + ??0bad_cast@@QAE@ABV0@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @5 + ??0bad_cast@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @6 + ??0bad_typeid@@QAE@ABV0@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @7 + ??0bad_typeid@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @8 + ??0exception@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @9 + ??0exception@@QAE@ABV0@@Z=__thiscall_MSVCRT_exception_copy_ctor @10 + ??0exception@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @11 + ??1__non_rtti_object@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @12 + ??1bad_cast@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @13 + ??1bad_typeid@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @14 + ??1exception@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @15 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @16 + ??2@YAPAXI@Z=MSVCRT_operator_new @17 + ??3@YAXPAX@Z=MSVCRT_operator_delete @18 + ??4__non_rtti_object@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @19 + ??4bad_cast@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_bad_cast_opequals @20 + ??4bad_typeid@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_bad_typeid_opequals @21 + ??4exception@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_exception_opequals @22 + ??8type_info@@QBEHABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @23 + ??9type_info@@QBEHABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @24 + ??_7__non_rtti_object@@6B@=MSVCRT___non_rtti_object_vtable @25 DATA + ??_7bad_cast@@6B@=MSVCRT_bad_cast_vtable @26 DATA + ??_7bad_typeid@@6B@=MSVCRT_bad_typeid_vtable @27 DATA + ??_7exception@@6B@=MSVCRT_exception_vtable @28 DATA + ??_E__non_rtti_object@@UAEPAXI@Z=__thiscall_MSVCRT___non_rtti_object_vector_dtor @29 + ??_Ebad_cast@@UAEPAXI@Z=__thiscall_MSVCRT_bad_cast_vector_dtor @30 + ??_Ebad_typeid@@UAEPAXI@Z=__thiscall_MSVCRT_bad_typeid_vector_dtor @31 + ??_Eexception@@UAEPAXI@Z=__thiscall_MSVCRT_exception_vector_dtor @32 + ??_Fbad_cast@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @33 + ??_Fbad_typeid@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @34 + ??_G__non_rtti_object@@UAEPAXI@Z=__thiscall_MSVCRT___non_rtti_object_scalar_dtor @35 + ??_Gbad_cast@@UAEPAXI@Z=__thiscall_MSVCRT_bad_cast_scalar_dtor @36 + ??_Gbad_typeid@@UAEPAXI@Z=__thiscall_MSVCRT_bad_typeid_scalar_dtor @37 + ??_Gexception@@UAEPAXI@Z=__thiscall_MSVCRT_exception_scalar_dtor @38 + ??_U@YAPAXI@Z=MSVCRT_operator_new @39 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @40 + __uncaught_exception=MSVCRT___uncaught_exception @41 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @42 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @43 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @44 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @45 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @46 + ?before@type_info@@QBEHABV1@@Z=__thiscall_MSVCRT_type_info_before @47 + ?name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_name @48 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @49 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @50 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @51 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @52 + ?terminate@@YAXXZ=MSVCRT_terminate @53 + ?unexpected@@YAXXZ=MSVCRT_unexpected @54 + ?what@exception@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @55 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @56 + _CIacos @57 + _CIasin @58 + _CIatan @59 + _CIatan2 @60 + _CIcos @61 + _CIcosh @62 + _CIexp @63 + _CIfmod @64 + _CIlog @65 + _CIlog10 @66 + _CIpow @67 + _CIsin @68 + _CIsinh @69 + _CIsqrt @70 + _CItan @71 + _CItanh @72 + _CRT_RTC_INIT @73 + _CxxThrowException@8 @74 + _EH_prolog @75 + _Getdays @76 + _Getmonths @77 + _Gettnames @78 + _HUGE=MSVCRT__HUGE @79 DATA + _Strftime @80 + _XcptFilter @81 + __CxxDetectRethrow @84 + __CxxExceptionFilter @85 + __CxxFrameHandler @86 + __CxxLongjmpUnwind@4 @87 + __CxxQueryExceptionSize @88 + __CxxRegisterExceptionObject @89 + __CxxUnregisterExceptionObject @90 + __DestructExceptionObject @91 + __RTCastToVoid=MSVCRT___RTCastToVoid @92 + __RTDynamicCast=MSVCRT___RTDynamicCast @93 + __RTtypeid=MSVCRT___RTtypeid @94 + __STRINGTOLD @95 + ___lc_codepage_func @96 + ___lc_collate_cp_func @97 + ___lc_handle_func @98 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @99 + ___setlc_active_func=MSVCRT____setlc_active_func @100 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @101 + __argc=MSVCRT___argc @102 DATA + __argv=MSVCRT___argv @103 DATA + __badioinfo=MSVCRT___badioinfo @104 DATA + __crtCompareStringA @106 + __crtCompareStringW @107 + __crtGetLocaleInfoW @108 + __crtGetStringTypeW @109 + __crtLCMapStringA @110 + __crtLCMapStringW @111 + __dllonexit @112 + __doserrno=MSVCRT___doserrno @113 + __fpecode @114 + __getmainargs @115 + __initenv=MSVCRT___initenv @116 DATA + __iob_func=MSVCRT___iob_func @117 + __isascii=MSVCRT___isascii @118 + __iscsym=MSVCRT___iscsym @119 + __iscsymf=MSVCRT___iscsymf @120 + __lc_codepage=MSVCRT___lc_codepage @121 DATA + __lc_collate_cp=MSVCRT___lc_collate_cp @122 DATA + __lc_handle=MSVCRT___lc_handle @123 DATA + __lconv_init @124 + __mb_cur_max=MSVCRT___mb_cur_max @125 DATA + __p___argc=MSVCRT___p___argc @126 + __p___argv=MSVCRT___p___argv @127 + __p___initenv @128 + __p___mb_cur_max @129 + __p___wargv=MSVCRT___p___wargv @130 + __p___winitenv @131 + __p__acmdln @132 + __p__amblksiz @133 + __p__commode @134 + __p__daylight=MSVCRT___p__daylight @135 + __p__dstbias=MSVCRT___p__dstbias @136 + __p__environ=MSVCRT___p__environ @137 + __p__fmode @139 + __p__iob=MSVCRT___iob_func @140 + __p__mbctype @142 + __p__osver @143 + __p__pctype=MSVCRT___p__pctype @144 + __p__pgmptr=MSVCRT___p__pgmptr @145 + __p__timezone=MSVCRT___p__timezone @147 + __p__tzname @148 + __p__wcmdln @149 + __p__wenviron=MSVCRT___p__wenviron @150 + __p__winmajor @151 + __p__winminor @152 + __p__winver @153 + __p__wpgmptr=MSVCRT___p__wpgmptr @154 + __pctype_func=MSVCRT___pctype_func @155 + __pioinfo=MSVCRT___pioinfo @156 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @158 + __security_error_handler @159 + __set_app_type=MSVCRT___set_app_type @160 + __setlc_active=MSVCRT___setlc_active @162 DATA + __setusermatherr=MSVCRT___setusermatherr @163 + __threadhandle=kernel32.GetCurrentThread @164 + __threadid=kernel32.GetCurrentThreadId @165 + __toascii=MSVCRT___toascii @166 + __unDName @167 + __unDNameEx @168 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @169 DATA + __wargv=MSVCRT___wargv @170 DATA + __wcserror=MSVCRT___wcserror @171 + __wgetmainargs @172 + __winitenv=MSVCRT___winitenv @173 DATA + _abnormal_termination @174 + _access=MSVCRT__access @175 + _acmdln=MSVCRT__acmdln @176 DATA + _adj_fdiv_m16i@4 @177 + _adj_fdiv_m32@4 @178 + _adj_fdiv_m32i@4 @179 + _adj_fdiv_m64@8 @180 + _adj_fdiv_r @181 + _adj_fdivr_m16i@4 @182 + _adj_fdivr_m32@4 @183 + _adj_fdivr_m32i@4 @184 + _adj_fdivr_m64@8 @185 + _adj_fpatan @186 + _adj_fprem @187 + _adj_fprem1 @188 + _adj_fptan @189 + _adjust_fdiv=MSVCRT__adjust_fdiv @190 DATA + _aexit_rtn @191 DATA + _aligned_free @192 + _aligned_malloc @193 + _aligned_offset_malloc @194 + _aligned_offset_realloc @195 + _aligned_realloc @196 + _amsg_exit @197 + _assert=MSVCRT__assert @198 + _atodbl=MSVCRT__atodbl @199 + _atoi64=ntdll._atoi64 @200 + _atoldbl=MSVCRT__atoldbl @201 + _beep=MSVCRT__beep @202 + _beginthread @203 + _beginthreadex @204 + _c_exit=MSVCRT__c_exit @205 + _cabs=MSVCRT__cabs @206 + _callnewh @207 + _cexit=MSVCRT__cexit @208 + _cgets @209 + _chdir=MSVCRT__chdir @211 + _chdrive=MSVCRT__chdrive @212 + _chgsign=MSVCRT__chgsign @213 + _chkesp @214 + _chmod=MSVCRT__chmod @215 + _chsize=MSVCRT__chsize @216 + _clearfp @217 + _close=MSVCRT__close @218 + _commit=MSVCRT__commit @219 + _commode=MSVCRT__commode @220 DATA + _control87 @221 + _controlfp @222 + _copysign=MSVCRT__copysign @223 + _cprintf @224 + _cputs @225 + _cputws @226 + _creat=MSVCRT__creat @227 + _cscanf @228 + _ctime64=MSVCRT__ctime64 @229 + _ctype=MSVCRT__ctype @230 DATA + _cwait @231 + _cwprintf @232 + _cwscanf @233 + _daylight=MSVCRT___daylight @234 DATA + _dstbias=MSVCRT__dstbias @235 DATA + _dup=MSVCRT__dup @236 + _dup2=MSVCRT__dup2 @237 + _ecvt=MSVCRT__ecvt @238 + _endthread @239 + _endthreadex @240 + _environ=MSVCRT__environ @241 DATA + _eof=MSVCRT__eof @242 + _errno=MSVCRT__errno @243 + _except_handler2 @244 + _except_handler3 @245 + _execl @246 + _execle @247 + _execlp @248 + _execlpe @249 + _execv @250 + _execve=MSVCRT__execve @251 + _execvp @252 + _execvpe @253 + _exit=MSVCRT__exit @254 + _expand @255 + _fcloseall=MSVCRT__fcloseall @256 + _fcvt=MSVCRT__fcvt @257 + _fdopen=MSVCRT__fdopen @258 + _fgetchar=MSVCRT__fgetchar @259 + _fgetwchar=MSVCRT__fgetwchar @260 + _filbuf=MSVCRT__filbuf @261 + _filelength=MSVCRT__filelength @262 + _filelengthi64=MSVCRT__filelengthi64 @263 + _fileno=MSVCRT__fileno @264 + _findclose=MSVCRT__findclose @265 + _findfirst=MSVCRT__findfirst @266 + _findfirst64=MSVCRT__findfirst64 @267 + _findfirsti64=MSVCRT__findfirsti64 @268 + _findnext=MSVCRT__findnext @269 + _findnext64=MSVCRT__findnext64 @270 + _findnexti64=MSVCRT__findnexti64 @271 + _finite=MSVCRT__finite @272 + _flsbuf=MSVCRT__flsbuf @273 + _flushall=MSVCRT__flushall @274 + _fmode=MSVCRT__fmode @275 DATA + _fpclass=MSVCRT__fpclass @276 + _fpieee_flt @277 + _fpreset @278 + _fputchar=MSVCRT__fputchar @279 + _fputwchar=MSVCRT__fputwchar @280 + _fsopen=MSVCRT__fsopen @281 + _fstat=MSVCRT__fstat @282 + _fstat64=MSVCRT__fstat64 @283 + _fstati64=MSVCRT__fstati64 @284 + _ftime=MSVCRT__ftime @285 + _ftime64=MSVCRT__ftime64 @286 + _ftol=MSVCRT__ftol @287 + _fullpath=MSVCRT__fullpath @288 + _futime @289 + _futime64 @290 + _gcvt=MSVCRT__gcvt @291 + _get_osfhandle=MSVCRT__get_osfhandle @292 + _get_sbh_threshold @293 + _getch @294 + _getche @295 + _getcwd=MSVCRT__getcwd @296 + _getdcwd=MSVCRT__getdcwd @297 + _getdiskfree=MSVCRT__getdiskfree @298 + _getdllprocaddr @299 + _getdrive=MSVCRT__getdrive @300 + _getdrives=kernel32.GetLogicalDrives @301 + _getmaxstdio=MSVCRT__getmaxstdio @302 + _getmbcp @303 + _getpid @304 + _getw=MSVCRT__getw @306 + _getwch @307 + _getwche @308 + _getws=MSVCRT__getws @309 + _global_unwind2 @310 + _gmtime64=MSVCRT__gmtime64 @311 + _heapadd @312 + _heapchk @313 + _heapmin @314 + _heapset @315 + _heapwalk @317 + _hypot @318 + _i64toa=ntdll._i64toa @319 + _i64tow=ntdll._i64tow @320 + _initterm @321 + _iob=MSVCRT__iob @325 DATA + _isatty=MSVCRT__isatty @326 + _isctype=MSVCRT__isctype @327 + _ismbbkana @332 + _ismbblead @335 + _ismbbtrail @338 + _ismbcalnum @339 + _ismbcalpha @340 + _ismbcdigit @341 + _ismbcgraph @342 + _ismbchira @343 + _ismbckata @344 + _ismbcl0 @345 + _ismbclegal @348 + _ismbclower @349 + _ismbcprint @350 + _ismbcpunct @351 + _ismbcspace @352 + _ismbcsymbol @353 + _ismbcupper @354 + _ismbslead @355 + _ismbstrail @356 + _isnan=MSVCRT__isnan @357 + _itoa=MSVCRT__itoa @358 + _itow=ntdll._itow @359 + _j0=MSVCRT__j0 @360 + _j1=MSVCRT__j1 @361 + _jn=MSVCRT__jn @362 + _kbhit @363 + _lfind @364 + _loaddll @365 + _local_unwind2 @366 + _localtime64=MSVCRT__localtime64 @367 + _lock @368 + _locking=MSVCRT__locking @369 + _logb=MSVCRT__logb @370 + _longjmpex=MSVCRT_longjmp @371 + _lrotl=MSVCRT__lrotl @372 + _lrotr=MSVCRT__lrotr @373 + _lsearch @374 + _lseek=MSVCRT__lseek @375 + _lseeki64=MSVCRT__lseeki64 @376 + _ltoa=ntdll._ltoa @377 + _ltow=ntdll._ltow @378 + _makepath=MSVCRT__makepath @379 + _mbbtombc @380 + _mbbtype @381 + _mbccpy @382 + _mbcjistojms @383 + _mbcjmstojis @384 + _mbclen @385 + _mbctohira @386 + _mbctokata @387 + _mbctolower @388 + _mbctombb @389 + _mbctoupper @390 + _mbctype=MSVCRT_mbctype @391 DATA + _mbsbtype @392 + _mbscat @393 + _mbschr @394 + _mbscmp @395 + _mbscoll @396 + _mbscpy @397 + _mbscspn @398 + _mbsdec @399 + _mbsdup=MSVCRT__strdup @400 + _mbsicmp @401 + _mbsicoll @402 + _mbsinc @403 + _mbslen @404 + _mbslwr @405 + _mbsnbcat @406 + _mbsnbcmp @407 + _mbsnbcnt @408 + _mbsnbcoll @409 + _mbsnbcpy @410 + _mbsnbicmp @411 + _mbsnbicoll @412 + _mbsnbset @413 + _mbsncat @414 + _mbsnccnt @415 + _mbsncmp @416 + _mbsncpy @418 + _mbsnextc @419 + _mbsnicmp @420 + _mbsninc @422 + _mbsnset @423 + _mbspbrk @424 + _mbsrchr @425 + _mbsrev @426 + _mbsset @427 + _mbsspn @428 + _mbsspnp @429 + _mbsstr @430 + _mbstok @431 + _mbstrlen @432 + _mbsupr @433 + _memccpy=ntdll._memccpy @434 + _memicmp=ntdll._memicmp @435 + _mkdir=MSVCRT__mkdir @436 + _mktemp=MSVCRT__mktemp @437 + _mktime64=MSVCRT__mktime64 @438 + _msize @439 + _nextafter=MSVCRT__nextafter @440 + _onexit=MSVCRT__onexit @441 + _open=MSVCRT__open @442 + _open_osfhandle=MSVCRT__open_osfhandle @443 + _osplatform=MSVCRT__osplatform @444 DATA + _osver=MSVCRT__osver @445 DATA + _pclose=MSVCRT__pclose @449 + _pctype=MSVCRT__pctype @450 DATA + _pgmptr=MSVCRT__pgmptr @451 DATA + _pipe=MSVCRT__pipe @452 + _popen=MSVCRT__popen @453 + _purecall @454 + _putch @455 + _putenv @456 + _putw=MSVCRT__putw @457 + _putwch @458 + _putws=MSVCRT__putws @459 + _read=MSVCRT__read @460 + _resetstkoflw=MSVCRT__resetstkoflw @461 + _rmdir=MSVCRT__rmdir @462 + _rmtmp=MSVCRT__rmtmp @463 + _rotl @464 + _rotr @465 + _safe_fdiv @466 + _safe_fdivr @467 + _safe_fprem @468 + _safe_fprem1 @469 + _scalb=MSVCRT__scalb @470 + _scprintf=MSVCRT__scprintf @471 + _scwprintf=MSVCRT__scwprintf @472 + _searchenv=MSVCRT__searchenv @473 + _seh_longjmp_unwind@4 @474 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @475 + _set_error_mode @476 + _set_sbh_threshold @477 + _set_security_error_handler @478 + _seterrormode @479 + _setjmp=MSVCRT__setjmp @480 + _setjmp3=MSVCRT__setjmp3 @481 + _setmaxstdio=MSVCRT__setmaxstdio @482 + _setmbcp @483 + _setmode=MSVCRT__setmode @484 + _sleep=MSVCRT__sleep @486 + _snprintf=MSVCRT__snprintf @487 + _snscanf=MSVCRT__snscanf @488 + _snwprintf=MSVCRT__snwprintf @489 + _snwscanf=MSVCRT__snwscanf @490 + _sopen=MSVCRT__sopen @491 + _spawnl @492 + _spawnle @493 + _spawnlp @494 + _spawnlpe @495 + _spawnv @496 + _spawnve=MSVCRT__spawnve @497 + _spawnvp @498 + _spawnvpe=MSVCRT__spawnvpe @499 + _splitpath=MSVCRT__splitpath @500 + _stat=MSVCRT_stat @501 + _stat64=MSVCRT_stat64 @502 + _stati64=MSVCRT_stati64 @503 + _statusfp @504 + _strcmpi=MSVCRT__stricmp @505 + _strdate=MSVCRT__strdate @506 + _strdup=MSVCRT__strdup @507 + _strerror=MSVCRT__strerror @508 + _stricmp=MSVCRT__stricmp @509 + _stricoll=MSVCRT__stricoll @510 + _strlwr=MSVCRT__strlwr @511 + _strncoll=MSVCRT__strncoll @512 + _strnicmp=MSVCRT__strnicmp @513 + _strnicoll=MSVCRT__strnicoll @514 + _strnset=MSVCRT__strnset @515 + _strrev=MSVCRT__strrev @516 + _strset @517 + _strtime=MSVCRT__strtime @518 + _strtoi64=MSVCRT_strtoi64 @519 + _strtoui64=MSVCRT_strtoui64 @520 + _strupr=MSVCRT__strupr @521 + _swab=MSVCRT__swab @522 + _sys_errlist=MSVCRT__sys_errlist @523 DATA + _sys_nerr=MSVCRT__sys_nerr @524 DATA + _tell=MSVCRT__tell @525 + _telli64 @526 + _tempnam=MSVCRT__tempnam @527 + _time64=MSVCRT__time64 @528 + _timezone=MSVCRT___timezone @529 DATA + _tolower=MSVCRT__tolower @530 + _toupper=MSVCRT__toupper @531 + _tzname=MSVCRT__tzname @532 DATA + _tzset=MSVCRT__tzset @533 + _ui64toa=ntdll._ui64toa @534 + _ui64tow=ntdll._ui64tow @535 + _ultoa=ntdll._ultoa @536 + _ultow=ntdll._ultow @537 + _umask=MSVCRT__umask @538 + _ungetch @539 + _ungetwch @540 + _unlink=MSVCRT__unlink @541 + _unloaddll @542 + _unlock @543 + _utime @544 + _utime64 @545 + _vscprintf=MSVCRT__vscprintf @546 + _vscwprintf=MSVCRT__vscwprintf @547 + _vsnprintf=MSVCRT_vsnprintf @548 + _vsnwprintf=MSVCRT_vsnwprintf @549 + _waccess=MSVCRT__waccess @550 + _wasctime=MSVCRT__wasctime @551 + _wchdir=MSVCRT__wchdir @552 + _wchmod=MSVCRT__wchmod @553 + _wcmdln=MSVCRT__wcmdln @554 DATA + _wcreat=MSVCRT__wcreat @555 + _wcsdup=MSVCRT__wcsdup @556 + _wcserror=MSVCRT__wcserror @557 + _wcsicmp=MSVCRT__wcsicmp @558 + _wcsicoll=MSVCRT__wcsicoll @559 + _wcslwr=MSVCRT__wcslwr @560 + _wcsncoll=MSVCRT__wcsncoll @561 + _wcsnicmp=MSVCRT__wcsnicmp @562 + _wcsnicoll=MSVCRT__wcsnicoll @563 + _wcsnset=MSVCRT__wcsnset @564 + _wcsrev=MSVCRT__wcsrev @565 + _wcsset=MSVCRT__wcsset @566 + _wcstoi64=MSVCRT__wcstoi64 @567 + _wcstoui64=MSVCRT__wcstoui64 @568 + _wcsupr=ntdll._wcsupr @569 + _wctime=MSVCRT__wctime @570 + _wctime64=MSVCRT__wctime64 @571 + _wenviron=MSVCRT__wenviron @572 DATA + _wexecl @573 + _wexecle @574 + _wexeclp @575 + _wexeclpe @576 + _wexecv @577 + _wexecve @578 + _wexecvp @579 + _wexecvpe @580 + _wfdopen=MSVCRT__wfdopen @581 + _wfindfirst=MSVCRT__wfindfirst @582 + _wfindfirst64=MSVCRT__wfindfirst64 @583 + _wfindfirsti64=MSVCRT__wfindfirsti64 @584 + _wfindnext=MSVCRT__wfindnext @585 + _wfindnext64=MSVCRT__wfindnext64 @586 + _wfindnexti64=MSVCRT__wfindnexti64 @587 + _wfopen=MSVCRT__wfopen @588 + _wfreopen=MSVCRT__wfreopen @589 + _wfsopen=MSVCRT__wfsopen @590 + _wfullpath=MSVCRT__wfullpath @591 + _wgetcwd=MSVCRT__wgetcwd @592 + _wgetdcwd=MSVCRT__wgetdcwd @593 + _wgetenv=MSVCRT__wgetenv @594 + _winmajor=MSVCRT__winmajor @595 DATA + _winminor=MSVCRT__winminor @596 DATA + _winver=MSVCRT__winver @597 DATA + _wmakepath=MSVCRT__wmakepath @598 + _wmkdir=MSVCRT__wmkdir @599 + _wmktemp=MSVCRT__wmktemp @600 + _wopen=MSVCRT__wopen @601 + _wperror=MSVCRT__wperror @602 + _wpgmptr=MSVCRT__wpgmptr @603 DATA + _wpopen=MSVCRT__wpopen @604 + _wputenv @605 + _wremove=MSVCRT__wremove @606 + _wrename=MSVCRT__wrename @607 + _write=MSVCRT__write @608 + _wrmdir=MSVCRT__wrmdir @609 + _wsearchenv=MSVCRT__wsearchenv @610 + _wsetlocale=MSVCRT__wsetlocale @611 + _wsopen=MSVCRT__wsopen @612 + _wspawnl @613 + _wspawnle @614 + _wspawnlp @615 + _wspawnlpe @616 + _wspawnv @617 + _wspawnve=MSVCRT__wspawnve @618 + _wspawnvp @619 + _wspawnvpe=MSVCRT__wspawnvpe @620 + _wsplitpath=MSVCRT__wsplitpath @621 + _wstat=MSVCRT__wstat @622 + _wstat64=MSVCRT__wstat64 @623 + _wstati64=MSVCRT__wstati64 @624 + _wstrdate=MSVCRT__wstrdate @625 + _wstrtime=MSVCRT__wstrtime @626 + _wsystem @627 + _wtempnam=MSVCRT__wtempnam @628 + _wtmpnam=MSVCRT__wtmpnam @629 + _wtof=MSVCRT__wtof @630 + _wtoi=MSVCRT__wtoi @631 + _wtoi64=MSVCRT__wtoi64 @632 + _wtol=MSVCRT__wtol @633 + _wunlink=MSVCRT__wunlink @634 + _wutime @635 + _wutime64 @636 + _y0=MSVCRT__y0 @637 + _y1=MSVCRT__y1 @638 + _yn=MSVCRT__yn @639 + abort=MSVCRT_abort @640 + abs=MSVCRT_abs @641 + acos=MSVCRT_acos @642 + asctime=MSVCRT_asctime @643 + asin=MSVCRT_asin @644 + atan=MSVCRT_atan @645 + atan2=MSVCRT_atan2 @646 + atexit=MSVCRT_atexit @647 PRIVATE + atof=MSVCRT_atof @648 + atoi=MSVCRT_atoi @649 + atol=ntdll.atol @650 + bsearch=MSVCRT_bsearch @651 + calloc=MSVCRT_calloc @652 + ceil=MSVCRT_ceil @653 + clearerr=MSVCRT_clearerr @654 + clock=MSVCRT_clock @655 + cos=MSVCRT_cos @656 + cosh=MSVCRT_cosh @657 + ctime=MSVCRT_ctime @658 + difftime=MSVCRT_difftime @659 + div=MSVCRT_div @660 + exit=MSVCRT_exit @661 + exp=MSVCRT_exp @662 + fabs=MSVCRT_fabs @663 + fclose=MSVCRT_fclose @664 + feof=MSVCRT_feof @665 + ferror=MSVCRT_ferror @666 + fflush=MSVCRT_fflush @667 + fgetc=MSVCRT_fgetc @668 + fgetpos=MSVCRT_fgetpos @669 + fgets=MSVCRT_fgets @670 + fgetwc=MSVCRT_fgetwc @671 + fgetws=MSVCRT_fgetws @672 + floor=MSVCRT_floor @673 + fmod=MSVCRT_fmod @674 + fopen=MSVCRT_fopen @675 + fprintf=MSVCRT_fprintf @676 + fputc=MSVCRT_fputc @677 + fputs=MSVCRT_fputs @678 + fputwc=MSVCRT_fputwc @679 + fputws=MSVCRT_fputws @680 + fread=MSVCRT_fread @681 + free=MSVCRT_free @682 + freopen=MSVCRT_freopen @683 + frexp=MSVCRT_frexp @684 + fscanf=MSVCRT_fscanf @685 + fseek=MSVCRT_fseek @686 + fsetpos=MSVCRT_fsetpos @687 + ftell=MSVCRT_ftell @688 + fwprintf=MSVCRT_fwprintf @689 + fwrite=MSVCRT_fwrite @690 + fwscanf=MSVCRT_fwscanf @691 + getc=MSVCRT_getc @692 + getchar=MSVCRT_getchar @693 + getenv=MSVCRT_getenv @694 + gets=MSVCRT_gets @695 + getwc=MSVCRT_getwc @696 + getwchar=MSVCRT_getwchar @697 + gmtime=MSVCRT_gmtime @698 + is_wctype=ntdll.iswctype @699 + isalnum=MSVCRT_isalnum @700 + isalpha=MSVCRT_isalpha @701 + iscntrl=MSVCRT_iscntrl @702 + isdigit=MSVCRT_isdigit @703 + isgraph=MSVCRT_isgraph @704 + isleadbyte=MSVCRT_isleadbyte @705 + islower=MSVCRT_islower @706 + isprint=MSVCRT_isprint @707 + ispunct=MSVCRT_ispunct @708 + isspace=MSVCRT_isspace @709 + isupper=MSVCRT_isupper @710 + iswalnum=MSVCRT_iswalnum @711 + iswalpha=ntdll.iswalpha @712 + iswascii=MSVCRT_iswascii @713 + iswcntrl=MSVCRT_iswcntrl @714 + iswctype=ntdll.iswctype @715 + iswdigit=MSVCRT_iswdigit @716 + iswgraph=MSVCRT_iswgraph @717 + iswlower=MSVCRT_iswlower @718 + iswprint=MSVCRT_iswprint @719 + iswpunct=MSVCRT_iswpunct @720 + iswspace=MSVCRT_iswspace @721 + iswupper=MSVCRT_iswupper @722 + iswxdigit=MSVCRT_iswxdigit @723 + isxdigit=MSVCRT_isxdigit @724 + labs=MSVCRT_labs @725 + ldexp=MSVCRT_ldexp @726 + ldiv=MSVCRT_ldiv @727 + localeconv=MSVCRT_localeconv @728 + localtime=MSVCRT_localtime @729 + log=MSVCRT_log @730 + log10=MSVCRT_log10 @731 + longjmp=MSVCRT_longjmp @732 + malloc=MSVCRT_malloc @733 + mblen=MSVCRT_mblen @734 + mbstowcs=MSVCRT_mbstowcs @735 + mbtowc=MSVCRT_mbtowc @736 + memchr=MSVCRT_memchr @737 + memcmp=MSVCRT_memcmp @738 + memcpy=MSVCRT_memcpy @739 + memmove=MSVCRT_memmove @740 + memset=MSVCRT_memset @741 + mktime=MSVCRT_mktime @742 + modf=MSVCRT_modf @743 + perror=MSVCRT_perror @744 + pow=MSVCRT_pow @745 + printf=MSVCRT_printf @746 + putc=MSVCRT_putc @747 + putchar=MSVCRT_putchar @748 + puts=MSVCRT_puts @749 + putwc=MSVCRT_fputwc @750 + putwchar=MSVCRT__fputwchar @751 + qsort=MSVCRT_qsort @752 + raise=MSVCRT_raise @753 + rand=MSVCRT_rand @754 + realloc=MSVCRT_realloc @755 + remove=MSVCRT_remove @756 + rename=MSVCRT_rename @757 + rewind=MSVCRT_rewind @758 + scanf=MSVCRT_scanf @759 + setbuf=MSVCRT_setbuf @760 + setlocale=MSVCRT_setlocale @761 + setvbuf=MSVCRT_setvbuf @762 + signal=MSVCRT_signal @763 + sin=MSVCRT_sin @764 + sinh=MSVCRT_sinh @765 + sprintf=MSVCRT_sprintf @766 + sqrt=MSVCRT_sqrt @767 + srand=MSVCRT_srand @768 + sscanf=MSVCRT_sscanf @769 + strcat=ntdll.strcat @770 + strchr=MSVCRT_strchr @771 + strcmp=MSVCRT_strcmp @772 + strcoll=MSVCRT_strcoll @773 + strcpy=MSVCRT_strcpy @774 + strcspn=ntdll.strcspn @775 + strerror=MSVCRT_strerror @776 + strftime=MSVCRT_strftime @777 + strlen=MSVCRT_strlen @778 + strncat=MSVCRT_strncat @779 + strncmp=MSVCRT_strncmp @780 + strncpy=MSVCRT_strncpy @781 + strpbrk=ntdll.strpbrk @782 + strrchr=MSVCRT_strrchr @783 + strspn=ntdll.strspn @784 + strstr=MSVCRT_strstr @785 + strtod=MSVCRT_strtod @786 + strtok=MSVCRT_strtok @787 + strtol=MSVCRT_strtol @788 + strtoul=MSVCRT_strtoul @789 + strxfrm=MSVCRT_strxfrm @790 + swprintf=MSVCRT_swprintf @791 + swscanf=MSVCRT_swscanf @792 + system=MSVCRT_system @793 + tan=MSVCRT_tan @794 + tanh=MSVCRT_tanh @795 + time=MSVCRT_time @796 + tmpfile=MSVCRT_tmpfile @797 + tmpnam=MSVCRT_tmpnam @798 + tolower=MSVCRT_tolower @799 + toupper=MSVCRT_toupper @800 + towlower=MSVCRT_towlower @801 + towupper=MSVCRT_towupper @802 + ungetc=MSVCRT_ungetc @803 + ungetwc=MSVCRT_ungetwc @804 + vfprintf=MSVCRT_vfprintf @805 + vfwprintf=MSVCRT_vfwprintf @806 + vprintf=MSVCRT_vprintf @807 + vsprintf=MSVCRT_vsprintf @808 + vswprintf=MSVCRT_vswprintf @809 + vwprintf=MSVCRT_vwprintf @810 + wcscat=ntdll.wcscat @811 + wcschr=MSVCRT_wcschr @812 + wcscmp=ntdll.wcscmp @813 + wcscoll=MSVCRT_wcscoll @814 + wcscpy=ntdll.wcscpy @815 + wcscspn=ntdll.wcscspn @816 + wcsftime=MSVCRT_wcsftime @817 + wcslen=MSVCRT_wcslen @818 + wcsncat=ntdll.wcsncat @819 + wcsncmp=MSVCRT_wcsncmp @820 + wcsncpy=MSVCRT_wcsncpy @821 + wcspbrk=MSVCRT_wcspbrk @822 + wcsrchr=ntdll.wcsrchr @823 + wcsspn=ntdll.wcsspn @824 + wcsstr=MSVCRT_wcsstr @825 + wcstod=MSVCRT_wcstod @826 + wcstok=MSVCRT_wcstok @827 + wcstol=ntdll.wcstol @828 + wcstombs=MSVCRT_wcstombs @829 + wcstoul=MSVCRT_wcstoul @830 + wcsxfrm=MSVCRT_wcsxfrm @831 + wctomb=MSVCRT_wctomb @832 + wprintf=MSVCRT_wprintf @833 + wscanf=MSVCRT_wscanf @834 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr71.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr71.def new file mode 100644 index 0000000..b11ebdc --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr71.def @@ -0,0 +1,807 @@ +; File generated automatically from ./dlls/msvcr71/msvcr71.spec; do not edit! + +LIBRARY msvcr71.dll + +EXPORTS + ??0__non_rtti_object@@QAE@ABV0@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @1 + ??0__non_rtti_object@@QAE@PBD@Z=__thiscall_MSVCRT___non_rtti_object_ctor @2 + ??0bad_cast@@AAE@PBQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @3 + ??0bad_cast@@QAE@ABQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @4 + ??0bad_cast@@QAE@ABV0@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @5 + ??0bad_cast@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @6 + ??0bad_typeid@@QAE@ABV0@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @7 + ??0bad_typeid@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @8 + ??0exception@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @9 + ??0exception@@QAE@ABV0@@Z=__thiscall_MSVCRT_exception_copy_ctor @10 + ??0exception@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @11 + ??1__non_rtti_object@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @12 + ??1bad_cast@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @13 + ??1bad_typeid@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @14 + ??1exception@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @15 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @16 + ??2@YAPAXI@Z=MSVCRT_operator_new @17 + ??3@YAXPAX@Z=MSVCRT_operator_delete @18 + ??4__non_rtti_object@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @19 + ??4bad_cast@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_bad_cast_opequals @20 + ??4bad_typeid@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_bad_typeid_opequals @21 + ??4exception@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_exception_opequals @22 + ??8type_info@@QBEHABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @23 + ??9type_info@@QBEHABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @24 + ??_7__non_rtti_object@@6B@=MSVCRT___non_rtti_object_vtable @25 DATA + ??_7bad_cast@@6B@=MSVCRT_bad_cast_vtable @26 DATA + ??_7bad_typeid@@6B@=MSVCRT_bad_typeid_vtable @27 DATA + ??_7exception@@6B@=MSVCRT_exception_vtable @28 DATA + ??_Fbad_cast@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @29 + ??_Fbad_typeid@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @30 + ??_U@YAPAXI@Z=MSVCRT_operator_new @31 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @32 + __uncaught_exception=MSVCRT___uncaught_exception @33 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @34 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @35 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @36 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @37 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @38 + ?before@type_info@@QBEHABV1@@Z=__thiscall_MSVCRT_type_info_before @39 + ?name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_name @40 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @41 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @42 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @43 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @44 + ?swprintf@@YAHPAGIPBGZZ=MSVCRT__snwprintf @45 + ?swprintf@@YAHPA_WIPB_WZZ=MSVCRT__snwprintf @46 + ?terminate@@YAXXZ=MSVCRT_terminate @47 + ?unexpected@@YAXXZ=MSVCRT_unexpected @48 + ?vswprintf@@YAHPAGIPBGPAD@Z=MSVCRT_vsnwprintf @49 + ?vswprintf@@YAHPA_WIPB_WPAD@Z=MSVCRT_vsnwprintf @50 + ?what@exception@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @51 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @52 + _CIacos @53 + _CIasin @54 + _CIatan @55 + _CIatan2 @56 + _CIcos @57 + _CIcosh @58 + _CIexp @59 + _CIfmod @60 + _CIlog @61 + _CIlog10 @62 + _CIpow @63 + _CIsin @64 + _CIsinh @65 + _CIsqrt @66 + _CItan @67 + _CItanh @68 + _CRT_RTC_INIT @69 + _CxxThrowException@8 @70 + _EH_prolog @71 + _Getdays @72 + _Getmonths @73 + _Gettnames @74 + _HUGE=MSVCRT__HUGE @75 DATA + _Strftime @76 + _XcptFilter @77 + __CppXcptFilter @78 + __CxxDetectRethrow @81 + __CxxExceptionFilter @82 + __CxxFrameHandler @83 + __CxxLongjmpUnwind@4 @84 + __CxxQueryExceptionSize @85 + __CxxRegisterExceptionObject @86 + __CxxUnregisterExceptionObject @87 + __DestructExceptionObject @88 + __RTCastToVoid=MSVCRT___RTCastToVoid @89 + __RTDynamicCast=MSVCRT___RTDynamicCast @90 + __RTtypeid=MSVCRT___RTtypeid @91 + __STRINGTOLD @92 + ___lc_codepage_func @93 + ___lc_collate_cp_func @94 + ___lc_handle_func @95 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @96 + ___setlc_active_func=MSVCRT____setlc_active_func @97 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @98 + __argc=MSVCRT___argc @99 DATA + __argv=MSVCRT___argv @100 DATA + __badioinfo=MSVCRT___badioinfo @101 DATA + __crtCompareStringA @103 + __crtCompareStringW @104 + __crtGetLocaleInfoW @105 + __crtGetStringTypeW @106 + __crtLCMapStringA @107 + __crtLCMapStringW @108 + __dllonexit @109 + __doserrno=MSVCRT___doserrno @110 + __fpecode @111 + __getmainargs @112 + __initenv=MSVCRT___initenv @113 DATA + __iob_func=MSVCRT___iob_func @114 + __isascii=MSVCRT___isascii @115 + __iscsym=MSVCRT___iscsym @116 + __iscsymf=MSVCRT___iscsymf @117 + __lc_codepage=MSVCRT___lc_codepage @118 DATA + __lc_collate_cp=MSVCRT___lc_collate_cp @119 DATA + __lc_handle=MSVCRT___lc_handle @120 DATA + __lconv_init @121 + __mb_cur_max=MSVCRT___mb_cur_max @122 DATA + __p___argc=MSVCRT___p___argc @123 + __p___argv=MSVCRT___p___argv @124 + __p___initenv @125 + __p___mb_cur_max @126 + __p___wargv=MSVCRT___p___wargv @127 + __p___winitenv @128 + __p__acmdln @129 + __p__amblksiz @130 + __p__commode @131 + __p__daylight=MSVCRT___p__daylight @132 + __p__dstbias=MSVCRT___p__dstbias @133 + __p__environ=MSVCRT___p__environ @134 + __p__fmode @136 + __p__iob=MSVCRT___iob_func @137 + __p__mbctype @139 + __p__osver @140 + __p__pctype=MSVCRT___p__pctype @141 + __p__pgmptr=MSVCRT___p__pgmptr @142 + __p__timezone=MSVCRT___p__timezone @144 + __p__tzname @145 + __p__wcmdln @146 + __p__wenviron=MSVCRT___p__wenviron @147 + __p__winmajor @148 + __p__winminor @149 + __p__winver @150 + __p__wpgmptr=MSVCRT___p__wpgmptr @151 + __pctype_func=MSVCRT___pctype_func @152 + __pioinfo=MSVCRT___pioinfo @153 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @155 + __security_error_handler @156 + __set_app_type=MSVCRT___set_app_type @157 + __setlc_active=MSVCRT___setlc_active @159 DATA + __setusermatherr=MSVCRT___setusermatherr @160 + __threadhandle=kernel32.GetCurrentThread @161 + __threadid=kernel32.GetCurrentThreadId @162 + __toascii=MSVCRT___toascii @163 + __unDName @164 + __unDNameEx @165 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @166 DATA + __wargv=MSVCRT___wargv @167 DATA + __wcserror=MSVCRT___wcserror @168 + __wgetmainargs @169 + __winitenv=MSVCRT___winitenv @170 DATA + _abnormal_termination @171 + _access=MSVCRT__access @172 + _acmdln=MSVCRT__acmdln @173 DATA + _adj_fdiv_m16i@4 @174 + _adj_fdiv_m32@4 @175 + _adj_fdiv_m32i@4 @176 + _adj_fdiv_m64@8 @177 + _adj_fdiv_r @178 + _adj_fdivr_m16i@4 @179 + _adj_fdivr_m32@4 @180 + _adj_fdivr_m32i@4 @181 + _adj_fdivr_m64@8 @182 + _adj_fpatan @183 + _adj_fprem @184 + _adj_fprem1 @185 + _adj_fptan @186 + _adjust_fdiv=MSVCRT__adjust_fdiv @187 DATA + _aexit_rtn @188 DATA + _aligned_free @189 + _aligned_malloc @190 + _aligned_offset_malloc @191 + _aligned_offset_realloc @192 + _aligned_realloc @193 + _amsg_exit @194 + _assert=MSVCRT__assert @195 + _atodbl=MSVCRT__atodbl @196 + _atoi64=ntdll._atoi64 @197 + _atoldbl=MSVCRT__atoldbl @198 + _beep=MSVCRT__beep @199 + _beginthread @200 + _beginthreadex @201 + _c_exit=MSVCRT__c_exit @202 + _cabs=MSVCRT__cabs @203 + _callnewh @204 + _cexit=MSVCRT__cexit @205 + _cgets @206 + _chdir=MSVCRT__chdir @208 + _chdrive=MSVCRT__chdrive @209 + _chgsign=MSVCRT__chgsign @210 + _chkesp @211 + _chmod=MSVCRT__chmod @212 + _chsize=MSVCRT__chsize @213 + _clearfp @214 + _close=MSVCRT__close @215 + _commit=MSVCRT__commit @216 + _commode=MSVCRT__commode @217 DATA + _control87 @218 + _controlfp @219 + _copysign=MSVCRT__copysign @220 + _cprintf @221 + _cputs @222 + _cputws @223 + _creat=MSVCRT__creat @224 + _cscanf @225 + _ctime64=MSVCRT__ctime64 @226 + _cwait @227 + _cwprintf @228 + _cwscanf @229 + _daylight=MSVCRT___daylight @230 DATA + _dstbias=MSVCRT__dstbias @231 DATA + _dup=MSVCRT__dup @232 + _dup2=MSVCRT__dup2 @233 + _ecvt=MSVCRT__ecvt @234 + _endthread @235 + _endthreadex @236 + _environ=MSVCRT__environ @237 DATA + _eof=MSVCRT__eof @238 + _errno=MSVCRT__errno @239 + _except_handler2 @240 + _except_handler3 @241 + _execl @242 + _execle @243 + _execlp @244 + _execlpe @245 + _execv @246 + _execve=MSVCRT__execve @247 + _execvp @248 + _execvpe @249 + _exit=MSVCRT__exit @250 + _expand @251 + _fcloseall=MSVCRT__fcloseall @252 + _fcvt=MSVCRT__fcvt @253 + _fdopen=MSVCRT__fdopen @254 + _fgetchar=MSVCRT__fgetchar @255 + _fgetwchar=MSVCRT__fgetwchar @256 + _filbuf=MSVCRT__filbuf @257 + _filelength=MSVCRT__filelength @258 + _filelengthi64=MSVCRT__filelengthi64 @259 + _fileno=MSVCRT__fileno @260 + _findclose=MSVCRT__findclose @261 + _findfirst=MSVCRT__findfirst @262 + _findfirst64=MSVCRT__findfirst64 @263 + _findfirsti64=MSVCRT__findfirsti64 @264 + _findnext=MSVCRT__findnext @265 + _findnext64=MSVCRT__findnext64 @266 + _findnexti64=MSVCRT__findnexti64 @267 + _finite=MSVCRT__finite @268 + _flsbuf=MSVCRT__flsbuf @269 + _flushall=MSVCRT__flushall @270 + _fmode=MSVCRT__fmode @271 DATA + _fpclass=MSVCRT__fpclass @272 + _fpieee_flt @273 + _fpreset @274 + _fputchar=MSVCRT__fputchar @275 + _fputwchar=MSVCRT__fputwchar @276 + _fsopen=MSVCRT__fsopen @277 + _fstat=MSVCRT__fstat @278 + _fstat64=MSVCRT__fstat64 @279 + _fstati64=MSVCRT__fstati64 @280 + _ftime=MSVCRT__ftime @281 + _ftime64=MSVCRT__ftime64 @282 + _ftol=MSVCRT__ftol @283 + _fullpath=MSVCRT__fullpath @284 + _futime @285 + _futime64 @286 + _gcvt=MSVCRT__gcvt @287 + _get_heap_handle @288 + _get_osfhandle=MSVCRT__get_osfhandle @289 + _get_sbh_threshold @290 + _getch @291 + _getche @292 + _getcwd=MSVCRT__getcwd @293 + _getdcwd=MSVCRT__getdcwd @294 + _getdiskfree=MSVCRT__getdiskfree @295 + _getdllprocaddr @296 + _getdrive=MSVCRT__getdrive @297 + _getdrives=kernel32.GetLogicalDrives @298 + _getmaxstdio=MSVCRT__getmaxstdio @299 + _getmbcp @300 + _getpid @301 + _getw=MSVCRT__getw @303 + _getwch @304 + _getwche @305 + _getws=MSVCRT__getws @306 + _global_unwind2 @307 + _gmtime64=MSVCRT__gmtime64 @308 + _heapadd @309 + _heapchk @310 + _heapmin @311 + _heapset @312 + _heapwalk @314 + _hypot @315 + _i64toa=ntdll._i64toa @316 + _i64tow=ntdll._i64tow @317 + _initterm @318 + _iob=MSVCRT__iob @322 DATA + _isatty=MSVCRT__isatty @323 + _isctype=MSVCRT__isctype @324 + _ismbbkana @329 + _ismbblead @332 + _ismbbtrail @335 + _ismbcalnum @336 + _ismbcalpha @337 + _ismbcdigit @338 + _ismbcgraph @339 + _ismbchira @340 + _ismbckata @341 + _ismbcl0 @342 + _ismbclegal @345 + _ismbclower @346 + _ismbcprint @347 + _ismbcpunct @348 + _ismbcspace @349 + _ismbcsymbol @350 + _ismbcupper @351 + _ismbslead @352 + _ismbstrail @353 + _isnan=MSVCRT__isnan @354 + _itoa=MSVCRT__itoa @355 + _itow=ntdll._itow @356 + _j0=MSVCRT__j0 @357 + _j1=MSVCRT__j1 @358 + _jn=MSVCRT__jn @359 + _kbhit @360 + _lfind @361 + _loaddll @362 + _local_unwind2 @363 + _localtime64=MSVCRT__localtime64 @364 + _lock @365 + _locking=MSVCRT__locking @366 + _logb=MSVCRT__logb @367 + _longjmpex=MSVCRT_longjmp @368 + _lrotl=MSVCRT__lrotl @369 + _lrotr=MSVCRT__lrotr @370 + _lsearch @371 + _lseek=MSVCRT__lseek @372 + _lseeki64=MSVCRT__lseeki64 @373 + _ltoa=ntdll._ltoa @374 + _ltow=ntdll._ltow @375 + _makepath=MSVCRT__makepath @376 + _mbbtombc @377 + _mbbtype @378 + _mbccpy @379 + _mbcjistojms @380 + _mbcjmstojis @381 + _mbclen @382 + _mbctohira @383 + _mbctokata @384 + _mbctolower @385 + _mbctombb @386 + _mbctoupper @387 + _mbctype=MSVCRT_mbctype @388 DATA + _mbsbtype @389 + _mbscat @390 + _mbschr @391 + _mbscmp @392 + _mbscoll @393 + _mbscpy @394 + _mbscspn @395 + _mbsdec @396 + _mbsdup=MSVCRT__strdup @397 + _mbsicmp @398 + _mbsicoll @399 + _mbsinc @400 + _mbslen @401 + _mbslwr @402 + _mbsnbcat @403 + _mbsnbcmp @404 + _mbsnbcnt @405 + _mbsnbcoll @406 + _mbsnbcpy @407 + _mbsnbicmp @408 + _mbsnbicoll @409 + _mbsnbset @410 + _mbsncat @411 + _mbsnccnt @412 + _mbsncmp @413 + _mbsncpy @415 + _mbsnextc @416 + _mbsnicmp @417 + _mbsninc @419 + _mbsnset @420 + _mbspbrk @421 + _mbsrchr @422 + _mbsrev @423 + _mbsset @424 + _mbsspn @425 + _mbsspnp @426 + _mbsstr @427 + _mbstok @428 + _mbstrlen @429 + _mbsupr @430 + _memccpy=ntdll._memccpy @431 + _memicmp=ntdll._memicmp @432 + _mkdir=MSVCRT__mkdir @433 + _mktemp=MSVCRT__mktemp @434 + _mktime64=MSVCRT__mktime64 @435 + _msize @436 + _nextafter=MSVCRT__nextafter @437 + _onexit=MSVCRT__onexit @438 + _open=MSVCRT__open @439 + _open_osfhandle=MSVCRT__open_osfhandle @440 + _osplatform=MSVCRT__osplatform @441 DATA + _osver=MSVCRT__osver @442 DATA + _pclose=MSVCRT__pclose @446 + _pctype=MSVCRT__pctype @447 DATA + _pgmptr=MSVCRT__pgmptr @448 DATA + _pipe=MSVCRT__pipe @449 + _popen=MSVCRT__popen @450 + _purecall @451 + _putch @452 + _putenv @453 + _putw=MSVCRT__putw @454 + _putwch @455 + _putws=MSVCRT__putws @456 + _read=MSVCRT__read @457 + _resetstkoflw=MSVCRT__resetstkoflw @458 + _rmdir=MSVCRT__rmdir @459 + _rmtmp=MSVCRT__rmtmp @460 + _rotl @461 + _rotr @462 + _safe_fdiv @463 + _safe_fdivr @464 + _safe_fprem @465 + _safe_fprem1 @466 + _scalb=MSVCRT__scalb @467 + _scprintf=MSVCRT__scprintf @468 + _scwprintf=MSVCRT__scwprintf @469 + _searchenv=MSVCRT__searchenv @470 + _seh_longjmp_unwind@4 @471 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @472 + _set_error_mode @473 + _set_purecall_handler @474 + _set_sbh_threshold @475 + _set_security_error_handler @476 + _seterrormode @477 + _setjmp=MSVCRT__setjmp @478 + _setjmp3=MSVCRT__setjmp3 @479 + _setmaxstdio=MSVCRT__setmaxstdio @480 + _setmbcp @481 + _setmode=MSVCRT__setmode @482 + _sleep=MSVCRT__sleep @484 + _snprintf=MSVCRT__snprintf @485 + _snscanf=MSVCRT__snscanf @486 + _snwprintf=MSVCRT__snwprintf @487 + _snwscanf=MSVCRT__snwscanf @488 + _sopen=MSVCRT__sopen @489 + _spawnl @490 + _spawnle @491 + _spawnlp @492 + _spawnlpe @493 + _spawnv @494 + _spawnve=MSVCRT__spawnve @495 + _spawnvp @496 + _spawnvpe=MSVCRT__spawnvpe @497 + _splitpath=MSVCRT__splitpath @498 + _stat=MSVCRT_stat @499 + _stat64=MSVCRT_stat64 @500 + _stati64=MSVCRT_stati64 @501 + _statusfp @502 + _strcmpi=MSVCRT__stricmp @503 + _strdate=MSVCRT__strdate @504 + _strdup=MSVCRT__strdup @505 + _strerror=MSVCRT__strerror @506 + _stricmp=MSVCRT__stricmp @507 + _stricoll=MSVCRT__stricoll @508 + _strlwr=MSVCRT__strlwr @509 + _strncoll=MSVCRT__strncoll @510 + _strnicmp=MSVCRT__strnicmp @511 + _strnicoll=MSVCRT__strnicoll @512 + _strnset=MSVCRT__strnset @513 + _strrev=MSVCRT__strrev @514 + _strset @515 + _strtime=MSVCRT__strtime @516 + _strtoi64=MSVCRT_strtoi64 @517 + _strtoui64=MSVCRT_strtoui64 @518 + _strupr=MSVCRT__strupr @519 + _swab=MSVCRT__swab @520 + _sys_errlist=MSVCRT__sys_errlist @521 DATA + _sys_nerr=MSVCRT__sys_nerr @522 DATA + _tell=MSVCRT__tell @523 + _telli64 @524 + _tempnam=MSVCRT__tempnam @525 + _time64=MSVCRT__time64 @526 + _timezone=MSVCRT___timezone @527 DATA + _tolower=MSVCRT__tolower @528 + _toupper=MSVCRT__toupper @529 + _tzname=MSVCRT__tzname @530 DATA + _tzset=MSVCRT__tzset @531 + _ui64toa=ntdll._ui64toa @532 + _ui64tow=ntdll._ui64tow @533 + _ultoa=ntdll._ultoa @534 + _ultow=ntdll._ultow @535 + _umask=MSVCRT__umask @536 + _ungetch @537 + _ungetwch @538 + _unlink=MSVCRT__unlink @539 + _unloaddll @540 + _unlock @541 + _utime @542 + _utime64 @543 + _vscprintf=MSVCRT__vscprintf @544 + _vscwprintf=MSVCRT__vscwprintf @545 + _vsnprintf=MSVCRT_vsnprintf @546 + _vsnwprintf=MSVCRT_vsnwprintf @547 + _waccess=MSVCRT__waccess @548 + _wasctime=MSVCRT__wasctime @549 + _wchdir=MSVCRT__wchdir @550 + _wchmod=MSVCRT__wchmod @551 + _wcmdln=MSVCRT__wcmdln @552 DATA + _wcreat=MSVCRT__wcreat @553 + _wcsdup=MSVCRT__wcsdup @554 + _wcserror=MSVCRT__wcserror @555 + _wcsicmp=MSVCRT__wcsicmp @556 + _wcsicoll=MSVCRT__wcsicoll @557 + _wcslwr=MSVCRT__wcslwr @558 + _wcsncoll=MSVCRT__wcsncoll @559 + _wcsnicmp=MSVCRT__wcsnicmp @560 + _wcsnicoll=MSVCRT__wcsnicoll @561 + _wcsnset=MSVCRT__wcsnset @562 + _wcsrev=MSVCRT__wcsrev @563 + _wcsset=MSVCRT__wcsset @564 + _wcstoi64=MSVCRT__wcstoi64 @565 + _wcstoui64=MSVCRT__wcstoui64 @566 + _wcsupr=ntdll._wcsupr @567 + _wctime=MSVCRT__wctime @568 + _wctime64=MSVCRT__wctime64 @569 + _wenviron=MSVCRT__wenviron @570 DATA + _wexecl @571 + _wexecle @572 + _wexeclp @573 + _wexeclpe @574 + _wexecv @575 + _wexecve @576 + _wexecvp @577 + _wexecvpe @578 + _wfdopen=MSVCRT__wfdopen @579 + _wfindfirst=MSVCRT__wfindfirst @580 + _wfindfirst64=MSVCRT__wfindfirst64 @581 + _wfindfirsti64=MSVCRT__wfindfirsti64 @582 + _wfindnext=MSVCRT__wfindnext @583 + _wfindnext64=MSVCRT__wfindnext64 @584 + _wfindnexti64=MSVCRT__wfindnexti64 @585 + _wfopen=MSVCRT__wfopen @586 + _wfreopen=MSVCRT__wfreopen @587 + _wfsopen=MSVCRT__wfsopen @588 + _wfullpath=MSVCRT__wfullpath @589 + _wgetcwd=MSVCRT__wgetcwd @590 + _wgetdcwd=MSVCRT__wgetdcwd @591 + _wgetenv=MSVCRT__wgetenv @592 + _winmajor=MSVCRT__winmajor @593 DATA + _winminor=MSVCRT__winminor @594 DATA + _winver=MSVCRT__winver @595 DATA + _wmakepath=MSVCRT__wmakepath @596 + _wmkdir=MSVCRT__wmkdir @597 + _wmktemp=MSVCRT__wmktemp @598 + _wopen=MSVCRT__wopen @599 + _wperror=MSVCRT__wperror @600 + _wpgmptr=MSVCRT__wpgmptr @601 DATA + _wpopen=MSVCRT__wpopen @602 + _wputenv @603 + _wremove=MSVCRT__wremove @604 + _wrename=MSVCRT__wrename @605 + _write=MSVCRT__write @606 + _wrmdir=MSVCRT__wrmdir @607 + _wsearchenv=MSVCRT__wsearchenv @608 + _wsetlocale=MSVCRT__wsetlocale @609 + _wsopen=MSVCRT__wsopen @610 + _wspawnl @611 + _wspawnle @612 + _wspawnlp @613 + _wspawnlpe @614 + _wspawnv @615 + _wspawnve=MSVCRT__wspawnve @616 + _wspawnvp @617 + _wspawnvpe=MSVCRT__wspawnvpe @618 + _wsplitpath=MSVCRT__wsplitpath @619 + _wstat=MSVCRT__wstat @620 + _wstat64=MSVCRT__wstat64 @621 + _wstati64=MSVCRT__wstati64 @622 + _wstrdate=MSVCRT__wstrdate @623 + _wstrtime=MSVCRT__wstrtime @624 + _wsystem @625 + _wtempnam=MSVCRT__wtempnam @626 + _wtmpnam=MSVCRT__wtmpnam @627 + _wtof=MSVCRT__wtof @628 + _wtoi=MSVCRT__wtoi @629 + _wtoi64=MSVCRT__wtoi64 @630 + _wtol=MSVCRT__wtol @631 + _wunlink=MSVCRT__wunlink @632 + _wutime @633 + _wutime64 @634 + _y0=MSVCRT__y0 @635 + _y1=MSVCRT__y1 @636 + _yn=MSVCRT__yn @637 + abort=MSVCRT_abort @638 + abs=MSVCRT_abs @639 + acos=MSVCRT_acos @640 + asctime=MSVCRT_asctime @641 + asin=MSVCRT_asin @642 + atan=MSVCRT_atan @643 + atan2=MSVCRT_atan2 @644 + atexit=MSVCRT_atexit @645 PRIVATE + atof=MSVCRT_atof @646 + atoi=MSVCRT_atoi @647 + atol=ntdll.atol @648 + bsearch=MSVCRT_bsearch @649 + calloc=MSVCRT_calloc @650 + ceil=MSVCRT_ceil @651 + clearerr=MSVCRT_clearerr @652 + clock=MSVCRT_clock @653 + cos=MSVCRT_cos @654 + cosh=MSVCRT_cosh @655 + ctime=MSVCRT_ctime @656 + difftime=MSVCRT_difftime @657 + div=MSVCRT_div @658 + exit=MSVCRT_exit @659 + exp=MSVCRT_exp @660 + fabs=MSVCRT_fabs @661 + fclose=MSVCRT_fclose @662 + feof=MSVCRT_feof @663 + ferror=MSVCRT_ferror @664 + fflush=MSVCRT_fflush @665 + fgetc=MSVCRT_fgetc @666 + fgetpos=MSVCRT_fgetpos @667 + fgets=MSVCRT_fgets @668 + fgetwc=MSVCRT_fgetwc @669 + fgetws=MSVCRT_fgetws @670 + floor=MSVCRT_floor @671 + fmod=MSVCRT_fmod @672 + fopen=MSVCRT_fopen @673 + fprintf=MSVCRT_fprintf @674 + fputc=MSVCRT_fputc @675 + fputs=MSVCRT_fputs @676 + fputwc=MSVCRT_fputwc @677 + fputws=MSVCRT_fputws @678 + fread=MSVCRT_fread @679 + free=MSVCRT_free @680 + freopen=MSVCRT_freopen @681 + frexp=MSVCRT_frexp @682 + fscanf=MSVCRT_fscanf @683 + fseek=MSVCRT_fseek @684 + fsetpos=MSVCRT_fsetpos @685 + ftell=MSVCRT_ftell @686 + fwprintf=MSVCRT_fwprintf @687 + fwrite=MSVCRT_fwrite @688 + fwscanf=MSVCRT_fwscanf @689 + getc=MSVCRT_getc @690 + getchar=MSVCRT_getchar @691 + getenv=MSVCRT_getenv @692 + gets=MSVCRT_gets @693 + getwc=MSVCRT_getwc @694 + getwchar=MSVCRT_getwchar @695 + gmtime=MSVCRT_gmtime @696 + is_wctype=ntdll.iswctype @697 + isalnum=MSVCRT_isalnum @698 + isalpha=MSVCRT_isalpha @699 + iscntrl=MSVCRT_iscntrl @700 + isdigit=MSVCRT_isdigit @701 + isgraph=MSVCRT_isgraph @702 + isleadbyte=MSVCRT_isleadbyte @703 + islower=MSVCRT_islower @704 + isprint=MSVCRT_isprint @705 + ispunct=MSVCRT_ispunct @706 + isspace=MSVCRT_isspace @707 + isupper=MSVCRT_isupper @708 + iswalnum=MSVCRT_iswalnum @709 + iswalpha=ntdll.iswalpha @710 + iswascii=MSVCRT_iswascii @711 + iswcntrl=MSVCRT_iswcntrl @712 + iswctype=ntdll.iswctype @713 + iswdigit=MSVCRT_iswdigit @714 + iswgraph=MSVCRT_iswgraph @715 + iswlower=MSVCRT_iswlower @716 + iswprint=MSVCRT_iswprint @717 + iswpunct=MSVCRT_iswpunct @718 + iswspace=MSVCRT_iswspace @719 + iswupper=MSVCRT_iswupper @720 + iswxdigit=MSVCRT_iswxdigit @721 + isxdigit=MSVCRT_isxdigit @722 + labs=MSVCRT_labs @723 + ldexp=MSVCRT_ldexp @724 + ldiv=MSVCRT_ldiv @725 + localeconv=MSVCRT_localeconv @726 + localtime=MSVCRT_localtime @727 + log=MSVCRT_log @728 + log10=MSVCRT_log10 @729 + longjmp=MSVCRT_longjmp @730 + malloc=MSVCRT_malloc @731 + mblen=MSVCRT_mblen @732 + mbstowcs=MSVCRT_mbstowcs @733 + mbtowc=MSVCRT_mbtowc @734 + memchr=MSVCRT_memchr @735 + memcmp=MSVCRT_memcmp @736 + memcpy=MSVCRT_memcpy @737 + memmove=MSVCRT_memmove @738 + memset=MSVCRT_memset @739 + mktime=MSVCRT_mktime @740 + modf=MSVCRT_modf @741 + perror=MSVCRT_perror @742 + pow=MSVCRT_pow @743 + printf=MSVCRT_printf @744 + putc=MSVCRT_putc @745 + putchar=MSVCRT_putchar @746 + puts=MSVCRT_puts @747 + putwc=MSVCRT_fputwc @748 + putwchar=MSVCRT__fputwchar @749 + qsort=MSVCRT_qsort @750 + raise=MSVCRT_raise @751 + rand=MSVCRT_rand @752 + realloc=MSVCRT_realloc @753 + remove=MSVCRT_remove @754 + rename=MSVCRT_rename @755 + rewind=MSVCRT_rewind @756 + scanf=MSVCRT_scanf @757 + setbuf=MSVCRT_setbuf @758 + setlocale=MSVCRT_setlocale @759 + setvbuf=MSVCRT_setvbuf @760 + signal=MSVCRT_signal @761 + sin=MSVCRT_sin @762 + sinh=MSVCRT_sinh @763 + sprintf=MSVCRT_sprintf @764 + sqrt=MSVCRT_sqrt @765 + srand=MSVCRT_srand @766 + sscanf=MSVCRT_sscanf @767 + strcat=ntdll.strcat @768 + strchr=MSVCRT_strchr @769 + strcmp=MSVCRT_strcmp @770 + strcoll=MSVCRT_strcoll @771 + strcpy=MSVCRT_strcpy @772 + strcspn=ntdll.strcspn @773 + strerror=MSVCRT_strerror @774 + strftime=MSVCRT_strftime @775 + strlen=MSVCRT_strlen @776 + strncat=MSVCRT_strncat @777 + strncmp=MSVCRT_strncmp @778 + strncpy=MSVCRT_strncpy @779 + strpbrk=ntdll.strpbrk @780 + strrchr=MSVCRT_strrchr @781 + strspn=ntdll.strspn @782 + strstr=MSVCRT_strstr @783 + strtod=MSVCRT_strtod @784 + strtok=MSVCRT_strtok @785 + strtol=MSVCRT_strtol @786 + strtoul=MSVCRT_strtoul @787 + strxfrm=MSVCRT_strxfrm @788 + swprintf=MSVCRT_swprintf @789 + swscanf=MSVCRT_swscanf @790 + system=MSVCRT_system @791 + tan=MSVCRT_tan @792 + tanh=MSVCRT_tanh @793 + time=MSVCRT_time @794 + tmpfile=MSVCRT_tmpfile @795 + tmpnam=MSVCRT_tmpnam @796 + tolower=MSVCRT_tolower @797 + toupper=MSVCRT_toupper @798 + towlower=MSVCRT_towlower @799 + towupper=MSVCRT_towupper @800 + ungetc=MSVCRT_ungetc @801 + ungetwc=MSVCRT_ungetwc @802 + vfprintf=MSVCRT_vfprintf @803 + vfwprintf=MSVCRT_vfwprintf @804 + vprintf=MSVCRT_vprintf @805 + vsprintf=MSVCRT_vsprintf @806 + vswprintf=MSVCRT_vswprintf @807 + vwprintf=MSVCRT_vwprintf @808 + wcscat=ntdll.wcscat @809 + wcschr=MSVCRT_wcschr @810 + wcscmp=ntdll.wcscmp @811 + wcscoll=MSVCRT_wcscoll @812 + wcscpy=ntdll.wcscpy @813 + wcscspn=ntdll.wcscspn @814 + wcsftime=MSVCRT_wcsftime @815 + wcslen=MSVCRT_wcslen @816 + wcsncat=ntdll.wcsncat @817 + wcsncmp=MSVCRT_wcsncmp @818 + wcsncpy=MSVCRT_wcsncpy @819 + wcspbrk=MSVCRT_wcspbrk @820 + wcsrchr=ntdll.wcsrchr @821 + wcsspn=ntdll.wcsspn @822 + wcsstr=MSVCRT_wcsstr @823 + wcstod=MSVCRT_wcstod @824 + wcstok=MSVCRT_wcstok @825 + wcstol=ntdll.wcstol @826 + wcstombs=MSVCRT_wcstombs @827 + wcstoul=MSVCRT_wcstoul @828 + wcsxfrm=MSVCRT_wcsxfrm @829 + wctomb=MSVCRT_wctomb @830 + wprintf=MSVCRT_wprintf @831 + wscanf=MSVCRT_wscanf @832 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr80.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr80.def new file mode 100644 index 0000000..5a1533e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr80.def @@ -0,0 +1,1204 @@ +; File generated automatically from ./dlls/msvcr80/msvcr80.spec; do not edit! + +LIBRARY msvcr80.dll + +EXPORTS + ??0__non_rtti_object@std@@QAE@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @1 + ??0bad_cast@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @2 + ??0bad_cast@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @3 + ??0bad_typeid@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @4 + ??0bad_typeid@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @5 + ??0exception@std@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @6 + ??0exception@std@@QAE@ABQBDH@Z=__thiscall_MSVCRT_exception_ctor_noalloc @7 + ??0exception@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_exception_copy_ctor @8 + ??0exception@std@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @9 + ??1__non_rtti_object@std@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @10 + ??1bad_cast@std@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @11 + ??1bad_typeid@std@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @12 + ??1exception@std@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @13 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @14 + ??2@YAPAXI@Z=MSVCRT_operator_new @15 + ??2@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @16 + ??3@YAXPAX@Z=MSVCRT_operator_delete @17 + ??4__non_rtti_object@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @18 + ??4bad_cast@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_cast_opequals @19 + ??4bad_typeid@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_opequals @20 + ??4exception@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_exception_opequals @21 + ??8type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @22 + ??9type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @23 + ??_7__non_rtti_object@std@@6B@=MSVCRT___non_rtti_object_vtable @24 DATA + ??_7bad_cast@std@@6B@=MSVCRT_bad_cast_vtable @25 DATA + ??_7bad_typeid@std@@6B@=MSVCRT_bad_typeid_vtable @26 DATA + ??_7exception@@6B@=MSVCRT_exception_old_vtable @27 DATA + ??_7exception@std@@6B@=MSVCRT_exception_vtable @28 DATA + ??_Fbad_cast@std@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @29 + ??_Fbad_typeid@std@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @30 + ??_U@YAPAXI@Z=MSVCRT_operator_new @31 + ??_U@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @32 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @33 + __uncaught_exception=MSVCRT___uncaught_exception @41 + ?_invalid_parameter@@YAXPBG00II@Z=MSVCRT__invalid_parameter @43 + ?_is_exception_typeof@@YAHABVtype_info@@PAU_EXCEPTION_POINTERS@@@Z=_is_exception_typeof @44 + ?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @45 + ?_open@@YAHPBDHH@Z=MSVCRT__open @46 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @47 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @48 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @50 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @51 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @53 + ?_sopen@@YAHPBDHHH@Z=MSVCRT__sopen @54 + ?_wopen@@YAHPB_WHH@Z=MSVCRT__wopen @56 + ?_wsopen@@YAHPB_WHHH@Z=MSVCRT__wsopen @57 + ?before@type_info@@QBEHABV1@@Z=__thiscall_MSVCRT_type_info_before @58 + ?name@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @59 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @60 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @61 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @63 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @65 + ?swprintf@@YAHPAGIPBGZZ=MSVCRT__snwprintf @66 + ?swprintf@@YAHPA_WIPB_WZZ=MSVCRT__snwprintf @67 + ?terminate@@YAXXZ=MSVCRT_terminate @68 + ?unexpected@@YAXXZ=MSVCRT_unexpected @69 + ?vswprintf@@YAHPA_WIPB_WPAD@Z=MSVCRT_vsnwprintf @70 + ?what@exception@std@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @71 + @_malloc_crt@4=MSVCRT_malloc @73 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @75 + _CIacos @76 + _CIasin @77 + _CIatan @78 + _CIatan2 @79 + _CIcos @80 + _CIcosh @81 + _CIexp @82 + _CIfmod @83 + _CIlog @84 + _CIlog10 @85 + _CIpow @86 + _CIsin @87 + _CIsinh @88 + _CIsqrt @89 + _CItan @90 + _CItanh @91 + _CRT_RTC_INIT @92 + _CRT_RTC_INITW @93 + _CreateFrameInfo @94 + _CxxThrowException@8 @95 + _EH_prolog @96 + _FindAndUnlinkFrame @97 + _Getdays @98 + _Getmonths @99 + _Gettnames @100 + _HUGE=MSVCRT__HUGE @101 DATA + _IsExceptionObjectToBeDestroyed @102 + _Strftime @106 + _XcptFilter @107 + __AdjustPointer @108 + __CppXcptFilter @111 + __CxxDetectRethrow @116 + __CxxExceptionFilter @117 + __CxxFrameHandler @118 + __CxxFrameHandler2=__CxxFrameHandler @119 + __CxxFrameHandler3=__CxxFrameHandler @120 + __CxxLongjmpUnwind@4 @121 + __CxxQueryExceptionSize @122 + __CxxRegisterExceptionObject @123 + __CxxUnregisterExceptionObject @124 + __DestructExceptionObject @125 + __RTCastToVoid=MSVCRT___RTCastToVoid @127 + __RTDynamicCast=MSVCRT___RTDynamicCast @128 + __RTtypeid=MSVCRT___RTtypeid @129 + __STRINGTOLD @130 + ___lc_codepage_func @133 + ___lc_collate_cp_func @134 + ___lc_handle_func @135 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @136 + ___mb_cur_max_l_func @137 + ___setlc_active_func=MSVCRT____setlc_active_func @138 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @139 + __argc=MSVCRT___argc @140 DATA + __argv=MSVCRT___argv @141 DATA + __badioinfo=MSVCRT___badioinfo @142 DATA + __clean_type_info_names_internal @143 + __control87_2 @144 + __crtCompareStringA @146 + __crtCompareStringW @147 + __crtGetLocaleInfoW @148 + __crtGetStringTypeW @149 + __crtLCMapStringA @150 + __crtLCMapStringW @151 + __daylight=MSVCRT___p__daylight @152 + __dllonexit @153 + __doserrno=MSVCRT___doserrno @154 + __dstbias=MSVCRT___p__dstbias @155 + __fpecode @158 + __getmainargs @164 + __initenv=MSVCRT___initenv @165 DATA + __iob_func=MSVCRT___iob_func @166 + __isascii=MSVCRT___isascii @167 + __iscsym=MSVCRT___iscsym @168 + __iscsymf=MSVCRT___iscsymf @169 + __lc_codepage=MSVCRT___lc_codepage @172 DATA + __lc_collate_cp=MSVCRT___lc_collate_cp @173 DATA + __lc_handle=MSVCRT___lc_handle @174 DATA + __lconv_init @175 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @176 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @177 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @178 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @179 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @180 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @181 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @182 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @183 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @184 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @185 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @186 + __libm_sse2_log=MSVCRT___libm_sse2_log @187 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @188 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @189 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @190 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @191 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @192 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @193 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @194 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @195 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @196 + __mb_cur_max=MSVCRT___mb_cur_max @197 DATA + __p___argc=MSVCRT___p___argc @198 + __p___argv=MSVCRT___p___argv @199 + __p___initenv @200 + __p___mb_cur_max @201 + __p___wargv=MSVCRT___p___wargv @202 + __p___winitenv @203 + __p__acmdln @204 + __p__amblksiz @205 + __p__commode @206 + __p__daylight=MSVCRT___p__daylight @207 + __p__dstbias=MSVCRT___p__dstbias @208 + __p__environ=MSVCRT___p__environ @209 + __p__fmode @210 + __p__iob=MSVCRT___iob_func @211 + __p__mbctype @213 + __p__osver @215 + __p__pctype=MSVCRT___p__pctype @216 + __p__pgmptr=MSVCRT___p__pgmptr @217 + __p__timezone=MSVCRT___p__timezone @219 + __p__tzname @220 + __p__wcmdln @221 + __p__wenviron=MSVCRT___p__wenviron @222 + __p__winmajor @223 + __p__winminor @224 + __p__winver @225 + __p__wpgmptr=MSVCRT___p__wpgmptr @226 + __pctype_func=MSVCRT___pctype_func @227 + __pioinfo=MSVCRT___pioinfo @228 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @230 + __set_app_type=MSVCRT___set_app_type @232 + __setlc_active=MSVCRT___setlc_active @234 DATA + __setusermatherr=MSVCRT___setusermatherr @235 + __swprintf_l=MSVCRT___swprintf_l @237 + __sys_errlist @238 + __sys_nerr @239 + __threadhandle=kernel32.GetCurrentThread @240 + __threadid=kernel32.GetCurrentThreadId @241 + __timezone=MSVCRT___p__timezone @242 + __toascii=MSVCRT___toascii @243 + __tzname=__p__tzname @244 + __unDName @245 + __unDNameEx @246 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @248 DATA + __vswprintf_l=MSVCRT_vswprintf_l @249 + __wargv=MSVCRT___wargv @250 DATA + __wcserror=MSVCRT___wcserror @251 + __wcserror_s=MSVCRT___wcserror_s @252 + __wgetmainargs @254 + __winitenv=MSVCRT___winitenv @255 DATA + _abnormal_termination @256 + _abs64 @257 + _access=MSVCRT__access @258 + _access_s=MSVCRT__access_s @259 + _acmdln=MSVCRT__acmdln @260 DATA + _adj_fdiv_m16i@4 @261 + _adj_fdiv_m32@4 @262 + _adj_fdiv_m32i@4 @263 + _adj_fdiv_m64@8 @264 + _adj_fdiv_r @265 + _adj_fdivr_m16i@4 @266 + _adj_fdivr_m32@4 @267 + _adj_fdivr_m32i@4 @268 + _adj_fdivr_m64@8 @269 + _adj_fpatan @270 + _adj_fprem @271 + _adj_fprem1 @272 + _adj_fptan @273 + _adjust_fdiv=MSVCRT__adjust_fdiv @274 DATA + _aexit_rtn @275 DATA + _aligned_free @276 + _aligned_malloc @277 + _aligned_msize @278 + _aligned_offset_malloc @279 + _aligned_offset_realloc @280 + _aligned_realloc @282 + _amsg_exit @284 + _assert=MSVCRT__assert @285 + _atodbl=MSVCRT__atodbl @286 + _atodbl_l=MSVCRT__atodbl_l @287 + _atof_l=MSVCRT__atof_l @288 + _atoflt=MSVCRT__atoflt @289 + _atoflt_l=MSVCRT__atoflt_l @290 + _atoi64=ntdll._atoi64 @291 + _atoi_l=MSVCRT__atoi_l @293 + _atoldbl=MSVCRT__atoldbl @295 + _beep=MSVCRT__beep @297 + _beginthread @298 + _beginthreadex @299 + _byteswap_uint64 @300 + _byteswap_ulong=MSVCRT__byteswap_ulong @301 + _byteswap_ushort @302 + _c_exit=MSVCRT__c_exit @303 + _cabs=MSVCRT__cabs @304 + _callnewh @305 + _calloc_crt=MSVCRT_calloc @306 + _cexit=MSVCRT__cexit @307 + _cgets @308 + _chdir=MSVCRT__chdir @312 + _chdrive=MSVCRT__chdrive @313 + _chgsign=MSVCRT__chgsign @314 + _chkesp @315 + _chmod=MSVCRT__chmod @316 + _chsize=MSVCRT__chsize @317 + _chsize_s=MSVCRT__chsize_s @318 + _clearfp @319 + _close=MSVCRT__close @320 + _commit=MSVCRT__commit @321 + _commode=MSVCRT__commode @322 DATA + _configthreadlocale @323 + _control87 @324 + _controlfp @325 + _controlfp_s @326 + _copysign=MSVCRT__copysign @327 + _cprintf @328 + _cputs @334 + _cputws @335 + _creat=MSVCRT__creat @336 + _create_locale=MSVCRT__create_locale @337 + _crt_debugger_hook=MSVCRT__crt_debugger_hook @338 + _cscanf @339 + _cscanf_l @340 + _cscanf_s @341 + _cscanf_s_l @342 + _ctime32=MSVCRT__ctime32 @343 + _ctime32_s=MSVCRT__ctime32_s @344 + _ctime64=MSVCRT__ctime64 @345 + _ctime64_s=MSVCRT__ctime64_s @346 + _cwait @347 + _cwprintf @348 + _cwscanf @354 + _cwscanf_l @355 + _cwscanf_s @356 + _cwscanf_s_l @357 + _daylight=MSVCRT___daylight @358 DATA + _decode_pointer=MSVCRT_decode_pointer @359 + _difftime32=MSVCRT__difftime32 @360 + _difftime64=MSVCRT__difftime64 @361 + _dstbias=MSVCRT__dstbias @363 DATA + _dup=MSVCRT__dup @364 + _dup2=MSVCRT__dup2 @365 + _dupenv_s @366 + _ecvt=MSVCRT__ecvt @367 + _ecvt_s=MSVCRT__ecvt_s @368 + _encode_pointer=MSVCRT_encode_pointer @369 + _encoded_null @370 + _endthread @371 + _endthreadex @372 + _environ=MSVCRT__environ @373 DATA + _eof=MSVCRT__eof @374 + _errno=MSVCRT__errno @375 + _except_handler2 @376 + _except_handler3 @377 + _except_handler4_common @378 + _execl @379 + _execle @380 + _execlp @381 + _execlpe @382 + _execv @383 + _execve=MSVCRT__execve @384 + _execvp @385 + _execvpe @386 + _exit=MSVCRT__exit @387 + _expand @388 + _fclose_nolock=MSVCRT__fclose_nolock @389 + _fcloseall=MSVCRT__fcloseall @390 + _fcvt=MSVCRT__fcvt @391 + _fcvt_s=MSVCRT__fcvt_s @392 + _fdopen=MSVCRT__fdopen @393 + _fflush_nolock=MSVCRT__fflush_nolock @394 + _fgetc_nolock=MSVCRT__fgetc_nolock @395 + _fgetchar=MSVCRT__fgetchar @396 + _fgetwc_nolock=MSVCRT__fgetwc_nolock @397 + _fgetwchar=MSVCRT__fgetwchar @398 + _filbuf=MSVCRT__filbuf @399 + _filelength=MSVCRT__filelength @400 + _filelengthi64=MSVCRT__filelengthi64 @401 + _fileno=MSVCRT__fileno @402 + _findclose=MSVCRT__findclose @403 + _findfirst32=MSVCRT__findfirst32 @404 + _findfirst64=MSVCRT__findfirst64 @406 + _findfirst64i32=MSVCRT__findfirst64i32 @407 + _findnext32=MSVCRT__findnext32 @408 + _findnext64=MSVCRT__findnext64 @410 + _findnext64i32=MSVCRT__findnext64i32 @411 + _finite=MSVCRT__finite @412 + _flsbuf=MSVCRT__flsbuf @413 + _flushall=MSVCRT__flushall @414 + _fmode=MSVCRT__fmode @415 DATA + _fpclass=MSVCRT__fpclass @416 + _fpieee_flt @417 + _fpreset @418 + _fputc_nolock=MSVCRT__fputc_nolock @423 + _fputchar=MSVCRT__fputchar @424 + _fputwc_nolock=MSVCRT__fputwc_nolock @425 + _fputwchar=MSVCRT__fputwchar @426 + _fread_nolock=MSVCRT__fread_nolock @427 + _fread_nolock_s=MSVCRT__fread_nolock_s @428 + _free_locale=MSVCRT__free_locale @429 + _fscanf_l=MSVCRT__fscanf_l @433 + _fscanf_s_l=MSVCRT__fscanf_s_l @434 + _fseek_nolock=MSVCRT__fseek_nolock @435 + _fseeki64=MSVCRT__fseeki64 @436 + _fseeki64_nolock=MSVCRT__fseeki64_nolock @437 + _fsopen=MSVCRT__fsopen @438 + _fstat32=MSVCRT__fstat32 @439 + _fstat32i64=MSVCRT__fstat32i64 @440 + _fstat64=MSVCRT__fstat64 @441 + _fstat64i32=MSVCRT__fstat64i32 @442 + _ftell_nolock=MSVCRT__ftell_nolock @443 + _ftelli64=MSVCRT__ftelli64 @444 + _ftelli64_nolock=MSVCRT__ftelli64_nolock @445 + _ftime32=MSVCRT__ftime32 @446 + _ftime32_s=MSVCRT__ftime32_s @447 + _ftime64=MSVCRT__ftime64 @448 + _ftime64_s=MSVCRT__ftime64_s @449 + _ftol=MSVCRT__ftol @450 + _fullpath=MSVCRT__fullpath @451 + _futime32 @452 + _futime64 @453 + _fwprintf_l=MSVCRT__fwprintf_l @454 + _fwrite_nolock=MSVCRT__fwrite_nolock @458 + _fwscanf_l=MSVCRT__fwscanf_l @459 + _fwscanf_s_l=MSVCRT__fwscanf_s_l @460 + _gcvt=MSVCRT__gcvt @461 + _gcvt_s=MSVCRT__gcvt_s @462 + _get_current_locale=MSVCRT__get_current_locale @464 + _get_daylight @465 + _get_doserrno @466 + _get_dstbias=MSVCRT__get_dstbias @467 + _get_errno @468 + _get_fmode=MSVCRT__get_fmode @469 + _get_heap_handle @470 + _get_invalid_parameter_handler @471 + _get_osfhandle=MSVCRT__get_osfhandle @472 + _get_osplatform=MSVCRT__get_osplatform @473 + _get_output_format=MSVCRT__get_output_format @475 + _get_pgmptr @476 + _get_printf_count_output=MSVCRT__get_printf_count_output @477 + _get_sbh_threshold @479 + _get_terminate=MSVCRT__get_terminate @480 + _get_timezone @481 + _get_tzname=MSVCRT__get_tzname @482 + _get_unexpected=MSVCRT__get_unexpected @483 + _get_wpgmptr @487 + _getc_nolock=MSVCRT__fgetc_nolock @488 + _getch @489 + _getch_nolock @490 + _getche @491 + _getche_nolock @492 + _getcwd=MSVCRT__getcwd @493 + _getdcwd=MSVCRT__getdcwd @494 + _getdiskfree=MSVCRT__getdiskfree @496 + _getdllprocaddr @497 + _getdrive=MSVCRT__getdrive @498 + _getdrives=kernel32.GetLogicalDrives @499 + _getmaxstdio=MSVCRT__getmaxstdio @500 + _getmbcp @501 + _getpid @502 + _getptd @503 + _getw=MSVCRT__getw @505 + _getwc_nolock=MSVCRT__fgetwc_nolock @506 + _getwch @507 + _getwch_nolock @508 + _getwche @509 + _getwche_nolock @510 + _getws=MSVCRT__getws @511 + _global_unwind2 @513 + _gmtime32=MSVCRT__gmtime32 @514 + _gmtime32_s=MSVCRT__gmtime32_s @515 + _gmtime64=MSVCRT__gmtime64 @516 + _gmtime64_s=MSVCRT__gmtime64_s @517 + _heapadd @518 + _heapchk @519 + _heapmin @520 + _heapset @521 + _heapwalk @523 + _hypot @524 + _hypotf=MSVCRT__hypotf @525 + _i64toa=ntdll._i64toa @526 + _i64toa_s=MSVCRT__i64toa_s @527 + _i64tow=ntdll._i64tow @528 + _i64tow_s=MSVCRT__i64tow_s @529 + _initterm @531 + _initterm_e @532 + _invalid_parameter=MSVCRT__invalid_parameter @536 + _invalid_parameter_noinfo @537 + _iob=MSVCRT__iob @539 DATA + _isalnum_l=MSVCRT__isalnum_l @540 + _isalpha_l=MSVCRT__isalpha_l @541 + _isatty=MSVCRT__isatty @542 + _iscntrl_l=MSVCRT__iscntrl_l @543 + _isctype=MSVCRT__isctype @544 + _isctype_l=MSVCRT__isctype_l @545 + _isdigit_l=MSVCRT__isdigit_l @546 + _isgraph_l=MSVCRT__isgraph_l @547 + _isleadbyte_l=MSVCRT__isleadbyte_l @548 + _islower_l=MSVCRT__islower_l @549 + _ismbbkana @558 + _ismbblead @564 + _ismbblead_l @565 + _ismbbtrail @570 + _ismbcalnum @572 + _ismbcalpha @574 + _ismbcdigit @576 + _ismbcgraph @578 + _ismbchira @580 + _ismbckata @582 + _ismbcl0 @584 + _ismbclegal @590 + _ismbclower @592 + _ismbcprint @594 + _ismbcpunct @596 + _ismbcspace @598 + _ismbcsymbol @600 + _ismbcupper @602 + _ismbslead @604 + _ismbstrail @606 + _isnan=MSVCRT__isnan @608 + _isprint_l=MSVCRT__isprint_l @609 + _isspace_l=MSVCRT__isspace_l @611 + _isupper_l=MSVCRT__isupper_l @612 + _iswalpha_l=MSVCRT__iswalpha_l @614 + _iswctype_l=MSVCRT__iswctype_l @618 + _iswdigit_l=MSVCRT__iswdigit_l @619 + _iswpunct_l=MSVCRT__iswpunct_l @623 + _iswspace_l=MSVCRT__iswspace_l @624 + _isxdigit_l=MSVCRT__isxdigit_l @627 + _itoa=MSVCRT__itoa @628 + _itoa_s=MSVCRT__itoa_s @629 + _itow=ntdll._itow @630 + _itow_s=MSVCRT__itow_s @631 + _j0=MSVCRT__j0 @632 + _j1=MSVCRT__j1 @633 + _jn=MSVCRT__jn @634 + _kbhit @635 + _lfind @636 + _lfind_s @637 + _loaddll @638 + _local_unwind2 @639 + _local_unwind4 @640 + _localtime32=MSVCRT__localtime32 @641 + _localtime32_s @642 + _localtime64=MSVCRT__localtime64 @643 + _localtime64_s @644 + _lock @645 + _lock_file=MSVCRT__lock_file @646 + _locking=MSVCRT__locking @647 + _logb=MSVCRT__logb @648 + _longjmpex=MSVCRT_longjmp @649 + _lrotl=MSVCRT__lrotl @650 + _lrotr=MSVCRT__lrotr @651 + _lsearch @652 + _lseek=MSVCRT__lseek @654 + _lseeki64=MSVCRT__lseeki64 @655 + _ltoa=ntdll._ltoa @656 + _ltoa_s=MSVCRT__ltoa_s @657 + _ltow=ntdll._ltow @658 + _ltow_s=MSVCRT__ltow_s @659 + _makepath=MSVCRT__makepath @660 + _makepath_s=MSVCRT__makepath_s @661 + _malloc_crt=MSVCRT_malloc @662 + _mbbtombc @663 + _mbbtype @665 + _mbccpy @667 + _mbcjistojms @671 + _mbcjmstojis @673 + _mbclen @675 + _mbctohira @677 + _mbctokata @679 + _mbctolower @681 + _mbctombb @683 + _mbctoupper @685 + _mbctype=MSVCRT_mbctype @687 DATA + _mbsbtype @689 + _mbscat_s @691 + _mbscat_s_l @692 + _mbschr @693 + _mbscmp @695 + _mbscoll @697 + _mbscoll_l @698 + _mbscpy_s @699 + _mbscpy_s_l @700 + _mbscspn @701 + _mbsdec @703 + _mbsicmp @705 + _mbsicoll @707 + _mbsicoll_l @708 + _mbsinc @709 + _mbslen @711 + _mbslwr @713 + _mbslwr_s @715 + _mbsnbcat @717 + _mbsnbcat_s @719 + _mbsnbcmp @721 + _mbsnbcnt @723 + _mbsnbcoll @725 + _mbsnbcoll_l @726 + _mbsnbcpy @727 + _mbsnbcpy_s @729 + _mbsnbcpy_s_l @730 + _mbsnbicmp @731 + _mbsnbicoll @733 + _mbsnbicoll_l @734 + _mbsnbset @735 + _mbsncat @739 + _mbsnccnt @743 + _mbsncmp @745 + _mbsncpy @749 + _mbsnextc @753 + _mbsnicmp @755 + _mbsninc @759 + _mbsnset @763 + _mbspbrk @767 + _mbsrchr @769 + _mbsrev @771 + _mbsset @773 + _mbsspn @777 + _mbsspnp @779 + _mbsstr @781 + _mbstok @783 + _mbstok_l @784 + _mbstok_s @785 + _mbstok_s_l @786 + _mbstowcs_l=MSVCRT__mbstowcs_l @787 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @788 + _mbstrlen @789 + _mbstrlen_l @790 + _mbsupr @793 + _mbsupr_s @795 + _mbtowc_l=MSVCRT_mbtowc_l @797 + _memccpy=ntdll._memccpy @798 + _memicmp=ntdll._memicmp @799 + _mkdir=MSVCRT__mkdir @801 + _mkgmtime32=MSVCRT__mkgmtime32 @802 + _mkgmtime64=MSVCRT__mkgmtime64 @803 + _mktemp=MSVCRT__mktemp @804 + _mktemp_s=MSVCRT__mktemp_s @805 + _mktime32=MSVCRT__mktime32 @806 + _mktime64=MSVCRT__mktime64 @807 + _msize @808 + _nextafter=MSVCRT__nextafter @809 + _onexit=MSVCRT__onexit @810 + _open=MSVCRT__open @811 + _open_osfhandle=MSVCRT__open_osfhandle @812 + _osplatform=MSVCRT__osplatform @813 DATA + _osver=MSVCRT__osver @814 DATA + _pclose=MSVCRT__pclose @818 + _pctype=MSVCRT__pctype @819 DATA + _pgmptr=MSVCRT__pgmptr @820 DATA + _pipe=MSVCRT__pipe @821 + _popen=MSVCRT__popen @822 + _purecall @827 + _putc_nolock=MSVCRT__fputc_nolock @828 + _putch @829 + _putch_nolock @830 + _putenv @831 + _putenv_s @832 + _putw=MSVCRT__putw @833 + _putwc_nolock=MSVCRT__fputwc_nolock @834 + _putwch @835 + _putwch_nolock @836 + _putws=MSVCRT__putws @837 + _read=MSVCRT__read @838 + _realloc_crt=MSVCRT_realloc @839 + _recalloc @840 + _resetstkoflw=MSVCRT__resetstkoflw @842 + _rmdir=MSVCRT__rmdir @843 + _rmtmp=MSVCRT__rmtmp @844 + _rotl @845 + _rotl64 @846 + _rotr @847 + _rotr64 @848 + _safe_fdiv @849 + _safe_fdivr @850 + _safe_fprem @851 + _safe_fprem1 @852 + _scalb=MSVCRT__scalb @853 + _scanf_l=MSVCRT__scanf_l @854 + _scanf_s_l=MSVCRT__scanf_s_l @855 + _scprintf=MSVCRT__scprintf @856 + _scwprintf=MSVCRT__scwprintf @860 + _searchenv=MSVCRT__searchenv @864 + _searchenv_s=MSVCRT__searchenv_s @865 + _seh_longjmp_unwind4@4 @866 + _seh_longjmp_unwind@4 @867 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @868 + _set_abort_behavior=MSVCRT__set_abort_behavior @869 + _set_controlfp @871 + _set_doserrno @872 + _set_errno @873 + _set_error_mode @874 + _set_fmode=MSVCRT__set_fmode @875 + _set_invalid_parameter_handler @876 + _set_output_format=MSVCRT__set_output_format @878 + _set_printf_count_output=MSVCRT__set_printf_count_output @879 + _set_purecall_handler @880 + _set_sbh_threshold @881 + _seterrormode @882 + _setjmp=MSVCRT__setjmp @883 + _setjmp3=MSVCRT__setjmp3 @884 + _setmaxstdio=MSVCRT__setmaxstdio @885 + _setmbcp @886 + _setmode=MSVCRT__setmode @887 + _sleep=MSVCRT__sleep @889 + _snprintf=MSVCRT__snprintf @890 + _snprintf_l=MSVCRT__snprintf_l @893 + _snprintf_s=MSVCRT__snprintf_s @894 + _snscanf=MSVCRT__snscanf @896 + _snscanf_l=MSVCRT__snscanf_l @897 + _snscanf_s=MSVCRT__snscanf_s @898 + _snscanf_s_l=MSVCRT__snscanf_s_l @899 + _snwprintf=MSVCRT__snwprintf @900 + _snwprintf_l=MSVCRT__snwprintf_l @901 + _snwprintf_s=MSVCRT__snwprintf_s @902 + _snwprintf_s_l=MSVCRT__snwprintf_s_l @903 + _snwscanf=MSVCRT__snwscanf @904 + _snwscanf_l=MSVCRT__snwscanf_l @905 + _snwscanf_s=MSVCRT__snwscanf_s @906 + _snwscanf_s_l=MSVCRT__snwscanf_s_l @907 + _sopen=MSVCRT__sopen @908 + _sopen_s=MSVCRT__sopen_s @909 + _spawnl @910 + _spawnle @911 + _spawnlp @912 + _spawnlpe @913 + _spawnv @914 + _spawnve=MSVCRT__spawnve @915 + _spawnvp @916 + _spawnvpe=MSVCRT__spawnvpe @917 + _splitpath=MSVCRT__splitpath @918 + _splitpath_s=MSVCRT__splitpath_s @919 + _sprintf_l=MSVCRT_sprintf_l @920 + _sprintf_p=MSVCRT__sprintf_p @921 + _sprintf_p_l=MSVCRT_sprintf_p_l @922 + _sprintf_s_l=MSVCRT_sprintf_s_l @923 + _sscanf_l=MSVCRT__sscanf_l @924 + _sscanf_s_l=MSVCRT__sscanf_s_l @925 + _stat32=MSVCRT__stat32 @926 + _stat32i64=MSVCRT__stat32i64 @927 + _stat64=MSVCRT_stat64 @928 + _stat64i32=MSVCRT__stat64i32 @929 + _statusfp @930 + _statusfp2 @931 + _strcoll_l=MSVCRT_strcoll_l @932 + _strdate=MSVCRT__strdate @933 + _strdate_s @934 + _strdup=MSVCRT__strdup @935 + _strerror=MSVCRT__strerror @936 + _strftime_l=MSVCRT__strftime_l @938 + _stricmp=MSVCRT__stricmp @939 + _stricmp_l=MSVCRT__stricmp_l @940 + _stricoll=MSVCRT__stricoll @941 + _stricoll_l=MSVCRT__stricoll_l @942 + _strlwr=MSVCRT__strlwr @943 + _strlwr_l @944 + _strlwr_s=MSVCRT__strlwr_s @945 + _strlwr_s_l=MSVCRT__strlwr_s_l @946 + _strncoll=MSVCRT__strncoll @947 + _strncoll_l=MSVCRT__strncoll_l @948 + _strnicmp=MSVCRT__strnicmp @949 + _strnicmp_l=MSVCRT__strnicmp_l @950 + _strnicoll=MSVCRT__strnicoll @951 + _strnicoll_l=MSVCRT__strnicoll_l @952 + _strnset=MSVCRT__strnset @953 + _strnset_s=MSVCRT__strnset_s @954 + _strrev=MSVCRT__strrev @955 + _strset @956 + _strtime=MSVCRT__strtime @958 + _strtime_s @959 + _strtod_l=MSVCRT_strtod_l @960 + _strtoi64=MSVCRT_strtoi64 @961 + _strtoi64_l=MSVCRT_strtoi64_l @962 + _strtol_l=MSVCRT__strtol_l @963 + _strtoui64=MSVCRT_strtoui64 @964 + _strtoui64_l=MSVCRT_strtoui64_l @965 + _strtoul_l=MSVCRT_strtoul_l @966 + _strupr=MSVCRT__strupr @967 + _strupr_l=MSVCRT__strupr_l @968 + _strupr_s=MSVCRT__strupr_s @969 + _strupr_s_l=MSVCRT__strupr_s_l @970 + _strxfrm_l=MSVCRT__strxfrm_l @971 + _swab=MSVCRT__swab @972 + _swprintf=MSVCRT_swprintf @973 + _swprintf_p_l=MSVCRT_swprintf_p_l @976 + _swprintf_s_l=MSVCRT__swprintf_s_l @977 + _swscanf_l=MSVCRT__swscanf_l @978 + _swscanf_s_l=MSVCRT__swscanf_s_l @979 + _sys_errlist=MSVCRT__sys_errlist @980 DATA + _sys_nerr=MSVCRT__sys_nerr @981 DATA + _tell=MSVCRT__tell @982 + _telli64 @983 + _tempnam=MSVCRT__tempnam @984 + _time32=MSVCRT__time32 @985 + _time64=MSVCRT__time64 @986 + _timezone=MSVCRT___timezone @987 DATA + _tolower=MSVCRT__tolower @988 + _tolower_l=MSVCRT__tolower_l @989 + _toupper=MSVCRT__toupper @990 + _toupper_l=MSVCRT__toupper_l @991 + _towlower_l=MSVCRT__towlower_l @992 + _towupper_l=MSVCRT__towupper_l @993 + _tzname=MSVCRT__tzname @994 DATA + _tzset=MSVCRT__tzset @995 + _ui64toa=ntdll._ui64toa @996 + _ui64toa_s=MSVCRT__ui64toa_s @997 + _ui64tow=ntdll._ui64tow @998 + _ui64tow_s=MSVCRT__ui64tow_s @999 + _ultoa=ntdll._ultoa @1000 + _ultoa_s=MSVCRT__ultoa_s @1001 + _ultow=ntdll._ultow @1002 + _ultow_s=MSVCRT__ultow_s @1003 + _umask=MSVCRT__umask @1004 + _ungetc_nolock=MSVCRT__ungetc_nolock @1006 + _ungetch @1007 + _ungetch_nolock @1008 + _ungetwc_nolock=MSVCRT__ungetwc_nolock @1009 + _ungetwch @1010 + _ungetwch_nolock @1011 + _unlink=MSVCRT__unlink @1012 + _unloaddll @1013 + _unlock @1014 + _unlock_file=MSVCRT__unlock_file @1015 + _utime32 @1016 + _utime64 @1017 + _vcprintf @1018 + _vcwprintf @1024 + _vfprintf_l=MSVCRT__vfprintf_l @1030 + _vfwprintf_l=MSVCRT__vfwprintf_l @1034 + _vscprintf=MSVCRT__vscprintf @1042 + _vscprintf_p=MSVCRT__vscprintf_p @1044 + _vscprintf_p_l=MSVCRT__vscprintf_p_l @1045 + _vscwprintf=MSVCRT__vscwprintf @1046 + _vscwprintf_l=MSVCRT__vscwprintf_l @1047 + _vscwprintf_p=MSVCRT__vscwprintf_p @1048 + _vscwprintf_p_l=MSVCRT__vscwprintf_p_l @1049 + _vsnprintf=MSVCRT_vsnprintf @1050 + _vsnprintf_c=MSVCRT_vsnprintf @1051 + _vsnprintf_c_l=MSVCRT_vsnprintf_l @1052 + _vsnprintf_l=MSVCRT_vsnprintf_l @1053 + _vsnprintf_s=MSVCRT_vsnprintf_s @1054 + _vsnprintf_s_l=MSVCRT_vsnprintf_s_l @1055 + _vsnwprintf=MSVCRT_vsnwprintf @1056 + _vsnwprintf_l=MSVCRT_vsnwprintf_l @1057 + _vsnwprintf_s=MSVCRT_vsnwprintf_s @1058 + _vsnwprintf_s_l=MSVCRT_vsnwprintf_s_l @1059 + _vsprintf_l=MSVCRT_vsprintf_l @1060 + _vsprintf_p=MSVCRT_vsprintf_p @1061 + _vsprintf_p_l=MSVCRT_vsprintf_p_l @1062 + _vsprintf_s_l=MSVCRT_vsprintf_s_l @1063 + _vswprintf=MSVCRT_vswprintf @1064 + _vswprintf_c=MSVCRT_vsnwprintf @1065 + _vswprintf_c_l=MSVCRT_vsnwprintf_l @1066 + _vswprintf_l=MSVCRT_vswprintf_l @1067 + _vswprintf_p=MSVCRT__vswprintf_p @1068 + _vswprintf_p_l=MSVCRT_vswprintf_p_l @1069 + _vswprintf_s_l=MSVCRT_vswprintf_s_l @1070 + _waccess=MSVCRT__waccess @1075 + _waccess_s=MSVCRT__waccess_s @1076 + _wasctime=MSVCRT__wasctime @1077 + _wasctime_s=MSVCRT__wasctime_s @1078 + _wassert=MSVCRT__wassert @1079 + _wchdir=MSVCRT__wchdir @1080 + _wchmod=MSVCRT__wchmod @1081 + _wcmdln=MSVCRT__wcmdln @1082 DATA + _wcreat=MSVCRT__wcreat @1083 + _wcscoll_l=MSVCRT__wcscoll_l @1084 + _wcsdup=MSVCRT__wcsdup @1085 + _wcserror=MSVCRT__wcserror @1086 + _wcserror_s=MSVCRT__wcserror_s @1087 + _wcsftime_l=MSVCRT__wcsftime_l @1088 + _wcsicmp=MSVCRT__wcsicmp @1089 + _wcsicmp_l=MSVCRT__wcsicmp_l @1090 + _wcsicoll=MSVCRT__wcsicoll @1091 + _wcsicoll_l=MSVCRT__wcsicoll_l @1092 + _wcslwr=MSVCRT__wcslwr @1093 + _wcslwr_l=MSVCRT__wcslwr_l @1094 + _wcslwr_s=MSVCRT__wcslwr_s @1095 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @1096 + _wcsncoll=MSVCRT__wcsncoll @1097 + _wcsncoll_l=MSVCRT__wcsncoll_l @1098 + _wcsnicmp=MSVCRT__wcsnicmp @1099 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @1100 + _wcsnicoll=MSVCRT__wcsnicoll @1101 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @1102 + _wcsnset=MSVCRT__wcsnset @1103 + _wcsrev=MSVCRT__wcsrev @1105 + _wcsset=MSVCRT__wcsset @1106 + _wcsset_s=MSVCRT__wcsset_s @1107 + _wcstod_l=MSVCRT__wcstod_l @1108 + _wcstoi64=MSVCRT__wcstoi64 @1109 + _wcstoi64_l=MSVCRT__wcstoi64_l @1110 + _wcstol_l=MSVCRT__wcstol_l @1111 + _wcstombs_l=MSVCRT__wcstombs_l @1112 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @1113 + _wcstoui64=MSVCRT__wcstoui64 @1114 + _wcstoui64_l=MSVCRT__wcstoui64_l @1115 + _wcstoul_l=MSVCRT__wcstoul_l @1116 + _wcsupr=ntdll._wcsupr @1117 + _wcsupr_l=MSVCRT__wcsupr_l @1118 + _wcsupr_s=MSVCRT__wcsupr_s @1119 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @1120 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @1121 + _wctime32=MSVCRT__wctime32 @1122 + _wctime32_s=MSVCRT__wctime32_s @1123 + _wctime64=MSVCRT__wctime64 @1124 + _wctime64_s=MSVCRT__wctime64_s @1125 + _wctomb_l=MSVCRT__wctomb_l @1126 + _wctomb_s_l=MSVCRT__wctomb_s_l @1127 + _wdupenv_s @1128 + _wenviron=MSVCRT__wenviron @1129 DATA + _wexecl @1130 + _wexecle @1131 + _wexeclp @1132 + _wexeclpe @1133 + _wexecv @1134 + _wexecve @1135 + _wexecvp @1136 + _wexecvpe @1137 + _wfdopen=MSVCRT__wfdopen @1138 + _wfindfirst32=MSVCRT__wfindfirst32 @1139 + _wfindfirst64=MSVCRT__wfindfirst64 @1141 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @1142 + _wfindnext32=MSVCRT__wfindnext32 @1143 + _wfindnext64=MSVCRT__wfindnext64 @1145 + _wfindnext64i32=MSVCRT__wfindnext64i32 @1146 + _wfopen=MSVCRT__wfopen @1147 + _wfopen_s=MSVCRT__wfopen_s @1148 + _wfreopen=MSVCRT__wfreopen @1149 + _wfreopen_s=MSVCRT__wfreopen_s @1150 + _wfsopen=MSVCRT__wfsopen @1151 + _wfullpath=MSVCRT__wfullpath @1152 + _wgetcwd=MSVCRT__wgetcwd @1153 + _wgetdcwd=MSVCRT__wgetdcwd @1154 + _wgetenv=MSVCRT__wgetenv @1156 + _wgetenv_s @1157 + _winmajor=MSVCRT__winmajor @1158 DATA + _winminor=MSVCRT__winminor @1159 DATA + _winver=MSVCRT__winver @1160 DATA + _wmakepath=MSVCRT__wmakepath @1161 + _wmakepath_s=MSVCRT__wmakepath_s @1162 + _wmkdir=MSVCRT__wmkdir @1163 + _wmktemp=MSVCRT__wmktemp @1164 + _wmktemp_s=MSVCRT__wmktemp_s @1165 + _wopen=MSVCRT__wopen @1166 + _wperror=MSVCRT__wperror @1167 + _wpgmptr=MSVCRT__wpgmptr @1168 DATA + _wpopen=MSVCRT__wpopen @1169 + _wputenv @1174 + _wputenv_s @1175 + _wremove=MSVCRT__wremove @1176 + _wrename=MSVCRT__wrename @1177 + _write=MSVCRT__write @1178 + _wrmdir=MSVCRT__wrmdir @1179 + _wscanf_l=MSVCRT__wscanf_l @1180 + _wscanf_s_l=MSVCRT__wscanf_s_l @1181 + _wsearchenv=MSVCRT__wsearchenv @1182 + _wsearchenv_s=MSVCRT__wsearchenv_s @1183 + _wsetlocale=MSVCRT__wsetlocale @1184 + _wsopen=MSVCRT__wsopen @1185 + _wsopen_s=MSVCRT__wsopen_s @1186 + _wspawnl @1187 + _wspawnle @1188 + _wspawnlp @1189 + _wspawnlpe @1190 + _wspawnv @1191 + _wspawnve=MSVCRT__wspawnve @1192 + _wspawnvp @1193 + _wspawnvpe=MSVCRT__wspawnvpe @1194 + _wsplitpath=MSVCRT__wsplitpath @1195 + _wsplitpath_s=MSVCRT__wsplitpath_s @1196 + _wstat32=MSVCRT__wstat32 @1197 + _wstat32i64=MSVCRT__wstat32i64 @1198 + _wstat64=MSVCRT__wstat64 @1199 + _wstat64i32=MSVCRT__wstat64i32 @1200 + _wstrdate=MSVCRT__wstrdate @1201 + _wstrdate_s @1202 + _wstrtime=MSVCRT__wstrtime @1203 + _wstrtime_s @1204 + _wsystem @1205 + _wtempnam=MSVCRT__wtempnam @1206 + _wtmpnam=MSVCRT__wtmpnam @1207 + _wtmpnam_s=MSVCRT__wtmpnam_s @1208 + _wtof=MSVCRT__wtof @1209 + _wtof_l=MSVCRT__wtof_l @1210 + _wtoi=MSVCRT__wtoi @1211 + _wtoi64=MSVCRT__wtoi64 @1212 + _wtoi64_l=MSVCRT__wtoi64_l @1213 + _wtoi_l=MSVCRT__wtoi_l @1214 + _wtol=MSVCRT__wtol @1215 + _wtol_l=MSVCRT__wtol_l @1216 + _wunlink=MSVCRT__wunlink @1217 + _wutime32 @1218 + _wutime64 @1219 + _y0=MSVCRT__y0 @1220 + _y1=MSVCRT__y1 @1221 + _yn=MSVCRT__yn @1222 + abort=MSVCRT_abort @1223 + abs=MSVCRT_abs @1224 + acos=MSVCRT_acos @1225 + asctime=MSVCRT_asctime @1226 + asctime_s=MSVCRT_asctime_s @1227 + asin=MSVCRT_asin @1228 + atan=MSVCRT_atan @1229 + atan2=MSVCRT_atan2 @1230 + atexit=MSVCRT_atexit @1231 PRIVATE + atof=MSVCRT_atof @1232 + atoi=MSVCRT_atoi @1233 + atol=ntdll.atol @1234 + bsearch=MSVCRT_bsearch @1235 + bsearch_s=MSVCRT_bsearch_s @1236 + btowc=MSVCRT_btowc @1237 + calloc=MSVCRT_calloc @1238 + ceil=MSVCRT_ceil @1239 + clearerr=MSVCRT_clearerr @1240 + clearerr_s=MSVCRT_clearerr_s @1241 + clock=MSVCRT_clock @1242 + cos=MSVCRT_cos @1243 + cosh=MSVCRT_cosh @1244 + div=MSVCRT_div @1245 + exit=MSVCRT_exit @1246 + exp=MSVCRT_exp @1247 + fabs=MSVCRT_fabs @1248 + fclose=MSVCRT_fclose @1249 + feof=MSVCRT_feof @1250 + ferror=MSVCRT_ferror @1251 + fflush=MSVCRT_fflush @1252 + fgetc=MSVCRT_fgetc @1253 + fgetpos=MSVCRT_fgetpos @1254 + fgets=MSVCRT_fgets @1255 + fgetwc=MSVCRT_fgetwc @1256 + fgetws=MSVCRT_fgetws @1257 + floor=MSVCRT_floor @1258 + fmod=MSVCRT_fmod @1259 + fopen=MSVCRT_fopen @1260 + fopen_s=MSVCRT_fopen_s @1261 + fprintf=MSVCRT_fprintf @1262 + fprintf_s=MSVCRT_fprintf_s @1263 + fputc=MSVCRT_fputc @1264 + fputs=MSVCRT_fputs @1265 + fputwc=MSVCRT_fputwc @1266 + fputws=MSVCRT_fputws @1267 + fread=MSVCRT_fread @1268 + fread_s=MSVCRT_fread_s @1269 + free=MSVCRT_free @1270 + freopen=MSVCRT_freopen @1271 + freopen_s=MSVCRT_freopen_s @1272 + frexp=MSVCRT_frexp @1273 + fscanf=MSVCRT_fscanf @1274 + fscanf_s=MSVCRT_fscanf_s @1275 + fseek=MSVCRT_fseek @1276 + fsetpos=MSVCRT_fsetpos @1277 + ftell=MSVCRT_ftell @1278 + fwprintf=MSVCRT_fwprintf @1279 + fwprintf_s=MSVCRT_fwprintf_s @1280 + fwrite=MSVCRT_fwrite @1281 + fwscanf=MSVCRT_fwscanf @1282 + fwscanf_s=MSVCRT_fwscanf_s @1283 + getc=MSVCRT_getc @1284 + getchar=MSVCRT_getchar @1285 + getenv=MSVCRT_getenv @1286 + getenv_s @1287 + gets=MSVCRT_gets @1288 + getwc=MSVCRT_getwc @1290 + getwchar=MSVCRT_getwchar @1291 + is_wctype=ntdll.iswctype @1292 + isalnum=MSVCRT_isalnum @1293 + isalpha=MSVCRT_isalpha @1294 + iscntrl=MSVCRT_iscntrl @1295 + isdigit=MSVCRT_isdigit @1296 + isgraph=MSVCRT_isgraph @1297 + isleadbyte=MSVCRT_isleadbyte @1298 + islower=MSVCRT_islower @1299 + isprint=MSVCRT_isprint @1300 + ispunct=MSVCRT_ispunct @1301 + isspace=MSVCRT_isspace @1302 + isupper=MSVCRT_isupper @1303 + iswalnum=MSVCRT_iswalnum @1304 + iswalpha=ntdll.iswalpha @1305 + iswascii=MSVCRT_iswascii @1306 + iswcntrl=MSVCRT_iswcntrl @1307 + iswctype=ntdll.iswctype @1308 + iswdigit=MSVCRT_iswdigit @1309 + iswgraph=MSVCRT_iswgraph @1310 + iswlower=MSVCRT_iswlower @1311 + iswprint=MSVCRT_iswprint @1312 + iswpunct=MSVCRT_iswpunct @1313 + iswspace=MSVCRT_iswspace @1314 + iswupper=MSVCRT_iswupper @1315 + iswxdigit=MSVCRT_iswxdigit @1316 + isxdigit=MSVCRT_isxdigit @1317 + labs=MSVCRT_labs @1318 + ldexp=MSVCRT_ldexp @1319 + ldiv=MSVCRT_ldiv @1320 + localeconv=MSVCRT_localeconv @1321 + log=MSVCRT_log @1322 + log10=MSVCRT_log10 @1323 + longjmp=MSVCRT_longjmp @1324 + malloc=MSVCRT_malloc @1325 + mblen=MSVCRT_mblen @1326 + mbrlen=MSVCRT_mbrlen @1327 + mbrtowc=MSVCRT_mbrtowc @1328 + mbsrtowcs=MSVCRT_mbsrtowcs @1329 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @1330 + mbstowcs=MSVCRT_mbstowcs @1331 + mbstowcs_s=MSVCRT__mbstowcs_s @1332 + mbtowc=MSVCRT_mbtowc @1333 + memchr=MSVCRT_memchr @1334 + memcmp=MSVCRT_memcmp @1335 + memcpy=MSVCRT_memcpy @1336 + memcpy_s=MSVCRT_memcpy_s @1337 + memmove=MSVCRT_memmove @1338 + memmove_s=MSVCRT_memmove_s @1339 + memset=MSVCRT_memset @1340 + modf=MSVCRT_modf @1341 + perror=MSVCRT_perror @1342 + pow=MSVCRT_pow @1343 + printf=MSVCRT_printf @1344 + printf_s=MSVCRT_printf_s @1345 + putc=MSVCRT_putc @1346 + putchar=MSVCRT_putchar @1347 + puts=MSVCRT_puts @1348 + putwc=MSVCRT_fputwc @1349 + putwchar=MSVCRT__fputwchar @1350 + qsort=MSVCRT_qsort @1351 + qsort_s=MSVCRT_qsort_s @1352 + raise=MSVCRT_raise @1353 + rand=MSVCRT_rand @1354 + rand_s=MSVCRT_rand_s @1355 + realloc=MSVCRT_realloc @1356 + remove=MSVCRT_remove @1357 + rename=MSVCRT_rename @1358 + rewind=MSVCRT_rewind @1359 + scanf=MSVCRT_scanf @1360 + scanf_s=MSVCRT_scanf_s @1361 + setbuf=MSVCRT_setbuf @1362 + setlocale=MSVCRT_setlocale @1363 + setvbuf=MSVCRT_setvbuf @1364 + signal=MSVCRT_signal @1365 + sin=MSVCRT_sin @1366 + sinh=MSVCRT_sinh @1367 + sprintf=MSVCRT_sprintf @1368 + sprintf_s=MSVCRT_sprintf_s @1369 + sqrt=MSVCRT_sqrt @1370 + srand=MSVCRT_srand @1371 + sscanf=MSVCRT_sscanf @1372 + sscanf_s=MSVCRT_sscanf_s @1373 + strcat=ntdll.strcat @1374 + strcat_s=MSVCRT_strcat_s @1375 + strchr=MSVCRT_strchr @1376 + strcmp=MSVCRT_strcmp @1377 + strcoll=MSVCRT_strcoll @1378 + strcpy=MSVCRT_strcpy @1379 + strcpy_s=MSVCRT_strcpy_s @1380 + strcspn=ntdll.strcspn @1381 + strerror=MSVCRT_strerror @1382 + strerror_s=MSVCRT_strerror_s @1383 + strftime=MSVCRT_strftime @1384 + strlen=MSVCRT_strlen @1385 + strncat=MSVCRT_strncat @1386 + strncat_s=MSVCRT_strncat_s @1387 + strncmp=MSVCRT_strncmp @1388 + strncpy=MSVCRT_strncpy @1389 + strncpy_s=MSVCRT_strncpy_s @1390 + strnlen=MSVCRT_strnlen @1391 + strpbrk=ntdll.strpbrk @1392 + strrchr=MSVCRT_strrchr @1393 + strspn=ntdll.strspn @1394 + strstr=MSVCRT_strstr @1395 + strtod=MSVCRT_strtod @1396 + strtok=MSVCRT_strtok @1397 + strtok_s=MSVCRT_strtok_s @1398 + strtol=MSVCRT_strtol @1399 + strtoul=MSVCRT_strtoul @1400 + strxfrm=MSVCRT_strxfrm @1401 + swprintf_s=MSVCRT_swprintf_s @1402 + swscanf=MSVCRT_swscanf @1403 + swscanf_s=MSVCRT_swscanf_s @1404 + system=MSVCRT_system @1405 + tan=MSVCRT_tan @1406 + tanh=MSVCRT_tanh @1407 + tmpfile=MSVCRT_tmpfile @1408 + tmpfile_s=MSVCRT_tmpfile_s @1409 + tmpnam=MSVCRT_tmpnam @1410 + tmpnam_s=MSVCRT_tmpnam_s @1411 + tolower=MSVCRT_tolower @1412 + toupper=MSVCRT_toupper @1413 + towlower=MSVCRT_towlower @1414 + towupper=MSVCRT_towupper @1415 + ungetc=MSVCRT_ungetc @1416 + ungetwc=MSVCRT_ungetwc @1417 + vfprintf=MSVCRT_vfprintf @1418 + vfprintf_s=MSVCRT_vfprintf_s @1419 + vfwprintf=MSVCRT_vfwprintf @1420 + vfwprintf_s=MSVCRT_vfwprintf_s @1421 + vprintf=MSVCRT_vprintf @1422 + vprintf_s=MSVCRT_vprintf_s @1423 + vsprintf=MSVCRT_vsprintf @1424 + vsprintf_s=MSVCRT_vsprintf_s @1425 + vswprintf_s=MSVCRT_vswprintf_s @1426 + vwprintf=MSVCRT_vwprintf @1427 + vwprintf_s=MSVCRT_vwprintf_s @1428 + wcrtomb=MSVCRT_wcrtomb @1429 + wcscat=ntdll.wcscat @1431 + wcscat_s=MSVCRT_wcscat_s @1432 + wcschr=MSVCRT_wcschr @1433 + wcscmp=ntdll.wcscmp @1434 + wcscoll=MSVCRT_wcscoll @1435 + wcscpy=ntdll.wcscpy @1436 + wcscpy_s=MSVCRT_wcscpy_s @1437 + wcscspn=ntdll.wcscspn @1438 + wcsftime=MSVCRT_wcsftime @1439 + wcslen=MSVCRT_wcslen @1440 + wcsncat=ntdll.wcsncat @1441 + wcsncat_s=MSVCRT_wcsncat_s @1442 + wcsncmp=MSVCRT_wcsncmp @1443 + wcsncpy=MSVCRT_wcsncpy @1444 + wcsncpy_s=MSVCRT_wcsncpy_s @1445 + wcsnlen=MSVCRT_wcsnlen @1446 + wcspbrk=MSVCRT_wcspbrk @1447 + wcsrchr=ntdll.wcsrchr @1448 + wcsrtombs=MSVCRT_wcsrtombs @1449 + wcsrtombs_s=MSVCRT_wcsrtombs_s @1450 + wcsspn=ntdll.wcsspn @1451 + wcsstr=MSVCRT_wcsstr @1452 + wcstod=MSVCRT_wcstod @1453 + wcstok=MSVCRT_wcstok @1454 + wcstok_s=MSVCRT_wcstok_s @1455 + wcstol=ntdll.wcstol @1456 + wcstombs=MSVCRT_wcstombs @1457 + wcstombs_s=MSVCRT_wcstombs_s @1458 + wcstoul=MSVCRT_wcstoul @1459 + wcsxfrm=MSVCRT_wcsxfrm @1460 + wctob=MSVCRT_wctob @1461 + wctomb=MSVCRT_wctomb @1462 + wctomb_s=MSVCRT_wctomb_s @1463 + wprintf=MSVCRT_wprintf @1464 + wprintf_s=MSVCRT_wprintf_s @1465 + wscanf=MSVCRT_wscanf @1466 + wscanf_s=MSVCRT_wscanf_s @1467 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr90.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr90.def new file mode 100644 index 0000000..a205568 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcr90.def @@ -0,0 +1,1193 @@ +; File generated automatically from ./dlls/msvcr90/msvcr90.spec; do not edit! + +LIBRARY msvcr90.dll + +EXPORTS + ??0__non_rtti_object@std@@QAE@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @1 + ??0bad_cast@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @2 + ??0bad_cast@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @3 + ??0bad_typeid@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @4 + ??0bad_typeid@std@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @5 + ??0exception@std@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @6 + ??0exception@std@@QAE@ABQBDH@Z=__thiscall_MSVCRT_exception_ctor_noalloc @7 + ??0exception@std@@QAE@ABV01@@Z=__thiscall_MSVCRT_exception_copy_ctor @8 + ??0exception@std@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @9 + ??1__non_rtti_object@std@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @10 + ??1bad_cast@std@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @11 + ??1bad_typeid@std@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @12 + ??1exception@std@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @13 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @14 + ??2@YAPAXI@Z=MSVCRT_operator_new @15 + ??2@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @16 + ??3@YAXPAX@Z=MSVCRT_operator_delete @17 + ??4__non_rtti_object@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @18 + ??4bad_cast@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_cast_opequals @19 + ??4bad_typeid@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_bad_typeid_opequals @20 + ??4exception@std@@QAEAAV01@ABV01@@Z=__thiscall_MSVCRT_exception_opequals @21 + ??8type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @22 + ??9type_info@@QBE_NABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @23 + ??_7__non_rtti_object@std@@6B@=MSVCRT___non_rtti_object_vtable @24 DATA + ??_7bad_cast@std@@6B@=MSVCRT_bad_cast_vtable @25 DATA + ??_7bad_typeid@std@@6B@=MSVCRT_bad_typeid_vtable @26 DATA + ??_7exception@@6B@=MSVCRT_exception_old_vtable @27 DATA + ??_7exception@std@@6B@=MSVCRT_exception_vtable @28 DATA + ??_Fbad_cast@std@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @29 + ??_Fbad_typeid@std@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @30 + ??_U@YAPAXI@Z=MSVCRT_operator_new @31 + ??_U@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @32 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @33 + __uncaught_exception=MSVCRT___uncaught_exception @41 + ?_invalid_parameter@@YAXPBG00II@Z=MSVCRT__invalid_parameter @43 + ?_is_exception_typeof@@YAHABVtype_info@@PAU_EXCEPTION_POINTERS@@@Z=_is_exception_typeof @44 + ?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @45 + ?_open@@YAHPBDHH@Z=MSVCRT__open @46 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @47 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @48 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @50 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @51 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @53 + ?_sopen@@YAHPBDHHH@Z=MSVCRT__sopen @54 + ?_wopen@@YAHPB_WHH@Z=MSVCRT__wopen @56 + ?_wsopen@@YAHPB_WHHH@Z=MSVCRT__wsopen @57 + ?before@type_info@@QBEHABV1@@Z=__thiscall_MSVCRT_type_info_before @58 + ?name@type_info@@QBEPBDPAU__type_info_node@@@Z=__thiscall_type_info_name_internal_method @59 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @60 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @61 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @63 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @65 + ?swprintf@@YAHPAGIPBGZZ=MSVCRT__snwprintf @66 + ?swprintf@@YAHPA_WIPB_WZZ=MSVCRT__snwprintf @67 + ?terminate@@YAXXZ=MSVCRT_terminate @68 + ?unexpected@@YAXXZ=MSVCRT_unexpected @69 + ?vswprintf@@YAHPA_WIPB_WPAD@Z=MSVCRT_vsnwprintf @70 + ?what@exception@std@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @71 + $I10_OUTPUT=MSVCRT_I10_OUTPUT @72 + _CIacos @73 + _CIasin @74 + _CIatan @75 + _CIatan2 @76 + _CIcos @77 + _CIcosh @78 + _CIexp @79 + _CIfmod @80 + _CIlog @81 + _CIlog10 @82 + _CIpow @83 + _CIsin @84 + _CIsinh @85 + _CIsqrt @86 + _CItan @87 + _CItanh @88 + _CRT_RTC_INIT @89 + _CRT_RTC_INITW @90 + _CreateFrameInfo @91 + _CxxThrowException@8 @92 + _EH_prolog @93 + _FindAndUnlinkFrame @94 + _Getdays @95 + _Getmonths @96 + _Gettnames @97 + _HUGE=MSVCRT__HUGE @98 DATA + _IsExceptionObjectToBeDestroyed @99 + _Strftime @103 + _XcptFilter @104 + __AdjustPointer @105 + __CppXcptFilter @108 + __CxxDetectRethrow @113 + __CxxExceptionFilter @114 + __CxxFrameHandler @115 + __CxxFrameHandler2=__CxxFrameHandler @116 + __CxxFrameHandler3=__CxxFrameHandler @117 + __CxxLongjmpUnwind@4 @118 + __CxxQueryExceptionSize @119 + __CxxRegisterExceptionObject @120 + __CxxUnregisterExceptionObject @121 + __DestructExceptionObject @122 + __RTCastToVoid=MSVCRT___RTCastToVoid @124 + __RTDynamicCast=MSVCRT___RTDynamicCast @125 + __RTtypeid=MSVCRT___RTtypeid @126 + __STRINGTOLD @127 + ___lc_codepage_func @130 + ___lc_collate_cp_func @131 + ___lc_handle_func @132 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @133 + ___mb_cur_max_l_func @134 + ___setlc_active_func=MSVCRT____setlc_active_func @135 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @136 + __argc=MSVCRT___argc @137 DATA + __argv=MSVCRT___argv @138 DATA + __badioinfo=MSVCRT___badioinfo @139 DATA + __clean_type_info_names_internal @140 + __control87_2 @141 + __crtCompareStringA @143 + __crtCompareStringW @144 + __crtGetLocaleInfoW @145 + __crtGetStringTypeW @146 + __crtLCMapStringA @147 + __crtLCMapStringW @148 + __daylight=MSVCRT___p__daylight @149 + __dllonexit @150 + __doserrno=MSVCRT___doserrno @151 + __dstbias=MSVCRT___p__dstbias @152 + __fpecode @155 + __getmainargs @161 + __initenv=MSVCRT___initenv @162 DATA + __iob_func=MSVCRT___iob_func @163 + __isascii=MSVCRT___isascii @164 + __iscsym=MSVCRT___iscsym @165 + __iscsymf=MSVCRT___iscsymf @166 + __lc_codepage=MSVCRT___lc_codepage @169 DATA + __lc_collate_cp=MSVCRT___lc_collate_cp @170 DATA + __lc_handle=MSVCRT___lc_handle @171 DATA + __lconv_init @172 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @173 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @174 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @175 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @176 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @177 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @178 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @179 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @180 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @181 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @182 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @183 + __libm_sse2_log=MSVCRT___libm_sse2_log @184 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @185 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @186 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @187 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @188 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @189 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @190 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @191 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @192 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @193 + __mb_cur_max=MSVCRT___mb_cur_max @194 DATA + __p___argc=MSVCRT___p___argc @195 + __p___argv=MSVCRT___p___argv @196 + __p___initenv @197 + __p___mb_cur_max @198 + __p___wargv=MSVCRT___p___wargv @199 + __p___winitenv @200 + __p__acmdln @201 + __p__amblksiz @202 + __p__commode @203 + __p__daylight=MSVCRT___p__daylight @204 + __p__dstbias=MSVCRT___p__dstbias @205 + __p__environ=MSVCRT___p__environ @206 + __p__fmode @207 + __p__iob=MSVCRT___iob_func @208 + __p__mbctype @210 + __p__pctype=MSVCRT___p__pctype @211 + __p__pgmptr=MSVCRT___p__pgmptr @212 + __p__timezone=MSVCRT___p__timezone @214 + __p__tzname @215 + __p__wcmdln @216 + __p__wenviron=MSVCRT___p__wenviron @217 + __p__wpgmptr=MSVCRT___p__wpgmptr @218 + __pctype_func=MSVCRT___pctype_func @219 + __pioinfo=MSVCRT___pioinfo @220 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @222 + __set_app_type=MSVCRT___set_app_type @224 + __setlc_active=MSVCRT___setlc_active @226 DATA + __setusermatherr=MSVCRT___setusermatherr @227 + __swprintf_l=MSVCRT___swprintf_l @229 + __sys_errlist @230 + __sys_nerr @231 + __threadhandle=kernel32.GetCurrentThread @232 + __threadid=kernel32.GetCurrentThreadId @233 + __timezone=MSVCRT___p__timezone @234 + __toascii=MSVCRT___toascii @235 + __tzname=__p__tzname @236 + __unDName @237 + __unDNameEx @238 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @240 DATA + __vswprintf_l=MSVCRT_vswprintf_l @241 + __wargv=MSVCRT___wargv @242 DATA + __wcserror=MSVCRT___wcserror @243 + __wcserror_s=MSVCRT___wcserror_s @244 + __wgetmainargs @246 + __winitenv=MSVCRT___winitenv @247 DATA + _abnormal_termination @248 + _abs64 @249 + _access=MSVCRT__access @250 + _access_s=MSVCRT__access_s @251 + _acmdln=MSVCRT__acmdln @252 DATA + _adj_fdiv_m16i@4 @253 + _adj_fdiv_m32@4 @254 + _adj_fdiv_m32i@4 @255 + _adj_fdiv_m64@8 @256 + _adj_fdiv_r @257 + _adj_fdivr_m16i@4 @258 + _adj_fdivr_m32@4 @259 + _adj_fdivr_m32i@4 @260 + _adj_fdivr_m64@8 @261 + _adj_fpatan @262 + _adj_fprem @263 + _adj_fprem1 @264 + _adj_fptan @265 + _adjust_fdiv=MSVCRT__adjust_fdiv @266 DATA + _aexit_rtn @267 DATA + _aligned_free @268 + _aligned_malloc @269 + _aligned_msize @270 + _aligned_offset_malloc @271 + _aligned_offset_realloc @272 + _aligned_realloc @274 + _amsg_exit @276 + _assert=MSVCRT__assert @277 + _atodbl=MSVCRT__atodbl @278 + _atodbl_l=MSVCRT__atodbl_l @279 + _atof_l=MSVCRT__atof_l @280 + _atoflt=MSVCRT__atoflt @281 + _atoflt_l=MSVCRT__atoflt_l @282 + _atoi64=ntdll._atoi64 @283 + _atoi_l=MSVCRT__atoi_l @285 + _atoldbl=MSVCRT__atoldbl @287 + _beep=MSVCRT__beep @289 + _beginthread @290 + _beginthreadex @291 + _byteswap_uint64 @292 + _byteswap_ulong=MSVCRT__byteswap_ulong @293 + _byteswap_ushort @294 + _c_exit=MSVCRT__c_exit @295 + _cabs=MSVCRT__cabs @296 + _callnewh @297 + _calloc_crt=MSVCRT_calloc @298 + _cexit=MSVCRT__cexit @299 + _cgets @300 + _chdir=MSVCRT__chdir @304 + _chdrive=MSVCRT__chdrive @305 + _chgsign=MSVCRT__chgsign @306 + _chkesp @307 + _chmod=MSVCRT__chmod @308 + _chsize=MSVCRT__chsize @309 + _chsize_s=MSVCRT__chsize_s @310 + _clearfp @311 + _close=MSVCRT__close @312 + _commit=MSVCRT__commit @313 + _commode=MSVCRT__commode @314 DATA + _configthreadlocale @315 + _control87 @316 + _controlfp @317 + _controlfp_s @318 + _copysign=MSVCRT__copysign @319 + _cprintf @320 + _cputs @326 + _cputws @327 + _creat=MSVCRT__creat @328 + _create_locale=MSVCRT__create_locale @329 + _crt_debugger_hook=MSVCRT__crt_debugger_hook @330 + _cscanf @331 + _cscanf_l @332 + _cscanf_s @333 + _cscanf_s_l @334 + _ctime32=MSVCRT__ctime32 @335 + _ctime32_s=MSVCRT__ctime32_s @336 + _ctime64=MSVCRT__ctime64 @337 + _ctime64_s=MSVCRT__ctime64_s @338 + _cwait @339 + _cwprintf @340 + _cwscanf @346 + _cwscanf_l @347 + _cwscanf_s @348 + _cwscanf_s_l @349 + _daylight=MSVCRT___daylight @350 DATA + _decode_pointer=MSVCRT_decode_pointer @351 + _difftime32=MSVCRT__difftime32 @352 + _difftime64=MSVCRT__difftime64 @353 + _dstbias=MSVCRT__dstbias @355 DATA + _dup=MSVCRT__dup @356 + _dup2=MSVCRT__dup2 @357 + _dupenv_s @358 + _ecvt=MSVCRT__ecvt @359 + _ecvt_s=MSVCRT__ecvt_s @360 + _encode_pointer=MSVCRT_encode_pointer @361 + _encoded_null @362 + _endthread @363 + _endthreadex @364 + _environ=MSVCRT__environ @365 DATA + _eof=MSVCRT__eof @366 + _errno=MSVCRT__errno @367 + _except_handler2 @368 + _except_handler3 @369 + _except_handler4_common @370 + _execl @371 + _execle @372 + _execlp @373 + _execlpe @374 + _execv @375 + _execve=MSVCRT__execve @376 + _execvp @377 + _execvpe @378 + _exit=MSVCRT__exit @379 + _expand @380 + _fclose_nolock=MSVCRT__fclose_nolock @381 + _fcloseall=MSVCRT__fcloseall @382 + _fcvt=MSVCRT__fcvt @383 + _fcvt_s=MSVCRT__fcvt_s @384 + _fdopen=MSVCRT__fdopen @385 + _fflush_nolock=MSVCRT__fflush_nolock @386 + _fgetc_nolock=MSVCRT__fgetc_nolock @387 + _fgetchar=MSVCRT__fgetchar @388 + _fgetwc_nolock=MSVCRT__fgetwc_nolock @389 + _fgetwchar=MSVCRT__fgetwchar @390 + _filbuf=MSVCRT__filbuf @391 + _filelength=MSVCRT__filelength @392 + _filelengthi64=MSVCRT__filelengthi64 @393 + _fileno=MSVCRT__fileno @394 + _findclose=MSVCRT__findclose @395 + _findfirst32=MSVCRT__findfirst32 @396 + _findfirst64=MSVCRT__findfirst64 @398 + _findfirst64i32=MSVCRT__findfirst64i32 @399 + _findnext32=MSVCRT__findnext32 @400 + _findnext64=MSVCRT__findnext64 @402 + _findnext64i32=MSVCRT__findnext64i32 @403 + _finite=MSVCRT__finite @404 + _flsbuf=MSVCRT__flsbuf @405 + _flushall=MSVCRT__flushall @406 + _fmode=MSVCRT__fmode @407 DATA + _fpclass=MSVCRT__fpclass @408 + _fpieee_flt @409 + _fpreset @410 + _fputc_nolock=MSVCRT__fputc_nolock @415 + _fputchar=MSVCRT__fputchar @416 + _fputwc_nolock=MSVCRT__fputwc_nolock @417 + _fputwchar=MSVCRT__fputwchar @418 + _fread_nolock=MSVCRT__fread_nolock @419 + _fread_nolock_s=MSVCRT__fread_nolock_s @420 + _free_locale=MSVCRT__free_locale @421 + _fscanf_l=MSVCRT__fscanf_l @425 + _fscanf_s_l=MSVCRT__fscanf_s_l @426 + _fseek_nolock=MSVCRT__fseek_nolock @427 + _fseeki64=MSVCRT__fseeki64 @428 + _fseeki64_nolock=MSVCRT__fseeki64_nolock @429 + _fsopen=MSVCRT__fsopen @430 + _fstat32=MSVCRT__fstat32 @431 + _fstat32i64=MSVCRT__fstat32i64 @432 + _fstat64=MSVCRT__fstat64 @433 + _fstat64i32=MSVCRT__fstat64i32 @434 + _ftell_nolock=MSVCRT__ftell_nolock @435 + _ftelli64=MSVCRT__ftelli64 @436 + _ftelli64_nolock=MSVCRT__ftelli64_nolock @437 + _ftime32=MSVCRT__ftime32 @438 + _ftime32_s=MSVCRT__ftime32_s @439 + _ftime64=MSVCRT__ftime64 @440 + _ftime64_s=MSVCRT__ftime64_s @441 + _ftol=MSVCRT__ftol @442 + _fullpath=MSVCRT__fullpath @443 + _futime32 @444 + _futime64 @445 + _fwprintf_l=MSVCRT__fwprintf_l @446 + _fwrite_nolock=MSVCRT__fwrite_nolock @450 + _fwscanf_l=MSVCRT__fwscanf_l @451 + _fwscanf_s_l=MSVCRT__fwscanf_s_l @452 + _gcvt=MSVCRT__gcvt @453 + _gcvt_s=MSVCRT__gcvt_s @454 + _get_current_locale=MSVCRT__get_current_locale @456 + _get_daylight @457 + _get_doserrno @458 + _get_dstbias=MSVCRT__get_dstbias @459 + _get_errno @460 + _get_fmode=MSVCRT__get_fmode @461 + _get_heap_handle @462 + _get_invalid_parameter_handler @463 + _get_osfhandle=MSVCRT__get_osfhandle @464 + _get_output_format=MSVCRT__get_output_format @465 + _get_pgmptr @466 + _get_printf_count_output=MSVCRT__get_printf_count_output @467 + _get_sbh_threshold @469 + _get_terminate=MSVCRT__get_terminate @470 + _get_timezone @471 + _get_tzname=MSVCRT__get_tzname @472 + _get_unexpected=MSVCRT__get_unexpected @473 + _get_wpgmptr @474 + _getc_nolock=MSVCRT__fgetc_nolock @475 + _getch @476 + _getch_nolock @477 + _getche @478 + _getche_nolock @479 + _getcwd=MSVCRT__getcwd @480 + _getdcwd=MSVCRT__getdcwd @481 + _getdiskfree=MSVCRT__getdiskfree @483 + _getdllprocaddr @484 + _getdrive=MSVCRT__getdrive @485 + _getdrives=kernel32.GetLogicalDrives @486 + _getmaxstdio=MSVCRT__getmaxstdio @487 + _getmbcp @488 + _getpid @489 + _getptd @490 + _getw=MSVCRT__getw @492 + _getwc_nolock=MSVCRT__fgetwc_nolock @493 + _getwch @494 + _getwch_nolock @495 + _getwche @496 + _getwche_nolock @497 + _getws=MSVCRT__getws @498 + _global_unwind2 @500 + _gmtime32=MSVCRT__gmtime32 @501 + _gmtime32_s=MSVCRT__gmtime32_s @502 + _gmtime64=MSVCRT__gmtime64 @503 + _gmtime64_s=MSVCRT__gmtime64_s @504 + _heapadd @505 + _heapchk @506 + _heapmin @507 + _heapset @508 + _heapwalk @510 + _hypot @511 + _hypotf=MSVCRT__hypotf @512 + _i64toa=ntdll._i64toa @513 + _i64toa_s=MSVCRT__i64toa_s @514 + _i64tow=ntdll._i64tow @515 + _i64tow_s=MSVCRT__i64tow_s @516 + _initterm @518 + _initterm_e @519 + _invalid_parameter=MSVCRT__invalid_parameter @523 + _invalid_parameter_noinfo @524 + _iob=MSVCRT__iob @526 DATA + _isalnum_l=MSVCRT__isalnum_l @527 + _isalpha_l=MSVCRT__isalpha_l @528 + _isatty=MSVCRT__isatty @529 + _iscntrl_l=MSVCRT__iscntrl_l @530 + _isctype=MSVCRT__isctype @531 + _isctype_l=MSVCRT__isctype_l @532 + _isdigit_l=MSVCRT__isdigit_l @533 + _isgraph_l=MSVCRT__isgraph_l @534 + _isleadbyte_l=MSVCRT__isleadbyte_l @535 + _islower_l=MSVCRT__islower_l @536 + _ismbbkana @545 + _ismbblead @551 + _ismbblead_l @552 + _ismbbtrail @557 + _ismbcalnum @559 + _ismbcalpha @561 + _ismbcdigit @563 + _ismbcgraph @565 + _ismbchira @567 + _ismbckata @569 + _ismbcl0 @571 + _ismbclegal @577 + _ismbclower @579 + _ismbcprint @581 + _ismbcpunct @583 + _ismbcspace @585 + _ismbcsymbol @587 + _ismbcupper @589 + _ismbslead @591 + _ismbstrail @593 + _isnan=MSVCRT__isnan @595 + _isprint_l=MSVCRT__isprint_l @596 + _isspace_l=MSVCRT__isspace_l @598 + _isupper_l=MSVCRT__isupper_l @599 + _iswalpha_l=MSVCRT__iswalpha_l @601 + _iswctype_l=MSVCRT__iswctype_l @605 + _iswdigit_l=MSVCRT__iswdigit_l @606 + _iswpunct_l=MSVCRT__iswpunct_l @610 + _iswspace_l=MSVCRT__iswspace_l @611 + _isxdigit_l=MSVCRT__isxdigit_l @614 + _itoa=MSVCRT__itoa @615 + _itoa_s=MSVCRT__itoa_s @616 + _itow=ntdll._itow @617 + _itow_s=MSVCRT__itow_s @618 + _j0=MSVCRT__j0 @619 + _j1=MSVCRT__j1 @620 + _jn=MSVCRT__jn @621 + _kbhit @622 + _lfind @623 + _lfind_s @624 + _loaddll @625 + _local_unwind2 @626 + _local_unwind4 @627 + _localtime32=MSVCRT__localtime32 @628 + _localtime32_s @629 + _localtime64=MSVCRT__localtime64 @630 + _localtime64_s @631 + _lock @632 + _lock_file=MSVCRT__lock_file @633 + _locking=MSVCRT__locking @634 + _logb=MSVCRT__logb @635 + _longjmpex=MSVCRT_longjmp @636 + _lrotl=MSVCRT__lrotl @637 + _lrotr=MSVCRT__lrotr @638 + _lsearch @639 + _lseek=MSVCRT__lseek @641 + _lseeki64=MSVCRT__lseeki64 @642 + _ltoa=ntdll._ltoa @643 + _ltoa_s=MSVCRT__ltoa_s @644 + _ltow=ntdll._ltow @645 + _ltow_s=MSVCRT__ltow_s @646 + _makepath=MSVCRT__makepath @647 + _makepath_s=MSVCRT__makepath_s @648 + _malloc_crt=MSVCRT_malloc @649 + _mbbtombc @650 + _mbbtype @652 + _mbccpy @654 + _mbcjistojms @658 + _mbcjmstojis @660 + _mbclen @662 + _mbctohira @664 + _mbctokata @666 + _mbctolower @668 + _mbctombb @670 + _mbctoupper @672 + _mbctype=MSVCRT_mbctype @674 DATA + _mbsbtype @676 + _mbscat_s @678 + _mbscat_s_l @679 + _mbschr @680 + _mbscmp @682 + _mbscoll @684 + _mbscoll_l @685 + _mbscpy_s @686 + _mbscpy_s_l @687 + _mbscspn @688 + _mbsdec @690 + _mbsicmp @692 + _mbsicoll @694 + _mbsicoll_l @695 + _mbsinc @696 + _mbslen @698 + _mbslwr @700 + _mbslwr_s @702 + _mbsnbcat @704 + _mbsnbcat_s @706 + _mbsnbcmp @708 + _mbsnbcnt @710 + _mbsnbcoll @712 + _mbsnbcoll_l @713 + _mbsnbcpy @714 + _mbsnbcpy_s @716 + _mbsnbcpy_s_l @717 + _mbsnbicmp @718 + _mbsnbicoll @720 + _mbsnbicoll_l @721 + _mbsnbset @722 + _mbsncat @726 + _mbsnccnt @730 + _mbsncmp @732 + _mbsncpy @736 + _mbsnextc @740 + _mbsnicmp @742 + _mbsninc @746 + _mbsnset @750 + _mbspbrk @754 + _mbsrchr @756 + _mbsrev @758 + _mbsset @760 + _mbsspn @764 + _mbsspnp @766 + _mbsstr @768 + _mbstok @770 + _mbstok_l @771 + _mbstok_s @772 + _mbstok_s_l @773 + _mbstowcs_l=MSVCRT__mbstowcs_l @774 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @775 + _mbstrlen @776 + _mbstrlen_l @777 + _mbsupr @780 + _mbsupr_s @782 + _mbtowc_l=MSVCRT_mbtowc_l @784 + _memccpy=ntdll._memccpy @785 + _memicmp=ntdll._memicmp @786 + _mkdir=MSVCRT__mkdir @788 + _mkgmtime32=MSVCRT__mkgmtime32 @789 + _mkgmtime64=MSVCRT__mkgmtime64 @790 + _mktemp=MSVCRT__mktemp @791 + _mktemp_s=MSVCRT__mktemp_s @792 + _mktime32=MSVCRT__mktime32 @793 + _mktime64=MSVCRT__mktime64 @794 + _msize @795 + _nextafter=MSVCRT__nextafter @796 + _onexit=MSVCRT__onexit @797 + _open=MSVCRT__open @798 + _open_osfhandle=MSVCRT__open_osfhandle @799 + _pclose=MSVCRT__pclose @803 + _pctype=MSVCRT__pctype @804 DATA + _pgmptr=MSVCRT__pgmptr @805 DATA + _pipe=MSVCRT__pipe @806 + _popen=MSVCRT__popen @807 + _purecall @812 + _putc_nolock=MSVCRT__fputc_nolock @813 + _putch @814 + _putch_nolock @815 + _putenv @816 + _putenv_s @817 + _putw=MSVCRT__putw @818 + _putwc_nolock=MSVCRT__fputwc_nolock @819 + _putwch @820 + _putwch_nolock @821 + _putws=MSVCRT__putws @822 + _read=MSVCRT__read @823 + _realloc_crt=MSVCRT_realloc @824 + _recalloc @825 + _resetstkoflw=MSVCRT__resetstkoflw @827 + _rmdir=MSVCRT__rmdir @828 + _rmtmp=MSVCRT__rmtmp @829 + _rotl @830 + _rotl64 @831 + _rotr @832 + _rotr64 @833 + _safe_fdiv @834 + _safe_fdivr @835 + _safe_fprem @836 + _safe_fprem1 @837 + _scalb=MSVCRT__scalb @838 + _scanf_l=MSVCRT__scanf_l @839 + _scanf_s_l=MSVCRT__scanf_s_l @840 + _scprintf=MSVCRT__scprintf @841 + _scwprintf=MSVCRT__scwprintf @845 + _searchenv=MSVCRT__searchenv @849 + _searchenv_s=MSVCRT__searchenv_s @850 + _seh_longjmp_unwind4@4 @851 + _seh_longjmp_unwind@4 @852 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @853 + _set_abort_behavior=MSVCRT__set_abort_behavior @854 + _set_controlfp @856 + _set_doserrno @857 + _set_errno @858 + _set_error_mode @859 + _set_fmode=MSVCRT__set_fmode @860 + _set_invalid_parameter_handler @861 + _set_output_format=MSVCRT__set_output_format @863 + _set_printf_count_output=MSVCRT__set_printf_count_output @864 + _set_purecall_handler @865 + _set_sbh_threshold @866 + _seterrormode @867 + _setjmp=MSVCRT__setjmp @868 + _setjmp3=MSVCRT__setjmp3 @869 + _setmaxstdio=MSVCRT__setmaxstdio @870 + _setmbcp @871 + _setmode=MSVCRT__setmode @872 + _sleep=MSVCRT__sleep @874 + _snprintf=MSVCRT__snprintf @875 + _snprintf_l=MSVCRT__snprintf_l @878 + _snprintf_s=MSVCRT__snprintf_s @879 + _snscanf=MSVCRT__snscanf @881 + _snscanf_l=MSVCRT__snscanf_l @882 + _snscanf_s=MSVCRT__snscanf_s @883 + _snscanf_s_l=MSVCRT__snscanf_s_l @884 + _snwprintf=MSVCRT__snwprintf @885 + _snwprintf_l=MSVCRT__snwprintf_l @886 + _snwprintf_s=MSVCRT__snwprintf_s @887 + _snwprintf_s_l=MSVCRT__snwprintf_s_l @888 + _snwscanf=MSVCRT__snwscanf @889 + _snwscanf_l=MSVCRT__snwscanf_l @890 + _snwscanf_s=MSVCRT__snwscanf_s @891 + _snwscanf_s_l=MSVCRT__snwscanf_s_l @892 + _sopen=MSVCRT__sopen @893 + _sopen_s=MSVCRT__sopen_s @894 + _spawnl @895 + _spawnle @896 + _spawnlp @897 + _spawnlpe @898 + _spawnv @899 + _spawnve=MSVCRT__spawnve @900 + _spawnvp @901 + _spawnvpe=MSVCRT__spawnvpe @902 + _splitpath=MSVCRT__splitpath @903 + _splitpath_s=MSVCRT__splitpath_s @904 + _sprintf_l=MSVCRT_sprintf_l @905 + _sprintf_p=MSVCRT__sprintf_p @906 + _sprintf_p_l=MSVCRT_sprintf_p_l @907 + _sprintf_s_l=MSVCRT_sprintf_s_l @908 + _sscanf_l=MSVCRT__sscanf_l @909 + _sscanf_s_l=MSVCRT__sscanf_s_l @910 + _stat32=MSVCRT__stat32 @911 + _stat32i64=MSVCRT__stat32i64 @912 + _stat64=MSVCRT_stat64 @913 + _stat64i32=MSVCRT__stat64i32 @914 + _statusfp @915 + _statusfp2 @916 + _strcoll_l=MSVCRT_strcoll_l @917 + _strdate=MSVCRT__strdate @918 + _strdate_s @919 + _strdup=MSVCRT__strdup @920 + _strerror=MSVCRT__strerror @921 + _strftime_l=MSVCRT__strftime_l @923 + _stricmp=MSVCRT__stricmp @924 + _stricmp_l=MSVCRT__stricmp_l @925 + _stricoll=MSVCRT__stricoll @926 + _stricoll_l=MSVCRT__stricoll_l @927 + _strlwr=MSVCRT__strlwr @928 + _strlwr_l @929 + _strlwr_s=MSVCRT__strlwr_s @930 + _strlwr_s_l=MSVCRT__strlwr_s_l @931 + _strncoll=MSVCRT__strncoll @932 + _strncoll_l=MSVCRT__strncoll_l @933 + _strnicmp=MSVCRT__strnicmp @934 + _strnicmp_l=MSVCRT__strnicmp_l @935 + _strnicoll=MSVCRT__strnicoll @936 + _strnicoll_l=MSVCRT__strnicoll_l @937 + _strnset=MSVCRT__strnset @938 + _strnset_s=MSVCRT__strnset_s @939 + _strrev=MSVCRT__strrev @940 + _strset @941 + _strtime=MSVCRT__strtime @943 + _strtime_s @944 + _strtod_l=MSVCRT_strtod_l @945 + _strtoi64=MSVCRT_strtoi64 @946 + _strtoi64_l=MSVCRT_strtoi64_l @947 + _strtol_l=MSVCRT__strtol_l @948 + _strtoui64=MSVCRT_strtoui64 @949 + _strtoui64_l=MSVCRT_strtoui64_l @950 + _strtoul_l=MSVCRT_strtoul_l @951 + _strupr=MSVCRT__strupr @952 + _strupr_l=MSVCRT__strupr_l @953 + _strupr_s=MSVCRT__strupr_s @954 + _strupr_s_l=MSVCRT__strupr_s_l @955 + _strxfrm_l=MSVCRT__strxfrm_l @956 + _swab=MSVCRT__swab @957 + _swprintf=MSVCRT_swprintf @958 + _swprintf_p_l=MSVCRT_swprintf_p_l @962 + _swprintf_s_l=MSVCRT__swprintf_s_l @963 + _swscanf_l=MSVCRT__swscanf_l @964 + _swscanf_s_l=MSVCRT__swscanf_s_l @965 + _sys_errlist=MSVCRT__sys_errlist @966 DATA + _sys_nerr=MSVCRT__sys_nerr @967 DATA + _tell=MSVCRT__tell @968 + _telli64 @969 + _tempnam=MSVCRT__tempnam @970 + _time32=MSVCRT__time32 @971 + _time64=MSVCRT__time64 @972 + _timezone=MSVCRT___timezone @973 DATA + _tolower=MSVCRT__tolower @974 + _tolower_l=MSVCRT__tolower_l @975 + _toupper=MSVCRT__toupper @976 + _toupper_l=MSVCRT__toupper_l @977 + _towlower_l=MSVCRT__towlower_l @978 + _towupper_l=MSVCRT__towupper_l @979 + _tzname=MSVCRT__tzname @980 DATA + _tzset=MSVCRT__tzset @981 + _ui64toa=ntdll._ui64toa @982 + _ui64toa_s=MSVCRT__ui64toa_s @983 + _ui64tow=ntdll._ui64tow @984 + _ui64tow_s=MSVCRT__ui64tow_s @985 + _ultoa=ntdll._ultoa @986 + _ultoa_s=MSVCRT__ultoa_s @987 + _ultow=ntdll._ultow @988 + _ultow_s=MSVCRT__ultow_s @989 + _umask=MSVCRT__umask @990 + _ungetc_nolock=MSVCRT__ungetc_nolock @992 + _ungetch @993 + _ungetch_nolock @994 + _ungetwc_nolock=MSVCRT__ungetwc_nolock @995 + _ungetwch @996 + _ungetwch_nolock @997 + _unlink=MSVCRT__unlink @998 + _unloaddll @999 + _unlock @1000 + _unlock_file=MSVCRT__unlock_file @1001 + _utime32 @1002 + _utime64 @1003 + _vcprintf @1004 + _vcwprintf @1010 + _vfprintf_l=MSVCRT__vfprintf_l @1016 + _vfwprintf_l=MSVCRT__vfwprintf_l @1020 + _vscprintf=MSVCRT__vscprintf @1028 + _vscprintf_p=MSVCRT__vscprintf_p @1030 + _vscprintf_p_l=MSVCRT__vscprintf_p_l @1031 + _vscwprintf=MSVCRT__vscwprintf @1032 + _vscwprintf_l=MSVCRT__vscwprintf_l @1033 + _vscwprintf_p=MSVCRT__vscwprintf_p @1034 + _vscwprintf_p_l=MSVCRT__vscwprintf_p_l @1035 + _vsnprintf=MSVCRT_vsnprintf @1036 + _vsnprintf_c=MSVCRT_vsnprintf @1037 + _vsnprintf_c_l=MSVCRT_vsnprintf_l @1038 + _vsnprintf_l=MSVCRT_vsnprintf_l @1039 + _vsnprintf_s=MSVCRT_vsnprintf_s @1040 + _vsnprintf_s_l=MSVCRT_vsnprintf_s_l @1041 + _vsnwprintf=MSVCRT_vsnwprintf @1042 + _vsnwprintf_l=MSVCRT_vsnwprintf_l @1043 + _vsnwprintf_s=MSVCRT_vsnwprintf_s @1044 + _vsnwprintf_s_l=MSVCRT_vsnwprintf_s_l @1045 + _vsprintf_l=MSVCRT_vsprintf_l @1046 + _vsprintf_p=MSVCRT_vsprintf_p @1047 + _vsprintf_p_l=MSVCRT_vsprintf_p_l @1048 + _vsprintf_s_l=MSVCRT_vsprintf_s_l @1049 + _vswprintf=MSVCRT_vswprintf @1050 + _vswprintf_c=MSVCRT_vsnwprintf @1051 + _vswprintf_c_l=MSVCRT_vsnwprintf_l @1052 + _vswprintf_l=MSVCRT_vswprintf_l @1053 + _vswprintf_p=MSVCRT__vswprintf_p @1054 + _vswprintf_p_l=MSVCRT_vswprintf_p_l @1055 + _vswprintf_s_l=MSVCRT_vswprintf_s_l @1056 + _waccess=MSVCRT__waccess @1061 + _waccess_s=MSVCRT__waccess_s @1062 + _wasctime=MSVCRT__wasctime @1063 + _wasctime_s=MSVCRT__wasctime_s @1064 + _wassert=MSVCRT__wassert @1065 + _wchdir=MSVCRT__wchdir @1066 + _wchmod=MSVCRT__wchmod @1067 + _wcmdln=MSVCRT__wcmdln @1068 DATA + _wcreat=MSVCRT__wcreat @1069 + _wcscoll_l=MSVCRT__wcscoll_l @1070 + _wcsdup=MSVCRT__wcsdup @1071 + _wcserror=MSVCRT__wcserror @1072 + _wcserror_s=MSVCRT__wcserror_s @1073 + _wcsftime_l=MSVCRT__wcsftime_l @1074 + _wcsicmp=MSVCRT__wcsicmp @1075 + _wcsicmp_l=MSVCRT__wcsicmp_l @1076 + _wcsicoll=MSVCRT__wcsicoll @1077 + _wcsicoll_l=MSVCRT__wcsicoll_l @1078 + _wcslwr=MSVCRT__wcslwr @1079 + _wcslwr_l=MSVCRT__wcslwr_l @1080 + _wcslwr_s=MSVCRT__wcslwr_s @1081 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @1082 + _wcsncoll=MSVCRT__wcsncoll @1083 + _wcsncoll_l=MSVCRT__wcsncoll_l @1084 + _wcsnicmp=MSVCRT__wcsnicmp @1085 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @1086 + _wcsnicoll=MSVCRT__wcsnicoll @1087 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @1088 + _wcsnset=MSVCRT__wcsnset @1089 + _wcsrev=MSVCRT__wcsrev @1091 + _wcsset=MSVCRT__wcsset @1092 + _wcsset_s=MSVCRT__wcsset_s @1093 + _wcstod_l=MSVCRT__wcstod_l @1094 + _wcstoi64=MSVCRT__wcstoi64 @1095 + _wcstoi64_l=MSVCRT__wcstoi64_l @1096 + _wcstol_l=MSVCRT__wcstol_l @1097 + _wcstombs_l=MSVCRT__wcstombs_l @1098 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @1099 + _wcstoui64=MSVCRT__wcstoui64 @1100 + _wcstoui64_l=MSVCRT__wcstoui64_l @1101 + _wcstoul_l=MSVCRT__wcstoul_l @1102 + _wcsupr=ntdll._wcsupr @1103 + _wcsupr_l=MSVCRT__wcsupr_l @1104 + _wcsupr_s=MSVCRT__wcsupr_s @1105 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @1106 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @1107 + _wctime32=MSVCRT__wctime32 @1108 + _wctime32_s=MSVCRT__wctime32_s @1109 + _wctime64=MSVCRT__wctime64 @1110 + _wctime64_s=MSVCRT__wctime64_s @1111 + _wctomb_l=MSVCRT__wctomb_l @1112 + _wctomb_s_l=MSVCRT__wctomb_s_l @1113 + _wdupenv_s @1114 + _wenviron=MSVCRT__wenviron @1115 DATA + _wexecl @1116 + _wexecle @1117 + _wexeclp @1118 + _wexeclpe @1119 + _wexecv @1120 + _wexecve @1121 + _wexecvp @1122 + _wexecvpe @1123 + _wfdopen=MSVCRT__wfdopen @1124 + _wfindfirst32=MSVCRT__wfindfirst32 @1125 + _wfindfirst64=MSVCRT__wfindfirst64 @1127 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @1128 + _wfindnext32=MSVCRT__wfindnext32 @1129 + _wfindnext64=MSVCRT__wfindnext64 @1131 + _wfindnext64i32=MSVCRT__wfindnext64i32 @1132 + _wfopen=MSVCRT__wfopen @1133 + _wfopen_s=MSVCRT__wfopen_s @1134 + _wfreopen=MSVCRT__wfreopen @1135 + _wfreopen_s=MSVCRT__wfreopen_s @1136 + _wfsopen=MSVCRT__wfsopen @1137 + _wfullpath=MSVCRT__wfullpath @1138 + _wgetcwd=MSVCRT__wgetcwd @1139 + _wgetdcwd=MSVCRT__wgetdcwd @1140 + _wgetenv=MSVCRT__wgetenv @1142 + _wgetenv_s @1143 + _wmakepath=MSVCRT__wmakepath @1144 + _wmakepath_s=MSVCRT__wmakepath_s @1145 + _wmkdir=MSVCRT__wmkdir @1146 + _wmktemp=MSVCRT__wmktemp @1147 + _wmktemp_s=MSVCRT__wmktemp_s @1148 + _wopen=MSVCRT__wopen @1149 + _wperror=MSVCRT__wperror @1150 + _wpgmptr=MSVCRT__wpgmptr @1151 DATA + _wpopen=MSVCRT__wpopen @1152 + _wputenv @1157 + _wputenv_s @1158 + _wremove=MSVCRT__wremove @1159 + _wrename=MSVCRT__wrename @1160 + _write=MSVCRT__write @1161 + _wrmdir=MSVCRT__wrmdir @1162 + _wscanf_l=MSVCRT__wscanf_l @1163 + _wscanf_s_l=MSVCRT__wscanf_s_l @1164 + _wsearchenv=MSVCRT__wsearchenv @1165 + _wsearchenv_s=MSVCRT__wsearchenv_s @1166 + _wsetlocale=MSVCRT__wsetlocale @1167 + _wsopen=MSVCRT__wsopen @1168 + _wsopen_s=MSVCRT__wsopen_s @1169 + _wspawnl @1170 + _wspawnle @1171 + _wspawnlp @1172 + _wspawnlpe @1173 + _wspawnv @1174 + _wspawnve=MSVCRT__wspawnve @1175 + _wspawnvp @1176 + _wspawnvpe=MSVCRT__wspawnvpe @1177 + _wsplitpath=MSVCRT__wsplitpath @1178 + _wsplitpath_s=MSVCRT__wsplitpath_s @1179 + _wstat32=MSVCRT__wstat32 @1180 + _wstat32i64=MSVCRT__wstat32i64 @1181 + _wstat64=MSVCRT__wstat64 @1182 + _wstat64i32=MSVCRT__wstat64i32 @1183 + _wstrdate=MSVCRT__wstrdate @1184 + _wstrdate_s @1185 + _wstrtime=MSVCRT__wstrtime @1186 + _wstrtime_s @1187 + _wsystem @1188 + _wtempnam=MSVCRT__wtempnam @1189 + _wtmpnam=MSVCRT__wtmpnam @1190 + _wtmpnam_s=MSVCRT__wtmpnam_s @1191 + _wtof=MSVCRT__wtof @1192 + _wtof_l=MSVCRT__wtof_l @1193 + _wtoi=MSVCRT__wtoi @1194 + _wtoi64=MSVCRT__wtoi64 @1195 + _wtoi64_l=MSVCRT__wtoi64_l @1196 + _wtoi_l=MSVCRT__wtoi_l @1197 + _wtol=MSVCRT__wtol @1198 + _wtol_l=MSVCRT__wtol_l @1199 + _wunlink=MSVCRT__wunlink @1200 + _wutime32 @1201 + _wutime64 @1202 + _y0=MSVCRT__y0 @1203 + _y1=MSVCRT__y1 @1204 + _yn=MSVCRT__yn @1205 + abort=MSVCRT_abort @1206 + abs=MSVCRT_abs @1207 + acos=MSVCRT_acos @1208 + asctime=MSVCRT_asctime @1209 + asctime_s=MSVCRT_asctime_s @1210 + asin=MSVCRT_asin @1211 + atan=MSVCRT_atan @1212 + atan2=MSVCRT_atan2 @1213 + atexit=MSVCRT_atexit @1214 PRIVATE + atof=MSVCRT_atof @1215 + atoi=MSVCRT_atoi @1216 + atol=ntdll.atol @1217 + bsearch=MSVCRT_bsearch @1218 + bsearch_s=MSVCRT_bsearch_s @1219 + btowc=MSVCRT_btowc @1220 + calloc=MSVCRT_calloc @1221 + ceil=MSVCRT_ceil @1222 + clearerr=MSVCRT_clearerr @1223 + clearerr_s=MSVCRT_clearerr_s @1224 + clock=MSVCRT_clock @1225 + cos=MSVCRT_cos @1226 + cosh=MSVCRT_cosh @1227 + div=MSVCRT_div @1228 + exit=MSVCRT_exit @1229 + exp=MSVCRT_exp @1230 + fabs=MSVCRT_fabs @1231 + fclose=MSVCRT_fclose @1232 + feof=MSVCRT_feof @1233 + ferror=MSVCRT_ferror @1234 + fflush=MSVCRT_fflush @1235 + fgetc=MSVCRT_fgetc @1236 + fgetpos=MSVCRT_fgetpos @1237 + fgets=MSVCRT_fgets @1238 + fgetwc=MSVCRT_fgetwc @1239 + fgetws=MSVCRT_fgetws @1240 + floor=MSVCRT_floor @1241 + fmod=MSVCRT_fmod @1242 + fopen=MSVCRT_fopen @1243 + fopen_s=MSVCRT_fopen_s @1244 + fprintf=MSVCRT_fprintf @1245 + fprintf_s=MSVCRT_fprintf_s @1246 + fputc=MSVCRT_fputc @1247 + fputs=MSVCRT_fputs @1248 + fputwc=MSVCRT_fputwc @1249 + fputws=MSVCRT_fputws @1250 + fread=MSVCRT_fread @1251 + fread_s=MSVCRT_fread_s @1252 + free=MSVCRT_free @1253 + freopen=MSVCRT_freopen @1254 + freopen_s=MSVCRT_freopen_s @1255 + frexp=MSVCRT_frexp @1256 + fscanf=MSVCRT_fscanf @1257 + fscanf_s=MSVCRT_fscanf_s @1258 + fseek=MSVCRT_fseek @1259 + fsetpos=MSVCRT_fsetpos @1260 + ftell=MSVCRT_ftell @1261 + fwprintf=MSVCRT_fwprintf @1262 + fwprintf_s=MSVCRT_fwprintf_s @1263 + fwrite=MSVCRT_fwrite @1264 + fwscanf=MSVCRT_fwscanf @1265 + fwscanf_s=MSVCRT_fwscanf_s @1266 + getc=MSVCRT_getc @1267 + getchar=MSVCRT_getchar @1268 + getenv=MSVCRT_getenv @1269 + getenv_s @1270 + gets=MSVCRT_gets @1271 + getwc=MSVCRT_getwc @1273 + getwchar=MSVCRT_getwchar @1274 + is_wctype=ntdll.iswctype @1275 + isalnum=MSVCRT_isalnum @1276 + isalpha=MSVCRT_isalpha @1277 + iscntrl=MSVCRT_iscntrl @1278 + isdigit=MSVCRT_isdigit @1279 + isgraph=MSVCRT_isgraph @1280 + isleadbyte=MSVCRT_isleadbyte @1281 + islower=MSVCRT_islower @1282 + isprint=MSVCRT_isprint @1283 + ispunct=MSVCRT_ispunct @1284 + isspace=MSVCRT_isspace @1285 + isupper=MSVCRT_isupper @1286 + iswalnum=MSVCRT_iswalnum @1287 + iswalpha=ntdll.iswalpha @1288 + iswascii=MSVCRT_iswascii @1289 + iswcntrl=MSVCRT_iswcntrl @1290 + iswctype=ntdll.iswctype @1291 + iswdigit=MSVCRT_iswdigit @1292 + iswgraph=MSVCRT_iswgraph @1293 + iswlower=MSVCRT_iswlower @1294 + iswprint=MSVCRT_iswprint @1295 + iswpunct=MSVCRT_iswpunct @1296 + iswspace=MSVCRT_iswspace @1297 + iswupper=MSVCRT_iswupper @1298 + iswxdigit=MSVCRT_iswxdigit @1299 + isxdigit=MSVCRT_isxdigit @1300 + labs=MSVCRT_labs @1301 + ldexp=MSVCRT_ldexp @1302 + ldiv=MSVCRT_ldiv @1303 + localeconv=MSVCRT_localeconv @1304 + log=MSVCRT_log @1305 + log10=MSVCRT_log10 @1306 + longjmp=MSVCRT_longjmp @1307 + malloc=MSVCRT_malloc @1308 + mblen=MSVCRT_mblen @1309 + mbrlen=MSVCRT_mbrlen @1310 + mbrtowc=MSVCRT_mbrtowc @1311 + mbsrtowcs=MSVCRT_mbsrtowcs @1312 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @1313 + mbstowcs=MSVCRT_mbstowcs @1314 + mbstowcs_s=MSVCRT__mbstowcs_s @1315 + mbtowc=MSVCRT_mbtowc @1316 + memchr=MSVCRT_memchr @1317 + memcmp=MSVCRT_memcmp @1318 + memcpy=MSVCRT_memcpy @1319 + memcpy_s=MSVCRT_memcpy_s @1320 + memmove=MSVCRT_memmove @1321 + memmove_s=MSVCRT_memmove_s @1322 + memset=MSVCRT_memset @1323 + modf=MSVCRT_modf @1324 + perror=MSVCRT_perror @1325 + pow=MSVCRT_pow @1326 + printf=MSVCRT_printf @1327 + printf_s=MSVCRT_printf_s @1328 + putc=MSVCRT_putc @1329 + putchar=MSVCRT_putchar @1330 + puts=MSVCRT_puts @1331 + putwc=MSVCRT_fputwc @1332 + putwchar=MSVCRT__fputwchar @1333 + qsort=MSVCRT_qsort @1334 + qsort_s=MSVCRT_qsort_s @1335 + raise=MSVCRT_raise @1336 + rand=MSVCRT_rand @1337 + rand_s=MSVCRT_rand_s @1338 + realloc=MSVCRT_realloc @1339 + remove=MSVCRT_remove @1340 + rename=MSVCRT_rename @1341 + rewind=MSVCRT_rewind @1342 + scanf=MSVCRT_scanf @1343 + scanf_s=MSVCRT_scanf_s @1344 + setbuf=MSVCRT_setbuf @1345 + setlocale=MSVCRT_setlocale @1346 + setvbuf=MSVCRT_setvbuf @1347 + signal=MSVCRT_signal @1348 + sin=MSVCRT_sin @1349 + sinh=MSVCRT_sinh @1350 + sprintf=MSVCRT_sprintf @1351 + sprintf_s=MSVCRT_sprintf_s @1352 + sqrt=MSVCRT_sqrt @1353 + srand=MSVCRT_srand @1354 + sscanf=MSVCRT_sscanf @1355 + sscanf_s=MSVCRT_sscanf_s @1356 + strcat=ntdll.strcat @1357 + strcat_s=MSVCRT_strcat_s @1358 + strchr=MSVCRT_strchr @1359 + strcmp=MSVCRT_strcmp @1360 + strcoll=MSVCRT_strcoll @1361 + strcpy=MSVCRT_strcpy @1362 + strcpy_s=MSVCRT_strcpy_s @1363 + strcspn=ntdll.strcspn @1364 + strerror=MSVCRT_strerror @1365 + strerror_s=MSVCRT_strerror_s @1366 + strftime=MSVCRT_strftime @1367 + strlen=MSVCRT_strlen @1368 + strncat=MSVCRT_strncat @1369 + strncat_s=MSVCRT_strncat_s @1370 + strncmp=MSVCRT_strncmp @1371 + strncpy=MSVCRT_strncpy @1372 + strncpy_s=MSVCRT_strncpy_s @1373 + strnlen=MSVCRT_strnlen @1374 + strpbrk=ntdll.strpbrk @1375 + strrchr=MSVCRT_strrchr @1376 + strspn=ntdll.strspn @1377 + strstr=MSVCRT_strstr @1378 + strtod=MSVCRT_strtod @1379 + strtok=MSVCRT_strtok @1380 + strtok_s=MSVCRT_strtok_s @1381 + strtol=MSVCRT_strtol @1382 + strtoul=MSVCRT_strtoul @1383 + strxfrm=MSVCRT_strxfrm @1384 + swprintf_s=MSVCRT_swprintf_s @1385 + swscanf=MSVCRT_swscanf @1386 + swscanf_s=MSVCRT_swscanf_s @1387 + system=MSVCRT_system @1388 + tan=MSVCRT_tan @1389 + tanh=MSVCRT_tanh @1390 + tmpfile=MSVCRT_tmpfile @1391 + tmpfile_s=MSVCRT_tmpfile_s @1392 + tmpnam=MSVCRT_tmpnam @1393 + tmpnam_s=MSVCRT_tmpnam_s @1394 + tolower=MSVCRT_tolower @1395 + toupper=MSVCRT_toupper @1396 + towlower=MSVCRT_towlower @1397 + towupper=MSVCRT_towupper @1398 + ungetc=MSVCRT_ungetc @1399 + ungetwc=MSVCRT_ungetwc @1400 + vfprintf=MSVCRT_vfprintf @1401 + vfprintf_s=MSVCRT_vfprintf_s @1402 + vfwprintf=MSVCRT_vfwprintf @1403 + vfwprintf_s=MSVCRT_vfwprintf_s @1404 + vprintf=MSVCRT_vprintf @1405 + vprintf_s=MSVCRT_vprintf_s @1406 + vsprintf=MSVCRT_vsprintf @1407 + vsprintf_s=MSVCRT_vsprintf_s @1408 + vswprintf_s=MSVCRT_vswprintf_s @1409 + vwprintf=MSVCRT_vwprintf @1410 + vwprintf_s=MSVCRT_vwprintf_s @1411 + wcrtomb=MSVCRT_wcrtomb @1412 + wcscat=ntdll.wcscat @1414 + wcscat_s=MSVCRT_wcscat_s @1415 + wcschr=MSVCRT_wcschr @1416 + wcscmp=ntdll.wcscmp @1417 + wcscoll=MSVCRT_wcscoll @1418 + wcscpy=ntdll.wcscpy @1419 + wcscpy_s=MSVCRT_wcscpy_s @1420 + wcscspn=ntdll.wcscspn @1421 + wcsftime=MSVCRT_wcsftime @1422 + wcslen=MSVCRT_wcslen @1423 + wcsncat=ntdll.wcsncat @1424 + wcsncat_s=MSVCRT_wcsncat_s @1425 + wcsncmp=MSVCRT_wcsncmp @1426 + wcsncpy=MSVCRT_wcsncpy @1427 + wcsncpy_s=MSVCRT_wcsncpy_s @1428 + wcsnlen=MSVCRT_wcsnlen @1429 + wcspbrk=MSVCRT_wcspbrk @1430 + wcsrchr=ntdll.wcsrchr @1431 + wcsrtombs=MSVCRT_wcsrtombs @1432 + wcsrtombs_s=MSVCRT_wcsrtombs_s @1433 + wcsspn=ntdll.wcsspn @1434 + wcsstr=MSVCRT_wcsstr @1435 + wcstod=MSVCRT_wcstod @1436 + wcstok=MSVCRT_wcstok @1437 + wcstok_s=MSVCRT_wcstok_s @1438 + wcstol=ntdll.wcstol @1439 + wcstombs=MSVCRT_wcstombs @1440 + wcstombs_s=MSVCRT_wcstombs_s @1441 + wcstoul=MSVCRT_wcstoul @1442 + wcsxfrm=MSVCRT_wcsxfrm @1443 + wctob=MSVCRT_wctob @1444 + wctomb=MSVCRT_wctomb @1445 + wctomb_s=MSVCRT_wctomb_s @1446 + wprintf=MSVCRT_wprintf @1447 + wprintf_s=MSVCRT_wprintf_s @1448 + wscanf=MSVCRT_wscanf @1449 + wscanf_s=MSVCRT_wscanf_s @1450 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcrt.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcrt.def new file mode 100644 index 0000000..3adf852 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcrt.def @@ -0,0 +1,1154 @@ +; File generated automatically from ./dlls/msvcrt/msvcrt.spec; do not edit! + +LIBRARY msvcrt.dll + +EXPORTS + $I10_OUTPUT=MSVCRT_I10_OUTPUT @1 + ??0__non_rtti_object@@QAE@ABV0@@Z=__thiscall_MSVCRT___non_rtti_object_copy_ctor @2 + ??0__non_rtti_object@@QAE@PBD@Z=__thiscall_MSVCRT___non_rtti_object_ctor @3 + ??0bad_cast@@AAE@PBQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @4 + ??0bad_cast@@QAE@ABQBD@Z=__thiscall_MSVCRT_bad_cast_ctor @5 + ??0bad_cast@@QAE@ABV0@@Z=__thiscall_MSVCRT_bad_cast_copy_ctor @6 + ??0bad_cast@@QAE@PBD@Z=__thiscall_MSVCRT_bad_cast_ctor_charptr @7 + ??0bad_typeid@@QAE@ABV0@@Z=__thiscall_MSVCRT_bad_typeid_copy_ctor @8 + ??0bad_typeid@@QAE@PBD@Z=__thiscall_MSVCRT_bad_typeid_ctor @9 + ??0exception@@QAE@ABQBD@Z=__thiscall_MSVCRT_exception_ctor @10 + ??0exception@@QAE@ABQBDH@Z=__thiscall_MSVCRT_exception_ctor_noalloc @11 + ??0exception@@QAE@ABV0@@Z=__thiscall_MSVCRT_exception_copy_ctor @12 + ??0exception@@QAE@XZ=__thiscall_MSVCRT_exception_default_ctor @13 + ??1__non_rtti_object@@UAE@XZ=__thiscall_MSVCRT___non_rtti_object_dtor @14 + ??1bad_cast@@UAE@XZ=__thiscall_MSVCRT_bad_cast_dtor @15 + ??1bad_typeid@@UAE@XZ=__thiscall_MSVCRT_bad_typeid_dtor @16 + ??1exception@@UAE@XZ=__thiscall_MSVCRT_exception_dtor @17 + ??1type_info@@UAE@XZ=__thiscall_MSVCRT_type_info_dtor @18 + ??2@YAPAXI@Z=MSVCRT_operator_new @19 + ??2@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @20 + ??3@YAXPAX@Z=MSVCRT_operator_delete @21 + ??4__non_rtti_object@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT___non_rtti_object_opequals @22 + ??4bad_cast@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_bad_cast_opequals @23 + ??4bad_typeid@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_bad_typeid_opequals @24 + ??4exception@@QAEAAV0@ABV0@@Z=__thiscall_MSVCRT_exception_opequals @25 + ??8type_info@@QBEHABV0@@Z=__thiscall_MSVCRT_type_info_opequals_equals @26 + ??9type_info@@QBEHABV0@@Z=__thiscall_MSVCRT_type_info_opnot_equals @27 + ??_7__non_rtti_object@@6B@=MSVCRT___non_rtti_object_vtable @28 DATA + ??_7bad_cast@@6B@=MSVCRT_bad_cast_vtable @29 DATA + ??_7bad_typeid@@6B@=MSVCRT_bad_typeid_vtable @30 DATA + ??_7exception@@6B@=MSVCRT_exception_vtable @31 DATA + ??_E__non_rtti_object@@UAEPAXI@Z=__thiscall_MSVCRT___non_rtti_object_vector_dtor @32 + ??_Ebad_cast@@UAEPAXI@Z=__thiscall_MSVCRT_bad_cast_vector_dtor @33 + ??_Ebad_typeid@@UAEPAXI@Z=__thiscall_MSVCRT_bad_typeid_vector_dtor @34 + ??_Eexception@@UAEPAXI@Z=__thiscall_MSVCRT_exception_vector_dtor @35 + ??_Fbad_cast@@QAEXXZ=__thiscall_MSVCRT_bad_cast_default_ctor @36 + ??_Fbad_typeid@@QAEXXZ=__thiscall_MSVCRT_bad_typeid_default_ctor @37 + ??_G__non_rtti_object@@UAEPAXI@Z=__thiscall_MSVCRT___non_rtti_object_scalar_dtor @38 + ??_Gbad_cast@@UAEPAXI@Z=__thiscall_MSVCRT_bad_cast_scalar_dtor @39 + ??_Gbad_typeid@@UAEPAXI@Z=__thiscall_MSVCRT_bad_typeid_scalar_dtor @40 + ??_Gexception@@UAEPAXI@Z=__thiscall_MSVCRT_exception_scalar_dtor @41 + ??_U@YAPAXI@Z=MSVCRT_operator_new @42 + ??_U@YAPAXIHPBDH@Z=MSVCRT_operator_new_dbg @43 + ??_V@YAXPAX@Z=MSVCRT_operator_delete @44 + ?_query_new_handler@@YAP6AHI@ZXZ=MSVCRT__query_new_handler @45 + ?_query_new_mode@@YAHXZ=MSVCRT__query_new_mode @46 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=MSVCRT__set_new_handler @47 + ?_set_new_mode@@YAHH@Z=MSVCRT__set_new_mode @48 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=MSVCRT__set_se_translator @49 + ?before@type_info@@QBEHABV1@@Z=__thiscall_MSVCRT_type_info_before @50 + ?name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_name @51 + ?raw_name@type_info@@QBEPBDXZ=__thiscall_MSVCRT_type_info_raw_name @52 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_new_handler @53 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_terminate @54 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=MSVCRT_set_unexpected @55 + ?terminate@@YAXXZ=MSVCRT_terminate @56 + ?unexpected@@YAXXZ=MSVCRT_unexpected @57 + ?what@exception@@UBEPBDXZ=__thiscall_MSVCRT_what_exception @58 + _CIacos @59 + _CIasin @60 + _CIatan @61 + _CIatan2 @62 + _CIcos @63 + _CIcosh @64 + _CIexp @65 + _CIfmod @66 + _CIlog @67 + _CIlog10 @68 + _CIpow @69 + _CIsin @70 + _CIsinh @71 + _CIsqrt @72 + _CItan @73 + _CItanh @74 + _CxxThrowException@8 @75 + _EH_prolog @76 + _Getdays @77 + _Getmonths @78 + _Gettnames @79 + _HUGE=MSVCRT__HUGE @80 DATA + _Strftime @81 + _XcptFilter @82 + __CppXcptFilter @83 + __CxxDetectRethrow @84 + __CxxExceptionFilter @85 + __CxxFrameHandler @86 + __CxxFrameHandler2=__CxxFrameHandler @87 + __CxxFrameHandler3=__CxxFrameHandler @88 + __CxxLongjmpUnwind@4 @89 + __CxxQueryExceptionSize @90 + __CxxRegisterExceptionObject @91 + __CxxUnregisterExceptionObject @92 + __DestructExceptionObject @93 + __RTCastToVoid=MSVCRT___RTCastToVoid @94 + __RTDynamicCast=MSVCRT___RTDynamicCast @95 + __RTtypeid=MSVCRT___RTtypeid @96 + __STRINGTOLD @97 + ___lc_codepage_func @98 + ___lc_collate_cp_func @99 + ___lc_handle_func @100 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @101 + ___setlc_active_func=MSVCRT____setlc_active_func @102 + ___unguarded_readlc_active_add_func=MSVCRT____unguarded_readlc_active_add_func @103 + __argc=MSVCRT___argc @104 DATA + __argv=MSVCRT___argv @105 DATA + __badioinfo=MSVCRT___badioinfo @106 DATA + __crtCompareStringA @107 + __crtCompareStringW @108 + __crtGetLocaleInfoW @109 + __crtGetStringTypeW @110 + __crtLCMapStringA @111 + __crtLCMapStringW @112 + __daylight=MSVCRT___p__daylight @113 + __dllonexit @114 + __doserrno=MSVCRT___doserrno @115 + __dstbias=MSVCRT___p__dstbias @116 + __fpecode @117 + __getmainargs @119 + __initenv=MSVCRT___initenv @120 DATA + __iob_func=MSVCRT___iob_func @121 + __isascii=MSVCRT___isascii @122 + __iscsym=MSVCRT___iscsym @123 + __iscsymf=MSVCRT___iscsymf @124 + __lc_codepage=MSVCRT___lc_codepage @125 DATA + __lc_collate_cp=MSVCRT___lc_collate_cp @127 DATA + __lc_handle=MSVCRT___lc_handle @128 DATA + __lconv_init @129 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @130 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @131 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @132 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @133 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @134 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @135 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @136 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @137 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @138 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @139 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @140 + __libm_sse2_log=MSVCRT___libm_sse2_log @141 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @142 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @143 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @144 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @145 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @146 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @147 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @148 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @149 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @150 + __mb_cur_max=MSVCRT___mb_cur_max @151 DATA + __p___argc=MSVCRT___p___argc @152 + __p___argv=MSVCRT___p___argv @153 + __p___initenv @154 + __p___mb_cur_max @155 + __p___wargv=MSVCRT___p___wargv @156 + __p___winitenv @157 + __p__acmdln @158 + __p__amblksiz @159 + __p__commode @160 + __p__daylight=MSVCRT___p__daylight @161 + __p__dstbias=MSVCRT___p__dstbias @162 + __p__environ=MSVCRT___p__environ @163 + __p__fmode @165 + __p__iob=MSVCRT___iob_func @166 + __p__mbctype @168 + __p__osver @169 + __p__pctype=MSVCRT___p__pctype @170 + __p__pgmptr=MSVCRT___p__pgmptr @171 + __p__timezone=MSVCRT___p__timezone @173 + __p__tzname @174 + __p__wcmdln @175 + __p__wenviron=MSVCRT___p__wenviron @176 + __p__winmajor @177 + __p__winminor @178 + __p__winver @179 + __p__wpgmptr=MSVCRT___p__wpgmptr @180 + __pctype_func=MSVCRT___pctype_func @181 + __pioinfo=MSVCRT___pioinfo @182 DATA + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @183 + __set_app_type=MSVCRT___set_app_type @184 + __setlc_active=MSVCRT___setlc_active @185 DATA + __setusermatherr=MSVCRT___setusermatherr @186 + __threadhandle=kernel32.GetCurrentThread @187 + __threadid=kernel32.GetCurrentThreadId @188 + __toascii=MSVCRT___toascii @189 + __uncaught_exception=MSVCRT___uncaught_exception @190 + __unDName @191 + __unDNameEx @192 + __unguarded_readlc_active=MSVCRT___unguarded_readlc_active @193 DATA + __wargv=MSVCRT___wargv @194 DATA + __wcserror=MSVCRT___wcserror @195 + __wcserror_s=MSVCRT___wcserror_s @196 + __wgetmainargs @197 + __winitenv=MSVCRT___winitenv @198 DATA + _abnormal_termination @199 + _abs64 @200 + _access=MSVCRT__access @201 + _access_s=MSVCRT__access_s @202 + _acmdln=MSVCRT__acmdln @203 DATA + _adj_fdiv_m16i@4 @204 + _adj_fdiv_m32@4 @205 + _adj_fdiv_m32i@4 @206 + _adj_fdiv_m64@8 @207 + _adj_fdiv_r @208 + _adj_fdivr_m16i@4 @209 + _adj_fdivr_m32@4 @210 + _adj_fdivr_m32i@4 @211 + _adj_fdivr_m64@8 @212 + _adj_fpatan @213 + _adj_fprem @214 + _adj_fprem1 @215 + _adj_fptan @216 + _adjust_fdiv=MSVCRT__adjust_fdiv @217 DATA + _aexit_rtn @218 DATA + _aligned_free @219 + _aligned_malloc @220 + _aligned_offset_malloc @221 + _aligned_offset_realloc @222 + _aligned_realloc @223 + _amsg_exit @224 + _assert=MSVCRT__assert @225 + _atodbl=MSVCRT__atodbl @226 + _atodbl_l=MSVCRT__atodbl_l @227 + _atof_l=MSVCRT__atof_l @228 + _atoflt_l=MSVCRT__atoflt_l @229 + _atoi64=ntdll._atoi64 @230 + _atoi_l=MSVCRT__atoi_l @231 + _atoldbl=MSVCRT__atoldbl @232 + _beep=MSVCRT__beep @233 + _beginthread @234 + _beginthreadex @235 + _c_exit=MSVCRT__c_exit @236 + _cabs=MSVCRT__cabs @237 + _callnewh @238 + _cexit=MSVCRT__cexit @239 + _cgets @240 + _chdir=MSVCRT__chdir @241 + _chdrive=MSVCRT__chdrive @242 + _chgsign=MSVCRT__chgsign @243 + _chkesp @244 + _chmod=MSVCRT__chmod @245 + _chsize=MSVCRT__chsize @246 + _chsize_s=MSVCRT__chsize_s @247 + _clearfp @248 + _close=MSVCRT__close @249 + _commit=MSVCRT__commit @250 + _commode=MSVCRT__commode @251 DATA + _control87 @252 + _controlfp @253 + _controlfp_s @254 + _copysign=MSVCRT__copysign @255 + _cprintf @256 + _cputs @257 + _cputws @258 + _creat=MSVCRT__creat @259 + _create_locale=MSVCRT__create_locale @260 + _cscanf @261 + _cscanf_l @262 + _cscanf_s @263 + _cscanf_s_l @264 + _ctime32=MSVCRT__ctime32 @265 + _ctime32_s=MSVCRT__ctime32_s @266 + _ctime64=MSVCRT__ctime64 @267 + _ctime64_s=MSVCRT__ctime64_s @268 + _ctype=MSVCRT__ctype @269 DATA + _cwait @270 + _cwprintf @271 + _cwscanf @272 + _cwscanf_l @273 + _cwscanf_s @274 + _cwscanf_s_l @275 + _daylight=MSVCRT___daylight @276 DATA + _difftime32=MSVCRT__difftime32 @277 + _difftime64=MSVCRT__difftime64 @278 + _dstbias=MSVCRT__dstbias @279 DATA + _dup=MSVCRT__dup @280 + _dup2=MSVCRT__dup2 @281 + _ecvt=MSVCRT__ecvt @282 + _ecvt_s=MSVCRT__ecvt_s @283 + _endthread @284 + _endthreadex @285 + _environ=MSVCRT__environ @286 DATA + _eof=MSVCRT__eof @287 + _errno=MSVCRT__errno @288 + _except_handler2 @289 + _except_handler3 @290 + _except_handler4_common @291 + _execl @292 + _execle @293 + _execlp @294 + _execlpe @295 + _execv @296 + _execve=MSVCRT__execve @297 + _execvp @298 + _execvpe @299 + _exit=MSVCRT__exit @300 + _expand @301 + _fcloseall=MSVCRT__fcloseall @302 + _fcvt=MSVCRT__fcvt @303 + _fcvt_s=MSVCRT__fcvt_s @304 + _fdopen=MSVCRT__fdopen @305 + _fgetchar=MSVCRT__fgetchar @306 + _fgetwchar=MSVCRT__fgetwchar @307 + _filbuf=MSVCRT__filbuf @308 + _filelength=MSVCRT__filelength @309 + _filelengthi64=MSVCRT__filelengthi64 @310 + _fileno=MSVCRT__fileno @311 + _findclose=MSVCRT__findclose @312 + _findfirst=MSVCRT__findfirst @313 + _findfirst32=MSVCRT__findfirst32 @314 + _findfirst64=MSVCRT__findfirst64 @315 + _findfirst64i32=MSVCRT__findfirst64i32 @316 + _findfirsti64=MSVCRT__findfirsti64 @317 + _findnext=MSVCRT__findnext @318 + _findnext32=MSVCRT__findnext32 @319 + _findnext64=MSVCRT__findnext64 @320 + _findnext64i32=MSVCRT__findnext64i32 @321 + _findnexti64=MSVCRT__findnexti64 @322 + _finite=MSVCRT__finite @323 + _flsbuf=MSVCRT__flsbuf @324 + _flushall=MSVCRT__flushall @325 + _fmode=MSVCRT__fmode @326 DATA + _fpclass=MSVCRT__fpclass @327 + _fpieee_flt @328 + _fpreset @329 + _fputchar=MSVCRT__fputchar @330 + _fputwchar=MSVCRT__fputwchar @331 + _free_locale=MSVCRT__free_locale @332 + _fscanf_l=MSVCRT__fscanf_l @333 + _fscanf_s_l=MSVCRT__fscanf_s_l @334 + _fseeki64=MSVCRT__fseeki64 @335 + _fsopen=MSVCRT__fsopen @336 + _fstat=MSVCRT__fstat @337 + _fstat64=MSVCRT__fstat64 @338 + _fstati64=MSVCRT__fstati64 @339 + _ftelli64=MSVCRT__ftelli64 @340 + _ftime=MSVCRT__ftime @341 + _ftime32=MSVCRT__ftime32 @342 + _ftime32_s=MSVCRT__ftime32_s @343 + _ftime64=MSVCRT__ftime64 @344 + _ftime64_s=MSVCRT__ftime64_s @345 + _ftol=MSVCRT__ftol @346 + _ftol2=MSVCRT__ftol @347 + _ftol2_sse=MSVCRT__ftol @348 + _fullpath=MSVCRT__fullpath @349 + _futime @350 + _futime32 @351 + _futime64 @352 + _fwprintf_l=MSVCRT__fwprintf_l @353 + _fwscanf_l=MSVCRT__fwscanf_l @354 + _fwscanf_s_l=MSVCRT__fwscanf_s_l @355 + _gcvt=MSVCRT__gcvt @356 + _gcvt_s=MSVCRT__gcvt_s @357 + _get_current_locale=MSVCRT__get_current_locale @358 + _get_doserrno @359 + _get_errno @360 + _get_fmode=MSVCRT__get_fmode @361 + _get_heap_handle @362 + _get_osfhandle=MSVCRT__get_osfhandle @363 + _get_osplatform=MSVCRT__get_osplatform @364 + _get_output_format=MSVCRT__get_output_format @365 + _get_pgmptr @366 + _get_sbh_threshold @367 + _get_wpgmptr @368 + _get_terminate=MSVCRT__get_terminate @369 + _get_tzname=MSVCRT__get_tzname @370 + _get_unexpected=MSVCRT__get_unexpected @371 + _getch @372 + _getche @373 + _getcwd=MSVCRT__getcwd @374 + _getdcwd=MSVCRT__getdcwd @375 + _getdiskfree=MSVCRT__getdiskfree @376 + _getdllprocaddr @377 + _getdrive=MSVCRT__getdrive @378 + _getdrives=kernel32.GetLogicalDrives @379 + _getmaxstdio=MSVCRT__getmaxstdio @380 + _getmbcp @381 + _getpid @382 + _getw=MSVCRT__getw @384 + _getwch @385 + _getwche @386 + _getws=MSVCRT__getws @387 + _global_unwind2 @388 + _gmtime32=MSVCRT__gmtime32 @389 + _gmtime32_s=MSVCRT__gmtime32_s @390 + _gmtime64=MSVCRT__gmtime64 @391 + _gmtime64_s=MSVCRT__gmtime64_s @392 + _heapadd @393 + _heapchk @394 + _heapmin @395 + _heapset @396 + _heapwalk @398 + _hypot @399 + _hypotf=MSVCRT__hypotf @400 + _i64toa=ntdll._i64toa @401 + _i64toa_s=MSVCRT__i64toa_s @402 + _i64tow=ntdll._i64tow @403 + _i64tow_s=MSVCRT__i64tow_s @404 + _initterm @405 + _initterm_e @406 + _invalid_parameter=MSVCRT__invalid_parameter @410 + _iob=MSVCRT__iob @411 DATA + _isalnum_l=MSVCRT__isalnum_l @412 + _isalpha_l=MSVCRT__isalpha_l @413 + _isatty=MSVCRT__isatty @414 + _iscntrl_l=MSVCRT__iscntrl_l @415 + _isctype=MSVCRT__isctype @416 + _isctype_l=MSVCRT__isctype_l @417 + _isdigit_l=MSVCRT__isdigit_l @418 + _isgraph_l=MSVCRT__isgraph_l @419 + _isleadbyte_l=MSVCRT__isleadbyte_l @420 + _islower_l=MSVCRT__islower_l @421 + _ismbbkana @426 + _ismbblead @429 + _ismbblead_l @430 + _ismbbtrail @433 + _ismbcalnum @434 + _ismbcalpha @435 + _ismbcdigit @436 + _ismbcgraph @437 + _ismbchira @438 + _ismbckata @439 + _ismbcl0 @440 + _ismbclegal @443 + _ismbclower @444 + _ismbcprint @445 + _ismbcpunct @446 + _ismbcspace @447 + _ismbcsymbol @448 + _ismbcupper @449 + _ismbslead @450 + _ismbstrail @451 + _isnan=MSVCRT__isnan @452 + _isprint_l=MSVCRT__isprint_l @453 + _isspace_l=MSVCRT__isspace_l @454 + _isupper_l=MSVCRT__isupper_l @455 + _iswalpha_l=MSVCRT__iswalpha_l @456 + _iswctype_l=MSVCRT__iswctype_l @457 + _iswdigit_l=MSVCRT__iswdigit_l @458 + _iswpunct_l=MSVCRT__iswpunct_l @459 + _iswspace_l=MSVCRT__iswspace_l @460 + _isxdigit_l=MSVCRT__isxdigit_l @461 + _itoa=MSVCRT__itoa @462 + _itoa_s=MSVCRT__itoa_s @463 + _itow=ntdll._itow @464 + _itow_s=MSVCRT__itow_s @465 + _j0=MSVCRT__j0 @466 + _j1=MSVCRT__j1 @467 + _jn=MSVCRT__jn @468 + _kbhit @469 + _lfind @470 + _lfind_s @471 + _loaddll @472 + _local_unwind2 @473 + _local_unwind4 @474 + _localtime32=MSVCRT__localtime32 @475 + _localtime32_s @476 + _localtime64=MSVCRT__localtime64 @477 + _localtime64_s @478 + _lock @479 + _lock_file=MSVCRT__lock_file @480 + _locking=MSVCRT__locking @481 + _logb=MSVCRT__logb @482 + _longjmpex=MSVCRT_longjmp @483 + _lrotl=MSVCRT__lrotl @484 + _lrotr=MSVCRT__lrotr @485 + _lsearch @486 + _lseek=MSVCRT__lseek @487 + _lseeki64=MSVCRT__lseeki64 @488 + _ltoa=ntdll._ltoa @489 + _ltoa_s=MSVCRT__ltoa_s @490 + _ltow=ntdll._ltow @491 + _ltow_s=MSVCRT__ltow_s @492 + _makepath=MSVCRT__makepath @493 + _makepath_s=MSVCRT__makepath_s @494 + _matherr=MSVCRT__matherr @495 + _mbbtombc @496 + _mbbtype @497 + _mbccpy @498 + _mbcjistojms @499 + _mbcjmstojis @500 + _mbclen @501 + _mbctohira @502 + _mbctokata @503 + _mbctolower @504 + _mbctombb @505 + _mbctoupper @506 + _mbctype=MSVCRT_mbctype @507 DATA + _mbsbtype @508 + _mbscat @509 + _mbscat_s @510 + _mbscat_s_l @511 + _mbschr @512 + _mbscmp @513 + _mbscoll @514 + _mbscoll_l @515 + _mbscpy @516 + _mbscpy_s @517 + _mbscpy_s_l @518 + _mbscspn @519 + _mbsdec @520 + _mbsdup=MSVCRT__strdup @521 + _mbsicmp @522 + _mbsicoll @523 + _mbsicoll_l @524 + _mbsinc @525 + _mbslen @526 + _mbslwr @527 + _mbslwr_s @528 + _mbsnbcat @529 + _mbsnbcat_s @530 + _mbsnbcmp @531 + _mbsnbcnt @532 + _mbsnbcoll @533 + _mbsnbcoll_l @534 + _mbsnbcpy @535 + _mbsnbcpy_s @536 + _mbsnbcpy_s_l @537 + _mbsnbicmp @538 + _mbsnbicoll @539 + _mbsnbicoll_l @540 + _mbsnbset @541 + _mbsncat @542 + _mbsnccnt @543 + _mbsncmp @544 + _mbsncpy @546 + _mbsnextc @547 + _mbsnicmp @548 + _mbsninc @550 + _mbsnset @551 + _mbspbrk @552 + _mbsrchr @553 + _mbsrev @554 + _mbsset @555 + _mbsspn @556 + _mbsspnp @557 + _mbsstr @558 + _mbstok @559 + _mbstok_l @560 + _mbstok_s @561 + _mbstok_s_l @562 + _mbstowcs_l=MSVCRT__mbstowcs_l @563 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @564 + _mbstrlen @565 + _mbstrlen_l @566 + _mbsupr @567 + _mbsupr_s @568 + _mbtowc_l=MSVCRT_mbtowc_l @569 + _memccpy=ntdll._memccpy @570 + _memicmp=ntdll._memicmp @571 + _mkdir=MSVCRT__mkdir @572 + _mkgmtime=MSVCRT__mkgmtime @573 + _mkgmtime32=MSVCRT__mkgmtime32 @574 + _mkgmtime64=MSVCRT__mkgmtime64 @575 + _mktemp=MSVCRT__mktemp @576 + _mktemp_s=MSVCRT__mktemp_s @577 + _mktime32=MSVCRT__mktime32 @578 + _mktime64=MSVCRT__mktime64 @579 + _msize @580 + _nextafter=MSVCRT__nextafter @581 + _onexit=MSVCRT__onexit @582 + _open=MSVCRT__open @583 + _open_osfhandle=MSVCRT__open_osfhandle @584 + _osplatform=MSVCRT__osplatform @585 DATA + _osver=MSVCRT__osver @586 DATA + _pclose=MSVCRT__pclose @590 + _pctype=MSVCRT__pctype @591 DATA + _pgmptr=MSVCRT__pgmptr @592 DATA + _pipe=MSVCRT__pipe @593 + _popen=MSVCRT__popen @594 + _purecall @595 + _putch @596 + _putenv @597 + _putenv_s @598 + _putw=MSVCRT__putw @599 + _putwch @600 + _putws=MSVCRT__putws @601 + _read=MSVCRT__read @602 + _resetstkoflw=MSVCRT__resetstkoflw @603 + _rmdir=MSVCRT__rmdir @604 + _rmtmp=MSVCRT__rmtmp @605 + _rotl @606 + _rotl64 @607 + _rotr @608 + _rotr64 @609 + _safe_fdiv @610 + _safe_fdivr @611 + _safe_fprem @612 + _safe_fprem1 @613 + _scalb=MSVCRT__scalb @614 + _scanf_l=MSVCRT__scanf_l @615 + _scanf_s_l=MSVCRT__scanf_s_l @616 + _scprintf=MSVCRT__scprintf @617 + _scwprintf=MSVCRT__scwprintf @618 + _searchenv=MSVCRT__searchenv @619 + _searchenv_s=MSVCRT__searchenv_s @620 + _seh_longjmp_unwind4@4 @621 + _seh_longjmp_unwind@4 @622 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @623 + _set_controlfp @624 + _set_doserrno @625 + _set_errno @626 + _set_error_mode @627 + _set_fmode=MSVCRT__set_fmode @628 + _set_output_format=MSVCRT__set_output_format @629 + _set_sbh_threshold @630 + _seterrormode @631 + _setjmp=MSVCRT__setjmp @632 + _setjmp3=MSVCRT__setjmp3 @633 + _setmaxstdio=MSVCRT__setmaxstdio @634 + _setmbcp @635 + _setmode=MSVCRT__setmode @636 + _sleep=MSVCRT__sleep @638 + _snprintf=MSVCRT__snprintf @639 + _snprintf_l=MSVCRT__snprintf_l @640 + _snprintf_s=MSVCRT__snprintf_s @641 + _snscanf=MSVCRT__snscanf @642 + _snscanf_l=MSVCRT__snscanf_l @643 + _snscanf_s=MSVCRT__snscanf_s @644 + _snscanf_s_l=MSVCRT__snscanf_s_l @645 + _snwprintf=MSVCRT__snwprintf @646 + _snwprintf_l=MSVCRT__snwprintf_l @647 + _snwprintf_s=MSVCRT__snwprintf_s @648 + _snwprintf_s_l=MSVCRT__snwprintf_s_l @649 + _snwscanf=MSVCRT__snwscanf @650 + _snwscanf_l=MSVCRT__snwscanf_l @651 + _snwscanf_s=MSVCRT__snwscanf_s @652 + _snwscanf_s_l=MSVCRT__snwscanf_s_l @653 + _sopen=MSVCRT__sopen @654 + _sopen_s=MSVCRT__sopen_s @655 + _spawnl @656 + _spawnle @657 + _spawnlp @658 + _spawnlpe @659 + _spawnv @660 + _spawnve=MSVCRT__spawnve @661 + _spawnvp @662 + _spawnvpe=MSVCRT__spawnvpe @663 + _splitpath=MSVCRT__splitpath @664 + _splitpath_s=MSVCRT__splitpath_s @665 + _sprintf_l=MSVCRT_sprintf_l @666 + _sprintf_p_l=MSVCRT_sprintf_p_l @667 + _sprintf_s_l=MSVCRT_sprintf_s_l @668 + _sscanf_l=MSVCRT__sscanf_l @669 + _sscanf_s_l=MSVCRT__sscanf_s_l @670 + _stat=MSVCRT_stat @671 + _stat64=MSVCRT_stat64 @672 + _stati64=MSVCRT_stati64 @673 + _statusfp @674 + _strcmpi=MSVCRT__stricmp @675 + _strcoll_l=MSVCRT_strcoll_l @676 + _strdate=MSVCRT__strdate @677 + _strdate_s @678 + _strdup=MSVCRT__strdup @679 + _strerror=MSVCRT__strerror @680 + _stricmp=MSVCRT__stricmp @681 + _stricmp_l=MSVCRT__stricmp_l @682 + _stricoll=MSVCRT__stricoll @683 + _stricoll_l=MSVCRT__stricoll_l @684 + _strlwr=MSVCRT__strlwr @685 + _strlwr_l @686 + _strlwr_s=MSVCRT__strlwr_s @687 + _strlwr_s_l=MSVCRT__strlwr_s_l @688 + _strncoll=MSVCRT__strncoll @689 + _strncoll_l=MSVCRT__strncoll_l @690 + _strnicmp=MSVCRT__strnicmp @691 + _strnicmp_l=MSVCRT__strnicmp_l @692 + _strnicoll=MSVCRT__strnicoll @693 + _strnicoll_l=MSVCRT__strnicoll_l @694 + _strnset=MSVCRT__strnset @695 + _strnset_s=MSVCRT__strnset_s @696 + _strrev=MSVCRT__strrev @697 + _strset @698 + _strtime=MSVCRT__strtime @699 + _strtime_s @700 + _strtod_l=MSVCRT_strtod_l @701 + _strtoi64=MSVCRT_strtoi64 @702 + _strtoi64_l=MSVCRT_strtoi64_l @703 + _strtol_l=MSVCRT__strtol_l @704 + _strtoui64=MSVCRT_strtoui64 @705 + _strtoui64_l=MSVCRT_strtoui64_l @706 + _strtoul_l=MSVCRT_strtoul_l @707 + _strupr=MSVCRT__strupr @708 + _strupr_l=MSVCRT__strupr_l @709 + _strupr_s=MSVCRT__strupr_s @710 + _strupr_s_l=MSVCRT__strupr_s_l @711 + _strxfrm_l=MSVCRT__strxfrm_l @712 + _swab=MSVCRT__swab @713 + _swprintf=MSVCRT_swprintf @714 + _swprintf_p_l=MSVCRT_swprintf_p_l @715 + _swprintf_s_l=MSVCRT__swprintf_s_l @716 + _swscanf_l=MSVCRT__swscanf_l @717 + _swscanf_s_l=MSVCRT__swscanf_s_l @718 + _sys_errlist=MSVCRT__sys_errlist @719 DATA + _sys_nerr=MSVCRT__sys_nerr @720 DATA + _tell=MSVCRT__tell @721 + _telli64 @722 + _tempnam=MSVCRT__tempnam @723 + _time32=MSVCRT__time32 @724 + _time64=MSVCRT__time64 @725 + _timezone=MSVCRT___timezone @726 DATA + _tolower=MSVCRT__tolower @727 + _tolower_l=MSVCRT__tolower_l @728 + _toupper=MSVCRT__toupper @729 + _toupper_l=MSVCRT__toupper_l @730 + _towlower_l=MSVCRT__towlower_l @731 + _towupper_l=MSVCRT__towupper_l @732 + _tzname=MSVCRT__tzname @733 DATA + _tzset=MSVCRT__tzset @734 + _ui64toa=ntdll._ui64toa @735 + _ui64toa_s=MSVCRT__ui64toa_s @736 + _ui64tow=ntdll._ui64tow @737 + _ui64tow_s=MSVCRT__ui64tow_s @738 + _ultoa=ntdll._ultoa @739 + _ultoa_s=MSVCRT__ultoa_s @740 + _ultow=ntdll._ultow @741 + _ultow_s=MSVCRT__ultow_s @742 + _umask=MSVCRT__umask @743 + _ungetch @744 + _ungetwch @745 + _unlink=MSVCRT__unlink @746 + _unloaddll @747 + _unlock @748 + _unlock_file=MSVCRT__unlock_file @749 + _utime32 @750 + _utime64 @751 + _vcprintf @752 + _vcwprintf @753 + _vfprintf_l=MSVCRT__vfprintf_l @754 + _vfwprintf_l=MSVCRT__vfwprintf_l @755 + _utime @756 + _vscprintf=MSVCRT__vscprintf @757 + _vscprintf_p_l=MSVCRT__vscprintf_p_l @758 + _vscwprintf=MSVCRT__vscwprintf @759 + _vscwprintf_l=MSVCRT__vscwprintf_l @760 + _vscwprintf_p_l=MSVCRT__vscwprintf_p_l @761 + _vsnprintf=MSVCRT_vsnprintf @762 + _vsnprintf_c=MSVCRT_vsnprintf @763 + _vsnprintf_c_l=MSVCRT_vsnprintf_l @764 + _vsnprintf_l=MSVCRT_vsnprintf_l @765 + _vsnprintf_s=MSVCRT_vsnprintf_s @766 + _vsnprintf_s_l=MSVCRT_vsnprintf_s_l @767 + _vsnwprintf=MSVCRT_vsnwprintf @768 + _vsnwprintf_l=MSVCRT_vsnwprintf_l @769 + _vsnwprintf_s=MSVCRT_vsnwprintf_s @770 + _vsnwprintf_s_l=MSVCRT_vsnwprintf_s_l @771 + _vsprintf_l=MSVCRT_vsprintf_l @772 + _vsprintf_p=MSVCRT_vsprintf_p @773 + _vsprintf_p_l=MSVCRT_vsprintf_p_l @774 + _vsprintf_s_l=MSVCRT_vsprintf_s_l @775 + _vswprintf=MSVCRT_vswprintf @776 + _vswprintf_c=MSVCRT_vsnwprintf @777 + _vswprintf_c_l=MSVCRT_vsnwprintf_l @778 + _vswprintf_l=MSVCRT_vswprintf_l @779 + _vswprintf_p_l=MSVCRT_vswprintf_p_l @780 + _vswprintf_s_l=MSVCRT_vswprintf_s_l @781 + _waccess=MSVCRT__waccess @782 + _waccess_s=MSVCRT__waccess_s @783 + _wasctime=MSVCRT__wasctime @784 + _wasctime_s=MSVCRT__wasctime_s @785 + _wassert=MSVCRT__wassert @786 + _wchdir=MSVCRT__wchdir @787 + _wchmod=MSVCRT__wchmod @788 + _wcmdln=MSVCRT__wcmdln @789 DATA + _wcreat=MSVCRT__wcreat @790 + _wcscoll_l=MSVCRT__wcscoll_l @791 + _wcsdup=MSVCRT__wcsdup @792 + _wcserror=MSVCRT__wcserror @793 + _wcserror_s=MSVCRT__wcserror_s @794 + _wcsftime_l=MSVCRT__wcsftime_l @795 + _wcsicmp=MSVCRT__wcsicmp @796 + _wcsicmp_l=MSVCRT__wcsicmp_l @797 + _wcsicoll=MSVCRT__wcsicoll @798 + _wcsicoll_l=MSVCRT__wcsicoll_l @799 + _wcslwr=MSVCRT__wcslwr @800 + _wcslwr_l=MSVCRT__wcslwr_l @801 + _wcslwr_s=MSVCRT__wcslwr_s @802 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @803 + _wcsncoll=MSVCRT__wcsncoll @804 + _wcsncoll_l=MSVCRT__wcsncoll_l @805 + _wcsnicmp=MSVCRT__wcsnicmp @806 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @807 + _wcsnicoll=MSVCRT__wcsnicoll @808 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @809 + _wcsnset=MSVCRT__wcsnset @810 + _wcsrev=MSVCRT__wcsrev @811 + _wcsset=MSVCRT__wcsset @812 + _wcsset_s=MSVCRT__wcsset_s @813 + _wcstod_l=MSVCRT__wcstod_l @814 + _wcstoi64=MSVCRT__wcstoi64 @815 + _wcstoi64_l=MSVCRT__wcstoi64_l @816 + _wcstol_l=MSVCRT__wcstol_l @817 + _wcstombs_l=MSVCRT__wcstombs_l @818 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @819 + _wcstoui64=MSVCRT__wcstoui64 @820 + _wcstoui64_l=MSVCRT__wcstoui64_l @821 + _wcstoul_l=MSVCRT__wcstoul_l @822 + _wcsupr=ntdll._wcsupr @823 + _wcsupr_l=MSVCRT__wcsupr_l @824 + _wcsupr_s=MSVCRT__wcsupr_s @825 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @826 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @827 + _wctime=MSVCRT__wctime @828 + _wctime32=MSVCRT__wctime32 @829 + _wctime32_s=MSVCRT__wctime32_s @830 + _wctime64=MSVCRT__wctime64 @831 + _wctime64_s=MSVCRT__wctime64_s @832 + _wctomb_l=MSVCRT__wctomb_l @833 + _wctomb_s_l=MSVCRT__wctomb_s_l @834 + _wenviron=MSVCRT__wenviron @835 DATA + _wexecl @836 + _wexecle @837 + _wexeclp @838 + _wexeclpe @839 + _wexecv @840 + _wexecve @841 + _wexecvp @842 + _wexecvpe @843 + _wfdopen=MSVCRT__wfdopen @844 + _wfindfirst=MSVCRT__wfindfirst @845 + _wfindfirst32=MSVCRT__wfindfirst32 @846 + _wfindfirst64=MSVCRT__wfindfirst64 @847 + _wfindfirsti64=MSVCRT__wfindfirsti64 @848 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @849 + _wfindnext=MSVCRT__wfindnext @850 + _wfindnext64=MSVCRT__wfindnext64 @851 + _wfindnext64i32=MSVCRT__wfindnext64i32 @852 + _wfindnexti64=MSVCRT__wfindnexti64 @853 + _wfopen=MSVCRT__wfopen @854 + _wfopen_s=MSVCRT__wfopen_s @855 + _wfreopen=MSVCRT__wfreopen @856 + _wfreopen_s=MSVCRT__wfreopen_s @857 + _wfsopen=MSVCRT__wfsopen @858 + _wfullpath=MSVCRT__wfullpath @859 + _wgetcwd=MSVCRT__wgetcwd @860 + _wgetdcwd=MSVCRT__wgetdcwd @861 + _wgetenv=MSVCRT__wgetenv @862 + _wgetenv_s @863 + _winmajor=MSVCRT__winmajor @864 DATA + _winminor=MSVCRT__winminor @865 DATA + _winver=MSVCRT__winver @866 DATA + _wmakepath=MSVCRT__wmakepath @867 + _wmakepath_s=MSVCRT__wmakepath_s @868 + _wmkdir=MSVCRT__wmkdir @869 + _wmktemp=MSVCRT__wmktemp @870 + _wmktemp_s=MSVCRT__wmktemp_s @871 + _wopen=MSVCRT__wopen @872 + _wperror=MSVCRT__wperror @873 + _wpgmptr=MSVCRT__wpgmptr @874 DATA + _wpopen=MSVCRT__wpopen @875 + _wputenv @876 + _wputenv_s @877 + _wremove=MSVCRT__wremove @878 + _wrename=MSVCRT__wrename @879 + _write=MSVCRT__write @880 + _wrmdir=MSVCRT__wrmdir @881 + _wscanf_l=MSVCRT__wscanf_l @882 + _wscanf_s_l=MSVCRT__wscanf_s_l @883 + _wsearchenv=MSVCRT__wsearchenv @884 + _wsearchenv_s=MSVCRT__wsearchenv_s @885 + _wsetlocale=MSVCRT__wsetlocale @886 + _wsopen=MSVCRT__wsopen @887 + _wsopen_s=MSVCRT__wsopen_s @888 + _wspawnl @889 + _wspawnle @890 + _wspawnlp @891 + _wspawnlpe @892 + _wspawnv @893 + _wspawnve=MSVCRT__wspawnve @894 + _wspawnvp @895 + _wspawnvpe=MSVCRT__wspawnvpe @896 + _wsplitpath=MSVCRT__wsplitpath @897 + _wsplitpath_s=MSVCRT__wsplitpath_s @898 + _wstat=MSVCRT__wstat @899 + _wstati64=MSVCRT__wstati64 @900 + _wstat64=MSVCRT__wstat64 @901 + _wstrdate=MSVCRT__wstrdate @902 + _wstrdate_s @903 + _wstrtime=MSVCRT__wstrtime @904 + _wstrtime_s @905 + _wsystem @906 + _wtempnam=MSVCRT__wtempnam @907 + _wtmpnam=MSVCRT__wtmpnam @908 + _wtmpnam_s=MSVCRT__wtmpnam_s @909 + _wtof=MSVCRT__wtof @910 + _wtof_l=MSVCRT__wtof_l @911 + _wtoi=MSVCRT__wtoi @912 + _wtoi64=MSVCRT__wtoi64 @913 + _wtoi64_l=MSVCRT__wtoi64_l @914 + _wtoi_l=MSVCRT__wtoi_l @915 + _wtol=MSVCRT__wtol @916 + _wtol_l=MSVCRT__wtol_l @917 + _wunlink=MSVCRT__wunlink @918 + _wutime @919 + _wutime32 @920 + _wutime64 @921 + _y0=MSVCRT__y0 @922 + _y1=MSVCRT__y1 @923 + _yn=MSVCRT__yn @924 + abort=MSVCRT_abort @925 + abs=MSVCRT_abs @926 + acos=MSVCRT_acos @927 + asctime=MSVCRT_asctime @928 + asctime_s=MSVCRT_asctime_s @929 + asin=MSVCRT_asin @930 + atan=MSVCRT_atan @931 + atan2=MSVCRT_atan2 @932 + atexit=MSVCRT_atexit @933 PRIVATE + atof=MSVCRT_atof @934 + atoi=MSVCRT_atoi @935 + atol=ntdll.atol @936 + bsearch=MSVCRT_bsearch @937 + bsearch_s=MSVCRT_bsearch_s @938 + btowc=MSVCRT_btowc @939 + calloc=MSVCRT_calloc @940 + ceil=MSVCRT_ceil @941 + clearerr=MSVCRT_clearerr @942 + clearerr_s=MSVCRT_clearerr_s @943 + clock=MSVCRT_clock @944 + cos=MSVCRT_cos @945 + cosh=MSVCRT_cosh @946 + ctime=MSVCRT_ctime @947 + difftime=MSVCRT_difftime @948 + div=MSVCRT_div @949 + exit=MSVCRT_exit @950 + exp=MSVCRT_exp @951 + fabs=MSVCRT_fabs @952 + fclose=MSVCRT_fclose @953 + feof=MSVCRT_feof @954 + ferror=MSVCRT_ferror @955 + fflush=MSVCRT_fflush @956 + fgetc=MSVCRT_fgetc @957 + fgetpos=MSVCRT_fgetpos @958 + fgets=MSVCRT_fgets @959 + fgetwc=MSVCRT_fgetwc @960 + fgetws=MSVCRT_fgetws @961 + floor=MSVCRT_floor @962 + fmod=MSVCRT_fmod @963 + fopen=MSVCRT_fopen @964 + fopen_s=MSVCRT_fopen_s @965 + fprintf=MSVCRT_fprintf @966 + fprintf_s=MSVCRT_fprintf_s @967 + fputc=MSVCRT_fputc @968 + fputs=MSVCRT_fputs @969 + fputwc=MSVCRT_fputwc @970 + fputws=MSVCRT_fputws @971 + fread=MSVCRT_fread @972 + free=MSVCRT_free @973 + freopen=MSVCRT_freopen @974 + freopen_s=MSVCRT_freopen_s @975 + frexp=MSVCRT_frexp @976 + fscanf=MSVCRT_fscanf @977 + fscanf_s=MSVCRT_fscanf_s @978 + fseek=MSVCRT_fseek @979 + fsetpos=MSVCRT_fsetpos @980 + ftell=MSVCRT_ftell @981 + fwprintf=MSVCRT_fwprintf @982 + fwprintf_s=MSVCRT_fwprintf_s @983 + fwrite=MSVCRT_fwrite @984 + fwscanf=MSVCRT_fwscanf @985 + fwscanf_s=MSVCRT_fwscanf_s @986 + getc=MSVCRT_getc @987 + getchar=MSVCRT_getchar @988 + getenv=MSVCRT_getenv @989 + getenv_s @990 + gets=MSVCRT_gets @991 + getwc=MSVCRT_getwc @992 + getwchar=MSVCRT_getwchar @993 + gmtime=MSVCRT_gmtime @994 + is_wctype=ntdll.iswctype @995 + isalnum=MSVCRT_isalnum @996 + isalpha=MSVCRT_isalpha @997 + iscntrl=MSVCRT_iscntrl @998 + isdigit=MSVCRT_isdigit @999 + isgraph=MSVCRT_isgraph @1000 + isleadbyte=MSVCRT_isleadbyte @1001 + islower=MSVCRT_islower @1002 + isprint=MSVCRT_isprint @1003 + ispunct=MSVCRT_ispunct @1004 + isspace=MSVCRT_isspace @1005 + isupper=MSVCRT_isupper @1006 + iswalnum=MSVCRT_iswalnum @1007 + iswalpha=ntdll.iswalpha @1008 + iswascii=MSVCRT_iswascii @1009 + iswcntrl=MSVCRT_iswcntrl @1010 + iswctype=ntdll.iswctype @1011 + iswdigit=MSVCRT_iswdigit @1012 + iswgraph=MSVCRT_iswgraph @1013 + iswlower=MSVCRT_iswlower @1014 + iswprint=MSVCRT_iswprint @1015 + iswpunct=MSVCRT_iswpunct @1016 + iswspace=MSVCRT_iswspace @1017 + iswupper=MSVCRT_iswupper @1018 + iswxdigit=MSVCRT_iswxdigit @1019 + isxdigit=MSVCRT_isxdigit @1020 + labs=MSVCRT_labs @1021 + ldexp=MSVCRT_ldexp @1022 + ldiv=MSVCRT_ldiv @1023 + localeconv=MSVCRT_localeconv @1024 + localtime=MSVCRT_localtime @1025 + log=MSVCRT_log @1026 + log10=MSVCRT_log10 @1027 + longjmp=MSVCRT_longjmp @1028 + malloc=MSVCRT_malloc @1029 + mblen=MSVCRT_mblen @1030 + mbrlen=MSVCRT_mbrlen @1031 + mbrtowc=MSVCRT_mbrtowc @1032 + mbsrtowcs=MSVCRT_mbsrtowcs @1033 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @1034 + mbstowcs=MSVCRT_mbstowcs @1035 + mbstowcs_s=MSVCRT__mbstowcs_s @1036 + mbtowc=MSVCRT_mbtowc @1037 + memchr=MSVCRT_memchr @1038 + memcmp=MSVCRT_memcmp @1039 + memcpy=MSVCRT_memcpy @1040 + memcpy_s=MSVCRT_memcpy_s @1041 + memmove=MSVCRT_memmove @1042 + memmove_s=MSVCRT_memmove_s @1043 + memset=MSVCRT_memset @1044 + mktime=MSVCRT_mktime @1045 + modf=MSVCRT_modf @1046 + perror=MSVCRT_perror @1047 + pow=MSVCRT_pow @1048 + printf=MSVCRT_printf @1049 + printf_s=MSVCRT_printf_s @1050 + putc=MSVCRT_putc @1051 + putchar=MSVCRT_putchar @1052 + puts=MSVCRT_puts @1053 + putwc=MSVCRT_fputwc @1054 + putwchar=MSVCRT__fputwchar @1055 + qsort=MSVCRT_qsort @1056 + qsort_s=MSVCRT_qsort_s @1057 + raise=MSVCRT_raise @1058 + rand=MSVCRT_rand @1059 + rand_s=MSVCRT_rand_s @1060 + realloc=MSVCRT_realloc @1061 + remove=MSVCRT_remove @1062 + rename=MSVCRT_rename @1063 + rewind=MSVCRT_rewind @1064 + scanf=MSVCRT_scanf @1065 + scanf_s=MSVCRT_scanf_s @1066 + setbuf=MSVCRT_setbuf @1067 + setlocale=MSVCRT_setlocale @1068 + setvbuf=MSVCRT_setvbuf @1069 + signal=MSVCRT_signal @1070 + sin=MSVCRT_sin @1071 + sinh=MSVCRT_sinh @1072 + sprintf=MSVCRT_sprintf @1073 + sprintf_s=MSVCRT_sprintf_s @1074 + sqrt=MSVCRT_sqrt @1075 + srand=MSVCRT_srand @1076 + sscanf=MSVCRT_sscanf @1077 + sscanf_s=MSVCRT_sscanf_s @1078 + strcat=ntdll.strcat @1079 + strcat_s=MSVCRT_strcat_s @1080 + strchr=MSVCRT_strchr @1081 + strcmp=MSVCRT_strcmp @1082 + strcoll=MSVCRT_strcoll @1083 + strcpy=MSVCRT_strcpy @1084 + strcpy_s=MSVCRT_strcpy_s @1085 + strcspn=ntdll.strcspn @1086 + strerror=MSVCRT_strerror @1087 + strerror_s=MSVCRT_strerror_s @1088 + strftime=MSVCRT_strftime @1089 + strlen=MSVCRT_strlen @1090 + strncat=MSVCRT_strncat @1091 + strncat_s=MSVCRT_strncat_s @1092 + strncmp=MSVCRT_strncmp @1093 + strncpy=MSVCRT_strncpy @1094 + strncpy_s=MSVCRT_strncpy_s @1095 + strnlen=MSVCRT_strnlen @1096 + strpbrk=ntdll.strpbrk @1097 + strrchr=MSVCRT_strrchr @1098 + strspn=ntdll.strspn @1099 + strstr=MSVCRT_strstr @1100 + strtod=MSVCRT_strtod @1101 + strtok=MSVCRT_strtok @1102 + strtok_s=MSVCRT_strtok_s @1103 + strtol=MSVCRT_strtol @1104 + strtoul=MSVCRT_strtoul @1105 + strxfrm=MSVCRT_strxfrm @1106 + swprintf=MSVCRT_swprintf @1107 + swprintf_s=MSVCRT_swprintf_s @1108 + swscanf=MSVCRT_swscanf @1109 + swscanf_s=MSVCRT_swscanf_s @1110 + system=MSVCRT_system @1111 + tan=MSVCRT_tan @1112 + tanh=MSVCRT_tanh @1113 + time=MSVCRT_time @1114 + tmpfile=MSVCRT_tmpfile @1115 + tmpfile_s=MSVCRT_tmpfile_s @1116 + tmpnam=MSVCRT_tmpnam @1117 + tmpnam_s=MSVCRT_tmpnam_s @1118 + tolower=MSVCRT_tolower @1119 + toupper=MSVCRT_toupper @1120 + towlower=MSVCRT_towlower @1121 + towupper=MSVCRT_towupper @1122 + ungetc=MSVCRT_ungetc @1123 + ungetwc=MSVCRT_ungetwc @1124 + vfprintf=MSVCRT_vfprintf @1125 + vfprintf_s=MSVCRT_vfprintf_s @1126 + vfwprintf=MSVCRT_vfwprintf @1127 + vfwprintf_s=MSVCRT_vfwprintf_s @1128 + vprintf=MSVCRT_vprintf @1129 + vprintf_s=MSVCRT_vprintf_s @1130 + vsnprintf=MSVCRT_vsnprintf @1131 + vsprintf=MSVCRT_vsprintf @1132 + vsprintf_s=MSVCRT_vsprintf_s @1133 + vswprintf=MSVCRT_vswprintf @1134 + vswprintf_s=MSVCRT_vswprintf_s @1135 + vwprintf=MSVCRT_vwprintf @1136 + vwprintf_s=MSVCRT_vwprintf_s @1137 + wcrtomb=MSVCRT_wcrtomb @1138 + wcscat=ntdll.wcscat @1139 + wcscat_s=MSVCRT_wcscat_s @1140 + wcschr=MSVCRT_wcschr @1141 + wcscmp=ntdll.wcscmp @1142 + wcscoll=MSVCRT_wcscoll @1143 + wcscpy=ntdll.wcscpy @1144 + wcscpy_s=MSVCRT_wcscpy_s @1145 + wcscspn=ntdll.wcscspn @1146 + wcsftime=MSVCRT_wcsftime @1147 + wcslen=MSVCRT_wcslen @1148 + wcsncat=ntdll.wcsncat @1149 + wcsncat_s=MSVCRT_wcsncat_s @1150 + wcsncmp=MSVCRT_wcsncmp @1151 + wcsncpy=MSVCRT_wcsncpy @1152 + wcsncpy_s=MSVCRT_wcsncpy_s @1153 + wcsnlen=MSVCRT_wcsnlen @1154 + wcspbrk=MSVCRT_wcspbrk @1155 + wcsrchr=ntdll.wcsrchr @1156 + wcsrtombs=MSVCRT_wcsrtombs @1157 + wcsrtombs_s=MSVCRT_wcsrtombs_s @1158 + wcsspn=ntdll.wcsspn @1159 + wcsstr=MSVCRT_wcsstr @1160 + wcstod=MSVCRT_wcstod @1161 + wcstok=MSVCRT_wcstok @1162 + wcstok_s=MSVCRT_wcstok_s @1163 + wcstol=ntdll.wcstol @1164 + wcstombs=MSVCRT_wcstombs @1165 + wcstombs_s=MSVCRT_wcstombs_s @1166 + wcstoul=MSVCRT_wcstoul @1167 + wcsxfrm=MSVCRT_wcsxfrm @1168 + wctob=MSVCRT_wctob @1169 + wctomb=MSVCRT_wctomb @1170 + wctomb_s=MSVCRT_wctomb_s @1171 + wprintf=MSVCRT_wprintf @1172 + wprintf_s=MSVCRT_wprintf_s @1173 + wscanf=MSVCRT_wscanf @1174 + wscanf_s=MSVCRT_wscanf_s @1175 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcrtd.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcrtd.def new file mode 100644 index 0000000..f5d5a54 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvcrtd.def @@ -0,0 +1,785 @@ +; File generated automatically from ./dlls/msvcrtd/msvcrtd.spec; do not edit! + +LIBRARY msvcrtd.dll + +EXPORTS + $I10_OUTPUT=msvcrt.$I10_OUTPUT @1 + ??0__non_rtti_object@@QAE@ABV0@@Z=msvcrt.??0__non_rtti_object@@QAE@ABV0@@Z @2 + ??0__non_rtti_object@@QAE@PBD@Z=msvcrt.??0__non_rtti_object@@QAE@PBD@Z @3 + ??0bad_cast@@QAE@ABQBD@Z=msvcrt.??0bad_cast@@QAE@ABQBD@Z @4 + ??0bad_cast@@QAE@ABV0@@Z=msvcrt.??0bad_cast@@QAE@ABV0@@Z @5 + ??0bad_typeid@@QAE@ABV0@@Z=msvcrt.??0bad_typeid@@QAE@ABV0@@Z @6 + ??0bad_typeid@@QAE@PBD@Z=msvcrt.??0bad_typeid@@QAE@PBD@Z @7 + ??0exception@@QAE@ABQBD@Z=msvcrt.??0exception@@QAE@ABQBD@Z @8 + ??0exception@@QAE@ABV0@@Z=msvcrt.??0exception@@QAE@ABV0@@Z @9 + ??0exception@@QAE@XZ=msvcrt.??0exception@@QAE@XZ @10 + ??1__non_rtti_object@@UAE@XZ=msvcrt.??1__non_rtti_object@@UAE@XZ @11 + ??1bad_cast@@UAE@XZ=msvcrt.??1bad_cast@@UAE@XZ @12 + ??1bad_typeid@@UAE@XZ=msvcrt.??1bad_typeid@@UAE@XZ @13 + ??1exception@@UAE@XZ=msvcrt.??1exception@@UAE@XZ @14 + ??1type_info@@UAE@XZ=msvcrt.??1type_info@@UAE@XZ @15 + ??2@YAPAXI@Z=msvcrt.??2@YAPAXI@Z @16 + ??2@YAPAXIHPBDH@Z=MSVCRTD_operator_new_dbg @17 + ??3@YAXPAX@Z=msvcrt.??3@YAXPAX@Z @18 + ??4__non_rtti_object@@QAEAAV0@ABV0@@Z=msvcrt.??4__non_rtti_object@@QAEAAV0@ABV0@@Z @19 + ??4bad_cast@@QAEAAV0@ABV0@@Z=msvcrt.??4bad_cast@@QAEAAV0@ABV0@@Z @20 + ??4bad_typeid@@QAEAAV0@ABV0@@Z=msvcrt.??4bad_typeid@@QAEAAV0@ABV0@@Z @21 + ??4exception@@QAEAAV0@ABV0@@Z=msvcrt.??4exception@@QAEAAV0@ABV0@@Z @22 + ??8type_info@@QBEHABV0@@Z=msvcrt.??8type_info@@QBEHABV0@@Z @23 + ??9type_info@@QBEHABV0@@Z=msvcrt.??9type_info@@QBEHABV0@@Z @24 + ??_7__non_rtti_object@@6B@=msvcrt.??_7__non_rtti_object@@6B@ @25 DATA + ??_7bad_cast@@6B@=msvcrt.??_7bad_cast@@6B@ @26 DATA + ??_7bad_typeid@@6B@=msvcrt.??_7bad_typeid@@6B@ @27 DATA + ??_7exception@@6B@=msvcrt.??_7exception@@6B@ @28 DATA + ??_E__non_rtti_object@@UAEPAXI@Z=msvcrt.??_E__non_rtti_object@@UAEPAXI@Z @29 + ??_Ebad_cast@@UAEPAXI@Z=msvcrt.??_Ebad_cast@@UAEPAXI@Z @30 + ??_Ebad_typeid@@UAEPAXI@Z=msvcrt.??_Ebad_typeid@@UAEPAXI@Z @31 + ??_Eexception@@UAEPAXI@Z=msvcrt.??_Eexception@@UAEPAXI@Z @32 + ??_G__non_rtti_object@@UAEPAXI@Z=msvcrt.??_G__non_rtti_object@@UAEPAXI@Z @33 + ??_Gbad_cast@@UAEPAXI@Z=msvcrt.??_Gbad_cast@@UAEPAXI@Z @34 + ??_Gbad_typeid@@UAEPAXI@Z=msvcrt.??_Gbad_typeid@@UAEPAXI@Z @35 + ??_Gexception@@UAEPAXI@Z=msvcrt.??_Gexception@@UAEPAXI@Z @36 + ?_query_new_handler@@YAP6AHI@ZXZ=msvcrt.?_query_new_handler@@YAP6AHI@ZXZ @37 + ?_query_new_mode@@YAHXZ=msvcrt.?_query_new_mode@@YAHXZ @38 + ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z=msvcrt.?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z @39 + ?_set_new_mode@@YAHH@Z=msvcrt.?_set_new_mode@@YAHH@Z @40 + ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z=msvcrt.?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z @41 + ?before@type_info@@QBEHABV1@@Z=msvcrt.?before@type_info@@QBEHABV1@@Z @42 + ?name@type_info@@QBEPBDXZ=msvcrt.?name@type_info@@QBEPBDXZ @43 + ?raw_name@type_info@@QBEPBDXZ=msvcrt.?raw_name@type_info@@QBEPBDXZ @44 + ?set_new_handler@@YAP6AXXZP6AXXZ@Z=msvcrt.?set_new_handler@@YAP6AXXZP6AXXZ@Z @45 + ?set_terminate@@YAP6AXXZP6AXXZ@Z=msvcrt.?set_terminate@@YAP6AXXZP6AXXZ@Z @46 + ?set_unexpected@@YAP6AXXZP6AXXZ@Z=msvcrt.?set_unexpected@@YAP6AXXZP6AXXZ@Z @47 + ?terminate@@YAXXZ=msvcrt.?terminate@@YAXXZ @48 + ?unexpected@@YAXXZ=msvcrt.?unexpected@@YAXXZ @49 + ?what@exception@@UBEPBDXZ=msvcrt.?what@exception@@UBEPBDXZ @50 + _CIacos=msvcrt._CIacos @51 + _CIasin=msvcrt._CIasin @52 + _CIatan=msvcrt._CIatan @53 + _CIatan2=msvcrt._CIatan2 @54 + _CIcos=msvcrt._CIcos @55 + _CIcosh=msvcrt._CIcosh @56 + _CIexp=msvcrt._CIexp @57 + _CIfmod=msvcrt._CIfmod @58 + _CIlog=msvcrt._CIlog @59 + _CIlog10=msvcrt._CIlog10 @60 + _CIpow=msvcrt._CIpow @61 + _CIsin=msvcrt._CIsin @62 + _CIsinh=msvcrt._CIsinh @63 + _CIsqrt=msvcrt._CIsqrt @64 + _CItan=msvcrt._CItan @65 + _CItanh=msvcrt._CItanh @66 + _CrtCheckMemory @67 + _CrtDbgReport @69 + _CrtDumpMemoryLeaks @71 + _CrtSetBreakAlloc @80 + _CrtSetDbgFlag @82 + _CrtSetDumpClient @83 + _CrtSetReportHook @85 + _CrtSetReportMode @86 + _CxxThrowException@8=msvcrt._CxxThrowException @87 + _EH_prolog=msvcrt._EH_prolog @88 + _Getdays=msvcrt._Getdays @89 + _Getmonths=msvcrt._Getmonths @90 + _Gettnames=msvcrt._Gettnames @91 + _HUGE=msvcrt._HUGE @92 DATA + _Strftime=msvcrt._Strftime @93 + _XcptFilter=msvcrt._XcptFilter @94 + __CxxFrameHandler=msvcrt.__CxxFrameHandler @95 + __CxxLongjmpUnwind@4=msvcrt.__CxxLongjmpUnwind @96 + __RTCastToVoid=msvcrt.__RTCastToVoid @97 + __RTDynamicCast=msvcrt.__RTDynamicCast @98 + __RTtypeid=msvcrt.__RTtypeid @99 + __STRINGTOLD=msvcrt.__STRINGTOLD @100 + ___mb_cur_max_func=msvcrt.___mb_cur_max_func @101 + __argc=msvcrt.__argc @102 DATA + __argv=msvcrt.__argv @103 DATA + __badioinfo=msvcrt.__badioinfo @104 DATA + __crtCompareStringA=msvcrt.__crtCompareStringA @105 + __crtGetLocaleInfoW=msvcrt.__crtGetLocaleInfoW @106 + __crtLCMapStringA=msvcrt.__crtLCMapStringA @107 + __dllonexit=msvcrt.__dllonexit @108 + __doserrno=msvcrt.__doserrno @109 + __fpecode=msvcrt.__fpecode @110 + __getmainargs=msvcrt.__getmainargs @111 + __initenv=msvcrt.__initenv @112 DATA + __isascii=msvcrt.__isascii @113 + __iscsym=msvcrt.__iscsym @114 + __iscsymf=msvcrt.__iscsymf @115 + __lc_codepage=msvcrt.__lc_codepage @116 DATA + __lc_collate_cp=msvcrt.__lc_collate_cp @117 DATA + __lc_handle=msvcrt.__lc_handle @118 DATA + __lconv_init=msvcrt.__lconv_init @119 + __mb_cur_max=msvcrt.__mb_cur_max @120 DATA + __p___argc=msvcrt.__p___argc @121 + __p___argv=msvcrt.__p___argv @122 + __p___initenv=msvcrt.__p___initenv @123 + __p___mb_cur_max=msvcrt.__p___mb_cur_max @124 + __p___wargv=msvcrt.__p___wargv @125 + __p___winitenv=msvcrt.__p___winitenv @126 + __p__acmdln=msvcrt.__p__acmdln @127 + __p__amblksiz=msvcrt.__p__amblksiz @128 + __p__commode=msvcrt.__p__commode @129 + __p__crtAssertBusy @130 + __p__crtBreakAlloc @131 + __p__crtDbgFlag @132 + __p__daylight=msvcrt.__p__daylight @133 + __p__dstbias=msvcrt.__p__dstbias @134 + __p__environ=msvcrt.__p__environ @135 + __p__fileinfo=msvcrt.__p__fileinfo @136 + __p__fmode=msvcrt.__p__fmode @137 + __p__iob=msvcrt.__p__iob @138 + __p__mbcasemap=msvcrt.__p__mbcasemap @139 + __p__mbctype=msvcrt.__p__mbctype @140 + __p__osver=msvcrt.__p__osver @141 + __p__pctype=msvcrt.__p__pctype @142 + __p__pgmptr=msvcrt.__p__pgmptr @143 + __p__pwctype=msvcrt.__p__pwctype @144 + __p__timezone=msvcrt.__p__timezone @145 + __p__tzname=msvcrt.__p__tzname @146 + __p__wcmdln=msvcrt.__p__wcmdln @147 + __p__wenviron=msvcrt.__p__wenviron @148 + __p__winmajor=msvcrt.__p__winmajor @149 + __p__winminor=msvcrt.__p__winminor @150 + __p__winver=msvcrt.__p__winver @151 + __p__wpgmptr=msvcrt.__p__wpgmptr @152 + __pctype_func=msvcrt.__pctype_func @153 + __pioinfo=msvcrt.__pioinfo @154 DATA + __pxcptinfoptrs=msvcrt.__pxcptinfoptrs @155 + __set_app_type=msvcrt.__set_app_type @156 + __setlc_active=msvcrt.__setlc_active @157 DATA + __setusermatherr=msvcrt.__setusermatherr @158 + __threadhandle=msvcrt.__threadhandle @159 + __threadid=msvcrt.__threadid @160 + __toascii=msvcrt.__toascii @161 + __unDName=msvcrt.__unDName @162 + __unDNameEx=msvcrt.__unDNameEx @163 + __unguarded_readlc_active=msvcrt.__unguarded_readlc_active @164 DATA + __wargv=msvcrt.__wargv @165 DATA + __wgetmainargs=msvcrt.__wgetmainargs @166 + __winitenv=msvcrt.__winitenv @167 DATA + _abnormal_termination=msvcrt._abnormal_termination @168 + _access=msvcrt._access @169 + _acmdln=msvcrt._acmdln @170 DATA + _adj_fdiv_m16i@4=msvcrt._adj_fdiv_m16i @171 + _adj_fdiv_m32@4=msvcrt._adj_fdiv_m32 @172 + _adj_fdiv_m32i@4=msvcrt._adj_fdiv_m32i @173 + _adj_fdiv_m64@8=msvcrt._adj_fdiv_m64 @174 + _adj_fdiv_r=msvcrt._adj_fdiv_r @175 + _adj_fdivr_m16i@4=msvcrt._adj_fdivr_m16i @176 + _adj_fdivr_m32@4=msvcrt._adj_fdivr_m32 @177 + _adj_fdivr_m32i@4=msvcrt._adj_fdivr_m32i @178 + _adj_fdivr_m64@8=msvcrt._adj_fdivr_m64 @179 + _adj_fpatan=msvcrt._adj_fpatan @180 + _adj_fprem=msvcrt._adj_fprem @181 + _adj_fprem1=msvcrt._adj_fprem1 @182 + _adj_fptan=msvcrt._adj_fptan @183 + _adjust_fdiv=msvcrt._adjust_fdiv @184 DATA + _aexit_rtn=msvcrt._aexit_rtn @185 DATA + _amsg_exit=msvcrt._amsg_exit @186 + _assert=msvcrt._assert @187 + _atodbl=msvcrt._atodbl @188 + _atoi64=msvcrt._atoi64 @189 + _atoldbl=msvcrt._atoldbl @190 + _beep=msvcrt._beep @191 + _beginthread=msvcrt._beginthread @192 + _beginthreadex=msvcrt._beginthreadex @193 + _c_exit=msvcrt._c_exit @194 + _cabs=msvcrt._cabs @195 + _callnewh=msvcrt._callnewh @196 + _calloc_dbg=msvcrt.calloc @197 + _cexit=msvcrt._cexit @198 + _cgets=msvcrt._cgets @199 + _chdir=msvcrt._chdir @200 + _chdrive=msvcrt._chdrive @201 + _chgsign=msvcrt._chgsign @202 + _chkesp=msvcrt._chkesp @203 + _chmod=msvcrt._chmod @204 + _chsize=msvcrt._chsize @205 + _clearfp=msvcrt._clearfp @206 + _close=msvcrt._close @207 + _commit=msvcrt._commit @208 + _commode=msvcrt._commode @209 DATA + _control87=msvcrt._control87 @210 + _controlfp=msvcrt._controlfp @211 + _copysign=msvcrt._copysign @212 + _cprintf=msvcrt._cprintf @213 + _cputs=msvcrt._cputs @214 + _creat=msvcrt._creat @215 + _crtAssertBusy @216 DATA + _crtBreakAlloc @217 DATA + _crtDbgFlag @218 DATA + _cscanf=msvcrt._cscanf @219 + _ctype=msvcrt._ctype @220 DATA + _cwait=msvcrt._cwait @221 + _daylight=msvcrt._daylight @222 DATA + _dstbias=msvcrt._dstbias @223 DATA + _dup=msvcrt._dup @224 + _dup2=msvcrt._dup2 @225 + _ecvt=msvcrt._ecvt @226 + _endthread=msvcrt._endthread @227 + _endthreadex=msvcrt._endthreadex @228 + _environ=msvcrt._environ @229 DATA + _eof=msvcrt._eof @230 + _errno=msvcrt._errno @231 + _except_handler2=msvcrt._except_handler2 @232 + _except_handler3=msvcrt._except_handler3 @233 + _execl=msvcrt._execl @234 + _execle=msvcrt._execle @235 + _execlp=msvcrt._execlp @236 + _execlpe=msvcrt._execlpe @237 + _execv=msvcrt._execv @238 + _execve=msvcrt._execve @239 + _execvp=msvcrt._execvp @240 + _execvpe=msvcrt._execvpe @241 + _exit=msvcrt._exit @242 + _expand=msvcrt._expand @243 + _expand_dbg=msvcrt._expand @244 + _fcloseall=msvcrt._fcloseall @245 + _fcvt=msvcrt._fcvt @246 + _fdopen=msvcrt._fdopen @247 + _fgetchar=msvcrt._fgetchar @248 + _fgetwchar=msvcrt._fgetwchar @249 + _filbuf=msvcrt._filbuf @250 + _filelength=msvcrt._filelength @251 + _filelengthi64=msvcrt._filelengthi64 @252 + _fileno=msvcrt._fileno @253 + _findclose=msvcrt._findclose @254 + _findfirst=msvcrt._findfirst @255 + _findfirsti64=msvcrt._findfirsti64 @256 + _findnext=msvcrt._findnext @257 + _findnexti64=msvcrt._findnexti64 @258 + _finite=msvcrt._finite @259 + _flsbuf=msvcrt._flsbuf @260 + _flushall=msvcrt._flushall @261 + _fmode=msvcrt._fmode @262 DATA + _fpclass=msvcrt._fpclass @263 + _fpieee_flt=msvcrt._fpieee_flt @264 + _fpreset=msvcrt._fpreset @265 + _fputchar=msvcrt._fputchar @266 + _fputwchar=msvcrt._fputwchar @267 + _free_dbg=msvcrt.free @268 + _fsopen=msvcrt._fsopen @269 + _fstat=msvcrt._fstat @270 + _fstati64=msvcrt._fstati64 @271 + _ftime=msvcrt._ftime @272 + _ftol=msvcrt._ftol @273 + _fullpath=msvcrt._fullpath @274 + _futime=msvcrt._futime @275 + _gcvt=msvcrt._gcvt @276 + _get_osfhandle=msvcrt._get_osfhandle @277 + _get_sbh_threshold=msvcrt._get_sbh_threshold @278 + _getch=msvcrt._getch @279 + _getche=msvcrt._getche @280 + _getcwd=msvcrt._getcwd @281 + _getdcwd=msvcrt._getdcwd @282 + _getdiskfree=msvcrt._getdiskfree @283 + _getdllprocaddr=msvcrt._getdllprocaddr @284 + _getdrive=msvcrt._getdrive @285 + _getdrives=msvcrt._getdrives @286 + _getmaxstdio=msvcrt._getmaxstdio @287 + _getmbcp=msvcrt._getmbcp @288 + _getpid=msvcrt._getpid @289 + _getsystime=msvcrt._getsystime @290 + _getw=msvcrt._getw @291 + _getws=msvcrt._getws @292 + _global_unwind2=msvcrt._global_unwind2 @293 + _heapadd=msvcrt._heapadd @294 + _heapchk=msvcrt._heapchk @295 + _heapmin=msvcrt._heapmin @296 + _heapset=msvcrt._heapset @297 + _heapused=msvcrt._heapused @298 + _heapwalk=msvcrt._heapwalk @299 + _hypot=msvcrt._hypot @300 + _i64toa=msvcrt._i64toa @301 + _i64tow=msvcrt._i64tow @302 + _initterm=msvcrt._initterm @303 + _inp=msvcrt._inp @304 + _inpd=msvcrt._inpd @305 + _inpw=msvcrt._inpw @306 + _iob=msvcrt._iob @307 DATA + _isatty=msvcrt._isatty @308 + _isctype=msvcrt._isctype @309 + _ismbbalnum=msvcrt._ismbbalnum @310 + _ismbbalpha=msvcrt._ismbbalpha @311 + _ismbbgraph=msvcrt._ismbbgraph @312 + _ismbbkalnum=msvcrt._ismbbkalnum @313 + _ismbbkana=msvcrt._ismbbkana @314 + _ismbbkprint=msvcrt._ismbbkprint @315 + _ismbbkpunct=msvcrt._ismbbkpunct @316 + _ismbblead=msvcrt._ismbblead @317 + _ismbbprint=msvcrt._ismbbprint @318 + _ismbbpunct=msvcrt._ismbbpunct @319 + _ismbbtrail=msvcrt._ismbbtrail @320 + _ismbcalnum=msvcrt._ismbcalnum @321 + _ismbcalpha=msvcrt._ismbcalpha @322 + _ismbcdigit=msvcrt._ismbcdigit @323 + _ismbcgraph=msvcrt._ismbcgraph @324 + _ismbchira=msvcrt._ismbchira @325 + _ismbckata=msvcrt._ismbckata @326 + _ismbcl0=msvcrt._ismbcl0 @327 + _ismbcl1=msvcrt._ismbcl1 @328 + _ismbcl2=msvcrt._ismbcl2 @329 + _ismbclegal=msvcrt._ismbclegal @330 + _ismbclower=msvcrt._ismbclower @331 + _ismbcprint=msvcrt._ismbcprint @332 + _ismbcpunct=msvcrt._ismbcpunct @333 + _ismbcspace=msvcrt._ismbcspace @334 + _ismbcsymbol=msvcrt._ismbcsymbol @335 + _ismbcupper=msvcrt._ismbcupper @336 + _ismbslead=msvcrt._ismbslead @337 + _ismbstrail=msvcrt._ismbstrail @338 + _isnan=msvcrt._isnan @339 + _itoa=msvcrt._itoa @340 + _itow=msvcrt._itow @341 + _j0=msvcrt._j0 @342 + _j1=msvcrt._j1 @343 + _jn=msvcrt._jn @344 + _kbhit=msvcrt._kbhit @345 + _lfind=msvcrt._lfind @346 + _loaddll=msvcrt._loaddll @347 + _local_unwind2=msvcrt._local_unwind2 @348 + _lock=msvcrt._lock @349 + _locking=msvcrt._locking @350 + _logb=msvcrt._logb @351 + _longjmpex=msvcrt._longjmpex @352 + _lrotl=msvcrt._lrotl @353 + _lrotr=msvcrt._lrotr @354 + _lsearch=msvcrt._lsearch @355 + _lseek=msvcrt._lseek @356 + _lseeki64=msvcrt._lseeki64 @357 + _ltoa=msvcrt._ltoa @358 + _ltow=msvcrt._ltow @359 + _makepath=msvcrt._makepath @360 + _malloc_dbg=msvcrt.malloc @361 + _mbbtombc=msvcrt._mbbtombc @362 + _mbbtype=msvcrt._mbbtype @363 + _mbccpy=msvcrt._mbccpy @364 + _mbcjistojms=msvcrt._mbcjistojms @365 + _mbcjmstojis=msvcrt._mbcjmstojis @366 + _mbclen=msvcrt._mbclen @367 + _mbctohira=msvcrt._mbctohira @368 + _mbctokata=msvcrt._mbctokata @369 + _mbctolower=msvcrt._mbctolower @370 + _mbctombb=msvcrt._mbctombb @371 + _mbctoupper=msvcrt._mbctoupper @372 + _mbctype=msvcrt._mbctype @373 DATA + _mbsbtype=msvcrt._mbsbtype @374 + _mbscat=msvcrt._mbscat @375 + _mbschr=msvcrt._mbschr @376 + _mbscmp=msvcrt._mbscmp @377 + _mbscoll=msvcrt._mbscoll @378 + _mbscpy=msvcrt._mbscpy @379 + _mbscspn=msvcrt._mbscspn @380 + _mbsdec=msvcrt._mbsdec @381 + _mbsdup=msvcrt._mbsdup @382 + _mbsicmp=msvcrt._mbsicmp @383 + _mbsicoll=msvcrt._mbsicoll @384 + _mbsinc=msvcrt._mbsinc @385 + _mbslen=msvcrt._mbslen @386 + _mbslwr=msvcrt._mbslwr @387 + _mbsnbcat=msvcrt._mbsnbcat @388 + _mbsnbcmp=msvcrt._mbsnbcmp @389 + _mbsnbcnt=msvcrt._mbsnbcnt @390 + _mbsnbcoll=msvcrt._mbsnbcoll @391 + _mbsnbcpy=msvcrt._mbsnbcpy @392 + _mbsnbicmp=msvcrt._mbsnbicmp @393 + _mbsnbicoll=msvcrt._mbsnbicoll @394 + _mbsnbset=msvcrt._mbsnbset @395 + _mbsncat=msvcrt._mbsncat @396 + _mbsnccnt=msvcrt._mbsnccnt @397 + _mbsncmp=msvcrt._mbsncmp @398 + _mbsncoll=msvcrt._mbsncoll @399 + _mbsncpy=msvcrt._mbsncpy @400 + _mbsnextc=msvcrt._mbsnextc @401 + _mbsnicmp=msvcrt._mbsnicmp @402 + _mbsnicoll=msvcrt._mbsnicoll @403 + _mbsninc=msvcrt._mbsninc @404 + _mbsnset=msvcrt._mbsnset @405 + _mbspbrk=msvcrt._mbspbrk @406 + _mbsrchr=msvcrt._mbsrchr @407 + _mbsrev=msvcrt._mbsrev @408 + _mbsset=msvcrt._mbsset @409 + _mbsspn=msvcrt._mbsspn @410 + _mbsspnp=msvcrt._mbsspnp @411 + _mbsstr=msvcrt._mbsstr @412 + _mbstok=msvcrt._mbstok @413 + _mbstrlen=msvcrt._mbstrlen @414 + _mbsupr=msvcrt._mbsupr @415 + _memccpy=msvcrt._memccpy @416 + _memicmp=msvcrt._memicmp @417 + _mkdir=msvcrt._mkdir @418 + _mktemp=msvcrt._mktemp @419 + _msize=msvcrt._msize @420 + _msize_dbg=msvcrt._msize @421 + _nextafter=msvcrt._nextafter @422 + _onexit=msvcrt._onexit @423 + _open=msvcrt._open @424 + _open_osfhandle=msvcrt._open_osfhandle @425 + _osver=msvcrt._osver @426 DATA + _outp=msvcrt._outp @427 + _outpd=msvcrt._outpd @428 + _outpw=msvcrt._outpw @429 + _pclose=msvcrt._pclose @430 + _pctype=msvcrt._pctype @431 DATA + _pgmptr=msvcrt._pgmptr @432 DATA + _pipe=msvcrt._pipe @433 + _popen=msvcrt._popen @434 + _purecall=msvcrt._purecall @435 + _putch=msvcrt._putch @436 + _putenv=msvcrt._putenv @437 + _putw=msvcrt._putw @438 + _putws=msvcrt._putws @439 + _read=msvcrt._read @440 + _realloc_dbg=msvcrt.realloc @441 + _rmdir=msvcrt._rmdir @442 + _rmtmp=msvcrt._rmtmp @443 + _rotl=msvcrt._rotl @444 + _rotr=msvcrt._rotr @445 + _safe_fdiv=msvcrt._safe_fdiv @446 + _safe_fdivr=msvcrt._safe_fdivr @447 + _safe_fprem=msvcrt._safe_fprem @448 + _safe_fprem1=msvcrt._safe_fprem1 @449 + _scalb=msvcrt._scalb @450 + _searchenv=msvcrt._searchenv @451 + _seh_longjmp_unwind4@4=msvcrt._seh_longjmp_unwind4 @452 + _seh_longjmp_unwind@4=msvcrt._seh_longjmp_unwind @453 + _set_error_mode=msvcrt._set_error_mode @454 + _set_sbh_threshold=msvcrt._set_sbh_threshold @455 + _seterrormode=msvcrt._seterrormode @456 + _setjmp=msvcrt._setjmp @457 + _setjmp3=msvcrt._setjmp3 @458 + _setmaxstdio=msvcrt._setmaxstdio @459 + _setmbcp=msvcrt._setmbcp @460 + _setmode=msvcrt._setmode @461 + _setsystime=msvcrt._setsystime @462 + _sleep=msvcrt._sleep @463 + _snprintf=msvcrt._snprintf @464 + _snwprintf=msvcrt._snwprintf @465 + _sopen=msvcrt._sopen @466 + _spawnl=msvcrt._spawnl @467 + _spawnle=msvcrt._spawnle @468 + _spawnlp=msvcrt._spawnlp @469 + _spawnlpe=msvcrt._spawnlpe @470 + _spawnv=msvcrt._spawnv @471 + _spawnve=msvcrt._spawnve @472 + _spawnvp=msvcrt._spawnvp @473 + _spawnvpe=msvcrt._spawnvpe @474 + _splitpath=msvcrt._splitpath @475 + _stat=msvcrt._stat @476 + _stati64=msvcrt._stati64 @477 + _statusfp=msvcrt._statusfp @478 + _strcmpi=msvcrt._strcmpi @479 + _strdate=msvcrt._strdate @480 + _strdup=msvcrt._strdup @481 + _strerror=msvcrt._strerror @482 + _stricmp=msvcrt._stricmp @483 + _stricoll=msvcrt._stricoll @484 + _strlwr=msvcrt._strlwr @485 + _strncoll=msvcrt._strncoll @486 + _strnicmp=msvcrt._strnicmp @487 + _strnicoll=msvcrt._strnicoll @488 + _strnset=msvcrt._strnset @489 + _strrev=msvcrt._strrev @490 + _strset=msvcrt._strset @491 + _strtime=msvcrt._strtime @492 + _strupr=msvcrt._strupr @493 + _swab=msvcrt._swab @494 + _sys_errlist=msvcrt._sys_errlist @495 DATA + _sys_nerr=msvcrt._sys_nerr @496 DATA + _tell=msvcrt._tell @497 + _telli64=msvcrt._telli64 @498 + _tempnam=msvcrt._tempnam @499 + _timezone=msvcrt._timezone @500 DATA + _tolower=msvcrt._tolower @501 + _toupper=msvcrt._toupper @502 + _tzname=msvcrt._tzname @503 DATA + _tzset=msvcrt._tzset @504 + _ui64toa=msvcrt._ui64toa @505 + _ui64tow=msvcrt._ui64tow @506 + _ultoa=msvcrt._ultoa @507 + _ultow=msvcrt._ultow @508 + _umask=msvcrt._umask @509 + _ungetch=msvcrt._ungetch @510 + _unlink=msvcrt._unlink @511 + _unloaddll=msvcrt._unloaddll @512 + _unlock=msvcrt._unlock @513 + _utime=msvcrt._utime @514 + _vsnprintf=msvcrt._vsnprintf @515 + _vsnwprintf=msvcrt._vsnwprintf @516 + _waccess=msvcrt._waccess @517 + _wasctime=msvcrt._wasctime @518 + _wchdir=msvcrt._wchdir @519 + _wchmod=msvcrt._wchmod @520 + _wcmdln=msvcrt._wcmdln @521 DATA + _wcreat=msvcrt._wcreat @522 + _wcsdup=msvcrt._wcsdup @523 + _wcsicmp=msvcrt._wcsicmp @524 + _wcsicoll=msvcrt._wcsicoll @525 + _wcslwr=msvcrt._wcslwr @526 + _wcsncoll=msvcrt._wcsncoll @527 + _wcsnicmp=msvcrt._wcsnicmp @528 + _wcsnicoll=msvcrt._wcsnicoll @529 + _wcsnset=msvcrt._wcsnset @530 + _wcsrev=msvcrt._wcsrev @531 + _wcsset=msvcrt._wcsset @532 + _wcsupr=msvcrt._wcsupr @533 + _wctime=msvcrt._wctime @534 + _wenviron=msvcrt._wenviron @535 DATA + _wexecl=msvcrt._wexecl @536 + _wexecle=msvcrt._wexecle @537 + _wexeclp=msvcrt._wexeclp @538 + _wexeclpe=msvcrt._wexeclpe @539 + _wexecv=msvcrt._wexecv @540 + _wexecve=msvcrt._wexecve @541 + _wexecvp=msvcrt._wexecvp @542 + _wexecvpe=msvcrt._wexecvpe @543 + _wfdopen=msvcrt._wfdopen @544 + _wfindfirst=msvcrt._wfindfirst @545 + _wfindfirsti64=msvcrt._wfindfirsti64 @546 + _wfindnext=msvcrt._wfindnext @547 + _wfindnexti64=msvcrt._wfindnexti64 @548 + _wfopen=msvcrt._wfopen @549 + _wfreopen=msvcrt._wfreopen @550 + _wfsopen=msvcrt._wfsopen @551 + _wfullpath=msvcrt._wfullpath @552 + _wgetcwd=msvcrt._wgetcwd @553 + _wgetdcwd=msvcrt._wgetdcwd @554 + _wgetenv=msvcrt._wgetenv @555 + _winmajor=msvcrt._winmajor @556 DATA + _winminor=msvcrt._winminor @557 DATA + _winver=msvcrt._winver @558 DATA + _wmakepath=msvcrt._wmakepath @559 + _wmkdir=msvcrt._wmkdir @560 + _wmktemp=msvcrt._wmktemp @561 + _wopen=msvcrt._wopen @562 + _wperror=msvcrt._wperror @563 + _wpgmptr=msvcrt._wpgmptr @564 DATA + _wpopen=msvcrt._wpopen @565 + _wputenv=msvcrt._wputenv @566 + _wremove=msvcrt._wremove @567 + _wrename=msvcrt._wrename @568 + _write=msvcrt._write @569 + _wrmdir=msvcrt._wrmdir @570 + _wsearchenv=msvcrt._wsearchenv @571 + _wsetlocale=msvcrt._wsetlocale @572 + _wsopen=msvcrt._wsopen @573 + _wspawnl=msvcrt._wspawnl @574 + _wspawnle=msvcrt._wspawnle @575 + _wspawnlp=msvcrt._wspawnlp @576 + _wspawnlpe=msvcrt._wspawnlpe @577 + _wspawnv=msvcrt._wspawnv @578 + _wspawnve=msvcrt._wspawnve @579 + _wspawnvp=msvcrt._wspawnvp @580 + _wspawnvpe=msvcrt._wspawnvpe @581 + _wsplitpath=msvcrt._wsplitpath @582 + _wstat=msvcrt._wstat @583 + _wstati64=msvcrt._wstati64 @584 + _wstrdate=msvcrt._wstrdate @585 + _wstrtime=msvcrt._wstrtime @586 + _wsystem=msvcrt._wsystem @587 + _wtempnam=msvcrt._wtempnam @588 + _wtmpnam=msvcrt._wtmpnam @589 + _wtoi=msvcrt._wtoi @590 + _wtoi64=msvcrt._wtoi64 @591 + _wtol=msvcrt._wtol @592 + _wunlink=msvcrt._wunlink @593 + _wutime=msvcrt._wutime @594 + _y0=msvcrt._y0 @595 + _y1=msvcrt._y1 @596 + _yn=msvcrt._yn @597 + abort=msvcrt.abort @598 + abs=msvcrt.abs @599 + acos=msvcrt.acos @600 + asctime=msvcrt.asctime @601 + asin=msvcrt.asin @602 + atan=msvcrt.atan @603 + atan2=msvcrt.atan2 @604 + atexit=msvcrt.atexit @605 PRIVATE + atof=msvcrt.atof @606 + atoi=msvcrt.atoi @607 + atol=msvcrt.atol @608 + bsearch=msvcrt.bsearch @609 + calloc=msvcrt.calloc @610 + ceil=msvcrt.ceil @611 + clearerr=msvcrt.clearerr @612 + clock=msvcrt.clock @613 + cos=msvcrt.cos @614 + cosh=msvcrt.cosh @615 + ctime=msvcrt.ctime @616 + difftime=msvcrt.difftime @617 + div=msvcrt.div @618 + exit=msvcrt.exit @619 + exp=msvcrt.exp @620 + fabs=msvcrt.fabs @621 + fclose=msvcrt.fclose @622 + feof=msvcrt.feof @623 + ferror=msvcrt.ferror @624 + fflush=msvcrt.fflush @625 + fgetc=msvcrt.fgetc @626 + fgetpos=msvcrt.fgetpos @627 + fgets=msvcrt.fgets @628 + fgetwc=msvcrt.fgetwc @629 + fgetws=msvcrt.fgetws @630 + floor=msvcrt.floor @631 + fmod=msvcrt.fmod @632 + fopen=msvcrt.fopen @633 + fprintf=msvcrt.fprintf @634 + fputc=msvcrt.fputc @635 + fputs=msvcrt.fputs @636 + fputwc=msvcrt.fputwc @637 + fputws=msvcrt.fputws @638 + fread=msvcrt.fread @639 + free=msvcrt.free @640 + freopen=msvcrt.freopen @641 + frexp=msvcrt.frexp @642 + fscanf=msvcrt.fscanf @643 + fseek=msvcrt.fseek @644 + fsetpos=msvcrt.fsetpos @645 + ftell=msvcrt.ftell @646 + fwprintf=msvcrt.fwprintf @647 + fwrite=msvcrt.fwrite @648 + fwscanf=msvcrt.fwscanf @649 + getc=msvcrt.getc @650 + getchar=msvcrt.getchar @651 + getenv=msvcrt.getenv @652 + gets=msvcrt.gets @653 + getwc=msvcrt.getwc @654 + getwchar=msvcrt.getwchar @655 + gmtime=msvcrt.gmtime @656 + is_wctype=msvcrt.is_wctype @657 + isalnum=msvcrt.isalnum @658 + isalpha=msvcrt.isalpha @659 + iscntrl=msvcrt.iscntrl @660 + isdigit=msvcrt.isdigit @661 + isgraph=msvcrt.isgraph @662 + isleadbyte=msvcrt.isleadbyte @663 + islower=msvcrt.islower @664 + isprint=msvcrt.isprint @665 + ispunct=msvcrt.ispunct @666 + isspace=msvcrt.isspace @667 + isupper=msvcrt.isupper @668 + iswalnum=msvcrt.iswalnum @669 + iswalpha=msvcrt.iswalpha @670 + iswascii=msvcrt.iswascii @671 + iswcntrl=msvcrt.iswcntrl @672 + iswctype=msvcrt.iswctype @673 + iswdigit=msvcrt.iswdigit @674 + iswgraph=msvcrt.iswgraph @675 + iswlower=msvcrt.iswlower @676 + iswprint=msvcrt.iswprint @677 + iswpunct=msvcrt.iswpunct @678 + iswspace=msvcrt.iswspace @679 + iswupper=msvcrt.iswupper @680 + iswxdigit=msvcrt.iswxdigit @681 + isxdigit=msvcrt.isxdigit @682 + labs=msvcrt.labs @683 + ldexp=msvcrt.ldexp @684 + ldiv=msvcrt.ldiv @685 + localeconv=msvcrt.localeconv @686 + localtime=msvcrt.localtime @687 + log=msvcrt.log @688 + log10=msvcrt.log10 @689 + longjmp=msvcrt.longjmp @690 + malloc=msvcrt.malloc @691 + mblen=msvcrt.mblen @692 + mbstowcs=msvcrt.mbstowcs @693 + mbtowc=msvcrt.mbtowc @694 + memchr=msvcrt.memchr @695 + memcmp=msvcrt.memcmp @696 + memcpy=msvcrt.memcpy @697 + memmove=msvcrt.memmove @698 + memset=msvcrt.memset @699 + mktime=msvcrt.mktime @700 + modf=msvcrt.modf @701 + perror=msvcrt.perror @702 + pow=msvcrt.pow @703 + printf=msvcrt.printf @704 + putc=msvcrt.putc @705 + putchar=msvcrt.putchar @706 + puts=msvcrt.puts @707 + putwc=msvcrt.putwc @708 + putwchar=msvcrt.putwchar @709 + qsort=msvcrt.qsort @710 + raise=msvcrt.raise @711 + rand=msvcrt.rand @712 + realloc=msvcrt.realloc @713 + remove=msvcrt.remove @714 + rename=msvcrt.rename @715 + rewind=msvcrt.rewind @716 + scanf=msvcrt.scanf @717 + setbuf=msvcrt.setbuf @718 + setlocale=msvcrt.setlocale @719 + setvbuf=msvcrt.setvbuf @720 + signal=msvcrt.signal @721 + sin=msvcrt.sin @722 + sinh=msvcrt.sinh @723 + sprintf=msvcrt.sprintf @724 + sqrt=msvcrt.sqrt @725 + srand=msvcrt.srand @726 + sscanf=msvcrt.sscanf @727 + strcat=msvcrt.strcat @728 + strchr=msvcrt.strchr @729 + strcmp=msvcrt.strcmp @730 + strcoll=msvcrt.strcoll @731 + strcpy=msvcrt.strcpy @732 + strcspn=msvcrt.strcspn @733 + strerror=msvcrt.strerror @734 + strftime=msvcrt.strftime @735 + strlen=msvcrt.strlen @736 + strncat=msvcrt.strncat @737 + strncmp=msvcrt.strncmp @738 + strncpy=msvcrt.strncpy @739 + strpbrk=msvcrt.strpbrk @740 + strrchr=msvcrt.strrchr @741 + strspn=msvcrt.strspn @742 + strstr=msvcrt.strstr @743 + strtod=msvcrt.strtod @744 + strtok=msvcrt.strtok @745 + strtol=msvcrt.strtol @746 + strtoul=msvcrt.strtoul @747 + strxfrm=msvcrt.strxfrm @748 + swprintf=msvcrt.swprintf @749 + swscanf=msvcrt.swscanf @750 + system=msvcrt.system @751 + tan=msvcrt.tan @752 + tanh=msvcrt.tanh @753 + time=msvcrt.time @754 + tmpfile=msvcrt.tmpfile @755 + tmpnam=msvcrt.tmpnam @756 + tolower=msvcrt.tolower @757 + toupper=msvcrt.toupper @758 + towlower=msvcrt.towlower @759 + towupper=msvcrt.towupper @760 + ungetc=msvcrt.ungetc @761 + ungetwc=msvcrt.ungetwc @762 + vfprintf=msvcrt.vfprintf @763 + vfwprintf=msvcrt.vfwprintf @764 + vprintf=msvcrt.vprintf @765 + vsprintf=msvcrt.vsprintf @766 + vswprintf=msvcrt.vswprintf @767 + vwprintf=msvcrt.vwprintf @768 + wcscat=msvcrt.wcscat @769 + wcschr=msvcrt.wcschr @770 + wcscmp=msvcrt.wcscmp @771 + wcscoll=msvcrt.wcscoll @772 + wcscpy=msvcrt.wcscpy @773 + wcscspn=msvcrt.wcscspn @774 + wcsftime=msvcrt.wcsftime @775 + wcslen=msvcrt.wcslen @776 + wcsncat=msvcrt.wcsncat @777 + wcsncmp=msvcrt.wcsncmp @778 + wcsncpy=msvcrt.wcsncpy @779 + wcspbrk=msvcrt.wcspbrk @780 + wcsrchr=msvcrt.wcsrchr @781 + wcsspn=msvcrt.wcsspn @782 + wcsstr=msvcrt.wcsstr @783 + wcstod=msvcrt.wcstod @784 + wcstok=msvcrt.wcstok @785 + wcstol=msvcrt.wcstol @786 + wcstombs=msvcrt.wcstombs @787 + wcstoul=msvcrt.wcstoul @788 + wcsxfrm=msvcrt.wcsxfrm @789 + wctomb=msvcrt.wctomb @790 + wprintf=msvcrt.wprintf @791 + wscanf=msvcrt.wscanf @792 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvfw32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvfw32.def new file mode 100644 index 0000000..bb760c0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmsvfw32.def @@ -0,0 +1,50 @@ +; File generated automatically from ./dlls/msvfw32/msvfw32.spec; do not edit! + +LIBRARY msvfw32.dll + +EXPORTS + VideoForWindowsVersion@0 @2 + DrawDibBegin@32 @3 + DrawDibChangePalette@16 @4 + DrawDibClose@4 @5 + DrawDibDraw@52 @6 + DrawDibEnd@4 @7 + DrawDibGetBuffer@16 @8 + DrawDibGetPalette@4 @9 + DrawDibOpen@0 @10 + DrawDibProfileDisplay@4 @11 + DrawDibRealize@12 @12 + DrawDibSetPalette@8 @13 + DrawDibStart@8 @14 + DrawDibStop@4 @15 + DrawDibTime@8 @16 + GetOpenFileNamePreview@4=GetOpenFileNamePreviewA@4 @17 + GetOpenFileNamePreviewA@4 @18 + GetOpenFileNamePreviewW@4 @19 + GetSaveFileNamePreviewA@4 @20 + GetSaveFileNamePreviewW@4 @21 + ICClose@4 @22 + ICCompress @23 + ICCompressorChoose@24 @24 + ICCompressorFree@4 @25 + ICDecompress @26 + ICDraw @27 + ICDrawBegin @28 + ICGetDisplayFormat@24 @29 + ICGetInfo@12 @30 + ICImageCompress@28 @31 + ICImageDecompress@20 @32 + ICInfo@12 @33 + ICInstall@20 @34 + ICLocate@20 @35 + ICOpen@12 @37 + ICOpenFunction@16 @38 + ICRemove@12 @39 + ICSendMessage@16 @40 + ICSeqCompressFrame@20 @41 + ICSeqCompressFrameEnd@4 @42 + ICSeqCompressFrameStart@8 @43 + MCIWndCreate=MCIWndCreateA @44 + MCIWndCreateA @45 + MCIWndCreateW @46 + MCIWndRegisterClass @47 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmswsock.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmswsock.def new file mode 100644 index 0000000..1b058e0 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libmswsock.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/mswsock/mswsock.spec; do not edit! + +LIBRARY mswsock.dll + +EXPORTS + AcceptEx@32 @1 + EnumProtocolsA@12=ws2_32.WSAEnumProtocolsA @2 + EnumProtocolsW@12=ws2_32.WSAEnumProtocolsW @3 + GetAcceptExSockaddrs@32 @4 + TransmitFile@28 @22 + WSARecvEx@16 @23 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnddeapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnddeapi.def new file mode 100644 index 0000000..8f37982 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnddeapi.def @@ -0,0 +1,31 @@ +; File generated automatically from ./dlls/nddeapi/nddeapi.spec; do not edit! + +LIBRARY nddeapi.dll + +EXPORTS + NDdeShareAddA@20 @500 + NDdeShareDelA@12 @501 + NDdeShareEnumA@24 @502 + NDdeShareGetInfoA@28 @503 + NDdeShareSetInfoA@24 @504 + NDdeGetErrorStringA@12 @505 + NDdeIsValidShareNameA@4 @506 + NDdeIsValidAppTopicListA@4 @507 + NDdeGetShareSecurityA@24 @509 + NDdeSetShareSecurityA@16 @510 + NDdeGetTrustedShareA@20 @511 + NDdeSetTrustedShareA@12 @512 + NDdeTrustedShareEnumA@24 @513 + NDdeShareAddW@20 @600 + NDdeShareDelW@12 @601 + NDdeShareEnumW@24 @602 + NDdeShareGetInfoW@28 @603 + NDdeShareSetInfoW@24 @604 + NDdeGetErrorStringW@12 @605 + NDdeIsValidShareNameW@4 @606 + NDdeIsValidAppTopicListW@4 @607 + NDdeGetShareSecurityW@24 @609 + NDdeSetShareSecurityW@16 @610 + NDdeGetTrustedShareW@20 @611 + NDdeSetTrustedShareW@12 @612 + NDdeTrustedShareEnumW@24 @613 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnetapi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnetapi32.def new file mode 100644 index 0000000..80114db --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnetapi32.def @@ -0,0 +1,75 @@ +; File generated automatically from ./dlls/netapi32/netapi32.spec; do not edit! + +LIBRARY netapi32.dll + +EXPORTS + DavGetHTTPFromUNCPath@12 @1 + DavGetUNCFromHTTPPath@12 @2 + DsGetDcNameA@24 @8 + DsGetDcNameW@24 @9 + DsGetSiteNameA@8 @14 + DsGetSiteNameW@8 @15 + DsRoleFreeMemory@4 @17 + DsRoleGetPrimaryDomainInformation@12 @18 + I_BrowserQueryEmulatedDomains@12 @22 + I_BrowserSetNetlogonState@16 @28 + I_NetNameCompare@20 @55 + I_NetNameValidate@16 @56 + NetApiBufferAllocate@8 @68 + NetApiBufferFree@4 @69 + NetApiBufferReallocate@12 @70 + NetApiBufferSize@8 @71 + NetFileEnum@36 @93 + NetGetAnyDCName@12 @95 + NetGetDCName@12 @96 + NetGetJoinInformation@12 @98 + NetGroupAddUser@12 @100 + NetGroupEnum@28 @103 + NetGroupGetInfo@16 @104 + NetLocalGroupAdd@16 @108 + NetLocalGroupAddMember@12 @109 + NetLocalGroupAddMembers@20 @110 + NetLocalGroupDel@8 @111 + NetLocalGroupDelMember@12 @112 + NetLocalGroupDelMembers@20 @113 + NetLocalGroupEnum@28 @114 + NetLocalGroupGetInfo@16 @115 + NetLocalGroupGetMembers@32 @116 + NetLocalGroupSetInfo@20 @117 + NetLocalGroupSetMembers@20 @118 + NetQueryDisplayInformation@28 @124 + NetScheduleJobAdd@12 @171 + NetScheduleJobDel@12 @172 + NetScheduleJobEnum@24 @173 + NetServerDiskEnum@28 @177 + NetServerEnum@36 @178 + NetServerEnumEx@36 @179 + NetServerGetInfo@12 @180 + NetSessionEnum@36 @191 + NetShareAdd@16 @193 + NetShareDel@12 @195 + NetShareEnum@28 @197 + NetShareGetInfo@16 @199 + NetStatisticsGet@20 @201 + NetUseAdd@16 @202 + NetUseDel@12 @203 + NetUseEnum@28 @204 + NetUseGetInfo@16 @205 + NetUserAdd@16 @206 + NetUserChangePassword@16 @207 + NetUserDel@8 @208 + NetUserEnum@32 @209 + NetUserGetGroups@28 @210 + NetUserGetInfo@16 @211 + NetUserGetLocalGroups@32 @212 + NetUserModalsGet@12 @213 + NetWkstaGetInfo@12 @217 + NetWkstaTransportEnum@28 @221 + NetWkstaUserEnum@28 @222 + NetWkstaUserGetInfo@12 @223 + NetapipBufferAllocate@8=NetApiBufferAllocate@8 @225 + Netbios@4 @226 + NetpDeleteSecurityObject@4=ntdll.RtlDeleteSecurityObject @242 + NetpGetComputerName@4 @243 + NetpInitOemString@8=ntdll.RtlInitAnsiString @252 + NetpNetBiosStatusToApiStatus@4 @265 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnewdev.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnewdev.def new file mode 100644 index 0000000..9ccef55 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnewdev.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/newdev/newdev.spec; do not edit! + +LIBRARY newdev.dll + +EXPORTS + DiInstallDriverA@24 @3 + DiInstallDriverW@24 @4 + InstallNewDevice@12 @8 + InstallSelectedDriver@20 @9 + UpdateDriverForPlugAndPlayDevicesA@20 @12 + UpdateDriverForPlugAndPlayDevicesW@20 @13 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnormaliz.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnormaliz.def new file mode 100644 index 0000000..f30b28c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libnormaliz.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/normaliz/normaliz.spec; do not edit! + +LIBRARY normaliz.dll + +EXPORTS + IdnToAscii@20=kernel32.IdnToAscii @1 + IdnToNameprepUnicode@20=kernel32.IdnToNameprepUnicode @2 + IdnToUnicode@20=kernel32.IdnToUnicode @3 + IsNormalizedString@12=kernel32.IsNormalizedString @4 + NormalizeString@20=kernel32.NormalizeString @5 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntdll.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntdll.def new file mode 100644 index 0000000..4db4469 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntdll.def @@ -0,0 +1,1000 @@ +; File generated automatically from ./dlls/ntdll/ntdll.spec; do not edit! + +LIBRARY ntdll.dll + +EXPORTS + DbgBreakPoint@0 @19 + DbgPrint @20 + DbgPrintEx @21 + DbgUserBreakPoint@0 @27 + EtwEventEnabled@12 @28 + EtwEventRegister@16 @29 + EtwEventSetInformation@20 @30 + EtwEventUnregister@8 @31 + EtwEventWrite@20 @32 + EtwRegisterTraceGuidsA@32 @33 + EtwRegisterTraceGuidsW@32 @34 + EtwUnregisterTraceGuids@8 @35 + LdrAccessResource@16 @40 + LdrAddRefDll@8 @41 + LdrDisableThreadCalloutsForDll@4 @42 + LdrEnumerateLoadedModules@12 @44 + LdrFindEntryForAddress@8 @45 + LdrFindResourceDirectory_U@16 @46 + LdrFindResource_U@16 @47 + LdrGetDllHandle@16 @49 + LdrGetProcedureAddress@16 @50 + LdrInitializeThunk@16 @52 + LdrLoadDll@16 @54 + LdrLockLoaderLock@12 @55 + LdrProcessRelocationBlock@16 @56 + LdrQueryImageFileExecutionOptions@24 @57 + LdrQueryProcessModuleInformation@12 @58 + LdrResolveDelayLoadedAPI@24 @59 + LdrShutdownProcess@0 @62 + LdrShutdownThread@0 @63 + LdrUnloadDll@4 @65 + LdrUnlockLoaderLock@8 @66 + NlsAnsiCodePage @68 DATA + NlsMbCodePageTag @69 DATA + NlsMbOemCodePageTag @70 DATA + NtAcceptConnectPort@24 @71 + NtAccessCheck@32 @72 + NtAccessCheckAndAuditAlarm@44 @73 + NtAddAtom@12 @74 + NtAdjustGroupsToken@24 @75 + NtAdjustPrivilegesToken@24 @76 + NtAlertResumeThread@8 @77 + NtAlertThread@4 @78 + NtAllocateLocallyUniqueId@4 @79 + NtAllocateUuids@12 @80 + NtAllocateVirtualMemory@24 @81 + NtAreMappedFilesTheSame@8 @82 + NtAssignProcessToJobObject@8 @83 + NtCancelIoFile@8 @85 + NtCancelIoFileEx@12 @86 + NtCancelTimer@8 @87 + NtClearEvent@4 @88 + NtClose@4 @89 + NtCompleteConnectPort@4 @91 + NtConnectPort@32 @92 + NtCreateDirectoryObject@12 @94 + NtCreateEvent@20 @95 + NtCreateFile@44 @97 + NtCreateIoCompletion@16 @98 + NtCreateJobObject@12 @99 + NtCreateKey@28 @100 + NtCreateKeyTransacted@32 @101 + NtCreateKeyedEvent@16 @102 + NtCreateMailslotFile@32 @103 + NtCreateMutant@16 @104 + NtCreateNamedPipeFile@56 @105 + NtCreatePagingFile@16 @106 + NtCreatePort@20 @107 + NtCreateSection@28 @110 + NtCreateSemaphore@20 @111 + NtCreateSymbolicLinkObject@16 @112 + NtCreateTimer@16 @114 + NtCurrentTeb@0 @116 + NtDelayExecution@8 @117 + NtDeleteAtom@4 @118 + NtDeleteFile@4 @119 + NtDeleteKey@4 @120 + NtDeleteValueKey@8 @121 + NtDeviceIoControlFile@40 @122 + NtDisplayString@4 @123 + NtDuplicateObject@28 @124 + NtDuplicateToken@24 @125 + NtEnumerateKey@24 @127 + NtEnumerateValueKey@24 @128 + NtFindAtom@12 @130 + NtFlushBuffersFile@8 @131 + NtFlushInstructionCache@12 @132 + NtFlushKey@4 @133 + NtFlushVirtualMemory@16 @134 + NtFreeVirtualMemory@16 @136 + NtFsControlFile@40 @137 + NtGetContextThread@8 @138 + NtGetCurrentProcessorNumber@0 @139 + NtGetTickCount@0 @141 + NtGetWriteWatch@28 @142 + NtImpersonateAnonymousToken@4 @143 + NtInitiatePowerAction@16 @147 + NtIsProcessInJob@8 @148 + NtListenPort@8 @149 + NtLoadDriver@4 @150 + NtLoadKey2@12 @151 + NtLoadKey@8 @152 + NtLockFile@40 @153 + NtLockVirtualMemory@16 @154 + NtMakeTemporaryObject@4 @155 + NtMapViewOfSection@40 @156 + NtNotifyChangeDirectoryFile@36 @157 + NtNotifyChangeKey@40 @158 + NtNotifyChangeMultipleKeys@48 @159 + NtOpenDirectoryObject@12 @160 + NtOpenEvent@12 @161 + NtOpenFile@24 @163 + NtOpenIoCompletion@12 @164 + NtOpenJobObject@12 @165 + NtOpenKey@12 @166 + NtOpenKeyEx@16 @167 + NtOpenKeyTransacted@16 @168 + NtOpenKeyTransactedEx@20 @169 + NtOpenKeyedEvent@12 @170 + NtOpenMutant@12 @171 + NtOpenProcess@16 @173 + NtOpenProcessToken@12 @174 + NtOpenProcessTokenEx@16 @175 + NtOpenSection@12 @176 + NtOpenSemaphore@12 @177 + NtOpenSymbolicLinkObject@12 @178 + NtOpenThread@16 @179 + NtOpenThreadToken@16 @180 + NtOpenThreadTokenEx@20 @181 + NtOpenTimer@12 @182 + NtPowerInformation@20 @184 + NtPrivilegeCheck@12 @185 + NtProtectVirtualMemory@20 @188 + NtPulseEvent@8 @189 + NtQueryAttributesFile@8 @190 + NtQueryDefaultLocale@8 @191 + NtQueryDefaultUILanguage@4 @192 + NtQueryDirectoryFile@44 @193 + NtQueryDirectoryObject@28 @194 + NtQueryEaFile@36 @195 + NtQueryEvent@20 @196 + NtQueryFullAttributesFile@8 @197 + NtQueryInformationAtom@20 @198 + NtQueryInformationFile@20 @199 + NtQueryInformationJobObject@20 @200 + NtQueryInformationProcess@20 @202 + NtQueryInformationThread@20 @203 + NtQueryInformationToken@20 @204 + NtQueryInstallUILanguage@4 @205 + NtQueryIoCompletion@20 @207 + NtQueryKey@20 @208 + NtQueryLicenseValue@20 @209 + NtQueryMultipleValueKey@24 @210 + NtQueryMutant@20 @211 + NtQueryObject@20 @212 + NtQueryPerformanceCounter@8 @214 + NtQuerySection@20 @215 + NtQuerySecurityObject@20 @216 + NtQuerySemaphore@20 @217 + NtQuerySymbolicLinkObject@12 @218 + NtQuerySystemEnvironmentValue@16 @219 + NtQuerySystemEnvironmentValueEx@20 @220 + NtQuerySystemInformation@16 @221 + NtQuerySystemInformationEx@24 @222 + NtQuerySystemTime@4 @223 + NtQueryTimer@20 @224 + NtQueryTimerResolution@12 @225 + NtQueryValueKey@24 @226 + NtQueryVirtualMemory@24 @227 + NtQueryVolumeInformationFile@20 @228 + NtQueueApcThread@20 @229 + NtRaiseException@12 @230 + NtRaiseHardError@24 @231 + NtReadFile@36 @232 + NtReadFileScatter@36 @233 + NtReadVirtualMemory@20 @235 + NtRegisterThreadTerminatePort@4 @237 + NtReleaseKeyedEvent@16 @238 + NtReleaseMutant@8 @239 + NtReleaseSemaphore@12 @241 + NtRemoveIoCompletion@20 @242 + NtRenameKey@8 @243 + NtReplaceKey@12 @244 + NtReplyWaitReceivePort@16 @246 + NtRequestWaitReplyPort@12 @250 + NtResetEvent@8 @251 + NtResetWriteWatch@12 @252 + NtRestoreKey@12 @253 + NtResumeProcess@4 @254 + NtResumeThread@8 @255 + NtSaveKey@8 @256 + NtSecureConnectPort@36 @257 + NtSetContextThread@8 @258 + NtSetDefaultLocale@8 @261 + NtSetDefaultUILanguage@4 @262 + NtSetEaFile@16 @263 + NtSetEvent@8 @264 + NtSetInformationFile@20 @268 + NtSetInformationJobObject@16 @269 + NtSetInformationKey@16 @270 + NtSetInformationObject@16 @271 + NtSetInformationProcess@16 @272 + NtSetInformationThread@16 @273 + NtSetInformationToken@16 @274 + NtSetIntervalProfile@8 @275 + NtSetIoCompletion@20 @276 + NtSetLdtEntries@24 @277 + NtSetSecurityObject@12 @281 + NtSetSystemInformation@12 @283 + NtSetSystemTime@8 @285 + NtSetTimer@28 @286 + NtSetTimerResolution@12 @287 + NtSetValueKey@24 @288 + NtSetVolumeInformationFile@20 @289 + NtShutdownSystem@4 @290 + NtSignalAndWaitForSingleObject@16 @291 + NtSuspendProcess@4 @294 + NtSuspendThread@8 @295 + NtSystemDebugControl@24 @296 + NtTerminateJobObject@8 @297 + NtTerminateProcess@8 @298 + NtTerminateThread@8 @299 + NtUnloadDriver@4 @301 + NtUnloadKey@4 @302 + NtUnlockFile@20 @304 + NtUnlockVirtualMemory@16 @305 + NtUnmapViewOfSection@8 @306 + NtWaitForKeyedEvent@16 @309 + NtWaitForMultipleObjects@20 @310 + NtWaitForSingleObject@12 @312 + NtWriteFile@36 @315 + NtWriteFileGather@36 @316 + NtWriteVirtualMemory@20 @318 + NtYieldExecution@0 @319 + RtlAbsoluteToSelfRelativeSD@12 @325 + RtlAcquirePebLock@0 @326 + RtlAcquireResourceExclusive@8 @327 + RtlAcquireResourceShared@8 @328 + RtlAcquireSRWLockExclusive@4 @329 + RtlAcquireSRWLockShared@4 @330 + RtlActivateActivationContext@12 @331 + RtlAddAccessAllowedAce@16 @334 + RtlAddAccessAllowedAceEx@20 @335 + RtlAddAccessAllowedObjectAce@28 @336 + RtlAddAccessDeniedAce@16 @337 + RtlAddAccessDeniedAceEx@20 @338 + RtlAddAccessDeniedObjectAce@28 @339 + RtlAddAce@20 @340 + RtlAddAtomToAtomTable@12 @342 + RtlAddAuditAccessAce@24 @344 + RtlAddAuditAccessAceEx@28 @345 + RtlAddAuditAccessObjectAce@36 @346 + RtlAddMandatoryAce@24 @347 + RtlAddRefActivationContext@4 @348 + RtlAddVectoredContinueHandler@8 @349 + RtlAddVectoredExceptionHandler@8 @350 + RtlAdjustPrivilege@16 @351 + RtlAllocateAndInitializeSid@44 @352 + RtlAllocateHandle@8 @353 + RtlAllocateHeap@12 @354 + RtlAnsiCharToUnicodeChar@4 @355 + RtlAnsiStringToUnicodeSize@4 @356 + RtlAnsiStringToUnicodeString@12 @357 + RtlAppendAsciizToString@8 @358 + RtlAppendStringToString@8 @359 + RtlAppendUnicodeStringToString@8 @360 + RtlAppendUnicodeToString@8 @361 + RtlAreAllAccessesGranted@8 @364 + RtlAreAnyAccessesGranted@8 @365 + RtlAreBitsClear@12 @366 + RtlAreBitsSet@12 @367 + RtlAssert@16 @368 + RtlCaptureContext@4 @369 + RtlCaptureStackBackTrace@16 @370 + RtlCharToInteger@12 @371 + RtlCheckRegistryKey@8 @372 + RtlClearAllBits@4 @373 + RtlClearBits@12 @374 + RtlCompactHeap@8 @376 + RtlCompareMemory@12 @377 + RtlCompareMemoryUlong@12 @378 + RtlCompareString@12 @379 + RtlCompareUnicodeString@12 @380 + RtlCompareUnicodeStrings@20 @381 + RtlCompressBuffer@32 @382 + RtlComputeCrc32@12 @383 + RtlConvertLongToLargeInteger@4 @386 + RtlConvertSidToUnicodeString@12 @388 + RtlConvertToAutoInheritSecurityObject@24 @389 + RtlConvertUlongToLargeInteger@4 @391 + RtlCopyLuid@8 @392 + RtlCopyLuidAndAttributesArray@12 @393 + RtlCopySecurityDescriptor@8 @394 + RtlCopySid@12 @395 + RtlCopyString@8 @397 + RtlCopyUnicodeString@8 @398 + RtlCreateAcl@12 @399 + RtlCreateActivationContext@8 @400 + RtlCreateAtomTable@8 @402 + RtlCreateEnvironment@8 @403 + RtlCreateHeap@24 @404 + RtlCreateProcessParameters@40 @405 + RtlCreateQueryDebugBuffer@8 @407 + RtlCreateSecurityDescriptor@8 @409 + RtlCreateTimer@28 @411 + RtlCreateTimerQueue@4 @412 + RtlCreateUnicodeString@8 @413 + RtlCreateUnicodeStringFromAsciiz@8 @414 + RtlCreateUserProcess@40 @415 + RtlCreateUserThread@40 @417 + RtlDeNormalizeProcessParams@4 @420 + RtlDeactivateActivationContext@8 @421 + RtlDecodePointer@4 @424 + RtlDecodeSystemPointer@4=RtlDecodePointer@4 @425 + RtlDecompressBuffer@24 @426 + RtlDecompressFragment@32 @427 + RtlDeleteAce@8 @430 + RtlDeleteAtomFromAtomTable@8 @431 + RtlDeleteCriticalSection@4 @432 + RtlDeleteRegistryValue@12 @438 + RtlDeleteResource@4 @439 + RtlDeleteSecurityObject@4 @440 + RtlDeleteTimer@12 @441 + RtlDeleteTimerQueueEx@8 @442 + RtlDeregisterWait@4 @443 + RtlDeregisterWaitEx@8 @444 + RtlDestroyAtomTable@4 @445 + RtlDestroyEnvironment@4 @446 + RtlDestroyHandleTable@4 @447 + RtlDestroyHeap@4 @448 + RtlDestroyProcessParameters@4 @449 + RtlDestroyQueryDebugBuffer@4 @450 + RtlDetermineDosPathNameType_U@4 @451 + RtlDllShutdownInProgress@0 @452 + RtlDoesFileExists_U@4 @453 + RtlDosPathNameToNtPathName_U@16 @454 + RtlDosSearchPath_U@24 @455 + RtlDowncaseUnicodeChar@4 @456 + RtlDowncaseUnicodeString@12 @457 + RtlDumpResource@4 @458 + RtlDuplicateUnicodeString@12 @459 + RtlEmptyAtomTable@8 @460 + RtlEncodePointer@4 @461 + RtlEncodeSystemPointer@4=RtlEncodePointer@4 @462 + RtlEnlargedIntegerMultiply@8 @463 + RtlEnlargedUnsignedDivide@16 @464 + RtlEnlargedUnsignedMultiply@8 @465 + RtlEnterCriticalSection@4 @466 + RtlEnumerateGenericTableWithoutSplaying@8 @469 + RtlEqualComputerName@8 @471 + RtlEqualDomainName@8 @472 + RtlEqualLuid@8 @473 + RtlEqualPrefixSid@8 @474 + RtlEqualSid@8 @475 + RtlEqualString@12 @476 + RtlEqualUnicodeString@12 @477 + RtlEraseUnicodeString@4 @478 + RtlExitUserProcess@4 @479 + RtlExitUserThread@4 @480 + RtlExpandEnvironmentStrings_U@16 @481 + RtlExtendedIntegerMultiply@12 @483 + RtlExtendedLargeIntegerDivide@16 @484 + RtlExtendedMagicDivide@20 @485 + RtlFillMemory@12 @486 + RtlFillMemoryUlong@12 @487 + RtlFindActivationContextSectionGuid@20 @489 + RtlFindActivationContextSectionString@20 @490 + RtlFindCharInUnicodeString@16 @491 + RtlFindClearBits@12 @492 + RtlFindClearBitsAndSet@12 @493 + RtlFindClearRuns@16 @494 + RtlFindLastBackwardRunClear@12 @495 + RtlFindLastBackwardRunSet@12 @496 + RtlFindLeastSignificantBit@8 @497 + RtlFindLongestRunClear@8 @498 + RtlFindLongestRunSet@8 @499 + RtlFindMessage@20 @500 + RtlFindMostSignificantBit@8 @501 + RtlFindNextForwardRunClear@12 @502 + RtlFindNextForwardRunSet@12 @503 + RtlFindSetBits@12 @505 + RtlFindSetBitsAndClear@12 @506 + RtlFindSetRuns@16 @507 + RtlFirstEntrySList@4 @508 + RtlFirstFreeAce@8 @509 + RtlFormatCurrentUserKeyPath@4 @511 + RtlFormatMessage@32 @512 + RtlFreeAnsiString@4 @513 + RtlFreeHandle@8 @514 + RtlFreeHeap@12 @515 + RtlFreeOemString@4 @516 + RtlFreeSid@4 @517 + RtlFreeThreadActivationContextStack@0 @518 + RtlFreeUnicodeString@4 @519 + RtlGUIDFromString@8 @521 + RtlGetAce@12 @523 + RtlGetActiveActivationContext@4 @524 + RtlGetCompressionWorkSpaceSize@12 @526 + RtlGetControlSecurityDescriptor@12 @527 + RtlGetCurrentDirectory_U@8 @528 + RtlGetCurrentPeb@0 @529 + RtlGetCurrentProcessorNumberEx@4 @530 + RtlGetCurrentTransaction@0 @531 + RtlGetDaclSecurityDescriptor@16 @532 + RtlGetFullPathName_U@16 @534 + RtlGetGroupSecurityDescriptor@12 @535 + RtlGetLastNtStatus@0 @536 + RtlGetLastWin32Error@0 @537 + RtlGetLongestNtPathLength@0 @538 + RtlGetNtGlobalFlags@0 @539 + RtlGetNtProductType@4 @540 + RtlGetNtVersionNumbers@12 @541 + RtlGetOwnerSecurityDescriptor@12 @542 + RtlGetProductInfo@20 @543 + RtlGetProcessHeaps@8 @544 + RtlGetSaclSecurityDescriptor@16 @545 + RtlGetThreadErrorMode@0 @546 + RtlGetVersion@4 @548 + RtlHashUnicodeString@16 @550 + RtlIdentifierAuthoritySid@4 @551 + RtlImageDirectoryEntryToData@16 @552 + RtlImageNtHeader@4 @553 + RtlImageRvaToSection@12 @554 + RtlImageRvaToVa@16 @555 + RtlImpersonateSelf@4 @556 + RtlInitAnsiString@8 @557 + RtlInitAnsiStringEx@8 @558 + RtlInitString@8 @561 + RtlInitUnicodeString@8 @562 + RtlInitUnicodeStringEx@8 @563 + RtlInitializeBitMap@12 @564 + RtlInitializeConditionVariable@4 @565 + RtlInitializeCriticalSection@4 @567 + RtlInitializeCriticalSectionAndSpinCount@8 @568 + RtlInitializeCriticalSectionEx@12 @569 + RtlInitializeGenericTable@20 @570 + RtlInitializeGenericTableAvl@20 @571 + RtlInitializeHandleTable@12 @572 + RtlInitializeResource@4 @574 + RtlInitializeSListHead@4 @575 + RtlInitializeSRWLock@4 @576 + RtlInitializeSid@12 @577 + RtlInsertElementGenericTableAvl@16 @579 + RtlInt64ToUnicodeString@16 @580 + RtlIntegerToChar@16 @581 + RtlIntegerToUnicodeString@12 @582 + RtlInterlockedCompareExchange64@20 @583 + RtlInterlockedFlushSList@4 @584 + RtlInterlockedPopEntrySList@4 @585 + RtlInterlockedPushEntrySList@8 @586 + RtlInterlockedPushListSList@16 @587 + RtlInterlockedPushListSListEx@16 @588 + RtlIpv4AddressToStringA@8 @589 + RtlIpv4AddressToStringExA@16 @590 + RtlIpv4AddressToStringExW@16 @591 + RtlIpv4AddressToStringW@8 @592 + RtlIpv4StringToAddressExW@16 @593 + RtlIpv4StringToAddressW@16 @594 + RtlIsActivationContextActive@4 @595 + RtlIsCriticalSectionLocked@4 @596 + RtlIsCriticalSectionLockedByThread@4 @597 + RtlIsDosDeviceName_U@4 @598 + RtlIsNameLegalDOS8Dot3@12 @600 + RtlIsTextUnicode@12 @601 + RtlIsValidHandle@8 @602 + RtlIsValidIndexHandle@12 @603 + RtlLargeIntegerAdd@16 @604 + RtlLargeIntegerArithmeticShift@12 @605 + RtlLargeIntegerDivide@20 @606 + RtlLargeIntegerNegate@8 @607 + RtlLargeIntegerShiftLeft@12 @608 + RtlLargeIntegerShiftRight@12 @609 + RtlLargeIntegerSubtract@16 @610 + RtlLargeIntegerToChar@16 @611 + RtlLeaveCriticalSection@4 @612 + RtlLengthRequiredSid@4 @613 + RtlLengthSecurityDescriptor@4 @614 + RtlLengthSid@4 @615 + RtlLocalTimeToSystemTime@8 @616 + RtlLockHeap@4 @617 + RtlLookupAtomInAtomTable@12 @618 + RtlMakeSelfRelativeSD@12 @620 + RtlMapGenericMask@8 @621 + RtlMoveMemory@12 @622 + RtlMultiByteToUnicodeN@20 @623 + RtlMultiByteToUnicodeSize@12 @624 + RtlNewSecurityObject@24 @627 + RtlNormalizeProcessParams@4 @628 + RtlNtStatusToDosError@4 @629 + RtlNtStatusToDosErrorNoTeb@4 @630 + RtlNumberGenericTableElements@4 @631 + RtlNumberOfClearBits@4 @632 + RtlNumberOfSetBits@4 @633 + RtlOemStringToUnicodeSize@4 @634 + RtlOemStringToUnicodeString@12 @635 + RtlOemToUnicodeN@20 @636 + RtlOpenCurrentUser@8 @637 + RtlPcToFileHeader@8 @638 + RtlPinAtomInAtomTable@8 @639 + RtlPrefixString@12 @640 + RtlPrefixUnicodeString@12 @641 + RtlQueryAtomInAtomTable@24 @644 + RtlQueryDepthSList@4 @645 + RtlQueryDynamicTimeZoneInformation@4 @646 + RtlQueryEnvironmentVariable_U@12 @647 + RtlQueryHeapInformation@20 @648 + RtlQueryInformationAcl@16 @649 + RtlQueryInformationActivationContext@28 @650 + RtlQueryProcessDebugInformation@12 @654 + RtlQueryRegistryValues@20 @660 + RtlQueryTimeZoneInformation@4 @663 + RtlQueryUnbiasedInterruptTime@4 @664 + RtlQueueWorkItem@12 @666 + RtlRaiseException@4 @667 + RtlRaiseStatus@4 @668 + RtlRandom@4 @669 + RtlReAllocateHeap@16 @671 + RtlRegisterWait@24 @677 + RtlReleaseActivationContext@4 @678 + RtlReleasePebLock@0 @680 + RtlReleaseResource@4 @681 + RtlReleaseSRWLockExclusive@4 @682 + RtlReleaseSRWLockShared@4 @683 + RtlRemoveVectoredContinueHandler@4 @685 + RtlRemoveVectoredExceptionHandler@4 @686 + RtlRestoreLastWin32Error@4=RtlSetLastWin32Error@4 @688 + RtlRunOnceBeginInitialize@12 @692 + RtlRunOnceComplete@12 @693 + RtlRunOnceExecuteOnce@16 @694 + RtlRunOnceInitialize@4 @695 + RtlSecondsSince1970ToTime@8 @696 + RtlSecondsSince1980ToTime@8 @697 + RtlSelfRelativeToAbsoluteSD@44 @698 + RtlSetAllBits@4 @699 + RtlSetBits@12 @700 + RtlSetControlSecurityDescriptor@12 @701 + RtlSetCriticalSectionSpinCount@8 @702 + RtlSetCurrentDirectory_U@4 @703 + RtlSetCurrentEnvironment@8 @704 + RtlSetCurrentTransaction@4 @705 + RtlSetDaclSecurityDescriptor@16 @706 + RtlSetEnvironmentVariable@12 @707 + RtlSetGroupSecurityDescriptor@12 @708 + RtlSetHeapInformation@16 @709 + RtlSetIoCompletionCallback@12 @711 + RtlSetLastWin32Error@4 @712 + RtlSetLastWin32ErrorAndNtStatusFromNtStatus@4 @713 + RtlSetOwnerSecurityDescriptor@12 @714 + RtlSetSaclSecurityDescriptor@16 @719 + RtlSetThreadErrorMode@8 @721 + RtlSetTimeZoneInformation@4 @722 + RtlSizeHeap@12 @726 + RtlSleepConditionVariableCS@12 @727 + RtlSleepConditionVariableSRW@16 @728 + RtlStringFromGUID@8 @731 + RtlSubAuthorityCountSid@4 @732 + RtlSubAuthoritySid@8 @733 + RtlSystemTimeToLocalTime@8 @736 + RtlTimeFieldsToTime@8 @737 + RtlTimeToElapsedTimeFields@8 @738 + RtlTimeToSecondsSince1970@8 @739 + RtlTimeToSecondsSince1980@8 @740 + RtlTimeToTimeFields@8 @741 + RtlTryAcquireSRWLockExclusive@4 @742 + RtlTryAcquireSRWLockShared@4 @743 + RtlTryEnterCriticalSection@4 @744 + RtlUlongByteSwap=NTDLL_RtlUlongByteSwap @745 + RtlUlonglongByteSwap @746 + RtlUnicodeStringToAnsiSize@4 @747 + RtlUnicodeStringToAnsiString@12 @748 + RtlUnicodeStringToInteger@12 @750 + RtlUnicodeStringToOemSize@4 @751 + RtlUnicodeStringToOemString@12 @752 + RtlUnicodeToMultiByteN@20 @754 + RtlUnicodeToMultiByteSize@12 @755 + RtlUnicodeToOemN@20 @756 + RtlUniform@4 @757 + RtlUnlockHeap@4 @758 + RtlUnwind@16 @759 + RtlUpcaseUnicodeChar@4 @760 + RtlUpcaseUnicodeString@12 @761 + RtlUpcaseUnicodeStringToAnsiString@12 @762 + RtlUpcaseUnicodeStringToCountedOemString@12 @763 + RtlUpcaseUnicodeStringToOemString@12 @764 + RtlUpcaseUnicodeToMultiByteN@20 @766 + RtlUpcaseUnicodeToOemN@20 @767 + RtlUpdateTimer@16 @768 + RtlUpperChar@4 @769 + RtlUpperString@8 @770 + RtlUshortByteSwap=NTDLL_RtlUshortByteSwap @772 + RtlValidAcl@4 @773 + RtlValidRelativeSecurityDescriptor@12 @774 + RtlValidSecurityDescriptor@4 @775 + RtlValidSid@4 @776 + RtlValidateHeap@12 @777 + RtlVerifyVersionInfo@16 @779 + RtlWakeAllConditionVariable@4 @780 + RtlWakeConditionVariable@4 @781 + RtlWalkHeap@8 @783 + RtlWow64EnableFsRedirection@4 @784 + RtlWow64EnableFsRedirectionEx@8 @785 + RtlWriteRegistryValue@24 @787 + RtlZeroMemory@8 @789 + RtlZombifyActivationContext@4 @790 + RtlpNtCreateKey@28 @791 + RtlpNtEnumerateSubKey@12 @792 + RtlpNtMakeTemporaryKey@4 @793 + RtlpNtOpenKey@12 @794 + RtlpNtQueryValueKey@20 @795 + RtlpNtSetValueKey@16 @796 + RtlpUnWaitCriticalSection@4 @797 + RtlpWaitForCriticalSection@4 @798 + RtlxAnsiStringToUnicodeSize@4=RtlAnsiStringToUnicodeSize@4 @799 + RtlxOemStringToUnicodeSize@4=RtlOemStringToUnicodeSize@4 @800 + RtlxUnicodeStringToAnsiSize@4=RtlUnicodeStringToAnsiSize@4 @801 + RtlxUnicodeStringToOemSize@4=RtlUnicodeStringToOemSize@4 @802 + TpAllocCleanupGroup@4 @803 + TpAllocPool@8 @804 + TpAllocTimer@16 @805 + TpAllocWait@16 @806 + TpAllocWork@16 @807 + TpCallbackLeaveCriticalSectionOnCompletion@8 @808 + TpCallbackMayRunLong@4 @809 + TpCallbackReleaseMutexOnCompletion@8 @810 + TpCallbackReleaseSemaphoreOnCompletion@12 @811 + TpCallbackSetEventOnCompletion@8 @812 + TpCallbackUnloadDllOnCompletion@8 @813 + TpDisassociateCallback@4 @814 + TpIsTimerSet@4 @815 + TpPostWork@4 @816 + TpReleaseCleanupGroup@4 @817 + TpReleaseCleanupGroupMembers@12 @818 + TpReleasePool@4 @819 + TpReleaseTimer@4 @820 + TpReleaseWait@4 @821 + TpReleaseWork@4 @822 + TpSetPoolMaxThreads@8 @823 + TpSetPoolMinThreads@8 @824 + TpSetTimer@16 @825 + TpSetWait@12 @826 + TpSimpleTryPost@12 @827 + TpWaitForTimer@8 @828 + TpWaitForWait@8 @829 + TpWaitForWork@8 @830 + VerSetConditionMask@16 @831 + WinSqmEndSession@4 @832 + WinSqmIsOptedIn@0 @833 + WinSqmStartSession@12 @834 + ZwAcceptConnectPort@24=NtAcceptConnectPort@24 @835 PRIVATE + ZwAccessCheck@32=NtAccessCheck@32 @836 PRIVATE + ZwAccessCheckAndAuditAlarm@44=NtAccessCheckAndAuditAlarm@44 @837 PRIVATE + ZwAddAtom@12=NtAddAtom@12 @838 PRIVATE + ZwAdjustGroupsToken@24=NtAdjustGroupsToken@24 @839 PRIVATE + ZwAdjustPrivilegesToken@24=NtAdjustPrivilegesToken@24 @840 PRIVATE + ZwAlertResumeThread@8=NtAlertResumeThread@8 @841 PRIVATE + ZwAlertThread@4=NtAlertThread@4 @842 PRIVATE + ZwAllocateLocallyUniqueId@4=NtAllocateLocallyUniqueId@4 @843 PRIVATE + ZwAllocateUuids@12=NtAllocateUuids@12 @844 PRIVATE + ZwAllocateVirtualMemory@24=NtAllocateVirtualMemory@24 @845 PRIVATE + ZwAreMappedFilesTheSame@8=NtAreMappedFilesTheSame@8 @846 PRIVATE + ZwAssignProcessToJobObject@8=NtAssignProcessToJobObject@8 @847 PRIVATE + ZwCancelIoFile@8=NtCancelIoFile@8 @849 PRIVATE + ZwCancelIoFileEx@12=NtCancelIoFileEx@12 @850 PRIVATE + ZwCancelTimer@8=NtCancelTimer@8 @851 PRIVATE + ZwClearEvent@4=NtClearEvent@4 @852 PRIVATE + ZwClose@4=NtClose@4 @853 PRIVATE + ZwCompleteConnectPort@4=NtCompleteConnectPort@4 @855 PRIVATE + ZwConnectPort@32=NtConnectPort@32 @856 PRIVATE + ZwCreateDirectoryObject@12=NtCreateDirectoryObject@12 @858 PRIVATE + ZwCreateEvent@20=NtCreateEvent@20 @859 PRIVATE + ZwCreateFile@44=NtCreateFile@44 @861 PRIVATE + ZwCreateIoCompletion@16=NtCreateIoCompletion@16 @862 PRIVATE + ZwCreateJobObject@12=NtCreateJobObject@12 @863 PRIVATE + ZwCreateKey@28=NtCreateKey@28 @864 PRIVATE + ZwCreateKeyTransacted@32=NtCreateKeyTransacted@32 @865 PRIVATE + ZwCreateKeyedEvent@16=NtCreateKeyedEvent@16 @866 PRIVATE + ZwCreateMailslotFile@32=NtCreateMailslotFile@32 @867 PRIVATE + ZwCreateMutant@16=NtCreateMutant@16 @868 PRIVATE + ZwCreateNamedPipeFile@56=NtCreateNamedPipeFile@56 @869 PRIVATE + ZwCreatePagingFile@16=NtCreatePagingFile@16 @870 PRIVATE + ZwCreatePort@20=NtCreatePort@20 @871 PRIVATE + ZwCreateSection@28=NtCreateSection@28 @874 PRIVATE + ZwCreateSemaphore@20=NtCreateSemaphore@20 @875 PRIVATE + ZwCreateSymbolicLinkObject@16=NtCreateSymbolicLinkObject@16 @876 PRIVATE + ZwCreateTimer@16=NtCreateTimer@16 @878 PRIVATE + ZwDelayExecution@8=NtDelayExecution@8 @880 PRIVATE + ZwDeleteAtom@4=NtDeleteAtom@4 @881 PRIVATE + ZwDeleteFile@4=NtDeleteFile@4 @882 PRIVATE + ZwDeleteKey@4=NtDeleteKey@4 @883 PRIVATE + ZwDeleteValueKey@8=NtDeleteValueKey@8 @884 PRIVATE + ZwDeviceIoControlFile@40=NtDeviceIoControlFile@40 @885 PRIVATE + ZwDisplayString@4=NtDisplayString@4 @886 PRIVATE + ZwDuplicateObject@28=NtDuplicateObject@28 @887 PRIVATE + ZwDuplicateToken@24=NtDuplicateToken@24 @888 PRIVATE + ZwEnumerateKey@24=NtEnumerateKey@24 @890 PRIVATE + ZwEnumerateValueKey@24=NtEnumerateValueKey@24 @891 PRIVATE + ZwFindAtom@12=NtFindAtom@12 @893 PRIVATE + ZwFlushBuffersFile@8=NtFlushBuffersFile@8 @894 PRIVATE + ZwFlushInstructionCache@12=NtFlushInstructionCache@12 @895 PRIVATE + ZwFlushKey@4=NtFlushKey@4 @896 PRIVATE + ZwFlushVirtualMemory@16=NtFlushVirtualMemory@16 @897 PRIVATE + ZwFreeVirtualMemory@16=NtFreeVirtualMemory@16 @899 PRIVATE + ZwFsControlFile@40=NtFsControlFile@40 @900 PRIVATE + ZwGetContextThread@8=NtGetContextThread@8 @901 PRIVATE + ZwGetCurrentProcessorNumber@0=NtGetCurrentProcessorNumber@0 @902 PRIVATE + ZwGetTickCount@0=NtGetTickCount@0 @904 PRIVATE + ZwGetWriteWatch@28=NtGetWriteWatch@28 @905 PRIVATE + ZwImpersonateAnonymousToken@4=NtImpersonateAnonymousToken@4 @906 PRIVATE + ZwInitiatePowerAction@16=NtInitiatePowerAction@16 @910 PRIVATE + ZwIsProcessInJob@8=NtIsProcessInJob@8 @911 PRIVATE + ZwListenPort@8=NtListenPort@8 @912 PRIVATE + ZwLoadDriver@4=NtLoadDriver@4 @913 PRIVATE + ZwLoadKey2@12=NtLoadKey2@12 @914 PRIVATE + ZwLoadKey@8=NtLoadKey@8 @915 PRIVATE + ZwLockFile@40=NtLockFile@40 @916 PRIVATE + ZwLockVirtualMemory@16=NtLockVirtualMemory@16 @917 PRIVATE + ZwMakeTemporaryObject@4=NtMakeTemporaryObject@4 @918 PRIVATE + ZwMapViewOfSection@40=NtMapViewOfSection@40 @919 PRIVATE + ZwNotifyChangeDirectoryFile@36=NtNotifyChangeDirectoryFile@36 @920 PRIVATE + ZwNotifyChangeKey@40=NtNotifyChangeKey@40 @921 PRIVATE + ZwNotifyChangeMultipleKeys@48=NtNotifyChangeMultipleKeys@48 @922 PRIVATE + ZwOpenDirectoryObject@12=NtOpenDirectoryObject@12 @923 PRIVATE + ZwOpenEvent@12=NtOpenEvent@12 @924 PRIVATE + ZwOpenFile@24=NtOpenFile@24 @926 PRIVATE + ZwOpenIoCompletion@12=NtOpenIoCompletion@12 @927 PRIVATE + ZwOpenJobObject@12=NtOpenJobObject@12 @928 PRIVATE + ZwOpenKey@12=NtOpenKey@12 @929 PRIVATE + ZwOpenKeyEx@16=NtOpenKeyEx@16 @930 PRIVATE + ZwOpenKeyTransacted@16=NtOpenKeyTransacted@16 @931 PRIVATE + ZwOpenKeyTransactedEx@20=NtOpenKeyTransactedEx@20 @932 PRIVATE + ZwOpenKeyedEvent@12=NtOpenKeyedEvent@12 @933 PRIVATE + ZwOpenMutant@12=NtOpenMutant@12 @934 PRIVATE + ZwOpenProcess@16=NtOpenProcess@16 @936 PRIVATE + ZwOpenProcessToken@12=NtOpenProcessToken@12 @937 PRIVATE + ZwOpenProcessTokenEx@16=NtOpenProcessTokenEx@16 @938 PRIVATE + ZwOpenSection@12=NtOpenSection@12 @939 PRIVATE + ZwOpenSemaphore@12=NtOpenSemaphore@12 @940 PRIVATE + ZwOpenSymbolicLinkObject@12=NtOpenSymbolicLinkObject@12 @941 PRIVATE + ZwOpenThread@16=NtOpenThread@16 @942 PRIVATE + ZwOpenThreadToken@16=NtOpenThreadToken@16 @943 PRIVATE + ZwOpenThreadTokenEx@20=NtOpenThreadTokenEx@20 @944 PRIVATE + ZwOpenTimer@12=NtOpenTimer@12 @945 PRIVATE + ZwPowerInformation@20=NtPowerInformation@20 @947 PRIVATE + ZwPrivilegeCheck@12=NtPrivilegeCheck@12 @948 PRIVATE + ZwProtectVirtualMemory@20=NtProtectVirtualMemory@20 @951 PRIVATE + ZwPulseEvent@8=NtPulseEvent@8 @952 PRIVATE + ZwQueryAttributesFile@8=NtQueryAttributesFile@8 @953 PRIVATE + ZwQueryDefaultLocale@8=NtQueryDefaultLocale@8 @954 PRIVATE + ZwQueryDefaultUILanguage@4=NtQueryDefaultUILanguage@4 @955 PRIVATE + ZwQueryDirectoryFile@44=NtQueryDirectoryFile@44 @956 PRIVATE + ZwQueryDirectoryObject@28=NtQueryDirectoryObject@28 @957 PRIVATE + ZwQueryEaFile@36=NtQueryEaFile@36 @958 PRIVATE + ZwQueryEvent@20=NtQueryEvent@20 @959 PRIVATE + ZwQueryFullAttributesFile@8=NtQueryFullAttributesFile@8 @960 PRIVATE + ZwQueryInformationAtom@20=NtQueryInformationAtom@20 @961 PRIVATE + ZwQueryInformationFile@20=NtQueryInformationFile@20 @962 PRIVATE + ZwQueryInformationJobObject@20=NtQueryInformationJobObject@20 @963 PRIVATE + ZwQueryInformationProcess@20=NtQueryInformationProcess@20 @965 PRIVATE + ZwQueryInformationThread@20=NtQueryInformationThread@20 @966 PRIVATE + ZwQueryInformationToken@20=NtQueryInformationToken@20 @967 PRIVATE + ZwQueryInstallUILanguage@4=NtQueryInstallUILanguage@4 @968 PRIVATE + ZwQueryIoCompletion@20=NtQueryIoCompletion@20 @970 PRIVATE + ZwQueryKey@20=NtQueryKey@20 @971 PRIVATE + ZwQueryLicenseValue@20=NtQueryLicenseValue@20 @972 PRIVATE + ZwQueryMultipleValueKey@24=NtQueryMultipleValueKey@24 @973 PRIVATE + ZwQueryMutant@20=NtQueryMutant@20 @974 PRIVATE + ZwQueryObject@20=NtQueryObject@20 @975 PRIVATE + ZwQueryPerformanceCounter@8=NtQueryPerformanceCounter@8 @977 PRIVATE + ZwQuerySection@20=NtQuerySection@20 @978 PRIVATE + ZwQuerySecurityObject@20=NtQuerySecurityObject@20 @979 PRIVATE + ZwQuerySemaphore@20=NtQuerySemaphore@20 @980 PRIVATE + ZwQuerySymbolicLinkObject@12=NtQuerySymbolicLinkObject@12 @981 PRIVATE + ZwQuerySystemEnvironmentValue@16=NtQuerySystemEnvironmentValue@16 @982 PRIVATE + ZwQuerySystemEnvironmentValueEx@20=NtQuerySystemEnvironmentValueEx@20 @983 PRIVATE + ZwQuerySystemInformation@16=NtQuerySystemInformation@16 @984 PRIVATE + ZwQuerySystemInformationEx@24=NtQuerySystemInformationEx@24 @985 PRIVATE + ZwQuerySystemTime@4=NtQuerySystemTime@4 @986 PRIVATE + ZwQueryTimer@20=NtQueryTimer@20 @987 PRIVATE + ZwQueryTimerResolution@12=NtQueryTimerResolution@12 @988 PRIVATE + ZwQueryValueKey@24=NtQueryValueKey@24 @989 PRIVATE + ZwQueryVirtualMemory@24=NtQueryVirtualMemory@24 @990 PRIVATE + ZwQueryVolumeInformationFile@20=NtQueryVolumeInformationFile@20 @991 PRIVATE + ZwQueueApcThread@20=NtQueueApcThread@20 @992 PRIVATE + ZwRaiseException@12=NtRaiseException@12 @993 PRIVATE + ZwRaiseHardError@24=NtRaiseHardError@24 @994 PRIVATE + ZwReadFile@36=NtReadFile@36 @995 PRIVATE + ZwReadFileScatter@36=NtReadFileScatter@36 @996 PRIVATE + ZwReadVirtualMemory@20=NtReadVirtualMemory@20 @998 PRIVATE + ZwRegisterThreadTerminatePort@4=NtRegisterThreadTerminatePort@4 @1000 PRIVATE + ZwReleaseKeyedEvent@16=NtReleaseKeyedEvent@16 @1001 PRIVATE + ZwReleaseMutant@8=NtReleaseMutant@8 @1002 PRIVATE + ZwReleaseSemaphore@12=NtReleaseSemaphore@12 @1004 PRIVATE + ZwRemoveIoCompletion@20=NtRemoveIoCompletion@20 @1005 PRIVATE + ZwRenameKey@8=NtRenameKey@8 @1006 PRIVATE + ZwReplaceKey@12=NtReplaceKey@12 @1007 PRIVATE + ZwReplyWaitReceivePort@16=NtReplyWaitReceivePort@16 @1009 PRIVATE + ZwRequestWaitReplyPort@12=NtRequestWaitReplyPort@12 @1013 PRIVATE + ZwResetEvent@8=NtResetEvent@8 @1014 PRIVATE + ZwResetWriteWatch@12=NtResetWriteWatch@12 @1015 PRIVATE + ZwRestoreKey@12=NtRestoreKey@12 @1016 PRIVATE + ZwResumeProcess@4=NtResumeProcess@4 @1017 PRIVATE + ZwResumeThread@8=NtResumeThread@8 @1018 PRIVATE + ZwSaveKey@8=NtSaveKey@8 @1019 PRIVATE + ZwSecureConnectPort@36=NtSecureConnectPort@36 @1020 PRIVATE + ZwSetContextThread@8=NtSetContextThread@8 @1021 PRIVATE + ZwSetDefaultLocale@8=NtSetDefaultLocale@8 @1024 PRIVATE + ZwSetDefaultUILanguage@4=NtSetDefaultUILanguage@4 @1025 PRIVATE + ZwSetEaFile@16=NtSetEaFile@16 @1026 PRIVATE + ZwSetEvent@8=NtSetEvent@8 @1027 PRIVATE + ZwSetInformationFile@20=NtSetInformationFile@20 @1031 PRIVATE + ZwSetInformationJobObject@16=NtSetInformationJobObject@16 @1032 PRIVATE + ZwSetInformationKey@16=NtSetInformationKey@16 @1033 PRIVATE + ZwSetInformationObject@16=NtSetInformationObject@16 @1034 PRIVATE + ZwSetInformationProcess@16=NtSetInformationProcess@16 @1035 PRIVATE + ZwSetInformationThread@16=NtSetInformationThread@16 @1036 PRIVATE + ZwSetInformationToken@16=NtSetInformationToken@16 @1037 PRIVATE + ZwSetIntervalProfile@8=NtSetIntervalProfile@8 @1038 PRIVATE + ZwSetIoCompletion@20=NtSetIoCompletion@20 @1039 PRIVATE + ZwSetLdtEntries@24=NtSetLdtEntries@24 @1040 PRIVATE + ZwSetSecurityObject@12=NtSetSecurityObject@12 @1044 PRIVATE + ZwSetSystemInformation@12=NtSetSystemInformation@12 @1046 PRIVATE + ZwSetSystemTime@8=NtSetSystemTime@8 @1048 PRIVATE + ZwSetTimer@28=NtSetTimer@28 @1049 PRIVATE + ZwSetTimerResolution@12=NtSetTimerResolution@12 @1050 PRIVATE + ZwSetValueKey@24=NtSetValueKey@24 @1051 PRIVATE + ZwSetVolumeInformationFile@20=NtSetVolumeInformationFile@20 @1052 PRIVATE + ZwShutdownSystem@4=NtShutdownSystem@4 @1053 PRIVATE + ZwSignalAndWaitForSingleObject@16=NtSignalAndWaitForSingleObject@16 @1054 PRIVATE + ZwSuspendProcess@4=NtSuspendProcess@4 @1057 PRIVATE + ZwSuspendThread@8=NtSuspendThread@8 @1058 PRIVATE + ZwSystemDebugControl@24=NtSystemDebugControl@24 @1059 PRIVATE + ZwTerminateJobObject@8=NtTerminateJobObject@8 @1060 PRIVATE + ZwTerminateProcess@8=NtTerminateProcess@8 @1061 PRIVATE + ZwTerminateThread@8=NtTerminateThread@8 @1062 PRIVATE + ZwUnloadDriver@4=NtUnloadDriver@4 @1064 PRIVATE + ZwUnloadKey@4=NtUnloadKey@4 @1065 PRIVATE + ZwUnlockFile@20=NtUnlockFile@20 @1067 PRIVATE + ZwUnlockVirtualMemory@16=NtUnlockVirtualMemory@16 @1068 PRIVATE + ZwUnmapViewOfSection@8=NtUnmapViewOfSection@8 @1069 PRIVATE + ZwWaitForKeyedEvent@16=NtWaitForKeyedEvent@16 @1072 PRIVATE + ZwWaitForMultipleObjects@20=NtWaitForMultipleObjects@20 @1073 PRIVATE + ZwWaitForSingleObject@12=NtWaitForSingleObject@12 @1075 PRIVATE + ZwWriteFile@36=NtWriteFile@36 @1078 PRIVATE + ZwWriteFileGather@36=NtWriteFileGather@36 @1079 PRIVATE + ZwWriteVirtualMemory@20=NtWriteVirtualMemory@20 @1081 PRIVATE + ZwYieldExecution@0=NtYieldExecution@0 @1082 PRIVATE + _CIcos=NTDLL__CIcos @1083 PRIVATE + _CIlog=NTDLL__CIlog @1084 PRIVATE + _CIpow=NTDLL__CIpow @1085 PRIVATE + _CIsin=NTDLL__CIsin @1086 PRIVATE + _CIsqrt=NTDLL__CIsqrt @1087 PRIVATE + __isascii=NTDLL___isascii @1088 PRIVATE + __iscsym=NTDLL___iscsym @1089 PRIVATE + __iscsymf=NTDLL___iscsymf @1090 PRIVATE + __toascii=NTDLL___toascii @1091 PRIVATE + _alldiv@16 @1092 PRIVATE + _allmul@16 @1093 PRIVATE + _alloca_probe@0 @1094 PRIVATE + _allrem@16 @1095 PRIVATE + _allshl@12 @1096 PRIVATE + _allshr@12 @1097 PRIVATE + _atoi64 @1098 PRIVATE + _aulldiv@16 @1099 PRIVATE + _aullrem@16 @1100 PRIVATE + _aullshr@12 @1101 PRIVATE + _chkstk@0 @1102 PRIVATE + _ftol=NTDLL__ftol @1104 PRIVATE + _i64toa @1105 PRIVATE + _i64tow @1106 PRIVATE + _itoa @1107 PRIVATE + _itow @1108 PRIVATE + _lfind @1109 PRIVATE + _ltoa @1110 PRIVATE + _ltow @1111 PRIVATE + _memccpy @1112 PRIVATE + _memicmp @1113 PRIVATE + _snprintf=NTDLL__snprintf @1114 PRIVATE + _snwprintf=NTDLL__snwprintf @1115 PRIVATE + _splitpath @1116 PRIVATE + _strcmpi=_stricmp @1117 PRIVATE + _stricmp @1118 PRIVATE + _strlwr @1119 PRIVATE + _strnicmp @1120 PRIVATE + _strupr @1121 PRIVATE + _tolower=NTDLL__tolower @1122 PRIVATE + _toupper=NTDLL__toupper @1123 PRIVATE + _ui64toa @1124 PRIVATE + _ui64tow @1125 PRIVATE + _ultoa @1126 PRIVATE + _ultow @1127 PRIVATE + _vsnprintf=NTDLL__vsnprintf @1128 PRIVATE + _vsnwprintf=NTDLL__vsnwprintf @1129 PRIVATE + _wcsicmp=NTDLL__wcsicmp @1130 PRIVATE + _wcslwr=NTDLL__wcslwr @1131 PRIVATE + _wcsnicmp=NTDLL__wcsnicmp @1132 PRIVATE + _wcsupr=NTDLL__wcsupr @1133 PRIVATE + _wtoi @1134 PRIVATE + _wtoi64 @1135 PRIVATE + _wtol @1136 PRIVATE + abs=NTDLL_abs @1137 PRIVATE + atan=NTDLL_atan @1138 PRIVATE + atoi=NTDLL_atoi @1139 PRIVATE + atol=NTDLL_atol @1140 PRIVATE + bsearch=NTDLL_bsearch @1141 PRIVATE + ceil=NTDLL_ceil @1142 PRIVATE + cos=NTDLL_cos @1143 PRIVATE + fabs=NTDLL_fabs @1144 PRIVATE + floor=NTDLL_floor @1145 PRIVATE + isalnum=NTDLL_isalnum @1146 PRIVATE + isalpha=NTDLL_isalpha @1147 PRIVATE + iscntrl=NTDLL_iscntrl @1148 PRIVATE + isdigit=NTDLL_isdigit @1149 PRIVATE + isgraph=NTDLL_isgraph @1150 PRIVATE + islower=NTDLL_islower @1151 PRIVATE + isprint=NTDLL_isprint @1152 PRIVATE + ispunct=NTDLL_ispunct @1153 PRIVATE + isspace=NTDLL_isspace @1154 PRIVATE + isupper=NTDLL_isupper @1155 PRIVATE + iswalpha=NTDLL_iswalpha @1156 PRIVATE + iswctype=NTDLL_iswctype @1157 PRIVATE + iswdigit=NTDLL_iswdigit @1158 PRIVATE + iswlower=NTDLL_iswlower @1159 PRIVATE + iswspace=NTDLL_iswspace @1160 PRIVATE + iswxdigit=NTDLL_iswxdigit @1161 PRIVATE + isxdigit=NTDLL_isxdigit @1162 PRIVATE + labs=NTDLL_labs @1163 PRIVATE + log=NTDLL_log @1164 PRIVATE + mbstowcs=NTDLL_mbstowcs @1165 PRIVATE + memchr=NTDLL_memchr @1166 PRIVATE + memcmp=NTDLL_memcmp @1167 PRIVATE + memcpy=NTDLL_memcpy @1168 PRIVATE + memmove=NTDLL_memmove @1169 PRIVATE + memset=NTDLL_memset @1170 PRIVATE + pow=NTDLL_pow @1171 PRIVATE + qsort=NTDLL_qsort @1172 PRIVATE + sin=NTDLL_sin @1173 PRIVATE + sprintf=NTDLL_sprintf @1174 PRIVATE + sqrt=NTDLL_sqrt @1175 PRIVATE + sscanf=NTDLL_sscanf @1176 PRIVATE + strcat=NTDLL_strcat @1177 PRIVATE + strchr=NTDLL_strchr @1178 PRIVATE + strcmp=NTDLL_strcmp @1179 PRIVATE + strcpy=NTDLL_strcpy @1180 PRIVATE + strcspn=NTDLL_strcspn @1181 PRIVATE + strlen=NTDLL_strlen @1182 PRIVATE + strncat=NTDLL_strncat @1183 PRIVATE + strncmp=NTDLL_strncmp @1184 PRIVATE + strncpy=NTDLL_strncpy @1185 PRIVATE + strpbrk=NTDLL_strpbrk @1186 PRIVATE + strrchr=NTDLL_strrchr @1187 PRIVATE + strspn=NTDLL_strspn @1188 PRIVATE + strstr=NTDLL_strstr @1189 PRIVATE + strtol=NTDLL_strtol @1190 PRIVATE + strtoul=NTDLL_strtoul @1191 PRIVATE + swprintf=NTDLL_swprintf @1192 PRIVATE + tan=NTDLL_tan @1193 PRIVATE + tolower=NTDLL_tolower @1194 PRIVATE + toupper=NTDLL_toupper @1195 PRIVATE + towlower=NTDLL_towlower @1196 PRIVATE + towupper=NTDLL_towupper @1197 PRIVATE + vDbgPrintEx@16 @1198 + vDbgPrintExWithPrefix@20 @1199 + vsprintf=NTDLL_vsprintf @1200 PRIVATE + wcscat=NTDLL_wcscat @1201 PRIVATE + wcschr=NTDLL_wcschr @1202 PRIVATE + wcscmp=NTDLL_wcscmp @1203 PRIVATE + wcscpy=NTDLL_wcscpy @1204 PRIVATE + wcscspn=NTDLL_wcscspn @1205 PRIVATE + wcslen=NTDLL_wcslen @1206 PRIVATE + wcsncat=NTDLL_wcsncat @1207 PRIVATE + wcsncmp=NTDLL_wcsncmp @1208 PRIVATE + wcsncpy=NTDLL_wcsncpy @1209 PRIVATE + wcspbrk=NTDLL_wcspbrk @1210 PRIVATE + wcsrchr=NTDLL_wcsrchr @1211 PRIVATE + wcsspn=NTDLL_wcsspn @1212 PRIVATE + wcsstr=NTDLL_wcsstr @1213 PRIVATE + wcstok=NTDLL_wcstok @1214 PRIVATE + wcstol=NTDLL_wcstol @1215 PRIVATE + wcstombs=NTDLL_wcstombs @1216 PRIVATE + wcstoul=NTDLL_wcstoul @1217 PRIVATE + __wine_enter_vm86 @1218 + wine_server_call @1219 + wine_server_fd_to_handle @1220 + wine_server_handle_to_fd @1221 + wine_server_release_fd @1222 + wine_server_send_fd @1223 + __wine_make_process_system @1224 + wine_get_version=NTDLL_wine_get_version @1225 + wine_get_build_id=NTDLL_wine_get_build_id @1226 + wine_get_host_version=NTDLL_wine_get_host_version @1227 + __wine_init_codepages @1228 + __wine_set_signal_handler @1229 + wine_nt_to_unix_file_name @1230 + wine_unix_to_nt_file_name @1231 + __wine_init_windows_dir @1232 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntdsapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntdsapi.def new file mode 100644 index 0000000..64fe1ac --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntdsapi.def @@ -0,0 +1,13 @@ +; File generated automatically from ./dlls/ntdsapi/ntdsapi.spec; do not edit! + +LIBRARY ntdsapi.dll + +EXPORTS + DsBindA@12 @3 + DsBindW@12 @4 + DsClientMakeSpnForTargetServerW@16 @10 + DsGetSpnA@36 @32 + DsMakeSpnA@28 @55 + DsMakeSpnW@28 @56 + DsServerRegisterSpnA@12 @83 + DsServerRegisterSpnW@12 @84 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntoskrnl.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntoskrnl.def new file mode 100644 index 0000000..6648f5e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libntoskrnl.def @@ -0,0 +1,614 @@ +; File generated automatically from ./dlls/ntoskrnl.exe/ntoskrnl.exe.spec; do not edit! + +LIBRARY ntoskrnl.exe + +EXPORTS + ExfInterlockedRemoveHeadList@8 @25 + InterlockedCompareExchange@12=NTOSKRNL_InterlockedCompareExchange@12 @31 + InterlockedDecrement@4=NTOSKRNL_InterlockedDecrement@4 @32 + InterlockedExchange@8=NTOSKRNL_InterlockedExchange@8 @33 + InterlockedExchangeAdd@8=NTOSKRNL_InterlockedExchangeAdd@8 @34 + InterlockedIncrement@4=NTOSKRNL_InterlockedIncrement@4 @35 + InterlockedPopEntrySList@4=NTOSKRNL_InterlockedPopEntrySList@4 @36 + InterlockedPushEntrySList@8=NTOSKRNL_InterlockedPushEntrySList@8 @37 + IofCallDriver@8 @42 + IofCompleteRequest@8 @43 + KeAcquireInStackQueuedSpinLock@8 @44 + KeReleaseInStackQueuedSpinLock@4 @46 + ObfDereferenceObject@4 @53 + ObfReferenceObject@4 @54 + RtlUlongByteSwap=ntdll.RtlUlongByteSwap @56 + RtlUlonglongByteSwap=ntdll.RtlUlonglongByteSwap @57 + RtlUshortByteSwap=ntdll.RtlUshortByteSwap @58 + CmRegisterCallback@12 @105 + CmUnRegisterCallback@8 @106 + DbgBreakPoint@0=ntdll.DbgBreakPoint @107 + DbgPrint=ntdll.DbgPrint @110 + DbgPrintEx=ntdll.DbgPrintEx @111 + ExAcquireResourceExclusiveLite@8 @116 + ExAllocatePool@8 @121 + ExAllocatePoolWithQuota@8 @122 + ExAllocatePoolWithQuotaTag@12 @123 + ExAllocatePoolWithTag@12 @124 + ExCreateCallback@16 @127 + ExDeleteNPagedLookasideList@4 @128 + ExDeletePagedLookasideList@4 @129 + ExDeleteResourceLite@4 @130 + ExFreePool@4 @136 + ExFreePoolWithTag@8 @137 + ExInitializeNPagedLookasideList@28 @144 + ExInitializePagedLookasideList@28 @145 + ExInitializeResourceLite@4 @146 + ExInitializeZone@16 @147 + ExInterlockedRemoveHeadList@8 @158 + ExLocalTimeToSystemTime@8=ntdll.RtlLocalTimeToSystemTime @162 + ExReleaseResourceForThreadLite@8 @173 + ExSystemTimeToLocalTime@8=ntdll.RtlSystemTimeToLocalTime @178 + FsRtlRegisterUncProvider@12 @276 + InitSafeBootMode @307 DATA + IoAcquireCancelSpinLock@4 @308 + IoAcquireRemoveLockEx@20 @309 + IoAllocateDriverObjectExtension@16 @314 + IoAllocateErrorLogEntry@8 @315 + IoAllocateIrp@8 @316 + IoAllocateMdl@20 @317 + IoAllocateWorkItem@4 @318 + IoAttachDevice@12 @320 + IoAttachDeviceToDeviceStack@8 @322 + IoBuildDeviceIoControlRequest@36 @325 + IoBuildSynchronousFsdRequest@28 @327 + IoCallDriver@8 @328 + IoCompleteRequest@8 @338 + IoCreateDevice@28 @341 + IoCreateDriver@8 @343 + IoCreateFile@56 @344 + IoCreateNotificationEvent@8 @346 + IoCreateSymbolicLink@8 @350 + IoCreateSynchronizationEvent@8 @351 + IoCsqInitialize@28 @353 + IoDeleteDevice@4 @358 + IoDeleteDriver@4 @359 + IoDeleteSymbolicLink@4 @360 + IoFreeIrp@4 @375 + IoFreeMdl@4 @376 + IoGetAttachedDevice@4 @378 + IoGetAttachedDeviceReference@4 @379 + IoGetConfigurationInformation@0 @382 + IoGetCurrentProcess@0 @383 + IoGetDeviceInterfaces@16 @386 + IoGetDeviceObjectPointer@16 @387 + IoGetDeviceProperty@20 @388 + IoGetDriverObjectExtension@8 @392 + IoGetRelatedDeviceObject@4 @396 + IoInitializeIrp@12 @402 + IoInitializeRemoveLockEx@20 @403 + IoInitializeTimer@12 @404 + IoInvalidateDeviceRelations@8 @405 + IoIsWdmVersionAvailable@8 @411 + IoQueryDeviceDescription@32 @417 + IoRegisterDriverReinitialization@12 @431 + IoRegisterFileSystem@4 @432 + IoRegisterPlugPlayNotification@28 @435 + IoRegisterShutdownNotification@4 @436 + IoReleaseCancelSpinLock@4 @437 + IoReportResourceForDetection@28 @444 + IoReportResourceUsage@36 @445 + IoSetThreadHardErrorMode@4 @461 + IoStartNextPacket@8 @463 + IoStartTimer@4 @466 + IoStopTimer@4 @468 + IoUnregisterFileSystem@4 @472 + IoUnregisterShutdownNotification@4 @475 + IoWMIRegistrationControl@8 @490 + KdDebuggerEnabled @500 DATA + Ke386IoSetAccessProcess@8 @508 + Ke386SetIoAccessMap@8 @510 + KeClearEvent@4 @520 + KeDelayExecutionThread@12 @523 + KeEnterCriticalRegion@0 @528 + KeGetCurrentThread@0 @534 + KeInitializeDpc@12 @550 + KeInitializeEvent@12 @551 + KeInitializeMutex@8 @554 + KeInitializeSemaphore@12 @556 + KeInitializeSpinLock@4 @557 + KeInitializeTimer@4 @558 + KeInitializeTimerEx@8 @559 + KeInsertQueue@8 @563 + KeLeaveCriticalRegion@0 @568 + KeQueryActiveProcessors@0 @574 + KeQueryInterruptTime@0 @575 + KeQuerySystemTime@4 @578 + KeQueryTickCount@4 @579 + KeQueryTimeIncrement@0 @580 + KeReleaseMutex@8 @592 + KeReleaseSemaphore@16 @593 + KeReleaseSpinLock@8 @594 + KeResetEvent@4 @603 + KeServiceDescriptorTable @609 DATA + KeSetEvent@12 @613 + KeSetPriorityThread@8 @618 + KeSetSystemAffinityThread@4 @620 + KeSetTimerEx@20 @624 + KeTickCount @628 DATA + KeWaitForMultipleObjects@32 @633 + KeWaitForMutexObject@20 @634 + KeWaitForSingleObject@20 @635 + LdrAccessResource@16=ntdll.LdrAccessResource @643 + LdrFindResourceDirectory_U@16=ntdll.LdrFindResourceDirectory_U @645 + LdrFindResource_U@16=ntdll.LdrFindResource_U @646 + MmAllocateContiguousMemory@12 @661 + MmAllocateContiguousMemorySpecifyCache@32 @662 + MmAllocateNonCachedMemory@4 @664 + MmAllocatePagesForMdl@28 @665 + MmFreeNonCachedMemory@8 @677 + MmGetSystemRoutineAddress@4 @681 + MmIsAddressValid@4 @685 + MmLockPagableSectionByHandle@4 @693 + MmMapIoSpace@16 @694 + MmMapLockedPagesSpecifyCache@24 @696 + MmPageEntireDriver@4 @706 + MmProbeAndLockPages@12 @708 + MmQuerySystemSize@0 @712 + MmResetDriverPaging@4 @714 + MmUnlockPagableImageSection@4 @722 + MmUnlockPages@4 @723 + MmUnmapIoSpace@8 @724 + NlsAnsiCodePage=ntdll.NlsAnsiCodePage @733 DATA + NlsMbCodePageTag=ntdll.NlsMbCodePageTag @735 DATA + NlsMbOemCodePageTag=ntdll.NlsMbOemCodePageTag @736 DATA + NtAddAtom@12=ntdll.NtAddAtom @739 + NtAdjustPrivilegesToken@24=ntdll.NtAdjustPrivilegesToken @740 + NtAllocateLocallyUniqueId@4=ntdll.NtAllocateLocallyUniqueId @741 + NtAllocateUuids@12=ntdll.NtAllocateUuids @742 + NtAllocateVirtualMemory@24=ntdll.NtAllocateVirtualMemory @743 + NtClose@4=ntdll.NtClose @745 + NtConnectPort@32=ntdll.NtConnectPort @746 + NtCreateEvent@20=ntdll.NtCreateEvent @747 + NtCreateFile@44=ntdll.NtCreateFile @748 + NtCreateSection@28=ntdll.NtCreateSection @749 + NtDeleteAtom@4=ntdll.NtDeleteAtom @750 + NtDeleteFile@4=ntdll.NtDeleteFile @751 + NtDeviceIoControlFile@40=ntdll.NtDeviceIoControlFile @752 + NtDuplicateObject@28=ntdll.NtDuplicateObject @753 + NtDuplicateToken@24=ntdll.NtDuplicateToken @754 + NtFindAtom@12=ntdll.NtFindAtom @755 + NtFreeVirtualMemory@16=ntdll.NtFreeVirtualMemory @756 + NtFsControlFile@40=ntdll.NtFsControlFile @757 + NtLockFile@40=ntdll.NtLockFile @759 + NtMapViewOfSection@40=ntdll.NtMapViewOfSection @761 + NtNotifyChangeDirectoryFile@36=ntdll.NtNotifyChangeDirectoryFile @762 + NtOpenFile@24=ntdll.NtOpenFile @763 + NtOpenProcess@16=ntdll.NtOpenProcess @764 + NtOpenProcessToken@12=ntdll.NtOpenProcessToken @765 + NtOpenProcessTokenEx@16=ntdll.NtOpenProcessTokenEx @766 + NtOpenThread@16=ntdll.NtOpenThread @767 + NtOpenThreadToken@16=ntdll.NtOpenThreadToken @768 + NtOpenThreadTokenEx@20=ntdll.NtOpenThreadTokenEx @769 + NtQueryDirectoryFile@44=ntdll.NtQueryDirectoryFile @770 + NtQueryEaFile@36=ntdll.NtQueryEaFile @771 + NtQueryInformationAtom@20=ntdll.NtQueryInformationAtom @772 + NtQueryInformationFile@20=ntdll.NtQueryInformationFile @773 + NtQueryInformationProcess@20=ntdll.NtQueryInformationProcess @774 + NtQueryInformationThread@20=ntdll.NtQueryInformationThread @775 + NtQueryInformationToken@20=ntdll.NtQueryInformationToken @776 + NtQuerySecurityObject@20=ntdll.NtQuerySecurityObject @778 + NtQuerySystemInformation@16=ntdll.NtQuerySystemInformation @779 + NtQueryVolumeInformationFile@20=ntdll.NtQueryVolumeInformationFile @780 + NtReadFile@36=ntdll.NtReadFile @781 + NtRequestWaitReplyPort@12=ntdll.NtRequestWaitReplyPort @783 + NtSetEaFile@16=ntdll.NtSetEaFile @784 + NtSetEvent@8=ntdll.NtSetEvent @785 + NtSetInformationFile@20=ntdll.NtSetInformationFile @786 + NtSetInformationProcess@16=ntdll.NtSetInformationProcess @787 + NtSetInformationThread@16=ntdll.NtSetInformationThread @788 + NtSetSecurityObject@12=ntdll.NtSetSecurityObject @790 + NtSetVolumeInformationFile@20=ntdll.NtSetVolumeInformationFile @791 + NtShutdownSystem@4=ntdll.NtShutdownSystem @792 + NtUnlockFile@20=ntdll.NtUnlockFile @794 + NtWaitForSingleObject@12=ntdll.NtWaitForSingleObject @796 + NtWriteFile@36=ntdll.NtWriteFile @797 + ObDereferenceObject@4 @804 + ObQueryNameString@16 @813 + ObReferenceObjectByHandle@24 @815 + ObReferenceObjectByName@32 @816 + PoSetPowerState@12 @836 + ProbeForRead@12 @841 + ProbeForWrite@12 @842 + PsCreateSystemThread@28 @849 + PsGetCurrentProcess@0=IoGetCurrentProcess@0 @855 + PsGetCurrentProcessId@0 @856 + PsGetCurrentThread@0=KeGetCurrentThread@0 @858 + PsGetCurrentThreadId@0 @859 + PsGetVersion@16 @890 + PsImpersonateClient@20 @891 + PsLookupProcessByProcessId@8 @898 + PsRemoveCreateThreadNotifyRoutine@4 @904 + PsRemoveLoadImageNotifyRoutine@4 @905 + PsSetCreateProcessNotifyRoutine@8 @913 + PsSetCreateThreadNotifyRoutine@4 @914 + PsSetLoadImageNotifyRoutine@4 @917 + PsTerminateSystemThread@4 @925 + READ_REGISTER_BUFFER_UCHAR@12 @927 + RtlAbsoluteToSelfRelativeSD@12=ntdll.RtlAbsoluteToSelfRelativeSD @933 + RtlAddAccessAllowedAce@16=ntdll.RtlAddAccessAllowedAce @934 + RtlAddAccessAllowedAceEx@20=ntdll.RtlAddAccessAllowedAceEx @935 + RtlAddAce@20=ntdll.RtlAddAce @936 + RtlAddAtomToAtomTable@12=ntdll.RtlAddAtomToAtomTable @937 + RtlAllocateHeap@12=ntdll.RtlAllocateHeap @939 + RtlAnsiCharToUnicodeChar@4=ntdll.RtlAnsiCharToUnicodeChar @940 + RtlAnsiStringToUnicodeSize@4=ntdll.RtlAnsiStringToUnicodeSize @941 + RtlAnsiStringToUnicodeString@12=ntdll.RtlAnsiStringToUnicodeString @942 + RtlAppendAsciizToString@8=ntdll.RtlAppendAsciizToString @943 + RtlAppendStringToString@8=ntdll.RtlAppendStringToString @944 + RtlAppendUnicodeStringToString@8=ntdll.RtlAppendUnicodeStringToString @945 + RtlAppendUnicodeToString@8=ntdll.RtlAppendUnicodeToString @946 + RtlAreAllAccessesGranted@8=ntdll.RtlAreAllAccessesGranted @947 + RtlAreAnyAccessesGranted@8=ntdll.RtlAreAnyAccessesGranted @948 + RtlAreBitsClear@12=ntdll.RtlAreBitsClear @949 + RtlAreBitsSet@12=ntdll.RtlAreBitsSet @950 + RtlAssert@16=ntdll.RtlAssert @951 + RtlCaptureContext@4=ntdll.RtlCaptureContext @952 + RtlCaptureStackBackTrace@16=ntdll.RtlCaptureStackBackTrace @953 + RtlCharToInteger@12=ntdll.RtlCharToInteger @954 + RtlCheckRegistryKey@8=ntdll.RtlCheckRegistryKey @955 + RtlClearAllBits@4=ntdll.RtlClearAllBits @956 + RtlClearBits@12=ntdll.RtlClearBits @958 + RtlCompareMemory@12=ntdll.RtlCompareMemory @959 + RtlCompareMemoryUlong@12=ntdll.RtlCompareMemoryUlong @960 + RtlCompareString@12=ntdll.RtlCompareString @961 + RtlCompareUnicodeString@12=ntdll.RtlCompareUnicodeString @962 + RtlCompressBuffer@32=ntdll.RtlCompressBuffer @963 + RtlConvertLongToLargeInteger@4=ntdll.RtlConvertLongToLargeInteger @965 + RtlConvertSidToUnicodeString@12=ntdll.RtlConvertSidToUnicodeString @966 + RtlConvertUlongToLargeInteger@4=ntdll.RtlConvertUlongToLargeInteger @967 + RtlCopyLuid@8=ntdll.RtlCopyLuid @968 + RtlCopySid@12=ntdll.RtlCopySid @970 + RtlCopyString@8=ntdll.RtlCopyString @971 + RtlCopyUnicodeString@8=ntdll.RtlCopyUnicodeString @972 + RtlCreateAcl@12=ntdll.RtlCreateAcl @973 + RtlCreateAtomTable@8=ntdll.RtlCreateAtomTable @974 + RtlCreateHeap@24=ntdll.RtlCreateHeap @975 + RtlCreateSecurityDescriptor@8=ntdll.RtlCreateSecurityDescriptor @977 + RtlCreateUnicodeString@8=ntdll.RtlCreateUnicodeString @979 + RtlDecompressBuffer@24=ntdll.RtlDecompressBuffer @981 + RtlDecompressFragment@32=ntdll.RtlDecompressFragment @983 + RtlDeleteAce@8=ntdll.RtlDeleteAce @985 + RtlDeleteAtomFromAtomTable@8=ntdll.RtlDeleteAtomFromAtomTable @986 + RtlDeleteRegistryValue@12=ntdll.RtlDeleteRegistryValue @992 + RtlDestroyAtomTable@4=ntdll.RtlDestroyAtomTable @994 + RtlDestroyHeap@4=ntdll.RtlDestroyHeap @995 + RtlDowncaseUnicodeString@12=ntdll.RtlDowncaseUnicodeString @996 + RtlEmptyAtomTable@8=ntdll.RtlEmptyAtomTable @997 + RtlEnlargedIntegerMultiply@8=ntdll.RtlEnlargedIntegerMultiply @998 + RtlEnlargedUnsignedDivide@16=ntdll.RtlEnlargedUnsignedDivide @999 + RtlEnlargedUnsignedMultiply@8=ntdll.RtlEnlargedUnsignedMultiply @1000 + RtlEnumerateGenericTableWithoutSplaying@8=ntdll.RtlEnumerateGenericTableWithoutSplaying @1004 + RtlEqualLuid@8=ntdll.RtlEqualLuid @1006 + RtlEqualSid@8=ntdll.RtlEqualSid @1007 + RtlEqualString@12=ntdll.RtlEqualString @1008 + RtlEqualUnicodeString@12=ntdll.RtlEqualUnicodeString @1009 + RtlExtendedIntegerMultiply@12=ntdll.RtlExtendedIntegerMultiply @1010 + RtlExtendedLargeIntegerDivide@16=ntdll.RtlExtendedLargeIntegerDivide @1011 + RtlExtendedMagicDivide@20=ntdll.RtlExtendedMagicDivide @1012 + RtlFillMemory@12=ntdll.RtlFillMemory @1013 + RtlFillMemoryUlong@12=ntdll.RtlFillMemoryUlong @1014 + RtlFindClearBits@12=ntdll.RtlFindClearBits @1015 + RtlFindClearBitsAndSet@12=ntdll.RtlFindClearBitsAndSet @1016 + RtlFindClearRuns@16=ntdll.RtlFindClearRuns @1017 + RtlFindLastBackwardRunClear@12=ntdll.RtlFindLastBackwardRunClear @1019 + RtlFindLeastSignificantBit@8=ntdll.RtlFindLeastSignificantBit @1020 + RtlFindLongestRunClear@8=ntdll.RtlFindLongestRunClear @1021 + RtlFindMessage@20=ntdll.RtlFindMessage @1022 + RtlFindMostSignificantBit@8=ntdll.RtlFindMostSignificantBit @1023 + RtlFindNextForwardRunClear@12=ntdll.RtlFindNextForwardRunClear @1024 + RtlFindSetBits@12=ntdll.RtlFindSetBits @1026 + RtlFindSetBitsAndClear@12=ntdll.RtlFindSetBitsAndClear @1027 + RtlFormatCurrentUserKeyPath@4=ntdll.RtlFormatCurrentUserKeyPath @1029 + RtlFreeAnsiString@4=ntdll.RtlFreeAnsiString @1030 + RtlFreeHeap@12=ntdll.RtlFreeHeap @1031 + RtlFreeOemString@4=ntdll.RtlFreeOemString @1032 + RtlFreeUnicodeString@4=ntdll.RtlFreeUnicodeString @1034 + RtlGUIDFromString@8=ntdll.RtlGUIDFromString @1035 + RtlGetAce@12=ntdll.RtlGetAce @1037 + RtlGetCompressionWorkSpaceSize@12=ntdll.RtlGetCompressionWorkSpaceSize @1039 + RtlGetDaclSecurityDescriptor@16=ntdll.RtlGetDaclSecurityDescriptor @1040 + RtlGetGroupSecurityDescriptor@12=ntdll.RtlGetGroupSecurityDescriptor @1045 + RtlGetNtGlobalFlags@0=ntdll.RtlGetNtGlobalFlags @1047 + RtlGetOwnerSecurityDescriptor@12=ntdll.RtlGetOwnerSecurityDescriptor @1048 + RtlGetSaclSecurityDescriptor@16=ntdll.RtlGetSaclSecurityDescriptor @1049 + RtlGetVersion@4=ntdll.RtlGetVersion @1051 + RtlHashUnicodeString@16=ntdll.RtlHashUnicodeString @1052 + RtlImageDirectoryEntryToData@16=ntdll.RtlImageDirectoryEntryToData @1053 + RtlImageNtHeader@4=ntdll.RtlImageNtHeader @1054 + RtlInitAnsiString@8=ntdll.RtlInitAnsiString @1055 + RtlInitString@8=ntdll.RtlInitString @1057 + RtlInitUnicodeString@8=ntdll.RtlInitUnicodeString @1058 + RtlInitializeBitMap@12=ntdll.RtlInitializeBitMap @1059 + RtlInitializeGenericTable@20=ntdll.RtlInitializeGenericTable @1060 + RtlInitializeGenericTableAvl@20=ntdll.RtlInitializeGenericTableAvl @1061 + RtlInitializeSid@12=ntdll.RtlInitializeSid @1063 + RtlInsertElementGenericTableAvl@16=ntdll.RtlInsertElementGenericTableAvl @1066 + RtlInt64ToUnicodeString@16=ntdll.RtlInt64ToUnicodeString @1070 + RtlIntegerToChar@16=ntdll.RtlIntegerToChar @1071 + RtlIntegerToUnicodeString@12=ntdll.RtlIntegerToUnicodeString @1073 + RtlIpv4AddressToStringA@8=ntdll.RtlIpv4AddressToStringA @1075 + RtlIpv4AddressToStringExA@16=ntdll.RtlIpv4AddressToStringExA @1076 + RtlIpv4AddressToStringExW@16=ntdll.RtlIpv4AddressToStringExW @1077 + RtlIpv4AddressToStringW@8=ntdll.RtlIpv4AddressToStringW @1078 + RtlIpv4StringToAddressExW@16=ntdll.RtlIpv4StringToAddressExW @1081 + RtlIpv4StringToAddressW@16=ntdll.RtlIpv4StringToAddressW @1082 + RtlIsNameLegalDOS8Dot3@12=ntdll.RtlIsNameLegalDOS8Dot3 @1093 + RtlLargeIntegerAdd@16=ntdll.RtlLargeIntegerAdd @1096 + RtlLargeIntegerArithmeticShift@12=ntdll.RtlLargeIntegerArithmeticShift @1097 + RtlLargeIntegerDivide@20=ntdll.RtlLargeIntegerDivide @1098 + RtlLargeIntegerNegate@8=ntdll.RtlLargeIntegerNegate @1099 + RtlLargeIntegerShiftLeft@12=ntdll.RtlLargeIntegerShiftLeft @1100 + RtlLargeIntegerShiftRight@12=ntdll.RtlLargeIntegerShiftRight @1101 + RtlLargeIntegerSubtract@16=ntdll.RtlLargeIntegerSubtract @1102 + RtlLengthRequiredSid@4=ntdll.RtlLengthRequiredSid @1103 + RtlLengthSecurityDescriptor@4=ntdll.RtlLengthSecurityDescriptor @1104 + RtlLengthSid@4=ntdll.RtlLengthSid @1105 + RtlLookupAtomInAtomTable@12=ntdll.RtlLookupAtomInAtomTable @1107 + RtlMapGenericMask@8=ntdll.RtlMapGenericMask @1112 + RtlMoveMemory@12=ntdll.RtlMoveMemory @1115 + RtlMultiByteToUnicodeN@20=ntdll.RtlMultiByteToUnicodeN @1116 + RtlMultiByteToUnicodeSize@12=ntdll.RtlMultiByteToUnicodeSize @1117 + RtlNtStatusToDosError@4=ntdll.RtlNtStatusToDosError @1119 + RtlNtStatusToDosErrorNoTeb@4=ntdll.RtlNtStatusToDosErrorNoTeb @1120 + RtlNumberGenericTableElements@4=ntdll.RtlNumberGenericTableElements @1121 + RtlNumberOfClearBits@4=ntdll.RtlNumberOfClearBits @1123 + RtlNumberOfSetBits@4=ntdll.RtlNumberOfSetBits @1124 + RtlOemStringToUnicodeSize@4=ntdll.RtlOemStringToUnicodeSize @1126 + RtlOemStringToUnicodeString@12=ntdll.RtlOemStringToUnicodeString @1127 + RtlOemToUnicodeN@20=ntdll.RtlOemToUnicodeN @1128 + RtlPinAtomInAtomTable@8=ntdll.RtlPinAtomInAtomTable @1129 + RtlPrefixString@12=ntdll.RtlPrefixString @1130 + RtlPrefixUnicodeString@12=ntdll.RtlPrefixUnicodeString @1131 + RtlQueryAtomInAtomTable@24=ntdll.RtlQueryAtomInAtomTable @1132 + RtlQueryRegistryValues@20=ntdll.RtlQueryRegistryValues @1133 + RtlQueryTimeZoneInformation@4=ntdll.RtlQueryTimeZoneInformation @1134 + RtlRaiseException@4=ntdll.RtlRaiseException @1135 + RtlRandom@4=ntdll.RtlRandom @1136 + RtlSecondsSince1970ToTime@8=ntdll.RtlSecondsSince1970ToTime @1142 + RtlSecondsSince1980ToTime@8=ntdll.RtlSecondsSince1980ToTime @1143 + RtlSelfRelativeToAbsoluteSD@44=ntdll.RtlSelfRelativeToAbsoluteSD @1145 + RtlSetAllBits@4=ntdll.RtlSetAllBits @1146 + RtlSetBits@12=ntdll.RtlSetBits @1148 + RtlSetDaclSecurityDescriptor@16=ntdll.RtlSetDaclSecurityDescriptor @1149 + RtlSetGroupSecurityDescriptor@12=ntdll.RtlSetGroupSecurityDescriptor @1150 + RtlSetOwnerSecurityDescriptor@12=ntdll.RtlSetOwnerSecurityDescriptor @1151 + RtlSetSaclSecurityDescriptor@16=ntdll.RtlSetSaclSecurityDescriptor @1152 + RtlSetTimeZoneInformation@4=ntdll.RtlSetTimeZoneInformation @1153 + RtlSizeHeap@12=ntdll.RtlSizeHeap @1154 + RtlStringFromGUID@8=ntdll.RtlStringFromGUID @1156 + RtlSubAuthorityCountSid@4=ntdll.RtlSubAuthorityCountSid @1157 + RtlSubAuthoritySid@8=ntdll.RtlSubAuthoritySid @1158 + RtlTimeFieldsToTime@8=ntdll.RtlTimeFieldsToTime @1162 + RtlTimeToElapsedTimeFields@8=ntdll.RtlTimeToElapsedTimeFields @1163 + RtlTimeToSecondsSince1970@8=ntdll.RtlTimeToSecondsSince1970 @1164 + RtlTimeToSecondsSince1980@8=ntdll.RtlTimeToSecondsSince1980 @1165 + RtlTimeToTimeFields@8=ntdll.RtlTimeToTimeFields @1166 + RtlUnicodeStringToAnsiSize@4=ntdll.RtlUnicodeStringToAnsiSize @1175 + RtlUnicodeStringToAnsiString@12=ntdll.RtlUnicodeStringToAnsiString @1176 + RtlUnicodeStringToInteger@12=ntdll.RtlUnicodeStringToInteger @1178 + RtlUnicodeStringToOemSize@4=ntdll.RtlUnicodeStringToOemSize @1179 + RtlUnicodeStringToOemString@12=ntdll.RtlUnicodeStringToOemString @1180 + RtlUnicodeToMultiByteN@20=ntdll.RtlUnicodeToMultiByteN @1182 + RtlUnicodeToMultiByteSize@12=ntdll.RtlUnicodeToMultiByteSize @1183 + RtlUnicodeToOemN@20=ntdll.RtlUnicodeToOemN @1184 + RtlUnwind@16=ntdll.RtlUnwind @1186 + RtlUpcaseUnicodeChar@4=ntdll.RtlUpcaseUnicodeChar @1187 + RtlUpcaseUnicodeString@12=ntdll.RtlUpcaseUnicodeString @1188 + RtlUpcaseUnicodeStringToAnsiString@12=ntdll.RtlUpcaseUnicodeStringToAnsiString @1189 + RtlUpcaseUnicodeStringToCountedOemString@12=ntdll.RtlUpcaseUnicodeStringToCountedOemString @1190 + RtlUpcaseUnicodeStringToOemString@12=ntdll.RtlUpcaseUnicodeStringToOemString @1191 + RtlUpcaseUnicodeToMultiByteN@20=ntdll.RtlUpcaseUnicodeToMultiByteN @1193 + RtlUpcaseUnicodeToOemN@20=ntdll.RtlUpcaseUnicodeToOemN @1194 + RtlUpperChar@4=ntdll.RtlUpperChar @1195 + RtlUpperString@8=ntdll.RtlUpperString @1196 + RtlValidRelativeSecurityDescriptor@12=ntdll.RtlValidRelativeSecurityDescriptor @1197 + RtlValidSecurityDescriptor@4=ntdll.RtlValidSecurityDescriptor @1198 + RtlValidSid@4=ntdll.RtlValidSid @1199 + RtlVerifyVersionInfo@16=ntdll.RtlVerifyVersionInfo @1200 + RtlWriteRegistryValue@24=ntdll.RtlWriteRegistryValue @1203 + RtlZeroMemory@8=ntdll.RtlZeroMemory @1205 + RtlxAnsiStringToUnicodeSize@4=ntdll.RtlxAnsiStringToUnicodeSize @1206 + RtlxOemStringToUnicodeSize@4=ntdll.RtlxOemStringToUnicodeSize @1207 + RtlxUnicodeStringToAnsiSize@4=ntdll.RtlxUnicodeStringToAnsiSize @1208 + RtlxUnicodeStringToOemSize@4=ntdll.RtlxUnicodeStringToOemSize @1209 + VerSetConditionMask@16=ntdll.VerSetConditionMask @1262 + ZwAccessCheckAndAuditAlarm@44=ntdll.ZwAccessCheckAndAuditAlarm @1282 PRIVATE + ZwAdjustPrivilegesToken@24=ntdll.ZwAdjustPrivilegesToken @1284 PRIVATE + ZwAlertThread@4=ntdll.ZwAlertThread @1285 PRIVATE + ZwAllocateVirtualMemory@24=ntdll.ZwAllocateVirtualMemory @1286 PRIVATE + ZwAssignProcessToJobObject@8=ntdll.ZwAssignProcessToJobObject @1287 PRIVATE + ZwCancelIoFile@8=ntdll.ZwCancelIoFile @1288 PRIVATE + ZwCancelTimer@8=ntdll.ZwCancelTimer @1289 PRIVATE + ZwClearEvent@4=ntdll.ZwClearEvent @1290 PRIVATE + ZwClose@4=ntdll.ZwClose @1291 PRIVATE + ZwConnectPort@32=ntdll.ZwConnectPort @1293 PRIVATE + ZwCreateDirectoryObject@12=ntdll.ZwCreateDirectoryObject @1294 PRIVATE + ZwCreateEvent@20=ntdll.ZwCreateEvent @1295 PRIVATE + ZwCreateFile@44=ntdll.ZwCreateFile @1296 PRIVATE + ZwCreateJobObject@12=ntdll.ZwCreateJobObject @1297 PRIVATE + ZwCreateKey@28=ntdll.ZwCreateKey @1298 PRIVATE + ZwCreateSection@28=ntdll.ZwCreateSection @1299 PRIVATE + ZwCreateSymbolicLinkObject@16=ntdll.ZwCreateSymbolicLinkObject @1300 PRIVATE + ZwCreateTimer@16=ntdll.ZwCreateTimer @1301 PRIVATE + ZwDeleteFile@4=ntdll.ZwDeleteFile @1303 PRIVATE + ZwDeleteKey@4=ntdll.ZwDeleteKey @1304 PRIVATE + ZwDeleteValueKey@8=ntdll.ZwDeleteValueKey @1305 PRIVATE + ZwDeviceIoControlFile@40=ntdll.ZwDeviceIoControlFile @1306 PRIVATE + ZwDisplayString@4=ntdll.ZwDisplayString @1307 PRIVATE + ZwDuplicateObject@28=ntdll.ZwDuplicateObject @1308 PRIVATE + ZwDuplicateToken@24=ntdll.ZwDuplicateToken @1309 PRIVATE + ZwEnumerateKey@24=ntdll.ZwEnumerateKey @1311 PRIVATE + ZwEnumerateValueKey@24=ntdll.ZwEnumerateValueKey @1312 PRIVATE + ZwFlushInstructionCache@12=ntdll.ZwFlushInstructionCache @1313 PRIVATE + ZwFlushKey@4=ntdll.ZwFlushKey @1314 PRIVATE + ZwFlushVirtualMemory@16=ntdll.ZwFlushVirtualMemory @1315 PRIVATE + ZwFreeVirtualMemory@16=ntdll.ZwFreeVirtualMemory @1316 PRIVATE + ZwFsControlFile@40=ntdll.ZwFsControlFile @1317 PRIVATE + ZwInitiatePowerAction@16=ntdll.ZwInitiatePowerAction @1318 PRIVATE + ZwIsProcessInJob@8=ntdll.ZwIsProcessInJob @1319 PRIVATE + ZwLoadDriver@4 @1320 + ZwLoadKey@8=ntdll.ZwLoadKey @1321 PRIVATE + ZwMakeTemporaryObject@4=ntdll.ZwMakeTemporaryObject @1322 PRIVATE + ZwMapViewOfSection@40=ntdll.ZwMapViewOfSection @1323 PRIVATE + ZwNotifyChangeKey@40=ntdll.ZwNotifyChangeKey @1324 PRIVATE + ZwOpenDirectoryObject@12=ntdll.ZwOpenDirectoryObject @1325 PRIVATE + ZwOpenEvent@12=ntdll.ZwOpenEvent @1326 PRIVATE + ZwOpenFile@24=ntdll.ZwOpenFile @1327 PRIVATE + ZwOpenJobObject@12=ntdll.ZwOpenJobObject @1328 PRIVATE + ZwOpenKey@12=ntdll.ZwOpenKey @1329 PRIVATE + ZwOpenProcess@16=ntdll.ZwOpenProcess @1330 PRIVATE + ZwOpenProcessToken@12=ntdll.ZwOpenProcessToken @1331 PRIVATE + ZwOpenProcessTokenEx@16=ntdll.ZwOpenProcessTokenEx @1332 PRIVATE + ZwOpenSection@12=ntdll.ZwOpenSection @1333 PRIVATE + ZwOpenSymbolicLinkObject@12=ntdll.ZwOpenSymbolicLinkObject @1334 PRIVATE + ZwOpenThread@16=ntdll.ZwOpenThread @1335 PRIVATE + ZwOpenThreadToken@16=ntdll.ZwOpenThreadToken @1336 PRIVATE + ZwOpenThreadTokenEx@20=ntdll.ZwOpenThreadTokenEx @1337 PRIVATE + ZwOpenTimer@12=ntdll.ZwOpenTimer @1338 PRIVATE + ZwPowerInformation@20=ntdll.ZwPowerInformation @1339 PRIVATE + ZwPulseEvent@8=ntdll.ZwPulseEvent @1340 PRIVATE + ZwQueryDefaultLocale@8=ntdll.ZwQueryDefaultLocale @1343 PRIVATE + ZwQueryDefaultUILanguage@4=ntdll.ZwQueryDefaultUILanguage @1344 PRIVATE + ZwQueryDirectoryFile@44=ntdll.ZwQueryDirectoryFile @1345 PRIVATE + ZwQueryDirectoryObject@28=ntdll.ZwQueryDirectoryObject @1346 PRIVATE + ZwQueryEaFile@36=ntdll.ZwQueryEaFile @1347 PRIVATE + ZwQueryFullAttributesFile@8=ntdll.ZwQueryFullAttributesFile @1348 PRIVATE + ZwQueryInformationFile@20=ntdll.ZwQueryInformationFile @1349 PRIVATE + ZwQueryInformationJobObject@20=ntdll.ZwQueryInformationJobObject @1350 PRIVATE + ZwQueryInformationProcess@20=ntdll.ZwQueryInformationProcess @1351 PRIVATE + ZwQueryInformationThread@20=ntdll.ZwQueryInformationThread @1352 PRIVATE + ZwQueryInformationToken@20=ntdll.ZwQueryInformationToken @1353 PRIVATE + ZwQueryInstallUILanguage@4=ntdll.ZwQueryInstallUILanguage @1354 PRIVATE + ZwQueryKey@20=ntdll.ZwQueryKey @1355 PRIVATE + ZwQueryObject@20=ntdll.ZwQueryObject @1356 PRIVATE + ZwQuerySection@20=ntdll.ZwQuerySection @1357 PRIVATE + ZwQuerySecurityObject@20=ntdll.ZwQuerySecurityObject @1358 PRIVATE + ZwQuerySymbolicLinkObject@12=ntdll.ZwQuerySymbolicLinkObject @1359 PRIVATE + ZwQuerySystemInformation@16=ntdll.ZwQuerySystemInformation @1360 PRIVATE + ZwQueryValueKey@24=ntdll.ZwQueryValueKey @1361 PRIVATE + ZwQueryVolumeInformationFile@20=ntdll.ZwQueryVolumeInformationFile @1362 PRIVATE + ZwReadFile@36=ntdll.ZwReadFile @1363 PRIVATE + ZwReplaceKey@12=ntdll.ZwReplaceKey @1364 PRIVATE + ZwRequestWaitReplyPort@12=ntdll.ZwRequestWaitReplyPort @1365 PRIVATE + ZwResetEvent@8=ntdll.ZwResetEvent @1366 PRIVATE + ZwRestoreKey@12=ntdll.ZwRestoreKey @1367 PRIVATE + ZwSaveKey@8=ntdll.ZwSaveKey @1368 PRIVATE + ZwSetDefaultLocale@8=ntdll.ZwSetDefaultLocale @1372 PRIVATE + ZwSetDefaultUILanguage@4=ntdll.ZwSetDefaultUILanguage @1373 PRIVATE + ZwSetEaFile@16=ntdll.ZwSetEaFile @1374 PRIVATE + ZwSetEvent@8=ntdll.ZwSetEvent @1375 PRIVATE + ZwSetInformationFile@20=ntdll.ZwSetInformationFile @1376 PRIVATE + ZwSetInformationJobObject@16=ntdll.ZwSetInformationJobObject @1377 PRIVATE + ZwSetInformationObject@16=ntdll.ZwSetInformationObject @1378 PRIVATE + ZwSetInformationProcess@16=ntdll.ZwSetInformationProcess @1379 PRIVATE + ZwSetInformationThread@16=ntdll.ZwSetInformationThread @1380 PRIVATE + ZwSetSecurityObject@12=ntdll.ZwSetSecurityObject @1381 PRIVATE + ZwSetSystemInformation@12=ntdll.ZwSetSystemInformation @1382 PRIVATE + ZwSetSystemTime@8=ntdll.ZwSetSystemTime @1383 PRIVATE + ZwSetTimer@28=ntdll.ZwSetTimer @1384 PRIVATE + ZwSetValueKey@24=ntdll.ZwSetValueKey @1385 PRIVATE + ZwSetVolumeInformationFile@20=ntdll.ZwSetVolumeInformationFile @1386 PRIVATE + ZwTerminateJobObject@8=ntdll.ZwTerminateJobObject @1387 PRIVATE + ZwTerminateProcess@8=ntdll.ZwTerminateProcess @1388 PRIVATE + ZwUnloadDriver@4 @1390 + ZwUnloadKey@4=ntdll.ZwUnloadKey @1391 PRIVATE + ZwUnmapViewOfSection@8=ntdll.ZwUnmapViewOfSection @1392 PRIVATE + ZwWaitForMultipleObjects@20=ntdll.ZwWaitForMultipleObjects @1393 PRIVATE + ZwWaitForSingleObject@12=ntdll.ZwWaitForSingleObject @1394 PRIVATE + ZwWriteFile@36=ntdll.ZwWriteFile @1395 PRIVATE + ZwYieldExecution@0=ntdll.ZwYieldExecution @1396 PRIVATE + _CIcos=msvcrt._CIcos @1397 PRIVATE + _CIsin=msvcrt._CIsin @1398 PRIVATE + _CIsqrt=msvcrt._CIsqrt @1399 PRIVATE + _abnormal_termination=msvcrt._abnormal_termination @1400 PRIVATE + _alldiv@16=ntdll._alldiv @1401 PRIVATE + _allmul@16=ntdll._allmul @1403 PRIVATE + _alloca_probe@0=ntdll._alloca_probe @1404 PRIVATE + _allrem@16=ntdll._allrem @1405 PRIVATE + _allshl@12=ntdll._allshl @1406 PRIVATE + _allshr@12=ntdll._allshr @1407 PRIVATE + _aulldiv@16=ntdll._aulldiv @1408 PRIVATE + _aullrem@16=ntdll._aullrem @1410 PRIVATE + _aullshr@12=ntdll._aullshr @1411 PRIVATE + _except_handler2=msvcrt._except_handler2 @1412 PRIVATE + _except_handler3=msvcrt._except_handler3 @1413 PRIVATE + _global_unwind2=msvcrt._global_unwind2 @1414 PRIVATE + _itoa=msvcrt._itoa @1415 PRIVATE + _itow=msvcrt._itow @1416 PRIVATE + _local_unwind2=msvcrt._local_unwind2 @1417 PRIVATE + _purecall=msvcrt._purecall @1418 PRIVATE + _snprintf=msvcrt._snprintf @1419 PRIVATE + _snwprintf=msvcrt._snwprintf @1420 PRIVATE + _stricmp=msvcrt._stricmp @1421 PRIVATE + _strlwr=msvcrt._strlwr @1422 PRIVATE + _strnicmp=msvcrt._strnicmp @1423 PRIVATE + _strnset=msvcrt._strnset @1424 PRIVATE + _strrev=msvcrt._strrev @1425 PRIVATE + _strset=msvcrt._strset @1426 PRIVATE + _strupr=msvcrt._strupr @1427 PRIVATE + _vsnprintf=msvcrt._vsnprintf @1428 PRIVATE + _vsnwprintf=msvcrt._vsnwprintf @1429 PRIVATE + _wcsicmp=msvcrt._wcsicmp @1430 PRIVATE + _wcslwr=msvcrt._wcslwr @1431 PRIVATE + _wcsnicmp=msvcrt._wcsnicmp @1432 PRIVATE + _wcsnset=msvcrt._wcsnset @1433 PRIVATE + _wcsrev=msvcrt._wcsrev @1434 PRIVATE + _wcsupr=msvcrt._wcsupr @1435 PRIVATE + atoi=msvcrt.atoi @1436 PRIVATE + atol=msvcrt.atol @1437 PRIVATE + isdigit=msvcrt.isdigit @1438 PRIVATE + islower=msvcrt.islower @1439 PRIVATE + isprint=msvcrt.isprint @1440 PRIVATE + isspace=msvcrt.isspace @1441 PRIVATE + isupper=msvcrt.isupper @1442 PRIVATE + isxdigit=msvcrt.isxdigit @1443 PRIVATE + mbstowcs=msvcrt.mbstowcs @1444 PRIVATE + mbtowc=msvcrt.mbtowc @1445 PRIVATE + memchr=msvcrt.memchr @1446 PRIVATE + memcpy=msvcrt.memcpy @1447 PRIVATE + memmove=msvcrt.memmove @1448 PRIVATE + memset=msvcrt.memset @1449 PRIVATE + qsort=msvcrt.qsort @1450 PRIVATE + rand=msvcrt.rand @1451 PRIVATE + sprintf=msvcrt.sprintf @1452 PRIVATE + srand=msvcrt.srand @1453 PRIVATE + strcat=msvcrt.strcat @1454 PRIVATE + strchr=msvcrt.strchr @1455 PRIVATE + strcmp=msvcrt.strcmp @1456 PRIVATE + strcpy=msvcrt.strcpy @1457 PRIVATE + strlen=msvcrt.strlen @1458 PRIVATE + strncat=msvcrt.strncat @1459 PRIVATE + strncmp=msvcrt.strncmp @1460 PRIVATE + strncpy=msvcrt.strncpy @1461 PRIVATE + strrchr=msvcrt.strrchr @1462 PRIVATE + strspn=msvcrt.strspn @1463 PRIVATE + strstr=msvcrt.strstr @1464 PRIVATE + swprintf=msvcrt.swprintf @1465 PRIVATE + tolower=msvcrt.tolower @1466 PRIVATE + toupper=msvcrt.toupper @1467 PRIVATE + towlower=msvcrt.towlower @1468 PRIVATE + towupper=msvcrt.towupper @1469 PRIVATE + vDbgPrintEx@16=ntdll.vDbgPrintEx @1470 + vDbgPrintExWithPrefix@20=ntdll.vDbgPrintExWithPrefix @1471 + vsprintf=msvcrt.vsprintf @1472 PRIVATE + wcscat=msvcrt.wcscat @1473 PRIVATE + wcschr=msvcrt.wcschr @1474 PRIVATE + wcscmp=msvcrt.wcscmp @1475 PRIVATE + wcscpy=msvcrt.wcscpy @1476 PRIVATE + wcscspn=msvcrt.wcscspn @1477 PRIVATE + wcslen=msvcrt.wcslen @1478 PRIVATE + wcsncat=msvcrt.wcsncat @1479 PRIVATE + wcsncmp=msvcrt.wcsncmp @1480 PRIVATE + wcsncpy=msvcrt.wcsncpy @1481 PRIVATE + wcsrchr=msvcrt.wcsrchr @1482 PRIVATE + wcsspn=msvcrt.wcsspn @1483 PRIVATE + wcsstr=msvcrt.wcsstr @1484 PRIVATE + wcstombs=msvcrt.wcstombs @1485 PRIVATE + wctomb=msvcrt.wctomb @1486 PRIVATE + wine_ntoskrnl_main_loop @1487 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libodbc32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libodbc32.def new file mode 100644 index 0000000..d6660b9 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libodbc32.def @@ -0,0 +1,121 @@ +; File generated automatically from ./dlls/odbc32/odbc32.spec; do not edit! + +LIBRARY odbc32.dll + +EXPORTS + SQLAllocConnect@8 @1 + SQLAllocEnv@4 @2 + SQLAllocStmt@8 @3 + SQLBindCol@24 @4 + SQLCancel@4 @5 + SQLColAttributes@28 @6 + SQLConnect@28 @7 + SQLDescribeCol@36 @8 + SQLDisconnect@4 @9 + SQLError@32 @10 + SQLExecDirect@12 @11 + SQLExecute@4 @12 + SQLFetch@4 @13 + SQLFreeConnect@4 @14 + SQLFreeEnv@4 @15 + SQLFreeStmt@8 @16 + SQLGetCursorName@16 @17 + SQLNumResultCols@8 @18 + SQLPrepare@12 @19 + SQLRowCount@8 @20 + SQLSetCursorName@12 @21 + SQLSetParam@32 @22 + SQLTransact@12 @23 + SQLAllocHandle@12 @24 + SQLBindParam@32 @25 + SQLCloseCursor@4 @26 + SQLColAttribute@28 @27 + SQLCopyDesc@8 @28 + SQLEndTran@12 @29 + SQLFetchScroll@12 @30 + SQLFreeHandle@8 @31 + SQLGetConnectAttr@20 @32 + SQLGetDescField@24 @33 + SQLGetDescRec@44 @34 + SQLGetDiagField@28 @35 + SQLGetDiagRec@32 @36 + SQLGetEnvAttr@20 @37 + SQLGetStmtAttr@20 @38 + SQLSetConnectAttr@16 @39 + SQLColumns@36 @40 + SQLDriverConnect@32 @41 + SQLGetConnectOption@12 @42 + SQLGetData@24 @43 + SQLGetFunctions@12 @44 + SQLGetInfo@20 @45 + SQLGetStmtOption@12 @46 + SQLGetTypeInfo@8 @47 + SQLParamData@8 @48 + SQLPutData@12 @49 + SQLSetConnectOption@12 @50 + SQLSetStmtOption@12 @51 + SQLSpecialColumns@40 @52 + SQLStatistics@36 @53 + SQLTables@36 @54 + SQLBrowseConnect@24 @55 + SQLColumnPrivileges@36 @56 + SQLDataSources@32 @57 + SQLDescribeParam@24 @58 + SQLExtendedFetch@20 @59 + SQLForeignKeys@52 @60 + SQLMoreResults@4 @61 + SQLNativeSql@24 @62 + SQLNumParams@8 @63 + SQLParamOptions@12 @64 + SQLPrimaryKeys@28 @65 + SQLProcedureColumns@36 @66 + SQLProcedures@28 @67 + SQLSetPos@16 @68 + SQLSetScrollOptions@16 @69 + SQLTablePrivileges@28 @70 + SQLDrivers@32 @71 + SQLBindParameter@40 @72 + SQLSetDescField@20 @73 + SQLSetDescRec@40 @74 + SQLSetEnvAttr@16 @75 + SQLSetStmtAttr@16 @76 + SQLAllocHandleStd@12 @77 + SQLBulkOperations@8 @78 + SQLColAttributesW@28 @106 + SQLConnectW@28 @107 + SQLDescribeColW@36 @108 + SQLErrorW@32 @110 + SQLExecDirectW@12 @111 + SQLGetCursorNameW@16 @117 + SQLPrepareW@12 @119 + SQLSetCursorNameW@12 @121 + SQLColAttributeW@28 @127 + SQLGetConnectAttrW@20 @132 + SQLGetDescFieldW@24 @133 + SQLGetDescRecW@44 @134 + SQLGetDiagFieldW@28 @135 + SQLGetDiagRecW@32 @136 + SQLGetStmtAttrW@20 @138 + SQLSetConnectAttrW@16 @139 + SQLColumnsW@36 @140 + SQLDriverConnectW@32 @141 + SQLGetConnectOptionW@12 @142 + SQLGetInfoW@20 @145 + SQLGetTypeInfoW@8 @147 + SQLSetConnectOptionW@12 @150 + SQLSpecialColumnsW@40 @152 + SQLStatisticsW@36 @153 + SQLTablesW@36 @154 + SQLBrowseConnectW@24 @155 + SQLColumnPrivilegesW@36 @156 + SQLDataSourcesW@32 @157 + SQLForeignKeysW@52 @160 + SQLNativeSqlW@24 @162 + SQLPrimaryKeysW@28 @165 + SQLProcedureColumnsW@36 @166 + SQLProceduresW@28 @167 + SQLTablePrivilegesW@28 @170 + SQLDriversW@32 @171 + SQLSetDescFieldW@20 @173 + SQLSetStmtAttrW@16 @176 + SQLDataSourcesA@32 @257 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libodbccp32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libodbccp32.def new file mode 100644 index 0000000..0f93af4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libodbccp32.def @@ -0,0 +1,57 @@ +; File generated automatically from ./dlls/odbccp32/odbccp32.spec; do not edit! + +LIBRARY odbccp32.dll + +EXPORTS + SQLInstallDriver@20 @2 + SQLInstallDriverManager@12 @3 + SQLGetInstalledDrivers@12 @4 + SQLGetAvailableDrivers@16 @5 + SQLConfigDataSource@16 @6 + SQLRemoveDefaultDataSource@0 @7 + SQLWriteDSNToIni@8 @8 + SQLRemoveDSNFromIni@4 @9 + SQLInstallODBC@16 @10 + SQLManageDataSources@4 @11 + SQLCreateDataSource@8 @12 + SQLGetTranslator@32 @13 + SQLWritePrivateProfileString@16 @14 + SQLGetPrivateProfileString@24 @15 + SQLValidDSN@4 @16 + SQLRemoveDriverManager@4 @17 + SQLInstallTranslator@32 @18 + SQLRemoveTranslator@8 @19 + SQLRemoveDriver@12 @20 + SQLConfigDriver@28 @21 + SQLInstallerError@20 @22 + SQLPostInstallerError@8 @23 + SQLReadFileDSN@24 @24 + SQLWriteFileDSN@16 @25 + SQLInstallDriverEx@28 @26 + SQLGetConfigMode@4 @27 + SQLSetConfigMode@4 @28 + SQLInstallTranslatorEx@28 @29 + ODBCCPlApplet@16 @101 + SQLInstallDriverW@20 @202 + SQLInstallDriverManagerW@12 @203 + SQLGetInstalledDriversW@12 @204 + SQLGetAvailableDriversW@16 @205 + SQLConfigDataSourceW@16 @206 + SQLWriteDSNToIniW@8 @208 + SQLRemoveDSNFromIniW@4 @209 + SQLInstallODBCW@16 @210 + SQLCreateDataSourceW@8 @212 + SQLGetTranslatorW@32 @213 + SQLWritePrivateProfileStringW@16 @214 + SQLGetPrivateProfileStringW@24 @215 + SQLValidDSNW@4 @216 + SQLInstallTranslatorW@32 @218 + SQLRemoveTranslatorW@8 @219 + SQLRemoveDriverW@12 @220 + SQLConfigDriverW@28 @221 + SQLInstallerErrorW@20 @222 + SQLPostInstallerErrorW@8 @223 + SQLReadFileDSNW@24 @224 + SQLWriteFileDSNW@16 @225 + SQLInstallDriverExW@28 @226 + SQLInstallTranslatorExW@28 @229 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libole32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libole32.def new file mode 100644 index 0000000..d073305 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libole32.def @@ -0,0 +1,265 @@ +; File generated automatically from ./dlls/ole32/ole32.spec; do not edit! + +LIBRARY ole32.dll + +EXPORTS + BindMoniker@16 @1 + CLIPFORMAT_UserFree@8 @2 + CLIPFORMAT_UserMarshal@12 @3 + CLIPFORMAT_UserSize@12 @4 + CLIPFORMAT_UserUnmarshal@12 @5 + CLSIDFromProgID@8 @6 + CLSIDFromProgIDEx@8 @7 + CLSIDFromString@8 @8 + CoAddRefServerProcess@0 @9 + CoAllowSetForegroundWindow@8 @10 + CoBuildVersion@0 @11 + CoCopyProxy@8 @12 + CoCreateFreeThreadedMarshaler@8 @13 + CoCreateGuid@4 @14 + CoCreateInstance@20 @15 + CoCreateInstanceEx@24 @16 + CoDisconnectObject@8 @17 + CoDosDateTimeToFileTime@12=kernel32.DosDateTimeToFileTime @18 + CoFileTimeNow@4 @19 + CoFileTimeToDosDateTime@12=kernel32.FileTimeToDosDateTime @20 + CoFreeAllLibraries@0 @21 + CoFreeLibrary@4 @22 + CoFreeUnusedLibraries@0 @23 + CoFreeUnusedLibrariesEx@8 @24 + CoGetActivationState@24 @25 + CoGetApartmentType@8 @26 + CoGetCallContext@8 @27 + CoGetCallState@8 @28 + CoGetCallerTID@4 @29 + CoGetClassObject@20 @30 + CoGetContextToken@4 @31 + CoGetCurrentLogicalThreadId@4 @32 + CoGetCurrentProcess@0 @33 + CoGetDefaultContext@12 @34 + CoGetInstanceFromFile@32 @35 + CoGetInstanceFromIStorage@28 @36 + CoGetInterfaceAndReleaseStream@12 @37 + CoGetMalloc@8 @38 + CoGetMarshalSizeMax@24 @39 + CoGetObject@16 @40 + CoGetObjectContext@8 @41 + CoGetPSClsid@8 @42 + CoGetStandardMarshal@24 @43 + CoGetState@4 @44 + CoGetTreatAsClass@8 @46 + CoImpersonateClient@0 @47 + CoInitialize@4 @48 + CoInitializeEx@8 @49 + CoInitializeSecurity@36 @50 + CoInitializeWOW@8 @51 + CoIsHandlerConnected@4 @52 + CoIsOle1Class@4 @53 + CoLoadLibrary@8 @54 + CoLockObjectExternal@12 @55 + CoMarshalHresult@8 @56 + CoMarshalInterThreadInterfaceInStream@12 @57 + CoMarshalInterface@24 @58 + CoQueryClientBlanket@28 @60 + CoQueryProxyBlanket@32 @61 + CoRegisterChannelHook@8 @63 + CoRegisterClassObject@20 @64 + CoRegisterInitializeSpy@8 @65 + CoRegisterMallocSpy@4 @66 + CoRegisterMessageFilter@8 @67 + CoRegisterPSClsid@8 @68 + CoRegisterSurrogate@4 @69 + CoRegisterSurrogateEx@8 @70 + CoReleaseMarshalData@4 @71 + CoReleaseServerProcess@0 @72 + CoResumeClassObjects@0 @73 + CoRevertToSelf@0 @74 + CoRevokeClassObject@4 @75 + CoRevokeInitializeSpy@8 @76 + CoRevokeMallocSpy@0 @77 + CoSetProxyBlanket@32 @78 + CoSetState@4 @79 + CoSuspendClassObjects@0 @80 + CoSwitchCallContext@8 @81 + CoTaskMemAlloc@4 @82 + CoTaskMemFree@4 @83 + CoTaskMemRealloc@8 @84 + CoTreatAsClass@8 @85 + CoUninitialize@0 @86 + CoUnmarshalHresult@8 @88 + CoUnmarshalInterface@12 @89 + CoWaitForMultipleHandles@20 @90 + CreateAntiMoniker@4 @91 + CreateBindCtx@8 @92 + CreateClassMoniker@8 @93 + CreateDataAdviseHolder@4 @94 + CreateDataCache@16 @95 + CreateErrorInfo@4 @96 + CreateFileMoniker@8 @97 + CreateGenericComposite@12 @98 + CreateILockBytesOnHGlobal@12 @99 + CreateItemMoniker@12 @100 + CreateOleAdviseHolder@4 @102 + CreatePointerMoniker@8 @103 + CreateStreamOnHGlobal@12 @104 + DllDebugObjectRPCHook@8 @105 + DllGetClassObject@12 @106 PRIVATE + DllRegisterServer@0 @108 PRIVATE + DllUnregisterServer@0 @109 PRIVATE + DoDragDrop@16 @110 + FmtIdToPropStgName@8 @112 + FreePropVariantArray@8 @113 + GetClassFile@8 @114 + GetConvertStg@4 @115 + GetErrorInfo@8 @117 + GetHGlobalFromILockBytes@8 @118 + GetHGlobalFromStream@8 @119 + GetRunningObjectTable@8 @121 + HACCEL_UserFree@8 @122 + HACCEL_UserMarshal@12 @123 + HACCEL_UserSize@12 @124 + HACCEL_UserUnmarshal@12 @125 + HBITMAP_UserFree@8 @126 + HBITMAP_UserMarshal@12 @127 + HBITMAP_UserSize@12 @128 + HBITMAP_UserUnmarshal@12 @129 + HBRUSH_UserFree@8 @130 + HBRUSH_UserMarshal@12 @131 + HBRUSH_UserSize@12 @132 + HBRUSH_UserUnmarshal@12 @133 + HDC_UserFree@8 @134 + HDC_UserMarshal@12 @135 + HDC_UserSize@12 @136 + HDC_UserUnmarshal@12 @137 + HENHMETAFILE_UserFree@8 @138 + HENHMETAFILE_UserMarshal@12 @139 + HENHMETAFILE_UserSize@12 @140 + HENHMETAFILE_UserUnmarshal@12 @141 + HGLOBAL_UserFree@8 @142 + HGLOBAL_UserMarshal@12 @143 + HGLOBAL_UserSize@12 @144 + HGLOBAL_UserUnmarshal@12 @145 + HICON_UserFree@8 @146 + HICON_UserMarshal@12 @147 + HICON_UserSize@12 @148 + HICON_UserUnmarshal@12 @149 + HMENU_UserFree@8 @150 + HMENU_UserMarshal@12 @151 + HMENU_UserSize@12 @152 + HMENU_UserUnmarshal@12 @153 + HMETAFILEPICT_UserFree@8 @154 + HMETAFILEPICT_UserMarshal@12 @155 + HMETAFILEPICT_UserSize@12 @156 + HMETAFILEPICT_UserUnmarshal@12 @157 + HMETAFILE_UserFree@8 @158 + HMETAFILE_UserMarshal@12 @159 + HMETAFILE_UserSize@12 @160 + HMETAFILE_UserUnmarshal@12 @161 + HPALETTE_UserFree@8 @162 + HPALETTE_UserMarshal@12 @163 + HPALETTE_UserSize@12 @164 + HPALETTE_UserUnmarshal@12 @165 + HWND_UserFree@8 @166 + HWND_UserMarshal@12 @167 + HWND_UserSize@12 @168 + HWND_UserUnmarshal@12 @169 + IIDFromString@8 @170 + IsAccelerator@16 @172 + IsEqualGUID@8 @173 + IsValidInterface@4 @175 + MkParseDisplayName@16 @178 + MonikerCommonPrefixWith@12 @179 + OleBuildVersion@0 @181 + OleConvertIStorageToOLESTREAM@8 @182 + OleConvertOLESTREAMToIStorage@12 @184 + OleCreate@28 @186 + OleCreateDefaultHandler@16 @187 + OleCreateEmbeddingHelper@24 @188 + OleCreateFromData@28 @190 + OleCreateFromDataEx@48 @191 + OleCreateFromFile@32 @192 + OleCreateFromFileEx@52 @193 + OleCreateLink@28 @194 + OleCreateLinkFromData@28 @196 + OleCreateLinkToFile@28 @198 + OleCreateMenuDescriptor@8 @200 + OleCreateStaticFromData@28 @201 + OleDestroyMenuDescriptor@4 @202 + OleDoAutoConvert@8 @203 + OleDraw@16 @204 + OleDuplicateData@12 @205 + OleFlushClipboard@0 @206 + OleGetAutoConvert@8 @207 + OleGetClipboard@4 @208 + OleGetIconOfClass@12 @209 + OleGetIconOfFile@8 @210 + OleInitialize@4 @211 + OleInitializeWOW@8 @212 + OleIsCurrentClipboard@4 @213 + OleIsRunning@4 @214 + OleLoad@16 @215 + OleLoadFromStream@12 @216 + OleLockRunning@12 @217 + OleMetafilePictFromIconAndLabel@16 @218 + OleNoteObjectVisible@8 @219 + OleQueryCreateFromData@4 @220 + OleQueryLinkFromData@4 @221 + OleRegEnumFormatEtc@12 @222 + OleRegEnumVerbs@8 @223 + OleRegGetMiscStatus@12 @224 + OleRegGetUserType@12 @225 + OleRun@4 @226 + OleSave@12 @227 + OleSaveToStream@8 @228 + OleSetAutoConvert@8 @229 + OleSetClipboard@4 @230 + OleSetContainedObject@8 @231 + OleSetMenuDescriptor@20 @232 + OleTranslateAccelerator@12 @233 + OleUninitialize@0 @234 + ProgIDFromCLSID@8 @236 + PropStgNameToFmtId@8 @237 + PropSysAllocString@4 @238 + PropSysFreeString@4 @239 + PropVariantClear@4 @240 + PropVariantCopy@8 @241 + ReadClassStg@8 @242 + ReadClassStm@8 @243 + ReadFmtUserTypeStg@12 @244 + RegisterDragDrop@8 @247 + ReleaseStgMedium@4 @248 + RevokeDragDrop@4 @249 + SNB_UserFree@8 @250 + SNB_UserMarshal@12 @251 + SNB_UserSize@12 @252 + SNB_UserUnmarshal@12 @253 + STGMEDIUM_UserFree@8 @254 + STGMEDIUM_UserMarshal@12 @255 + STGMEDIUM_UserSize@12 @256 + STGMEDIUM_UserUnmarshal@12 @257 + SetConvertStg@8 @258 + SetErrorInfo@8 @260 + StgConvertPropertyToVariant@16 @261 + StgConvertVariantToProperty@28 @262 + StgCreateDocfile@16 @263 + StgCreateDocfileOnILockBytes@16 @264 + StgCreatePropSetStg@12 @265 + StgCreatePropStg@24 @266 + StgCreateStorageEx@32 @267 + StgIsStorageFile@4 @270 + StgIsStorageILockBytes@4 @271 + StgOpenPropStg@20 @273 + StgOpenStorage@24 @274 + StgOpenStorageEx@32 @275 + StgOpenStorageOnILockBytes@24 @276 + StgSetTimes@16 @277 + StringFromCLSID@8 @278 + StringFromGUID2@12 @279 + StringFromIID@8=StringFromCLSID@8 @280 + WdtpInterfacePointer_UserFree@4 @286 + WdtpInterfacePointer_UserMarshal@20 @287 + WdtpInterfacePointer_UserSize@20 @288 + WdtpInterfacePointer_UserUnmarshal@16 @289 + WriteClassStg@8 @290 + WriteClassStm@8 @291 + WriteFmtUserTypeStg@12 @292 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboleacc.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboleacc.def new file mode 100644 index 0000000..c427e2a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboleacc.def @@ -0,0 +1,24 @@ +; File generated automatically from ./dlls/oleacc/oleacc.spec; do not edit! + +LIBRARY oleacc.dll + +EXPORTS + AccessibleChildren@20 @1 + AccessibleObjectFromPoint@16 @3 + AccessibleObjectFromWindow@16 @4 + CreateStdAccessibleObject@16 @5 + DllGetClassObject@12 @8 PRIVATE + DllRegisterServer@0 @9 PRIVATE + DllUnregisterServer@0 @10 PRIVATE + GetOleaccVersionInfo@8 @11 + GetProcessHandleFromHwnd@4 @12 + GetRoleTextA@12 @13 + GetRoleTextW@12 @14 + GetStateTextA@12 @15 + GetStateTextW@12 @16 + IID_IAccessible @17 DATA + IID_IAccessibleHandler @18 DATA + LIBID_Accessibility @19 DATA + LresultFromObject@12 @20 + ObjectFromLresult@16 @21 + WindowFromAccessibleObject@8 @22 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboleaut32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboleaut32.def new file mode 100644 index 0000000..4ff6540 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboleaut32.def @@ -0,0 +1,396 @@ +; File generated automatically from ./dlls/oleaut32/oleaut32.spec; do not edit! + +LIBRARY oleaut32.dll + +EXPORTS + SysAllocString@4 @2 + SysReAllocString@8 @3 + SysAllocStringLen@8 @4 + SysReAllocStringLen@12 @5 + SysFreeString@4 @6 + SysStringLen@4 @7 + VariantInit@4 @8 + VariantClear@4 @9 + VariantCopy@8 @10 + VariantCopyInd@8 @11 + VariantChangeType@16 @12 + VariantTimeToDosDateTime@16 @13 + DosDateTimeToVariantTime@12 @14 + SafeArrayCreate@12 @15 + SafeArrayDestroy@4 @16 + SafeArrayGetDim@4 @17 + SafeArrayGetElemsize@4 @18 + SafeArrayGetUBound@12 @19 + SafeArrayGetLBound@12 @20 + SafeArrayLock@4 @21 + SafeArrayUnlock@4 @22 + SafeArrayAccessData@8 @23 + SafeArrayUnaccessData@4 @24 + SafeArrayGetElement@12 @25 + SafeArrayPutElement@12 @26 + SafeArrayCopy@8 @27 + DispGetParam@20 @28 + DispGetIDsOfNames@16 @29 + DispInvoke@32 @30 + CreateDispTypeInfo@12 @31 + CreateStdDispatch@16 @32 + RegisterActiveObject@16 @33 + RevokeActiveObject@8 @34 + GetActiveObject@12 @35 + SafeArrayAllocDescriptor@8 @36 + SafeArrayAllocData@4 @37 + SafeArrayDestroyDescriptor@4 @38 + SafeArrayDestroyData@4 @39 + SafeArrayRedim@8 @40 + SafeArrayAllocDescriptorEx@12 @41 + SafeArrayCreateEx@16 @42 + SafeArrayCreateVectorEx@16 @43 + SafeArraySetRecordInfo@8 @44 + SafeArrayGetRecordInfo@8 @45 + VarParseNumFromStr@20 @46 + VarNumFromParseNum@16 @47 + VarI2FromUI1@8 @48 + VarI2FromI4@8 @49 + VarI2FromR4@8 @50 + VarI2FromR8@12 @51 + VarI2FromCy@12 @52 + VarI2FromDate@12 @53 + VarI2FromStr@16 @54 + VarI2FromDisp@12 @55 + VarI2FromBool@8 @56 + SafeArraySetIID@8 @57 + VarI4FromUI1@8 @58 + VarI4FromI2@8 @59 + VarI4FromR4@8 @60 + VarI4FromR8@12 @61 + VarI4FromCy@12 @62 + VarI4FromDate@12 @63 + VarI4FromStr@16 @64 + VarI4FromDisp@12 @65 + VarI4FromBool@8 @66 + SafeArrayGetIID@8 @67 + VarR4FromUI1@8 @68 + VarR4FromI2@8 @69 + VarR4FromI4@8 @70 + VarR4FromR8@12 @71 + VarR4FromCy@12 @72 + VarR4FromDate@12 @73 + VarR4FromStr@16 @74 + VarR4FromDisp@12 @75 + VarR4FromBool@8 @76 + SafeArrayGetVartype@8 @77 + VarR8FromUI1@8 @78 + VarR8FromI2@8 @79 + VarR8FromI4@8 @80 + VarR8FromR4@8 @81 + VarR8FromCy@12 @82 + VarR8FromDate@12 @83 + VarR8FromStr@16 @84 + VarR8FromDisp@12 @85 + VarR8FromBool@8 @86 + VarFormat@24 @87 + VarDateFromUI1@8 @88 + VarDateFromI2@8 @89 + VarDateFromI4@8 @90 + VarDateFromR4@8 @91 + VarDateFromR8@12 @92 + VarDateFromCy@12 @93 + VarDateFromStr@16 @94 + VarDateFromDisp@12 @95 + VarDateFromBool@8 @96 + VarFormatDateTime@16 @97 + VarCyFromUI1@8 @98 + VarCyFromI2@8 @99 + VarCyFromI4@8 @100 + VarCyFromR4@8 @101 + VarCyFromR8@12 @102 + VarCyFromDate@12 @103 + VarCyFromStr@16 @104 + VarCyFromDisp@12 @105 + VarCyFromBool@8 @106 + VarFormatNumber@28 @107 + VarBstrFromUI1@16 @108 + VarBstrFromI2@16 @109 + VarBstrFromI4@16 @110 + VarBstrFromR4@16 @111 + VarBstrFromR8@20 @112 + VarBstrFromCy@20 @113 + VarBstrFromDate@20 @114 + VarBstrFromDisp@16 @115 + VarBstrFromBool@16 @116 + VarFormatPercent@28 @117 + VarBoolFromUI1@8 @118 + VarBoolFromI2@8 @119 + VarBoolFromI4@8 @120 + VarBoolFromR4@8 @121 + VarBoolFromR8@12 @122 + VarBoolFromDate@12 @123 + VarBoolFromCy@12 @124 + VarBoolFromStr@16 @125 + VarBoolFromDisp@12 @126 + VarFormatCurrency@28 @127 + VarWeekdayName@20 @128 + VarMonthName@16 @129 + VarUI1FromI2@8 @130 + VarUI1FromI4@8 @131 + VarUI1FromR4@8 @132 + VarUI1FromR8@12 @133 + VarUI1FromCy@12 @134 + VarUI1FromDate@12 @135 + VarUI1FromStr@16 @136 + VarUI1FromDisp@12 @137 + VarUI1FromBool@8 @138 + VarFormatFromTokens@24 @139 + VarTokenizeFormatString@28 @140 + VarAdd@12 @141 + VarAnd@12 @142 + VarDiv@12 @143 + DispCallFunc@32 @146 + VariantChangeTypeEx@20 @147 + SafeArrayPtrOfIndex@12 @148 + SysStringByteLen@4 @149 + SysAllocStringByteLen@8 @150 + VarEqv@12 @152 + VarIdiv@12 @153 + VarImp@12 @154 + VarMod@12 @155 + VarMul@12 @156 + VarOr@12 @157 + VarPow@12 @158 + VarSub@12 @159 + CreateTypeLib@12 @160 + LoadTypeLib@8 @161 + LoadRegTypeLib@20 @162 + RegisterTypeLib@12 @163 + QueryPathOfRegTypeLib@20 @164 + LHashValOfNameSys@12 @165 + LHashValOfNameSysA@12 @166 + VarXor@12 @167 + VarAbs@8 @168 + VarFix@8 @169 + OaBuildVersion@0 @170 + ClearCustData@4 @171 + VarInt@8 @172 + VarNeg@8 @173 + VarNot@8 @174 + VarRound@12 @175 + VarCmp@16 @176 + VarDecAdd@12 @177 + VarDecDiv@12 @178 + VarDecMul@12 @179 + CreateTypeLib2@12 @180 + VarDecSub@12 @181 + VarDecAbs@8 @182 + LoadTypeLibEx@12 @183 + SystemTimeToVariantTime@8 @184 + VariantTimeToSystemTime@12 @185 + UnRegisterTypeLib@20 @186 + VarDecFix@8 @187 + VarDecInt@8 @188 + VarDecNeg@8 @189 + VarDecFromUI1@8 @190 + VarDecFromI2@8 @191 + VarDecFromI4@8 @192 + VarDecFromR4@8 @193 + VarDecFromR8@12 @194 + VarDecFromDate@12 @195 + VarDecFromCy@12 @196 + VarDecFromStr@16 @197 + VarDecFromDisp@12 @198 + VarDecFromBool@8 @199 + GetErrorInfo@8=ole32.GetErrorInfo @200 + SetErrorInfo@8=ole32.SetErrorInfo @201 + CreateErrorInfo@4=ole32.CreateErrorInfo @202 + VarDecRound@12 @203 + VarDecCmp@8 @204 + VarI2FromI1@8 @205 + VarI2FromUI2@8 @206 + VarI2FromUI4@8 @207 + VarI2FromDec@8 @208 + VarI4FromI1@8 @209 + VarI4FromUI2@8 @210 + VarI4FromUI4@8 @211 + VarI4FromDec@8 @212 + VarR4FromI1@8 @213 + VarR4FromUI2@8 @214 + VarR4FromUI4@8 @215 + VarR4FromDec@8 @216 + VarR8FromI1@8 @217 + VarR8FromUI2@8 @218 + VarR8FromUI4@8 @219 + VarR8FromDec@8 @220 + VarDateFromI1@8 @221 + VarDateFromUI2@8 @222 + VarDateFromUI4@8 @223 + VarDateFromDec@8 @224 + VarCyFromI1@8 @225 + VarCyFromUI2@8 @226 + VarCyFromUI4@8 @227 + VarCyFromDec@8 @228 + VarBstrFromI1@16 @229 + VarBstrFromUI2@16 @230 + VarBstrFromUI4@16 @231 + VarBstrFromDec@16 @232 + VarBoolFromI1@8 @233 + VarBoolFromUI2@8 @234 + VarBoolFromUI4@8 @235 + VarBoolFromDec@8 @236 + VarUI1FromI1@8 @237 + VarUI1FromUI2@8 @238 + VarUI1FromUI4@8 @239 + VarUI1FromDec@8 @240 + VarDecFromI1@8 @241 + VarDecFromUI2@8 @242 + VarDecFromUI4@8 @243 + VarI1FromUI1@8 @244 + VarI1FromI2@8 @245 + VarI1FromI4@8 @246 + VarI1FromR4@8 @247 + VarI1FromR8@12 @248 + VarI1FromDate@12 @249 + VarI1FromCy@12 @250 + VarI1FromStr@16 @251 + VarI1FromDisp@12 @252 + VarI1FromBool@8 @253 + VarI1FromUI2@8 @254 + VarI1FromUI4@8 @255 + VarI1FromDec@8 @256 + VarUI2FromUI1@8 @257 + VarUI2FromI2@8 @258 + VarUI2FromI4@8 @259 + VarUI2FromR4@8 @260 + VarUI2FromR8@12 @261 + VarUI2FromDate@12 @262 + VarUI2FromCy@12 @263 + VarUI2FromStr@16 @264 + VarUI2FromDisp@12 @265 + VarUI2FromBool@8 @266 + VarUI2FromI1@8 @267 + VarUI2FromUI4@8 @268 + VarUI2FromDec@8 @269 + VarUI4FromUI1@8 @270 + VarUI4FromI2@8 @271 + VarUI4FromI4@8 @272 + VarUI4FromR4@8 @273 + VarUI4FromR8@12 @274 + VarUI4FromDate@12 @275 + VarUI4FromCy@12 @276 + VarUI4FromStr@16 @277 + VarUI4FromDisp@12 @278 + VarUI4FromBool@8 @279 + VarUI4FromI1@8 @280 + VarUI4FromUI2@8 @281 + VarUI4FromDec@8 @282 + BSTR_UserSize@12 @283 + BSTR_UserMarshal@12 @284 + BSTR_UserUnmarshal@12 @285 + BSTR_UserFree@8 @286 + VARIANT_UserSize@12 @287 + VARIANT_UserMarshal@12 @288 + VARIANT_UserUnmarshal@12 @289 + VARIANT_UserFree@8 @290 + LPSAFEARRAY_UserSize@12 @291 + LPSAFEARRAY_UserMarshal@12 @292 + LPSAFEARRAY_UserUnmarshal@12 @293 + LPSAFEARRAY_UserFree@8 @294 + VarDecCmpR8@12 @298 + VarCyAdd@20 @299 + VarCyMul@20 @303 + VarCyMulI4@16 @304 + VarCySub@20 @305 + VarCyAbs@12 @306 + VarCyFix@12 @307 + VarCyInt@12 @308 + VarCyNeg@12 @309 + VarCyRound@16 @310 + VarCyCmp@16 @311 + VarCyCmpR8@16 @312 + VarBstrCat@12 @313 + VarBstrCmp@16 @314 + VarR8Pow@20 @315 + VarR4CmpR8@12 @316 + VarR8Round@16 @317 + VarCat@12 @318 + VarDateFromUdateEx@16 @319 + GetRecordInfoFromGuids@24 @322 + GetRecordInfoFromTypeInfo@8 @323 + SetOaNoCache@0 @327 + VarCyMulI8@20 @329 + VarDateFromUdate@12 @330 + VarUdateFromDate@16 @331 + GetAltMonthNames@8 @332 + VarI8FromUI1@8 @333 + VarI8FromI2@8 @334 + VarI8FromR4@8 @335 + VarI8FromR8@12 @336 + VarI8FromCy@12 @337 + VarI8FromDate@12 @338 + VarI8FromStr@16 @339 + VarI8FromDisp@12 @340 + VarI8FromBool@8 @341 + VarI8FromI1@8 @342 + VarI8FromUI2@8 @343 + VarI8FromUI4@8 @344 + VarI8FromDec@8 @345 + VarI2FromI8@12 @346 + VarI2FromUI8@12 @347 + VarI4FromI8@12 @348 + VarI4FromUI8@12 @349 + VarR4FromI8@12 @360 + VarR4FromUI8@12 @361 + VarR8FromI8@12 @362 + VarR8FromUI8@12 @363 + VarDateFromI8@12 @364 + VarDateFromUI8@12 @365 + VarCyFromI8@12 @366 + VarCyFromUI8@12 @367 + VarBstrFromI8@20 @368 + VarBstrFromUI8@20 @369 + VarBoolFromI8@12 @370 + VarBoolFromUI8@12 @371 + VarUI1FromI8@12 @372 + VarUI1FromUI8@12 @373 + VarDecFromI8@12 @374 + VarDecFromUI8@12 @375 + VarI1FromI8@12 @376 + VarI1FromUI8@12 @377 + VarUI2FromI8@12 @378 + VarUI2FromUI8@12 @379 + OleLoadPictureEx@32 @401 + SafeArrayCreateVector@12 @411 + SafeArrayCopyData@8 @412 + VectorFromBstr@8 @413 + BstrFromVector@8 @414 + OleIconToCursor@8 @415 + OleCreatePropertyFrameIndirect@4 @416 + OleCreatePropertyFrame@44 @417 + OleLoadPicture@20 @418 + OleCreatePictureIndirect@16 @419 + OleCreateFontIndirect@12 @420 + OleTranslateColor@12 @421 + OleLoadPictureFile@20 @422 + OleSavePictureFile@8 @423 + OleLoadPicturePath@24 @424 + VarUI4FromI8@12 @425 + VarUI4FromUI8@12 @426 + VarI8FromUI8@12 @427 + VarUI8FromI8@12 @428 + VarUI8FromUI1@8 @429 + VarUI8FromI2@8 @430 + VarUI8FromR4@8 @431 + VarUI8FromR8@12 @432 + VarUI8FromCy@12 @433 + VarUI8FromDate@12 @434 + VarUI8FromStr@16 @435 + VarUI8FromDisp@12 @436 + VarUI8FromBool@8 @437 + VarUI8FromI1@8 @438 + VarUI8FromUI2@8 @439 + VarUI8FromUI4@8 @440 + VarUI8FromDec@8 @441 + RegisterTypeLibForUser@12 @442 + UnRegisterTypeLibForUser@20 @443 + DllCanUnloadNow@0 @145 PRIVATE + DllGetClassObject@12 @151 PRIVATE + DllRegisterServer@0 @300 PRIVATE + DllUnregisterServer@0 @301 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolecli32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolecli32.def new file mode 100644 index 0000000..b462675 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolecli32.def @@ -0,0 +1,20 @@ +; File generated automatically from ./dlls/olecli32/olecli32.spec; do not edit! + +LIBRARY olecli32.dll + +EXPORTS + OleSaveToStream@8=ole32.OleSaveToStream @3 + OleLoadFromStream@12=ole32.OleLoadFromStream @4 + OleQueryLinkFromClip@12 @9 + OleQueryCreateFromClip@12 @10 + OleCreateLinkFromClip@28 @11 + OleCreateFromClip@28 @12 + OleQueryType@8 @14 + OleSetHostNames@12 @15 + OleCreate@28=ole32.OleCreate @34 + OleCreateFromFile@32=ole32.OleCreateFromFile @38 + OleRegisterClientDoc@16 @41 + OleRevokeClientDoc@4 @42 + OleRenameClientDoc@8 @43 + OleSavedClientDoc@4 @45 + OleIsDcMeta@4 @60 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboledlg.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboledlg.def new file mode 100644 index 0000000..d1ee876 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liboledlg.def @@ -0,0 +1,28 @@ +; File generated automatically from ./dlls/oledlg/oledlg.spec; do not edit! + +LIBRARY oledlg.dll + +EXPORTS + OleUIAddVerbMenuA@36 @1 + OleUICanConvertOrActivateAs@12 @2 + OleUIInsertObjectA@4 @3 + OleUIPasteSpecialA@4 @4 + OleUIEditLinksA@4 @5 + OleUIChangeIconA@4 @6 + OleUIConvertA@4 @7 + OleUIBusyA@4 @8 + OleUIUpdateLinksA@16 @9 + OleUIPromptUserA @10 + OleUIObjectPropertiesA@4 @11 + OleUIChangeSourceA@4 @12 + OleUIPromptUserW @13 + OleUIAddVerbMenuW@36 @14 + OleUIBusyW@4 @15 + OleUIChangeIconW@4 @16 + OleUIChangeSourceW@4 @17 + OleUIConvertW@4 @18 + OleUIEditLinksW@4 @19 + OleUIInsertObjectW@4 @20 + OleUIObjectPropertiesW@4 @21 + OleUIPasteSpecialW@4 @22 + OleUIUpdateLinksW@16 @23 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolepro32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolepro32.def new file mode 100644 index 0000000..40af86e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolepro32.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/olepro32/olepro32.spec; do not edit! + +LIBRARY olepro32.dll + +EXPORTS + OleIconToCursor@8=oleaut32.OleIconToCursor @248 + OleCreatePropertyFrameIndirect@4=oleaut32.OleCreatePropertyFrameIndirect @249 + OleCreatePropertyFrame@44=oleaut32.OleCreatePropertyFrame @250 + OleLoadPicture@20=oleaut32.OleLoadPicture @251 + OleCreatePictureIndirect@16=oleaut32.OleCreatePictureIndirect @252 + OleCreateFontIndirect@12=oleaut32.OleCreateFontIndirect @253 + OleTranslateColor@12=oleaut32.OleTranslateColor @254 + DllCanUnloadNow@0 @255 PRIVATE + DllGetClassObject@12 @256 PRIVATE + DllRegisterServer@0 @257 PRIVATE + DllUnregisterServer@0 @258 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolesvr32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolesvr32.def new file mode 100644 index 0000000..e46a8b3 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libolesvr32.def @@ -0,0 +1,14 @@ +; File generated automatically from ./dlls/olesvr32/olesvr32.spec; do not edit! + +LIBRARY olesvr32.dll + +EXPORTS + OleRegisterServer@20 @2 + OleRevokeServer@4 @3 + OleBlockServer@4 @4 + OleUnblockServer@8 @5 + OleRegisterServerDoc@16 @6 + OleRevokeServerDoc@4 @7 + OleRenameServerDoc@8 @8 + OleRevertServerDoc@4 @9 + OleSavedServerDoc@4 @10 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libopengl32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libopengl32.def new file mode 100644 index 0000000..3d3aba8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libopengl32.def @@ -0,0 +1,365 @@ +; File generated automatically from ./dlls/opengl32/opengl32.spec; do not edit! + +LIBRARY opengl32.dll + +EXPORTS + glAccum@8 @1 + glAlphaFunc@8 @2 + glAreTexturesResident@12 @3 + glArrayElement@4 @4 + glBegin@4 @5 + glBindTexture@8 @6 + glBitmap@28 @7 + glBlendFunc@8 @8 + glCallList@4 @9 + glCallLists@12 @10 + glClear@4 @11 + glClearAccum@16 @12 + glClearColor@16 @13 + glClearDepth@8 @14 + glClearIndex@4 @15 + glClearStencil@4 @16 + glClipPlane@8 @17 + glColor3b@12 @18 + glColor3bv@4 @19 + glColor3d@24 @20 + glColor3dv@4 @21 + glColor3f@12 @22 + glColor3fv@4 @23 + glColor3i@12 @24 + glColor3iv@4 @25 + glColor3s@12 @26 + glColor3sv@4 @27 + glColor3ub@12 @28 + glColor3ubv@4 @29 + glColor3ui@12 @30 + glColor3uiv@4 @31 + glColor3us@12 @32 + glColor3usv@4 @33 + glColor4b@16 @34 + glColor4bv@4 @35 + glColor4d@32 @36 + glColor4dv@4 @37 + glColor4f@16 @38 + glColor4fv@4 @39 + glColor4i@16 @40 + glColor4iv@4 @41 + glColor4s@16 @42 + glColor4sv@4 @43 + glColor4ub@16 @44 + glColor4ubv@4 @45 + glColor4ui@16 @46 + glColor4uiv@4 @47 + glColor4us@16 @48 + glColor4usv@4 @49 + glColorMask@16 @50 + glColorMaterial@8 @51 + glColorPointer@16 @52 + glCopyPixels@20 @53 + glCopyTexImage1D@28 @54 + glCopyTexImage2D@32 @55 + glCopyTexSubImage1D@24 @56 + glCopyTexSubImage2D@32 @57 + glCullFace@4 @58 + glDebugEntry@8 @59 + glDeleteLists@8 @60 + glDeleteTextures@8 @61 + glDepthFunc@4 @62 + glDepthMask@4 @63 + glDepthRange@16 @64 + glDisable@4 @65 + glDisableClientState@4 @66 + glDrawArrays@12 @67 + glDrawBuffer@4 @68 + glDrawElements@16 @69 + glDrawPixels@20 @70 + glEdgeFlag@4 @71 + glEdgeFlagPointer@8 @72 + glEdgeFlagv@4 @73 + glEnable@4 @74 + glEnableClientState@4 @75 + glEnd@0 @76 + glEndList@0 @77 + glEvalCoord1d@8 @78 + glEvalCoord1dv@4 @79 + glEvalCoord1f@4 @80 + glEvalCoord1fv@4 @81 + glEvalCoord2d@16 @82 + glEvalCoord2dv@4 @83 + glEvalCoord2f@8 @84 + glEvalCoord2fv@4 @85 + glEvalMesh1@12 @86 + glEvalMesh2@20 @87 + glEvalPoint1@4 @88 + glEvalPoint2@8 @89 + glFeedbackBuffer@12 @90 + glFinish@0 @91 + glFlush@0 @92 + glFogf@8 @93 + glFogfv@8 @94 + glFogi@8 @95 + glFogiv@8 @96 + glFrontFace@4 @97 + glFrustum@48 @98 + glGenLists@4 @99 + glGenTextures@8 @100 + glGetBooleanv@8 @101 + glGetClipPlane@8 @102 + glGetDoublev@8 @103 + glGetError@0 @104 + glGetFloatv@8 @105 + glGetIntegerv@8 @106 + glGetLightfv@12 @107 + glGetLightiv@12 @108 + glGetMapdv@12 @109 + glGetMapfv@12 @110 + glGetMapiv@12 @111 + glGetMaterialfv@12 @112 + glGetMaterialiv@12 @113 + glGetPixelMapfv@8 @114 + glGetPixelMapuiv@8 @115 + glGetPixelMapusv@8 @116 + glGetPointerv@8 @117 + glGetPolygonStipple@4 @118 + glGetString@4 @119 + glGetTexEnvfv@12 @120 + glGetTexEnviv@12 @121 + glGetTexGendv@12 @122 + glGetTexGenfv@12 @123 + glGetTexGeniv@12 @124 + glGetTexImage@20 @125 + glGetTexLevelParameterfv@16 @126 + glGetTexLevelParameteriv@16 @127 + glGetTexParameterfv@12 @128 + glGetTexParameteriv@12 @129 + glHint@8 @130 + glIndexMask@4 @131 + glIndexPointer@12 @132 + glIndexd@8 @133 + glIndexdv@4 @134 + glIndexf@4 @135 + glIndexfv@4 @136 + glIndexi@4 @137 + glIndexiv@4 @138 + glIndexs@4 @139 + glIndexsv@4 @140 + glIndexub@4 @141 + glIndexubv@4 @142 + glInitNames@0 @143 + glInterleavedArrays@12 @144 + glIsEnabled@4 @145 + glIsList@4 @146 + glIsTexture@4 @147 + glLightModelf@8 @148 + glLightModelfv@8 @149 + glLightModeli@8 @150 + glLightModeliv@8 @151 + glLightf@12 @152 + glLightfv@12 @153 + glLighti@12 @154 + glLightiv@12 @155 + glLineStipple@8 @156 + glLineWidth@4 @157 + glListBase@4 @158 + glLoadIdentity@0 @159 + glLoadMatrixd@4 @160 + glLoadMatrixf@4 @161 + glLoadName@4 @162 + glLogicOp@4 @163 + glMap1d@32 @164 + glMap1f@24 @165 + glMap2d@56 @166 + glMap2f@40 @167 + glMapGrid1d@20 @168 + glMapGrid1f@12 @169 + glMapGrid2d@40 @170 + glMapGrid2f@24 @171 + glMaterialf@12 @172 + glMaterialfv@12 @173 + glMateriali@12 @174 + glMaterialiv@12 @175 + glMatrixMode@4 @176 + glMultMatrixd@4 @177 + glMultMatrixf@4 @178 + glNewList@8 @179 + glNormal3b@12 @180 + glNormal3bv@4 @181 + glNormal3d@24 @182 + glNormal3dv@4 @183 + glNormal3f@12 @184 + glNormal3fv@4 @185 + glNormal3i@12 @186 + glNormal3iv@4 @187 + glNormal3s@12 @188 + glNormal3sv@4 @189 + glNormalPointer@12 @190 + glOrtho@48 @191 + glPassThrough@4 @192 + glPixelMapfv@12 @193 + glPixelMapuiv@12 @194 + glPixelMapusv@12 @195 + glPixelStoref@8 @196 + glPixelStorei@8 @197 + glPixelTransferf@8 @198 + glPixelTransferi@8 @199 + glPixelZoom@8 @200 + glPointSize@4 @201 + glPolygonMode@8 @202 + glPolygonOffset@8 @203 + glPolygonStipple@4 @204 + glPopAttrib@0 @205 + glPopClientAttrib@0 @206 + glPopMatrix@0 @207 + glPopName@0 @208 + glPrioritizeTextures@12 @209 + glPushAttrib@4 @210 + glPushClientAttrib@4 @211 + glPushMatrix@0 @212 + glPushName@4 @213 + glRasterPos2d@16 @214 + glRasterPos2dv@4 @215 + glRasterPos2f@8 @216 + glRasterPos2fv@4 @217 + glRasterPos2i@8 @218 + glRasterPos2iv@4 @219 + glRasterPos2s@8 @220 + glRasterPos2sv@4 @221 + glRasterPos3d@24 @222 + glRasterPos3dv@4 @223 + glRasterPos3f@12 @224 + glRasterPos3fv@4 @225 + glRasterPos3i@12 @226 + glRasterPos3iv@4 @227 + glRasterPos3s@12 @228 + glRasterPos3sv@4 @229 + glRasterPos4d@32 @230 + glRasterPos4dv@4 @231 + glRasterPos4f@16 @232 + glRasterPos4fv@4 @233 + glRasterPos4i@16 @234 + glRasterPos4iv@4 @235 + glRasterPos4s@16 @236 + glRasterPos4sv@4 @237 + glReadBuffer@4 @238 + glReadPixels@28 @239 + glRectd@32 @240 + glRectdv@8 @241 + glRectf@16 @242 + glRectfv@8 @243 + glRecti@16 @244 + glRectiv@8 @245 + glRects@16 @246 + glRectsv@8 @247 + glRenderMode@4 @248 + glRotated@32 @249 + glRotatef@16 @250 + glScaled@24 @251 + glScalef@12 @252 + glScissor@16 @253 + glSelectBuffer@8 @254 + glShadeModel@4 @255 + glStencilFunc@12 @256 + glStencilMask@4 @257 + glStencilOp@12 @258 + glTexCoord1d@8 @259 + glTexCoord1dv@4 @260 + glTexCoord1f@4 @261 + glTexCoord1fv@4 @262 + glTexCoord1i@4 @263 + glTexCoord1iv@4 @264 + glTexCoord1s@4 @265 + glTexCoord1sv@4 @266 + glTexCoord2d@16 @267 + glTexCoord2dv@4 @268 + glTexCoord2f@8 @269 + glTexCoord2fv@4 @270 + glTexCoord2i@8 @271 + glTexCoord2iv@4 @272 + glTexCoord2s@8 @273 + glTexCoord2sv@4 @274 + glTexCoord3d@24 @275 + glTexCoord3dv@4 @276 + glTexCoord3f@12 @277 + glTexCoord3fv@4 @278 + glTexCoord3i@12 @279 + glTexCoord3iv@4 @280 + glTexCoord3s@12 @281 + glTexCoord3sv@4 @282 + glTexCoord4d@32 @283 + glTexCoord4dv@4 @284 + glTexCoord4f@16 @285 + glTexCoord4fv@4 @286 + glTexCoord4i@16 @287 + glTexCoord4iv@4 @288 + glTexCoord4s@16 @289 + glTexCoord4sv@4 @290 + glTexCoordPointer@16 @291 + glTexEnvf@12 @292 + glTexEnvfv@12 @293 + glTexEnvi@12 @294 + glTexEnviv@12 @295 + glTexGend@16 @296 + glTexGendv@12 @297 + glTexGenf@12 @298 + glTexGenfv@12 @299 + glTexGeni@12 @300 + glTexGeniv@12 @301 + glTexImage1D@32 @302 + glTexImage2D@36 @303 + glTexParameterf@12 @304 + glTexParameterfv@12 @305 + glTexParameteri@12 @306 + glTexParameteriv@12 @307 + glTexSubImage1D@28 @308 + glTexSubImage2D@36 @309 + glTranslated@24 @310 + glTranslatef@12 @311 + glVertex2d@16 @312 + glVertex2dv@4 @313 + glVertex2f@8 @314 + glVertex2fv@4 @315 + glVertex2i@8 @316 + glVertex2iv@4 @317 + glVertex2s@8 @318 + glVertex2sv@4 @319 + glVertex3d@24 @320 + glVertex3dv@4 @321 + glVertex3f@12 @322 + glVertex3fv@4 @323 + glVertex3i@12 @324 + glVertex3iv@4 @325 + glVertex3s@12 @326 + glVertex3sv@4 @327 + glVertex4d@32 @328 + glVertex4dv@4 @329 + glVertex4f@16 @330 + glVertex4fv@4 @331 + glVertex4i@16 @332 + glVertex4iv@4 @333 + glVertex4s@16 @334 + glVertex4sv@4 @335 + glVertexPointer@16 @336 + glViewport@16 @337 + wglChoosePixelFormat@8 @338 + wglCopyContext@12 @339 + wglCreateContext@4 @340 + wglCreateLayerContext@8 @341 + wglDeleteContext@4 @342 + wglDescribeLayerPlane@20 @343 + wglDescribePixelFormat@16 @344 + wglGetCurrentContext@0 @345 + wglGetCurrentDC@0 @346 + wglGetLayerPaletteEntries@20 @348 + wglGetPixelFormat@4 @349 + wglGetProcAddress@4 @350 + wglMakeCurrent@8 @351 + wglRealizeLayerPalette@12 @352 + wglSetLayerPaletteEntries@20 @353 + wglSetPixelFormat@12 @354 + wglShareLists@8 @355 + wglSwapBuffers@4 @356 + wglSwapLayerBuffers@8 @357 + wglUseFontBitmapsA@16 @358 + wglUseFontBitmapsW@16 @359 + wglUseFontOutlinesA@32 @360 + wglUseFontOutlinesW@32 @361 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpdh.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpdh.def new file mode 100644 index 0000000..97534e5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpdh.def @@ -0,0 +1,46 @@ +; File generated automatically from ./dlls/pdh/pdh.spec; do not edit! + +LIBRARY pdh.dll + +EXPORTS + PdhAddCounterA@16 @4 + PdhAddCounterW@16 @5 + PdhAddEnglishCounterA@16 @6 + PdhAddEnglishCounterW@16 @7 + PdhBindInputDataSourceA@8 @8 + PdhBindInputDataSourceW@8 @9 + PdhCalculateCounterFromRawValue@20 @14 + PdhCloseQuery@4 @16 + PdhCollectQueryData@4 @17 + PdhCollectQueryDataWithTime@8 @18 + PdhCollectQueryDataEx@12 @19 + PdhEnumObjectItemsA@36 @31 + PdhEnumObjectItemsW@36 @34 + PdhExpandCounterPathA@12 @39 + PdhExpandCounterPathW@12 @40 + PdhExpandWildCardPathA@20 @41 + PdhExpandWildCardPathW@20 @44 + PdhGetCounterInfoA@16 @46 + PdhGetCounterInfoW@16 @47 + PdhGetCounterTimeBase@8 @48 + PdhGetDllVersion@4 @60 + PdhGetFormattedCounterValue@16 @63 + PdhGetLogFileTypeA@8 @65 + PdhGetLogFileTypeW@8 @66 + PdhGetRawCounterValue@12 @70 + PdhLookupPerfIndexByNameA@12 @78 + PdhLookupPerfIndexByNameW@12 @79 + PdhLookupPerfNameByIndexA@16 @80 + PdhLookupPerfNameByIndexW@16 @81 + PdhMakeCounterPathA@16 @82 + PdhMakeCounterPathW@16 @83 + PdhOpenQuery@12=PdhOpenQueryW@12 @86 + PdhOpenQueryA@12 @87 + PdhOpenQueryW@12 @89 + PdhRemoveCounter@4 @126 + PdhSetCounterScaleFactor@8 @129 + PdhSetDefaultRealTimeDataSource@4 @130 + PdhValidatePathA@4 @140 + PdhValidatePathExA@8 @141 + PdhValidatePathExW@8 @142 + PdhValidatePathW@4 @143 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpowrprof.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpowrprof.def new file mode 100644 index 0000000..04bcf81 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpowrprof.def @@ -0,0 +1,29 @@ +; File generated automatically from ./dlls/powrprof/powrprof.spec; do not edit! + +LIBRARY powrprof.dll + +EXPORTS + CallNtPowerInformation@20 @1 + CanUserWritePwrScheme@0 @2 + DeletePwrScheme@4 @3 + EnumPwrSchemes@8 @4 + GetActivePwrScheme@4 @5 + GetCurrentPowerPolicies@8 @6 + GetPwrCapabilities@4 @7 + GetPwrDiskSpindownRange@8 @8 + IsAdminOverrideActive@4 @9 + IsPwrHibernateAllowed@0 @10 + IsPwrShutdownAllowed@0 @11 + IsPwrSuspendAllowed@0 @12 + PowerDeterminePlatformRole@0 @13 + PowerGetActiveScheme@8 @14 + PowerSetActiveScheme@8 @15 + PowerReadDCValue@28 @16 + ReadGlobalPwrPolicy@4 @17 + ReadProcessorPwrScheme@8 @18 + ReadPwrScheme@8 @19 + SetActivePwrScheme@12 @20 + SetSuspendState@12 @21 + WriteGlobalPwrPolicy@4 @22 + WriteProcessorPwrScheme@8 @23 + WritePwrScheme@16 @24 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpropsys.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpropsys.def new file mode 100644 index 0000000..2b4e79c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpropsys.def @@ -0,0 +1,33 @@ +; File generated automatically from ./dlls/propsys/propsys.spec; do not edit! + +LIBRARY propsys.dll + +EXPORTS + DllCanUnloadNow@0 @6 PRIVATE + DllGetClassObject@12 @7 PRIVATE + DllRegisterServer@0 @8 PRIVATE + DllUnregisterServer@0 @9 PRIVATE + InitPropVariantFromBuffer@12 @11 + InitPropVariantFromGUIDAsString@8 @16 + InitVariantFromBuffer@12 @30 + InitVariantFromGUIDAsString@8 @34 + PSGetPropertyDescription@12 @62 + PSGetPropertyDescriptionListFromString@12 @64 + PSGetPropertySystem@8 @67 + PSPropertyKeyFromString@8 @70 + PSRefreshPropertySchema@0 @71 + PSRegisterPropertySchema@4 @72 + PSStringFromPropertyKey@12 @74 + PSUnregisterPropertySchema@4 @75 + PropVariantChangeType@16 @76 + PropVariantCompareEx@16 @77 + PropVariantToBoolean@8 @90 + PropVariantToGUID@8 @102 + PropVariantToInt16@8 @103 + PropVariantToInt32@8 @107 + PropVariantToInt64@8 @111 + PropVariantToStringAlloc@8 @117 + PropVariantToUInt16@8 @121 + PropVariantToUInt32@8 @125 + PropVariantToUInt64@8 @129 + VariantToGUID@8 @158 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpsapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpsapi.def new file mode 100644 index 0000000..eb14acd --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libpsapi.def @@ -0,0 +1,31 @@ +; File generated automatically from ./dlls/psapi/psapi.spec; do not edit! + +LIBRARY psapi.dll + +EXPORTS + EmptyWorkingSet@4=kernel32.K32EmptyWorkingSet @1 + EnumDeviceDrivers@12=kernel32.K32EnumDeviceDrivers @2 + EnumPageFilesA@8=kernel32.K32EnumPageFilesA @3 + EnumPageFilesW@8=kernel32.K32EnumPageFilesW @4 + EnumProcessModules@16=kernel32.K32EnumProcessModules @5 + EnumProcessModulesEx@20=kernel32.K32EnumProcessModulesEx @6 + EnumProcesses@12=kernel32.K32EnumProcesses @7 + GetDeviceDriverBaseNameA@12=kernel32.K32GetDeviceDriverBaseNameA @8 + GetDeviceDriverBaseNameW@12=kernel32.K32GetDeviceDriverBaseNameW @9 + GetDeviceDriverFileNameA@12=kernel32.K32GetDeviceDriverFileNameA @10 + GetDeviceDriverFileNameW@12=kernel32.K32GetDeviceDriverFileNameW @11 + GetMappedFileNameA@16=kernel32.K32GetMappedFileNameA @12 + GetMappedFileNameW@16=kernel32.K32GetMappedFileNameW @13 + GetModuleBaseNameA@16=kernel32.K32GetModuleBaseNameA @14 + GetModuleBaseNameW@16=kernel32.K32GetModuleBaseNameW @15 + GetModuleFileNameExA@16=kernel32.K32GetModuleFileNameExA @16 + GetModuleFileNameExW@16=kernel32.K32GetModuleFileNameExW @17 + GetModuleInformation@16=kernel32.K32GetModuleInformation @18 + GetPerformanceInfo@8=kernel32.K32GetPerformanceInfo @19 + GetProcessImageFileNameA@12=kernel32.K32GetProcessImageFileNameA @20 + GetProcessImageFileNameW@12=kernel32.K32GetProcessImageFileNameW @21 + GetProcessMemoryInfo@12=kernel32.K32GetProcessMemoryInfo @22 + GetWsChanges@12=kernel32.K32GetWsChanges @23 + InitializeProcessForWsWatch@4=kernel32.K32InitializeProcessForWsWatch @24 + QueryWorkingSet@12=kernel32.K32QueryWorkingSet @25 + QueryWorkingSetEx@12=kernel32.K32QueryWorkingSetEx @26 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libquartz.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libquartz.def new file mode 100644 index 0000000..923cfed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libquartz.def @@ -0,0 +1,13 @@ +; File generated automatically from ./dlls/quartz/quartz.spec; do not edit! + +LIBRARY quartz.dll + +EXPORTS + AMGetErrorTextA@12 @1 + AMGetErrorTextW@12 @2 + AmpFactorToDB@4 @3 + DBToAmpFactor@4 @4 + DllCanUnloadNow@0 @5 PRIVATE + DllGetClassObject@12 @6 PRIVATE + DllRegisterServer@0 @7 PRIVATE + DllUnregisterServer@0 @8 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librasapi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librasapi32.def new file mode 100644 index 0000000..da6b08f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librasapi32.def @@ -0,0 +1,62 @@ +; File generated automatically from ./dlls/rasapi32/rasapi32.spec; do not edit! + +LIBRARY rasapi32.dll + +EXPORTS + RasConnectionNotificationA@12 @540 + RasConnectionNotificationW@12 @541 + RasCreatePhonebookEntryA@8 @542 + RasCreatePhonebookEntryW@8 @543 + RasDeleteEntryA@8 @544 + RasDeleteEntryW@8 @545 + RasDeleteSubEntryA@12 @546 + RasDeleteSubEntryW@12 @547 + RasDialA@24 @548 + RasDialW@24 @549 + RasEditPhonebookEntryA@12 @551 + RasEditPhonebookEntryW@12 @552 + RasEnumAutodialAddressesA@12 @553 + RasEnumAutodialAddressesW@12 @554 + RasEnumConnectionsA@12 @555 + RasEnumConnectionsW@12 @556 + RasEnumDevicesA@12 @558 + RasEnumDevicesW@12 @559 + RasEnumEntriesA@20 @570 + RasEnumEntriesW@20 @571 + RasGetAutodialAddressA@20 @573 + RasGetAutodialAddressW@20 @574 + RasGetAutodialEnableA@8 @575 + RasGetAutodialEnableW@8 @576 + RasGetAutodialParamA@12 @577 + RasGetAutodialParamW@12 @578 + RasGetConnectStatusA@8 @580 + RasGetConnectStatusW@8 @581 + RasGetEntryDialParamsA@12 @587 + RasGetEntryDialParamsW@12 @588 + RasGetEntryPropertiesA@24 @589 + RasGetEntryPropertiesW@24 @590 + RasGetErrorStringA@12 @591 + RasGetErrorStringW@12 @592 + RasGetLinkStatistics@12 @595 + RasGetProjectionInfoA@16 @596 + RasGetProjectionInfoW@16 @597 + RasHangUpA@4 @602 + RasHangUpW@4 @603 + RasRenameEntryA@12 @605 + RasRenameEntryW@12 @606 + RasSetAutodialAddressA@20 @607 + RasSetAutodialAddressW@20 @608 + RasSetAutodialEnableA@8 @609 + RasSetAutodialEnableW@8 @610 + RasSetAutodialParamA@12 @611 + RasSetAutodialParamW@12 @612 + RasSetCustomAuthDataA@16 @615 + RasSetCustomAuthDataW@16 @616 + RasSetEntryDialParamsA@12 @617 + RasSetEntryDialParamsW@12 @618 + RasSetEntryPropertiesA@24 @619 + RasSetEntryPropertiesW@24 @620 + RasSetSubEntryPropertiesA@28 @622 + RasSetSubEntryPropertiesW@28 @623 + RasValidateEntryNameA@8 @624 + RasValidateEntryNameW@8 @625 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librasdlg.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librasdlg.def new file mode 100644 index 0000000..d8a2ef6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librasdlg.def @@ -0,0 +1,6 @@ +; File generated automatically from ./dlls/rasdlg/rasdlg.spec; do not edit! + +LIBRARY rasdlg.dll + +EXPORTS + RasEntryDlgW@12 @10 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libresutils.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libresutils.def new file mode 100644 index 0000000..0e56db8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libresutils.def @@ -0,0 +1,5 @@ +; File generated automatically from ./dlls/resutils/resutils.spec; do not edit! + +LIBRARY resutils.dll + +EXPORTS diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libriched20.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libriched20.def new file mode 100644 index 0000000..6ca2228 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libriched20.def @@ -0,0 +1,14 @@ +; File generated automatically from ./dlls/riched20/riched20.spec; do not edit! + +LIBRARY riched20.dll + +EXPORTS + IID_IRichEditOle @2 DATA + IID_IRichEditOleCallback @3 DATA + CreateTextServices@12 @4 + IID_ITextServices @5 DATA + IID_ITextHost @6 DATA + IID_ITextHost2 @7 DATA + REExtendedRegisterClass@0 @8 + RichEdit10ANSIWndProc@16 @9 + RichEditANSIWndProc@16 @10 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librpcrt4.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librpcrt4.def new file mode 100644 index 0000000..e0d82ac --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librpcrt4.def @@ -0,0 +1,317 @@ +; File generated automatically from ./dlls/rpcrt4/rpcrt4.spec; do not edit! + +LIBRARY rpcrt4.dll + +EXPORTS + CreateProxyFromTypeInfo@20 @1 + CreateStubFromTypeInfo@16 @2 + CStdStubBuffer_AddRef@4 @3 + CStdStubBuffer_Connect@8 @4 + CStdStubBuffer_CountRefs@4 @5 + CStdStubBuffer_DebugServerQueryInterface@8 @6 + CStdStubBuffer_DebugServerRelease@8 @7 + CStdStubBuffer_Disconnect@4 @8 + CStdStubBuffer_Invoke@12 @9 + CStdStubBuffer_IsIIDSupported@8 @10 + CStdStubBuffer_QueryInterface@12 @11 + DceErrorInqTextA@8 @13 + DceErrorInqTextW@8 @14 + DllRegisterServer@0 @15 PRIVATE + IUnknown_AddRef_Proxy@4 @18 + IUnknown_QueryInterface_Proxy@12 @19 + IUnknown_Release_Proxy@4 @20 + I_RpcAbortAsyncCall@8=I_RpcAsyncAbortCall@8 @21 + I_RpcAllocate@4 @22 + I_RpcAsyncAbortCall@8 @23 + I_RpcAsyncSetHandle@8 @24 + I_RpcBindingInqLocalClientPID@8 @32 + I_RpcBindingInqTransportType@8 @34 + I_RpcBindingSetAsync@8 @37 + I_RpcExceptionFilter@4 @44 + I_RpcFree@4 @45 + I_RpcFreeBuffer@4 @46 + I_RpcGetBuffer@4 @48 + I_RpcGetCurrentCallHandle@0 @50 + I_RpcMapWin32Status@4 @54 + I_RpcNegotiateTransferSyntax@4 @55 + I_RpcReceive@4 @65 + I_RpcSend@4 @67 + I_RpcSendReceive@4 @68 + I_RpcServerStartListening@4 @75 + I_RpcServerStopListening@0 @76 + I_RpcWindowProc@16 @94 + I_UuidCreate@4 @95 + MesBufferHandleReset@24 @98 + MesDecodeBufferHandleCreate@12 @99 + MesDecodeIncrementalHandleCreate@12 @100 + MesEncodeDynBufferHandleCreate@12 @101 + MesEncodeFixedBufferHandleCreate@16 @102 + MesEncodeIncrementalHandleCreate@16 @103 + MesHandleFree@4 @104 + MesIncrementalHandleReset@24 @105 + NDRCContextBinding@4 @107 + NDRCContextMarshall@8 @108 + NDRCContextUnmarshall@16 @109 + NDRSContextMarshall2@24 @110 + NDRSContextMarshall@12 @111 + NDRSContextMarshallEx@16 @112 + NDRSContextUnmarshall2@20 @113 + NDRSContextUnmarshall@8 @114 + NDRSContextUnmarshallEx@12 @115 + NdrAllocate@8 @117 + NdrAsyncClientCall @118 + NdrAsyncServerCall@4 @119 + NdrAsyncStubCall@16 @120 + NdrByteCountPointerBufferSize@12 @121 + NdrByteCountPointerFree@12 @122 + NdrByteCountPointerMarshall@12 @123 + NdrByteCountPointerUnmarshall@16 @124 + NdrCStdStubBuffer2_Release@8 @125 + NdrCStdStubBuffer_Release@8 @126 + NdrClearOutParameters@12 @127 + NdrClientCall2 @128 + NdrClientCall=NdrClientCall2 @129 + NdrClientContextMarshall@12 @130 + NdrClientContextUnmarshall@12 @131 + NdrClientInitializeNew@16 @133 + NdrComplexArrayBufferSize@12 @134 + NdrComplexArrayFree@12 @135 + NdrComplexArrayMarshall@12 @136 + NdrComplexArrayMemorySize@8 @137 + NdrComplexArrayUnmarshall@16 @138 + NdrComplexStructBufferSize@12 @139 + NdrComplexStructFree@12 @140 + NdrComplexStructMarshall@12 @141 + NdrComplexStructMemorySize@8 @142 + NdrComplexStructUnmarshall@16 @143 + NdrConformantArrayBufferSize@12 @144 + NdrConformantArrayFree@12 @145 + NdrConformantArrayMarshall@12 @146 + NdrConformantArrayMemorySize@8 @147 + NdrConformantArrayUnmarshall@16 @148 + NdrConformantStringBufferSize@12 @149 + NdrConformantStringMarshall@12 @150 + NdrConformantStringMemorySize@8 @151 + NdrConformantStringUnmarshall@16 @152 + NdrConformantStructBufferSize@12 @153 + NdrConformantStructFree@12 @154 + NdrConformantStructMarshall@12 @155 + NdrConformantStructMemorySize@8 @156 + NdrConformantStructUnmarshall@16 @157 + NdrConformantVaryingArrayBufferSize@12 @158 + NdrConformantVaryingArrayFree@12 @159 + NdrConformantVaryingArrayMarshall@12 @160 + NdrConformantVaryingArrayMemorySize@8 @161 + NdrConformantVaryingArrayUnmarshall@16 @162 + NdrConformantVaryingStructBufferSize@12 @163 + NdrConformantVaryingStructFree@12 @164 + NdrConformantVaryingStructMarshall@12 @165 + NdrConformantVaryingStructMemorySize@8 @166 + NdrConformantVaryingStructUnmarshall@16 @167 + NdrContextHandleInitialize@8 @168 + NdrContextHandleSize@12 @169 + NdrConvert2@12 @170 + NdrConvert@8 @171 + NdrCorrelationFree@4 @172 + NdrCorrelationInitialize@16 @173 + NdrCorrelationPass@4 @174 + NdrDllCanUnloadNow@4 @177 + NdrDllGetClassObject@24 @178 + NdrDllRegisterProxy@12 @179 + NdrDllUnregisterProxy@12 @180 + NdrEncapsulatedUnionBufferSize@12 @181 + NdrEncapsulatedUnionFree@12 @182 + NdrEncapsulatedUnionMarshall@12 @183 + NdrEncapsulatedUnionMemorySize@8 @184 + NdrEncapsulatedUnionUnmarshall@16 @185 + NdrFixedArrayBufferSize@12 @186 + NdrFixedArrayFree@12 @187 + NdrFixedArrayMarshall@12 @188 + NdrFixedArrayMemorySize@8 @189 + NdrFixedArrayUnmarshall@16 @190 + NdrFreeBuffer@4 @191 + NdrFullPointerFree@8 @192 + NdrFullPointerInsertRefId@12 @193 + NdrFullPointerQueryPointer@16 @194 + NdrFullPointerQueryRefId@16 @195 + NdrFullPointerXlatFree@4 @196 + NdrFullPointerXlatInit@8 @197 + NdrGetBuffer@12 @198 + NdrGetUserMarshalInfo@12 @206 + NdrInterfacePointerBufferSize@12 @212 + NdrInterfacePointerFree@12 @213 + NdrInterfacePointerMarshall@12 @214 + NdrInterfacePointerMemorySize@8 @215 + NdrInterfacePointerUnmarshall@16 @216 + NdrMapCommAndFaultStatus@16 @218 + NdrMesProcEncodeDecode @221 + NdrMesTypeDecode2@20 @227 + NdrMesTypeEncode2@20 @229 + NdrMesTypeFree2@20 @231 + NdrNonConformantStringBufferSize@12 @232 + NdrNonConformantStringMarshall@12 @233 + NdrNonConformantStringMemorySize@8 @234 + NdrNonConformantStringUnmarshall@16 @235 + NdrNonEncapsulatedUnionBufferSize@12 @236 + NdrNonEncapsulatedUnionFree@12 @237 + NdrNonEncapsulatedUnionMarshall@12 @238 + NdrNonEncapsulatedUnionMemorySize@8 @239 + NdrNonEncapsulatedUnionUnmarshall@16 @240 + NdrOleAllocate@4 @243 + NdrOleFree@4 @244 + NdrPointerBufferSize@12 @255 + NdrPointerFree@12 @256 + NdrPointerMarshall@12 @257 + NdrPointerMemorySize@8 @258 + NdrPointerUnmarshall@16 @259 + NdrProxyErrorHandler@4 @260 + NdrProxyFreeBuffer@8 @261 + NdrProxyGetBuffer@8 @262 + NdrProxyInitialize@20 @263 + NdrProxySendReceive@8 @264 + NdrRangeUnmarshall@16 @265 + NdrSendReceive@8 @273 + NdrServerCall2@4 @274 + NdrServerCall@4 @275 + NdrServerContextMarshall@12 @276 + NdrServerContextNewMarshall@16 @277 + NdrServerContextNewUnmarshall@8 @278 + NdrServerContextUnmarshall@4 @279 + NdrServerInitializeNew@12 @282 + NdrSimpleStructBufferSize@12 @287 + NdrSimpleStructFree@12 @288 + NdrSimpleStructMarshall@12 @289 + NdrSimpleStructMemorySize@8 @290 + NdrSimpleStructUnmarshall@16 @291 + NdrSimpleTypeMarshall@12 @292 + NdrSimpleTypeUnmarshall@12 @293 + NdrStubCall2@16 @294 + NdrStubCall@16 @295 + NdrStubForwardingFunction@16 @296 + NdrStubGetBuffer@12 @297 + NdrStubInitialize@16 @298 + NdrUserMarshalBufferSize@12 @306 + NdrUserMarshalFree@12 @307 + NdrUserMarshalMarshall@12 @308 + NdrUserMarshalMemorySize@8 @309 + NdrUserMarshalUnmarshall@16 @311 + NdrVaryingArrayBufferSize@12 @312 + NdrVaryingArrayFree@12 @313 + NdrVaryingArrayMarshall@12 @314 + NdrVaryingArrayMemorySize@8 @315 + NdrVaryingArrayUnmarshall@16 @316 + NdrXmitOrRepAsBufferSize@12 @317 + NdrXmitOrRepAsFree@12 @318 + NdrXmitOrRepAsMarshall@12 @319 + NdrXmitOrRepAsMemorySize@8 @320 + NdrXmitOrRepAsUnmarshall@16 @321 + RpcAbortAsyncCall@8=RpcAsyncAbortCall@8 @332 + RpcAsyncAbortCall@8 @333 + RpcAsyncCancelCall@8 @334 + RpcAsyncCompleteCall@8 @335 + RpcAsyncGetCallStatus@4 @336 + RpcAsyncInitializeHandle@8 @337 + RpcBindingCopy@8 @339 + RpcBindingFree@4 @340 + RpcBindingFromStringBindingA@8 @341 + RpcBindingFromStringBindingW@8 @342 + RpcBindingInqAuthClientA@24 @343 + RpcBindingInqAuthClientExA@28 @344 + RpcBindingInqAuthClientExW@28 @345 + RpcBindingInqAuthClientW@24 @346 + RpcBindingInqAuthInfoA@24 @347 + RpcBindingInqAuthInfoExA@32 @348 + RpcBindingInqAuthInfoExW@32 @349 + RpcBindingInqAuthInfoW@24 @350 + RpcBindingInqObject@8 @351 + RpcBindingReset@4 @353 + RpcBindingServerFromClient@8 @354 + RpcBindingSetAuthInfoA@24 @355 + RpcBindingSetAuthInfoExA@28 @356 + RpcBindingSetAuthInfoExW@28 @357 + RpcBindingSetAuthInfoW@24 @358 + RpcBindingSetObject@8 @359 + RpcBindingSetOption@12 @360 + RpcBindingToStringBindingA@8 @361 + RpcBindingToStringBindingW@8 @362 + RpcBindingVectorFree@4 @363 + RpcCancelAsyncCall@8=RpcAsyncCancelCall@8 @364 + RpcCancelThread@4 @365 + RpcCancelThreadEx@8 @366 + RpcCompleteAsyncCall@8=RpcAsyncCompleteCall@8 @369 + RpcEpRegisterA@16 @370 + RpcEpRegisterNoReplaceA@16 @371 + RpcEpRegisterNoReplaceW@16 @372 + RpcEpRegisterW@16 @373 + RpcEpResolveBinding@8 @374 + RpcEpUnregister@12 @375 + RpcErrorEndEnumeration@4 @378 + RpcErrorGetNextRecord@12 @379 + RpcErrorLoadErrorInfo@12 @380 + RpcErrorSaveErrorInfo@12 @383 + RpcErrorStartEnumeration@4 @384 + RpcGetAsyncCallStatus@4=RpcAsyncGetCallStatus@4 @386 + RpcImpersonateClient@4 @389 + RpcInitializeAsyncHandle@8=RpcAsyncInitializeHandle@8 @390 + RpcMgmtEnableIdleCleanup@0 @391 + RpcMgmtEpEltInqBegin@24 @392 + RpcMgmtInqIfIds@8 @399 + RpcMgmtInqStats@8 @402 + RpcMgmtIsServerListening@4 @403 + RpcMgmtSetAuthorizationFn@4 @404 + RpcMgmtSetCancelTimeout@4 @405 + RpcMgmtSetComTimeout@8 @406 + RpcMgmtSetServerStackSize@4 @407 + RpcMgmtStatsVectorFree@4 @408 + RpcMgmtStopServerListening@4 @409 + RpcMgmtWaitServerListen@0 @410 + RpcNetworkInqProtseqsA@4 @411 + RpcNetworkInqProtseqsW@4 @412 + RpcNetworkIsProtseqValidA@4 @413 + RpcNetworkIsProtseqValidW@4 @414 + RpcObjectSetType@8 @419 + RpcProtseqVectorFreeA@4 @420 + RpcProtseqVectorFreeW@4 @421 + RpcRaiseException@4 @422 + RpcRevertToSelf@0 @424 + RpcRevertToSelfEx@4 @425 + RpcServerInqBindings@4 @426 + RpcServerInqDefaultPrincNameA@8 @429 + RpcServerInqDefaultPrincNameW@8 @430 + RpcServerListen@12 @432 + RpcServerRegisterAuthInfoA@16 @433 + RpcServerRegisterAuthInfoW@16 @434 + RpcServerRegisterIf2@28 @435 + RpcServerRegisterIf3@32 @436 + RpcServerRegisterIf@12 @437 + RpcServerRegisterIfEx@24 @438 + RpcServerUnregisterIf@12 @440 + RpcServerUnregisterIfEx@12 @441 + RpcServerUseProtseqA@12 @446 + RpcServerUseProtseqEpA@16 @447 + RpcServerUseProtseqEpExA@20 @448 + RpcServerUseProtseqEpExW@20 @449 + RpcServerUseProtseqEpW@16 @450 + RpcServerUseProtseqW@12 @457 + RpcSmDestroyClientContext@4 @461 + RpcSsDestroyClientContext@4 @472 + RpcSsDontSerializeContext@0 @474 + RpcStringBindingComposeA@24 @482 + RpcStringBindingComposeW@24 @483 + RpcStringBindingParseA@24 @484 + RpcStringBindingParseW@24 @485 + RpcStringFreeA@4 @486 + RpcStringFreeW@4 @487 + TowerConstruct@24 @493 + TowerExplode@24 @494 + UuidCompare@12 @495 + UuidCreate@4 @496 + UuidCreateNil@4 @497 + UuidCreateSequential@4 @498 + UuidEqual@12 @499 + UuidFromStringA@8 @500 + UuidFromStringW@8 @501 + UuidHash@8 @502 + UuidIsNil@8 @503 + UuidToStringA@8 @504 + UuidToStringW@8 @505 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librsaenh.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librsaenh.def new file mode 100644 index 0000000..d295177 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librsaenh.def @@ -0,0 +1,32 @@ +; File generated automatically from ./dlls/rsaenh/rsaenh.spec; do not edit! + +LIBRARY rsaenh.dll + +EXPORTS + CPAcquireContext@16=RSAENH_CPAcquireContext@16 @1 + CPCreateHash@20=RSAENH_CPCreateHash@20 @2 + CPDecrypt@28=RSAENH_CPDecrypt@28 @3 + CPDeriveKey@20=RSAENH_CPDeriveKey@20 @4 + CPDestroyHash@8=RSAENH_CPDestroyHash@8 @5 + CPDestroyKey@8=RSAENH_CPDestroyKey@8 @6 + CPDuplicateHash@20=RSAENH_CPDuplicateHash@20 @7 + CPDuplicateKey@20=RSAENH_CPDuplicateKey@20 @8 + CPEncrypt@32=RSAENH_CPEncrypt@32 @9 + CPExportKey@28=RSAENH_CPExportKey@28 @10 + CPGenKey@16=RSAENH_CPGenKey@16 @11 + CPGenRandom@12=RSAENH_CPGenRandom@12 @12 + CPGetHashParam@24=RSAENH_CPGetHashParam@24 @13 + CPGetKeyParam@24=RSAENH_CPGetKeyParam@24 @14 + CPGetProvParam@20=RSAENH_CPGetProvParam@20 @15 + CPGetUserKey@12=RSAENH_CPGetUserKey@12 @16 + CPHashData@20=RSAENH_CPHashData@20 @17 + CPHashSessionKey@16=RSAENH_CPHashSessionKey@16 @18 + CPImportKey@24=RSAENH_CPImportKey@24 @19 + CPReleaseContext@8=RSAENH_CPReleaseContext@8 @20 + CPSetHashParam@20=RSAENH_CPSetHashParam@20 @21 + CPSetKeyParam@20=RSAENH_CPSetKeyParam@20 @22 + CPSetProvParam@16=RSAENH_CPSetProvParam@16 @23 + CPSignHash@28=RSAENH_CPSignHash@28 @24 + CPVerifySignature@28=RSAENH_CPVerifySignature@28 @25 + DllRegisterServer@0 @26 PRIVATE + DllUnregisterServer@0 @27 PRIVATE diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librtutils.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librtutils.def new file mode 100644 index 0000000..45d5c7c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/librtutils.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/rtutils/rtutils.spec; do not edit! + +LIBRARY rtutils.dll + +EXPORTS + TraceRegisterExA@8 @50 + TraceRegisterExW@8 @51 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsecur32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsecur32.def new file mode 100644 index 0000000..04dbd7a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsecur32.def @@ -0,0 +1,64 @@ +; File generated automatically from ./dlls/secur32/secur32.spec; do not edit! + +LIBRARY secur32.dll + +EXPORTS + AcceptSecurityContext@36 @3 + AcquireCredentialsHandleA@36 @4 + AcquireCredentialsHandleW@36 @5 + AddCredentialsA@32 @6 + AddCredentialsW@32 @7 + AddSecurityPackageA@8 @8 + AddSecurityPackageW@8 @9 + ApplyControlToken@8 @10 + CompleteAuthToken@8 @11 + DecryptMessage@16 @12 + DeleteSecurityContext@4 @13 + EncryptMessage@16 @16 + EnumerateSecurityPackagesA@8 @17 + EnumerateSecurityPackagesW@8 @18 + ExportSecurityContext@16 @19 + FreeContextBuffer@4 @20 + FreeCredentialsHandle@4 @21 + GetComputerObjectNameA@12 @22 + GetComputerObjectNameW@12 @23 + GetUserNameExA@12 @25 + GetUserNameExW@12 @26 + ImpersonateSecurityContext@4 @27 + ImportSecurityContextA@16 @28 + ImportSecurityContextW@16 @29 + InitSecurityInterfaceA@0 @30 + InitSecurityInterfaceW@0 @31 + InitializeSecurityContextA@48 @32 + InitializeSecurityContextW@48 @33 + LsaCallAuthenticationPackage@28 @34 + LsaConnectUntrusted@4 @35 + LsaDeregisterLogonProcess@4 @36 + LsaEnumerateLogonSessions@8 @37 + LsaFreeReturnBuffer@4 @38 + LsaGetLogonSessionData@8 @39 + LsaLogonUser@56 @40 + LsaLookupAuthenticationPackage@12 @41 + LsaRegisterLogonProcess@12 @42 + MakeSignature@16 @45 + QueryContextAttributesA@12 @46 + QueryContextAttributesW@12 @47 + QueryCredentialsAttributesA@12 @48 + QueryCredentialsAttributesW@12 @49 + QuerySecurityContextToken@8 @50 + QuerySecurityPackageInfoA@8 @51 + QuerySecurityPackageInfoW@8 @52 + RevertSecurityContext@4 @53 + SealMessage@16=EncryptMessage@16 @63 + SetContextAttributesA@16 @69 + SetContextAttributesW@16 @70 + SspiEncodeAuthIdentityAsStrings@16=sspicli.SspiEncodeAuthIdentityAsStrings @71 + SspiEncodeStringsAsAuthIdentity@16=sspicli.SspiEncodeStringsAsAuthIdentity @72 + SspiFreeAuthIdentity@4=sspicli.SspiFreeAuthIdentity @73 + SspiLocalFree@4=sspicli.SspiLocalFree @74 + SspiPrepareForCredWrite@28=sspicli.SspiPrepareForCredWrite @75 + SspiZeroAuthIdentity@4=sspicli.SspiZeroAuthIdentity @76 + TranslateNameA@20 @77 + TranslateNameW@20 @78 + UnsealMessage@16=DecryptMessage@16 @79 + VerifySignature@16 @80 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsensapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsensapi.def new file mode 100644 index 0000000..8cc232c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsensapi.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/sensapi/sensapi.spec; do not edit! + +LIBRARY sensapi.dll + +EXPORTS + IsDestinationReachableA@8 @1 + IsDestinationReachableW@8 @2 + IsNetworkAlive@4 @3 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsetupapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsetupapi.def new file mode 100644 index 0000000..e71235a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsetupapi.def @@ -0,0 +1,321 @@ +; File generated automatically from ./dlls/setupapi/setupapi.spec; do not edit! + +LIBRARY setupapi.dll + +EXPORTS + AssertFail@12 @5 + CMP_WaitNoPendingInstallEvents@4 @10 + CM_Connect_MachineA@8 @21 + CM_Connect_MachineW@8 @22 + CM_Create_DevNodeA@16 @23 + CM_Create_DevNodeW@16 @24 + CM_Disconnect_Machine@4 @37 + CM_Enumerate_Classes@12 @41 + CM_Get_Child@12 @56 + CM_Get_Child_Ex@16 @57 + CM_Get_Class_Registry_PropertyA@28 @66 + CM_Get_Class_Registry_PropertyW@28 @67 + CM_Get_DevNode_Registry_PropertyA@24 @70 + CM_Get_DevNode_Registry_PropertyW@24 @71 + CM_Get_DevNode_Registry_Property_ExA@28 @72 + CM_Get_DevNode_Registry_Property_ExW@28 @73 + CM_Get_DevNode_Status@16 @74 + CM_Get_DevNode_Status_Ex@20 @75 + CM_Get_Device_IDA@16 @76 + CM_Get_Device_IDW@16 @77 + CM_Get_Device_ID_ExA@20 @78 + CM_Get_Device_ID_ExW@20 @79 + CM_Get_Device_ID_ListA@16 @80 + CM_Get_Device_ID_ListW@16 @81 + CM_Get_Device_ID_List_SizeA@12 @84 + CM_Get_Device_ID_List_SizeW@12 @85 + CM_Get_Device_ID_Size@12 @88 + CM_Get_Device_Interface_List_SizeA@16 @98 + CM_Get_Device_Interface_List_SizeW@16 @99 + CM_Get_Device_Interface_List_Size_ExA@20 @100 + CM_Get_Device_Interface_List_Size_ExW@20 @101 + CM_Get_Parent@12 @120 + CM_Get_Sibling_Ex@16 @127 + CM_Get_Version@0 @128 + CM_Locate_DevNodeA@12 @133 + CM_Locate_DevNodeW@12 @134 + CM_Locate_DevNode_ExA@16 @135 + CM_Locate_DevNode_ExW@16 @136 + CM_Open_DevNode_Key@24 @147 + CM_Reenumerate_DevNode@8 @159 + CM_Reenumerate_DevNode_Ex@12 @160 + CM_Set_Class_Registry_PropertyA@24 @178 + CM_Set_Class_Registry_PropertyW@24 @179 + CaptureAndConvertAnsiArg@8 @201 + CaptureStringArg@8 @202 + DelayedMove@8 @205 + DoesUserHavePrivilege@4 @208 + DuplicateString@4 @209 + EnablePrivilege@8 @210 + FileExists@8 @212 + InstallCatalog@12 @219 + InstallHinfSection@16=InstallHinfSectionA@16 @220 + InstallHinfSectionA@16 @221 + InstallHinfSectionW@16 @222 + IsUserAdmin@0 @225 + MultiByteToUnicode@8 @228 + MyFree@4 @230 + MyMalloc@4 @232 + MyRealloc@8 @233 + OpenAndMapFileForRead@20 @234 + QueryRegistryValue@20 @237 + RegistryDelnode@8 @239 + RetreiveFileSecurity@8 @240 + SetupAddInstallSectionToDiskSpaceListA@24 @244 + SetupAddToDiskSpaceListA@28 @248 + SetupAddToDiskSpaceListW@28 @249 + SetupAddToSourceListA@8 @250 + SetupAddToSourceListW@8 @251 + SetupCloseFileQueue@4 @255 + SetupCloseInfFile@4 @256 + SetupCloseLog@0 @257 + SetupCommitFileQueue@16=SetupCommitFileQueueW@16 @258 + SetupCommitFileQueueA@16 @259 + SetupCommitFileQueueW@16 @260 + SetupCopyErrorA@44 @261 + SetupCopyErrorW@44 @262 + SetupCopyOEMInfA@32 @263 + SetupCopyOEMInfW@32 @264 + SetupCreateDiskSpaceListA@12 @265 + SetupCreateDiskSpaceListW@12 @266 + SetupDecompressOrCopyFileA@12 @267 + SetupDecompressOrCopyFileW@12 @268 + SetupDefaultQueueCallbackA@16 @270 + SetupDefaultQueueCallbackW@16 @271 + SetupDeleteErrorA@20 @272 + SetupDeleteErrorW@20 @273 + SetupDestroyDiskSpaceList@4 @274 + SetupDiBuildClassInfoList@16 @276 + SetupDiBuildClassInfoListExA@24 @277 + SetupDiBuildClassInfoListExW@24 @278 + SetupDiBuildDriverInfoList@12 @279 + SetupDiCallClassInstaller@12 @280 + SetupDiClassGuidsFromNameA@16 @283 + SetupDiClassGuidsFromNameExA@24 @284 + SetupDiClassGuidsFromNameExW@24 @285 + SetupDiClassGuidsFromNameW@16 @286 + SetupDiClassNameFromGuidA@16 @287 + SetupDiClassNameFromGuidExA@24 @288 + SetupDiClassNameFromGuidExW@24 @289 + SetupDiClassNameFromGuidW@16 @290 + SetupDiCreateDevRegKeyA@28 @291 + SetupDiCreateDevRegKeyW@28 @292 + SetupDiCreateDeviceInfoA@28 @293 + SetupDiCreateDeviceInfoList@8 @294 + SetupDiCreateDeviceInfoListExA@16 @295 + SetupDiCreateDeviceInfoListExW@16 @296 + SetupDiCreateDeviceInfoW@28 @297 + SetupDiCreateDeviceInterfaceA@24 @298 + SetupDiCreateDeviceInterfaceW@24 @299 + SetupDiCreateDeviceInterfaceRegKeyA@24 @300 + SetupDiCreateDeviceInterfaceRegKeyW@24 @301 + SetupDiDeleteDevRegKey@20 @302 + SetupDiDeleteDeviceInfo@8 @303 + SetupDiDeleteDeviceInterfaceRegKey@12 @305 + SetupDiDestroyClassImageList@4 @307 + SetupDiDestroyDeviceInfoList@4 @308 + SetupDiDestroyDriverInfoList@12 @309 + SetupDiDrawMiniIcon@28 @310 + SetupDiEnumDeviceInfo@12 @311 + SetupDiEnumDeviceInterfaces@20 @312 + SetupDiEnumDriverInfoA@20 @313 + SetupDiEnumDriverInfoW@20 @314 + SetupDiGetActualSectionToInstallA@24 @315 + SetupDiGetActualSectionToInstallW@24 @316 + SetupDiGetClassBitmapIndex@8 @317 + SetupDiGetClassDescriptionA@16 @318 + SetupDiGetClassDescriptionExA@24 @319 + SetupDiGetClassDescriptionExW@24 @320 + SetupDiGetClassDescriptionW@16 @321 + SetupDiGetClassDevsA@16 @324 + SetupDiGetClassDevsExA@28 @325 + SetupDiGetClassDevsExW@28 @326 + SetupDiGetClassDevsW@16 @327 + SetupDiGetClassImageIndex@12 @328 + SetupDiGetClassImageList@4 @329 + SetupDiGetDeviceInfoListDetailA@8 @335 + SetupDiGetDeviceInfoListDetailW@8 @336 + SetupDiGetDeviceInstallParamsA@12 @337 + SetupDiGetDeviceInstallParamsW@12 @338 + SetupDiGetDeviceInstanceIdA@20 @339 + SetupDiGetDeviceInstanceIdW@20 @340 + SetupDiGetDeviceInterfaceDetailA@24 @342 + SetupDiGetDeviceInterfaceDetailW@24 @343 + SetupDiGetDevicePropertyW@32 @344 + SetupDiGetDeviceRegistryPropertyA@28 @345 + SetupDiGetDeviceRegistryPropertyW@28 @346 + SetupDiGetINFClassA@20 @358 + SetupDiGetINFClassW@20 @359 + SetupDiInstallClassA@16 @364 + SetupDiInstallClassW@16 @367 + SetupDiLoadClassIcon@12 @370 + SetupDiOpenClassRegKey@8 @372 + SetupDiOpenClassRegKeyExA@20 @373 + SetupDiOpenClassRegKeyExW@20 @374 + SetupDiOpenDevRegKey@24 @375 + SetupDiOpenDeviceInfoA@20 @376 + SetupDiOpenDeviceInfoW@20 @377 + SetupDiOpenDeviceInterfaceA@16 @378 + SetupDiOpenDeviceInterfaceW@16 @380 + SetupDiRegisterDeviceInfo@24 @381 + SetupDiRemoveDevice@8 @382 + SetupDiRemoveDeviceInterface@8 @383 + SetupDiSelectBestCompatDrv@8 @384 + SetupDiSetClassInstallParamsA@16 @387 + SetupDiSetClassInstallParamsW@16 @388 + SetupDiSetDeviceInstallParamsA@12 @389 + SetupDiSetDeviceInstallParamsW@12 @390 + SetupDiSetDeviceRegistryPropertyA@20 @391 + SetupDiSetDeviceRegistryPropertyW@20 @392 + SetupDiSetSelectedDevice@8 @395 + SetupDuplicateDiskSpaceListA@16 @399 + SetupDuplicateDiskSpaceListW@16 @400 + SetupEnumInfSectionsA@20 @401 + SetupEnumInfSectionsW@20 @402 + SetupFindFirstLineA@16 @403 + SetupFindFirstLineW@16 @404 + SetupFindNextLine@8 @405 + SetupFindNextMatchLineA@12 @406 + SetupFindNextMatchLineW@12 @407 + SetupGetBinaryField@20 @412 + SetupGetFieldCount@4 @413 + SetupGetFileCompressionInfoA@20 @414 + SetupGetFileCompressionInfoExA@28 @415 + SetupGetFileCompressionInfoExW@28 @416 + SetupGetFileCompressionInfoW@20 @417 + SetupGetFileQueueCount@12 @418 + SetupGetFileQueueFlags@8 @419 + SetupGetInfFileListA@20 @420 + SetupGetInfFileListW@20 @421 + SetupGetInfInformationA@20 @422 + SetupGetInfInformationW@20 @423 + SetupGetIntField@12 @425 + SetupGetLineByIndexA@16 @426 + SetupGetLineByIndexW@16 @427 + SetupGetLineCountA@8 @428 + SetupGetLineCountW@8 @429 + SetupGetLineTextA@28 @430 + SetupGetLineTextW@28 @431 + SetupGetMultiSzFieldA@20 @432 + SetupGetMultiSzFieldW@20 @433 + SetupGetNonInteractiveMode@0 @434 + SetupGetSourceFileLocationA@28 @435 + SetupGetSourceFileLocationW@28 @436 + SetupGetSourceInfoA@24 @439 + SetupGetSourceInfoW@24 @440 + SetupGetStringFieldA@20 @441 + SetupGetStringFieldW@20 @442 + SetupGetTargetPathA@24 @443 + SetupGetTargetPathW@24 @444 + SetupInitDefaultQueueCallback@4 @445 + SetupInitDefaultQueueCallbackEx@20 @446 + SetupInitializeFileLogA@8 @447 + SetupInitializeFileLogW@8 @448 + SetupInstallFileA@32 @449 + SetupInstallFileExA@36 @450 + SetupInstallFileExW@36 @451 + SetupInstallFileW@32 @452 + SetupInstallFilesFromInfSectionA@24 @453 + SetupInstallFilesFromInfSectionW@24 @454 + SetupInstallFromInfSectionA@44 @455 + SetupInstallFromInfSectionW@44 @456 + SetupInstallServicesFromInfSectionA@12 @457 + SetupInstallServicesFromInfSectionW@12 @460 + SetupIterateCabinetA@16 @461 + SetupIterateCabinetW@16 @462 + SetupLogErrorA@8 @463 + SetupLogErrorW@8 @464 + SetupLogFileA@36 @465 + SetupLogFileW@36 @466 + SetupOpenAppendInfFileA@12 @467 + SetupOpenAppendInfFileW@12 @468 + SetupOpenFileQueue@0 @469 + SetupOpenInfFileA@16 @470 + SetupOpenInfFileW@16 @471 + SetupOpenLog@4 @472 + SetupOpenMasterInf@0 @473 + SetupPromptForDiskA@40 @474 + SetupPromptForDiskW@40 @475 + SetupPromptReboot@12 @476 + SetupQueryDrivesInDiskSpaceListA@16 @477 + SetupQueryDrivesInDiskSpaceListW@16 @478 + SetupQueryInfFileInformationA@20 @481 + SetupQueryInfFileInformationW@20 @482 + SetupQueryInfOriginalFileInformationA@16 @483 + SetupQueryInfOriginalFileInformationW@16 @484 + SetupQuerySpaceRequiredOnDriveA@20 @489 + SetupQuerySpaceRequiredOnDriveW@20 @490 + SetupQueueCopyA@36 @491 + SetupQueueCopyIndirectA@4 @492 + SetupQueueCopyIndirectW@4 @493 + SetupQueueCopySectionA@24 @494 + SetupQueueCopySectionW@24 @495 + SetupQueueCopyW@36 @496 + SetupQueueDefaultCopyA@24 @497 + SetupQueueDefaultCopyW@24 @498 + SetupQueueDeleteA@12 @499 + SetupQueueDeleteSectionA@16 @500 + SetupQueueDeleteSectionW@16 @501 + SetupQueueDeleteW@12 @502 + SetupQueueRenameA@20 @503 + SetupQueueRenameSectionA@16 @504 + SetupQueueRenameSectionW@16 @505 + SetupQueueRenameW@20 @506 + SetupRenameErrorA@24 @517 + SetupRenameErrorW@24 @518 + SetupScanFileQueueA@24 @520 + SetupScanFileQueueW@24 @521 + SetupSetDirectoryIdA@12 @522 + SetupSetDirectoryIdW@12 @525 + SetupSetFileQueueAlternatePlatformA@12 @526 + SetupSetFileQueueAlternatePlatformW@12 @527 + SetupSetFileQueueFlags@12 @528 + SetupSetNonInteractiveMode@4 @529 + SetupSetSourceListA@12 @532 + SetupSetSourceListW@12 @533 + SetupTermDefaultQueueCallback@4 @534 + SetupTerminateFileLog@4 @535 + SetupUninstallOEMInfA@12 @536 + SetupUninstallOEMInfW@12 @537 + StampFileSecurity@8 @539 + StringTableAddString@12 @540 + StringTableAddStringEx@20 @541 + StringTableDestroy@4 @542 + StringTableDuplicate@4 @543 + StringTableGetExtraData@16 @545 + StringTableInitialize@0 @546 + StringTableInitializeEx@8 @547 + StringTableLookUpString@12 @548 + StringTableLookUpStringEx@20 @549 + StringTableSetExtraData@16 @550 + StringTableStringFromId@8 @551 + StringTableStringFromIdEx@16 @552 + StringTableTrim@4 @553 + TakeOwnershipOfFile@4 @554 + UnicodeToMultiByte@8 @555 + UnmapAndCloseFile@12 @556 + pSetupFree@4=MyFree@4 @565 + pSetupGetField@8 @566 + pSetupGetGlobalFlags@0 @567 + pSetupGetQueueFlags@4 @569 + pSetupInstallCatalog@12 @573 + pSetupIsUserAdmin@0=IsUserAdmin@0 @574 + pSetupMalloc@4=MyMalloc@4 @576 + pSetupRealloc@8=MyRealloc@8 @577 + pSetupSetGlobalFlags@4 @578 + pSetupSetQueueFlags@8 @579 + pSetupStringTableAddString@12=StringTableAddString@12 @582 + pSetupStringTableAddStringEx@20=StringTableAddStringEx@20 @583 + pSetupStringTableDestroy@4=StringTableDestroy@4 @584 + pSetupStringTableDuplicate@4=StringTableDuplicate@4 @585 + pSetupStringTableGetExtraData@16=StringTableGetExtraData@16 @587 + pSetupStringTableInitialize@0=StringTableInitialize@0 @588 + pSetupStringTableInitializeEx@8=StringTableInitializeEx@8 @589 + pSetupStringTableLookUpString@12=StringTableLookUpString@12 @590 + pSetupStringTableLookUpStringEx@20=StringTableLookUpStringEx@20 @591 + pSetupStringTableSetExtraData@16=StringTableSetExtraData@16 @592 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsfc.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsfc.def new file mode 100644 index 0000000..d725aed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsfc.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/sfc/sfc.spec; do not edit! + +LIBRARY sfc.dll + +EXPORTS + SRSetRestorePoint@8=sfc_os.SRSetRestorePointA @10 + SRSetRestorePointA@8=sfc_os.SRSetRestorePointA @11 + SRSetRestorePointW@8=sfc_os.SRSetRestorePointW @12 + SfcGetNextProtectedFile@8=sfc_os.SfcGetNextProtectedFile @13 + SfcIsFileProtected@8=sfc_os.SfcIsFileProtected @14 + SfcIsKeyProtected@12=sfc_os.SfcIsKeyProtected @15 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsfc_os.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsfc_os.def new file mode 100644 index 0000000..a3b2ee8 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsfc_os.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/sfc_os/sfc_os.spec; do not edit! + +LIBRARY sfc_os.dll + +EXPORTS + SRSetRestorePointA@8 @4 + SRSetRestorePointW@8 @5 + SfcConnectToServer@4 @7 + SfcGetNextProtectedFile@8 @9 + SfcIsFileProtected@8 @13 + SfcIsKeyProtected@12 @14 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshdocvw.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshdocvw.def new file mode 100644 index 0000000..7d0946f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshdocvw.def @@ -0,0 +1,33 @@ +; File generated automatically from ./dlls/shdocvw/shdocvw.spec; do not edit! + +LIBRARY shdocvw.dll + +EXPORTS + IEWinMain@8 @101 NONAME + WhichPlatformFORWARD@0 @104 NONAME + WinList_Init@0 @110 NONAME + ShellDDEInit@4 @118 NONAME + StopWatchModeFORWARD@0 @121 NONAME + StopWatchFlushFORWARD@0 @122 NONAME + StopWatchAFORWARD@20 @123 NONAME + StopWatchWFORWARD@20 @124 NONAME + RunInstallUninstallStubs@0 @125 NONAME + RunInstallUninstallStubs2@4 @130 NONAME + URLSubRegQueryA@24 @151 NONAME + SHRestricted2A@12 @158 NONAME + SHRestricted2W@12 @159 NONAME + ResetProfileSharing@4 @164 NONAME + ParseURLFromOutsideSourceA@16 @169 NONAME + ParseURLFromOutsideSourceW@16 @170 NONAME + IEParseDisplayNameWithBCW@16 @218 NONAME + DllCanUnloadNow@0 @109 PRIVATE + DllGetClassObject@12 @112 PRIVATE + DllGetVersion@4 @113 PRIVATE + DllInstall@8 @114 PRIVATE + DllRegisterServer@0 @126 PRIVATE + DllUnregisterServer@0 @128 PRIVATE + DoFileDownload@4 @133 + ImportPrivacySettings@12 @182 + InstallReg_RunDLL@16 @184 + OpenURL@16=ieframe.OpenURL @186 + SetQueryNetSessionCount@4 @201 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshell32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshell32.def new file mode 100644 index 0000000..c5469ba --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshell32.def @@ -0,0 +1,394 @@ +; File generated automatically from ./dlls/shell32/shell32.spec; do not edit! + +LIBRARY shell32.dll + +EXPORTS + SHChangeNotifyRegister@24 @2 NONAME + SHDefExtractIconA@24 @3 + SHChangeNotifyDeregister@4 @4 NONAME + SHChangeNotifyUpdateEntryList@16 @5 NONAME + SHDefExtractIconW@24 @6 + ILGetDisplayName@8 @15 NONAME + ILFindLastID@4 @16 NONAME + ILRemoveLastID@4 @17 NONAME + ILClone@4 @18 NONAME + ILCloneFirst@4 @19 NONAME + ILGlobalClone@4 @20 NONAME + ILIsEqual@8 @21 NONAME + ILIsParent@12 @23 NONAME + ILFindChild@8 @24 NONAME + ILCombine@8 @25 NONAME + ILLoadFromStream@8 @26 NONAME + ILSaveToStream@8 @27 NONAME + SHILCreateFromPath@12=SHILCreateFromPathAW@12 @28 + PathIsRoot@4=PathIsRootAW@4 @29 NONAME + PathBuildRoot@8=PathBuildRootAW@8 @30 NONAME + PathFindExtension@4=PathFindExtensionAW@4 @31 NONAME + PathAddBackslash@4=PathAddBackslashAW@4 @32 NONAME + PathRemoveBlanks@4=PathRemoveBlanksAW@4 @33 NONAME + PathFindFileName@4=PathFindFileNameAW@4 @34 NONAME + PathRemoveFileSpec@4=PathRemoveFileSpecAW@4 @35 NONAME + PathAppend@8=PathAppendAW@8 @36 NONAME + PathCombine@12=PathCombineAW@12 @37 NONAME + PathStripPath@4=PathStripPathAW@4 @38 NONAME + PathIsUNC@4=PathIsUNCAW@4 @39 NONAME + PathIsRelative@4=PathIsRelativeAW@4 @40 NONAME + IsLFNDriveA@4 @41 NONAME + IsLFNDriveW@4 @42 NONAME + PathIsExe@4=PathIsExeAW@4 @43 NONAME + PathFileExists@4=PathFileExistsAW@4 @45 NONAME + PathMatchSpec@8=PathMatchSpecAW@8 @46 NONAME + PathMakeUniqueName@20=PathMakeUniqueNameAW@20 @47 NONAME + PathSetDlgItemPath@12=PathSetDlgItemPathAW@12 @48 NONAME + PathQualify@4=PathQualifyAW@4 @49 NONAME + PathStripToRoot@4=PathStripToRootAW@4 @50 NONAME + PathResolve@12=PathResolveAW@12 @51 + PathGetArgs@4=PathGetArgsAW@4 @52 NONAME + DoEnvironmentSubst@8=DoEnvironmentSubstAW@8 @53 + PathQuoteSpaces@4=PathQuoteSpacesAW@4 @55 NONAME + PathUnquoteSpaces@4=PathUnquoteSpacesAW@4 @56 NONAME + PathGetDriveNumber@4=PathGetDriveNumberAW@4 @57 NONAME + ParseField@16=ParseFieldAW@16 @58 NONAME + RestartDialog@12 @59 NONAME + ExitWindowsDialog@4 @60 NONAME + RunFileDlg@24=RunFileDlgAW@24 @61 NONAME + PickIconDlg@16 @62 NONAME + GetFileNameFromBrowse@28=GetFileNameFromBrowseAW@28 @63 NONAME + DriveType@4 @64 NONAME + InvalidateDriveType@4 @65 NONAME + IsNetDrive@4 @66 NONAME + Shell_MergeMenus@24 @67 NONAME + SHGetSetSettings@12 @68 NONAME + SHCreateDefClassObject@20 @70 NONAME + Shell_GetImageLists@8 @71 NONAME + Shell_GetCachedImageIndex@12=Shell_GetCachedImageIndexAW@12 @72 NONAME + SHShellFolderView_Message@12 @73 NONAME + SHCreateStdEnumFmtEtc@12 @74 NONAME + PathYetAnotherMakeUniqueName@16 @75 NONAME + SHMapPIDLToSystemImageListIndex@12 @77 NONAME + OleStrToStrN@16=OleStrToStrNAW@16 @78 NONAME + StrToOleStrN@16=StrToOleStrNAW@16 @79 NONAME + CIDLData_CreateFromIDArray@16 @83 NONAME + OpenRegStream@16=shlwapi.SHOpenRegStreamA @85 NONAME + SHRegisterDragDrop@8 @86 NONAME + SHRevokeDragDrop@4 @87 NONAME + SHDoDragDrop@20 @88 NONAME + SHCloneSpecialIDList@12 @89 NONAME + SHFindFiles@8 @90 NONAME + PathGetShortPath@4=PathGetShortPathAW@4 @92 NONAME + Win32CreateDirectory@8=Win32CreateDirectoryAW@8 @93 NONAME + Win32RemoveDirectory@4=Win32RemoveDirectoryAW@4 @94 NONAME + SHLogILFromFSIL@4 @95 NONAME + StrRetToStrN@16=StrRetToStrNAW@16 @96 NONAME + SHWaitForFileToOpen@12 @97 NONAME + SHGetRealIDL@12 @98 NONAME + SetAppStartingCursor@8 @99 NONAME + SHRestricted@4 @100 NONAME + SHCoCreateInstance@20 @102 NONAME + SignalFileOpen@4 @103 NONAME + FileMenu_DeleteAllItems@4 @104 NONAME + FileMenu_DrawItem@8 @105 NONAME + FileMenu_FindSubMenuByPidl@8 @106 NONAME + FileMenu_GetLastSelectedItemPidls@12 @107 NONAME + FileMenu_HandleMenuChar@8 @108 NONAME + FileMenu_InitMenuPopup@4 @109 NONAME + FileMenu_InsertUsingPidl@24 @110 NONAME + FileMenu_Invalidate@4 @111 NONAME + FileMenu_MeasureItem@8 @112 NONAME + FileMenu_ReplaceUsingPidl@20 @113 NONAME + FileMenu_Create@20 @114 NONAME + FileMenu_AppendItem@24=FileMenu_AppendItemAW@24 @115 NONAME + FileMenu_TrackPopupMenuEx@24 @116 NONAME + FileMenu_DeleteItemByCmd@8 @117 NONAME + FileMenu_Destroy@4 @118 NONAME + IsLFNDrive@4=IsLFNDriveAW@4 @119 NONAME + FileMenu_AbortInitMenu@0 @120 NONAME + SHFlushClipboard@0 @121 NONAME + SHFreeUnusedLibraries@0 @123 NONAME + FileMenu_AppendFilesForPidl@12 @124 NONAME + FileMenu_AddFilesForPidl@28 @125 NONAME + SHOutOfMemoryMessageBox@12 @126 NONAME + SHWinHelp@16 @127 NONAME + SHDllGetClassObject@12=DllGetClassObject@12 @128 NONAME + DAD_AutoScroll@12 @129 NONAME + DAD_DragEnter@4 @130 NONAME + DAD_DragEnterEx@12 @131 NONAME + DAD_DragLeave@0 @132 NONAME + DAD_DragMove@8 @134 NONAME + DAD_SetDragImage@8 @136 NONAME + DAD_ShowDragImage@4 @137 NONAME + FileMenu_DeleteItemByIndex@8 @140 NONAME + FileMenu_DeleteItemByFirstID@8 @141 NONAME + FileMenu_DeleteSeparator@4 @142 NONAME + FileMenu_EnableItemByCmd@12 @143 NONAME + FileMenu_GetItemExtent@8 @144 NONAME + PathFindOnPath@8=PathFindOnPathAW@8 @145 NONAME + RLBuildListOfPaths@0 @146 NONAME + SHCLSIDFromString@8=SHCLSIDFromStringAW@8 @147 NONAME + SHMapIDListToImageListIndexAsync@36 @148 NONAME + SHFind_InitMenuPopup@16 @149 NONAME + SHLoadOLE@4 @151 NONAME + ILGetSize@4 @152 NONAME + ILGetNext@4 @153 NONAME + ILAppendID@12 @154 NONAME + ILFree@4 @155 NONAME + ILGlobalFree@4 @156 NONAME + ILCreateFromPath@4=ILCreateFromPathAW@4 @157 NONAME + PathGetExtension@12=PathGetExtensionAW@12 @158 NONAME + PathIsDirectory@4=PathIsDirectoryAW@4 @159 NONAME + SHRunControlPanel@8 @161 NONAME + SHSimpleIDListFromPath@4=SHSimpleIDListFromPathAW@4 @162 NONAME + StrToOleStr@8=StrToOleStrAW@8 @163 NONAME + Win32DeleteFile@4=Win32DeleteFileAW@4 @164 NONAME + SHCreateDirectory@8 @165 NONAME + CallCPLEntry16@24 @166 NONAME + SHAddFromPropSheetExtArray@12 @167 NONAME + SHCreatePropSheetExtArray@12 @168 NONAME + SHDestroyPropSheetExtArray@4 @169 NONAME + SHReplaceFromPropSheetExtArray@16 @170 NONAME + PathCleanupSpec@8 @171 NONAME + SHCreateLinks@20 @172 NONAME + SHValidateUNC@12 @173 NONAME + SHCreateShellFolderViewEx@8 @174 NONAME + SHGetSpecialFolderPath@16=SHGetSpecialFolderPathAW@16 @175 NONAME + SHSetInstanceExplorer@4 @176 NONAME + SHObjectProperties@16 @178 NONAME + SHGetNewLinkInfoA@20 @179 NONAME + SHGetNewLinkInfoW@20 @180 NONAME + RegisterShellHook@8 @181 NONAME + ShellMessageBoxW @182 NONAME + ShellMessageBoxA @183 NONAME + ArrangeWindows@20 @184 NONAME + ILGetDisplayNameEx@16 @186 NONAME + ShellDDEInit@4 @188 NONAME + ILCreateFromPathA@4 @189 NONAME + ILCreateFromPathW@4 @190 NONAME + SHUpdateImageA@16 @191 NONAME + SHUpdateImageW@16 @192 NONAME + SHHandleUpdateImage@4 @193 NONAME + SHCreatePropSheetExtArrayEx@16 @194 NONAME + SHFree@4 @195 NONAME + SHAlloc@4 @196 NONAME + SHAbortInvokeCommand@0 @198 NONAME + Printer_LoadIconsW@12 @205 + Printers_RegisterWindowW@16 @213 + Printers_UnregisterWindow@8 @214 + SHStartNetConnectionDialog@12 @215 NONAME + SHInitRestricted@8 @244 NONAME + PathParseIconLocation@4=PathParseIconLocationAW@4 @249 NONAME + PathRemoveExtension@4=PathRemoveExtensionAW@4 @250 NONAME + PathRemoveArgs@4=PathRemoveArgsAW@4 @251 NONAME + SHCreateShellFolderView@8 @256 + LinkWindow_RegisterClass@0 @258 NONAME + LinkWindow_UnregisterClass@0 @259 NONAME + SHRegCloseKey@4 @505 + SHRegOpenKeyA@12 @506 + SHRegOpenKeyW@12 @507 + SHRegQueryValueA@16 @508 + SHRegQueryValueExA@24 @509 + SHRegQueryValueW@16 @510 + SHRegQueryValueExW@24 @511 + SHRegDeleteKeyW@8 @512 + SHAllocShared@12 @520 NONAME + SHLockShared@8 @521 NONAME + SHUnlockShared@4 @522 NONAME + SHFreeShared@8 @523 NONAME + RealDriveType@8 @524 NONAME + SHFlushSFCache@0 @526 + NTSHChangeNotifyRegister@24 @640 NONAME + NTSHChangeNotifyDeregister@4 @641 NONAME + SHChangeNotification_Lock@16 @644 NONAME + SHChangeNotification_Unlock@4 @645 NONAME + PathIsSameRoot@8=PathIsSameRootAW@8 @650 NONAME + WriteCabinetState@4 @652 NONAME + PathProcessCommand@16=PathProcessCommandAW@16 @653 NONAME + ReadCabinetState@8 @654 + FileIconInit@4 @660 NONAME + IsUserAnAdmin@0 @680 + SHPropStgCreate@32 @685 + SHPropStgReadMultiple@20 @688 + SHPropStgWriteMultiple@24 @689 + CDefFolderMenu_Create2@36 @701 + GUIDFromStringW@8 @704 NONAME + SHGetSetFolderCustomSettings@12 @709 + SHCreateSessionKey@8 @723 NONAME + SHGetImageList@12 @727 + RestartDialogEx@16 @730 NONAME + SHCreateFileExtractIconW@16 @743 + SHLimitInputEdit@8 @747 + CheckEscapesA@8 @7 + CheckEscapesW@8 @8 + CommandLineToArgvW@8 @12 + Control_FillCache_RunDLL@16=Control_FillCache_RunDLLA@16 @14 + Control_FillCache_RunDLLA@16 @22 + Control_FillCache_RunDLLW@16 @44 + Control_RunDLL@16=Control_RunDLLA@16 @80 + Control_RunDLLA@16 @81 + Control_RunDLLW@16 @101 + DllCanUnloadNow@0 @133 PRIVATE + DllGetClassObject@12 @135 PRIVATE + DllGetVersion@4 @138 PRIVATE + DllInstall@8 @150 PRIVATE + DllRegisterServer@0 @216 PRIVATE + DllUnregisterServer@0 @217 PRIVATE + DoEnvironmentSubstA@8 @218 + DoEnvironmentSubstW@8 @219 + DragAcceptFiles@8 @220 + DragFinish@4 @221 + DragQueryFile@16=DragQueryFileA@16 @222 + DragQueryFileA@16 @223 + DragQueryFileW@16 @225 + DragQueryPoint@8 @226 + DuplicateIcon@8 @227 + ExtractAssociatedIconA@12 @228 + ExtractAssociatedIconExA@16 @229 + ExtractAssociatedIconExW@16 @230 + ExtractAssociatedIconW@12 @231 + ExtractIconA@12 @232 + ExtractIconEx@20=ExtractIconExA@20 @233 + ExtractIconExA@20 @234 + ExtractIconExW@20 @235 + ExtractIconW@12 @238 + ExtractVersionResource16W@8 @239 + FindExecutableA@12 @241 + FindExecutableW@12 @242 + FreeIconList@4 @246 + GetCurrentProcessExplicitAppUserModelID@4 @247 + InitNetworkAddressControl@0 @248 + OpenAs_RunDLL@16=OpenAs_RunDLLA@16 @255 + OpenAs_RunDLLA@16 @257 + OpenAs_RunDLLW@16 @260 + RegenerateUserEnvironment@8 @268 + SetCurrentProcessExplicitAppUserModelID@4 @269 + SHAddToRecentDocs@8 @270 + SHAppBarMessage@8 @271 + SHAssocEnumHandlers@12 @272 + SHBindToParent@16 @273 + SHBrowseForFolder@4=SHBrowseForFolderA@4 @274 + SHBrowseForFolderA@4 @275 + SHBrowseForFolderW@4 @276 + SHChangeNotify@16 @277 + SHCreateQueryCancelAutoPlayMoniker@4 @279 + SHCreateDefaultContextMenu@12 @280 + SHCreateDirectoryExA@12 @281 + SHCreateDirectoryExW@12 @282 + SHCreateItemFromIDList@12 @283 + SHCreateItemFromParsingName@16 @284 + SHCreateItemInKnownFolder@20 @285 + SHCreateItemFromRelativeName@20 @286 + SHCreateShellItem@16 @288 + SHCreateShellItemArray@20 @289 + SHCreateShellItemArrayFromDataObject@12 @290 + SHCreateShellItemArrayFromShellItem@12 @291 + SHCreateShellItemArrayFromIDLists@12 @292 + SHEmptyRecycleBinA@12 @293 + SHEmptyRecycleBinW@12 @294 + SHEnumerateUnreadMailAccountsW@16 @295 + SHExtractIconsW@32=user32.PrivateExtractIconsW @296 + SHFileOperation@4=SHFileOperationA@4 @297 + SHFileOperationA@4 @298 + SHFileOperationW@4 @299 + SHFormatDrive@16 @300 + SHFreeNameMappings@4 @301 + SHGetDataFromIDListA@20 @302 + SHGetDataFromIDListW@20 @303 + SHGetDesktopFolder@4 @304 + SHGetDiskFreeSpaceA@16=kernel32.GetDiskFreeSpaceExA @305 + SHGetDiskFreeSpaceExA@16=kernel32.GetDiskFreeSpaceExA @306 + SHGetDiskFreeSpaceExW@16=kernel32.GetDiskFreeSpaceExW @307 + SHGetFileInfo@20=SHGetFileInfoA@20 @308 + SHGetFileInfoA@20 @309 + SHGetFileInfoW@20 @310 + SHGetFolderLocation@20 @311 + SHGetFolderPathA@20 @312 + SHGetFolderPathEx@20 @313 + SHGetFolderPathAndSubDirA@24 @314 + SHGetFolderPathAndSubDirW@24 @315 + SHGetFolderPathW@20 @316 + SHGetIconOverlayIndexA@8 @318 + SHGetIconOverlayIndexW@8 @319 + SHGetIDListFromObject@8 @320 + SHGetInstanceExplorer@4 @321 + SHGetItemFromDataObject@16 @322 + SHGetItemFromObject@12 @323 + SHGetKnownFolderIDList@16 @324 + SHGetKnownFolderItem@20 @325 + SHGetKnownFolderPath@16 @326 + SHGetLocalizedName@16 @327 + SHGetMalloc@4 @328 + SHGetNameFromIDList@12 @329 + SHGetNewLinkInfo@20=SHGetNewLinkInfoA@20 @330 + SHGetPathFromIDList@8=SHGetPathFromIDListA@8 @331 + SHGetPathFromIDListA@8 @332 + SHGetPathFromIDListEx@16 @333 + SHGetPathFromIDListW@8 @334 + SHGetPropertyStoreForWindow@12 @335 + SHGetPropertyStoreFromParsingName@20 @336 + SHGetSettings@8 @337 + SHGetSpecialFolderLocation@12 @338 + SHGetSpecialFolderPathA@16 @339 + SHGetSpecialFolderPathW@16 @340 + SHGetStockIconInfo@12 @341 + SHHelpShortcuts_RunDLL@16=SHHelpShortcuts_RunDLLA@16 @342 + SHHelpShortcuts_RunDLLA@16 @343 + SHHelpShortcuts_RunDLLW@16 @344 + SHIsFileAvailableOffline@8 @347 + SHLoadInProc@4 @348 + SHLoadNonloadedIconOverlayIdentifiers@0 @349 + SHOpenFolderAndSelectItems@16 @350 + SHOpenWithDialog@8 @351 + SHParseDisplayName@20 @352 + SHPathPrepareForWriteA@16 @353 + SHPathPrepareForWriteW@16 @354 + SHQueryRecycleBinA@8 @355 + SHQueryRecycleBinW@8 @356 + SHQueryUserNotificationState@4 @357 + SHRemoveLocalizedName@4 @358 + SHSetLocalizedName@12 @359 + SHSetUnreadMailCountW@12 @360 + SHUpdateRecycleBinIcon@0 @361 + SheChangeDirA@4 @362 + SheChangeDirW@4 @365 + SheGetDirA@8 @370 + SheGetDirW@8 @372 + ShellAboutA@16 @379 + ShellAboutW@16 @380 + ShellExec_RunDLL@16=ShellExec_RunDLLA@16 @381 + ShellExec_RunDLLA@16 @382 + ShellExec_RunDLLW@16 @383 + ShellExecuteA@24 @384 + ShellExecuteEx@4=ShellExecuteExA@4 @385 + ShellExecuteExA@4 @386 + ShellExecuteExW@4 @387 + ShellExecuteW@24 @388 + ShellHookProc@12 @389 + Shell_NotifyIcon@8=Shell_NotifyIconA@8 @390 + Shell_NotifyIconA@8 @391 + Shell_NotifyIconW@8 @392 + StrChrA@8=shlwapi.StrChrA @393 + StrChrIA@8=shlwapi.StrChrIA @394 + StrChrIW@8=shlwapi.StrChrIW @395 + StrChrW@8=shlwapi.StrChrW @396 + StrCmpNA@12=shlwapi.StrCmpNA @397 + StrCmpNIA@12=shlwapi.StrCmpNIA @398 + StrCmpNIW@12=shlwapi.StrCmpNIW @399 + StrCmpNW@12=shlwapi.StrCmpNW @400 + StrCpyNA@12=kernel32.lstrcpynA @401 + StrCpyNW@12=shlwapi.StrCpyNW @402 + StrNCmpA@12=shlwapi.StrCmpNA @403 + StrNCmpIA@12=shlwapi.StrCmpNIA @404 + StrNCmpIW@12=shlwapi.StrCmpNIW @405 + StrNCmpW@12=shlwapi.StrCmpNW @406 + StrNCpyA@12=kernel32.lstrcpynA @407 + StrNCpyW@12=shlwapi.StrCpyNW @408 + StrRChrA@12=shlwapi.StrRChrA @409 + StrRChrIA@12=shlwapi.StrRChrIA @410 + StrRChrIW@12=shlwapi.StrRChrIW @411 + StrRChrW@12=shlwapi.StrRChrW @412 + StrRStrIA@12=shlwapi.StrRStrIA @414 + StrRStrIW@12=shlwapi.StrRStrIW @415 + StrStrA@8=shlwapi.StrStrA @417 + StrStrIA@8=shlwapi.StrStrIA @418 + StrStrIW@8=shlwapi.StrStrIW @419 + StrStrW@8=shlwapi.StrStrW @420 + WOWShellExecute@28 @421 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshfolder.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshfolder.def new file mode 100644 index 0000000..04829f1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshfolder.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/shfolder/shfolder.spec; do not edit! + +LIBRARY shfolder.dll + +EXPORTS + SHGetFolderPathA@20=shell32.SHGetFolderPathA @1 + SHGetFolderPathW@20=shell32.SHGetFolderPathW @2 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshlwapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshlwapi.def new file mode 100644 index 0000000..79a8fed --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libshlwapi.def @@ -0,0 +1,727 @@ +; File generated automatically from ./dlls/shlwapi/shlwapi.spec; do not edit! + +LIBRARY shlwapi.dll + +EXPORTS + ParseURLA@8 @1 NONAME + ParseURLW@8 @2 NONAME + PathFileExistsDefExtA@8 @3 NONAME + PathFileExistsDefExtW@8 @4 NONAME + PathFindOnPathExA@12 @5 NONAME + PathFindOnPathExW@12 @6 NONAME + SHAllocShared@12 @7 NONAME + SHLockShared@8 @8 NONAME + SHUnlockShared@4 @9 NONAME + SHFreeShared@8 @10 NONAME + SHMapHandle@20 @11 NONAME + SHCreateMemStream@8 @12 NONAME + RegisterDefaultAcceptHeaders@8 @13 NONAME + GetAcceptLanguagesA@8 @14 NONAME + GetAcceptLanguagesW@8 @15 NONAME + SHCreateThread@16 @16 NONAME + SHWriteDataBlockList@8 @17 NONAME + SHReadDataBlockList@8 @18 NONAME + SHFreeDataBlockList@4 @19 NONAME + SHAddDataBlock@8 @20 NONAME + SHRemoveDataBlock@8 @21 NONAME + SHFindDataBlock@8 @22 NONAME + SHStringFromGUIDA@12 @23 NONAME + SHStringFromGUIDW@12 @24 NONAME + IsCharAlphaWrapW@4=user32.IsCharAlphaW @25 NONAME + IsCharUpperWrapW@4=user32.IsCharUpperW @26 NONAME + IsCharLowerWrapW@4=user32.IsCharLowerW @27 NONAME + IsCharAlphaNumericWrapW@4=user32.IsCharAlphaNumericW @28 NONAME + IsCharSpaceW@4 @29 NONAME + IsCharBlankW@4 @30 NONAME + IsCharPunctW@4 @31 NONAME + IsCharCntrlW@4 @32 NONAME + IsCharDigitW@4 @33 NONAME + IsCharXDigitW@4 @34 NONAME + GetStringType3ExW@12 @35 NONAME + AppendMenuWrapW@16=user32.AppendMenuW @36 NONAME + CallWindowProcWrapW@20=user32.CallWindowProcW @37 NONAME + CharLowerWrapW@4=user32.CharLowerW @38 NONAME + CharLowerBuffWrapW@8=user32.CharLowerBuffW @39 NONAME + CharNextWrapW@4=user32.CharNextW @40 NONAME + CharPrevWrapW@8=user32.CharPrevW @41 NONAME + CharToOemWrapW@4=user32.CharToOemW @42 NONAME + CharUpperWrapW@4=user32.CharUpperW @43 NONAME + CharUpperBuffWrapW@8=user32.CharUpperBuffW @44 NONAME + CompareStringWrapW@24=kernel32.CompareStringW @45 NONAME + CopyAcceleratorTableWrapW@12=user32.CopyAcceleratorTableW @46 NONAME + CreateAcceleratorTableWrapW@8=user32.CreateAcceleratorTableW @47 NONAME + CreateDCWrapW@16=gdi32.CreateDCW @48 NONAME + CreateDialogParamWrapW@20=user32.CreateDialogParamW @49 NONAME + CreateDirectoryWrapW@8=kernel32.CreateDirectoryW @50 NONAME + CreateEventWrapW@16=kernel32.CreateEventW @51 NONAME + CreateFileWrapW@28=kernel32.CreateFileW @52 NONAME + CreateFontIndirectWrapW@4=gdi32.CreateFontIndirectW @53 NONAME + CreateICWrapW@16=gdi32.CreateICW @54 NONAME + CreateWindowExWrapW@48=user32.CreateWindowExW @55 NONAME + DefWindowProcWrapW@16=user32.DefWindowProcW @56 NONAME + DeleteFileWrapW@4=kernel32.DeleteFileW @57 NONAME + DialogBoxIndirectParamWrapW@20=user32.DialogBoxIndirectParamW @58 NONAME + DialogBoxParamWrapW@20=user32.DialogBoxParamW @59 NONAME + DispatchMessageWrapW@4=user32.DispatchMessageW @60 NONAME + DrawTextWrapW@20=user32.DrawTextW @61 NONAME + EnumFontFamiliesWrapW@16=gdi32.EnumFontFamiliesW @62 NONAME + EnumFontFamiliesExWrapW@20=gdi32.EnumFontFamiliesExW @63 NONAME + EnumResourceNamesWrapW@16=kernel32.EnumResourceNamesW @64 NONAME + FindFirstFileWrapW@8=kernel32.FindFirstFileW @65 NONAME + FindResourceWrapW@12=kernel32.FindResourceW @66 NONAME + FindWindowWrapW@8=user32.FindWindowW @67 NONAME + FormatMessageWrapW@28=kernel32.FormatMessageW @68 NONAME + GetClassInfoWrapW@12=user32.GetClassInfoW @69 NONAME + GetClassLongWrapW@8=user32.GetClassLongW @70 NONAME + GetClassNameWrapW@12=user32.GetClassNameW @71 NONAME + GetClipboardFormatNameWrapW@12=user32.GetClipboardFormatNameW @72 NONAME + GetCurrentDirectoryWrapW@8=kernel32.GetCurrentDirectoryW @73 NONAME + GetDlgItemTextWrapW@16=user32.GetDlgItemTextW @74 NONAME + GetFileAttributesWrapW@4=kernel32.GetFileAttributesW @75 NONAME + GetFullPathNameWrapW@16=kernel32.GetFullPathNameW @76 NONAME + GetLocaleInfoWrapW@16=kernel32.GetLocaleInfoW @77 NONAME + GetMenuStringWrapW@20=user32.GetMenuStringW @78 NONAME + GetMessageWrapW@16=user32.GetMessageW @79 NONAME + GetModuleFileNameWrapW@12=kernel32.GetModuleFileNameW @80 NONAME + GetSystemDirectoryWrapW@8=kernel32.GetSystemDirectoryW @81 NONAME + SearchPathWrapW@24=kernel32.SearchPathW @82 NONAME + GetModuleHandleWrapW@4=kernel32.GetModuleHandleW @83 NONAME + GetObjectWrapW@12=gdi32.GetObjectW @84 NONAME + GetPrivateProfileIntWrapW@16=kernel32.GetPrivateProfileIntW @85 NONAME + GetProfileStringWrapW@20=kernel32.GetProfileStringW @86 NONAME + GetPropWrapW@8=user32.GetPropW @87 NONAME + GetStringTypeExWrapW@20=kernel32.GetStringTypeExW @88 NONAME + GetTempFileNameWrapW@16=kernel32.GetTempFileNameW @89 NONAME + GetTempPathWrapW@8=kernel32.GetTempPathW @90 NONAME + GetTextExtentPoint32WrapW@16=gdi32.GetTextExtentPoint32W @91 NONAME + GetTextFaceWrapW@12=gdi32.GetTextFaceW @92 NONAME + GetTextMetricsWrapW@8=gdi32.GetTextMetricsW @93 NONAME + GetWindowLongWrapW@8=user32.GetWindowLongW @94 NONAME + GetWindowTextWrapW@12=user32.GetWindowTextW @95 NONAME + GetWindowTextLengthWrapW@4=user32.GetWindowTextLengthW @96 NONAME + GetWindowsDirectoryWrapW@8=kernel32.GetWindowsDirectoryW @97 NONAME + InsertMenuWrapW@20=user32.InsertMenuW @98 NONAME + IsDialogMessageWrapW@8=user32.IsDialogMessageW @99 NONAME + LoadAcceleratorsWrapW@8=user32.LoadAcceleratorsW @100 NONAME + LoadBitmapWrapW@8=user32.LoadBitmapW @101 NONAME + LoadCursorWrapW@8=user32.LoadCursorW @102 NONAME + LoadIconWrapW@8=user32.LoadIconW @103 NONAME + LoadImageWrapW@24=user32.LoadImageW @104 NONAME + LoadLibraryExWrapW@12=kernel32.LoadLibraryExW @105 NONAME + LoadMenuWrapW@8=user32.LoadMenuW @106 NONAME + LoadStringWrapW@16=user32.LoadStringW @107 NONAME + MessageBoxIndirectWrapW@4=user32.MessageBoxIndirectW @108 NONAME + ModifyMenuWrapW@20=user32.ModifyMenuW @109 NONAME + GetCharWidth32WrapW@16=gdi32.GetCharWidth32W @110 NONAME + GetCharacterPlacementWrapW@24=gdi32.GetCharacterPlacementW @111 NONAME + CopyFileWrapW@12=kernel32.CopyFileW @112 NONAME + MoveFileWrapW@8=kernel32.MoveFileW @113 NONAME + OemToCharWrapW@8=user32.OemToCharW @114 NONAME + OutputDebugStringWrapW@4=kernel32.OutputDebugStringW @115 NONAME + PeekMessageWrapW@20=user32.PeekMessageW @116 NONAME + PostMessageWrapW@16=user32.PostMessageW @117 NONAME + PostThreadMessageWrapW@16=user32.PostThreadMessageW @118 NONAME + RegCreateKeyWrapW@12=advapi32.RegCreateKeyW @119 NONAME + RegCreateKeyExWrapW@36=advapi32.RegCreateKeyExW @120 NONAME + RegDeleteKeyWrapW@8=advapi32.RegDeleteKeyW @121 NONAME + RegEnumKeyWrapW@16=advapi32.RegEnumKeyW @122 NONAME + RegEnumKeyExWrapW@32=advapi32.RegEnumKeyExW @123 NONAME + RegOpenKeyWrapW@12=advapi32.RegOpenKeyW @124 NONAME + RegOpenKeyExWrapW@20=advapi32.RegOpenKeyExW @125 NONAME + RegQueryInfoKeyWrapW@48=advapi32.RegQueryInfoKeyW @126 NONAME + RegQueryValueWrapW@16=advapi32.RegQueryValueW @127 NONAME + RegQueryValueExWrapW@24=advapi32.RegQueryValueExW @128 NONAME + RegSetValueWrapW@20=advapi32.RegSetValueW @129 NONAME + RegSetValueExWrapW@24=advapi32.RegSetValueExW @130 NONAME + RegisterClassWrapW@4=user32.RegisterClassW @131 NONAME + RegisterClipboardFormatWrapW@4=user32.RegisterClipboardFormatW @132 NONAME + RegisterWindowMessageWrapW@4=user32.RegisterWindowMessageW @133 NONAME + RemovePropWrapW@8=user32.RemovePropW @134 NONAME + SendDlgItemMessageWrapW@20=user32.SendDlgItemMessageW @135 NONAME + SendMessageWrapW@16=user32.SendMessageW @136 NONAME + SetCurrentDirectoryWrapW@4=kernel32.SetCurrentDirectoryW @137 NONAME + SetDlgItemTextWrapW@12=user32.SetDlgItemTextW @138 NONAME + SetMenuItemInfoWrapW@16=user32.SetMenuItemInfoW @139 NONAME + SetPropWrapW@12=user32.SetPropW @140 NONAME + SetWindowLongWrapW@12=user32.SetWindowLongW @141 NONAME + SetWindowsHookExWrapW@16=user32.SetWindowsHookExW @142 NONAME + SetWindowTextWrapW@8=user32.SetWindowTextW @143 NONAME + StartDocWrapW@8=gdi32.StartDocW @144 NONAME + SystemParametersInfoWrapW@16=user32.SystemParametersInfoW @145 NONAME + TranslateAcceleratorWrapW@12=user32.TranslateAcceleratorW @146 NONAME + UnregisterClassWrapW@8=user32.UnregisterClassW @147 NONAME + VkKeyScanWrapW@4=user32.VkKeyScanW @148 NONAME + WinHelpWrapW@16=user32.WinHelpW @149 NONAME + wvsprintfWrapW@12=user32.wvsprintfW @150 NONAME + StrCmpNCA@12 @151 NONAME + StrCmpNCW@12 @152 NONAME + StrCmpNICA@12 @153 NONAME + StrCmpNICW@12 @154 NONAME + StrCmpCA@8 @155 NONAME + StrCmpCW@8 @156 NONAME + StrCmpICA@8 @157 NONAME + StrCmpICW@8 @158 NONAME + CompareStringAltW@24=kernel32.CompareStringW @159 NONAME + SHAboutInfoA@8 @160 NONAME + SHAboutInfoW@8 @161 NONAME + SHTruncateString@8 @162 NONAME + IUnknown_QueryStatus@20 @163 NONAME + IUnknown_Exec@24 @164 NONAME + SHSetWindowBits@16 @165 NONAME + SHIsEmptyStream@4 @166 NONAME + SHSetParentHwnd@8 @167 NONAME + ConnectToConnectionPoint@24 @168 NONAME + IUnknown_AtomicRelease@4 @169 NONAME + PathSkipLeadingSlashesA@4 @170 NONAME + SHIsSameObject@8 @171 NONAME + IUnknown_GetWindow@8 @172 NONAME + IUnknown_SetOwner@8 @173 NONAME + IUnknown_SetSite@8 @174 NONAME + IUnknown_GetClassID@8 @175 NONAME + IUnknown_QueryService@16 @176 NONAME + SHLoadMenuPopup@8 @177 NONAME + SHPropagateMessage@20 @178 NONAME + SHMenuIndexFromID@8 @179 NONAME + SHRemoveAllSubMenus@4 @180 NONAME + SHEnableMenuItem@12 @181 NONAME + SHCheckMenuItem@12 @182 NONAME + SHRegisterClassA@4 @183 NONAME + IStream_Read@12=SHIStream_Read@12 @184 NONAME + SHMessageBoxCheckA@24 @185 NONAME + SHSimulateDrop@20 @186 NONAME + SHLoadFromPropertyBag@8 @187 NONAME + IUnknown_TranslateAcceleratorOCS@12 @188 NONAME + IUnknown_OnFocusOCS@8 @189 NONAME + IUnknown_HandleIRestrict@20 @190 NONAME + SHMessageBoxCheckW@24 @191 NONAME + SHGetMenuFromID@8 @192 NONAME + SHGetCurColorRes@0 @193 NONAME + SHWaitForSendMessageThread@8 @194 NONAME + SHIsExpandableFolder@8 @195 NONAME + SHVerbExistsNA@16 @196 NONAME + SHFillRectClr@12 @197 NONAME + SHSearchMapInt@16 @198 NONAME + IUnknown_Set@8 @199 NONAME + MayQSForward@24 @200 NONAME + MayExecForward@28 @201 NONAME + IsQSForward@12 @202 NONAME + SHStripMneumonicA@4 @203 NONAME + SHIsChildOrSelf@8 @204 NONAME + SHGetValueGoodBootA@24 @205 NONAME + SHGetValueGoodBootW@24 @206 NONAME + FDSA_Initialize@20 @208 NONAME + FDSA_Destroy@4 @209 NONAME + FDSA_InsertItem@12 @210 NONAME + FDSA_DeleteItem@8 @211 NONAME + IStream_Write@12=SHIStream_Write@12 @212 NONAME + IStream_Reset@4 @213 NONAME + IStream_Size@8 @214 NONAME + SHAnsiToUnicode@12 @215 NONAME + SHAnsiToUnicodeCP@16 @216 NONAME + SHUnicodeToAnsi@12 @217 NONAME + SHUnicodeToAnsiCP@16 @218 NONAME + QISearch@16 @219 + SHSetDefaultDialogFont@8 @220 NONAME + SHRemoveDefaultDialogFont@4 @221 NONAME + SHGlobalCounterCreate@4 @222 NONAME + SHGlobalCounterGetValue@4 @223 NONAME + SHGlobalCounterIncrement@4 @224 NONAME + SHStripMneumonicW@4 @225 NONAME + ZoneCheckUrlExW@32 @231 NONAME + SHPinDllOfCLSID@4 @236 NONAME + SHRegisterClassW@4 @237 NONAME + SHUnregisterClassesA@12 @238 NONAME + SHUnregisterClassesW@12 @239 NONAME + SHDefWindowProc@16 @240 NONAME + StopWatchMode@0 @241 NONAME + StopWatchFlush@0 @242 NONAME + StopWatchA@20 @243 NONAME + StopWatchW@20 @244 NONAME + StopWatch_TimerHandler@16 @245 NONAME + StopWatch_MarkFrameStart@4 @247 NONAME + StopWatch_MarkJavaStop@12 @249 NONAME + GetPerfTime@0 @250 NONAME + StopWatch_SetMsgLastLocation@4 @252 NONAME + IUnknown_GetSite@12 @256 NONAME + SHCreateWorkerWindowA@24 @257 NONAME + SHQueueUserWorkItem@28 @260 NONAME + SHSetTimerQueueTimer@28 @263 NONAME + SHRestrictionLookup@16 @266 NONAME + SHWeakQueryInterface@16 @267 NONAME + SHWeakReleaseInterface@8 @268 NONAME + GUIDFromStringA@8 @269 NONAME + GUIDFromStringW@8 @270 NONAME + SHGetRestriction@12 @271 NONAME + WhichPlatform@0 @276 NONAME + SHCreateWorkerWindowW@24 @278 NONAME + SHInvokeDefaultCommand@12 @279 NONAME + SHRegGetIntW@12 @280 NONAME + SHPackDispParamsV@16 @281 NONAME + SHPackDispParams @282 NONAME + IConnectionPoint_InvokeWithCancel@20 @283 NONAME + IConnectionPoint_SimpleInvoke@12 @284 NONAME + IConnectionPoint_OnChanged@8 @285 NONAME + IUnknown_CPContainerInvokeParam @286 NONAME + IUnknown_CPContainerOnChanged@8 @287 NONAME + PlaySoundWrapW@12 @289 NONAME + SHMessageBoxCheckExA@28 @291 NONAME + SHMessageBoxCheckExW@28 @292 NONAME + SHGetIniStringW@20 @294 NONAME + SHSetIniStringW@16 @295 NONAME + WritePrivateProfileStringWrapW@16=kernel32.WritePrivateProfileStringW @298 NONAME + ExtTextOutWrapW@32=gdi32.ExtTextOutW @299 NONAME + CreateFontWrapW@56=gdi32.CreateFontW @300 NONAME + DrawTextExWrapW@24=user32.DrawTextExW @301 NONAME + GetMenuItemInfoWrapW@16=user32.GetMenuItemInfoW @302 NONAME + InsertMenuItemWrapW@16=user32.InsertMenuItemW @303 NONAME + CreateMetaFileWrapW@4=gdi32.CreateMetaFileW @304 NONAME + CreateMutexWrapW@12=kernel32.CreateMutexW @305 NONAME + ExpandEnvironmentStringsWrapW@12=kernel32.ExpandEnvironmentStringsW @306 NONAME + CreateSemaphoreWrapW@16=kernel32.CreateSemaphoreW @307 NONAME + IsBadStringPtrWrapW@8=kernel32.IsBadStringPtrW @308 NONAME + LoadLibraryWrapW@4=kernel32.LoadLibraryW @309 NONAME + GetTimeFormatWrapW@24=kernel32.GetTimeFormatW @310 NONAME + GetDateFormatWrapW@24=kernel32.GetDateFormatW @311 NONAME + GetPrivateProfileStringWrapW@24=kernel32.GetPrivateProfileStringW @312 NONAME + SHGetFileInfoWrapW@20 @313 NONAME + RegisterClassExWrapW@4=user32.RegisterClassExW @314 NONAME + GetClassInfoExWrapW@12=user32.GetClassInfoExW @315 NONAME + DragQueryFileWrapW@16 @318 NONAME + FindWindowExWrapW@16=user32.FindWindowExW @319 NONAME + RegisterMIMETypeForExtensionA@8 @320 NONAME + RegisterMIMETypeForExtensionW@8 @321 NONAME + UnregisterMIMETypeForExtensionA@4 @322 NONAME + UnregisterMIMETypeForExtensionW@4 @323 NONAME + RegisterExtensionForMIMETypeA@8 @324 NONAME + RegisterExtensionForMIMETypeW@8 @325 NONAME + UnregisterExtensionForMIMETypeA@4 @326 NONAME + UnregisterExtensionForMIMETypeW@4 @327 NONAME + GetMIMETypeSubKeyA@12 @328 NONAME + GetMIMETypeSubKeyW@12 @329 NONAME + MIME_GetExtensionA@12 @330 NONAME + MIME_GetExtensionW@12 @331 NONAME + CallMsgFilterWrapW@8=user32.CallMsgFilterW @332 NONAME + SHBrowseForFolderWrapW@4 @333 NONAME + SHGetPathFromIDListWrapW@8 @334 NONAME + ShellExecuteExWrapW@4 @335 NONAME + SHFileOperationWrapW@4 @336 NONAME + ExtractIconExWrapW@20=user32.PrivateExtractIconExW @337 NONAME + SetFileAttributesWrapW@8=kernel32.SetFileAttributesW @338 NONAME + GetNumberFormatWrapW@24=kernel32.GetNumberFormatW @339 NONAME + MessageBoxWrapW@16=user32.MessageBoxW @340 NONAME + FindNextFileWrapW@8=kernel32.FindNextFileW @341 NONAME + SHInterlockedCompareExchange@12 @342 NONAME + SHRegGetCLSIDKeyA@20 @343 NONAME + SHRegGetCLSIDKeyW@20 @344 NONAME + SHAnsiToAnsi@12 @345 NONAME + SHUnicodeToUnicode@12 @346 NONAME + RegDeleteValueWrapW@8=advapi32.RegDeleteValueW @347 NONAME + GetFileVersionInfoSizeWrapW@8 @350 NONAME + GetFileVersionInfoWrapW@16 @351 NONAME + VerQueryValueWrapW@16 @352 NONAME + SHFormatDateTimeA@16 @353 NONAME + SHFormatDateTimeW@16 @354 NONAME + IUnknown_EnableModeless@8 @355 NONAME + CreateAllAccessSecurityAttributes@12 @356 NONAME + SHGetNewLinkInfoWrapW@20 @357 NONAME + SHDefExtractIconWrapW@24 @358 NONAME + OpenEventWrapW@12=kernel32.OpenEventW @359 NONAME + RemoveDirectoryWrapW@4=kernel32.RemoveDirectoryW @360 NONAME + GetShortPathNameWrapW@12=kernel32.GetShortPathNameW @361 NONAME + GetUserNameWrapW@8=advapi32.GetUserNameW @362 NONAME + SHInvokeCommand@16 @363 NONAME + DoesStringRoundTripA@12 @364 NONAME + DoesStringRoundTripW@12 @365 NONAME + RegEnumValueWrapW@32=advapi32.RegEnumValueW @366 NONAME + WritePrivateProfileStructWrapW@20=kernel32.WritePrivateProfileStructW @367 NONAME + GetPrivateProfileStructWrapW@20=kernel32.GetPrivateProfileStructW @368 NONAME + CreateProcessWrapW@40=kernel32.CreateProcessW @369 NONAME + ExtractIconWrapW@12 @370 NONAME + DdeInitializeWrapW@16=user32.DdeInitializeW @371 NONAME + DdeCreateStringHandleWrapW@12=user32.DdeCreateStringHandleW @372 NONAME + DdeQueryStringWrapW@20=user32.DdeQueryStringW @373 NONAME + MLGetUILanguage@0=kernel32.GetUserDefaultUILanguage @376 NONAME + MLLoadLibraryA@12 @377 NONAME + MLLoadLibraryW@12 @378 NONAME + ZoneComputePaneSize@4 @382 NONAME + ShellMessageBoxWrapW @388 NONAME + GetSaveFileNameWrapW@4 @389 NONAME + WNetRestoreConnectionWrapW@8 @390 NONAME + WNetGetLastErrorWrapW@20 @391 NONAME + EndDialogWrap@8=user32.EndDialog @392 NONAME + CreateDialogIndirectParamWrapW@20=user32.CreateDialogIndirectParamW @393 NONAME + SHChangeNotifyWrap@16 @394 NONAME + StrCpyNXA@12 @399 NONAME + StrCpyNXW@12 @400 NONAME + PageSetupDlgWrapW@4 @401 NONAME + PrintDlgWrapW@4 @402 NONAME + GetOpenFileNameWrapW@4 @403 NONAME + IShellFolder_EnumObjects@16=SHIShellFolder_EnumObjects@16 @404 NONAME + MLBuildResURLA@24 @405 NONAME + MLBuildResURLW@24 @406 NONAME + SHGetMachineInfo@4 @413 NONAME + SHWinHelpOnDemandW@20 @416 NONAME + SHWinHelpOnDemandA@20 @417 NONAME + MLFreeLibrary@4 @418 NONAME + SHFlushSFCacheWrap@0 @419 NONAME + SHGlobalCounterCreateNamedA@8 @422 NONAME + SHGlobalCounterCreateNamedW@8 @423 NONAME + SHGlobalCounterDecrement@4 @424 NONAME + DeleteMenuWrap@12=user32.DeleteMenu @425 NONAME + DestroyMenuWrap@4=user32.DestroyMenu @426 NONAME + TrackPopupMenuWrap@28=user32.TrackPopupMenu @427 NONAME + TrackPopupMenuExWrap@24=user32.TrackPopupMenuEx @428 NONAME + MLIsMLHInstance@4 @429 NONAME + MLSetMLHInstance@8 @430 NONAME + MLClearMLHInstance@4 @431 NONAME + SHSendMessageBroadcastA@12 @432 NONAME + SHSendMessageBroadcastW@12 @433 NONAME + SendMessageTimeoutWrapW@28=user32.SendMessageTimeoutW @434 NONAME + CLSIDFromProgIDWrap@8=ole32.CLSIDFromProgID @435 NONAME + CLSIDFromStringWrap@8 @436 NONAME + IsOS@4 @437 NONAME + SHLoadRegUIStringW@16 @439 NONAME + SHGetWebFolderFilePathA@12 @440 NONAME + SHGetWebFolderFilePathW@12 @441 NONAME + GetEnvironmentVariableWrapW@12=kernel32.GetEnvironmentVariableW @442 NONAME + SHGetSystemWindowsDirectoryA@8=kernel32.GetSystemWindowsDirectoryA @443 NONAME + SHGetSystemWindowsDirectoryW@8=kernel32.GetSystemWindowsDirectoryW @444 NONAME + PathFileExistsAndAttributesA@8 @445 NONAME + PathFileExistsAndAttributesW@8 @446 NONAME + FixSlashesAndColonW@4 @448 NONAME + PathIsValidCharA@8 @455 NONAME + PathIsValidCharW@8 @456 NONAME + GetLongPathNameWrapW@12=kernel32.GetLongPathNameW @457 NONAME + GetLongPathNameWrapA@12=kernel32.GetLongPathNameA @458 NONAME + SHExpandEnvironmentStringsA@12=kernel32.ExpandEnvironmentStringsA @459 NONAME + SHExpandEnvironmentStringsW@12=kernel32.ExpandEnvironmentStringsW @460 NONAME + SHGetAppCompatFlags@4 @461 NONAME + UrlFixupW@12 @462 NONAME + SHExpandEnvironmentStringsForUserA@16=userenv.ExpandEnvironmentStringsForUserA @463 NONAME + SHExpandEnvironmentStringsForUserW@16=userenv.ExpandEnvironmentStringsForUserW @464 NONAME + SHCreatePropertyBagOnRegKey@20 @471 NONAME + GetShellSecurityDescriptor@8 @475 NONAME + SHGetObjectCompatFlags@8 @476 NONAME + IUnknown_TranslateAcceleratorIO@8 @478 NONAME + IUnknown_UIActivateIO@12 @479 NONAME + UrlCrackW@16=wininet.InternetCrackUrlW @480 NONAME + IUnknown_HasFocusIO@4 @481 NONAME + IUnknown_QueryServiceExec@28 @484 NONAME + SHLoadIndirectString@16 @487 NONAME + GlobalAddAtomWrapW@4=kernel32.GlobalAddAtomW @489 NONAME + GlobalFindAtomWrapW@4=kernel32.GlobalFindAtomW @490 NONAME + SHGetShellKey@12 @491 NONAME + SHPropertyBag_ReadLONG@12 @496 NONAME + IUnknown_OnFocusChangeIS@12 @509 NONAME + IUnknown_ProfferService@16 @514 NONAME + SHGetViewStatePropertyBag@20 @515 NONAME + SKGetValueW@24 @516 NONAME + SKSetValueW@24 @517 NONAME + SKDeleteValueW@12 @518 NONAME + SKAllocValueW@24 @519 NONAME + IUnknown_QueryServiceForWebBrowserApp@12 @538 NONAME + GetUIVersion@0 @542 NONAME + CreateColorSpaceWrapW@4=gdi32.CreateColorSpaceW @543 NONAME + SHCoCreateInstanceAC@20 @549 NONAME + AssocCreate@24 @500 + AssocGetPerceivedType@16 @501 + AssocIsDangerous@4 @502 + AssocQueryKeyA@20 @503 + AssocQueryKeyW@20 @504 + AssocQueryStringA@24 @547 + AssocQueryStringByKeyA@24 @552 + AssocQueryStringByKeyW@24 @553 + AssocQueryStringW@24 @554 + ChrCmpIA@8 @555 + ChrCmpIW@8 @556 + ColorAdjustLuma@12 @557 + ColorHLSToRGB@12 @558 + ColorRGBToHLS@16 @559 + DelayLoadFailureHook@8=kernel32.DelayLoadFailureHook @560 + DllGetVersion@4 @561 PRIVATE + GetMenuPosFromID@8 @562 + HashData@16 @563 + IntlStrEqWorkerA@16=StrIsIntlEqualA@16 @564 + IntlStrEqWorkerW@16=StrIsIntlEqualW@16 @565 + IsCharSpaceA@4 @566 + IsInternetESCEnabled@0 @567 + PathAddBackslashA@4 @568 + PathAddBackslashW@4 @569 + PathAddExtensionA@8 @570 + PathAddExtensionW@8 @571 + PathAppendA@8 @572 + PathAppendW@8 @573 + PathBuildRootA@8 @574 + PathBuildRootW@8 @575 + PathCanonicalizeA@8 @576 + PathCanonicalizeW@8 @577 + PathCombineA@12 @578 + PathCombineW@12 @579 + PathCommonPrefixA@12 @580 + PathCommonPrefixW@12 @581 + PathCompactPathA@12 @582 + PathCompactPathExA@16 @583 + PathCompactPathExW@16 @584 + PathCompactPathW@12 @585 + PathCreateFromUrlA@16 @586 + PathCreateFromUrlW@16 @587 + PathCreateFromUrlAlloc@12 @588 + PathFileExistsA@4 @589 + PathFileExistsW@4 @590 + PathFindExtensionA@4 @591 + PathFindExtensionW@4 @592 + PathFindFileNameA@4 @593 + PathFindFileNameW@4 @594 + PathFindNextComponentA@4 @595 + PathFindNextComponentW@4 @596 + PathFindOnPathA@8 @597 + PathFindOnPathW@8 @598 + PathFindSuffixArrayA@12 @599 + PathFindSuffixArrayW@12 @600 + PathGetArgsA@4 @601 + PathGetArgsW@4 @602 + PathGetCharTypeA@4 @603 + PathGetCharTypeW@4 @604 + PathGetDriveNumberA@4 @605 + PathGetDriveNumberW@4 @606 + PathIsContentTypeA@8 @607 + PathIsContentTypeW@8 @608 + PathIsDirectoryA@4 @609 + PathIsDirectoryEmptyA@4 @610 + PathIsDirectoryEmptyW@4 @611 + PathIsDirectoryW@4 @612 + PathIsFileSpecA@4 @613 + PathIsFileSpecW@4 @614 + PathIsLFNFileSpecA@4 @615 + PathIsLFNFileSpecW@4 @616 + PathIsNetworkPathA@4 @617 + PathIsNetworkPathW@4 @618 + PathIsPrefixA@8 @619 + PathIsPrefixW@8 @620 + PathIsRelativeA@4 @621 + PathIsRelativeW@4 @622 + PathIsRootA@4 @623 + PathIsRootW@4 @624 + PathIsSameRootA@8 @625 + PathIsSameRootW@8 @626 + PathIsSystemFolderA@8 @627 + PathIsSystemFolderW@8 @628 + PathIsUNCA@4 @629 + PathIsUNCServerA@4 @630 + PathIsUNCServerShareA@4 @631 + PathIsUNCServerShareW@4 @632 + PathIsUNCServerW@4 @633 + PathIsUNCW@4 @634 + PathIsURLA@4 @635 + PathIsURLW@4 @636 + PathMakePrettyA@4 @637 + PathMakePrettyW@4 @638 + PathMakeSystemFolderA@4 @639 + PathMakeSystemFolderW@4 @640 + PathMatchSpecA@8 @641 + PathMatchSpecW@8 @642 + PathParseIconLocationA@4 @643 + PathParseIconLocationW@4 @644 + PathQuoteSpacesA@4 @645 + PathQuoteSpacesW@4 @646 + PathRelativePathToA@20 @647 + PathRelativePathToW@20 @648 + PathRemoveArgsA@4 @649 + PathRemoveArgsW@4 @650 + PathRemoveBackslashA@4 @651 + PathRemoveBackslashW@4 @652 + PathRemoveBlanksA@4 @653 + PathRemoveBlanksW@4 @654 + PathRemoveExtensionA@4 @655 + PathRemoveExtensionW@4 @656 + PathRemoveFileSpecA@4 @657 + PathRemoveFileSpecW@4 @658 + PathRenameExtensionA@8 @659 + PathRenameExtensionW@8 @660 + PathSearchAndQualifyA@12 @661 + PathSearchAndQualifyW@12 @662 + PathSetDlgItemPathA@12 @663 + PathSetDlgItemPathW@12 @664 + PathSkipRootA@4 @665 + PathSkipRootW@4 @666 + PathStripPathA@4 @667 + PathStripPathW@4 @668 + PathStripToRootA@4 @669 + PathStripToRootW@4 @670 + PathUnExpandEnvStringsA@12 @671 + PathUnExpandEnvStringsW@12 @672 + PathUndecorateA@4 @673 + PathUndecorateW@4 @674 + PathUnmakeSystemFolderA@4 @675 + PathUnmakeSystemFolderW@4 @676 + PathUnquoteSpacesA@4 @677 + PathUnquoteSpacesW@4 @678 + SHAutoComplete@8 @679 + SHCopyKeyA@16 @680 + SHCopyKeyW@16 @681 + SHCreateShellPalette@4 @682 + SHCreateStreamOnFileA@12 @683 + SHCreateStreamOnFileEx@24 @684 + SHCreateStreamOnFileW@12 @685 + SHCreateStreamWrapper@16 @686 + SHCreateThreadRef@8 @687 + SHDeleteEmptyKeyA@8 @688 + SHDeleteEmptyKeyW@8 @689 + SHDeleteKeyA@8 @690 + SHDeleteKeyW@8 @691 + SHDeleteOrphanKeyA@8 @692 + SHDeleteOrphanKeyW@8 @693 + SHDeleteValueA@12 @694 + SHDeleteValueW@12 @695 + SHEnumKeyExA@16 @696 + SHEnumKeyExW@16 @697 + SHEnumValueA@28 @698 + SHEnumValueW@28 @699 + SHGetInverseCMAP@8 @700 + SHGetThreadRef@4 @701 + SHGetValueA@24 @702 + SHGetValueW@24 @703 + SHIsLowMemoryMachine@4 @704 + SHOpenRegStream2A@16 @705 + SHOpenRegStream2W@16 @706 + SHOpenRegStreamA@16 @707 + SHOpenRegStreamW@16 @708 + SHQueryInfoKeyA@20 @709 + SHQueryInfoKeyW@20 @710 + SHQueryValueExA@24 @711 + SHQueryValueExW@24 @712 + SHRegCloseUSKey@4 @713 + SHRegCreateUSKeyA@20 @714 + SHRegCreateUSKeyW@20 @715 + SHRegDeleteEmptyUSKeyA@12 @716 + SHRegDeleteEmptyUSKeyW@12 @717 + SHRegDeleteUSValueA@12 @718 + SHRegDeleteUSValueW@12 @719 + SHRegDuplicateHKey@4 @720 + SHRegEnumUSKeyA@20 @721 + SHRegEnumUSKeyW@20 @722 + SHRegEnumUSValueA@32 @723 + SHRegEnumUSValueW@32 @724 + SHRegGetBoolUSValueA@16 @725 + SHRegGetBoolUSValueW@16 @726 + SHRegGetPathA@20 @727 + SHRegGetPathW@20 @728 + SHRegGetUSValueA@32 @729 + SHRegGetUSValueW@32 @730 + SHRegGetValueA@28=advapi32.RegGetValueA @731 + SHRegGetValueW@28=advapi32.RegGetValueW @732 + SHRegOpenUSKeyA@20 @733 + SHRegOpenUSKeyW@20 @734 + SHRegQueryInfoUSKeyA@24 @735 + SHRegQueryInfoUSKeyW@24 @736 + SHRegQueryUSValueA@32 @737 + SHRegQueryUSValueW@32 @738 + SHRegSetPathA@20 @739 + SHRegSetPathW@20 @740 + SHRegSetUSValueA@24 @741 + SHRegSetUSValueW@24 @742 + SHRegWriteUSValueA@24 @743 + SHRegWriteUSValueW@24 @744 + SHRegisterValidateTemplate@8 @745 + SHReleaseThreadRef@0 @746 + SHSetThreadRef@4 @747 + SHSetValueA@24 @748 + SHSetValueW@24 @749 + SHSkipJunction@8 @750 + SHStrDupA@8 @751 + SHStrDupW@8 @752 + StrCSpnA@8 @753 + StrCSpnIA@8 @754 + StrCSpnIW@8 @755 + StrCSpnW@8 @756 + StrCatBuffA@12 @757 + StrCatBuffW@12 @758 + StrCatChainW@16 @759 + StrCatW@8 @760 + StrChrA@8 @761 + StrChrIA@8 @762 + StrChrIW@8 @763 + StrChrNW@12 @764 + StrChrW@8 @765 + StrCmpIW@8 @766 + StrCmpLogicalW@8 @767 + StrCmpNA@12 @768 + StrCmpNIA@12 @769 + StrCmpNIW@12 @770 + StrCmpNW@12 @771 + StrCmpW@8 @772 + StrCpyNW@12 @773 + StrCpyW@8 @774 + StrDupA@4 @775 + StrDupW@4 @776 + StrFormatByteSize64A@16 @777 + StrFormatByteSizeA@12 @778 + StrFormatByteSizeW@16 @779 + StrFormatKBSizeA@16 @780 + StrFormatKBSizeW@16 @781 + StrFromTimeIntervalA@16 @782 + StrFromTimeIntervalW@16 @783 + StrIsIntlEqualA@16 @784 + StrIsIntlEqualW@16 @785 + StrNCatA@12 @786 + StrNCatW@12 @787 + StrPBrkA@8 @788 + StrPBrkW@8 @789 + StrRChrA@12 @790 + StrRChrIA@12 @791 + StrRChrIW@12 @792 + StrRChrW@12 @793 + StrRStrIA@12 @794 + StrRStrIW@12 @795 + StrRetToBSTR@12 @796 + StrRetToBufA@16 @797 + StrRetToBufW@16 @798 + StrRetToStrA@12 @799 + StrRetToStrW@12 @800 + StrSpnA@8 @801 + StrSpnW@8 @802 + StrStrA@8 @803 + StrStrIA@8 @804 + StrStrIW@8 @805 + StrStrNW@12 @806 + StrStrNIW@12 @807 + StrStrW@8 @808 + StrToInt64ExA@12 @809 + StrToInt64ExW@12 @810 + StrToIntA@4 @811 + StrToIntExA@12 @812 + StrToIntExW@12 @813 + StrToIntW@4 @814 + StrTrimA@8 @815 + StrTrimW@8 @816 + UrlApplySchemeA@16 @817 + UrlApplySchemeW@16 @818 + UrlCanonicalizeA@16 @819 + UrlCanonicalizeW@16 @820 + UrlCombineA@20 @821 + UrlCombineW@20 @822 + UrlCompareA@12 @823 + UrlCompareW@12 @824 + UrlCreateFromPathA@16 @825 + UrlCreateFromPathW@16 @826 + UrlEscapeA@16 @827 + UrlEscapeW@16 @828 + UrlGetLocationA@4 @829 + UrlGetLocationW@4 @830 + UrlGetPartA@20 @831 + UrlGetPartW@20 @832 + UrlHashA@12 @833 + UrlHashW@12 @834 + UrlIsA@8 @835 + UrlIsNoHistoryA@4 @836 + UrlIsNoHistoryW@4 @837 + UrlIsOpaqueA@4 @838 + UrlIsOpaqueW@4 @839 + UrlIsW@8 @840 + UrlUnescapeA@16 @841 + UrlUnescapeW@16 @842 + _SHGetInstanceExplorer@4 @843 + wnsprintfA @844 + wnsprintfW @845 + wvnsprintfA@16 @846 + wvnsprintfW@16 @847 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libslc.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libslc.def new file mode 100644 index 0000000..53a3159 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libslc.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/slc/slc.spec; do not edit! + +LIBRARY slc.dll + +EXPORTS + SLGetWindowsInformation@16 @28 + SLGetWindowsInformationDWORD@8 @29 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsnmpapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsnmpapi.def new file mode 100644 index 0000000..28ecdbe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsnmpapi.def @@ -0,0 +1,29 @@ +; File generated automatically from ./dlls/snmpapi/snmpapi.spec; do not edit! + +LIBRARY snmpapi.dll + +EXPORTS + SnmpSvcGetUptime@0 @14 + SnmpUtilAsnAnyCpy@8 @21 + SnmpUtilAsnAnyFree@4 @22 + SnmpUtilDbgPrint @23 + SnmpUtilIdsToA@8 @24 + SnmpUtilMemAlloc@4 @25 + SnmpUtilMemFree@4 @26 + SnmpUtilMemReAlloc@8 @27 + SnmpUtilOctetsCmp@8 @28 + SnmpUtilOctetsCpy@8 @29 + SnmpUtilOctetsFree@4 @30 + SnmpUtilOctetsNCmp@12 @31 + SnmpUtilOidAppend@8 @32 + SnmpUtilOidCmp@8 @33 + SnmpUtilOidCpy@8 @34 + SnmpUtilOidFree@4 @35 + SnmpUtilOidNCmp@12 @36 + SnmpUtilOidToA@4 @37 + SnmpUtilPrintAsnAny@4 @38 + SnmpUtilPrintOid@4 @39 + SnmpUtilVarBindCpy@8 @42 + SnmpUtilVarBindFree@4 @43 + SnmpUtilVarBindListCpy@8 @44 + SnmpUtilVarBindListFree@4 @45 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libspoolss.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libspoolss.def new file mode 100644 index 0000000..c35706a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libspoolss.def @@ -0,0 +1,35 @@ +; File generated automatically from ./dlls/spoolss/spoolss.spec; do not edit! + +LIBRARY spoolss.dll + +EXPORTS + AddMonitorW@12 @4 + AddPrinterDriverExW@16 @11 + AllocSplStr@4 @15 + BuildOtherNamesFromMachineName@8 @17 + ClosePrinter@4 @20 + DeleteMonitorW@12 @28 + DllAllocSplMem@4 @41 + DllFreeSplMem@4 @42 + DllFreeSplStr@4 @43 + EndDocPrinter@4 @44 + EnumMonitorsW@24 @48 + EnumPortsW@24 @50 + GetPrinterDataW@24 @70 + GetPrinterDriverDirectoryW@24 @71 + GetPrinterDriverW@24 @73 + GetPrinterW@20 @74 + ImpersonatePrinterClient@4 @75 + InitializeRouter@0 @76 + IsLocalCall@0 @77 + OpenPrinterW@12 @88 + ReadPrinter@16 @96 + RevertToPrinterSelf@0 @104 + SetPrinterDataW@20 @118 + SplInitializeWinSpoolDrv@4 @124 + SplIsUpgrade@0 @125 + SpoolerHasInitialized@0 @135 + SpoolerInit@0 @136 + StartDocPrinterW@12 @137 + WaitForSpoolerInitialization@0 @145 + WritePrinter@16 @146 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsti.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsti.def new file mode 100644 index 0000000..b4f1c69 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsti.def @@ -0,0 +1,12 @@ +; File generated automatically from ./dlls/sti/sti.spec; do not edit! + +LIBRARY sti.dll + +EXPORTS + DllCanUnloadNow@0 @1 PRIVATE + DllGetClassObject@12 @2 PRIVATE + DllRegisterServer@0 @3 PRIVATE + DllUnregisterServer@0 @4 PRIVATE + StiCreateInstance@16=StiCreateInstanceW@16 @5 + StiCreateInstanceA@16 @6 + StiCreateInstanceW@16 @7 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libstrmbase.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libstrmbase.a new file mode 100644 index 0000000..29fe177 Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libstrmbase.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libstrmiids.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libstrmiids.a new file mode 100644 index 0000000..9f7ee1e Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libstrmiids.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsxs.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsxs.def new file mode 100644 index 0000000..0c31e7f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libsxs.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/sxs/sxs.spec; do not edit! + +LIBRARY sxs.dll + +EXPORTS + CreateAssemblyCache@8 @1 + CreateAssemblyNameObject@16 @2 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libt2embed.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libt2embed.def new file mode 100644 index 0000000..ae6aedf --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libt2embed.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/t2embed/t2embed.spec; do not edit! + +LIBRARY t2embed.dll + +EXPORTS + TTDeleteEmbeddedFont@12 @2 + TTEmbedFont@44 @3 + TTGetEmbeddingType@8 @7 + TTIsEmbeddingEnabled@8 @8 + TTIsEmbeddingEnabledForFacename@8 @9 + TTLoadEmbeddedFont@40 @10 + _TTEmbedFont@44@44=TTEmbedFont@44 @14 + _TTGetEmbeddingType@8@8=TTGetEmbeddingType@8 @18 + _TTIsEmbeddingEnabled@8@8=TTIsEmbeddingEnabled@8 @19 + _TTIsEmbeddingEnabledForFacename@8@8=TTIsEmbeddingEnabledForFacename@8 @20 + _TTLoadEmbeddedFont@40@40=TTLoadEmbeddedFont@40 @21 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libtapi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libtapi32.def new file mode 100644 index 0000000..f9c116f --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libtapi32.def @@ -0,0 +1,181 @@ +; File generated automatically from ./dlls/tapi32/tapi32.spec; do not edit! + +LIBRARY tapi32.dll + +EXPORTS + lineAccept@12 @1 + lineAddProvider@12=lineAddProviderA@12 @2 + lineAddProviderA@12 @3 + lineAddProviderW@12 @4 + lineAddToConference@8 @5 + lineAnswer@12 @6 + lineBlindTransfer@12=lineBlindTransferA@12 @7 + lineBlindTransferA@12 @8 + lineClose@4 @9 + lineCompleteCall@16 @10 + lineCompleteTransfer@16 @11 + lineConfigDialog@12=lineConfigDialogA@12 @12 + lineConfigDialogA@12 @13 + lineConfigDialogW@12 @14 + lineConfigDialogEdit@24=lineConfigDialogEditA@24 @15 + lineConfigDialogEditA@24 @16 + lineConfigProvider@8 @17 + lineDeallocateCall@4 @18 + lineDevSpecific@20 @19 + lineDevSpecificFeature@16 @20 + lineDial@12=lineDialA@12 @21 + lineDialA@12 @22 + lineDialW@12 @23 + lineDrop@12 @24 + lineForward@28=lineForwardA@28 @25 + lineForwardA@28 @26 + lineGatherDigits@28=lineGatherDigitsA@28 @27 + lineGatherDigitsA@28 @28 + lineGenerateDigits@16=lineGenerateDigitsA@16 @29 + lineGenerateDigitsA@16 @30 + lineGenerateTone@20 @31 + lineGetAddressCaps@24=lineGetAddressCapsA@24 @32 + lineGetAddressCapsA@24 @33 + lineGetAddressID@20=lineGetAddressIDA@20 @34 + lineGetAddressIDA@20 @35 + lineGetAddressStatus@12=lineGetAddressStatusA@12 @36 + lineGetAddressStatusA@12 @37 + lineGetAppPriority@24=lineGetAppPriorityA@24 @38 + lineGetAppPriorityA@24 @39 + lineGetCallInfo@8=lineGetCallInfoA@8 @40 + lineGetCallInfoA@8 @41 + lineGetCallStatus@8 @42 + lineGetConfRelatedCalls@8 @43 + lineGetCountry@12=lineGetCountryA@12 @44 + lineGetCountryA@12 @45 + lineGetCountryW@12 @46 + lineGetDevCaps@20=lineGetDevCapsA@20 @47 + lineGetDevCapsA@20 @48 + lineGetDevCapsW@20 @49 + lineGetDevConfig@12=lineGetDevConfigA@12 @50 + lineGetDevConfigA@12 @51 + lineGetID@24=lineGetIDA@24 @52 + lineGetIDA@24 @53 + lineGetIDW@24 @54 + lineGetIcon@12=lineGetIconA@12 @55 + lineGetIconA@12 @56 + lineGetLineDevStatus@8=lineGetLineDevStatusA@8 @57 + lineGetLineDevStatusA@8 @58 + lineGetMessage@12 @59 + lineGetNewCalls@16 @60 + lineGetNumRings@12 @61 + lineGetProviderList@8=lineGetProviderListA@8 @62 + lineGetProviderListA@8 @63 + lineGetProviderListW@8 @64 + lineGetRequest@12=lineGetRequestA@12 @65 + lineGetRequestA@12 @66 + lineGetStatusMessages@12 @67 + lineGetTranslateCaps@12=lineGetTranslateCapsA@12 @68 + lineGetTranslateCapsA@12 @69 + lineHandoff@12=lineHandoffA@12 @70 + lineHandoffA@12 @71 + lineHold@4 @72 + lineInitialize@20 @73 + lineInitializeExA@28 @74 + lineInitializeExW@28 @75 + lineMakeCall@20=lineMakeCallA@20 @76 + lineMakeCallA@20 @77 + lineMakeCallW@20 @78 + lineMonitorDigits@8 @79 + lineMonitorMedia@8 @80 + lineMonitorTones@12 @81 + lineNegotiateAPIVersion@24 @82 + lineNegotiateExtVersion@24 @83 + lineOpen@36=lineOpenA@36 @84 + lineOpenA@36 @85 + lineOpenW@36 @86 + linePark@16=lineParkA@16 @87 + lineParkA@16 @88 + linePickup@20=linePickupA@20 @89 + linePickupA@20 @90 + linePrepareAddToConference@12=linePrepareAddToConferenceA@12 @91 + linePrepareAddToConferenceA@12 @92 + lineRedirect@12=lineRedirectA@12 @93 + lineRedirectA@12 @94 + lineRegisterRequestRecipient@16 @95 + lineReleaseUserUserInfo@4 @96 + lineRemoveFromConference@4 @97 + lineRemoveProvider@8 @98 + lineSecureCall@4 @99 + lineSendUserUserInfo@12 @100 + lineSetAppPriority@24=lineSetAppPriorityA@24 @101 + lineSetAppPriorityA@24 @102 + lineSetAppSpecific@8 @103 + lineSetCallParams@20 @104 + lineSetCallPrivilege@8 @105 + lineSetCurrentLocation@8 @106 + lineSetDevConfig@16=lineSetDevConfigA@16 @107 + lineSetDevConfigA@16 @108 + lineSetMediaControl@48 @109 + lineSetMediaMode@8 @110 + lineSetNumRings@12 @111 + lineSetStatusMessages@12 @112 + lineSetTerminal@28 @113 + lineSetTollList@16=lineSetTollListA@16 @114 + lineSetTollListA@16 @115 + lineSetupConference@24=lineSetupConferenceA@24 @116 + lineSetupConferenceA@24 @117 + lineSetupTransfer@12=lineSetupTransferA@12 @118 + lineSetupTransferA@12 @119 + lineShutdown@4 @120 + lineSwapHold@8 @121 + lineTranslateAddress@28=lineTranslateAddressA@28 @122 + lineTranslateAddressA@28 @123 + lineTranslateAddressW@28 @124 + lineTranslateDialog@20=lineTranslateDialogA@20 @125 + lineTranslateDialogA@20 @126 + lineTranslateDialogW@20 @127 + lineUncompleteCall@8 @128 + lineUnhold@4 @129 + lineUnpark@16=lineUnparkA@16 @130 + lineUnparkA@16 @131 + phoneClose@4 @132 + phoneConfigDialog@12=phoneConfigDialogA@12 @133 + phoneConfigDialogA@12 @134 + phoneDevSpecific@12 @135 + phoneGetButtonInfo@12=phoneGetButtonInfoA@12 @136 + phoneGetButtonInfoA@12 @137 + phoneGetData@16 @138 + phoneGetDevCaps@20=phoneGetDevCapsA@20 @139 + phoneGetDevCapsA@20 @140 + phoneGetDisplay@8 @141 + phoneGetGain@12 @142 + phoneGetHookSwitch@8 @143 + phoneGetID@12=phoneGetIDA@12 @144 + phoneGetIDA@12 @145 + phoneGetIcon@12=phoneGetIconA@12 @146 + phoneGetIconA@12 @147 + phoneGetLamp@12 @148 + phoneGetMessage@12 @149 + phoneGetRing@12 @150 + phoneGetStatus@8=phoneGetStatusA@8 @151 + phoneGetStatusA@8 @152 + phoneGetStatusMessages@16 @153 + phoneGetVolume@12 @154 + phoneInitialize@20 @155 + phoneInitializeExA@28 @156 + phoneInitializeExW@28 @157 + phoneNegotiateAPIVersion@24 @158 + phoneNegotiateExtVersion@24 @159 + phoneOpen@28 @160 + phoneSetButtonInfo@12=phoneSetButtonInfoA@12 @161 + phoneSetButtonInfoA@12 @162 + phoneSetData@16 @163 + phoneSetDisplay@20 @164 + phoneSetGain@12 @165 + phoneSetHookSwitch@12 @166 + phoneSetLamp@12 @167 + phoneSetRing@12 @168 + phoneSetStatusMessages@16 @169 + phoneSetVolume@12 @170 + phoneShutdown@4 @171 + tapiGetLocationInfo@8=tapiGetLocationInfoA@8 @172 + tapiGetLocationInfoA@8 @173 + tapiGetLocationInfoW@8 @174 + tapiRequestMakeCall@16=tapiRequestMakeCallA@16 @176 + tapiRequestMakeCallA@16 @177 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libucrtbase.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libucrtbase.def new file mode 100644 index 0000000..79dc30a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libucrtbase.def @@ -0,0 +1,1119 @@ +; File generated automatically from ./dlls/ucrtbase/ucrtbase.spec; do not edit! + +LIBRARY ucrtbase.dll + +EXPORTS + _CIacos @1 + _CIasin @2 + _CIatan @3 + _CIatan2 @4 + _CIcos @5 + _CIcosh @6 + _CIexp @7 + _CIfmod @8 + _CIlog @9 + _CIlog10 @10 + _CIpow @11 + _CIsin @12 + _CIsinh @13 + _CIsqrt @14 + _CItan @15 + _CItanh @16 + _CreateFrameInfo @20 + _CxxThrowException@8 @21 + _EH_prolog @22 + _FindAndUnlinkFrame @27 + _Getdays @30 + _Getmonths @31 + _Gettnames @32 + _IsExceptionObjectToBeDestroyed @33 + _Strftime @43 + _W_Getdays @44 + _W_Getmonths @45 + _W_Gettnames @46 + _Wcsftime @47 + __AdjustPointer @48 + __CxxDetectRethrow @51 + __CxxExceptionFilter @52 + __CxxFrameHandler @53 + __CxxFrameHandler2=__CxxFrameHandler @54 + __CxxFrameHandler3=__CxxFrameHandler @55 + __CxxLongjmpUnwind@4 @56 + __CxxQueryExceptionSize @57 + __CxxRegisterExceptionObject @58 + __CxxUnregisterExceptionObject @59 + __DestructExceptionObject @60 + __RTCastToVoid=MSVCRT___RTCastToVoid @65 + __RTDynamicCast=MSVCRT___RTDynamicCast @66 + __RTtypeid=MSVCRT___RTtypeid @67 + ___lc_codepage_func @69 + ___lc_collate_cp_func @70 + ___lc_locale_name_func @71 + ___mb_cur_max_func=MSVCRT____mb_cur_max_func @72 + ___mb_cur_max_l_func @73 + __acrt_iob_func=MSVCRT___acrt_iob_func @74 + __conio_common_vcprintf=MSVCRT__conio_common_vcprintf @75 + __conio_common_vcwprintf=MSVCRT__conio_common_vcwprintf @79 + __control87_2 @83 + __daylight=MSVCRT___p__daylight @86 + __doserrno=MSVCRT___doserrno @89 + __dstbias=MSVCRT___p__dstbias @90 + __fpe_flt_rounds @91 + __fpecode @92 + __initialize_lconv_for_unsigned_char=__lconv_init @93 + __intrinsic_setjmp=MSVCRT__setjmp @95 + __isascii=MSVCRT___isascii @97 + __iscsym=MSVCRT___iscsym @98 + __iscsymf=MSVCRT___iscsymf @99 + __libm_sse2_acos=MSVCRT___libm_sse2_acos @102 + __libm_sse2_acosf=MSVCRT___libm_sse2_acosf @103 + __libm_sse2_asin=MSVCRT___libm_sse2_asin @104 + __libm_sse2_asinf=MSVCRT___libm_sse2_asinf @105 + __libm_sse2_atan=MSVCRT___libm_sse2_atan @106 + __libm_sse2_atan2=MSVCRT___libm_sse2_atan2 @107 + __libm_sse2_atanf=MSVCRT___libm_sse2_atanf @108 + __libm_sse2_cos=MSVCRT___libm_sse2_cos @109 + __libm_sse2_cosf=MSVCRT___libm_sse2_cosf @110 + __libm_sse2_exp=MSVCRT___libm_sse2_exp @111 + __libm_sse2_expf=MSVCRT___libm_sse2_expf @112 + __libm_sse2_log=MSVCRT___libm_sse2_log @113 + __libm_sse2_log10=MSVCRT___libm_sse2_log10 @114 + __libm_sse2_log10f=MSVCRT___libm_sse2_log10f @115 + __libm_sse2_logf=MSVCRT___libm_sse2_logf @116 + __libm_sse2_pow=MSVCRT___libm_sse2_pow @117 + __libm_sse2_powf=MSVCRT___libm_sse2_powf @118 + __libm_sse2_sin=MSVCRT___libm_sse2_sin @119 + __libm_sse2_sinf=MSVCRT___libm_sse2_sinf @120 + __libm_sse2_tan=MSVCRT___libm_sse2_tan @121 + __libm_sse2_tanf=MSVCRT___libm_sse2_tanf @122 + __p___argc=MSVCRT___p___argc @123 + __p___argv=MSVCRT___p___argv @124 + __p___wargv=MSVCRT___p___wargv @125 + __p__acmdln @126 + __p__commode @127 + __p__environ=MSVCRT___p__environ @128 + __p__fmode @129 + __p__mbctype @131 + __p__pgmptr=MSVCRT___p__pgmptr @132 + __p__wcmdln @133 + __p__wenviron=MSVCRT___p__wenviron @134 + __p__wpgmptr=MSVCRT___p__wpgmptr @135 + __pctype_func=MSVCRT___pctype_func @136 + __pxcptinfoptrs=MSVCRT___pxcptinfoptrs @139 + __setusermatherr=MSVCRT___setusermatherr @141 + __std_exception_copy=MSVCRT___std_exception_copy @142 + __std_exception_destroy=MSVCRT___std_exception_destroy @143 + __std_type_info_compare=MSVCRT_type_info_compare @144 + __std_type_info_destroy_list=MSVCRT_type_info_destroy_list @145 + __std_type_info_hash=MSVCRT_type_info_hash @146 + __std_type_info_name=MSVCRT_type_info_name_list @147 + __stdio_common_vfprintf=MSVCRT__stdio_common_vfprintf @148 + __stdio_common_vfprintf_s=MSVCRT__stdio_common_vfprintf_s @150 + __stdio_common_vfscanf=MSVCRT__stdio_common_vfscanf @151 + __stdio_common_vfwprintf=MSVCRT__stdio_common_vfwprintf @152 + __stdio_common_vfwprintf_s=MSVCRT__stdio_common_vfwprintf_s @154 + __stdio_common_vfwscanf=MSVCRT__stdio_common_vfwscanf @155 + __stdio_common_vsnprintf_s=MSVCRT__stdio_common_vsnprintf_s @156 + __stdio_common_vsnwprintf_s=MSVCRT__stdio_common_vsnwprintf_s @157 + __stdio_common_vsprintf=MSVCRT__stdio_common_vsprintf @158 + __stdio_common_vsprintf_s=MSVCRT__stdio_common_vsprintf_s @160 + __stdio_common_vsscanf=MSVCRT__stdio_common_vsscanf @161 + __stdio_common_vswprintf=MSVCRT__stdio_common_vswprintf @162 + __stdio_common_vswprintf_p=MSVCRT__stdio_common_vswprintf_p @163 + __stdio_common_vswprintf_s=MSVCRT__stdio_common_vswprintf_s @164 + __stdio_common_vswscanf=MSVCRT__stdio_common_vswscanf @165 + __sys_errlist @167 + __sys_nerr @168 + __threadhandle=kernel32.GetCurrentThread @169 + __threadid=kernel32.GetCurrentThreadId @170 + __timezone=MSVCRT___p__timezone @171 + __toascii=MSVCRT___toascii @172 + __tzname=__p__tzname @173 + __unDName @174 + __unDNameEx @175 + __uncaught_exception=MSVCRT___uncaught_exception @176 + __wcserror=MSVCRT___wcserror @177 + __wcserror_s=MSVCRT___wcserror_s @178 + _abs64 @180 + _access=MSVCRT__access @181 + _access_s=MSVCRT__access_s @182 + _aligned_free @183 + _aligned_malloc @184 + _aligned_msize @185 + _aligned_offset_malloc @186 + _aligned_offset_realloc @187 + _aligned_realloc @189 + _assert=MSVCRT__assert @191 + _atodbl=MSVCRT__atodbl @192 + _atodbl_l=MSVCRT__atodbl_l @193 + _atof_l=MSVCRT__atof_l @194 + _atoflt=MSVCRT__atoflt @195 + _atoflt_l=MSVCRT__atoflt_l @196 + _atoi64=ntdll._atoi64 @197 + _atoi_l=MSVCRT__atoi_l @199 + _atoldbl=MSVCRT__atoldbl @201 + _atoll_l=MSVCRT__atoll_l @203 + _beep=MSVCRT__beep @204 + _beginthread @205 + _beginthreadex @206 + _byteswap_uint64 @207 + _byteswap_ulong=MSVCRT__byteswap_ulong @208 + _byteswap_ushort @209 + _c_exit=MSVCRT__c_exit @210 + _cabs=MSVCRT__cabs @211 + _callnewh @212 + _calloc_base @213 + _cexit=MSVCRT__cexit @214 + _cgets @215 + _chdir=MSVCRT__chdir @219 + _chdrive=MSVCRT__chdrive @220 + _chgsign=MSVCRT__chgsign @221 + _chgsignf=MSVCRT__chgsignf @222 + _chkesp @223 + _chmod=MSVCRT__chmod @224 + _chsize=MSVCRT__chsize @225 + _chsize_s=MSVCRT__chsize_s @226 + _clearfp @227 + _close=MSVCRT__close @228 + _commit=MSVCRT__commit @229 + _configthreadlocale @230 + _configure_narrow_argv @231 + _configure_wide_argv @232 + _control87 @233 + _controlfp @234 + _controlfp_s @235 + _copysign=MSVCRT__copysign @236 + _copysignf=MSVCRT__copysignf @237 + _cputs @238 + _cputws @239 + _creat=MSVCRT__creat @240 + _create_locale=MSVCRT__create_locale @241 + _crt_atexit=MSVCRT__crt_atexit @243 + _crt_debugger_hook=MSVCRT__crt_debugger_hook @244 + _ctime32=MSVCRT__ctime32 @245 + _ctime32_s=MSVCRT__ctime32_s @246 + _ctime64=MSVCRT__ctime64 @247 + _ctime64_s=MSVCRT__ctime64_s @248 + _cwait @249 + _dclass=MSVCR120__dclass @251 + _difftime32=MSVCRT__difftime32 @253 + _difftime64=MSVCRT__difftime64 @254 + _dpcomp=MSVCR120__dpcomp @257 + _dsign=MSVCR120__dsign @260 + _dtest=MSVCR120__dtest @262 + _dup=MSVCRT__dup @264 + _dup2=MSVCRT__dup2 @265 + _dupenv_s @266 + _ecvt=MSVCRT__ecvt @267 + _ecvt_s=MSVCRT__ecvt_s @268 + _endthread @269 + _endthreadex @270 + _eof=MSVCRT__eof @271 + _errno=MSVCRT__errno @272 + _except1 @273 + _except_handler2 @274 + _except_handler3 @275 + _except_handler4_common @276 + _execl @277 + _execle @278 + _execlp @279 + _execlpe @280 + _execute_onexit_table=MSVCRT__execute_onexit_table @281 + _execv @282 + _execve=MSVCRT__execve @283 + _execvp @284 + _execvpe @285 + _exit=MSVCRT__exit @286 + _expand @287 + _fclose_nolock=MSVCRT__fclose_nolock @288 + _fcloseall=MSVCRT__fcloseall @289 + _fcvt=MSVCRT__fcvt @290 + _fcvt_s=MSVCRT__fcvt_s @291 + _fdclass=MSVCR120__fdclass @293 + _fdopen=MSVCRT__fdopen @297 + _fdpcomp=MSVCR120__fdpcomp @298 + _fdsign=MSVCR120__fdsign @301 + _fdtest=MSVCR120__fdtest @303 + _fflush_nolock=MSVCRT__fflush_nolock @305 + _fgetc_nolock=MSVCRT__fgetc_nolock @306 + _fgetchar=MSVCRT__fgetchar @307 + _fgetwc_nolock=MSVCRT__fgetwc_nolock @308 + _fgetwchar=MSVCRT__fgetwchar @309 + _filelength=MSVCRT__filelength @310 + _filelengthi64=MSVCRT__filelengthi64 @311 + _fileno=MSVCRT__fileno @312 + _findclose=MSVCRT__findclose @313 + _findfirst32=MSVCRT__findfirst32 @314 + _findfirst64=MSVCRT__findfirst64 @316 + _findfirst64i32=MSVCRT__findfirst64i32 @317 + _findnext32=MSVCRT__findnext32 @318 + _findnext64=MSVCRT__findnext64 @320 + _findnext64i32=MSVCRT__findnext64i32 @321 + _finite=MSVCRT__finite @322 + _flushall=MSVCRT__flushall @323 + _fpclass=MSVCRT__fpclass @324 + _fpieee_flt @326 + _fpreset @327 + _fputc_nolock=MSVCRT__fputc_nolock @328 + _fputchar=MSVCRT__fputchar @329 + _fputwc_nolock=MSVCRT__fputwc_nolock @330 + _fputwchar=MSVCRT__fputwchar @331 + _fread_nolock=MSVCRT__fread_nolock @332 + _fread_nolock_s=MSVCRT__fread_nolock_s @333 + _free_base @334 + _free_locale=MSVCRT__free_locale @335 + _fseek_nolock=MSVCRT__fseek_nolock @336 + _fseeki64=MSVCRT__fseeki64 @337 + _fseeki64_nolock=MSVCRT__fseeki64_nolock @338 + _fsopen=MSVCRT__fsopen @339 + _fstat32=MSVCRT__fstat32 @340 + _fstat32i64=MSVCRT__fstat32i64 @341 + _fstat64=MSVCRT__fstat64 @342 + _fstat64i32=MSVCRT__fstat64i32 @343 + _ftell_nolock=MSVCRT__ftell_nolock @344 + _ftelli64=MSVCRT__ftelli64 @345 + _ftelli64_nolock=MSVCRT__ftelli64_nolock @346 + _ftime32=MSVCRT__ftime32 @347 + _ftime32_s=MSVCRT__ftime32_s @348 + _ftime64=MSVCRT__ftime64 @349 + _ftime64_s=MSVCRT__ftime64_s @350 + _ftol=MSVCRT__ftol @351 + _fullpath=MSVCRT__fullpath @352 + _futime32 @353 + _futime64 @354 + _fwrite_nolock=MSVCRT__fwrite_nolock @355 + _gcvt=MSVCRT__gcvt @356 + _gcvt_s=MSVCRT__gcvt_s @357 + _get_current_locale=MSVCRT__get_current_locale @359 + _get_daylight @360 + _get_doserrno @361 + _get_dstbias=MSVCRT__get_dstbias @362 + _get_errno @363 + _get_fmode=MSVCRT__get_fmode @364 + _get_heap_handle @365 + _get_initial_narrow_environment @366 + _get_initial_wide_environment @367 + _get_invalid_parameter_handler @368 + _get_narrow_winmain_command_line @369 + _get_osfhandle=MSVCRT__get_osfhandle @370 + _get_pgmptr @371 + _get_printf_count_output=MSVCRT__get_printf_count_output @372 + _get_stream_buffer_pointers=MSVCRT__get_stream_buffer_pointers @374 + _get_terminate=MSVCRT__get_terminate @375 + _get_thread_local_invalid_parameter_handler @376 + _get_timezone @377 + _get_tzname=MSVCRT__get_tzname @378 + _get_unexpected=MSVCRT__get_unexpected @379 + _get_wide_winmain_command_line @380 + _get_wpgmptr @381 + _getc_nolock=MSVCRT__fgetc_nolock @382 + _getch @383 + _getch_nolock @384 + _getche @385 + _getche_nolock @386 + _getcwd=MSVCRT__getcwd @387 + _getdcwd=MSVCRT__getdcwd @388 + _getdiskfree=MSVCRT__getdiskfree @389 + _getdllprocaddr @390 + _getdrive=MSVCRT__getdrive @391 + _getdrives=kernel32.GetLogicalDrives @392 + _getmaxstdio=MSVCRT__getmaxstdio @393 + _getmbcp @394 + _getpid @395 + _getw=MSVCRT__getw @397 + _getwc_nolock=MSVCRT__fgetwc_nolock @398 + _getwch @399 + _getwch_nolock @400 + _getwche @401 + _getwche_nolock @402 + _getws=MSVCRT__getws @403 + _global_unwind2 @405 + _gmtime32=MSVCRT__gmtime32 @406 + _gmtime32_s=MSVCRT__gmtime32_s @407 + _gmtime64=MSVCRT__gmtime64 @408 + _gmtime64_s=MSVCRT__gmtime64_s @409 + _heapchk @410 + _heapmin @411 + _heapwalk @412 + _hypot @413 + _hypotf=MSVCRT__hypotf @414 + _i64toa=ntdll._i64toa @415 + _i64toa_s=MSVCRT__i64toa_s @416 + _i64tow=ntdll._i64tow @417 + _i64tow_s=MSVCRT__i64tow_s @418 + _initialize_narrow_environment @419 + _initialize_onexit_table=MSVCRT__initialize_onexit_table @420 + _initialize_wide_environment @421 + _initterm @422 + _initterm_e @423 + _invalid_parameter_noinfo @424 + _invalid_parameter_noinfo_noreturn @425 + _isalnum_l=MSVCRT__isalnum_l @428 + _isalpha_l=MSVCRT__isalpha_l @429 + _isatty=MSVCRT__isatty @430 + _isblank_l=MSVCRT__isblank_l @431 + _iscntrl_l=MSVCRT__iscntrl_l @432 + _isctype=MSVCRT__isctype @433 + _isctype_l=MSVCRT__isctype_l @434 + _isdigit_l=MSVCRT__isdigit_l @435 + _isgraph_l=MSVCRT__isgraph_l @436 + _isleadbyte_l=MSVCRT__isleadbyte_l @437 + _islower_l=MSVCRT__islower_l @438 + _ismbbkana @449 + _ismbblead @455 + _ismbblead_l @456 + _ismbbtrail @461 + _ismbcalnum @463 + _ismbcalpha @465 + _ismbcdigit @469 + _ismbcgraph @471 + _ismbchira @473 + _ismbckata @475 + _ismbcl0 @477 + _ismbclegal @483 + _ismbcprint @487 + _ismbcpunct @489 + _ismbcspace @491 + _ismbcsymbol @493 + _ismbcupper @495 + _ismbslead @497 + _ismbstrail @499 + _isnan=MSVCRT__isnan @501 + _isprint_l=MSVCRT__isprint_l @502 + _isspace_l=MSVCRT__isspace_l @504 + _isupper_l=MSVCRT__isupper_l @505 + _iswalpha_l=MSVCRT__iswalpha_l @507 + _iswblank_l=MSVCRT__iswblank_l @508 + _iswctype_l=MSVCRT__iswctype_l @512 + _iswdigit_l=MSVCRT__iswdigit_l @513 + _iswpunct_l=MSVCRT__iswpunct_l @517 + _iswspace_l=MSVCRT__iswspace_l @518 + _isxdigit_l=MSVCRT__isxdigit_l @521 + _itoa=MSVCRT__itoa @522 + _itoa_s=MSVCRT__itoa_s @523 + _itow=ntdll._itow @524 + _itow_s=MSVCRT__itow_s @525 + _j0=MSVCRT__j0 @526 + _j1=MSVCRT__j1 @527 + _jn=MSVCRT__jn @528 + _kbhit @529 + _ldclass=MSVCR120__ldclass @531 + _ldpcomp=MSVCR120__dpcomp @534 + _ldsign=MSVCR120__dsign @537 + _ldtest=MSVCR120__ldtest @539 + _lfind @541 + _lfind_s @542 + _libm_sse2_acos_precise=MSVCRT___libm_sse2_acos @543 + _libm_sse2_asin_precise=MSVCRT___libm_sse2_asin @544 + _libm_sse2_atan_precise=MSVCRT___libm_sse2_atan @545 + _libm_sse2_cos_precise=MSVCRT___libm_sse2_cos @546 + _libm_sse2_exp_precise=MSVCRT___libm_sse2_exp @547 + _libm_sse2_log10_precise=MSVCRT___libm_sse2_log10 @548 + _libm_sse2_log_precise=MSVCRT___libm_sse2_log @549 + _libm_sse2_pow_precise=MSVCRT___libm_sse2_pow @550 + _libm_sse2_sin_precise=MSVCRT___libm_sse2_sin @551 + _libm_sse2_sqrt_precise=MSVCRT___libm_sse2_sqrt_precise @552 + _libm_sse2_tan_precise=MSVCRT___libm_sse2_tan @553 + _loaddll @554 + _local_unwind2 @555 + _local_unwind4 @556 + _localtime32=MSVCRT__localtime32 @557 + _localtime32_s @558 + _localtime64=MSVCRT__localtime64 @559 + _localtime64_s @560 + _lock_file=MSVCRT__lock_file @561 + _lock_locales @562 + _locking=MSVCRT__locking @563 + _logb=MSVCRT__logb @564 + _longjmpex=MSVCRT_longjmp @565 + _lrotl=MSVCRT__lrotl @566 + _lrotr=MSVCRT__lrotr @567 + _lsearch @568 + _lseek=MSVCRT__lseek @570 + _lseeki64=MSVCRT__lseeki64 @571 + _ltoa=ntdll._ltoa @572 + _ltoa_s=MSVCRT__ltoa_s @573 + _ltow=ntdll._ltow @574 + _ltow_s=MSVCRT__ltow_s @575 + _makepath=MSVCRT__makepath @576 + _makepath_s=MSVCRT__makepath_s @577 + _malloc_base @578 + _mbbtombc @579 + _mbbtype @581 + _mbccpy @584 + _mbcjistojms @588 + _mbcjmstojis @590 + _mbclen @592 + _mbctohira @594 + _mbctokata @596 + _mbctolower @598 + _mbctombb @600 + _mbctoupper @602 + _mbsbtype @605 + _mbscat_s @607 + _mbscat_s_l @608 + _mbschr @609 + _mbscmp @611 + _mbscoll @613 + _mbscoll_l @614 + _mbscpy_s @615 + _mbscpy_s_l @616 + _mbscspn @617 + _mbsdec @619 + _mbsicmp @622 + _mbsicoll @624 + _mbsicoll_l @625 + _mbsinc @626 + _mbslen @628 + _mbslwr @630 + _mbslwr_s @632 + _mbsnbcat @634 + _mbsnbcat_s @636 + _mbsnbcmp @638 + _mbsnbcnt @640 + _mbsnbcoll @642 + _mbsnbcoll_l @643 + _mbsnbcpy @644 + _mbsnbcpy_s @646 + _mbsnbcpy_s_l @647 + _mbsnbicmp @648 + _mbsnbicoll @650 + _mbsnbicoll_l @651 + _mbsnbset @652 + _mbsncat @656 + _mbsnccnt @660 + _mbsncmp @662 + _mbsncpy @666 + _mbsnextc @670 + _mbsnicmp @672 + _mbsninc @676 + _mbsnset @680 + _mbspbrk @684 + _mbsrchr @686 + _mbsrev @688 + _mbsset @690 + _mbsspn @694 + _mbsspnp @696 + _mbsstr @698 + _mbstok @700 + _mbstok_l @701 + _mbstok_s @702 + _mbstok_s_l @703 + _mbstowcs_l=MSVCRT__mbstowcs_l @704 + _mbstowcs_s_l=MSVCRT__mbstowcs_s_l @705 + _mbstrlen @706 + _mbstrlen_l @707 + _mbsupr @710 + _mbsupr_s @712 + _mbtowc_l=MSVCRT_mbtowc_l @714 + _memccpy=ntdll._memccpy @715 + _memicmp=ntdll._memicmp @716 + _mkdir=MSVCRT__mkdir @718 + _mkgmtime32=MSVCRT__mkgmtime32 @719 + _mkgmtime64=MSVCRT__mkgmtime64 @720 + _mktemp=MSVCRT__mktemp @721 + _mktemp_s=MSVCRT__mktemp_s @722 + _mktime32=MSVCRT__mktime32 @723 + _mktime64=MSVCRT__mktime64 @724 + _msize @725 + _nextafter=MSVCRT__nextafter @726 + _open=MSVCRT__open @1836 + _open_osfhandle=MSVCRT__open_osfhandle @1837 + _pclose=MSVCRT__pclose @1838 + _pipe=MSVCRT__pipe @1839 + _popen=MSVCRT__popen @1840 + _purecall @1841 + _putc_nolock=MSVCRT__fputc_nolock @1842 + _putch @1843 + _putch_nolock @1844 + _putenv @1845 + _putenv_s @1846 + _putw=MSVCRT__putw @1847 + _putwc_nolock=MSVCRT__fputwc_nolock @1848 + _putwch @1849 + _putwch_nolock @1850 + _putws=MSVCRT__putws @1851 + _read=MSVCRT__read @1855 + _realloc_base @1856 + _recalloc @1857 + _register_onexit_function=MSVCRT__register_onexit_function @1858 + _register_thread_local_exe_atexit_callback @1859 + _resetstkoflw=MSVCRT__resetstkoflw @1860 + _rmdir=MSVCRT__rmdir @1861 + _rmtmp=MSVCRT__rmtmp @1862 + _rotl @1863 + _rotl64 @1864 + _rotr @1865 + _rotr64 @1866 + _scalb=MSVCRT__scalb @1867 + _searchenv=MSVCRT__searchenv @1868 + _searchenv_s=MSVCRT__searchenv_s @1869 + _seh_filter_dll=__CppXcptFilter @1870 + _seh_filter_exe=_XcptFilter @1871 + _seh_longjmp_unwind4@4 @1872 + _seh_longjmp_unwind@4 @1873 + _set_SSE2_enable=MSVCRT__set_SSE2_enable @1874 + _set_abort_behavior=MSVCRT__set_abort_behavior @1875 + _set_app_type=MSVCRT___set_app_type @1876 + _set_controlfp @1877 + _set_doserrno @1878 + _set_errno @1879 + _set_error_mode @1880 + _set_fmode=MSVCRT__set_fmode @1881 + _set_invalid_parameter_handler @1882 + _set_new_handler=MSVCRT_set_new_handler @1883 + _set_new_mode=MSVCRT__set_new_mode @1884 + _set_printf_count_output=MSVCRT__set_printf_count_output @1885 + _set_purecall_handler @1886 + _set_se_translator=MSVCRT__set_se_translator @1887 + _set_thread_local_invalid_parameter_handler @1888 + _seterrormode @1889 + _setjmp3=MSVCRT__setjmp3 @1890 + _setmaxstdio=MSVCRT__setmaxstdio @1891 + _setmbcp @1892 + _setmode=MSVCRT__setmode @1893 + _sleep=MSVCRT__sleep @1895 + _sopen=MSVCRT__sopen @1896 + _sopen_dispatch=MSVCRT__sopen_dispatch @1897 + _sopen_s=MSVCRT__sopen_s @1898 + _spawnl @1899 + _spawnle @1900 + _spawnlp @1901 + _spawnlpe @1902 + _spawnv @1903 + _spawnve=MSVCRT__spawnve @1904 + _spawnvp @1905 + _spawnvpe=MSVCRT__spawnvpe @1906 + _splitpath=MSVCRT__splitpath @1907 + _splitpath_s=MSVCRT__splitpath_s @1908 + _stat32=MSVCRT__stat32 @1909 + _stat32i64=MSVCRT__stat32i64 @1910 + _stat64=MSVCRT_stat64 @1911 + _stat64i32=MSVCRT__stat64i32 @1912 + _statusfp @1913 + _statusfp2 @1914 + _strcoll_l=MSVCRT_strcoll_l @1915 + _strdate=MSVCRT__strdate @1916 + _strdate_s @1917 + _strdup=MSVCRT__strdup @1918 + _strerror=MSVCRT__strerror @1919 + _strftime_l=MSVCRT__strftime_l @1921 + _stricmp=MSVCRT__stricmp @1922 + _stricmp_l=MSVCRT__stricmp_l @1923 + _stricoll=MSVCRT__stricoll @1924 + _stricoll_l=MSVCRT__stricoll_l @1925 + _strlwr=MSVCRT__strlwr @1926 + _strlwr_l @1927 + _strlwr_s=MSVCRT__strlwr_s @1928 + _strlwr_s_l=MSVCRT__strlwr_s_l @1929 + _strncoll=MSVCRT__strncoll @1930 + _strncoll_l=MSVCRT__strncoll_l @1931 + _strnicmp=MSVCRT__strnicmp @1932 + _strnicmp_l=MSVCRT__strnicmp_l @1933 + _strnicoll=MSVCRT__strnicoll @1934 + _strnicoll_l=MSVCRT__strnicoll_l @1935 + _strnset=MSVCRT__strnset @1936 + _strnset_s=MSVCRT__strnset_s @1937 + _strrev=MSVCRT__strrev @1938 + _strset @1939 + _strtime=MSVCRT__strtime @1941 + _strtime_s @1942 + _strtod_l=MSVCRT_strtod_l @1943 + _strtof_l=MSVCRT__strtof_l @1944 + _strtoi64=MSVCRT_strtoi64 @1945 + _strtoi64_l=MSVCRT_strtoi64_l @1946 + _strtol_l=MSVCRT__strtol_l @1948 + _strtoll_l=MSVCRT_strtoi64_l @1950 + _strtoui64=MSVCRT_strtoui64 @1951 + _strtoui64_l=MSVCRT_strtoui64_l @1952 + _strtoul_l=MSVCRT_strtoul_l @1953 + _strtoull_l=MSVCRT_strtoui64_l @1954 + _strupr=MSVCRT__strupr @1956 + _strupr_l=MSVCRT__strupr_l @1957 + _strupr_s=MSVCRT__strupr_s @1958 + _strupr_s_l=MSVCRT__strupr_s_l @1959 + _strxfrm_l=MSVCRT__strxfrm_l @1960 + _swab=MSVCRT__swab @1961 + _tell=MSVCRT__tell @1962 + _telli64 @1963 + _tempnam=MSVCRT__tempnam @1964 + _time32=MSVCRT__time32 @1965 + _time64=MSVCRT__time64 @1966 + _tolower=MSVCRT__tolower @1969 + _tolower_l=MSVCRT__tolower_l @1970 + _toupper=MSVCRT__toupper @1971 + _toupper_l=MSVCRT__toupper_l @1972 + _towlower_l=MSVCRT__towlower_l @1973 + _towupper_l=MSVCRT__towupper_l @1974 + _tzset=MSVCRT__tzset @1975 + _ui64toa=ntdll._ui64toa @1976 + _ui64toa_s=MSVCRT__ui64toa_s @1977 + _ui64tow=ntdll._ui64tow @1978 + _ui64tow_s=MSVCRT__ui64tow_s @1979 + _ultoa=ntdll._ultoa @1980 + _ultoa_s=MSVCRT__ultoa_s @1981 + _ultow=ntdll._ultow @1982 + _ultow_s=MSVCRT__ultow_s @1983 + _umask=MSVCRT__umask @1984 + _ungetc_nolock=MSVCRT__ungetc_nolock @1986 + _ungetch @1987 + _ungetch_nolock @1988 + _ungetwc_nolock=MSVCRT__ungetwc_nolock @1989 + _ungetwch @1990 + _ungetwch_nolock @1991 + _unlink=MSVCRT__unlink @1992 + _unloaddll @1993 + _unlock_file=MSVCRT__unlock_file @1994 + _unlock_locales @1995 + _utime32 @1996 + _utime64 @1997 + _waccess=MSVCRT__waccess @1998 + _waccess_s=MSVCRT__waccess_s @1999 + _wasctime=MSVCRT__wasctime @2000 + _wasctime_s=MSVCRT__wasctime_s @2001 + _wassert=MSVCRT__wassert @2002 + _wchdir=MSVCRT__wchdir @2003 + _wchmod=MSVCRT__wchmod @2004 + _wcreat=MSVCRT__wcreat @2005 + _wcreate_locale=MSVCRT__wcreate_locale @2006 + _wcscoll_l=MSVCRT__wcscoll_l @2007 + _wcsdup=MSVCRT__wcsdup @2008 + _wcserror=MSVCRT__wcserror @2009 + _wcserror_s=MSVCRT__wcserror_s @2010 + _wcsftime_l=MSVCRT__wcsftime_l @2011 + _wcsicmp=MSVCRT__wcsicmp @2012 + _wcsicmp_l=MSVCRT__wcsicmp_l @2013 + _wcsicoll=MSVCRT__wcsicoll @2014 + _wcsicoll_l=MSVCRT__wcsicoll_l @2015 + _wcslwr=MSVCRT__wcslwr @2016 + _wcslwr_l=MSVCRT__wcslwr_l @2017 + _wcslwr_s=MSVCRT__wcslwr_s @2018 + _wcslwr_s_l=MSVCRT__wcslwr_s_l @2019 + _wcsncoll=MSVCRT__wcsncoll @2020 + _wcsncoll_l=MSVCRT__wcsncoll_l @2021 + _wcsnicmp=MSVCRT__wcsnicmp @2022 + _wcsnicmp_l=MSVCRT__wcsnicmp_l @2023 + _wcsnicoll=MSVCRT__wcsnicoll @2024 + _wcsnicoll_l=MSVCRT__wcsnicoll_l @2025 + _wcsnset=MSVCRT__wcsnset @2026 + _wcsrev=MSVCRT__wcsrev @2028 + _wcsset=MSVCRT__wcsset @2029 + _wcsset_s=MSVCRT__wcsset_s @2030 + _wcstod_l=MSVCRT__wcstod_l @2031 + _wcstof_l=MSVCRT__wcstof_l @2032 + _wcstoi64=MSVCRT__wcstoi64 @2033 + _wcstoi64_l=MSVCRT__wcstoi64_l @2034 + _wcstol_l=MSVCRT__wcstol_l @2036 + _wcstoll_l=MSVCRT__wcstoi64_l @2038 + _wcstombs_l=MSVCRT__wcstombs_l @2039 + _wcstombs_s_l=MSVCRT__wcstombs_s_l @2040 + _wcstoui64=MSVCRT__wcstoui64 @2041 + _wcstoui64_l=MSVCRT__wcstoui64_l @2042 + _wcstoul_l=MSVCRT__wcstoul_l @2043 + _wcstoull_l=MSVCRT__wcstoui64_l @2044 + _wcsupr=ntdll._wcsupr @2046 + _wcsupr_l=MSVCRT__wcsupr_l @2047 + _wcsupr_s=MSVCRT__wcsupr_s @2048 + _wcsupr_s_l=MSVCRT__wcsupr_s_l @2049 + _wcsxfrm_l=MSVCRT__wcsxfrm_l @2050 + _wctime32=MSVCRT__wctime32 @2051 + _wctime32_s=MSVCRT__wctime32_s @2052 + _wctime64=MSVCRT__wctime64 @2053 + _wctime64_s=MSVCRT__wctime64_s @2054 + _wctomb_l=MSVCRT__wctomb_l @2055 + _wctomb_s_l=MSVCRT__wctomb_s_l @2056 + _wdupenv_s @2058 + _wexecl @2059 + _wexecle @2060 + _wexeclp @2061 + _wexeclpe @2062 + _wexecv @2063 + _wexecve @2064 + _wexecvp @2065 + _wexecvpe @2066 + _wfdopen=MSVCRT__wfdopen @2067 + _wfindfirst32=MSVCRT__wfindfirst32 @2068 + _wfindfirst64=MSVCRT__wfindfirst64 @2070 + _wfindfirst64i32=MSVCRT__wfindfirst64i32 @2071 + _wfindnext32=MSVCRT__wfindnext32 @2072 + _wfindnext64=MSVCRT__wfindnext64 @2074 + _wfindnext64i32=MSVCRT__wfindnext64i32 @2075 + _wfopen=MSVCRT__wfopen @2076 + _wfopen_s=MSVCRT__wfopen_s @2077 + _wfreopen=MSVCRT__wfreopen @2078 + _wfreopen_s=MSVCRT__wfreopen_s @2079 + _wfsopen=MSVCRT__wfsopen @2080 + _wfullpath=MSVCRT__wfullpath @2081 + _wgetcwd=MSVCRT__wgetcwd @2082 + _wgetdcwd=MSVCRT__wgetdcwd @2083 + _wgetenv=MSVCRT__wgetenv @2084 + _wgetenv_s @2085 + _wmakepath=MSVCRT__wmakepath @2086 + _wmakepath_s=MSVCRT__wmakepath_s @2087 + _wmkdir=MSVCRT__wmkdir @2088 + _wmktemp=MSVCRT__wmktemp @2089 + _wmktemp_s=MSVCRT__wmktemp_s @2090 + _wopen=MSVCRT__wopen @2091 + _wperror=MSVCRT__wperror @2092 + _wpopen=MSVCRT__wpopen @2093 + _wputenv @2094 + _wputenv_s @2095 + _wremove=MSVCRT__wremove @2096 + _wrename=MSVCRT__wrename @2097 + _write=MSVCRT__write @2098 + _wrmdir=MSVCRT__wrmdir @2099 + _wsearchenv=MSVCRT__wsearchenv @2100 + _wsearchenv_s=MSVCRT__wsearchenv_s @2101 + _wsetlocale=MSVCRT__wsetlocale @2102 + _wsopen=MSVCRT__wsopen @2103 + _wsopen_dispatch=MSVCRT__wsopen_dispatch @2104 + _wsopen_s=MSVCRT__wsopen_s @2105 + _wspawnl @2106 + _wspawnle @2107 + _wspawnlp @2108 + _wspawnlpe @2109 + _wspawnv @2110 + _wspawnve=MSVCRT__wspawnve @2111 + _wspawnvp @2112 + _wspawnvpe=MSVCRT__wspawnvpe @2113 + _wsplitpath=MSVCRT__wsplitpath @2114 + _wsplitpath_s=MSVCRT__wsplitpath_s @2115 + _wstat32=MSVCRT__wstat32 @2116 + _wstat32i64=MSVCRT__wstat32i64 @2117 + _wstat64=MSVCRT__wstat64 @2118 + _wstat64i32=MSVCRT__wstat64i32 @2119 + _wstrdate=MSVCRT__wstrdate @2120 + _wstrdate_s @2121 + _wstrtime=MSVCRT__wstrtime @2122 + _wstrtime_s @2123 + _wsystem @2124 + _wtempnam=MSVCRT__wtempnam @2125 + _wtmpnam=MSVCRT__wtmpnam @2126 + _wtmpnam_s=MSVCRT__wtmpnam_s @2127 + _wtof=MSVCRT__wtof @2128 + _wtof_l=MSVCRT__wtof_l @2129 + _wtoi=MSVCRT__wtoi @2130 + _wtoi64=MSVCRT__wtoi64 @2131 + _wtoi64_l=MSVCRT__wtoi64_l @2132 + _wtoi_l=MSVCRT__wtoi_l @2133 + _wtol=MSVCRT__wtol @2134 + _wtol_l=MSVCRT__wtol_l @2135 + _wtoll=MSVCRT__wtoll @2136 + _wtoll_l=MSVCRT__wtoll_l @2137 + _wunlink=MSVCRT__wunlink @2138 + _wutime32 @2139 + _wutime64 @2140 + _y0=MSVCRT__y0 @2141 + _y1=MSVCRT__y1 @2142 + _yn=MSVCRT__yn @2143 + abort=MSVCRT_abort @2144 + abs=MSVCRT_abs @2145 + acos=MSVCRT_acos @2146 + acosh=MSVCR120_acosh @2147 + acoshf=MSVCR120_acoshf @2148 + acoshl=MSVCR120_acoshl @2149 + asctime=MSVCRT_asctime @2150 + asctime_s=MSVCRT_asctime_s @2151 + asin=MSVCRT_asin @2152 + asinh=MSVCR120_asinh @2153 + asinhf=MSVCR120_asinhf @2154 + asinhl=MSVCR120_asinhl @2155 + atan=MSVCRT_atan @2156 + atan2=MSVCRT_atan2 @2157 + atanh=MSVCR120_atanh @2158 + atanhf=MSVCR120_atanhf @2159 + atanhl=MSVCR120_atanhl @2160 + atof=MSVCRT_atof @2161 + atoi=MSVCRT_atoi @2162 + atol=ntdll.atol @2163 + atoll=MSVCRT_atoll @2164 + bsearch=MSVCRT_bsearch @2165 + bsearch_s=MSVCRT_bsearch_s @2166 + btowc=MSVCRT_btowc @2167 + calloc=MSVCRT_calloc @2179 + cbrt=MSVCR120_cbrt @2195 + cbrtf=MSVCR120_cbrtf @2196 + cbrtl=MSVCR120_cbrtl @2197 + ceil=MSVCRT_ceil @2204 + clearerr=MSVCRT_clearerr @2211 + clearerr_s=MSVCRT_clearerr_s @2212 + clock=MSVCRT_clock @2213 + copysign=MSVCRT__copysign @2223 + copysignf=MSVCRT__copysignf @2224 + copysignl=MSVCRT__copysign @2225 + cos=MSVCRT_cos @2226 + cosh=MSVCRT_cosh @2227 + div=MSVCRT_div @2252 + erf=MSVCR120_erf @2253 + erfc=MSVCR120_erfc @2254 + erfcf=MSVCR120_erfcf @2255 + erfcl=MSVCR120_erfcl @2256 + erff=MSVCR120_erff @2257 + erfl=MSVCR120_erfl @2258 + exit=MSVCRT_exit @2259 + exp=MSVCRT_exp @2260 + exp2=MSVCR120_exp2 @2261 + exp2f=MSVCR120_exp2f @2262 + exp2l=MSVCR120_exp2l @2263 + expm1=MSVCR120_expm1 @2264 + expm1f=MSVCR120_expm1f @2265 + expm1l=MSVCR120_expm1l @2266 + fabs=MSVCRT_fabs @2267 + fclose=MSVCRT_fclose @2268 + fegetenv=MSVCRT_fegetenv @2273 + fegetround=MSVCRT_fegetround @2275 + feof=MSVCRT_feof @2277 + ferror=MSVCRT_ferror @2278 + fesetenv=MSVCRT_fesetenv @2279 + fesetround=MSVCRT_fesetround @2281 + fflush=MSVCRT_fflush @2283 + fgetc=MSVCRT_fgetc @2284 + fgetpos=MSVCRT_fgetpos @2285 + fgets=MSVCRT_fgets @2286 + fgetwc=MSVCRT_fgetwc @2287 + fgetws=MSVCRT_fgetws @2288 + floor=MSVCRT_floor @2289 + fmax=MSVCR120_fmax @2293 + fmaxf=MSVCR120_fmaxf @2294 + fmaxl=MSVCR120_fmax @2295 + fmin=MSVCR120_fmin @2296 + fminf=MSVCR120_fminf @2297 + fminl=MSVCR120_fmin @2298 + fmod=MSVCRT_fmod @2299 + fopen=MSVCRT_fopen @2300 + fopen_s=MSVCRT_fopen_s @2301 + fputc=MSVCRT_fputc @2302 + fputs=MSVCRT_fputs @2303 + fputwc=MSVCRT_fputwc @2304 + fputws=MSVCRT_fputws @2305 + fread=MSVCRT_fread @2306 + fread_s=MSVCRT_fread_s @2307 + free=MSVCRT_free @2308 + freopen=MSVCRT_freopen @2309 + freopen_s=MSVCRT_freopen_s @2310 + frexp=MSVCRT_frexp @2311 + fseek=MSVCRT_fseek @2312 + fsetpos=MSVCRT_fsetpos @2313 + ftell=MSVCRT_ftell @2314 + fwrite=MSVCRT_fwrite @2315 + getc=MSVCRT_getc @2316 + getchar=MSVCRT_getchar @2317 + getenv=MSVCRT_getenv @2318 + getenv_s @2319 + gets=MSVCRT_gets @2320 + getwc=MSVCRT_getwc @2322 + getwchar=MSVCRT_getwchar @2323 + hypot=_hypot @2324 + is_wctype=ntdll.iswctype @2330 + isalnum=MSVCRT_isalnum @2331 + isalpha=MSVCRT_isalpha @2332 + isblank=MSVCRT_isblank @2333 + iscntrl=MSVCRT_iscntrl @2334 + isdigit=MSVCRT_isdigit @2335 + isgraph=MSVCRT_isgraph @2336 + isleadbyte=MSVCRT_isleadbyte @2337 + islower=MSVCRT_islower @2338 + isprint=MSVCRT_isprint @2339 + ispunct=MSVCRT_ispunct @2340 + isspace=MSVCRT_isspace @2341 + isupper=MSVCRT_isupper @2342 + iswalnum=MSVCRT_iswalnum @2343 + iswalpha=ntdll.iswalpha @2344 + iswascii=MSVCRT_iswascii @2345 + iswblank=MSVCRT_iswblank @2346 + iswcntrl=MSVCRT_iswcntrl @2347 + iswctype=ntdll.iswctype @2348 + iswdigit=MSVCRT_iswdigit @2349 + iswgraph=MSVCRT_iswgraph @2350 + iswlower=MSVCRT_iswlower @2351 + iswprint=MSVCRT_iswprint @2352 + iswpunct=MSVCRT_iswpunct @2353 + iswspace=MSVCRT_iswspace @2354 + iswupper=MSVCRT_iswupper @2355 + iswxdigit=MSVCRT_iswxdigit @2356 + isxdigit=MSVCRT_isxdigit @2357 + labs=MSVCRT_labs @2358 + ldexp=MSVCRT_ldexp @2359 + ldiv=MSVCRT_ldiv @2360 + lgamma=MSVCR120_lgamma @2361 + lgammaf=MSVCR120_lgammaf @2362 + lgammal=MSVCR120_lgammal @2363 + llabs=MSVCRT_llabs @2364 + lldiv=MSVCRT_lldiv @2365 + llrint=MSVCR120_llrint @2366 + llrintf=MSVCR120_llrintf @2367 + llrintl=MSVCR120_llrintl @2368 + llround=MSVCR120_llround @2369 + llroundf=MSVCR120_llroundf @2370 + llroundl=MSVCR120_llroundl @2371 + localeconv=MSVCRT_localeconv @2372 + log=MSVCRT_log @2373 + log10=MSVCRT_log10 @2374 + log1p=MSVCR120_log1p @2375 + log1pf=MSVCR120_log1pf @2376 + log1pl=MSVCR120_log1pl @2377 + log2=MSVCR120_log2 @2378 + log2f=MSVCR120_log2f @2379 + log2l=MSVCR120_log2l @2380 + longjmp=MSVCRT_longjmp @2384 + lrint=MSVCR120_lrint @2385 + lrintf=MSVCR120_lrintf @2386 + lrintl=MSVCR120_lrintl @2387 + lround=MSVCR120_lround @2388 + lroundf=MSVCR120_lroundf @2389 + lroundl=MSVCR120_lroundl @2390 + malloc=MSVCRT_malloc @2391 + mblen=MSVCRT_mblen @2392 + mbrlen=MSVCRT_mbrlen @2393 + mbrtowc=MSVCRT_mbrtowc @2396 + mbsrtowcs=MSVCRT_mbsrtowcs @2397 + mbsrtowcs_s=MSVCRT_mbsrtowcs_s @2398 + mbstowcs=MSVCRT_mbstowcs @2399 + mbstowcs_s=MSVCRT__mbstowcs_s @2400 + mbtowc=MSVCRT_mbtowc @2401 + memchr=MSVCRT_memchr @2402 + memcmp=MSVCRT_memcmp @2403 + memcpy=MSVCRT_memcpy @2404 + memcpy_s=MSVCRT_memcpy_s @2405 + memmove=MSVCRT_memmove @2406 + memmove_s=MSVCRT_memmove_s @2407 + memset=MSVCRT_memset @2408 + modf=MSVCRT_modf @2409 + nan=MSVCR120_nan @2410 + nanf=MSVCR120_nanf @2411 + nanl=MSVCR120_nan @2412 + nearbyint=MSVCRT_nearbyint @2413 + nearbyintf=MSVCRT_nearbyintf @2414 + nearbyintl=MSVCRT_nearbyint @2415 + nextafter=MSVCRT__nextafter @2416 + nextafterf=MSVCRT__nextafterf @2417 + nextafterl=MSVCRT__nextafter @2418 + perror=MSVCRT_perror @2425 + pow=MSVCRT_pow @2426 + putc=MSVCRT_putc @2427 + putchar=MSVCRT_putchar @2428 + puts=MSVCRT_puts @2429 + putwc=MSVCRT_fputwc @2430 + putwchar=MSVCRT__fputwchar @2431 + qsort=MSVCRT_qsort @2432 + qsort_s=MSVCRT_qsort_s @2433 + raise=MSVCRT_raise @2435 + rand=MSVCRT_rand @2436 + rand_s=MSVCRT_rand_s @2437 + realloc=MSVCRT_realloc @2438 + remainder=MSVCR120_remainder @2439 + remainderf=MSVCR120_remainderf @2440 + remainderl=MSVCR120_remainderl @2441 + remove=MSVCRT_remove @2442 + rename=MSVCRT_rename @2446 + rewind=MSVCRT_rewind @2447 + rint=MSVCR120_rint @2448 + rintf=MSVCR120_rintf @2449 + rintl=MSVCR120_rintl @2450 + round=MSVCR120_round @2451 + roundf=MSVCR120_roundf @2452 + roundl=MSVCR120_roundl @2453 + scalbln=MSVCRT__scalb @2454 + scalblnf=MSVCRT__scalbf @2455 + scalblnl=MSVCR120_scalbnl @2456 + scalbn=MSVCRT__scalb @2457 + scalbnf=MSVCRT__scalbf @2458 + scalbnl=MSVCR120_scalbnl @2459 + set_terminate=MSVCRT_set_terminate @2460 + set_unexpected=MSVCRT_set_unexpected @2461 + setbuf=MSVCRT_setbuf @2462 + setlocale=MSVCRT_setlocale @2463 + setvbuf=MSVCRT_setvbuf @2464 + signal=MSVCRT_signal @2465 + sin=MSVCRT_sin @2466 + sinh=MSVCRT_sinh @2467 + sqrt=MSVCRT_sqrt @2468 + srand=MSVCRT_srand @2469 + strcat=ntdll.strcat @2470 + strcat_s=MSVCRT_strcat_s @2471 + strchr=MSVCRT_strchr @2472 + strcmp=MSVCRT_strcmp @2473 + strcoll=MSVCRT_strcoll @2474 + strcpy=MSVCRT_strcpy @2475 + strcpy_s=MSVCRT_strcpy_s @2476 + strcspn=ntdll.strcspn @2477 + strerror=MSVCRT_strerror @2478 + strerror_s=MSVCRT_strerror_s @2479 + strftime=MSVCRT_strftime @2480 + strlen=MSVCRT_strlen @2481 + strncat=MSVCRT_strncat @2482 + strncat_s=MSVCRT_strncat_s @2483 + strncmp=MSVCRT_strncmp @2484 + strncpy=MSVCRT_strncpy @2485 + strncpy_s=MSVCRT_strncpy_s @2486 + strnlen=MSVCRT_strnlen @2487 + strpbrk=ntdll.strpbrk @2488 + strrchr=MSVCRT_strrchr @2489 + strspn=ntdll.strspn @2490 + strstr=MSVCRT_strstr @2491 + strtod=MSVCRT_strtod @2492 + strtof=MSVCRT_strtof @2493 + strtok=MSVCRT_strtok @2495 + strtok_s=MSVCRT_strtok_s @2496 + strtol=MSVCRT_strtol @2497 + strtoll=MSVCRT_strtoi64 @2499 + strtoul=MSVCRT_strtoul @2500 + strtoull=MSVCRT_strtoui64 @2501 + strxfrm=MSVCRT_strxfrm @2503 + system=MSVCRT_system @2504 + tan=MSVCRT_tan @2505 + tanh=MSVCRT_tanh @2506 + terminate=MSVCRT_terminate @2507 + tmpfile=MSVCRT_tmpfile @2511 + tmpfile_s=MSVCRT_tmpfile_s @2512 + tmpnam=MSVCRT_tmpnam @2513 + tmpnam_s=MSVCRT_tmpnam_s @2514 + tolower=MSVCRT_tolower @2515 + toupper=MSVCRT_toupper @2516 + towlower=MSVCRT_towlower @2518 + towupper=MSVCRT_towupper @2519 + trunc=MSVCR120_trunc @2520 + truncf=MSVCR120_truncf @2521 + truncl=MSVCR120_truncl @2522 + ungetc=MSVCRT_ungetc @2524 + ungetwc=MSVCRT_ungetwc @2525 + wcrtomb=MSVCRT_wcrtomb @2526 + wcscat=ntdll.wcscat @2528 + wcscat_s=MSVCRT_wcscat_s @2529 + wcschr=MSVCRT_wcschr @2530 + wcscmp=ntdll.wcscmp @2531 + wcscoll=MSVCRT_wcscoll @2532 + wcscpy=ntdll.wcscpy @2533 + wcscpy_s=MSVCRT_wcscpy_s @2534 + wcscspn=ntdll.wcscspn @2535 + wcsftime=MSVCRT_wcsftime @2536 + wcslen=MSVCRT_wcslen @2537 + wcsncat=ntdll.wcsncat @2538 + wcsncat_s=MSVCRT_wcsncat_s @2539 + wcsncmp=MSVCRT_wcsncmp @2540 + wcsncpy=MSVCRT_wcsncpy @2541 + wcsncpy_s=MSVCRT_wcsncpy_s @2542 + wcsnlen=MSVCRT_wcsnlen @2543 + wcspbrk=MSVCRT_wcspbrk @2544 + wcsrchr=ntdll.wcsrchr @2545 + wcsrtombs=MSVCRT_wcsrtombs @2546 + wcsrtombs_s=MSVCRT_wcsrtombs_s @2547 + wcsspn=ntdll.wcsspn @2548 + wcsstr=MSVCRT_wcsstr @2549 + wcstod=MSVCRT_wcstod @2550 + wcstof=MSVCRT_wcstof @2551 + wcstok=MSVCRT_wcstok @2553 + wcstok_s=MSVCRT_wcstok_s @2554 + wcstol=ntdll.wcstol @2555 + wcstoll=MSVCRT__wcstoi64 @2557 + wcstombs=MSVCRT_wcstombs @2558 + wcstombs_s=MSVCRT_wcstombs_s @2559 + wcstoul=MSVCRT_wcstoul @2560 + wcstoull=MSVCRT__wcstoui64 @2561 + wcsxfrm=MSVCRT_wcsxfrm @2563 + wctob=MSVCRT_wctob @2564 + wctomb=MSVCRT_wctomb @2565 + wctomb_s=MSVCRT_wctomb_s @2566 + wctype @2568 + wmemcpy_s @2569 + wmemmove_s @2570 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libunicows.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libunicows.def new file mode 100644 index 0000000..57d60a5 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libunicows.def @@ -0,0 +1,509 @@ +; File generated automatically from ./dlls/unicows/unicows.spec; do not edit! + +LIBRARY unicows.dll + +EXPORTS + AcquireCredentialsHandleW@36 @1 + AddAtomW@4 @2 + AddFontResourceW@4 @3 + AddJobW@20 @4 + AddMonitorW@12 @5 + AddPortW@12 @6 + AddPrintProcessorW@16 @7 + AddPrintProvidorW@12 @8 + AddPrinterDriverW@12 @9 + AddPrinterW@12 @10 + AdvancedDocumentPropertiesW@20 @11 + AppendMenuW@16 @12 + BeginUpdateResourceA@8 @13 + BeginUpdateResourceW@8 @14 + BroadcastSystemMessageW@20 @15 + BuildCommDCBAndTimeoutsW@12 @16 + BuildCommDCBW@8 @17 + CallMsgFilterW@8 @18 + CallNamedPipeW@28 @19 + CallWindowProcA@20 @20 + CallWindowProcW@20 @21 + ChangeDisplaySettingsExW@20 @22 + ChangeDisplaySettingsW@8 @23 + ChangeMenuW@20 @24 + CharLowerBuffW@8 @25 + CharLowerW@4 @26 + CharNextW@4 @27 + CharPrevW@8 @28 + CharToOemBuffW@12 @29 + CharToOemW@8 @30 + CharUpperBuffW@8 @31 + CharUpperW@4 @32 + ChooseColorW@4 @33 + ChooseFontW@4 @34 + CommConfigDialogW@12 @35 + CompareStringW@24 @36 + ConfigurePortW@12 @37 + CopyAcceleratorTableW@12 @38 + CopyEnhMetaFileW@8 @39 + CopyFileExW@24 @40 + CopyFileW@12 @41 + CopyMetaFileW@8 @42 + CreateAcceleratorTableW@8 @43 + CreateColorSpaceW@4 @44 + CreateDCW@16 @45 + CreateDialogIndirectParamW@20 @46 + CreateDialogParamW@20 @47 + CreateDirectoryExW@12 @48 + CreateDirectoryW@8 @49 + CreateEnhMetaFileW@16 @50 + CreateEventW@16 @51 + CreateFileMappingW@24 @52 + CreateFileW@28 @53 + CreateFontIndirectW@4 @54 + CreateFontW@56 @55 + CreateICW@16 @56 + CreateMDIWindowW@40 @57 + CreateMailslotW@16 @58 + CreateMetaFileW@4 @59 + CreateMutexW@12 @60 + CreateNamedPipeW@32 @61 + CreateProcessW@40 @62 + CreateScalableFontResourceW@16 @63 + CreateSemaphoreW@16 @64 + CreateWaitableTimerW@12 @66 + CreateWindowExW@48 @67 + CryptAcquireContextW@20 @68 + CryptEnumProviderTypesW@24 @69 + CryptEnumProvidersW@24 @70 + CryptGetDefaultProviderW@20 @71 + CryptSetProviderExW@16 @72 + CryptSetProviderW@8 @73 + CryptSignHashW@24 @74 + CryptVerifySignatureW@24 @75 + DdeConnect@16 @76 + DdeConnectList@20 @77 + DdeCreateStringHandleW@12 @78 + DdeInitializeW@16 @79 + DdeQueryConvInfo@12 @80 + DdeQueryStringW@20 @81 + DefDlgProcW@16 @82 + DefFrameProcW@20 @83 + DefMDIChildProcW@16 @84 + DefWindowProcW@16 @85 + DeleteFileW@4 @86 + DeleteMonitorW@12 @87 + DeletePortW@12 @88 + DeletePrintProcessorW@12 @89 + DeletePrintProvidorW@12 @90 + DeletePrinterDriverW@12 @91 + DeviceCapabilitiesW@20 @92 + DialogBoxIndirectParamW@20 @93 + DialogBoxParamW@20 @94 + DispatchMessageW@4 @95 + DlgDirListComboBoxW@20 @96 + DlgDirListW@20 @97 + DlgDirSelectComboBoxExW@16 @98 + DlgDirSelectExW@16 @99 + DocumentPropertiesW@24 @100 + DragQueryFileW@16 @101 + DrawStateW@40 @102 + DrawTextExW@24 @103 + DrawTextW@20 @104 + EnableWindow@8 @105 + EndUpdateResourceA@8 @106 + EndUpdateResourceW@8 @107 + EnumCalendarInfoExW@16 @108 + EnumCalendarInfoW@16 @109 + EnumClipboardFormats@4 @110 + EnumDateFormatsExW@12 @111 + EnumDateFormatsW@12 @112 + EnumDisplayDevicesW@16 @113 + EnumDisplaySettingsExW@16 @114 + EnumDisplaySettingsW@12 @115 + EnumFontFamiliesExW@20 @116 + EnumFontFamiliesW@16 @117 + EnumFontsW@16 @118 + EnumICMProfilesW@12 @119 + EnumMonitorsW@24 @120 + EnumPortsW@24 @121 + EnumPrintProcessorDatatypesW@28 @122 + EnumPrintProcessorsW@28 @123 + EnumPrinterDriversW@28 @124 + EnumPrintersW@28 @125 + EnumPropsA@8 @126 + EnumPropsExA@12 @127 + EnumPropsExW@12 @128 + EnumPropsW@8 @129 + EnumSystemCodePagesW@8 @130 + EnumSystemLocalesW@8 @131 + EnumTimeFormatsW@12 @132 + EnumerateSecurityPackagesW@8 @133 + ExpandEnvironmentStringsW@12 @134 + ExtTextOutW@32 @135 + ExtractIconExW@20 @136 + ExtractIconW@12 @137 + FatalAppExitW@8 @138 + FillConsoleOutputCharacterW@20 @139 + FindAtomW@4 @140 + FindExecutableW@12 @141 + FindFirstChangeNotificationW@12 @142 + FindFirstFileW@8 @143 + FindNextFileW@8 @144 + FindResourceExW@16 @145 + FindResourceW@12 @146 + FindTextW@4 @147 + FindWindowExW@16 @148 + FindWindowW@8 @149 + FormatMessageW@28 @150 + FreeContextBuffer@4 @151 + FreeEnvironmentStringsW@4 @152 + GetAltTabInfoW@20 @153 + GetAtomNameW@12 @154 + GetCPInfo@8 @155 + GetCPInfoExW@12 @156 + GetCalendarInfoW@24 @157 + GetCharABCWidthsFloatW@16 @158 + GetCharABCWidthsW@16 @159 + GetCharWidth32W@16 @160 + GetCharWidthFloatW@16 @161 + GetCharWidthW@16 @162 + GetCharacterPlacementW@24 @163 + GetClassInfoExW@12 @164 + GetClassInfoW@12 @165 + GetClassLongW@8 @166 + GetClassNameW@12 @167 + GetClipboardData@4 @168 + GetClipboardFormatNameW@12 @169 + GetComputerNameW@8 @170 + GetConsoleTitleW@8 @171 + GetCurrencyFormatW@24 @172 + GetCurrentDirectoryW@8 @173 + GetCurrentHwProfileW@4 @174 + GetDateFormatW@24 @175 + GetDefaultCommConfigW@12 @176 + GetDiskFreeSpaceExW@16 @177 + GetDiskFreeSpaceW@20 @178 + GetDlgItemTextW@16 @179 + GetDriveTypeW@4 @180 + GetEnhMetaFileDescriptionW@12 @181 + GetEnhMetaFileW@4 @182 + GetEnvironmentStringsW@0 @183 + GetEnvironmentVariableW@12 @184 + GetFileAttributesExW@12 @185 + GetFileAttributesW@4 @186 + GetFileTitleW@12 @187 + GetFileVersionInfoSizeW@8 @188 + GetFileVersionInfoW@16 @189 + GetFullPathNameW@16 @190 + GetGlyphOutlineW@28 @191 + GetICMProfileW@12 @192 + GetJobW@24 @193 + GetKerningPairsW@12 @194 + GetKeyNameTextW@12 @195 + GetKeyboardLayoutNameW@4 @196 + GetLocaleInfoW@16 @197 + GetLogColorSpaceW@12 @198 + GetLogicalDriveStringsW@8 @199 + GetLongPathNameW@12 @200 + GetMenuItemInfoW@16 @201 + GetMenuStringW@20 @202 + GetMessageW@16 @203 + GetMetaFileW@4 @204 + GetModuleFileNameW@12 @205 + GetModuleHandleW@4 @206 + GetMonitorInfoW@8 @207 + GetNamedPipeHandleStateW@28 @208 + GetNumberFormatW@24 @209 + GetObjectW@12 @210 + GetOpenFileNamePreviewW@4 @211 + GetOpenFileNameW@4 @212 + GetOutlineTextMetricsW@12 @213 + GetPrintProcessorDirectoryW@24 @214 + GetPrinterDataW@24 @215 + GetPrinterDriverDirectoryW@24 @216 + GetPrinterDriverW@24 @217 + GetPrinterW@20 @218 + GetPrivateProfileIntW@16 @219 + GetPrivateProfileSectionNamesW@12 @220 + GetPrivateProfileSectionW@16 @221 + GetPrivateProfileStringW@24 @222 + GetPrivateProfileStructW@20 @223 + GetProcAddress@8 @224 + GetProfileIntW@12 @225 + GetProfileSectionW@12 @226 + GetProfileStringW@20 @227 + GetPropA@8 @228 + GetPropW@8 @229 + GetRoleTextW@12 @230 + GetSaveFileNamePreviewW@4 @231 + GetSaveFileNameW@4 @232 + GetShortPathNameW@12 @233 + GetStartupInfoW@4 @234 + GetStringTypeExW@20 @236 + GetStringTypeW@16 @237 + GetSystemDirectoryW@8 @238 + GetSystemWindowsDirectoryW@8 @239 + GetTabbedTextExtentW@20 @240 + GetTempFileNameW@16 @241 + GetTempPathW@8 @242 + GetTextExtentExPointW@28 @243 + GetTextExtentPoint32W@16 @244 + GetTextExtentPointW@16 @245 + GetTextFaceW@12 @246 + GetTextMetricsW@8 @247 + GetTimeFormatW@24 @248 + GetUserNameW@8 @249 + GetVersionExW@4 @250 + GetVolumeInformationW@32 @251 + GetWindowLongA@8 @252 + GetWindowLongW@8 @253 + GetWindowModuleFileNameW@12 @254 + GetWindowTextLengthW@4 @255 + GetWindowTextW@12 @256 + GetWindowsDirectoryW@8 @257 + GlobalAddAtomW@4 @258 + GlobalFindAtomW@4 @259 + GlobalGetAtomNameW@12 @260 + GrayStringW@36 @261 + InitSecurityInterfaceW@0 @262 + InitializeSecurityContextW@48 @263 + InsertMenuItemW@16 @264 + InsertMenuW@20 @265 + IsBadStringPtrW@8 @266 + IsCharAlphaNumericW@4 @267 + IsCharAlphaW@4 @268 + IsCharLowerW@4 @269 + IsCharUpperW@4 @270 + IsClipboardFormatAvailable@4 @271 + IsDestinationReachableW@8 @272 + IsDialogMessageW@8 @273 + IsTextUnicode@12 @274 + IsValidCodePage@4 @275 + IsWindowUnicode@4 @276 + LCMapStringW@24 @277 + LoadAcceleratorsW@8 @278 + LoadBitmapW@8 @279 + LoadCursorFromFileW@4 @280 + LoadCursorW@8 @281 + LoadIconW@8 @282 + LoadImageW@24 @283 + LoadKeyboardLayoutW@8 @284 + LoadLibraryExW@12 @285 + LoadLibraryW@4 @286 + LoadMenuIndirectW@4 @287 + LoadMenuW@8 @288 + LoadStringW@16 @289 + MCIWndCreateW @290 + MapVirtualKeyExW@12 @291 + MapVirtualKeyW@8 @292 + MessageBoxExW@20 @293 + MessageBoxIndirectW@4 @294 + MessageBoxW@16 @295 + ModifyMenuW@20 @296 + MoveFileW@8 @297 + MultiByteToWideChar@24 @298 + MultinetGetConnectionPerformanceW@8 @299 + OemToCharBuffW@12 @300 + OemToCharW@8 @301 + OleUIAddVerbMenuW@36 @302 + OleUIBusyW@4 @303 + OleUIChangeIconW@4 @304 + OleUIChangeSourceW@4 @305 + OleUIConvertW@4 @306 + OleUIEditLinksW@4 @307 + OleUIInsertObjectW@4 @308 + OleUIObjectPropertiesW@4 @309 + OleUIPasteSpecialW@4 @310 + OleUIPromptUserW @311 + OleUIUpdateLinksW@16 @312 + OpenEventW@12 @313 + OpenFileMappingW@12 @314 + OpenMutexW@12 @315 + OpenPrinterW@12 @316 + OpenSemaphoreW@12 @317 + OpenWaitableTimerW@12 @318 + OutputDebugStringW@4 @319 + PageSetupDlgW@4 @320 + PeekConsoleInputW@16 @321 + PeekMessageW@20 @322 + PlaySoundW@12 @323 + PolyTextOutW@12 @324 + PostMessageW@16 @325 + PostThreadMessageW@16 @326 + PrintDlgW@4 @327 + QueryContextAttributesW@12 @328 + QueryCredentialsAttributesW@12 @329 + QueryDosDeviceW@12 @330 + QuerySecurityPackageInfoW@8 @331 + RasConnectionNotificationW@12 @332 + RasCreatePhonebookEntryW@8 @333 + RasDeleteEntryW@8 @334 + RasDeleteSubEntryW@12 @335 + RasDialW@24 @336 + RasEditPhonebookEntryW@12 @337 + RasEnumConnectionsW@12 @338 + RasEnumDevicesW@12 @339 + RasEnumEntriesW@20 @340 + RasGetConnectStatusW@8 @341 + RasGetEntryDialParamsW@12 @342 + RasGetEntryPropertiesW@24 @343 + RasGetErrorStringW@12 @344 + RasGetProjectionInfoW@16 @345 + RasHangUpW@4 @346 + RasRenameEntryW@12 @347 + RasSetEntryDialParamsW@12 @348 + RasSetEntryPropertiesW@24 @349 + RasSetSubEntryPropertiesW@28 @350 + RasValidateEntryNameW@8 @351 + ReadConsoleInputW@16 @352 + ReadConsoleOutputCharacterW@20 @353 + ReadConsoleOutputW@20 @354 + ReadConsoleW@20 @355 + RegConnectRegistryW@12 @356 + RegCreateKeyExW@36 @357 + RegCreateKeyW@12 @358 + RegDeleteKeyW@8 @359 + RegDeleteValueW@8 @360 + RegEnumKeyExW@32 @361 + RegEnumKeyW@16 @362 + RegEnumValueW@32 @363 + RegLoadKeyW@12 @364 + RegOpenKeyExW@20 @365 + RegOpenKeyW@12 @366 + RegQueryInfoKeyW@48 @367 + RegQueryMultipleValuesW@20 @368 + RegQueryValueExW@24 @369 + RegQueryValueW@16 @370 + RegReplaceKeyW@16 @371 + RegSaveKeyW@12 @372 + RegSetValueExW@24 @373 + RegSetValueW@20 @374 + RegUnLoadKeyW@8 @375 + RegisterClassExW@4 @376 + RegisterClassW@4 @377 + RegisterClipboardFormatW@4 @378 + RegisterDeviceNotificationW@12 @379 + RegisterWindowMessageW@4 @380 + RemoveDirectoryW@4 @381 + RemoveFontResourceW@4 @382 + RemovePropA@8 @383 + RemovePropW@8 @384 + ReplaceTextW@4 @385 + ResetDCW@8 @386 + ResetPrinterW@8 @387 + SHBrowseForFolderW@4 @388 + SHChangeNotify@16 @389 + SHFileOperationW@4 @390 + SHGetFileInfoW@20 @391 + SHGetNewLinkInfoW@20 @392 + SHGetPathFromIDListW@8 @393 + ScrollConsoleScreenBufferW@20 @394 + SearchPathW@24 @395 + SendDlgItemMessageW@20 @396 + SendMessageCallbackW@24 @397 + SendMessageTimeoutW@28 @398 + SendMessageW@16 @399 + SendNotifyMessageW@16 @400 + SetCalendarInfoW@16 @401 + SetClassLongW@12 @402 + SetComputerNameW@4 @403 + SetConsoleTitleW@4 @404 + SetCurrentDirectoryW@4 @405 + SetDefaultCommConfigW@12 @406 + SetDlgItemTextW@12 @407 + SetEnvironmentVariableW@8 @408 + SetFileAttributesW@8 @409 + SetICMProfileW@8 @410 + SetJobW@20 @411 + SetLocaleInfoW@12 @412 + SetMenuItemInfoW@16 @413 + SetPrinterDataW@20 @414 + SetPrinterW@16 @415 + SetPropA@12 @416 + SetPropW@12 @417 + SetVolumeLabelW@8 @418 + SetWindowLongA@12 @419 + SetWindowLongW@12 @420 + SetWindowTextW@8 @421 + SetWindowsHookExW@16 @422 + SetWindowsHookW@8 @423 + ShellAboutW@16 @424 + ShellExecuteExW@4 @425 + ShellExecuteW@24 @426 + Shell_NotifyIconW@8 @427 + StartDocPrinterW@12 @428 + StartDocW@8 @429 + SystemParametersInfoW@16 @430 + TabbedTextOutW@32 @431 + TextOutW@20 @432 + TranslateAcceleratorW@12 @433 + UnregisterClassW@8 @434 + UpdateICMRegKeyW@16 @435 + UpdateResourceA@24 @436 + UpdateResourceW@24 @437 + VerFindFileW@32 @438 + VerInstallFileW@32 @439 + VerLanguageNameW@12 @440 + VerQueryValueW@16 @441 + VkKeyScanExW@8 @442 + VkKeyScanW@4 @443 + WNetAddConnection2W@16 @444 + WNetAddConnection3W@20 @445 + WNetAddConnectionW@12 @446 + WNetCancelConnection2W@12 @447 + WNetCancelConnectionW@8 @448 + WNetConnectionDialog1W@4 @449 + WNetDisconnectDialog1W@4 @450 + WNetEnumResourceW@16 @451 + WNetGetConnectionW@12 @452 + WNetGetLastErrorW@20 @453 + WNetGetNetworkInformationW@8 @454 + WNetGetProviderNameW@12 @455 + WNetGetResourceInformationW@16 @456 + WNetGetResourceParentW@12 @457 + WNetGetUniversalNameW@16 @458 + WNetGetUserW@12 @459 + WNetOpenEnumW@20 @460 + WNetUseConnectionW@32 @461 + WaitNamedPipeW@8 @462 + WideCharToMultiByte@32 @463 + WinHelpW@16 @464 + WriteConsoleInputW@16 @465 + WriteConsoleOutputCharacterW@20 @466 + WriteConsoleOutputW@20 @467 + WriteConsoleW@20 @468 + WritePrivateProfileSectionW@12 @469 + WritePrivateProfileStringW@16 @470 + WritePrivateProfileStructW@20 @471 + WriteProfileSectionW@8 @472 + WriteProfileStringW@12 @473 + auxGetDevCapsW@12 @475 + capCreateCaptureWindowW@32 @476 + capGetDriverDescriptionW@20 @477 + joyGetDevCapsW@12 @478 + lstrcatW@8 @479 + lstrcmpW@8 @480 + lstrcmpiW@8 @481 + lstrcpyW@8 @482 + lstrcpynW@12 @483 + lstrlenW@4 @484 + mciGetDeviceIDW@4 @485 + mciGetErrorStringW@12 @486 + mciSendCommandW@16 @487 + mciSendStringW@16 @488 + midiInGetDevCapsW@12 @489 + midiInGetErrorTextW@12 @490 + midiOutGetDevCapsW@12 @491 + midiOutGetErrorTextW@12 @492 + mixerGetControlDetailsW@12 @493 + mixerGetDevCapsW@12 @494 + mixerGetLineControlsW@12 @495 + mixerGetLineInfoW@12 @496 + mmioInstallIOProcW@12 @497 + mmioOpenW@12 @498 + mmioRenameW@16 @499 + mmioStringToFOURCCW@8 @500 + sndPlaySoundW@8 @501 + waveInGetDevCapsW@12 @502 + waveInGetErrorTextW@12 @503 + waveOutGetDevCapsW@12 @504 + waveOutGetErrorTextW@12 @505 + wsprintfW @506 + wvsprintfW@12 @507 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liburl.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liburl.def new file mode 100644 index 0000000..b0a490a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liburl.def @@ -0,0 +1,13 @@ +; File generated automatically from ./dlls/url/url.spec; do not edit! + +LIBRARY url.dll + +EXPORTS + AddMIMEFileTypesPS@8 @1 + FileProtocolHandler@16=FileProtocolHandlerA@16 @5 + FileProtocolHandlerA@16 @6 + InetIsOffline@4 @7 + OpenURL@16=OpenURLA@16 @14 + OpenURLA@16 @15 + TelnetProtocolHandler@8=TelnetProtocolHandlerA@8 @16 + TelnetProtocolHandlerA@8 @17 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liburlmon.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liburlmon.def new file mode 100644 index 0000000..176c5a7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/liburlmon.def @@ -0,0 +1,72 @@ +; File generated automatically from ./dlls/urlmon/urlmon.spec; do not edit! + +LIBRARY urlmon.dll + +EXPORTS + AsyncInstallDistributionUnit@36 @4 + BindAsyncMoniker@20 @5 + CoGetClassObjectFromURL@40 @6 + CoInternetCombineUrl@28 @8 + CoInternetCombineUrlEx@20 @9 + CoInternetCompareUrl@12 @10 + CoInternetCombineIUri@20 @11 + CoInternetCreateSecurityManager@12 @12 + CoInternetCreateZoneManager@12 @13 + CoInternetGetSecurityUrl@16 @15 + CoInternetGetSecurityUrlEx@16 @16 + CoInternetGetSession@12 @17 + CoInternetIsFeatureEnabled@8 @18 + CoInternetIsFeatureEnabledForUrl@16 @19 + CoInternetIsFeatureZoneElevationEnabled@16 @20 + CoInternetParseUrl@28 @21 + CoInternetParseIUri@28 @22 + CoInternetQueryInfo@28 @23 + CoInternetSetFeatureEnabled@12 @24 + CompareSecurityIds@20 @25 + CopyBindInfo@8 @26 + CopyStgMedium@8 @27 + CreateAsyncBindCtx@16 @28 + CreateAsyncBindCtxEx@24 @29 + CreateFormatEnumerator@12 @30 + CreateIUriBuilder@16 @31 + CreateUri@16 @32 + CreateUriWithFragment@20 @33 + CreateURLMoniker@12 @34 + CreateURLMonikerEx@16 @35 + CreateURLMonikerEx2@16 @36 + DllCanUnloadNow@0 @37 PRIVATE + DllGetClassObject@12 @38 PRIVATE + DllInstall@8 @39 PRIVATE + DllRegisterServer@0 @40 PRIVATE + DllRegisterServerEx@0 @41 PRIVATE + DllUnregisterServer@0 @42 PRIVATE + Extract@8 @43 + FaultInIEFeature@16 @44 + FindMimeFromData@32 @47 + GetClassFileOrMime@28 @48 + GetSoftwareUpdateInfo@8 @52 + HlinkNavigateString@8 @56 + HlinkSimpleNavigateToMoniker@32 @57 + HlinkSimpleNavigateToString@32 @58 + IsAsyncMoniker@4 @60 + IsLoggingEnabledA@4 @61 + IsLoggingEnabledW@4 @62 + IsValidURL@12 @63 + MkParseDisplayNameEx@16 @64 + ObtainUserAgentString@12 @65 + RegisterBindStatusCallback@16 @67 + RegisterFormatEnumerator@12 @68 + RegisterMediaTypes@12 @70 + ReleaseBindInfo@4 @71 + RevokeBindStatusCallback@8 @72 + RevokeFormatEnumerator@8 @73 + URLDownloadToCacheFileA@24 @76 + URLDownloadToCacheFileW@24 @77 + URLDownloadToFileA@20 @78 + URLDownloadToFileW@20 @79 + URLOpenBlockingStreamA@20 @81 + URLOpenBlockingStreamW@20 @82 + URLOpenStreamA@16 @85 + URLOpenStreamW@16 @86 + UrlMkGetSessionOption@20 @88 + UrlMkSetSessionOption@16 @89 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libusbd.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libusbd.def new file mode 100644 index 0000000..d0a7c0d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libusbd.def @@ -0,0 +1,16 @@ +; File generated automatically from ./dlls/usbd.sys/usbd.sys.spec; do not edit! + +LIBRARY usbd.sys + +EXPORTS + USBD_CreateConfigurationRequestEx@8 @1 + USBD_ParseConfigurationDescriptorEx@28 @2 + USBD_ParseDescriptors@16 @3 + USBD_CreateConfigurationRequest@8 @7 + _USBD_CreateConfigurationRequestEx@8@8=USBD_CreateConfigurationRequestEx@8 @8 + USBD_GetInterfaceLength@8 @17 + USBD_GetUSBDIVersion@4 @21 + USBD_ParseConfigurationDescriptor@12 @24 + _USBD_ParseConfigurationDescriptorEx@28@28=USBD_ParseConfigurationDescriptorEx@28 @25 + _USBD_ParseDescriptors@16@16=USBD_ParseDescriptors@16 @26 + USBD_ValidateConfigurationDescriptor@20 @34 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuser32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuser32.def new file mode 100644 index 0000000..2b50158 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuser32.def @@ -0,0 +1,717 @@ +; File generated automatically from ./dlls/user32/user32.spec; do not edit! + +LIBRARY user32.dll + +EXPORTS + ActivateKeyboardLayout@8 @1 + AddClipboardFormatListener@4 @2 + AdjustWindowRect@12 @3 + AdjustWindowRectEx@16 @4 + AlignRects@16 @5 + AllowSetForegroundWindow@4 @6 + AnimateWindow@12 @7 + AnyPopup@0 @8 + AppendMenuA@16 @9 + AppendMenuW@16 @10 + ArrangeIconicWindows@4 @11 + AttachThreadInput@12 @12 + BeginDeferWindowPos@4 @13 + BeginPaint@8 @14 + BlockInput@4 @15 + BringWindowToTop@4 @16 + BroadcastSystemMessage@20=BroadcastSystemMessageA@20 @17 + BroadcastSystemMessageA@20 @18 + BroadcastSystemMessageExA@24 @19 + BroadcastSystemMessageExW@24 @20 + BroadcastSystemMessageW@20 @21 + CalcChildScroll@8 @22 + CalcMenuBar@20 @23 + CallMsgFilter@8=CallMsgFilterA@8 @24 + CallMsgFilterA@8 @25 + CallMsgFilterW@8 @26 + CallNextHookEx@16 @27 + CallWindowProcA@20 @28 + CallWindowProcW@20 @29 + CascadeChildWindows@8 @30 + CascadeWindows@20 @31 + ChangeClipboardChain@8 @32 + ChangeDisplaySettingsA@8 @33 + ChangeDisplaySettingsExA@20 @34 + ChangeDisplaySettingsExW@20 @35 + ChangeDisplaySettingsW@8 @36 + ChangeMenuA@20 @37 + ChangeMenuW@20 @38 + ChangeWindowMessageFilter@8 @39 + ChangeWindowMessageFilterEx@16 @40 + CharLowerA@4 @41 + CharLowerBuffA@8 @42 + CharLowerBuffW@8 @43 + CharLowerW@4 @44 + CharNextA@4 @45 + CharNextExA@12 @46 + CharNextExW@12 @47 + CharNextW@4 @48 + CharPrevA@8 @49 + CharPrevExA@16 @50 + CharPrevExW@16 @51 + CharPrevW@8 @52 + CharToOemA@8 @53 + CharToOemBuffA@12 @54 + CharToOemBuffW@12 @55 + CharToOemW@8 @56 + CharUpperA@4 @57 + CharUpperBuffA@8 @58 + CharUpperBuffW@8 @59 + CharUpperW@4 @60 + CheckDlgButton@12 @61 + CheckMenuItem@12 @62 + CheckMenuRadioItem@20 @63 + CheckRadioButton@16 @64 + ChildWindowFromPoint@12 @65 + ChildWindowFromPointEx@16 @66 + ClientToScreen@8 @70 + ClipCursor@4 @71 + CloseClipboard@0 @72 + CloseDesktop@4 @73 + CloseTouchInputHandle@4 @74 + CloseWindow@4 @75 + CloseWindowStation@4 @76 + CopyAcceleratorTableA@12 @77 + CopyAcceleratorTableW@12 @78 + CopyIcon@4 @79 + CopyImage@20 @80 + CopyRect@8 @81 + CountClipboardFormats@0 @82 + CreateAcceleratorTableA@8 @83 + CreateAcceleratorTableW@8 @84 + CreateCaret@16 @85 + CreateCursor@28 @86 + CreateDesktopA@24 @87 + CreateDesktopW@24 @88 + CreateDialogIndirectParamA@20 @89 + CreateDialogIndirectParamAorW@24 @90 + CreateDialogIndirectParamW@20 @91 + CreateDialogParamA@20 @92 + CreateDialogParamW@20 @93 + CreateIcon@28 @94 + CreateIconFromResource@16 @95 + CreateIconFromResourceEx@28 @96 + CreateIconIndirect@4 @97 + CreateMDIWindowA@40 @98 + CreateMDIWindowW@40 @99 + CreateMenu@0 @100 + CreatePopupMenu@0 @101 + CreateWindowExA@48 @102 + CreateWindowExW@48 @103 + CreateWindowStationA@16 @104 + CreateWindowStationW@16 @105 + DdeAbandonTransaction@12 @106 + DdeAccessData@8 @107 + DdeAddData@16 @108 + DdeClientTransaction@32 @109 + DdeCmpStringHandles@8 @110 + DdeConnect@16 @111 + DdeConnectList@20 @112 + DdeCreateDataHandle@28 @113 + DdeCreateStringHandleA@12 @114 + DdeCreateStringHandleW@12 @115 + DdeDisconnect@4 @116 + DdeDisconnectList@4 @117 + DdeEnableCallback@12 @118 + DdeFreeDataHandle@4 @119 + DdeFreeStringHandle@8 @120 + DdeGetData@16 @121 + DdeGetLastError@4 @122 + DdeImpersonateClient@4 @124 + DdeInitializeA@16 @125 + DdeInitializeW@16 @126 + DdeKeepStringHandle@8 @127 + DdeNameService@16 @128 + DdePostAdvise@12 @129 + DdeQueryConvInfo@12 @130 + DdeQueryNextServer@8 @131 + DdeQueryStringA@20 @132 + DdeQueryStringW@20 @133 + DdeReconnect@4 @134 + DdeSetQualityOfService@12 @135 + DdeSetUserHandle@12 @136 + DdeUnaccessData@4 @137 + DdeUninitialize@4 @138 + DefDlgProcA@16 @139 + DefDlgProcW@16 @140 + DefFrameProcA@20 @141 + DefFrameProcW@20 @142 + DefMDIChildProcA@16 @143 + DefMDIChildProcW@16 @144 + DefRawInputProc@12 @145 + DefWindowProcA@16 @146 + DefWindowProcW@16 @147 + DeferWindowPos@32 @148 + DeleteMenu@12 @149 + DeregisterShellHookWindow@4 @150 + DestroyAcceleratorTable@4 @151 + DestroyCaret@0 @152 + DestroyCursor@4 @153 + DestroyIcon@4 @154 + DestroyMenu@4 @155 + DestroyWindow@4 @156 + DialogBoxIndirectParamA@20 @157 + DialogBoxIndirectParamAorW@24 @158 + DialogBoxIndirectParamW@20 @159 + DialogBoxParamA@20 @160 + DialogBoxParamW@20 @161 + DisableProcessWindowsGhosting@0 @162 + DispatchMessageA@4 @163 + DispatchMessageW@4 @164 + DisplayConfigGetDeviceInfo@4 @165 + DlgDirListA@20 @166 + DlgDirListComboBoxA@20 @167 + DlgDirListComboBoxW@20 @168 + DlgDirListW@20 @169 + DlgDirSelectComboBoxExA@16 @170 + DlgDirSelectComboBoxExW@16 @171 + DlgDirSelectExA@16 @172 + DlgDirSelectExW@16 @173 + DragDetect@12 @174 + DrawAnimatedRects@16 @176 + DrawCaption@16 @177 + DrawCaptionTempA@28 @178 + DrawCaptionTempW@28 @179 + DrawEdge@16 @180 + DrawFocusRect@8 @181 + DrawFrameControl@16 @183 + DrawIcon@16 @184 + DrawIconEx@36 @185 + DrawMenuBar@4 @186 + DrawMenuBarTemp@20 @187 + DrawStateA@40 @188 + DrawStateW@40 @189 + DrawTextA@20 @190 + DrawTextExA@24 @191 + DrawTextExW@24 @192 + DrawTextW@20 @193 + EditWndProc@16=EditWndProcA@16 @194 + EmptyClipboard@0 @195 + EnableMenuItem@12 @196 + EnableScrollBar@12 @197 + EnableWindow@8 @198 + EndDeferWindowPos@4 @199 + EndDialog@8 @200 + EndMenu@0 @201 + EndPaint@8 @202 + EnumChildWindows@12 @204 + EnumClipboardFormats@4 @205 + EnumDesktopWindows@12 @206 + EnumDesktopsA@12 @207 + EnumDesktopsW@12 @208 + EnumDisplayDevicesA@16 @211 + EnumDisplayDevicesW@16 @212 + EnumDisplayMonitors@16 @213 + EnumDisplaySettingsA@12 @214 + EnumDisplaySettingsExA@16 @215 + EnumDisplaySettingsExW@16 @216 + EnumDisplaySettingsW@12 @217 + EnumPropsA@8 @218 + EnumPropsExA@12 @219 + EnumPropsExW@12 @220 + EnumPropsW@8 @221 + EnumThreadWindows@12 @222 + EnumWindowStationsA@8 @223 + EnumWindowStationsW@8 @224 + EnumWindows@8 @225 + EqualRect@8 @226 + ExcludeUpdateRgn@8 @227 + ExitWindowsEx@8 @228 + FillRect@12 @229 + FindWindowA@8 @230 + FindWindowExA@16 @231 + FindWindowExW@16 @232 + FindWindowW@8 @233 + FlashWindow@8 @234 + FlashWindowEx@4 @235 + FrameRect@12 @236 + FreeDDElParam@8 @237 + GetActiveWindow@0 @238 + GetAltTabInfo@20=GetAltTabInfoA@20 @239 + GetAltTabInfoA@20 @240 + GetAltTabInfoW@20 @241 + GetAncestor@8 @242 + GetAppCompatFlags@4 @243 + GetAppCompatFlags2@4 @244 + GetAsyncKeyState@4 @245 + GetAutoRotationState@4 @246 + GetCapture@0 @247 + GetCaretBlinkTime@0 @248 + GetCaretPos@4 @249 + GetClassInfoA@12 @250 + GetClassInfoExA@12 @251 + GetClassInfoExW@12 @252 + GetClassInfoW@12 @253 + GetClassLongA@8 @254 + GetClassLongW@8 @255 + GetClassNameA@12 @256 + GetClassNameW@12 @257 + GetClassWord@8 @258 + GetClientRect@8 @259 + GetClipCursor@4 @260 + GetClipboardData@4 @261 + GetClipboardFormatNameA@12 @262 + GetClipboardFormatNameW@12 @263 + GetClipboardOwner@0 @264 + GetClipboardSequenceNumber@0 @265 + GetClipboardViewer@0 @266 + GetComboBoxInfo@8 @267 + GetCursor@0 @268 + GetCursorFrameInfo@20 @269 + GetCursorInfo@4 @270 + GetCursorPos@4 @271 + GetDC@4 @272 + GetDCEx@12 @273 + GetDesktopWindow@0 @274 + GetDialogBaseUnits@0 @275 + GetDisplayAutoRotationPreferences@4 @276 + GetDisplayConfigBufferSizes@12 @277 + GetDlgCtrlID@4 @278 + GetDlgItem@8 @279 + GetDlgItemInt@16 @280 + GetDlgItemTextA@16 @281 + GetDlgItemTextW@16 @282 + GetDoubleClickTime@0 @283 + GetFocus@0 @284 + GetForegroundWindow@0 @285 + GetGestureConfig@24 @286 + GetGestureInfo@8 @287 + GetGUIThreadInfo@8 @288 + GetGuiResources@8 @289 + GetIconInfo@8 @290 + GetIconInfoExA@8 @291 + GetIconInfoExW@8 @292 + GetInputState@0 @294 + GetInternalWindowPos@12 @295 + GetKBCodePage@0 @296 + GetKeyNameTextA@12 @297 + GetKeyNameTextW@12 @298 + GetKeyState@4 @299 + GetKeyboardLayout@4 @300 + GetKeyboardLayoutList@8 @301 + GetKeyboardLayoutNameA@4 @302 + GetKeyboardLayoutNameW@4 @303 + GetKeyboardState@4 @304 + GetKeyboardType@4 @305 + GetLastActivePopup@4 @306 + GetLastInputInfo@4 @307 + GetLayeredWindowAttributes@16 @308 + GetListBoxInfo@4 @309 + GetMenu@4 @310 + GetMenuBarInfo@16 @311 + GetMenuCheckMarkDimensions@0 @312 + GetMenuContextHelpId@4 @313 + GetMenuDefaultItem@12 @314 + GetMenuInfo@8 @316 + GetMenuItemCount@4 @317 + GetMenuItemID@8 @318 + GetMenuItemInfoA@16 @319 + GetMenuItemInfoW@16 @320 + GetMenuItemRect@16 @321 + GetMenuState@12 @322 + GetMenuStringA@20 @323 + GetMenuStringW@20 @324 + GetMessageA@16 @325 + GetMessageExtraInfo@0 @326 + GetMessagePos@0 @327 + GetMessageTime@0 @328 + GetMessageW@16 @329 + GetMonitorInfoA@8 @330 + GetMonitorInfoW@8 @331 + GetMouseMovePointsEx@20 @332 + GetNextDlgGroupItem@12 @333 + GetNextDlgTabItem@12 @334 + GetOpenClipboardWindow@0 @335 + GetParent@4 @336 + GetPhysicalCursorPos@4 @337 + GetPriorityClipboardFormat@8 @338 + GetProcessDefaultLayout@4 @339 + GetProcessWindowStation@0 @340 + GetProgmanWindow@0 @341 + GetPropA@8 @342 + GetPropW@8 @343 + GetQueueStatus@4 @344 + GetRawInputBuffer@12 @345 + GetRawInputData@20 @346 + GetRawInputDeviceInfoA@16 @347 + GetRawInputDeviceInfoW@16 @348 + GetRawInputDeviceList@12 @349 + GetRegisteredRawInputDevices@12 @350 + GetScrollBarInfo@12 @351 + GetScrollInfo@12 @352 + GetScrollPos@8 @353 + GetScrollRange@16 @354 + GetShellWindow@0 @355 + GetSubMenu@8 @356 + GetSysColor@4 @357 + GetSysColorBrush@4 @358 + GetSystemMenu@8 @359 + GetSystemMetrics@4 @360 + GetTabbedTextExtentA@20 @361 + GetTabbedTextExtentW@20 @362 + GetTaskmanWindow@0 @363 + GetThreadDesktop@4 @364 + GetTitleBarInfo@8 @365 + GetTopWindow@4 @366 + GetTouchInputInfo@16 @367 + GetUpdateRect@12 @368 + GetUpdateRgn@12 @369 + GetUpdatedClipboardFormats@12 @370 + GetUserObjectInformationA@20 @371 + GetUserObjectInformationW@20 @372 + GetUserObjectSecurity@20 @373 + GetWindow@8 @374 + GetWindowContextHelpId@4 @375 + GetWindowDC@4 @376 + GetWindowInfo@8 @377 + GetWindowLongA@8 @378 + GetWindowLongW@8 @379 + GetWindowModuleFileName@12=GetWindowModuleFileNameA@12 @380 + GetWindowModuleFileNameA@12 @381 + GetWindowModuleFileNameW@12 @382 + GetWindowPlacement@8 @383 + GetWindowRect@8 @384 + GetWindowRgn@8 @385 + GetWindowRgnBox@8 @386 + GetWindowTextA@12 @387 + GetWindowTextLengthA@4 @388 + GetWindowTextLengthW@4 @389 + GetWindowTextW@12 @390 + GetWindowThreadProcessId@8 @391 + GetWindowWord@8 @392 + GetXWindowId@4 @393 + GrayStringA@36 @394 + GrayStringW@36 @395 + HideCaret@4 @396 + HiliteMenuItem@16 @397 + ImpersonateDdeClientWindow@8 @398 + InSendMessage@0 @399 + InSendMessageEx@4 @400 + InflateRect@12 @401 + InsertMenuA@20 @402 + InsertMenuItemA@16 @403 + InsertMenuItemW@16 @404 + InsertMenuW@20 @405 + InternalGetWindowText@12 @406 + IntersectRect@12 @407 + InvalidateRect@12 @408 + InvalidateRgn@12 @409 + InvertRect@8 @410 + IsCharAlphaA@4 @411 + IsCharAlphaNumericA@4 @412 + IsCharAlphaNumericW@4 @413 + IsCharAlphaW@4 @414 + IsCharLowerA@4 @415 + IsCharLowerW@4 @416 + IsCharUpperA@4 @417 + IsCharUpperW@4 @418 + IsChild@8 @419 + IsClipboardFormatAvailable@4 @420 + IsDialogMessage@8=IsDialogMessageA@8 @421 + IsDialogMessageA@8 @422 + IsDialogMessageW@8 @423 + IsDlgButtonChecked@8 @424 + IsGUIThread@4 @425 + IsHungAppWindow@4 @426 + IsIconic@4 @427 + IsMenu@4 @428 + IsProcessDPIAware@0 @429 + IsRectEmpty@4 @430 + IsTouchWindow@8 @431 + IsWinEventHookInstalled@4 @432 + IsWindow@4 @433 + IsWindowEnabled@4 @434 + IsWindowRedirectedForPrint@4 @435 + IsWindowUnicode@4 @436 + IsWindowVisible@4 @437 + IsZoomed@4 @438 + KillSystemTimer@8 @439 + KillTimer@8 @440 + LoadAcceleratorsA@8 @441 + LoadAcceleratorsW@8 @442 + LoadBitmapA@8 @443 + LoadBitmapW@8 @444 + LoadCursorA@8 @445 + LoadCursorFromFileA@4 @446 + LoadCursorFromFileW@4 @447 + LoadCursorW@8 @448 + LoadIconA@8 @449 + LoadIconW@8 @450 + LoadImageA@24 @451 + LoadImageW@24 @452 + LoadKeyboardLayoutA@8 @453 + LoadKeyboardLayoutW@8 @454 + LoadLocalFonts@0 @455 + LoadMenuA@8 @456 + LoadMenuIndirectA@4 @457 + LoadMenuIndirectW@4 @458 + LoadMenuW@8 @459 + LoadStringA@16 @461 + LoadStringW@16 @462 + LockSetForegroundWindow@4 @463 + LockWindowUpdate@4 @465 + LockWorkStation@0 @466 + LogicalToPhysicalPoint@8 @467 + LookupIconIdFromDirectory@8 @468 + LookupIconIdFromDirectoryEx@20 @469 + MapDialogRect@8 @471 + MapVirtualKeyA@8 @472 + MapVirtualKeyExA@12 @473 + MapVirtualKeyExW@12 @474 + MapVirtualKeyW@8 @475 + MapWindowPoints@16 @476 + MenuItemFromPoint@16 @477 + MessageBeep@4 @480 + MessageBoxA@16 @481 + MessageBoxExA@20 @482 + MessageBoxExW@20 @483 + MessageBoxIndirectA@4 @484 + MessageBoxIndirectW@4 @485 + MessageBoxTimeoutA@24 @486 + MessageBoxTimeoutW@24 @487 + MessageBoxW@16 @488 + ModifyMenuA@20 @489 + ModifyMenuW@20 @490 + MonitorFromPoint@12 @491 + MonitorFromRect@8 @492 + MonitorFromWindow@8 @493 + MoveWindow@24 @494 + MsgWaitForMultipleObjects@20 @495 + MsgWaitForMultipleObjectsEx@20 @496 + NotifyWinEvent@16 @497 + OemKeyScan@4 @498 + OemToCharA@8 @499 + OemToCharBuffA@12 @500 + OemToCharBuffW@12 @501 + OemToCharW@8 @502 + OffsetRect@12 @503 + OpenClipboard@4 @504 + OpenDesktopA@16 @505 + OpenDesktopW@16 @506 + OpenIcon@4 @507 + OpenInputDesktop@12 @508 + OpenWindowStationA@12 @509 + OpenWindowStationW@12 @510 + PackDDElParam@12 @511 + PaintDesktop@4 @512 + PeekMessageA@20 @513 + PeekMessageW@20 @514 + PhysicalToLogicalPoint@8 @515 + PostMessageA@16 @517 + PostMessageW@16 @518 + PostQuitMessage@4 @519 + PostThreadMessageA@16 @520 + PostThreadMessageW@16 @521 + PrintWindow@12 @522 + PrivateExtractIconExA@20 @523 + PrivateExtractIconExW@20 @524 + PrivateExtractIconsA@32 @525 + PrivateExtractIconsW@32 @526 + PtInRect@12 @527 + QueryDisplayConfig@24 @528 + RealChildWindowFromPoint@12 @530 + RealGetWindowClass@12=RealGetWindowClassA@12 @531 + RealGetWindowClassA@12 @532 + RealGetWindowClassW@12 @533 + RedrawWindow@16 @534 + RegisterClassA@4 @535 + RegisterClassExA@4 @536 + RegisterClassExW@4 @537 + RegisterClassW@4 @538 + RegisterClipboardFormatA@4 @539 + RegisterClipboardFormatW@4 @540 + RegisterDeviceNotificationA@12 @541 + RegisterDeviceNotificationW@12 @542 + RegisterHotKey@16 @543 + RegisterLogonProcess@8 @544 + RegisterPowerSettingNotification@12 @546 + RegisterRawInputDevices@12 @547 + RegisterServicesProcess@4 @548 + RegisterShellHookWindow@4 @549 + RegisterSystemThread@8 @550 + RegisterTasklist@4 @551 + RegisterTouchWindow@8 @552 + RegisterWindowMessageA@4 @553 + RegisterWindowMessageW@4 @554 + ReleaseCapture@0 @555 + ReleaseDC@8 @556 + RemoveClipboardFormatListener@4 @557 + RemoveMenu@12 @558 + RemovePropA@8 @559 + RemovePropW@8 @560 + ReplyMessage@4 @561 + ReuseDDElParam@20 @563 + ScreenToClient@8 @564 + ScrollChildren@16 @565 + ScrollDC@28 @566 + ScrollWindow@20 @567 + ScrollWindowEx@32 @568 + SendDlgItemMessageA@20 @569 + SendDlgItemMessageW@20 @570 + SendIMEMessageExA@8 @571 + SendIMEMessageExW@8 @572 + SendInput@12 @573 + SendMessageA@16 @574 + SendMessageCallbackA@24 @575 + SendMessageCallbackW@24 @576 + SendMessageTimeoutA@28 @577 + SendMessageTimeoutW@28 @578 + SendMessageW@16 @579 + SendNotifyMessageA@16 @580 + SendNotifyMessageW@16 @581 + SetActiveWindow@4 @583 + SetCapture@4 @584 + SetCaretBlinkTime@4 @585 + SetCaretPos@8 @586 + SetClassLongA@12 @587 + SetClassLongW@12 @588 + SetClassWord@12 @589 + SetClipboardData@8 @590 + SetClipboardViewer@4 @591 + SetCoalescableTimer@20 @592 + SetCursor@4 @593 + SetCursorPos@8 @595 + SetDebugErrorLevel@4 @596 + SetDeskWallPaper@4 @597 + SetDlgItemInt@16 @598 + SetDlgItemTextA@12 @599 + SetDlgItemTextW@12 @600 + SetDoubleClickTime@4 @601 + SetFocus@4 @602 + SetForegroundWindow@4 @603 + WINE_SetForegroundWindow@4 @604 + SetGestureConfig@20 @605 + SetInternalWindowPos@16 @606 + SetKeyboardState@4 @607 + SetLastErrorEx@8 @608 + SetLayeredWindowAttributes@16 @609 + SetLogonNotifyWindow@8 @610 + SetMenu@8 @611 + SetMenuContextHelpId@8 @612 + SetMenuDefaultItem@12 @613 + SetMenuInfo@8 @614 + SetMenuItemBitmaps@20 @615 + SetMenuItemInfoA@16 @616 + SetMenuItemInfoW@16 @617 + SetMessageExtraInfo@4 @618 + SetMessageQueue@4 @619 + SetParent@8 @620 + SetPhysicalCursorPos@8 @621 + SetProcessDefaultLayout@4 @622 + SetProcessDPIAware@0 @623 + SetProcessWindowStation@4 @624 + SetProgmanWindow@4 @625 + SetPropA@12 @626 + SetPropW@12 @627 + SetRect@20 @628 + SetRectEmpty@4 @629 + SetScrollInfo@16 @630 + SetScrollPos@16 @631 + SetScrollRange@20 @632 + SetShellWindow@4 @633 + SetShellWindowEx@8 @634 + SetSysColors@12 @635 + SetSysColorsTemp@12 @636 + SetSystemCursor@8 @637 + SetSystemMenu@8 @638 + SetSystemTimer@16 @639 + SetTaskmanWindow@4 @640 + SetThreadDesktop@4 @641 + SetTimer@16 @642 + SetUserObjectInformationA@16 @643 + SetUserObjectInformationW@16 @644 + SetUserObjectSecurity@12 @645 + SetWinEventHook@28 @646 + SetWindowContextHelpId@8 @647 + SetWindowLongA@12 @649 + SetWindowLongW@12 @650 + SetWindowPlacement@8 @651 + SetWindowPos@28 @652 + SetWindowRgn@12 @653 + SetWindowStationUser@8 @654 + SetWindowTextA@8 @655 + SetWindowTextW@8 @656 + SetWindowWord@12 @657 + SetWindowsHookA@8 @658 + SetWindowsHookExA@16 @659 + SetWindowsHookExW@16 @660 + SetWindowsHookW@8 @661 + ShowCaret@4 @662 + ShowCursor@4 @663 + ShowOwnedPopups@8 @664 + ShowScrollBar@12 @665 + ShowWindow@8 @667 + ShowWindowAsync@8 @668 + ShutdownBlockReasonCreate@8 @669 + ShutdownBlockReasonDestroy@4 @670 + SubtractRect@12 @671 + SwapMouseButton@4 @672 + SwitchDesktop@4 @673 + SwitchToThisWindow@8 @674 + SystemParametersInfoA@16 @675 + SystemParametersInfoW@16 @676 + TabbedTextOutA@32 @677 + TabbedTextOutW@32 @678 + TileChildWindows@8 @679 + TileWindows@20 @680 + ToAscii@20 @681 + ToAsciiEx@24 @682 + ToUnicode@24 @683 + ToUnicodeEx@28 @684 + TrackMouseEvent@4 @685 + TrackPopupMenu@28 @686 + TrackPopupMenuEx@24 @687 + TranslateAccelerator@12=TranslateAcceleratorA@12 @688 + TranslateAcceleratorA@12 @689 + TranslateAcceleratorW@12 @690 + TranslateMDISysAccel@8 @691 + TranslateMessage@4 @692 + UnhookWinEvent@4 @693 + UnhookWindowsHook@8 @694 + UnhookWindowsHookEx@4 @695 + UnionRect@12 @696 + UnloadKeyboardLayout@4 @697 + UnpackDDElParam@16 @699 + UnregisterClassA@8 @700 + UnregisterClassW@8 @701 + UnregisterDeviceNotification@4 @702 + UnregisterHotKey@8 @703 + UnregisterPowerSettingNotification@4 @704 + UnregisterTouchWindow@4 @705 + UpdateLayeredWindow@36 @706 + UpdateLayeredWindowIndirect@8 @707 + UpdateWindow@4 @709 + User32InitializeImmEntryTable@4 @710 + UserClientDllInitialize@12=DllMain@12 @711 + UserHandleGrantAccess@12 @712 + UserRealizePalette@4 @713 + UserRegisterWowHandlers@8 @714 + UserSignalProc@16 @715 + ValidateRect@8 @716 + ValidateRgn@8 @717 + VkKeyScanA@4 @718 + VkKeyScanExA@8 @719 + VkKeyScanExW@8 @720 + VkKeyScanW@4 @721 + WINNLSEnableIME@8 @723 + WINNLSGetEnableStatus@4 @724 + WINNLSGetIMEHotkey@4 @725 + WaitForInputIdle@8 @727 + WaitMessage@0 @728 + WinHelpA@16 @729 + WinHelpW@16 @730 + WindowFromDC@4 @731 + WindowFromPoint@8 @732 + keybd_event@16 @733 + mouse_event@20 @734 + wsprintfA @735 + wsprintfW @736 + wvsprintfA@12 @737 + wvsprintfW@12 @738 + __wine_send_input @739 + __wine_set_pixel_format @740 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuserenv.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuserenv.def new file mode 100644 index 0000000..a38063e --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuserenv.def @@ -0,0 +1,26 @@ +; File generated automatically from ./dlls/userenv/userenv.spec; do not edit! + +LIBRARY userenv.dll + +EXPORTS + CreateEnvironmentBlock@12 @139 + DestroyEnvironmentBlock@4 @140 + EnterCriticalPolicySection@4 @141 + ExpandEnvironmentStringsForUserA@16 @142 + ExpandEnvironmentStringsForUserW@16 @143 + GetAllUsersProfileDirectoryA@8 @144 + GetAllUsersProfileDirectoryW@8 @145 + GetAppliedGPOListW@20 @146 + GetDefaultUserProfileDirectoryA@8 @147 + GetDefaultUserProfileDirectoryW@8 @148 + GetProfilesDirectoryA@8 @149 + GetProfilesDirectoryW@8 @150 + GetProfileType@4 @151 + GetUserProfileDirectoryA@12 @152 + GetUserProfileDirectoryW@12 @153 + LeaveCriticalPolicySection@4 @154 + LoadUserProfileA@8 @155 + LoadUserProfileW@8 @156 + RegisterGPNotification@8 @157 + UnloadUserProfile@8 @158 + UnregisterGPNotification@4 @159 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libusp10.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libusp10.def new file mode 100644 index 0000000..64aefb1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libusp10.def @@ -0,0 +1,42 @@ +; File generated automatically from ./dlls/usp10/usp10.spec; do not edit! + +LIBRARY usp10.dll + +EXPORTS + ScriptApplyDigitSubstitution@12 @2 + ScriptApplyLogicalWidth@36 @3 + ScriptBreak@16 @4 + ScriptCPtoX@36 @5 + ScriptCacheGetHeight@12 @6 + ScriptFreeCache@4 @7 + ScriptGetCMap@24 @8 + ScriptGetFontFeatureTags@32 @10 + ScriptGetFontLanguageTags@28 @11 + ScriptGetFontProperties@12 @12 + ScriptGetFontScriptTags@24 @13 + ScriptGetGlyphABCWidth@16 @14 + ScriptGetLogicalWidths@28 @15 + ScriptGetProperties@8 @16 + ScriptIsComplex@12 @17 + ScriptItemize@28 @18 + ScriptItemizeOpenType@32 @19 + ScriptJustify@24 @20 + ScriptLayout@16 @21 + ScriptPlace@36 @22 + ScriptPlaceOpenType@72 @23 + ScriptRecordDigitSubstitution@8 @25 + ScriptShape@40 @26 + ScriptShapeOpenType@64 @27 + ScriptStringAnalyse@52 @28 + ScriptStringCPtoX@16 @29 + ScriptStringFree@4 @30 + ScriptStringGetLogicalWidths@8 @31 + ScriptStringGetOrder@8 @32 + ScriptStringOut@32 @33 + ScriptStringValidate@4 @34 + ScriptStringXtoCP@16 @35 + ScriptString_pLogAttr@4 @36 + ScriptString_pSize@4 @37 + ScriptString_pcOutChars@4 @38 + ScriptTextOut@56 @40 + ScriptXtoCP@36 @41 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuuid.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuuid.a new file mode 100644 index 0000000..1c0a690 Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuuid.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuxtheme.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuxtheme.def new file mode 100644 index 0000000..e36c982 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libuxtheme.def @@ -0,0 +1,80 @@ +; File generated automatically from ./dlls/uxtheme/uxtheme.spec; do not edit! + +LIBRARY uxtheme.dll + +EXPORTS + QueryThemeServices@0 @1 NONAME + OpenThemeFile@20 @2 NONAME + CloseThemeFile@4 @3 NONAME + ApplyTheme@12 @4 NONAME + GetThemeDefaults@20 @7 NONAME + EnumThemes@12 @8 NONAME + EnumThemeColors@16 @9 NONAME + EnumThemeSizes@16 @10 NONAME + ParseThemeIniFile@16 @11 NONAME + CheckThemeSignature@4 @29 NONAME + OpenThemeDataEx@12 @61 + BeginBufferedAnimation@32 @5 + BeginBufferedPaint@20 @6 + BufferedPaintClear@8 @12 + BufferedPaintInit@0 @37 + BufferedPaintRenderAnimation@8 @38 + BufferedPaintSetAlpha@12 @39 + BufferedPaintStopAllAnimations@4 @40 + BufferedPaintUnInit@0 @41 + CloseThemeData@4 @42 + DrawThemeBackground@24 @47 + DrawThemeBackgroundEx@24 @49 + DrawThemeEdge@32 @50 + DrawThemeIcon@28 @51 + DrawThemeParentBackground@12 @52 + DrawThemeText@36 @53 + DrawThemeTextEx@36 @54 + EnableThemeDialogTexture@8 @55 + EnableTheming@4 @56 + EndBufferedAnimation@8 @57 + EndBufferedPaint@8 @58 + GetBufferedPaintBits@12 @59 + GetBufferedPaintDC@4 @64 + GetBufferedPaintTargetDC@4 @65 + GetBufferedPaintTargetRect@8 @66 + GetCurrentThemeName@24 @67 + GetThemeAppProperties@0 @68 + GetThemeBackgroundContentRect@24 @69 + GetThemeBackgroundExtent@24 @70 + GetThemeBackgroundRegion@24 @71 + GetThemeBool@20 @72 + GetThemeColor@20 @73 + GetThemeDocumentationProperty@16 @74 + GetThemeEnumValue@20 @75 + GetThemeFilename@24 @76 + GetThemeFont@24 @77 + GetThemeInt@20 @78 + GetThemeIntList@20 @79 + GetThemeMargins@28 @80 + GetThemeMetric@24 @81 + GetThemePartSize@28 @82 + GetThemePosition@20 @83 + GetThemePropertyOrigin@20 @84 + GetThemeRect@20 @85 + GetThemeString@24 @86 + GetThemeSysBool@8 @87 + GetThemeSysColor@8 @88 + GetThemeSysColorBrush@8 @89 + GetThemeSysFont@12 @90 + GetThemeSysInt@12 @91 + GetThemeSysSize@8 @92 + GetThemeSysString@16 @93 + GetThemeTextExtent@36 @94 + GetThemeTextMetrics@20 @95 + GetThemeTransitionDuration@24 @96 + GetWindowTheme@4 @97 + HitTestThemeBackground@40 @98 + IsAppThemed@0 @99 + IsThemeActive@0 @100 + IsThemeBackgroundPartiallyTransparent@12 @101 + IsThemeDialogTextureEnabled@4 @102 + IsThemePartDefined@12 @103 + OpenThemeData@8 @104 + SetThemeAppProperties@4 @105 + SetWindowTheme@12 @106 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libvdmdbg.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libvdmdbg.def new file mode 100644 index 0000000..74eb355 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libvdmdbg.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/vdmdbg/vdmdbg.spec; do not edit! + +LIBRARY vdmdbg.dll + +EXPORTS + VDMEnumProcessWOW@8 @3 + VDMEnumTaskWOW@12 @4 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libversion.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libversion.def new file mode 100644 index 0000000..ac3b2ef --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libversion.def @@ -0,0 +1,21 @@ +; File generated automatically from ./dlls/version/version.spec; do not edit! + +LIBRARY version.dll + +EXPORTS + GetFileVersionInfoA@16 @1 + GetFileVersionInfoExA@20 @2 + GetFileVersionInfoExW@20 @3 + GetFileVersionInfoSizeA@8 @4 + GetFileVersionInfoSizeExA@12 @5 + GetFileVersionInfoSizeExW@12 @6 + GetFileVersionInfoSizeW@8 @7 + GetFileVersionInfoW@16 @8 + VerFindFileA@32 @9 + VerFindFileW@32 @10 + VerInstallFileA@32 @11 + VerInstallFileW@32 @12 + VerLanguageNameA@12=kernel32.VerLanguageNameA @13 + VerLanguageNameW@12=kernel32.VerLanguageNameW @14 + VerQueryValueA@16 @15 + VerQueryValueW@16 @16 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwebservices.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwebservices.def new file mode 100644 index 0000000..b1658ee --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwebservices.def @@ -0,0 +1,137 @@ +; File generated automatically from ./dlls/webservices/webservices.spec; do not edit! + +LIBRARY webservices.dll + +EXPORTS + WsAbortServiceProxy@8 @6 + WsAcceptChannel@16 @7 + WsAddCustomHeader@28 @8 + WsAddMappedHeader@28 @10 + WsAddressMessage@12 @11 + WsAlloc@16 @12 + WsCall@32 @14 + WsCloseChannel@12 @16 + WsCloseListener@12 @17 + WsCloseServiceProxy@12 @19 + WsCopyNode@12 @22 + WsCreateChannel@28 @23 + WsCreateChannelForListener@20 @24 + WsCreateError@12 @25 + WsCreateHeap@24 @27 + WsCreateListener@28 @28 + WsCreateMessage@24 @29 + WsCreateMessageForChannel@20 @30 + WsCreateReader@16 @32 + WsCreateServiceProxy@36 @35 + WsCreateServiceProxyFromTemplate@40 @36 + WsCreateWriter@16 @37 + WsCreateXmlBuffer@20 @38 + WsDateTimeToFileTime@12 @40 + WsDecodeUrl@20 @41 + WsEncodeUrl@20 @42 + WsFileTimeToDateTime@12 @45 + WsFillReader@16 @47 + WsFindAttribute@24 @48 + WsFreeChannel@4 @51 + WsFreeError@4 @52 + WsFreeHeap@4 @53 + WsFreeListener@4 @54 + WsFreeMessage@4 @55 + WsFreeReader@4 @57 + WsFreeServiceProxy@4 @60 + WsFreeWriter@4 @61 + WsGetChannelProperty@20 @62 + WsGetCustomHeader@40 @63 + WsGetDictionary@12 @64 + WsGetErrorProperty@16 @65 + WsGetErrorString@12 @66 + WsGetHeader@32 @69 + WsGetHeapProperty@20 @71 + WsGetListenerProperty@20 @72 + WsGetMessageProperty@20 @74 + WsGetNamespaceFromPrefix@20 @78 + WsGetPrefixFromNamespace@20 @82 + WsGetReaderNode@12 @83 + WsGetReaderPosition@12 @84 + WsGetReaderProperty@20 @85 + WsGetServiceProxyProperty@20 @89 + WsGetWriterPosition@12 @90 + WsGetWriterProperty@20 @91 + WsGetXmlAttribute@24 @92 + WsInitializeMessage@16 @93 + WsMoveReader@16 @96 + WsMoveWriter@16 @97 + WsOpenChannel@16 @98 + WsOpenListener@16 @99 + WsOpenServiceProxy@16 @101 + WsReadAttribute@28 @105 + WsReadBody@28 @106 + WsReadBytes@20 @107 + WsReadChars@20 @108 + WsReadCharsUtf8@20 @109 + WsReadElement@28 @110 + WsReadEndAttribute@8 @111 + WsReadEndElement@8 @112 + WsReadEnvelopeEnd@8 @114 + WsReadEnvelopeStart@20 @115 + WsReadMessageEnd@16 @116 + WsReadMessageStart@16 @117 + WsReadNode@8 @119 + WsReadQualifiedName@24 @120 + WsReadStartAttribute@12 @121 + WsReadStartElement@8 @122 + WsReadToStartElement@20 @123 + WsReadType@36 @124 + WsReadValue@20 @125 + WsReadXmlBuffer@16 @126 + WsReceiveMessage@48 @128 + WsRemoveCustomHeader@16 @130 + WsRemoveHeader@12 @131 + WsRemoveMappedHeader@12 @132 + WsResetChannel@8 @136 + WsResetError@4 @137 + WsResetHeap@8 @138 + WsResetListener@8 @139 + WsResetMessage@8 @140 + WsResetServiceProxy@8 @143 + WsSendMessage@32 @146 + WsSendReplyMessage@36 @147 + WsSetChannelProperty@20 @148 + WsSetErrorProperty@16 @149 + WsSetHeader@28 @152 + WsSetInput@24 @153 + WsSetInputToBuffer@20 @154 + WsSetListenerProperty@20 @155 + WsSetMessageProperty@20 @156 + WsSetOutput@24 @157 + WsSetOutputToBuffer@20 @158 + WsSetReaderPosition@12 @159 + WsSetWriterPosition@12 @160 + WsSkipNode@8 @162 + WsWriteArray@36 @167 + WsWriteAttribute@24 @168 + WsWriteBody@24 @169 + WsWriteBytes@16 @170 + WsWriteChars@16 @171 + WsWriteCharsUtf8@16 @172 + WsWriteElement@24 @173 + WsWriteEndAttribute@8 @174 + WsWriteEndCData@8 @175 + WsWriteEndElement@8 @176 + WsWriteEndStartElement@8 @177 + WsWriteEnvelopeEnd@8 @178 + WsWriteEnvelopeStart@20 @179 + WsWriteMessageEnd@16 @180 + WsWriteMessageStart@16 @181 + WsWriteNode@12 @182 + WsWriteQualifiedName@20 @183 + WsWriteStartAttribute@24 @184 + WsWriteStartCData@8 @185 + WsWriteStartElement@20 @186 + WsWriteText@12 @187 + WsWriteType@32 @188 + WsWriteValue@20 @189 + WsWriteXmlBuffer@12 @190 + WsWriteXmlBufferToBytes@36 @191 + WsWriteXmlnsAttribute@20 @192 + WsXmlStringEquals@12 @193 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwer.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwer.def new file mode 100644 index 0000000..7b8b608 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwer.def @@ -0,0 +1,14 @@ +; File generated automatically from ./dlls/wer/wer.spec; do not edit! + +LIBRARY wer.dll + +EXPORTS + WerAddExcludedApplication@8 @64 + WerRemoveExcludedApplication@8 @65 + WerReportAddDump@28 @66 + WerReportAddFile@16 @67 + WerReportCloseHandle@4 @68 + WerReportCreate@16 @69 + WerReportSetParameter@16 @70 + WerReportSetUIOption@12 @71 + WerReportSubmit@16 @72 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecs.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecs.def new file mode 100644 index 0000000..b73a058 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecs.def @@ -0,0 +1,113 @@ +; File generated automatically from ./dlls/windowscodecs/windowscodecs.spec; do not edit! + +LIBRARY windowscodecs.dll + +EXPORTS + DllCanUnloadNow@0 @1 PRIVATE + DllGetClassObject@12 @2 PRIVATE + DllRegisterServer@0 @3 PRIVATE + DllUnregisterServer@0 @4 PRIVATE + IPropertyBag2_Write_Proxy@16 @7 + IWICBitmapClipper_Initialize_Proxy@12=IWICBitmapClipper_Initialize_Proxy_W@12 @8 + IWICBitmapCodecInfo_DoesSupportAnimation_Proxy@8=IWICBitmapCodecInfo_DoesSupportAnimation_Proxy_W@8 @9 + IWICBitmapCodecInfo_DoesSupportLossless_Proxy@8=IWICBitmapCodecInfo_DoesSupportLossless_Proxy_W@8 @10 + IWICBitmapCodecInfo_DoesSupportMultiframe_Proxy@8=IWICBitmapCodecInfo_DoesSupportMultiframe_Proxy_W@8 @11 + IWICBitmapCodecInfo_GetContainerFormat_Proxy@8=IWICBitmapCodecInfo_GetContainerFormat_Proxy_W@8 @12 + IWICBitmapCodecInfo_GetDeviceManufacturer_Proxy@16=IWICBitmapCodecInfo_GetDeviceManufacturer_Proxy_W@16 @13 + IWICBitmapCodecInfo_GetDeviceModels_Proxy@16=IWICBitmapCodecInfo_GetDeviceModels_Proxy_W@16 @14 + IWICBitmapCodecInfo_GetFileExtensions_Proxy@16=IWICBitmapCodecInfo_GetFileExtensions_Proxy_W@16 @15 + IWICBitmapCodecInfo_GetMimeTypes_Proxy@16=IWICBitmapCodecInfo_GetMimeTypes_Proxy_W@16 @16 + IWICBitmapDecoder_CopyPalette_Proxy@8=IWICBitmapDecoder_CopyPalette_Proxy_W@8 @17 + IWICBitmapDecoder_GetColorContexts_Proxy@16=IWICBitmapDecoder_GetColorContexts_Proxy_W@16 @18 + IWICBitmapDecoder_GetDecoderInfo_Proxy@8=IWICBitmapDecoder_GetDecoderInfo_Proxy_W@8 @19 + IWICBitmapDecoder_GetFrameCount_Proxy@8=IWICBitmapDecoder_GetFrameCount_Proxy_W@8 @20 + IWICBitmapDecoder_GetFrame_Proxy@12=IWICBitmapDecoder_GetFrame_Proxy_W@12 @21 + IWICBitmapDecoder_GetMetadataQueryReader_Proxy@8=IWICBitmapDecoder_GetMetadataQueryReader_Proxy_W@8 @22 + IWICBitmapDecoder_GetPreview_Proxy@8=IWICBitmapDecoder_GetPreview_Proxy_W@8 @23 + IWICBitmapDecoder_GetThumbnail_Proxy@8=IWICBitmapDecoder_GetThumbnail_Proxy_W@8 @24 + IWICBitmapEncoder_Commit_Proxy@4=IWICBitmapEncoder_Commit_Proxy_W@4 @25 + IWICBitmapEncoder_CreateNewFrame_Proxy@12=IWICBitmapEncoder_CreateNewFrame_Proxy_W@12 @26 + IWICBitmapEncoder_GetEncoderInfo_Proxy@8=IWICBitmapEncoder_GetEncoderInfo_Proxy_W@8 @27 + IWICBitmapEncoder_GetMetadataQueryWriter_Proxy@8=IWICBitmapEncoder_GetMetadataQueryWriter_Proxy_W@8 @28 + IWICBitmapEncoder_Initialize_Proxy@12=IWICBitmapEncoder_Initialize_Proxy_W@12 @29 + IWICBitmapEncoder_SetPalette_Proxy@8=IWICBitmapEncoder_SetPalette_Proxy_W@8 @30 + IWICBitmapEncoder_SetThumbnail_Proxy@8=IWICBitmapEncoder_SetThumbnail_Proxy_W@8 @31 + IWICBitmapFlipRotator_Initialize_Proxy@12=IWICBitmapFlipRotator_Initialize_Proxy_W@12 @32 + IWICBitmapFrameDecode_GetColorContexts_Proxy@16=IWICBitmapFrameDecode_GetColorContexts_Proxy_W@16 @33 + IWICBitmapFrameDecode_GetMetadataQueryReader_Proxy@8=IWICBitmapFrameDecode_GetMetadataQueryReader_Proxy_W@8 @34 + IWICBitmapFrameDecode_GetThumbnail_Proxy@8=IWICBitmapFrameDecode_GetThumbnail_Proxy_W@8 @35 + IWICBitmapFrameEncode_Commit_Proxy@4=IWICBitmapFrameEncode_Commit_Proxy_W@4 @36 + IWICBitmapFrameEncode_GetMetadataQueryWriter_Proxy@8=IWICBitmapFrameEncode_GetMetadataQueryWriter_Proxy_W@8 @37 + IWICBitmapFrameEncode_Initialize_Proxy@8=IWICBitmapFrameEncode_Initialize_Proxy_W@8 @38 + IWICBitmapFrameEncode_SetColorContexts_Proxy@12=IWICBitmapFrameEncode_SetColorContexts_Proxy_W@12 @39 + IWICBitmapFrameEncode_SetResolution_Proxy@20=IWICBitmapFrameEncode_SetResolution_Proxy_W@20 @40 + IWICBitmapFrameEncode_SetSize_Proxy@12=IWICBitmapFrameEncode_SetSize_Proxy_W@12 @41 + IWICBitmapFrameEncode_SetThumbnail_Proxy@8=IWICBitmapFrameEncode_SetThumbnail_Proxy_W@8 @42 + IWICBitmapFrameEncode_WriteSource_Proxy@12=IWICBitmapFrameEncode_WriteSource_Proxy_W@12 @43 + IWICBitmapLock_GetDataPointer_STA_Proxy@12=IWICBitmapLock_GetDataPointer_Proxy_W@12 @44 + IWICBitmapLock_GetStride_Proxy@8=IWICBitmapLock_GetStride_Proxy_W@8 @45 + IWICBitmapScaler_Initialize_Proxy@20=IWICBitmapScaler_Initialize_Proxy_W@20 @46 + IWICBitmapSource_CopyPalette_Proxy@8=IWICBitmapSource_CopyPalette_Proxy_W@8 @47 + IWICBitmapSource_CopyPixels_Proxy@20=IWICBitmapSource_CopyPixels_Proxy_W@20 @48 + IWICBitmapSource_GetPixelFormat_Proxy@8=IWICBitmapSource_GetPixelFormat_Proxy_W@8 @49 + IWICBitmapSource_GetResolution_Proxy@12=IWICBitmapSource_GetResolution_Proxy_W@12 @50 + IWICBitmapSource_GetSize_Proxy@12=IWICBitmapSource_GetSize_Proxy_W@12 @51 + IWICBitmap_Lock_Proxy@16=IWICBitmap_Lock_Proxy_W@16 @52 + IWICBitmap_SetPalette_Proxy@8=IWICBitmap_SetPalette_Proxy_W@8 @53 + IWICBitmap_SetResolution_Proxy@20=IWICBitmap_SetResolution_Proxy_W@20 @54 + IWICColorContext_InitializeFromMemory_Proxy@12=IWICColorContext_InitializeFromMemory_Proxy_W@12 @55 + IWICComponentFactory_CreateMetadataWriterFromReader_Proxy@16=IWICComponentFactory_CreateMetadataWriterFromReader_Proxy_W@16 @56 + IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy@12=IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy_W@12 @57 + IWICComponentInfo_GetAuthor_Proxy@16=IWICComponentInfo_GetAuthor_Proxy_W@16 @58 + IWICComponentInfo_GetCLSID_Proxy@8=IWICComponentInfo_GetCLSID_Proxy_W@8 @59 + IWICComponentInfo_GetFriendlyName_Proxy@16=IWICComponentInfo_GetFriendlyName_Proxy_W@16 @60 + IWICComponentInfo_GetSpecVersion_Proxy@16=IWICComponentInfo_GetSpecVersion_Proxy_W@16 @61 + IWICComponentInfo_GetVersion_Proxy@16=IWICComponentInfo_GetVersion_Proxy_W@16 @62 + IWICFastMetadataEncoder_Commit_Proxy@4=IWICFastMetadataEncoder_Commit_Proxy_W@4 @63 + IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy@8=IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy_W@8 @64 + IWICFormatConverter_Initialize_Proxy@32=IWICFormatConverter_Initialize_Proxy_W@32 @65 + IWICImagingFactory_CreateBitmapClipper_Proxy@8=IWICImagingFactory_CreateBitmapClipper_Proxy_W@8 @66 + IWICImagingFactory_CreateBitmapFlipRotator_Proxy@8=IWICImagingFactory_CreateBitmapFlipRotator_Proxy_W@8 @67 + IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy@20=IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy_W@20 @68 + IWICImagingFactory_CreateBitmapFromHICON_Proxy@12=IWICImagingFactory_CreateBitmapFromHICON_Proxy_W@12 @69 + IWICImagingFactory_CreateBitmapFromMemory_Proxy@32=IWICImagingFactory_CreateBitmapFromMemory_Proxy_W@32 @70 + IWICImagingFactory_CreateBitmapFromSource_Proxy@16=IWICImagingFactory_CreateBitmapFromSource_Proxy_W@16 @71 + IWICImagingFactory_CreateBitmapScaler_Proxy@8=IWICImagingFactory_CreateBitmapScaler_Proxy_W@8 @72 + IWICImagingFactory_CreateBitmap_Proxy@24=IWICImagingFactory_CreateBitmap_Proxy_W@24 @73 + IWICImagingFactory_CreateComponentInfo_Proxy@12=IWICImagingFactory_CreateComponentInfo_Proxy_W@12 @74 + IWICImagingFactory_CreateDecoderFromFileHandle_Proxy@20=IWICImagingFactory_CreateDecoderFromFileHandle_Proxy_W@20 @75 + IWICImagingFactory_CreateDecoderFromFilename_Proxy@24=IWICImagingFactory_CreateDecoderFromFilename_Proxy_W@24 @76 + IWICImagingFactory_CreateDecoderFromStream_Proxy@20=IWICImagingFactory_CreateDecoderFromStream_Proxy_W@20 @77 + IWICImagingFactory_CreateEncoder_Proxy@16=IWICImagingFactory_CreateEncoder_Proxy_W@16 @78 + IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy@12=IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy_W@12 @79 + IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy@12=IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy_W@12 @80 + IWICImagingFactory_CreateFormatConverter_Proxy@8=IWICImagingFactory_CreateFormatConverter_Proxy_W@8 @81 + IWICImagingFactory_CreatePalette_Proxy@8=IWICImagingFactory_CreatePalette_Proxy_W@8 @82 + IWICImagingFactory_CreateQueryWriterFromReader_Proxy@16=IWICImagingFactory_CreateQueryWriterFromReader_Proxy_W@16 @83 + IWICImagingFactory_CreateQueryWriter_Proxy@16=IWICImagingFactory_CreateQueryWriter_Proxy_W@16 @84 + IWICImagingFactory_CreateStream_Proxy@8=IWICImagingFactory_CreateStream_Proxy_W@8 @85 + IWICMetadataBlockReader_GetCount_Proxy@8=IWICMetadataBlockReader_GetCount_Proxy_W@8 @86 + IWICMetadataBlockReader_GetReaderByIndex_Proxy@12=IWICMetadataBlockReader_GetReaderByIndex_Proxy_W@12 @87 + IWICMetadataQueryReader_GetContainerFormat_Proxy@8=IWICMetadataQueryReader_GetContainerFormat_Proxy_W@8 @88 + IWICMetadataQueryReader_GetEnumerator_Proxy@8=IWICMetadataQueryReader_GetEnumerator_Proxy_W@8 @89 + IWICMetadataQueryReader_GetLocation_Proxy@16=IWICMetadataQueryReader_GetLocation_Proxy_W@16 @90 + IWICMetadataQueryReader_GetMetadataByName_Proxy@12=IWICMetadataQueryReader_GetMetadataByName_Proxy_W@12 @91 + IWICMetadataQueryWriter_RemoveMetadataByName_Proxy@8=IWICMetadataQueryWriter_RemoveMetadataByName_Proxy_W@8 @92 + IWICMetadataQueryWriter_SetMetadataByName_Proxy@12=IWICMetadataQueryWriter_SetMetadataByName_Proxy_W@12 @93 + IWICPalette_GetColorCount_Proxy@8=IWICPalette_GetColorCount_Proxy_W@8 @94 + IWICPalette_GetColors_Proxy@16=IWICPalette_GetColors_Proxy_W@16 @95 + IWICPalette_GetType_Proxy@8=IWICPalette_GetType_Proxy_W@8 @96 + IWICPalette_HasAlpha_Proxy@8=IWICPalette_HasAlpha_Proxy_W@8 @97 + IWICPalette_InitializeCustom_Proxy@12=IWICPalette_InitializeCustom_Proxy_W@12 @98 + IWICPalette_InitializeFromBitmap_Proxy@16=IWICPalette_InitializeFromBitmap_Proxy_W@16 @99 + IWICPalette_InitializeFromPalette_Proxy@8=IWICPalette_InitializeFromPalette_Proxy_W@8 @100 + IWICPalette_InitializePredefined_Proxy@12=IWICPalette_InitializePredefined_Proxy_W@12 @101 + IWICStream_InitializeFromIStream_Proxy@8=IWICStream_InitializeFromIStream_Proxy_W@8 @105 + IWICStream_InitializeFromMemory_Proxy@12=IWICStream_InitializeFromMemory_Proxy_W@12 @106 + WICConvertBitmapSource@12 @107 + WICCreateColorContext_Proxy@8 @109 + WICCreateImagingFactory_Proxy@8 @110 + WICMapGuidToShortName@16 @112 + WICMapSchemaToName@20 @113 + WICMapShortNameToGuid@8 @114 + WICSetEncoderFormat_Proxy@16 @117 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecsext.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecsext.def new file mode 100644 index 0000000..08c55e4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwindowscodecsext.def @@ -0,0 +1,8 @@ +; File generated automatically from ./dlls/windowscodecsext/windowscodecsext.spec; do not edit! + +LIBRARY windowscodecsext.dll + +EXPORTS + DllGetClassObject@12 @1 PRIVATE + IWICColorTransform_Initialize_Proxy@20=IWICColorTransform_Initialize_Proxy_W@20 @2 + WICCreateColorTransform_Proxy@4 @3 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so new file mode 120000 index 0000000..2a2759a --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1 \ No newline at end of file diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinecrt0.a b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinecrt0.a new file mode 100644 index 0000000..4910bf9 Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinecrt0.a differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwined3d.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwined3d.def new file mode 100644 index 0000000..4658bbe --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwined3d.def @@ -0,0 +1,307 @@ +; File generated automatically from ./dlls/wined3d/wined3d.spec; do not edit! + +LIBRARY wined3d.dll + +EXPORTS + wined3d_mutex_lock@0 @1 + wined3d_mutex_unlock@0 @2 + wined3d_calculate_format_pitch @3 + wined3d_check_depth_stencil_match @4 + wined3d_check_device_format @5 + wined3d_check_device_format_conversion @6 + wined3d_check_device_multisample_type @7 + wined3d_check_device_type @8 + wined3d_create @9 + wined3d_decref @10 + wined3d_enum_adapter_modes @11 + wined3d_find_closest_matching_adapter_mode @12 + wined3d_get_adapter_count @13 + wined3d_get_adapter_display_mode @14 + wined3d_get_adapter_identifier @15 + wined3d_get_adapter_mode_count @16 + wined3d_get_adapter_raster_status @17 + wined3d_get_device_caps @18 + wined3d_get_output_desc @19 + wined3d_incref @20 + wined3d_register_software_device @21 + wined3d_set_adapter_display_mode @22 + wined3d_buffer_create @23 + wined3d_buffer_create_ib @24 + wined3d_buffer_create_vb @25 + wined3d_buffer_decref @26 + wined3d_buffer_get_parent @27 + wined3d_buffer_get_resource @28 + wined3d_buffer_incref @29 + wined3d_device_acquire_focus_window @30 + wined3d_device_begin_scene @31 + wined3d_device_begin_stateblock @32 + wined3d_device_clear @33 + wined3d_device_clear_rendertarget_view @34 + wined3d_device_clear_unordered_access_view_uint @35 + wined3d_device_copy_resource @36 + wined3d_device_copy_sub_resource_region @37 + wined3d_device_copy_uav_counter @38 + wined3d_device_create @39 + wined3d_device_decref @40 + wined3d_device_dispatch_compute @41 + wined3d_device_dispatch_compute_indirect @42 + wined3d_device_draw_indexed_primitive @43 + wined3d_device_draw_indexed_primitive_instanced @44 + wined3d_device_draw_primitive @45 + wined3d_device_draw_primitive_instanced @46 + wined3d_device_end_scene @47 + wined3d_device_end_stateblock @48 + wined3d_device_evict_managed_resources @49 + wined3d_device_get_available_texture_mem @50 + wined3d_device_get_base_vertex_index @51 + wined3d_device_get_clip_plane @52 + wined3d_device_get_clip_status @53 + wined3d_device_get_compute_shader @54 + wined3d_device_get_creation_parameters @55 + wined3d_device_get_cs_cb @56 + wined3d_device_get_cs_resource_view @57 + wined3d_device_get_cs_sampler @58 + wined3d_device_get_cs_uav @59 + wined3d_device_get_depth_stencil_view @60 + wined3d_device_get_device_caps @61 + wined3d_device_get_display_mode @62 + wined3d_device_get_domain_shader @63 + wined3d_device_get_ds_cb @64 + wined3d_device_get_ds_resource_view @65 + wined3d_device_get_ds_sampler @66 + wined3d_device_get_gamma_ramp @67 + wined3d_device_get_geometry_shader @68 + wined3d_device_get_gs_cb @69 + wined3d_device_get_gs_resource_view @70 + wined3d_device_get_gs_sampler @71 + wined3d_device_get_hs_cb @72 + wined3d_device_get_hs_resource_view @73 + wined3d_device_get_hs_sampler @74 + wined3d_device_get_hull_shader @75 + wined3d_device_get_index_buffer @76 + wined3d_device_get_light @77 + wined3d_device_get_light_enable @78 + wined3d_device_get_material @79 + wined3d_device_get_npatch_mode @80 + wined3d_device_get_pixel_shader @81 + wined3d_device_get_predication @82 + wined3d_device_get_primitive_type @83 + wined3d_device_get_ps_cb @84 + wined3d_device_get_ps_consts_b @85 + wined3d_device_get_ps_consts_f @86 + wined3d_device_get_ps_consts_i @87 + wined3d_device_get_ps_resource_view @88 + wined3d_device_get_ps_sampler @89 + wined3d_device_get_raster_status @90 + wined3d_device_get_rasterizer_state @91 + wined3d_device_get_render_state @92 + wined3d_device_get_rendertarget_view @93 + wined3d_device_get_sampler_state @94 + wined3d_device_get_scissor_rect @95 + wined3d_device_get_software_vertex_processing @96 + wined3d_device_get_stream_output @97 + wined3d_device_get_stream_source @98 + wined3d_device_get_stream_source_freq @99 + wined3d_device_get_swapchain @100 + wined3d_device_get_swapchain_count @101 + wined3d_device_get_texture @102 + wined3d_device_get_texture_stage_state @103 + wined3d_device_get_transform @104 + wined3d_device_get_unordered_access_view @105 + wined3d_device_get_vertex_declaration @106 + wined3d_device_get_vertex_shader @107 + wined3d_device_get_viewport @108 + wined3d_device_get_vs_cb @109 + wined3d_device_get_vs_consts_b @110 + wined3d_device_get_vs_consts_f @111 + wined3d_device_get_vs_consts_i @112 + wined3d_device_get_vs_resource_view @113 + wined3d_device_get_vs_sampler @114 + wined3d_device_get_wined3d @115 + wined3d_device_incref @116 + wined3d_device_init_3d @117 + wined3d_device_init_gdi @118 + wined3d_device_multiply_transform @119 + wined3d_device_process_vertices @120 + wined3d_device_release_focus_window @121 + wined3d_device_reset @122 + wined3d_device_restore_fullscreen_window @123 + wined3d_device_set_base_vertex_index @124 + wined3d_device_set_clip_plane @125 + wined3d_device_set_clip_status @126 + wined3d_device_set_compute_shader @127 + wined3d_device_set_cs_cb @128 + wined3d_device_set_cs_resource_view @129 + wined3d_device_set_cs_sampler @130 + wined3d_device_set_cs_uav @131 + wined3d_device_set_cursor_position @132 + wined3d_device_set_cursor_properties @133 + wined3d_device_set_depth_stencil_view @134 + wined3d_device_set_dialog_box_mode @135 + wined3d_device_set_domain_shader @136 + wined3d_device_set_ds_cb @137 + wined3d_device_set_ds_resource_view @138 + wined3d_device_set_ds_sampler @139 + wined3d_device_set_gamma_ramp @140 + wined3d_device_set_geometry_shader @141 + wined3d_device_set_gs_cb @142 + wined3d_device_set_gs_resource_view @143 + wined3d_device_set_gs_sampler @144 + wined3d_device_set_hs_cb @145 + wined3d_device_set_hs_resource_view @146 + wined3d_device_set_hs_sampler @147 + wined3d_device_set_hull_shader @148 + wined3d_device_set_index_buffer @149 + wined3d_device_set_light @150 + wined3d_device_set_light_enable @151 + wined3d_device_set_material @152 + wined3d_device_set_multithreaded @153 + wined3d_device_set_npatch_mode @154 + wined3d_device_set_pixel_shader @155 + wined3d_device_set_predication @156 + wined3d_device_set_primitive_type @157 + wined3d_device_set_ps_cb @158 + wined3d_device_set_ps_consts_b @159 + wined3d_device_set_ps_consts_f @160 + wined3d_device_set_ps_consts_i @161 + wined3d_device_set_ps_resource_view @162 + wined3d_device_set_ps_sampler @163 + wined3d_device_set_rasterizer_state @164 + wined3d_device_set_render_state @165 + wined3d_device_set_rendertarget_view @166 + wined3d_device_set_sampler_state @167 + wined3d_device_set_scissor_rect @168 + wined3d_device_set_software_vertex_processing @169 + wined3d_device_set_stream_output @170 + wined3d_device_set_stream_source @171 + wined3d_device_set_stream_source_freq @172 + wined3d_device_set_texture @173 + wined3d_device_set_texture_stage_state @174 + wined3d_device_set_transform @175 + wined3d_device_set_unordered_access_view @176 + wined3d_device_set_vertex_declaration @177 + wined3d_device_set_vertex_shader @178 + wined3d_device_set_viewport @179 + wined3d_device_set_vs_cb @180 + wined3d_device_set_vs_consts_b @181 + wined3d_device_set_vs_consts_f @182 + wined3d_device_set_vs_consts_i @183 + wined3d_device_set_vs_resource_view @184 + wined3d_device_set_vs_sampler @185 + wined3d_device_setup_fullscreen_window @186 + wined3d_device_show_cursor @187 + wined3d_device_uninit_3d @188 + wined3d_device_uninit_gdi @189 + wined3d_device_update_sub_resource @190 + wined3d_device_update_texture @191 + wined3d_device_validate_device @192 + wined3d_palette_create @193 + wined3d_palette_decref @194 + wined3d_palette_get_entries @195 + wined3d_palette_apply_to_dc @196 + wined3d_palette_incref @197 + wined3d_palette_set_entries @198 + wined3d_query_create @199 + wined3d_query_decref @200 + wined3d_query_get_data @201 + wined3d_query_get_data_size @202 + wined3d_query_get_parent @203 + wined3d_query_get_type @204 + wined3d_query_incref @205 + wined3d_query_issue @206 + wined3d_rasterizer_state_create @207 + wined3d_rasterizer_state_decref @208 + wined3d_rasterizer_state_get_parent @209 + wined3d_rasterizer_state_incref @210 + wined3d_resource_get_desc @211 + wined3d_resource_get_parent @212 + wined3d_resource_get_priority @213 + wined3d_resource_map @214 + wined3d_resource_preload @215 + wined3d_resource_set_parent @216 + wined3d_resource_set_priority @217 + wined3d_resource_unmap @218 + wined3d_rendertarget_view_create @219 + wined3d_rendertarget_view_create_from_sub_resource @220 + wined3d_rendertarget_view_decref @221 + wined3d_rendertarget_view_get_parent @222 + wined3d_rendertarget_view_get_resource @223 + wined3d_rendertarget_view_get_sub_resource_parent @224 + wined3d_rendertarget_view_incref @225 + wined3d_rendertarget_view_set_parent @226 + wined3d_sampler_create @227 + wined3d_sampler_decref @228 + wined3d_sampler_get_parent @229 + wined3d_sampler_incref @230 + wined3d_shader_create_cs @231 + wined3d_shader_create_ds @232 + wined3d_shader_create_gs @233 + wined3d_shader_create_hs @234 + wined3d_shader_create_ps @235 + wined3d_shader_create_vs @236 + wined3d_shader_decref @237 + wined3d_shader_get_byte_code @238 + wined3d_shader_get_parent @239 + wined3d_shader_incref @240 + wined3d_shader_set_local_constants_float @241 + wined3d_shader_resource_view_create @242 + wined3d_shader_resource_view_decref @243 + wined3d_shader_resource_view_get_parent @244 + wined3d_shader_resource_view_incref @245 + wined3d_stateblock_apply @246 + wined3d_stateblock_capture @247 + wined3d_stateblock_create @248 + wined3d_stateblock_decref @249 + wined3d_stateblock_incref @250 + wined3d_swapchain_create @251 + wined3d_swapchain_decref @252 + wined3d_swapchain_get_back_buffer @253 + wined3d_swapchain_get_device @254 + wined3d_swapchain_get_display_mode @255 + wined3d_swapchain_get_front_buffer_data @256 + wined3d_swapchain_get_gamma_ramp @257 + wined3d_swapchain_get_parent @258 + wined3d_swapchain_get_desc @259 + wined3d_swapchain_get_raster_status @260 + wined3d_swapchain_incref @261 + wined3d_swapchain_present @262 + wined3d_swapchain_resize_buffers @263 + wined3d_swapchain_resize_target @264 + wined3d_swapchain_set_fullscreen @265 + wined3d_swapchain_set_gamma_ramp @266 + wined3d_swapchain_set_palette @267 + wined3d_swapchain_set_window @268 + wined3d_texture_add_dirty_region @269 + wined3d_texture_blt @270 + wined3d_texture_create @271 + wined3d_texture_decref @272 + wined3d_texture_from_resource @273 + wined3d_texture_generate_mipmaps @274 + wined3d_texture_get_autogen_filter_type @275 + wined3d_texture_get_dc @276 + wined3d_texture_get_level_count @277 + wined3d_texture_get_lod @278 + wined3d_texture_get_overlay_position @279 + wined3d_texture_get_parent @280 + wined3d_texture_get_pitch @281 + wined3d_texture_get_resource @282 + wined3d_texture_get_sub_resource_desc @283 + wined3d_texture_get_sub_resource_parent @284 + wined3d_texture_incref @285 + wined3d_texture_release_dc @286 + wined3d_texture_set_autogen_filter_type @287 + wined3d_texture_set_color_key @288 + wined3d_texture_set_lod @289 + wined3d_texture_set_overlay_position @290 + wined3d_texture_set_sub_resource_parent @291 + wined3d_texture_update_desc @292 + wined3d_texture_update_overlay @293 + wined3d_unordered_access_view_create @294 + wined3d_unordered_access_view_decref @295 + wined3d_unordered_access_view_get_parent @296 + wined3d_unordered_access_view_incref @297 + wined3d_vertex_declaration_create @298 + wined3d_vertex_declaration_create_from_fvf @299 + wined3d_vertex_declaration_decref @300 + wined3d_vertex_declaration_get_parent @301 + wined3d_vertex_declaration_incref @302 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinhttp.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinhttp.def new file mode 100644 index 0000000..9a2cbc7 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinhttp.def @@ -0,0 +1,36 @@ +; File generated automatically from ./dlls/winhttp/winhttp.spec; do not edit! + +LIBRARY winhttp.dll + +EXPORTS + DllCanUnloadNow@0 @1 PRIVATE + DllGetClassObject@12 @2 PRIVATE + DllRegisterServer@0 @3 PRIVATE + DllUnregisterServer@0 @4 PRIVATE + WinHttpAddRequestHeaders@16 @5 + WinHttpCheckPlatform@0 @6 + WinHttpCloseHandle@4 @7 + WinHttpConnect@16 @8 + WinHttpCrackUrl@16 @9 + WinHttpCreateUrl@16 @10 + WinHttpDetectAutoProxyConfigUrl@8 @11 + WinHttpGetDefaultProxyConfiguration@4 @12 + WinHttpGetIEProxyConfigForCurrentUser@4 @13 + WinHttpGetProxyForUrl@16 @14 + WinHttpOpen@20 @15 + WinHttpOpenRequest@28 @16 + WinHttpQueryAuthSchemes@16 @17 + WinHttpQueryDataAvailable@8 @18 + WinHttpQueryHeaders@24 @19 + WinHttpQueryOption@16 @20 + WinHttpReadData@16 @21 + WinHttpReceiveResponse@8 @22 + WinHttpSendRequest@28 @23 + WinHttpSetCredentials@24 @24 + WinHttpSetDefaultProxyConfiguration@4 @25 + WinHttpSetOption@16 @26 + WinHttpSetStatusCallback@16 @27 + WinHttpSetTimeouts@20 @28 + WinHttpTimeFromSystemTime@8 @29 + WinHttpTimeToSystemTime@8 @30 + WinHttpWriteData@16 @31 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwininet.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwininet.def new file mode 100644 index 0000000..01cb9b2 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwininet.def @@ -0,0 +1,210 @@ +; File generated automatically from ./dlls/wininet/wininet.spec; do not edit! + +LIBRARY wininet.dll + +EXPORTS + GetDiskInfoA@16 @102 NONAME + IsDomainLegalCookieDomainW@8 @117 NONAME + CommitUrlCacheEntryA@44 @106 + CommitUrlCacheEntryW@44 @107 + CreateMD5SSOHash@16 @113 + CreateUrlCacheContainerA@32 @114 + CreateUrlCacheContainerW@32 @115 + CreateUrlCacheEntryA@20 @119 + CreateUrlCacheEntryW@20 @124 + CreateUrlCacheGroup@8 @125 + DeleteIE3Cache@16 @126 + DeleteUrlCacheContainerA@8 @127 + DeleteUrlCacheContainerW@8 @128 + DeleteUrlCacheEntry@4=DeleteUrlCacheEntryA@4 @129 + DeleteUrlCacheEntryA@4 @130 + DeleteUrlCacheEntryW@4 @131 + DeleteUrlCacheGroup@16 @132 + DeleteWpadCacheForNetworks@4 @133 + DetectAutoProxyUrl@12 @134 + DllInstall@8 @135 PRIVATE + FindCloseUrlCache@4 @136 + FindFirstUrlCacheContainerA@16 @137 + FindFirstUrlCacheContainerW@16 @138 + FindFirstUrlCacheEntryA@12 @139 + FindFirstUrlCacheEntryExA@40 @140 + FindFirstUrlCacheEntryExW@40 @141 + FindFirstUrlCacheEntryW@12 @142 + FindFirstUrlCacheGroup@24 @143 + FindNextUrlCacheContainerA@12 @144 + FindNextUrlCacheContainerW@12 @145 + FindNextUrlCacheEntryA@12 @146 + FindNextUrlCacheEntryExA@24 @147 + FindNextUrlCacheEntryExW@24 @148 + FindNextUrlCacheEntryW@12 @149 + FindNextUrlCacheGroup@12 @150 + FreeUrlCacheSpaceA@12 @153 + FreeUrlCacheSpaceW@12 @154 + FtpCommandA@24 @155 + FtpCommandW@24 @156 + FtpCreateDirectoryA@8 @157 + FtpCreateDirectoryW@8 @158 + FtpDeleteFileA@8 @159 + FtpDeleteFileW@8 @160 + FtpFindFirstFileA@20 @161 + FtpFindFirstFileW@20 @162 + FtpGetCurrentDirectoryA@12 @163 + FtpGetCurrentDirectoryW@12 @164 + FtpGetFileA@28 @165 + FtpGetFileSize@8 @167 + FtpGetFileW@28 @168 + FtpOpenFileA@20 @169 + FtpOpenFileW@20 @170 + FtpPutFileA@20 @171 + FtpPutFileW@20 @173 + FtpRemoveDirectoryA@8 @174 + FtpRemoveDirectoryW@8 @175 + FtpRenameFileA@12 @176 + FtpRenameFileW@12 @177 + FtpSetCurrentDirectoryA@8 @178 + FtpSetCurrentDirectoryW@8 @179 + GetUrlCacheConfigInfoA@12 @180 + GetUrlCacheConfigInfoW@12 @181 + GetUrlCacheEntryInfoA@12 @182 + GetUrlCacheEntryInfoExA@28 @183 + GetUrlCacheEntryInfoExW@28 @184 + GetUrlCacheEntryInfoW@12 @185 + GetUrlCacheGroupAttributeA@28 @186 + GetUrlCacheGroupAttributeW@28 @187 + GopherCreateLocatorA@28 @189 + GopherCreateLocatorW@28 @190 + GopherFindFirstFileA@24 @191 + GopherFindFirstFileW@24 @192 + GopherGetAttributeA@32 @193 + GopherGetAttributeW@32 @194 + GopherGetLocatorTypeA@8 @195 + GopherGetLocatorTypeW@8 @196 + GopherOpenFileA@20 @197 + GopherOpenFileW@20 @198 + HttpAddRequestHeadersA@16 @199 + HttpAddRequestHeadersW@16 @200 + HttpEndRequestA@16 @202 + HttpEndRequestW@16 @203 + HttpOpenRequestA@32 @204 + HttpOpenRequestW@32 @205 + HttpQueryInfoA@20 @206 + HttpQueryInfoW@20 @207 + HttpSendRequestA@20 @208 + HttpSendRequestExA@20 @209 + HttpSendRequestExW@20 @210 + HttpSendRequestW@20 @211 + IncrementUrlCacheHeaderData@8 @212 + InternetAttemptConnect@4 @215 + InternetAutodial@8 @216 + InternetAutodialHangup@4 @218 + InternetCanonicalizeUrlA@16 @219 + InternetCanonicalizeUrlW@16 @220 + InternetCheckConnectionA@12 @221 + InternetCheckConnectionW@12 @222 + InternetClearAllPerSiteCookieDecisions@0 @223 + InternetCloseHandle@4 @224 + InternetCombineUrlA@20 @225 + InternetCombineUrlW@20 @226 + InternetConfirmZoneCrossing@16=InternetConfirmZoneCrossingA@16 @227 + InternetConfirmZoneCrossingA@16 @228 + InternetConfirmZoneCrossingW@16 @229 + InternetConnectA@32 @230 + InternetConnectW@32 @231 + InternetCrackUrlA@16 @232 + InternetCrackUrlW@16 @233 + InternetCreateUrlA@16 @234 + InternetCreateUrlW@16 @235 + InternetDial@20=InternetDialA@20 @237 + InternetDialA@20 @238 + InternetDialW@20 @239 + InternetEnumPerSiteCookieDecisionA@16 @240 + InternetEnumPerSiteCookieDecisionW@16 @241 + InternetErrorDlg@20 @242 + InternetFindNextFileA@8 @243 + InternetFindNextFileW@8 @244 + InternetGetConnectedState@8 @248 + InternetGetConnectedStateEx@16=InternetGetConnectedStateExA@16 @249 + InternetGetConnectedStateExA@16 @250 + InternetGetConnectedStateExW@16 @251 + InternetGetCookieA@16 @252 + InternetGetCookieExA@24 @253 + InternetGetCookieExW@24 @254 + InternetGetCookieW@16 @255 + InternetGetLastResponseInfoA@12 @256 + InternetGetLastResponseInfoW@12 @257 + InternetGetPerSiteCookieDecisionA@8 @258 + InternetGetPerSiteCookieDecisionW@8 @259 + InternetGetSecurityInfoByURL@12=InternetGetSecurityInfoByURLA@12 @260 + InternetGetSecurityInfoByURLA@12 @261 + InternetGetSecurityInfoByURLW@12 @262 + InternetGoOnline@12=InternetGoOnlineA@12 @263 + InternetGoOnlineA@12 @264 + InternetGoOnlineW@12 @265 + InternetHangUp@8 @266 + InternetInitializeAutoProxyDll@4 @267 + InternetLockRequestFile@8 @268 + InternetOpenA@20 @269 + InternetOpenUrlA@24 @271 + InternetOpenUrlW@24 @272 + InternetOpenW@20 @273 + InternetQueryDataAvailable@16 @274 + InternetQueryFortezzaStatus@8 @275 + InternetQueryOptionA@16 @276 + InternetQueryOptionW@16 @277 + InternetReadFile@16 @278 + InternetReadFileExA@16 @279 + InternetReadFileExW@16 @280 + InternetSetCookieA@12 @284 + InternetSetCookieExA@20 @285 + InternetSetCookieExW@20 @286 + InternetSetCookieW@12 @287 + InternetSetFilePointer@20 @291 + InternetSetOptionA@16 @292 + InternetSetOptionExA@20 @293 + InternetSetOptionExW@20 @294 + InternetSetOptionW@16 @295 + InternetSetPerSiteCookieDecisionA@8 @296 + InternetSetPerSiteCookieDecisionW@8 @297 + InternetSetStatusCallback@8=InternetSetStatusCallbackA@8 @298 + InternetSetStatusCallbackA@8 @299 + InternetSetStatusCallbackW@8 @300 + InternetShowSecurityInfoByURL@8=InternetShowSecurityInfoByURLA@8 @301 + InternetShowSecurityInfoByURLA@8 @302 + InternetShowSecurityInfoByURLW@8 @303 + InternetTimeFromSystemTime@16=InternetTimeFromSystemTimeA@16 @304 + InternetTimeFromSystemTimeA@16 @305 + InternetTimeFromSystemTimeW@16 @306 + InternetTimeToSystemTime@12=InternetTimeToSystemTimeA@12 @307 + InternetTimeToSystemTimeA@12 @308 + InternetTimeToSystemTimeW@12 @309 + InternetUnlockRequestFile@4 @310 + InternetWriteFile@16 @311 + IsHostInProxyBypassList@12 @314 + IsUrlCacheEntryExpiredA@12 @315 + IsUrlCacheEntryExpiredW@12 @316 + LoadUrlCacheContent@0 @317 + PrivacyGetZonePreferenceW@20 @319 + PrivacySetZonePreferenceW@16 @320 + ReadUrlCacheEntryStream@20 @321 + RegisterUrlCacheNotification@24 @322 + ResumeSuspendedDownload@8 @323 + RetrieveUrlCacheEntryFileA@16 @324 + RetrieveUrlCacheEntryFileW@16 @325 + RetrieveUrlCacheEntryStreamA@20 @326 + RetrieveUrlCacheEntryStreamW@20 @327 + RunOnceUrlCache@16 @328 + SetUrlCacheConfigInfoA@8 @329 + SetUrlCacheConfigInfoW@8 @330 + SetUrlCacheEntryGroup@28=SetUrlCacheEntryGroupA@28 @331 + SetUrlCacheEntryGroupA@28 @332 + SetUrlCacheEntryGroupW@28 @333 + SetUrlCacheEntryInfoA@12 @334 + SetUrlCacheEntryInfoW@12 @335 + SetUrlCacheGroupAttributeA@24 @336 + SetUrlCacheGroupAttributeW@24 @337 + ShowClientAuthCerts@4 @340 + ShowX509EncodedCertificate@12 @342 + UnlockUrlCacheEntryFile@8=UnlockUrlCacheEntryFileA@8 @343 + UnlockUrlCacheEntryFileA@8 @344 + UnlockUrlCacheEntryFileW@8 @345 + UnlockUrlCacheEntryStream@8 @346 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinmm.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinmm.def new file mode 100644 index 0000000..7c75d56 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinmm.def @@ -0,0 +1,190 @@ +; File generated automatically from ./dlls/winmm/winmm.spec; do not edit! + +LIBRARY winmm.dll + +EXPORTS + CloseDriver@12 @5 + DefDriverProc@20 @6 + DriverCallback@28 @7 + DrvClose@12=CloseDriver@12 @8 + DrvDefDriverProc@20=DefDriverProc@20 @9 + DrvGetModuleHandle@4=GetDriverModuleHandle@4 @10 + DrvOpen@12=OpenDriver@12 @11 + DrvOpenA@12=OpenDriverA@12 @12 + DrvSendMessage@16=SendDriverMessage@16 @13 + GetDriverFlags@4 @14 + GetDriverModuleHandle@4 @15 + OpenDriver@12 @16 + OpenDriverA@12 @17 + PlaySound@12=PlaySoundA@12 @18 + PlaySoundA@12 @19 + PlaySoundW@12 @20 + SendDriverMessage@16 @21 + auxGetDevCapsA@12 @22 + auxGetDevCapsW@12 @23 + auxGetNumDevs@0 @24 + auxGetVolume@8 @25 + auxOutMessage@16 @26 + auxSetVolume@8 @27 + joyConfigChanged@4 @28 + joyGetDevCapsA@12 @29 + joyGetDevCapsW@12 @30 + joyGetNumDevs@0 @31 + joyGetPos@8 @32 + joyGetPosEx@8 @33 + joyGetThreshold@8 @34 + joyReleaseCapture@4 @35 + joySetCapture@16 @36 + joySetThreshold@8 @37 + mciDriverNotify@12 @38 + mciDriverYield@4 @39 + mciExecute@4 @40 + mciFreeCommandResource@4 @41 + mciGetCreatorTask@4 @42 + mciGetDeviceIDA@4 @43 + mciGetDeviceIDFromElementIDA@8 @44 + mciGetDeviceIDFromElementIDW@8 @45 + mciGetDeviceIDW@4 @46 + mciGetDriverData@4 @47 + mciGetErrorStringA@12 @48 + mciGetErrorStringW@12 @49 + mciGetYieldProc@8 @50 + mciLoadCommandResource@12 @51 + mciSendCommandA@16 @52 + mciSendCommandW@16 @53 + mciSendStringA@16 @54 + mciSendStringW@16 @55 + mciSetDriverData@8 @56 + mciSetYieldProc@12 @57 + midiConnect@12 @58 + midiDisconnect@12 @59 + midiInAddBuffer@12 @60 + midiInClose@4 @61 + midiInGetDevCapsA@12 @62 + midiInGetDevCapsW@12 @63 + midiInGetErrorTextA@12=midiOutGetErrorTextA@12 @64 + midiInGetErrorTextW@12=midiOutGetErrorTextW@12 @65 + midiInGetID@8 @66 + midiInGetNumDevs@0 @67 + midiInMessage@16 @68 + midiInOpen@20 @69 + midiInPrepareHeader@12 @70 + midiInReset@4 @71 + midiInStart@4 @72 + midiInStop@4 @73 + midiInUnprepareHeader@12 @74 + midiOutCacheDrumPatches@16 @75 + midiOutCachePatches@16 @76 + midiOutClose@4 @77 + midiOutGetDevCapsA@12 @78 + midiOutGetDevCapsW@12 @79 + midiOutGetErrorTextA@12 @80 + midiOutGetErrorTextW@12 @81 + midiOutGetID@8 @82 + midiOutGetNumDevs@0 @83 + midiOutGetVolume@8 @84 + midiOutLongMsg@12 @85 + midiOutMessage@16 @86 + midiOutOpen@20 @87 + midiOutPrepareHeader@12 @88 + midiOutReset@4 @89 + midiOutSetVolume@8 @90 + midiOutShortMsg@8 @91 + midiOutUnprepareHeader@12 @92 + midiStreamClose@4 @93 + midiStreamOpen@24 @94 + midiStreamOut@12 @95 + midiStreamPause@4 @96 + midiStreamPosition@12 @97 + midiStreamProperty@12 @98 + midiStreamRestart@4 @99 + midiStreamStop@4 @100 + mixerClose@4 @101 + mixerGetControlDetailsA@12 @102 + mixerGetControlDetailsW@12 @103 + mixerGetDevCapsA@12 @104 + mixerGetDevCapsW@12 @105 + mixerGetID@12 @106 + mixerGetLineControlsA@12 @107 + mixerGetLineControlsW@12 @108 + mixerGetLineInfoA@12 @109 + mixerGetLineInfoW@12 @110 + mixerGetNumDevs@0 @111 + mixerMessage@16 @112 + mixerOpen@20 @113 + mixerSetControlDetails@12 @114 + mmGetCurrentTask@0 @115 + mmTaskBlock@4 @116 + mmTaskCreate@12 @117 + mmTaskSignal@4 @118 + mmTaskYield@0 @119 + mmioAdvance@12 @120 + mmioAscend@12 @121 + mmioClose@8 @122 + mmioCreateChunk@12 @123 + mmioDescend@16 @124 + mmioFlush@8 @125 + mmioGetInfo@12 @126 + mmioInstallIOProcA@12 @128 + mmioInstallIOProcW@12 @129 + mmioOpenA@12 @130 + mmioOpenW@12 @131 + mmioRead@12 @132 + mmioRenameA@16 @133 + mmioRenameW@16 @134 + mmioSeek@12 @135 + mmioSendMessage@16 @136 + mmioSetBuffer@16 @137 + mmioSetInfo@12 @138 + mmioStringToFOURCCA@8 @139 + mmioStringToFOURCCW@8 @140 + mmioWrite@12 @141 + mmsystemGetVersion@0 @142 + sndPlaySoundA@8 @143 + sndPlaySoundW@8 @144 + timeBeginPeriod@4 @145 + timeEndPeriod@4 @146 + timeGetDevCaps@8 @147 + timeGetSystemTime@8 @148 + timeGetTime@0=kernel32.GetTickCount @149 + timeKillEvent@4 @150 + timeSetEvent@20 @151 + waveInAddBuffer@12 @152 + waveInClose@4 @153 + waveInGetDevCapsA@12 @154 + waveInGetDevCapsW@12 @155 + waveInGetErrorTextA@12=waveOutGetErrorTextA@12 @156 + waveInGetErrorTextW@12=waveOutGetErrorTextW@12 @157 + waveInGetID@8 @158 + waveInGetNumDevs@0 @159 + waveInGetPosition@12 @160 + waveInMessage@16 @161 + waveInOpen@24 @162 + waveInPrepareHeader@12 @163 + waveInReset@4 @164 + waveInStart@4 @165 + waveInStop@4 @166 + waveInUnprepareHeader@12 @167 + waveOutBreakLoop@4 @168 + waveOutClose@4 @169 + waveOutGetDevCapsA@12 @170 + waveOutGetDevCapsW@12 @171 + waveOutGetErrorTextA@12 @172 + waveOutGetErrorTextW@12 @173 + waveOutGetID@8 @174 + waveOutGetNumDevs@0 @175 + waveOutGetPitch@8 @176 + waveOutGetPlaybackRate@8 @177 + waveOutGetPosition@12 @178 + waveOutGetVolume@8 @179 + waveOutMessage@16 @180 + waveOutOpen@24 @181 + waveOutPause@4 @182 + waveOutPrepareHeader@12 @183 + waveOutReset@4 @184 + waveOutRestart@4 @185 + waveOutSetPitch@8 @186 + waveOutSetPlaybackRate@8 @187 + waveOutSetVolume@8 @188 + waveOutUnprepareHeader@12 @189 + waveOutWrite@12 @190 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinnls32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinnls32.def new file mode 100644 index 0000000..4eaf761 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinnls32.def @@ -0,0 +1,7 @@ +; File generated automatically from ./dlls/winnls32/winnls32.spec; do not edit! + +LIBRARY winnls32.dll + +EXPORTS + WINNLS32EnableIME@8 @1 + WINNLS32GetEnableStatus@4 @2 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinscard.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinscard.def new file mode 100644 index 0000000..0be4444 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinscard.def @@ -0,0 +1,20 @@ +; File generated automatically from ./dlls/winscard/winscard.spec; do not edit! + +LIBRARY winscard.dll + +EXPORTS + SCardAccessStartedEvent@0 @5 + SCardAddReaderToGroupA@12 @6 + SCardAddReaderToGroupW@12 @7 + SCardEstablishContext@16 @15 + SCardIsValidContext@4 @36 + SCardListCardsA@24 @37 + SCardListReadersA@16 @43 + SCardListReadersW@16 @44 + SCardReleaseContext@4 @50 + SCardReleaseStartedEvent@0 @51 + SCardStatusA@28 @58 + SCardStatusW@28 @59 + g_rgSCardRawPci @61 DATA + g_rgSCardT0Pci @62 DATA + g_rgSCardT1Pci @63 DATA diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinspool.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinspool.def new file mode 100644 index 0000000..17a34d1 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwinspool.def @@ -0,0 +1,137 @@ +; File generated automatically from ./dlls/winspool.drv/winspool.drv.spec; do not edit! + +LIBRARY winspool.drv + +EXPORTS + GetDefaultPrinterA@8 @201 + SetDefaultPrinterA@4 @202 + GetDefaultPrinterW@8 @203 + SetDefaultPrinterW@4 @204 + AbortPrinter@4 @108 + AddFormA@12 @109 + AddFormW@12 @110 + AddJobA@20 @111 + AddJobW@20 @112 + AddMonitorA@12 @113 + AddMonitorW@12 @114 + AddPortA@12 @115 + AddPortExA@16 @116 + AddPortExW@16 @117 + AddPortW@12 @118 + AddPrintProcessorA@16 @119 + AddPrintProcessorW@16 @120 + AddPrintProvidorA@12 @121 + AddPrintProvidorW@12 @122 + AddPrinterA@12 @123 + AddPrinterConnectionA@4 @124 + AddPrinterConnectionW@4 @125 + AddPrinterDriverA@12 @126 + AddPrinterDriverExA@16 @127 + AddPrinterDriverExW@16 @128 + AddPrinterDriverW@12 @129 + AddPrinterW@12 @130 + AdvancedDocumentPropertiesA@20 @131 + AdvancedDocumentPropertiesW@20 @132 + ClosePrinter@4 @134 + ConfigurePortA@12 @135 + ConfigurePortW@12 @136 + ConnectToPrinterDlg@8 @137 + DeleteFormA@8 @143 + DeleteFormW@8 @144 + DeleteMonitorA@12 @145 + DeleteMonitorW@12 @146 + DeletePortA@12 @147 + DeletePortW@12 @148 + DeletePrintProcessorA@12 @149 + DeletePrintProcessorW@12 @150 + DeletePrintProvidorA@12 @151 + DeletePrintProvidorW@12 @152 + DeletePrinter@4 @153 + DeletePrinterConnectionA@4 @154 + DeletePrinterConnectionW@4 @155 + DeletePrinterDataExA@12 @156 + DeletePrinterDataExW@12 @157 + DeletePrinterDriverA@12 @158 + DeletePrinterDriverExA@20 @159 + DeletePrinterDriverExW@20 @160 + DeletePrinterDriverW@12 @161 + DeviceCapabilities@20=DeviceCapabilitiesA@20 @164 + DeviceCapabilitiesA@20 @165 + DeviceCapabilitiesW@20 @166 + DocumentEventW@28 @168 + DocumentPropertiesA@24 @169 + DocumentPropertiesW@24 @170 + EndDocPrinter@4 @172 + EndPagePrinter@4 @173 + EnumFormsA@24 @174 + EnumFormsW@24 @175 + EnumJobsA@32 @176 + EnumJobsW@32 @177 + EnumMonitorsA@24 @178 + EnumMonitorsW@24 @179 + EnumPortsA@24 @180 + EnumPortsW@24 @181 + EnumPrintProcessorDatatypesA@28 @182 + EnumPrintProcessorDatatypesW@28 @183 + EnumPrintProcessorsA@28 @184 + EnumPrintProcessorsW@28 @185 + EnumPrinterDataA@36 @186 + EnumPrinterDataExA@24 @187 + EnumPrinterDataExW@24 @188 + EnumPrinterDataW@36 @189 + EnumPrinterDriversA@28 @190 + EnumPrinterDriversW@28 @191 + EnumPrintersA@28 @192 + EnumPrintersW@28 @193 + EnumPrinterKeyA@20 @194 + EnumPrinterKeyW@20 @195 + ExtDeviceMode@32 @196 + FindClosePrinterChangeNotification@4 @197 + FindFirstPrinterChangeNotification@16 @198 + FindNextPrinterChangeNotification@16 @199 + FreePrinterNotifyInfo@4 @200 + GetFormA@24 @225 + GetFormW@24 @233 + GetJobA@24 @234 + GetJobW@24 @235 + GetPrintProcessorDirectoryA@24 @236 + GetPrintProcessorDirectoryW@24 @237 + GetPrinterA@20 @238 + GetPrinterDataA@24 @239 + GetPrinterDataExA@28 @240 + GetPrinterDataExW@28 @241 + GetPrinterDataW@24 @242 + GetPrinterDriverA@24 @243 + GetPrinterDriverDirectoryA@24 @244 + GetPrinterDriverDirectoryW@24 @245 + GetPrinterDriverW@24 @246 + GetPrinterW@20 @247 + IsValidDevmodeA@8 @248 + IsValidDevmodeW@8 @249 + OpenPrinterA@12 @250 + OpenPrinterW@12 @251 + PrinterProperties@8 @255 + ReadPrinter@16 @256 + ResetPrinterA@8 @257 + ResetPrinterW@8 @258 + ScheduleJob@8 @259 + SetFormA@16 @261 + SetFormW@16 @262 + SetJobA@20 @263 + SetJobW@20 @264 + SetPrinterA@16 @265 + SetPrinterDataA@20 @266 + SetPrinterDataExA@24 @267 + SetPrinterDataExW@24 @268 + SetPrinterDataW@20 @269 + SetPrinterW@16 @270 + SpoolerInit@0 @272 + StartDocDlgA@8 @274 + StartDocDlgW@8 @275 + StartDocPrinterA@12 @276 + StartDocPrinterW@12 @277 + StartPagePrinter@4 @278 + UploadPrinterDriverPackageA@28 @279 + UploadPrinterDriverPackageW@28 @280 + WritePrinter@16 @282 + XcvDataW@32 @283 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwintab32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwintab32.def new file mode 100644 index 0000000..c436f5c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwintab32.def @@ -0,0 +1,49 @@ +; File generated automatically from ./dlls/wintab32/wintab32.spec; do not edit! + +LIBRARY wintab32.dll + +EXPORTS + WTInfoA@12 @20 + WTOpenA@12 @21 + WTClose@4 @22 + WTPacketsGet@12 @23 + WTPacket@12 @24 + WTEnable@8 @40 + WTOverlap@8 @41 + WTConfig@8 @60 + WTGetA@8 @61 + WTSetA@8 @62 + WTExtGet@12 @63 + WTExtSet@12 @64 + WTSave@8 @65 + WTRestore@12 @66 + WTPacketsPeek@12 @80 + WTDataGet@24 @81 + WTDataPeek@24 @82 + WTQueueSizeGet@4 @84 + WTQueueSizeSet@8 @85 + WTMgrOpen@8 @100 + WTMgrClose@4 @101 + WTMgrContextEnum@12 @120 + WTMgrContextOwner@8 @121 + WTMgrDefContext@8 @122 + WTMgrDeviceConfig@12 @140 + WTMgrExt@12 @180 + WTMgrCsrEnable@12 @181 + WTMgrCsrButtonMap@16 @182 + WTMgrCsrPressureBtnMarks@16 @183 + WTMgrCsrPressureResponse@16 @184 + WTMgrCsrExt@16 @185 + WTQueuePacketsEx@12 @200 + WTMgrCsrPressureBtnMarksEx@16 @201 + WTMgrConfigReplaceExA@16 @202 + WTMgrPacketHookExA@16 @203 + WTMgrPacketUnhook@4 @204 + WTMgrPacketHookNext@16 @205 + WTMgrDefContextEx@12 @206 + WTInfoW@12 @1020 + WTOpenW@12 @1021 + WTGetW@8 @1061 + WTSetW@8 @1062 + WTMgrConfigReplaceExW@16 @1202 + WTMgrPacketHookExW@16 @1203 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwintrust.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwintrust.def new file mode 100644 index 0000000..5679e25 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwintrust.def @@ -0,0 +1,88 @@ +; File generated automatically from ./dlls/wintrust/wintrust.spec; do not edit! + +LIBRARY wintrust.dll + +EXPORTS + CryptCATAdminAcquireContext@12 @3 + CryptCATAdminAddCatalog@16 @4 + CryptCATAdminCalcHashFromFileHandle@16 @5 + CryptCATAdminEnumCatalogFromHash@20 @6 + CryptCATAdminReleaseCatalogContext@12 @8 + CryptCATAdminReleaseContext@8 @9 + CryptCATAdminRemoveCatalog@12 @10 + CryptCATAdminResolveCatalogPath@16 @11 + CryptCATCDFClose@4 @12 + CryptCATCDFEnumCatAttributes@12 @15 + CryptCATCDFEnumMembersByCDFTagEx@24 @18 + CryptCATCDFOpen@8 @19 + CryptCATCatalogInfoFromContext@12 @20 + CryptCATClose@4 @21 + CryptCATEnumerateAttr@12 @22 + CryptCATEnumerateCatAttr@8 @23 + CryptCATEnumerateMember@8 @24 + CryptCATGetAttrInfo@12 @25 + CryptCATGetCatAttrInfo@8 @26 + CryptCATGetMemberInfo@8 @27 + CryptCATOpen@20 @29 + CryptSIPCreateIndirectData@12 @36 + CryptSIPGetSignedDataMsg@20 @39 + CryptSIPPutSignedDataMsg@20 @40 + CryptSIPRemoveSignedDataMsg@8 @41 + CryptSIPVerifyIndirectData@8 @42 + DllRegisterServer@0 @43 PRIVATE + DllUnregisterServer@0 @44 PRIVATE + DriverCleanupPolicy@4 @45 + DriverFinalPolicy@4 @46 + DriverInitializePolicy@4 @47 + FindCertsByIssuer@28 @48 + GenericChainCertificateTrust@4 @49 + GenericChainFinalProv@4 @50 + HTTPSCertificateTrust@4 @51 + HTTPSFinalProv@4 @52 + IsCatalogFile@8 @53 + OpenPersonalTrustDBDialog@4 @58 + SoftpubAuthenticode@4 @59 + SoftpubCheckCert@16 @60 + SoftpubCleanup@4 @61 + SoftpubDefCertInit@4 @62 + SoftpubDllRegisterServer@0 @63 + SoftpubDllUnregisterServer@0 @64 + SoftpubInitialize@4 @67 + SoftpubLoadMessage@4 @69 + SoftpubLoadSignature@4 @70 + TrustIsCertificateSelfSigned@4 @74 + WTHelperCertCheckValidSignature@4 @76 + WTHelperGetFileHandle@4 @81 + WTHelperGetFileName@4 @82 + WTHelperGetKnownUsages@8 @83 + WTHelperGetProvCertFromChain@8 @84 + WTHelperGetProvPrivateDataFromChain@8 @85 + WTHelperGetProvSignerFromChain@16 @86 + WTHelperProvDataFromStateData@4 @89 + WVTAsn1CatMemberInfoDecode@28 @90 + WVTAsn1CatMemberInfoEncode@20 @91 + WVTAsn1CatNameValueDecode@28 @92 + WVTAsn1CatNameValueEncode@20 @93 + WVTAsn1SpcFinancialCriteriaInfoDecode@28 @94 + WVTAsn1SpcFinancialCriteriaInfoEncode@20 @95 + WVTAsn1SpcIndirectDataContentDecode@28 @96 + WVTAsn1SpcIndirectDataContentEncode@20 @97 + WVTAsn1SpcLinkDecode@28 @98 + WVTAsn1SpcLinkEncode@20 @99 + WVTAsn1SpcPeImageDataDecode@28 @102 + WVTAsn1SpcPeImageDataEncode@20 @103 + WVTAsn1SpcSpOpusInfoDecode@28 @108 + WVTAsn1SpcSpOpusInfoEncode@20 @109 + WinVerifyTrust@12 @112 + WinVerifyTrustEx@12 @113 + WintrustAddActionID@12 @114 + WintrustAddDefaultForUsage@8 @115 + WintrustCertificateTrust@4 @116 + WintrustGetRegPolicyFlags@4 @118 + WintrustLoadFunctionPointers@8 @119 + WintrustRemoveActionID@4 @120 + WintrustSetRegPolicyFlags@4 @121 + mscat32DllRegisterServer@0 @122 + mscat32DllUnregisterServer@0 @123 + mssip32DllRegisterServer@0 @124 + mssip32DllUnregisterServer@0 @125 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwlanapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwlanapi.def new file mode 100644 index 0000000..600682d --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwlanapi.def @@ -0,0 +1,13 @@ +; File generated automatically from ./dlls/wlanapi/wlanapi.spec; do not edit! + +LIBRARY wlanapi.dll + +EXPORTS + WlanAllocateMemory@4 @1 + WlanCloseHandle@8 @2 + WlanEnumInterfaces@12 @6 + WlanFreeMemory@4 @8 + WlanGetAvailableNetworkList@20 @9 + WlanOpenHandle@16 @18 + WlanRegisterNotification@28 @22 + WlanScan@20 @25 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwldap32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwldap32.def new file mode 100644 index 0000000..8222aec --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwldap32.def @@ -0,0 +1,248 @@ +; File generated automatically from ./dlls/wldap32/wldap32.spec; do not edit! + +LIBRARY wldap32.dll + +EXPORTS + ldap_abandon=WLDAP32_ldap_abandon @10 + ldap_add=ldap_addA @11 + ldap_get_optionW @12 + ldap_unbind=WLDAP32_ldap_unbind @13 + ldap_set_optionW @14 + LdapGetLastError @16 + cldap_open=cldap_openA @17 + LdapMapErrorToWin32 @18 + ldap_compare=ldap_compareA @19 + ldap_delete=ldap_deleteA @20 + ldap_result2error=WLDAP32_ldap_result2error @21 + ldap_err2string=ldap_err2stringA @22 + ldap_modify=ldap_modifyA @23 + ldap_modrdn=ldap_modrdnA @24 + ldap_open=ldap_openA @25 + ldap_first_entry=WLDAP32_ldap_first_entry @26 + ldap_next_entry=WLDAP32_ldap_next_entry @27 + cldap_openW @28 + LdapUTF8ToUnicode @29 + ldap_get_dn=ldap_get_dnA @30 + ldap_dn2ufn=ldap_dn2ufnA @31 + ldap_first_attribute=ldap_first_attributeA @32 + ldap_next_attribute=ldap_next_attributeA @33 + ldap_get_values=ldap_get_valuesA @34 + ldap_get_values_len=ldap_get_values_lenA @35 + ldap_count_entries=WLDAP32_ldap_count_entries @36 + ldap_count_values=ldap_count_valuesA @37 + ldap_value_free=ldap_value_freeA @38 + ldap_explode_dn=ldap_explode_dnA @39 + ldap_result=WLDAP32_ldap_result @40 + ldap_msgfree=WLDAP32_ldap_msgfree @41 + ldap_addW @42 + ldap_search=ldap_searchA @43 + ldap_add_s=ldap_add_sA @44 + ldap_bind_s=ldap_bind_sA @45 + ldap_unbind_s=WLDAP32_ldap_unbind_s @46 + ldap_delete_s=ldap_delete_sA @47 + ldap_modify_s=ldap_modify_sA @48 + ldap_modrdn_s=ldap_modrdn_sA @49 + ldap_search_s=ldap_search_sA @50 + ldap_search_st=ldap_search_stA @51 + ldap_compare_s=ldap_compare_sA @52 + LdapUnicodeToUTF8 @53 + ber_bvfree=WLDAP32_ber_bvfree @54 + cldap_openA @55 + ldap_addA @56 + ldap_add_ext=ldap_add_extA @57 + ldap_add_extA @58 + ldap_simple_bind=ldap_simple_bindA @59 + ldap_simple_bind_s=ldap_simple_bind_sA @60 + ldap_bind=ldap_bindA @61 + ldap_add_extW @62 + ldap_add_ext_s=ldap_add_ext_sA @63 + ldap_add_ext_sA @64 + ldap_add_ext_sW @65 + ldap_add_sA @66 + ldap_modrdn2=ldap_modrdn2A @67 + ldap_modrdn2_s=ldap_modrdn2_sA @68 + ldap_add_sW @69 + ldap_bindA @70 + ldap_bindW @71 + ldap_bind_sA @72 + ldap_bind_sW @73 + ldap_close_extended_op @74 + ldap_compareA @75 + ldap_compareW @76 + ldap_count_values_len=WLDAP32_ldap_count_values_len @77 + ldap_compare_ext=ldap_compare_extA @78 + ldap_value_free_len=WLDAP32_ldap_value_free_len @79 + ldap_compare_extA @80 + ldap_compare_extW @81 + ldap_perror=WLDAP32_ldap_perror @82 + ldap_compare_ext_s=ldap_compare_ext_sA @83 + ldap_compare_ext_sA @84 + ldap_compare_ext_sW @85 + ldap_compare_sA @86 + ldap_compare_sW @87 + ldap_connect @88 + ldap_control_free=ldap_control_freeA @89 + ldap_control_freeA @90 + ldap_control_freeW @91 + ldap_controls_free=ldap_controls_freeA @92 + ldap_controls_freeA @93 + ldap_controls_freeW @94 + ldap_count_references=WLDAP32_ldap_count_references @95 + ldap_count_valuesA @96 + ldap_count_valuesW @97 + ldap_create_page_control=ldap_create_page_controlA @98 + ldap_create_page_controlA @99 + ldap_create_page_controlW @100 + ldap_create_sort_control=ldap_create_sort_controlA @101 + ldap_create_sort_controlA @102 + ldap_create_sort_controlW @103 + ldap_deleteA @104 + ldap_deleteW @105 + ldap_delete_ext=ldap_delete_extA @106 + ldap_delete_extA @107 + ldap_delete_extW @108 + ldap_delete_ext_s=ldap_delete_ext_sA @109 + ldap_delete_ext_sA @110 + ldap_delete_ext_sW @111 + ldap_delete_sA @112 + ldap_delete_sW @113 + ldap_dn2ufnW @114 + ldap_encode_sort_controlA @115 + ldap_encode_sort_controlW @116 + ldap_err2stringA @117 + ldap_err2stringW @118 + ldap_escape_filter_elementA @119 + ldap_escape_filter_elementW @120 + ldap_explode_dnA @121 + ldap_explode_dnW @122 + ldap_extended_operation=ldap_extended_operationA @123 + ldap_extended_operationA @124 + ldap_extended_operationW @125 + ldap_first_attributeA @126 + ldap_first_attributeW @127 + ldap_first_reference=WLDAP32_ldap_first_reference @128 + ldap_free_controls=ldap_free_controlsA @129 + ldap_free_controlsA @130 + ldap_free_controlsW @131 + ldap_get_dnA @132 + ldap_get_dnW @133 + ldap_get_next_page @134 + ldap_get_next_page_s @135 + ldap_get_option=ldap_get_optionA @136 + ldap_get_optionA @137 + ldap_get_paged_count @138 + ldap_get_valuesA @139 + ldap_get_valuesW @140 + ldap_get_values_lenA @141 + ldap_get_values_lenW @142 + ldap_init=ldap_initA @143 + ldap_initA @144 + ldap_initW @145 + ldap_memfreeA @146 + ldap_memfreeW @147 + ldap_modifyA @148 + ldap_modifyW @149 + ldap_modify_ext=ldap_modify_extA @150 + ldap_modify_extA @151 + ldap_modify_extW @152 + ldap_modify_ext_s=ldap_modify_ext_sA @153 + ldap_modify_ext_sA @154 + ldap_modify_ext_sW @155 + ldap_modify_sA @156 + ldap_modify_sW @157 + ldap_modrdn2A @158 + ldap_modrdn2W @159 + ldap_modrdn2_sA @160 + ldap_modrdn2_sW @161 + ldap_modrdnA @162 + ldap_modrdnW @163 + ldap_modrdn_sA @164 + ldap_modrdn_sW @165 + ldap_next_attributeA @166 + ldap_next_attributeW @167 + ldap_next_reference=WLDAP32_ldap_next_reference @168 + ldap_openA @169 + ldap_openW @170 + ldap_parse_page_control=ldap_parse_page_controlA @171 + ldap_parse_page_controlA @172 + ldap_parse_page_controlW @173 + ldap_parse_reference=ldap_parse_referenceA @174 + ldap_parse_referenceA @175 + ldap_parse_referenceW @176 + ldap_parse_result=ldap_parse_resultA @177 + ldap_parse_resultA @178 + ldap_parse_resultW @179 + ldap_parse_sort_control=ldap_parse_sort_controlA @180 + ldap_parse_sort_controlA @181 + ldap_parse_sort_controlW @182 + ldap_rename_ext=ldap_rename_extA @183 + ldap_rename_extA @184 + ldap_rename_extW @185 + ldap_rename_ext_s=ldap_rename_ext_sA @186 + ldap_rename_ext_sA @187 + ldap_rename_ext_sW @188 + ldap_searchA @189 + ldap_searchW @190 + ldap_search_abandon_page @191 + ldap_search_ext=ldap_search_extA @192 + ldap_search_extA @193 + ldap_search_extW @194 + ldap_search_ext_s=ldap_search_ext_sA @195 + ldap_search_ext_sA @196 + ldap_escape_filter_element=ldap_escape_filter_elementA @197 + ldap_memfree=ldap_memfreeA @200 + ldap_startup @201 + ldap_cleanup @202 + ldap_search_ext_sW @203 + ldap_search_init_page=ldap_search_init_pageA @204 + ldap_search_init_pageA @205 + ldap_search_init_pageW @206 + ldap_search_sA @207 + ldap_search_sW @208 + ldap_search_stA @209 + ldap_search_stW @210 + ldap_set_option=ldap_set_optionA @211 + ldap_set_optionA @212 + ldap_simple_bindA @213 + ldap_simple_bindW @214 + ldap_simple_bind_sA @215 + ldap_simple_bind_sW @216 + ldap_sslinit=ldap_sslinitA @217 + ldap_sslinitA @218 + ldap_sslinitW @219 + ldap_ufn2dn=ldap_ufn2dnA @220 + ldap_ufn2dnA @221 + ldap_ufn2dnW @222 + ldap_value_freeA @223 + ldap_value_freeW @224 + ldap_check_filterA @230 + ldap_check_filterW @231 + ldap_dn2ufnA @232 + ber_init=WLDAP32_ber_init @300 + ber_free=WLDAP32_ber_free @301 + ber_bvecfree=WLDAP32_ber_bvecfree @302 + ber_bvdup=WLDAP32_ber_bvdup @303 + ber_alloc_t=WLDAP32_ber_alloc_t @304 + ber_skip_tag=WLDAP32_ber_skip_tag @305 + ber_peek_tag=WLDAP32_ber_peek_tag @306 + ber_first_element=WLDAP32_ber_first_element @307 + ber_next_element=WLDAP32_ber_next_element @308 + ber_flatten=WLDAP32_ber_flatten @309 + ber_printf=WLDAP32_ber_printf @310 + ber_scanf=WLDAP32_ber_scanf @311 + ldap_conn_from_msg @312 + ldap_sasl_bindW @313 + ldap_sasl_bind_sW @314 + ldap_sasl_bindA @315 + ldap_sasl_bind_sA @316 + ldap_parse_extended_resultW @317 + ldap_parse_extended_resultA @318 + ldap_create_vlv_controlW @319 + ldap_create_vlv_controlA @320 + ldap_parse_vlv_controlW @321 + ldap_parse_vlv_controlA @322 + ldap_start_tls_sW @329 + ldap_start_tls_sA @330 + ldap_stop_tls_s @331 + ldap_extended_operation_sW @332 + ldap_extended_operation_sA @333 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwmvcore.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwmvcore.def new file mode 100644 index 0000000..c06f106 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwmvcore.def @@ -0,0 +1,14 @@ +; File generated automatically from ./dlls/wmvcore/wmvcore.spec; do not edit! + +LIBRARY wmvcore.dll + +EXPORTS + WMCheckURLScheme@4 @2 + DllRegisterServer@0 @7 PRIVATE + WMCreateEditor@4 @9 + WMCreateProfileManager@4 @11 + WMCreateReader@12 @12 + WMCreateReaderPriv@4 @13 + WMCreateSyncReader@12 @14 + WMCreateWriter@8 @15 + WMCreateWriterPriv@4 @18 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwnaspi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwnaspi32.def new file mode 100644 index 0000000..ad5c1db --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwnaspi32.def @@ -0,0 +1,11 @@ +; File generated automatically from ./dlls/wnaspi32/wnaspi32.spec; do not edit! + +LIBRARY wnaspi32.dll + +EXPORTS + GetASPI32SupportInfo @1 + SendASPI32Command @2 + GetASPI32DLLVersion @4 + TranslateASPI32Address @7 + GetASPI32Buffer @8 + FreeASPI32Buffer @14 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwow32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwow32.def new file mode 100644 index 0000000..54fb5ad --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwow32.def @@ -0,0 +1,22 @@ +; File generated automatically from ./dlls/wow32/wow32.spec; do not edit! + +LIBRARY wow32.dll + +EXPORTS + WOWGetDescriptor@8 @1 + WOWCallback16@8 @2 + WOWCallback16Ex@20 @3 + WOWDirectedYield16@4 @4 + WOWGetVDMPointer@12 @5 + WOWGetVDMPointerFix@12 @6 + WOWGetVDMPointerUnfix@4 @7 + WOWGlobalAlloc16@8 @8 + WOWGlobalAllocLock16@12 @9 + WOWGlobalFree16@4 @10 + WOWGlobalLock16@4 @11 + WOWGlobalLockSize16@8 @12 + WOWGlobalUnlock16@4 @13 + WOWGlobalUnlockFree16@4 @14 + WOWHandle16@8 @15 + WOWHandle32@8 @16 + WOWYield16@0 @17 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libws2_32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libws2_32.def new file mode 100644 index 0000000..779350c --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libws2_32.def @@ -0,0 +1,129 @@ +; File generated automatically from ./dlls/ws2_32/ws2_32.spec; do not edit! + +LIBRARY ws2_32.dll + +EXPORTS + accept@12=WS_accept@12 @1 + bind@12=WS_bind@12 @2 + closesocket@4=WS_closesocket@4 @3 + connect@12=WS_connect@12 @4 + getpeername@12=WS_getpeername@12 @5 + getsockname@12=WS_getsockname@12 @6 + getsockopt@20=WS_getsockopt@20 @7 + htonl@4=WS_htonl@4 @8 + htons@4=WS_htons@4 @9 + ioctlsocket@12=WS_ioctlsocket@12 @10 + inet_addr@4=WS_inet_addr@4 @11 + inet_ntoa@4=WS_inet_ntoa@4 @12 + listen@8=WS_listen@8 @13 + ntohl@4=WS_ntohl@4 @14 + ntohs@4=WS_ntohs@4 @15 + recv@16=WS_recv@16 @16 + recvfrom@24=WS_recvfrom@24 @17 + select@20=WS_select@20 @18 + send@16=WS_send@16 @19 + sendto@24=WS_sendto@24 @20 + setsockopt@20=WS_setsockopt@20 @21 + shutdown@8=WS_shutdown@8 @22 + socket@12=WS_socket@12 @23 + gethostbyaddr@12=WS_gethostbyaddr@12 @51 + gethostbyname@4=WS_gethostbyname@4 @52 + getprotobyname@4=WS_getprotobyname@4 @53 + getprotobynumber@4=WS_getprotobynumber@4 @54 + getservbyname@8=WS_getservbyname@8 @55 + getservbyport@8=WS_getservbyport@8 @56 + gethostname@8=WS_gethostname@8 @57 + WSAAsyncSelect@16 @101 + WSAAsyncGetHostByAddr@28 @102 + WSAAsyncGetHostByName@20 @103 + WSAAsyncGetProtoByNumber@20 @104 + WSAAsyncGetProtoByName@20 @105 + WSAAsyncGetServByPort@24 @106 + WSAAsyncGetServByName@24 @107 + WSACancelAsyncRequest@4 @108 + WSASetBlockingHook@4 @109 + WSAUnhookBlockingHook@0 @110 + WSAGetLastError@0 @111 + WSASetLastError@4 @112 + WSACancelBlockingCall@0 @113 + WSAIsBlocking@0 @114 + WSAStartup@8 @115 + WSACleanup@0 @116 + __WSAFDIsSet@8 @151 + FreeAddrInfoExW@4 @24 + FreeAddrInfoW@4 @25 + GetAddrInfoExCancel@4 @26 + GetAddrInfoExOverlappedResult@4 @27 + GetAddrInfoExW@40 @28 + GetAddrInfoW@16 @29 + GetNameInfoW@28 @30 + InetNtopW@16 @31 + InetPtonW@12 @32 + WSApSetPostRoutine@4 @33 + WPUCompleteOverlappedRequest@20 @34 + WSAAccept@20 @35 + WSAAddressToStringA@20 @36 + WSAAddressToStringW@20 @37 + WSACloseEvent@4 @38 + WSAConnect@28 @39 + WSACreateEvent@0 @40 + WSADuplicateSocketA@12 @41 + WSADuplicateSocketW@12 @42 + WSAEnumNameSpaceProvidersA@8 @43 + WSAEnumNameSpaceProvidersW@8 @44 + WSAEnumNetworkEvents@12 @45 + WSAEnumProtocolsA@12 @46 + WSAEnumProtocolsW@12 @47 + WSAEventSelect@12 @48 + WSAGetOverlappedResult@20 @49 + WSAGetQOSByName@12 @50 + WSAGetServiceClassInfoA@16 @58 + WSAGetServiceClassInfoW@16 @59 + WSAGetServiceClassNameByClassIdA@12 @60 + WSAGetServiceClassNameByClassIdW@12 @61 + WSAHtonl@12 @62 + WSAHtons@12 @63 + WSAInstallServiceClassA@4 @64 + WSAInstallServiceClassW@4 @65 + WSAIoctl@36 @66 + WSAJoinLeaf@32 @67 + WSALookupServiceBeginA@12 @68 + WSALookupServiceBeginW@12 @69 + WSALookupServiceEnd@4 @70 + WSALookupServiceNextA@16 @71 + WSALookupServiceNextW@16 @72 + WSANSPIoctl@32 @73 + WSANtohl@12 @74 + WSANtohs@12 @75 + WSAPoll@12 @76 + WSAProviderConfigChange@12 @77 + WSARecv@28 @78 + WSARecvDisconnect@8 @79 + WSARecvFrom@36 @80 + WSARemoveServiceClass@4 @81 + WSAResetEvent@4=kernel32.ResetEvent @82 + WSASend@28 @83 + WSASendDisconnect@8 @84 + WSASendMsg@24 @85 + WSASendTo@36 @86 + WSASetEvent@4=kernel32.SetEvent @87 + WSASetServiceA@12 @88 + WSASetServiceW@12 @89 + WSASocketA@24 @90 + WSASocketW@24 @91 + WSAStringToAddressA@20 @92 + WSAStringToAddressW@20 @93 + WSAWaitForMultipleEvents@20=kernel32.WaitForMultipleObjectsEx @94 + WSCDeinstallProvider@8 @95 + WSCEnableNSProvider@8 @96 + WSCEnumProtocols@16 @97 + WSCGetProviderPath@16 @98 + WSCInstallNameSpace@20 @99 + WSCInstallProvider@20 @100 + WSCUnInstallNameSpace@4 @117 + WSCWriteProviderOrder@8 @120 + freeaddrinfo@4=WS_freeaddrinfo@4 @121 + getaddrinfo@16=WS_getaddrinfo@16 @122 + getnameinfo@28=WS_getnameinfo@28 @123 + inet_ntop@16=WS_inet_ntop@16 @124 + inet_pton@12=WS_inet_pton@12 @125 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsdapi.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsdapi.def new file mode 100644 index 0000000..13d9ba4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsdapi.def @@ -0,0 +1,18 @@ +; File generated automatically from ./dlls/wsdapi/wsdapi.spec; do not edit! + +LIBRARY wsdapi.dll + +EXPORTS + WSDAllocateLinkedMemory@8 @7 + WSDAttachLinkedMemory@8 @8 + WSDCreateDiscoveryPublisher@8 @20 + WSDCreateUdpAddress@4 @26 + WSDCreateUdpMessageParameters@4 @27 + WSDDetachLinkedMemory@4 @29 + WSDFreeLinkedMemory@4 @30 + WSDXMLAddChild@8 @39 + WSDXMLAddSibling@8 @40 + WSDXMLBuildAnyForSingleElement@12 @41 + WSDXMLCleanupElement@4 @42 + WSDXMLCreateContext@4 @43 + WSDXMLGetValueFromAny@16 @45 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsnmp32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsnmp32.def new file mode 100644 index 0000000..0c7e312 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsnmp32.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/wsnmp32/wsnmp32.spec; do not edit! + +LIBRARY wsnmp32.dll + +EXPORTS + SnmpSetTranslateMode@4 @101 + SnmpSetRetransmitMode@4 @103 + SnmpStartup@20 @200 + SnmpCleanup@0 @201 + SnmpOpen@8 @202 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsock32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsock32.def new file mode 100644 index 0000000..413a848 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwsock32.def @@ -0,0 +1,71 @@ +; File generated automatically from ./dlls/wsock32/wsock32.spec; do not edit! + +LIBRARY wsock32.dll + +EXPORTS + accept@12=ws2_32.accept @1 + bind@12=ws2_32.bind @2 + closesocket@4=ws2_32.closesocket @3 + connect@12=ws2_32.connect @4 + getpeername@12=ws2_32.getpeername @5 + getsockname@12=ws2_32.getsockname @6 + getsockopt@20=WS1_getsockopt@20 @7 + htonl@4=ws2_32.htonl @8 + htons@4=ws2_32.htons @9 + inet_addr@4=ws2_32.inet_addr @10 + inet_ntoa@4=ws2_32.inet_ntoa @11 + ioctlsocket@12=ws2_32.ioctlsocket @12 + listen@8=ws2_32.listen @13 + ntohl@4=ws2_32.ntohl @14 + ntohs@4=ws2_32.ntohs @15 + recv@16=ws2_32.recv @16 + recvfrom@24=ws2_32.recvfrom @17 + select@20=ws2_32.select @18 + send@16=ws2_32.send @19 + sendto@24=ws2_32.sendto @20 + setsockopt@20=WS1_setsockopt@20 @21 + shutdown@8=ws2_32.shutdown @22 + socket@12=ws2_32.socket @23 + gethostbyaddr@12=ws2_32.gethostbyaddr @51 + gethostbyname@4=ws2_32.gethostbyname @52 + getprotobyname@4=ws2_32.getprotobyname @53 + getprotobynumber@4=ws2_32.getprotobynumber @54 + getservbyname@8=ws2_32.getservbyname @55 + getservbyport@8=ws2_32.getservbyport @56 + gethostname@8=ws2_32.gethostname @57 + WSAAsyncSelect@16=ws2_32.WSAAsyncSelect @101 + WSAAsyncGetHostByAddr@28=ws2_32.WSAAsyncGetHostByAddr @102 + WSAAsyncGetHostByName@20=ws2_32.WSAAsyncGetHostByName @103 + WSAAsyncGetProtoByNumber@20=ws2_32.WSAAsyncGetProtoByNumber @104 + WSAAsyncGetProtoByName@20=ws2_32.WSAAsyncGetProtoByName @105 + WSAAsyncGetServByPort@24=ws2_32.WSAAsyncGetServByPort @106 + WSAAsyncGetServByName@24=ws2_32.WSAAsyncGetServByName @107 + WSACancelAsyncRequest@4=ws2_32.WSACancelAsyncRequest @108 + WSASetBlockingHook@4=ws2_32.WSASetBlockingHook @109 + WSAUnhookBlockingHook@0=ws2_32.WSAUnhookBlockingHook @110 + WSAGetLastError@0=ws2_32.WSAGetLastError @111 + WSASetLastError@4=ws2_32.WSASetLastError @112 + WSACancelBlockingCall@0=ws2_32.WSACancelBlockingCall @113 + WSAIsBlocking@0=ws2_32.WSAIsBlocking @114 + WSAStartup@8=ws2_32.WSAStartup @115 + WSACleanup@0=ws2_32.WSACleanup @116 + __WSAFDIsSet@8=ws2_32.__WSAFDIsSet @151 + WEP@0=ws2_32.WEP @500 + WsControl@24 @1001 + inet_network@4=WSOCK32_inet_network@4 @1100 + getnetbyname@4=WSOCK32_getnetbyname@4 @1101 + WSARecvEx@16 @1107 + s_perror@4 @1108 + GetAddressByNameA@40 @1109 + GetAddressByNameW@40 @1110 + EnumProtocolsA@12 @1111 + EnumProtocolsW@12 @1112 + GetTypeByNameA@8 @1113 + GetTypeByNameW@8 @1114 + SetServiceA@24 @1117 + SetServiceW@24 @1118 + GetServiceA@28 @1119 + GetServiceW@28 @1120 + TransmitFile@24=mswsock.TransmitFile @1140 + AcceptEx@32=mswsock.AcceptEx @1141 + GetAcceptExSockaddrs@32=mswsock.GetAcceptExSockaddrs @1142 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwtsapi32.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwtsapi32.def new file mode 100644 index 0000000..75498f4 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwtsapi32.def @@ -0,0 +1,47 @@ +; File generated automatically from ./dlls/wtsapi32/wtsapi32.spec; do not edit! + +LIBRARY wtsapi32.dll + +EXPORTS + WTSCloseServer@4 @1 + WTSConnectSessionA@16 @2 + WTSConnectSessionW@16 @3 + WTSDisconnectSession@12 @4 + WTSEnableChildSessions@4 @5 + WTSEnumerateProcessesA@20 @6 + WTSEnumerateProcessesW@20 @7 + WTSEnumerateServersA@20 @8 + WTSEnumerateServersW@20 @9 + WTSEnumerateSessionsA@20 @10 + WTSEnumerateSessionsW@20 @11 + WTSFreeMemory@4 @12 + WTSLogoffSession@12 @13 + WTSOpenServerA@4 @14 + WTSOpenServerW@4 @15 + WTSQuerySessionInformationA@20 @16 + WTSQuerySessionInformationW@20 @17 + WTSQueryUserConfigA@20 @18 + WTSQueryUserConfigW@20 @19 + WTSQueryUserToken@8 @20 + WTSRegisterSessionNotification@8 @21 + WTSRegisterSessionNotificationEx@12 @22 + WTSSendMessageA@40 @23 + WTSSendMessageW@40 @24 + WTSSetUserConfigA@20 @27 + WTSSetUserConfigW@20 @28 + WTSShutdownSystem@8 @29 + WTSStartRemoteControlSessionA@16 @30 + WTSStartRemoteControlSessionW@16 @31 + WTSStopRemoteControlSession@4 @32 + WTSTerminateProcess@12 @33 + WTSUnRegisterSessionNotification@4 @34 + WTSUnRegisterSessionNotificationEx@8 @35 + WTSVirtualChannelClose@4 @36 + WTSVirtualChannelOpen@12 @37 + WTSVirtualChannelOpenEx@12 @38 + WTSVirtualChannelPurgeInput@4 @39 + WTSVirtualChannelPurgeOutput@4 @40 + WTSVirtualChannelQuery@16 @41 + WTSVirtualChannelRead@20 @42 + WTSVirtualChannelWrite@16 @43 + WTSWaitSystemEvent@12 @44 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libxinput.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libxinput.def new file mode 100644 index 0000000..7919a97 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libxinput.def @@ -0,0 +1,14 @@ +; File generated automatically from ./dlls/xinput1_3/xinput1_3.spec; do not edit! + +LIBRARY xinput1_3.dll + +EXPORTS + DllMain@12 @1 PRIVATE + XInputGetState@8 @2 + XInputSetState@8 @3 + XInputGetCapabilities@12 @4 + XInputEnable@4 @5 + XInputGetDSoundAudioDeviceGuids@12 @6 + XInputGetBatteryInformation@12 @7 + XInputGetKeystroke@12 @8 + XInputGetStateEx@8 @100 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libxmllite.def b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libxmllite.def new file mode 100644 index 0000000..493abd6 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libxmllite.def @@ -0,0 +1,10 @@ +; File generated automatically from ./dlls/xmllite/xmllite.spec; do not edit! + +LIBRARY xmllite.dll + +EXPORTS + CreateXmlReader@12 @1 + CreateXmlReaderInputWithEncodingName@24 @3 + CreateXmlWriter@12 @4 + CreateXmlWriterOutputWithEncodingCodePage@16 @5 + CreateXmlWriterOutputWithEncodingName@16 @6 diff --git a/deepin-libwine-dev_2.18-12_i386/usr/share/bug/deepin-libwine-dev/control b/deepin-libwine-dev_2.18-12_i386/usr/share/bug/deepin-libwine-dev/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/share/bug/deepin-libwine-dev/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/changelog.Debian.gz b/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/changelog.Debian.gz differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/changelog.gz b/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/changelog.gz differ diff --git a/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/copyright b/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-libwine-dev_2.18-12_i386/usr/share/doc/deepin-libwine-dev/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-libwine_2.18-12_i386.deb b/deepin-libwine_2.18-12_i386.deb new file mode 100644 index 0000000..1572943 Binary files /dev/null and b/deepin-libwine_2.18-12_i386.deb differ diff --git a/deepin-libwine_2.18-12_i386/DEBIAN/control b/deepin-libwine_2.18-12_i386/DEBIAN/control new file mode 100644 index 0000000..56bc0ea --- /dev/null +++ b/deepin-libwine_2.18-12_i386/DEBIAN/control @@ -0,0 +1,18 @@ +Package: deepin-libwine +Source: deepin-wine +Version: 2.18-12 +Architecture: i386 +Maintainer: Debian Wine Party +Installed-Size: 179996 +Depends: libasound2 (>= 1.0.16), libc6 (>= 2.23), libgcc1 (>= 1:3.0), liblcms2-2 (>= 2.2+git20110628), libldap-2.4-2 (>= 2.4.7), libmpg123-0 (>= 1.13.7), libopenal1 (>= 1.14), libpcap0.8 (>= 0.9.8), libpulse0 (>= 0.99.1), libstdc++6 (>= 5), libudev1 (>= 183), libusb-1.0-0 (>= 2:1.0.16), libx11-6, libxext6, libxml2 (>= 2.9.0), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1, udis86, zlib1g (>= 1:1.1.4), libxcursor1, libxi6, libxxf86vm1, libxrender1, libxrandr2, libxfixes3, libxinerama1, libxcomposite1, libgl1-mesa-glx, libglu1-mesa, libosmesa6, libxslt1.1, libdbus-1-3, libgnutls30, libncurses5, libv4l-0, libfreetype6, libcups2, libfontconfig1, libgsm1, libjpeg-turbo8, libpng16-16, libtiff5, libodbc1, fonts-liberation, deepin-fonts-wine +Suggests: cups-bsd, ttf-mscorefonts-installer +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: libs +Priority: optional +Multi-Arch: same +Homepage: http://www.winehq.org/ +Description: Windows API implementation - library + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides the wine library. diff --git a/deepin-libwine_2.18-12_i386/DEBIAN/md5sums b/deepin-libwine_2.18-12_i386/DEBIAN/md5sums new file mode 100644 index 0000000..ea2111e --- /dev/null +++ b/deepin-libwine_2.18-12_i386/DEBIAN/md5sums @@ -0,0 +1,1709 @@ +83d02c682b1048a926044b61c45f01f5 usr/lib/i386-linux-gnu/deepin-wine/acledit.dll.so +12cb1a64d7e91878e884d5ad72d71aa1 usr/lib/i386-linux-gnu/deepin-wine/aclui.dll.so +6390cc05a908dc8a2fd4acdaa1a381b3 usr/lib/i386-linux-gnu/deepin-wine/activeds.dll.so +321610552527e95a1fb479f60f93e35f usr/lib/i386-linux-gnu/deepin-wine/actxprxy.dll.so +2687faaa4c850c25e2868d2f5a4d2b5e usr/lib/i386-linux-gnu/deepin-wine/adsldpc.dll.so +89a973e0d5d9b0e89897ef93ec4541c1 usr/lib/i386-linux-gnu/deepin-wine/advapi32.dll.so +52871b930a5b32046613b2437130bc30 usr/lib/i386-linux-gnu/deepin-wine/advpack.dll.so +f1b0c32a7dd207a90a2a4954ad4d1670 usr/lib/i386-linux-gnu/deepin-wine/amstream.dll.so +c9752e995ac03c9784796facf0a6c186 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-identity-l1-1-0.dll.so +3d9af1f789437d220aab60c6943dea03 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-runtime-l1-1-1.dll.so +f36696efa0602be61eb9507088912e46 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-apiquery-l1-1-0.dll.so +0936fa0376ca781d307e10066f12b418 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appcompat-l1-1-1.dll.so +39dc91a441b207369cd184b109b2b576 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appinit-l1-1-0.dll.so +ead5888273cc52a5b1c5985a9411e245 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-atoms-l1-1-0.dll.so +6bd71cd0b6f393e0e2437f56cab56c2d usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-bem-l1-1-0.dll.so +57adb533018bd434e8860a7cc55c53f6 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-0.dll.so +cfddaf4f5be17b4c2ba316a1373944c8 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-1.dll.so +b4f0ddd9459e2cd2b1c5b28e066bc854 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-private-l1-1-0.dll.so +1cf0d069494fb0054c9efaf69dbcc964 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l1-1-0.dll.so +82220805394f7fb9fb68388257cb7df1 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l2-1-0.dll.so +8eee9fcc5c5e91912525d8e813d3e709 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l1-1-0.dll.so +e0c6a7def92ea462625768884128ffce usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l2-1-0.dll.so +40aa26f7b8f041c4c060d9085603889b usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-0.dll.so +b53996d98f005eb348173a5bf7e948d6 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-1.dll.so +b80ad17afd22ebe9e5a2ff16be0f333e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-0.dll.so +1448afcb23ecd98b76d7824e61432000 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-1.dll.so +9e1330a19d74fb9868b9027a2fcc5c24 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-0.dll.so +42ced4273eb5f87511862a12168ba40a usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-1.dll.so +74c8f5761571242b6666709a3a5f5f33 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-0.dll.so +233b45d121d403c8c2af36a20316afc7 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-1.dll.so +c99fd0394f6850b3b01de1b673fb1465 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-2.dll.so +9de77852dade984669959624f9cfb276 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-3.dll.so +2e1704fc374b34f8885f990aa0946cc0 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-0.dll.so +68108a87e52341ca44dac3cb86b32bd5 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-1.dll.so +364b25450a49265ee4781e7bc9e9a757 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-1-0.dll.so +61ce2a440b3135e181b5845a2970e0de usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-0.dll.so +1480f8fcadb2dae881aee98a853b5f24 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-1.dll.so +4ec1c1244ff5d81039f821436007b0c5 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-0.dll.so +bb5a08c507a3a6baaa8bcabd8a8ab989 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-1.dll.so +be10c577dad19153b20818d3b1e60a66 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-2.dll.so +09b3c8543a70aff77c22c4c92b700cdc usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-handle-l1-1-0.dll.so +8c048c55b6eed5c119792d05a2908ef2 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-1-0.dll.so +33b1a17297215214e001933235e00568 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-2-0.dll.so +678fe5f2b4e6cbe3b7b1e88f15178961 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l2-1-0.dll.so +d51f1c441a18acff9b54485a37843e85 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-obsolete-l1-1-0.dll.so +c976598b686eb3b438338c1b04a6e842 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-1-0.dll.so +bc7c4de9035ed4b1f5125287b2145952 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-2-0.dll.so +2bdfead080ac56cd85ea3307ade40145 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-0.dll.so +1422feb9349391ed14975a568044e5c8 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-1.dll.so +2378c859967067c9f8ba9bd9b2edf850 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l1-1-0.dll.so +1a9fd8f679ec1491b6a898eccf626586 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l2-1-0.dll.so +c23d58649c1fa40348ac8e9fc5006eed usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-0.dll.so +09ee39f33e889451ad349f1cf32999de usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-1.dll.so +8566d2f337c92f426a6a56969d616199 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-private-l1-1-1.dll.so +6676497ff765ab74300b8800c81d144b usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-0.dll.so +a009d73b9116b584d19509e24d6461d6 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-1.dll.so +d66a3c69ad4c5d8750ceae04b068b906 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-0.dll.so +ecb652ee44d2b66bb81474ccc00869f3 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-2.dll.so +f8164c8f9568877388b87ca1b35786bd usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-1-0.dll.so +04471b07d61315891b88e3436b00e116 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-0.dll.so +e7d2b759a9a52df6c0edbc8cd40c00d7 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-1.dll.so +cccf9e128493ba331cca7255ac398bc7 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l2-1-0.dll.so +3a34a1ad4d6c3e74fc737f215e874c0f usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-1-0.dll.so +890be0387622e6b2f41a601dcd80c9df usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-2-0.dll.so +9c6472057ff26f232345ffc0a1e79648 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-3-0.dll.so +ee9126a2c16efc407899526d9228e0e6 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-private-l1-1-0.dll.so +0b2e90d575d5d5b60bf380f50d39d5cc usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localregistry-l1-1-0.dll.so +423827e58798a0890844db9e00234a22 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-0.dll.so +724d00f990c9d5bc01c01c5b9ac41bb7 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-1.dll.so +83b39bb337b1a1e1eec5a9cfc0b9a4f2 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-2.dll.so +65ab94d5bb4d62c9b7798cf262226b3c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-misc-l1-1-0.dll.so +6e5bb9dc89c1c297f11e3955bc2f6d6c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-1-0.dll.so +930cabaa8b9a7e1b51b0f18f155244b1 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-2-0.dll.so +40c7b63a50e2c848677e96035db40903 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namespace-l1-1-0.dll.so +93eff2340b8cee8621496ed7d244a468 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-normalization-l1-1-0.dll.so +3b4ff6b7c0135973f8aa372b3b2ff62b usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-path-l1-1-0.dll.so +aa844c56ca8eef05be95289724f91ce3 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-privateprofile-l1-1-1.dll.so +a7f09cb06c5e7197ff09150a2426ce4d usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-1-0.dll.so +6d91279014b2307b9d06c8fa8fd13d61 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-2-0.dll.so +6ecd01e0b04032ba867844dc71f8a164 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-0.dll.so +93a9ada947ca71f028c48b3765601849 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-1.dll.so +6fdd1e0d40561dac7c3e72c908658e45 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-2.dll.so +4a1eed259d5ca586bd0f58ac4ae13148 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processtopology-obsolete-l1-1-0.dll.so +8a9518c5d969cddf95b455aae5838b1f usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-profile-l1-1-0.dll.so +15f3b5172e72ecad88f47732c0c4f307 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-ansi-l1-1-0.dll.so +d196625adb7c33b0ed8f254addbcbd31 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-l1-1-0.dll.so +05dc6faa928fb63e87fc5a33f9411251 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-obsolete-l1-1-0.dll.so +f33880309223ceaa7af633ee11b66dc9 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-quirks-l1-1-0.dll.so +1895dc26c2b19da665efdf4c4330a5af usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-realtime-l1-1-0.dll.so +081061ef66c4703fe0f286e31528fa08 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l1-1-0.dll.so +06a282c38b59f86414e6f25651653798 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l2-1-0.dll.so +353b42c3e9477861b3dd269d122f6597 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registryuserspecific-l1-1-0.dll.so +55c15547d90bad1013bf9185272abd1f usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-1-0.dll.so +47cd3a5ffda41b4bf9e270969104b2bb usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-2-0.dll.so +3d7b44949b42fdbf59dcdd9c92548364 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-legacy-l1-1-0.dll.so +2b3be04713dd00d96359e6dd259bb04f usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll.so +99cd9961d1dbc4b9135ac3f96dfa85b5 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll.so +a490d527238bfdcb403b86001dd1dd83 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sidebyside-l1-1-0.dll.so +3710f9a3a15d5cace2872a84b06f202f usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l1-1-0.dll.so +93d51c27427e74c3eeff2c84c012e40e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l2-1-0.dll.so +a1f51e442572b1c0baf7f9afc3b760b3 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-obsolete-l1-1-0.dll.so +d5d588dfde5cb589c36601e62020ffd9 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-stringansi-l1-1-0.dll.so +002736b4a71c28515d4deafd5dff2ea3 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-1-0.dll.so +f9ffebba0875defb43e4b32dc7d589e8 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-0.dll.so +c743564b766de91f3d32201041bab48a usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-1.dll.so +61ceb3bc48922d2aa6691d7eb8b05420 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-1-0.dll.so +b5c9b5d4f2dfe34442262a9f3d49d583 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-0.dll.so +1597d49dc647253b4198c1277a6059d9 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-1.dll.so +21a0bd66d28f1fbc2185391b3c67bb62 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-1-0.dll.so +381d26f045d27bbb0867ccd001f6a4e9 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-2-0.dll.so +58eab795c992624868dc95180dc2ea63 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-legacy-l1-1-0.dll.so +5f0f6d76662d31cdff4229fbe24f411e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-private-l1-1-0.dll.so +13161f126cbbac8753aa07d7e9b196a8 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-timezone-l1-1-0.dll.so +af4e146d0800d7f48690bd6f8c5e1187 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-toolhelp-l1-1-0.dll.so +5b7610993159ee2459dfd4997b45157c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-url-l1-1-0.dll.so +becb2eecb3c90990cc553fff647c411e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-util-l1-1-0.dll.so +c160fd8453e684f039869f4b5adbef94 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-0.dll.so +36255de7823308cc3713916774680e67 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-1.dll.so +7110bb18efa7b84e60e07609288bddf5 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-private-l1-1-0.dll.so +321194ba0d2faa25f4cb69a4b6879bf1 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-versionansi-l1-1-0.dll.so +7b01e6c48fd4f55777932702e5ed0ab3 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-windowserrorreporting-l1-1-0.dll.so +86b0201988cee3c00a418ab94fbc2579 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-0.dll.so +870615bcbc22f6740b4b4ae5b888e588 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-1.dll.so +96d638a2d446ebe3f3996b92bb134127 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-errorprivate-l1-1-1.dll.so +68bedbb519db2724ffae0d29c4250223 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-l1-1-0.dll.so +bbb89238a28f1e24eff2c40e4cd0e130 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-registration-l1-1-0.dll.so +32630dc393c9083262069df6221bb0b0 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll.so +18b8af206b5d749bc76995a7f3d58f37 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-string-l1-1-0.dll.so +bc3e725f5a0ee46e8ff8dd5d82ac9535 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-0.dll.so +7f4102eaba6e1141090feb2a20ef633c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-1.dll.so +2f47c3f8bcf34dd1dfd22f60e5e88aa5 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l1-1-0.dll.so +2fc907f6cb549b5e90e6b7da147ae444 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l2-1-0.dll.so +c9e643294dfb17ebdd2541e63133183b usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-conio-l1-1-0.dll.so +3e9dd4750fd1e8fccdc4e1761c81a417 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-convert-l1-1-0.dll.so +252ae4ab3cf37b8f3e622ce71d3aef67 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-environment-l1-1-0.dll.so +ec0ac08f68a88a2b36f4611143a3964b usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-filesystem-l1-1-0.dll.so +a2db3cdb72ff7a2b65be4837d9e381c2 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-heap-l1-1-0.dll.so +1b847f9d1c292f3da8e08974c078fece usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-locale-l1-1-0.dll.so +c04e76cfdeac826ada5eea4041376cf2 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-math-l1-1-0.dll.so +cbb77d7ef0c75aec43ddc9d6e1c4d659 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-multibyte-l1-1-0.dll.so +a9ab4556fe39e35897e828a5800e1b91 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-private-l1-1-0.dll.so +cfee69aa13445bbc8325c56e65ea1d22 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-process-l1-1-0.dll.so +1c5704b7db468af317d88c5414a80738 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-runtime-l1-1-0.dll.so +648a01238ab6e54fefd668bd35c592f9 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-stdio-l1-1-0.dll.so +37b9a5156ac31feff35a6197c7a08a92 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-string-l1-1-0.dll.so +635ef30df6d8d4547a4daae183f860c8 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-time-l1-1-0.dll.so +bc914446d1d6112109bd3cce906b57da usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-utility-l1-1-0.dll.so +9ecb3e6ada9cee61a8e3d3fa91a3fe27 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-config-l1-1-1.dll.so +12bb087eae1166261aa6135b818362b6 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-query-l1-1-1.dll.so +c0a81103c591c06c606524c7ad823ddd usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l1-1-0.dll.so +a3f933de8387983a3b881c3a8e5bbd2c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l2-1-0.dll.so +13b3606f37e86040f04b5a81da07c19a usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-normaliz-l1-1-0.dll.so +966af1e74d4d9fe06d12a64d663c9a42 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-ole32-l1-1-0.dll.so +2e5f1b4724cf199cf6bc10adc9fa6589 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shell32-l1-1-0.dll.so +330dbd3badf4298a93eeae7be66ec1d7 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l1-1-0.dll.so +4494342bc536a1c1452e4de14fdc579e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l2-1-0.dll.so +6c05af86da10f9e04acd089b46da8ad7 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-user32-l1-1-0.dll.so +6667c41dd10da96983454d0ab03b4d1a usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-version-l1-1-0.dll.so +cf7201f3a819401aca48207d3913d8e1 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-dx-d3dkmt-l1-1-0.dll.so +297a976cc71affefbb5cba20e94c8dd4 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-classicprovider-l1-1-0.dll.so +5aac64ac7e5f353b315215302c651b5e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-consumer-l1-1-0.dll.so +072e06ff7ebcc8eaf9a7f17fc44a8806 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-controller-l1-1-0.dll.so +2c1470b9faf6cfc57f491e959f70e64d usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-legacy-l1-1-0.dll.so +3450c64286d85d1e4963f655c9f44f58 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-provider-l1-1-0.dll.so +e6d28b3c5ad0447987910387e38e2368 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventlog-legacy-l1-1-0.dll.so +2be501d8a9cb64bdb424456c44261523 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-joystick-l1-1-0.dll.so +07ed0bb4b0e49cfbf225889bdfbc343a usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-misc-l1-1-1.dll.so +cf36eb61adec681a4f151e222f459183 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-mme-l1-1-0.dll.so +99d569205cce36aca0fe69d5894aa0c5 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-time-l1-1-0.dll.so +a65bf927d85baf894f9dc4069bdd59cb usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-dc-access-l1-1-0.dll.so +db549fe019b791585f992dde56422380 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-rectangle-l1-1-0.dll.so +0b20bbacd698e9ee4c592e2e11749335 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-base-l1-1-0.dll.so +e41ea0941d218508055466f4689c8721 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-setting-l1-1-0.dll.so +a7884571d078cd1a6a56d6b4e7dba4fa usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-rtcore-ntuser-private-l1-1-0.dll.so +b0470c4a0bd28cd9777d27ed1bf34113 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-activedirectoryclient-l1-1-0.dll.so +1b2c55f0f28fae5e986d138a1bff40d6 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-audit-l1-1-1.dll.so +b0c56d821b853364a0f1d060fd04e795 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-1-0.dll.so +68052e2fcee466ee7ff1474425ecaa55 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-2-0.dll.so +56c7096e8537a662453cdc8f3ca20922 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-private-l1-1-1.dll.so +f64f45f4ba3ca87f4a96f73632e5fdd0 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-credentials-l1-1-0.dll.so +58914ad7772974aebce699fce01af65c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-grouppolicy-l1-1-0.dll.so +a89c962d0d17be346892efb125fdd67e usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-0.dll.so +33bf2694157711e32d3d7507fca04764 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-1.dll.so +0b0b3dee10a276b18ec68c91aeeb4d91 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l2-1-1.dll.so +be906678b8b0bd30c591bb455900afd0 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsapolicy-l1-1-0.dll.so +a4b4c87c36ec440c56cee2f3011d9246 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-provider-l1-1-0.dll.so +a2ffc88f65e18b57a370209fa4710873 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-sddl-l1-1-0.dll.so +b0f77ae0856b716879460bd242c7799b usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-systemfunctions-l1-1-0.dll.so +345f1dbda9c3c84de48a7aadae125f84 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-0.dll.so +5ce7b364ce119cbb2a1c52d17bbd46a2 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-1.dll.so +b1af0fa38be99a96a15dc3dc27342774 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l1-1-0.dll.so +e6530ee25abc08da812f86330b93b246 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l2-1-0.dll.so +0abc810f2691699524aa245003ce752c usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-private-l1-1-1.dll.so +49081b2dc426dbb16878797d442d9ca9 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-1-0.dll.so +707e22b2b47371fe07ee2c5f71fb1c9d usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-2-0.dll.so +4652280de722c5319beb3e8ed28d4668 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellcom-l1-1-0.dll.so +1e62cada59407cb2a380911a73476f55 usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellfolders-l1-1-0.dll.so +8149c356f1f6e69e37e5f346da0d1f88 usr/lib/i386-linux-gnu/deepin-wine/apphelp.dll.so +66c937b615cdb97af0d4020f75fe2dc8 usr/lib/i386-linux-gnu/deepin-wine/appwiz.cpl.so +4b5ecbebbe8a6720e7c9bd77a83b9d5b usr/lib/i386-linux-gnu/deepin-wine/arp.exe.so +cbefff593aa96f7bc1165e5e5f8ba840 usr/lib/i386-linux-gnu/deepin-wine/aspnet_regiis.exe.so +c9543bcb92295a26db398141960fc639 usr/lib/i386-linux-gnu/deepin-wine/atl.dll.so +02b39e3dff0af9f180a4b2ba533148aa usr/lib/i386-linux-gnu/deepin-wine/atl100.dll.so +0614eefea4089da7be85912d7b396aaa usr/lib/i386-linux-gnu/deepin-wine/atl110.dll.so +4a7e3c7dba6fb4a9c113519c094d5283 usr/lib/i386-linux-gnu/deepin-wine/atl80.dll.so +b1e871c81ffea89a9de3ca9d4c57d95d usr/lib/i386-linux-gnu/deepin-wine/atl90.dll.so +31ce3e6ab90faf565f0842edf2bb09b2 usr/lib/i386-linux-gnu/deepin-wine/attrib.exe.so +3f701489d82bdb267b2eeb9ccdea01cc usr/lib/i386-linux-gnu/deepin-wine/authz.dll.so +fee1ababa8236815fca01e01c17e038c usr/lib/i386-linux-gnu/deepin-wine/avicap32.dll.so +6254fc7d2553f5d8d355ece1a5675867 usr/lib/i386-linux-gnu/deepin-wine/avifil32.dll.so +594429e9db1fd5ef006f6cf9c7fac031 usr/lib/i386-linux-gnu/deepin-wine/avifile.dll16.so +aae965f052d946a1db6a5ce55dc62a32 usr/lib/i386-linux-gnu/deepin-wine/avrt.dll.so +a3b7bb56a2323a2fa954652d7bf307e5 usr/lib/i386-linux-gnu/deepin-wine/bcrypt.dll.so +a95643e7a1314935f084bcfa23ffd1e0 usr/lib/i386-linux-gnu/deepin-wine/bluetoothapis.dll.so +7a854b6ca4993bd477e5492c636d3bdb usr/lib/i386-linux-gnu/deepin-wine/browseui.dll.so +857af1468bef49150ae7a340f0ca0c77 usr/lib/i386-linux-gnu/deepin-wine/bthprops.cpl.so +aeada5cc7af4871c99589a5c4bbbf733 usr/lib/i386-linux-gnu/deepin-wine/cabarc.exe.so +33ca025f1fd2a69485c60bbea31de393 usr/lib/i386-linux-gnu/deepin-wine/cabinet.dll.so +ef749c9c264c43ba2d923f9728ddc12d usr/lib/i386-linux-gnu/deepin-wine/cacls.exe.so +63f48ae2c452ca25013397522f181966 usr/lib/i386-linux-gnu/deepin-wine/capi2032.dll.so +e86ab9ebbad371e9bf8d864290d5f8ce usr/lib/i386-linux-gnu/deepin-wine/cards.dll.so +1ee3bb821402d91c91270ba5fc7208dc usr/lib/i386-linux-gnu/deepin-wine/cfgmgr32.dll.so +dd64e1693c4a62457e5bf9f588ea2141 usr/lib/i386-linux-gnu/deepin-wine/clock.exe.so +ba3115a85a3a53a49f86f7d7dbb5b4aa usr/lib/i386-linux-gnu/deepin-wine/clusapi.dll.so +d5d581018e0ef1a2328726bfa0efd191 usr/lib/i386-linux-gnu/deepin-wine/cmd.exe.so +87e4dadcebe46a0f18ada446168df353 usr/lib/i386-linux-gnu/deepin-wine/combase.dll.so +6a3da7ea273901e5d6635791478333cf usr/lib/i386-linux-gnu/deepin-wine/comcat.dll.so +329ddb17da716266c7ae77219e4f2d41 usr/lib/i386-linux-gnu/deepin-wine/comctl32.dll.so +35c16e28d9b74f96cfbcf017330e62f7 usr/lib/i386-linux-gnu/deepin-wine/comdlg32.dll.so +8c3f366a7a73065604e28d3ff9e96e7a usr/lib/i386-linux-gnu/deepin-wine/comm.drv16.so +e30ea763e9641ce8d9969e7b7d3761de usr/lib/i386-linux-gnu/deepin-wine/commdlg.dll16.so +4836e4dd06955e8cb5e6557deac7d748 usr/lib/i386-linux-gnu/deepin-wine/compobj.dll16.so +5448abfd5d999012dc2a014b1ffbd094 usr/lib/i386-linux-gnu/deepin-wine/compstui.dll.so +cdc5c5a391e846127a5092ba59b4f426 usr/lib/i386-linux-gnu/deepin-wine/comsvcs.dll.so +1052fe1ff942edfcb2bcebc585085b0a usr/lib/i386-linux-gnu/deepin-wine/concrt140.dll.so +900d0f924190292543326dd6d4631fd4 usr/lib/i386-linux-gnu/deepin-wine/conhost.exe.so +3ad105e3e89d11175ea9d8c6cbed5aba usr/lib/i386-linux-gnu/deepin-wine/connect.dll.so +77e55499227c1dc7854d60b5b5791372 usr/lib/i386-linux-gnu/deepin-wine/control.exe.so +34d172e21275175b543730694889608a usr/lib/i386-linux-gnu/deepin-wine/credui.dll.so +3d47d93b2063be2b824c7768a9825493 usr/lib/i386-linux-gnu/deepin-wine/crtdll.dll.so +e734623b6441f8b3a4e2442788526795 usr/lib/i386-linux-gnu/deepin-wine/crypt32.dll.so +b67622fb9a3d6c8eb4c585b63e9683a7 usr/lib/i386-linux-gnu/deepin-wine/cryptdlg.dll.so +0c029d430f48e3e2ebe4fe1b6641fae5 usr/lib/i386-linux-gnu/deepin-wine/cryptdll.dll.so +961376a1240c8bfe5781365bda2344e6 usr/lib/i386-linux-gnu/deepin-wine/cryptext.dll.so +8b445b998cb139c99c59a271d999326b usr/lib/i386-linux-gnu/deepin-wine/cryptnet.dll.so +59f98497798a85a84f81ea477d3a2c64 usr/lib/i386-linux-gnu/deepin-wine/cryptui.dll.so +76d6fbae7a57b784cca3e5f114c85f20 usr/lib/i386-linux-gnu/deepin-wine/cscript.exe.so +a77a04555a8089f3c9afe8cacc076dff usr/lib/i386-linux-gnu/deepin-wine/ctapi32.dll.so +16b2fc0ea72ca2d1df906166f91f2da5 usr/lib/i386-linux-gnu/deepin-wine/ctl3d.dll16.so +65588d2aee59fa9ef8bb6c082bfd45e1 usr/lib/i386-linux-gnu/deepin-wine/ctl3d32.dll.so +9a1bb5e4f5c5d0961406029587dd135f usr/lib/i386-linux-gnu/deepin-wine/ctl3dv2.dll16.so +16adf08cc85e3f19629df2211e370d3b usr/lib/i386-linux-gnu/deepin-wine/d2d1.dll.so +0b47f2e89d95e8d96f456f7ad5b1c973 usr/lib/i386-linux-gnu/deepin-wine/d3d10.dll.so +87519b63dcca0f5e96b4be0f428e1765 usr/lib/i386-linux-gnu/deepin-wine/d3d10_1.dll.so +7c9a5402a658c2df2859af95e80109f9 usr/lib/i386-linux-gnu/deepin-wine/d3d10core.dll.so +122e6cf971d0ae046fdbfc50e69bd71c usr/lib/i386-linux-gnu/deepin-wine/d3d11.dll.so +817c09e6fe6bb602d5c114fab89bbffe usr/lib/i386-linux-gnu/deepin-wine/d3d8.dll.so +c60ed854d1cb2146713161ee52a13a62 usr/lib/i386-linux-gnu/deepin-wine/d3d9.dll.so +4e1e6ebe0a5af5553c4df5b6d715759d usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_33.dll.so +0046b0a38f839b4757375a88d11af007 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_34.dll.so +63601e22ca3acdaddc60ceed29c8f9b1 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_35.dll.so +7dddd78a52f2c1e8eed744ce3313ef27 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_36.dll.so +32fd7128e162f0798545320143579060 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_37.dll.so +f23fe0d46f55464f57f30b28df547fa1 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_38.dll.so +5623fc8a5027e1fc207654b46996a21f usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_39.dll.so +a740227021e118d8fd8beb2f7b0a1a7a usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_40.dll.so +a09be437a4dc20887eff3717ca3148be usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_41.dll.so +e95809e2976722c8bb4d0cb53f934c0e usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_42.dll.so +a237a1e01476a6bcbd80745afa4a3609 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_43.dll.so +abca811eb1302623a3dce9f41454c8c0 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_46.dll.so +cc4fbc643cd9d77920489d245ddf33b5 usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_47.dll.so +3b7bb8275a6c7711537f3388438f53ba usr/lib/i386-linux-gnu/deepin-wine/d3dim.dll.so +82a2ac49c1e0cc97056ac975eebe6dd1 usr/lib/i386-linux-gnu/deepin-wine/d3drm.dll.so +0daf6496ccea89a46b4c4be470b5e602 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_33.dll.so +136a47efb724289be40ce876e06e0222 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_34.dll.so +94a0e4ddcdedbf76e880d8cb38b77d85 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_35.dll.so +6eaea07f91ee22164f948dd29840783f usr/lib/i386-linux-gnu/deepin-wine/d3dx10_36.dll.so +8ef2e02d574fc7423b426b3d36dd8262 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_37.dll.so +3de968ced12737ea04f9ae1f95faa070 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_38.dll.so +a27cd9de38c26ae2992825ebac94cd20 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_39.dll.so +a79976896f75fcf20259af004b915abf usr/lib/i386-linux-gnu/deepin-wine/d3dx10_40.dll.so +2ac57200476c7c15c86a063bd6f00d32 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_41.dll.so +c365d3d23be28e750a7c71ea207490c3 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_42.dll.so +7ce9594f11656dd2b61f5c9aa8430d72 usr/lib/i386-linux-gnu/deepin-wine/d3dx10_43.dll.so +3eac0cc9de96dbc85376327b9f24f31c usr/lib/i386-linux-gnu/deepin-wine/d3dx11_42.dll.so +b893d662a4ac314adbffb87027b9c6ba usr/lib/i386-linux-gnu/deepin-wine/d3dx11_43.dll.so +bc0fad0a8ee4016c460427020412e4cc usr/lib/i386-linux-gnu/deepin-wine/d3dx9_24.dll.so +dcfa2072ba9e6e036cb7bd698e082e17 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_25.dll.so +55c100b68e722b1f64ad57c0d302b61a usr/lib/i386-linux-gnu/deepin-wine/d3dx9_26.dll.so +17dd7b874de4fd3150fd66429cdfef06 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_27.dll.so +4d37fa642e37dc1d740a39dbdf4b0935 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_28.dll.so +0f3c2acf95f4ba14bf769e719bc8041c usr/lib/i386-linux-gnu/deepin-wine/d3dx9_29.dll.so +000dc654c71617add60178c0dbf64842 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_30.dll.so +61c8da5382042efba2af5f0a15044829 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_31.dll.so +feb54e1a6d0e797dac48d3d214e83496 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_32.dll.so +ef3b4af8eea18cb5106d469be08c70f4 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_33.dll.so +cdf52fbbba20dacaff477d863bb4eeac usr/lib/i386-linux-gnu/deepin-wine/d3dx9_34.dll.so +9e7d2872aa8c22d57fedba4dca8ef607 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_35.dll.so +b256a26aa41d71473e0151ca0f8f2f53 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_36.dll.so +10d940232b2ca0491e583f86febd7a24 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_37.dll.so +b585e2e81055e919f328cabc402fb349 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_38.dll.so +5e12dca1acc1b620d2162c50e7857d3d usr/lib/i386-linux-gnu/deepin-wine/d3dx9_39.dll.so +e8276953ab2e5fca6936f670fee4821d usr/lib/i386-linux-gnu/deepin-wine/d3dx9_40.dll.so +5860307d0cff933f5284b3fcb6fe2d42 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_41.dll.so +286dc802e28a1fe9b29b9e4905e89c42 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_42.dll.so +88d4fb9f977d0de8f0e8bab4e5f8dc68 usr/lib/i386-linux-gnu/deepin-wine/d3dx9_43.dll.so +8f731127599bec4e60a5f0278a03c4d3 usr/lib/i386-linux-gnu/deepin-wine/d3dxof.dll.so +09321da929477a0e319cf1ea4b747ad6 usr/lib/i386-linux-gnu/deepin-wine/davclnt.dll.so +e155a692d8bf428c16af8d66365a4562 usr/lib/i386-linux-gnu/deepin-wine/dbgeng.dll.so +3d6114fc73716da7ac5b4b2e5c001316 usr/lib/i386-linux-gnu/deepin-wine/dbghelp.dll.so +776fff04849fc3460b5b336b94242e5f usr/lib/i386-linux-gnu/deepin-wine/dciman32.dll.so +1374d0a1c0193cddf33539a31e797396 usr/lib/i386-linux-gnu/deepin-wine/ddeml.dll16.so +adf50cdad0c4f57b76b15d864cf39d56 usr/lib/i386-linux-gnu/deepin-wine/ddraw.dll.so +e79a33f9e2e5dbf9a828c8cfd9cb868f usr/lib/i386-linux-gnu/deepin-wine/ddrawex.dll.so +5a51934a65e046407b04c73b2e3c09d0 usr/lib/i386-linux-gnu/deepin-wine/devenum.dll.so +9742b7af3bbda31d734901e1d3c727a1 usr/lib/i386-linux-gnu/deepin-wine/dhcpcsvc.dll.so +9a7431cd4b46894ddc5ed4495c4f7559 usr/lib/i386-linux-gnu/deepin-wine/difxapi.dll.so +caba81d5ac9d65b38d51337799d63cc1 usr/lib/i386-linux-gnu/deepin-wine/dinput.dll.so +0a1aa34ff8d61c6f12a736f6e9fc8e52 usr/lib/i386-linux-gnu/deepin-wine/dinput8.dll.so +bb947ae56a0fb0d6c27a97f3b6414d83 usr/lib/i386-linux-gnu/deepin-wine/dispdib.dll16.so +952128bdca14c798a37d87ff3c64fccc usr/lib/i386-linux-gnu/deepin-wine/dispex.dll.so +4bb3c8ae2897e3db8aa57d602026c60c usr/lib/i386-linux-gnu/deepin-wine/display.drv16.so +c87447046b198832b55ac8d661a1a69a usr/lib/i386-linux-gnu/deepin-wine/dmband.dll.so +29572799a00bc8d68951946c427cf97d usr/lib/i386-linux-gnu/deepin-wine/dmcompos.dll.so +63f3578b7cb1b0e56d357207d22885ed usr/lib/i386-linux-gnu/deepin-wine/dmime.dll.so +fc8604015f5ea033bc14a83117361e18 usr/lib/i386-linux-gnu/deepin-wine/dmloader.dll.so +a31337e28cfd2031dfd112d89d8e2a0d usr/lib/i386-linux-gnu/deepin-wine/dmscript.dll.so +cbcbef917107af80ed2e7615055c8431 usr/lib/i386-linux-gnu/deepin-wine/dmstyle.dll.so +d298340d2e5ed4e750c30e603101983b usr/lib/i386-linux-gnu/deepin-wine/dmsynth.dll.so +5e1bb005f9145329020ceb707a918a6c usr/lib/i386-linux-gnu/deepin-wine/dmusic.dll.so +058e096c7178740e9666d58f5ba7de77 usr/lib/i386-linux-gnu/deepin-wine/dmusic32.dll.so +b193d023c3bf9f06b800fb20a812f125 usr/lib/i386-linux-gnu/deepin-wine/dnsapi.dll.so +007dff421afeb9ab4287375d1ab73fba usr/lib/i386-linux-gnu/deepin-wine/dplay.dll.so +7bcfcdea0c3e96ddffeaececc5c97b88 usr/lib/i386-linux-gnu/deepin-wine/dplayx.dll.so +05cfec5b3f190da689efad5edfd9947a usr/lib/i386-linux-gnu/deepin-wine/dpnaddr.dll.so +a75900061f119b4758d8e3c71a9d4f33 usr/lib/i386-linux-gnu/deepin-wine/dpnet.dll.so +34a2ec64fd2eed3a453cbf7069510faa usr/lib/i386-linux-gnu/deepin-wine/dpnhpast.dll.so +a731dc5f894ccf73becf2e0fb9548e62 usr/lib/i386-linux-gnu/deepin-wine/dpnlobby.dll.so +745eb8c6a86370f1e796d2e1a3a1ea97 usr/lib/i386-linux-gnu/deepin-wine/dpnsvr.exe.so +b3f70c114e1d8cc009004864c194a21c usr/lib/i386-linux-gnu/deepin-wine/dpvoice.dll.so +5a6ed6c5ad4b175e582361ce271c762b usr/lib/i386-linux-gnu/deepin-wine/dpwsockx.dll.so +51d6edac9efb4f0d12dff81aca1b3f46 usr/lib/i386-linux-gnu/deepin-wine/drmclien.dll.so +73de370d9dd4a00d5279280311bb3de3 usr/lib/i386-linux-gnu/deepin-wine/dsound.dll.so +4311afc6ff1beb6501f82ada11f5dffa usr/lib/i386-linux-gnu/deepin-wine/dsquery.dll.so +6998bcb4e847aee4b936af74b09e0b5f usr/lib/i386-linux-gnu/deepin-wine/dssenh.dll.so +a9ac0966b0dff18093ba7fbcc4f284bd usr/lib/i386-linux-gnu/deepin-wine/dswave.dll.so +1f568ee268fa87c5278dd1158a15b7b6 usr/lib/i386-linux-gnu/deepin-wine/dwmapi.dll.so +58d9d2735d64ef4fd79a7ecaecf2eba9 usr/lib/i386-linux-gnu/deepin-wine/dwrite.dll.so +583f61d51180c4f6cf1320fe6daeb9ef usr/lib/i386-linux-gnu/deepin-wine/dx8vb.dll.so +b8270a744c8041c81af569fa163dfa1d usr/lib/i386-linux-gnu/deepin-wine/dxdiag.exe.so +3998085f935e011a6530d93172c01495 usr/lib/i386-linux-gnu/deepin-wine/dxdiagn.dll.so +22ac9d227d9dac34f7a789bf139b2ab0 usr/lib/i386-linux-gnu/deepin-wine/dxgi.dll.so +4eeb9518a6fee9abaa10401aec390692 usr/lib/i386-linux-gnu/deepin-wine/dxva2.dll.so +befa81968521508ec51e83159d4e103a usr/lib/i386-linux-gnu/deepin-wine/eject.exe.so +cb563f05ca96293c0c1c923173895cab usr/lib/i386-linux-gnu/deepin-wine/esent.dll.so +476c34eef2bbd0dd6b8a64df01f35e96 usr/lib/i386-linux-gnu/deepin-wine/evr.dll.so +b846738d7514dbbf2b1a39896d032f5b usr/lib/i386-linux-gnu/deepin-wine/expand.exe.so +7325a01c3e5cca0d27b1ac145ca903a6 usr/lib/i386-linux-gnu/deepin-wine/explorer.exe.so +77ac4305c02947c508206d14393106a1 usr/lib/i386-linux-gnu/deepin-wine/explorerframe.dll.so +8284435fac6320fce1da5af53ca53f0f usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-authz-context-l1-1-0.dll.so +94d9448b674135b181988bf99887a79c usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-domainjoin-netjoin-l1-1-0.dll.so +ba85869d3d6c5adb31452912340a0662 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-create-l1-1-1.dll.so +cb6d542c33dba9b860bd8752cba34626 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-l1-2-0.dll.so +99ce74f713ce1cbba8d7f5615d63f120 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-devcaps-l1-1-0.dll.so +c5c738e11b747df68798ed2c8b3193ea usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-draw-l1-1-1.dll.so +0157a76403937332bab109759e3f0b83 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-render-l1-1-0.dll.so +75267e45efe22dbe302a53864dbc4808 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-current-l1-1-0.dll.so +a4144df4f0f90edf28f38a06e062c790 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-l1-1-1.dll.so +fe6ad0b6e41e98d58e4de78ec74129dc usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-message-l1-1-1.dll.so +9865fb4912d9d60349cd0ff450825d42 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-private-l1-1-1.dll.so +3e50c875464de264c1457835c36391e8 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll.so +8426d8048346936e9632b1996e24297e usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll.so +da3e72222a867a81173db1ab82361f79 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-window-l1-1-1.dll.so +4ab05dacc23c91a2ea6953be24fc3025 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-windowclass-l1-1-1.dll.so +5916b1ddc2d53a1f964897ab792a7b32 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ras-rasapi32-l1-1-0.dll.so +9aa4a6c1268b1952adfca84f6fb59b1e usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-object-l1-1-0.dll.so +eb6d6f556a8dfc955ecfd0ef188c608c usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll.so +47c0035df72f9b3727ad9d47ace78cc5 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll.so +43ee1032fb185a136e5f30d2f39636af usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll.so +07b34077d23f9987b95716d111b11bdd usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll.so +85737f228a18fdb37587c0e9a6f4d643 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-credui-l1-1-0.dll.so +3e5c79ab6c6fdda86d7a959e00849125 usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-cryptui-l1-1-0.dll.so +ef76654aa680e4d79162da83dd9ec828 usr/lib/i386-linux-gnu/deepin-wine/extrac32.exe.so +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/acledit.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aclui.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/activeds.dll +47185d3eff43ffc24f28c445c2d139ec usr/lib/i386-linux-gnu/deepin-wine/fakedlls/actxprxy.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/adsldpc.dll +f3bd363c4871b93dd1784a83820eac45 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advapi32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advpack.dll +838671f12420134be3db3a569d509572 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/amstream.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-identity-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-runtime-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-apiquery-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appcompat-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appinit-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-atoms-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-bem-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-private-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-2.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-3.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-2.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-handle-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-obsolete-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-private-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-2.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-3-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-private-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localregistry-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-2.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-misc-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namespace-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-normalization-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-path-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-privateprofile-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-2.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processtopology-obsolete-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-profile-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-ansi-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-obsolete-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-quirks-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-realtime-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registryuserspecific-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-legacy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sidebyside-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-obsolete-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-stringansi-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-legacy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-private-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-timezone-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-toolhelp-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-url-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-util-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-private-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-versionansi-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-windowserrorreporting-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-errorprivate-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-registration-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-string-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-conio-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-convert-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-environment-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-filesystem-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-heap-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-locale-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-math-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-multibyte-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-private-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-process-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-runtime-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-stdio-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-string-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-time-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-utility-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-config-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-query-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-normaliz-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-ole32-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shell32-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l2-1-0.dll +2c7d43c850194c08650961e48b0f042c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-user32-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-version-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-dx-d3dkmt-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-classicprovider-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-consumer-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-controller-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-legacy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-provider-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventlog-legacy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-joystick-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-misc-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-mme-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-time-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-dc-access-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-rectangle-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-base-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-setting-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-rtcore-ntuser-private-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-activedirectoryclient-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-audit-l1-1-1.dll +82c6ea5c01c119163a4965e6e7eed3d8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-private-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-credentials-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-grouppolicy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l2-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsapolicy-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-provider-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-sddl-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-systemfunctions-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l2-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-private-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellcom-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellfolders-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/apphelp.dll +30266d1616df0c6011e7eab2a0bf4ef6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/appwiz.cpl +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/arp.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aspnet_regiis.exe +ca5f31d84d9d4e6303da2a028ccc1fb6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl.dll +7d618aef9afa7fd99adea249473b456f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl100.dll +3769c7592dfb8b28ed041233abfdd610 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl110.dll +b081d401ff0d32d56bfed51e522f6657 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl80.dll +d530f0841b2e19d615b4859ded692443 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl90.dll +04ecc36be78db0a1dbab9605b1e89169 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/attrib.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/authz.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avicap32.dll +9608e681ba4e61b54bb7b079c95a9bab usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifil32.dll +60a0515dc938d431ee69bbcb52f56018 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifile.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avrt.dll +75f868ed15871cd7fad6a8aab418da1f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bcrypt.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bluetoothapis.dll +9cf03fdeccd7ac120da9e4ac172df39f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/browseui.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bthprops.cpl +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabarc.exe +91e63ed968c8c52308af45ca726d16f8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabinet.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cacls.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/capi2032.dll +d35c1df39828e0875cacff280ecbaca0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cards.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cfgmgr32.dll +fe6e951bac509c348f0241bf835e61a0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clock.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clusapi.dll +7d5579a0dfa3377ae0a041ff718333e7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cmd.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/combase.dll +ec3aa5de532689c4ec756210df26d2fd usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comcat.dll +aad8f67559f540d91ef5a267d2c5d5ad usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comctl32.dll +de46750b63a45d9688bcadc54e4bcc38 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comdlg32.dll +0ce7141d096cd01736075ec410cae912 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comm.drv16 +2fefdc05caa335b2b730886265a0b472 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/commdlg.dll16 +622edf7b9c0c8c9973cb0a3cd1048a4f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compobj.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compstui.dll +6e505e6ff982a1af62552836c8bde7b0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comsvcs.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/concrt140.dll +9ce4bfb10abe6f8819cb88c4da0b82b5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/conhost.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/connect.dll +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/control.exe +2544d78cb3b39fc5086a354b5f6f98de usr/lib/i386-linux-gnu/deepin-wine/fakedlls/credui.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crtdll.dll +4b35ecc698d0009919365f58f8cfe00d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crypt32.dll +c5982048c6f0b7605f1fab185d8134f2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdlg.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdll.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptext.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptnet.dll +baa4a7678facae34dd0e112d238588ec usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptui.dll +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cscript.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctapi32.dll +a14209de91d98620f3648a5ba8f5c609 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d32.dll +5649acd9f8d1aa1216a42b467c595c35 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3dv2.dll16 +28a2f311fcd87a0c97f477fe862f8485 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d2d1.dll +3c7adf56bfad507ab844014f1f93293d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10.dll +83fe854da6935b990bac172de285f7e3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10_1.dll +1c70ad6ad8e83e7df114cb36c0e11df7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10core.dll +db523a7b8376995acbd4ceeafbf26101 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d11.dll +5488b38a4575ce6b28015da97b384242 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d8.dll +33ec6f68a8f5632ae1992a01250ebf97 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d9.dll +42eb53c2f0245d7cbc115964e04e99a2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_33.dll +2c6aee4d832709d5d35016f391113071 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_34.dll +784534bbe8950eee05de4ab97db4b508 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_35.dll +3f7992e8c7d8b896304af8c1a83c0765 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_36.dll +1c50978d89940135c49e762ff2d69fa8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_37.dll +c442d6a89e4d175861ffde76279b906b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_38.dll +2f47c0ba14ca830bc2a630303e75c367 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_39.dll +e6ac03a451bdc384f6fff949dcdf9430 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_40.dll +17d5bb43323f7d5ae7369b6c14486ea5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_41.dll +1e4ce5aa59d4f6f5a08f1c099842d2e7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_42.dll +44e0df989951dccfce825a5a077a1836 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_43.dll +3dffd8a4eff343f1172a6cdd17a230f5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_46.dll +746c73a52bd2be67dec1ac4c6f81ef83 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_47.dll +f88c3269655e9a9341cb063d6bec84fb usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dim.dll +20e1feaeba48ce1267ca1c9c64379cae usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3drm.dll +24aaf9d78adb174ef5327980f0054642 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_33.dll +e873ffd7fd066ad02d03ef92836676b4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_34.dll +afefb450973f10b405b8bc9455c8225f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_35.dll +1ebea1196d51582d40d71f46c687a4aa usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_36.dll +196b99e4ce053e8f5d1ff5b9dbc3a509 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_37.dll +849e81e2044cf31bad09470ecf3be558 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_38.dll +8986ec39693f962880966939861e7538 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_39.dll +618b53a60a98166466aa30558b0a1ff2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_40.dll +9cdd5e62e64070c4a8f98f76fc66b360 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_41.dll +683c18e317673ef6397e3e007ba217e4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_42.dll +b19093a57e4e96b306e1bf3947de681d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_43.dll +d40b761bbe30d93fa155d5c8e54a6fcc usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_42.dll +f304d97c3393b0fde26ac11e4c66fa96 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_43.dll +258a2b5e3309790b466a6a96ef05b18b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_24.dll +26a19fd4cb6dfc490cad11793c725873 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_25.dll +b2ed353046f67ea91f4a67e302072dc5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_26.dll +a26a35e3a2f67401a4560c62133aeae2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_27.dll +d420aa2ead2e150fb325e221a4b5329e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_28.dll +ec6a1547e6ad4eca293a2a074e95576f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_29.dll +e01be5eb2ff4acf277179ef3cd1e2fdd usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_30.dll +2d62b2377fc22e6c2616dda4d4575cf2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_31.dll +44af9041a7610e08604da752a035b6ce usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_32.dll +efeaeab375ec9b2d0f8a496422af673c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_33.dll +f722a91da8a5037d9045539320640d3e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_34.dll +0484f33a62dbda5120fa0e11e729c9a2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_35.dll +ff81142dfeb015c3d724d936310282fa usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_36.dll +f69032990eb336a40a01ee94b197b8d1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_37.dll +8e8aef4e482bc5d67bf352fbd3d6a75e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_38.dll +8e78b38a228dfe30fd50a46a12231b34 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_39.dll +f4cfece7b300ecf2bb8cd39e33873d4c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_40.dll +ff9842a4a6526dc3c25d5a508b5eb394 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_41.dll +fa620b68f7ad452ea17b4c8f0a2695b3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_42.dll +442ed11cb03b5e3d3ea36b8f1d1e1793 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_43.dll +7f9eb1e86926005a420477986e86ffdf usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dxof.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/davclnt.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbgeng.dll +28dce815d68925191e93225b3b6c7971 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbghelp.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dciman32.dll +0f02e6f7918ee19b74ead0545b9232ae usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddeml.dll16 +c476595011242900b4cf04906f4700d8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddraw.dll +3545d778fd6d34042db3cf6f18742d53 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddrawex.dll +3dafbb3846e73a1d158fae2ed5b629f9 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/devenum.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dhcpcsvc.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/difxapi.dll +8e74ce1b5ae3fa8a845b915bca3867f5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput.dll +3c7088cdebcd3b1595455229dd0e1f25 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput8.dll +e3c5c02e5b287cc1e0e92240db7bc5a0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispdib.dll16 +22b161c7e66f1f99584fbf80e4c76666 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispex.dll +bbd0d2ea64c1bbc6ca180d12ba774862 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/display.drv16 +01341ef290c50477bc693e32c8a7ff0a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmband.dll +9d5defb40a6e7f19d79cd78ccf9d03df usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmcompos.dll +e841cc3f6df14006e85015f674b726c0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmime.dll +bd04fbf60d8214d3c608e16870639752 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmloader.dll +18dec938a0575894b976beac3416be19 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmscript.dll +a6b5943ffd4683b04923b137ef0c33ee usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmstyle.dll +2338a1be0073518a86cac3605026d4b6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmsynth.dll +36c79f31492fdbfc59de4de4172c8e7f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic.dll +d4b94d452a8fc1121c5f25547d6c5df8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic32.dll +15616a875941d46f2cbece6e213bf122 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dnsapi.dll +190032d93d78435f5e37641292cd2380 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplay.dll +345115a31d173a277eab3a2ed9a75852 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplayx.dll +cfd69153ff40c3aed1dfac6993882d9e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnaddr.dll +d6079d906d83c6d5d27fdedb96e72539 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnet.dll +ec54de5a26cc1256d6f743e65017a81a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnhpast.dll +61e7d9a871079fb5bbdbb4fc3cfd9785 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnlobby.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnsvr.exe +7cc671baf8eb8ed895d6b8157d0e5d2a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpvoice.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpwsockx.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/drmclien.dll +08631de0871a65622dd8c542d1c0841e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsound.dll +0f1a225259f2e3df8d16520a75b2e5d2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsquery.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dssenh.dll +7a9a7373d4b4e0faf3ee8f8395f2811c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dswave.dll +3a26ad7b3b6b0424888faff746b547a1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwmapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwrite.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dx8vb.dll +7338cfcd9430ff42080c76841add7bf8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiag.exe +e817758434db24d8ee45bb67d9124310 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiagn.dll +e4b9af25da8632e3d82a3a5a3b5de255 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxgi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxva2.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/eject.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/esent.dll +ea3ce8f0f31b05c4abe919564ccd372a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/evr.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/expand.exe +b2d5410dfc632ccce29ac43b97281270 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorer.exe +0119785016a98bbac4c5e07fb6a7e2ee usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorerframe.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-authz-context-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-domainjoin-netjoin-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-create-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-l1-2-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-devcaps-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-draw-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-render-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-current-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-message-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-private-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-window-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-windowclass-l1-1-1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ras-rasapi32-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-object-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-credui-l1-1-0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-cryptui-l1-1-0.dll +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/extrac32.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/faultrep.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/findstr.exe +1ee6d0dae22ba5edcbc32d4031f944e7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltlib.dll +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltmgr.sys +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fntcache.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fontsub.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fsutil.exe +d28034d7367a1192ff588229d343919b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fusion.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fwpuclnt.dll +8efc24c4a3d9819d8117cbfa289a5813 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gameux.dll +7d992d7918420aa26766fcd3edee63f2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi.exe16 +c578b89f6ccb2f7d3b8758feb0821a6b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi32.dll +2dbe1f35843beb04a9b2374c3021e7c5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdiplus.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/glu32.dll +35d3df1bc44e7526b863c5b7f9ff689c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gphoto2.ds +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gpkcsp.dll +9eda79c430001c8947c1fcd7ee4b7f51 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hal.dll +ca5c7b2be5f85b3f142b7dd692e5faab usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hh.exe +009c0fa11e6ed123c0e3268a9e8d6b4d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hhctrl.ocx +5f210b52885f5fe4cee7d0211492a190 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hid.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidclass.sys +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidusb.sys +500687250eb25c30a7ffce1465bde740 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hlink.dll +a368d11385bc194347a9975519a39048 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hnetcfg.dll +f465dcacadac725c747c6d5ba7045615 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hostname.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/httpapi.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icacls.exe +6a1b069bfafc43842c60d54c150d6d7a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iccvid.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icinfo.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icmp.dll +a7b187b53d52df5a8083ca53d97b7860 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieframe.dll +e8b4dd8b0ea07955a2668dbedb152230 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieproxy.dll +a032a2b2c2d6b998753b3f79658aceed usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iexplore.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ifsmgr.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imaadp32.acm +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imagehlp.dll +0dec558a4b74b716d5dd9690132fda51 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm.dll16 +8175dfc60e82ff0c0f9aa57e26f21c5c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm32.dll +f0dd5be53d4a88a2eca5516705045149 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcomm.dll +06f33fb36cfc85c8d3281bb122e5589e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcpl.cpl +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetmib1.dll +fc62ec59631b30d64f92dbb6446806ca usr/lib/i386-linux-gnu/deepin-wine/fakedlls/infosoft.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/initpki.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inkobj.dll +1541405ce144f8a03707932b0a3a9a35 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inseng.dll +fa2549e410778fbdbe5df790c71ef81e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ipconfig.exe +03b262dd5029b72b12f1652739c174be usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iphlpapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iprop.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/irprops.cpl +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itircl.dll +eece37906536f5a8522d9aaf205424ce usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itss.dll +bda217220ef75837e34237186d68bccd usr/lib/i386-linux-gnu/deepin-wine/fakedlls/joy.cpl +c5d2d41b78cc99a604c5b0ce0d61e869 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jscript.dll +4f4fffd015b4f9ea10161ddbc189d750 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jsproxy.dll +4848294226bf5613d1bcaa6a1ad044b3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernel32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernelbase.dll +7555d23f3ae4d62c35ab869bf92372bc usr/lib/i386-linux-gnu/deepin-wine/fakedlls/keyboard.drv16 +cfc85f896aeba17df1ebd9bcf83b9fa4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/krnl386.exe16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ksuser.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ktmw32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/loadperf.dll +0f373d7a9603d0442a0e8a3213da5b0f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localspl.dll +c9f2f859feb91b6a8ca88345b3954871 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localui.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lodctr.exe +d0eb5b2e422d12bae84c3276c6c3b17c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lz32.dll +f4709f8ea20bde5e86e6b7bb14f39f2f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lzexpand.dll16 +64580bf33e8909cec3ced78b2379dbf2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapi32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapistub.dll +71280803e5325aff2b91d3198f49e875 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciavi32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mcicda.dll +4c58d0626ba392494fa10208b0e5b2ee usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciqtz32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciseq.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciwave.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf3216.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfplat.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfreadwrite.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mgmtapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/midimap.dll +845146106f170a2b7189aea4dcc288cb usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mlang.dll +54f7b6d1e38273a7a54140f7a6258618 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmcndmgr.dll +b18a5609a459d1b1608fc92041bdb3ae usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevldr.vxd +6b7bf8d03e46c23fb283face64927374 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmsystem.dll16 +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mofcomp.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/monodebg.vxd +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mountmgr.sys +9487fd9c494c7821280bd22dead426df usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mouse.drv16 +a7d7e1fe1e0f397ca2abd9d3d8d20fcb usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mpr.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mprapi.dll +a9b8e2ff316cab6f10c54689870ea6c3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm.dll16 +e71dbe0c482b189dc65e071d76acf634 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.drv +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msadp32.acm +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msasn1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscat32.dll +b6c58d5bacb5969cbe97f05740272855 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscms.dll +c0ce5b7c848e55be9ebc58e0a3a653a3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscoree.dll +866c8791ebfc6715a2ee192eec21854d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctf.dll +0c25acfd972f00d84cdb5c1054e0d892 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctfp.dll +f560979a647a61b90c9885a63495d76e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdaps.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdelta.dll +7dcd054d44ae0d3cfaaf90f913f3d678 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdmo.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdrm.dll +91b1c6b6aa89942a62bd2391a8f4ea0d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msftedit.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msg711.acm +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msgsm32.acm +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshta.exe +3b470e6824ef3c3e4a7011954b1db515 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.dll +ec9c440da221bcc40d39da4239a9226d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.tlb +2d408dfe253d9c7554a1236b0ea0513d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msi.dll +3ad71d70a41940bab44679da72eadc30 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msident.dll +6f415f17d94c8aa0473ebc077342db37 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msiexec.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimg32.dll +04bdb855c0dd1d6b359ae4491a1670d0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimsg.dll +0bb74c75a040b0053bef2130f41ce947 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimtf.dll +c72d06cffe4dd8b4fe9959f6b6a6e70f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msinfo32.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisip.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisys.ocx +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msls31.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msnet32.dll +4a52fcf1ffd4baf9df14ac0188c52ead usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mspatcha.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msports.dll +7ffe9a2468f814fafda0e42bde679484 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msrle32.dll +e5e20c977454298b7c2b6b04c261c5c5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msscript.ocx +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssign32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssip32.dll +89f74bc39cf9040d89b4dfda00f4f3d1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mstask.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcirt.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm80.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm90.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp100.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp110.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120_app.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp140.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp60.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp70.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp71.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp80.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp90.dll +a359bd1469d0df746f52d20f6a3d17cd usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr100.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr110.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120_app.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr70.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr71.dll +cb2f25d8351ddf309e88966775e25c64 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr80.dll +78f09741fa259ddc5a7a4ab3dab8d3f6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr90.dll +c93c2ddec497decb8e41e6622ade1325 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt20.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt40.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrtd.dll +9f686c7de7fda231df031d10b91c55fb usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvfw32.dll +f7540af7d1308022974550c2247ff0a5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvidc32.dll +31567f28302a9a47a1fbaaa18a373875 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvideo.dll16 +746221280383c1d712c3abf766f89bf8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mswsock.dll +825f6206354d95c3e34bc4f6166c0dc5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml.dll +4ee6f656dab43d6a43ab8142420189d0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml2.dll +808f3657a4aa90b4bd9b9b5362d3e0a7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml3.dll +97195059e4530426b891c08b70af1c90 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml4.dll +8aa1db7e10e9173e35c2c52a71835f15 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml6.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mtxdm.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ncrypt.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/nddeapi.dll +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ndis.sys +87842cc577d2d7d519214947f8842c16 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/net.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netapi32.dll +698bcba8bd517b5fe12c50ce3d144e58 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netcfgx.dll +ef4647ef67931fb60262e20ccf45e3da usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netprofm.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netsh.exe +c3a9b3dd6b566445052c6f36c3cde1ed usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netstat.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/newdev.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ngen.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/normaliz.dll +63708b56fb48ec537e7b4fa06108691d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/notepad.exe +5a23f67436ff93a67d95cb6efe69ffe6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npmshtml.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npptools.dll +b6a519ca218ecf310063d1010a93cfd7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdll.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdsapi.dll +3fa3057dd6de4abeed982c1674471eca usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntoskrnl.exe +735f291413866cc408cf6a2f96d6c9ce usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntprint.dll +e568cefb6e42288d003da49d6f7d90a1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/objsel.dll +f298db7694b2e8ecad51683b45d6767f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbc32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccp32.dll +066affdc27c80d5038c47e3ddc35c9d2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccu32.dll +f4116fca1ac31fdfb0ae189d26e76095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2.dll16 +e2ec21ead02598b77f0f2415edf0bd31 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2conv.dll16 +d8003185c462809a7362f452b989e3a3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2disp.dll16 +0b7c667e7b08e7cfe1dc4bb5aff8b349 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2nls.dll16 +735e6eb85b55708afc0c3aa567459a94 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2prox.dll16 +c3a46a625560c66edf685ee7614d7ff4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2thk.dll16 +2ea70b02dfa4d1a64d68fe224ff5c226 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole32.dll +b9cae2c51e771421e4084e039b0e29a6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleacc.dll +acd57558ee0af3d738ab791b27fcf582 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleaut32.dll +8e877c4a9cfb40f7040affdde2e5287f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli32.dll +87e5b03c164a707b427cef5219579abf usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledb32.dll +933561538c7abe23bd6e5945d5fafb72 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledlg.dll +b078c99d3fda5d054bf5e3da788f19df usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olepro32.dll +359e66fa3ad251eff482a1a956dde372 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr32.dll +4b15cc4e90c7f3e58f68a3ebbf71213a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olethk32.dll +2866baba8c3d159b043fa2ac23ab777a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleview.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/openal32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opencl.dll +ac3e545c6eadc1962e4b3083821250ae usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opengl32.dll +a621a75bad14928a0a15110cd1cc508b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/packager.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pdh.dll +49925b6a45580ea7bc1c185d08e0a658 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/photometadatahandler.dll +29c187cd429e39b916c074967a85e08f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pidgen.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ping.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/plugplay.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powershell.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powrprof.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/presentationfontcache.exe +370ee142ec7b439f8cd0b44ce7aa84a6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/printui.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/prntvpt.dll +4bf8341250e25225d713dcaf3b86d48d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/progman.exe +d3609fe2dbfc3c26f433a834a73b051c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/propsys.dll +698c4978a56374526dd5d99a3ed2cf43 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/psapi.dll +d175467de3e06931f6a9b97f198c1ef4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pstorec.dll +f02fcedc5e1a32b8e818540d73fc110c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qcap.dll +ff3ca173eb406578f2c5ee6ca57ec37b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qedit.dll +431c69b0ca7f9c7458da22c290991669 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgr.dll +cd439f3f62091d13970247ee883dc9a1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgrprxy.dll +8c336bd64a7d3a06dbbd60bfb529c404 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/quartz.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/query.dll +5ccfe8757bcc0e17cc92c89914f9f380 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi16.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasdlg.dll +1e7cb03289da243135b28b3ca31e76f3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/reg.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regapi.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regasm.exe +2b830171b007d8beb44e7c2e374a7f45 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regedit.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvcs.exe +1c77fc590b8cde6c3efee77cb2f1dca0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvr32.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/resutils.dll +2ea50d251be0d41f1fd38a8fc2b13d41 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched20.dll +8ec24ef188ce22c92c7bea730b0db83e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched32.dll +73be006fd4d7a3302997ba8c97b6e919 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcrt4.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcss.exe +051dad08b0ad05df9a25c4c48884108b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsabase.dll +acac8731e27e79da9b7643ae97613df3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsaenh.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rstrtmgr.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rtutils.dll +c5903b37870e1e1af1813f21bdf1ca0d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll.exe16 +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll32.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/samlib.dll +dc6aae5ff1f0cd187ad1352940dcb37a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sane.ds +02567e08aaa60966910d3dc9e73ea958 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sapi.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sc.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scarddlg.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sccbase.dll +4df9d1d63c856b56261214b57beb7c20 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schannel.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schedsvc.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schtasks.exe +dc9b1c4c949384ffc20108b010004239 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrobj.dll +06af1c5b99a3febf636b8d1eec80ecef usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrrun.dll +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scsiport.sys +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sdbinst.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secedit.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secur32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/security.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sensapi.dll +e99cf08daf6aa6603373d31928dfe6f5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/serialui.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/servicemodelreg.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/services.exe +8f6e49221bd0ebc98f46e6db226c2273 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupapi.dll +1ba01f10e550471e1536b049e01bc8e9 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupx.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc_os.dll +ff5f5af741b8df0565ed3b7c6744e47f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdoclc.dll +e7116c2bef670f9399755a5411aa1a6d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdocvw.dll +e98a579d5e65a6e1df047921a2c58fe4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell.dll16 +2e3917ccc33300e4dcc47101ab965cd2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell32.dll +7d39fbd0ad37cad3322f0103ae5c48ef usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shfolder.dll +3b00ddcf4388e4eee4cbeea3a4a5a2c0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shlwapi.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shutdown.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slbcsp.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slc.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/snmpapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/softpub.dll +d38780974e273f3c52cb178b4a7f0e77 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sound.drv16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolss.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolsv.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sspicli.dll +73febb217c64d638a8bfe3704043592f usr/lib/i386-linux-gnu/deepin-wine/fakedlls/start.exe +3a414e26d93388869b574dff753691a1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole2.tlb +fb1427a94fe27db2cf94cf940dc631de usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole32.tlb +bab8ab6fa7ef2db353d91e9303b2edc3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sti.dll +c94d67d7495b52090aa0c84a3d1ab2eb usr/lib/i386-linux-gnu/deepin-wine/fakedlls/storage.dll16 +d0719dba7071251f6ec5e4909b747519 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stress.dll16 +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/subst.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svchost.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svrapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sxs.dll +f519ff9a7cf02d151cb14c5bde9ccf78 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/system.drv16 +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/systeminfo.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/t2embed.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tapi32.dll +80c876566725185f504b624dfa5a1c6e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskkill.exe +f6b98faef654654c23e568f4fbcea1ab usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tasklist.exe +a1a5393fb0782faf89d0a48fb33dee7a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskmgr.exe +17520a65a9131bd435ce6f8e3042733c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskschd.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdh.dll +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdi.sys +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/termsv.exe +5640be2801bdc63cf2782d2ca56336c1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/toolhelp.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/traffic.dll +068cabf4cf63d6f529940ee05b6bebd6 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain_32.dll +c2ca2605964d19b00c425ef3b2475c34 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/typelib.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ucrtbase.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiautomationcore.dll +bf75cfb9065790efb7804620993fae22 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiribbon.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unicows.dll +d9825d03d4d7def546f9b4ab3ae59dc0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uninstaller.exe +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unlodctr.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/updspapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/url.dll +099f4de0de86cd387cd7052c61c231b4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/urlmon.dll +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usbd.sys +5a5129fc88b693b45c11ae61319dc181 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user.exe16 +cf4d0774b61a37b7e29d97d9fc15f608 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/userenv.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usp10.dll +35f321e8a6290ccfe4106d2466d78b12 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uxtheme.dll +543096afe55218784fa0ce18c5b2b403 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vbscript.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp100.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp110.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp120.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp140.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp90.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcruntime140.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdhcp.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdmdbg.dll +2e6bfed46ce68975b032e78a13e8b376 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ver.dll16 +20825582c860886de9e473af2c8907c5 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/version.dll +142b0fa37965fa77b8171717ae028b21 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/view.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/virtdisk.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vmm.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnbt.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnetbios.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vssapi.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vtdapi.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vwin32.vxd +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32skrnl.dll +e78e2bb5e80a86d9aa72328c64d0f38e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32sys.dll16 +c9bc035043120e818fc58bbb336714df usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemdisp.dll +a802c4a01da3363c74452f534df6cc69 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemprox.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/webservices.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wer.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtapi.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtutil.exe +d47139ff8c704201b2c8714aeb3b2d51 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wiaservc.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wimgapi.dll +0fc12d7fbd0fd9d3d8a8845c6f82c1b9 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win32s16.dll16 +8a1387056ed17147b63dd8375479723b usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win87em.dll16 +2f42fe74e7fc2ba6f080d8730fae69c0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winaspi.dll16 +8920bc1d18913a09e3a6be560df83134 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windebug.dll16 +8e149a49689b81f8f6f7b93381062d03 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecs.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecsext.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winealsa.drv +633da2ae19562f043092a49cf8cc8972 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineboot.exe +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebrowser.exe +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebus.sys +04225df1c6823fd95b5cee0a8f8b4e15 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winecfg.exe +9bf27575a9484b7e0bbdc5b938e1ab4c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineconsole.exe +0aadf21681af098fd3964e61722f0f26 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wined3d.dll +a50cd40920eb08164a7ba777a5fb4415 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedbg.exe +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedevice.exe +dfd2c17bb6a2ccef04b1fdd1592e438e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winefile.exe +b6e98772f3b2988b36efb2dc1f67a3f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winehid.sys +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winejoystick.drv +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemapi.dll +48650669603cefe3cb6cdab8c4a23ac9 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemine.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemp3.acm +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemsibuilder.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineoss.drv +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepath.exe +e8eaf8ac71a5ac4a9e5115c70286a744 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps.drv +8dec50b06f7842691034a1c798fc7ef3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps16.drv16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepulse.drv +aecb7818d3bca12ed4018f9d9e1e9d99 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winevdm.exe +bf3df0502eb59093ccce044dcd4b72a0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winex11.drv +35179ed9e81e79ea721f6a1085b99300 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing32.dll +e8485e52d0a402ad6368fbcab1599fca usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhelp.exe16 +d308f3cb0561c8da5a73356dedd25b1d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhlp32.exe +5029a9d55c72f0c67f93b9dd0e016ae9 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhttp.dll +85fea2b2bf408bc62869680c1b3a666d usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wininet.dll +2d92cd12f7ee8de05e91f4c454be9422 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winmm.dll +eb7ea8064799cf74f26c5880bfafb7bf usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls32.dll +fb4c96c7163bc84633abcab36c14e2de usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winoldap.mod16 +738439b3e3d46787f9e89037b19d4db4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winscard.dll +46a3b9badafe0f2acc33357ed22699ad usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsock.dll16 +196d1a537c29a37951f366479031a927 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winspool.drv +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsta.dll +7784b5362d28878c45f58b843fea97d8 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab.dll16 +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab32.dll +1623c0ead7db98b2ab009f9afd52ec77 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintrust.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winusb.dll +fe21d6fbbb5fc97f750676e01503d3e7 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winver.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wlanapi.dll +a8802d2ab0d55aecee8564fb45d89d82 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wldap32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmasf.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmi.dll +bb899e72abc7539c113845010d95e360 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmic.exe +ba65ccd01043b88cfba63ffe72b19c2e usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmiutils.dll +04ae1a109c963141b7c20c6a96681a11 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmp.dll +a4b2e87754d46c85444c2eab7ff3cc66 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmphoto.dll +c9c0bee3413c9285a1499873bcccf418 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmplayer.exe +f7d3eff6a491e57e2ee515d230afd1ca usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmvcore.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wnaspi32.dll +9767d1324ef3afe5d23655f2544f1960 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wordpad.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wow32.dll +54276b7680b826ca01b075f9b6423f6c usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpc.dll +23ee5503abaee3556d727b61d7291ea3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpcap.dll +16b8c07eeb8d4c889c6ced7c10147d89 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/write.exe +2619b34f79c39c9b465d2e1b11be3cdc usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ws2_32.dll +6f3aef4d5c1a6b93fdc2b5363a57b7d0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wscript.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsdapi.dll +84e81cc8c77be32feedcdde4fd5e28f0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wshom.ocx +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsnmp32.dll +6aaf7770feac715f684836ac2a6e63e3 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsock32.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wtsapi32.dll +8b55081c49ae73027655272a80096d06 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuapi.dll +356fbb70ba4a04a9ecbda114838936ee usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuaueng.dll +92cc8268e782ec7f35eb127b99e8e095 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wusa.exe +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_2.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_3.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_4.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_5.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_6.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_7.dll +db93817c4ebc2d0b7bb69d05e0d3c285 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_1.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_2.dll +43c0ef2b84746581e7c53ea4f53a3f94 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_3.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_4.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_5.dll +27bb056479d4f6500711b8ffda26f937 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_0.dll +9b47374ec2c7519e0cbb7bc3d4b27835 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_1.dll +7fb6a789693f5aee8874b5bca54c9f69 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_2.dll +03000280b3bc61bdd7b76fa0b5c4f305 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_3.dll +bf0880ec6a386a91b9efc3d126f86498 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_4.dll +845f0fc60befce919462f96cbe512872 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_5.dll +efa82b34fa9b13ff835fb912e51682df usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_6.dll +9867846867884504797f602377c8cfa0 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_7.dll +b312637a68e29a3c23734adb05c7c50a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_8.dll +b312637a68e29a3c23734adb05c7c50a usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_9.dll +b5f62e88f6c4939831fda13061fbf0e2 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xcopy.exe +ac4e13a846ce8602c73b567b8f3d7275 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_1.dll +500c2b504cf84c573fc077741c835407 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_2.dll +181617905eecd9b64fe9bc10690b07d4 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_3.dll +03a7882286b7b8997db0c024c30324bc usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_4.dll +8851a4318b3d6f06bb0fe0d3f61d83d1 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput9_1_0.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xmllite.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xolehlp.dll +91c9577bb2c8a6731e3fcd4cb3da3532 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpsprint.dll +8c15e73e9963e600845c27f840380e92 usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpssvcs.dll +e82117a168f292b6b0e57f1fa5bef984 usr/lib/i386-linux-gnu/deepin-wine/faultrep.dll.so +9b99c8acfacb9914df39e2cda8a07933 usr/lib/i386-linux-gnu/deepin-wine/findstr.exe.so +e59a9fa513f08d40eea7678a6cd4726e usr/lib/i386-linux-gnu/deepin-wine/fltlib.dll.so +9f9aeb61d3ef983e7b02866d0c384863 usr/lib/i386-linux-gnu/deepin-wine/fltmgr.sys.so +ea76679f0d9e81dc69544a72fac5f4b6 usr/lib/i386-linux-gnu/deepin-wine/fntcache.dll.so +26032f7274379fc3aca75d89aadfb4d9 usr/lib/i386-linux-gnu/deepin-wine/fontsub.dll.so +0c5b93484a41b74b00b5bbef129a4c19 usr/lib/i386-linux-gnu/deepin-wine/fsutil.exe.so +dbf42a94b7aa5fd686e87acd62288f2b usr/lib/i386-linux-gnu/deepin-wine/fusion.dll.so +f69548b6195700b7ed2799a9eff48795 usr/lib/i386-linux-gnu/deepin-wine/fwpuclnt.dll.so +19914ca59087c225b671bf9c9753859d usr/lib/i386-linux-gnu/deepin-wine/gameux.dll.so +c0db26e33f41f7c8d90eb0624fedf0cf usr/lib/i386-linux-gnu/deepin-wine/gdi.exe16.so +d56bdba2f31e17f78deb971f717ee248 usr/lib/i386-linux-gnu/deepin-wine/gdi32.dll.so +2ecd7796415555dc3ce9d5864ff62552 usr/lib/i386-linux-gnu/deepin-wine/gdiplus.dll.so +b0e13b5f21afb1b148263e46ae40e9e1 usr/lib/i386-linux-gnu/deepin-wine/glu32.dll.so +800118f55f80e934dd55a53ad8eeb3b2 usr/lib/i386-linux-gnu/deepin-wine/gphoto2.ds.so +7642de9726fd145b1cf263f944084974 usr/lib/i386-linux-gnu/deepin-wine/gpkcsp.dll.so +f5f076a568d303ec2e0bb93944ac8625 usr/lib/i386-linux-gnu/deepin-wine/hal.dll.so +33e1857708084019c7314c23293564b2 usr/lib/i386-linux-gnu/deepin-wine/hh.exe.so +1be8aea33927b5705065655ceae797cb usr/lib/i386-linux-gnu/deepin-wine/hhctrl.ocx.so +12a24165fa3457bb2f01a28e6fb066dc usr/lib/i386-linux-gnu/deepin-wine/hid.dll.so +72d39d3d606567f4001b5bedff5bde4b usr/lib/i386-linux-gnu/deepin-wine/hidclass.sys.so +160b5713e9e2046e98c5250b2aacb5c8 usr/lib/i386-linux-gnu/deepin-wine/hidusb.sys.so +35463359016944b3898d5cbb81527fab usr/lib/i386-linux-gnu/deepin-wine/hlink.dll.so +e35648b4fe572d71e3f271b72829819e usr/lib/i386-linux-gnu/deepin-wine/hnetcfg.dll.so +293922b27fee4e1f8ed580edba7de583 usr/lib/i386-linux-gnu/deepin-wine/hostname.exe.so +2b13011d72a909fb80132192abed2e25 usr/lib/i386-linux-gnu/deepin-wine/httpapi.dll.so +f8eadc4c4a4c8163181d7cb849ca0ef4 usr/lib/i386-linux-gnu/deepin-wine/icacls.exe.so +a8063d74c76d4820b40aa5e898aa9340 usr/lib/i386-linux-gnu/deepin-wine/iccvid.dll.so +cb771f0b78f2ef3e88292917d5de9cb1 usr/lib/i386-linux-gnu/deepin-wine/icinfo.exe.so +4e64cb60ea6dfc54c4f5d83f2a0607a5 usr/lib/i386-linux-gnu/deepin-wine/icmp.dll.so +137a4cfe8744694eb0fa0cfcae1caaf4 usr/lib/i386-linux-gnu/deepin-wine/ieframe.dll.so +9a59e9d7f777736e149e26d09b1355b4 usr/lib/i386-linux-gnu/deepin-wine/ieproxy.dll.so +d6c63e84c2071518e2004f797a1d8178 usr/lib/i386-linux-gnu/deepin-wine/iexplore.exe.so +2938c9cbc1899d09d1fc311946d861be usr/lib/i386-linux-gnu/deepin-wine/ifsmgr.vxd.so +7c6f3cacf53407d3f44a24e917090a7e usr/lib/i386-linux-gnu/deepin-wine/imaadp32.acm.so +30c739ec8f42214919a1f3027ca1deba usr/lib/i386-linux-gnu/deepin-wine/imagehlp.dll.so +4de051054796ca21ae8f0fcc346f5a7b usr/lib/i386-linux-gnu/deepin-wine/imm.dll16.so +a20bf88bc2b605d482a3f60eb6d1e44b usr/lib/i386-linux-gnu/deepin-wine/imm32.dll.so +3cd26d7fc689d95950f82aa5dc4ebd86 usr/lib/i386-linux-gnu/deepin-wine/inetcomm.dll.so +053f3d6210dc7853ed49d87e03e45c97 usr/lib/i386-linux-gnu/deepin-wine/inetcpl.cpl.so +19423b32a8c7a06a1e48ce5fdf33c36f usr/lib/i386-linux-gnu/deepin-wine/inetmib1.dll.so +9ddde206bc21d33f1b4fda786358a22b usr/lib/i386-linux-gnu/deepin-wine/infosoft.dll.so +6f3ceb9711c3a1e3dfa60bdde6f685f5 usr/lib/i386-linux-gnu/deepin-wine/initpki.dll.so +9a9f813aa005f4729b3b0aef0da97b50 usr/lib/i386-linux-gnu/deepin-wine/inkobj.dll.so +ee5fafdb6726184d53e17088b7bf9b51 usr/lib/i386-linux-gnu/deepin-wine/inseng.dll.so +489c9923391fcb732628e7e1fadf2ede usr/lib/i386-linux-gnu/deepin-wine/ipconfig.exe.so +433596bc72b6dbe29427d4059839d869 usr/lib/i386-linux-gnu/deepin-wine/iphlpapi.dll.so +3d442c69cd1bec39b57016dcee3444a4 usr/lib/i386-linux-gnu/deepin-wine/iprop.dll.so +553c0a63a4853234b53953fe743c9d2b usr/lib/i386-linux-gnu/deepin-wine/irprops.cpl.so +a05fcf8f48814ccb1f274b987c081f33 usr/lib/i386-linux-gnu/deepin-wine/itircl.dll.so +d2f5c4002f943ffbf9243d415bf9c192 usr/lib/i386-linux-gnu/deepin-wine/itss.dll.so +7c7547c451df6a6d607fa1bb8c2c1536 usr/lib/i386-linux-gnu/deepin-wine/joy.cpl.so +99d3b7fd962200ff13088b738c15cacd usr/lib/i386-linux-gnu/deepin-wine/jscript.dll.so +abcc08d64c4e12e50383197a5aadd893 usr/lib/i386-linux-gnu/deepin-wine/jsproxy.dll.so +4fdcf2c7a592b1ea4f4ef13dd9b7f182 usr/lib/i386-linux-gnu/deepin-wine/kernel32.dll.so +1b0ecf8d68e146a63afb67ba2ce48b1f usr/lib/i386-linux-gnu/deepin-wine/kernelbase.dll.so +f5cc1ed80bca3d3fb1654d32629c9b11 usr/lib/i386-linux-gnu/deepin-wine/keyboard.drv16.so +fd78cb8c8a653eabea1d76b75118d098 usr/lib/i386-linux-gnu/deepin-wine/krnl386.exe16.so +b8e5413d319771008f25ff0e667b3d56 usr/lib/i386-linux-gnu/deepin-wine/ksuser.dll.so +a681a492b23d43f33c9f921e962911ab usr/lib/i386-linux-gnu/deepin-wine/ktmw32.dll.so +4c40baddd77ae7be03c471e648369f5e usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1.0 +62bcb463244661e82a548ff2b3a7ce75 usr/lib/i386-linux-gnu/deepin-wine/libwine.so.2.0 +3ee8c453d6243761fa9ea74a60c55277 usr/lib/i386-linux-gnu/deepin-wine/loadperf.dll.so +31fe44f3fd5a781d5da16c1428e33638 usr/lib/i386-linux-gnu/deepin-wine/localspl.dll.so +924b9a6f739c6d5dfd02ce121c3af85e usr/lib/i386-linux-gnu/deepin-wine/localui.dll.so +e50426c8046c03d76ce4db0a772177a2 usr/lib/i386-linux-gnu/deepin-wine/lodctr.exe.so +fea93a8fa3aee19496a31b2cd19788d1 usr/lib/i386-linux-gnu/deepin-wine/lz32.dll.so +79eb3f22ef6ad5c3ee039a427bf8aff6 usr/lib/i386-linux-gnu/deepin-wine/lzexpand.dll16.so +3271718e5ae4cbf37259799c8894eb04 usr/lib/i386-linux-gnu/deepin-wine/mapi32.dll.so +037174a7e508093dd4569d20639b29af usr/lib/i386-linux-gnu/deepin-wine/mapistub.dll.so +3e8324aad339f61c1c7d438b212f72a7 usr/lib/i386-linux-gnu/deepin-wine/mciavi32.dll.so +2a1dd9ebbdfd6cef8272892a4edddf0f usr/lib/i386-linux-gnu/deepin-wine/mcicda.dll.so +697b2083c8315c0f9085f61eb44437c1 usr/lib/i386-linux-gnu/deepin-wine/mciqtz32.dll.so +6a940862e2abe73ca445a707188e485c usr/lib/i386-linux-gnu/deepin-wine/mciseq.dll.so +cdf678dd4e56de576e725cfd22be3b2d usr/lib/i386-linux-gnu/deepin-wine/mciwave.dll.so +c7d64a246f5c07ecd630f3185578f9b9 usr/lib/i386-linux-gnu/deepin-wine/mf.dll.so +6add802953c84fc32f49cbd8ffaf6318 usr/lib/i386-linux-gnu/deepin-wine/mf3216.dll.so +ee130cf2c862d279193a46b556936966 usr/lib/i386-linux-gnu/deepin-wine/mfplat.dll.so +5d6f07c87518fad3e7910205c901348f usr/lib/i386-linux-gnu/deepin-wine/mfreadwrite.dll.so +91020e7528a2ae32447ba15985d0f87d usr/lib/i386-linux-gnu/deepin-wine/mgmtapi.dll.so +4f3e4e4f428e73abae2be4e11c958e02 usr/lib/i386-linux-gnu/deepin-wine/midimap.dll.so +bc0d87382f2ad99bd8ae115b4e1c8d0e usr/lib/i386-linux-gnu/deepin-wine/mlang.dll.so +84a4a1a6e3f8513ecf51f7e9824fbad1 usr/lib/i386-linux-gnu/deepin-wine/mmcndmgr.dll.so +338c8a30f96a9aad6a5a80ddbaf4a986 usr/lib/i386-linux-gnu/deepin-wine/mmdevapi.dll.so +6ed7a400669524f95db4ebdade1e59e8 usr/lib/i386-linux-gnu/deepin-wine/mmdevldr.vxd.so +1196780be08f9f79ae8b19f9e0d67b2c usr/lib/i386-linux-gnu/deepin-wine/mmsystem.dll16.so +147d919b13e1c824b341cfe3cb722cb4 usr/lib/i386-linux-gnu/deepin-wine/mofcomp.exe.so +91bb7300e6a39a85540ddb3e21a2a608 usr/lib/i386-linux-gnu/deepin-wine/monodebg.vxd.so +977ae544e607d723b0af09877b8441ab usr/lib/i386-linux-gnu/deepin-wine/mountmgr.sys.so +caafc792b57b19a25fba531e8cf27e49 usr/lib/i386-linux-gnu/deepin-wine/mouse.drv16.so +c24e85e6a14220c9002a58d851fa5516 usr/lib/i386-linux-gnu/deepin-wine/mpr.dll.so +56697f10c17bbbf2307704ae996b429b usr/lib/i386-linux-gnu/deepin-wine/mprapi.dll.so +5c7e805cd669b5740da248c4097ddbef usr/lib/i386-linux-gnu/deepin-wine/msacm.dll16.so +790d787454084c3c4b1681ce7db38ffe usr/lib/i386-linux-gnu/deepin-wine/msacm32.dll.so +7a545dbc54de23a585c1f1ea2923e39e usr/lib/i386-linux-gnu/deepin-wine/msacm32.drv.so +4209ccf5debf80da855d346b1501f43b usr/lib/i386-linux-gnu/deepin-wine/msadp32.acm.so +ce5c086b44aac58221d21503930150da usr/lib/i386-linux-gnu/deepin-wine/msasn1.dll.so +5773a8662e2b1789b5e286fc0648fda5 usr/lib/i386-linux-gnu/deepin-wine/mscat32.dll.so +b56e36ecbf84664f3beb1504e5353097 usr/lib/i386-linux-gnu/deepin-wine/mscms.dll.so +1f7d481e9b1c714b2f35d573d24498e6 usr/lib/i386-linux-gnu/deepin-wine/mscoree.dll.so +4c022e5d3fb8cfd508a4b61c4592c83f usr/lib/i386-linux-gnu/deepin-wine/msctf.dll.so +95090b1b84a2bcd66ccecb09668d4f95 usr/lib/i386-linux-gnu/deepin-wine/msctfp.dll.so +a05f0c5340c9895db4479ff06e3315c8 usr/lib/i386-linux-gnu/deepin-wine/msdaps.dll.so +46fae3ceaaa4d5a9b535830962abf355 usr/lib/i386-linux-gnu/deepin-wine/msdelta.dll.so +8f89ddfc429eea8ec0193c5616b84531 usr/lib/i386-linux-gnu/deepin-wine/msdmo.dll.so +23738cb76cf2af312b61e48029cdccb4 usr/lib/i386-linux-gnu/deepin-wine/msdrm.dll.so +81cd9e0dcc75e3df3cea165bbb8e9c01 usr/lib/i386-linux-gnu/deepin-wine/msftedit.dll.so +afc2547bdab303dcb1c0c565f2c7e14a usr/lib/i386-linux-gnu/deepin-wine/msg711.acm.so +a16eaa81223dbd7f85d63a2347fb02d9 usr/lib/i386-linux-gnu/deepin-wine/msgsm32.acm.so +ce0e318b5ea6b02fe8715a6691983503 usr/lib/i386-linux-gnu/deepin-wine/mshta.exe.so +c2321b4647f8e6c9669093512bfde453 usr/lib/i386-linux-gnu/deepin-wine/mshtml.dll.so +90e9cdc48b39aea885706fc458f09a10 usr/lib/i386-linux-gnu/deepin-wine/mshtml.tlb.so +60adf75518c73638046e5253b0869571 usr/lib/i386-linux-gnu/deepin-wine/msi.dll.so +8cb678b9907b1d2f6b1f0483722ba633 usr/lib/i386-linux-gnu/deepin-wine/msident.dll.so +0472fb5ef108e4f24a79b0138172a0c0 usr/lib/i386-linux-gnu/deepin-wine/msiexec.exe.so +232d39bcbab3bbd1a8d867a2d55b7506 usr/lib/i386-linux-gnu/deepin-wine/msimg32.dll.so +1a308e12dd5609c0fd50c5dec440e266 usr/lib/i386-linux-gnu/deepin-wine/msimsg.dll.so +77294fcd7beb204f34728a35a18ce0e9 usr/lib/i386-linux-gnu/deepin-wine/msimtf.dll.so +2847d4dd5520ccb458b0cb67a29ca175 usr/lib/i386-linux-gnu/deepin-wine/msinfo32.exe.so +cfd5dcdd5a5f348d043c77ce8c16912d usr/lib/i386-linux-gnu/deepin-wine/msisip.dll.so +a06e32e45a2f2e9056c4ed3e683b13c0 usr/lib/i386-linux-gnu/deepin-wine/msisys.ocx.so +e0da2b4cdc17782d64dca50bdd02d14e usr/lib/i386-linux-gnu/deepin-wine/msls31.dll.so +b58c4d455ac5daa5ff016afc1a46899c usr/lib/i386-linux-gnu/deepin-wine/msnet32.dll.so +93810dc08ce7b127acb4d757004df82c usr/lib/i386-linux-gnu/deepin-wine/mspatcha.dll.so +a0ddf9792da0e3b4a2ce24da0b42f8b9 usr/lib/i386-linux-gnu/deepin-wine/msports.dll.so +2d56aba760aed0bbb1a10e43da77fea9 usr/lib/i386-linux-gnu/deepin-wine/msrle32.dll.so +5a7365048ce019d8132420c677f76305 usr/lib/i386-linux-gnu/deepin-wine/msscript.ocx.so +deceb13e082984e279eb51a54d036c73 usr/lib/i386-linux-gnu/deepin-wine/mssign32.dll.so +2d1fdaefc1b2c4883aab12f6a4e9e350 usr/lib/i386-linux-gnu/deepin-wine/mssip32.dll.so +3c57ddfd2884423800f0e3eb86edce5b usr/lib/i386-linux-gnu/deepin-wine/mstask.dll.so +06e9c00555877cb720ebb3c0a938de8f usr/lib/i386-linux-gnu/deepin-wine/msvcirt.dll.so +85fc839b0a242622bfa117aa67f28214 usr/lib/i386-linux-gnu/deepin-wine/msvcm80.dll.so +4e0d760b81535758847706bc8c5edcd5 usr/lib/i386-linux-gnu/deepin-wine/msvcm90.dll.so +d4aec8cd26154086d58d7fb1b36c2c57 usr/lib/i386-linux-gnu/deepin-wine/msvcp100.dll.so +7c97a7c447cacdea97f62ec64a7a746c usr/lib/i386-linux-gnu/deepin-wine/msvcp110.dll.so +311bbe204a5c94e703d0af53e06a33dc usr/lib/i386-linux-gnu/deepin-wine/msvcp120.dll.so +e8d2f3bc92d4cac63f44ce807c735348 usr/lib/i386-linux-gnu/deepin-wine/msvcp120_app.dll.so +5583f79ef6551f1c0a17ba8e81e349f0 usr/lib/i386-linux-gnu/deepin-wine/msvcp140.dll.so +e1a9999815a84ab0cb3f4d2838edcb7e usr/lib/i386-linux-gnu/deepin-wine/msvcp60.dll.so +209c2c5cc208b04081393f9dc7f22d7a usr/lib/i386-linux-gnu/deepin-wine/msvcp70.dll.so +9def0abf97f82dbd1e9c6f8e9c2ad68a usr/lib/i386-linux-gnu/deepin-wine/msvcp71.dll.so +cc9db6abb159d8b138ef5ac8f0c20b7a usr/lib/i386-linux-gnu/deepin-wine/msvcp80.dll.so +203c22ad43c2cabb9dc5cabd2d7068ca usr/lib/i386-linux-gnu/deepin-wine/msvcp90.dll.so +03d28aed81ec21b56a8ee243fe7ee7f2 usr/lib/i386-linux-gnu/deepin-wine/msvcr100.dll.so +1731a8604fdee03937e08144d275080a usr/lib/i386-linux-gnu/deepin-wine/msvcr110.dll.so +01703374f477628b9c9e62b998701f59 usr/lib/i386-linux-gnu/deepin-wine/msvcr120.dll.so +93324450442e171b251b7907387cbc03 usr/lib/i386-linux-gnu/deepin-wine/msvcr120_app.dll.so +60f94512477b444c555632a15b7758ac usr/lib/i386-linux-gnu/deepin-wine/msvcr70.dll.so +1cdeff74c660ec85c1c2b01d31df98af usr/lib/i386-linux-gnu/deepin-wine/msvcr71.dll.so +d71446c3bd5a3da90a395752bf2eca75 usr/lib/i386-linux-gnu/deepin-wine/msvcr80.dll.so +62eda75e9466faa8f2eeef685900a55c usr/lib/i386-linux-gnu/deepin-wine/msvcr90.dll.so +044154a43748b1487274e5220de2449d usr/lib/i386-linux-gnu/deepin-wine/msvcrt.dll.so +3e6186ef5dccbfc599f9c2d9a61e0035 usr/lib/i386-linux-gnu/deepin-wine/msvcrt20.dll.so +c0888d0b9364e6f055485bd603f38d3f usr/lib/i386-linux-gnu/deepin-wine/msvcrt40.dll.so +065ae2a0ef6c72676836678cdda80c02 usr/lib/i386-linux-gnu/deepin-wine/msvcrtd.dll.so +bc58f30937f1909edb58d30fb2ec3432 usr/lib/i386-linux-gnu/deepin-wine/msvfw32.dll.so +60840f6b0fad6ddd0902f14e710c48c6 usr/lib/i386-linux-gnu/deepin-wine/msvidc32.dll.so +b01731df2481f7bb318c1927bb1d0f1b usr/lib/i386-linux-gnu/deepin-wine/msvideo.dll16.so +46e9e30e0471ee00c198a75f60542df8 usr/lib/i386-linux-gnu/deepin-wine/mswsock.dll.so +7ba60b72a620ddabc742719973e2b5d0 usr/lib/i386-linux-gnu/deepin-wine/msxml.dll.so +faeb1834f1375296ee604040b802f1e0 usr/lib/i386-linux-gnu/deepin-wine/msxml2.dll.so +8fea719e475a51447fbb69120dd48592 usr/lib/i386-linux-gnu/deepin-wine/msxml3.dll.so +8b08de8d4857b7382418634c8d2aa3a8 usr/lib/i386-linux-gnu/deepin-wine/msxml4.dll.so +10a4bf116df0de08fb53cd22469d1f81 usr/lib/i386-linux-gnu/deepin-wine/msxml6.dll.so +a3101a9ee069826fec04572b8a7826f1 usr/lib/i386-linux-gnu/deepin-wine/mtxdm.dll.so +a7a773957bcef6fb70eb38d9cb52316f usr/lib/i386-linux-gnu/deepin-wine/ncrypt.dll.so +70ec34af8e113abf9e6b567a00a9b264 usr/lib/i386-linux-gnu/deepin-wine/nddeapi.dll.so +87713bcec5eb2e9af414f5f30378950e usr/lib/i386-linux-gnu/deepin-wine/ndis.sys.so +9ddcea97d05a325ed477d1c36b440655 usr/lib/i386-linux-gnu/deepin-wine/net.exe.so +71cb95af976a4d6c967be7250910f33f usr/lib/i386-linux-gnu/deepin-wine/netapi32.dll.so +ac0e5c2b64abb28a4d66df4e9a5d2dcd usr/lib/i386-linux-gnu/deepin-wine/netcfgx.dll.so +1b3b4fba160bb4e26d9d04e43b5565e3 usr/lib/i386-linux-gnu/deepin-wine/netprofm.dll.so +5e3d2cf426ff8f937bb59feab1eb4215 usr/lib/i386-linux-gnu/deepin-wine/netsh.exe.so +29e84fb9570b34c7cd3e1a2b9318816b usr/lib/i386-linux-gnu/deepin-wine/netstat.exe.so +04ccfa18d553bd73bca096d6556a712f usr/lib/i386-linux-gnu/deepin-wine/newdev.dll.so +fe34947d91f85e0ed1cbc3e7cbd59ba7 usr/lib/i386-linux-gnu/deepin-wine/ngen.exe.so +2c46dd39b4db8d78b53bb09ab20fbf32 usr/lib/i386-linux-gnu/deepin-wine/normaliz.dll.so +28dbc4b91e900d3107e40746d640a914 usr/lib/i386-linux-gnu/deepin-wine/notepad.exe.so +5a8fdb97c0fea57a2b1edd399620978c usr/lib/i386-linux-gnu/deepin-wine/npmshtml.dll.so +dbaf25eedaa7ac4a91d3c8e439aae769 usr/lib/i386-linux-gnu/deepin-wine/npptools.dll.so +5db2e282c3eb039dd0cafa695e879b7d usr/lib/i386-linux-gnu/deepin-wine/ntdll.dll.so +d81641c69e540136473e6357a198e567 usr/lib/i386-linux-gnu/deepin-wine/ntdsapi.dll.so +c76cb31aab76aa7a01eae2f5533b2492 usr/lib/i386-linux-gnu/deepin-wine/ntoskrnl.exe.so +826863b21a34a7e6b43715cacbccef83 usr/lib/i386-linux-gnu/deepin-wine/ntprint.dll.so +fe0171d7e6681e33dd8ae32d2e41f717 usr/lib/i386-linux-gnu/deepin-wine/objsel.dll.so +78d8213160704fb8e23b0aadf24b60e8 usr/lib/i386-linux-gnu/deepin-wine/odbc32.dll.so +5bf05c7998d67bb85c4bdae986797f6f usr/lib/i386-linux-gnu/deepin-wine/odbccp32.dll.so +f6533babf3a7d6b683a921a4a658c09b usr/lib/i386-linux-gnu/deepin-wine/odbccu32.dll.so +ff956235879731672ff559fb86b73a75 usr/lib/i386-linux-gnu/deepin-wine/ole2.dll16.so +9505b901fe54bade61fe6a40a76aa2ca usr/lib/i386-linux-gnu/deepin-wine/ole2conv.dll16.so +4487c4c9450b9aaea0c8d1d461477dda usr/lib/i386-linux-gnu/deepin-wine/ole2disp.dll16.so +feec8952da7d8d6ad9a4a023900b0175 usr/lib/i386-linux-gnu/deepin-wine/ole2nls.dll16.so +0919cd7dc47c9e041281f08b94de13aa usr/lib/i386-linux-gnu/deepin-wine/ole2prox.dll16.so +a8e6864feea93110b428dfcf35bb1580 usr/lib/i386-linux-gnu/deepin-wine/ole2thk.dll16.so +668ca62361caccf6554a0a3fc22e9712 usr/lib/i386-linux-gnu/deepin-wine/ole32.dll.so +001271cb7179e7461ebc8b2dec478048 usr/lib/i386-linux-gnu/deepin-wine/oleacc.dll.so +187409f7a2133b7331056cf1588c0747 usr/lib/i386-linux-gnu/deepin-wine/oleaut32.dll.so +ff377d2410414c9eb56383bcb31ad78c usr/lib/i386-linux-gnu/deepin-wine/olecli.dll16.so +602d0c7d9f497b79dfa32a5ec7675422 usr/lib/i386-linux-gnu/deepin-wine/olecli32.dll.so +818f16bf172e52292f94aeadeae39673 usr/lib/i386-linux-gnu/deepin-wine/oledb32.dll.so +35849dc36f4e140fd86d6f6cb26a1df5 usr/lib/i386-linux-gnu/deepin-wine/oledlg.dll.so +2a00914de9d37a26da3af9d85a5aa8b9 usr/lib/i386-linux-gnu/deepin-wine/olepro32.dll.so +5e9e7812f4b454c99c798e51943c28d1 usr/lib/i386-linux-gnu/deepin-wine/olesvr.dll16.so +bc875d31217f075039d7a95056122e7a usr/lib/i386-linux-gnu/deepin-wine/olesvr32.dll.so +6c844004e021c35b889d332b6250252b usr/lib/i386-linux-gnu/deepin-wine/olethk32.dll.so +777d5897ed38e73b3cbca51635444841 usr/lib/i386-linux-gnu/deepin-wine/oleview.exe.so +5e2ed19dc382f35421dc9197767f1904 usr/lib/i386-linux-gnu/deepin-wine/openal32.dll.so +2f28e2af92f8e298f9416c5797d23591 usr/lib/i386-linux-gnu/deepin-wine/opencl.dll.so +39d3caad94a4b8f66487b4cd9dee26fc usr/lib/i386-linux-gnu/deepin-wine/opengl32.dll.so +e2066edd10a6394bead4733eaed85118 usr/lib/i386-linux-gnu/deepin-wine/packager.dll.so +808d4a519eb0279f1437331b40598270 usr/lib/i386-linux-gnu/deepin-wine/pdh.dll.so +ac1fe492825c34d328135b7ba0734444 usr/lib/i386-linux-gnu/deepin-wine/photometadatahandler.dll.so +8d01937061f3187b7ed7c6c478162405 usr/lib/i386-linux-gnu/deepin-wine/pidgen.dll.so +b154bfd591cb3e4cae47be40000af510 usr/lib/i386-linux-gnu/deepin-wine/ping.exe.so +90821f72c7b0aea71fe1ac3b48bd9c4a usr/lib/i386-linux-gnu/deepin-wine/plugplay.exe.so +8c836be6766f6f5c5210ee3b6df68e03 usr/lib/i386-linux-gnu/deepin-wine/powershell.exe.so +4e7793943ec2dd9b814444b831fea730 usr/lib/i386-linux-gnu/deepin-wine/powrprof.dll.so +50a56170d2f755daf869770c4b4cd409 usr/lib/i386-linux-gnu/deepin-wine/presentationfontcache.exe.so +012086203fa35c9b88d8f6bd636e9667 usr/lib/i386-linux-gnu/deepin-wine/printui.dll.so +730cec96ce0de1f7f2fde08e70dff29a usr/lib/i386-linux-gnu/deepin-wine/prntvpt.dll.so +67516fc7a0de417e61f2b78e28a2f25e usr/lib/i386-linux-gnu/deepin-wine/progman.exe.so +cd2a8dc16019dd5139ff1abf25228251 usr/lib/i386-linux-gnu/deepin-wine/propsys.dll.so +bdabf4e89efcdefa00d1a615937354e7 usr/lib/i386-linux-gnu/deepin-wine/psapi.dll.so +3a50a174e059774f820b41d7bb217b35 usr/lib/i386-linux-gnu/deepin-wine/pstorec.dll.so +514322b347f9d8863c940f8f57788d37 usr/lib/i386-linux-gnu/deepin-wine/qcap.dll.so +6a6b1aae1de07574a07e23091520973d usr/lib/i386-linux-gnu/deepin-wine/qedit.dll.so +b70f4f907d2f08a54a7157d977887ec6 usr/lib/i386-linux-gnu/deepin-wine/qmgr.dll.so +80bad099bfaf4c63c32f0acab178b934 usr/lib/i386-linux-gnu/deepin-wine/qmgrprxy.dll.so +9a0e8c25869a22e4cefd9427130a660b usr/lib/i386-linux-gnu/deepin-wine/quartz.dll.so +7766fa3cfe6f3f4344853bdffc9a555a usr/lib/i386-linux-gnu/deepin-wine/query.dll.so +06b564711573ed0efc777704a5af0710 usr/lib/i386-linux-gnu/deepin-wine/rasapi16.dll16.so +e0f6abc873cb43b628abe38fc03aaded usr/lib/i386-linux-gnu/deepin-wine/rasapi32.dll.so +3661cbe582e615f5ba5d031cffb8cdb6 usr/lib/i386-linux-gnu/deepin-wine/rasdlg.dll.so +1373e118d777a214d69c2e20767c0eb9 usr/lib/i386-linux-gnu/deepin-wine/reg.exe.so +a30a036b73ee81fb7b84bdadc586d290 usr/lib/i386-linux-gnu/deepin-wine/regapi.dll.so +f73252fb97b68fc5a74be27532642610 usr/lib/i386-linux-gnu/deepin-wine/regasm.exe.so +afc7b6061eaadbbcada3b39f93f426ea usr/lib/i386-linux-gnu/deepin-wine/regedit.exe.so +7393e4e1ad3676fcc387c7017e5190cb usr/lib/i386-linux-gnu/deepin-wine/regsvcs.exe.so +4d2c5baea3388b0c7950bb607c278192 usr/lib/i386-linux-gnu/deepin-wine/regsvr32.exe.so +eca532f4590e5f4fe2a8a158e1dc3ee4 usr/lib/i386-linux-gnu/deepin-wine/resutils.dll.so +faf78b9894fd4d7d2b06c8540d14e16a usr/lib/i386-linux-gnu/deepin-wine/riched20.dll.so +7be35f4e4e21568ba888294dd48111cf usr/lib/i386-linux-gnu/deepin-wine/riched32.dll.so +58510577df07022f6b34e93316c670d6 usr/lib/i386-linux-gnu/deepin-wine/rpcrt4.dll.so +3c8c952801bd0d2d4eecf90681780528 usr/lib/i386-linux-gnu/deepin-wine/rpcss.exe.so +f660a3e7a66ee611b8c9deab9ab025cf usr/lib/i386-linux-gnu/deepin-wine/rsabase.dll.so +ecdac5a1232e2c418ded697f512176a0 usr/lib/i386-linux-gnu/deepin-wine/rsaenh.dll.so +43dd44fe847677674e4067432e54910e usr/lib/i386-linux-gnu/deepin-wine/rstrtmgr.dll.so +0be6323cbe6627a769d34b38bb83e017 usr/lib/i386-linux-gnu/deepin-wine/rtutils.dll.so +896d857afe87452ef227da8f1ae4bdff usr/lib/i386-linux-gnu/deepin-wine/rundll.exe16.so +40b20c49f0a2f255b64191df9ea55776 usr/lib/i386-linux-gnu/deepin-wine/rundll32.exe.so +3e7bb23e64ed41eb27de2271edc07704 usr/lib/i386-linux-gnu/deepin-wine/samlib.dll.so +6b43d9a02ffc8dfa53bc637d73613132 usr/lib/i386-linux-gnu/deepin-wine/sane.ds.so +5b53c6111ebfb8906e14c09e368e4cd2 usr/lib/i386-linux-gnu/deepin-wine/sapi.dll.so +0281d861bb3cb332cd2c728381249d37 usr/lib/i386-linux-gnu/deepin-wine/sc.exe.so +196e79a50d650108069ddd8a621da351 usr/lib/i386-linux-gnu/deepin-wine/scarddlg.dll.so +9a1d359e7cfda16ebf03c4e2aa32630a usr/lib/i386-linux-gnu/deepin-wine/sccbase.dll.so +0d1bc4ff1fdb18a9c9cd64867067a557 usr/lib/i386-linux-gnu/deepin-wine/schannel.dll.so +45a6e54f6d56ab091305350b3b252573 usr/lib/i386-linux-gnu/deepin-wine/schedsvc.dll.so +9e7427f8856de8d67ca64125e06114cc usr/lib/i386-linux-gnu/deepin-wine/schtasks.exe.so +eeeddda711911693576ee8349c25a106 usr/lib/i386-linux-gnu/deepin-wine/scrobj.dll.so +3c2278983bea35547b9c1c9e9f6680d9 usr/lib/i386-linux-gnu/deepin-wine/scrrun.dll.so +bccaf73074fa2ba0541277f35ed0f2ad usr/lib/i386-linux-gnu/deepin-wine/scsiport.sys.so +edf27f8be4fae216acd72b9f76598993 usr/lib/i386-linux-gnu/deepin-wine/sdbinst.exe.so +f8548d69bdc325e8bb791ce30179e855 usr/lib/i386-linux-gnu/deepin-wine/secedit.exe.so +4230da7a4a8955fc667116e955ddab7d usr/lib/i386-linux-gnu/deepin-wine/secur32.dll.so +f6d0010d2bd3787f072d764423582a83 usr/lib/i386-linux-gnu/deepin-wine/security.dll.so +0083e0bbfd52b6f63dac9cb76d167d2c usr/lib/i386-linux-gnu/deepin-wine/sensapi.dll.so +0440d93f06bceb59ce9bb760edb942ba usr/lib/i386-linux-gnu/deepin-wine/serialui.dll.so +faf918e82b8413d0789cbd3a58fd4dca usr/lib/i386-linux-gnu/deepin-wine/servicemodelreg.exe.so +430d07486e9237eba93c2ba1a7accb87 usr/lib/i386-linux-gnu/deepin-wine/services.exe.so +8e3bc1c2145bfd63ee2077a42c128c0e usr/lib/i386-linux-gnu/deepin-wine/setupapi.dll.so +ac11be7c8e48610fe0bada1787356990 usr/lib/i386-linux-gnu/deepin-wine/setupx.dll16.so +2734f9918776b7c88020a00ee2527320 usr/lib/i386-linux-gnu/deepin-wine/sfc.dll.so +6107a00d6b28ae1a19ddd22907aac7a4 usr/lib/i386-linux-gnu/deepin-wine/sfc_os.dll.so +977d6fcc80ce9f0732c3bfb87c96efc4 usr/lib/i386-linux-gnu/deepin-wine/shdoclc.dll.so +82557d0e059d2ee4ef312f329e45e9f5 usr/lib/i386-linux-gnu/deepin-wine/shdocvw.dll.so +d11800123e177b73880b2fee1720bb6d usr/lib/i386-linux-gnu/deepin-wine/shell.dll16.so +99ed2452074b78e1b042d5a6cdfa6f16 usr/lib/i386-linux-gnu/deepin-wine/shell32.dll.so +8b01110c937f7923304ccb43e7928c50 usr/lib/i386-linux-gnu/deepin-wine/shfolder.dll.so +ca71ded37199b6921eddad7b6ce40af0 usr/lib/i386-linux-gnu/deepin-wine/shlwapi.dll.so +e358fb9f5748980b3051bfaabe603357 usr/lib/i386-linux-gnu/deepin-wine/shutdown.exe.so +cb35fb798478ea2c7dfb6f42d4cba6b0 usr/lib/i386-linux-gnu/deepin-wine/slbcsp.dll.so +cd975c54cf780887b5f104f9fbb73457 usr/lib/i386-linux-gnu/deepin-wine/slc.dll.so +3eb038690ee967e8ed3282fc926ddac3 usr/lib/i386-linux-gnu/deepin-wine/snmpapi.dll.so +0d6dec6fd0ca6829cfdef5267c554ee7 usr/lib/i386-linux-gnu/deepin-wine/softpub.dll.so +3e54f54412fc1cdcbb977f1b25448bab usr/lib/i386-linux-gnu/deepin-wine/sound.drv16.so +d94cbd713faa0e916f6313a1aa15ae56 usr/lib/i386-linux-gnu/deepin-wine/spoolss.dll.so +b3c19aeaf7170f6bb1d9ff85439a15c3 usr/lib/i386-linux-gnu/deepin-wine/spoolsv.exe.so +4cf87b314e7f4bafcfa55ffba2263d2b usr/lib/i386-linux-gnu/deepin-wine/sspicli.dll.so +0b679d4e89ebea96617a525eb88b452d usr/lib/i386-linux-gnu/deepin-wine/start.exe.so +f9dee7be6c8ef8c4bc31fef57714c7dc usr/lib/i386-linux-gnu/deepin-wine/stdole2.tlb.so +ac46820fe13526ba7be2ca2ffee33b2b usr/lib/i386-linux-gnu/deepin-wine/stdole32.tlb.so +683e43cff80acdad7af22aa33031355b usr/lib/i386-linux-gnu/deepin-wine/sti.dll.so +8a4e654a1e75c78022d8d5a4578def5c usr/lib/i386-linux-gnu/deepin-wine/storage.dll16.so +4e747ee1a9d7a6777dfbfb4fb4877ac1 usr/lib/i386-linux-gnu/deepin-wine/stress.dll16.so +25d8959e94afb8a98d9c10b8434d460b usr/lib/i386-linux-gnu/deepin-wine/subst.exe.so +770dcfe91a5eede10815a4f4c257be9a usr/lib/i386-linux-gnu/deepin-wine/svchost.exe.so +f6213af4632eebdb1c314e371b4ea3e9 usr/lib/i386-linux-gnu/deepin-wine/svrapi.dll.so +acd534da4985b0fe86e84710c2702bba usr/lib/i386-linux-gnu/deepin-wine/sxs.dll.so +8cc5b609b7ff472ca371d9019c08256d usr/lib/i386-linux-gnu/deepin-wine/system.drv16.so +3fdca0975fa239863adabc601a367ff1 usr/lib/i386-linux-gnu/deepin-wine/systeminfo.exe.so +20e35696a876659f67ada2c0191e527a usr/lib/i386-linux-gnu/deepin-wine/t2embed.dll.so +af59a42d8906b40ee48c3502805d771e usr/lib/i386-linux-gnu/deepin-wine/tapi32.dll.so +8d0206cf3bd76bd75fc92dacea2d4fae usr/lib/i386-linux-gnu/deepin-wine/taskkill.exe.so +495200b2fa2d7c4c3d43b74ff8ac730b usr/lib/i386-linux-gnu/deepin-wine/tasklist.exe.so +5085a18b5c1445eb0b8886da0cdc5b7c usr/lib/i386-linux-gnu/deepin-wine/taskmgr.exe.so +3186c0008cd187653525a18628d5fca3 usr/lib/i386-linux-gnu/deepin-wine/taskschd.dll.so +8f8cc9097b738cd2c5c7fa9f8ec469bd usr/lib/i386-linux-gnu/deepin-wine/tdh.dll.so +58732c44f919404b65dc58ae114d9a85 usr/lib/i386-linux-gnu/deepin-wine/tdi.sys.so +7e110a861400e79279f58e0095acd3a7 usr/lib/i386-linux-gnu/deepin-wine/termsv.exe.so +30458b31dd6c5af34c01e3b762131c85 usr/lib/i386-linux-gnu/deepin-wine/toolhelp.dll16.so +5b578ee28cd3c2f79323bf4d05369aea usr/lib/i386-linux-gnu/deepin-wine/traffic.dll.so +5484c4cb69e123e221727dcccdbc02f9 usr/lib/i386-linux-gnu/deepin-wine/twain.dll16.so +39dba2d3495297aa2ade97538d30ca1d usr/lib/i386-linux-gnu/deepin-wine/twain_32.dll.so +ef6eccd738e14385f75ece8253596f21 usr/lib/i386-linux-gnu/deepin-wine/typelib.dll16.so +40cd678ba23c196353c2c47832c80cf2 usr/lib/i386-linux-gnu/deepin-wine/ucrtbase.dll.so +0e6f80e4de58ac90a44288a2b0b80b6a usr/lib/i386-linux-gnu/deepin-wine/uiautomationcore.dll.so +2cd83a361dcb7d1d6fdd65167cbc88d3 usr/lib/i386-linux-gnu/deepin-wine/uiribbon.dll.so +549882586077b020544feac2120e225e usr/lib/i386-linux-gnu/deepin-wine/unicows.dll.so +1aab268153cfda4c5e6190e45163f006 usr/lib/i386-linux-gnu/deepin-wine/uninstaller.exe.so +7214d27e36bb028d6200e1a8ad196455 usr/lib/i386-linux-gnu/deepin-wine/unlodctr.exe.so +5bb309f17b4a3b4294a8c41af647ab48 usr/lib/i386-linux-gnu/deepin-wine/updspapi.dll.so +49d16ec717345e3264b33e6712d51001 usr/lib/i386-linux-gnu/deepin-wine/url.dll.so +b57d7e1e12b397e0703e32cee32c9370 usr/lib/i386-linux-gnu/deepin-wine/urlmon.dll.so +ed1a91cb623be9876d1e34da0e8959ad usr/lib/i386-linux-gnu/deepin-wine/usbd.sys.so +b8a6e3eea94ecdc655770ca8e761a18b usr/lib/i386-linux-gnu/deepin-wine/user.exe16.so +a562bcb144513e5d899627630a768106 usr/lib/i386-linux-gnu/deepin-wine/user32.dll.so +7d1544d37706b244e18791102ba8659b usr/lib/i386-linux-gnu/deepin-wine/userenv.dll.so +62d9e30c7174f210ee9968ac20fab717 usr/lib/i386-linux-gnu/deepin-wine/usp10.dll.so +dd345381eaf26cd10f9d5c2fc02db927 usr/lib/i386-linux-gnu/deepin-wine/uxtheme.dll.so +1ec3211deae63d76d39b591841b547a2 usr/lib/i386-linux-gnu/deepin-wine/vbscript.dll.so +dcf1c6a34c96ddc1146ec0df1c24fa96 usr/lib/i386-linux-gnu/deepin-wine/vcomp.dll.so +516fe9f6906b0320bec42d630b74d178 usr/lib/i386-linux-gnu/deepin-wine/vcomp100.dll.so +6504dc5fc506de63b235aeb8be62eef1 usr/lib/i386-linux-gnu/deepin-wine/vcomp110.dll.so +5baebf76f1e63dda91f137d20c67177f usr/lib/i386-linux-gnu/deepin-wine/vcomp120.dll.so +30876cf41f74106415b491234eb52fac usr/lib/i386-linux-gnu/deepin-wine/vcomp140.dll.so +a6746c45a87396d9e538f53c966435d4 usr/lib/i386-linux-gnu/deepin-wine/vcomp90.dll.so +56ca1ee533761d4be708536cd532f93d usr/lib/i386-linux-gnu/deepin-wine/vcruntime140.dll.so +0e898229a68438c640808aeacc95d0f4 usr/lib/i386-linux-gnu/deepin-wine/vdhcp.vxd.so +6ee64085311d66773271bef14099f306 usr/lib/i386-linux-gnu/deepin-wine/vdmdbg.dll.so +020bcae3a71898e7ab2e65626bc88609 usr/lib/i386-linux-gnu/deepin-wine/ver.dll16.so +434e64ca817cf1d50f4850dbc7518e38 usr/lib/i386-linux-gnu/deepin-wine/version.dll.so +e5a1e7a840a323ffd1d11def60abf055 usr/lib/i386-linux-gnu/deepin-wine/view.exe.so +c7d442f947c04ee777e313d56e4f1510 usr/lib/i386-linux-gnu/deepin-wine/virtdisk.dll.so +fcfc920fa6b719ffe7b195dda1d64238 usr/lib/i386-linux-gnu/deepin-wine/vmm.vxd.so +1a9f357f44362bbd7ea1954e74d36e55 usr/lib/i386-linux-gnu/deepin-wine/vnbt.vxd.so +3f4a3e0ee8a4365cdabb30108eff2f9b usr/lib/i386-linux-gnu/deepin-wine/vnetbios.vxd.so +7b811a5a619c00361a20ecd4b3345811 usr/lib/i386-linux-gnu/deepin-wine/vssapi.dll.so +22b944d7b8c911d4cd6baffdfdd2a930 usr/lib/i386-linux-gnu/deepin-wine/vtdapi.vxd.so +c49ee9d1dfae1bdf71006fccd81d8b56 usr/lib/i386-linux-gnu/deepin-wine/vwin32.vxd.so +c05efc244d77d63f4ac5b5a2fcc0634b usr/lib/i386-linux-gnu/deepin-wine/w32skrnl.dll.so +fa5fd0074d30626996be775eb2afd5b3 usr/lib/i386-linux-gnu/deepin-wine/w32sys.dll16.so +1e06482ee6660107910d3e5c0e0edf2b usr/lib/i386-linux-gnu/deepin-wine/wbemdisp.dll.so +4606d7a32a065828ce75c57491e9891f usr/lib/i386-linux-gnu/deepin-wine/wbemprox.dll.so +c89e443c16c2206fe325cf21fdb2eddd usr/lib/i386-linux-gnu/deepin-wine/webservices.dll.so +48ab7847e2e875196cad7e4eb88a53b1 usr/lib/i386-linux-gnu/deepin-wine/wer.dll.so +a0b4b27b37a103cd49791627fd401b9d usr/lib/i386-linux-gnu/deepin-wine/wevtapi.dll.so +1fbd119801c0c51c36ff0421c5b5f11d usr/lib/i386-linux-gnu/deepin-wine/wevtutil.exe.so +bb9627ad8a387618118281a368b4dca0 usr/lib/i386-linux-gnu/deepin-wine/wiaservc.dll.so +882470278ef647a169074aef1f89afa3 usr/lib/i386-linux-gnu/deepin-wine/wimgapi.dll.so +9ae671b372b71cb481d3ccfbb2e5356e usr/lib/i386-linux-gnu/deepin-wine/win32s16.dll16.so +7b1944c02b9f5dd488ab8c3be8c0600f usr/lib/i386-linux-gnu/deepin-wine/win87em.dll16.so +4d7c0dc5bdd148b02b05d20eb4b30a6e usr/lib/i386-linux-gnu/deepin-wine/winaspi.dll16.so +4fa6fa055d8b160c63d3312ab201577f usr/lib/i386-linux-gnu/deepin-wine/windebug.dll16.so +857fef74d57e9d2ca6396a6620134918 usr/lib/i386-linux-gnu/deepin-wine/windowscodecs.dll.so +05687f3eac2faccb9364b39d5742ab44 usr/lib/i386-linux-gnu/deepin-wine/windowscodecsext.dll.so +6b2d56245764be90c8f499a7cd558457 usr/lib/i386-linux-gnu/deepin-wine/winealsa.drv.so +a46fad35939e56cf78faf1845f6e44a7 usr/lib/i386-linux-gnu/deepin-wine/wineboot.exe.so +7230b030beae9b5ee63502436f4c0b2b usr/lib/i386-linux-gnu/deepin-wine/winebrowser.exe.so +f906451f6546c26b043644cc4136b07f usr/lib/i386-linux-gnu/deepin-wine/winebus.sys.so +f39d76e3f47265001508ce49354255b2 usr/lib/i386-linux-gnu/deepin-wine/winecfg.exe.so +24c40e30ef4a262e223ffe1c72f7ca22 usr/lib/i386-linux-gnu/deepin-wine/wineconsole.exe.so +14948957071fe5c6a649fdf7f5fd13da usr/lib/i386-linux-gnu/deepin-wine/wined3d.dll.so +11da7ee750c89ba4d60f2e7c2129b021 usr/lib/i386-linux-gnu/deepin-wine/winedbg.exe.so +a2c866f9e4e82da7f8756fa6dd53f171 usr/lib/i386-linux-gnu/deepin-wine/winedevice.exe.so +83b0d0c359f58d9e25f0454000466bce usr/lib/i386-linux-gnu/deepin-wine/winefile.exe.so +b9a0dd9bfffebccd764b9117f58fd307 usr/lib/i386-linux-gnu/deepin-wine/winehid.sys.so +3c9d71e29d9dada4d19859b1aa92effb usr/lib/i386-linux-gnu/deepin-wine/winejoystick.drv.so +3360df2acc65de26dc608df1dde735f4 usr/lib/i386-linux-gnu/deepin-wine/winemapi.dll.so +df9b8fe651789f4b12cdbe35fcb68c44 usr/lib/i386-linux-gnu/deepin-wine/winemine.exe.so +bfe8025d05ac113858f3498c546b6c72 usr/lib/i386-linux-gnu/deepin-wine/winemp3.acm.so +3b613cb6c9616adea80bab9238f058e0 usr/lib/i386-linux-gnu/deepin-wine/winemsibuilder.exe.so +9ffb550f08168057743aded213b495e4 usr/lib/i386-linux-gnu/deepin-wine/wineoss.drv.so +354a7400bdf02f3b61cfd25970062aa6 usr/lib/i386-linux-gnu/deepin-wine/winepath.exe.so +8d0920a3ffbe0c8e32a818d8d9107525 usr/lib/i386-linux-gnu/deepin-wine/wineps.drv.so +b24d27cc71c94dd03fde7c01f6641972 usr/lib/i386-linux-gnu/deepin-wine/wineps16.drv16.so +5b843d7fc05a78c02efb3c369a0f1eb4 usr/lib/i386-linux-gnu/deepin-wine/winepulse.drv.so +2c64eb4590ead769cf151fc83861f8b9 usr/lib/i386-linux-gnu/deepin-wine/wineserver +1aa4227d72ce8184da02afe95d7254ce usr/lib/i386-linux-gnu/deepin-wine/wineserver.real +9cad721db0e7824a77d4e2b4d1662f16 usr/lib/i386-linux-gnu/deepin-wine/winevdm.exe.so +013ddb4bd457550b6e7668864156f082 usr/lib/i386-linux-gnu/deepin-wine/winex11.drv.so +9064ffbe026d0d93b1b99417ad49216f usr/lib/i386-linux-gnu/deepin-wine/wing.dll16.so +537bd6d79999e52a9f7a04a9341fe6a3 usr/lib/i386-linux-gnu/deepin-wine/wing32.dll.so +49b5ec379d5df76afaad47dcab784056 usr/lib/i386-linux-gnu/deepin-wine/winhelp.exe16.so +dba7df72f77aace9555cf349bbecc581 usr/lib/i386-linux-gnu/deepin-wine/winhlp32.exe.so +53b863e954115df0250d6c6869a2de18 usr/lib/i386-linux-gnu/deepin-wine/winhttp.dll.so +6551ad105461c0987e68d8dd2eb587d6 usr/lib/i386-linux-gnu/deepin-wine/wininet.dll.so +fb1bd242ca15d581acad48dfe0974b6f usr/lib/i386-linux-gnu/deepin-wine/winmm.dll.so +ea9a1bbe233c6f230318070ed336ebca usr/lib/i386-linux-gnu/deepin-wine/winnls.dll16.so +400ce71a61bdbca51779b8b3c33f386d usr/lib/i386-linux-gnu/deepin-wine/winnls32.dll.so +5992ec9008ebb6fb99754e74314e2f7d usr/lib/i386-linux-gnu/deepin-wine/winoldap.mod16.so +c932754ebf4c857e65f51fa85e0fd7b4 usr/lib/i386-linux-gnu/deepin-wine/winscard.dll.so +6accc438f7b57678af24cae691bb57a7 usr/lib/i386-linux-gnu/deepin-wine/winsock.dll16.so +5e93e861f186f4c7cc2d35d78866adb2 usr/lib/i386-linux-gnu/deepin-wine/winspool.drv.so +b0bd7c0a3ea52975f35a78b57c3cd723 usr/lib/i386-linux-gnu/deepin-wine/winsta.dll.so +ddff9b22a5920f5910920fea7ed19b08 usr/lib/i386-linux-gnu/deepin-wine/wintab.dll16.so +0c145c8b6595e5a7bee414e38d57f132 usr/lib/i386-linux-gnu/deepin-wine/wintab32.dll.so +e136bc4ee8658e78cfbf26c63294b3f2 usr/lib/i386-linux-gnu/deepin-wine/wintrust.dll.so +0edc8eb0b6eaaa4bd9b4d6365de306c0 usr/lib/i386-linux-gnu/deepin-wine/winusb.dll.so +f4b3b48ae6cacada19b3bca5309555bb usr/lib/i386-linux-gnu/deepin-wine/winver.exe.so +a1130e6c9656c85c57a0fe670c0decb2 usr/lib/i386-linux-gnu/deepin-wine/wlanapi.dll.so +07bd00b4ef9c54592182b2982b03a549 usr/lib/i386-linux-gnu/deepin-wine/wldap32.dll.so +23bc7d15e20985d627771a8beea0a9e1 usr/lib/i386-linux-gnu/deepin-wine/wmasf.dll.so +d45972f2800950268e8d1409969eea5e usr/lib/i386-linux-gnu/deepin-wine/wmi.dll.so +604cb802f58032d318dacd4227944254 usr/lib/i386-linux-gnu/deepin-wine/wmic.exe.so +60265631a3167bbd0a8962530c99187e usr/lib/i386-linux-gnu/deepin-wine/wmiutils.dll.so +84bfbf43fb7d3daab794032842cb6239 usr/lib/i386-linux-gnu/deepin-wine/wmp.dll.so +d945c73098bda9dca104ae490bdecc9d usr/lib/i386-linux-gnu/deepin-wine/wmphoto.dll.so +9869732abcdbb01f1115ff242b6436c1 usr/lib/i386-linux-gnu/deepin-wine/wmplayer.exe.so +1701b010c1a3dff778b20cc20ed11e40 usr/lib/i386-linux-gnu/deepin-wine/wmvcore.dll.so +8e553ebbe06c81f0b43f1dd22b39ce44 usr/lib/i386-linux-gnu/deepin-wine/wnaspi32.dll.so +0d0c45e36aa3681506d2f6f0134062cc usr/lib/i386-linux-gnu/deepin-wine/wordpad.exe.so +fa49cc07ff2c588f900543b8e6fb9f8d usr/lib/i386-linux-gnu/deepin-wine/wow32.dll.so +fe6c65ad474a6a9083e3442e830023fb usr/lib/i386-linux-gnu/deepin-wine/wpc.dll.so +74ebd9bae21f43635de754cb504d4d16 usr/lib/i386-linux-gnu/deepin-wine/wpcap.dll.so +88ea9a2e255485dcfaad3ec4db431d65 usr/lib/i386-linux-gnu/deepin-wine/write.exe.so +dabc4d42cad44616aa653aff33bc9f82 usr/lib/i386-linux-gnu/deepin-wine/ws2_32.dll.so +f202d94293e0d789ba2dd8fbc8f9536d usr/lib/i386-linux-gnu/deepin-wine/wscript.exe.so +b56faa7068f95ff579bf9c1cadf23d08 usr/lib/i386-linux-gnu/deepin-wine/wsdapi.dll.so +e18864b1ace9449cac91eae790eb8c7e usr/lib/i386-linux-gnu/deepin-wine/wshom.ocx.so +3e0d38b7264af34c65ae3aaa16b473ae usr/lib/i386-linux-gnu/deepin-wine/wsnmp32.dll.so +c6f22101f320ec70b92fab15c2c34315 usr/lib/i386-linux-gnu/deepin-wine/wsock32.dll.so +a434486f61f709f33329fc4fb294ae33 usr/lib/i386-linux-gnu/deepin-wine/wtsapi32.dll.so +ee575fb9f0a773ddb0e3deab62d65487 usr/lib/i386-linux-gnu/deepin-wine/wuapi.dll.so +47d8619e6698584d54f1e7ac14cfff6e usr/lib/i386-linux-gnu/deepin-wine/wuaueng.dll.so +1379e0ec2b1004891c51fff0775f0299 usr/lib/i386-linux-gnu/deepin-wine/wusa.exe.so +ffb2f0bd83bbe45e2fee847fe775a7a8 usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_0.dll.so +af63527b6ab55df07858482a9e343963 usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_1.dll.so +e5ec4f48b835df12f3b50d5d69f81a9e usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_2.dll.so +339290950c168c567a172553f04e93e9 usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_3.dll.so +075a32c0fa6f0196d05240447b757073 usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_4.dll.so +163f7541eb9925b68e1860f6c9aec308 usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_5.dll.so +d88bc4d13037a7c79179599cf54064eb usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_6.dll.so +52516524bef72da404038477aad89a97 usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_7.dll.so +bed5d477048abb4ac1e36c559ba2228d usr/lib/i386-linux-gnu/deepin-wine/xapofx1_1.dll.so +156c8bb45e3bbc620590e001f41e0355 usr/lib/i386-linux-gnu/deepin-wine/xapofx1_2.dll.so +9fdd0d23ff3ba5c67f07f758efffb6c8 usr/lib/i386-linux-gnu/deepin-wine/xapofx1_3.dll.so +a04057f4fde1514c91c9174b6bddb864 usr/lib/i386-linux-gnu/deepin-wine/xapofx1_4.dll.so +5cd8152e4e66f63f884aae9ef0e7ba7c usr/lib/i386-linux-gnu/deepin-wine/xapofx1_5.dll.so +89231d642f4b28b525260cfe3be33fc3 usr/lib/i386-linux-gnu/deepin-wine/xaudio2_0.dll.so +75fcd9a77d7d211f5e239ffe84dcb5bc usr/lib/i386-linux-gnu/deepin-wine/xaudio2_1.dll.so +98e02148403788ba6d8f8031fb78e218 usr/lib/i386-linux-gnu/deepin-wine/xaudio2_2.dll.so +39550365e4fa60a99918f187695514b7 usr/lib/i386-linux-gnu/deepin-wine/xaudio2_3.dll.so +84d900d06478f329971d1e29cffc112c usr/lib/i386-linux-gnu/deepin-wine/xaudio2_4.dll.so +e348e2164b88a6f631576a1867b850ae usr/lib/i386-linux-gnu/deepin-wine/xaudio2_5.dll.so +ce63a3f2fd320f5a587ef0d7a88d9ecd usr/lib/i386-linux-gnu/deepin-wine/xaudio2_6.dll.so +912b07692e1666d973a20cbc47da3986 usr/lib/i386-linux-gnu/deepin-wine/xaudio2_7.dll.so +ec6fa3e046058bbfa269f1650e02ec2e usr/lib/i386-linux-gnu/deepin-wine/xaudio2_8.dll.so +b5963011752192f8c595c3f21a3eecc3 usr/lib/i386-linux-gnu/deepin-wine/xaudio2_9.dll.so +4ef906a0cac72ef511b52c9475fb7a12 usr/lib/i386-linux-gnu/deepin-wine/xcopy.exe.so +52a9549648cd3968f45c7709dc902e6d usr/lib/i386-linux-gnu/deepin-wine/xinput1_1.dll.so +132e54e157814867d3e90deb47017773 usr/lib/i386-linux-gnu/deepin-wine/xinput1_2.dll.so +ad60b378de298688c678fb82ce8957c0 usr/lib/i386-linux-gnu/deepin-wine/xinput1_3.dll.so +089572799cb9536ff8a3d1c5336daebc usr/lib/i386-linux-gnu/deepin-wine/xinput1_4.dll.so +f3e375cd5359efae737bdb407d017dd1 usr/lib/i386-linux-gnu/deepin-wine/xinput9_1_0.dll.so +01cf662ef8de5d09ac5525fbb4992f10 usr/lib/i386-linux-gnu/deepin-wine/xmllite.dll.so +3fd41a69491a9f729f98676a502d4d7d usr/lib/i386-linux-gnu/deepin-wine/xolehlp.dll.so +fe62d103b4769401ff9796386ed2197a usr/lib/i386-linux-gnu/deepin-wine/xpsprint.dll.so +3fd5d3ad1469f867a0489bcb9290a1da usr/lib/i386-linux-gnu/deepin-wine/xpssvcs.dll.so +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-libwine/control +c54407a9c8a4be869646d61835d42e1c usr/share/deepin-wine/wine/l_intl.nls +92c1141f5db1340c307e288798d33eaa usr/share/deepin-wine/wine/wine.inf +805c12bf3ba011b828555ceec9a6eec7 usr/share/doc/deepin-libwine/AUTHORS.gz +a0368a1bedebacbd93cd2eacc2e87449 usr/share/doc/deepin-libwine/README.gz +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-libwine/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-libwine/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-libwine/copyright +2a4e5105e452edc08e4410b9f8cdfb66 usr/share/lintian/overrides/deepin-libwine diff --git a/deepin-libwine_2.18-12_i386/DEBIAN/shlibs b/deepin-libwine_2.18-12_i386/DEBIAN/shlibs new file mode 100644 index 0000000..08bd731 --- /dev/null +++ b/deepin-libwine_2.18-12_i386/DEBIAN/shlibs @@ -0,0 +1 @@ +libwine 1 deepin-libwine diff --git a/deepin-libwine_2.18-12_i386/DEBIAN/triggers b/deepin-libwine_2.18-12_i386/DEBIAN/triggers new file mode 100644 index 0000000..884a015 --- /dev/null +++ b/deepin-libwine_2.18-12_i386/DEBIAN/triggers @@ -0,0 +1,2 @@ +# Triggers added by dh_makeshlibs +activate-noawait ldconfig diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/acledit.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/acledit.dll.so new file mode 100644 index 0000000..6aafd1b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/acledit.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/aclui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/aclui.dll.so new file mode 100644 index 0000000..8211c82 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/aclui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/activeds.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/activeds.dll.so new file mode 100644 index 0000000..ea2478a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/activeds.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/actxprxy.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/actxprxy.dll.so new file mode 100644 index 0000000..be12c3c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/actxprxy.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/adsldpc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/adsldpc.dll.so new file mode 100644 index 0000000..7829b8e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/adsldpc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/advapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/advapi32.dll.so new file mode 100644 index 0000000..0d46ce4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/advapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/advpack.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/advpack.dll.so new file mode 100644 index 0000000..9056068 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/advpack.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/amstream.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/amstream.dll.so new file mode 100644 index 0000000..10039e4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/amstream.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-identity-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-identity-l1-1-0.dll.so new file mode 100644 index 0000000..939a61a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-identity-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-runtime-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-runtime-l1-1-1.dll.so new file mode 100644 index 0000000..08e9d9d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-appmodel-runtime-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-apiquery-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-apiquery-l1-1-0.dll.so new file mode 100644 index 0000000..45b5d1b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-apiquery-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appcompat-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appcompat-l1-1-1.dll.so new file mode 100644 index 0000000..4e21639 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appcompat-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appinit-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appinit-l1-1-0.dll.so new file mode 100644 index 0000000..bdb6ad1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-appinit-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-atoms-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-atoms-l1-1-0.dll.so new file mode 100644 index 0000000..cb0d628 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-atoms-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-bem-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-bem-l1-1-0.dll.so new file mode 100644 index 0000000..dd5b5ac Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-bem-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-0.dll.so new file mode 100644 index 0000000..626a20e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-1.dll.so new file mode 100644 index 0000000..024cd49 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-private-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-private-l1-1-0.dll.so new file mode 100644 index 0000000..48fe58d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-com-private-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l1-1-0.dll.so new file mode 100644 index 0000000..07f0388 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l2-1-0.dll.so new file mode 100644 index 0000000..fa7a894 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-console-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l1-1-0.dll.so new file mode 100644 index 0000000..4e95be3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l2-1-0.dll.so new file mode 100644 index 0000000..0288900 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-crt-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-0.dll.so new file mode 100644 index 0000000..f27c9d1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-1.dll.so new file mode 100644 index 0000000..1c74c3c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-datetime-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-0.dll.so new file mode 100644 index 0000000..43210e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-1.dll.so new file mode 100644 index 0000000..c630bf0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-debug-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-0.dll.so new file mode 100644 index 0000000..9b4642e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-1.dll.so new file mode 100644 index 0000000..b810323 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-delayload-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-0.dll.so new file mode 100644 index 0000000..902d71e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-1.dll.so new file mode 100644 index 0000000..682afa4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-2.dll.so new file mode 100644 index 0000000..b915dbb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-3.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-3.dll.so new file mode 100644 index 0000000..11336a9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-errorhandling-l1-1-3.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-0.dll.so new file mode 100644 index 0000000..51f2f16 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-1.dll.so new file mode 100644 index 0000000..3318bb9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-fibers-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-1-0.dll.so new file mode 100644 index 0000000..ff181d0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-0.dll.so new file mode 100644 index 0000000..eff9924 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-1.dll.so new file mode 100644 index 0000000..37a59d4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l1-2-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-0.dll.so new file mode 100644 index 0000000..15e9c04 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-1.dll.so new file mode 100644 index 0000000..ac734d1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-2.dll.so new file mode 100644 index 0000000..b75ebe4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-file-l2-1-2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-handle-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-handle-l1-1-0.dll.so new file mode 100644 index 0000000..b24e62c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-handle-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-1-0.dll.so new file mode 100644 index 0000000..873c1f0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-2-0.dll.so new file mode 100644 index 0000000..c3a5f24 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l2-1-0.dll.so new file mode 100644 index 0000000..dccbd0c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-obsolete-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-obsolete-l1-1-0.dll.so new file mode 100644 index 0000000..a114d9e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-heap-obsolete-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-1-0.dll.so new file mode 100644 index 0000000..25b1e7b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-2-0.dll.so new file mode 100644 index 0000000..915d25b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-interlocked-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-0.dll.so new file mode 100644 index 0000000..89e2ee2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-1.dll.so new file mode 100644 index 0000000..f0c9050 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-io-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l1-1-0.dll.so new file mode 100644 index 0000000..2a2a373 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l2-1-0.dll.so new file mode 100644 index 0000000..807e829 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-job-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-0.dll.so new file mode 100644 index 0000000..4ce44e2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-1.dll.so new file mode 100644 index 0000000..a5114e2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-legacy-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-private-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-private-l1-1-1.dll.so new file mode 100644 index 0000000..99f8dbf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-kernel32-private-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-0.dll.so new file mode 100644 index 0000000..613d6fd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-1.dll.so new file mode 100644 index 0000000..5874398 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-0.dll.so new file mode 100644 index 0000000..2261639 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-2.dll.so new file mode 100644 index 0000000..641ff0c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-libraryloader-l1-2-2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-1-0.dll.so new file mode 100644 index 0000000..b652ff6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-0.dll.so new file mode 100644 index 0000000..85118c7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-1.dll.so new file mode 100644 index 0000000..b7d8a83 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l1-2-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l2-1-0.dll.so new file mode 100644 index 0000000..edf141d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-1-0.dll.so new file mode 100644 index 0000000..f9c5504 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-2-0.dll.so new file mode 100644 index 0000000..6612e6b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-3-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-3-0.dll.so new file mode 100644 index 0000000..1cd68e6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-obsolete-l1-3-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-private-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-private-l1-1-0.dll.so new file mode 100644 index 0000000..afdc4d3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localization-private-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localregistry-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localregistry-l1-1-0.dll.so new file mode 100644 index 0000000..536e15f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-localregistry-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-0.dll.so new file mode 100644 index 0000000..5286b1e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-1.dll.so new file mode 100644 index 0000000..1377d4e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-2.dll.so new file mode 100644 index 0000000..8adb882 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-memory-l1-1-2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-misc-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-misc-l1-1-0.dll.so new file mode 100644 index 0000000..f35e9f6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-misc-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-1-0.dll.so new file mode 100644 index 0000000..f667a3c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-2-0.dll.so new file mode 100644 index 0000000..888760e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namedpipe-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namespace-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namespace-l1-1-0.dll.so new file mode 100644 index 0000000..6a61f63 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-namespace-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-normalization-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-normalization-l1-1-0.dll.so new file mode 100644 index 0000000..540b08d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-normalization-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-path-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-path-l1-1-0.dll.so new file mode 100644 index 0000000..b2d673e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-path-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-privateprofile-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-privateprofile-l1-1-1.dll.so new file mode 100644 index 0000000..80aa544 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-privateprofile-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-1-0.dll.so new file mode 100644 index 0000000..970afcc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-2-0.dll.so new file mode 100644 index 0000000..779aeb7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processenvironment-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-0.dll.so new file mode 100644 index 0000000..91d4794 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-1.dll.so new file mode 100644 index 0000000..a0d4b68 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-2.dll.so new file mode 100644 index 0000000..e6b93e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processthreads-l1-1-2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processtopology-obsolete-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processtopology-obsolete-l1-1-0.dll.so new file mode 100644 index 0000000..5350d63 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-processtopology-obsolete-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-profile-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-profile-l1-1-0.dll.so new file mode 100644 index 0000000..0ab08e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-profile-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-ansi-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-ansi-l1-1-0.dll.so new file mode 100644 index 0000000..eb6dc66 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-ansi-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-l1-1-0.dll.so new file mode 100644 index 0000000..f560597 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-obsolete-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-obsolete-l1-1-0.dll.so new file mode 100644 index 0000000..ec456d4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-psapi-obsolete-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-quirks-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-quirks-l1-1-0.dll.so new file mode 100644 index 0000000..e640c37 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-quirks-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-realtime-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-realtime-l1-1-0.dll.so new file mode 100644 index 0000000..2273204 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-realtime-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l1-1-0.dll.so new file mode 100644 index 0000000..84304cb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l2-1-0.dll.so new file mode 100644 index 0000000..93d60d2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registry-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registryuserspecific-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registryuserspecific-l1-1-0.dll.so new file mode 100644 index 0000000..f34dff1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-registryuserspecific-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-1-0.dll.so new file mode 100644 index 0000000..d24a418 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-2-0.dll.so new file mode 100644 index 0000000..be797e6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-rtlsupport-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-legacy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-legacy-l1-1-0.dll.so new file mode 100644 index 0000000..797df12 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-legacy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll.so new file mode 100644 index 0000000..7672936 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll.so new file mode 100644 index 0000000..34503b0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sidebyside-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sidebyside-l1-1-0.dll.so new file mode 100644 index 0000000..1cad791 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sidebyside-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l1-1-0.dll.so new file mode 100644 index 0000000..6172c96 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l2-1-0.dll.so new file mode 100644 index 0000000..aa80042 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-obsolete-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-obsolete-l1-1-0.dll.so new file mode 100644 index 0000000..d2d7ab6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-string-obsolete-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-stringansi-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-stringansi-l1-1-0.dll.so new file mode 100644 index 0000000..aef7a9c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-stringansi-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-1-0.dll.so new file mode 100644 index 0000000..659746a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-0.dll.so new file mode 100644 index 0000000..10351df Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-1.dll.so new file mode 100644 index 0000000..91c43eb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-synch-l1-2-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-1-0.dll.so new file mode 100644 index 0000000..a8ad128 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-0.dll.so new file mode 100644 index 0000000..d02671e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-1.dll.so new file mode 100644 index 0000000..592bc55 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-sysinfo-l1-2-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-1-0.dll.so new file mode 100644 index 0000000..33e2e6c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-2-0.dll.so new file mode 100644 index 0000000..bab90f1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-legacy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-legacy-l1-1-0.dll.so new file mode 100644 index 0000000..8e77d9c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-legacy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-private-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-private-l1-1-0.dll.so new file mode 100644 index 0000000..f42b530 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-threadpool-private-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-timezone-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-timezone-l1-1-0.dll.so new file mode 100644 index 0000000..0521c39 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-timezone-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-toolhelp-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-toolhelp-l1-1-0.dll.so new file mode 100644 index 0000000..27b84a7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-toolhelp-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-url-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-url-l1-1-0.dll.so new file mode 100644 index 0000000..ef5197d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-url-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-util-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-util-l1-1-0.dll.so new file mode 100644 index 0000000..b63462b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-util-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-0.dll.so new file mode 100644 index 0000000..3c792bc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-1.dll.so new file mode 100644 index 0000000..97718af Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-private-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-private-l1-1-0.dll.so new file mode 100644 index 0000000..75dc059 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-version-private-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-versionansi-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-versionansi-l1-1-0.dll.so new file mode 100644 index 0000000..82287e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-versionansi-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-windowserrorreporting-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-windowserrorreporting-l1-1-0.dll.so new file mode 100644 index 0000000..e6bf2e3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-windowserrorreporting-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-0.dll.so new file mode 100644 index 0000000..4c09f77 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-1.dll.so new file mode 100644 index 0000000..f757fdb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-error-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-errorprivate-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-errorprivate-l1-1-1.dll.so new file mode 100644 index 0000000..40b04e2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-errorprivate-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-l1-1-0.dll.so new file mode 100644 index 0000000..bb17e20 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-registration-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-registration-l1-1-0.dll.so new file mode 100644 index 0000000..08098e3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-registration-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll.so new file mode 100644 index 0000000..f6ee6a3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-string-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-string-l1-1-0.dll.so new file mode 100644 index 0000000..df01408 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-winrt-string-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-0.dll.so new file mode 100644 index 0000000..eb1c48c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-1.dll.so new file mode 100644 index 0000000..c58c593 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-wow64-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l1-1-0.dll.so new file mode 100644 index 0000000..9b1c264 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l2-1-0.dll.so new file mode 100644 index 0000000..566bb52 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-core-xstate-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-conio-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-conio-l1-1-0.dll.so new file mode 100644 index 0000000..1f92020 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-conio-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-convert-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-convert-l1-1-0.dll.so new file mode 100644 index 0000000..c0a8891 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-convert-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-environment-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-environment-l1-1-0.dll.so new file mode 100644 index 0000000..9a24642 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-environment-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-filesystem-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-filesystem-l1-1-0.dll.so new file mode 100644 index 0000000..1a86037 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-filesystem-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-heap-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-heap-l1-1-0.dll.so new file mode 100644 index 0000000..3e30ab0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-heap-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-locale-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-locale-l1-1-0.dll.so new file mode 100644 index 0000000..97e5b4e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-locale-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-math-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-math-l1-1-0.dll.so new file mode 100644 index 0000000..dd50362 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-math-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-multibyte-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-multibyte-l1-1-0.dll.so new file mode 100644 index 0000000..f5c987a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-multibyte-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-private-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-private-l1-1-0.dll.so new file mode 100644 index 0000000..d70e12f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-private-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-process-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-process-l1-1-0.dll.so new file mode 100644 index 0000000..3360059 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-process-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-runtime-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-runtime-l1-1-0.dll.so new file mode 100644 index 0000000..69a7848 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-runtime-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-stdio-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-stdio-l1-1-0.dll.so new file mode 100644 index 0000000..2cc4118 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-stdio-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-string-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-string-l1-1-0.dll.so new file mode 100644 index 0000000..826be13 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-string-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-time-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-time-l1-1-0.dll.so new file mode 100644 index 0000000..7b2f8e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-time-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-utility-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-utility-l1-1-0.dll.so new file mode 100644 index 0000000..c90baa4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-crt-utility-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-config-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-config-l1-1-1.dll.so new file mode 100644 index 0000000..f1c6ad4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-config-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-query-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-query-l1-1-1.dll.so new file mode 100644 index 0000000..bae788f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-devices-query-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l1-1-0.dll.so new file mode 100644 index 0000000..9ea8e22 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l2-1-0.dll.so new file mode 100644 index 0000000..f657ee5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-advapi32-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-normaliz-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-normaliz-l1-1-0.dll.so new file mode 100644 index 0000000..d3bee0a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-normaliz-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-ole32-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-ole32-l1-1-0.dll.so new file mode 100644 index 0000000..b426f6a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-ole32-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shell32-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shell32-l1-1-0.dll.so new file mode 100644 index 0000000..bc7a2ba Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shell32-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l1-1-0.dll.so new file mode 100644 index 0000000..02d4c4d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l2-1-0.dll.so new file mode 100644 index 0000000..09a2477 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-shlwapi-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-user32-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-user32-l1-1-0.dll.so new file mode 100644 index 0000000..b673429 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-user32-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-version-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-version-l1-1-0.dll.so new file mode 100644 index 0000000..10273d7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-downlevel-version-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-dx-d3dkmt-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-dx-d3dkmt-l1-1-0.dll.so new file mode 100644 index 0000000..e946eae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-dx-d3dkmt-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-classicprovider-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-classicprovider-l1-1-0.dll.so new file mode 100644 index 0000000..0a802b8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-classicprovider-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-consumer-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-consumer-l1-1-0.dll.so new file mode 100644 index 0000000..56c70ec Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-consumer-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-controller-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-controller-l1-1-0.dll.so new file mode 100644 index 0000000..6a0c50b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-controller-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-legacy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-legacy-l1-1-0.dll.so new file mode 100644 index 0000000..fd81666 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-legacy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-provider-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-provider-l1-1-0.dll.so new file mode 100644 index 0000000..6877375 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventing-provider-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventlog-legacy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventlog-legacy-l1-1-0.dll.so new file mode 100644 index 0000000..eeae61b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-eventlog-legacy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-joystick-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-joystick-l1-1-0.dll.so new file mode 100644 index 0000000..302c414 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-joystick-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-misc-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-misc-l1-1-1.dll.so new file mode 100644 index 0000000..f6057ae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-misc-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-mme-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-mme-l1-1-0.dll.so new file mode 100644 index 0000000..9a0185e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-mme-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-time-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-time-l1-1-0.dll.so new file mode 100644 index 0000000..fe170fe Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-mm-time-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-dc-access-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-dc-access-l1-1-0.dll.so new file mode 100644 index 0000000..fc36db8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-dc-access-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-rectangle-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-rectangle-l1-1-0.dll.so new file mode 100644 index 0000000..8862f1a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-ntuser-rectangle-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-base-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-base-l1-1-0.dll.so new file mode 100644 index 0000000..d5cbab0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-base-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-setting-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-setting-l1-1-0.dll.so new file mode 100644 index 0000000..a8b16e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-power-setting-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-rtcore-ntuser-private-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-rtcore-ntuser-private-l1-1-0.dll.so new file mode 100644 index 0000000..bd37730 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-rtcore-ntuser-private-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-activedirectoryclient-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-activedirectoryclient-l1-1-0.dll.so new file mode 100644 index 0000000..263ba1d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-activedirectoryclient-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-audit-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-audit-l1-1-1.dll.so new file mode 100644 index 0000000..e934fca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-audit-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-1-0.dll.so new file mode 100644 index 0000000..85c22de Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-2-0.dll.so new file mode 100644 index 0000000..f0d5ffa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-private-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-private-l1-1-1.dll.so new file mode 100644 index 0000000..b2d6305 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-base-private-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-credentials-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-credentials-l1-1-0.dll.so new file mode 100644 index 0000000..9791b13 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-credentials-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-grouppolicy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-grouppolicy-l1-1-0.dll.so new file mode 100644 index 0000000..69ec11c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-grouppolicy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-0.dll.so new file mode 100644 index 0000000..9362338 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-1.dll.so new file mode 100644 index 0000000..cf04842 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l2-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l2-1-1.dll.so new file mode 100644 index 0000000..e053e98 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsalookup-l2-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsapolicy-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsapolicy-l1-1-0.dll.so new file mode 100644 index 0000000..22fb59e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-lsapolicy-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-provider-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-provider-l1-1-0.dll.so new file mode 100644 index 0000000..6c0a279 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-provider-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-sddl-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-sddl-l1-1-0.dll.so new file mode 100644 index 0000000..bd74342 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-sddl-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-systemfunctions-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-systemfunctions-l1-1-0.dll.so new file mode 100644 index 0000000..b72cf71 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-security-systemfunctions-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-0.dll.so new file mode 100644 index 0000000..9f05267 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-1.dll.so new file mode 100644 index 0000000..64775ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-core-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l1-1-0.dll.so new file mode 100644 index 0000000..d198d8b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l2-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l2-1-0.dll.so new file mode 100644 index 0000000..be0d1ac Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-management-l2-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-private-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-private-l1-1-1.dll.so new file mode 100644 index 0000000..a16c179 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-private-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-1-0.dll.so new file mode 100644 index 0000000..8b956c1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-2-0.dll.so new file mode 100644 index 0000000..f995538 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-service-winsvc-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellcom-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellcom-l1-1-0.dll.so new file mode 100644 index 0000000..95f8b40 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellcom-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellfolders-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellfolders-l1-1-0.dll.so new file mode 100644 index 0000000..53cd96d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/api-ms-win-shell-shellfolders-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/apphelp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/apphelp.dll.so new file mode 100644 index 0000000..0b24128 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/apphelp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/appwiz.cpl.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/appwiz.cpl.so new file mode 100644 index 0000000..9e8a3cd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/appwiz.cpl.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/arp.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/arp.exe.so new file mode 100644 index 0000000..975a43a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/arp.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/aspnet_regiis.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/aspnet_regiis.exe.so new file mode 100644 index 0000000..d4a6256 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/aspnet_regiis.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl.dll.so new file mode 100644 index 0000000..ddd490e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl100.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl100.dll.so new file mode 100644 index 0000000..8066bfa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl100.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl110.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl110.dll.so new file mode 100644 index 0000000..8419c20 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl110.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl80.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl80.dll.so new file mode 100644 index 0000000..cfb5f69 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl80.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl90.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl90.dll.so new file mode 100644 index 0000000..8f4689e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/atl90.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/attrib.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/attrib.exe.so new file mode 100644 index 0000000..c7f0c63 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/attrib.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/authz.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/authz.dll.so new file mode 100644 index 0000000..4da905b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/authz.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avicap32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avicap32.dll.so new file mode 100644 index 0000000..f536f10 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avicap32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avifil32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avifil32.dll.so new file mode 100644 index 0000000..0680140 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avifil32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avifile.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avifile.dll16.so new file mode 100644 index 0000000..72c8430 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avifile.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avrt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avrt.dll.so new file mode 100644 index 0000000..e992f76 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/avrt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bcrypt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bcrypt.dll.so new file mode 100644 index 0000000..337c874 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bcrypt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bluetoothapis.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bluetoothapis.dll.so new file mode 100644 index 0000000..306c965 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bluetoothapis.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/browseui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/browseui.dll.so new file mode 100644 index 0000000..ad09775 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/browseui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bthprops.cpl.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bthprops.cpl.so new file mode 100644 index 0000000..1e57a2b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/bthprops.cpl.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cabarc.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cabarc.exe.so new file mode 100644 index 0000000..5bf5134 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cabarc.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cabinet.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cabinet.dll.so new file mode 100644 index 0000000..514a191 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cabinet.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cacls.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cacls.exe.so new file mode 100644 index 0000000..6d7a3f9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cacls.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/capi2032.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/capi2032.dll.so new file mode 100644 index 0000000..62b9fc4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/capi2032.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cards.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cards.dll.so new file mode 100644 index 0000000..dbcb3b7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cards.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cfgmgr32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cfgmgr32.dll.so new file mode 100644 index 0000000..5287e02 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cfgmgr32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/clock.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/clock.exe.so new file mode 100644 index 0000000..9214b92 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/clock.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/clusapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/clusapi.dll.so new file mode 100644 index 0000000..79fe1d1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/clusapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cmd.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cmd.exe.so new file mode 100644 index 0000000..64a2cec Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cmd.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/combase.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/combase.dll.so new file mode 100644 index 0000000..c9b83bd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/combase.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comcat.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comcat.dll.so new file mode 100644 index 0000000..306dd6e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comcat.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comctl32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comctl32.dll.so new file mode 100644 index 0000000..3f239d7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comctl32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comdlg32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comdlg32.dll.so new file mode 100644 index 0000000..38a2bd1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comdlg32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comm.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comm.drv16.so new file mode 100644 index 0000000..c8d6dd3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comm.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/commdlg.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/commdlg.dll16.so new file mode 100644 index 0000000..f74beb6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/commdlg.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/compobj.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/compobj.dll16.so new file mode 100644 index 0000000..7f25bef Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/compobj.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/compstui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/compstui.dll.so new file mode 100644 index 0000000..2e0ea9c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/compstui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comsvcs.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comsvcs.dll.so new file mode 100644 index 0000000..359293f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/comsvcs.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/concrt140.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/concrt140.dll.so new file mode 100644 index 0000000..15842ea Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/concrt140.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/conhost.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/conhost.exe.so new file mode 100644 index 0000000..e2b1ab7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/conhost.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/connect.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/connect.dll.so new file mode 100644 index 0000000..3ed8aed Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/connect.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/control.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/control.exe.so new file mode 100644 index 0000000..055579b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/control.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/credui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/credui.dll.so new file mode 100644 index 0000000..1d4e461 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/credui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/crtdll.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/crtdll.dll.so new file mode 100644 index 0000000..4e93153 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/crtdll.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/crypt32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/crypt32.dll.so new file mode 100644 index 0000000..6079796 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/crypt32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptdlg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptdlg.dll.so new file mode 100644 index 0000000..4dcaf96 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptdlg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptdll.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptdll.dll.so new file mode 100644 index 0000000..9535134 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptdll.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptext.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptext.dll.so new file mode 100644 index 0000000..06d8ba4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptext.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptnet.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptnet.dll.so new file mode 100644 index 0000000..375878d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptnet.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptui.dll.so new file mode 100644 index 0000000..b663bf9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cryptui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cscript.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cscript.exe.so new file mode 100644 index 0000000..f46320d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/cscript.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctapi32.dll.so new file mode 100644 index 0000000..0c17dae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3d.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3d.dll16.so new file mode 100644 index 0000000..089ad06 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3d.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3d32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3d32.dll.so new file mode 100644 index 0000000..68e9702 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3d32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3dv2.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3dv2.dll16.so new file mode 100644 index 0000000..09ff4f3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ctl3dv2.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d2d1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d2d1.dll.so new file mode 100644 index 0000000..ad3c280 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d2d1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10.dll.so new file mode 100644 index 0000000..6726b3b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10_1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10_1.dll.so new file mode 100644 index 0000000..f8785c7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10_1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10core.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10core.dll.so new file mode 100644 index 0000000..926dcb1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d10core.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d11.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d11.dll.so new file mode 100644 index 0000000..9fde533 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d11.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d8.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d8.dll.so new file mode 100644 index 0000000..996c4ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d8.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d9.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d9.dll.so new file mode 100644 index 0000000..782728d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3d9.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_33.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_33.dll.so new file mode 100644 index 0000000..cb8f986 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_33.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_34.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_34.dll.so new file mode 100644 index 0000000..841a28d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_34.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_35.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_35.dll.so new file mode 100644 index 0000000..e801086 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_35.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_36.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_36.dll.so new file mode 100644 index 0000000..2888727 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_36.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_37.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_37.dll.so new file mode 100644 index 0000000..7e3f5a2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_37.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_38.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_38.dll.so new file mode 100644 index 0000000..41c28ea Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_38.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_39.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_39.dll.so new file mode 100644 index 0000000..25fe2b7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_39.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_40.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_40.dll.so new file mode 100644 index 0000000..87bb9b8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_40.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_41.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_41.dll.so new file mode 100644 index 0000000..14a0698 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_41.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_42.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_42.dll.so new file mode 100644 index 0000000..1cfba29 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_42.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_43.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_43.dll.so new file mode 100644 index 0000000..cdfc445 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_43.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_46.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_46.dll.so new file mode 100644 index 0000000..dbadbfb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_46.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_47.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_47.dll.so new file mode 100644 index 0000000..414280b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dcompiler_47.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dim.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dim.dll.so new file mode 100644 index 0000000..32af009 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dim.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3drm.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3drm.dll.so new file mode 100644 index 0000000..75d100f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3drm.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_33.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_33.dll.so new file mode 100644 index 0000000..03521db Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_33.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_34.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_34.dll.so new file mode 100644 index 0000000..581ca2d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_34.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_35.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_35.dll.so new file mode 100644 index 0000000..18c08dc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_35.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_36.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_36.dll.so new file mode 100644 index 0000000..afe27b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_36.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_37.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_37.dll.so new file mode 100644 index 0000000..6f3185f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_37.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_38.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_38.dll.so new file mode 100644 index 0000000..ce2c389 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_38.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_39.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_39.dll.so new file mode 100644 index 0000000..7eeb8cf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_39.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_40.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_40.dll.so new file mode 100644 index 0000000..69618b0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_40.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_41.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_41.dll.so new file mode 100644 index 0000000..dddc2ca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_41.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_42.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_42.dll.so new file mode 100644 index 0000000..d3cb443 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_42.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_43.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_43.dll.so new file mode 100644 index 0000000..cb1689e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx10_43.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx11_42.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx11_42.dll.so new file mode 100644 index 0000000..36ea507 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx11_42.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx11_43.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx11_43.dll.so new file mode 100644 index 0000000..3c6289b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx11_43.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_24.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_24.dll.so new file mode 100644 index 0000000..9586732 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_24.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_25.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_25.dll.so new file mode 100644 index 0000000..1351e19 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_25.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_26.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_26.dll.so new file mode 100644 index 0000000..3a31d94 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_26.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_27.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_27.dll.so new file mode 100644 index 0000000..d41a968 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_27.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_28.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_28.dll.so new file mode 100644 index 0000000..a402ea8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_28.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_29.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_29.dll.so new file mode 100644 index 0000000..ef91a5f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_29.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_30.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_30.dll.so new file mode 100644 index 0000000..4743b92 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_30.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_31.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_31.dll.so new file mode 100644 index 0000000..e4ef867 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_31.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_32.dll.so new file mode 100644 index 0000000..13e0b8a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_33.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_33.dll.so new file mode 100644 index 0000000..ce4a0cc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_33.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_34.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_34.dll.so new file mode 100644 index 0000000..755665b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_34.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_35.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_35.dll.so new file mode 100644 index 0000000..e69d425 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_35.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_36.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_36.dll.so new file mode 100644 index 0000000..600bc54 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_36.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_37.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_37.dll.so new file mode 100644 index 0000000..ce677fc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_37.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_38.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_38.dll.so new file mode 100644 index 0000000..4fafb71 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_38.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_39.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_39.dll.so new file mode 100644 index 0000000..a9fe3f5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_39.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_40.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_40.dll.so new file mode 100644 index 0000000..cf46033 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_40.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_41.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_41.dll.so new file mode 100644 index 0000000..66f6119 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_41.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_42.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_42.dll.so new file mode 100644 index 0000000..4822326 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_42.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_43.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_43.dll.so new file mode 100644 index 0000000..e91a270 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dx9_43.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dxof.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dxof.dll.so new file mode 100644 index 0000000..6209a1d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/d3dxof.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/davclnt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/davclnt.dll.so new file mode 100644 index 0000000..5ec476b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/davclnt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dbgeng.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dbgeng.dll.so new file mode 100644 index 0000000..38d2c80 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dbgeng.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dbghelp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dbghelp.dll.so new file mode 100644 index 0000000..a40f209 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dbghelp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dciman32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dciman32.dll.so new file mode 100644 index 0000000..5867e22 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dciman32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddeml.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddeml.dll16.so new file mode 100644 index 0000000..cab1b57 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddeml.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddraw.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddraw.dll.so new file mode 100644 index 0000000..2fc97b2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddraw.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddrawex.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddrawex.dll.so new file mode 100644 index 0000000..a3a13df Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ddrawex.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/devenum.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/devenum.dll.so new file mode 100644 index 0000000..19614d1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/devenum.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dhcpcsvc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dhcpcsvc.dll.so new file mode 100644 index 0000000..5365372 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dhcpcsvc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/difxapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/difxapi.dll.so new file mode 100644 index 0000000..e1c769d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/difxapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dinput.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dinput.dll.so new file mode 100644 index 0000000..e38ad81 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dinput.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dinput8.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dinput8.dll.so new file mode 100644 index 0000000..8e9e061 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dinput8.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dispdib.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dispdib.dll16.so new file mode 100644 index 0000000..50bdd5b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dispdib.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dispex.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dispex.dll.so new file mode 100644 index 0000000..9c8a236 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dispex.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/display.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/display.drv16.so new file mode 100644 index 0000000..f1667e6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/display.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmband.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmband.dll.so new file mode 100644 index 0000000..67998c9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmband.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmcompos.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmcompos.dll.so new file mode 100644 index 0000000..6bfbc30 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmcompos.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmime.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmime.dll.so new file mode 100644 index 0000000..e2435f0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmime.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmloader.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmloader.dll.so new file mode 100644 index 0000000..7f085ea Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmloader.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmscript.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmscript.dll.so new file mode 100644 index 0000000..4b9a100 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmscript.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmstyle.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmstyle.dll.so new file mode 100644 index 0000000..c231e03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmstyle.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmsynth.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmsynth.dll.so new file mode 100644 index 0000000..f0c301c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmsynth.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmusic.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmusic.dll.so new file mode 100644 index 0000000..2300b86 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmusic.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmusic32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmusic32.dll.so new file mode 100644 index 0000000..6efadc5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dmusic32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dnsapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dnsapi.dll.so new file mode 100644 index 0000000..d707628 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dnsapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dplay.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dplay.dll.so new file mode 100644 index 0000000..aed3d3d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dplay.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dplayx.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dplayx.dll.so new file mode 100644 index 0000000..6a5cc1e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dplayx.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnaddr.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnaddr.dll.so new file mode 100644 index 0000000..e11d1d1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnaddr.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnet.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnet.dll.so new file mode 100644 index 0000000..168026b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnet.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnhpast.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnhpast.dll.so new file mode 100644 index 0000000..6ce82dd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnhpast.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnlobby.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnlobby.dll.so new file mode 100644 index 0000000..d5c1163 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnlobby.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnsvr.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnsvr.exe.so new file mode 100644 index 0000000..e9af74c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpnsvr.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpvoice.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpvoice.dll.so new file mode 100644 index 0000000..c0b0059 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpvoice.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpwsockx.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpwsockx.dll.so new file mode 100644 index 0000000..169ae74 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dpwsockx.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/drmclien.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/drmclien.dll.so new file mode 100644 index 0000000..32b4690 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/drmclien.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dsound.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dsound.dll.so new file mode 100644 index 0000000..075e54f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dsound.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dsquery.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dsquery.dll.so new file mode 100644 index 0000000..85bc709 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dsquery.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dssenh.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dssenh.dll.so new file mode 100644 index 0000000..200a281 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dssenh.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dswave.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dswave.dll.so new file mode 100644 index 0000000..0f1e45f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dswave.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dwmapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dwmapi.dll.so new file mode 100644 index 0000000..d7f19c7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dwmapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dwrite.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dwrite.dll.so new file mode 100644 index 0000000..e4c3aa9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dwrite.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dx8vb.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dx8vb.dll.so new file mode 100644 index 0000000..8686293 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dx8vb.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxdiag.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxdiag.exe.so new file mode 100644 index 0000000..dc3c7f5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxdiag.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxdiagn.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxdiagn.dll.so new file mode 100644 index 0000000..ad56529 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxdiagn.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxgi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxgi.dll.so new file mode 100644 index 0000000..5726a01 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxgi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxva2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxva2.dll.so new file mode 100644 index 0000000..5760984 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/dxva2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/eject.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/eject.exe.so new file mode 100644 index 0000000..f390154 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/eject.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/esent.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/esent.dll.so new file mode 100644 index 0000000..cfccb91 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/esent.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/evr.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/evr.dll.so new file mode 100644 index 0000000..1f1370b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/evr.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/expand.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/expand.exe.so new file mode 100644 index 0000000..6c3fdc8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/expand.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/explorer.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/explorer.exe.so new file mode 100644 index 0000000..92b6e1f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/explorer.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/explorerframe.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/explorerframe.dll.so new file mode 100644 index 0000000..8960d21 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/explorerframe.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-authz-context-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-authz-context-l1-1-0.dll.so new file mode 100644 index 0000000..a30ae5f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-authz-context-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-domainjoin-netjoin-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-domainjoin-netjoin-l1-1-0.dll.so new file mode 100644 index 0000000..7a2dcc4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-domainjoin-netjoin-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-create-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-create-l1-1-1.dll.so new file mode 100644 index 0000000..7bd2217 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-create-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-l1-2-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-l1-2-0.dll.so new file mode 100644 index 0000000..8ae8435 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-dc-l1-2-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-devcaps-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-devcaps-l1-1-0.dll.so new file mode 100644 index 0000000..c0a57a3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-devcaps-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-draw-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-draw-l1-1-1.dll.so new file mode 100644 index 0000000..1528cc6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-draw-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-render-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-render-l1-1-0.dll.so new file mode 100644 index 0000000..039b65e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-gdi-render-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-current-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-current-l1-1-0.dll.so new file mode 100644 index 0000000..7dadee8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-current-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-l1-1-1.dll.so new file mode 100644 index 0000000..db1eabb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-kernel32-package-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-message-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-message-l1-1-1.dll.so new file mode 100644 index 0000000..afd5ad2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-message-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-private-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-private-l1-1-1.dll.so new file mode 100644 index 0000000..93e9160 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-private-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll.so new file mode 100644 index 0000000..01aeadc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll.so new file mode 100644 index 0000000..cdcfaa3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-window-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-window-l1-1-1.dll.so new file mode 100644 index 0000000..b5ba7e9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-window-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-windowclass-l1-1-1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-windowclass-l1-1-1.dll.so new file mode 100644 index 0000000..b283616 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ntuser-windowclass-l1-1-1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ras-rasapi32-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ras-rasapi32-l1-1-0.dll.so new file mode 100644 index 0000000..7407ca6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-ras-rasapi32-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-object-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-object-l1-1-0.dll.so new file mode 100644 index 0000000..889b7a2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-object-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll.so new file mode 100644 index 0000000..5a32e14 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll.so new file mode 100644 index 0000000..2bf510d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll.so new file mode 100644 index 0000000..35f18b9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll.so new file mode 100644 index 0000000..b1a4607 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-credui-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-credui-l1-1-0.dll.so new file mode 100644 index 0000000..bd6400e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-credui-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-cryptui-l1-1-0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-cryptui-l1-1-0.dll.so new file mode 100644 index 0000000..5f58f5c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ext-ms-win-security-cryptui-l1-1-0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/extrac32.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/extrac32.exe.so new file mode 100644 index 0000000..c6841c0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/extrac32.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/acledit.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/acledit.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/acledit.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aclui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aclui.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aclui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/activeds.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/activeds.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/activeds.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/actxprxy.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/actxprxy.dll new file mode 100644 index 0000000..27e47d1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/actxprxy.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/adsldpc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/adsldpc.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/adsldpc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advapi32.dll new file mode 100644 index 0000000..95bf252 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advpack.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advpack.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/advpack.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/amstream.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/amstream.dll new file mode 100644 index 0000000..401bd3e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/amstream.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-identity-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-identity-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-identity-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-runtime-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-runtime-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-appmodel-runtime-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-apiquery-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-apiquery-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-apiquery-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appcompat-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appcompat-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appcompat-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appinit-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appinit-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-appinit-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-atoms-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-atoms-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-atoms-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-bem-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-bem-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-bem-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-private-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-private-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-com-private-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-console-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-crt-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-datetime-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-debug-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-delayload-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-3.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-3.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-errorhandling-l1-1-3.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-fibers-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l1-2-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-file-l2-1-2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-handle-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-handle-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-handle-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-obsolete-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-obsolete-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-heap-obsolete-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-interlocked-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-io-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-job-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-legacy-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-private-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-private-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-kernel32-private-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-libraryloader-l1-2-2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l1-2-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-3-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-3-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-obsolete-l1-3-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-private-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-private-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localization-private-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localregistry-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localregistry-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-localregistry-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-memory-l1-1-2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-misc-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-misc-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-misc-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namedpipe-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namespace-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namespace-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-namespace-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-normalization-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-normalization-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-normalization-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-path-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-path-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-path-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-privateprofile-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-privateprofile-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-privateprofile-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processenvironment-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processthreads-l1-1-2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processtopology-obsolete-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processtopology-obsolete-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-processtopology-obsolete-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-profile-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-profile-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-profile-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-ansi-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-ansi-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-ansi-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-obsolete-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-obsolete-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-psapi-obsolete-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-quirks-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-quirks-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-quirks-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-realtime-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-realtime-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-realtime-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registry-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registryuserspecific-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registryuserspecific-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-registryuserspecific-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-rtlsupport-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-legacy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-legacy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-legacy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-shlwapi-obsolete-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sidebyside-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sidebyside-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sidebyside-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-obsolete-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-obsolete-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-string-obsolete-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-stringansi-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-stringansi-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-stringansi-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-synch-l1-2-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-sysinfo-l1-2-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-legacy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-legacy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-legacy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-private-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-private-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-threadpool-private-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-timezone-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-timezone-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-timezone-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-toolhelp-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-toolhelp-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-toolhelp-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-url-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-url-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-url-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-util-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-util-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-util-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-private-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-private-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-version-private-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-versionansi-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-versionansi-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-versionansi-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-windowserrorreporting-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-windowserrorreporting-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-windowserrorreporting-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-error-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-errorprivate-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-errorprivate-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-errorprivate-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-registration-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-registration-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-registration-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-string-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-string-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-winrt-string-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-wow64-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-core-xstate-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-conio-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-conio-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-conio-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-convert-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-convert-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-convert-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-environment-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-environment-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-environment-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-filesystem-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-filesystem-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-filesystem-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-heap-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-heap-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-heap-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-locale-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-locale-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-locale-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-math-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-math-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-math-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-multibyte-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-multibyte-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-multibyte-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-private-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-private-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-private-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-process-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-process-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-process-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-runtime-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-runtime-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-runtime-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-stdio-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-stdio-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-stdio-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-string-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-string-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-string-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-time-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-time-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-time-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-utility-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-utility-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-crt-utility-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-config-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-config-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-config-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-query-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-query-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-devices-query-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-advapi32-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-normaliz-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-normaliz-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-normaliz-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-ole32-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-ole32-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-ole32-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shell32-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shell32-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shell32-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-shlwapi-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-user32-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-user32-l1-1-0.dll new file mode 100644 index 0000000..52b09b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-user32-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-version-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-version-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-downlevel-version-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-dx-d3dkmt-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-dx-d3dkmt-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-dx-d3dkmt-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-classicprovider-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-classicprovider-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-classicprovider-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-consumer-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-consumer-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-consumer-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-controller-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-controller-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-controller-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-legacy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-legacy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-legacy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-provider-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-provider-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventing-provider-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventlog-legacy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventlog-legacy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-eventlog-legacy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-joystick-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-joystick-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-joystick-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-misc-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-misc-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-misc-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-mme-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-mme-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-mme-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-time-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-time-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-mm-time-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-dc-access-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-dc-access-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-dc-access-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-rectangle-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-rectangle-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-ntuser-rectangle-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-base-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-base-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-base-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-setting-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-setting-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-power-setting-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-rtcore-ntuser-private-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-rtcore-ntuser-private-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-rtcore-ntuser-private-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-activedirectoryclient-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-activedirectoryclient-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-activedirectoryclient-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-audit-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-audit-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-audit-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-1-0.dll new file mode 100644 index 0000000..849b35d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-private-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-private-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-base-private-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-credentials-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-credentials-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-credentials-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-grouppolicy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-grouppolicy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-grouppolicy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l2-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l2-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsalookup-l2-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsapolicy-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsapolicy-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-lsapolicy-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-provider-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-provider-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-provider-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-sddl-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-sddl-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-sddl-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-systemfunctions-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-systemfunctions-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-security-systemfunctions-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-core-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l2-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l2-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-management-l2-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-private-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-private-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-private-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-service-winsvc-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellcom-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellcom-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellcom-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellfolders-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellfolders-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/api-ms-win-shell-shellfolders-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/apphelp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/apphelp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/apphelp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/appwiz.cpl b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/appwiz.cpl new file mode 100644 index 0000000..32b6a31 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/appwiz.cpl differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/arp.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/arp.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/arp.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aspnet_regiis.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aspnet_regiis.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/aspnet_regiis.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl.dll new file mode 100644 index 0000000..c8cc2bf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl100.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl100.dll new file mode 100644 index 0000000..3379295 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl100.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl110.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl110.dll new file mode 100644 index 0000000..aadf9b4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl110.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl80.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl80.dll new file mode 100644 index 0000000..65de6b2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl80.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl90.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl90.dll new file mode 100644 index 0000000..3dae91a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/atl90.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/attrib.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/attrib.exe new file mode 100644 index 0000000..43ef0df Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/attrib.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/authz.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/authz.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/authz.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avicap32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avicap32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avicap32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifil32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifil32.dll new file mode 100644 index 0000000..62e4a3d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifil32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifile.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifile.dll16 new file mode 100644 index 0000000..0d9596a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avifile.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avrt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avrt.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/avrt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bcrypt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bcrypt.dll new file mode 100644 index 0000000..35bfb45 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bcrypt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bluetoothapis.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bluetoothapis.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bluetoothapis.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/browseui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/browseui.dll new file mode 100644 index 0000000..8fdc8fb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/browseui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bthprops.cpl b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bthprops.cpl new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/bthprops.cpl differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabarc.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabarc.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabarc.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabinet.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabinet.dll new file mode 100644 index 0000000..98018a0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cabinet.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cacls.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cacls.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cacls.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/capi2032.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/capi2032.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/capi2032.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cards.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cards.dll new file mode 100644 index 0000000..54bcbb4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cards.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cfgmgr32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cfgmgr32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cfgmgr32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clock.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clock.exe new file mode 100644 index 0000000..d8c0d95 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clock.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clusapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clusapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/clusapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cmd.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cmd.exe new file mode 100644 index 0000000..3b56b78 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cmd.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/combase.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/combase.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/combase.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comcat.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comcat.dll new file mode 100644 index 0000000..728a64b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comcat.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comctl32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comctl32.dll new file mode 100644 index 0000000..fc40ed6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comctl32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comdlg32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comdlg32.dll new file mode 100644 index 0000000..9ae5cdd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comdlg32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comm.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comm.drv16 new file mode 100644 index 0000000..df1c751 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comm.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/commdlg.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/commdlg.dll16 new file mode 100644 index 0000000..d9626a3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/commdlg.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compobj.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compobj.dll16 new file mode 100644 index 0000000..16b5016 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compobj.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compstui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compstui.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/compstui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comsvcs.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comsvcs.dll new file mode 100644 index 0000000..1c221a4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/comsvcs.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/concrt140.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/concrt140.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/concrt140.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/conhost.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/conhost.exe new file mode 100644 index 0000000..0998c00 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/conhost.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/connect.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/connect.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/connect.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/control.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/control.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/control.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/credui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/credui.dll new file mode 100644 index 0000000..162212f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/credui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crtdll.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crtdll.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crtdll.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crypt32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crypt32.dll new file mode 100644 index 0000000..30acbb7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/crypt32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdlg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdlg.dll new file mode 100644 index 0000000..5ebfc59 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdlg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdll.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdll.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptdll.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptext.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptext.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptext.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptnet.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptnet.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptnet.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptui.dll new file mode 100644 index 0000000..c6491e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cryptui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cscript.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cscript.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/cscript.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctapi32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d.dll16 new file mode 100644 index 0000000..22bb140 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3d32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3dv2.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3dv2.dll16 new file mode 100644 index 0000000..07d7acf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ctl3dv2.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d2d1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d2d1.dll new file mode 100644 index 0000000..fb58418 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d2d1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10.dll new file mode 100644 index 0000000..2396ad2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10_1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10_1.dll new file mode 100644 index 0000000..7b5ffa5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10_1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10core.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10core.dll new file mode 100644 index 0000000..f16d6d9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d10core.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d11.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d11.dll new file mode 100644 index 0000000..16fa81f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d11.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d8.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d8.dll new file mode 100644 index 0000000..847545b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d8.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d9.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d9.dll new file mode 100644 index 0000000..f1ffff9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3d9.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_33.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_33.dll new file mode 100644 index 0000000..10be82d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_33.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_34.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_34.dll new file mode 100644 index 0000000..68d1d1b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_34.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_35.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_35.dll new file mode 100644 index 0000000..24f1158 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_35.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_36.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_36.dll new file mode 100644 index 0000000..9bd71e8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_36.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_37.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_37.dll new file mode 100644 index 0000000..aabdc53 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_37.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_38.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_38.dll new file mode 100644 index 0000000..f69e8b5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_38.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_39.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_39.dll new file mode 100644 index 0000000..faf93dc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_39.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_40.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_40.dll new file mode 100644 index 0000000..c84dca4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_40.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_41.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_41.dll new file mode 100644 index 0000000..b877141 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_41.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_42.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_42.dll new file mode 100644 index 0000000..8d94230 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_42.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_43.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_43.dll new file mode 100644 index 0000000..a3ada35 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_43.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_46.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_46.dll new file mode 100644 index 0000000..437e48a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_46.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_47.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_47.dll new file mode 100644 index 0000000..05f0110 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dcompiler_47.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dim.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dim.dll new file mode 100644 index 0000000..1e1b97a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dim.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3drm.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3drm.dll new file mode 100644 index 0000000..3aba87e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3drm.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_33.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_33.dll new file mode 100644 index 0000000..13caa32 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_33.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_34.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_34.dll new file mode 100644 index 0000000..598c970 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_34.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_35.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_35.dll new file mode 100644 index 0000000..4bf7564 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_35.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_36.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_36.dll new file mode 100644 index 0000000..88a8a5c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_36.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_37.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_37.dll new file mode 100644 index 0000000..ad6d2bd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_37.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_38.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_38.dll new file mode 100644 index 0000000..a4605d3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_38.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_39.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_39.dll new file mode 100644 index 0000000..f46465d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_39.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_40.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_40.dll new file mode 100644 index 0000000..96bb791 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_40.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_41.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_41.dll new file mode 100644 index 0000000..43355a3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_41.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_42.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_42.dll new file mode 100644 index 0000000..1257492 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_42.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_43.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_43.dll new file mode 100644 index 0000000..f38657e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx10_43.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_42.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_42.dll new file mode 100644 index 0000000..068aa4d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_42.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_43.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_43.dll new file mode 100644 index 0000000..c23e175 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx11_43.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_24.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_24.dll new file mode 100644 index 0000000..fc5d13a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_24.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_25.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_25.dll new file mode 100644 index 0000000..a38ad9a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_25.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_26.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_26.dll new file mode 100644 index 0000000..866ca0e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_26.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_27.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_27.dll new file mode 100644 index 0000000..88b1e4b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_27.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_28.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_28.dll new file mode 100644 index 0000000..8be94a6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_28.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_29.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_29.dll new file mode 100644 index 0000000..a39986c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_29.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_30.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_30.dll new file mode 100644 index 0000000..03fc752 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_30.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_31.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_31.dll new file mode 100644 index 0000000..819c20f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_31.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_32.dll new file mode 100644 index 0000000..dc30a49 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_33.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_33.dll new file mode 100644 index 0000000..17db9ad Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_33.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_34.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_34.dll new file mode 100644 index 0000000..4ed335a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_34.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_35.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_35.dll new file mode 100644 index 0000000..952f472 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_35.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_36.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_36.dll new file mode 100644 index 0000000..8a7f0e9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_36.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_37.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_37.dll new file mode 100644 index 0000000..bf8c96a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_37.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_38.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_38.dll new file mode 100644 index 0000000..59aaa93 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_38.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_39.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_39.dll new file mode 100644 index 0000000..9d72d32 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_39.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_40.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_40.dll new file mode 100644 index 0000000..a13e6e4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_40.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_41.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_41.dll new file mode 100644 index 0000000..8b98d26 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_41.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_42.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_42.dll new file mode 100644 index 0000000..8e4006b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_42.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_43.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_43.dll new file mode 100644 index 0000000..ca2ceb6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dx9_43.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dxof.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dxof.dll new file mode 100644 index 0000000..0a48099 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/d3dxof.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/davclnt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/davclnt.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/davclnt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbgeng.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbgeng.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbgeng.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbghelp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbghelp.dll new file mode 100644 index 0000000..6f29809 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dbghelp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dciman32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dciman32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dciman32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddeml.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddeml.dll16 new file mode 100644 index 0000000..2b7fa3d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddeml.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddraw.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddraw.dll new file mode 100644 index 0000000..37def01 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddraw.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddrawex.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddrawex.dll new file mode 100644 index 0000000..74492f0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ddrawex.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/devenum.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/devenum.dll new file mode 100644 index 0000000..8d6ee0f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/devenum.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dhcpcsvc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dhcpcsvc.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dhcpcsvc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/difxapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/difxapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/difxapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput.dll new file mode 100644 index 0000000..4f1058f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput8.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput8.dll new file mode 100644 index 0000000..69cbe05 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dinput8.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispdib.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispdib.dll16 new file mode 100644 index 0000000..a15b671 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispdib.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispex.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispex.dll new file mode 100644 index 0000000..88b17ef Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dispex.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/display.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/display.drv16 new file mode 100644 index 0000000..402682e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/display.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmband.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmband.dll new file mode 100644 index 0000000..260404c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmband.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmcompos.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmcompos.dll new file mode 100644 index 0000000..c068a36 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmcompos.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmime.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmime.dll new file mode 100644 index 0000000..c1ebe8e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmime.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmloader.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmloader.dll new file mode 100644 index 0000000..80b768d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmloader.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmscript.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmscript.dll new file mode 100644 index 0000000..4d47c85 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmscript.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmstyle.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmstyle.dll new file mode 100644 index 0000000..d8b9627 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmstyle.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmsynth.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmsynth.dll new file mode 100644 index 0000000..059887d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmsynth.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic.dll new file mode 100644 index 0000000..3dfc3da Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic32.dll new file mode 100644 index 0000000..35f31d3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dmusic32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dnsapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dnsapi.dll new file mode 100644 index 0000000..bc9dd2a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dnsapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplay.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplay.dll new file mode 100644 index 0000000..963b56c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplay.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplayx.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplayx.dll new file mode 100644 index 0000000..f1503be Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dplayx.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnaddr.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnaddr.dll new file mode 100644 index 0000000..f21e063 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnaddr.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnet.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnet.dll new file mode 100644 index 0000000..48ca785 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnet.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnhpast.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnhpast.dll new file mode 100644 index 0000000..a53f0b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnhpast.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnlobby.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnlobby.dll new file mode 100644 index 0000000..d9ba59d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnlobby.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnsvr.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnsvr.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpnsvr.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpvoice.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpvoice.dll new file mode 100644 index 0000000..6095d87 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpvoice.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpwsockx.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpwsockx.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dpwsockx.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/drmclien.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/drmclien.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/drmclien.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsound.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsound.dll new file mode 100644 index 0000000..43f0a83 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsound.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsquery.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsquery.dll new file mode 100644 index 0000000..ffb3ac5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dsquery.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dssenh.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dssenh.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dssenh.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dswave.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dswave.dll new file mode 100644 index 0000000..b27e846 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dswave.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwmapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwmapi.dll new file mode 100644 index 0000000..3855d18 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwmapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwrite.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwrite.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dwrite.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dx8vb.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dx8vb.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dx8vb.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiag.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiag.exe new file mode 100644 index 0000000..612b32a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiag.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiagn.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiagn.dll new file mode 100644 index 0000000..7500068 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxdiagn.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxgi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxgi.dll new file mode 100644 index 0000000..22f3b55 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxgi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxva2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxva2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/dxva2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/eject.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/eject.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/eject.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/esent.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/esent.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/esent.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/evr.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/evr.dll new file mode 100644 index 0000000..22d8d3d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/evr.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/expand.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/expand.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/expand.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorer.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorer.exe new file mode 100644 index 0000000..4a6742c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorer.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorerframe.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorerframe.dll new file mode 100644 index 0000000..90ded21 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/explorerframe.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-authz-context-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-authz-context-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-authz-context-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-domainjoin-netjoin-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-domainjoin-netjoin-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-domainjoin-netjoin-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-create-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-create-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-create-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-l1-2-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-l1-2-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-dc-l1-2-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-devcaps-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-devcaps-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-devcaps-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-draw-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-draw-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-draw-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-render-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-render-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-gdi-render-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-current-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-current-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-current-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-kernel32-package-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-message-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-message-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-message-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-private-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-private-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-private-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-window-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-window-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-window-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-windowclass-l1-1-1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-windowclass-l1-1-1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ntuser-windowclass-l1-1-1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ras-rasapi32-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ras-rasapi32-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-ras-rasapi32-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-object-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-object-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-object-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-credui-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-credui-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-credui-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-cryptui-l1-1-0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-cryptui-l1-1-0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ext-ms-win-security-cryptui-l1-1-0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/extrac32.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/extrac32.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/extrac32.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/faultrep.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/faultrep.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/faultrep.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/findstr.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/findstr.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/findstr.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltlib.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltlib.dll new file mode 100644 index 0000000..eb4c837 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltlib.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltmgr.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltmgr.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fltmgr.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fntcache.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fntcache.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fntcache.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fontsub.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fontsub.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fontsub.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fsutil.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fsutil.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fsutil.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fusion.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fusion.dll new file mode 100644 index 0000000..a987318 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fusion.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fwpuclnt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fwpuclnt.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/fwpuclnt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gameux.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gameux.dll new file mode 100644 index 0000000..664614e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gameux.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi.exe16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi.exe16 new file mode 100644 index 0000000..501809c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi.exe16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi32.dll new file mode 100644 index 0000000..f3e97a7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdiplus.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdiplus.dll new file mode 100644 index 0000000..0b4e0ed Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gdiplus.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/glu32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/glu32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/glu32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gphoto2.ds b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gphoto2.ds new file mode 100644 index 0000000..13e184c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gphoto2.ds differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gpkcsp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gpkcsp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/gpkcsp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hal.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hal.dll new file mode 100644 index 0000000..acd40d6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hal.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hh.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hh.exe new file mode 100644 index 0000000..cbcca57 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hh.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hhctrl.ocx b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hhctrl.ocx new file mode 100644 index 0000000..9c53237 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hhctrl.ocx differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hid.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hid.dll new file mode 100644 index 0000000..fe3dd56 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hid.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidclass.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidclass.sys new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidclass.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidusb.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidusb.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hidusb.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hlink.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hlink.dll new file mode 100644 index 0000000..4d40daf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hlink.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hnetcfg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hnetcfg.dll new file mode 100644 index 0000000..79571ba Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hnetcfg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hostname.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hostname.exe new file mode 100644 index 0000000..69726e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/hostname.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/httpapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/httpapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/httpapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icacls.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icacls.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icacls.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iccvid.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iccvid.dll new file mode 100644 index 0000000..dd00e66 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iccvid.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icinfo.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icinfo.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icinfo.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icmp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icmp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/icmp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieframe.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieframe.dll new file mode 100644 index 0000000..cb1868a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieframe.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieproxy.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieproxy.dll new file mode 100644 index 0000000..7376cca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ieproxy.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iexplore.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iexplore.exe new file mode 100644 index 0000000..cf5e6b7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iexplore.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ifsmgr.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ifsmgr.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ifsmgr.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imaadp32.acm b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imaadp32.acm new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imaadp32.acm differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imagehlp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imagehlp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imagehlp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm.dll16 new file mode 100644 index 0000000..dc56e0a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm32.dll new file mode 100644 index 0000000..1f6653e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/imm32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcomm.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcomm.dll new file mode 100644 index 0000000..a9566a0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcomm.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcpl.cpl b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcpl.cpl new file mode 100644 index 0000000..3a02e65 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetcpl.cpl differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetmib1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetmib1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inetmib1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/infosoft.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/infosoft.dll new file mode 100644 index 0000000..87299b0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/infosoft.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/initpki.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/initpki.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/initpki.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inkobj.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inkobj.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inkobj.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inseng.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inseng.dll new file mode 100644 index 0000000..284a209 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/inseng.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ipconfig.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ipconfig.exe new file mode 100644 index 0000000..9f4ac3a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ipconfig.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iphlpapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iphlpapi.dll new file mode 100644 index 0000000..f41179a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iphlpapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iprop.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iprop.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/iprop.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/irprops.cpl b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/irprops.cpl new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/irprops.cpl differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itircl.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itircl.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itircl.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itss.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itss.dll new file mode 100644 index 0000000..003bbe2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/itss.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/joy.cpl b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/joy.cpl new file mode 100644 index 0000000..ad77ecb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/joy.cpl differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jscript.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jscript.dll new file mode 100644 index 0000000..ab2306b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jscript.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jsproxy.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jsproxy.dll new file mode 100644 index 0000000..6de7d48 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/jsproxy.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernel32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernel32.dll new file mode 100644 index 0000000..9920605 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernel32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernelbase.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernelbase.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/kernelbase.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/keyboard.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/keyboard.drv16 new file mode 100644 index 0000000..a4c13b0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/keyboard.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/krnl386.exe16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/krnl386.exe16 new file mode 100644 index 0000000..20fcbd1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/krnl386.exe16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ksuser.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ksuser.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ksuser.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ktmw32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ktmw32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ktmw32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/loadperf.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/loadperf.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/loadperf.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localspl.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localspl.dll new file mode 100644 index 0000000..d9c621e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localspl.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localui.dll new file mode 100644 index 0000000..5c4ab27 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/localui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lodctr.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lodctr.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lodctr.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lz32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lz32.dll new file mode 100644 index 0000000..c0eed4d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lz32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lzexpand.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lzexpand.dll16 new file mode 100644 index 0000000..73743db Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/lzexpand.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapi32.dll new file mode 100644 index 0000000..b5c9971 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapistub.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapistub.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mapistub.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciavi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciavi32.dll new file mode 100644 index 0000000..e137e3f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciavi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mcicda.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mcicda.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mcicda.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciqtz32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciqtz32.dll new file mode 100644 index 0000000..461f775 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciqtz32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciseq.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciseq.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciseq.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciwave.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciwave.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mciwave.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf3216.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf3216.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mf3216.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfplat.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfplat.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfplat.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfreadwrite.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfreadwrite.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mfreadwrite.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mgmtapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mgmtapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mgmtapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/midimap.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/midimap.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/midimap.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mlang.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mlang.dll new file mode 100644 index 0000000..24c4561 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mlang.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmcndmgr.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmcndmgr.dll new file mode 100644 index 0000000..ad8503b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmcndmgr.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevapi.dll new file mode 100644 index 0000000..1da4822 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevldr.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevldr.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmdevldr.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmsystem.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmsystem.dll16 new file mode 100644 index 0000000..439f8dd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mmsystem.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mofcomp.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mofcomp.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mofcomp.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/monodebg.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/monodebg.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/monodebg.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mountmgr.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mountmgr.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mountmgr.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mouse.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mouse.drv16 new file mode 100644 index 0000000..0c48e94 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mouse.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mpr.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mpr.dll new file mode 100644 index 0000000..63f2eee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mpr.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mprapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mprapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mprapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm.dll16 new file mode 100644 index 0000000..53e49c2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.dll new file mode 100644 index 0000000..1860d16 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.drv new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msacm32.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msadp32.acm b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msadp32.acm new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msadp32.acm differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msasn1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msasn1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msasn1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscat32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscat32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscat32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscms.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscms.dll new file mode 100644 index 0000000..5736dea Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscms.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscoree.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscoree.dll new file mode 100644 index 0000000..71e36da Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mscoree.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctf.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctf.dll new file mode 100644 index 0000000..e0e2e17 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctf.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctfp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctfp.dll new file mode 100644 index 0000000..e12f72f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msctfp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdaps.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdaps.dll new file mode 100644 index 0000000..a9937e2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdaps.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdelta.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdelta.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdelta.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdmo.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdmo.dll new file mode 100644 index 0000000..c51d9af Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdmo.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdrm.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdrm.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msdrm.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msftedit.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msftedit.dll new file mode 100644 index 0000000..e630944 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msftedit.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msg711.acm b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msg711.acm new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msg711.acm differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msgsm32.acm b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msgsm32.acm new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msgsm32.acm differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshta.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshta.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshta.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.dll new file mode 100644 index 0000000..1e17697 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.tlb b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.tlb new file mode 100644 index 0000000..491d43b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mshtml.tlb differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msi.dll new file mode 100644 index 0000000..083f07f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msident.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msident.dll new file mode 100644 index 0000000..5309fa3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msident.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msiexec.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msiexec.exe new file mode 100644 index 0000000..0e6b66d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msiexec.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimg32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimg32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimg32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimsg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimsg.dll new file mode 100644 index 0000000..d190f96 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimsg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimtf.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimtf.dll new file mode 100644 index 0000000..4860a1f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msimtf.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msinfo32.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msinfo32.exe new file mode 100644 index 0000000..ae51dd1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msinfo32.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisip.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisip.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisip.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisys.ocx b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisys.ocx new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msisys.ocx differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msls31.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msls31.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msls31.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msnet32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msnet32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msnet32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mspatcha.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mspatcha.dll new file mode 100644 index 0000000..437e16e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mspatcha.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msports.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msports.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msports.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msrle32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msrle32.dll new file mode 100644 index 0000000..786d27d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msrle32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msscript.ocx b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msscript.ocx new file mode 100644 index 0000000..ee19c41 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msscript.ocx differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssign32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssign32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssign32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssip32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssip32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mssip32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mstask.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mstask.dll new file mode 100644 index 0000000..63da5c8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mstask.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcirt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcirt.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcirt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm80.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm80.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm80.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm90.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm90.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcm90.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp100.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp100.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp100.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp110.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp110.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp110.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120_app.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120_app.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp120_app.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp140.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp140.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp140.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp60.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp60.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp60.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp70.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp70.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp70.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp71.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp71.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp71.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp80.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp80.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp80.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp90.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp90.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcp90.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr100.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr100.dll new file mode 100644 index 0000000..ba9338a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr100.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr110.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr110.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr110.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120_app.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120_app.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr120_app.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr70.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr70.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr70.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr71.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr71.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr71.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr80.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr80.dll new file mode 100644 index 0000000..3b61c2a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr80.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr90.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr90.dll new file mode 100644 index 0000000..91b68e6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcr90.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt.dll new file mode 100644 index 0000000..034d4f6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt20.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt20.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt20.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt40.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt40.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrt40.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrtd.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrtd.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvcrtd.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvfw32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvfw32.dll new file mode 100644 index 0000000..24a22c5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvfw32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvidc32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvidc32.dll new file mode 100644 index 0000000..e33277b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvidc32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvideo.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvideo.dll16 new file mode 100644 index 0000000..b2acf52 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msvideo.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mswsock.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mswsock.dll new file mode 100644 index 0000000..a31f023 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mswsock.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml.dll new file mode 100644 index 0000000..95743c4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml2.dll new file mode 100644 index 0000000..9b8a6f4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml3.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml3.dll new file mode 100644 index 0000000..4eef399 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml3.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml4.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml4.dll new file mode 100644 index 0000000..6fecc54 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml4.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml6.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml6.dll new file mode 100644 index 0000000..c33a047 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/msxml6.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mtxdm.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mtxdm.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/mtxdm.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ncrypt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ncrypt.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ncrypt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/nddeapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/nddeapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/nddeapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ndis.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ndis.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ndis.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/net.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/net.exe new file mode 100644 index 0000000..ec44d87 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/net.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netapi32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netcfgx.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netcfgx.dll new file mode 100644 index 0000000..ef0d088 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netcfgx.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netprofm.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netprofm.dll new file mode 100644 index 0000000..d1a94c0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netprofm.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netsh.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netsh.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netsh.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netstat.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netstat.exe new file mode 100644 index 0000000..3f0b11e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/netstat.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/newdev.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/newdev.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/newdev.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ngen.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ngen.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ngen.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/normaliz.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/normaliz.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/normaliz.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/notepad.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/notepad.exe new file mode 100644 index 0000000..e63c4c3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/notepad.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npmshtml.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npmshtml.dll new file mode 100644 index 0000000..e4470b1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npmshtml.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npptools.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npptools.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/npptools.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdll.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdll.dll new file mode 100644 index 0000000..d2a1530 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdll.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdsapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdsapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntdsapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntoskrnl.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntoskrnl.exe new file mode 100644 index 0000000..b20e707 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntoskrnl.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntprint.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntprint.dll new file mode 100644 index 0000000..e528502 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ntprint.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/objsel.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/objsel.dll new file mode 100644 index 0000000..5792e1f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/objsel.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbc32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbc32.dll new file mode 100644 index 0000000..74ad9af Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbc32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccp32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccp32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccp32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccu32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccu32.dll new file mode 100644 index 0000000..2dc9ad3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/odbccu32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2.dll16 new file mode 100644 index 0000000..58494b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2conv.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2conv.dll16 new file mode 100644 index 0000000..ad6205d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2conv.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2disp.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2disp.dll16 new file mode 100644 index 0000000..02e8988 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2disp.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2nls.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2nls.dll16 new file mode 100644 index 0000000..041240d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2nls.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2prox.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2prox.dll16 new file mode 100644 index 0000000..46b7f3d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2prox.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2thk.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2thk.dll16 new file mode 100644 index 0000000..5dfd8ad Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole2thk.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole32.dll new file mode 100644 index 0000000..101843b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ole32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleacc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleacc.dll new file mode 100644 index 0000000..14a6054 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleacc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleaut32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleaut32.dll new file mode 100644 index 0000000..fb579b9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleaut32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli.dll16 new file mode 100644 index 0000000..d3172d4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olecli32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledb32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledb32.dll new file mode 100644 index 0000000..2073478 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledb32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledlg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledlg.dll new file mode 100644 index 0000000..0b07922 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oledlg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olepro32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olepro32.dll new file mode 100644 index 0000000..2949872 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olepro32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr.dll16 new file mode 100644 index 0000000..9963fa5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olesvr32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olethk32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olethk32.dll new file mode 100644 index 0000000..1039a44 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/olethk32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleview.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleview.exe new file mode 100644 index 0000000..3e31ff1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/oleview.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/openal32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/openal32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/openal32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opencl.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opencl.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opencl.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opengl32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opengl32.dll new file mode 100644 index 0000000..84ee330 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/opengl32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/packager.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/packager.dll new file mode 100644 index 0000000..849d24f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/packager.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pdh.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pdh.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pdh.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/photometadatahandler.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/photometadatahandler.dll new file mode 100644 index 0000000..44ae438 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/photometadatahandler.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pidgen.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pidgen.dll new file mode 100644 index 0000000..59810ad Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pidgen.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ping.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ping.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ping.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/plugplay.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/plugplay.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/plugplay.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powershell.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powershell.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powershell.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powrprof.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powrprof.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/powrprof.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/presentationfontcache.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/presentationfontcache.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/presentationfontcache.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/printui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/printui.dll new file mode 100644 index 0000000..c1459f7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/printui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/prntvpt.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/prntvpt.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/prntvpt.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/progman.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/progman.exe new file mode 100644 index 0000000..a4f2e99 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/progman.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/propsys.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/propsys.dll new file mode 100644 index 0000000..70b8587 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/propsys.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/psapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/psapi.dll new file mode 100644 index 0000000..590e845 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/psapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pstorec.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pstorec.dll new file mode 100644 index 0000000..21ec7b2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/pstorec.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qcap.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qcap.dll new file mode 100644 index 0000000..cc10f59 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qcap.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qedit.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qedit.dll new file mode 100644 index 0000000..ad76c64 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qedit.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgr.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgr.dll new file mode 100644 index 0000000..0d2a817 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgr.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgrprxy.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgrprxy.dll new file mode 100644 index 0000000..672ab07 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/qmgrprxy.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/quartz.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/quartz.dll new file mode 100644 index 0000000..a70bebc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/quartz.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/query.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/query.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/query.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi16.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi16.dll16 new file mode 100644 index 0000000..074e003 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi16.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasdlg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasdlg.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rasdlg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/reg.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/reg.exe new file mode 100644 index 0000000..097857e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/reg.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regasm.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regasm.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regasm.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regedit.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regedit.exe new file mode 100644 index 0000000..ba1fe03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regedit.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvcs.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvcs.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvcs.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvr32.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvr32.exe new file mode 100644 index 0000000..82a5e41 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/regsvr32.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/resutils.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/resutils.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/resutils.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched20.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched20.dll new file mode 100644 index 0000000..6510a20 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched20.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched32.dll new file mode 100644 index 0000000..acca831 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/riched32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcrt4.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcrt4.dll new file mode 100644 index 0000000..5eb49dd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcrt4.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcss.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcss.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rpcss.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsabase.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsabase.dll new file mode 100644 index 0000000..defa930 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsabase.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsaenh.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsaenh.dll new file mode 100644 index 0000000..9e68dd1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rsaenh.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rstrtmgr.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rstrtmgr.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rstrtmgr.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rtutils.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rtutils.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rtutils.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll.exe16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll.exe16 new file mode 100644 index 0000000..33c393e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll.exe16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll32.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll32.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/rundll32.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/samlib.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/samlib.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/samlib.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sane.ds b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sane.ds new file mode 100644 index 0000000..ce18ff9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sane.ds differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sapi.dll new file mode 100644 index 0000000..8ddfec0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sc.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sc.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sc.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scarddlg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scarddlg.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scarddlg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sccbase.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sccbase.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sccbase.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schannel.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schannel.dll new file mode 100644 index 0000000..7777b22 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schannel.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schedsvc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schedsvc.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schedsvc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schtasks.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schtasks.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/schtasks.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrobj.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrobj.dll new file mode 100644 index 0000000..76caa65 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrobj.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrrun.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrrun.dll new file mode 100644 index 0000000..ba54c93 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scrrun.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scsiport.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scsiport.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/scsiport.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sdbinst.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sdbinst.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sdbinst.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secedit.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secedit.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secedit.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secur32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secur32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/secur32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/security.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/security.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/security.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sensapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sensapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sensapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/serialui.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/serialui.dll new file mode 100644 index 0000000..cc75b6b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/serialui.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/servicemodelreg.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/servicemodelreg.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/servicemodelreg.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/services.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/services.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/services.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupapi.dll new file mode 100644 index 0000000..9af7750 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupx.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupx.dll16 new file mode 100644 index 0000000..cd6e825 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/setupx.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc_os.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc_os.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sfc_os.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdoclc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdoclc.dll new file mode 100644 index 0000000..956ab67 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdoclc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdocvw.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdocvw.dll new file mode 100644 index 0000000..e6a6632 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shdocvw.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell.dll16 new file mode 100644 index 0000000..ce30765 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell32.dll new file mode 100644 index 0000000..e4e8a5a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shell32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shfolder.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shfolder.dll new file mode 100644 index 0000000..906274e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shfolder.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shlwapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shlwapi.dll new file mode 100644 index 0000000..55ce1eb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shlwapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shutdown.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shutdown.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/shutdown.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slbcsp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slbcsp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slbcsp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slc.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/slc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/snmpapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/snmpapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/snmpapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/softpub.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/softpub.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/softpub.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sound.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sound.drv16 new file mode 100644 index 0000000..31f573f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sound.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolss.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolss.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolss.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolsv.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolsv.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/spoolsv.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sspicli.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sspicli.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sspicli.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/start.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/start.exe new file mode 100644 index 0000000..1631d35 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/start.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole2.tlb b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole2.tlb new file mode 100644 index 0000000..0ed0527 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole2.tlb differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole32.tlb b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole32.tlb new file mode 100644 index 0000000..8c3e924 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stdole32.tlb differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sti.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sti.dll new file mode 100644 index 0000000..70518cd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sti.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/storage.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/storage.dll16 new file mode 100644 index 0000000..d8ff6b1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/storage.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stress.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stress.dll16 new file mode 100644 index 0000000..7470a67 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/stress.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/subst.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/subst.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/subst.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svchost.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svchost.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svchost.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svrapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svrapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/svrapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sxs.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sxs.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/sxs.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/system.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/system.drv16 new file mode 100644 index 0000000..7ebebeb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/system.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/systeminfo.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/systeminfo.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/systeminfo.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/t2embed.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/t2embed.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/t2embed.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tapi32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskkill.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskkill.exe new file mode 100644 index 0000000..780f519 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskkill.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tasklist.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tasklist.exe new file mode 100644 index 0000000..6ed3f57 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tasklist.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskmgr.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskmgr.exe new file mode 100644 index 0000000..ec20ba2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskmgr.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskschd.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskschd.dll new file mode 100644 index 0000000..3b74326 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/taskschd.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdh.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdh.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdh.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdi.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdi.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/tdi.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/termsv.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/termsv.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/termsv.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/toolhelp.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/toolhelp.dll16 new file mode 100644 index 0000000..69e93a9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/toolhelp.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/traffic.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/traffic.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/traffic.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain.dll16 new file mode 100644 index 0000000..3ecb916 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain_32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain_32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/twain_32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/typelib.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/typelib.dll16 new file mode 100644 index 0000000..9ea360d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/typelib.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ucrtbase.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ucrtbase.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ucrtbase.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiautomationcore.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiautomationcore.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiautomationcore.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiribbon.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiribbon.dll new file mode 100644 index 0000000..a6435ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uiribbon.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unicows.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unicows.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unicows.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uninstaller.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uninstaller.exe new file mode 100644 index 0000000..8f256d8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uninstaller.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unlodctr.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unlodctr.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/unlodctr.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/updspapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/updspapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/updspapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/url.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/url.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/url.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/urlmon.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/urlmon.dll new file mode 100644 index 0000000..cf5bd54 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/urlmon.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usbd.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usbd.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usbd.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user.exe16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user.exe16 new file mode 100644 index 0000000..f6abf2a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user.exe16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user32.dll new file mode 100644 index 0000000..117f9e0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/user32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/userenv.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/userenv.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/userenv.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usp10.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usp10.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/usp10.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uxtheme.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uxtheme.dll new file mode 100644 index 0000000..6b93955 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/uxtheme.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vbscript.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vbscript.dll new file mode 100644 index 0000000..a783399 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vbscript.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp100.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp100.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp100.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp110.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp110.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp110.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp120.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp120.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp120.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp140.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp140.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp140.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp90.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp90.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcomp90.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcruntime140.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcruntime140.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vcruntime140.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdhcp.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdhcp.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdhcp.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdmdbg.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdmdbg.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vdmdbg.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ver.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ver.dll16 new file mode 100644 index 0000000..b2b6ac3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ver.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/version.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/version.dll new file mode 100644 index 0000000..e5345a5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/version.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/view.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/view.exe new file mode 100644 index 0000000..d9c8ab1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/view.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/virtdisk.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/virtdisk.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/virtdisk.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vmm.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vmm.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vmm.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnbt.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnbt.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnbt.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnetbios.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnetbios.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vnetbios.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vssapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vssapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vssapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vtdapi.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vtdapi.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vtdapi.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vwin32.vxd b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vwin32.vxd new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/vwin32.vxd differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32skrnl.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32skrnl.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32skrnl.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32sys.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32sys.dll16 new file mode 100644 index 0000000..2d4fcf2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/w32sys.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemdisp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemdisp.dll new file mode 100644 index 0000000..974a0fc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemdisp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemprox.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemprox.dll new file mode 100644 index 0000000..d0fa9df Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wbemprox.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/webservices.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/webservices.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/webservices.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wer.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wer.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wer.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtutil.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtutil.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wevtutil.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wiaservc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wiaservc.dll new file mode 100644 index 0000000..8bfa203 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wiaservc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wimgapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wimgapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wimgapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win32s16.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win32s16.dll16 new file mode 100644 index 0000000..23b8ef1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win32s16.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win87em.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win87em.dll16 new file mode 100644 index 0000000..230f026 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/win87em.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winaspi.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winaspi.dll16 new file mode 100644 index 0000000..1977f48 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winaspi.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windebug.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windebug.dll16 new file mode 100644 index 0000000..0cfe7f2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windebug.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecs.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecs.dll new file mode 100644 index 0000000..28214ef Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecs.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecsext.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecsext.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/windowscodecsext.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winealsa.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winealsa.drv new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winealsa.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineboot.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineboot.exe new file mode 100644 index 0000000..61e86ca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineboot.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebrowser.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebrowser.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebrowser.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebus.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebus.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winebus.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winecfg.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winecfg.exe new file mode 100644 index 0000000..7eaab98 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winecfg.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineconsole.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineconsole.exe new file mode 100644 index 0000000..df21c74 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineconsole.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wined3d.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wined3d.dll new file mode 100644 index 0000000..97f6a0e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wined3d.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedbg.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedbg.exe new file mode 100644 index 0000000..f7e86e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedbg.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedevice.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedevice.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winedevice.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winefile.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winefile.exe new file mode 100644 index 0000000..d8a72f6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winefile.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winehid.sys b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winehid.sys new file mode 100644 index 0000000..711ad03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winehid.sys differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winejoystick.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winejoystick.drv new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winejoystick.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemine.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemine.exe new file mode 100644 index 0000000..f1d24ca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemine.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemp3.acm b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemp3.acm new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemp3.acm differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemsibuilder.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemsibuilder.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winemsibuilder.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineoss.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineoss.drv new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineoss.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepath.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepath.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepath.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps.drv new file mode 100644 index 0000000..239121f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps16.drv16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps16.drv16 new file mode 100644 index 0000000..2f8460b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wineps16.drv16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepulse.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepulse.drv new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winepulse.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winevdm.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winevdm.exe new file mode 100644 index 0000000..1e08744 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winevdm.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winex11.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winex11.drv new file mode 100644 index 0000000..88a042f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winex11.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing.dll16 new file mode 100644 index 0000000..1dbd77c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wing32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhelp.exe16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhelp.exe16 new file mode 100644 index 0000000..68389c0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhelp.exe16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhlp32.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhlp32.exe new file mode 100644 index 0000000..1676c86 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhlp32.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhttp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhttp.dll new file mode 100644 index 0000000..b2e104f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winhttp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wininet.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wininet.dll new file mode 100644 index 0000000..6bf7708 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wininet.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winmm.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winmm.dll new file mode 100644 index 0000000..da4f292 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winmm.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls.dll16 new file mode 100644 index 0000000..e897ba7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winnls32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winoldap.mod16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winoldap.mod16 new file mode 100644 index 0000000..87f7e36 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winoldap.mod16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winscard.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winscard.dll new file mode 100644 index 0000000..5ba6811 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winscard.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsock.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsock.dll16 new file mode 100644 index 0000000..680ccca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsock.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winspool.drv b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winspool.drv new file mode 100644 index 0000000..a068fb3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winspool.drv differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsta.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsta.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winsta.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab.dll16 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab.dll16 new file mode 100644 index 0000000..6cf88e7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab.dll16 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintab32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintrust.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintrust.dll new file mode 100644 index 0000000..9e3321a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wintrust.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winusb.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winusb.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winusb.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winver.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winver.exe new file mode 100644 index 0000000..8181753 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/winver.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wlanapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wlanapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wlanapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wldap32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wldap32.dll new file mode 100644 index 0000000..75a2150 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wldap32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmasf.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmasf.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmasf.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmic.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmic.exe new file mode 100644 index 0000000..a46cc7f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmic.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmiutils.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmiutils.dll new file mode 100644 index 0000000..d518392 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmiutils.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmp.dll new file mode 100644 index 0000000..0fdd95e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmphoto.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmphoto.dll new file mode 100644 index 0000000..6c9731b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmphoto.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmplayer.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmplayer.exe new file mode 100644 index 0000000..bc7a225 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmplayer.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmvcore.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmvcore.dll new file mode 100644 index 0000000..97d2c23 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wmvcore.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wnaspi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wnaspi32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wnaspi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wordpad.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wordpad.exe new file mode 100644 index 0000000..78582b7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wordpad.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wow32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wow32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wow32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpc.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpc.dll new file mode 100644 index 0000000..a1e43a1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpc.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpcap.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpcap.dll new file mode 100644 index 0000000..fd7c678 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wpcap.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/write.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/write.exe new file mode 100644 index 0000000..2de00e2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/write.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ws2_32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ws2_32.dll new file mode 100644 index 0000000..3869129 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/ws2_32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wscript.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wscript.exe new file mode 100644 index 0000000..a0fdcd1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wscript.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsdapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsdapi.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsdapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wshom.ocx b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wshom.ocx new file mode 100644 index 0000000..64f41c9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wshom.ocx differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsnmp32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsnmp32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsnmp32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsock32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsock32.dll new file mode 100644 index 0000000..781107a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wsock32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wtsapi32.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wtsapi32.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wtsapi32.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuapi.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuapi.dll new file mode 100644 index 0000000..e2b65ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuapi.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuaueng.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuaueng.dll new file mode 100644 index 0000000..6e3267a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wuaueng.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wusa.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wusa.exe new file mode 100644 index 0000000..4e6608f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/wusa.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_0.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_1.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_3.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_3.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_3.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_4.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_4.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_4.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_5.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_5.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_5.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_6.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_6.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_6.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_7.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_7.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/x3daudio1_7.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_1.dll new file mode 100644 index 0000000..c51a798 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_2.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_3.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_3.dll new file mode 100644 index 0000000..86edaff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_3.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_4.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_4.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_4.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_5.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_5.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xapofx1_5.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_0.dll new file mode 100644 index 0000000..11db6ae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_1.dll new file mode 100644 index 0000000..8b13c91 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_2.dll new file mode 100644 index 0000000..3885ef9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_3.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_3.dll new file mode 100644 index 0000000..e5f5bb6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_3.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_4.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_4.dll new file mode 100644 index 0000000..1bd28ba Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_4.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_5.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_5.dll new file mode 100644 index 0000000..e5f18b3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_5.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_6.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_6.dll new file mode 100644 index 0000000..343afc4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_6.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_7.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_7.dll new file mode 100644 index 0000000..cffc93a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_7.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_8.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_8.dll new file mode 100644 index 0000000..af61466 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_8.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_9.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_9.dll new file mode 100644 index 0000000..af61466 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xaudio2_9.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xcopy.exe b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xcopy.exe new file mode 100644 index 0000000..b7da557 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xcopy.exe differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_1.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_1.dll new file mode 100644 index 0000000..7958dab Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_1.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_2.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_2.dll new file mode 100644 index 0000000..974e1e8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_2.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_3.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_3.dll new file mode 100644 index 0000000..f5c34eb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_3.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_4.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_4.dll new file mode 100644 index 0000000..637c81e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput1_4.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput9_1_0.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput9_1_0.dll new file mode 100644 index 0000000..142f051 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xinput9_1_0.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xmllite.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xmllite.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xmllite.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xolehlp.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xolehlp.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xolehlp.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpsprint.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpsprint.dll new file mode 100644 index 0000000..9a07c4a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpsprint.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpssvcs.dll b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpssvcs.dll new file mode 100644 index 0000000..df540e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fakedlls/xpssvcs.dll differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/faultrep.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/faultrep.dll.so new file mode 100644 index 0000000..2f20d4f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/faultrep.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/findstr.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/findstr.exe.so new file mode 100644 index 0000000..20adc5e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/findstr.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fltlib.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fltlib.dll.so new file mode 100644 index 0000000..d56afbe Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fltlib.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fltmgr.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fltmgr.sys.so new file mode 100644 index 0000000..c4e3e55 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fltmgr.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fntcache.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fntcache.dll.so new file mode 100644 index 0000000..d838249 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fntcache.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fontsub.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fontsub.dll.so new file mode 100644 index 0000000..512a9ab Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fontsub.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fsutil.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fsutil.exe.so new file mode 100644 index 0000000..cf99705 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fsutil.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fusion.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fusion.dll.so new file mode 100644 index 0000000..d79b23b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fusion.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fwpuclnt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fwpuclnt.dll.so new file mode 100644 index 0000000..e58541b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/fwpuclnt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gameux.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gameux.dll.so new file mode 100644 index 0000000..ebde0c0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gameux.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdi.exe16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdi.exe16.so new file mode 100644 index 0000000..f722233 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdi.exe16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdi32.dll.so new file mode 100644 index 0000000..ce11995 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdiplus.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdiplus.dll.so new file mode 100644 index 0000000..fc51bda Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gdiplus.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/glu32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/glu32.dll.so new file mode 100644 index 0000000..6085097 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/glu32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gphoto2.ds.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gphoto2.ds.so new file mode 100644 index 0000000..5ec61b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gphoto2.ds.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gpkcsp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gpkcsp.dll.so new file mode 100644 index 0000000..7be9d75 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/gpkcsp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hal.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hal.dll.so new file mode 100644 index 0000000..041e5d9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hal.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hh.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hh.exe.so new file mode 100644 index 0000000..659cd81 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hh.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hhctrl.ocx.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hhctrl.ocx.so new file mode 100644 index 0000000..58907b1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hhctrl.ocx.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hid.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hid.dll.so new file mode 100644 index 0000000..f182b4f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hid.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hidclass.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hidclass.sys.so new file mode 100644 index 0000000..b807e03 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hidclass.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hidusb.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hidusb.sys.so new file mode 100644 index 0000000..2651ecf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hidusb.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hlink.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hlink.dll.so new file mode 100644 index 0000000..b52995d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hlink.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hnetcfg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hnetcfg.dll.so new file mode 100644 index 0000000..44f1198 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hnetcfg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hostname.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hostname.exe.so new file mode 100644 index 0000000..b1c01a2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/hostname.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/httpapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/httpapi.dll.so new file mode 100644 index 0000000..ab9c871 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/httpapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icacls.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icacls.exe.so new file mode 100644 index 0000000..39237c0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icacls.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iccvid.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iccvid.dll.so new file mode 100644 index 0000000..b647fb5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iccvid.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icinfo.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icinfo.exe.so new file mode 100644 index 0000000..688ef9d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icinfo.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icmp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icmp.dll.so new file mode 100644 index 0000000..4afc256 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/icmp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ieframe.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ieframe.dll.so new file mode 100644 index 0000000..1d54f2b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ieframe.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ieproxy.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ieproxy.dll.so new file mode 100644 index 0000000..13ac544 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ieproxy.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iexplore.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iexplore.exe.so new file mode 100644 index 0000000..e62c2a2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iexplore.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ifsmgr.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ifsmgr.vxd.so new file mode 100644 index 0000000..70e8111 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ifsmgr.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imaadp32.acm.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imaadp32.acm.so new file mode 100644 index 0000000..83dd5eb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imaadp32.acm.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imagehlp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imagehlp.dll.so new file mode 100644 index 0000000..a8c3b0e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imagehlp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imm.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imm.dll16.so new file mode 100644 index 0000000..0400079 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imm.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imm32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imm32.dll.so new file mode 100644 index 0000000..093c793 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/imm32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetcomm.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetcomm.dll.so new file mode 100644 index 0000000..0729e7b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetcomm.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetcpl.cpl.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetcpl.cpl.so new file mode 100644 index 0000000..b4e7a3b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetcpl.cpl.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetmib1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetmib1.dll.so new file mode 100644 index 0000000..c3dc212 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inetmib1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/infosoft.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/infosoft.dll.so new file mode 100644 index 0000000..9d62b31 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/infosoft.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/initpki.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/initpki.dll.so new file mode 100644 index 0000000..d064b18 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/initpki.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inkobj.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inkobj.dll.so new file mode 100644 index 0000000..4ec628b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inkobj.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inseng.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inseng.dll.so new file mode 100644 index 0000000..b50dfa3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/inseng.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ipconfig.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ipconfig.exe.so new file mode 100644 index 0000000..17fd775 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ipconfig.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iphlpapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iphlpapi.dll.so new file mode 100644 index 0000000..5a5bfe8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iphlpapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iprop.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iprop.dll.so new file mode 100644 index 0000000..bf3aee6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/iprop.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/irprops.cpl.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/irprops.cpl.so new file mode 100644 index 0000000..9c32513 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/irprops.cpl.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/itircl.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/itircl.dll.so new file mode 100644 index 0000000..ec02e31 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/itircl.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/itss.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/itss.dll.so new file mode 100644 index 0000000..d6e0688 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/itss.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/joy.cpl.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/joy.cpl.so new file mode 100644 index 0000000..86a4728 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/joy.cpl.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/jscript.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/jscript.dll.so new file mode 100644 index 0000000..9d79aac Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/jscript.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/jsproxy.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/jsproxy.dll.so new file mode 100644 index 0000000..406946e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/jsproxy.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/kernel32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/kernel32.dll.so new file mode 100644 index 0000000..9738754 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/kernel32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/kernelbase.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/kernelbase.dll.so new file mode 100644 index 0000000..53d9531 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/kernelbase.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/keyboard.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/keyboard.drv16.so new file mode 100644 index 0000000..361c13d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/keyboard.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/krnl386.exe16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/krnl386.exe16.so new file mode 100644 index 0000000..e196a1c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/krnl386.exe16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ksuser.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ksuser.dll.so new file mode 100644 index 0000000..7d9816e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ksuser.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ktmw32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ktmw32.dll.so new file mode 100644 index 0000000..432cea9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ktmw32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1 new file mode 120000 index 0000000..82570df --- /dev/null +++ b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1 @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1.0 \ No newline at end of file diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1.0 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1.0 new file mode 100644 index 0000000..782c8a9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1.0 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.2.0 b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.2.0 new file mode 100644 index 0000000..7050652 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/libwine.so.2.0 differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/loadperf.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/loadperf.dll.so new file mode 100644 index 0000000..c509ba2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/loadperf.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/localspl.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/localspl.dll.so new file mode 100644 index 0000000..019d3ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/localspl.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/localui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/localui.dll.so new file mode 100644 index 0000000..e56633b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/localui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lodctr.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lodctr.exe.so new file mode 100644 index 0000000..3cb7903 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lodctr.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lz32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lz32.dll.so new file mode 100644 index 0000000..ec883d2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lz32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lzexpand.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lzexpand.dll16.so new file mode 100644 index 0000000..d02a1b3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/lzexpand.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mapi32.dll.so new file mode 100644 index 0000000..129d98f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mapistub.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mapistub.dll.so new file mode 100644 index 0000000..406823d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mapistub.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciavi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciavi32.dll.so new file mode 100644 index 0000000..70247fa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciavi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mcicda.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mcicda.dll.so new file mode 100644 index 0000000..3abae78 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mcicda.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciqtz32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciqtz32.dll.so new file mode 100644 index 0000000..f42cb80 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciqtz32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciseq.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciseq.dll.so new file mode 100644 index 0000000..f75e1cc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciseq.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciwave.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciwave.dll.so new file mode 100644 index 0000000..bea4f80 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mciwave.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mf.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mf.dll.so new file mode 100644 index 0000000..39de7d3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mf.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mf3216.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mf3216.dll.so new file mode 100644 index 0000000..ae15d08 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mf3216.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mfplat.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mfplat.dll.so new file mode 100644 index 0000000..52bb0a9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mfplat.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mfreadwrite.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mfreadwrite.dll.so new file mode 100644 index 0000000..340e3b4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mfreadwrite.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mgmtapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mgmtapi.dll.so new file mode 100644 index 0000000..70fe56e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mgmtapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/midimap.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/midimap.dll.so new file mode 100644 index 0000000..ebd62f7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/midimap.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mlang.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mlang.dll.so new file mode 100644 index 0000000..fcf8b57 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mlang.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmcndmgr.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmcndmgr.dll.so new file mode 100644 index 0000000..587a3c6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmcndmgr.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmdevapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmdevapi.dll.so new file mode 100644 index 0000000..d42f820 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmdevapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmdevldr.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmdevldr.vxd.so new file mode 100644 index 0000000..5ec04b2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmdevldr.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmsystem.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmsystem.dll16.so new file mode 100644 index 0000000..c166660 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mmsystem.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mofcomp.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mofcomp.exe.so new file mode 100644 index 0000000..4ced08f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mofcomp.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/monodebg.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/monodebg.vxd.so new file mode 100644 index 0000000..d858b3a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/monodebg.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mountmgr.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mountmgr.sys.so new file mode 100644 index 0000000..e6060b9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mountmgr.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mouse.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mouse.drv16.so new file mode 100644 index 0000000..89398a0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mouse.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mpr.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mpr.dll.so new file mode 100644 index 0000000..500eb75 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mpr.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mprapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mprapi.dll.so new file mode 100644 index 0000000..8af9f48 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mprapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm.dll16.so new file mode 100644 index 0000000..cd183d0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm32.dll.so new file mode 100644 index 0000000..16ce8e4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm32.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm32.drv.so new file mode 100644 index 0000000..a9249ba Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msacm32.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msadp32.acm.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msadp32.acm.so new file mode 100644 index 0000000..6ec4cf5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msadp32.acm.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msasn1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msasn1.dll.so new file mode 100644 index 0000000..51bd43b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msasn1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscat32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscat32.dll.so new file mode 100644 index 0000000..a7fef12 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscat32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscms.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscms.dll.so new file mode 100644 index 0000000..151eae9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscms.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscoree.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscoree.dll.so new file mode 100644 index 0000000..a3f192b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mscoree.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msctf.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msctf.dll.so new file mode 100644 index 0000000..5443997 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msctf.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msctfp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msctfp.dll.so new file mode 100644 index 0000000..3f95fc9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msctfp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdaps.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdaps.dll.so new file mode 100644 index 0000000..fb795d3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdaps.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdelta.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdelta.dll.so new file mode 100644 index 0000000..b8a7a51 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdelta.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdmo.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdmo.dll.so new file mode 100644 index 0000000..8dffbac Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdmo.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdrm.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdrm.dll.so new file mode 100644 index 0000000..41af9c5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msdrm.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msftedit.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msftedit.dll.so new file mode 100644 index 0000000..d4fcce7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msftedit.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msg711.acm.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msg711.acm.so new file mode 100644 index 0000000..86ac71c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msg711.acm.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msgsm32.acm.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msgsm32.acm.so new file mode 100644 index 0000000..cbd99ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msgsm32.acm.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshta.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshta.exe.so new file mode 100644 index 0000000..881883a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshta.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshtml.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshtml.dll.so new file mode 100644 index 0000000..198e6aa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshtml.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshtml.tlb.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshtml.tlb.so new file mode 100644 index 0000000..5ade88d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mshtml.tlb.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msi.dll.so new file mode 100644 index 0000000..5b0493b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msident.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msident.dll.so new file mode 100644 index 0000000..dfdf721 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msident.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msiexec.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msiexec.exe.so new file mode 100644 index 0000000..34cbfaa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msiexec.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimg32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimg32.dll.so new file mode 100644 index 0000000..9489758 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimg32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimsg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimsg.dll.so new file mode 100644 index 0000000..2289cf0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimsg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimtf.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimtf.dll.so new file mode 100644 index 0000000..7a5675c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msimtf.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msinfo32.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msinfo32.exe.so new file mode 100644 index 0000000..1e117e1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msinfo32.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msisip.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msisip.dll.so new file mode 100644 index 0000000..ee9ec07 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msisip.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msisys.ocx.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msisys.ocx.so new file mode 100644 index 0000000..df34803 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msisys.ocx.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msls31.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msls31.dll.so new file mode 100644 index 0000000..8fa312b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msls31.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msnet32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msnet32.dll.so new file mode 100644 index 0000000..f6968ad Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msnet32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mspatcha.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mspatcha.dll.so new file mode 100644 index 0000000..e4bbe85 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mspatcha.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msports.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msports.dll.so new file mode 100644 index 0000000..c760bff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msports.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msrle32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msrle32.dll.so new file mode 100644 index 0000000..eac6f35 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msrle32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msscript.ocx.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msscript.ocx.so new file mode 100644 index 0000000..c486c04 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msscript.ocx.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mssign32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mssign32.dll.so new file mode 100644 index 0000000..961f268 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mssign32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mssip32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mssip32.dll.so new file mode 100644 index 0000000..db99909 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mssip32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mstask.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mstask.dll.so new file mode 100644 index 0000000..289e48c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mstask.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcirt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcirt.dll.so new file mode 100644 index 0000000..3ac7fe9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcirt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcm80.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcm80.dll.so new file mode 100644 index 0000000..95919c7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcm80.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcm90.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcm90.dll.so new file mode 100644 index 0000000..26dd85e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcm90.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp100.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp100.dll.so new file mode 100644 index 0000000..256c48e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp100.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp110.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp110.dll.so new file mode 100644 index 0000000..fed242d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp110.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp120.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp120.dll.so new file mode 100644 index 0000000..82f71d6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp120.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp120_app.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp120_app.dll.so new file mode 100644 index 0000000..b2fc461 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp120_app.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp140.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp140.dll.so new file mode 100644 index 0000000..4e79f7c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp140.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp60.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp60.dll.so new file mode 100644 index 0000000..0c87e19 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp60.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp70.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp70.dll.so new file mode 100644 index 0000000..3ebfb0e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp70.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp71.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp71.dll.so new file mode 100644 index 0000000..4c39eb3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp71.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp80.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp80.dll.so new file mode 100644 index 0000000..4ae9d1f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp80.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp90.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp90.dll.so new file mode 100644 index 0000000..b5a2f8d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcp90.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr100.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr100.dll.so new file mode 100644 index 0000000..f1ee758 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr100.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr110.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr110.dll.so new file mode 100644 index 0000000..4450fd8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr110.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr120.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr120.dll.so new file mode 100644 index 0000000..05712be Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr120.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr120_app.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr120_app.dll.so new file mode 100644 index 0000000..bcbbbe3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr120_app.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr70.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr70.dll.so new file mode 100644 index 0000000..27b777a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr70.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr71.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr71.dll.so new file mode 100644 index 0000000..8edc0ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr71.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr80.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr80.dll.so new file mode 100644 index 0000000..b657cf8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr80.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr90.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr90.dll.so new file mode 100644 index 0000000..8994886 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcr90.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt.dll.so new file mode 100644 index 0000000..08b0fd5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt20.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt20.dll.so new file mode 100644 index 0000000..7dc0363 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt20.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt40.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt40.dll.so new file mode 100644 index 0000000..6036cd1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrt40.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrtd.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrtd.dll.so new file mode 100644 index 0000000..aa7f836 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvcrtd.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvfw32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvfw32.dll.so new file mode 100644 index 0000000..7e57c0d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvfw32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvidc32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvidc32.dll.so new file mode 100644 index 0000000..ca24557 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvidc32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvideo.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvideo.dll16.so new file mode 100644 index 0000000..39344ab Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msvideo.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mswsock.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mswsock.dll.so new file mode 100644 index 0000000..5ca8d2e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mswsock.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml.dll.so new file mode 100644 index 0000000..bfc7a05 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml2.dll.so new file mode 100644 index 0000000..84eb7bb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml3.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml3.dll.so new file mode 100644 index 0000000..4d5d605 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml3.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml4.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml4.dll.so new file mode 100644 index 0000000..698edc0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml4.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml6.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml6.dll.so new file mode 100644 index 0000000..f204973 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/msxml6.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mtxdm.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mtxdm.dll.so new file mode 100644 index 0000000..b231b24 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/mtxdm.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ncrypt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ncrypt.dll.so new file mode 100644 index 0000000..b114020 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ncrypt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/nddeapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/nddeapi.dll.so new file mode 100644 index 0000000..1690f28 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/nddeapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ndis.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ndis.sys.so new file mode 100644 index 0000000..be2466b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ndis.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/net.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/net.exe.so new file mode 100644 index 0000000..33ab915 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/net.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netapi32.dll.so new file mode 100644 index 0000000..581783e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netcfgx.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netcfgx.dll.so new file mode 100644 index 0000000..3841044 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netcfgx.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netprofm.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netprofm.dll.so new file mode 100644 index 0000000..d06ff90 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netprofm.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netsh.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netsh.exe.so new file mode 100644 index 0000000..1d80674 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netsh.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netstat.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netstat.exe.so new file mode 100644 index 0000000..fa7c5de Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/netstat.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/newdev.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/newdev.dll.so new file mode 100644 index 0000000..0c74b14 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/newdev.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ngen.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ngen.exe.so new file mode 100644 index 0000000..0e5a668 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ngen.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/normaliz.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/normaliz.dll.so new file mode 100644 index 0000000..a87fc46 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/normaliz.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/notepad.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/notepad.exe.so new file mode 100644 index 0000000..9a138ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/notepad.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/npmshtml.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/npmshtml.dll.so new file mode 100644 index 0000000..fb59e68 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/npmshtml.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/npptools.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/npptools.dll.so new file mode 100644 index 0000000..028d795 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/npptools.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntdll.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntdll.dll.so new file mode 100644 index 0000000..acb678e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntdll.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntdsapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntdsapi.dll.so new file mode 100644 index 0000000..d88c72c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntdsapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntoskrnl.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntoskrnl.exe.so new file mode 100644 index 0000000..7fff918 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntoskrnl.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntprint.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntprint.dll.so new file mode 100644 index 0000000..1e9abc8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ntprint.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/objsel.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/objsel.dll.so new file mode 100644 index 0000000..f2acb5c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/objsel.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbc32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbc32.dll.so new file mode 100644 index 0000000..7a3ae4d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbc32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbccp32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbccp32.dll.so new file mode 100644 index 0000000..f32af3e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbccp32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbccu32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbccu32.dll.so new file mode 100644 index 0000000..3f4ccac Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/odbccu32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2.dll16.so new file mode 100644 index 0000000..9bbc219 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2conv.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2conv.dll16.so new file mode 100644 index 0000000..659e3cc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2conv.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2disp.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2disp.dll16.so new file mode 100644 index 0000000..d125fa3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2disp.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2nls.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2nls.dll16.so new file mode 100644 index 0000000..3f73dae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2nls.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2prox.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2prox.dll16.so new file mode 100644 index 0000000..78c75f0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2prox.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2thk.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2thk.dll16.so new file mode 100644 index 0000000..7504fcb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole2thk.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole32.dll.so new file mode 100644 index 0000000..21415f7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ole32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleacc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleacc.dll.so new file mode 100644 index 0000000..4a91c21 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleacc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleaut32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleaut32.dll.so new file mode 100644 index 0000000..caca5cb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleaut32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olecli.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olecli.dll16.so new file mode 100644 index 0000000..49ae452 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olecli.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olecli32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olecli32.dll.so new file mode 100644 index 0000000..544f13e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olecli32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oledb32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oledb32.dll.so new file mode 100644 index 0000000..8c5cdc0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oledb32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oledlg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oledlg.dll.so new file mode 100644 index 0000000..8c93fd9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oledlg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olepro32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olepro32.dll.so new file mode 100644 index 0000000..673976f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olepro32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olesvr.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olesvr.dll16.so new file mode 100644 index 0000000..8f9f898 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olesvr.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olesvr32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olesvr32.dll.so new file mode 100644 index 0000000..f17bb0f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olesvr32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olethk32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olethk32.dll.so new file mode 100644 index 0000000..2c61e92 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/olethk32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleview.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleview.exe.so new file mode 100644 index 0000000..96d5a30 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/oleview.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/openal32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/openal32.dll.so new file mode 100644 index 0000000..257fd1c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/openal32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/opencl.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/opencl.dll.so new file mode 100644 index 0000000..d901c0a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/opencl.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/opengl32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/opengl32.dll.so new file mode 100644 index 0000000..3e0d2b5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/opengl32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/packager.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/packager.dll.so new file mode 100644 index 0000000..38eeda1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/packager.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pdh.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pdh.dll.so new file mode 100644 index 0000000..d42e9f7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pdh.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/photometadatahandler.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/photometadatahandler.dll.so new file mode 100644 index 0000000..1d67611 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/photometadatahandler.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pidgen.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pidgen.dll.so new file mode 100644 index 0000000..27bb458 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pidgen.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ping.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ping.exe.so new file mode 100644 index 0000000..b994e64 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ping.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/plugplay.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/plugplay.exe.so new file mode 100644 index 0000000..7468ba7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/plugplay.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/powershell.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/powershell.exe.so new file mode 100644 index 0000000..6a07dee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/powershell.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/powrprof.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/powrprof.dll.so new file mode 100644 index 0000000..edaace2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/powrprof.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/presentationfontcache.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/presentationfontcache.exe.so new file mode 100644 index 0000000..ded0010 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/presentationfontcache.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/printui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/printui.dll.so new file mode 100644 index 0000000..70e11cb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/printui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/prntvpt.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/prntvpt.dll.so new file mode 100644 index 0000000..0fc3cbf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/prntvpt.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/progman.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/progman.exe.so new file mode 100644 index 0000000..3c1ee56 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/progman.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/propsys.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/propsys.dll.so new file mode 100644 index 0000000..0879662 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/propsys.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/psapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/psapi.dll.so new file mode 100644 index 0000000..50cf10e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/psapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pstorec.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pstorec.dll.so new file mode 100644 index 0000000..2d1659d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/pstorec.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qcap.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qcap.dll.so new file mode 100644 index 0000000..5a711dc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qcap.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qedit.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qedit.dll.so new file mode 100644 index 0000000..30eacad Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qedit.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qmgr.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qmgr.dll.so new file mode 100644 index 0000000..0677045 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qmgr.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qmgrprxy.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qmgrprxy.dll.so new file mode 100644 index 0000000..0cb9eb7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/qmgrprxy.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/quartz.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/quartz.dll.so new file mode 100644 index 0000000..ec95bbc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/quartz.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/query.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/query.dll.so new file mode 100644 index 0000000..525cdc8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/query.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasapi16.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasapi16.dll16.so new file mode 100644 index 0000000..024e254 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasapi16.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasapi32.dll.so new file mode 100644 index 0000000..a76fbd2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasdlg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasdlg.dll.so new file mode 100644 index 0000000..87a481d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rasdlg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/reg.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/reg.exe.so new file mode 100644 index 0000000..3f2de26 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/reg.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regapi.dll.so new file mode 100644 index 0000000..a47f715 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regasm.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regasm.exe.so new file mode 100644 index 0000000..96768d0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regasm.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regedit.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regedit.exe.so new file mode 100644 index 0000000..3117b5b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regedit.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regsvcs.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regsvcs.exe.so new file mode 100644 index 0000000..1327067 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regsvcs.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regsvr32.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regsvr32.exe.so new file mode 100644 index 0000000..53b241b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/regsvr32.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/resutils.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/resutils.dll.so new file mode 100644 index 0000000..3de31b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/resutils.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/riched20.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/riched20.dll.so new file mode 100644 index 0000000..8c787ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/riched20.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/riched32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/riched32.dll.so new file mode 100644 index 0000000..3722931 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/riched32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rpcrt4.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rpcrt4.dll.so new file mode 100644 index 0000000..4a49002 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rpcrt4.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rpcss.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rpcss.exe.so new file mode 100644 index 0000000..858680e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rpcss.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rsabase.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rsabase.dll.so new file mode 100644 index 0000000..47689e6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rsabase.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rsaenh.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rsaenh.dll.so new file mode 100644 index 0000000..24ba8d6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rsaenh.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rstrtmgr.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rstrtmgr.dll.so new file mode 100644 index 0000000..d155fde Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rstrtmgr.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rtutils.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rtutils.dll.so new file mode 100644 index 0000000..95a1aae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rtutils.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rundll.exe16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rundll.exe16.so new file mode 100644 index 0000000..5e384d9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rundll.exe16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rundll32.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rundll32.exe.so new file mode 100644 index 0000000..85646aa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/rundll32.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/samlib.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/samlib.dll.so new file mode 100644 index 0000000..3bb255c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/samlib.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sane.ds.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sane.ds.so new file mode 100644 index 0000000..338ce55 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sane.ds.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sapi.dll.so new file mode 100644 index 0000000..df90a89 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sc.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sc.exe.so new file mode 100644 index 0000000..3dd0ee9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sc.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scarddlg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scarddlg.dll.so new file mode 100644 index 0000000..818a6ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scarddlg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sccbase.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sccbase.dll.so new file mode 100644 index 0000000..3299217 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sccbase.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schannel.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schannel.dll.so new file mode 100644 index 0000000..3381ada Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schannel.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schedsvc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schedsvc.dll.so new file mode 100644 index 0000000..5971017 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schedsvc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schtasks.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schtasks.exe.so new file mode 100644 index 0000000..7d55004 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/schtasks.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scrobj.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scrobj.dll.so new file mode 100644 index 0000000..238d4ca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scrobj.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scrrun.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scrrun.dll.so new file mode 100644 index 0000000..417478f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scrrun.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scsiport.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scsiport.sys.so new file mode 100644 index 0000000..017e3a0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/scsiport.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sdbinst.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sdbinst.exe.so new file mode 100644 index 0000000..6632452 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sdbinst.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/secedit.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/secedit.exe.so new file mode 100644 index 0000000..89ad340 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/secedit.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/secur32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/secur32.dll.so new file mode 100644 index 0000000..7746e28 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/secur32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/security.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/security.dll.so new file mode 100644 index 0000000..4acd145 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/security.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sensapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sensapi.dll.so new file mode 100644 index 0000000..9f619c5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sensapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/serialui.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/serialui.dll.so new file mode 100644 index 0000000..5c4eba8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/serialui.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/servicemodelreg.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/servicemodelreg.exe.so new file mode 100644 index 0000000..f05155c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/servicemodelreg.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/services.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/services.exe.so new file mode 100644 index 0000000..a9e043b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/services.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/setupapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/setupapi.dll.so new file mode 100644 index 0000000..bca61de Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/setupapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/setupx.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/setupx.dll16.so new file mode 100644 index 0000000..c2b42cb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/setupx.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sfc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sfc.dll.so new file mode 100644 index 0000000..bfb9e3c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sfc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sfc_os.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sfc_os.dll.so new file mode 100644 index 0000000..18563ad Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sfc_os.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shdoclc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shdoclc.dll.so new file mode 100644 index 0000000..6887fae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shdoclc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shdocvw.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shdocvw.dll.so new file mode 100644 index 0000000..dbe57fa Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shdocvw.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shell.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shell.dll16.so new file mode 100644 index 0000000..69b3961 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shell.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shell32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shell32.dll.so new file mode 100644 index 0000000..28596c5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shell32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shfolder.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shfolder.dll.so new file mode 100644 index 0000000..e394ba5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shfolder.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shlwapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shlwapi.dll.so new file mode 100644 index 0000000..6afd64b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shlwapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shutdown.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shutdown.exe.so new file mode 100644 index 0000000..c8b2d7d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/shutdown.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/slbcsp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/slbcsp.dll.so new file mode 100644 index 0000000..4da0e24 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/slbcsp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/slc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/slc.dll.so new file mode 100644 index 0000000..15e6c26 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/slc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/snmpapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/snmpapi.dll.so new file mode 100644 index 0000000..530d401 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/snmpapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/softpub.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/softpub.dll.so new file mode 100644 index 0000000..3a76566 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/softpub.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sound.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sound.drv16.so new file mode 100644 index 0000000..7233c23 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sound.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/spoolss.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/spoolss.dll.so new file mode 100644 index 0000000..4fae991 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/spoolss.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/spoolsv.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/spoolsv.exe.so new file mode 100644 index 0000000..485e228 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/spoolsv.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sspicli.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sspicli.dll.so new file mode 100644 index 0000000..4a0c807 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sspicli.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/start.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/start.exe.so new file mode 100644 index 0000000..69af9e2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/start.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stdole2.tlb.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stdole2.tlb.so new file mode 100644 index 0000000..94bfaa1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stdole2.tlb.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stdole32.tlb.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stdole32.tlb.so new file mode 100644 index 0000000..caf64d6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stdole32.tlb.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sti.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sti.dll.so new file mode 100644 index 0000000..b0fcf3a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sti.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/storage.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/storage.dll16.so new file mode 100644 index 0000000..c720eac Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/storage.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stress.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stress.dll16.so new file mode 100644 index 0000000..966156e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/stress.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/subst.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/subst.exe.so new file mode 100644 index 0000000..2f4e7a4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/subst.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/svchost.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/svchost.exe.so new file mode 100644 index 0000000..7cbff43 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/svchost.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/svrapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/svrapi.dll.so new file mode 100644 index 0000000..5f88a62 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/svrapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sxs.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sxs.dll.so new file mode 100644 index 0000000..2286ca0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/sxs.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/system.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/system.drv16.so new file mode 100644 index 0000000..5bc7951 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/system.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/systeminfo.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/systeminfo.exe.so new file mode 100644 index 0000000..915522f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/systeminfo.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/t2embed.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/t2embed.dll.so new file mode 100644 index 0000000..3e1daff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/t2embed.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tapi32.dll.so new file mode 100644 index 0000000..8bf8fb0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskkill.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskkill.exe.so new file mode 100644 index 0000000..fa1726c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskkill.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tasklist.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tasklist.exe.so new file mode 100644 index 0000000..3a4b925 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tasklist.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskmgr.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskmgr.exe.so new file mode 100644 index 0000000..89dfdeb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskmgr.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskschd.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskschd.dll.so new file mode 100644 index 0000000..37c534a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/taskschd.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tdh.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tdh.dll.so new file mode 100644 index 0000000..4ad6b97 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tdh.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tdi.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tdi.sys.so new file mode 100644 index 0000000..7495668 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/tdi.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/termsv.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/termsv.exe.so new file mode 100644 index 0000000..6211496 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/termsv.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/toolhelp.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/toolhelp.dll16.so new file mode 100644 index 0000000..3208630 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/toolhelp.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/traffic.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/traffic.dll.so new file mode 100644 index 0000000..8968500 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/traffic.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/twain.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/twain.dll16.so new file mode 100644 index 0000000..83e07e5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/twain.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/twain_32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/twain_32.dll.so new file mode 100644 index 0000000..b895fb0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/twain_32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/typelib.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/typelib.dll16.so new file mode 100644 index 0000000..33f0b2b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/typelib.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ucrtbase.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ucrtbase.dll.so new file mode 100644 index 0000000..6504278 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ucrtbase.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uiautomationcore.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uiautomationcore.dll.so new file mode 100644 index 0000000..431b136 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uiautomationcore.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uiribbon.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uiribbon.dll.so new file mode 100644 index 0000000..8121b7c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uiribbon.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/unicows.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/unicows.dll.so new file mode 100644 index 0000000..7fd63ba Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/unicows.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uninstaller.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uninstaller.exe.so new file mode 100644 index 0000000..2f1daa9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uninstaller.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/unlodctr.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/unlodctr.exe.so new file mode 100644 index 0000000..15bb3ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/unlodctr.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/updspapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/updspapi.dll.so new file mode 100644 index 0000000..dbf2fa9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/updspapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/url.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/url.dll.so new file mode 100644 index 0000000..1c46e21 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/url.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/urlmon.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/urlmon.dll.so new file mode 100644 index 0000000..3b6a925 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/urlmon.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/usbd.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/usbd.sys.so new file mode 100644 index 0000000..949bfd4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/usbd.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/user.exe16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/user.exe16.so new file mode 100644 index 0000000..7e973b9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/user.exe16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/user32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/user32.dll.so new file mode 100644 index 0000000..a175b02 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/user32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/userenv.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/userenv.dll.so new file mode 100644 index 0000000..f74250c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/userenv.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/usp10.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/usp10.dll.so new file mode 100644 index 0000000..b4522cc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/usp10.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uxtheme.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uxtheme.dll.so new file mode 100644 index 0000000..b1dfb50 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/uxtheme.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vbscript.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vbscript.dll.so new file mode 100644 index 0000000..5fb51ba Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vbscript.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp.dll.so new file mode 100644 index 0000000..4cb11c0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp100.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp100.dll.so new file mode 100644 index 0000000..ecea776 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp100.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp110.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp110.dll.so new file mode 100644 index 0000000..163722a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp110.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp120.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp120.dll.so new file mode 100644 index 0000000..15800ce Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp120.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp140.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp140.dll.so new file mode 100644 index 0000000..d0639dc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp140.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp90.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp90.dll.so new file mode 100644 index 0000000..06573a1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcomp90.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcruntime140.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcruntime140.dll.so new file mode 100644 index 0000000..f3ef87b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vcruntime140.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vdhcp.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vdhcp.vxd.so new file mode 100644 index 0000000..dc20f75 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vdhcp.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vdmdbg.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vdmdbg.dll.so new file mode 100644 index 0000000..b00fe74 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vdmdbg.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ver.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ver.dll16.so new file mode 100644 index 0000000..12f5ad0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ver.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/version.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/version.dll.so new file mode 100644 index 0000000..3f8308c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/version.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/view.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/view.exe.so new file mode 100644 index 0000000..a50fe9d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/view.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/virtdisk.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/virtdisk.dll.so new file mode 100644 index 0000000..8f91664 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/virtdisk.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vmm.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vmm.vxd.so new file mode 100644 index 0000000..ab046a7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vmm.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vnbt.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vnbt.vxd.so new file mode 100644 index 0000000..7879472 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vnbt.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vnetbios.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vnetbios.vxd.so new file mode 100644 index 0000000..ef07112 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vnetbios.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vssapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vssapi.dll.so new file mode 100644 index 0000000..240fc17 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vssapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vtdapi.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vtdapi.vxd.so new file mode 100644 index 0000000..8f9e78c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vtdapi.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vwin32.vxd.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vwin32.vxd.so new file mode 100644 index 0000000..6121e3e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/vwin32.vxd.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/w32skrnl.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/w32skrnl.dll.so new file mode 100644 index 0000000..6e76c81 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/w32skrnl.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/w32sys.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/w32sys.dll16.so new file mode 100644 index 0000000..ce97a94 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/w32sys.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wbemdisp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wbemdisp.dll.so new file mode 100644 index 0000000..2603b15 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wbemdisp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wbemprox.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wbemprox.dll.so new file mode 100644 index 0000000..4966fd4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wbemprox.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/webservices.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/webservices.dll.so new file mode 100644 index 0000000..70e08b5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/webservices.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wer.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wer.dll.so new file mode 100644 index 0000000..13fba1e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wer.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wevtapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wevtapi.dll.so new file mode 100644 index 0000000..4a559d3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wevtapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wevtutil.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wevtutil.exe.so new file mode 100644 index 0000000..cc5900a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wevtutil.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wiaservc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wiaservc.dll.so new file mode 100644 index 0000000..4b0f172 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wiaservc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wimgapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wimgapi.dll.so new file mode 100644 index 0000000..3290c79 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wimgapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/win32s16.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/win32s16.dll16.so new file mode 100644 index 0000000..8a3bdcd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/win32s16.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/win87em.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/win87em.dll16.so new file mode 100644 index 0000000..5499a9b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/win87em.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winaspi.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winaspi.dll16.so new file mode 100644 index 0000000..c3fb2ab Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winaspi.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windebug.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windebug.dll16.so new file mode 100644 index 0000000..8664780 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windebug.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windowscodecs.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windowscodecs.dll.so new file mode 100644 index 0000000..057858e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windowscodecs.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windowscodecsext.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windowscodecsext.dll.so new file mode 100644 index 0000000..4da3c3c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/windowscodecsext.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winealsa.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winealsa.drv.so new file mode 100644 index 0000000..9a3011b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winealsa.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineboot.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineboot.exe.so new file mode 100644 index 0000000..4e12126 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineboot.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebrowser.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebrowser.exe.so new file mode 100644 index 0000000..db3a4b1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebrowser.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebus.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebus.sys.so new file mode 100644 index 0000000..7f76970 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebus.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winecfg.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winecfg.exe.so new file mode 100644 index 0000000..f56bf2c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winecfg.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineconsole.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineconsole.exe.so new file mode 100644 index 0000000..70ec663 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineconsole.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wined3d.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wined3d.dll.so new file mode 100644 index 0000000..12bada7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wined3d.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedbg.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedbg.exe.so new file mode 100644 index 0000000..dd5e4f1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedbg.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedevice.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedevice.exe.so new file mode 100644 index 0000000..4624e7f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedevice.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winefile.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winefile.exe.so new file mode 100644 index 0000000..e7ecfe7 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winefile.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winehid.sys.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winehid.sys.so new file mode 100644 index 0000000..787c740 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winehid.sys.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winejoystick.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winejoystick.drv.so new file mode 100644 index 0000000..f637b4b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winejoystick.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemapi.dll.so new file mode 100644 index 0000000..87e2a3c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemine.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemine.exe.so new file mode 100644 index 0000000..d4a3ec9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemine.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemp3.acm.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemp3.acm.so new file mode 100644 index 0000000..d2a10d0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemp3.acm.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemsibuilder.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemsibuilder.exe.so new file mode 100644 index 0000000..5a2e616 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemsibuilder.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineoss.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineoss.drv.so new file mode 100644 index 0000000..d126d08 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineoss.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winepath.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winepath.exe.so new file mode 100644 index 0000000..3080d68 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winepath.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineps.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineps.drv.so new file mode 100644 index 0000000..7a1ad19 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineps.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineps16.drv16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineps16.drv16.so new file mode 100644 index 0000000..f01a780 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineps16.drv16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winepulse.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winepulse.drv.so new file mode 100644 index 0000000..f17e38c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winepulse.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineserver b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineserver new file mode 100755 index 0000000..8adec3e --- /dev/null +++ b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineserver @@ -0,0 +1,2 @@ +#!/bin/sh +$(dirname $0)/wineserver.real -p0 "$@" diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineserver.real b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineserver.real new file mode 100755 index 0000000..21be4a1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineserver.real differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winevdm.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winevdm.exe.so new file mode 100644 index 0000000..321f72d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winevdm.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winex11.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winex11.drv.so new file mode 100644 index 0000000..44d7097 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winex11.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wing.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wing.dll16.so new file mode 100644 index 0000000..9af6ad0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wing.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wing32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wing32.dll.so new file mode 100644 index 0000000..35fb2c8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wing32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhelp.exe16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhelp.exe16.so new file mode 100644 index 0000000..82cd2ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhelp.exe16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhlp32.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhlp32.exe.so new file mode 100644 index 0000000..e877bc1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhlp32.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhttp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhttp.dll.so new file mode 100644 index 0000000..94452b6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winhttp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wininet.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wininet.dll.so new file mode 100644 index 0000000..4f3662e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wininet.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winmm.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winmm.dll.so new file mode 100644 index 0000000..d13849e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winmm.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winnls.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winnls.dll16.so new file mode 100644 index 0000000..38e036e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winnls.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winnls32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winnls32.dll.so new file mode 100644 index 0000000..2c2c9cf Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winnls32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winoldap.mod16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winoldap.mod16.so new file mode 100644 index 0000000..bbd089c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winoldap.mod16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winscard.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winscard.dll.so new file mode 100644 index 0000000..ad9fff8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winscard.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winsock.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winsock.dll16.so new file mode 100644 index 0000000..47192b5 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winsock.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winspool.drv.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winspool.drv.so new file mode 100644 index 0000000..47913a1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winspool.drv.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winsta.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winsta.dll.so new file mode 100644 index 0000000..8901ec8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winsta.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintab.dll16.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintab.dll16.so new file mode 100644 index 0000000..e71a340 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintab.dll16.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintab32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintab32.dll.so new file mode 100644 index 0000000..65880f9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintab32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintrust.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintrust.dll.so new file mode 100644 index 0000000..f8126ab Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wintrust.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winusb.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winusb.dll.so new file mode 100644 index 0000000..fba6a6f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winusb.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winver.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winver.exe.so new file mode 100644 index 0000000..1906824 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winver.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wlanapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wlanapi.dll.so new file mode 100644 index 0000000..468ebce Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wlanapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wldap32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wldap32.dll.so new file mode 100644 index 0000000..0c2e083 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wldap32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmasf.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmasf.dll.so new file mode 100644 index 0000000..ae9eb81 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmasf.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmi.dll.so new file mode 100644 index 0000000..37f7099 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmic.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmic.exe.so new file mode 100644 index 0000000..ee08149 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmic.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmiutils.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmiutils.dll.so new file mode 100644 index 0000000..b4a685c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmiutils.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmp.dll.so new file mode 100644 index 0000000..0698fca Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmphoto.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmphoto.dll.so new file mode 100644 index 0000000..ef237f3 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmphoto.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmplayer.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmplayer.exe.so new file mode 100644 index 0000000..f380d83 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmplayer.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmvcore.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmvcore.dll.so new file mode 100644 index 0000000..3ca4186 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmvcore.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wnaspi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wnaspi32.dll.so new file mode 100644 index 0000000..757636c Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wnaspi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wordpad.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wordpad.exe.so new file mode 100644 index 0000000..a75770b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wordpad.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wow32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wow32.dll.so new file mode 100644 index 0000000..aafc8e9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wow32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wpc.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wpc.dll.so new file mode 100644 index 0000000..9ac1ee8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wpc.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wpcap.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wpcap.dll.so new file mode 100644 index 0000000..b09006d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wpcap.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/write.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/write.exe.so new file mode 100644 index 0000000..a312dd0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/write.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ws2_32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ws2_32.dll.so new file mode 100644 index 0000000..9975719 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/ws2_32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wscript.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wscript.exe.so new file mode 100644 index 0000000..8d7245a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wscript.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsdapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsdapi.dll.so new file mode 100644 index 0000000..4f2d458 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsdapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wshom.ocx.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wshom.ocx.so new file mode 100644 index 0000000..85cd9a8 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wshom.ocx.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsnmp32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsnmp32.dll.so new file mode 100644 index 0000000..d410125 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsnmp32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsock32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsock32.dll.so new file mode 100644 index 0000000..009d8ff Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wsock32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wtsapi32.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wtsapi32.dll.so new file mode 100644 index 0000000..9704c44 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wtsapi32.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wuapi.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wuapi.dll.so new file mode 100644 index 0000000..ea65323 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wuapi.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wuaueng.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wuaueng.dll.so new file mode 100644 index 0000000..ff6e900 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wuaueng.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wusa.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wusa.exe.so new file mode 100644 index 0000000..f0f8934 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wusa.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_0.dll.so new file mode 100644 index 0000000..c69f941 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_1.dll.so new file mode 100644 index 0000000..f24ade2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_2.dll.so new file mode 100644 index 0000000..80ebed0 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_3.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_3.dll.so new file mode 100644 index 0000000..1495eb1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_3.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_4.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_4.dll.so new file mode 100644 index 0000000..3cf29ae Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_4.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_5.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_5.dll.so new file mode 100644 index 0000000..a486b4a Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_5.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_6.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_6.dll.so new file mode 100644 index 0000000..e496ce1 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_6.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_7.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_7.dll.so new file mode 100644 index 0000000..d305d16 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/x3daudio1_7.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_1.dll.so new file mode 100644 index 0000000..e2d57e9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_2.dll.so new file mode 100644 index 0000000..e2c9045 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_3.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_3.dll.so new file mode 100644 index 0000000..e946b60 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_3.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_4.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_4.dll.so new file mode 100644 index 0000000..fd62d38 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_4.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_5.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_5.dll.so new file mode 100644 index 0000000..bae5a31 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xapofx1_5.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_0.dll.so new file mode 100644 index 0000000..4ecda74 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_1.dll.so new file mode 100644 index 0000000..e21491e Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_2.dll.so new file mode 100644 index 0000000..e750854 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_3.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_3.dll.so new file mode 100644 index 0000000..97f4ffc Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_3.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_4.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_4.dll.so new file mode 100644 index 0000000..5b94db2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_4.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_5.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_5.dll.so new file mode 100644 index 0000000..2f41e3b Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_5.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_6.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_6.dll.so new file mode 100644 index 0000000..995f0c6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_6.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_7.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_7.dll.so new file mode 100644 index 0000000..4f97726 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_7.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_8.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_8.dll.so new file mode 100644 index 0000000..3f1e6a6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_8.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_9.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_9.dll.so new file mode 100644 index 0000000..54e507d Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xaudio2_9.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xcopy.exe.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xcopy.exe.so new file mode 100644 index 0000000..66767af Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xcopy.exe.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_1.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_1.dll.so new file mode 100644 index 0000000..c597783 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_1.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_2.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_2.dll.so new file mode 100644 index 0000000..28cec67 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_2.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_3.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_3.dll.so new file mode 100644 index 0000000..b0eb3d2 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_3.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_4.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_4.dll.so new file mode 100644 index 0000000..1c0c9eb Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput1_4.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput9_1_0.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput9_1_0.dll.so new file mode 100644 index 0000000..8fac627 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xinput9_1_0.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xmllite.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xmllite.dll.so new file mode 100644 index 0000000..f69bf28 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xmllite.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xolehlp.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xolehlp.dll.so new file mode 100644 index 0000000..7cc3cf4 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xolehlp.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xpsprint.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xpsprint.dll.so new file mode 100644 index 0000000..928ec24 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xpsprint.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xpssvcs.dll.so b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xpssvcs.dll.so new file mode 100644 index 0000000..11018c9 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/xpssvcs.dll.so differ diff --git a/deepin-libwine_2.18-12_i386/usr/share/bug/deepin-libwine/control b/deepin-libwine_2.18-12_i386/usr/share/bug/deepin-libwine/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-libwine_2.18-12_i386/usr/share/bug/deepin-libwine/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-libwine_2.18-12_i386/usr/share/deepin-wine/wine/l_intl.nls b/deepin-libwine_2.18-12_i386/usr/share/deepin-wine/wine/l_intl.nls new file mode 100644 index 0000000..50710a6 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/share/deepin-wine/wine/l_intl.nls differ diff --git a/deepin-libwine_2.18-12_i386/usr/share/deepin-wine/wine/wine.inf b/deepin-libwine_2.18-12_i386/usr/share/deepin-wine/wine/wine.inf new file mode 100644 index 0000000..c5a80c1 --- /dev/null +++ b/deepin-libwine_2.18-12_i386/usr/share/deepin-wine/wine/wine.inf @@ -0,0 +1,3500 @@ +;; .INF script for the basic Wine configuration +;; Version: Wine 2.18 +;; +;; This should be run through setupapi: +;; rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf +;; +;; Copyright (C) 2004 Chris Morgan +;; Copyright (C) 2004 Brian Vincent +;; Copyright (C) 2004 Alexandre Julliard +;; +;; This library is free software; you can redistribute it and/or +;; modify it under the terms of the GNU Lesser General Public +;; License as published by the Free Software Foundation; either +;; version 2.1 of the License, or (at your option) any later version. +;; +;; This library is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; Lesser General Public License for more details. +;; +;; You should have received a copy of the GNU Lesser General Public +;; License along with this library; if not, write to the Free Software +;; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +;; + +[version] +signature="$CHICAGO$" + +[DefaultInstall] +RegisterDlls=RegisterDllsSection +WineFakeDlls=FakeDllsWin32,FakeDlls +UpdateInis=SystemIni +CopyFiles=@l_intl.nls +AddReg=\ + Classes,\ + ContentIndex,\ + ControlClass,\ + CriticalDevice,\ + CurrentVersion,\ + Debugger,\ + DirectX,\ + DllOverrides,\ + Fonts,\ + MCI,\ + Misc,\ + Nls,\ + OLE,\ + Printing,\ + Services, \ + SessionMgr,\ + Tapi,\ + Timezones,\ + LicenseInformation + +[DefaultInstall.NT] +RegisterDlls=RegisterDllsSection +WineFakeDlls=FakeDllsWin32,FakeDlls +UpdateInis=SystemIni +CopyFiles=@l_intl.nls +AddReg=\ + Classes,\ + ContentIndex,\ + ControlClass,\ + CriticalDevice,\ + CurrentVersion,\ + Debugger,\ + DirectX,\ + DllOverrides,\ + Fonts,\ + MCI,\ + Misc,\ + Nls,\ + OLE,\ + Printing,\ + Services, \ + SessionMgr,\ + Tapi,\ + Timezones,\ + VersionInfo,\ + LicenseInformation + +[DefaultInstall.ntamd64] +RegisterDlls=RegisterDllsSection +WineFakeDlls=FakeDlls +WinePreInstall=Wow64 +UpdateInis=SystemIni +CopyFiles=@l_intl.nls +AddReg=\ + Classes,\ + ContentIndex,\ + ControlClass,\ + CriticalDevice,\ + CurrentVersion,\ + CurrentVersionWow64,\ + Debugger,\ + DirectX,\ + DllOverrides,\ + Fonts,\ + MCI,\ + Misc,\ + Nls,\ + OLE,\ + Printing,\ + Services, \ + SessionMgr,\ + Tapi,\ + Timezones,\ + VersionInfo.ntamd64,\ + LicenseInformation + +[Wow64Install] +RegisterDlls=RegisterDllsSection +WineFakeDlls=FakeDllsWin32,FakeDllsWow64 +CopyFiles=@l_intl.nls +AddReg=\ + CurrentVersion,\ + CurrentVersionWow64,\ + Debugger,\ + DirectX,\ + MCI,\ + Misc,\ + Tapi,\ + VersionInfo.ntamd64,\ + LicenseInformation + +[DefaultInstall.Services] +AddService=BITS,0,BITSService +AddService=MSIServer,0,MSIService +AddService=MountMgr,0x800,MountMgrService +AddService=RpcSs,0,RpcSsService +AddService=Spooler,0,SpoolerService +AddService=StiSvc,0,StiService +AddService=TermService,0,TerminalServices +AddService=PlugPlay,0,PlugPlayService +AddService=FontCache3.0.0.0,0,WPFFontCacheService +AddService=LanmanServer,0,LanmanServerService +AddService=FontCache,0,FontCacheService +AddService=Schedule,0,TaskSchedulerService +AddService=WineBus,0,WineBusService +AddService=WineHID,0,WineHIDService + +[DefaultInstall.NT.Services] +AddService=BITS,0,BITSService +AddService=MSIServer,0,MSIService +AddService=MountMgr,0x800,MountMgrService +AddService=RpcSs,0,RpcSsService +AddService=Spooler,0,SpoolerService +AddService=StiSvc,0,StiService +AddService=TermService,0,TerminalServices +AddService=PlugPlay,0,PlugPlayService +AddService=FontCache3.0.0.0,0,WPFFontCacheService +AddService=LanmanServer,0,LanmanServerService +AddService=FontCache,0,FontCacheService +AddService=Schedule,0,TaskSchedulerService +AddService=WineBus,0,WineBusService +AddService=WineHID,0,WineHIDService + +[DefaultInstall.ntamd64.Services] +AddService=BITS,0,BITSService +AddService=MSIServer,0,MSIService +AddService=MountMgr,0x800,MountMgrService +AddService=RpcSs,0,RpcSsService +AddService=Spooler,0,SpoolerService +AddService=StiSvc,0,StiService +AddService=TermService,0,TerminalServices +AddService=PlugPlay,0,PlugPlayService +AddService=FontCache3.0.0.0,0,WPFFontCacheService +AddService=LanmanServer,0,LanmanServerService +AddService=FontCache,0,FontCacheService +AddService=Schedule,0,TaskSchedulerService +AddService=WineBus,0,WineBusService +AddService=WineHID,0,WineHIDService + +[Strings] +MciExtStr="Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions" +Mci32Str="Software\Microsoft\Windows NT\CurrentVersion\MCI32" +CurrentVersion="Software\Microsoft\Windows\CurrentVersion" +CurrentVersionNT="Software\Microsoft\Windows NT\CurrentVersion" +FontSubStr="Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes" +Control="System\CurrentControlSet\Control" + +[Classes] +HKCR,.chm,,2,"chm.file" +HKCR,.cpl,,2,"cplfile" +HKCR,.hlp,,2,"hlpfile" +HKCR,.inf,,2,"inffile" +HKCR,.ini,,2,"inifile" +HKCR,.lnk,,2,"lnkfile" +HKCR,.msi,,2,"Msi.Package" +HKCR,.msp,,2,"Msi.Patch" +HKCR,.pdf,,2,"pdffile" +HKCR,.rtf,,2,"rtffile" +HKCR,.wri,,2,"wrifile" +HKCR,*\shellex\ContextMenuHandlers,,16 +HKCR,chm.file,,2,"Compiled HTML Help File" +HKCR,chm.file\DefaultIcon,,2,"%10%\hh.exe,0" +HKCR,chm.file\shell\open\command,,2,"%10%\hh.exe %1" +HKCR,cplfile,,2,"Control Panel Item" +HKCR,cplfile\shell\cplopen,,2,"Open with Control Panel" +HKCR,cplfile\shell\cplopen\command,,2,"rundll32.exe shell32.dll,Control_RunDLL ""%1"",%*" +HKCR,DirectShow,,16 +HKCR,exefile,,2,"Application" +HKCR,exefile\DefaultIcon,,2,"%1" +HKCR,exefile\shell\open\command,,2,"""%1"" %*" +HKCR,folder\shell\open\ddeexec,,2,"[ViewFolder("%l", %I, %S)]" +HKCR,folder\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,folder\shell\open\ddeexec\application,,2,"Folders" +HKCR,folder\shellex\ContextMenuHandlers,,16 +HKCR,hlpfile,,2,"Help File" +HKCR,hlpfile\shell\open\command,,2,"%11%\winhlp32.exe %1" +HKCR,htmlfile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome" +HKCR,htmlfile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,," +HKCR,htmlfile\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,htmlfile\shell\open\ddeexec\Application,,2,"IExplore" +HKCR,htmlfile\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,inffile,,2,"Setup Information" +HKCR,inffile\shell\install\command,,2,"%11%\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1" +HKCR,inifile,,2,"Configuration Settings" +HKCR,inifile\shell\open\command,,2,"%11%\notepad.exe %1" +HKCR,inifile\shell\print\command,,2,"%11%\notepad.exe /p %1" +HKCR,lnkfile,,2,"Shortcut" +HKCR,lnkfile,"NeverShowExt",2,"" +HKCR,lnkfile,"IsShortcut",2,"yes" +HKCR,lnkfile\CLSID,,2,"{00021401-0000-0000-C000-000000000046}" +HKCR,lnkfile\shellex\IconHandler,,2,"{00021401-0000-0000-C000-000000000046}" +HKCR,lnkfile\shellex\ContextMenuHandlers\{00021401-0000-0000-C000-000000000046},,0x10, +HKCR,MediaFoundation,,16 +HKCR,Msi.Package,,2,"Windows Installer Package" +HKCR,Msi.Package\DefaultIcon,,2,"msiexec.exe" +HKCR,Msi.Package\shell\Open\command,,2,"%11%\msiexec.exe /i ""%1""" +HKCR,Msi.Package\shell\Repair\command,,2,"%11%\msiexec.exe /f ""%1""" +HKCR,Msi.Package\shell\Uninstall\command,,2,"%11%\msiexec.exe /x ""%1""" +HKCR,Msi.Patch,,2,"Windows Installer Patch" +HKCR,Msi.Patch\DefaultIcon,,2,"msiexec.exe" +HKCR,Msi.Patch\shell\Open\command,,2,"%11%\msiexec.exe /p ""%1""" +HKCR,pdffile,,2,"PDF Document" +HKCR,pdffile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome" +HKCR,pdffile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,," +HKCR,pdffile\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,pdffile\shell\open\ddeexec\Application,,2,"IExplore" +HKCR,pdffile\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,rtffile,,2,"Rich Text Document" +HKCR,rtffile\shell\open\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" %1" +HKCR,rtffile\shell\print\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" /p %1" +HKCR,txtfile,,2,"Text Document" +HKCR,txtfile\shell\open\command,,2,"%11%\notepad.exe %1" +HKCR,txtfile\shell\print\command,,2,"%11%\notepad.exe /p %1" +HKCR,wrifile\shell\open\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" %1" +HKCR,wrifile\shell\print\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" /p %1" +HKCR,xmlfile,,2,"XML Document" +HKCR,xmlfile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome" +HKCR,xmlfile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,," +HKCR,xmlfile\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,xmlfile\shell\open\ddeexec\Application,,2,"IExplore" +HKCR,xmlfile\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,ftp\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome" +HKCR,ftp\shell\open\ddeexec,,2,"""%1"",,-1,0,,,," +HKCR,ftp\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,ftp\shell\open\ddeexec\Application,,2,"IExplore" +HKCR,ftp\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,http\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome" +HKCR,http\shell\open\ddeexec,,2,"""%1"",,-1,0,,,," +HKCR,http\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,http\shell\open\ddeexec\Application,,2,"IExplore" +HKCR,http\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,https\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome" +HKCR,https\shell\open\ddeexec,,2,"""%1"",,-1,0,,,," +HKCR,https\shell\open\ddeexec,"NoActivateHandler",2,"" +HKCR,https\shell\open\ddeexec\Application,,2,"IExplore" +HKCR,https\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,mailto\shell\open\command,,2,"%11%\winebrowser %1" + +HKCR,MIME\Database\Charset\_iso-2022-jp$ESC,"Codepage",0x10003,932 +HKCR,MIME\Database\Charset\_iso-2022-jp$ESC,"InternetEncoding",0x10003,50221 +HKCR,MIME\Database\Charset\_iso-2022-jp$SIO,"Codepage",0x10003,932 +HKCR,MIME\Database\Charset\_iso-2022-jp$SIO,"InternetEncoding",0x10003,50222 +HKCR,MIME\Database\Charset\ASMO-708,"Codepage",0x10003,1256 +HKCR,MIME\Database\Charset\ASMO-708,"InternetEncoding",0x10003,708 +HKCR,MIME\Database\Charset\Big5,"Codepage",0x10003,950 +HKCR,MIME\Database\Charset\Big5,"InternetEncoding",0x10003,950 +HKCR,MIME\Database\Charset\DOS-720,"Codepage",0x10003,1256 +HKCR,MIME\Database\Charset\DOS-720,"InternetEncoding",0x10003,720 +HKCR,MIME\Database\Charset\DOS-862,"Codepage",0x10003,1255 +HKCR,MIME\Database\Charset\DOS-862,"InternetEncoding",0x10003,862 +HKCR,MIME\Database\Charset\DOS-874,"Codepage",0x10003,874 +HKCR,MIME\Database\Charset\DOS-874,"InternetEncoding",0x10003,874 +HKCR,MIME\Database\Charset\euc-jp,"Codepage",0x10003,932 +HKCR,MIME\Database\Charset\euc-jp,"InternetEncoding",0x10003,51932 +HKCR,MIME\Database\Charset\euc-kr,"Codepage",0x10003,949 +HKCR,MIME\Database\Charset\euc-kr,"InternetEncoding",0x10003,949 +HKCR,MIME\Database\Charset\GB2312,"Codepage",0x10003,936 +HKCR,MIME\Database\Charset\GB2312,"InternetEncoding",0x10003,936 +HKCR,MIME\Database\Charset\hz-gb-2312,"Codepage",0x10003,936 +HKCR,MIME\Database\Charset\hz-gb-2312,"InternetEncoding",0x10003,52936 +HKCR,MIME\Database\Charset\ibm852,"Codepage",0x10003,852 +HKCR,MIME\Database\Charset\ibm852,"InternetEncoding",0x10003,852 +HKCR,MIME\Database\Charset\ibm866,"Codepage",0x10003,866 +HKCR,MIME\Database\Charset\ibm866,"InternetEncoding",0x10003,866 +HKCR,MIME\Database\Charset\iso-2022-jp,"Codepage",0x10003,932 +HKCR,MIME\Database\Charset\iso-2022-jp,"InternetEncoding",0x10003,50220 +HKCR,MIME\Database\Charset\iso-2022-kr,"Codepage",0x10003,949 +HKCR,MIME\Database\Charset\iso-2022-kr,"InternetEncoding",0x10003,50225 +HKCR,MIME\Database\Charset\iso-8859-1,"Codepage",0x10003,1252 +HKCR,MIME\Database\Charset\iso-8859-1,"InternetEncoding",0x10003,1252 +HKCR,MIME\Database\Charset\iso-8859-2,"Codepage",0x10003,1250 +HKCR,MIME\Database\Charset\iso-8859-2,"InternetEncoding",0x10003,28592 +HKCR,MIME\Database\Charset\iso-8859-3,"Codepage",0x10003,1254 +HKCR,MIME\Database\Charset\iso-8859-3,"InternetEncoding",0x10003,28593 +HKCR,MIME\Database\Charset\iso-8859-4,"Codepage",0x10003,1257 +HKCR,MIME\Database\Charset\iso-8859-4,"InternetEncoding",0x10003,28594 +HKCR,MIME\Database\Charset\iso-8859-5,"Codepage",0x10003,1251 +HKCR,MIME\Database\Charset\iso-8859-5,"InternetEncoding",0x10003,25595 +HKCR,MIME\Database\Charset\iso-8859-6,"Codepage",0x10003,1256 +HKCR,MIME\Database\Charset\iso-8859-6,"InternetEncoding",0x10003,28596 +HKCR,MIME\Database\Charset\iso-8859-7,"Codepage",0x10003,1253 +HKCR,MIME\Database\Charset\iso-8859-7,"InternetEncoding",0x10003,28597 +HKCR,MIME\Database\Charset\iso-8859-8,"Codepage",0x10003,1255 +HKCR,MIME\Database\Charset\iso-8859-8,"InternetEncoding",0x10003,28598 +HKCR,MIME\Database\Charset\iso-8859-8-i,"Codepage",0x10003,1255 +HKCR,MIME\Database\Charset\iso-8859-8-i,"InternetEncoding",0x10003,38598 +HKCR,MIME\Database\Charset\iso-8859-9,"Codepage",0x10003,1254 +HKCR,MIME\Database\Charset\iso-8859-9,"InternetEncoding",0x10003,1254 +HKCR,MIME\Database\Charset\koi8-r,"Codepage",0x10003,1251 +HKCR,MIME\Database\Charset\koi8-r,"InternetEncoding",0x10003,20866 +HKCR,MIME\Database\Charset\koi8-ru,"Codepage",0x10003,1251 +HKCR,MIME\Database\Charset\koi8-ru,"InternetEncoding",0x10003,21866 +HKCR,MIME\Database\Charset\ks_c_5601-1987,"Codepage",0x10003,949 +HKCR,MIME\Database\Charset\ks_c_5601-1987,"InternetEncoding",0x10003,949 +HKCR,MIME\Database\Charset\shift_jis,"Codepage",0x10003,932 +HKCR,MIME\Database\Charset\shift_jis,"InternetEncoding",0x10003,932 +HKCR,MIME\Database\Charset\unicode,"Codepage",0x10003,1200 +HKCR,MIME\Database\Charset\unicode,"InternetEncoding",0x10003,1200 +HKCR,MIME\Database\Charset\unicodeFFFE,"Codepage",0x10003,1200 +HKCR,MIME\Database\Charset\unicodeFFFE,"InternetEncoding",0x10003,1201 +HKCR,MIME\Database\Charset\utf-7,"Codepage",0x10003,1200 +HKCR,MIME\Database\Charset\utf-7,"InternetEncoding",0x10003,65000 +HKCR,MIME\Database\Charset\utf-8,"Codepage",0x10003,1200 +HKCR,MIME\Database\Charset\utf-8,"InternetEncoding",0x10003,65001 +HKCR,MIME\Database\Charset\windows-1250,"Codepage",0x10003,1250 +HKCR,MIME\Database\Charset\windows-1250,"InternetEncoding",0x10003,1250 +HKCR,MIME\Database\Charset\windows-1251,"Codepage",0x10003,1251 +HKCR,MIME\Database\Charset\windows-1251,"InternetEncoding",0x10003,1251 +HKCR,MIME\Database\Charset\windows-1252,"Codepage",0x10003,1252 +HKCR,MIME\Database\Charset\windows-1252,"InternetEncoding",0x10003,1252 +HKCR,MIME\Database\Charset\windows-1253,"Codepage",0x10003,1253 +HKCR,MIME\Database\Charset\windows-1253,"InternetEncoding",0x10003,1253 +HKCR,MIME\Database\Charset\windows-1255,"Codepage",0x10003,1255 +HKCR,MIME\Database\Charset\windows-1255,"InternetEncoding",0x10003,1255 +HKCR,MIME\Database\Charset\windows-1256,"Codepage",0x10003,1256 +HKCR,MIME\Database\Charset\windows-1256,"InternetEncoding",0x10003,1256 +HKCR,MIME\Database\Charset\windows-1257,"Codepage",0x10003,1257 +HKCR,MIME\Database\Charset\windows-1257,"InternetEncoding",0x10003,1257 +HKCR,MIME\Database\Charset\windows-1258,"Codepage",0x10003,1258 +HKCR,MIME\Database\Charset\windows-1258,"InternetEncoding",0x10003,1258 +HKCR,MIME\Database\Charset\windows-874,"Codepage",0x10003,874 +HKCR,MIME\Database\Charset\windows-874,"InternetEncoding",0x10003,874 +HKCR,MIME\Database\Charset\ANSI_X3.4-1968,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\ANSI_X3.4-1986,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\arabic,"AliasForCharset",,iso-8859-6 +HKCR,MIME\Database\Charset\ascii,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\chinese,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\CN-GB,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\cp1256,"AliasForCharset",,windows-1256 +HKCR,MIME\Database\Charset\cp367,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\cp819,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\cp852,"AliasForCharset",,ibm852 +HKCR,MIME\Database\Charset\ibm866,"AliasForCharset",,ibm866 +HKCR,MIME\Database\Charset\csASCII,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\csbig5,"AliasForCharset",,big5 +HKCR,MIME\Database\Charset\csEUCKR,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\csEUCPkdFmtJapanese,"AliasForCharset",,euc-jp +HKCR,MIME\Database\Charset\csGB2312 ,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\csISO2022JP,"AliasForCharset",,_iso-2022-jp$ESC +HKCR,MIME\Database\Charset\csISO2022KR,"AliasForCharset",,iso-2022-kr +HKCR,MIME\Database\Charset\csISO58GB231280,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\csISOLatin1,"AliasForCharset",,windows-1252 +HKCR,MIME\Database\Charset\csISOLatin2,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\csISOLatin4,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\csISOLatin5,"AliasForCharset",,iso-8859-9 +HKCR,MIME\Database\Charset\csISOLatinArabic,"AliasForCharset",,iso-8859-6 +HKCR,MIME\Database\Charset\csISOLatinCyrillic,"AliasForCharset",,iso-8859-5 +HKCR,MIME\Database\Charset\csISOLatinGreek,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\csISOLatinHebrew,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\csKOI8R,"AliasForCharset",,koi8-r +HKCR,MIME\Database\Charset\csKSC56011987,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\csShiftJIS,"AliasForCharset",,shift_jis +HKCR,MIME\Database\Charset\csUnicode11UTF7,"AliasForCharset",,utf-7 +HKCR,MIME\Database\Charset\csWindows31J,"AliasForCharset",,shift_jis +HKCR,MIME\Database\Charset\cyrillic,"AliasForCharset",,iso-8859-5 +HKCR,MIME\Database\Charset\ECMA-114,"AliasForCharset",,iso-8859-6 +HKCR,MIME\Database\Charset\ECMA-118,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\ELOT_928,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\Extended_UNIX_Code_Packed_Format_for_Japanese,"AliasForCharset",,euc-jp +HKCR,MIME\Database\Charset\GB_2312-80,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\GBK,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\greek,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\greek8,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\hebrew,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\IBM367,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\ibm819,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso-8859-11,"AliasForCharset",,windows-874 +HKCR,MIME\Database\Charset\ISO-8859-8 Visual,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\iso-ir-100,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso-ir-101,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\iso-ir-110,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\iso-ir-111,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\iso-ir-126,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\iso-ir-127,"AliasForCharset",,iso-8859-6 +HKCR,MIME\Database\Charset\iso-ir-138,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\iso-ir-144,"AliasForCharset",,iso-8859-5 +HKCR,MIME\Database\Charset\iso-ir-148,"AliasForCharset",,iso-8859-9 +HKCR,MIME\Database\Charset\iso-ir-149,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\iso-ir-58,"AliasForCharset",,gb2312 +HKCR,MIME\Database\Charset\iso-ir-6,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\ISO646-US,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso8859-1,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso8859-2,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\ISO_646.irv:1991,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso_8859-1,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso_8859-1:1987,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\iso_8859-2,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\iso_8859-2:1987,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\ISO_8859-4,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\ISO_8859-4:1988,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\ISO_8859-5,"AliasForCharset",,iso-8859-5 +HKCR,MIME\Database\Charset\ISO_8859-5:1988,"AliasForCharset",,iso-8859-5 +HKCR,MIME\Database\Charset\ISO_8859-6,"AliasForCharset",,iso-8859-6 +HKCR,MIME\Database\Charset\ISO_8859-6:1987,"AliasForCharset",,iso-8859-6 +HKCR,MIME\Database\Charset\ISO_8859-7,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\ISO_8859-7:1987,"AliasForCharset",,iso-8859-7 +HKCR,MIME\Database\Charset\ISO_8859-8,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\ISO_8859-8:1987,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\ISO_8859-9,"AliasForCharset",,iso-8859-9 +HKCR,MIME\Database\Charset\ISO_8859-9:1987,"AliasForCharset",,iso-8859-9 +HKCR,MIME\Database\Charset\koi,"AliasForCharset",,koi8-r +HKCR,MIME\Database\Charset\korean,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\ks_c_5601,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\ks_c_5601-1989,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\KSC5601,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\KSC_5601,"AliasForCharset",,ks_c_5601-1987 +HKCR,MIME\Database\Charset\l1,"AliasForCharset",,windows-1252 +HKCR,MIME\Database\Charset\l2,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\l4,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\l5,"AliasForCharset",,iso-8859-9 +HKCR,MIME\Database\Charset\latin1,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\latin2,"AliasForCharset",,iso-8859-2 +HKCR,MIME\Database\Charset\latin4,"AliasForCharset",,iso-8859-4 +HKCR,MIME\Database\Charset\latin5,"AliasForCharset",,iso-8859-9 +HKCR,MIME\Database\Charset\logical,"AliasForCharset",,windows-1255 +HKCR,MIME\Database\Charset\ms_Kanji,"AliasForCharset",,shift_jis +HKCR,MIME\Database\Charset\shift-jis,"AliasForCharset",,shift_jis +HKCR,MIME\Database\Charset\unicode-1-1-utf-7,"AliasForCharset",,utf-7 +HKCR,MIME\Database\Charset\unicode-1-1-utf-8,"AliasForCharset",,utf-8 +HKCR,MIME\Database\Charset\unicode-2-0-utf-8,"AliasForCharset",,utf-8 +HKCR,MIME\Database\Charset\us,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\us-ascii,"AliasForCharset",,iso-8859-1 +HKCR,MIME\Database\Charset\visual,"AliasForCharset",,iso-8859-8 +HKCR,MIME\Database\Charset\Windows-1254,"AliasForCharset",,iso-8859-9 + +[ContentIndex] +HKLM,System\CurrentControlSet\Control\ContentIndex\Language\Neutral,"WBreakerClass",,"{369647e0-17b0-11ce-9950-00aa004bbb1f}" +HKLM,System\CurrentControlSet\Control\ContentIndex\Language\Neutral,"StemmerClass",,"" +HKLM,System\CurrentControlSet\Control\ContentIndex\Language\Neutral,"Locale",0x10003,0 + +[ControlClass] +HKLM,System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318},,,"Disk drives" +HKLM,System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318},"Class",,"DiskDrive" +HKLM,System\CurrentControlSet\Control\Class\{4d36e978-e325-11ce-bfc1-08002be10318},,,"Ports (COM & LPT)" +HKLM,System\CurrentControlSet\Control\Class\{4d36e978-e325-11ce-bfc1-08002be10318},"Class",,"Ports" +HKLM,System\CurrentControlSet\Control\Class\{6bdd1fc6-810f-11d0-bec7-08002be2092f},,,"Imaging devices" +HKLM,System\CurrentControlSet\Control\Class\{6bdd1fc6-810f-11d0-bec7-08002be2092f},"Class",,"Image" +HKLM,System\CurrentControlSet\Control\Class\{745a17a0-74d3-11d0-b6fe-00a0c90f57da},,,"Human Interface Devices" +HKLM,System\CurrentControlSet\Control\Class\{745a17a0-74d3-11d0-b6fe-00a0c90f57da},"Class",,"HIDClass" + +[CriticalDevice] +HKLM,System\CurrentControlSet\Control\CriticalDeviceDatabase\HIDRAW,"Service",,"WineHID" +HKLM,System\CurrentControlSet\Control\CriticalDeviceDatabase\IOHID,"Service",,"WineHID" + +[CurrentVersion] +HKCU,%CurrentVersion%\Run,,16 +HKLM,%CurrentVersion%,"CommonFilesDir",,"%16427%" +HKLM,%CurrentVersion%,"FirstInstallDateTime",1,21,81,7c,23 +HKLM,%CurrentVersion%,"ProductId",,"12345-oem-0000001-54321" +HKLM,%CurrentVersion%,"ProgramFilesDir",,"%16422%" +HKLM,%CurrentVersion%,"ProgramFilesPath",0x20000,"%%ProgramFiles%%" +HKLM,%CurrentVersion%,"RegisteredOrganization",2,"" +HKLM,%CurrentVersion%,"RegisteredOwner",2,"" +HKLM,%CurrentVersion%\App Paths,,16 +HKLM,%CurrentVersion%\Control Panel\Cursors\Schemes,,16 +HKLM,%CurrentVersion%\Controls Folder\PowerCfg,"DiskSpinDownMax",,"3600" +HKLM,%CurrentVersion%\Controls Folder\PowerCfg,"DiskSpinDownMin",,"3" +HKLM,%CurrentVersion%\Controls Folder\PowerCfg,"LastID",,"5" +HKLM,%CurrentVersion%\Explorer\AutoplayHandlers,,16 +HKLM,%CurrentVersion%\Explorer\DriveIcons,,16 +HKLM,%CurrentVersion%\Explorer\KindMap,,16 +HKLM,%CurrentVersion%\Group Policy,,16 +HKLM,%CurrentVersion%\Installer,"InstallerLocation",,"%11%" +HKLM,%CurrentVersion%\Policies\System,"EnableLUA",0x10003,0 +HKLM,%CurrentVersion%\PreviewHandlers,,16 +HKLM,%CurrentVersion%\Run,,16 +HKLM,%CurrentVersion%\Setup,"BootDir",,"%30%" +HKLM,%CurrentVersion%\Setup,"SharedDir",,"%25%" +HKLM,%CurrentVersion%\Shell Extensions\Approved,,16 +HKLM,%CurrentVersion%\Uninstall,,16 +HKLM,%CurrentVersion%\Winlogon,,16 +HKLM,%CurrentVersionNT%,"InstallDate",0x10003,1273299354 +HKLM,%CurrentVersionNT%,"ProductId",,"12345-oem-0000001-54321" +HKLM,%CurrentVersionNT%,"RegisteredOrganization",2,"" +HKLM,%CurrentVersionNT%,"RegisteredOwner",2,"" +HKLM,%CurrentVersionNT%,"SystemRoot",,"%10%" +HKLM,%CurrentVersionNT%\Console,,16 +HKLM,%CurrentVersionNT%\Drivers32,,16 +HKLM,%CurrentVersionNT%\FontDpi,,16 +HKLM,%CurrentVersionNT%\FontLink,,16 +HKLM,%CurrentVersionNT%\FontMapper,,16 +HKLM,%CurrentVersionNT%\Fonts,,16 +HKLM,%CurrentVersionNT%\FontSubstitutes,,16 +HKLM,%CurrentVersionNT%\Gre_Initialize,,16 +HKLM,%CurrentVersionNT%\Hotfix\Q246009,"Installed",,"1" +HKLM,%CurrentVersionNT%\Image File Execution Options,,16 +HKLM,%CurrentVersionNT%\LanguagePack,,16 +HKLM,%CurrentVersionNT%\NetworkCards,,16 +HKLM,%CurrentVersionNT%\OpenGLDrivers,,16 +HKLM,%CurrentVersionNT%\Perflib,,16 +HKLM,%CurrentVersionNT%\Ports,,16 +HKLM,%CurrentVersionNT%\Print,,16 +HKLM,%CurrentVersionNT%\ProfileList,,16 + +[CurrentVersionWow64] +HKLM,%CurrentVersion%,"ProgramFilesDir (x86)",,"%16426%" +HKLM,%CurrentVersion%,"CommonFilesDir (x86)",,"%16428%" + +[Debugger] +HKLM,%CurrentVersionNT%\AeDebug,"Debugger",2,"winedbg --auto %ld %ld" +HKLM,%CurrentVersionNT%\AeDebug,"Auto",2,"1" +HKCU,Software\Wine\Debug,"RelayExclude",2,"ntdll.RtlEnterCriticalSection;ntdll.RtlTryEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError" +HKCU,Software\Wine\Debug,"RelayFromExclude",2,"winex11.drv;winemac.drv;user32;gdi32;advapi32;kernel32" + +[DirectX] +HKLM,Software\Microsoft\DirectX,"Version",,"4.09.00.0904" +HKLM,Software\Microsoft\DirectX,"InstalledVersion",1,00,00,00,09,00,00,00,00 +HKLM,Software\Microsoft\DirectMusic,GMFilePath,,"%12%\gm.dls" +HKLM,Software\Microsoft\DirectMusic\Defaults,DefaultOutputPort,,"{58C2B4D0-46E7-11D1-89AC-00A0C9054129}" +HKLM,Software\Microsoft\DirectMusic\SoftwareSynths\{58C2B4D0-46E7-11D1-89AC-00A0C9054129},Description,,"Microsoft Software Synthesizer" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"DescriptionA",,"Internet TCP/IP Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"DescriptionW",,"Internet TCP/IP Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"dwReserved1",0x10001,0x000001f4 +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"dwReserved2",0x10001,0x00000000 +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"Guid",,"{36E95EE0-8577-11cf-960C-0080C7534E82}" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"NATHelp",,"dpnhupnp.dll" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Internet TCP/IP Connection For DirectPlay,"Path",,"dpwsockx.dll" +HKLM,Software\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay,"DescriptionA",,"IPX Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay,"DescriptionW",,"IPX Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay,"dwReserved1",0x10001,0x00000032 +HKLM,Software\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay,"dwReserved2",0x10001,0x00000000 +HKLM,Software\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay,"Guid",,"{685BC400-9D2C-11cf-A9CD-00AA006886E3}" +HKLM,Software\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay,"Path",,"dpwsockx.dll" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Modem Connection For DirectPlay,"DescriptionA",,"Modem Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Modem Connection For DirectPlay,"DescriptionW",,"Modem Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Modem Connection For DirectPlay,"dwReserved1",0x10001,0x00000000 +HKLM,Software\Microsoft\DirectPlay\Service Providers\Modem Connection For DirectPlay,"dwReserved2",0x10001,0x00000000 +HKLM,Software\Microsoft\DirectPlay\Service Providers\Modem Connection For DirectPlay,"Guid",,"{44EAA760-CB68-11cf-9C4E-00A0C905425E}" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Modem Connection For DirectPlay,"Path",,"dpmodemx.dll" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"DescriptionA",,"Serial Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"DescriptionW",,"Serial Connection For DirectPlay" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"dwReserved1",0x10001,0x00000000 +HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"dwReserved2",0x10001,0x00000000 +HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"Guid",,"{0F1D6860-88D9-11cf-9C4E-00A0C905425E}" +HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"Path",,"dpmodemx.dll" + +[SessionMgr] +HKLM,%Control%\Session Manager,CriticalSectionTimeout,0x00040002,0x00278d00 +HKLM,%Control%\Session Manager,GlobalFlag,0x00040002,0 +HKLM,%Control%\Session Manager,HeapDeCommitFreeBlockThreshold,0x00040002,0 +HKLM,%Control%\Session Manager,HeapDeCommitTotalFreeThreshold,0x00040002,0 +HKLM,%Control%\Session Manager,HeapSegmentCommit,0x00040002,0 +HKLM,%Control%\Session Manager,HeapSegmentReserve,0x00040002,0 +HKLM,%Control%\Session Manager\Environment,"ComSpec",0x00020000,"%11%\cmd.exe" +HKLM,%Control%\Session Manager\Environment,"PATH",0x00020002,"%11%;%10%;%11%\wbem" +HKLM,%Control%\Session Manager\Environment,"PATHEXT",,".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH" +HKLM,%Control%\Session Manager\Environment,"SystemDrive",2,"c:" +HKLM,%Control%\Session Manager\Environment,"SYSTEMROOT",,"%10%" +HKLM,%Control%\Session Manager\Environment,"TEMP",0x00020002,"%10%\temp" +HKLM,%Control%\Session Manager\Environment,"TMP",0x00020002,"%10%\temp" +HKLM,%Control%\Session Manager\Environment,"windir",0x00020000,"%10%" +HKLM,%Control%\Session Manager\Environment,"winsysdir",,"%11%" +HKLM,%Control%\Session Manager\Memory Management,PagingFiles,,"%24%\pagefile.sys 27 77" +HKLM,%Control%\Session Manager\Memory Management,WriteWatch,0x00040002,1 + +[DllOverrides] +HKCU,Software\Wine\DllOverrides,"androidassist",,"" +HKCU,Software\Wine\DllOverrides,"mlang",,"native,builtin" +HKCU,Software\Wine\DllOverrides,"msls31",,"native,builtin" +HKCU,Software\Wine\DllOverrides,"usp10",,"native,builtin" +HKCU,Software\Wine\DllOverrides,"riched20",,"native,builtin" +HKCU,Software\Wine\DllOverrides,"txplatform.exe",,"" +HKCU,Software\Wine\DllOverrides,"txupd.exe",,"" + +[Fonts] +HKLM,%FontSubStr%,"Arial Baltic,186",,"Arial,186" +HKLM,%FontSubStr%,"Arial CE,238",,"Arial,238" +HKLM,%FontSubStr%,"Arial CYR,204",,"Arial,204" +HKLM,%FontSubStr%,"Arial Greek,161",,"Arial,161" +HKLM,%FontSubStr%,"Arial TUR,162",,"Arial,162" +HKLM,%FontSubStr%,"Courier New Baltic,186",,"Courier New,186" +HKLM,%FontSubStr%,"Courier New CE,238",,"Courier New,238" +HKLM,%FontSubStr%,"Courier New CYR,204",,"Courier New,204" +HKLM,%FontSubStr%,"Courier New Greek,161",,"Courier New,161" +HKLM,%FontSubStr%,"Courier New TUR,162",,"Courier New,162" +HKLM,%FontSubStr%,"Helv",,"MS Sans Serif" +HKLM,%FontSubStr%,"Helvetica",,"Arial" +HKLM,%FontSubStr%,"MS Shell Dlg 2",,"Tahoma" +HKLM,%FontSubStr%,"Times",,"Times New Roman" +HKLM,%FontSubStr%,"Times New Roman Baltic,186",,"Times New Roman,186" +HKLM,%FontSubStr%,"Times New Roman CE,238",,"Times New Roman,238" +HKLM,%FontSubStr%,"Times New Roman CYR,204",,"Times New Roman,204" +HKLM,%FontSubStr%,"Times New Roman Greek,161",,"Times New Roman,161" +HKLM,%FontSubStr%,"Times New Roman TUR,162",,"Times New Roman,162" +HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"LogPixels",0x10003,0x00000060 + +[MCI] +HKLM,%Mci32Str%,"AVIVideo",,"mciavi32.dll" +HKLM,%Mci32Str%,"CDAudio",,"mcicda.dll" +HKLM,%Mci32Str%,"Sequencer",,"mciseq.dll" +HKLM,%Mci32Str%,"WaveAudio",,"mciwave.dll" +HKLM,%Mci32Str%,"MPEGVideo",,"mciqtz32.dll" + +HKLM,%MciExtStr%,"aifc",,"MPEGVideo" +HKLM,%MciExtStr%,"asf",,"MPEGVideo" +HKLM,%MciExtStr%,"asx",,"MPEGVideo" +HKLM,%MciExtStr%,"au",,"MPEGVideo" +HKLM,%MciExtStr%,"avi",,"AVIVideo" +HKLM,%MciExtStr%,"cda",,"CDAudio" +HKLM,%MciExtStr%,"lsf",,"MPEGVideo" +HKLM,%MciExtStr%,"lsx",,"MPEGVideo" +HKLM,%MciExtStr%,"m1v",,"MPEGVideo" +HKLM,%MciExtStr%,"m3u",,"MPEGVideo" +HKLM,%MciExtStr%,"mid",,"Sequencer" +HKLM,%MciExtStr%,"midi",,"Sequencer" +HKLM,%MciExtStr%,"mp2",,"MPEGVideo" +HKLM,%MciExtStr%,"mp2v",,"MPEGVideo" +HKLM,%MciExtStr%,"mp3",,"MPEGVideo" +HKLM,%MciExtStr%,"mpa",,"MPEGVideo" +HKLM,%MciExtStr%,"mpe",,"MPEGVideo" +HKLM,%MciExtStr%,"mpeg",,"MPEGVideo" +HKLM,%MciExtStr%,"mpg",,"MPEGVideo" +HKLM,%MciExtStr%,"mpv",,"MPEGVideo" +HKLM,%MciExtStr%,"mpv2",,"MPEGVideo" +HKLM,%MciExtStr%,"rmi",,"Sequencer" +HKLM,%MciExtStr%,"snd",,"MPEGVideo" +HKLM,%MciExtStr%,"wav",,"WaveAudio" +HKLM,%MciExtStr%,"wax",,"MPEGVideo" +HKLM,%MciExtStr%,"wm",,"MPEGVideo" +HKLM,%MciExtStr%,"wma",,"MPEGVideo" +HKLM,%MciExtStr%,"wmp",,"MPEGVideo" +HKLM,%MciExtStr%,"wmv",,"MPEGVideo" +HKLM,%MciExtStr%,"wmx",,"MPEGVideo" +HKLM,%MciExtStr%,"wvx",,"MPEGVideo" + +[Misc] +HKLM,Software\Borland\Database Engine\Settings\SYSTEM\INIT,SHAREDMEMLOCATION,,9000 +HKLM,Software\Clients\Mail,,2,"Native Mail Client" +HKLM,Software\Clients\Mail\Native Mail Client,,2,"Native Mail Client" +HKLM,Software\Clients\Mail\Native Mail Client,"DLLPath",2,"%11%\winemapi.dll" +HKLM,Software\Microsoft\Advanced INF Setup,,16 +HKLM,Software\Microsoft\Clients,,16 +HKLM,Software\Microsoft\Cryptography\Calais\Current,,16 +HKLM,Software\Microsoft\Cryptography\Calais\Readers,,16 +HKLM,Software\Microsoft\Cryptography\Services,,16 +HKLM,Software\Microsoft\CTF\SystemShared,,16 +HKLM,Software\Microsoft\CTF\TIP,,16 +HKLM,Software\Microsoft\DFS,,16 +HKLM,Software\Microsoft\Driver Signing,,16 +HKLM,Software\Microsoft\EnterpriseCertificates,,16 +HKLM,Software\Microsoft\EventSystem,,16 +HKLM,Software\Microsoft\MediaPlayer,"Installation DirectoryLFN",2,"%16422%\Windows Media Player" +HKLM,Software\Microsoft\MediaPlayer\PlayerUpgrade,"PlayerVersion",2,"12,0,7601,18840" +HKLM,Software\Microsoft\MSMQ,,16 +HKLM,Software\Microsoft\Non-Driver Signing,,16 +HKLM,Software\Microsoft\Notepad\DefaultFonts,,16 +HKLM,Software\Microsoft\RAS,,16 +HKLM,Software\Microsoft\Rpc\SecurityService,1,2,"secur32.dll" +HKLM,Software\Microsoft\Rpc\SecurityService,10,2,"secur32.dll" +HKLM,Software\Microsoft\Rpc\SecurityService,14,2,"schannel.dll" +HKLM,Software\Microsoft\Rpc\SecurityService,16,2,"secur32.dll" +HKLM,Software\Microsoft\Rpc\SecurityService,18,2,"secur32.dll" +HKLM,Software\Microsoft\Rpc\SecurityService,68,2,"netlogon.dll" +HKLM,Software\Microsoft\Rpc\SecurityService,9,2,"secur32.dll" +HKLM,Software\Microsoft\Shared Tools\MSInfo,,16 +HKLM,Software\Microsoft\SystemCertificates,,16 +HKLM,Software\Microsoft\TermServLicensing,,16 +HKLM,Software\Microsoft\Transaction Server,,16 +HKLM,Software\Microsoft\WBEM,"Installation Directory",2,"%11%\wbem" +HKLM,Software\Policies,,16 +HKLM,Software\Registered Applications,,16 +HKLM,System\CurrentControlSet\Control\hivelist,,16 +HKLM,System\CurrentControlSet\Control\Lsa,,16 +HKLM,System\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\SSL 2.0\Client,"DisabledByDefault",0x10003,1 +HKLM,System\CurrentControlSet\Control\ServiceGroupOrder,"List",0x00010000,"TDI" +HKLM,System\CurrentControlSet\Control\TimeZoneInformation,"StandardName",2,"" +HKLM,System\CurrentControlSet\Control\TimeZoneInformation,"TimeZoneKeyName",2,"" +HKLM,System\CurrentControlSet\Control\VirtualDeviceDrivers,,16 +HKLM,System\CurrentControlSet\Control\VMM32Files,,16 +HKLM,System\Select,"Current",0x10003,1 +HKCU,AppEvents\Schemes\Apps\Explorer\Navigating\.Current,,,"" +HKCU,Software\Microsoft\Protected Storage System Provider,,16 +; Some apps requires at least four subkeys of Active Setup\Installed Components +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},,2,"DirectDrawEx" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},"ComponentID",2,"DirectDrawEx" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},"IsInstalled",2,1 +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},"Locale",2,"*" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},"Version",2,"4,71,1113,0" + +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9},,2,"HTML Help" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9},"ComponentID",2,"HTMLHelp" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9},"IsInstalled",2,1 +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9},"Locale",2,"*" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9},"Version",2,"4,74,9273,0" + +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},,2,"Windows Media Player" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"ComponentID",2,"wmp" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"IsInstalled",2,1 +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"Locale",2,"*" +HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"Version",2,"12,0,7601,18840" + +[Nls] +HKLM,System\CurrentControlSet\Control\Nls\Codepage,"37",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0401",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0402",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0403",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0404",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0405",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0406",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0407",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0408",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0409",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"040a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"040b",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"040c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"040d",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"040e",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"040f",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0410",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0411",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0412",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0413",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0414",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0415",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0416",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0418",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0419",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"041a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"041b",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"041c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"041d",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"041e",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"041f",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0420",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0421",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0422",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0423",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0424",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0425",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0426",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0427",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0429",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"042a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"042b",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"042c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"042d",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"042f",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0436",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0437",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0438",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0439",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"043e",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"043f",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0440",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0441",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0443",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0444",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0446",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0447",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0449",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"044a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"044b",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"044e",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"044f",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0450",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0452",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0456",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0457",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"045a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0465",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"047e",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"048f",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0490",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0491",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0494",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0801",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0804",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0807",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0809",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"080a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"080c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0810",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0813",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0814",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0816",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"081a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"081d",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"082c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"083e",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0843",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0894",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c01",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c04",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c07",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c09",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c0a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c0c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c1a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"0c94",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1001",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1004",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1007",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1009",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"100a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"100c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1401",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1404",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1407",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1409",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"140a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"140c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1801",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1809",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"180a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"180c",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1c01",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1c09",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"1c0a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2001",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2009",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"200a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2401",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2409",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"240a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2801",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2809",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"280a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2c01",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2c09",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"2c0a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3001",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3009",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"300a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3401",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3409",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"340a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3801",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"380a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3c01",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"3c0a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"4001",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"400a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"440a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"480a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"4c0a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"500a",,"" +HKLM,System\CurrentControlSet\Control\Nls\Language,"Default",,"0409" +HKLM,System\CurrentControlSet\Control\Nls\Language,"InstallLanguage",,"0409" + +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"1",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"10",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"11",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"2",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"3",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"4",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"5",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"6",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"7",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"8",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"9",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"b",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"d",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"e",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Language Groups,"f",,"1" + +HKLM,System\CurrentControlSet\Control\Nls\Locale,,,"00000409" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000401",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000402",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000403",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000404",,"9" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000405",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000406",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000407",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000408",,"4" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000409",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000040a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000040b",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000040c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000040d",,"c" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000040e",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000040f",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000410",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000411",,"7" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000412",,"8" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000413",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000414",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000415",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000416",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000418",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000419",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000041a",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000041b",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000041c",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000041d",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000041e",,"b" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000041f",,"6" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000420",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000421",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000422",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000423",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000424",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000425",,"3" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000426",,"3" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000427",,"3" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000429",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000042a",,"e" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000042b",,"11" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000042c",,"6" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000042d",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000042f",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000436",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000437",,"10" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000438",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000439",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000043e",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000043f",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000440",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000441",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000443",,"6" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000444",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000446",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000447",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000449",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000044a",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000044b",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000044e",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000044f",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000450",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000452",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000456",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000457",,"f" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000045a",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000465",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000047e",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000048f",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000490",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000491",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000492",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000494",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000801",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000804",,"a" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000807",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000809",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000080a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000080c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000810",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000813",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000814",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000816",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000081a",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000081d",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000082c",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000083c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000083e",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000843",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c01",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c04",,"9" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c07",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c09",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c0a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c0c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00000c1a",,"5" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001001",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001004",,"a" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001007",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001009",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000100a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000100c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001401",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001404",,"9" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001407",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001409",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000140a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000140c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001801",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001809",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000180a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000180c",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001c01",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001c09",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00001c0a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002001",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002009",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000200a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002401",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002409",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000240a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002801",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002809",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000280a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002c01",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002c09",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00002c0a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003001",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003009",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000300a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003401",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003409",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000340a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003801",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000380a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003c01",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00003c0a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00004001",,"d" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000400a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000440a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000480a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"00004c0a",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale,"0000500a",,"1" + +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"00010407",,"1" +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"0001040e",,"2" +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"00010437",,"10" +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"00020804",,"a" +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"00021004",,"a" +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"00021404",,"9" +HKLM,System\CurrentControlSet\Control\Nls\Locale\Alternate Sorts,"00030404",,"9" + +[OLE] +HKLM,"Software\Microsoft\OLE","EnableDCOM",,"Y" +HKLM,"Software\Microsoft\OLE","EnableRemoteConnect",,"N" + +[Printing] +HKLM,%Control%\Print\Monitors\Local Port,"Driver",2,"localspl.dll" +HKLM,%Control%\Print\Printers,"DefaultSpoolDirectory",2,"%11%\spool\printers" +HKLM,%CurrentVersionNT%\Ports,"FILE:",,"" +HKLM,%CurrentVersionNT%\Ports,"LPT1:",,"" +HKLM,%CurrentVersionNT%\Ports,"LPT2:",,"" +HKLM,%CurrentVersionNT%\Ports,"LPT3:",,"" +HKLM,%CurrentVersionNT%\Ports,"COM1:",2,"9600,n,8,1" +HKLM,%CurrentVersionNT%\Ports,"COM2:",2,"9600,n,8,1" +HKLM,%CurrentVersionNT%\Ports,"COM3:",2,"9600,n,8,1" +HKLM,%CurrentVersionNT%\Ports,"COM4:",2,"9600,n,8,1" + +[Tapi] +HKLM,%CurrentVersion%\Telephony,"Perf1",0x10001,0x5045524a +HKLM,%CurrentVersion%\Telephony,"Perf2",0x10001,0x50455246 +HKLM,%CurrentVersion%\Telephony\Locations,,16 + +HKLM,%CurrentVersion%\Telephony\Country List,"CountryListVersion",0x10001,0x00000019 + +HKLM,%CurrentVersion%\Telephony\Country List\1,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\1,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\1,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\1,"Name",,"United States of America" +HKLM,%CurrentVersion%\Telephony\Country List\1,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\101,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\101,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\101,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\101,"Name",,"Anguilla" +HKLM,%CurrentVersion%\Telephony\Country List\101,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\102,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\102,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\102,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\102,"Name",,"Antigua" +HKLM,%CurrentVersion%\Telephony\Country List\102,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\103,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\103,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\103,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\103,"Name",,"Bahamas" +HKLM,%CurrentVersion%\Telephony\Country List\103,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\104,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\104,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\104,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\104,"Name",,"Barbados" +HKLM,%CurrentVersion%\Telephony\Country List\104,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\105,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\105,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\105,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\105,"Name",,"Bermuda" +HKLM,%CurrentVersion%\Telephony\Country List\105,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\106,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\106,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\106,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\106,"Name",,"British Virgin Islands" +HKLM,%CurrentVersion%\Telephony\Country List\106,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\107,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\107,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\107,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\107,"Name",,"Canada" +HKLM,%CurrentVersion%\Telephony\Country List\107,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\108,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\108,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\108,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\108,"Name",,"Cayman Islands" +HKLM,%CurrentVersion%\Telephony\Country List\108,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\109,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\109,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\109,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\109,"Name",,"Dominica" +HKLM,%CurrentVersion%\Telephony\Country List\109,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\110,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\110,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\110,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\110,"Name",,"Dominican Republic" +HKLM,%CurrentVersion%\Telephony\Country List\110,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\111,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\111,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\111,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\111,"Name",,"Grenada" +HKLM,%CurrentVersion%\Telephony\Country List\111,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\112,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\112,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\112,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\112,"Name",,"Jamaica" +HKLM,%CurrentVersion%\Telephony\Country List\112,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\113,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\113,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\113,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\113,"Name",,"Montserrat" +HKLM,%CurrentVersion%\Telephony\Country List\113,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\115,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\115,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\115,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\115,"Name",,"St. Kitts and Nevis" +HKLM,%CurrentVersion%\Telephony\Country List\115,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\116,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\116,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\116,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\116,"Name",,"St. Vincent and the Grenadines" +HKLM,%CurrentVersion%\Telephony\Country List\116,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\117,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\117,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\117,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\117,"Name",,"Trinidad and Tobago" +HKLM,%CurrentVersion%\Telephony\Country List\117,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\118,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\118,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\118,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\118,"Name",,"Turks and Caicos Islands" +HKLM,%CurrentVersion%\Telephony\Country List\118,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\120,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\120,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\120,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\120,"Name",,"Barbuda" +HKLM,%CurrentVersion%\Telephony\Country List\120,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\121,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\121,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\121,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\121,"Name",,"Puerto Rico" +HKLM,%CurrentVersion%\Telephony\Country List\121,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\122,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\122,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\122,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\122,"Name",,"Saint Lucia" +HKLM,%CurrentVersion%\Telephony\Country List\122,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\123,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\123,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\123,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\123,"Name",,"United States Virgin Islands" +HKLM,%CurrentVersion%\Telephony\Country List\123,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\124,"CountryCode",0x10001,0x00000001 +HKLM,%CurrentVersion%\Telephony\Country List\124,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\124,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\124,"Name",,"Guam" +HKLM,%CurrentVersion%\Telephony\Country List\124,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\20,"CountryCode",0x10001,0x00000014 +HKLM,%CurrentVersion%\Telephony\Country List\20,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\20,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\20,"Name",,"Egypt" +HKLM,%CurrentVersion%\Telephony\Country List\20,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\212,"CountryCode",0x10001,0x000000d4 +HKLM,%CurrentVersion%\Telephony\Country List\212,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\212,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\212,"Name",,"Morocco" +HKLM,%CurrentVersion%\Telephony\Country List\212,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\213,"CountryCode",0x10001,0x000000d5 +HKLM,%CurrentVersion%\Telephony\Country List\213,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\213,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\213,"Name",,"Algeria" +HKLM,%CurrentVersion%\Telephony\Country List\213,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\216,"CountryCode",0x10001,0x000000d8 +HKLM,%CurrentVersion%\Telephony\Country List\216,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\216,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\216,"Name",,"Tunisia" +HKLM,%CurrentVersion%\Telephony\Country List\216,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\218,"CountryCode",0x10001,0x000000da +HKLM,%CurrentVersion%\Telephony\Country List\218,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\218,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\218,"Name",,"Libya" +HKLM,%CurrentVersion%\Telephony\Country List\218,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\220,"CountryCode",0x10001,0x000000dc +HKLM,%CurrentVersion%\Telephony\Country List\220,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\220,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\220,"Name",,"Gambia" +HKLM,%CurrentVersion%\Telephony\Country List\220,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\221,"CountryCode",0x10001,0x000000dd +HKLM,%CurrentVersion%\Telephony\Country List\221,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\221,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\221,"Name",,"Senegal Republic" +HKLM,%CurrentVersion%\Telephony\Country List\221,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\222,"CountryCode",0x10001,0x000000de +HKLM,%CurrentVersion%\Telephony\Country List\222,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\222,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\222,"Name",,"Mauritania" +HKLM,%CurrentVersion%\Telephony\Country List\222,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\223,"CountryCode",0x10001,0x000000df +HKLM,%CurrentVersion%\Telephony\Country List\223,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\223,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\223,"Name",,"Mali" +HKLM,%CurrentVersion%\Telephony\Country List\223,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\224,"CountryCode",0x10001,0x000000e0 +HKLM,%CurrentVersion%\Telephony\Country List\224,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\224,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\224,"Name",,"Guinea" +HKLM,%CurrentVersion%\Telephony\Country List\224,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\225,"CountryCode",0x10001,0x000000e1 +HKLM,%CurrentVersion%\Telephony\Country List\225,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\225,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\225,"Name",,"Cote d'Ivoire" +HKLM,%CurrentVersion%\Telephony\Country List\225,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\226,"CountryCode",0x10001,0x000000e2 +HKLM,%CurrentVersion%\Telephony\Country List\226,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\226,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\226,"Name",,"Burkina Faso" +HKLM,%CurrentVersion%\Telephony\Country List\226,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\227,"CountryCode",0x10001,0x000000e3 +HKLM,%CurrentVersion%\Telephony\Country List\227,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\227,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\227,"Name",,"Niger" +HKLM,%CurrentVersion%\Telephony\Country List\227,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\228,"CountryCode",0x10001,0x000000e4 +HKLM,%CurrentVersion%\Telephony\Country List\228,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\228,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\228,"Name",,"Togo" +HKLM,%CurrentVersion%\Telephony\Country List\228,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\229,"CountryCode",0x10001,0x000000e5 +HKLM,%CurrentVersion%\Telephony\Country List\229,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\229,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\229,"Name",,"Benin" +HKLM,%CurrentVersion%\Telephony\Country List\229,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\230,"CountryCode",0x10001,0x000000e6 +HKLM,%CurrentVersion%\Telephony\Country List\230,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\230,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\230,"Name",,"Mauritius" +HKLM,%CurrentVersion%\Telephony\Country List\230,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\231,"CountryCode",0x10001,0x000000e7 +HKLM,%CurrentVersion%\Telephony\Country List\231,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\231,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\231,"Name",,"Liberia" +HKLM,%CurrentVersion%\Telephony\Country List\231,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\232,"CountryCode",0x10001,0x000000e8 +HKLM,%CurrentVersion%\Telephony\Country List\232,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\232,"LongDistanceRule",,"IG" +HKLM,%CurrentVersion%\Telephony\Country List\232,"Name",,"Sierra Leone" +HKLM,%CurrentVersion%\Telephony\Country List\232,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\233,"CountryCode",0x10001,0x000000e9 +HKLM,%CurrentVersion%\Telephony\Country List\233,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\233,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\233,"Name",,"Ghana" +HKLM,%CurrentVersion%\Telephony\Country List\233,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\234,"CountryCode",0x10001,0x000000ea +HKLM,%CurrentVersion%\Telephony\Country List\234,"InternationalRule",,"009EFG" +HKLM,%CurrentVersion%\Telephony\Country List\234,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\234,"Name",,"Nigeria" +HKLM,%CurrentVersion%\Telephony\Country List\234,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\235,"CountryCode",0x10001,0x000000eb +HKLM,%CurrentVersion%\Telephony\Country List\235,"InternationalRule",,"15EFG" +HKLM,%CurrentVersion%\Telephony\Country List\235,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\235,"Name",,"Chad" +HKLM,%CurrentVersion%\Telephony\Country List\235,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\236,"CountryCode",0x10001,0x000000ec +HKLM,%CurrentVersion%\Telephony\Country List\236,"InternationalRule",,"19EFG" +HKLM,%CurrentVersion%\Telephony\Country List\236,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\236,"Name",,"Central African Republic" +HKLM,%CurrentVersion%\Telephony\Country List\236,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\237,"CountryCode",0x10001,0x000000ed +HKLM,%CurrentVersion%\Telephony\Country List\237,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\237,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\237,"Name",,"Cameroon" +HKLM,%CurrentVersion%\Telephony\Country List\237,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\238,"CountryCode",0x10001,0x000000ee +HKLM,%CurrentVersion%\Telephony\Country List\238,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\238,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\238,"Name",,"Cape Verde Islands" +HKLM,%CurrentVersion%\Telephony\Country List\238,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\239,"CountryCode",0x10001,0x000000ef +HKLM,%CurrentVersion%\Telephony\Country List\239,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\239,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\239,"Name",,"Sao Tome and Principe" +HKLM,%CurrentVersion%\Telephony\Country List\239,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\240,"CountryCode",0x10001,0x000000f0 +HKLM,%CurrentVersion%\Telephony\Country List\240,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\240,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\240,"Name",,"Equatorial Guinea" +HKLM,%CurrentVersion%\Telephony\Country List\240,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\241,"CountryCode",0x10001,0x000000f1 +HKLM,%CurrentVersion%\Telephony\Country List\241,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\241,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\241,"Name",,"Gabon" +HKLM,%CurrentVersion%\Telephony\Country List\241,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\242,"CountryCode",0x10001,0x000000f2 +HKLM,%CurrentVersion%\Telephony\Country List\242,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\242,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\242,"Name",,"Congo" +HKLM,%CurrentVersion%\Telephony\Country List\242,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\243,"CountryCode",0x10001,0x000000f3 +HKLM,%CurrentVersion%\Telephony\Country List\243,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\243,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\243,"Name",,"Congo, Democratic Republic of the" +HKLM,%CurrentVersion%\Telephony\Country List\243,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\244,"CountryCode",0x10001,0x000000f4 +HKLM,%CurrentVersion%\Telephony\Country List\244,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\244,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\244,"Name",,"Angola" +HKLM,%CurrentVersion%\Telephony\Country List\244,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\245,"CountryCode",0x10001,0x000000f5 +HKLM,%CurrentVersion%\Telephony\Country List\245,"InternationalRule",,"099EFG" +HKLM,%CurrentVersion%\Telephony\Country List\245,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\245,"Name",,"Guinea-Bissau" +HKLM,%CurrentVersion%\Telephony\Country List\245,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\246,"CountryCode",0x10001,0x000000f6 +HKLM,%CurrentVersion%\Telephony\Country List\246,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\246,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\246,"Name",,"Diego Garcia" +HKLM,%CurrentVersion%\Telephony\Country List\246,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\247,"CountryCode",0x10001,0x000000f7 +HKLM,%CurrentVersion%\Telephony\Country List\247,"InternationalRule",,"01EFG" +HKLM,%CurrentVersion%\Telephony\Country List\247,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\247,"Name",,"Ascension Island" +HKLM,%CurrentVersion%\Telephony\Country List\247,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\248,"CountryCode",0x10001,0x000000f8 +HKLM,%CurrentVersion%\Telephony\Country List\248,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\248,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\248,"Name",,"Seychelles" +HKLM,%CurrentVersion%\Telephony\Country List\248,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\249,"CountryCode",0x10001,0x000000f9 +HKLM,%CurrentVersion%\Telephony\Country List\249,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\249,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\249,"Name",,"Sudan" +HKLM,%CurrentVersion%\Telephony\Country List\249,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\250,"CountryCode",0x10001,0x000000fa +HKLM,%CurrentVersion%\Telephony\Country List\250,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\250,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\250,"Name",,"Rwanda" +HKLM,%CurrentVersion%\Telephony\Country List\250,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\251,"CountryCode",0x10001,0x000000fb +HKLM,%CurrentVersion%\Telephony\Country List\251,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\251,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\251,"Name",,"Ethiopia" +HKLM,%CurrentVersion%\Telephony\Country List\251,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\252,"CountryCode",0x10001,0x000000fc +HKLM,%CurrentVersion%\Telephony\Country List\252,"InternationalRule",,"19,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\252,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\252,"Name",,"Somalia" +HKLM,%CurrentVersion%\Telephony\Country List\252,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\253,"CountryCode",0x10001,0x000000fd +HKLM,%CurrentVersion%\Telephony\Country List\253,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\253,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\253,"Name",,"Djibouti" +HKLM,%CurrentVersion%\Telephony\Country List\253,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\254,"CountryCode",0x10001,0x000000fe +HKLM,%CurrentVersion%\Telephony\Country List\254,"InternationalRule",,"000EFG" +HKLM,%CurrentVersion%\Telephony\Country List\254,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\254,"Name",,"Kenya" +HKLM,%CurrentVersion%\Telephony\Country List\254,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\255,"CountryCode",0x10001,0x000000ff +HKLM,%CurrentVersion%\Telephony\Country List\255,"InternationalRule",,"0900EFG" +HKLM,%CurrentVersion%\Telephony\Country List\255,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\255,"Name",,"Tanzania" +HKLM,%CurrentVersion%\Telephony\Country List\255,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\256,"CountryCode",0x10001,0x00000100 +HKLM,%CurrentVersion%\Telephony\Country List\256,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\256,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\256,"Name",,"Uganda" +HKLM,%CurrentVersion%\Telephony\Country List\256,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\257,"CountryCode",0x10001,0x00000101 +HKLM,%CurrentVersion%\Telephony\Country List\257,"InternationalRule",,"90EFG" +HKLM,%CurrentVersion%\Telephony\Country List\257,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\257,"Name",,"Burundi" +HKLM,%CurrentVersion%\Telephony\Country List\257,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\258,"CountryCode",0x10001,0x00000102 +HKLM,%CurrentVersion%\Telephony\Country List\258,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\258,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\258,"Name",,"Mozambique" +HKLM,%CurrentVersion%\Telephony\Country List\258,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\260,"CountryCode",0x10001,0x00000104 +HKLM,%CurrentVersion%\Telephony\Country List\260,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\260,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\260,"Name",,"Zambia" +HKLM,%CurrentVersion%\Telephony\Country List\260,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\261,"CountryCode",0x10001,0x00000105 +HKLM,%CurrentVersion%\Telephony\Country List\261,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\261,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\261,"Name",,"Madagascar" +HKLM,%CurrentVersion%\Telephony\Country List\261,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\262,"CountryCode",0x10001,0x00000106 +HKLM,%CurrentVersion%\Telephony\Country List\262,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\262,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\262,"Name",,"Reunion Island" +HKLM,%CurrentVersion%\Telephony\Country List\262,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\263,"CountryCode",0x10001,0x00000107 +HKLM,%CurrentVersion%\Telephony\Country List\263,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\263,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\263,"Name",,"Zimbabwe" +HKLM,%CurrentVersion%\Telephony\Country List\263,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\264,"CountryCode",0x10001,0x00000108 +HKLM,%CurrentVersion%\Telephony\Country List\264,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\264,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\264,"Name",,"Namibia" +HKLM,%CurrentVersion%\Telephony\Country List\264,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\265,"CountryCode",0x10001,0x00000109 +HKLM,%CurrentVersion%\Telephony\Country List\265,"InternationalRule",,"101EFG" +HKLM,%CurrentVersion%\Telephony\Country List\265,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\265,"Name",,"Malawi" +HKLM,%CurrentVersion%\Telephony\Country List\265,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\266,"CountryCode",0x10001,0x0000010a +HKLM,%CurrentVersion%\Telephony\Country List\266,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\266,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\266,"Name",,"Lesotho" +HKLM,%CurrentVersion%\Telephony\Country List\266,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\267,"CountryCode",0x10001,0x0000010b +HKLM,%CurrentVersion%\Telephony\Country List\267,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\267,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\267,"Name",,"Botswana" +HKLM,%CurrentVersion%\Telephony\Country List\267,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\268,"CountryCode",0x10001,0x0000010c +HKLM,%CurrentVersion%\Telephony\Country List\268,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\268,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\268,"Name",,"Swaziland" +HKLM,%CurrentVersion%\Telephony\Country List\268,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\269,"CountryCode",0x10001,0x0000010d +HKLM,%CurrentVersion%\Telephony\Country List\269,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\269,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\269,"Name",,"Mayotte Island" +HKLM,%CurrentVersion%\Telephony\Country List\269,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\2691,"CountryCode",0x10001,0x0000010d +HKLM,%CurrentVersion%\Telephony\Country List\2691,"InternationalRule",,"10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\2691,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\2691,"Name",,"Comoros" +HKLM,%CurrentVersion%\Telephony\Country List\2691,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\27,"CountryCode",0x10001,0x0000001b +HKLM,%CurrentVersion%\Telephony\Country List\27,"InternationalRule",,"09EFG" +HKLM,%CurrentVersion%\Telephony\Country List\27,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\27,"Name",,"South Africa" +HKLM,%CurrentVersion%\Telephony\Country List\27,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\290,"CountryCode",0x10001,0x00000122 +HKLM,%CurrentVersion%\Telephony\Country List\290,"InternationalRule",,"01EFG" +HKLM,%CurrentVersion%\Telephony\Country List\290,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\290,"Name",,"St. Helena" +HKLM,%CurrentVersion%\Telephony\Country List\290,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\291,"CountryCode",0x10001,0x00000123 +HKLM,%CurrentVersion%\Telephony\Country List\291,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\291,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\291,"Name",,"Eritrea" +HKLM,%CurrentVersion%\Telephony\Country List\291,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\297,"CountryCode",0x10001,0x00000129 +HKLM,%CurrentVersion%\Telephony\Country List\297,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\297,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\297,"Name",,"Aruba" +HKLM,%CurrentVersion%\Telephony\Country List\297,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\298,"CountryCode",0x10001,0x0000012a +HKLM,%CurrentVersion%\Telephony\Country List\298,"InternationalRule",,"009EFG" +HKLM,%CurrentVersion%\Telephony\Country List\298,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\298,"Name",,"Faroe Islands" +HKLM,%CurrentVersion%\Telephony\Country List\298,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\299,"CountryCode",0x10001,0x0000012b +HKLM,%CurrentVersion%\Telephony\Country List\299,"InternationalRule",,"009EFG" +HKLM,%CurrentVersion%\Telephony\Country List\299,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\299,"Name",,"Greenland" +HKLM,%CurrentVersion%\Telephony\Country List\299,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\30,"CountryCode",0x10001,0x0000001e +HKLM,%CurrentVersion%\Telephony\Country List\30,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\30,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\30,"Name",,"Greece" +HKLM,%CurrentVersion%\Telephony\Country List\30,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\31,"CountryCode",0x10001,0x0000001f +HKLM,%CurrentVersion%\Telephony\Country List\31,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\31,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\31,"Name",,"Netherlands" +HKLM,%CurrentVersion%\Telephony\Country List\31,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\32,"CountryCode",0x10001,0x00000020 +HKLM,%CurrentVersion%\Telephony\Country List\32,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\32,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\32,"Name",,"Belgium" +HKLM,%CurrentVersion%\Telephony\Country List\32,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\33,"CountryCode",0x10001,0x00000021 +HKLM,%CurrentVersion%\Telephony\Country List\33,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\33,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\33,"Name",,"France" +HKLM,%CurrentVersion%\Telephony\Country List\33,"SameAreaRule",,"0FG" + +HKLM,%CurrentVersion%\Telephony\Country List\34,"CountryCode",0x10001,0x00000022 +HKLM,%CurrentVersion%\Telephony\Country List\34,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\34,"LongDistanceRule",,"IG" +HKLM,%CurrentVersion%\Telephony\Country List\34,"Name",,"Spain" +HKLM,%CurrentVersion%\Telephony\Country List\34,"SameAreaRule",,"IG" + +HKLM,%CurrentVersion%\Telephony\Country List\350,"CountryCode",0x10001,0x0000015e +HKLM,%CurrentVersion%\Telephony\Country List\350,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\350,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\350,"Name",,"Gibraltar" +HKLM,%CurrentVersion%\Telephony\Country List\350,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\351,"CountryCode",0x10001,0x0000015f +HKLM,%CurrentVersion%\Telephony\Country List\351,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\351,"LongDistanceRule",,"IG" +HKLM,%CurrentVersion%\Telephony\Country List\351,"Name",,"Portugal" +HKLM,%CurrentVersion%\Telephony\Country List\351,"SameAreaRule",,"IG" + +HKLM,%CurrentVersion%\Telephony\Country List\352,"CountryCode",0x10001,0x00000160 +HKLM,%CurrentVersion%\Telephony\Country List\352,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\352,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\352,"Name",,"Luxembourg" +HKLM,%CurrentVersion%\Telephony\Country List\352,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\353,"CountryCode",0x10001,0x00000161 +HKLM,%CurrentVersion%\Telephony\Country List\353,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\353,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\353,"Name",,"Ireland" +HKLM,%CurrentVersion%\Telephony\Country List\353,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\354,"CountryCode",0x10001,0x00000162 +HKLM,%CurrentVersion%\Telephony\Country List\354,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\354,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\354,"Name",,"Iceland" +HKLM,%CurrentVersion%\Telephony\Country List\354,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\355,"CountryCode",0x10001,0x00000163 +HKLM,%CurrentVersion%\Telephony\Country List\355,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\355,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\355,"Name",,"Albania" +HKLM,%CurrentVersion%\Telephony\Country List\355,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\356,"CountryCode",0x10001,0x00000164 +HKLM,%CurrentVersion%\Telephony\Country List\356,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\356,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\356,"Name",,"Malta" +HKLM,%CurrentVersion%\Telephony\Country List\356,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\357,"CountryCode",0x10001,0x00000165 +HKLM,%CurrentVersion%\Telephony\Country List\357,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\357,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\357,"Name",,"Cyprus" +HKLM,%CurrentVersion%\Telephony\Country List\357,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\358,"CountryCode",0x10001,0x00000166 +HKLM,%CurrentVersion%\Telephony\Country List\358,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\358,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\358,"Name",,"Finland" +HKLM,%CurrentVersion%\Telephony\Country List\358,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\359,"CountryCode",0x10001,0x00000167 +HKLM,%CurrentVersion%\Telephony\Country List\359,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\359,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\359,"Name",,"Bulgaria" +HKLM,%CurrentVersion%\Telephony\Country List\359,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\36,"CountryCode",0x10001,0x00000024 +HKLM,%CurrentVersion%\Telephony\Country List\36,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\36,"LongDistanceRule",," 06,FG" +HKLM,%CurrentVersion%\Telephony\Country List\36,"Name",,"Hungary" +HKLM,%CurrentVersion%\Telephony\Country List\36,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\370,"CountryCode",0x10001,0x00000172 +HKLM,%CurrentVersion%\Telephony\Country List\370,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\370,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\370,"Name",,"Lithuania" +HKLM,%CurrentVersion%\Telephony\Country List\370,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\371,"CountryCode",0x10001,0x00000173 +HKLM,%CurrentVersion%\Telephony\Country List\371,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\371,"LongDistanceRule",," 8,FG" +HKLM,%CurrentVersion%\Telephony\Country List\371,"Name",,"Latvia" +HKLM,%CurrentVersion%\Telephony\Country List\371,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\372,"CountryCode",0x10001,0x00000174 +HKLM,%CurrentVersion%\Telephony\Country List\372,"InternationalRule",,"8,00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\372,"LongDistanceRule",," 8,2IG" +HKLM,%CurrentVersion%\Telephony\Country List\372,"Name",,"Estonia" +HKLM,%CurrentVersion%\Telephony\Country List\372,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\373,"CountryCode",0x10001,0x00000175 +HKLM,%CurrentVersion%\Telephony\Country List\373,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\373,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\373,"Name",,"Moldova" +HKLM,%CurrentVersion%\Telephony\Country List\373,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\374,"CountryCode",0x10001,0x00000176 +HKLM,%CurrentVersion%\Telephony\Country List\374,"InternationalRule",,"8,10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\374,"LongDistanceRule",," 8,IG" +HKLM,%CurrentVersion%\Telephony\Country List\374,"Name",,"Armenia" +HKLM,%CurrentVersion%\Telephony\Country List\374,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\375,"CountryCode",0x10001,0x00000177 +HKLM,%CurrentVersion%\Telephony\Country List\375,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\375,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\375,"Name",,"Belarus" +HKLM,%CurrentVersion%\Telephony\Country List\375,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\376,"CountryCode",0x10001,0x00000178 +HKLM,%CurrentVersion%\Telephony\Country List\376,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\376,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\376,"Name",,"Andorra" +HKLM,%CurrentVersion%\Telephony\Country List\376,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\377,"CountryCode",0x10001,0x00000179 +HKLM,%CurrentVersion%\Telephony\Country List\377,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\377,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\377,"Name",,"Monaco" +HKLM,%CurrentVersion%\Telephony\Country List\377,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\378,"CountryCode",0x10001,0x0000017a +HKLM,%CurrentVersion%\Telephony\Country List\378,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\378,"LongDistanceRule",,"IG" +HKLM,%CurrentVersion%\Telephony\Country List\378,"Name",,"San Marino" +HKLM,%CurrentVersion%\Telephony\Country List\378,"SameAreaRule",,"IG" + +HKLM,%CurrentVersion%\Telephony\Country List\379,"CountryCode",0x10001,0x00000027 +HKLM,%CurrentVersion%\Telephony\Country List\379,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\379,"LongDistanceRule",,"IG" +HKLM,%CurrentVersion%\Telephony\Country List\379,"Name",,"Vatican City" +HKLM,%CurrentVersion%\Telephony\Country List\379,"SameAreaRule",,"IG" + +HKLM,%CurrentVersion%\Telephony\Country List\380,"CountryCode",0x10001,0x0000017c +HKLM,%CurrentVersion%\Telephony\Country List\380,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\380,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\380,"Name",,"Ukraine" +HKLM,%CurrentVersion%\Telephony\Country List\380,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\381,"CountryCode",0x10001,0x0000017d +HKLM,%CurrentVersion%\Telephony\Country List\381,"InternationalRule",,"99EFG" +HKLM,%CurrentVersion%\Telephony\Country List\381,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\381,"Name",,"Yugoslavia" +HKLM,%CurrentVersion%\Telephony\Country List\381,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\385,"CountryCode",0x10001,0x00000181 +HKLM,%CurrentVersion%\Telephony\Country List\385,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\385,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\385,"Name",,"Croatia" +HKLM,%CurrentVersion%\Telephony\Country List\385,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\386,"CountryCode",0x10001,0x00000182 +HKLM,%CurrentVersion%\Telephony\Country List\386,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\386,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\386,"Name",,"Slovenia" +HKLM,%CurrentVersion%\Telephony\Country List\386,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\387,"CountryCode",0x10001,0x00000183 +HKLM,%CurrentVersion%\Telephony\Country List\387,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\387,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\387,"Name",,"Bosnia and Herzegovina" +HKLM,%CurrentVersion%\Telephony\Country List\387,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\389,"CountryCode",0x10001,0x00000185 +HKLM,%CurrentVersion%\Telephony\Country List\389,"InternationalRule",,"99EFG" +HKLM,%CurrentVersion%\Telephony\Country List\389,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\389,"Name",,"F.Y.R.O.M. (Former Yugoslav Republic of Macedonia)" +HKLM,%CurrentVersion%\Telephony\Country List\389,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\39,"CountryCode",0x10001,0x00000027 +HKLM,%CurrentVersion%\Telephony\Country List\39,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\39,"LongDistanceRule",,"IG" +HKLM,%CurrentVersion%\Telephony\Country List\39,"Name",,"Italy" +HKLM,%CurrentVersion%\Telephony\Country List\39,"SameAreaRule",,"IG" + +HKLM,%CurrentVersion%\Telephony\Country List\40,"CountryCode",0x10001,0x00000028 +HKLM,%CurrentVersion%\Telephony\Country List\40,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\40,"LongDistanceRule",," 0FG" +HKLM,%CurrentVersion%\Telephony\Country List\40,"Name",,"Romania" +HKLM,%CurrentVersion%\Telephony\Country List\40,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\41,"CountryCode",0x10001,0x00000029 +HKLM,%CurrentVersion%\Telephony\Country List\41,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\41,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\41,"Name",,"Switzerland" +HKLM,%CurrentVersion%\Telephony\Country List\41,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\420,"CountryCode",0x10001,0x000001a4 +HKLM,%CurrentVersion%\Telephony\Country List\420,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\420,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\420,"Name",,"Czech Republic" +HKLM,%CurrentVersion%\Telephony\Country List\420,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\421,"CountryCode",0x10001,0x000001a5 +HKLM,%CurrentVersion%\Telephony\Country List\421,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\421,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\421,"Name",,"Slovakia" +HKLM,%CurrentVersion%\Telephony\Country List\421,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\423,"CountryCode",0x10001,0x000001a7 +HKLM,%CurrentVersion%\Telephony\Country List\423,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\423,"LongDistanceRule",,"G" +HKLM,%CurrentVersion%\Telephony\Country List\423,"Name",,"Liechtenstein" +HKLM,%CurrentVersion%\Telephony\Country List\423,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\43,"CountryCode",0x10001,0x0000002b +HKLM,%CurrentVersion%\Telephony\Country List\43,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\43,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\43,"Name",,"Austria" +HKLM,%CurrentVersion%\Telephony\Country List\43,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\44,"CountryCode",0x10001,0x0000002c +HKLM,%CurrentVersion%\Telephony\Country List\44,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\44,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\44,"Name",,"United Kingdom" +HKLM,%CurrentVersion%\Telephony\Country List\44,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\45,"CountryCode",0x10001,0x0000002d +HKLM,%CurrentVersion%\Telephony\Country List\45,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\45,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\45,"Name",,"Denmark" +HKLM,%CurrentVersion%\Telephony\Country List\45,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\46,"CountryCode",0x10001,0x0000002e +HKLM,%CurrentVersion%\Telephony\Country List\46,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\46,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\46,"Name",,"Sweden" +HKLM,%CurrentVersion%\Telephony\Country List\46,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\47,"CountryCode",0x10001,0x0000002f +HKLM,%CurrentVersion%\Telephony\Country List\47,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\47,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\47,"Name",,"Norway" +HKLM,%CurrentVersion%\Telephony\Country List\47,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\48,"CountryCode",0x10001,0x00000030 +HKLM,%CurrentVersion%\Telephony\Country List\48,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\48,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\48,"Name",,"Poland" +HKLM,%CurrentVersion%\Telephony\Country List\48,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\49,"CountryCode",0x10001,0x00000031 +HKLM,%CurrentVersion%\Telephony\Country List\49,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\49,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\49,"Name",,"Germany" +HKLM,%CurrentVersion%\Telephony\Country List\49,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\500,"CountryCode",0x10001,0x000001f4 +HKLM,%CurrentVersion%\Telephony\Country List\500,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\500,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\500,"Name",,"Falkland Islands (Islas Malvinas)" +HKLM,%CurrentVersion%\Telephony\Country List\500,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\501,"CountryCode",0x10001,0x000001f5 +HKLM,%CurrentVersion%\Telephony\Country List\501,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\501,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\501,"Name",,"Belize" +HKLM,%CurrentVersion%\Telephony\Country List\501,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\502,"CountryCode",0x10001,0x000001f6 +HKLM,%CurrentVersion%\Telephony\Country List\502,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\502,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\502,"Name",,"Guatemala" +HKLM,%CurrentVersion%\Telephony\Country List\502,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\503,"CountryCode",0x10001,0x000001f7 +HKLM,%CurrentVersion%\Telephony\Country List\503,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\503,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\503,"Name",,"El Salvador" +HKLM,%CurrentVersion%\Telephony\Country List\503,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\504,"CountryCode",0x10001,0x000001f8 +HKLM,%CurrentVersion%\Telephony\Country List\504,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\504,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\504,"Name",,"Honduras" +HKLM,%CurrentVersion%\Telephony\Country List\504,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\505,"CountryCode",0x10001,0x000001f9 +HKLM,%CurrentVersion%\Telephony\Country List\505,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\505,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\505,"Name",,"Nicaragua" +HKLM,%CurrentVersion%\Telephony\Country List\505,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\506,"CountryCode",0x10001,0x000001fa +HKLM,%CurrentVersion%\Telephony\Country List\506,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\506,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\506,"Name",,"Costa Rica" +HKLM,%CurrentVersion%\Telephony\Country List\506,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\507,"CountryCode",0x10001,0x000001fb +HKLM,%CurrentVersion%\Telephony\Country List\507,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\507,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\507,"Name",,"Panama" +HKLM,%CurrentVersion%\Telephony\Country List\507,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\508,"CountryCode",0x10001,0x000001fc +HKLM,%CurrentVersion%\Telephony\Country List\508,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\508,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\508,"Name",,"St. Pierre and Miquelon" +HKLM,%CurrentVersion%\Telephony\Country List\508,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\509,"CountryCode",0x10001,0x000001fd +HKLM,%CurrentVersion%\Telephony\Country List\509,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\509,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\509,"Name",,"Haiti" +HKLM,%CurrentVersion%\Telephony\Country List\509,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\51,"CountryCode",0x10001,0x00000033 +HKLM,%CurrentVersion%\Telephony\Country List\51,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\51,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\51,"Name",,"Peru" +HKLM,%CurrentVersion%\Telephony\Country List\51,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\52,"CountryCode",0x10001,0x00000034 +HKLM,%CurrentVersion%\Telephony\Country List\52,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\52,"LongDistanceRule",," 01FG" +HKLM,%CurrentVersion%\Telephony\Country List\52,"Name",,"Mexico" +HKLM,%CurrentVersion%\Telephony\Country List\52,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\53,"CountryCode",0x10001,0x00000035 +HKLM,%CurrentVersion%\Telephony\Country List\53,"InternationalRule",,"119EFG" +HKLM,%CurrentVersion%\Telephony\Country List\53,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\53,"Name",,"Cuba" +HKLM,%CurrentVersion%\Telephony\Country List\53,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\5399,"CountryCode",0x10001,0x00000035 +HKLM,%CurrentVersion%\Telephony\Country List\5399,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\5399,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\5399,"Name",,"Guantanamo Bay" +HKLM,%CurrentVersion%\Telephony\Country List\5399,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\54,"CountryCode",0x10001,0x00000036 +HKLM,%CurrentVersion%\Telephony\Country List\54,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\54,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\54,"Name",,"Argentina" +HKLM,%CurrentVersion%\Telephony\Country List\54,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\55,"CountryCode",0x10001,0x00000037 +HKLM,%CurrentVersion%\Telephony\Country List\55,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\55,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\55,"Name",,"Brazil" +HKLM,%CurrentVersion%\Telephony\Country List\55,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\56,"CountryCode",0x10001,0x00000038 +HKLM,%CurrentVersion%\Telephony\Country List\56,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\56,"LongDistanceRule",,"FG" +HKLM,%CurrentVersion%\Telephony\Country List\56,"Name",,"Chile" +HKLM,%CurrentVersion%\Telephony\Country List\56,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\57,"CountryCode",0x10001,0x00000039 +HKLM,%CurrentVersion%\Telephony\Country List\57,"InternationalRule",,"009EFG" +HKLM,%CurrentVersion%\Telephony\Country List\57,"LongDistanceRule",,"09FG" +HKLM,%CurrentVersion%\Telephony\Country List\57,"Name",,"Colombia" +HKLM,%CurrentVersion%\Telephony\Country List\57,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\58,"CountryCode",0x10001,0x0000003a +HKLM,%CurrentVersion%\Telephony\Country List\58,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\58,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\58,"Name",,"Venezuela" +HKLM,%CurrentVersion%\Telephony\Country List\58,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\590,"CountryCode",0x10001,0x0000024e +HKLM,%CurrentVersion%\Telephony\Country List\590,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\590,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\590,"Name",,"Guadeloupe" +HKLM,%CurrentVersion%\Telephony\Country List\590,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\5901,"CountryCode",0x10001,0x0000024e +HKLM,%CurrentVersion%\Telephony\Country List\5901,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\5901,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\5901,"Name",,"French Antilles" +HKLM,%CurrentVersion%\Telephony\Country List\5901,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\591,"CountryCode",0x10001,0x0000024f +HKLM,%CurrentVersion%\Telephony\Country List\591,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\591,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\591,"Name",,"Bolivia" +HKLM,%CurrentVersion%\Telephony\Country List\591,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\592,"CountryCode",0x10001,0x00000250 +HKLM,%CurrentVersion%\Telephony\Country List\592,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\592,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\592,"Name",,"Guyana" +HKLM,%CurrentVersion%\Telephony\Country List\592,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\593,"CountryCode",0x10001,0x00000251 +HKLM,%CurrentVersion%\Telephony\Country List\593,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\593,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\593,"Name",,"Ecuador" +HKLM,%CurrentVersion%\Telephony\Country List\593,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\594,"CountryCode",0x10001,0x00000252 +HKLM,%CurrentVersion%\Telephony\Country List\594,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\594,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\594,"Name",,"French Guiana" +HKLM,%CurrentVersion%\Telephony\Country List\594,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\595,"CountryCode",0x10001,0x00000253 +HKLM,%CurrentVersion%\Telephony\Country List\595,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\595,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\595,"Name",,"Paraguay" +HKLM,%CurrentVersion%\Telephony\Country List\595,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\596,"CountryCode",0x10001,0x00000254 +HKLM,%CurrentVersion%\Telephony\Country List\596,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\596,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\596,"Name",,"Martinique" +HKLM,%CurrentVersion%\Telephony\Country List\596,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\597,"CountryCode",0x10001,0x00000255 +HKLM,%CurrentVersion%\Telephony\Country List\597,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\597,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\597,"Name",,"Suriname" +HKLM,%CurrentVersion%\Telephony\Country List\597,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\598,"CountryCode",0x10001,0x00000256 +HKLM,%CurrentVersion%\Telephony\Country List\598,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\598,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\598,"Name",,"Uruguay" +HKLM,%CurrentVersion%\Telephony\Country List\598,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\599,"CountryCode",0x10001,0x00000257 +HKLM,%CurrentVersion%\Telephony\Country List\599,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\599,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\599,"Name",,"Netherlands Antilles" +HKLM,%CurrentVersion%\Telephony\Country List\599,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\60,"CountryCode",0x10001,0x0000003c +HKLM,%CurrentVersion%\Telephony\Country List\60,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\60,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\60,"Name",,"Malaysia" +HKLM,%CurrentVersion%\Telephony\Country List\60,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\61,"CountryCode",0x10001,0x0000003d +HKLM,%CurrentVersion%\Telephony\Country List\61,"InternationalRule",,"0011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\61,"LongDistanceRule",," 0FG" +HKLM,%CurrentVersion%\Telephony\Country List\61,"Name",,"Australia" +HKLM,%CurrentVersion%\Telephony\Country List\61,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\6101,"CountryCode",0x10001,0x0000003d +HKLM,%CurrentVersion%\Telephony\Country List\6101,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\6101,"LongDistanceRule",," 0FG" +HKLM,%CurrentVersion%\Telephony\Country List\6101,"Name",,"Cocos-Keeling Islands" +HKLM,%CurrentVersion%\Telephony\Country List\6101,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\62,"CountryCode",0x10001,0x0000003e +HKLM,%CurrentVersion%\Telephony\Country List\62,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\62,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\62,"Name",,"Indonesia" +HKLM,%CurrentVersion%\Telephony\Country List\62,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\63,"CountryCode",0x10001,0x0000003f +HKLM,%CurrentVersion%\Telephony\Country List\63,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\63,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\63,"Name",,"Philippines" +HKLM,%CurrentVersion%\Telephony\Country List\63,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\64,"CountryCode",0x10001,0x00000040 +HKLM,%CurrentVersion%\Telephony\Country List\64,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\64,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\64,"Name",,"New Zealand" +HKLM,%CurrentVersion%\Telephony\Country List\64,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\65,"CountryCode",0x10001,0x00000041 +HKLM,%CurrentVersion%\Telephony\Country List\65,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\65,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\65,"Name",,"Singapore" +HKLM,%CurrentVersion%\Telephony\Country List\65,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\66,"CountryCode",0x10001,0x00000042 +HKLM,%CurrentVersion%\Telephony\Country List\66,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\66,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\66,"Name",,"Thailand" +HKLM,%CurrentVersion%\Telephony\Country List\66,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\670,"CountryCode",0x10001,0x0000029e +HKLM,%CurrentVersion%\Telephony\Country List\670,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\670,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\670,"Name",,"Saipan Island" +HKLM,%CurrentVersion%\Telephony\Country List\670,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\6701,"CountryCode",0x10001,0x0000029e +HKLM,%CurrentVersion%\Telephony\Country List\6701,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\6701,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\6701,"Name",,"Rota Island" +HKLM,%CurrentVersion%\Telephony\Country List\6701,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\6702,"CountryCode",0x10001,0x0000029e +HKLM,%CurrentVersion%\Telephony\Country List\6702,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\6702,"LongDistanceRule",," 1FG" +HKLM,%CurrentVersion%\Telephony\Country List\6702,"Name",,"Tinian Island" +HKLM,%CurrentVersion%\Telephony\Country List\6702,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\672,"CountryCode",0x10001,0x000002a0 +HKLM,%CurrentVersion%\Telephony\Country List\672,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\672,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\672,"Name",,"Christmas Island" +HKLM,%CurrentVersion%\Telephony\Country List\672,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\6722,"CountryCode",0x10001,0x000002a0 +HKLM,%CurrentVersion%\Telephony\Country List\6722,"InternationalRule",,"0101EFG" +HKLM,%CurrentVersion%\Telephony\Country List\6722,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\6722,"Name",,"Norfolk Island" +HKLM,%CurrentVersion%\Telephony\Country List\6722,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\673,"CountryCode",0x10001,0x000002a1 +HKLM,%CurrentVersion%\Telephony\Country List\673,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\673,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\673,"Name",,"Brunei" +HKLM,%CurrentVersion%\Telephony\Country List\673,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\674,"CountryCode",0x10001,0x000002a2 +HKLM,%CurrentVersion%\Telephony\Country List\674,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\674,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\674,"Name",,"Nauru" +HKLM,%CurrentVersion%\Telephony\Country List\674,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\675,"CountryCode",0x10001,0x000002a3 +HKLM,%CurrentVersion%\Telephony\Country List\675,"InternationalRule",,"05EFG" +HKLM,%CurrentVersion%\Telephony\Country List\675,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\675,"Name",,"Papua New Guinea" +HKLM,%CurrentVersion%\Telephony\Country List\675,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\676,"CountryCode",0x10001,0x000002a4 +HKLM,%CurrentVersion%\Telephony\Country List\676,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\676,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\676,"Name",,"Tonga" +HKLM,%CurrentVersion%\Telephony\Country List\676,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\677,"CountryCode",0x10001,0x000002a5 +HKLM,%CurrentVersion%\Telephony\Country List\677,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\677,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\677,"Name",,"Solomon Islands" +HKLM,%CurrentVersion%\Telephony\Country List\677,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\678,"CountryCode",0x10001,0x000002a6 +HKLM,%CurrentVersion%\Telephony\Country List\678,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\678,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\678,"Name",,"Vanuatu" +HKLM,%CurrentVersion%\Telephony\Country List\678,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\679,"CountryCode",0x10001,0x000002a7 +HKLM,%CurrentVersion%\Telephony\Country List\679,"InternationalRule",,"05EFG" +HKLM,%CurrentVersion%\Telephony\Country List\679,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\679,"Name",,"Fiji Islands" +HKLM,%CurrentVersion%\Telephony\Country List\679,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\680,"CountryCode",0x10001,0x000002a8 +HKLM,%CurrentVersion%\Telephony\Country List\680,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\680,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\680,"Name",,"Palau" +HKLM,%CurrentVersion%\Telephony\Country List\680,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\681,"CountryCode",0x10001,0x000002a9 +HKLM,%CurrentVersion%\Telephony\Country List\681,"InternationalRule",,"00,EFG" +HKLM,%CurrentVersion%\Telephony\Country List\681,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\681,"Name",,"Wallis and Futuna Islands" +HKLM,%CurrentVersion%\Telephony\Country List\681,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\682,"CountryCode",0x10001,0x000002aa +HKLM,%CurrentVersion%\Telephony\Country List\682,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\682,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\682,"Name",,"Cook Islands" +HKLM,%CurrentVersion%\Telephony\Country List\682,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\683,"CountryCode",0x10001,0x000002ab +HKLM,%CurrentVersion%\Telephony\Country List\683,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\683,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\683,"Name",,"Niue" +HKLM,%CurrentVersion%\Telephony\Country List\683,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\684,"CountryCode",0x10001,0x000002ac +HKLM,%CurrentVersion%\Telephony\Country List\684,"InternationalRule",,"1EFG" +HKLM,%CurrentVersion%\Telephony\Country List\684,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\684,"Name",,"American Samoa" +HKLM,%CurrentVersion%\Telephony\Country List\684,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\685,"CountryCode",0x10001,0x000002ad +HKLM,%CurrentVersion%\Telephony\Country List\685,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\685,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\685,"Name",,"Samoa" +HKLM,%CurrentVersion%\Telephony\Country List\685,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\686,"CountryCode",0x10001,0x000002ae +HKLM,%CurrentVersion%\Telephony\Country List\686,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\686,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\686,"Name",,"Kiribati" +HKLM,%CurrentVersion%\Telephony\Country List\686,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\687,"CountryCode",0x10001,0x000002af +HKLM,%CurrentVersion%\Telephony\Country List\687,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\687,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\687,"Name",,"New Caledonia" +HKLM,%CurrentVersion%\Telephony\Country List\687,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\688,"CountryCode",0x10001,0x000002b0 +HKLM,%CurrentVersion%\Telephony\Country List\688,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\688,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\688,"Name",,"Tuvalu" +HKLM,%CurrentVersion%\Telephony\Country List\688,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\689,"CountryCode",0x10001,0x000002b1 +HKLM,%CurrentVersion%\Telephony\Country List\689,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\689,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\689,"Name",,"French Polynesia" +HKLM,%CurrentVersion%\Telephony\Country List\689,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\690,"CountryCode",0x10001,0x000002b2 +HKLM,%CurrentVersion%\Telephony\Country List\690,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\690,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\690,"Name",,"Tokelau" +HKLM,%CurrentVersion%\Telephony\Country List\690,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\691,"CountryCode",0x10001,0x000002b3 +HKLM,%CurrentVersion%\Telephony\Country List\691,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\691,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\691,"Name",,"Micronesia, Federated States of" +HKLM,%CurrentVersion%\Telephony\Country List\691,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\692,"CountryCode",0x10001,0x000002b4 +HKLM,%CurrentVersion%\Telephony\Country List\692,"InternationalRule",,"011EFG" +HKLM,%CurrentVersion%\Telephony\Country List\692,"LongDistanceRule",,"1FG" +HKLM,%CurrentVersion%\Telephony\Country List\692,"Name",,"Marshall Islands" +HKLM,%CurrentVersion%\Telephony\Country List\692,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\7,"CountryCode",0x10001,0x00000007 +HKLM,%CurrentVersion%\Telephony\Country List\7,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\7,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\7,"Name",,"Russia" +HKLM,%CurrentVersion%\Telephony\Country List\7,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\705,"CountryCode",0x10001,0x00000007 +HKLM,%CurrentVersion%\Telephony\Country List\705,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\705,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\705,"Name",,"Kazakhstan" +HKLM,%CurrentVersion%\Telephony\Country List\705,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\708,"CountryCode",0x10001,0x00000007 +HKLM,%CurrentVersion%\Telephony\Country List\708,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\708,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\708,"Name",,"Tajikistan" +HKLM,%CurrentVersion%\Telephony\Country List\708,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\800,"CountryCode",0x10001,0x00000320 +HKLM,%CurrentVersion%\Telephony\Country List\800,"InternationalRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\800,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\800,"Name",,"International Freephone Service" +HKLM,%CurrentVersion%\Telephony\Country List\800,"SameAreaRule",,"" + +HKLM,%CurrentVersion%\Telephony\Country List\81,"CountryCode",0x10001,0x00000051 +HKLM,%CurrentVersion%\Telephony\Country List\81,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\81,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\81,"Name",,"Japan" +HKLM,%CurrentVersion%\Telephony\Country List\81,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\82,"CountryCode",0x10001,0x00000052 +HKLM,%CurrentVersion%\Telephony\Country List\82,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\82,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\82,"Name",,"Korea (Republic of)" +HKLM,%CurrentVersion%\Telephony\Country List\82,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\84,"CountryCode",0x10001,0x00000054 +HKLM,%CurrentVersion%\Telephony\Country List\84,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\84,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\84,"Name",,"Vietnam" +HKLM,%CurrentVersion%\Telephony\Country List\84,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\850,"CountryCode",0x10001,0x00000352 +HKLM,%CurrentVersion%\Telephony\Country List\850,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\850,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\850,"Name",,"Korea (North)" +HKLM,%CurrentVersion%\Telephony\Country List\850,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\852,"CountryCode",0x10001,0x00000354 +HKLM,%CurrentVersion%\Telephony\Country List\852,"InternationalRule",,"001EFG" +HKLM,%CurrentVersion%\Telephony\Country List\852,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\852,"Name",,"Hong Kong S.A.R." +HKLM,%CurrentVersion%\Telephony\Country List\852,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\853,"CountryCode",0x10001,0x00000355 +HKLM,%CurrentVersion%\Telephony\Country List\853,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\853,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\853,"Name",,"Macau S.A.R." +HKLM,%CurrentVersion%\Telephony\Country List\853,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\855,"CountryCode",0x10001,0x00000357 +HKLM,%CurrentVersion%\Telephony\Country List\855,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\855,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\855,"Name",,"Cambodia" +HKLM,%CurrentVersion%\Telephony\Country List\855,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\856,"CountryCode",0x10001,0x00000358 +HKLM,%CurrentVersion%\Telephony\Country List\856,"InternationalRule",,"14EFG" +HKLM,%CurrentVersion%\Telephony\Country List\856,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\856,"Name",,"Laos" +HKLM,%CurrentVersion%\Telephony\Country List\856,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\86,"CountryCode",0x10001,0x00000056 +HKLM,%CurrentVersion%\Telephony\Country List\86,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\86,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\86,"Name",,"China" +HKLM,%CurrentVersion%\Telephony\Country List\86,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\870,"CountryCode",0x10001,0x00000366 +HKLM,%CurrentVersion%\Telephony\Country List\870,"InternationalRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\870,"LongDistanceRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\870,"Name",,"INMARSAT" +HKLM,%CurrentVersion%\Telephony\Country List\870,"SameAreaRule",,"00EFG#" + +HKLM,%CurrentVersion%\Telephony\Country List\871,"CountryCode",0x10001,0x00000367 +HKLM,%CurrentVersion%\Telephony\Country List\871,"InternationalRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\871,"LongDistanceRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\871,"Name",,"INMARSAT (Atlantic-East)" +HKLM,%CurrentVersion%\Telephony\Country List\871,"SameAreaRule",,"00EFG#" + +HKLM,%CurrentVersion%\Telephony\Country List\872,"CountryCode",0x10001,0x00000368 +HKLM,%CurrentVersion%\Telephony\Country List\872,"InternationalRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\872,"LongDistanceRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\872,"Name",,"INMARSAT (Pacific)" +HKLM,%CurrentVersion%\Telephony\Country List\872,"SameAreaRule",,"00EFG#" + +HKLM,%CurrentVersion%\Telephony\Country List\873,"CountryCode",0x10001,0x00000369 +HKLM,%CurrentVersion%\Telephony\Country List\873,"InternationalRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\873,"LongDistanceRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\873,"Name",,"INMARSAT (Indian)" +HKLM,%CurrentVersion%\Telephony\Country List\873,"SameAreaRule",,"00EFG#" + +HKLM,%CurrentVersion%\Telephony\Country List\874,"CountryCode",0x10001,0x0000036a +HKLM,%CurrentVersion%\Telephony\Country List\874,"InternationalRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\874,"LongDistanceRule",,"00EFG#" +HKLM,%CurrentVersion%\Telephony\Country List\874,"Name",,"INMARSAT (Atlantic-West)" +HKLM,%CurrentVersion%\Telephony\Country List\874,"SameAreaRule",,"00EFG#" + +HKLM,%CurrentVersion%\Telephony\Country List\880,"CountryCode",0x10001,0x00000370 +HKLM,%CurrentVersion%\Telephony\Country List\880,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\880,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\880,"Name",,"Bangladesh" +HKLM,%CurrentVersion%\Telephony\Country List\880,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\886,"CountryCode",0x10001,0x00000376 +HKLM,%CurrentVersion%\Telephony\Country List\886,"InternationalRule",,"002EFG" +HKLM,%CurrentVersion%\Telephony\Country List\886,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\886,"Name",,"Taiwan" +HKLM,%CurrentVersion%\Telephony\Country List\886,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\90,"CountryCode",0x10001,0x0000005a +HKLM,%CurrentVersion%\Telephony\Country List\90,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\90,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\90,"Name",,"Turkey" +HKLM,%CurrentVersion%\Telephony\Country List\90,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\91,"CountryCode",0x10001,0x0000005b +HKLM,%CurrentVersion%\Telephony\Country List\91,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\91,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\91,"Name",,"India" +HKLM,%CurrentVersion%\Telephony\Country List\91,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\92,"CountryCode",0x10001,0x0000005c +HKLM,%CurrentVersion%\Telephony\Country List\92,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\92,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\92,"Name",,"Pakistan" +HKLM,%CurrentVersion%\Telephony\Country List\92,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\93,"CountryCode",0x10001,0x0000005d +HKLM,%CurrentVersion%\Telephony\Country List\93,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\93,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\93,"Name",,"Afghanistan" +HKLM,%CurrentVersion%\Telephony\Country List\93,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\94,"CountryCode",0x10001,0x0000005e +HKLM,%CurrentVersion%\Telephony\Country List\94,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\94,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\94,"Name",,"Sri Lanka" +HKLM,%CurrentVersion%\Telephony\Country List\94,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\95,"CountryCode",0x10001,0x0000005f +HKLM,%CurrentVersion%\Telephony\Country List\95,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\95,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\95,"Name",,"Myanmar" +HKLM,%CurrentVersion%\Telephony\Country List\95,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\960,"CountryCode",0x10001,0x000003c0 +HKLM,%CurrentVersion%\Telephony\Country List\960,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\960,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\960,"Name",,"Maldives" +HKLM,%CurrentVersion%\Telephony\Country List\960,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\961,"CountryCode",0x10001,0x000003c1 +HKLM,%CurrentVersion%\Telephony\Country List\961,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\961,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\961,"Name",,"Lebanon" +HKLM,%CurrentVersion%\Telephony\Country List\961,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\962,"CountryCode",0x10001,0x000003c2 +HKLM,%CurrentVersion%\Telephony\Country List\962,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\962,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\962,"Name",,"Jordan" +HKLM,%CurrentVersion%\Telephony\Country List\962,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\963,"CountryCode",0x10001,0x000003c3 +HKLM,%CurrentVersion%\Telephony\Country List\963,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\963,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\963,"Name",,"Syria" +HKLM,%CurrentVersion%\Telephony\Country List\963,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\964,"CountryCode",0x10001,0x000003c4 +HKLM,%CurrentVersion%\Telephony\Country List\964,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\964,"LongDistanceRule",,"FG" +HKLM,%CurrentVersion%\Telephony\Country List\964,"Name",,"Iraq" +HKLM,%CurrentVersion%\Telephony\Country List\964,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\965,"CountryCode",0x10001,0x000003c5 +HKLM,%CurrentVersion%\Telephony\Country List\965,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\965,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\965,"Name",,"Kuwait" +HKLM,%CurrentVersion%\Telephony\Country List\965,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\966,"CountryCode",0x10001,0x000003c6 +HKLM,%CurrentVersion%\Telephony\Country List\966,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\966,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\966,"Name",,"Saudi Arabia" +HKLM,%CurrentVersion%\Telephony\Country List\966,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\967,"CountryCode",0x10001,0x000003c7 +HKLM,%CurrentVersion%\Telephony\Country List\967,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\967,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\967,"Name",,"Yemen" +HKLM,%CurrentVersion%\Telephony\Country List\967,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\968,"CountryCode",0x10001,0x000003c8 +HKLM,%CurrentVersion%\Telephony\Country List\968,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\968,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\968,"Name",,"Oman" +HKLM,%CurrentVersion%\Telephony\Country List\968,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\971,"CountryCode",0x10001,0x000003cb +HKLM,%CurrentVersion%\Telephony\Country List\971,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\971,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\971,"Name",,"United Arab Emirates" +HKLM,%CurrentVersion%\Telephony\Country List\971,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\972,"CountryCode",0x10001,0x000003cc +HKLM,%CurrentVersion%\Telephony\Country List\972,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\972,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\972,"Name",,"Israel" +HKLM,%CurrentVersion%\Telephony\Country List\972,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\973,"CountryCode",0x10001,0x000003cd +HKLM,%CurrentVersion%\Telephony\Country List\973,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\973,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\973,"Name",,"Bahrain" +HKLM,%CurrentVersion%\Telephony\Country List\973,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\974,"CountryCode",0x10001,0x000003ce +HKLM,%CurrentVersion%\Telephony\Country List\974,"InternationalRule",,"0EFG" +HKLM,%CurrentVersion%\Telephony\Country List\974,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\974,"Name",,"Qatar" +HKLM,%CurrentVersion%\Telephony\Country List\974,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\975,"CountryCode",0x10001,0x000003cf +HKLM,%CurrentVersion%\Telephony\Country List\975,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\975,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\975,"Name",,"Bhutan" +HKLM,%CurrentVersion%\Telephony\Country List\975,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\976,"CountryCode",0x10001,0x000003d0 +HKLM,%CurrentVersion%\Telephony\Country List\976,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\976,"LongDistanceRule",,"0FG" +HKLM,%CurrentVersion%\Telephony\Country List\976,"Name",,"Mongolia" +HKLM,%CurrentVersion%\Telephony\Country List\976,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\977,"CountryCode",0x10001,0x000003d1 +HKLM,%CurrentVersion%\Telephony\Country List\977,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\977,"LongDistanceRule",,"" +HKLM,%CurrentVersion%\Telephony\Country List\977,"Name",,"Nepal" +HKLM,%CurrentVersion%\Telephony\Country List\977,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\98,"CountryCode",0x10001,0x00000062 +HKLM,%CurrentVersion%\Telephony\Country List\98,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\98,"LongDistanceRule",,"FG" +HKLM,%CurrentVersion%\Telephony\Country List\98,"Name",,"Iran" +HKLM,%CurrentVersion%\Telephony\Country List\98,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\993,"CountryCode",0x10001,0x000003e1 +HKLM,%CurrentVersion%\Telephony\Country List\993,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\993,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\993,"Name",,"Turkmenistan" +HKLM,%CurrentVersion%\Telephony\Country List\993,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\994,"CountryCode",0x10001,0x000003e2 +HKLM,%CurrentVersion%\Telephony\Country List\994,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\994,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\994,"Name",,"Azerbaijan" +HKLM,%CurrentVersion%\Telephony\Country List\994,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\995,"CountryCode",0x10001,0x000003e3 +HKLM,%CurrentVersion%\Telephony\Country List\995,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\995,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\995,"Name",,"Georgia" +HKLM,%CurrentVersion%\Telephony\Country List\995,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\996,"CountryCode",0x10001,0x000003e4 +HKLM,%CurrentVersion%\Telephony\Country List\996,"InternationalRule",,"00EFG" +HKLM,%CurrentVersion%\Telephony\Country List\996,"LongDistanceRule",,"8FG" +HKLM,%CurrentVersion%\Telephony\Country List\996,"Name",,"Kyrgyzstan" +HKLM,%CurrentVersion%\Telephony\Country List\996,"SameAreaRule",,"G" + +HKLM,%CurrentVersion%\Telephony\Country List\998,"CountryCode",0x10001,0x000003e6 +HKLM,%CurrentVersion%\Telephony\Country List\998,"InternationalRule",,"8W10EFG" +HKLM,%CurrentVersion%\Telephony\Country List\998,"LongDistanceRule",," 8WFG" +HKLM,%CurrentVersion%\Telephony\Country List\998,"Name",,"Uzbekistan" +HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" + +[RegisterDllsSection] +;;some dlls have to be registered first +11,,shell32.dll,1 +11,,quartz.dll,1 + +11,,cryptdlg.dll,1 +11,,cryptnet.dll,1 +11,,devenum.dll,1 +11,,mscoree.dll,1 +11,,mshtml.dll,1 +11,,msisip.dll,1 +11,,qcap.dll,1 +11,,urlmon.dll,1 +11,,windowscodecs.dll,1 +11,,winegstreamer.dll,1 +11,,wineqtdecoder.dll,1 +11,,wintrust.dll,1 +11,,iexplore.exe,1 + +; 32bit-only fake dlls +[FakeDllsWin32] +10,,rundll.exe,rundll.exe16 +10,,twain.dll,twain.dll16 +10,,twain_32.dll +10,twain_32,sane.ds +10,twain_32,gphoto2.ds +10,,winhelp.exe,winhelp.exe16 +10,,winhlp32.exe +10,command,start.exe +10,system,ddeml.dll,ddeml.dll16 +10,system,mmsystem.dll,mmsystem.dll16 +11,,ddhelp.exe +11,,dosx.exe +11,,dsound.vxd +11,,winhlp32.exe + +; Wow64-only fake dlls +[FakeDllsWow64] +; create some directories first +11,mui, +11,gecko\plugin,npmshtml.dll +11,Speech\Common,sapi.dll +11,wbem,mofcomp.exe +10,syswow64,stdole2.tlb +11,,iexplore.exe +11,,winetest.exe,- +12,,fltmgr.sys,- +12,,mountmgr.sys,- +12,,ndis.sys,- +12,,tdi.sys,- +12,,winebus.sys,- +12,,winehid.sys,- +; skip .NET fake dlls in Wine Mono package +11,,aspnet_regiis.exe,- +11,,ngen.exe,- +11,,fusion.dll,- +11,,regsvcs.exe,- +11,,regasm.exe,- +11,,servicemodelreg.exe,- +11,,presentationfontcache.exe,- +; registration order matters for these +11,,msxml.dll +11,,msxml2.dll +11,,msxml3.dll +11,,msxml4.dll +11,,msxml6.dll +11,,shdocvw.dll +16422,Internet Explorer,iexplore.exe +16422,Windows Media Player,wmplayer.exe +16422,Windows NT\Accessories,wordpad.exe +11,,* + +[FakeDlls] +; create some directories first +10,help, +10,inf, +10,logs, +10,temp, +11,mui, +11,tasks, +11,spool\drivers\color, +11,spool\printers, +10,,explorer.exe +10,,hh.exe +10,,notepad.exe +10,,regedit.exe +11,,explorer.exe +11,,iexplore.exe +11,,notepad.exe +11,,winetest.exe,- +12,,fltmgr.sys +12,,mountmgr.sys +12,,ndis.sys +12,,tdi.sys +12,,winebus.sys +12,,winehid.sys +; skip .NET fake dlls in Wine Mono package +11,,aspnet_regiis.exe,- +11,,ngen.exe,- +11,,fusion.dll,- +11,,regsvcs.exe,- +11,,regasm.exe,- +11,,servicemodelreg.exe,- +11,,presentationfontcache.exe,- +; registration order matters for these +11,,msxml.dll +11,,msxml2.dll +11,,msxml3.dll +11,,msxml4.dll +11,,msxml6.dll +11,,shdocvw.dll +11,gecko\plugin,npmshtml.dll +11,Speech\Common,sapi.dll +11,wbem,mofcomp.exe +11,wbem,wbemdisp.dll +11,wbem,wbemprox.dll +11,wbem,wmic.exe +11,wbem,wmiutils.dll +; empty folders to make sure the parent dirs are not removed +16410,Microsoft, +16412,Microsoft, +16422,Internet Explorer,iexplore.exe +16422,Windows Media Player,wmplayer.exe +16422,Windows NT\Accessories,wordpad.exe +16427,Microsoft Shared\TextConv, +16427,System\OLE DB,oledb32.dll +16427,System\OLE DB,msdaps.dll +11,,* + +[SystemIni] +system.ini, mci,,"MPEGVideo=mciqtz32.dll" +system.ini, mci,,"MPEGVideo2=mciqtz32.dll" +system.ini, mci,,"avivideo=mciavi32.dll" +system.ini, mci,,"cdaudio=mcicda.dll" +system.ini, mci,,"sequencer=mciseq.dll" +system.ini, mci,,"vcr=mcivisca.drv" +system.ini, mci,,"; videodisc=mcipionr.drv" +system.ini, mci,,"waveaudio=mciwave.dll" + +system.ini, drivers32,,"msacm.imaadpcm=imaadp32.acm" +system.ini, drivers32,,"msacm.msadpcm=msadp32.acm" +system.ini, drivers32,,"msacm.msg711=msg711.acm" +system.ini, drivers32,,"msacm.winemp3=winemp3.acm" +system.ini, drivers32,,"msacm.msgsm610=msgsm32.acm" +system.ini, drivers32,,"vidc.mrle=msrle32.dll" +system.ini, drivers32,,"vidc.msvc=msvidc32.dll" +system.ini, drivers32,,"vidc.cvid=iccvid.dll" +system.ini, drivers32,,"; vidc.IV50=ir50_32.dll" +system.ini, drivers32,,"; vidc.IV31=ir32_32.dll" +system.ini, drivers32,,"; vidc.IV32=ir32_32.dll" + +[Timezones] +; The timezone information (TZI field) comes from the Olson timezone database +; http://www.twinsun.com/tz/tz-link.htm +; The mapping of Windows timezone names to Olson Tzids is based on the +; Unicode.org CLDR data: +; http://unicode.org/cldr/data/diff/supplemental/windows_tzid.html +HKLM,%CurrentVersionNT%\Time Zones\Afghanistan Standard Time,"Display",,"Asia/Kabul" +HKLM,%CurrentVersionNT%\Time Zones\Afghanistan Standard Time,"Dlt",,"Afghanistan Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Afghanistan Standard Time,"Std",,"Afghanistan Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Afghanistan Standard Time,"TZI",1,f2,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Alaskan Standard Time,"Display",,"America/Anchorage" +HKLM,%CurrentVersionNT%\Time Zones\Alaskan Standard Time,"Dlt",,"Alaskan Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Alaskan Standard Time,"Std",,"Alaskan Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Alaskan Standard Time,"TZI",1,1c,02,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Arab Standard Time,"Display",,"Asia/Riyadh" +HKLM,%CurrentVersionNT%\Time Zones\Arab Standard Time,"Dlt",,"Arab Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Arab Standard Time,"Std",,"Arab Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Arab Standard Time,"TZI",1,4c,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Arabian Standard Time,"Display",,"Asia/Muscat" +HKLM,%CurrentVersionNT%\Time Zones\Arabian Standard Time,"Dlt",,"Arabian Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Arabian Standard Time,"Std",,"Arabian Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Arabian Standard Time,"TZI",1,10,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Arabic Standard Time,"Display",,"Asia/Baghdad" +HKLM,%CurrentVersionNT%\Time Zones\Arabic Standard Time,"Dlt",,"Arabic Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Arabic Standard Time,"Std",,"Arabic Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Arabic Standard Time,"TZI",1,4c,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Argentina Standard Time,"Display",,"America/Buenos_Aires" +HKLM,%CurrentVersionNT%\Time Zones\Argentina Standard Time,"Dlt",,"Argentina Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Argentina Standard Time,"Std",,"Argentina Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Argentina Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Armenian Standard Time,"Display",,"Asia/Yerevan" +HKLM,%CurrentVersionNT%\Time Zones\Armenian Standard Time,"Dlt",,"Armenian Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Armenian Standard Time,"Std",,"Armenian Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Armenian Standard Time,"TZI",1,10,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Atlantic Standard Time,"Display",,"America/Halifax" +HKLM,%CurrentVersionNT%\Time Zones\Atlantic Standard Time,"Dlt",,"Atlantic Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Atlantic Standard Time,"Std",,"Atlantic Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Atlantic Standard Time,"TZI",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\AUS Central Standard Time,"Display",,"Australia/Darwin" +HKLM,%CurrentVersionNT%\Time Zones\AUS Central Standard Time,"Dlt",,"AUS Central Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\AUS Central Standard Time,"Std",,"AUS Central Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\AUS Central Standard Time,"TZI",1,c6,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\AUS Eastern Standard Time,"Display",,"Australia/Sydney" +HKLM,%CurrentVersionNT%\Time Zones\AUS Eastern Standard Time,"Dlt",,"AUS Eastern Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\AUS Eastern Standard Time,"Std",,"AUS Eastern Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\AUS Eastern Standard Time,"TZI",1,a8,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,04,00,00,00,01,00,03,00,00,00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Azerbaijan Standard Time,"Display",,"Asia/Baku" +HKLM,%CurrentVersionNT%\Time Zones\Azerbaijan Standard Time,"Dlt",,"Azerbaijan Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Azerbaijan Standard Time,"Std",,"Azerbaijan Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Azerbaijan Standard Time,"TZI",1,10,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,05,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,04,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Azores Standard Time,"Display",,"Atlantic/Azores" +HKLM,%CurrentVersionNT%\Time Zones\Azores Standard Time,"Dlt",,"Azores Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Azores Standard Time,"Std",,"Azores Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Azores Standard Time,"TZI",1,3c,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,01,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Bahia Standard Time,"Display",,"America/Bahia" +HKLM,%CurrentVersionNT%\Time Zones\Bahia Standard Time,"Dlt",,"Bahia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Bahia Standard Time,"Std",,"Bahia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Bahia Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Bangladesh Standard Time,"Display",,"Asia/Dhaka" +HKLM,%CurrentVersionNT%\Time Zones\Bangladesh Standard Time,"Dlt",,"Bangladesh Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Bangladesh Standard Time,"Std",,"Bangladesh Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Bangladesh Standard Time,"TZI",1,98,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Belarus Standard Time,"Display",,"Europe/Minsk" +HKLM,%CurrentVersionNT%\Time Zones\Belarus Standard Time,"Dlt",,"Belarus Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Belarus Standard Time,"Std",,"Belarus Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Belarus Standard Time,"TZI",1,4c,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Canada Central Standard Time,"Display",,"America/Regina" +HKLM,%CurrentVersionNT%\Time Zones\Canada Central Standard Time,"Dlt",,"Canada Central Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Canada Central Standard Time,"Std",,"Canada Central Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Canada Central Standard Time,"TZI",1,68,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Cape Verde Standard Time,"Display",,"Atlantic/Cape_Verde" +HKLM,%CurrentVersionNT%\Time Zones\Cape Verde Standard Time,"Dlt",,"Cape Verde Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Cape Verde Standard Time,"Std",,"Cape Verde Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Cape Verde Standard Time,"TZI",1,3c,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Caucasus Standard Time,"Display",,"Asia/Yerevan" +HKLM,%CurrentVersionNT%\Time Zones\Caucasus Standard Time,"Dlt",,"Caucasus Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Caucasus Standard Time,"Std",,"Caucasus Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Caucasus Standard Time,"TZI",1,10,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Cen. Australia Standard Time,"Display",,"Australia/Adelaide" +HKLM,%CurrentVersionNT%\Time Zones\Cen. Australia Standard Time,"Dlt",,"Cen. Australia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Cen. Australia Standard Time,"Std",,"Cen. Australia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Cen. Australia Standard Time,"TZI",1,c6,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,04,00,00,00,01,00,03,00,00,00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central America Standard Time,"Display",,"America/El_Salvador" +HKLM,%CurrentVersionNT%\Time Zones\Central America Standard Time,"Dlt",,"Central America Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central America Standard Time,"Std",,"Central America Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central America Standard Time,"TZI",1,68,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Asia Standard Time,"Display",,"Asia/Dhaka" +HKLM,%CurrentVersionNT%\Time Zones\Central Asia Standard Time,"Dlt",,"Central Asia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Asia Standard Time,"Std",,"Central Asia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Asia Standard Time,"TZI",1,98,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time,"Display",,"America/Campo_Grande" +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time,"Dlt",,"Central Brazilian Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time,"Std",,"Central Brazilian Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time,"TZI",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,03,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"2015",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,df,07,02,00,00,00,16,00,00,00,00,00,00,00,00,00,df,07,0a,00,00,00,12,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"2023",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,e7,07,02,00,00,00,1a,00,00,00,00,00,00,00,00,00,e7,07,0a,00,00,00,0f,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"2026",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,ea,07,02,00,00,00,16,00,00,00,00,00,00,00,00,00,ea,07,0a,00,00,00,12,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"2034",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,f2,07,02,00,00,00,1a,00,00,00,00,00,00,00,00,00,f2,07,0a,00,00,00,0f,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"2037",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,f5,07,02,00,00,00,16,00,00,00,00,00,00,00,00,00,f5,07,0a,00,00,00,12,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Central Brazilian Standard Time\Dynamic DST,"LastEntry",0x10001,2037 +HKLM,%CurrentVersionNT%\Time Zones\Central Europe Standard Time,"Display",,"Europe/Belgrade" +HKLM,%CurrentVersionNT%\Time Zones\Central Europe Standard Time,"Dlt",,"Central Europe Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Europe Standard Time,"Std",,"Central Europe Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Europe Standard Time,"TZI",1,c4,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central European Standard Time,"Display",,"Europe/Sarajevo" +HKLM,%CurrentVersionNT%\Time Zones\Central European Standard Time,"Dlt",,"Central European Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central European Standard Time,"Std",,"Central European Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central European Standard Time,"TZI",1,c4,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Pacific Standard Time,"Display",,"Pacific/Guadalcanal" +HKLM,%CurrentVersionNT%\Time Zones\Central Pacific Standard Time,"Dlt",,"Central Pacific Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Pacific Standard Time,"Std",,"Central Pacific Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Pacific Standard Time,"TZI",1,6c,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time,"Display",,"America/Chicago" +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time,"Dlt",,"Central Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time,"Std",,"Central Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time,"TZI",1,68,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time (Mexico),"Display",,"America/Mexico_City" +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time (Mexico),"Dlt",,"Central Daylight Time (Mexico)" +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time (Mexico),"Std",,"Central Standard Time (Mexico)" +HKLM,%CurrentVersionNT%\Time Zones\Central Standard Time (Mexico),"TZI",1,68,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time,"Display",,"Chile/Continental" +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time,"Dlt",,"Chile Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time,"Std",,"Chile Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time\Dynamic DST,"2015",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,df,07,04,00,00,00,1a,00,01,00,00,00,00,00,00,00,e0,07,01,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Chile Standard Time\Dynamic DST,"LastEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\China Standard Time,"Display",,"Asia/Shanghai" +HKLM,%CurrentVersionNT%\Time Zones\China Standard Time,"Dlt",,"China Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\China Standard Time,"Std",,"China Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\China Standard Time,"TZI",1,20,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Dateline Standard Time,"Display",,"Pacific/Kwajalein" +HKLM,%CurrentVersionNT%\Time Zones\Dateline Standard Time,"Dlt",,"Dateline Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Dateline Standard Time,"Std",,"Dateline Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Dateline Standard Time,"TZI",1,30,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. Africa Standard Time,"Display",,"Africa/Nairobi" +HKLM,%CurrentVersionNT%\Time Zones\E. Africa Standard Time,"Dlt",,"E. Africa Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\E. Africa Standard Time,"Std",,"E. Africa Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\E. Africa Standard Time,"TZI",1,4c,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. Australia Standard Time,"Display",,"Australia/Brisbane" +HKLM,%CurrentVersionNT%\Time Zones\E. Australia Standard Time,"Dlt",,"E. Australia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\E. Australia Standard Time,"Std",,"E. Australia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\E. Australia Standard Time,"TZI",1,a8,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time,"Display",,"America/Sao_Paulo" +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time,"Dlt",,"E. South America Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time,"Std",,"E. South America Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,03,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"2015",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,df,07,02,00,00,00,16,00,00,00,00,00,00,00,00,00,df,07,0a,00,00,00,12,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"2023",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,e7,07,02,00,00,00,1a,00,00,00,00,00,00,00,00,00,e7,07,0a,00,00,00,0f,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"2026",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,ea,07,02,00,00,00,16,00,00,00,00,00,00,00,00,00,ea,07,0a,00,00,00,12,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"2034",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,f2,07,02,00,00,00,1a,00,00,00,00,00,00,00,00,00,f2,07,0a,00,00,00,0f,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"2037",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,f5,07,02,00,00,00,16,00,00,00,00,00,00,00,00,00,f5,07,0a,00,00,00,12,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\E. South America Standard Time\Dynamic DST,"LastEntry",0x10001,2037 +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time,"Display",,"Chile/EasterIsland" +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time,"Dlt",,"Easter Island Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time,"Std",,"Easter Island Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time,"TZI",1,2c,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time\Dynamic DST,"2015",1,2c,01,00,00,00,00,00,00,c4,ff,ff,ff,df,07,04,00,06,00,19,00,17,00,00,00,00,00,00,00,e0,07,01,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Easter Island Standard Time\Dynamic DST,"LastEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Eastern Standard Time,"Display",,"America/New_York" +HKLM,%CurrentVersionNT%\Time Zones\Eastern Standard Time,"Dlt",,"Eastern Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Eastern Standard Time,"Std",,"Eastern Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Eastern Standard Time,"TZI",1,2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Egypt Standard Time,"Display",,"Africa/Cairo" +HKLM,%CurrentVersionNT%\Time Zones\Egypt Standard Time,"Dlt",,"Egypt Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Egypt Standard Time,"Std",,"Egypt Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Egypt Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,08,00,05,00,05,00,00,00,00,00,00,00,00,00,00,00,04,00,05,00,04,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Ekaterinburg Standard Time,"Display",,"Asia/Yekaterinburg" +HKLM,%CurrentVersionNT%\Time Zones\Ekaterinburg Standard Time,"Dlt",,"Ekaterinburg Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Ekaterinburg Standard Time,"Std",,"Ekaterinburg Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Ekaterinburg Standard Time,"TZI",1,d4,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time,"Display",,"Pacific/Fiji" +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time,"Dlt",,"Fiji Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time,"Std",,"Fiji Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time,"TZI",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,01,00,00,00,03,00,03,00,00,00,00,00,00,00,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2016",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,e0,07,01,00,00,00,18,00,03,00,00,00,00,00,00,00,e0,07,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2017",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,e1,07,01,00,00,00,16,00,03,00,00,00,00,00,00,00,e1,07,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2021",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,e5,07,01,00,00,00,18,00,03,00,00,00,00,00,00,00,e5,07,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2022",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,e6,07,01,00,00,00,17,00,03,00,00,00,00,00,00,00,e6,07,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2023",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,e7,07,01,00,00,00,16,00,03,00,00,00,00,00,00,00,e7,07,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2027",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,eb,07,01,00,00,00,18,00,03,00,00,00,00,00,00,00,eb,07,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2028",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,ec,07,01,00,00,00,17,00,03,00,00,00,00,00,00,00,ec,07,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2033",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,f1,07,01,00,00,00,17,00,03,00,00,00,00,00,00,00,f1,07,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2034",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,f2,07,01,00,00,00,16,00,03,00,00,00,00,00,00,00,f2,07,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2038",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,f6,07,01,00,00,00,18,00,03,00,00,00,00,00,00,00,f6,07,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2039",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,f7,07,01,00,00,00,17,00,03,00,00,00,00,00,00,00,f7,07,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2040",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,f8,07,01,00,00,00,16,00,03,00,00,00,00,00,00,00,f8,07,0b,00,00,00,04,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2044",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,fc,07,01,00,00,00,18,00,03,00,00,00,00,00,00,00,fc,07,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2045",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,fd,07,01,00,00,00,16,00,03,00,00,00,00,00,00,00,fd,07,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2049",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,01,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,01,08,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2050",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,02,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,02,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2051",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,03,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,03,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2055",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,07,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,07,08,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2056",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,08,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,08,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2061",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,0d,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,0d,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2062",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,0e,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,0e,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2066",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,12,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,12,08,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2067",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,13,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,13,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2068",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,14,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,14,08,0b,00,00,00,04,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2072",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,18,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,18,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2073",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,19,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,19,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2077",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,1d,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,1d,08,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2078",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,1e,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,1e,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2079",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,1f,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,1f,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2083",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,23,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,23,08,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2084",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,24,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,24,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2089",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,29,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,29,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2090",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,2a,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,2a,08,0b,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2094",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,2e,08,01,00,00,00,18,00,03,00,00,00,00,00,00,00,2e,08,0b,00,00,00,07,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2095",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,2f,08,01,00,00,00,17,00,03,00,00,00,00,00,00,00,2f,08,0b,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"2096",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,30,08,01,00,00,00,16,00,03,00,00,00,00,00,00,00,30,08,0b,00,00,00,04,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"FirstEntry",0x10001,2016 +HKLM,%CurrentVersionNT%\Time Zones\Fiji Standard Time\Dynamic DST,"LastEntry",0x10001,2096 +HKLM,%CurrentVersionNT%\Time Zones\FLE Standard Time,"Display",,"Europe/Helsinki" +HKLM,%CurrentVersionNT%\Time Zones\FLE Standard Time,"Dlt",,"FLE Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\FLE Standard Time,"Std",,"FLE Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\FLE Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,04,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,03,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Georgian Standard Time,"Display",,"Asia/Tbilisi" +HKLM,%CurrentVersionNT%\Time Zones\Georgian Standard Time,"Dlt",,"Georgian Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Georgian Standard Time,"Std",,"Georgian Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Georgian Standard Time,"TZI",1,10,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\GMT Standard Time,"Display",,"Europe/London" +HKLM,%CurrentVersionNT%\Time Zones\GMT Standard Time,"Dlt",,"GMT Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\GMT Standard Time,"Std",,"GMT Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\GMT Standard Time,"TZI",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,01,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time,"Display",,"America/Godthab" +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time,"Dlt",,"Greenland Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time,"Std",,"Greenland Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,06,00,05,00,17,00,00,00,00,00,00,00,00,00,03,00,06,00,05,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2015",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,df,07,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,df,07,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2018",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,e2,07,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,e2,07,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2020",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,e4,07,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,e4,07,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2026",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,ea,07,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,ea,07,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2029",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,ed,07,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,ed,07,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2035",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,f3,07,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,f3,07,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2037",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,f5,07,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,f5,07,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2040",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,f8,07,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,f8,07,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2043",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,fb,07,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,fb,07,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2046",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,fe,07,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,fe,07,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2048",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,00,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2054",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,06,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,06,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2057",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,09,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,09,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2063",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,0f,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,0f,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2065",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,11,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,11,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2068",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,14,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,14,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2071",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,17,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,17,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2074",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,1a,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,1a,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2076",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,1c,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,1c,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2082",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,22,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,22,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2085",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,25,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,25,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2091",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,2b,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,2b,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2093",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,2d,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,2d,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2096",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,30,08,0a,00,06,00,1b,00,17,00,00,00,00,00,00,00,30,08,03,00,06,00,18,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"2099",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,33,08,0a,00,06,00,18,00,17,00,00,00,00,00,00,00,33,08,03,00,06,00,1c,00,16,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Greenland Standard Time\Dynamic DST,"LastEntry",0x10001,2099 +HKLM,%CurrentVersionNT%\Time Zones\Greenwich Standard Time,"Display",,"Greenwich" +HKLM,%CurrentVersionNT%\Time Zones\Greenwich Standard Time,"Dlt",,"Greenwich Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Greenwich Standard Time,"Std",,"Greenwich Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Greenwich Standard Time,"TZI",1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\GTB Standard Time,"Display",,"Europe/Athens" +HKLM,%CurrentVersionNT%\Time Zones\GTB Standard Time,"Dlt",,"GTB Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\GTB Standard Time,"Std",,"GTB Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\GTB Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,04,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,03,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Hawaiian Standard Time,"Display",,"Pacific/Honolulu" +HKLM,%CurrentVersionNT%\Time Zones\Hawaiian Standard Time,"Dlt",,"Hawaiian Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Hawaiian Standard Time,"Std",,"Hawaiian Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Hawaiian Standard Time,"TZI",1,58,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\India Standard Time,"Display",,"Asia/Calcutta" +HKLM,%CurrentVersionNT%\Time Zones\India Standard Time,"Dlt",,"India Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\India Standard Time,"Std",,"India Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\India Standard Time,"TZI",1,b6,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time,"Display",,"Asia/Tehran" +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time,"Dlt",,"Iran Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time,"Std",,"Iran Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time,"TZI",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,09,00,00,00,04,00,00,00,00,00,00,00,00,00,00,00,03,00,05,00,04,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1991",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,c7,07,09,00,00,00,16,00,00,00,00,00,00,00,00,00,c7,07,05,00,05,00,03,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1992",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,c8,07,09,00,02,00,16,00,00,00,00,00,00,00,00,00,c8,07,03,00,00,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1993",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,c9,07,09,00,03,00,16,00,00,00,00,00,00,00,00,00,c9,07,03,00,01,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1994",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ca,07,09,00,04,00,16,00,00,00,00,00,00,00,00,00,ca,07,03,00,02,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1995",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,cb,07,09,00,05,00,16,00,00,00,00,00,00,00,00,00,cb,07,03,00,03,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1996",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,cc,07,09,00,06,00,15,00,00,00,00,00,00,00,00,00,cc,07,03,00,04,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1997",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,cd,07,09,00,01,00,16,00,00,00,00,00,00,00,00,00,cd,07,03,00,06,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1998",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ce,07,09,00,02,00,16,00,00,00,00,00,00,00,00,00,ce,07,03,00,00,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"1999",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,cf,07,09,00,03,00,16,00,00,00,00,00,00,00,00,00,cf,07,03,00,01,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2000",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d0,07,09,00,04,00,15,00,00,00,00,00,00,00,00,00,d0,07,03,00,02,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2001",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d1,07,09,00,06,00,16,00,00,00,00,00,00,00,00,00,d1,07,03,00,04,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2002",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d2,07,09,00,00,00,16,00,00,00,00,00,00,00,00,00,d2,07,03,00,05,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2003",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d3,07,09,00,01,00,16,00,00,00,00,00,00,00,00,00,d3,07,03,00,06,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2004",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d4,07,09,00,02,00,15,00,00,00,00,00,00,00,00,00,d4,07,03,00,00,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2005",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d5,07,09,00,04,00,16,00,00,00,00,00,00,00,00,00,d5,07,03,00,02,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2006",1,2e,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2007",1,2e,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2008",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d8,07,09,00,00,00,15,00,00,00,00,00,00,00,00,00,d8,07,03,00,05,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2009",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d9,07,09,00,02,00,16,00,00,00,00,00,00,00,00,00,d9,07,03,00,00,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2010",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,da,07,09,00,03,00,16,00,00,00,00,00,00,00,00,00,da,07,03,00,01,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2011",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,db,07,09,00,04,00,16,00,00,00,00,00,00,00,00,00,db,07,03,00,02,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2012",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,dc,07,09,00,05,00,15,00,00,00,00,00,00,00,00,00,dc,07,03,00,03,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2013",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,dd,07,09,00,00,00,16,00,00,00,00,00,00,00,00,00,dd,07,03,00,05,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2014",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,de,07,09,00,01,00,16,00,00,00,00,00,00,00,00,00,de,07,03,00,06,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2015",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,df,07,09,00,02,00,16,00,00,00,00,00,00,00,00,00,df,07,03,00,00,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2016",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e0,07,09,00,03,00,15,00,00,00,00,00,00,00,00,00,e0,07,03,00,01,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2017",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e1,07,09,00,05,00,16,00,00,00,00,00,00,00,00,00,e1,07,03,00,03,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2018",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e2,07,09,00,06,00,16,00,00,00,00,00,00,00,00,00,e2,07,03,00,04,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2019",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e3,07,09,00,00,00,16,00,00,00,00,00,00,00,00,00,e3,07,03,00,05,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2020",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e4,07,09,00,01,00,15,00,00,00,00,00,00,00,00,00,e4,07,03,00,06,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2021",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e5,07,09,00,03,00,16,00,00,00,00,00,00,00,00,00,e5,07,03,00,01,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2022",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e6,07,09,00,04,00,16,00,00,00,00,00,00,00,00,00,e6,07,03,00,02,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2023",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e7,07,09,00,05,00,16,00,00,00,00,00,00,00,00,00,e7,07,03,00,03,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2024",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e8,07,09,00,06,00,15,00,00,00,00,00,00,00,00,00,e8,07,03,00,04,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2025",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e9,07,09,00,01,00,16,00,00,00,00,00,00,00,00,00,e9,07,03,00,06,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2026",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ea,07,09,00,02,00,16,00,00,00,00,00,00,00,00,00,ea,07,03,00,00,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2027",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,eb,07,09,00,03,00,16,00,00,00,00,00,00,00,00,00,eb,07,03,00,01,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2028",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ec,07,09,00,04,00,15,00,00,00,00,00,00,00,00,00,ec,07,03,00,02,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2029",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ed,07,09,00,05,00,15,00,00,00,00,00,00,00,00,00,ed,07,03,00,03,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2030",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ee,07,09,00,00,00,16,00,00,00,00,00,00,00,00,00,ee,07,03,00,05,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2031",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ef,07,09,00,01,00,16,00,00,00,00,00,00,00,00,00,ef,07,03,00,06,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2032",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f0,07,09,00,02,00,15,00,00,00,00,00,00,00,00,00,f0,07,03,00,00,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2033",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f1,07,09,00,03,00,15,00,00,00,00,00,00,00,00,00,f1,07,03,00,01,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2034",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f2,07,09,00,05,00,16,00,00,00,00,00,00,00,00,00,f2,07,03,00,03,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2035",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f3,07,09,00,06,00,16,00,00,00,00,00,00,00,00,00,f3,07,03,00,04,00,16,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2036",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f4,07,09,00,00,00,15,00,00,00,00,00,00,00,00,00,f4,07,03,00,05,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"2037",1,2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f5,07,09,00,01,00,15,00,00,00,00,00,00,00,00,00,f5,07,03,00,06,00,15,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"FirstEntry",0x10001,1991 +HKLM,%CurrentVersionNT%\Time Zones\Iran Standard Time\Dynamic DST,"LastEntry",0x10001,2037 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time,"Display",,"Asia/Jerusalem" +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time,"Dlt",,"Israel Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time,"Std",,"Israel Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,03,00,05,00,04,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2019",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e3,07,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,e3,07,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2024",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e8,07,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,e8,07,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2030",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ee,07,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,ee,07,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2041",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f9,07,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,f9,07,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2047",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,ff,07,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,ff,07,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2052",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,04,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,04,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2058",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,0a,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,0a,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2069",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,15,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,15,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2075",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,1b,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,1b,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2080",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,20,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,20,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2086",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,26,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,26,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"2097",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,31,08,0a,00,00,00,1b,00,02,00,00,00,00,00,00,00,31,08,03,00,05,00,1d,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"FirstEntry",0x10001,2019 +HKLM,%CurrentVersionNT%\Time Zones\Israel Standard Time\Dynamic DST,"LastEntry",0x10001,2097 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time,"Display",,"Asia/Amman" +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time,"Dlt",,"Jordan Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time,"Std",,"Jordan Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,05,00,05,00,01,00,00,00,00,00,00,00,00,00,03,00,05,00,05,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2016",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e0,07,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,e0,07,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2022",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e6,07,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,e6,07,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2033",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f1,07,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,f1,07,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2039",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,f7,07,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,f7,07,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2044",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,fc,07,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,fc,07,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2050",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,02,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,02,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2061",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,0d,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,0d,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2067",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,13,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,13,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2072",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,18,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,18,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2078",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,1e,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,1e,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2089",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,29,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,29,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"2095",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,2f,08,0a,00,05,00,1c,00,01,00,00,00,00,00,00,00,2f,08,04,00,05,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"FirstEntry",0x10001,2016 +HKLM,%CurrentVersionNT%\Time Zones\Jordan Standard Time\Dynamic DST,"LastEntry",0x10001,2095 +HKLM,%CurrentVersionNT%\Time Zones\Kaliningrad Standard Time,"Display",,"Europe/Kaliningrad" +HKLM,%CurrentVersionNT%\Time Zones\Kaliningrad Standard Time,"Dlt",,"Kaliningrad Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Kaliningrad Standard Time,"Std",,"Kaliningrad Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Kaliningrad Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Korea Standard Time,"Display",,"Asia/Seoul" +HKLM,%CurrentVersionNT%\Time Zones\Korea Standard Time,"Dlt",,"Korea Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Korea Standard Time,"Std",,"Korea Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Korea Standard Time,"TZI",1,e4,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Libya Standard Time,"Display",,"Africa/Tripoli" +HKLM,%CurrentVersionNT%\Time Zones\Libya Standard Time,"Dlt",,"Libya Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Libya Standard Time,"Std",,"Libya Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Libya Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Line Islands Standard Time,"Display",,"Pacific/Kiritimati" +HKLM,%CurrentVersionNT%\Time Zones\Line Islands Standard Time,"Dlt",,"Line Islands Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Line Islands Standard Time,"Std",,"Line Islands Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Line Islands Standard Time,"TZI",1,b8,fc,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Magadan Standard Time,"Display",,"Asia/Magadan" +HKLM,%CurrentVersionNT%\Time Zones\Magadan Standard Time,"Dlt",,"Magadan Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Magadan Standard Time,"Std",,"Magadan Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Magadan Standard Time,"TZI",1,a8,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Mauritius Standard Time,"Display",,"Indian/Mauritius" +HKLM,%CurrentVersionNT%\Time Zones\Mauritius Standard Time,"Dlt",,"Mauritius Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Mauritius Standard Time,"Std",,"Mauritius Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Mauritius Standard Time,"TZI",1,10,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time,"Display",,"America/Mexico_City" +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time,"Dlt",,"Mexico Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time,"Std",,"Mexico Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time,"TZI",1,68,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time 2,"Display",,"America/Chihuahua" +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time 2,"Dlt",,"Mexico Daylight Time 2" +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time 2,"Std",,"Mexico Standard Time 2" +HKLM,%CurrentVersionNT%\Time Zones\Mexico Standard Time 2,"TZI",1,a4,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Mid-Atlantic Standard Time,"Display",,"America/Noronha" +HKLM,%CurrentVersionNT%\Time Zones\Mid-Atlantic Standard Time,"Dlt",,"Mid-Atlantic Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Mid-Atlantic Standard Time,"Std",,"Mid-Atlantic Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Mid-Atlantic Standard Time,"TZI",1,78,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Middle East Standard Time,"Display",,"Asia/Beirut" +HKLM,%CurrentVersionNT%\Time Zones\Middle East Standard Time,"Dlt",,"Middle East Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Middle East Standard Time,"Std",,"Middle East Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Middle East Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Montevideo Standard Time,"Display",,"America/Montevideo" +HKLM,%CurrentVersionNT%\Time Zones\Montevideo Standard Time,"Dlt",,"Montevideo Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Montevideo Standard Time,"Std",,"Montevideo Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Montevideo Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time,"Display",,"Africa/Casablanca" +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time,"Dlt",,"Morocco Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time,"Std",,"Morocco Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time,"TZI",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2015",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,df,07,0a,00,00,00,19,00,03,00,00,00,00,00,00,00,df,07,07,00,00,00,13,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2016",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,e0,07,0a,00,00,00,1e,00,03,00,00,00,00,00,00,00,e0,07,07,00,00,00,0a,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2022",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,e6,07,0a,00,00,00,1e,00,03,00,00,00,00,00,00,00,e6,07,05,00,00,00,08,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2023",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,e7,07,0a,00,00,00,1d,00,03,00,00,00,00,00,00,00,e7,07,04,00,00,00,17,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2024",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,e8,07,0a,00,00,00,1b,00,03,00,00,00,00,00,00,00,e8,07,04,00,00,00,0e,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2025",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,e9,07,0a,00,00,00,1a,00,03,00,00,00,00,00,00,00,e9,07,04,00,00,00,06,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"2036",1,00,00,00,00,00,00,00,00,c4,ff,ff,ff,f4,07,0a,00,00,00,13,00,03,00,00,00,00,00,00,00,f4,07,03,00,00,00,1e,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Morocco Standard Time\Dynamic DST,"LastEntry",0x10001,2036 +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time,"Display",,"America/Denver" +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time,"Dlt",,"Mountain Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time,"Std",,"Mountain Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time,"TZI",1,a4,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time (Mexico),"Display",,"America/Chihuahua" +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time (Mexico),"Dlt",,"Mountain Daylight Time (Mexico)" +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time (Mexico),"Std",,"Mountain Standard Time (Mexico)" +HKLM,%CurrentVersionNT%\Time Zones\Mountain Standard Time (Mexico),"TZI",1,a4,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Myanmar Standard Time,"Display",,"Asia/Rangoon" +HKLM,%CurrentVersionNT%\Time Zones\Myanmar Standard Time,"Dlt",,"Myanmar Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Myanmar Standard Time,"Std",,"Myanmar Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Myanmar Standard Time,"TZI",1,7a,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\N. Central Asia Standard Time,"Display",,"Asia/Novosibirsk" +HKLM,%CurrentVersionNT%\Time Zones\N. Central Asia Standard Time,"Dlt",,"N. Central Asia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\N. Central Asia Standard Time,"Std",,"N. Central Asia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\N. Central Asia Standard Time,"TZI",1,98,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Namibia Standard Time,"Display",,"Africa/Windhoek" +HKLM,%CurrentVersionNT%\Time Zones\Namibia Standard Time,"Dlt",,"Namibia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Namibia Standard Time,"Std",,"Namibia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Namibia Standard Time,"TZI",1,c4,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,09,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Nepal Standard Time,"Display",,"Asia/Katmandu" +HKLM,%CurrentVersionNT%\Time Zones\Nepal Standard Time,"Dlt",,"Nepal Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Nepal Standard Time,"Std",,"Nepal Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Nepal Standard Time,"TZI",1,a7,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\New Zealand Standard Time,"Display",,"Pacific/Auckland" +HKLM,%CurrentVersionNT%\Time Zones\New Zealand Standard Time,"Dlt",,"New Zealand Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\New Zealand Standard Time,"Std",,"New Zealand Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\New Zealand Standard Time,"TZI",1,30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,04,00,00,00,01,00,03,00,00,00,00,00,00,00,00,00,09,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Newfoundland Standard Time,"Display",,"America/St_Johns" +HKLM,%CurrentVersionNT%\Time Zones\Newfoundland Standard Time,"Dlt",,"Newfoundland Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Newfoundland Standard Time,"Std",,"Newfoundland Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Newfoundland Standard Time,"TZI",1,d2,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\North Asia East Standard Time,"Display",,"Asia/Irkutsk" +HKLM,%CurrentVersionNT%\Time Zones\North Asia East Standard Time,"Dlt",,"North Asia East Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\North Asia East Standard Time,"Std",,"North Asia East Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\North Asia East Standard Time,"TZI",1,20,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\North Asia Standard Time,"Display",,"Asia/Krasnoyarsk" +HKLM,%CurrentVersionNT%\Time Zones\North Asia Standard Time,"Dlt",,"North Asia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\North Asia Standard Time,"Std",,"North Asia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\North Asia Standard Time,"TZI",1,5c,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Pacific SA Standard Time,"Display",,"America/Santiago" +HKLM,%CurrentVersionNT%\Time Zones\Pacific SA Standard Time,"Dlt",,"Pacific SA Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Pacific SA Standard Time,"Std",,"Pacific SA Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Pacific SA Standard Time,"TZI",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,05,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,02,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time,"Display",,"America/Los_Angeles" +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time,"Dlt",,"Pacific Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time,"Std",,"Pacific Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time,"TZI",1,e0,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time (Mexico),"Display",,"America/Tijuana" +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time (Mexico),"Dlt",,"Pacific Daylight Time (Mexico)" +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time (Mexico),"Std",,"Pacific Standard Time (Mexico)" +HKLM,%CurrentVersionNT%\Time Zones\Pacific Standard Time (Mexico),"TZI",1,e0,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Pakistan Standard Time,"Display",,"Asia/Karachi" +HKLM,%CurrentVersionNT%\Time Zones\Pakistan Standard Time,"Dlt",,"Pakistan Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Pakistan Standard Time,"Std",,"Pakistan Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Pakistan Standard Time,"TZI",1,d4,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Paraguay Standard Time,"Display",,"America/Asuncion" +HKLM,%CurrentVersionNT%\Time Zones\Paraguay Standard Time,"Dlt",,"Paraguay Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Paraguay Standard Time,"Std",,"Paraguay Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Paraguay Standard Time,"TZI",1,f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,04,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Romance Standard Time,"Display",,"Europe/Paris" +HKLM,%CurrentVersionNT%\Time Zones\Romance Standard Time,"Dlt",,"Romance Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Romance Standard Time,"Std",,"Romance Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Romance Standard Time,"TZI",1,c4,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Russian Standard Time,"Display",,"Europe/Moscow" +HKLM,%CurrentVersionNT%\Time Zones\Russian Standard Time,"Dlt",,"Russian Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Russian Standard Time,"Std",,"Russian Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Russian Standard Time,"TZI",1,4c,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\SA Eastern Standard Time,"Display",,"America/Buenos_Aires" +HKLM,%CurrentVersionNT%\Time Zones\SA Eastern Standard Time,"Dlt",,"SA Eastern Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\SA Eastern Standard Time,"Std",,"SA Eastern Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\SA Eastern Standard Time,"TZI",1,b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,01,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\SA Pacific Standard Time,"Display",,"America/Bogota" +HKLM,%CurrentVersionNT%\Time Zones\SA Pacific Standard Time,"Dlt",,"SA Pacific Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\SA Pacific Standard Time,"Std",,"SA Pacific Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\SA Pacific Standard Time,"TZI",1,2c,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\SA Western Standard Time,"Display",,"America/La_Paz" +HKLM,%CurrentVersionNT%\Time Zones\SA Western Standard Time,"Dlt",,"SA Western Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\SA Western Standard Time,"Std",,"SA Western Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\SA Western Standard Time,"TZI",1,f0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Samoa Standard Time,"Display",,"Pacific/Samoa" +HKLM,%CurrentVersionNT%\Time Zones\Samoa Standard Time,"Dlt",,"Samoa Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Samoa Standard Time,"Std",,"Samoa Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Samoa Standard Time,"TZI",1,94,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\SE Asia Standard Time,"Display",,"Asia/Bangkok" +HKLM,%CurrentVersionNT%\Time Zones\SE Asia Standard Time,"Dlt",,"SE Asia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\SE Asia Standard Time,"Std",,"SE Asia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\SE Asia Standard Time,"TZI",1,5c,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Singapore Standard Time,"Display",,"Asia/Singapore" +HKLM,%CurrentVersionNT%\Time Zones\Singapore Standard Time,"Dlt",,"Singapore Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Singapore Standard Time,"Std",,"Singapore Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Singapore Standard Time,"TZI",1,20,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\South Africa Standard Time,"Display",,"Africa/Johannesburg" +HKLM,%CurrentVersionNT%\Time Zones\South Africa Standard Time,"Dlt",,"South Africa Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\South Africa Standard Time,"Std",,"South Africa Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\South Africa Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Sri Lanka Standard Time,"Display",,"Asia/Colombo" +HKLM,%CurrentVersionNT%\Time Zones\Sri Lanka Standard Time,"Dlt",,"Sri Lanka Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Sri Lanka Standard Time,"Std",,"Sri Lanka Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Sri Lanka Standard Time,"TZI",1,b6,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Syria Standard Time,"Display",,"Asia/Damascus" +HKLM,%CurrentVersionNT%\Time Zones\Syria Standard Time,"Dlt",,"Syria Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Syria Standard Time,"Std",,"Syria Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Syria Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,05,00,05,00,00,00,00,00,00,00,00,00,00,00,03,00,05,00,05,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Taipei Standard Time,"Display",,"Asia/Taipei" +HKLM,%CurrentVersionNT%\Time Zones\Taipei Standard Time,"Dlt",,"Taipei Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Taipei Standard Time,"Std",,"Taipei Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Taipei Standard Time,"TZI",1,20,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Tasmania Standard Time,"Display",,"Australia/Hobart" +HKLM,%CurrentVersionNT%\Time Zones\Tasmania Standard Time,"Dlt",,"Tasmania Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Tasmania Standard Time,"Std",,"Tasmania Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Tasmania Standard Time,"TZI",1,a8,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,04,00,00,00,01,00,03,00,00,00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Tokyo Standard Time,"Display",,"Asia/Tokyo" +HKLM,%CurrentVersionNT%\Time Zones\Tokyo Standard Time,"Dlt",,"Tokyo Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Tokyo Standard Time,"Std",,"Tokyo Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Tokyo Standard Time,"TZI",1,e4,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Tonga Standard Time,"Display",,"Pacific/Tongatapu" +HKLM,%CurrentVersionNT%\Time Zones\Tonga Standard Time,"Dlt",,"Tonga Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Tonga Standard Time,"Std",,"Tonga Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Tonga Standard Time,"TZI",1,f4,fc,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time,"Display",,"Europe/Istanbul" +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time,"Dlt",,"Turkey Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time,"Std",,"Turkey Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time,"TZI",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,04,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,03,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time\Dynamic DST,"2015",1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,df,07,0b,00,00,00,08,00,04,00,00,00,00,00,00,00,df,07,03,00,00,00,1d,00,03,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time\Dynamic DST,"FirstEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Turkey Standard Time\Dynamic DST,"LastEntry",0x10001,2015 +HKLM,%CurrentVersionNT%\Time Zones\Ulaanbaatar Standard Time,"Display",,"Asia/Ulaanbaatar" +HKLM,%CurrentVersionNT%\Time Zones\Ulaanbaatar Standard Time,"Dlt",,"Ulaanbaatar Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Ulaanbaatar Standard Time,"Std",,"Ulaanbaatar Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Ulaanbaatar Standard Time,"TZI",1,20,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,09,00,06,00,05,00,00,00,00,00,00,00,00,00,00,00,03,00,06,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\US Eastern Standard Time,"Display",,"America/Indianapolis" +HKLM,%CurrentVersionNT%\Time Zones\US Eastern Standard Time,"Dlt",,"US Eastern Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\US Eastern Standard Time,"Std",,"US Eastern Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\US Eastern Standard Time,"TZI",1,2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\US Mountain Standard Time,"Display",,"America/Phoenix" +HKLM,%CurrentVersionNT%\Time Zones\US Mountain Standard Time,"Dlt",,"US Mountain Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\US Mountain Standard Time,"Std",,"US Mountain Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\US Mountain Standard Time,"TZI",1,a4,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\UTC,"Display",,"Etc/UTC" +HKLM,%CurrentVersionNT%\Time Zones\UTC,"Dlt",,"Coordinated Universal Time" +HKLM,%CurrentVersionNT%\Time Zones\UTC,"Std",,"Coordinated Universal Time" +HKLM,%CurrentVersionNT%\Time Zones\UTC,"TZI",1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Venezuela Standard Time,"Display",,"America/Caracas" +HKLM,%CurrentVersionNT%\Time Zones\Venezuela Standard Time,"Dlt",,"Venezuela Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Venezuela Standard Time,"Std",,"Venezuela Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Venezuela Standard Time,"TZI",1,0e,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Vladivostok Standard Time,"Display",,"Asia/Vladivostok" +HKLM,%CurrentVersionNT%\Time Zones\Vladivostok Standard Time,"Dlt",,"Vladivostok Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Vladivostok Standard Time,"Std",,"Vladivostok Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Vladivostok Standard Time,"TZI",1,a8,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\W. Australia Standard Time,"Display",,"Australia/Perth" +HKLM,%CurrentVersionNT%\Time Zones\W. Australia Standard Time,"Dlt",,"W. Australia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\W. Australia Standard Time,"Std",,"W. Australia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\W. Australia Standard Time,"TZI",1,20,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\W. Central Africa Standard Time,"Display",,"Africa/Lagos" +HKLM,%CurrentVersionNT%\Time Zones\W. Central Africa Standard Time,"Dlt",,"W. Central Africa Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\W. Central Africa Standard Time,"Std",,"W. Central Africa Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\W. Central Africa Standard Time,"TZI",1,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\W. Europe Standard Time,"Display",,"Europe/Berlin" +HKLM,%CurrentVersionNT%\Time Zones\W. Europe Standard Time,"Dlt",,"W. Europe Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\W. Europe Standard Time,"Std",,"W. Europe Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\W. Europe Standard Time,"TZI",1,c4,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\West Asia Standard Time,"Display",,"Asia/Karachi" +HKLM,%CurrentVersionNT%\Time Zones\West Asia Standard Time,"Dlt",,"West Asia Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\West Asia Standard Time,"Std",,"West Asia Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\West Asia Standard Time,"TZI",1,d4,fe,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\West Pacific Standard Time,"Display",,"Pacific/Guam" +HKLM,%CurrentVersionNT%\Time Zones\West Pacific Standard Time,"Dlt",,"West Pacific Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\West Pacific Standard Time,"Std",,"West Pacific Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\West Pacific Standard Time,"TZI",1,a8,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%\Time Zones\Yakutsk Standard Time,"Display",,"Asia/Yakutsk" +HKLM,%CurrentVersionNT%\Time Zones\Yakutsk Standard Time,"Dlt",,"Yakutsk Daylight Time" +HKLM,%CurrentVersionNT%\Time Zones\Yakutsk Standard Time,"Std",,"Yakutsk Standard Time" +HKLM,%CurrentVersionNT%\Time Zones\Yakutsk Standard Time,"TZI",1,e4,fd,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersion%\Time Zones,"SymbolicLinkValue",0x60000,"\Registry\Machine\%CurrentVersionNT%\Time Zones" + +[BITSService] +AddReg=BITSServiceKeys +Description="BITS Service" +DisplayName="BITS Service" +ServiceBinary="%11%\svchost.exe -k netsvcs" +ServiceType=16 +StartType=3 +ErrorControl=1 + +[MSIService] +Description="MSI Installer Server" +DisplayName="MSIServer" +ServiceBinary="%11%\msiexec.exe /V" +ServiceType=32 +StartType=3 +ErrorControl=1 + +[MountMgrService] +Description="Device mounting service" +DisplayName="Mount Manager" +ServiceBinary="%12%\mountmgr.sys" +ServiceType=1 +StartType=2 +ErrorControl=1 + +[RpcSsService] +Description="RPC service" +DisplayName="Remote Procedure Call (RPC)" +ServiceBinary="%11%\rpcss.exe" +ServiceType=32 +StartType=3 +ErrorControl=1 + +[WineBusService] +Description="Wine Platform Bus Kernel" +DisplayName="Platform Bus Kernel" +ServiceBinary="%12%\winebus.sys" +LoadOrderGroup="WinePlugPlay" +ServiceType=1 +StartType=2 +ErrorControl=1 + +[WineHIDService] +Description="Wine HID Minidriver" +DisplayName="Wine HID" +ServiceBinary="%12%\winehid.sys" +LoadOrderGroup="WinePlugPlay" +ServiceType=1 +StartType=3 +ErrorControl=1 + +[SpoolerService] +Description="Loads files to memory for later printing" +DisplayName="Print Spooler" +ServiceBinary="%11%\spoolsv.exe" +ServiceType=0x110 +StartType=3 +ErrorControl=1 +LoadOrderGroup="SpoolerGroup" + +[TerminalServices] +Description="Remote desktop access" +DisplayName="Terminal Services" +ServiceBinary="%11%\termsv.exe" +ServiceType=32 +StartType=3 +ErrorControl=1 + +[StiService] +AddReg=StiServiceKeys +Description="WIA Service" +DisplayName="WIA Service" +ServiceBinary="%11%\svchost.exe -k imgsvc" +ServiceType=16 +StartType=3 +ErrorControl=1 + +[BITSServiceKeys] +HKR,Parameters,"ServiceDll",,"%11%\qmgr.dll" +HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010000,"BITS" + +[StiServiceKeys] +HKR,Parameters,"ServiceDll",,"%11%\wiaservc.dll" +HKLM,%CurrentVersionNT%\SvcHost,"imgsvc",0x00010000,"StiSvc" + +[PlugPlayService] +Description="Enables automatic configuration of devices" +DisplayName="Plug and Play Service" +ServiceBinary="%11%\plugplay.exe" +ServiceType=32 +StartType=2 +ErrorControl=1 + +[WPFFontCacheService] +Description="Windows Presentation Foundation font cache service" +DisplayName="Windows Presentation Foundation Font Cache 3.0.0.0" +ServiceBinary="%10%\Microsoft.Net\Framework\v3.0\wpf\presentationfontcache.exe" +ServiceType=16 +StartType=3 +ErrorControl=1 + +[LanmanServerService] +AddReg=LanmanServerServiceKeys +Description="Lanman Server" +DisplayName="Lanman Server" +ServiceBinary="%11%\svchost.exe -k netsvcs" +ServiceType=32 +StartType=4 +ErrorControl=1 + +[LanmanServerServiceKeys] +HKR,Parameters,"ServiceDll",,"%11%\srvsvc.dll" +;; HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010008,"lanmanserver" + +[FontCacheService] +AddReg=FontCacheServiceKeys +Description="Windows Font Cache Service" +DisplayName="Windows Font Cache Service" +ServiceBinary="%11%\svchost.exe -k netsvcs" +ServiceType=32 +StartType=3 +ErrorControl=1 + +[FontCacheServiceKeys] +HKR,Parameters,"ServiceDll",,"%11%\fntcache.dll" +HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010008,"fontcache" + +[TaskSchedulerService] +AddReg=TaskSchedulerServiceKeys +Description="Task Scheduler" +DisplayName="Task Scheduler" +ServiceBinary="%11%\svchost.exe -k netsvcs" +ServiceType=32 +StartType=3 +ErrorControl=1 + +[TaskSchedulerServiceKeys] +HKR,Parameters,"ServiceDll",,"%11%\schedsvc.dll" +HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010008,"Schedule" + +[Services] +HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -a -r" +HKLM,"System\CurrentControlSet\Services\Eventlog\Application",,16 +HKLM,"System\CurrentControlSet\Services\Eventlog\System",,16 +HKLM,"System\CurrentControlSet\Services\Tcpip\Parameters",,16 +HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",,16 +HKLM,"System\CurrentControlSet\Services\Winsock\Parameters",,16 +HKLM,"System\CurrentControlSet\Services\Winsock2\Parameters\Protocol_Catalog9\Catalog_Entries",,16 + +[VersionInfo] +HKLM,%CurrentVersionNT%,"CurrentVersion",2,"6.1" +HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 1" +HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"7601" +HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free" +HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows 7" +HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT" +HKLM,%Control%\Windows,"CSDVersion",0x10003,0x100 +HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT" + +[VersionInfo.ntamd64] +HKLM,%CurrentVersionNT%,"CurrentVersion",2,"6.1" +HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 1" +HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"7601" +HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free" +HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows 7" +HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT" +HKLM,%Control%\Windows,"CSDVersion",0x10003,0x100 +HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT" + +[Wow64] +; Wow6432Node symlinks +HKLM,Software\Classes\Wow6432Node\AppId,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Classes\AppId" +HKLM,Software\Classes\Wow6432Node\Protocols,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Classes\Protocols" +HKLM,Software\Classes\Wow6432Node\TypeLib,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Classes\TypeLib" +HKLM,Software\Wow6432Node\Classes,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Classes\Wow6432Node" +; 32-bit redirected keys under HKLM\Software\Classes +HKLM,Software\Classes\Wow6432Node\CLSID,,16 +HKLM,Software\Classes\Wow6432Node\DirectShow,,16 +HKLM,Software\Classes\Wow6432Node\Interface,,16 +HKLM,Software\Classes\Wow6432Node\Media Type,,16 +HKLM,Software\Classes\Wow6432Node\MediaFoundation,,16 +; symlinks for shared keys under HKLM\Software +HKLM,Software\Wow6432Node\Microsoft\Clients,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Clients" +HKLM,Software\Wow6432Node\Microsoft\Cryptography\Calais\Current,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Cryptography\Calais\Current" +HKLM,Software\Wow6432Node\Microsoft\Cryptography\Calais\Readers,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Cryptography\Calais\Readers" +HKLM,Software\Wow6432Node\Microsoft\Cryptography\Services,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Cryptography\Services" +HKLM,Software\Wow6432Node\Microsoft\CTF\SystemShared,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\CTF\SystemShared" +HKLM,Software\Wow6432Node\Microsoft\CTF\TIP,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\CTF\TIP" +HKLM,Software\Wow6432Node\Microsoft\DFS,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\DFS" +HKLM,Software\Wow6432Node\Microsoft\Driver Signing,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Driver Signing" +HKLM,Software\Wow6432Node\Microsoft\EnterpriseCertificates,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\EnterpriseCertificates" +HKLM,Software\Wow6432Node\Microsoft\EventSystem,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\EventSystem" +HKLM,Software\Wow6432Node\Microsoft\MSMQ,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\MSMQ" +HKLM,Software\Wow6432Node\Microsoft\Non-Driver Signing,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Non-Driver Signing" +HKLM,Software\Wow6432Node\Microsoft\Notepad\DefaultFonts,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Notepad\DefaultFonts" +HKLM,Software\Wow6432Node\Microsoft\OLE,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\OLE" +HKLM,Software\Wow6432Node\Microsoft\RAS,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\RAS" +HKLM,Software\Wow6432Node\Microsoft\RPC,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\RPC" +HKLM,Software\Wow6432Node\Microsoft\Software\Microsoft\Shared Tools\MSInfo,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Shared Tools\MSInfo" +HKLM,Software\Wow6432Node\Microsoft\SystemCertificates,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\SystemCertificates" +HKLM,Software\Wow6432Node\Microsoft\TermServLicensing,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\TermServLicensing" +HKLM,Software\Wow6432Node\Microsoft\Transaction Server,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Transaction Server" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\App Paths" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Control Panel\Cursors\Schemes,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cursors\Schemes" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\KindMap,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Explorer\KindMap" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Group Policy,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Group Policy" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Policies" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\PreviewHandlers,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Setup" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Telephony\Locations,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows\CurrentVersion\Telephony\Locations" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Console,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Console" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\FontDpi,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\FontDpi" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\FontLink,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\FontLink" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\FontMapper,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\FontMapper" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Fonts" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\FontSubstitutes,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Gre_Initialize,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Gre_Initialize" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\LanguagePack,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\LanguagePack" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\NetworkCards,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Perflib,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Perflib" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Ports,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Ports" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Print" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\ProfileList,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\ProfileList" +HKLM,Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Time Zones,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Time Zones" +HKLM,Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Time Zones,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion\Time Zones" +HKLM,Software\Wow6432Node\Policies,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Policies" +HKLM,Software\Wow6432Node\Registered Applications,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Registered Applications" + +[LicenseInformation] +; based on information from http://www.geoffchappell.com/notes/windows/license/install.htm +HKLM,Software\Wine\LicenseInformation,"Kernel-MUI-Language-Allowed",,"EMPTY" +HKLM,Software\Wine\LicenseInformation,"Kernel-MUI-Language-Disallowed",,"EMPTY" +HKLM,Software\Wine\LicenseInformation,"Kernel-MUI-Number-Allowed",0x10001,1000 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-FreeCell-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Hearts-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Minesweeper-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-PurblePlace-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Shanghai-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Solitaire-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-SpiderSolitaire-EnableGame",0x10001,0x00000001 +HKLM,Software\Wine\LicenseInformation,"Shell-PremiumInBoxGames-Chess-EnableGame",0x10001,0x00000001 diff --git a/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/AUTHORS.gz b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/AUTHORS.gz new file mode 100644 index 0000000..2420dbd Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/AUTHORS.gz differ diff --git a/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/README.gz b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/README.gz new file mode 100644 index 0000000..3eb4e61 Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/README.gz differ diff --git a/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/changelog.Debian.gz b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/changelog.Debian.gz differ diff --git a/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/changelog.gz b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/changelog.gz differ diff --git a/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/copyright b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-libwine_2.18-12_i386/usr/share/doc/deepin-libwine/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-libwine_2.18-12_i386/usr/share/lintian/overrides/deepin-libwine b/deepin-libwine_2.18-12_i386/usr/share/lintian/overrides/deepin-libwine new file mode 100644 index 0000000..f98af68 --- /dev/null +++ b/deepin-libwine_2.18-12_i386/usr/share/lintian/overrides/deepin-libwine @@ -0,0 +1,7 @@ +# debhelper bug causes these +postinst-has-useless-call-to-ldconfig +postrm-has-useless-call-to-ldconfig +# unfortunately wine doesn't doesn't do fortify hardening +hardening-no-fortify-functions +# incorrectly flagged +spelling-error-in-binary diff --git a/deepin-wine-binfmt_2.18-12_all.deb b/deepin-wine-binfmt_2.18-12_all.deb new file mode 100644 index 0000000..23a0291 Binary files /dev/null and b/deepin-wine-binfmt_2.18-12_all.deb differ diff --git a/deepin-wine-binfmt_2.18-12_all/DEBIAN/control b/deepin-wine-binfmt_2.18-12_all/DEBIAN/control new file mode 100644 index 0000000..121e559 --- /dev/null +++ b/deepin-wine-binfmt_2.18-12_all/DEBIAN/control @@ -0,0 +1,15 @@ +Package: deepin-wine-binfmt +Source: deepin-wine +Version: 2.18-12 +Architecture: all +Maintainer: Debian Wine Party +Installed-Size: 76 +Depends: deepin-wine, binfmt-support +Section: otherosfs +Priority: optional +Homepage: http://www.winehq.org/ +Description: Windows API implementation - binfmt support + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides support for launching windows executables directly. diff --git a/deepin-wine-binfmt_2.18-12_all/DEBIAN/md5sums b/deepin-wine-binfmt_2.18-12_all/DEBIAN/md5sums new file mode 100644 index 0000000..fe4bcf2 --- /dev/null +++ b/deepin-wine-binfmt_2.18-12_all/DEBIAN/md5sums @@ -0,0 +1,4 @@ +1b0fe7feac3e69e81cfe40f2793b8e4a usr/share/binfmts/wine +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine-binfmt/control +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine-binfmt/changelog.Debian.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine-binfmt/copyright diff --git a/deepin-wine-binfmt_2.18-12_all/usr/share/binfmts/wine b/deepin-wine-binfmt_2.18-12_all/usr/share/binfmts/wine new file mode 100644 index 0000000..cb52a07 --- /dev/null +++ b/deepin-wine-binfmt_2.18-12_all/usr/share/binfmts/wine @@ -0,0 +1,3 @@ +package wine +interpreter /usr/bin/wine +magic MZ diff --git a/deepin-wine-binfmt_2.18-12_all/usr/share/bug/deepin-wine-binfmt/control b/deepin-wine-binfmt_2.18-12_all/usr/share/bug/deepin-wine-binfmt/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-wine-binfmt_2.18-12_all/usr/share/bug/deepin-wine-binfmt/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-wine-binfmt_2.18-12_all/usr/share/doc/deepin-wine-binfmt/changelog.Debian.gz b/deepin-wine-binfmt_2.18-12_all/usr/share/doc/deepin-wine-binfmt/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-wine-binfmt_2.18-12_all/usr/share/doc/deepin-wine-binfmt/changelog.Debian.gz differ diff --git a/deepin-wine-binfmt_2.18-12_all/usr/share/doc/deepin-wine-binfmt/copyright b/deepin-wine-binfmt_2.18-12_all/usr/share/doc/deepin-wine-binfmt/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-wine-binfmt_2.18-12_all/usr/share/doc/deepin-wine-binfmt/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-wine-helper_1.1deepin12_i386.deb b/deepin-wine-helper_1.1deepin12_i386.deb new file mode 100644 index 0000000..2376be4 Binary files /dev/null and b/deepin-wine-helper_1.1deepin12_i386.deb differ diff --git a/deepin-wine-helper_1.1deepin12_i386/DEBIAN/changelog b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/changelog new file mode 100755 index 0000000..c2b91c7 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/changelog @@ -0,0 +1,11 @@ +deepin-crossover-helper (1.0deepin25) unstable; urgency=medium + + * fix kill.sh to compitable with case. + + -- Deepin Packages Builder Wed, 15 Nov 2017 14:03:52 +0800 +deepin-crossover-helper (1.0deepin0) unstable; urgency=medium + + * new deb package. + + -- Deepin Packages Builder Wed, 22 Jul 2015 17:08:58 +0800 + diff --git a/deepin-wine-helper_1.1deepin12_i386/DEBIAN/control b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/control new file mode 100755 index 0000000..bf416f7 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/control @@ -0,0 +1,12 @@ +Source: deepin-wine-helper +Package: deepin-wine-helper +Version: 1.1deepin12 +Architecture: i386 +Maintainer: Deepin Packages Builder +Depends: libbsd0:i386 (>= 0.0), libxt6:i386, deepin-wine-plugin-virtual +Recommends: libasound2-plugins:i386 +Section: non-free/otherosfs +Priority: extra +Multi-Arch: foreign +Homepage: http://www.linuxdeepin.com/ +Description: Deepin Wine Hepler diff --git a/deepin-wine-helper_1.1deepin12_i386/DEBIAN/copyright b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/copyright new file mode 100644 index 0000000..e2e5fd5 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/copyright @@ -0,0 +1,8 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: deepin-crossover +Source: not available + +Files: * +Copyright: 2015 Wuhan Deepin Technology Co., Ltd. +License: +All rights reserved by Wuhan Deepin Technology Co., Ltd. diff --git a/deepin-wine-helper_1.1deepin12_i386/DEBIAN/postinst b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/postinst new file mode 100755 index 0000000..05a7907 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/DEBIAN/postinst @@ -0,0 +1,2 @@ +#!/bin/bash + diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/SetDpi.sh b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/SetDpi.sh new file mode 100755 index 0000000..3a3d913 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/SetDpi.sh @@ -0,0 +1,45 @@ +#!/bin/bash + +# Copyright (C) 2016 Deepin, Inc. +# +# Author: Peng Hao +# Maintainer: Peng Hao + +BASE_DIR="$HOME/.deepinwine/Deepin-QQ" +WINE_CMD="deepin-wine" + +_SetRegistryValue() +{ + env WINEPREFIX="$BASE_DIR" $WINE_CMD reg ADD "$1" /v "$2" /t $3 /d "$4" /f +} + +_SetOverride() +{ + _SetRegistryValue 'HKCU\Software\Wine\DllOverrides' "$2" REG_SZ "$1" +} + +if [ -z "$1" ] || [ -z "$2" ]; then + echo "Please input two args, first is dpi, second is bottle name" + exit 0 +fi + +if (("$1" < 96)) || (($1 > 400)) ; then + echo "Invaild dpi vaule, min 96 max 400" + exit 0 +fi + +BASE_DIR="$HOME/.deepinwine/$2" +RUN_CMD="/opt/deepinwine/apps/$2/run.sh" + +if [ ! -f "$RUN_CMD" ]; then + echo "Invaild bottle name, $2 is not exist" + exit 0 +fi + +/opt/deepinwine/tools/kill.sh $2 +$RUN_CMD -c + +_SetRegistryValue 'HKCU\Control Panel\Desktop' LogPixels REG_DWORD $1 + +$RUN_CMD +exit 0 diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/add_hotkeys b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/add_hotkeys new file mode 100755 index 0000000..1610f97 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/add_hotkeys @@ -0,0 +1,71 @@ +#!/usr/bin/env python2 +# vim: set ts=4 sw=4 fileencoding=utf-8: +# Luomio +# Filename: dde-first-run.py +# Create Date: 27-03, 13 + +from os import path, rename, remove +import locale +import subprocess +import os +import shutil +import json +import math + +def system_screenshot_isA(): + try: + import gobject + from dbus import glib + import dbus + except ImportError: + return False + + gobject.threads_init() + glib.init_threads() + bus = dbus.SessionBus() + keybinding = bus.get_object("com.deepin.daemon.Keybinding", "/com/deepin/daemon/Keybinding") + + obj = json.loads(keybinding.List()) + for i in xrange(len(obj)): + if obj[i]['Id'] == "screenshot": + if 'A' in obj[i]['Accels']: + return True + + return False + +def add_qq_shortcut(_name, _key, _short_cut): + _action = "/opt/deepinwine/tools/sendkeys.sh" + if path.exists(_action): + try: + import gobject + from dbus import glib + import dbus + except ImportError: + return False + + gobject.threads_init() + glib.init_threads() + bus = dbus.SessionBus() + keybinding = bus.get_object("com.deepin.daemon.Keybinding", "/com/deepin/daemon/Keybinding") + + obj = json.loads(keybinding.List()) + for i in xrange(len(obj)): + if obj[i]['Name'] == _name: + keybinding.Delete(obj[i]['Id'], obj[i]['Type']) + + _, ok = keybinding.Add(_name, _action+_key, _short_cut) + if ok == False: + return False + +if __name__ == "__main__": + import sys + + if len(sys.argv) < 4: + add_qq_shortcut(u"提取QQ消息", " z", "Z") + if system_screenshot_isA(): + add_qq_shortcut(u"QQ截图", " a", "S") + else: + add_qq_shortcut(u"QQ截图", " a", "A") + sys.exit(0) + + add_qq_shortcut(unicode(sys.argv[1], 'utf-8'), sys.argv[2], sys.argv[3]) diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/fontconfig b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/fontconfig new file mode 100755 index 0000000..a850d99 Binary files /dev/null and b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/fontconfig differ diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/get_tray_window b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/get_tray_window new file mode 100755 index 0000000..5b644b4 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/get_tray_window @@ -0,0 +1,28 @@ +#!/usr/bin/env python2 +# vim: set ts=4 sw=4 fileencoding=utf-8: +# Luomio +# Filename: dde-first-run.py +# Create Date: 27-03, 13 + +def get_tray_window(): + try: + import gobject + from dbus import glib + import dbus + except ImportError: + return False + + gobject.threads_init() + glib.init_threads() + bus = dbus.SessionBus() + traymanager = bus.get_object("com.deepin.dde.TrayManager", "/com/deepin/dde/TrayManager") + + windows = traymanager.Get("com.deepin.dde.TrayManager","TrayIcons") + str="window_id:" + for i in xrange(len(windows)): + str += '{:#x} '.format(windows[i]) + + print(str) + +if __name__ == "__main__": + get_tray_window() diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/kill.sh b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/kill.sh new file mode 100755 index 0000000..783fce3 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/kill.sh @@ -0,0 +1,172 @@ +#!/bin/bash + +APP_NAME="QQ" +LOG_FILE=$0 + +init_log_file() +{ + if [ -d "$DEBUG_LOG" ];then + LOG_DIR=$(realpath $DEBUG_LOG) + if [ -d "$LOG_DIR" ];then + LOG_FILE="${LOG_DIR}/${LOG_FILE##*/}.log" + echo "" > "$LOG_FILE" + debug_log "LOG_FILE=$LOG_FILE" + fi + fi +} + +debug_log_to_file() +{ + if [ -d "$DEBUG_LOG" ];then + strDate=$(date) + echo -e "${strDate}:${1}" >> "$LOG_FILE" + fi +} + +debug_log() +{ + strDate=$(date) + echo "${strDate}:${1}" +} + +init_log_file + +get_bottle_path_by_process_id() +{ + PID_LIST="$1" + PREFIX_LIST="" + + for pid_var in $PID_LIST ; do + WINE_PREFIX=$(xargs -0 printf '%s\n' < /proc/$pid_var/environ | grep WINEPREFIX) + WINE_PREFIX=${WINE_PREFIX##*=} + for path in $(echo -e $PREFIX_LIST) ; do + if [[ $path == "$WINE_PREFIX" ]]; then + WINE_PREFIX="" + fi + done + if [ -d "$WINE_PREFIX" ]; then + debug_log_to_file "found $pid_var : $WINE_PREFIX" + PREFIX_LIST+="\n$WINE_PREFIX" + fi + done + echo -e $PREFIX_LIST | grep $HOME +} + +get_pid_by_process_name() +{ + ps -ef | grep -E -i "c:.*${1}|d:.*${1}|e:.*${1}|f:.*${1}" | grep -v grep | awk '{print $2}' +} + +get_bottle_path_by_process_name() +{ + PID_LIST=$(get_pid_by_process_name $1) + debug_log_to_file "get pid list: $PID_LIST" + get_bottle_path_by_process_id "$PID_LIST" +} + +get_bottle_path() +{ + if [ -z "$1" ];then + return 0 + fi + + if [ -f "$1/user.reg" ]; then + echo "$1" + return 0 + fi + + if [ -f "$HOME/.deepinwine/$1/user.reg" ]; then + echo "$HOME/.deepinwine/$1" + return 0 + fi + get_bottle_path_by_process_name "$1" +} + +kill_app() +{ + debug_log "try to kill $1" + for path in $(get_bottle_path $1); do + if [[ $path == *"deepinwine"* ]]; then + debug_log "kill $path deepinwine" + env WINEPREFIX="$path" /usr/lib/i386-linux-gnu/deepin-wine/wineserver -k + elif [[ $path == *"cxoffice"* ]]; then + debug_log "kill $path cxoffice" + env WINEPREFIX="$path" /opt/cxoffice/bin/wineserver -k + else + debug_log "unkown ${path}" + env WINEPREFIX="$path" /usr/lib/i386-linux-gnu/deepin-wine/wineserver -k + fi + done +} + +get_tray_window() +{ + /opt/deepinwine/tools/get_tray_window | grep window_id: | awk -F: '{print $2}' +} + +get_stacking_window() +{ + xprop -root _NET_CLIENT_LIST_STACKING | awk -F# '{print $2}' | sed -e 's/, / /g' +} + +get_window_pid() +{ + for winid in $(echo "$1" | sed -e 's/ /\n/g') ; + do + xprop -id $winid _NET_WM_PID | awk -F= '{print $2}' + done +} + +get_window_bottle() +{ + debug_log_to_file "get_window_bottle $1" + PID_LIST=$(get_window_pid "$1") + debug_log_to_file "get_window_bottle pid list: $PID_LIST" + get_bottle_path_by_process_id "$PID_LIST" +} + +get_active_bottles() +{ + TRAYWINDOWS=$(get_tray_window) + STACKINGWINDOWS=$(get_stacking_window) + debug_log_to_file "tray window id: $TRAYWINDOWS" + debug_log_to_file "stacking window id: $STACKINGWINDOWS" + PID_LIST="$TRAYWINDOWS" + for pid in $STACKINGWINDOWS; do + if [[ $pid != *"$PID_LIST"* ]];then + PID_LIST+=" $pid" + fi + done + get_window_bottle "$PID_LIST" +} + +kill_exit_block_app() +{ + if [ -z "$(get_pid_by_process_name service)" ];then + debug_log "No wine process found" + return + fi + TAGBOTTLE=$(get_bottle_path_by_process_name $1) + debug_log "tag bottle: $TAGBOTTLE" + ACTIVEBOTTLES=$(get_active_bottles) + debug_log "active bottles: $ACTIVEBOTTLES" + + if [[ "$ACTIVEBOTTLES" != *"$TAGBOTTLE"* ]]; then + kill_app "$TAGBOTTLE" + fi +} + +#get_active_bottles +#exit + +debug_log "kill $1 $2" + +if [ -n "$1" ]; then + APP_NAME="$1" +fi + +if [ "$2" = "block" ]; then + kill_exit_block_app $APP_NAME $3 +else + kill_app $APP_NAME +fi diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/log.sh b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/log.sh new file mode 100755 index 0000000..2985aa7 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/log.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +BOTTLE_NAME="Deepin-QQ" +DEBUG_MSG="+pid,+tid,+timestamp" + +find_exec_path() +{ + RUN_SHELL=$HOME/.deepinwine/$1/drive_c/deepin/EnvInit.sh + if [ -e "$RUN_SHELL" ]; then + APP_PATH=$(cat $RUN_SHELL | grep "env WINEPREFIX=\"\$BASE_DIR\" \$WINE_CMD" | grep "\&" | grep -E "c:|C:" | cut -d "\"" -f4) + echo $1=$APP_PATH + fi +} + +show_all_apps() +{ + APP_LIST="$(ls $HOME/.deepinwine)" + for name in $APP_LIST; do + find_exec_path $name + done + exit +} + +#show_all_apps + +if [ -n "$1" ]; then + BOTTLE_NAME="$1" +fi + +if [ -n "$2" ]; then + DEBUG_MSG="$2" +fi + +mkdir $HOME/log &> /dev/null + +export DEBUG_LOG="$HOME/log" + +dpkg -l | grep "Deepin Wine" > $HOME/log/${BOTTLE_NAME}.log +dpkg -l deepin-libwine >> $HOME/log/${BOTTLE_NAME}.log +ps -ef | grep -i c: >> $HOME/log/${BOTTLE_NAME}.log + +if [ -z "$3" ]; then + WINEDEBUG=${DEBUG_MSG} /opt/deepinwine/apps/${BOTTLE_NAME}/run.sh &>> $HOME/log/${BOTTLE_NAME}.log & +else + WINEDEBUG=${DEBUG_MSG} /opt/deepinwine/apps/${BOTTLE_NAME}/run.sh -u "$3" &>> $HOME/log/${BOTTLE_NAME}.log & +fi +dde-file-manager $HOME/log &> /dev/null & diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/register_font.sh b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/register_font.sh new file mode 100755 index 0000000..4734caa --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/register_font.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +APPS="Deepin-QQ Deepin-QQLigth" +WINE_CMD="deepin-wine" +RE_TAG="Source Han Sans SC Regular" +WINE_PREFIX="" + +_SetRegistryValue() +{ + env WINEPREFIX="$WINE_PREFIX" $WINE_CMD reg ADD "$1" /v "$2" /t $3 /d "$4" +} + +_DeleteRegistryValue() +{ + env WINEPREFIX="$WINE_PREFIX" $WINE_CMD reg DELETE "$1" /v "$2" +} + +_SetFontReplacements() +{ + echo "$1 -> $2" +# _DeleteRegistryValue 'HKCU\Software\Wine\\Fonts\Replacements' "$1" + _SetRegistryValue 'HKCU\Software\Wine\\Fonts\Replacements' "$1" REG_SZ "$2" +} + +if [ -z "$1" ]; then + echo "No font name" + exit 0 +fi + +if [ -n "$2" ]; then + RE_TAG="$2" +fi + +for name in ${APPS}; do + WINE_PREFIX="$HOME/.deepinwine/$name" + echo $WINE_PREFIX + if [ -d "$WINE_PREFIX" ]; then + _SetFontReplacements "$1" "$RE_TAG" + fi +done diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/run.sh b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/run.sh new file mode 100755 index 0000000..dfd7062 --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/run.sh @@ -0,0 +1,652 @@ +#!/bin/bash + +# Copyright (C) 2016 Deepin, Inc. +# +# Author: Li LongYu +# Peng Hao + +WINEPREFIX="$HOME/.deepinwine/@public_bottle_name@" +APPDIR="/opt/deepinwine/apps/@public_bottle_name@" +APPVER="@deb_version_string@" +APPTAR="files.7z" +BOTTLENAME="" +WINE_CMD="deepin-wine" + +LOG_FILE=$0 + +init_log_file() +{ + LOG_DIR=$(realpath $DEBUG_LOG) + if [ -d "$LOG_DIR" ];then + LOG_FILE="${LOG_DIR}/${LOG_FILE##*/}.log" + echo "" > "$LOG_FILE" + debug_log "LOG_FILE=$LOG_FILE" + fi +} + +debug_log_to_file() +{ + if [ -f "$DEBUG_LOG" ];then + strDate=$(date) + echo -e "${strDate}:${1}" >> "$LOG_FILE" + fi +} + +debug_log() +{ + strDate=$(date) + echo "${strDate}:${1}" +} + +init_log_file + +_SetRegistryValue() +{ + env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg ADD "$1" /v "$2" /t $3 /d "$4" /f +} + +_DeleteRegistry() +{ + env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg DELETE "$1" /f &> /dev/null +} + +_SetOverride() +{ + _SetRegistryValue 'HKCU\Software\Wine\DllOverrides' "$2" REG_SZ "$1" +} + +HelpApp() +{ + echo " Extra Commands:" + echo " -r/--reset Reset app to fix errors" + echo " -e/--remove Remove deployed app files" + echo " -h/--help Show program help info" +} +FixLink() +{ + if [ -d ${WINEPREFIX} ]; then + CUR_DIR=$PWD + cd "${WINEPREFIX}/dosdevices" + rm c: z: + ln -s -f ../drive_c c: + ln -s -f / z: + cd $CUR_DIR + ls -l "${WINEPREFIX}/dosdevices" + fi +} +urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } + +uridecode() +{ + local path=$(urldecode "$1") + path=${path/file:\/\//} + echo $path +} + +get_bottle_path_by_process_id() +{ + PID_LIST="$1" + PREFIX_LIST="" + + for pid_var in $PID_LIST ; do + WINE_PREFIX=$(xargs -0 printf '%s\n' < /proc/$pid_var/environ | grep WINEPREFIX) + WINE_PREFIX=${WINE_PREFIX##*=} + for path in $(echo -e $PREFIX_LIST) ; do + if [[ $path == "$WINE_PREFIX" ]]; then + WINE_PREFIX="" + fi + done + if [ -d "$WINE_PREFIX" ]; then + debug_log_to_file "found $pid_var : $WINE_PREFIX" + PREFIX_LIST+="\n$WINE_PREFIX" + fi + done + echo -e $PREFIX_LIST | grep $HOME +} + +get_bottle_path_by_process_name() +{ + PID_LIST=$(ps -ef | grep -E -i "c:.*${1}" | grep -v grep | awk '{print $2}') + debug_log_to_file "get pid list: $PID_LIST" + get_bottle_path_by_process_id "$PID_LIST" +} + +CallYMDY() +{ + SERVER_BOTTLE=$(get_bottle_path_by_process_name sqlservr.exe | grep $WINEPREFIX) + if [ -z "$SERVER_BOTTLE" ]; then + debug_log "Starting SQL Server ..." + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Microsoft SQL Server\\MSSQL\\Binn\\sqlservr.exe" -s MSSQLSERVER & + else + debug_log "SQL Server is running in $SERVER_BOTTLE" + fi + + if [ "autostart" == "$1" ]; then + debug_log "Auto start SQL Server" + elif [ "tongji" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\旗帜软件\\党内信息管理系统(统计版)\\CReport.exe" & + elif [ "createdb" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\旗帜软件\\党内信息管理系统(统计版)\\数据库安装\\SetupDb.exe" & + elif [ "servermanger" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Microsoft SQL Server\\80\\Tools\\Binn\\sqlmangr.exe" /n & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\旗帜软件\\党内信息管理系统(统计版)\\QZCPMIS.exe" & + fi +} +CallYMGWY() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD uninstaller --list + elif [ "tongji" == "$1" ]; then + firefox "http://127.0.0.1:64022/hzbtj" & + else + firefox "http://127.0.0.1:64022/hzb" & + fi +} +CallATM() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + if [ ! -f "$WINEPREFIX/drive_c/Program Files/TradeManager/AliIM.exe" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\deepin\\AliIM2015_ATM.exe" + fi + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\TradeManager\\AliIM.exe" & + fi +} +CallQIANNIU() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\AliWorkbench\\AliWorkbench.exe" & + fi +} +CallYMPOPS() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\全国持久性有机污染物统计年报信息管理系统(2017)\\POPs.exe" & + fi +} +CallYMRLZY() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\人力资源社会保障统计报表系统SMIS2012\\bin\\Omni.exe" & + fi +} +CallYMDATJ() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + if [ ! -f "$WINEPREFIX/drive_c/Program Files/JoinCheer/全国档案事业统计年报信息管理系统/ReportE.exe" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\deepin\\install\\setup.exe" + fi + + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\JoinCheer\\全国档案事业统计年报信息管理系统\\ReportE.exe" & + fi +} +CallYMWZXX() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\全国政府网站信息报送客户端\\UFReader.exe" & + fi +} +CallRTX2015() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + cd "$WINEPREFIX/drive_c/Program Files/Tencent/RTXC" + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\RTXC\\RTX.exe" & + fi +} +CallYMRDWS() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\饮用水水源环境基础信息采集系统\\RDWS.exe" & + fi +} +CallQQGame() +{ + debug_log "run $1" + if [ -f "$WINEPREFIX/drive_c/users/$USER/Application Data/Tencent/QQMicroGameBox/Launch.exe" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\users\\$USER/Application Data\\Tencent\\QQMicroGameBox\\Launch.exe" -/appid:$1 & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\QQMicroGameBoxMini\\QQMGameBoxUpdater.exe" -action:force_download -appid:$1 -pid:8 -bin_version:1.1.2.4 -loginuin: & + fi +} +CallWXWork() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + /opt/deepinwine/tools/kill.sh WXWork.exe block + + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\WXWork\\WXWork.exe" & + fi +} +CallRTX2009() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\RTXC\\RTX.exe" & + fi +} +CallIrfanView() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + OPEN_FILE=$(uridecode $1) + if [ -f "$OPEN_FILE" ]; then + OPEN_FILE=$(realpath "$OPEN_FILE") + OPEN_FILE="z:$OPEN_FILE" + debug_log "fond file $OPEN_FILE" + OPEN_FILE=$(echo $OPEN_FILE | sed -e 's/\//\\\\/g') + fi + + echo "file path: $OPEN_FILE" + if [ -n "$OPEN_FILE" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\IrfanView\\i_view32.exe" "$OPEN_FILE" & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\IrfanView\\i_view32.exe" & + fi + fi +} +CallQQ() +{ + if [ ! -f "$WINEPREFIX/../.QQ_run" ]; then + debug_log "first run time" + /opt/deepinwine/tools/add_hotkeys + /opt/deepinwine/tools/fontconfig + touch "$WINEPREFIX/../.QQ_run" + fi + + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + #Support use native file dialog + export ATTACH_FILE_DIALOG=1 + + #Auto kill block process + /opt/deepinwine/tools/kill.sh QQ.exe block + + debug_log "start running..." + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\QQ\\Bin\\QQ.exe" & + fi +} +CallTIM() +{ + if [ ! -f "$WINEPREFIX/../.QQ_run" ]; then + debug_log "first run time" + /opt/deepinwine/tools/add_hotkeys + /opt/deepinwine/tools/fontconfig + # If the bottle not exists, run reg may cost lots of times + # So create the bottle befor run reg + env WINEPREFIX="$WINEPREFIX" $WINE_CMD uninstaller --list + touch $WINEPREFIX/../.QQ_run + fi + + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + #Auto kill block process + /opt/deepinwine/tools/kill.sh TIM.exe block + + #Support use native file dialog + export ATTACH_FILE_DIALOG=1 + + debug_log "start running..." + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\TIM\\Bin\\TIM.exe" & + + #disable Tencent MiniBrowser + _DeleteRegistry "HKCU\\Software\\Tencent\\MiniBrowser" + fi +} +fun1(){ + xwininfo -root -children | grep -E -i "WeChat.exe.*Wine.*60x60" +} +CallWeChat() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + debug_log "Disable auto update" + _DeleteRegistry "HKCU\\Software\\Tencent\\WeChat" "UpdateFailCnt" + _DeleteRegistry "HKCU\\Software\\Tencent\\WeChat" "NeedUpdateType" + rm "${WINEPREFIX}/drive_c/users/${USER}/Application Data/Tencent/WeChat/All Users/config/configEx.ini" + + export DISABLE_RENDER_CLIPBOARD=1 + debug_log "start running..." + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\WeChat\\WeChat.exe" & + fi +} +CallFoobar2000() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\foobar2000\\foobar2000.exe" & + fi +} +Call7zip() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\7-Zip\\7zFM.exe" & + fi +} +Callgtjafuyi() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\GTJA\\RichEZ\\TdxW.exe" & + fi +} +CallAAAlog() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\AAALOGO\\alogo.exe" & + fi +} +CallWinRAR() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\WinRAR\\WinRAR.exe" & + fi +} +Call360Zip() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\360\\360zip\\360zip.exe" & + fi +} +CallJCJCJSC() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\金长江网上交易\\金长江网上交易财智版\\tdxw.exe" & + fi +} +CallQQEIM() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\QQEIM\\Bin\\QQEIM.exe" & + fi +} +CallQQCRM() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\Tencent\\BizQQ\\Bin\\QQCRM.exe" & + fi +} +CallWangWang() +{ + if [ "autostart" == "$1" ]; then + env WINEPREFIX="$WINEPREFIX" $WINE_CMD /opt/deepinwine/tools/startbottle.exe & + else + xdg-mime default deepin.com.taobao.wangwang.desktop x-scheme-handler/aliim + chmod 700 "$WINEPREFIX/drive_c/Program Files/AliWangWang/9.12.03C/wwbizsrv.exe" + chmod 700 "$WINEPREFIX/drive_c/Program Files/Alibaba/wwbizsrv/wwbizsrv.exe" + env WINEPREFIX="$WINEPREFIX" $WINE_CMD "c:\\Program Files\\AliWangWang\\9.12.03C\\WWCmd.exe" "$1" & + fi +} +CallApp() +{ + FixLink + debug_log "CallApp $BOTTLENAME $1 $2" + case $BOTTLENAME in + "Deepin-WangWang") + CallWangWang "$1" "$2" + ;; + "Deepin-Foobar2000") + CallFoobar2000 "$1" "$2" + ;; + "Deepin-QQCRM") + CallQQCRM "$1" "$2" + ;; + "Deepin-QQEIM") + CallQQEIM "$1" "$2" + ;; + "com.95579.cjsc") + CallJCJCJSC "$1" "$2" + ;; + "Deepin-360YaSuo") + Call360Zip "$1" "$2" + ;; + "Deepin-WinRAR") + CallWinRAR "$1" "$2" + ;; + "Deepin-AAAlog") + CallAAAlog "$1" "$2" + ;; + "com.gtja.fuyi") + Callgtjafuyi "$1" "$2" + ;; + "Deepin-7zip") + Call7zip "$1" "$2" + ;; + "Deepin-QQ") + CallQQ "$1" "$2" + ;; + "Deepin-TIM") + CallTIM "$1" "$2" + ;; + "Deepin-RTX2015") + CallRTX2015 "$1" "$2" + ;; + "Deepin-RTX2009") + CallRTX2009 "$1" "$2" + ;; + "Deepin-IrfanView") + CallIrfanView "$1" "$2" + ;; + "Deepin-YMRDWS") + CallYMRDWS "$1" "$2" + ;; + "Deepin-WeChat") + CallWeChat "$1" "$2" + ;; + "Deepin-wangzhanxinxi") + CallYMWZXX "$1" "$2" + ;; + "Deepin-dangantongji") + CallYMDATJ "$1" "$2" + ;; + "Deepin-renliziyuan") + CallYMRLZY "$1" "$2" + ;; + "Deepin-YMPOPS") + CallYMPOPS "$1" "$2" + ;; + "Deepin-YMDY") + CallYMDY "$1" "$2" + ;; + "Deepin-YMGWY") + CallYMGWY "$1" "$2" + ;; + "Deepin-QQHlddz") + CallQQGame 363 "$1" "$2" + ;; + "Deepin-QQHlmj") + CallQQGame 1101070761 "$1" "$2" + ;; + "Deepin-QQWzry") + CallQQGame 1106084547 "$1" "$2" + ;; + "Deepin-QQMnsj") + CallQQGame 1105856612 "$1" "$2" + ;; + "Deepin-QQBydr") + CallQQGame 1104632801 "$1" "$2" + ;; + "Deepin-QQJlhmjq") + CallQQGame 1105370739 "$1" "$2" + ;; + "Deepin-QQXwsd") + CallQQGame 1101328322 "$1" "$2" + ;; + "Deepin-QQDldl") + CallQQGame 1105208044 "$1" "$2" + ;; + "Deepin-QQSszb") + CallQQGame 1105640244 "$1" "$2" + ;; + "Deepin-QQCszj") + CallQQGame 1105974527 "$1" "$2" + ;; + "Deepin-WXWork") + CallWXWork "$1" "$2" + ;; + "Deepin-QianNiu") + CallQIANNIU "$1" "$2" + ;; + "Deepin-ATM") + CallATM "$1" "$2" + ;; + *) + debug_log "unkown bottle $BOTTLENAME" + ;; + esac +} +ExtractApp() +{ + mkdir -p "$1" + 7z x "$APPDIR/$APPTAR" -o"$1" + mv "$1/drive_c/users/@current_user@" "$1/drive_c/users/$USER" + sed -i "s#@current_user@#$USER#" $1/*.reg +} +DeployApp() +{ + ExtractApp "$WINEPREFIX" + echo "$APPVER" > "$WINEPREFIX/PACKAGE_VERSION" +} +RemoveApp() +{ + rm -rf "$WINEPREFIX" +} +ResetApp() +{ + debug_log "Reset $PACKAGENAME....." + read -p "* Are you sure?(Y/N)" ANSWER + if [ "$ANSWER" = "Y" -o "$ANSWER" = "y" -o -z "$ANSWER" ]; then + EvacuateApp + DeployApp + CallApp + fi +} +UpdateApp() +{ + if [ -f "$WINEPREFIX/PACKAGE_VERSION" ] && [ "$(cat "$WINEPREFIX/PACKAGE_VERSION")" = "$APPVER" ]; then + return + fi + if [ -d "${WINEPREFIX}.tmpdir" ]; then + rm -rf "${WINEPREFIX}.tmpdir" + fi + ExtractApp "${WINEPREFIX}.tmpdir" + /opt/deepinwine/tools/updater -s "${WINEPREFIX}.tmpdir" -c "${WINEPREFIX}" -v + rm -rf "${WINEPREFIX}.tmpdir" + echo "$APPVER" > "$WINEPREFIX/PACKAGE_VERSION" +} +RunApp() +{ + progpid=$(ps -ef | grep "zenity --progress --title=${BOTTLENAME}" | grep -v grep) + debug_log "run ${BOTTLENAME} progress pid $progpid" + if [ -n "$progpid" ]; then + debug_log "$BOTTLENAME is running" + exit 0 + fi + if [ -d "$WINEPREFIX" ]; then + UpdateApp | progressbar "$BOTTLENAME" "更新$BOTTLENAME中..." + else + DeployApp | progressbar $BOTTLENAME "初始化$BOTTLENAME中..." + fi + CallApp "$1" "$2" +} + +CreateBottle() +{ + if [ -d "$WINEPREFIX" ]; then + UpdateApp + else + DeployApp + fi +} + +# Check if some visual feedback is possible +if command -v zenity >/dev/null 2>&1; then + progressbar() + { + WINDOWID="" zenity --progress --title="$1" --text="$2" --pulsate --width=400 --auto-close --no-cancel || + WINDOWID="" zenity --progress --title="$1" --text="$2" --pulsate --width=400 --auto-close + } + +else + progressbar() + { + cat - + } +fi + +if [ -z $1 ] || [ -z $2 ]; then + debug_log "Invalid params" + exit 0 +fi + +BOTTLENAME="$1" +WINEPREFIX="$HOME/.deepinwine/$1" +APPDIR="/opt/deepinwine/apps/$1" +APPVER="$2" + +debug_log "Run $1 $2" + +if [ -z "$3" ]; then + RunApp + exit 0 +fi +case $3 in + "-r" | "--reset") + ResetApp + ;; + "-c" | "--create") + CreateBottle + ;; + "-e" | "--remove") + RemoveApp + ;; + "-u" | "--uri") + RunApp "$4" "$5" + ;; + "-h" | "--help") + HelpApp + ;; + *) + echo "Invalid option: $3" + echo "Use -h|--help to get help" + exit 1 + ;; +esac +exit 0 diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/sendkeys.exe b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/sendkeys.exe new file mode 100755 index 0000000..cf6d9de Binary files /dev/null and b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/sendkeys.exe differ diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/sendkeys.sh b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/sendkeys.sh new file mode 100755 index 0000000..57a965a --- /dev/null +++ b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/sendkeys.sh @@ -0,0 +1,68 @@ +#!/bin/bash + +# $1 key value +# $2 process name , default QQ|TIM +# $3 control mode , default ctrl+alt +# 0 no control key +# 1 shift+ +# 2 ctrl+ +# 3 alt+ +# 4 ctrl+alt+ +# 5 ctrl+shift+ +# 6 alt+shift+ + +get_bottle_path_by_process_id() +{ + PID_LIST="$1" + PREFIX_LIST="" + + for pid_var in $PID_LIST ; do + WINE_PREFIX=$(xargs -0 printf '%s\n' < /proc/$pid_var/environ | grep WINEPREFIX) + WINE_PREFIX=${WINE_PREFIX##*=} + #echo "found $pid_var : $WINE_PREFIX" + for path in $(echo -e $PREFIX_LIST) ; do + if [[ $path == "$WINE_PREFIX" ]]; then + WINE_PREFIX="" + fi + done + PREFIX_LIST+="\n$WINE_PREFIX" + done + echo -e $PREFIX_LIST | grep $HOME +} + +get_bottle_path_by_process_name() +{ + PID_LIST=$(ps -ef | grep -E -i "c:.*${1}|d:.*${1}|e:.*${1}|f:.*${1}" | grep -v grep | awk '{print $2}') + get_bottle_path_by_process_id "$PID_LIST" +} + +send_to_process() +{ + if [ -z "$2" ]; then + return 0 + fi + + for path in $(get_bottle_path_by_process_name $2); do + if [[ $path == *"deepinwine"* ]]; then + echo "send ${path##*/} deepinwine" + env WINEPREFIX="$path" deepin-wine "/opt/deepinwine/tools/sendkeys.exe" $1 $3 + elif [[ $path == *"cxoffice"* ]]; then + echo "send ${path##*/} cxoffice" + /opt/cxoffice/bin/wine --bottle=${path##*/} "/opt/deepinwine/tools/sendkeys.exe" $1 $3 + else + echo "unkown ${path}" + env WINEPREFIX="$path" wine "/opt/deepinwine/tools/sendkeys.exe" $1 $3 + fi + done +} + +if [ -z "$1" ]; then + echo "Please input a key [a-zA-Z]" + exit 0 +fi + +if [ -n "$2" ]; then + send_to_process $1 $2 $3 +else + send_to_process $1 "QQ|TIM" +fi diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/startbottle.exe b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/startbottle.exe new file mode 100755 index 0000000..c08d565 Binary files /dev/null and b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/startbottle.exe differ diff --git a/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/updater b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/updater new file mode 100755 index 0000000..61be227 Binary files /dev/null and b/deepin-wine-helper_1.1deepin12_i386/opt/deepinwine/tools/updater differ diff --git a/deepin-wine-plugin-virtual_1.0deepin1_all.deb b/deepin-wine-plugin-virtual_1.0deepin1_all.deb new file mode 100644 index 0000000..3594c2c Binary files /dev/null and b/deepin-wine-plugin-virtual_1.0deepin1_all.deb differ diff --git a/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/control b/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/control new file mode 100755 index 0000000..ebd7948 --- /dev/null +++ b/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/control @@ -0,0 +1,10 @@ +Source: deepin-wine-plugin-virtual +Package: deepin-wine-plugin-virtual +Version: 1.0deepin1 +Architecture: all +Maintainer: Deepin Packages Builder +Depends: deepin-wine-plugin, p7zip-full, python-dbus, python-gobject +Section: non-free/otherosfs +Priority: extra +Multi-Arch: foreign +Description: Deepin Wine plugin virtual package diff --git a/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/copyright b/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/copyright new file mode 100644 index 0000000..e2e5fd5 --- /dev/null +++ b/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/copyright @@ -0,0 +1,8 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: deepin-crossover +Source: not available + +Files: * +Copyright: 2015 Wuhan Deepin Technology Co., Ltd. +License: +All rights reserved by Wuhan Deepin Technology Co., Ltd. diff --git a/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/postinst b/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/postinst new file mode 100755 index 0000000..05a7907 --- /dev/null +++ b/deepin-wine-plugin-virtual_1.0deepin1_all/DEBIAN/postinst @@ -0,0 +1,2 @@ +#!/bin/bash + diff --git a/deepin-wine-plugin_1.0deepin2_amd64.deb b/deepin-wine-plugin_1.0deepin2_amd64.deb new file mode 100644 index 0000000..c082674 Binary files /dev/null and b/deepin-wine-plugin_1.0deepin2_amd64.deb differ diff --git a/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/control b/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/control new file mode 100755 index 0000000..769aff4 --- /dev/null +++ b/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/control @@ -0,0 +1,10 @@ +Source: deepin-wine-plugin +Package: deepin-wine-plugin +Version: 1.0deepin2 +Architecture: amd64 +Maintainer: Deepin Packages Builder +Depends: libgtk2.0-0 +Section: non-free/otherosfs +Priority: extra +Multi-Arch: foreign +Description: Deepin Wine plugin diff --git a/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/copyright b/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/copyright new file mode 100644 index 0000000..e2e5fd5 --- /dev/null +++ b/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/copyright @@ -0,0 +1,8 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: deepin-crossover +Source: not available + +Files: * +Copyright: 2015 Wuhan Deepin Technology Co., Ltd. +License: +All rights reserved by Wuhan Deepin Technology Co., Ltd. diff --git a/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/postinst b/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/postinst new file mode 100755 index 0000000..05a7907 --- /dev/null +++ b/deepin-wine-plugin_1.0deepin2_amd64/DEBIAN/postinst @@ -0,0 +1,2 @@ +#!/bin/bash + diff --git a/deepin-wine-plugin_1.0deepin2_amd64/usr/lib/i386-linux-gnu/deepin-wine/gtkGetFileNameDlg b/deepin-wine-plugin_1.0deepin2_amd64/usr/lib/i386-linux-gnu/deepin-wine/gtkGetFileNameDlg new file mode 100755 index 0000000..d504703 Binary files /dev/null and b/deepin-wine-plugin_1.0deepin2_amd64/usr/lib/i386-linux-gnu/deepin-wine/gtkGetFileNameDlg differ diff --git a/deepin-wine-uninstaller_0.1deepin2_i386.deb b/deepin-wine-uninstaller_0.1deepin2_i386.deb new file mode 100644 index 0000000..697c37b Binary files /dev/null and b/deepin-wine-uninstaller_0.1deepin2_i386.deb differ diff --git a/deepin-wine-uninstaller_0.1deepin2_i386/DEBIAN/control b/deepin-wine-uninstaller_0.1deepin2_i386/DEBIAN/control new file mode 100644 index 0000000..ba229e8 --- /dev/null +++ b/deepin-wine-uninstaller_0.1deepin2_i386/DEBIAN/control @@ -0,0 +1,9 @@ +Package: deepin-wine-uninstaller +Version: 0.1deepin2 +Architecture: i386 +Maintainer: Hao Peng +Installed-Size: 121 +Section: non-free/otherosfs +Priority: optional +Multi-Arch: foreign +Description: Deepin Wine Uninstaller Tool diff --git a/deepin-wine-uninstaller_0.1deepin2_i386/DEBIAN/md5sums b/deepin-wine-uninstaller_0.1deepin2_i386/DEBIAN/md5sums new file mode 100644 index 0000000..bf6694c --- /dev/null +++ b/deepin-wine-uninstaller_0.1deepin2_i386/DEBIAN/md5sums @@ -0,0 +1,2 @@ +f8ed5990458b8d70c76c9455d47d8e32 opt/deepinwine/tools/app-uninstaller.exe +a3332a084a21ca57c820a7451fbdb80a opt/deepinwine/tools/uninstall.sh diff --git a/deepin-wine-uninstaller_0.1deepin2_i386/opt/deepinwine/tools/app-uninstaller.exe b/deepin-wine-uninstaller_0.1deepin2_i386/opt/deepinwine/tools/app-uninstaller.exe new file mode 100755 index 0000000..85876b5 Binary files /dev/null and b/deepin-wine-uninstaller_0.1deepin2_i386/opt/deepinwine/tools/app-uninstaller.exe differ diff --git a/deepin-wine-uninstaller_0.1deepin2_i386/opt/deepinwine/tools/uninstall.sh b/deepin-wine-uninstaller_0.1deepin2_i386/opt/deepinwine/tools/uninstall.sh new file mode 100755 index 0000000..2ab2aad --- /dev/null +++ b/deepin-wine-uninstaller_0.1deepin2_i386/opt/deepinwine/tools/uninstall.sh @@ -0,0 +1,145 @@ +#!/bin/bash + +# Copyright (C) 2016 Deepin Technology Co., Ltd. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. + +UNINSTALLER_EXE='app-uninstaller.exe' +BASE_DIR=$(cd `dirname $0`; pwd) + +detect_cxoffice() +{ + local tmp=$(grep "X-Created-By=" "$DESKTOP_FILE" | grep '=cxoffice-') + if [ ! -z "$tmp" ]; then + return 0 + else + return 1 + fi +} + +proceed_cxoffice() +{ + local tmp=$(grep 'Exec=' "$DESKTOP_FILE") + tmp=${tmp#Exec=\"} + tmp=${tmp%\" %u} + if [ ! -f "$tmp" ]; then + echo "SH: CrossOver link missing." + return + fi + tmp=$(cat $tmp | grep 'exec ') + local Bottle=${tmp#*--bottle \"} + Bottle=${Bottle%%\" *} + local link_file=${tmp#*--start \"} + link_file=${link_file%%\" *} + + local link_file_fulll=${link_file/C:/"$HOME/.cxoffice/$Bottle/drive_c"} + if [ ! -f "$link_file_fulll" ]; then + echo "SH: link file missing." + return + fi + echo $link_file_fulll + + tmp=$(grep '\"Updater\" = ' "$HOME/.cxoffice/$Bottle/cxbottle.conf") + tmp=${tmp#*\"Updater\" = } + if [ $tmp != '""' ]; then + echo "SH: we shouldn't modify a public bottle." + return + fi + + echo "SH: cxoffice bottle: \"$Bottle\"" + echo "SH: shell link file: \"$link_file\"" + + /opt/cxoffice/bin/wine --bottle="$Bottle" --verbose --wait-children -- "$BASE_DIR/$UNINSTALLER_EXE" "$link_file" + + if [ ! -f "$link_file_fulll" ]; then + /opt/cxoffice/bin/cxmenu --bottle="$Bottle" --mode='install' --sync --verbose --removeall --install + fi +} + +detect_wine() +{ + local tmp=$(grep 'Exec=' "$DESKTOP_FILE" | grep '=env WINEPREFIX="') + if [ ! -z "$tmp" ]; then + return 0 + else + return 1 + fi +} + +proceed_wine() +{ + local tmp=$(grep 'Exec=' "$DESKTOP_FILE") + local prefix=${tmp#Exec=env WINEPREFIX=\"} + prefix=${prefix%%\" *} + echo "SH: wine prefix: $prefix" + local wine_cmd=${tmp#Exec=env WINEPREFIX=\"*\" } + wine_cmd=${wine_cmd%% *} + echo "SH: wine command: $wine_cmd" + local link_file=${tmp#*/dosdevices/} + link_file=$(echo -e $link_file) + link_file=${link_file//\\ / } + echo "SH: shell link file: $link_file" + + if [ ! -d "$prefix" ]; then + echo "SH: invalid wine prefix." + return + fi + + local link_file_fulll="$prefix/dosdevices/$link_file" + if [ ! -f "$link_file_fulll" ]; then + echo "SH: link file missing." + rm $DESKTOP_FILE + return + fi + + echo "SH: Prefix: $prefix" + echo "SH: wine cmd: $wine_cmd" + echo "SH: link file: $link_file" + + env WINEPREFIX="$prefix" $wine_cmd "$BASE_DIR/$UNINSTALLER_EXE" "$link_file" + + echo "uninstall done." + if [ ! -f "$link_file_fulll" ]; then + echo "remove link $link_file_fulll" + rm -v $DESKTOP_FILE + echo "done." + fi +} + +proceed_desktop_file() +{ + detect_cxoffice + if [ $? -eq 0 ]; then + proceed_cxoffice + return + fi + detect_wine + if [ $? -eq 0 ]; then + proceed_wine + return + fi +} + +DESKTOP_FILE=$1 +if [ -z "$DESKTOP_FILE" ]; then + echo "SH: no desktop given." + exit 1 +fi + +if [ ! -f "$DESKTOP_FILE" ]; then + echo "SH: desktop file do not exists." + exit 1 +fi + +echo "SH: $DESKTOP_FILE" + +proceed_desktop_file + +if [ -f $DESKTOP_FILE ]; then + exit 1 +else + exit 0 +fi diff --git a/deepin-wine32-preloader_2.18-12_i386.deb b/deepin-wine32-preloader_2.18-12_i386.deb new file mode 100644 index 0000000..a461e3e Binary files /dev/null and b/deepin-wine32-preloader_2.18-12_i386.deb differ diff --git a/deepin-wine32-preloader_2.18-12_i386/DEBIAN/control b/deepin-wine32-preloader_2.18-12_i386/DEBIAN/control new file mode 100644 index 0000000..d9df7ff --- /dev/null +++ b/deepin-wine32-preloader_2.18-12_i386/DEBIAN/control @@ -0,0 +1,17 @@ +Package: deepin-wine32-preloader +Source: deepin-wine +Version: 2.18-12 +Architecture: i386 +Maintainer: Debian Wine Party +Installed-Size: 119 +Depends: deepin-wine32 +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: otherosfs +Priority: optional +Multi-Arch: foreign +Homepage: http://www.winehq.org/ +Description: Windows API implementation - prelinked 32-bit binary loader + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides the prelinked loader for 32-bit Windows applications. diff --git a/deepin-wine32-preloader_2.18-12_i386/DEBIAN/md5sums b/deepin-wine32-preloader_2.18-12_i386/DEBIAN/md5sums new file mode 100644 index 0000000..eaba1d9 --- /dev/null +++ b/deepin-wine32-preloader_2.18-12_i386/DEBIAN/md5sums @@ -0,0 +1,6 @@ +7bab82a11efae25004674223c1943fea usr/lib/deepin-wine/wine-preloader +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine32-preloader/control +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine32-preloader/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-wine32-preloader/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine32-preloader/copyright +299b2054ed7aef9d1fa75084c6c23a8e usr/share/lintian/overrides/deepin-wine32-preloader diff --git a/deepin-wine32-preloader_2.18-12_i386/usr/lib/deepin-wine/wine-preloader b/deepin-wine32-preloader_2.18-12_i386/usr/lib/deepin-wine/wine-preloader new file mode 100755 index 0000000..e3d60c2 Binary files /dev/null and b/deepin-wine32-preloader_2.18-12_i386/usr/lib/deepin-wine/wine-preloader differ diff --git a/deepin-wine32-preloader_2.18-12_i386/usr/share/bug/deepin-wine32-preloader/control b/deepin-wine32-preloader_2.18-12_i386/usr/share/bug/deepin-wine32-preloader/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-wine32-preloader_2.18-12_i386/usr/share/bug/deepin-wine32-preloader/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/changelog.Debian.gz b/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/changelog.Debian.gz differ diff --git a/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/changelog.gz b/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/changelog.gz differ diff --git a/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/copyright b/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-wine32-preloader_2.18-12_i386/usr/share/doc/deepin-wine32-preloader/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-wine32-preloader_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32-preloader b/deepin-wine32-preloader_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32-preloader new file mode 100644 index 0000000..cc65e21 --- /dev/null +++ b/deepin-wine32-preloader_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32-preloader @@ -0,0 +1,2 @@ +# preloader binary is statically linked by definition +statically-linked-binary usr/lib/deepin-wine/wine-preloader diff --git a/deepin-wine32-tools_2.18-12_i386.deb b/deepin-wine32-tools_2.18-12_i386.deb new file mode 100644 index 0000000..266422b Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386.deb differ diff --git a/deepin-wine32-tools_2.18-12_i386/DEBIAN/control b/deepin-wine32-tools_2.18-12_i386/DEBIAN/control new file mode 100644 index 0000000..7653a62 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/DEBIAN/control @@ -0,0 +1,16 @@ +Package: deepin-wine32-tools +Source: deepin-wine +Version: 2.18-12 +Architecture: i386 +Maintainer: Debian Wine Party +Installed-Size: 4916 +Depends: gcc:i386|gcc:amd64, perl:any, libc6 (>= 2.3), deepin-libwine-dev (= 2.18-12) +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: libdevel +Priority: optional +Homepage: http://www.winehq.org/ +Description: Windows API implementation - 32-bit developer tools + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides wine's 32-bit developer tools. diff --git a/deepin-wine32-tools_2.18-12_i386/DEBIAN/md5sums b/deepin-wine32-tools_2.18-12_i386/DEBIAN/md5sums new file mode 100644 index 0000000..fcaa118 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/DEBIAN/md5sums @@ -0,0 +1,14 @@ +98c42510bb9dd91a6b80235838a44163 usr/bin/deepin-winegcc32 +aa2d10b68d51dc1d9a6b4e5bba2dff96 usr/lib/i386-linux-gnu/deepin-wine/winebuild +9c7855c25bc498258bb88079936472d8 usr/lib/i386-linux-gnu/deepin-wine/winedump +7756a51c2d8c720de4935eef2cc2c636 usr/lib/i386-linux-gnu/deepin-wine/winegcc +736938cf4d94e6ef793a16f938bcc048 usr/lib/i386-linux-gnu/deepin-wine/winemaker +ee4790c27396341543c858c3ca7099e2 usr/lib/i386-linux-gnu/deepin-wine/wmc +9be5b8f5111d08692023282d8db5f047 usr/lib/i386-linux-gnu/deepin-wine/wrc +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine32-tools/control +f6546409554dc77ec5a847c0653b9d57 usr/share/doc/deepin-wine32-tools/README.winedump.gz +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine32-tools/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-wine32-tools/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine32-tools/copyright +d2db05e80798ca2180a45ecfb25f2a03 usr/share/lintian/overrides/deepin-wine32-tools +b2ae688eab18bc03d186a1101e3eee96 usr/share/man/man1/deepin-winegcc32.1.gz diff --git a/deepin-wine32-tools_2.18-12_i386/usr/bin/deepin-winegcc32 b/deepin-wine32-tools_2.18-12_i386/usr/bin/deepin-winegcc32 new file mode 100755 index 0000000..ebb164f --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/usr/bin/deepin-winegcc32 @@ -0,0 +1,3 @@ +#!/bin/sh -e + +WINEBUILD=/usr/lib/i386-linux-gnu/deepin-wine/winebuild /usr/lib/i386-linux-gnu/deepin-wine/winegcc $@ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebuild b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebuild new file mode 100755 index 0000000..d835d8d Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winebuild differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedump b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedump new file mode 100755 index 0000000..6f62b15 Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winedump differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineg++ b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineg++ new file mode 120000 index 0000000..e2dce44 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wineg++ @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winegcc \ No newline at end of file diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winegcc b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winegcc new file mode 100755 index 0000000..5ccd97c Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winegcc differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemaker b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemaker new file mode 100755 index 0000000..ec5fb16 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/winemaker @@ -0,0 +1,2819 @@ +#!/usr/bin/perl -w +use utf8; +use strict; + +# Copyright 2000-2004 François Gouget for CodeWeavers +# Copyright 2004 Dimitrie O. Paun +# Copyright 2009-2012 André Hentschel +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +# + +my $version="0.8.4"; + +use Cwd; +use File::Basename; +use File::Copy; + + + +##### +# +# Options +# +##### + +# The following constants define what we do with the case of filenames + +## +# Never rename a file to lowercase +my $OPT_LOWER_NONE=0; + +## +# Rename all files to lowercase +my $OPT_LOWER_ALL=1; + +## +# Rename only files that are all uppercase to lowercase +my $OPT_LOWER_UPPERCASE=2; + + +# The following constants define whether to ask questions or not + +## +# No (synonym of never) +my $OPT_ASK_NO=0; + +## +# Yes (always) +my $OPT_ASK_YES=1; + +## +# Skip the questions till the end of this scope +my $OPT_ASK_SKIP=-1; + + +# The following constants define the architecture + +## +# Default Architecture will be chosen +my $OPT_ARCH_DEFAULT=0; + +## +# 32-Bit Target +my $OPT_ARCH_32=32; + +## +# 64-Bit Target +my $OPT_ARCH_64=64; + + +# General options + +## +# This is the directory in which winemaker will operate. +my $opt_work_dir; + +## +# This is the file in which winemaker will operate if a project file is specified. +my $opt_work_file; + +## +# Make a backup of the files +my $opt_backup; + +## +# Defines which files to rename +my $opt_lower; + +## +# If we don't find the file referenced by an include, lower it +my $opt_lower_include; + +## +# If true then winemaker should not attempt to fix the source. This is +# useful if the source is known to be already in a suitable form and is +# readonly +my $opt_no_source_fix; + +# Options for the 'Source' method + +## +# Specifies that we have only one target so that all sources relate +# to this target. By default this variable is left undefined which +# means winemaker should try to find out by itself what the targets +# are. If not undefined then this contains the name of the default +# target (without the extension). +my $opt_single_target; + +## +# If '$opt_single_target' has been specified then this is the type of +# that target. Otherwise it specifies whether the default target type +# is guiexe or cuiexe. +my $opt_target_type; + +## +# Contains the default set of flags to be used when creating a new target. +my $opt_flags; + +## +# Contains 32 for 32-Bit-Targets and 64 for 64-Bit-Targets +my $opt_arch; + +## +# If true then winemaker should ask questions to the user as it goes +# along. +my $opt_is_interactive; +my $opt_ask_project_options; +my $opt_ask_target_options; + +## +# If false then winemaker should not generate the makefiles. +my $opt_no_generated_files; + +## +# Specifies not to print the banner if set. +my $opt_no_banner; + + + +##### +# +# Target modelization +# +##### + +# The description of a target is stored in an array. The constants +# below identify what is stored at each index of the array. + +## +# This is the name of the target. +my $T_NAME=0; + +## +# Defines the type of target we want to build. See the TT_xxx +# constants below +my $T_TYPE=1; + +## +# This is a bitfield containing flags refining the way the target +# should be handled. See the TF_xxx constants below +my $T_FLAGS=2; + +## +# This is a reference to an array containing the list of the +# resp. C, C++, RC, other (.h, .hxx, etc.) source files. +my $T_SOURCES_C=3; +my $T_SOURCES_CXX=4; +my $T_SOURCES_RC=5; +my $T_SOURCES_MISC=6; + +## +# This is a reference to an array containing the list of +# C compiler options +my $T_CEXTRA=7; + +## +# This is a reference to an array containing the list of +# C++ compiler options +my $T_CXXEXTRA=8; + +## +# This is a reference to an array containing the list of +# RC compiler options +my $T_RCEXTRA=9; + +## +# This is a reference to an array containing the list of macro +# definitions +my $T_DEFINES=10; + +## +# This is a reference to an array containing the list of directory +# names that constitute the include path +my $T_INCLUDE_PATH=11; + +## +# Flags for the linker +my $T_LDFLAGS=12; + +## +# Flags for the archiver +my $T_ARFLAGS=13; + +## +# Same as T_INCLUDE_PATH but for the dll search path +my $T_DLL_PATH=14; + +## +# The list of Windows dlls to import +my $T_DLLS=15; + +## +# Same as T_INCLUDE_PATH but for the library search path +my $T_LIBRARY_PATH=16; + +## +# The list of Unix libraries to link with +my $T_LIBRARIES=17; + + +# The following constants define the recognized types of target + +## +# This is not a real target. This type of target is used to collect +# the sources that don't seem to belong to any other target. Thus no +# real target is generated for them, we just put the sources of the +# fake target in the global source list. +my $TT_SETTINGS=0; + +## +# For executables in the windows subsystem +my $TT_GUIEXE=1; + +## +# For executables in the console subsystem +my $TT_CUIEXE=2; + +## +# For dynamically linked libraries +my $TT_DLL=3; + +## +# For static libraries +my $TT_LIB=4; + + +# The following constants further refine how the target should be handled + +## +# This target is an MFC-based target +my $TF_MFC=4; + +## +# User has specified --nomfc option for this target or globally +my $TF_NOMFC=8; + +## +# --nodlls option: Do not use standard DLL set +my $TF_NODLLS=16; + +## +# --nomsvcrt option: Do not link with msvcrt +my $TF_NOMSVCRT=32; + +## +# This target has a def file (only use it with TT_DLL) +my $TF_HASDEF=64; + +## +# This target has C++ files named *.cxx (instead of *.cpp) +my $TF_HASCXX=128; + +## +# Initialize a target: +# - set the target type to TT_SETTINGS, i.e. no real target will +# be generated. +sub target_init($) +{ + my $target=$_[0]; + + @$target[$T_TYPE]=$TT_SETTINGS; + @$target[$T_FLAGS]=$opt_flags; + @$target[$T_SOURCES_C]=[]; + @$target[$T_SOURCES_CXX]=[]; + @$target[$T_SOURCES_RC]=[]; + @$target[$T_SOURCES_MISC]=[]; + @$target[$T_CEXTRA]=[]; + @$target[$T_CXXEXTRA]=[]; + @$target[$T_RCEXTRA]=[]; + @$target[$T_DEFINES]=[]; + @$target[$T_INCLUDE_PATH]=[]; + @$target[$T_LDFLAGS]=[]; + @$target[$T_ARFLAGS]=[]; + @$target[$T_DLL_PATH]=[]; + @$target[$T_DLLS]=[]; + @$target[$T_LIBRARY_PATH]=[]; + @$target[$T_LIBRARIES]=[]; +} + + + +##### +# +# Project modelization +# +##### + +# First we have the notion of project. A project is described by an +# array (since we don't have structs in perl). The constants below +# identify what is stored at each index of the array. + +## +# This is the path in which this project is located. In other +# words, this is the path to the Makefile. +my $P_PATH=0; + +## +# This index contains a reference to an array containing the project-wide +# settings. The structure of that array is actually identical to that of +# a regular target since it can also contain extra sources. +my $P_SETTINGS=1; + +## +# This index contains a reference to an array of targets for this +# project. Each target describes how an executable or library is to +# be built. For each target this description takes the same form as +# that of the project: an array. So this entry is an array of arrays. +my $P_TARGETS=2; + +## +# Initialize a project: +# - set the project's path +# - initialize the target list +# - create a default target (will be removed later if unnecessary) +sub project_init($$$) +{ + my ($project, $path, $global_settings)=@_; + + my $project_settings=[]; + target_init($project_settings); + @$project_settings[$T_DEFINES]=[@{@$global_settings[$T_DEFINES]}]; + @$project_settings[$T_INCLUDE_PATH]=[@{@$global_settings[$T_INCLUDE_PATH]}]; + @$project_settings[$T_DLL_PATH]=[@{@$global_settings[$T_DLL_PATH]}]; + @$project_settings[$T_DLLS]=[@{@$global_settings[$T_DLLS]}]; + @$project_settings[$T_LIBRARY_PATH]=[@{@$global_settings[$T_LIBRARY_PATH]}]; + @$project_settings[$T_LIBRARIES]=[@{@$global_settings[$T_LIBRARIES]}]; + + @$project[$P_PATH]=$path; + @$project[$P_SETTINGS]=$project_settings; + @$project[$P_TARGETS]=[]; +} + + + +##### +# +# Global variables +# +##### + +my %warnings; + +my %templates; + +## +# This maps a directory name to a reference to an array listing +# its contents (files and directories) +my %directories; + +## +# Contains the list of all projects. This list tells us what are +# the subprojects of the main Makefile and where we have to generate +# Makefiles. +my @projects=(); + +## +# This is the main project, i.e. the one in the "." directory. +# It may well be empty in which case the main Makefile will only +# call out subprojects. +my @main_project; + +## +# Contains the defaults for the include path, etc. +# We store the defaults as if this were a target except that we only +# exploit the defines, include path, library path, library list and misc +# sources fields. +my @global_settings; + + + +##### +# +# Utility functions +# +##### + +## +# Cleans up a name to make it an acceptable Makefile +# variable name. +sub canonize($) +{ + my $name=$_[0]; + + $name =~ tr/a-zA-Z0-9_/_/c; + return $name; +} + +## +# Returns true is the specified pathname is absolute. +# Note: pathnames that start with a variable '$' or +# '~' are considered absolute. +sub is_absolute($) +{ + my $path=$_[0]; + + return ($path =~ /^[\/~\$]/); +} + +## +# Retrieves the contents of the specified directory. +# We either get it from the directories hashtable which acts as a +# cache, or use opendir, readdir, closedir and store the result +# in the hashtable. +sub get_directory_contents($) +{ + my $dirname=$_[0]; + my $directory; + + #print "getting the contents of $dirname\n"; + + # check for a cached version + $dirname =~ s+/$++; + if ($dirname eq "") { + $dirname=cwd; + } + $directory=$directories{$dirname}; + if (defined $directory) { + #print "->@$directory\n"; + return $directory; + } + + # Read this directory + if (opendir(DIRECTORY, "$dirname")) { + my @files=readdir DIRECTORY; + closedir(DIRECTORY); + $directory=\@files; + } else { + # Return an empty list + #print "error: cannot open $dirname\n"; + my @files; + $directory=\@files; + } + #print "->@$directory\n"; + $directories{$dirname}=$directory; + return $directory; +} + +## +# Removes a directory from the cache. +# This is needed if one of its files or subdirectory has been renamed. +sub clear_directory_cache($) +{ + my ($dirname)=@_; + delete $directories{$dirname}; +} + + +##### +# +# 'Source'-based Project analysis +# +##### + +## +# Allows the user to specify makefile and target specific options +# - target: the structure in which to store the results +# - options: the string containing the options +sub source_set_options($$) +{ + my $target=$_[0]; + my $options=$_[1]; + + #FIXME: we must deal with escaping of stuff and all + foreach my $option (split / /,$options) { + if (@$target[$T_TYPE] == $TT_SETTINGS and $option =~ /^-D/) { + push @{@$target[$T_DEFINES]},$option; + } elsif (@$target[$T_TYPE] == $TT_SETTINGS and $option =~ /^-I/) { + push @{@$target[$T_INCLUDE_PATH]},$option; + } elsif ($option =~ /^-P/) { + push @{@$target[$T_DLL_PATH]},"-L$'"; + } elsif ($option =~ /^-i/) { + push @{@$target[$T_DLLS]},"$'"; + } elsif ($option =~ /^-L/) { + push @{@$target[$T_LIBRARY_PATH]},$option; + } elsif ($option =~ /^-l/) { + push @{@$target[$T_LIBRARIES]},"$'"; + } elsif ($option =~ /^--mfc/) { + @$target[$T_FLAGS]|=$TF_MFC; + @$target[$T_FLAGS]&=~$TF_NOMFC; + } elsif ($option =~ /^--nomfc/) { + @$target[$T_FLAGS]&=~$TF_MFC; + @$target[$T_FLAGS]|=$TF_NOMFC; + } elsif ($option =~ /^--nodlls/) { + @$target[$T_FLAGS]|=$TF_NODLLS; + } elsif ($option =~ /^--nomsvcrt/) { + @$target[$T_FLAGS]|=$TF_NOMSVCRT; + } else { + print STDERR "error: unknown option \"$option\"\n"; + return 0; + } + } + return 1; +} + +## +# Scans the specified project file to: +# - get a list of targets for this project +# - get some settings +# - get the list of source files +sub source_scan_project_file($$$); +sub source_scan_project_file($$$) +{ + # a reference to the parent's project + my $parent_project=$_[0]; + # 0 if it is a single project, 1 if it is part of a workspace + my $is_sub_project=$_[1]; + # the name of the project file, with complete path, or without if in + # the same directory + my $filename=$_[2]; + + # reference to the project for this file. May not be used + my $project; + # list of sources found in the current file + my @sources_c=(); + my @sources_cxx=(); + my @sources_rc=(); + my @sources_misc=(); + # some more settings + my $path=dirname($filename); + my $prj_target_cflags; + my $prj_target_defines; + my $prj_target_ldflags; + my $prj_target_libs; + my $prj_name; + my $found_cfg=0; + my $prj_cfg; + my $prj_target_type=$TT_GUIEXE; + my @prj_target_options; + + if (!($path=~/\/$/)) { + $path.="/"; + } + + $project=$parent_project; + my $project_settings=@$project[$P_SETTINGS]; + + if ($filename =~ /.dsp$/i) { + # First find out what this project file contains: + # collect all sources, find targets and settings + if (!open(FILEI,$filename)) { + print STDERR "error: unable to open $filename for reading:\n"; + print STDERR " $!\n"; + return; + } + my $sfilet; + while () { + # Remove any trailing CtrlZ, which isn't strictly in the file + if (/\x1A/) { + s/\x1A//; + last if (/^$/) + } + + # Remove any trailing CrLf + s/\r\n$/\n/; + if (!/\n$/) { + # Make sure all lines are '\n' terminated + $_ .= "\n"; + } + + if (/^\# Microsoft Developer Studio Project File - Name=\"([^\"]+)/) { + $prj_name="$1"; + $prj_name=~s/\s+/_/g; + #print $prj_name; + next; + } elsif (/^# TARGTYPE/) { + if (/[[:space:]]0+x0*101$/) { + # Application + $prj_target_type=$TT_GUIEXE; + }elsif (/[[:space:]]0+x0*102$/) { + # Dynamic-Link Library + $prj_target_type=$TT_DLL; + }elsif (/[[:space:]]0+x0*103$/) { + # Console Application + $prj_target_type=$TT_CUIEXE; + }elsif (/[[:space:]]0+x0*104$/) { + # Static Library + $prj_target_type=$TT_LIB; + } + next; + } elsif (/^# ADD CPP(.*)/ && $found_cfg==1) { + $prj_target_cflags=$1; + @prj_target_options=split(/\s+\//, $prj_target_cflags); + $prj_target_cflags=""; + foreach ( @prj_target_options ) { + if ($_ eq "") { + # empty + } elsif (/nologo/) { + # Suppress Startup Banner and Information Messages + } elsif (/^W0$/) { + # Turns off all warning messages + $prj_target_cflags.="-w "; + } elsif (/^W[123]$/) { + # Warning Level + $prj_target_cflags.="-W "; + } elsif (/^W4$/) { + # Warning Level + $prj_target_cflags.="-Wall "; + } elsif (/^WX$/) { + # Warnings As Errors + $prj_target_cflags.="-Werror "; + } elsif (/^Gm$/) { + # Enable Minimal Rebuild + } elsif (/^GX$/) { + # Enable Exception Handling + $prj_target_cflags.="-fexceptions "; + } elsif (/^Gd$/) { + # use cdecl calling convention (default) + } elsif (/^Gr$/) { + # use fastcall calling convention + } elsif (/^Gz$/) { + # use stdcall calling convention + $prj_target_cflags.="-mrtd "; + } elsif (/^Z[d7iI]$/) { + # Debug Info + $prj_target_cflags.="-g "; + } elsif (/^Od$/) { + # Disable Optimizations + $prj_target_cflags.="-O0 "; + } elsif (/^O1$/) { + # Minimize Size + $prj_target_cflags.="-Os "; + } elsif (/^O2$/) { + # Maximize Speed + $prj_target_cflags.="-O2 "; + } elsif (/^Ob0$/) { + # Disables inline Expansion + $prj_target_cflags.="-fno-inline "; + } elsif (/^Ob1$/) { + #In-line Function Expansion + $prj_target_cflags.="-finline-functions "; + } elsif (/^Ob2$/) { + # auto In-line Function Expansion + $prj_target_cflags.="-finline-functions "; + } elsif (/^Ox$/) { + # Use maximum optimization + $prj_target_cflags.="-O3 "; + } elsif (/^Oy$/) { + # Frame-Pointer Omission + $prj_target_cflags.="-fomit-frame-pointer "; + } elsif (/^Oy-$/) { + # Frame-Pointer Omission + $prj_target_cflags.="-fno-omit-frame-pointer "; + } elsif (/^GZ$/) { + # Catch Release-Build Errors in Debug Build + } elsif (/^M[DLT]d?$/) { + # Use Multithreaded Run-Time Library + } elsif (/^D\s*\"(.*)\"/) { + # Preprocessor Definitions + $prj_target_defines.="-D".$1." "; + } elsif (/^I\s*\"(.*)\"/) { + # Additional Include Directories + $sfilet=$1; + $sfilet=~s/\\/\//g; + my @compinc=split /\/+/, $sfilet; + my $realinc=search_from($path, \@compinc); + if (defined $realinc) { + $sfilet=$realinc; + } + if ($sfilet=~/^\w:/) { + print STDERR "warning: Can't fix path $sfilet\n" + } else { + push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$sfilet." "; + } + } elsif (/^U\s*\"(.*)\"/) { + # Undefines a previously defined symbol + $prj_target_cflags.="-U".$1." "; + } elsif (/^Fp/) { + # Name .PCH File + } elsif (/^F[Rr]/) { + # Create .SBR File + } elsif (/^YX$/) { + # Automatic Use of Precompiled Headers + } elsif (/^FD$/) { + # Generate File Dependencies + } elsif (/^c$/) { + # Compile Without Linking + # this option is always present and is already specified in the suffix rules + } elsif (/^GB$/) { + # Blend Optimization + $prj_target_cflags.="-D_M_IX86=500 "; + } elsif (/^G6$/) { + # Pentium Pro Optimization + $prj_target_cflags.="-D_M_IX86=600 "; + } elsif (/^G5$/) { + # Pentium Optimization + $prj_target_cflags.="-D_M_IX86=500 "; + } elsif (/^G3$/) { + # 80386 Optimization + $prj_target_cflags.="-D_M_IX86=300 "; + } elsif (/^G4$/) { + # 80486 Optimization + $prj_target_cflags.="-D_M_IX86=400 "; + } elsif (/^Yc/) { + # Create Precompiled Header + } elsif (/^Yu/) { + # Use Precompiled Header + } elsif (/^Za$/) { + # Disable Language Extensions + $prj_target_cflags.="-ansi "; + } elsif (/^Ze$/) { + # Enable Microsoft Extensions + } elsif (/^Zm[[:digit:]]+$/) { + # Specify Memory Allocation Limit + } elsif (/^Zp1?$/) { + # Packs structures on 1-byte boundaries + $prj_target_cflags.="-fpack-struct "; + } elsif (/^Zp(2|4|8|16)$/) { + # Struct Member Alignment + $prj_target_cflags.="-fpack-struct=".$1; + } else { + print "C compiler option $_ not implemented\n"; + } + } + + #print "\nOptions: $prj_target_cflags\n"; + next; + } elsif (/^# ADD LINK32(.*)/ && $found_cfg==1) { + $prj_target_ldflags=$1; + @prj_target_options=split(/\s+\//, $prj_target_ldflags); + $prj_target_ldflags=""; + $prj_target_libs=$prj_target_options[0]; + $prj_target_libs=~s/\\/\//g; + $prj_target_libs=~s/\.lib//g; + $prj_target_libs=~s/\s+/ -l/g; + shift (@prj_target_options); + foreach ( @prj_target_options ) { + if ($_ eq "") { + # empty + } elsif (/^base:(.*)/) { + # Base Address + $prj_target_ldflags.="--image-base ".$1." "; + } elsif (/^debug$/) { + # Generate Debug Info + } elsif (/^dll$/) { + # Build a DLL + $prj_target_type=$TT_DLL; + } elsif (/^incremental:[[:alpha:]]+$/) { + # Link Incrementally + } elsif (/^implib:/) { + # Name import library + } elsif (/^libpath:\"(.*)\"/) { + # Additional Libpath + push @{@$project_settings[$T_DLL_PATH]},"-L$1"; + } elsif (/^machine:[[:alnum:]]+$/) { + # Specify Target Platform + } elsif (/^map/) { + # Generate Mapfile + if (/^map:(.*)/) { + $prj_target_ldflags.="-Map ".$1." "; + } else { + $prj_target_ldflags.="-Map ".$prj_name.".map "; + } + } elsif (/^nologo$/) { + # Suppress Startup Banner and Information Messages + } elsif (/^out:/) { + # Output File Name + # may use it as Target? + } elsif (/^pdbtype:/) { + # Program Database Storage + } elsif (/^subsystem:/) { + # Specify Subsystem + } elsif (/^version:[[:digit:].]+$/) { + # Version Information + } else { + print "Linker option $_ not implemented\n"; + } + } + next; + } elsif (/^LIB32=/ && $found_cfg==1) { + #$libflag = 1; + next; + } elsif (/^SOURCE=(.*)$/) { + my @components=split /[\/\\]+/, $1; + $sfilet=search_from($path, \@components); + if (!defined $sfilet) { next; } + if ($sfilet =~ /\.c$/i and $sfilet !~ /\.(dbg|spec)\.c$/) { + push @sources_c,$sfilet; + } elsif ($sfilet =~ /\.cpp$/i) { + if ($sfilet =~ /^stdafx.cpp$/i && !(@$project_settings[$T_FLAGS] & $TF_NOMFC)) { + push @sources_misc,$sfilet; + @$project_settings[$T_FLAGS]|=$TF_MFC; + } else { + push @sources_cxx,$sfilet; + } + } elsif ($sfilet =~ /\.cxx$/i) { + @$project_settings[$T_FLAGS]|=$TF_HASCXX; + push @sources_cxx,$sfilet; + } elsif ($sfilet =~ /\.rc$/i) { + push @sources_rc,$sfilet; + } elsif ($sfilet =~ /\.def$/i) { + @$project_settings[$T_FLAGS]|=$TF_HASDEF; + } elsif ($sfilet =~ /\.(h|hxx|hpp|inl|rc2|dlg)$/i) { + push @sources_misc,$sfilet; + if ($sfilet =~ /^stdafx.h$/i && !(@$project_settings[$T_FLAGS] & $TF_NOMFC)) { + @$project_settings[$T_FLAGS]|=$TF_MFC; + } + } + next; + + } elsif (/^# (Begin|End) Source File/) { + # Source-Files already handled + next; + } elsif (/^# (Begin|End) Group/) { + # Groups are ignored + next; + } elsif (/^# (Begin|End) Custom Build/) { + # Custom Builds are ignored + next; + } elsif (/^# ADD LIB32 /) { + #"ARFLAGS=rus" + next; + } elsif (/^# Begin Target$/) { + # Targets are ignored + next; + } elsif (/^# End Target$/) { + # Targets are ignored + next; + } elsif (/^!/) { + if ($found_cfg == 1) { + $found_cfg=0; + } + if (/if (.*)\(CFG\)" == "(.*)"/i) { + if ($2 eq $prj_cfg) { + $found_cfg=1; + } + } + next; + } elsif (/^CFG=(.*)/i) { + $prj_cfg=$1; + next; + } + else { # Line recognized + # print "|\n"; + } + } + close(FILEI); + + push @{@$project_settings[$T_LIBRARIES]},$prj_target_libs; + push @{@$project_settings[$T_CEXTRA]},$prj_target_cflags; + push @{@$project_settings[$T_CXXEXTRA]},$prj_target_cflags; + push @{@$project_settings[$T_DEFINES]},$prj_target_defines; + push @{@$project_settings[$T_LDFLAGS]},$prj_target_ldflags; + } elsif ($filename =~ /.vcproj$/i) { + eval { + require XML::LibXML; + }; + if ($@) { + die "Error: You need the libxml package (deb: libxml-libxml-perl, rpm: perl-libxml-perl)"; + } + + my $xmlparser = XML::LibXML->new(); + my $project_xml = $xmlparser->parse_file($filename); + my $sfilet; + my $configt; + + foreach my $vc_project ($project_xml->findnodes('/VisualStudioProject')) { + foreach my $vc_project_attr ($vc_project->attributes) { + if ($vc_project_attr->getName eq "Name") { + $prj_name=$vc_project_attr->getValue; + $prj_name=~s/\s+/_/g; + last; + } + } + } + + for (my $flevel = 0; $flevel <= 5; $flevel++) { + foreach my $vc_file ($project_xml->findnodes('/VisualStudioProject/Files/'.('Filter/' x $flevel).'File')) { + foreach my $vc_file_attr ($vc_file->attributes) { + if ($vc_file_attr->getName eq "RelativePath") { + $sfilet = $vc_file_attr->getValue; + $sfilet=~s/\\\\/\\/g; #remove double backslash + $sfilet=~s/^\.\\//; #remove starting 'this directory' + $sfilet=~s/\\/\//g; #make slashes out of backslashes + my @compsrc=split(/\/+/, $sfilet); + my $realsrc=search_from($path, \@compsrc); + if (defined $realsrc) { + $sfilet=$realsrc; + } + if ($sfilet =~ /\.c$/i and $sfilet !~ /\.(dbg|spec)\.c$/) { + push @sources_c,$sfilet; + } elsif ($sfilet =~ /\.cpp$/i) { + if ($sfilet =~ /^stdafx.cpp$/i && !(@$project_settings[$T_FLAGS] & $TF_NOMFC)) { + push @sources_misc,$sfilet; + @$project_settings[$T_FLAGS]|=$TF_MFC; + } else { + push @sources_cxx,$sfilet; + } + } elsif ($sfilet =~ /\.cxx$/i) { + @$project_settings[$T_FLAGS]|=$TF_HASCXX; + push @sources_cxx,$sfilet; + } elsif ($sfilet =~ /\.rc$/i) { + push @sources_rc,$sfilet; + } elsif ($sfilet =~ /\.def$/i) { + @$project_settings[$T_FLAGS]|=$TF_HASDEF; + } elsif ($sfilet =~ /\.(h|hxx|hpp|inl|rc2|dlg)$/i) { + push @sources_misc,$sfilet; + if ($sfilet =~ /^stdafx.h$/i && !(@$project_settings[$T_FLAGS] & $TF_NOMFC)) { + @$project_settings[$T_FLAGS]|=$TF_MFC; + } + } + } + } + } + } + + my @vc_configurations = $project_xml->findnodes('/VisualStudioProject/Configurations/Configuration'); + my $vc_configuration = $vc_configurations[0]; + foreach my $vc_configuration_attr ($vc_configuration->attributes) { + if ($vc_configuration_attr->getName eq "ConfigurationType") { + if ($vc_configuration_attr->getValue==1) { + $prj_target_type=$TT_GUIEXE; # Application + } elsif ($vc_configuration_attr->getValue==2) { + $prj_target_type=$TT_DLL; # Dynamic-Link Library + } elsif ($vc_configuration_attr->getValue==4) { + $prj_target_type=$TT_LIB; # Static Library + } + } + } + + foreach my $vc_configuration_tools ($vc_configuration->findnodes('Tool')) { + my @find_tool = $vc_configuration_tools->attributes; + if ($find_tool[0]->getValue eq "VCCLCompilerTool") { + foreach my $vc_compiler_tool ($vc_configuration_tools->attributes) { + if ($vc_compiler_tool->getName eq "Optimization") {$prj_target_cflags.="-O".$vc_compiler_tool->getValue." ";} + if ($vc_compiler_tool->getName eq "WarningLevel") { + if ($vc_compiler_tool->getValue==0) { + $prj_target_cflags.="-w "; + } elsif ($vc_compiler_tool->getValue<4) { + $prj_target_cflags.="-W "; + } elsif ($vc_compiler_tool->getValue==4) { + $prj_target_cflags.="-Wall "; + } elsif ($vc_compiler_tool->getValue eq "X") { + $prj_target_cflags.="-Werror "; + } + } + if ($vc_compiler_tool->getName eq "PreprocessorDefinitions") { + $configt=$vc_compiler_tool->getValue; + $configt=~s/;+$//; + $configt=~s/;\s*/ -D/g; + $prj_target_defines.="-D".$configt." "; + } + if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") { + $configt=$vc_compiler_tool->getValue; + $configt=~s/\\/\//g; + my @addincl = split(/\s*;\s*/, $configt); + foreach $configt (@addincl) { + my @compinc=split(/\/+/, $configt); + my $realinc=search_from($path, \@compinc); + if (defined $realinc) { + $configt=$realinc; + } + push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$configt; + } + } + } + } + if ($find_tool[0]->getValue eq "VCLinkerTool") { + foreach my $vc_linker_tool ($vc_configuration_tools->attributes) { + if ($vc_linker_tool->getName eq "AdditionalDependencies") { + $prj_target_libs=" ".$vc_linker_tool->getValue; + $prj_target_libs=~s/\\/\//g; + $prj_target_libs=~s/\.lib//g; + $prj_target_libs=~s/\s+/ -l/g; + } + } + } + } + + push @{@$project_settings[$T_LIBRARIES]},$prj_target_libs; + push @{@$project_settings[$T_CEXTRA]},$prj_target_cflags; + push @{@$project_settings[$T_CXXEXTRA]},$prj_target_cflags; + push @{@$project_settings[$T_DEFINES]},$prj_target_defines; + } else { + print STDERR "File format not supported for file: $filename\n"; + return; + } + + # Add this project to the project list, except for + # the main project which is already in the list. + if ($is_sub_project == 1) { + push @projects,$project; + } + + # Ask for project-wide options + if ($opt_ask_project_options == $OPT_ASK_YES) { + my $flag_desc=""; + if ((@$project_settings[$T_FLAGS] & $TF_MFC)!=0) { + $flag_desc="mfc"; + } + print "* Type any project-wide options (-D/-I/-P/-i/-L/-l/--mfc),\n"; + if (defined $flag_desc) { + print "* (currently $flag_desc)\n"; + } + print "* or 'skip' to skip the target specific options,\n"; + print "* or 'never' to not be asked this question again:\n"; + while (1) { + my $options=; + chomp $options; + if ($options eq "skip") { + $opt_ask_target_options=$OPT_ASK_SKIP; + last; + } elsif ($options eq "never") { + $opt_ask_project_options=$OPT_ASK_NO; + last; + } elsif (source_set_options($project_settings,$options)) { + last; + } + print "Please re-enter the options:\n"; + } + } + + # Create the target... + my $target=[]; + target_init($target); + + if ($prj_target_type==$TT_GUIEXE or $prj_target_type==$TT_CUIEXE) { + $prj_name=lc($prj_name.".exe"); + @$target[$T_TYPE]=$opt_target_type; + push @{@$target[$T_LDFLAGS]},(@$target[$T_TYPE] == $TT_CUIEXE ? "-mconsole" : "-mwindows"); + } elsif ($prj_target_type==$TT_LIB) { + $prj_name=lc("lib".$prj_name.".a"); + @$target[$T_TYPE]=$TT_LIB; + push @{@$target[$T_ARFLAGS]},("rc"); + } else { + $prj_name=lc($prj_name.".dll"); + @$target[$T_TYPE]=$TT_DLL; + my $canon=canonize($prj_name); + if (@$project_settings[$T_FLAGS] & $TF_HASDEF) { + push @{@$target[$T_LDFLAGS]},("-shared","\$(${canon}_MODULE:.dll=.def)"); + } else { + push @{@$target[$T_LDFLAGS]},("-shared","\$(${canon}_MODULE:.dll=.spec)"); + } + } + + @$target[$T_NAME]=$prj_name; + @$target[$T_FLAGS]|=@$project_settings[$T_FLAGS]; + + # This is the default link list of Visual Studio + my @std_imports=qw(odbc32 ole32 oleaut32 winspool odbccp32); + my @std_libraries=qw(uuid); + if ((@$target[$T_FLAGS] & $TF_NODLLS) == 0) { + @$target[$T_DLLS]=\@std_imports; + @$target[$T_LIBRARIES]=\@std_libraries; + } else { + @$target[$T_DLLS]=[]; + @$target[$T_LIBRARIES]=[]; + } + if ((@$target[$T_FLAGS] & $TF_NOMSVCRT) == 0) { + push @{@$target[$T_LDFLAGS]},"-mno-cygwin"; + if ($opt_arch != $OPT_ARCH_DEFAULT) { + push @{@$target[$T_LDFLAGS]},"-m$opt_arch"; + } + } + push @{@$project[$P_TARGETS]},$target; + + # Ask for target-specific options + if ($opt_ask_target_options == $OPT_ASK_YES) { + my $flag_desc=""; + if ((@$target[$T_FLAGS] & $TF_MFC)!=0) { + $flag_desc=" (mfc"; + } + if ($flag_desc ne "") { + $flag_desc.=")"; + } + print "* Specify any link option (-P/-i/-L/-l/--mfc) specific to the target\n"; + print "* \"$prj_name\"$flag_desc or 'never' to not be asked this question again:\n"; + while (1) { + my $options=; + chomp $options; + if ($options eq "never") { + $opt_ask_target_options=$OPT_ASK_NO; + last; + } elsif (source_set_options($target,$options)) { + last; + } + print "Please re-enter the options:\n"; + } + } + if (@$target[$T_FLAGS] & $TF_MFC) { + @$project_settings[$T_FLAGS]|=$TF_MFC; + push @{@$target[$T_DLL_PATH]},"\$(MFC_LIBRARY_PATH)"; + push @{@$target[$T_DLLS]},"mfc.dll"; + # FIXME: Link with the MFC in the Unix sense, until we + # start exporting the functions properly. + push @{@$target[$T_LIBRARY_PATH]},"\$(MFC_LIBRARY_PATH)"; + push @{@$target[$T_LIBRARIES]},"mfc"; + } + + # Match sources... + push @{@$target[$T_SOURCES_C]},@{@$project_settings[$T_SOURCES_C]},@sources_c; + @$project_settings[$T_SOURCES_C]=[]; + @sources_c=(); + push @{@$target[$T_SOURCES_CXX]},@{@$project_settings[$T_SOURCES_CXX]},@sources_cxx; + @$project_settings[$T_SOURCES_CXX]=[]; + @sources_cxx=(); + push @{@$target[$T_SOURCES_RC]},@{@$project_settings[$T_SOURCES_RC]},@sources_rc; + @$project_settings[$T_SOURCES_RC]=[]; + @sources_rc=(); + push @{@$target[$T_SOURCES_MISC]},@{@$project_settings[$T_SOURCES_MISC]},@sources_misc; + @$project_settings[$T_SOURCES_MISC]=[]; + @sources_misc=(); + + @$target[$T_SOURCES_C]=[sort @{@$target[$T_SOURCES_C]}]; + @$target[$T_SOURCES_CXX]=[sort @{@$target[$T_SOURCES_CXX]}]; + @$target[$T_SOURCES_RC]=[sort @{@$target[$T_SOURCES_RC]}]; + @$target[$T_SOURCES_MISC]=[sort @{@$target[$T_SOURCES_MISC]}]; + + if ($opt_ask_target_options == $OPT_ASK_SKIP) { + $opt_ask_target_options=$OPT_ASK_YES; + } + + if ((@$project_settings[$T_FLAGS] & $TF_NOMSVCRT) == 0) { + push @{@$project_settings[$T_CEXTRA]},"-mno-cygwin"; + if ($opt_arch != $OPT_ARCH_DEFAULT) { + push @{@$project_settings[$T_CEXTRA]},"-m$opt_arch"; + push @{@$project_settings[$T_CXXEXTRA]},"-m$opt_arch"; + } + } + + if (@$project_settings[$T_FLAGS] & $TF_MFC) { + push @{@$project_settings[$T_INCLUDE_PATH]},"\$(MFC_INCLUDE_PATH)"; + } + # The sources that did not match, if any, go to the extra + # source list of the project settings + foreach my $source (@sources_c) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_C]},$source; + } + } + @$project_settings[$T_SOURCES_C]=[sort @{@$project_settings[$T_SOURCES_C]}]; + foreach my $source (@sources_cxx) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_CXX]},$source; + } + } + @$project_settings[$T_SOURCES_CXX]=[sort @{@$project_settings[$T_SOURCES_CXX]}]; + foreach my $source (@sources_rc) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_RC]},$source; + } + } + @$project_settings[$T_SOURCES_RC]=[sort @{@$project_settings[$T_SOURCES_RC]}]; + foreach my $source (@sources_misc) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_MISC]},$source; + } + } + @$project_settings[$T_SOURCES_MISC]=[sort @{@$project_settings[$T_SOURCES_MISC]}]; +} + +## +# Scans the specified workspace file to find the project files +sub source_scan_workspace_file($); +sub source_scan_workspace_file($) +{ + my $filename=$_[0]; + my $path=dirname($filename); + my @components; + + if (! -e $filename) { + return; + } + + if (!open(FILEIWS,$filename)) { + print STDERR "error: unable to open $filename for reading:\n"; + print STDERR " $!\n"; + return; + } + + my $prj_name; + my $prj_path; + + if ($filename =~ /.dsw$/i) { + while () { + # Remove any trailing CrLf + s/\r\n$/\n/; + + # catch a project definition + if (/^Project:\s\"(.*)\"=(.*)\s-/) { + $prj_name=$1; + $prj_path=$2; + @components=split /[\/\\]+/, $prj_path; + $prj_path=search_from($path, \@components); + print "Name: $prj_name\nPath: $prj_path\n"; + source_scan_project_file(\@main_project,1,$prj_path); + next; + } elsif (/^#/) { + # ignore Comments + } elsif (/^Global:/) { + # ignore the Global section + } elsif (/\w:/) { + print STDERR "unknown section $_\n"; + } elsif (/^Microsoft(.*)Studio(.*)File,\sFormat Version\s(.*)/) { + print "\nFileversion: $3\n"; + } + } + close(FILEIWS); + } elsif ($filename =~ /.sln$/i) { + while () { + # Remove any trailing CrLf + s/\r\n$/\n/; + + # catch a project definition + if (/^Project(.*)=\s*"(.*)",\s*"(.*)",\s*"(.*)"/) { + $prj_name=$2; + $prj_path=$3; + if ($prj_path eq "Solution Items") { next; } + @components=split /[\/\\]+/, $3; + $prj_path=search_from($path, \@components); + print "Name: $prj_name\nPath: $prj_path\n"; + source_scan_project_file(\@main_project,1,$prj_path); + next; + } elsif (/^Microsoft(.*)Studio(.*)File,\sFormat Version\s(.*)/) { + print "\nFileversion: $3\n"; + } + } + close(FILEIWS); + } + + @projects=sort { @$a[$P_PATH] cmp @$b[$P_PATH] } @projects; +} + +## +# Scans the specified directory to: +# - see if we should create a Makefile in this directory. We normally do +# so if we find a project file and sources +# - get a list of targets for this directory +# - get the list of source files +sub source_scan_directory($$$$); +sub source_scan_directory($$$$) +{ + # a reference to the parent's project + my $parent_project=$_[0]; + # the full relative path to the current directory, including a + # trailing '/', or an empty string if this is the top level directory + my $path=$_[1]; + # the name of this directory, including a trailing '/', or an empty + # string if this is the top level directory + my $dirname=$_[2]; + # if set then no targets will be looked for and the sources will all + # end up in the parent_project's 'misc' bucket + my $no_target=$_[3]; + + # reference to the project for this directory. May not be used + my $project; + # list of targets found in the 'current' directory + my %targets; + # list of sources found in the current directory + my @sources_c=(); + my @sources_cxx=(); + my @sources_rc=(); + my @sources_misc=(); + # true if this directory contains a Windows project + my $has_win_project=0; + # true if this directory contains headers + my $has_headers=0; + # If we don't find any executable/library then we might make up targets + # from the list of .dsp/.mak files we find since they usually have the + # same name as their target. + my @prj_files=(); + my @mak_files=(); + + if (defined $opt_single_target or $dirname eq "") { + # Either there is a single target and thus a single project, + # or we are in the top level directory for which a project + # already exists + $project=$parent_project; + } else { + $project=[]; + project_init($project, $path, \@global_settings); + } + my $project_settings=@$project[$P_SETTINGS]; + + # First find out what this directory contains: + # collect all sources, targets and subdirectories + my $directory=get_directory_contents($path); + foreach my $dentry (@$directory) { + if ($dentry =~ /^\./) { + next; + } + my $fullentry="$path$dentry"; + if (-d "$fullentry") { + if ($dentry =~ /^(Release|Debug)/i) { + # These directories are often used to store the object files and the + # resulting executable/library. They should not contain anything else. + my @candidates=grep /\.(exe|dll|lib)$/i, @{get_directory_contents("$fullentry")}; + foreach my $candidate (sort @candidates) { + my $dlldup = $candidate; + $dlldup =~ s/\.lib$/.dll/; + if ($candidate =~ /\.lib$/ and $targets{$dlldup}) + { + # Often lib files are created together with dll files, even if the dll file is the + # real target. + next; + } + $targets{$candidate}=1; + } + } elsif ($dentry =~ /^include/i) { + # This directory must contain headers we're going to need + push @{@$project_settings[$T_INCLUDE_PATH]},"-I$dentry"; + source_scan_directory($project,"$fullentry/","$dentry/",1); + } else { + # Recursively scan this directory. Any source file that cannot be + # attributed to a project in one of the subdirectories will be + # attributed to this project. + source_scan_directory($project,"$fullentry/","$dentry/",$no_target); + } + } elsif (-f "$fullentry") { + if ($dentry =~ /\.(exe|dll|lib)$/i) { + $targets{$dentry}=1; + } elsif ($dentry =~ /\.c$/i and $dentry !~ /\.(dbg|spec)\.c$/) { + push @sources_c,"$dentry"; + } elsif ($dentry =~ /\.cpp$/i) { + if ($dentry =~ /^stdafx.cpp$/i && !(@$project_settings[$T_FLAGS] & $TF_NOMFC)) { + push @sources_misc,"$dentry"; + @$project_settings[$T_FLAGS]|=$TF_MFC; + } else { + push @sources_cxx,"$dentry"; + } + } elsif ($dentry =~ /\.cxx$/i) { + @$project_settings[$T_FLAGS]|=$TF_HASCXX; + push @sources_cxx,"$dentry"; + } elsif ($dentry =~ /\.rc$/i) { + push @sources_rc,"$dentry"; + } elsif ($dentry =~ /\.def$/i) { + @$project_settings[$T_FLAGS]|=$TF_HASDEF; + } elsif ($dentry =~ /\.(h|hxx|hpp|inl|rc2|dlg)$/i) { + $has_headers=1; + push @sources_misc,"$dentry"; + if ($dentry =~ /^stdafx.h$/i && !(@$project_settings[$T_FLAGS] & $TF_NOMFC)) { + @$project_settings[$T_FLAGS]|=$TF_MFC; + } + } elsif ($dentry =~ /\.(dsp|vcproj)$/i) { + push @prj_files,"$dentry"; + $has_win_project=1; + } elsif ($dentry =~ /\.mak$/i) { + push @mak_files,"$dentry"; + $has_win_project=1; + } elsif ($dentry =~ /^makefile/i) { + $has_win_project=1; + } + } + } + + if ($has_headers) { + push @{@$project_settings[$T_INCLUDE_PATH]},"-I."; + } + # If we have a single target then all we have to do is assign + # all the sources to it and we're done + # FIXME: does this play well with the --interactive mode? + if ($opt_single_target) { + my $target=@{@$project[$P_TARGETS]}[0]; + push @{@$target[$T_SOURCES_C]},map "$path$_",@sources_c; + push @{@$target[$T_SOURCES_CXX]},map "$path$_",@sources_cxx; + push @{@$target[$T_SOURCES_RC]},map "$path$_",@sources_rc; + push @{@$target[$T_SOURCES_MISC]},map "$path$_",@sources_misc; + return; + } + if ($no_target) { + my $parent_settings=@$parent_project[$P_SETTINGS]; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@sources_c; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@sources_cxx; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@sources_rc; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@sources_misc; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@{@$project_settings[$T_SOURCES_MISC]}; + return; + } + + my $source_count=@sources_c+@sources_cxx+@sources_rc+ + @{@$project_settings[$T_SOURCES_C]}+ + @{@$project_settings[$T_SOURCES_CXX]}+ + @{@$project_settings[$T_SOURCES_RC]}; + if ($source_count == 0) { + # A project without real sources is not a project, get out! + if ($project!=$parent_project) { + my $parent_settings=@$parent_project[$P_SETTINGS]; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@sources_misc; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@{@$project_settings[$T_SOURCES_MISC]}; + } + return; + } + #print "targets=",%targets,"\n"; + #print "target_count=$target_count\n"; + #print "has_win_project=$has_win_project\n"; + #print "dirname=$dirname\n"; + + my $target_count; + if (($has_win_project != 0) or ($dirname eq "")) { + # Deal with cases where we could not find any executable/library, and + # thus have no target, although we did find some sort of windows project. + $target_count=keys %targets; + if ($target_count == 0) { + # Try to come up with a target list based on .dsp/.mak files + my $prj_list; + if (@prj_files > 0) { + print "Projectfile found! You might want to try using it directly.\n"; + $prj_list=\@prj_files; + } else { + $prj_list=\@mak_files; + } + foreach my $filename (@$prj_list) { + $filename =~ s/\.(dsp|vcproj|mak)$//i; + if ($opt_target_type == $TT_DLL) { + $filename = "$filename.dll"; + } + $targets{$filename}=1; + } + $target_count=keys %targets; + if ($target_count == 0) { + # Still nothing, try the name of the directory + my $name; + if ($dirname eq "") { + # Bad luck, this is the top level directory! + $name=(split /\//, cwd)[-1]; + } else { + $name=$dirname; + # Remove the trailing '/'. Also eliminate whatever is after the last + # '.' as it is likely to be meaningless (.orig, .new, ...) + $name =~ s+(/|\.[^.]*)$++; + if ($name eq "src") { + # 'src' is probably a subdirectory of the real project directory. + # Try again with the parent (if any). + my $parent=$path; + if ($parent =~ s+([^/]*)/[^/]*/$+$1+) { + $name=$parent; + } else { + $name=(split /\//, cwd)[-1]; + } + } + } + $name =~ s+(/|\.[^.]*)$++; + if ($opt_target_type == $TT_DLL) { + $name = canonize($name).".dll"; + } elsif ($opt_target_type == $TT_LIB) { + $name = "lib".canonize($name).".a"; + } else { + $name = canonize($name).".exe"; + } + $targets{$name}=1; + } + } + + # Ask confirmation to the user if he wishes so + if ($opt_is_interactive == $OPT_ASK_YES) { + my $target_list=join " ",keys %targets; + print "\n*** In ",($path?$path:"./"),"\n"; + print "* winemaker found the following list of (potential) targets\n"; + print "* $target_list\n"; + print "* Type enter to use it as is, your own comma-separated list of\n"; + print "* targets, 'none' to assign the source files to a parent directory,\n"; + print "* or 'ignore' to ignore everything in this directory tree.\n"; + print "* Target list:\n"; + $target_list=; + chomp $target_list; + if ($target_list eq "") { + # Keep the target list as is, i.e. do nothing + } elsif ($target_list eq "none") { + # Empty the target list + undef %targets; + } elsif ($target_list eq "ignore") { + # Ignore this subtree altogether + return; + } else { + undef %targets; + foreach my $target (split /,/,$target_list) { + $target =~ s+^\s*++; + $target =~ s+\s*$++; + $targets{$target}=1; + } + } + } + } + + # If we have no project at this level, then transfer all + # the sources to the parent project + $target_count=keys %targets; + if ($target_count == 0) { + if ($project!=$parent_project) { + my $parent_settings=@$parent_project[$P_SETTINGS]; + push @{@$parent_settings[$T_SOURCES_C]},map "$dirname$_",@sources_c; + push @{@$parent_settings[$T_SOURCES_CXX]},map "$dirname$_",@sources_cxx; + push @{@$parent_settings[$T_SOURCES_RC]},map "$dirname$_",@sources_rc; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@sources_misc; + push @{@$parent_settings[$T_SOURCES_MISC]},map "$dirname$_",@{@$project_settings[$T_SOURCES_MISC]}; + } + return; + } + + # Otherwise add this project to the project list, except for + # the main project which is already in the list. + if ($dirname ne "") { + push @projects,$project; + } + + # Ask for project-wide options + if ($opt_ask_project_options == $OPT_ASK_YES) { + my $flag_desc=""; + if ((@$project_settings[$T_FLAGS] & $TF_MFC)!=0) { + $flag_desc="mfc"; + } + print "* Type any project-wide options (-D/-I/-P/-i/-L/-l/--mfc),\n"; + if (defined $flag_desc) { + print "* (currently $flag_desc)\n"; + } + print "* or 'skip' to skip the target specific options,\n"; + print "* or 'never' to not be asked this question again:\n"; + while (1) { + my $options=; + chomp $options; + if ($options eq "skip") { + $opt_ask_target_options=$OPT_ASK_SKIP; + last; + } elsif ($options eq "never") { + $opt_ask_project_options=$OPT_ASK_NO; + last; + } elsif (source_set_options($project_settings,$options)) { + last; + } + print "Please re-enter the options:\n"; + } + } + + # - Create the targets + # - Check if we have both libraries and programs + # - Match each target with source files (sort in reverse + # alphabetical order to get the longest matches first) + my @local_dlls=(); + my @local_libs=(); + my @local_depends=(); + my @exe_list=(); + foreach my $target_name (map (lc, (sort { $b cmp $a } keys %targets))) { + # Create the target... + my $target=[]; + target_init($target); + @$target[$T_NAME]=$target_name; + @$target[$T_FLAGS]|=@$project_settings[$T_FLAGS]; + if ($target_name =~ /\.dll$/) { + @$target[$T_TYPE]=$TT_DLL; + push @local_depends,"$target_name.so"; + push @local_dlls,$target_name; + my $canon=canonize($target_name); + if (@$project_settings[$T_FLAGS] & $TF_HASDEF) { + push @{@$target[$T_LDFLAGS]},("-shared","\$(${canon}_MODULE:.dll=.def)"); + } else { + push @{@$target[$T_LDFLAGS]},("-shared","\$(${canon}_MODULE:.dll=.spec)"); + } + } elsif ($target_name =~ /\.lib$/) { + $target_name =~ s/(.*)\.lib/lib$1.a/; + @$target[$T_NAME]=$target_name; + @$target[$T_TYPE]=$TT_LIB; + push @local_depends,"$target_name"; + push @local_libs,$target_name; + push @{@$target[$T_ARFLAGS]},("rc"); + } elsif ($target_name =~ /\.a$/) { + @$target[$T_NAME]=$target_name; + @$target[$T_TYPE]=$TT_LIB; + push @local_depends,"$target_name"; + push @local_libs,$target_name; + push @{@$target[$T_ARFLAGS]},("rc"); + } else { + @$target[$T_TYPE]=$opt_target_type; + push @exe_list,$target; + push @{@$target[$T_LDFLAGS]},(@$target[$T_TYPE] == $TT_CUIEXE ? "-mconsole" : "-mwindows"); + } + my $basename=$target_name; + $basename=~ s/\.(dll|exe)$//i; + # This is the default link list of Visual Studio + my @std_imports=qw(odbc32 ole32 oleaut32 winspool odbccp32); + my @std_libraries=qw(uuid); + if ((@$target[$T_FLAGS] & $TF_NODLLS) == 0) { + @$target[$T_DLLS]=\@std_imports; + @$target[$T_LIBRARIES]=\@std_libraries; + } else { + @$target[$T_DLLS]=[]; + @$target[$T_LIBRARIES]=[]; + } + if ((@$target[$T_FLAGS] & $TF_NOMSVCRT) == 0) { + push @{@$target[$T_LDFLAGS]},"-mno-cygwin"; + if ($opt_arch != $OPT_ARCH_DEFAULT) { + push @{@$target[$T_LDFLAGS]},"-m$opt_arch"; + } + } + push @{@$project[$P_TARGETS]},$target; + + # Ask for target-specific options + if ($opt_ask_target_options == $OPT_ASK_YES) { + my $flag_desc=""; + if ((@$target[$T_FLAGS] & $TF_MFC)!=0) { + $flag_desc=" (mfc"; + } + if ($flag_desc ne "") { + $flag_desc.=")"; + } + print "* Specify any link option (-P/-i/-L/-l/--mfc) specific to the target\n"; + print "* \"$target_name\"$flag_desc or 'never' to not be asked this question again:\n"; + while (1) { + my $options=; + chomp $options; + if ($options eq "never") { + $opt_ask_target_options=$OPT_ASK_NO; + last; + } elsif (source_set_options($target,$options)) { + last; + } + print "Please re-enter the options:\n"; + } + } + if (@$target[$T_FLAGS] & $TF_MFC) { + @$project_settings[$T_FLAGS]|=$TF_MFC; + push @{@$target[$T_DLL_PATH]},"\$(MFC_LIBRARY_PATH)"; + push @{@$target[$T_DLLS]},"mfc.dll"; + # FIXME: Link with the MFC in the Unix sense, until we + # start exporting the functions properly. + push @{@$target[$T_LIBRARY_PATH]},"\$(MFC_LIBRARY_PATH)"; + push @{@$target[$T_LIBRARIES]},"mfc"; + } + + # Match sources... + if ($target_count == 1) { + push @{@$target[$T_SOURCES_C]},@{@$project_settings[$T_SOURCES_C]},@sources_c; + @$project_settings[$T_SOURCES_C]=[]; + @sources_c=(); + + push @{@$target[$T_SOURCES_CXX]},@{@$project_settings[$T_SOURCES_CXX]},@sources_cxx; + @$project_settings[$T_SOURCES_CXX]=[]; + @sources_cxx=(); + + push @{@$target[$T_SOURCES_RC]},@{@$project_settings[$T_SOURCES_RC]},@sources_rc; + @$project_settings[$T_SOURCES_RC]=[]; + @sources_rc=(); + + push @{@$target[$T_SOURCES_MISC]},@{@$project_settings[$T_SOURCES_MISC]},@sources_misc; + # No need for sorting these sources + @$project_settings[$T_SOURCES_MISC]=[]; + @sources_misc=(); + } else { + foreach my $source (@sources_c) { + if ($source =~ /^$basename/i) { + push @{@$target[$T_SOURCES_C]},$source; + $source=""; + } + } + foreach my $source (@sources_cxx) { + if ($source =~ /^$basename/i) { + push @{@$target[$T_SOURCES_CXX]},$source; + $source=""; + } + } + foreach my $source (@sources_rc) { + if ($source =~ /^$basename/i) { + push @{@$target[$T_SOURCES_RC]},$source; + $source=""; + } + } + foreach my $source (@sources_misc) { + if ($source =~ /^$basename/i) { + push @{@$target[$T_SOURCES_MISC]},$source; + $source=""; + } + } + } + @$target[$T_SOURCES_C]=[sort @{@$target[$T_SOURCES_C]}]; + @$target[$T_SOURCES_CXX]=[sort @{@$target[$T_SOURCES_CXX]}]; + @$target[$T_SOURCES_RC]=[sort @{@$target[$T_SOURCES_RC]}]; + @$target[$T_SOURCES_MISC]=[sort @{@$target[$T_SOURCES_MISC]}]; + } + if ($opt_ask_target_options == $OPT_ASK_SKIP) { + $opt_ask_target_options=$OPT_ASK_YES; + } + + if ((@$project_settings[$T_FLAGS] & $TF_NOMSVCRT) == 0) { + push @{@$project_settings[$T_CEXTRA]},"-mno-cygwin"; + if ($opt_arch != $OPT_ARCH_DEFAULT) { + push @{@$project_settings[$T_CEXTRA]},"-m$opt_arch"; + push @{@$project_settings[$T_CXXEXTRA]},"-m$opt_arch"; + } + } + + if (@$project_settings[$T_FLAGS] & $TF_MFC) { + push @{@$project_settings[$T_INCLUDE_PATH]},"\$(MFC_INCLUDE_PATH)"; + } + # The sources that did not match, if any, go to the extra + # source list of the project settings + foreach my $source (@sources_c) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_C]},$source; + } + } + @$project_settings[$T_SOURCES_C]=[sort @{@$project_settings[$T_SOURCES_C]}]; + foreach my $source (@sources_cxx) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_CXX]},$source; + } + } + @$project_settings[$T_SOURCES_CXX]=[sort @{@$project_settings[$T_SOURCES_CXX]}]; + foreach my $source (@sources_rc) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_RC]},$source; + } + } + @$project_settings[$T_SOURCES_RC]=[sort @{@$project_settings[$T_SOURCES_RC]}]; + foreach my $source (@sources_misc) { + if ($source ne "") { + push @{@$project_settings[$T_SOURCES_MISC]},$source; + } + } + @$project_settings[$T_SOURCES_MISC]=[sort @{@$project_settings[$T_SOURCES_MISC]}]; + + # Finally if we are building both libraries and programs in + # this directory, then the programs should be linked with all + # the libraries + if (@local_dlls > 0 and @exe_list > 0) { + foreach my $target (@exe_list) { + push @{@$target[$T_DLL_PATH]},"-L."; + push @{@$target[$T_DLLS]},@local_dlls; + } + } + if (@local_libs > 0 and @exe_list > 0) { + foreach my $target (@exe_list) { + push @{@$target[$T_LIBRARY_PATH]},"-L."; + push @{@$target[$T_LIBRARIES]},@local_libs; + } + } +} + +## +# Scan the source directories in search of things to build +sub source_scan() +{ + # If there's a single target then this is going to be the default target + if (defined $opt_single_target) { + # Create the main target + my $main_target=[]; + target_init($main_target); + @$main_target[$T_NAME]=$opt_single_target; + @$main_target[$T_TYPE]=$opt_target_type; + + # Add it to the list + push @{$main_project[$P_TARGETS]},$main_target; + } + + # The main directory is always going to be there + push @projects,\@main_project; + + if (defined $opt_work_dir) { + # Now scan the directory tree looking for source files and, maybe, targets + print "Scanning the source directories...\n"; + source_scan_directory(\@main_project,"","",0); + @projects=sort { @$a[$P_PATH] cmp @$b[$P_PATH] } @projects; + } elsif (defined $opt_work_file) { + if ($opt_work_file =~ /.dsp$/i or $opt_work_file =~ /.vcproj$/i) { + source_scan_project_file(\@main_project,0,$opt_work_file); + } elsif ($opt_work_file =~ /.dsw$/i or $opt_work_file =~ /.sln$/i) { + source_scan_workspace_file($opt_work_file); + } + } +} + +##### +# +# Source search +# +##### + +## +# Performs a directory traversal and renames the files so that: +# - they have the case desired by the user +# - their extension is of the appropriate case +# - they don't contain annoying characters like ' ', '$', '#', ... +# But only perform these changes for source files and directories. +sub fix_file_and_directory_names($); +sub fix_file_and_directory_names($) +{ + my $dirname=$_[0]; + + my $directory=get_directory_contents($dirname); + foreach my $dentry (@$directory) + { + if ($dentry =~ /^\./ or $dentry eq "CVS") { + next; + } + # Set $warn to 1 if the user should be warned of the renaming + my $warn; + my $new_name=$dentry; + + if (-f "$dirname/$dentry") + { + # Don't rename Winemaker's makefiles + next if ($dentry eq "Makefile" and + `head -n 1 "$dirname/$dentry"` =~ /Generated by Winemaker/); + + # Leave non-source files alone + next if ($new_name !~ /(^makefile|\.(c|cpp|h|rc|spec|def))$/i); + + # Only all lowercase extensions are supported (because of + # rules like '.c.o:'). + $new_name =~ s/\.C$/.c/; + $new_name =~ s/\.cpp$/.cpp/i; + $warn=1 if ($new_name =~ s/\.cxx$/.cpp/i); + $new_name =~ s/\.rc$/.rc/i; + # And this last one is to avoid confusion when running make + $warn=1 if ($new_name =~ s/^makefile$/makefile.win/i); + } + + # Adjust the case to the user's preferences + if (($opt_lower == $OPT_LOWER_ALL and $dentry =~ /[A-Z]/) or + ($opt_lower == $OPT_LOWER_UPPERCASE and $dentry !~ /[a-z]/) + ) { + $new_name=lc $new_name; + } + + # make doesn't support these characters well + $new_name =~ s/[ \$]/_/g; + + # And finally, perform the renaming + if ($new_name ne $dentry) + { + if ($warn) { + print STDERR "warning: in \"$dirname\", renaming \"$dentry\" to \"$new_name\"\n"; + } + if (!rename("$dirname/$dentry","$dirname/$new_name")) { + print STDERR "error: in \"$dirname\", unable to rename \"$dentry\" to \"$new_name\"\n"; + print STDERR " $!\n"; + $new_name=$dentry; + } + else + { + clear_directory_cache($dirname); + } + } + if (-d "$dirname/$new_name") { + fix_file_and_directory_names("$dirname/$new_name"); + } + } +} + + + +##### +# +# Source fixup +# +##### + +## +# Try to find a file for the specified filename. The attempt is +# case-insensitive which is why it's not trivial. If a match is +# found then we return the pathname with the correct case. +sub search_from($$) +{ + my $dirname=$_[0]; + my $path=$_[1]; + my $real_path=""; + + if ($dirname eq "" or $dirname eq "." or $dirname eq "./") { + $dirname=cwd; + } elsif ($dirname !~ m+^/+) { + $dirname=cwd . "/" . $dirname; + } + if ($dirname !~ m+/$+) { + $dirname.="/"; + } + + foreach my $component (@$path) { + $component=~s/^\"//; + $component=~s/\"$//; + #print " looking for $component in \"$dirname\"\n"; + if ($component eq ".") { + # Pass it as is + $real_path.="./"; + } elsif ($component eq "..") { + # Go up one level + if ($dirname =~ /\.\.\/$/) { + $dirname.="../"; + } else { + $dirname=dirname($dirname) . "/"; + } + $real_path.="../"; + } else { + # The file/directory may have been renamed before. Also try to + # match the renamed file. + my $renamed=$component; + $renamed =~ s/[ \$]/_/g; + if ($renamed eq $component) { + undef $renamed; + } + + my $directory=get_directory_contents $dirname; + my $found; + foreach my $dentry (@$directory) { + if ($dentry =~ /^\Q$component\E$/i or + (defined $renamed and $dentry =~ /^$renamed$/i) + ) { + $dirname.="$dentry/"; + $real_path.="$dentry/"; + $found=1; + last; + } + } + if (!defined $found) { + # Give up + #print " could not find $component in $dirname\n"; + return; + } + } + } + $real_path=~ s+/$++; + #print " -> found $real_path\n"; + return $real_path; +} + +## +# Performs a case-insensitive search for the specified file in the +# include path. +# $line is the line number that should be referenced when an error occurs +# $filename is the file we are looking for +# $dirname is the directory of the file containing the '#include' directive +# if '"' was used, it is an empty string otherwise +# $project and $target specify part of the include path +sub get_real_include_name($$$$$) +{ + my $line=$_[0]; + my $filename=$_[1]; + my $dirname=$_[2]; + my $project=$_[3]; + my $target=$_[4]; + + if ($filename =~ /^([a-zA-Z]:)?[\/\\]/ or $filename =~ /^[a-zA-Z]:[\/\\]?/) { + # This is not a relative path, we cannot make any check + my $warning="path:$filename"; + if (!defined $warnings{$warning}) { + $warnings{$warning}="1"; + print STDERR "warning: cannot check the case of absolute pathnames:\n"; + print STDERR "$line: $filename\n"; + } + } else { + # Here's how we proceed: + # - split the filename we look for into its components + # - then for each directory in the include path + # - trace the directory components starting from that directory + # - if we fail to find a match at any point then continue with + # the next directory in the include path + # - otherwise, rejoice, our quest is over. + my @file_components=split /[\/\\]+/, $filename; + #print " Searching for $filename from @$project[$P_PATH]\n"; + + my $real_filename; + if ($dirname ne "") { + # This is an 'include ""' -> look in dirname first. + #print " in $dirname (include \"\")\n"; + $real_filename=search_from($dirname,\@file_components); + if (defined $real_filename) { + return $real_filename; + } + } + my $project_settings=@$project[$P_SETTINGS]; + foreach my $include (@{@$target[$T_INCLUDE_PATH]}, @{@$project_settings[$T_INCLUDE_PATH]}) { + my $dirname=$include; + $dirname=~ s+^-I++; + $dirname=~ s+\s$++; + if (!is_absolute($dirname)) { + $dirname="@$project[$P_PATH]$dirname"; + } else { + $dirname=~ s+^\$\(TOPSRCDIR\)/++; + $dirname=~ s+^\$\(SRCDIR\)/+@$project[$P_PATH]+; + } + #print " in $dirname\n"; + $real_filename=search_from("$dirname",\@file_components); + if (defined $real_filename) { + return $real_filename; + } + } + my $dotdotpath=@$project[$P_PATH]; + $dotdotpath =~ s/[^\/]+/../g; + foreach my $include (@{$global_settings[$T_INCLUDE_PATH]}) { + my $dirname=$include; + $dirname=~ s+^-I++; + $dirname=~ s+^\$\(TOPSRCDIR\)\/++; + $dirname=~ s+^\$\(SRCDIR\)\/+@$project[$P_PATH]+; + #print " in $dirname (global setting)\n"; + $real_filename=search_from("$dirname",\@file_components); + if (defined $real_filename) { + return $real_filename; + } + } + } + $filename =~ s+\\\\+/+g; # in include "" + $filename =~ s+\\+/+g; # in include <> ! + if ($opt_lower_include) { + return lc "$filename"; + } + return $filename; +} + +sub print_pack($$$) +{ + my $indent=$_[0]; + my $size=$_[1]; + my $trailer=$_[2]; + + if ($size =~ /^(1|2|4|8)$/) { + print FILEO "$indent#include $trailer"; + } else { + print FILEO "$indent/* winemaker:warning: Unknown size \"$size\". Defaulting to 4 */\n"; + print FILEO "$indent#include $trailer"; + } +} + +## +# 'Parses' a source file and fixes constructs that would not work with +# Winelib. The parsing is rather simple and not all non-portable features +# are corrected. The most important feature that is corrected is the case +# and path separator of '#include' directives. This requires that each +# source file be associated to a project & target so that the proper +# include path is used. +# Also note that the include path is relative to the directory in which the +# compiler is run, i.e. that of the project, not to that of the file. +sub fix_file($$$) +{ + my $filename=$_[0]; + my $project=$_[1]; + my $target=$_[2]; + $filename="@$project[$P_PATH]$filename"; + if (! -e $filename) { + return; + } + + my $is_rc=($filename =~ /\.(rc2?|dlg)$/i); + my $dirname=dirname($filename); + my $is_mfc=0; + if (defined $target and (@$target[$T_FLAGS] & $TF_MFC)) { + $is_mfc=1; + } + + print " $filename\n"; + if (! -e "$filename.bak") { + if (!copy("$filename","$filename.bak")) { + print STDERR "error: unable to make a backup of $filename:\n"; + print STDERR " $!\n"; + return; + } + } + if (!open(FILEI,"$filename.bak")) { + print STDERR "error: unable to open $filename.bak for reading:\n"; + print STDERR " $!\n"; + return; + } + if (!open(FILEO,">$filename")) { + print STDERR "error: unable to open $filename for writing:\n"; + print STDERR " $!\n"; + return; + } + my $line=0; + my $modified=0; + my $rc_block_depth=0; + my $rc_textinclude_state=0; + my @pack_stack; + while () { + # Remove any trailing CtrlZ, which isn't strictly in the file + if (/\x1A/) { + s/\x1A//; + last if (/^$/) + } + $line++; + s/\r\n$/\n/; + if (!/\n$/) { + # Make sure all files are '\n' terminated + $_ .= "\n"; + } + if ($is_rc and !$is_mfc and /^(\s*)(\#\s*include\s*)\"afxres\.h\"/) { + # VC6 automatically includes 'afxres.h', an MFC specific header, in + # the RC files it generates (even in non-MFC projects). So we replace + # it with 'winresrc.h' its very close standard cousin so that non MFC + # projects can compile in Wine without the MFC sources. + my $warning="mfc:afxres.h"; + if (!defined $warnings{$warning}) { + $warnings{$warning}="1"; + print STDERR "warning: In non-MFC projects, winemaker replaces the MFC specific header 'afxres.h' with 'winresrc.h'\n"; + print STDERR "warning: the above warning is issued only once\n"; + } + print FILEO "$1/* winemaker: $2\"afxres.h\" */\n"; + print FILEO "$1/* winemaker:warning: 'afxres.h' is an MFC specific header. Replacing it with 'winresrc.h' */\n"; + print FILEO "$1$2\"winresrc.h\"$'"; + $modified=1; + + } elsif (/^(\s*\#\s*include\s*)([\"<])([^\"]+)([\">])/) { + my $from_file=($2 eq "<"?"":$dirname); + my $real_include_name=get_real_include_name($line,$3,$from_file,$project,$target); + print FILEO "$1$2$real_include_name$4$'"; + $modified|=($real_include_name ne $3); + + } elsif (/^(\s*)\#\s*pragma\s+comment\s*\(\s*lib\s*,\s*\"(\w+)\.lib\"\s*\)/) { + my $pragma_indent=$1; + my $pragma_lib=$2; + push @{@$target[$T_LIBRARIES]},$pragma_lib; + print FILEO "$pragma_indent/* winemaker: Added -l$pragma_lib to the libraries */\n"; + } elsif (s/^(\s*)(\#\s*pragma\s+pack\s*\(\s*)//) { + # Pragma pack handling + # + # pack_stack is an array of references describing the stack of + # pack directives currently in effect. Each directive if described + # by a reference to an array containing: + # - "push" for pack(push,...) directives, "" otherwise + # - the directive's identifier at index 1 + # - the directive's alignment value at index 2 + # + # Don't believe a word of what the documentation says: it's all wrong. + # The code below is based on the actual behavior of Visual C/C++ 6. + my $pack_indent=$1; + my $pack_header=$2; + if (/^(\))/) { + # pragma pack() + # Pushes the default stack alignment + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + print FILEO "$pack_indent/* winemaker:warning: Using 4 as the default alignment */\n"; + print_pack($pack_indent,4,$'); + push @pack_stack, [ "", "", 4 ]; + + } elsif (/^(pop\s*(,\s*\d+\s*)?\))/) { + # pragma pack(pop) + # pragma pack(pop,n) + # Goes up the stack until it finds a pack(push,...), and pops it + # Ignores any pack(n) entry + # Issues a warning if the pack is of the form pack(push,label) + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + my $pack_comment=$'; + $pack_comment =~ s/^\s*//; + if ($pack_comment ne "") { + print FILEO "$pack_indent$pack_comment"; + } + while (1) { + my $alignment=pop @pack_stack; + if (!defined $alignment) { + print FILEO "$pack_indent/* winemaker:warning: No pack(push,...) found. All the stack has been popped */\n"; + last; + } + if (@$alignment[1]) { + print FILEO "$pack_indent/* winemaker:warning: Anonymous pop of pack(push,@$alignment[1]) (@$alignment[2]) */\n"; + } + print FILEO "$pack_indent#include \n"; + if (@$alignment[0]) { + last; + } + } + + } elsif (/^(pop\s*,\s*(\w+)\s*(,\s*\d+\s*)?\))/) { + # pragma pack(pop,label[,n]) + # Goes up the stack until finding a pack(push,...) and pops it. + # 'n', if specified, is ignored. + # Ignores any pack(n) entry + # Issues a warning if the label of the pack does not match, + # or if it is in fact a pack(push,n) + my $label=$2; + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + my $pack_comment=$'; + $pack_comment =~ s/^\s*//; + if ($pack_comment ne "") { + print FILEO "$pack_indent$pack_comment"; + } + while (1) { + my $alignment=pop @pack_stack; + if (!defined $alignment) { + print FILEO "$pack_indent/* winemaker:warning: No pack(push,$label) found. All the stack has been popped */\n"; + last; + } + if (@$alignment[1] and @$alignment[1] ne $label) { + print FILEO "$pack_indent/* winemaker:warning: Push/pop mismatch: \"@$alignment[1]\" (@$alignment[2]) != \"$label\" */\n"; + } + print FILEO "$pack_indent#include \n"; + if (@$alignment[0]) { + last; + } + } + + } elsif (/^(push\s*\))/) { + # pragma pack(push) + # Push the current alignment + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + if (@pack_stack > 0) { + my $alignment=$pack_stack[$#pack_stack]; + print_pack($pack_indent,@$alignment[2],$'); + push @pack_stack, [ "push", "", @$alignment[2] ]; + } else { + print FILEO "$pack_indent/* winemaker:warning: Using 4 as the default alignment */\n"; + print_pack($pack_indent,4,$'); + push @pack_stack, [ "push", "", 4 ]; + } + + } elsif (/^((push\s*,\s*)?(\d+)\s*\))/) { + # pragma pack([push,]n) + # Push new alignment n + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + print_pack($pack_indent,$3,"$'"); + push @pack_stack, [ ($2 ? "push" : ""), "", $3 ]; + + } elsif (/^((\w+)\s*\))/) { + # pragma pack(label) + # label must in fact be a macro that resolves to an integer + # Then behaves like 'pragma pack(n)' + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + print FILEO "$pack_indent/* winemaker:warning: Assuming $2 == 4 */\n"; + print_pack($pack_indent,4,$'); + push @pack_stack, [ "", "", 4 ]; + + } elsif (/^(push\s*,\s*(\w+)\s*(,\s*(\d+)\s*)?\))/) { + # pragma pack(push,label[,n]) + # Pushes a new label on the stack. It is possible to push the same + # label multiple times. If 'n' is omitted then the alignment is + # unchanged. Otherwise it becomes 'n'. + print FILEO "$pack_indent/* winemaker: $pack_header$1 */\n"; + my $size; + if (defined $4) { + $size=$4; + } elsif (@pack_stack > 0) { + my $alignment=$pack_stack[$#pack_stack]; + $size=@$alignment[2]; + } else { + print FILEO "$pack_indent/* winemaker:warning: Using 4 as the default alignment */\n"; + $size=4; + } + print_pack($pack_indent,$size,$'); + push @pack_stack, [ "push", $2, $size ]; + + } else { + # pragma pack(??? -> What's that? + print FILEO "$pack_indent/* winemaker:warning: Unknown type of pragma pack directive */\n"; + print FILEO "$pack_indent$pack_header$_"; + + } + $modified=1; + + } elsif ($is_rc) { + if ($rc_block_depth == 0 and /^(\w+\s+(BITMAP|CURSOR|FONT|FONTDIR|ICON|MESSAGETABLE|TEXT|RTF)\s+((DISCARDABLE|FIXED|IMPURE|LOADONCALL|MOVEABLE|PRELOAD|PURE)\s+)*)([\"<]?)([^\">\r\n]+)([\">]?)/) { + my $from_file=($5 eq "<"?"":$dirname); + my $real_include_name=get_real_include_name($line,$6,$from_file,$project,$target); + print FILEO "$1$5$real_include_name$7$'"; + $modified|=($real_include_name ne $6); + + } elsif (/^(\s*RCINCLUDE\s*)([\"<]?)([^\">\r\n]+)([\">]?)/) { + my $from_file=($2 eq "<"?"":$dirname); + my $real_include_name=get_real_include_name($line,$3,$from_file,$project,$target); + print FILEO "$1$2$real_include_name$4$'"; + $modified|=($real_include_name ne $3); + + } elsif ($is_rc and !$is_mfc and $rc_block_depth == 0 and /^\s*\d+\s+TEXTINCLUDE\s*/) { + $rc_textinclude_state=1; + print FILEO; + + } elsif ($rc_textinclude_state == 3 and /^(\s*\"\#\s*include\s*\"\")afxres\.h(\"\"\\r\\n\")/) { + print FILEO "$1winresrc.h$2$'"; + $modified=1; + + } elsif (/^\s*BEGIN(\W.*)?$/) { + $rc_textinclude_state|=2; + $rc_block_depth++; + print FILEO; + + } elsif (/^\s*END(\W.*)?$/) { + $rc_textinclude_state=0; + if ($rc_block_depth>0) { + $rc_block_depth--; + } + print FILEO; + + } else { + print FILEO; + } + + } else { + print FILEO; + } + } + + close(FILEI); + close(FILEO); + if ($opt_backup == 0 or $modified == 0) { + if (!unlink("$filename.bak")) { + print STDERR "error: unable to delete $filename.bak:\n"; + print STDERR " $!\n"; + } + } +} + +## +# Analyzes each source file in turn to find and correct issues +# that would cause it not to compile. +sub fix_source() +{ + print "Fixing the source files...\n"; + foreach my $project (@projects) { + foreach my $target (@$project[$P_SETTINGS],@{@$project[$P_TARGETS]}) { + foreach my $source (@{@$target[$T_SOURCES_C]}, @{@$target[$T_SOURCES_CXX]}, @{@$target[$T_SOURCES_RC]}, @{@$target[$T_SOURCES_MISC]}) { + fix_file($source,$project,$target); + } + } + } +} + + + +##### +# +# File generation +# +##### + +## +# A convenience function to generate all the lists (defines, +# C sources, C++ source, etc.) in the Makefile +sub generate_list($$$;$) +{ + my $name=$_[0]; + my $last=$_[1]; + my $list=$_[2]; + my $data=$_[3]; + my $first=$name; + + if ($name) { + printf FILEO "%-22s=",$name; + } + if (defined $list) { + foreach my $item (@$list) { + my $value; + if (defined $data) { + $value=&$data($item); + } else { + if (defined $item) { + $value=$item; + } else { + $value=""; + } + } + if ($value ne "") { + if ($first) { + print FILEO " $value"; + $first=0; + } else { + print FILEO " \\\n\t\t\t$value"; + } + } + } + } + if ($last) { + print FILEO "\n"; + } +} + +## +# Generates a project's Makefile and all the target files +sub generate_project_files($) +{ + my $project=$_[0]; + my $project_settings=@$project[$P_SETTINGS]; + my @dll_list=(); + my @lib_list=(); + my @exe_list=(); + + # Then sort the targets and separate the libraries from the programs + foreach my $target (sort { @$a[$T_NAME] cmp @$b[$T_NAME] } @{@$project[$P_TARGETS]}) { + if (@$target[$T_TYPE] == $TT_DLL) { + push @dll_list,$target; + } elsif (@$target[$T_TYPE] == $TT_LIB) { + push @lib_list,$target; + } else { + push @exe_list,$target; + } + } + @$project[$P_TARGETS]=[]; + push @{@$project[$P_TARGETS]}, @dll_list; + push @{@$project[$P_TARGETS]}, @lib_list; + push @{@$project[$P_TARGETS]}, @exe_list; + + if (!open(FILEO,">@$project[$P_PATH]Makefile")) { + print STDERR "error: could not open \"@$project[$P_PATH]/Makefile\" for writing\n"; + print STDERR " $!\n"; + return; + } + binmode( FILEO, ':utf8' ); + + my $cpp_to_object; + if (@$project_settings[$T_FLAGS] & $TF_HASCXX) { + $cpp_to_object=".cxx=.o"; + } else { + $cpp_to_object=".cpp=.o"; + } + + print FILEO "### Generated by Winemaker $version\n"; + print FILEO "###\n"; + print FILEO "### Invocation command line was\n"; + print FILEO "### $0"; + foreach(@ARGV) { + print FILEO " $_"; + } + print FILEO "\n\n\n"; + + generate_list("SRCDIR",1,[ "." ]); + if (@$project[$P_PATH] eq "") { + # This is the main project. It is also responsible for recursively + # calling the other projects + generate_list("SUBDIRS",1,\@projects,sub + { + if ($_[0] != \@main_project) { + my $subdir=@{$_[0]}[$P_PATH]; + $subdir =~ s+/$++; + return $subdir; + } + # Eliminating the main project by returning undefined! + }); + } + if (@{@$project[$P_TARGETS]} > 0) { + generate_list("DLLS",1,\@dll_list,sub + { + return @{$_[0]}[$T_NAME]; + }); + generate_list("LIBS",1,\@lib_list,sub + { + return @{$_[0]}[$T_NAME]; + }); + generate_list("EXES",1,\@exe_list,sub + { + return "@{$_[0]}[$T_NAME]"; + }); + print FILEO "\n\n\n"; + + print FILEO "### Common settings\n\n"; + # Make it so that the project-wide settings override the global settings + generate_list("CEXTRA",1,@$project_settings[$T_CEXTRA]); + generate_list("CXXEXTRA",1,@$project_settings[$T_CXXEXTRA]); + generate_list("RCEXTRA",1,@$project_settings[$T_RCEXTRA]); + generate_list("DEFINES",1,@$project_settings[$T_DEFINES]); + generate_list("INCLUDE_PATH",1,@$project_settings[$T_INCLUDE_PATH]); + generate_list("DLL_PATH",1,@$project_settings[$T_DLL_PATH]); + generate_list("DLL_IMPORTS",1,@$project_settings[$T_DLLS]); + generate_list("LIBRARY_PATH",1,@$project_settings[$T_LIBRARY_PATH]); + generate_list("LIBRARIES",1,@$project_settings[$T_LIBRARIES]); + print FILEO "\n\n"; + + my $extra_source_count=@{@$project_settings[$T_SOURCES_C]}+ + @{@$project_settings[$T_SOURCES_CXX]}+ + @{@$project_settings[$T_SOURCES_RC]}; + my $no_extra=($extra_source_count == 0); + if (!$no_extra) { + print FILEO "### Extra source lists\n\n"; + generate_list("EXTRA_C_SRCS",1,@$project_settings[$T_SOURCES_C]); + generate_list("EXTRA_CXX_SRCS",1,@$project_settings[$T_SOURCES_CXX]); + generate_list("EXTRA_RC_SRCS",1,@$project_settings[$T_SOURCES_RC]); + print FILEO "\n"; + generate_list("EXTRA_OBJS",1,["\$(EXTRA_C_SRCS:.c=.o)","\$(EXTRA_CXX_SRCS:$cpp_to_object)"]); + print FILEO "\n\n\n"; + } + + # Iterate over all the targets... + foreach my $target (@{@$project[$P_TARGETS]}) { + print FILEO "### @$target[$T_NAME] sources and settings\n\n"; + my $canon=canonize("@$target[$T_NAME]"); + $canon =~ s+_so$++; + + generate_list("${canon}_MODULE",1,[@$target[$T_NAME]]); + generate_list("${canon}_C_SRCS",1,@$target[$T_SOURCES_C]); + generate_list("${canon}_CXX_SRCS",1,@$target[$T_SOURCES_CXX]); + generate_list("${canon}_RC_SRCS",1,@$target[$T_SOURCES_RC]); + generate_list("${canon}_LDFLAGS",1,@$target[$T_LDFLAGS]); + generate_list("${canon}_ARFLAGS",1,@$target[$T_ARFLAGS]); + generate_list("${canon}_DLL_PATH",1,@$target[$T_DLL_PATH]); + generate_list("${canon}_DLLS",1,@$target[$T_DLLS]); + generate_list("${canon}_LIBRARY_PATH",1,@$target[$T_LIBRARY_PATH]); + generate_list("${canon}_LIBRARIES",1,@$target[$T_LIBRARIES]); + print FILEO "\n"; + generate_list("${canon}_OBJS",1,["\$(${canon}_C_SRCS:.c=.o)","\$(${canon}_CXX_SRCS:$cpp_to_object)","\$(${canon}_RC_SRCS:.rc=.res)"]); + print FILEO "\n\n\n"; + } + print FILEO "### Global source lists\n\n"; + generate_list("C_SRCS",$no_extra,@$project[$P_TARGETS],sub + { + my $canon=canonize(@{$_[0]}[$T_NAME]); + $canon =~ s+_so$++; + return "\$(${canon}_C_SRCS)"; + }); + if (!$no_extra) { + generate_list("",1,[ "\$(EXTRA_C_SRCS)" ]); + } + generate_list("CXX_SRCS",$no_extra,@$project[$P_TARGETS],sub + { + my $canon=canonize(@{$_[0]}[$T_NAME]); + $canon =~ s+_so$++; + return "\$(${canon}_CXX_SRCS)"; + }); + if (!$no_extra) { + generate_list("",1,[ "\$(EXTRA_CXX_SRCS)" ]); + } + generate_list("RC_SRCS",$no_extra,@$project[$P_TARGETS],sub + { + my $canon=canonize(@{$_[0]}[$T_NAME]); + $canon =~ s+_so$++; + return "\$(${canon}_RC_SRCS)"; + }); + if (!$no_extra) { + generate_list("",1,[ "\$(EXTRA_RC_SRCS)" ]); + } + } + print FILEO "\n\n"; + print FILEO "### Tools\n\n"; + print FILEO "CC = winegcc\n"; + print FILEO "CXX = wineg++\n"; + print FILEO "RC = wrc\n"; + print FILEO "AR = ar\n"; + print FILEO "\n\n"; + + print FILEO "### Generic targets\n\n"; + print FILEO "all:"; + if (@$project[$P_PATH] eq "") { + print FILEO " \$(SUBDIRS)"; + } + if (@{@$project[$P_TARGETS]} > 0) { + print FILEO " \$(DLLS:%=%.so) \$(LIBS) \$(EXES)"; + } + print FILEO "\n\n"; + print FILEO "### Build rules\n"; + print FILEO "\n"; + print FILEO ".PHONY: all clean dummy\n"; + print FILEO "\n"; + print FILEO "\$(SUBDIRS): dummy\n"; + print FILEO "\t\@cd \$\@ && \$(MAKE)\n"; + print FILEO "\n"; + print FILEO "# Implicit rules\n"; + print FILEO "\n"; + print FILEO ".SUFFIXES: .cpp .cxx .rc .res\n"; + print FILEO "DEFINCL = \$(INCLUDE_PATH) \$(DEFINES) \$(OPTIONS)\n"; + print FILEO "\n"; + print FILEO ".c.o:\n"; + print FILEO "\t\$(CC) -c \$(CFLAGS) \$(CEXTRA) \$(DEFINCL) -o \$\@ \$<\n"; + print FILEO "\n"; + print FILEO ".cpp.o:\n"; + print FILEO "\t\$(CXX) -c \$(CXXFLAGS) \$(CXXEXTRA) \$(DEFINCL) -o \$\@ \$<\n"; + print FILEO "\n"; + print FILEO ".cxx.o:\n"; + print FILEO "\t\$(CXX) -c \$(CXXFLAGS) \$(CXXEXTRA) \$(DEFINCL) -o \$\@ \$<\n"; + print FILEO "\n"; + print FILEO ".rc.res:\n"; + print FILEO "\t\$(RC) \$(RCFLAGS) \$(RCEXTRA) \$(DEFINCL) -fo\$@ \$<\n"; + print FILEO "\n"; + print FILEO "# Rules for cleaning\n"; + print FILEO "\n"; + print FILEO "CLEAN_FILES = y.tab.c y.tab.h lex.yy.c core *.orig *.rej \\\n"; + print FILEO " \\\\\\#*\\\\\\# *~ *% .\\\\\\#*\n"; + print FILEO "\n"; + print FILEO "clean:: \$(SUBDIRS:%=%/__clean__) \$(EXTRASUBDIRS:%=%/__clean__)\n"; + print FILEO "\t\$(RM) \$(CLEAN_FILES) \$(RC_SRCS:.rc=.res) \$(C_SRCS:.c=.o) \$(CXX_SRCS:$cpp_to_object)\n"; + print FILEO "\t\$(RM) \$(DLLS:%=%.so) \$(LIBS) \$(EXES) \$(EXES:%=%.so)\n"; + print FILEO "\n"; + print FILEO "\$(SUBDIRS:%=%/__clean__): dummy\n"; + print FILEO "\tcd `dirname \$\@` && \$(MAKE) clean\n"; + print FILEO "\n"; + print FILEO "\$(EXTRASUBDIRS:%=%/__clean__): dummy\n"; + print FILEO "\t-cd `dirname \$\@` && \$(RM) \$(CLEAN_FILES)\n"; + print FILEO "\n"; + + if (@{@$project[$P_TARGETS]} > 0) { + print FILEO "### Target specific build rules\n"; + print FILEO "DEFLIB = \$(LIBRARY_PATH) \$(LIBRARIES) \$(DLL_PATH) \$(DLL_IMPORTS:%=-l%)\n\n"; + foreach my $target (@{@$project[$P_TARGETS]}) { + my $canon=canonize("@$target[$T_NAME]"); + $canon =~ s/_so$//; + + if (@$target[$T_TYPE] == $TT_DLL && (@$project_settings[$T_FLAGS] & $TF_HASDEF)) { + print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.def)\n"; + } elsif (@$target[$T_TYPE] == $TT_DLL) { + print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.spec)\n"; + } else { + print FILEO "\$(${canon}_MODULE): \$(${canon}_OBJS)\n"; + } + + if (@$target[$T_TYPE] == $TT_LIB) { + print FILEO "\t\$(AR) \$(${canon}_ARFLAGS) \$\@ \$(${canon}_OBJS)\n"; + } else { + if (@{@$target[$T_SOURCES_CXX]} > 0 or @{@$project_settings[$T_SOURCES_CXX]} > 0) { + print FILEO "\t\$(CXX)"; + } else { + print FILEO "\t\$(CC)"; + } + print FILEO " \$(${canon}_LDFLAGS) -o \$\@ \$(${canon}_OBJS) \$(${canon}_LIBRARY_PATH) \$(${canon}_DLL_PATH) \$(DEFLIB) \$(${canon}_DLLS:%=-l%) \$(${canon}_LIBRARIES:%=-l%)\n"; + } + print FILEO "\n\n"; + } + } + close(FILEO); + +} + + +## +# This is where we finally generate files. In fact this method does not +# do anything itself but calls the methods that do the actual work. +sub generate() +{ + print "Generating project files...\n"; + + foreach my $project (@projects) { + my $path=@$project[$P_PATH]; + if ($path eq "") { + $path="."; + } else { + $path =~ s+/$++; + } + print " $path\n"; + generate_project_files($project); + } +} + + + +##### +# +# Option defaults +# +##### + +$opt_backup=1; +$opt_lower=$OPT_LOWER_UPPERCASE; +$opt_lower_include=1; + +$opt_work_dir=undef; +$opt_single_target=undef; +$opt_target_type=$TT_GUIEXE; +$opt_flags=0; +$opt_arch=$OPT_ARCH_DEFAULT; +$opt_is_interactive=$OPT_ASK_NO; +$opt_ask_project_options=$OPT_ASK_NO; +$opt_ask_target_options=$OPT_ASK_NO; +$opt_no_generated_files=0; +$opt_no_source_fix=0; +$opt_no_banner=0; + + + +##### +# +# Main +# +##### + +sub print_banner() +{ + print "Winemaker $version\n"; + print "Copyright 2000-2004 François Gouget for CodeWeavers\n"; + print "Copyright 2004 Dimitrie O. Paun\n"; + print "Copyright 2009-2012 André Hentschel\n"; +} + +sub usage() +{ + print_banner(); + print STDERR "Usage: winemaker [--nobanner] [--backup|--nobackup] [--nosource-fix]\n"; + print STDERR " [--lower-none|--lower-all|--lower-uppercase]\n"; + print STDERR " [--lower-include|--nolower-include] [--mfc|--nomfc]\n"; + print STDERR " [--guiexe|--windows|--cuiexe|--console|--dll|--lib]\n"; + print STDERR " [-Dmacro[=defn]] [-Idir] [-Pdir] [-idll] [-Ldir] [-llibrary]\n"; + print STDERR " [--nodlls] [--nomsvcrt] [--interactive] [--single-target name]\n"; + print STDERR " [--generated-files|--nogenerated-files]\n"; + print STDERR " [--wine32]\n"; + print STDERR " work_directory|project_file|workspace_file\n"; + print STDERR "\nWinemaker is designed to recursively convert all the Windows sources found in\n"; + print STDERR "the specified directory or project-file, so that they can be compiled with Winelib.\n"; + print STDERR "During this process it will modify and rename some of the corresponding files.\n"; + print STDERR "\tPlease read the manual page before use.\n"; + exit (2); +} + +binmode(STDOUT, ":utf8"); + +target_init(\@global_settings); + +foreach(@ARGV) { + my $arg=$_; + # General options + if ($arg eq "--nobanner") { + $opt_no_banner=1; + } elsif ($arg eq "--backup") { + $opt_backup=1; + } elsif ($arg eq "--nobackup") { + $opt_backup=0; + } elsif ($arg eq "--single-target") { + $opt_single_target=shift @ARGV; + } elsif ($arg eq "--lower-none") { + $opt_lower=$OPT_LOWER_NONE; + } elsif ($arg eq "--lower-all") { + $opt_lower=$OPT_LOWER_ALL; + } elsif ($arg eq "--lower-uppercase") { + $opt_lower=$OPT_LOWER_UPPERCASE; + } elsif ($arg eq "--lower-include") { + $opt_lower_include=1; + } elsif ($arg eq "--nolower-include") { + $opt_lower_include=0; + } elsif ($arg eq "--nosource-fix") { + $opt_no_source_fix=1; + } elsif ($arg eq "--generated-files") { + $opt_no_generated_files=0; + } elsif ($arg eq "--nogenerated-files") { + $opt_no_generated_files=1; + } elsif ($arg eq "--wine32") { + $opt_arch=$OPT_ARCH_32; + } elsif ($arg =~ /^-D/) { + push @{$global_settings[$T_DEFINES]},$arg; + } elsif ($arg =~ /^-I/) { + push @{$global_settings[$T_INCLUDE_PATH]},$arg; + } elsif ($arg =~ /^-P/) { + push @{$global_settings[$T_DLL_PATH]},"-L$'"; + } elsif ($arg =~ /^-i/) { + push @{$global_settings[$T_DLLS]},$'; + } elsif ($arg =~ /^-L/) { + push @{$global_settings[$T_LIBRARY_PATH]},$arg; + } elsif ($arg =~ /^-l/) { + push @{$global_settings[$T_LIBRARIES]},$arg; + + # 'Source'-based method options + } elsif ($arg eq "--dll") { + $opt_target_type=$TT_DLL; + } elsif ($arg eq "--lib") { + $opt_target_type=$TT_LIB; + } elsif ($arg eq "--guiexe" or $arg eq "--windows") { + $opt_target_type=$TT_GUIEXE; + } elsif ($arg eq "--cuiexe" or $arg eq "--console") { + $opt_target_type=$TT_CUIEXE; + } elsif ($arg eq "--interactive") { + $opt_is_interactive=$OPT_ASK_YES; + $opt_ask_project_options=$OPT_ASK_YES; + $opt_ask_target_options=$OPT_ASK_YES; + } elsif ($arg eq "--mfc") { + $opt_flags|=$TF_MFC; + } elsif ($arg eq "--nomfc") { + $opt_flags&=~$TF_MFC; + $opt_flags|=$TF_NOMFC; + } elsif ($arg eq "--nodlls") { + $opt_flags|=$TF_NODLLS; + } elsif ($arg eq "--nomsvcrt") { + $opt_flags|=$TF_NOMSVCRT; + + # Catch errors + } else { + if ($arg ne "--help" and $arg ne "-h" and $arg ne "-?") { + if (!defined $opt_work_dir and !defined $opt_work_file) { + if (-f $arg) { + $opt_work_file=$arg; + } + else { + $opt_work_dir=$arg; + } + } else { + print STDERR "error: the work directory, \"$arg\", has already been specified (was \"$opt_work_dir\")\n"; + usage(); + } + } else { + usage(); + } + } +} + +if (!defined $opt_work_dir and !defined $opt_work_file) { + print STDERR "error: you must specify the directory or project file containing the sources to be converted\n"; + usage(); +} elsif (defined $opt_work_dir and !chdir $opt_work_dir) { + print STDERR "error: could not chdir to the work directory\n"; + print STDERR " $!\n"; + usage(); +} + +if ($opt_no_banner == 0) { + print_banner(); +} + +project_init(\@main_project, "", \@global_settings); + +# Fix the file and directory names +fix_file_and_directory_names("."); + +# Scan the sources to identify the projects and targets +source_scan(); + +# Fix the source files +if (! $opt_no_source_fix) { + fix_source(); +} + +# Generate the Makefile and the spec file +if (! $opt_no_generated_files) { + generate(); +} diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmc b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmc new file mode 100755 index 0000000..6892b5c Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wmc differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wrc b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wrc new file mode 100755 index 0000000..8f42db1 Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/lib/i386-linux-gnu/deepin-wine/wrc differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/bug/deepin-wine32-tools/control b/deepin-wine32-tools_2.18-12_i386/usr/share/bug/deepin-wine32-tools/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/usr/share/bug/deepin-wine32-tools/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/README.winedump.gz b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/README.winedump.gz new file mode 100644 index 0000000..826e13a Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/README.winedump.gz differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/changelog.Debian.gz b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/changelog.Debian.gz differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/changelog.gz b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/changelog.gz differ diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/copyright b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/usr/share/doc/deepin-wine32-tools/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32-tools b/deepin-wine32-tools_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32-tools new file mode 100644 index 0000000..e230008 --- /dev/null +++ b/deepin-wine32-tools_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32-tools @@ -0,0 +1,4 @@ +# unfortunately wine doesn't doesn't do fortify hardening +hardening-no-fortify-functions +# incorrectly flagged +spelling-error-in-binary diff --git a/deepin-wine32-tools_2.18-12_i386/usr/share/man/man1/deepin-winegcc32.1.gz b/deepin-wine32-tools_2.18-12_i386/usr/share/man/man1/deepin-winegcc32.1.gz new file mode 100644 index 0000000..a348232 Binary files /dev/null and b/deepin-wine32-tools_2.18-12_i386/usr/share/man/man1/deepin-winegcc32.1.gz differ diff --git a/deepin-wine32_2.18-12_i386.deb b/deepin-wine32_2.18-12_i386.deb new file mode 100644 index 0000000..f3aa2d1 Binary files /dev/null and b/deepin-wine32_2.18-12_i386.deb differ diff --git a/deepin-wine32_2.18-12_i386/DEBIAN/control b/deepin-wine32_2.18-12_i386/DEBIAN/control new file mode 100644 index 0000000..be78227 --- /dev/null +++ b/deepin-wine32_2.18-12_i386/DEBIAN/control @@ -0,0 +1,20 @@ +Package: deepin-wine32 +Source: deepin-wine +Version: 2.18-12 +Architecture: i386 +Maintainer: Debian Wine Party +Installed-Size: 106 +Depends: deepin-libwine (= 2.18-12), libc6 (>= 2.3.6-6~), x11-utils, libgl1-mesa-dri, libasound2-plugins +Recommends: deepin-wine (= 2.18-12), libwine-gecko-2.40 +Suggests: deepin-wine32-preloader (= 2.18-12) +Breaks: deepin-wine (<< 1.7.50-3~), wine32deepin--preloader (<< 1.7.51-2~) +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: otherosfs +Priority: optional +Multi-Arch: foreign +Homepage: http://www.winehq.org/ +Description: Windows API implementation - 32-bit binary loader + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides the binary loader for 32-bit Windows applications. diff --git a/deepin-wine32_2.18-12_i386/DEBIAN/md5sums b/deepin-wine32_2.18-12_i386/DEBIAN/md5sums new file mode 100644 index 0000000..b561c56 --- /dev/null +++ b/deepin-wine32_2.18-12_i386/DEBIAN/md5sums @@ -0,0 +1,6 @@ +c87dae0ad066ffe6c7ad5bf07f06fd5a usr/lib/deepin-wine/wine +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine32/control +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine32/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-wine32/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine32/copyright +76f074c1b6a2db9628bd5ff4da8f645f usr/share/lintian/overrides/deepin-wine32 diff --git a/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine b/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine new file mode 100755 index 0000000..3cc26c9 Binary files /dev/null and b/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine differ diff --git a/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine32 b/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine32 new file mode 120000 index 0000000..cd7cb08 --- /dev/null +++ b/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine32 @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine32_2.18-12_i386/usr/lib/deepin-wine/wine \ No newline at end of file diff --git a/deepin-wine32_2.18-12_i386/usr/share/bug/deepin-wine32/control b/deepin-wine32_2.18-12_i386/usr/share/bug/deepin-wine32/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-wine32_2.18-12_i386/usr/share/bug/deepin-wine32/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/changelog.Debian.gz b/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/changelog.Debian.gz differ diff --git a/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/changelog.gz b/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/changelog.gz differ diff --git a/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/copyright b/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-wine32_2.18-12_i386/usr/share/doc/deepin-wine32/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-wine32_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32 b/deepin-wine32_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32 new file mode 100644 index 0000000..8b7b28c --- /dev/null +++ b/deepin-wine32_2.18-12_i386/usr/share/lintian/overrides/deepin-wine32 @@ -0,0 +1,2 @@ +# unfortunately wine doesn't doesn't do fortify hardening +hardening-no-fortify-functions diff --git a/deepin-wine_2.18-12_all.deb b/deepin-wine_2.18-12_all.deb new file mode 100644 index 0000000..f8eb311 Binary files /dev/null and b/deepin-wine_2.18-12_all.deb differ diff --git a/deepin-wine_2.18-12_all/DEBIAN/control b/deepin-wine_2.18-12_all/DEBIAN/control new file mode 100644 index 0000000..8b880cc --- /dev/null +++ b/deepin-wine_2.18-12_all/DEBIAN/control @@ -0,0 +1,17 @@ +Package: deepin-wine +Version: 2.18-12 +Architecture: all +Maintainer: Debian Wine Party +Installed-Size: 131 +Depends: deepin-wine64 (>= 2.18-12) | deepin-wine32 (>= 2.18-12), deepin-wine64 (<< 2.18-12.1~) | deepin-wine32 (<< 2.18-12.1~) +Suggests: deepin-wine-binfmt, dosbox (>= 0.74-4.2~) +Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1) +Section: otherosfs +Priority: optional +Multi-Arch: foreign +Homepage: http://www.winehq.org/ +Description: Windows API implementation - standard suite + Wine is a free MS-Windows API implementation. + This is still a work in progress and many applications may still not work. + . + This package provides convenience tools for the standard Wine components. diff --git a/deepin-wine_2.18-12_all/DEBIAN/md5sums b/deepin-wine_2.18-12_all/DEBIAN/md5sums new file mode 100644 index 0000000..f04eb70 --- /dev/null +++ b/deepin-wine_2.18-12_all/DEBIAN/md5sums @@ -0,0 +1,19 @@ +5c82d4f02c2e9dfdc88cd2ac36d42d95 lib/udev/rules.d/ukeys.rules +dae6d6f23e70a83ca249caf6bd379b60 usr/bin/deepin-wine +64d0727f144ecb8a8662cdbfe9753491 usr/lib/deepin-wine/wineapploader +0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine/control +615e80bb4c4f9bddb5003dac588c5476 usr/share/doc/deepin-wine/README.Debian +f65e2155d3f30712a529a19687f9c059 usr/share/doc/deepin-wine/README.winedbg.gz +ee9ca81d39a985fcb76ee80c14068826 usr/share/doc/deepin-wine/TODO.Debian +fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine/changelog.Debian.gz +eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-wine/changelog.gz +b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine/copyright +7be430d537356c9e25b377d1de6af784 usr/share/man/man1/deepin-msiexec.1.gz +f3f554a208aecf6daee7ee4a461cd94e usr/share/man/man1/deepin-regedit.1.gz +0f882db8289dd17889a50844b2a328f4 usr/share/man/man1/deepin-regsvr32.1.gz +03e41ee1cddf4e3ecced93dc92ef25cb usr/share/man/man1/deepin-wine.1.gz +43c53db41e841bed2c3ad55d56530c8b usr/share/man/man1/deepin-wineboot.1.gz +412431d7ad64e663b631c61c7f132422 usr/share/man/man1/deepin-winecfg.1.gz +df58b8d4701702b157d20db93b7dc729 usr/share/man/man1/deepin-wineconsole.1.gz +5401af5224eb3db170e4ab4881b50d61 usr/share/man/man1/deepin-winedbg.1.gz +60ead946a5c164c3085050bb32e3dde3 usr/share/man/man1/deepin-winefile.1.gz diff --git a/deepin-wine_2.18-12_all/lib/udev/rules.d/ukeys.rules b/deepin-wine_2.18-12_all/lib/udev/rules.d/ukeys.rules new file mode 100644 index 0000000..f9081e1 --- /dev/null +++ b/deepin-wine_2.18-12_all/lib/udev/rules.d/ukeys.rules @@ -0,0 +1,2 @@ +SUBSYSTEM=="usb", MODE="0666" +SUBSYSTEM=="tty", MODE="0666" diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-msiexec b/deepin-wine_2.18-12_all/usr/bin/deepin-msiexec new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-msiexec @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-regedit b/deepin-wine_2.18-12_all/usr/bin/deepin-regedit new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-regedit @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-regsvr32 b/deepin-wine_2.18-12_all/usr/bin/deepin-regsvr32 new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-regsvr32 @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-wine b/deepin-wine_2.18-12_all/usr/bin/deepin-wine new file mode 100755 index 0000000..eb929a9 --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-wine @@ -0,0 +1,45 @@ +#!/bin/sh -e + +name=$(basename $0) +bindir=/usr/lib/$name + +wine32=$bindir/wine +wine64=$bindir/wine64 + +if test -x $wine32 -a "$WINEARCH" != "win64"; then + wine=$wine32 +elif test -x $wine64; then + wine=$wine64 + if [ "$(dpkg --print-architecture)" = "amd64" -a "$(dpkg --print-foreign-architectures | grep -cx "i386")" -ne 1 ]; then + echo "it looks like multiarch needs to be enabled. as root, please" + echo "execute \"dpkg --add-architecture i386 && apt-get update &&" + echo "apt-get install $(echo $name | sed s/wine/wine32/)\"" + fi +else + echo "error: unable to find wine executable. this shouldn't happen." + exit 1 +fi + +if test -z "$WINEPREFIX"; then + if test "$wine" = "$wine64"; then + wineprefix=$HOME/.wine64 + else + wineprefix=$HOME/.wine + fi +else + wineprefix=$WINEPREFIX +fi + +if test -z "$WINELOADER"; then + wineloader=$wine +else + wineloader=$WINELOADER +fi + +if test -z "$WINEDEBUG"; then + winedebug=-all +else + winedebug=$WINEDEBUG +fi + +WINEPREFIX=$wineprefix WINELOADER=$wineloader WINEDEBUG=$winedebug $wine "$@" diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-wineboot b/deepin-wine_2.18-12_all/usr/bin/deepin-wineboot new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-wineboot @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-winecfg b/deepin-wine_2.18-12_all/usr/bin/deepin-winecfg new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-winecfg @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-wineconsole b/deepin-wine_2.18-12_all/usr/bin/deepin-wineconsole new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-wineconsole @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-winedbg b/deepin-wine_2.18-12_all/usr/bin/deepin-winedbg new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-winedbg @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/bin/deepin-winefile b/deepin-wine_2.18-12_all/usr/bin/deepin-winefile new file mode 120000 index 0000000..c7d169a --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/bin/deepin-winefile @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader \ No newline at end of file diff --git a/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader b/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader new file mode 100755 index 0000000..6924cce --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/lib/deepin-wine/wineapploader @@ -0,0 +1,64 @@ +#!/bin/sh +# +# Wrapper script to start a Winelib application once it is installed +# +# Copyright (C) 2002 Alexandre Julliard +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +# + +# determine the app Winelib library name +appname=`basename "$0" .exe`.exe + +# first try explicit WINELOADER +if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi + +# now try the directory containing $0 +appdir="" +case "$0" in + */*) + # $0 contains a path, use it + appdir=`dirname "$0"` + ;; + *) + # no directory in $0, search in PATH + saved_ifs=$IFS + IFS=: + for d in $PATH + do + IFS=$saved_ifs + if [ -x "$d/$0" ]; then appdir="$d"; break; fi + done + ;; +esac +if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi +if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi + +# now look in PATH +saved_ifs=$IFS +IFS=: +for d in $PATH +do + IFS=$saved_ifs + if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi + if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi +done + +# finally, the default bin directory +if [ -x "/usr/lib/i386-linux-gnu/deepin-wine/wine" ]; then exec "/usr/lib/i386-linux-gnu/deepin-wine/wine" "$appname" "$@"; fi +if [ -x "/usr/lib/i386-linux-gnu/deepin-wine/wine64" ]; then exec "/usr/lib/i386-linux-gnu/deepin-wine/wine64" "$appname" "$@"; fi + +echo "$0: the Wine loader is missing" +exit 1 diff --git a/deepin-wine_2.18-12_all/usr/share/bug/deepin-wine/control b/deepin-wine_2.18-12_all/usr/share/bug/deepin-wine/control new file mode 100644 index 0000000..8732652 --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/share/bug/deepin-wine/control @@ -0,0 +1 @@ +package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg diff --git a/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/README.Debian b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/README.Debian new file mode 100644 index 0000000..d645aa5 --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/README.Debian @@ -0,0 +1,100 @@ +Resources +========= + +If you have any problems, the Wine Troubleshooting Guide is often very useful: +http://www.winehq.com/Trouble + +The Wine FAQ may also be informative: +http://www.winehq.com/FAQ + +Detailed documentation about Wine and it's internals are available in the +various User Guides and manpages: +http://www.winehq.org/documentation + +For resources related to Debian wine packaging, please visit: +http://pkg-wine.alioth.debian.org + +To participate in development and/or discussion about the Debian packages, +please subscribe to the pkg-wine-party mailing list: +http://lists.alioth.debian.org/mailman/listinfo/pkg-wine-party + +The Debian package repository can also be checked out with git: +$ git clone git://anonscm.debian.org/pkg-wine/wine.git + +Or viewed online at: +http://anonscm.debian.org/gitweb/?p=pkg-wine/wine.git + +Debugging +========= + +Debugging information is no longer output by default. If you are interested in +more verbose debugging output, you can set the WINEDEBUG environment variable. + +Examples: +$ WINEDEBUG=all wine +$ WINEDEBUG=all wine-development + +If you always want verbose information, you can include an +"export WINEDEBUG=all" line in your ~/.bashrc file. + +Old Versions +============ + +If you want to install a previous version of Wine, you should be able to fetch +prior Debian versions from: +http://snapshot.debian.org/package/wine +http://snapshot.debian.org/package/wine-development + +You can also use debsnap from the devscripts package, for example: +$ debsnap -v -d . wine 1.6.1-1 +$ debsnap -v -d . wine-development 1.7.24-3 + +debsnap fetches source packages by default, which you will then need to build +(see debuild). debsnap also lets you fetch the binary packages with the +"-a " option and then specifying each of the binary packages. + +Configuration +============= +Usually everything is automatically configured, but for fine-tuning a good tool +is winecfg or winecfg-development. + +If you need to set up Wine manually, without winecfg, you can force the +creation of a ~/.wine directory by running: +$ wineboot + +If something goes horribly wrong, you can always completely wipe your Wine +setup with "rm -rf ~/.wine". This will destroy everything you've installed, +including configuration and data files, so if you have anything important, +please back it up first. You can then start fresh. + +Wine Gecko +========== +The downloader for Wine Gecko is intentionally disabled in the Debian packages. +Instead libwine-gecko-* packages are available in the official Debian archives, +which provide Wine Gecko support. + +Information about which Wine Gecko should be associated with any particular +wine version is available at: +http://wiki.winehq.org/Gecko + +If the right libwine-gecko-*.deb package is not currently available, you can +manually extract an associated upstream WineGecko tarball to +/usr/share/wine-development/gecko. Or preferably, please provide help building +the new Debian libwine-gecko-* package that is needed. + +Automatically Launching Windows Executables +=========================================== + +You can configure wine to automatically launch Windows executables from +the command line, for example: + +$ notepad.exe + +To configure backend support for that, you'll need to install the +wine-binfmt package first and then execute: + +$ sudo update-binfmts --import wine + +This change increases the risk of inadvertently launching Windows +malware, so please make sure that you understand the security risks +before blindly setting this up. diff --git a/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/README.winedbg.gz b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/README.winedbg.gz new file mode 100644 index 0000000..1958692 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/README.winedbg.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/TODO.Debian b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/TODO.Debian new file mode 100644 index 0000000..4bf7e91 --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/TODO.Debian @@ -0,0 +1 @@ +finish update to tools/make_unicode diff --git a/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/changelog.Debian.gz b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/changelog.Debian.gz new file mode 100644 index 0000000..ff3d1ee Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/changelog.Debian.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/changelog.gz b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/changelog.gz new file mode 100644 index 0000000..e89992f Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/changelog.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/copyright b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/copyright new file mode 100644 index 0000000..b5c8132 --- /dev/null +++ b/deepin-wine_2.18-12_all/usr/share/doc/deepin-wine/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Source: http://www.winehq.org +Files-Excluded: + configure + tools/config.* + include/config.h.in + include/wine/wgl* + include/wine/server_protocol.h + loader/l_intl.nls + libs/wine/wctype.c + libs/wine/casemap.c + libs/wine/compose.c + dlls/dsound/fir.h + dlls/*/tests/generated.c + dlls/dwrite/bracket.c + dlls/dwrite/linebreak.c + dlls/dwrite/mirror.c + dlls/dwrite/scripts.c + dlls/dwrite/scripts.h + dlls/usp10/bracket.c + dlls/usp10/indicsyllable.c + dlls/usp10/linebreak.c + dlls/usp10/mirror.c + dlls/usp10/shaping.c + dlls/kernel32/nameprep.c + dlls/opengl32/opengl_ext.c + dlls/opengl32/opengl_norm.c + dlls/opengl32/opengl32.spec + +Files: * +Copyright: + Copyright (c) 1993-2015 Wine project authors (see AUTHORS file) +License: LGPL-2.1+ + +Files: debian/* +Copyright: + Copyright (c) 2014-2015 Stephen Kitt + Copyright (c) 2012-2015 Michael Gilbert +License: LGPL-2.1+ + +Files: debian/rfc3454.txt +Copyright: + Non-copyrightable data +License: Public-Domain + +Files: debian/scripts/import* +Copyright: + Copyright (c) Ove Kåven +License: LGPL-2.1+ + +License: LGPL-2.1+ + See /usr/share/common-licenses/LGPL-2.1. diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-msiexec.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-msiexec.1.gz new file mode 100644 index 0000000..65393b0 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-msiexec.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-regedit.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-regedit.1.gz new file mode 100644 index 0000000..7832d80 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-regedit.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-regsvr32.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-regsvr32.1.gz new file mode 100644 index 0000000..060c239 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-regsvr32.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wine.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wine.1.gz new file mode 100644 index 0000000..0f806a0 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wine.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wineboot.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wineboot.1.gz new file mode 100644 index 0000000..fbe4fbb Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wineboot.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winecfg.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winecfg.1.gz new file mode 100644 index 0000000..c73404e Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winecfg.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wineconsole.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wineconsole.1.gz new file mode 100644 index 0000000..2224664 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-wineconsole.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winedbg.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winedbg.1.gz new file mode 100644 index 0000000..1565630 Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winedbg.1.gz differ diff --git a/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winefile.1.gz b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winefile.1.gz new file mode 100644 index 0000000..166915f Binary files /dev/null and b/deepin-wine_2.18-12_all/usr/share/man/man1/deepin-winefile.1.gz differ diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..12006fd --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd `dirname $0`; pwd +sudo apt update +echo '即将开始安装...' +sudo dpkg -i *.deb +echo '安装完成,正在自动安装依赖...' +sudo apt install -f + + diff --git a/udis86_1.72-2_i386.deb b/udis86_1.72-2_i386.deb new file mode 100644 index 0000000..4e1add1 Binary files /dev/null and b/udis86_1.72-2_i386.deb differ diff --git a/udis86_1.72-2_i386/DEBIAN/control b/udis86_1.72-2_i386/DEBIAN/control new file mode 100644 index 0000000..f2e0433 --- /dev/null +++ b/udis86_1.72-2_i386/DEBIAN/control @@ -0,0 +1,10 @@ +Package: udis86 +Version: 1.72-2 +Architecture: i386 +Maintainer: Deepin Packages Builder +Installed-Size: 418 +Depends: libc6 (>= 2.7) +Section: utils +Priority: optional +Homepage: http://udis86.sourceforge.net/ +Description: Disassembler Library for x86 and x86-64 diff --git a/udis86_1.72-2_i386/DEBIAN/md5sums b/udis86_1.72-2_i386/DEBIAN/md5sums new file mode 100644 index 0000000..748e02b --- /dev/null +++ b/udis86_1.72-2_i386/DEBIAN/md5sums @@ -0,0 +1,13 @@ +ab77907e65a41fc231ba79707ab84bf9 usr/local/bin/udcli +fa5f168d9ff8408748abb3707f8f53b9 usr/local/include/libudis86/extern.h +2a45cab320db3521ac36fe3ff67c0841 usr/local/include/libudis86/itab.h +06d0d616b8c9becd33393b8a235127af usr/local/include/libudis86/types.h +ce8c555c9a93a8a5968cbe5050cab32e usr/local/include/udis86.h +50201cd6fb639c618a733231ad04b32f usr/local/lib/libudis86.la +66b61448a4acbbc35770d4288ddeb3ea usr/local/lib/libudis86.so.0.0.0 +1a69dd93992070399d3598efaca40d18 usr/local/share/doc/udis86/x86/optable.xml +4b385dadca12b0f9b89e607350e5b231 usr/local/share/doc/udis86/x86/optable.xsl +66a254982c8974e4228ac9056aeb8ea2 usr/share/doc/udis86/README.Debian +349d8a19369658564a07d76192295190 usr/share/doc/udis86/changelog.Debian.gz +2fb88508fcc3b333e1ec274c687fa246 usr/share/doc/udis86/changelog.gz +760d1910f91665dac0e4672c40fdc41e usr/share/doc/udis86/copyright diff --git a/udis86_1.72-2_i386/DEBIAN/shlibs b/udis86_1.72-2_i386/DEBIAN/shlibs new file mode 100644 index 0000000..8ed0fa9 --- /dev/null +++ b/udis86_1.72-2_i386/DEBIAN/shlibs @@ -0,0 +1 @@ +libudis86 0 udis86 diff --git a/udis86_1.72-2_i386/DEBIAN/triggers b/udis86_1.72-2_i386/DEBIAN/triggers new file mode 100644 index 0000000..884a015 --- /dev/null +++ b/udis86_1.72-2_i386/DEBIAN/triggers @@ -0,0 +1,2 @@ +# Triggers added by dh_makeshlibs +activate-noawait ldconfig diff --git a/udis86_1.72-2_i386/usr/bin/udcli b/udis86_1.72-2_i386/usr/bin/udcli new file mode 100755 index 0000000..d4a5525 Binary files /dev/null and b/udis86_1.72-2_i386/usr/bin/udcli differ diff --git a/udis86_1.72-2_i386/usr/include/libudis86/extern.h b/udis86_1.72-2_i386/usr/include/libudis86/extern.h new file mode 100644 index 0000000..71a01fd --- /dev/null +++ b/udis86_1.72-2_i386/usr/include/libudis86/extern.h @@ -0,0 +1,113 @@ +/* udis86 - libudis86/extern.h + * + * Copyright (c) 2002-2009, 2013 Vivek Thampi + * All rights reserved. + * + * 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. + * + * 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. + */ +#ifndef UD_EXTERN_H +#define UD_EXTERN_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "types.h" + +#if defined(_MSC_VER) && defined(_USRDLL) +# ifdef LIBUDIS86_EXPORTS +# define LIBUDIS86_DLLEXTERN __declspec(dllexport) +# else +# define LIBUDIS86_DLLEXTERN __declspec(dllimport) +# endif +#else +# define LIBUDIS86_DLLEXTERN +#endif + +/* ============================= PUBLIC API ================================= */ + +extern LIBUDIS86_DLLEXTERN void ud_init(struct ud*); + +extern LIBUDIS86_DLLEXTERN void ud_set_mode(struct ud*, uint8_t); + +extern LIBUDIS86_DLLEXTERN void ud_set_pc(struct ud*, uint64_t); + +extern LIBUDIS86_DLLEXTERN void ud_set_input_hook(struct ud*, int (*)(struct ud*)); + +extern LIBUDIS86_DLLEXTERN void ud_set_input_buffer(struct ud*, const uint8_t*, size_t); + +#ifndef __UD_STANDALONE__ +extern LIBUDIS86_DLLEXTERN void ud_set_input_file(struct ud*, FILE*); +#endif /* __UD_STANDALONE__ */ + +extern LIBUDIS86_DLLEXTERN void ud_set_vendor(struct ud*, unsigned); + +extern LIBUDIS86_DLLEXTERN void ud_set_syntax(struct ud*, void (*)(struct ud*)); + +extern LIBUDIS86_DLLEXTERN void ud_input_skip(struct ud*, size_t); + +extern LIBUDIS86_DLLEXTERN int ud_input_end(const struct ud*); + +extern LIBUDIS86_DLLEXTERN unsigned int ud_decode(struct ud*); + +extern LIBUDIS86_DLLEXTERN unsigned int ud_disassemble(struct ud*); + +extern LIBUDIS86_DLLEXTERN void ud_translate_intel(struct ud*); + +extern LIBUDIS86_DLLEXTERN void ud_translate_att(struct ud*); + +extern LIBUDIS86_DLLEXTERN const char* ud_insn_asm(const struct ud* u); + +extern LIBUDIS86_DLLEXTERN const uint8_t* ud_insn_ptr(const struct ud* u); + +extern LIBUDIS86_DLLEXTERN uint64_t ud_insn_off(const struct ud*); + +extern LIBUDIS86_DLLEXTERN const char* ud_insn_hex(struct ud*); + +extern LIBUDIS86_DLLEXTERN unsigned int ud_insn_len(const struct ud* u); + +extern LIBUDIS86_DLLEXTERN const struct ud_operand* ud_insn_opr(const struct ud *u, unsigned int n); + +extern LIBUDIS86_DLLEXTERN int ud_opr_is_sreg(const struct ud_operand *opr); + +extern LIBUDIS86_DLLEXTERN int ud_opr_is_gpr(const struct ud_operand *opr); + +extern LIBUDIS86_DLLEXTERN enum ud_mnemonic_code ud_insn_mnemonic(const struct ud *u); + +extern LIBUDIS86_DLLEXTERN const char* ud_lookup_mnemonic(enum ud_mnemonic_code c); + +extern LIBUDIS86_DLLEXTERN void ud_set_user_opaque_data(struct ud*, void*); + +extern LIBUDIS86_DLLEXTERN void* ud_get_user_opaque_data(const struct ud*); + +extern LIBUDIS86_DLLEXTERN void ud_set_asm_buffer(struct ud *u, char *buf, size_t size); + +extern LIBUDIS86_DLLEXTERN void ud_set_sym_resolver(struct ud *u, + const char* (*resolver)(struct ud*, + uint64_t addr, + int64_t *offset)); + +/* ========================================================================== */ + +#ifdef __cplusplus +} +#endif +#endif /* UD_EXTERN_H */ diff --git a/udis86_1.72-2_i386/usr/include/libudis86/itab.h b/udis86_1.72-2_i386/usr/include/libudis86/itab.h new file mode 100644 index 0000000..3d54c43 --- /dev/null +++ b/udis86_1.72-2_i386/usr/include/libudis86/itab.h @@ -0,0 +1,939 @@ +#ifndef UD_ITAB_H +#define UD_ITAB_H + +/* itab.h -- generated by udis86:scripts/ud_itab.py, do no edit */ + +/* ud_table_type -- lookup table types (see decode.c) */ +enum ud_table_type { + UD_TAB__OPC_VEX, + UD_TAB__OPC_TABLE, + UD_TAB__OPC_X87, + UD_TAB__OPC_MOD, + UD_TAB__OPC_RM, + UD_TAB__OPC_OSIZE, + UD_TAB__OPC_MODE, + UD_TAB__OPC_VEX_L, + UD_TAB__OPC_3DNOW, + UD_TAB__OPC_REG, + UD_TAB__OPC_ASIZE, + UD_TAB__OPC_VEX_W, + UD_TAB__OPC_SSE, + UD_TAB__OPC_VENDOR +}; + +/* ud_mnemonic -- mnemonic constants */ +enum ud_mnemonic_code { + UD_Iaaa, + UD_Iaad, + UD_Iaam, + UD_Iaas, + UD_Iadc, + UD_Iadd, + UD_Iaddpd, + UD_Iaddps, + UD_Iaddsd, + UD_Iaddss, + UD_Iaddsubpd, + UD_Iaddsubps, + UD_Iaesdec, + UD_Iaesdeclast, + UD_Iaesenc, + UD_Iaesenclast, + UD_Iaesimc, + UD_Iaeskeygenassist, + UD_Iand, + UD_Iandnpd, + UD_Iandnps, + UD_Iandpd, + UD_Iandps, + UD_Iarpl, + UD_Iblendpd, + UD_Iblendps, + UD_Iblendvpd, + UD_Iblendvps, + UD_Ibound, + UD_Ibsf, + UD_Ibsr, + UD_Ibswap, + UD_Ibt, + UD_Ibtc, + UD_Ibtr, + UD_Ibts, + UD_Icall, + UD_Icbw, + UD_Icdq, + UD_Icdqe, + UD_Iclc, + UD_Icld, + UD_Iclflush, + UD_Iclgi, + UD_Icli, + UD_Iclts, + UD_Icmc, + UD_Icmova, + UD_Icmovae, + UD_Icmovb, + UD_Icmovbe, + UD_Icmovg, + UD_Icmovge, + UD_Icmovl, + UD_Icmovle, + UD_Icmovno, + UD_Icmovnp, + UD_Icmovns, + UD_Icmovnz, + UD_Icmovo, + UD_Icmovp, + UD_Icmovs, + UD_Icmovz, + UD_Icmp, + UD_Icmppd, + UD_Icmpps, + UD_Icmpsb, + UD_Icmpsd, + UD_Icmpsq, + UD_Icmpss, + UD_Icmpsw, + UD_Icmpxchg, + UD_Icmpxchg16b, + UD_Icmpxchg8b, + UD_Icomisd, + UD_Icomiss, + UD_Icpuid, + UD_Icqo, + UD_Icrc32, + UD_Icvtdq2pd, + UD_Icvtdq2ps, + UD_Icvtpd2dq, + UD_Icvtpd2pi, + UD_Icvtpd2ps, + UD_Icvtpi2pd, + UD_Icvtpi2ps, + UD_Icvtps2dq, + UD_Icvtps2pd, + UD_Icvtps2pi, + UD_Icvtsd2si, + UD_Icvtsd2ss, + UD_Icvtsi2sd, + UD_Icvtsi2ss, + UD_Icvtss2sd, + UD_Icvtss2si, + UD_Icvttpd2dq, + UD_Icvttpd2pi, + UD_Icvttps2dq, + UD_Icvttps2pi, + UD_Icvttsd2si, + UD_Icvttss2si, + UD_Icwd, + UD_Icwde, + UD_Idaa, + UD_Idas, + UD_Idec, + UD_Idiv, + UD_Idivpd, + UD_Idivps, + UD_Idivsd, + UD_Idivss, + UD_Idppd, + UD_Idpps, + UD_Iemms, + UD_Ienter, + UD_Iextractps, + UD_If2xm1, + UD_Ifabs, + UD_Ifadd, + UD_Ifaddp, + UD_Ifbld, + UD_Ifbstp, + UD_Ifchs, + UD_Ifclex, + UD_Ifcmovb, + UD_Ifcmovbe, + UD_Ifcmove, + UD_Ifcmovnb, + UD_Ifcmovnbe, + UD_Ifcmovne, + UD_Ifcmovnu, + UD_Ifcmovu, + UD_Ifcom, + UD_Ifcom2, + UD_Ifcomi, + UD_Ifcomip, + UD_Ifcomp, + UD_Ifcomp3, + UD_Ifcomp5, + UD_Ifcompp, + UD_Ifcos, + UD_Ifdecstp, + UD_Ifdiv, + UD_Ifdivp, + UD_Ifdivr, + UD_Ifdivrp, + UD_Ifemms, + UD_Iffree, + UD_Iffreep, + UD_Ifiadd, + UD_Ificom, + UD_Ificomp, + UD_Ifidiv, + UD_Ifidivr, + UD_Ifild, + UD_Ifimul, + UD_Ifincstp, + UD_Ifist, + UD_Ifistp, + UD_Ifisttp, + UD_Ifisub, + UD_Ifisubr, + UD_Ifld, + UD_Ifld1, + UD_Ifldcw, + UD_Ifldenv, + UD_Ifldl2e, + UD_Ifldl2t, + UD_Ifldlg2, + UD_Ifldln2, + UD_Ifldpi, + UD_Ifldz, + UD_Ifmul, + UD_Ifmulp, + UD_Ifndisi, + UD_Ifneni, + UD_Ifninit, + UD_Ifnop, + UD_Ifnsave, + UD_Ifnsetpm, + UD_Ifnstcw, + UD_Ifnstenv, + UD_Ifnstsw, + UD_Ifpatan, + UD_Ifprem, + UD_Ifprem1, + UD_Ifptan, + UD_Ifrndint, + UD_Ifrstor, + UD_Ifrstpm, + UD_Ifscale, + UD_Ifsin, + UD_Ifsincos, + UD_Ifsqrt, + UD_Ifst, + UD_Ifstp, + UD_Ifstp1, + UD_Ifstp8, + UD_Ifstp9, + UD_Ifsub, + UD_Ifsubp, + UD_Ifsubr, + UD_Ifsubrp, + UD_Iftst, + UD_Ifucom, + UD_Ifucomi, + UD_Ifucomip, + UD_Ifucomp, + UD_Ifucompp, + UD_Ifxam, + UD_Ifxch, + UD_Ifxch4, + UD_Ifxch7, + UD_Ifxrstor, + UD_Ifxsave, + UD_Ifxtract, + UD_Ifyl2x, + UD_Ifyl2xp1, + UD_Igetsec, + UD_Ihaddpd, + UD_Ihaddps, + UD_Ihlt, + UD_Ihsubpd, + UD_Ihsubps, + UD_Iidiv, + UD_Iimul, + UD_Iin, + UD_Iinc, + UD_Iinsb, + UD_Iinsd, + UD_Iinsertps, + UD_Iinsw, + UD_Iint, + UD_Iint1, + UD_Iint3, + UD_Iinto, + UD_Iinvd, + UD_Iinvept, + UD_Iinvlpg, + UD_Iinvlpga, + UD_Iinvvpid, + UD_Iiretd, + UD_Iiretq, + UD_Iiretw, + UD_Ija, + UD_Ijae, + UD_Ijb, + UD_Ijbe, + UD_Ijcxz, + UD_Ijecxz, + UD_Ijg, + UD_Ijge, + UD_Ijl, + UD_Ijle, + UD_Ijmp, + UD_Ijno, + UD_Ijnp, + UD_Ijns, + UD_Ijnz, + UD_Ijo, + UD_Ijp, + UD_Ijrcxz, + UD_Ijs, + UD_Ijz, + UD_Ilahf, + UD_Ilar, + UD_Ilddqu, + UD_Ildmxcsr, + UD_Ilds, + UD_Ilea, + UD_Ileave, + UD_Iles, + UD_Ilfence, + UD_Ilfs, + UD_Ilgdt, + UD_Ilgs, + UD_Ilidt, + UD_Illdt, + UD_Ilmsw, + UD_Ilock, + UD_Ilodsb, + UD_Ilodsd, + UD_Ilodsq, + UD_Ilodsw, + UD_Iloop, + UD_Iloope, + UD_Iloopne, + UD_Ilsl, + UD_Ilss, + UD_Iltr, + UD_Imaskmovdqu, + UD_Imaskmovq, + UD_Imaxpd, + UD_Imaxps, + UD_Imaxsd, + UD_Imaxss, + UD_Imfence, + UD_Iminpd, + UD_Iminps, + UD_Iminsd, + UD_Iminss, + UD_Imonitor, + UD_Imontmul, + UD_Imov, + UD_Imovapd, + UD_Imovaps, + UD_Imovbe, + UD_Imovd, + UD_Imovddup, + UD_Imovdq2q, + UD_Imovdqa, + UD_Imovdqu, + UD_Imovhlps, + UD_Imovhpd, + UD_Imovhps, + UD_Imovlhps, + UD_Imovlpd, + UD_Imovlps, + UD_Imovmskpd, + UD_Imovmskps, + UD_Imovntdq, + UD_Imovntdqa, + UD_Imovnti, + UD_Imovntpd, + UD_Imovntps, + UD_Imovntq, + UD_Imovq, + UD_Imovq2dq, + UD_Imovsb, + UD_Imovsd, + UD_Imovshdup, + UD_Imovsldup, + UD_Imovsq, + UD_Imovss, + UD_Imovsw, + UD_Imovsx, + UD_Imovsxd, + UD_Imovupd, + UD_Imovups, + UD_Imovzx, + UD_Impsadbw, + UD_Imul, + UD_Imulpd, + UD_Imulps, + UD_Imulsd, + UD_Imulss, + UD_Imwait, + UD_Ineg, + UD_Inop, + UD_Inot, + UD_Ior, + UD_Iorpd, + UD_Iorps, + UD_Iout, + UD_Ioutsb, + UD_Ioutsd, + UD_Ioutsw, + UD_Ipabsb, + UD_Ipabsd, + UD_Ipabsw, + UD_Ipackssdw, + UD_Ipacksswb, + UD_Ipackusdw, + UD_Ipackuswb, + UD_Ipaddb, + UD_Ipaddd, + UD_Ipaddq, + UD_Ipaddsb, + UD_Ipaddsw, + UD_Ipaddusb, + UD_Ipaddusw, + UD_Ipaddw, + UD_Ipalignr, + UD_Ipand, + UD_Ipandn, + UD_Ipavgb, + UD_Ipavgusb, + UD_Ipavgw, + UD_Ipblendvb, + UD_Ipblendw, + UD_Ipclmulqdq, + UD_Ipcmpeqb, + UD_Ipcmpeqd, + UD_Ipcmpeqq, + UD_Ipcmpeqw, + UD_Ipcmpestri, + UD_Ipcmpestrm, + UD_Ipcmpgtb, + UD_Ipcmpgtd, + UD_Ipcmpgtq, + UD_Ipcmpgtw, + UD_Ipcmpistri, + UD_Ipcmpistrm, + UD_Ipextrb, + UD_Ipextrd, + UD_Ipextrq, + UD_Ipextrw, + UD_Ipf2id, + UD_Ipf2iw, + UD_Ipfacc, + UD_Ipfadd, + UD_Ipfcmpeq, + UD_Ipfcmpge, + UD_Ipfcmpgt, + UD_Ipfmax, + UD_Ipfmin, + UD_Ipfmul, + UD_Ipfnacc, + UD_Ipfpnacc, + UD_Ipfrcp, + UD_Ipfrcpit1, + UD_Ipfrcpit2, + UD_Ipfrsqit1, + UD_Ipfrsqrt, + UD_Ipfsub, + UD_Ipfsubr, + UD_Iphaddd, + UD_Iphaddsw, + UD_Iphaddw, + UD_Iphminposuw, + UD_Iphsubd, + UD_Iphsubsw, + UD_Iphsubw, + UD_Ipi2fd, + UD_Ipi2fw, + UD_Ipinsrb, + UD_Ipinsrd, + UD_Ipinsrq, + UD_Ipinsrw, + UD_Ipmaddubsw, + UD_Ipmaddwd, + UD_Ipmaxsb, + UD_Ipmaxsd, + UD_Ipmaxsw, + UD_Ipmaxub, + UD_Ipmaxud, + UD_Ipmaxuw, + UD_Ipminsb, + UD_Ipminsd, + UD_Ipminsw, + UD_Ipminub, + UD_Ipminud, + UD_Ipminuw, + UD_Ipmovmskb, + UD_Ipmovsxbd, + UD_Ipmovsxbq, + UD_Ipmovsxbw, + UD_Ipmovsxdq, + UD_Ipmovsxwd, + UD_Ipmovsxwq, + UD_Ipmovzxbd, + UD_Ipmovzxbq, + UD_Ipmovzxbw, + UD_Ipmovzxdq, + UD_Ipmovzxwd, + UD_Ipmovzxwq, + UD_Ipmuldq, + UD_Ipmulhrsw, + UD_Ipmulhrw, + UD_Ipmulhuw, + UD_Ipmulhw, + UD_Ipmulld, + UD_Ipmullw, + UD_Ipmuludq, + UD_Ipop, + UD_Ipopa, + UD_Ipopad, + UD_Ipopcnt, + UD_Ipopfd, + UD_Ipopfq, + UD_Ipopfw, + UD_Ipor, + UD_Iprefetch, + UD_Iprefetchnta, + UD_Iprefetcht0, + UD_Iprefetcht1, + UD_Iprefetcht2, + UD_Ipsadbw, + UD_Ipshufb, + UD_Ipshufd, + UD_Ipshufhw, + UD_Ipshuflw, + UD_Ipshufw, + UD_Ipsignb, + UD_Ipsignd, + UD_Ipsignw, + UD_Ipslld, + UD_Ipslldq, + UD_Ipsllq, + UD_Ipsllw, + UD_Ipsrad, + UD_Ipsraw, + UD_Ipsrld, + UD_Ipsrldq, + UD_Ipsrlq, + UD_Ipsrlw, + UD_Ipsubb, + UD_Ipsubd, + UD_Ipsubq, + UD_Ipsubsb, + UD_Ipsubsw, + UD_Ipsubusb, + UD_Ipsubusw, + UD_Ipsubw, + UD_Ipswapd, + UD_Iptest, + UD_Ipunpckhbw, + UD_Ipunpckhdq, + UD_Ipunpckhqdq, + UD_Ipunpckhwd, + UD_Ipunpcklbw, + UD_Ipunpckldq, + UD_Ipunpcklqdq, + UD_Ipunpcklwd, + UD_Ipush, + UD_Ipusha, + UD_Ipushad, + UD_Ipushfd, + UD_Ipushfq, + UD_Ipushfw, + UD_Ipxor, + UD_Ircl, + UD_Ircpps, + UD_Ircpss, + UD_Ircr, + UD_Irdmsr, + UD_Irdpmc, + UD_Irdrand, + UD_Irdtsc, + UD_Irdtscp, + UD_Irep, + UD_Irepne, + UD_Iret, + UD_Iretf, + UD_Irol, + UD_Iror, + UD_Iroundpd, + UD_Iroundps, + UD_Iroundsd, + UD_Iroundss, + UD_Irsm, + UD_Irsqrtps, + UD_Irsqrtss, + UD_Isahf, + UD_Isalc, + UD_Isar, + UD_Isbb, + UD_Iscasb, + UD_Iscasd, + UD_Iscasq, + UD_Iscasw, + UD_Iseta, + UD_Isetae, + UD_Isetb, + UD_Isetbe, + UD_Isetg, + UD_Isetge, + UD_Isetl, + UD_Isetle, + UD_Isetno, + UD_Isetnp, + UD_Isetns, + UD_Isetnz, + UD_Iseto, + UD_Isetp, + UD_Isets, + UD_Isetz, + UD_Isfence, + UD_Isgdt, + UD_Ishl, + UD_Ishld, + UD_Ishr, + UD_Ishrd, + UD_Ishufpd, + UD_Ishufps, + UD_Isidt, + UD_Iskinit, + UD_Isldt, + UD_Ismsw, + UD_Isqrtpd, + UD_Isqrtps, + UD_Isqrtsd, + UD_Isqrtss, + UD_Istc, + UD_Istd, + UD_Istgi, + UD_Isti, + UD_Istmxcsr, + UD_Istosb, + UD_Istosd, + UD_Istosq, + UD_Istosw, + UD_Istr, + UD_Isub, + UD_Isubpd, + UD_Isubps, + UD_Isubsd, + UD_Isubss, + UD_Iswapgs, + UD_Isyscall, + UD_Isysenter, + UD_Isysexit, + UD_Isysret, + UD_Itest, + UD_Iucomisd, + UD_Iucomiss, + UD_Iud2, + UD_Iunpckhpd, + UD_Iunpckhps, + UD_Iunpcklpd, + UD_Iunpcklps, + UD_Ivaddpd, + UD_Ivaddps, + UD_Ivaddsd, + UD_Ivaddss, + UD_Ivaddsubpd, + UD_Ivaddsubps, + UD_Ivaesdec, + UD_Ivaesdeclast, + UD_Ivaesenc, + UD_Ivaesenclast, + UD_Ivaesimc, + UD_Ivaeskeygenassist, + UD_Ivandnpd, + UD_Ivandnps, + UD_Ivandpd, + UD_Ivandps, + UD_Ivblendpd, + UD_Ivblendps, + UD_Ivblendvpd, + UD_Ivblendvps, + UD_Ivbroadcastsd, + UD_Ivbroadcastss, + UD_Ivcmppd, + UD_Ivcmpps, + UD_Ivcmpsd, + UD_Ivcmpss, + UD_Ivcomisd, + UD_Ivcomiss, + UD_Ivcvtdq2pd, + UD_Ivcvtdq2ps, + UD_Ivcvtpd2dq, + UD_Ivcvtpd2ps, + UD_Ivcvtps2dq, + UD_Ivcvtps2pd, + UD_Ivcvtsd2si, + UD_Ivcvtsd2ss, + UD_Ivcvtsi2sd, + UD_Ivcvtsi2ss, + UD_Ivcvtss2sd, + UD_Ivcvtss2si, + UD_Ivcvttpd2dq, + UD_Ivcvttps2dq, + UD_Ivcvttsd2si, + UD_Ivcvttss2si, + UD_Ivdivpd, + UD_Ivdivps, + UD_Ivdivsd, + UD_Ivdivss, + UD_Ivdppd, + UD_Ivdpps, + UD_Iverr, + UD_Iverw, + UD_Ivextractf128, + UD_Ivextractps, + UD_Ivhaddpd, + UD_Ivhaddps, + UD_Ivhsubpd, + UD_Ivhsubps, + UD_Ivinsertf128, + UD_Ivinsertps, + UD_Ivlddqu, + UD_Ivmaskmovdqu, + UD_Ivmaskmovpd, + UD_Ivmaskmovps, + UD_Ivmaxpd, + UD_Ivmaxps, + UD_Ivmaxsd, + UD_Ivmaxss, + UD_Ivmcall, + UD_Ivmclear, + UD_Ivminpd, + UD_Ivminps, + UD_Ivminsd, + UD_Ivminss, + UD_Ivmlaunch, + UD_Ivmload, + UD_Ivmmcall, + UD_Ivmovapd, + UD_Ivmovaps, + UD_Ivmovd, + UD_Ivmovddup, + UD_Ivmovdqa, + UD_Ivmovdqu, + UD_Ivmovhlps, + UD_Ivmovhpd, + UD_Ivmovhps, + UD_Ivmovlhps, + UD_Ivmovlpd, + UD_Ivmovlps, + UD_Ivmovmskpd, + UD_Ivmovmskps, + UD_Ivmovntdq, + UD_Ivmovntdqa, + UD_Ivmovntpd, + UD_Ivmovntps, + UD_Ivmovq, + UD_Ivmovsd, + UD_Ivmovshdup, + UD_Ivmovsldup, + UD_Ivmovss, + UD_Ivmovupd, + UD_Ivmovups, + UD_Ivmpsadbw, + UD_Ivmptrld, + UD_Ivmptrst, + UD_Ivmread, + UD_Ivmresume, + UD_Ivmrun, + UD_Ivmsave, + UD_Ivmulpd, + UD_Ivmulps, + UD_Ivmulsd, + UD_Ivmulss, + UD_Ivmwrite, + UD_Ivmxoff, + UD_Ivmxon, + UD_Ivorpd, + UD_Ivorps, + UD_Ivpabsb, + UD_Ivpabsd, + UD_Ivpabsw, + UD_Ivpackssdw, + UD_Ivpacksswb, + UD_Ivpackusdw, + UD_Ivpackuswb, + UD_Ivpaddb, + UD_Ivpaddd, + UD_Ivpaddq, + UD_Ivpaddsb, + UD_Ivpaddsw, + UD_Ivpaddusb, + UD_Ivpaddusw, + UD_Ivpaddw, + UD_Ivpalignr, + UD_Ivpand, + UD_Ivpandn, + UD_Ivpavgb, + UD_Ivpavgw, + UD_Ivpblendvb, + UD_Ivpblendw, + UD_Ivpclmulqdq, + UD_Ivpcmpeqb, + UD_Ivpcmpeqd, + UD_Ivpcmpeqq, + UD_Ivpcmpeqw, + UD_Ivpcmpestri, + UD_Ivpcmpestrm, + UD_Ivpcmpgtb, + UD_Ivpcmpgtd, + UD_Ivpcmpgtq, + UD_Ivpcmpgtw, + UD_Ivpcmpistri, + UD_Ivpcmpistrm, + UD_Ivperm2f128, + UD_Ivpermilpd, + UD_Ivpermilps, + UD_Ivpextrb, + UD_Ivpextrd, + UD_Ivpextrq, + UD_Ivpextrw, + UD_Ivphaddd, + UD_Ivphaddsw, + UD_Ivphaddw, + UD_Ivphminposuw, + UD_Ivphsubd, + UD_Ivphsubsw, + UD_Ivphsubw, + UD_Ivpinsrb, + UD_Ivpinsrd, + UD_Ivpinsrq, + UD_Ivpinsrw, + UD_Ivpmaddubsw, + UD_Ivpmaddwd, + UD_Ivpmaxsb, + UD_Ivpmaxsd, + UD_Ivpmaxsw, + UD_Ivpmaxub, + UD_Ivpmaxud, + UD_Ivpmaxuw, + UD_Ivpminsb, + UD_Ivpminsd, + UD_Ivpminsw, + UD_Ivpminub, + UD_Ivpminud, + UD_Ivpminuw, + UD_Ivpmovmskb, + UD_Ivpmovsxbd, + UD_Ivpmovsxbq, + UD_Ivpmovsxbw, + UD_Ivpmovsxwd, + UD_Ivpmovsxwq, + UD_Ivpmovzxbd, + UD_Ivpmovzxbq, + UD_Ivpmovzxbw, + UD_Ivpmovzxdq, + UD_Ivpmovzxwd, + UD_Ivpmovzxwq, + UD_Ivpmuldq, + UD_Ivpmulhrsw, + UD_Ivpmulhuw, + UD_Ivpmulhw, + UD_Ivpmulld, + UD_Ivpmullw, + UD_Ivpor, + UD_Ivpsadbw, + UD_Ivpshufb, + UD_Ivpshufd, + UD_Ivpshufhw, + UD_Ivpshuflw, + UD_Ivpsignb, + UD_Ivpsignd, + UD_Ivpsignw, + UD_Ivpslld, + UD_Ivpslldq, + UD_Ivpsllq, + UD_Ivpsllw, + UD_Ivpsrad, + UD_Ivpsraw, + UD_Ivpsrld, + UD_Ivpsrldq, + UD_Ivpsrlq, + UD_Ivpsrlw, + UD_Ivpsubb, + UD_Ivpsubd, + UD_Ivpsubq, + UD_Ivpsubsb, + UD_Ivpsubsw, + UD_Ivpsubusb, + UD_Ivpsubusw, + UD_Ivpsubw, + UD_Ivptest, + UD_Ivpunpckhbw, + UD_Ivpunpckhdq, + UD_Ivpunpckhqdq, + UD_Ivpunpckhwd, + UD_Ivpunpcklbw, + UD_Ivpunpckldq, + UD_Ivpunpcklqdq, + UD_Ivpunpcklwd, + UD_Ivpxor, + UD_Ivrcpps, + UD_Ivrcpss, + UD_Ivroundpd, + UD_Ivroundps, + UD_Ivroundsd, + UD_Ivroundss, + UD_Ivrsqrtps, + UD_Ivrsqrtss, + UD_Ivshufpd, + UD_Ivshufps, + UD_Ivsqrtpd, + UD_Ivsqrtps, + UD_Ivsqrtsd, + UD_Ivsqrtss, + UD_Ivstmxcsr, + UD_Ivsubpd, + UD_Ivsubps, + UD_Ivsubsd, + UD_Ivsubss, + UD_Ivtestpd, + UD_Ivtestps, + UD_Ivucomisd, + UD_Ivucomiss, + UD_Ivunpckhpd, + UD_Ivunpckhps, + UD_Ivunpcklpd, + UD_Ivunpcklps, + UD_Ivxorpd, + UD_Ivxorps, + UD_Ivzeroall, + UD_Ivzeroupper, + UD_Iwait, + UD_Iwbinvd, + UD_Iwrmsr, + UD_Ixadd, + UD_Ixchg, + UD_Ixcryptcbc, + UD_Ixcryptcfb, + UD_Ixcryptctr, + UD_Ixcryptecb, + UD_Ixcryptofb, + UD_Ixgetbv, + UD_Ixlatb, + UD_Ixor, + UD_Ixorpd, + UD_Ixorps, + UD_Ixrstor, + UD_Ixsave, + UD_Ixsetbv, + UD_Ixsha1, + UD_Ixsha256, + UD_Ixstore, + UD_Iinvalid, + UD_I3dnow, + UD_Inone, + UD_Idb, + UD_Ipause, + UD_MAX_MNEMONIC_CODE +}; + +extern const char * ud_mnemonics_str[]; + +#endif /* UD_ITAB_H */ diff --git a/udis86_1.72-2_i386/usr/include/libudis86/types.h b/udis86_1.72-2_i386/usr/include/libudis86/types.h new file mode 100644 index 0000000..69072ca --- /dev/null +++ b/udis86_1.72-2_i386/usr/include/libudis86/types.h @@ -0,0 +1,260 @@ +/* udis86 - libudis86/types.h + * + * Copyright (c) 2002-2013 Vivek Thampi + * All rights reserved. + * + * 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. + * + * 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. + */ +#ifndef UD_TYPES_H +#define UD_TYPES_H + +#ifdef __KERNEL__ + /* + * -D__KERNEL__ is automatically passed on the command line when + * building something as part of the Linux kernel. Assume standalone + * mode. + */ +# include +# include +# ifndef __UD_STANDALONE__ +# define __UD_STANDALONE__ 1 +# endif +#endif /* __KERNEL__ */ + +#if !defined(__UD_STANDALONE__) +# include +# include +#endif + +/* gcc specific extensions */ +#ifdef __GNUC__ +# define UD_ATTR_PACKED __attribute__((packed)) +#else +# define UD_ATTR_PACKED +#endif /* UD_ATTR_PACKED */ + + +/* ----------------------------------------------------------------------------- + * All possible "types" of objects in udis86. Order is Important! + * ----------------------------------------------------------------------------- + */ +enum ud_type +{ + UD_NONE, + + /* 8 bit GPRs */ + UD_R_AL, UD_R_CL, UD_R_DL, UD_R_BL, + UD_R_AH, UD_R_CH, UD_R_DH, UD_R_BH, + UD_R_SPL, UD_R_BPL, UD_R_SIL, UD_R_DIL, + UD_R_R8B, UD_R_R9B, UD_R_R10B, UD_R_R11B, + UD_R_R12B, UD_R_R13B, UD_R_R14B, UD_R_R15B, + + /* 16 bit GPRs */ + UD_R_AX, UD_R_CX, UD_R_DX, UD_R_BX, + UD_R_SP, UD_R_BP, UD_R_SI, UD_R_DI, + UD_R_R8W, UD_R_R9W, UD_R_R10W, UD_R_R11W, + UD_R_R12W, UD_R_R13W, UD_R_R14W, UD_R_R15W, + + /* 32 bit GPRs */ + UD_R_EAX, UD_R_ECX, UD_R_EDX, UD_R_EBX, + UD_R_ESP, UD_R_EBP, UD_R_ESI, UD_R_EDI, + UD_R_R8D, UD_R_R9D, UD_R_R10D, UD_R_R11D, + UD_R_R12D, UD_R_R13D, UD_R_R14D, UD_R_R15D, + + /* 64 bit GPRs */ + UD_R_RAX, UD_R_RCX, UD_R_RDX, UD_R_RBX, + UD_R_RSP, UD_R_RBP, UD_R_RSI, UD_R_RDI, + UD_R_R8, UD_R_R9, UD_R_R10, UD_R_R11, + UD_R_R12, UD_R_R13, UD_R_R14, UD_R_R15, + + /* segment registers */ + UD_R_ES, UD_R_CS, UD_R_SS, UD_R_DS, + UD_R_FS, UD_R_GS, + + /* control registers*/ + UD_R_CR0, UD_R_CR1, UD_R_CR2, UD_R_CR3, + UD_R_CR4, UD_R_CR5, UD_R_CR6, UD_R_CR7, + UD_R_CR8, UD_R_CR9, UD_R_CR10, UD_R_CR11, + UD_R_CR12, UD_R_CR13, UD_R_CR14, UD_R_CR15, + + /* debug registers */ + UD_R_DR0, UD_R_DR1, UD_R_DR2, UD_R_DR3, + UD_R_DR4, UD_R_DR5, UD_R_DR6, UD_R_DR7, + UD_R_DR8, UD_R_DR9, UD_R_DR10, UD_R_DR11, + UD_R_DR12, UD_R_DR13, UD_R_DR14, UD_R_DR15, + + /* mmx registers */ + UD_R_MM0, UD_R_MM1, UD_R_MM2, UD_R_MM3, + UD_R_MM4, UD_R_MM5, UD_R_MM6, UD_R_MM7, + + /* x87 registers */ + UD_R_ST0, UD_R_ST1, UD_R_ST2, UD_R_ST3, + UD_R_ST4, UD_R_ST5, UD_R_ST6, UD_R_ST7, + + /* extended multimedia registers */ + UD_R_XMM0, UD_R_XMM1, UD_R_XMM2, UD_R_XMM3, + UD_R_XMM4, UD_R_XMM5, UD_R_XMM6, UD_R_XMM7, + UD_R_XMM8, UD_R_XMM9, UD_R_XMM10, UD_R_XMM11, + UD_R_XMM12, UD_R_XMM13, UD_R_XMM14, UD_R_XMM15, + + /* 256B multimedia registers */ + UD_R_YMM0, UD_R_YMM1, UD_R_YMM2, UD_R_YMM3, + UD_R_YMM4, UD_R_YMM5, UD_R_YMM6, UD_R_YMM7, + UD_R_YMM8, UD_R_YMM9, UD_R_YMM10, UD_R_YMM11, + UD_R_YMM12, UD_R_YMM13, UD_R_YMM14, UD_R_YMM15, + + UD_R_RIP, + + /* Operand Types */ + UD_OP_REG, UD_OP_MEM, UD_OP_PTR, UD_OP_IMM, + UD_OP_JIMM, UD_OP_CONST +}; + +#include "itab.h" + +union ud_lval { + int8_t sbyte; + uint8_t ubyte; + int16_t sword; + uint16_t uword; + int32_t sdword; + uint32_t udword; + int64_t sqword; + uint64_t uqword; + struct { + uint16_t seg; + uint32_t off; + } ptr; +}; + +/* ----------------------------------------------------------------------------- + * struct ud_operand - Disassembled instruction Operand. + * ----------------------------------------------------------------------------- + */ +struct ud_operand { + enum ud_type type; + uint16_t size; + enum ud_type base; + enum ud_type index; + uint8_t scale; + uint8_t offset; + union ud_lval lval; + /* + * internal use only + */ + uint64_t _legacy; /* this will be removed in 1.8 */ + uint8_t _oprcode; +}; + +/* ----------------------------------------------------------------------------- + * struct ud - The udis86 object. + * ----------------------------------------------------------------------------- + */ +struct ud +{ + /* + * input buffering + */ + int (*inp_hook) (struct ud*); +#ifndef __UD_STANDALONE__ + FILE* inp_file; +#endif + const uint8_t* inp_buf; + size_t inp_buf_size; + size_t inp_buf_index; + uint8_t inp_curr; + size_t inp_ctr; + uint8_t inp_sess[64]; + int inp_end; + int inp_peek; + + void (*translator)(struct ud*); + uint64_t insn_offset; + char insn_hexcode[64]; + + /* + * Assembly output buffer + */ + char *asm_buf; + size_t asm_buf_size; + size_t asm_buf_fill; + char asm_buf_int[128]; + + /* + * Symbol resolver for use in the translation phase. + */ + const char* (*sym_resolver)(struct ud*, uint64_t addr, int64_t *offset); + + uint8_t dis_mode; + uint64_t pc; + uint8_t vendor; + enum ud_mnemonic_code mnemonic; + struct ud_operand operand[4]; + uint8_t error; + uint8_t _rex; + uint8_t pfx_rex; + uint8_t pfx_seg; + uint8_t pfx_opr; + uint8_t pfx_adr; + uint8_t pfx_lock; + uint8_t pfx_str; + uint8_t pfx_rep; + uint8_t pfx_repe; + uint8_t pfx_repne; + uint8_t opr_mode; + uint8_t adr_mode; + uint8_t br_far; + uint8_t br_near; + uint8_t have_modrm; + uint8_t modrm; + uint8_t modrm_offset; + uint8_t vex_op; + uint8_t vex_b1; + uint8_t vex_b2; + uint8_t primary_opcode; + void * user_opaque_data; + struct ud_itab_entry * itab_entry; + struct ud_lookup_table_list_entry *le; +}; + +/* ----------------------------------------------------------------------------- + * Type-definitions + * ----------------------------------------------------------------------------- + */ +typedef enum ud_type ud_type_t; +typedef enum ud_mnemonic_code ud_mnemonic_code_t; + +typedef struct ud ud_t; +typedef struct ud_operand ud_operand_t; + +#define UD_SYN_INTEL ud_translate_intel +#define UD_SYN_ATT ud_translate_att +#define UD_EOI (-1) +#define UD_INP_CACHE_SZ 32 +#define UD_VENDOR_AMD 0 +#define UD_VENDOR_INTEL 1 +#define UD_VENDOR_ANY 2 + +#endif + +/* +vim: set ts=2 sw=2 expandtab +*/ diff --git a/udis86_1.72-2_i386/usr/include/udis86.h b/udis86_1.72-2_i386/usr/include/udis86.h new file mode 100644 index 0000000..bdd3857 --- /dev/null +++ b/udis86_1.72-2_i386/usr/include/udis86.h @@ -0,0 +1,33 @@ +/* udis86 - udis86.h + * + * Copyright (c) 2002-2009 Vivek Thampi + * All rights reserved. + * + * 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. + * + * 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. + */ +#ifndef UDIS86_H +#define UDIS86_H + +#include "libudis86/types.h" +#include "libudis86/extern.h" +#include "libudis86/itab.h" + +#endif diff --git a/udis86_1.72-2_i386/usr/lib/libudis86.la b/udis86_1.72-2_i386/usr/lib/libudis86.la new file mode 100644 index 0000000..c231ecc --- /dev/null +++ b/udis86_1.72-2_i386/usr/lib/libudis86.la @@ -0,0 +1,41 @@ +# libudis86.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-0.1 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libudis86.so.0' + +# Names of this library. +library_names='libudis86.so.0.0.0 libudis86.so.0 libudis86.so' + +# The name of the static archive. +old_library='' + +# Linker flags that cannot go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libudis86. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib' diff --git a/udis86_1.72-2_i386/usr/lib/libudis86.so b/udis86_1.72-2_i386/usr/lib/libudis86.so new file mode 120000 index 0000000..6ea7244 --- /dev/null +++ b/udis86_1.72-2_i386/usr/lib/libudis86.so @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/udis86_1.72-2_i386/usr/lib/libudis86.so.0.0.0 \ No newline at end of file diff --git a/udis86_1.72-2_i386/usr/lib/libudis86.so.0 b/udis86_1.72-2_i386/usr/lib/libudis86.so.0 new file mode 120000 index 0000000..6ea7244 --- /dev/null +++ b/udis86_1.72-2_i386/usr/lib/libudis86.so.0 @@ -0,0 +1 @@ +/media/wszqkzqk/casper-rw/upper/home/mint/Documents/deepin-wine-ubuntu/udis86_1.72-2_i386/usr/lib/libudis86.so.0.0.0 \ No newline at end of file diff --git a/udis86_1.72-2_i386/usr/lib/libudis86.so.0.0.0 b/udis86_1.72-2_i386/usr/lib/libudis86.so.0.0.0 new file mode 100644 index 0000000..863e713 Binary files /dev/null and b/udis86_1.72-2_i386/usr/lib/libudis86.so.0.0.0 differ diff --git a/udis86_1.72-2_i386/usr/share/doc/udis86/README.Debian b/udis86_1.72-2_i386/usr/share/doc/udis86/README.Debian new file mode 100644 index 0000000..ad438ec --- /dev/null +++ b/udis86_1.72-2_i386/usr/share/doc/udis86/README.Debian @@ -0,0 +1,6 @@ +udis86 for Debian +---------------- + + + + -- Deepin Packages Builder Sun, 14 Feb 2016 12:15:31 +0800 diff --git a/udis86_1.72-2_i386/usr/share/doc/udis86/changelog.Debian.gz b/udis86_1.72-2_i386/usr/share/doc/udis86/changelog.Debian.gz new file mode 100644 index 0000000..b0e42db Binary files /dev/null and b/udis86_1.72-2_i386/usr/share/doc/udis86/changelog.Debian.gz differ diff --git a/udis86_1.72-2_i386/usr/share/doc/udis86/changelog.gz b/udis86_1.72-2_i386/usr/share/doc/udis86/changelog.gz new file mode 100644 index 0000000..4d2e0a2 Binary files /dev/null and b/udis86_1.72-2_i386/usr/share/doc/udis86/changelog.gz differ diff --git a/udis86_1.72-2_i386/usr/share/doc/udis86/copyright b/udis86_1.72-2_i386/usr/share/doc/udis86/copyright new file mode 100644 index 0000000..ac7b46d --- /dev/null +++ b/udis86_1.72-2_i386/usr/share/doc/udis86/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: udis86 +Source: + +Files: * +Copyright: + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2016 Deepin Packages Builder +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream.